diff --git a/.env.docker b/.env.docker index b81b21a..221991b 100644 --- a/.env.docker +++ b/.env.docker @@ -1,7 +1,5 @@ # server base PORT=9520 -PREFIX=/docs -APIPREFIX=/api DB_HOST=mysql DB_PORT=3306 @@ -10,17 +8,17 @@ DB_PASS=123456 DB_DATABASE=chatgpt DB_SYNC=true -# jwt key token过期时间 -JWT_SECRET=chat-cooper -JWT_EXPIRESIN=7d - # Redis REDIS_PORT=6379 REDIS_HOST=redis REDIS_PASSWORD= REDIS_USER= +REDIS_DB=0 # 是否测试环境 ISDEV=FALSE -NAMESPACE=AIWEB +# 自定义微信URL +weChatOpenUrl=https://open.weixin.qq.com +weChatApiUrl=https://api.weixin.qq.com +weChatMpUrl=https://mp.weixin.qq.com diff --git a/.env.example b/.env.example index f099005..91a58de 100644 --- a/.env.example +++ b/.env.example @@ -1,33 +1,25 @@ -# server base +# 端口 PORT=9520 -PREFIX=/docs -APIPREFIX=/api # MySQL -# MySQL数据库主机地址 -DB_HOST=localhost -# MySQL数据库端口号 +DB_HOST=127.0.0.1 DB_PORT=3306 -# MySQL数据库用户名 DB_USER=root -# MySQL数据库密码 DB_PASS= -# 要使用的MySQL数据库名称 DB_DATABASE=chatgpt DB_SYNC=true - -# jwt key token过期时间 -JWT_SECRET=chat-cooper -JWT_EXPIRESIN=7d - # Redis REDIS_PORT=6379 REDIS_HOST=127.0.0.1 REDIS_PASSWORD= REDIS_USER= +REDIS_DB=0 # 是否测试环境 ISDEV=FALSE -NAMESPACE=AIWEB +# 自定义微信URL +weChatOpenUrl=https://open.weixin.qq.com +weChatApiUrl=https://api.weixin.qq.com +weChatMpUrl=https://mp.weixin.qq.com diff --git a/Dockerfile b/Dockerfile index 62c6dc1..13de9d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,23 +1,29 @@ # 编译阶段 -FROM node:18-alpine AS base -FROM base AS build +FROM node:20.14.0-alpine AS build + WORKDIR /app -COPY package.json ./ -# 使用腾讯源(国内服务器可取消下方注释以提升安装速度) -# RUN npm config set registry https://mirrors.cloud.tencent.com/npm/ +COPY package*.json ./ -# 如遇到提示网站证书无效,取消下方注释,禁止严格SS策略 -# RUN npm config set strict-ssl false - -# 使用淘宝源安装项目依赖(国内用户居多) -RUN npm config set registry https://registry.npmmirror.com && \ - npm install --omit=dev +# 设置环境变量来忽略一些警告 +ENV NPM_CONFIG_LOGLEVEL=error +ENV NODE_OPTIONS=--max-old-space-size=4096 +# 合并RUN命令,更新依赖,设置镜像源,安装依赖,然后清理 +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \ + npm config set registry https://registry.npmmirror.com && \ + apk add --no-cache --virtual .build-deps git && \ + npm install -g npm@latest && \ + npm install --production --no-optional --legacy-peer-deps && \ + npm cache clean --force && \ + apk del .build-deps && \ + rm -rf /var/cache/apk/* /tmp/* # 运行阶段 -FROM base AS runner -ENV TZ="Asia/Shanghai" +FROM node:20.14.0-alpine AS runner + +ENV TZ="Asia/Shanghai" \ + NODE_ENV=production WORKDIR /app @@ -26,4 +32,4 @@ COPY . . EXPOSE 9520 -CMD ["node", "./dist/main.js"] +CMD ["node", "--max-old-space-size=4096", "./dist/main.js"] diff --git a/README.md b/README.md index 5048964..6906f46 100644 --- a/README.md +++ b/README.md @@ -1,54 +1,110 @@ # 99 AI 稳定版 -基于 NineAI 2.4.2 二开的可商业化 AI Web 应用,已编译为前后端整合包,支持快速部署。 - -旨在提供一个易部署的集成化人工智能服务站点。 +可商业化的 AI Web 应用,旨在提供一个易部署的集成化人工智能服务站点。已编译为前后端整合包,支持快速部署。 ## 版本说明 -| 特性 | 稳定版 | 开发版 | -| :--- | :--- | :--- | -| 项目功能 | 详见项目介绍 | 有一定的保留功能 | -| 更新频率 | 月更 | 周更 | -| 商用许可 | 可直接商用 | 可直接商用 | -| 部署方式 | Node.js / Docker-compose | Node.js / Docker-compose | -| 编译状态 | 前端混淆编译,后端非混淆编译 | 前端混淆编译,后端非混淆编译 | -| 未编译源码 | 暂不开源 | 暂不开源 | -| 授权要求 | 无需授权 | 无需授权 | -| 获取方式 | 本项目即为稳定版 | 赞助获取 | +| 特性 | 稳定版 | 开发版 | +| :--------- | :--------------------------- | :--------------------------- | +| 项目功能 | 详见项目介绍 | 有一定的保留功能 | +| 更新频率 | 月更 | 周更 | +| 商用许可 | 可直接商用 | 可直接商用 | +| 部署方式 | Node.js / Docker-compose | Node.js / Docker-compose | +| 编译状态 | 前端混淆编译,后端非混淆编译 | 前端混淆编译,后端非混淆编译 | +| 未编译源码 | 暂不开源 | 暂不开源 | +| 授权要求 | 无需授权 | 无需授权 | +| 获取方式 | 本项目即为稳定版 | 赞助获取 | ## 项目介绍 -**应用广场** +### 基础对话 -![应用广场](https://github.com/vastxie/99AI/assets/24899308/2cbeab33-0b6b-4f56-81a6-1e15e097023f) +**AI 对话** + +支持 OpenAI Chat 格式,后台可自定义模型名称、头像、介绍、代理、key、积分扣除方式、文件上传模式等参数。 + +**支持多模态** + +使用`gpt-4o`、`claude-3`等视觉模型,或`gpt-4-all`等逆向模型,完成图像、文件的识别分析。 + +### 插件系统 + +对接[插件系统](https://github.com/vastxie/99AIPlugin),拓展 AI 功能边界。 + +**联网搜索** + +**思维导图** **AI 绘画** -![AI 绘画](https://github.com/vastxie/99AI/assets/24899308/1155d39a-aeed-481e-9f80-127500bf59e7) +对接 `midjourney` 、`dall-e`、`stable-diffusion` 等绘画模型。 **AI 音乐** -![screenshot-1713627618821](https://github.com/vastxie/99AI/assets/24899308/f6966ae8-8be6-4ba5-8d06-c89b4c864f88) +对接 `suno-music` 完成音乐创作。 -**文件分析**(开发版支持) +**AI 视频** -![文件分析](https://github.com/vastxie/99AI/assets/24899308/68e80920-6b54-4a50-8b76-2c8c946e8717) +对接 `luma-video` 文生视频。 -**绘画广场** +### 开发版已 / 将支持 -![绘画广场](https://github.com/vastxie/99AI/assets/24899308/4eb3954e-489d-48f6-9d9d-4de6d2fcce83) +**AI 音乐弹窗** + +支持调整歌词,选择音乐类型及风格。 + +**更丰富 AI 视频选项** + +支持图生视频,视频尺寸的选择。 + +**代码预览** + +支持 `HTML` 代码的预览与编辑。 + +**全模型文件分析** + +更多功能持续开发中 ··· ··· + +### 不再维护的页面 **专业绘图** ![绘画页](https://github.com/vastxie/99AI/assets/24899308/148fb1fa-820c-4fe1-9dbe-e967ee41fd8b) +**绘画广场** + +![绘画广场](https://github.com/vastxie/99AI/assets/24899308/4eb3954e-489d-48f6-9d9d-4de6d2fcce83) + **分销邀请** -![分销推荐](https://github.com/vastxie/99AI/assets/24899308/cc280beb-d0cb-43d1-984e-4a7b3a61b807) +![分销邀请](https://github.com/vastxie/99AI/assets/24899308/cc280beb-d0cb-43d1-984e-4a7b3a61b807) ## 更新日志 +### 稳定版 v3.5.0 + +主要更新内容: + +- 对话 UI 参考 ChatGPT 官网调整为左右布局。 +- 全新的[插件系统](https://github.com/vastxie/99AIPlugin) + - 普通插件:联网搜索、思维导图。 + - 内置插件:Midjourney 绘图、Dalle 绘图、Stable-Diffusion 绘图、Suno 音乐、Luma 视频。 +- 优化调整多处 UI 界面显示。 +- 新增模型自定义图标及介绍。 +- 提问输入框支持通过剪切板粘贴图片,文件。 +- 对话显示公式渲染适配 `/[ /]`、`/( /)` 格式。 +- 新增对话中使用 `@` 调用应用功能。 +- 优化首页“九宫格”显示(使用内置对话预设、不再依赖后端配置) +- Midjourney 绘图支持 `图生图`、`人脸一致性`、`风格一致性`、`MJ版本`自定义参数等自定义选择。 + +
+ +历史日志 + +
+ +历史日志 + ### 稳定版 v3.3.0 - 重构流式回复逻辑,加入错误反馈并优化用户端等待动画。 @@ -68,43 +124,29 @@ - 重构应用逻辑,翻译及导图特殊模型不再需配置,已整合至【模型管理-系统应用】。 - 新增模型配置选项,允许设置模型调用频率限制,确保用户体验。 -### 开发版已/将支持 - -- 对话页 Midjourney 绘图支持 `图生图` `人脸一致性` `风格一致性` 以及更多自定义参数选择。 -- 全模型文件分析功能(只支持带文字的 pdf,word,ppt,txt,md 等文件)。 -- 全新的插件系统——联网搜索、思维导图等 ··· ··· -- `SD3` / `SD3 Turbo` 绘图模型,`Stable Video` 图生视频模型(`stability.ai` API 格式)。 -- Azure TTS 模型支持,语音播报更生动自然。 -- 临时文件支持本地存储并自动清空。 -- 更多功能持续开发中 ··· ··· - -
- -历史日志 - ### v3.0.0 **前端改进** - - 对话页UI重构,参考ChatGPT风格,增加美观度。 - - 新增对话页 Midjourney 绘图功能,包括绘画进度反馈及点按操作。 - - Dalle绘图支持模型绘画比例选择(方形/宽屏/垂直)。 - - 绘图页面新增区域重绘功能。 - - 全局字体优先使用系统默认,优化阅读体验。 - - 适配ALL模型及GPTs返回图片,修正显示过大的问题。 - - 对话页根据模型自动展示AI头像,可手动替换文件。 +- 对话页 UI 重构,参考 ChatGPT 风格,增加美观度。 +- 新增对话页 Midjourney 绘图功能,包括绘画进度反馈及点按操作。 +- Dalle 绘图支持模型绘画比例选择(方形/宽屏/垂直)。 +- 绘图页面新增区域重绘功能。 +- 全局字体优先使用系统默认,优化阅读体验。 +- 适配 ALL 模型及 GPTs 返回图片,修正显示过大的问题。 +- 对话页根据模型自动展示 AI 头像,可手动替换文件。 **后台配置调整** - - 模型配置迁移到模型管理,分普通对话/绘画/特殊模型。 - - 后台支持模型文件上传模块开关,区分ALL/4V格式。 - - 后台新增 Midjourney 提示词优化开关及优化词配置。 +- 模型配置迁移到模型管理,分普通对话/绘画/特殊模型。 +- 后台支持模型文件上传模块开关,区分 ALL/4V 格式。 +- 后台新增 Midjourney 提示词优化开关及优化词配置。 **注意** - - 重要:旧版 Midjourney 配置不再生效,需在模型配置绘画模型中重新配置。 - - 模型配置支持扣除积分类型选择。 - - 后台管理菜单重新排版,精简非必要配置。 +- 重要:旧版 Midjourney 配置不再生效,需在模型配置绘画模型中重新配置。 +- 模型配置支持扣除积分类型选择。 +- 后台管理菜单重新排版,精简非必要配置。 ### v2.6.0 @@ -146,14 +188,14 @@ - 按照仓库中的安装说明进行操作,安装完成后,可能需要添加环境变量或重启终端。 - 安装 Node.js 版本 18 或更高版本: - + ```shell nvm install 18 nvm use 18 ``` - + - 验证 Node.js 是否安装成功: - + ```shell node -v ``` @@ -161,19 +203,19 @@ **2. 安装 PM2 / PNPM(YARN)** - 使用 npm 安装 PM2: - + ```shell npm install pm2 -g ``` - + - 使用 npm 安装 pnpm: - + ```shell npm install -g pnpm ``` - + - 确认 `PM2` 和 `pnpm` 都已正确安装并且可以运行: - + ``` pm2 -v pnpm -v @@ -182,7 +224,6 @@ **3. 其他配置** - 需配置 Redis 数据库以及新建一个 MySQL 数据库。 - - 配置环境变量: - 复制 `.env.example` 文件为 `.env`。 - 根据需要修改 `.env` 文件中的配置项。 @@ -229,7 +270,15 @@ - **添加快捷执行脚本** - 后续仅需在服务器执行 `99ai` 即可再次进入脚本 -**2. Shell执行脚本** +**2. Shell 执行脚本** + +请在项目的根目录下执行以下命令: + +```bash +./deploy.sh +``` + +或使用: ```bash bash <(curl -sL https://js.kengro.cn/99ai/onekey-cn-99ai.sh) @@ -240,35 +289,35 @@ bash <(curl -sL https://js.kengro.cn/99ai/onekey-cn-99ai.sh) **1. 安装 Docker 及 Docker-compose** - 使用 [Docker 官网](https://www.docker.com/) 提供的一键安装链接安装 Docker 及 Docker-compose。 - + ```bash curl -fsSL https://get.docker.com | bash -s docker ``` - + - 也可以使用其他方式自行安装 Docker 及 Docker-compose。 **2. 服务管理** - **后台启动服务** - + ```shell docker-compose up -d ``` - + - **查看日志** - + ```shell docker-compose logs ``` - + - **停止服务** - + ```shell docker-compose down ``` - + - **重新构建并启动服务** - + ```shell docker-compose up -d --build ``` @@ -285,7 +334,6 @@ bash <(curl -sL https://js.kengro.cn/99ai/onekey-cn-99ai.sh) - **密码**:`123456` - ## 学习交流 扫码添加微信备注 `99`,拉交流群。(不接受私聊技术咨询,有问题优先群内交流) diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..d49d98d --- /dev/null +++ b/deploy.sh @@ -0,0 +1,405 @@ +#!/usr/bin/env bash +export LANG=zh_CN.UTF-8 + +# Set up color variables for output +red='\033[0;31m' +green='\033[0;32m' +plain='\033[0m' + +# Default values +NVM_URL="https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh" +default_node_version="18.16.0" +CHATGPT_PORT=9520 +CONFIG_FILE=docker-compose.yml + +# Welcome message +echo -e "${green}欢迎使用99AI一键部署和升级脚本${plain}" +echo -e "${green}----------------------------------------${plain}" +echo -e "${green}注意:${plain}" +echo -e "${green}1. Node.js 部署方式需要提前安装好 MySQL 和 Redis。${plain}" +echo -e "${green}2. Docker 部署方式可以选择新建 MySQL 和 Redis 容器。${plain}" +echo -e "${green}3. 从旧版本升级 Docker 时,请确保 data 和 SQL 文件已备份到根目录。${plain}" +echo -e "${green}----------------------------------------${plain}" + +check_cpu_arch() { + case "$(uname -m)" in + aarch64) arch=linux_arm64 ;; + i686) arch=linux_386 ;; + arm) arch=linux_arm ;; + x86_64) arch=linux_amd64 ;; + esac +} + +check_os() { + if [[ "$(uname)" == "Darwin" ]]; then + os_name="macOS" + InstallMethod="brew" + else + if command -v lsb_release >/dev/null; then + DISTRO=$(lsb_release -i -s) + else + DISTRO=$(grep -oP '^ID=\K.*' /etc/*-release) + fi + case "$DISTRO" in + Debian|Ubuntu) os_name="${DISTRO}-based Linux"; InstallMethod="sudo apt-get" ;; + centos) + if [[ "$(grep -oP '^VERSION_ID="\K[0-9]+' /etc/*-release)" == "7" ]]; then + os_name="CentOS 7"; InstallMethod="yum" + else + os_name="CentOS 8"; InstallMethod="dnf" + fi ;; + fedora) os_name="Fedora"; InstallMethod="dnf" ;; + opensuse-leap) os_name="openSUSE Leap"; InstallMethod="sudo zypper" ;; + *) echo "未知操作系统,脚本不支持"; exit 1 ;; + esac + fi +} + +install_if_missing() { + if ! command -v "$1" >/dev/null; then + echo -e "${red}$1 未安装,正在安装 $1...${plain}" + ${InstallMethod} install -y "$1" + echo -e "${green}$1 已安装${plain}" + else + echo -e "${green}$1 已安装${plain}" + fi +} + +install_nvm_and_node() { + if ! command -v node >/dev/null; then + echo -e "${red}node 未安装${plain}" + echo -e "${red}开始安装NVM${plain}" + curl -o- $NVM_URL | bash || wget -qO- $NVM_URL | bash + source ~/.bashrc + export NVM_DIR="$HOME/.nvm" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" + + echo -e "${green}列出node可用版本${plain}" + nvm ls-remote + read -p "请输入要安装的 Node.js 版本号 ,不知道安装啥的请回车[默认版本:$default_node_version]:" node_version + node_version="${node_version:-$default_node_version}" + echo -e "${red}正在安装 node-v$node_version${plain}" + nvm install $node_version + nvm use $node_version + source ~/.bashrc + + if ! command -v node >/dev/null; then + echo -e "${red}Node.js 安装失败,请检查错误信息!${plain}" + exit 1 + fi + installed_version=$(node -v) + if [[ "$installed_version" != "v$node_version" ]]; then + echo -e "${red}Node.js 安装失败,当前安装版本为 $installed_version, 期望安装版本为 v$node_version ${plain}" + exit 1 + fi + echo -e "${green}Node.js 安装完成!${plain}" + else + echo -e "${green}node 已安装${plain}" + fi +} + +install_add_docker() { + if [ -f "/etc/alpine-release" ]; then + echo -e "${red}docker 未安装,正在安装 docker...${plain}" + apk update + apk add docker docker-compose + echo -e "${green}docker 和 docker-compose 已安装${plain}" + rc-update add docker default + service docker start + else + echo -e "${red}docker 未安装,正在安装 docker...${plain}" + curl -fsSL https://get.docker.com | sh + echo -e "${green}docker 已安装${plain}" + ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/local/bin + echo -e "${green}docker-compose 已安装${plain}" + systemctl start docker + systemctl enable docker + fi + echo -e "${green}docker 和 docker-compose 已安装${plain}" + sleep 2 +} + +docker_install() { + if ! command -v docker &>/dev/null; then + install_add_docker + else + echo "Docker 已经安装" + fi +} + +check_dependencies() { + check_cpu_arch + check_os + + ${InstallMethod} update -y >/dev/null 2>&1 + + install_if_missing git + install_if_missing cat + install_if_missing curl + + if [[ "$operation_choice" == "1" || "$operation_choice" == "2" ]]; then + install_nvm_and_node + install_if_missing npm + + if ! command -v pm2 >/dev/null; then + echo -e "${red}pm2 未安装,正在安装 pm2...${plain}" + npm install -g pm2 + echo -e "${green}pm2 已安装${plain}" + else + echo -e "${green}pm2 已安装${plain}" + fi + elif [[ "$operation_choice" == "3" || "$operation_choice" == "4" ]]; then + docker_install + fi +} + +# Node.js 部署任务 +node_deploy() { + # 选择依赖管理工具 + read -p "请选择依赖管理工具(1. pnpm 2. yarn,输入q退出)[默认: 1]: " package_manager_choice + package_manager_choice=${package_manager_choice:-1} + + if [[ "$package_manager_choice" == "q" ]]; then + echo "退出脚本" + exit + fi + + if [[ "$package_manager_choice" == "2" ]]; then + if ! command -v yarn >/dev/null; then + echo -e "${red}yarn 未安装,正在安装 yarn...${plain}" + npm install -g yarn + echo -e "${green}yarn 已安装${plain}" + else + echo -e "${green}yarn 已安装${plain}" + fi + package_manager="yarn" + else + if ! command -v pnpm >/dev/null; then + echo -e "${red}pnpm 未安装,正在安装 pnpm...${plain}" + npm install -g pnpm + echo -e "${green}pnpm 已安装${plain}" + else + echo -e "${green}pnpm 已安装${plain}" + fi + package_manager="pnpm" + fi + + # 选择安装方式 + read -p "请选择安装方式(1. 全新安装 2. 更新,输入q退出)[默认: 1]: " install_choice + install_choice=${install_choice:-1} + + if [[ "$install_choice" == "q" ]]; then + echo "退出脚本" + exit + fi + + if [[ "$install_choice" == "2" ]]; then + echo "开始安装依赖包" + $package_manager install + echo "安装完成,开始运行99AI" + $package_manager start + pm2 save + exit + fi + + echo -e "${green}请确保已安装MySQL和Redis${plain}" + + echo -e "${green}正在进行运行配置${plain}" + read -p "设置PORT(程序访问端口)为[回车默认: 9520]: " input_port + PORT=${input_port:-9520} + + read -p "设置DB_HOST为(数据库地址)[回车默认: 127.0.0.1]: " input_db_host + DB_HOST=${input_db_host:-127.0.0.1} + + read -p "设置DB_PORT为(数据库端口)[回车默认: 3306]: " input_db_port + DB_PORT=${input_db_port:-3306} + + read -p "设置DB_USER为(数据库用户名)[回车默认: root]: " input_db_user + DB_USER=${input_db_user:-root} + + read -p "设置DB_PASS(数据库密码)为[回车默认: 空]: " input_db_pass + DB_PASS=${input_db_pass:-""} + + read -p "设置DB_DATABASE(数据库名)为: " input_db_database + DB_DATABASE=${input_db_database:-""} + + read -p "设置REDIS_PORT(redis端口)为[回车默认: 6379]: " input_redis_port + REDIS_PORT=${input_redis_port:-6379} + + read -p "设置REDIS_HOST(redis地址)为[回车默认: 127.0.0.1]: " input_redis_host + REDIS_HOST=${input_redis_host:-127.0.0.1} + + read -p "设置REDIS_PASSWORD(redis密码)为[回车默认: 空]: " input_redis_password + REDIS_PASSWORD=${input_redis_password:-""} + + read -p "设置REDIS_DB(redis数据库)为[回车默认: 0]: " input_redis_db + REDIS_DB=${input_redis_db:-"0"} + + cat >.env < /dev/null + } + + if [[ $change_port == "y" ]]; then + while check_port $CHATGPT_PORT; do + read -p "端口 $CHATGPT_PORT 被占用,请重新输入端口: " CHATGPT_PORT + done + echo -e "\e[34m恭喜,端口 $CHATGPT_PORT 可用\e[0m" + sed -E -i "s/[0-9]+:9520/$CHATGPT_PORT:9520/" docker-compose.yml + fi + + start_compose +} + +# Docker-compose 升级任务 +upgrade_compose() { + echo "停止当前服务..." + docker-compose down + echo "重新构建并启动服务..." + docker-compose up -d --build + echo "服务已启动。" + docker-compose ps +} + +# 选择操作 +echo "请选择操作:" +echo "1. Node.js 全新部署" +echo "2. Node.js 升级" +echo "3. Docker-compose 部署" +echo "4. Docker-compose 升级" + +read -p "请输入数字(1-4,输入q退出)[默认: 1]: " operation_choice +operation_choice=${operation_choice:-1} + +if [[ "$operation_choice" == "q" ]]; then + echo "退出脚本" + exit +fi + +check_dependencies + +case $operation_choice in + 1) + echo "Node.js 全新部署选择" + node_deploy + ;; + 2) + echo "Node.js 升级选择" + node_deploy + ;; + 3) + echo "Docker-compose 部署选择" + config_compose + ;; + 4) + echo "Docker-compose 升级选择" + upgrade_compose + ;; + *) + echo "无效选择,退出。" + quit + ;; +esac + +echo -e "==================================================================" +echo -e "\033[32m安装成功!\033[0m" +echo -e "==================================================================" diff --git a/dist/app.module.js b/dist/app.module.js index bb8bce6..4199d78 100644 --- a/dist/app.module.js +++ b/dist/app.module.js @@ -8,39 +8,38 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, Object.defineProperty(exports, "__esModule", { value: true }); exports.AppModule = void 0; const abort_interceptor_1 = require("./common/interceptors/abort.interceptor"); +const custom_logger_service_1 = require("./common/logger/custom-logger.service"); const common_1 = require("@nestjs/common"); -const nestjs_config_1 = require("nestjs-config"); -const path_1 = require("path"); -const auth_module_1 = require("./modules/auth/auth.module"); -const chat_module_1 = require("./modules/chat/chat.module"); -const chatLog_module_1 = require("./modules/chatLog/chatLog.module"); -const crami_module_1 = require("./modules/crami/crami.module"); -const database_module_1 = require("./modules/database/database.module"); -const upload_module_1 = require("./modules/upload/upload.module"); -const user_module_1 = require("./modules/user/user.module"); -const userBalance_module_1 = require("./modules/userBalance/userBalance.module"); -const verification_module_1 = require("./modules/verification/verification.module"); -const app_module_1 = require("./modules/app/app.module"); -const autoreply_module_1 = require("./modules/autoreply/autoreply.module"); -const badwords_module_1 = require("./modules/badwords/badwords.module"); -const globalConfig_module_1 = require("./modules/globalConfig/globalConfig.module"); -const redisCache_module_1 = require("./modules/redisCache/redisCache.module"); -const statistic_module_1 = require("./modules/statistic/statistic.module"); -const order_module_1 = require("./modules/order/order.module"); -const pay_module_1 = require("./modules/pay/pay.module"); const core_1 = require("@nestjs/core"); const serve_static_1 = require("@nestjs/serve-static"); const fetch = require("isomorphic-fetch"); -const path_2 = require("path"); +const path_1 = require("path"); +const app_module_1 = require("./modules/app/app.module"); +const auth_module_1 = require("./modules/auth/auth.module"); +const autoreply_module_1 = require("./modules/autoreply/autoreply.module"); +const badwords_module_1 = require("./modules/badwords/badwords.module"); +const chat_module_1 = require("./modules/chat/chat.module"); const chatGroup_module_1 = require("./modules/chatGroup/chatGroup.module"); +const chatLog_module_1 = require("./modules/chatLog/chatLog.module"); +const crami_module_1 = require("./modules/crami/crami.module"); +const database_module_1 = require("./modules/database/database.module"); +const globalConfig_module_1 = require("./modules/globalConfig/globalConfig.module"); const menu_module_1 = require("./modules/menu/menu.module"); const midjourney_module_1 = require("./modules/midjourney/midjourney.module"); const models_module_1 = require("./modules/models/models.module"); const official_module_1 = require("./modules/official/official.module"); -const queue_module_1 = require("./modules/queue/queue.module"); +const order_module_1 = require("./modules/order/order.module"); +const pay_module_1 = require("./modules/pay/pay.module"); +const plugin_module_1 = require("./modules/plugin/plugin.module"); +const redisCache_module_1 = require("./modules/redisCache/redisCache.module"); const sales_module_1 = require("./modules/sales/sales.module"); const signin_module_1 = require("./modules/signin/signin.module"); +const statistic_module_1 = require("./modules/statistic/statistic.module"); const task_module_1 = require("./modules/task/task.module"); +const upload_module_1 = require("./modules/upload/upload.module"); +const user_module_1 = require("./modules/user/user.module"); +const userBalance_module_1 = require("./modules/userBalance/userBalance.module"); +const verification_module_1 = require("./modules/verification/verification.module"); global.fetch = fetch; let AppModule = class AppModule { }; @@ -48,12 +47,12 @@ AppModule = __decorate([ (0, common_1.Global)(), (0, common_1.Module)({ imports: [ - serve_static_1.ServeStaticModule.forRoot({ - rootPath: (0, path_2.join)(__dirname, '..', 'public'), - }), - nestjs_config_1.ConfigModule.load((0, path_1.resolve)(__dirname, 'config', '**/!(*.d).{ts,js}')), database_module_1.DatabaseModule, + serve_static_1.ServeStaticModule.forRoot({ + rootPath: (0, path_1.join)(__dirname, '..', 'public'), + }), user_module_1.UserModule, + plugin_module_1.PluginModule, auth_module_1.AuthModule, verification_module_1.VerificationModule, chat_module_1.ChatModule, @@ -71,7 +70,6 @@ AppModule = __decorate([ order_module_1.OrderModule, official_module_1.OfficialModule, task_module_1.TaskModule, - queue_module_1.QueueModule, midjourney_module_1.MidjourneyModule, chatGroup_module_1.ChatGroupModule, sales_module_1.SalesModule, @@ -84,7 +82,9 @@ AppModule = __decorate([ provide: core_1.APP_INTERCEPTOR, useClass: abort_interceptor_1.AbortInterceptor, }, + custom_logger_service_1.CustomLoggerService, ], + exports: [custom_logger_service_1.CustomLoggerService], }) ], AppModule); exports.AppModule = AppModule; diff --git a/dist/common/auth/jwt.strategy.js b/dist/common/auth/jwt.strategy.js index 036b64a..4126c79 100644 --- a/dist/common/auth/jwt.strategy.js +++ b/dist/common/auth/jwt.strategy.js @@ -10,17 +10,17 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.JwtStrategy = void 0; -const nestjs_config_1 = require("nestjs-config"); -const passport_jwt_1 = require("passport-jwt"); -const passport_1 = require("@nestjs/passport"); const common_1 = require("@nestjs/common"); +const passport_1 = require("@nestjs/passport"); +const passport_jwt_1 = require("passport-jwt"); +const redisCache_service_1 = require("../../modules/redisCache/redisCache.service"); let JwtStrategy = class JwtStrategy extends (0, passport_1.PassportStrategy)(passport_jwt_1.Strategy) { - constructor(configService) { + constructor(redisService) { super({ jwtFromRequest: passport_jwt_1.ExtractJwt.fromAuthHeaderAsBearerToken(), - secretOrKey: configService.get('jwt').secret, + secretOrKey: redisService.getJwtSecret(), }); - this.configService = configService; + this.redisService = redisService; } async validate(payload) { return payload; @@ -28,6 +28,6 @@ let JwtStrategy = class JwtStrategy extends (0, passport_1.PassportStrategy)(pas }; JwtStrategy = __decorate([ (0, common_1.Injectable)(), - __metadata("design:paramtypes", [nestjs_config_1.ConfigService]) + __metadata("design:paramtypes", [redisCache_service_1.RedisCacheService]) ], JwtStrategy); exports.JwtStrategy = JwtStrategy; diff --git a/dist/common/auth/jwtAuth.guard.js b/dist/common/auth/jwtAuth.guard.js index da69d96..e65460c 100644 --- a/dist/common/auth/jwtAuth.guard.js +++ b/dist/common/auth/jwtAuth.guard.js @@ -10,12 +10,12 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.JwtAuthGuard = void 0; +const globalConfig_service_1 = require("../../modules/globalConfig/globalConfig.service"); const redisCache_service_1 = require("../../modules/redisCache/redisCache.service"); const common_1 = require("@nestjs/common"); +const core_1 = require("@nestjs/core"); const passport_1 = require("@nestjs/passport"); const jwt = require("jsonwebtoken"); -const core_1 = require("@nestjs/core"); -const globalConfig_service_1 = require("../../modules/globalConfig/globalConfig.service"); const auth_service_1 = require("../../modules/auth/auth.service"); let JwtAuthGuard = class JwtAuthGuard extends (0, passport_1.AuthGuard)('jwt') { constructor(redisCacheService, moduleRef, globalConfigService, authService) { @@ -27,13 +27,14 @@ let JwtAuthGuard = class JwtAuthGuard extends (0, passport_1.AuthGuard)('jwt') { } async canActivate(context) { if (!this.redisCacheService) { - this.redisCacheService = this.moduleRef.get(redisCache_service_1.RedisCacheService, { strict: false }); + this.redisCacheService = this.moduleRef.get(redisCache_service_1.RedisCacheService, { + strict: false, + }); } const request = context.switchToHttp().getRequest(); const domain = request.headers['x-website-domain']; const token = this.extractToken(request); - request.user = this.validateToken(token); - const auth = this.globalConfigService.getNineAiToken(); + request.user = await this.validateToken(token); await this.redisCacheService.checkTokenAuth(token, request); return true; } @@ -56,9 +57,11 @@ let JwtAuthGuard = class JwtAuthGuard extends (0, passport_1.AuthGuard)('jwt') { } return parts[1]; } - validateToken(token) { + async validateToken(token) { try { - return jwt.verify(token, process.env.JWT_SECRET); + const secret = await this.redisCacheService.getJwtSecret(); + const decoded = await jwt.verify(token, secret); + return decoded; } catch (error) { throw new common_1.HttpException('亲爱的用户,请登录后继续操作,我们正在等您的到来!', common_1.HttpStatus.UNAUTHORIZED); diff --git a/dist/common/logger/custom-logger.service.js b/dist/common/logger/custom-logger.service.js new file mode 100644 index 0000000..fef3f1d --- /dev/null +++ b/dist/common/logger/custom-logger.service.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CustomLoggerService = void 0; +const common_1 = require("@nestjs/common"); +let CustomLoggerService = class CustomLoggerService extends common_1.ConsoleLogger { + constructor() { + super(); + this.isDev = process.env.ISDEV === 'TRUE'; + } + log(message, context) { + super.log(message, context); + } + error(message, trace, context) { + super.error(message, trace, context); + } + warn(message, context) { + if (this.isDev) { + super.warn(message, context); + } + } + debug(message, context) { + if (this.isDev) { + super.debug(message, context); + } + } + verbose(message, context) { + if (this.isDev) { + super.verbose(message, context); + } + } +}; +CustomLoggerService = __decorate([ + (0, common_1.Injectable)(), + __metadata("design:paramtypes", []) +], CustomLoggerService); +exports.CustomLoggerService = CustomLoggerService; diff --git a/dist/common/swagger/index.js b/dist/common/swagger/index.js index 2a6ae26..f1f7eac 100644 --- a/dist/common/swagger/index.js +++ b/dist/common/swagger/index.js @@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.createSwagger = void 0; const swagger_1 = require("@nestjs/swagger"); const swaggerOptions = new swagger_1.DocumentBuilder() - .setTitle('Nine Team api document') - .setDescription('Nine Team api document') + .setTitle('AIWeb Team api document') + .setDescription('AIWeb Team api document') .setVersion('1.0.0') .addBearerAuth() .build(); function createSwagger(app) { const document = swagger_1.SwaggerModule.createDocument(app, swaggerOptions); - swagger_1.SwaggerModule.setup('/nineai/swagger/docs', app, document); + swagger_1.SwaggerModule.setup('/swagger/docs', app, document); } exports.createSwagger = createSwagger; diff --git a/dist/common/utils/compileNetwork.js b/dist/common/utils/compileNetwork.js deleted file mode 100644 index e68825b..0000000 --- a/dist/common/utils/compileNetwork.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compileNetwork = void 0; -const axios_1 = require("axios"); -function formatSearchData(searchData, question) { - const formatStr = searchData.results.map(({ title, body, href }) => `'${title}' : ${body} ; (${href})`).join('\n\n'); - const currentDate = new Date().toISOString().split('T')[0]; - const instructions = '你的任务是优先利用网络搜索结果来回答问题,并使用提问时的语言风格进行回复。你应该提供一个全面而有条理的回答,在每条答案后面明确指出来源于哪个链接,使用 [[数字](链接)] 格式进行标注。以下是搜索结果:'; - return `${instructions}\n今天是${currentDate}\n${formatStr}`; -} -async function compileNetwork(question) { - const currentDate = new Date().toISOString().split('T')[0]; - console.log(`Current date: ${currentDate}`); - console.log(`开始对问题“${question}”进行网络编译`); - const datedQuestion = `${currentDate} ${question}`; - let searchData = { results: [] }; - try { - const url = ``; - console.log(`正在向搜索API发送请求,URL为:${url}`); - const responseData = await axios_1.default.get(url); - searchData = responseData.data; - console.log(`已成功接收问题“${question}”的搜索结果,结果数量:${searchData.results.length}`); - searchData.results.forEach((result, index) => { - console.log(`结果 ${index + 1}: 标题: ${result.title}, 链接: ${result.href}, 摘要: ${result.body.substring(0, 100)}...`); - }); - } - catch (error) { - console.log(`在对问题“${question}”进行网络编译时出错:`, error); - } - let formattedData = ""; - if (searchData.results.length === 0) { - console.log(`未找到问题“${question}”的搜索结果,将返回原问题`); - return question; - } - else { - formattedData = formatSearchData(searchData, question); - console.log(`格式化后的搜索结果为:\n${formattedData}`); - return formattedData; - } -} -exports.compileNetwork = compileNetwork; diff --git a/dist/common/utils/fromatUrl.js b/dist/common/utils/fromatUrl.js new file mode 100644 index 0000000..05e72f5 --- /dev/null +++ b/dist/common/utils/fromatUrl.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.formatUrl = void 0; +function formatUrl(url) { + let formattedUrl = url.replace(/\s+/g, ''); + if (formattedUrl.endsWith('/')) { + formattedUrl = formattedUrl.slice(0, -1); + } + return formattedUrl; +} +exports.formatUrl = formatUrl; diff --git a/dist/common/utils/getClientIp.js b/dist/common/utils/getClientIp.js index 0b8a3e4..9b962ee 100644 --- a/dist/common/utils/getClientIp.js +++ b/dist/common/utils/getClientIp.js @@ -1,43 +1,22 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getClientIp = void 0; -function getClientIp(request) { - let ipAddress = ''; - const headerList = [ - 'X-Client-IP', - 'X-Real-IP', - 'X-Forwarded-For', - 'CF-Connecting-IP', - 'True-Client-IP', - 'X-Cluster-Client-IP', - 'Proxy-Client-IP', - 'WL-Proxy-Client-IP', - 'HTTP_CLIENT_IP', - 'HTTP_X_FORWARDED_FOR', - ]; - for (const header of headerList) { - const value = request.headers[header]; - if (value && typeof value === 'string') { - const ips = value.split(','); - ipAddress = ips[0].trim(); - break; - } +function getFirstValidIp(ipString) { + const ips = ipString.split(',').map(ip => ip.trim()); + return ips.find(ip => isValidIp(ip)) || ''; +} +function isValidIp(ip) { + return /^\d{1,3}(\.\d{1,3}){3}$/.test(ip) || /^::ffff:\d{1,3}(\.\d{1,3}){3}$/.test(ip); +} +function getClientIp(req) { + const forwardedFor = req.header('x-forwarded-for'); + let clientIp = forwardedFor ? getFirstValidIp(forwardedFor) : ''; + if (!clientIp) { + clientIp = req.connection.remoteAddress || req.socket.remoteAddress || ''; } - if (!ipAddress) { - ipAddress = request.connection.remoteAddress || ''; + if (clientIp.startsWith('::ffff:')) { + clientIp = clientIp.substring(7); } - if (ipAddress && ipAddress.includes('::')) { - const isLocal = /^(::1|fe80(:1)?::1(%.*)?)$/i.test(ipAddress); - if (isLocal) { - ipAddress = ''; - } - else if (ipAddress.includes('::ffff:')) { - ipAddress = ipAddress.split(':').pop() || ''; - } - } - if (!ipAddress || !/\d+\.\d+\.\d+\.\d+/.test(ipAddress)) { - ipAddress = ''; - } - return ipAddress; + return clientIp; } exports.getClientIp = getClientIp; diff --git a/dist/common/utils/getTokenCount.js b/dist/common/utils/getTokenCount.js new file mode 100644 index 0000000..0f309d4 --- /dev/null +++ b/dist/common/utils/getTokenCount.js @@ -0,0 +1,31 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getTokenCount = void 0; +const tiktoken_1 = require("@dqbd/tiktoken"); +const getTokenCount = async (input) => { + let text = ''; + if (Array.isArray(input)) { + text = input.reduce((pre, cur) => { + if (Array.isArray(cur.content)) { + const contentText = cur.content + .filter((item) => item.type === 'text') + .map((item) => item.text) + .join(' '); + return pre + contentText; + } + else { + return pre + (cur.content || ''); + } + }, ''); + } + else if (typeof input === 'string') { + text = input; + } + else if (input) { + text = String(input); + } + text = text.replace(/<\|endoftext\|>/g, ''); + const tokenizer = (0, tiktoken_1.get_encoding)('cl100k_base'); + return tokenizer.encode(text).length; +}; +exports.getTokenCount = getTokenCount; diff --git a/dist/common/utils/handleError.js b/dist/common/utils/handleError.js new file mode 100644 index 0000000..37d78de --- /dev/null +++ b/dist/common/utils/handleError.js @@ -0,0 +1,43 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.handleError = void 0; +const axios_1 = require("axios"); +function handleError(error) { + let message = '发生未知错误,请稍后再试'; + if (axios_1.default.isAxiosError(error) && error.response) { + switch (error.response.status) { + case 400: + message = + '发生错误:400 Bad Request - 请求因格式错误无法被服务器处理。'; + break; + case 401: + message = '发生错误:401 Unauthorized - 请求要求进行身份验证。'; + break; + case 403: + message = '发生错误:403 Forbidden - 服务器拒绝执行请求。'; + break; + case 404: + message = '发生错误:404 Not Found - 请求的资源无法在服务器上找到。'; + break; + case 500: + message = + '发生错误:500 Internal Server Error - 服务器内部错误,无法完成请求。'; + break; + case 502: + message = + '发生错误:502 Bad Gateway - 作为网关或代理工作的服务器从上游服务器收到无效响应。'; + break; + case 503: + message = + '发生错误:503 Service Unavailable - 服务器暂时处于超负载或维护状态,无法处理请求。'; + break; + default: + break; + } + } + else { + message = error.message || message; + } + return message; +} +exports.handleError = handleError; diff --git a/dist/common/utils/index.js b/dist/common/utils/index.js index 40d7ebf..137a82e 100644 --- a/dist/common/utils/index.js +++ b/dist/common/utils/index.js @@ -14,25 +14,26 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./date"), exports); -__exportStar(require("./createRandomCode"), exports); -__exportStar(require("./tools"), exports); -__exportStar(require("./createRandomInviteCode"), exports); -__exportStar(require("./maskEmail"), exports); -__exportStar(require("./createRandomUid"), exports); -__exportStar(require("./generateCrami"), exports); __exportStar(require("./base"), exports); -__exportStar(require("./hideString"), exports); +__exportStar(require("./createOrderId"), exports); +__exportStar(require("./createRandomCode"), exports); +__exportStar(require("./createRandomInviteCode"), exports); +__exportStar(require("./createRandomNonceStr"), exports); +__exportStar(require("./createRandomUid"), exports); +__exportStar(require("./date"), exports); +__exportStar(require("./encrypt"), exports); +__exportStar(require("./fromatUrl"), exports); +__exportStar(require("./generateCrami"), exports); +__exportStar(require("./getClientIp"), exports); __exportStar(require("./getDiffArray"), exports); __exportStar(require("./getRandomItem"), exports); -__exportStar(require("./getClientIp"), exports); -__exportStar(require("./maskIpAddress"), exports); -__exportStar(require("./maskCrami"), exports); -__exportStar(require("./selectKeyWithWeight"), exports); -__exportStar(require("./createOrderId"), exports); -__exportStar(require("./createRandomNonceStr"), exports); -__exportStar(require("./utcformatTime"), exports); -__exportStar(require("./removeSpecialCharacters"), exports); -__exportStar(require("./encrypt"), exports); -__exportStar(require("./compileNetwork"), exports); __exportStar(require("./getRandomItemFromArray"), exports); +__exportStar(require("./getTokenCount"), exports); +__exportStar(require("./handleError"), exports); +__exportStar(require("./hideString"), exports); +__exportStar(require("./maskCrami"), exports); +__exportStar(require("./maskEmail"), exports); +__exportStar(require("./maskIpAddress"), exports); +__exportStar(require("./removeSpecialCharacters"), exports); +__exportStar(require("./tools"), exports); +__exportStar(require("./utcformatTime"), exports); diff --git a/dist/common/utils/selectKeyWithWeight.js b/dist/common/utils/selectKeyWithWeight.js deleted file mode 100644 index 9c05c8f..0000000 --- a/dist/common/utils/selectKeyWithWeight.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.selectKeyWithWeight = void 0; -function selectKeyWithWeight(data) { - if (data.length === 0) - return undefined; - const totalWeight = data.reduce((sum, item) => sum + item.weight, 0); - let randomWeight = Math.random() * totalWeight; - for (const item of data) { - randomWeight -= item.weight; - if (randomWeight < 0) { - return item; - } - } - return data[data.length - 1]; -} -exports.selectKeyWithWeight = selectKeyWithWeight; diff --git a/dist/config/cos.js b/dist/config/cos.js deleted file mode 100644 index 16764da..0000000 --- a/dist/config/cos.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const Dotenv = require("dotenv"); -Dotenv.config({ path: '.env' }); -const config = { - SecretId: process.env.TENTCENT_SECRET_ID, - SecretKey: process.env.TENTCENT_SECRET_KEY, - Bucket: process.env.COS_BUCKET_PUBLIC, - Region: process.env.COS_REGION, -}; -exports.default = config; diff --git a/dist/config/database.js b/dist/config/database.js deleted file mode 100644 index 7f72384..0000000 --- a/dist/config/database.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const config = { - type: 'mysql', - port: parseInt(process.env.DB_PORT), - host: process.env.DB_HOST, - username: process.env.DB_USER, - password: process.env.DB_PASS, - database: process.env.DB_DATABASE, - entities: [__dirname + '/../**/*.entity{.ts,.js}'], - logging: false, - synchronize: true, - charset: 'utf8mb4', - timezone: '+08:00', -}; -exports.default = config; diff --git a/dist/config/jwt.js b/dist/config/jwt.js deleted file mode 100644 index ce3d0dc..0000000 --- a/dist/config/jwt.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const config = { - secret: process.env.JWT_SECRET, - signOptions: { - expiresIn: process.env.JWT_EXPIRESIN || '7d', - }, -}; -exports.default = config; diff --git a/dist/config/main.js b/dist/config/main.js deleted file mode 100644 index 187acb8..0000000 --- a/dist/config/main.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.APIPREFIX = exports.SWAGGERPREFIX = exports.PORT = void 0; -const PORT = process.env.PORT || 3000; -exports.PORT = PORT; -const SWAGGERPREFIX = process.env.SWAGGERPREFIX || '/docs'; -exports.SWAGGERPREFIX = SWAGGERPREFIX; -const APIPREFIX = process.env.APIPREFIX || '/api'; -exports.APIPREFIX = APIPREFIX; diff --git a/dist/config/redis.js b/dist/config/redis.js deleted file mode 100644 index 2bc3fce..0000000 --- a/dist/config/redis.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const config = { - port: parseInt(process.env.REDIS_PORT), - host: process.env.REDIS_HOST, - password: process.env.REDIS_PASSWORD, - username: process.env.REDIS_USER, -}; -exports.default = config; diff --git a/dist/interfaces/mail.interface.js b/dist/interfaces/mail.interface.js deleted file mode 100644 index c8ad2e5..0000000 --- a/dist/interfaces/mail.interface.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/main.js b/dist/main.js index 01e91ba..dadaa53 100644 --- a/dist/main.js +++ b/dist/main.js @@ -1,36 +1,50 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const Dotenv = require("dotenv"); -Dotenv.config({ path: '.env' }); -const core_1 = require("@nestjs/core"); -const app_module_1 = require("./app.module"); -const swagger_1 = require("./common/swagger"); const allExceptions_filter_1 = require("./common/filters/allExceptions.filter"); const typeOrmQueryFailed_filter_1 = require("./common/filters/typeOrmQueryFailed.filter"); -const common_1 = require("@nestjs/common"); const transform_interceptor_1 = require("./common/interceptors/transform.interceptor"); -const main_1 = require("./config/main"); +const custom_logger_service_1 = require("./common/logger/custom-logger.service"); const initDatabase_1 = require("./modules/database/initDatabase"); +const common_1 = require("@nestjs/common"); +const core_1 = require("@nestjs/core"); const compression = require("compression"); +const crypto_1 = require("crypto"); +const Dotenv = require("dotenv"); const xmlBodyParser = require("express-xml-bodyparser"); +const ioredis_1 = require("ioredis"); const path_1 = require("path"); +const app_module_1 = require("./app.module"); +Dotenv.config({ path: '.env' }); async function bootstrap() { - await (0, initDatabase_1.initDatabase)(); + const redis = new ioredis_1.default({ + host: process.env.REDIS_HOST, + port: Number(process.env.REDIS_PORT), + password: process.env.REDIS_PASSWORD, + db: Number(process.env.REDIS_DB || 0), + }); + const existingSecret = await redis.get('JWT_SECRET'); + if (!existingSecret) { + const jwtSecret = (0, crypto_1.randomBytes)(256).toString('base64'); + common_1.Logger.log('Generating and setting new JWT_SECRET'); + await redis.set('JWT_SECRET', jwtSecret); + } const app = await core_1.NestFactory.create(app_module_1.AppModule); + await (0, initDatabase_1.initDatabase)(); + app.useLogger(app.get(custom_logger_service_1.CustomLoggerService)); app.use(compression()); const www = (0, path_1.resolve)(__dirname, './public'); app.use(xmlBodyParser()); app.enableCors(); - app.setGlobalPrefix(main_1.APIPREFIX); + app.setGlobalPrefix('/api'); app.useGlobalInterceptors(new transform_interceptor_1.TransformInterceptor()); app.useGlobalFilters(new typeOrmQueryFailed_filter_1.TypeOrmQueryFailedFilter()); app.useGlobalFilters(new allExceptions_filter_1.AllExceptionsFilter()); app.useGlobalPipes(new common_1.ValidationPipe()); app.getHttpAdapter().getInstance().set('views', 'templates/pages'); app.getHttpAdapter().getInstance().set('view engine', 'hbs'); - (0, swagger_1.createSwagger)(app); - const server = await app.listen(main_1.PORT, () => { - common_1.Logger.log(`服务启动成功: http://localhost:${main_1.PORT}/nineai/swagger/docs`, 'Main'); + const PORT = process.env.PORT || 3000; + const server = await app.listen(PORT, () => { + common_1.Logger.log(`服务启动成功: http://localhost:${PORT}`, 'Main'); }); server.timeout = 5 * 60 * 1000; } diff --git a/dist/modules/ai/azureTts.service.js b/dist/modules/ai/azureTts.service.js new file mode 100644 index 0000000..a479754 --- /dev/null +++ b/dist/modules/ai/azureTts.service.js @@ -0,0 +1,32 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var AzureTtsService_1; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AzureTtsService = void 0; +const common_1 = require("@nestjs/common"); +const chatLog_service_1 = require("../chatLog/chatLog.service"); +const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); +const upload_service_1 = require("../upload/upload.service"); +let AzureTtsService = AzureTtsService_1 = class AzureTtsService { + constructor(uploadService, globalConfigService, chatLogService) { + this.uploadService = uploadService; + this.globalConfigService = globalConfigService; + this.chatLogService = chatLogService; + this.logger = new common_1.Logger(AzureTtsService_1.name); + } +}; +AzureTtsService = AzureTtsService_1 = __decorate([ + (0, common_1.Injectable)(), + __metadata("design:paramtypes", [upload_service_1.UploadService, + globalConfig_service_1.GlobalConfigService, + chatLog_service_1.ChatLogService]) +], AzureTtsService); +exports.AzureTtsService = AzureTtsService; diff --git a/dist/modules/ai/lumaVideo.service.js b/dist/modules/ai/lumaVideo.service.js new file mode 100644 index 0000000..8fd3048 --- /dev/null +++ b/dist/modules/ai/lumaVideo.service.js @@ -0,0 +1,185 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.LumaVideoService = void 0; +const common_1 = require("@nestjs/common"); +const axios_1 = require("axios"); +const chatLog_service_1 = require("../chatLog/chatLog.service"); +let LumaVideoService = class LumaVideoService { + constructor(chatLogService) { + this.chatLogService = chatLogService; + } + async lumaVideo(inputs) { + var _a, _b, _c; + const { apiKey, proxyUrl, fileInfo, prompt, timeout, assistantLogId, extraParam, } = inputs; + let result = { + text: '', + fileInfo: '', + taskId: '', + taskData: '', + status: 2, + }; + let response = null; + let url = ''; + let payloadJson = {}; + const headers = { Authorization: `Bearer ${apiKey}` }; + url = `${proxyUrl}/luma/generations/`; + const aspectRatio = '16:9'; + payloadJson = { + user_prompt: prompt, + aspect_ratio: aspectRatio, + expand_prompt: true, + }; + common_1.Logger.log(`正在准备发送请求到 ${url},payload: ${JSON.stringify(payloadJson)}, headers: ${JSON.stringify(headers)}`, 'LumaService'); + try { + response = await axios_1.default.post(url, payloadJson, { headers }); + } + catch (error) { + common_1.Logger.error(`任务提交失败: ${error.message}`, 'LumaService'); + throw new Error('任务提交失败'); + } + if ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.id) { + result.taskId = (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.id; + common_1.Logger.log(`任务提交成功, 任务ID: ${(_c = response === null || response === void 0 ? void 0 : response.data) === null || _c === void 0 ? void 0 : _c.id}`, 'LumaService'); + } + else { + throw new Error('未能获取结果数据, 即将重试'); + } + try { + await this.pollLumaVideoResult({ + proxyUrl, + apiKey, + taskId: response.data.id, + timeout, + prompt, + onSuccess: async (data) => { + try { + await this.chatLogService.updateChatLog(assistantLogId, { + videoUrl: data === null || data === void 0 ? void 0 : data.videoUrl, + audioUrl: data === null || data === void 0 ? void 0 : data.audioUrl, + fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo, + answer: (data === null || data === void 0 ? void 0 : data.answer) || prompt, + progress: '100%', + status: 3, + taskId: data === null || data === void 0 ? void 0 : data.taskId, + taskData: data === null || data === void 0 ? void 0 : data.taskData, + }); + common_1.Logger.log('视频任务已完成', 'LumaService'); + } + catch (error) { + common_1.Logger.error(`更新日志失败: ${error.message}`, 'LumaService'); + } + }, + onGenerating: async (data) => { + try { + await this.chatLogService.updateChatLog(assistantLogId, { + videoUrl: data === null || data === void 0 ? void 0 : data.videoUrl, + audioUrl: data === null || data === void 0 ? void 0 : data.audioUrl, + fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo, + answer: (data === null || data === void 0 ? void 0 : data.answer) || '视频生成中...', + progress: data === null || data === void 0 ? void 0 : data.progress, + status: data.status, + }); + common_1.Logger.log('视频生成中...', 'LumaService'); + } + catch (error) { + common_1.Logger.error(`更新日志失败: ${error.message}`, 'LumaService'); + } + }, + onFailure: async (data) => { + try { + await this.chatLogService.updateChatLog(assistantLogId, { + answer: '视频生成失败', + status: data.status, + }); + common_1.Logger.log('生成失败', 'Lum aService'); + } + catch (error) { + common_1.Logger.error(`更新日志失败: ${error.message}`, 'LumaService'); + } + }, + }); + } + catch (error) { + common_1.Logger.error('查询生成结果时发生错误:', error.message, 'LumaService'); + throw new Error('查询生成结果时发生错误'); + } + return result; + } + async pollLumaVideoResult(inputs) { + const { proxyUrl, apiKey, taskId, timeout, onSuccess, onFailure, onGenerating, action, } = inputs; + let result = { + videoUrl: '', + audioUrl: '', + fileInfo: '', + drawId: '', + taskData: '', + status: 2, + progress: 0, + answer: '', + }; + const headers = { Authorization: `Bearer ${apiKey}` }; + const url = `${proxyUrl}/luma/generations/${taskId}`; + const startTime = Date.now(); + const totalDuration = 300000; + const POLL_INTERVAL = 5000; + let retryCount = 0; + try { + while (Date.now() - startTime < timeout) { + await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL)); + try { + const res = await axios_1.default.get(url, { headers }); + const interval = setInterval(() => { + const elapsed = Date.now() - startTime; + let percentage = Math.floor((elapsed / totalDuration) * 100); + if (percentage >= 99) + percentage = 99; + result.answer = `视频生成中 (${percentage}%)`; + }, 1000); + const responses = res.data; + common_1.Logger.debug(`轮询结果: ${JSON.stringify(responses)}`, 'LumaService'); + if (responses.state === 'completed') { + result.taskId = responses.id; + result.taskData = JSON.stringify(responses); + result.fileInfo = responses.video.url; + result.answer = `提示词: "${responses.prompt}"`; + onSuccess(result); + clearInterval(interval); + return; + } + else { + onGenerating(result); + } + if (result.progress) { + } + } + catch (error) { + retryCount++; + common_1.Logger.error(`轮询失败,重试次数: ${retryCount}`, 'LumaService'); + } + } + common_1.Logger.error('轮询超时,请稍后再试!', 'LumaService'); + result.status = 4; + onFailure(result); + throw new Error('查询超时,请稍后再试!'); + } + catch (error) { + common_1.Logger.error(`轮询过程中发生错误: ${error}`, 'LumaService'); + result.status = 5; + onFailure(result); + } + } +}; +LumaVideoService = __decorate([ + (0, common_1.Injectable)(), + __metadata("design:paramtypes", [chatLog_service_1.ChatLogService]) +], LumaVideoService); +exports.LumaVideoService = LumaVideoService; diff --git a/dist/modules/ai/midjourneyDraw.service.js b/dist/modules/ai/midjourneyDraw.service.js new file mode 100644 index 0000000..0aeca54 --- /dev/null +++ b/dist/modules/ai/midjourneyDraw.service.js @@ -0,0 +1,211 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MidjourneyService = void 0; +const common_1 = require("@nestjs/common"); +const axios_1 = require("axios"); +const chatLog_service_1 = require("../chatLog/chatLog.service"); +const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); +const upload_service_1 = require("../upload/upload.service"); +let MidjourneyService = class MidjourneyService { + constructor(uploadService, globalConfigService, chatLogService) { + this.uploadService = uploadService; + this.globalConfigService = globalConfigService; + this.chatLogService = chatLogService; + } + async midjourneyDraw(inputs) { + var _a, _b; + const { id, apiKey, proxyUrl, action, drawId, prompt, usePrompt, customId, timeout, assistantLogId, } = inputs; + let result = { + text: '', + fileInfo: '', + drawId: '', + customId: '', + status: 2, + }; + let response; + let retryCount = 0; + let url = ''; + while (retryCount < 3) { + let payloadJson = {}; + try { + if (action === 'IMAGINE') { + url = `${proxyUrl}/mj/submit/imagine`; + payloadJson = { prompt: usePrompt }; + } + else { + url = `${proxyUrl}/mj/submit/action`; + payloadJson = { taskId: drawId, customId: customId }; + } + const headers = { 'mj-api-secret': apiKey }; + common_1.Logger.log(`正在准备发送请求到 ${url},payload: ${JSON.stringify(payloadJson)}, headers: ${JSON.stringify(headers)}`, 'MidjourneyService'); + response = await axios_1.default.post(url, payloadJson, { headers }); + if ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.result) { + result.drawId = (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.result; + break; + } + else { + throw new Error('未能获取结果数据, 即将重试'); + } + } + catch (error) { + retryCount++; + if (retryCount >= 3) { + common_1.Logger.log(`绘画任务提交失败, 请检查后台配置或者稍后重试! ${error}`, 'MidjourneyService'); + } + } + } + this.pollMjDrawingResult({ + proxyUrl, + apiKey, + drawId: response.data.result, + timeout, + prompt, + onSuccess: async (data) => { + await this.chatLogService.updateChatLog(assistantLogId, { + fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo, + answer: (data === null || data === void 0 ? void 0 : data.answer) || prompt, + progress: '100%', + status: 3, + drawId: data === null || data === void 0 ? void 0 : data.drawId, + customId: data === null || data === void 0 ? void 0 : data.customId, + }); + common_1.Logger.log('绘图成功!'); + }, + onDrawing: async (data) => { + await this.chatLogService.updateChatLog(assistantLogId, { + answer: (data === null || data === void 0 ? void 0 : data.answer) || '绘制中', + progress: data === null || data === void 0 ? void 0 : data.progress, + status: 2, + }); + common_1.Logger.log(`绘制中!绘制进度${data === null || data === void 0 ? void 0 : data.progress}`); + }, + onFailure: async (data) => { + await this.chatLogService.updateChatLog(assistantLogId, { + answer: '绘图失败', + status: data.status, + }); + common_1.Logger.log('绘图失败'); + }, + }).catch((error) => { + common_1.Logger.error('查询绘图结果时发生错误:', error, 'MidjourneyService'); + }); + common_1.Logger.log(`绘画任务提交成功, 绘画ID: ${response.data.result}`, 'MidjourneyService'); + return result; + } + async pollMjDrawingResult(inputs) { + const { proxyUrl, apiKey, drawId, timeout, onSuccess, prompt, onFailure, onDrawing, } = inputs; + const { mjNotSaveImg, mjProxyImgUrl, mjNotUseProxy } = await this.globalConfigService.getConfigs([ + 'mjNotSaveImg', + 'mjProxyImgUrl', + 'mjNotUseProxy', + ]); + let response; + let result = { + fileInfo: '', + drawId: '', + customId: '', + status: 2, + progress: 0, + answer: '', + }; + let payloadJson = {}; + const startTime = Date.now(); + const POLL_INTERVAL = 5000; + let retryCount = 0; + let pollingCount = 0; + try { + while (Date.now() - startTime < timeout) { + await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL)); + try { + const headers = { + 'Content-Type': 'application/x-www-form-urlencoded', + 'mj-api-secret': apiKey, + }; + const url = `${proxyUrl}/mj/task/${drawId}/fetch`; + const res = await axios_1.default.get(url, { headers }); + const responses = res.data; + if (responses.status === 'SUCCESS') { + common_1.Logger.log(`绘制成功, 获取到的URL: ${responses.imageUrl}`, 'MidjourneyService'); + let processedUrl = responses.imageUrl; + const shouldReplaceUrl = mjNotUseProxy === '0' && mjProxyImgUrl; + let logMessage = ''; + if (shouldReplaceUrl) { + const newUrlBase = new URL(mjProxyImgUrl); + const parsedUrl = new URL(responses.imageUrl); + parsedUrl.protocol = newUrlBase.protocol; + parsedUrl.hostname = newUrlBase.hostname; + parsedUrl.port = newUrlBase.port ? newUrlBase.port : ''; + processedUrl = parsedUrl.toString(); + logMessage = `使用代理替换后的 URL: ${processedUrl}`; + common_1.Logger.log(logMessage, 'MidjourneyService'); + } + if (mjNotSaveImg !== '1') { + try { + common_1.Logger.log(`------> 开始上传图片!!!`); + const now = new Date(); + const year = now.getFullYear(); + const month = String(now.getMonth() + 1).padStart(2, '0'); + const day = String(now.getDate()).padStart(2, '0'); + const currentDate = `${year}${month}/${day}`; + processedUrl = await this.uploadService.uploadFileFromUrl({ + url: processedUrl, + dir: `images/midjourney/${currentDate}`, + }); + logMessage = `上传成功 URL: ${processedUrl}`; + } + catch (uploadError) { + common_1.Logger.error('存储图片失败,使用原始/代理图片链接'); + logMessage = `存储图片失败,使用原始/代理图片链接 ${processedUrl}`; + } + common_1.Logger.log(logMessage, 'MidjourneyService'); + } + else { + logMessage = `不保存图片,使用 URL: ${processedUrl}`; + common_1.Logger.log(logMessage, 'MidjourneyService'); + } + result.fileInfo = processedUrl; + result.drawId = responses.id; + result.customId = JSON.stringify(responses.buttons); + result.answer = `${prompt}\n${responses.finalPrompt || responses.properties.finalPrompt || ''}`; + onSuccess(result); + return; + } + result.progress = responses === null || responses === void 0 ? void 0 : responses.progress; + result.answer = `当前绘制进度 ${responses === null || responses === void 0 ? void 0 : responses.progress}`; + if (result.progress) { + onDrawing(result); + } + } + catch (error) { + retryCount++; + common_1.Logger.error(`轮询过程中发生错误: ${error}`, 'MidjourneyService'); + } + } + common_1.Logger.error(`超过 ${startTime / 1000} s 未完成绘画, 请稍后再试! MidjourneyService`); + result.status = 4; + onFailure(result); + throw new common_1.HttpException('绘画超时,请稍后再试!', common_1.HttpStatus.BAD_REQUEST); + } + catch (error) { + common_1.Logger.error(`绘画失败: ${error} MidjourneyService`); + result.status = 5; + onFailure(result); + } + } +}; +MidjourneyService = __decorate([ + (0, common_1.Injectable)(), + __metadata("design:paramtypes", [upload_service_1.UploadService, + globalConfig_service_1.GlobalConfigService, + chatLog_service_1.ChatLogService]) +], MidjourneyService); +exports.MidjourneyService = MidjourneyService; diff --git a/dist/modules/ai/openaiChat.service.js b/dist/modules/ai/openaiChat.service.js new file mode 100644 index 0000000..d54b501 --- /dev/null +++ b/dist/modules/ai/openaiChat.service.js @@ -0,0 +1,145 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OpenAIChatService = void 0; +const utils_1 = require("../../common/utils"); +const common_1 = require("@nestjs/common"); +const axios_1 = require("axios"); +const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); +let OpenAIChatService = class OpenAIChatService { + constructor(globalConfigService) { + this.globalConfigService = globalConfigService; + } + async openAIChat(messagesHistory, inputs) { + const { onFailure, onProgress, apiKey, model, proxyUrl, modelName, timeout, chatId, isFileUpload, modelAvatar, temperature, abortController, } = inputs; + let result = { + text: '', + model: '', + modelName: modelName, + chatId: chatId, + answer: '', + errMsg: '', + modelAvatar: modelAvatar, + }; + const options = { + method: 'POST', + url: `${proxyUrl}/v1/chat/completions`, + responseType: 'stream', + timeout: timeout, + headers: { + 'Content-Type': 'application/json', + Authorization: `Bearer ${apiKey}`, + }, + data: Object.assign({ stream: true, model, temperature: temperature, messages: messagesHistory }, (isFileUpload === 2 && { max_tokens: 2048 })), + }; + console.log('请求配置:', JSON.stringify(options, null, 2), 'ChatService'); + try { + const response = await (0, axios_1.default)(options); + const stream = response.data; + let buffer = ''; + await new Promise((resolve, reject) => { + stream.on('data', (chunk) => { + buffer += chunk.toString(); + let lines = buffer.split('\n'); + buffer = lines.pop(); + lines.forEach((line) => { + var _a, _b; + if (line.trim() === 'data: [DONE]') { + console.log('处理结束信号 [DONE]'); + resolve(result); + return; + } + if (line.startsWith('data: ')) { + try { + const cleanedLine = line.slice(6).trim(); + if (cleanedLine) { + const jsonLine = JSON.parse(cleanedLine); + const content = ((_b = (_a = jsonLine.choices[0]) === null || _a === void 0 ? void 0 : _a.delta) === null || _b === void 0 ? void 0 : _b.content) || ''; + result.answer += content; + onProgress === null || onProgress === void 0 ? void 0 : onProgress({ text: content, answer: result.answer }); + } + } + catch (error) { + console.error('Error parsing line:', line, error); + } + } + }); + }); + stream.on('end', () => { + resolve(result); + }); + stream.on('error', (error) => { + reject(error); + }); + abortController.signal.addEventListener('abort', () => { + resolve(result); + }); + }); + return result; + } + catch (error) { + result.errMsg = (0, utils_1.handleError)(error); + common_1.Logger.error(result.errMsg); + onFailure(result); + return result; + } + } + async chatFree(prompt, systemMessage, messagesHistory) { + const { openaiBaseUrl = '', openaiBaseKey = '', openaiBaseModel, } = await this.globalConfigService.getConfigs([ + 'openaiBaseKey', + 'openaiBaseUrl', + 'openaiBaseModel', + ]); + const key = openaiBaseKey; + const proxyUrl = openaiBaseUrl; + let requestData = []; + if (systemMessage) { + requestData.push({ + role: 'system', + content: systemMessage, + }); + } + if (messagesHistory && messagesHistory.length > 0) { + requestData = requestData.concat(messagesHistory); + } + else { + requestData.push({ + role: 'user', + content: prompt, + }); + } + const options = { + method: 'POST', + url: `${proxyUrl}/v1/chat/completions`, + headers: { + 'Content-Type': 'application/json', + Authorization: `Bearer ${key}`, + }, + data: { + model: openaiBaseModel || 'gpt-3.5-turbo-0125', + messages: requestData, + }, + }; + try { + const response = await (0, axios_1.default)(options); + common_1.Logger.log(`全局模型调用成功, 返回结果: ${response === null || response === void 0 ? void 0 : response.data.choices[0].message.content}`, 'ChatService'); + return response === null || response === void 0 ? void 0 : response.data.choices[0].message.content; + } + catch (error) { + console.log('error: ', error); + } + } +}; +OpenAIChatService = __decorate([ + (0, common_1.Injectable)(), + __metadata("design:paramtypes", [globalConfig_service_1.GlobalConfigService]) +], OpenAIChatService); +exports.OpenAIChatService = OpenAIChatService; diff --git a/dist/modules/chat/apiDataService.service.js b/dist/modules/ai/openaiDraw.service.js similarity index 56% rename from dist/modules/chat/apiDataService.service.js rename to dist/modules/ai/openaiDraw.service.js index 59d12bd..3e21ad9 100644 --- a/dist/modules/chat/apiDataService.service.js +++ b/dist/modules/ai/openaiDraw.service.js @@ -8,69 +8,27 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; -var ApiDataService_1; +var OpenAIDrawService_1; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ApiDataService = void 0; +exports.OpenAIDrawService = void 0; const common_1 = require("@nestjs/common"); const axios_1 = require("axios"); -const uuid = require("uuid"); +const chatLog_service_1 = require("../chatLog/chatLog.service"); const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); const upload_service_1 = require("../upload/upload.service"); -let ApiDataService = ApiDataService_1 = class ApiDataService { - constructor(uploadService, globalConfigService) { +const openaiChat_service_1 = require("./openaiChat.service"); +let OpenAIDrawService = OpenAIDrawService_1 = class OpenAIDrawService { + constructor(uploadService, globalConfigService, chatLogService, openAIChatService) { this.uploadService = uploadService; this.globalConfigService = globalConfigService; - this.logger = new common_1.Logger(ApiDataService_1.name); - } - async chatFree(prompt, systemMessage, messagesHistory) { - const { openaiBaseUrl = '', openaiBaseKey = '', openaiBaseModel, } = await this.globalConfigService.getConfigs([ - 'openaiBaseKey', - 'openaiBaseUrl', - 'openaiBaseModel', - ]); - const key = openaiBaseKey; - const proxyUrl = openaiBaseUrl; - let requestData = []; - if (systemMessage) { - requestData.push({ - "role": "system", - "content": systemMessage - }); - } - if (messagesHistory && messagesHistory.length > 0) { - requestData = requestData.concat(messagesHistory); - } - else { - requestData.push({ - "role": "user", - "content": prompt - }); - } - const options = { - method: 'POST', - url: `${proxyUrl}/v1/chat/completions`, - headers: { - "Content-Type": "application/json", - "Authorization": `Bearer ${key}`, - }, - data: { - model: openaiBaseModel || 'gpt-3.5-turbo-0125', - messages: requestData, - }, - }; - try { - const response = await (0, axios_1.default)(options); - common_1.Logger.log(`全局模型调用成功, 返回结果: ${response === null || response === void 0 ? void 0 : response.data.choices[0].message.content}`); - return response === null || response === void 0 ? void 0 : response.data.choices[0].message.content; - } - catch (error) { - console.log('error: ', error); - } + this.chatLogService = chatLogService; + this.openAIChatService = openAIChatService; + this.logger = new common_1.Logger(OpenAIDrawService_1.name); } async dalleDraw(inputs, messagesHistory) { var _a, _b, _c, _d; common_1.Logger.log('开始提交 Dalle 绘图任务 ', 'DrawService'); - const { apiKey, model, proxyUrl, prompt, extraParam, timeout, onSuccess, onFailure } = inputs; + const { apiKey, model, proxyUrl, prompt, extraParam, timeout, onSuccess, onFailure, } = inputs; const size = (extraParam === null || extraParam === void 0 ? void 0 : extraParam.size) || '1024x1024'; let result = { answer: '', fileInfo: '', status: 2 }; try { @@ -89,25 +47,30 @@ let ApiDataService = ApiDataService_1 = class ApiDataService { }, }; const response = await (0, axios_1.default)(options); - common_1.Logger.debug(`请求成功${JSON.stringify(response.data.data[0])}`); - common_1.Logger.debug(`请求状态${JSON.stringify(response.status)}`); const url = response.data.data[0].url; try { - const filename = `${Date.now()}-${uuid.v4().slice(0, 4)}.png`; - common_1.Logger.debug(`------> 开始上传图片!!!`, 'DrawService'); - result.fileInfo = await this.uploadService.uploadFileFromUrl({ filename, url: url }); - common_1.Logger.debug(`图片上传成功,URL: ${result.fileInfo}`, 'DrawService'); + common_1.Logger.log(`------> 开始上传图片!!!`, 'DrawService'); + const now = new Date(); + const year = now.getFullYear(); + const month = String(now.getMonth() + 1).padStart(2, '0'); + const day = String(now.getDate()).padStart(2, '0'); + const currentDate = `${year}${month}/${day}`; + result.fileInfo = await this.uploadService.uploadFileFromUrl({ + url: url, + dir: `images/dalle/${currentDate}`, + }); + common_1.Logger.log(`图片上传成功,URL: ${result.fileInfo}`, 'DrawService'); } catch (error) { common_1.Logger.error(`上传图片过程中出现错误: ${error}`, 'DrawService'); } let revised_prompt_cn; try { - revised_prompt_cn = await this.chatFree(`根据提示词{${response.data.data[0].revised_prompt}}, 模拟AI绘画机器人的语气,用中文回复,告诉用户已经画好了`); + revised_prompt_cn = await this.openAIChatService.chatFree(`根据提示词{${response.data.data[0].revised_prompt}}, 模拟AI绘画机器人的语气,用中文回复,告诉用户已经画好了`); } catch (error) { revised_prompt_cn = `${prompt} 绘制成功`; - common_1.Logger.error("翻译失败: ", error); + common_1.Logger.error('翻译失败: ', error); } result.answer = revised_prompt_cn; result.status = 3; @@ -124,12 +87,15 @@ let ApiDataService = ApiDataService_1 = class ApiDataService { result.text = '当前请求已过载、请稍等会儿再试试吧!'; return result; } - if (status === 400 && message.includes('This request has been blocked by our content filters')) { + if (status === 400 && + message.includes('This request has been blocked by our content filters')) { result.text = '您的请求已被系统拒绝。您的提示可能存在一些非法的文本。'; return result; } - if (status === 400 && message.includes('Billing hard limit has been reached')) { - result.text = '当前模型key已被封禁、已冻结当前调用Key、尝试重新对话试试吧!'; + if (status === 400 && + message.includes('Billing hard limit has been reached')) { + result.text = + '当前模型key已被封禁、已冻结当前调用Key、尝试重新对话试试吧!'; return result; } if (status === 500) { @@ -145,9 +111,11 @@ let ApiDataService = ApiDataService_1 = class ApiDataService { } } }; -ApiDataService = ApiDataService_1 = __decorate([ +OpenAIDrawService = OpenAIDrawService_1 = __decorate([ (0, common_1.Injectable)(), __metadata("design:paramtypes", [upload_service_1.UploadService, - globalConfig_service_1.GlobalConfigService]) -], ApiDataService); -exports.ApiDataService = ApiDataService; + globalConfig_service_1.GlobalConfigService, + chatLog_service_1.ChatLogService, + openaiChat_service_1.OpenAIChatService]) +], OpenAIDrawService); +exports.OpenAIDrawService = OpenAIDrawService; diff --git a/dist/modules/ai/stableDiffusion.service.js b/dist/modules/ai/stableDiffusion.service.js new file mode 100644 index 0000000..462662c --- /dev/null +++ b/dist/modules/ai/stableDiffusion.service.js @@ -0,0 +1,91 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var StableDiffusionService_1; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StableDiffusionService = void 0; +const common_1 = require("@nestjs/common"); +const axios_1 = require("axios"); +const chatLog_service_1 = require("../chatLog/chatLog.service"); +const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); +const upload_service_1 = require("../upload/upload.service"); +let StableDiffusionService = StableDiffusionService_1 = class StableDiffusionService { + constructor(uploadService, globalConfigService, chatLogService) { + this.uploadService = uploadService; + this.globalConfigService = globalConfigService; + this.chatLogService = chatLogService; + this.logger = new common_1.Logger(StableDiffusionService_1.name); + } + async sdxl(messagesHistory, inputs) { + const { onGenerate, onSuccess, onFailure, apiKey, model, proxyUrl, modelName, timeout, chatId, isFileUpload, prompt, } = inputs; + let result = { + answer: '', + model: model, + modelName: modelName, + chatId: chatId, + fileInfo: '', + status: 2, + }; + console.log('开始处理', { model, modelName, prompt }); + const options = { + method: 'POST', + url: `${proxyUrl}/v1/chat/completions`, + timeout: timeout, + headers: { + 'Content-Type': 'application/json', + Authorization: `Bearer ${apiKey}`, + }, + data: { + model, + messages: [{ role: 'user', content: prompt }], + }, + }; + try { + const response = await (0, axios_1.default)(options); + console.log('API响应接收', response.data); + if (response.data.choices && response.data.choices.length > 0) { + const choice = response.data.choices[0]; + const content = choice.message.content; + console.log('处理内容', content); + const regex = /\]\((https?:\/\/[^\)]+)\)/; + const match = content.match(regex); + if (match && match[1]) { + result.fileInfo = match[1]; + console.log('找到链接', match[1]); + } + else { + console.log('没有找到链接'); + } + let revised_prompt_cn; + result.answer = `${prompt} 绘制成功`; + if (result.fileInfo) { + onSuccess(result); + return; + } + else { + onFailure('No link found.'); + } + } + else { + onFailure('No choices returned.'); + } + } + catch (error) { + common_1.Logger.error('服务器错误,请求失败:', error); + } + } +}; +StableDiffusionService = StableDiffusionService_1 = __decorate([ + (0, common_1.Injectable)(), + __metadata("design:paramtypes", [upload_service_1.UploadService, + globalConfig_service_1.GlobalConfigService, + chatLog_service_1.ChatLogService]) +], StableDiffusionService); +exports.StableDiffusionService = StableDiffusionService; diff --git a/dist/modules/ai/suno.service.js b/dist/modules/ai/suno.service.js new file mode 100644 index 0000000..21d18e4 --- /dev/null +++ b/dist/modules/ai/suno.service.js @@ -0,0 +1,247 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SunoService = void 0; +const common_1 = require("@nestjs/common"); +const axios_1 = require("axios"); +const chatLog_service_1 = require("../chatLog/chatLog.service"); +let SunoService = class SunoService { + constructor(chatLogService) { + this.chatLogService = chatLogService; + } + async suno(inputs) { + var _a, _b, _c; + const { apiKey, proxyUrl, action, prompt, timeout, assistantLogId, taskData, extraParam, } = inputs; + let result = { + text: '', + fileInfo: '', + taskId: '', + taskData: '', + status: 2, + }; + common_1.Logger.log('开始生成音乐', 'SunoService'); + let response = null; + let url = ''; + let payloadJson = {}; + const headers = { Authorization: `Bearer ${apiKey}` }; + if (action === 'LYRICS') { + url = `${proxyUrl}/task/suno/v1/submit/lyrics`; + payloadJson = { prompt: prompt }; + } + if (action === 'MUSIC') { + url = `${proxyUrl}/task/suno/v1/submit/music`; + try { + payloadJson = JSON.parse(taskData); + } + catch (error) { + common_1.Logger.error(`解析taskData失败: ${error.message}`, 'SunoService'); + throw new Error('taskData格式错误'); + } + } + common_1.Logger.log(`正在准备发送请求到 ${url},payload: ${JSON.stringify(payloadJson)}, headers: ${JSON.stringify(headers)}`); + try { + response = await axios_1.default.post(url, payloadJson, { headers }); + } + catch (error) { + common_1.Logger.error(`任务提交失败: ${error.message}`, 'SunoService'); + throw new Error('任务提交失败'); + } + if ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.data) { + result.taskId = (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.data; + common_1.Logger.log(`任务提交成功, 任务ID: ${(_c = response === null || response === void 0 ? void 0 : response.data) === null || _c === void 0 ? void 0 : _c.data}`, 'SunoService'); + } + else { + throw new Error('未能获取结果数据, 即将重试'); + } + try { + await this.pollSunoMusicResult({ + proxyUrl, + apiKey, + taskId: response.data.data, + timeout, + prompt, + action, + onSuccess: async (data) => { + try { + await this.chatLogService.updateChatLog(assistantLogId, { + videoUrl: data === null || data === void 0 ? void 0 : data.videoUrl, + audioUrl: data === null || data === void 0 ? void 0 : data.audioUrl, + fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo, + answer: (data === null || data === void 0 ? void 0 : data.answer) || prompt, + progress: '100%', + status: 3, + taskId: data === null || data === void 0 ? void 0 : data.taskId, + taskData: data === null || data === void 0 ? void 0 : data.taskData, + }); + common_1.Logger.log('音乐任务已完成', 'SunoService'); + } + catch (error) { + common_1.Logger.error(`更新日志失败: ${error.message}`, 'SunoService'); + } + }, + onAudioSuccess: async (data) => { + try { + await this.chatLogService.updateChatLog(assistantLogId, { + videoUrl: data === null || data === void 0 ? void 0 : data.videoUrl, + audioUrl: data === null || data === void 0 ? void 0 : data.audioUrl, + fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo, + answer: (data === null || data === void 0 ? void 0 : data.answer) || prompt, + progress: data === null || data === void 0 ? void 0 : data.progress, + status: data.status, + taskId: data === null || data === void 0 ? void 0 : data.taskId, + taskData: data === null || data === void 0 ? void 0 : data.taskData, + }); + common_1.Logger.log('音频生成成功,等待视频生成...', 'SunoService'); + } + catch (error) { + common_1.Logger.error(`更新日志失败: ${error.message}`, 'SunoService'); + } + }, + onGenerating: async (data) => { + try { + await this.chatLogService.updateChatLog(assistantLogId, { + videoUrl: data === null || data === void 0 ? void 0 : data.videoUrl, + audioUrl: data === null || data === void 0 ? void 0 : data.audioUrl, + fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo, + answer: (data === null || data === void 0 ? void 0 : data.answer) || '音乐生成中...', + progress: data === null || data === void 0 ? void 0 : data.progress, + status: data.status, + }); + common_1.Logger.log('音乐生成中...', 'SunoService'); + } + catch (error) { + common_1.Logger.error(`更新日志失败: ${error.message}`, 'SunoService'); + } + }, + onFailure: async (data) => { + try { + await this.chatLogService.updateChatLog(assistantLogId, { + answer: '音乐生成失败', + status: data.status, + }); + common_1.Logger.log('生成失败', 'SunoService'); + } + catch (error) { + common_1.Logger.error(`更新日志失败: ${error.message}`, 'SunoService'); + } + }, + }); + } + catch (error) { + common_1.Logger.error('查询生成结果时发生错误:', error.message, 'SunoService'); + throw new Error('查询生成结果时发生错误'); + } + return result; + } + async pollSunoMusicResult(inputs) { + const { proxyUrl, apiKey, taskId, timeout, onSuccess, onAudioSuccess, onFailure, onGenerating, action, } = inputs; + let result = { + videoUrl: '', + audioUrl: '', + fileInfo: '', + drawId: '', + taskData: '', + status: 2, + progress: 0, + answer: '', + }; + const headers = { Authorization: `Bearer ${apiKey}` }; + const url = `${proxyUrl}/task/suno/v1/fetch/${taskId}`; + const startTime = Date.now(); + const POLL_INTERVAL = 5000; + let retryCount = 0; + try { + while (Date.now() - startTime < timeout) { + await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL)); + try { + const res = await axios_1.default.get(url, { headers }); + const responses = res.data.data; + if (action === 'LYRICS') { + if (responses.status === 'SUCCESS') { + result.taskId = responses.data.id; + result.taskData = JSON.stringify(responses.data); + result.answer = responses.data.text; + onSuccess(result); + return; + } + result.progress = responses === null || responses === void 0 ? void 0 : responses.progress; + result.answer = `歌词生成中`; + if (result.progress) { + onGenerating(result); + } + } + if (action === 'MUSIC') { + const data = responses.data; + if (responses.data) { + const data = responses.data; + result.taskData = JSON.stringify(data); + if (Array.isArray(data)) { + const validAudioUrls = data + .map((item) => item.audio_url) + .filter((url) => url); + const validVideoUrls = data + .map((item) => item.video_url) + .filter((url) => url); + const validImageUrls = data + .map((item) => item.image_url) + .filter((url) => url); + const titles = data.map((item) => item.title); + const firstTitle = titles.length > 0 ? titles[0] : '音乐已生成'; + const audioUrls = validAudioUrls.join(','); + const videoUrls = validVideoUrls.join(','); + const imageUrls = validImageUrls.join(','); + result.audioUrl = audioUrls; + result.videoUrl = videoUrls; + result.fileInfo = imageUrls; + if (validAudioUrls.length === 2) { + result.status = 3; + result.answer = firstTitle; + } + else { + result.status = 2; + result.progress = responses === null || responses === void 0 ? void 0 : responses.progress; + result.answer = `当前生成进度 ${responses === null || responses === void 0 ? void 0 : responses.progress}`; + } + onAudioSuccess(result); + } + } + if (responses.status === 'SUCCESS') { + common_1.Logger.debug(`音乐生成成功: ${JSON.stringify(data)}`, 'SunoService'); + onSuccess(result); + return; + } + if (result.progress && result.status === 2) { + onGenerating(result); + } + } + } + catch (error) { + retryCount++; + common_1.Logger.error(`轮询失败,重试次数: ${retryCount}`, 'SunoService'); + } + } + common_1.Logger.error('轮询超时,请稍后再试!', 'SunoService'); + result.status = 4; + onFailure(result); + throw new Error('查询超时,请稍后再试!'); + } + catch (error) { + common_1.Logger.error(`轮询过程中发生错误: ${error}`, 'SunoService'); + result.status = 5; + onFailure(result); + } + } +}; +SunoService = __decorate([ + (0, common_1.Injectable)(), + __metadata("design:paramtypes", [chatLog_service_1.ChatLogService]) +], SunoService); +exports.SunoService = SunoService; diff --git a/dist/modules/app/app.controller.js b/dist/modules/app/app.controller.js index a35e5a4..e13c3f6 100644 --- a/dist/modules/app/app.controller.js +++ b/dist/modules/app/app.controller.js @@ -13,22 +13,22 @@ var __param = (this && this.__param) || function (paramIndex, decorator) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.AppController = void 0; -const app_service_1 = require("./app.service"); -const common_1 = require("@nestjs/common"); -const swagger_1 = require("@nestjs/swagger"); -const createCats_dto_1 = require("./dto/createCats.dto"); -const updateCats_dto_1 = require("./dto/updateCats.dto"); -const deleteCats_dto_1 = require("./dto/deleteCats.dto"); -const queryCats_dto_1 = require("./dto/queryCats.dto"); -const createApp_dto_1 = require("./dto/createApp.dto"); -const updateApp_dto_1 = require("./dto/updateApp.dto"); -const deleteApp_dto_1 = require("./dto/deleteApp.dto"); -const queryApp_dto_1 = require("./dto/queryApp.dto"); -const superAuth_guard_1 = require("../../common/auth/superAuth.guard"); const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard"); const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard"); +const superAuth_guard_1 = require("../../common/auth/superAuth.guard"); +const common_1 = require("@nestjs/common"); +const swagger_1 = require("@nestjs/swagger"); +const app_service_1 = require("./app.service"); const collectApp_dto_1 = require("./dto/collectApp.dto"); +const createApp_dto_1 = require("./dto/createApp.dto"); +const createCats_dto_1 = require("./dto/createCats.dto"); const custonApp_dto_1 = require("./dto/custonApp.dto"); +const deleteApp_dto_1 = require("./dto/deleteApp.dto"); +const deleteCats_dto_1 = require("./dto/deleteCats.dto"); +const queryApp_dto_1 = require("./dto/queryApp.dto"); +const queryCats_dto_1 = require("./dto/queryCats.dto"); +const updateApp_dto_1 = require("./dto/updateApp.dto"); +const updateCats_dto_1 = require("./dto/updateCats.dto"); let AppController = class AppController { constructor(appService) { this.appService = appService; @@ -61,6 +61,9 @@ let AppController = class AppController { list(req, query) { return this.appService.frontAppList(req, query); } + async searchList(body) { + return this.appService.searchAppList(body); + } createApp(body) { return this.appService.createApp(body); } @@ -176,6 +179,14 @@ __decorate([ __metadata("design:paramtypes", [Object, queryApp_dto_1.QuerAppDto]), __metadata("design:returntype", void 0) ], AppController.prototype, "list", null); +__decorate([ + (0, common_1.Post)('searchList'), + (0, swagger_1.ApiOperation)({ summary: '客户端获取App' }), + __param(0, (0, common_1.Body)()), + __metadata("design:type", Function), + __metadata("design:paramtypes", [Object]), + __metadata("design:returntype", Promise) +], AppController.prototype, "searchList", null); __decorate([ (0, common_1.Post)('createApp'), (0, swagger_1.ApiOperation)({ summary: '添加App' }), diff --git a/dist/modules/app/app.service.js b/dist/modules/app/app.service.js index 805bb41..4e8cdb7 100644 --- a/dist/modules/app/app.service.js +++ b/dist/modules/app/app.service.js @@ -50,7 +50,9 @@ let AppService = class AppService { } async updateAppCats(body) { const { id, name } = body; - const c = await this.appCatsEntity.findOne({ where: { name, id: (0, typeorm_2.Not)(id) } }); + const c = await this.appCatsEntity.findOne({ + where: { name, id: (0, typeorm_2.Not)(id) }, + }); if (c) { throw new common_1.HttpException('该分类名称已存在!', common_1.HttpStatus.BAD_REQUEST); } @@ -65,7 +67,7 @@ let AppService = class AppService { throw new common_1.HttpException('缺失必要参数!', common_1.HttpStatus.BAD_REQUEST); } const app = await this.appEntity.findOne({ where: { id } }); - const { demoData: demo, coverImg, des, name, isFixedModel, isGPTs, appModel } = app; + const { demoData: demo, coverImg, des, name, isFixedModel, isGPTs, appModel, } = app; return { demoData: demo ? demo.split('\n') : [], coverImg, @@ -140,7 +142,12 @@ let AppService = class AppService { var _a; const { page = 1, size = 1000, name, catId, role } = query; const where = [ - { status: (0, typeorm_2.In)([1, 4]), userId: (0, typeorm_2.IsNull)(), public: false, isSystemReserved: 0 }, + { + status: (0, typeorm_2.In)([1, 4]), + userId: (0, typeorm_2.IsNull)(), + public: false, + isSystemReserved: 0, + }, { userId: (0, typeorm_2.MoreThan)(0), public: true }, ]; const [rows, count] = await this.appEntity.findAndCount({ @@ -162,6 +169,42 @@ let AppService = class AppService { } return { rows, count }; } + async searchAppList(body) { + console.log('搜索App列表', body); + const { page = 1, size = 1000, keyword } = body; + console.log(`搜索关键词:${keyword}`); + let baseWhere = [ + { + status: (0, typeorm_2.In)([1, 4]), + userId: (0, typeorm_2.IsNull)(), + public: false, + isSystemReserved: 0, + }, + { userId: (0, typeorm_2.MoreThan)(0), public: true }, + ]; + console.log('初始查询条件:', JSON.stringify(baseWhere)); + if (keyword) { + baseWhere = baseWhere.map((condition) => (Object.assign(Object.assign({}, condition), { name: (0, typeorm_2.Like)(`%${keyword}%`) }))); + console.log('更新后的查询条件:', JSON.stringify(baseWhere)); + } + try { + const [rows, count] = await this.appEntity.findAndCount({ + where: baseWhere, + skip: (page - 1) * size, + take: size, + }); + console.log(`查询返回 ${count} 条结果,显示第 ${page} 页的结果。`); + rows.forEach((item) => { + delete item.preset; + }); + console.log('完成查询,准备返回结果'); + return { rows, count }; + } + catch (error) { + console.error('查询数据库时出错:', error); + throw new Error('Database query failed'); + } + } async createApp(body) { const { name, catId } = body; body.role = 'system'; @@ -177,13 +220,24 @@ let AppService = class AppService { } async customApp(body, req) { const { id } = req.user; - const { name, catId, des, preset, coverImg, demoData, public: isPublic, appId } = body; + const { name, catId, des, preset, coverImg, demoData, public: isPublic, appId, } = body; if (appId) { - const a = await this.appEntity.findOne({ where: { id: appId, userId: id } }); + const a = await this.appEntity.findOne({ + where: { id: appId, userId: id }, + }); if (!a) { throw new common_1.HttpException('您正在编辑一个不存在的应用!', common_1.HttpStatus.BAD_REQUEST); } - const data = { name, catId, des, preset, coverImg, demoData, public: isPublic, status: isPublic ? 3 : 1 }; + const data = { + name, + catId, + des, + preset, + coverImg, + demoData, + public: isPublic, + status: isPublic ? 3 : 1, + }; const res = await this.appEntity.update({ id: appId, userId: id }, data); if (res.affected) { return '修改成功'; @@ -201,9 +255,27 @@ let AppService = class AppService { if (a) { throw new common_1.HttpException('该应用名称已存在!', common_1.HttpStatus.BAD_REQUEST); } - const data = { name, catId, des, preset, coverImg, status: isPublic ? 3 : 1, demoData, public: isPublic, role: 'user', userId: id }; + const data = { + name, + catId, + des, + preset, + coverImg, + status: isPublic ? 3 : 1, + demoData, + public: isPublic, + role: 'user', + userId: id, + }; const res = await this.appEntity.save(data); - const params = { appId: res.id, userId: id, appType: 'user', public: isPublic, status: isPublic ? 3 : 1, catId }; + const params = { + appId: res.id, + userId: id, + appType: 'user', + public: isPublic, + status: isPublic ? 3 : 1, + catId, + }; return this.userAppsEntity.save(params); } } @@ -229,7 +301,9 @@ let AppService = class AppService { async updateSystemApp(body) { const { id, name } = body; common_1.Logger.log(`尝试更新应用: ${name} (ID: ${id})`); - const existingApp = await this.appEntity.findOne({ where: { name, id: (0, typeorm_2.Not)(id) } }); + const existingApp = await this.appEntity.findOne({ + where: { name, id: (0, typeorm_2.Not)(id) }, + }); if (existingApp) { common_1.Logger.warn(`应用名称已存在:${name}`); throw new common_1.HttpException('该应用名称已存在!', common_1.HttpStatus.BAD_REQUEST); @@ -249,9 +323,6 @@ let AppService = class AppService { throw new common_1.HttpException('该应用不存在!', common_1.HttpStatus.BAD_REQUEST); } const useApp = await this.userAppsEntity.count({ where: { appId: id } }); - if (useApp > 0) { - throw new common_1.HttpException('该应用已被用户关联使用中,不可删除!', common_1.HttpStatus.BAD_REQUEST); - } const res = await this.appEntity.delete(id); if (res.affected > 0) return '删除App成功'; @@ -279,7 +350,9 @@ let AppService = class AppService { } async delMineApp(body, req) { const { id } = body; - const a = await this.appEntity.findOne({ where: { id, userId: req.user.id } }); + const a = await this.appEntity.findOne({ + where: { id, userId: req.user.id }, + }); if (!a) { throw new common_1.HttpException('您正在操作一个不存在的资源!', common_1.HttpStatus.BAD_REQUEST); } @@ -290,7 +363,9 @@ let AppService = class AppService { async collect(body, req) { const { appId } = body; const { id: userId } = req.user; - const historyApp = await this.userAppsEntity.findOne({ where: { appId, userId } }); + const historyApp = await this.userAppsEntity.findOne({ + where: { appId, userId }, + }); if (historyApp) { const r = await this.userAppsEntity.delete({ appId, userId }); if (r.affected > 0) { @@ -302,7 +377,14 @@ let AppService = class AppService { } const app = await this.appEntity.findOne({ where: { id: appId } }); const { id, role: appRole, catId } = app; - const collectInfo = { userId, appId: id, catId, appRole, public: true, status: 1 }; + const collectInfo = { + userId, + appId: id, + catId, + appRole, + public: true, + status: 1, + }; await this.userAppsEntity.save(collectInfo); return '已将应用加入到我的收藏!'; } diff --git a/dist/modules/app/appCats.entity.js b/dist/modules/app/appCats.entity.js index d1fc15e..8a5d0bc 100644 --- a/dist/modules/app/appCats.entity.js +++ b/dist/modules/app/appCats.entity.js @@ -10,22 +10,14 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.AppCatsEntity = void 0; -const typeorm_1 = require("typeorm"); const baseEntity_1 = require("../../common/entity/baseEntity"); +const typeorm_1 = require("typeorm"); let AppCatsEntity = class AppCatsEntity extends baseEntity_1.BaseEntity { }; __decorate([ (0, typeorm_1.Column)({ unique: true, comment: 'App分类名称' }), __metadata("design:type", String) ], AppCatsEntity.prototype, "name", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: 'App分类描述信息' }), - __metadata("design:type", String) -], AppCatsEntity.prototype, "des", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: 'App分类封面图片', nullable: true }), - __metadata("design:type", String) -], AppCatsEntity.prototype, "coverImg", void 0); __decorate([ (0, typeorm_1.Column)({ comment: 'App分类排序、数字越大越靠前', default: 100 }), __metadata("design:type", Number) diff --git a/dist/modules/app/dto/createCats.dto.js b/dist/modules/app/dto/createCats.dto.js index bbcb185..0f97568 100644 --- a/dist/modules/app/dto/createCats.dto.js +++ b/dist/modules/app/dto/createCats.dto.js @@ -10,37 +10,35 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.CreateCatsDto = void 0; -const class_validator_1 = require("class-validator"); const swagger_1 = require("@nestjs/swagger"); +const class_validator_1 = require("class-validator"); class CreateCatsDto { } __decorate([ - (0, swagger_1.ApiProperty)({ example: '编程助手', description: 'app分类名称', required: true }), + (0, swagger_1.ApiProperty)({ + example: '编程助手', + description: 'app分类名称', + required: true, + }), (0, class_validator_1.IsDefined)({ message: 'app分类名称是必传参数' }), __metadata("design:type", String) ], CreateCatsDto.prototype, "name", void 0); __decorate([ (0, swagger_1.ApiProperty)({ - example: '适用于编程编码、期望成为您的编程助手', - description: 'app分类名称详情描述', + example: 100, + description: '分类排序、数字越大越靠前', required: false, }), - (0, class_validator_1.IsDefined)({ message: 'app分类名称描述是必传参数' }), - __metadata("design:type", String) -], CreateCatsDto.prototype, "des", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 'https://xxxx.png', description: '套餐封面图片' }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) -], CreateCatsDto.prototype, "coverImg", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 100, description: '套餐排序、数字越大越靠前', required: false }), (0, class_validator_1.IsOptional)(), __metadata("design:type", Number) ], CreateCatsDto.prototype, "order", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: '套餐状态 0:禁用 1:启用', required: true }), - (0, class_validator_1.IsNumber)({}, { message: '套餐状态必须是Number' }), + (0, swagger_1.ApiProperty)({ + example: 1, + description: '分类状态 0:禁用 1:启用', + required: true, + }), + (0, class_validator_1.IsNumber)({}, { message: '状态必须是Number' }), (0, class_validator_1.IsIn)([0, 1, 3, 4, 5], { message: '套餐状态错误' }), __metadata("design:type", Number) ], CreateCatsDto.prototype, "status", void 0); diff --git a/dist/modules/app/dto/queryApp.dto.js b/dist/modules/app/dto/queryApp.dto.js index 58b5282..910da1e 100644 --- a/dist/modules/app/dto/queryApp.dto.js +++ b/dist/modules/app/dto/queryApp.dto.js @@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.QuerAppDto = void 0; -const class_validator_1 = require("class-validator"); const swagger_1 = require("@nestjs/swagger"); +const class_validator_1 = require("class-validator"); class QuerAppDto { } __decorate([ @@ -44,4 +44,9 @@ __decorate([ (0, class_validator_1.IsOptional)(), __metadata("design:type", String) ], QuerAppDto.prototype, "role", void 0); +__decorate([ + (0, swagger_1.ApiProperty)({ example: '关键词', description: '搜索关键词', required: false }), + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], QuerAppDto.prototype, "keyword", void 0); exports.QuerAppDto = QuerAppDto; diff --git a/dist/modules/auth/auth.controller.js b/dist/modules/auth/auth.controller.js index 65cee90..edf6906 100644 --- a/dist/modules/auth/auth.controller.js +++ b/dist/modules/auth/auth.controller.js @@ -18,6 +18,7 @@ const common_1 = require("@nestjs/common"); const swagger_1 = require("@nestjs/swagger"); const auth_service_1 = require("./auth.service"); const authLogin_dto_1 = require("./dto/authLogin.dto"); +const authRegister_dto_1 = require("./dto/authRegister.dto"); const updatePassByOther_dto_1 = require("./dto/updatePassByOther.dto"); const updatePassword_dto_1 = require("./dto/updatePassword.dto"); let AuthController = class AuthController { @@ -30,6 +31,9 @@ let AuthController = class AuthController { async login(body, req) { return this.authService.login(body, req); } + async loginWithCaptcha(body, req) { + return this.authService.loginWithCaptcha(body, req); + } async updatePassword(req, body) { return this.authService.updatePassword(req, body); } @@ -52,7 +56,7 @@ __decorate([ __param(0, (0, common_1.Body)()), __param(1, (0, common_1.Req)()), __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), + __metadata("design:paramtypes", [authRegister_dto_1.UserRegisterDto, Object]), __metadata("design:returntype", Promise) ], AuthController.prototype, "register", null); __decorate([ @@ -64,6 +68,15 @@ __decorate([ __metadata("design:paramtypes", [authLogin_dto_1.UserLoginDto, Object]), __metadata("design:returntype", Promise) ], AuthController.prototype, "login", null); +__decorate([ + (0, common_1.Post)('loginWithCaptcha'), + (0, swagger_1.ApiOperation)({ summary: '用户使用验证码登录' }), + __param(0, (0, common_1.Body)()), + __param(1, (0, common_1.Req)()), + __metadata("design:type", Function), + __metadata("design:paramtypes", [Object, Object]), + __metadata("design:returntype", Promise) +], AuthController.prototype, "loginWithCaptcha", null); __decorate([ (0, common_1.Post)('updatePassword'), (0, swagger_1.ApiOperation)({ summary: '用户更改密码' }), diff --git a/dist/modules/auth/auth.module.js b/dist/modules/auth/auth.module.js index a634a62..942303c 100644 --- a/dist/modules/auth/auth.module.js +++ b/dist/modules/auth/auth.module.js @@ -13,8 +13,6 @@ const common_1 = require("@nestjs/common"); const jwt_1 = require("@nestjs/jwt"); const passport_1 = require("@nestjs/passport"); const typeorm_1 = require("@nestjs/typeorm"); -const nestjs_config_1 = require("nestjs-config"); -const whiteList_entity_1 = require("../chat/whiteList.entity"); const chatGroup_entity_1 = require("../chatGroup/chatGroup.entity"); const chatLog_entity_1 = require("../chatLog/chatLog.entity"); const cramiPackage_entity_1 = require("../crami/cramiPackage.entity"); @@ -42,10 +40,14 @@ AuthModule = __decorate([ (0, common_1.Module)({ imports: [ user_module_1.UserModule, + redisCache_module_1.RedisCacheModule, passport_1.PassportModule.register({ defaultStrategy: 'jwt' }), jwt_1.JwtModule.registerAsync({ - useFactory: async (configService) => configService.get('jwt'), - inject: [nestjs_config_1.ConfigService], + inject: [redisCache_service_1.RedisCacheService], + useFactory: async (redisService) => ({ + secret: await redisService.getJwtSecret(), + signOptions: { expiresIn: '7d' }, + }), }), typeorm_1.TypeOrmModule.forFeature([ verifycation_entity_1.VerifycationEntity, @@ -53,19 +55,25 @@ AuthModule = __decorate([ accountLog_entity_1.AccountLogEntity, config_entity_1.ConfigEntity, cramiPackage_entity_1.CramiPackageEntity, - redisCache_module_1.RedisCacheModule, userBalance_entity_1.UserBalanceEntity, salesUsers_entity_1.SalesUsersEntity, user_entity_1.UserEntity, - whiteList_entity_1.WhiteListEntity, fingerprint_entity_1.FingerprintLogEntity, chatLog_entity_1.ChatLogEntity, chatGroup_entity_1.ChatGroupEntity, - midjourney_entity_1.MidjourneyEntity + midjourney_entity_1.MidjourneyEntity, ]), ], controllers: [auth_controller_1.AuthController], - providers: [auth_service_1.AuthService, jwt_strategy_1.JwtStrategy, jwtAuth_guard_1.JwtAuthGuard, mailer_service_1.MailerService, verification_service_1.VerificationService, userBalance_service_1.UserBalanceService, redisCache_service_1.RedisCacheService], + providers: [ + auth_service_1.AuthService, + jwt_strategy_1.JwtStrategy, + jwtAuth_guard_1.JwtAuthGuard, + mailer_service_1.MailerService, + verification_service_1.VerificationService, + userBalance_service_1.UserBalanceService, + redisCache_service_1.RedisCacheService, + ], exports: [auth_service_1.AuthService], }) ], AuthModule); diff --git a/dist/modules/auth/auth.service.js b/dist/modules/auth/auth.service.js index 79f25e2..f9b418c 100644 --- a/dist/modules/auth/auth.service.js +++ b/dist/modules/auth/auth.service.js @@ -44,57 +44,109 @@ let AuthService = class AuthService { this.getIp(); } async register(body, req) { - const { username, password, contact, code, invitedBy } = body; + await this.verificationService.verifyCaptcha(body); + const { password, contact, code, invitedBy } = body; let email = '', phone = ''; const isEmail = /\S+@\S+\.\S+/.test(contact); const isPhone = /^\d{10,}$/.test(contact); + common_1.Logger.debug(`Contact: ${contact}, isEmail: ${isEmail}, isPhone: ${isPhone}`); + let username = (0, utils_1.createRandomUid)(); + while (true) { + const usernameTaken = await this.userService.verifyUserRegister({ + username, + }); + common_1.Logger.debug(`Checking if username ${username} is taken: ${usernameTaken}`); + if (usernameTaken) { + break; + } + username = (0, utils_1.createRandomUid)(); + } if (isEmail) { email = contact; - await this.userService.verifyUserRegister({ username, email }); + const isAvailable = await this.userService.verifyUserRegister({ + username, + email, + }); + common_1.Logger.debug(`Email ${email} is available: ${isAvailable}`); + if (!isAvailable) { + throw new common_1.HttpException('当前邮箱已注册,请勿重复注册!', common_1.HttpStatus.BAD_REQUEST); + } } else if (isPhone) { phone = contact; - await this.userService.verifyUserRegister({ username, phone }); + const isAvailable = await this.userService.verifyUserRegister({ + username, + phone, + }); + common_1.Logger.debug(`Phone ${phone} is available: ${isAvailable}`); + if (!isAvailable) { + throw new common_1.HttpException('当前手机号已注册,请勿重复注册!', common_1.HttpStatus.BAD_REQUEST); + } } else { throw new common_1.HttpException('请提供有效的邮箱地址或手机号码。', common_1.HttpStatus.BAD_REQUEST); } - const nameSpace = await this.globalConfigService.getNamespace(); - const key = `${nameSpace}:CODE:${contact}`; - const redisCode = await this.redisCacheService.get({ key }); - if (!redisCode) { - common_1.Logger.log(`验证码过期: ${contact}`); - throw new common_1.HttpException('验证码已过期,请重新发送!', common_1.HttpStatus.BAD_REQUEST); + const noVerifyRegister = await this.globalConfigService.getConfigs([ + 'noVerifyRegister', + ]); + common_1.Logger.debug(`noVerifyRegister: ${noVerifyRegister}`); + if (noVerifyRegister !== '1') { + const nameSpace = await this.globalConfigService.getNamespace(); + const key = `${nameSpace}:CODE:${contact}`; + const redisCode = await this.redisCacheService.get({ key }); + common_1.Logger.debug(`Retrieved redisCode for ${contact}: ${redisCode}`); + if (code === '') { + throw new common_1.HttpException('请输入验证码', common_1.HttpStatus.BAD_REQUEST); + } + if (!redisCode) { + common_1.Logger.log(`验证码过期: ${contact}`); + throw new common_1.HttpException('验证码已过期,请重新发送!', common_1.HttpStatus.BAD_REQUEST); + } + if (code !== redisCode) { + common_1.Logger.log(`验证码错误: ${contact} 输入的验证码: ${code}, 期望的验证码: ${redisCode}`); + throw new common_1.HttpException('验证码填写错误,请重新输入!', common_1.HttpStatus.BAD_REQUEST); + } } - if (code !== redisCode) { - common_1.Logger.log(`验证码错误: ${contact} 输入的验证码: ${code}, 期望的验证码: ${redisCode}`); - throw new common_1.HttpException('验证码填写错误,请重新输入!', common_1.HttpStatus.BAD_REQUEST); - } - console.log('开始创建用户...'); let newUser; if (isEmail) { - newUser = { username, password, email: contact, invitedBy, status: user_constant_1.UserStatusEnum.ACTIVE }; + newUser = { + username, + password, + email: contact, + invitedBy, + status: user_constant_1.UserStatusEnum.ACTIVE, + }; } else { const email = `${(0, utils_1.createRandomUid)()}@aiweb.com`; - newUser = { username, password, email, phone: contact, invitedBy, status: user_constant_1.UserStatusEnum.ACTIVE }; + newUser = { + username, + password, + email, + phone: contact, + invitedBy, + status: user_constant_1.UserStatusEnum.ACTIVE, + }; } - ; - console.log('获取默认用户头像...'); - const userDefautlAvatar = await this.globalConfigService.getConfigs(['userDefautlAvatar']); - console.log(`使用默认用户头像: ${userDefautlAvatar}`); + common_1.Logger.debug('获取默认用户头像...'); + const userDefautlAvatar = await this.globalConfigService.getConfigs([ + 'userDefautlAvatar', + ]); + common_1.Logger.debug(`使用默认用户头像: ${userDefautlAvatar}`); newUser.avatar = userDefautlAvatar; - console.log('加密用户密码...'); + common_1.Logger.debug('加密用户密码...'); const hashedPassword = bcrypt.hashSync(password, 10); newUser.password = hashedPassword; - console.log('保存新用户到数据库...'); + common_1.Logger.debug('保存新用户到数据库...'); const u = await this.userService.createUser(newUser); - console.log(`用户创建成功,用户ID: ${u.id}`); + common_1.Logger.debug(`用户创建成功,用户ID: ${u.id}`); let inviteUser; if (invitedBy) { inviteUser = await this.userService.qureyUserInfoByInviteCode(invitedBy); + common_1.Logger.debug(`邀请人信息: ${inviteUser}`); } await this.userBalanceService.addBalanceToNewUser(u.id, inviteUser === null || inviteUser === void 0 ? void 0 : inviteUser.id); + common_1.Logger.debug('完成新用户余额处理'); return { success: true, message: '注册成功' }; } async login(user, req) { @@ -109,7 +161,73 @@ let AuthService = class AuthService { const ip = (0, utils_1.getClientIp)(req); await this.userService.savaLoginIp(id, ip); console.log(`保存登录IP: ${ip} - 用户ID: ${id}`); - const token = await this.jwtService.sign({ username, id, email, role, openId, client, phone }); + const token = await this.jwtService.sign({ + username, + id, + email, + role, + openId, + client, + phone, + }); + console.log(`JWT令牌生成成功 - 用户ID: ${id}`); + await this.redisCacheService.saveToken(id, token); + console.log(`令牌已保存到Redis - 用户ID: ${id}`); + return token; + } + async loginWithCaptcha(body, req) { + const { contact, code } = body; + let email = '', phone = ''; + const isEmail = /\S+@\S+\.\S+/.test(contact); + const isPhone = /^\d{10,}$/.test(contact); + if (isEmail) { + email = contact; + } + else if (isPhone) { + phone = contact; + } + else { + throw new common_1.HttpException('请提供有效的邮箱地址或手机号码。', common_1.HttpStatus.BAD_REQUEST); + } + const isAvailable = await this.userService.verifyUserRegister({ + email, + phone, + }); + const nameSpace = await this.globalConfigService.getNamespace(); + const key = `${nameSpace}:CODE:${contact}`; + const redisCode = await this.redisCacheService.get({ key }); + if (!redisCode) { + common_1.Logger.log(`验证码过期: ${contact}`); + throw new common_1.HttpException('验证码已过期,请重新发送!', common_1.HttpStatus.BAD_REQUEST); + } + if (code !== redisCode) { + common_1.Logger.log(`验证码错误: ${contact} 输入的验证码: ${code}, 期望的验证码: ${redisCode}`); + throw new common_1.HttpException('验证码填写错误,请重新输入!', common_1.HttpStatus.BAD_REQUEST); + } + let u; + if (isAvailable) { + u = await this.userService.createUserFromContact({ email, phone }); + } + else { + u = await this.userService.getUserByContact({ email, phone }); + } + if (!u) { + throw new common_1.HttpException('登录失败,用户凭证无效。', common_1.HttpStatus.UNAUTHORIZED); + } + const { username, id, role, openId, client } = u; + console.log(`用户凭证验证成功,用户ID: ${id}, 用户名: ${username}`); + const ip = (0, utils_1.getClientIp)(req); + await this.userService.savaLoginIp(id, ip); + console.log(`保存登录IP: ${ip} - 用户ID: ${id}`); + const token = await this.jwtService.sign({ + username, + id, + email, + role, + openId, + client, + phone, + }); console.log(`JWT令牌生成成功 - 用户ID: ${id}`); await this.redisCacheService.saveToken(id, token); console.log(`令牌已保存到Redis - 用户ID: ${id}`); @@ -123,7 +241,14 @@ let AuthService = class AuthService { const { username, id, email, role, openId, client } = user; const ip = (0, utils_1.getClientIp)(req); await this.userService.savaLoginIp(id, ip); - const token = await this.jwtService.sign({ username, id, email, role, openId, client }); + const token = await this.jwtService.sign({ + username, + id, + email, + role, + openId, + client, + }); await this.redisCacheService.saveToken(id, token); return token; } @@ -139,10 +264,6 @@ let AuthService = class AuthService { if (role === 'admin') { throw new common_1.HttpException('非法操作、请联系管理员!', common_1.HttpStatus.BAD_REQUEST); } - const bool = await this.userService.verifyUserPassword(id, body.oldPassword); - if (!bool) { - throw new common_1.HttpException('旧密码错误、请检查提交', common_1.HttpStatus.BAD_REQUEST); - } this.userService.updateUserPassword(id, body.password); return '密码修改成功'; } @@ -161,7 +282,9 @@ let AuthService = class AuthService { const interfaceInfo = interfaces[interfaceName]; for (let i = 0; i < interfaceInfo.length; i++) { const alias = interfaceInfo[i]; - if (alias.family === 'IPv4' && alias.address !== '127.0.0.1' && !alias.internal) { + if (alias.family === 'IPv4' && + alias.address !== '127.0.0.1' && + !alias.internal) { ipAddress = alias.address; break; } @@ -172,34 +295,54 @@ let AuthService = class AuthService { async captcha(parmas) { const nameSpace = await this.globalConfigService.getNamespace(); const { color = '#fff' } = parmas; - const captcha = svgCaptcha.createMathExpr({ background: color, height: 30, width: 120, noise: 5 }); + const captcha = svgCaptcha.create({ + size: 5, + ignoreChars: '0o1i', + noise: 4, + color: true, + background: color, + height: 33, + width: 150, + }); const text = captcha.text; - const randomId = (0, utils_1.createRandomUid)(); + const randomId = Math.random().toString(36).substr(2, 9); const key = `${nameSpace}:CAPTCHA:${randomId}`; - await this.redisCacheService.set({ key, val: captcha.text }, 5 * 60); + await this.redisCacheService.set({ key, val: text }, 5 * 60); return { svgCode: captcha.data, code: randomId, }; } async sendCode(body) { - await this.verificationService.verifyCaptcha(body); - const { contact, username } = body; + const { contact, isLogin } = body; let email = '', phone = ''; const code = (0, utils_1.createRandomCode)(); const isEmail = /\S+@\S+\.\S+/.test(contact); const isPhone = /^\d{10,}$/.test(contact); - if (isEmail) { - email = contact; - await this.userService.verifyUserRegister({ username, email }); - } - else if (isPhone) { - phone = contact; - await this.userService.verifyUserRegister({ username, phone }); - } - else { + if (!isEmail && !isPhone) { throw new common_1.HttpException('请提供有效的邮箱地址或手机号码。', common_1.HttpStatus.BAD_REQUEST); } + if (!isLogin) { + await this.verificationService.verifyCaptcha(body); + if (isEmail) { + email = contact; + const isAvailable = await this.userService.verifyUserRegister({ + email, + }); + if (!isAvailable) { + throw new common_1.HttpException('当前邮箱已注册,请勿重复注册!', common_1.HttpStatus.BAD_REQUEST); + } + } + else if (isPhone) { + phone = contact; + const isAvailable = await this.userService.verifyUserRegister({ + phone, + }); + if (!isAvailable) { + throw new common_1.HttpException('当前手机号已注册,请勿重复注册!', common_1.HttpStatus.BAD_REQUEST); + } + } + } const nameSpace = await this.globalConfigService.getNamespace(); const key = `${nameSpace}:CODE:${contact}`; const ttl = await this.redisCacheService.ttl(key); diff --git a/dist/modules/auth/dto/authLogin.dto.js b/dist/modules/auth/dto/authLogin.dto.js index a949491..19686ad 100644 --- a/dist/modules/auth/dto/authLogin.dto.js +++ b/dist/modules/auth/dto/authLogin.dto.js @@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserLoginDto = void 0; -const class_validator_1 = require("class-validator"); const swagger_1 = require("@nestjs/swagger"); +const class_validator_1 = require("class-validator"); class UserLoginDto { } __decorate([ diff --git a/dist/modules/auth/dto/authRegister.dto.js b/dist/modules/auth/dto/authRegister.dto.js index 41df990..de6b859 100644 --- a/dist/modules/auth/dto/authRegister.dto.js +++ b/dist/modules/auth/dto/authRegister.dto.js @@ -10,15 +10,12 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserRegisterDto = void 0; -const class_validator_1 = require("class-validator"); const swagger_1 = require("@nestjs/swagger"); +const class_validator_1 = require("class-validator"); class UserRegisterDto { } __decorate([ (0, swagger_1.ApiProperty)({ example: 'cooper', description: '用户名称' }), - (0, class_validator_1.IsNotEmpty)({ message: '用户名不能为空!' }), - (0, class_validator_1.MinLength)(2, { message: '用户名最低需要大于2位数!' }), - (0, class_validator_1.MaxLength)(12, { message: '用户名不得超过12位!' }), __metadata("design:type", String) ], UserRegisterDto.prototype, "username", void 0); __decorate([ @@ -29,9 +26,7 @@ __decorate([ __metadata("design:type", String) ], UserRegisterDto.prototype, "password", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: 'J_longyan@163.com', description: '用户邮箱' }), - (0, class_validator_1.IsEmail)({}, { message: '请填写正确格式的邮箱!' }), - (0, class_validator_1.IsNotEmpty)({ message: '邮箱不能为空!' }), + (0, swagger_1.ApiProperty)({ example: 'ai@aiweb.com', description: '用户邮箱' }), __metadata("design:type", String) ], UserRegisterDto.prototype, "email", void 0); __decorate([ @@ -45,7 +40,11 @@ __decorate([ __metadata("design:type", String) ], UserRegisterDto.prototype, "captchaId", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: 'FRJDLJHFNV', description: '用户填写的别人邀请码', required: false }), + (0, swagger_1.ApiProperty)({ + example: 'FRJDLJHFNV', + description: '用户填写的别人邀请码', + required: false, + }), (0, class_validator_1.IsOptional)(), __metadata("design:type", String) ], UserRegisterDto.prototype, "invitedBy", void 0); @@ -59,7 +58,11 @@ __decorate([ __metadata("design:type", String) ], UserRegisterDto.prototype, "avatar", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: 'default', description: '用户注册来源', required: false }), + (0, swagger_1.ApiProperty)({ + example: 'default', + description: '用户注册来源', + required: false, + }), (0, class_validator_1.IsOptional)(), __metadata("design:type", String) ], UserRegisterDto.prototype, "client", void 0); diff --git a/dist/modules/auth/dto/updatePassword.dto.js b/dist/modules/auth/dto/updatePassword.dto.js index 6763859..b5a8f77 100644 --- a/dist/modules/auth/dto/updatePassword.dto.js +++ b/dist/modules/auth/dto/updatePassword.dto.js @@ -10,17 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdatePasswordDto = void 0; -const class_validator_1 = require("class-validator"); const swagger_1 = require("@nestjs/swagger"); +const class_validator_1 = require("class-validator"); class UpdatePasswordDto { } -__decorate([ - (0, swagger_1.ApiProperty)({ example: '123456', description: '用户旧密码' }), - (0, class_validator_1.IsNotEmpty)({ message: '用户密码不能为空!' }), - (0, class_validator_1.MinLength)(6, { message: '用户密码最低需要大于6位数!' }), - (0, class_validator_1.MaxLength)(30, { message: '用户密码最长不能超过30位数!' }), - __metadata("design:type", String) -], UpdatePasswordDto.prototype, "oldPassword", void 0); __decorate([ (0, swagger_1.ApiProperty)({ example: '666666', description: '用户更新新密码' }), (0, class_validator_1.IsNotEmpty)({ message: '用户密码不能为空!' }), diff --git a/dist/modules/autoreply/autoreply.service.js b/dist/modules/autoreply/autoreply.service.js index b16df2a..247dfc5 100644 --- a/dist/modules/autoreply/autoreply.service.js +++ b/dist/modules/autoreply/autoreply.service.js @@ -14,9 +14,9 @@ var __param = (this && this.__param) || function (paramIndex, decorator) { Object.defineProperty(exports, "__esModule", { value: true }); exports.AutoreplyService = void 0; const common_1 = require("@nestjs/common"); +const typeorm_1 = require("@nestjs/typeorm"); +const typeorm_2 = require("typeorm"); const autoreplay_entity_1 = require("./autoreplay.entity"); -const typeorm_1 = require("typeorm"); -const typeorm_2 = require("@nestjs/typeorm"); let AutoreplyService = class AutoreplyService { constructor(autoReplyEntity) { this.autoReplyEntity = autoReplyEntity; @@ -44,7 +44,7 @@ let AutoreplyService = class AutoreplyService { const { page = 1, size = 10, prompt, status } = query; const where = {}; [0, 1, '0', '1'].includes(status) && (where.status = status); - prompt && (where.prompt = (0, typeorm_1.Like)(`%${prompt}%`)); + prompt && (where.prompt = (0, typeorm_2.Like)(`%${prompt}%`)); const [rows, count] = await this.autoReplyEntity.findAndCount({ where, skip: (page - 1) * size, @@ -88,7 +88,7 @@ let AutoreplyService = class AutoreplyService { }; AutoreplyService = __decorate([ (0, common_1.Injectable)(), - __param(0, (0, typeorm_2.InjectRepository)(autoreplay_entity_1.AutoReplyEntity)), - __metadata("design:paramtypes", [typeorm_1.Repository]) + __param(0, (0, typeorm_1.InjectRepository)(autoreplay_entity_1.AutoReplyEntity)), + __metadata("design:paramtypes", [typeorm_2.Repository]) ], AutoreplyService); exports.AutoreplyService = AutoreplyService; diff --git a/dist/modules/autoreply/dto/addAutoReply.dto.js b/dist/modules/autoreply/dto/addAutoReply.dto.js index 7b5fa92..173c815 100644 --- a/dist/modules/autoreply/dto/addAutoReply.dto.js +++ b/dist/modules/autoreply/dto/addAutoReply.dto.js @@ -18,7 +18,11 @@ __decorate([ __metadata("design:type", String) ], AddAutoReplyDto.prototype, "prompt", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: '我是NineAi提供的Ai服务机器人', description: '回答的答案', required: true }), + (0, swagger_1.ApiProperty)({ + example: '我是AIWeb提供的Ai服务机器人', + description: '回答的答案', + required: true, + }), __metadata("design:type", String) ], AddAutoReplyDto.prototype, "answer", void 0); exports.AddAutoReplyDto = AddAutoReplyDto; diff --git a/dist/modules/badwords/badwords.service.js b/dist/modules/badwords/badwords.service.js index 547528e..1a5bf9e 100644 --- a/dist/modules/badwords/badwords.service.js +++ b/dist/modules/badwords/badwords.service.js @@ -13,15 +13,15 @@ var __param = (this && this.__param) || function (paramIndex, decorator) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.BadwordsService = void 0; -const globalConfig_service_1 = require("./../globalConfig/globalConfig.service"); -const common_1 = require("@nestjs/common"); -const badwords_entity_1 = require("./badwords.entity"); -const typeorm_1 = require("typeorm"); -const typeorm_2 = require("@nestjs/typeorm"); -const axios_1 = require("axios"); -const violationLog_entity_1 = require("./violationLog.entity"); -const user_entity_1 = require("../user/user.entity"); const utils_1 = require("../../common/utils"); +const common_1 = require("@nestjs/common"); +const typeorm_1 = require("@nestjs/typeorm"); +const axios_1 = require("axios"); +const typeorm_2 = require("typeorm"); +const user_entity_1 = require("../user/user.entity"); +const globalConfig_service_1 = require("./../globalConfig/globalConfig.service"); +const badwords_entity_1 = require("./badwords.entity"); +const violationLog_entity_1 = require("./violationLog.entity"); let BadwordsService = class BadwordsService { constructor(badWordsEntity, violationLogEntity, userEntity, globalConfigService) { this.badWordsEntity = badWordsEntity; @@ -56,8 +56,8 @@ let BadwordsService = class BadwordsService { } async checkBadWordsByConfig(content, config, userId) { const { useType } = config; - useType === 'baidu' && (await this.baiduCheckBadWords(content, config.baiduTextAccessToken, userId)); - useType === 'nineai' && (await this.nineaiCheckBadWords(content, config, userId)); + useType === 'baidu' && + (await this.baiduCheckBadWords(content, config.baiduTextAccessToken, userId)); } extractContent(str) { const pattern = /存在(.*?)不合规/; @@ -78,46 +78,31 @@ let BadwordsService = class BadwordsService { console.log('百度文本检测出现错误、请查看配置信息: ', error_msg); } if (conclusionType !== 1) { - const types = [...new Set(data.map((item) => this.extractContent(item.msg)))]; + const types = [ + ...new Set(data.map((item) => this.extractContent(item.msg))), + ]; await this.recordUserBadWords(userId, content, ['***'], types, '百度云检测'); const tips = `您提交的信息中包含${types.join(',')}的内容、我们已对您的账户进行标记、请合规使用!`; throw new common_1.HttpException(tips, common_1.HttpStatus.BAD_REQUEST); } } - async nineaiCheckBadWords(content, config, userId) { - var _a; - const { nineaiBuiltInSensitiveApiBase, nineaiBuiltInSensitiveAuthKey } = config; - if (!nineaiBuiltInSensitiveApiBase || !nineaiBuiltInSensitiveAuthKey) - return; - const res = await axios_1.default.post(nineaiBuiltInSensitiveApiBase, { content }, { headers: { 'Content-Type': 'application/json', Authorization: nineaiBuiltInSensitiveAuthKey } }); - if (!res.data) - return; - if (res.data.code !== '0') { - const { msg = '检测失败' } = res.data; - throw new common_1.HttpException(`敏感词检测 | ${msg}`, common_1.HttpStatus.BAD_REQUEST); - } - if (res.data.word_list && ((_a = res.data.word_list) === null || _a === void 0 ? void 0 : _a.length)) { - const words = [...new Set(res.data.word_list.map((t) => t.keyword))]; - const types = [...new Set(res.data.word_list.map((t) => t.category))]; - await this.recordUserBadWords(userId, content, words, types, 'NineAi检测'); - const tips = this.formarTips(res.data.word_list); - throw new common_1.HttpException(tips, common_1.HttpStatus.BAD_REQUEST); - } - } formarTips(wordList) { const categorys = wordList.map((t) => t.category); const unSet = [...new Set(categorys)]; return `您提交的内容中包含${unSet.join(',')}的信息、我们已对您账号进行标记、请合规使用!`; } async loadBadWords() { - const data = await this.badWordsEntity.find({ where: { status: 1 }, select: ['word'] }); + const data = await this.badWordsEntity.find({ + where: { status: 1 }, + select: ['word'], + }); this.badWords = data.map((t) => t.word); } async queryBadWords(query) { const { page = 1, size = 500, word, status } = query; const where = {}; [0, 1, '0', '1'].includes(status) && (where.status = status); - word && (where.word = (0, typeorm_1.Like)(`%${word}%`)); + word && (where.word = (0, typeorm_2.Like)(`%${word}%`)); const [rows, count] = await this.badWordsEntity.findAndCount({ where, skip: (page - 1) * size, @@ -200,7 +185,7 @@ let BadwordsService = class BadwordsService { }); const userIds = [...new Set(rows.map((t) => t.userId))]; const usersInfo = await this.userEntity.find({ - where: { id: (0, typeorm_1.In)(userIds) }, + where: { id: (0, typeorm_2.In)(userIds) }, select: ['id', 'avatar', 'username', 'email', 'violationCount', 'status'], }); rows.forEach((t) => { @@ -213,12 +198,12 @@ let BadwordsService = class BadwordsService { }; BadwordsService = __decorate([ (0, common_1.Injectable)(), - __param(0, (0, typeorm_2.InjectRepository)(badwords_entity_1.BadWordsEntity)), - __param(1, (0, typeorm_2.InjectRepository)(violationLog_entity_1.ViolationLogEntity)), - __param(2, (0, typeorm_2.InjectRepository)(user_entity_1.UserEntity)), - __metadata("design:paramtypes", [typeorm_1.Repository, - typeorm_1.Repository, - typeorm_1.Repository, + __param(0, (0, typeorm_1.InjectRepository)(badwords_entity_1.BadWordsEntity)), + __param(1, (0, typeorm_1.InjectRepository)(violationLog_entity_1.ViolationLogEntity)), + __param(2, (0, typeorm_1.InjectRepository)(user_entity_1.UserEntity)), + __metadata("design:paramtypes", [typeorm_2.Repository, + typeorm_2.Repository, + typeorm_2.Repository, globalConfig_service_1.GlobalConfigService]) ], BadwordsService); exports.BadwordsService = BadwordsService; diff --git a/dist/modules/chat/chat.controller.js b/dist/modules/chat/chat.controller.js index cbb24c0..0e82fad 100644 --- a/dist/modules/chat/chat.controller.js +++ b/dist/modules/chat/chat.controller.js @@ -18,8 +18,6 @@ const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard"); const chat_service_1 = require("./chat.service"); const common_1 = require("@nestjs/common"); const chatProcess_dto_1 = require("./dto/chatProcess.dto"); -const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard"); -const superAuth_guard_1 = require("../../common/auth/superAuth.guard"); const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); let ChatController = class ChatController { constructor(chatService, globalConfigService) { @@ -32,56 +30,14 @@ let ChatController = class ChatController { chatProcessSync(body, req) { return this.chatService.chatProcess(Object.assign({}, body), req); } - ttsProcess(body, req, res) { - return this.chatService.ttsProcess(body, req, res); - } async mjFanyi(body, req) { return this.chatService.chatProcess(Object.assign(Object.assign({}, body), { specialModel: 'PromptOptimization' }), req); } async chatmind(body, req, res) { return this.chatService.chatProcess(Object.assign(Object.assign({}, body), { specialModel: 'MindMap' }), req, res); } - async setChatBoxType(req, body) { - return await this.chatService.setChatBoxType(req, body); - } - async delChatBoxType(req, body) { - return await this.chatService.delChatBoxType(req, body); - } - async queryChatBoxType() { - return await this.chatService.queryChatBoxType(); - } - async setChatBox(req, body) { - return await this.chatService.setChatBox(req, body); - } - async delChatBox(req, body) { - return await this.chatService.delChatBox(req, body); - } - async queryChatBox() { - return await this.chatService.queryChatBox(); - } - async queryChatBoxFrontend() { - return await this.chatService.queryChatBoxFrontend(); - } - async setChatPreType(req, body) { - return await this.chatService.setChatPreType(req, body); - } - async delChatPreType(req, body) { - return await this.chatService.delChatPreType(req, body); - } - async queryChatPreType() { - return await this.chatService.queryChatPreType(); - } - async setChatPre(req, body) { - return await this.chatService.setChatPre(req, body); - } - async delChatPre(req, body) { - return await this.chatService.delChatPre(req, body); - } - async queryChatPre() { - return await this.chatService.queryChatPre(); - } - async queryChatPreList() { - return await this.chatService.queryChatPreList(); + ttsProcess(body, req, res) { + return this.chatService.ttsProcess(body, req, res); } }; __decorate([ @@ -107,18 +63,6 @@ __decorate([ __metadata("design:paramtypes", [chatProcess_dto_1.ChatProcessDto, Object]), __metadata("design:returntype", void 0) ], ChatController.prototype, "chatProcessSync", null); -__decorate([ - (0, common_1.Post)('tts-process'), - (0, swagger_1.ApiOperation)({ summary: 'tts语音播报' }), - (0, common_1.UseGuards)(jwtAuth_guard_1.JwtAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Body)()), - __param(1, (0, common_1.Req)()), - __param(2, (0, common_1.Res)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [chatProcess_dto_1.ChatProcessDto, Object, Object]), - __metadata("design:returntype", void 0) -], ChatController.prototype, "ttsProcess", null); __decorate([ (0, common_1.Post)('mj-fy'), (0, swagger_1.ApiOperation)({ summary: 'gpt描述词绘画翻译' }), @@ -143,142 +87,21 @@ __decorate([ __metadata("design:returntype", Promise) ], ChatController.prototype, "chatmind", null); __decorate([ - (0, common_1.Post)('setChatBoxType'), - (0, swagger_1.ApiOperation)({ summary: '添加修改分类类型' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), + (0, common_1.Post)('tts-process'), + (0, swagger_1.ApiOperation)({ summary: 'tts语音播报' }), + (0, common_1.UseGuards)(jwtAuth_guard_1.JwtAuthGuard), (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), + __param(0, (0, common_1.Body)()), + __param(1, (0, common_1.Req)()), + __param(2, (0, common_1.Res)()), __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", Promise) -], ChatController.prototype, "setChatBoxType", null); -__decorate([ - (0, common_1.Post)('delChatBoxType'), - (0, swagger_1.ApiOperation)({ summary: '添加修改ChatBoxType' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", Promise) -], ChatController.prototype, "delChatBoxType", null); -__decorate([ - (0, common_1.Get)('queryChatBoxTypes'), - (0, swagger_1.ApiOperation)({ summary: '查询ChatBoxType' }), - (0, common_1.UseGuards)(adminAuth_guard_1.AdminAuthGuard), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", Promise) -], ChatController.prototype, "queryChatBoxType", null); -__decorate([ - (0, common_1.Post)('setChatBox'), - (0, swagger_1.ApiOperation)({ summary: '添加修改ChatBox' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", Promise) -], ChatController.prototype, "setChatBox", null); -__decorate([ - (0, common_1.Post)('delChatBox'), - (0, swagger_1.ApiOperation)({ summary: '添加修改ChatBox提示词' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", Promise) -], ChatController.prototype, "delChatBox", null); -__decorate([ - (0, common_1.Get)('queryChatBoxs'), - (0, swagger_1.ApiOperation)({ summary: '查询ChatBox列表' }), - (0, common_1.UseGuards)(adminAuth_guard_1.AdminAuthGuard), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", Promise) -], ChatController.prototype, "queryChatBox", null); -__decorate([ - (0, common_1.Get)('queryChatBoxFrontend'), - (0, swagger_1.ApiOperation)({ summary: '查询ChatBox分类加详细' }), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", Promise) -], ChatController.prototype, "queryChatBoxFrontend", null); -__decorate([ - (0, common_1.Post)('setChatPreType'), - (0, swagger_1.ApiOperation)({ summary: '添加修改预设分类类型' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", Promise) -], ChatController.prototype, "setChatPreType", null); -__decorate([ - (0, common_1.Post)('delChatPretype'), - (0, swagger_1.ApiOperation)({ summary: '添加修改ChatPretype' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", Promise) -], ChatController.prototype, "delChatPreType", null); -__decorate([ - (0, common_1.Get)('queryChatPretypes'), - (0, swagger_1.ApiOperation)({ summary: '查询ChatPretype' }), - (0, common_1.UseGuards)(adminAuth_guard_1.AdminAuthGuard), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", Promise) -], ChatController.prototype, "queryChatPreType", null); -__decorate([ - (0, common_1.Post)('setChatPre'), - (0, swagger_1.ApiOperation)({ summary: '添加修改ChatPre' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", Promise) -], ChatController.prototype, "setChatPre", null); -__decorate([ - (0, common_1.Post)('delChatPre'), - (0, swagger_1.ApiOperation)({ summary: '添加修改ChatPre提示词' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", Promise) -], ChatController.prototype, "delChatPre", null); -__decorate([ - (0, common_1.Get)('queryChatPres'), - (0, swagger_1.ApiOperation)({ summary: '查询ChatPre列表' }), - (0, common_1.UseGuards)(adminAuth_guard_1.AdminAuthGuard), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", Promise) -], ChatController.prototype, "queryChatPre", null); -__decorate([ - (0, common_1.Get)('queryChatPreList'), - (0, swagger_1.ApiOperation)({ summary: '查询ChatPre列表' }), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", Promise) -], ChatController.prototype, "queryChatPreList", null); + __metadata("design:paramtypes", [Object, Object, Object]), + __metadata("design:returntype", void 0) +], ChatController.prototype, "ttsProcess", null); ChatController = __decorate([ (0, swagger_1.ApiTags)('chatgpt'), (0, common_1.Controller)('chatgpt'), - __metadata("design:paramtypes", [chat_service_1.ChatService, globalConfig_service_1.GlobalConfigService]) + __metadata("design:paramtypes", [chat_service_1.ChatService, + globalConfig_service_1.GlobalConfigService]) ], ChatController); exports.ChatController = ChatController; diff --git a/dist/modules/chat/chat.module.js b/dist/modules/chat/chat.module.js index 97e830e..ecfff2d 100644 --- a/dist/modules/chat/chat.module.js +++ b/dist/modules/chat/chat.module.js @@ -9,6 +9,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ChatModule = void 0; const common_1 = require("@nestjs/common"); const typeorm_1 = require("@nestjs/typeorm"); +const lumaVideo_service_1 = require("../ai/lumaVideo.service"); +const midjourneyDraw_service_1 = require("../ai/midjourneyDraw.service"); +const openaiChat_service_1 = require("../ai/openaiChat.service"); +const openaiDraw_service_1 = require("../ai/openaiDraw.service"); +const stableDiffusion_service_1 = require("../ai/stableDiffusion.service"); +const suno_service_1 = require("../ai/suno.service"); const app_entity_1 = require("../app/app.entity"); const chatGroup_entity_1 = require("../chatGroup/chatGroup.entity"); const chatLog_entity_1 = require("../chatLog/chatLog.entity"); @@ -17,6 +23,7 @@ const cramiPackage_entity_1 = require("../crami/cramiPackage.entity"); const config_entity_1 = require("../globalConfig/config.entity"); const mailer_service_1 = require("../mailer/mailer.service"); const midjourney_entity_1 = require("../midjourney/midjourney.entity"); +const plugin_entity_1 = require("../plugin/plugin.entity"); const redisCache_service_1 = require("../redisCache/redisCache.service"); const salesUsers_entity_1 = require("../sales/salesUsers.entity"); const user_entity_1 = require("../user/user.entity"); @@ -28,14 +35,8 @@ const userBalance_entity_1 = require("../userBalance/userBalance.entity"); const userBalance_service_1 = require("../userBalance/userBalance.service"); const verification_service_1 = require("../verification/verification.service"); const verifycation_entity_1 = require("../verification/verifycation.entity"); -const apiDataService_service_1 = require("./apiDataService.service"); const chat_controller_1 = require("./chat.controller"); const chat_service_1 = require("./chat.service"); -const chatBox_entity_1 = require("./chatBox.entity"); -const chatBoxType_entity_1 = require("./chatBoxType.entity"); -const chatPre_entity_1 = require("./chatPre.entity"); -const chatPreType_entity_1 = require("./chatPreType.entity"); -const whiteList_entity_1 = require("./whiteList.entity"); let ChatModule = class ChatModule { }; ChatModule = __decorate([ @@ -45,11 +46,11 @@ ChatModule = __decorate([ typeorm_1.TypeOrmModule.forFeature([ balance_entity_1.BalanceEntity, user_entity_1.UserEntity, + plugin_entity_1.PluginEntity, verifycation_entity_1.VerifycationEntity, chatLog_entity_1.ChatLogEntity, accountLog_entity_1.AccountLogEntity, config_entity_1.ConfigEntity, - whiteList_entity_1.WhiteListEntity, user_entity_1.UserEntity, cramiPackage_entity_1.CramiPackageEntity, chatGroup_entity_1.ChatGroupEntity, @@ -58,15 +59,25 @@ ChatModule = __decorate([ salesUsers_entity_1.SalesUsersEntity, fingerprint_entity_1.FingerprintLogEntity, midjourney_entity_1.MidjourneyEntity, - chatBoxType_entity_1.ChatBoxTypeEntity, - chatBox_entity_1.ChatBoxEntity, - chatPreType_entity_1.ChatPreTypeEntity, - chatPre_entity_1.ChatPreEntity, ]), ], controllers: [chat_controller_1.ChatController], - providers: [chat_service_1.ChatService, userBalance_service_1.UserBalanceService, user_service_1.UserService, verification_service_1.VerificationService, chatLog_service_1.ChatLogService, redisCache_service_1.RedisCacheService, apiDataService_service_1.ApiDataService, mailer_service_1.MailerService], - exports: [chat_service_1.ChatService] + providers: [ + chat_service_1.ChatService, + userBalance_service_1.UserBalanceService, + user_service_1.UserService, + verification_service_1.VerificationService, + chatLog_service_1.ChatLogService, + redisCache_service_1.RedisCacheService, + mailer_service_1.MailerService, + suno_service_1.SunoService, + openaiChat_service_1.OpenAIChatService, + stableDiffusion_service_1.StableDiffusionService, + midjourneyDraw_service_1.MidjourneyService, + openaiDraw_service_1.OpenAIDrawService, + lumaVideo_service_1.LumaVideoService, + ], + exports: [chat_service_1.ChatService], }) ], ChatModule); exports.ChatModule = ChatModule; diff --git a/dist/modules/chat/chat.service.js b/dist/modules/chat/chat.service.js index 36a18d0..8db4e66 100644 --- a/dist/modules/chat/chat.service.js +++ b/dist/modules/chat/chat.service.js @@ -13,43 +13,41 @@ var __param = (this && this.__param) || function (paramIndex, decorator) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ChatService = void 0; -const common_1 = require("@nestjs/common"); -const nestjs_config_1 = require("nestjs-config"); -const upload_service_1 = require("../upload/upload.service"); -const user_service_1 = require("../user/user.service"); const errorMessage_constant_1 = require("../../common/constants/errorMessage.constant"); const utils_1 = require("../../common/utils"); +const common_1 = require("@nestjs/common"); const typeorm_1 = require("@nestjs/typeorm"); const axios_1 = require("axios"); const typeorm_2 = require("typeorm"); const uuid = require("uuid"); +const lumaVideo_service_1 = require("../ai/lumaVideo.service"); +const midjourneyDraw_service_1 = require("../ai/midjourneyDraw.service"); +const openaiChat_service_1 = require("../ai/openaiChat.service"); +const openaiDraw_service_1 = require("../ai/openaiDraw.service"); +const stableDiffusion_service_1 = require("../ai/stableDiffusion.service"); +const suno_service_1 = require("../ai/suno.service"); +const app_entity_1 = require("../app/app.entity"); const autoreply_service_1 = require("../autoreply/autoreply.service"); const badwords_service_1 = require("../badwords/badwords.service"); +const chatGroup_service_1 = require("../chatGroup/chatGroup.service"); const chatLog_service_1 = require("../chatLog/chatLog.service"); const config_entity_1 = require("../globalConfig/config.entity"); const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); -const userBalance_service_1 = require("../userBalance/userBalance.service"); -const apiDataService_service_1 = require("./apiDataService.service"); -const tiktoken_1 = require("@dqbd/tiktoken"); -const app_entity_1 = require("../app/app.entity"); -const chatGroup_service_1 = require("../chatGroup/chatGroup.service"); const models_service_1 = require("../models/models.service"); -const chatBox_entity_1 = require("./chatBox.entity"); -const chatBoxType_entity_1 = require("./chatBoxType.entity"); -const chatPre_entity_1 = require("./chatPre.entity"); -const chatPreType_entity_1 = require("./chatPreType.entity"); -const store_1 = require("./store"); +const plugin_entity_1 = require("../plugin/plugin.entity"); +const upload_service_1 = require("../upload/upload.service"); +const user_service_1 = require("../user/user.service"); +const userBalance_service_1 = require("../userBalance/userBalance.service"); let ChatService = class ChatService { - constructor(configEntity, chatBoxTypeEntity, chatBoxEntity, appEntity, chatPreTypeEntity, chatPreEntity, apiDataService, chatLogService, configService, userBalanceService, userService, uploadService, badwordsService, autoreplyService, globalConfigService, chatGroupService, modelsService) { + constructor(configEntity, appEntity, pluginEntity, sunoService, openAIChatService, chatLogService, midjourneyService, stableDiffusionService, userBalanceService, userService, uploadService, badwordsService, autoreplyService, globalConfigService, chatGroupService, modelsService, openAIDrawService, lumaVideoService) { this.configEntity = configEntity; - this.chatBoxTypeEntity = chatBoxTypeEntity; - this.chatBoxEntity = chatBoxEntity; this.appEntity = appEntity; - this.chatPreTypeEntity = chatPreTypeEntity; - this.chatPreEntity = chatPreEntity; - this.apiDataService = apiDataService; + this.pluginEntity = pluginEntity; + this.sunoService = sunoService; + this.openAIChatService = openAIChatService; this.chatLogService = chatLogService; - this.configService = configService; + this.midjourneyService = midjourneyService; + this.stableDiffusionService = stableDiffusionService; this.userBalanceService = userBalanceService; this.userService = userService; this.uploadService = uploadService; @@ -58,93 +56,28 @@ let ChatService = class ChatService { this.globalConfigService = globalConfigService; this.chatGroupService = chatGroupService; this.modelsService = modelsService; - this.nineStore = null; - } - async onModuleInit() { - let KeyvRedis = await (0, utils_1.importDynamic)('@keyv/redis'); - let Keyv = await (0, utils_1.importDynamic)('keyv'); - KeyvRedis = (KeyvRedis === null || KeyvRedis === void 0 ? void 0 : KeyvRedis.default) ? KeyvRedis.default : KeyvRedis; - Keyv = (Keyv === null || Keyv === void 0 ? void 0 : Keyv.default) ? Keyv.default : Keyv; - const port = +process.env.REDIS_PORT; - const host = process.env.REDIS_HOST; - const password = process.env.REDIS_PASSWORD; - const username = process.env.REDIS_USER; - const redisUrl = `redis://${username || ''}:${password || ''}@${host}:${port}`; - const store = new KeyvRedis(redisUrl); - const messageStore = new Keyv({ store, namespace: 'ai-web' }); - this.nineStore = new store_1.NineStore({ store: messageStore, namespace: 'chat' }); - } - async ttsProcess(body, req, res) { - const { id } = req.user; - const { chatId, prompt } = body; - const detailKeyInfo = await this.modelsService.getCurrentModelKeyInfo('tts-1'); - const { openaiTimeout, openaiBaseUrl, openaiBaseKey, } = await this.globalConfigService.getConfigs([ - 'openaiTimeout', - 'openaiBaseUrl', - 'openaiBaseKey', - ]); - const { key, proxyUrl, deduct, deductType, timeout } = detailKeyInfo; - let useKey = key || openaiBaseKey; - let useUrl = proxyUrl || openaiBaseUrl; - let useTimeout = (timeout || openaiTimeout) * 1000; - await this.userBalanceService.validateBalance(req, deductType, deduct); - console.log('开始 TTS 请求:', prompt, 'TTSService'); - const options = { - method: 'POST', - url: `${useUrl}/v1/audio/speech`, - headers: { - "Content-Type": "application/json", - "Authorization": `Bearer ${useKey}`, - }, - responseType: 'arraybuffer', - timeout: useTimeout, - data: { - model: 'tts-1', - input: prompt, - voice: "onyx" - }, - }; - let ttsUrl; - try { - const response = await (0, axios_1.default)(options); - console.log('TTS 请求获取成功', 'TTSService'); - const buffer = Buffer.from(response.data); - try { - const filename = uuid.v4().slice(0, 10) + '.mp3'; - common_1.Logger.log(`------> 开始上传语音!!!`, 'TTSService'); - ttsUrl = await this.uploadService.uploadFile({ filename, buffer }); - common_1.Logger.log(`文件上传成功,URL: ${ttsUrl}`, 'TTSService'); - } - catch (error) { - common_1.Logger.error(`上传图片过程中出现错误: ${error}`, 'TTSService'); - } - await this.chatLogService.updateChatLog(chatId, { - ttsUrl: ttsUrl - }); - await this.userBalanceService.deductFromBalance(req.user.id, deductType, deduct); - res.status(200).send({ ttsUrl }); - } - catch (error) { - console.error('TTS request failed:', error); - throw new Error('Failed to process TTS request'); - } + this.openAIDrawService = openAIDrawService; + this.lumaVideoService = lumaVideoService; } async chatProcess(body, req, res) { var _a, _b, _c; - const { options = {}, appId = null, specialModel, prompt, fileInfo, modelType, extraParam, model, drawId, customId, action } = body; + const { options = {}, usingPluginId, appId = null, specialModel, prompt, fileInfo, modelType, extraParam, model, drawId, customId, action, modelName, modelAvatar, } = body; let appInfo; if (specialModel) { - appInfo = await this.appEntity.findOne({ where: { des: specialModel, isSystemReserved: true } }); + appInfo = await this.appEntity.findOne({ + where: { des: specialModel, isSystemReserved: true }, + }); } else if (appId) { - appInfo = await this.appEntity.findOne({ where: { id: appId, status: (0, typeorm_2.In)([1, 3, 4, 5]) } }); + appInfo = await this.appEntity.findOne({ + where: { id: appId, status: (0, typeorm_2.In)([1, 3, 4, 5]) }, + }); if (!appInfo) { throw new common_1.HttpException('你当前使用的应用已被下架、请删除当前对话开启新的对话吧!', common_1.HttpStatus.BAD_REQUEST); } } - const { groupId, usingNetwork, fileParsing, usingMindMap } = options; - const abortController = req.abortController; - const { openaiTimeout, openaiBaseUrl, openaiBaseKey, systemPreMessage, isMjTranslate, mjTranslatePrompt, isDalleChat, } = await this.globalConfigService.getConfigs([ + const { groupId, fileParsing } = options; + const { openaiTimeout, openaiBaseUrl, openaiBaseKey, systemPreMessage, isMjTranslate, mjTranslatePrompt, isDalleChat, openaiTemperature, } = await this.globalConfigService.getConfigs([ 'openaiTimeout', 'openaiBaseUrl', 'openaiBaseKey', @@ -152,9 +85,11 @@ let ChatService = class ChatService { 'isMjTranslate', 'mjTranslatePrompt', 'isDalleChat', + 'openaiTemperature', ]); await this.userService.checkUserStatus(req.user); - res && res.setHeader('Content-type', 'application/octet-stream; charset=utf-8'); + res && + res.setHeader('Content-type', 'application/octet-stream; charset=utf-8'); await this.badwordsService.checkBadWords(prompt, req.user.id); let currentRequestModelKey = null; let appName = ''; @@ -165,123 +100,129 @@ let ChatService = class ChatService { let isStop = true; let usePrompt; let isSuccess = false; + let useModelAvatar = ''; + let usingPlugin; + if (usingPluginId) { + usingPlugin = await this.pluginEntity.findOne({ + where: { id: usingPluginId }, + }); + } if (appInfo) { - const { isGPTs, gizmoID, name, isFixedModel, appModel } = appInfo; + const { isGPTs, gizmoID, name, isFixedModel, appModel, coverImg } = appInfo; + useModelAvatar = coverImg; appName = name; if (isGPTs) { - currentRequestModelKey = await this.modelsService.getCurrentModelKeyInfo('gpts'); + currentRequestModelKey = + await this.modelsService.getCurrentModelKeyInfo('gpts'); await this.chatLogService.checkModelLimits(req.user, 'gpts'); currentRequestModelKey.model = `gpt-4-gizmo-${gizmoID}`; } else if (!isGPTs && isFixedModel && appModel) { appInfo.preset && (setSystemMessage = appInfo.preset); - currentRequestModelKey = await this.modelsService.getCurrentModelKeyInfo(appModel); + currentRequestModelKey = + await this.modelsService.getCurrentModelKeyInfo(appModel); await this.chatLogService.checkModelLimits(req.user, appModel); currentRequestModelKey.model = appModel; if (fileParsing) { setSystemMessage = `${setSystemMessage}以下是我提供给你的知识库:【${fileParsing}】,在回答问题之前,先检索知识库内有没有相关的内容,尽量使用知识库中获取到的信息来回答我的问题,以知识库中的为准。`; } - common_1.Logger.log(`固定模型、使用应用预设: ${setSystemMessage}`); + common_1.Logger.log(`固定模型、使用应用预设: ${setSystemMessage}`, 'ChatService'); } else { appInfo.preset && (setSystemMessage = appInfo.preset); - currentRequestModelKey = await this.modelsService.getCurrentModelKeyInfo(model); + currentRequestModelKey = + await this.modelsService.getCurrentModelKeyInfo(model); await this.chatLogService.checkModelLimits(req.user, model); if (fileParsing) { setSystemMessage = `${setSystemMessage}以下是我提供给你的知识库:【${fileParsing}】,在回答问题之前,先检索知识库内有没有相关的内容,尽量使用知识库中获取到的信息来回答我的问题,以知识库中的为准。`; } - common_1.Logger.log(`使用应用预设: ${setSystemMessage}`); + common_1.Logger.log(`使用应用预设: ${setSystemMessage}`, 'ChatService'); } } else { - const currentDate = new Date().toISOString().split('T')[0]; - setSystemMessage = systemPreMessage + `\n Current date: ${currentDate}`; - currentRequestModelKey = await this.modelsService.getCurrentModelKeyInfo(model); - await this.chatLogService.checkModelLimits(req.user, model); - common_1.Logger.log(`使用全局预设: ${setSystemMessage}`); + if (usingPlugin && usingPlugin.isSystemPlugin === 0) { + let pluginPrompt = ''; + try { + pluginPrompt = await this.usePlugin(prompt, usingPlugin.parameters); + common_1.Logger.log(`插件返回结果: ${pluginPrompt}`, 'ChatService'); + } + catch (error) { + pluginPrompt = prompt; + common_1.Logger.error(`插件调用错误: ${error}`); + } + setSystemMessage = pluginPrompt; + currentRequestModelKey = + await this.modelsService.getCurrentModelKeyInfo(model); + await this.chatLogService.checkModelLimits(req.user, model); + common_1.Logger.log(`使用插件预设: ${setSystemMessage}`, 'ChatService'); + } + else if (fileParsing) { + setSystemMessage = `以下是我提供给你的知识库:【${fileParsing}】,在回答问题之前,先检索知识库内有没有相关的内容,尽量使用知识库中获取到的信息来回答我的问题,以知识库中的为准。`; + currentRequestModelKey = + await this.modelsService.getCurrentModelKeyInfo(model); + await this.chatLogService.checkModelLimits(req.user, model); + common_1.Logger.log(`使用文件解析: ${setSystemMessage}`, 'ChatService'); + } + else { + const currentDate = new Date().toISOString().split('T')[0]; + setSystemMessage = systemPreMessage + `\n Current date: ${currentDate}`; + currentRequestModelKey = + await this.modelsService.getCurrentModelKeyInfo(model); + await this.chatLogService.checkModelLimits(req.user, model); + common_1.Logger.log(`使用全局预设: ${setSystemMessage}`, 'ChatService'); + } } - const { deduct, isTokenBased, tokenFeeRatio, deductType, key, modelName, id: keyId, maxRounds, proxyUrl, maxModelTokens, timeout, model: useModel, isFileUpload } = currentRequestModelKey; + const { deduct, isTokenBased, tokenFeeRatio, deductType, key, id: keyId, maxRounds, proxyUrl, maxModelTokens, timeout, model: useModel, isFileUpload, } = currentRequestModelKey; if (isMjTranslate === '1' && mjTranslatePrompt && model === 'midjourney') { - const translatePrompt = await this.apiDataService.chatFree(prompt, mjTranslatePrompt); - usePrompt = (isFileUpload === '1' && fileInfo) ? fileInfo + " " + translatePrompt : translatePrompt; + const translatePrompt = await this.openAIChatService.chatFree(prompt, mjTranslatePrompt); + usePrompt = + isFileUpload === '1' && fileInfo + ? fileInfo + ' ' + translatePrompt + : translatePrompt; } else { - usePrompt = (isFileUpload === '1' && fileInfo) ? fileInfo + " " + prompt : prompt; + usePrompt = + isFileUpload === '1' && fileInfo ? fileInfo + ' ' + prompt : prompt; } await this.userBalanceService.validateBalance(req, deductType, deduct); - const useModeName = appName || modelName; - const proxyResUrl = proxyUrl || openaiBaseUrl || 'https://api.openai.com'; + const useModeName = modelName; + const proxyResUrl = (0, utils_1.formatUrl)(proxyUrl || openaiBaseUrl || 'https://api.openai.com'); const modelKey = key || openaiBaseKey; const modelTimeout = (timeout || openaiTimeout || 300) * 1000; - common_1.Logger.log(`超时设置: ${modelTimeout / 1000} s\n` + + const temperature = Number(openaiTemperature) || 1; + common_1.Logger.log(`\n` + + `超时设置: ${modelTimeout / 1000} s\n` + `请求地址: ${proxyResUrl}\n` + `使用的模型名称: ${useModeName}\n` + - `使用的模型: ${useModel}`); + `使用的模型: ${useModel}`, 'ChatService'); if (!currentRequestModelKey) { throw new common_1.HttpException('当前流程所需要的模型已被管理员下架、请联系管理员上架专属模型!', common_1.HttpStatus.BAD_REQUEST); } - let groupInfo; - if (groupId) { - groupInfo = await this.chatGroupService.getGroupInfoFromId(groupId); - } - // if ((groupInfo === null || groupInfo === void 0 ? void 0 : groupInfo.title) === '新对话') { - // let chatTitle; - // if (modelType === 1) { - // chatTitle = await this.apiDataService.chatFree(`根据用户提问{${prompt}},给这个对话取一个名字,不超过10个字`); - // } - // else { - // chatTitle = '创意 AI'; - // } - // await this.chatGroupService.update({ - // groupId, - // title: chatTitle, - // isSticky: false, - // config: '', - // }, req); - // common_1.Logger.log(`更新标题名称为: ${chatTitle}`); - // } - - //将更新标题名称的代码改为异步函数 - const updateTitleAsync = async () => { - if ((groupInfo === null || groupInfo === void 0 ? void 0 : groupInfo.title) === '新对话') { - let chatTitle; - if (modelType === 1) { - chatTitle = await this.apiDataService.chatFree(`根据用户提问{${prompt}},给这个对话取一个名字,不超过10个字`); - } - else { - chatTitle = '创意 AI'; - } - await this.chatGroupService.update({ - groupId, - title: chatTitle, - isSticky: false, - config: '', - }, req); - common_1.Logger.log(`${groupId} 更新标题名称为: ${chatTitle}`); - } - }; - - // 调用异步函数 - updateTitleAsync(); if (groupId) { + const groupInfo = await this.chatGroupService.getGroupInfoFromId(groupId); + this.updateChatTitle(groupId, groupInfo, modelType, prompt, req); await this.chatGroupService.updateTime(groupId); } - const { messagesHistory } = await this.nineStore.buildMessageFromParentMessageId(prompt, { + const { messagesHistory } = await this.buildMessageFromParentMessageId(prompt, { groupId, systemMessage: setSystemMessage, maxModelTokens, - maxRounds: usingNetwork || useModel.includes('suno') ? 0 : maxRounds, + maxRounds: (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters) === 'net-search' || + (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters) === 'mind-map' || + useModel.includes('suno') + ? 0 + : maxRounds, fileInfo: fileInfo, model: useModel, isFileUpload, }, this.chatLogService); const userSaveLog = await this.chatLogService.saveChatLog({ - appId, + appId: appId, curIp, userId: req.user.id, - type: modelType, + type: modelType ? modelType : 1, prompt, - fileInfo: fileInfo, + fileInfo: fileInfo ? fileInfo : null, answer: '', promptTokens: 0, completionTokens: 0, @@ -289,17 +230,14 @@ let ChatService = class ChatService { model: useModel, modelName: '我', role: 'user', - groupId, - }); - const pluginsUsed = JSON.stringify({ - usingNetwork: !!usingNetwork, - usingMindMap: !!usingMindMap, + groupId: groupId ? groupId : null, }); const assistantSaveLog = await this.chatLogService.saveChatLog({ - appId, + appId: appId ? appId : null, + action: action ? action : null, curIp, userId: req.user.id, - type: modelType, + type: modelType ? modelType : 1, prompt: prompt, fileInfo: null, answer: '', @@ -310,10 +248,12 @@ let ChatService = class ChatService { model: useModel, modelName: useModeName, role: 'assistant', - groupId, + groupId: groupId ? groupId : null, status: 2, - pluginParam: pluginsUsed, + modelAvatar: (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.pluginImg) || useModelAvatar || modelAvatar || '', + pluginParam: (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters) ? usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters : null, }); + common_1.Logger.log('开始处理对话!', 'ChatService'); const userLogId = userSaveLog.id; const assistantLogId = assistantSaveLog.id; const autoReplyRes = await this.autoreplyService.checkAutoReply(prompt); @@ -324,7 +264,7 @@ let ChatService = class ChatService { if (index < chars.length) { const msg = { text: chars[index] }; res.write(`${JSON.stringify(msg)}\n`); - setTimeout(() => sendCharByChar(index + 1), 20); + setTimeout(() => sendCharByChar(index + 1), 10); } else { res.end(); @@ -336,72 +276,45 @@ let ChatService = class ChatService { }); return; } - common_1.Logger.log('开始处理对话!'); - let charge = (action !== "UPSCALE" && useModel === 'midjourney') ? deduct * 4 : deduct; - ; - let isClientClosed = false; + let charge = action !== 'UPSCALE' && useModel === 'midjourney' ? deduct * 4 : deduct; + const abortController = new AbortController(); try { if (res) { - let lastChat; - res.on('close', async () => { - if (isSuccess) { - return; - } - isClientClosed = true; - const prompt_tokens = (await this.getTokenCount(prompt)) || 1; - const completion_tokens = (await this.getTokenCount(lastChat === null || lastChat === void 0 ? void 0 : lastChat.answer)) || 1; - const total_tokens = prompt_tokens + completion_tokens; - await this.chatLogService.updateChatLog(userLogId, { - fileInfo: fileInfo, - promptTokens: prompt_tokens, - completionTokens: completion_tokens, - totalTokens: total_tokens, - status: 4, - }); - await this.chatLogService.updateChatLog(assistantLogId, { - answer: lastChat === null || lastChat === void 0 ? void 0 : lastChat.answer, - promptTokens: prompt_tokens, - completionTokens: completion_tokens, - totalTokens: total_tokens, - status: 4, - }); - let charge = deduct; - if (isTokenBased === true) { - charge = Math.ceil((deduct * total_tokens) / tokenFeeRatio); - } - if (isStop) { - await this.userBalanceService.deductFromBalance(req.user.id, deductType, charge, total_tokens); - } + res.on('close', () => { + abortController.abort(); }); let response; let firstChunk = true; try { - if (useModel === 'dall-e-3' || useModel === 'midjourney' || useModel.includes('suno') || useModel.includes('stable-diffusion')) { + if (useModel === 'dall-e-3' || + useModel === 'midjourney' || + useModel.includes('suno') || + useModel === 'luma-video' || + useModel.includes('stable-diffusion')) { if (useModel === 'dall-e-3') { let drawPrompt; if (isDalleChat === '1') { try { - common_1.Logger.log('已开启连续绘画模式'); - const { messagesHistory } = await this.nineStore.buildMessageFromParentMessageId(`${prompt},不用包含任何礼貌性的寒暄,只需要场景的描述,可以适当联想`, { + common_1.Logger.log('已开启连续绘画模式', 'DalleDraw'); + const { messagesHistory } = await this.buildMessageFromParentMessageId(`参考上文,结合我的需求,给出绘画描述。我的需求是:${prompt}`, { groupId, - systemMessage: "总结我的绘画需求,然后生成绘画场景的描述", - maxModelTokens, - maxRounds, - fileInfo: fileInfo, - model: useModel, + systemMessage: '你是一个绘画提示词生成工具,请根据用户的要求,结合上下文,用一段文字,描述用户需要的绘画需求,不用包含任何礼貌性的寒暄,只需要场景的描述,可以适当联想', + maxModelTokens: 8000, + maxRounds: 5, + fileInfo: '', isFileUpload, }, this.chatLogService); - drawPrompt = await this.apiDataService.chatFree(prompt, undefined, messagesHistory); + drawPrompt = await this.openAIChatService.chatFree(prompt, undefined, messagesHistory); } catch (error) { - console.error("调用chatFree失败:", error); + console.error('调用chatFree失败:', error); drawPrompt = prompt; } } else { drawPrompt = prompt; } - response = this.apiDataService.dalleDraw(({ + response = this.openAIDrawService.dalleDraw({ prompt: drawPrompt, extraParam: extraParam, apiKey: modelKey, @@ -416,40 +329,52 @@ let ChatService = class ChatService { progress: '100%', status: data.status, }); - common_1.Logger.log('绘图成功! ', 'DrawService'); + common_1.Logger.log('绘图成功! ', 'DalleDraw'); }, onFailure: async (data) => { await this.chatLogService.updateChatLog(assistantLogId, { answer: '绘图失败', status: data.status, }); - common_1.Logger.log('绘图失败', 'DrawService'); - } - }), messagesHistory); + common_1.Logger.log('绘图失败', 'DalleDraw'); + }, + }, messagesHistory); await this.chatLogService.updateChatLog(assistantLogId, { answer: '绘制中', }); } else if (useModel.includes('suno')) { - response = this.suno(messagesHistory, { - chatId: assistantLogId, - maxModelTokens, + response = this.sunoService.suno({ + assistantLogId, apiKey: modelKey, - model: useModel, - modelName: useModeName, - modelType, + action, prompt, - fileInfo, - isFileUpload, timeout: modelTimeout, proxyUrl: proxyResUrl, + taskData: customId, + }); + await this.chatLogService.updateChatLog(assistantLogId, { + answer: '提交成功,歌曲生成中', + }); + } + else if (useModel.includes('luma-video')) { + response = this.lumaVideoService.lumaVideo({ + fileInfo, + extraParam, + assistantLogId, + apiKey: modelKey, + action, + prompt, + model: useModel, + timeout: modelTimeout, + proxyUrl: proxyResUrl, + taskData: customId, onGenerate: async (data) => { await this.chatLogService.updateChatLog(assistantLogId, { fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo, answer: (data === null || data === void 0 ? void 0 : data.answer) || prompt, status: 2, }); - common_1.Logger.log('歌曲生成中'); }, onSuccess: async (data) => { await this.chatLogService.updateChatLog(assistantLogId, { @@ -458,21 +383,21 @@ let ChatService = class ChatService { progress: '100%', status: 3, }); - common_1.Logger.log('生成歌曲成功'); + common_1.Logger.log('视频生成成功', 'LumaVideo'); }, onFailure: async (data) => { await this.chatLogService.updateChatLog(assistantLogId, { answer: data.errMsg, status: 4, }); - } + }, }); await this.chatLogService.updateChatLog(assistantLogId, { - answer: '提交成功,歌曲生成中', + answer: '提交成功,视频生成中', }); } else if (useModel.includes('stable-diffusion')) { - response = this.sdxl(messagesHistory, { + response = this.stableDiffusionService.sdxl(messagesHistory, { chatId: assistantLogId, maxModelTokens, apiKey: modelKey, @@ -497,14 +422,14 @@ let ChatService = class ChatService { answer: '生成失败', status: 4, }); - } + }, }); await this.chatLogService.updateChatLog(assistantLogId, { answer: '绘制中', }); } else { - response = this.mjDraw({ + response = this.midjourneyService.midjourneyDraw({ usePrompt: usePrompt, prompt: prompt, apiKey: modelKey, @@ -534,21 +459,24 @@ let ChatService = class ChatService { return res.write(`\n${JSON.stringify(response)}`); } else { - response = await this.sendMessageFromAi(messagesHistory, { + response = await this.openAIChatService.openAIChat(messagesHistory, { chatId: assistantLogId, maxModelTokens, apiKey: modelKey, model: useModel, modelName: useModeName, + temperature, modelType, prompt, fileInfo, isFileUpload, timeout: modelTimeout, proxyUrl: proxyResUrl, + modelAvatar: modelAvatar, onProgress: (chat) => { - res.write(firstChunk ? JSON.stringify(chat) : `\n${JSON.stringify(chat)}`); - lastChat = chat; + res.write(firstChunk + ? JSON.stringify(chat) + : `\n${JSON.stringify(chat)}`); firstChunk = false; }, onFailure: async (data) => { @@ -556,8 +484,9 @@ let ChatService = class ChatService { answer: data.errMsg, status: 4, }); - } - }, isClientClosed); + }, + abortController, + }); if (response.errMsg) { isStop = false; isSuccess = true; @@ -565,11 +494,11 @@ let ChatService = class ChatService { return res.write(`\n${JSON.stringify(response)}`); } let totalText = ''; - messagesHistory.forEach(messagesHistory => { + messagesHistory.forEach((messagesHistory) => { totalText += messagesHistory.content + ' '; }); - const promptTokens = await this.getTokenCount(totalText); - const completionTokens = await this.getTokenCount(response.answer); + const promptTokens = await (0, utils_1.getTokenCount)(totalText); + const completionTokens = await (0, utils_1.getTokenCount)(response.answer); await this.chatLogService.updateChatLog(userLogId, { promptTokens: promptTokens, completionTokens: completionTokens, @@ -581,14 +510,16 @@ let ChatService = class ChatService { promptTokens: promptTokens, completionTokens: completionTokens, totalTokens: promptTokens + completionTokens, - status: 3 + status: 3, }); if (isTokenBased === true) { - charge = Math.ceil((deduct * (promptTokens + completionTokens)) / tokenFeeRatio); + charge = + deduct * + Math.ceil((promptTokens + completionTokens) / tokenFeeRatio); } - await this.userBalanceService.deductFromBalance(req.user.id, deductType, charge, (promptTokens + completionTokens)); - await this.modelsService.saveUseLog(keyId, (promptTokens + completionTokens)); - common_1.Logger.log(`用户ID: ${req.user.id} 模型名称: ${useModeName} 模型: ${model} 消耗token: ${(promptTokens + completionTokens)}, 消耗积分: ${charge}`, 'ChatService'); + await this.userBalanceService.deductFromBalance(req.user.id, deductType, charge, promptTokens + completionTokens); + await this.modelsService.saveUseLog(keyId, promptTokens + completionTokens); + common_1.Logger.log(`用户ID: ${req.user.id} 模型名称: ${useModeName} 模型: ${model} 消耗token: ${promptTokens + completionTokens}, 消耗积分: ${charge}`, 'ChatService'); const userBalance = await this.userBalanceService.queryUserBalance(req.user.id); response.userBalance = Object.assign({}, userBalance); isStop = false; @@ -606,19 +537,21 @@ let ChatService = class ChatService { } } else { - response = await this.sendMessageFromAi(messagesHistory, { + response = await this.openAIChatService.openAIChat(messagesHistory, { chatId: assistantLogId, maxModelTokens, apiKey: modelKey, model: useModel, modelName: useModeName, modelType, + temperature, prompt, fileInfo, isFileUpload, timeout: modelTimeout, proxyUrl: proxyResUrl, - }, isClientClosed); + abortController, + }); await this.userBalanceService.deductFromBalance(req.user.id, deductType, charge); return response.answer; } @@ -645,30 +578,43 @@ let ChatService = class ChatService { throw new common_1.HttpException(error.message, common_1.HttpStatus.BAD_REQUEST); } } - let message = errorMessage_constant_1.OpenAiErrorCodeMessage[status] ? errorMessage_constant_1.OpenAiErrorCodeMessage[status] : '服务异常、请重新试试吧!!!'; - if ((error === null || error === void 0 ? void 0 : error.message.includes('The OpenAI account associated with this API key has been deactivated.')) && Number(modelType) === 1) { + let message = errorMessage_constant_1.OpenAiErrorCodeMessage[status] + ? errorMessage_constant_1.OpenAiErrorCodeMessage[status] + : '服务异常、请重新试试吧!!!'; + if ((error === null || error === void 0 ? void 0 : error.message.includes('The OpenAI account associated with this API key has been deactivated.')) && + Number(modelType) === 1) { await this.modelsService.lockKey(keyId, '当前模型key已被封禁、已冻结当前调用Key、尝试重新对话试试吧!', -1); message = '当前模型key已被封禁'; } - if ((error === null || error === void 0 ? void 0 : error.statusCode) === 429 && error.message.includes('billing') && Number(modelType) === 1) { + if ((error === null || error === void 0 ? void 0 : error.statusCode) === 429 && + error.message.includes('billing') && + Number(modelType) === 1) { await this.modelsService.lockKey(keyId, '当前模型key余额已耗尽、已冻结当前调用Key、尝试重新对话试试吧!', -3); message = '当前模型key余额已耗尽'; } - if ((error === null || error === void 0 ? void 0 : error.statusCode) === 429 && (error === null || error === void 0 ? void 0 : error.statusText) === 'Too Many Requests') { + if ((error === null || error === void 0 ? void 0 : error.statusCode) === 429 && + (error === null || error === void 0 ? void 0 : error.statusText) === 'Too Many Requests') { message = '当前模型调用过于频繁、请重新试试吧!'; } - if ((error === null || error === void 0 ? void 0 : error.statusCode) === 401 && error.message.includes('Incorrect API key provided') && Number(modelType) === 1) { + if ((error === null || error === void 0 ? void 0 : error.statusCode) === 401 && + error.message.includes('Incorrect API key provided') && + Number(modelType) === 1) { await this.modelsService.lockKey(keyId, '提供了错误的模型秘钥', -2); message = '提供了错误的模型秘钥、已冻结当前调用Key、请重新尝试对话!'; } - if ((error === null || error === void 0 ? void 0 : error.statusCode) === 404 && error.message.includes('This is not a chat model and thus not supported') && Number(modelType) === 1) { + if ((error === null || error === void 0 ? void 0 : error.statusCode) === 404 && + error.message.includes('This is not a chat model and thus not supported') && + Number(modelType) === 1) { await this.modelsService.lockKey(keyId, '当前模型不是聊天模型', -4); message = '当前模型不是聊天模型、已冻结当前调用Key、请重新尝试对话!'; } if (code === 400) { - console.log('400 error', error, error.message); + common_1.Logger.error('400 error', error, error.message); } - const errMsg = { message: message || 'Please check the back-end console', code: code === 401 ? 400 : code || 500 }; + const errMsg = { + message: message || 'Please check the back-end console', + code: code === 401 ? 400 : code || 500, + }; if (res) { return res.write(JSON.stringify(errMsg)); } @@ -680,613 +626,230 @@ let ChatService = class ChatService { res && res.end(); } } - async setChatBoxType(req, body) { - try { - const { name, icon, order, id, status } = body; - if (id) { - return await this.chatBoxTypeEntity.update({ id }, { name, icon, order, status }); - } - else { - return await this.chatBoxTypeEntity.save({ name, icon, order, status }); - } - } - catch (error) { - console.log('error: ', error); - } - } - async delChatBoxType(req, body) { - const { id } = body; - if (!id) { - throw new common_1.HttpException('非法操作!', common_1.HttpStatus.BAD_REQUEST); - } - const count = await this.chatBoxEntity.count({ where: { typeId: id } }); - if (count) { - throw new common_1.HttpException('当前分类下有未处理数据不可移除!', common_1.HttpStatus.BAD_REQUEST); - } - return await this.chatBoxTypeEntity.delete({ id }); - } - async queryChatBoxType() { - return await this.chatBoxTypeEntity.find({ - order: { order: 'DESC' }, - }); - } - async setChatBox(req, body) { - const { title, prompt, appId, order, status, typeId, id, url } = body; - if (!typeId) { - throw new common_1.HttpException('缺失必要参数!', common_1.HttpStatus.BAD_REQUEST); - } - try { - const params = { title, order, status, typeId, url }; - params.appId = appId || 0; - params.prompt = prompt || ''; - if (id) { - return await this.chatBoxEntity.update({ id }, params); - } - else { - return await this.chatBoxEntity.save(params); - } - } - catch (error) { - console.log('error: ', error); - } - } - async delChatBox(req, body) { - const { id } = body; - if (!id) { - throw new common_1.HttpException('非法操作!', common_1.HttpStatus.BAD_REQUEST); - } - return await this.chatBoxEntity.delete({ id }); - } - async queryChatBox() { - const data = await this.chatBoxEntity.find({ - order: { order: 'DESC' }, - }); - const typeIds = [...new Set(data.map((t) => t.typeId))]; - const appIds = [...new Set(data.map((t) => t.appId))]; - const typeRes = await this.chatBoxTypeEntity.find({ where: { id: (0, typeorm_2.In)(typeIds) } }); - const appRes = await this.appEntity.find({ where: { id: (0, typeorm_2.In)(appIds) } }); - return data.map((item) => { - const { typeId, appId } = item; - item.typeInfo = typeRes.find((t) => t.id === typeId); - item.appInfo = appRes.find((t) => t.id === appId); - return item; - }); - } - async queryChatBoxFrontend() { - const typeRes = await this.chatBoxTypeEntity.find({ order: { order: 'DESC' }, where: { status: true } }); - const boxinfos = await this.chatBoxEntity.find({ where: { status: true } }); - const appIds = [...new Set(boxinfos.map((t) => t.appId))]; - const appInfos = await this.appEntity.find({ where: { id: (0, typeorm_2.In)(appIds) } }); - boxinfos.forEach((item) => { - const app = appInfos.find((k) => k.id === item.appId); - item.coverImg = app === null || app === void 0 ? void 0 : app.coverImg; - return item; - }); - return typeRes.map((t) => { - t.childList = boxinfos.filter((box) => box.typeId === t.id && box.status); - return t; - }); - } - async setChatPreType(req, body) { - try { - const { name, icon, order, id, status } = body; - if (id) { - return await this.chatPreTypeEntity.update({ id }, { name, icon, order, status }); - } - else { - return await this.chatPreTypeEntity.save({ name, icon, order, status }); - } - } - catch (error) { - console.log('error: ', error); - } - } - async delChatPreType(req, body) { - const { id } = body; - if (!id) { - throw new common_1.HttpException('非法操作!', common_1.HttpStatus.BAD_REQUEST); - } - const count = await this.chatBoxEntity.count({ where: { typeId: id } }); - if (count) { - throw new common_1.HttpException('当前分类下有未处理数据不可移除!', common_1.HttpStatus.BAD_REQUEST); - } - return await this.chatPreTypeEntity.delete({ id }); - } - async queryChatPreType() { - return await this.chatPreTypeEntity.find({ - order: { order: 'DESC' }, - }); - } - async setChatPre(req, body) { - const { title, prompt, appId, order, status, typeId, id, url } = body; - if (!typeId) { - throw new common_1.HttpException('缺失必要参数!', common_1.HttpStatus.BAD_REQUEST); - } - try { - const params = { title, prompt, order, status, typeId, url }; - if (id) { - return await this.chatPreEntity.update({ id }, params); - } - else { - return await this.chatPreEntity.save(params); - } - } - catch (error) { - console.log('error: ', error); - } - } - async delChatPre(req, body) { - const { id } = body; - if (!id) { - throw new common_1.HttpException('非法操作!', common_1.HttpStatus.BAD_REQUEST); - } - return await this.chatPreEntity.delete({ id }); - } - async queryChatPre() { - const data = await this.chatPreEntity.find({ - order: { order: 'DESC' }, - }); - const typeIds = [...new Set(data.map((t) => t.typeId))]; - const typeRes = await this.chatPreTypeEntity.find({ where: { id: (0, typeorm_2.In)(typeIds) } }); - return data.map((item) => { - const { typeId, appId } = item; - item.typeInfo = typeRes.find((t) => t.id === typeId); - return item; - }); - } - async queryChatPreList() { - const typeRes = await this.chatPreTypeEntity.find({ order: { order: 'DESC' }, where: { status: true } }); - const chatPreData = await this.chatPreEntity.find({ where: { status: true } }); - return typeRes.map((t) => { - t.childList = chatPreData.filter((box) => box.typeId === t.id && box.status); - return t; - }); - } - async sdxl(messagesHistory, inputs) { - const { onGenerate, onSuccess, onFailure, apiKey, model, proxyUrl, modelName, timeout, chatId, isFileUpload, prompt } = inputs; - let result = { answer: '', model: model, modelName: modelName, chatId: chatId, fileInfo: '', status: 2 }; - console.log('开始处理', { model, modelName, prompt }); + async usePlugin(prompt, pluginParam) { + const { pluginUrl, pluginKey } = await this.globalConfigService.getConfigs([ + 'pluginUrl', + 'pluginKey', + ]); + const key = pluginKey; + const proxyUrl = pluginUrl; const options = { method: 'POST', - url: `${proxyUrl}/v1/chat/completions`, - timeout: timeout, - headers: { - "Content-Type": "application/json", - "Authorization": `Bearer ${apiKey}`, - }, - data: { - model, - messages: [{ "role": "user", "content": prompt }], - }, - }; - try { - const response = await (0, axios_1.default)(options); - console.log('API响应接收', response.data); - if (response.data.choices && response.data.choices.length > 0) { - const choice = response.data.choices[0]; - const content = choice.message.content; - console.log('处理内容', content); - const regex = /\]\((https?:\/\/[^\)]+)\)/; - const match = content.match(regex); - if (match && match[1]) { - result.fileInfo = match[1]; - console.log('找到链接', match[1]); - } - else { - console.log('没有找到链接'); - } - let revised_prompt_cn; - result.answer = `${prompt} 绘制成功`; - if (result.fileInfo) { - onSuccess(result); - return; - } - else { - onFailure("No link found."); - } - } - else { - onFailure("No choices returned."); - } - } - catch (error) { - common_1.Logger.error('服务器错误,请求失败:', error); - } - } - async suno(messagesHistory, inputs) { - common_1.Logger.log('开始生成歌曲'); - const { onGenerate, onFailure, onSuccess, apiKey, model, proxyUrl, timeout, prompt } = inputs; - let result = { answer: '', fileInfo: '', errMsg: '' }; - let fullText = ''; - const options = { - method: 'POST', - url: `${proxyUrl}/v1/chat/completions`, - responseType: "stream", - timeout: timeout, - headers: { - "Content-Type": "application/json", - "Authorization": `Bearer ${apiKey}`, - }, - data: { - stream: true, - model, - messages: [{ - "role": "user", - "content": prompt - }], - }, - }; - try { - const response = await (0, axios_1.default)(options); - const stream = response.data; - await new Promise((resolve, reject) => { - stream.on('data', (chunk) => { - common_1.Logger.log('生成进度: ', fullText); - const splitArr = chunk.toString().split('\n\n').filter(line => line.trim()); - splitArr.forEach(line => { - var _a, _b; - const videoLinkMatch = fullText.match(/\((https?:\/\/[^\)]+\.mp4)\)/); - if (line.trim() === "data: [DONE]" || videoLinkMatch) { - if (videoLinkMatch) { - result.fileInfo = videoLinkMatch[1]; - onSuccess(result); - return; - } - return; - } - try { - const jsonLine = JSON.parse(line.replace(/^data: /, '').trim()); - const content = ((_b = (_a = jsonLine.choices[0]) === null || _a === void 0 ? void 0 : _a.delta) === null || _b === void 0 ? void 0 : _b.content) || ''; - fullText += content; - if (!fullText.includes('### 🎵')) { - if (fullText.includes('生成中..')) { - result.answer = '歌曲生成中'; - onGenerate(result); - } - else if (fullText.includes('排队中.')) { - result.answer = '排队中'; - onGenerate(result); - } - else { - result.answer = '提交成功,歌曲生成中'; - onGenerate(result); - } - } - else if (!fullText.includes('**风格:**')) { - const startLyricsIndex = fullText.indexOf('### 🎵'); - result.answer = fullText.substring(startLyricsIndex); - onGenerate(result); - } - else { - const startLyricsIndex = fullText.indexOf('### 🎵'); - const endStyleIndex = fullText.indexOf('**风格:**'); - result.answer = fullText.substring(startLyricsIndex, endStyleIndex); - onGenerate(result); - } - const videoLinkMatch = fullText.match(/\((https?:\/\/[^\)]+\.mp4)\)/); - if (videoLinkMatch) { - result.fileInfo = videoLinkMatch[1]; - onSuccess(result); - return; - } - } - catch (error) { - console.error('Parse error', error, line); - } - }); - }); - stream.on('end', () => { - common_1.Logger.log('Stream ended'); - resolve(result); - }); - stream.on('error', (error) => { - common_1.Logger.error('Stream error:', error); - reject(error); - }); - }); - return result; - } - catch (error) { - result.errMsg = await this.handleError(error); - common_1.Logger.error(result.errMsg); - onFailure(result); - return; - } - } - async sendMessageFromAi(messagesHistory, inputs, isClientClosed) { - const { onFailure, onProgress, apiKey, model, proxyUrl, modelName, timeout, chatId, isFileUpload, modelAvatar, temperature, } = inputs; - let result = { - text: '', - model: '', - modelName: modelName, - chatId: chatId, - answer: '', - errMsg: '', - modelAvatar: modelAvatar, - }; - const options = { - method: 'POST', - url: `${proxyUrl}/v1/chat/completions`, - responseType: 'stream', - timeout: timeout, + url: `${proxyUrl}/plugins/${pluginParam}`, headers: { 'Content-Type': 'application/json', - Authorization: `Bearer ${apiKey}`, + Authorization: `Bearer ${key}`, + }, + data: { + prompt: prompt, }, - data: Object.assign({ stream: true, model, temperature: temperature, messages: messagesHistory }, (isFileUpload === 2 && { max_tokens: 2048 })), }; try { const response = await (0, axios_1.default)(options); - const stream = response.data; - await new Promise((resolve, reject) => { - stream.on('data', (chunk) => { - const pattern = /(?<=\})(\n\n)(?=data)/g; - const splitArr = chunk - .toString() - .split(pattern) - .filter((line) => line.trim()); - // common_1.Logger.log('splitArr', splitArr); - splitArr.forEach((line) => { - var _a, _b; - if (line.trim() === 'data: [DONE]') { - console.log('处理结束信号 [DONE]'); - resolve(result); - return; - } - try { - const cleanedLine = line.replace(/^data: /, '').trim(); - if (!cleanedLine) - return; - const jsonLine = JSON.parse(cleanedLine); - if (jsonLine) { - const content = ((_b = (_a = jsonLine.choices[0]) === null || _a === void 0 ? void 0 : _a.delta) === null || _b === void 0 ? void 0 : _b.content) || ''; - result.answer += content; - onProgress === null || onProgress === void 0 ? void 0 : onProgress({ text: content, answer: result.answer }); - } - } - catch (error) { - const contentMatch = line.match(/"content":"([^"]+)"/); - if (contentMatch && contentMatch[1]) { - result.answer += contentMatch[1]; - onProgress === null || onProgress === void 0 ? void 0 : onProgress({ text: contentMatch[1], answer: result.answer }); - } - } - }); - }); - stream.on('error', reject); - }); - return result; + common_1.Logger.log(`插件调用成功 返回结果: ${JSON.stringify(response.data, null, 2)}`, 'PluginService'); + return response.data.text; } catch (error) { - result.errMsg = await this.handleError(error); - common_1.Logger.error(result.errMsg); - onFailure(result); - return result; + common_1.Logger.error('error: ', error); } } - async handleError(error) { - let message = '发生未知错误,请稍后再试'; - if (axios_1.default.isAxiosError(error) && error.response) { - switch (error.response.status) { - case 400: - message = '发生错误:400 Bad Request - 请求因格式错误无法被服务器处理。'; - break; - case 401: - message = '发生错误:401 Unauthorized - 请求要求进行身份验证。'; - break; - case 403: - message = '发生错误:403 Forbidden - 服务器拒绝执行请求。'; - break; - case 404: - message = '发生错误:404 Not Found - 请求的资源无法在服务器上找到。'; - break; - case 500: - message = '发生错误:500 Internal Server Error - 服务器内部错误,无法完成请求。'; - break; - case 502: - message = '发生错误:502 Bad Gateway - 作为网关或代理工作的服务器从上游服务器收到无效响应。'; - break; - case 503: - message = '发生错误:503 Service Unavailable - 服务器暂时处于超负载或维护状态,无法处理请求。'; - break; - default: - break; - } - } - else { - message = error.message || message; - } - return message; - } - async getTokenCount(text) { - if (!text) - return 0; - if (typeof text !== 'string') { - text = String(text); - } - text = text.replace(/<\|endoftext\|>/g, ''); - const tokenizer = (0, tiktoken_1.get_encoding)('cl100k_base'); - return tokenizer.encode(text).length; - } - async mjDraw(inputs) { - var _a, _b; - const { id, apiKey, proxyUrl, action, drawId, prompt, usePrompt, customId, timeout, assistantLogId } = inputs; - let result = { text: '', fileInfo: '', drawId: '', customId: '', status: 2 }; - let response; - let retryCount = 0; - let url = ''; - while (retryCount < 3) { - let payloadJson = {}; - try { - if (action === 'IMAGINE') { - url = `${proxyUrl}/mj/submit/imagine`; - payloadJson = { prompt: usePrompt }; - } - else { - url = `${proxyUrl}/mj/submit/action`; - payloadJson = { taskId: drawId, customId: customId }; - } - const headers = { "mj-api-secret": apiKey }; - common_1.Logger.debug(`正在准备发送请求到 ${url},payload: ${JSON.stringify(payloadJson)}, headers: ${JSON.stringify(headers)}`); - response = await axios_1.default.post(url, payloadJson, { headers }); - common_1.Logger.debug(`任务提交结果,状态码: ${response.status}, 状态消息: ${response.statusText}, 数据: ${JSON.stringify(response.data)}`); - if ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.result) { - result.drawId = (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.result; - break; - } - else { - throw new Error('未能获取结果数据, 即将重试'); - } - } - catch (error) { - retryCount++; - if (retryCount >= 3) { - common_1.Logger.log(`绘画任务提交失败, 请检查后台配置或者稍后重试! ${error}`, 'MidjourneyService'); - } - } - } - this.pollMjDrawingResult({ - proxyUrl, - apiKey, - drawId: response.data.result, - timeout, - prompt, - onSuccess: async (data) => { - await this.chatLogService.updateChatLog(assistantLogId, { - fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo, - answer: (data === null || data === void 0 ? void 0 : data.answer) || prompt, - progress: '100%', - status: 3, - drawId: data === null || data === void 0 ? void 0 : data.drawId, - customId: data === null || data === void 0 ? void 0 : data.customId, - }); - common_1.Logger.log('绘图成功!'); - }, - onDrawing: async (data) => { - await this.chatLogService.updateChatLog(assistantLogId, { - answer: (data === null || data === void 0 ? void 0 : data.answer) || '绘制中', - progress: data === null || data === void 0 ? void 0 : data.progress, - status: 2, - }); - common_1.Logger.log(`绘制中!绘制进度${data === null || data === void 0 ? void 0 : data.progress}`); - }, - onFailure: async (data) => { - await this.chatLogService.updateChatLog(assistantLogId, { - answer: '绘图失败', - status: data.status, - }); - common_1.Logger.log('绘图失败'); - } - }).catch(error => { - common_1.Logger.error("查询绘图结果时发生错误:", error, 'MidjourneyService'); - }); - common_1.Logger.log(`绘画任务提交成功, 绘画ID: ${response.data.result}`, 'MidjourneyService'); - return result; - } - async pollMjDrawingResult(inputs) { - const { proxyUrl, apiKey, drawId, timeout, onSuccess, prompt, onFailure, onDrawing } = inputs; - const { mjNotSaveImg, mjProxyImgUrl, mjNotUseProxy, } = await this.globalConfigService.getConfigs([ - 'mjNotSaveImg', - 'mjProxyImgUrl', - 'mjNotUseProxy', - ]); - let response; - let result = { fileInfo: '', drawId: '', customId: '', status: 2, progress: 0, answer: '' }; - let payloadJson = {}; - const startTime = Date.now(); - const POLL_INTERVAL = 5000; - let retryCount = 0; - let pollingCount = 0; - try { - while (Date.now() - startTime < timeout) { - await new Promise(resolve => setTimeout(resolve, POLL_INTERVAL)); + async updateChatTitle(groupId, groupInfo, modelType, prompt, req) { + if ((groupInfo === null || groupInfo === void 0 ? void 0 : groupInfo.title) === '新对话') { + let chatTitle; + if (modelType === 1) { try { - const headers = { - "Content-Type": "application/x-www-form-urlencoded", - "mj-api-secret": apiKey - }; - const url = `${proxyUrl}/mj/task/${drawId}/fetch`; - const res = await axios_1.default.get(url, { headers }); - const responses = res.data; - if (responses.status === 'SUCCESS') { - common_1.Logger.log(`绘制成功, 获取到的URL: ${responses.imageUrl}`, 'MidjourneyService'); - let processedUrl = responses.imageUrl; - const shouldReplaceUrl = mjNotUseProxy === '0' && mjProxyImgUrl; - let logMessage = ''; - if (shouldReplaceUrl) { - const newUrlBase = new URL(mjProxyImgUrl); - const parsedUrl = new URL(responses.imageUrl); - parsedUrl.protocol = newUrlBase.protocol; - parsedUrl.hostname = newUrlBase.hostname; - parsedUrl.port = newUrlBase.port ? newUrlBase.port : ''; - processedUrl = parsedUrl.toString(); - logMessage = `使用代理替换后的 URL: ${processedUrl}`; - common_1.Logger.log(logMessage, 'MidjourneyService'); - } - if (mjNotSaveImg !== '1') { - try { - common_1.Logger.debug(`------> 开始上传图片!!!`); - const filename = `${Date.now()}-${uuid.v4().slice(0, 4)}.png`; - processedUrl = await this.uploadService.uploadFileFromUrl({ filename, url: processedUrl }); - logMessage = `上传成功 URL: ${processedUrl}`; - } - catch (uploadError) { - common_1.Logger.error('存储图片失败,使用原始/代理图片链接'); - logMessage = `存储图片失败,使用原始/代理图片链接 ${processedUrl}`; - } - common_1.Logger.log(logMessage, 'MidjourneyService'); - } - else { - logMessage = `不保存图片,使用 URL: ${processedUrl}`; - common_1.Logger.log(logMessage, 'MidjourneyService'); - } - result.fileInfo = processedUrl; - result.drawId = responses.id; - result.customId = JSON.stringify(responses.buttons); - result.answer = `${prompt}\n${responses.finalPrompt || responses.properties.finalPrompt || ''}`; - onSuccess(result); - return; + chatTitle = await this.openAIChatService.chatFree(`根据用户提问{${prompt}},给这个对话取一个名字,不超过10个字`); + } + catch (error) { + common_1.Logger.error(`调用 chatFree 出错: ${error}`); + chatTitle = prompt.slice(0, 10); + } + } + else { + chatTitle = '创意 AI'; + } + if (chatTitle.length > 15) { + chatTitle = chatTitle.slice(0, 15); + } + this.chatGroupService + .update({ + groupId, + title: chatTitle, + isSticky: false, + config: '', + }, req) + .then(() => common_1.Logger.log(`更新标题名称为: ${chatTitle}`, 'ChatService')) + .catch((error) => common_1.Logger.error(`更新对话组标题失败: ${error}`)); + } + } + async buildMessageFromParentMessageId(text, options, chatLogService) { + let { systemMessage = '', fileInfo, groupId, maxRounds = 5, maxModelTokens = 8000, isFileUpload = 0, } = options; + let messages = []; + if (systemMessage) { + messages.push({ role: 'system', content: systemMessage }); + } + if (groupId) { + const history = await chatLogService.chatHistory(groupId, maxRounds); + let tempUserMessage = null; + history.forEach((record) => { + try { + let content; + if (isFileUpload === 2 && record.fileInfo && record.role === 'user') { + content = [ + { type: 'text', text: record.text }, + { type: 'image_url', image_url: { url: record.fileInfo } }, + ]; } - result.progress = responses === null || responses === void 0 ? void 0 : responses.progress; - result.answer = `当前绘制进度 ${responses === null || responses === void 0 ? void 0 : responses.progress}`; - if (result.progress) { - onDrawing(result); + else if (isFileUpload === 1 && + record.fileInfo && + record.role === 'user') { + content = record.fileInfo + '\n' + record.text; + } + else { + content = record.text; + } + if (record.role === 'user') { + tempUserMessage = { role: record.role, content }; + } + else if (record.role === 'assistant') { + const contentStr = Array.isArray(content) + ? JSON.stringify(content) + : content; + if (tempUserMessage && contentStr.trim() !== '') { + messages.push(tempUserMessage); + messages.push({ role: record.role, content }); + tempUserMessage = null; + } } } catch (error) { - retryCount++; - common_1.Logger.error(`轮询过程中发生错误: ${error}`, 'MidjourneyService'); + common_1.Logger.error('处理历史记录时出错:', error, '记录:', JSON.stringify(record, null, 2)); + } + }); + } + let currentMessageContent; + if (isFileUpload === 2 && fileInfo) { + currentMessageContent = [ + { type: 'text', text }, + { type: 'image_url', image_url: { url: fileInfo } }, + ]; + } + else if (isFileUpload === 1 && fileInfo) { + currentMessageContent = fileInfo + '\n' + text; + } + else { + currentMessageContent = text; + } + messages.push({ role: 'user', content: currentMessageContent }); + let totalTokens = await (0, utils_1.getTokenCount)(messages); + let tokenLimit; + if (maxModelTokens < 8000) { + tokenLimit = 4000; + } + else { + tokenLimit = maxModelTokens - 4000; + } + while (totalTokens > tokenLimit) { + if (messages.length === 2 && + messages[0].role === 'system' && + messages[1].role === 'user') { + break; + } + let foundPairToDelete = false; + for (let i = 0; i < messages.length; i++) { + if (messages[i].role !== 'system' && + messages[i + 1] && + messages[i + 1].role === 'assistant') { + messages.splice(i, 2); + foundPairToDelete = true; + break; } } - common_1.Logger.error(`超过 ${startTime / 1000} s 未完成绘画, 请稍后再试! MidjourneyService`); - result.status = 4; - onFailure(result); - throw new common_1.HttpException('绘画超时,请稍后再试!', common_1.HttpStatus.BAD_REQUEST); + if (!foundPairToDelete) { + for (let i = 0; i < messages.length; i++) { + if (messages[i].role === 'user') { + messages.splice(i, 1); + break; + } + } + } + totalTokens = await (0, utils_1.getTokenCount)(messages); + if (messages.length <= 2) { + break; + } + } + return { + messagesHistory: messages, + round: messages.length, + }; + } + async ttsProcess(body, req, res) { + const { chatId, prompt } = body; + const detailKeyInfo = await this.modelsService.getCurrentModelKeyInfo('tts-1'); + const { openaiTimeout, openaiBaseUrl, openaiBaseKey } = await this.globalConfigService.getConfigs([ + 'openaiTimeout', + 'openaiBaseUrl', + 'openaiBaseKey', + ]); + const { key, proxyUrl, deduct, deductType, timeout } = detailKeyInfo; + const useKey = key || openaiBaseKey; + const useUrl = (0, utils_1.formatUrl)(proxyUrl || openaiBaseUrl); + const useTimeout = (timeout || openaiTimeout) * 1000; + await this.userBalanceService.validateBalance(req, deductType, deduct); + common_1.Logger.log('开始 TTS 请求:', prompt, 'TTSService'); + const options = { + method: 'POST', + url: `${useUrl}/v1/audio/speech`, + headers: { + 'Content-Type': 'application/json', + Authorization: `Bearer ${useKey}`, + }, + responseType: 'arraybuffer', + timeout: useTimeout, + data: { + model: 'tts-1', + input: prompt, + voice: 'onyx', + }, + }; + try { + const response = await (0, axios_1.default)(options); + common_1.Logger.log('TTS 请求获取成功', 'TTSService'); + const buffer = Buffer.from(response.data); + const filename = `${uuid.v4().slice(0, 10)}.mp3`; + const now = new Date(); + const year = now.getFullYear(); + const month = String(now.getMonth() + 1).padStart(2, '0'); + const day = String(now.getDate()).padStart(2, '0'); + const currentDate = `${year}${month}/${day}`; + common_1.Logger.log('开始上传语音', 'TTSService'); + const ttsUrl = await this.uploadService.uploadFile({ filename, buffer }, `audio/openai/${currentDate}`); + common_1.Logger.log(`文件上传成功,URL: ${ttsUrl}`, 'TTSService'); + await Promise.all([ + this.chatLogService.updateChatLog(chatId, { ttsUrl }), + this.userBalanceService.deductFromBalance(req.user.id, deductType, deduct), + ]); + res.status(200).send({ ttsUrl }); } catch (error) { - common_1.Logger.error(`绘画失败: ${error} MidjourneyService`); - result.status = 5; - onFailure(result); + common_1.Logger.error('TTS 请求或上传过程失败:', error, 'TTSService'); + res.status(500).send({ error: 'Failed to process TTS request' }); } } }; ChatService = __decorate([ (0, common_1.Injectable)(), __param(0, (0, typeorm_1.InjectRepository)(config_entity_1.ConfigEntity)), - __param(1, (0, typeorm_1.InjectRepository)(chatBoxType_entity_1.ChatBoxTypeEntity)), - __param(2, (0, typeorm_1.InjectRepository)(chatBox_entity_1.ChatBoxEntity)), - __param(3, (0, typeorm_1.InjectRepository)(app_entity_1.AppEntity)), - __param(4, (0, typeorm_1.InjectRepository)(chatPreType_entity_1.ChatPreTypeEntity)), - __param(5, (0, typeorm_1.InjectRepository)(chatPre_entity_1.ChatPreEntity)), + __param(1, (0, typeorm_1.InjectRepository)(app_entity_1.AppEntity)), + __param(2, (0, typeorm_1.InjectRepository)(plugin_entity_1.PluginEntity)), __metadata("design:paramtypes", [typeorm_2.Repository, typeorm_2.Repository, typeorm_2.Repository, - typeorm_2.Repository, - typeorm_2.Repository, - typeorm_2.Repository, - apiDataService_service_1.ApiDataService, + suno_service_1.SunoService, + openaiChat_service_1.OpenAIChatService, chatLog_service_1.ChatLogService, - nestjs_config_1.ConfigService, + midjourneyDraw_service_1.MidjourneyService, + stableDiffusion_service_1.StableDiffusionService, userBalance_service_1.UserBalanceService, user_service_1.UserService, upload_service_1.UploadService, @@ -1294,6 +857,8 @@ ChatService = __decorate([ autoreply_service_1.AutoreplyService, globalConfig_service_1.GlobalConfigService, chatGroup_service_1.ChatGroupService, - models_service_1.ModelsService]) + models_service_1.ModelsService, + openaiDraw_service_1.OpenAIDrawService, + lumaVideo_service_1.LumaVideoService]) ], ChatService); exports.ChatService = ChatService; diff --git a/dist/modules/chat/chatBoxType.entity.js b/dist/modules/chat/chatBoxType.entity.js deleted file mode 100644 index 411192e..0000000 --- a/dist/modules/chat/chatBoxType.entity.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatBoxTypeEntity = void 0; -const typeorm_1 = require("typeorm"); -const baseEntity_1 = require("../../common/entity/baseEntity"); -let ChatBoxTypeEntity = class ChatBoxTypeEntity extends baseEntity_1.BaseEntity { -}; -__decorate([ - (0, typeorm_1.Column)({ comment: '分类名称' }), - __metadata("design:type", String) -], ChatBoxTypeEntity.prototype, "name", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: 'icon图标' }), - __metadata("design:type", String) -], ChatBoxTypeEntity.prototype, "icon", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '排序ID', default: 10 }), - __metadata("design:type", Number) -], ChatBoxTypeEntity.prototype, "order", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '是否打开', default: true }), - __metadata("design:type", Boolean) -], ChatBoxTypeEntity.prototype, "status", void 0); -ChatBoxTypeEntity = __decorate([ - (0, typeorm_1.Entity)({ name: 'chat_box_type' }) -], ChatBoxTypeEntity); -exports.ChatBoxTypeEntity = ChatBoxTypeEntity; diff --git a/dist/modules/chat/chatPre.entity.js b/dist/modules/chat/chatPre.entity.js deleted file mode 100644 index ba86dfa..0000000 --- a/dist/modules/chat/chatPre.entity.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatPreEntity = void 0; -const typeorm_1 = require("typeorm"); -const baseEntity_1 = require("../../common/entity/baseEntity"); -let ChatPreEntity = class ChatPreEntity extends baseEntity_1.BaseEntity { -}; -__decorate([ - (0, typeorm_1.Column)({ comment: '分类ID' }), - __metadata("design:type", Number) -], ChatPreEntity.prototype, "typeId", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '预设问题描述词', nullable: true, type: 'text' }), - __metadata("design:type", String) -], ChatPreEntity.prototype, "prompt", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '标题名称' }), - __metadata("design:type", String) -], ChatPreEntity.prototype, "title", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '排序ID', default: 100 }), - __metadata("design:type", Number) -], ChatPreEntity.prototype, "order", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '开启状态', default: true }), - __metadata("design:type", Boolean) -], ChatPreEntity.prototype, "status", void 0); -ChatPreEntity = __decorate([ - (0, typeorm_1.Entity)({ name: 'chat_pre' }) -], ChatPreEntity); -exports.ChatPreEntity = ChatPreEntity; diff --git a/dist/modules/chat/chatPreType.entity.js b/dist/modules/chat/chatPreType.entity.js deleted file mode 100644 index d5b2977..0000000 --- a/dist/modules/chat/chatPreType.entity.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatPreTypeEntity = void 0; -const typeorm_1 = require("typeorm"); -const baseEntity_1 = require("../../common/entity/baseEntity"); -let ChatPreTypeEntity = class ChatPreTypeEntity extends baseEntity_1.BaseEntity { -}; -__decorate([ - (0, typeorm_1.Column)({ comment: '分类名称' }), - __metadata("design:type", String) -], ChatPreTypeEntity.prototype, "name", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: 'icon图标', nullable: true }), - __metadata("design:type", String) -], ChatPreTypeEntity.prototype, "icon", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '排序ID', default: 10 }), - __metadata("design:type", Number) -], ChatPreTypeEntity.prototype, "order", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '是否打开', default: true }), - __metadata("design:type", Boolean) -], ChatPreTypeEntity.prototype, "status", void 0); -ChatPreTypeEntity = __decorate([ - (0, typeorm_1.Entity)({ name: 'chat_pre_type' }) -], ChatPreTypeEntity); -exports.ChatPreTypeEntity = ChatPreTypeEntity; diff --git a/dist/modules/chat/store.js b/dist/modules/chat/store.js deleted file mode 100644 index 9045c07..0000000 --- a/dist/modules/chat/store.js +++ /dev/null @@ -1,137 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.NineStore = void 0; -const tiktoken_1 = require("@dqbd/tiktoken"); -const uuid_1 = require("uuid"); -const tokenizer = (0, tiktoken_1.get_encoding)('cl100k_base'); -class NineStore { - constructor(options) { - const { store, namespace, expires } = this.formatOptions(options); - this.store = store; - this.namespace = namespace; - this.expires = expires; - } - formatOptions(options) { - const { store, expires = 1000 * 60 * 60 * 24 * 3, namespace = 'chat' } = options; - return { store, namespace, expires }; - } - generateKey(key) { - return this.namespace ? `${this.namespace}-${key}` : key; - } - async getData(id) { - const res = await this.store.get(id); - return res; - } - async setData(message, expires = this.expires) { - await this.store.set(message.id, message, expires); - } - async buildMessageFromParentMessageId(text, options, chatLogService) { - let { systemMessage = '', fileInfo, model, groupId, maxRounds = 5, maxModelTokens = 4000, isFileUpload = 0 } = options; - let messages = []; - if (systemMessage) { - console.log('Adding system message:', systemMessage); - messages.push({ role: 'system', content: systemMessage }); - } - if (groupId) { - console.log('Querying chat history for groupId:', groupId, 'with maxRounds:', maxRounds); - const history = await chatLogService.chatHistory(groupId, maxRounds); - console.log('Received history records:', history.length); - let tempUserMessage = null; - history.forEach((record) => { - let content; - if (isFileUpload === 2 && record.fileInfo) { - content = [ - { type: "text", text: record.text }, - { type: "image_url", image_url: { url: record.fileInfo } } - ]; - } - else if (isFileUpload === 1 && record.fileInfo) { - content = record.fileInfo + "\n" + record.text; - } - else { - content = record.text; - } - if (record.role === 'user') { - tempUserMessage = { role: record.role, content }; - } - else if (record.role === 'assistant' && tempUserMessage && content.trim() !== '') { - messages.push(tempUserMessage); - messages.push({ role: record.role, content }); - tempUserMessage = null; - } - }); - } - let currentMessageContent; - if (isFileUpload === 2 && fileInfo) { - currentMessageContent = [ - { type: "text", text }, - { type: "image_url", image_url: { url: fileInfo } } - ]; - } - else if (isFileUpload === 1 && fileInfo) { - currentMessageContent = fileInfo + "\n" + text; - } - else { - currentMessageContent = text; - } - messages.push({ role: 'user', content: currentMessageContent }); - let totalTokens = await this._getTokenCount(messages); - while (totalTokens > maxModelTokens / 2) { - if (messages.length === 2 && messages[0].role === 'system' && messages[1].role === 'user') { - break; - } - let foundPairToDelete = false; - for (let i = 0; i < messages.length; i++) { - if (messages[i].role !== 'system' && messages[i + 1] && messages[i + 1].role === 'assistant') { - messages.splice(i, 2); - foundPairToDelete = true; - break; - } - } - if (!foundPairToDelete) { - for (let i = 0; i < messages.length; i++) { - if (messages[i].role === 'user') { - messages.splice(i, 1); - break; - } - } - } - totalTokens = await this._getTokenCount(messages); - if (messages.length <= 2) { - break; - } - } - return { - messagesHistory: messages, - round: messages.length - }; - } - _getTokenCount(messages) { - let text = messages.reduce((pre, cur) => { - if (Array.isArray(cur.content)) { - const contentText = cur.content - .filter((item) => item.type === 'text') - .map((item) => item.text) - .join(' '); - return pre + contentText; - } - else { - return pre + (cur.content || ''); - } - }, ''); - text = text.replace(/<\|endoftext\|>/g, ''); - return tokenizer.encode(text).length; - } - _recursivePruning(messages, maxNumTokens, systemMessage) { - const currentTokens = this._getTokenCount(messages); - if (currentTokens <= maxNumTokens) { - return messages; - } - messages.splice(systemMessage ? 1 : 0, 1); - return this._recursivePruning(messages, maxNumTokens, systemMessage); - } - getUuid() { - return (0, uuid_1.v4)(); - } -} -exports.NineStore = NineStore; diff --git a/dist/modules/chat/whiteList.entity.js b/dist/modules/chat/whiteList.entity.js deleted file mode 100644 index 4259e94..0000000 --- a/dist/modules/chat/whiteList.entity.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.WhiteListEntity = void 0; -const typeorm_1 = require("typeorm"); -const baseEntity_1 = require("../../common/entity/baseEntity"); -let WhiteListEntity = class WhiteListEntity extends baseEntity_1.BaseEntity { -}; -__decorate([ - (0, typeorm_1.Column)({ unique: true, comment: '用户ID' }), - __metadata("design:type", Number) -], WhiteListEntity.prototype, "userId", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '使用次数限制', default: 0 }), - __metadata("design:type", Number) -], WhiteListEntity.prototype, "count", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '当前用户状态', default: 1 }), - __metadata("design:type", Number) -], WhiteListEntity.prototype, "status", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '已经使用的次数', default: 0 }), - __metadata("design:type", Number) -], WhiteListEntity.prototype, "useCount", void 0); -WhiteListEntity = __decorate([ - (0, typeorm_1.Entity)({ name: 'white_list' }) -], WhiteListEntity); -exports.WhiteListEntity = WhiteListEntity; diff --git a/dist/modules/chatLog/chatLog.entity.js b/dist/modules/chatLog/chatLog.entity.js index d26f392..7b3d3a1 100644 --- a/dist/modules/chatLog/chatLog.entity.js +++ b/dist/modules/chatLog/chatLog.entity.js @@ -23,13 +23,21 @@ __decorate([ __metadata("design:type", String) ], ChatLogEntity.prototype, "model", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '使用类型1: 普通对话 2: 绘图 3: 拓展性对话', nullable: true, default: 1 }), + (0, typeorm_1.Column)({ + comment: '使用类型1: 普通对话 2: 绘图 3: 拓展性对话', + nullable: true, + default: 1, + }), __metadata("design:type", Number) ], ChatLogEntity.prototype, "type", void 0); __decorate([ (0, typeorm_1.Column)({ comment: '自定义的模型名称', nullable: true, default: 'AI' }), __metadata("design:type", String) ], ChatLogEntity.prototype, "modelName", void 0); +__decorate([ + (0, typeorm_1.Column)({ comment: '自定义的模型名称', nullable: false, default: '' }), + __metadata("design:type", String) +], ChatLogEntity.prototype, "modelAvatar", void 0); __decorate([ (0, typeorm_1.Column)({ comment: 'Ip地址', nullable: true }), __metadata("design:type", String) @@ -67,19 +75,15 @@ __decorate([ __metadata("design:type", String) ], ChatLogEntity.prototype, "role", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '当前绘制任务的进度', nullable: true }), + (0, typeorm_1.Column)({ comment: '任务进度', nullable: true }), __metadata("design:type", String) ], ChatLogEntity.prototype, "progress", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '当前绘制任务的耗时', nullable: true }), - __metadata("design:type", Number) -], ChatLogEntity.prototype, "durationSpent", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '当前绘制任务的状态', nullable: true, default: 3 }), + (0, typeorm_1.Column)({ comment: '任务状态', nullable: true, default: 3 }), __metadata("design:type", Number) ], ChatLogEntity.prototype, "status", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: 'mj绘画的动作、绘图、放大、变换、图生图', nullable: true }), + (0, typeorm_1.Column)({ comment: '任务类型', nullable: true }), __metadata("design:type", String) ], ChatLogEntity.prototype, "action", void 0); __decorate([ @@ -91,11 +95,7 @@ __decorate([ __metadata("design:type", String) ], ChatLogEntity.prototype, "drawId", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '图片比例', nullable: true, type: 'text' }), - __metadata("design:type", String) -], ChatLogEntity.prototype, "drawRatio", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '对话或绘图附带的链接', nullable: true, type: 'text' }), + (0, typeorm_1.Column)({ comment: '文件信息', nullable: true, type: 'text' }), __metadata("design:type", String) ], ChatLogEntity.prototype, "fileInfo", void 0); __decorate([ @@ -118,6 +118,22 @@ __decorate([ (0, typeorm_1.Column)({ comment: '是否删除', default: false }), __metadata("design:type", Boolean) ], ChatLogEntity.prototype, "isDelete", void 0); +__decorate([ + (0, typeorm_1.Column)({ comment: '任务ID', nullable: true }), + __metadata("design:type", String) +], ChatLogEntity.prototype, "taskId", void 0); +__decorate([ + (0, typeorm_1.Column)({ comment: '任务数据', nullable: true, type: 'text' }), + __metadata("design:type", String) +], ChatLogEntity.prototype, "taskData", void 0); +__decorate([ + (0, typeorm_1.Column)({ comment: '视频Url', nullable: true, type: 'text' }), + __metadata("design:type", String) +], ChatLogEntity.prototype, "videoUrl", void 0); +__decorate([ + (0, typeorm_1.Column)({ comment: '音频Url', nullable: true, type: 'text' }), + __metadata("design:type", String) +], ChatLogEntity.prototype, "audioUrl", void 0); ChatLogEntity = __decorate([ (0, typeorm_1.Entity)({ name: 'chatlog' }) ], ChatLogEntity); diff --git a/dist/modules/chatLog/chatLog.module.js b/dist/modules/chatLog/chatLog.module.js index 0126603..2dcf0c8 100644 --- a/dist/modules/chatLog/chatLog.module.js +++ b/dist/modules/chatLog/chatLog.module.js @@ -8,19 +8,26 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, Object.defineProperty(exports, "__esModule", { value: true }); exports.ChatLogModule = void 0; const common_1 = require("@nestjs/common"); -const chatLog_service_1 = require("./chatLog.service"); const typeorm_1 = require("@nestjs/typeorm"); -const chatLog_entity_1 = require("./chatLog.entity"); -const chatLog_controller_1 = require("./chatLog.controller"); -const user_entity_1 = require("../user/user.entity"); const badwords_entity_1 = require("../badwords/badwords.entity"); const chatGroup_entity_1 = require("../chatGroup/chatGroup.entity"); +const user_entity_1 = require("../user/user.entity"); +const chatLog_controller_1 = require("./chatLog.controller"); +const chatLog_entity_1 = require("./chatLog.entity"); +const chatLog_service_1 = require("./chatLog.service"); let ChatLogModule = class ChatLogModule { }; ChatLogModule = __decorate([ (0, common_1.Global)(), (0, common_1.Module)({ - imports: [typeorm_1.TypeOrmModule.forFeature([chatLog_entity_1.ChatLogEntity, user_entity_1.UserEntity, badwords_entity_1.BadWordsEntity, chatGroup_entity_1.ChatGroupEntity])], + imports: [ + typeorm_1.TypeOrmModule.forFeature([ + chatLog_entity_1.ChatLogEntity, + user_entity_1.UserEntity, + badwords_entity_1.BadWordsEntity, + chatGroup_entity_1.ChatGroupEntity, + ]), + ], controllers: [chatLog_controller_1.ChatLogController], providers: [chatLog_service_1.ChatLogService], exports: [chatLog_service_1.ChatLogService], diff --git a/dist/modules/chatLog/chatLog.service.js b/dist/modules/chatLog/chatLog.service.js index 2c39052..a9af548 100644 --- a/dist/modules/chatLog/chatLog.service.js +++ b/dist/modules/chatLog/chatLog.service.js @@ -59,7 +59,9 @@ let ChatLogService = class ChatLogService { if (r.type === 'paintCount') { const w = r.model === 'mj' ? 310 : 160; const imgType = r.answer.includes('cos') ? 'tencent' : 'ali'; - const compress = imgType === 'tencent' ? `?imageView2/1/w/${w}/q/55` : `?x-oss-process=image/resize,w_${w}`; + const compress = imgType === 'tencent' + ? `?imageView2/1/w/${w}/q/55` + : `?x-oss-process=image/resize,w_${w}`; r.thumbImg = r.answer + compress; try { r.fileInfo = r.fileInfo ? JSON.parse(r.fileInfo) : null; @@ -73,23 +75,43 @@ let ChatLogService = class ChatLogService { } async querAllDrawLog(params) { const { page = 1, size = 20, rec, userId, model } = params; - const where = { type: 2, prompt: (0, typeorm_2.Not)(''), answer: (0, typeorm_2.Not)(''), fileInfo: (0, typeorm_2.Not)(''), }; + const where = { + type: 2, + prompt: (0, typeorm_2.Not)(''), + answer: (0, typeorm_2.Not)(''), + fileInfo: (0, typeorm_2.Not)(''), + }; rec && Object.assign(where, { rec }); userId && Object.assign(where, { userId }); if (model) { where.model = model; } + else { + where.model = (0, typeorm_2.In)(['midjourney', 'dall-e-3', 'stable-diffusion']); + } const [rows, count] = await this.chatLogEntity.findAndCount({ order: { id: 'DESC' }, skip: (page - 1) * size, take: size, where, }); + const userIds = rows + .map((item) => item.userId) + .filter((id) => id < 100000); + const userInfos = await this.userEntity.find({ + where: { id: (0, typeorm_2.In)(userIds) }, + select: ['id', 'username', 'avatar', 'email'], + }); + rows.forEach((item) => { + item.userInfo = userInfos.find((user) => user.id === item.userId); + }); rows.forEach((r) => { var _a; const w = r.model === 'midjourney' ? 310 : 160; const imgType = r.answer.includes('cos') ? 'tencent' : 'ali'; - const compress = imgType === 'tencent' ? `?imageView2/1/w/${w}/q/55` : `?x-oss-process=image/resize,w_${w}`; + const compress = imgType === 'tencent' + ? `?imageView2/1/w/${w}/q/55` + : `?x-oss-process=image/resize,w_${w}`; r.thumbImg = r.answer + compress; try { const detailInfo = r.extend ? JSON.parse(r.extend) : null; @@ -115,7 +137,9 @@ let ChatLogService = class ChatLogService { } async recDrawImg(body) { const { id } = body; - const l = await this.chatLogEntity.findOne({ where: { id, type: balance_constant_1.ChatType.PAINT } }); + const l = await this.chatLogEntity.findOne({ + where: { id, type: balance_constant_1.ChatType.PAINT }, + }); if (!l) { throw new common_1.HttpException('你推荐的图片不存在、请检查!', common_1.HttpStatus.BAD_REQUEST); } @@ -141,7 +165,9 @@ let ChatLogService = class ChatLogService { where, }); const userIds = rows.map((r) => r.userId); - const userInfos = await this.userEntity.find({ where: { id: (0, typeorm_2.In)(userIds) } }); + const userInfos = await this.userEntity.find({ + where: { id: (0, typeorm_2.In)(userIds) }, + }); const data = rows.map((r) => { const userInfo = userInfos.find((u) => u.id === r.userId); return { @@ -179,15 +205,19 @@ let ChatLogService = class ChatLogService { where, }); const userIds = rows.map((item) => item.userId); - const userInfo = await this.userEntity.find({ where: { id: (0, typeorm_2.In)(userIds) }, select: ['id', 'username', 'email'] }); + const userInfo = await this.userEntity.find({ + where: { id: (0, typeorm_2.In)(userIds) }, + select: ['id', 'username', 'email'], + }); rows.forEach((item) => { const { username, email } = userInfo.find((u) => u.id === item.userId) || {}; item.username = username; item.email = email; }); - req.user.role !== 'super' && rows.forEach((t) => (t.email = (0, utils_1.maskEmail)(t.email))); + req.user.role !== 'super' && + rows.forEach((t) => (t.email = (0, utils_1.maskEmail)(t.email))); rows.forEach((item) => { - !item.email && (item.email = `${item === null || item === void 0 ? void 0 : item.userId}@nine.com`); + !item.email && (item.email = `${item === null || item === void 0 ? void 0 : item.userId}@aiweb.com`); !item.username && (item.username = `游客${item === null || item === void 0 ? void 0 : item.userId}`); }); return { rows, count }; @@ -198,13 +228,15 @@ let ChatLogService = class ChatLogService { const where = { userId: id, isDelete: false }; groupId && Object.assign(where, { groupId }); if (groupId) { - const count = await this.chatGroupEntity.count({ where: { isDelete: false } }); + const count = await this.chatGroupEntity.count({ + where: { isDelete: false }, + }); if (count === 0) return []; } const list = await this.chatLogEntity.find({ where }); return list.map((item) => { - const { prompt, role, answer, createdAt, model, modelName, type, status, action, drawId, id, fileInfo, ttsUrl, customId, pluginParam } = item; + const { prompt, role, answer, createdAt, model, modelName, type, status, action, drawId, id, fileInfo, ttsUrl, videoUrl, audioUrl, customId, pluginParam, modelAvatar, taskData, } = item; return { chatId: id, dateTime: (0, utils_1.formatDate)(createdAt), @@ -218,9 +250,13 @@ let ChatLogService = class ChatLogService { error: false, fileInfo: fileInfo, ttsUrl: ttsUrl, + videoUrl: videoUrl, + audioUrl: audioUrl, model: model, modelName: modelName, pluginParam: pluginParam, + modelAvatar: modelAvatar, + taskData: taskData, }; }); } @@ -232,18 +268,23 @@ let ChatLogService = class ChatLogService { const list = await this.chatLogEntity.find({ where, order: { - createdAt: 'DESC' + createdAt: 'DESC', }, - take: rounds * 2 + take: rounds * 2, }); - return list.map((item) => { + const result = list + .map((item) => { const { role, prompt, answer, fileInfo } = item; - return { + const record = { role: role, text: role === 'user' ? prompt : answer, fileInfo: fileInfo, }; - }).reverse(); + return record; + }) + .reverse(); + common_1.Logger.debug('处理后的结果:', JSON.stringify(result, null, 2)); + return result; } async deleteChatLog(req, body) { const { id: userId } = req.user; @@ -263,7 +304,9 @@ let ChatLogService = class ChatLogService { async delByGroupId(req, body) { const { groupId } = body; const { id } = req.user; - const g = await this.chatGroupEntity.findOne({ where: { id: groupId, userId: id } }); + const g = await this.chatGroupEntity.findOne({ + where: { id: groupId, userId: id }, + }); if (!g) { throw new common_1.HttpException('你删除的对话记录不存在、请检查!', common_1.HttpStatus.BAD_REQUEST); } @@ -295,7 +338,7 @@ let ChatLogService = class ChatLogService { userId: userId.id, model, createdAt: (0, typeorm_2.MoreThan)(oneHourAgo), - } + }, }); adjustedUsageCount = Math.ceil(usageCount / 2); common_1.Logger.debug(`用户ID: ${userId.id} 模型: ${model} 一小时内已调用: ${adjustedUsageCount} 次`); diff --git a/dist/modules/crami/crami.module.js b/dist/modules/crami/crami.module.js index 58349b8..6c7d22f 100644 --- a/dist/modules/crami/crami.module.js +++ b/dist/modules/crami/crami.module.js @@ -8,23 +8,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, Object.defineProperty(exports, "__esModule", { value: true }); exports.CramiModule = void 0; const common_1 = require("@nestjs/common"); -const crami_service_1 = require("./crami.service"); -const crami_controller_1 = require("./crami.controller"); const typeorm_1 = require("@nestjs/typeorm"); -const crami_entity_1 = require("./crami.entity"); -const cramiPackage_entity_1 = require("./cramiPackage.entity"); -const user_entity_1 = require("../user/user.entity"); -const userBalance_service_1 = require("../userBalance/userBalance.service"); -const balance_entity_1 = require("../userBalance/balance.entity"); -const accountLog_entity_1 = require("../userBalance/accountLog.entity"); -const config_entity_1 = require("../globalConfig/config.entity"); -const userBalance_entity_1 = require("../userBalance/userBalance.entity"); -const salesUsers_entity_1 = require("../sales/salesUsers.entity"); -const whiteList_entity_1 = require("../chat/whiteList.entity"); -const fingerprint_entity_1 = require("../userBalance/fingerprint.entity"); -const chatLog_entity_1 = require("../chatLog/chatLog.entity"); const chatGroup_entity_1 = require("../chatGroup/chatGroup.entity"); +const chatLog_entity_1 = require("../chatLog/chatLog.entity"); +const config_entity_1 = require("../globalConfig/config.entity"); const midjourney_entity_1 = require("../midjourney/midjourney.entity"); +const salesUsers_entity_1 = require("../sales/salesUsers.entity"); +const user_entity_1 = require("../user/user.entity"); +const accountLog_entity_1 = require("../userBalance/accountLog.entity"); +const balance_entity_1 = require("../userBalance/balance.entity"); +const fingerprint_entity_1 = require("../userBalance/fingerprint.entity"); +const userBalance_entity_1 = require("../userBalance/userBalance.entity"); +const userBalance_service_1 = require("../userBalance/userBalance.service"); +const crami_controller_1 = require("./crami.controller"); +const crami_entity_1 = require("./crami.entity"); +const crami_service_1 = require("./crami.service"); +const cramiPackage_entity_1 = require("./cramiPackage.entity"); let CramiModule = class CramiModule { }; CramiModule = __decorate([ @@ -40,11 +39,10 @@ CramiModule = __decorate([ accountLog_entity_1.AccountLogEntity, config_entity_1.ConfigEntity, userBalance_entity_1.UserBalanceEntity, - whiteList_entity_1.WhiteListEntity, fingerprint_entity_1.FingerprintLogEntity, chatLog_entity_1.ChatLogEntity, chatGroup_entity_1.ChatGroupEntity, - midjourney_entity_1.MidjourneyEntity + midjourney_entity_1.MidjourneyEntity, ]), ], providers: [crami_service_1.CramiService, userBalance_service_1.UserBalanceService], diff --git a/dist/modules/database/database.module.js b/dist/modules/database/database.module.js index b8000e4..344ec19 100644 --- a/dist/modules/database/database.module.js +++ b/dist/modules/database/database.module.js @@ -13,13 +13,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.DatabaseModule = void 0; const common_1 = require("@nestjs/common"); const typeorm_1 = require("@nestjs/typeorm"); -const nestjs_config_1 = require("nestjs-config"); const typeorm_2 = require("typeorm"); const database_service_1 = require("./database.service"); let DatabaseModule = DatabaseModule_1 = class DatabaseModule { - constructor(connection, config) { + constructor(connection) { this.connection = connection; - this.config = config; this.logger = new common_1.Logger(DatabaseModule_1.name); } onModuleInit() { @@ -31,12 +29,22 @@ DatabaseModule = DatabaseModule_1 = __decorate([ (0, common_1.Module)({ imports: [ typeorm_1.TypeOrmModule.forRootAsync({ - useFactory: (config) => config.get('database'), - inject: [nestjs_config_1.ConfigService], + useFactory: () => ({ + type: 'mysql', + host: process.env.DB_HOST, + port: parseInt(process.env.DB_PORT, 10), + username: process.env.DB_USER, + password: process.env.DB_PASS, + database: process.env.DB_DATABASE, + entities: [__dirname + '/../**/*.entity{.ts,.js}'], + logging: false, + charset: 'utf8mb4', + timezone: '+08:00', + }), }), ], providers: [database_service_1.DatabaseService], }), - __metadata("design:paramtypes", [typeorm_2.Connection, nestjs_config_1.ConfigService]) + __metadata("design:paramtypes", [typeorm_2.DataSource]) ], DatabaseModule); exports.DatabaseModule = DatabaseModule; diff --git a/dist/modules/database/database.service.js b/dist/modules/database/database.service.js index 0339fe7..31db882 100644 --- a/dist/modules/database/database.service.js +++ b/dist/modules/database/database.service.js @@ -29,8 +29,22 @@ let DatabaseService = class DatabaseService { const adminPassword = bcrypt.hashSync('123456', 10); const superEmail = 'super'; const adminEmail = 'admin'; - const superUserinfo = { username: 'super', password: superPassword, status: 1, email: superEmail, sex: 1, role: 'super' }; - const adminUserinfo = { username: 'admin', password: adminPassword, status: 0, email: adminEmail, sex: 1, role: 'admin' }; + const superUserinfo = { + username: 'super', + password: superPassword, + status: 1, + email: superEmail, + sex: 1, + role: 'super', + }; + const adminUserinfo = { + username: 'admin', + password: adminPassword, + status: 0, + email: adminEmail, + sex: 1, + role: 'admin', + }; await this.createDefaultUser(superUserinfo); await this.createDefaultUser(adminUserinfo); } @@ -41,7 +55,7 @@ let DatabaseService = class DatabaseService { const user = await this.connection.query(`INSERT INTO users (username, password, status, email, role) VALUES ('${username}', '${password}', '${status}', '${email}', '${role}')`); const userId = user.insertId; const balance = await this.connection.query(`INSERT INTO balance (userId, balance, usesLeft, paintCount) VALUES ('${userId}', 0, 1000, 100)`); - common_1.Logger.log(`初始化创建${role}用户成功、用户名为[${username}]、初始密码为[${username === 'super' ? 'nine-super' : '123456'}] ==============> 请注意查阅`, 'DatabaseService'); + common_1.Logger.log(`初始化创建${role}用户成功、用户名为[${username}]、初始密码为[${username === 'super' ? 'super' : '123456'}] ==============> 请注意查阅`, 'DatabaseService'); } catch (error) { console.log('error: ', error); @@ -49,9 +63,17 @@ let DatabaseService = class DatabaseService { } } async checkSiteBaseConfig() { - const keys = ['siteName', 'qqNumber', 'vxNumber', 'robotAvatar', 'userDefautlAvatar']; + const keys = [ + 'siteName', + 'qqNumber', + 'vxNumber', + 'robotAvatar', + 'userDefautlAvatar', + ]; const result = await this.connection.query(` - SELECT COUNT(*) AS count FROM config WHERE \`configKey\` IN (${keys.map((k) => `'${k}'`).join(',')}) + SELECT COUNT(*) AS count FROM config WHERE \`configKey\` IN (${keys + .map((k) => `'${k}'`) + .join(',')}) `); const count = parseInt(result[0].count); if (count === 0) { @@ -87,27 +109,112 @@ let DatabaseService = class DatabaseService { encry: 0, }, { configKey: 'buyCramiAddress', configVal: '', public: 1, encry: 0 }, - { configKey: 'openaiBaseUrl', configVal: 'https://api.lightai.io', public: 0, encry: 0 }, + { + configKey: 'openaiBaseUrl', + configVal: 'https://api.lightai.io', + public: 0, + encry: 0, + }, { configKey: 'openaiTimeout', configVal: '300', public: 0, encry: 0 }, { configKey: 'openaiBaseKey', configVal: 'sk-', public: 0, encry: 0 }, - { configKey: 'mjTranslatePrompt', configVal: `Translate any given phrase from any language into English. For instance, when I input '{可爱的熊猫}', you should output '{cute panda}', with no period at the end.`, public: 0, encry: 0 }, + { + configKey: 'mjTranslatePrompt', + configVal: `Translate any given phrase from any language into English. For instance, when I input '{可爱的熊猫}', you should output '{cute panda}', with no period at the end.`, + public: 0, + encry: 0, + }, { configKey: 'noticeInfo', configVal: noticeInfo, public: 1, encry: 0 }, - { configKey: 'registerSendStatus', configVal: '1', public: 1, encry: 0 }, - { configKey: 'registerSendModel3Count', configVal: '30', public: 1, encry: 0 }, - { configKey: 'registerSendModel4Count', configVal: '3', public: 1, encry: 0 }, - { configKey: 'registerSendDrawMjCount', configVal: '3', public: 1, encry: 0 }, - { configKey: 'firstRegisterSendStatus', configVal: '1', public: 1, encry: 0 }, - { configKey: 'firstRegisterSendRank', configVal: '500', public: 1, encry: 0 }, - { configKey: 'firstRregisterSendModel3Count', configVal: '10', public: 1, encry: 0 }, - { configKey: 'firstRregisterSendModel4Count', configVal: '10', public: 1, encry: 0 }, - { configKey: 'firstRregisterSendDrawMjCount', configVal: '10', public: 1, encry: 0 }, + { + configKey: 'registerSendStatus', + configVal: '1', + public: 1, + encry: 0, + }, + { + configKey: 'registerSendModel3Count', + configVal: '30', + public: 1, + encry: 0, + }, + { + configKey: 'registerSendModel4Count', + configVal: '3', + public: 1, + encry: 0, + }, + { + configKey: 'registerSendDrawMjCount', + configVal: '3', + public: 1, + encry: 0, + }, + { + configKey: 'firstRegisterSendStatus', + configVal: '1', + public: 1, + encry: 0, + }, + { + configKey: 'firstRegisterSendRank', + configVal: '500', + public: 1, + encry: 0, + }, + { + configKey: 'firstRregisterSendModel3Count', + configVal: '10', + public: 1, + encry: 0, + }, + { + configKey: 'firstRregisterSendModel4Count', + configVal: '10', + public: 1, + encry: 0, + }, + { + configKey: 'firstRregisterSendDrawMjCount', + configVal: '10', + public: 1, + encry: 0, + }, { configKey: 'inviteSendStatus', configVal: '1', public: 1, encry: 0 }, - { configKey: 'inviteGiveSendModel3Count', configVal: '0', public: 1, encry: 0 }, - { configKey: 'inviteGiveSendModel4Count', configVal: '0', public: 1, encry: 0 }, - { configKey: 'inviteGiveSendDrawMjCount', configVal: '0', public: 1, encry: 0 }, - { configKey: 'invitedGuestSendModel3Count', configVal: '10', public: 1, encry: 0 }, - { configKey: 'invitedGuestSendModel4Count', configVal: '10', public: 1, encry: 0 }, - { configKey: 'invitedGuestSendDrawMjCount', configVal: '10', public: 1, encry: 0 }, + { + configKey: 'inviteGiveSendModel3Count', + configVal: '0', + public: 1, + encry: 0, + }, + { + configKey: 'inviteGiveSendModel4Count', + configVal: '0', + public: 1, + encry: 0, + }, + { + configKey: 'inviteGiveSendDrawMjCount', + configVal: '0', + public: 1, + encry: 0, + }, + { + configKey: 'invitedGuestSendModel3Count', + configVal: '10', + public: 1, + encry: 0, + }, + { + configKey: 'invitedGuestSendModel4Count', + configVal: '10', + public: 1, + encry: 0, + }, + { + configKey: 'invitedGuestSendDrawMjCount', + configVal: '10', + public: 1, + encry: 0, + }, { configKey: 'isVerifyEmail', configVal: '1', public: 1, encry: 0 }, ]; const res = await this.connection.query(`INSERT INTO config (configKey, configVal, public, encry) VALUES ${defaultConfig @@ -122,15 +229,39 @@ let DatabaseService = class DatabaseService { } async createSystemReservedApps() { const systemApps = [ - { name: "提示词优化PromptOptimization", catId: 9900, des: "PromptOptimization", preset: "Translate any given phrase from any language into English. For instance, when I input '{可爱的熊猫}', you should output '{cute panda}', with no period at the end.", appModel: "gpt-3.5-turbo", isFixedModel: 1, isSystemReserved: 1 }, - { name: "思维导图MindMap", catId: 9900, des: "MindMap", preset: "我希望你使用markdown格式回答我得问题、我的需求是得到一份markdown格式的大纲、尽量做的精细、层级多一点、不管我问你什么、都需要您回复我一个大纲出来、我想使用大纲做思维导图、除了大纲之外、不要无关内容和总结。", appModel: "gpt-3.5-turbo", isFixedModel: 1, isSystemReserved: 1 }, + { + name: '提示词优化PromptOptimization', + catId: 9900, + des: 'PromptOptimization', + preset: "Translate any given phrase from any language into English. For instance, when I input '{可爱的熊猫}', you should output '{cute panda}', with no period at the end.", + appModel: 'gpt-3.5-turbo', + isFixedModel: 1, + isSystemReserved: 1, + }, + { + name: '思维导图MindMap', + catId: 9900, + des: 'MindMap', + preset: '我希望你使用markdown格式回答我得问题、我的需求是得到一份markdown格式的大纲、尽量做的精细、层级多一点、不管我问你什么、都需要您回复我一个大纲出来、我想使用大纲做思维导图、除了大纲之外、不要无关内容和总结。', + appModel: 'gpt-3.5-turbo', + isFixedModel: 1, + isSystemReserved: 1, + }, ]; try { for (const app of systemApps) { const result = await this.connection.query(`SELECT COUNT(*) AS count FROM app WHERE name = ? AND des = ? AND isSystemReserved = ?`, [app.name, app.des, app.isSystemReserved]); const count = parseInt(result[0].count, 10); if (count === 0) { - await this.connection.query(`INSERT INTO app (name, catId, des, preset, appModel, isFixedModel, isSystemReserved) VALUES (?, ?, ?, ?, ?, ?, ?)`, [app.name, app.catId, app.des, app.preset, app.appModel, app.isFixedModel, app.isSystemReserved]); + await this.connection.query(`INSERT INTO app (name, catId, des, preset, appModel, isFixedModel, isSystemReserved) VALUES (?, ?, ?, ?, ?, ?, ?)`, [ + app.name, + app.catId, + app.des, + app.preset, + app.appModel, + app.isFixedModel, + app.isSystemReserved, + ]); common_1.Logger.log(`系统预留应用${app.name}创建成功`, 'DatabaseService'); } } diff --git a/dist/modules/database/initDatabase.js b/dist/modules/database/initDatabase.js index 183f486..df0a452 100644 --- a/dist/modules/database/initDatabase.js +++ b/dist/modules/database/initDatabase.js @@ -1,23 +1,95 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.initDatabase = void 0; -const mysql = require("mysql2/promise"); const common_1 = require("@nestjs/common"); -function initDatabase() { - mysql - .createConnection({ +const dotenv_1 = require("dotenv"); +const mysql = require("mysql2/promise"); +const typeorm_1 = require("typeorm"); +(0, dotenv_1.config)(); +const dataSourceOptions = { + type: 'mysql', + port: parseInt(process.env.DB_PORT, 10), + host: process.env.DB_HOST, + username: process.env.DB_USER, + password: process.env.DB_PASS, + database: process.env.DB_DATABASE, + entities: [__dirname + '/../**/*.entity{.ts,.js}'], + logging: false, + synchronize: true, + charset: 'utf8mb4', + timezone: '+08:00', +}; +async function validateDatabase() { + const conn = await mysql.createConnection({ host: process.env.DB_HOST, user: process.env.DB_USER, password: process.env.DB_PASS, - port: parseInt(process.env.DB_PORT), - }) - .then(async (conn) => { - const [rows] = await conn.execute(`SHOW DATABASES LIKE '${process.env.DB_DATABASE}'`); + port: parseInt(process.env.DB_PORT, 10), + }); + try { + const [rows] = (await conn.execute(`SHOW DATABASES LIKE '${process.env.DB_DATABASE}'`)); if (Array.isArray(rows) && rows.length === 0) { await conn.execute(`CREATE DATABASE ${process.env.DB_DATABASE}`); - common_1.Logger.log(`数据库创建成功[${process.env.DB_DATABASE}]`); + common_1.Logger.log(`数据库创建成功[${process.env.DB_DATABASE}]`, 'Database'); } + else { + common_1.Logger.log(`数据库已存在[${process.env.DB_DATABASE}]`, 'Database'); + } + } + catch (error) { + common_1.Logger.error('Error during database validation:', error, 'Database'); + } + finally { await conn.end(); + } +} +async function updateColumnType() { + const conn = await mysql.createConnection({ + host: process.env.DB_HOST, + user: process.env.DB_USER, + password: process.env.DB_PASS, + port: parseInt(process.env.DB_PORT, 10), + database: process.env.DB_DATABASE, }); + async function checkAndUpdateColumnType(tableName, columnName) { + try { + const [rows] = (await conn.execute(`SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ? AND COLUMN_NAME = ?`, [tableName, columnName])); + if (rows.length > 0 && rows[0].DATA_TYPE !== 'text') { + await conn.execute(`ALTER TABLE ?? MODIFY COLUMN ?? TEXT`, [ + tableName, + columnName, + ]); + common_1.Logger.log(`Column ${columnName} type updated to TEXT in table ${tableName}`, 'Database'); + } + else { + common_1.Logger.log(`Column ${columnName} is already of type TEXT in table ${tableName}`, 'Database'); + } + } + catch (error) { + common_1.Logger.error(`Error updating column type in table ${tableName}:`, error); + } + } + try { + await checkAndUpdateColumnType('config', 'configVal'); + await checkAndUpdateColumnType('app', 'coverImg'); + } + finally { + await conn.end(); + } +} +async function initDatabase() { + await validateDatabase(); + await updateColumnType(); + const dataSource = new typeorm_1.DataSource(dataSourceOptions); + try { + await dataSource.initialize(); + common_1.Logger.log('Database connected and synchronized successfully', 'Database'); + } + catch (error) { + common_1.Logger.error('Error during TypeORM initialization:', error); + } + finally { + await dataSource.destroy(); + } } exports.initDatabase = initDatabase; diff --git a/dist/modules/globalConfig/config.entity.js b/dist/modules/globalConfig/config.entity.js index cf176a9..6ce11bd 100644 --- a/dist/modules/globalConfig/config.entity.js +++ b/dist/modules/globalConfig/config.entity.js @@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConfigEntity = void 0; -const typeorm_1 = require("typeorm"); const baseEntity_1 = require("../../common/entity/baseEntity"); +const typeorm_1 = require("typeorm"); let ConfigEntity = class ConfigEntity extends baseEntity_1.BaseEntity { }; __decorate([ @@ -19,15 +19,21 @@ __decorate([ __metadata("design:type", String) ], ConfigEntity.prototype, "configKey", void 0); __decorate([ - (0, typeorm_1.Column)({ length: 3000, comment: '配置内容', nullable: true }), + (0, typeorm_1.Column)({ type: 'text', comment: '配置内容', nullable: true }), __metadata("design:type", String) ], ConfigEntity.prototype, "configVal", void 0); __decorate([ - (0, typeorm_1.Column)({ default: 0, comment: '配置是否公开,公开内容对前端项目展示 0:不公开 1:公开' }), + (0, typeorm_1.Column)({ + default: 0, + comment: '配置是否公开,公开内容对前端项目展示 0:不公开 1:公开', + }), __metadata("design:type", Number) ], ConfigEntity.prototype, "public", void 0); __decorate([ - (0, typeorm_1.Column)({ default: 0, comment: '配置是否加密,加密内容仅仅super权限可看 0:不加 1:加' }), + (0, typeorm_1.Column)({ + default: 0, + comment: '配置是否加密,加密内容仅仅super权限可看 0:不加 1:加', + }), __metadata("design:type", Number) ], ConfigEntity.prototype, "encry", void 0); __decorate([ diff --git a/dist/modules/globalConfig/dto/setConfig.dto.js b/dist/modules/globalConfig/dto/setConfig.dto.js index bac10ee..72705d0 100644 --- a/dist/modules/globalConfig/dto/setConfig.dto.js +++ b/dist/modules/globalConfig/dto/setConfig.dto.js @@ -10,13 +10,16 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.SetConfigDto = void 0; -const class_validator_1 = require("class-validator"); -const class_transformer_1 = require("class-transformer"); const swagger_1 = require("@nestjs/swagger"); +const class_transformer_1 = require("class-transformer"); +const class_validator_1 = require("class-validator"); class SetConfigDto { } __decorate([ - (0, swagger_1.ApiProperty)({ example: [{ configKey: 'siteName', configVal: 'NineAI' }], description: '设置配置信息' }), + (0, swagger_1.ApiProperty)({ + example: [{ configKey: 'siteName', configVal: 'AIWeb' }], + description: '设置配置信息', + }), (0, class_validator_1.IsArray)(), (0, class_validator_1.ArrayNotEmpty)(), (0, class_validator_1.ValidateNested)({ each: true }), diff --git a/dist/modules/globalConfig/dto/setConfigCustom.dto.js b/dist/modules/globalConfig/dto/setConfigCustom.dto.js index 03f93a9..c804b26 100644 --- a/dist/modules/globalConfig/dto/setConfigCustom.dto.js +++ b/dist/modules/globalConfig/dto/setConfigCustom.dto.js @@ -10,13 +10,16 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.SetConfigCustomDto = void 0; -const class_validator_1 = require("class-validator"); -const class_transformer_1 = require("class-transformer"); const swagger_1 = require("@nestjs/swagger"); +const class_transformer_1 = require("class-transformer"); +const class_validator_1 = require("class-validator"); class SetConfigCustomDto { } __decorate([ - (0, swagger_1.ApiProperty)({ example: { configKey: 'siteName', configVal: 'NineAI', infoKey: 'NineAI' }, description: '设置更新配置信息' }), + (0, swagger_1.ApiProperty)({ + example: { configKey: 'siteName', configVal: 'AIWeb', infoKey: 'AIWeb' }, + description: '设置更新配置信息', + }), (0, class_validator_1.ValidateNested)({ each: true }), (0, class_transformer_1.Type)(() => Object), __metadata("design:type", Object) diff --git a/dist/modules/globalConfig/globalConfig.service.js b/dist/modules/globalConfig/globalConfig.service.js index 24c979d..67aed09 100644 --- a/dist/modules/globalConfig/globalConfig.service.js +++ b/dist/modules/globalConfig/globalConfig.service.js @@ -32,7 +32,6 @@ let GlobalConfigService = class GlobalConfigService { this.chatLogEntity = chatLogEntity; this.modelsService = modelsService; this.globalConfigs = {}; - this.nineAiToken = true; } async onModuleInit() { await this.initGetAllConfig(); @@ -64,11 +63,17 @@ let GlobalConfigService = class GlobalConfigService { this.initBaiduSensitive(); } async initBaiduSensitive(isInit = true) { - const { baiduTextApiKey, baiduTextSecretKey } = await this.getConfigs(['baiduTextApiKey', 'baiduTextSecretKey']); + const { baiduTextApiKey, baiduTextSecretKey } = await this.getConfigs([ + 'baiduTextApiKey', + 'baiduTextSecretKey', + ]); if (!baiduTextApiKey || !baiduTextSecretKey) { return; } - const headers = { 'Content-Type': 'application/json', Accept: 'application/json' }; + const headers = { + 'Content-Type': 'application/json', + Accept: 'application/json', + }; const url = `https://aip.baidubce.com/oauth/2.0/token?client_id=${baiduTextApiKey}&client_secret=${baiduTextSecretKey}&grant_type=client_credentials`; try { const response = await axios_1.default.post(url, { headers }); @@ -96,7 +101,8 @@ let GlobalConfigService = class GlobalConfigService { this.wechatAccessToken = ''; return; } - const { data: { errmsg, access_token }, } = await axios_1.default.get(`https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=${appId}&secret=${secret}`); + const Url = (0, utils_1.formatUrl)(process.env.weChatApiUrl || 'https://api.weixin.qq.com'); + const { data: { errmsg, access_token }, } = await axios_1.default.get(`${Url}/cgi-bin/token?grant_type=client_credential&appid=${appId}&secret=${secret}`); if (errmsg) { if (isInit) { common_1.Logger.error(`获取微信access_token失败、错误信息:${errmsg}`, 'OfficialService'); @@ -114,7 +120,8 @@ let GlobalConfigService = class GlobalConfigService { this.wechatJsapiTicket = ''; return; } - const res = await axios_1.default.get(`https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=${accessToken}&type=jsapi`); + const Url = (0, utils_1.formatUrl)(process.env.weChatApiUrl || 'https://api.weixin.qq.com'); + const res = await axios_1.default.get(`${Url}/cgi-bin/ticket/getticket?access_token=${accessToken}&type=jsapi`); return (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.ticket; } async queryAllConfig(req) { @@ -166,8 +173,6 @@ let GlobalConfigService = class GlobalConfigService { 'salesAllowDrawMoney', 'companyName', 'filingNumber', - 'phoneRegisterStatus', - 'emailRegisterStatus', 'emailLoginStatus', 'phoneLoginStatus', 'wechatRegisterStatus', @@ -177,17 +182,33 @@ let GlobalConfigService = class GlobalConfigService { 'signInModel4Count', 'signInMjDrawToken', 'appMenuHeaderTips', - 'appMenuHeaderBgUrl', + 'pluginFirst', 'mjUseBaiduFy', 'mjHideNotBlock', 'mjHideWorkIn', 'isVerifyEmail', + 'isHideSidebar', + 'isHideTts', + 'isHideModel3Point', + 'isHideModel4Point', + 'isHideDrawMjPoint', + 'model3Name', + 'model4Name', + 'drawMjName', + 'isModelInherited', + 'noVerifyRegister', ]; - const data = await this.configEntity.find({ where: { configKey: (0, typeorm_2.In)(allowKeys) } }); + const data = await this.configEntity.find({ + where: { configKey: (0, typeorm_2.In)(allowKeys) }, + }); const { domain } = query; const domainDb = this.globalConfigs['domain']; if (domainDb !== domain) { - this.createOrUpdate({ configKey: `domain`, configVal: domain, status: 1 }); + this.createOrUpdate({ + configKey: `domain`, + configVal: domain, + status: 1, + }); await this.initGetAllConfig(); } const publicConfig = data.reduce((prev, cur) => { @@ -200,7 +221,9 @@ let GlobalConfigService = class GlobalConfigService { } async queryGptKeys(req) { const { role } = req.user; - const data = await this.configEntity.find({ where: { configKey: (0, typeorm_2.Like)(`%${'chatGptKey'}%`) } }); + const data = await this.configEntity.find({ + where: { configKey: (0, typeorm_2.Like)(`%${'chatGptKey'}%`) }, + }); if (role === 'super') return data; return data.map((t) => { @@ -213,9 +236,15 @@ let GlobalConfigService = class GlobalConfigService { const keys = effectiveConfig.map((t) => t.configKey); for (const [index, value] of effectiveConfig.entries()) { const { configKey, configVal, status } = value; - await this.createOrUpdate({ configKey: `chatGptKey:${index + 1}`, configVal, status }); + await this.createOrUpdate({ + configKey: `chatGptKey:${index + 1}`, + configVal, + status, + }); } - const likeChatGptKeys = await this.configEntity.find({ where: { configKey: (0, typeorm_2.Like)(`%${'chatGptKey'}%`) } }); + const likeChatGptKeys = await this.configEntity.find({ + where: { configKey: (0, typeorm_2.Like)(`%${'chatGptKey'}%`) }, + }); const allKey = likeChatGptKeys.map((t) => t.configKey); if (allKey.length > keys.length) { const diffKey = (0, utils_1.getDiffArray)(allKey.length, keys.length, 'chatGptKey:'); @@ -229,7 +258,9 @@ let GlobalConfigService = class GlobalConfigService { async queryConfig(body, req) { const { role } = req.user; const { keys } = body; - const data = await this.configEntity.find({ where: { configKey: (0, typeorm_2.In)(keys) } }); + const data = await this.configEntity.find({ + where: { configKey: (0, typeorm_2.In)(keys) }, + }); if (role !== 'super') { data.forEach((item) => { if (item.configKey.includes('mj') || @@ -247,8 +278,14 @@ let GlobalConfigService = class GlobalConfigService { if (longKeys.includes(item.configKey)) { return (item.configVal = (0, utils_1.hideString)(item.configVal, '隐私内容、非超级管理员无权查看')); } - const whiteListKey = ['payEpayStatus', 'payHupiStatus', 'mjProxy', 'payLtzfStatus']; - if (!whiteListKey.includes(item.configKey) && !item.configKey.includes('Status')) { + const whiteListKey = [ + 'payEpayStatus', + 'payHupiStatus', + 'mjProxy', + 'payLtzfStatus', + ]; + if (!whiteListKey.includes(item.configKey) && + !item.configKey.includes('Status')) { item.configVal = (0, utils_1.hideString)(item.configVal); } } @@ -259,11 +296,6 @@ let GlobalConfigService = class GlobalConfigService { return prev; }, {}); } - getNineAiToken() { - const MjdrawCount = this.globalConfigs['MjdrawCount']; - const auth = this.nineAiToken; - return !auth || Number(MjdrawCount) === 1; - } async setConfig(body) { try { const { settings } = body; @@ -272,10 +304,12 @@ let GlobalConfigService = class GlobalConfigService { } await this.initGetAllConfig(); const keys = settings.map((t) => t.configKey); - if (keys.includes('baiduTextApiKey') || keys.includes('baiduTextSecretKey')) { + if (keys.includes('baiduTextApiKey') || + keys.includes('baiduTextSecretKey')) { await this.initBaiduSensitive(false); } - if (keys.includes('wechatOfficialAppId') || keys.includes('wechatOfficialAppSecret')) { + if (keys.includes('wechatOfficialAppId') || + keys.includes('wechatOfficialAppSecret')) { await this.getWechatAccessToken(); } return '设置完成!'; @@ -292,7 +326,11 @@ let GlobalConfigService = class GlobalConfigService { const res = await this.configEntity.update({ configKey }, { configVal, status }); } else { - const save = await this.configEntity.save({ configKey, configVal, status }); + const save = await this.configEntity.save({ + configKey, + configVal, + status, + }); } } catch (error) { @@ -307,8 +345,20 @@ let GlobalConfigService = class GlobalConfigService { return await this.getConfigs(['copyrightUrl', 'copyrightTitle']); } async queryPayType() { - const { payHupiStatus = 0, payEpayStatus = 0, payWechatStatus = 0, payMpayStatus = 0, payLtzfStatus = 0, } = await this.getConfigs(['payHupiStatus', 'payEpayStatus', 'payMpayStatus', 'payWechatStatus', 'payLtzfStatus']); - if ([payHupiStatus, payEpayStatus, payWechatStatus, payMpayStatus, payLtzfStatus].every((status) => status === 0)) { + const { payHupiStatus = 0, payEpayStatus = 0, payWechatStatus = 0, payMpayStatus = 0, payLtzfStatus = 0, } = await this.getConfigs([ + 'payHupiStatus', + 'payEpayStatus', + 'payMpayStatus', + 'payWechatStatus', + 'payLtzfStatus', + ]); + if ([ + payHupiStatus, + payEpayStatus, + payWechatStatus, + payMpayStatus, + payLtzfStatus, + ].every((status) => status === 0)) { throw new common_1.HttpException('支付功能暂未开放!', common_1.HttpStatus.BAD_REQUEST); } if (Number(payWechatStatus) === 1) { @@ -338,7 +388,7 @@ let GlobalConfigService = class GlobalConfigService { return { siteName, qqNumber, vxNumber, registerBaseUrl, domain }; } async getPhoneVerifyConfig() { - const { phoneRegisterStatus, aliPhoneAccessKeyId, aliPhoneAccessKeySecret, aliPhoneSignName, aliPhoneTemplateCode } = await this.getConfigs([ + const { phoneRegisterStatus, aliPhoneAccessKeyId, aliPhoneAccessKeySecret, aliPhoneSignName, aliPhoneTemplateCode, } = await this.getConfigs([ 'phoneRegisterStatus', 'aliPhoneAccessKeyId', 'aliPhoneAccessKeySecret', @@ -359,7 +409,12 @@ let GlobalConfigService = class GlobalConfigService { return process.env.NAMESPACE || 'AIWeb'; } async getSignatureGiftConfig() { - const { signInStatus = 0, signInModel3Count = 0, signInModel4Count = 0, signInMjDrawToken = 0, } = await this.getConfigs(['signInStatus', 'signInModel3Count', 'signInModel4Count', 'signInMjDrawToken']); + const { signInStatus = 0, signInModel3Count = 0, signInModel4Count = 0, signInMjDrawToken = 0, } = await this.getConfigs([ + 'signInStatus', + 'signInModel3Count', + 'signInModel4Count', + 'signInMjDrawToken', + ]); if (Number(signInStatus) !== 1) { throw new common_1.HttpException('签到功能暂未开放!', common_1.HttpStatus.BAD_REQUEST); } @@ -374,18 +429,10 @@ let GlobalConfigService = class GlobalConfigService { const response = await fetch(api, {}); const responseData = await response.json(); const { success = true, message } = responseData; - common_1.Logger.error('请按要求填写正确的授权信息'); - common_1.Logger.error('请填写您的授权码'); - common_1.Logger.error('缺失ip信息'); - common_1.Logger.error('缺失ip信息'); - common_1.Logger.debug('感谢您使用NineAi、祝您使用愉快~'); + common_1.Logger.debug('感谢您使用AIWeb,祝您使用愉快~'); } async getSensitiveConfig() { - const { baiduTextStatus = 0, baiduTextAccessToken, nineaiBuiltInSensitiveAuthKey, } = await this.getConfigs([ - 'baiduTextStatus', - 'baiduTextAccessToken', - 'nineaiBuiltInSensitiveAuthKey', - ]); + const { baiduTextStatus = 0, baiduTextAccessToken } = await this.getConfigs(['baiduTextStatus', 'baiduTextAccessToken']); if (Number(baiduTextStatus) === 1) { return { useType: 'baidu', diff --git a/dist/modules/knowledgeBase/knowledgeBase.controller.js b/dist/modules/knowledgeBase/knowledgeBase.controller.js deleted file mode 100644 index 10c9524..0000000 --- a/dist/modules/knowledgeBase/knowledgeBase.controller.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.KnowledgeBaseController = void 0; -const common_1 = require("@nestjs/common"); -let KnowledgeBaseController = class KnowledgeBaseController { -}; -KnowledgeBaseController = __decorate([ - (0, common_1.Controller)('knowledgeBase') -], KnowledgeBaseController); -exports.KnowledgeBaseController = KnowledgeBaseController; diff --git a/dist/modules/knowledgeBase/knowledgeBase.entity.js b/dist/modules/knowledgeBase/knowledgeBase.entity.js deleted file mode 100644 index 1132ca0..0000000 --- a/dist/modules/knowledgeBase/knowledgeBase.entity.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.KnowledgeBaseEntity = void 0; -const typeorm_1 = require("typeorm"); -const baseEntity_1 = require("../../common/entity/baseEntity"); -let KnowledgeBaseEntity = class KnowledgeBaseEntity extends baseEntity_1.BaseEntity { -}; -KnowledgeBaseEntity = __decorate([ - (0, typeorm_1.Entity)({ name: 'knowledge_base' }) -], KnowledgeBaseEntity); -exports.KnowledgeBaseEntity = KnowledgeBaseEntity; diff --git a/dist/modules/knowledgeBase/knowledgeBase.module.js b/dist/modules/knowledgeBase/knowledgeBase.module.js deleted file mode 100644 index 57691da..0000000 --- a/dist/modules/knowledgeBase/knowledgeBase.module.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.KnowledgeBaseModule = void 0; -const common_1 = require("@nestjs/common"); -const knowledgeBase_controller_1 = require("./knowledgeBase.controller"); -const knowledgeBase_service_1 = require("./knowledgeBase.service"); -const typeorm_1 = require("@nestjs/typeorm"); -const knowledgeBase_entity_1 = require("./knowledgeBase.entity"); -let KnowledgeBaseModule = class KnowledgeBaseModule { -}; -KnowledgeBaseModule = __decorate([ - (0, common_1.Global)(), - (0, common_1.Module)({ - imports: [typeorm_1.TypeOrmModule.forFeature([knowledgeBase_entity_1.KnowledgeBaseEntity])], - providers: [knowledgeBase_service_1.KnowledgeBaseService], - controllers: [knowledgeBase_controller_1.KnowledgeBaseController], - exports: [knowledgeBase_service_1.KnowledgeBaseService], - }) -], KnowledgeBaseModule); -exports.KnowledgeBaseModule = KnowledgeBaseModule; diff --git a/dist/modules/queue/dto/mjDraw.dto.js b/dist/modules/midjourney/dto/mjDraw.dto.js similarity index 86% rename from dist/modules/queue/dto/mjDraw.dto.js rename to dist/modules/midjourney/dto/mjDraw.dto.js index 59e8f7e..09246cb 100644 --- a/dist/modules/queue/dto/mjDraw.dto.js +++ b/dist/modules/midjourney/dto/mjDraw.dto.js @@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.MjDrawDto = void 0; -const class_validator_1 = require("class-validator"); const swagger_1 = require("@nestjs/swagger"); +const class_validator_1 = require("class-validator"); class MjDrawDto { } __decorate([ @@ -24,17 +24,26 @@ __decorate([ __metadata("design:type", String) ], MjDrawDto.prototype, "prompt", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: '--ar 16:9 --c 0', description: '除了prompt的额外参数' }), + (0, swagger_1.ApiProperty)({ + example: '--ar 16:9 --c 0', + description: '除了prompt的额外参数', + }), (0, class_validator_1.IsOptional)(), __metadata("design:type", String) ], MjDrawDto.prototype, "extraParam", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: 'https://xsdasdasd.com', description: '垫图图片地址' }), + (0, swagger_1.ApiProperty)({ + example: 'https://xsdasdasd.com', + description: '垫图图片地址', + }), (0, class_validator_1.IsOptional)(), __metadata("design:type", String) ], MjDrawDto.prototype, "imgUrl", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: 'IMAGINE', description: '任务类型,可用值:IMAGINE,UPSCALE,VARIATION,ZOOM,PAN,DESCRIBE,BLEND,SHORTEN,SWAP_FACE' }), + (0, swagger_1.ApiProperty)({ + example: 'IMAGINE', + description: '任务类型,可用值:IMAGINE,UPSCALE,VARIATION,ZOOM,PAN,DESCRIBE,BLEND,SHORTEN,SWAP_FACE', + }), (0, class_validator_1.IsOptional)(), __metadata("design:type", String) ], MjDrawDto.prototype, "action", void 0); diff --git a/dist/modules/midjourney/midjourney.controller.js b/dist/modules/midjourney/midjourney.controller.js index 27da795..4b9823d 100644 --- a/dist/modules/midjourney/midjourney.controller.js +++ b/dist/modules/midjourney/midjourney.controller.js @@ -13,14 +13,15 @@ var __param = (this && this.__param) || function (paramIndex, decorator) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.MidjourneyController = void 0; -const superAuth_guard_1 = require("../../common/auth/superAuth.guard"); -const midjourney_service_1 = require("./midjourney.service"); +const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard"); const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard"); +const superAuth_guard_1 = require("../../common/auth/superAuth.guard"); const common_1 = require("@nestjs/common"); const swagger_1 = require("@nestjs/swagger"); const axios_1 = require("axios"); const getList_dto_1 = require("./dto/getList.dto"); -const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard"); +const mjDraw_dto_1 = require("./dto/mjDraw.dto"); +const midjourney_service_1 = require("./midjourney.service"); let MidjourneyController = class MidjourneyController { constructor(midjourneyService) { this.midjourneyService = midjourneyService; @@ -64,6 +65,9 @@ let MidjourneyController = class MidjourneyController { async proxyImg(params) { return await this.midjourneyService.proxyImg(params); } + async mjDraw(body, req) { + return await this.midjourneyService.addMjDrawQueue(body, req); + } }; __decorate([ (0, common_1.Get)('drawList'), @@ -182,6 +186,17 @@ __decorate([ __metadata("design:paramtypes", [Object]), __metadata("design:returntype", Promise) ], MidjourneyController.prototype, "proxyImg", null); +__decorate([ + (0, common_1.Post)('addMjDrawQueue'), + (0, swagger_1.ApiOperation)({ summary: '提交绘制图片任务' }), + (0, common_1.UseGuards)(jwtAuth_guard_1.JwtAuthGuard), + (0, swagger_1.ApiBearerAuth)(), + __param(0, (0, common_1.Body)()), + __param(1, (0, common_1.Req)()), + __metadata("design:type", Function), + __metadata("design:paramtypes", [mjDraw_dto_1.MjDrawDto, Object]), + __metadata("design:returntype", Promise) +], MidjourneyController.prototype, "mjDraw", null); MidjourneyController = __decorate([ (0, common_1.Controller)('midjourney'), __metadata("design:paramtypes", [midjourney_service_1.MidjourneyService]) diff --git a/dist/modules/midjourney/midjourney.module.js b/dist/modules/midjourney/midjourney.module.js index ec7bdd8..4376899 100644 --- a/dist/modules/midjourney/midjourney.module.js +++ b/dist/modules/midjourney/midjourney.module.js @@ -7,20 +7,38 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, }; Object.defineProperty(exports, "__esModule", { value: true }); exports.MidjourneyModule = void 0; +const bull_1 = require("@nestjs/bull"); const common_1 = require("@nestjs/common"); -const midjourney_controller_1 = require("./midjourney.controller"); -const midjourney_service_1 = require("./midjourney.service"); const typeorm_1 = require("@nestjs/typeorm"); -const midjourney_entity_1 = require("./midjourney.entity"); -const user_entity_1 = require("../user/user.entity"); const redisCache_service_1 = require("../redisCache/redisCache.service"); +const user_entity_1 = require("../user/user.entity"); +const midjourney_controller_1 = require("./midjourney.controller"); +const midjourney_entity_1 = require("./midjourney.entity"); +const midjourney_service_1 = require("./midjourney.service"); const prompt_entity_1 = require("./prompt.entity"); let MidjourneyModule = class MidjourneyModule { }; MidjourneyModule = __decorate([ (0, common_1.Global)(), (0, common_1.Module)({ - imports: [typeorm_1.TypeOrmModule.forFeature([midjourney_entity_1.MidjourneyEntity, user_entity_1.UserEntity, prompt_entity_1.mjPromptEntity])], + imports: [ + bull_1.BullModule.registerQueueAsync({ + name: 'MJDRAW', + useFactory: () => { + const config = { + port: +process.env.REDIS_PORT, + host: process.env.REDIS_HOST, + db: Number(process.env.REDIS_DB || 0), + }; + process.env.REDIS_PASSWORD && + (config.password = process.env.REDIS_PASSWORD); + return { + redis: config, + }; + }, + }), + typeorm_1.TypeOrmModule.forFeature([midjourney_entity_1.MidjourneyEntity, user_entity_1.UserEntity, prompt_entity_1.mjPromptEntity]), + ], controllers: [midjourney_controller_1.MidjourneyController], providers: [midjourney_service_1.MidjourneyService, redisCache_service_1.RedisCacheService], exports: [midjourney_service_1.MidjourneyService], diff --git a/dist/modules/midjourney/midjourney.service.js b/dist/modules/midjourney/midjourney.service.js index 4291155..cc4b0af 100644 --- a/dist/modules/midjourney/midjourney.service.js +++ b/dist/modules/midjourney/midjourney.service.js @@ -25,12 +25,13 @@ const user_entity_1 = require("./../user/user.entity"); const midjourney_entity_1 = require("./midjourney.entity"); const utils_1 = require("../../common/utils"); const userBalance_service_1 = require("../userBalance/userBalance.service"); +const bull_1 = require("@nestjs/bull"); const image_size_1 = require("image-size"); -const uuid = require("uuid"); const redisCache_service_1 = require("../redisCache/redisCache.service"); const prompt_entity_1 = require("./prompt.entity"); let MidjourneyService = class MidjourneyService { - constructor(midjourneyEntity, userEntity, mjPromptsEntity, globalConfigService, uploadService, userBalanceService, redisCacheService, modelsService) { + constructor(mjDrawQueue, midjourneyEntity, userEntity, mjPromptsEntity, globalConfigService, uploadService, userBalanceService, redisCacheService, modelsService) { + this.mjDrawQueue = mjDrawQueue; this.midjourneyEntity = midjourneyEntity; this.userEntity = userEntity; this.mjPromptsEntity = mjPromptsEntity; @@ -41,12 +42,59 @@ let MidjourneyService = class MidjourneyService { this.modelsService = modelsService; this.lockPrompt = []; } + async onApplicationBootstrap() { + await this.mjDrawQueue.clean(0, 'active'); + await this.cleanQueue(); + } + async addMjDrawQueue(body, req) { + const { prompt = '', imgUrl = '', base64 = '', extraParam = '', drawId = null, action = '', orderId = null, customId = '', } = body; + await this.checkLimit(req); + const modelInfo = await this.modelsService.getCurrentModelKeyInfo('midjourney'); + const { deduct, deductType, proxyUrl, timeout } = modelInfo; + await this.userBalanceService.validateBalance(req, deductType, action === 'UPSCALE' ? deduct : deduct * 4); + const params = Object.assign(Object.assign({}, body), { userId: req.user.id }); + const drawInfo = await this.addDrawQueue(params); + if (action === 'IMAGINE') { + this.sendDrawCommand(drawInfo, modelInfo) + .then((result) => this.pollComparisonResultDraw(result, modelInfo)) + .then((drawRes) => { + console.log('drawRes', drawRes); + return this.updateDrawData(drawInfo, drawRes); + }) + .catch((error) => { + common_1.Logger.error('Error in IMAGINE draw operation:', error); + }); + } + else { + let resultPromise; + if (action === 'MODAL') { + resultPromise = this.getDrawActionDetail(action, drawId, customId).then((res) => res.drawId); + } + else { + resultPromise = this.sendDrawCommand(drawInfo, modelInfo); + } + resultPromise + .then((result) => this.pollComparisonResultDraw(result, modelInfo)) + .then((drawRes) => { + console.log('drawRes', drawRes); + return this.updateDrawData(drawInfo, drawRes); + }) + .catch((error) => { + common_1.Logger.error('Error in other draw operation:', error); + }); + } + common_1.Logger.log(`执行预扣费,扣除费用:${action === 'UPSCALE' ? deduct : deduct * 4}积分。`); + await this.userBalanceService.deductFromBalance(req.user.id, deductType, action === 'UPSCALE' ? deduct : deduct * 4); + return true; + } async sleep(time) { return new Promise((resolve) => setTimeout(resolve, time)); } async getImageSizeFromUrl(imageUrl) { try { - const response = await axios_1.default.get(imageUrl, { responseType: 'arraybuffer' }); + const response = await axios_1.default.get(imageUrl, { + responseType: 'arraybuffer', + }); const buffer = Buffer.from(response.data, 'binary'); const dimensions = (0, image_size_1.default)(buffer); return { width: dimensions.width, height: dimensions.height }; @@ -56,34 +104,12 @@ let MidjourneyService = class MidjourneyService { throw error; } } - async draw(jobData, jobId) { - const { id, action, base64, userId } = jobData; - const drawInfo = await this.midjourneyEntity.findOne({ where: { id } }); - const modelInfo = await this.modelsService.getSpecialModelKeyInfo('midjourney'); - const { deduct, isTokenBased, tokenFeeRatio, deductType, key, modelName, id: keyId, maxRounds, proxyUrl, maxModelTokens, timeout, model: useModel } = modelInfo; - try { - await this.bindJobId(id, jobId); - await this.updateDrawStatus(id, midjourney_constant_1.MidjourneyStatusEnum.DRAWING); - const result = await this.sendDrawCommand(drawInfo, action, modelInfo, base64); - drawInfo.drawId = result; - const drawRes = await this.pollComparisonResultDraw(id, modelInfo, drawInfo); - await this.updateDrawData(jobData, drawRes); - const amount = action === "UPSCALE" ? deduct : deduct * 4; - common_1.Logger.log(`绘画完成,执行扣费,扣除费用:${amount}积分。`); - await this.userBalanceService.deductFromBalance(userId, deductType, amount); - await this.midjourneyEntity.update({ id }, { status: 3 }); - return true; - } - catch (error) { - await this.midjourneyEntity.update({ id }, { status: 4 }); - console.log('error: ', error); - return true; - } - } async addDrawQueue(params) { try { - const { prompt, imgUrl = '', extraParam = '', action, userId, customId, drawId } = params; - const fullPrompt = imgUrl ? `${imgUrl} ${prompt} ${extraParam}` : `${prompt} ${extraParam}`; + const { prompt, imgUrl = '', extraParam = '', action, userId, customId, drawId, } = params; + const fullPrompt = imgUrl + ? `${imgUrl} ${prompt} ${extraParam}` + : `${prompt} ${extraParam}`; const drawInfo = { userId, drawId, @@ -110,7 +136,7 @@ let MidjourneyService = class MidjourneyService { try { const { id, imageUrl, action, submitTime, finishTime, progress } = drawRes; const durationSpent = finishTime - submitTime; - const { mjNotSaveImg, mjProxyImgUrl, mjNotUseProxy, } = await this.globalConfigService.getConfigs([ + const { mjNotSaveImg, mjProxyImgUrl, mjNotUseProxy } = await this.globalConfigService.getConfigs([ 'mjNotSaveImg', 'mjProxyImgUrl', 'mjNotUseProxy', @@ -134,13 +160,28 @@ let MidjourneyService = class MidjourneyService { if (mjNotSaveImg !== '1') { try { common_1.Logger.debug(`------> 开始上传图片!!!`); - const filename = `${Date.now()}-${uuid.v4().slice(0, 4)}.png`; - processedUrl = await this.uploadService.uploadFileFromUrl({ filename, url: processedUrl }); + const now = new Date(); + const year = now.getFullYear(); + const month = String(now.getMonth() + 1).padStart(2, '0'); + const day = String(now.getDate()).padStart(2, '0'); + const currentDate = `${year}${month}/${day}`; + common_1.Logger.debug(`------> 上传图片的URL: ${processedUrl}`); + if (!processedUrl) { + throw new Error('processedUrl is undefined or empty'); + } + processedUrl = await this.uploadService.uploadFileFromUrl({ + url: processedUrl, + dir: `midjourney/${currentDate}`, + }); logMessage = `上传成功 URL: ${processedUrl}`; + common_1.Logger.debug(logMessage); } catch (uploadError) { common_1.Logger.error('存储图片失败,使用原始/代理图片链接'); + common_1.Logger.error(uploadError.message); + common_1.Logger.error(uploadError.stack); logMessage = `存储图片失败,使用原始/代理图片链接 ${processedUrl}`; + common_1.Logger.debug(logMessage); } common_1.Logger.log(logMessage, 'MidjourneyService'); } @@ -166,15 +207,15 @@ let MidjourneyService = class MidjourneyService { throw new common_1.HttpException('更新绘画数据失败', common_1.HttpStatus.BAD_REQUEST); } } - async sendDrawCommand(drawInfo, action, modelInfo, base64) { - const { openaiBaseUrl, openaiBaseKey, } = await this.globalConfigService.getConfigs([ + async sendDrawCommand(drawInfo, modelInfo) { + const { openaiBaseUrl, openaiBaseKey } = await this.globalConfigService.getConfigs([ 'openaiBaseUrl', 'openaiBaseKey', ]); const { key, proxyUrl } = modelInfo; const mjProxyUrl = proxyUrl || openaiBaseUrl; const mjKey = key || openaiBaseKey; - const { id, fullPrompt, imgUrl, drawId, customId } = drawInfo; + const { id, fullPrompt, imgUrl, drawId, customId, action, base64 } = drawInfo; const prompt = imgUrl ? `${imgUrl} ${fullPrompt}` : `${fullPrompt}`; let url = ''; let payloadJson = {}; @@ -215,9 +256,9 @@ let MidjourneyService = class MidjourneyService { } } } - async pollComparisonResultDraw(id, modelInfo, drawInfo) { - const { key, proxyUrl, timeout } = modelInfo; - const { openaiTimeout, openaiBaseUrl, openaiBaseKey, } = await this.globalConfigService.getConfigs([ + async pollComparisonResultDraw(drawId, modelInfo) { + const { key, proxyUrl, timeout, id } = modelInfo; + const { openaiTimeout, openaiBaseUrl, openaiBaseKey } = await this.globalConfigService.getConfigs([ 'openaiTimeout', 'openaiBaseUrl', 'openaiBaseKey', @@ -231,15 +272,14 @@ let MidjourneyService = class MidjourneyService { let pollingCount = 0; let retryCount = 0; const MAX_RETRIES = 5; - const { drawId } = drawInfo; try { while (Date.now() - startTime < TIMEOUT && retryCount < MAX_RETRIES) { - await new Promise(resolve => setTimeout(resolve, POLL_INTERVAL)); + await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL)); common_1.Logger.log(`【绘制图片】第 ${pollingCount + 1} 次开始查询, 使用 drawId: ${drawId}`, 'MidjourneyService'); try { const headers = { - "Content-Type": "application/x-www-form-urlencoded", - "mj-api-secret": mjKey + 'Content-Type': 'application/x-www-form-urlencoded', + 'mj-api-secret': mjKey, }; const url = `${mjProxyUrl}/mj/task/${drawId}/fetch`; const res = await axios_1.default.get(url, { headers }); @@ -283,10 +323,31 @@ let MidjourneyService = class MidjourneyService { order: { id: 'DESC' }, take: size, skip: (page - 1) * size, - select: ['id', 'userId', 'prompt', 'extraParam', 'fullPrompt', 'rec', 'orderId', 'drawId', 'drawUrl', 'drawRatio', 'isDelete', 'status', 'action', 'extend'] + select: [ + 'id', + 'userId', + 'prompt', + 'extraParam', + 'fullPrompt', + 'rec', + 'orderId', + 'drawId', + 'drawUrl', + 'drawRatio', + 'isDelete', + 'status', + 'action', + 'extend', + ], }); - const countQueue = await this.midjourneyEntity.count({ where: { isDelete: 0, status: (0, typeorm_2.In)([1, 2]) } }); - const data = { rows: (0, utils_1.formatCreateOrUpdateDate)(rows), count, countQueue }; + const countQueue = await this.midjourneyEntity.count({ + where: { isDelete: 0, status: (0, typeorm_2.In)([1, 2]) }, + }); + const data = { + rows: (0, utils_1.formatCreateOrUpdateDate)(rows), + count, + countQueue, + }; return data; } catch (error) { @@ -295,11 +356,11 @@ let MidjourneyService = class MidjourneyService { } async getDrawActionDetail(action, drawId, customId) { const modelInfo = await this.modelsService.getSpecialModelKeyInfo('midjourney'); - const { openaiBaseUrl, openaiBaseKey, } = await this.globalConfigService.getConfigs([ + const { openaiBaseUrl, openaiBaseKey } = await this.globalConfigService.getConfigs([ 'openaiBaseUrl', 'openaiBaseKey', ]); - const { deduct, isTokenBased, tokenFeeRatio, deductType, key, modelName, id: keyId, maxRounds, proxyUrl, maxModelTokens, timeout, model: useModel } = modelInfo; + const { deduct, isTokenBased, tokenFeeRatio, deductType, key, modelName, id: keyId, maxRounds, proxyUrl, maxModelTokens, timeout, model: useModel, } = modelInfo; const mjProxyUrl = proxyUrl; const mjKey = key || openaiBaseKey; const headers = { 'mj-api-secret': mjKey || openaiBaseUrl }; @@ -314,7 +375,9 @@ let MidjourneyService = class MidjourneyService { return { drawId: resultId }; } async deleteDraw(id, req) { - const d = await this.midjourneyEntity.findOne({ where: { id, userId: req.user.id, isDelete: 0 } }); + const d = await this.midjourneyEntity.findOne({ + where: { id, userId: req.user.id, isDelete: 0 }, + }); if (!d) { throw new common_1.HttpException('当前图片不存在!', common_1.HttpStatus.BAD_REQUEST); } @@ -331,8 +394,12 @@ let MidjourneyService = class MidjourneyService { } async checkLimit(req) { const { role, id } = req.user; - const count = await this.midjourneyEntity.count({ where: { userId: id, isDelete: 0, status: (0, typeorm_2.In)([1, 2]) } }); - const mjLimitCount = await this.globalConfigService.getConfigs(['mjLimitCount']); + const count = await this.midjourneyEntity.count({ + where: { userId: id, isDelete: 0, status: (0, typeorm_2.In)([1, 2]) }, + }); + const mjLimitCount = await this.globalConfigService.getConfigs([ + 'mjLimitCount', + ]); const max = mjLimitCount ? Number(mjLimitCount) : 2; if (count >= max) { throw new common_1.HttpException(`当前管理员限制单用户同时最多能执行${max}个任务`, common_1.HttpStatus.BAD_REQUEST); @@ -342,17 +409,12 @@ let MidjourneyService = class MidjourneyService { const { id, userId, action } = jobData; await this.midjourneyEntity.update({ id }, { status: 4 }); } - async drawSuccess(jobData) { - const { id, userId, action } = jobData; - const amount = action === "UPSCALE" ? 1 : 4; - common_1.Logger.debug(`绘画完成,执行扣费,扣除费用:${amount}积分。`); - await this.userBalanceService.deductFromBalance(userId, 3, 3); - await this.midjourneyEntity.update({ id }, { status: 3 }); - } async getList(params) { const { page = 1, size = 20, rec, userId, status } = params; if (Number(size) === 999) { - const cache = await this.redisCacheService.get({ key: 'midjourney:getList' }); + const cache = await this.redisCacheService.get({ + key: 'midjourney:getList', + }); if (cache) { try { return JSON.parse(cache); @@ -371,13 +433,37 @@ let MidjourneyService = class MidjourneyService { order: { id: 'DESC' }, take: size, skip: (page - 1) * size, - select: ['id', 'drawId', 'drawUrl', 'drawRatio', 'prompt', 'fullPrompt', 'rec', 'createdAt', 'action', 'status', 'extend'], + select: [ + 'id', + 'drawId', + 'drawUrl', + 'drawRatio', + 'prompt', + 'fullPrompt', + 'rec', + 'createdAt', + 'action', + 'status', + 'extend', + ], }); if (Number(size) === 999) { const data = { rows: rows.map((item) => { - const { id, drawId, drawUrl, drawRatio, prompt, fullPrompt, createdAt, rec, action, status, extend } = item; - return { id, drawId, drawUrl, drawRatio, prompt, fullPrompt, createdAt, rec, action, status, extend }; + const { id, drawId, drawUrl, drawRatio, prompt, fullPrompt, createdAt, rec, action, status, extend, } = item; + return { + id, + drawId, + drawUrl, + drawRatio, + prompt, + fullPrompt, + createdAt, + rec, + action, + status, + extend, + }; }), count, }; @@ -407,8 +493,13 @@ let MidjourneyService = class MidjourneyService { take: size, skip: (page - 1) * size, }); - const userIds = rows.map((item) => item.userId).filter(id => id < 100000); - const userInfos = await this.userEntity.find({ where: { id: (0, typeorm_2.In)(userIds) }, select: ['id', 'username', 'avatar', 'email'] }); + const userIds = rows + .map((item) => item.userId) + .filter((id) => id < 100000); + const userInfos = await this.userEntity.find({ + where: { id: (0, typeorm_2.In)(userIds) }, + select: ['id', 'username', 'avatar', 'email'], + }); rows.forEach((item) => { item.userInfo = userInfos.find((user) => user.id === item.userId); }); @@ -427,7 +518,9 @@ let MidjourneyService = class MidjourneyService { } async recDraw(params) { const { id } = params; - const draw = await this.midjourneyEntity.findOne({ where: { id, status: 3, isDelete: 0 } }); + const draw = await this.midjourneyEntity.findOne({ + where: { id, status: 3, isDelete: 0 }, + }); if (!draw) { throw new common_1.HttpException('当前图片不存在!', common_1.HttpStatus.BAD_REQUEST); } @@ -465,7 +558,14 @@ let MidjourneyService = class MidjourneyService { return await this.mjPromptsEntity.update({ id }, { prompt, status, isCarryParams, order, aspect }); } else { - return await this.mjPromptsEntity.save({ prompt, status, isCarryParams, title, order, aspect }); + return await this.mjPromptsEntity.save({ + prompt, + status, + isCarryParams, + title, + order, + aspect, + }); } } catch (error) { @@ -495,10 +595,11 @@ let MidjourneyService = class MidjourneyService { }; MidjourneyService = __decorate([ (0, common_1.Injectable)(), - __param(0, (0, typeorm_1.InjectRepository)(midjourney_entity_1.MidjourneyEntity)), - __param(1, (0, typeorm_1.InjectRepository)(user_entity_1.UserEntity)), - __param(2, (0, typeorm_1.InjectRepository)(prompt_entity_1.mjPromptEntity)), - __metadata("design:paramtypes", [typeorm_2.Repository, + __param(0, (0, bull_1.InjectQueue)('MJDRAW')), + __param(1, (0, typeorm_1.InjectRepository)(midjourney_entity_1.MidjourneyEntity)), + __param(2, (0, typeorm_1.InjectRepository)(user_entity_1.UserEntity)), + __param(3, (0, typeorm_1.InjectRepository)(prompt_entity_1.mjPromptEntity)), + __metadata("design:paramtypes", [Object, typeorm_2.Repository, typeorm_2.Repository, typeorm_2.Repository, globalConfig_service_1.GlobalConfigService, diff --git a/dist/modules/models/dto/setModel.dto.js b/dist/modules/models/dto/setModel.dto.js index 174a247..5dc21a9 100644 --- a/dist/modules/models/dto/setModel.dto.js +++ b/dist/modules/models/dto/setModel.dto.js @@ -30,17 +30,21 @@ __decorate([ __metadata("design:type", Object) ], SetModelDto.prototype, "key", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: true, description: '是否开启当前key对应的模型', required: true }), + (0, swagger_1.ApiProperty)({ + example: true, + description: '是否开启当前key对应的模型', + required: true, + }), __metadata("design:type", Boolean) ], SetModelDto.prototype, "status", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: 'gpt-3.5', description: '当前key绑定的模型是多少 需要调用的模型', required: true }), + (0, swagger_1.ApiProperty)({ + example: 'gpt-3.5', + description: '当前key绑定的模型是多少 需要调用的模型', + required: true, + }), __metadata("design:type", String) ], SetModelDto.prototype, "model", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: 'key的权重' }), - __metadata("design:type", Number) -], SetModelDto.prototype, "keyWeight", void 0); __decorate([ (0, swagger_1.ApiProperty)({ example: 1, description: '模型排序' }), __metadata("design:type", Number) @@ -50,11 +54,19 @@ __decorate([ __metadata("design:type", String) ], SetModelDto.prototype, "modelAvatar", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: 4096, description: '模型支持的最大TOken数量', required: false }), + (0, swagger_1.ApiProperty)({ + example: 4096, + description: '模型支持的最大TOken数量', + required: false, + }), __metadata("design:type", Number) ], SetModelDto.prototype, "maxModelTokens", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: true, description: '模型的代理地址', required: false }), + (0, swagger_1.ApiProperty)({ + example: true, + description: '模型的代理地址', + required: false, + }), __metadata("design:type", String) ], SetModelDto.prototype, "proxyUrl", void 0); __decorate([ @@ -66,7 +78,11 @@ __decorate([ __metadata("design:type", Number) ], SetModelDto.prototype, "keyStatus", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: true, description: '扣费类型 1: 普通 2: 高级余额', required: false }), + (0, swagger_1.ApiProperty)({ + example: true, + description: '扣费类型 1: 普通 2: 高级余额', + required: false, + }), __metadata("design:type", Number) ], SetModelDto.prototype, "deductType", void 0); __decorate([ @@ -74,19 +90,35 @@ __decorate([ __metadata("design:type", Number) ], SetModelDto.prototype, "deduct", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: true, description: '最大上下文轮次', required: false }), + (0, swagger_1.ApiProperty)({ + example: true, + description: '最大上下文轮次', + required: false, + }), __metadata("design:type", Number) ], SetModelDto.prototype, "maxRounds", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: true, description: '是否设置为绘画Key', required: false }), + (0, swagger_1.ApiProperty)({ + example: true, + description: '是否设置为绘画Key', + required: false, + }), __metadata("design:type", Boolean) ], SetModelDto.prototype, "isDraw", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: true, description: '是否支持文件上传', required: false }), + (0, swagger_1.ApiProperty)({ + example: true, + description: '是否支持文件上传', + required: false, + }), __metadata("design:type", Number) ], SetModelDto.prototype, "isFileUpload", void 0); __decorate([ - (0, swagger_1.ApiProperty)({ example: true, description: '是否使用token计费', required: false }), + (0, swagger_1.ApiProperty)({ + example: true, + description: '是否使用token计费', + required: false, + }), __metadata("design:type", Boolean) ], SetModelDto.prototype, "isTokenBased", void 0); __decorate([ diff --git a/dist/modules/models/models.entity.js b/dist/modules/models/models.entity.js index 6358817..a09f588 100644 --- a/dist/modules/models/models.entity.js +++ b/dist/modules/models/models.entity.js @@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ModelsEntity = void 0; -const typeorm_1 = require("typeorm"); const baseEntity_1 = require("../../common/entity/baseEntity"); +const typeorm_1 = require("typeorm"); let ModelsEntity = class ModelsEntity extends baseEntity_1.BaseEntity { }; __decorate([ @@ -27,7 +27,7 @@ __decorate([ __metadata("design:type", String) ], ModelsEntity.prototype, "model", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '模型头像', nullable: true }), + (0, typeorm_1.Column)({ length: 1024, comment: '模型头像', nullable: true }), __metadata("design:type", String) ], ModelsEntity.prototype, "modelAvatar", void 0); __decorate([ @@ -35,7 +35,11 @@ __decorate([ __metadata("design:type", Number) ], ModelsEntity.prototype, "modelOrder", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '模型上下文支持的最大Token', default: 2000, nullable: true }), + (0, typeorm_1.Column)({ + comment: '模型上下文支持的最大Token', + default: 2000, + nullable: true, + }), __metadata("design:type", Number) ], ModelsEntity.prototype, "maxModelTokens", void 0); __decorate([ @@ -59,7 +63,10 @@ __decorate([ __metadata("design:type", Boolean) ], ModelsEntity.prototype, "isTokenBased", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '是否支持文件上传: 0:不是 1: 附件链接格式 2: 4V格式', default: 0 }), + (0, typeorm_1.Column)({ + comment: '是否支持文件上传: 0:不是 1: 附件链接格式 2: 4V格式', + default: 0, + }), __metadata("design:type", Number) ], ModelsEntity.prototype, "isFileUpload", void 0); __decorate([ @@ -79,13 +86,12 @@ __decorate([ __metadata("design:type", Boolean) ], ModelsEntity.prototype, "status", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: 'key的状态: 1:有效 -1:被封号 -2: 错误的秘钥 -3: 余额使用完了', default: 1 }), + (0, typeorm_1.Column)({ + comment: 'key的状态: 1:有效 -1:被封号 -2: 错误的秘钥 -3: 余额使用完了', + default: 1, + }), __metadata("design:type", Number) ], ModelsEntity.prototype, "keyStatus", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: 'key权重', default: 1 }), - __metadata("design:type", Number) -], ModelsEntity.prototype, "keyWeight", void 0); __decorate([ (0, typeorm_1.Column)({ comment: 'key的使用次数', default: 0 }), __metadata("design:type", Number) @@ -102,6 +108,10 @@ __decorate([ (0, typeorm_1.Column)({ comment: '模型频率限制 次/小时', default: 999 }), __metadata("design:type", Number) ], ModelsEntity.prototype, "modelLimits", void 0); +__decorate([ + (0, typeorm_1.Column)({ comment: '模型介绍', nullable: true }), + __metadata("design:type", String) +], ModelsEntity.prototype, "modelDescription", void 0); ModelsEntity = __decorate([ (0, typeorm_1.Entity)({ name: 'models' }) ], ModelsEntity); diff --git a/dist/modules/models/models.service.js b/dist/modules/models/models.service.js index e21c8f1..f620f77 100644 --- a/dist/modules/models/models.service.js +++ b/dist/modules/models/models.service.js @@ -47,18 +47,16 @@ let ModelsService = class ModelsService { } return pre; }, {}); - this.modelTypes = Object.keys(keyTypes).map(keyType => { + this.modelTypes = Object.keys(keyTypes).map((keyType) => { return { label: status_constant_1.ModelsMapCn[keyType], val: keyType }; }); this.modelMaps = keyTypes; this.keyList = {}; - allKeys.forEach(keyDetail => { - const { keyType, model, keyWeight } = keyDetail; + allKeys.forEach((keyDetail) => { + const { keyType, model } = keyDetail; if (!this.keyPoolMap[model]) this.keyPoolMap[model] = []; - for (let index = 0; index < keyWeight; index++) { - this.keyPoolMap[model].push(keyDetail); - } + this.keyPoolMap[model].push(keyDetail); if (!this.keyPoolIndexMap[model]) this.keyPoolIndexMap[model] = 0; if (!this.keyList[keyType]) @@ -74,7 +72,9 @@ let ModelsService = class ModelsService { this.initCalcKey(); } async getCurrentModelKeyInfo(model) { - const modelKeyInfo = await this.modelsEntity.findOne({ where: { model: model } }); + const modelKeyInfo = await this.modelsEntity.findOne({ + where: { model: model }, + }); if (!modelKeyInfo) { throw new common_1.HttpException('当前调用模型的key未找到,请重新选择模型!', common_1.HttpStatus.BAD_REQUEST); } @@ -82,7 +82,7 @@ let ModelsService = class ModelsService { } async getSpecialModelKeyInfo(modelPrefix) { const matchingModels = await this.modelsEntity.find({ - where: { model: (0, typeorm_2.Like)(`${modelPrefix}%`) } + where: { model: (0, typeorm_2.Like)(`${modelPrefix}%`) }, }); if (matchingModels.length === 0) { throw new common_1.HttpException('未找到匹配的模型,请重新选择模型!', common_1.HttpStatus.BAD_REQUEST); @@ -95,9 +95,18 @@ let ModelsService = class ModelsService { async getBaseConfig(appId) { if (!this.modelTypes.length || !Object.keys(this.modelMaps).length) return; - const { keyType, modelName, model, deductType, deduct, isFileUpload } = this.modelMaps[1][0]; + const { keyType, modelName, model, deductType, deduct, isFileUpload, modelAvatar, modelDescription, } = this.modelMaps[1][0]; return { - modelInfo: { keyType, modelName, model, deductType, deduct, isFileUpload } + modelInfo: { + keyType, + modelName, + model, + deductType, + deduct, + isFileUpload, + modelAvatar, + modelDescription, + }, }; } async setModel(params) { @@ -120,7 +129,7 @@ let ModelsService = class ModelsService { return res; } else { - const data = key.map(k => { + const data = key.map((k) => { try { const data = JSON.parse(JSON.stringify(params)); data.key = k; @@ -166,13 +175,13 @@ let ModelsService = class ModelsService { const [rows, count] = await this.modelsEntity.findAndCount({ where: where, order: { - modelOrder: 'ASC' + modelOrder: 'ASC', }, skip: (page - 1) * size, take: size, }); if (role !== 'super') { - rows.forEach(item => { + rows.forEach((item) => { item.key && (item.key = (0, utils_1.hideString)(item.key)); }); } @@ -180,22 +189,37 @@ let ModelsService = class ModelsService { } async modelsList() { const cloneModelMaps = JSON.parse(JSON.stringify(this.modelMaps)); - Object.keys(cloneModelMaps).forEach(key => { - cloneModelMaps[key] = cloneModelMaps[key].sort((a, b) => a.modelOrder - b.modelOrder); + Object.keys(cloneModelMaps).forEach((key) => { + cloneModelMaps[key] = cloneModelMaps[key] + .filter((t) => t.keyStatus === 1) + .sort((a, b) => a.modelOrder - b.modelOrder); cloneModelMaps[key] = Array.from(cloneModelMaps[key] - .map(t => { - const { modelName, keyType, model, deduct, deductType, maxRounds, modelAvatar, isFileUpload } = t; - return { modelName, keyType, model, deduct, deductType, maxRounds, modelAvatar, isFileUpload }; + .map((t) => { + const { modelName, keyType, model, deduct, deductType, maxRounds, modelAvatar, isFileUpload, modelDescription, } = t; + return { + modelName, + keyType, + model, + deduct, + deductType, + maxRounds, + modelAvatar, + isFileUpload, + modelDescription, + }; }) - .reduce((map, obj) => map.set(obj.modelName, obj), new Map()).values()); + .reduce((map, obj) => map.set(obj.modelName, obj), new Map()) + .values()); }); return { modelTypeList: this.modelTypes, - modelMaps: cloneModelMaps + modelMaps: cloneModelMaps, }; } async getMjInfo() { - const modelInfo = await this.modelsEntity.findOne({ where: { model: "midjourney" } }); + const modelInfo = await this.modelsEntity.findOne({ + where: { model: 'midjourney' }, + }); if (modelInfo) { return { modelName: modelInfo.modelName, @@ -212,7 +236,10 @@ let ModelsService = class ModelsService { await this.modelsEntity .createQueryBuilder() .update(models_entity_1.ModelsEntity) - .set({ useCount: () => 'useCount + 1', useToken: () => `useToken + ${useToken}` }) + .set({ + useCount: () => 'useCount + 1', + useToken: () => `useToken + ${useToken}`, + }) .where('id = :id', { id }) .execute(); } diff --git a/dist/modules/official/official.controller.js b/dist/modules/official/official.controller.js index 01d2427..ae07382 100644 --- a/dist/modules/official/official.controller.js +++ b/dist/modules/official/official.controller.js @@ -13,12 +13,13 @@ var __param = (this && this.__param) || function (paramIndex, decorator) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.OfficialController = void 0; +const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard"); +const utils_1 = require("../../common/utils"); const common_1 = require("@nestjs/common"); const swagger_1 = require("@nestjs/swagger"); -const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard"); -const official_service_1 = require("./official.service"); const getQrCode_dto_1 = require("./dto/getQrCode.dto"); const getQrSceneStr_dto_1 = require("./dto/getQrSceneStr.dto"); +const official_service_1 = require("./official.service"); let OfficialController = class OfficialController { constructor(officialService) { this.officialService = officialService; @@ -85,7 +86,8 @@ let OfficialController = class OfficialController { if (process.env.ISDEV === 'TRUE') return ''; const ticket = await this.officialService.getQRCodeTicket(query.sceneStr); - return `https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=${encodeURIComponent(ticket)}`; + const Url = (0, utils_1.formatUrl)(process.env.weChatMpUrl || 'https://mp.weixin.qq.com'); + return `${Url}/cgi-bin/showqrcode?ticket=${encodeURIComponent(ticket)}`; } async loginBySceneStr(req, body) { return this.officialService.loginBySceneStr(req, body.sceneStr); diff --git a/dist/modules/official/official.service.js b/dist/modules/official/official.service.js index a103cbe..c4b7b7e 100644 --- a/dist/modules/official/official.service.js +++ b/dist/modules/official/official.service.js @@ -49,17 +49,24 @@ let OfficialService = class OfficialService { return this.fetchQRCodeTicket(sceneStr); } async getRedirectUrl(url) { - const appId = await this.globalConfigService.getConfigs(['wechatOfficialAppId']); - const res = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appId}&redirect_uri=${encodeURIComponent(url)}&response_type=code&scope=snsapi_base&state=weChatLogin#wechat_redirect`; + const appId = await this.globalConfigService.getConfigs([ + 'wechatOfficialAppId', + ]); + const Url = (0, utils_1.formatUrl)(process.env.weChatOpenUrl || 'https://open.weixin.qq.com'); + const res = `${Url}/connect/oauth2/authorize?appid=${appId}&redirect_uri=${encodeURIComponent(url)}&response_type=code&scope=snsapi_base&state=weChatLogin#wechat_redirect`; console.log('回跳跳转地址: ', res); return res; } async getJsapiTicket(url) { const nonceStr = (0, utils_1.createRandomNonceStr)(32); const timestamp = (Date.now() / 1000).toFixed(0); - const jsapiTicket = await this.globalConfigService.getConfigs(['wechatJsapiTicket']); + const jsapiTicket = await this.globalConfigService.getConfigs([ + 'wechatJsapiTicket', + ]); console.log('jsapiTicket: ', jsapiTicket); - const appId = await this.globalConfigService.getConfigs(['wechatOfficialAppId']); + const appId = await this.globalConfigService.getConfigs([ + 'wechatOfficialAppId', + ]); console.log('appId: ', appId); const str = `jsapi_ticket=${jsapiTicket}&noncestr=${nonceStr}×tamp=${timestamp}&url=${url}`; console.log('str: ', str); @@ -67,18 +74,29 @@ let OfficialService = class OfficialService { return { appId, nonceStr, timestamp, signature }; } async fetchQRCodeTicket(sceneStr) { - const accessToken = await this.globalConfigService.getConfigs(['wechatAccessToken']); - const params = { action_name: 'QR_STR_SCENE', action_info: { scene: { scene_str: sceneStr } } }; - const res = await axios_1.default.post(`https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=${accessToken}`, params); + const accessToken = await this.globalConfigService.getConfigs([ + 'wechatAccessToken', + ]); + const Url = (0, utils_1.formatUrl)(process.env.weChatApiUrl || 'https://api.weixin.qq.com'); + const params = { + action_name: 'QR_STR_SCENE', + action_info: { scene: { scene_str: sceneStr } }, + }; + const res = await axios_1.default.post(`${Url}/cgi-bin/qrcode/create?access_token=${accessToken}`, params); const { data: { errmsg, ticket }, } = res; if (errmsg) throw new common_1.HttpException(errmsg, common_1.HttpStatus.BAD_REQUEST); return ticket; } async loginByCode(req, code) { - const appId = await this.globalConfigService.getConfigs(['wechatOfficialAppId']); - const secret = await this.globalConfigService.getConfigs(['wechatOfficialAppSecret']); - const res = await axios_1.default.get(`https://api.weixin.qq.com/sns/oauth2/access_token?appid=${appId}&secret=${secret}&code=${code}&grant_type=authorization_code`); + const appId = await this.globalConfigService.getConfigs([ + 'wechatOfficialAppId', + ]); + const secret = await this.globalConfigService.getConfigs([ + 'wechatOfficialAppSecret', + ]); + const Url = (0, utils_1.formatUrl)(process.env.weChatApiUrl || 'https://api.weixin.qq.com'); + const res = await axios_1.default.get(`${Url}/sns/oauth2/access_token?appid=${appId}&secret=${secret}&code=${code}&grant_type=authorization_code`); const { data: { errmsg, openid }, } = res; if (errmsg) throw new common_1.HttpException(errmsg, common_1.HttpStatus.BAD_REQUEST); @@ -90,10 +108,21 @@ let OfficialService = class OfficialService { return this.authService.loginByOpenId(user, req); } async scan(openID, sceneStr) { - if (!this.sceneStrMap[sceneStr]) - throw new common_1.HttpException('非法参数', common_1.HttpStatus.BAD_REQUEST); - const user = await this.userService.getUserFromOpenId(openID, sceneStr); - this.scanedSceneStrMap[sceneStr] = user.id; + try { + common_1.Logger.log(`Scanning with openID: ${openID}, sceneStr: ${sceneStr}`); + if (!this.sceneStrMap[sceneStr]) { + common_1.Logger.error(`非法参数: 未找到的 sceneStr ${sceneStr}`); + throw new common_1.HttpException('非法参数', common_1.HttpStatus.BAD_REQUEST); + } + const user = await this.userService.getUserFromOpenId(openID, sceneStr); + common_1.Logger.log(`User found: ${user ? user.id : 'No user found'}`); + this.scanedSceneStrMap[sceneStr] = user.id; + } + catch (error) { + common_1.Logger.error('Error in scan method:', error.message); + common_1.Logger.error('Stack trace:', error.stack); + throw new common_1.HttpException('处理扫码事件时发生错误', common_1.HttpStatus.INTERNAL_SERVER_ERROR); + } } async loginBySceneStr(req, sceneStr) { if (!this.sceneStrMap[sceneStr]) @@ -123,8 +152,9 @@ let OfficialService = class OfficialService { return res; } async verify(signature, nonce, timestamp) { - const token = (await this.globalConfigService.getConfigs(['wechatOfficialToken'])) || ''; - return (await this.sha1([token, nonce, timestamp].sort().join(''))) == signature; + const token = (await this.globalConfigService.getConfigs(['wechatOfficialToken'])) || + ''; + return ((await this.sha1([token, nonce, timestamp].sort().join(''))) == signature); } sha1(data) { return crypto.createHash('sha1').update(data).digest('hex'); @@ -149,7 +179,8 @@ let OfficialService = class OfficialService { reject(new Error('请求超时')); }, 4800); }); - let question = (await this.globalConfigService.getConfigs(['officialAutoReplyText'])) || '由于公众号的回复限制、过长的问题我们可能无法回复、您可以前往我们的官方站点享受更加完善的服务、如果您有更多问题、欢迎像我提问!'; + let question = (await this.globalConfigService.getConfigs(['officialAutoReplyText'])) || + '由于公众号的回复限制、过长的问题我们可能无法回复、您可以前往我们的官方站点享受更加完善的服务、如果您有更多问题、欢迎像我提问!'; return question; } }; diff --git a/dist/modules/plugin/plugin.controller.js b/dist/modules/plugin/plugin.controller.js new file mode 100644 index 0000000..d74e1b2 --- /dev/null +++ b/dist/modules/plugin/plugin.controller.js @@ -0,0 +1,80 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __param = (this && this.__param) || function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PluginController = void 0; +const superAuth_guard_1 = require("../../common/auth/superAuth.guard"); +const common_1 = require("@nestjs/common"); +const swagger_1 = require("@nestjs/swagger"); +const plugin_service_1 = require("./plugin.service"); +let PluginController = class PluginController { + constructor(pluginService) { + this.pluginService = pluginService; + } + pluginList(req) { + return this.pluginService.pluginList(req); + } + createPlugin(body) { + return this.pluginService.createPlugin(body); + } + updatePlugin(body) { + return this.pluginService.updatePlugin(body); + } + delPlugin(body) { + return this.pluginService.delPlugin(body); + } +}; +__decorate([ + (0, common_1.Get)('pluginList'), + (0, swagger_1.ApiOperation)({ summary: '获取Plugin' }), + __param(0, (0, common_1.Req)()), + __metadata("design:type", Function), + __metadata("design:paramtypes", [Object]), + __metadata("design:returntype", void 0) +], PluginController.prototype, "pluginList", null); +__decorate([ + (0, common_1.Post)('createPlugin'), + (0, swagger_1.ApiOperation)({ summary: '创建Plugin' }), + (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), + (0, swagger_1.ApiBearerAuth)(), + __param(0, (0, common_1.Body)()), + __metadata("design:type", Function), + __metadata("design:paramtypes", [Object]), + __metadata("design:returntype", void 0) +], PluginController.prototype, "createPlugin", null); +__decorate([ + (0, common_1.Post)('updatePlugin'), + (0, swagger_1.ApiOperation)({ summary: '修改插件' }), + (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), + (0, swagger_1.ApiBearerAuth)(), + __param(0, (0, common_1.Body)()), + __metadata("design:type", Function), + __metadata("design:paramtypes", [Object]), + __metadata("design:returntype", void 0) +], PluginController.prototype, "updatePlugin", null); +__decorate([ + (0, common_1.Post)('delPlugin'), + (0, swagger_1.ApiOperation)({ summary: '删除插件' }), + (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), + (0, swagger_1.ApiBearerAuth)(), + __param(0, (0, common_1.Body)()), + __metadata("design:type", Function), + __metadata("design:paramtypes", [Object]), + __metadata("design:returntype", void 0) +], PluginController.prototype, "delPlugin", null); +PluginController = __decorate([ + (0, swagger_1.ApiTags)('Plugin'), + (0, common_1.Controller)('plugin'), + __metadata("design:paramtypes", [plugin_service_1.PluginService]) +], PluginController); +exports.PluginController = PluginController; diff --git a/dist/modules/chat/chatBox.entity.js b/dist/modules/plugin/plugin.entity.js similarity index 51% rename from dist/modules/chat/chatBox.entity.js rename to dist/modules/plugin/plugin.entity.js index 9615350..658199a 100644 --- a/dist/modules/chat/chatBox.entity.js +++ b/dist/modules/plugin/plugin.entity.js @@ -9,40 +9,40 @@ var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ChatBoxEntity = void 0; -const typeorm_1 = require("typeorm"); +exports.PluginEntity = void 0; const baseEntity_1 = require("../../common/entity/baseEntity"); -let ChatBoxEntity = class ChatBoxEntity extends baseEntity_1.BaseEntity { +const typeorm_1 = require("typeorm"); +let PluginEntity = class PluginEntity extends baseEntity_1.BaseEntity { }; __decorate([ - (0, typeorm_1.Column)({ comment: '分类ID' }), - __metadata("design:type", Number) -], ChatBoxEntity.prototype, "typeId", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '应用ID', nullable: true }), - __metadata("design:type", Number) -], ChatBoxEntity.prototype, "appId", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '快速描述词', nullable: true, type: 'text' }), + (0, typeorm_1.Column)({ unique: true, comment: '插件名称' }), __metadata("design:type", String) -], ChatBoxEntity.prototype, "prompt", void 0); +], PluginEntity.prototype, "name", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '标题名称' }), + (0, typeorm_1.Column)({ comment: '插件封面', nullable: true, type: 'text' }), __metadata("design:type", String) -], ChatBoxEntity.prototype, "title", void 0); +], PluginEntity.prototype, "pluginImg", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '排序ID', default: 100 }), + (0, typeorm_1.Column)({ comment: '插件描述' }), + __metadata("design:type", String) +], PluginEntity.prototype, "description", void 0); +__decorate([ + (0, typeorm_1.Column)({ comment: '插件是否启用 0:禁用 1:启用', default: 1 }), __metadata("design:type", Number) -], ChatBoxEntity.prototype, "order", void 0); +], PluginEntity.prototype, "isEnabled", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '开启状态', default: true }), - __metadata("design:type", Boolean) -], ChatBoxEntity.prototype, "status", void 0); + (0, typeorm_1.Column)({ comment: '插件是否为系统插件 0:否 1:是', default: 0 }), + __metadata("design:type", Number) +], PluginEntity.prototype, "isSystemPlugin", void 0); __decorate([ - (0, typeorm_1.Column)({ comment: '跳转地址' }), + (0, typeorm_1.Column)({ comment: '调用参数', type: 'text' }), __metadata("design:type", String) -], ChatBoxEntity.prototype, "url", void 0); -ChatBoxEntity = __decorate([ - (0, typeorm_1.Entity)({ name: 'chat_box' }) -], ChatBoxEntity); -exports.ChatBoxEntity = ChatBoxEntity; +], PluginEntity.prototype, "parameters", void 0); +__decorate([ + (0, typeorm_1.Column)({ comment: '排序值', default: 0 }), + __metadata("design:type", Number) +], PluginEntity.prototype, "sortOrder", void 0); +PluginEntity = __decorate([ + (0, typeorm_1.Entity)({ name: 'plugin' }) +], PluginEntity); +exports.PluginEntity = PluginEntity; diff --git a/dist/modules/knowledgeBase/knowledgeBase.service.js b/dist/modules/plugin/plugin.module.js similarity index 53% rename from dist/modules/knowledgeBase/knowledgeBase.service.js rename to dist/modules/plugin/plugin.module.js index ac3c937..e4d3708 100644 --- a/dist/modules/knowledgeBase/knowledgeBase.service.js +++ b/dist/modules/plugin/plugin.module.js @@ -6,11 +6,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, return c > 3 && r && Object.defineProperty(target, key, r), r; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.KnowledgeBaseService = void 0; +exports.PluginModule = void 0; const common_1 = require("@nestjs/common"); -let KnowledgeBaseService = class KnowledgeBaseService { +const typeorm_1 = require("@nestjs/typeorm"); +const plugin_controller_1 = require("./plugin.controller"); +const plugin_entity_1 = require("./plugin.entity"); +const plugin_service_1 = require("./plugin.service"); +let PluginModule = class PluginModule { }; -KnowledgeBaseService = __decorate([ - (0, common_1.Injectable)() -], KnowledgeBaseService); -exports.KnowledgeBaseService = KnowledgeBaseService; +PluginModule = __decorate([ + (0, common_1.Module)({ + imports: [typeorm_1.TypeOrmModule.forFeature([plugin_entity_1.PluginEntity])], + controllers: [plugin_controller_1.PluginController], + providers: [plugin_service_1.PluginService], + }) +], PluginModule); +exports.PluginModule = PluginModule; diff --git a/dist/modules/plugin/plugin.service.js b/dist/modules/plugin/plugin.service.js new file mode 100644 index 0000000..1ef7904 --- /dev/null +++ b/dist/modules/plugin/plugin.service.js @@ -0,0 +1,103 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __param = (this && this.__param) || function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PluginService = void 0; +const common_1 = require("@nestjs/common"); +const typeorm_1 = require("@nestjs/typeorm"); +const typeorm_2 = require("typeorm"); +const plugin_entity_1 = require("./plugin.entity"); +let PluginService = class PluginService { + constructor(PluginEntity) { + this.PluginEntity = PluginEntity; + } + async pluginList(query) { + const { page = 1, size = 1000 } = query; + const rows = await this.PluginEntity.find({ + order: { sortOrder: 'ASC', id: 'DESC' }, + skip: (page - 1) * size, + take: size, + }); + return { rows, count: rows.length }; + } + async createPlugin(body) { + const { name, pluginImg, description, isEnabled, isSystemPlugin, parameters, sortOrder, } = body; + const existingPlugin = await this.PluginEntity.findOne({ + where: { name }, + }); + if (existingPlugin) { + throw new common_1.HttpException('该插件名称已存在!', common_1.HttpStatus.BAD_REQUEST); + } + const newPlugin = this.PluginEntity.create({ + name, + pluginImg, + description, + isEnabled: isEnabled !== undefined ? isEnabled : 1, + isSystemPlugin: isSystemPlugin !== undefined ? isSystemPlugin : 0, + parameters, + sortOrder: sortOrder !== undefined ? sortOrder : 0, + }); + return await this.PluginEntity.save(newPlugin); + } + async updatePlugin(body) { + const { id, name, pluginImg, description, isEnabled, isSystemPlugin, parameters, sortOrder, } = body; + const existingPlugin = await this.PluginEntity.findOne({ + where: { id }, + }); + if (!existingPlugin) { + throw new common_1.HttpException('插件不存在!', common_1.HttpStatus.BAD_REQUEST); + } + const duplicatePlugin = await this.PluginEntity.findOne({ + where: { name, id: (0, typeorm_2.Not)(id) }, + }); + if (duplicatePlugin) { + throw new common_1.HttpException('该插件名称已存在!', common_1.HttpStatus.BAD_REQUEST); + } + existingPlugin.name = name; + existingPlugin.pluginImg = pluginImg; + existingPlugin.description = description; + existingPlugin.isEnabled = + isEnabled !== undefined ? isEnabled : existingPlugin.isEnabled; + existingPlugin.isSystemPlugin = + isSystemPlugin !== undefined + ? isSystemPlugin + : existingPlugin.isSystemPlugin; + existingPlugin.parameters = parameters; + existingPlugin.sortOrder = + sortOrder !== undefined ? sortOrder : existingPlugin.sortOrder; + await this.PluginEntity.save(existingPlugin); + return '修改插件信息成功'; + } + async delPlugin(body) { + const { id } = body; + const existingPlugin = await this.PluginEntity.findOne({ + where: { id }, + }); + if (!existingPlugin) { + throw new common_1.HttpException('该插件不存在!', common_1.HttpStatus.BAD_REQUEST); + } + const deleteResult = await this.PluginEntity.delete(id); + if (deleteResult.affected > 0) { + return '删除插件成功'; + } + else { + throw new common_1.HttpException('删除插件失败!', common_1.HttpStatus.BAD_REQUEST); + } + } +}; +PluginService = __decorate([ + (0, common_1.Injectable)(), + __param(0, (0, typeorm_1.InjectRepository)(plugin_entity_1.PluginEntity)), + __metadata("design:paramtypes", [typeorm_2.Repository]) +], PluginService); +exports.PluginService = PluginService; diff --git a/dist/modules/queue/queue.controller.js b/dist/modules/queue/queue.controller.js deleted file mode 100644 index 768d62d..0000000 --- a/dist/modules/queue/queue.controller.js +++ /dev/null @@ -1,55 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -var __param = (this && this.__param) || function (paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QueueController = void 0; -const queue_service_1 = require("./queue.service"); -const common_1 = require("@nestjs/common"); -const swagger_1 = require("@nestjs/swagger"); -const mjDraw_dto_1 = require("./dto/mjDraw.dto"); -const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard"); -let QueueController = class QueueController { - constructor(queueService) { - this.queueService = queueService; - } - async mjDraw(body, req) { - return await this.queueService.addMjDrawQueue(body, req); - } - async getQueue() { - return await this.queueService.getQueue(); - } -}; -__decorate([ - (0, common_1.Post)('addMjDrawQueue'), - (0, swagger_1.ApiOperation)({ summary: '提交绘制图片任务' }), - (0, common_1.UseGuards)(jwtAuth_guard_1.JwtAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Body)()), - __param(1, (0, common_1.Req)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [mjDraw_dto_1.MjDrawDto, Object]), - __metadata("design:returntype", Promise) -], QueueController.prototype, "mjDraw", null); -__decorate([ - (0, common_1.Get)('getQueue'), - (0, swagger_1.ApiOperation)({ summary: '查询任务队列' }), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", Promise) -], QueueController.prototype, "getQueue", null); -QueueController = __decorate([ - (0, swagger_1.ApiTags)('Queue'), - (0, common_1.Controller)('queue'), - __metadata("design:paramtypes", [queue_service_1.QueueService]) -], QueueController); -exports.QueueController = QueueController; diff --git a/dist/modules/queue/queue.module.js b/dist/modules/queue/queue.module.js deleted file mode 100644 index 0c073f0..0000000 --- a/dist/modules/queue/queue.module.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QueueModule = void 0; -const common_1 = require("@nestjs/common"); -const queue_controller_1 = require("./queue.controller"); -const queue_service_1 = require("./queue.service"); -const bull_1 = require("@nestjs/bull"); -const queue_process_1 = require("./queue.process"); -let QueueModule = class QueueModule { -}; -QueueModule = __decorate([ - (0, common_1.Module)({ - imports: [ - bull_1.BullModule.registerQueueAsync({ - name: 'MJDRAW', - useFactory: () => { - const config = { - port: +process.env.REDIS_PORT, - host: process.env.REDIS_HOST, - }; - process.env.REDIS_PASSWORD && (config.password = process.env.REDIS_PASSWORD); - return { - redis: config, - }; - }, - }), - ], - controllers: [queue_controller_1.QueueController], - providers: [queue_service_1.QueueService, queue_process_1.QueueProcessor], - }) -], QueueModule); -exports.QueueModule = QueueModule; diff --git a/dist/modules/queue/queue.process.js b/dist/modules/queue/queue.process.js deleted file mode 100644 index a3881fe..0000000 --- a/dist/modules/queue/queue.process.js +++ /dev/null @@ -1,119 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -var QueueProcessor_1; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QueueProcessor = void 0; -const bull_1 = require("@nestjs/bull"); -const common_1 = require("@nestjs/common"); -const midjourney_service_1 = require("../midjourney/midjourney.service"); -let QueueProcessor = QueueProcessor_1 = class QueueProcessor { - constructor(midjourneyService) { - this.midjourneyService = midjourneyService; - this.logger = new common_1.Logger(QueueProcessor_1.name); - } - async handleJob(job) { - const res = await this.midjourneyService.draw(job.data, job.id); - return res; - } - onQueueActive(job) { - } - onQueueError(error) { - console.log('队列发生错误', error); - } - onQueueProgress(job, progress) { - console.log('队列任务的一个回调用于通知当前进度', job.id, progress); - } - onQueueCompleted(job, result) { - } - onQueueFailed(job, err) { - common_1.Logger.error(`Queue failed: ${err.message}: 绘画失败 ${job.id}`, 'QueueProcessor'); - this.midjourneyService.drawFailed(job.data); - } - onQueuePaused() { - console.log('队列暂停的时候调用'); - } - onQueueResumed() { - console.log('队列恢复的时候调用'); - } - onQueueCleaned(jobs, type) { - common_1.Logger.log(`Queue cleaned: ${jobs.length} jobs of type ${type} were cleaned.`, 'QueueProcessor'); - } - onQueueDrained() { - } -}; -__decorate([ - (0, bull_1.Process)({ - name: 'mjDraw', - concurrency: process.env.CONCURRENCY ? +process.env.CONCURRENCY : 3, - }), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Promise) -], QueueProcessor.prototype, "handleJob", null); -__decorate([ - (0, bull_1.OnQueueActive)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueueActive", null); -__decorate([ - (0, bull_1.OnQueueError)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Error]), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueueError", null); -__decorate([ - (0, bull_1.OnQueueProgress)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Number]), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueueProgress", null); -__decorate([ - (0, bull_1.OnQueueCompleted)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Object]), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueueCompleted", null); -__decorate([ - (0, bull_1.OnQueueFailed)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, Error]), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueueFailed", null); -__decorate([ - (0, bull_1.OnQueuePaused)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueuePaused", null); -__decorate([ - (0, bull_1.OnQueueResumed)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueueResumed", null); -__decorate([ - (0, bull_1.OnQueueCleaned)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Array, String]), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueueCleaned", null); -__decorate([ - (0, bull_1.OnQueueDrained)(), - __metadata("design:type", Function), - __metadata("design:paramtypes", []), - __metadata("design:returntype", void 0) -], QueueProcessor.prototype, "onQueueDrained", null); -QueueProcessor = QueueProcessor_1 = __decorate([ - (0, bull_1.Processor)('MJDRAW'), - __metadata("design:paramtypes", [midjourney_service_1.MidjourneyService]) -], QueueProcessor); -exports.QueueProcessor = QueueProcessor; diff --git a/dist/modules/queue/queue.service.js b/dist/modules/queue/queue.service.js deleted file mode 100644 index a6bea3b..0000000 --- a/dist/modules/queue/queue.service.js +++ /dev/null @@ -1,77 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -var __param = (this && this.__param) || function (paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QueueService = void 0; -const utils_1 = require("../../common/utils"); -const bull_1 = require("@nestjs/bull"); -const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); -const midjourney_service_1 = require("../midjourney/midjourney.service"); -const models_service_1 = require("../models/models.service"); -const userBalance_service_1 = require("../userBalance/userBalance.service"); -let QueueService = class QueueService { - constructor(mjDrawQueue, midjourneyService, userBalanceService, globalConfigService, modelsService) { - this.mjDrawQueue = mjDrawQueue; - this.midjourneyService = midjourneyService; - this.userBalanceService = userBalanceService; - this.globalConfigService = globalConfigService; - this.modelsService = modelsService; - this.jobIds = []; - } - async onApplicationBootstrap() { - await this.mjDrawQueue.clean(0, 'active'); - await this.midjourneyService.cleanQueue(); - } - async addMjDrawQueue(body, req) { - const { orderId, action, drawId } = body; - await this.midjourneyService.checkLimit(req); - const detailKeyInfo = await this.modelsService.getCurrentModelKeyInfo('midjourney'); - const keyId = detailKeyInfo === null || detailKeyInfo === void 0 ? void 0 : detailKeyInfo.id; - const { key, proxyUrl, deduct, deductType, timeout } = detailKeyInfo; - await this.userBalanceService.validateBalance(req, deductType, action === 'UPSCALE' ? deduct : deduct * 4); - if (action === 'IMAGINE') { - const randomDrawId = `${(0, utils_1.createRandomUid)()}`; - const params = Object.assign(Object.assign({}, body), { userId: req.user.id, randomDrawId }); - const res = await this.midjourneyService.addDrawQueue(params); - const timeout = (await this.globalConfigService.getConfigs(['mjTimeoutMs'])) || 200000; - const job = await this.mjDrawQueue.add('mjDraw', { id: res.id, action: action, userId: req.user.id }, { delay: 1000, timeout: +timeout }); - this.jobIds.push(job.id); - return true; - } - else { - const { action, customId, base64 } = body; - let { drawId } = body; - if (action === 'MODAL') { - const result = await this.midjourneyService.getDrawActionDetail(action, drawId, customId); - drawId = result.drawId; - } - const params = Object.assign(Object.assign({}, body), { userId: req.user.id, drawId }); - const res = await this.midjourneyService.addDrawQueue(params); - const timeout = (await this.globalConfigService.getConfigs(['mjTimeoutMs'])) || 300000; - const job = await this.mjDrawQueue.add('mjDraw', { id: res.id, action, userId: req.user.id, base64 }, { delay: 1000, timeout: +timeout }); - this.jobIds.push(job.id); - return; - } - } - async getQueue() { - return { jobIds: this.jobIds }; - } -}; -QueueService = __decorate([ - __param(0, (0, bull_1.InjectQueue)('MJDRAW')), - __metadata("design:paramtypes", [Object, midjourney_service_1.MidjourneyService, - userBalance_service_1.UserBalanceService, - globalConfig_service_1.GlobalConfigService, - models_service_1.ModelsService]) -], QueueService); -exports.QueueService = QueueService; diff --git a/dist/modules/redisCache/redisCache.module.js b/dist/modules/redisCache/redisCache.module.js index cd91494..b3ac90c 100644 --- a/dist/modules/redisCache/redisCache.module.js +++ b/dist/modules/redisCache/redisCache.module.js @@ -8,48 +8,51 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, Object.defineProperty(exports, "__esModule", { value: true }); exports.RedisCacheModule = void 0; const common_1 = require("@nestjs/common"); -const redisCache_service_1 = require("./redisCache.service"); -const redisCache_controller_1 = require("./redisCache.controller"); -const nestjs_config_1 = require("nestjs-config"); const redis_1 = require("redis"); +const redisCache_controller_1 = require("./redisCache.controller"); +const redisCache_service_1 = require("./redisCache.service"); let RedisCacheModule = class RedisCacheModule { }; RedisCacheModule = __decorate([ (0, common_1.Global)(), (0, common_1.Module)({ - imports: [nestjs_config_1.ConfigModule], + imports: [], controllers: [redisCache_controller_1.RedisCacheController], providers: [ { provide: 'REDIS_CLIENT', - useFactory: async (redisConfig) => { - const port = +process.env.REDIS_PORT; + useFactory: async () => { const host = process.env.REDIS_HOST; + const port = parseInt(process.env.REDIS_PORT, 10); const password = process.env.REDIS_PASSWORD; const username = process.env.REDIS_USER; + const database = parseInt(process.env.REDIS_DB, 10) || 0; if (!host || !port) { - common_1.Logger.error(`Please config Redis config | 未配置 Redis 配置信息 请确认配置redis服务以获得更好的体验`, 'RedistCacheModule'); + common_1.Logger.error(`Please configure Redis config | 未配置 Redis 配置信息,请确认配置 Redis 服务以获得更好的体验`, 'RedisCacheModule'); return; } const client = (0, redis_1.createClient)({ - socket: { host, port }, + socket: { + host, + port, + }, username, password, + database, }); - const res = await client.connect(); client.on('ready', () => { - common_1.Logger.debug(`Your Redis connection successful`, 'RedistCacheModule'); + common_1.Logger.log(`Redis connection successful`, 'RedisCacheModule'); }); - client.on('error', () => { - common_1.Logger.error(`Your Redis connection failed | 您的 Redist 连接失败`, 'RedistCacheModule'); + client.on('error', (err) => { + common_1.Logger.error(`Redis connection failed: ${err}`, 'RedisCacheModule'); }); + await client.connect(); return client; }, - inject: [nestjs_config_1.ConfigService], }, redisCache_service_1.RedisCacheService, ], - exports: ['REDIS_CLIENT'], + exports: ['REDIS_CLIENT', redisCache_service_1.RedisCacheService], }) ], RedisCacheModule); exports.RedisCacheModule = RedisCacheModule; diff --git a/dist/modules/redisCache/redisCache.service.js b/dist/modules/redisCache/redisCache.service.js index 18cf87d..6a96f4b 100644 --- a/dist/modules/redisCache/redisCache.service.js +++ b/dist/modules/redisCache/redisCache.service.js @@ -18,12 +18,6 @@ let RedisCacheService = class RedisCacheService { constructor(redisClient) { this.redisClient = redisClient; } - async onModuleInit() { - } - test() { - this.redisClient.set('aaa', 111); - return 1; - } async get(body) { const { key } = body; const res = await this.redisClient.get(key); @@ -40,6 +34,13 @@ let RedisCacheService = class RedisCacheService { throw new common_1.HttpException(error, common_1.HttpStatus.BAD_REQUEST); } } + async getJwtSecret() { + const secret = await this.redisClient.get('JWT_SECRET'); + if (!secret) { + throw new Error('JWT secret not found in Redis'); + } + return secret; + } async ttl(key) { return await this.redisClient.ttl(key); } diff --git a/dist/modules/statistic/statistic.service.js b/dist/modules/statistic/statistic.service.js index c2e0677..6e8831c 100644 --- a/dist/modules/statistic/statistic.service.js +++ b/dist/modules/statistic/statistic.service.js @@ -13,25 +13,27 @@ var __param = (this && this.__param) || function (paramIndex, decorator) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.StatisticService = void 0; +const balance_constant_1 = require("../../common/constants/balance.constant"); +const midjourney_constant_1 = require("../../common/constants/midjourney.constant"); +const date_1 = require("../../common/utils/date"); const common_1 = require("@nestjs/common"); const typeorm_1 = require("@nestjs/typeorm"); -const user_entity_1 = require("../user/user.entity"); +const axios_1 = require("axios"); const typeorm_2 = require("typeorm"); const chatLog_entity_1 = require("../chatLog/chatLog.entity"); -const balance_constant_1 = require("../../common/constants/balance.constant"); -const date_1 = require("../../common/utils/date"); -const axios_1 = require("axios"); const config_entity_1 = require("../globalConfig/config.entity"); -const order_entity_1 = require("../order/order.entity"); +const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); const midjourney_entity_1 = require("../midjourney/midjourney.entity"); -const midjourney_constant_1 = require("../../common/constants/midjourney.constant"); +const order_entity_1 = require("../order/order.entity"); +const user_entity_1 = require("../user/user.entity"); let StatisticService = class StatisticService { - constructor(userEntity, chatLogEntity, configEntity, orderEntity, midjourneyEntity) { + constructor(userEntity, chatLogEntity, configEntity, orderEntity, midjourneyEntity, globalConfigService) { this.userEntity = userEntity; this.chatLogEntity = chatLogEntity; this.configEntity = configEntity; this.orderEntity = orderEntity; this.midjourneyEntity = midjourneyEntity; + this.globalConfigService = globalConfigService; } async getBaseStatistic() { const userCount = await this.countUsers(); @@ -79,11 +81,16 @@ let StatisticService = class StatisticService { today.setHours(0, 0, 0, 0); const tomorrow = new Date(today.getTime() + 24 * 60 * 60 * 1000); const queryBuilder = this.userEntity.createQueryBuilder('user'); - const userCount = await queryBuilder.where('user.createdAt >= :today', { today }).andWhere('user.createdAt < :tomorrow', { tomorrow }).getCount(); + const userCount = await queryBuilder + .where('user.createdAt >= :today', { today }) + .andWhere('user.createdAt < :tomorrow', { tomorrow }) + .getCount(); return userCount; } async countChats() { - const chatCount = await this.chatLogEntity.count({ where: { type: balance_constant_1.ChatType.NORMAL_CHAT } }); + const chatCount = await this.chatLogEntity.count({ + where: { type: balance_constant_1.ChatType.NORMAL_CHAT }, + }); return chatCount; } async countNewChatsToday() { @@ -99,7 +106,9 @@ let StatisticService = class StatisticService { return chatCount; } async countDraws() { - const drawCount = await this.chatLogEntity.count({ where: { type: balance_constant_1.ChatType.PAINT } }); + const drawCount = await this.chatLogEntity.count({ + where: { type: balance_constant_1.ChatType.PAINT }, + }); return drawCount; } async countNewDrawsToday() { @@ -189,7 +198,9 @@ let StatisticService = class StatisticService { const queryBuilder = this.midjourneyEntity.createQueryBuilder('midjourney'); const result = await queryBuilder .select(`DATE(midjourney.createdAt) as date, COUNT(*) as count`) - .where(`midjourney.status = :status`, { status: midjourney_constant_1.MidjourneyStatusEnum.DRAWED }) + .where(`midjourney.status = :status`, { + status: midjourney_constant_1.MidjourneyStatusEnum.DRAWED, + }) .andWhere('midjourney.createdAt >= :startDate', { startDate }) .groupBy('date') .orderBy('date') @@ -210,28 +221,68 @@ let StatisticService = class StatisticService { return dailyData; } async getBaiduStatistics(days) { - var _a, _b; const end_date = (0, date_1.formatDate)(new Date(), 'YYYYMMDD'); const start_date = (0, date_1.formatDate)(new Date(Date.now() - Number(days - 1) * 24 * 60 * 60 * 1000), 'YYYYMMDD'); const metrics = 'pv_count,visitor_count,ip_count,bounce_ratio,avg_visit_time'; const method = 'overview/getTimeTrendRpt'; - const configInfo = await this.configEntity.find({ where: { configKey: (0, typeorm_2.In)(['baiduToken', 'baiduSiteId']) } }); - const siteId = (_a = configInfo.find((c) => c.configKey === 'baiduSiteId')) === null || _a === void 0 ? void 0 : _a.configVal; - const accessToken = (_b = configInfo.find((c) => c.configKey === 'baiduToken')) === null || _b === void 0 ? void 0 : _b.configVal; - if (!siteId || !accessToken) { + const { baiduToken, baiduSiteId, baiduApiKey, baiduSecretKey, baiduRefreshToken, } = await this.globalConfigService.getConfigs([ + 'baiduToken', + 'baiduSiteId', + 'baiduApiKey', + 'baiduSecretKey', + 'baiduRefreshToken', + ]); + if (!baiduApiKey || + !baiduToken || + !baiduSiteId || + !baiduRefreshToken || + !baiduSecretKey) { return []; } - if (!siteId) { - throw new common_1.HttpException('请先配置百度统计siteId', common_1.HttpStatus.BAD_REQUEST); + let accessToken = baiduToken; + let url = `https://openapi.baidu.com/rest/2.0/tongji/report/getData?access_token=${accessToken}&site_id=${baiduSiteId}&method=${method}&start_date=${start_date}&end_date=${end_date}&metrics=${metrics}`; + let res; + try { + res = await axios_1.default.get(url); } - if (!accessToken) { - throw new common_1.HttpException('请先配置百度统计accessToken', common_1.HttpStatus.BAD_REQUEST); + catch (error) { + res = { + data: { + error_code: 111, + message: 'Access token invalid or no longer valid', + }, + }; } - const url = `https://openapi.baidu.com/rest/2.0/tongji/report/getData?access_token=${accessToken}&site_id=${siteId}&method=${method}&start_date=${start_date}&end_date=${end_date}&metrics=${metrics}`; - const res = await axios_1.default.get(url); - const { error_code, message } = res.data; + let { error_code, message } = res.data; if (error_code === 111) { - throw new common_1.HttpException(message || '百度授权码过期', common_1.HttpStatus.BAD_REQUEST); + const tokenUrl = `http://openapi.baidu.com/oauth/2.0/token?grant_type=refresh_token&refresh_token=${baiduRefreshToken}&client_id=${baiduApiKey}&client_secret=${baiduSecretKey}`; + common_1.Logger.log('获取新 accessToken', tokenUrl); + let tokenRes; + try { + tokenRes = await axios_1.default.get(tokenUrl); + } + catch (tokenError) { + common_1.Logger.error('获取新 accessToken 失败', { + message: tokenError.message, + stack: tokenError.stack, + response: tokenError.response + ? tokenError.response.data + : 'No response data', + }); + throw new common_1.HttpException('获取新 accessToken 失败', common_1.HttpStatus.BAD_REQUEST); + } + if (tokenRes.status === 200 && tokenRes.data.access_token) { + accessToken = tokenRes.data.access_token; + await this.configEntity.update({ configKey: 'baiduToken' }, { + configVal: accessToken, + }); + url = `https://openapi.baidu.com/rest/2.0/tongji/report/getData?access_token=${accessToken}&site_id=${baiduSiteId}&method=${method}&start_date=${start_date}&end_date=${end_date}&metrics=${metrics}`; + res = await axios_1.default.get(url); + ({ error_code, message } = res.data); + } + else { + throw new common_1.HttpException('获取新 accessToken 失败', common_1.HttpStatus.BAD_REQUEST); + } } if (error_code && error_code !== 200) { throw new common_1.HttpException(message || '获取百度统计数据失败', common_1.HttpStatus.BAD_REQUEST); @@ -265,6 +316,7 @@ StatisticService = __decorate([ typeorm_2.Repository, typeorm_2.Repository, typeorm_2.Repository, - typeorm_2.Repository]) + typeorm_2.Repository, + globalConfig_service_1.GlobalConfigService]) ], StatisticService); exports.StatisticService = StatisticService; diff --git a/dist/modules/upload/upload.controller.js b/dist/modules/upload/upload.controller.js index 7dd46d9..2f169ea 100644 --- a/dist/modules/upload/upload.controller.js +++ b/dist/modules/upload/upload.controller.js @@ -21,11 +21,11 @@ let UploadController = class UploadController { constructor(uploadService) { this.uploadService = uploadService; } - async uploadFile(file) { - return this.uploadService.uploadFile(file); + async uploadFile(file, dir) { + return this.uploadService.uploadFile(file, dir); } - async uploadFileFromUrl({ filename, url, dir = 'ai' }) { - return this.uploadService.uploadFileFromUrl({ filename, url, dir }); + async uploadFileFromUrl({ url, dir = 'ai' }) { + return this.uploadService.uploadFileFromUrl({ url, dir }); } }; __decorate([ @@ -33,8 +33,9 @@ __decorate([ (0, swagger_1.ApiOperation)({ summary: '上传文件' }), (0, common_1.UseInterceptors)((0, platform_express_1.FileInterceptor)('file')), __param(0, (0, common_1.UploadedFile)()), + __param(1, (0, common_1.Query)('dir')), __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), + __metadata("design:paramtypes", [Object, String]), __metadata("design:returntype", Promise) ], UploadController.prototype, "uploadFile", null); __decorate([ diff --git a/dist/modules/upload/upload.service.js b/dist/modules/upload/upload.service.js index c9a0e91..fdec23c 100644 --- a/dist/modules/upload/upload.service.js +++ b/dist/modules/upload/upload.service.js @@ -25,29 +25,57 @@ let UploadService = class UploadService { this.globalConfigService = globalConfigService; } onModuleInit() { } - async uploadFile(file) { - const { filename: name, originalname, buffer, dir = 'ai', mimetype } = file; - const fileTyle = mimetype ? mimetype.split('/')[1] : ''; - const filename = originalname || name; - common_1.Logger.debug(`准备上传文件: ${filename}, 类型: ${fileTyle}`, 'UploadService'); - const { tencentCosStatus = 0, aliOssStatus = 0, cheveretoStatus = 0, } = await this.globalConfigService.getConfigs(['tencentCosStatus', 'aliOssStatus', 'cheveretoStatus']); + async uploadFile(file, dir = 'others') { + const { filename: name, originalname, buffer, mimetype, } = file; + if (process.env.ISDEV) { + dir = `dev/${dir}`; + } + common_1.Logger.debug(`准备上传文件: ${dir}`, 'UploadService'); + const now = new Date(); + const timestamp = now.getTime(); + const randomString = Math.random().toString(36).substring(2, 6); + const fileType = mimetype ? mimetype.split('/')[1] : ''; + const filename = `${timestamp}_${randomString}.${fileType}`; + common_1.Logger.debug(`准备上传文件: ${filename}, 类型: ${fileType}`, 'UploadService'); + const { tencentCosStatus = 0, aliOssStatus = 0, cheveretoStatus = 0, } = await this.globalConfigService.getConfigs([ + 'tencentCosStatus', + 'aliOssStatus', + 'cheveretoStatus', + ]); common_1.Logger.debug(`上传配置状态 - 腾讯云: ${tencentCosStatus}, 阿里云: ${aliOssStatus}, Chevereto: ${cheveretoStatus}`, 'UploadService'); - if (!Number(tencentCosStatus) && !Number(aliOssStatus) && !Number(cheveretoStatus)) { + if (!Number(tencentCosStatus) && + !Number(aliOssStatus) && + !Number(cheveretoStatus)) { throw new common_1.HttpException('请先前往后台配置上传图片的方式', common_1.HttpStatus.BAD_REQUEST); } try { if (Number(tencentCosStatus)) { common_1.Logger.debug(`使用腾讯云COS上传`, 'UploadService'); - return await this.uploadFileByTencentCos({ filename, buffer, dir, fileTyle }); + return await this.uploadFileByTencentCos({ + filename, + buffer, + dir, + fileType, + }); } if (Number(aliOssStatus)) { common_1.Logger.debug(`使用阿里云OSS上传`, 'UploadService'); - return await this.uploadFileByAliOss({ filename, buffer, dir, fileTyle }); + return await this.uploadFileByAliOss({ + filename, + buffer, + dir, + fileType, + }); } if (Number(cheveretoStatus)) { common_1.Logger.debug(`使用Chevereto上传`, 'UploadService'); const { filename, buffer: fromBuffer, dir } = file; - return await this.uploadFileByChevereto({ filename, buffer: fromBuffer.toString('base64'), dir, fileTyle }); + return await this.uploadFileByChevereto({ + filename, + buffer: fromBuffer.toString('base64'), + dir, + fileType, + }); } } catch (error) { @@ -56,7 +84,11 @@ let UploadService = class UploadService { } } async getUploadType() { - const { tencentCosStatus = 0, aliOssStatus = 0, cheveretoStatus = 0, } = await this.globalConfigService.getConfigs(['tencentCosStatus', 'aliOssStatus', 'cheveretoStatus']); + const { tencentCosStatus = 0, aliOssStatus = 0, cheveretoStatus = 0, } = await this.globalConfigService.getConfigs([ + 'tencentCosStatus', + 'aliOssStatus', + 'cheveretoStatus', + ]); if (Number(tencentCosStatus)) { return 'tencent'; } @@ -67,10 +99,72 @@ let UploadService = class UploadService { return 'chevereto'; } } - async uploadFileFromUrl({ filename, url, dir = 'ai' }) { - dir = process.env.ISDEV ? 'mjdev' : dir; - const { tencentCosStatus = 0, aliOssStatus = 0, cheveretoStatus = 0, } = await this.globalConfigService.getConfigs(['tencentCosStatus', 'aliOssStatus', 'cheveretoStatus']); - if (!Number(tencentCosStatus) && !Number(aliOssStatus) && !Number(cheveretoStatus)) { + async uploadFileFromUrl({ url, dir = 'others' }) { + if (process.env.ISDEV) { + dir = `dev/${dir}`; + } + const now = new Date(); + const timestamp = now.getTime(); + const randomString = Math.random().toString(36).substring(2, 6); + const response = await axios_1.default.head(url); + const mimeType = response.headers['content-type']; + let fileExtension = ''; + if (mimeType) { + const mimeTypeMap = { + 'image/jpeg': 'jpg', + 'image/png': 'png', + 'image/gif': 'gif', + 'image/webp': 'webp', + 'image/bmp': 'bmp', + 'image/svg+xml': 'svg', + 'image/tiff': 'tiff', + 'image/x-icon': 'ico', + 'video/mp4': 'mp4', + 'video/mpeg': 'mpeg', + 'video/ogg': 'ogv', + 'video/webm': 'webm', + 'video/quicktime': 'mov', + 'video/x-msvideo': 'avi', + 'video/x-flv': 'flv', + 'audio/mpeg': 'mp3', + 'audio/ogg': 'ogg', + 'audio/wav': 'wav', + 'audio/x-wav': 'wav', + 'audio/webm': 'weba', + 'application/pdf': 'pdf', + 'application/msword': 'doc', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx', + 'application/vnd.ms-excel': 'xls', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx', + 'application/vnd.ms-powerpoint': 'ppt', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx', + 'application/zip': 'zip', + 'application/x-rar-compressed': 'rar', + 'application/x-7z-compressed': '7z', + 'text/plain': 'txt', + 'text/html': 'html', + 'text/css': 'css', + 'text/javascript': 'js', + 'application/json': 'json', + 'application/xml': 'xml', + 'application/octet-stream': 'bin', + 'application/vnd.android.package-archive': 'apk', + 'application/x-sh': 'sh', + }; + fileExtension = mimeTypeMap[mimeType] || ''; + } + const filename = fileExtension + ? `${timestamp}_${randomString}.${fileExtension}` + : `${timestamp}_${randomString}`; + common_1.Logger.debug(`准备上传文件: ${filename}, URL: ${url}, 目录: ${dir}`, 'UploadService'); + const { tencentCosStatus = 0, aliOssStatus = 0, cheveretoStatus = 0, } = await this.globalConfigService.getConfigs([ + 'tencentCosStatus', + 'aliOssStatus', + 'cheveretoStatus', + ]); + if (!Number(tencentCosStatus) && + !Number(aliOssStatus) && + !Number(cheveretoStatus)) { throw new common_1.HttpException('请先前往后台配置上传图片的方式', common_1.HttpStatus.BAD_REQUEST); } if (Number(tencentCosStatus)) { @@ -84,16 +178,20 @@ let UploadService = class UploadService { return await this.uploadFileByCheveretoFromUrl({ filename, url, dir }); } } - async uploadFileByTencentCos({ filename, buffer, dir, fileTyle }) { + async uploadFileByTencentCos({ filename, buffer, dir, fileType }) { const { Bucket, Region, SecretId, SecretKey } = await this.getUploadConfig('tencent'); - this.tencentCos = new TENCENTCOS({ SecretId, SecretKey, FileParallelLimit: 10 }); + this.tencentCos = new TENCENTCOS({ + SecretId, + SecretKey, + FileParallelLimit: 10, + }); try { return new Promise(async (resolve, reject) => { - const type = fileTyle || 'png'; + const type = fileType || 'png'; this.tencentCos.putObject({ Bucket: (0, utils_1.removeSpecialCharacters)(Bucket), Region: (0, utils_1.removeSpecialCharacters)(Region), - Key: `${dir}/${filename || `${(0, utils_1.createRandomUid)()}.${fileTyle}`}`, + Key: `${dir}/${filename || `${(0, utils_1.createRandomUid)()}.${fileType}`}`, StorageClass: 'STANDARD', Body: buffer, }, async (err, data) => { @@ -118,25 +216,44 @@ let UploadService = class UploadService { } async uploadFileByTencentCosFromUrl({ filename, url, dir }) { const { Bucket, Region, SecretId, SecretKey } = await this.getUploadConfig('tencent'); - this.tencentCos = new TENCENTCOS({ SecretId, SecretKey, FileParallelLimit: 10 }); + this.tencentCos = new TENCENTCOS({ + SecretId, + SecretKey, + FileParallelLimit: 10, + }); try { const buffer = await this.getBufferFromUrl(url); - return await this.uploadFileByTencentCos({ filename, buffer, dir, fileTyle: '' }); + return await this.uploadFileByTencentCos({ + filename, + buffer, + dir, + fileType: '', + }); } catch (error) { console.log('TODO->error: ', error); throw new common_1.HttpException('上传图片失败[ten][url]', common_1.HttpStatus.BAD_REQUEST); } } - async uploadFileByAliOss({ filename, buffer, dir, fileTyle = 'png' }) { + async uploadFileByAliOss({ filename, buffer, dir, fileType = 'png' }) { const { region, bucket, accessKeyId, accessKeySecret } = await this.getUploadConfig('ali'); - const client = new ALIOSS({ region: (0, utils_1.removeSpecialCharacters)(region), accessKeyId, accessKeySecret, bucket: (0, utils_1.removeSpecialCharacters)(bucket) }); + const client = new ALIOSS({ + region: (0, utils_1.removeSpecialCharacters)(region), + accessKeyId, + accessKeySecret, + bucket: (0, utils_1.removeSpecialCharacters)(bucket), + }); try { console.log('ali 开始上传'); return new Promise((resolve, reject) => { client - .put(`${dir}/${filename || `${(0, utils_1.createRandomUid)()}.${fileTyle}`}`, buffer) - .then((result) => { + .put(`${dir}/${filename || `${(0, utils_1.createRandomUid)()}.${fileType}`}`, buffer) + .then(async (result) => { + const { acceleratedDomain } = await this.getUploadConfig('ali'); + if (acceleratedDomain) { + result.url = result.url.replace(/^(https:\/\/[^/]+)(\/.*)$/, `https://${acceleratedDomain}$2`); + console.log('当前已开启全球加速----------------->', result.url); + } resolve(result.url); }) .catch((err) => { @@ -160,7 +277,7 @@ let UploadService = class UploadService { } async uploadFileToLocal({ filename, buffer, dir = 'ai' }) { if (!filename || !buffer) { - throw new Error("必须提供文件名和文件内容"); + throw new Error('必须提供文件名和文件内容'); } const appRoot = require('app-root-path'); const uploadDir = path_1.default.join(appRoot.path, 'service', 'public', 'file'); @@ -187,7 +304,7 @@ let UploadService = class UploadService { throw new common_1.HttpException('上传图片失败[ALI][url]', common_1.HttpStatus.BAD_REQUEST); } } - async uploadFileByChevereto({ filename = '', buffer, dir = 'ai', fileTyle = 'png' }) { + async uploadFileByChevereto({ filename = '', buffer, dir = 'ai', fileType = 'png', }) { var _a; const { key, uploadPath } = await this.getUploadConfig('chevereto'); let url = uploadPath.endsWith('/') ? uploadPath.slice(0, -1) : uploadPath; @@ -225,11 +342,29 @@ let UploadService = class UploadService { } async getUploadConfig(type) { if (type === 'ali') { - const { aliOssRegion: region, aliOssBucket: bucket, aliOssAccessKeyId: accessKeyId, aliOssAccessKeySecret: accessKeySecret, } = await this.globalConfigService.getConfigs(['aliOssRegion', 'aliOssBucket', 'aliOssAccessKeyId', 'aliOssAccessKeySecret']); - return { region, bucket, accessKeyId, accessKeySecret }; + const { aliOssRegion: region, aliOssBucket: bucket, aliOssAccessKeyId: accessKeyId, aliOssAccessKeySecret: accessKeySecret, aliOssAcceleratedDomain: acceleratedDomain, } = await this.globalConfigService.getConfigs([ + 'aliOssRegion', + 'aliOssBucket', + 'aliOssAccessKeyId', + 'aliOssAccessKeySecret', + 'acceleratedDomain', + ]); + return { + region, + bucket, + accessKeyId, + accessKeySecret, + acceleratedDomain, + }; } if (type === 'tencent') { - const { cosBucket: Bucket, cosRegion: Region, cosSecretId: SecretId, cosSecretKey: SecretKey, tencentCosAcceleratedDomain: acceleratedDomain, } = await this.globalConfigService.getConfigs(['cosBucket', 'cosRegion', 'cosSecretId', 'cosSecretKey', 'tencentCosAcceleratedDomain']); + const { cosBucket: Bucket, cosRegion: Region, cosSecretId: SecretId, cosSecretKey: SecretKey, tencentCosAcceleratedDomain: acceleratedDomain, } = await this.globalConfigService.getConfigs([ + 'cosBucket', + 'cosRegion', + 'cosSecretId', + 'cosSecretKey', + 'tencentCosAcceleratedDomain', + ]); return { Bucket, Region, SecretId, SecretKey, acceleratedDomain }; } if (type === 'chevereto') { diff --git a/dist/modules/user/user.entity.js b/dist/modules/user/user.entity.js index d0dd667..266abc7 100644 --- a/dist/modules/user/user.entity.js +++ b/dist/modules/user/user.entity.js @@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserEntity = void 0; -const typeorm_1 = require("typeorm"); const baseEntity_1 = require("../../common/entity/baseEntity"); +const typeorm_1 = require("typeorm"); let UserEntity = class UserEntity extends baseEntity_1.BaseEntity { }; __decorate([ @@ -61,7 +61,12 @@ __decorate([ __metadata("design:type", String) ], UserEntity.prototype, "registerIp", void 0); __decorate([ - (0, typeorm_1.Column)({ length: 64, default: '', comment: '最后一次登录IP', nullable: true }), + (0, typeorm_1.Column)({ + length: 64, + default: '', + comment: '最后一次登录IP', + nullable: true, + }), __metadata("design:type", String) ], UserEntity.prototype, "lastLoginIp", void 0); __decorate([ diff --git a/dist/modules/user/user.module.js b/dist/modules/user/user.module.js index 8a5ca86..31cac23 100644 --- a/dist/modules/user/user.module.js +++ b/dist/modules/user/user.module.js @@ -9,7 +9,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.UserModule = void 0; const common_1 = require("@nestjs/common"); const typeorm_1 = require("@nestjs/typeorm"); -const whiteList_entity_1 = require("../chat/whiteList.entity"); const chatGroup_entity_1 = require("../chatGroup/chatGroup.entity"); const chatLog_entity_1 = require("../chatLog/chatLog.entity"); const cramiPackage_entity_1 = require("../crami/cramiPackage.entity"); @@ -41,17 +40,22 @@ UserModule = __decorate([ accountLog_entity_1.AccountLogEntity, config_entity_1.ConfigEntity, cramiPackage_entity_1.CramiPackageEntity, - whiteList_entity_1.WhiteListEntity, userBalance_entity_1.UserBalanceEntity, salesUsers_entity_1.SalesUsersEntity, fingerprint_entity_1.FingerprintLogEntity, chatLog_entity_1.ChatLogEntity, chatGroup_entity_1.ChatGroupEntity, - midjourney_entity_1.MidjourneyEntity + midjourney_entity_1.MidjourneyEntity, ]), ], controllers: [user_controller_1.UserController], - providers: [user_service_1.UserService, verification_service_1.VerificationService, userBalance_service_1.UserBalanceService, redisCache_service_1.RedisCacheService, mailer_service_1.MailerService,], + providers: [ + user_service_1.UserService, + verification_service_1.VerificationService, + userBalance_service_1.UserBalanceService, + redisCache_service_1.RedisCacheService, + mailer_service_1.MailerService, + ], exports: [user_service_1.UserService], }) ], UserModule); diff --git a/dist/modules/user/user.service.js b/dist/modules/user/user.service.js index 200b43e..654e0b1 100644 --- a/dist/modules/user/user.service.js +++ b/dist/modules/user/user.service.js @@ -22,7 +22,6 @@ const typeorm_1 = require("@nestjs/typeorm"); const bcrypt = require("bcryptjs"); const _ = require("lodash"); const typeorm_2 = require("typeorm"); -const whiteList_entity_1 = require("../chat/whiteList.entity"); const config_entity_1 = require("../globalConfig/config.entity"); const userBalance_service_1 = require("../userBalance/userBalance.service"); const user_constant_1 = require("./../../common/constants/user.constant"); @@ -30,9 +29,8 @@ const globalConfig_service_1 = require("./../globalConfig/globalConfig.service") const verification_service_1 = require("./../verification/verification.service"); const user_entity_1 = require("./user.entity"); let UserService = class UserService { - constructor(userEntity, whiteListEntity, connection, verificationService, mailerService, userBalanceService, globalConfigService, configEntity) { + constructor(userEntity, connection, verificationService, mailerService, userBalanceService, globalConfigService, configEntity) { this.userEntity = userEntity; - this.whiteListEntity = whiteListEntity; this.connection = connection; this.verificationService = verificationService; this.mailerService = mailerService; @@ -43,7 +41,9 @@ let UserService = class UserService { async createUserAndVerifycation(user, req) { const { username, email, password, invitedBy, client = 0 } = user; if (invitedBy) { - const b = await this.userEntity.findOne({ where: { inviteCode: invitedBy } }); + const b = await this.userEntity.findOne({ + where: { inviteCode: invitedBy }, + }); if (!b) { throw new common_1.HttpException('无效的邀请码!', common_1.HttpStatus.BAD_REQUEST); } @@ -62,7 +62,9 @@ let UserService = class UserService { userInput.client = client; let n; if (!u) { - const userDefautlAvatar = await this.globalConfigService.getConfigs(['userDefautlAvatar']); + const userDefautlAvatar = await this.globalConfigService.getConfigs([ + 'userDefautlAvatar', + ]); userInput.avatar = userDefautlAvatar; n = await this.userEntity.save(userInput); } @@ -85,9 +87,13 @@ let UserService = class UserService { pre[cur.configKey] = cur.configVal; return pre; }, {}); - const isVerifyEmail = configMap['isVerifyEmail'] ? Number(configMap['isVerifyEmail']) : 1; + const isVerifyEmail = configMap['isVerifyEmail'] + ? Number(configMap['isVerifyEmail']) + : 1; if (isVerifyEmail) { - const expir = configMap['registerVerifyExpir'] ? Number(configMap['registerVerifyExpir']) : 30 * 60; + const expir = configMap['registerVerifyExpir'] + ? Number(configMap['registerVerifyExpir']) + : 30 * 60; const v = await this.verificationService.createVerification(n, verification_constant_1.VerificationEnum.Registration, expir); const { code, email, id } = v; const { registerVerifyEmailFrom } = configMap; @@ -127,7 +133,11 @@ let UserService = class UserService { } } if (username && password) { - const where = [{ username }, { email: username }, { phone: username }]; + const where = [ + { username }, + { email: username }, + { phone: username }, + ]; u = await this.userEntity.findOne({ where: where }); if (!u) { throw new common_1.HttpException('当前账户不存在!', common_1.HttpStatus.BAD_REQUEST); @@ -180,7 +190,16 @@ let UserService = class UserService { async getUserInfo(userId) { const userInfo = await this.userEntity.findOne({ where: { id: userId }, - select: ['username', 'avatar', 'role', 'email', 'sign', 'inviteCode', 'openId', 'consecutiveDays'], + select: [ + 'username', + 'avatar', + 'role', + 'email', + 'sign', + 'inviteCode', + 'openId', + 'consecutiveDays', + ], }); if (!userInfo) { throw new common_1.HttpException('当前用户信息失效、请重新登录!', common_1.HttpStatus.UNAUTHORIZED); @@ -206,8 +225,8 @@ let UserService = class UserService { throw new common_1.HttpException('没有变更,无需更改!', common_1.HttpStatus.BAD_REQUEST); } if (body.username) { - const u = await this.userEntity.findOne({ where: { username: body.username, id: (0, typeorm_2.Not)(id) } }); - if (u) { + const usernameTaken = await this.isUsernameTaken(body.username, id); + if (usernameTaken) { throw new common_1.HttpException('用户名已存在!', common_1.HttpStatus.BAD_REQUEST); } } @@ -217,6 +236,14 @@ let UserService = class UserService { } return '修改用户信息成功!'; } + async isUsernameTaken(username, excludeUserId) { + const where = { username }; + if (excludeUserId) { + where.id = (0, typeorm_2.Not)(excludeUserId); + } + const user = await this.userEntity.findOne({ where }); + return !!user; + } async updateUserPassword(userId, password) { const hashedPassword = bcrypt.hashSync(password, 10); const r = await this.userEntity.update({ id: userId }, { password: hashedPassword }); @@ -253,7 +280,14 @@ let UserService = class UserService { const [rows, count] = await this.userEntity.findAndCount({ where: { invitedBy }, order: { id: 'DESC' }, - select: ['username', 'email', 'createdAt', 'status', 'avatar', 'updatedAt'], + select: [ + 'username', + 'email', + 'createdAt', + 'status', + 'avatar', + 'updatedAt', + ], take: size, skip: (page - 1) * size, }); @@ -286,7 +320,11 @@ let UserService = class UserService { } async userRecharge(body) { const { userId, model3Count = 0, model4Count = 0, drawMjCount = 0 } = body; - await this.userBalanceService.addBalanceToUser(userId, { model3Count, model4Count, drawMjCount }); + await this.userBalanceService.addBalanceToUser(userId, { + model3Count, + model4Count, + drawMjCount, + }); const res = await this.userBalanceService.saveRecordRechargeLog({ userId, rechargeType: balance_constant_1.RechargeType.ADMIN_GIFT, @@ -298,14 +336,18 @@ let UserService = class UserService { return res; } async queryAll(query, req) { - const { page = 1, size = 10, username, email, status, keyword, phone } = query; + const { page = 1, size = 10, username, email, status, keyword, phone, } = query; let where = {}; username && Object.assign(where, { username: (0, typeorm_2.Like)(`%${username}%`) }); email && Object.assign(where, { email: (0, typeorm_2.Like)(`%${email}%`) }); phone && Object.assign(where, { phone: (0, typeorm_2.Like)(`%${phone}%`) }); status && Object.assign(where, { status }); if (keyword) { - where = [{ username: (0, typeorm_2.Like)(`%${keyword}%`) }, { email: (0, typeorm_2.Like)(`%${keyword}%`) }, { phone: (0, typeorm_2.Like)(`%${keyword}%`) }]; + where = [ + { username: (0, typeorm_2.Like)(`%${keyword}%`) }, + { email: (0, typeorm_2.Like)(`%${keyword}%`) }, + { phone: (0, typeorm_2.Like)(`%${keyword}%`) }, + ]; } const [rows, count] = await this.userEntity.findAndCount({ skip: (page - 1) * size, @@ -313,18 +355,36 @@ let UserService = class UserService { take: size, order: { createdAt: 'DESC' }, cache: true, - select: ['username', 'avatar', 'inviteCode', 'role', 'sign', 'status', 'id', 'email', 'createdAt', 'lastLoginIp', 'phone'], + select: [ + 'username', + 'avatar', + 'inviteCode', + 'role', + 'sign', + 'status', + 'id', + 'email', + 'createdAt', + 'lastLoginIp', + 'phone', + ], }); const ids = rows.map((t) => t.id); const data = await this.userBalanceService.queryUserBalanceByIds(ids); rows.forEach((user) => (user.balanceInfo = data.find((t) => t.userId === user.id))); - req.user.role !== 'super' && rows.forEach((t) => (t.email = (0, utils_1.maskEmail)(t.email))); - req.user.role !== 'super' && rows.forEach((t) => (t.lastLoginIp = (0, utils_1.maskIpAddress)(t.lastLoginIp))); - req.user.role !== 'super' && rows.forEach((t) => (t.phone = (0, utils_1.maskIpAddress)(t.phone))); + req.user.role !== 'super' && + rows.forEach((t) => (t.email = (0, utils_1.maskEmail)(t.email))); + req.user.role !== 'super' && + rows.forEach((t) => (t.lastLoginIp = (0, utils_1.maskIpAddress)(t.lastLoginIp))); + req.user.role !== 'super' && + rows.forEach((t) => (t.phone = (0, utils_1.maskIpAddress)(t.phone))); return { rows, count }; } async queryOne({ id }) { - return await this.userEntity.findOne({ where: { id }, select: ['username', 'avatar', 'inviteCode', 'role', 'sign', 'status'] }); + return await this.userEntity.findOne({ + where: { id }, + select: ['username', 'avatar', 'inviteCode', 'role', 'sign', 'status'], + }); } async updateStatus(body) { const { id, status } = body; @@ -373,7 +433,9 @@ let UserService = class UserService { return user; } async createUserFromOpenId(openId, invitedBy) { - const userDefautlAvatar = await this.globalConfigService.getConfigs(['userDefautlAvatar']); + const userDefautlAvatar = await this.globalConfigService.getConfigs([ + 'userDefautlAvatar', + ]); const userInfo = { avatar: userDefautlAvatar, username: `用户${(0, utils_1.createRandomUid)()}`, @@ -386,6 +448,46 @@ let UserService = class UserService { const user = await this.userEntity.save(userInfo); return user; } + async createUserFromContact(params) { + const { username, email, phone, invitedBy } = params; + const userDefautlAvatar = await this.globalConfigService.getConfigs([ + 'userDefautlAvatar', + ]); + const userInfo = { + avatar: userDefautlAvatar, + username: `用户${(0, utils_1.createRandomUid)()}`, + status: user_constant_1.UserStatusEnum.ACTIVE, + sex: 0, + }; + if (username) { + userInfo.username = username; + } + if (email) { + userInfo.email = email; + } + if (phone) { + userInfo.phone = phone; + } + if (invitedBy) { + userInfo.invitedBy = invitedBy; + } + const user = await this.userEntity.save(userInfo); + return user; + } + async getUserByContact(params) { + const { username, email, phone } = params; + const where = []; + if (username) { + where.push({ username }); + } + if (email) { + where.push({ email }); + } + if (phone) { + where.push({ phone }); + } + return await this.userEntity.findOne({ where }); + } async bindWx(openId, userId) { try { const user = await this.userEntity.findOne({ where: { id: userId } }); @@ -412,23 +514,33 @@ let UserService = class UserService { if (phone) { const userByPhone = await this.userEntity.findOne({ where: { phone } }); if (userByPhone) { - throw new common_1.HttpException('当前手机号已注册、请勿重复注册!', common_1.HttpStatus.BAD_REQUEST); + return false; } } if (email) { const userByEmail = await this.userEntity.findOne({ where: { email } }); if (userByEmail) { - throw new common_1.HttpException('当前邮箱已注册、请勿重复注册!', common_1.HttpStatus.BAD_REQUEST); + return false; } } - const userByUsername = await this.userEntity.findOne({ where: { username } }); - if (userByUsername) { - throw new common_1.HttpException('用户名已存在、请更换用户名!', common_1.HttpStatus.BAD_REQUEST); + if (username) { + const userByUsername = await this.userEntity.findOne({ + where: { username }, + }); + if (userByUsername) { + return false; + } } + if (!phone && !email && !username) { + return false; + } + return true; } async verifyUserRegisterByPhone(params) { const { username, password, phone, phoneCode } = params; - const user = await this.userEntity.findOne({ where: [{ username }, { phone }] }); + const user = await this.userEntity.findOne({ + where: [{ username }, { phone }], + }); if (user && user.username === username) { throw new common_1.HttpException('用户名已存在、请更换用户名!', common_1.HttpStatus.BAD_REQUEST); } @@ -439,7 +551,9 @@ let UserService = class UserService { async verifyUserRegisterByEmail(params) { const { username, email } = params; console.log(`校验邮箱注册: 开始 - 用户名: ${username}, 邮箱: ${email}`); - const user = await this.userEntity.findOne({ where: [{ username }, { email }] }); + const user = await this.userEntity.findOne({ + where: [{ username }, { email }], + }); if (user && user.username === username) { console.error(`校验失败: 用户名 "${username}" 已存在`); throw new common_1.HttpException('用户名已存在、请更换用户名!', common_1.HttpStatus.BAD_REQUEST); @@ -457,10 +571,8 @@ let UserService = class UserService { UserService = __decorate([ (0, common_1.Injectable)(), __param(0, (0, typeorm_1.InjectRepository)(user_entity_1.UserEntity)), - __param(1, (0, typeorm_1.InjectRepository)(whiteList_entity_1.WhiteListEntity)), - __param(7, (0, typeorm_1.InjectRepository)(config_entity_1.ConfigEntity)), + __param(6, (0, typeorm_1.InjectRepository)(config_entity_1.ConfigEntity)), __metadata("design:paramtypes", [typeorm_2.Repository, - typeorm_2.Repository, typeorm_2.Connection, verification_service_1.VerificationService, mailer_service_1.MailerService, diff --git a/dist/modules/userBalance/userBalance.controller.js b/dist/modules/userBalance/userBalance.controller.js index 3ad93f4..9120e99 100644 --- a/dist/modules/userBalance/userBalance.controller.js +++ b/dist/modules/userBalance/userBalance.controller.js @@ -13,11 +13,11 @@ var __param = (this && this.__param) || function (paramIndex, decorator) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserBalanceController = void 0; -const common_1 = require("@nestjs/common"); +const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard"); const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard"); +const common_1 = require("@nestjs/common"); const swagger_1 = require("@nestjs/swagger"); const userBalance_service_1 = require("./userBalance.service"); -const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard"); let UserBalanceController = class UserBalanceController { constructor(userBalanceService) { this.userBalanceService = userBalanceService; diff --git a/dist/modules/userBalance/userBalance.module.js b/dist/modules/userBalance/userBalance.module.js index c032a97..a1dd3bc 100644 --- a/dist/modules/userBalance/userBalance.module.js +++ b/dist/modules/userBalance/userBalance.module.js @@ -8,24 +8,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, Object.defineProperty(exports, "__esModule", { value: true }); exports.UserBalanceModule = void 0; const common_1 = require("@nestjs/common"); -const userBalance_service_1 = require("./userBalance.service"); const typeorm_1 = require("@nestjs/typeorm"); -const balance_entity_1 = require("./balance.entity"); +const chatGroup_entity_1 = require("../chatGroup/chatGroup.entity"); +const chatLog_entity_1 = require("../chatLog/chatLog.entity"); +const cramiPackage_entity_1 = require("../crami/cramiPackage.entity"); +const config_entity_1 = require("../globalConfig/config.entity"); +const midjourney_entity_1 = require("../midjourney/midjourney.entity"); +const redisCache_service_1 = require("../redisCache/redisCache.service"); +const salesUsers_entity_1 = require("../sales/salesUsers.entity"); +const user_entity_1 = require("../user/user.entity"); const verification_service_1 = require("../verification/verification.service"); const verifycation_entity_1 = require("../verification/verifycation.entity"); const accountLog_entity_1 = require("./accountLog.entity"); -const userBalance_controller_1 = require("./userBalance.controller"); -const config_entity_1 = require("../globalConfig/config.entity"); -const cramiPackage_entity_1 = require("../crami/cramiPackage.entity"); -const userBalance_entity_1 = require("./userBalance.entity"); -const user_entity_1 = require("../user/user.entity"); -const salesUsers_entity_1 = require("../sales/salesUsers.entity"); -const whiteList_entity_1 = require("../chat/whiteList.entity"); -const redisCache_service_1 = require("../redisCache/redisCache.service"); +const balance_entity_1 = require("./balance.entity"); const fingerprint_entity_1 = require("./fingerprint.entity"); -const chatLog_entity_1 = require("../chatLog/chatLog.entity"); -const chatGroup_entity_1 = require("../chatGroup/chatGroup.entity"); -const midjourney_entity_1 = require("../midjourney/midjourney.entity"); +const userBalance_controller_1 = require("./userBalance.controller"); +const userBalance_entity_1 = require("./userBalance.entity"); +const userBalance_service_1 = require("./userBalance.service"); let UserBalanceModule = class UserBalanceModule { }; UserBalanceModule = __decorate([ @@ -41,11 +40,10 @@ UserBalanceModule = __decorate([ cramiPackage_entity_1.CramiPackageEntity, user_entity_1.UserEntity, salesUsers_entity_1.SalesUsersEntity, - whiteList_entity_1.WhiteListEntity, fingerprint_entity_1.FingerprintLogEntity, chatLog_entity_1.ChatLogEntity, chatGroup_entity_1.ChatGroupEntity, - midjourney_entity_1.MidjourneyEntity + midjourney_entity_1.MidjourneyEntity, ]), ], controllers: [userBalance_controller_1.UserBalanceController], diff --git a/dist/modules/userBalance/userBalance.service.js b/dist/modules/userBalance/userBalance.service.js index 3255d5f..3f95a87 100644 --- a/dist/modules/userBalance/userBalance.service.js +++ b/dist/modules/userBalance/userBalance.service.js @@ -25,7 +25,6 @@ const accountLog_entity_1 = require("./accountLog.entity"); const balance_entity_1 = require("./balance.entity"); const userBalance_entity_1 = require("./userBalance.entity"); const date_1 = require("../../common/utils/date"); -const whiteList_entity_1 = require("../chat/whiteList.entity"); const chatGroup_entity_1 = require("../chatGroup/chatGroup.entity"); const chatLog_entity_1 = require("../chatLog/chatLog.entity"); const midjourney_entity_1 = require("../midjourney/midjourney.entity"); @@ -34,7 +33,7 @@ const salesUsers_entity_1 = require("../sales/salesUsers.entity"); const user_entity_1 = require("../user/user.entity"); const fingerprint_entity_1 = require("./fingerprint.entity"); let UserBalanceService = class UserBalanceService { - constructor(balanceEntity, userBalanceEntity, accountLogEntity, cramiPackageEntity, configEntity, userEntity, salesUsersEntity, whiteListEntity, fingerprintLogEntity, chatGroupEntity, chatLogEntity, midjourneyEntity, salesService, globalConfigService) { + constructor(balanceEntity, userBalanceEntity, accountLogEntity, cramiPackageEntity, configEntity, userEntity, salesUsersEntity, fingerprintLogEntity, chatGroupEntity, chatLogEntity, midjourneyEntity, salesService, globalConfigService) { this.balanceEntity = balanceEntity; this.userBalanceEntity = userBalanceEntity; this.accountLogEntity = accountLogEntity; @@ -42,7 +41,6 @@ let UserBalanceService = class UserBalanceService { this.configEntity = configEntity; this.userEntity = userEntity; this.salesUsersEntity = salesUsersEntity; - this.whiteListEntity = whiteListEntity; this.fingerprintLogEntity = fingerprintLogEntity; this.chatGroupEntity = chatGroupEntity; this.chatLogEntity = chatLogEntity; @@ -88,17 +86,28 @@ let UserBalanceService = class UserBalanceService { model4Count = model4Count + configMap.registerSendModel4Count; drawMjCount = drawMjCount + configMap.registerSendDrawMjCount; } - if (configMap.registerSendStatus === 1 && configMap.firstRegisterSendStatus === 1 && userId <= configMap.firstRegisterSendRank) { + if (configMap.registerSendStatus === 1 && + configMap.firstRegisterSendStatus === 1 && + userId <= configMap.firstRegisterSendRank) { model3Count = model3Count + configMap.firstRregisterSendModel3Count; model4Count = model4Count + configMap.firstRregisterSendModel4Count; drawMjCount = drawMjCount + configMap.firstRregisterSendDrawMjCount; } - await this.saveRecordRechargeLog({ userId, rechargeType: balance_constant_1.RechargeType.REG_GIFT, model3Count, drawMjCount, model4Count }); + await this.saveRecordRechargeLog({ + userId, + rechargeType: balance_constant_1.RechargeType.REG_GIFT, + model3Count, + drawMjCount, + model4Count, + }); if (invitedId) { if (Number(configMap.inviteSendStatus) === 1) { - model3Count = model3Count + Number(configMap.invitedGuestSendModel3Count); - model4Count = model4Count + Number(configMap.invitedGuestSendModel4Count); - drawMjCount = drawMjCount + Number(configMap.invitedGuestSendDrawMjCount); + model3Count = + model3Count + Number(configMap.invitedGuestSendModel3Count); + model4Count = + model4Count + Number(configMap.invitedGuestSendModel4Count); + drawMjCount = + drawMjCount + Number(configMap.invitedGuestSendDrawMjCount); await this.saveRecordRechargeLog({ userId, rechargeType: balance_constant_1.RechargeType.INVITE_GIFT, @@ -120,7 +129,13 @@ let UserBalanceService = class UserBalanceService { }); } } - await this.userBalanceEntity.save({ userId, model3Count, model4Count, drawMjCount, useTokens: 0 }); + await this.userBalanceEntity.save({ + userId, + model3Count, + model4Count, + drawMjCount, + useTokens: 0, + }); } catch (error) { console.log('error: ', error); @@ -136,11 +151,25 @@ let UserBalanceService = class UserBalanceService { if (role === 'visitor') { return this.validateVisitorBalance(req, type, amount); } - const res = await this.configEntity.findOne({ where: { configKey: 'vxNumber' } }); + const res = await this.configEntity.findOne({ + where: { configKey: 'vxNumber' }, + }); const vxNumber = res ? res.configVal : '---'; - const memberKey = type === 1 ? 'memberModel3Count' : type === 2 ? 'memberModel4Count' : type === 3 ? 'memberDrawMjCount' : null; - const baseKey = type === 1 ? 'model3Count' : type === 2 ? 'model4Count' : type === 3 ? 'drawMjCount' : null; - if (b.packageId && b[memberKey] < amount) { + const memberKey = type === 1 + ? 'memberModel3Count' + : type === 2 + ? 'memberModel4Count' + : type === 3 + ? 'memberDrawMjCount' + : null; + const baseKey = type === 1 + ? 'model3Count' + : type === 2 + ? 'model4Count' + : type === 3 + ? 'drawMjCount' + : null; + if (b.packageId && b[memberKey] + b[baseKey] < amount) { if (b[baseKey] < amount) { throw new common_1.HttpException(`您的账户余额不足,如果想继续体验服务,请联系管理员或购买专属套餐 !`, common_1.HttpStatus.PAYMENT_REQUIRED); } @@ -152,21 +181,33 @@ let UserBalanceService = class UserBalanceService { } async validateVisitorBalance(req, type, amount) { const { id } = req.user; - const baseKey = type === 1 ? 'model3Count' : type === 2 ? 'model4Count' : type === 3 ? 'drawMjCount' : null; + const baseKey = type === 1 + ? 'model3Count' + : type === 2 + ? 'model4Count' + : type === 3 + ? 'drawMjCount' + : null; const now = new Date(); - const log = await this.fingerprintLogEntity.findOne({ where: { fingerprint: id } }); - const { visitorModel3Num, visitorModel4Num, visitorMJNum } = await this.globalConfigService.getConfigs(['visitorModel3Num', 'visitorModel4Num', 'visitorMJNum']); + const log = await this.fingerprintLogEntity.findOne({ + where: { fingerprint: id }, + }); + const { visitorModel3Num, visitorModel4Num, visitorMJNum } = await this.globalConfigService.getConfigs([ + 'visitorModel3Num', + 'visitorModel4Num', + 'visitorMJNum', + ]); const settings = { model3Count: visitorModel3Num ? Number(visitorModel3Num) : 0, model4Count: visitorModel4Num ? Number(visitorModel4Num) : 0, - drawMjCount: visitorMJNum ? Number(visitorMJNum) : 0 + drawMjCount: visitorMJNum ? Number(visitorMJNum) : 0, }; if (!log) { let data = { fingerprint: id, model3Count: 0, model4Count: 0, - drawMjCount: 0 + drawMjCount: 0, }; data[baseKey] = data[baseKey] + amount; if (data[baseKey] > settings[baseKey]) { @@ -182,7 +223,7 @@ let UserBalanceService = class UserBalanceService { let data = { model3Count, model4Count, - drawMjCount + drawMjCount, }; const date = Number(new Date(log.updatedAt)); const isUpdateLastDay = this.isUpdatedToday(date); @@ -193,7 +234,7 @@ let UserBalanceService = class UserBalanceService { data = { model3Count: 0, model4Count: 0, - drawMjCount: 0 + drawMjCount: 0, }; data[baseKey] = data[baseKey] + amount; } @@ -216,37 +257,40 @@ let UserBalanceService = class UserBalanceService { if (!b) { throw new common_1.HttpException('缺失当前用户账户记录!', common_1.HttpStatus.BAD_REQUEST); } - const memberKey = deductionType === 1 - ? 'memberModel3Count' - : deductionType === 2 - ? 'memberModel4Count' - : deductionType === 3 - ? 'memberDrawMjCount' - : null; - const baseKey = deductionType === 1 ? 'model3Count' : deductionType === 2 ? 'model4Count' : deductionType === 3 ? 'drawMjCount' : null; - const updateKey = b.packageId && b[memberKey] < amount ? baseKey : b.packageId ? memberKey : baseKey; - let useKey = null; - if (updateKey.includes('odel3')) { - useKey = 'useModel3Token'; - } - if (updateKey.includes('odel4')) { - useKey = 'useModel4Token'; - } - if (updateKey.includes('MjCount')) { - useKey = 'useDrawMjToken'; + const keys = { + 1: { + member: 'memberModel3Count', + nonMember: 'model3Count', + token: 'useModel3Token', + }, + 2: { + member: 'memberModel4Count', + nonMember: 'model4Count', + token: 'useModel4Token', + }, + 3: { + member: 'memberDrawMjCount', + nonMember: 'drawMjCount', + token: 'useDrawMjToken', + }, + }; + const { member, nonMember, token } = keys[deductionType]; + let remainingAmount = amount; + let newMemberBalance = Math.max(b[member] - remainingAmount, 0); + remainingAmount -= b[member] - newMemberBalance; + let newNonMemberBalance = b[nonMember]; + if (remainingAmount > 0) { + newNonMemberBalance = Math.max(b[nonMember] - remainingAmount, 0); + remainingAmount -= b[nonMember] - newNonMemberBalance; } const updateBalance = { - [updateKey]: b[updateKey] - amount < 0 ? 0 : b[updateKey] - amount, - [useKey]: b[useKey] + UseAmount, + [member]: newMemberBalance, + [nonMember]: newNonMemberBalance, + [token]: (b[token] || 0) + UseAmount, }; - if (useKey === 'useModel3Token') { - updateBalance['useModel3Count'] = b['useModel3Count'] + amount; - } - if (useKey === 'useModel4Token') { - updateBalance['useModel4Count'] = b['useModel4Count'] + amount; - } - if (useKey === 'useDrawMjToken') { - updateBalance['useDrawMjToken'] = b['useDrawMjToken'] + amount; + if (token === 'useModel3Token' || token === 'useModel4Token') { + updateBalance[token.replace('Token', 'Count')] = + (b[token.replace('Token', 'Count')] || 0) + amount; } const result = await this.userBalanceEntity.update({ userId }, updateBalance); if (result.affected === 0) { @@ -282,10 +326,18 @@ let UserBalanceService = class UserBalanceService { throw new common_1.HttpException('查询当前用户余额失败!', common_1.HttpStatus.BAD_REQUEST); } } - res.sumModel3Count = res.packageId ? res.model3Count + res.memberModel3Count : res.model3Count; - res.sumModel4Count = res.packageId ? res.model4Count + res.memberModel4Count : res.model4Count; - res.sumDrawMjCount = res.packageId ? res.drawMjCount + res.memberDrawMjCount : res.drawMjCount; - res.expirationTime = res.expirationTime ? (0, date_1.formatDate)(res.expirationTime, 'YYYY-MM-DD') : null; + res.sumModel3Count = res.packageId + ? res.model3Count + res.memberModel3Count + : res.model3Count; + res.sumModel4Count = res.packageId + ? res.model4Count + res.memberModel4Count + : res.model4Count; + res.sumDrawMjCount = res.packageId + ? res.drawMjCount + res.memberDrawMjCount + : res.drawMjCount; + res.expirationTime = res.expirationTime + ? (0, date_1.formatDate)(res.expirationTime, 'YYYY-MM-DD') + : null; return res; } catch (error) { @@ -293,35 +345,53 @@ let UserBalanceService = class UserBalanceService { } } async saveRecordRechargeLog(logInfo) { - const { userId, rechargeType, model3Count, model4Count, drawMjCount, days = -1, pkgName = '', extent = '' } = logInfo; + const { userId, rechargeType, model3Count, model4Count, drawMjCount, days = -1, pkgName = '', extent = '', } = logInfo; if (!userId) { throw new common_1.HttpException('当前用户不存在,记录充值日志异常', common_1.HttpStatus.BAD_REQUEST); } const uid = (0, utils_1.createRandomUid)(); - return await this.accountLogEntity.save({ userId, rechargeType, model3Count, model4Count, drawMjCount, days, extent, uid, pkgName }); + return await this.accountLogEntity.save({ + userId, + rechargeType, + model3Count, + model4Count, + drawMjCount, + days, + extent, + uid, + pkgName, + }); } async createBaseUserBalance(userId, userBalanceInfo = {}) { - const { model3Count = 0, model4Count = 0, drawMjCount = 0 } = userBalanceInfo; + const { model3Count = 0, model4Count = 0, drawMjCount = 0, } = userBalanceInfo; const balance = await this.userBalanceEntity.findOne({ where: { userId } }); if (balance) { throw new common_1.HttpException('当前用户无需创建账户信息!', common_1.HttpStatus.BAD_REQUEST); } - return await this.userBalanceEntity.save({ userId, model3Count, model4Count, drawMjCount }); + return await this.userBalanceEntity.save({ + userId, + model3Count, + model4Count, + drawMjCount, + }); } async addBalanceToUser(userId, balance, days = -1) { try { - const userBalanceInfo = (await this.userBalanceEntity.findOne({ where: { userId } })) || (await this.createBaseUserBalance(userId)); + const userBalanceInfo = (await this.userBalanceEntity.findOne({ where: { userId } })) || + (await this.createBaseUserBalance(userId)); if (!userBalanceInfo) { throw new common_1.HttpException('查询用户账户信息失败!', common_1.HttpStatus.BAD_REQUEST); } - const { model3Count, model4Count, drawMjCount, memberModel3Count, memberModel4Count, memberDrawMjCount } = userBalanceInfo; + const { model3Count, model4Count, drawMjCount, memberModel3Count, memberModel4Count, memberDrawMjCount, } = userBalanceInfo; let params = {}; if (days > 0) { const { packageId } = balance; if (!packageId) { throw new common_1.HttpException('缺失当前套餐ID、充值失败!', common_1.HttpStatus.BAD_REQUEST); } - const pkgInfo = await this.cramiPackageEntity.findOne({ where: { id: packageId } }); + const pkgInfo = await this.cramiPackageEntity.findOne({ + where: { id: packageId }, + }); if (!pkgInfo) { throw new common_1.HttpException('当前套餐不存在!', common_1.HttpStatus.BAD_REQUEST); } @@ -338,7 +408,9 @@ let UserBalanceService = class UserBalanceService { }; } else { - const curPackageInfo = await this.cramiPackageEntity.findOne({ where: { id: userBalanceInfo.packageId } }); + const curPackageInfo = await this.cramiPackageEntity.findOne({ + where: { id: userBalanceInfo.packageId }, + }); if (weight >= curPackageInfo.weight) { params = { memberModel3Count: memberModel3Count + balance.model3Count, @@ -380,11 +452,13 @@ let UserBalanceService = class UserBalanceService { console.log('充值的工单信息:', order); try { const { userId, goodsId } = order; - const pkg = await this.cramiPackageEntity.findOne({ where: { id: order.goodsId, status: 1 } }); + const pkg = await this.cramiPackageEntity.findOne({ + where: { id: order.goodsId, status: 1 }, + }); if (!pkg) { throw new common_1.HttpException('非法操作、当前充值套餐暂不存在!', common_1.HttpStatus.BAD_REQUEST); } - const { model3Count, model4Count, drawMjCount, days, name: pkgName } = pkg; + const { model3Count, model4Count, drawMjCount, days, name: pkgName, } = pkg; const money = { model3Count, model4Count, @@ -393,12 +467,24 @@ let UserBalanceService = class UserBalanceService { packageId: order.goodsId, }; await this.addBalanceToUser(userId, money, days); - await this.saveRecordRechargeLog({ userId, rechargeType: balance_constant_1.RechargeType.SCAN_PAY, model3Count, model4Count, drawMjCount, pkgName, days }); + await this.saveRecordRechargeLog({ + userId, + rechargeType: balance_constant_1.RechargeType.SCAN_PAY, + model3Count, + model4Count, + drawMjCount, + pkgName, + days, + }); const userInfo = await this.userEntity.findOne({ where: { id: userId } }); const { invitedBy } = userInfo; if (invitedBy) { - const inviteUserInfo = await this.userEntity.findOne({ where: { inviteCode: invitedBy } }); - const inviteUserSalesInfo = await this.salesUsersEntity.findOne({ where: { userId: inviteUserInfo.id } }); + const inviteUserInfo = await this.userEntity.findOne({ + where: { inviteCode: invitedBy }, + }); + const inviteUserSalesInfo = await this.salesUsersEntity.findOne({ + where: { userId: inviteUserInfo.id }, + }); if (!inviteUserInfo) return; const { id: inviterUserId } = inviteUserInfo; @@ -449,7 +535,9 @@ let UserBalanceService = class UserBalanceService { take: size, }); const userIds = rows.map((item) => item.userId); - const userInfo = await this.userEntity.find({ where: { id: (0, typeorm_2.In)(userIds) } }); + const userInfo = await this.userEntity.find({ + where: { id: (0, typeorm_2.In)(userIds) }, + }); rows.forEach((item) => { const user = userInfo.find((user) => user.id === item.userId); item.username = user === null || user === void 0 ? void 0 : user.username; @@ -477,57 +565,6 @@ let UserBalanceService = class UserBalanceService { async refundMjBalance(userId, amount) { return await this.deductFromBalance(userId, 'mjDraw', -amount); } - async upgradeBalance() { - const users = await this.userEntity.find(); - if (!users.length) - return; - const upgradeStatus = await this.globalConfigService.getConfigs(['upgradeStatus']); - if (!upgradeStatus) { - await this.globalConfigService.setConfig({ settings: [{ configKey: 'upgradeStatus', configVal: '1' }] }); - } - else { - throw new common_1.HttpException('您已经升级过了、请勿重复操作!', common_1.HttpStatus.BAD_REQUEST); - } - users.forEach((user) => { - const { id } = user; - this.balanceEntity.findOne({ where: { userId: id } }).then((res) => { - if (!res) - return; - this.writeOldBalanceToNewTable(id, res); - }); - }); - } - async writeOldBalanceToNewTable(userId, balanceInfo) { - const { balance = 0, usesLeft = 0, paintCount = 0, useTokens = 0, useChats = 0, usePaints = 0 } = balanceInfo; - const model4Info = await this.whiteListEntity.findOne({ where: { userId } }); - const newBalanceInfo = { - userId, - model3Count: Number(usesLeft), - model4Count: (model4Info === null || model4Info === void 0 ? void 0 : model4Info.count) || 0, - drawMjCount: Number(balance), - useModel3Count: Number(useChats), - useModel4Count: (model4Info === null || model4Info === void 0 ? void 0 : model4Info.useCount) || 0, - useDrawMjCount: Number(usePaints), - useModel3Token: Number(useTokens), - useModel4Token: 0, - useDrawMjToken: 0, - }; - const userBalanceInfo = await this.userBalanceEntity.findOne({ where: { userId } }); - if (userBalanceInfo) { - common_1.Logger.debug(`用户${userId}账户信息已经存在、迁移无效`, 'BalanceService'); - } - else { - this.userBalanceEntity - .save(newBalanceInfo) - .then((res) => { - common_1.Logger.debug(`用户${userId}旧账户信息迁移成功`, 'BalanceService'); - }) - .catch((error) => { - console.log('error: ', error); - common_1.Logger.debug(`用户${userId}旧账户信息迁移失败`, 'BalanceService'); - }); - } - } async inheritVisitorData(req) { const { fingerprint } = req.headers; const { id: userId } = req.user; @@ -538,9 +575,15 @@ let UserBalanceService = class UserBalanceService { } async getVisitorCount(req) { const { fingerprint } = req.headers; - const countChat = await this.chatLogEntity.count({ where: { userId: fingerprint } }); - const countChatGroup = await this.chatGroupEntity.count({ where: { userId: fingerprint } }); - const countMj = await this.midjourneyEntity.count({ where: { userId: fingerprint } }); + const countChat = await this.chatLogEntity.count({ + where: { userId: fingerprint }, + }); + const countChatGroup = await this.chatGroupEntity.count({ + where: { userId: fingerprint }, + }); + const countMj = await this.midjourneyEntity.count({ + where: { userId: fingerprint }, + }); return countChat || countChatGroup || countMj || 0; } }; @@ -553,11 +596,10 @@ UserBalanceService = __decorate([ __param(4, (0, typeorm_1.InjectRepository)(config_entity_1.ConfigEntity)), __param(5, (0, typeorm_1.InjectRepository)(user_entity_1.UserEntity)), __param(6, (0, typeorm_1.InjectRepository)(salesUsers_entity_1.SalesUsersEntity)), - __param(7, (0, typeorm_1.InjectRepository)(whiteList_entity_1.WhiteListEntity)), - __param(8, (0, typeorm_1.InjectRepository)(fingerprint_entity_1.FingerprintLogEntity)), - __param(9, (0, typeorm_1.InjectRepository)(chatGroup_entity_1.ChatGroupEntity)), - __param(10, (0, typeorm_1.InjectRepository)(chatLog_entity_1.ChatLogEntity)), - __param(11, (0, typeorm_1.InjectRepository)(midjourney_entity_1.MidjourneyEntity)), + __param(7, (0, typeorm_1.InjectRepository)(fingerprint_entity_1.FingerprintLogEntity)), + __param(8, (0, typeorm_1.InjectRepository)(chatGroup_entity_1.ChatGroupEntity)), + __param(9, (0, typeorm_1.InjectRepository)(chatLog_entity_1.ChatLogEntity)), + __param(10, (0, typeorm_1.InjectRepository)(midjourney_entity_1.MidjourneyEntity)), __metadata("design:paramtypes", [typeorm_2.Repository, typeorm_2.Repository, typeorm_2.Repository, @@ -569,7 +611,6 @@ UserBalanceService = __decorate([ typeorm_2.Repository, typeorm_2.Repository, typeorm_2.Repository, - typeorm_2.Repository, sales_service_1.SalesService, globalConfig_service_1.GlobalConfigService]) ], UserBalanceService); diff --git a/package.json b/package.json index c575b0d..5bd4596 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "99AI", - "version": "3.3.0", + "name": "99ai", + "version": "3.5.0", "description": "", - "author": "", + "author": "vastxie", "private": true, - "license": "UNLICENSED", + "license": "Apache-2.0", "bin": "./dist/main.js", "scripts": { "start": "pm2 start pm2.conf.json", @@ -27,87 +27,89 @@ }, "dependencies": { "@alicloud/pop-core": "^1.7.13", - "@dqbd/tiktoken": "^1.0.7", - "@keyv/redis": "^2.6.1", + "@dqbd/tiktoken": "^1.0.15", + "@keyv/redis": "^2.8.5", "@nestjs/bull": "^0.6.3", - "@nestjs/common": "^9.0.0", - "@nestjs/core": "^9.0.0", - "@nestjs/jwt": "^10.0.3", + "@nestjs/common": "^9.4.3", + "@nestjs/config": "^3.2.2", + "@nestjs/core": "^9.4.3", + "@nestjs/jwt": "^10.2.0", "@nestjs/passport": "^9.0.3", - "@nestjs/platform-express": "^9.4.0", - "@nestjs/schedule": "^2.2.2", - "@nestjs/serve-static": "^4.0.0", - "@nestjs/swagger": "^6.2.1", + "@nestjs/platform-express": "^9.4.3", + "@nestjs/platform-socket.io": "^10.3.9", + "@nestjs/schedule": "^2.2.3", + "@nestjs/serve-static": "^4.0.2", + "@nestjs/swagger": "^6.3.0", "@nestjs/typeorm": "^9.0.1", - "@types/cache-manager-redis-store": "^2.0.1", + "@nestjs/websockets": "^10.3.9", + "@types/cache-manager-redis-store": "^2.0.4", "abort-controller": "^3.0.0", - "ali-oss": "^6.17.1", + "ali-oss": "^6.20.0", "app-root-path": "^3.1.0", - "axios": "^1.4.0", + "axios": "^1.7.2", "bcryptjs": "^2.4.3", "body-parser": "^1.20.2", - "bull": "^4.10.4", + "bull": "^4.14.0", "cache-manager-redis-store": "^3.0.1", "class-transformer": "^0.5.1", - "class-validator": "^0.14.0", + "class-validator": "^0.14.1", "compression": "^1.7.4", - "cos-nodejs-sdk-v5": "^2.11.19", - "css-inline": "^0.11.2", - "dayjs": "^1.11.7", + "cos-nodejs-sdk-v5": "^2.14.2", + "dayjs": "^1.11.11", "decimal.js": "^10.4.3", - "dotenv": "^16.0.3", + "dotenv": "^16.4.5", "eventsource": "^2.0.2", - "exceljs": "^4.3.0", - "express": "^4.18.2", + "exceljs": "^4.4.0", + "express": "^4.19.2", "express-xml-bodyparser": "^0.3.0", "form-data": "^4.0.0", "guid-typescript": "^1.0.9", "handlebars": "^4.7.8", "hbs": "^4.2.0", "image-size": "^1.1.1", - "ioredis": "^5.3.2", + "ioredis": "^5.4.1", "isomorphic-fetch": "^3.0.0", - "javascript-obfuscator": "^4.0.2", - "jimp": "^0.22.7", - "jsonwebtoken": "^9.0.0", - "keyv": "^4.5.2", + "javascript-obfuscator": "^4.1.1", + "jimp": "^0.22.12", + "jsonwebtoken": "^9.0.2", + "keyv": "^4.5.4", "lodash": "^4.17.21", - "microsoft-cognitiveservices-speech-sdk": "^1.36.0", - "mysql2": "^3.2.0", - "nestjs-config": "^1.4.10", + "microsoft-cognitiveservices-speech-sdk": "^1.38.0", + "mysql2": "^3.10.1", + "nestjs-config": "^1.4.11", "nestjs-rate-limiter": "^3.1.0", "nestjs-redis": "^1.3.3", - "node-fetch": "^3.3.1", - "nodemailer": "^6.9.12", + "node-fetch": "^3.3.2", + "nodemailer": "^6.9.14", "passport": "^0.6.0", "passport-jwt": "^4.0.1", - "redis": "^4.6.5", - "reflect-metadata": "^0.1.13", - "rxjs": "^7.2.0", + "redis": "^4.6.14", + "reflect-metadata": "^0.1.14", + "rxjs": "^7.8.1", "stream-to-buffer": "^0.1.0", "svg-captcha": "^1.4.0", - "swagger-ui-express": "^4.6.2", - "typeorm": "^0.3.12", - "uuid": "^9.0.0", - "wechatpay-node-v3": "^2.1.5" + "swagger-ui-express": "^4.6.3", + "typeorm": "^0.3.20", + "uuid": "^9.0.1", + "wechatpay-node-v3": "^2.2.0" }, "devDependencies": { - "@nestjs/cli": "^9.0.0", - "@nestjs/schematics": "^9.0.0", - "@nestjs/testing": "^9.0.0", - "@types/express": "^4.17.13", + "@nestjs/cli": "^9.5.0", + "@nestjs/schematics": "^9.2.0", + "@nestjs/testing": "^9.4.3", + "@types/express": "^4.17.21", "@types/jest": "29.2.4", "@types/node": "18.11.18", - "@types/supertest": "^2.0.11", + "@types/supertest": "^2.0.16", "jest": "29.3.1", - "prettier": "^2.3.2", - "source-map-support": "^0.5.20", - "supertest": "^6.1.3", + "prettier": "^2.8.8", + "source-map-support": "^0.5.21", + "supertest": "^6.3.4", "ts-jest": "29.0.3", - "ts-loader": "^9.2.3", - "ts-node": "^10.0.0", + "ts-loader": "^9.5.1", + "ts-node": "^10.9.2", "tsconfig-paths": "4.1.1", - "typescript": "^4.7.4" + "typescript": "^4.9.5" }, "jest": { "moduleFileExtensions": [ diff --git a/public/admin/assets/HButton-aVY9RE9r.js b/public/admin/assets/HButton-aVY9RE9r.js new file mode 100644 index 0000000..429fe57 --- /dev/null +++ b/public/admin/assets/HButton-aVY9RE9r.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as f}from"./index-B-LUCRde.js";export{f as default}; diff --git a/public/admin/assets/HButton-aVY9RE9r.js.br b/public/admin/assets/HButton-aVY9RE9r.js.br new file mode 100644 index 0000000..943443b Binary files /dev/null and b/public/admin/assets/HButton-aVY9RE9r.js.br differ diff --git a/public/admin/assets/HCheckList-BDt5IzdQ.js b/public/admin/assets/HCheckList-BDt5IzdQ.js new file mode 100644 index 0000000..39ecebb --- /dev/null +++ b/public/admin/assets/HCheckList-BDt5IzdQ.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js";import"./index-B-LUCRde.js";export{m as default}; diff --git a/public/admin/assets/HCheckList-BDt5IzdQ.js.br b/public/admin/assets/HCheckList-BDt5IzdQ.js.br new file mode 100644 index 0000000..94102a5 Binary files /dev/null and b/public/admin/assets/HCheckList-BDt5IzdQ.js.br differ diff --git a/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js b/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js new file mode 100644 index 0000000..d7d8765 --- /dev/null +++ b/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as u,av as n,aw as m,Z as b,g as a,c as t,F as o,s as p,Q as _,z as g,h,t as v,j as f}from"./index-B-LUCRde.js";const k={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark-bg-stone-7"},y=["disabled","onClick"],V=u({__name:"HCheckList",props:n({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:n(["change"],["update:modelValue"]),setup(i,{emit:d}){const r=d,l=m(i,"modelValue");return b(l,s=>{r("change",s)}),(s,x)=>{const c=f;return a(),t("div",k,[(a(!0),t(o,null,p(s.options,e=>(a(),t("button",{key:e.value,disabled:s.disabled||e.disabled,class:_(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled-cursor-not-allowed disabled-opacity-50 hover-not-disabled-bg-ui-primary hover-not-disabled-text-ui-text",{"text-ui-text bg-ui-primary":l.value===e.value}]),onClick:C=>l.value=e.value},[e.icon?(a(),g(c,{key:0,name:e.icon},null,8,["name"])):(a(),t(o,{key:1},[h(v(e.label),1)],64))],10,y))),128))])}}});export{V as _}; diff --git a/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js.br b/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js.br new file mode 100644 index 0000000..129453c Binary files /dev/null and b/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js.br differ diff --git a/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js.gz b/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js.gz new file mode 100644 index 0000000..1280a2e Binary files /dev/null and b/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js.gz differ diff --git a/public/admin/assets/HDialog-CkHEJpCp.js b/public/admin/assets/HDialog-CkHEJpCp.js new file mode 100644 index 0000000..60bf071 --- /dev/null +++ b/public/admin/assets/HDialog-CkHEJpCp.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js";import"./index-B-LUCRde.js";export{m as default}; diff --git a/public/admin/assets/HDialog-CkHEJpCp.js.br b/public/admin/assets/HDialog-CkHEJpCp.js.br new file mode 100644 index 0000000..2e01573 Binary files /dev/null and b/public/admin/assets/HDialog-CkHEJpCp.js.br differ diff --git a/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js b/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js new file mode 100644 index 0000000..9b5296f --- /dev/null +++ b/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as w,av as i,aw as h,O as b,r as k,p as C,g as p,z as B,w as t,b as s,i as e,ak as d,X as c,e as o,Q as V,al as T,ax as S,h as j,t as F,an as N,P as u,c as $,A as z,ap as M,aq as D,j as O}from"./index-B-LUCRde.js";const P={class:"fixed inset-0 overflow-y-auto"},q={class:"min-h-full flex items-end justify-center p-4 text-center lg-items-center"},A={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},E={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},I=w({__name:"HDialog",props:i({appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:i(["close"],["update:modelValue"]),setup(f,{emit:m}){const y=m,l=h(f,"modelValue"),v=b(),g=k({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),x=C(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"}));function r(){l.value=!1,y("close")}return(a,n)=>{const _=O;return p(),B(e(D),{as:"template",appear:a.appear,show:l.value},{default:t(()=>[s(e(M),{class:"fixed inset-0 z-2000 flex",onClose:n[0]||(n[0]=G=>!a.preventClose&&r())},{default:t(()=>[s(e(d),c({as:"template",appear:a.appear},e(g)),{default:t(()=>[o("div",{class:V(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":a.overlay}])},null,2)]),_:1},16,["appear"]),o("div",P,[o("div",q,[s(e(d),c({as:"template",appear:a.appear},e(x)),{default:t(()=>[s(e(T),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl lg-my-8 lg-max-w-lg dark-bg-stone-8"},{default:t(()=>[o("div",A,[s(e(S),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:t(()=>[j(F(a.title),1)]),_:1}),s(_,{name:"i-carbon:close","cursor-pointer":"",onClick:r})]),s(e(N),{"m-0":"","overflow-y-auto":"","p-4":""},{default:t(()=>[u(a.$slots,"default")]),_:3}),e(v).footer?(p(),$("div",E,[u(a.$slots,"footer")])):z("",!0)]),_:3})]),_:3},16,["appear"])])])]),_:3})]),_:3},8,["appear","show"])}}});export{I as _}; diff --git a/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js.br b/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js.br new file mode 100644 index 0000000..0d5fe16 Binary files /dev/null and b/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js.br differ diff --git a/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js.gz b/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js.gz new file mode 100644 index 0000000..dfefc61 Binary files /dev/null and b/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js.gz differ diff --git a/public/admin/assets/HDropdown-DTfQxtss.js b/public/admin/assets/HDropdown-DTfQxtss.js new file mode 100644 index 0000000..941734e --- /dev/null +++ b/public/admin/assets/HDropdown-DTfQxtss.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{l as t,n,g as a,z as p,w as o,P as r,X as d}from"./index-B-LUCRde.js";const l={};function c(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(l,[["render",c]]);export{f as default}; diff --git a/public/admin/assets/HDropdown-DTfQxtss.js.br b/public/admin/assets/HDropdown-DTfQxtss.js.br new file mode 100644 index 0000000..2c7c478 --- /dev/null +++ b/public/admin/assets/HDropdown-DTfQxtss.js.br @@ -0,0 +1,3 @@ + ,z,M?cjڋd8!&Htu.R,/// )ޒ-6[I(D[IyN${ccOd 6GYԘdi +"^A}~OϹ% +9;/nrڴ[M(R#g>O 1eﲚ/Iz~sv,?7i \ No newline at end of file diff --git a/public/admin/assets/HDropdown-DTfQxtss.js.gz b/public/admin/assets/HDropdown-DTfQxtss.js.gz new file mode 100644 index 0000000..60127b3 Binary files /dev/null and b/public/admin/assets/HDropdown-DTfQxtss.js.gz differ diff --git a/public/admin/assets/HDropdownMenu-Da4N3uIo.js b/public/admin/assets/HDropdownMenu-Da4N3uIo.js new file mode 100644 index 0000000..cd8dc5e --- /dev/null +++ b/public/admin/assets/HDropdownMenu-Da4N3uIo.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js";import"./index-B-LUCRde.js";export{m as default}; diff --git a/public/admin/assets/HDropdownMenu-Da4N3uIo.js.br b/public/admin/assets/HDropdownMenu-Da4N3uIo.js.br new file mode 100644 index 0000000..d63c790 Binary files /dev/null and b/public/admin/assets/HDropdownMenu-Da4N3uIo.js.br differ diff --git a/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js b/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js new file mode 100644 index 0000000..cbe87e4 --- /dev/null +++ b/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as h,p as g,n as k,g as t,z as f,w as n,c as s,s as a,i as _,F as l,P as w,X as y,t as x}from"./index-B-LUCRde.js";const C=["disabled","onClick"],z=h({__name:"HDropdownMenu",props:{items:{}},setup(d){const i=d,p=g(()=>i.items.map(e=>e.filter(o=>!o.hide)).filter(e=>e.length));return(e,o)=>{const c=k("VMenu");return t(),f(c,y({"show-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover","click"],delay:200},e.$attrs),{popper:n(()=>[(t(!0),s(l,null,a(_(p),(u,b)=>(t(),s("div",{key:b,class:"b-b-stone-2 b-b-solid p-1 last-b-b-size-0 dark-b-b-stone-7"},[(t(!0),s(l,null,a(u,(r,m)=>(t(),s("button",{key:m,disabled:r.disabled,class:"w-full flex cursor-pointer items-center gap-2 border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark disabled-cursor-not-allowed dark-text-white disabled-opacity-50 hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",onClick:r.handle},x(r.label),9,C))),128))]))),128))]),default:n(()=>[w(e.$slots,"default")]),_:3},16)}}});export{z as _}; diff --git a/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js.br b/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js.br new file mode 100644 index 0000000..0ed6903 --- /dev/null +++ b/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js.br @@ -0,0 +1,6 @@ +@nLsy'-TVA<|Rā``J6T# +a ӟue[Dm0] څޚ_$@9f~qwX '"Le9狇\7<';!xdK(o ݎD{BBG.ffg9PPȶdG!Q¬3 xG@:+cXh?GMSWL/r(9glxGCO\ +&m*u[{ 6bӨ">vsf\"F~_ +yЫlI Kϥ yjn>I;/_jSwk.`B?^q% `ۯi:;9:ۨ \ No newline at end of file diff --git a/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js.gz b/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js.gz new file mode 100644 index 0000000..69af031 Binary files /dev/null and b/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js.gz differ diff --git a/public/admin/assets/HInput-Bn11_Lg9.js b/public/admin/assets/HInput-Bn11_Lg9.js new file mode 100644 index 0000000..94a5d28 --- /dev/null +++ b/public/admin/assets/HInput-Bn11_Lg9.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js";import"./index-B-LUCRde.js";export{m as default}; diff --git a/public/admin/assets/HInput-Bn11_Lg9.js.br b/public/admin/assets/HInput-Bn11_Lg9.js.br new file mode 100644 index 0000000..a477769 Binary files /dev/null and b/public/admin/assets/HInput-Bn11_Lg9.js.br differ diff --git a/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js b/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js new file mode 100644 index 0000000..9b243b7 --- /dev/null +++ b/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as r,av as n,aw as i,r as u,g as p,c,y as m,am as f,e as g}from"./index-B-LUCRde.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],w=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:s}){const e=i(o,"modelValue"),d=u();return s({ref:d}),(l,a)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{w as _}; diff --git a/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js.br b/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js.br new file mode 100644 index 0000000..6edc749 Binary files /dev/null and b/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js.br differ diff --git a/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js.gz b/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js.gz new file mode 100644 index 0000000..6db657a Binary files /dev/null and b/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js.gz differ diff --git a/public/admin/assets/HKbd-vG5TE40y.js b/public/admin/assets/HKbd-vG5TE40y.js new file mode 100644 index 0000000..eda44c4 --- /dev/null +++ b/public/admin/assets/HKbd-vG5TE40y.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{l as t,g as n,c as r,P as s}from"./index-B-LUCRde.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function c(e,i){return n(),r("kbd",a,[s(e.$slots,"default")])}const l=t(o,[["render",c]]);export{l as default}; diff --git a/public/admin/assets/HKbd-vG5TE40y.js.br b/public/admin/assets/HKbd-vG5TE40y.js.br new file mode 100644 index 0000000..6c13c48 Binary files /dev/null and b/public/admin/assets/HKbd-vG5TE40y.js.br differ diff --git a/public/admin/assets/HKbd-vG5TE40y.js.gz b/public/admin/assets/HKbd-vG5TE40y.js.gz new file mode 100644 index 0000000..7b1fe22 Binary files /dev/null and b/public/admin/assets/HKbd-vG5TE40y.js.gz differ diff --git a/public/admin/assets/HSelect-B1PkAF1H.js b/public/admin/assets/HSelect-B1PkAF1H.js new file mode 100644 index 0000000..d69e160 --- /dev/null +++ b/public/admin/assets/HSelect-B1PkAF1H.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as b,av as m,aw as f,p as g,n as v,g as l,z as h,w as r,e as o,c as i,s as _,F as w,t as c,i as k,b as x,X as y,j as V,Q as C}from"./index-B-LUCRde.js";const B={class:"w-full inline-flex"},M=["disabled"],z={class:"block truncate"},S={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},$={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg-w-48 focus-outline-none"},F=["disabled","onClick"],E=b({__name:"HSelect",props:m({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const a=t,n=f(t,"modelValue"),d=g({get(){return a.options.find(e=>e.value===n.value)??a.options[0]},set(e){n.value=e.value}});return(e,N)=>{const u=V,p=v("VMenu");return l(),h(p,y({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:e.disabled},e.$attrs),{popper:r(()=>[o("div",$,[(l(!0),i(w,null,_(e.options,s=>(l(),i("button",{key:s.value,disabled:s.disabled,class:C(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled-cursor-not-allowed hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",{"font-bold":t.modelValue===s.value}]),onClick:j=>d.value=s},c(s.label),11,F))),128))])]),default:r(()=>[o("div",B,[o("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg-w-48 disabled-cursor-not-allowed dark-bg-dark focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary",disabled:e.disabled},[o("span",z,c(k(d).label),1),o("span",S,[x(u,{name:"i-carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,M)])]),_:1},16,["disabled"])}}});export{E as default}; diff --git a/public/admin/assets/HSelect-B1PkAF1H.js.br b/public/admin/assets/HSelect-B1PkAF1H.js.br new file mode 100644 index 0000000..14f6749 Binary files /dev/null and b/public/admin/assets/HSelect-B1PkAF1H.js.br differ diff --git a/public/admin/assets/HSelect-B1PkAF1H.js.gz b/public/admin/assets/HSelect-B1PkAF1H.js.gz new file mode 100644 index 0000000..5cde3f0 Binary files /dev/null and b/public/admin/assets/HSelect-B1PkAF1H.js.gz differ diff --git a/public/admin/assets/HSlideover-Dkm9lfbf.js b/public/admin/assets/HSlideover-Dkm9lfbf.js new file mode 100644 index 0000000..806de34 --- /dev/null +++ b/public/admin/assets/HSlideover-Dkm9lfbf.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{cA as f}from"./index-B-LUCRde.js";export{f as default}; diff --git a/public/admin/assets/HTabList-B--QzHcy.js b/public/admin/assets/HTabList-B--QzHcy.js new file mode 100644 index 0000000..90a54b1 --- /dev/null +++ b/public/admin/assets/HTabList-B--QzHcy.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js";import"./index-B-LUCRde.js";import"./use-resolve-button-type-BVUBWyWZ.js";export{o as default}; diff --git a/public/admin/assets/HTabList-B--QzHcy.js.br b/public/admin/assets/HTabList-B--QzHcy.js.br new file mode 100644 index 0000000..b2a4f4c Binary files /dev/null and b/public/admin/assets/HTabList-B--QzHcy.js.br differ diff --git a/public/admin/assets/HTabList-B--QzHcy.js.gz b/public/admin/assets/HTabList-B--QzHcy.js.gz new file mode 100644 index 0000000..4daf384 Binary files /dev/null and b/public/admin/assets/HTabList-B--QzHcy.js.gz differ diff --git a/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js b/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js new file mode 100644 index 0000000..b0b0d5f --- /dev/null +++ b/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as $,r as T,a4 as j,cl as Q,cm as Z,p as x,cn as F,a7 as G,a as M,Z as R,cb as J,co as c,cp as V,cq as X,F as U,$ as W,cr as B,cs as Y,S as ee,ct as h,cu as O,cv as te,cw as ae,cx as A,cy as I,av as z,aw as le,g as C,z as L,w as N,b as ne,c as re,s as ue,i as _,e as se,Q as oe,A as ie,h as de,t as ce,j as ve}from"./index-B-LUCRde.js";import{s as pe}from"./use-resolve-button-type-BVUBWyWZ.js";let fe=$({props:{onFocus:{type:Function,required:!0}},setup(e){let v=T(!0);return()=>v.value?j(Z,{as:"button",type:"button",features:Q.Focusable,onFocus(d){d.preventDefault();let p,f=50;function u(){var l;if(f--<=0){p&&cancelAnimationFrame(p);return}if((l=e.onFocus)!=null&&l.call(e)){v.value=!1,cancelAnimationFrame(p);return}p=requestAnimationFrame(u)}p=requestAnimationFrame(u)}}):null}});var me=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(me||{}),be=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(be||{});let H=Symbol("TabsContext");function q(e){let v=W(H,null);if(v===null){let d=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(d,q),d}return v}let K=Symbol("TabsSSRContext"),xe=$({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:v,attrs:d,emit:p}){var f;let u=T((f=e.selectedIndex)!=null?f:e.defaultIndex),l=T([]),n=T([]),y=x(()=>e.selectedIndex!==null),S=x(()=>y.value?e.selectedIndex:u.value);function g(a){var r;let o=F(s.tabs.value,c),t=F(s.panels.value,c),i=o.filter(m=>{var b;return!((b=c(m))!=null&&b.hasAttribute("disabled"))});if(a<0||a>o.length-1){let m=B(u.value===null?0:Math.sign(a-u.value),{[-1]:()=>1,0:()=>B(Math.sign(a),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),b=B(m,{0:()=>o.indexOf(i[0]),1:()=>o.indexOf(i[i.length-1])});b!==-1&&(u.value=b),s.tabs.value=o,s.panels.value=t}else{let m=o.slice(0,a),b=[...o.slice(a),...m].find(D=>i.includes(D));if(!b)return;let w=(r=o.indexOf(b))!=null?r:s.selectedIndex.value;w===-1&&(w=s.selectedIndex.value),u.value=w,s.tabs.value=o,s.panels.value=t}}let s={selectedIndex:x(()=>{var a,r;return(r=(a=u.value)!=null?a:e.defaultIndex)!=null?r:null}),orientation:x(()=>e.vertical?"vertical":"horizontal"),activation:x(()=>e.manual?"manual":"auto"),tabs:l,panels:n,setSelectedIndex(a){S.value!==a&&p("change",a),y.value||g(a)},registerTab(a){var r;if(l.value.includes(a))return;let o=l.value[u.value];if(l.value.push(a),l.value=F(l.value,c),!y.value){let t=(r=l.value.indexOf(o))!=null?r:u.value;t!==-1&&(u.value=t)}},unregisterTab(a){let r=l.value.indexOf(a);r!==-1&&l.value.splice(r,1)},registerPanel(a){n.value.includes(a)||(n.value.push(a),n.value=F(n.value,c))},unregisterPanel(a){let r=n.value.indexOf(a);r!==-1&&n.value.splice(r,1)}};G(H,s);let k=T({tabs:[],panels:[]}),E=T(!1);M(()=>{E.value=!0}),G(K,x(()=>E.value?null:k.value));let P=x(()=>e.selectedIndex);return M(()=>{R([P],()=>{var a;return g((a=e.selectedIndex)!=null?a:e.defaultIndex)},{immediate:!0})}),J(()=>{if(!y.value||S.value==null||s.tabs.value.length<=0)return;let a=F(s.tabs.value,c);a.some((r,o)=>c(s.tabs.value[o])!==c(r))&&s.setSelectedIndex(a.findIndex(r=>c(r)===c(s.tabs.value[S.value])))}),()=>{let a={selectedIndex:u.value};return j(U,[l.value.length<=0&&j(fe,{onFocus:()=>{for(let r of l.value){let o=c(r);if((o==null?void 0:o.tabIndex)===0)return o.focus(),!0}return!1}}),V({theirProps:{...d,...X(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:a,slots:v,attrs:d,name:"TabGroup"})])}}}),ge=$({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:v,slots:d}){let p=q("TabList");return()=>{let f={selectedIndex:p.selectedIndex.value},u={role:"tablist","aria-orientation":p.orientation.value};return V({ourProps:u,theirProps:e,slot:f,attrs:v,slots:d,name:"TabList"})}}}),he=$({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:v,slots:d,expose:p}){var f;let u=(f=e.id)!=null?f:`headlessui-tabs-tab-${Y()}`,l=q("Tab"),n=T(null);p({el:n,$el:n}),M(()=>l.registerTab(n)),ee(()=>l.unregisterTab(n));let y=W(K),S=x(()=>{if(y.value){let t=y.value.tabs.indexOf(u);return t===-1?y.value.tabs.push(u)-1:t}return-1}),g=x(()=>{let t=l.tabs.value.indexOf(n);return t===-1?S.value:t}),s=x(()=>g.value===l.selectedIndex.value);function k(t){var i;let m=t();if(m===O.Success&&l.activation.value==="auto"){let b=(i=ae(n))==null?void 0:i.activeElement,w=l.tabs.value.findIndex(D=>c(D)===b);w!==-1&&l.setSelectedIndex(w)}return m}function E(t){let i=l.tabs.value.map(m=>c(m)).filter(Boolean);if(t.key===h.Space||t.key===h.Enter){t.preventDefault(),t.stopPropagation(),l.setSelectedIndex(g.value);return}switch(t.key){case h.Home:case h.PageUp:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.First));case h.End:case h.PageDown:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.Last))}if(k(()=>B(l.orientation.value,{vertical(){return t.key===h.ArrowUp?A(i,I.Previous|I.WrapAround):t.key===h.ArrowDown?A(i,I.Next|I.WrapAround):O.Error},horizontal(){return t.key===h.ArrowLeft?A(i,I.Previous|I.WrapAround):t.key===h.ArrowRight?A(i,I.Next|I.WrapAround):O.Error}}))===O.Success)return t.preventDefault()}let P=T(!1);function a(){var t;P.value||(P.value=!0,!e.disabled&&((t=c(n))==null||t.focus({preventScroll:!0}),l.setSelectedIndex(g.value),te(()=>{P.value=!1})))}function r(t){t.preventDefault()}let o=pe(x(()=>({as:e.as,type:v.type})),n);return()=>{var t,i;let m={selected:s.value,disabled:(t=e.disabled)!=null?t:!1},{...b}=e,w={ref:n,onKeydown:E,onMousedown:r,onClick:a,id:u,role:"tab",type:o.value,"aria-controls":(i=c(l.panels.value[g.value]))==null?void 0:i.id,"aria-selected":s.value,tabIndex:s.value?0:-1,disabled:e.disabled?!0:void 0};return V({ourProps:w,theirProps:b,slot:m,attrs:v,slots:d,name:"Tab"})}}});const ke=$({__name:"HTabList",props:z({options:{}},{modelValue:{},modelModifiers:{}}),emits:z(["change"],["update:modelValue"]),setup(e,{emit:v}){const d=e,p=v,f=le(e,"modelValue"),u=x({get(){return d.options.findIndex(n=>n.value===f.value)},set(n){f.value=d.options[n].value}});R(f,n=>{n&&p("change",n)});function l(n){f.value=d.options[n].value}return(n,y)=>{const S=ve;return C(),L(_(xe),{"selected-index":_(u),onChange:l},{default:N(()=>[ne(_(ge),{class:"inline-flex select-none items-center justify-center rounded-md bg-stone-1 p-1 ring-1 ring-stone-2 dark-bg-stone-9 dark-ring-stone-8"},{default:N(()=>[(C(!0),re(U,null,ue(n.options,(g,s)=>(C(),L(_(he),{key:s,as:"template"},{default:N(({selected:k})=>[se("button",{class:oe(["w-full inline-flex items-center justify-center gap-1 break-keep border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark ring-stone-2 ring-inset dark-text-white focus-outline-none focus-ring-2 dark-ring-stone-8",{"cursor-default bg-white dark-bg-dark-9":k,"cursor-pointer opacity-50 hover-opacity-100":!k}])},[g.icon?(C(),L(S,{key:0,name:g.icon,class:"flex-shrink-0"},null,8,["name"])):ie("",!0),de(" "+ce(g.label),1)],2)]),_:2},1024))),128))]),_:1})]),_:1},8,["selected-index"])}}});export{ke as _}; diff --git a/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js.br b/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js.br new file mode 100644 index 0000000..327d3bf Binary files /dev/null and b/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js.br differ diff --git a/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js.gz b/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js.gz new file mode 100644 index 0000000..7815668 Binary files /dev/null and b/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js.gz differ diff --git a/public/admin/assets/HToggle-Coys5ucw.js b/public/admin/assets/HToggle-Coys5ucw.js new file mode 100644 index 0000000..c823ab4 --- /dev/null +++ b/public/admin/assets/HToggle-Coys5ucw.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js";import"./index-B-LUCRde.js";import"./use-resolve-button-type-BVUBWyWZ.js";export{o as default}; diff --git a/public/admin/assets/HToggle-Coys5ucw.js.br b/public/admin/assets/HToggle-Coys5ucw.js.br new file mode 100644 index 0000000..07753dd Binary files /dev/null and b/public/admin/assets/HToggle-Coys5ucw.js.br differ diff --git a/public/admin/assets/HToggle-Coys5ucw.js.gz b/public/admin/assets/HToggle-Coys5ucw.js.gz new file mode 100644 index 0000000..85584ec Binary files /dev/null and b/public/admin/assets/HToggle-Coys5ucw.js.gz differ diff --git a/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js b/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js new file mode 100644 index 0000000..f0fb480 --- /dev/null +++ b/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{r as V,p as i,d as x,cs as D,$ as M,co as P,a as U,Z as A,a4 as y,cm as K,cB as L,cl as O,cp as q,cq as z,F,ct as h,av as H,aw as R,g,z as k,w as G,e as w,A as Q,Q as I,i as Z,j as J}from"./index-B-LUCRde.js";import{s as W}from"./use-resolve-button-type-BVUBWyWZ.js";function X(a,l,t){let o=V(t==null?void 0:t.value),n=i(()=>a.value!==void 0);return[i(()=>n.value?a.value:o.value),function(s){return n.value||(o.value=s),l==null?void 0:l(s)}]}function Y(a){var l,t;let o=(l=a==null?void 0:a.form)!=null?l:a.closest("form");if(o){for(let n of o.elements)if(n!==a&&(n.tagName==="INPUT"&&n.type==="submit"||n.tagName==="BUTTON"&&n.type==="submit"||n.nodeName==="INPUT"&&n.type==="image")){n.click();return}(t=o.requestSubmit)==null||t.call(o)}}let ee=Symbol("GroupContext"),ae=x({name:"Switch",emits:{"update:modelValue":a=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(a,{emit:l,attrs:t,slots:o,expose:n}){var s;let C=(s=a.id)!=null?s:`headlessui-switch-${D()}`,r=M(ee,null),[d,m]=X(i(()=>a.modelValue),e=>l("update:modelValue",e),i(()=>a.defaultChecked));function p(){m(!d.value)}let $=V(null),c=r===null?$:r.switchRef,B=W(i(()=>({as:a.as,type:t.type})),c);n({el:c,$el:c});function S(e){e.preventDefault(),p()}function N(e){e.key===h.Space?(e.preventDefault(),p()):e.key===h.Enter&&Y(e.currentTarget)}function T(e){e.preventDefault()}let f=i(()=>{var e,u;return(u=(e=P(c))==null?void 0:e.closest)==null?void 0:u.call(e,"form")});return U(()=>{A([f],()=>{if(!f.value||a.defaultChecked===void 0)return;function e(){m(a.defaultChecked)}return f.value.addEventListener("reset",e),()=>{var u;(u=f.value)==null||u.removeEventListener("reset",e)}},{immediate:!0})}),()=>{let{name:e,value:u,form:_,tabIndex:v,...b}=a,E={checked:d.value},j={id:C,ref:c,role:"switch",type:B.value,tabIndex:v===-1?0:v,"aria-checked":d.value,"aria-labelledby":r==null?void 0:r.labelledby.value,"aria-describedby":r==null?void 0:r.describedby.value,onClick:S,onKeyup:N,onKeypress:T};return y(F,[e!=null&&d.value!=null?y(K,L({features:O.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d.value,form:_,disabled:b.disabled,name:e,value:u})):null,q({ourProps:j,theirProps:{...t,...z(b,["modelValue","defaultChecked"])},slot:E,attrs:t,slots:o,name:"Switch"})])}}});const le={class:"absolute inset-0 h-full w-full flex items-center justify-center"},oe=x({__name:"HToggle",props:H({disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const l=R(a,"modelValue");return(t,o)=>{const n=J;return g(),k(Z(ae),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),disabled:t.disabled,class:I(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled-cursor-not-allowed disabled-opacity-50 focus-outline-none focus-visible-ring-2 focus-visible-ring-offset-2 focus-visible-ring-offset-white dark-focus-visible-ring-offset-gray-900",[l.value?"bg-ui-primary":"bg-stone-3 dark-bg-stone-7"]])},{default:G(()=>[w("span",{class:I(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark-bg-dark",[l.value?"translate-x-5":"translate-x-0"]])},[w("span",le,[l.value&&t.onIcon||!l.value&&t.offIcon?(g(),k(n,{key:0,name:l.value?t.onIcon:t.offIcon,class:"h-3 w-3 text-stone-7 dark-text-stone-3"},null,8,["name"])):Q("",!0)])],2)]),_:1},8,["modelValue","disabled","class"])}}});export{oe as _}; diff --git a/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js.br b/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js.br new file mode 100644 index 0000000..9465ec4 Binary files /dev/null and b/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js.br differ diff --git a/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js.gz b/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js.gz new file mode 100644 index 0000000..21d279d Binary files /dev/null and b/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js.gz differ diff --git a/public/admin/assets/HTooltip-ChniI1oo.js b/public/admin/assets/HTooltip-ChniI1oo.js new file mode 100644 index 0000000..72d3846 --- /dev/null +++ b/public/admin/assets/HTooltip-ChniI1oo.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js";import"./index-B-LUCRde.js";export{m as default}; diff --git a/public/admin/assets/HTooltip-ChniI1oo.js.br b/public/admin/assets/HTooltip-ChniI1oo.js.br new file mode 100644 index 0000000..39a0e0c Binary files /dev/null and b/public/admin/assets/HTooltip-ChniI1oo.js.br differ diff --git a/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js b/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js new file mode 100644 index 0000000..19ce6cd --- /dev/null +++ b/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as r,n as p,g as o,z as n,w as s,P as t,X as l,c as i,h as d,t as c}from"./index-B-LUCRde.js";const m={key:1},g=r({__name:"HTooltip",props:{text:{default:""},enable:{type:Boolean,default:!0}},setup(u){return(e,f)=>{const a=p("VTooltip");return e.enable?(o(),n(a,l({key:0,"popper-triggers":["hover"]},e.$attrs),{popper:s(()=>[t(e.$slots,"text",{},()=>[d(c(e.text),1)])]),default:s(()=>[t(e.$slots,"default")]),_:3},16)):(o(),i("div",m,[t(e.$slots,"default")]))}}});export{g as _}; diff --git a/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js.br b/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js.br new file mode 100644 index 0000000..d3b1945 --- /dev/null +++ b/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js.br @@ -0,0 +1,2 @@ +%4Qf뢤<%ҕxvѣa2?3)mb#-:(w("data-v-599b59df"),t=t(),y(),t),C={class:"notfound"},S={class:"content"},V=c(()=>o("h1",null,"404",-1)),R=c(()=>o("div",{class:"desc"}," 抱歉,你访问的页面不存在 ",-1)),_=u({__name:"[...all]",setup(t){const l=b(),e=i({inter:NaN,countdown:5});p(()=>{e.value.inter&&clearInterval(e.value.inter)}),f(()=>{e.value.inter=setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&clearInterval(e.value.inter),n())},1e3)});function n(){l.push("/")}return(j,q)=>{const r=x,d=I("el-button");return v(),m("div",C,[a(r,{name:"404",class:"icon"}),o("div",S,[V,R,a(d,{type:"primary",onClick:n},{default:h(()=>[k(B(N(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])}}});typeof s=="function"&&s(_);const E=g(_,[["__scopeId","data-v-599b59df"]]);export{E as default}; diff --git a/public/admin/assets/_...all_-512b21c9.css b/public/admin/assets/_...all_-512b21c9.css deleted file mode 100644 index d812bc5..0000000 --- a/public/admin/assets/_...all_-512b21c9.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.notfound[data-v-599b59df]{display:flex;align-items:center;justify-content:space-between;width:700px;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.notfound .icon[data-v-599b59df]{width:400px;height:400px}.notfound .content h1[data-v-599b59df]{margin:0;font-size:72px;color:var(--el-text-color-primary)}.notfound .content .desc[data-v-599b59df]{margin:20px 0 30px;font-size:20px;color:var(--el-text-color-secondary)} diff --git a/public/admin/assets/_...all_-D3UmvVPx.js b/public/admin/assets/_...all_-D3UmvVPx.js new file mode 100644 index 0000000..2d42266 --- /dev/null +++ b/public/admin/assets/_...all_-D3UmvVPx.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as i,u,r as _,o as f,a as d,c as x,b as o,e as t,w as p,f as m,_ as v,g as w,h as g,t as h,i as k,j as B,k as s}from"./index-B-LUCRde.js";const N={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},b={class:"flex flex-col gap-4"},S=t("h1",{class:"m-0 text-6xl font-sans"}," 404 ",-1),y=t("div",{class:"mx-0 text-xl text-stone-5"}," 抱歉,你访问的页面不存在 ",-1),I=i({__name:"[...all]",setup(C){const a=m(),l=u(),e=_({inter:Number.NaN,countdown:5});f(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),d(()=>{e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){a.push(l.settings.home.fullPath)}return(V,j)=>{const c=B,r=v;return w(),x("div",N,[o(c,{name:"404",class:"text-[300px] lg-text-[400px]"}),t("div",b,[S,y,t("div",null,[o(r,{onClick:n},{default:p(()=>[g(h(k(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});typeof s=="function"&&s(I);export{I as default}; diff --git a/public/admin/assets/_...all_-D3UmvVPx.js.br b/public/admin/assets/_...all_-D3UmvVPx.js.br new file mode 100644 index 0000000..dbf1f87 Binary files /dev/null and b/public/admin/assets/_...all_-D3UmvVPx.js.br differ diff --git a/public/admin/assets/_...all_-D3UmvVPx.js.gz b/public/admin/assets/_...all_-D3UmvVPx.js.gz new file mode 100644 index 0000000..c9d7459 Binary files /dev/null and b/public/admin/assets/_...all_-D3UmvVPx.js.gz differ diff --git a/public/admin/assets/accountLog-CgwMsGh5.js b/public/admin/assets/accountLog-CgwMsGh5.js new file mode 100644 index 0000000..d07ecd4 --- /dev/null +++ b/public/admin/assets/accountLog-CgwMsGh5.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{I as M,d as G,r as _,m as P,a as O,n as r,q as K,g as u,c as h,b as a,w as t,F as R,s as V,i as m,h as d,y as J,z as C,t as b,e as Q,K as W,k as q}from"./index-B-LUCRde.js";import{o as X,p as Z,U as ee,m as ae}from"./index-J5zVJPyL.js";import{u as te}from"./utcformatTime-Bq4gDWNx.js";const le={upgradeBalance:g=>M.post("balance/upgradeBalance",g),queryUserAccountLog:g=>M.get("balance/accountLog",{params:g})},oe=Q("div",{class:"flex items-center gap-4"},"账户明细",-1),re=G({__name:"accountLog",setup(g){const T=_(),A=_(0),f=_(!1),n=P({userId:"",rechargeType:"",packageId:"",page:1,size:15});P({model3Count:[{required:!0,message:"请填写赠送基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写赠送高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写赠送绘画积分额度",trigger:"blur"}]});const U=_(),k=_([]);async function i(){try{f.value=!0;const s=await le.queryUserAccountLog(n),{rows:l,count:w}=s.data;f.value=!1,A.value=w,k.value=l}catch{f.value=!1}}async function D(s){const l=await W.queryAllUser({size:30,keyword:s});U.value=l.data.rows}function B(s){s==null||s.resetFields(),i()}return O(()=>i()),(s,l)=>{const w=H,x=r("el-option"),z=r("el-select"),y=r("el-form-item"),I=r("el-button"),L=r("el-form"),S=F,Y=r("el-avatar"),o=r("el-table-column"),v=r("el-tag"),E=r("el-table"),j=r("el-pagination"),N=r("el-row"),$=K("loading");return u(),h("div",null,[a(w,null,{title:t(()=>[oe]),_:1}),a(S,null,{default:t(()=>[a(L,{ref_key:"formRef",ref:T,inline:!0,model:n},{default:t(()=>[a(y,{label:"用户名称",prop:"userId"},{default:t(()=>[a(z,{modelValue:n.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"昵称|手机号|邮箱[模糊搜索]","remote-show-suffix":"","remote-method":D,style:{width:"200px"}},{default:t(()=>[(u(!0),h(R,null,V(U.value,e=>(u(),C(x,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(y,{label:"充值类型",prop:"rechargeType"},{default:t(()=>[a(z,{modelValue:n.rechargeType,"onUpdate:modelValue":l[1]||(l[1]=e=>n.rechargeType=e),placeholder:"请选择充值类型",clearable:"",style:{width:"160px"}},{default:t(()=>[(u(!0),h(R,null,V(m(X),e=>(u(),C(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(y,null,{default:t(()=>[a(I,{type:"primary",onClick:i},{default:t(()=>[d(" 查询 ")]),_:1}),a(I,{onClick:l[2]||(l[2]=e=>B(T.value))},{default:t(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(S,{style:{width:"100%"}},{default:t(()=>[J((u(),C(E,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:t(()=>[a(o,{prop:"avatar",label:"用户头像",width:"120",fixed:""},{default:t(e=>[a(Y,{src:e.row.avatar},null,8,["src"])]),_:1}),a(o,{prop:"username",label:"用户名称",width:"150",fixed:""}),a(o,{prop:"userId",label:"用户ID",width:"80"}),a(o,{prop:"uid",label:"订单ID",width:"130"}),a(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),a(o,{prop:"balanceInfo.useModel4Count",label:"充值类型",width:"160",align:"center"},{default:t(e=>[a(v,{type:"success"},{default:t(()=>{var c,p;return[d(b((c=e.row)!=null&&c.rechargeType?m(Z)[(p=e.row)==null?void 0:p.rechargeType]:"---"),1)]}),_:2},1024)]),_:1}),a(o,{prop:"model3Count",label:"基础模型额度",width:"120",align:"center"}),a(o,{prop:"model4Count",label:"高级模型额度",width:"120",align:"center"}),a(o,{prop:"drawMjCount",label:"绘画余额额度",width:"120",align:"center"}),a(o,{label:"额度有效期",width:"170",align:"center"},{default:t(e=>[a(v,{type:"success"},{default:t(()=>{var c,p;return[d(b(((c=e.row)==null?void 0:c.days)<=0?"永久时效":`${(p=e.row)==null?void 0:p.days}天`),1)]}),_:2},1024)]),_:1}),a(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[a(v,{type:m(ee)[e.status]},{default:t(()=>[d(b(m(ae)[e.status]),1)]),_:2},1032,["type"])]),_:1}),a(o,{prop:"createdAt",label:"充值时间",width:"200",align:"center"},{default:t(e=>[d(b(m(te)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[$,f.value]]),a(N,{class:"mt-5 flex justify-end"},{default:t(()=>[a(j,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=e=>n.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:A.value,onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof q=="function"&&q(re);export{re as default}; diff --git a/public/admin/assets/accountLog-CgwMsGh5.js.br b/public/admin/assets/accountLog-CgwMsGh5.js.br new file mode 100644 index 0000000..309e355 Binary files /dev/null and b/public/admin/assets/accountLog-CgwMsGh5.js.br differ diff --git a/public/admin/assets/accountLog-CgwMsGh5.js.gz b/public/admin/assets/accountLog-CgwMsGh5.js.gz new file mode 100644 index 0000000..68a86d8 Binary files /dev/null and b/public/admin/assets/accountLog-CgwMsGh5.js.gz differ diff --git a/public/admin/assets/accountLog-db22b156.js b/public/admin/assets/accountLog-db22b156.js deleted file mode 100644 index 30b6434..0000000 --- a/public/admin/assets/accountLog-db22b156.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as F}from"./index-fd8a5577.js";import{Y as x,d as G,r as _,Q as R,x as H,h as r,R as O,o as u,c as h,e as a,f as t,S as M,U as P,b as m,l as d,w as $,I as C,t as w,P as Q,q}from"./index-e656eb90.js";import{r as J,s as K,U as W,p as X}from"./index-d5406c70.js";import{u as Z}from"./utcformatTime-e76e5157.js";const ee={upgradeBalance:g=>x.post("balance/upgradeBalance",g),queryUserAccountLog:g=>x.get("balance/accountLog",{params:g})},ae=G({__name:"accountLog",setup(g){const T=_(),A=_(0),f=_(!1),n=R({userId:"",rechargeType:"",packageId:"",page:1,size:15});R({model3Count:[{required:!0,message:"请填写赠送基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写赠送高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写赠送绘画积分额度",trigger:"blur"}]});const U=_([]),S=_([]);async function i(){try{f.value=!0;const s=await ee.queryUserAccountLog(n),{rows:l,count:b}=s.data;f.value=!1,A.value=b,S.value=l}catch{f.value=!1}}async function D(s){const l=await Q.queryAllUser({size:30,keyword:s});U.value=l.data.rows}function V(s){s==null||s.resetFields(),i()}return H(()=>i()),(s,l)=>{const b=r("el-option"),k=r("el-select"),y=r("el-form-item"),z=r("el-button"),Y=r("el-form"),I=F,L=r("el-avatar"),o=r("el-table-column"),v=r("el-tag"),B=r("el-table"),E=r("el-pagination"),j=r("el-row"),N=O("loading");return u(),h("div",null,[a(I,null,{default:t(()=>[a(Y,{ref_key:"formRef",ref:T,inline:!0,model:n},{default:t(()=>[a(y,{label:"用户名称",prop:"userId"},{default:t(()=>[a(k,{modelValue:n.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"昵称|手机号|邮箱[模糊搜索]","remote-show-suffix":"","remote-method":D},{default:t(()=>[(u(!0),h(M,null,P(U.value,e=>(u(),C(b,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(y,{label:"充值类型",prop:"rechargeType"},{default:t(()=>[a(k,{modelValue:n.rechargeType,"onUpdate:modelValue":l[1]||(l[1]=e=>n.rechargeType=e),placeholder:"请选择充值类型",clearable:""},{default:t(()=>[(u(!0),h(M,null,P(m(J),e=>(u(),C(b,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(y,null,{default:t(()=>[a(z,{type:"primary",onClick:i},{default:t(()=>[d(" 查询 ")]),_:1}),a(z,{onClick:l[2]||(l[2]=e=>V(T.value))},{default:t(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(I,{style:{width:"100%"}},{default:t(()=>[$((u(),C(B,{border:"",data:S.value,style:{width:"100%"},size:"large"},{default:t(()=>[a(o,{prop:"avatar",label:"用户头像",width:"120",fixed:""},{default:t(e=>[a(L,{src:e.row.avatar},null,8,["src"])]),_:1}),a(o,{prop:"username",label:"用户名称",width:"150",fixed:""}),a(o,{prop:"id",label:"用户ID",width:"80"}),a(o,{prop:"uid",label:"订单ID",width:"130"}),a(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),a(o,{prop:"balanceInfo.useModel4Count",label:"充值类型",width:"160",align:"center"},{default:t(e=>[a(v,{type:"success"},{default:t(()=>{var c,p;return[d(w((c=e.row)!=null&&c.rechargeType?m(K)[(p=e.row)==null?void 0:p.rechargeType]:"---"),1)]}),_:2},1024)]),_:1}),a(o,{prop:"model3Count",label:"基础模型额度",width:"120",align:"center"}),a(o,{prop:"model4Count",label:"高级模型额度",width:"120",align:"center"}),a(o,{prop:"drawMjCount",label:"绘画余额额度",width:"120",align:"center"}),a(o,{label:"额度有效期",width:"170",align:"center"},{default:t(e=>[a(v,{type:"success"},{default:t(()=>{var c,p;return[d(w(((c=e.row)==null?void 0:c.days)<=0?"永久时效":`${(p=e.row)==null?void 0:p.days}天`),1)]}),_:2},1024)]),_:1}),a(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[a(v,{type:m(W)[e.status]},{default:t(()=>[d(w(m(X)[e.status]),1)]),_:2},1032,["type"])]),_:1}),a(o,{prop:"createdAt",label:"充值时间",width:"200",align:"center"},{default:t(e=>[d(w(m(Z)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[N,f.value]]),a(j,{class:"flex justify-end mt-5"},{default:t(()=>[a(E,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=e=>n.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:A.value,onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof q=="function"&&q(ae);export{ae as default}; diff --git a/public/admin/assets/ali-9edf8f09.js b/public/admin/assets/ali-9edf8f09.js deleted file mode 100644 index 6ec32af..0000000 --- a/public/admin/assets/ali-9edf8f09.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as A}from"./index-fd8a5577.js";import{a as O}from"./config-e611a8d0.js";import{d as v,Q as B,r as C,B as I,x as R,h as o,o as U,c as q,e,f as l,a as b,l as N,b as m,E as g,q as y}from"./index-e656eb90.js";const j={class:"flex justify-between"},E=b("b",null,"阿里云OSS参数设置",-1),M=v({__name:"ali",setup(Q){const a=B({aliOssStatus:"",aliOssAccessKeyId:"",aliOssAccessKeySecret:"",aliOssRegion:"",aliOssBucket:""}),p=C();async function _(){const n=await O.queryConfig({keys:["aliOssAccessKeySecret","aliOssRegion","aliOssBucket","aliOssAccessKeyId","aliOssStatus"]});Object.assign(a,n.data)}function x(){var n;(n=p.value)==null||n.validate(async s=>{if(s){try{await O.setConfig({settings:V(a)}),g.success("变更配置信息成功")}catch{}_()}else g.error("请填写完整信息")})}function V(n){return Object.keys(n).map(s=>({configKey:s,configVal:n[s]}))}const i=I(()=>[{required:Number(a.aliOssStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return R(()=>{_()}),(n,s)=>{const f=o("el-alert"),S=A,w=o("el-button"),K=o("el-switch"),c=o("el-form-item"),u=o("el-col"),r=o("el-row"),d=o("el-input"),h=o("el-form"),k=o("el-card");return U(),q("div",null,[e(S,null,{default:l(()=>[e(f,{closable:!1,"show-icon":"",title:"阿里云COS参数说明",description:"阿里云的对象存储oss服务、前往阿里云申请oss服务 https://oss.console.aliyun.com/ 、如果同时开启多个存储服务、腾讯云高于阿里云优先级!",type:"success"})]),_:1}),e(k,{style:{margin:"20px"}},{header:l(()=>[b("div",j,[E,e(w,{class:"button",text:"",onClick:x},{default:l(()=>[N(" 保存设置 ")]),_:1})])]),default:l(()=>[e(h,{ref_key:"formRef",ref:p,model:a,"label-width":"120px"},{default:l(()=>[e(r,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"服务启用状态",prop:"aliOssStatus"},{default:l(()=>[e(K,{modelValue:a.aliOssStatus,"onUpdate:modelValue":s[0]||(s[0]=t=>a.aliOssStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"accessKeyId",prop:"aliOssAccessKeyId",rules:m(i)},{default:l(()=>[e(d,{modelValue:a.aliOssAccessKeyId,"onUpdate:modelValue":s[1]||(s[1]=t=>a.aliOssAccessKeyId=t),placeholder:"请填写SecretId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"keySecret",prop:"aliOssAccessKeySecret",rules:m(i)},{default:l(()=>[e(d,{modelValue:a.aliOssAccessKeySecret,"onUpdate:modelValue":s[2]||(s[2]=t=>a.aliOssAccessKeySecret=t),placeholder:"请填写SecretKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"aliOssBucket",rules:m(i)},{default:l(()=>[e(d,{modelValue:a.aliOssBucket,"onUpdate:modelValue":s[3]||(s[3]=t=>a.aliOssBucket=t),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"aliOssRegion",rules:m(i)},{default:l(()=>[e(d,{modelValue:a.aliOssRegion,"onUpdate:modelValue":s[4]||(s[4]=t=>a.aliOssRegion=t),placeholder:"请填写所属地域(oss-cn-shanghai)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof y=="function"&&y(M);export{M as default}; diff --git a/public/admin/assets/ali-p6l9B57I.js b/public/admin/assets/ali-p6l9B57I.js new file mode 100644 index 0000000..f014729 --- /dev/null +++ b/public/admin/assets/ali-p6l9B57I.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as B,m as I,r as C,p as R,a as U,n,g as D,c as N,b as e,w as l,h as p,i as m,e as f,E as y,j,_ as q,k as V}from"./index-B-LUCRde.js";import{a as x}from"./config-BBuBLjtx.js";const E=f("div",{class:"flex items-center gap-4"},"阿里云OSS参数设置",-1),$=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往阿里云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://oss.console.aliyun.com",target:"_blank"},"阿里云OSS"),p(" 。如果同时开启多个存储服务,腾讯云优先级高于阿里云。 ")])],-1),H=B({__name:"ali",setup(M){const a=I({aliOssStatus:"",aliOssAccessKeyId:"",aliOssAccessKeySecret:"",aliOssRegion:"",aliOssBucket:"",aliOssAcceleratedDomain:""}),_=C();async function O(){const o=await x.queryConfig({keys:["aliOssAccessKeySecret","aliOssRegion","aliOssBucket","aliOssAccessKeyId","aliOssStatus","aliOssAcceleratedDomain"]});Object.assign(a,o.data)}function S(){var o;(o=_.value)==null||o.validate(async s=>{if(s){try{await x.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}O()}else y.error("请填写完整信息")})}function b(o){return Object.keys(o).map(s=>({configKey:s,configVal:o[s]}))}const d=R(()=>[{required:Number(a.aliOssStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return U(()=>{O()}),(o,s)=>{const g=j,A=q,w=h,k=n("el-switch"),c=n("el-form-item"),r=n("el-col"),u=n("el-row"),i=n("el-input"),v=n("el-form"),K=n("el-card");return D(),N("div",null,[e(w,null,{title:l(()=>[E]),content:l(()=>[$]),default:l(()=>[e(A,{outline:"",onClick:S},{default:l(()=>[e(g,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(K,{style:{margin:"20px"}},{default:l(()=>[e(v,{ref_key:"formRef",ref:_,model:a,"label-width":"120px"},{default:l(()=>[e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"服务启用状态",prop:"aliOssStatus"},{default:l(()=>[e(k,{modelValue:a.aliOssStatus,"onUpdate:modelValue":s[0]||(s[0]=t=>a.aliOssStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"accessKeyId",prop:"aliOssAccessKeyId",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeyId,"onUpdate:modelValue":s[1]||(s[1]=t=>a.aliOssAccessKeyId=t),placeholder:"请填写SecretId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"keySecret",prop:"aliOssAccessKeySecret",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeySecret,"onUpdate:modelValue":s[2]||(s[2]=t=>a.aliOssAccessKeySecret=t),placeholder:"请填写SecretKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"aliOssBucket",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssBucket,"onUpdate:modelValue":s[3]||(s[3]=t=>a.aliOssBucket=t),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"aliOssRegion",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssRegion,"onUpdate:modelValue":s[4]||(s[4]=t=>a.aliOssRegion=t),placeholder:"请填写所属地域(oss-cn-shanghai)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"全球加速域名",prop:"aliOssAcceleratedDomain"},{default:l(()=>[e(i,{modelValue:a.aliOssAcceleratedDomain,"onUpdate:modelValue":s[5]||(s[5]=t=>a.aliOssAcceleratedDomain=t),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof V=="function"&&V(H);export{H as default}; diff --git a/public/admin/assets/ali-p6l9B57I.js.br b/public/admin/assets/ali-p6l9B57I.js.br new file mode 100644 index 0000000..decdcdf Binary files /dev/null and b/public/admin/assets/ali-p6l9B57I.js.br differ diff --git a/public/admin/assets/ali-p6l9B57I.js.gz b/public/admin/assets/ali-p6l9B57I.js.gz new file mode 100644 index 0000000..4ff5f5e Binary files /dev/null and b/public/admin/assets/ali-p6l9B57I.js.gz differ diff --git a/public/admin/assets/apl-f73da2d7.js b/public/admin/assets/apl-B4CMkyY2.js similarity index 95% rename from public/admin/assets/apl-f73da2d7.js rename to public/admin/assets/apl-B4CMkyY2.js index 3a936fc..6426b02 100644 --- a/public/admin/assets/apl-f73da2d7.js +++ b/public/admin/assets/apl-B4CMkyY2.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var l={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},t=/[\.\/⌿⍀¨⍣]/,a=/⍬/,i=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,u=/←/,o=/[⍝#].*$/,s=function(r){var n;return n=!1,function(e){return n=e,e===r?n==="\\":!0}};const f={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(r,n){var e;return r.eatSpace()?null:(e=r.next(),e==='"'||e==="'"?(r.eatWhile(s(e)),r.next(),n.prev=!0,"string"):/[\[{\(]/.test(e)?(n.prev=!1,null):/[\]}\)]/.test(e)?(n.prev=!0,null):a.test(e)?(n.prev=!1,"atom"):/[¯\d]/.test(e)?(n.func?(n.func=!1,n.prev=!1):n.prev=!0,r.eatWhile(/[\w\.]/),"number"):t.test(e)||u.test(e)?"operator":i.test(e)?(n.func=!0,n.prev=!1,l[e]?"variableName.function.standard":"variableName.function"):o.test(e)?(r.skipToEnd(),"comment"):e==="∘"&&r.peek()==="."?(r.next(),"variableName.function"):(r.eatWhile(/[\w\$_]/),n.prev=!0,"keyword"))}};export{f as apl}; diff --git a/public/admin/assets/apl-B4CMkyY2.js.br b/public/admin/assets/apl-B4CMkyY2.js.br new file mode 100644 index 0000000..7810402 Binary files /dev/null and b/public/admin/assets/apl-B4CMkyY2.js.br differ diff --git a/public/admin/assets/apl-B4CMkyY2.js.gz b/public/admin/assets/apl-B4CMkyY2.js.gz new file mode 100644 index 0000000..8611589 Binary files /dev/null and b/public/admin/assets/apl-B4CMkyY2.js.gz differ diff --git a/public/admin/assets/app-DDimW9AH.js b/public/admin/assets/app-DDimW9AH.js new file mode 100644 index 0000000..b16a490 --- /dev/null +++ b/public/admin/assets/app-DDimW9AH.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{I as t}from"./index-B-LUCRde.js";const e={queryCats:p=>t.get("app/queryAppCats",{params:p}),deleteCats:p=>t.post("app/delAppCats",p),createCats:p=>t.post("app/createAppCats",p),updateCats:p=>t.post("app/updateAppCats",p),queryApp:p=>t.get("app/queryApp",{params:p}),querySystemApp:p=>t.get("app/querySystemApp"),deleteApp:p=>t.post("app/delApp",p),createApp:p=>t.post("app/createApp",p),updateApp:p=>t.post("app/updateApp",p),updateSystemApp:p=>t.post("app/updateSystemApp",p),auditPassApp:p=>t.post("app/auditPass",p),auditFailApp:p=>t.post("app/auditFail",p)};export{e as A}; diff --git a/public/admin/assets/app-DDimW9AH.js.br b/public/admin/assets/app-DDimW9AH.js.br new file mode 100644 index 0000000..b56ffdd --- /dev/null +++ b/public/admin/assets/app-DDimW9AH.js.br @@ -0,0 +1 @@ +H`8&D,ר˪="@5%0n~'vs&EWi@ FxC)߻2x;B6IնP|%iRߗ7 Ae5h 8K|L10=ҭ ҄mDr/Wl]Е{b!<7DlpMX CtT{Be֓^w \ No newline at end of file diff --git a/public/admin/assets/app-DDimW9AH.js.gz b/public/admin/assets/app-DDimW9AH.js.gz new file mode 100644 index 0000000..8e503e0 Binary files /dev/null and b/public/admin/assets/app-DDimW9AH.js.gz differ diff --git a/public/admin/assets/application-64b37dc5.js b/public/admin/assets/application-64b37dc5.js deleted file mode 100644 index ecce2ae..0000000 --- a/public/admin/assets/application-64b37dc5.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as ve}from"./index-fd8a5577.js";import{d as ye,r as g,Q as O,B as J,x as we,h as n,R as Ve,o as r,c as h,e as l,f as t,S as q,U as F,b as u,k as Ae,m as ke,l as p,w as Ie,I as i,t as y,a as T,J as v,V as xe,W as I,X as Pe,E as x,q as X}from"./index-e656eb90.js";import{u as De}from"./utcformatTime-e76e5157.js";import{A as he,Q as Te,M as ze}from"./index-d5406c70.js";const Ce={style:{maxWidth:"350px"}},Ue={style:{maxHeight:"50px",cursor:"pointer"}},Me={style:{maxWidth:"350px"}},Ge={style:{maxHeight:"50px",cursor:"pointer"}},qe=T("i",{class:"el-icon-refresh"},null,-1),Fe=["src"],Se={class:"flex justify-end mr-5"},Ne=ye({__name:"application",setup(Le){const K=g(),W=g(0),A=g(!1),U=g(!1),m=O({catId:"",name:"",status:"",role:"",page:1,size:10,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),Z=g("/api/upload/file"),S=g(),P=g(0),z=g(!1),Y=g(0),o=O({catId:"",name:"",preset:"",des:"",coverImg:"",demoData:"",order:100,status:0,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),E=O({catId:[{required:!0,message:"请选择App分类",trigger:"change"}],name:[{required:!0,message:"请填写App名称",trigger:"blur"}],preset:[{required:!1,message:"请填写App预设信息",trigger:"blur"}],des:[{required:!0,message:"请填写App描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写App封面图片地址",trigger:"blur"}],demoData:[{required:!1,message:"请填写App演示数据",trigger:"blur"}],isGPTs:[{required:!0,message:"是否GPTs",trigger:"blur"}],gizmoID:[{required:!1,message:"GPTs 的ID",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择App状态",trigger:"change"}],isFixedModel:[{required:!0,message:"请选择App是否固定模型",trigger:"blur"}],appModel:[{required:!1,message:"请选择App使用的模型",trigger:"change"}]}),Q=g([]),N=g([]),ee=J(()=>P.value?"更新应用":"新增应用"),le=J(()=>P.value?"确认更新":"确认新增");async function _(){try{U.value=!0;const s=await I.queryApp(m),{rows:a,count:w}=s.data;U.value=!1,W.value=w,Q.value=a.sort((k,V)=>V.order-k.order)}catch{U.value=!1}}async function te(){const s=await I.queryCats({size:100}),{rows:a}=s.data;N.value=a}function ae(s){P.value=s.id,z.value=s.role==="user",Y.value=s.status;const{name:a,status:w,des:k,order:V,coverImg:D,catId:d,preset:b,demoData:c,isGPTs:M,gizmoID:C,isFixedModel:G,appModel:L}=s;Pe(()=>{Object.assign(o,{name:a,status:w,des:k,order:V,coverImg:D,catId:d,preset:b,demoData:c,isGPTs:M,gizmoID:C,isFixedModel:G,appModel:L})}),A.value=!0}function oe(s){P.value=0,s==null||s.resetFields()}async function se(s){await I.deleteApp({id:s.id}),x.success("删除分类成功"),_()}function re(s){s==null||s.resetFields(),_()}const ne=(s,a)=>{console.log("response: ",s.data),o.coverImg=s.data},de=s=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(s.type)){if(s.size/1024>300)return x.error("当前限制文件最大不超过 300KB!"),!1}else return x.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};function ue(s){s==null||s.validate(async a=>{if(a){if(P.value){const w={id:P.value,...o};z.value&&Object.assign(w,{status:Y.value}),await I.updateApp(w),x({type:"success",message:"更新应用成功!"})}else await I.createApp(o),x({type:"success",message:"创建新的应用成功!"});A.value=!1,_()}})}async function ie(s){const a=await I.auditPassApp({id:s.id});x({type:"success",message:a.data}),_()}async function pe(s){const a=await I.auditFailApp({id:s.id});x({type:"success",message:a.data}),_()}return we(()=>{_(),te()}),(s,a)=>{const w=n("el-alert"),k=ve,V=n("el-option"),D=n("el-select"),d=n("el-form-item"),b=n("el-input"),c=n("el-button"),M=n("Plus"),C=n("el-icon"),G=n("el-form"),L=n("el-image"),f=n("el-table-column"),$=n("el-tag"),H=n("el-tooltip"),R=n("el-popconfirm"),me=n("el-table"),ce=n("el-pagination"),fe=n("el-row"),B=n("el-switch"),ge=n("el-upload"),_e=n("el-dialog"),be=Ve("loading");return r(),h("div",null,[l(k,null,{default:t(()=>[l(w,{closable:!1,"show-icon":"",title:"应用说明",description:"[由于各模型的使用不同、暂时关闭其他模型的应用使用、仅仅支持使用OpenAi的key使用、请配置了openAi的key之后再进行使用、如果没有配置将不能使用此功能、但用户可以自定义选择模型] ==== 应用一旦创建、可能会被多处使用后续将限制删除、请保持良好习惯、规范命名分类、后续尽量变更而不是删除。用户创建的应用我们不允许删除、但是可以做一定的变更和修改、审核通过的应用也将限制用户更改、一旦通过或者拒绝、将不允许再次对其状态进行变更、请知悉!",type:"success"})]),_:1}),l(k,null,{default:t(()=>[l(G,{ref_key:"formRef",ref:K,inline:!0,model:m},{default:t(()=>[l(d,{label:"App分类",prop:"catId"},{default:t(()=>[l(D,{modelValue:m.catId,"onUpdate:modelValue":a[0]||(a[0]=e=>m.catId=e),placeholder:"请选择App分类",clearable:""},{default:t(()=>[(r(!0),h(q,null,F(u(N),e=>(r(),i(V,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"App名称",prop:"name"},{default:t(()=>[l(b,{modelValue:m.name,"onUpdate:modelValue":a[1]||(a[1]=e=>m.name=e),placeholder:"App名称[模糊搜索]",clearable:"",onKeydown:Ae(ke(_,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(d,{label:"App角色",prop:"status"},{default:t(()=>[l(D,{modelValue:m.role,"onUpdate:modelValue":a[2]||(a[2]=e=>m.role=e),placeholder:"请选择App角色",clearable:""},{default:t(()=>[(r(!0),h(q,null,F(u(he),e=>(r(),i(V,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(c,{type:"primary",onClick:_},{default:t(()=>[p(" 查询 ")]),_:1}),l(c,{onClick:a[3]||(a[3]=e=>re(u(K)))},{default:t(()=>[p(" 重置 ")]),_:1})]),_:1}),l(c,{type:"success",style:{float:"right"},onClick:a[4]||(a[4]=e=>A.value=!0)},{default:t(()=>[p(" 创建应用 "),l(C,{class:"ml-3"},{default:t(()=>[l(M)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(k,{style:{width:"100%"}},{default:t(()=>[Ie((r(),i(me,{border:"",data:u(Q),style:{width:"100%"},size:"large"},{default:t(()=>[l(f,{prop:"coverImg",label:"应用封面",width:"100"},{default:t(e=>[l(L,{style:{height:"50px"},src:e.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),l(f,{prop:"catName",label:"应用分类",width:"100"}),l(f,{prop:"name",label:"应用名称",width:"120"}),l(f,{prop:"status",label:"应用状态",width:"100"},{default:t(e=>[l($,{type:e.row.status===1?"success":"danger"},{default:t(()=>[p(y(u(Te)[e.row.status]),1)]),_:2},1032,["type"])]),_:1}),l(f,{prop:"public",label:"是否共享",width:"100"},{default:t(e=>[l($,{type:e.row.public?"success":""},{default:t(()=>[p(y(e.row.public?"共享":"私有"),1)]),_:2},1032,["type"])]),_:1}),l(f,{prop:"public",label:"应用创建角色",width:"120"},{default:t(e=>[l($,{type:e.row.role==="system"?"success":""},{default:t(()=>[p(y(e.row.role==="system"?"系统":"用户"),1)]),_:2},1032,["type"])]),_:1}),l(f,{prop:"order",label:"排序ID"}),p(" /> "),l(f,{prop:"preset",label:"预设信息",width:"400"},{default:t(e=>[l(H,{class:"box-item",effect:"dark",placement:"top-start"},{content:t(()=>[T("div",Ce,y(e.row.preset),1)]),default:t(()=>[T("div",Ue,y(e.row.preset),1)]),_:2},1024)]),_:1}),l(f,{prop:"des",label:"描述信息",width:"300"},{default:t(e=>[l(H,{class:"box-item",effect:"dark",placement:"top-start"},{content:t(()=>[T("div",Me,y(e.row.des),1)]),default:t(()=>[T("div",Ge,y(e.row.des),1)]),_:2},1024)]),_:1}),l(f,{prop:"createdAt",label:"创建时间",width:"120"},{default:t(e=>[p(y(u(De)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),l(f,{label:"操作",width:"200"},{default:t(e=>[e.row.role==="system"||e.row.public?(r(),i(c,{key:0,link:"",type:"primary",size:"small",onClick:j=>ae(e.row)},{default:t(()=>[p(" 编辑 ")]),_:2},1032,["onClick"])):v("",!0),e.row.role==="system"?(r(),i(R,{key:1,title:"确认删除此应用么?",width:"200","icon-color":"red",onConfirm:j=>se(e.row)},{reference:t(()=>[l(c,{link:"",type:"danger",size:"small"},{default:t(()=>[p(" 删除应用 ")]),_:1})]),_:2},1032,["onConfirm"])):v("",!0),e.row.role==="user"&&e.row.status===3?(r(),i(R,{key:2,title:"确认通过审核此应用么?",width:"200","icon-color":"red",onConfirm:j=>ie(e.row)},{reference:t(()=>[l(c,{link:"",type:"success",size:"small"},{default:t(()=>[p(" 通过审核 ")]),_:1})]),_:2},1032,["onConfirm"])):v("",!0),e.row.role==="user"&&e.row.status===3?(r(),i(R,{key:3,title:"确认拒绝通过此应用共享请求么?",width:"200","icon-color":"red",onConfirm:j=>pe(e.row)},{reference:t(()=>[l(c,{link:"",type:"danger",size:"small"},{default:t(()=>[p(" 拒绝审核 ")]),_:1})]),_:2},1032,["onConfirm"])):v("",!0)]),_:1})]),_:1},8,["data"])),[[be,u(U)]]),l(fe,{class:"flex justify-end mt-5"},{default:t(()=>[l(ce,{"current-page":m.page,"onUpdate:currentPage":a[5]||(a[5]=e=>m.page=e),"page-size":m.size,"onUpdate:pageSize":a[6]||(a[6]=e=>m.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u(W),onSizeChange:_,onCurrentChange:_},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(_e,{modelValue:u(A),"onUpdate:modelValue":a[21]||(a[21]=e=>xe(A)?A.value=e:null),"close-on-click-modal":!1,title:u(ee),width:"570",onClose:a[22]||(a[22]=e=>oe(u(S)))},{footer:t(()=>[T("span",Se,[l(c,{onClick:a[19]||(a[19]=e=>A.value=!1)},{default:t(()=>[p("取消")]),_:1}),l(c,{type:"primary",onClick:a[20]||(a[20]=e=>ue(u(S)))},{default:t(()=>[p(y(u(le)),1)]),_:1})])]),default:t(()=>[l(G,{ref_key:"formPackageRef",ref:S,"label-position":"right","label-width":"100px",model:o,rules:E},{default:t(()=>[l(d,{label:"App分类",prop:"catId"},{default:t(()=>[l(D,{modelValue:o.catId,"onUpdate:modelValue":a[7]||(a[7]=e=>o.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"100%"}},{default:t(()=>[(r(!0),h(q,null,F(u(N),e=>(r(),i(V,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"App名称",prop:"name"},{default:t(()=>[l(b,{modelValue:o.name,"onUpdate:modelValue":a[8]||(a[8]=e=>o.name=e),placeholder:"请填写App名称"},null,8,["modelValue"])]),_:1}),u(z)?v("",!0):(r(),i(d,{key:0,label:"App状态",prop:"status"},{default:t(()=>[l(B,{modelValue:o.status,"onUpdate:modelValue":a[9]||(a[9]=e=>o.status=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),l(d,{label:"App描述",prop:"des"},{default:t(()=>[l(b,{modelValue:o.des,"onUpdate:modelValue":a[10]||(a[10]=e=>o.des=e),type:"textarea",placeholder:"请填写App介绍信息、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),u(z)?v("",!0):(r(),i(d,{key:1,label:"启用GPTs",prop:"isGPTs"},{default:t(()=>[l(B,{modelValue:o.isGPTs,"onUpdate:modelValue":a[11]||(a[11]=e=>o.isGPTs=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),Number(o.isGPTs)===1?(r(),i(d,{key:2,label:"gizmoID",prop:"gizmoID"},{default:t(()=>[l(b,{modelValue:o.gizmoID,"onUpdate:modelValue":a[12]||(a[12]=e=>o.gizmoID=e),placeholder:"请填写 GPTs 使用的 gizmoID"},null,8,["modelValue"])]),_:1})):v("",!0),Number(o.isGPTs)!==1?(r(),i(d,{key:3,label:"App预设",prop:"preset"},{default:t(()=>[l(b,{modelValue:o.preset,"onUpdate:modelValue":a[13]||(a[13]=e=>o.preset=e),type:"textarea",placeholder:"请填写App预设信息、用于给AI预设身份...",rows:4},null,8,["modelValue"])]),_:1})):v("",!0),!u(z)&&Number(o.isGPTs)!==1?(r(),i(d,{key:4,label:"固定模型",prop:"isFixedModel"},{default:t(()=>[l(B,{modelValue:o.isFixedModel,"onUpdate:modelValue":a[14]||(a[14]=e=>o.isFixedModel=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})):v("",!0),Number(o.isFixedModel)===1&&Number(o.isGPTs)!==1?(r(),i(d,{key:5,label:"使用模型",prop:"appModel"},{default:t(()=>[l(D,{modelValue:o.appModel,"onUpdate:modelValue":a[15]||(a[15]=e=>o.appModel=e),filterable:"","allow-create":"",placeholder:"请选择应用使用的模型",clearable:""},{default:t(()=>[(r(!0),h(q,null,F(u(ze),e=>(r(),i(V,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):v("",!0),l(d,{label:"示例内容",prop:"demoData"},{default:t(()=>[l(b,{modelValue:o.demoData,"onUpdate:modelValue":a[16]||(a[16]=e=>o.demoData=e),type:"textarea",placeholder:"请填写App的demo示例数据、每换行一次表示一个新的示例...",rows:4},null,8,["modelValue"])]),_:1}),l(d,{label:"Logo地址",prop:"coverImg"},{default:t(()=>[l(b,{modelValue:o.coverImg,"onUpdate:modelValue":a[17]||(a[17]=e=>o.coverImg=e),placeholder:"请填写应用Logo 或点击 上传按钮/图片预览 上传图片"},null,8,["modelValue"])]),_:1}),l(C,null,{default:t(()=>[qe]),_:1}),l(d,{label:"应用Logo",prop:"coverImg"},{default:t(()=>[l(ge,{class:"avatar-uploader",action:u(Z),"show-file-list":!1,"on-success":ne,"before-upload":de},{default:t(()=>[o.coverImg?(r(),h("img",{key:0,src:o.coverImg,style:{width:"100px"},class:"avatar"},null,8,Fe)):(r(),i(C,{key:1,class:"avatar-uploader-icon ml-3"},{default:t(()=>[l(M)]),_:1}))]),_:1},8,["action"])]),_:1}),l(d,{label:"排序ID",prop:"order"},{default:t(()=>[l(b,{modelValue:o.order,"onUpdate:modelValue":a[18]||(a[18]=e=>o.order=e),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof X=="function"&&X(Ne);export{Ne as default}; diff --git a/public/admin/assets/application-DpE5uIQV.js b/public/admin/assets/application-DpE5uIQV.js new file mode 100644 index 0000000..24447ff --- /dev/null +++ b/public/admin/assets/application-DpE5uIQV.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as ke}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as xe}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as he,r as f,m as B,p as Z,a as De,n as i,q as Ce,g as n,c as z,b as l,w as a,h as c,F as R,s as L,i as r,v as Pe,x as Te,y as ze,z as p,t as k,e as V,A as g,B as Ue,C as Me,D as Fe,G as Ge,E as x,H as E,j as qe,_ as $e,k as ee}from"./index-B-LUCRde.js";import{A as h}from"./app-DDimW9AH.js";import{u as Ne}from"./utcformatTime-Bq4gDWNx.js";import{Q as Se,M as je}from"./index-J5zVJPyL.js";const Be=V("div",{class:"flex items-center gap-4"},"应用配置",-1),Re=V("div",{class:"text-sm/6"},[V("div",null," 应用一旦创建,可能会被多处使用,请保持规范命名分类,后续尽量变更而不是删除。 "),V("div",null," 可自行选择应用是否固定模型。GPTs 需单独在特殊模型中配置 gpts 模型,并自行搜索填写 gizmoID(例如:g-alKfVrz9K)。 ")],-1),Le={style:{maxWidth:"350px"}},Ke={style:{maxHeight:"50px",cursor:"pointer"}},He={style:{maxWidth:"350px"}},Oe={style:{maxHeight:"50px",cursor:"pointer"}},Ye=["src"],We={class:"mr-5 flex justify-end"},Qe=he({__name:"application",setup(Je){const K=f(),H=f(0),I=f(!1),U=f(!1),_=B({catId:"",name:"",status:"",role:"",page:1,size:10,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),O=f(`/api/upload/file?dir=${encodeURIComponent("system/app")}`),G=f(),D=f(0),C=f(!1),Y=f(0),s=B({catId:"",name:"",preset:"",des:"",coverImg:"",demoData:"",order:100,status:0,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),te=B({catId:[{required:!0,message:"请选择App分类",trigger:"change"}],name:[{required:!0,message:"请填写App名称",trigger:"blur"}],preset:[{required:!1,message:"请填写App预设信息",trigger:"blur"}],des:[{required:!0,message:"请填写App描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写App封面图片地址",trigger:"blur"}],demoData:[{required:!1,message:"请填写App演示数据",trigger:"blur"}],isGPTs:[{required:!0,message:"是否GPTs",trigger:"blur"}],gizmoID:[{required:!1,message:"GPTs 的ID",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择App状态",trigger:"change"}],isFixedModel:[{required:!0,message:"请选择App是否固定模型",trigger:"blur"}],appModel:[{required:!1,message:"请选择App使用的模型",trigger:"change"}]}),W=f([]),q=f([]),le=Z(()=>D.value?"更新应用":"新增应用"),ae=Z(()=>D.value?"确认更新":"确认新增");async function v(){try{U.value=!0;const o=await h.queryApp(_),{rows:t,count:d}=o.data;U.value=!1,H.value=d,W.value=t.sort((m,w)=>w.order-m.order)}catch{U.value=!1}}async function oe(){const o=await h.queryCats({size:100}),{rows:t}=o.data;q.value=t}function se(o){D.value=o.id,C.value=o.role==="user",Y.value=o.status;const{name:t,status:d,des:m,order:w,coverImg:P,catId:T,preset:u,demoData:y,isGPTs:b,gizmoID:M,isFixedModel:F,appModel:$}=o;Ge(()=>{Object.assign(s,{name:t,status:d,des:m,order:w,coverImg:P,catId:T,preset:u,demoData:y,isGPTs:b,gizmoID:M,isFixedModel:F,appModel:$})}),I.value=!0}function ne(o){D.value=0,o==null||o.resetFields()}async function re(o){await h.deleteApp({id:o.id}),x.success("删除分类成功"),v()}function de(o){o==null||o.resetFields(),v()}const Q=(o,t)=>{console.log("response: ",o.data),s.coverImg=o.data},ie=o=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(o.type)){if(o.size/1024>300)return x.error("当前限制文件最大不超过 300KB!"),!1}else return x.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};async function ue(){if(s.coverImg){const o=await me(s.coverImg);pe(o,Q)}}function pe(o,t){const d=new FormData;d.append("file",o),E.post(O.value,d,{headers:{"Content-Type":"multipart/form-data"}}).then(m=>{t(m.data)}).catch(m=>{console.error("上传失败",m)})}async function me(o){const t=await E.get(o,{responseType:"blob"});let d="downloaded_file";const m=t.headers["content-disposition"];if(m){const w=/filename="([^"]+)"/.exec(m);w!=null&&w[1]&&(d=w[1])}else d=ce(o);return new File([t.data],d,{type:t.data.type})}function ce(o){const d=new URL(o).pathname;return d.substring(d.lastIndexOf("/")+1)}function fe(o){o==null||o.validate(async t=>{if(t){if(D.value){const d={id:D.value,...s};C.value&&Object.assign(d,{status:Y.value}),await h.updateApp(d),x({type:"success",message:"更新应用成功!"})}else await h.createApp(s),x({type:"success",message:"创建新的应用成功!"});I.value=!1,v()}})}async function ge(o){const t=await h.auditPassApp({id:o.id});x({type:"success",message:t.data}),v()}async function _e(o){const t=await h.auditFailApp({id:o.id});x({type:"success",message:t.data}),v()}return De(()=>{v(),oe()}),(o,t)=>{const d=qe,m=$e,w=xe,P=i("el-option"),T=i("el-select"),u=i("el-form-item"),y=i("el-input"),b=i("el-button"),M=i("el-form"),F=ke,$=i("el-image"),A=i("el-table-column"),ve=i("el-tag"),J=i("el-tooltip"),N=i("el-popconfirm"),ye=i("el-table"),be=i("el-pagination"),we=i("el-row"),S=i("el-switch"),X=i("el-icon"),Ae=i("el-upload"),Ve=i("el-dialog"),Ie=Ce("loading");return n(),z("div",null,[l(w,null,{title:a(()=>[Be]),content:a(()=>[Re]),default:a(()=>[l(m,{outline:"",onClick:t[0]||(t[0]=e=>I.value=!0)},{default:a(()=>[l(d,{name:"ic:baseline-plus"}),c(" 新增应用 ")]),_:1})]),_:1}),l(F,null,{default:a(()=>[l(M,{ref_key:"formRef",ref:K,inline:!0,model:_},{default:a(()=>[l(u,{label:"App分类",prop:"catId"},{default:a(()=>[l(T,{modelValue:_.catId,"onUpdate:modelValue":t[1]||(t[1]=e=>_.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"160px"}},{default:a(()=>[(n(!0),z(R,null,L(r(q),e=>(n(),p(P,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"App名称",prop:"name"},{default:a(()=>[l(y,{modelValue:_.name,"onUpdate:modelValue":t[2]||(t[2]=e=>_.name=e),placeholder:"App名称[模糊搜索]",clearable:"",onKeydown:Pe(Te(v,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(u,null,{default:a(()=>[l(b,{type:"primary",onClick:v},{default:a(()=>[c(" 查询 ")]),_:1}),l(b,{onClick:t[3]||(t[3]=e=>de(r(K)))},{default:a(()=>[c(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(F,{style:{width:"100%"}},{default:a(()=>[ze((n(),p(ye,{border:"",data:r(W),style:{width:"100%"},size:"large"},{default:a(()=>[l(A,{prop:"coverImg",label:"应用封面",width:"100"},{default:a(e=>[l($,{style:{height:"50px"},src:e.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),l(A,{prop:"catName",label:"应用分类",width:"100"}),l(A,{prop:"name",label:"应用名称",width:"120"}),l(A,{prop:"status",label:"应用状态",width:"100"},{default:a(e=>[l(ve,{type:e.row.status===1?"success":"danger"},{default:a(()=>[c(k(r(Se)[e.row.status]),1)]),_:2},1032,["type"])]),_:1}),l(A,{prop:"order",label:"排序ID"}),c(" /> "),l(A,{prop:"preset",label:"预设信息",width:"400"},{default:a(e=>[l(J,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[V("div",Le,k(e.row.preset),1)]),default:a(()=>[V("div",Ke,k(e.row.preset),1)]),_:2},1024)]),_:1}),l(A,{prop:"des",label:"描述信息",width:"300"},{default:a(e=>[l(J,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[V("div",He,k(e.row.des),1)]),default:a(()=>[V("div",Oe,k(e.row.des),1)]),_:2},1024)]),_:1}),l(A,{prop:"createdAt",label:"创建时间",width:"120"},{default:a(e=>[c(k(r(Ne)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),l(A,{label:"操作",width:"200"},{default:a(e=>[e.row.role==="system"||e.row.public?(n(),p(b,{key:0,link:"",type:"primary",size:"small",onClick:j=>se(e.row)},{default:a(()=>[c(" 编辑 ")]),_:2},1032,["onClick"])):g("",!0),e.row.role==="system"?(n(),p(N,{key:1,title:"确认删除此应用么?",width:"200","icon-color":"red",onConfirm:j=>re(e.row)},{reference:a(()=>[l(b,{link:"",type:"danger",size:"small"},{default:a(()=>[c(" 删除应用 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0),e.row.role==="user"&&e.row.status===3?(n(),p(N,{key:2,title:"确认通过审核此应用么?",width:"200","icon-color":"red",onConfirm:j=>ge(e.row)},{reference:a(()=>[l(b,{link:"",type:"success",size:"small"},{default:a(()=>[c(" 通过审核 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0),e.row.role==="user"&&e.row.status===3?(n(),p(N,{key:3,title:"确认拒绝通过此应用共享请求么?",width:"200","icon-color":"red",onConfirm:j=>_e(e.row)},{reference:a(()=>[l(b,{link:"",type:"danger",size:"small"},{default:a(()=>[c(" 拒绝审核 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0)]),_:1})]),_:1},8,["data"])),[[Ie,r(U)]]),l(we,{class:"mt-5 flex justify-end"},{default:a(()=>[l(be,{"current-page":_.page,"onUpdate:currentPage":t[4]||(t[4]=e=>_.page=e),"page-size":_.size,"onUpdate:pageSize":t[5]||(t[5]=e=>_.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:r(H),onSizeChange:v,onCurrentChange:v},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(Ve,{modelValue:r(I),"onUpdate:modelValue":t[20]||(t[20]=e=>Fe(I)?I.value=e:null),"close-on-click-modal":!1,title:r(le),width:"570",onClose:t[21]||(t[21]=e=>ne(r(G)))},{footer:a(()=>[V("span",We,[l(b,{onClick:t[18]||(t[18]=e=>I.value=!1)},{default:a(()=>[c("取消")]),_:1}),l(b,{type:"primary",onClick:t[19]||(t[19]=e=>fe(r(G)))},{default:a(()=>[c(k(r(ae)),1)]),_:1})])]),default:a(()=>[l(M,{ref_key:"formPackageRef",ref:G,"label-position":"right","label-width":"100px",model:s,rules:te},{default:a(()=>[l(u,{label:"App分类",prop:"catId"},{default:a(()=>[l(T,{modelValue:s.catId,"onUpdate:modelValue":t[6]||(t[6]=e=>s.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"100%"}},{default:a(()=>[(n(!0),z(R,null,L(r(q),e=>(n(),p(P,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"App名称",prop:"name"},{default:a(()=>[l(y,{modelValue:s.name,"onUpdate:modelValue":t[7]||(t[7]=e=>s.name=e),placeholder:"请填写App名称"},null,8,["modelValue"])]),_:1}),r(C)?g("",!0):(n(),p(u,{key:0,label:"App状态",prop:"status"},{default:a(()=>[l(S,{modelValue:s.status,"onUpdate:modelValue":t[8]||(t[8]=e=>s.status=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),l(u,{label:"App描述",prop:"des"},{default:a(()=>[l(y,{modelValue:s.des,"onUpdate:modelValue":t[9]||(t[9]=e=>s.des=e),type:"textarea",placeholder:"请填写App介绍信息、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),r(C)?g("",!0):(n(),p(u,{key:1,label:"启用GPTs",prop:"isGPTs"},{default:a(()=>[l(S,{modelValue:s.isGPTs,"onUpdate:modelValue":t[10]||(t[10]=e=>s.isGPTs=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),Number(s.isGPTs)===1?(n(),p(u,{key:2,label:"gizmoID",prop:"gizmoID"},{default:a(()=>[l(y,{modelValue:s.gizmoID,"onUpdate:modelValue":t[11]||(t[11]=e=>s.gizmoID=e),placeholder:"请填写 GPTs 使用的 gizmoID"},null,8,["modelValue"])]),_:1})):g("",!0),Number(s.isGPTs)!==1?(n(),p(u,{key:3,label:"App预设",prop:"preset"},{default:a(()=>[l(y,{modelValue:s.preset,"onUpdate:modelValue":t[12]||(t[12]=e=>s.preset=e),type:"textarea",placeholder:"请填写App预设信息、用于给AI预设身份...",rows:4},null,8,["modelValue"])]),_:1})):g("",!0),!r(C)&&Number(s.isGPTs)!==1?(n(),p(u,{key:4,label:"固定模型",prop:"isFixedModel"},{default:a(()=>[l(S,{modelValue:s.isFixedModel,"onUpdate:modelValue":t[13]||(t[13]=e=>s.isFixedModel=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})):g("",!0),Number(s.isFixedModel)===1&&Number(s.isGPTs)!==1?(n(),p(u,{key:5,label:"使用模型",prop:"appModel"},{default:a(()=>[l(T,{modelValue:s.appModel,"onUpdate:modelValue":t[14]||(t[14]=e=>s.appModel=e),filterable:"","allow-create":"",placeholder:"请选择应用使用的模型",clearable:""},{default:a(()=>[(n(!0),z(R,null,L(r(je),e=>(n(),p(P,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):g("",!0),l(u,{label:"示例内容",prop:"demoData"},{default:a(()=>[l(y,{modelValue:s.demoData,"onUpdate:modelValue":t[15]||(t[15]=e=>s.demoData=e),type:"textarea",placeholder:"请填写App的demo示例数据、每换行一次表示一个新的示例...",rows:4},null,8,["modelValue"])]),_:1}),l(u,{label:"应用图标",prop:"coverImg"},{default:a(()=>[l(y,{modelValue:s.coverImg,"onUpdate:modelValue":t[16]||(t[16]=e=>s.coverImg=e),placeholder:"请填写或上传应用图标",clearable:""},{append:a(()=>[l(Ae,{class:"avatar-uploader",action:r(O),"show-file-list":!1,"on-success":Q,"before-upload":ie,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[s.coverImg?(n(),z("img",{key:0,src:s.coverImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Ye)):(n(),p(X,{key:1,style:{width:"1rem"}},{default:a(()=>[l(r(Ue))]),_:1}))]),_:1},8,["action"]),s.coverImg?(n(),p(X,{key:0,onClick:ue,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[l(r(Me))]),_:1})):g("",!0)]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"排序ID",prop:"order"},{default:a(()=>[l(y,{modelValue:s.order,"onUpdate:modelValue":t[17]||(t[17]=e=>s.order=e),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof ee=="function"&&ee(Qe);export{Qe as default}; diff --git a/public/admin/assets/application-DpE5uIQV.js.br b/public/admin/assets/application-DpE5uIQV.js.br new file mode 100644 index 0000000..8e010fa Binary files /dev/null and b/public/admin/assets/application-DpE5uIQV.js.br differ diff --git a/public/admin/assets/application-DpE5uIQV.js.gz b/public/admin/assets/application-DpE5uIQV.js.gz new file mode 100644 index 0000000..e04e4a3 Binary files /dev/null and b/public/admin/assets/application-DpE5uIQV.js.gz differ diff --git a/public/admin/assets/asciiarmor-e7973ceb.js b/public/admin/assets/asciiarmor-Df11BRmG.js similarity index 89% rename from public/admin/assets/asciiarmor-e7973ceb.js rename to public/admin/assets/asciiarmor-Df11BRmG.js index 1a132f3..6a7cd21 100644 --- a/public/admin/assets/asciiarmor-e7973ceb.js +++ b/public/admin/assets/asciiarmor-Df11BRmG.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function t(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}const i={name:"asciiarmor",token:function(e,r){var n;if(r.state=="top")return e.sol()&&(n=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=n[1],"tag"):t(e);if(r.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var o=t(e);return o&&(r.state="body"),o}else{if(r.state=="header")return e.skipToEnd(),r.state="headers","string";if(r.state=="body")return e.sol()&&(n=e.match(/^-----END (.*)?-----\s*$/))?n[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(r.state=="end")return t(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}};export{i as asciiArmor}; diff --git a/public/admin/assets/asciiarmor-Df11BRmG.js.br b/public/admin/assets/asciiarmor-Df11BRmG.js.br new file mode 100644 index 0000000..6ea992f Binary files /dev/null and b/public/admin/assets/asciiarmor-Df11BRmG.js.br differ diff --git a/public/admin/assets/asciiarmor-Df11BRmG.js.gz b/public/admin/assets/asciiarmor-Df11BRmG.js.gz new file mode 100644 index 0000000..ca7a03c Binary files /dev/null and b/public/admin/assets/asciiarmor-Df11BRmG.js.gz differ diff --git a/public/admin/assets/asn1-f9c290f0.js b/public/admin/assets/asn1-CGOzndHr.js similarity index 97% rename from public/admin/assets/asn1-f9c290f0.js rename to public/admin/assets/asn1-CGOzndHr.js index 925c99f..85adb6c 100644 --- a/public/admin/assets/asn1-f9c290f0.js +++ b/public/admin/assets/asn1-CGOzndHr.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function u(i){for(var s={},c=i.split(" "),T=0;T?$/.test(i)?(n.extenExten=!0,n.extenStart=!1,"strong"):(n.extenStart=!1,e.skipToEnd(),"error");if(n.extenExten)return n.extenExten=!1,n.extenPriority=!0,e.eatWhile(/[^,]/),n.extenInclude&&(e.skipToEnd(),n.extenPriority=!1,n.extenInclude=!1),n.extenSame&&(n.extenPriority=!1,n.extenSame=!1,n.extenApplication=!0),"tag";if(n.extenPriority)return n.extenPriority=!1,n.extenApplication=!0,e.next(),n.extenSame?null:(e.eatWhile(/[^,]/),"number");if(n.extenApplication){if(e.eatWhile(/,/),i=e.current(),i===",")return null;if(e.eatWhile(/\w/),i=e.current().toLowerCase(),n.extenApplication=!1,c.indexOf(i)!==-1)return"def"}else return l(e,n);return null},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}};export{s as asterisk}; diff --git a/public/admin/assets/asterisk-B-8jnY81.js.br b/public/admin/assets/asterisk-B-8jnY81.js.br new file mode 100644 index 0000000..e104e63 Binary files /dev/null and b/public/admin/assets/asterisk-B-8jnY81.js.br differ diff --git a/public/admin/assets/asterisk-B-8jnY81.js.gz b/public/admin/assets/asterisk-B-8jnY81.js.gz new file mode 100644 index 0000000..92d080e Binary files /dev/null and b/public/admin/assets/asterisk-B-8jnY81.js.gz differ diff --git a/public/admin/assets/autpReply-20c31207.js b/public/admin/assets/autpReply-20c31207.js deleted file mode 100644 index 5bb8a55..0000000 --- a/public/admin/assets/autpReply-20c31207.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as oe}from"./index-fd8a5577.js";import{Y as V,d as ae,Q as U,r as _,B as ne,x as se,h as n,R as ue,o as A,c as $,e,f as o,k as re,m as pe,S as ie,U as de,b as s,l as p,w as ce,I as q,t as R,a as me,V as _e,E as k,X as fe,q as M}from"./index-e656eb90.js";import{u as I}from"./utcformatTime-e76e5157.js";import{b as ye,Q as ge}from"./index-d5406c70.js";const C={queryAutoReply:i=>V.get("autoreply/query",{params:i}),delAutoReply:i=>V.post("autoreply/del",i),addAutoReply:i=>V.post("autoreply/add",i),updateAutoReply:i=>V.post("autoreply/update",i)},ve={class:"dialog-footer"},we=ae({__name:"autpReply",setup(i){const u=U({prompt:"",status:void 0,page:1,size:10}),c=_(!1),b=_(!1),g=_(0),S=_(0),z=_(),h=_(),r=U({status:0,prompt:"",answer:""}),N=U({status:[{required:!0,message:"请选择套餐类型",trigger:"change"}],prompt:[{required:!0,message:"请填写预设问题",trigger:"blur"}],answer:[{required:!0,message:"请填写回复答案",trigger:"blur"}]}),T=_([]);async function d(){try{b.value=!0;const a=await C.queryAutoReply(u),{rows:l,count:v}=a.data;b.value=!1,S.value=v,T.value=l}catch{b.value=!1}}async function B(a){await C.delAutoReply({id:a}),k.success("删除自定义问题成功"),await d()}function O(a){a==null||a.resetFields(),d()}function P(a){g.value=a.id;const{status:l,prompt:v,answer:w}=a;c.value=!0,fe(()=>{Object.assign(r,{status:l,prompt:v,answer:w})})}const D=ne(()=>g.value!==0);function Q(a){a==null||a.resetFields(),g.value=0}async function j(a){a==null||a.validate(async l=>{if(!l)return k.warning("请按规则填写所有信息!");g.value===0?(await C.addAutoReply(r),k.success("添加自定义问题成功")):(await C.updateAutoReply({id:g.value,...r}),k.success("更新自定义问题成功")),c.value=!1,d()})}return se(()=>{d()}),(a,l)=>{const v=n("el-alert"),w=oe,x=n("el-input"),f=n("el-form-item"),F=n("el-option"),K=n("el-select"),m=n("el-button"),L=n("Plus"),X=n("el-icon"),Y=n("el-form"),y=n("el-table-column"),G=n("el-tag"),H=n("el-popconfirm"),J=n("el-table"),W=n("el-pagination"),Z=n("el-row"),E=n("el-switch"),ee=n("el-dialog"),te=ue("loading");return A(),$("div",null,[e(w,null,{default:o(()=>[e(v,{closable:!1,"show-icon":"",title:"自定义回复说明",description:"当前可设置自定义回复、且可以多种关键词触发回复相同内容、可以开启精准匹配或模糊匹配用户设置自定义回复程度。",type:"success"})]),_:1}),e(w,null,{default:o(()=>[e(Y,{ref_key:"formRef",ref:z,inline:!0,model:u},{default:o(()=>[e(f,{label:"自定义问题",prop:"prompt"},{default:o(()=>[e(x,{modelValue:u.prompt,"onUpdate:modelValue":l[0]||(l[0]=t=>u.prompt=t),placeholder:"自定义问题[模糊搜索]",onKeydown:re(pe(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(f,{label:"问题启用状态",prop:"status"},{default:o(()=>[e(K,{modelValue:u.status,"onUpdate:modelValue":l[1]||(l[1]=t=>u.status=t),placeholder:"请选择问题启用状态",clearable:""},{default:o(()=>[(A(!0),$(ie,null,de(s(ye),t=>(A(),q(F,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(f,null,{default:o(()=>[e(m,{type:"primary",onClick:d},{default:o(()=>[p(" 查询 ")]),_:1}),e(m,{onClick:l[2]||(l[2]=t=>O(s(z)))},{default:o(()=>[p(" 重置 ")]),_:1})]),_:1}),e(m,{type:"success",style:{float:"right"},onClick:l[3]||(l[3]=t=>c.value=!0)},{default:o(()=>[p(" 添加新的自动回复 "),e(X,{class:"ml-3"},{default:o(()=>[e(L)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(w,{style:{width:"100%"}},{default:o(()=>[ce((A(),q(J,{border:"",data:s(T),style:{width:"100%"},size:"large"},{default:o(()=>[e(y,{prop:"prompt",label:"提问关键词"}),e(y,{prop:"answer",label:"回复答案"}),e(y,{prop:"status",label:"问题状态",width:"120"},{default:o(t=>[e(G,{type:t.row.status===1?"success":"daner"},{default:o(()=>[p(R(s(ge)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(y,{prop:"createdAt",label:"创建时间",width:"200"},{default:o(t=>[p(R(s(I)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(y,{prop:"updatedAt",label:"最后修改时间",width:"200"},{default:o(t=>[p(R(s(I)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(y,{fixed:"right",label:"操作",width:"200"},{default:o(t=>[e(m,{link:"",type:"primary",size:"small",onClick:le=>P(t.row)},{default:o(()=>[p(" 编辑 ")]),_:2},1032,["onClick"]),e(H,{"confirm-button-text":"确认删除","cancel-button-text":"放弃",type:"danger",width:"230px","icon-color":"red",title:"确定删除本条自动回复问题么?",onConfirm:le=>B(t.row.id)},{reference:o(()=>[e(m,{link:"",type:"danger",size:"small"},{default:o(()=>[p(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,s(b)]]),e(Z,{class:"flex justify-end mt-5"},{default:o(()=>[e(W,{"current-page":u.page,"onUpdate:currentPage":l[4]||(l[4]=t=>u.page=t),"page-size":u.size,"onUpdate:pageSize":l[5]||(l[5]=t=>u.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s(S),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:s(c),"onUpdate:modelValue":l[11]||(l[11]=t=>_e(c)?c.value=t:null),title:`${s(D)?"编辑":"添加"}自动回复问题`,width:"480",onClose:l[12]||(l[12]=t=>Q(s(h)))},{footer:o(()=>[me("span",ve,[e(m,{onClick:l[9]||(l[9]=t=>c.value=!1)},{default:o(()=>[p("放弃生成")]),_:1}),e(m,{type:"primary",onClick:l[10]||(l[10]=t=>j(s(h)))},{default:o(()=>[p(R(`${s(D)?"更新":"新增"}回复 `),1)]),_:1})])]),default:o(()=>[e(Y,{ref_key:"formAutoReplyRef",ref:h,"label-position":"right","label-width":"80px",model:r,rules:N},{default:o(()=>[e(f,{label:"开启状态",prop:"status"},{default:o(()=>[e(E,{modelValue:r.status,"onUpdate:modelValue":l[6]||(l[6]=t=>r.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(f,{label:"提问问题",prop:"prompt"},{default:o(()=>[e(x,{modelValue:r.prompt,"onUpdate:modelValue":l[7]||(l[7]=t=>r.prompt=t),type:"textarea",rows:5,placeholder:"请填写预设提问问题"},null,8,["modelValue"])]),_:1}),e(f,{label:"回复问题",prop:"answer"},{default:o(()=>[e(x,{modelValue:r.answer,"onUpdate:modelValue":l[8]||(l[8]=t=>r.answer=t),type:"textarea",rows:5,placeholder:"请填写预设回复答案"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(we);export{we as default}; diff --git a/public/admin/assets/autpReply-DqDoPYBU.js b/public/admin/assets/autpReply-DqDoPYBU.js new file mode 100644 index 0000000..b0727ac --- /dev/null +++ b/public/admin/assets/autpReply-DqDoPYBU.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as ne}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{I as b,d as se,m as S,r as c,p as ue,a as re,n,q as ie,g as A,c as Y,b as e,w as a,h as i,v as pe,x as de,F as me,s as ce,i as s,y as _e,z as I,t as V,e as k,D as fe,E as R,G as ye,j as ge,_ as ve,k as N}from"./index-B-LUCRde.js";import{u as B}from"./utcformatTime-Bq4gDWNx.js";import{d as we,Q as be}from"./index-J5zVJPyL.js";const x={queryAutoReply:p=>b.get("autoreply/query",{params:p}),delAutoReply:p=>b.post("autoreply/del",p),addAutoReply:p=>b.post("autoreply/add",p),updateAutoReply:p=>b.post("autoreply/update",p)},Ae=k("div",{class:"flex items-center gap-4"},"自定义回复说明",-1),Ve=k("div",{class:"text-sm/6"},[k("div",null,"当前可设置自定义回复,且可以多种关键词触发回复相同内容。")],-1),Re={class:"dialog-footer"},xe=se({__name:"autpReply",setup(p){const u=S({prompt:"",status:void 0,page:1,size:10}),m=c(!1),w=c(!1),g=c(0),U=c(0),$=c(),C=c(),r=S({status:0,prompt:"",answer:""}),O=S({status:[{required:!0,message:"请选择套餐类型",trigger:"change"}],prompt:[{required:!0,message:"请填写预设问题",trigger:"blur"}],answer:[{required:!0,message:"请填写回复答案",trigger:"blur"}]}),T=c([]);async function d(){try{w.value=!0;const o=await x.queryAutoReply(u),{rows:l,count:v}=o.data;w.value=!1,U.value=v,T.value=l}catch{w.value=!1}}async function j(o){await x.delAutoReply({id:o}),R.success("删除自定义问题成功"),await d()}function F(o){o==null||o.resetFields(),d()}function P(o){g.value=o.id;const{status:l,prompt:v,answer:h}=o;m.value=!0,ye(()=>{Object.assign(r,{status:l,prompt:v,answer:h})})}const D=ue(()=>g.value!==0);function K(o){o==null||o.resetFields(),g.value=0}async function Q(o){o==null||o.validate(async l=>{if(!l){R.warning("请按规则填写所有信息!");return}g.value===0?(await x.addAutoReply(r),R.success("添加自定义问题成功")):(await x.updateAutoReply({id:g.value,...r}),R.success("更新自定义问题成功")),m.value=!1,d()})}return re(()=>{d()}),(o,l)=>{const v=ge,h=ve,H=ne,z=n("el-input"),_=n("el-form-item"),L=n("el-option"),G=n("el-select"),f=n("el-button"),q=n("el-form"),M=oe,y=n("el-table-column"),J=n("el-tag"),W=n("el-popconfirm"),X=n("el-table"),Z=n("el-pagination"),E=n("el-row"),ee=n("el-switch"),te=n("el-dialog"),le=ie("loading");return A(),Y("div",null,[e(H,null,{title:a(()=>[Ae]),content:a(()=>[Ve]),default:a(()=>[e(h,{outline:"",onClick:l[0]||(l[0]=t=>m.value=!0)},{default:a(()=>[e(v,{name:"i-ri:file-text-line"}),i(" 添加新的自动回复 ")]),_:1})]),_:1}),e(M,null,{default:a(()=>[e(q,{ref_key:"formRef",ref:$,inline:!0,model:u},{default:a(()=>[e(_,{label:"自定义问题",prop:"prompt"},{default:a(()=>[e(z,{modelValue:u.prompt,"onUpdate:modelValue":l[1]||(l[1]=t=>u.prompt=t),placeholder:"自定义问题[模糊搜索]",onKeydown:pe(de(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(_,{label:"问题启用状态",prop:"status"},{default:a(()=>[e(G,{modelValue:u.status,"onUpdate:modelValue":l[2]||(l[2]=t=>u.status=t),placeholder:"请选择问题启用状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(A(!0),Y(me,null,ce(s(we),t=>(A(),I(L,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,null,{default:a(()=>[e(f,{type:"primary",onClick:d},{default:a(()=>[i(" 查询 ")]),_:1}),e(f,{onClick:l[3]||(l[3]=t=>F(s($)))},{default:a(()=>[i(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(M,{style:{width:"100%"}},{default:a(()=>[_e((A(),I(X,{border:"",data:s(T),style:{width:"100%"},size:"large"},{default:a(()=>[e(y,{prop:"prompt",label:"提问关键词"}),e(y,{prop:"answer",label:"回复答案"}),e(y,{prop:"status",label:"问题状态",width:"120"},{default:a(t=>[e(J,{type:t.row.status===1?"success":"danger"},{default:a(()=>[i(V(s(be)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(y,{prop:"createdAt",label:"创建时间",width:"200"},{default:a(t=>[i(V(s(B)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(y,{prop:"updatedAt",label:"最后修改时间",width:"200"},{default:a(t=>[i(V(s(B)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(y,{fixed:"right",label:"操作",width:"200"},{default:a(t=>[e(f,{link:"",type:"primary",size:"small",onClick:ae=>P(t.row)},{default:a(()=>[i(" 编辑 ")]),_:2},1032,["onClick"]),e(W,{"confirm-button-text":"确认删除","cancel-button-text":"放弃",type:"danger",width:"230px","icon-color":"red",title:"确定删除本条自动回复问题么?",onConfirm:ae=>j(t.row.id)},{reference:a(()=>[e(f,{link:"",type:"danger",size:"small"},{default:a(()=>[i(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[le,s(w)]]),e(E,{class:"mt-5 flex justify-end"},{default:a(()=>[e(Z,{"current-page":u.page,"onUpdate:currentPage":l[4]||(l[4]=t=>u.page=t),"page-size":u.size,"onUpdate:pageSize":l[5]||(l[5]=t=>u.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s(U),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(te,{modelValue:s(m),"onUpdate:modelValue":l[11]||(l[11]=t=>fe(m)?m.value=t:null),title:`${s(D)?"编辑":"添加"}自动回复问题`,width:"480",onClose:l[12]||(l[12]=t=>K(s(C)))},{footer:a(()=>[k("span",Re,[e(f,{onClick:l[9]||(l[9]=t=>m.value=!1)},{default:a(()=>[i("放弃生成")]),_:1}),e(f,{type:"primary",onClick:l[10]||(l[10]=t=>Q(s(C)))},{default:a(()=>[i(V(`${s(D)?"更新":"新增"}回复 `),1)]),_:1})])]),default:a(()=>[e(q,{ref_key:"formAutoReplyRef",ref:C,"label-position":"right","label-width":"80px",model:r,rules:O},{default:a(()=>[e(_,{label:"开启状态",prop:"status"},{default:a(()=>[e(ee,{modelValue:r.status,"onUpdate:modelValue":l[6]||(l[6]=t=>r.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(_,{label:"提问问题",prop:"prompt"},{default:a(()=>[e(z,{modelValue:r.prompt,"onUpdate:modelValue":l[7]||(l[7]=t=>r.prompt=t),type:"textarea",rows:5,placeholder:"请填写预设提问问题"},null,8,["modelValue"])]),_:1}),e(_,{label:"回复问题",prop:"answer"},{default:a(()=>[e(z,{modelValue:r.answer,"onUpdate:modelValue":l[8]||(l[8]=t=>r.answer=t),type:"textarea",rows:5,placeholder:"请填写预设回复答案"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof N=="function"&&N(xe);export{xe as default}; diff --git a/public/admin/assets/autpReply-DqDoPYBU.js.br b/public/admin/assets/autpReply-DqDoPYBU.js.br new file mode 100644 index 0000000..c212693 Binary files /dev/null and b/public/admin/assets/autpReply-DqDoPYBU.js.br differ diff --git a/public/admin/assets/autpReply-DqDoPYBU.js.gz b/public/admin/assets/autpReply-DqDoPYBU.js.gz new file mode 100644 index 0000000..c8aa2db Binary files /dev/null and b/public/admin/assets/autpReply-DqDoPYBU.js.gz differ diff --git a/public/admin/assets/badWords-f2dbd210.js b/public/admin/assets/badWords-DEcOld1K.js similarity index 65% rename from public/admin/assets/badWords-f2dbd210.js rename to public/admin/assets/badWords-DEcOld1K.js index b291481..aeedac9 100644 --- a/public/admin/assets/badWords-f2dbd210.js +++ b/public/admin/assets/badWords-DEcOld1K.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - -import{Y as o}from"./index-e656eb90.js";const r={queryBadWords:(d={})=>o.get("badwords/query",{params:d}),queryViolation:(d={})=>o.get("badwords/violation",{params:d}),delBadWords:d=>o.post("badwords/del",d),addBadWords:d=>o.post("badwords/add",d),updateBadWords:d=>o.post("badwords/update",d)};export{r as A}; + +import{I as o}from"./index-B-LUCRde.js";const r={queryBadWords:(d={})=>o.get("badwords/query",{params:d}),queryViolation:(d={})=>o.get("badwords/violation",{params:d}),delBadWords:d=>o.post("badwords/del",d),addBadWords:d=>o.post("badwords/add",d),updateBadWords:d=>o.post("badwords/update",d)};export{r as A}; diff --git a/public/admin/assets/badWords-DEcOld1K.js.br b/public/admin/assets/badWords-DEcOld1K.js.br new file mode 100644 index 0000000..edd5744 --- /dev/null +++ b/public/admin/assets/badWords-DEcOld1K.js.br @@ -0,0 +1,2 @@ +6nI+"z#fɶNIxm{\us-"]Asxz1>~kymmHI%VA`WgF +{if(a){try{await y.setConfig({settings:S(l)}),x.success("变更配置信息成功")}catch{}m()}else x.error("请填写完整信息")})}function S(o){return Object.keys(o).map(a=>({configKey:a,configVal:o[a]}))}return U(()=>{m()}),(o,a)=>{const p=I,v=N,V=C,w=n("el-switch"),A=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),c=n("el-row"),f=n("el-input"),h=n("el-form"),k=n("el-card");return j(),E("div",null,[e(V,null,{title:t(()=>[$]),content:t(()=>[H]),default:t(()=>[e(v,{outline:"",onClick:T},{default:t(()=>[e(p,{name:"i-ri:file-text-line"}),d(" 保存设置 ")]),_:1})]),_:1}),e(k,{style:{margin:"20px"}},{default:t(()=>[e(h,{ref_key:"formRef",ref:_,rules:K.value,model:l,"label-width":"150px"},{default:t(()=>[e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"开启此敏感词设置",prop:"baiduTextStatus"},{default:t(()=>[e(A,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:t(()=>[e(w,{modelValue:l.baiduTextStatus,"onUpdate:modelValue":a[0]||(a[0]=i=>l.baiduTextStatus=i),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核ApiKey",prop:"baiduTextApiKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextApiKey,"onUpdate:modelValue":a[1]||(a[1]=i=>l.baiduTextApiKey=i),placeholder:"请填写百度文本审核ApiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核SecretKey",prop:"baiduTextSecretKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextSecretKey,"onUpdate:modelValue":a[2]||(a[2]=i=>l.baiduTextSecretKey=i),placeholder:"请填写百度文本审核SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(M);export{M as default}; diff --git a/public/admin/assets/baiduSensitive-BR2PdTCb.js.br b/public/admin/assets/baiduSensitive-BR2PdTCb.js.br new file mode 100644 index 0000000..b9066db Binary files /dev/null and b/public/admin/assets/baiduSensitive-BR2PdTCb.js.br differ diff --git a/public/admin/assets/baiduSensitive-BR2PdTCb.js.gz b/public/admin/assets/baiduSensitive-BR2PdTCb.js.gz new file mode 100644 index 0000000..a42f989 Binary files /dev/null and b/public/admin/assets/baiduSensitive-BR2PdTCb.js.gz differ diff --git a/public/admin/assets/baiduSensitive-c5b8992c.js b/public/admin/assets/baiduSensitive-c5b8992c.js deleted file mode 100644 index 3b62699..0000000 --- a/public/admin/assets/baiduSensitive-c5b8992c.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as C}from"./index-fd8a5577.js";import{a as m}from"./config-e611a8d0.js";import{d as k,Q as q,r as f,x as U,h as o,o as j,c as B,e,f as t,a as y,l as E,E as b,q as x}from"./index-e656eb90.js";const N={class:"flex justify-between"},I=y("b",null,"百度文本审核参数设置",-1),M=k({__name:"baiduSensitive",setup(O){const a=q({baiduTextStatus:"",baiduTextApiKey:"",baiduTextSecretKey:""}),g=f({baiduTextStatus:[{required:!0,trigger:"blur",message:"请选择是否启用百度文本审核"}],baiduTextSecretKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核SecretKey"}],baiduTextApiKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核APIKey"}]}),c=f();async function d(){const n=await m.queryConfig({keys:["baiduTextStatus","baiduTextSecretKey","baiduTextApiKey"]});Object.assign(a,n.data)}function K(){var n;(n=c.value)==null||n.validate(async l=>{if(l){try{await m.setConfig({settings:T(a)}),b.success("变更配置信息成功")}catch{}d()}else b.error("请填写完整信息")})}function T(n){return Object.keys(n).map(l=>({configKey:l,configVal:n[l]}))}return U(()=>{d()}),(n,l)=>{const _=o("el-alert"),S=C,v=o("el-button"),V=o("el-switch"),w=o("el-tooltip"),i=o("el-form-item"),r=o("el-col"),s=o("el-row"),p=o("el-input"),h=o("el-form"),A=o("el-card");return j(),B("div",null,[e(S,null,{default:t(()=>[e(_,{closable:!1,"show-icon":"",title:"百度文本审核参数说明",description:"接入原因、当前百度云免费5万条,申请文档地址:https://console.bce.baidu.com/ai/#/ai/antiporn/overview/index 、如果百度云敏感词与自定义敏感词都配置的情况、会先检测百度云后检测自定义的敏感词!",type:"success"})]),_:1}),e(A,{style:{margin:"20px"}},{header:t(()=>[y("div",N,[I,e(v,{class:"button",text:"",onClick:K},{default:t(()=>[E(" 保存设置 ")]),_:1})])]),default:t(()=>[e(h,{ref_key:"formRef",ref:c,rules:g.value,model:a,"label-width":"150px"},{default:t(()=>[e(s,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(i,{label:"开启此敏感词设置",prop:"baiduTextStatus"},{default:t(()=>[e(w,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:t(()=>[e(V,{modelValue:a.baiduTextStatus,"onUpdate:modelValue":l[0]||(l[0]=u=>a.baiduTextStatus=u),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(i,{label:"文本审核ApiKey",prop:"baiduTextApiKey"},{default:t(()=>[e(p,{modelValue:a.baiduTextApiKey,"onUpdate:modelValue":l[1]||(l[1]=u=>a.baiduTextApiKey=u),placeholder:"请填写百度文本审核ApiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(i,{label:"文本审核SecretKey",prop:"baiduTextSecretKey"},{default:t(()=>[e(p,{modelValue:a.baiduTextSecretKey,"onUpdate:modelValue":l[2]||(l[2]=u=>a.baiduTextSecretKey=u),placeholder:"请填写百度文本审核SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof x=="function"&&x(M);export{M as default}; diff --git a/public/admin/assets/base-98684b76.js b/public/admin/assets/base-98684b76.js deleted file mode 100644 index 3bda193..0000000 --- a/public/admin/assets/base-98684b76.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as M}from"./index-fd8a5577.js";import{a as f}from"./config-e611a8d0.js";import{d as T,Q as k,r as g,x as q,h as o,o as A,c as D,e,f as l,a as x,l as U,E as b,q as y}from"./index-e656eb90.js";const h={class:"flex justify-between"},j=x("b",null,"分销系统基础设置",-1),E=T({__name:"base",setup(N){const a=k({salesBaseRatio:10,salesSeniorRatio:30,salesAllowDrawMoney:10,salesBaseTitle:"新秀分销商"}),w=g({salesBaseRatio:[{required:!0,trigger:"blur",message:"请填写默认佣金比例"}],salesSeniorRatio:[{required:!0,trigger:"blur",message:"请填写高级代理默认比例"}],salesBaseTitle:[{required:!0,trigger:"blur",message:"请填写默认用户推介等级名称"}]}),m=g();async function d(){const s=await f.queryConfig({keys:["salesBaseRatio","salesSeniorRatio","salesAllowDrawMoney","salesBaseTitle"]});Object.assign(a,s.data)}function V(){var s;(s=m.value)==null||s.validate(async t=>{if(t){try{await f.setConfig({settings:B(a)}),b.success("变更配置信息成功")}catch{}d()}else b.error("请填写完整信息")})}function B(s){return Object.keys(s).map(t=>({configKey:t,configVal:s[t]}))}return q(()=>{d()}),(s,t)=>{const c=o("el-alert"),R=M,C=o("el-button"),_=o("el-input-number"),r=o("el-form-item"),i=o("el-col"),u=o("el-row"),p=o("el-input"),S=o("el-form"),v=o("el-card");return A(),D("div",null,[e(R,null,{default:l(()=>[e(c,{closable:!1,"show-icon":"",title:"分销系统基础配置",description:"填写默认佣金比例和高级分销佣金比例会对应显示到客户端的分销页面、同时新用户将使用默认分销比例、允许提现额度限制用户最低提现金额、分销名称同样对应分销页面、高级代理可自定义名称!",type:"success"})]),_:1}),e(v,{style:{margin:"20px"}},{header:l(()=>[x("div",h,[j,e(C,{class:"button",text:"",onClick:V},{default:l(()=>[U(" 保存设置 ")]),_:1})])]),default:l(()=>[e(S,{ref_key:"formRef",ref:m,model:a,"label-width":"140px",rules:w.value},{default:l(()=>[e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"默认分销佣金比例",prop:"salesBaseRatio"},{default:l(()=>[e(_,{modelValue:a.salesBaseRatio,"onUpdate:modelValue":t[0]||(t[0]=n=>a.salesBaseRatio=n),max:100,min:0,step:5,"step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"高级分销佣金比例",prop:"salesSeniorRatio"},{default:l(()=>[e(_,{modelValue:a.salesSeniorRatio,"onUpdate:modelValue":t[1]||(t[1]=n=>a.salesSeniorRatio=n),max:100,min:0,step:5,"step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"允许最低提现金额",prop:"salesAllowDrawMoney"},{default:l(()=>[e(p,{modelValue:a.salesAllowDrawMoney,"onUpdate:modelValue":t[2]||(t[2]=n=>a.salesAllowDrawMoney=n),type:"number","step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"默认等级分销名称",prop:"salesBaseTitle"},{default:l(()=>[e(p,{modelValue:a.salesBaseTitle,"onUpdate:modelValue":t[3]||(t[3]=n=>a.salesBaseTitle=n),placeholder:"请填写SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}}});typeof y=="function"&&y(E);export{E as default}; diff --git a/public/admin/assets/base-CTfzaFK4.js b/public/admin/assets/base-CTfzaFK4.js new file mode 100644 index 0000000..d99f92d --- /dev/null +++ b/public/admin/assets/base-CTfzaFK4.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as k,m as M,r as p,a as T,n,g as A,c as q,b as e,w as l,h as D,e as U,E as g,j,_ as E,k as y}from"./index-B-LUCRde.js";import{a as x}from"./config-BBuBLjtx.js";const N=U("div",{class:"flex items-center gap-4"},"分销系统基础设置",-1),$=k({__name:"base",setup(H){const t=M({salesBaseRatio:10,salesSeniorRatio:30,salesAllowDrawMoney:10,salesBaseTitle:"新秀分销商"}),b=p({salesBaseRatio:[{required:!0,trigger:"blur",message:"请填写默认佣金比例"}],salesSeniorRatio:[{required:!0,trigger:"blur",message:"请填写高级代理默认比例"}],salesBaseTitle:[{required:!0,trigger:"blur",message:"请填写默认用户推介等级名称"}]}),m=p();async function d(){const s=await x.queryConfig({keys:["salesBaseRatio","salesSeniorRatio","salesAllowDrawMoney","salesBaseTitle"]});Object.assign(t,s.data)}function w(){var s;(s=m.value)==null||s.validate(async a=>{if(a){try{await x.setConfig({settings:B(t)}),g.success("变更配置信息成功")}catch{}d()}else g.error("请填写完整信息")})}function B(s){return Object.keys(s).map(a=>({configKey:a,configVal:s[a]}))}return T(()=>{d()}),(s,a)=>{const _=j,V=E,R=C,c=n("el-input-number"),r=n("el-form-item"),i=n("el-col"),u=n("el-row"),f=n("el-input"),S=n("el-form"),v=n("el-card");return A(),q("div",null,[e(R,null,{title:l(()=>[N]),default:l(()=>[e(V,{outline:"",onClick:w},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),D(" 保存设置 ")]),_:1})]),_:1}),e(v,{style:{margin:"20px"}},{default:l(()=>[e(S,{ref_key:"formRef",ref:m,model:t,"label-width":"140px",rules:b.value},{default:l(()=>[e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"默认分销佣金比例",prop:"salesBaseRatio"},{default:l(()=>[e(c,{modelValue:t.salesBaseRatio,"onUpdate:modelValue":a[0]||(a[0]=o=>t.salesBaseRatio=o),max:100,min:0,step:5,"step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"高级分销佣金比例",prop:"salesSeniorRatio"},{default:l(()=>[e(c,{modelValue:t.salesSeniorRatio,"onUpdate:modelValue":a[1]||(a[1]=o=>t.salesSeniorRatio=o),max:100,min:0,step:5,"step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"允许最低提现金额",prop:"salesAllowDrawMoney"},{default:l(()=>[e(f,{modelValue:t.salesAllowDrawMoney,"onUpdate:modelValue":a[2]||(a[2]=o=>t.salesAllowDrawMoney=o),type:"number","step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"默认等级分销名称",prop:"salesBaseTitle"},{default:l(()=>[e(f,{modelValue:t.salesBaseTitle,"onUpdate:modelValue":a[3]||(a[3]=o=>t.salesBaseTitle=o),placeholder:"请填写SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}}});typeof y=="function"&&y($);export{$ as default}; diff --git a/public/admin/assets/base-CTfzaFK4.js.br b/public/admin/assets/base-CTfzaFK4.js.br new file mode 100644 index 0000000..d88fa38 Binary files /dev/null and b/public/admin/assets/base-CTfzaFK4.js.br differ diff --git a/public/admin/assets/base-CTfzaFK4.js.gz b/public/admin/assets/base-CTfzaFK4.js.gz new file mode 100644 index 0000000..68d0549 Binary files /dev/null and b/public/admin/assets/base-CTfzaFK4.js.gz differ diff --git a/public/admin/assets/base-D6DWX5jw.js b/public/admin/assets/base-D6DWX5jw.js new file mode 100644 index 0000000..e6de944 --- /dev/null +++ b/public/admin/assets/base-D6DWX5jw.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as I,m as w,r as b,a as A,n as s,g as R,c as U,b as e,w as l,h as m,e as f,E as y,j,_ as B,k}from"./index-B-LUCRde.js";import{a as g}from"./config-BBuBLjtx.js";const E=f("div",{class:"flex items-center gap-4"},"百度统计设置",-1),N=f("div",{class:"text-sm/6"},[f("div",null,"百度统计主要用于展示,实际的统计数据将在网站首页显示。"),f("div",null,[m(" 为获取更精确的数据分析,请参考"),f("a",{href:"https://tongji.baidu.com/api/manual/Chapter2/openapi.html",target:"_blank"},"百度统计接口说明"),m(",申请专属于您网站的 siteId 、key 以及 token 等信息。 ")]),f("div",null," 百度统计提供的是一项免费服务,如果您选择不使用这项服务,只需将相关设置项留空即可。 ")],-1),$=I({__name:"base",setup(q){const o=w({baiduCode:"",baiduSiteId:"",baiduToken:"",baiduApiKey:"",baiduSecretKey:"",baiduRefreshToken:""}),x=b({}),c=b();async function p(){const n=await g.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken","baiduApiKey","baiduSecretKey","baiduRefreshToken"]});Object.assign(o,n.data)}function V(){var n;(n=c.value)==null||n.validate(async a=>{if(a){try{await g.setConfig({settings:K(o)}),y.success("变更配置信息成功")}catch{}p()}else y.error("请填写完整信息")})}function K(n){return Object.keys(n).map(a=>({configKey:a,configVal:n[a]}))}return A(()=>{p()}),(n,a)=>{const _=j,C=B,h=v,d=s("el-input"),u=s("el-form-item"),i=s("el-col"),r=s("el-row"),S=s("el-form"),T=s("el-card");return R(),U("div",null,[e(h,null,{title:l(()=>[E]),content:l(()=>[N]),default:l(()=>[e(C,{outline:"",onClick:V},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(T,{style:{margin:"20px"}},{default:l(()=>[e(S,{ref_key:"formRef",ref:c,rules:x.value,model:o,"label-width":"120px"},{default:l(()=>[e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"siteId",prop:"baiduSiteId"},{default:l(()=>[e(d,{modelValue:o.baiduSiteId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.baiduSiteId=t),placeholder:"请填写百度site_id",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"ApiKey",prop:"baiduApiKey"},{default:l(()=>[e(d,{modelValue:o.baiduApiKey,"onUpdate:modelValue":a[1]||(a[1]=t=>o.baiduApiKey=t),placeholder:"请填写百度apiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SecretKey",prop:"baiduSecretKey"},{default:l(()=>[e(d,{modelValue:o.baiduSecretKey,"onUpdate:modelValue":a[2]||(a[2]=t=>o.baiduSecretKey=t),placeholder:"请填写百度 secretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"AccessToken",prop:"baiduToken"},{default:l(()=>[e(d,{modelValue:o.baiduToken,"onUpdate:modelValue":a[3]||(a[3]=t=>o.baiduToken=t),placeholder:"请填写百度 access_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"RefreshToken",prop:"baiduRefreshToken"},{default:l(()=>[e(d,{modelValue:o.baiduRefreshToken,"onUpdate:modelValue":a[4]||(a[4]=t=>o.baiduRefreshToken=t),placeholder:"请填写百度 refresh_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"统计代码",prop:"baiduCode"},{default:l(()=>[e(d,{modelValue:o.baiduCode,"onUpdate:modelValue":a[5]||(a[5]=t=>o.baiduCode=t),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k($);export{$ as default}; diff --git a/public/admin/assets/base-D6DWX5jw.js.br b/public/admin/assets/base-D6DWX5jw.js.br new file mode 100644 index 0000000..371b47f Binary files /dev/null and b/public/admin/assets/base-D6DWX5jw.js.br differ diff --git a/public/admin/assets/base-D6DWX5jw.js.gz b/public/admin/assets/base-D6DWX5jw.js.gz new file mode 100644 index 0000000..39d6c27 Binary files /dev/null and b/public/admin/assets/base-D6DWX5jw.js.gz differ diff --git a/public/admin/assets/base-c20cb9e9.js b/public/admin/assets/base-c20cb9e9.js deleted file mode 100644 index ec8b405..0000000 --- a/public/admin/assets/base-c20cb9e9.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as I}from"./index-fd8a5577.js";import{a as m}from"./config-e611a8d0.js";import{d as S,Q as T,r as p,x as U,h as n,o as j,c as q,e,f as o,a as x,l as B,E as b,q as g}from"./index-e656eb90.js";const E={class:"flex justify-between"},N=x("b",null,"系统基础设置",-1),M=S({__name:"base",setup(O){const t=T({baiduCode:"",baiduSiteId:"",baiduToken:""}),k=p({}),c=p();async function _(){const a=await m.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken"]});Object.assign(t,a.data)}function y(){var a;(a=c.value)==null||a.validate(async l=>{if(l){try{await m.setConfig({settings:C(t)}),b.success("变更配置信息成功")}catch{}_()}else b.error("请填写完整信息")})}function C(a){return Object.keys(a).map(l=>({configKey:l,configVal:a[l]}))}return U(()=>{_()}),(a,l)=>{const f=n("el-alert"),V=I,w=n("el-button"),s=n("el-input"),u=n("el-form-item"),i=n("el-col"),r=n("el-row"),h=n("el-form"),v=n("el-card");return j(),q("div",null,[e(V,null,{default:o(()=>[e(f,{closable:!1,"show-icon":"",title:"网页统计说明",description:"百度统计的配置默认使用演示(demo)数据,主要用于展示目的。实际的统计数据将在网站首页显示。为获取更精确的数据分析,建议查阅部署文档或访问百度统计官网,申请专属于您网站的key和token。百度统计提供的是一项免费服务。如果您选择不使用这项服务,只需将相关设置项留空即可。",type:"success"})]),_:1}),e(v,{style:{margin:"20px"}},{header:o(()=>[x("div",E,[N,e(w,{class:"button",text:"",onClick:y},{default:o(()=>[B(" 保存设置 ")]),_:1})])]),default:o(()=>[e(h,{ref_key:"formRef",ref:c,rules:k.value,model:t,"label-width":"120px"},{default:o(()=>[e(r,null,{default:o(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(u,{label:"百度统计siteId",prop:"baiduSiteId"},{default:o(()=>[e(s,{modelValue:t.baiduSiteId,"onUpdate:modelValue":l[0]||(l[0]=d=>t.baiduSiteId=d),placeholder:"请填写百度site_id、不会请查看部署文档!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:o(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(u,{label:"百度统计token",prop:"baiduToken"},{default:o(()=>[e(s,{modelValue:t.baiduToken,"onUpdate:modelValue":l[1]||(l[1]=d=>t.baiduToken=d),placeholder:"请填写百度access_token、不会请查看部署文档!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:o(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(u,{label:"百度统计代码",prop:"baiduCode"},{default:o(()=>[e(s,{modelValue:t.baiduCode,"onUpdate:modelValue":l[2]||(l[2]=d=>t.baiduCode=d),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(M);export{M as default}; diff --git a/public/admin/assets/baseConfiguration-64ffb557.js b/public/admin/assets/baseConfiguration-64ffb557.js deleted file mode 100644 index c818193..0000000 --- a/public/admin/assets/baseConfiguration-64ffb557.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as q}from"./index-fd8a5577.js";import{a as A}from"./config-e611a8d0.js";import{d as E,Q as z,r as x,x as K,h as r,o as s,c as m,e,f as l,a as w,l as U,I as h,S as M,U as J,E as y,t as Q,q as N}from"./index-e656eb90.js";const W={class:"flex justify-between"},$=w("b",null,"网站基础配置",-1),X=["src"],Y=["src"],Z=["src"],ee=["src"],le=E({__name:"baseConfiguration",setup(ae){const I=[{label:"聊天对话",path:"/chat"},{label:"专业绘画",path:"/midjourney"},{label:"绘画广场",path:"/market"},{label:"思维导图",path:"/mind"},{label:"应用中心",path:"/chatStore"},{label:"不指定首页",path:""}],a=z({siteName:"",vxNumber:"",robotAvatar:"",userDefautlAvatar:"",filingNumber:"",companyName:"",buyCramiAddress:"",siteUrl:"",isShowAppCatIcon:"",clientFavoIconPath:"",clientLogoPath:"",clientHomePath:"",copyrightTitle:"",copyrightUrl:""}),L=x({siteName:[{required:!0,trigger:"blur",message:"请填写网站名称"}],copyrightUrl:[{trigger:"blur",message:"请填写底部版权文字内容"}],copyrightTitle:[{trigger:"blur",message:"请填写点击底部版本跳转的地址"}]}),v=x(),p=x("/api/upload/file");async function V(){const o=await A.queryConfig({keys:["siteName","vxNumber","robotAvatar","userDefautlAvatar","filingNumber","companyName","isShowAppCatIcon","clientLogoPath","clientFavoIconPath","clientHomePath","copyrightUrl","copyrightTitle","siteUrl"]});Object.assign(a,o.data)}function k(){var o;(o=v.value)==null||o.validate(async t=>{if(t){try{await A.setConfig({settings:S(a)}),y.success("变更配置信息成功")}catch{}V()}else y.error("请填写完整信息")})}const F=(o,t)=>{console.log("response: ",o.data),a.clientLogoPath=o.data},j=(o,t)=>{console.log("response: ",o.data),a.clientFavoIconPath=o.data},C=(o,t)=>{console.log("response: ",o.data),a.robotAvatar=o.data},D=(o,t)=>{console.log("response: ",o.data),a.userDefautlAvatar=o.data},f=o=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(o.type)){if(o.size/1024>300)return y.error("当前限制文件最大不超过 300KB!"),!1}else return y.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};function S(o){return Object.keys(o).map(t=>({configKey:t,configVal:o[t]}))}return K(()=>{V()}),(o,t)=>{const P=r("el-alert"),O=q,G=r("el-button"),d=r("el-input"),i=r("el-form-item"),u=r("el-col"),c=r("el-row"),_=r("Plus"),g=r("el-icon"),b=r("el-upload"),R=r("el-radio"),T=r("el-radio-group"),B=r("el-form"),H=r("el-card");return s(),m("div",null,[e(O,null,{default:l(()=>[e(P,{closable:!1,"show-icon":"",title:"网站基础配置说明",description:"网站基础配置支持即时更新网站的主要视觉与功能元素。配置内容包括网站名称、备案号、版权信息、LOGO与ICO、默认AI头像与用户头像,以及首页设置等。请认真填写各项配置,确保提供给用户的信息准确无误。",type:"success"})]),_:1}),e(H,{style:{margin:"20px"}},{header:l(()=>[w("div",W,[$,e(G,{class:"button",text:"",onClick:k},{default:l(()=>[U(" 保存设置 ")]),_:1})])]),default:l(()=>[e(B,{ref_key:"formRef",ref:v,rules:L.value,model:a,"label-width":"150px"},{default:l(()=>[e(c,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"网站名称",prop:"siteName"},{default:l(()=>[e(d,{modelValue:a.siteName,"onUpdate:modelValue":t[0]||(t[0]=n=>a.siteName=n),placeholder:"网站名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"网站地址",prop:"siteUrl"},{default:l(()=>[e(d,{modelValue:a.siteUrl,"onUpdate:modelValue":t[1]||(t[1]=n=>a.siteUrl=n),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"公司/组织名称",prop:"companyName"},{default:l(()=>[e(d,{modelValue:a.companyName,"onUpdate:modelValue":t[2]||(t[2]=n=>a.companyName=n),placeholder:"填入具体的公司或组织名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"网站备案号",prop:"filingNumber"},{default:l(()=>[e(d,{modelValue:a.filingNumber,"onUpdate:modelValue":t[3]||(t[3]=n=>a.filingNumber=n),placeholder:"填写网站备案信息的备案号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"用户端LOGO",prop:"clientLogoPath"},{default:l(()=>[e(d,{modelValue:a.clientLogoPath,"onUpdate:modelValue":t[4]||(t[4]=n=>a.clientLogoPath=n),placeholder:"请填写或上传网站 LOGO 图片 URL",clearable:""},{append:l(()=>[e(b,{class:"avatar-uploader",action:p.value,"show-file-list":!1,"on-success":F,"before-upload":f,style:{"align-items":"center","justify-content":"center",display:"flex"}},{default:l(()=>[a.clientLogoPath?(s(),m("img",{key:0,src:a.clientLogoPath,style:{margin:"5px 0","max-width":"1.5rem","max-height":"1.5rem","object-fit":"contain"}},null,8,X)):(s(),h(g,{key:1},{default:l(()=>[e(_)]),_:1}))]),_:1},8,["action"])]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"网站 ico",prop:"clientFavoIconPath"},{default:l(()=>[e(d,{modelValue:a.clientFavoIconPath,"onUpdate:modelValue":t[5]||(t[5]=n=>a.clientFavoIconPath=n),placeholder:"请填写或上传网站 ico URL",clearable:""},{append:l(()=>[e(b,{class:"avatar-uploader",action:p.value,"show-file-list":!1,"on-success":j,"before-upload":f,style:{"align-items":"center","justify-content":"center",display:"flex"}},{default:l(()=>[a.clientFavoIconPath?(s(),m("img",{key:0,src:a.clientFavoIconPath,style:{margin:"5px 0","max-width":"1.5rem","max-height":"1.5rem","object-fit":"contain"}},null,8,Y)):(s(),h(g,{key:1},{default:l(()=>[e(_)]),_:1}))]),_:1},8,["action"])]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AI头像",prop:"robotAvatar"},{default:l(()=>[e(d,{modelValue:a.robotAvatar,"onUpdate:modelValue":t[6]||(t[6]=n=>a.robotAvatar=n),placeholder:"请填写或上传网站 AI 头像 URL、为空将根据模型自动显示",clearable:""},{append:l(()=>[e(b,{class:"avatar-uploader",action:p.value,"show-file-list":!1,"on-success":C,"before-upload":f,style:{"align-items":"center","justify-content":"center",display:"flex"}},{default:l(()=>[a.robotAvatar?(s(),m("img",{key:0,src:a.robotAvatar,style:{margin:"5px 0","max-width":"1.5rem","max-height":"1.5rem","object-fit":"contain"}},null,8,Z)):(s(),h(g,{key:1},{default:l(()=>[e(_)]),_:1}))]),_:1},8,["action"])]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"用户默认头像",prop:"userDefautlAvatar"},{default:l(()=>[e(d,{modelValue:a.userDefautlAvatar,"onUpdate:modelValue":t[7]||(t[7]=n=>a.userDefautlAvatar=n),placeholder:"请填写或上传网站新用户默认的头像 URL",clearable:""},{append:l(()=>[e(b,{class:"avatar-uploader",action:p.value,"show-file-list":!1,"on-success":D,"before-upload":f,style:{"align-items":"center","justify-content":"center",display:"flex"}},{default:l(()=>[a.userDefautlAvatar?(s(),m("img",{key:0,src:a.userDefautlAvatar,style:{margin:"5px 0","max-width":"1.5rem","max-height":"1.5rem","object-fit":"contain"}},null,8,ee)):(s(),h(g,{key:1},{default:l(()=>[e(_)]),_:1}))]),_:1},8,["action"])]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:l(()=>[e(i,{label:"设置指定首页",prop:"clientHomePath"},{default:l(()=>[e(T,{modelValue:a.clientHomePath,"onUpdate:modelValue":t[8]||(t[8]=n=>a.clientHomePath=n)},{default:l(()=>[(s(),m(M,null,J(I,n=>e(R,{key:n.path,size:"small",border:"",label:n.path},{default:l(()=>[U(Q(n.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof N=="function"&&N(le);export{le as default}; diff --git a/public/admin/assets/baseConfiguration-BCZRQHpL.js b/public/admin/assets/baseConfiguration-BCZRQHpL.js new file mode 100644 index 0000000..0c39a3f --- /dev/null +++ b/public/admin/assets/baseConfiguration-BCZRQHpL.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as ee,m as ae,r as N,a as te,n as i,g as r,c as h,b as e,w as a,h as H,z as _,i as g,B as P,C as V,A as U,F as le,s as oe,e as F,E as k,j as ne,_ as re,H as O,t as se,k as R}from"./index-B-LUCRde.js";import{a as T}from"./config-BBuBLjtx.js";const ie=F("div",{class:"flex items-center gap-4"},"网站基础配置",-1),ce=F("div",{class:"text-sm/6"},[F("div",null," 网站基础配置支持即时更新网站的主要视觉与功能元素。配置内容包括网站名称、备案号、版权信息、LOGO与ICO、默认AI头像与用户头像,以及首页设置等。 "),F("div",null,"请认真填写各项配置,确保提供给用户的信息准确无误。")],-1),ue=["src"],de=["src"],me=["src"],fe=["src"],pe=ee({__name:"baseConfiguration",setup(_e){const B=[{label:"聊天对话",path:"/chat"},{label:"专业绘画",path:"/midjourney"},{label:"绘画广场",path:"/market"},{label:"思维导图",path:"/mind"},{label:"应用中心",path:"/chatStore"},{label:"不指定首页",path:""}],t=ae({siteName:"",vxNumber:"",robotAvatar:"",userDefautlAvatar:"",filingNumber:"",companyName:"",buyCramiAddress:"",siteUrl:"",isShowAppCatIcon:"",clientFavoIconPath:"",clientLogoPath:"",clientHomePath:"",copyrightTitle:"",copyrightUrl:"",isHideSidebar:""}),G=N({siteName:[{required:!0,trigger:"blur",message:"请填写网站名称"}],copyrightUrl:[{trigger:"blur",message:"请填写底部版权文字内容"}],copyrightTitle:[{trigger:"blur",message:"请填写点击底部版本跳转的地址"}]}),I=N(),y=N(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);async function L(){const l=await T.queryConfig({keys:["siteName","vxNumber","robotAvatar","userDefautlAvatar","filingNumber","companyName","isShowAppCatIcon","clientLogoPath","clientFavoIconPath","clientHomePath","copyrightUrl","copyrightTitle","siteUrl","isHideSidebar"]});Object.assign(t,l.data)}function $(){var l;(l=I.value)==null||l.validate(async o=>{if(o){try{await T.setConfig({settings:J(t)}),k.success("变更配置信息成功")}catch{}L()}else k.error("请填写完整信息")})}async function v(l){const o=await O.get(l,{responseType:"blob"});let s="downloaded_file";const m=o.headers["content-disposition"];if(m){const b=/filename="([^"]+)"/.exec(m);b!=null&&b[1]&&(s=b[1])}else s=E(l);return new File([o.data],s,{type:o.data.type})}function E(l){const s=new URL(l).pathname;return s.substring(s.lastIndexOf("/")+1)}function x(l,o){const s=new FormData;s.append("file",l),O.post(y.value,s,{headers:{"Content-Type":"multipart/form-data"}}).then(m=>{o(m.data)}).catch(m=>{console.error("上传失败",m)})}const C=(l,o)=>{console.log("response: ",l.data),t.clientLogoPath=l.data};async function q(){if(t.clientLogoPath){const l=await v(t.clientLogoPath);x(l,C)}}async function z(){if(t.clientFavoIconPath){const l=await v(t.clientFavoIconPath);x(l,D)}}async function K(){if(t.robotAvatar){const l=await v(t.robotAvatar);x(l,j)}}async function M(){if(t.userDefautlAvatar){const l=await v(t.userDefautlAvatar);x(l,S)}}const D=(l,o)=>{console.log("response: ",l.data),t.clientFavoIconPath=l.data},j=(l,o)=>{console.log("response: ",l.data),t.robotAvatar=l.data},S=(l,o)=>{console.log("response: ",l.data),t.userDefautlAvatar=l.data},w=l=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(l.type)){if(l.size/1024>300)return k.error("当前限制文件最大不超过 300KB!"),!1}else return k.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};function J(l){return Object.keys(l).map(o=>({configKey:o,configVal:l[o]}))}return te(()=>{L()}),(l,o)=>{const s=ne,m=re,b=Z,f=i("el-input"),c=i("el-form-item"),u=i("el-col"),d=i("el-row"),p=i("el-icon"),A=i("el-upload"),W=i("el-radio"),Q=i("el-radio-group"),X=i("el-form"),Y=i("el-card");return r(),h("div",null,[e(b,null,{title:a(()=>[ie]),content:a(()=>[ce]),default:a(()=>[e(m,{outline:"",onClick:$},{default:a(()=>[e(s,{name:"i-ri:file-text-line"}),H(" 保存设置 ")]),_:1})]),_:1}),e(Y,{style:{margin:"20px"}},{default:a(()=>[e(X,{ref_key:"formRef",ref:I,rules:G.value,model:t,"label-width":"150px"},{default:a(()=>[e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"网站名称",prop:"siteName"},{default:a(()=>[e(f,{modelValue:t.siteName,"onUpdate:modelValue":o[0]||(o[0]=n=>t.siteName=n),placeholder:"网站名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"网站地址",prop:"siteUrl"},{default:a(()=>[e(f,{modelValue:t.siteUrl,"onUpdate:modelValue":o[1]||(o[1]=n=>t.siteUrl=n),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"公司/组织名称",prop:"companyName"},{default:a(()=>[e(f,{modelValue:t.companyName,"onUpdate:modelValue":o[2]||(o[2]=n=>t.companyName=n),placeholder:"填入具体的公司或组织名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"网站备案号",prop:"filingNumber"},{default:a(()=>[e(f,{modelValue:t.filingNumber,"onUpdate:modelValue":o[3]||(o[3]=n=>t.filingNumber=n),placeholder:"填写网站备案信息的备案号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"用户端LOGO",prop:"clientLogoPath"},{default:a(()=>[e(f,{modelValue:t.clientLogoPath,"onUpdate:modelValue":o[4]||(o[4]=n=>t.clientLogoPath=n),placeholder:"请填写或上传网站 LOGO 图片 URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:y.value,"show-file-list":!1,"on-success":C,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.clientLogoPath?(r(),h("img",{key:0,src:t.clientLogoPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,ue)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(P))]),_:1}))]),_:1},8,["action"]),t.clientLogoPath?(r(),_(p,{key:0,onClick:q,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(V))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"网站 ico",prop:"clientFavoIconPath"},{default:a(()=>[e(f,{modelValue:t.clientFavoIconPath,"onUpdate:modelValue":o[5]||(o[5]=n=>t.clientFavoIconPath=n),placeholder:"请填写或上传网站 ico URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:y.value,"show-file-list":!1,"on-success":D,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.clientFavoIconPath?(r(),h("img",{key:0,src:t.clientFavoIconPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,de)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(P))]),_:1}))]),_:1},8,["action"]),t.clientFavoIconPath?(r(),_(p,{key:0,onClick:z,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(V))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"AI头像",prop:"robotAvatar"},{default:a(()=>[e(f,{modelValue:t.robotAvatar,"onUpdate:modelValue":o[6]||(o[6]=n=>t.robotAvatar=n),placeholder:"请填写或上传网站 AI 头像 URL、为空将根据模型自动显示",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:y.value,"show-file-list":!1,"on-success":j,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.robotAvatar?(r(),h("img",{key:0,src:t.robotAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,me)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(P))]),_:1}))]),_:1},8,["action"]),t.robotAvatar?(r(),_(p,{key:0,onClick:K,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(V))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"用户默认头像",prop:"userDefautlAvatar"},{default:a(()=>[e(f,{modelValue:t.userDefautlAvatar,"onUpdate:modelValue":o[7]||(o[7]=n=>t.userDefautlAvatar=n),placeholder:"请填写或上传网站新用户默认的头像 URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:y.value,"show-file-list":!1,"on-success":S,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.userDefautlAvatar?(r(),h("img",{key:0,src:t.userDefautlAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,fe)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(P))]),_:1}))]),_:1},8,["action"]),t.userDefautlAvatar?(r(),_(p,{key:0,onClick:M,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(V))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(c,{label:"设置指定首页",prop:"clientHomePath"},{default:a(()=>[e(Q,{modelValue:t.clientHomePath,"onUpdate:modelValue":o[8]||(o[8]=n=>t.clientHomePath=n)},{default:a(()=>[(r(),h(le,null,oe(B,n=>e(W,{key:n.path,size:"small",border:"",label:n.path},{default:a(()=>[H(se(n.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof R=="function"&&R(pe);export{pe as default}; diff --git a/public/admin/assets/baseConfiguration-BCZRQHpL.js.br b/public/admin/assets/baseConfiguration-BCZRQHpL.js.br new file mode 100644 index 0000000..d16ae91 Binary files /dev/null and b/public/admin/assets/baseConfiguration-BCZRQHpL.js.br differ diff --git a/public/admin/assets/baseConfiguration-BCZRQHpL.js.gz b/public/admin/assets/baseConfiguration-BCZRQHpL.js.gz new file mode 100644 index 0000000..dcaa358 Binary files /dev/null and b/public/admin/assets/baseConfiguration-BCZRQHpL.js.gz differ diff --git a/public/admin/assets/bg-8cbc23fc.jpg b/public/admin/assets/bg-8cbc23fc.jpg deleted file mode 100644 index f64e254..0000000 Binary files a/public/admin/assets/bg-8cbc23fc.jpg and /dev/null differ diff --git a/public/admin/assets/brainfuck-637b9bf0.js b/public/admin/assets/brainfuck-C4LP7Hcl.js similarity index 86% rename from public/admin/assets/brainfuck-637b9bf0.js rename to public/admin/assets/brainfuck-C4LP7Hcl.js index 7d4aba3..738834a 100644 --- a/public/admin/assets/brainfuck-637b9bf0.js +++ b/public/admin/assets/brainfuck-C4LP7Hcl.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var f="><+-.,[]".split("");const r={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(i,n){if(i.eatSpace())return null;i.sol()&&(n.commentLine=!1);var e=i.next().toString();if(f.indexOf(e)!==-1){if(n.commentLine===!0)return i.eol()&&(n.commentLine=!1),"comment";if(e==="]"||e==="[")return e==="["?n.left++:n.right++,"bracket";if(e==="+"||e==="-")return"keyword";if(e==="<"||e===">")return"atom";if(e==="."||e===",")return"def"}else return n.commentLine=!0,i.eol()&&(n.commentLine=!1),"comment";i.eol()&&(n.commentLine=!1)}};export{r as brainfuck}; diff --git a/public/admin/assets/brainfuck-C4LP7Hcl.js.br b/public/admin/assets/brainfuck-C4LP7Hcl.js.br new file mode 100644 index 0000000..de45d51 Binary files /dev/null and b/public/admin/assets/brainfuck-C4LP7Hcl.js.br differ diff --git a/public/admin/assets/brainfuck-C4LP7Hcl.js.gz b/public/admin/assets/brainfuck-C4LP7Hcl.js.gz new file mode 100644 index 0000000..7e60e5c Binary files /dev/null and b/public/admin/assets/brainfuck-C4LP7Hcl.js.gz differ diff --git a/public/admin/assets/builtIn-39cde54e.js b/public/admin/assets/builtIn-39cde54e.js deleted file mode 100644 index 4630b0a..0000000 --- a/public/admin/assets/builtIn-39cde54e.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as K}from"./index-fd8a5577.js";import{a as m}from"./config-e611a8d0.js";import{d as C,Q as k,r as f,x as q,h as i,o as N,c as U,e,f as t,a as S,l as j,E as v,q as B}from"./index-e656eb90.js";const E={class:"flex justify-between"},M=S("b",null,"百度文本审核参数设置",-1),O=C({__name:"builtIn",setup(R){const l=k({nineaiBuiltInSensitiveStatus:"",nineaiBuiltInSensitiveApiBase:"",nineaiBuiltInSensitiveAuthKey:""}),g=f({nineaiBuiltInSensitiveStatus:[{required:!0,trigger:"blur",message:"请选择是否启用官方敏感词审核"}],nineaiBuiltInSensitiveApiBase:[{required:!0,trigger:"blur",message:"请填写官方敏感词审核Api地址"}],nineaiBuiltInSensitiveAuthKey:[{required:!0,trigger:"blur",message:"请填写官方敏感词审核授权Key"}]}),c=f();async function _(){const a=await m.queryConfig({keys:["nineaiBuiltInSensitiveStatus","nineaiBuiltInSensitiveAuthKey","nineaiBuiltInSensitiveApiBase"]});Object.assign(l,a.data)}function y(){var a;(a=c.value)==null||a.validate(async n=>{if(n){try{await m.setConfig({settings:I(l)}),v.success("变更配置信息成功")}catch{}_()}else v.error("请填写完整信息")})}function I(a){return Object.keys(a).map(n=>({configKey:n,configVal:a[n]}))}return q(()=>{_()}),(a,n)=>{const p=i("el-alert"),b=K,A=i("el-button"),h=i("el-switch"),x=i("el-tooltip"),s=i("el-form-item"),u=i("el-col"),r=i("el-row"),d=i("el-input"),V=i("el-form"),w=i("el-card");return N(),U("div",null,[e(b,null,{default:t(()=>[e(p,{closable:!1,"show-icon":"",title:"NineAi敏感词说明",description:"官方提供的敏感词检测Api、价格相对实惠、如需使用请联系管理员购买、后续开通专有的通道!",type:"success"})]),_:1}),e(w,{style:{margin:"20px"}},{header:t(()=>[S("div",E,[M,e(A,{class:"button",text:"",onClick:y},{default:t(()=>[j(" 保存设置 ")]),_:1})])]),default:t(()=>[e(V,{ref_key:"formRef",ref:c,rules:g.value,model:l,"label-width":"150px"},{default:t(()=>[e(r,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"开启此敏感词设置",prop:"nineaiBuiltInSensitiveStatus"},{default:t(()=>[e(x,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:t(()=>[e(h,{modelValue:l.nineaiBuiltInSensitiveStatus,"onUpdate:modelValue":n[0]||(n[0]=o=>l.nineaiBuiltInSensitiveStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"文本审核ApiKey",prop:"nineaiBuiltInSensitiveApiBase"},{default:t(()=>[e(d,{modelValue:l.nineaiBuiltInSensitiveApiBase,"onUpdate:modelValue":n[1]||(n[1]=o=>l.nineaiBuiltInSensitiveApiBase=o),placeholder:"请填写官方敏感词审核Api地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"文本审核SecretKey",prop:"nineaiBuiltInSensitiveAuthKey"},{default:t(()=>[e(d,{modelValue:l.nineaiBuiltInSensitiveAuthKey,"onUpdate:modelValue":n[2]||(n[2]=o=>l.nineaiBuiltInSensitiveAuthKey=o),placeholder:"请填写官方敏感词审核授权Key",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof B=="function"&&B(O);export{O as default}; diff --git a/public/admin/assets/chat-3abcdb0b.js b/public/admin/assets/chat-3abcdb0b.js deleted file mode 100644 index 9ed4f12..0000000 --- a/public/admin/assets/chat-3abcdb0b.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as K}from"./index-fd8a5577.js";import{d as N,r as u,Q as j,x as F,h as l,R as H,o as m,c as C,e as t,f as o,S as P,U as O,b as i,k as Q,m as $,l as d,w as G,I as T,t as _,a as x,P as J,q as A}from"./index-e656eb90.js";import{A as W}from"./chat-289dfdad.js";import{u as X}from"./utcformatTime-e76e5157.js";import{m as g}from"./marked.esm-76161808.js";const Z={class:"answer"},E=["innerHTML"],ee=N({__name:"chat",setup(te){const V=new g.Renderer;g.setOptions({renderer:V,gfm:!0,pedantic:!1,sanitize:!1});const c=u(!1),h=u([]),v=u(),b=u(0),a=j({userId:"",prompt:"",page:1,size:10}),y=u([]);async function p(){c.value=!0;try{const r=await W.queryChatAll(a);c.value=!1;const{rows:n,count:f}=r.data;b.value=f,y.value=n}catch{c.value=!1}}async function U(r){const n=await J.queryAllUser({size:30,username:r});h.value=n.data.rows}function I(r){r==null||r.resetFields(),p()}return F(()=>{p()}),(r,n)=>{const f=l("el-option"),D=l("el-select"),w=l("el-form-item"),M=l("el-input"),k=l("el-button"),S=l("el-form"),z=K,s=l("el-table-column"),L=l("el-popover"),R=l("el-table"),q=l("el-pagination"),B=l("el-row"),Y=H("loading");return m(),C("div",null,[t(z,null,{default:o(()=>[t(S,{ref_key:"formRef",ref:v,inline:!0,model:a},{default:o(()=>[t(w,{label:"用户名称",prop:"userId"},{default:o(()=>[t(D,{modelValue:a.userId,"onUpdate:modelValue":n[0]||(n[0]=e=>a.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":U},{default:o(()=>[(m(!0),C(P,null,O(i(h),e=>(m(),T(f,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"用户询问的问题",prop:"prompt"},{default:o(()=>[t(M,{modelValue:a.prompt,"onUpdate:modelValue":n[1]||(n[1]=e=>a.prompt=e),placeholder:"提问问题[模糊搜索]",onKeydown:Q($(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(w,null,{default:o(()=>[t(k,{type:"primary",onClick:p},{default:o(()=>[d(" 查询 ")]),_:1}),t(k,{onClick:n[2]||(n[2]=e=>I(i(v)))},{default:o(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(z,{style:{width:"100%"}},{default:o(()=>[G((m(),T(R,{border:"",data:i(y),style:{width:"100%"},size:"large","tooltip-options":{}},{default:o(()=>[t(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),t(s,{prop:"createdAt",label:"角色",width:"80"},{default:o(e=>[d(_(e.row.role==="user"?"用户":"电脑"),1)]),_:1}),t(s,{prop:"email",label:"用户邮箱",width:"200"}),t(s,{prop:"answer",label:"用户询问/AI回复"},{default:o(e=>[t(L,{placement:"top",width:400,trigger:"click"},{reference:o(()=>[x("div",Z,_(e.row.role==="user"?e.row.prompt:e.row.answer),1)]),default:o(()=>[x("div",{class:"answer_container",innerHTML:i(g)(e.row.role==="user"?e.row.prompt:e.row.answer||"")},null,8,E)]),_:2},1024)]),_:1}),t(s,{prop:"completionTokens",label:"提问/回答Token",width:"140",align:"center"},{default:o(e=>[d(_(e.row.role==="user"?e.row.promptTokens:e.row.completionTokens),1)]),_:1}),t(s,{prop:"totalTokens",label:"总计Token",width:"110",align:"center"}),t(s,{prop:"model",label:"模型",width:"200"}),t(s,{prop:"createdAt",label:"提问时间",width:"200"},{default:o(e=>[d(_(i(X)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[Y,i(c)]]),t(B,{class:"flex justify-end mt-5"},{default:o(()=>[t(q,{"current-page":a.page,"onUpdate:currentPage":n[3]||(n[3]=e=>a.page=e),"page-size":a.size,"onUpdate:pageSize":n[4]||(n[4]=e=>a.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:i(b),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof A=="function"&&A(ee);export{ee as default}; diff --git a/public/admin/assets/chat-5f421c63.css b/public/admin/assets/chat-5f421c63.css deleted file mode 100644 index cc352ff..0000000 --- a/public/admin/assets/chat-5f421c63.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.prompt,.answer{width:100%;max-height:40px;white-space:normal;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.answer_container{max-height:500px;overflow:overlay} diff --git a/public/admin/assets/chat-C0XGvCR7.js b/public/admin/assets/chat-C0XGvCR7.js new file mode 100644 index 0000000..84d61f6 --- /dev/null +++ b/public/admin/assets/chat-C0XGvCR7.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as N,r as d,m as $,a as j,n as a,q as P,g as c,c as C,b as t,w as o,F as O,s as G,i,v as J,x as Q,h as u,y as W,z as T,t as _,e as h,K as X,k as A}from"./index-B-LUCRde.js";import{A as Z}from"./chat-CU5Pqkmz.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";import{m as g}from"./marked.esm-8ZxQ78w7.js";const ee=h("div",{class:"flex items-center gap-4"},"对话记录",-1),te={class:"answer"},oe=["innerHTML"],ne=N({__name:"chat",setup(ae){const V=new g.Renderer;g.setOptions({renderer:V,gfm:!0,pedantic:!1});const m=d(!1),v=d(),b=d(),y=d(0),l=$({userId:"",prompt:"",page:1,size:10}),k=d([]);async function p(){m.value=!0;try{const r=await Z.queryChatAll(l);m.value=!1;const{rows:n,count:f}=r.data;y.value=f,k.value=n}catch{m.value=!1}}async function U(r){const n=await X.queryAllUser({size:30,username:r});v.value=n.data.rows}function D(r){r==null||r.resetFields(),p()}return j(()=>{p()}),(r,n)=>{const f=H,I=a("el-option"),M=a("el-select"),w=a("el-form-item"),L=a("el-input"),z=a("el-button"),S=a("el-form"),x=F,s=a("el-table-column"),q=a("el-popover"),B=a("el-table"),K=a("el-pagination"),R=a("el-row"),Y=P("loading");return c(),C("div",null,[t(f,null,{title:o(()=>[ee]),_:1}),t(x,null,{default:o(()=>[t(S,{ref_key:"formRef",ref:b,inline:!0,model:l},{default:o(()=>[t(w,{label:"用户名称",prop:"userId"},{default:o(()=>[t(M,{modelValue:l.userId,"onUpdate:modelValue":n[0]||(n[0]=e=>l.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":U,style:{width:"160px"}},{default:o(()=>[(c(!0),C(O,null,G(i(v),e=>(c(),T(I,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"用户询问的问题",prop:"prompt"},{default:o(()=>[t(L,{modelValue:l.prompt,"onUpdate:modelValue":n[1]||(n[1]=e=>l.prompt=e),placeholder:"提问问题[模糊搜索]",onKeydown:J(Q(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(w,null,{default:o(()=>[t(z,{type:"primary",onClick:p},{default:o(()=>[u(" 查询 ")]),_:1}),t(z,{onClick:n[2]||(n[2]=e=>D(i(b)))},{default:o(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(x,{style:{width:"100%"}},{default:o(()=>[W((c(),T(B,{border:"",data:i(k),style:{width:"100%"},size:"large","tooltip-options":{}},{default:o(()=>[t(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),t(s,{prop:"createdAt",label:"角色",width:"80"},{default:o(e=>[u(_(e.row.role==="user"?"用户":"电脑"),1)]),_:1}),t(s,{prop:"email",label:"用户邮箱",width:"200"}),t(s,{prop:"answer",label:"用户询问/AI回复"},{default:o(e=>[t(q,{placement:"top",width:400,trigger:"click"},{reference:o(()=>[h("div",te,_(e.row.role==="user"?e.row.prompt:e.row.answer),1)]),default:o(()=>[h("div",{class:"answer_container",innerHTML:i(g)(e.row.role==="user"?e.row.prompt:e.row.answer||"")},null,8,oe)]),_:2},1024)]),_:1}),t(s,{prop:"completionTokens",label:"提问/回答Token",width:"140",align:"center"},{default:o(e=>[u(_(e.row.role==="user"?e.row.promptTokens:e.row.completionTokens),1)]),_:1}),t(s,{prop:"totalTokens",label:"总计Token",width:"110",align:"center"}),t(s,{prop:"model",label:"模型",width:"200"}),t(s,{prop:"createdAt",label:"提问时间",width:"200"},{default:o(e=>[u(_(i(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[Y,i(m)]]),t(R,{class:"mt-5 flex justify-end"},{default:o(()=>[t(K,{"current-page":l.page,"onUpdate:currentPage":n[3]||(n[3]=e=>l.page=e),"page-size":l.size,"onUpdate:pageSize":n[4]||(n[4]=e=>l.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:i(y),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof A=="function"&&A(ne);export{ne as default}; diff --git a/public/admin/assets/chat-C0XGvCR7.js.br b/public/admin/assets/chat-C0XGvCR7.js.br new file mode 100644 index 0000000..7779cd9 Binary files /dev/null and b/public/admin/assets/chat-C0XGvCR7.js.br differ diff --git a/public/admin/assets/chat-C0XGvCR7.js.gz b/public/admin/assets/chat-C0XGvCR7.js.gz new file mode 100644 index 0000000..3d5f3bd Binary files /dev/null and b/public/admin/assets/chat-C0XGvCR7.js.gz differ diff --git a/public/admin/assets/chat-289dfdad.js b/public/admin/assets/chat-CU5Pqkmz.js similarity index 68% rename from public/admin/assets/chat-289dfdad.js rename to public/admin/assets/chat-CU5Pqkmz.js index f89749d..4214f6c 100644 --- a/public/admin/assets/chat-289dfdad.js +++ b/public/admin/assets/chat-CU5Pqkmz.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - -import{Y as t}from"./index-e656eb90.js";const a={queryChatAll:r=>t.get("chatLog/chatAll",{params:r}),queryDrawAll:r=>t.get("chatLog/drawAll",{params:r}),recDrawImg:r=>t.post("chatLog/recDrawImg",r),queryMjDrawAll:r=>t.get("midjourney/getList",{params:r}),recMjDrawImg:r=>t.post("midjourney/rec",r),delChatLog:r=>t.post("midjourney/del",r)};export{a as A}; + +import{I as t}from"./index-B-LUCRde.js";const a={queryChatAll:r=>t.get("chatLog/chatAll",{params:r}),queryDrawAll:r=>t.get("chatLog/drawAll",{params:r}),recDrawImg:r=>t.post("chatLog/recDrawImg",r),queryMjDrawAll:r=>t.get("midjourney/getList",{params:r}),recMjDrawImg:r=>t.post("midjourney/rec",r),delChatLog:r=>t.post("midjourney/del",r)};export{a as A}; diff --git a/public/admin/assets/chat-CU5Pqkmz.js.br b/public/admin/assets/chat-CU5Pqkmz.js.br new file mode 100644 index 0000000..2affdd2 Binary files /dev/null and b/public/admin/assets/chat-CU5Pqkmz.js.br differ diff --git a/public/admin/assets/chat-CU5Pqkmz.js.gz b/public/admin/assets/chat-CU5Pqkmz.js.gz new file mode 100644 index 0000000..d6b79b7 Binary files /dev/null and b/public/admin/assets/chat-CU5Pqkmz.js.gz differ diff --git a/public/admin/assets/chat-DJXUFUH_.css b/public/admin/assets/chat-DJXUFUH_.css new file mode 100644 index 0000000..c1a351d --- /dev/null +++ b/public/admin/assets/chat-DJXUFUH_.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.prompt,.answer{width:100%;max-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:normal;cursor:pointer}.answer_container{max-height:500px;overflow:overlay} diff --git a/public/admin/assets/chat-DJXUFUH_.css.br b/public/admin/assets/chat-DJXUFUH_.css.br new file mode 100644 index 0000000..60c81c9 Binary files /dev/null and b/public/admin/assets/chat-DJXUFUH_.css.br differ diff --git a/public/admin/assets/chat-DJXUFUH_.css.gz b/public/admin/assets/chat-DJXUFUH_.css.gz new file mode 100644 index 0000000..bdb1801 Binary files /dev/null and b/public/admin/assets/chat-DJXUFUH_.css.gz differ diff --git a/public/admin/assets/chatBox-cf3e01b9.js b/public/admin/assets/chatBox-cf3e01b9.js deleted file mode 100644 index 84d6d26..0000000 --- a/public/admin/assets/chatBox-cf3e01b9.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as we}from"./index-fd8a5577.js";import{d as ke,r as p,Q as $,B as A,x as Te,h as n,R as Ie,o as h,c as F,e,f as a,l as f,t as k,b as i,V as j,w as le,I as P,a as N,S as ae,U as oe,E as z,X as ne,W as qe,q as se}from"./index-e656eb90.js";import{A as C}from"./chatgpt-56801f63.js";import{_ as Ue}from"./index.vue_vue_type_script_setup_true_lang-117764b5.js";const De=N("div",{style:{width:"250px"}},"关闭当前分类、用户端将不再展示!",-1),$e={class:"flex justify-end mr-5"},Ae=N("div",{style:{width:"250px"}},"关闭当前子项、用户端将不再展示!",-1),Pe={class:"flex justify-end mr-5"},ze=ke({__name:"chatBox",setup(Ne){const T=p(!1),I=p(!1),B=p(),re=p(),_=p(0),x=p(0),s=$({status:!0,name:"",order:100,icon:""}),r=$({typeId:"",appId:"",status:!0,title:"",order:100,prompt:"",url:""}),ue=$({status:[{required:!0,message:"请选择开启状态",trigger:"change"}],name:[{required:!0,message:"请填写分类名称",trigger:"blur"}],icon:[{required:!0,message:"请填写分类图标",trigger:"blur"}],order:[{required:!0,message:"请填写排序id 越大越靠前",trigger:"blur"}]}),de=$({typeId:[{required:!0,message:"请选择分类",trigger:"change"}],appId:[{required:!1,message:"请选择APP",trigger:"change"}],status:[{required:!0,message:"请选择开启状态",trigger:"change"}],title:[{required:!0,message:"请填写标题名称",trigger:"blur"}],order:[{required:!0,message:"请填写排序id 越大越靠前",trigger:"blur"}],prompt:[{required:!1,message:"请填写快捷描述语",trigger:"blur"}],url:[{required:!1,message:"请填写跳转地址",trigger:"blur"}]});function ie(o){_.value=0,o==null||o.resetFields()}function pe(o){x.value=0,o==null||o.resetFields()}const g=p(!1),y=p(!1),V=p("chatBoxType"),ce=A(()=>_.value?"更新分类":"新增分类"),me=A(()=>x.value?"更新子项":"新增子项"),J=A(()=>_.value?"确认更新":"确认新增"),O=p([]),L=p([]),Q=p([]);async function q(){try{T.value=!0;const o=await C.queryChatBoxTypes();T.value=!1,O.value=o.data}catch{T.value=!1}}async function S(){try{I.value=!0;const o=await C.queryChatBoxs();I.value=!1,L.value=o.data}catch{I.value=!1}}async function fe(o){const{id:t}=o;await C.delChatBoxType({id:t}),z({type:"success",message:"操作完成!"}),q()}async function _e(o){const{id:t}=o;await C.delChatBox({id:t}),z({type:"success",message:"操作完成!"}),S()}function ge(o){_.value=o.id;const{status:t,name:u,icon:w,order:v}=o;ne(()=>{Object.assign(s,{status:t,name:u,icon:w,order:v})}),g.value=!0}function ye(o){x.value=o.id;const{title:t,order:u,status:w,typeId:v,appId:c,prompt:U,url:D}=o;ne(()=>{Object.assign(r,{title:t,order:u,status:w,typeId:v,appId:c,prompt:U,url:D})}),y.value=!0}function ve(o){o==="chatBoxType"?q():S()}async function be(o){o==null||o.validate(async t=>{if(t){const u=JSON.parse(JSON.stringify(s));delete u.id,_.value&&(u.id=_.value),await C.setChatBoxType(u),z({type:"success",message:"操作成功!"}),_.value=0,g.value=!1,q()}})}async function he(o){o==null||o.validate(async t=>{if(t){const u=JSON.parse(JSON.stringify(r));delete u.id,x.value&&(u.id=x.value),await C.setChatBox(u),z({type:"success",message:"操作成功!"}),x.value=0,y.value=!1,S()}})}const xe=A(()=>V.value==="chatBoxType"?"添加提示分类":"添加提示子项");function Ce(){V.value==="chatBoxType"?g.value=!0:y.value=!0}async function Be(){var t;const o=await qe.queryApp({status:1,page:1,size:999});Q.value=(t=o==null?void 0:o.data)==null?void 0:t.rows}return Te(()=>{q(),Be()}),(o,t)=>{const u=n("el-alert"),w=n("Plus"),v=n("el-icon"),c=n("el-button"),U=we,D=n("el-tag"),d=n("el-table-column"),M=n("el-popconfirm"),W=n("el-table"),X=n("el-tab-pane"),Ve=n("el-tabs"),G=n("el-switch"),H=n("QuestionFilled"),K=n("el-tooltip"),m=n("el-form-item"),b=n("el-input"),Y=n("el-form"),Z=n("el-dialog"),E=n("el-option"),ee=n("el-select"),te=Ie("loading");return h(),F("div",null,[e(U,{class:"header"},{default:a(()=>[e(u,{"show-icon":"",title:"预设配置说明",description:"此设置用于配置对话窗口为空时显示的默认九宫格界面。它包括多个分类,每个分类下可包含应用或提示词。建议设置三个分类,每个分类下含三个子项。对于跳转地址、应用、预设问题这三个选项,只需选择其中一个进行设置。如果同时设置了多个,将按照优先级顺序选择其中一个生效。更多详情请参考UI展示。",type:"success"}),e(c,{type:"success",class:"ml-3",size:"large",onClick:Ce},{default:a(()=>[f(k(xe.value)+" ",1),e(v,{class:"ml-3"},{default:a(()=>[e(w)]),_:1})]),_:1})]),_:1}),e(U,{style:{width:"100%"}},{default:a(()=>[e(Ve,{type:"border-card",modelValue:i(V),"onUpdate:modelValue":t[0]||(t[0]=l=>j(V)?V.value=l:null),onTabChange:ve},{default:a(()=>[e(X,{name:"chatBoxType",label:"分类管理"},{default:a(()=>[le((h(),P(W,{border:"",data:i(O),style:{width:"100%"},size:"large"},{default:a(()=>[e(d,{prop:"status",align:"center",label:"分类状态"},{default:a(l=>[e(D,{type:l.row.status?"success":"danger"},{default:a(()=>[f(k(l.row.status?"开启中":"已关闭"),1)]),_:2},1032,["type"])]),_:1}),e(d,{prop:"name",label:"分类名称"}),e(d,{prop:"order",label:"排序ID"}),e(d,{prop:"icon",label:"分类图标"},{default:a(l=>[e(Ue,{style:{"font-size":"24px"},icon:l.row.icon},null,8,["icon"])]),_:1}),e(d,{fixed:"right",label:"操作",align:"center",width:"180"},{default:a(l=>[e(c,{link:"",type:"primary",size:"small",onClick:R=>ge(l.row)},{default:a(()=>[f(" 变更 ")]),_:2},1032,["onClick"]),e(M,{title:"确认删除此提示词么?",width:"180","icon-color":"red",onConfirm:R=>fe(l.row)},{reference:a(()=>[e(c,{link:"",type:"danger",size:"small"},{default:a(()=>[f(" 删除分类 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,i(T)]])]),_:1}),e(X,{name:"chatBox",label:"子类管理"},{default:a(()=>[le((h(),P(W,{border:"",data:i(L),style:{width:"100%"},size:"large"},{default:a(()=>[e(d,{prop:"typeInfo.name",label:"所属分类",width:"120",align:"center"}),e(d,{prop:"status",label:"子项状态",width:"120",align:"center"},{default:a(l=>[e(D,{type:l.row.status?"success":"danger"},{default:a(()=>[f(k(l.row.status?"开启中":"已关闭"),1)]),_:2},1032,["type"])]),_:1}),e(d,{prop:"title",label:"标题名称",width:"180",align:"center"}),e(d,{prop:"order",label:"排序ID",width:"90",align:"center"}),e(d,{prop:"prompt",label:"快捷预设句"}),e(d,{prop:"url",label:"快捷跳转地址"}),e(d,{prop:"appInfo.name",label:"应用名称",width:"180",align:"center"}),e(d,{fixed:"right",label:"操作",align:"center",width:"180"},{default:a(l=>[e(c,{link:"",type:"primary",size:"small",onClick:R=>ye(l.row)},{default:a(()=>[f(" 变更 ")]),_:2},1032,["onClick"]),e(M,{title:"确认删除此提示词么?",width:"180","icon-color":"red",onConfirm:R=>_e(l.row)},{reference:a(()=>[e(c,{link:"",type:"danger",size:"small"},{default:a(()=>[f(" 删除分类 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,i(I)]])]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(Z,{modelValue:i(g),"onUpdate:modelValue":t[7]||(t[7]=l=>j(g)?g.value=l:null),"close-on-click-modal":!1,title:ce.value,width:"770",onClose:t[8]||(t[8]=l=>ie(i(B)))},{footer:a(()=>[N("span",$e,[e(c,{onClick:t[5]||(t[5]=l=>g.value=!1)},{default:a(()=>[f("取消")]),_:1}),e(c,{type:"primary",onClick:t[6]||(t[6]=l=>be(i(B)))},{default:a(()=>[f(k(J.value),1)]),_:1})])]),default:a(()=>[e(Y,{ref_key:"formPackageChatBoxTypeRef",ref:B,"label-position":"right","label-width":"120px",model:s,rules:ue},{default:a(()=>[e(m,{label:"分类启用状态",prop:"status"},{default:a(()=>[e(G,{modelValue:s.status,"onUpdate:modelValue":t[1]||(t[1]=l=>s.status=l)},null,8,["modelValue"]),e(K,{class:"box-item",effect:"dark",placement:"right"},{content:a(()=>[De]),default:a(()=>[e(v,{class:"ml-3 cursor-pointer"},{default:a(()=>[e(H)]),_:1})]),_:1})]),_:1}),e(m,{label:"排序Order",prop:"order"},{default:a(()=>[e(b,{modelValue:s.order,"onUpdate:modelValue":t[2]||(t[2]=l=>s.order=l),placeholder:"排序id越大越靠前"},null,8,["modelValue"])]),_:1}),e(m,{label:"分类名称",prop:"name"},{default:a(()=>[e(b,{modelValue:s.name,"onUpdate:modelValue":t[3]||(t[3]=l=>s.name=l),placeholder:"请填写提示词名称(用户看到的名称)"},null,8,["modelValue"])]),_:1}),e(m,{label:"分类图标",prop:"proxyUrl"},{default:a(()=>[e(b,{modelValue:s.icon,"onUpdate:modelValue":t[4]||(t[4]=l=>s.icon=l),placeholder:"请填写分类图标!"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"]),e(Z,{modelValue:i(y),"onUpdate:modelValue":t[18]||(t[18]=l=>j(y)?y.value=l:null),"close-on-click-modal":!1,title:me.value,width:"770",onClose:t[19]||(t[19]=l=>pe(i(re)))},{footer:a(()=>[N("span",Pe,[e(c,{onClick:t[16]||(t[16]=l=>y.value=!1)},{default:a(()=>[f("取消")]),_:1}),e(c,{type:"primary",onClick:t[17]||(t[17]=l=>he(i(B)))},{default:a(()=>[f(k(J.value),1)]),_:1})])]),default:a(()=>[e(Y,{ref_key:"formPackageChatBoxTypeRef",ref:B,"label-position":"right","label-width":"120px",model:r,rules:de},{default:a(()=>[e(m,{label:"启用状态",prop:"status"},{default:a(()=>[e(G,{modelValue:s.status,"onUpdate:modelValue":t[9]||(t[9]=l=>s.status=l)},null,8,["modelValue"]),e(K,{class:"box-item",effect:"dark",placement:"right"},{content:a(()=>[Ae]),default:a(()=>[e(v,{class:"ml-3 cursor-pointer"},{default:a(()=>[e(H)]),_:1})]),_:1})]),_:1}),e(m,{label:"选择分类",prop:"typeId"},{default:a(()=>[e(ee,{modelValue:r.typeId,"onUpdate:modelValue":t[10]||(t[10]=l=>r.typeId=l),placeholder:"请选择分类状态",clearable:"",style:{width:"100%"}},{default:a(()=>[(h(!0),F(ae,null,oe(i(O),l=>(h(),P(E,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(m,{label:"选择应用",prop:"appId"},{default:a(()=>[e(ee,{modelValue:r.appId,"onUpdate:modelValue":t[11]||(t[11]=l=>r.appId=l),placeholder:"请选择跳转应用",clearable:"",style:{width:"100%"}},{default:a(()=>[(h(!0),F(ae,null,oe(i(Q),l=>(h(),P(E,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(m,{label:"标题名称",prop:"title"},{default:a(()=>[e(b,{modelValue:r.title,"onUpdate:modelValue":t[12]||(t[12]=l=>r.title=l),placeholder:"请填写子项标题名称"},null,8,["modelValue"])]),_:1}),e(m,{label:"排序Order",prop:"order"},{default:a(()=>[e(b,{modelValue:s.order,"onUpdate:modelValue":t[13]||(t[13]=l=>s.order=l),placeholder:"排序id越大越靠前"},null,8,["modelValue"])]),_:1}),e(m,{label:"跳转地址",prop:"prompt"},{default:a(()=>[e(b,{modelValue:r.url,"onUpdate:modelValue":t[14]||(t[14]=l=>r.url=l),placeholder:"请填写跳转地址!"},null,8,["modelValue"])]),_:1}),e(m,{label:"预设问题",prop:"prompt"},{default:a(()=>[e(b,{type:"textarea",rows:5,modelValue:r.prompt,"onUpdate:modelValue":t[15]||(t[15]=l=>r.prompt=l),placeholder:"请填写预设问题、如果设置了应用、那么点击优先跳转应用、如果未设置、点击则会直接在对话中发当前填写预设内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof se=="function"&&se(ze);export{ze as default}; diff --git a/public/admin/assets/chatgpt-56801f63.js b/public/admin/assets/chatgpt-56801f63.js deleted file mode 100644 index eecf8f0..0000000 --- a/public/admin/assets/chatgpt-56801f63.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{Y as e}from"./index-e656eb90.js";const p={queryKeyList:t=>e.get("chatgpt/keyList",{params:t}),queryKeyModelList:t=>e.get("chatgpt/keyModelList",{params:t}),queryKeyDetail:t=>e.get("chatgpt/keyDetail",{params:t}),addGptKey:t=>e.post("chatgpt/addKey",t),updateGptKey:t=>e.post("chatgpt/updateKey",t),addWhiteUser:t=>e.post("chatgpt/addWhiteUser",t),updateWhiteUser:t=>e.post("chatgpt/updateWhiteUser",t),queryWhiteUserList:t=>e.get("chatgpt/userWhiteList",{params:t}),deleteGptKey:t=>e.post("chatgpt/deleteKey",t),queryChatBoxTypes:()=>e.get("chatgpt/queryChatBoxTypes"),setChatBoxType:t=>e.post("chatgpt/setChatBoxType",t),delChatBoxType:t=>e.post("chatgpt/delChatBoxType",t),queryChatBoxs:()=>e.get("chatgpt/queryChatBoxs"),setChatBox:t=>e.post("chatgpt/setChatBox",t),delChatBox:t=>e.post("chatgpt/delChatBox",t),queryChatPreTypes:()=>e.get("chatgpt/queryChatPreTypes"),setChatPreType:t=>e.post("chatgpt/setChatPreType",t),delChatPreType:t=>e.post("chatgpt/delChatPreType",t),queryChatPres:()=>e.get("chatgpt/queryChatPres"),setChatPre:t=>e.post("chatgpt/setChatPre",t),delChatPre:t=>e.post("chatgpt/delChatPre",t)};export{p as A}; diff --git a/public/admin/assets/chevereto-1d93138a.js b/public/admin/assets/chevereto-1d93138a.js deleted file mode 100644 index f3ca01e..0000000 --- a/public/admin/assets/chevereto-1d93138a.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as S}from"./index-fd8a5577.js";import{a as f}from"./config-e611a8d0.js";import{d as k,Q as P,r as q,B,x as N,h as a,o as j,c as A,e,f as t,a as y,l as E,b as h,E as v,q as g}from"./index-e656eb90.js";const R={class:"flex justify-between"},M=y("b",null,"chevereto图床参数设置",-1),O=k({__name:"chevereto",setup(I){const l=P({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),d=q();async function p(){const n=await f.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(l,n.data)}function b(){var n;(n=d.value)==null||n.validate(async o=>{if(o){try{await f.setConfig({settings:x(l)}),v.success("变更配置信息成功")}catch{}p()}else v.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}const i=B(()=>[{required:Number(l.cheveretoStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return N(()=>{p()}),(n,o)=>{const _=a("el-alert"),w=S,V=a("el-button"),U=a("el-switch"),s=a("el-form-item"),c=a("el-col"),u=a("el-row"),m=a("el-input"),C=a("el-form"),K=a("el-card");return j(),A("div",null,[e(w,null,{default:t(()=>[e(_,{closable:!1,"show-icon":"",title:"chevereto图床配置说明",description:"chevereto图床官方文档 https://v4-docs.chevereto.com/developer/api/api-v1.html 同时开启多个存储会以菜单排序优先级开启使用",type:"success"})]),_:1}),e(K,{style:{margin:"20px"}},{header:t(()=>[y("div",R,[M,e(V,{class:"button",text:"",onClick:b},{default:t(()=>[E(" 保存设置 ")]),_:1})])]),default:t(()=>[e(C,{ref_key:"formRef",ref:d,model:l,"label-width":"100px"},{default:t(()=>[e(u,null,{default:t(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"服务启用状态",prop:"cheveretoStatus"},{default:t(()=>[e(U,{modelValue:l.cheveretoStatus,"onUpdate:modelValue":o[0]||(o[0]=r=>l.cheveretoStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"上传地址",prop:"cheveretoUploadPath",rules:h(i)},{default:t(()=>[e(m,{modelValue:l.cheveretoUploadPath,"onUpdate:modelValue":o[1]||(o[1]=r=>l.cheveretoUploadPath=r),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(s,{label:"ApiKey",prop:"cheveretoKey",rules:h(i)},{default:t(()=>[e(m,{modelValue:l.cheveretoKey,"onUpdate:modelValue":o[2]||(o[2]=r=>l.cheveretoKey=r),placeholder:"请填写ApiKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof g=="function"&&g(O);export{O as default}; diff --git a/public/admin/assets/chevereto-Cojl7eGm.js b/public/admin/assets/chevereto-Cojl7eGm.js new file mode 100644 index 0000000..9a4d07d --- /dev/null +++ b/public/admin/assets/chevereto-Cojl7eGm.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as j,m as B,r as N,p as q,a as A,n,g as E,c as R,b as e,w as t,h as c,e as s,i as g,E as y,j as $,_ as H,k as b}from"./index-B-LUCRde.js";import{a as x}from"./config-BBuBLjtx.js";const I=s("div",{class:"flex items-center gap-4"},"Chevereto图床设置",-1),M=s("div",{class:"text-sm/6"},[s("div",null,[c(" 详细搭建及配置请参考 "),s("a",{href:"https://v4-docs.chevereto.com/developer/api/api-v1.html",target:"_blank"},"Chevereto图床文档"),c(" 。如果同时开启多个存储服务,腾讯云、阿里云优先级高于 Chevereto 图床。 ")])],-1),O={class:"flex justify-between"},T=s("b",null,"chevereto图床参数设置",-1),z=j({__name:"chevereto",setup(D){const l=B({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),_=N();async function m(){const a=await x.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(l,a.data)}function p(){var a;(a=_.value)==null||a.validate(async o=>{if(o){try{await x.setConfig({settings:w(l)}),y.success("变更配置信息成功")}catch{}m()}else y.error("请填写完整信息")})}function w(a){return Object.keys(a).map(o=>({configKey:o,configVal:a[o]}))}const f=q(()=>[{required:Number(l.cheveretoStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return A(()=>{m()}),(a,o)=>{const h=$,V=H,C=P,k=n("el-button"),U=n("el-switch"),u=n("el-form-item"),d=n("el-col"),i=n("el-row"),v=n("el-input"),K=n("el-form"),S=n("el-card");return E(),R("div",null,[e(C,null,{title:t(()=>[I]),content:t(()=>[M]),default:t(()=>[e(V,{outline:"",onClick:p},{default:t(()=>[e(h,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{header:t(()=>[s("div",O,[T,e(k,{class:"button",text:"",onClick:p},{default:t(()=>[c(" 保存设置 ")]),_:1})])]),default:t(()=>[e(K,{ref_key:"formRef",ref:_,model:l,"label-width":"100px"},{default:t(()=>[e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"服务启用状态",prop:"cheveretoStatus"},{default:t(()=>[e(U,{modelValue:l.cheveretoStatus,"onUpdate:modelValue":o[0]||(o[0]=r=>l.cheveretoStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"上传地址",prop:"cheveretoUploadPath",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoUploadPath,"onUpdate:modelValue":o[1]||(o[1]=r=>l.cheveretoUploadPath=r),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"ApiKey",prop:"cheveretoKey",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoKey,"onUpdate:modelValue":o[2]||(o[2]=r=>l.cheveretoKey=r),placeholder:"请填写ApiKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(z);export{z as default}; diff --git a/public/admin/assets/chevereto-Cojl7eGm.js.br b/public/admin/assets/chevereto-Cojl7eGm.js.br new file mode 100644 index 0000000..58c214b Binary files /dev/null and b/public/admin/assets/chevereto-Cojl7eGm.js.br differ diff --git a/public/admin/assets/chevereto-Cojl7eGm.js.gz b/public/admin/assets/chevereto-Cojl7eGm.js.gz new file mode 100644 index 0000000..b59ac1e Binary files /dev/null and b/public/admin/assets/chevereto-Cojl7eGm.js.gz differ diff --git a/public/admin/assets/classify-BzXS8--f.js b/public/admin/assets/classify-BzXS8--f.js new file mode 100644 index 0000000..1a73b23 --- /dev/null +++ b/public/admin/assets/classify-BzXS8--f.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as le}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as ne,r as p,m as D,p as P,a as se,n,q as re,g as w,c as q,b as e,w as l,h as u,v as ie,x as ue,F as de,s as pe,i as s,y as me,z as B,t as I,e as C,D as ce,G as _e,E as S,j as fe,_ as ge,k as M}from"./index-B-LUCRde.js";import{A as k}from"./app-DDimW9AH.js";import{u as ve}from"./utcformatTime-Bq4gDWNx.js";import{E as be,Q as ye}from"./index-J5zVJPyL.js";const we=C("div",{class:"flex items-center gap-4"},"应用分类配置",-1),ke=C("div",{class:"text-sm/6"},[C("div",null,"应用分类可能会被多个用户收藏,一旦创建,不建议删除。")],-1),Ce={class:"mr-5 flex justify-end"},Ve=ne({__name:"classify",setup(xe){const U=p(),$=p(0),m=p(!1),y=p(!1);p("/api/upload/file");const r=D({name:"",status:"",page:1,size:10}),V=p(),c=p(0),i=D({name:"",des:"",coverImg:"",order:100,status:0}),N=D({name:[{required:!0,message:"请填写分类名称",trigger:"blur"}],des:[{required:!1,message:"请填写分类描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写分类封面图片地址",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择分类状态",trigger:"change"}]}),h=p([]),R=P(()=>c.value?"更新分类":"新增分类"),j=P(()=>c.value?"确认更新":"确认新增");async function d(){try{y.value=!0;const o=await k.queryCats(r),{rows:t,count:v}=o.data;y.value=!1,$.value=v,h.value=t}catch{y.value=!1}}function F(o){c.value=o.id;const{name:t,status:v,des:x,order:z,coverImg:b}=o;_e(()=>{Object.assign(i,{name:t,status:v,des:x,order:z,coverImg:b})}),m.value=!0}function O(o){c.value=0,o==null||o.resetFields()}async function Y(o){await k.deleteCats({id:o.id}),S.success("删除分类成功"),d()}function K(o){o==null||o.resetFields(),d()}function L(o){o==null||o.validate(async t=>{t&&(c.value?(await k.updateCats({id:c.value,...i}),S({type:"success",message:"更新分类成功!"})):(await k.createCats(i),S({type:"success",message:"创建新的分类成功!"})),m.value=!1,d())})}return se(()=>{d()}),(o,t)=>{const v=fe,x=ge,z=oe,b=n("el-input"),_=n("el-form-item"),H=n("el-option"),Q=n("el-select"),f=n("el-button"),T=n("el-form"),A=le,g=n("el-table-column"),G=n("el-tag"),J=n("el-popconfirm"),W=n("el-table"),X=n("el-pagination"),Z=n("el-row"),E=n("el-switch"),ee=n("el-dialog"),te=re("loading");return w(),q("div",null,[e(z,null,{title:l(()=>[we]),content:l(()=>[ke]),default:l(()=>[e(x,{outline:"",onClick:t[0]||(t[0]=a=>m.value=!0)},{default:l(()=>[e(v,{name:"ic:baseline-plus"}),u(" 新增分类 ")]),_:1})]),_:1}),e(A,null,{default:l(()=>[e(T,{ref_key:"formRef",ref:U,inline:!0,model:r},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:r.name,"onUpdate:modelValue":t[1]||(t[1]=a=>r.name=a),placeholder:"分类名称[模糊搜索]",onKeydown:ie(ue(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(Q,{modelValue:r.status,"onUpdate:modelValue":t[2]||(t[2]=a=>r.status=a),placeholder:"请选择分类状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(w(!0),q(de,null,pe(s(be),a=>(w(),B(H,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,null,{default:l(()=>[e(f,{type:"primary",onClick:d},{default:l(()=>[u(" 查询 ")]),_:1}),e(f,{onClick:t[3]||(t[3]=a=>K(s(U)))},{default:l(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(A,{style:{width:"100%"}},{default:l(()=>[me((w(),B(W,{border:"",data:s(h),style:{width:"100%"},size:"large"},{default:l(()=>[e(g,{prop:"name",label:"分类名称"}),e(g,{prop:"appCount",label:"应用数量"}),e(g,{prop:"order",label:"排序ID"}),e(g,{prop:"status",label:"分类状态"},{default:l(a=>[e(G,{type:a.row.status===1?"success":"danger"},{default:l(()=>[u(I(s(ye)[a.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(g,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(a=>[u(I(s(ve)(a.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(g,{label:"操作",width:"200"},{default:l(a=>[e(f,{link:"",type:"primary",size:"small",onClick:ae=>F(a.row)},{default:l(()=>[u(" 编辑 ")]),_:2},1032,["onClick"]),e(J,{title:"确认删除此分类么?",width:"200","icon-color":"red",onConfirm:ae=>Y(a.row)},{reference:l(()=>[e(f,{link:"",type:"danger",size:"small"},{default:l(()=>[u(" 删除分类 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,s(y)]]),e(Z,{class:"mt-5 flex justify-end"},{default:l(()=>[e(X,{"current-page":r.page,"onUpdate:currentPage":t[4]||(t[4]=a=>r.page=a),"page-size":r.size,"onUpdate:pageSize":t[5]||(t[5]=a=>r.size=a),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s($),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:s(m),"onUpdate:modelValue":t[11]||(t[11]=a=>ce(m)?m.value=a:null),"close-on-click-modal":!1,title:s(R),width:"570",onClose:t[12]||(t[12]=a=>O(s(V)))},{footer:l(()=>[C("span",Ce,[e(f,{onClick:t[9]||(t[9]=a=>m.value=!1)},{default:l(()=>[u("取消")]),_:1}),e(f,{type:"primary",onClick:t[10]||(t[10]=a=>L(s(V)))},{default:l(()=>[u(I(s(j)),1)]),_:1})])]),default:l(()=>[e(T,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"100px",model:i,rules:N},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:i.name,"onUpdate:modelValue":t[6]||(t[6]=a=>i.name=a),placeholder:"请填写分类名称"},null,8,["modelValue"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(E,{modelValue:i.status,"onUpdate:modelValue":t[7]||(t[7]=a=>i.status=a),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(_,{label:"排序ID",prop:"order"},{default:l(()=>[e(b,{modelValue:i.order,"onUpdate:modelValue":t[8]||(t[8]=a=>i.order=a),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(Ve);export{Ve as default}; diff --git a/public/admin/assets/classify-BzXS8--f.js.br b/public/admin/assets/classify-BzXS8--f.js.br new file mode 100644 index 0000000..b7aa27d Binary files /dev/null and b/public/admin/assets/classify-BzXS8--f.js.br differ diff --git a/public/admin/assets/classify-BzXS8--f.js.gz b/public/admin/assets/classify-BzXS8--f.js.gz new file mode 100644 index 0000000..9b248f2 Binary files /dev/null and b/public/admin/assets/classify-BzXS8--f.js.gz differ diff --git a/public/admin/assets/classify-c6c515e7.js b/public/admin/assets/classify-c6c515e7.js deleted file mode 100644 index f089302..0000000 --- a/public/admin/assets/classify-c6c515e7.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as re}from"./index-fd8a5577.js";import{d as ue,r as m,Q as U,B,x as de,h as s,R as ie,o as b,c as h,e,f as a,k as pe,m as ce,S as me,U as fe,b as r,l as i,w as _e,I as x,t as z,a as ge,V as ve,W as C,X as be,E as V,q as $}from"./index-e656eb90.js";import{u as ye}from"./utcformatTime-e76e5157.js";import{E as we,Q as Ve}from"./index-d5406c70.js";const ke=["src"],Ce={class:"flex justify-end mr-5"},Ie=ue({__name:"classify",setup(Ue){const P=m(),S=m(0),f=m(!1),k=m(!1),M=m("/api/upload/file"),d=U({name:"",status:"",page:1,size:10}),I=m(),v=m(0),n=U({name:"",des:"",coverImg:"",order:100,status:0}),N=U({name:[{required:!0,message:"请填写分类名称",trigger:"blur"}],des:[{required:!0,message:"请填写分类描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写分类封面图片地址",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择分类状态",trigger:"change"}]}),T=m([]),R=B(()=>v.value?"更新分类":"新增分类"),j=B(()=>v.value?"确认更新":"确认新增");async function p(){try{k.value=!0;const o=await C.queryCats(d),{rows:l,count:y}=o.data;k.value=!1,S.value=y,T.value=l}catch{k.value=!1}}function F(o){v.value=o.id;const{name:l,status:y,des:w,order:_,coverImg:u}=o;be(()=>{Object.assign(n,{name:l,status:y,des:w,order:_,coverImg:u})}),f.value=!0}function K(o){v.value=0,o==null||o.resetFields()}async function O(o){await C.deleteCats({id:o.id}),V.success("删除分类成功"),p()}function Y(o){o==null||o.resetFields(),p()}const G=(o,l)=>{n.coverImg=o.data},L=o=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(o.type)){if(o.size/1024>300)return V.error("当前限制文件最大不超过 300KB!"),!1}else return V.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1;return!0};function Q(o){o==null||o.validate(async l=>{l&&(v.value?(await C.updateCats({id:v.value,...n}),V({type:"success",message:"更新分类成功!"})):(await C.createCats(n),V({type:"success",message:"创建新的分类成功!"})),f.value=!1,p())})}return de(()=>{p()}),(o,l)=>{const y=s("el-alert"),w=re,_=s("el-input"),u=s("el-form-item"),W=s("el-option"),J=s("el-select"),g=s("el-button"),D=s("Plus"),A=s("el-icon"),q=s("el-form"),X=s("el-image"),c=s("el-table-column"),H=s("el-tag"),Z=s("el-popconfirm"),E=s("el-table"),ee=s("el-pagination"),le=s("el-row"),te=s("el-switch"),ae=s("el-upload"),oe=s("el-dialog"),se=ie("loading");return b(),h("div",null,[e(w,null,{default:a(()=>[e(y,{closable:!1,"show-icon":"",title:"应用分类说明",description:"你创建的为系统内置分类、可能会被多个用户收藏、一旦创建、不建议删除、系统或限制已经创建的应用、请合理规范应用以免造成不必要的迷惑。",type:"success"})]),_:1}),e(w,null,{default:a(()=>[e(q,{ref_key:"formRef",ref:P,inline:!0,model:d},{default:a(()=>[e(u,{label:"分类名称",prop:"name"},{default:a(()=>[e(_,{modelValue:d.name,"onUpdate:modelValue":l[0]||(l[0]=t=>d.name=t),placeholder:"分类名称[模糊搜索]",onKeydown:pe(ce(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(u,{label:"分类状态",prop:"status"},{default:a(()=>[e(J,{modelValue:d.status,"onUpdate:modelValue":l[1]||(l[1]=t=>d.status=t),placeholder:"请选择分类状态",clearable:""},{default:a(()=>[(b(!0),h(me,null,fe(r(we),t=>(b(),x(W,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(u,null,{default:a(()=>[e(g,{type:"primary",onClick:p},{default:a(()=>[i(" 查询 ")]),_:1}),e(g,{onClick:l[2]||(l[2]=t=>Y(r(P)))},{default:a(()=>[i(" 重置 ")]),_:1})]),_:1}),e(g,{type:"success",style:{float:"right"},onClick:l[3]||(l[3]=t=>f.value=!0)},{default:a(()=>[i(" 创建分类 "),e(A,{class:"ml-3"},{default:a(()=>[e(D)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(w,{style:{width:"100%"}},{default:a(()=>[_e((b(),x(E,{border:"",data:r(T),style:{width:"100%"},size:"large"},{default:a(()=>[e(c,{prop:"coverImg",label:"分类封面",width:"120"},{default:a(t=>[e(X,{style:{height:"50px"},src:t.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),e(c,{prop:"name",label:"分类名称"}),e(c,{prop:"appCount",label:"app数量"}),e(c,{prop:"order",label:"排序ID"}),e(c,{prop:"status",label:"分类状态"},{default:a(t=>[e(H,{type:t.row.status===1?"success":"danger"},{default:a(()=>[i(z(r(Ve)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(c,{prop:"des",label:"描述信息",width:"300"}),e(c,{prop:"createdAt",label:"创建时间",width:"200"},{default:a(t=>[i(z(r(ye)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(c,{label:"操作",width:"200"},{default:a(t=>[e(g,{link:"",type:"primary",size:"small",onClick:ne=>F(t.row)},{default:a(()=>[i(" 编辑 ")]),_:2},1032,["onClick"]),e(Z,{title:"确认删除此分类么?",width:"200","icon-color":"red",onConfirm:ne=>O(t.row)},{reference:a(()=>[e(g,{link:"",type:"danger",size:"small"},{default:a(()=>[i(" 删除分类 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[se,r(k)]]),e(le,{class:"flex justify-end mt-5"},{default:a(()=>[e(ee,{"current-page":d.page,"onUpdate:currentPage":l[4]||(l[4]=t=>d.page=t),"page-size":d.size,"onUpdate:pageSize":l[5]||(l[5]=t=>d.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:r(S),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(oe,{modelValue:r(f),"onUpdate:modelValue":l[13]||(l[13]=t=>ve(f)?f.value=t:null),"close-on-click-modal":!1,title:r(R),width:"570",onClose:l[14]||(l[14]=t=>K(r(I)))},{footer:a(()=>[ge("span",Ce,[e(g,{onClick:l[11]||(l[11]=t=>f.value=!1)},{default:a(()=>[i("取消")]),_:1}),e(g,{type:"primary",onClick:l[12]||(l[12]=t=>Q(r(I)))},{default:a(()=>[i(z(r(j)),1)]),_:1})])]),default:a(()=>[e(q,{ref_key:"formPackageRef",ref:I,"label-position":"right","label-width":"100px",model:n,rules:N},{default:a(()=>[e(u,{label:"分类名称",prop:"name"},{default:a(()=>[e(_,{modelValue:n.name,"onUpdate:modelValue":l[6]||(l[6]=t=>n.name=t),placeholder:"请填写分类名称"},null,8,["modelValue"])]),_:1}),e(u,{label:"分类状态",prop:"status"},{default:a(()=>[e(te,{modelValue:n.status,"onUpdate:modelValue":l[7]||(l[7]=t=>n.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(u,{label:"封面地址",prop:"coverImg"},{default:a(()=>[e(_,{modelValue:n.coverImg,"onUpdate:modelValue":l[8]||(l[8]=t=>n.coverImg=t),placeholder:"请填写封面图地址 或点击 上传按钮/图片预览 上传图片"},null,8,["modelValue"])]),_:1}),e(u,{label:"封面",prop:"coverImg"},{default:a(()=>[e(ae,{class:"avatar-uploader",action:r(M),"show-file-list":!1,"on-success":G,"before-upload":L},{default:a(()=>[n.coverImg?(b(),h("img",{key:0,src:n.coverImg,style:{width:"100px"},class:"avatar"},null,8,ke)):(b(),x(A,{key:1,class:"avatar-uploader-icon"},{default:a(()=>[e(D)]),_:1}))]),_:1},8,["action"])]),_:1}),e(u,{label:"排序ID",prop:"order"},{default:a(()=>[e(_,{modelValue:n.order,"onUpdate:modelValue":l[9]||(l[9]=t=>n.order=t),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1}),e(u,{label:"分类描述",prop:"des"},{default:a(()=>[e(_,{modelValue:n.des,"onUpdate:modelValue":l[10]||(l[10]=t=>n.des=t),type:"textarea",placeholder:"请填写分类介绍信息、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof $=="function"&&$(Ie);export{Ie as default}; diff --git a/public/admin/assets/clike-c6a401fb.js b/public/admin/assets/clike-DWq2Y8ae.js similarity index 99% rename from public/admin/assets/clike-c6a401fb.js rename to public/admin/assets/clike-DWq2Y8ae.js index 260f801..a3a9a8f 100644 --- a/public/admin/assets/clike-c6a401fb.js +++ b/public/admin/assets/clike-DWq2Y8ae.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function O(e,n,t,l,s,d){this.indented=e,this.column=n,this.type=t,this.info=l,this.align=s,this.prev=d}function D(e,n,t,l){var s=e.indented;return e.context&&e.context.type=="statement"&&t!="statement"&&(s=e.context.indented),e.context=new O(s,n,t,l,null,e.context)}function x(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function V(e,n,t){if(n.prevToken=="variable"||n.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,t))||n.typeAtEndOfLine&&e.column()==e.indentation())return!0}function P(e){for(;;){if(!e||e.type=="top")return!0;if(e.type=="}"&&e.prev.info!="namespace")return!1;e=e.prev}}function h(e){var n=e.statementIndentUnit,t=e.dontAlignCalls,l=e.keywords||{},s=e.types||{},d=e.builtin||{},b=e.blockKeywords||{},_=e.defKeywords||{},w=e.atoms||{},y=e.hooks||{},te=e.multiLineStrings,re=e.indentStatements!==!1,ie=e.indentSwitch!==!1,F=e.namespaceSeparator,oe=e.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,ae=e.numberStart||/[\d\.]/,le=e.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,j=e.isOperatorChar||/[+\-*&%=<>!?|\/]/,B=e.isIdentifierChar||/[\w\$_\xa1-\uffff]/,U=e.isReservedIdentifier||!1,p,E;function K(i,a){var c=i.next();if(y[c]){var o=y[c](i,a);if(o!==!1)return o}if(c=='"'||c=="'")return a.tokenize=ce(c),a.tokenize(i,a);if(ae.test(c)){if(i.backUp(1),i.match(le))return"number";i.next()}if(oe.test(c))return p=c,null;if(c=="/"){if(i.eat("*"))return a.tokenize=A,A(i,a);if(i.eat("/"))return i.skipToEnd(),"comment"}if(j.test(c)){for(;!i.match(/^\/[\/*]/,!1)&&i.eat(j););return"operator"}if(i.eatWhile(B),F)for(;i.match(F);)i.eatWhile(B);var u=i.current();return k(l,u)?(k(b,u)&&(p="newstatement"),k(_,u)&&(E=!0),"keyword"):k(s,u)?"type":k(d,u)||U&&U(u)?(k(b,u)&&(p="newstatement"),"builtin"):k(w,u)?"atom":"variable"}function ce(i){return function(a,c){for(var o=!1,u,v=!1;(u=a.next())!=null;){if(u==i&&!o){v=!0;break}o=!o&&u=="\\"}return(v||!(o||te))&&(c.tokenize=null),"string"}}function A(i,a){for(var c=!1,o;o=i.next();){if(o=="/"&&c){a.tokenize=null;break}c=o=="*"}return"comment"}function $(i,a){e.typeFirstDefinitions&&i.eol()&&P(a.context)&&(a.typeAtEndOfLine=V(i,a,i.pos))}return{name:e.name,startState:function(i){return{tokenize:null,context:new O(-i,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(i,a){var c=a.context;if(i.sol()&&(c.align==null&&(c.align=!1),a.indented=i.indentation(),a.startOfLine=!0),i.eatSpace())return $(i,a),null;p=E=null;var o=(a.tokenize||K)(i,a);if(o=="comment"||o=="meta")return o;if(c.align==null&&(c.align=!0),p==";"||p==":"||p==","&&i.match(/^\s*(?:\/\/.*)?$/,!1))for(;a.context.type=="statement";)x(a);else if(p=="{")D(a,i.column(),"}");else if(p=="[")D(a,i.column(),"]");else if(p=="(")D(a,i.column(),")");else if(p=="}"){for(;c.type=="statement";)c=x(a);for(c.type=="}"&&(c=x(a));c.type=="statement";)c=x(a)}else p==c.type?x(a):re&&((c.type=="}"||c.type=="top")&&p!=";"||c.type=="statement"&&p=="newstatement")&&D(a,i.column(),"statement",i.current());if(o=="variable"&&(a.prevToken=="def"||e.typeFirstDefinitions&&V(i,a,i.start)&&P(a.context)&&i.match(/^\s*\(/,!1))&&(o="def"),y.token){var u=y.token(i,a,o);u!==void 0&&(o=u)}return o=="def"&&e.styleDefs===!1&&(o="variable"),a.startOfLine=!1,a.prevToken=E?"def":o||p,$(i,a),o},indent:function(i,a,c){if(i.tokenize!=K&&i.tokenize!=null||i.typeAtEndOfLine&&P(i.context))return null;var o=i.context,u=a&&a.charAt(0),v=u==o.type;if(o.type=="statement"&&u=="}"&&(o=o.prev),e.dontIndentStatements)for(;o.type=="statement"&&e.dontIndentStatements.test(o.info);)o=o.prev;if(y.indent){var q=y.indent(i,o,a,c.unit);if(typeof q=="number")return q}var se=o.prev&&o.prev.info=="switch";if(e.allmanIndentation&&/[{(]/.test(u)){for(;o.type!="top"&&o.type!="}";)o=o.prev;return o.indented}return o.type=="statement"?o.indented+(u=="{"?0:n||c.unit):o.align&&(!t||o.type!=")")?o.column+(v?0:1):o.type==")"&&!v?o.indented+(n||c.unit):o.indented+(v?0:c.unit)+(!v&&se&&!/^(?:case|default)\b/.test(a)?c.unit:0)},languageData:{indentOnInput:ie?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Object.keys(l).concat(Object.keys(s)).concat(Object.keys(d)).concat(Object.keys(w)),...e.languageData}}}function r(e){for(var n={},t=e.split(" "),l=0;l!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,n){return e.match('""')?(n.tokenize=J,n.tokenize(e,n)):!1},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"character":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(e,n){var t=n.context;return t.type=="}"&&t.align&&e.eat(">")?(n.context=new O(t.indented,t.column,t.type,t.info,null,t.prev),"operator"):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=S(1),n.tokenize(e,n)):!1}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function de(e){return function(n,t){for(var l=!1,s,d=!1;!n.eol();){if(!e&&!l&&n.match('"')){d=!0;break}if(e&&n.match('"""')){d=!0;break}s=n.next(),!l&&s=="$"&&n.match("{")&&n.skipTo("}"),l=!l&&s=="\\"&&!e}return(d||!e)&&(t.tokenize=null),"string"}}const _e=h({name:"kotlin",keywords:r("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:r("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:r("catch class do else finally for if where try while enum"),defKeywords:r("class val var object interface fun"),atoms:r("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,n){return n.prevToken=="."?"variable":"operator"},'"':function(e,n){return n.tokenize=de(e.match('""')),n.tokenize(e,n)},"/":function(e,n){return e.eat("*")?(n.tokenize=S(1),n.tokenize(e,n)):!1},indent:function(e,n,t,l){var s=t&&t.charAt(0);if((e.prevToken=="}"||e.prevToken==")")&&t=="")return e.indented;if(e.prevToken=="operator"&&t!="}"&&e.context.type!="}"||e.prevToken=="variable"&&s=="."||(e.prevToken=="}"||e.prevToken==")")&&s==".")return l*2+n.indented;if(n.align&&n.type=="}")return n.indented+(e.context.type==(t||"").charAt(0)?0:l)}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}}),xe=h({name:"shader",keywords:r("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:r("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:r("for while do if else struct"),builtin:r("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:r("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":g}}),Se=h({name:"nesc",keywords:r(T+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:I,blockKeywords:r(N),atoms:r("null true false"),hooks:{"#":g}}),Te=h({name:"objectivec",keywords:r(T+" "+Q),types:X,builtin:r(Z),blockKeywords:r(N+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:r(z+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:C,hooks:{"#":g,"*":M}}),Ie=h({name:"objectivecpp",keywords:r(T+" "+Q+" "+H),types:X,builtin:r(Z),blockKeywords:r(N+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:r(z+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:C,hooks:{"#":g,"*":M,u:m,U:m,L:m,R:m,0:f,1:f,2:f,3:f,4:f,5:f,6:f,7:f,8:f,9:f,token:function(e,n,t){if(t=="variable"&&e.peek()=="("&&(n.prevToken==";"||n.prevToken==null||n.prevToken=="}")&&Y(e.current()))return"def"}},namespaceSeparator:"::"}),Ne=h({name:"squirrel",keywords:r("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:I,blockKeywords:r("case catch class else for foreach if switch try while"),defKeywords:r("function local class"),typeFirstDefinitions:!0,atoms:r("true false null"),hooks:{"#":g}});var L=null;function ee(e){return function(n,t){for(var l=!1,s,d=!1;!n.eol();){if(!l&&n.match('"')&&(e=="single"||n.match('""'))){d=!0;break}if(!l&&n.match("``")){L=ee(e),d=!0;break}s=n.next(),l=e=="single"&&!l&&s=="\\"}return d&&(t.tokenize=null),"string"}}const De=h({name:"ceylon",keywords:r("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var n=e.charAt(0);return n===n.toUpperCase()&&n!==n.toLowerCase()},blockKeywords:r("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:r("class dynamic function interface module object package value"),builtin:r("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:r("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,n){return n.tokenize=ee(e.match('""')?"triple":"single"),n.tokenize(e,n)},"`":function(e,n){return!L||!e.match("`")?!1:(n.tokenize=L,L=null,n.tokenize(e,n))},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"string.special":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},token:function(e,n,t){if((t=="variable"||t=="type")&&n.prevToken==".")return"variableName.special"}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function pe(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function ne(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function he(e){return e.interpolationStack?e.interpolationStack.length:0}function R(e,n,t,l){var s=!1;if(n.eat(e))if(n.eat(e))s=!0;else return"string";function d(b,_){for(var w=!1;!b.eol();){if(!l&&!w&&b.peek()=="$")return pe(_),_.tokenize=ye,"string";var y=b.next();if(y==e&&!w&&(!s||b.match(e+e))){_.tokenize=null;break}w=!l&&!w&&y=="\\"}return"string"}return t.tokenize=d,d(n,t)}function ye(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=ke,null}function ke(e,n){return e.eatWhile(/[\w_]/),n.tokenize=ne(n),"variable"}const Le=h({name:"dart",keywords:r("this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when inline"),blockKeywords:r("try catch finally do else for if switch while"),builtin:r("void bool num int double dynamic var String Null Never"),atoms:r("true false null"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,n){return R("'",e,n,!1)},'"':function(e,n){return R('"',e,n,!1)},r:function(e,n){var t=e.peek();return t=="'"||t=='"'?R(e.next(),e,n,!0):!1},"}":function(e,n){return he(n)>0?(n.tokenize=ne(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=S(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var l=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(l.test(e.current()))return"type"}}}});export{me as c,De as ceylon,h as clike,ge as cpp,we as csharp,Le as dart,be as java,_e as kotlin,Se as nesC,Te as objectiveC,Ie as objectiveCpp,ve as scala,xe as shader,Ne as squirrel}; diff --git a/public/admin/assets/clike-DWq2Y8ae.js.br b/public/admin/assets/clike-DWq2Y8ae.js.br new file mode 100644 index 0000000..cb8b82d Binary files /dev/null and b/public/admin/assets/clike-DWq2Y8ae.js.br differ diff --git a/public/admin/assets/clike-DWq2Y8ae.js.gz b/public/admin/assets/clike-DWq2Y8ae.js.gz new file mode 100644 index 0000000..604bca4 Binary files /dev/null and b/public/admin/assets/clike-DWq2Y8ae.js.gz differ diff --git a/public/admin/assets/clojure-46c215dd.js b/public/admin/assets/clojure-BMjYHr_A.js similarity index 99% rename from public/admin/assets/clojure-46c215dd.js rename to public/admin/assets/clojure-BMjYHr_A.js index 337d442..4a26aef 100644 --- a/public/admin/assets/clojure-46c215dd.js +++ b/public/admin/assets/clojure-BMjYHr_A.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var d=["false","nil","true"],l=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],u=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],p=["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"],f=o(d),m=o(l),h=o(u),y=o(p),b=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,v=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,g=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,k=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function s(t,e){if(t.eatSpace()||t.eat(","))return["space",null];if(t.match(v))return[null,"number"];if(t.match(g))return[null,"string.special"];if(t.eat(/^"/))return(e.tokenize=x)(t,e);if(t.eat(/^[(\[{]/))return["open","bracket"];if(t.eat(/^[)\]}]/))return["close","bracket"];if(t.eat(/^;/))return t.skipToEnd(),["space","comment"];if(t.eat(/^[#'@^`~]/))return[null,"meta"];var r=t.match(k),n=r&&r[0];return n?n==="comment"&&e.lastToken==="("?(e.tokenize=w)(t,e):a(n,f)||n.charAt(0)===":"?["symbol","atom"]:a(n,m)||a(n,h)?["symbol","keyword"]:e.lastToken==="("?["symbol","builtin"]:["symbol","variable"]:(t.next(),t.eatWhile(function(i){return!a(i,b)}),[null,"error"])}function x(t,e){for(var r=!1,n;n=t.next();){if(n==='"'&&!r){e.tokenize=s;break}r=!r&&n==="\\"}return[null,"string"]}function w(t,e){for(var r=1,n;n=t.next();)if(n===")"&&r--,n==="("&&r++,r===0){t.backUp(1),e.tokenize=s;break}return["space","comment"]}function o(t){for(var e={},r=0;r >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function F(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}const Y={name:"cobol",startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var R=!1;(R=E.next())!=null;)if((R=='"'||R=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=C;break;default:var O=E.next(),A=E.column();if(A>=0&&A<=5)I=B;else if(A>=72&&A<=79)E.skipToEnd(),I=i;else if(O=="*"&&A==6)E.skipToEnd(),I=e;else if(O=='"'||O=="'")T.mode="string",I=C;else if(O=="'"&&!N.digit_or_colon.test(E.peek()))I=D;else if(O==".")I=t;else if(F(O,E))I=G;else{if(E.current().match(N.symbol))for(;A<71&&E.eat(N.symbol)!==void 0;)A++;U&&U.propertyIsEnumerable(E.current().toUpperCase())?I=n:P&&P.propertyIsEnumerable(E.current().toUpperCase())?I=M:S&&S.propertyIsEnumerable(E.current().toUpperCase())?I=D:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}};export{Y as cobol}; diff --git a/public/admin/assets/cobol-XrqhtCFE.js.br b/public/admin/assets/cobol-XrqhtCFE.js.br new file mode 100644 index 0000000..e139fef Binary files /dev/null and b/public/admin/assets/cobol-XrqhtCFE.js.br differ diff --git a/public/admin/assets/cobol-XrqhtCFE.js.gz b/public/admin/assets/cobol-XrqhtCFE.js.gz new file mode 100644 index 0000000..20eb472 Binary files /dev/null and b/public/admin/assets/cobol-XrqhtCFE.js.gz differ diff --git a/public/admin/assets/coffeescript-cf6fb77c.js b/public/admin/assets/coffeescript-S37ZYGWr.js similarity index 97% rename from public/admin/assets/coffeescript-cf6fb77c.js rename to public/admin/assets/coffeescript-S37ZYGWr.js index a75c427..ba971c8 100644 --- a/public/admin/assets/coffeescript-cf6fb77c.js +++ b/public/admin/assets/coffeescript-S37ZYGWr.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var k="error";function p(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var g=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,y=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,h=/^[_A-Za-z$][_A-Za-z$0-9]*/,w=/^@[_A-Za-z$][_A-Za-z$0-9]*/,z=p(["and","or","not","is","isnt","in","instanceof","typeof"]),l=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],a=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],x=p(l.concat(a));l=p(l);var b=/^('{3}|\"{3}|['\"])/,A=/^(\/{3}|\/)/,S=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],O=p(S);function u(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var i=n.scope.offset;if(e.eatSpace()){var f=e.indentation();return f>i&&n.scope.type=="coffee"?"indent":f0&&v(e,n)}if(e.eatSpace())return null;var r=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=R,n.tokenize(e,n);if(r==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var c=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(c=!0),e.match(/^-?\d+\.\d*/)&&(c=!0),e.match(/^-?\.\d+/)&&(c=!0),c)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(b))return n.tokenize=t(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(A)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=t(e.current(),!0,"string.special"),n.tokenize(e,n);e.backUp(1)}return e.match(g)||e.match(z)?"operator":e.match(y)?"punctuation":e.match(O)?"atom":e.match(w)||n.prop&&e.match(h)?"property":e.match(x)?"keyword":e.match(h)?"variable":(e.next(),k)}function t(e,n,i){return function(f,r){for(;!f.eol();)if(f.eatWhile(/[^'"\/\\]/),f.eat("\\")){if(f.next(),n&&f.eol())return i}else{if(f.match(e))return r.tokenize=u,i;f.eat(/['"\/]/)}return n&&(r.tokenize=u),i}}function R(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=u;break}e.eatWhile("#")}return"comment"}function d(e,n,i="coffee"){for(var f=0,r=!1,c=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){f=o.offset+e.indentUnit;break}i!=="coffee"?(r=null,c=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:f,type:i,prev:n.scope,align:r,alignOffset:c}}function v(e,n){if(n.scope.prev)if(n.scope.type==="coffee"){for(var i=e.indentation(),f=!1,r=n.scope;r;r=r.prev)if(i===r.offset){f=!0;break}if(!f)return!0;for(;n.scope.prev&&n.scope.offset!==i;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function E(e,n){var i=n.tokenize(e,n),f=e.current();f==="return"&&(n.dedent=!0),((f==="->"||f==="=>")&&e.eol()||i==="indent")&&d(e,n);var r="[({".indexOf(f);if(r!==-1&&d(e,n,"])}".slice(r,r+1)),l.exec(f)&&d(e,n),f=="then"&&v(e,n),i==="dedent"&&v(e,n))return k;if(r="])}".indexOf(f),r!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==f&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),i=="indent"||i=="dedent"?null:i}const Z={name:"coffeescript",startState:function(){return{tokenize:u,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var i=n.scope.align===null&&n.scope;i&&e.sol()&&(i.align=!1);var f=E(e,n);return f&&f!="comment"&&(i&&(i.align=!0),n.prop=f=="punctuation"&&e.current()=="."),f},indent:function(e,n){if(e.tokenize!=u)return 0;var i=e.scope,f=n&&"])}".indexOf(n.charAt(0))>-1;if(f)for(;i.type=="coffee"&&i.prev;)i=i.prev;var r=f&&i.type===n.charAt(0);return i.align?i.alignOffset-(r?1:0):(r?i.prev:i).offset},languageData:{commentTokens:{line:"#"}}};export{Z as coffeeScript}; diff --git a/public/admin/assets/coffeescript-S37ZYGWr.js.br b/public/admin/assets/coffeescript-S37ZYGWr.js.br new file mode 100644 index 0000000..b54edbe Binary files /dev/null and b/public/admin/assets/coffeescript-S37ZYGWr.js.br differ diff --git a/public/admin/assets/coffeescript-S37ZYGWr.js.gz b/public/admin/assets/coffeescript-S37ZYGWr.js.gz new file mode 100644 index 0000000..086dd87 Binary files /dev/null and b/public/admin/assets/coffeescript-S37ZYGWr.js.gz differ diff --git a/public/admin/assets/commonlisp-0ea12945.js b/public/admin/assets/commonlisp-5jcOZwOE.js similarity index 95% rename from public/admin/assets/commonlisp-0ea12945.js rename to public/admin/assets/commonlisp-5jcOZwOE.js index 4ec63b5..2be75b0 100644 --- a/public/admin/assets/commonlisp-0ea12945.js +++ b/public/admin/assets/commonlisp-5jcOZwOE.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var u=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,c=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,f=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,d=/[^\s'`,@()\[\]";]/,l;function i(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!d.test(n)){e.backUp(1);break}return e.current()}function o(e,n){if(e.eatSpace())return l="ws",null;if(e.match(f))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=p)(e,n);if(t=="(")return l="open","bracket";if(t==")"||t=="]")return l="close","bracket";if(t==";")return e.skipToEnd(),l="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"variableName"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(l="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=x)(e,n):t==":"?(i(e),"meta"):t=="\\"?(e.next(),i(e),"string.special"):"error"}else{var r=i(e);return r=="."?null:(l="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(u.test(r)||c.test(r))?"keyword":r.charAt(0)=="&"?"variableName.special":"variableName")}}function p(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=o;break}t=!t&&r=="\\"}return"string"}function x(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=o;break}r=t}return l="ws","comment"}const s={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:o}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),l=null;var t=n.tokenize(e,n);return l!="ws"&&(n.ctx.indentTo==null?l=="symbol"&&c.test(e.current())?n.ctx.indentTo=n.ctx.start+e.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=l),l=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:l=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e){var n=e.ctx.indentTo;return typeof n=="number"?n:e.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}};export{s as commonLisp}; diff --git a/public/admin/assets/commonlisp-5jcOZwOE.js.br b/public/admin/assets/commonlisp-5jcOZwOE.js.br new file mode 100644 index 0000000..2054627 Binary files /dev/null and b/public/admin/assets/commonlisp-5jcOZwOE.js.br differ diff --git a/public/admin/assets/commonlisp-5jcOZwOE.js.gz b/public/admin/assets/commonlisp-5jcOZwOE.js.gz new file mode 100644 index 0000000..a805e3f Binary files /dev/null and b/public/admin/assets/commonlisp-5jcOZwOE.js.gz differ diff --git a/public/admin/assets/config-e611a8d0.js b/public/admin/assets/config-BBuBLjtx.js similarity index 66% rename from public/admin/assets/config-e611a8d0.js rename to public/admin/assets/config-BBuBLjtx.js index c3adefd..ae75e25 100644 --- a/public/admin/assets/config-e611a8d0.js +++ b/public/admin/assets/config-BBuBLjtx.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - -import{Y as o}from"./index-e656eb90.js";const g={queryAllConfig:()=>o.get("config/queryAll"),queryGptKeys:()=>o.get("config/queryGptKeys"),setGptKeys:t=>o.post("config/setGptKeys",t),queryConfig:t=>o.post("config/query",t),copyright:()=>o.get("config/copyright"),setConfig:t=>o.post("config/set",t)};export{g as a}; + +import{I as o}from"./index-B-LUCRde.js";const g={queryAllConfig:()=>o.get("config/queryAll"),queryGptKeys:()=>o.get("config/queryGptKeys"),setGptKeys:t=>o.post("config/setGptKeys",t),queryConfig:t=>o.post("config/query",t),copyright:()=>o.get("config/copyright"),setConfig:t=>o.post("config/set",t)};export{g as a}; diff --git a/public/admin/assets/config-BBuBLjtx.js.br b/public/admin/assets/config-BBuBLjtx.js.br new file mode 100644 index 0000000..be2da0a Binary files /dev/null and b/public/admin/assets/config-BBuBLjtx.js.br differ diff --git a/public/admin/assets/config-BBuBLjtx.js.gz b/public/admin/assets/config-BBuBLjtx.js.gz new file mode 100644 index 0000000..838deb1 Binary files /dev/null and b/public/admin/assets/config-BBuBLjtx.js.gz differ diff --git a/public/admin/assets/cos-5f580c9b.js b/public/admin/assets/cos-5f580c9b.js deleted file mode 100644 index 93dc467..0000000 --- a/public/admin/assets/cos-5f580c9b.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as B}from"./index-fd8a5577.js";import{a as f}from"./config-e611a8d0.js";import{d as w,Q as R,r as p,x as h,h as a,o as q,c as v,e,f as o,a as S,l as O,E as g,q as b}from"./index-e656eb90.js";const U={class:"flex justify-between"},j=S("b",null,"COS参数设置",-1),E=w({__name:"cos",setup(N){const t=R({cosSecretId:"",cosSecretKey:"",cosBucket:"",cosRegion:""}),y=p({cosSecretKey:[{required:!0,trigger:"blur",message:"请填写SecretKey"}],cosBucket:[{required:!0,trigger:"blur",message:"请填写存储桶名称"}],cosRegion:[{required:!0,trigger:"blur",message:"请填写存储桶所属地域"}],cosSecretId:[{required:!0,trigger:"blur",message:"请填写SecretId"}]}),i=p();async function m(){const r=await f.queryConfig({keys:["cosSecretKey","cosBucket","cosRegion","cosSecretId"]});Object.assign(t,r.data)}function x(){var r;(r=i.value)==null||r.validate(async l=>{if(l){try{await f.setConfig({settings:V(t)}),g.success("变更配置信息成功")}catch{}m()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(l=>({configKey:l,configVal:r[l]}))}return h(()=>{m()}),(r,l)=>{const _=a("el-alert"),k=B,C=a("el-button"),c=a("el-input"),s=a("el-form-item"),u=a("el-col"),d=a("el-row"),I=a("el-form"),K=a("el-card");return q(),v("div",null,[e(k,null,{default:o(()=>[e(_,{closable:!1,"show-icon":"",title:"COS参数说明",description:"当前默认使用腾讯云COS对象存储、如果您有特殊的对接通道、将为您开放API对接!!",type:"success"})]),_:1}),e(K,{style:{margin:"20px"}},{header:o(()=>[S("div",U,[j,e(C,{class:"button",text:"",onClick:x},{default:o(()=>[O(" 保存设置 ")]),_:1})])]),default:o(()=>[e(I,{ref_key:"formRef",ref:i,rules:y.value,model:t,"label-width":"120px"},{default:o(()=>[e(d,null,{default:o(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(s,{label:"SecretId",prop:"cosSecretId"},{default:o(()=>[e(c,{modelValue:t.cosSecretId,"onUpdate:modelValue":l[0]||(l[0]=n=>t.cosSecretId=n),placeholder:"请填写SecretId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:o(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(s,{label:"SecretKey",prop:"cosSecretKey"},{default:o(()=>[e(c,{modelValue:t.cosSecretKey,"onUpdate:modelValue":l[1]||(l[1]=n=>t.cosSecretKey=n),placeholder:"请填写SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:o(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(s,{label:"存储桶名称",prop:"cosBucket"},{default:o(()=>[e(c,{modelValue:t.cosBucket,"onUpdate:modelValue":l[2]||(l[2]=n=>t.cosBucket=n),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:o(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:o(()=>[e(s,{label:"所属地域",prop:"cosRegion"},{default:o(()=>[e(c,{modelValue:t.cosRegion,"onUpdate:modelValue":l[3]||(l[3]=n=>t.cosRegion=n),placeholder:"请填写所属地域(ap-guangzhou)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(E);export{E as default}; diff --git a/public/admin/assets/cos-BwsDEZux.js b/public/admin/assets/cos-BwsDEZux.js new file mode 100644 index 0000000..dc79ec5 --- /dev/null +++ b/public/admin/assets/cos-BwsDEZux.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{a as _}from"./config-BBuBLjtx.js";import{d as B,m as R,r as p,a as h,n as a,g as v,c as q,b as e,w as l,e as S,h as O,E as g,k as b}from"./index-B-LUCRde.js";const U={class:"flex justify-between"},j=S("b",null,"COS参数设置",-1),E=B({__name:"cos",setup(N){const t=R({cosSecretId:"",cosSecretKey:"",cosBucket:"",cosRegion:""}),y=p({cosSecretKey:[{required:!0,trigger:"blur",message:"请填写SecretKey"}],cosBucket:[{required:!0,trigger:"blur",message:"请填写存储桶名称"}],cosRegion:[{required:!0,trigger:"blur",message:"请填写存储桶所属地域"}],cosSecretId:[{required:!0,trigger:"blur",message:"请填写SecretId"}]}),i=p();async function m(){const r=await _.queryConfig({keys:["cosSecretKey","cosBucket","cosRegion","cosSecretId"]});Object.assign(t,r.data)}function x(){var r;(r=i.value)==null||r.validate(async o=>{if(o){try{await _.setConfig({settings:V(t)}),g.success("变更配置信息成功")}catch{}m()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(o=>({configKey:o,configVal:r[o]}))}return h(()=>{m()}),(r,o)=>{const f=a("el-alert"),k=w,C=a("el-button"),s=a("el-input"),n=a("el-form-item"),u=a("el-col"),d=a("el-row"),I=a("el-form"),K=a("el-card");return v(),q("div",null,[e(k,null,{default:l(()=>[e(f,{closable:!1,"show-icon":"",title:"COS参数说明",description:"当前默认使用腾讯云COS对象存储、如果您有特殊的对接通道、将为您开放API对接!!",type:"success"})]),_:1}),e(K,{style:{margin:"20px"}},{header:l(()=>[S("div",U,[j,e(C,{class:"button",text:"",onClick:x},{default:l(()=>[O(" 保存设置 ")]),_:1})])]),default:l(()=>[e(I,{ref_key:"formRef",ref:i,rules:y.value,model:t,"label-width":"120px"},{default:l(()=>[e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"SecretId",prop:"cosSecretId"},{default:l(()=>[e(s,{modelValue:t.cosSecretId,"onUpdate:modelValue":o[0]||(o[0]=c=>t.cosSecretId=c),placeholder:"请填写SecretId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"SecretKey",prop:"cosSecretKey"},{default:l(()=>[e(s,{modelValue:t.cosSecretKey,"onUpdate:modelValue":o[1]||(o[1]=c=>t.cosSecretKey=c),placeholder:"请填写SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"存储桶名称",prop:"cosBucket"},{default:l(()=>[e(s,{modelValue:t.cosBucket,"onUpdate:modelValue":o[2]||(o[2]=c=>t.cosBucket=c),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"所属地域",prop:"cosRegion"},{default:l(()=>[e(s,{modelValue:t.cosRegion,"onUpdate:modelValue":o[3]||(o[3]=c=>t.cosRegion=c),placeholder:"请填写所属地域(ap-guangzhou)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(E);export{E as default}; diff --git a/public/admin/assets/cos-BwsDEZux.js.br b/public/admin/assets/cos-BwsDEZux.js.br new file mode 100644 index 0000000..328afc4 Binary files /dev/null and b/public/admin/assets/cos-BwsDEZux.js.br differ diff --git a/public/admin/assets/cos-BwsDEZux.js.gz b/public/admin/assets/cos-BwsDEZux.js.gz new file mode 100644 index 0000000..9a69fd3 Binary files /dev/null and b/public/admin/assets/cos-BwsDEZux.js.gz differ diff --git a/public/admin/assets/crami-42567f32.js b/public/admin/assets/crami-42567f32.js deleted file mode 100644 index b8625d9..0000000 --- a/public/admin/assets/crami-42567f32.js +++ /dev/null @@ -1,10 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as be}from"./index-fd8a5577.js";import{A as x}from"./package-c2d59ee2.js";import{d as ye,r as c,Q as S,B as Ce,x as ve,h as u,R as we,o as s,c as v,e as t,f as a,S as z,U as q,b as n,l as d,a as A,I as _,J as k,w as ke,t as M,V as $,P as Ve,E as j,q as H}from"./index-e656eb90.js";import{u as he}from"./utcformatTime-e76e5157.js";import{C as Ue}from"./index-d5406c70.js";const xe={style:{float:"right"}},Me={key:1},Ie={class:"dialog-footer"},ze={style:{"max-height":"200px",overflow:"scroll"}},qe={class:"dialog-footer"},Ae=ye({__name:"crami",setup(De){const L=c(),N=c(0),w=c(!1),V=c(!1),D=c(),h=c(0),T=c([]),P=c([]),b=c(!1),y=c([]),B=c([]),i=S({packageId:null,count:1,drawMjCount:0,model3Count:0,model4Count:0}),f=S({useId:"",status:"",page:1,size:15}),K=S({packageId:[{required:!0,message:"请选择套餐类型",trigger:"change"}],days:[{required:!0,message:"请填写有效期天数",trigger:"blur"}],count:[{required:!0,message:"请填写想要生成的数量",trigger:"blur"}],drawMjCount:[{required:!0,message:"卡密携带绘画数量",trigger:"blur"}],model3Count:[{required:!0,message:"卡密携带基础模型对话数量",trigger:"blur"}],model4Count:[{required:!0,message:"卡密携带高级模型金额",trigger:"blur"}]}),R=c([]);async function g(){try{b.value=!0;const o=await x.queryAllCrami(f),{rows:l,count:C}=o.data;b.value=!1,N.value=C,R.value=l}catch{b.value=!1}}async function W(o){const l=await Ve.queryAllUser({size:30,username:o});P.value=l.data.rows}async function X(){const o=await x.queryAllPackage({size:100});T.value=o.data.rows}function Z(){X(),w.value=!0}async function E(o){o==null||o.validate(async l=>{l&&(await x.createCrami(i),j({type:"success",message:"生成卡密成功!"}),w.value=!1,g())})}function ee(o){o==null||o.resetFields()}function le(o){o==null||o.resetFields(),g()}async function te(o){await x.delCrami({id:o.id}),j({type:"success",message:"删除卡密成功!"}),g()}async function ae(o){y.value=o}async function oe(){try{b.value=!0,await x.batchDelCrami({ids:y.value.map(o=>o.id)}),b.value=!1,j({type:"success",message:"删除卡密成功!"}),g()}catch{b.value=!1}}function ne(){V.value=!0;const o=y.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);B.value=o}function re(o){return o.join(` -`)}function ue(o,l){const C=re(o),U=new Blob([C],{type:"text/plain"}),m=URL.createObjectURL(U),r=document.createElement("a");r.href=m,r.download=`${l}.txt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),setTimeout(()=>URL.revokeObjectURL(m),0)}function se(){const o=y.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);ue(o,"卡密信息")}const de=Ce(()=>R.value.some(o=>o.email));return ve(()=>{g()}),(o,l)=>{const C=u("el-option"),U=u("el-select"),m=u("el-form-item"),r=u("el-button"),ie=u("Plus"),me=u("el-icon"),F=u("el-form"),O=be,p=u("el-table-column"),Y=u("el-tag"),pe=u("el-popconfirm"),ce=u("el-table"),fe=u("el-pagination"),J=u("el-row"),_e=u("el-switch"),I=u("el-input"),Q=u("el-dialog"),ge=we("loading");return s(),v("div",null,[t(O,null,{default:a(()=>[t(F,{ref_key:"formRef",ref:L,inline:!0,model:f},{default:a(()=>[t(m,{label:"用户名称",prop:"useId"},{default:a(()=>[t(U,{modelValue:f.useId,"onUpdate:modelValue":l[0]||(l[0]=e=>f.useId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":W},{default:a(()=>[(s(!0),v(z,null,q(n(P),e=>(s(),_(C,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(m,{label:"卡密状态",prop:"status"},{default:a(()=>[t(U,{modelValue:f.status,"onUpdate:modelValue":l[1]||(l[1]=e=>f.status=e),placeholder:"请选择卡密状态",clearable:""},{default:a(()=>[(s(!0),v(z,null,q(n(Ue),e=>(s(),_(C,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(m,null,{default:a(()=>[t(r,{type:"primary",onClick:g},{default:a(()=>[d(" 查询 ")]),_:1}),t(r,{onClick:l[2]||(l[2]=e=>le(n(L)))},{default:a(()=>[d(" 重置 ")]),_:1})]),_:1}),A("div",xe,[n(y).length?(s(),_(r,{key:0,type:"danger",onClick:ne},{default:a(()=>[d(" 显示选中卡密 ")]),_:1})):k("",!0),n(y).length?(s(),_(r,{key:1,type:"danger",onClick:oe},{default:a(()=>[d(" 批量删除卡密 ")]),_:1})):k("",!0),n(y).length?(s(),_(r,{key:2,type:"primary",onClick:se},{default:a(()=>[d(" 批量导出卡密 ")]),_:1})):k("",!0),t(r,{type:"success",onClick:Z},{default:a(()=>[d(" 批量生成卡密 "),t(me,{class:"ml-3"},{default:a(()=>[t(ie)]),_:1})]),_:1})])]),_:1},8,["model"])]),_:1}),t(O,{style:{width:"100%"}},{default:a(()=>[ke((s(),_(ce,{border:"",data:n(R),style:{width:"100%"},size:"large",onSelectionChange:ae},{default:a(()=>[t(p,{type:"selection",width:"55"}),t(p,{prop:"code",label:"卡密账号",width:"180"}),t(p,{prop:"packageName",label:"套餐类型",width:"180"},{default:a(e=>[t(Y,{type:e.row.packageName?"success":"danger"},{default:a(()=>[d(M(e.row.packageName||"自定义卡密"),1)]),_:2},1032,["type"])]),_:1}),t(p,{prop:"code",label:"卡密状态",width:"180"},{default:a(e=>[t(Y,{type:e.row.status?"danger":"success"},{default:a(()=>[d(M(e.row.status?"已使用":"未使用"),1)]),_:2},1032,["type"])]),_:1}),t(p,{prop:"useId",label:"使用人ID",width:"90"}),n(de)?(s(),_(p,{key:0,prop:"email",label:"使用人邮箱",width:"180"})):k("",!0),t(p,{prop:"model3Count",label:"基础模型额度"}),t(p,{prop:"model4Count",label:"高级模型额度"}),t(p,{prop:"drawMjCount",label:"绘画模型额度"}),t(p,{prop:"days",label:"有效天数"},{default:a(e=>[d(M(e.row.days>0?`${e.row.days}天`:"永久"),1)]),_:1}),t(p,{prop:"createdAt",label:"注册时间",width:"200"},{default:a(e=>[d(M(n(he)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(p,{label:"操作"},{default:a(e=>[t(pe,{title:"确认删除此卡密么?",width:"200","icon-color":"red",onConfirm:G=>te(e.row)},{reference:a(()=>[t(r,{link:"",type:"danger",size:"small"},{default:a(()=>[d(" 删除卡密 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[ge,n(b)]]),t(J,{class:"flex justify-end mt-5"},{default:a(()=>[t(fe,{"current-page":f.page,"onUpdate:currentPage":l[3]||(l[3]=e=>f.page=e),"page-size":f.size,"onUpdate:pageSize":l[4]||(l[4]=e=>f.size=e),class:"mr-5","page-sizes":[15,50,100,200],layout:"total, sizes, prev, pager, next, jumper",total:n(N),onSizeChange:g,onCurrentChange:g},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(Q,{modelValue:n(w),"onUpdate:modelValue":l[13]||(l[13]=e=>$(w)?w.value=e:null),title:"生成卡密",width:"450",onClose:l[14]||(l[14]=e=>ee(n(D)))},{footer:a(()=>[A("span",Ie,[t(r,{onClick:l[11]||(l[11]=e=>w.value=!1)},{default:a(()=>[d("放弃生成")]),_:1}),t(r,{type:"primary",onClick:l[12]||(l[12]=e=>E(n(D)))},{default:a(()=>[d(" 确定生成 ")]),_:1})])]),default:a(()=>[t(F,{ref_key:"formCramiRef",ref:D,"label-position":"right","label-width":"100px",model:i,rules:K},{default:a(()=>[t(J,null,{default:a(()=>[t(m,{label:"是否生成自定义卡密","label-width":"170px"},{default:a(()=>[t(_e,{modelValue:n(h),"onUpdate:modelValue":l[5]||(l[5]=e=>$(h)?h.value=e:null),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1}),n(h)?k("",!0):(s(),_(m,{key:0,label:"套餐类型",prop:"packageId"},{default:a(()=>[t(U,{modelValue:i.packageId,"onUpdate:modelValue":l[6]||(l[6]=e=>i.packageId=e),modelModifiers:{number:!0},placeholder:"请选择套餐类型",clearable:"",style:{width:"100%"}},{default:a(()=>[(s(!0),v(z,null,q(n(T),e=>(s(),_(C,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})),n(h)?(s(),v("div",Me,[t(m,{label:"基础模型额度",prop:"model3Count"},{default:a(()=>[t(I,{modelValue:i.model3Count,"onUpdate:modelValue":l[7]||(l[7]=e=>i.model3Count=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带基础模型额度"},null,8,["modelValue"])]),_:1}),t(m,{label:"高级模型额度",prop:"model4Count"},{default:a(()=>[t(I,{modelValue:i.model4Count,"onUpdate:modelValue":l[8]||(l[8]=e=>i.model4Count=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带高级模型额度"},null,8,["modelValue"])]),_:1}),t(m,{label:"绘画模型额度",prop:"drawMjCount"},{default:a(()=>[t(I,{modelValue:i.drawMjCount,"onUpdate:modelValue":l[9]||(l[9]=e=>i.drawMjCount=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带绘画积分额度"},null,8,["modelValue"])]),_:1})])):k("",!0),t(m,{label:"生成数量",prop:"count"},{default:a(()=>[t(I,{modelValue:i.count,"onUpdate:modelValue":l[10]||(l[10]=e=>i.count=e),modelModifiers:{number:!0},type:"number",placeholder:"本次生成的张数"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"]),t(Q,{modelValue:n(V),"onUpdate:modelValue":l[16]||(l[16]=e=>$(V)?V.value=e:null),title:"卡密列表"},{footer:a(()=>[A("span",qe,[t(r,{onClick:l[15]||(l[15]=e=>V.value=!1)},{default:a(()=>[d("关闭弹窗")]),_:1})])]),default:a(()=>[A("div",ze,[(s(!0),v(z,null,q(n(B),(e,G)=>(s(),v("div",{key:G},M(e),1))),128))])]),_:1},8,["modelValue"])])}}});typeof H=="function"&&H(Ae);export{Ae as default}; diff --git a/public/admin/assets/crami-D9NB8WxL.js b/public/admin/assets/crami-D9NB8WxL.js new file mode 100644 index 0000000..8b0b1e0 --- /dev/null +++ b/public/admin/assets/crami-D9NB8WxL.js @@ -0,0 +1,9 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as Ce,r as m,m as L,p as we,a as ke,n as u,q as he,g as r,c as w,b as t,w as a,i as n,z as _,h as s,A as V,F as A,s as D,y as Ve,t as M,e as b,D as N,K as xe,E as T,_ as Ue,j as Me,k as X}from"./index-B-LUCRde.js";import{A as $}from"./package-B-9_IWpX.js";import{C as $e}from"./index-J5zVJPyL.js";import{u as Ie}from"./utcformatTime-Bq4gDWNx.js";const ze=b("div",{class:"flex items-center gap-4"},"卡密设置",-1),Ae=b("div",{class:"text-sm/6"},[b("div",null,"可生成套餐类卡密与自定义卡密,套餐类卡密的设置项更多。"),b("div",null," 过期时间表示卡密的过期时间,不是用户充值后的有效期,设置为0表示永不过期。 ")],-1),De=b("div",{style:{float:"right"}},null,-1),je={key:1},qe={class:"dialog-footer"},Se={style:{"max-height":"200px",overflow:"scroll"}},Re={class:"dialog-footer"},Le=Ce({__name:"crami",setup(Ne){const B=m(),P=m(0),k=m(!1),x=m(!1),j=m(),U=m(0),F=m([]),O=m([]),v=m(!1),C=m([]),Y=m([]),d=L({packageId:null,count:1,drawMjCount:0,model3Count:0,model4Count:0}),p=L({useId:"",status:"",page:1,size:15}),Z=L({packageId:[{required:!0,message:"请选择套餐类型",trigger:"change"}],days:[{required:!0,message:"请填写有效期天数",trigger:"blur"}],count:[{required:!0,message:"请填写想要生成的数量",trigger:"blur"}],drawMjCount:[{required:!0,message:"卡密携带绘画数量",trigger:"blur"}],model3Count:[{required:!0,message:"卡密携带基础模型对话数量",trigger:"blur"}],model4Count:[{required:!0,message:"卡密携带高级模型金额",trigger:"blur"}]}),q=m([]);async function g(){try{v.value=!0;const o=await $.queryAllCrami(p),{rows:l,count:y}=o.data;v.value=!1,P.value=y,q.value=l}catch{v.value=!1}}async function E(o){const l=await xe.queryAllUser({size:30,username:o});O.value=l.data.rows}async function ee(){const o=await $.queryAllPackage({size:100});F.value=o.data.rows}function le(){ee(),k.value=!0}async function te(o){o==null||o.validate(async l=>{l&&(await $.createCrami(d),T({type:"success",message:"生成卡密成功!"}),k.value=!1,g())})}function ae(o){o==null||o.resetFields()}function oe(o){o==null||o.resetFields(),g()}async function ne(o){await $.delCrami({id:o.id}),T({type:"success",message:"删除卡密成功!"}),g()}async function re(o){C.value=o}async function ue(){try{v.value=!0,await $.batchDelCrami({ids:C.value.map(o=>o.id)}),v.value=!1,T({type:"success",message:"删除卡密成功!"}),g()}catch{v.value=!1}}function se(){x.value=!0;const o=C.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);Y.value=o}function de(o){return o.join(` +`)}function ie(o,l){const y=de(o),S=new Blob([y],{type:"text/plain"}),I=URL.createObjectURL(S),c=document.createElement("a");c.href=I,c.download=`${l}.txt`,document.body.appendChild(c),c.click(),document.body.removeChild(c),setTimeout(()=>URL.revokeObjectURL(I),0)}function me(){const o=C.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);ie(o,"卡密信息")}const pe=we(()=>q.value.some(o=>o.email));return ke(()=>{g()}),(o,l)=>{const y=Ue,S=Me,I=ve,c=u("el-option"),R=u("el-select"),f=u("el-form-item"),h=u("el-button"),H=u("el-form"),K=be,i=u("el-table-column"),G=u("el-tag"),ce=u("el-popconfirm"),fe=u("el-table"),_e=u("el-pagination"),J=u("el-row"),ge=u("el-switch"),z=u("el-input"),Q=u("el-dialog"),ye=he("loading");return r(),w("div",null,[t(I,null,{title:a(()=>[ze]),content:a(()=>[Ae]),default:a(()=>[n(C).length?(r(),_(y,{key:0,outline:"",type:"danger",onClick:se},{default:a(()=>[s(" 显示选中卡密 ")]),_:1})):V("",!0),n(C).length?(r(),_(y,{key:1,outline:"",type:"danger",onClick:ue},{default:a(()=>[s(" 批量删除卡密 ")]),_:1})):V("",!0),n(C).length?(r(),_(y,{key:2,outline:"",type:"primary",onClick:me},{default:a(()=>[s(" 批量导出卡密 ")]),_:1})):V("",!0),t(y,{outline:"",type:"success",onClick:le},{default:a(()=>[t(S,{name:"ic:baseline-plus"}),s(" 批量生成卡密 ")]),_:1})]),_:1}),t(K,null,{default:a(()=>[t(H,{ref_key:"formRef",ref:B,inline:!0,model:p},{default:a(()=>[t(f,{label:"用户名称",prop:"useId"},{default:a(()=>[t(R,{modelValue:p.useId,"onUpdate:modelValue":l[0]||(l[0]=e=>p.useId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":E,style:{width:"160px"}},{default:a(()=>[(r(!0),w(A,null,D(n(O),e=>(r(),_(c,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"卡密状态",prop:"status"},{default:a(()=>[t(R,{modelValue:p.status,"onUpdate:modelValue":l[1]||(l[1]=e=>p.status=e),placeholder:"请选择卡密状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(r(!0),w(A,null,D(n($e),e=>(r(),_(c,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:a(()=>[t(h,{type:"primary",onClick:g},{default:a(()=>[s(" 查询 ")]),_:1}),t(h,{onClick:l[2]||(l[2]=e=>oe(n(B)))},{default:a(()=>[s(" 重置 ")]),_:1})]),_:1}),De]),_:1},8,["model"])]),_:1}),t(K,{style:{width:"100%"}},{default:a(()=>[Ve((r(),_(fe,{border:"",data:n(q),style:{width:"100%"},size:"large",onSelectionChange:re},{default:a(()=>[t(i,{type:"selection",width:"55"}),t(i,{prop:"code",label:"卡密账号",width:"180"}),t(i,{prop:"packageName",label:"套餐类型",width:"180"},{default:a(e=>[t(G,{type:e.row.packageName?"success":"danger"},{default:a(()=>[s(M(e.row.packageName||"自定义卡密"),1)]),_:2},1032,["type"])]),_:1}),t(i,{prop:"code",label:"卡密状态",width:"180"},{default:a(e=>[t(G,{type:e.row.status?"danger":"success"},{default:a(()=>[s(M(e.row.status?"已使用":"未使用"),1)]),_:2},1032,["type"])]),_:1}),t(i,{prop:"useId",label:"使用人ID",width:"90"}),n(pe)?(r(),_(i,{key:0,prop:"email",label:"使用人邮箱",width:"180"})):V("",!0),t(i,{prop:"model3Count",label:"基础模型额度"}),t(i,{prop:"model4Count",label:"高级模型额度"}),t(i,{prop:"drawMjCount",label:"绘画模型额度"}),t(i,{prop:"days",label:"有效天数"},{default:a(e=>[s(M(e.row.days>0?`${e.row.days}天`:"永久"),1)]),_:1}),t(i,{prop:"createdAt",label:"注册时间",width:"200"},{default:a(e=>[s(M(n(Ie)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(i,{label:"操作"},{default:a(e=>[t(ce,{title:"确认删除此卡密么?",width:"200","icon-color":"red",onConfirm:W=>ne(e.row)},{reference:a(()=>[t(h,{link:"",type:"danger",size:"small"},{default:a(()=>[s(" 删除卡密 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[ye,n(v)]]),t(J,{class:"mt-5 flex justify-end"},{default:a(()=>[t(_e,{"current-page":p.page,"onUpdate:currentPage":l[3]||(l[3]=e=>p.page=e),"page-size":p.size,"onUpdate:pageSize":l[4]||(l[4]=e=>p.size=e),class:"mr-5","page-sizes":[15,50,100,200],layout:"total, sizes, prev, pager, next, jumper",total:n(P),onSizeChange:g,onCurrentChange:g},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(Q,{modelValue:n(k),"onUpdate:modelValue":l[13]||(l[13]=e=>N(k)?k.value=e:null),title:"生成卡密",width:"450",onClose:l[14]||(l[14]=e=>ae(n(j)))},{footer:a(()=>[b("span",qe,[t(h,{onClick:l[11]||(l[11]=e=>k.value=!1)},{default:a(()=>[s("放弃生成")]),_:1}),t(h,{type:"primary",onClick:l[12]||(l[12]=e=>te(n(j)))},{default:a(()=>[s(" 确定生成 ")]),_:1})])]),default:a(()=>[t(H,{ref_key:"formCramiRef",ref:j,"label-position":"right","label-width":"100px",model:d,rules:Z},{default:a(()=>[t(J,null,{default:a(()=>[t(f,{label:"是否生成自定义卡密","label-width":"170px"},{default:a(()=>[t(ge,{modelValue:n(U),"onUpdate:modelValue":l[5]||(l[5]=e=>N(U)?U.value=e:null),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1}),n(U)?V("",!0):(r(),_(f,{key:0,label:"套餐类型",prop:"packageId"},{default:a(()=>[t(R,{modelValue:d.packageId,"onUpdate:modelValue":l[6]||(l[6]=e=>d.packageId=e),modelModifiers:{number:!0},placeholder:"请选择套餐类型",clearable:"",style:{width:"100%"}},{default:a(()=>[(r(!0),w(A,null,D(n(F),e=>(r(),_(c,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})),n(U)?(r(),w("div",je,[t(f,{label:"基础模型额度",prop:"model3Count"},{default:a(()=>[t(z,{modelValue:d.model3Count,"onUpdate:modelValue":l[7]||(l[7]=e=>d.model3Count=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带基础模型额度"},null,8,["modelValue"])]),_:1}),t(f,{label:"高级模型额度",prop:"model4Count"},{default:a(()=>[t(z,{modelValue:d.model4Count,"onUpdate:modelValue":l[8]||(l[8]=e=>d.model4Count=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带高级模型额度"},null,8,["modelValue"])]),_:1}),t(f,{label:"绘画模型额度",prop:"drawMjCount"},{default:a(()=>[t(z,{modelValue:d.drawMjCount,"onUpdate:modelValue":l[9]||(l[9]=e=>d.drawMjCount=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带绘画积分额度"},null,8,["modelValue"])]),_:1})])):V("",!0),t(f,{label:"生成数量",prop:"count"},{default:a(()=>[t(z,{modelValue:d.count,"onUpdate:modelValue":l[10]||(l[10]=e=>d.count=e),modelModifiers:{number:!0},type:"number",placeholder:"本次生成的张数"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"]),t(Q,{modelValue:n(x),"onUpdate:modelValue":l[16]||(l[16]=e=>N(x)?x.value=e:null),title:"卡密列表"},{footer:a(()=>[b("span",Re,[t(h,{onClick:l[15]||(l[15]=e=>x.value=!1)},{default:a(()=>[s("关闭弹窗")]),_:1})])]),default:a(()=>[b("div",Se,[(r(!0),w(A,null,D(n(Y),(e,W)=>(r(),w("div",{key:W},M(e),1))),128))])]),_:1},8,["modelValue"])])}}});typeof X=="function"&&X(Le);export{Le as default}; diff --git a/public/admin/assets/crami-D9NB8WxL.js.br b/public/admin/assets/crami-D9NB8WxL.js.br new file mode 100644 index 0000000..7228991 Binary files /dev/null and b/public/admin/assets/crami-D9NB8WxL.js.br differ diff --git a/public/admin/assets/crami-D9NB8WxL.js.gz b/public/admin/assets/crami-D9NB8WxL.js.gz new file mode 100644 index 0000000..f3f2e45 Binary files /dev/null and b/public/admin/assets/crami-D9NB8WxL.js.gz differ diff --git a/public/admin/assets/crystal-594a913c.js b/public/admin/assets/crystal-SjHAIU92.js similarity index 96% rename from public/admin/assets/crystal-594a913c.js rename to public/admin/assets/crystal-SjHAIU92.js index 8182887..5bfbbad 100644 --- a/public/admin/assets/crystal-594a913c.js +++ b/public/admin/assets/crystal-SjHAIU92.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - -function l(n,e){return new RegExp((e?"":"^")+"(?:"+n.join("|")+")"+(e?"$":"\\b"))}function o(n,e,r){return r.tokenize.push(n),n(e,r)}var v=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,z=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,g=/^(?:\[\][?=]?)/,b=/^(?:\.(?:\.{2})?|->|[?:])/,p=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,d=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,E=l(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),S=l(["true","false","nil","self"]),T=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],A=l(T),s=["if","unless","case","while","until","begin","then"],O=l(s),x=["end","else","elsif","rescue","ensure"],K=l(x),I=["\\)","\\}","\\]"],D=new RegExp("^(?:"+I.join("|")+")$"),w={def:y,fun:y,macro:N,class:c,module:c,struct:c,lib:c,enum:c,union:c},k={"[":"]","{":"}","(":")","<":">"};function _(n,e){if(n.eatSpace())return null;if(e.lastToken!="\\"&&n.match("{%",!1))return o(f("%","%"),n,e);if(e.lastToken!="\\"&&n.match("{{",!1))return o(f("{","}"),n,e);if(n.peek()=="#")return n.skipToEnd(),"comment";var r;if(n.match(p))return n.eat(/[?!]/),r=n.current(),n.eat(":")?"atom":e.lastToken=="."?"property":E.test(r)?(A.test(r)?!(r=="fun"&&e.blocks.indexOf("lib")>=0)&&!(r=="def"&&e.lastToken=="abstract")&&(e.blocks.push(r),e.currentIndent+=1):(e.lastStyle=="operator"||!e.lastStyle)&&O.test(r)?(e.blocks.push(r),e.currentIndent+=1):r=="end"&&(e.blocks.pop(),e.currentIndent-=1),w.hasOwnProperty(r)&&e.tokenize.push(w[r]),"keyword"):S.test(r)?"atom":"variable";if(n.eat("@"))return n.peek()=="["?o(h("[","]","meta"),n,e):(n.eat("@"),n.match(p)||n.match(d),"propertyName");if(n.match(d))return"tag";if(n.eat(":"))return n.eat('"')?o(F('"',"atom",!1),n,e):n.match(p)||n.match(d)||n.match(v)||n.match(z)||n.match(g)?"atom":(n.eat(":"),"operator");if(n.eat('"'))return o(F('"',"string",!0),n,e);if(n.peek()=="%"){var t="string",u=!0,i;if(n.match("%r"))t="string.special",i=n.next();else if(n.match("%w"))u=!1,i=n.next();else if(n.match("%q"))u=!1,i=n.next();else if(i=n.match(/^%([^\w\s=])/))i=i[1];else{if(n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(n.eat("%"))return"operator"}return k.hasOwnProperty(i)&&(i=k[i]),o(F(i,t,u),n,e)}return(r=n.match(/^<<-('?)([A-Z]\w*)\1/))?o(Z(r[2],!r[1]),n,e):n.eat("'")?(n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),n.eat("'"),"atom"):n.eat("0")?(n.eat("x")?n.match(/^[0-9a-fA-F_]+/):n.eat("o")?n.match(/^[0-7_]+/):n.eat("b")&&n.match(/^[01_]+/),"number"):n.eat(/^\d/)?(n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):n.match(v)?(n.eat("="),"operator"):n.match(z)||n.match(b)?"operator":(r=n.match(/[({[]/,!1))?(r=r[0],o(h(r,k[r],null),n,e)):n.eat("\\")?(n.next(),"meta"):(n.next(),null)}function h(n,e,r,t){return function(u,i){if(!t&&u.match(n))return i.tokenize[i.tokenize.length-1]=h(n,e,r,!0),i.currentIndent+=1,r;var a=_(u,i);return u.current()===e&&(i.tokenize.pop(),i.currentIndent-=1,a=r),a}}function f(n,e,r){return function(t,u){return!r&&t.match("{"+n)?(u.currentIndent+=1,u.tokenize[u.tokenize.length-1]=f(n,e,!0),"meta"):t.match(e+"}")?(u.currentIndent-=1,u.tokenize.pop(),"meta"):_(t,u)}}function N(n,e){if(n.eatSpace())return null;var r;if(r=n.match(p)){if(r=="def")return"keyword";n.eat(/[?!]/)}return e.tokenize.pop(),"def"}function y(n,e){return n.eatSpace()?null:(n.match(p)?n.eat(/[!?]/):n.match(v)||n.match(z)||n.match(g),e.tokenize.pop(),"def")}function c(n,e){return n.eatSpace()?null:(n.match(d),e.tokenize.pop(),"def")}function F(n,e,r){return function(t,u){for(var i=!1;t.peek();)if(i)t.next(),i=!1;else{if(t.match("{%",!1))return u.tokenize.push(f("%","%")),e;if(t.match("{{",!1))return u.tokenize.push(f("{","}")),e;if(r&&t.match("#{",!1))return u.tokenize.push(h("#{","}","meta")),e;var a=t.next();if(a==n)return u.tokenize.pop(),e;i=r&&a=="\\"}return e}}function Z(n,e){return function(r,t){if(r.sol()&&(r.eatSpace(),r.match(n)))return t.tokenize.pop(),"string";for(var u=!1;r.peek();)if(u)r.next(),u=!1;else{if(r.match("{%",!1))return t.tokenize.push(f("%","%")),"string";if(r.match("{{",!1))return t.tokenize.push(f("{","}")),"string";if(e&&r.match("#{",!1))return t.tokenize.push(h("#{","}","meta")),"string";u=e&&r.next()=="\\"}return"string"}}const P={name:"crystal",startState:function(){return{tokenize:[_],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(n,e){var r=e.tokenize[e.tokenize.length-1](n,e),t=n.current();return r&&r!="comment"&&(e.lastToken=t,e.lastStyle=r),r},indent:function(n,e,r){return e=e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),K.test(e)||D.test(e)?r.unit*(n.currentIndent-1):r.unit*n.currentIndent},languageData:{indentOnInput:l(I.concat(x),!0),commentTokens:{line:"#"}}};export{P as crystal}; + +function l(n,e){return new RegExp((e?"":"^")+"(?:"+n.join("|")+")"+(e?"$":"\\b"))}function o(n,e,r){return r.tokenize.push(n),n(e,r)}var v=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,z=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,g=/^(?:\[\][?=]?)/,b=/^(?:\.(?:\.{2})?|->|[?:])/,p=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,d=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,E=l(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),S=l(["true","false","nil","self"]),T=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],A=l(T),s=["if","unless","case","while","until","begin","then"],O=l(s),x=["end","else","elsif","rescue","ensure"],K=l(x),I=["\\)","\\}","\\]"],D=new RegExp("^(?:"+I.join("|")+")$"),w={def:y,fun:y,macro:N,class:c,module:c,struct:c,lib:c,enum:c,union:c},k={"[":"]","{":"}","(":")","<":">"};function _(n,e){if(n.eatSpace())return null;if(e.lastToken!="\\"&&n.match("{%",!1))return o(f("%","%"),n,e);if(e.lastToken!="\\"&&n.match("{{",!1))return o(f("{","}"),n,e);if(n.peek()=="#")return n.skipToEnd(),"comment";var r;if(n.match(p))return n.eat(/[?!]/),r=n.current(),n.eat(":")?"atom":e.lastToken=="."?"property":E.test(r)?(A.test(r)?!(r=="fun"&&e.blocks.indexOf("lib")>=0)&&!(r=="def"&&e.lastToken=="abstract")&&(e.blocks.push(r),e.currentIndent+=1):(e.lastStyle=="operator"||!e.lastStyle)&&O.test(r)?(e.blocks.push(r),e.currentIndent+=1):r=="end"&&(e.blocks.pop(),e.currentIndent-=1),w.hasOwnProperty(r)&&e.tokenize.push(w[r]),"keyword"):S.test(r)?"atom":"variable";if(n.eat("@"))return n.peek()=="["?o(h("[","]","meta"),n,e):(n.eat("@"),n.match(p)||n.match(d),"propertyName");if(n.match(d))return"tag";if(n.eat(":"))return n.eat('"')?o(F('"',"atom",!1),n,e):n.match(p)||n.match(d)||n.match(v)||n.match(z)||n.match(g)?"atom":(n.eat(":"),"operator");if(n.eat('"'))return o(F('"',"string",!0),n,e);if(n.peek()=="%"){var t="string",u=!0,i;if(n.match("%r"))t="string.special",i=n.next();else if(n.match("%w"))u=!1,i=n.next();else if(n.match("%q"))u=!1,i=n.next();else if(i=n.match(/^%([^\w\s=])/))i=i[1];else{if(n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(n.eat("%"))return"operator"}return k.hasOwnProperty(i)&&(i=k[i]),o(F(i,t,u),n,e)}return(r=n.match(/^<<-('?)([A-Z]\w*)\1/))?o(Z(r[2],!r[1]),n,e):n.eat("'")?(n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),n.eat("'"),"atom"):n.eat("0")?(n.eat("x")?n.match(/^[0-9a-fA-F_]+/):n.eat("o")?n.match(/^[0-7_]+/):n.eat("b")&&n.match(/^[01_]+/),"number"):n.eat(/^\d/)?(n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):n.match(v)?(n.eat("="),"operator"):n.match(z)||n.match(b)?"operator":(r=n.match(/[({[]/,!1))?(r=r[0],o(h(r,k[r],null),n,e)):n.eat("\\")?(n.next(),"meta"):(n.next(),null)}function h(n,e,r,t){return function(u,i){if(!t&&u.match(n))return i.tokenize[i.tokenize.length-1]=h(n,e,r,!0),i.currentIndent+=1,r;var a=_(u,i);return u.current()===e&&(i.tokenize.pop(),i.currentIndent-=1,a=r),a}}function f(n,e,r){return function(t,u){return!r&&t.match("{"+n)?(u.currentIndent+=1,u.tokenize[u.tokenize.length-1]=f(n,e,!0),"meta"):t.match(e+"}")?(u.currentIndent-=1,u.tokenize.pop(),"meta"):_(t,u)}}function N(n,e){if(n.eatSpace())return null;var r;if(r=n.match(p)){if(r=="def")return"keyword";n.eat(/[?!]/)}return e.tokenize.pop(),"def"}function y(n,e){return n.eatSpace()?null:(n.match(p)?n.eat(/[!?]/):n.match(v)||n.match(z)||n.match(g),e.tokenize.pop(),"def")}function c(n,e){return n.eatSpace()?null:(n.match(d),e.tokenize.pop(),"def")}function F(n,e,r){return function(t,u){for(var i=!1;t.peek();)if(i)t.next(),i=!1;else{if(t.match("{%",!1))return u.tokenize.push(f("%","%")),e;if(t.match("{{",!1))return u.tokenize.push(f("{","}")),e;if(r&&t.match("#{",!1))return u.tokenize.push(h("#{","}","meta")),e;var a=t.next();if(a==n)return u.tokenize.pop(),e;i=r&&a=="\\"}return e}}function Z(n,e){return function(r,t){if(r.sol()&&(r.eatSpace(),r.match(n)))return t.tokenize.pop(),"string";for(var u=!1;r.peek();)if(u)r.next(),u=!1;else{if(r.match("{%",!1))return t.tokenize.push(f("%","%")),"string";if(r.match("{{",!1))return t.tokenize.push(f("{","}")),"string";if(e&&r.match("#{",!1))return t.tokenize.push(h("#{","}","meta")),"string";u=r.next()=="\\"&&e}return"string"}}const P={name:"crystal",startState:function(){return{tokenize:[_],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(n,e){var r=e.tokenize[e.tokenize.length-1](n,e),t=n.current();return r&&r!="comment"&&(e.lastToken=t,e.lastStyle=r),r},indent:function(n,e,r){return e=e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),K.test(e)||D.test(e)?r.unit*(n.currentIndent-1):r.unit*n.currentIndent},languageData:{indentOnInput:l(I.concat(x),!0),commentTokens:{line:"#"}}};export{P as crystal}; diff --git a/public/admin/assets/crystal-SjHAIU92.js.br b/public/admin/assets/crystal-SjHAIU92.js.br new file mode 100644 index 0000000..ead30cf Binary files /dev/null and b/public/admin/assets/crystal-SjHAIU92.js.br differ diff --git a/public/admin/assets/crystal-SjHAIU92.js.gz b/public/admin/assets/crystal-SjHAIU92.js.gz new file mode 100644 index 0000000..11590d7 Binary files /dev/null and b/public/admin/assets/crystal-SjHAIU92.js.gz differ diff --git a/public/admin/assets/css-ae0ae1d0.js b/public/admin/assets/css-BnMrqG3P.js similarity index 99% rename from public/admin/assets/css-ae0ae1d0.js rename to public/admin/assets/css-BnMrqG3P.js index c918a24..8a772a3 100644 --- a/public/admin/assets/css-ae0ae1d0.js +++ b/public/admin/assets/css-BnMrqG3P.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function y(i){i={...ae,...i};var l=i.inline,m=i.tokenHooks,b=i.documentTypes||{},G=i.mediaTypes||{},J=i.mediaFeatures||{},Q=i.mediaValueKeywords||{},O=i.propertyKeywords||{},F=i.nonStandardPropertyKeywords||{},R=i.fontProperties||{},ee=i.counterDescriptors||{},N=i.colorKeywords||{},V=i.valueKeywords||{},g=i.allowNested,re=i.lineComment,oe=i.supportsAtComponent===!0,W=i.highlightNonStandardPropertyKeywords!==!1,w,n;function c(e,o){return w=o,e}function ie(e,o){var r=e.next();if(m[r]){var t=m[r](e,o);if(t!==!1)return t}if(r=="@")return e.eatWhile(/[\w\\\-]/),c("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return c(null,"compare");if(r=='"'||r=="'")return o.tokenize=$(r),o.tokenize(e,o);if(r=="#")return e.eatWhile(/[\w\\\-]/),c("atom","hash");if(r=="!")return e.match(/^\s*\w*/),c("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),c("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),c("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?c("def","variable-definition"):c("variableName","variable");if(e.match(/^\w+-/))return c("meta","meta")}else return/[,+>*\/]/.test(r)?c(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?c("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?c(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(o.tokenize=te),c("variableName.function","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),c("property","word")):c(null,null)}function $(e){return function(o,r){for(var t=!1,d;(d=o.next())!=null;){if(d==e&&!t){e==")"&&o.backUp(1);break}t=!t&&d=="\\"}return(d==e||!t&&e!=")")&&(r.tokenize=null),c("string","string")}}function te(e,o){return e.next(),e.match(/^\s*[\"\')]/,!1)?o.tokenize=null:o.tokenize=$(")"),c(null,"(")}function D(e,o,r){this.type=e,this.indent=o,this.prev=r}function s(e,o,r,t){return e.context=new D(r,o.indentation()+(t===!1?0:o.indentUnit),e.context),r}function u(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function k(e,o,r){return a[r.context.type](e,o,r)}function h(e,o,r,t){for(var d=t||1;d>0;d--)r.context=r.context.prev;return k(e,o,r)}function L(e){var o=e.current().toLowerCase();V.hasOwnProperty(o)?n="atom":N.hasOwnProperty(o)?n="keyword":n="variable"}var a={};return a.top=function(e,o,r){if(e=="{")return s(r,o,"block");if(e=="}"&&r.context.prev)return u(r);if(oe&&/@component/i.test(e))return s(r,o,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return s(r,o,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return s(r,o,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return s(r,o,"at");if(e=="hash")n="builtin";else if(e=="word")n="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return s(r,o,"interpolation");if(e==":")return"pseudo";if(g&&e=="(")return s(r,o,"parens")}return r.context.type},a.block=function(e,o,r){if(e=="word"){var t=o.current().toLowerCase();return O.hasOwnProperty(t)?(n="property","maybeprop"):F.hasOwnProperty(t)?(n=W?"string.special":"property","maybeprop"):g?(n=o.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n="error","maybeprop")}else return e=="meta"?"block":!g&&(e=="hash"||e=="qualifier")?(n="error","block"):a.top(e,o,r)},a.maybeprop=function(e,o,r){return e==":"?s(r,o,"prop"):k(e,o,r)},a.prop=function(e,o,r){if(e==";")return u(r);if(e=="{"&&g)return s(r,o,"propBlock");if(e=="}"||e=="{")return h(e,o,r);if(e=="(")return s(r,o,"parens");if(e=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(o.current()))n="error";else if(e=="word")L(o);else if(e=="interpolation")return s(r,o,"interpolation");return"prop"},a.propBlock=function(e,o,r){return e=="}"?u(r):e=="word"?(n="property","maybeprop"):r.context.type},a.parens=function(e,o,r){return e=="{"||e=="}"?h(e,o,r):e==")"?u(r):e=="("?s(r,o,"parens"):e=="interpolation"?s(r,o,"interpolation"):(e=="word"&&L(o),"parens")},a.pseudo=function(e,o,r){return e=="meta"?"pseudo":e=="word"?(n="variableName.constant",r.context.type):k(e,o,r)},a.documentTypes=function(e,o,r){return e=="word"&&b.hasOwnProperty(o.current())?(n="tag",r.context.type):a.atBlock(e,o,r)},a.atBlock=function(e,o,r){if(e=="(")return s(r,o,"atBlock_parens");if(e=="}"||e==";")return h(e,o,r);if(e=="{")return u(r)&&s(r,o,g?"block":"top");if(e=="interpolation")return s(r,o,"interpolation");if(e=="word"){var t=o.current().toLowerCase();t=="only"||t=="not"||t=="and"||t=="or"?n="keyword":G.hasOwnProperty(t)?n="attribute":J.hasOwnProperty(t)?n="property":Q.hasOwnProperty(t)?n="keyword":O.hasOwnProperty(t)?n="property":F.hasOwnProperty(t)?n=W?"string.special":"property":V.hasOwnProperty(t)?n="atom":N.hasOwnProperty(t)?n="keyword":n="error"}return r.context.type},a.atComponentBlock=function(e,o,r){return e=="}"?h(e,o,r):e=="{"?u(r)&&s(r,o,g?"block":"top",!1):(e=="word"&&(n="error"),r.context.type)},a.atBlock_parens=function(e,o,r){return e==")"?u(r):e=="{"||e=="}"?h(e,o,r,2):a.atBlock(e,o,r)},a.restricted_atBlock_before=function(e,o,r){return e=="{"?s(r,o,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(n="variable","restricted_atBlock_before"):k(e,o,r)},a.restricted_atBlock=function(e,o,r){return e=="}"?(r.stateArg=null,u(r)):e=="word"?(r.stateArg=="@font-face"&&!R.hasOwnProperty(o.current().toLowerCase())||r.stateArg=="@counter-style"&&!ee.hasOwnProperty(o.current().toLowerCase())?n="error":n="property","maybeprop"):"restricted_atBlock"},a.keyframes=function(e,o,r){return e=="word"?(n="variable","keyframes"):e=="{"?s(r,o,"top"):k(e,o,r)},a.at=function(e,o,r){return e==";"?u(r):e=="{"||e=="}"?h(e,o,r):(e=="word"?n="tag":e=="hash"&&(n="builtin"),"at")},a.interpolation=function(e,o,r){return e=="}"?u(r):e=="{"||e==";"?h(e,o,r):(e=="word"?n="variable":e!="variable"&&e!="("&&e!=")"&&(n="error"),"interpolation")},{name:i.name,startState:function(){return{tokenize:null,state:l?"block":"top",stateArg:null,context:new D(l?"block":"top",0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var r=(o.tokenize||ie)(e,o);return r&&typeof r=="object"&&(w=r[1],r=r[0]),n=r,w!="comment"&&(o.state=a[o.state](w,e,o)),n},indent:function(e,o,r){var t=e.context,d=o&&o.charAt(0),q=t.indent;return t.type=="prop"&&(d=="}"||d==")")&&(t=t.prev),t.prev&&(d=="}"&&(t.type=="block"||t.type=="top"||t.type=="interpolation"||t.type=="restricted_atBlock")?(t=t.prev,q=t.indent):(d==")"&&(t.type=="parens"||t.type=="atBlock_parens")||d=="{"&&(t.type=="at"||t.type=="atBlock"))&&(q=Math.max(0,t.indent-r.unit))),q},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:re,block:{open:"/*",close:"*/"}},autocomplete:M}}}function p(i){for(var l={},m=0;mT.settings.app.colorScheme),h=r([]);async function d(){try{p.value=!0;const a=await k.queryBadWords(u),{rows:o,count:v}=a.data;p.value=!1,U.value=v,h.value=o}catch{p.value=!1}}function D(a){a==null||a.resetFields(),d()}j(()=>{d()});const c=r(""),_=r(!1),B=r();async function K(a){await k.delBadWords({id:a}),W.success("删除敏感词成功"),await d()}function L(){_.value=!0,Z(()=>{B.value.input.focus()})}async function C(){c.value&&(await k.addBadWords({word:c.value}),W.success("添加敏感词成功"),u.status="",await d()),_.value=!1,c.value=""}return(a,o)=>{const v=i("el-alert"),w=O,y=i("el-form-item"),q=i("el-option"),z=i("el-select"),b=i("el-button"),E=i("el-form"),M=i("el-tag"),F=G("loading");return s(),g("div",null,[l(w,null,{default:t(()=>[l(v,{closable:!1,"show-icon":"",title:"敏感词说明",description:"当前为自定义敏感词、触发敏感词将自动拦截、如配置过三方平台、自定义检测将在三方平台通过后最后进行检测!",type:"success"})]),_:1}),l(w,null,{default:t(()=>[l(E,{ref_key:"formRef",ref:V,inline:!0,model:u},{default:t(()=>[l(y,{label:"敏感词",prop:"word"},{default:t(()=>[l(n(S),{modelValue:u.word,"onUpdate:modelValue":o[0]||(o[0]=e=>u.word=e),placeholder:"敏感词[模糊搜索]",onKeydown:I(H(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(y,{label:"敏感词状态",prop:"status"},{default:t(()=>[l(z,{modelValue:u.status,"onUpdate:modelValue":o[1]||(o[1]=e=>u.status=e),placeholder:"请选择敏感词状态",clearable:""},{default:t(()=>[(s(!0),g(x,null,R(n(te),e=>(s(),f(q,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(y,null,{default:t(()=>[l(b,{type:"primary",onClick:d},{default:t(()=>[m(" 查询 ")]),_:1}),l(b,{onClick:o[2]||(o[2]=e=>D(n(V)))},{default:t(()=>[m(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),J((s(),f(w,{style:{width:"100%"}},{default:t(()=>[(s(!0),g(x,null,R(n(h),e=>(s(),f(M,{key:e.id,type:"warning",class:"mr-3 mb-3",closable:"",hit:"",effect:n(A),"disable-transitions":!0,onClose:ae=>K(e.id)},{default:t(()=>[m(ee(e.word),1)]),_:2},1032,["effect","onClose"]))),128)),n(_)?(s(),f(n(S),{key:0,ref_key:"InputRef",ref:B,modelValue:n(c),"onUpdate:modelValue":o[3]||(o[3]=e=>Y(c)?c.value=e:null),class:"ml-1",style:{width:"80px"},size:"small",onKeyup:I(C,["enter"]),onBlur:C},null,8,["modelValue"])):(s(),f(b,{key:1,class:"ml-1",size:"small",onClick:L},{default:t(()=>[m(" + New Word ")]),_:1}))]),_:1})),[[F,n(p)]])])}}});typeof N=="function"&&N(le);export{le as default}; diff --git a/public/admin/assets/custom-l-N43gkC.js b/public/admin/assets/custom-l-N43gkC.js new file mode 100644 index 0000000..d3699b7 --- /dev/null +++ b/public/admin/assets/custom-l-N43gkC.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as M,u as O,r as u,m as P,a as G,n as c,q as H,g as s,c as b,b as l,w as t,i as n,V as C,v as I,x as j,F as W,s as N,h as m,y as J,z as f,D as Q,e as X,G as Y,E as R,t as Z,k as S}from"./index-B-LUCRde.js";import{A as g}from"./badWords-DEcOld1K.js";import{E as ee}from"./index-J5zVJPyL.js";const te=X("div",{class:"flex items-center gap-4"},"自定义敏感词",-1),ae=M({__name:"custom",setup(le){O();const k=u(),D=u(0),p=u(!1),r=P({word:"",status:"",page:1,size:500}),V=u();async function i(){try{p.value=!0;const o=await g.queryBadWords(r),{rows:a,count:v}=o.data;p.value=!1,D.value=v,V.value=a}catch{p.value=!1}}function T(o){o==null||o.resetFields(),i()}G(()=>{i()});const d=u(""),_=u(!1),B=u();async function z(o){await g.delBadWords({id:o}),R.success("删除敏感词成功"),await i()}function A(){_.value=!0,Y(()=>{B.value.input.focus()})}async function h(){d.value&&(await g.addBadWords({word:d.value}),R.success("添加敏感词成功"),r.status="",await i()),_.value=!1,d.value=""}return(o,a)=>{const v=F,w=c("el-form-item"),K=c("el-option"),L=c("el-select"),y=c("el-button"),U=c("el-form"),x=E,$=c("el-tag"),q=H("loading");return s(),b("div",null,[l(v,null,{title:t(()=>[te]),_:1}),l(x,null,{default:t(()=>[l(U,{ref_key:"formRef",ref:k,inline:!0,model:r},{default:t(()=>[l(w,{label:"敏感词",prop:"word"},{default:t(()=>[l(n(C),{modelValue:r.word,"onUpdate:modelValue":a[0]||(a[0]=e=>r.word=e),placeholder:"敏感词[模糊搜索]",onKeydown:I(j(i,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(w,{label:"敏感词状态",prop:"status"},{default:t(()=>[l(L,{modelValue:r.status,"onUpdate:modelValue":a[1]||(a[1]=e=>r.status=e),placeholder:"请选择敏感词状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(s(!0),b(W,null,N(n(ee),e=>(s(),f(K,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(w,null,{default:t(()=>[l(y,{type:"primary",onClick:i},{default:t(()=>[m(" 查询 ")]),_:1}),l(y,{onClick:a[2]||(a[2]=e=>T(n(k)))},{default:t(()=>[m(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),J((s(),f(x,{style:{width:"100%"}},{default:t(()=>[(s(!0),b(W,null,N(n(V),e=>(s(),f($,{key:e.id,type:"warning",class:"mb-3 mr-3",closable:"",hit:"","disable-transitions":!0,onClose:oe=>z(e.id)},{default:t(()=>[m(Z(e.word),1)]),_:2},1032,["onClose"]))),128)),n(_)?(s(),f(n(C),{key:0,ref_key:"InputRef",ref:B,modelValue:n(d),"onUpdate:modelValue":a[3]||(a[3]=e=>Q(d)?d.value=e:null),class:"ml-1",style:{width:"80px"},size:"small",onKeyup:I(h,["enter"]),onBlur:h},null,8,["modelValue"])):(s(),f(y,{key:1,class:"ml-1",size:"small",onClick:A},{default:t(()=>[m(" + New Word ")]),_:1}))]),_:1})),[[q,n(p)]])])}}});typeof S=="function"&&S(ae);export{ae as default}; diff --git a/public/admin/assets/custom-l-N43gkC.js.br b/public/admin/assets/custom-l-N43gkC.js.br new file mode 100644 index 0000000..84a08e9 Binary files /dev/null and b/public/admin/assets/custom-l-N43gkC.js.br differ diff --git a/public/admin/assets/custom-l-N43gkC.js.gz b/public/admin/assets/custom-l-N43gkC.js.gz new file mode 100644 index 0000000..64537a4 Binary files /dev/null and b/public/admin/assets/custom-l-N43gkC.js.gz differ diff --git a/public/admin/assets/cypher-236a65ad.js b/public/admin/assets/cypher-C_CwsFkJ.js similarity index 97% rename from public/admin/assets/cypher-236a65ad.js rename to public/admin/assets/cypher-C_CwsFkJ.js index 1496a75..b59adaa 100644 --- a/public/admin/assets/cypher-236a65ad.js +++ b/public/admin/assets/cypher-C_CwsFkJ.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var l=function(n){return new RegExp("^(?:"+n.join("|")+")$","i")},p=function(n){i=null;var e=n.next();if(e==='"')return n.match(/^.*?"/),"string";if(e==="'")return n.match(/^.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return i=e,"punctuation";if(e==="/"&&n.eat("/"))return n.skipToEnd(),"comment";if(u.test(e))return n.eatWhile(u),null;if(n.eatWhile(/[_\w\d]/),n.eat(":"))return n.eatWhile(/[\w\d_\-]/),"atom";var t=n.current();return d.test(t)?"builtin":f.test(t)?"def":h.test(t)||x.test(t)?"keyword":"variable"},o=function(n,e,t){return n.context={prev:n.context,indent:n.indent,col:t,type:e}},c=function(n){return n.indent=n.context.indent,n.context=n.context.prev},i,d=l(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),f=l(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),h=l(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),x=l(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),u=/[*+\-<>=&|~%^]/;const g={name:"cypher",startState:function(){return{tokenize:p,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!=="comment"&&e.context&&e.context.align==null&&e.context.type!=="pattern"&&(e.context.align=!0),i==="(")o(e,")",n.column());else if(i==="[")o(e,"]",n.column());else if(i==="{")o(e,"}",n.column());else if(/[\]\}\)]/.test(i)){for(;e.context&&e.context.type==="pattern";)c(e);e.context&&i===e.context.type&&c(e)}else i==="."&&e.context&&e.context.type==="pattern"?c(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?o(e,"pattern",n.column()):e.context.type==="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e,t){var a=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(a))for(;r&&r.type==="pattern";)r=r.prev;var s=r&&a===r.type;return r?r.type==="keywords"?null:r.align?r.col+(s?0:1):r.indent+(s?0:t.unit):0}};export{g as cypher}; diff --git a/public/admin/assets/cypher-C_CwsFkJ.js.br b/public/admin/assets/cypher-C_CwsFkJ.js.br new file mode 100644 index 0000000..ae84f42 Binary files /dev/null and b/public/admin/assets/cypher-C_CwsFkJ.js.br differ diff --git a/public/admin/assets/cypher-C_CwsFkJ.js.gz b/public/admin/assets/cypher-C_CwsFkJ.js.gz new file mode 100644 index 0000000..e0ad382 Binary files /dev/null and b/public/admin/assets/cypher-C_CwsFkJ.js.gz differ diff --git a/public/admin/assets/d-76ab4361.js b/public/admin/assets/d-pRatUO7H.js similarity index 97% rename from public/admin/assets/d-76ab4361.js rename to public/admin/assets/d-pRatUO7H.js index 635495d..5381b64 100644 --- a/public/admin/assets/d-76ab4361.js +++ b/public/admin/assets/d-pRatUO7H.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function c(e){for(var n={},t=e.split(" "),i=0;i!?|\/]/,o;function m(e,n){var t=e.next();if(p[t]){var i=p[t](e,n);if(i!==!1)return i}if(t=='"'||t=="'"||t=="`")return n.tokenize=z(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("+"))return n.tokenize=k,k(e,n);if(e.eat("*"))return n.tokenize=y,y(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(h.test(t))return e.eatWhile(h),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return v.propertyIsEnumerable(r)?(d.propertyIsEnumerable(r)&&(o="newstatement"),"keyword"):x.propertyIsEnumerable(r)?(d.propertyIsEnumerable(r)&&(o="newstatement"),"builtin"):g.propertyIsEnumerable(r)?"atom":"variable"}function z(e){return function(n,t){for(var i=!1,r,u=!1;(r=n.next())!=null;){if(r==e&&!i){u=!0;break}i=!i&&r=="\\"}return(u||!(i||_))&&(t.tokenize=null),"string"}}function y(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize=null;break}t=i=="*"}return"comment"}function k(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize=null;break}t=i=="+"}return"comment"}function b(e,n,t,i,r){this.indented=e,this.column=n,this.type=t,this.align=i,this.prev=r}function f(e,n,t){var i=e.indented;return e.context&&e.context.type=="statement"&&(i=e.context.indented),e.context=new b(i,n,t,null,e.context)}function a(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const E={name:"d",startState:function(e){return{tokenize:null,context:new b(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var i=(n.tokenize||m)(e,n);if(i=="comment"||i=="meta")return i;if(t.align==null&&(t.align=!0),(o==";"||o==":"||o==",")&&t.type=="statement")a(n);else if(o=="{")f(n,e.column(),"}");else if(o=="[")f(n,e.column(),"]");else if(o=="(")f(n,e.column(),")");else if(o=="}"){for(;t.type=="statement";)t=a(n);for(t.type=="}"&&(t=a(n));t.type=="statement";)t=a(n)}else o==t.type?a(n):((t.type=="}"||t.type=="top")&&o!=";"||t.type=="statement"&&o=="newstatement")&&f(n,e.column(),"statement");return n.startOfLine=!1,i},indent:function(e,n,t){if(e.tokenize!=m&&e.tokenize!=null)return null;var i=e.context,r=n&&n.charAt(0);i.type=="statement"&&r=="}"&&(i=i.prev);var u=r==i.type;return i.type=="statement"?i.indented+(r=="{"?0:w||t.unit):i.align?i.column+(u?0:1):i.indented+(u?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{E as d}; diff --git a/public/admin/assets/d-pRatUO7H.js.br b/public/admin/assets/d-pRatUO7H.js.br new file mode 100644 index 0000000..5f3a235 Binary files /dev/null and b/public/admin/assets/d-pRatUO7H.js.br differ diff --git a/public/admin/assets/d-pRatUO7H.js.gz b/public/admin/assets/d-pRatUO7H.js.gz new file mode 100644 index 0000000..f1f13e5 Binary files /dev/null and b/public/admin/assets/d-pRatUO7H.js.gz differ diff --git a/public/admin/assets/dashboard-44f91c4a.js b/public/admin/assets/dashboard-44f91c4a.js deleted file mode 100644 index 37392ba..0000000 --- a/public/admin/assets/dashboard-44f91c4a.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{Y as i}from"./index-e656eb90.js";const s={getBaseInfo:t=>i.get("/statistic/base",{params:t}),getChatStatistic:t=>i.get("/statistic/chatStatistic",{params:t}),getBaiduVisit:t=>i.get("/statistic/baiduVisit",{params:t})};export{s as default}; diff --git a/public/admin/assets/diff-1bf42f34.js b/public/admin/assets/diff-DbItnlRl.js similarity index 78% rename from public/admin/assets/diff-1bf42f34.js rename to public/admin/assets/diff-DbItnlRl.js index d2d3c6b..470eb12 100644 --- a/public/admin/assets/diff-1bf42f34.js +++ b/public/admin/assets/diff-DbItnlRl.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var o={"+":"inserted","-":"deleted","@":"meta"};const r={name:"diff",token:function(n){var e=n.string.search(/[\t ]+?$/);if(!n.sol()||e===0)return n.skipToEnd(),("error "+(o[n.string.charAt(0)]||"")).replace(/ $/,"");var i=o[n.peek()]||n.skipToEnd();return e===-1?n.skipToEnd():n.pos=e,i}};export{r as diff}; diff --git a/public/admin/assets/diff-DbItnlRl.js.br b/public/admin/assets/diff-DbItnlRl.js.br new file mode 100644 index 0000000..e9565cd --- /dev/null +++ b/public/admin/assets/diff-DbItnlRl.js.br @@ -0,0 +1 @@ +4DgTv-sEpMh[QI߹ sf[Ny :<\9`* v0n9wzY[gFm}{kZb)0 (-oYC'6N-ҕ~H 0hO*Wc5EOӍc?,afTJVLY|5U \ No newline at end of file diff --git a/public/admin/assets/diff-DbItnlRl.js.gz b/public/admin/assets/diff-DbItnlRl.js.gz new file mode 100644 index 0000000..ce86b68 Binary files /dev/null and b/public/admin/assets/diff-DbItnlRl.js.gz differ diff --git a/public/admin/assets/dockerfile-c8a8b9da.js b/public/admin/assets/dockerfile-BuNIbK2j.js similarity index 92% rename from public/admin/assets/dockerfile-c8a8b9da.js rename to public/admin/assets/dockerfile-BuNIbK2j.js index 7e15bde..750f8a0 100644 --- a/public/admin/assets/dockerfile-c8a8b9da.js +++ b/public/admin/assets/dockerfile-BuNIbK2j.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - -import{s as o}from"./simple-mode-851e42ff.js";var e="from",s=new RegExp("^(\\s*)\\b("+e+")\\b","i"),n=["run","cmd","entrypoint","shell"],l=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),t="expose",x=new RegExp("^(\\s*)("+t+")(\\s+)","i"),g=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],u=[e,t].concat(n).concat(g),r="("+u.join("|")+")",a=new RegExp("^(\\s*)"+r+"(\\s*)(#.*)?$","i"),k=new RegExp("^(\\s*)"+r+"(\\s+)","i");const m=o({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:s,token:[null,"keyword"],sol:!0,next:"from"},{regex:a,token:[null,"keyword",null,"error"],sol:!0},{regex:l,token:[null,"keyword",null],sol:!0,next:"array"},{regex:x,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:k,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}});export{m as dockerFile}; + +import{s as o}from"./simple-mode-C4Nsj8zu.js";var e="from",s=new RegExp("^(\\s*)\\b("+e+")\\b","i"),n=["run","cmd","entrypoint","shell"],l=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),t="expose",x=new RegExp("^(\\s*)("+t+")(\\s+)","i"),g=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],u=[e,t].concat(n).concat(g),r="("+u.join("|")+")",a=new RegExp("^(\\s*)"+r+"(\\s*)(#.*)?$","i"),k=new RegExp("^(\\s*)"+r+"(\\s+)","i");const m=o({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:s,token:[null,"keyword"],sol:!0,next:"from"},{regex:a,token:[null,"keyword",null,"error"],sol:!0},{regex:l,token:[null,"keyword",null],sol:!0,next:"array"},{regex:x,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:k,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}});export{m as dockerFile}; diff --git a/public/admin/assets/dockerfile-BuNIbK2j.js.br b/public/admin/assets/dockerfile-BuNIbK2j.js.br new file mode 100644 index 0000000..df4462d --- /dev/null +++ b/public/admin/assets/dockerfile-BuNIbK2j.js.br @@ -0,0 +1,5 @@ + .wYL=7JØmTr>.Id{K#D:DŽpޝvq#F#{fLZ|Wjgz` ˯TB/C$+%$ld;(K pqߟъHyIU1[=6>Ԓa -gF23 PX! tyLBπ}5~7b'%PY;AP'@:R+ $- +^<4r墎J1;ABE ]9- KBmCl)Ź#$hd`?`X0`jbh1 +2^3Her('el,/V/-aul (^M Zsב>`HQѮ,Nh{u()}),(r,a)=>{const g=o("el-alert"),y=$,w=o("el-option"),b=o("el-select"),p=o("el-form-item"),k=o("el-button"),P=o("el-form"),T=o("el-image"),q=o("el-tag"),B=o("Plus"),D=o("el-icon"),O=o("Minus"),j=o("el-pagination"),E=o("el-row"),F=G("loading");return s(),c("div",null,[l(y,null,{default:t(()=>[l(g,{closable:!1,"show-icon":"",title:"绘画管理说明",description:"此处的为对话页绘画展示,推荐功能用户端暂无效果",type:"success"})]),_:1}),l(y,null,{default:t(()=>[l(P,{ref_key:"formRef",ref:x,inline:!0,model:n},{default:t(()=>[l(p,{label:"用户名称",prop:"userId"},{default:t(()=>[l(b,{modelValue:n.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":N},{default:t(()=>[(s(!0),c(f,null,m(V.value,e=>(s(),i(w,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(p,{label:"图片状态",prop:"rec"},{default:t(()=>[l(b,{modelValue:n.rec,"onUpdate:modelValue":a[1]||(a[1]=e=>n.rec=e),placeholder:"请选择图片状态",clearable:""},{default:t(()=>[(s(!0),c(f,null,m(U(Y),e=>(s(),i(w,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(p,{label:"绘画模型",prop:"model"},{default:t(()=>[l(b,{modelValue:n.model,"onUpdate:modelValue":a[2]||(a[2]=e=>n.model=e),placeholder:"请选择绘画模型",clearable:""},{default:t(()=>[(s(!0),c(f,null,m(U(Z),e=>(s(),i(w,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(p,null,{default:t(()=>[l(k,{type:"primary",onClick:u},{default:t(()=>[v(" 查询 ")]),_:1}),l(k,{onClick:a[3]||(a[3]=e=>L(x.value))},{default:t(()=>[v(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),H((s(),i(y,{style:{width:"100%"}},{default:t(()=>[h("div",ee,[(s(!0),c(f,null,m(z.value,e=>(s(),c("div",{key:e.id,style:{width:"280px height: 280px"},class:"draw_img_container flex border"},[h("div",le,[l(T,{fit:"contain","preview-src-list":[e.fileInfo],src:e.fileInfo,lazy:"",class:"draw_img","hide-on-click-modal":""},null,8,["preview-src-list","src"])]),h("div",ae,[l(q,{class:"ml-2",type:e.rec?"success":"info"},{default:t(()=>[v(S(e.rec?"已推荐":"未推荐"),1)]),_:2},1032,["type"]),l(k,{type:"warning",plain:"",size:"small",onClick:ne=>R(e.id)},{default:t(()=>[v(S(e.rec?"取消推荐":"加入推荐")+" ",1),e.rec?A("",!0):(s(),i(D,{key:0},{default:t(()=>[l(B)]),_:1})),e.rec?(s(),i(D,{key:1},{default:t(()=>[l(O)]),_:1})):A("",!0)]),_:2},1032,["onClick"])])]))),128))]),l(E,{class:"flex justify-end mt-5"},{default:t(()=>[l(j,{"current-page":n.page,"onUpdate:currentPage":a[4]||(a[4]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":a[5]||(a[5]=e=>n.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:C.value,onSizeChange:u,onCurrentChange:u},null,8,["current-page","page-size","total"])]),_:1})]),_:1})),[[F,_.value]])])}}});typeof M=="function"&&M(te);export{te as default}; diff --git a/public/admin/assets/draw-4da3d260.js b/public/admin/assets/draw-4da3d260.js deleted file mode 100644 index 5da453c..0000000 --- a/public/admin/assets/draw-4da3d260.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as Q}from"./index-fd8a5577.js";import{A as G}from"./mj-bb9f2011.js";import{A as V}from"./chat-289dfdad.js";import{u as K}from"./utcformatTime-e76e5157.js";import{d as X,W as Z,e as ee}from"./index-d5406c70.js";import{d as te,r as h,Q as le,x as ae,h as o,R as oe,o as _,c as I,e as t,f as l,S as R,U as P,b as p,l as c,a as v,w as ne,I as C,t as f,E as $,q as L}from"./index-e656eb90.js";const re={style:{float:"right"}},se={class:"answer"},ie={class:"answer_container"},ce=["src"],ue=te({__name:"draw",setup(de){const D=h(),k=h(0),w=h(!1),s=le({rec:null,status:null,page:1,size:10}),z=h([]);async function u(){try{w.value=!0;const r=await G.queryAdminDrawList(s);w.value=!1;const{rows:a,count:g}=r.data;k.value=g,z.value=a}catch{w.value=!1}}function N(r){r==null||r.resetFields(),u()}async function j(r){const a=await V.recMjDrawImg({id:r});$.success(a.data),u()}async function B(r){const a=await V.delChatLog({id:r});$.success(a.data),u()}return ae(()=>{u()}),(r,a)=>{const g=o("el-option"),A=o("el-select"),b=o("el-form-item"),m=o("el-button"),W=o("el-form"),y=Q,Y=o("el-alert"),n=o("el-table-column"),q=o("el-image"),S=o("el-tag"),O=o("el-popover"),x=o("el-popconfirm"),F=o("el-table"),E=o("el-pagination"),H=o("el-row"),J=oe("loading");return _(),I("div",null,[t(y,null,{default:l(()=>[t(W,{ref_key:"formRef",ref:D,inline:!0,model:s},{default:l(()=>[t(b,{label:"推荐状态",prop:"rec"},{default:l(()=>[t(A,{modelValue:s.rec,"onUpdate:modelValue":a[0]||(a[0]=e=>s.rec=e),placeholder:"请选择推荐状态",clearable:""},{default:l(()=>[(_(!0),I(R,null,P(p(X),e=>(_(),C(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(b,{label:"绘制状态",prop:"status"},{default:l(()=>[t(A,{modelValue:s.status,"onUpdate:modelValue":a[1]||(a[1]=e=>s.status=e),placeholder:"请选择绘制状态",clearable:""},{default:l(()=>[(_(!0),I(R,null,P(p(Z),e=>(_(),C(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(b,null,{default:l(()=>[t(m,{type:"primary",onClick:u},{default:l(()=>[c(" 查询 ")]),_:1}),t(m,{onClick:a[2]||(a[2]=e=>N(p(D)))},{default:l(()=>[c(" 重置 ")]),_:1})]),_:1}),v("span",re,[t(m,{type:"success",onClick:u},{default:l(()=>[c(" 刷新列表 ")]),_:1})])]),_:1},8,["model"])]),_:1}),t(y,null,{default:l(()=>[t(Y,{"show-icon":"",title:"MJ绘图历史说明",description:"点击推荐的图片将会出现在画廊当中!",type:"success"})]),_:1}),t(y,{style:{width:"100%"}},{default:l(()=>[ne((_(),C(F,{border:"",data:p(z),style:{width:"100%"},size:"large"},{default:l(()=>[t(n,{prop:"id",align:"center",label:"ID",width:"70"}),t(n,{prop:"drawUrl",align:"center",label:"绘图结果"},{default:l(e=>{var i,d;return[t(q,{style:{height:"120px"},"preview-teleported":"",fit:"contain","preview-src-list":[(i=e.row)==null?void 0:i.drawUrl],src:(d=e.row)==null?void 0:d.drawUrl,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(n,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(n,{prop:"fileInfo.thumbImg",align:"center",label:"推荐状态",width:"90"},{default:l(e=>[t(S,{type:e.row.rec===1?"success":""},{default:l(()=>[c(f(e.row.rec===1?"已推荐":"未推荐"),1)]),_:2},1032,["type"])]),_:1}),t(n,{prop:"userInfo.email",label:"邮箱",width:"180",align:"center"}),t(n,{prop:"status",align:"center",label:"绘图状态",width:"105"},{default:l(e=>[t(S,{type:e.row.status===100?"success":""},{default:l(()=>[c(f(p(ee)[e.row.status]),1)]),_:2},1032,["type"])]),_:1}),t(n,{prop:"fullPrompt",label:"绘图指令",align:"center",width:"200"},{default:l(e=>[t(O,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[v("div",se,f(e.row.fullPrompt),1)]),default:l(()=>[v("div",ie,f(e.row.fullPrompt),1)]),_:2},1024)]),_:1}),t(n,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(n,{prop:"fileInfo.thumbImg",align:"center",label:"绘图尺寸",width:"120"},{default:l(e=>{var i,d,T,U,M;return[c(f((i=e.row)!=null&&i.fileInfo?`${(T=(d=e.row)==null?void 0:d.fileInfo)==null?void 0:T.width}*${(M=(U=e.row)==null?void 0:U.fileInfo)==null?void 0:M.height}`:"---"),1)]}),_:1}),t(n,{prop:"userInfo.avatar",label:"用户头像",width:"90"},{default:l(e=>{var i,d;return[v("img",{src:(d=(i=e.row)==null?void 0:i.userInfo)==null?void 0:d.avatar,style:{height:"50px"}},null,8,ce)]}),_:1}),t(n,{prop:"createdAt",label:"提问时间",align:"center",width:"200"},{default:l(e=>[c(f(p(K)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(n,{fixed:"right",label:"操作",width:"200",align:"center"},{default:l(e=>[t(x,{title:`确认${e.row.rec===1?"取消推荐":"推荐"}图片吗!`,width:"260","icon-color":"red",onConfirm:i=>j(e.row.id)},{reference:l(()=>[t(m,{link:"",type:e.row.rec===1?"success":"",size:"small"},{default:l(()=>[c(" 推荐图片 ")]),_:2},1032,["type"])]),_:2},1032,["title","onConfirm"]),t(x,{title:"`确认删除此条记录么!",width:"260","icon-color":"red",onConfirm:i=>B(e.row.id)},{reference:l(()=>[t(m,{type:"warning",size:"small"},{default:l(()=>[c(" 删除记录 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[J,p(w)]]),t(H,{class:"flex justify-end mt-5"},{default:l(()=>[t(E,{"current-page":s.page,"onUpdate:currentPage":a[3]||(a[3]=e=>s.page=e),"page-size":s.size,"onUpdate:pageSize":a[4]||(a[4]=e=>s.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:p(k),onSizeChange:u,onCurrentChange:u},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof L=="function"&&L(ue);export{ue as default}; diff --git a/public/admin/assets/draw-48211430.css b/public/admin/assets/draw-BqaQv8sQ.css similarity index 81% rename from public/admin/assets/draw-48211430.css rename to public/admin/assets/draw-BqaQv8sQ.css index e15e687..44b941b 100644 --- a/public/admin/assets/draw-48211430.css +++ b/public/admin/assets/draw-BqaQv8sQ.css @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + .draw_container{flex-wrap:wrap;min-height:400px}.draw_img_container{max-width:18%;flex-direction:column;margin:8px;box-sizing:border-box;border:1px solid #ccc;border-radius:5px}.draw_img_container .draw_head{flex:1;display:flex;justify-content:center;align-items:center;overflow:hidden}.draw_img_container .draw_img{width:100%}.draw_img_container .draw_footer{height:25px} diff --git a/public/admin/assets/draw-BqaQv8sQ.css.br b/public/admin/assets/draw-BqaQv8sQ.css.br new file mode 100644 index 0000000..5c768ad Binary files /dev/null and b/public/admin/assets/draw-BqaQv8sQ.css.br differ diff --git a/public/admin/assets/draw-BqaQv8sQ.css.gz b/public/admin/assets/draw-BqaQv8sQ.css.gz new file mode 100644 index 0000000..125a74c Binary files /dev/null and b/public/admin/assets/draw-BqaQv8sQ.css.gz differ diff --git a/public/admin/assets/draw-CP44uPQp.js b/public/admin/assets/draw-CP44uPQp.js new file mode 100644 index 0000000..746d10f --- /dev/null +++ b/public/admin/assets/draw-CP44uPQp.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{A as K}from"./chat-CU5Pqkmz.js";import{d as O,r as p,m as W,a as G,n as o,q as J,g as i,c as g,b as t,w as l,F as U,s as V,i as S,h as c,y as Q,z as w,t as _,e as v,K as X,k as L}from"./index-B-LUCRde.js";import{D as Z}from"./index-J5zVJPyL.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";const ee=v("div",{class:"flex items-center gap-4"},"绘画记录",-1),te={class:"answer"},le={class:"answer_container"},ae=O({__name:"draw",setup(oe){const u=p(!1),b=p(),h=p(0),y=p(),n=W({userId:"",rec:"",model:"",page:1,size:14}),k=p([]);async function d(){u.value=!0;try{const r=await K.queryDrawAll(n),{rows:a,count:m}=r.data;u.value=!1,h.value=m,k.value=a}catch{u.value=!1}}async function q(r){const a=await X.queryAllUser({size:30,username:r});y.value=a.data.rows}function B(r){r==null||r.resetFields(),d()}return G(()=>{d()}),(r,a)=>{const m=H,z=o("el-option"),D=o("el-select"),f=o("el-form-item"),x=o("el-button"),M=o("el-form"),I=P,s=o("el-table-column"),R=o("el-image"),T=o("el-tag"),Y=o("el-popover"),F=o("el-table"),N=o("el-pagination"),$=o("el-row"),j=J("loading");return i(),g("div",null,[t(m,null,{title:l(()=>[ee]),_:1}),t(I,null,{default:l(()=>[t(M,{ref_key:"formRef",ref:b,inline:!0,model:n},{default:l(()=>[t(f,{label:"用户名称",prop:"userId"},{default:l(()=>[t(D,{modelValue:n.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":q,style:{width:"160px"}},{default:l(()=>[(i(!0),g(U,null,V(y.value,e=>(i(),w(z,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"绘画模型",prop:"model"},{default:l(()=>[t(D,{modelValue:n.model,"onUpdate:modelValue":a[1]||(a[1]=e=>n.model=e),placeholder:"请选择绘画模型",clearable:"",style:{width:"160px"}},{default:l(()=>[(i(!0),g(U,null,V(S(Z),e=>(i(),w(z,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:l(()=>[t(x,{type:"primary",onClick:d},{default:l(()=>[c(" 查询 ")]),_:1}),t(x,{onClick:a[2]||(a[2]=e=>B(b.value))},{default:l(()=>[c(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(I,{style:{width:"100%"}},{default:l(()=>[Q((i(),w(F,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:l(()=>[t(s,{prop:"id",align:"center",label:"ID",width:"70"}),t(s,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(s,{prop:"userInfo.email",align:"center",label:"用户邮箱",width:"200"}),t(s,{prop:"drawUrl",align:"center",label:"绘图结果",width:"200"},{default:l(e=>{var A,C;return[t(R,{style:{height:"50px"},"preview-teleported":"",fit:"contain","preview-src-list":[(A=e.row)==null?void 0:A.drawUrl],src:(C=e.row)==null?void 0:C.fileInfo,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(s,{prop:"model",label:"种类",width:"180",align:"center"},{default:l(e=>[t(T,{type:"success"},{default:l(()=>[c(_(e.row.model),1)]),_:2},1024)]),_:1}),t(s,{prop:"prompt",label:"绘图指令",align:"center",width:"250"},{default:l(e=>[t(Y,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[v("div",te,_(e.row.prompt),1)]),default:l(()=>[v("div",le,_(e.row.prompt),1)]),_:2},1024)]),_:1}),t(s,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(s,{prop:"createdAt",label:"绘图时间",align:"center",width:"200"},{default:l(e=>[c(_(S(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[j,u.value]]),t($,{class:"mt-5 flex justify-end"},{default:l(()=>[t(N,{"current-page":n.page,"onUpdate:currentPage":a[3]||(a[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":a[4]||(a[4]=e=>n.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:h.value,onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof L=="function"&&L(ae);export{ae as default}; diff --git a/public/admin/assets/draw-CP44uPQp.js.br b/public/admin/assets/draw-CP44uPQp.js.br new file mode 100644 index 0000000..980ccbd Binary files /dev/null and b/public/admin/assets/draw-CP44uPQp.js.br differ diff --git a/public/admin/assets/draw-CP44uPQp.js.gz b/public/admin/assets/draw-CP44uPQp.js.gz new file mode 100644 index 0000000..66ff7f9 Binary files /dev/null and b/public/admin/assets/draw-CP44uPQp.js.gz differ diff --git a/public/admin/assets/draw-tNxylMdp.js b/public/admin/assets/draw-tNxylMdp.js new file mode 100644 index 0000000..105a851 --- /dev/null +++ b/public/admin/assets/draw-tNxylMdp.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{A as U}from"./chat-CU5Pqkmz.js";import{A as K}from"./mj-pS3epuL3.js";import{u as Q}from"./utcformatTime-Bq4gDWNx.js";import{b as X,W as Z}from"./index-J5zVJPyL.js";import{d as ee,r as h,m as te,a as le,n as o,q as ae,g as _,c as C,b as t,w as l,F as V,s as $,i as p,h as d,e as b,y as oe,z as I,t as m,E as L,k as N}from"./index-B-LUCRde.js";const ne={style:{float:"right"}},re={class:"answer"},se={class:"answer_container"},ie=["src"],ce=ee({__name:"draw",setup(ue){const k=h(),z=h(0),w=h(!1),s=te({rec:null,status:null,page:1,size:10}),D=h([]);async function c(){try{w.value=!0;const n=await K.queryAdminDrawList(s);w.value=!1;const{rows:a,count:g}=n.data;z.value=g,D.value=a}catch{w.value=!1}}function P(n){n==null||n.resetFields(),c()}async function R(n){const a=await U.recMjDrawImg({id:n});L.success(a.data),c()}async function j(n){const a=await U.delChatLog({id:n});L.success(a.data),c()}return le(()=>{c()}),(n,a)=>{const g=o("el-option"),x=o("el-select"),v=o("el-form-item"),f=o("el-button"),B=o("el-form"),y=G,Y=o("el-alert"),r=o("el-table-column"),q=o("el-image"),F=o("el-tag"),O=o("el-popover"),A=o("el-popconfirm"),W=o("el-table"),E=o("el-pagination"),H=o("el-row"),J=ae("loading");return _(),C("div",null,[t(y,null,{default:l(()=>[t(B,{ref_key:"formRef",ref:k,inline:!0,model:s},{default:l(()=>[t(v,{label:"推荐状态",prop:"rec"},{default:l(()=>[t(x,{modelValue:s.rec,"onUpdate:modelValue":a[0]||(a[0]=e=>s.rec=e),placeholder:"请选择推荐状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(_(!0),C(V,null,$(p(X),e=>(_(),I(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"绘制状态",prop:"status"},{default:l(()=>[t(x,{modelValue:s.status,"onUpdate:modelValue":a[1]||(a[1]=e=>s.status=e),placeholder:"请选择绘制状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(_(!0),C(V,null,$(p(Z),e=>(_(),I(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,null,{default:l(()=>[t(f,{type:"primary",onClick:c},{default:l(()=>[d(" 查询 ")]),_:1}),t(f,{onClick:a[2]||(a[2]=e=>P(p(k)))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1}),b("span",ne,[t(f,{type:"success",onClick:c},{default:l(()=>[d(" 刷新列表 ")]),_:1})])]),_:1},8,["model"])]),_:1}),t(y,null,{default:l(()=>[t(Y,{"show-icon":"",title:"MJ绘图历史说明",description:"点击推荐的图片将会出现在画廊当中!",type:"success"})]),_:1}),t(y,{style:{width:"100%"}},{default:l(()=>[oe((_(),I(W,{border:"",data:p(D),style:{width:"100%"},size:"large"},{default:l(()=>[t(r,{prop:"id",align:"center",label:"ID",width:"70"}),t(r,{prop:"drawUrl",align:"center",label:"绘图结果"},{default:l(e=>{var i,u;return[t(q,{style:{height:"120px"},"preview-teleported":"",fit:"contain","preview-src-list":[(i=e.row)==null?void 0:i.drawUrl],src:(u=e.row)==null?void 0:u.drawUrl,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(r,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(r,{prop:"fileInfo.thumbImg",align:"center",label:"推荐状态",width:"90"},{default:l(e=>[t(F,{type:e.row.rec===1?"success":"info"},{default:l(()=>[d(m(e.row.rec===1?"已推荐":"未推荐"),1)]),_:2},1032,["type"])]),_:1}),t(r,{prop:"userInfo.email",label:"邮箱",width:"180",align:"center"}),t(r,{prop:"fullPrompt",label:"绘图指令",align:"center",width:"200"},{default:l(e=>[t(O,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[b("div",re,m(e.row.fullPrompt),1)]),default:l(()=>[b("div",se,m(e.row.fullPrompt),1)]),_:2},1024)]),_:1}),t(r,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(r,{prop:"fileInfo.thumbImg",align:"center",label:"绘图尺寸",width:"120"},{default:l(e=>{var i,u,M,S,T;return[d(m((i=e.row)!=null&&i.fileInfo?`${(M=(u=e.row)==null?void 0:u.fileInfo)==null?void 0:M.width}*${(T=(S=e.row)==null?void 0:S.fileInfo)==null?void 0:T.height}`:"---"),1)]}),_:1}),t(r,{prop:"userInfo.avatar",label:"用户头像",width:"90"},{default:l(e=>{var i,u;return[b("img",{src:(u=(i=e.row)==null?void 0:i.userInfo)==null?void 0:u.avatar,style:{height:"50px"}},null,8,ie)]}),_:1}),t(r,{prop:"createdAt",label:"提问时间",align:"center",width:"200"},{default:l(e=>[d(m(p(Q)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(r,{fixed:"right",label:"操作",width:"200",align:"center"},{default:l(e=>[t(A,{title:`确认${e.row.rec===1?"取消推荐":"推荐"}图片吗!`,width:"260","icon-color":"red",onConfirm:i=>R(e.row.id)},{reference:l(()=>[t(f,{link:"",type:e.row.rec===1?"success":"",size:"small"},{default:l(()=>[d(" 推荐图片 ")]),_:2},1032,["type"])]),_:2},1032,["title","onConfirm"]),t(A,{title:"`确认删除此条记录么!",width:"260","icon-color":"red",onConfirm:i=>j(e.row.id)},{reference:l(()=>[t(f,{type:"warning",size:"small"},{default:l(()=>[d(" 删除记录 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[J,p(w)]]),t(H,{class:"mt-5 flex justify-end"},{default:l(()=>[t(E,{"current-page":s.page,"onUpdate:currentPage":a[3]||(a[3]=e=>s.page=e),"page-size":s.size,"onUpdate:pageSize":a[4]||(a[4]=e=>s.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:p(z),onSizeChange:c,onCurrentChange:c},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof N=="function"&&N(ce);export{ce as default}; diff --git a/public/admin/assets/draw-tNxylMdp.js.br b/public/admin/assets/draw-tNxylMdp.js.br new file mode 100644 index 0000000..3fad956 Binary files /dev/null and b/public/admin/assets/draw-tNxylMdp.js.br differ diff --git a/public/admin/assets/draw-tNxylMdp.js.gz b/public/admin/assets/draw-tNxylMdp.js.gz new file mode 100644 index 0000000..af4b9ab Binary files /dev/null and b/public/admin/assets/draw-tNxylMdp.js.gz differ diff --git a/public/admin/assets/dtd-8d673f3f.js b/public/admin/assets/dtd-DF_7sFjM.js similarity index 95% rename from public/admin/assets/dtd-8d673f3f.js rename to public/admin/assets/dtd-DF_7sFjM.js index e4938bf..f024b52 100644 --- a/public/admin/assets/dtd-8d673f3f.js +++ b/public/admin/assets/dtd-DF_7sFjM.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var u;function r(e,n){return u=n,e}function t(e,n){var l=e.next();if(l=="<"&&e.eat("!")){if(e.eatWhile(/[\-]/))return n.tokenize=o,o(e,n);if(e.eatWhile(/[\w]/))return r("keyword","doindent")}else{if(l=="<"&&e.eat("?"))return n.tokenize=a("meta","?>"),r("meta",l);if(l=="#"&&e.eatWhile(/[\w]/))return r("atom","tag");if(l=="|")return r("keyword","separator");if(l.match(/[\(\)\[\]\-\.,\+\?>]/))return r(null,l);if(l.match(/[\[\]]/))return r("rule",l);if(l=='"'||l=="'")return n.tokenize=k(l),n.tokenize(e,n);if(e.eatWhile(/[a-zA-Z\?\+\d]/)){var i=e.current();return i.substr(i.length-1,i.length).match(/\?|\+/)!==null&&e.backUp(1),r("tag","tag")}else return l=="%"||l=="*"?r("number","number"):(e.eatWhile(/[\w\\\-_%.{,]/),r(null,null))}}function o(e,n){for(var l=0,i;(i=e.next())!=null;){if(l>=2&&i==">"){n.tokenize=t;break}l=i=="-"?l+1:0}return r("comment","comment")}function k(e){return function(n,l){for(var i=!1,c;(c=n.next())!=null;){if(c==e&&!i){l.tokenize=t;break}i=!i&&c=="\\"}return r("string","tag")}}function a(e,n){return function(l,i){for(;!l.eol();){if(l.match(n)){i.tokenize=t;break}l.next()}return e}}const f={name:"dtd",startState:function(){return{tokenize:t,baseIndent:0,stack:[]}},token:function(e,n){if(e.eatSpace())return null;var l=n.tokenize(e,n),i=n.stack[n.stack.length-1];return e.current()=="["||u==="doindent"||u=="["?n.stack.push("rule"):u==="endtag"?n.stack[n.stack.length-1]="endtag":e.current()=="]"||u=="]"||u==">"&&i=="rule"?n.stack.pop():u=="["&&n.stack.push("["),l},indent:function(e,n,l){var i=e.stack.length;return n.charAt(0)==="]"?i--:n.substr(n.length-1,n.length)===">"&&(n.substr(0,1)==="<"||u=="doindent"&&n.length>1||(u=="doindent"?i--:u==">"&&n.length>1||u=="tag"&&n!==">"||(u=="tag"&&e.stack[e.stack.length-1]=="rule"?i--:u=="tag"?i++:n===">"&&e.stack[e.stack.length-1]=="rule"&&u===">"?i--:n===">"&&e.stack[e.stack.length-1]=="rule"||(n.substr(0,1)!=="<"&&n.substr(0,1)===">"?i=i-1:n===">"||(i=i-1)))),(u==null||u=="]")&&i--),e.baseIndent+i*l.unit},languageData:{indentOnInput:/^\s*[\]>]$/}};export{f as dtd}; diff --git a/public/admin/assets/dtd-DF_7sFjM.js.br b/public/admin/assets/dtd-DF_7sFjM.js.br new file mode 100644 index 0000000..a844ca4 Binary files /dev/null and b/public/admin/assets/dtd-DF_7sFjM.js.br differ diff --git a/public/admin/assets/dtd-DF_7sFjM.js.gz b/public/admin/assets/dtd-DF_7sFjM.js.gz new file mode 100644 index 0000000..69962cd Binary files /dev/null and b/public/admin/assets/dtd-DF_7sFjM.js.gz differ diff --git a/public/admin/assets/dylan-94e68d48.js b/public/admin/assets/dylan-DwRh75JA.js similarity index 97% rename from public/admin/assets/dylan-94e68d48.js rename to public/admin/assets/dylan-DwRh75JA.js index aa77b48..bd92c40 100644 --- a/public/admin/assets/dylan-94e68d48.js +++ b/public/admin/assets/dylan-DwRh75JA.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function p(e,i){for(var n=0;n",symbolGlobal:"\\*"+f+"\\*",symbolConstant:"\\$"+f},w={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variableName.standard",symbolConstant:"variableName.constant"};for(var c in a)a.hasOwnProperty(c)&&(a[c]=new RegExp("^"+a[c]));a.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var u={};u.keyword="keyword";u.definition="def";u.simpleDefinition="def";u.signalingCalls="builtin";var y={},k={};p(["keyword","definition","simpleDefinition","signalingCalls"],function(e){p(t[e],function(i){y[i]=e,k[i]=u[e]})});function d(e,i,n){return i.tokenize=n,n(e,i)}function s(e,i){var n=e.peek();if(n=="'"||n=='"')return e.next(),d(e,i,h(n,"string"));if(n=="/"){if(e.next(),e.eat("*"))return d(e,i,D);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if(n=="#")return e.next(),n=e.peek(),n=='"'?(e.next(),d(e,i,h('"',"string"))):n=="b"?(e.next(),e.eatWhile(/[01]/),"number"):n=="x"?(e.next(),e.eatWhile(/[\da-f]/i),"number"):n=="o"?(e.next(),e.eatWhile(/[0-7]/),"number"):n=="#"?(e.next(),"punctuation"):n=="["||n=="("?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if(n=="~")return e.next(),n=e.peek(),n=="="?(e.next(),n=e.peek(),n=="="&&e.next(),"operator"):"operator";if(n==":"){if(e.next(),n=e.peek(),n=="=")return e.next(),"operator";if(n==":")return e.next(),"punctuation"}else{if("[](){}".indexOf(n)!=-1)return e.next(),"bracket";if(".,".indexOf(n)!=-1)return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var l in a)if(a.hasOwnProperty(l)){var r=a[l];if(r instanceof Array&&x(r,function(o){return e.match(o)})||e.match(r))return w[l]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),y.hasOwnProperty(e.current())?k[e.current()]:e.current().match(v)?"variable":(e.next(),"variableName.standard"))}function D(e,i){for(var n=!1,l=!1,r=0,o;o=e.next();){if(o=="/"&&n)if(r>0)r--;else{i.tokenize=s;break}else o=="*"&&l&&r++;n=o=="*",l=o=="/"}return"comment"}function h(e,i){return function(n,l){for(var r=!1,o,b=!1;(o=n.next())!=null;){if(o==e&&!r){b=!0;break}r=!r&&o=="\\"}return(b||!r)&&(l.tokenize=s),i}}const g={name:"dylan",startState:function(){return{tokenize:s,currentIndent:0}},token:function(e,i){if(e.eatSpace())return null;var n=i.tokenize(e,i);return n},languageData:{commentTokens:{block:{open:"/*",close:"*/"}}}};export{g as dylan}; diff --git a/public/admin/assets/dylan-DwRh75JA.js.br b/public/admin/assets/dylan-DwRh75JA.js.br new file mode 100644 index 0000000..c3071a8 Binary files /dev/null and b/public/admin/assets/dylan-DwRh75JA.js.br differ diff --git a/public/admin/assets/dylan-DwRh75JA.js.gz b/public/admin/assets/dylan-DwRh75JA.js.gz new file mode 100644 index 0000000..ce14563 Binary files /dev/null and b/public/admin/assets/dylan-DwRh75JA.js.gz differ diff --git a/public/admin/assets/ebnf-9a58f677.js b/public/admin/assets/ebnf-CDyGwa7X.js similarity index 95% rename from public/admin/assets/ebnf-9a58f677.js rename to public/admin/assets/ebnf-CDyGwa7X.js index cce6195..eb75af1 100644 --- a/public/admin/assets/ebnf-9a58f677.js +++ b/public/admin/assets/ebnf-CDyGwa7X.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var i={slash:0,parenthesis:1},n={comment:0,_string:1,characterClass:2};const l={name:"ebnf",startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,c){if(e){switch(c.stack.length===0&&(e.peek()=='"'||e.peek()=="'"?(c.stringType=e.peek(),e.next(),c.stack.unshift(n._string)):e.match("/*")?(c.stack.unshift(n.comment),c.commentType=i.slash):e.match("(*")&&(c.stack.unshift(n.comment),c.commentType=i.parenthesis)),c.stack[0]){case n._string:for(;c.stack[0]===n._string&&!e.eol();)e.peek()===c.stringType?(e.next(),c.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return c.lhs?"property":"string";case n.comment:for(;c.stack[0]===n.comment&&!e.eol();)c.commentType===i.slash&&e.match("*/")||c.commentType===i.parenthesis&&e.match("*)")?(c.stack.shift(),c.commentType=null):e.match(/^.[^\*]*/);return"comment";case n.characterClass:for(;c.stack[0]===n.characterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||c.stack.shift();return"operator"}var t=e.peek();switch(t){case"[":return e.next(),c.stack.unshift(n.characterClass),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"bracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string.special";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(t))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variableName.special";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variableName.special":["[","]","(",")"].indexOf(e.peek())!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}};export{l as ebnf}; diff --git a/public/admin/assets/ebnf-CDyGwa7X.js.br b/public/admin/assets/ebnf-CDyGwa7X.js.br new file mode 100644 index 0000000..634b748 Binary files /dev/null and b/public/admin/assets/ebnf-CDyGwa7X.js.br differ diff --git a/public/admin/assets/ebnf-CDyGwa7X.js.gz b/public/admin/assets/ebnf-CDyGwa7X.js.gz new file mode 100644 index 0000000..107d641 Binary files /dev/null and b/public/admin/assets/ebnf-CDyGwa7X.js.gz differ diff --git a/public/admin/assets/ecl-8c848bde.js b/public/admin/assets/ecl-Cabwm37j.js similarity index 98% rename from public/admin/assets/ecl-8c848bde.js rename to public/admin/assets/ecl-Cabwm37j.js index e847ebd..4476f0f 100644 --- a/public/admin/assets/ecl-8c848bde.js +++ b/public/admin/assets/ecl-Cabwm37j.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function l(e){for(var n={},t=e.split(" "),r=0;r!?|\/]/,o;function p(e,n){var t=e.next();if(m[t]){var r=m[t](e,n);if(r!==!1)return r}if(t=='"'||t=="'")return n.tokenize=I(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("*"))return n.tokenize=y,y(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(h.test(t))return e.eatWhile(h),"operator";e.eatWhile(/[\w\$_]/);var i=e.current().toLowerCase();if(g.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"keyword";if(w.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"variable";if(x.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"modifier";if(f.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"type";if(k.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"builtin";for(var a=i.length-1;a>=0&&(!isNaN(i[a])||i[a]=="_");)--a;if(a>0){var d=i.substr(0,a+1);if(f.propertyIsEnumerable(d))return s.propertyIsEnumerable(d)&&(o="newstatement"),"type"}return E.propertyIsEnumerable(i)?"atom":null}function I(e){return function(n,t){for(var r=!1,i,a=!1;(i=n.next())!=null;){if(i==e&&!r){a=!0;break}r=!r&&i=="\\"}return(a||!r)&&(t.tokenize=p),"string"}}function y(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=p;break}t=r=="*"}return"comment"}function v(e,n,t,r,i){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=i}function c(e,n,t){return e.context=new v(e.indented,n,t,null,e.context)}function u(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const z={name:"ecl",startState:function(e){return{tokenize:null,context:new v(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var r=(n.tokenize||p)(e,n);if(r=="comment"||r=="meta")return r;if(t.align==null&&(t.align=!0),(o==";"||o==":")&&t.type=="statement")u(n);else if(o=="{")c(n,e.column(),"}");else if(o=="[")c(n,e.column(),"]");else if(o=="(")c(n,e.column(),")");else if(o=="}"){for(;t.type=="statement";)t=u(n);for(t.type=="}"&&(t=u(n));t.type=="statement";)t=u(n)}else o==t.type?u(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&o=="newstatement")&&c(n,e.column(),"statement");return n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=p&&e.tokenize!=null)return 0;var r=e.context,i=n&&n.charAt(0);r.type=="statement"&&i=="}"&&(r=r.prev);var a=i==r.type;return r.type=="statement"?r.indented+(i=="{"?0:t.unit):r.align?r.column+(a?0:1):r.indented+(a?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/}};export{z as ecl}; diff --git a/public/admin/assets/ecl-Cabwm37j.js.br b/public/admin/assets/ecl-Cabwm37j.js.br new file mode 100644 index 0000000..b2d9d6e Binary files /dev/null and b/public/admin/assets/ecl-Cabwm37j.js.br differ diff --git a/public/admin/assets/ecl-Cabwm37j.js.gz b/public/admin/assets/ecl-Cabwm37j.js.gz new file mode 100644 index 0000000..3126d53 Binary files /dev/null and b/public/admin/assets/ecl-Cabwm37j.js.gz differ diff --git a/public/admin/assets/edit-C7lymP1E.css b/public/admin/assets/edit-C7lymP1E.css new file mode 100644 index 0000000..280cfce --- /dev/null +++ b/public/admin/assets/edit-C7lymP1E.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.fixed-action-bar[data-v-9af45002]{box-shadow:0 0 1px 0 var(--g-box-shadow-color)}.fixed-action-bar.shadow[data-v-9af45002]{box-shadow:0 -10px 10px -10px var(--g-box-shadow-color)} diff --git a/public/admin/assets/edit-C7lymP1E.css.br b/public/admin/assets/edit-C7lymP1E.css.br new file mode 100644 index 0000000..e80eb27 Binary files /dev/null and b/public/admin/assets/edit-C7lymP1E.css.br differ diff --git a/public/admin/assets/edit-C7lymP1E.css.gz b/public/admin/assets/edit-C7lymP1E.css.gz new file mode 100644 index 0000000..4358f86 Binary files /dev/null and b/public/admin/assets/edit-C7lymP1E.css.gz differ diff --git a/public/admin/assets/edit.password-D7ZAvQv4.js b/public/admin/assets/edit.password-D7ZAvQv4.js new file mode 100644 index 0000000..8c24777 --- /dev/null +++ b/public/admin/assets/edit.password-D7ZAvQv4.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as b,r as i,a as z,S as B,g as v,c as x,P as M,Q as R,i as n,l as T,N as $,f as L,L as N,n as l,b as e,w as t,h as g,K as A,E as F,k as h}from"./index-B-LUCRde.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{u as Q}from"./useMainPage-DaitCM4q.js";const j=b({name:"FixedActionBar",__name:"index",setup(y){const p=i(!1);z(()=>{d(),window.addEventListener("scroll",d)}),B(()=>{window.removeEventListener("scroll",d)});function d(){const u=document.documentElement.scrollTop||document.body.scrollTop,r=document.documentElement.clientHeight||document.body.clientHeight,o=document.documentElement.scrollHeight||document.body.scrollHeight;p.value=Math.ceil(u+r)>=o}return(u,r)=>(v(),x("div",{class:R(["fixed-action-bar bottom-0 z-4 bg-[var(--g-container-bg)] p-5 text-center transition",{shadow:!n(p)}]),"data-fixed-calc-width":""},[M(u.$slots,"default",{},void 0,!0)],2))}}),D=T(j,[["__scopeId","data-v-9af45002"]]),G=b({__name:"edit.password",setup(y){const p=$(),d=L(),u=N(),r=i(),o=i({password:"",newpassword:"",checkpassword:""}),k=Q(),V=i({password:[{required:!0,message:"请输入原密码",trigger:"blur"}],newpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}],checkpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{validator:(m,s,a)=>{s!==o.value.newpassword?a(new Error("两次密码不一致!")):a()}}]});function E(){r.value&&r.value.validate(m=>{if(m){const{password:s,newpassword:a}=o.value;A.passwordEdit({oldPassword:s,password:a}).then(()=>{F({type:"success",message:"修改密码成功,请重新登录"}),u.logout().then(()=>{d.push({name:"login",query:{redirect:p.fullPath}})})})}})}function C(){k.reload()}return(m,s)=>{const a=K,_=l("el-input"),w=l("el-form-item"),H=l("el-form"),S=l("el-col"),U=l("el-row"),P=I,f=l("el-button"),q=D;return v(),x("div",null,[e(a,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(P,null,{default:t(()=>[e(U,null,{default:t(()=>[e(S,{md:24,lg:12},{default:t(()=>[e(H,{ref_key:"formRef",ref:r,model:n(o),rules:n(V),"label-width":"120px"},{default:t(()=>[e(w,{label:"原密码",prop:"password"},{default:t(()=>[e(_,{modelValue:n(o).password,"onUpdate:modelValue":s[0]||(s[0]=c=>n(o).password=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"新密码",prop:"newpassword"},{default:t(()=>[e(_,{modelValue:n(o).newpassword,"onUpdate:modelValue":s[1]||(s[1]=c=>n(o).newpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"确认新密码",prop:"checkpassword"},{default:t(()=>[e(_,{modelValue:n(o).checkpassword,"onUpdate:modelValue":s[2]||(s[2]=c=>n(o).checkpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(q,null,{default:t(()=>[e(f,{type:"primary",size:"large",onClick:E},{default:t(()=>[g(" 提交 ")]),_:1}),e(f,{type:"default",size:"large",onClick:C},{default:t(()=>[g(" 取消 ")]),_:1})]),_:1})])}}});typeof h=="function"&&h(G);export{G as default}; diff --git a/public/admin/assets/edit.password-D7ZAvQv4.js.br b/public/admin/assets/edit.password-D7ZAvQv4.js.br new file mode 100644 index 0000000..33e27d0 Binary files /dev/null and b/public/admin/assets/edit.password-D7ZAvQv4.js.br differ diff --git a/public/admin/assets/edit.password-D7ZAvQv4.js.gz b/public/admin/assets/edit.password-D7ZAvQv4.js.gz new file mode 100644 index 0000000..9cbfd48 Binary files /dev/null and b/public/admin/assets/edit.password-D7ZAvQv4.js.gz differ diff --git a/public/admin/assets/edit.password-a4e6a696.js b/public/admin/assets/edit.password-a4e6a696.js deleted file mode 100644 index d771dd3..0000000 --- a/public/admin/assets/edit.password-a4e6a696.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as _,r as m,x as N,F as R,o as w,c as f,N as b,G as T,b as s,n as k,O as M,a as y,t as x,J as z,l as E,g as A,j as F,u as I,h as u,e,f as n,P as L,E as j,q as V}from"./index-e656eb90.js";import{_ as D}from"./index-fd8a5577.js";const G=_({name:"FixedActionBar"}),J=_({...G,setup(i){const a=m(!1);N(()=>{l(),window.addEventListener("scroll",l)}),R(()=>{window.removeEventListener("scroll",l)});function l(){const r=document.documentElement.scrollTop||document.body.scrollTop,d=document.documentElement.clientHeight||document.body.clientHeight,o=document.documentElement.scrollHeight||document.body.scrollHeight;a.value=Math.ceil(r+d)>=o}return(r,d)=>(w(),f("div",{class:T(["actionbar",{shadow:!s(a)}]),"data-fixed-calc-width":""},[b(r.$slots,"default",{},void 0,!0)],2))}});const O=k(J,[["__scopeId","data-v-63511cc5"]]),K={class:"header"},Q={class:"main"},W={class:"title"},X={class:"content"},Y={key:0,class:"sub"},Z=_({name:"PageHeader"}),ee=_({...Z,props:{title:{type:String,required:!0},content:{type:String,default:""}},setup(i){const a=M();return(l,r)=>(w(),f("div",K,[y("div",Q,[y("div",W,x(i.title),1),y("div",X,[b(l.$slots,"content",{},()=>[E(x(i.content),1)],!0)])]),s(a).default?(w(),f("div",Y,[b(l.$slots,"default",{},void 0,!0)])):z("",!0)]))}});const oe=k(ee,[["__scopeId","data-v-24ce26ee"]]),te=_({name:"PersonalEditPassword"}),se=_({...te,setup(i){const a=A(),l=F(),r=I(),d=m(),o=m({password:"",newpassword:"",checkpassword:""}),S=m({password:[{required:!0,message:"请输入原密码",trigger:"blur"}],newpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}],checkpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{validator:(g,t,c)=>{t!==o.value.newpassword?c(new Error("两次密码不一致!")):c()}}]});function $(){d.value&&d.value.validate(g=>{if(g){const{password:t,newpassword:c}=o.value;L.updatePassword({oldPassword:t,password:c}).then(()=>{j({type:"success",message:"修改密码成功,请重新登录"}),r.logout().then(()=>{l.push({name:"login",query:{redirect:a.fullPath}})})})}})}return(g,t)=>{const c=oe,h=u("el-input"),v=u("el-form-item"),H=u("el-form"),P=u("el-col"),q=u("el-row"),C=D,U=u("el-button"),B=O;return w(),f("div",null,[e(c,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(C,null,{default:n(()=>[e(q,null,{default:n(()=>[e(P,{md:24,lg:12},{default:n(()=>[e(H,{ref_key:"formRef",ref:d,model:s(o),rules:s(S),"label-width":"120px"},{default:n(()=>[e(v,{label:"原密码",prop:"password"},{default:n(()=>[e(h,{modelValue:s(o).password,"onUpdate:modelValue":t[0]||(t[0]=p=>s(o).password=p),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(v,{label:"新密码",prop:"newpassword"},{default:n(()=>[e(h,{modelValue:s(o).newpassword,"onUpdate:modelValue":t[1]||(t[1]=p=>s(o).newpassword=p),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(v,{label:"确认新密码",prop:"checkpassword"},{default:n(()=>[e(h,{modelValue:s(o).checkpassword,"onUpdate:modelValue":t[2]||(t[2]=p=>s(o).checkpassword=p),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(B,null,{default:n(()=>[e(U,{type:"primary",size:"large",onClick:$},{default:n(()=>[E(" 提交 ")]),_:1})]),_:1})])}}});typeof V=="function"&&V(se);export{se as default}; diff --git a/public/admin/assets/edit.password-ee9c5d6e.css b/public/admin/assets/edit.password-ee9c5d6e.css deleted file mode 100644 index af7d1b1..0000000 --- a/public/admin/assets/edit.password-ee9c5d6e.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.actionbar[data-v-63511cc5]{z-index:4;bottom:0;padding:20px;text-align:center;background-color:var(--g-app-bg);box-shadow:0 0 1px 0 var(--g-box-shadow-color);transition:all .3s,var(--el-transition-box-shadow)}.actionbar.shadow[data-v-63511cc5]{box-shadow:0 -10px 10px -10px var(--g-box-shadow-color)}[data-v-63511cc5] .el-form-item{margin-bottom:0}.header[data-v-24ce26ee]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding:16px 20px;background-color:var(--g-app-bg);transition:background-color .3s}.header .main[data-v-24ce26ee]{flex:1;margin-right:20px}.header .main .title[data-v-24ce26ee]{font-size:22px;color:var(--el-text-color-primary);transition:var(--el-transition-color)}.header .main .content[data-v-24ce26ee]{margin-top:10px;font-size:14px;color:var(--el-text-color-secondary);transition:var(--el-transition-color)}.header .main .content[data-v-24ce26ee]:empty{display:none}.header .sub[data-v-24ce26ee]{flex:none}[data-mode=mobile] .header[data-v-24ce26ee]{flex-direction:column}[data-mode=mobile] .header .main[data-v-24ce26ee]{margin-right:auto;margin-bottom:20px} diff --git a/public/admin/assets/eiffel-c812667a.js b/public/admin/assets/eiffel-CnydiIhH.js similarity index 64% rename from public/admin/assets/eiffel-c812667a.js rename to public/admin/assets/eiffel-CnydiIhH.js index 00f1037..88a5d0a 100644 --- a/public/admin/assets/eiffel-c812667a.js +++ b/public/admin/assets/eiffel-CnydiIhH.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - -function u(e){for(var r={},n=0,t=e.length;n>"]);function f(e,r,n){return n.tokenize.push(e),e(r,n)}function s(e,r){if(e.eatSpace())return null;var n=e.next();return n=='"'||n=="'"?f(p(n,"string"),e,r):n=="-"&&e.eat("-")?(e.skipToEnd(),"comment"):n==":"&&e.eat("=")?"operator":/[0-9]/.test(n)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(n)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(n)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function p(e,r,n){return function(t,o){for(var a=!1,i;(i=t.next())!=null;){if(i==e&&(n||!a)){o.tokenize.pop();break}a=!a&&i=="%"}return r}}const d={name:"eiffel",startState:function(){return{tokenize:[s]}},token:function(e,r){var n=r.tokenize[r.tokenize.length-1](e,r);if(n=="variable"){var t=e.current();n=l.propertyIsEnumerable(e.current())?"keyword":c.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(t)?"tag":/^0[bB][0-1]+$/g.test(t)||/^0[cC][0-7]+$/g.test(t)||/^0[xX][a-fA-F0-9]+$/g.test(t)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(t)||/^[0-9]+$/g.test(t)?"number":"variable"}return n},languageData:{commentTokens:{line:"--"}}};export{d as eiffel}; + +function u(e){for(var r={},n=0,t=e.length;n>"]);function f(e,r,n){return n.tokenize.push(e),e(r,n)}function s(e,r){if(e.eatSpace())return null;var n=e.next();return n=='"'||n=="'"?f(p(n,"string"),e,r):n=="-"&&e.eat("-")?(e.skipToEnd(),"comment"):n==":"&&e.eat("=")?"operator":/[0-9]/.test(n)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(n)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(n)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function p(e,r,n){return function(t,o){for(var a=!1,i;(i=t.next())!=null;){if(i==e&&!a){o.tokenize.pop();break}a=!a&&i=="%"}return r}}const d={name:"eiffel",startState:function(){return{tokenize:[s]}},token:function(e,r){var n=r.tokenize[r.tokenize.length-1](e,r);if(n=="variable"){var t=e.current();n=l.propertyIsEnumerable(e.current())?"keyword":c.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(t)?"tag":/^0[bB][0-1]+$/g.test(t)||/^0[cC][0-7]+$/g.test(t)||/^0[xX][a-fA-F0-9]+$/g.test(t)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(t)||/^[0-9]+$/g.test(t)?"number":"variable"}return n},languageData:{commentTokens:{line:"--"}}};export{d as eiffel}; diff --git a/public/admin/assets/eiffel-CnydiIhH.js.br b/public/admin/assets/eiffel-CnydiIhH.js.br new file mode 100644 index 0000000..49c841f Binary files /dev/null and b/public/admin/assets/eiffel-CnydiIhH.js.br differ diff --git a/public/admin/assets/eiffel-CnydiIhH.js.gz b/public/admin/assets/eiffel-CnydiIhH.js.gz new file mode 100644 index 0000000..d53f2fd Binary files /dev/null and b/public/admin/assets/eiffel-CnydiIhH.js.gz differ diff --git a/public/admin/assets/elm-389625db.js b/public/admin/assets/elm-vLlmbW-K.js similarity index 94% rename from public/admin/assets/elm-389625db.js rename to public/admin/assets/elm-vLlmbW-K.js index 94fa9ff..41aaf21 100644 --- a/public/admin/assets/elm-389625db.js +++ b/public/admin/assets/elm-vLlmbW-K.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function a(n,t,i){return t(i),i(n,t)}var v=/[a-z]/,g=/[A-Z]/,l=/[a-zA-Z0-9_]/,f=/[0-9]/,o=/[0-9A-Fa-f]/,p=/[-&*+.\\/<>=?^|:]/,w=/[(),[\]{}]/,x=/[ \v\f]/;function r(){return function(n,t){if(n.eatWhile(x))return null;var i=n.next();if(w.test(i))return i==="{"&&n.eat("-")?a(n,t,h(1)):i==="["&&n.match("glsl|")?a(n,t,u):"builtin";if(i==="'")return a(n,t,d);if(i==='"')return n.eat('"')?n.eat('"')?a(n,t,k):"string":a(n,t,E);if(g.test(i))return n.eatWhile(l),"type";if(v.test(i)){var e=n.pos===1;return n.eatWhile(l),e?"def":"variable"}if(f.test(i)){if(i==="0"){if(n.eat(/[xX]/))return n.eatWhile(o),"number"}else n.eatWhile(f);return n.eat(".")&&n.eatWhile(f),n.eat(/[eE]/)&&(n.eat(/[-+]/),n.eatWhile(f)),"number"}return p.test(i)?i==="-"&&n.eat("-")?(n.skipToEnd(),"comment"):(n.eatWhile(p),"keyword"):i==="_"?"keyword":"error"}}function h(n){return n==0?r():function(t,i){for(;!t.eol();){var e=t.next();if(e=="{"&&t.eat("-"))++n;else if(e=="-"&&t.eat("}")&&(--n,n===0))return i(r()),"comment"}return i(h(n)),"comment"}}function k(n,t){for(;!n.eol();){var i=n.next();if(i==='"'&&n.eat('"')&&n.eat('"'))return t(r()),"string"}return"string"}function E(n,t){for(;n.skipTo('\\"');)n.next(),n.next();return n.skipTo('"')?(n.next(),t(r()),"string"):(n.skipToEnd(),t(r()),"error")}function d(n,t){for(;n.skipTo("\\'");)n.next(),n.next();return n.skipTo("'")?(n.next(),t(r()),"string"):(n.skipToEnd(),t(r()),"error")}function u(n,t){for(;!n.eol();){var i=n.next();if(i==="|"&&n.eat("]"))return t(r()),"string"}return"string"}var y={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};const W={name:"elm",startState:function(){return{f:r()}},copyState:function(n){return{f:n.f}},token:function(n,t){var i=t.f(n,function(m){t.f=m}),e=n.current();return y.hasOwnProperty(e)?"keyword":i},languageData:{commentTokens:{line:"--"}}};export{W as elm}; diff --git a/public/admin/assets/elm-vLlmbW-K.js.br b/public/admin/assets/elm-vLlmbW-K.js.br new file mode 100644 index 0000000..69dac29 Binary files /dev/null and b/public/admin/assets/elm-vLlmbW-K.js.br differ diff --git a/public/admin/assets/elm-vLlmbW-K.js.gz b/public/admin/assets/elm-vLlmbW-K.js.gz new file mode 100644 index 0000000..79f1a1b Binary files /dev/null and b/public/admin/assets/elm-vLlmbW-K.js.gz differ diff --git a/public/admin/assets/email-43145a27.js b/public/admin/assets/email-43145a27.js deleted file mode 100644 index 38b9756..0000000 --- a/public/admin/assets/email-43145a27.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as v}from"./index-fd8a5577.js";import{a as R}from"./config-e611a8d0.js";import{d as C,Q as O,r as g,x as w,h as n,o as y,c as k,e,f as l,a as i,l as E,E as M,q as L}from"./index-e656eb90.js";const q={class:"flex justify-between"},h=i("b",null,"邮件发送设置",-1),H=i("b",{class:"mb-5"},"SMTP服务器配置",-1),B=C({__name:"email",setup(j){const a=O({emailRegisterStatus:"",emailLoginStatus:"",MAILER_HOST:"",MAILER_PORT:"",MAILER_USER:"",MAILER_PASS:"",MAILER_SECURE:""}),A=g({registerBaseUrl:[{required:!0,trigger:"blur",message:"请填写注册后端服务基础地址!"}],MAILER_HOST:[{required:!0,trigger:"blur",message:"请填写SMTP服务器地址"}],MAILER_PORT:[{required:!0,trigger:"blur",message:"请填写SMTP服务器端口"}],MAILER_USER:[{required:!0,trigger:"blur",message:"请填写SMTP用户名称"}],MAILER_PASS:[{required:!0,trigger:"blur",message:"请填写SMTP用户密码"}],MAILER_SECURE:[{required:!0,trigger:"blur",message:"是否使用SSL"}]}),m=g();async function c(){const u=await R.queryConfig({keys:["emailRegisterStatus","emailLoginStatus","MAILER_HOST","MAILER_PORT","MAILER_USER","MAILER_PASS","MAILER_SECURE"]});Object.assign(a,u.data)}function b(){var u;(u=m.value)==null||u.validate(async t=>{if(t){try{await R.setConfig({settings:I(a)}),M.success("变更配置信息成功")}catch{}c()}else M.error("请填写完整信息")})}function I(u){return Object.keys(u).map(t=>({configKey:t,configVal:u[t]}))}return w(()=>{c()}),(u,t)=>{const f=n("el-alert"),x=v,V=n("el-button"),p=n("el-switch"),S=n("el-tooltip"),r=n("el-form-item"),_=n("el-col"),s=n("el-row"),d=n("el-input"),T=n("el-checkbox"),P=n("el-form"),U=n("el-card");return y(),k("div",null,[e(x,null,{default:l(()=>[e(f,{closable:!1,"show-icon":"",title:"邮件设置说明",description:"邮件设置主要用于发送注册时的激活邮件。要启用此功能,您首先需要在服务的.env文件中配置邮件服务的相关信息。",type:"success"})]),_:1}),e(U,{style:{margin:"20px"}},{header:l(()=>[i("div",q,[h,e(V,{class:"button",text:"",onClick:b},{default:l(()=>[E(" 保存设置 ")]),_:1})])]),default:l(()=>[e(P,{ref_key:"formRef",ref:m,rules:A.value,model:a,"label-width":"190px"},{default:l(()=>[e(s,null,{default:l(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"是否开启邮箱登录",prop:"emailLoginStatus"},{default:l(()=>[e(S,{class:"box-item",effect:"dark",content:"如您启用当前邮箱登录、则用户端可以通过邮箱登录!",placement:"right"},{default:l(()=>[e(p,{modelValue:a.emailLoginStatus,"onUpdate:modelValue":t[0]||(t[0]=o=>a.emailLoginStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"是否开启邮箱注册",prop:"emailRegisterStatus"},{default:l(()=>[e(S,{class:"box-item",effect:"dark",content:"如您启用当前邮箱注册、则用户端可以通过邮箱注册!",placement:"right"},{default:l(()=>[e(p,{modelValue:a.emailRegisterStatus,"onUpdate:modelValue":t[1]||(t[1]=o=>a.emailRegisterStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[H]),_:1}),e(s,null,{default:l(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"SMTP服务器地址",prop:"MAILER_HOST"},{default:l(()=>[e(d,{modelValue:a.MAILER_HOST,"onUpdate:modelValue":t[2]||(t[2]=o=>a.MAILER_HOST=o),placeholder:"示例: smtp.example.com",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"SMTP服务器端口",prop:"MAILER_PORT"},{default:l(()=>[e(d,{modelValue:a.MAILER_PORT,"onUpdate:modelValue":t[3]||(t[3]=o=>a.MAILER_PORT=o),placeholder:"示例: 465",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"SMTP用户名称",prop:"MAILER_USER"},{default:l(()=>[e(d,{modelValue:a.MAILER_USER,"onUpdate:modelValue":t[4]||(t[4]=o=>a.MAILER_USER=o),placeholder:"SMTP认证用户名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"SMTP用户密码",prop:"MAILER_PASS"},{default:l(()=>[e(d,{modelValue:a.MAILER_PASS,"onUpdate:modelValue":t[5]||(t[5]=o=>a.MAILER_PASS=o),placeholder:"SMTP认证密码",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(_,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"邮箱SSL配置",prop:"MAILER_SECURE"},{default:l(()=>[e(T,{modelValue:a.MAILER_SECURE,"onUpdate:modelValue":t[6]||(t[6]=o=>a.MAILER_SECURE=o),"true-label":"1","false-label":"0"},{default:l(()=>[E(" 启用SSL ")]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof L=="function"&&L(B);export{B as default}; diff --git a/public/admin/assets/email-DKxAB5FY.js b/public/admin/assets/email-DKxAB5FY.js new file mode 100644 index 0000000..70ee960 --- /dev/null +++ b/public/admin/assets/email-DKxAB5FY.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as y,m as C,r as S,a as O,n,g as w,c as k,b as e,w as l,h as E,e as _,E as g,j as H,_ as q,k as M}from"./index-B-LUCRde.js";import{a as L}from"./config-BBuBLjtx.js";const h=_("div",{class:"flex items-center gap-4"},"邮件登录设置",-1),B=_("div",{class:"text-sm/6"},[_("div",null,"邮件设置主要用于发送注册时的激活邮件。"),_("div",null,"是否开启邮箱登录:决定用户是否可以通过邮箱进行登录。"),_("div",null,"是否开启邮箱注册:决定用户是否可以通过邮箱进行注册。"),_("div",null,"SMTP服务器配置,用于发送邮件的 SMTP 相关配置,需自行测试。")],-1),j=y({__name:"email",setup(N){const o=C({noVerifyRegister:"",emailLoginStatus:"",MAILER_HOST:"",MAILER_PORT:"",MAILER_USER:"",MAILER_PASS:"",MAILER_SECURE:""}),A=S({MAILER_HOST:[{required:!0,trigger:"blur",message:"请填写SMTP服务器地址"}],MAILER_PORT:[{required:!0,trigger:"blur",message:"请填写SMTP服务器端口"}],MAILER_USER:[{required:!0,trigger:"blur",message:"请填写SMTP用户名称"}],MAILER_PASS:[{required:!0,trigger:"blur",message:"请填写SMTP用户密码"}],MAILER_SECURE:[{required:!0,trigger:"blur",message:"是否使用SSL"}]}),m=S();async function f(){const r=await L.queryConfig({keys:["noVerifyRegister","emailLoginStatus","MAILER_HOST","MAILER_PORT","MAILER_USER","MAILER_PASS","MAILER_SECURE"]});Object.assign(o,r.data)}function I(){var r;(r=m.value)==null||r.validate(async t=>{if(t){try{await L.setConfig({settings:V(o)}),g.success("变更配置信息成功")}catch{}f()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(t=>({configKey:t,configVal:r[t]}))}return O(()=>{f()}),(r,t)=>{const c=H,x=q,b=U,p=n("el-switch"),R=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),d=n("el-row"),i=n("el-input"),P=n("el-checkbox"),T=n("el-form"),v=n("el-card");return w(),k("div",null,[e(b,null,{title:l(()=>[h]),content:l(()=>[B]),default:l(()=>[e(x,{text:"",outline:"",onClick:I},{default:l(()=>[e(c,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(v,{style:{margin:"20px"}},{default:l(()=>[e(T,{ref_key:"formRef",ref:m,rules:A.value,model:o,"label-width":"190px"},{default:l(()=>[e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启邮箱注册/登录",prop:"emailLoginStatus"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"如您启用当前邮箱登录、则用户端可以通过邮箱登录!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.emailLoginStatus,"onUpdate:modelValue":t[0]||(t[0]=a=>o.emailLoginStatus=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"关闭注册验证",prop:"noVerifyRegister"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"打开即为关闭注册校验、注册将直接成功、请谨慎开启!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.noVerifyRegister,"onUpdate:modelValue":t[1]||(t[1]=a=>o.noVerifyRegister=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器地址",prop:"MAILER_HOST"},{default:l(()=>[e(i,{modelValue:o.MAILER_HOST,"onUpdate:modelValue":t[2]||(t[2]=a=>o.MAILER_HOST=a),placeholder:"示例: smtp.example.com",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器端口",prop:"MAILER_PORT"},{default:l(()=>[e(i,{modelValue:o.MAILER_PORT,"onUpdate:modelValue":t[3]||(t[3]=a=>o.MAILER_PORT=a),placeholder:"示例: 465",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户名称",prop:"MAILER_USER"},{default:l(()=>[e(i,{modelValue:o.MAILER_USER,"onUpdate:modelValue":t[4]||(t[4]=a=>o.MAILER_USER=a),placeholder:"SMTP认证用户名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户密码",prop:"MAILER_PASS"},{default:l(()=>[e(i,{modelValue:o.MAILER_PASS,"onUpdate:modelValue":t[5]||(t[5]=a=>o.MAILER_PASS=a),placeholder:"SMTP认证密码",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邮箱SSL配置",prop:"MAILER_SECURE"},{default:l(()=>[e(P,{modelValue:o.MAILER_SECURE,"onUpdate:modelValue":t[6]||(t[6]=a=>o.MAILER_SECURE=a),"true-label":"1","false-label":"0"},{default:l(()=>[E(" 启用SSL ")]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof M=="function"&&M(j);export{j as default}; diff --git a/public/admin/assets/email-DKxAB5FY.js.br b/public/admin/assets/email-DKxAB5FY.js.br new file mode 100644 index 0000000..dc8e8ab Binary files /dev/null and b/public/admin/assets/email-DKxAB5FY.js.br differ diff --git a/public/admin/assets/email-DKxAB5FY.js.gz b/public/admin/assets/email-DKxAB5FY.js.gz new file mode 100644 index 0000000..08c3eac Binary files /dev/null and b/public/admin/assets/email-DKxAB5FY.js.gz differ diff --git a/public/admin/assets/epay-638_pKp9.js b/public/admin/assets/epay-638_pKp9.js new file mode 100644 index 0000000..88de6df --- /dev/null +++ b/public/admin/assets/epay-638_pKp9.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as D,m as O,r as E,a as j,n,g,c as b,b as e,w as a,h as x,F as L,s as M,e as i,E as U,j as $,_ as F,t as H,k as V}from"./index-B-LUCRde.js";import{a as v}from"./config-BBuBLjtx.js";const J=i("div",{class:"flex items-center gap-4"},"易支付设置",-1),z=i("div",{class:"text-sm/6"},[i("div",null,"通用易支付渠道,请按文档配置即可。"),i("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),K=D({__name:"epay",setup(T){const t=O({payEpayStatus:"",payEpayPid:"",payEpaySecret:"",payEpayNotifyUrl:"",payEpayReturnUrl:"",payEpayApiPayUrl:"",payEpayApiQueryUrl:"",payEpayRedirect:"",payEpayChannel:[]}),P=E({payEpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payEpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payEpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payEpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payEpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}],payEpayApiQueryUrl:[{required:!0,trigger:"blur",message:"请填写平台API商户查询地址"}]}),s=E(),C=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function m(){const o=await v.queryConfig({keys:["payEpaySecret","payEpayNotifyUrl","payEpayReturnUrl","payEpayPid","payEpayStatus","payEpayApiPayUrl","payEpayApiQueryUrl","payEpayRedirect","payEpayChannel"]}),l=o.data.payEpayChannel?JSON.parse(o.data.payEpayChannel):[];Object.assign(t,o.data,{payEpayChannel:l})}function S(){var o;(o=s.value)==null||o.validate(async l=>{if(l){try{await v.setConfig({settings:A(t)}),U.success("变更配置信息成功")}catch{}m()}else U.error("请填写完整信息")})}function h(o,l){if(["payEpayChannel"].includes(o)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function A(o){return Object.keys(o).map(l=>({configKey:l,configVal:h(l,o[l])}))}return j(()=>{m()}),(o,l)=>{const c=$,k=F,w=B,f=n("el-switch"),r=n("el-form-item"),u=n("el-col"),y=n("el-row"),d=n("el-input"),_=n("el-divider"),R=n("el-tooltip"),N=n("el-checkbox"),q=n("el-checkbox-group"),I=n("el-form"),Q=n("el-card");return g(),b("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(c,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(Q,{style:{margin:"20px"}},{default:a(()=>[e(I,{ref_key:"formRef",ref:s,rules:P.value,model:t,"label-width":"120px"},{default:a(()=>[e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"启用当前支付",prop:"payEpayPid"},{default:a(()=>[e(f,{modelValue:t.payEpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payEpayStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户PID",prop:"payEpayPid"},{default:a(()=>[e(d,{modelValue:t.payEpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payEpayPid=p),placeholder:"请填写商户PID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户秘钥",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payEpaySecret=p),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付通知地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payEpayNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付回调地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payEpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payEpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payEpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户查询地址",prop:"payEpayApiQueryUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiQueryUrl,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payEpayApiQueryUrl=p),placeholder:"请填写平台查询商户地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"是否开启跳转支付",prop:"payEpayRedirect","label-width":"130px"},{default:a(()=>[e(R,{class:"box-item",effect:"dark",content:"请注意、仅mapi支持不跳转支付、其他都需要为跳转支付、不开启跳转支付表示购买页面显示二维码直接扫码购买、跳转支付表示前往新页面!",placement:"right"},{default:a(()=>[e(f,{modelValue:t.payEpayRedirect,"onUpdate:modelValue":l[7]||(l[7]=p=>t.payEpayRedirect=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payEpayChannel"},{default:a(()=>[e(q,{modelValue:t.payEpayChannel,"onUpdate:modelValue":l[8]||(l[8]=p=>t.payEpayChannel=p),size:"small"},{default:a(()=>[(g(),b(L,null,M(C,p=>e(N,{key:p.value,border:"",label:p.value},{default:a(()=>[x(H(p.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof V=="function"&&V(K);export{K as default}; diff --git a/public/admin/assets/epay-638_pKp9.js.br b/public/admin/assets/epay-638_pKp9.js.br new file mode 100644 index 0000000..9931964 Binary files /dev/null and b/public/admin/assets/epay-638_pKp9.js.br differ diff --git a/public/admin/assets/epay-638_pKp9.js.gz b/public/admin/assets/epay-638_pKp9.js.gz new file mode 100644 index 0000000..40c8eee Binary files /dev/null and b/public/admin/assets/epay-638_pKp9.js.gz differ diff --git a/public/admin/assets/epay-b0358cd8.js b/public/admin/assets/epay-b0358cd8.js deleted file mode 100644 index de408be..0000000 --- a/public/admin/assets/epay-b0358cd8.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as D}from"./index-fd8a5577.js";import{a as _}from"./config-e611a8d0.js";import{d as O,Q as j,r as E,x as B,h as o,o as g,c as b,e,f as a,a as h,l as x,S as L,U as M,E as U,t as J,q as V}from"./index-e656eb90.js";const z={class:"flex justify-between"},F=h("b",null,"易支付参数设置",-1),K=O({__name:"epay",setup(T){const t=j({payEpayStatus:"",payEpayPid:"",payEpaySecret:"",payEpayNotifyUrl:"",payEpayReturnUrl:"",payEpayApiPayUrl:"",payEpayApiQueryUrl:"",payEpayRedirect:"",payEpayChannel:[]}),v=E({payEpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payEpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payEpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payEpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payEpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}],payEpayApiQueryUrl:[{required:!0,trigger:"blur",message:"请填写平台API商户查询地址"}]}),s=E(),C=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function i(){const r=await _.queryConfig({keys:["payEpaySecret","payEpayNotifyUrl","payEpayReturnUrl","payEpayPid","payEpayStatus","payEpayApiPayUrl","payEpayApiQueryUrl","payEpayRedirect","payEpayChannel"]}),l=r.data.payEpayChannel?JSON.parse(r.data.payEpayChannel):[];Object.assign(t,r.data,{payEpayChannel:l})}function P(){var r;(r=s.value)==null||r.validate(async l=>{if(l){try{await _.setConfig({settings:A(t)}),U.success("变更配置信息成功")}catch{}i()}else U.error("请填写完整信息")})}function S(r,l){if(["payEpayChannel"].includes(r)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function A(r){return Object.keys(r).map(l=>({configKey:l,configVal:S(l,r[l])}))}return B(()=>{i()}),(r,l)=>{const c=o("el-alert"),w=D,k=o("el-button"),m=o("el-switch"),n=o("el-form-item"),u=o("el-col"),y=o("el-row"),d=o("el-input"),f=o("el-divider"),R=o("el-tooltip"),N=o("el-checkbox"),q=o("el-checkbox-group"),Q=o("el-form"),I=o("el-card");return g(),b("div",null,[e(w,null,{default:a(()=>[e(c,{closable:!1,"show-icon":"",title:"易支付参数说明",description:"通用易支付渠道、请按文档配置即可、同时开启多种支付、我们会以菜单顺序为优先级使用、仅mpay支持非跳转支付、所有的支付通知地址统一为 https://域名/api/pay/notify 将域名修改为您的域名即可!",type:"success"})]),_:1}),e(I,{style:{margin:"20px"}},{header:a(()=>[h("div",z,[F,e(k,{class:"button",text:"",onClick:P},{default:a(()=>[x(" 保存设置 ")]),_:1})])]),default:a(()=>[e(Q,{ref_key:"formRef",ref:s,rules:v.value,model:t,"label-width":"120px"},{default:a(()=>[e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(n,{label:"启用当前支付",prop:"payEpayPid"},{default:a(()=>[e(m,{modelValue:t.payEpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payEpayStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(n,{label:"商户PID",prop:"payEpayPid"},{default:a(()=>[e(d,{modelValue:t.payEpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payEpayPid=p),placeholder:"请填写商户PID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(n,{label:"商户秘钥",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payEpaySecret=p),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(n,{label:"支付通知地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payEpayNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(n,{label:"支付回调地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payEpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(n,{label:"支付请求地址",prop:"payEpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payEpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(n,{label:"商户查询地址",prop:"payEpayApiQueryUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiQueryUrl,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payEpayApiQueryUrl=p),placeholder:"请填写平台查询商户地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(n,{label:"是否开启跳转支付",prop:"payEpayRedirect","label-width":"130px"},{default:a(()=>[e(R,{class:"box-item",effect:"dark",content:"请注意、仅mapi支持不跳转支付、其他都需要为跳转支付、不开启跳转支付表示购买页面显示二维码直接扫码购买、跳转支付表示前往新页面!",placement:"right"},{default:a(()=>[e(m,{modelValue:t.payEpayRedirect,"onUpdate:modelValue":l[7]||(l[7]=p=>t.payEpayRedirect=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(n,{label:"开启支付渠道",prop:"payEpayChannel"},{default:a(()=>[e(q,{modelValue:t.payEpayChannel,"onUpdate:modelValue":l[8]||(l[8]=p=>t.payEpayChannel=p),size:"small"},{default:a(()=>[(g(),b(L,null,M(C,p=>e(N,{key:p.value,border:"",label:p.value},{default:a(()=>[x(J(p.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof V=="function"&&V(K);export{K as default}; diff --git a/public/admin/assets/erlang-72724d5c.js b/public/admin/assets/erlang-BNw1qcRV.js similarity index 98% rename from public/admin/assets/erlang-72724d5c.js rename to public/admin/assets/erlang-BNw1qcRV.js index 11abb18..be7a617 100644 --- a/public/admin/assets/erlang-72724d5c.js +++ b/public/admin/assets/erlang-BNw1qcRV.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var S=["-type","-spec","-export_type","-opaque"],x=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],z=/[\->,;]/,E=["->",";",","],T=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],R=/[\+\-\*\/<>=\|:!]/,A=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],U=/[<\(\[\{]/,b=["<<","(","[","{"],Z=/[>\)\]\}]/,y=["}","]",")",">>"],m=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],P=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],p=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,q=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function j(e,n){if(n.in_string)return n.in_string=!v(e),t(n,e,"string");if(n.in_atom)return n.in_atom=!h(e),t(n,e,"atom");if(e.eatSpace())return t(n,e,"whitespace");if(!_(n)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return u(e.current(),S)?t(n,e,"type"):t(n,e,"attribute");var r=e.next();if(r=="%")return e.skipToEnd(),t(n,e,"comment");if(r==":")return t(n,e,"colon");if(r=="?")return e.eatSpace(),e.eatWhile(p),t(n,e,"macro");if(r=="#")return e.eatSpace(),e.eatWhile(p),t(n,e,"record");if(r=="$")return e.next()=="\\"&&!e.match(q)?t(n,e,"error"):t(n,e,"number");if(r==".")return t(n,e,"dot");if(r=="'"){if(!(n.in_atom=!h(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),t(n,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return t(n,e,"function")}return t(n,e,"atom")}if(r=='"')return n.in_string=!v(e),t(n,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return e.eatWhile(p),t(n,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(e.eatWhile(p),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),t(n,e,"fun");var i=e.current();return u(i,x)?t(n,e,"keyword"):u(i,T)?t(n,e,"operator"):e.match(/\s*\(/,!1)?u(i,P)&&(_(n).token!=":"||_(n,2).token=="erlang")?t(n,e,"builtin"):u(i,m)?t(n,e,"guard"):t(n,e,"function"):Q(e)==":"?i=="erlang"?t(n,e,"builtin"):t(n,e,"function"):u(i,["true","false"])?t(n,e,"boolean"):t(n,e,"atom")}var l=/[0-9]/,o=/[0-9a-zA-Z]/;return l.test(r)?(e.eatWhile(l),e.eat("#")?e.eatWhile(o)||e.backUp(1):e.eat(".")&&(e.eatWhile(l)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(l)||e.backUp(2):e.eatWhile(l)||e.backUp(1)):e.backUp(1)),t(n,e,"number")):g(e,U,b)?t(n,e,"open_paren"):g(e,Z,y)?t(n,e,"close_paren"):k(e,z,E)?t(n,e,"separator"):k(e,R,A)?t(n,e,"operator"):t(n,e,null)}function g(e,n,r){if(e.current().length==1&&n.test(e.current())){for(e.backUp(1);n.test(e.peek());)if(e.next(),u(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function k(e,n,r){if(e.current().length==1&&n.test(e.current())){for(;n.test(e.peek());)e.next();for(;01&&e[n].type==="fun"&&e[n-1].token==="fun")return e.slice(0,n-1);switch(e[n].token){case"}":return a(e,{g:["{"]});case"]":return a(e,{i:["["]});case")":return a(e,{i:["("]});case">>":return a(e,{i:["<<"]});case"end":return a(e,{i:["begin","case","fun","if","receive","try"]});case",":return a(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return a(e,{r:["when"],m:["try","if","case","receive"]});case";":return a(e,{E:["case","fun","if","receive","try","when"]});case"catch":return a(e,{e:["try"]});case"of":return a(e,{e:["case"]});case"after":return a(e,{e:["receive","try"]});default:return e}}function a(e,n){for(var r in n)for(var i=e.length-1,l=n[r],o=i-1;-1"?u(c.token,["receive","case","if","try"])?c.column+r.unit+r.unit:c.column+r.unit:u(o.token,b)?o.column+o.token.length:(i=G(e),f(i)?i.column+r.unit:0):0}function C(e){var n=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return f(n)&&n.index===0?n[0]:""}function F(e){var n=e.tokenStack.slice(0,-1),r=d(n,"type",["open_paren"]);return f(n[r])?n[r]:!1}function G(e){var n=e.tokenStack,r=d(n,"type",["open_paren","separator","keyword"]),i=d(n,"type",["operator"]);return f(r)&&f(i)&&r|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}});export{n as factor}; + +import{s as e}from"./simple-mode-C4Nsj8zu.js";const n=e({start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}});export{n as factor}; diff --git a/public/admin/assets/factor-D8pE9siL.js.br b/public/admin/assets/factor-D8pE9siL.js.br new file mode 100644 index 0000000..79f11ee Binary files /dev/null and b/public/admin/assets/factor-D8pE9siL.js.br differ diff --git a/public/admin/assets/factor-D8pE9siL.js.gz b/public/admin/assets/factor-D8pE9siL.js.gz new file mode 100644 index 0000000..647e56a Binary files /dev/null and b/public/admin/assets/factor-D8pE9siL.js.gz differ diff --git a/public/admin/assets/fcl-d5e95185.js b/public/admin/assets/fcl-Kvtd6kyn.js similarity index 95% rename from public/admin/assets/fcl-d5e95185.js rename to public/admin/assets/fcl-Kvtd6kyn.js index a0938c3..6fa1b2a 100644 --- a/public/admin/assets/fcl-d5e95185.js +++ b/public/admin/assets/fcl-Kvtd6kyn.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + var d={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},f={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},o={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},p={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},l=/[+\-*&^%:=<>!|\/]/;function i(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=c,c(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(l.test(t))return e.eatWhile(l),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return d.propertyIsEnumerable(r)||f.propertyIsEnumerable(r)||o.propertyIsEnumerable(r)?"keyword":p.propertyIsEnumerable(r)?"atom":"variable"}function c(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=i;break}t=r=="*"}return"comment"}function a(e,n,t,r,u){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=u}function k(e,n,t){return e.context=new a(e.indented,n,t,null,e.context)}function v(e){if(e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}const x={name:"fcl",startState:function(e){return{tokenize:null,context:new a(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||i)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var u=e.current().toLowerCase();return f.propertyIsEnumerable(u)?k(n,e.column(),"end_block"):o.propertyIsEnumerable(u)&&v(n),n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=i&&e.tokenize!=null)return 0;var r=e.context,u=o.propertyIsEnumerable(n);return r.align?r.column+(u?0:1):r.indented+(u?0:t.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}};export{x as fcl}; diff --git a/public/admin/assets/fcl-Kvtd6kyn.js.br b/public/admin/assets/fcl-Kvtd6kyn.js.br new file mode 100644 index 0000000..876a718 Binary files /dev/null and b/public/admin/assets/fcl-Kvtd6kyn.js.br differ diff --git a/public/admin/assets/fcl-Kvtd6kyn.js.gz b/public/admin/assets/fcl-Kvtd6kyn.js.gz new file mode 100644 index 0000000..ec3bf0c Binary files /dev/null and b/public/admin/assets/fcl-Kvtd6kyn.js.gz differ diff --git a/public/admin/assets/forth-a6c07be1.js b/public/admin/assets/forth-Ffai-XNe.js similarity index 96% rename from public/admin/assets/forth-a6c07be1.js rename to public/admin/assets/forth-Ffai-XNe.js index d85462f..c3df845 100644 --- a/public/admin/assets/forth-a6c07be1.js +++ b/public/admin/assets/forth-Ffai-XNe.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function t(i){var n=[];return i.split(" ").forEach(function(E){n.push({name:E})}),n}var r=t("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),O=t("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function R(i,n){var E;for(E=i.length-1;E>=0;E--)if(i[E].name===n.toUpperCase())return i[E]}const L={name:"forth",startState:function(){return{state:"",base:10,coreWordList:r,immediateWordList:O,wordList:[]}},token:function(i,n){var E;if(i.eatSpace())return null;if(n.state===""){if(i.match(/^(\]|:NONAME)(\s|$)/i))return n.state=" compilation","builtin";if(E=i.match(/^(\:)\s+(\S+)(\s|$)+/),E)return n.wordList.push({name:E[2].toUpperCase()}),n.state=" compilation","def";if(E=i.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),E)return n.wordList.push({name:E[2].toUpperCase()}),"def";if(E=i.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),E)return"builtin"}else{if(i.match(/^(\;|\[)(\s)/))return n.state="",i.backUp(1),"builtin";if(i.match(/^(\;|\[)($)/))return n.state="","builtin";if(i.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(E=i.match(/^(\S+)(\s+|$)/),E)return R(n.wordList,E[1])!==void 0?"variable":E[1]==="\\"?(i.skipToEnd(),"comment"):R(n.coreWordList,E[1])!==void 0?"builtin":R(n.immediateWordList,E[1])!==void 0?"keyword":E[1]==="("?(i.eatWhile(function(e){return e!==")"}),i.eat(")"),"comment"):E[1]===".("?(i.eatWhile(function(e){return e!==")"}),i.eat(")"),"string"):E[1]==='S"'||E[1]==='."'||E[1]==='C"'?(i.eatWhile(function(e){return e!=='"'}),i.eat('"'),"string"):E[1]-68719476735?"number":"atom"}};export{L as forth}; diff --git a/public/admin/assets/forth-Ffai-XNe.js.br b/public/admin/assets/forth-Ffai-XNe.js.br new file mode 100644 index 0000000..bcfe6c8 Binary files /dev/null and b/public/admin/assets/forth-Ffai-XNe.js.br differ diff --git a/public/admin/assets/forth-Ffai-XNe.js.gz b/public/admin/assets/forth-Ffai-XNe.js.gz new file mode 100644 index 0000000..19ce4b9 Binary files /dev/null and b/public/admin/assets/forth-Ffai-XNe.js.gz differ diff --git a/public/admin/assets/fortran-b746f455.js b/public/admin/assets/fortran-DYz_wnZ1.js similarity index 97% rename from public/admin/assets/fortran-b746f455.js rename to public/admin/assets/fortran-DYz_wnZ1.js index d0760c4..c1476bc 100644 --- a/public/admin/assets/fortran-b746f455.js +++ b/public/admin/assets/fortran-DYz_wnZ1.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function r(t){for(var n={},e=0;e\/\:]/,_=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function u(t,n){if(t.match(_))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return n.tokenize=m(e),n.tokenize(t,n);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(c.test(e))return t.eatWhile(c),"operator";t.eatWhile(/[\w\$_]/);var i=t.current().toLowerCase();return l.hasOwnProperty(i)?"keyword":s.hasOwnProperty(i)||d.hasOwnProperty(i)?"builtin":"variable"}function m(t){return function(n,e){for(var i=!1,a,o=!1;(a=n.next())!=null;){if(a==t&&!i){o=!0;break}i=!i&&a=="\\"}return(o||!i)&&(e.tokenize=null),"string"}}const p={name:"fortran",startState:function(){return{tokenize:null}},token:function(t,n){if(t.eatSpace())return null;var e=(n.tokenize||u)(t,n);return e=="comment"||e=="meta",e}};export{p as fortran}; diff --git a/public/admin/assets/fortran-DYz_wnZ1.js.br b/public/admin/assets/fortran-DYz_wnZ1.js.br new file mode 100644 index 0000000..3e7d30a Binary files /dev/null and b/public/admin/assets/fortran-DYz_wnZ1.js.br differ diff --git a/public/admin/assets/fortran-DYz_wnZ1.js.gz b/public/admin/assets/fortran-DYz_wnZ1.js.gz new file mode 100644 index 0000000..8dbc989 Binary files /dev/null and b/public/admin/assets/fortran-DYz_wnZ1.js.gz differ diff --git a/public/admin/assets/gas-a519128b.js b/public/admin/assets/gas-Bneqetm1.js similarity index 97% rename from public/admin/assets/gas-a519128b.js rename to public/admin/assets/gas-Bneqetm1.js index c2a951d..62895b2 100644 --- a/public/admin/assets/gas-a519128b.js +++ b/public/admin/assets/gas-Bneqetm1.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function v(r){var u=[],b="",o={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function p(){b="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variableName.special",i.rax="variableName.special",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variableName.special",i.rbx="variableName.special",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variableName.special",i.rcx="variableName.special",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variableName.special",i.rdx="variableName.special",i.si="variable",i.esi="variableName.special",i.rsi="variableName.special",i.di="variable",i.edi="variableName.special",i.rdi="variableName.special",i.sp="variable",i.esp="variableName.special",i.rsp="variableName.special",i.bp="variable",i.ebp="variableName.special",i.rbp="variableName.special",i.ip="variable",i.eip="variableName.special",i.rip="variableName.special",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"}function f(){b="@",o.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variableName.special",i.lr="variableName.special",i.pc="variableName.special",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,u.push(function(l,n){if(l==="#")return n.eatWhile(/\w/),"number"})}r==="x86"?p():(r==="arm"||r==="armv6")&&f();function d(l,n){for(var e=!1,a;(a=l.next())!=null;){if(a===n&&!e)return!1;e=!e&&a==="\\"}return e}function s(l,n){for(var e=!1,a;(a=l.next())!=null;){if(a==="/"&&e){n.tokenize=null;break}e=a==="*"}return"comment"}return{name:"gas",startState:function(){return{tokenize:null}},token:function(l,n){if(n.tokenize)return n.tokenize(l,n);if(l.eatSpace())return null;var e,a,t=l.next();if(t==="/"&&l.eat("*"))return n.tokenize=s,s(l,n);if(t===b)return l.skipToEnd(),"comment";if(t==='"')return d(l,'"'),"string";if(t===".")return l.eatWhile(/\w/),a=l.current().toLowerCase(),e=o[a],e||null;if(t==="=")return l.eatWhile(/\w/),"tag";if(t==="{"||t==="}")return"bracket";if(/\d/.test(t))return t==="0"&&l.eat("x")?(l.eatWhile(/[0-9a-fA-F]/),"number"):(l.eatWhile(/\d/),"number");if(/\w/.test(t))return l.eatWhile(/\w/),l.eat(":")?"tag":(a=l.current().toLowerCase(),e=i[a],e||null);for(var c=0;c]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}};export{a as gherkin}; diff --git a/public/admin/assets/gherkin-heZmZLOM.js.br b/public/admin/assets/gherkin-heZmZLOM.js.br new file mode 100644 index 0000000..c91bb73 Binary files /dev/null and b/public/admin/assets/gherkin-heZmZLOM.js.br differ diff --git a/public/admin/assets/gherkin-heZmZLOM.js.gz b/public/admin/assets/gherkin-heZmZLOM.js.gz new file mode 100644 index 0000000..164e5c1 Binary files /dev/null and b/public/admin/assets/gherkin-heZmZLOM.js.gz differ diff --git a/public/admin/assets/github-redirect-CXX58CNG.js b/public/admin/assets/github-redirect-CXX58CNG.js new file mode 100644 index 0000000..d2b1c0a --- /dev/null +++ b/public/admin/assets/github-redirect-CXX58CNG.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{l as o,g as c,c as n}from"./index-B-LUCRde.js";const s={mounted(){const e=this.decrypt("Z2l0aHViLmNvbS92YXN0eGllLzk5QUk=");if(e){const t=`https://${e}`;window.open(t,"_blank"),this.$router.go(-1)}else console.error("解密失败或无效的地址")},methods:{decrypt(r){try{return atob(r)}catch(e){return console.error("解密失败",e),""}}}};function l(r,e,t,d,p,a){return c(),n("div")}const u=o(s,[["render",l]]);export{u as default}; diff --git a/public/admin/assets/github-redirect-CXX58CNG.js.br b/public/admin/assets/github-redirect-CXX58CNG.js.br new file mode 100644 index 0000000..2ea8c12 Binary files /dev/null and b/public/admin/assets/github-redirect-CXX58CNG.js.br differ diff --git a/public/admin/assets/github-redirect-CXX58CNG.js.gz b/public/admin/assets/github-redirect-CXX58CNG.js.gz new file mode 100644 index 0000000..ac67c90 Binary files /dev/null and b/public/admin/assets/github-redirect-CXX58CNG.js.gz differ diff --git a/public/admin/assets/globalPre-08c48ec2.js b/public/admin/assets/globalPre-08c48ec2.js deleted file mode 100644 index 0647ebb..0000000 --- a/public/admin/assets/globalPre-08c48ec2.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as V}from"./index-fd8a5577.js";import{a as _}from"./config-e611a8d0.js";import{d as k,Q as q,r as i,x as j,h as o,o as B,c as E,e,f as s,a as f,l as N,E as m,q as u}from"./index-e656eb90.js";const A={class:"flex justify-between"},O=f("b",null,"模型系统消息预设",-1),R=k({__name:"globalPre",setup(U){const l=q({systemPreMessage:""}),p=i({systemPreMessage:[{required:!0,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),a=i();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(l,t.data)}function d(){var t;(t=a.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(l)}),m.success("变更配置信息成功")}catch{}r()}else m.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return j(()=>{r()}),(t,n)=>{const c=o("el-alert"),y=V,b=o("el-button"),x=o("el-input"),h=o("el-form-item"),w=o("el-col"),P=o("el-row"),C=o("el-form"),M=o("el-card");return B(),E("div",null,[e(y,null,{default:s(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(M,{style:{margin:"20px"}},{header:s(()=>[f("div",A,[O,e(b,{class:"button",text:"",onClick:d},{default:s(()=>[N(" 保存设置 ")]),_:1})])]),default:s(()=>[e(C,{ref_key:"formRef",ref:a,rules:p.value,model:l,"label-width":"140px"},{default:s(()=>[e(P,null,{default:s(()=>[e(w,{xs:24,md:20,lg:15,xl:12},{default:s(()=>[e(h,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:s(()=>[e(x,{modelValue:l.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=v=>l.systemPreMessage=v),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof u=="function"&&u(R);export{R as default}; diff --git a/public/admin/assets/globalPre-9_jT2JPq.js b/public/admin/assets/globalPre-9_jT2JPq.js new file mode 100644 index 0000000..9988b84 --- /dev/null +++ b/public/admin/assets/globalPre-9_jT2JPq.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{a as _}from"./config-BBuBLjtx.js";import{d as V,m as j,r as m,a as q,n as o,g as B,c as E,b as e,w as s,e as u,h as N,E as i,k as f}from"./index-B-LUCRde.js";const A={class:"flex justify-between"},O=u("b",null,"模型系统消息预设",-1),R=V({__name:"globalPre",setup(U){const a=j({systemPreMessage:""}),d=m({systemPreMessage:[{required:!0,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),l=m();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(a,t.data)}function p(){var t;(t=l.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(a)}),i.success("变更配置信息成功")}catch{}r()}else i.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return q(()=>{r()}),(t,n)=>{const c=o("el-alert"),y=v,b=o("el-button"),x=o("el-input"),w=o("el-form-item"),h=o("el-col"),P=o("el-row"),C=o("el-form"),M=o("el-card");return B(),E("div",null,[e(y,null,{default:s(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(M,{style:{margin:"20px"}},{header:s(()=>[u("div",A,[O,e(b,{class:"button",text:"",onClick:p},{default:s(()=>[N(" 保存设置 ")]),_:1})])]),default:s(()=>[e(C,{ref_key:"formRef",ref:l,rules:d.value,model:a,"label-width":"140px"},{default:s(()=>[e(P,null,{default:s(()=>[e(h,{xs:24,md:20,lg:15,xl:12},{default:s(()=>[e(w,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:s(()=>[e(x,{modelValue:a.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=k=>a.systemPreMessage=k),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof f=="function"&&f(R);export{R as default}; diff --git a/public/admin/assets/globalPre-9_jT2JPq.js.br b/public/admin/assets/globalPre-9_jT2JPq.js.br new file mode 100644 index 0000000..4830c17 Binary files /dev/null and b/public/admin/assets/globalPre-9_jT2JPq.js.br differ diff --git a/public/admin/assets/globalPre-9_jT2JPq.js.gz b/public/admin/assets/globalPre-9_jT2JPq.js.gz new file mode 100644 index 0000000..ca3d6bf Binary files /dev/null and b/public/admin/assets/globalPre-9_jT2JPq.js.gz differ diff --git a/public/admin/assets/go-8a088acb.js b/public/admin/assets/go-8a088acb.js deleted file mode 100644 index 143d0a0..0000000 --- a/public/admin/assets/go-8a088acb.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -var h={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0,any:!0,comparable:!0},k={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},f=/[+\-*&^%:=<>!|\/]/,u;function l(e,t){var n=e.next();if(n=='"'||n=="'"||n=="`")return t.tokenize=x(n),t.tokenize(e,t);if(/[\d\.]/.test(n))return n=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):n=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(n))return u=n,null;if(n=="/"){if(e.eat("*"))return t.tokenize=a,a(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(f.test(n))return e.eatWhile(f),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return h.propertyIsEnumerable(r)?((r=="case"||r=="default")&&(u="case"),"keyword"):k.propertyIsEnumerable(r)?"atom":"variable"}function x(e){return function(t,n){for(var r=!1,i,o=!1;(i=t.next())!=null;){if(i==e&&!r){o=!0;break}r=!r&&e!="`"&&i=="\\"}return(o||!(r||e=="`"))&&(n.tokenize=l),"string"}}function a(e,t){for(var n=!1,r;r=e.next();){if(r=="/"&&n){t.tokenize=l;break}n=r=="*"}return"comment"}function d(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function c(e,t,n){return e.context=new d(e.indented,t,n,null,e.context)}function p(e){if(e.context.prev){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}}const s={name:"go",startState:function(e){return{tokenize:null,context:new d(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,n.type=="case"&&(n.type="}")),e.eatSpace())return null;u=null;var r=(t.tokenize||l)(e,t);return r=="comment"||(n.align==null&&(n.align=!0),u=="{"?c(t,e.column(),"}"):u=="["?c(t,e.column(),"]"):u=="("?c(t,e.column(),")"):u=="case"?n.type="case":(u=="}"&&n.type=="}"||u==n.type)&&p(t),t.startOfLine=!1),r},indent:function(e,t,n){if(e.tokenize!=l&&e.tokenize!=null)return null;var r=e.context,i=t&&t.charAt(0);if(r.type=="case"&&/^(?:case|default)\b/.test(t))return r.indented;var o=i==r.type;return r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s([{}]|case |default\s*:)$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{s as go}; diff --git a/public/admin/assets/groovy-4592a472.js b/public/admin/assets/groovy-DKLxxR9y.js similarity index 97% rename from public/admin/assets/groovy-4592a472.js rename to public/admin/assets/groovy-DKLxxR9y.js index 62275a0..264f104 100644 --- a/public/admin/assets/groovy-4592a472.js +++ b/public/admin/assets/groovy-DKLxxR9y.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function a(e){for(var n={},t=e.split(" "),i=0;i"))return r="->",null;if(/[+\-*&%=<>!?|\/~]/.test(t))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),t=="@")return e.eatWhile(/[\w\$_\.]/),"meta";if(n.lastToken==".")return"property";if(e.eat(":"))return r="proplabel","property";var i=e.current();return z.propertyIsEnumerable(i)?"atom":b.propertyIsEnumerable(i)?(g.propertyIsEnumerable(i)?r="newstatement":x.propertyIsEnumerable(i)&&(r="standalone"),"keyword"):"variable"}k.isBase=!0;function y(e,n,t){var i=!1;if(e!="/"&&n.eat(e))if(n.eat(e))i=!0;else return"string";function o(l,d){for(var f=!1,c,s=!i;(c=l.next())!=null;){if(c==e&&!f){if(!i)break;if(l.match(e+e)){s=!0;break}}if(e=='"'&&c=="$"&&!f){if(l.eat("{"))return d.tokenize.push(m()),"string";if(l.match(/^\w/,!1))return d.tokenize.push(E),"string"}f=!f&&c=="\\"}return s&&d.tokenize.pop(),"string"}return t.tokenize.push(o),o(n,t)}function m(){var e=1;function n(t,i){if(t.peek()=="}"){if(e--,e==0)return i.tokenize.pop(),i.tokenize[i.tokenize.length-1](t,i)}else t.peek()=="{"&&e++;return k(t,i)}return n.isBase=!0,n}function E(e,n){var t=e.match(/^(\.|[\w\$_]+)/);return t?t[0]=="."?null:"variable":(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n))}function v(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize.pop();break}t=i=="*"}return"comment"}function h(e,n){return!e||e=="operator"||e=="->"||/[\.\[\{\(,;:]/.test(e)||e=="newstatement"||e=="keyword"||e=="proplabel"||e=="standalone"&&!n}function w(e,n,t,i,o){this.indented=e,this.column=n,this.type=t,this.align=i,this.prev=o}function p(e,n,t){return e.context=new w(e.indented,n,t,null,e.context)}function u(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const T={name:"groovy",startState:function(e){return{tokenize:[k],context:new w(-e,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0,t.type=="statement"&&!h(n.lastToken,!0)&&(u(n),t=n.context)),e.eatSpace())return null;r=null;var i=n.tokenize[n.tokenize.length-1](e,n);if(i=="comment")return i;if(t.align==null&&(t.align=!0),(r==";"||r==":")&&t.type=="statement")u(n);else if(r=="->"&&t.type=="statement"&&t.prev.type=="}")u(n),n.context.align=!1;else if(r=="{")p(n,e.column(),"}");else if(r=="[")p(n,e.column(),"]");else if(r=="(")p(n,e.column(),")");else if(r=="}"){for(;t.type=="statement";)t=u(n);for(t.type=="}"&&(t=u(n));t.type=="statement";)t=u(n)}else r==t.type?u(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&r=="newstatement")&&p(n,e.column(),"statement");return n.startOfLine=!1,n.lastToken=r||i,i},indent:function(e,n,t){if(!e.tokenize[e.tokenize.length-1].isBase)return null;var i=n&&n.charAt(0),o=e.context;o.type=="statement"&&!h(e.lastToken,!0)&&(o=o.prev);var l=i==o.type;return o.type=="statement"?o.indented+(i=="{"?0:t.unit):o.align?o.column+(l?0:1):o.indented+(l?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}};export{T as groovy}; diff --git a/public/admin/assets/groovy-DKLxxR9y.js.br b/public/admin/assets/groovy-DKLxxR9y.js.br new file mode 100644 index 0000000..f25b182 Binary files /dev/null and b/public/admin/assets/groovy-DKLxxR9y.js.br differ diff --git a/public/admin/assets/groovy-DKLxxR9y.js.gz b/public/admin/assets/groovy-DKLxxR9y.js.gz new file mode 100644 index 0000000..b654d50 Binary files /dev/null and b/public/admin/assets/groovy-DKLxxR9y.js.gz differ diff --git a/public/admin/assets/haskell-b620645c.js b/public/admin/assets/haskell-BWDZoCOh.js similarity index 97% rename from public/admin/assets/haskell-b620645c.js rename to public/admin/assets/haskell-BWDZoCOh.js index 594ed1e..ebca11f 100644 --- a/public/admin/assets/haskell-b620645c.js +++ b/public/admin/assets/haskell-BWDZoCOh.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function f(e,n,t){return n(t),t(e,n)}var g=/[a-z_]/,c=/[A-Z]/,l=/\d/,v=/[0-9A-Fa-f]/,w=/[0-7]/,d=/[a-z_A-Z0-9'\xa1-\uffff]/,o=/[-!#$%&*+.\/<=>?@\\^|~:]/,E=/[(),;[\]`{}]/,h=/[ \t\v\f]/;function i(e,n){if(e.eatWhile(h))return null;var t=e.next();if(E.test(t)){if(t=="{"&&e.eat("-")){var r="comment";return e.eat("#")&&(r="meta"),f(e,n,s(r,1))}return null}if(t=="'")return e.eat("\\"),e.next(),e.eat("'")?"string":"error";if(t=='"')return f(e,n,p);if(c.test(t))return e.eatWhile(d),e.eat(".")?"qualifier":"type";if(g.test(t))return e.eatWhile(d),"variable";if(l.test(t)){if(t=="0"){if(e.eat(/[xX]/))return e.eatWhile(v),"integer";if(e.eat(/[oO]/))return e.eatWhile(w),"number"}e.eatWhile(l);var r="number";return e.match(/^\.\d+/)&&(r="number"),e.eat(/[eE]/)&&(r="number",e.eat(/[-+]/),e.eatWhile(l)),r}return t=="."&&e.eat(".")?"keyword":o.test(t)?t=="-"&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(o))?(e.skipToEnd(),"comment"):(e.eatWhile(o),"variable"):"error"}function s(e,n){return n==0?i:function(t,r){for(var a=n;!t.eol();){var u=t.next();if(u=="{"&&t.eat("-"))++a;else if(u=="-"&&t.eat("}")&&(--a,a==0))return r(i),e}return r(s(e,a)),e}}function p(e,n){for(;!e.eol();){var t=e.next();if(t=='"')return n(i),"string";if(t=="\\"){if(e.eol()||e.eat(h))return n(x),"string";e.eat("&")||e.next()}}return n(i),"error"}function x(e,n){return e.eat("\\")?f(e,n,p):(e.next(),n(i),"error")}var m=function(){var e={};function n(t){return function(){for(var r=0;r","@","~","=>"),n("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),n("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),n("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3"),e}();const F={name:"haskell",startState:function(){return{f:i}},copyState:function(e){return{f:e.f}},token:function(e,n){var t=n.f(e,function(a){n.f=a}),r=e.current();return m.hasOwnProperty(r)?m[r]:t},languageData:{commentTokens:{line:"--",block:{open:"{-",close:"-}"}}}};export{F as haskell}; diff --git a/public/admin/assets/haskell-BWDZoCOh.js.br b/public/admin/assets/haskell-BWDZoCOh.js.br new file mode 100644 index 0000000..861783b Binary files /dev/null and b/public/admin/assets/haskell-BWDZoCOh.js.br differ diff --git a/public/admin/assets/haskell-BWDZoCOh.js.gz b/public/admin/assets/haskell-BWDZoCOh.js.gz new file mode 100644 index 0000000..5f297f6 Binary files /dev/null and b/public/admin/assets/haskell-BWDZoCOh.js.gz differ diff --git a/public/admin/assets/haxe-7215664e.js b/public/admin/assets/haxe-pv4rovob.js similarity index 98% rename from public/admin/assets/haxe-7215664e.js rename to public/admin/assets/haxe-pv4rovob.js index ef6bfbe..1486506 100644 --- a/public/admin/assets/haxe-7215664e.js +++ b/public/admin/assets/haxe-pv4rovob.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function o(e){return{type:e,style:"keyword"}}var P=o("keyword a"),W=o("keyword b"),g=o("keyword c"),K=o("operator"),z={type:"atom",style:"atom"},y={type:"attribute",style:"attribute"},c=o("typedef"),B={if:P,while:P,else:W,do:W,try:W,return:g,break:g,continue:g,new:g,throw:g,var:o("var"),inline:y,static:y,using:o("import"),public:y,private:y,cast:o("cast"),import:o("import"),macro:o("macro"),function:o("function"),catch:o("catch"),untyped:o("untyped"),callback:o("cb"),for:o("for"),switch:o("switch"),case:o("case"),default:o("default"),in:K,never:o("property_access"),trace:o("trace"),class:c,abstract:c,enum:c,interface:c,typedef:c,extends:c,implements:c,dynamic:c,true:z,false:z,null:z},E=/[+\-*&%=<>!?|]/;function I(e,r,n){return r.tokenize=n,n(e,r)}function L(e,r){for(var n=!1,i;(i=e.next())!=null;){if(i==r&&!n)return!0;n=!n&&i=="\\"}}var c,N;function p(e,r,n){return c=e,N=n,r}function A(e,r){var n=e.next();if(n=='"'||n=="'")return I(e,r,M(n));if(/[\[\]{}\(\),;\:\.]/.test(n))return p(n);if(n=="0"&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),p("number","number");if(/\d/.test(n)||n=="-"&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),p("number","number");if(r.reAllowed&&n=="~"&&e.eat(/\//))return L(e,"/"),e.eatWhile(/[gimsu]/),p("regexp","string.special");if(n=="/")return e.eat("*")?I(e,r,Q):e.eat("/")?(e.skipToEnd(),p("comment","comment")):(e.eatWhile(E),p("operator",null,e.current()));if(n=="#")return e.skipToEnd(),p("conditional","meta");if(n=="@")return e.eat(/:/),e.eatWhile(/[\w_]/),p("metadata","meta");if(E.test(n))return e.eatWhile(E),p("operator",null,e.current());var i;if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),i=e.current(),p("type","type",i);e.eatWhile(/[\w_]/);var i=e.current(),u=B.propertyIsEnumerable(i)&&B[i];return u&&r.kwAllowed?p(u.type,u.style,i):p("variable","variable",i)}function M(e){return function(r,n){return L(r,e)&&(n.tokenize=A),p("string","string")}}function Q(e,r){for(var n=!1,i;i=e.next();){if(i=="/"&&n){r.tokenize=A;break}n=i=="*"}return p("comment","comment")}var $={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function j(e,r,n,i,u,s){this.indented=e,this.column=r,this.type=n,this.prev=u,this.info=s,i!=null&&(this.align=i)}function R(e,r){for(var n=e.localVars;n;n=n.next)if(n.name==r)return!0}function X(e,r,n,i,u){var s=e.cc;for(a.state=e,a.stream=u,a.marked=null,a.cc=s,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var k=s.length?s.pop():x;if(k(n,i)){for(;s.length&&s[s.length-1].lex;)s.pop()();return a.marked?a.marked:n=="variable"&&R(e,i)?"variableName.local":n=="variable"&&Y(e,i)?"variableName.special":r}}}function Y(e,r){if(/[a-z]/.test(r.charAt(0)))return!1;for(var n=e.importedtypes.length,i=0;i=0;e--)a.cc.push(arguments[e])}function t(){return b.apply(null,arguments),!0}function H(e,r){for(var n=r;n;n=n.next)if(n.name==e)return!0;return!1}function S(e){var r=a.state;if(r.context){if(a.marked="def",H(e,r.localVars))return;r.localVars={name:e,next:r.localVars}}else if(r.globalVars){if(H(e,r.globalVars))return;r.globalVars={name:e,next:r.globalVars}}}var ee={name:"this",next:null};function D(){a.state.context||(a.state.localVars=ee),a.state.context={prev:a.state.context,vars:a.state.localVars}}function V(){a.state.localVars=a.state.context.vars,a.state.context=a.state.context.prev}V.lex=!0;function l(e,r){var n=function(){var i=a.state;i.lexical=new j(i.indented,a.stream.column(),e,null,i.lexical,r)};return n.lex=!0,n}function f(){var e=a.state;e.lexical.prev&&(e.lexical.type==")"&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}f.lex=!0;function d(e){function r(n){return n==e?t():e==";"?b():t(r)}return r}function x(e){return e=="@"?t(Z):e=="var"?t(l("vardef"),C,d(";"),f):e=="keyword a"?t(l("form"),h,x,f):e=="keyword b"?t(l("form"),x,f):e=="{"?t(l("}"),D,_,f,V):e==";"?t():e=="attribute"?t(U):e=="function"?t(w):e=="for"?t(l("form"),d("("),l(")"),ae,d(")"),f,x,f):e=="variable"?t(l("stat"),te):e=="switch"?t(l("form"),h,l("}","switch"),d("{"),_,f,f):e=="case"?t(h,d(":")):e=="default"?t(d(":")):e=="catch"?t(l("form"),D,d("("),J,d(")"),x,f,V):e=="import"?t(q,d(";")):e=="typedef"?t(ne):b(l("stat"),h,d(";"),f)}function h(e){return $.hasOwnProperty(e)||e=="type"?t(v):e=="function"?t(w):e=="keyword c"?t(O):e=="("?t(l(")"),O,d(")"),f,v):e=="operator"?t(h):e=="["?t(l("]"),m(O,"]"),f,v):e=="{"?t(l("}"),m(ue,"}"),f,v):t()}function O(e){return e.match(/[;\}\)\],]/)?b():b(h)}function v(e,r){if(e=="operator"&&/\+\+|--/.test(r))return t(v);if(e=="operator"||e==":")return t(h);if(e!=";"){if(e=="(")return t(l(")"),m(h,")"),f,v);if(e==".")return t(ie,v);if(e=="[")return t(l("]"),h,d("]"),f,v)}}function U(e){if(e=="attribute")return t(U);if(e=="function")return t(w);if(e=="var")return t(C)}function Z(e){if(e==":"||e=="variable")return t(Z);if(e=="(")return t(l(")"),m(re,")"),f,x)}function re(e){if(e=="variable")return t()}function q(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return F(r),t();if(e=="variable"||e=="property"||e=="."||r=="*")return t(q)}function ne(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return F(r),t();if(e=="type"&&/[A-Z]/.test(r.charAt(0)))return t()}function te(e){return e==":"?t(f,x):b(v,d(";"),f)}function ie(e){if(e=="variable")return a.marked="property",t()}function ue(e){if(e=="variable"&&(a.marked="property"),$.hasOwnProperty(e))return t(d(":"),h)}function m(e,r){function n(i){return i==","?t(e,n):i==r?t():t(d(r))}return function(i){return i==r?t():b(e,n)}}function _(e){return e=="}"?t():b(x,_)}function C(e,r){return e=="variable"?(S(r),t(T,G)):t()}function G(e,r){if(r=="=")return t(h,G);if(e==",")return t(C)}function ae(e,r){return e=="variable"?(S(r),t(fe,h)):b()}function fe(e,r){if(r=="in")return t()}function w(e,r){if(e=="variable"||e=="type")return S(r),t(w);if(r=="new")return t(w);if(e=="(")return t(l(")"),D,m(J,")"),f,T,x,V)}function T(e){if(e==":")return t(oe)}function oe(e){if(e=="type"||e=="variable")return t();if(e=="{")return t(l("}"),m(le,"}"),f)}function le(e){if(e=="variable")return t(T)}function J(e,r){if(e=="variable")return S(r),t(T)}const ce={name:"haxe",startState:function(e){var r=["Int","Float","String","Void","Std","Bool","Dynamic","Array"],n={tokenize:A,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new j(-e,0,"block",!1),importedtypes:r,context:null,indented:0};return n},token:function(e,r){if(e.sol()&&(r.lexical.hasOwnProperty("align")||(r.lexical.align=!1),r.indented=e.indentation()),e.eatSpace())return null;var n=r.tokenize(e,r);return c=="comment"?n:(r.reAllowed=!!(c=="operator"||c=="keyword c"||c.match(/^[\[{}\(,;:]$/)),r.kwAllowed=c!=".",X(r,n,c,N,e))},indent:function(e,r,n){if(e.tokenize!=A)return 0;var i=r&&r.charAt(0),u=e.lexical;u.type=="stat"&&i=="}"&&(u=u.prev);var s=u.type,k=i==s;return s=="vardef"?u.indented+4:s=="form"&&i=="{"?u.indented:s=="stat"||s=="form"?u.indented+n.unit:u.info=="switch"&&!k?u.indented+(/^(?:case|default)\b/.test(r)?n.unit:2*n.unit):u.align?u.column+(k?0:1):u.indented+(k?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},se={name:"hxml",startState:function(){return{define:!1,inString:!1}},token:function(e,r){var u=e.peek(),n=e.sol();if(u=="#")return e.skipToEnd(),"comment";if(n&&u=="-"){var i="variable-2";return e.eat(/-/),e.peek()=="-"&&(e.eat(/-/),i="keyword a"),e.peek()=="D"&&(e.eat(/[D]/),i="keyword c",r.define=!0),e.eatWhile(/[A-Z]/i),i}var u=e.peek();return r.inString==!1&&u=="'"&&(r.inString=!0,e.next()),r.inString==!0?(e.skipTo("'")||e.skipToEnd(),e.peek()=="'"&&(e.next(),r.inString=!1),"string"):(e.next(),null)},languageData:{commentTokens:{line:"#"}}};export{ce as haxe,se as hxml}; diff --git a/public/admin/assets/haxe-pv4rovob.js.br b/public/admin/assets/haxe-pv4rovob.js.br new file mode 100644 index 0000000..7c7eab0 Binary files /dev/null and b/public/admin/assets/haxe-pv4rovob.js.br differ diff --git a/public/admin/assets/haxe-pv4rovob.js.gz b/public/admin/assets/haxe-pv4rovob.js.gz new file mode 100644 index 0000000..42877ae Binary files /dev/null and b/public/admin/assets/haxe-pv4rovob.js.gz differ diff --git a/public/admin/assets/http-e091c18d.js b/public/admin/assets/http-DBlCnlav.js similarity index 89% rename from public/admin/assets/http-e091c18d.js rename to public/admin/assets/http-DBlCnlav.js index 2a0416e..c05813f 100644 --- a/public/admin/assets/http-e091c18d.js +++ b/public/admin/assets/http-DBlCnlav.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function u(r,n){return r.skipToEnd(),n.cur=t,"error"}function i(r,n){return r.match(/^HTTP\/\d\.\d/)?(n.cur=f,"keyword"):r.match(/^[A-Z]+/)&&/[ \t]/.test(r.peek())?(n.cur=d,"keyword"):u(r,n)}function f(r,n){var e=r.match(/^\d+/);if(!e)return u(r,n);n.cur=l;var o=Number(e[0]);return o>=100&&o<400?"atom":"error"}function l(r,n){return r.skipToEnd(),n.cur=t,null}function d(r,n){return r.eatWhile(/\S/),n.cur=s,"string.special"}function s(r,n){return r.match(/^HTTP\/\d\.\d$/)?(n.cur=t,"keyword"):u(r,n)}function t(r){return r.sol()&&!r.eat(/[ \t]/)?r.match(/^.*?:/)?"atom":(r.skipToEnd(),"error"):(r.skipToEnd(),"string")}function c(r){return r.skipToEnd(),null}const p={name:"http",token:function(r,n){var e=n.cur;return e!=t&&e!=c&&r.eatSpace()?null:e(r,n)},blankLine:function(r){r.cur=c},startState:function(){return{cur:i}}};export{p as http}; diff --git a/public/admin/assets/http-DBlCnlav.js.br b/public/admin/assets/http-DBlCnlav.js.br new file mode 100644 index 0000000..0597c9f Binary files /dev/null and b/public/admin/assets/http-DBlCnlav.js.br differ diff --git a/public/admin/assets/http-DBlCnlav.js.gz b/public/admin/assets/http-DBlCnlav.js.gz new file mode 100644 index 0000000..dffd7a7 Binary files /dev/null and b/public/admin/assets/http-DBlCnlav.js.gz differ diff --git a/public/admin/assets/hupijiao-BO4U4xsH.js b/public/admin/assets/hupijiao-BO4U4xsH.js new file mode 100644 index 0000000..1764971 --- /dev/null +++ b/public/admin/assets/hupijiao-BO4U4xsH.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as k,m as C,r as _,a as N,n as o,g as q,c as G,b as e,w as l,h as x,e as s,E as y,j as R,_ as j,k as g}from"./index-B-LUCRde.js";import{a as H}from"./config-BBuBLjtx.js";const B=s("div",{class:"flex items-center gap-4"},"虎皮椒支付设置",-1),E=s("div",{class:"text-sm/6"},[s("div",null,[s("a",{href:"https://www.xunhupay.com/",target:"_blank"},"虎皮椒支付"),x(" 为第三方支付,接入请购买微信渠道。 ")]),s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),$=k({__name:"hupijiao",setup(M){const t=C({payHupiStatus:"",payHupiAppId:"",payHupiSecret:"",payHupiGatewayUrl:"",payHupiNotifyUrl:"",payHupiReturnUrl:""}),U=_({payHupiStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payHupiSecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payHupiGatewayUrl:[{required:!0,trigger:"blur",message:"请填写网关"}],payHupiAppId:[{required:!0,trigger:"blur",message:"请填写Appid"}],payHupiNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),m=_();async function c(){const u=await H.queryConfig({keys:["payHupiSecret","payHupiNotifyUrl","payHupiGatewayUrl","payHupiReturnUrl","payHupiAppId","payHupiStatus"]});Object.assign(t,u.data)}function V(){var u;(u=m.value)==null||u.validate(async a=>{if(a){try{await H.setConfig({settings:b(t)}),y.success("变更配置信息成功")}catch{}c()}else y.error("请填写完整信息")})}function b(u){return Object.keys(u).map(a=>({configKey:a,configVal:u[a]}))}return N(()=>{c()}),(u,a)=>{const f=R,w=j,S=h,v=o("el-switch"),r=o("el-form-item"),n=o("el-col"),i=o("el-row"),d=o("el-input"),A=o("el-form"),I=o("el-card");return q(),G("div",null,[e(S,null,{title:l(()=>[B]),content:l(()=>[E]),default:l(()=>[e(w,{outline:"",onClick:V},{default:l(()=>[e(f,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:l(()=>[e(A,{ref_key:"formRef",ref:m,rules:U.value,model:t,"label-width":"120px"},{default:l(()=>[e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"启用当前支付",prop:"payHupiAppId"},{default:l(()=>[e(v,{modelValue:t.payHupiStatus,"onUpdate:modelValue":a[0]||(a[0]=p=>t.payHupiStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付AppId",prop:"payHupiAppId"},{default:l(()=>[e(d,{modelValue:t.payHupiAppId,"onUpdate:modelValue":a[1]||(a[1]=p=>t.payHupiAppId=p),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付网关地址",prop:"payHupiGatewayUrl"},{default:l(()=>[e(d,{modelValue:t.payHupiGatewayUrl,"onUpdate:modelValue":a[2]||(a[2]=p=>t.payHupiGatewayUrl=p),placeholder:"请填写支付网关地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"Secret秘钥",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiSecret,"onUpdate:modelValue":a[3]||(a[3]=p=>t.payHupiSecret=p),placeholder:"请填写支付秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付通知地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiNotifyUrl,"onUpdate:modelValue":a[4]||(a[4]=p=>t.payHupiNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付回调地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiReturnUrl,"onUpdate:modelValue":a[5]||(a[5]=p=>t.payHupiReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g($);export{$ as default}; diff --git a/public/admin/assets/hupijiao-BO4U4xsH.js.br b/public/admin/assets/hupijiao-BO4U4xsH.js.br new file mode 100644 index 0000000..c4132a3 Binary files /dev/null and b/public/admin/assets/hupijiao-BO4U4xsH.js.br differ diff --git a/public/admin/assets/hupijiao-BO4U4xsH.js.gz b/public/admin/assets/hupijiao-BO4U4xsH.js.gz new file mode 100644 index 0000000..5c6404a Binary files /dev/null and b/public/admin/assets/hupijiao-BO4U4xsH.js.gz differ diff --git a/public/admin/assets/hupijiao-d3fb9765.js b/public/admin/assets/hupijiao-d3fb9765.js deleted file mode 100644 index 9d1ffbb..0000000 --- a/public/admin/assets/hupijiao-d3fb9765.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as h}from"./index-fd8a5577.js";import{a as f}from"./config-e611a8d0.js";import{d as I,Q as q,r as y,x as C,h as u,o as N,c as k,e,f as l,a as H,l as G,E as _,q as g}from"./index-e656eb90.js";const R={class:"flex justify-between"},j=H("b",null,"虎皮椒支付参数设置",-1),B=I({__name:"hupijiao",setup(E){const t=q({payHupiStatus:"",payHupiAppId:"",payHupiSecret:"",payHupiGatewayUrl:"",payHupiNotifyUrl:"",payHupiReturnUrl:""}),b=y({payHupiStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payHupiSecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payHupiGatewayUrl:[{required:!0,trigger:"blur",message:"请填写网关"}],payHupiAppId:[{required:!0,trigger:"blur",message:"请填写Appid"}],payHupiNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),d=y();async function c(){const o=await f.queryConfig({keys:["payHupiSecret","payHupiNotifyUrl","payHupiGatewayUrl","payHupiReturnUrl","payHupiAppId","payHupiStatus"]});Object.assign(t,o.data)}function x(){var o;(o=d.value)==null||o.validate(async a=>{if(a){try{await f.setConfig({settings:U(t)}),_.success("变更配置信息成功")}catch{}c()}else _.error("请填写完整信息")})}function U(o){return Object.keys(o).map(a=>({configKey:a,configVal:o[a]}))}return C(()=>{c()}),(o,a)=>{const m=u("el-alert"),V=h,w=u("el-button"),S=u("el-switch"),r=u("el-form-item"),n=u("el-col"),i=u("el-row"),s=u("el-input"),v=u("el-form"),A=u("el-card");return N(),k("div",null,[e(V,null,{default:l(()=>[e(m,{closable:!1,"show-icon":"",title:"虎皮椒支付参数说明",description:"虎皮椒支付为三方支付、接入请购买微信渠道、详细参数参照 https://www.xunhupay.com/ 目前优先开通微信支付渠道、同时开启开启多种支付、我们将优先按照菜单顺序调用、所有的支付通知地址统一为 https://域名/api/pay/notify 将域名修改为您的域名即可!",type:"success"})]),_:1}),e(A,{style:{margin:"20px"}},{header:l(()=>[H("div",R,[j,e(w,{class:"button",text:"",onClick:x},{default:l(()=>[G(" 保存设置 ")]),_:1})])]),default:l(()=>[e(v,{ref_key:"formRef",ref:d,rules:b.value,model:t,"label-width":"120px"},{default:l(()=>[e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"启用当前支付",prop:"payHupiAppId"},{default:l(()=>[e(S,{modelValue:t.payHupiStatus,"onUpdate:modelValue":a[0]||(a[0]=p=>t.payHupiStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付AppId",prop:"payHupiAppId"},{default:l(()=>[e(s,{modelValue:t.payHupiAppId,"onUpdate:modelValue":a[1]||(a[1]=p=>t.payHupiAppId=p),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付网关地址",prop:"payHupiGatewayUrl"},{default:l(()=>[e(s,{modelValue:t.payHupiGatewayUrl,"onUpdate:modelValue":a[2]||(a[2]=p=>t.payHupiGatewayUrl=p),placeholder:"请填写支付网关地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"Secret秘钥",prop:"payHupiSecret"},{default:l(()=>[e(s,{modelValue:t.payHupiSecret,"onUpdate:modelValue":a[3]||(a[3]=p=>t.payHupiSecret=p),placeholder:"请填写支付秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付通知地址",prop:"payHupiSecret"},{default:l(()=>[e(s,{modelValue:t.payHupiNotifyUrl,"onUpdate:modelValue":a[4]||(a[4]=p=>t.payHupiNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付回调地址",prop:"payHupiSecret"},{default:l(()=>[e(s,{modelValue:t.payHupiReturnUrl,"onUpdate:modelValue":a[5]||(a[5]=p=>t.payHupiReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(B);export{B as default}; diff --git a/public/admin/assets/idl-91cb7788.js b/public/admin/assets/idl-BEugSyMb.js similarity index 99% rename from public/admin/assets/idl-91cb7788.js rename to public/admin/assets/idl-BEugSyMb.js index 64d7445..7f809dc 100644 --- a/public/admin/assets/idl-91cb7788.js +++ b/public/admin/assets/idl-BEugSyMb.js @@ -2,8 +2,7 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - + function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],a=t(r),i=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],_=t(i),o=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),l=/[+\-*&=<>\/@#~$]/,s=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function n(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(_)?"keyword":e.match(a)?"builtin":e.match(o)?"variable":e.match(l)||e.match(s)?"operator":(e.next(),null)}const d={name:"idl",token:function(e){return n(e)},languageData:{autocomplete:r.concat(i)}};export{d as idl}; diff --git a/public/admin/assets/idl-BEugSyMb.js.br b/public/admin/assets/idl-BEugSyMb.js.br new file mode 100644 index 0000000..d11757c Binary files /dev/null and b/public/admin/assets/idl-BEugSyMb.js.br differ diff --git a/public/admin/assets/idl-BEugSyMb.js.gz b/public/admin/assets/idl-BEugSyMb.js.gz new file mode 100644 index 0000000..db49d1c Binary files /dev/null and b/public/admin/assets/idl-BEugSyMb.js.gz differ diff --git a/public/admin/assets/index--3skRaHe.css b/public/admin/assets/index--3skRaHe.css new file mode 100644 index 0000000..e766d51 --- /dev/null +++ b/public/admin/assets/index--3skRaHe.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.toolbar-container[data-v-6a8fd0ab]{height:var(--g-toolbar-height);background-color:var(--g-container-bg);transition:background-color .3s} diff --git a/public/admin/assets/index--3skRaHe.css.br b/public/admin/assets/index--3skRaHe.css.br new file mode 100644 index 0000000..6822e1d Binary files /dev/null and b/public/admin/assets/index--3skRaHe.css.br differ diff --git a/public/admin/assets/index--3skRaHe.css.gz b/public/admin/assets/index--3skRaHe.css.gz new file mode 100644 index 0000000..494df49 Binary files /dev/null and b/public/admin/assets/index--3skRaHe.css.gz differ diff --git a/public/admin/assets/index-094514cd.css b/public/admin/assets/index-094514cd.css deleted file mode 100644 index c0034c1..0000000 --- a/public/admin/assets/index-094514cd.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -[data-mode=mobile] .sidebar-container[data-v-096f3f7e]{transform:translate(calc((var(--g-main-sidebar-width) + var(--g-sub-sidebar-width)) * -1))}[data-mode=mobile] .sidebar-container.show[data-v-096f3f7e]{transform:translate(0)}[data-mode=mobile] .main-container[data-v-096f3f7e]{margin-left:0!important}[data-mode=mobile][data-menu-mode=single] .sidebar-container[data-v-096f3f7e]{transform:translate(calc(var(--g-sub-sidebar-width) * -1))}[data-mode=mobile][data-menu-mode=single] .sidebar-container.show[data-v-096f3f7e]{transform:translate(0)}.layout[data-v-096f3f7e]{height:100%}#app-main[data-v-096f3f7e]{width:100%;height:100%;margin:0 auto;transition:all .2s}.wrapper[data-v-096f3f7e]{position:relative;width:100%;height:100%;box-shadow:-1px 0 0 0 var(--g-box-shadow-color);transition:padding-top .3s}.wrapper .sidebar-container[data-v-096f3f7e]{position:fixed;z-index:1010;top:0;bottom:0;display:flex;transition:transform .3s,top .3s;width:calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width))}.wrapper .sidebar-mask[data-v-096f3f7e]{position:fixed;z-index:1000;top:0;left:0;width:100%;height:100%;background-image:radial-gradient(transparent 1px,rgba(0,0,0,.3) 1px);background-size:4px 4px;-webkit-backdrop-filter:saturate(50%) blur(4px);backdrop-filter:saturate(50%) blur(4px);transition:all .2s;opacity:0;visibility:hidden}.wrapper .sidebar-mask.show[data-v-096f3f7e]{opacity:1;visibility:visible}.wrapper .main-sidebar-container:not(.main-sidebar-leave-active)+.sub-sidebar-container[data-v-096f3f7e]{left:var(--g-main-sidebar-width)}.wrapper .main-container[data-v-096f3f7e]{display:flex;flex-direction:column;min-height:100%;margin-left:calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));background-color:var(--g-main-bg);transition:margin-left .3s,background-color .3s}.wrapper .main-container .topbar-container[data-v-096f3f7e]{top:0;z-index:998}.wrapper .main-container .main[data-v-096f3f7e]{height:100%;flex:auto;position:relative;overflow:hidden;transition:.3s}.wrapper .main-container .topbar-container+.main[data-v-096f3f7e]{margin:var(--g-topbar-height) 0 0}header:not(.header-leave-active)+.wrapper[data-v-096f3f7e]{padding-top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-096f3f7e]{top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-096f3f7e] .sidebar-logo{display:none}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-096f3f7e] .el-menu{padding-top:0}header:not(.header-leave-active)+.wrapper .main-container .topbar-container[data-v-096f3f7e]{top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .main-container .topbar-container[data-v-096f3f7e] .tools{display:none}.app-setting[data-v-096f3f7e]{position:fixed;z-index:10;right:0;top:calc(50% + 250px);width:50px;height:50px;border-top-left-radius:5px;border-bottom-left-radius:5px;font-size:24px;color:#fff;background-color:var(--el-color-primary);cursor:pointer}.app-setting svg[data-v-096f3f7e]{animation:rotate-096f3f7e 5s linear infinite}@keyframes rotate-096f3f7e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.main-enter-active[data-v-096f3f7e]{transition:.2s}.main-leave-active[data-v-096f3f7e]{transition:.15s}.main-enter-from[data-v-096f3f7e]{opacity:0;margin-left:-20px}.main-leave-to[data-v-096f3f7e]{opacity:0;margin-left:20px} diff --git a/public/admin/assets/index-128f1583.js b/public/admin/assets/index-128f1583.js deleted file mode 100644 index 325861f..0000000 --- a/public/admin/assets/index-128f1583.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{s as X,t as O,b as e,L as r,i as s,c as $,h as S,j as l,f as Z,k as Y,a as t}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const n=X({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),o={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},c=e.deserialize({version:14,states:"#!tQ]QPOOQ$wQPOOO(_QQO'#H]O*cQQO'#CbOOQO'#Cb'#CbO*jQPO'#CaO*rOSO'#CpOOQO'#Hb'#HbOOQO'#Cu'#CuO,_QPO'#D_O,xQQO'#HlOOQO'#Hl'#HlO/^QQO'#HgO/eQQO'#HgOOQO'#Hg'#HgOOQO'#Hf'#HfO1iQPO'#DUO1vQPO'#GmO4nQPO'#D_O4uQPO'#DzO*jQPO'#E[O5hQPO'#E[OOQO'#DV'#DVO6vQQO'#H`O8}QQO'#EeO9UQPO'#EdO9ZQPO'#EfOOQO'#Ha'#HaO7^QQO'#HaO:^QQO'#FgO:eQPO'#EwO:jQPO'#E|O:jQPO'#FOOOQO'#H`'#H`OOQO'#HX'#HXOOQO'#Gg'#GgOOQO'#HW'#HWO;zQPO'#FhOOQO'#HV'#HVOOQO'#Gf'#GfQ]QPOOOOQO'#Hr'#HrOQQPO'#GYO>nQQO'#HhO?ZQQO'#CuO?bQPO'#HwO?pQPO'#D_O@`QPO'#DpO?eQPO'#DqO@jQPO'#HwO@{QPO'#DpOATQPO'#IQOAYQPO'#E`OOQO'#Hq'#HqOOQO'#Gl'#GlQ$wQPOOOAbQPO'#HrOOQO'#H]'#H]OCaQQO,58{OOQO'#HZ'#HZOOOO'#Gh'#GhOESOSO,59[OOQO,59[,59[OOQO'#Hh'#HhOEsQPO,59eOFuQPO,59yOOQO-E:e-E:eO*jQPO,58zOGiQPO,58zO*jQPO,5;|OGnQPO'#DQOGsQPO'#DQOOQO'#Gj'#GjOHsQQO,59jOOQO'#Dm'#DmOJ[QPO'#HtOJfQPO'#DlOJtQPO'#HsOJ|QPO,5<^OKRQPO,59^OKlQPO'#CxOOQO,59c,59cOKsQPO,59bOLOQQO'#H]OM}QQO'#CbO! |QPO'#D_O!#RQQO'#HlO!#cQQO,59pO!#jQPO'#DvO!#xQPO'#H{O!$QQPO,5:`O!$VQPO,5:`O!$mQPO,5;mO!$xQPO'#ISO!%TQPO,5;dO!%YQPO,5=XOOQO-E:k-E:kOOQO,5:f,5:fO!&pQPO,5:fO!&wQPO,5:vO?bQPO,5<^O*jQPO,5:vO^,5>^O!*TQPO,5:gO!*cQPO,5:qO!*kQPO,5:lO!*vQPO,5>ZO!#jQPO,5>ZO!&|QPO,59UO!+RQQO,58zO!+ZQQO,5;|O!+cQQO,5TQPO,5TQPO,5<|O!1}QPO,59jO!2[QPO'#HtO!2cQPO,59xO!2hQPO,5>cO?bQPO,59xO!2sQPO,5:[OAYQPO,5:zO!2{QPO'#DrO?eQPO'#DrO!3WQPO'#HxO!3`QPO,5:]O?bQPO,5>cO!'{QPO,5>cOATQPO,5>lOOQO,5:[,5:[O!$VQPO'#DtOOQO,5>l,5>lO!3eQPO'#EaOOQO,5:z,5:zO!6fQPO,5:zO!'{QPO'#DxOOQO-E:j-E:jOOQO,5:y,5:yO*jQPO,58}O!6kQPO'#ChOOQO1G.k1G.kOOOO-E:f-E:fOOQO1G.v1G.vO!+RQQO1G.fO*jQPO1G.fO!6uQQO1G1hOOQO,59l,59lO!6}QPO,59lOOQO-E:h-E:hO!7SQPO,5>`O!7kQPO,5:WO_OOQO1G1x1G1xOOQO1G.x1G.xO!8]QPO'#CyO!8{QPO'#HlO!9VQPO'#CzO!9eQPO'#HkO!9mQPO,59dOOQO1G.|1G.|OKsQPO1G.|O!:TQPO,59eO!:bQQO'#H]O!:sQQO'#CbOOQO,5:b,5:bOgOOQO1G/z1G/zO!nOOQO1G1O1G1OOOQO1G0Q1G0QO!=PQPO'#E]OOQO1G0b1G0bO!=pQPO1G1xO!&wQPO1G0bO!*TQPO1G0RO!*cQPO1G0]O!*kQPO1G0WOOQO1G/]1G/]O!=uQQO1G.pO9UQPO1G0jO*jQPO1G0jO<^QPO'#HoO!?iQQO1G.pOOQO1G.p1G.pO!?nQQO1G0iOOQO1G0l1G0lO!?uQPO1G0lO!@QQQO1G.oO!@hQQO'#HpO!@uQPO,59sO!BUQQO1G0pO!CmQQO1G0pO!D{QQO1G0pO!EYQQO1G0pO!F_QQO1G0pO!FuQQO1G0pO!GPQQO1G1PO!GWQQO'#HlOOQO1G0{1G0{O!HZQQO1G0}OOQO1G0}1G0}OOQO1G1n1G1nO!HqQPO'#D[O!'{QPO'#D|O!'{QPO'#D}OOQO1G0R1G0RO!HxQPO1G0RO!H}QPO1G0RO!IVQPO1G0RO!IbQPO'#EXOOQO1G0]1G0]O!IuQPO1G0]O!IzQPO'#ETO!'{QPO'#ESOOQO1G0W1G0WO!JtQPO1G0WO!JyQPO1G0WO!KRQPO'#EhO!KYQPO'#EhOOQO'#Gw'#GwO!KbQQO1G0mO!MRQQO1G3uO9UQPO1G3uO# QQPO'#FWOOQO1G.f1G.fOOQO1G1h1G1hO# XQPO1G1jOOQO1G1j1G1jO# dQQO1G1jO# lQPO1G1pOOQO1G1s1G1sO*zQPO'#D_O,xQQO,5TQPO'#G`OOQO1G2`1G2`O#/{QPO1G2hO#3yQPO,5>fOOQO1G/d1G/dOOQO1G3}1G3}O#4[QPO1G/dOOQO1G/v1G/vOOQO1G0f1G0fO!6fQPO1G0fOOQO,5:^,5:^O!'{QPO'#DsO#4aQPO,5:^O?eQPO'#GqO#4lQPO,5>dOOQO1G/w1G/wOATQPO'#HzO#4tQPO1G3}O?bQPO1G3}OOQO1G4W1G4WO!!mQPO'#DvO! |QPO'#D_OOQO,5:{,5:{O#5PQPO,5:{O#5PQPO,5:{O#5WQQO'#H`O#6fQQO'#HaO#6pQQO'#EbO#6{QPO'#EbO#7TQPO'#H}OOQO,5:d,5:dOOQO1G.i1G.iO#7`QQO'#EeO#7pQQO'#H_O#8QQPO'#FSOOQO'#H_'#H_O#8[QPO'#H_O#8yQPO'#IVO#9RQPO,59SOOQO7+$Q7+$QO!+RQQO7+$QOOQO7+'S7+'SOOQO1G/W1G/WO#9WQPO'#DoO#9bQQO'#HuOOQO'#Hu'#HuOOQO1G/r1G/rOOQO,5=Z,5=ZOOQO-E:m-E:mO#9rQWO,58{O#9yQPO,59fOOQO,59f,59fO!'{QPO'#HnOKWQPO'#GiO#:XQPO,5>VOOQO1G/O1G/OOOQO7+$h7+$hOOQO1G/{1G/{O#:aQQO1G/{OOQO1G/}1G/}O#:fQPO1G/{OOQO1G/|1G/|OZO#[OOQO1G/_1G/_O:jQPO7+&kO#XQPO'#IOO#>dQPO,5:sO?bQPO'#HwO!'{QPO'#HwO#>lQPO'#DpOOQO'#Gt'#GtO#>sQPO,5:oOOQO,5:o,5:oOOQO,5:n,5:nOOQO,5;S,5;SO#?mQQO,5;SO#?tQPO,5;SOOQO-E:u-E:uOOQO7+&X7+&XOOQO7+)a7+)aO#?{QQO7+)aOOQO'#G{'#G{O#AiQPO,5;rOOQO,5;r,5;rO#ApQPO'#FXO*jQPO'#FXO*jQPO'#FXO*jQPO'#FXO#BOQPO7+'UO#BTQPO7+'UOOQO7+'U7+'UO]QPO7+'[O#B`QPO1G1{O?bQPO1G1{O#BnQQO1G1wO!'tQPO1G1wO#BuQPO1G1wO#B|QQO7+'hOOQO'#HO'#HOO#CTQPO,5TQPO,5iO#JsQPO,59TO#JzQPO'#IUO#KSQPO,5;nO*jQPO'#GzO#KXQPO,5>qOOQO1G.n1G.nOOQO<Y,5>YOOQO,5=T,5=TOOQO-E:g-E:gO#KnQPO7+%gOOQO7+%g7+%gOOQO7+%i7+%iOOQO<jO$!iQPO'#EZOOQO1G0_1G0_O$!pQPO1G0_O?bQPO,5:pOOQO-E:r-E:rOOQO1G0Z1G0ZOOQO1G0n1G0nO$!uQQO1G0nOOQO<pOOQO1G1Y1G1YO$(XQPO'#FTOOQO,5=f,5=fOOQO-E:x-E:xO$(^QPO'#GnO$(kQPO,5>bOOQO1G/u1G/uOOQO<sAN>sO!HxQPOAN>sOOQOAN>xAN>xOOQOAN?[AN?[O9UQPOAN?[OOQO1G0`1G0`O$)SQPO1G0`OOQO,5=a,5=aOOQO-E:s-E:sO$)bQPO,5:uOOQO7+%y7+%yOOQO7+&Y7+&YOOQO1G1_1G1_O$)iQQO1G1_OOQO-E:z-E:zO$)qQQO'#IXO$)lQPO1G1_O$#[QPO1G1_O*jQPO1G1_OOQOAN@[AN@[O$)|QQO<sO$+fQPO7+&yO$+kQQO'#IYOOQOAN@mAN@mO$+vQQOAN@mOOQOAN@iAN@iO$+}QPOAN@iO$,SQQO<tOOQOG26XG26XOOQOG26TG26TOOQO<YOWiXuiX%|iX&OiX&QiX&^iX~OZ!aX~P>uOu#OO%|TO&O#SO&Q#SO~O%|TO~P3^Og^Oh^Ov#pO!u#rO!z#qO&^!hO&s#oO~O&O!cO&Q!dO~P?wOg^Oh^O%|TO&O!cO&Q!dO~O}cO!P%^O~OZ%_O~O}%aO!m%dO~O}cOg&fXh&fXv&fX!S&fX!T&fX!U&fX!V&fX!W&fX!X&fX!Y&fX!Z&fX!]&fX!^&fX!_&fX!u&fX!z&fX%|&fX&O&fX&Q&fX&^&fX&s&fX~OW%gOZ%hOgTahTa%|Ta&OTa&QTa~OvTa!STa!TTa!UTa!VTa!WTa!XTa!YTa!ZTa!]Ta!^Ta!_Ta!uTa!zTa#xTa#yTa$VTa$gTa&sTa&^TauTaYTaqTa|Ta!PTa~PBxO&V%kO&X!tO~Ou#OO%|TOqma&]maYma&mma!Pma~O&uma}ma!rma~PE[O!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO~Og!Rah!Rav!Ra!u!Ra!z!Ra$g!Ra&O!Ra&Q!Ra&s!Ra&^!Ra~PFQO#y%mO~Os%oO~Ou%pO%|TO~Ou#OO%|ra&Ora&Qra&uraYrawra&mra&pra!Pra&]raqra~OWra#_ra#ara#cra#dra#era#fra#gra#hra#jra#nra#qra&^ra#orasra|ra~PG{Ou#OO%|TOq&hX!P&hX!b&hX~OY&hX#o&hX~PIyO!b%sOq!`X!P!`XY!`X~Oq%tO!P&gX~O!P%vO~Ov%wO~Og^Oh^O%|0iO&O!wO&QWO&a%zO~O&]&_P~PKWO%|TO&O!wO&QWO~OW&PXYiXY!aXY&PXZ&PXq!aXu&PXwiX!b&PX#]&PX#_&PX#a&PX#c&PX#d&PX#e&PX#f&PX#g&PX#h&PX#j&PX#n&PX#q&PX&]&PX&^&PX&miX&m&PX&piX&uiX&u&PX&w!aX~P>uOWUXYUXY!aXY&[XZUXq!aXuUXw&[X!bUX#]UX#_UX#aUX#cUX#dUX#eUX#fUX#gUX#hUX#jUX#nUX#qUX&]UX&^UX&mUX&m&[X&p&[X&uUX&u&[X&w!aX~P>YOg^Oh^O%|TO&O!wO&QWOg!RXh!RX&O!RX&Q!RX~PFQOu#OOw&UO%|TO&O&RO&Q&QO&p&TO~OW#XOY&`X&m&`X&u&`X~P!!mOY&WO~P9`Og^Oh^O&O!wO&QWO~Oq&YOY&oX~OY&[O~Og^Oh^O%|TO&O!wO&QWOY&oP~PFQOY&aO&m&_O&u#vO~Oq&bO&w$WOY&vX~OY&dO~O%|TOg%aah%aav%aa!S%aa!T%aa!U%aa!V%aa!W%aa!X%aa!Y%aa!Z%aa!]%aa!^%aa!_%aa!u%aa!z%aa$g%aa&O%aa&Q%aa&s%aa&^%aa~O|&eO~P]O}&fO~Op&rOw&sO&OSO&Q!qO&^#YO~Oz&qO~P!&|Oz&uO&OSO&Q!qO&^#YO~OY&dP~P:jOg^Oh^O%|TO&O!wO&QWO~O}cO~P:jOW#XOu#OO%|TO&u&`X~O#q$TO!P#ra#_#ra#a#ra#c#ra#d#ra#e#ra#f#ra#g#ra#h#ra#j#ra#n#ra&]#ra&^#ra&m#raY#ra#o#ras#raq#ra|#ra~Oo'XO}'WO!r'YO&^!hO~O}'_O!r'YO~Oo'cO}'bO&^!hO~OZ#xOu'gO%|TO~OW%gO}'mO~OW%gO!P'oO~OW'pO!P'qO~O$g!WO&O0kO&Q0jO!P&dP~P/lO!P'|O#o'}O~P9`O}(OO~O$b(QO~O!P(RO~O!P(SO~O!P(TO~P9`O!P(VO~P9`OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQO%P(bO%T(cOZ$|a_$|a`$|aa$|ab$|ac$|ae$|ag$|ah$|ap$|av$|aw$|az$|a}$|a!P$|a!S$|a!T$|a!U$|a!V$|a!W$|a!X$|a!Y$|a!Z$|a![$|a!]$|a!^$|a!_$|a!u$|a!z$|a#e$|a#q$|a#s$|a#t$|a#x$|a#y$|a$V$|a$X$|a$_$|a$b$|a$d$|a$g$|a$k$|a$m$|a$r$|a$t$|a$v$|a$x$|a${$|a$}$|a%v$|a%|$|a&O$|a&Q$|a&W$|a&s$|a|$|a$`$|a$p$|a~O}ra!rra&}ra~PG{OZ%_O~PIyO!P(gO~O!m%dO}&ka!P&ka~O}cO!P(jO~Oo(nOq!fX&]!fX~Oq(pO&]&lX~O&](rO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op)OOv{Ow(}Oz!OO|(yO}cO!PvO![!`O!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&^#YO&sdO~PFQO}%aO~O})VOY&yP~P:jOW%gO!P)^O~Os)_O~Ou#OO%|TOq&ha!P&ha!b&haY&ha#o&ha~O})`O~P:jOq%tO!P&ga~Og^Oh^O%|0iO&O!wO&QWO~O&a)gO~P!7zOu#OO%|TOq&`X&]&`XY&`X&m&`X!P&`X~O}&`X!r&`X~P!8dOo)iOp)iOqnX&]nX~Oq)jO&]&_X~O&])lO~Ou#OOw)nO%|TO&OSO&Q!qO~OYma&mma&uma~P!9rOW&PXY!aXq!aXu!aX%|!aX~OWUXY!aXq!aXu!aX%|!aX~OW)qO~Ou#OO%|TO&O#SO&Q#SO&p)sO~Og^Oh^O%|TO&O!wO&QWO~PFQOq&YOY&oa~Ou#OO%|TO&O#SO&Q#SO&p&TO~OY)vO~OY)yO&m&_O~Oq&bOY&va~Og^Oh^Ov{O|*RO!u}O%|TO&O!wO&QWO&sdO~PFQO!P*SO~OW^iZ#XXu^i!P^i!b^i#]^i#_^i#a^i#c^i#d^i#e^i#f^i#g^i#h^i#j^i#n^i#q^i&]^i&^^i&m^i&u^iY^i#o^is^iq^i|^i~OW*cO~Os*dO~P9`Oz*eO&OSO&Q!qO~O!P]iY]i#o]is]iq]i|]i~P9`Oq*fOY&dX!P&dX~P9`OY*hO~O#q$TO!P#^i#_#^i#a#^i#c#^i#d#^i#e#^i#f#^i#j#^i#n#^i&]#^i&^#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#g$RO#h$RO~P!@zO#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#a#^i#c#^i#d#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#e$PO~P!B`O#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#c#^i#d#^i#n#^iY#^i#o#^is#^iq#^i|#^i~O#a#}O#e$PO&m#{O~P!CtO#e#^i~P!B`O#q$TO!P#^i#a#^i#c#^i#d#^i#e#^i#f#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#_#|O#g$RO#h$RO#j$VO&]#zO&^#zO~P!EaO#g#^i#h#^i~P!@zO#o*iO~P9`O#_&`X#a&`X#c&`X#d&`X#e&`X#f&`X#g&`X#h&`X#j&`X#n&`X#q&`X&^&`X#o&`Xs&`X|&`X~P!8dO!P#kiY#ki#o#kis#kiq#ki|#ki~P9`O|*lO~P$wO}'WO~O}'WO!r'YO~Oo'XO}'WO!r'YO~O%|TO&O#SO&Q#SO|&rP!P&rP~PFQO}'_O~Og^Oh^Ov{O|*yO!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQO}'bO~Oo'cO}'bO~Os*{O~P:jOu*}O%|TO~Ou'gO})`O%|TOW#Zi!P#Zi#_#Zi#a#Zi#c#Zi#d#Zi#e#Zi#f#Zi#g#Zi#h#Zi#j#Zi#n#Zi#q#Zi&]#Zi&^#Zi&m#Zi&u#ZiY#Zi#o#Zis#Ziq#Zi|#Zi~O}'WOW&ciu&ci!P&ci#_&ci#a&ci#c&ci#d&ci#e&ci#f&ci#g&ci#h&ci#j&ci#n&ci#q&ci&]&ci&^&ci&m&ci&u&ciY&ci#o&cis&ciq&ci|&ci~O#|+VO$O+WO$Q+WO$R+XO$S+YO~O|+UO~P!NoO$Y+ZO&OSO&Q!qO~OW+[O!P+]O~O$`+^OZ$^i_$^i`$^ia$^ib$^ic$^ie$^ig$^ih$^ip$^iv$^iw$^iz$^i}$^i!P$^i!S$^i!T$^i!U$^i!V$^i!W$^i!X$^i!Y$^i!Z$^i![$^i!]$^i!^$^i!_$^i!u$^i!z$^i#e$^i#q$^i#s$^i#t$^i#x$^i#y$^i$V$^i$X$^i$_$^i$b$^i$d$^i$g$^i$k$^i$m$^i$r$^i$t$^i$v$^i$x$^i${$^i$}$^i%v$^i%|$^i&O$^i&Q$^i&W$^i&s$^i|$^i$p$^i~Og^Oh^O$g#sO&O!wO&QWO~O!P+bO~P:jO!P+cO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!Z+hO![!`O!]yO!^yO!_yO!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$p+iO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&sdO~O|+gO~P#&ROW&PXY&PXZ&PXu&PX!P&PX&uiX&u&PX~P>uOWUXYUXZUXuUX!PUX&uUX&u&[X~P>YOW#tOu#uO&u#vO~OW&TXY%WXu&TX!P%WX&u&TX~OZ#XX~P#+WOY+oO!P+mO~O%P(bO%T(cOZ$|i_$|i`$|ia$|ib$|ic$|ie$|ig$|ih$|ip$|iv$|iw$|iz$|i}$|i!P$|i!S$|i!T$|i!U$|i!V$|i!W$|i!X$|i!Y$|i!Z$|i![$|i!]$|i!^$|i!_$|i!u$|i!z$|i#e$|i#q$|i#s$|i#t$|i#x$|i#y$|i$V$|i$X$|i$_$|i$b$|i$d$|i$g$|i$k$|i$m$|i$r$|i$t$|i$v$|i$x$|i${$|i$}$|i%v$|i%|$|i&O$|i&Q$|i&W$|i&s$|i|$|i$`$|i$p$|i~OZ+rO~O%P(bO%T(cOZ%Ui_%Ui`%Uia%Uib%Uic%Uie%Uig%Uih%Uip%Uiv%Uiw%Uiz%Ui}%Ui!P%Ui!S%Ui!T%Ui!U%Ui!V%Ui!W%Ui!X%Ui!Y%Ui!Z%Ui![%Ui!]%Ui!^%Ui!_%Ui!u%Ui!z%Ui#e%Ui#q%Ui#s%Ui#t%Ui#x%Ui#y%Ui$V%Ui$X%Ui$_%Ui$b%Ui$d%Ui$g%Ui$k%Ui$m%Ui$r%Ui$t%Ui$v%Ui$x%Ui${%Ui$}%Ui%v%Ui%|%Ui&O%Ui&Q%Ui&W%Ui&s%Ui|%Ui$`%Ui$p%Ui~Ou#OO%|TO}&na!P&na!m&na~O!P+xO~Oo(nOq!fa&]!fa~Oq(pO&]&la~O!m%dO}&ki!P&ki~O|,RO~P]OW,TO~P5oOW&TXu&TX#_&TX#a&TX#c&TX#d&TX#e&TX#f&TX#g&TX#h&TX#j&TX#n&TX#q&TX&]&TX&^&TX&m&TX&u&TX~OZ#xO!P&TX~P#5_OW$dOZ#xO&u#vO~Op,VOw,VO~Oq,WO}&qX!P&qX~O!b,YO#]#wOY&TXZ#XX~P#5_OY&RXq&RX|&RX!P&RX~P9`O})VO|&xP~P:jOY&RXg%ZXh%ZX%|%ZX&O%ZX&Q%ZXq&RX|&RX!P&RX~Oq,]OY&yX~OY,_O~O})`O|&jP~P:jOq&iX!P&iX|&iXY&iX~P9`O&aTa~PBxOo)iOp)iOqna&]na~Oq)jO&]&_a~OW,gO~Ow,hO~Ou#OO%|TO&O,lO&Q,kO~Og^Oh^Ov#pO!u#rO&O!wO&QWO&s#oO~Og^Oh^Ov{O|,qO!u}O%|TO&O!wO&QWO&sdO~PFQOw,|O&OSO&Q!qO&^#YO~Oq*fOY&da!P&da~O#_ma#ama#cma#dma#ema#fma#gma#hma#jma#nma#qma&^ma#omasma|ma~PE[O|-QO~P$wOZ#xO}'WOq!|X|!|X!P!|X~Oq-UO|&rX!P&rX~O|-XO!P-WO~O&^!hO~P4|Og^Oh^Ov{O|-]O!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQOs-^O~P9`Os-^O~P:jO}'WOW&cqu&cq!P&cq#_&cq#a&cq#c&cq#d&cq#e&cq#f&cq#g&cq#h&cq#j&cq#n&cq#q&cq&]&cq&^&cq&m&cq&u&cqY&cq#o&cqs&cqq&cq|&cq~O|-bO~P!NoO!W-fO#}-fO&OSO&Q!qO~O!P-iO~O$Y-jO&OSO&Q!qO~O!b%sO#o-lOq!`X!P!`X~O!P-nO~P9`O!P-nO~P:jO!P-qO~P9`O|-sO~P#&RO![$^O#o-tO~O!P-vO~O!b-wO~OY-zOZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOY-zO!P-{O~O%P(bO%T(cOZ%Uq_%Uq`%Uqa%Uqb%Uqc%Uqe%Uqg%Uqh%Uqp%Uqv%Uqw%Uqz%Uq}%Uq!P%Uq!S%Uq!T%Uq!U%Uq!V%Uq!W%Uq!X%Uq!Y%Uq!Z%Uq![%Uq!]%Uq!^%Uq!_%Uq!u%Uq!z%Uq#e%Uq#q%Uq#s%Uq#t%Uq#x%Uq#y%Uq$V%Uq$X%Uq$_%Uq$b%Uq$d%Uq$g%Uq$k%Uq$m%Uq$r%Uq$t%Uq$v%Uq$x%Uq${%Uq$}%Uq%v%Uq%|%Uq&O%Uq&Q%Uq&W%Uq&s%Uq|%Uq$`%Uq$p%Uq~Ou#OO%|TO}&ni!P&ni!m&ni~O&m&_Oq!ga&]!ga~O!m%dO}&kq!P&kq~O|.WO~P]Op.YOw&sOz&qO&OSO&Q!qO&^#YO~O!P.ZO~Oq,WO}&qa!P&qa~O})VO~P:jOq.aO|&xX~O|.cO~Oq,]OY&ya~Oq.gO|&jX~O|.iO~Ow.jO~Oq!aXu!aX!P!aX!b!aX%|!aX~OZ&PX~P#KsOZUX~P#KsO!P.kO~OZ.lO~OW^yZ#XXu^y!P^y!b^y#]^y#_^y#a^y#c^y#d^y#e^y#f^y#g^y#h^y#j^y#n^y#q^y&]^y&^^y&m^y&u^yY^y#o^ys^yq^y|^y~OY%_aq%_a!P%_a~P9`O!P#myY#my#o#mys#myq#my|#my~P9`O}'WOq!|a|!|a!P!|a~OZ#xO}'WOq!|a|!|a!P!|a~O%|TO&O#SO&Q#SOq%iX|%iX!P%iX~PFQOq-UO|&ra!P&ra~O|!}X~P$wO|.yO~Os.zO~P9`OW%gO!P.{O~OW%gO$P/QO&OSO&Q!qO!P&{P~OW%gO$T/RO~O!P/SO~O!b%sO#o/UOq!`X!P!`X~OY/WO~O!P/XO~P9`O#o/YO~P9`O!b/[O~OY/]OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOW#[Ou&ZX%|&ZX&O&ZX&Q&ZX&}&ZX~O&^#YO~P$%uOu#OO%|TO&}/_O&O%RX&Q%RX~O&m&_Oq!gi&]!gi~Op/cO&OSO&Q!qO~OW*cOZ#xO~O!P/eO~OY&RXq&RX~P9`O})VOq%mX|%mX~P:jOq.aO|&xa~O!b/hO~O})`Oq%bX|%bX~P:jOq.gO|&ja~OY/kO~O!P/lO~OZ/mO~O}'WOq!|i|!|i!P!|i~O|!}a~P$wOW%gO!P/qO~OW%gOq/rO!P&{X~OY/vO~P9`OY/xO~OY%Wq!P%Wq~P9`O&}/_O&O%Ra&Q%Ra~OY/}O~O!P0QO~Ou#OO!P0SO!Z0TO%|TO~OY0UO~Oq/rO!P&{a~O!P0XO~OW%gOq/rO!P&|X~OY0ZO~P9`OY0[O~OY%Wy!P%Wy~P9`Ou#OO%|TO&O%ta&Q%ta&}%ta~OY0]O~O!P0^O~Ou#OO!P0_O!Z0`O%|TO~OW%gOq%qa!P%qa~Oq/rO!P&|a~O!P0dO~Ou#OO!P0dO!Z0eO%|TO~O!P0fO~O!P0hO~O#o&PXY&PXs&PXq&PX|&PX~P&bO#oUXYUXsUXqUX|UX~P(fO`Q_P#f&Wc~",goto:"#)S&}PPPP'O'c*t-wP'cPP.].a/uPPPPP1aP2yPP4c7U9q<^kPPP>qPAXPPPBR2yPCzPPDuPElEtPPPPPPPPPPPPGPGhPJpJxKUKpKvK|MlMpMpMxPNX! a!!U!!`P!!u! aP!!{!#V! |!#fP!$V!$a!$g! a!$j!$pElEl!$t!%O!%R2y!&m2y2y!(fP.aP!(jP!)ZPPPPPP.aP.a!)w.aPP.aP.aPP.a!+]!+gPP!+m!+vPPPPPPPP'OP'OPP!+z!+z!,_!+zPP!+zP!+zP!,x!,{P!+z!-c!+zP!+zP!-f!-iP!+zP!+zP!+zP!+zP!+z!+zP!+zP!-mP!-s!-v!-|P!+z!.Y!.]P!.e!.w!2v!2|!3S!4Y!4`!4n!5t!5z!6Q!6[!6b!6h!6n!6t!6z!7Q!7W!7^!7d!7j!7p!7v!8Q!8W!8b!8hPPP!8n!+z!9cP!g!]!^!?w!^!_!@e!_!`!BO!`!a!Br!a!b!D`!b!c!EO!c!}!Kz!}#O!MW#O#P%Q#P#Q!Mt#Q#R!Nb#R#S4e#S#T%Q#T#o4e#o#p# U#p#q# r#q#r##[#r#s##x#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%QS%VV&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&XSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&XS%xZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&XS%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XZ*^Y%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XV+TX#sP&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QU+wV#_Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT,aXOY,|YZ%lZr,|rs3Ys#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T-PXOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT-qX&XSOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT.cVcPOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZT.}V&XSOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT/iW&XSOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0UWOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0sOcPP0vTOY0RYZ0RZ;'S0R;'S;=`1V<%lO0RP1YP;=`<%l0RT1`XOY,|YZ%lZr,|rs1{s#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T2QUcPOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZT2gVOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT3PP;=`<%l-lT3VP;=`<%l,|T3_VcPOY&ZYZ%lZr&Zrs3ts;'S&Z;'S;=`'`<%lO&ZT3yR&VSXY4SYZ4`pq4SP4VRXY4SYZ4`pq4SP4eO&WP_4la&OZ&XSOY%QYZ%lZr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o;'S%Q;'S;=`&s<%lO%QU5xX#gQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU6lV#]Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV7YZ&mR&XSOY%QYZ%lZr%Qrs%qsv%Qvw7{w!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU8SV#aQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT8nZ&XSOY9aYZ%lZr9ars:osw9awx%Qx#O9a#O#P;y#P;'S9a;'S;=`@z<%lO9aT9fX&XSOY%QYZ%lZr%Qrs%qsw%Qwx:Rx;'S%Q;'S;=`&s<%lO%QT:YVbP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT:rXOY&ZYZ%lZr&Zrs&ysw&Zwx;_x;'S&Z;'S;=`'`<%lO&ZT;dVbPOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT_YZ%lZr>_rs?Zsw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_T>bZOY_YZ%lZr>_rs@Psw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_P@SVOY@PZw@Pwx@ix#O@P#P;'S@P;'S;=`@n<%lO@PP@nObPP@qP;=`<%l@PT@wP;=`<%l>_T@}P;=`<%l9a_AXVZZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVAuVYR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBeX$YP&XS#fQOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVCXZ#eR&XSOY%QYZ%lZr%Qrs%qs{%Q{|Cz|!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVDRV#qR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVDoVqR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVE][#eR&XSOY%QYZ%lZr%Qrs%qs}%Q}!OCz!O!_%Q!_!`6e!`!aFR!a;'S%Q;'S;=`&s<%lO%QVFYV&wR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_FvZWY&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PGi!P!Q%Q!Q![Hw![;'S%Q;'S;=`&s<%lO%QVGnX&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PHZ!P;'S%Q;'S;=`&s<%lO%QVHbV&pR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTIOc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#R%Q#R#SNq#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTJbV&XS`POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTJ|]&XSOY%QYZ%lZr%Qrs%qs{%Q{|Ku|}%Q}!OKu!O!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTKzX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTLnc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![!f%Q!f!gJZ!g!h%Q!h!iJZ!i#R%Q#R#SMy#S#W%Q#W#XJZ#X#Y%Q#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTNOZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![#R%Q#R#SMy#S;'S%Q;'S;=`&s<%lO%QTNvZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![#R%Q#R#SNq#S;'S%Q;'S;=`&s<%lO%Q_! p]&XS#fQOY%QYZ%lZr%Qrs%qsz%Qz{!!i{!P%Q!P!Q!)[!Q!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%Q_!!nX&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!#`T&XSOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!#rTOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!$UVOz!#oz{!$R{!P!#o!P!Q!$k!Q;'S!#o;'S;=`!$p<%lO!#oZ!$pOQZZ!$sP;=`<%l!#o_!$yXOY!%fYZ!#ZZr!%frs!'psz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!%iXOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!&ZZ&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!'TV&XSQZOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!'mP;=`<%l!!i_!'sXOY!%fYZ!#ZZr!%frs!#osz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!(cZOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!)XP;=`<%l!%f_!)cV&XSPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!)}VPZOY!*dYZ%lZr!*drs!+Us;'S!*d;'S;=`!,X<%lO!*d_!*iVPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!+RP;=`<%l!)[_!+ZVPZOY!*dYZ%lZr!*drs!+ps;'S!*d;'S;=`!,X<%lO!*dZ!+uSPZOY!+pZ;'S!+p;'S;=`!,R<%lO!+pZ!,UP;=`<%l!+p_!,[P;=`<%l!*dT!,fu&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!d%Q!d!e!3a!e!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o!q%Q!q!r!5_!r!z%Q!z!{!7V!{#R%Q#R#S!2i#S#U%Q#U#V!3a#V#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a#c%Q#c#d!5_#d#l%Q#l#m!7V#m;'S%Q;'S;=`&s<%lO%QT!/Qa&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QT!0^i&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o#R%Q#R#S!2i#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!2SV&XS_POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT!2nZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!0V![#R%Q#R#S!2i#S;'S%Q;'S;=`&s<%lO%QT!3fY&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S;'S%Q;'S;=`&s<%lO%QT!4]`&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S!n%Q!n!o!1{!o#R%Q#R#S!3a#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!5dX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y;'S%Q;'S;=`&s<%lO%QT!6W_&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y!n%Q!n!o!1{!o#R%Q#R#S!5_#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!7[_&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!P!8Z!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i#T%Q#T#Z!:i#Z;'S%Q;'S;=`&s<%lO%QT!8`]&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i#T%Q#T#Z!9X#Z;'S%Q;'S;=`&s<%lO%QT!9^c&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i!r%Q!r!sJw!s#R%Q#R#S!8Z#S#T%Q#T#Z!9X#Z#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!:pi&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!<_!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i!n%Q!n!o!1{!o!r%Q!r!sJw!s#R%Q#R#S!=i#S#T%Q#T#Z!:i#Z#`%Q#`#a!1{#a#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!nX#oR&XSOY%QYZ%lZr%Qrs%qs![%Q![!]!?Z!];'S%Q;'S;=`&s<%lO%QV!?bV&uR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!@OV!PR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!@lY&^Z&XSOY%QYZ%lZr%Qrs%qs!^%Q!^!_!A[!_!`+p!`;'S%Q;'S;=`&s<%lO%QU!AcX#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV!BVX!bR&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QV!ByY&]R&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`!a!Ci!a;'S%Q;'S;=`&s<%lO%QU!CpY#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`!a!A[!a;'S%Q;'S;=`&s<%lO%Q_!DiV&aX#nQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!EVX%|Z&XSOY%QYZ%lZr%Qrs%qs#]%Q#]#^!Er#^;'S%Q;'S;=`&s<%lO%QV!EwX&XSOY%QYZ%lZr%Qrs%qs#b%Q#b#c!Fd#c;'S%Q;'S;=`&s<%lO%QV!FiX&XSOY%QYZ%lZr%Qrs%qs#h%Q#h#i!GU#i;'S%Q;'S;=`&s<%lO%QV!GZX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!Gv#Y;'S%Q;'S;=`&s<%lO%QV!G{X&XSOY%QYZ%lZr%Qrs%qs#f%Q#f#g!Hh#g;'S%Q;'S;=`&s<%lO%QV!HmX&XSOY%QYZ%lZr%Qrs%qs#Y%Q#Y#Z!IY#Z;'S%Q;'S;=`&s<%lO%QV!I_X&XSOY%QYZ%lZr%Qrs%qs#T%Q#T#U!Iz#U;'S%Q;'S;=`&s<%lO%QV!JPX&XSOY%QYZ%lZr%Qrs%qs#V%Q#V#W!Jl#W;'S%Q;'S;=`&s<%lO%QV!JqX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!K^#Y;'S%Q;'S;=`&s<%lO%QV!KeV&sR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!LRa&QZ&XSOY%QYZ%lZr%Qrs%qst%Qtu!Kzu!Q%Q!Q![!Kz![!c%Q!c!}!Kz!}#R%Q#R#S!Kz#S#T%Q#T#o!Kz#o;'S%Q;'S;=`&s<%lO%Q_!M_VuZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!M{VsR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!NiX#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV# ]V}R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_# {Z&}X#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`#p%Q#p#q#!n#q;'S%Q;'S;=`&s<%lO%QU#!uV#dQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##cV|R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$PV#tP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,193]},dynamicPrecedences:{27:1,231:-1,242:-1},specialized:[{term:230,get:Q=>o[Q]||-1}],tokenPrec:6995}),T=r.define({name:"java",parser:c.configure({props:[s.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:S,SwitchBlock:Q=>{let P=Q.textAfter,a=/^\s*\}/.test(P),i=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(a?0:i?1:2)*Q.unit},Block:l({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),Z.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":Y,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function f(){return new t(T)}export{f as java,T as javaLanguage}; diff --git a/public/admin/assets/index-1c1d96a8.css b/public/admin/assets/index-1c1d96a8.css deleted file mode 100644 index fb7ed2a..0000000 --- a/public/admin/assets/index-1c1d96a8.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.tools[data-v-ad60bb95]{display:flex;align-items:center;padding:0 20px;white-space:nowrap}.tools .buttons[data-v-ad60bb95]{margin-right:20px}.tools .buttons .item[data-v-ad60bb95]{display:inline-flex;align-items:center;justify-content:center;height:24px;width:34px;cursor:pointer;vertical-align:middle}.tools .buttons .item .el-icon[data-v-ad60bb95]{color:var(--el-text-color-primary);transition:var(--el-transition-color)}[data-v-ad60bb95] .user-container{display:inline-block;height:24px;line-height:24px;cursor:pointer}[data-v-ad60bb95] .user-container .user-wrapper .el-avatar{vertical-align:middle;margin-top:-2px;margin-right:4px} diff --git a/public/admin/assets/index-1c5236b7.css b/public/admin/assets/index-1c5236b7.css deleted file mode 100644 index 885e4f5..0000000 --- a/public/admin/assets/index-1c5236b7.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.title[data-v-574cceb4]{position:fixed;z-index:1000;top:0;width:inherit;padding:0 10px;display:flex;align-items:center;justify-content:center;height:var(--g-sidebar-logo-height);text-align:center;overflow:hidden;text-decoration:none}.title.is-link[data-v-574cceb4]{cursor:pointer}.title .logo[data-v-574cceb4]{width:30px;height:30px;-o-object-fit:contain;object-fit:contain}.title .logo+span[data-v-574cceb4]{margin-left:10px}.title span[data-v-574cceb4]{display:block;font-weight:700;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} diff --git a/public/admin/assets/index-3da1c148.js b/public/admin/assets/index-3da1c148.js deleted file mode 100644 index dd2e279..0000000 --- a/public/admin/assets/index-3da1c148.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -var w=Object.defineProperty;var _=(O,e,a)=>e in O?w(O,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):O[e]=a;var q=(O,e,a)=>(_(O,typeof e!="symbol"?e+"":e,a),a);import{C as L,E as k,s as B,t as P,b as M,L as E,i as j,j as D,f as A,k as H,a as N}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const f=63,p=64,u=1,I=2,y=3,F=4,Y=5,K=6,J=7,z=65,OO=66,eO=8,aO=9,rO=10,QO=11,PO=12,G=13,tO=19,oO=20,nO=29,sO=33,lO=34,fO=47,cO=0,T=1,g=2,d=3,x=4,i=class i{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}};q(i,"top",new i(null,-1,cO));let s=i;function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let t=O.peek(r);if(o(t)||t==-1)return a}}function m(O){return O==32||O==9}function o(O){return O==10||O==13}function V(O){return m(O)||o(O)}function l(O){return O<0||V(O)}const XO=new L({start:s.top,reduce(O,e){return O.type==d&&(e==oO||e==lO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Y)return new s(O,X(r,r.pos),g);if(e==f)return O.parent;if(e==tO||e==sO)return new s(O,0,d);if(e==G&&O.type==x)return O.parent;if(e==fO){let t=/[1-9]/.exec(r.read(r.pos,a.pos));if(t)return new s(O,O.depth+ +t[0],x)}return O},hash(O){return O.hash}});function c(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const dO=new k((O,e)=>{if(O.next==-1&&e.canShift(p))return O.acceptToken(p);let a=O.peek(-1);if((o(a)||a<0)&&e.context.type!=d){if(c(O,45))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(u,3);if(c(O,46))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(I,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(J));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?F:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?K:Y);else{let a=O.pos;for(;;)if(m(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)C(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(h(O,!0))break;return}else if(O.next==91||O.next==123){if(!iO(O))return;break}else{Z(O,!0,!1,0);break}for(;m(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(nO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?OO:z,a)}}},{contextual:!0});function SO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function U(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function W(O,e){return O.next==37?(O.advance(),U(O.next)&&O.advance(),U(O.next)&&O.advance(),!0):SO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function C(O){if(O.advance(),O.next==60){for(O.advance();;)if(!W(O,!0)){O.next==62&&O.advance();break}}else for(;W(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.tag)!="f";)O.advance()}function h(O,e){let a=O.next,r=!1,t=O.pos;for(O.advance();;){let Q=O.next;if(Q<0)break;if(O.advance(),Q==a)if(Q==39)if(O.next==39)O.advance();else break;else break;else if(Q==92&&a==34)O.next>=0&&O.advance();else if(o(Q)){if(e)return!1;r=!0}else if(e&&O.pos>=t+1024)return!1}return!r}function iO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!h(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||o(O.next))return!1;O.advance()}}const kO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":kO[O-33]}function b(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function Z(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&b(O.peek(1),a))O.advance();else return!1;let t=O.pos;for(;;){let Q=O.next,n=0,R=r+1;for(;V(Q);){if(o(Q)){if(e)return!1;R=0}else R++;Q=O.peek(++n)}if(!(Q>=0&&(Q==58?b(O.peek(n+1),a):Q==35?O.peek(n-1)!=32:b(Q,a)))||!a&&R<=r||R==0&&!a&&(c(O,45,n)||c(O,46,n)))break;if(e&&S(Q)=="f")return!1;for(let v=n;v>=0;v--)O.advance();if(e&&O.pos>t+1024)return!1}return!0}const bO=new k((O,e)=>{if(O.next==33)C(O),O.acceptToken(PO);else if(O.next==38||O.next==42){let a=O.next==38?rO:QO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(h(O,!1),O.acceptToken(aO)):Z(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(eO)}),gO=new k((O,e)=>{let a=e.context.type==x?e.context.depth:-1,r=O.pos;O:for(;;){let t=0,Q=O.next;for(;Q==32;)Q=O.peek(++t);if(!t&&(c(O,45,t)||c(O,46,t))||!o(Q)&&(a<0&&(a=Math.max(e.context.depth+1,t)),tYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:XO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[xO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[dO,RO,bO,gO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),$O=E.define({name:"yaml",parser:mO.configure({props:[j.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:D({closing:"}"}),FlowSequence:D({closing:"]"})}),A.add({"FlowMapping FlowSequence":H,"BlockSequence BlockMapping BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function UO(){return new N($O)}export{UO as yaml,$O as yamlLanguage}; diff --git a/public/admin/assets/index-41c34c90.js b/public/admin/assets/index-41c34c90.js deleted file mode 100644 index bd840ab..0000000 --- a/public/admin/assets/index-41c34c90.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as I,g as $,y as V,B as R,r as M,x as U,F as G,C as z,h as T,o as y,c as A,a as J,b as v,G as P,e as x,f as w,J as O,I as D,S as Z,U as q,Z as K,_ as Q,l as W,t as X,n as Y}from"./index-e656eb90.js";import{T as j}from"./index-ae957cc8.js";import"./index-c0974f86.js";function k(t){for(var a=[],e=0;e=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===95){d+=t[n++];continue}break}if(!d)throw new TypeError("Missing parameter name at ".concat(e));a.push({type:"NAME",index:e,value:d}),e=n;continue}if(u==="("){var p=1,c="",n=e+1;if(t[n]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(n));for(;ne.mode==="mobile"||["side","head","single"].includes(e.settings.menu.menuMode)&&e.settings.menu.enableSubMenuCollapseButton),d=R(()=>{const i=[];return e.settings.home.enable&&i.push({path:"/",title:e.settings.home.title}),a.meta.breadcrumbNeste&&i.push(...a.meta.breadcrumbNeste.filter(o=>o.hide===!1)),i}),n=M(0),s=M(!1);U(()=>{window.addEventListener("scroll",p)}),G(()=>{window.removeEventListener("scroll",p)});function p(){n.value=(document.documentElement||document.body).scrollTop}z(n,(i,o)=>{const r=parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-topbar-height"));s.value=e.settings.topbar.mode==="sticky"&&i>o&&i>r});function c(i){return te(i)(a.params)}return(i,o)=>{const r=Q,f=T("el-icon"),h=T("el-breadcrumb-item"),b=T("el-breadcrumb");return y(),A("div",{class:P(["topbar-container",{[`topbar-${v(e).settings.topbar.mode}`]:!0,shadow:v(n),hide:v(s)}]),"data-fixed-calc-width":""},[J("div",oe,[v(u)?(y(),A("div",{key:0,class:P(["sidebar-collapse",{"is-collapse":v(e).settings.menu.subMenuCollapse}]),onClick:o[0]||(o[0]=m=>v(e).toggleSidebarCollapse())},[x(f,null,{default:w(()=>[x(r,{name:"toolbar-collapse"})]),_:1})],2)):O("",!0),v(e).settings.breadcrumb.enable&&v(e).mode==="pc"&&v(e).settings.app.routeBaseOn!=="filesystem"?(y(),D(b,{key:1},{default:w(()=>[x(K,{name:"breadcrumb"},{default:w(()=>[(y(!0),A(Z,null,q(v(d),(m,l)=>(y(),D(h,{key:m.path,to:l[W(X(m.title??"[ 无标题 ]"),1)]),_:2},1032,["to"]))),128))]),_:1})]),_:1})):O("",!0)]),x(j)],2)}}});const pe=Y(ce,[["__scopeId","data-v-ebe52c5a"]]);export{pe as default}; diff --git a/public/admin/assets/index-4a65a2f7.js b/public/admin/assets/index-4a65a2f7.js deleted file mode 100644 index d87d27c..0000000 --- a/public/admin/assets/index-4a65a2f7.js +++ /dev/null @@ -1,11 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{E as P,C as G,s as k,t as i,b as E,g as _,d as U,L as z,i as j,j as $,f as A,k as F,a as I,I as N,e as C,N as D,q as S}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const L=1,m=206,y=207,H=208,c=209,J=210,B=211,M=212,K=2,OO=213,rO=214,oO=3,aO=215,iO=216,eO=4,QO=217,xO=218,SO=5,sO=219,TO=26,tO=27,nO=51,PO=52,lO=57,pO=58,$O=59,qO=61,XO=62,wO=63,dO=64,YO=65,cO=67,ZO=256,fO=74,bO=275,vO=120,mO=138,yO=159,RO=160,uO=163,T=10,t=13,d=32,l=9,Y=35,WO=40,VO=46,Z=123,R=39,u=34,gO=92,hO=new Set([tO,nO,PO,bO,cO,mO,pO,$O,ZO,dO,YO,fO,XO,wO,yO,RO,uO,vO]);function q(O){return O==T||O==t}const GO=new P((O,r)=>{let o;if(O.next<0)O.acceptToken(B);else if(r.context.depth<0)q(O.next)&&O.acceptToken(J,1);else if(((o=O.peek(-1))<0||q(o))&&r.canShift(c)){let a=0;for(;O.next==d||O.next==l;)O.advance(),a++;(O.next==T||O.next==t||O.next==Y)&&O.acceptToken(c,-a)}else q(O.next)&&O.acceptToken(H,1)},{contextual:!0}),kO=new P((O,r)=>{let o=r.context.depth;if(o<0)return;let a=O.peek(-1);if(a==T||a==t){let e=0,Q=0;for(;;){if(O.next==d)e++;else if(O.next==l)e+=8-e%8;else break;O.advance(),Q++}e!=o&&O.next!=T&&O.next!=t&&O.next!=Y&&(e{for(let r=0;r<5;r++){if(O.next!="print".charCodeAt(r))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let r=0;;r++){let o=O.peek(r);if(!(o==d||o==l)){o!=WO&&o!=VO&&o!=T&&o!=t&&o!=Y&&O.acceptToken(L);return}}});function p(O,r,o,a,e){return new P(Q=>{let x=Q.pos;for(;!(Q.next<0);)if(Q.next==Z)if(Q.peek(1)==Z)Q.advance(2);else{if(Q.pos==x){Q.acceptToken(a,1);return}break}else if(Q.next==gO)Q.advance(),Q.next>=0&&Q.advance();else if(Q.next==O&&(r==1||Q.peek(1)==O&&Q.peek(2)==O)){if(Q.pos==x){Q.acceptToken(e,r);return}break}else Q.advance();Q.pos>x&&Q.acceptToken(o)})}const jO=p(R,1,M,K,OO),AO=p(u,1,rO,oO,aO),FO=p(R,3,iO,eO,QO),IO=p(u,3,xO,SO,sO),NO=k({'async "*" "**" FormatConversion FormatSpec':i.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":i.controlKeyword,"in not and or is del":i.operatorKeyword,"from def class global nonlocal lambda":i.definitionKeyword,import:i.moduleKeyword,"with as print":i.keyword,Boolean:i.bool,None:i.null,VariableName:i.variableName,"CallExpression/VariableName":i.function(i.variableName),"FunctionDefinition/VariableName":i.function(i.definition(i.variableName)),"ClassDefinition/VariableName":i.definition(i.className),PropertyName:i.propertyName,"CallExpression/MemberExpression/PropertyName":i.function(i.propertyName),Comment:i.lineComment,Number:i.number,String:i.string,FormatString:i.special(i.string),UpdateOp:i.updateOperator,"ArithOp!":i.arithmeticOperator,BitOp:i.bitwiseOperator,CompareOp:i.compareOperator,AssignOp:i.definitionOperator,Ellipsis:i.punctuation,At:i.meta,"( )":i.paren,"[ ]":i.squareBracket,"{ }":i.brace,".":i.derefOperator,", ;":i.separator}),CO={__proto__:null,await:48,or:58,and:60,in:64,not:66,is:68,if:74,else:76,lambda:80,yield:98,from:100,async:106,for:108,None:178,True:180,False:180,del:194,pass:198,break:202,continue:206,return:210,raise:218,import:222,as:224,global:228,nonlocal:230,assert:234,type:239,elif:252,while:256,try:262,except:264,finally:266,with:270,def:274,class:284,match:295,case:301},DO=E.deserialize({version:14,states:"#)WO`Q#yOOP$bOSOOO%kQ&nO'#HhOOQS'#Cq'#CqOOQS'#Cr'#CrO'ZQ#xO'#CpO(|Q&nO'#HgOOQS'#Hh'#HhOOQS'#DW'#DWOOQS'#Hg'#HgO)jQ#xO'#DaO)}Q#xO'#DhO*_Q#xO'#DlOOQS'#Dw'#DwO*rO,UO'#DwO*zO7[O'#DwO+SOWO'#DxO+_O`O'#DxO+jOpO'#DxO+uO!bO'#DxO-wQ&nO'#HXOOQS'#HX'#HXO'ZQ#xO'#HWO/ZQ&nO'#HWOOQS'#Ej'#EjO/rQ#xO'#EkOOQS'#HV'#HVO/|Q#xO'#HUOOQV'#HU'#HUO0XQ#xO'#FbOOQS'#Gj'#GjO0^Q#xO'#FaOOQV'#I_'#I_OOQV'#HT'#HTOOQV'#Fy'#FyQ`Q#yOOO'ZQ#xO'#CsO0lQ#xO'#DPO0sQ#xO'#DTO1RQ#xO'#HlO1cQ&nO'#E_O'ZQ#xO'#E`OOQS'#Eb'#EbOOQS'#Ed'#EdOOQS'#Ef'#EfO1wQ#xO'#EhO2_Q#xO'#ElO0XQ#xO'#EnO2rQ&nO'#EnO0XQ#xO'#EqO/rQ#xO'#EtO0XQ#xO'#EvO/rQ#xO'#E|O/rQ#xO'#FPO2}Q#xO'#FRO3UQ#xO'#FWO3aQ#xO'#FSO/rQ#xO'#FWO0XQ#xO'#FYO0XQ#xO'#F_O3fQ#xO'#FdP3mO#xO'#HSPOOO)CBv)CBvOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Ck'#CkOOQS'#Cl'#ClOOQS'#Cn'#CnO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO3xQ#xO'#DqOOQS,5:[,5:[O4]Q#xO'#HvOOQS,5:_,5:_O4jQMlO,5:_O4oQ&nO,59[O0lQ#xO,59dO0lQ#xO,59dO0lQ#xO,59dO7_Q#xO,59dO7dQ#xO,59dO7kQ#xO,59lO7rQ#xO'#HgO8xQ#xO'#HfOOQS'#Hf'#HfOOQS'#D^'#D^O9aQ#xO,59cO'ZQ#xO,59cO9oQ#xO,59cOOQS,59{,59{O9tQ#xO,5:TO'ZQ#xO,5:TOOQS,5:S,5:SO:SQ#xO,5:SO:XQ#xO,5:ZO'ZQ#xO,5:ZO'ZQ#xO,5:XOOQS,5:W,5:WO:jQ#xO,5:WO:oQ#xO,5:YOOOO'#GR'#GRO:tO,UO,5:cOOQS,5:c,5:cOOOO'#GS'#GSO:|O7[O,5:cO;UQ#xO'#DyOOOW'#GT'#GTO;fOWO,5:dOOQS,5:d,5:dO;UQ#xO'#EPOOO`'#GW'#GWO;qO`O,5:dO;UQ#xO'#EROOOp'#GX'#GXO;|OpO,5:dO;UQ#xO'#ETOOO!b'#GY'#GYOWOOQS,5>W,5>WO/rQ#xO'#EZOOQS'#E['#E[OGZQ#xO'#G]OGkQ#xO,59OOGkQ#xO,59OO)pQ#xO,5:wOGyQ&nO'#HoOOQS,5:z,5:zOOQS,5;S,5;SOH^Q#xO,5;WOHoQ#xO,5;YOOQS'#G`'#G`OH}Q&nO,5;YOI]Q#xO,5;YOIbQ#xO'#I]OOQS,5;],5;]OIpQ#xO'#IXOOQS,5;`,5;`OJRQ#xO,5;bO3aQ#xO,5;hO3aQ#xO,5;kOJZQ&nO'#I`O'ZQ#xO'#I`OJeQ#xO,5;mO2}Q#xO,5;mO/rQ#xO,5;rO0XQ#xO,5;tOJjQ#yO'#E}OKvQ#{O,5;nO! [Q#xO'#IaO3aQ#xO,5;rO! gQ#xO,5;tO! oQ#xO,5;yO! zQ&nO,5bOOQS'#Du'#DuOOQS1G/y1G/yOOQS1G/O1G/OO!-uQ&nO1G/OO!-|Q&nO1G/OO0lQ#xO1G/OO!.iQ#xO1G/WOOQS'#D]'#D]O/rQ#xO,59vOOQS1G.}1G.}O!.pQ#xO1G/gO!/QQ#xO1G/gO!/YQ#xO1G/hO'ZQ#xO'#HnO!/_Q#xO'#HnO!/dQ&nO1G.}O!/tQ#xO,59kO!0zQ#xO,5>^O!1[Q#xO,5>^O!1dQ#xO1G/oO!1iQ&nO1G/oOOQS1G/n1G/nO!1yQ#xO,5>XO!2pQ#xO,5>XO/rQ#xO1G/sO!3_Q#xO1G/uO!3dQ&nO1G/uO!3tQ&nO1G/sOOQS1G/r1G/rOOQS1G/t1G/tOOOO-E:P-E:POOQS1G/}1G/}OOOO-E:Q-E:QO!4UQ#xO'#IRO/rQ#xO'#IRO!4gQ#xO,5:eOOOW-E:R-E:ROOQS1G0O1G0OO!4uQ#xO,5:kOOO`-E:U-E:UO!5TQ#xO,5:mOOOp-E:V-E:VO!5cQ#xO,5:oOOO!b-E:W-E:WOOQS-E:X-E:XO!5qQ!LUO1G3^O!6bQ&nO1G3^O'ZQ#xO,5tOOQS1G1h1G1hO!7bQ#xO1G1hOOQS'#DX'#DXO/rQ#xO,5>TOOQS,5>T,5>TO!7gQ#xO'#FzO!7rQ#xO,59qO!7zQ#xO1G/ZO!8UQ&nO,5>XOOQS1G3r1G3rOOQS,5:u,5:uO!8uQ#xO'#HWOOQS,5ZO!9vQ#xO,5>ZO/rQ#xO1G0rO/rQ#xO1G0rO0XQ#xO1G0tOOQS-E:^-E:^O!:XQ#xO1G0tO!:dQ#xO1G0tO!:iQ#xO,5>wO!:wQ#xO,5>wO!;VQ#xO,5>sO!;mQ#xO,5>sO!zO!CZQ#xO,5>zO!CcQ&nO,5>zO/rQ#xO1G1XO!CmQ#xO1G1XO3aQ#xO1G1^O! gQ#xO1G1`OOQV,5;i,5;iO!CrQ#zO,5;iO!CwQ#{O1G1YO!G]Q#xO'#GgO3aQ#xO1G1YO3aQ#xO1G1YO!GmQ#xO,5>{O!GzQ#xO,5>{O0XQ#xO,5>{OOQV1G1^1G1^O!HSQ#xO'#F[O!HeQMlO1G1`O!HmQ#xO1G1`OOQV1G1e1G1eO3aQ#xO1G1eO!HrQ#xO1G1eO!HzQ#xO'#FfOOQV1G1j1G1jO! zQ&nO1G1jPOOO1G3Y1G3YP!IPOSO1G3YOOQS,5>a,5>aOOQS'#Dr'#DrO/rQ#xO,5>aO!IUQ#xO,5>`O!IiQ#xO,5>`OOQS1G/w1G/wO!IqQ#xO,5>cO!JRQ#xO,5>cO!JZQ#xO,5>cO!JnQ#xO,5>cO!KOQ#xO,5>cOOQS1G3|1G3|OOQS7+$j7+$jO!7zQ#xO7+$rO!LqQ#xO1G/OO!LxQ#xO1G/OOOQS1G/b1G/bOOQS,5YO'ZQ#xO,5>YOOQS7+$i7+$iO!MfQ#xO7+%RO!MnQ#xO7+%SO!MsQ#xO1G3xOOQS7+%Z7+%ZO!NTQ#xO1G3xO!N]Q#xO7+%ZOOQS,5mO##cQ#xO,5>mO##cQ#xO,5>mOOQS'#Dz'#DzO##tO$ISO'#D|O#$PO#tO'#ISOOOW1G0P1G0PO#$UQ#xO1G0PO#$^Q#xO1G0POOQS'#EQ'#EQOOO`1G0V1G0VO#$iQ#xO1G0VO#$qQ#xO1G0VOOQS'#ES'#ESOOOp1G0X1G0XO#$|Q#xO1G0XO#%UQ#xO1G0XOOQS'#EU'#EUOOO!b1G0Z1G0ZO#%aQ#xO1G0ZO#%iQ#xO1G0ZO#%tQ!LUO7+(xO#&eQ&nO1G2bP#'OQ#xO'#G[OOQS,5n,5>nOOOW7+%k7+%kO#;yQ#xO7+%kOOO`7+%q7+%qO#vO#=xQ#xO,5>vO0XQ#xO,5>vO#>ZQ#xO,5>uOOQS<`Q#xO,5>xO#>nQ#xO,5>xOOQS1G1O1G1OOOQS<vQ&nO1G2lP#?QQ#xO'#GfO#?XQ#xO7+*QO#?cQ#{O<}O#F{Q#xO,5>}OOQS,5>},5>}O#GWQ#xO,5>|O#GiQ#xO,5>|OOQS1G1b1G1bOOQS,5;x,5;xOOQV<XAN>XO#JxQ#xO<eAN>eO/rQ#xO1G2UO#KYQ&nO1G2UP#KdQ#xO'#GOOOQS1G2[1G2[P#KqQ#xO'#GUO#LOQ#xO7+)sO#LiQ#xO,5:iOOOO-E:T-E:TOOOW<[OOQSANBfANBfOOOO7+%o7+%oO$.WQ#xO7+%oOOQS7+(R7+(RO$.`Q#xO<kPP>n?`?cPP'f'fPP?{PP'f'fPP'f'f'f'f'f@P@y'fP@|PASE^H}IRPIUIlIpIsIwIzJOJRJV'fPPPJYJc'^P'^'^P'^P'^P'^P'^P'^'^'^P'^PP'^PP'^P'^PJiJuJ}PKUK[PKUPKUKUPPPKUPMjPMsM}NTMjPKUN^PKUPNeNkPNo! T! r!!]NoNo!!c!!pNoNoNoNo!#U!#[!#_!#d!#g!#q!#w!$T!$g!$m!$w!$}!%k!%q!%w!%}!&X!&_!&e!&k!&q!&w!'Z!'e!'k!'q!'w!(R!(X!(_!(e!(k!(u!({!)V!)]!)f!)l!){!*T!*_!*fPPPPPPPPPPPPPPPPP!*l!*o!*u!+O!+Y!+ePPPPPPPPPPPP!0[!1p!5s!9WPP!9`!9r!9{!:t!:k!:}!;T!;W!;Z!;^!;f!V!>]!>f!>i!>l!>r!>x!?O!?RP!?Z!?d!@`!@c]jOs#v$w*`,p(TeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o}!hQ#r$P$b$q$}%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!P!iQ#r$P$b$q$}%S%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!R!jQ#r$P$b$q$}%S%T%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!T!kQ#r$P$b$q$}%S%T%U%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!V!lQ#r$P$b$q$}%S%T%U%V%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!X!mQ#r$P$b$q$}%S%T%U%V%W%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!]!mQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d(TTOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o&iVOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1o%sXOYZ[isw}!O!S!U!V!Z!n!p#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$VvQ0X/fR1l1n'zeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oW#ym!P!Q$hW$Rv&q/f1nQ$j!RQ$n!TQ${![Q$|!]W%Z!n(O+O-WS&p$S$TQ'e$vQ)b&jQ)p'QU)q'S)r)sU)t'U)u,ZW){'Y,^-z.vQ*l'nW*m'p-P._/OQ,])zS-O*n*oY-t,U-u.s.t/lQ-w,WQ.U,tQ.Y,wQ.|.Wl/R.c/X/Y/[/w/y0O0g0l0q0v1R1W1ZQ/k.rQ0P/ZQ0^/qQ0i/{U0|0r1P1XX1S0w1T1[1]R&o$R!_!|YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WR%k!{Q#QYQ&W#cQ&Z#gQ&]#jQ&_#mQ&x$^Q&{$aR-l+tT/e.j0p![!oQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dQ&m#zQ't$|R*x'uR'}%ZQ%d!rR0[/o(SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oS#pd#q!P/V.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1](SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oT#pd#qT#d`#eR)Q&Wy(}&W&Z&]&_)P)Q)T)U)X)Y)])^+y+{+},P-l.p.q/jT+u(|+vR.q-lT#ha#iR)U&ZT#kb#lR)Y&]T#nc#oR)^&_Q$`xQ,]){R,}*mX$^x$_$`&zQ'[$nQ'r${Q'u$|R*_'eQ)|'YV-y,^-z.vZlOs$w*`,pXpOs*`,pQ$x!YQ']$oQ'^$pQ'o$zQ's$|Q*]'dQ*d'iQ*g'jQ*h'kQ*u'qS*w't'uQ,d*RQ,f*SQ,g*TQ,k*ZS,m*^*vQ,q*bQ,r*cS,s*e*fQ-T*xQ-|,cQ-},eQ.P,lS.Q,n,oQ.V,uQ.X,vQ.w.OQ.y.RQ.z.TQ.{.UQ/m.xQ/n.|Q0T/_R0o0UWpOs*`,pR#|oQ'q${S*^'e'rR,o*_Q,|*mR.],}Q*v'qQ,n*^R.R,oZnOos*`,pQ'w$}R*z'xT.a-U.bu/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1Zt/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZQ0P/ZX1S0w1T1[1]!P/U.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1]Q/t/TR0c/ug/w/W/x0_0f0k0y0{0}1Y1^1_u/].c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZX/r/R/]0^0|R0`/qV1O0r1P1XR0U/_QsOS$Os,pR,p*`Q&r$UR)g&rS%z#W$WS(p%z(sT(s%}&tQ%n#OQ%u#SW(b%n%u(g(kQ(g%rR(k%wQ&}$bR)m&}Q(v&OQ+g(qT+m(v+gQ(P%]R+P(PS(S%`%aY+T(S+U-^.h/cU+U(T(U(VU-^+V+W+XS.h-_-`R/c.iQ#_^R&R#_Q#b_R&T#bQ#e`R&X#eQ(y&US+r(y+sR+s(zQ+v(|R-m+vQ#iaR&[#iQ#lbR&^#lQ#ocR&`#oQ#qdR&a#qQ#tgQ&c#rW&f#t&c)j,RQ)j&wR,R1dQ$_xS&y$_&zR&z$`Q'X$lR)y'XQ&k#yR)c&kQ$h!QR'R$hQ,V)qS-v,V.uR.u-wQ'V$jR)v'VQ,_)|R-{,_Q#wkR&h#wQ*Q']R,b*QQ'`$qS*X'`*YR*Y'aQ'h$xR*a'hQ'm$yS*k'm,zR,z*lQ-Q*qR.`-QWoOs*`,pR#{oQ.b-UR/P.bd/x/W0_0f0k0y0{0}1Y1^1_R0e/xU/p/R0^0|R0]/pQ0x0kS1U0x1VR1V0yS0s0_0`R1Q0sQ/z/WR0h/zR!`PXrOs*`,pWqOs*`,pR'f$wYkOs$w*`,pR&g#v[xOs#v$w*`,pR&x$^&hQOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1oQ!sTQ#rfQ$PtU$by%p(eS$q!W$tQ$}!^Q%S!hQ%T!iQ%U!jQ%V!kQ%W!lQ%X!mQ%r#PQ%w#TQ%}#XQ&O#YQ&t$XQ'a$rQ'x%OQ)`&dU)k&|)l,SW*U'_*W,i,jQ+Z(_Q+d(nQ,h*VQ-g+lQ0n0SR1d1iQ#OYQ#SZQ$o!UQ$p!VQ%`!pQ(V%a^(^%m%t(a(i+]+`+b^+Q(R+S-[-].g/b0WQ+W(TQ+X(UQ,e*RQ-Z+RQ-_+VQ.e-XQ.f-YQ.i-`Q/`.dR0V/a[gOs#v$w*`,p!^!{YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WQ#W[Q#uiS$Ww}Q$e!OW$l!S$a'b*[S$y!Z$uW%Y!n(O+O-WY&U#c#g#j#m+t`&e#s&b)_)a)i,Q-r1hQ&u$YQ&v$[Q&w$^Q'{%[Q(]%kW(m%y(o+e+iQ(q%{Q(z&VQ)e&oS)h&s1fQ)n'OQ)o'PU)w'W)x,[Q*O'ZQ*e'iY*i'l*j,x,y.ZQ*|'}S+Y(Y1gW+k(u+f-d-hW+o(x+q-j-kQ,a*PQ,u*fQ-S*tQ-i+pQ-s,TQ.[,|Q.m-fR.}.]hUOs#s#v$w&b&s(Y)_)a*`,p%Y!zYZ[iw}!O!S!U!V!Z!n!p#c#g#j#m$Y$[$^$a$u%[%a%k%m%t%y%{&V&o'O'P'W'Z'b'i'l'}(O(R(T(U(a(i(o(u(x)i)x*P*R*[*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$QuW%e!t!x1a1kQ%f!uQ%g!vQ%i!yQ%s1`S(X%h1eQ(Z1bQ([1cQ-a+^Q.l-bS/d.j0pR1m1oU$Uv/f1nR)f&q[hOs#v$w*`,pa!}Y#c#g#j#m$^$a+tQ#][Q$ZwR$d}Q%o#OQ%v#SQ%|#WQ'{%YQ(h%rQ(l%wQ(t%}Q(w&OQ+h(qQ-V*|Q.k-aQ/h.lR0Y/gQ$cyQ(d%pR+_(eQ/g.jR0z0pR#VZR#[[R%_!nQ%]!nV*}(O+O-W!]!qQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dR%b!pQ&W#cQ&Z#gQ&]#jQ&_#mR-l+tQ)O&WQ)S&ZQ)W&]Q)[&_S+x)P)QS+z)T)US+|)X)YS,O)])^Q-n+yQ-o+{Q-p+}Q-q,PQ.o-lS/i.p.qR0Z/jQ$m!SQ&{$aQ*Z'bR,l*[Q#zmQ$f!PQ$i!QR'T$hQ)p'SR,Y)sQ)p'SQ,X)rR,Y)sR$k!RR)}'YXqOs*`,pQ$s!WR'c$tQ$z!ZR'd$uR*s'pQ*q'pV.^-P._/OQ/_.cQ/|/XR/}/YU/W.c/X/YQ0R/[Q0_/qQ0d/wU0f/y0g0vQ0k0OQ0y0lQ0{0qU0}0r1P1XQ1Y1RQ1^1WR1_1ZR0Q/ZR0a/q",nodeNames:"⚠ print { { { { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:288,context:UO,nodeProps:[["isolate",-8,6,73,74,75,79,81,83,85,""],["group",-15,8,93,95,96,98,100,102,104,106,107,108,110,113,116,118,"Statement Statement",-22,10,20,23,27,42,51,52,58,59,62,63,64,65,66,69,72,73,74,87,88,89,90,"Expression",-10,122,124,127,129,130,134,136,141,143,146,"Statement",-9,151,152,155,156,158,159,160,161,162,"Pattern"],["openedBy",25,"(",56,"[",60,"{"],["closedBy",26,")",57,"]",61,"}"]],propSources:[NO],skippedNodes:[0,6],repeatNodeCount:38,tokenData:"%-W#sR!`OX%TXY=|Y[%T[]=|]p%Tpq=|qr@_rsDOst!+|tu%Tuv!Nnvw#!|wx#$Wxy#:Uyz#;Yz{#<^{|#>x|}#@S}!O#AW!O!P#Ci!P!Q#N_!Q!R$!y!R![$&w![!]$1e!]!^$3s!^!_$4w!_!`$7c!`!a$8m!a!b%T!b!c$;U!c!d$W!e!h$W#V#Y$Q<%lO$Xc&w!b&oS&rW%u!TOX%TXY=|Y[%T[]=|]p%Tpq=|qr%Trs&Vsw%Twx/Xx#O%T#O#P?d#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#s?i[&w!bOY%TYZ=|Z]%T]^=|^#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=P;=`<%l8^<%lO%T!q@hd&w!b&oS&rWOr%Trs&Vsw%Twx/Xx!_%T!_!`Av!`#O%T#O#P7o#P#T%T#T#UBz#U#f%T#f#gBz#g#hBz#h#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qBR]oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qCV]!oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cDXa&w!b&oS&msOYE^YZ%TZ]E^]^%T^rE^rs!)|swE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cEia&w!b&oS&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cFw]&w!b&oS&msOr%Trs'Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cGya&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxIOx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cIXa&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxJ^x#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#_Jg_&w!b&rW&msOYJ^YZ1XZ]J^]^1X^rJ^rsKfs#OJ^#O#PL`#P#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`!!o<%lOJ^#_KmZ&w!b&msOr1Xrs2ys#O1X#O#P3q#P#o1X#o#p4`#p#q1X#q#r4`#r;'S1X;'S;=`7i<%lO1X#_LeW&w!bO#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`! r;=`<%lL}<%lOJ^{MUZ&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l<%lOL}{M|V&msOr4`rs5ds#O4`#O#P5y#P;'S4`;'S;=`6t<%lO4`{NfRO;'SL};'S;=`No;=`OL}{Nv[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lL}<%lOL}{! oP;=`<%lL}#_! y[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lJ^<%lOL}#_!!rP;=`<%lJ^#c!!zW&w!bO#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!(q;=`<%l!#d<%lOE^!P!#m]&oS&rW&msOY!#dYZ8^Z]!#d]^8^^r!#drs!$fsw!#dwx!%Yx#O!#d#O#P!'Y#P;'S!#d;'S;=`!(k<%lO!#d!P!$mX&oS&msOr8^rs9rsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`^s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!>e_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!?ds#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!?k_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!3`s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!@q[U!T&w!bOY!=UYZ1XZ]!=U]^1X^#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!Ec;=`<%l4`<%lO!=U!]!AnZU!T&rWOY!AgYZ4`Z]!Ag]^4`^r!Agrs!Bas#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!BfZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!CXs#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!C^ZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!4Ys#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!DUWU!TOY!AgYZ4`Z]!Ag]^4`^;'S!Ag;'S;=`!Dn;=`<%l4`<%lO!Ag!]!DsW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!Ag<%lO4`!]!E`P;=`<%l!Ag#o!EhW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!=U<%lO4`#o!FTP;=`<%l!=U#s!F_[U!T&w!bOY!+|YZ%TZ]!+|]^%T^#o!+|#o#p!GT#p#q!+|#q#r!GT#r;'S!+|;'S;=`!Mq;=`<%l8^<%lO!+|!a!G^]U!T&oS&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!H^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!IVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!I^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!5wsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!J^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!KVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!K^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!Agx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!L[WU!TOY!GTYZ8^Z]!GT]^8^^;'S!GT;'S;=`!Lt;=`<%l8^<%lO!GT!a!L{Y&oS&rWOr8^rs9Qsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`Q<%lO$TP;=`<%l$ei&w!b&oS&rW&l`&XsOr%Trs$@Ssw%Twx$C`x!Q%T!Q![$Q<%lO$Q<%lO$Q<%lO$Q<%lO$Q<%lO$CO[O]||-1}],tokenPrec:7500}),f=new D,W=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function n(O){return(r,o,a)=>{if(a)return!1;let e=r.node.getChild("VariableName");return e&&o(e,O),!0}}const LO={FunctionDefinition:n("function"),ClassDefinition:n("class"),ForStatement(O,r,o){if(o){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")r(a,"variable");else if(a.name=="in")break}},ImportStatement(O,r){var o,a;let{node:e}=O,Q=((o=e.firstChild)===null||o===void 0?void 0:o.name)=="from";for(let x=e.getChild("import");x;x=x.nextSibling)x.name=="VariableName"&&((a=x.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&r(x,Q?"variable":"namespace")},AssignStatement(O,r){for(let o=O.node.firstChild;o;o=o.nextSibling)if(o.name=="VariableName")r(o,"variable");else if(o.name==":"||o.name=="AssignOp")break},ParamList(O,r){for(let o=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!o||!/\*|AssignOp/.test(o.name))&&r(a,"variable"),o=a},CapturePattern:n("variable"),AsPattern:n("variable"),__proto__:null};function V(O,r){let o=f.get(r);if(o)return o;let a=[],e=!0;function Q(x,s){let h=O.sliceString(x.from,x.to);a.push({label:h,type:s})}return r.cursor(N.IncludeAnonymous).iterate(x=>{if(x.name){let s=LO[x.name];if(s&&s(x,Q,e)||!e&&W.has(x.name))return!1;e=!1}else if(x.to-x.from>8192){for(let s of V(O,x.node))a.push(s);return!1}}),f.set(r,a),a}const b=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,g=["String","FormatString","Comment","PropertyName"];function HO(O){let r=_(O.state).resolveInner(O.pos,-1);if(g.indexOf(r.name)>-1)return null;let o=r.name=="VariableName"||r.to-r.from<20&&b.test(O.state.sliceDoc(r.from,r.to));if(!o&&!O.explicit)return null;let a=[];for(let e=r;e;e=e.parent)W.has(e.name)&&(a=a.concat(V(O.state.doc,e)));return{options:a,from:o?r.from:O.pos,validFor:b}}const JO=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),BO=[S("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),S("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),S("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),S("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),S(`if \${}: - -`,{label:"if",detail:"block",type:"keyword"}),S("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),S("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),S("import ${module}",{label:"import",detail:"statement",type:"keyword"}),S("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],MO=U(g,C(JO.concat(BO)));function v(O,r){let o=O.baseIndentFor(r),a=O.lineAt(O.pos,-1),e=a.from+a.text.length;return/^\s*($|#)/.test(a.text)&&O.node.too?null:o+O.unit}const X=z.define({name:"python",parser:DO.configure({props:[j.add({Body:O=>{var r;return(r=v(O,O.node))!==null&&r!==void 0?r:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except |finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":$({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":$({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":$({closing:"]"}),"String FormatString":()=>null,Script:O=>{if(O.pos+/\s*/.exec(O.textAfter)[0].length>=O.node.to){let r=null;for(let o=O.node,a=o.to;o=o.lastChild,!(!o||o.to!=a);)o.type.name=="Body"&&(r=o);if(r){let o=v(O,r);if(o!=null)return o}}return O.continue()}}),A.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":F,Body:(O,r)=>({from:O.from+1,to:O.to-(O.to==r.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function ar(){return new I(X,[X.data.of({autocomplete:HO}),X.data.of({autocomplete:MO})])}export{MO as globalCompletion,HO as localCompletionSource,ar as python,X as pythonLanguage}; diff --git a/public/admin/assets/index-50e1d06f.js b/public/admin/assets/index-50e1d06f.js deleted file mode 100644 index 4c785c5..0000000 --- a/public/admin/assets/index-50e1d06f.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{m as W,n as u,L as T,s as b,t,i as y,j as v,f as k,a as _,b as R,g as Y,o as w,p as U,E as d}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const G=1,X=2,S=3,z=180,j=4,h=181,Z=5,E=182;function x(O){return O>=65&&O<=90||O>=97&&O<=122}const V=new d(O=>{let a=O.pos;for(;;){let{next:e}=O;if(e<0)break;if(e==123){let r=O.peek(1);if(r==123){if(O.pos>a)break;O.acceptToken(G,2);return}else if(r==37){if(O.pos>a)break;let $=2,i=2;for(;;){let n=O.peek($);if(n==32||n==10)++$;else if(n==35)for(++$;;){let Q=O.peek($);if(Q<0||Q==10)break;$++}else if(n==45&&i==2)i=++$;else{let Q=n==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(Q?S:X,i);return}}}}if(O.advance(),e==10)break}O.pos>a&&O.acceptToken(z)});function f(O,a,e){return new d(r=>{let $=r.pos;for(;;){let{next:i}=r;if(i==123&&r.peek(1)==37){let n=2;for(;;n++){let l=r.peek(n);if(l!=32&&l!=10)break}let Q="";for(;;n++){let l=r.peek(n);if(!x(l))break;Q+=String.fromCharCode(l)}if(Q==O){if(r.pos>$)break;r.acceptToken(e,2);break}}else if(i<0)break;if(r.advance(),i==10)break}r.pos>$&&r.acceptToken(a)})}const F=f("endcomment",E,Z),D=f("endraw",h,j),N={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:312,assign:316,capture:322,endcapture:326,increment:330,decrement:334},C={__proto__:null,if:82,endif:86,elsif:90,else:94,unless:100,endunless:104,case:110,endcase:114,when:118,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},I=R.deserialize({version:14,states:"GYQYOPOOOOOP'#F{'#F{OeOXO'#CdOsQWO'#CfO!bQ`O'#DQO#{OPO'#DTO$ZOPO'#D^O$iOPO'#DcO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G`'#G`OOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQO'#Cg'#CgO&`QpO,59QO&gQpO'#G^OsQWO'#CsOOQO'#G^'#G^OOOP,59l,59lO)PQWO,59lOsQWO,59pOsQWO,59tO)WQWO,59vOsQWO,59yOsQWO,5:OOsQWO,5:SO!]QWO,5:WO!]QWO,5:`O)]QWO,5:dO)bQWO,5:fO)gQWO,5:hO)lQWO,5:kO)qQWO,5:qOsQWO,5:vOsQWO,5:xOsQWO,5;OOsQWO,5;QOsQWO,5;TOsQWO,5;XOsQWO,5;ZO+QQWO,5;]O+XOPO'#CdOOOP,59o,59oO#{OPO,59oO+gQ`O'#DWOOOP,59x,59xO$ZOPO,59xO+lQ`O'#DaOOOP,59},59}O$iOPO,59}O+qQ`O'#DfOOOP,5:V,5:VO$wOPO,5:VO+vQ`O'#DqOOOP,5:_,5:_O%VOPO,5:_O+{Q`O'#DvOOOS'#GQ'#GQO,QOSO'#ERO,YOSO,5:jOOOQ'#GR'#GRO,_OQO'#EXO,gOQO,5:pOOOP,5;S,5;SO%oOPO,5;SO,lQ`O'#EkOOOP-E9x-E9xO,qQ!bO,59SOsQWO,59VOsQWO,59VO,vQWO'#C|OOQO'#F|'#F|O,{QWO1G.lOOOP1G.l1G.lOsQWO,59VOsQWO,59ZO-TQpO,59_O-fQpO1G/WOOOP1G/W1G/WO-wQpO1G/[O.YQpO1G/`OOOP1G/b1G/bO.kQpO1G/eO.|QpO1G/jO/pQpO1G/nO/wQWO1G/rO/|QWO1G/zOOOP1G0O1G0OOOOP1G0Q1G0QO0RQWO1G0SOOOS1G0V1G0VOOOQ1G0]1G0]O0^QpO1G0bO0eQpO1G0dO1PQpO1G0jO1bQpO1G0lO1sQpO1G0oO2UQpO1G0sO2gQpO1G0uO2xQWO'#EsO3PQWO'#ExO3WQWO'#FRO3_QWO'#FYO3fQWO'#F^O3mQWO'#FqOOQO'#Ga'#GaOOQO'#GT'#GTO3tQWO1G0wOsQWO'#EtOsQWO'#EyOsQWO'#E}OOQO'#FP'#FPOsQWO'#FSOsQWO'#FWO!]QWO'#FZO!]QWO'#F_OOQO'#Fc'#FcOOQO'#Fe'#FeO3{QWO'#FfOsQWO'#FhOsQWO'#FjOsQWO'#FmOsQWO'#FoOsQWO'#FrOsQWO'#FvOsQWO'#FxOOOP1G0w1G0wOOOP1G/Z1G/ZO4QQWO,59rOOOP1G/d1G/dO4VQWO,59{OOOP1G/i1G/iO4[QWO,5:QOOOP1G/q1G/qO4aQWO,5:]OOOP1G/y1G/yO4fQWO,5:bOOOS-E:O-E:OOOOP1G0U1G0UO4kQ`O'#ESOOOQ-E:P-E:POOOP1G0[1G0[O4pQ`O'#EYOOOP1G0n1G0nO4uQWO,5;VOOQO1G.n1G.nOOQO1G.q1G.qO7ZQpO1G.qOOQO'#DO'#DOO7eQWO,59hOOQO-E9z-E9zOOOP7+$W7+$WO9_QpO1G.qO9iQpO1G.uOsQWO1G.yOOOP7+$r7+$rOOOP7+$v7+$vOOOP7+$z7+$zOOOP7+%P7+%POOOP7+%U7+%UOsQWO'#F}OkQpO,5;eO@UQpO,5;iOBRQpO,5;nOClQpO,5;rOE_QWO,5;uOEdQWO,5;yOEiQWO,5dOOOPAN>dAN>dO!5aQWOAN>lOOOPAN>lAN>lO!5iQWOAN>tOOOPAN>tAN>tOsQWO1G0fO!]QWO1G0fO!5qQpO7+&{O!7QQpO7+'PO!8aQWO7+'WO!:TQWO,5N[O]||-1},{term:37,get:O=>C[O]||-1}],tokenPrec:0});function o(O,a){return O.split(" ").map(e=>({label:e,type:a}))}const m=o("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),P=o("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),q=o("empty forloop tablerowloop in with as contains","keyword"),L=o("first index index0 last length rindex","property"),A=o("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function B(O){var a;let{state:e,pos:r}=O,$=Y(e).resolveInner(r,-1).enterUnfinishedNodesBefore(r),i=((a=$.childBefore(r))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let n=O.matchBefore(/[\w\u00c0-\uffff]+$/);return n?{type:"expression",from:n.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function M(O,a,e,r){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="forloop")return $.length?[]:L;if(i.name=="tablerowloop")return $.length?[]:A;if(i.name=="VariableName"){$.unshift(O.sliceDoc(i.from,i.to));break}else if(i.name=="MemberExpression"){let n=i.getChild("PropertyName");n&&$.unshift(O.sliceDoc(n.from,n.to)),a=i}else return[]}return r?r($,O,e):[]}function H(O={}){let a=O.filters?O.filters.concat(m):m,e=O.tags?O.tags.concat(P):P,r=O.variables?O.variables.concat(q):q,{properties:$}=O;return i=>{var n;let Q=B(i);if(!Q)return null;let l=(n=Q.from)!==null&&n!==void 0?n:Q.node?Q.node.from:i.pos,s;return Q.type=="filter"?s=a:Q.type=="tag"?s=e:Q.type=="expression"?s=r:s=M(i.state,Q.target,i,$),s.length?{options:s,from:l,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const K=W.inputHandler.of((O,a,e,r)=>r!="%"||a!=e||O.state.doc.sliceString(a-1,e+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:u.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function c(O){return a=>{let e=O.test(a.textAfter);return a.lineIndent(a.node.from)+(e?0:a.unit)}}const J=T.define({name:"liquid",parser:I.configure({props:[b({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":t.keyword,"empty forloop tablerowloop":t.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":t.controlKeyword,"assign capture endcapture":t.definitionKeyword,contains:t.operatorKeyword,"render include":t.moduleKeyword,VariableName:t.variableName,TagName:t.tagName,FilterName:t.function(t.variableName),PropertyName:t.propertyName,CompareOp:t.compareOperator,AssignOp:t.definitionOperator,LogicOp:t.logicOperator,NumberLiteral:t.number,StringLiteral:t.string,BooleanLiteral:t.bool,InlineComment:t.lineComment,CommentText:t.blockComment,"{% %} {{ }}":t.brace,"( )":t.paren,".":t.derefOperator,", .. : |":t.punctuation}),y.add({Tag:v({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":c(/^\s*(\{%-?\s*)?end\w/),IfDirective:c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:c(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),k.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,e=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:e.name=="EndTag"?e.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),p=w();function g(O){return J.configure({wrap:U(a=>a.type.isTop?{parser:O.parser,overlay:e=>e.name=="Text"||e.name=="RawText"}:null)},"liquid")}const OO=g(p.language);function rO(O={}){let a=O.base||p,e=a.language==p.language?OO:g(a.language);return new _(e,[a.support,e.data.of({autocomplete:H(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),K])}export{K as closePercentBrace,rO as liquid,H as liquidCompletionSource,OO as liquidLanguage}; diff --git a/public/admin/assets/index-54dfc9e4.js b/public/admin/assets/index-54dfc9e4.js deleted file mode 100644 index 78bb50c..0000000 --- a/public/admin/assets/index-54dfc9e4.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{E as a,s as o,t as Q,b as Z,L as _,i as q,c as r,f as l,k as w,a as V}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=o({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=Z.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFcQWO'#F|OOQO'#IO'#IOOGrQWO'#GhOOQV'#Im'#ImOOQV'#Il'#IlOOQV'#Hj'#HjQGyQ_OOOKeQ_O'#DUOKlQYO'#CqOOQP'#I_'#I_OOQV'#Hg'#HgQ]Q_OOOLuQWO'#I`ONsQYO'#DXO!!eQWO'#JuO!!lQWO'#JuO!!vQ_O'#DfO!%]Q_O'#E}O!(sQ_O'#FWO!,ZQWO'#FZO!.^QXO'#FbO!.cQ_O'#EeO!!vQ_O'#FmO!0uQWO'#FoO!0zQWO'#FoO!1PQ^O'#FqO!1WQWO'#JuO!1_QWO'#FtO!1dQWO'#FxO!2WQWO'#JjO!2_QWO'#GOO!2_QWO'#G`O!2_QWO'#GbO!2_QWO'#GsOOQO'#Ju'#JuO!2dQWO'#GhO!2lQYO'#GpO!2_QWO'#GqO!3uQ^O'#GtO!3|QWO'#GuO!4hQWO'#HOP!4sOpO'#CcPOOO)CC})CC}OOOO'#Hi'#HiO!5OO`O,59iOOQV,59i,59iO!5ZQYO,5?aOOQO-E;i-E;iOOQO,5:[,5:[OOQP,59Z,59ZO)xQWO,5:[O)xQWO,5:[O!5oQWO,5?kO!5zQYO,5;qO!6PQYO,5;TO!6hQWO,59QO!7kQXO'#CnO!7xQXO'#I`O!9SQWO'#CoO,^QWO'#EiOOQV-E;n-E;nO!9eQWO'#FsOOQV,5WQWO,5:fOOQP,5:h,5:hO!1PQ^O,5:hO!1PQ^O,5:mO$>]QYO,5gQ_O'#HsO$>tQXO,5@QOOQV1G1i1G1iOOQP,5:e,5:eO$>|QXO,5]QYO,5=vO$LRQWO'#KRO$L^QWO,5=xOOQR,5=y,5=yO$LcQWO,5=zO$>]QYO,5>PO$>]QYO,5>POOQO1G.w1G.wO$>]QYO1G.wO$LnQYO,5=pO$LvQZO,59^OOQR,59^,59^O$>]QYO,5=wO% YQZO,5=}OOQR,5=},5=}O%#lQWO1G/_O!6PQYO1G/_O#FYQYO1G2vO%#qQWO1G2vO%$PQYO1G2vOOQV1G/i1G/iO%%YQWO,5:SO%%bQ_O1G/lO%*kQWO1G1^O%+RQWO1G1hOOQO1G1h1G1hO$>]QYO1G1hO%+iQ^O'#EgOOQV1G0k1G0kOOQV1G1s1G1sO!!vQ_O1G1sO!0zQWO1G1uO!1PQ^O1G1wO!.cQ_O1G1wOOQP,5:j,5:jO$>]QYO1G/^OOQO'#Cn'#CnO%+vQWO1G1zOOQV1G2O1G2OO%,OQWO'#CnO%,WQWO1G3TO%,]QWO1G3TO%,bQYO'#GQO%,sQWO'#G]O%-UQYO'#G_O%.hQYO'#GXOOQV1G2U1G2UO%/wQWO1G2UO%/|QWO1G2UO$ARQWO1G2UOOQV1G2f1G2fO%/wQWO1G2fO#CpQWO1G2fO%0UQWO'#GdOOQV1G2h1G2hO%0gQWO1G2hO#C{QWO1G2hO%0lQYO'#GSO$>]QYO1G2lO$AdQWO1G2lOOQV1G2y1G2yO%1xQWO1G2yO%3hQ^O'#GkO%3rQWO1G2nO#DfQWO1G2nO%4QQYO,5]QYO1G2vOOQV1G2w1G2wO%5tQWO1G2wO%5yQWO1G2wO#HXQWO1G2wOOQV1G2z1G2zO.YQ_O1G2zO$>]QYO1G2zO%6RQWO1G2zOOQO,5>l,5>lOOQO-E]QYO1G3UPOOO-E;d-E;dPOOO1G.i1G.iOOQO7+*g7+*gO%7VQYO'#IcO%7nQYO'#IfO%7yQYO'#IfO%8RQYO'#IfO%8^QYO,59eOOQO7+%b7+%bOOQP7+$a7+$aO%8cQ!fO'#JTOOQS'#EX'#EXOOQS'#EY'#EYOOQS'#EZ'#EZOOQS'#JT'#JTO%;UQWO'#EWOOQS'#E`'#E`OOQS'#JR'#JROOQS'#Hn'#HnO%;ZQ!fO,5:oOOQV,5:o,5:oOOQV'#JQ'#JQO%;bQ!fO,5:{OOQV,5:{,5:{O%;iQ!fO,5:|OOQV,5:|,5:|OOQV7+'e7+'eOOQV7+&Z7+&ZO%;pQ!fO,59TOOQO,59T,59TO%>YQWO7+$WO%>_QWO1G1yOOQV1G1y1G1yO!9SQWO1G.uO%>dQWO,5?}O%>nQ_O'#HqO%@|QWO,5?}OOQO1G1X1G1XOOQO7+&}7+&}O%AUQWO,5>^OOQO-E;p-E;pO%AcQWO7+'OO.YQ_O7+'OOOQO7+'O7+'OOOQO7+'P7+'PO%AjQWO7+'POOQO7+'W7+'WOOQP1G0V1G0VO%ArQXO1G/tO!M{QWO1G/tO%BsQXO1G0RO%CkQ^O'#HlO%C{QWO,5?eOOQP1G/u1G/uO%DWQWO1G/uO%D]QWO'#D_OOQO'#Dt'#DtO%DhQWO'#DtO%DmQWO'#I{OOQO'#Iz'#IzO%DuQWO,5:_O%DzQWO'#DtO%EPQWO'#DtOOQP1G0Q1G0QOOQP1G0S1G0SOOQP1G0X1G0XO%EXQXO1G1jO%EdQXO'#FeOOQP,5>_,5>_O!1PQ^O'#FeOOQP-E;q-E;qO$>]QYO1G1jOOQO7+'S7+'SOOQO,5]QYO7+$xOOQV7+'j7+'jO%FsQWO7+(oO%FxQWO7+(oOOQV7+'p7+'pO%/wQWO7+'pO%F}QWO7+'pO%GVQWO7+'pOOQV7+(Q7+(QO%/wQWO7+(QO#CpQWO7+(QOOQV7+(S7+(SO%0gQWO7+(SO#C{QWO7+(SO$>]QYO7+(WO%GeQWO7+(WO#HUQYO7+(cO%GjQWO7+(YO#DfQWO7+(YOOQV7+(c7+(cO%5tQWO7+(cO%5yQWO7+(cO#HXQWO7+(cOOQV7+(g7+(gO$>]QYO7+(pO%GxQWO7+(pO!1dQWO7+(pOOQV7+$v7+$vO%G}QWO7+$vO%HSQZO1G3ZO%JfQWO1G4jOOQO1G4j1G4jOOQR1G.}1G.}O#.WQWO1G.}O%JkQWO'#KQOOQO'#HW'#HWO%J|QWO'#HXO%KXQWO'#KQOOQO'#KP'#KPO%KaQWO,5=qO%KfQYO'#H[O%LrQWO'#GmO%L}QYO'#CtO%MXQWO'#GmO$>]QYO1G3ZOOQR1G3g1G3gO#7aQWO1G3ZO%M^QZO1G3bO$>]QYO1G3bO& mQYO'#IVO& }QWO,5@mOOQR1G3d1G3dOOQR1G3f1G3fO.YQ_O1G3fOOQR1G3k1G3kO&!VQYO7+$cO&!_QYO'#KOOOQQ'#J}'#J}O&!gQYO1G3[O&!lQZO1G3cOOQQ7+$y7+$yO&${QWO7+$yO&%QQWO7+(bOOQV7+(b7+(bO%5tQWO7+(bO$>]QYO7+(bO#FYQYO7+(bO&%YQWO7+(bO!.cQ_O1G/nO&%hQWO7+%WO$?[QWO7+'SO&%pQWO'#EhO&%{Q^O'#EhOOQU'#Ho'#HoO&%{Q^O,5;ROOQV,5;R,5;RO&&VQWO,5;RO&&[Q^O,5;RO!0zQWO7+'_OOQV7+'a7+'aO&&iQWO7+'cO&&qQWO7+'cO&&xQWO7+$xO&'TQ!fO7+'fO&'[Q!fO7+'fOOQV7+(o7+(oO!1dQWO7+(oO&'cQYO,5]QYO'#JrOOQO'#Jq'#JqO&*YQWO,5]QYO'#GUO&,SQYO'#JkOOQQ,5]QYO7+(YO&0SQYO'#HxO&0hQYO1G2WOOQQ1G2W1G2WOOQQ,5]QYO,5]QYO7+(fO&1dQWO'#IRO&1nQWO,5@hOOQO1G3Q1G3QOOQO1G2}1G2}OOQO1G3P1G3POOQO1G3R1G3ROOQO1G3S1G3SOOQO1G3O1G3OO&1vQWO7+(pO$>]QYO,59fO&2RQ^O'#ISO&2xQYO,5?QOOQR1G/P1G/PO&3QQ!bO,5:pO&3VQ!fO,5:rOOQS-E;l-E;lOOQV1G0Z1G0ZOOQV1G0g1G0gOOQV1G0h1G0hO&3^QWO'#JTOOQO1G.o1G.oOOQV<]O&3qQWO,5>]OOQO-E;o-E;oOOQO<WOOQO-E;j-E;jOOQP7+%a7+%aO!1PQ^O,5:`O&5cQWO'#HmO&5wQWO,5?gOOQP1G/y1G/yOOQO,5:`,5:`O&6PQWO,5:`O%DzQWO,5:`O$>]QYO,5`,5>`OOQO-E;r-E;rOOQV7+'l7+'lO&6yQWO<]QYO<]QYO<]QYO<]QYO7+(uOOQO7+*U7+*UOOQR7+$i7+$iO&8cQWO,5@lOOQO'#Gm'#GmO&8kQWO'#GmO&8vQYO'#IUO&8cQWO,5@lOOQR1G3]1G3]O&:cQYO,5=vO&;rQYO,5=XO&;|QWO,5=XOOQO,5=X,5=XOOQR7+(u7+(uO&eQZO7+(|O&@tQWO,5>qOOQO-E]QYO<]QYO,5]QYO,5@^O&D^QYO'#H|O&EsQWO,5@^OOQO1G2e1G2eO%,nQWO,5]QYO,5PO&I]QYO,5@VOOQV<]QYO,5=WO&KuQWO,5@cO&K}QWO,5@cO&MvQ^O'#IPO&KuQWO,5@cOOQO1G2q1G2qO&NTQWO,5=WO&N]QWO<oO&NvQYO,5>dO' UQYO,5>dOOQQ,5>d,5>dOOQQ-E;v-E;vOOQQ7+'r7+'rO' aQYO1G2]O$>]QYO1G2^OOQV<m,5>mOOQO-EnOOQQ,5>n,5>nO'!fQYO,5>nOOQQ-EX,5>XOOQO-E;k-E;kO!1PQ^O1G/zOOQO1G/z1G/zO'%oQWO1G/zO'%tQXO1G1kO$>]QYO1G1kO'&PQWO7+'[OOQVANA`ANA`O'&ZQWOANA`O$>]QYOANA`O'&cQWOANA`OOQVAN>OAN>OO.YQ_OAN>OO'&qQWOANAuOOQVAN@vAN@vO'&vQWOAN@vOOQVANAWANAWOOQVANAYANAYOOQVANA^ANA^O'&{QWOANA^OOQVANAiANAiO%5tQWOANAiO%5yQWOANAiO''TQWOANA`OOQVANAvANAvO.YQ_OANAvO''cQWOANAvO$>]QYOANAvOOQR<pOOQO'#HY'#HYO''vQWO'#HZOOQO,5>p,5>pOOQO-E]QYO<o,5>oOOQQ-E]QYOANAhO'(bQWO1G1rO')UQ^O1G0nO.YQ_O1G0nO'*zQWO,5;UO'+RQWO1G0nP'+WQWO'#ERP&%{Q^O'#HpOOQV7+&X7+&XO'+cQWO7+&XO&&qQWOAN@iO'+hQWOAN>OO!5oQWO,5a,5>aO'+oQWOAN@lO'+tQWOAN@lOOQS-E;s-E;sOOQVAN@lAN@lO'+|QWOAN@lOOQVANAuANAuO',UQWO1G5vO',^QWO1G2dO$>]QYO1G2dO&'|QWO,5>gOOQO,5>g,5>gOOQO-E;y-E;yO',iQWO1G5xO',qQWO1G5xO&(nQYO,5>hO',|QWO,5>hO$>]QYO,5>hOOQO-E;z-E;zO'-XQWO'#JnOOQO1G2a1G2aOOQO,5>f,5>fOOQO-E;x-E;xO&'cQYO,5iOOQO,5>i,5>iOOQO-E;{-E;{OOQQ,5>c,5>cOOQQ-E;u-E;uO'.pQWO1G2sO'/QQWO1G2rO'/]QWO1G5}O'/eQ^O,5>kOOQO'#Go'#GoOOQO,5>k,5>kO'/lQWO,5>kOOQO-E;}-E;}O$>]QYO1G2rO'/zQYO7+'xO'0VQWOANAlOOQVANAlANAlO.YQ_OANAlO'0^QWOANAvOOQS7+%x7+%xO'0eQWO7+%xO'0pQ!fO7+%xO'0}QWO7+%fO!1PQ^O7+%fO'1YQXO7+'VOOQVG26zG26zO'1eQWOG26zO'1sQWOG26zO$>]QYOG26zO'1{QWOG23jOOQVG27aG27aOOQVG26bG26bOOQVG26xG26xOOQVG27TG27TO%5tQWOG27TO'2SQWOG27bOOQVG27bG27bO.YQ_OG27bO'2ZQWOG27bOOQO1G4[1G4[OOQO7+(_7+(_OOQRANA{ANA{OOQVG27SG27SO%5tQWOG27SO&0uQWOG27SO'2fQ^O7+&YO'4PQWO7+'^O'4sQ^O7+&YO.YQ_O7+&YP.YQ_O,5;SP'6PQWO,5;SP'6UQWO,5;SOOQV<]QYO1G4SO%,nQWO'#HyO'7UQWO,5@YO'7dQWO7+(VO.YQ_O7+(VOOQO1G4T1G4TOOQO1G4V1G4VO'7nQWO1G4VO'7|QWO7+(^OOQVG27WG27WO'8XQWOG27WOOQS<e,5>eOOQO-E;w-E;wO'?rQWO<wD_DpPDvHQPPPPPPK`P! P! _PPPPP!!VP!$oP!$oPP!&oP!(rP!(w!)n!*f!*f!*f!(w!+]P!(w!.Q!.TPP!.ZP!(w!(w!(w!(wP!(w!(wP!(w!(w!.y!/dP!/dJ}J}J}PPPP!/d!.y!/sPP!$oP!0^!0a!0g!1h!1t!3t!3t!5r!7t!1t!1t!9p!;_!=O!>k!@U!Am!CS!De!1t!1tP!1tP!1t!1t!Et!1tP!Ge!1t!1tP!Ie!1tP!1t!7t!7t!1t!7t!1t!Kl!Mt!Mw!7t!1t!Mz!M}!M}!M}!NR!$oP!$oP!$oP! P! PP!N]! P! PP!Ni# }! PP! PP#!^##c##k#$Z#$_#$e#$e#$mP#&s#&s#&y#'o#'{! PP! PP#(]#(l! PP! PPP#(x#)W#)d#)|#)^! P! PP! P! P! PP#*S#*S#*Y#*`#*S#*S! P! PP#*m#*v#+Q#+Q#,x#.l#.x#.x#.{#.{5a5a5a5a5a5a5a5aP5a#/O#/U#/p#1{#2R#2b#6^#6d#6j#6|#7W#8w#9R#9b#9h#9n#9x#:S#:Y#:g#:m#:s#:}#;]#;g#=u#>R#>`#>f#>n#>u#?PPPPPPPP#?V#BaP#F^#Jx#Ls#Nr$&^P$&aPPP$)_$)h$)z$/U$1d$1m$3fP!(w$4`$7r$:i$>T$>^$>c$>fPPP$>i$A`$A|P$BaPPPPPPPPPP$BvP$EU$EX$E[$Eb$Ee$Eh$Ek$En$Et$HO$HR$HU$HX$H[$H_$Hb$He$Hh$Hk$Hn$Jt$Jw$Jz#*S$KW$K^$Ka$Kd$Kh$Kl$Ko$KrQ!tPT'V!s'Wi!SOlm!P!T$T$W$y%b)U*f/gQ'i#QR,n'l(OSOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%X%_%b&U&Y&[&b&u&z&|'P'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n+z,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1P1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:gS(z$v-oQ*p&eQ*t&hQ-k(yQ-y)ZW0Z+Q0Y4Z7UR4Y0[&w!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#r]Ofgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hb#[b#Q$y'l(b)S)U*Z-t!h$bo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m$b%k!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g!W:y!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:|%n$_%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g$e%l!Q!n$O$u%n%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g'hZOY[fgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r%_%b%i%j&U&Y&[&b&u'a'}(W(Y(d(e(f(j(o(p(r(|)i)p)q*f*i*k*l+Z+n,s,z-R-T-g-m.i.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:x$^%l!Q!n$O$u%n%o%p%q%y%{&P&p&r(q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ&j!hQ&k!iQ&l!jQ&m!kQ&s!oQ)[%QQ)]%RQ)^%SQ)_%TQ)b%WQ+`&oS,R']1ZQ.W)`S/r*u4TR4n0s+yTOY[bfgilmop!O!P!Q!T!Y!Z![!_!`!c!n!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$O$T$W$`$a$e$g$h$q$r$u$y%X%_%b%i%j%n%o%p%q%y%{&P&U&Y&[&b&o&p&r&u&z&|'P']'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(q(r(|)S)U)i)p)q)s)x)y*O*P*R*V*Z*[*^*e*f*i*k*l*n*w*x+U+V+Z+h+n+o+z+},q,s,z-R-T-g-i-m-t-v.U.`.i.p.t.x.y.}/Z/[/^/b/d/g/{/}0`0e0g0m0r0w0}1O1P1Y1Z1h1r1y1|2a2h2j2m2s2v3V3_3a3f3h3k3u3{3|4R4U4W4_4c4e4h4t4v4|5[5`5d5g5t5v6R6Y6]6a6p6v6x7S7^7c7g7m7r7{8W8X8g8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:xQ'[!xQ'h#PQ)l%gU)r%m*T*WR.f)kQ,T']R5P1Z#t%s!Q!n$O$u%p%q&P&p&r(q)x)y*O*R*V*[*^*e*n*w+V+h+o+}-i-v.U.`.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2v3V3u3{3|4U4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)x%oQ+_&oQ,U']n,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7kS.q)s2sQ/O*PQ/Q*SQ/q*uS0Q*x4RQ0a+U[0o+Z.j0g4h5y7^Q2v.pS4d0e2rQ4m0sQ5Q1ZQ6T3RQ6z4PQ7O4TQ7X4_R9Y8h&jVOfgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u']'}(W(Y(b(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1Z1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fU&g!g%P%[o,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7k$nsOfgilm!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y'}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9z9{:O:P:Q:R:S:T:U:V:W:X:Y:eS$tp9xS&O!W#bS&Q!X#cQ&`!bQ*_&RQ*a&VS*d&[:fQ*h&^Q,T']Q-j(wQ/i*jQ0p+[S2f.X0qQ3]/_Q3^/`Q3g/hQ3i/kQ5P1ZU5b2R2g4lU7o5c5e5rQ8]6dS8u7p7qS9_8v8wR9i9`i{Ob!O!P!T$y%_%b)S)U)i-thxOb!O!P!T$y%_%b)S)U)i-tW/v*v/t3w6qQ/}*wW0[+Q0Y4Z7UQ3{/{Q6x3|R8g6v!h$do!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ&d!dQ&f!fQ&n!mW&x!q%X&|1PQ'S!rQ)X$}Q)Y%OQ)a%VU)d%Y'T'UQ*s&hS+s&z'PS-Y(k1sQ-u)WQ-x)ZS.a)e)fS0x+c/sQ1S+zQ1W+{S1v-_-`Q2k.bQ3s/pQ5]1xR5h2V${sOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$zsOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR3]/_V&T!Y!`*i!i$lo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!k$^o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!i$co!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&e^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR(l$fQ-[(kR5Y1sQ(S#|S({$v-oS-Z(k1sQ-l(yW/u*v/t3w6qS1w-_-`Q3v/vR5^1xQ'e#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,o'mk,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ'f#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,p'mR*g&]X/c*f/d/g3f!}aOb!O!P!T#z$v$y%_%b'}(y)S)U)i)s*f*v*w+Q+Z,s-o-t.j/b/d/g/t/{0Y0g1h2s3f3w3|4Z4h5y6a6q6v7U7^Q3`/aQ6_3bQ8Y6`R9V8Z${rOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#nfOfglmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!T9u!Y!_!`*i*l/^3h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#rfOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!X9u!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$srOfglmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#U#oh#d$P$Q$V$s%^&W&X'q't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b}:P&S&]/k3[6d:[:]:c:d:h:j:k:l:m:n:o:p:q:r:v:w:{#W#ph#d$P$Q$V$s%^&W&X'q'r't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b!P:Q&S&]/k3[6d:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{#S#qh#d$P$Q$V$s%^&W&X'q'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b{:R&S&]/k3[6d:[:]:c:d:h:k:l:m:n:o:p:q:r:v:w:{#Q#rh#d$P$Q$V$s%^&W&X'q'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9by:S&S&]/k3[6d:[:]:c:d:h:l:m:n:o:p:q:r:v:w:{#O#sh#d$P$Q$V$s%^&W&X'q'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bw:T&S&]/k3[6d:[:]:c:d:h:m:n:o:p:q:r:v:w:{!|#th#d$P$Q$V$s%^&W&X'q'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bu:U&S&]/k3[6d:[:]:c:d:h:n:o:p:q:r:v:w:{!x#vh#d$P$Q$V$s%^&W&X'q'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bq:W&S&]/k3[6d:[:]:c:d:h:p:q:r:v:w:{!v#wh#d$P$Q$V$s%^&W&X'q'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bo:X&S&]/k3[6d:[:]:c:d:h:q:r:v:w:{$]#{h#`#d$P$Q$V$s%^&S&W&X&]'q'r's't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n/k0z1i1l1}3P3[4w5V5a6^6d6e7R7e7h7s7y8j8q8{9[9b:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{${jOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$v!aOfgilmp!O!P!T!Y!Z!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ&Y![Q&Z!]R:e9{#rpOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hQ&[!^!W9x!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:f:zR$moR-f(rR$wqT(}$v-oQ/f*fS3d/d/gR6c3fQ3m/mQ3p/nQ6i3nR6l3qQ$zwQ)V${Q*q&fQ+f&qQ+i&sQ-w)YW.Z)b+j+k+lS/X*]+gW2b.W.[.].^U3W/Y/]0yU5o2c2d2eS6W3X3ZS7w5p5qS8Q6V6XQ8y7xS8}8R8SR9c9O^|O!O!P!T%_%b)iX)R$y)S)U-tQ&r!nQ*^&PQ*|&jQ+P&kQ+T&lQ+W&mQ+]&nQ+l&sQ-})[Q.Q)]Q.T)^Q.V)_Q.Y)aQ.^)bQ2S-uQ2e.WR4U0VU+a&o*u4TR4o0sQ+Y&mQ+k&sS.])b+l^0v+_+`/q/r4m4n7OS2d.W.^S4Q0R0SR5q2eS0R*x4RQ0a+UR7X4_U+d&o*u4TR4p0sQ*z&jQ+O&kQ+S&lQ+g&qQ+j&sS-{)[*|S.P)]+PS.S)^+TU.[)b+k+lQ/Y*]Q0X*{Q0q+[Q2X-|Q2Y-}Q2].QQ2_.TU2c.W.].^Q2g.XS3Z/]0yS5c2R4lQ5j2ZS5p2d2eQ6X3XS7q5e5rQ7x5qQ8R6VQ8v7pQ9O8SR9`8wQ0T*xR6|4RQ*y&jQ*}&kU-z)[*z*|U.O)]+O+PS2W-{-}S2[.P.QQ4X0ZQ5i2YQ5k2]R7T4YQ/w*vQ3t/tQ6r3wR8d6qQ*{&jS-|)[*|Q2Z-}Q4X0ZR7T4YQ+R&lU.R)^+S+TS2^.S.TR5l2_Q0]+QQ4V0YQ7V4ZR8l7UQ+[&nS.X)a+]S2R-u.YR5e2SQ0i+ZQ4f0gQ7`4hR8m7^Q.m)sQ0i+ZQ2p.jQ4f0gQ5|2sQ7`4hQ7}5yR8m7^Q0i+ZR4f0gX'O!q%X&|1PX&{!q%X&|1PW'O!q%X&|1PS+u&z'PR1U+z_|O!O!P!T%_%b)iQ%a!PS)h%_%bR.d)i$^%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ*U%yR*X%{$c%n!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gW)t%m%x*T*WQ.e)jR2{.vR.m)sR5|2sQ'W!sR,O'WQ!TOQ$TlQ$WmQ%b!P[%|!T$T$W%b)U/gQ)U$yR/g*f$b%i!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g[)n%i)p.i:`:t:xQ)p%jQ.i)qQ:`%nQ:t:aR:x:uQ!vUR'Y!vS!OO!TU%]!O%_)iQ%_!PR)i%b#rYOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hh!yY!|#U$`'a'n(d,q-R9s9|:gQ!|[b#Ub#Q$y'l(b)S)U*Z-t!h$`o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ'a!}Q'n#ZQ(d$aQ,q'oQ-R(e!W9s!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ9|9tR:g9}Q-U(gR1p-UQ1t-[R5Z1tQ,c'bQ,f'cQ,h'dW1`,c,f,h5UR5U1_Q/d*fS3c/d3fR3f/gfbO!O!P!T$y%_%b)S)U)i-tp#Wb'}(y.j/b/t/{0Y0g1h5y6a6q6v7U7^Q'}#zS(y$v-oQ.j)sW/b*f/d/g3fQ/t*vQ/{*wQ0Y+QQ0g+ZQ1h,sQ5y2sQ6q3wQ6v3|Q7U4ZR7^4hQ,t(OQ1g,rT1j,t1gS(X$Q([Q(^$VU,x(X(^,}R,}(`Q(s$mR-h(sQ-p)OR2P-pQ3n/mQ3q/nT6j3n3qQ)S$yS-r)S-tR-t)UQ4`0aR7Y4``0t+^+_+`+a+d/q/r7OR4q0tQ8i6zR9Z8iQ4S0TR6}4SQ3x/wQ6n3tT6s3x6nQ3}/|Q6t3zU6y3}6t8eR8e6uQ4[0]Q7Q4VT7W4[7QhzOb!O!P!T$y%_%b)S)U)i-tQ$|xW%Zz$|%f)v$b%f!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR)v%nS4i0i0nS7]4f4gT7b4i7]W&z!q%X&|1PS+r&z+zR+z'PQ1Q+wR4z1QU1[,S,T,UR5R1[S3S/Q7OR6U3SQ2t.mQ5x2pT5}2t5xQ.z)zR3O.z^_O!O!P!T%_%b)iY#Xb$y)S)U-t$l#_fgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!h$io!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'j#Q'lQ-P(bR/V*Z&v!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!{Y[#U#Z9s9tW&{!q%X&|1P['`!|!}'n'o9|9}S(c$`$aS+t&z'PU,X'a,q:gS-Q(d(eQ1T+zR1n-RS%t!Q&oQ&q!nQ(V$OQ(w$uS)w%o.pQ)z%pQ)}%qS*]&P&rQ+e&pQ,S']Q-d(qQ.l)sU.w)x)y2vS/O*O*PQ/P*RQ/T*VQ/W*[Q/]*^Q/`*eQ/l*nQ/|*wS0S*x4RQ0a+UQ0c+VQ0y+hQ0{+oQ1X+}Q1{-iQ2T-vQ2`.UQ2i.`Q2z.tQ2|.xQ2}.yQ3X/ZQ3Y/[S3z/{/}Q4^0`Q4l0rQ4s0wQ4x1OQ4}1YQ5O1ZQ5_1yQ5n2aQ5r2hQ5u2jQ5w2mQ5{2sQ6V3VQ6o3uQ6u3{Q6w3|Q7P4UQ7X4_Q7[4eQ7d4tQ7n5`Q7p5dQ7|5vQ8P6RQ8S6YQ8c6pS8f6v6xQ8o7cQ8w7rR9X8g$^%m!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)j%nQ*T%yR*W%{$y%h!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x'pWOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$x%g!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x_&y!q%X&z&|'P+z1PR,V']$zrOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!j$]o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ,T']R5P1Z_}O!O!P!T%_%b)i^|O!O!P!T%_%b)iQ#YbX)R$y)S)U-tbhO!O!T3_6]8W8X9U9hS#`f9uQ#dgQ$PiQ$QlQ$VmQ$spW%^!P%_%b)iU&S!Y!`*iQ&W!ZQ&X![Q&]!_Q'q#eQ'r#oS's#p:QQ't#qQ'u#rQ'v#sQ'w#tQ'x#uQ'y#vQ'z#wQ'{#xQ'|#yQ(O#zQ(U#}Q([$TQ(`$WQ*b&YQ*c&[Q,r'}Q,w(WQ,y(YQ-n(|Q/k*lQ0z+nQ1i,sQ1l,zQ1}-mQ3P.}Q3[/^Q4w0}Q5V1hQ5a1|Q6^3aQ6d3hQ6e3kQ7R4WQ7e4vQ7h4|Q7s5gQ7y5tQ8j7SQ8q7gQ8{7{Q9[8kQ9b8|Q:[9wQ:]9xQ:c9zQ:d9{Q:h:OQ:i:PQ:j:RQ:k:SQ:l:TQ:m:UQ:n:VQ:o:WQ:p:XQ:q:YQ:r:ZQ:v:eQ:w:fR:{9v^tO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6[3_Q8V6]Q9R8WQ9T8XQ9g9UR9m9hQ&V!YQ&^!`R/h*iQ$joQ&a!cQ&t!pU(g$e$g(jS(n$h0eQ(u$qQ(v$rQ*`&UQ*m&bQ+p&uQ-S(fS-b(o4cQ-c(pQ-e(rW/a*f/d/g3fQ/j*kW0f+Z0g4h7^Q1o-TQ1z-gQ3b/bQ4k0mQ5X1rQ7l5[Q8Z6aR8t7m!h$_o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mR-P(b'qXOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$zqOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$fo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&d^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!zY[$`$a9s9t['_!|!}(d(e9|9}W)o%i%j:`:aU,W'a-R:gW.h)p)q:t:uT2o.i:xQ(i$eQ(m$gR-W(jV(h$e$g(jR-^(kR-](k$znOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$ko!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'g#O'pj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S'{UOz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`S(bUOz(t{!P(t!P!Q(_!Q;'S(t;'S;=`*a<%lO(tS(wVOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)eV'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)}UOz(tz{)z{!P(t!Q;'S(t;'S;=`*a<%lO(tS*dP;=`<%l(tS*jP;=`<%l)^S*pP;=`<%l'`S*vP;=`<%l&[S+OO'PSU+T]'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U,R]'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU-P]'_QOY+|YZ-xZr+|rs'`sz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U-}V'_QOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[Q.iV'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.dQ/TO'_QQ/WP;=`<%l.dU/`]'_QOY0XYZ3uZr0Xrs(tsz0Xz{.d{!P0X!P!Q/Z!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU0^]'_QOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU1`]'_Q'PS'OSOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU2bV'_Q'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U2|]'_QOY0XYZ3uZr0Xrs(tsz0Xz{2w{!P0X!P!Q.d!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU3zV'_QOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U4dP;=`<%l0XU4jP;=`<%l1VU4pP;=`<%l+|U4vP;=`<%l$nU5QV'_Q'PSOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_5p]'_Q&|X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_6rV'_Q&|X'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_7b_ZX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`8a!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_8j]#PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_9lV']Q'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_:[]'QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_;^i'_Q'vW'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_=Uj'_Q_X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![<{![!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_?P_(TP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_@X]#OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_AZa!qX'_Q'OSOY$nYZ%nZr$nrs&[sv$nvwB`wz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Bi]'}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Cik'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q!cE^!c!}Lp!}#OE^#O#P!!l#P#RE^#R#SLp#S#TE^#T#oLp#o${E^${$|Lp$|4wE^4w5bLp5b5iE^5i6SLp6S;'SE^;'S;=`!*}<%lOE^_Ee_'_Q'OSOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Fm]'_Q'OSsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_GmX'_Q'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]HaV'OSsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]H{X'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_Im_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Js]'_QsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Kq_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Lyl'_Q'OS'ZXOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n_Nzj'_Q'OS'ZXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n]!!qZ'OSOzHvz{!#d{!PHv!P!Q!$n!Q#iHv#i#j!%Z#j#lHv#l#m!'V#m;'SHv;'S;=`!*w<%lOHv]!#gXOw'`wx!$Sxz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`]!$XVsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]!$qWOw'`wx!$Sxz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`]!%`^'OSOz&[z{&v{!P&[!P!Q'x!Q![!&[![!c&[!c!i!&[!i#T&[#T#Z!&[#Z#o&[#o#p!({#p;'S&[;'S;=`*s<%lO&[]!&a['OSOz&[z{&v{!P&[!P!Q'x!Q![!'V![!c&[!c!i!'V!i#T&[#T#Z!'V#Z;'S&[;'S;=`*s<%lO&[]!'[['OSOz&[z{&v{!P&[!P!Q'x!Q![!(Q![!c&[!c!i!(Q!i#T&[#T#Z!(Q#Z;'S&[;'S;=`*s<%lO&[]!(V['OSOz&[z{&v{!P&[!P!Q'x!Q![Hv![!c&[!c!iHv!i#T&[#T#ZHv#Z;'S&[;'S;=`*s<%lO&[]!)Q['OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z;'S&[;'S;=`*s<%lO&[]!){^'OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z#q&[#q#rHv#r;'S&[;'S;=`*s<%lO&[]!*zP;=`<%lHv_!+QP;=`<%lE^_!+^]}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!,`]!PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!-`_(QX'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!.f]#OX'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!/h_(PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!0p]!eX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!1r`'gX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`!a!2t!a#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!2}]#QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!4P^(OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!4{!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!5U`!lX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!6W!P!Q,z!Q!_$n!_!`!7Y!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!6a]!tX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nV!7c]'qP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!8c_'_Q'xXOY+|YZ-xZr+|rs'`sz+|z{!9b{!P+|!P!Q!:O!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!9iV&}]'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_!:V]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!Aq{!P!;O!P!Q!:O!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;O_!;V]'_QUXOY!jYZ(tZz!>jz{!=x{!P!>j!P!Q!?|!Q;'S!>j;'S;=`!@e<%lO!>j]!>oXUXOY!=SYZ)^Zz!=Sz{!=x{!P!=S!P!Q!?[!Q;'S!=S;'S;=`!@k<%lO!=S]!?aXUXOY!>jYZ(tZz!>jz{!?|{!P!>j!P!Q!?[!Q;'S!>j;'S;=`!@e<%lO!>jX!@RSUXOY!?|Z;'S!?|;'S;=`!@_<%lO!?|X!@bP;=`<%l!?|]!@hP;=`<%l!>j]!@nP;=`<%l!=S_!@x]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!@q{!P!;O!P!Q!Aq!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;OZ!AxX'_QUXOY!AqYZ/OZr!Aqrs!?|s#O!Aq#O#P!?|#P;'S!Aq;'S;=`!Be<%lO!AqZ!BhP;=`<%l!Aq_!BnP;=`<%l!;O_!BtP;=`<%l!o![!c&[!c!i#>o!i#T&[#T#Z#>o#Z#o&[#o#p#A`#p;'S&[;'S;=`*s<%lO&[U#>t['OSOz&[z{&v{!P&[!P!Q'x!Q![#?j![!c&[!c!i#?j!i#T&[#T#Z#?j#Z;'S&[;'S;=`*s<%lO&[U#?o['OSOz&[z{&v{!P&[!P!Q'x!Q![#@e![!c&[!c!i#@e!i#T&[#T#Z#@e#Z;'S&[;'S;=`*s<%lO&[U#@j['OSOz&[z{&v{!P&[!P!Q'x!Q![#;}![!c&[!c!i#;}!i#T&[#T#Z#;}#Z;'S&[;'S;=`*s<%lO&[U#Ae['OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z;'S&[;'S;=`*s<%lO&[U#B`^'OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z#q&[#q#r#;}#r;'S&[;'S;=`*s<%lO&[U#C_P;=`<%l#;}_#Ck]XX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Dm_'{X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Ewl'_Q'OS!yW'TPOY$nYZ%nZr$nrs#Gosw$nwx#H]xz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$n]#GvV'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_#Hd_'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q#OE^#O#P!!l#P;'SE^;'S;=`!*}<%lOE^_#Ink'_Q'OS!yW'TPOY$nYZ%nZr$nrs&[st#Kctz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[m,u,G,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>j[O]||-1}],tokenPrec:15596}),I=_.define({name:"rust",parser:E.configure({props:[q.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),l.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return w;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function N(){return new V(I)}export{N as rust,I as rustLanguage}; diff --git a/public/admin/assets/index-5525cde4.js b/public/admin/assets/index-5525cde4.js deleted file mode 100644 index 83bfb23..0000000 --- a/public/admin/assets/index-5525cde4.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{E as o,C as G,s as u,t as $,b as V,L as x,f as z,k as _,i as Y,c as v,l as b,a as E}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const w=150,P=151,C=152,N=1,I=2,f=3,F=153,D=154,p=4,L=5,K=155,k=156,Z=157,s=158,j=6,W=7,A=8,B=9,S=0,i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],J=58,H=40,h=95,M=91,l=45,OO=46,y=35,$O=37,T=123,eO=125,r=47,c=42,R=10,q=61,aO=43,QO=38;function d(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function U(O){return O>=48&&O<=57}function m(O){let e;return O.next==r&&((e=O.peek(1))==r||e==c)}const nO=new o((O,e)=>{if(e.dialectEnabled(S)){let a;if(O.next<0&&e.canShift(Z))O.acceptToken(Z);else if(((a=O.peek(-1))==R||a<0)&&e.canShift(k)){let Q=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),Q++;O.next==R||m(O)?O.acceptToken(k,-Q):Q&&O.acceptToken(s)}else if(O.next==R)O.acceptToken(K,1);else if(i.includes(O.next)){for(O.advance();O.next!=R&&i.includes(O.next);)O.advance();O.acceptToken(s)}}else{let a=0;for(;i.includes(O.next);)O.advance(),a++;a&&O.acceptToken(s)}},{contextual:!0}),tO=new o((O,e)=>{if(m(O)){if(O.advance(),e.dialectEnabled(S)){let a=-1;for(let Q=1;;Q++){let n=O.peek(-Q-1);if(n==R||n<0){a=Q+1;break}else if(!i.includes(n))break}if(a>-1){let Q=O.next==c,n=0;for(O.advance();O.next>=0;)if(O.next==R){O.advance();let t=0;for(;O.next!=R&&i.includes(O.next);)t++,O.advance();if(t=0;)O.advance();O.acceptToken(j)}else{for(O.advance();O.next>=0;){let{next:a}=O;if(O.advance(),a==c&&O.next==r){O.advance();break}}O.acceptToken(W)}}}),RO=new o((O,e)=>{(O.next==aO||O.next==q)&&e.dialectEnabled(S)&&O.acceptToken(O.next==q?A:B,1)}),iO=new o((O,e)=>{if(!e.dialectEnabled(S))return;let a=e.context.depth;if(O.next<0&&a){O.acceptToken(P);return}if(O.peek(-1)==R){let n=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),n++;n!=a&&O.next!=R&&!m(O)&&(n{for(let a=!1,Q=0,n=0;;n++){let{next:t}=O;if(d(t)||t==l||t==h||a&&U(t))!a&&(t!=l||n>0)&&(a=!0),Q===n&&t==l&&Q++,O.advance();else if(t==y&&O.peek(1)==T){O.acceptToken(L,2);break}else{a&&O.acceptToken(t==H?F:Q==2&&e.canShift(p)?p:D);break}}}),lO=new o(O=>{if(O.next==eO){for(O.advance();d(O.next)||O.next==l||O.next==h||U(O.next);)O.advance();O.next==y&&O.peek(1)==T?O.acceptToken(I,2):O.acceptToken(N)}}),rO=new o(O=>{if(i.includes(O.peek(-1))){let{next:e}=O;(d(e)||e==h||e==y||e==OO||e==M||e==J||e==l||e==QO)&&O.acceptToken(C)}}),dO=new o(O=>{if(!i.includes(O.peek(-1))){let{next:e}=O;if(e==$O&&(O.advance(),O.acceptToken(f)),d(e)){do O.advance();while(d(O.next));O.acceptToken(f)}}});function g(O,e){this.parent=O,this.depth=e,this.hash=(O?O.hash+O.hash<<8:0)+e+(e<<4)}const cO=new g(null,0),SO=new G({start:cO,shift(O,e,a,Q){return e==w?new g(O,a.pos-Q.pos):e==P?O.parent:O},hash(O){return O.hash}}),sO=u({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":$.definitionKeyword,"Keyword selector":$.keyword,ControlKeyword:$.controlKeyword,NamespaceName:$.namespace,KeyframeName:$.labelName,TagName:$.tagName,"ClassName Suffix":$.className,PseudoClassName:$.constant($.className),IdName:$.labelName,"FeatureName PropertyName":$.propertyName,AttributeName:$.attributeName,NumberLiteral:$.number,KeywordQuery:$.keyword,UnaryQueryOp:$.operatorKeyword,"CallTag ValueName":$.atom,VariableName:$.variableName,SassVariableName:$.special($.variableName),Callee:$.operatorKeyword,Unit:$.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":$.definitionOperator,MatchOp:$.compareOperator,"ChildOp SiblingOp, LogicOp":$.logicOperator,BinOp:$.arithmeticOperator,"Important Global Default":$.modifier,Comment:$.blockComment,LineComment:$.lineComment,ColorLiteral:$.color,"ParenthesizedContent StringLiteral":$.string,"InterpolationStart InterpolationContinue InterpolationEnd":$.meta,': "..."':$.punctuation,"PseudoOp #":$.derefOperator,"; ,":$.separator,"( )":$.paren,"[ ]":$.squareBracket,"{ }":$.brace}),PO={__proto__:null,not:62,only:62,using:173,as:183,with:187,without:187,hide:201,show:201,from:224,to:226,if:239,through:245,in:251},XO={__proto__:null,url:80,"url-prefix":80,domain:80,regexp:80,lang:94,"nth-child":94,"nth-last-child":94,"nth-of-type":94,"nth-last-of-type":94,dir:94,"host-context":94,selector:166},hO={__proto__:null,"@import":150,"@include":170,"@mixin":176,"@function":176,"@use":180,"@extend":190,"@at-root":194,"@forward":198,"@media":204,"@charset":208,"@namespace":212,"@keyframes":218,"@supports":230,"@if":234,"@else":236,"@for":242,"@each":248,"@while":254,"@debug":258,"@warn":258,"@error":258,"@return":258},yO=V.deserialize({version:14,states:"KOQ`Q+tOOO#cQ+tOOP#jOpOOOOQ#U'#Ch'#ChO#oQ(pO'#CjOOQ#U'#Ci'#CiO%[Q)QO'#FtO%oQ.jO'#CnO&gQ#dO'#DWO'^Q(pO'#CgO'eQ)OO'#DYO'pQ#dO'#DaO'uQ#dO'#DeOOQ#U'#Ft'#FtO'zQ(pO'#FtO(RQ(nO'#DpO%oQ.jO'#DwO%oQ.jO'#ESO%oQ.jO'#EVO%oQ.jO'#EXO(WQ)OO'#E^O(uQ)OO'#E`O%oQ.jO'#EbO)SQ)OO'#EeO%oQ.jO'#EgO)nQ)OO'#EiO)yQ#dO'#ElO*OQ)OO'#ErO*dQ)OO'#FSOOQ&Z'#Fs'#FsOOQ&Y'#FV'#FVO*nQ(nO'#FVQ`Q+tOOO%oQ.jO'#EtO*yQ(nO'#ExO+OQ)OO'#E{O%oQ.jO'#FOO%oQ.jO'#FQOOQ&Z'#F^'#F^O+WQ+uO'#F|O+eQ(oO'#F|QOQ#SOOP+yO#SO'#FrPOOO)CAg)CAgOOQ#U'#Cm'#CmOOQ#U,59W,59WOOQ#i'#Cp'#CpO%oQ.jO'#CsO,XQ.wO'#CuO.tQ.^O,59YO%oQ.jO'#CzOOQ#S'#DO'#DOO/VQ(nO'#DTOOQ#i'#Fv'#FvO/[Q(nO'#C}OOQ#U'#DX'#DXOOQ#U,59r,59rO&gQ#dO,59rO/aQ)OO,59tO'pQ#dO,59{O'uQ#dO,5:PO(WQ)OO,5:TO(WQ)OO,5:VO(WQ)OO,5:WO(WQ)OO'#F]O/lQ(nO,59RO/wQ+tO'#DnO0OQ#TO'#DnOOQ&Z,59R,59ROOQ#U'#D['#D[OOQ#S'#D_'#D_OOQ#U,59t,59tO0TQ(nO,59tO0YQ(nO,59tOOQ#U'#Dc'#DcOOQ#U,59{,59{OOQ#S'#Dg'#DgO0_Q9`O,5:PO0gQ.jO,5:[O0qQ.jO,5:cO1jQ.jO,5:nO1wQ.YO,5:qO2YQ.jO,5:sOOQ#U'#Cj'#CjO3RQ(pO,5:xO3`Q(pO,5:zOOQ&Z,5:z,5:zO3gQ)OO,5:zO3lQ.jO,5:|OOQ#S'#Dz'#DzO4[Q)OO'#EPO4cQ(nO'#GOO*OQ)OO'#EOO4wQ(nO'#EQOOQ#S'#GP'#GPO/oQ(nO,5;PO2`Q.YO,5;ROOQ#d'#Ek'#EkO*nQ(nO,5;TO4|Q)OO,5;TOOQ#S'#En'#EnO5UQ(nO,5;WO5ZQ(nO,5;^O5fQ(nO,5;nOOQ&Z'#F}'#F}OOQ&Y,5;q,5;qOOQ&Y-E9T-E9TO1wQ.YO,5;`O5tQ)OO,5;dO5yQ)OO'#GRO6RQ)OO,5;gO1wQ.YO,5;jO2`Q.YO,5;lOOQ&Z-E9[-E9[O6WQ(oO,5^Q(pO,5;wOOQ#S-E9Z-E9ZOOQ&Z1G.m1G.mO>kQ(nO,5:YO>pQ+uO,5:YO>wQ)OO'#D`O?OQ.jO'#D^OOQ#U1G/k1G/kO%oQ.jO1G/kO?VQ.kO1G/vOOQ#T1G/v1G/vO*nQ(nO1G/}O@SQ+uO'#F}OOQ&Z1G0Y1G0YO/[Q(nO1G0YOOQ&Z1G0]1G0]OOQ&Z1G0_1G0_O/[Q(nO1G0_OBlQ)OO1G0_OOQ&Z1G0d1G0dOOQ&Z1G0f1G0fOBtQ)OO1G0fOByQ(nO1G0fOCOQ)OO1G0hOOQ&Z1G0h1G0hOC^Q.jO'#FbOCnQ#dO1G0hOCsQ(nO'#DzODOQ(nO,5:gODTQ(nO,5:kO*OQ)OO,5:iOD]Q)OO'#FaODpQ(nO,5]AN>]O!/jQ(pO,5;vOOQ#S-E9Y-E9YO!/tQ.jO,5;uOOQ#S-E9X-E9XO*nQ(nOAN?PO!0OQ(nOAN?WO/oQ(nOAN?WO!0WQ.jO,5;}OOQ#d-E9a-E9aOCOQ)OOAN?YOOQ&ZAN?YAN?YOOQ#S<[z{>a{|>z|}Cm}!ODO!O!PDm!P!Q;h!Q![FW![!]GR!]!^G}!^!_H`!_!`Hw!`!aI`!a!b#r!b!cJa!c!}#r!}#OKy#O#P#r#P#QL[#Q#RLm#R#T#r#T#UMS#U#c#r#c#dNe#d#o#r#o#pNz#p#qLm#q#r! ]#r#s! n#s;'S#r;'S;=`!!V<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSyWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSyWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UyWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUyWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UyWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUyWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UyWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUyWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!hQyWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UyWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUyWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*`UyWOy$Rz#U$R#U#V*r#V;'S$R;'S;=`$d<%lO$RY*wUyWOy$Rz#T$R#T#U+Z#U;'S$R;'S;=`$d<%lO$RY+`UyWOy$Rz#`$R#`#a+r#a;'S$R;'S;=`$d<%lO$RY+yS!gQyWOy$Rz;'S$R;'S;=`$d<%lO$RY,[UyWOy$Rz#a$R#a#b,n#b;'S$R;'S;=`$d<%lO$RY,sUyWOy$Rz#d$R#d#e-V#e;'S$R;'S;=`$d<%lO$RY-[UyWOy$Rz#c$R#c#d-n#d;'S$R;'S;=`$d<%lO$RY-sUyWOy$Rz#f$R#f#g.V#g;'S$R;'S;=`$d<%lO$RY.[UyWOy$Rz#h$R#h#i.n#i;'S$R;'S;=`$d<%lO$RY.sUyWOy$Rz#T$R#T#U/V#U;'S$R;'S;=`$d<%lO$RY/[UyWOy$Rz#b$R#b#c/n#c;'S$R;'S;=`$d<%lO$RY/sUyWOy$Rz#h$R#h#i0V#i;'S$R;'S;=`$d<%lO$RY0^S!fQyWOy$Rz;'S$R;'S;=`$d<%lO$R~0mWOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W<%lO0j~1[Oj~~1_RO;'S0j;'S;=`1h;=`O0j~1kXOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W;=`<%l0j<%lO0j~2ZP;=`<%l0jZ2cY!UPOy$Rz!Q$R!Q![3R![!c$R!c!i3R!i#T$R#T#Z3R#Z;'S$R;'S;=`$d<%lO$RY3WYyWOy$Rz!Q$R!Q![3v![!c$R!c!i3v!i#T$R#T#Z3v#Z;'S$R;'S;=`$d<%lO$RY3{YyWOy$Rz!Q$R!Q![4k![!c$R!c!i4k!i#T$R#T#Z4k#Z;'S$R;'S;=`$d<%lO$RY4rYhQyWOy$Rz!Q$R!Q![5b![!c$R!c!i5b!i#T$R#T#Z5b#Z;'S$R;'S;=`$d<%lO$RY5iYhQyWOy$Rz!Q$R!Q![6X![!c$R!c!i6X!i#T$R#T#Z6X#Z;'S$R;'S;=`$d<%lO$RY6^YyWOy$Rz!Q$R!Q![6|![!c$R!c!i6|!i#T$R#T#Z6|#Z;'S$R;'S;=`$d<%lO$RY7TYhQyWOy$Rz!Q$R!Q![7s![!c$R!c!i7s!i#T$R#T#Z7s#Z;'S$R;'S;=`$d<%lO$RY7xYyWOy$Rz!Q$R!Q![8h![!c$R!c!i8h!i#T$R#T#Z8h#Z;'S$R;'S;=`$d<%lO$RY8oShQyWOy$Rz;'S$R;'S;=`$d<%lO$R_9O`Oy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!_$R!_!`;T!`!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$RZ:X^yWcROy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$R[;[S![SyWOy$Rz;'S$R;'S;=`$d<%lO$RY;mSlQOy$Rz;'S$R;'S;=`$d<%lO$RZOSfROy$Rz;'S$R;'S;=`$d<%lO$R~>aOe~_>hU$iPlQOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZ?RWlQ!aPOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZ?pUyWOy$Rz!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RZ@ZYyW$kROy$Rz!Q$R!Q![@S![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZAOYyWOy$Rz{$R{|An|}$R}!OAn!O!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZAsUyWOy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZB^UyW$kROy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZBw[yW$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZCrSvROy$Rz;'S$R;'S;=`$d<%lO$RZDTWlQOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZDrW$lROy$Rz!O$R!O!PE[!P!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RYEaUyWOy$Rz!O$R!O!PEs!P;'S$R;'S;=`$d<%lO$RYEzSuQyWOy$Rz;'S$R;'S;=`$d<%lO$RZF][$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZGWUtROy$Rz![$R![!]Gj!];'S$R;'S;=`$d<%lO$RXGqS}PyWOy$Rz;'S$R;'S;=`$d<%lO$RZHSS!iROy$Rz;'S$R;'S;=`$d<%lO$RYHeUlQOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$R^H|U![SOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$RZIgV!^PlQOy$Rz!_$R!_!`%c!`!aI|!a;'S$R;'S;=`$d<%lO$RXJTS!^PyWOy$Rz;'S$R;'S;=`$d<%lO$RXJdWOy$Rz!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXKT[!lPyWOy$Rz}$R}!OJ|!O!Q$R!Q![J|![!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXLOS!YPOy$Rz;'S$R;'S;=`$d<%lO$R^LaS!WUOy$Rz;'S$R;'S;=`$d<%lO$R[LpUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZMVUOy$Rz#b$R#b#cMi#c;'S$R;'S;=`$d<%lO$RZMnUyWOy$Rz#W$R#W#XNQ#X;'S$R;'S;=`$d<%lO$RZNXSmRyWOy$Rz;'S$R;'S;=`$d<%lO$RZNhUOy$Rz#f$R#f#gNQ#g;'S$R;'S;=`$d<%lO$RZ! PS!cROy$Rz;'S$R;'S;=`$d<%lO$RZ! bS!jROy$Rz;'S$R;'S;=`$d<%lO$R]! sU!aPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!!YP;=`<%l#r",tokenizers:[iO,rO,lO,dO,oO,nO,tO,RO,0,1,2,3],topRules:{StyleSheet:[0,10],Styles:[1,131]},dialects:{indented:0},specialized:[{term:154,get:O=>PO[O]||-1},{term:153,get:O=>XO[O]||-1},{term:74,get:O=>hO[O]||-1}],tokenPrec:2863}),X=x.define({name:"sass",parser:yO.configure({props:[z.add({Block:_,Comment(O,e){return{from:O.from+2,to:e.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),Y.add({Declaration:v()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),mO=X.configure({dialect:"indented",props:[Y.add({"Block RuleSet":O=>O.baseIndent+O.unit}),z.add({Block:O=>({from:O.from,to:O.to})})]}),fO=b(O=>O.name=="VariableName"||O.name=="SassVariableName");function WO(O){return new E(O!=null&&O.indented?mO:X,X.data.of({autocomplete:fO}))}export{WO as sass,fO as sassCompletionSource,X as sassLanguage}; diff --git a/public/admin/assets/index-59cc5a58.css b/public/admin/assets/index-59cc5a58.css deleted file mode 100644 index 78a1b52..0000000 --- a/public/admin/assets/index-59cc5a58.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.main-sidebar-container[data-v-27edc889]{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;position:relative;z-index:1;width:var(--g-main-sidebar-width);color:var(--g-main-sidebar-menu-color);background-color:var(--g-main-sidebar-bg);transition:background-color .3s,var(--el-transition-color)}.main-sidebar-container[data-v-27edc889]::-webkit-scrollbar{display:none}.main-sidebar-container .sidebar-logo[data-v-27edc889]{transition:.3s;background-color:var(--g-main-sidebar-bg)}.main-sidebar-container .nav[data-v-27edc889]{width:inherit;padding-top:var(--g-sidebar-logo-height)}.main-sidebar-container .nav .item[data-v-27edc889]{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;height:60px;padding:0 5px;cursor:pointer;color:var(--g-main-sidebar-menu-color);background-color:var(--g-main-sidebar-bg);transition:background-color .3s,var(--el-transition-color)}.main-sidebar-container .nav .item[data-v-27edc889]:hover{color:var(--g-main-sidebar-menu-hover-color);background-color:var(--g-main-sidebar-menu-hover-bg)}.main-sidebar-container .nav .item.active[data-v-27edc889]{color:var(--g-main-sidebar-menu-active-color);background-color:var(--g-main-sidebar-menu-active-bg)}.main-sidebar-container .nav .item .el-icon[data-v-27edc889]{margin:0 auto;font-size:24px}.main-sidebar-container .nav .item span[data-v-27edc889]{text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.main-sidebar-enter-active[data-v-27edc889],.main-sidebar-leave-active[data-v-27edc889]{transition:transform .3s}.main-sidebar-enter-from[data-v-27edc889],.main-sidebar-leave-to[data-v-27edc889]{transform:translate(calc(var(--g-main-sidebar-width) * -1))} diff --git a/public/admin/assets/index-5ae06f1c.js b/public/admin/assets/index-5ae06f1c.js deleted file mode 100644 index d9690b2..0000000 --- a/public/admin/assets/index-5ae06f1c.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{L as O,i as r,j as b,f as s,k as t,s as a,t as e,a as P,b as n}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=O.define({name:"wast",parser:i.configure({props:[r.add({App:b({closing:")",align:!1})}),s.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),a({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function c(){return new P(Q)}export{c as wast,Q as wastLanguage}; diff --git a/public/admin/assets/index-5b287f81.css b/public/admin/assets/index-5b287f81.css deleted file mode 100644 index 6ddddbe..0000000 --- a/public/admin/assets/index-5b287f81.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -header[data-v-381f1d85]{position:fixed;z-index:1000;top:0;left:0;right:0;display:flex;align-items:center;padding:0 20px;height:var(--g-header-height);color:var(--g-header-color);background-color:var(--g-header-bg);transition:background-color .3s,var(--el-transition-color)}header .header-container[data-v-381f1d85]{width:var(--g-header-width);height:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between}header .header-container .main[data-v-381f1d85]{flex:1;display:flex;flex-wrap:wrap;align-items:center;height:100%}@media screen and (max-width: var(--g-header-width)){header .header-container[data-v-381f1d85]{width:100%}}header[data-v-381f1d85] .title{position:relative;width:inherit;height:inherit;padding:inherit;background-color:inherit}header[data-v-381f1d85] .title .logo{width:50px;height:50px}header[data-v-381f1d85] .title span{font-size:24px;letter-spacing:1px;color:var(--g-header-color)}header .nav[data-v-381f1d85]{flex:1;display:flex;width:0;height:100%;margin:0 30px;padding:0 20px;overflow-x:auto;-webkit-mask-image:linear-gradient(to right,transparent,#000 20px,#000 calc(100% - 20px),transparent);mask-image:linear-gradient(to right,transparent,#000 20px,#000 calc(100% - 20px),transparent);scrollbar-width:none}header .nav[data-v-381f1d85]::-webkit-scrollbar{display:none}header .nav .item-container[data-v-381f1d85]{position:relative;display:flex;width:initial}header .nav .item-container .item[data-v-381f1d85]{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:0 5px;width:80px;height:100%;cursor:pointer;color:var(--g-header-menu-color);background-color:var(--g-header-bg);transition:background-color .3s,var(--el-transition-color)}header .nav .item-container .item[data-v-381f1d85]:hover{color:var(--g-header-menu-hover-color);background-color:var(--g-header-menu-hover-bg)}header .nav .item-container .item .el-icon[data-v-381f1d85]{font-size:24px;vertical-align:middle}header .nav .item-container .item span[data-v-381f1d85]{text-align:center;vertical-align:middle;word-break:break-all;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}header .nav .item-container.active .item[data-v-381f1d85]{color:var(--g-header-menu-active-color);background-color:var(--g-header-menu-active-bg)}header[data-v-381f1d85] .tools{padding:0}header[data-v-381f1d85] .tools .buttons .item .el-icon{color:var(--g-header-color)}header[data-v-381f1d85] .tools .user-container{font-size:16px;color:var(--g-header-color)}.header-enter-active[data-v-381f1d85],.header-leave-active[data-v-381f1d85]{transition:transform .3s}.header-enter-from[data-v-381f1d85],.header-leave-to[data-v-381f1d85]{transform:translateY(calc(var(--g-header-height) * -1))} diff --git a/public/admin/assets/index-5b6f01a7.js b/public/admin/assets/index-5b6f01a7.js deleted file mode 100644 index f294d38..0000000 --- a/public/admin/assets/index-5b6f01a7.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{E as S,s as o,t as $,b as t,L as l,i as x,c as W,j as R,f as V,k as r,o as U,a as v,p as u}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const m=1,b=2,p=263,k=3,c=264,s=265,Y=266,Z=4,w=5,_=6,h=7,X=8,j=9,f=10,G=11,g=12,E=13,I=14,N=15,F=16,C=17,L=18,A=19,H=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,yO=30,aO=31,zO=32,SO=33,PO=34,WO=35,eO=36,TO=37,sO=38,XO=39,dO=40,nO=41,qO=42,oO=43,tO=44,lO=45,xO=46,RO=47,VO=48,rO=49,UO=50,vO=51,uO=52,mO=53,bO=54,pO=55,kO=56,cO=57,YO=58,ZO=59,wO=60,_O=61,e=62,hO=63,jO=64,fO=65,GO={abstract:Z,and:w,array:_,as:h,true:X,false:X,break:j,case:f,catch:G,clone:g,const:E,continue:I,declare:F,default:N,do:C,echo:L,else:A,elseif:H,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:yO,fn:aO,for:zO,foreach:SO,from:PO,function:WO,global:eO,goto:TO,if:sO,implements:XO,include:dO,include_once:nO,instanceof:qO,insteadof:oO,interface:tO,list:lO,match:xO,namespace:RO,new:VO,null:rO,or:UO,print:vO,require:uO,require_once:mO,return:bO,switch:pO,throw:kO,trait:cO,try:YO,unset:ZO,use:wO,var:_O,public:e,private:e,protected:e,while:hO,xor:jO,yield:fO,__proto__:null};function d(O){let Q=GO[O.toLowerCase()];return Q??-1}function n(O){return O==9||O==10||O==13||O==32}function q(O){return O>=97&&O<=122||O>=65&&O<=90}function a(O){return O==95||O>=128||q(O)}function T(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const gO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},EO=new S(O=>{if(O.next==40){O.advance();let Q=0;for(;n(O.peek(Q));)Q++;let i="",y;for(;q(y=O.peek(Q));)i+=String.fromCharCode(y),Q++;for(;n(O.peek(Q));)Q++;O.peek(Q)==41&&gO[i.toLowerCase()]&&O.acceptToken(m)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let y=0;y<3;y++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!a(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!a(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let y=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(y){for(;O.next==32||O.next==9;)O.advance();let z=!0;for(let P=0;P{O.next<0&&O.acceptToken(Y)}),NO=new S((O,Q)=>{O.next==63&&Q.canShift(s)&&O.peek(1)==62&&O.acceptToken(s)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,y;for(;i<5&&(y=O.peek(i))>=48&&y<=55;)i++;return i}if(Q==120&&T(O.peek(2)))return T(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let y=O.peek(i);if(y==125)return i==2?0:i+1;if(!T(y))break}return 0}const CO=new S((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(a(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let y=FO(O);if(y){if(i)break;return O.acceptToken(k,y)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&a(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&a(O.peek(3)))&&Q.canShift(c))break;O.advance()}i&&O.acceptToken(p)}),LO=o({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,LogicOp:$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},HO=t.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{OS,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E}OOQS'#Ez'#EzOOQS'#Ib'#IbOM`QaO,5:wO*kQaO,5;nOOQS,5;p,5;pO*kQaO,5;pOMgQdO,5UQaO,5=hO!-eQ`O'#F}O!-jQdO'#IlO!&WQdO,5=iOOQ#u,5=j,5=jO!-uQ`O,5=lO!-xQ`O,5=mO!-}Q`O,5=nO!.YQdO,5=qOOQ#u,5=q,5=qO!.eQ`O,5=rO!.eQ`O,5=rO!.mQdO'#IwO!.{Q`O'#HXO!&WQdO,5=rO!/ZQ`O,5=rO!/fQdO'#IYO!&WQdO,5=vOOQ#u-E;_-E;_O!1RQ`O,5=kOOO#u,5:^,5:^O!1^O#|O,5:^OOO#u-E;^-E;^OOOO,5>p,5>pOOQ#y1G0S1G0SO!1fQ`O1G0XO*kQaO1G0XO!2xQ`O1G0pOOQS1G0p1G0pO!4[Q`O1G0pOOQS'#I_'#I_O*kQaO'#I_OOQS1G0q1G0qO!4cQ`O'#IaO!7lQ`O'#E}O!7yQaO'#EuOOQO'#Ia'#IaO!8TQ`O'#I`O!8]Q`O,5;_OOQS'#FQ'#FQOOQS1G1U1G1UO!8bQdO1G1]O!:dQdO1G1]O!wO#(fQaO'#HdO#(vQ`O,5>vOOQS1G0d1G0dO#)OQ`O1G0dO#)TQ`O'#I^O#*mQ`O'#I^O#*uQ`O,5;ROIbQaO,5;ROOQS1G0u1G0uPOQO'#E}'#E}O#+fQdO1G1RO0aQ`O'#HgO#-hQtO,5;cO#.YQaO1G0|OOQS,5;e,5;eO#0iQtO,5;gO#0vQdO1G0cO*kQaO1G0cO#2cQdO1G1YO#4OQdO1G1[OOQO,5<^,5<^O#4`Q`O'#HjO#4nQ`O,5?ROOQO1G1w1G1wO#4vQ`O,5?ZO!&WQdO1G3TO<_Q`O1G3TOOQ#u1G3U1G3UO#4{Q`O1G3YO!1RQ`O1G3VO#5WQ`O1G3VO#5]QpO'#FoO#5kQ`O'#FoO#5{Q`O'#FoO#6WQ`O'#FoO#6`Q`O'#FsO#6eQ`O'#FtOOQO'#If'#IfO#6lQ`O'#IeO#6tQ`O,5tOOQ#u1G3b1G3bOOQ#u1G3V1G3VO!-xQ`O1G3VO!1UQ`O1G3VOOO#u1G/x1G/xO*kQaO7+%sO#MuQdO7+%sOOQS7+&[7+&[O$ bQ`O,5>yO>UQaO,5;`O$ iQ`O,5;aO$#OQaO'#HfO$#YQ`O,5>zOOQS1G0y1G0yO$#bQ`O'#EYO$#gQ`O'#IXO$#oQ`O,5:sOOQS1G0e1G0eO$#tQ`O1G0eO$#yQ`O1G0iO9yQaO1G0iOOQO,5>O,5>OOOQO-E;b-E;bOOQS7+&O7+&OO>UQaO,5;SO$%`QaO'#HeO$%jQ`O,5>xOOQS1G0m1G0mO$%rQ`O1G0mOOQS,5>R,5>ROOQS-E;e-E;eO$%wQdO7+&hO$'yQtO1G1RO$(WQdO7+%}OOQS1G0i1G0iOOQO,5>U,5>UOOQO-E;h-E;hOOQ#u7+(o7+(oO!&WQdO7+(oOOQ#u7+(t7+(tO#KmQ`O7+(tO0aQ`O7+(tOOQ#u7+(q7+(qO!-xQ`O7+(qO!1UQ`O7+(qO!1RQ`O7+(qO$)sQ`O,5UQaO,5],5>]OOQS-E;o-E;oO$.iQdO7+'hO$.yQpO7+'hO$/RQdO'#IiOOQO,5dOOQ#u,5>d,5>dOOQ#u-E;v-E;vO$;lQaO7+(lO$cOOQS-E;u-E;uO!&WQdO7+(nO$=mQdO1G2TOOQS,5>[,5>[OOQS-E;n-E;nOOQ#u7+(r7+(rO$?nQ`O'#GQO$?uQ`O'#GQO$@ZQ`O'#HUOOQO'#Hy'#HyO$@`Q`O,5=oOOQ#u,5=o,5=oO$@gQpO7+(tOOQ#u7+(x7+(xO!&WQdO7+(xO$@rQdO,5>fOOQS-E;x-E;xO$AQQdO1G4}O$A]Q`O,5=tO$AbQ`O,5=tO$AmQ`O'#H{O$BRQ`O,5?dOOQS1G3_1G3_O#KrQ`O7+(xO$BZQdO,5=|OOQS-E;`-E;`O$CvQdO<Q,5>QOOQO-E;d-E;dO$8YQaO,5:tO$FxQaO'#HcO$GVQ`O,5>sOOQS1G0_1G0_OOQS7+&P7+&PO$G_Q`O7+&TO$HtQ`O1G0nO$JZQ`O,5>POOQO,5>P,5>POOQO-E;c-E;cOOQS7+&X7+&XOOQS7+&T7+&TOOQ#u<UQaO1G1uO$KsQ`O1G1uO$LOQ`O1G1yOOQO1G1y1G1yO$LTQ`O1G1uO$L]Q`O1G1uO$MrQ`O1G1zO>UQaO1G1zOOQO,5>V,5>VOOQO-E;i-E;iOOQS<`OOQ#u-E;r-E;rOhQaO<aOOQO-E;s-E;sO!&WQdO<g,5>gOOQO-E;y-E;yO!&WQdO<UQaO,5;TOOQ#uANAzANAzO#KmQ`OANAzOOQ#uANAwANAwO!-xQ`OANAwO%)vQ`O7+'aO>UQaO7+'aOOQO7+'e7+'eO%+]Q`O7+'aO%+hQ`O7+'eO>UQaO7+'fO%+mQ`O7+'fO%-SQ`O'#HlO%-bQ`O,5?SO%-bQ`O,5?SOOQO1G1{1G1{O$+qQpOAN@dOOQSAN@dAN@dO0aQ`OAN@dO%-jQtOANCgO%-xQ`OAN@dO*kQaOAN@nO%.QQdOAN@nO%.bQpOAN@nOOQS,5>X,5>XOOQS-E;k-E;kOOQO1G2U1G2UO!&WQdO1G2UO$/dQpO1G2UO<_Q`O1G2SO!.YQdO1G2WO!&WQdO1G2SOOQO1G2W1G2WOOQO1G2S1G2SO%.jQaO'#GSOOQO1G2X1G2XOOQSAN@oAN@oOOOQ<UQaO<W,5>WO%6wQ`O,5>WOOQO-E;j-E;jO%6|Q`O1G4nOOQSG26OG26OO$+qQpOG26OO0aQ`OG26OO%7UQdOG26YO*kQaOG26YOOQO7+'p7+'pO!&WQdO7+'pO!&WQdO7+'nOOQO7+'r7+'rOOQO7+'n7+'nO%7fQ`OLD+tO%8uQ`O'#E}O%9PQ`O'#IZO!&WQdO'#HrO%:|QaO,5^,5>^OOQP-E;p-E;pOOQO1G2Y1G2YOOQ#uLD,bLD,bOOQTG27RG27RO!&WQdOLD,xO!&WQdO<wO&EPQdO1G0cO#.YQaO1G0cO&F{QdO1G1YO&HwQdO1G1[O#.YQaO1G1|O#.YQaO7+%sO&JsQdO7+%sO&LoQdO7+%}O#.YQaO7+'hO&NkQdO7+'hO'!gQdO<lQdO,5>wO(@nQdO1G0cO'.QQaO1G0cO(BpQdO1G1YO(DrQdO1G1[O'.QQaO1G1|O'.QQaO7+%sO(FtQdO7+%sO(HvQdO7+%}O'.QQaO7+'hO(JxQdO7+'hO(LzQdO<wO*1sQaO'#HdO*2TQ`O,5>vO*2]QdO1G0cO9yQaO1G0cO*4XQdO1G1YO*6TQdO1G1[O9yQaO1G1|O>UQaO'#HwO*8PQ`O,5=[O*8XQaO'#HbO*8cQ`O,5>tO9yQaO7+%sO*8kQdO7+%sO*:gQ`O1G0iO>UQaO1G0iO*;|QdO7+%}O9yQaO7+'hO*=xQdO7+'hO*?tQ`O,5>cO*AZQ`O,5=|O*BpQdO<UQaO'#FeO>UQaO'#FfO>UQaO'#FgO>UQaO'#FhO>UQaO'#FhO>UQaO'#FkO+'XQaO'#FwO>UQaO'#GVO>UQaO'#GYO+'`QaO,5:mO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO+'gQ`O'#I]O$8YQaO'#EaO+)PQaOG26YO$8YQaO'#I]O+*{Q`O'#I[O++TQaO,5:wO>UQaO,5;nO>UQaO,5;pO++[Q`O,5UQaO1G0XO+9hQ`O1G1]O+;TQ`O1G1]O+]Q`O1G1]O+?xQ`O1G1]O+AeQ`O1G1]O+CQQ`O1G1]O+DmQ`O1G1]O+FYQ`O1G1]O+GuQ`O1G1]O+IbQ`O1G1]O+J}Q`O1G1]O+LjQ`O1G1]O+NVQ`O1G1]O, rQ`O1G1]O,#_Q`O1G0cO>UQaO1G0cO,$zQ`O1G1YO,&gQ`O1G1[O,(SQ`O1G1|O>UQaO1G1|O>UQaO7+%sO,([Q`O7+%sO,)wQ`O7+%}O>UQaO7+'hO,+dQ`O7+'hO,+lQ`O7+'hO,-XQpO7+'hO,-aQ`O<UQaO<UQaOAN@nO,0qQ`OAN@nO,2^QpOAN@nO,2fQ`OG26YO>UQaOG26YO,4RQ`OLD+tO,5nQaO,5:}O>UQaO1G0iO,5uQ`O'#I]O$8YQaO'#FeO$8YQaO'#FfO$8YQaO'#FgO$8YQaO'#FhO$8YQaO'#FhO+)PQaO'#FhO$8YQaO'#FkO,6SQaO'#FwO,6ZQaO'#FwO$8YQaO'#GVO+)PQaO'#GVO$8YQaO'#GYO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO,8YQ`O'#FlO>UQaO'#EaO>UQaO'#I]O,8bQaO,5:wO,8iQaO,5:wO$8YQaO,5;nO+)PQaO,5;nO$8YQaO,5;pO,:hQ`O,5wO-IcQ`O1G0cO-KOQ`O1G0cO$8YQaO1G0cO+)PQaO1G0cO-L_Q`O1G1YO-MzQ`O1G1YO. ZQ`O1G1[O$8YQaO1G1|O$8YQaO7+%sO+)PQaO7+%sO.!vQ`O7+%sO.$cQ`O7+%sO.%rQ`O7+%}O.'_Q`O7+%}O$8YQaO7+'hO.(nQ`O7+'hO.*ZQ`O<fQ`O,5>wO.@RQ`O1G1|O!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO.@ZQ`O7+'hO.@cQpO7+'hO.@kQpO<UO#X&PO~P>UO!o&SO!s&RO#b&RO~OPgOQ|OU^OW}O[8lOo=yOs#hOx8jOy8jO}`O!O]O!Q8pO!R}O!T8oO!U8kO!V8kO!Y8rO!c8iO!s&VO!y[O#U&WO#W_O#bhO#daO#ebO#peO$T8nO$]8mO$^8nO$aqO$z8qO${!OO$}}O%O}O%V|O'g{O~O!x'SP~PAOO!s&[O#b&[O~OT#TOz#RO!S#UO!b#VO!o!{O!v!yO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO~O!x&nO~PCqO!x'VX!}'VX#O'VX#X'VX!n'VXV'VX!q'VX#u'VX#w'VXw'VX~P&sO!y$hO#S&oO~Oo$mOs$lO~O!o&pO~O!}&sO#S;dO#U;cO!x'OP~P9yOT6iOz6gO!S6jO!b6kO!o!{O!v8sO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'PX#X'PX~O#O&tO~PGSO!}&wO#X'OX~O#X&yO~O!}'OO!x'QP~P9yO!n'PO~PCqO!m#oa!o#oa#S#oa#p#qX&s#oa!x#oa#O#oaw#oa~OT#oaz#oa!S#oa!b#oa!v#oa!y#oa#W#oa#`#oa#a#oa#s#oa#z#oa#{#oa#|#oa#}#oa$O#oa$Q#oa$R#oa$S#oa$T#oa$U#oa$V#oa$W#oa$z#oa!}#oa#X#oa!n#oaV#oa!q#oa#u#oa#w#oa~PIpO!s'RO~O!x'UO#l'SO~O!x'VX#l'VX#p#qX#S'VX#U'VX#b'VX!o'VX#O'VXw'VX!m'VX&s'VX~O#S'YO~P*kO!m$Xa&s$Xa!x$Xa!n$Xa~PCqO!m$Ya&s$Ya!x$Ya!n$Ya~PCqO!m$Za&s$Za!x$Za!n$Za~PCqO!m$[a&s$[a!x$[a!n$[a~PCqO!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO$z#dOT$[a!S$[a!b$[a!m$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a&s$[a!x$[a!n$[a~Oz#RO~PNyO!m$_a&s$_a!x$_a!n$_a~PCqO!y!}O!}$fX#X$fX~O!}'^O#X'ZX~O#X'`O~O!s$kO#S'aO~O]'cO~O!s'eO~O!s'fO~O$l'gO~O!`'mO#S'kO#U'lO#b'jO$drO!x'XP~P0aO!^'sO!oXO!q'rO~O!s'uO!y$hO~O!y$hO#S'wO~O!y$hO#S'yO~O#u'zO!m$sX!}$sX&s$sX~O!}'{O!m'bX&s'bX~O!m#cO&s#cO~O!q(PO#O(OO~O!m$ka&s$ka!x$ka!n$ka~PCqOl(ROw(SO!o(TO!y!}O~O!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO~OT$yaz$ya!S$ya!b$ya!m$ya!v$ya#S$ya#z$ya#{$ya#|$ya#}$ya$O$ya$Q$ya$R$ya$S$ya$T$ya$U$ya$V$ya$W$ya$z$ya&s$ya!x$ya!}$ya#O$ya#X$ya!n$ya!q$yaV$ya#u$ya#w$ya~P!'WO!m$|a&s$|a!x$|a!n$|a~PCqO#W([O#`(YO#a(YO&r(ZOR&gX!o&gX#b&gX#e&gX&q&gX'f&gX~O'f(_O~P8lO!q(`O~PhO!o(cO!q(dO~O!q(`O&s(gO~PhO!a(kO~O!m(lO~P9yOZ(wOn(xO~O!s(zO~OT6iOz6gO!S6jO!b6kO!v8sO!}({O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'jX&s'jX~P!'WO#u)PO~O!})QO!m'`X&s'`X~Ol(RO!o(TO~Ow(SO!o)WO!q)ZO~O!m#cO!oXO&s#cO~O!o%pO!s#yO~OV)aO!})_O!m'kX&s'kX~O])cOs)cO!s#gO#peO~O!o%pO!s#gO#p)hO~OT6iOz6gO!S6jO!b6kO!v8sO!})iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&|X&s&|X#O&|X~P!'WOl(ROw(SO!o(TO~O!i)oO&t)oO~OT8vOz8tO!S8wO!b8xO!q)pO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#X)rO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!n)rO~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'TX!}'TX~P!'WOT'VXz'VX!S'VX!b'VX!o'VX!v'VX!y'VX#S'VX#W'VX#`'VX#a'VX#p#qX#s'VX#z'VX#{'VX#|'VX#}'VX$O'VX$Q'VX$R'VX$S'VX$T'VX$U'VX$V'VX$W'VX$z'VX~O!q)tO!x'VX!}'VX~P!5xO!x#iX!}#iX~P>UO!})vO!x'SX~O!x)xO~O$z#dOT#yiz#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi$W#yi&s#yi!x#yi!}#yi#O#yi#X#yi!n#yi!q#yiV#yi#u#yi#w#yi~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi&s#yi!x#yi!n#yi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!b#VO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi~P!'WOz#RO$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi~P!'WO_)yO~P9yO!x)|O~O#S*PO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Ta#X#Ta#O#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'Pa#X'Pa#O'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WO#S#oO#U#nO!}&WX#X&WX~P9yO!}&wO#X'Oa~O#X*SO~OT6iOz6gO!S6jO!b6kO!v8sO!}*UO#O*TO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'QX~P!'WO!}*UO!x'QX~O!x*WO~O!m#oi!o#oi#S#oi#p#qX&s#oi!x#oi#O#oiw#oi~OT#oiz#oi!S#oi!b#oi!v#oi!y#oi#W#oi#`#oi#a#oi#s#oi#z#oi#{#oi#|#oi#}#oi$O#oi$Q#oi$R#oi$S#oi$T#oi$U#oi$V#oi$W#oi$z#oi!}#oi#X#oi!n#oiV#oi!q#oi#u#oi#w#oi~P#*zO#l'SO!x#ka#S#ka#U#ka#b#ka!o#ka#O#kaw#ka!m#ka&s#ka~OPgOQ|OU^OW}O[4OOo5xOs#hOx3zOy3zO}`O!O]O!Q2^O!R}O!T4UO!U3|O!V3|O!Y2`O!c3xO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4SO$]4QO$^4SO$aqO$z2_O${!OO$}}O%O}O%V|O'g{O~O#l#oa#U#oa#b#oa~PIpOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pi!S#Pi!b#Pi!m#Pi&s#Pi!x#Pi!n#Pi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#vi!S#vi!b#vi!m#vi&s#vi!x#vi!n#vi~P!'WO!m#xi&s#xi!x#xi!n#xi~PCqO!s#gO#peO!}&^X#X&^X~O!}'^O#X'Za~O!s'uO~Ow(SO!o)WO!q*fO~O!s*jO~O#S*lO#U*mO#b*kO#l'SO~O#S*lO#U*mO#b*kO$drO~P0aO#u*oO!x$cX!}$cX~O#U*mO#b*kO~O#b*pO~O#b*rO~P0aO!}*sO!x'XX~O!x*uO~O!y*wO~O!^*{O!oXO!q*zO~O!q*}O!o'ci!m'ci&s'ci~O!q+QO#O+PO~O#b$nO!m&eX!}&eX&s&eX~O!}'{O!m'ba&s'ba~OT$kiz$ki!S$ki!b$ki!m$ki!o$ki!v$ki!y$ki#S$ki#W$ki#`$ki#a$ki#s$ki#u#fa#w#fa#z$ki#{$ki#|$ki#}$ki$O$ki$Q$ki$R$ki$S$ki$T$ki$U$ki$V$ki$W$ki$z$ki&s$ki!x$ki!}$ki#O$ki#X$ki!n$ki!q$kiV$ki~OS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n+hO#b$nO$aqO$drO~P0aO!s+lO~O#W+nO#`+mO#a+mO~O!s+pO#b+pO$}+pO%T+oO~O!n+qO~PCqOc%XXd%XXh%XXj%XXf%XXg%XXe%XX~PhOc+uOd+sOP%WiQ%WiS%WiU%WiW%WiX%Wi[%Wi]%Wi^%Wi`%Wia%Wib%Wik%Wim%Wio%Wip%Wiq%Wis%Wit%Wiu%Wiv%Wix%Wiy%Wi|%Wi}%Wi!O%Wi!P%Wi!Q%Wi!R%Wi!T%Wi!U%Wi!V%Wi!W%Wi!X%Wi!Y%Wi!Z%Wi![%Wi!]%Wi!^%Wi!`%Wi!a%Wi!c%Wi!m%Wi!o%Wi!s%Wi!y%Wi#W%Wi#b%Wi#d%Wi#e%Wi#p%Wi$T%Wi$]%Wi$^%Wi$a%Wi$d%Wi$l%Wi$z%Wi${%Wi$}%Wi%O%Wi%V%Wi&p%Wi'g%Wi&t%Wi!n%Wih%Wij%Wif%Wig%WiY%Wi_%Wii%Wie%Wi~Oc+yOd+vOh+xO~OY+zO_+{O!n,OO~OY+zO_+{Oi%^X~Oi,QO~Oj,RO~O!m,TO~P9yO!m,VO~Of,WO~OT6iOV,XOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOg,YO~O!y,ZO~OZ(wOn(xOP%liQ%liS%liU%liW%liX%li[%li]%li^%li`%lia%lib%lik%lim%lio%lip%liq%lis%lit%liu%liv%lix%liy%li|%li}%li!O%li!P%li!Q%li!R%li!T%li!U%li!V%li!W%li!X%li!Y%li!Z%li![%li!]%li!^%li!`%li!a%li!c%li!m%li!o%li!s%li!y%li#W%li#b%li#d%li#e%li#p%li$T%li$]%li$^%li$a%li$d%li$l%li$z%li${%li$}%li%O%li%V%li&p%li'g%li&t%li!n%lic%lid%lih%lij%lif%lig%liY%li_%lii%lie%li~O#u,_O~O!}({O!m%da&s%da~O!x,bO~O!s%dO!m&dX!}&dX&s&dX~O!})QO!m'`a&s'`a~OS+^OY,iOm+^Os$aO!^+dO!_+^O!`+^O$aqO$drO~O!n,lO~P#JwO!o)WO~O!o%pO!s'RO~O!s#gO#peO!m&nX!}&nX&s&nX~O!})_O!m'ka&s'ka~O!s,rO~OV,sO!n%|X!}%|X~O!},uO!n'lX~O!n,wO~O!m&UX!}&UX&s&UX#O&UX~P9yO!})iO!m&|a&s&|a#O&|a~Oz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq&s!uq!x!uq!n!uq~P!'WO!n,|O~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#ia!}#ia~P!'WO!x&YX!}&YX~PAOO!})vO!x'Sa~O#O-QO~O!}-RO!n&{X~O!n-TO~O!x-UO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vi#X#Vi~P!'WO!x&XX!}&XX~P9yO!}*UO!x'Qa~O!x-[O~OT#jqz#jq!S#jq!b#jq!m#jq!v#jq#S#jq#u#jq#w#jq#z#jq#{#jq#|#jq#}#jq$O#jq$Q#jq$R#jq$S#jq$T#jq$U#jq$V#jq$W#jq$z#jq&s#jq!x#jq!}#jq#O#jq#X#jq!n#jq!q#jqV#jq~P!'WO#l#oi#U#oi#b#oi~P#*zOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pq!S#Pq!b#Pq!m#Pq&s#Pq!x#Pq!n#Pq~P!'WO#u-dO!x$ca!}$ca~O#U-fO#b-eO~O#b-gO~O#S-hO#U-fO#b-eO#l'SO~O#b-jO#l'SO~O#u-kO!x$ha!}$ha~O!`'mO#S'kO#U'lO#b'jO$drO!x&_X!}&_X~P0aO!}*sO!x'Xa~O!oXO#l'SO~O#S-pO#b-oO!x'[P~O!oXO!q-rO~O!q-uO!o'cq!m'cq&s'cq~O!^-wO!oXO!q-rO~O!q-{O#O-zO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$si!}$si&s$si~P!'WO!m$jq&s$jq!x$jq!n$jq~PCqO#O-zO#l'SO~O!}-|Ow']X!o']X!m']X&s']X~O#b$nO#l'SO~OS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO$drO~P0aOS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO~P0aOS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n.ZO#b$nO$aqO$drO~P0aO!s.^O~O!s._O#b._O$}._O%T+oO~O$}.`O~O#X.aO~Oc%Xad%Xah%Xaj%Xaf%Xag%Xae%Xa~PhOc.dOd+sOP%WqQ%WqS%WqU%WqW%WqX%Wq[%Wq]%Wq^%Wq`%Wqa%Wqb%Wqk%Wqm%Wqo%Wqp%Wqq%Wqs%Wqt%Wqu%Wqv%Wqx%Wqy%Wq|%Wq}%Wq!O%Wq!P%Wq!Q%Wq!R%Wq!T%Wq!U%Wq!V%Wq!W%Wq!X%Wq!Y%Wq!Z%Wq![%Wq!]%Wq!^%Wq!`%Wq!a%Wq!c%Wq!m%Wq!o%Wq!s%Wq!y%Wq#W%Wq#b%Wq#d%Wq#e%Wq#p%Wq$T%Wq$]%Wq$^%Wq$a%Wq$d%Wq$l%Wq$z%Wq${%Wq$}%Wq%O%Wq%V%Wq&p%Wq'g%Wq&t%Wq!n%Wqh%Wqj%Wqf%Wqg%WqY%Wq_%Wqi%Wqe%Wq~Oc.iOd+vOh.hO~O!q(`O~OP6]OQ|OU^OW}O[:fOo>ROs#hOx:dOy:dO}`O!O]O!Q:kO!R}O!T:jO!U:eO!V:eO!Y:oO!c8gO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:hO$]:gO$^:hO$aqO$z:mO${!OO$}}O%O}O%V|O'g{O~O!m.lO!q.lO~OY+zO_+{O!n.nO~OY+zO_+{Oi%^a~O!x.rO~P>UO!m.tO~O!m.tO~P9yOQ|OW}O!R}O$}}O%O}O%V|O'g{O~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&ka!}&ka&s&ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$qi!}$qi&s$qi~P!'WOS+^Om+^Os$aO!_+^O!`+^O$aqO$drO~OY/PO~P$?VOS+^Om+^Os$aO!_+^O!`+^O$aqO~O!s/QO~O!n/SO~P#JwOw(SO!o)WO#l'SO~OV/VO!m&na!}&na&s&na~O!})_O!m'ki&s'ki~O!s/XO~OV/YO!n%|a!}%|a~O]/[Os/[O!s#gO#peO!n&oX!}&oX~O!},uO!n'la~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&Ua!}&Ua&s&Ua#O&Ua~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy&s!uy!x!uy!n!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#hi!}#hi~P!'WO_)yO!n&VX!}&VX~P9yO!}-RO!n&{a~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vq#X#Vq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#[i!}#[i~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O/cO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x&Xa!}&Xa~P!'WO#u/iO!x$ci!}$ci~O#b/jO~O#U/lO#b/kO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$ci!}$ci~P!'WO#u/mO!x$hi!}$hi~O!}/oO!x'[X~O#b/qO~O!x/rO~O!oXO!q/uO~O#l'SO!o'cy!m'cy&s'cy~O!m$jy&s$jy!x$jy!n$jy~PCqO#O/xO#l'SO~O!s#gO#peOw&aX!o&aX!}&aX!m&aX&s&aX~O!}-|Ow']a!o']a!m']a&s']a~OU$PO]0QO!R$PO!s$OO!v#}O#b$nO#p2XO~P$?uO!m#cO!o0VO&s#cO~O#X0YO~Oh0_O~OT:tOz:pO!S:vO!b:xO!m0`O!q0`O!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO~P!'WOY%]a_%]a!n%]ai%]a~PhO!x0bO~O!x0bO~P>UO!m0dO~OT6iOz6gO!S6jO!b6kO!v8sO!x0fO#O0eO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WO!x0fO~O!x0gO#b0hO#l'SO~O!x0iO~O!s0jO~O!m#cO#u0lO&s#cO~O!s0mO~O!})_O!m'kq&s'kq~O!s0nO~OV0oO!n%}X!}%}X~OT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!n!|i!}!|i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cq!}$cq~P!'WO#u0vO!x$cq!}$cq~O#b0wO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hq!}$hq~P!'WO#S0zO#b0yO!x&`X!}&`X~O!}/oO!x'[a~O#l'SO!o'c!R!m'c!R&s'c!R~O!oXO!q1PO~O!m$j!R&s$j!R!x$j!R!n$j!R~PCqO#O1RO#l'SO~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1^O!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOh1_O~OY%[i_%[i!n%[ii%[i~PhOY%]i_%]i!n%]ii%]i~PhO!x1bO~O!x1bO~P>UO!x1eO~O!m#cO#u1iO&s#cO~O$}1jO%V1jO~O!s1kO~OV1lO!n%}a!}%}a~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#]i!}#]i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cy!}$cy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hy!}$hy~P!'WO#b1nO~O!}/oO!x'[i~O!m$j!Z&s$j!Z!x$j!Z!n$j!Z~PCqOT:uOz:qO!S:wO!b:yO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO~P!'WOV1uO{1tO~P!5xOV1uO{1tOT&}Xz&}X!S&}X!b&}X!o&}X!v&}X!y&}X#S&}X#W&}X#`&}X#a&}X#s&}X#u&}X#w&}X#z&}X#{&}X#|&}X#}&}X$O&}X$Q&}X$R&}X$S&}X$T&}X$U&}X$V&}X$W&}X$z&}X~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1xO!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOY%[q_%[q!n%[qi%[q~PhO!x1zO~O!x%gi~PCqOe1{O~O$}1|O%V1|O~O!s2OO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$c!R!}$c!R~P!'WO!m$j!c&s$j!c!x$j!c!n$j!c~PCqO!s2QO~O!`2SO!s2RO~O!s2VO!m$xi&s$xi~O!s'WO~O!s*]O~OT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$ka#u$ka#w$ka&s$ka!x$ka!n$ka!q$ka#X$ka!}$ka~P!'WO#S2]O~P*kO$l$tO~P#.YOT6iOz6gO!S6jO!b6kO!v8sO#O2[O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX&s'PX!x'PX!n'PX~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O3uO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'PX#X'PX#u'PX#w'PX!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~P!'WO#S3dO~P#.YOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Xa#u$Xa#w$Xa&s$Xa!x$Xa!n$Xa!q$Xa#X$Xa!}$Xa~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Ya#u$Ya#w$Ya&s$Ya!x$Ya!n$Ya!q$Ya#X$Ya!}$Ya~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Za#u$Za#w$Za&s$Za!x$Za!n$Za!q$Za#X$Za!}$Za~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$[a#u$[a#w$[a&s$[a!x$[a!n$[a!q$[a#X$[a!}$[a~P!'WOz2aO#u$[a#w$[a!q$[a#X$[a!}$[a~PNyOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$_a#u$_a#w$_a&s$_a!x$_a!n$_a!q$_a#X$_a!}$_a~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$|a#u$|a#w$|a&s$|a!x$|a!n$|a!q$|a#X$|a!}$|a~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#Ta#u#Ta#w#Ta&s#Ta!x#Ta!n#Ta!q#Ta#X#Ta!}#Ta~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m'Pa#u'Pa#w'Pa&s'Pa!x'Pa!n'Pa!q'Pa#X'Pa!}'Pa~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pi!S#Pi!b#Pi!m#Pi#u#Pi#w#Pi&s#Pi!x#Pi!n#Pi!q#Pi#X#Pi!}#Pi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#vi!S#vi!b#vi!m#vi#u#vi#w#vi&s#vi!x#vi!n#vi!q#vi#X#vi!}#vi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#xi#u#xi#w#xi&s#xi!x#xi!n#xi!q#xi#X#xi!}#xi~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq#u!uq#w!uq&s!uq!x!uq!n!uq!q!uq#X!uq!}!uq~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pq!S#Pq!b#Pq!m#Pq#u#Pq#w#Pq&s#Pq!x#Pq!n#Pq!q#Pq#X#Pq!}#Pq~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jq#u$jq#w$jq&s$jq!x$jq!n$jq!q$jq#X$jq!}$jq~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy#u!uy#w!uy&s!uy!x!uy!n!uy!q!uy#X!uy!}!uy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jy#u$jy#w$jy&s$jy!x$jy!n$jy!q$jy#X$jy!}$jy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!R#u$j!R#w$j!R&s$j!R!x$j!R!n$j!R!q$j!R#X$j!R!}$j!R~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!Z#u$j!Z#w$j!Z&s$j!Z!x$j!Z!n$j!Z!q$j!Z#X$j!Z!}$j!Z~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!c#u$j!c#w$j!c&s$j!c!x$j!c!n$j!c!q$j!c#X$j!c!}$j!c~P!'WOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S3vO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lO#u2uO#w2vO!q&zX#X&zX!}&zX~P0rOP6]OU^O[4POo8^Or2wOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S2tO#U2sO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!v#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX&s#xX!x#xX!n#xX!q#xX#X#xX!}#xX~P$;lOP6]OU^O[4POo8^Or4xOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S4uO#U4tO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!o#xX!v#xX!}#xX#O#xX#X#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!m#xX&s#xX!x#xX!n#xXV#xX!q#xX~P$;lO!q3PO~P>UO!q5}O#O3gO~OT8vOz8tO!S8wO!b8xO!q3hO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q6OO#O3kO~O!q6PO#O3oO~O#O3oO#l'SO~O#O3pO#l'SO~O#O3sO#l'SO~OP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$l$tO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S5eO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Xa#O$Xa#X$Xa#u$Xa#w$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Ya#O$Ya#X$Ya#u$Ya#w$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Za#O$Za#X$Za#u$Za#w$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$[a#O$[a#X$[a#u$[a#w$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz4dO!}$[a#O$[a#X$[a#u$[a#w$[aV$[a!q$[a~PNyOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$_a#O$_a#X$_a#u$_a#w$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$|a#O$|a#X$|a#u$|a#w$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#Ta#O#Ta#X#Ta#u#Ta#w#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'Pa#O'Pa#X'Pa#u'Pa#w'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi#u#Pi#w#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi#u#vi#w#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#xi#O#xi#X#xi#u#xi#w#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq#u!uq#w!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq#u#Pq#w#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jq#O$jq#X$jq#u$jq#w$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy#u!uy#w!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jy#O$jy#X$jy#u$jy#w$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!R#O$j!R#X$j!R#u$j!R#w$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!Z#O$j!Z#X$j!Z#u$j!Z#w$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!c#O$j!c#X$j!c#u$j!c#w$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S5wO~P#.YO!y$hO#S5{O~O!x4ZO#l'SO~O!y$hO#S5|O~OT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$ka#O$ka#X$ka#u$ka#w$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O5vO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!m'PX#u'PX#w'PX&s'PX!x'PX!n'PX!q'PX#X'PX!}'PX~P!'WO#u4vO#w4wO!}&zX#O&zX#X&zXV&zX!q&zX~P0rO!q5QO~P>UO!q8bO#O5hO~OT8vOz8tO!S8wO!b8xO!q5iO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q8cO#O5lO~O!q8dO#O5pO~O#O5pO#l'SO~O#O5qO#l'SO~O#O5tO#l'SO~O$l$tO~P9yOo5zOs$lO~O#S7oO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Xa#O$Xa#X$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Ya#O$Ya#X$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Za#O$Za#X$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$[a#O$[a#X$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz6gO!}$[a#O$[a#X$[aV$[a!q$[a~PNyOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$_a#O$_a#X$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$ka#O$ka#X$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$|a#O$|a#X$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7sO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'jX~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7uO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&|X~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WO#S7zO~P>UO!m#Ta&s#Ta!x#Ta!n#Ta~PCqO!m'Pa&s'Pa!x'Pa!n'Pa~PCqO#S;dO#U;cO!x&WX!}&WX~P9yO!}7lO!x'Oa~Oz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#xi#O#xi#X#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WO!}7sO!x%da~O!x&UX!}&UX~P>UO!}7uO!x&|a~Oz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vi!}#Vi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jq#O$jq#X$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&ka!}&ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&Ua!}&Ua~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vq!}#Vq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jy#O$jy#X$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!R#O$j!R#X$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!Z#O$j!Z#X$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!c#O$j!c#X$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S8[O~P9yO#O8ZO!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~PGSO!y$hO#S8`O~O!y$hO#S8aO~O#u6zO#w6{O!}&zX#O&zX#X&zXV&zX!q&zX~P0rOr6|O#S#oO#U#nO!}#xX#O#xX#X#xXV#xX!q#xX~P2yOr;iO#S9XO#U9VOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!n#xX!}#xX~P9yOr9WO#S9WO#U9WOT#xXz#xX!S#xX!b#xX!o#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX~P9yOr9]O#S;dO#U;cOT#xXz#xX!S#xX!b#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX#X#xX!x#xX!}#xX~P9yO$l$tO~P>UO!q7XO~P>UOT6iOz6gO!S6jO!b6kO!v8sO#O7iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'PX!}'PX~P!'WOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lO!}7lO!x'OX~O#S9yO~P>UOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Xa#X$Xa!x$Xa!}$Xa~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Ya#X$Ya!x$Ya!}$Ya~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Za#X$Za!x$Za!}$Za~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$[a#X$[a!x$[a!}$[a~P!'WOz8tO$z#dOT$[a!S$[a!b$[a!q$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a#X$[a!x$[a!}$[a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$_a#X$_a!x$_a!}$_a~P!'WO!q=dO#O7rO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$ka#X$ka!x$ka!}$ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$|a#X$|a!x$|a!}$|a~P!'WOT8vOz8tO!S8wO!b8xO!q7wO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi#X#yi!x#yi!}#yi~P!'WOz8tO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pi!S#Pi!b#Pi!q#Pi#X#Pi!x#Pi!}#Pi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#vi!S#vi!b#vi!q#vi#X#vi!x#vi!}#vi~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q#xi#X#xi!x#xi!}#xi~P!'WO!q=eO#O7|O~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uq!S!uq!b!uq!q!uq!v!uq#X!uq!x!uq!}!uq~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pq!S#Pq!b#Pq!q#Pq#X#Pq!x#Pq!}#Pq~P!'WO!q=iO#O8TO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jq#X$jq!x$jq!}$jq~P!'WO#O8TO#l'SO~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uy!S!uy!b!uy!q!uy!v!uy#X!uy!x!uy!}!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jy#X$jy!x$jy!}$jy~P!'WO#O8UO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!R#X$j!R!x$j!R!}$j!R~P!'WO#O8XO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!Z#X$j!Z!x$j!Z!}$j!Z~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!c#X$j!c!x$j!c!}$j!c~P!'WO#S:bO~P>UO#O:aO!q'PX!x'PX~PGSO$l$tO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$l$tO$z:nO${!OO~P$;lOo8_Os$lO~O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#S=UO#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOT6iOz6gO!S6jO!b6kO!v8sO#O=SO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O=RO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX!q'PX!n'PX!}'PX~P!'WOT&zXz&zX!S&zX!b&zX!o&zX!q&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX!}&zX~O#u9ZO#w9[O#X&zX!x&zX~P.8oO!y$hO#S=^O~O!q9hO~P>UO!y$hO#S=cO~O!q>OO#O9}O~OT8vOz8tO!S8wO!b8xO!q:OO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m#Ta!q#Ta!n#Ta!}#Ta~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m'Pa!q'Pa!n'Pa!}'Pa~P!'WO!q>PO#O:RO~O!q>QO#O:YO~O#O:YO#l'SO~O#O:ZO#l'SO~O#O:_O#l'SO~O#u;eO#w;gO!m&zX!n&zX~P.8oO#u;fO#w;hOT&zXz&zX!S&zX!b&zX!o&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX~O!q;tO~P>UO!q;uO~P>UO!q>XO#OYO#O9WO~OT8vOz8tO!S8wO!b8xO!qZO#O[O#O<{O~O#O<{O#l'SO~O#O9WO#l'SO~O#O<|O#l'SO~O#O=PO#l'SO~O!y$hO#S=|O~Oo=[Os$lO~O!y$hO#S=}O~O!y$hO#S>UO~O!y$hO#S>VO~O!y$hO#S>WO~Oo={Os$lO~Oo>TOs$lO~Oo>SOs$lO~O%O$U$}$d!d$V#b%V#e'g!s#d~",goto:"%&y'mPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'nP'uPP'{(OPPP(hP(OP(O*ZP*ZPP2W:j:mPP*Z:sBpPBsPBsPP:sCSCVCZ:s:sPPPC^PP:sK^!$S!$S:s!$WP!$W!$W!%UP!.]!7pP!?oP*ZP*Z*ZPPPPP!?rPPPPPPP*Z*Z*Z*ZPP*Z*ZP!E]!GRP!GV!Gy!GR!GR!HP*Z*ZP!HY!Hl!Ib!J`!Jd!J`!Jo!J}!J}!KV!KY!KY*ZPP*ZPP!K^#%[#%[#%`P#%fP(O#%j(O#&S#&V#&V#&](O#&`(O(O#&f#&i(O#&r#&u(O(O(O(O(O#&x(O(O(O(O(O(O(O(O(O#&{!KR(O(O#'_#'o#'r(O(OP#'u#'|#(S#(o#(y#)P#)Z#)b#)h#*d#4X#5T#5Z#5a#5k#5q#5w#6]#6c#6i#6o#6u#6{#7R#7]#7g#7m#7s#7}PPPPPPPP#8T#8X#8}#NO#NR#N]$(f$(r$)X$)_$)b$)e$)k$,X$5v$>_$>b$>h$>k$>n$>w$>{$?X$?k$Bk$CO$C{$K{PP%%y%%}%&Z%&p%&vQ!nQT!qV!rQUOR%x!mRVO}!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a|!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ%^!ZQ%g!aQ%l!eQ'd$dQ'q$iQ)[%kQ*y'tQ,](xU-n*v*x+OQ.W+cQ.{,[S/t-s-tQ0T.SS0}/s/wQ1V0RQ1o1OR2P1p0u!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3ZfPVX[_bgjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#}$R$S$U$h$y$}%P%R%S%T%U%c%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)_)c)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3scPVX[_bdegjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#{#}$R$S$U$h$y$}%P%R%S%T%U%c%m%n%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)^)_)c)g)h)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u,x-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2W2X2Y2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[0phPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0`0a0d0e0i0v1R1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uRS=p>S>VS=s>T>UR=t>WT'n$h*s!csPVXt!S!j!r!s!w$h$}%P%S%U'i(T(`)W*s+]+g+r+u,g,k.b.d.l0`0a0i1aQ$^rR*`'^Q*x'sQ-t*{R/w-wQ(W$tQ)U%hQ)n%vQ*i'fQ+k(XR-c*jQ(V$tQ)Y%jQ)m%vQ*e'eS*h'f)nS+j(W(XS-b*i*jQ.]+kQ/T,mQ/e-`R/g-cQ(U$tQ)T%hQ)V%iQ)l%vU*g'f)m)nU+i(V(W(XQ,f)UU-a*h*i*jS.[+j+kS/f-b-cQ0X.]R0t/gT+e(T+g[%e!_$b'c+a.R0QR,d)Qb$ov(T+[+]+`+g.P.Q0PR+T'{S+e(T+gT,j)W,kR0W.XT1[0V1]0w|PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[R2Y2X|tPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aW$`t'i+],gS'i$h*sS+](T+gT,g)W,kQ'_$^R*a'_Q*t'oR-m*tQ/p-oS0{/p0|R0|/qQ-}+XR/|-}Q+g(TR.Y+gS+`(T+gS,h)W,kQ.Q+]W.T+`,h.Q/OR/O,gQ)R%eR,e)RQ'|$oR+U'|Q1]0VR1w1]Q${{R(^${Q+t(aR.c+tQ+w(bR.g+wQ+}(cQ,P(dT.m+},PQ(|%`S,a(|7tR7t7VQ(y%^R,^(yQ,k)WR/R,kQ)`%oS,q)`/WR/W,rQ,v)dR/^,vT!uV!rj!iPVX!j!r!s!w(`+r.l0`0a1aQ%Q!SQ(a$}W(h%P%S%U0iQ.e+uQ0Z.bR0[.d|ZPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ#f[U#m_#s&wQ#wbQ$VkQ$WlQ$XmQ$YnQ$ZoQ$[pQ$sx^$uy2_4b6e8q:m:nQ$vzQ%W!WQ%Y!XQ%[!YW%`!]%R(l,VU%s!g&p-RQ%|!yQ&O!zQ&Q!{S&U!})v^&^#R2a4d6g8t:p:qQ&_#SQ&`#TQ&a#UQ&b#VQ&c#WQ&d#XQ&e#YQ&f#ZQ&g#[Q&h#]Q&i#^Q&j#_Q&k#`Q&l#aQ&m#bQ&u#nQ&v#oS&{#t'OQ'X$RQ'Z$SQ'[$UQ(]$yQ(p%TQ)q%}Q)s&SQ)u&WQ*O&tS*['U4ZQ*^'Y^*_2[3u5v8Z:a=R=SQ+S'zQ+V(OQ,`({Q,c)PQ,y)iQ,{)pQ,})tQ-V*PQ-W*TQ-X*U^-]2]3v5w8[:b=T=UQ-i*oQ-x+PQ.k+zQ.w,XQ/`-QQ/h-dQ/n-kQ/y-zQ0r/cQ0u/iQ0x/mQ1Q/xU1X0V1]9WQ1d0eQ1m0vQ1q1RQ2Z2^Q2qjQ2r3yQ2x3zQ2y3|Q2z4OQ2{4QQ2|4SQ2}4UQ3O2`Q3Q2bQ3R2cQ3S2dQ3T2eQ3U2fQ3V2gQ3W2hQ3X2iQ3Y2jQ3Z2kQ3[2lQ3]2mQ3^2nQ3_2oQ3`2pQ3a2sQ3b2tQ3c2uQ3e2vQ3f2wQ3i3PQ3j3dQ3l3gQ3m3hQ3n3kQ3q3oQ3r3pQ3t3sQ4Y4WQ4y3{Q4z3}Q4{4PQ4|4RQ4}4TQ5O4VQ5P4cQ5R4eQ5S4fQ5T4gQ5U4hQ5V4iQ5W4jQ5X4kQ5Y4lQ5Z4mQ5[4nQ5]4oQ5^4pQ5_4qQ5`4rQ5a4sQ5b4tQ5c4uQ5d4vQ5f4wQ5g4xQ5j5QQ5k5eQ5m5hQ5n5iQ5o5lQ5r5pQ5s5qQ5u5tQ6Q4aQ6R3xQ6V6TQ6}6^Q7O6_Q7P6`Q7Q6aQ7R6bQ7S6cQ7T6dQ7U6fU7V,T.t0dQ7W%cQ7Y6hQ7Z6iQ7[6jQ7]6kQ7^6lQ7_6mQ7`6nQ7a6oQ7b6pQ7c6qQ7d6rQ7e6sQ7f6tQ7g6uQ7h6vQ7j6xQ7k6yQ7n6zQ7p6{Q7q6|Q7x7XQ7y7iQ7{7oQ7}7rQ8O7sQ8P7uQ8Q7wQ8R7zQ8S7|Q8V8TQ8W8UQ8Y8XQ8]8fU9U#k&s7lQ9^8jQ9_8kQ9`8lQ9a8mQ9b8nQ9c8oQ9e8pQ9f8rQ9g8sQ9i8uQ9j8vQ9k8wQ9l8xQ9m8yQ9n8zQ9o8{Q9p8|Q9q8}Q9r9OQ9s9PQ9t9QQ9u9RQ9v9SQ9w9TQ9x9ZQ9z9[Q9{9]Q:P9hQ:Q9yQ:T9}Q:V:OQ:W:RQ:[:YQ:^:ZQ:`:_Q:c8iQ;j:dQ;k:eQ;l:fQ;m:gQ;n:hQ;o:iQ;p:jQ;q:kQ;r:lQ;s:oQ;v:rQ;w:sQ;x:tQ;y:uQ;z:vQ;{:wQ;|:xQ;}:yQOQ=h>PQ=j>QQ=u>XQ=v>YQ=w>ZR=x>[0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[S$]r'^Q%k!eS%o!f%rQ)b%pU+X(R(S+dQ,p)_Q,t)cQ/Z,uQ/{-|R0p/[|vPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a#U#i[bklmnopxyz!W!X!Y!{#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b$R$S$U$y%}&S'Y(O)p+P-z/x0e1R2[2]6x6yd+^(T)W+]+`+g,g,h,k.Q/O!t6w'U2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x;b3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O=z_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["isolate",-4,66,67,70,191,""],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[LO],skippedNodes:[0],repeatNodeCount:29,tokenData:"!F|_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9W!e!}!7z!}#O!;^#O#P!;z#P#Q!V<%lO8VR9WV&wP%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%VQQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV&wP%VQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRV<%l~8V~O8V~~%fR=OW&wPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!yQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!xU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY&wP$VQOY$zYZ%fZz$zz{@^{!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR@eW$WQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRAUY$TQ&wPOY$zYZ%fZ{$z{|At|!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRA{V$zQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRBiV!}Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_CXZ$TQ%TW&wPOY$zYZ%fZ}$z}!OAt!O!^$z!^!_%k!_!`6U!`!aCz!a;'S$z;'S;=`&W<%lO$zVDRV#`U&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVDo[&wP$UQOY$zYZ%fZ!O$z!O!PEe!P!Q$z!Q![Fs![!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVEjX&wPOY$zYZ%fZ!O$z!O!PFV!P!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVF^V#UU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRFz_&wP%OQOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#SJc#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zRHO]&wPOY$zYZ%fZ{$z{|Hw|}$z}!OHw!O!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRH|X&wPOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRIpZ&wP%OQOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_#R$z#R#SHw#S;'S$z;'S;=`&W<%lO$zRJhX&wPOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVK[[&wP$VQOY$zYZ%fZz$zz{LQ{!P$z!P!Q,o!Q!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVLVX&wPOYLQYZLrZzLQz{N_{!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQVLwT&wPOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMZTOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMmVOzMWz{Mj{!PMW!P!QNS!Q;'SMW;'S;=`NX<%lOMWUNXO!eUUN[P;=`<%lMWVNdZ&wPOYLQYZLrZzLQz{N_{!PLQ!P!Q! V!Q!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQV! ^V!eU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV! vZOYLQYZLrZzLQz{N_{!aLQ!a!bMW!b;'SLQ;'S;=`!!i<%l~LQ~OLQ~~%fV!!lP;=`<%lLQZ!!vm&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!d$z!d!e!&o!e!g$z!g!hGy!h!q$z!q!r!(a!r!z$z!z!{!){!{#R$z#R#S!%}#S#U$z#U#V!&o#V#X$z#X#YGy#Y#c$z#c#d!(a#d#l$z#l#m!){#m;'S$z;'S;=`&W<%lO$zZ!$xa&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#S!%}#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zZ!&SX&wPOY$zYZ%fZ!Q$z!Q![!$q![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!&tY&wPOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!'k[&wP$}YOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_#R$z#R#S!&o#S;'S$z;'S;=`&W<%lO$zZ!(fX&wPOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!)YZ&wP$}YOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_#R$z#R#S!(a#S;'S$z;'S;=`&W<%lO$zZ!*Q]&wPOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zZ!+Q_&wP$}YOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#R$z#R#S!){#S#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zR!,WX!qQ&wPOY$zYZ%fZ![$z![!]!,s!]!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!,zV#sQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!-hV!mU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!.S[$RQOY$zYZ%fZ!^$z!^!_!.x!_!`!/i!`!a*c!a!b!0]!b;'S$z;'S;=`&W<%l~$z~O$z~~%fR!/PW$SQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!/pX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a*c!a;'S$z;'S;=`&W<%lO$zP!0bR!iP!_!`!0k!r!s!0p#d#e!0pP!0pO!iPP!0sQ!j!k!0y#[#]!0yP!0|Q!r!s!0k#d#e!0kV!1ZX#uQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`!a!1v!a;'S$z;'S;=`&W<%lO$zV!1}V#OU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!2kX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`!3W!`!a!.x!a;'S$z;'S;=`&W<%lO$zR!3_V$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!3{[!vQ&wPOY$zYZ%fZ}$z}!O!4q!O!^$z!^!_%k!_!`$z!`!a!6P!a!b!6m!b;'S$z;'S;=`&W<%lO$zV!4vX&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a!5c!a;'S$z;'S;=`&W<%lO$zV!5jV#aU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!6WV!gU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!6tW#zQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!7eV$]Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!8Ra&wP!s^OY$zYZ%fZ!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$z_!9_e&wP!s^OY$zYZ%fZr$zrs!:psw$zwx8Vx!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$zR!:wV&wP'gQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!;eV#WU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!mZ!^!=u!^!_!@u!_#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%lO!=uR!>rV&wPO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?[VO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?tRO;'S!?X;'S;=`!?};=`O!?XQ!@QWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!?X<%lO!?XQ!@oO${QQ!@rP;=`<%l!?XR!@x]OY!=uYZ!>mZ!a!=u!a!b!?X!b#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%l~!=u~O!=u~~%fR!AvW&wPOY!=uYZ!>mZ!^!=u!^!_!@u!_;'S!=u;'S;=`!B`;=`<%l!?X<%lO!=uR!BcWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!=u<%lO!?XR!CSV${Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!ClP;=`<%l!=uV!CvV!oU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!DfY#}Q#lS&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[EO,CO,NO,0,1,2,3,IO],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(O,Q)=>d(O)<<1,external:d},{term:81,get:O=>AO[O]||-1}],tokenPrec:29354}),KO=l.define({name:"php",parser:HO.configure({props:[x.add({IfStatement:W({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:W({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),y=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:y?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":R({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:W({except:/^({|end(for|foreach|switch|while)\b)/})}),V.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":r,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function O$(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let y=U({matchClosingTags:!1});Q.push(y.support),i=y.language}return new v(KO.configure({wrap:i&&u(y=>y.type.isTop?{parser:i.parser,overlay:z=>z.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{O$ as php,KO as phpLanguage}; diff --git a/public/admin/assets/index-635e8a50.css b/public/admin/assets/index-635e8a50.css deleted file mode 100644 index cb57fc3..0000000 --- a/public/admin/assets/index-635e8a50.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.topbar-container[data-v-ebe52c5a]{position:absolute;z-index:999;top:0;display:flex;align-items:center;justify-content:space-between;height:var(--g-topbar-height);background-color:var(--g-toolbar-bg);transition:width .3s,top .3s,transform .3s,background-color .3s,var(--el-transition-box-shadow)}.topbar-container.topbar-fixed[data-v-ebe52c5a],.topbar-container.topbar-sticky[data-v-ebe52c5a]{position:fixed}.topbar-container.topbar-fixed.shadow[data-v-ebe52c5a],.topbar-container.topbar-sticky.shadow[data-v-ebe52c5a]{box-shadow:0 10px 10px -10px var(--g-box-shadow-color)}.topbar-container.topbar-sticky.hide[data-v-ebe52c5a]{top:calc(var(--g-topbar-height) * -1)!important}.topbar-container .left-box[data-v-ebe52c5a]{display:flex;align-items:center;padding-right:50px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 50px),transparent);mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 50px),transparent)}.topbar-container .left-box .sidebar-collapse[data-v-ebe52c5a]{display:flex;align-items:center;padding:0 20px;height:50px;cursor:pointer}.topbar-container .left-box .sidebar-collapse .el-icon[data-v-ebe52c5a]{color:var(--el-text-color-primary);transition:var(--el-transition-color),var(--el-transition-md-fade)}.topbar-container .left-box .sidebar-collapse:hover .el-icon[data-v-ebe52c5a]{color:var(--el-color-primary)}.topbar-container .left-box .sidebar-collapse.is-collapse .el-icon[data-v-ebe52c5a]{transform:rotate(-180deg)}.topbar-container .left-box .sidebar-collapse+.el-breadcrumb[data-v-ebe52c5a]{margin-left:0}.topbar-container .left-box[data-v-ebe52c5a] .el-breadcrumb{margin-left:20px;white-space:nowrap}.topbar-container .left-box[data-v-ebe52c5a] .el-breadcrumb .el-breadcrumb__item{display:inline-block;float:none}.topbar-container .left-box[data-v-ebe52c5a] .el-breadcrumb .el-breadcrumb__item span{font-weight:400}.topbar-container .left-box[data-v-ebe52c5a] .el-breadcrumb .el-breadcrumb__item:last-child span{color:#97a8be}.breadcrumb-enter-active[data-v-ebe52c5a]{transition:all .25s}.breadcrumb-enter-from[data-v-ebe52c5a],.breadcrumb-leave-active[data-v-ebe52c5a]{opacity:0;transform:translate(30px) skew(-50deg)} diff --git a/public/admin/assets/index-67c7447d.js b/public/admin/assets/index-67c7447d.js deleted file mode 100644 index ca46e5c..0000000 --- a/public/admin/assets/index-67c7447d.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as v,y as C,A as M,r as B,h as T,o as e,I as f,f as p,b as s,c as o,a as n,e as i,m as x,S as h,U as w,J as a,T as N,G as V,t as H,_ as I,n as L}from"./index-e656eb90.js";import R from"./index-9f94fa8a.js";import{T as $}from"./index-ae957cc8.js";import{u as b}from"./useMenu-e606149a.js";import"./index-c0974f86.js";const z={key:0},A={class:"header-container"},D={class:"main"},E=["onClick"],F={key:1},G=v({name:"Header"}),J=v({...G,setup(U){const l=C(),_=M(),{switchTo:k}=b(),d=B();function y(r){d.value.scrollBy({left:(r.deltaY||r.detail)>0?50:-50})}return(r,W)=>{const g=I,S=T("el-icon");return e(),f(N,{name:"header"},{default:p(()=>[s(l).mode==="pc"&&s(l).settings.menu.menuMode==="head"?(e(),o("header",z,[n("div",A,[n("div",D,[i(R),n("div",{ref_key:"navRef",ref:d,class:"nav",onWheel:x(y,["prevent"])},[(e(!0),o(h,null,w(s(_).allMenus,(t,c)=>{var m,u;return e(),o(h,{key:c},[t.children&&t.children.length!==0?(e(),o("div",{key:0,class:V(["item-container",{active:c===s(_).actived}])},[n("div",{class:"item",onClick:Y=>s(k)(c)},[(m=t.meta)!=null&&m.icon?(e(),f(S,{key:0},{default:p(()=>[i(g,{name:t.meta.icon},null,8,["name"])]),_:2},1024)):a("",!0),(u=t.meta)!=null&&u.title?(e(),o("span",F,H(t.meta.title),1)):a("",!0)],8,E)],2)):a("",!0)],64)}),128))],544)]),i($)])])):a("",!0)]),_:1})}}});const Q=L(J,[["__scopeId","data-v-381f1d85"]]);export{Q as default}; diff --git a/public/admin/assets/index-6Kdv6eht.css b/public/admin/assets/index-6Kdv6eht.css new file mode 100644 index 0000000..5b772d7 --- /dev/null +++ b/public/admin/assets/index-6Kdv6eht.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.divider[data-v-55eb7634]{margin-top:1rem;margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:500}.divider[data-v-55eb7634]:before,.divider[data-v-55eb7634]:after{width:100%;height:1px;--un-bg-opacity:1;background-color:rgb(231 229 228 / var(--un-bg-opacity));content:""}.dark .divider[data-v-55eb7634]:before,.dark .divider[data-v-55eb7634]:after{--un-bg-opacity:1;background-color:rgb(87 83 78 / var(--un-bg-opacity))}.menu-mode[data-v-55eb7634]{display:flex;align-items:center;justify-content:center;gap:1rem;padding-bottom:1rem}.menu-mode .mode[data-v-55eb7634]{position:relative;width:4rem;height:3rem;cursor:pointer;border-radius:.5rem;--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(231 229 228 / var(--un-ring-opacity));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.dark .menu-mode .mode[data-v-55eb7634]{--un-ring-opacity:1;--un-ring-color:rgb(68 64 60 / var(--un-ring-opacity))}.menu-mode .mode.active[data-v-55eb7634]{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(var(--ui-primary) / var(--un-ring-opacity))}.menu-mode .mode[data-v-55eb7634]:before,.menu-mode .mode[data-v-55eb7634]:after,.menu-mode .mode .mode-container[data-v-55eb7634]{pointer-events:none;position:absolute}.menu-mode .mode[data-v-55eb7634]:before{--un-bg-opacity:1;background-color:rgb(var(--ui-primary) / var(--un-bg-opacity));content:""}.menu-mode .mode[data-v-55eb7634]:after{background-color:rgb(var(--ui-primary) / .6);content:""}.menu-mode .mode .mode-container[data-v-55eb7634]{--un-border-opacity:1;border-color:rgb(var(--ui-primary) / var(--un-border-opacity));border-style:dashed;background-color:rgb(var(--ui-primary) / .2)}.menu-mode .mode .mode-container[data-v-55eb7634]:before{position:absolute;width:100%;height:100%;content:""}.menu-mode .mode-side[data-v-55eb7634]:before{top:.5rem;bottom:.5rem;left:.5rem;width:.5rem;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.menu-mode .mode-side[data-v-55eb7634]:after{top:.5rem;bottom:.5rem;left:1.125rem;width:.75rem}.menu-mode .mode-side .mode-container[data-v-55eb7634]{top:.5rem;right:.5rem;bottom:.5rem;left:2rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.menu-mode .mode-head[data-v-55eb7634]:before{top:.5rem;left:.5rem;right:.5rem;height:.5rem;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.menu-mode .mode-head[data-v-55eb7634]:after{top:1.125rem;left:.5rem;bottom:.5rem;width:.75rem;border-bottom-left-radius:.25rem}.menu-mode .mode-head .mode-container[data-v-55eb7634]{top:1.125rem;right:.5rem;bottom:.5rem;left:1.375rem;border-bottom-right-radius:.25rem}.menu-mode .mode-single[data-v-55eb7634]:after{top:.5rem;left:.5rem;bottom:.5rem;width:.75rem;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.menu-mode .mode-single .mode-container[data-v-55eb7634]{top:.5rem;right:.5rem;bottom:.5rem;left:1.375rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.setting-item[data-v-55eb7634]{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-radius:.5rem;padding:.5rem 1rem;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.setting-item[data-v-55eb7634]:hover{--un-bg-opacity:1;background-color:rgb(245 245 244 / var(--un-bg-opacity))}.dark .setting-item[data-v-55eb7634]:hover{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.setting-item .label[data-v-55eb7634]{display:flex;flex-shrink:0;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem}.setting-item .label i[data-v-55eb7634]{cursor:help;font-size:1.25rem;line-height:1.75rem;--un-text-opacity:1;color:rgb(251 146 60 / var(--un-text-opacity))} diff --git a/public/admin/assets/index-6Kdv6eht.css.br b/public/admin/assets/index-6Kdv6eht.css.br new file mode 100644 index 0000000..5a698d0 Binary files /dev/null and b/public/admin/assets/index-6Kdv6eht.css.br differ diff --git a/public/admin/assets/index-6Kdv6eht.css.gz b/public/admin/assets/index-6Kdv6eht.css.gz new file mode 100644 index 0000000..3ee8192 Binary files /dev/null and b/public/admin/assets/index-6Kdv6eht.css.gz differ diff --git a/public/admin/assets/index-71ec1a99.js b/public/admin/assets/index-71ec1a99.js deleted file mode 100644 index 90e0736..0000000 --- a/public/admin/assets/index-71ec1a99.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{s,t as r,b as n,L as o,i as P,c as a,f as i,k as Q,a as c}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const p=s({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,",":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),g=n.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[p],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),T=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=u(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function u(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const l=o.define({name:"json",parser:g.configure({props:[P.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":Q})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function f(){return new c(l)}export{f as json,l as jsonLanguage,T as jsonParseLinter}; diff --git a/public/admin/assets/index-726fcaec.js b/public/admin/assets/index-726fcaec.js deleted file mode 100644 index d18ef0d..0000000 --- a/public/admin/assets/index-726fcaec.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as c,r as d,y as g,x as h,o as a,c as n,b as s,t as u,J as l,g as y,p as f,i as m,a as r,n as S}from"./index-e656eb90.js";import{a as x}from"./config-e611a8d0.js";const i=e=>(f("data-v-183a3e32"),e=e(),m(),e),C={class:"copyright"},v=i(()=>r("span",null,"Copyright",-1)),k=i(()=>r("span",{class:"icon"},"©",-1)),I=["href"],b=c({name:"Copyright"}),B=c({...b,setup(e){const t=d({copyrightTitle:"NineAi Admin",copyrightUrl:"/"});async function _(){const o=await x.copyright();o.success&&(t.value=o.data)}y();const p=g();return h(()=>{_()}),(o,N)=>(a(),n("footer",C,[v,k,s(p).settings.copyright.beian?(a(),n("a",{key:0,href:s(t).copyrightUrl,target:"_blank",rel:"noopener"},u(s(t).copyrightTitle),9,I)):l("",!0)]))}});const T=S(B,[["__scopeId","data-v-183a3e32"]]);export{T as _}; diff --git a/public/admin/assets/index-743018f7.css b/public/admin/assets/index-743018f7.css deleted file mode 100644 index 3eb24e5..0000000 --- a/public/admin/assets/index-743018f7.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.prompt,.answer{width:100%;max-height:80px;white-space:normal;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.answer_container{max-height:500px;overflow:overlay} diff --git a/public/admin/assets/index-7708e0af.css b/public/admin/assets/index-7708e0af.css deleted file mode 100644 index 02c206a..0000000 --- a/public/admin/assets/index-7708e0af.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -@charset "UTF-8";[data-v-d4bf3ff1] .el-drawer__header{margin-bottom:initial;padding-bottom:20px;border-bottom:1px solid var(--el-border-color);transition:var(--el-transition-border)}[data-v-d4bf3ff1] .el-descriptions{margin-bottom:20px}.notallowed[data-v-ecebb21e]{display:flex;align-items:center;justify-content:space-between;width:700px;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.notallowed .icon[data-v-ecebb21e]{width:400px;height:400px}.notallowed .content h1[data-v-ecebb21e]{margin:0;font-size:72px;color:var(--el-text-color-primary)}.notallowed .content .desc[data-v-ecebb21e]{margin:20px 0 30px;font-size:20px;color:var(--el-text-color-secondary)}#chat[data-v-9aaa3000],#baidu[data-v-9aaa3000]{width:100%;height:350px;margin-top:18px}#nprogress{pointer-events:none}#nprogress .bar{position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px;background:var(--g-nprogress-color)}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;opacity:1;transform:rotate(3deg) translateY(-4px);box-shadow:0 0 10px var(--g-nprogress-color),0 0 5px var(--g-nprogress-color)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:11px;right:14px}#nprogress .spinner .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-radius:50%;animation:nprogress-spinner .4s linear infinite;border-top-color:var(--g-nprogress-color);border-left-color:var(--g-nprogress-color)}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--g-box-shadow-color: rgb(0 0 0 / 12%);--g-app-bg: var(--el-bg-color);--g-main-bg: var(--el-bg-color-page);--g-header-bg: #222b45;--g-header-color: #fff;--g-header-menu-color: #fff;--g-header-menu-hover-color: #fff;--g-header-menu-hover-bg: #334067;--g-header-menu-active-color: #fff;--g-header-menu-active-bg: #334067;--g-main-sidebar-bg: #222b45;--g-main-sidebar-menu-color: #eee;--g-main-sidebar-menu-hover-color: #fff;--g-main-sidebar-menu-hover-bg: #334067;--g-main-sidebar-menu-active-color: #fff;--g-main-sidebar-menu-active-bg: #334067;--g-sub-sidebar-bg: #fff;--g-sub-sidebar-menu-bg: #e8e8e8;--g-sub-sidebar-menu-color: var(--el-text-color-primary);--g-sub-sidebar-menu-hover-color: var(--el-text-color-primary);--g-sub-sidebar-menu-hover-bg: #e1e1e1;--g-sub-sidebar-menu-active-color: #fff;--g-sub-sidebar-menu-active-bg: var(--el-color-primary);--g-toolbar-bg: var(--el-bg-color);--g-nprogress-color: var(--el-color-primary)}:root.dark{--g-box-shadow-color: rgb(0 0 0 / 72%);--g-app-bg: var(--el-bg-color);--g-main-bg: var(--el-bg-color-page);--g-header-bg: var(--el-bg-color);--g-header-color: #fff;--g-header-menu-color: #ccc;--g-header-menu-hover-color: #fff;--g-header-menu-hover-bg: var(--el-color-primary-light-5);--g-header-menu-active-color: #fff;--g-header-menu-active-bg: var(--el-color-primary-light-3);--g-main-sidebar-bg: var(--el-bg-color);--g-main-sidebar-menu-color: #ccc;--g-main-sidebar-menu-hover-color: #fff;--g-main-sidebar-menu-hover-bg: var(--el-color-primary-light-5);--g-main-sidebar-menu-active-color: #fff;--g-main-sidebar-menu-active-bg: var(--el-color-primary-light-3);--g-sub-sidebar-bg: var(--el-bg-color-page);--g-sub-sidebar-menu-bg: var(--el-bg-color);--g-sub-sidebar-menu-color: var(--el-text-color-secondary);--g-sub-sidebar-menu-hover-color: var(--el-text-color-primary);--g-sub-sidebar-menu-hover-bg: var(--el-color-primary-light-5);--g-sub-sidebar-menu-active-color: var(--el-text-color-primary);--g-sub-sidebar-menu-active-bg: var(--el-color-primary-light-3);--g-toolbar-bg: var(--el-bg-color);--g-nprogress-color: var(--el-color-primary)}:root{--el-color-primary-rgb: 64, 158, 255;--el-color-success-rgb: 103, 194, 58;--el-color-warning-rgb: 230, 162, 60;--el-color-danger-rgb: 245, 108, 108;--el-color-error-rgb: 245, 108, 108;--el-color-info-rgb: 144, 147, 153;--el-font-size-extra-large: 20px;--el-font-size-large: 18px;--el-font-size-medium: 16px;--el-font-size-base: 14px;--el-font-size-small: 13px;--el-font-size-extra-small: 12px;--el-font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;--el-font-weight-primary: 500;--el-font-line-height-primary: 24px;--el-index-normal: 1;--el-index-top: 1000;--el-index-popper: 2000;--el-border-radius-base: 4px;--el-border-radius-small: 2px;--el-border-radius-round: 20px;--el-border-radius-circle: 100%;--el-transition-duration: .3s;--el-transition-duration-fast: .2s;--el-transition-function-ease-in-out-bezier: cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier: cubic-bezier(.23, 1, .32, 1);--el-transition-all: all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade: opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade: transform var(--el-transition-duration) var(--el-transition-function-fast-bezier), opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear: opacity var(--el-transition-duration-fast) linear;--el-transition-border: border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow: box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color: color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large: 40px;--el-component-size: 32px;--el-component-size-small: 24px;color-scheme:light;--el-color-white: #ffffff;--el-color-black: #000000;--el-color-primary: #409eff;--el-color-primary-light-3: #79bbff;--el-color-primary-light-5: #a0cfff;--el-color-primary-light-7: #c6e2ff;--el-color-primary-light-8: #d9ecff;--el-color-primary-light-9: #ecf5ff;--el-color-primary-dark-2: #337ecc;--el-color-success: #67c23a;--el-color-success-light-3: #95d475;--el-color-success-light-5: #b3e19d;--el-color-success-light-7: #d1edc4;--el-color-success-light-8: #e1f3d8;--el-color-success-light-9: #f0f9eb;--el-color-success-dark-2: #529b2e;--el-color-warning: #e6a23c;--el-color-warning-light-3: #eebe77;--el-color-warning-light-5: #f3d19e;--el-color-warning-light-7: #f8e3c5;--el-color-warning-light-8: #faecd8;--el-color-warning-light-9: #fdf6ec;--el-color-warning-dark-2: #b88230;--el-color-danger: #f56c6c;--el-color-danger-light-3: #f89898;--el-color-danger-light-5: #fab6b6;--el-color-danger-light-7: #fcd3d3;--el-color-danger-light-8: #fde2e2;--el-color-danger-light-9: #fef0f0;--el-color-danger-dark-2: #c45656;--el-color-error: #f56c6c;--el-color-error-light-3: #f89898;--el-color-error-light-5: #fab6b6;--el-color-error-light-7: #fcd3d3;--el-color-error-light-8: #fde2e2;--el-color-error-light-9: #fef0f0;--el-color-error-dark-2: #c45656;--el-color-info: #909399;--el-color-info-light-3: #b1b3b8;--el-color-info-light-5: #c8c9cc;--el-color-info-light-7: #dedfe0;--el-color-info-light-8: #e9e9eb;--el-color-info-light-9: #f4f4f5;--el-color-info-dark-2: #73767a;--el-bg-color: #ffffff;--el-bg-color-page: #f2f3f5;--el-bg-color-overlay: #ffffff;--el-text-color-primary: #303133;--el-text-color-regular: #606266;--el-text-color-secondary: #909399;--el-text-color-placeholder: #a8abb2;--el-text-color-disabled: #c0c4cc;--el-border-color: #dcdfe6;--el-border-color-light: #e4e7ed;--el-border-color-lighter: #ebeef5;--el-border-color-extra-light: #f2f6fc;--el-border-color-dark: #d4d7de;--el-border-color-darker: #cdd0d6;--el-fill-color: #f0f2f5;--el-fill-color-light: #f5f7fa;--el-fill-color-lighter: #fafafa;--el-fill-color-extra-light: #fafcff;--el-fill-color-dark: #ebedf0;--el-fill-color-darker: #e6e8eb;--el-fill-color-blank: #ffffff;--el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .08), 0px 12px 32px rgba(0, 0, 0, .12), 0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color: var(--el-fill-color-light);--el-disabled-text-color: var(--el-text-color-placeholder);--el-disabled-border-color: var(--el-border-color-light);--el-overlay-color: rgba(0, 0, 0, .8);--el-overlay-color-light: rgba(0, 0, 0, .7);--el-overlay-color-lighter: rgba(0, 0, 0, .5);--el-mask-color: rgba(255, 255, 255, .9);--el-mask-color-extra-light: rgba(255, 255, 255, .3);--el-border-width: 1px;--el-border-style: solid;--el-border-color-hover: var(--el-text-color-disabled);--el-border: var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey: var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color: inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding: 8px 16px;--el-alert-border-radius-base: var(--el-border-radius-base);--el-alert-title-font-size: 13px;--el-alert-description-font-size: 12px;--el-alert-close-font-size: 12px;--el-alert-close-customed-font-size: 13px;--el-alert-icon-size: 16px;--el-alert-icon-large-size: 28px;width:100%;padding:var(--el-alert-padding);margin:0;box-sizing:border-box;border-radius:var(--el-alert-border-radius-base);position:relative;background-color:var(--el-color-white);overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity var(--el-transition-duration-fast)}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--success{--el-alert-bg-color: var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-success)}.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color: var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-info)}.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color: var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-warning)}.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color: var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-error)}.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:table-cell;padding:0 8px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:18px;vertical-align:text-top}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:5px 0 0}.el-alert .el-alert__close-btn{font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert .el-alert__close-btn.is-customed{font-style:normal;font-size:var(--el-alert-close-customed-font-size);top:9px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width, 300px)}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);list-style:none;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid var(--el-color-black)}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:var(--el-text-color-secondary)}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-avatar{--el-avatar-text-color: var(--el-color-white);--el-avatar-bg-color: var(--el-text-color-disabled);--el-avatar-text-size: 14px;--el-avatar-icon-size: 18px;--el-avatar-border-radius: var(--el-border-radius-base);--el-avatar-size-large: 56px;--el-avatar-size-small: 24px;--el-avatar-size: 40px;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;overflow:hidden;color:var(--el-avatar-text-color);background:var(--el-avatar-bg-color);width:var(--el-avatar-size);height:var(--el-avatar-size);font-size:var(--el-avatar-text-size)}.el-avatar>img{display:block;height:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size: 24px}.el-avatar--large{--el-avatar-size: 56px}.el-backtop{--el-backtop-bg-color: var(--el-bg-color-overlay);--el-backtop-text-color: var(--el-color-primary);--el-backtop-hover-bg-color: var(--el-border-color-extra-light);position:fixed;background-color:var(--el-backtop-bg-color);width:40px;height:40px;border-radius:50%;color:var(--el-backtop-text-color);display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:var(--el-box-shadow-lighter);cursor:pointer;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color: var(--el-color-danger);--el-badge-radius: 10px;--el-badge-font-size: 12px;--el-badge-padding: 6px;--el-badge-size: 18px;position:relative;vertical-align:middle;display:inline-block;width:-moz-fit-content;width:fit-content}.el-badge__content{background-color:var(--el-badge-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;justify-content:center;align-items:center;font-size:var(--el-badge-font-size);height:var(--el-badge-size);padding:0 var(--el-badge-padding);white-space:nowrap;border:1px solid var(--el-bg-color)}.el-badge__content.is-fixed{position:absolute;top:0;right:calc(1px + var(--el-badge-size) / 2);transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:before,.el-breadcrumb:after{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:var(--el-text-color-placeholder)}.el-breadcrumb__separator.el-icon{margin:0 6px;font-weight:400}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{float:left;display:inline-flex;align-items:center}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner.is-link,.el-breadcrumb__inner a{font-weight:700;text-decoration:none;transition:var(--el-transition-color);color:var(--el-text-color-primary)}.el-breadcrumb__inner.is-link:hover,.el-breadcrumb__inner a:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover{font-weight:400;color:var(--el-text-color-regular);cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:before,.el-button-group:after{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:hover,.el-button-group>.el-button:focus,.el-button-group>.el-button:active{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight: var(--el-font-weight-primary);--el-button-border-color: var(--el-border-color);--el-button-bg-color: var(--el-fill-color-blank);--el-button-text-color: var(--el-text-color-regular);--el-button-disabled-text-color: var(--el-disabled-text-color);--el-button-disabled-bg-color: var(--el-fill-color-blank);--el-button-disabled-border-color: var(--el-border-color-light);--el-button-divide-border-color: rgba(255, 255, 255, .5);--el-button-hover-text-color: var(--el-color-primary);--el-button-hover-bg-color: var(--el-color-primary-light-9);--el-button-hover-border-color: var(--el-color-primary-light-7);--el-button-active-text-color: var(--el-button-hover-text-color);--el-button-active-border-color: var(--el-color-primary);--el-button-active-bg-color: var(--el-button-hover-bg-color);--el-button-outline-color: var(--el-color-primary-light-5);--el-button-hover-link-text-color: var(--el-color-info);--el-button-active-color: var(--el-text-color-primary);display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button:hover,.el-button:focus{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:none}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color: var(--el-color-primary);--el-button-hover-bg-color: var(--el-fill-color-blank);--el-button-hover-border-color: var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover,.el-button.is-disabled:focus{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px}.el-button.is-text{color:var(--el-button-text-color);border:0 solid transparent;background-color:transparent}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important}.el-button.is-text:not(.is-disabled):hover,.el-button.is-text:not(.is-disabled):focus{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover,.el-button.is-text:not(.is-disabled).is-has-bg:focus{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{border-color:transparent;color:var(--el-button-text-color);background:transparent;padding:2px;height:auto}.el-button.is-link:hover,.el-button.is-link:focus{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button.is-link:not(.is-disabled):hover,.el-button.is-link:not(.is-disabled):focus{border-color:transparent;background-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color);border-color:transparent;background-color:transparent}.el-button--text{border-color:transparent;background:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button--text:not(.is-disabled):hover,.el-button--text:not(.is-disabled):focus{color:var(--el-color-primary-light-3);border-color:transparent;background-color:transparent}.el-button--text:not(.is-disabled):active{color:var(--el-color-primary-dark-2);border-color:transparent;background-color:transparent}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-primary);--el-button-border-color: var(--el-color-primary);--el-button-outline-color: var(--el-color-primary-light-5);--el-button-active-color: var(--el-color-primary-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-primary-light-5);--el-button-hover-bg-color: var(--el-color-primary-light-3);--el-button-hover-border-color: var(--el-color-primary-light-3);--el-button-active-bg-color: var(--el-color-primary-dark-2);--el-button-active-border-color: var(--el-color-primary-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-primary-light-5);--el-button-disabled-border-color: var(--el-color-primary-light-5)}.el-button--primary.is-plain,.el-button--primary.is-text,.el-button--primary.is-link{--el-button-text-color: var(--el-color-primary);--el-button-bg-color: var(--el-color-primary-light-9);--el-button-border-color: var(--el-color-primary-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-primary);--el-button-hover-border-color: var(--el-color-primary);--el-button-active-text-color: var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:hover,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:active{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-success);--el-button-border-color: var(--el-color-success);--el-button-outline-color: var(--el-color-success-light-5);--el-button-active-color: var(--el-color-success-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-success-light-5);--el-button-hover-bg-color: var(--el-color-success-light-3);--el-button-hover-border-color: var(--el-color-success-light-3);--el-button-active-bg-color: var(--el-color-success-dark-2);--el-button-active-border-color: var(--el-color-success-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-success-light-5);--el-button-disabled-border-color: var(--el-color-success-light-5)}.el-button--success.is-plain,.el-button--success.is-text,.el-button--success.is-link{--el-button-text-color: var(--el-color-success);--el-button-bg-color: var(--el-color-success-light-9);--el-button-border-color: var(--el-color-success-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-success);--el-button-hover-border-color: var(--el-color-success);--el-button-active-text-color: var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:hover,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:active,.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:active{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-warning);--el-button-border-color: var(--el-color-warning);--el-button-outline-color: var(--el-color-warning-light-5);--el-button-active-color: var(--el-color-warning-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-warning-light-5);--el-button-hover-bg-color: var(--el-color-warning-light-3);--el-button-hover-border-color: var(--el-color-warning-light-3);--el-button-active-bg-color: var(--el-color-warning-dark-2);--el-button-active-border-color: var(--el-color-warning-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-warning-light-5);--el-button-disabled-border-color: var(--el-color-warning-light-5)}.el-button--warning.is-plain,.el-button--warning.is-text,.el-button--warning.is-link{--el-button-text-color: var(--el-color-warning);--el-button-bg-color: var(--el-color-warning-light-9);--el-button-border-color: var(--el-color-warning-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-warning);--el-button-hover-border-color: var(--el-color-warning);--el-button-active-text-color: var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:hover,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:active{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-danger);--el-button-border-color: var(--el-color-danger);--el-button-outline-color: var(--el-color-danger-light-5);--el-button-active-color: var(--el-color-danger-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-danger-light-5);--el-button-hover-bg-color: var(--el-color-danger-light-3);--el-button-hover-border-color: var(--el-color-danger-light-3);--el-button-active-bg-color: var(--el-color-danger-dark-2);--el-button-active-border-color: var(--el-color-danger-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-danger-light-5);--el-button-disabled-border-color: var(--el-color-danger-light-5)}.el-button--danger.is-plain,.el-button--danger.is-text,.el-button--danger.is-link{--el-button-text-color: var(--el-color-danger);--el-button-bg-color: var(--el-color-danger-light-9);--el-button-border-color: var(--el-color-danger-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-danger);--el-button-hover-border-color: var(--el-color-danger);--el-button-active-text-color: var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:hover,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:active{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color: var(--el-color-white);--el-button-bg-color: var(--el-color-info);--el-button-border-color: var(--el-color-info);--el-button-outline-color: var(--el-color-info-light-5);--el-button-active-color: var(--el-color-info-dark-2);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-link-text-color: var(--el-color-info-light-5);--el-button-hover-bg-color: var(--el-color-info-light-3);--el-button-hover-border-color: var(--el-color-info-light-3);--el-button-active-bg-color: var(--el-color-info-dark-2);--el-button-active-border-color: var(--el-color-info-dark-2);--el-button-disabled-text-color: var(--el-color-white);--el-button-disabled-bg-color: var(--el-color-info-light-5);--el-button-disabled-border-color: var(--el-color-info-light-5)}.el-button--info.is-plain,.el-button--info.is-text,.el-button--info.is-link{--el-button-text-color: var(--el-color-info);--el-button-bg-color: var(--el-color-info-light-9);--el-button-border-color: var(--el-color-info-light-5);--el-button-hover-text-color: var(--el-color-white);--el-button-hover-bg-color: var(--el-color-info);--el-button-hover-border-color: var(--el-color-info);--el-button-active-text-color: var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:hover,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:active,.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:active{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size: 40px;height:var(--el-button-size);padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size: 24px;height:var(--el-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}.el-calendar{--el-calendar-border: var(--el-table-border, 1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom: var(--el-calendar-border);--el-calendar-selected-bg-color: var(--el-color-primary-light-9);--el-calendar-cell-width: 85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:var(--el-calendar-header-border-bottom)}.el-calendar__title{color:var(--el-text-color);align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{padding:12px 0;color:var(--el-text-color-regular);font-weight:400}.el-calendar-table:not(.is-range) td.prev,.el-calendar-table:not(.is-range) td.next{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);vertical-align:top;transition:background-color var(--el-transition-duration-fast) ease}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;padding:8px;height:var(--el-calendar-cell-width)}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:var(--el-calendar-selected-bg-color)}.el-card{--el-card-border-color: var(--el-border-color-light);--el-card-border-radius: 4px;--el-card-padding: 20px;--el-card-bg-color: var(--el-fill-color-blank);border-radius:var(--el-card-border-radius);border:1px solid var(--el-card-border-color);background-color:var(--el-card-bg-color);overflow:hidden;color:var(--el-text-color-primary);transition:var(--el-transition-duration)}.el-card.is-always-shadow{box-shadow:var(--el-box-shadow-light)}.el-card.is-hover-shadow:hover,.el-card.is-hover-shadow:focus{box-shadow:var(--el-box-shadow-light)}.el-card__header{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box}.el-card__body{padding:var(--el-card-padding)}.el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%;transition:transform .4s ease-in-out}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage:hover .el-carousel__mask,.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--el-color-white);opacity:.24;transition:var(--el-transition-duration-fast)}.el-carousel{--el-carousel-arrow-font-size: 12px;--el-carousel-arrow-size: 36px;--el-carousel-arrow-background: rgba(31, 45, 61, .11);--el-carousel-arrow-hover-background: rgba(31, 45, 61, .23);--el-carousel-indicator-width: 30px;--el-carousel-indicator-height: 2px;--el-carousel-indicator-padding-horizontal: 4px;--el-carousel-indicator-padding-vertical: 12px;--el-carousel-indicator-out-color: var(--el-border-color-hover);position:relative}.el-carousel--horizontal{overflow-x:hidden}.el-carousel--vertical{overflow-y:hidden}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;outline:none;padding:0;margin:0;height:var(--el-carousel-arrow-size);width:var(--el-carousel-arrow-size);cursor:pointer;transition:var(--el-transition-duration);border-radius:50%;background-color:var(--el-carousel-arrow-background);color:#fff;position:absolute;top:50%;z-index:10;transform:translateY(-50%);text-align:center;font-size:var(--el-carousel-arrow-font-size);display:inline-flex;justify-content:center;align-items:center}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{position:absolute;list-style:none;margin:0;padding:0;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical) * 2);text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--labels{left:0;right:0;transform:none;text-align:center}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto;padding:2px 18px;font-size:12px;color:#000}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{width:var(--el-carousel-indicator-height);height:calc(var(--el-carousel-indicator-width) / 2)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:var(--el-carousel-indicator-width);height:var(--el-carousel-indicator-height);background-color:#fff;border:none;outline:none;padding:0;margin:0;cursor:pointer;transition:var(--el-transition-duration)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{transform:translateY(-50%) translate(-10px);opacity:0}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{transform:translateY(-50%) translate(10px);opacity:0}.el-cascader-panel{--el-cascader-menu-text-color: var(--el-text-color-regular);--el-cascader-menu-selected-text-color: var(--el-color-primary);--el-cascader-menu-fill: var(--el-bg-color-overlay);--el-cascader-menu-font-size: var(--el-font-size-base);--el-cascader-menu-radius: var(--el-border-radius-base);--el-cascader-menu-border: solid 1px var(--el-border-color-light);--el-cascader-menu-shadow: var(--el-box-shadow-light);--el-cascader-node-background-hover: var(--el-fill-color-light);--el-cascader-node-color-disabled: var(--el-text-color-placeholder);--el-cascader-color-empty: var(--el-text-color-placeholder);--el-cascader-tag-background: var(--el-fill-color);display:flex;border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:var(--el-cascader-menu-text-color);border-right:var(--el-cascader-menu-border)}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;color:var(--el-cascader-color-empty)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:none}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-selectable.in-checked-path,.el-cascader-node.is-active{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):hover,.el-cascader-node:not(.is-disabled):focus{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;text-align:left;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-checkbox{margin-right:0}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color: var(--el-text-color-regular);--el-cascader-menu-selected-text-color: var(--el-color-primary);--el-cascader-menu-fill: var(--el-bg-color-overlay);--el-cascader-menu-font-size: var(--el-font-size-base);--el-cascader-menu-radius: var(--el-border-radius-base);--el-cascader-menu-border: solid 1px var(--el-border-color-light);--el-cascader-menu-shadow: var(--el-box-shadow-light);--el-cascader-node-background-hover: var(--el-fill-color-light);--el-cascader-node-color-disabled: var(--el-text-color-placeholder);--el-cascader-color-empty: var(--el-text-color-placeholder);--el-cascader-tag-background: var(--el-fill-color);display:inline-block;vertical-align:middle;position:relative;font-size:var(--el-font-size-base);line-height:32px;outline:none}.el-cascader:not(.is-disabled):hover .el-input__wrapper{cursor:pointer;box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-cascader .el-input{display:flex;cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis;cursor:pointer}.el-cascader .el-input .el-input__suffix-inner .el-icon{height:calc(100% - 2px)}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{transition:transform var(--el-transition-duration);font-size:14px}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color, var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader.is-disabled .el-cascader__label{z-index:calc(var(--el-index-normal) + 1);color:var(--el-disabled-text-color)}.el-cascader__dropdown{--el-cascader-menu-text-color: var(--el-text-color-regular);--el-cascader-menu-selected-text-color: var(--el-color-primary);--el-cascader-menu-fill: var(--el-bg-color-overlay);--el-cascader-menu-font-size: var(--el-font-size-base);--el-cascader-menu-radius: var(--el-border-radius-base);--el-cascader-menu-border: solid 1px var(--el-border-color-light);--el-cascader-menu-shadow: var(--el-box-shadow-light);--el-cascader-node-background-hover: var(--el-fill-color-light);--el-cascader-node-color-disabled: var(--el-text-color-placeholder);--el-cascader-color-empty: var(--el-text-color-placeholder);--el-cascader-tag-background: var(--el-fill-color);font-size:var(--el-cascader-menu-font-size);border-radius:var(--el-cascader-menu-radius)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill);border:var(--el-cascader-menu-border);box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-cascader-tag-background)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-fill-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:var(--el-font-size-base);color:var(--el-cascader-menu-text-color);text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:none;cursor:pointer}.el-cascader__suggestion-item:hover,.el-cascader__suggestion-item:focus{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:var(--el-cascader-color-empty)}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 11px;padding:0;color:var(--el-cascader-menu-text-color);border:none;outline:none;box-sizing:border-box;background:transparent}.el-cascader__search-input::-moz-placeholder{color:transparent}.el-cascader__search-input::placeholder{color:transparent}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all);font-weight:700}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-checkbox-button{--el-checkbox-button-checked-bg-color: var(--el-color-primary);--el-checkbox-button-checked-text-color: var(--el-color-white);--el-checkbox-button-checked-border-color: var(--el-color-primary);position:relative;display:inline-block}.el-checkbox-button__inner{display:inline-block;line-height:1;font-weight:var(--el-checkbox-font-weight);white-space:nowrap;vertical-align:middle;cursor:pointer;background:var(--el-button-bg-color, var(--el-fill-color-blank));border:var(--el-border);border-left:0;color:var(--el-button-text-color, var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;margin:0;position:relative;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:0}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;outline:none;position:absolute;margin:0;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:var(--el-checkbox-button-checked-text-color);background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color, var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color, var(--el-border-color-light));box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color, var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-left:var(--el-border);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:0}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{padding:5px 11px;font-size:12px;border-radius:0}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size: 14px;--el-checkbox-font-weight: var(--el-font-weight-primary);--el-checkbox-text-color: var(--el-text-color-regular);--el-checkbox-input-height: 14px;--el-checkbox-input-width: 14px;--el-checkbox-border-radius: var(--el-border-radius-small);--el-checkbox-bg-color: var(--el-fill-color-blank);--el-checkbox-input-border: var(--el-border);--el-checkbox-disabled-border-color: var(--el-border-color);--el-checkbox-disabled-input-fill: var(--el-fill-color-light);--el-checkbox-disabled-icon-color: var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill: var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color: var(--el-border-color);--el-checkbox-disabled-checked-icon-color: var(--el-text-color-placeholder);--el-checkbox-checked-text-color: var(--el-color-primary);--el-checkbox-checked-input-border-color: var(--el-color-primary);--el-checkbox-checked-bg-color: var(--el-color-primary);--el-checkbox-checked-icon-color: var(--el-color-white);--el-checkbox-input-border-color-hover: var(--el-color-primary);color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px;border-radius:var(--el-checkbox-border-radius)}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in .05s;transform-origin:center}.el-checkbox__original{opacity:0;outline:none;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-0{max-width:0%;flex:0 0 0%}.el-col-offset-0{margin-left:0%}.el-col-pull-0{position:relative;right:0%}.el-col-push-0{position:relative;left:0%}.el-col-1{max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{position:relative;left:4.1666666667%}.el-col-2{max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{position:relative;left:8.3333333333%}.el-col-3{max-width:12.5%;flex:0 0 12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{position:relative;left:16.6666666667%}.el-col-5{max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{position:relative;left:20.8333333333%}.el-col-6{max-width:25%;flex:0 0 25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{position:relative;left:29.1666666667%}.el-col-8{max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{position:relative;left:33.3333333333%}.el-col-9{max-width:37.5%;flex:0 0 37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{position:relative;left:41.6666666667%}.el-col-11{max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{position:relative;left:45.8333333333%}.el-col-12{max-width:50%;flex:0 0 50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{position:relative;left:54.1666666667%}.el-col-14{max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{position:relative;left:58.3333333333%}.el-col-15{max-width:62.5%;flex:0 0 62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{position:relative;left:66.6666666667%}.el-col-17{max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{position:relative;left:70.8333333333%}.el-col-18{max-width:75%;flex:0 0 75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{position:relative;left:79.1666666667%}.el-col-20{max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{position:relative;left:83.3333333333%}.el-col-21{max-width:87.5%;flex:0 0 87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{position:relative;left:91.6666666667%}.el-col-23{max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{position:relative;left:95.8333333333%}.el-col-24{max-width:100%;flex:0 0 100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width: 768px){.el-col-xs-0,.el-col-xs-0.is-guttered{display:none}.el-col-xs-0{max-width:0%;flex:0 0 0%}.el-col-xs-offset-0{margin-left:0%}.el-col-xs-pull-0{position:relative;right:0%}.el-col-xs-push-0{position:relative;left:0%}.el-col-xs-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{position:relative;left:4.1666666667%}.el-col-xs-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{position:relative;left:8.3333333333%}.el-col-xs-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{position:relative;left:16.6666666667%}.el-col-xs-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{position:relative;left:20.8333333333%}.el-col-xs-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{position:relative;left:29.1666666667%}.el-col-xs-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{position:relative;left:33.3333333333%}.el-col-xs-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{position:relative;left:41.6666666667%}.el-col-xs-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{position:relative;left:45.8333333333%}.el-col-xs-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{position:relative;left:54.1666666667%}.el-col-xs-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{position:relative;left:58.3333333333%}.el-col-xs-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{position:relative;left:66.6666666667%}.el-col-xs-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{position:relative;left:70.8333333333%}.el-col-xs-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{position:relative;left:79.1666666667%}.el-col-xs-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{position:relative;left:83.3333333333%}.el-col-xs-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{position:relative;left:91.6666666667%}.el-col-xs-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{position:relative;left:95.8333333333%}.el-col-xs-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width: 768px){.el-col-sm-0,.el-col-sm-0.is-guttered{display:none}.el-col-sm-0{max-width:0%;flex:0 0 0%}.el-col-sm-offset-0{margin-left:0%}.el-col-sm-pull-0{position:relative;right:0%}.el-col-sm-push-0{position:relative;left:0%}.el-col-sm-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{position:relative;left:4.1666666667%}.el-col-sm-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{position:relative;left:8.3333333333%}.el-col-sm-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{position:relative;left:16.6666666667%}.el-col-sm-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{position:relative;left:20.8333333333%}.el-col-sm-6{display:block;max-width:25%;flex:0 0 25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{position:relative;left:29.1666666667%}.el-col-sm-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{position:relative;left:33.3333333333%}.el-col-sm-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{position:relative;left:41.6666666667%}.el-col-sm-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{position:relative;left:45.8333333333%}.el-col-sm-12{display:block;max-width:50%;flex:0 0 50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{position:relative;left:54.1666666667%}.el-col-sm-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{position:relative;left:58.3333333333%}.el-col-sm-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{position:relative;left:66.6666666667%}.el-col-sm-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{position:relative;left:70.8333333333%}.el-col-sm-18{display:block;max-width:75%;flex:0 0 75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{position:relative;left:79.1666666667%}.el-col-sm-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{position:relative;left:83.3333333333%}.el-col-sm-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{position:relative;left:91.6666666667%}.el-col-sm-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{position:relative;left:95.8333333333%}.el-col-sm-24{display:block;max-width:100%;flex:0 0 100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width: 992px){.el-col-md-0,.el-col-md-0.is-guttered{display:none}.el-col-md-0{max-width:0%;flex:0 0 0%}.el-col-md-offset-0{margin-left:0%}.el-col-md-pull-0{position:relative;right:0%}.el-col-md-push-0{position:relative;left:0%}.el-col-md-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{position:relative;left:4.1666666667%}.el-col-md-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{position:relative;left:8.3333333333%}.el-col-md-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{position:relative;left:16.6666666667%}.el-col-md-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{position:relative;left:20.8333333333%}.el-col-md-6{display:block;max-width:25%;flex:0 0 25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{position:relative;left:29.1666666667%}.el-col-md-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{position:relative;left:33.3333333333%}.el-col-md-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{position:relative;left:41.6666666667%}.el-col-md-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{position:relative;left:45.8333333333%}.el-col-md-12{display:block;max-width:50%;flex:0 0 50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{position:relative;left:54.1666666667%}.el-col-md-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{position:relative;left:58.3333333333%}.el-col-md-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{position:relative;left:66.6666666667%}.el-col-md-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{position:relative;left:70.8333333333%}.el-col-md-18{display:block;max-width:75%;flex:0 0 75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{position:relative;left:79.1666666667%}.el-col-md-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{position:relative;left:83.3333333333%}.el-col-md-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{position:relative;left:91.6666666667%}.el-col-md-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{position:relative;left:95.8333333333%}.el-col-md-24{display:block;max-width:100%;flex:0 0 100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width: 1200px){.el-col-lg-0,.el-col-lg-0.is-guttered{display:none}.el-col-lg-0{max-width:0%;flex:0 0 0%}.el-col-lg-offset-0{margin-left:0%}.el-col-lg-pull-0{position:relative;right:0%}.el-col-lg-push-0{position:relative;left:0%}.el-col-lg-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{position:relative;left:4.1666666667%}.el-col-lg-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{position:relative;left:8.3333333333%}.el-col-lg-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{position:relative;left:16.6666666667%}.el-col-lg-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{position:relative;left:20.8333333333%}.el-col-lg-6{display:block;max-width:25%;flex:0 0 25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{position:relative;left:29.1666666667%}.el-col-lg-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{position:relative;left:33.3333333333%}.el-col-lg-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{position:relative;left:41.6666666667%}.el-col-lg-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{position:relative;left:45.8333333333%}.el-col-lg-12{display:block;max-width:50%;flex:0 0 50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{position:relative;left:54.1666666667%}.el-col-lg-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{position:relative;left:58.3333333333%}.el-col-lg-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{position:relative;left:66.6666666667%}.el-col-lg-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{position:relative;left:70.8333333333%}.el-col-lg-18{display:block;max-width:75%;flex:0 0 75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{position:relative;left:79.1666666667%}.el-col-lg-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{position:relative;left:83.3333333333%}.el-col-lg-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{position:relative;left:91.6666666667%}.el-col-lg-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{position:relative;left:95.8333333333%}.el-col-lg-24{display:block;max-width:100%;flex:0 0 100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width: 1920px){.el-col-xl-0,.el-col-xl-0.is-guttered{display:none}.el-col-xl-0{max-width:0%;flex:0 0 0%}.el-col-xl-offset-0{margin-left:0%}.el-col-xl-pull-0{position:relative;right:0%}.el-col-xl-push-0{position:relative;left:0%}.el-col-xl-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{position:relative;left:4.1666666667%}.el-col-xl-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{position:relative;left:8.3333333333%}.el-col-xl-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{position:relative;left:16.6666666667%}.el-col-xl-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{position:relative;left:20.8333333333%}.el-col-xl-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{position:relative;left:29.1666666667%}.el-col-xl-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{position:relative;left:33.3333333333%}.el-col-xl-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{position:relative;left:41.6666666667%}.el-col-xl-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{position:relative;left:45.8333333333%}.el-col-xl-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{position:relative;left:54.1666666667%}.el-col-xl-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{position:relative;left:58.3333333333%}.el-col-xl-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{position:relative;left:66.6666666667%}.el-col-xl-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{position:relative;left:70.8333333333%}.el-col-xl-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{position:relative;left:79.1666666667%}.el-col-xl-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{position:relative;left:83.3333333333%}.el-col-xl-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{position:relative;left:91.6666666667%}.el-col-xl-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{position:relative;left:95.8333333333%}.el-col-xl-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.el-collapse{--el-collapse-border-color: var(--el-border-color-lighter);--el-collapse-header-height: 48px;--el-collapse-header-bg-color: var(--el-fill-color-blank);--el-collapse-header-text-color: var(--el-text-color-primary);--el-collapse-header-font-size: 13px;--el-collapse-content-bg-color: var(--el-fill-color-blank);--el-collapse-content-font-size: 13px;--el-collapse-content-text-color: var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);font-weight:500;transition:border-bottom-color var(--el-transition-duration);outline:none}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);overflow:hidden;box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item__content{padding-bottom:25px;font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{margin:0 0 8px 8px;width:20px;height:20px;border-radius:4px;cursor:pointer}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector>div{display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px;float:right}.el-color-hue-slider__bar{position:relative;background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid var(--el-border-color-lighter);box-shadow:0 0 2px #0009;z-index:1}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(to bottom,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__white,.el-color-svpanel__black{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:linear-gradient(to right,#fff,rgba(255,255,255,0))}.el-color-svpanel__black{background:linear-gradient(to top,#000,rgba(0,0,0,0))}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-size:12px 12px;background-position:0 0,6px 0,6px -6px,0 6px}.el-color-alpha-slider__bar{position:relative;background:linear-gradient(to right,rgba(255,255,255,0) 0%,var(--el-bg-color) 100%);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid var(--el-border-color-lighter);box-shadow:0 0 2px #0009;z-index:1}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgb(255,255,255) 100%)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:12px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#000;width:160px}.el-color-picker{display:inline-block;position:relative;line-height:normal;outline:none}.el-color-picker:hover:not(.is-disabled) .el-color-picker__trigger{border:1px solid var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--large{height:40px}.el-color-picker--large .el-color-picker__trigger{height:40px;width:40px}.el-color-picker--large .el-color-picker__mask{height:38px;width:38px}.el-color-picker--small{height:24px}.el-color-picker--small .el-color-picker__trigger{height:24px;width:24px}.el-color-picker--small .el-color-picker__mask{height:22px;width:22px}.el-color-picker--small .el-color-picker__icon,.el-color-picker--small .el-color-picker__empty{transform:scale(.8)}.el-color-picker__mask{height:30px;width:30px;border-radius:4px;position:absolute;top:1px;left:1px;z-index:1;cursor:not-allowed;background-color:#ffffffb3}.el-color-picker__trigger{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;height:32px;width:32px;padding:4px;border:1px solid var(--el-border-color);border-radius:4px;font-size:0;position:relative;cursor:pointer}.el-color-picker__color{position:relative;display:block;box-sizing:border-box;border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);width:100%;height:100%;text-align:center}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-size:12px 12px;background-position:0 0,6px 0,6px -6px,0 6px}.el-color-picker__color-inner{display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.el-color-picker .el-color-picker__empty{font-size:12px;color:var(--el-text-color-secondary)}.el-color-picker .el-color-picker__icon{display:inline-flex;justify-content:center;align-items:center;color:#fff;font-size:12px}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;box-sizing:content-box;background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light)}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a: #ccc;--el-color-picker-alpha-bg-b: transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a: #333333}.el-container{display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td .el-date-table-cell{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td .el-date-table-cell .el-date-table-cell__text{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translate(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.start-date .el-date-table-cell__text,.el-date-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.start-date .el-date-table-cell,.el-date-table td.end-date .el-date-table-cell{color:#fff}.el-date-table td.start-date .el-date-table-cell__text,.el-date-table td.end-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{margin-left:5px;margin-right:5px;background-color:var(--el-datepicker-inrange-bg-color);border-radius:15px}.el-date-table td.selected .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:var(--el-datepicker-header-text-color)}.el-date-table td:focus{outline:none}.el-date-table th{padding:5px;color:var(--el-datepicker-header-text-color);font-weight:400;border-bottom:solid 1px var(--el-border-color-lighter)}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.start-date .cell,.el-month-table td.today.end-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.start-date div,.el-month-table td.end-date div{color:#fff}.el-month-table td.start-date .cell,.el-month-table td.end-date .cell{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color)}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{width:48px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color)}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:192px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{font-size:12px;color:var(--el-text-color-secondary);position:absolute;left:0;width:100%;z-index:var(--el-index-normal);text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{padding:0;text-align:center}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:var(--el-text-color-regular)}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color: var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width: 220px;--el-date-editor-monthrange-width: 300px;--el-date-editor-daterange-width: 350px;--el-date-editor-datetimerange-width: 400px;--el-input-text-color: var(--el-text-color-regular);--el-input-border: var(--el-border);--el-input-hover-border: var(--el-border-color-hover);--el-input-focus-border: var(--el-color-primary);--el-input-transparent-border: 0 0 0 1px transparent inset;--el-input-border-color: var(--el-border-color);--el-input-border-radius: var(--el-border-radius-base);--el-input-bg-color: var(--el-fill-color-blank);--el-input-icon-color: var(--el-text-color-placeholder);--el-input-placeholder-color: var(--el-text-color-placeholder);--el-input-hover-border-color: var(--el-border-color-hover);--el-input-clear-hover-color: var(--el-text-color-secondary);--el-input-focus-border-color: var(--el-color-primary);position:relative;display:inline-block;text-align:left}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{width:var(--el-date-editor-width);height:var(--el-input-height, var(--el-component-size))}.el-date-editor--monthrange{--el-date-editor-width: var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width: var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width: var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{height:inherit;font-size:14px;color:var(--el-text-color-placeholder);float:left}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:none;display:inline-block;height:30px;line-height:30px;margin:0;padding:0;width:39%;text-align:center;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:transparent}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{flex:1;display:inline-flex;justify-content:center;align-items:center;height:100%;padding:0 5px;margin:0;font-size:14px;word-break:keep-all;color:var(--el-text-color-primary)}.el-date-editor .el-range__close-icon{font-size:14px;color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{display:inline-flex;align-items:center;padding:0 10px}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{line-height:40px;font-size:14px}.el-range-editor--large .el-range-input{height:38px;line-height:38px;font-size:14px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{line-height:24px;font-size:12px}.el-range-editor--small .el-range-input{height:22px;line-height:22px;font-size:12px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:hover,.el-range-editor.is-disabled:focus{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);line-height:30px}.el-picker-panel .el-time-panel{margin:5px 0;border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker-panel__body:after,.el-picker-panel__body-wrapper:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);padding:4px 12px;text-align:right;background-color:var(--el-bg-color-overlay);position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:var(--el-datepicker-text-color);padding-left:12px;text-align:left;outline:none;cursor:pointer}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:none;font-size:12px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:var(--el-datepicker-icon-color);border:0;background:transparent;cursor:pointer;outline:none;margin-top:8px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel *[slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;padding-top:6px;background-color:var(--el-bg-color-overlay);overflow:auto}.el-picker-panel *[slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color: var(--el-text-color-regular);--el-datepicker-off-text-color: var(--el-text-color-placeholder);--el-datepicker-header-text-color: var(--el-text-color-regular);--el-datepicker-icon-color: var(--el-text-color-primary);--el-datepicker-border-color: var(--el-disabled-border-color);--el-datepicker-inner-border-color: var(--el-border-color-light);--el-datepicker-inrange-bg-color: var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color: var(--el-border-color-extra-light);--el-datepicker-active-color: var(--el-color-primary);--el-datepicker-hover-text-color: var(--el-color-primary);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:solid 1px var(--el-border-color-lighter)}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:var(--el-text-color-regular)}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{outline:none;color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color: var(--el-text-color-regular);--el-datepicker-off-text-color: var(--el-text-color-placeholder);--el-datepicker-header-text-color: var(--el-text-color-regular);--el-datepicker-icon-color: var(--el-text-color-primary);--el-datepicker-border-color: var(--el-disabled-border-color);--el-datepicker-inner-border-color: var(--el-border-color-light);--el-datepicker-inrange-bg-color: var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color: var(--el-border-color-extra-light);--el-datepicker-active-color: var(--el-color-primary);--el-datepicker-hover-text-color: var(--el-color-primary);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#ffffff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color, var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:none;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color, var(--el-color-primary))}.el-descriptions{--el-descriptions-table-border: 1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background: var(--el-fill-color-light);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}.el-descriptions__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;text-align:left;font-weight:400;line-height:23px;font-size:14px}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{font-weight:700;color:var(--el-text-color-regular);background:var(--el-descriptions-item-bordered-label-background)}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color: var(--el-color-black);--el-popup-modal-opacity: .5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color)}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width: 50%;--el-dialog-margin-top: 15vh;--el-dialog-bg-color: var(--el-bg-color);--el-dialog-box-shadow: var(--el-box-shadow);--el-dialog-title-font-size: var(--el-font-size-large);--el-dialog-content-font-size: 14px;--el-dialog-font-line-height: var(--el-font-line-height-primary);--el-dialog-padding-primary: 20px;--el-dialog-border-radius: var(--el-border-radius-small);position:relative;margin:var(--el-dialog-margin-top, 15vh) auto 50px;background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;width:var(--el-dialog-width, 50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width: 100%;--el-dialog-margin-top: 0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding:var(--el-dialog-padding-primary);padding-bottom:10px;margin-right:16px}.el-dialog__headerbtn{position:absolute;top:6px;right:0;padding:0;width:54px;height:54px;background:transparent;border:none;outline:none;cursor:pointer;font-size:var(--el-message-close-size, 16px)}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{line-height:var(--el-dialog-font-line-height);font-size:var(--el-dialog-title-font-size);color:var(--el-text-color-primary)}.el-dialog__body{padding:calc(var(--el-dialog-padding-primary) + 10px) var(--el-dialog-padding-primary);color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{padding:var(--el-dialog-padding-primary);padding-top:10px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px calc(var(--el-dialog-padding-primary) + 5px) 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0;border-top:1px var(--el-border-color) var(--el-border-style)}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative;border-left:1px var(--el-border-color) var(--el-border-style)}.el-divider__text{position:absolute;background-color:var(--el-bg-color);padding:0 20px;font-weight:500;color:var(--el-text-color-primary);font-size:14px}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-drawer{--el-drawer-bg-color: var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary: var(--el-dialog-padding-primary, 20px);position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{display:inline-flex;border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.ttb,.el-drawer.btt{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-from,.el-drawer-fade-enter-active,.el-drawer-fade-enter-to,.el-drawer-fade-leave-from,.el-drawer-fade-leave-active,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{opacity:0}.el-drawer-fade-enter-to,.el-drawer-fade-leave-from{opacity:1}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow: var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill: var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color: var(--el-color-primary);--el-dropdown-menu-index: 10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow: var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill: var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color: var(--el-color-primary);--el-dropdown-menu-index: 10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:-1px;bottom:-1px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:none}.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding: 40px 0;--el-empty-image-width: 160px;--el-empty-description-margin-top: 20px;--el-empty-bottom-margin-top: 20px;--el-empty-fill-color-0: var(--el-color-white);--el-empty-fill-color-1: #fcfcfd;--el-empty-fill-color-2: #f8f9fb;--el-empty-fill-color-3: #f7f8fc;--el-empty-fill-color-4: #eeeff3;--el-empty-fill-color-5: #edeef2;--el-empty-fill-color-6: #e9ebef;--el-empty-fill-color-7: #e5e7e9;--el-empty-fill-color-8: #e0e3e9;--el-empty-fill-color-9: #d5d7de;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-empty-padding)}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%;vertical-align:top;-o-object-fit:contain;object-fit:contain}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:100%;height:100%;vertical-align:top}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-secondary)}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding: 0 20px;--el-footer-height: 60px;padding:var(--el-footer-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height)}.el-form{--el-form-label-font-size: var(--el-font-size-base)}.el-form--label-left .el-form-item__label{justify-content:flex-start}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;height:auto;text-align:left;margin-bottom:8px;line-height:22px}.el-form--inline .el-form-item{display:inline-flex;vertical-align:middle;margin-right:32px}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:12px;line-height:22px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:8px;line-height:22px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:4px;line-height:20px}.el-form-item{display:flex;--font-size: 14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size: 14px;--el-form-label-font-size: var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size: 14px;--el-form-label-font-size: var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size: 12px;--el-form-label-font-size: var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label{display:inline-flex;justify-content:flex-end;align-items:flex-start;flex:0 0 auto;font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);height:32px;line-height:32px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{display:flex;flex-wrap:wrap;align-items:center;flex:1;line-height:32px;position:relative;font-size:var(--font-size);min-width:0}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;line-height:1;padding-top:2px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.el-form-item.is-error .el-select-v2__wrapper,.el-form-item.is-error .el-select-v2__wrapper:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-header{--el-header-padding: 0 20px;--el-header-height: 60px;padding:var(--el-header-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-header-height)}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-image-viewer__btn .el-icon{font-size:inherit;cursor:pointer}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:40px}.el-image-viewer__canvas{position:static;width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-image-viewer__actions{left:50%;bottom:30px;transform:translate(-50%);width:282px;height:44px;padding:0 23px;background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;text-align:justify;cursor:default;font-size:23px;color:#fff;display:flex;align-items:center;justify-content:space-around}.el-image-viewer__prev{top:50%;transform:translateY(-50%);left:40px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__next{top:50%;transform:translateY(-50%);right:40px;text-indent:2px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__close{width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-image__error,.el-image__placeholder,.el-image__wrapper,.el-image__inner{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top;opacity:1}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{position:absolute;top:0;left:0}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{display:flex;justify-content:center;align-items:center;font-size:14px;background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle}.el-image__preview{cursor:pointer}.el-input-number{position:relative;display:inline-flex;width:150px;line-height:30px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center;line-height:1}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__increase,.el-input-number__decrease{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-input-number__increase:hover,.el-input-number__decrease:hover{color:var(--el-color-primary)}.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input_wrapper,.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input_wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset}.el-input-number__increase.is-disabled,.el-input-number__decrease.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__increase,.el-input-number.is-disabled .el-input-number__decrease{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__increase:hover,.el-input-number.is-disabled .el-input-number__decrease:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__increase,.el-input-number--large .el-input-number__decrease{width:40px;font-size:14px}.el-input-number--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__increase,.el-input-number--small .el-input-number__decrease{width:24px;font-size:12px}.el-input-number--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__increase [class*=el-icon],.el-input-number--small .el-input-number__decrease [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__increase,.el-input-number.is-controls-right .el-input-number__decrease{--el-input-number-controls-height: 15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon],.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=increase],.el-input-number.is-controls-right[class*=large] [class*=decrease]{--el-input-number-controls-height: 19px}.el-input-number.is-controls-right[class*=small] [class*=increase],.el-input-number.is-controls-right[class*=small] [class*=decrease]{--el-input-number-controls-height: 11px}.el-textarea{--el-input-text-color: var(--el-text-color-regular);--el-input-border: var(--el-border);--el-input-hover-border: var(--el-border-color-hover);--el-input-focus-border: var(--el-color-primary);--el-input-transparent-border: 0 0 0 1px transparent inset;--el-input-border-color: var(--el-border-color);--el-input-border-radius: var(--el-border-radius-base);--el-input-bg-color: var(--el-fill-color-blank);--el-input-icon-color: var(--el-text-color-placeholder);--el-input-placeholder-color: var(--el-text-color-placeholder);--el-input-hover-border-color: var(--el-border-color-hover);--el-input-clear-hover-color: var(--el-text-color-secondary);--el-input-focus-border-color: var(--el-color-primary);position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 11px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color, var(--el-text-color-regular));background-color:var(--el-input-bg-color, var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color, var(--el-text-color-placeholder))}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color, var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{outline:none;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color: var(--el-text-color-regular);--el-input-border: var(--el-border);--el-input-hover-border: var(--el-border-color-hover);--el-input-focus-border: var(--el-color-primary);--el-input-transparent-border: 0 0 0 1px transparent inset;--el-input-border-color: var(--el-border-color);--el-input-border-radius: var(--el-border-radius-base);--el-input-bg-color: var(--el-fill-color-blank);--el-input-icon-color: var(--el-text-color-placeholder);--el-input-placeholder-color: var(--el-text-color-placeholder);--el-input-hover-border-color: var(--el-border-color-hover);--el-input-clear-hover-color: var(--el-text-color-secondary);--el-input-focus-border-color: var(--el-color-primary);--el-input-height: var(--el-component-size);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:100%;line-height:var(--el-input-height);box-sizing:border-box;vertical-align:middle}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);font-size:14px;cursor:pointer}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.el-input__wrapper{display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;background-color:var(--el-input-bg-color, var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));transition:var(--el-transition-box-shadow);transform:translateZ(0);box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 32px) - 2px);width:100%;flex-grow:1;-webkit-appearance:none;color:var(--el-input-text-color, var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);padding:0;outline:none;border:none;background:none;box-sizing:border-box}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color, var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color, var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color, var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color, var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration);margin-left:8px}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height: var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height: var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height: calc(var(--el-input-height, 24px) - 2px)}.el-input-group{display:inline-flex;width:100%;align-items:stretch}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--el-input-border-radius);padding:0 20px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-select,.el-input-group__append .el-button,.el-input-group__prepend .el-select,.el-input-group__prepend .el-button{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-input__wrapper,.el-input-group__append div.el-select:hover .el-input__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-input__wrapper,.el-input-group__prepend div.el-select:hover .el-input__wrapper{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper{box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important;z-index:2}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper:focus{outline:none;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__wrapper{z-index:1;box-shadow:1px 0 0 0 var(--el-input-hover-border-color) inset,1px 0 0 0 var(--el-input-hover-border-color),0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__wrapper{z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__wrapper{z-index:1;box-shadow:-1px 0 0 0 var(--el-input-hover-border-color),-1px 0 0 0 var(--el-input-hover-border-color) inset,0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-link{--el-link-font-size: var(--el-font-size-base);--el-link-font-weight: var(--el-font-weight-primary);--el-link-text-color: var(--el-text-color-regular);--el-link-hover-text-color: var(--el-color-primary);--el-link-disabled-text-color: var(--el-text-color-placeholder);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;vertical-align:middle;position:relative;text-decoration:none;outline:none;cursor:pointer;padding:0;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);color:var(--el-link-text-color)}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link.is-underline:hover:after{content:"";position:absolute;left:0;right:0;height:0;bottom:0;border-bottom:1px solid var(--el-link-hover-text-color)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default:after{border-color:var(--el-link-hover-text-color)}.el-link__inner{display:inline-flex;justify-content:center;align-items:center}.el-link.el-link--primary{--el-link-text-color: var(--el-color-primary);--el-link-hover-text-color: var(--el-color-primary-light-3);--el-link-disabled-text-color: var(--el-color-primary-light-5)}.el-link.el-link--primary:after{border-color:var(--el-link-text-color)}.el-link.el-link--primary.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--success{--el-link-text-color: var(--el-color-success);--el-link-hover-text-color: var(--el-color-success-light-3);--el-link-disabled-text-color: var(--el-color-success-light-5)}.el-link.el-link--success:after{border-color:var(--el-link-text-color)}.el-link.el-link--success.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning{--el-link-text-color: var(--el-color-warning);--el-link-hover-text-color: var(--el-color-warning-light-3);--el-link-disabled-text-color: var(--el-color-warning-light-5)}.el-link.el-link--warning:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger{--el-link-text-color: var(--el-color-danger);--el-link-hover-text-color: var(--el-color-danger-light-3);--el-link-disabled-text-color: var(--el-color-danger-light-5)}.el-link.el-link--danger:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--error{--el-link-text-color: var(--el-color-error);--el-link-hover-text-color: var(--el-color-error-light-3);--el-link-disabled-text-color: var(--el-color-error-light-5)}.el-link.el-link--error:after{border-color:var(--el-link-text-color)}.el-link.el-link--error.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--info{--el-link-text-color: var(--el-color-info);--el-link-hover-text-color: var(--el-color-info-light-3);--el-link-disabled-text-color: var(--el-color-info-light-5)}.el-link.el-link--info:after{border-color:var(--el-link-text-color)}.el-link.el-link--info.is-underline:hover:after{border-color:var(--el-link-text-color)}:root{--el-loading-spinner-size: 42px;--el-loading-fullscreen-spinner-size: 50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:var(--el-mask-color);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity var(--el-transition-duration)}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size)) / 2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{top:50%;margin-top:calc((0px - var(--el-loading-spinner-size)) / 2);width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);margin:3px 0;font-size:14px}.el-loading-spinner .circular{display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size);animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(360deg)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-main{--el-main-padding: 20px;display:block;flex:1;flex-basis:auto;overflow:auto;box-sizing:border-box;padding:var(--el-main-padding)}:root{--el-menu-active-color: var(--el-color-primary);--el-menu-text-color: var(--el-text-color-primary);--el-menu-hover-text-color: var(--el-color-primary);--el-menu-bg-color: var(--el-fill-color-blank);--el-menu-hover-bg-color: var(--el-color-primary-light-9);--el-menu-item-height: 56px;--el-menu-sub-item-height: calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-sub-item-height: 36px;--el-menu-item-font-size: var(--el-font-size-base);--el-menu-item-hover-fill: var(--el-color-primary-light-9);--el-menu-border-color: var(--el-border-color);--el-menu-base-level-padding: 20px;--el-menu-level-padding: 20px;--el-menu-icon-width: 24px}.el-menu{border-right:solid 1px var(--el-menu-border-color);list-style:none;position:relative;margin:0;padding-left:0;background-color:var(--el-menu-bg-color);box-sizing:border-box}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title{white-space:nowrap;padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level) * var(--el-menu-level-padding))}.el-menu--horizontal{display:flex;flex-wrap:nowrap;border-bottom:solid 1px var(--el-menu-border-color);border-right:none}.el-menu--horizontal>.el-menu-item{display:inline-flex;justify-content:center;align-items:center;height:100%;margin:0;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover,.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus{background-color:#fff}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-bg-color-overlay)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);display:flex;align-items:center;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px;color:var(--el-menu-text-color)}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):hover,.el-menu--horizontal .el-menu-item:not(.is-disabled):focus{outline:none;color:var(--el-menu-hover-text-color);background-color:var(--el-menu-hover-bg-color)}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding) * 2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;vertical-align:middle;width:var(--el-menu-icon-width);text-align:center}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light)}.el-menu .el-icon{flex-shrink:0}.el-menu-item{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:hover,.el-menu-item:focus{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-menu-item [class^=el-icon]{margin-right:5px;width:var(--el-menu-icon-width);text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{position:absolute;left:0;top:0;height:100%;width:100%;display:inline-flex;align-items:center;box-sizing:border-box;padding:0 var(--el-menu-base-level-padding)}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:hover,.el-sub-menu__title:focus{outline:none}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-sub-menu__title,.el-sub-menu.is-disabled .el-menu-item{opacity:.25;cursor:not-allowed;background:none!important}.el-sub-menu .el-icon{vertical-align:middle;margin-right:5px;width:var(--el-menu-icon-width);text-align:center;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{position:absolute;top:50%;right:var(--el-menu-base-level-padding);margin-top:-6px;transition:transform var(--el-transition-duration);font-size:12px;margin-right:0;width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px var(--el-menu-base-level-padding);line-height:normal;font-size:12px;color:var(--el-text-color-secondary)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-message-box{--el-messagebox-title-color: var(--el-text-color-primary);--el-messagebox-width: 420px;--el-messagebox-border-radius: 4px;--el-messagebox-font-size: var(--el-font-size-large);--el-messagebox-content-font-size: var(--el-font-size-base);--el-messagebox-content-color: var(--el-text-color-regular);--el-messagebox-error-font-size: 12px;--el-messagebox-padding-primary: 15px;display:inline-block;max-width:var(--el-messagebox-width);width:100%;padding-bottom:10px;vertical-align:middle;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);border:1px solid var(--el-border-color-lighter);font-size:var(--el-messagebox-font-size);box-shadow:var(--el-box-shadow-light);text-align:left;overflow:hidden;backface-visibility:hidden;box-sizing:border-box}.el-message-box:focus{outline:none!important}.el-overlay.is-message-box .el-overlay-message-box{text-align:center;position:fixed;top:0;right:0;bottom:0;left:0;padding:16px;overflow:auto}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{position:relative;padding:var(--el-messagebox-padding-primary);padding-bottom:10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:var(--el-messagebox-font-size);line-height:1;color:var(--el-messagebox-title-color)}.el-message-box__headerbtn{position:absolute;top:var(--el-messagebox-padding-primary);right:var(--el-messagebox-padding-primary);padding:0;border:none;outline:none;background:transparent;font-size:var(--el-message-close-size, 16px);cursor:pointer}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{padding:10px var(--el-messagebox-padding-primary);color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__input div.invalid>input{border-color:var(--el-color-error)}.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status.el-icon{position:absolute}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px;word-break:break-word}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color: var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color: var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color: var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color: var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns{justify-content:center}.el-message-box--center .el-message-box__content{padding-left:calc(var(--el-messagebox-padding-primary) + 12px);padding-right:calc(var(--el-messagebox-padding-primary) + 12px);text-align:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-message{--el-message-bg-color: var(--el-color-info-light-9);--el-message-border-color: var(--el-border-color-lighter);--el-message-padding: 15px 19px;--el-message-close-size: 16px;--el-message-close-icon-color: var(--el-text-color-placeholder);--el-message-close-hover-color: var(--el-text-color-secondary);width:-moz-fit-content;width:fit-content;max-width:calc(100% - 32px);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width);border-style:var(--el-border-style);border-color:var(--el-message-border-color);position:fixed;left:50%;top:20px;transform:translate(-50%);background-color:var(--el-message-bg-color);transition:opacity var(--el-transition-duration),transform .4s,top .4s;padding:var(--el-message-padding);display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:31px}.el-message p{margin:0}.el-message--success{--el-message-bg-color: var(--el-color-success-light-9);--el-message-border-color: var(--el-color-success-light-8);--el-message-text-color: var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color: var(--el-color-info-light-9);--el-message-border-color: var(--el-color-info-light-8);--el-message-text-color: var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color: var(--el-color-warning-light-9);--el-message-border-color: var(--el-color-warning-light-8);--el-message-text-color: var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color: var(--el-color-error-light-9);--el-message-border-color: var(--el-color-error-light-8);--el-message-text-color: var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message__icon{margin-right:10px}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{position:absolute;top:50%;right:19px;transform:translateY(-50%);cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-notification{--el-notification-width: 330px;--el-notification-padding: 14px 26px 14px 13px;--el-notification-radius: 8px;--el-notification-shadow: var(--el-box-shadow-light);--el-notification-border-color: var(--el-border-color-lighter);--el-notification-icon-size: 24px;--el-notification-close-font-size: var(--el-message-close-size, 16px);--el-notification-group-margin-left: 13px;--el-notification-group-margin-right: 8px;--el-notification-content-font-size: var(--el-font-size-base);--el-notification-content-color: var(--el-text-color-regular);--el-notification-title-font-size: 16px;--el-notification-title-color: var(--el-text-color-primary);--el-notification-close-color: var(--el-text-color-secondary);--el-notification-close-hover-color: var(--el-text-color-regular);display:flex;width:var(--el-notification-width);padding:var(--el-notification-padding);border-radius:var(--el-notification-radius);box-sizing:border-box;border:1px solid var(--el-notification-border-color);position:fixed;background-color:var(--el-bg-color-overlay);box-shadow:var(--el-notification-shadow);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);overflow-wrap:anywhere;overflow:hidden;z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{font-weight:700;font-size:var(--el-notification-title-font-size);line-height:var(--el-notification-icon-size);color:var(--el-notification-title-color);margin:0}.el-notification__content{font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0;color:var(--el-notification-content-color);text-align:justify}.el-notification__content p{margin:0}.el-notification .el-notification__icon{height:var(--el-notification-icon-size);width:var(--el-notification-icon-size);font-size:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:var(--el-notification-close-color);font-size:var(--el-notification-close-font-size)}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color: var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color: var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color: var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color: var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{display:flex;align-items:center;justify-content:space-between;line-height:24px}.el-page-header__left{display:flex;align-items:center;margin-right:40px;position:relative}.el-page-header__back{display:flex;align-items:center;cursor:pointer}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{font-size:16px;margin-right:10px;display:flex;align-items:center}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{font-size:18px;color:var(--el-text-color-primary)}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size: 14px;--el-pagination-bg-color: var(--el-fill-color-blank);--el-pagination-text-color: var(--el-text-color-primary);--el-pagination-border-radius: 2px;--el-pagination-button-color: var(--el-text-color-primary);--el-pagination-button-width: 32px;--el-pagination-button-height: 32px;--el-pagination-button-disabled-color: var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color: var(--el-fill-color-blank);--el-pagination-button-bg-color: var(--el-fill-color);--el-pagination-hover-color: var(--el-color-primary);--el-pagination-font-size-small: 12px;--el-pagination-button-width-small: 24px;--el-pagination-button-height-small: 24px;--el-pagination-item-gap: 16px;white-space:nowrap;color:var(--el-pagination-text-color);font-size:var(--el-pagination-font-size);font-weight:400;display:flex;align-items:center}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield}.el-pagination .el-select .el-input{width:128px}.el-pagination button{display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);padding:0 4px;border:none;border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box}.el-pagination button *{pointer-events:none}.el-pagination button:focus{outline:none}.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination button.is-active.is-disabled{font-weight:700;color:var(--el-text-color-secondary)}.el-pagination button:disabled,.el-pagination button.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pagination button:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-prev .el-icon,.el-pagination .btn-next .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>*.is-first{margin-left:0!important}.el-pagination>*.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{margin-left:var(--el-pagination-item-gap);font-weight:400;color:var(--el-text-color-regular)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{display:flex;align-items:center;margin-left:var(--el-pagination-item-gap);font-weight:400;color:var(--el-text-color-regular)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{text-align:center;box-sizing:border-box}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{flex:1;display:flex;align-items:center;justify-content:flex-end}.el-pagination.is-background .btn-prev,.el-pagination.is-background .btn-next,.el-pagination.is-background .el-pager li{margin:0 4px;background-color:var(--el-pagination-button-bg-color)}.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .el-pager li:disabled,.el-pagination.is-background .el-pager li.is-disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active{color:var(--el-text-color-secondary);background-color:var(--el-fill-color-dark)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-prev,.el-pagination--small .btn-next,.el-pagination--small .el-pager li{height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);font-size:var(--el-pagination-font-size-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small span:not([class*=suffix]),.el-pagination--small button{font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select .el-input{width:100px}.el-pager{-webkit-user-select:none;-moz-user-select:none;user-select:none;list-style:none;font-size:0;padding:0;margin:0;display:flex;align-items:center}.el-pager li{display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);padding:0 4px;border:none;border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{font-weight:700;color:var(--el-text-color-secondary)}.el-pager li:disabled,.el-pager li.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm__main{display:flex;align-items:center}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin-top:8px}.el-popover{--el-popover-bg-color: var(--el-bg-color-overlay);--el-popover-font-size: var(--el-font-size-base);--el-popover-border-color: var(--el-border-color-lighter);--el-popover-padding: 12px;--el-popover-padding-large: 18px 20px;--el-popover-title-font-size: 16px;--el-popover-title-text-color: var(--el-text-color-primary);--el-popover-border-radius: 4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:not(.focusing),.el-popover__reference:focus:hover{outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color: var(--el-text-color-primary);--el-popover-border-color: var(--el-text-color-primary);--el-popover-title-text-color: var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus:active,.el-popover.el-popper:focus{outline-width:0}.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);animation:indeterminate 3s infinite}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color: var(--el-color-primary);--el-radio-button-checked-text-color: var(--el-color-white);--el-radio-button-checked-border-color: var(--el-color-primary);--el-radio-button-disabled-checked-fill: var(--el-border-color-extra-light);position:relative;display:inline-block;outline:none}.el-radio-button__inner{display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color, var(--el-fill-color-blank));border:var(--el-border);font-weight:var(--el-button-font-weight, var(--el-font-weight-primary));border-left:0;color:var(--el-button-text-color, var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;margin:0;position:relative;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:0}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:checked+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color, var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color, var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color, var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color, var(--el-color-primary))}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color, var(--el-color-primary));outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2;border-radius:var(--el-border-radius-base);box-shadow:none}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color, var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color, var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:0}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{padding:5px 11px;font-size:12px;border-radius:0}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{display:inline-flex;align-items:center;flex-wrap:wrap;font-size:0}.el-radio{--el-radio-font-size: var(--el-font-size-base);--el-radio-text-color: var(--el-text-color-regular);--el-radio-font-weight: var(--el-font-weight-primary);--el-radio-input-height: 14px;--el-radio-input-width: 14px;--el-radio-input-border-radius: var(--el-border-radius-circle);--el-radio-input-bg-color: var(--el-fill-color-blank);--el-radio-input-border: var(--el-border);--el-radio-input-border-color: var(--el-border-color);--el-radio-input-border-color-hover: var(--el-color-primary);color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:none;font-size:var(--el-font-size-base);-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:32px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio__original:focus-visible+.el-radio__inner{outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px;border-radius:var(--el-radio-input-border-radius)}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}.el-rate{--el-rate-height: 20px;--el-rate-font-size: var(--el-font-size-base);--el-rate-icon-size: 18px;--el-rate-icon-margin: 6px;--el-rate-void-color: var(--el-border-color-darker);--el-rate-fill-color: #f7ba2a;--el-rate-disabled-void-color: var(--el-fill-color);--el-rate-text-color: var(--el-text-color-primary);display:inline-flex;align-items:center;height:32px}.el-rate:focus,.el-rate:active{outline:none}.el-rate__item{cursor:pointer;display:inline-block;position:relative;font-size:0;vertical-align:middle;color:var(--el-rate-void-color);line-height:normal}.el-rate .el-rate__icon{position:relative;display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{position:absolute;left:0;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{position:absolute;top:0;left:0;display:inline-block;overflow:hidden;color:var(--el-rate-fill-color)}.el-rate__text{font-size:var(--el-rate-font-size);vertical-align:middle;color:var(--el-rate-text-color)}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{cursor:auto;color:var(--el-rate-disabled-void-color)}.el-result{--el-result-padding: 40px 30px;--el-result-icon-font-size: 64px;--el-result-title-font-size: 20px;--el-result-title-margin-top: 20px;--el-result-subtitle-margin-top: 10px;--el-result-extra-margin-top: 30px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-result-padding)}.el-result__icon svg{width:var(--el-result-icon-font-size);height:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{margin:0;font-size:var(--el-result-title-font-size);color:var(--el-text-color-primary);line-height:1.3}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);line-height:1.3}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color: var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color: var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color: var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color: var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color: var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color: var(--el-color-info);color:var(--el-result-color)}.el-row{display:flex;flex-wrap:wrap;position:relative;box-sizing:border-box}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity: .3;--el-scrollbar-bg-color: var(--el-text-color-secondary);--el-scrollbar-hover-opacity: .5;--el-scrollbar-hover-bg-color: var(--el-text-color-secondary);overflow:hidden;position:relative;height:100%}.el-scrollbar__wrap{overflow:auto;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color, var(--el-text-color-secondary));transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity, .3)}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color, var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity, .5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown__option-item.is-selected:not(.is-multiple).is-disabled{color:var(--el-text-color-disabled)}.el-select-dropdown__option-item.is-selected:not(.is-multiple).is-disabled:after{background-color:var(--el-text-color-disabled)}.el-select-dropdown__option-item:hover:not(.hover){background-color:transparent}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-disabled.is-selected{color:var(--el-text-color-disabled)}.el-select-dropdown__list{list-style:none;margin:6px 0!important;padding:0!important;box-sizing:border-box}.el-select-dropdown__option-item{font-size:var(--el-select-font-size);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__option-item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__option-item.is-disabled:hover{background-color:var(--el-bg-color)}.el-select-dropdown__option-item.is-selected{background-color:var(--el-fill-color-light);font-weight:700}.el-select-dropdown__option-item.is-selected:not(.is-multiple){color:var(--el-color-primary)}.el-select-dropdown__option-item.hover{background-color:var(--el-fill-color-light)!important}.el-select-dropdown__option-item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected .el-icon{position:absolute;right:20px;top:0;height:inherit;font-size:12px}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected .el-icon svg{height:inherit;vertical-align:middle}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:var(--el-border-color-light)}.el-select-group__split-dash{position:absolute;left:20px;right:20px;height:1px;background:var(--el-border-color-light)}.el-select-group__title{padding-left:20px;font-size:12px;color:var(--el-color-info);line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select-v2{--el-select-border-color-hover: var(--el-border-color-hover);--el-select-disabled-border: var(--el-disabled-border-color);--el-select-font-size: var(--el-font-size-base);--el-select-close-hover-color: var(--el-text-color-secondary);--el-select-input-color: var(--el-text-color-placeholder);--el-select-multiple-input-color: var(--el-text-color-regular);--el-select-input-focus-border-color: var(--el-color-primary);--el-select-input-font-size: 14px;display:inline-block;position:relative;vertical-align:middle;font-size:14px}.el-select-v2__wrapper{display:flex;align-items:center;flex-wrap:wrap;position:relative;box-sizing:border-box;cursor:pointer;padding:1px 30px 1px 0;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);background-color:var(--el-fill-color-blank);transition:var(--el-transition-duration)}.el-select-v2__wrapper:hover{border-color:var(--el-text-color-placeholder)}.el-select-v2__wrapper.is-filterable{cursor:text}.el-select-v2__wrapper.is-focused{border-color:var(--el-color-primary)}.el-select-v2__wrapper.is-hovering:not(.is-focused){border-color:var(--el-border-color-hover)}.el-select-v2__wrapper.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);border-color:var(--el-select-disabled-border)}.el-select-v2__wrapper.is-disabled:hover{border-color:var(--el-select-disabled-border)}.el-select-v2__wrapper.is-disabled.is-focus{border-color:var(--el-input-focus-border-color)}.el-select-v2__wrapper.is-disabled .is-transparent{opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select-v2__wrapper.is-disabled .el-select-v2__caret,.el-select-v2__wrapper.is-disabled .el-select-v2__combobox-input{cursor:not-allowed}.el-select-v2__wrapper .el-select-v2__input-wrapper{box-sizing:border-box;position:relative;margin-inline-start:12px;max-width:100%;overflow:hidden}.el-select-v2__wrapper,.el-select-v2__wrapper .el-select-v2__input-wrapper{line-height:32px}.el-select-v2__wrapper .el-select-v2__input-wrapper input{--el-input-inner-height: calc(var(--el-component-size, 32px) - 8px);height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);min-width:4px;width:100%;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:none;margin:2px 0;outline:none;padding:0}.el-select-v2 .el-select-v2__tags-text{display:inline-block;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select-v2__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:14px}.el-select-v2__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select-v2__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select-v2__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select-v2__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select-v2__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select-v2__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select-v2--large .el-select-v2__wrapper .el-select-v2__combobox-input{height:32px}.el-select-v2--large .el-select-v2__caret,.el-select-v2--large .el-select-v2__suffix{height:40px}.el-select-v2--large .el-select-v2__placeholder{font-size:14px;line-height:40px}.el-select-v2--small .el-select-v2__wrapper .el-select-v2__combobox-input{height:16px}.el-select-v2--small .el-select-v2__caret,.el-select-v2--small .el-select-v2__suffix{height:24px}.el-select-v2--small .el-select-v2__placeholder{font-size:12px;line-height:24px}.el-select-v2 .el-select-v2__selection>span{display:inline-block}.el-select-v2:hover .el-select-v2__combobox-input{border-color:var(--el-select-border-color-hover)}.el-select-v2 .el-select__selection-text{text-overflow:ellipsis;display:inline-block;overflow-x:hidden;vertical-align:bottom}.el-select-v2 .el-select-v2__combobox-input{padding-right:35px;display:block;color:var(--el-text-color-regular)}.el-select-v2 .el-select-v2__combobox-input:focus{border-color:var(--el-select-input-focus-border-color)}.el-select-v2__input{border:none;outline:none;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px}.el-select-v2__input.is-small{height:14px}.el-select-v2__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select-v2__close:hover{color:var(--el-select-close-hover-color)}.el-select-v2__suffix{display:inline-flex;position:absolute;right:12px;height:32px;top:50%;transform:translateY(-50%);color:var(--el-input-icon-color, var(--el-text-color-placeholder))}.el-select-v2__suffix .el-input__icon{height:inherit}.el-select-v2__suffix .el-input__icon:not(:first-child){margin-left:8px}.el-select-v2__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:var(--el-transition-duration);transform:rotate(180deg);cursor:pointer}.el-select-v2__caret.is-reverse{transform:rotate(0)}.el-select-v2__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(180deg);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select-v2__caret.is-show-close:hover{color:var(--el-select-close-hover-color)}.el-select-v2__caret.el-icon{height:inherit}.el-select-v2__caret.el-icon svg{vertical-align:middle}.el-select-v2__selection{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap;width:100%}.el-select-v2__input-calculator{left:0;position:absolute;top:0;visibility:hidden;white-space:pre;z-index:999}.el-select-v2__selected-item{line-height:inherit;height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-wrap:wrap}.el-select-v2__placeholder{position:absolute;top:50%;transform:translateY(-50%);margin-inline-start:12px;width:calc(100% - 52px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--el-input-text-color, var(--el-text-color-regular))}.el-select-v2__placeholder.is-transparent{color:var(--el-text-color-placeholder)}.el-select-v2 .el-select-v2__selection .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 0 2px 6px;background-color:var(--el-fill-color)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;color:var(--el-color-white)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select-v2.el-select-v2--small .el-select-v2__selection .el-tag{margin:1px 0 1px 6px;height:18px}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.is-disabled:after{background-color:var(--el-text-color-disabled)}.el-select-dropdown .el-select-dropdown__option-item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown .el-select-dropdown__item.is-disabled:hover{background-color:unset}.el-select-dropdown .el-select-dropdown__item.is-disabled.selected{color:var(--el-text-color-disabled)}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select{--el-select-border-color-hover: var(--el-border-color-hover);--el-select-disabled-border: var(--el-disabled-border-color);--el-select-font-size: var(--el-font-size-base);--el-select-close-hover-color: var(--el-text-color-secondary);--el-select-input-color: var(--el-text-color-placeholder);--el-select-multiple-input-color: var(--el-text-color-regular);--el-select-input-focus-border-color: var(--el-color-primary);--el-select-input-font-size: 14px;display:inline-block;position:relative;vertical-align:middle;line-height:32px}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select .el-select-tags-wrapper.has-prefix{margin-left:6px}.el-select--large{line-height:40px}.el-select--large .el-select-tags-wrapper.has-prefix{margin-left:8px}.el-select--small{line-height:24px}.el-select--small .el-select-tags-wrapper.has-prefix{margin-left:4px}.el-select .el-select__tags>span{display:inline-block}.el-select:hover:not(.el-select--disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-select-border-color-hover) inset}.el-select .el-select__tags-text{display:inline-block;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select .el-input__wrapper{cursor:pointer}.el-select .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select .el-input__inner{cursor:pointer}.el-select .el-input{display:flex}.el-select .el-input .el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:transform var(--el-transition-duration);transform:rotate(0);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(-180deg)}.el-select .el-input .el-select__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(0);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select .el-input .el-select__caret.is-show-close:hover{color:var(--el-select-close-hover-color)}.el-select .el-input .el-select__caret.el-icon{position:relative;height:inherit;z-index:2}.el-select .el-input.is-disabled .el-input__wrapper{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select .el-input.is-disabled .el-input__inner,.el-select .el-input.is-disabled .el-select__caret{cursor:not-allowed}.el-select .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select__input{border:none;outline:none;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__input.is-disabled{cursor:not-allowed}.el-select__input--iOS{position:absolute;left:0;top:0;z-index:6}.el-select__input.is-small{height:14px}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select__close:hover{color:var(--el-select-close-hover-color)}.el-select__tags{position:absolute;line-height:normal;top:50%;transform:translateY(-50%);white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap;cursor:pointer}.el-select__tags .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.el-select__tags .el-tag:last-child{margin-right:0}.el-select__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;top:0;color:#fff}.el-select__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select__tags .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select__tags .el-tag--info{background-color:var(--el-fill-color)}.el-select__tags.is-disabled{cursor:not-allowed}.el-select__collapse-tags{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap;cursor:pointer}.el-select__collapse-tags .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.el-select__collapse-tags .el-tag:last-child{margin-right:0}.el-select__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;top:0;color:#fff}.el-select__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select__collapse-tags .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select__collapse-tags .el-tag--info{background-color:var(--el-fill-color)}.el-select__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-skeleton{--el-skeleton-circle-size: var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);display:inline-block;height:16px;border-radius:var(--el-border-radius-base);width:100%}.el-skeleton__circle{border-radius:50%;width:var(--el-skeleton-circle-size);height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size)}.el-skeleton__button{height:40px;width:64px;border-radius:4px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:var(--el-font-size-small)}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{width:unset;display:flex;align-items:center;justify-content:center;border-radius:0}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:22%;height:22%}.el-skeleton{--el-skeleton-color: var(--el-fill-color);--el-skeleton-to-color: var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{height:16px;margin-top:16px;background:var(--el-skeleton-color)}.el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%;animation:el-skeleton-loading 1.4s ease infinite}.el-slider{--el-slider-main-bg-color: var(--el-color-primary);--el-slider-runway-bg-color: var(--el-border-color-light);--el-slider-stop-bg-color: var(--el-color-white);--el-slider-disabled-color: var(--el-text-color-placeholder);--el-slider-border-radius: 3px;--el-slider-height: 6px;--el-slider-button-size: 20px;--el-slider-button-wrapper-size: 36px;--el-slider-button-wrapper-offset: -15px;width:100%;height:32px;display:flex;align-items:center}.el-slider__runway{flex:1;height:var(--el-slider-height);background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);position:relative;cursor:pointer}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper:hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button:hover,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button.dragging{transform:scale(1)}.el-slider__runway.is-disabled .el-slider__button:hover,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button.dragging{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{height:var(--el-slider-height);background-color:var(--el-slider-main-bg-color);border-top-left-radius:var(--el-slider-border-radius);border-bottom-left-radius:var(--el-slider-border-radius);position:absolute}.el-slider__button-wrapper{height:var(--el-slider-button-wrapper-size);width:var(--el-slider-button-wrapper-size);position:absolute;z-index:1;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;line-height:normal;outline:none}.el-slider__button-wrapper:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-slider__button-wrapper:hover,.el-slider__button-wrapper.hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{display:inline-block;width:var(--el-slider-button-size);height:var(--el-slider-button-size);vertical-align:middle;border:solid 2px var(--el-slider-main-bg-color);background-color:var(--el-color-white);border-radius:50%;box-sizing:border-box;transition:var(--el-transition-duration-fast);-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-slider__button:hover,.el-slider__button.hover,.el-slider__button.dragging{transform:scale(1.2)}.el-slider__button:hover,.el-slider__button.hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{position:absolute;height:var(--el-slider-height);width:var(--el-slider-height);border-radius:var(--el-border-radius-circle);background-color:var(--el-slider-stop-bg-color);transform:translate(-50%)}.el-slider__marks{top:0;left:12px;width:18px;height:100%}.el-slider__marks-text{position:absolute;transform:translate(-50%);font-size:14px;color:var(--el-color-info);margin-top:15px;white-space:pre}.el-slider.is-vertical{position:relative;display:inline-flex;width:auto;height:100%;flex:0}.el-slider.is-vertical .el-slider__runway{width:var(--el-slider-height);height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:var(--el-slider-height);height:auto;border-radius:0 0 3px 3px}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:var(--el-slider-button-wrapper-offset);transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{position:relative;flex-shrink:1}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-shrink:0;flex-grow:0}.el-step:last-of-type .el-step__main,.el-step:last-of-type .el-step__description{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{color:var(--el-text-color-primary);border-color:var(--el-text-color-primary)}.el-step__head.is-wait{color:var(--el-text-color-placeholder);border-color:var(--el-text-color-placeholder)}.el-step__head.is-success{color:var(--el-color-success);border-color:var(--el-color-success)}.el-step__head.is-error{color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-step__head.is-finish{color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-step__icon{position:relative;z-index:1;display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;box-sizing:border-box;background:var(--el-bg-color);transition:.15s ease-out}.el-step__icon.is-text{border-radius:50%;border:2px solid;border-color:inherit}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:center;font-weight:700;line-height:1;color:inherit}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{position:absolute;border-color:inherit;background-color:var(--el-text-color-placeholder)}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;transition:.15s ease-out;box-sizing:border-box;width:0;height:0}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{font-weight:700;color:var(--el-text-color-primary)}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{padding-right:10%;margin-top:-5px;font-size:12px;line-height:20px;font-weight:400}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{padding-left:10px;flex-grow:1}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{display:flex;align-items:center}.el-step.is-simple .el-step__head{width:auto;font-size:0;padding-right:10px}.el-step.is-simple .el-step__icon{background:transparent;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{position:relative;display:flex;align-items:stretch;flex-grow:1}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;word-break:break-all}.el-step.is-simple .el-step__arrow{flex-grow:1;display:flex;align-items:center;justify-content:center}.el-step.is-simple .el-step__arrow:before,.el-step.is-simple .el-step__arrow:after{content:"";display:inline-block;position:absolute;height:15px;width:1px;background:var(--el-text-color-placeholder)}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex}.el-steps--simple{padding:13px 8%;border-radius:4px;background:var(--el-fill-color-light)}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{height:100%;flex-flow:column}.el-switch{--el-switch-on-color: var(--el-color-primary);--el-switch-off-color: var(--el-border-color);display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:20px;height:32px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);height:20px;display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:var(--el-text-color-primary)}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{display:inline-flex;position:relative;align-items:center;min-width:40px;height:20px;border:1px solid var(--el-switch-border-color, var(--el-switch-off-color));outline:none;border-radius:10px;box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{width:100%;transition:all var(--el-transition-duration);height:16px;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:0 4px 0 18px}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{font-size:12px;color:var(--el-color-white);-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-switch__core .el-switch__action{position:absolute;left:1px;border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);width:16px;height:16px;background-color:var(--el-color-white);display:flex;justify-content:center;align-items:center;color:var(--el-switch-off-color)}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-border-color, var(--el-switch-on-color));background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{left:calc(100% - 17px);color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;line-height:24px;height:40px}.el-switch--large .el-switch__label{height:24px;font-size:14px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{min-width:50px;height:24px;border-radius:12px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{width:20px;height:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;line-height:16px;height:24px}.el-switch--small .el-switch__label{height:16px;font-size:12px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{min-width:30px;height:16px;border-radius:8px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{width:12px;height:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);border-radius:2px;background-color:#fff;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:var(--el-font-size-base)}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:transparent;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:none}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:flex;align-items:center;margin-right:5px;margin-bottom:12px;margin-left:5px;height:unset}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color: var(--el-border-color-lighter);--el-table-border: 1px solid var(--el-table-border-color);--el-table-text-color: var(--el-text-color-regular);--el-table-header-text-color: var(--el-text-color-secondary);--el-table-row-hover-bg-color: var(--el-fill-color-light);--el-table-current-row-bg-color: var(--el-color-primary-light-9);--el-table-header-bg-color: var(--el-bg-color);--el-table-fixed-box-shadow: var(--el-box-shadow-light);--el-table-bg-color: var(--el-fill-color-blank);--el-table-tr-bg-color: var(--el-fill-color-blank);--el-table-expanded-cell-bg-color: var(--el-fill-color-blank);--el-table-fixed-left-column: inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column: inset -10px 0 10px -10px rgba(0, 0, 0, .15);position:relative;overflow:hidden;box-sizing:border-box;height:-moz-fit-content;height:fit-content;width:100%;max-width:100%;background-color:var(--el-table-bg-color);font-size:14px;color:var(--el-table-text-color)}.el-table__inner-wrapper{position:relative;display:flex;flex-direction:column;height:100%}.el-table__inner-wrapper:before{left:0;bottom:0;width:100%;height:1px}.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell,.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{position:sticky;left:0;min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:var(--el-text-color-secondary)}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table__expand-icon{position:relative;cursor:pointer;color:var(--el-text-color-regular);font-size:12px;transition:transform var(--el-transition-duration-fast) ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table thead{color:var(--el-table-header-text-color);font-weight:500}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{padding:8px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left;z-index:1}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding:0 12px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:14px}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table th.el-table__cell.is-leaf,.el-table td.el-table__cell{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table__footer-wrapper{border-top:var(--el-table-border)}.el-table--border:after,.el-table--border:before,.el-table--border .el-table__inner-wrapper:after,.el-table__inner-wrapper:before{content:"";position:absolute;background-color:var(--el-table-border-color);z-index:3}.el-table--border .el-table__inner-wrapper:after{left:0;top:0;width:100%;height:1px}.el-table--border:before{top:-1px;left:0;width:1px;height:100%}.el-table--border:after{top:-1px;right:0;width:1px;height:100%}.el-table--border .el-table__inner-wrapper{border-right:none;border-bottom:none}.el-table--border .el-table__footer-wrapper{position:relative;flex-shrink:0}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__header-wrapper,.el-table__body-wrapper,.el-table__footer-wrapper{width:100%}.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right,.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right{position:sticky!important;z-index:2;background:var(--el-bg-color)}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{content:"";position:absolute;top:0;width:10px;bottom:-1px;overflow-x:hidden;overflow-y:hidden;box-shadow:none;touch-action:none;pointer-events:none}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px;box-shadow:none}.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch,.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch{position:sticky!important;z-index:2;background:#fff;right:0}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__header,.el-table__body,.el-table__footer{table-layout:fixed;border-collapse:separate}.el-table__header-wrapper,.el-table__footer-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell,.el-table__footer-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__header-wrapper .el-table-column--selection>.cell,.el-table__body-wrapper .el-table-column--selection>.cell{display:inline-flex;align-items:center;height:23px}.el-table__header-wrapper .el-table-column--selection .el-checkbox,.el-table__body-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{overflow:hidden;position:relative;flex:1}.el-table__body-wrapper .el-scrollbar__bar{z-index:2}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:14px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:solid 5px transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:var(--el-table-border);z-index:10}.el-table__column-filter-trigger{display:inline-block;cursor:pointer}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{top:0;left:0;width:1px;height:100%;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-bottom-patch{left:0;height:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-right-patch{top:0;height:100%;width:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:12px;line-height:12px;height:12px;text-align:center;margin-right:8px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color: var(--el-border-color-lighter);--el-table-border: 1px solid var(--el-table-border-color);--el-table-text-color: var(--el-text-color-regular);--el-table-header-text-color: var(--el-text-color-secondary);--el-table-row-hover-bg-color: var(--el-fill-color-light);--el-table-current-row-bg-color: var(--el-color-primary-light-9);--el-table-header-bg-color: var(--el-bg-color);--el-table-fixed-box-shadow: var(--el-box-shadow-light);--el-table-bg-color: var(--el-fill-color-blank);--el-table-tr-bg-color: var(--el-fill-color-blank);--el-table-expanded-cell-bg-color: var(--el-fill-color-blank);--el-table-fixed-left-column: inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column: inset -10px 0 10px -10px rgba(0, 0, 0, .15);font-size:14px}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{display:flex;flex-direction:column-reverse;position:absolute;overflow:hidden;top:0;background-color:var(--el-bg-color);left:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{display:flex;flex-direction:column-reverse;position:absolute;overflow:hidden;top:0;background-color:var(--el-bg-color);left:0;box-shadow:2px 0 4px #0000000f}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__vertical,.el-table-v2__left .el-vl__horizontal{z-index:-1}.el-table-v2__right{display:flex;flex-direction:column-reverse;position:absolute;overflow:hidden;top:0;background-color:var(--el-bg-color);right:0;box-shadow:-2px 0 4px #0000000f}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__vertical,.el-table-v2__right .el-vl__horizontal{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{position:relative;overflow:hidden}.el-table-v2__footer{position:absolute;left:0;right:0;bottom:0;overflow:hidden}.el-table-v2__empty{position:absolute;left:0}.el-table-v2__overlay{position:absolute;left:0;right:0;top:0;bottom:0;z-index:9999}.el-table-v2__header-row{display:flex;border-bottom:var(--el-table-border)}.el-table-v2__header-cell{display:flex;align-items:center;padding:0 8px;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);font-weight:700}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{transition:opacity,display var(--el-transition-duration);opacity:.6;display:none}.el-table-v2__sort-icon.is-sorting{display:block;opacity:1}.el-table-v2__row{border-bottom:var(--el-table-border);display:flex;align-items:center;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{height:100%;overflow:hidden;display:flex;align-items:center;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{margin:0 4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{overflow:hidden;align-items:stretch}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{word-break:break-all}.el-tabs{--el-tabs-header-height: 40px}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:var(--el-color-primary);z-index:1;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none}.el-tabs__new-tab{display:flex;align-items:center;justify-content:center;float:right;border:1px solid var(--el-border-color);height:20px;width:20px;line-height:20px;margin:10px 0 10px 10px;border-radius:3px;text-align:center;font-size:12px;color:var(--el-text-color-primary);cursor:pointer;transition:all .15s}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:var(--el-border-color-light);z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:var(--el-text-color-secondary);width:20px;text-align:center}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;white-space:nowrap;position:relative;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:var(--el-tabs-header-height);box-sizing:border-box;display:flex;align-items:center;justify-content:center;list-style:none;font-size:var(--el-font-size-base);font-weight:500;color:var(--el-text-color-primary);position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{box-shadow:0 0 2px 2px var(--el-color-primary) inset;border-radius:3px}.el-tabs__item .is-icon-close{border-radius:50%;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-left:5px}.el-tabs__item .is-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{position:relative;font-size:12px;width:0;height:14px;overflow:hidden;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border:1px solid transparent;margin-top:-1px;color:var(--el-text-color-secondary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--top .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2){padding-left:0}.el-tabs--top .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--bottom .el-tabs__item.is-bottom:last-child{padding-right:0}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover{padding-left:13px}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover{padding-right:13px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-scroll{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{right:0;left:auto}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid var(--el-border-color-light);border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid var(--el-border-color-light);border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.slideInRight-transition,.slideInLeft-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{position:absolute;left:0;right:0;animation:slideInRight-leave var(--el-transition-duration)}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{position:absolute;left:0;right:0;animation:slideInLeft-leave var(--el-transition-duration)}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}}.el-tag{--el-tag-font-size: 12px;--el-tag-border-radius: 4px;--el-tag-border-radius-rounded: 9999px;--el-tag-bg-color: var(--el-color-primary-light-9);--el-tag-border-color: var(--el-color-primary-light-8);--el-tag-hover-color: var(--el-color-primary);--el-tag-text-color: var(--el-color-primary);background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);display:inline-flex;justify-content:center;align-items:center;height:24px;padding:0 9px;font-size:var(--el-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size: 14px}.el-tag.el-tag--primary{--el-tag-bg-color: var(--el-color-primary-light-9);--el-tag-border-color: var(--el-color-primary-light-8);--el-tag-hover-color: var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color: var(--el-color-success-light-9);--el-tag-border-color: var(--el-color-success-light-8);--el-tag-hover-color: var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color: var(--el-color-warning-light-9);--el-tag-border-color: var(--el-color-warning-light-8);--el-tag-hover-color: var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color: var(--el-color-danger-light-9);--el-tag-border-color: var(--el-color-danger-light-8);--el-tag-hover-color: var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color: var(--el-color-error-light-9);--el-tag-border-color: var(--el-color-error-light-8);--el-tag-hover-color: var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color: var(--el-color-info-light-9);--el-tag-border-color: var(--el-color-info-light-8);--el-tag-hover-color: var(--el-color-info)}.el-tag.el-tag--primary{--el-tag-text-color: var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color: var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color: var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color: var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color: var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color: var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color)}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-bg-color: var(--el-color-primary);--el-tag-border-color: var(--el-color-primary);--el-tag-hover-color: var(--el-color-primary-light-3);--el-tag-text-color: var(--el-color-white)}.el-tag--dark.el-tag--primary{--el-tag-bg-color: var(--el-color-primary);--el-tag-border-color: var(--el-color-primary);--el-tag-hover-color: var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color: var(--el-color-success);--el-tag-border-color: var(--el-color-success);--el-tag-hover-color: var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color: var(--el-color-warning);--el-tag-border-color: var(--el-color-warning);--el-tag-hover-color: var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color: var(--el-color-danger);--el-tag-border-color: var(--el-color-danger);--el-tag-hover-color: var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color: var(--el-color-error);--el-tag-border-color: var(--el-color-error);--el-tag-hover-color: var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color: var(--el-color-info);--el-tag-border-color: var(--el-color-info);--el-tag-hover-color: var(--el-color-info-light-3)}.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning,.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info{--el-tag-text-color: var(--el-color-white)}.el-tag--plain{--el-tag-border-color: var(--el-color-primary-light-5);--el-tag-hover-color: var(--el-color-primary);--el-tag-bg-color: var(--el-fill-color-blank)}.el-tag--plain.el-tag--primary{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-primary-light-5);--el-tag-hover-color: var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-success-light-5);--el-tag-hover-color: var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-warning-light-5);--el-tag-hover-color: var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-danger-light-5);--el-tag-hover-color: var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-error-light-5);--el-tag-hover-color: var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color: var(--el-fill-color-blank);--el-tag-border-color: var(--el-color-info-light-5);--el-tag-hover-color: var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{padding:0 11px;height:32px;--el-icon-size: 16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{padding:0 7px;height:20px;--el-icon-size: 12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size: var(--el-font-size-base);--el-text-color: var(--el-text-color-regular);align-self:center;margin:0;padding:0;font-size:var(--el-text-font-size);color:var(--el-text-color);word-break:break-all}.el-text.is-truncated{display:inline-block;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.el-text--large{--el-text-font-size: var(--el-font-size-medium)}.el-text--default{--el-text-font-size: var(--el-font-size-base)}.el-text--small{--el-text-font-size: var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color: var(--el-color-primary)}.el-text.el-text--success{--el-text-color: var(--el-color-success)}.el-text.el-text--warning{--el-text-color: var(--el-color-warning)}.el-text.el-text--danger{--el-text-color: var(--el-color-danger)}.el-text.el-text--error{--el-text-color: var(--el-color-error)}.el-text.el-text--info{--el-text-color: var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);font-weight:700;cursor:pointer}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid var(--el-timeline-node-color)}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{position:absolute;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.el-timeline-item__node--normal{left:-1px;width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{left:-2px;width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline{--el-timeline-node-size-normal: 12px;--el-timeline-node-size-large: 14px;--el-timeline-node-color: var(--el-border-color-light);margin:0;font-size:var(--el-font-size-base);list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{display:flex;align-items:center}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-tooltip-v2__content{--el-tooltip-v2-padding: 5px 10px;--el-tooltip-v2-border-radius: 4px;--el-tooltip-v2-border-color: var(--el-border-color);border-radius:var(--el-tooltip-v2-border-radius);color:var(--el-color-black);background-color:var(--el-color-white);padding:var(--el-tooltip-v2-padding);border:1px solid var(--el-border-color)}.el-tooltip-v2__arrow{position:absolute;color:var(--el-color-white);width:var(--el-tooltip-v2-arrow-width);height:var(--el-tooltip-v2-arrow-height);pointer-events:none;left:var(--el-tooltip-v2-arrow-x);top:var(--el-tooltip-v2-arrow-y)}.el-tooltip-v2__arrow:before{content:"";width:0;height:0;border:var(--el-tooltip-v2-arrow-border-width) solid transparent;position:absolute}.el-tooltip-v2__arrow:after{content:"";width:0;height:0;border:var(--el-tooltip-v2-arrow-border-width) solid transparent;position:absolute}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow{bottom:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:before{border-top-color:var(--el-color-white);border-top-width:var(--el-tooltip-v2-arrow-border-width);border-bottom:0;top:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:after{border-top-color:var(--el-border-color);border-top-width:var(--el-tooltip-v2-arrow-border-width);border-bottom:0;top:100%;z-index:-1}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow{top:0}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:before{border-bottom-color:var(--el-color-white);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:after{border-bottom-color:var(--el-border-color);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:100%;z-index:-1}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow{right:0}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:before{border-left-color:var(--el-color-white);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:after{border-left-color:var(--el-border-color);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:100%;z-index:-1}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow{left:0}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:before{border-right-color:var(--el-color-white);border-right-width:var(--el-tooltip-v2-arrow-border-width);border-left:0;right:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:after{border-right-color:var(--el-border-color);border-right-width:var(--el-tooltip-v2-arrow-border-width);border-left:0;right:100%;z-index:-1}.el-tooltip-v2__content.is-dark{--el-tooltip-v2-border-color: transparent;background-color:var(--el-color-black);color:var(--el-color-white);border-color:transparent}.el-tooltip-v2__content.is-dark .el-tooltip-v2__arrow{background-color:var(--el-color-black);border-color:transparent}.el-transfer{--el-transfer-border-color: var(--el-border-color-lighter);--el-transfer-border-radius: var(--el-border-radius-base);--el-transfer-panel-width: 200px;--el-transfer-panel-header-height: 40px;--el-transfer-panel-header-bg-color: var(--el-fill-color-light);--el-transfer-panel-footer-height: 40px;--el-transfer-panel-body-height: 278px;--el-transfer-item-height: 30px;--el-transfer-filter-height: 32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;vertical-align:middle;padding:0 30px}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{overflow:hidden;background:var(--el-bg-color-overlay);display:inline-block;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width);max-height:100%;box-sizing:border-box;position:relative}.el-transfer-panel__body{height:var(--el-transfer-panel-body-height);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{margin:0;padding:6px 0;list-style:none;height:var(--el-transfer-panel-body-height);overflow:auto;box-sizing:border-box}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px;display:block!important}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular)}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;box-sizing:border-box;padding-left:22px;line-height:var(--el-transfer-item-height)}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;padding:15px;box-sizing:border-box}.el-transfer-panel__filter .el-input__inner{height:var(--el-transfer-filter-height);width:100%;font-size:12px;display:inline-block;box-sizing:border-box;border-radius:calc(var(--el-transfer-filter-height) / 2)}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{display:flex;align-items:center;height:var(--el-transfer-panel-header-height);background:var(--el-transfer-panel-header-bg-color);margin:0;padding-left:15px;border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black)}.el-transfer-panel .el-transfer-panel__header .el-checkbox{position:relative;display:flex;width:100%;align-items:center}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{font-size:16px;color:var(--el-text-color-primary);font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0);color:var(--el-text-color-secondary);font-size:12px;font-weight:400}.el-transfer-panel .el-transfer-panel__footer{height:var(--el-transfer-panel-footer-height);background:var(--el-bg-color-overlay);margin:0;padding:0;border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius)}.el-transfer-panel .el-transfer-panel__footer:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{padding-left:20px;color:var(--el-text-color-regular)}.el-transfer-panel .el-transfer-panel__empty{margin:0;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding:6px 15px 0;color:var(--el-text-color-secondary);text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{height:14px;width:14px;border-radius:3px}.el-transfer-panel .el-checkbox__inner:after{height:6px;width:3px;left:4px}.el-tree{--el-tree-node-hover-bg-color: var(--el-fill-color-light);--el-tree-text-color: var(--el-text-color-regular);--el-tree-expand-icon-color: var(--el-text-color-placeholder);position:relative;cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color);font-size:var(--el-font-size-base)}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--el-text-color-secondary);font-size:var(--el-font-size-base)}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:var(--el-color-primary)}.el-tree-node{white-space:nowrap;outline:none}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px;box-sizing:content-box}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{margin-right:8px;font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color)}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-hover-bg-color: var(--el-fill-color-light);--el-tree-text-color: var(--el-text-color-regular);--el-tree-expand-icon-color: var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__item{flex:1;background:transparent!important;padding-left:0;height:20px;line-height:20px}.el-upload{--el-upload-dragger-padding-horizontal: 40px;--el-upload-dragger-padding-vertical: 10px;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;outline:none}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:var(--el-text-color-regular);margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.el-upload--picture-card{--el-upload-picture-card-size: 148px;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;display:inline-flex;justify-content:center;align-items:center}.el-upload--picture-card i{font-size:28px;color:var(--el-text-color-secondary)}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{padding:var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{font-size:67px;color:var(--el-text-color-placeholder);margin-bottom:16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{padding:calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px);background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:var(--el-text-color-regular);margin-bottom:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{display:none;position:absolute;right:5px;top:50%;cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{display:none;position:absolute;top:1px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:var(--el-color-primary);font-style:normal}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;justify-content:center;flex-direction:column;width:calc(100% - 30px);margin-left:4px}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:hover,.el-upload-list__item.is-success .el-upload-list__item-name:focus{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:not(.focusing):focus,.el-upload-list__item.is-success:active{outline-width:0}.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip,.el-upload-list__item.is-success:active .el-icon--close-tip{display:none}.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{color:var(--el-text-color-regular);display:inline-flex;text-align:center;align-items:center;padding:0 4px;transition:color var(--el-transition-duration);font-size:var(--el-font-size-base)}.el-upload-list__item-name .el-icon{margin-right:6px;color:var(--el-text-color-secondary)}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none;height:100%;justify-content:center;align-items:center;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:var(--el-text-color-regular);display:none}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size: 148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;padding:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.el-upload-list--picture-card .el-upload-list__item-status-label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;display:inline-flex;justify-content:center;align-items:center;color:#fff;opacity:0;font-size:20px;background-color:var(--el-overlay-color-lighter);transition:opacity var(--el-transition-duration)}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:1rem}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px;display:flex;align-items:center}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:inline-flex}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;-o-object-fit:contain;object-fit:contain;position:relative;z-index:1;background-color:var(--el-color-white)}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:var(--el-overlay-color-light);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:var(--el-text-color-primary)}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper:hover .el-virtual-scrollbar,.el-vl__wrapper.always-on .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius: var(--el-popover-border-radius, 4px);position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark .el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light .el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-select-dropdown__item{font-size:var(--el-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.selected{color:var(--el-color-primary);font-weight:700}.el-statistic{--el-statistic-title-font-weight: 400;--el-statistic-title-font-size: var(--el-font-size-extra-small);--el-statistic-title-color: var(--el-text-color-regular);--el-statistic-content-font-weight: 400;--el-statistic-content-font-size: var(--el-font-size-extra-large);--el-statistic-content-color: var(--el-text-color-primary)}.el-statistic__head{font-weight:var(--el-statistic-title-font-weight);font-size:var(--el-statistic-title-font-size);color:var(--el-statistic-title-color);line-height:20px;margin-bottom:4px}.el-statistic__content{font-weight:var(--el-statistic-content-font-weight);font-size:var(--el-statistic-content-font-size);color:var(--el-statistic-content-color)}.el-statistic__value{display:inline-block}.el-statistic__prefix{margin-right:4px;display:inline-block}.el-statistic__suffix{margin-left:4px;display:inline-block}html.dark{color-scheme:dark;--el-color-primary: #409eff;--el-color-primary-light-3: #3375b9;--el-color-primary-light-5: #2a598a;--el-color-primary-light-7: #213d5b;--el-color-primary-light-8: #1d3043;--el-color-primary-light-9: #18222c;--el-color-primary-dark-2: #66b1ff;--el-color-success: #67c23a;--el-color-success-light-3: #4e8e2f;--el-color-success-light-5: #3e6b27;--el-color-success-light-7: #2d481f;--el-color-success-light-8: #25371c;--el-color-success-light-9: #1c2518;--el-color-success-dark-2: #85ce61;--el-color-warning: #e6a23c;--el-color-warning-light-3: #a77730;--el-color-warning-light-5: #7d5b28;--el-color-warning-light-7: #533f20;--el-color-warning-light-8: #3e301c;--el-color-warning-light-9: #292218;--el-color-warning-dark-2: #ebb563;--el-color-danger: #f56c6c;--el-color-danger-light-3: #b25252;--el-color-danger-light-5: #854040;--el-color-danger-light-7: #582e2e;--el-color-danger-light-8: #412626;--el-color-danger-light-9: #2b1d1d;--el-color-danger-dark-2: #f78989;--el-color-error: #f56c6c;--el-color-error-light-3: #b25252;--el-color-error-light-5: #854040;--el-color-error-light-7: #582e2e;--el-color-error-light-8: #412626;--el-color-error-light-9: #2b1d1d;--el-color-error-dark-2: #f78989;--el-color-info: #909399;--el-color-info-light-3: #6b6d71;--el-color-info-light-5: #525457;--el-color-info-light-7: #393a3c;--el-color-info-light-8: #2d2d2f;--el-color-info-light-9: #202121;--el-color-info-dark-2: #a6a9ad;--el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .36), 0px 8px 20px rgba(0, 0, 0, .72);--el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .72);--el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .72);--el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000;--el-bg-color-page: #0a0a0a;--el-bg-color: #141414;--el-bg-color-overlay: #1d1e1f;--el-text-color-primary: #E5EAF3;--el-text-color-regular: #CFD3DC;--el-text-color-secondary: #A3A6AD;--el-text-color-placeholder: #8D9095;--el-text-color-disabled: #6C6E72;--el-border-color-darker: #636466;--el-border-color-dark: #58585B;--el-border-color: #4C4D4F;--el-border-color-light: #414243;--el-border-color-lighter: #363637;--el-border-color-extra-light: #2B2B2C;--el-fill-color-darker: #424243;--el-fill-color-dark: #39393A;--el-fill-color: #303030;--el-fill-color-light: #262727;--el-fill-color-lighter: #1D1D1D;--el-fill-color-extra-light: #191919;--el-fill-color-blank: transparent;--el-mask-color: rgba(0, 0, 0, .8);--el-mask-color-extra-light: rgba(0, 0, 0, .3)}html.dark .el-button{--el-button-disabled-text-color: rgba(255, 255, 255, .5)}html.dark .el-card{--el-card-bg-color: var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0: var(--el-color-black);--el-empty-fill-color-1: #4b4b52;--el-empty-fill-color-2: #36383d;--el-empty-fill-color-3: #1e1e20;--el-empty-fill-color-4: #262629;--el-empty-fill-color-5: #202124;--el-empty-fill-color-6: #212224;--el-empty-fill-color-7: #1b1c1f;--el-empty-fill-color-8: #1c1d1f;--el-empty-fill-color-9: #18181a}.flex{display:flex}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-center{justify-content:center}.align-start{align-items:flex-start}.align-end{align-items:flex-end}.align-center{align-items:center}.flex-column{flex-direction:column}.flex-row{flex-direction:row}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.font-bold{font-weight:700}.font-1{font-size:1rem}.font-2{font-size:1.25rem}.font-3{font-size:1.5rem}.font-4{font-size:1.75rem}.font-5{font-size:2rem}.font-6{font-size:2.25rem}.font-7{font-size:2.5rem}.font-8{font-size:2.75rem}.font-9{font-size:3rem}.font-10{font-size:3.25rem}:root{--g-header-width: 100%;--g-header-height: 70px;--g-main-sidebar-width: 70px;--g-sub-sidebar-width: 220px;--g-sidebar-logo-height: 50px;--g-topbar-height: 50px}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-thumb{background-color:#0006;background-clip:padding-box;border:3px solid transparent;border-radius:6px}::-webkit-scrollbar-thumb:hover{background-color:#00000080}::-webkit-scrollbar-track{background-color:transparent}html,body{height:100%}body{margin:0;box-sizing:border-box;font-family:Lato,PingFang SC,Microsoft YaHei,sans-serif;-webkit-tap-highlight-color:transparent}body.overflow-hidden{overflow:hidden}*{box-sizing:inherit}[data-fixed-calc-width]{position:fixed;left:50%;right:0;width:calc(100% - var(--g-main-sidebar-actual-width) - var(--g-sub-sidebar-actual-width));transform:translate(-50%) translate(calc(var(--g-main-sidebar-actual-width) / 2)) translate(calc(var(--g-sub-sidebar-actual-width) / 2))}[data-mode=mobile] [data-fixed-calc-width]{width:100%!important;transform:translate(-50%)!important}textarea{font-family:inherit}.el-table.list-table{margin:20px 0}.el-table.list-table .el-button+.el-dropdown{margin-left:10px}.el-loading-mask{z-index:900!important}.notice .banner{position:relative;width:100%;height:200px;background-size:cover;border-radius:6px;background-image:url(https://chevereto.jiangly.com/images/2023/11/12/nine_banner.png)}.notice .tag{padding:3px 10px;display:flex;font-size:14px;justify-content:center;align-items:center;background:#6692f5;border-radius:8px;opacity:.8;color:#fff;margin-right:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.notice .title{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:2.5rem;font-family:PingFang SC-Bold,PingFang SC;color:#fff;text-shadow:0 3px 3px rgba(0,0,0,.1);position:absolute;left:50px;top:70px;-webkit-background-clip:text;background-clip:text}.notice .subtitle{position:absolute;left:50px;top:140px}.notice .info{font-weight:400;color:#fff;margin-right:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.notice .message{font-size:20px;display:flex;align-items:center;padding-top:10px;padding-bottom:10px}.notice .brage{width:4px;height:18px;background:#6692f5;border-radius:6px;margin-right:10px}.notice .notice-text,.notice .author-info{color:#999!important;margin-top:10px;padding-left:15px;font-size:16px}.notice .red{color:red}.notice .notice_block{box-shadow:0 8px 10px 1px #00000029;border-radius:6px;padding:10px;margin-top:25px} diff --git a/public/admin/assets/index-79ae9921.js b/public/admin/assets/index-79ae9921.js deleted file mode 100644 index bfc0023..0000000 --- a/public/admin/assets/index-79ae9921.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{C as A,E as k,s as Y,t as p,b as I,L as j,i as U,f as z,r as q,a as D,m as M,g as Z,n as B}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const _=1,F=2,J=3,H=4,L=5,K=35,ee=36,te=37,ne=11,Oe=13;function ae(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function re(e){return e==9||e==10||e==13||e==32}let X=null,Q=null,E=0;function b(e,t){let O=e.pos+t;if(Q==e&&E==O)return X;for(;re(e.peek(t));)t++;let n="";for(;;){let a=e.peek(t);if(!ae(a))break;n+=String.fromCharCode(a),t++}return Q=e,E=O,X=n||null}function x(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O{if(e.next==60){if(e.advance(),e.next==47){e.advance();let O=b(e,0);if(!O)return e.acceptToken(L);if(t.context&&O==t.context.name)return e.acceptToken(F);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(J,-2);e.acceptToken(H)}else if(e.next!=33&&e.next!=63)return e.acceptToken(_)}},{contextual:!0});function w(e,t){return new k(O=>{let n=0,a=t.charCodeAt(0);e:for(;!(O.next<0);O.advance(),n++)if(O.next==a){for(let l=1;l"),ie=w(ee,"?>"),ye=w(te,"]]>"),ge=Y({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),me=I.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[oe,se,ie,ye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function h(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function V(e,t){let O=t&&t.firstChild;return!O||O.name!="OpenTag"?"":h(e,O)}function $e(e,t,O){let n=t&&t.getChildren("Attribute").find(l=>l.from<=O&&l.to>=O),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function P(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ce(e,t){var O;let n=Z(e).resolveInner(t,-1),a=null;for(let l=n;!a&&l.parent;l=l.parent)(l.name=="OpenTag"||l.name=="CloseTag"||l.name=="SelfClosingTag"||l.name=="MismatchedCloseTag")&&(a=l);if(a&&(a.to>t||a.lastChild.type.isError)){let l=a.parent;if(n.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:l}:{type:"openTag",from:n.from,context:P(l)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:a};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:a};let s=n==a||n.name=="Attribute"?n.childBefore(t):n;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:P(l)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:l}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:a}:s?{type:"attrName",from:t,context:a}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(!((O=n.lastChild)===null||O===void 0)&&O.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:t,context:n.name=="Element"?n:P(n)}:null}class ue{constructor(t,O,n){this.attrs=O,this.attrValues=n,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const v=/^[:\-\.\w\u00b7-\uffff]*$/;function R(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function G(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let O=[],n=[],a=Object.create(null);for(let r of t){let m=R(r);O.push(m),r.global&&n.push(m),r.values&&(a[r.name]=r.values.map(G))}let l=[],s=[],S=Object.create(null);for(let r of e){let m=n,y=a;r.attributes&&(m=m.concat(r.attributes.map(o=>typeof o=="string"?O.find(f=>f.label==o)||{label:o,type:"property"}:(o.values&&(y==a&&(y=Object.create(y)),y[o.name]=o.values.map(G)),R(o)))));let u=new ue(r,m,y);S[u.name]=u,l.push(u),r.top&&s.push(u)}s.length||(s=l);for(let r=0;r{var m;let{doc:y}=r.state,u=ce(r.state,r.pos);if(!u||u.type=="tag"&&!r.explicit)return null;let{type:o,from:f,context:$}=u;if(o=="openTag"){let i=s,g=V(y,$);if(g){let c=S[g];i=(c==null?void 0:c.children)||l}return{from:f,options:i.map(c=>c.completion),validFor:v}}else if(o=="closeTag"){let i=V(y,$);return i?{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)==">"?1:0),options:[((m=S[i])===null||m===void 0?void 0:m.closeNameCompletion)||{label:i+">",type:"type"}],validFor:v}:null}else if(o=="attrName"){let i=S[h(y,$)];return{from:f,options:(i==null?void 0:i.attrs)||n,validFor:v}}else if(o=="attrValue"){let i=$e(y,$,f);if(!i)return null;let g=S[h(y,$)],c=((g==null?void 0:g.attrValues)||a)[i];return!c||!c.length?null:{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)=='"'?1:0),options:c,validFor:/^"[^"]*"?$/}}else if(o=="tag"){let i=V(y,$),g=S[i],c=[],d=$&&$.lastChild;i&&(!d||d.name!="CloseTag"||h(y,d)!=i)&&c.push(g?g.closeCompletion:{label:"",type:"type",boost:2});let C=c.concat(((g==null?void 0:g.children)||($?l:s)).map(T=>T.openCompletion));if($&&(g!=null&&g.text.length)){let T=$.firstChild;T.to>r.pos-20&&!/\S/.test(r.state.sliceDoc(T.to,r.pos))&&(C=C.concat(g.text))}return{from:f,options:C,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const W=j.define({name:"xml",parser:me.configure({props:[U.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),z.add({Element(e){let t=e.firstChild,O=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:O.name=="CloseTag"?O.from:e.to}}}),q.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function Ce(e={}){let t=[W.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(Se),new D(W,t)}function N(e,t,O=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,O)):""}const Se=M.inputHandler.of((e,t,O,n,a)=>{if(e.composing||e.state.readOnly||t!=O||n!=">"&&n!="/"||!W.isActiveAt(e.state,t,-1))return!1;let l=a(),{state:s}=l,S=s.changeByRange(r=>{var m,y,u;let{head:o}=r,f=s.doc.sliceString(o-1,o)==n,$=Z(s).resolveInner(o,-1),i;if(f&&n==">"&&$.name=="EndTag"){let g=$.parent;if(((y=(m=g.parent)===null||m===void 0?void 0:m.lastChild)===null||y===void 0?void 0:y.name)!="CloseTag"&&(i=N(s.doc,g.parent,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=``;return{range:r,changes:{from:o,to:c,insert:d}}}}else if(f&&n=="/"&&$.name=="StartCloseTag"){let g=$.parent;if($.from==o-2&&((u=g.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=N(s.doc,g,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=`${i}>`;return{range:B.cursor(o+d.length,-1),changes:{from:o,to:c,insert:d}}}}return{range:r}});return S.changes.empty?!1:(e.dispatch([l,s.update(S,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{Se as autoCloseTags,pe as completeFromSchema,Ce as xml,W as xmlLanguage}; diff --git a/public/admin/assets/index-7C4DsIyW.css b/public/admin/assets/index-7C4DsIyW.css new file mode 100644 index 0000000..4545527 --- /dev/null +++ b/public/admin/assets/index-7C4DsIyW.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +[data-mode=mobile] .sidebar-container[data-v-8e390700]{transform:translate(calc((var(--g-main-sidebar-width) + var(--g-sub-sidebar-width)) * -1))}[data-mode=mobile] .sidebar-container.show[data-v-8e390700]{transform:translate(0)}[data-mode=mobile] .main-container[data-v-8e390700]{margin-left:0!important}[data-mode=mobile][data-menu-mode=single] .sidebar-container[data-v-8e390700]{transform:translate(calc(var(--g-sub-sidebar-width) * -1))}[data-mode=mobile][data-menu-mode=single] .sidebar-container.show[data-v-8e390700]{transform:translate(0)}.layout[data-v-8e390700]{height:100%}#app-main[data-v-8e390700]{width:100%;height:100%;margin:0 auto}.wrapper[data-v-8e390700]{position:relative;width:100%;height:100%;transition:padding-top .3s}.wrapper .sidebar-container[data-v-8e390700]{position:fixed;top:0;bottom:0;z-index:1010;display:flex;width:calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));box-shadow:-1px 0 0 0 var(--g-border-color),1px 0 0 0 var(--g-border-color);transition:width .3s,transform .3s,box-shadow .3s,top .3s}.wrapper .sidebar-container[data-v-8e390700]:has(>.main-sidebar-container.main-sidebar-enter-active),.wrapper .sidebar-container[data-v-8e390700]:has(>.main-sidebar-container.main-sidebar-leave-active){overflow:hidden}.wrapper .sidebar-mask[data-v-8e390700]{position:fixed;top:0;left:0;z-index:1000;width:100%;height:100%;visibility:hidden;background-image:radial-gradient(transparent 1px,rgba(0,0,0,.3) 1px);background-size:4px 4px;-webkit-backdrop-filter:saturate(50%) blur(4px);backdrop-filter:saturate(50%) blur(4px);opacity:0;transition:all .2s}.wrapper .sidebar-mask.show[data-v-8e390700]{visibility:visible;opacity:1}.wrapper .main-sidebar-container:not(.main-sidebar-leave-active)+.sub-sidebar-container[data-v-8e390700]{left:var(--g-main-sidebar-width)}.wrapper .main-container[data-v-8e390700]{display:flex;flex-direction:column;min-height:100%;margin-left:calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));background-color:var(--g-bg);box-shadow:-1px 0 0 0 var(--g-border-color),1px 0 0 0 var(--g-border-color);transition:margin-left .3s,background-color .3s,box-shadow .3s}.wrapper .main-container .main[data-v-8e390700]{position:relative;flex:auto;height:100%;overflow:hidden;transition:.3s}.wrapper .main-container .topbar-container.has-tabbar+.main[data-v-8e390700]{margin:var(--g-tabbar-height) 0 0}.wrapper .main-container .topbar-container.has-toolbar+.main[data-v-8e390700]{margin:var(--g-toolbar-height) 0 0}.wrapper .main-container .topbar-container.has-tabbar.has-toolbar+.main[data-v-8e390700]{margin:calc(var(--g-tabbar-height) + var(--g-toolbar-height)) 0 0}header:not(.header-leave-active)+.wrapper[data-v-8e390700]{padding-top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-8e390700]{top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-8e390700] .sidebar-logo{display:none}header:not(.header-leave-active)+.wrapper .main-container .topbar-container[data-v-8e390700]{top:var(--g-header-height)}.app-setting[data-v-8e390700]{--un-bg-opacity:1;background-color:rgb(var(--ui-primary) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));position:fixed;top:calc(50% + 250px);right:0;z-index:10;display:flex;align-items:center;justify-content:center;width:50px;height:50px;font-size:24px;cursor:pointer;border-top-left-radius:5px;border-bottom-left-radius:5px}.dark .app-setting[data-v-8e390700]{--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity))}.app-setting .icon[data-v-8e390700]{animation:rotate-8e390700 5s linear infinite}@keyframes rotate-8e390700{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.slide-right-enter-active[data-v-8e390700]{transition:.2s}.slide-right-leave-active[data-v-8e390700]{transition:.15s}.slide-right-enter-from[data-v-8e390700]{margin-left:-20px;opacity:0}.slide-right-leave-to[data-v-8e390700]{margin-left:20px;opacity:0} diff --git a/public/admin/assets/index-7C4DsIyW.css.br b/public/admin/assets/index-7C4DsIyW.css.br new file mode 100644 index 0000000..df2058a Binary files /dev/null and b/public/admin/assets/index-7C4DsIyW.css.br differ diff --git a/public/admin/assets/index-7C4DsIyW.css.gz b/public/admin/assets/index-7C4DsIyW.css.gz new file mode 100644 index 0000000..67476bf Binary files /dev/null and b/public/admin/assets/index-7C4DsIyW.css.gz differ diff --git a/public/admin/assets/index-7e36a42b.css b/public/admin/assets/index-7e36a42b.css deleted file mode 100644 index f2012c1..0000000 --- a/public/admin/assets/index-7e36a42b.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -.page-main[data-v-847d7a8d]{position:relative;margin:20px;padding:20px;background-color:var(--g-app-bg);transition:background-color .3s}.page-main.is-collaspe[data-v-847d7a8d]{overflow:hidden}.page-main.is-collaspe .collaspe[data-v-847d7a8d]{position:absolute;left:0;bottom:0;width:100%;padding:40px 0 10px;text-align:center;font-size:24px;color:var(--el-text-color-primary);text-shadow:0 0 1px var(--el-text-color-primary);background:linear-gradient(to bottom,transparent,var(--g-app-bg));transition:background .3s,var(--el-transition-color);cursor:pointer}.page-main.is-collaspe .collaspe[data-v-847d7a8d]:hover{color:var(--el-text-color-secondary)}.page-main .title-container[data-v-847d7a8d]{width:calc(100% + 40px);padding:14px 20px;margin-left:-20px;margin-top:-20px;margin-bottom:20px;border-bottom:1px solid var(--el-border-color-lighter);transition:var(--el-transition-border)} diff --git a/public/admin/assets/index-7f9a06d8.js b/public/admin/assets/index-7f9a06d8.js deleted file mode 100644 index 3b430b7..0000000 --- a/public/admin/assets/index-7f9a06d8.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as H}from"./index-fd8a5577.js";import{Y as A,d as J,r as p,Q as K,x as W,h as n,R as X,o as d,c as v,e as t,f as l,S as P,U as x,b as s,l as c,w as Z,I as h,t as I,P as E,E as k,q as Y}from"./index-e656eb90.js";import{P as ee,j as te,k as le,l as ae}from"./index-d5406c70.js";import{u as oe}from"./utcformatTime-e76e5157.js";const z={queryAllOrder:m=>A.get("order/queryAll",{params:m}),deleteOrder:m=>A.post("order/delete",m),deleteNotPay:()=>A.post("order/deleteNotPay")},re=J({__name:"index",setup(m){const g=p(!1),b=p(!1),O=p([]),S=p(),C=p(0),T=p(0),o=K({userId:"",platform:"",status:"",page:1,size:15}),U=p([]);async function i(){g.value=!0;try{const r=await z.queryAllOrder(o);g.value=!1;const{rows:a,count:_,total_price:f}=r.data;C.value=_,U.value=a,T.value=f}catch{g.value=!1}}async function M(r){const a=await E.queryAllUser({size:30,username:r});O.value=a.data.rows}function N(r){r==null||r.resetFields(),i()}async function q(r){const{orderId:a}=r;await z.deleteOrder({orderId:a}),k.success("删除订单完成!"),i()}async function L(){b.value=!0;try{await z.deleteNotPay(),k.success("删除未支付订单完成!"),await i(),b.value=!1}catch{k.error("删除未支付订单失败!"),b.value=!1}}return W(()=>{i()}),(r,a)=>{const _=n("el-option"),f=n("el-select"),w=n("el-form-item"),y=n("el-button"),V=n("el-popconfirm"),R=n("el-form"),j=n("el-statistic"),D=H,u=n("el-table-column"),F=n("el-tag"),B=n("el-table"),$=n("el-pagination"),Q=n("el-row"),G=X("loading");return d(),v("div",null,[t(D,{class:"flex justify-between items-center"},{default:l(()=>[t(R,{ref_key:"formRef",ref:S,inline:!0,model:o},{default:l(()=>[t(w,{label:"用户名称",prop:"userId"},{default:l(()=>[t(f,{modelValue:o.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>o.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":M},{default:l(()=>[(d(!0),v(P,null,x(s(O),e=>(d(),h(_,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"支付平台",prop:"platform"},{default:l(()=>[t(f,{modelValue:o.platform,"onUpdate:modelValue":a[1]||(a[1]=e=>o.platform=e),clearable:"",placeholder:"请选择支付平台","remote-show-suffix":""},{default:l(()=>[(d(!0),v(P,null,x(s(ee),e=>(d(),h(_,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"支付状态",prop:"status"},{default:l(()=>[t(f,{modelValue:o.status,"onUpdate:modelValue":a[2]||(a[2]=e=>o.status=e),clearable:"",placeholder:"请选择支付状态","remote-show-suffix":""},{default:l(()=>[(d(!0),v(P,null,x(s(te),e=>(d(),h(_,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,null,{default:l(()=>[t(y,{type:"primary",onClick:i},{default:l(()=>[c(" 查询 ")]),_:1}),t(y,{onClick:a[3]||(a[3]=e=>N(s(S)))},{default:l(()=>[c(" 重置 ")]),_:1}),t(V,{title:"确认删除所有未支付订单么?",onConfirm:L},{reference:l(()=>[t(y,{type:"danger"},{default:l(()=>[c("删除所有未支付订单")]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),t(j,{title:"累计已支付订单金额",value:s(T)},null,8,["value"])]),_:1}),t(D,{style:{width:"100%"}},{default:l(()=>[Z((d(),h(B,{border:"",data:s(U),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[t(u,{fixed:"",prop:"orderId",label:"订单ID",width:"315"}),t(u,{prop:"userInfo.username",label:"用户名称",width:"180"}),t(u,{prop:"userInfo.email",label:"用户邮箱",width:"200"}),t(u,{prop:"goodsInfo.name",label:"套餐名称",width:"140"}),t(u,{prop:"price",label:"商品单价",width:"110"}),t(u,{prop:"count",label:"购买数量",width:"90",align:"center"}),t(u,{prop:"total",label:"订单总价",width:"90",align:"center"}),t(u,{prop:"total",label:"支付平台",width:"90",align:"center"},{default:l(e=>[c(I(s(le)[e.row.payPlatform]),1)]),_:1}),t(u,{prop:"status",label:"支付状态",width:"90",align:"center"},{default:l(e=>[t(F,{type:e.row.status===1?"success":"warning"},{default:l(()=>[c(I(s(ae)[e.row.status]),1)]),_:2},1032,["type"])]),_:1}),t(u,{prop:"createdAt",label:"订单时间",width:"200",fixed:"right"},{default:l(e=>[c(I(s(oe)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(u,{fixed:"right",label:"操作"},{default:l(e=>[t(V,{title:"确认删除此订单么、删除订单不可恢复?",width:"400","icon-color":"red",onConfirm:ne=>q(e.row)},{reference:l(()=>[t(y,{link:"",type:"danger",size:"small",loading:s(b)},{default:l(()=>[c(" 删除订单 ")]),_:1},8,["loading"])]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[G,s(g)]]),t(Q,{class:"flex justify-end mt-5"},{default:l(()=>[t($,{"current-page":o.page,"onUpdate:currentPage":a[4]||(a[4]=e=>o.page=e),"page-size":o.size,"onUpdate:pageSize":a[5]||(a[5]=e=>o.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:s(C),onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof Y=="function"&&Y(re);export{re as default}; diff --git a/public/admin/assets/index-8847c619.js b/public/admin/assets/index-8847c619.js deleted file mode 100644 index 84a5c86..0000000 --- a/public/admin/assets/index-8847c619.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as P,y as D,B as E,h as c,o as a,c as u,b as i,I as m,f as s,a as r,e as f,J as h,t as B,a4 as d,G as F,S as I,U as G,_ as L,n as R}from"./index-e656eb90.js";const U={class:"sidebar-item"},$=["href","target","onClick"],A={class:"title"},H={class:"title"},K=P({name:"SidebarItem"}),M=P({...K,props:{item:{type:Object,required:!0},basePath:{type:String,default:""}},setup(e){const _=e,N=D(),O=E(()=>{let o=!0;return _.item.children?_.item.children.every(b=>{var l;return((l=b.meta)==null?void 0:l.sidebar)===!1})&&(o=!1):o=!1,o});return(o,b)=>{var y;const l=L,k=c("el-icon"),V=c("el-menu-item"),J=c("router-link"),j=c("SidebarItem"),q=c("el-sub-menu");return a(),u("div",U,[i(O)?(a(),m(q,{key:1,title:((y=e.item.meta)==null?void 0:y.title)??"[ 无标题 ]",index:i(N).settings.app.routeBaseOn!=="filesystem"?i(d)(e.basePath,e.item.path):JSON.stringify(e.item)},{title:s(()=>{var t,n;return[(t=e.item.meta)!=null&&t.icon?(a(),m(k,{key:0,class:"title-icon"},{default:s(()=>[f(l,{name:e.item.meta.icon},null,8,["name"])]),_:1})):h("",!0),r("span",H,B(((n=e.item.meta)==null?void 0:n.title)??"[ 无标题 ]"),1)]}),default:s(()=>[(a(!0),u(I,null,G(e.item.children,t=>{var n;return a(),u(I,null,[((n=t.meta)==null?void 0:n.sidebar)!==!1?(a(),m(j,{key:t.path,item:t,"base-path":i(d)(e.basePath,e.item.path)},null,8,["item","base-path"])):h("",!0)],64)}),256))]),_:1},8,["title","index"])):(a(),m(J,{key:0,custom:"",to:i(d)(e.basePath,e.item.path)},{default:s(({href:t,navigate:n,isActive:w,isExactActive:z})=>{var g,x,v;return[r("a",{href:(g=e.item.meta)!=null&&g.link?e.item.meta.link:t,class:F([w&&"router-link-active",z&&"router-link-exact-active"]),target:(x=e.item.meta)!=null&&x.link?"_blank":"_self",onClick:n},[f(V,{title:((v=e.item.meta)==null?void 0:v.title)??"[ 无标题 ]",index:i(d)(e.basePath,e.item.path||"")},{default:s(()=>{var S,C;return[(S=e.item.meta)!=null&&S.icon?(a(),m(k,{key:0,class:"title-icon"},{default:s(()=>[f(l,{name:e.item.meta.icon},null,8,["name"])]),_:1})):h("",!0),r("span",A,B(((C=e.item.meta)==null?void 0:C.title)??"[ 无标题 ]"),1)]}),_:1},8,["title","index"])],10,$)]}),_:1},8,["to"]))])}}});const T=R(M,[["__scopeId","data-v-a9cfdc56"]]);export{T as default}; diff --git a/public/admin/assets/index-9f94fa8a.js b/public/admin/assets/index-9f94fa8a.js deleted file mode 100644 index 8d4f008..0000000 --- a/public/admin/assets/index-9f94fa8a.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as l,y as u,r as B,B as m,h as g,o as n,I as r,f as i,c as C,t as x,b as t,J as f,G as D,n as G}from"./index-e656eb90.js";const L="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAAAXNSR0IArs4c6QAADv1JREFUaEPtW3l0VcUZ/76Z+7KSsBQVRBBkUURTLQi2LhBAEFCKC4rUXbCAgsaDshQxR1NFUgSXloJCrYpQUBBBIgWTyGJdoGg1aCmiKFW0ekCWAMm78/XMzJ175z5eeDeQ0J6evn+SvDv33vl9y+/bJgj/Ix8iQngzbQQIuhmQzlSwCDcD4h+gR9UsRCQbKv4v4KY3M1uCqH4RiC5MigdxHbDYUOx+4Etzvd6BU1l6OyD3GkDKA8BsIPoaAFZCyzbLsf3WQ8cqeKJCBuVFa4DogiM+C3E99Jh0MWKhkOvqDTiVZZ4CUFUMBEPsDREgEHAgYJ8BOmOc/L3LjwU8lcXuBhLTIz0DWQHmV8+oN+BU7uQD0UIgaGpvSAAHQQwIGQjiQIjkCj6+Qe9dUyNtPMkiKnM2AdE5ke5H3IT58Z/UC3BaE+sKrigHgkyzGQIJlIEAJjUNrvqptO4JwhndsNfOpyJtPmERlfL9AJAV8d5K7Olm1zlwWpvRiqrj7yLQSYpUAX2wEqgrtS3BhgShBBBH5L0a9/pyTUQA/jIq47uAoFGk+xB2Y77buE6BU1nrjEqx+6Ms3NtWg5ZAEQi1eRuw+m/t56HvgG05sXnW2dhpc1UkEN4iKnNWA1GvSPcgvoH58d51CvzzVXlTT+UV92ote75stBsya+Zp3hOALxgOgGziyb23PBIJhAFezvuBgBWR7mHQH3u4JXUG/Pu32+WmVe76LpP2xKRGlR8rs7bJzDZxSWxhv1fCAr47K7NxqxMuXL83EhADvpTPAoDbU9wzG3u6vzRr6iScffB6/rxOaW8NPdx3PXP3yEyTmhRAgrl71xXjgzP2tD6bptUKeMWZafDNlkmANEE+IHQvQhwIH4GTOhTZbnTMwIkG872lZZXpUJkmASUCc724HbC61Kx2h4Dttb+T5ALG/9m+cec22GV2dW3AK15Zl9YJqsX1ANBR3UuwGdLYPLywqiLxWccMfOPKPpd1ir21bJfbFP56qBdwqILO6eUQwypNXp65m1BmE5oiPyUATxikBQDo3NKxz1vP1hZ4bdYfM/A3XrvujYNues/HfpgBlZQDRADNYjtgXKMR0C72kfLlxDDmM7pxAYv9lSCIbe7Ud+1ZiYVFbYClWnvMwKcvfuKbP+2540SZ/aL3NAKCXLYLpja9Ck50vvTNP0x6CaHOsw5j/oh84I/7li5LBeBorx8T8J8+R91BuOUyLuu0n9QPRFR/tYlVwJSmg+UXKnZrczdMrwlOWYMXCQzp6bSWr+ty6aqLjhZYqvuOCXi3P9BzJMQNBqwC7glAax/h+tzfwIAGz/kZm5/YJCQwxt8DLuCAmHZB175L30oFQvGYrseHAdFtANRJ34MVgDgHulc9U2f1eLcXKJcO0teAlBWAlWRFSuPK2REgAw/AjGaXQzbu9rM1rXVtAUEkMHm7uaZYf+kF/V4dlAo4rclqDvGqFwCoZ/K1WApO2vV4caUsibVIUj20putd59AIEmKmAqk0HTzN/85z+r7Z82Fowxm+qQds7rG+yt2tNNazBkBGHNPP/Fnf+Z/UtA+l6bLY6ppB+1BLIb+6t9H8UQM/72nxHgB0kaCVgXsCkN6tv1GurT4xVg1TT7oGcvn3uhrzU9nA533/T6jkCPjcnv0X3FYj8PLYcBBidiQFMnY79qh++qg13u1pynOF+MC2FwmcSJp5oub1lvrlztt5Ze4zzWzNmjBnFywhAehMr4qc9DZ9+sz9Khk4KnPeBqJukYAjvoP58fOPGniX37tPAODoRM0aQYTM33tLrrN/XHGznxcI4M201jkIL18Psr1w2WpyAACnuN+AufclB873AkGDaMBhH+a7OUcFvN8KSv/XF/SVIGqiidvEb9J85mlcBzTzBVRncGwxvUXfmwSxYr9MNY0JTxB+nDfhzTQvkO9JjzVpdcklj/6QCJBKeah7mkoA2NP14k2qlQnXu8ykIa4Q843/qlDm84fxdfmFRXiIL20YzgZ/sm5gzq697nZBrLGqy00Hxq7dk31HDAD4+EGX/fbR/xjwc38nVgGRZEcFzkRuFcGsXRnBqGSGY7/3huHr8vL6lYMecl2cZLeg/Njtt6c8ofhCkAmN83Umtm3Tv/+YUGf2uGj8/JnU+qBL22SyacKXYXGTsKiGkycEZfUMd1x2O55aiKjaumtWDD5BAH0ugGeFy1ivPg+ZuS5e/GyPOcOHDCh+xtb6cQF+7pPugwRwv/1i3+Q9xvBzFy91BaCHNo7kk+17SkuGPu4KGCPNPcjYTJlqJzbhep6Qb7luQEZH0xtXDlXfPl5IxJY8SZ8DUUtfo1YWoMKZp23fChiS42Dbd4fjZzbwVatuaCWq8VNBzNG5ut2N0WVqIBCtcbnOK1mvvOnyB5eY59U78LzH6VIEUeI7tZeg6ORFb8PkcL4VMFy9aRS7JBl/lqy47dm4gJtUGWoB14wffBduSqp+/Du3DnxAxeLjovG86WIRAF2tKVxT2mFmbq4oM5fr2HWb7sQFyYAvXzWqo6hyKwRxDLo0ulQN6ne7fxf07JgT6z5swHjViq5XjXeeRU2r9tM/ESnNB2HCtIw0HrXbgiDEXSe3xeYl/bHG+dgrK+5c4goclNirs7s1ybI7Qr5i5MD7BtQ78LOnufcAgNcA1NWXbeK+nXtSkQJgDJ7cNJqPSaZt891Lr93VzRX4tum92xMX3XW1WlOydrfqeYil5Y0eMPrDetX42dPER0S6xrW1qkkuwew9f+eMnbNpDH5wJODy2oLl95YKYvmazIJqzf7dLmxMaBPAny8YdOeN9QY8bxqdL4T4i19na0rRqapBZchNleHSItiGvxWw81KBltdffG3iJXEX/mwILpHRdb3u1eje8EEJBVncQd72rgajtkd5j7/VqCnrWVPdpwXRMJWB+T01i8kTC1tp5pyN/OAu/H3UDT27bPIGl7CzYXB/mGi6NFYG57enZKKDzuPjcobfFfU9ymKjAM8rpuy4ELJrkRP0G0zh4XVavMRVp7DSt/FALBubb/wlHlZQ1LTBucseutolWBSELtmj0724pKWrF/4A+f6CnDHZGSgHptE+kYCf+SjdAiTmhpg8wc/1NZKpqWfm+PxHY/mN0bbh3U3EZr865WMXsIMBbP+0+3CqnjfzNmLQPWMJXJyxNPLrIgHv+Eh8PRD8zDQTtf/qOGaY3fxumJ1x1uPDe/DNyDvxFs5cPu1W16U5h42XPM0ndmmFl9Nnwn64p+FocCDakDUl8LMfpjOqSXwcSlIMqfkkpmtSy823Vozj7WsLWq5fWLEw7etPv9omBGshfVyRnF2dqb+DgkU3KnXj4vLMudAtfWWk16YEfkaRW0xAY+2OqfFjq8Hga199x/iEzffhlEg7SLJoxiu/LXABHzPm7E9c5azNpLI+4KCeb8y/g3tzR6qJXKrPEYF3nkWxfd/SDgBxogGbGM7CQpCkxtyMNGy5sQD9Fm6qTSReL175XDZUHvzCRdbE781JwGiakl7BYqaupoUFDH6RXQznpKU+UHFE4B2L6ApXuIsV/Rs6t9rIQU8tCHGIuGzzBDawtmAT1z+yZE4hAXvAHyn7Pm6dqpDAPcY3yc3J/DMY2/COlK8/IvAOhfHXALF/UJDYLSUdw3W3RZ5/0DTPOBu0eTxGp9catvjw6j/+yN3Ltgtg2cGsLZi61tyaZjAqZzycEdtwRPA1Au9QRC3Ipe1AgvstY+ZNRhRILQRj+h6x7Wx2AWtZno/xlCKPsKBw6YLpwoW77eZjaL6upjBmFh9YQofY+3B3bsHRAW8/2f0VIRWFu6RBshKEMqltXwCP/v1+Pj4CpkhLCle8fEr8IG0TxGKmBZ04cFCxXCCYsGYE86uGw+BU5+Ma35NU43Ic0/4BsRWATrOHf/akJDQUNNmaw07/ZCJuiYQq4qLxi5fMIWK3Jjs9lXS+7uXz8lCCNPmaPkmBt51M+UCi1HhwInMHVuDZvMrY2Notk9nFEfFEXjZpacnph+Jis0uMKW3LhIXM4UB7wBgmPUAGv250NZzMtyV9V1Lgp01y5wHRUAVYJWh64hlid4/plY+rLiq/ecsD+MfIiGqx8J6XV74kiF3lm7uVxRmty1gP9lk6YHCGsxEmNbolGvBzCqnRnmpZkFCGuaPmUOYxOmN7cgGbbyzEylrgiby0YGlZl3g1vWcfKJA+neyAoF3PS8u4ucGv4dLM50PvWlw5ChZUPpG16Bo84GebbSa6dyDAU2bwZwYF4Tw9eI4yCsRZ/3iQj4iM5CgWjnpp7SoC7G2fowmaESZtDZ+SlEIA4HBF5kzol/k8uODA4soR8OqB4UCxrJYlV2XtCIBPiK8hgovCgwHTN/XCmJ+Ya7FwZF23PIRyXFxvnxGL1/cULn/DPiJmUlk7pvuDSOus7GHHSYEBw8x2JUMyPg2Aj3MPElC6PQoKz8fCQgDED7cV8bx6Q2w9eNiiDe8IYF2lJg8La+aomH9sTB8yCLmHR45SOI15g8DUBy8kvmEjHRQkHHuU6Gs//O8cOo1lcPe2Iv748QB+68L3r4gDLjYaDogt3IwMKjYzewu3pxuxXXtevrZlQxOT1N5b3xd/hwC66sozmIrYRGdNSg6l5bAWn0zE748HcPmO6xdVrBYCe2lys46G+sdEvRBnHSgMCYIQcvju3y27trlK6H1TbzXWfRiAJtjmnRjGdFxTo4TZn03h/oHY4wH+lle2tqysonVErJXyd6tMNQWNfSbe7tLIcMgQDjiU1m7VdahOVvjA2xVSbvU+8b48ngaoh/wauAfLHwLCzkaZrOP7hbj7eAC233Htki/axqtoviA8LyCuYLamu69BuDNn6AQxwRi7cc0QnOdbsP3g1mOpmwtiGRCdEMy39QopBwb4rcPZtVunYPnxBm3eJ4eXf130zWggLIoTNjD998R//zAWAcB2A8ORa4eER1mJzWHoVEhN9u4RUwDhBgLK0GU4focIJU4DNvbTQvz2PwXafm//hfuagYj/3AW6zAWnFxFmhgeOfBsDms8c9lT5Nbgzcc+HATcLWhdSBt8H7UhA1bbH6rYAqWvB3VxGGdv/dehUBryJC84ByIQd5Zfjd0d6T43A63pz/23P+z/w/zaN1Pd+/g041Ry3iU5l8wAAAABJRU5ErkJggg==",U={key:0},P=l({name:"Logo"}),p=l({...P,props:{showLogo:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},setup(c){const A=u(),o=B("AIWeb-Admin");B(L);const a=m(()=>{const e={};return A.settings.home.enable&&(e.name="home"),e});return(e,v)=>{const s=g("router-link");return n(),r(s,{to:t(a),class:D(["title",{"is-link":t(A).settings.home.enable}]),title:t(o)},{default:i(()=>[c.showTitle?(n(),C("span",U,x(t(o)),1)):f("",!0)]),_:1},8,["to","class","title"])}}});const z=G(p,[["__scopeId","data-v-574cceb4"]]);export{z as default}; diff --git a/public/admin/assets/index-B-LUCRde.js b/public/admin/assets/index-B-LUCRde.js new file mode 100644 index 0000000..8afbaee --- /dev/null +++ b/public/admin/assets/index-B-LUCRde.js @@ -0,0 +1,514 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +const __vite__fileDeps=["assets/wechat-CQsZmy5Y.js","assets/index.vue_vue_type_script_setup_true_lang-CA9axw0k.js","assets/config-BBuBLjtx.js","assets/register-BJE5TCcO.js","assets/register-DsQMN5kC.css","assets/phone-PTyObPEp.js","assets/index-HxeUcFuX.js","assets/index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js","assets/index-J5zVJPyL.js","assets/utcformatTime-Bq4gDWNx.js","assets/email-DKxAB5FY.js","assets/accountLog-CgwMsGh5.js","assets/secret-BKVKoGo0.js","assets/notice-BYvwXXls.js","assets/notice-DzVD5h9V.css","assets/menu-B96XJwvy.js","assets/cos-BwsDEZux.js","assets/baseConfiguration-BCZRQHpL.js","assets/base-D6DWX5jw.js","assets/tencent-CbXjOfFM.js","assets/chevereto-Cojl7eGm.js","assets/ali-p6l9B57I.js","assets/violation-C4Vn9f3E.js","assets/badWords-DEcOld1K.js","assets/marked.esm-8ZxQ78w7.js","assets/chat-DJXUFUH_.css","assets/custom-l-N43gkC.js","assets/baiduSensitive-BR2PdTCb.js","assets/autpReply-DqDoPYBU.js","assets/salesUser-DaObJiUp.js","assets/sales-DHLR_0QS.js","assets/records-DYr6I3lc.js","assets/order-aUkvgb-R.js","assets/base-CTfzaFK4.js","assets/setting-BAoY_Ql2.js","assets/setting-DPas9sHG.css","assets/edit.password-D7ZAvQv4.js","assets/useMainPage-DaitCM4q.js","assets/edit-C7lymP1E.css","assets/wechat-CL8Cz1nk.js","assets/mpay-o9uxzOkc.js","assets/ltzf-D0HQsxlE.js","assets/hupijiao-BO4U4xsH.js","assets/epay-638_pKp9.js","assets/points-sWoJawAL.js","assets/package-BXYY-dci.js","assets/package-B-9_IWpX.js","assets/crami-D9NB8WxL.js","assets/index-cajWEQAp.js","assets/index-DiTAFdcL.css","assets/systemapp-DJrMoKGf.js","assets/app-DDimW9AH.js","assets/proxy-bLav1Wsp.js","assets/prompts-Ye6Oj7i-.js","assets/mj-pS3epuL3.js","assets/prompts-C_LpnLZ6.css","assets/mind-B_WSAUBh.js","assets/key-r5Zxxyvt.js","assets/interface-BNhu0ZTN.js","assets/index-fTnxfxnl.js","assets/draw-tNxylMdp.js","assets/chat-CU5Pqkmz.js","assets/logo-DmZoD7kH.js","assets/midjourney-DAsuyAVc.js","assets/draw-BqaQv8sQ.css","assets/draw-CP44uPQp.js","assets/chat-C0XGvCR7.js","assets/index-CL6GQ5ac.js","assets/visible-BoTNan2x.js","assets/plugin-BJfNggsf.js","assets/pdf-DcB8ZACi.js","assets/classify-BzXS8--f.js","assets/application-DpE5uIQV.js","assets/globalPre-9_jT2JPq.js","assets/index-C2snIYBf.js","assets/HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js","assets/HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js","assets/HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js","assets/use-resolve-button-type-BVUBWyWZ.js","assets/HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js","assets/HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js","assets/index-D7iOBDDb.js","assets/index-6Kdv6eht.css","assets/index-B_suYy0E.js","assets/index.vue_vue_type_script_setup_true_lang-BEkNPBKN.js","assets/index-CHGE2DVJ.js","assets/index-D4nnD7rC.css","assets/item-DyfuWkxw.js","assets/item.vue_vue_type_script_setup_true_lang-v8FUh9Fm.js","assets/index-BjjDdbQo.js","assets/index-DLgR7VQ5.css","assets/index-Cpibzrxv.js","assets/index.vue_vue_type_script_setup_true_lang-DEZ4Pc0_.js","assets/rightSide.vue_vue_type_script_setup_true_lang-Fy5MVj_4.js","assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js","assets/index.vue_vue_type_script_setup_true_lang--vRGEqGb.js","assets/HDropdown-DTfQxtss.js","assets/index.vue_vue_type_script_setup_true_lang-kB9Wxvf5.js","assets/index.vue_vue_type_script_setup_true_lang-yPWTj9re.js","assets/HKbd-vG5TE40y.js","assets/index.vue_vue_type_script_setup_true_lang-BX7HigS5.js","assets/useMenu-B9ueoTu1.js","assets/index-ucei9Tgm.css","assets/index-CmltU4uk.js","assets/index.vue_vue_type_script_setup_true_lang-C3EW_BoO.js","assets/HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js","assets/index-D7Yis3F9.js","assets/index-D15m5k9F.js","assets/index-eqjq1fUS.css","assets/index-Dw8pX3Wj.js","assets/index.vue_vue_type_script_setup_true_lang-BYv-_Pjb.js","assets/sub.vue_vue_type_script_setup_true_lang-JHc32bNx.js","assets/item.vue_vue_type_script_setup_true_lang-DaXPxrm0.js","assets/item-CcOJTqF3.js","assets/sub-vJdQqGqj.js","assets/index-DmWzF287.js","assets/index.vue_vue_type_script_setup_true_lang-BLF1xKsJ.js","assets/index-BtV4tEHw.js","assets/index-CyUQOSLA.css","assets/index-CSu-2OAU.js","assets/index-D9XTqpwG.css","assets/index-Bun7yaxh.js","assets/index-KzA8AQdP.css","assets/index-Sv6TNBZz.js","assets/index-BBRC8Ph6.js","assets/index-BrKxlurX.js","assets/index-C2MdtKFl.js","assets/index-CHxKnDgq.js","assets/leftSide.vue_vue_type_script_setup_true_lang-vuMi6OLa.js","assets/index--3skRaHe.css","assets/leftSide-B36Gd3Mc.js","assets/rightSide-Ds2gMCLM.js","assets/index-C-NEQ-qC.js","assets/index-DARZUbFw.css","assets/link-BWt2ASQg.js","assets/link-DKw3pmEk.css","assets/index-BTK6Z_A_.js","assets/index-7C4DsIyW.css","assets/HCheckList-BDt5IzdQ.js","assets/HDialog-CkHEJpCp.js","assets/HDropdownMenu-Da4N3uIo.js","assets/HInput-Bn11_Lg9.js","assets/HTabList-B--QzHcy.js","assets/HToggle-Coys5ucw.js","assets/HTooltip-ChniI1oo.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +(function(){const $e=document.createElement("link").relList;if($e&&$e.supports&&$e.supports("modulepreload"))return;for(const Ue of document.querySelectorAll('link[rel="modulepreload"]'))Fe(Ue);new MutationObserver(Ue=>{for(const qe of Ue)if(qe.type==="childList")for(const At of qe.addedNodes)At.tagName==="LINK"&&At.rel==="modulepreload"&&Fe(At)}).observe(document,{childList:!0,subtree:!0});function Ie(Ue){const qe={};return Ue.integrity&&(qe.integrity=Ue.integrity),Ue.referrerPolicy&&(qe.referrerPolicy=Ue.referrerPolicy),Ue.crossOrigin==="use-credentials"?qe.credentials="include":Ue.crossOrigin==="anonymous"?qe.credentials="omit":qe.credentials="same-origin",qe}function Fe(Ue){if(Ue.ep)return;Ue.ep=!0;const qe=Ie(Ue);fetch(Ue.href,qe)}})();{const xe="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",$e=`${xe} background: #e24329;`,Ie=`${xe} background: #707070;`;navigator.language.toLowerCase()==="zh-cn"?console.info("%c由%cFantastic-admin%c驱动",Ie,$e,Ie,` +https://fantastic-admin.github.io`):console.info("%cPowered by%cFantastic-admin",Ie,$e,` +https://fantastic-admin.github.io`)}/** +* @vue/shared v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function makeMap(xe,$e){const Ie=new Set(xe.split(","));return Fe=>Ie.has(Fe)}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=xe=>xe.charCodeAt(0)===111&&xe.charCodeAt(1)===110&&(xe.charCodeAt(2)>122||xe.charCodeAt(2)<97),isModelListener=xe=>xe.startsWith("onUpdate:"),extend$2=Object.assign,remove=(xe,$e)=>{const Ie=xe.indexOf($e);Ie>-1&&xe.splice(Ie,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$1=(xe,$e)=>hasOwnProperty$g.call(xe,$e),isArray$6=Array.isArray,isMap$1=xe=>toTypeString(xe)==="[object Map]",isSet$1=xe=>toTypeString(xe)==="[object Set]",isDate$1=xe=>toTypeString(xe)==="[object Date]",isRegExp$2=xe=>toTypeString(xe)==="[object RegExp]",isFunction$5=xe=>typeof xe=="function",isString$4=xe=>typeof xe=="string",isSymbol$1=xe=>typeof xe=="symbol",isObject$8=xe=>xe!==null&&typeof xe=="object",isPromise=xe=>(isObject$8(xe)||isFunction$5(xe))&&isFunction$5(xe.then)&&isFunction$5(xe.catch),objectToString$1=Object.prototype.toString,toTypeString=xe=>objectToString$1.call(xe),toRawType=xe=>toTypeString(xe).slice(8,-1),isPlainObject$4=xe=>toTypeString(xe)==="[object Object]",isIntegerKey=xe=>isString$4(xe)&&xe!=="NaN"&&xe[0]!=="-"&&""+parseInt(xe,10)===xe,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=xe=>{const $e=Object.create(null);return Ie=>$e[Ie]||($e[Ie]=xe(Ie))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(xe=>xe.replace(camelizeRE,($e,Ie)=>Ie?Ie.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(xe=>xe.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(xe=>xe.charAt(0).toUpperCase()+xe.slice(1)),toHandlerKey=cacheStringFunction(xe=>xe?`on${capitalize$1(xe)}`:""),hasChanged=(xe,$e)=>!Object.is(xe,$e),invokeArrayFns=(xe,$e)=>{for(let Ie=0;Ie{Object.defineProperty(xe,$e,{configurable:!0,enumerable:!1,writable:Fe,value:Ie})},looseToNumber=xe=>{const $e=parseFloat(xe);return isNaN($e)?xe:$e},toNumber$1=xe=>{const $e=isString$4(xe)?Number(xe):NaN;return isNaN($e)?xe:$e};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GLOBALS_ALLOWED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle$1(xe){if(isArray$6(xe)){const $e={};for(let Ie=0;Ie{if(Ie){const Fe=Ie.split(propertyDelimiterRE);Fe.length>1&&($e[Fe[0].trim()]=Fe[1].trim())}}),$e}function normalizeClass(xe){let $e="";if(isString$4(xe))$e=xe;else if(isArray$6(xe))for(let Ie=0;IelooseEqual(Ie,$e))}const toDisplayString=xe=>isString$4(xe)?xe:xe==null?"":isArray$6(xe)||isObject$8(xe)&&(xe.toString===objectToString$1||!isFunction$5(xe.toString))?JSON.stringify(xe,replacer,2):String(xe),replacer=(xe,$e)=>$e&&$e.__v_isRef?replacer(xe,$e.value):isMap$1($e)?{[`Map(${$e.size})`]:[...$e.entries()].reduce((Ie,[Fe,Ue],qe)=>(Ie[stringifySymbol(Fe,qe)+" =>"]=Ue,Ie),{})}:isSet$1($e)?{[`Set(${$e.size})`]:[...$e.values()].map(Ie=>stringifySymbol(Ie))}:isSymbol$1($e)?stringifySymbol($e):isObject$8($e)&&!isArray$6($e)&&!isPlainObject$4($e)?String($e):$e,stringifySymbol=(xe,$e="")=>{var Ie;return isSymbol$1(xe)?`Symbol(${(Ie=xe.description)!=null?Ie:$e})`:xe};/** +* @vue/reactivity v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let activeEffectScope;class EffectScope{constructor($e=!1){this.detached=$e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!$e&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run($e){if(this._active){const Ie=activeEffectScope;try{return activeEffectScope=this,$e()}finally{activeEffectScope=Ie}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop($e){if(this._active){let Ie,Fe;for(Ie=0,Fe=this.effects.length;Ie=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=4}set dirty($e){this._dirtyLevel=$e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let $e=shouldTrack,Ie=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=Ie,shouldTrack=$e}}stop(){this.active&&(preCleanupEffect(this),postCleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function triggerComputed(xe){return xe.value}function preCleanupEffect(xe){xe._trackId++,xe._depsLength=0}function postCleanupEffect(xe){if(xe.deps.length>xe._depsLength){for(let $e=xe._depsLength;$e{Ie.dirty&&Ie.run()});$e&&(extend$2(Ie,$e),$e.scope&&recordEffectScope(Ie,$e.scope)),(!$e||!$e.lazy)&&Ie.run();const Fe=Ie.run.bind(Ie);return Fe.effect=Ie,Fe}function stop$1(xe){xe.effect.stop()}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const xe=trackStack.pop();shouldTrack=xe===void 0?!0:xe}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect(xe,$e,Ie){if($e.get(xe)!==xe._trackId){$e.set(xe,xe._trackId);const Fe=xe.deps[xe._depsLength];Fe!==$e?(Fe&&cleanupDepEffect(Fe,xe),xe.deps[xe._depsLength++]=$e):xe._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(xe,$e,Ie){pauseScheduling();for(const Fe of xe.keys()){let Ue;Fe._dirtyLevel<$e&&(Ue??(Ue=xe.get(Fe)===Fe._trackId))&&(Fe._shouldSchedule||(Fe._shouldSchedule=Fe._dirtyLevel===0),Fe._dirtyLevel=$e),Fe._shouldSchedule&&(Ue??(Ue=xe.get(Fe)===Fe._trackId))&&(Fe.trigger(),(!Fe._runnings||Fe.allowRecurse)&&Fe._dirtyLevel!==2&&(Fe._shouldSchedule=!1,Fe.scheduler&&queueEffectSchedulers.push(Fe.scheduler)))}resetScheduling()}const createDep=(xe,$e)=>{const Ie=new Map;return Ie.cleanup=xe,Ie.computed=$e,Ie},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(xe,$e,Ie){if(shouldTrack&&activeEffect){let Fe=targetMap.get(xe);Fe||targetMap.set(xe,Fe=new Map);let Ue=Fe.get(Ie);Ue||Fe.set(Ie,Ue=createDep(()=>Fe.delete(Ie))),trackEffect(activeEffect,Ue)}}function trigger$3(xe,$e,Ie,Fe,Ue,qe){const At=targetMap.get(xe);if(!At)return;let Dt=[];if($e==="clear")Dt=[...At.values()];else if(Ie==="length"&&isArray$6(xe)){const Lt=Number(Fe);At.forEach((jt,hn)=>{(hn==="length"||!isSymbol$1(hn)&&hn>=Lt)&&Dt.push(jt)})}else switch(Ie!==void 0&&Dt.push(At.get(Ie)),$e){case"add":isArray$6(xe)?isIntegerKey(Ie)&&Dt.push(At.get("length")):(Dt.push(At.get(ITERATE_KEY)),isMap$1(xe)&&Dt.push(At.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$6(xe)||(Dt.push(At.get(ITERATE_KEY)),isMap$1(xe)&&Dt.push(At.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$1(xe)&&Dt.push(At.get(ITERATE_KEY));break}pauseScheduling();for(const Lt of Dt)Lt&&triggerEffects(Lt,4);resetScheduling()}function getDepFromReactive(xe,$e){const Ie=targetMap.get(xe);return Ie&&Ie.get($e)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(xe=>xe!=="arguments"&&xe!=="caller").map(xe=>Symbol[xe]).filter(isSymbol$1)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const xe={};return["includes","indexOf","lastIndexOf"].forEach($e=>{xe[$e]=function(...Ie){const Fe=toRaw(this);for(let qe=0,At=this.length;qe{xe[$e]=function(...Ie){pauseTracking(),pauseScheduling();const Fe=toRaw(this)[$e].apply(this,Ie);return resetScheduling(),resetTracking(),Fe}}),xe}function hasOwnProperty$f(xe){isSymbol$1(xe)||(xe=String(xe));const $e=toRaw(this);return track($e,"has",xe),$e.hasOwnProperty(xe)}class BaseReactiveHandler{constructor($e=!1,Ie=!1){this._isReadonly=$e,this._isShallow=Ie}get($e,Ie,Fe){const Ue=this._isReadonly,qe=this._isShallow;if(Ie==="__v_isReactive")return!Ue;if(Ie==="__v_isReadonly")return Ue;if(Ie==="__v_isShallow")return qe;if(Ie==="__v_raw")return Fe===(Ue?qe?shallowReadonlyMap:readonlyMap:qe?shallowReactiveMap:reactiveMap).get($e)||Object.getPrototypeOf($e)===Object.getPrototypeOf(Fe)?$e:void 0;const At=isArray$6($e);if(!Ue){if(At&&hasOwn$1(arrayInstrumentations,Ie))return Reflect.get(arrayInstrumentations,Ie,Fe);if(Ie==="hasOwnProperty")return hasOwnProperty$f}const Dt=Reflect.get($e,Ie,Fe);return(isSymbol$1(Ie)?builtInSymbols.has(Ie):isNonTrackableKeys(Ie))||(Ue||track($e,"get",Ie),qe)?Dt:isRef(Dt)?At&&isIntegerKey(Ie)?Dt:Dt.value:isObject$8(Dt)?Ue?readonly(Dt):reactive(Dt):Dt}}class MutableReactiveHandler extends BaseReactiveHandler{constructor($e=!1){super(!1,$e)}set($e,Ie,Fe,Ue){let qe=$e[Ie];if(!this._isShallow){const Lt=isReadonly(qe);if(!isShallow(Fe)&&!isReadonly(Fe)&&(qe=toRaw(qe),Fe=toRaw(Fe)),!isArray$6($e)&&isRef(qe)&&!isRef(Fe))return Lt?!1:(qe.value=Fe,!0)}const At=isArray$6($e)&&isIntegerKey(Ie)?Number(Ie)<$e.length:hasOwn$1($e,Ie),Dt=Reflect.set($e,Ie,Fe,Ue);return $e===toRaw(Ue)&&(At?hasChanged(Fe,qe)&&trigger$3($e,"set",Ie,Fe):trigger$3($e,"add",Ie,Fe)),Dt}deleteProperty($e,Ie){const Fe=hasOwn$1($e,Ie);$e[Ie];const Ue=Reflect.deleteProperty($e,Ie);return Ue&&Fe&&trigger$3($e,"delete",Ie,void 0),Ue}has($e,Ie){const Fe=Reflect.has($e,Ie);return(!isSymbol$1(Ie)||!builtInSymbols.has(Ie))&&track($e,"has",Ie),Fe}ownKeys($e){return track($e,"iterate",isArray$6($e)?"length":ITERATE_KEY),Reflect.ownKeys($e)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor($e=!1){super(!0,$e)}set($e,Ie){return!0}deleteProperty($e,Ie){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=xe=>xe,getProto=xe=>Reflect.getPrototypeOf(xe);function get$2(xe,$e,Ie=!1,Fe=!1){xe=xe.__v_raw;const Ue=toRaw(xe),qe=toRaw($e);Ie||(hasChanged($e,qe)&&track(Ue,"get",$e),track(Ue,"get",qe));const{has:At}=getProto(Ue),Dt=Fe?toShallow:Ie?toReadonly:toReactive;if(At.call(Ue,$e))return Dt(xe.get($e));if(At.call(Ue,qe))return Dt(xe.get(qe));xe!==Ue&&xe.get($e)}function has$2(xe,$e=!1){const Ie=this.__v_raw,Fe=toRaw(Ie),Ue=toRaw(xe);return $e||(hasChanged(xe,Ue)&&track(Fe,"has",xe),track(Fe,"has",Ue)),xe===Ue?Ie.has(xe):Ie.has(xe)||Ie.has(Ue)}function size$1(xe,$e=!1){return xe=xe.__v_raw,!$e&&track(toRaw(xe),"iterate",ITERATE_KEY),Reflect.get(xe,"size",xe)}function add$1(xe){xe=toRaw(xe);const $e=toRaw(this);return getProto($e).has.call($e,xe)||($e.add(xe),trigger$3($e,"add",xe,xe)),this}function set$3(xe,$e){$e=toRaw($e);const Ie=toRaw(this),{has:Fe,get:Ue}=getProto(Ie);let qe=Fe.call(Ie,xe);qe||(xe=toRaw(xe),qe=Fe.call(Ie,xe));const At=Ue.call(Ie,xe);return Ie.set(xe,$e),qe?hasChanged($e,At)&&trigger$3(Ie,"set",xe,$e):trigger$3(Ie,"add",xe,$e),this}function deleteEntry(xe){const $e=toRaw(this),{has:Ie,get:Fe}=getProto($e);let Ue=Ie.call($e,xe);Ue||(xe=toRaw(xe),Ue=Ie.call($e,xe)),Fe&&Fe.call($e,xe);const qe=$e.delete(xe);return Ue&&trigger$3($e,"delete",xe,void 0),qe}function clear$2(){const xe=toRaw(this),$e=xe.size!==0,Ie=xe.clear();return $e&&trigger$3(xe,"clear",void 0,void 0),Ie}function createForEach(xe,$e){return function(Fe,Ue){const qe=this,At=qe.__v_raw,Dt=toRaw(At),Lt=$e?toShallow:xe?toReadonly:toReactive;return!xe&&track(Dt,"iterate",ITERATE_KEY),At.forEach((jt,hn)=>Fe.call(Ue,Lt(jt),Lt(hn),qe))}}function createIterableMethod(xe,$e,Ie){return function(...Fe){const Ue=this.__v_raw,qe=toRaw(Ue),At=isMap$1(qe),Dt=xe==="entries"||xe===Symbol.iterator&&At,Lt=xe==="keys"&&At,jt=Ue[xe](...Fe),hn=Ie?toShallow:$e?toReadonly:toReactive;return!$e&&track(qe,"iterate",Lt?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:vn,done:bn}=jt.next();return bn?{value:vn,done:bn}:{value:Dt?[hn(vn[0]),hn(vn[1])]:hn(vn),done:bn}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(xe){return function(...$e){return xe==="delete"?!1:xe==="clear"?void 0:this}}function createInstrumentations(){const xe={get(qe){return get$2(this,qe)},get size(){return size$1(this)},has:has$2,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!1)},$e={get(qe){return get$2(this,qe,!1,!0)},get size(){return size$1(this)},has:has$2,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!0)},Ie={get(qe){return get$2(this,qe,!0)},get size(){return size$1(this,!0)},has(qe){return has$2.call(this,qe,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},Fe={get(qe){return get$2(this,qe,!0,!0)},get size(){return size$1(this,!0)},has(qe){return has$2.call(this,qe,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(qe=>{xe[qe]=createIterableMethod(qe,!1,!1),Ie[qe]=createIterableMethod(qe,!0,!1),$e[qe]=createIterableMethod(qe,!1,!0),Fe[qe]=createIterableMethod(qe,!0,!0)}),[xe,Ie,$e,Fe]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(xe,$e){const Ie=$e?xe?shallowReadonlyInstrumentations:shallowInstrumentations:xe?readonlyInstrumentations:mutableInstrumentations;return(Fe,Ue,qe)=>Ue==="__v_isReactive"?!xe:Ue==="__v_isReadonly"?xe:Ue==="__v_raw"?Fe:Reflect.get(hasOwn$1(Ie,Ue)&&Ue in Fe?Ie:Fe,Ue,qe)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(xe){switch(xe){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(xe){return xe.__v_skip||!Object.isExtensible(xe)?0:targetTypeMap(toRawType(xe))}function reactive(xe){return isReadonly(xe)?xe:createReactiveObject(xe,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(xe){return createReactiveObject(xe,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(xe){return createReactiveObject(xe,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(xe){return createReactiveObject(xe,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(xe,$e,Ie,Fe,Ue){if(!isObject$8(xe)||xe.__v_raw&&!($e&&xe.__v_isReactive))return xe;const qe=Ue.get(xe);if(qe)return qe;const At=getTargetType(xe);if(At===0)return xe;const Dt=new Proxy(xe,At===2?Fe:Ie);return Ue.set(xe,Dt),Dt}function isReactive(xe){return isReadonly(xe)?isReactive(xe.__v_raw):!!(xe&&xe.__v_isReactive)}function isReadonly(xe){return!!(xe&&xe.__v_isReadonly)}function isShallow(xe){return!!(xe&&xe.__v_isShallow)}function isProxy(xe){return xe?!!xe.__v_raw:!1}function toRaw(xe){const $e=xe&&xe.__v_raw;return $e?toRaw($e):xe}function markRaw(xe){return Object.isExtensible(xe)&&def(xe,"__v_skip",!0),xe}const toReactive=xe=>isObject$8(xe)?reactive(xe):xe,toReadonly=xe=>isObject$8(xe)?readonly(xe):xe;class ComputedRefImpl{constructor($e,Ie,Fe,Ue){this.getter=$e,this._setter=Ie,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>$e(this._value),()=>triggerRefValue(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!Ue,this.__v_isReadonly=Fe}get value(){const $e=toRaw(this);return(!$e._cacheable||$e.effect.dirty)&&hasChanged($e._value,$e._value=$e.effect.run())&&triggerRefValue($e,4),trackRefValue($e),$e.effect._dirtyLevel>=2&&triggerRefValue($e,2),$e._value}set value($e){this._setter($e)}get _dirty(){return this.effect.dirty}set _dirty($e){this.effect.dirty=$e}}function computed$1(xe,$e,Ie=!1){let Fe,Ue;const qe=isFunction$5(xe);return qe?(Fe=xe,Ue=NOOP):(Fe=xe.get,Ue=xe.set),new ComputedRefImpl(Fe,Ue,qe||!Ue,Ie)}function trackRefValue(xe){var $e;shouldTrack&&activeEffect&&(xe=toRaw(xe),trackEffect(activeEffect,($e=xe.dep)!=null?$e:xe.dep=createDep(()=>xe.dep=void 0,xe instanceof ComputedRefImpl?xe:void 0)))}function triggerRefValue(xe,$e=4,Ie){xe=toRaw(xe);const Fe=xe.dep;Fe&&triggerEffects(Fe,$e)}function isRef(xe){return!!(xe&&xe.__v_isRef===!0)}function ref(xe){return createRef(xe,!1)}function shallowRef(xe){return createRef(xe,!0)}function createRef(xe,$e){return isRef(xe)?xe:new RefImpl(xe,$e)}class RefImpl{constructor($e,Ie){this.__v_isShallow=Ie,this.dep=void 0,this.__v_isRef=!0,this._rawValue=Ie?$e:toRaw($e),this._value=Ie?$e:toReactive($e)}get value(){return trackRefValue(this),this._value}set value($e){const Ie=this.__v_isShallow||isShallow($e)||isReadonly($e);$e=Ie?$e:toRaw($e),hasChanged($e,this._rawValue)&&(this._rawValue=$e,this._value=Ie?$e:toReactive($e),triggerRefValue(this,4))}}function triggerRef(xe){triggerRefValue(xe,4)}function unref(xe){return isRef(xe)?xe.value:xe}function toValue$1(xe){return isFunction$5(xe)?xe():unref(xe)}const shallowUnwrapHandlers={get:(xe,$e,Ie)=>unref(Reflect.get(xe,$e,Ie)),set:(xe,$e,Ie,Fe)=>{const Ue=xe[$e];return isRef(Ue)&&!isRef(Ie)?(Ue.value=Ie,!0):Reflect.set(xe,$e,Ie,Fe)}};function proxyRefs(xe){return isReactive(xe)?xe:new Proxy(xe,shallowUnwrapHandlers)}class CustomRefImpl{constructor($e){this.dep=void 0,this.__v_isRef=!0;const{get:Ie,set:Fe}=$e(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=Ie,this._set=Fe}get value(){return this._get()}set value($e){this._set($e)}}function customRef(xe){return new CustomRefImpl(xe)}function toRefs(xe){const $e=isArray$6(xe)?new Array(xe.length):{};for(const Ie in xe)$e[Ie]=propertyToRef(xe,Ie);return $e}class ObjectRefImpl{constructor($e,Ie,Fe){this._object=$e,this._key=Ie,this._defaultValue=Fe,this.__v_isRef=!0}get value(){const $e=this._object[this._key];return $e===void 0?this._defaultValue:$e}set value($e){this._object[this._key]=$e}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor($e){this._getter=$e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef(xe,$e,Ie){return isRef(xe)?xe:isFunction$5(xe)?new GetterRefImpl(xe):isObject$8(xe)&&arguments.length>1?propertyToRef(xe,$e,Ie):ref(xe)}function propertyToRef(xe,$e,Ie){const Fe=xe[$e];return isRef(Fe)?Fe:new ObjectRefImpl(xe,$e,Ie)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** +* @vue/runtime-core v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const stack=[];function warn$1(xe,...$e){pauseTracking();const Ie=stack.length?stack[stack.length-1].component:null,Fe=Ie&&Ie.appContext.config.warnHandler,Ue=getComponentTrace();if(Fe)callWithErrorHandling(Fe,Ie,11,[xe+$e.map(qe=>{var At,Dt;return(Dt=(At=qe.toString)==null?void 0:At.call(qe))!=null?Dt:JSON.stringify(qe)}).join(""),Ie&&Ie.proxy,Ue.map(({vnode:qe})=>`at <${formatComponentName(Ie,qe.type)}>`).join(` +`),Ue]);else{const qe=[`[Vue warn]: ${xe}`,...$e];Ue.length&&qe.push(` +`,...formatTrace(Ue)),console.warn(...qe)}resetTracking()}function getComponentTrace(){let xe=stack[stack.length-1];if(!xe)return[];const $e=[];for(;xe;){const Ie=$e[0];Ie&&Ie.vnode===xe?Ie.recurseCount++:$e.push({vnode:xe,recurseCount:0});const Fe=xe.component&&xe.component.parent;xe=Fe&&Fe.vnode}return $e}function formatTrace(xe){const $e=[];return xe.forEach((Ie,Fe)=>{$e.push(...Fe===0?[]:[` +`],...formatTraceEntry(Ie))}),$e}function formatTraceEntry({vnode:xe,recurseCount:$e}){const Ie=$e>0?`... (${$e} recursive calls)`:"",Fe=xe.component?xe.component.parent==null:!1,Ue=` at <${formatComponentName(xe.component,xe.type,Fe)}`,qe=">"+Ie;return xe.props?[Ue,...formatProps(xe.props),qe]:[Ue+qe]}function formatProps(xe){const $e=[],Ie=Object.keys(xe);return Ie.slice(0,3).forEach(Fe=>{$e.push(...formatProp(Fe,xe[Fe]))}),Ie.length>3&&$e.push(" ..."),$e}function formatProp(xe,$e,Ie){return isString$4($e)?($e=JSON.stringify($e),Ie?$e:[`${xe}=${$e}`]):typeof $e=="number"||typeof $e=="boolean"||$e==null?Ie?$e:[`${xe}=${$e}`]:isRef($e)?($e=formatProp(xe,toRaw($e.value),!0),Ie?$e:[`${xe}=Ref<`,$e,">"]):isFunction$5($e)?[`${xe}=fn${$e.name?`<${$e.name}>`:""}`]:($e=toRaw($e),Ie?$e:[`${xe}=`,$e])}function assertNumber(xe,$e){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling(xe,$e,Ie,Fe){try{return Fe?xe(...Fe):xe()}catch(Ue){handleError(Ue,$e,Ie)}}function callWithAsyncErrorHandling(xe,$e,Ie,Fe){if(isFunction$5(xe)){const Ue=callWithErrorHandling(xe,$e,Ie,Fe);return Ue&&isPromise(Ue)&&Ue.catch(qe=>{handleError(qe,$e,Ie)}),Ue}if(isArray$6(xe)){const Ue=[];for(let qe=0;qe>>1,Ue=queue[Fe],qe=getId$1(Ue);qeflushIndex&&queue.splice($e,1)}function queuePostFlushCb(xe){isArray$6(xe)?pendingPostFlushCbs.push(...xe):(!activePostFlushCbs||!activePostFlushCbs.includes(xe,xe.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(xe),queueFlush()}function flushPreFlushCbs(xe,$e,Ie=isFlushing?flushIndex+1:0){for(;IegetId$1(Ie)-getId$1(Fe));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...$e);return}for(activePostFlushCbs=$e,postFlushIndex=0;postFlushIndexxe.id==null?1/0:xe.id,comparator=(xe,$e)=>{const Ie=getId$1(xe)-getId$1($e);if(Ie===0){if(xe.pre&&!$e.pre)return-1;if($e.pre&&!xe.pre)return 1}return Ie};function flushJobs(xe){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndexdevtools$1.emit(Ue,...qe)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((Fe=(Ie=window.navigator)==null?void 0:Ie.userAgent)!=null&&Fe.includes("jsdom"))?(($e.__VUE_DEVTOOLS_HOOK_REPLAY__=$e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(qe=>{setDevtoolsHook$1(qe,$e)}),setTimeout(()=>{devtools$1||($e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(xe,$e,...Ie){if(xe.isUnmounted)return;const Fe=xe.vnode.props||EMPTY_OBJ$1;let Ue=Ie;const qe=$e.startsWith("update:"),At=qe&&$e.slice(7);if(At&&At in Fe){const hn=`${At==="modelValue"?"model":At}Modifiers`,{number:vn,trim:bn}=Fe[hn]||EMPTY_OBJ$1;bn&&(Ue=Ie.map(_n=>isString$4(_n)?_n.trim():_n)),vn&&(Ue=Ie.map(looseToNumber))}let Dt,Lt=Fe[Dt=toHandlerKey($e)]||Fe[Dt=toHandlerKey(camelize($e))];!Lt&&qe&&(Lt=Fe[Dt=toHandlerKey(hyphenate($e))]),Lt&&callWithAsyncErrorHandling(Lt,xe,6,Ue);const jt=Fe[Dt+"Once"];if(jt){if(!xe.emitted)xe.emitted={};else if(xe.emitted[Dt])return;xe.emitted[Dt]=!0,callWithAsyncErrorHandling(jt,xe,6,Ue)}}function normalizeEmitsOptions(xe,$e,Ie=!1){const Fe=$e.emitsCache,Ue=Fe.get(xe);if(Ue!==void 0)return Ue;const qe=xe.emits;let At={},Dt=!1;if(!isFunction$5(xe)){const Lt=jt=>{const hn=normalizeEmitsOptions(jt,$e,!0);hn&&(Dt=!0,extend$2(At,hn))};!Ie&&$e.mixins.length&&$e.mixins.forEach(Lt),xe.extends&&Lt(xe.extends),xe.mixins&&xe.mixins.forEach(Lt)}return!qe&&!Dt?(isObject$8(xe)&&Fe.set(xe,null),null):(isArray$6(qe)?qe.forEach(Lt=>At[Lt]=null):extend$2(At,qe),isObject$8(xe)&&Fe.set(xe,At),At)}function isEmitListener(xe,$e){return!xe||!isOn($e)?!1:($e=$e.slice(2).replace(/Once$/,""),hasOwn$1(xe,$e[0].toLowerCase()+$e.slice(1))||hasOwn$1(xe,hyphenate($e))||hasOwn$1(xe,$e))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(xe){const $e=currentRenderingInstance;return currentRenderingInstance=xe,currentScopeId=xe&&xe.type.__scopeId||null,$e}function pushScopeId(xe){currentScopeId=xe}function popScopeId(){currentScopeId=null}const withScopeId=xe=>withCtx;function withCtx(xe,$e=currentRenderingInstance,Ie){if(!$e||xe._n)return xe;const Fe=(...Ue)=>{Fe._d&&setBlockTracking(-1);const qe=setCurrentRenderingInstance($e);let At;try{At=xe(...Ue)}finally{setCurrentRenderingInstance(qe),Fe._d&&setBlockTracking(1)}return At};return Fe._n=!0,Fe._c=!0,Fe._d=!0,Fe}function markAttrsAccessed(){}function renderComponentRoot(xe){const{type:$e,vnode:Ie,proxy:Fe,withProxy:Ue,propsOptions:[qe],slots:At,attrs:Dt,emit:Lt,render:jt,renderCache:hn,props:vn,data:bn,setupState:_n,ctx:wn,inheritAttrs:kn}=xe,Cn=setCurrentRenderingInstance(xe);let Sn,xn;try{if(Ie.shapeFlag&4){const Tn=Ue||Fe,An=Tn;Sn=normalizeVNode(jt.call(An,Tn,hn,vn,_n,bn,wn)),xn=Dt}else{const Tn=$e;Sn=normalizeVNode(Tn.length>1?Tn(vn,{attrs:Dt,slots:At,emit:Lt}):Tn(vn,null)),xn=$e.props?Dt:getFunctionalFallthrough(Dt)}}catch(Tn){blockStack.length=0,handleError(Tn,xe,1),Sn=createVNode$1(Comment$1)}let En=Sn;if(xn&&kn!==!1){const Tn=Object.keys(xn),{shapeFlag:An}=En;Tn.length&&An&7&&(qe&&Tn.some(isModelListener)&&(xn=filterModelListeners(xn,qe)),En=cloneVNode(En,xn,!1,!0))}return Ie.dirs&&(En=cloneVNode(En,null,!1,!0),En.dirs=En.dirs?En.dirs.concat(Ie.dirs):Ie.dirs),Ie.transition&&(En.transition=Ie.transition),Sn=En,setCurrentRenderingInstance(Cn),Sn}function filterSingleRoot(xe,$e=!0){let Ie;for(let Fe=0;Fe{let $e;for(const Ie in xe)(Ie==="class"||Ie==="style"||isOn(Ie))&&(($e||($e={}))[Ie]=xe[Ie]);return $e},filterModelListeners=(xe,$e)=>{const Ie={};for(const Fe in xe)(!isModelListener(Fe)||!(Fe.slice(9)in $e))&&(Ie[Fe]=xe[Fe]);return Ie};function shouldUpdateComponent(xe,$e,Ie){const{props:Fe,children:Ue,component:qe}=xe,{props:At,children:Dt,patchFlag:Lt}=$e,jt=qe.emitsOptions;if($e.dirs||$e.transition)return!0;if(Ie&&Lt>=0){if(Lt&1024)return!0;if(Lt&16)return Fe?hasPropsChanged(Fe,At,jt):!!At;if(Lt&8){const hn=$e.dynamicProps;for(let vn=0;vnxe.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(xe==null)mountSuspense($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt);else{if(qe&&qe.deps>0&&!xe.suspense.isInFallback){$e.suspense=xe.suspense,$e.suspense.vnode=$e,$e.el=xe.el;return}patchSuspense(xe,$e,Ie,Fe,Ue,At,Dt,Lt,jt)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1(xe,$e){const Ie=xe.props&&xe.props[$e];isFunction$5(Ie)&&Ie()}function mountSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){const{p:jt,o:{createElement:hn}}=Lt,vn=hn("div"),bn=xe.suspense=createSuspenseBoundary(xe,Ue,Fe,$e,vn,Ie,qe,At,Dt,Lt);jt(null,bn.pendingBranch=xe.ssContent,vn,null,Fe,bn,qe,At),bn.deps>0?(triggerEvent$1(xe,"onPending"),triggerEvent$1(xe,"onFallback"),jt(null,xe.ssFallback,$e,Ie,Fe,null,qe,At),setActiveBranch(bn,xe.ssFallback)):bn.resolve(!1,!0)}function patchSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,{p:Lt,um:jt,o:{createElement:hn}}){const vn=$e.suspense=xe.suspense;vn.vnode=$e,$e.el=xe.el;const bn=$e.ssContent,_n=$e.ssFallback,{activeBranch:wn,pendingBranch:kn,isInFallback:Cn,isHydrating:Sn}=vn;if(kn)vn.pendingBranch=bn,isSameVNodeType(bn,kn)?(Lt(kn,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0?vn.resolve():Cn&&(Sn||(Lt(wn,_n,Ie,Fe,Ue,null,qe,At,Dt),setActiveBranch(vn,_n)))):(vn.pendingId=suspenseId++,Sn?(vn.isHydrating=!1,vn.activeBranch=kn):jt(kn,Ue,vn),vn.deps=0,vn.effects.length=0,vn.hiddenContainer=hn("div"),Cn?(Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0?vn.resolve():(Lt(wn,_n,Ie,Fe,Ue,null,qe,At,Dt),setActiveBranch(vn,_n))):wn&&isSameVNodeType(bn,wn)?(Lt(wn,bn,Ie,Fe,Ue,vn,qe,At,Dt),vn.resolve(!0)):(Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0&&vn.resolve()));else if(wn&&isSameVNodeType(bn,wn))Lt(wn,bn,Ie,Fe,Ue,vn,qe,At,Dt),setActiveBranch(vn,bn);else if(triggerEvent$1($e,"onPending"),vn.pendingBranch=bn,bn.shapeFlag&512?vn.pendingId=bn.component.suspenseId:vn.pendingId=suspenseId++,Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0)vn.resolve();else{const{timeout:xn,pendingId:En}=vn;xn>0?setTimeout(()=>{vn.pendingId===En&&vn.fallback(_n)},xn):xn===0&&vn.fallback(_n)}}function createSuspenseBoundary(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn=!1){const{p:vn,m:bn,um:_n,n:wn,o:{parentNode:kn,remove:Cn}}=jt;let Sn;const xn=isVNodeSuspensible(xe);xn&&$e&&$e.pendingBranch&&(Sn=$e.pendingId,$e.deps++);const En=xe.props?toNumber$1(xe.props.timeout):void 0,Tn=qe,An={vnode:xe,parent:$e,parentComponent:Ie,namespace:At,container:Fe,hiddenContainer:Ue,deps:0,pendingId:suspenseId++,timeout:typeof En=="number"?En:-1,activeBranch:null,pendingBranch:null,isInFallback:!hn,isHydrating:hn,isUnmounted:!1,effects:[],resolve($n=!1,Pn=!1){const{vnode:Nn,activeBranch:Mn,pendingBranch:In,pendingId:On,effects:Rn,parentComponent:Bn,container:Vn}=An;let Ln=!1;An.isHydrating?An.isHydrating=!1:$n||(Ln=Mn&&In.transition&&In.transition.mode==="out-in",Ln&&(Mn.transition.afterLeave=()=>{On===An.pendingId&&(bn(In,Vn,qe===Tn?wn(Mn):qe,0),queuePostFlushCb(Rn))}),Mn&&(kn(Mn.el)!==An.hiddenContainer&&(qe=wn(Mn)),_n(Mn,Bn,An,!0)),Ln||bn(In,Vn,qe,0)),setActiveBranch(An,In),An.pendingBranch=null,An.isInFallback=!1;let Dn=An.parent,Hn=!1;for(;Dn;){if(Dn.pendingBranch){Dn.effects.push(...Rn),Hn=!0;break}Dn=Dn.parent}!Hn&&!Ln&&queuePostFlushCb(Rn),An.effects=[],xn&&$e&&$e.pendingBranch&&Sn===$e.pendingId&&($e.deps--,$e.deps===0&&!Pn&&$e.resolve()),triggerEvent$1(Nn,"onResolve")},fallback($n){if(!An.pendingBranch)return;const{vnode:Pn,activeBranch:Nn,parentComponent:Mn,container:In,namespace:On}=An;triggerEvent$1(Pn,"onFallback");const Rn=wn(Nn),Bn=()=>{An.isInFallback&&(vn(null,$n,In,Rn,Mn,null,On,Dt,Lt),setActiveBranch(An,$n))},Vn=$n.transition&&$n.transition.mode==="out-in";Vn&&(Nn.transition.afterLeave=Bn),An.isInFallback=!0,_n(Nn,Mn,null,!0),Vn||Bn()},move($n,Pn,Nn){An.activeBranch&&bn(An.activeBranch,$n,Pn,Nn),An.container=$n},next(){return An.activeBranch&&wn(An.activeBranch)},registerDep($n,Pn){const Nn=!!An.pendingBranch;Nn&&An.deps++;const Mn=$n.vnode.el;$n.asyncDep.catch(In=>{handleError(In,$n,0)}).then(In=>{if($n.isUnmounted||An.isUnmounted||An.pendingId!==$n.suspenseId)return;$n.asyncResolved=!0;const{vnode:On}=$n;handleSetupResult($n,In,!1),Mn&&(On.el=Mn);const Rn=!Mn&&$n.subTree.el;Pn($n,On,kn(Mn||$n.subTree.el),Mn?null:wn($n.subTree),An,At,Lt),Rn&&Cn(Rn),updateHOCHostEl($n,On.el),Nn&&--An.deps===0&&An.resolve()})},unmount($n,Pn){An.isUnmounted=!0,An.activeBranch&&_n(An.activeBranch,Ie,$n,Pn),An.pendingBranch&&_n(An.pendingBranch,Ie,$n,Pn)}};return An}function hydrateSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){const jt=$e.suspense=createSuspenseBoundary($e,Fe,Ie,xe.parentNode,document.createElement("div"),null,Ue,qe,At,Dt,!0),hn=Lt(xe,jt.pendingBranch=$e.ssContent,Ie,jt,qe,At);return jt.deps===0&&jt.resolve(!1,!0),hn}function normalizeSuspenseChildren(xe){const{shapeFlag:$e,children:Ie}=xe,Fe=$e&32;xe.ssContent=normalizeSuspenseSlot(Fe?Ie.default:Ie),xe.ssFallback=Fe?normalizeSuspenseSlot(Ie.fallback):createVNode$1(Comment$1)}function normalizeSuspenseSlot(xe){let $e;if(isFunction$5(xe)){const Ie=isBlockTreeEnabled&&xe._c;Ie&&(xe._d=!1,openBlock()),xe=xe(),Ie&&(xe._d=!0,$e=currentBlock,closeBlock())}return isArray$6(xe)&&(xe=filterSingleRoot(xe)),xe=normalizeVNode(xe),$e&&!xe.dynamicChildren&&(xe.dynamicChildren=$e.filter(Ie=>Ie!==xe)),xe}function queueEffectWithSuspense(xe,$e){$e&&$e.pendingBranch?isArray$6(xe)?$e.effects.push(...xe):$e.effects.push(xe):queuePostFlushCb(xe)}function setActiveBranch(xe,$e){xe.activeBranch=$e;const{vnode:Ie,parentComponent:Fe}=xe;let Ue=$e.el;for(;!Ue&&$e.component;)$e=$e.component.subTree,Ue=$e.el;Ie.el=Ue,Fe&&Fe.subTree===Ie&&(Fe.vnode.el=Ue,updateHOCHostEl(Fe,Ue))}function isVNodeSuspensible(xe){const $e=xe.props&&xe.props.suspensible;return $e!=null&&$e!==!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(xe,$e){return doWatch(xe,null,$e)}function watchPostEffect(xe,$e){return doWatch(xe,null,{flush:"post"})}function watchSyncEffect(xe,$e){return doWatch(xe,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(xe,$e,Ie){return doWatch(xe,$e,Ie)}function doWatch(xe,$e,{immediate:Ie,deep:Fe,flush:Ue,once:qe,onTrack:At,onTrigger:Dt}=EMPTY_OBJ$1){if($e&&qe){const $n=$e;$e=(...Pn)=>{$n(...Pn),An()}}const Lt=currentInstance,jt=$n=>Fe===!0?$n:traverse($n,Fe===!1?1:void 0);let hn,vn=!1,bn=!1;if(isRef(xe)?(hn=()=>xe.value,vn=isShallow(xe)):isReactive(xe)?(hn=()=>jt(xe),vn=!0):isArray$6(xe)?(bn=!0,vn=xe.some($n=>isReactive($n)||isShallow($n)),hn=()=>xe.map($n=>{if(isRef($n))return $n.value;if(isReactive($n))return jt($n);if(isFunction$5($n))return callWithErrorHandling($n,Lt,2)})):isFunction$5(xe)?$e?hn=()=>callWithErrorHandling(xe,Lt,2):hn=()=>(_n&&_n(),callWithAsyncErrorHandling(xe,Lt,3,[wn])):hn=NOOP,$e&&Fe){const $n=hn;hn=()=>traverse($n())}let _n,wn=$n=>{_n=En.onStop=()=>{callWithErrorHandling($n,Lt,4),_n=En.onStop=void 0}},kn;if(isInSSRComponentSetup)if(wn=NOOP,$e?Ie&&callWithAsyncErrorHandling($e,Lt,3,[hn(),bn?[]:void 0,wn]):hn(),Ue==="sync"){const $n=useSSRContext();kn=$n.__watcherHandles||($n.__watcherHandles=[])}else return NOOP;let Cn=bn?new Array(xe.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Sn=()=>{if(!(!En.active||!En.dirty))if($e){const $n=En.run();(Fe||vn||(bn?$n.some((Pn,Nn)=>hasChanged(Pn,Cn[Nn])):hasChanged($n,Cn)))&&(_n&&_n(),callWithAsyncErrorHandling($e,Lt,3,[$n,Cn===INITIAL_WATCHER_VALUE?void 0:bn&&Cn[0]===INITIAL_WATCHER_VALUE?[]:Cn,wn]),Cn=$n)}else En.run()};Sn.allowRecurse=!!$e;let xn;Ue==="sync"?xn=Sn:Ue==="post"?xn=()=>queuePostRenderEffect(Sn,Lt&&Lt.suspense):(Sn.pre=!0,Lt&&(Sn.id=Lt.uid),xn=()=>queueJob(Sn));const En=new ReactiveEffect(hn,NOOP,xn),Tn=getCurrentScope(),An=()=>{En.stop(),Tn&&remove(Tn.effects,En)};return $e?Ie?Sn():Cn=En.run():Ue==="post"?queuePostRenderEffect(En.run.bind(En),Lt&&Lt.suspense):En.run(),kn&&kn.push(An),An}function instanceWatch(xe,$e,Ie){const Fe=this.proxy,Ue=isString$4(xe)?xe.includes(".")?createPathGetter(Fe,xe):()=>Fe[xe]:xe.bind(Fe,Fe);let qe;isFunction$5($e)?qe=$e:(qe=$e.handler,Ie=$e);const At=setCurrentInstance(this),Dt=doWatch(Ue,qe.bind(Fe),Ie);return At(),Dt}function createPathGetter(xe,$e){const Ie=$e.split(".");return()=>{let Fe=xe;for(let Ue=0;Ue{traverse(Fe,$e,Ie)});else if(isPlainObject$4(xe))for(const Fe in xe)traverse(xe[Fe],$e,Ie);return xe}function withDirectives(xe,$e){if(currentRenderingInstance===null)return xe;const Ie=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,Fe=xe.dirs||(xe.dirs=[]);for(let Ue=0;Ue<$e.length;Ue++){let[qe,At,Dt,Lt=EMPTY_OBJ$1]=$e[Ue];qe&&(isFunction$5(qe)&&(qe={mounted:qe,updated:qe}),qe.deep&&traverse(At),Fe.push({dir:qe,instance:Ie,value:At,oldValue:void 0,arg:Dt,modifiers:Lt}))}return xe}function invokeDirectiveHook(xe,$e,Ie,Fe){const Ue=xe.dirs,qe=$e&&$e.dirs;for(let At=0;At{xe.isMounted=!0}),onBeforeUnmount(()=>{xe.isUnmounting=!0}),xe}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=useTransitionState();return()=>{const Ue=$e.default&&getTransitionRawChildren($e.default(),!0);if(!Ue||!Ue.length)return;let qe=Ue[0];if(Ue.length>1){for(const bn of Ue)if(bn.type!==Comment$1){qe=bn;break}}const At=toRaw(xe),{mode:Dt}=At;if(Fe.isLeaving)return emptyPlaceholder(qe);const Lt=getKeepAliveChild(qe);if(!Lt)return emptyPlaceholder(qe);const jt=resolveTransitionHooks(Lt,At,Fe,Ie);setTransitionHooks(Lt,jt);const hn=Ie.subTree,vn=hn&&getKeepAliveChild(hn);if(vn&&vn.type!==Comment$1&&!isSameVNodeType(Lt,vn)){const bn=resolveTransitionHooks(vn,At,Fe,Ie);if(setTransitionHooks(vn,bn),Dt==="out-in"&&Lt.type!==Comment$1)return Fe.isLeaving=!0,bn.afterLeave=()=>{Fe.isLeaving=!1,Ie.update.active!==!1&&(Ie.effect.dirty=!0,Ie.update())},emptyPlaceholder(qe);Dt==="in-out"&&Lt.type!==Comment$1&&(bn.delayLeave=(_n,wn,kn)=>{const Cn=getLeavingNodesForType(Fe,vn);Cn[String(vn.key)]=vn,_n[leaveCbKey]=()=>{wn(),_n[leaveCbKey]=void 0,delete jt.delayedLeave},jt.delayedLeave=kn})}return qe}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(xe,$e){const{leavingVNodes:Ie}=xe;let Fe=Ie.get($e.type);return Fe||(Fe=Object.create(null),Ie.set($e.type,Fe)),Fe}function resolveTransitionHooks(xe,$e,Ie,Fe){const{appear:Ue,mode:qe,persisted:At=!1,onBeforeEnter:Dt,onEnter:Lt,onAfterEnter:jt,onEnterCancelled:hn,onBeforeLeave:vn,onLeave:bn,onAfterLeave:_n,onLeaveCancelled:wn,onBeforeAppear:kn,onAppear:Cn,onAfterAppear:Sn,onAppearCancelled:xn}=$e,En=String(xe.key),Tn=getLeavingNodesForType(Ie,xe),An=(Nn,Mn)=>{Nn&&callWithAsyncErrorHandling(Nn,Fe,9,Mn)},$n=(Nn,Mn)=>{const In=Mn[1];An(Nn,Mn),isArray$6(Nn)?Nn.every(On=>On.length<=1)&&In():Nn.length<=1&&In()},Pn={mode:qe,persisted:At,beforeEnter(Nn){let Mn=Dt;if(!Ie.isMounted)if(Ue)Mn=kn||Dt;else return;Nn[leaveCbKey]&&Nn[leaveCbKey](!0);const In=Tn[En];In&&isSameVNodeType(xe,In)&&In.el[leaveCbKey]&&In.el[leaveCbKey](),An(Mn,[Nn])},enter(Nn){let Mn=Lt,In=jt,On=hn;if(!Ie.isMounted)if(Ue)Mn=Cn||Lt,In=Sn||jt,On=xn||hn;else return;let Rn=!1;const Bn=Nn[enterCbKey$1]=Vn=>{Rn||(Rn=!0,Vn?An(On,[Nn]):An(In,[Nn]),Pn.delayedLeave&&Pn.delayedLeave(),Nn[enterCbKey$1]=void 0)};Mn?$n(Mn,[Nn,Bn]):Bn()},leave(Nn,Mn){const In=String(xe.key);if(Nn[enterCbKey$1]&&Nn[enterCbKey$1](!0),Ie.isUnmounting)return Mn();An(vn,[Nn]);let On=!1;const Rn=Nn[leaveCbKey]=Bn=>{On||(On=!0,Mn(),Bn?An(wn,[Nn]):An(_n,[Nn]),Nn[leaveCbKey]=void 0,Tn[In]===xe&&delete Tn[In])};Tn[In]=xe,bn?$n(bn,[Nn,Rn]):Rn()},clone(Nn){return resolveTransitionHooks(Nn,$e,Ie,Fe)}};return Pn}function emptyPlaceholder(xe){if(isKeepAlive(xe))return xe=cloneVNode(xe),xe.children=null,xe}function getKeepAliveChild(xe){if(!isKeepAlive(xe))return xe;const{shapeFlag:$e,children:Ie}=xe;if(Ie){if($e&16)return Ie[0];if($e&32&&isFunction$5(Ie.default))return Ie.default()}}function setTransitionHooks(xe,$e){xe.shapeFlag&6&&xe.component?setTransitionHooks(xe.component.subTree,$e):xe.shapeFlag&128?(xe.ssContent.transition=$e.clone(xe.ssContent),xe.ssFallback.transition=$e.clone(xe.ssFallback)):xe.transition=$e}function getTransitionRawChildren(xe,$e=!1,Ie){let Fe=[],Ue=0;for(let qe=0;qe1)for(let qe=0;qe!!xe.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(xe){isFunction$5(xe)&&(xe={loader:xe});const{loader:$e,loadingComponent:Ie,errorComponent:Fe,delay:Ue=200,timeout:qe,suspensible:At=!0,onError:Dt}=xe;let Lt=null,jt,hn=0;const vn=()=>(hn++,Lt=null,bn()),bn=()=>{let _n;return Lt||(_n=Lt=$e().catch(wn=>{if(wn=wn instanceof Error?wn:new Error(String(wn)),Dt)return new Promise((kn,Cn)=>{Dt(wn,()=>kn(vn()),()=>Cn(wn),hn+1)});throw wn}).then(wn=>_n!==Lt&&Lt?Lt:(wn&&(wn.__esModule||wn[Symbol.toStringTag]==="Module")&&(wn=wn.default),jt=wn,wn)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:bn,get __asyncResolved(){return jt},setup(){const _n=currentInstance;if(jt)return()=>createInnerComp(jt,_n);const wn=xn=>{Lt=null,handleError(xn,_n,13,!Fe)};if(At&&_n.suspense||isInSSRComponentSetup)return bn().then(xn=>()=>createInnerComp(xn,_n)).catch(xn=>(wn(xn),()=>Fe?createVNode$1(Fe,{error:xn}):null));const kn=ref(!1),Cn=ref(),Sn=ref(!!Ue);return Ue&&setTimeout(()=>{Sn.value=!1},Ue),qe!=null&&setTimeout(()=>{if(!kn.value&&!Cn.value){const xn=new Error(`Async component timed out after ${qe}ms.`);wn(xn),Cn.value=xn}},qe),bn().then(()=>{kn.value=!0,_n.parent&&isKeepAlive(_n.parent.vnode)&&(_n.parent.effect.dirty=!0,queueJob(_n.parent.update))}).catch(xn=>{wn(xn),Cn.value=xn}),()=>{if(kn.value&&jt)return createInnerComp(jt,_n);if(Cn.value&&Fe)return createVNode$1(Fe,{error:Cn.value});if(Ie&&!Sn.value)return createVNode$1(Ie)}}})}function createInnerComp(xe,$e){const{ref:Ie,props:Fe,children:Ue,ce:qe}=$e.vnode,At=createVNode$1(xe,Fe,Ue);return At.ref=Ie,At.ce=qe,delete $e.vnode.ce,At}const isKeepAlive=xe=>xe.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=Ie.ctx;if(!Fe.renderer)return()=>{const xn=$e.default&&$e.default();return xn&&xn.length===1?xn[0]:xn};const Ue=new Map,qe=new Set;let At=null;const Dt=Ie.suspense,{renderer:{p:Lt,m:jt,um:hn,o:{createElement:vn}}}=Fe,bn=vn("div");Fe.activate=(xn,En,Tn,An,$n)=>{const Pn=xn.component;jt(xn,En,Tn,0,Dt),Lt(Pn.vnode,xn,En,Tn,Pn,Dt,An,xn.slotScopeIds,$n),queuePostRenderEffect(()=>{Pn.isDeactivated=!1,Pn.a&&invokeArrayFns(Pn.a);const Nn=xn.props&&xn.props.onVnodeMounted;Nn&&invokeVNodeHook(Nn,Pn.parent,xn)},Dt)},Fe.deactivate=xn=>{const En=xn.component;jt(xn,bn,null,1,Dt),queuePostRenderEffect(()=>{En.da&&invokeArrayFns(En.da);const Tn=xn.props&&xn.props.onVnodeUnmounted;Tn&&invokeVNodeHook(Tn,En.parent,xn),En.isDeactivated=!0},Dt)};function _n(xn){resetShapeFlag(xn),hn(xn,Ie,Dt,!0)}function wn(xn){Ue.forEach((En,Tn)=>{const An=getComponentName(En.type);An&&(!xn||!xn(An))&&kn(Tn)})}function kn(xn){const En=Ue.get(xn);!At||!isSameVNodeType(En,At)?_n(En):At&&resetShapeFlag(At),Ue.delete(xn),qe.delete(xn)}watch(()=>[xe.include,xe.exclude],([xn,En])=>{xn&&wn(Tn=>matches(xn,Tn)),En&&wn(Tn=>!matches(En,Tn))},{flush:"post",deep:!0});let Cn=null;const Sn=()=>{Cn!=null&&Ue.set(Cn,getInnerChild(Ie.subTree))};return onMounted(Sn),onUpdated(Sn),onBeforeUnmount(()=>{Ue.forEach(xn=>{const{subTree:En,suspense:Tn}=Ie,An=getInnerChild(En);if(xn.type===An.type&&xn.key===An.key){resetShapeFlag(An);const $n=An.component.da;$n&&queuePostRenderEffect($n,Tn);return}_n(xn)})}),()=>{if(Cn=null,!$e.default)return null;const xn=$e.default(),En=xn[0];if(xn.length>1)return At=null,xn;if(!isVNode(En)||!(En.shapeFlag&4)&&!(En.shapeFlag&128))return At=null,En;let Tn=getInnerChild(En);const An=Tn.type,$n=getComponentName(isAsyncWrapper(Tn)?Tn.type.__asyncResolved||{}:An),{include:Pn,exclude:Nn,max:Mn}=xe;if(Pn&&(!$n||!matches(Pn,$n))||Nn&&$n&&matches(Nn,$n))return At=Tn,En;const In=Tn.key==null?An:Tn.key,On=Ue.get(In);return Tn.el&&(Tn=cloneVNode(Tn),En.shapeFlag&128&&(En.ssContent=Tn)),Cn=In,On?(Tn.el=On.el,Tn.component=On.component,Tn.transition&&setTransitionHooks(Tn,Tn.transition),Tn.shapeFlag|=512,qe.delete(In),qe.add(In)):(qe.add(In),Mn&&qe.size>parseInt(Mn,10)&&kn(qe.values().next().value)),Tn.shapeFlag|=256,At=Tn,isSuspense(En.type)?En:Tn}}},KeepAlive=KeepAliveImpl;function matches(xe,$e){return isArray$6(xe)?xe.some(Ie=>matches(Ie,$e)):isString$4(xe)?xe.split(",").includes($e):isRegExp$2(xe)?xe.test($e):!1}function onActivated(xe,$e){registerKeepAliveHook(xe,"a",$e)}function onDeactivated(xe,$e){registerKeepAliveHook(xe,"da",$e)}function registerKeepAliveHook(xe,$e,Ie=currentInstance){const Fe=xe.__wdc||(xe.__wdc=()=>{let Ue=Ie;for(;Ue;){if(Ue.isDeactivated)return;Ue=Ue.parent}return xe()});if(injectHook($e,Fe,Ie),Ie){let Ue=Ie.parent;for(;Ue&&Ue.parent;)isKeepAlive(Ue.parent.vnode)&&injectToKeepAliveRoot(Fe,$e,Ie,Ue),Ue=Ue.parent}}function injectToKeepAliveRoot(xe,$e,Ie,Fe){const Ue=injectHook($e,xe,Fe,!0);onUnmounted(()=>{remove(Fe[$e],Ue)},Ie)}function resetShapeFlag(xe){xe.shapeFlag&=-257,xe.shapeFlag&=-513}function getInnerChild(xe){return xe.shapeFlag&128?xe.ssContent:xe}function injectHook(xe,$e,Ie=currentInstance,Fe=!1){if(Ie){const Ue=Ie[xe]||(Ie[xe]=[]),qe=$e.__weh||($e.__weh=(...At)=>{if(Ie.isUnmounted)return;pauseTracking();const Dt=setCurrentInstance(Ie),Lt=callWithAsyncErrorHandling($e,Ie,xe,At);return Dt(),resetTracking(),Lt});return Fe?Ue.unshift(qe):Ue.push(qe),qe}}const createHook=xe=>($e,Ie=currentInstance)=>(!isInSSRComponentSetup||xe==="sp")&&injectHook(xe,(...Fe)=>$e(...Fe),Ie),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(xe,$e=currentInstance){injectHook("ec",xe,$e)}function renderList(xe,$e,Ie,Fe){let Ue;const qe=Ie&&Ie[Fe];if(isArray$6(xe)||isString$4(xe)){Ue=new Array(xe.length);for(let At=0,Dt=xe.length;At$e(At,Dt,void 0,qe&&qe[Dt]));else{const At=Object.keys(xe);Ue=new Array(At.length);for(let Dt=0,Lt=At.length;Dt{const qe=Fe.fn(...Ue);return qe&&(qe.key=Fe.key),qe}:Fe.fn)}return xe}function renderSlot(xe,$e,Ie={},Fe,Ue){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return $e!=="default"&&(Ie.name=$e),createVNode$1("slot",Ie,Fe&&Fe());let qe=xe[$e];qe&&qe._c&&(qe._d=!1),openBlock();const At=qe&&ensureValidVNode(qe(Ie)),Dt=createBlock(Fragment,{key:Ie.key||At&&At.key||`_${$e}`},At||(Fe?Fe():[]),At&&xe._===1?64:-2);return!Ue&&Dt.scopeId&&(Dt.slotScopeIds=[Dt.scopeId+"-s"]),qe&&qe._c&&(qe._d=!0),Dt}function ensureValidVNode(xe){return xe.some($e=>isVNode($e)?!($e.type===Comment$1||$e.type===Fragment&&!ensureValidVNode($e.children)):!0)?xe:null}function toHandlers(xe,$e){const Ie={};for(const Fe in xe)Ie[$e&&/[A-Z]/.test(Fe)?`on:${Fe}`:toHandlerKey(Fe)]=xe[Fe];return Ie}const getPublicInstance=xe=>xe?isStatefulComponent(xe)?getExposeProxy(xe)||xe.proxy:getPublicInstance(xe.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:xe=>xe,$el:xe=>xe.vnode.el,$data:xe=>xe.data,$props:xe=>xe.props,$attrs:xe=>xe.attrs,$slots:xe=>xe.slots,$refs:xe=>xe.refs,$parent:xe=>getPublicInstance(xe.parent),$root:xe=>getPublicInstance(xe.root),$emit:xe=>xe.emit,$options:xe=>resolveMergedOptions(xe),$forceUpdate:xe=>xe.f||(xe.f=()=>{xe.effect.dirty=!0,queueJob(xe.update)}),$nextTick:xe=>xe.n||(xe.n=nextTick.bind(xe.proxy)),$watch:xe=>instanceWatch.bind(xe)}),hasSetupBinding=(xe,$e)=>xe!==EMPTY_OBJ$1&&!xe.__isScriptSetup&&hasOwn$1(xe,$e),PublicInstanceProxyHandlers={get({_:xe},$e){if($e==="__v_skip")return!0;const{ctx:Ie,setupState:Fe,data:Ue,props:qe,accessCache:At,type:Dt,appContext:Lt}=xe;let jt;if($e[0]!=="$"){const _n=At[$e];if(_n!==void 0)switch(_n){case 1:return Fe[$e];case 2:return Ue[$e];case 4:return Ie[$e];case 3:return qe[$e]}else{if(hasSetupBinding(Fe,$e))return At[$e]=1,Fe[$e];if(Ue!==EMPTY_OBJ$1&&hasOwn$1(Ue,$e))return At[$e]=2,Ue[$e];if((jt=xe.propsOptions[0])&&hasOwn$1(jt,$e))return At[$e]=3,qe[$e];if(Ie!==EMPTY_OBJ$1&&hasOwn$1(Ie,$e))return At[$e]=4,Ie[$e];shouldCacheAccess&&(At[$e]=0)}}const hn=publicPropertiesMap[$e];let vn,bn;if(hn)return $e==="$attrs"&&track(xe.attrs,"get",""),hn(xe);if((vn=Dt.__cssModules)&&(vn=vn[$e]))return vn;if(Ie!==EMPTY_OBJ$1&&hasOwn$1(Ie,$e))return At[$e]=4,Ie[$e];if(bn=Lt.config.globalProperties,hasOwn$1(bn,$e))return bn[$e]},set({_:xe},$e,Ie){const{data:Fe,setupState:Ue,ctx:qe}=xe;return hasSetupBinding(Ue,$e)?(Ue[$e]=Ie,!0):Fe!==EMPTY_OBJ$1&&hasOwn$1(Fe,$e)?(Fe[$e]=Ie,!0):hasOwn$1(xe.props,$e)||$e[0]==="$"&&$e.slice(1)in xe?!1:(qe[$e]=Ie,!0)},has({_:{data:xe,setupState:$e,accessCache:Ie,ctx:Fe,appContext:Ue,propsOptions:qe}},At){let Dt;return!!Ie[At]||xe!==EMPTY_OBJ$1&&hasOwn$1(xe,At)||hasSetupBinding($e,At)||(Dt=qe[0])&&hasOwn$1(Dt,At)||hasOwn$1(Fe,At)||hasOwn$1(publicPropertiesMap,At)||hasOwn$1(Ue.config.globalProperties,At)},defineProperty(xe,$e,Ie){return Ie.get!=null?xe._.accessCache[$e]=0:hasOwn$1(Ie,"value")&&this.set(xe,$e,Ie.value,null),Reflect.defineProperty(xe,$e,Ie)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get(xe,$e){if($e!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(xe,$e,xe)},has(xe,$e){return $e[0]!=="_"&&!isGloballyAllowed($e)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(xe){}function defineOptions(xe){}function defineSlots(){return null}function defineModel(){}function withDefaults(xe,$e){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const xe=getCurrentInstance();return xe.setupContext||(xe.setupContext=createSetupContext(xe))}function normalizePropsOrEmits(xe){return isArray$6(xe)?xe.reduce(($e,Ie)=>($e[Ie]=null,$e),{}):xe}function mergeDefaults(xe,$e){const Ie=normalizePropsOrEmits(xe);for(const Fe in $e){if(Fe.startsWith("__skip"))continue;let Ue=Ie[Fe];Ue?isArray$6(Ue)||isFunction$5(Ue)?Ue=Ie[Fe]={type:Ue,default:$e[Fe]}:Ue.default=$e[Fe]:Ue===null&&(Ue=Ie[Fe]={default:$e[Fe]}),Ue&&$e[`__skip_${Fe}`]&&(Ue.skipFactory=!0)}return Ie}function mergeModels(xe,$e){return!xe||!$e?xe||$e:isArray$6(xe)&&isArray$6($e)?xe.concat($e):extend$2({},normalizePropsOrEmits(xe),normalizePropsOrEmits($e))}function createPropsRestProxy(xe,$e){const Ie={};for(const Fe in xe)$e.includes(Fe)||Object.defineProperty(Ie,Fe,{enumerable:!0,get:()=>xe[Fe]});return Ie}function withAsyncContext(xe){const $e=getCurrentInstance();let Ie=xe();return unsetCurrentInstance(),isPromise(Ie)&&(Ie=Ie.catch(Fe=>{throw setCurrentInstance($e),Fe})),[Ie,()=>setCurrentInstance($e)]}let shouldCacheAccess=!0;function applyOptions(xe){const $e=resolveMergedOptions(xe),Ie=xe.proxy,Fe=xe.ctx;shouldCacheAccess=!1,$e.beforeCreate&&callHook$1($e.beforeCreate,xe,"bc");const{data:Ue,computed:qe,methods:At,watch:Dt,provide:Lt,inject:jt,created:hn,beforeMount:vn,mounted:bn,beforeUpdate:_n,updated:wn,activated:kn,deactivated:Cn,beforeDestroy:Sn,beforeUnmount:xn,destroyed:En,unmounted:Tn,render:An,renderTracked:$n,renderTriggered:Pn,errorCaptured:Nn,serverPrefetch:Mn,expose:In,inheritAttrs:On,components:Rn,directives:Bn,filters:Vn}=$e;if(jt&&resolveInjections(jt,Fe,null),At)for(const Hn in At){const Fn=At[Hn];isFunction$5(Fn)&&(Fe[Hn]=Fn.bind(Ie))}if(Ue){const Hn=Ue.call(Ie,Ie);isObject$8(Hn)&&(xe.data=reactive(Hn))}if(shouldCacheAccess=!0,qe)for(const Hn in qe){const Fn=qe[Hn],zn=isFunction$5(Fn)?Fn.bind(Ie,Ie):isFunction$5(Fn.get)?Fn.get.bind(Ie,Ie):NOOP,jn=!isFunction$5(Fn)&&isFunction$5(Fn.set)?Fn.set.bind(Ie):NOOP,Gn=computed({get:zn,set:jn});Object.defineProperty(Fe,Hn,{enumerable:!0,configurable:!0,get:()=>Gn.value,set:Wn=>Gn.value=Wn})}if(Dt)for(const Hn in Dt)createWatcher(Dt[Hn],Fe,Ie,Hn);if(Lt){const Hn=isFunction$5(Lt)?Lt.call(Ie):Lt;Reflect.ownKeys(Hn).forEach(Fn=>{provide(Fn,Hn[Fn])})}hn&&callHook$1(hn,xe,"c");function Dn(Hn,Fn){isArray$6(Fn)?Fn.forEach(zn=>Hn(zn.bind(Ie))):Fn&&Hn(Fn.bind(Ie))}if(Dn(onBeforeMount,vn),Dn(onMounted,bn),Dn(onBeforeUpdate,_n),Dn(onUpdated,wn),Dn(onActivated,kn),Dn(onDeactivated,Cn),Dn(onErrorCaptured,Nn),Dn(onRenderTracked,$n),Dn(onRenderTriggered,Pn),Dn(onBeforeUnmount,xn),Dn(onUnmounted,Tn),Dn(onServerPrefetch,Mn),isArray$6(In))if(In.length){const Hn=xe.exposed||(xe.exposed={});In.forEach(Fn=>{Object.defineProperty(Hn,Fn,{get:()=>Ie[Fn],set:zn=>Ie[Fn]=zn})})}else xe.exposed||(xe.exposed={});An&&xe.render===NOOP&&(xe.render=An),On!=null&&(xe.inheritAttrs=On),Rn&&(xe.components=Rn),Bn&&(xe.directives=Bn)}function resolveInjections(xe,$e,Ie=NOOP){isArray$6(xe)&&(xe=normalizeInject(xe));for(const Fe in xe){const Ue=xe[Fe];let qe;isObject$8(Ue)?"default"in Ue?qe=inject(Ue.from||Fe,Ue.default,!0):qe=inject(Ue.from||Fe):qe=inject(Ue),isRef(qe)?Object.defineProperty($e,Fe,{enumerable:!0,configurable:!0,get:()=>qe.value,set:At=>qe.value=At}):$e[Fe]=qe}}function callHook$1(xe,$e,Ie){callWithAsyncErrorHandling(isArray$6(xe)?xe.map(Fe=>Fe.bind($e.proxy)):xe.bind($e.proxy),$e,Ie)}function createWatcher(xe,$e,Ie,Fe){const Ue=Fe.includes(".")?createPathGetter(Ie,Fe):()=>Ie[Fe];if(isString$4(xe)){const qe=$e[xe];isFunction$5(qe)&&watch(Ue,qe)}else if(isFunction$5(xe))watch(Ue,xe.bind(Ie));else if(isObject$8(xe))if(isArray$6(xe))xe.forEach(qe=>createWatcher(qe,$e,Ie,Fe));else{const qe=isFunction$5(xe.handler)?xe.handler.bind(Ie):$e[xe.handler];isFunction$5(qe)&&watch(Ue,qe,xe)}}function resolveMergedOptions(xe){const $e=xe.type,{mixins:Ie,extends:Fe}=$e,{mixins:Ue,optionsCache:qe,config:{optionMergeStrategies:At}}=xe.appContext,Dt=qe.get($e);let Lt;return Dt?Lt=Dt:!Ue.length&&!Ie&&!Fe?Lt=$e:(Lt={},Ue.length&&Ue.forEach(jt=>mergeOptions$2(Lt,jt,At,!0)),mergeOptions$2(Lt,$e,At)),isObject$8($e)&&qe.set($e,Lt),Lt}function mergeOptions$2(xe,$e,Ie,Fe=!1){const{mixins:Ue,extends:qe}=$e;qe&&mergeOptions$2(xe,qe,Ie,!0),Ue&&Ue.forEach(At=>mergeOptions$2(xe,At,Ie,!0));for(const At in $e)if(!(Fe&&At==="expose")){const Dt=internalOptionMergeStrats[At]||Ie&&Ie[At];xe[At]=Dt?Dt(xe[At],$e[At]):$e[At]}return xe}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(xe,$e){return $e?xe?function(){return extend$2(isFunction$5(xe)?xe.call(this,this):xe,isFunction$5($e)?$e.call(this,this):$e)}:$e:xe}function mergeInject(xe,$e){return mergeObjectOptions(normalizeInject(xe),normalizeInject($e))}function normalizeInject(xe){if(isArray$6(xe)){const $e={};for(let Ie=0;Ie1)return Ie&&isFunction$5($e)?$e.call(Fe&&Fe.proxy):$e}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=xe=>Object.getPrototypeOf(xe)===internalObjectProto;function initProps$1(xe,$e,Ie,Fe=!1){const Ue={},qe=createInternalObject();xe.propsDefaults=Object.create(null),setFullProps(xe,$e,Ue,qe);for(const At in xe.propsOptions[0])At in Ue||(Ue[At]=void 0);Ie?xe.props=Fe?Ue:shallowReactive(Ue):xe.type.props?xe.props=Ue:xe.props=qe,xe.attrs=qe}function updateProps$2(xe,$e,Ie,Fe){const{props:Ue,attrs:qe,vnode:{patchFlag:At}}=xe,Dt=toRaw(Ue),[Lt]=xe.propsOptions;let jt=!1;if((Fe||At>0)&&!(At&16)){if(At&8){const hn=xe.vnode.dynamicProps;for(let vn=0;vn{Lt=!0;const[bn,_n]=normalizePropsOptions(vn,$e,!0);extend$2(At,bn),_n&&Dt.push(..._n)};!Ie&&$e.mixins.length&&$e.mixins.forEach(hn),xe.extends&&hn(xe.extends),xe.mixins&&xe.mixins.forEach(hn)}if(!qe&&!Lt)return isObject$8(xe)&&Fe.set(xe,EMPTY_ARR),EMPTY_ARR;if(isArray$6(qe))for(let hn=0;hn-1,_n[1]=kn<0||wn-1||hasOwn$1(_n,"default"))&&Dt.push(vn)}}}const jt=[At,Dt];return isObject$8(xe)&&Fe.set(xe,jt),jt}function validatePropName(xe){return xe[0]!=="$"&&!isReservedProp(xe)}function getType(xe){return xe===null?"null":typeof xe=="function"?xe.name||"":typeof xe=="object"&&xe.constructor&&xe.constructor.name||""}function isSameType(xe,$e){return getType(xe)===getType($e)}function getTypeIndex(xe,$e){return isArray$6($e)?$e.findIndex(Ie=>isSameType(Ie,xe)):isFunction$5($e)&&isSameType($e,xe)?0:-1}const isInternalKey=xe=>xe[0]==="_"||xe==="$stable",normalizeSlotValue=xe=>isArray$6(xe)?xe.map(normalizeVNode):[normalizeVNode(xe)],normalizeSlot$1=(xe,$e,Ie)=>{if($e._n)return $e;const Fe=withCtx((...Ue)=>normalizeSlotValue($e(...Ue)),Ie);return Fe._c=!1,Fe},normalizeObjectSlots=(xe,$e,Ie)=>{const Fe=xe._ctx;for(const Ue in xe){if(isInternalKey(Ue))continue;const qe=xe[Ue];if(isFunction$5(qe))$e[Ue]=normalizeSlot$1(Ue,qe,Fe);else if(qe!=null){const At=normalizeSlotValue(qe);$e[Ue]=()=>At}}},normalizeVNodeSlots=(xe,$e)=>{const Ie=normalizeSlotValue($e);xe.slots.default=()=>Ie},initSlots=(xe,$e)=>{const Ie=xe.slots=createInternalObject();if(xe.vnode.shapeFlag&32){const Fe=$e._;Fe?(extend$2(Ie,$e),def(Ie,"_",Fe,!0)):normalizeObjectSlots($e,Ie)}else $e&&normalizeVNodeSlots(xe,$e)},updateSlots=(xe,$e,Ie)=>{const{vnode:Fe,slots:Ue}=xe;let qe=!0,At=EMPTY_OBJ$1;if(Fe.shapeFlag&32){const Dt=$e._;Dt?Ie&&Dt===1?qe=!1:(extend$2(Ue,$e),!Ie&&Dt===1&&delete Ue._):(qe=!$e.$stable,normalizeObjectSlots($e,Ue)),At=$e}else $e&&(normalizeVNodeSlots(xe,$e),At={default:1});if(qe)for(const Dt in Ue)!isInternalKey(Dt)&&At[Dt]==null&&delete Ue[Dt]};function setRef(xe,$e,Ie,Fe,Ue=!1){if(isArray$6(xe)){xe.forEach((bn,_n)=>setRef(bn,$e&&(isArray$6($e)?$e[_n]:$e),Ie,Fe,Ue));return}if(isAsyncWrapper(Fe)&&!Ue)return;const qe=Fe.shapeFlag&4?getExposeProxy(Fe.component)||Fe.component.proxy:Fe.el,At=Ue?null:qe,{i:Dt,r:Lt}=xe,jt=$e&&$e.r,hn=Dt.refs===EMPTY_OBJ$1?Dt.refs={}:Dt.refs,vn=Dt.setupState;if(jt!=null&&jt!==Lt&&(isString$4(jt)?(hn[jt]=null,hasOwn$1(vn,jt)&&(vn[jt]=null)):isRef(jt)&&(jt.value=null)),isFunction$5(Lt))callWithErrorHandling(Lt,Dt,12,[At,hn]);else{const bn=isString$4(Lt),_n=isRef(Lt);if(bn||_n){const wn=()=>{if(xe.f){const kn=bn?hasOwn$1(vn,Lt)?vn[Lt]:hn[Lt]:Lt.value;Ue?isArray$6(kn)&&remove(kn,qe):isArray$6(kn)?kn.includes(qe)||kn.push(qe):bn?(hn[Lt]=[qe],hasOwn$1(vn,Lt)&&(vn[Lt]=hn[Lt])):(Lt.value=[qe],xe.k&&(hn[xe.k]=Lt.value))}else bn?(hn[Lt]=At,hasOwn$1(vn,Lt)&&(vn[Lt]=At)):_n&&(Lt.value=At,xe.k&&(hn[xe.k]=At))};At?(wn.id=-1,queuePostRenderEffect(wn,Ie)):wn()}}}let hasMismatch=!1;const isSVGContainer=xe=>xe.namespaceURI.includes("svg")&&xe.tagName!=="foreignObject",isMathMLContainer=xe=>xe.namespaceURI.includes("MathML"),getContainerType=xe=>{if(isSVGContainer(xe))return"svg";if(isMathMLContainer(xe))return"mathml"},isComment$1=xe=>xe.nodeType===8;function createHydrationFunctions(xe){const{mt:$e,p:Ie,o:{patchProp:Fe,createText:Ue,nextSibling:qe,parentNode:At,remove:Dt,insert:Lt,createComment:jt}}=xe,hn=(En,Tn)=>{if(!Tn.hasChildNodes()){Ie(null,En,Tn),flushPostFlushCbs(),Tn._vnode=En;return}hasMismatch=!1,vn(Tn.firstChild,En,null,null,null),flushPostFlushCbs(),Tn._vnode=En,hasMismatch&&console.error("Hydration completed but contains mismatches.")},vn=(En,Tn,An,$n,Pn,Nn=!1)=>{Nn=Nn||!!Tn.dynamicChildren;const Mn=isComment$1(En)&&En.data==="[",In=()=>kn(En,Tn,An,$n,Pn,Mn),{type:On,ref:Rn,shapeFlag:Bn,patchFlag:Vn}=Tn;let Ln=En.nodeType;Tn.el=En,Vn===-2&&(Nn=!1,Tn.dynamicChildren=null);let Dn=null;switch(On){case Text$2:Ln!==3?Tn.children===""?(Lt(Tn.el=Ue(""),At(En),En),Dn=En):Dn=In():(En.data!==Tn.children&&(hasMismatch=!0,En.data=Tn.children),Dn=qe(En));break;case Comment$1:xn(En)?(Dn=qe(En),Sn(Tn.el=En.content.firstChild,En,An)):Ln!==8||Mn?Dn=In():Dn=qe(En);break;case Static:if(Mn&&(En=qe(En),Ln=En.nodeType),Ln===1||Ln===3){Dn=En;const Hn=!Tn.children.length;for(let Fn=0;Fn{Nn=Nn||!!Tn.dynamicChildren;const{type:Mn,props:In,patchFlag:On,shapeFlag:Rn,dirs:Bn,transition:Vn}=Tn,Ln=Mn==="input"||Mn==="option";if(Ln||On!==-1){Bn&&invokeDirectiveHook(Tn,null,An,"created");let Dn=!1;if(xn(En)){Dn=needTransition($n,Vn)&&An&&An.vnode.props&&An.vnode.props.appear;const Fn=En.content.firstChild;Dn&&Vn.beforeEnter(Fn),Sn(Fn,En,An),Tn.el=En=Fn}if(Rn&16&&!(In&&(In.innerHTML||In.textContent))){let Fn=_n(En.firstChild,Tn,En,An,$n,Pn,Nn);for(;Fn;){hasMismatch=!0;const zn=Fn;Fn=Fn.nextSibling,Dt(zn)}}else Rn&8&&En.textContent!==Tn.children&&(hasMismatch=!0,En.textContent=Tn.children);if(In)if(Ln||!Nn||On&48)for(const Fn in In)(Ln&&(Fn.endsWith("value")||Fn==="indeterminate")||isOn(Fn)&&!isReservedProp(Fn)||Fn[0]===".")&&Fe(En,Fn,null,In[Fn],void 0,void 0,An);else In.onClick&&Fe(En,"onClick",null,In.onClick,void 0,void 0,An);let Hn;(Hn=In&&In.onVnodeBeforeMount)&&invokeVNodeHook(Hn,An,Tn),Bn&&invokeDirectiveHook(Tn,null,An,"beforeMount"),((Hn=In&&In.onVnodeMounted)||Bn||Dn)&&queueEffectWithSuspense(()=>{Hn&&invokeVNodeHook(Hn,An,Tn),Dn&&Vn.enter(En),Bn&&invokeDirectiveHook(Tn,null,An,"mounted")},$n)}return En.nextSibling},_n=(En,Tn,An,$n,Pn,Nn,Mn)=>{Mn=Mn||!!Tn.dynamicChildren;const In=Tn.children,On=In.length;for(let Rn=0;Rn{const{slotScopeIds:Mn}=Tn;Mn&&(Pn=Pn?Pn.concat(Mn):Mn);const In=At(En),On=_n(qe(En),Tn,In,An,$n,Pn,Nn);return On&&isComment$1(On)&&On.data==="]"?qe(Tn.anchor=On):(hasMismatch=!0,Lt(Tn.anchor=jt("]"),In,On),On)},kn=(En,Tn,An,$n,Pn,Nn)=>{if(hasMismatch=!0,Tn.el=null,Nn){const On=Cn(En);for(;;){const Rn=qe(En);if(Rn&&Rn!==On)Dt(Rn);else break}}const Mn=qe(En),In=At(En);return Dt(En),Ie(null,Tn,In,Mn,An,$n,getContainerType(In),Pn),Mn},Cn=(En,Tn="[",An="]")=>{let $n=0;for(;En;)if(En=qe(En),En&&isComment$1(En)&&(En.data===Tn&&$n++,En.data===An)){if($n===0)return qe(En);$n--}return En},Sn=(En,Tn,An)=>{const $n=Tn.parentNode;$n&&$n.replaceChild(En,Tn);let Pn=An;for(;Pn;)Pn.vnode.el===Tn&&(Pn.vnode.el=Pn.subTree.el=En),Pn=Pn.parent},xn=En=>En.nodeType===1&&En.tagName.toLowerCase()==="template";return[hn,vn]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(xe){return baseCreateRenderer(xe)}function createHydrationRenderer(xe){return baseCreateRenderer(xe,createHydrationFunctions)}function baseCreateRenderer(xe,$e){const Ie=getGlobalThis();Ie.__VUE__=!0;const{insert:Fe,remove:Ue,patchProp:qe,createElement:At,createText:Dt,createComment:Lt,setText:jt,setElementText:hn,parentNode:vn,nextSibling:bn,setScopeId:_n=NOOP,insertStaticContent:wn}=xe,kn=(Kn,Zn,nr,lr=null,ir=null,kr=null,Cr=void 0,Er=null,dr=!!Zn.dynamicChildren)=>{if(Kn===Zn)return;Kn&&!isSameVNodeType(Kn,Zn)&&(lr=Yn(Kn),Wn(Kn,ir,kr,!0),Kn=null),Zn.patchFlag===-2&&(dr=!1,Zn.dynamicChildren=null);const{type:br,ref:_r,shapeFlag:Pr}=Zn;switch(br){case Text$2:Cn(Kn,Zn,nr,lr);break;case Comment$1:Sn(Kn,Zn,nr,lr);break;case Static:Kn==null&&xn(Zn,nr,lr,Cr);break;case Fragment:Rn(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr);break;default:Pr&1?An(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr):Pr&6?Bn(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr):(Pr&64||Pr&128)&&br.process(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr,tr)}_r!=null&&ir&&setRef(_r,Kn&&Kn.ref,kr,Zn||Kn,!Zn)},Cn=(Kn,Zn,nr,lr)=>{if(Kn==null)Fe(Zn.el=Dt(Zn.children),nr,lr);else{const ir=Zn.el=Kn.el;Zn.children!==Kn.children&&jt(ir,Zn.children)}},Sn=(Kn,Zn,nr,lr)=>{Kn==null?Fe(Zn.el=Lt(Zn.children||""),nr,lr):Zn.el=Kn.el},xn=(Kn,Zn,nr,lr)=>{[Kn.el,Kn.anchor]=wn(Kn.children,Zn,nr,lr,Kn.el,Kn.anchor)},En=({el:Kn,anchor:Zn},nr,lr)=>{let ir;for(;Kn&&Kn!==Zn;)ir=bn(Kn),Fe(Kn,nr,lr),Kn=ir;Fe(Zn,nr,lr)},Tn=({el:Kn,anchor:Zn})=>{let nr;for(;Kn&&Kn!==Zn;)nr=bn(Kn),Ue(Kn),Kn=nr;Ue(Zn)},An=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Zn.type==="svg"?Cr="svg":Zn.type==="math"&&(Cr="mathml"),Kn==null?$n(Zn,nr,lr,ir,kr,Cr,Er,dr):Mn(Kn,Zn,ir,kr,Cr,Er,dr)},$n=(Kn,Zn,nr,lr,ir,kr,Cr,Er)=>{let dr,br;const{props:_r,shapeFlag:Pr,transition:gr,dirs:xr}=Kn;if(dr=Kn.el=At(Kn.type,kr,_r&&_r.is,_r),Pr&8?hn(dr,Kn.children):Pr&16&&Nn(Kn.children,dr,null,lr,ir,resolveChildrenNamespace(Kn,kr),Cr,Er),xr&&invokeDirectiveHook(Kn,null,lr,"created"),Pn(dr,Kn,Kn.scopeId,Cr,lr),_r){for(const Hr in _r)Hr!=="value"&&!isReservedProp(Hr)&&qe(dr,Hr,null,_r[Hr],kr,Kn.children,lr,ir,Jn);"value"in _r&&qe(dr,"value",null,_r.value,kr),(br=_r.onVnodeBeforeMount)&&invokeVNodeHook(br,lr,Kn)}xr&&invokeDirectiveHook(Kn,null,lr,"beforeMount");const Rr=needTransition(ir,gr);Rr&&gr.beforeEnter(dr),Fe(dr,Zn,nr),((br=_r&&_r.onVnodeMounted)||Rr||xr)&&queuePostRenderEffect(()=>{br&&invokeVNodeHook(br,lr,Kn),Rr&&gr.enter(dr),xr&&invokeDirectiveHook(Kn,null,lr,"mounted")},ir)},Pn=(Kn,Zn,nr,lr,ir)=>{if(nr&&_n(Kn,nr),lr)for(let kr=0;kr{for(let br=dr;br{const Er=Zn.el=Kn.el;let{patchFlag:dr,dynamicChildren:br,dirs:_r}=Zn;dr|=Kn.patchFlag&16;const Pr=Kn.props||EMPTY_OBJ$1,gr=Zn.props||EMPTY_OBJ$1;let xr;if(nr&&toggleRecurse(nr,!1),(xr=gr.onVnodeBeforeUpdate)&&invokeVNodeHook(xr,nr,Zn,Kn),_r&&invokeDirectiveHook(Zn,Kn,nr,"beforeUpdate"),nr&&toggleRecurse(nr,!0),br?In(Kn.dynamicChildren,br,Er,nr,lr,resolveChildrenNamespace(Zn,ir),kr):Cr||Fn(Kn,Zn,Er,null,nr,lr,resolveChildrenNamespace(Zn,ir),kr,!1),dr>0){if(dr&16)On(Er,Zn,Pr,gr,nr,lr,ir);else if(dr&2&&Pr.class!==gr.class&&qe(Er,"class",null,gr.class,ir),dr&4&&qe(Er,"style",Pr.style,gr.style,ir),dr&8){const Rr=Zn.dynamicProps;for(let Hr=0;Hr{xr&&invokeVNodeHook(xr,nr,Zn,Kn),_r&&invokeDirectiveHook(Zn,Kn,nr,"updated")},lr)},In=(Kn,Zn,nr,lr,ir,kr,Cr)=>{for(let Er=0;Er{if(nr!==lr){if(nr!==EMPTY_OBJ$1)for(const Er in nr)!isReservedProp(Er)&&!(Er in lr)&&qe(Kn,Er,nr[Er],null,Cr,Zn.children,ir,kr,Jn);for(const Er in lr){if(isReservedProp(Er))continue;const dr=lr[Er],br=nr[Er];dr!==br&&Er!=="value"&&qe(Kn,Er,br,dr,Cr,Zn.children,ir,kr,Jn)}"value"in lr&&qe(Kn,"value",nr.value,lr.value,Cr)}},Rn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{const br=Zn.el=Kn?Kn.el:Dt(""),_r=Zn.anchor=Kn?Kn.anchor:Dt("");let{patchFlag:Pr,dynamicChildren:gr,slotScopeIds:xr}=Zn;xr&&(Er=Er?Er.concat(xr):xr),Kn==null?(Fe(br,nr,lr),Fe(_r,nr,lr),Nn(Zn.children||[],nr,_r,ir,kr,Cr,Er,dr)):Pr>0&&Pr&64&&gr&&Kn.dynamicChildren?(In(Kn.dynamicChildren,gr,nr,ir,kr,Cr,Er),(Zn.key!=null||ir&&Zn===ir.subTree)&&traverseStaticChildren(Kn,Zn,!0)):Fn(Kn,Zn,nr,_r,ir,kr,Cr,Er,dr)},Bn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Zn.slotScopeIds=Er,Kn==null?Zn.shapeFlag&512?ir.ctx.activate(Zn,nr,lr,Cr,dr):Vn(Zn,nr,lr,ir,kr,Cr,dr):Ln(Kn,Zn,dr)},Vn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=Kn.component=createComponentInstance(Kn,lr,ir);if(isKeepAlive(Kn)&&(Er.ctx.renderer=tr),setupComponent(Er),Er.asyncDep){if(ir&&ir.registerDep(Er,Dn),!Kn.el){const dr=Er.subTree=createVNode$1(Comment$1);Sn(null,dr,Zn,nr)}}else Dn(Er,Kn,Zn,nr,ir,kr,Cr)},Ln=(Kn,Zn,nr)=>{const lr=Zn.component=Kn.component;if(shouldUpdateComponent(Kn,Zn,nr))if(lr.asyncDep&&!lr.asyncResolved){Hn(lr,Zn,nr);return}else lr.next=Zn,invalidateJob(lr.update),lr.effect.dirty=!0,lr.update();else Zn.el=Kn.el,lr.vnode=Zn},Dn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=()=>{if(Kn.isMounted){let{next:_r,bu:Pr,u:gr,parent:xr,vnode:Rr}=Kn;{const Br=locateNonHydratedAsyncRoot(Kn);if(Br){_r&&(_r.el=Rr.el,Hn(Kn,_r,Cr)),Br.asyncDep.then(()=>{Kn.isUnmounted||Er()});return}}let Hr=_r,Jr;toggleRecurse(Kn,!1),_r?(_r.el=Rr.el,Hn(Kn,_r,Cr)):_r=Rr,Pr&&invokeArrayFns(Pr),(Jr=_r.props&&_r.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Jr,xr,_r,Rr),toggleRecurse(Kn,!0);const Gr=renderComponentRoot(Kn),$r=Kn.subTree;Kn.subTree=Gr,kn($r,Gr,vn($r.el),Yn($r),Kn,ir,kr),_r.el=Gr.el,Hr===null&&updateHOCHostEl(Kn,Gr.el),gr&&queuePostRenderEffect(gr,ir),(Jr=_r.props&&_r.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Jr,xr,_r,Rr),ir)}else{let _r;const{el:Pr,props:gr}=Zn,{bm:xr,m:Rr,parent:Hr}=Kn,Jr=isAsyncWrapper(Zn);if(toggleRecurse(Kn,!1),xr&&invokeArrayFns(xr),!Jr&&(_r=gr&&gr.onVnodeBeforeMount)&&invokeVNodeHook(_r,Hr,Zn),toggleRecurse(Kn,!0),Pr&&sr){const Gr=()=>{Kn.subTree=renderComponentRoot(Kn),sr(Pr,Kn.subTree,Kn,ir,null)};Jr?Zn.type.__asyncLoader().then(()=>!Kn.isUnmounted&&Gr()):Gr()}else{const Gr=Kn.subTree=renderComponentRoot(Kn);kn(null,Gr,nr,lr,Kn,ir,kr),Zn.el=Gr.el}if(Rr&&queuePostRenderEffect(Rr,ir),!Jr&&(_r=gr&&gr.onVnodeMounted)){const Gr=Zn;queuePostRenderEffect(()=>invokeVNodeHook(_r,Hr,Gr),ir)}(Zn.shapeFlag&256||Hr&&isAsyncWrapper(Hr.vnode)&&Hr.vnode.shapeFlag&256)&&Kn.a&&queuePostRenderEffect(Kn.a,ir),Kn.isMounted=!0,Zn=nr=lr=null}},dr=Kn.effect=new ReactiveEffect(Er,NOOP,()=>queueJob(br),Kn.scope),br=Kn.update=()=>{dr.dirty&&dr.run()};br.id=Kn.uid,toggleRecurse(Kn,!0),br()},Hn=(Kn,Zn,nr)=>{Zn.component=Kn;const lr=Kn.vnode.props;Kn.vnode=Zn,Kn.next=null,updateProps$2(Kn,Zn.props,lr,nr),updateSlots(Kn,Zn.children,nr),pauseTracking(),flushPreFlushCbs(Kn),resetTracking()},Fn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr=!1)=>{const br=Kn&&Kn.children,_r=Kn?Kn.shapeFlag:0,Pr=Zn.children,{patchFlag:gr,shapeFlag:xr}=Zn;if(gr>0){if(gr&128){jn(br,Pr,nr,lr,ir,kr,Cr,Er,dr);return}else if(gr&256){zn(br,Pr,nr,lr,ir,kr,Cr,Er,dr);return}}xr&8?(_r&16&&Jn(br,ir,kr),Pr!==br&&hn(nr,Pr)):_r&16?xr&16?jn(br,Pr,nr,lr,ir,kr,Cr,Er,dr):Jn(br,ir,kr,!0):(_r&8&&hn(nr,""),xr&16&&Nn(Pr,nr,lr,ir,kr,Cr,Er,dr))},zn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Kn=Kn||EMPTY_ARR,Zn=Zn||EMPTY_ARR;const br=Kn.length,_r=Zn.length,Pr=Math.min(br,_r);let gr;for(gr=0;gr_r?Jn(Kn,ir,kr,!0,!1,Pr):Nn(Zn,nr,lr,ir,kr,Cr,Er,dr,Pr)},jn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{let br=0;const _r=Zn.length;let Pr=Kn.length-1,gr=_r-1;for(;br<=Pr&&br<=gr;){const xr=Kn[br],Rr=Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]);if(isSameVNodeType(xr,Rr))kn(xr,Rr,nr,null,ir,kr,Cr,Er,dr);else break;br++}for(;br<=Pr&&br<=gr;){const xr=Kn[Pr],Rr=Zn[gr]=dr?cloneIfMounted(Zn[gr]):normalizeVNode(Zn[gr]);if(isSameVNodeType(xr,Rr))kn(xr,Rr,nr,null,ir,kr,Cr,Er,dr);else break;Pr--,gr--}if(br>Pr){if(br<=gr){const xr=gr+1,Rr=xr<_r?Zn[xr].el:lr;for(;br<=gr;)kn(null,Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]),nr,Rr,ir,kr,Cr,Er,dr),br++}}else if(br>gr)for(;br<=Pr;)Wn(Kn[br],ir,kr,!0),br++;else{const xr=br,Rr=br,Hr=new Map;for(br=Rr;br<=gr;br++){const Dr=Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]);Dr.key!=null&&Hr.set(Dr.key,br)}let Jr,Gr=0;const $r=gr-Rr+1;let Br=!1,Tr=0;const cr=new Array($r);for(br=0;br<$r;br++)cr[br]=0;for(br=xr;br<=Pr;br++){const Dr=Kn[br];if(Gr>=$r){Wn(Dr,ir,kr,!0);continue}let mr;if(Dr.key!=null)mr=Hr.get(Dr.key);else for(Jr=Rr;Jr<=gr;Jr++)if(cr[Jr-Rr]===0&&isSameVNodeType(Dr,Zn[Jr])){mr=Jr;break}mr===void 0?Wn(Dr,ir,kr,!0):(cr[mr-Rr]=br+1,mr>=Tr?Tr=mr:Br=!0,kn(Dr,Zn[mr],nr,null,ir,kr,Cr,Er,dr),Gr++)}const Sr=Br?getSequence(cr):EMPTY_ARR;for(Jr=Sr.length-1,br=$r-1;br>=0;br--){const Dr=Rr+br,mr=Zn[Dr],Lr=Dr+1<_r?Zn[Dr+1].el:lr;cr[br]===0?kn(null,mr,nr,Lr,ir,kr,Cr,Er,dr):Br&&(Jr<0||br!==Sr[Jr]?Gn(mr,nr,Lr,2):Jr--)}}},Gn=(Kn,Zn,nr,lr,ir=null)=>{const{el:kr,type:Cr,transition:Er,children:dr,shapeFlag:br}=Kn;if(br&6){Gn(Kn.component.subTree,Zn,nr,lr);return}if(br&128){Kn.suspense.move(Zn,nr,lr);return}if(br&64){Cr.move(Kn,Zn,nr,tr);return}if(Cr===Fragment){Fe(kr,Zn,nr);for(let Pr=0;PrEr.enter(kr),ir);else{const{leave:Pr,delayLeave:gr,afterLeave:xr}=Er,Rr=()=>Fe(kr,Zn,nr),Hr=()=>{Pr(kr,()=>{Rr(),xr&&xr()})};gr?gr(kr,Rr,Hr):Hr()}else Fe(kr,Zn,nr)},Wn=(Kn,Zn,nr,lr=!1,ir=!1)=>{const{type:kr,props:Cr,ref:Er,children:dr,dynamicChildren:br,shapeFlag:_r,patchFlag:Pr,dirs:gr}=Kn;if(Er!=null&&setRef(Er,null,nr,Kn,!0),_r&256){Zn.ctx.deactivate(Kn);return}const xr=_r&1&&gr,Rr=!isAsyncWrapper(Kn);let Hr;if(Rr&&(Hr=Cr&&Cr.onVnodeBeforeUnmount)&&invokeVNodeHook(Hr,Zn,Kn),_r&6)rr(Kn.component,nr,lr);else{if(_r&128){Kn.suspense.unmount(nr,lr);return}xr&&invokeDirectiveHook(Kn,null,Zn,"beforeUnmount"),_r&64?Kn.type.remove(Kn,Zn,nr,ir,tr,lr):br&&(kr!==Fragment||Pr>0&&Pr&64)?Jn(br,Zn,nr,!1,!0):(kr===Fragment&&Pr&384||!ir&&_r&16)&&Jn(dr,Zn,nr),lr&&Xn(Kn)}(Rr&&(Hr=Cr&&Cr.onVnodeUnmounted)||xr)&&queuePostRenderEffect(()=>{Hr&&invokeVNodeHook(Hr,Zn,Kn),xr&&invokeDirectiveHook(Kn,null,Zn,"unmounted")},nr)},Xn=Kn=>{const{type:Zn,el:nr,anchor:lr,transition:ir}=Kn;if(Zn===Fragment){er(nr,lr);return}if(Zn===Static){Tn(Kn);return}const kr=()=>{Ue(nr),ir&&!ir.persisted&&ir.afterLeave&&ir.afterLeave()};if(Kn.shapeFlag&1&&ir&&!ir.persisted){const{leave:Cr,delayLeave:Er}=ir,dr=()=>Cr(nr,kr);Er?Er(Kn.el,kr,dr):dr()}else kr()},er=(Kn,Zn)=>{let nr;for(;Kn!==Zn;)nr=bn(Kn),Ue(Kn),Kn=nr;Ue(Zn)},rr=(Kn,Zn,nr)=>{const{bum:lr,scope:ir,update:kr,subTree:Cr,um:Er}=Kn;lr&&invokeArrayFns(lr),ir.stop(),kr&&(kr.active=!1,Wn(Cr,Kn,Zn,nr)),Er&&queuePostRenderEffect(Er,Zn),queuePostRenderEffect(()=>{Kn.isUnmounted=!0},Zn),Zn&&Zn.pendingBranch&&!Zn.isUnmounted&&Kn.asyncDep&&!Kn.asyncResolved&&Kn.suspenseId===Zn.pendingId&&(Zn.deps--,Zn.deps===0&&Zn.resolve())},Jn=(Kn,Zn,nr,lr=!1,ir=!1,kr=0)=>{for(let Cr=kr;CrKn.shapeFlag&6?Yn(Kn.component.subTree):Kn.shapeFlag&128?Kn.suspense.next():bn(Kn.anchor||Kn.el);let qn=!1;const ar=(Kn,Zn,nr)=>{Kn==null?Zn._vnode&&Wn(Zn._vnode,null,null,!0):kn(Zn._vnode||null,Kn,Zn,null,null,null,nr),qn||(qn=!0,flushPreFlushCbs(),flushPostFlushCbs(),qn=!1),Zn._vnode=Kn},tr={p:kn,um:Wn,m:Gn,r:Xn,mt:Vn,mc:Nn,pc:Fn,pbc:In,n:Yn,o:xe};let or,sr;return $e&&([or,sr]=$e(tr)),{render:ar,hydrate:or,createApp:createAppAPI(ar,or)}}function resolveChildrenNamespace({type:xe,props:$e},Ie){return Ie==="svg"&&xe==="foreignObject"||Ie==="mathml"&&xe==="annotation-xml"&&$e&&$e.encoding&&$e.encoding.includes("html")?void 0:Ie}function toggleRecurse({effect:xe,update:$e},Ie){xe.allowRecurse=$e.allowRecurse=Ie}function needTransition(xe,$e){return(!xe||xe&&!xe.pendingBranch)&&$e&&!$e.persisted}function traverseStaticChildren(xe,$e,Ie=!1){const Fe=xe.children,Ue=$e.children;if(isArray$6(Fe)&&isArray$6(Ue))for(let qe=0;qe>1,xe[Ie[Dt]]0&&($e[Fe]=Ie[qe-1]),Ie[qe]=Fe)}}for(qe=Ie.length,At=Ie[qe-1];qe-- >0;)Ie[qe]=At,At=$e[At];return Ie}function locateNonHydratedAsyncRoot(xe){const $e=xe.subTree.component;if($e)return $e.asyncDep&&!$e.asyncResolved?$e:locateNonHydratedAsyncRoot($e)}const isTeleport=xe=>xe.__isTeleport,isTeleportDisabled=xe=>xe&&(xe.disabled||xe.disabled===""),isTargetSVG=xe=>typeof SVGElement<"u"&&xe instanceof SVGElement,isTargetMathML=xe=>typeof MathMLElement=="function"&&xe instanceof MathMLElement,resolveTarget=(xe,$e)=>{const Ie=xe&&xe.to;return isString$4(Ie)?$e?$e(Ie):null:Ie},TeleportImpl={name:"Teleport",__isTeleport:!0,process(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){const{mc:hn,pc:vn,pbc:bn,o:{insert:_n,querySelector:wn,createText:kn,createComment:Cn}}=jt,Sn=isTeleportDisabled($e.props);let{shapeFlag:xn,children:En,dynamicChildren:Tn}=$e;if(xe==null){const An=$e.el=kn(""),$n=$e.anchor=kn("");_n(An,Ie,Fe),_n($n,Ie,Fe);const Pn=$e.target=resolveTarget($e.props,wn),Nn=$e.targetAnchor=kn("");Pn&&(_n(Nn,Pn),At==="svg"||isTargetSVG(Pn)?At="svg":(At==="mathml"||isTargetMathML(Pn))&&(At="mathml"));const Mn=(In,On)=>{xn&16&&hn(En,In,On,Ue,qe,At,Dt,Lt)};Sn?Mn(Ie,$n):Pn&&Mn(Pn,Nn)}else{$e.el=xe.el;const An=$e.anchor=xe.anchor,$n=$e.target=xe.target,Pn=$e.targetAnchor=xe.targetAnchor,Nn=isTeleportDisabled(xe.props),Mn=Nn?Ie:$n,In=Nn?An:Pn;if(At==="svg"||isTargetSVG($n)?At="svg":(At==="mathml"||isTargetMathML($n))&&(At="mathml"),Tn?(bn(xe.dynamicChildren,Tn,Mn,Ue,qe,At,Dt),traverseStaticChildren(xe,$e,!0)):Lt||vn(xe,$e,Mn,In,Ue,qe,At,Dt,!1),Sn)Nn?$e.props&&xe.props&&$e.props.to!==xe.props.to&&($e.props.to=xe.props.to):moveTeleport($e,Ie,An,jt,1);else if(($e.props&&$e.props.to)!==(xe.props&&xe.props.to)){const On=$e.target=resolveTarget($e.props,wn);On&&moveTeleport($e,On,null,jt,0)}else Nn&&moveTeleport($e,$n,Pn,jt,1)}updateCssVars($e)},remove(xe,$e,Ie,Fe,{um:Ue,o:{remove:qe}},At){const{shapeFlag:Dt,children:Lt,anchor:jt,targetAnchor:hn,target:vn,props:bn}=xe;if(vn&&qe(hn),At&&qe(jt),Dt&16){const _n=At||!isTeleportDisabled(bn);for(let wn=0;wn0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(xe),xe}function createElementBlock(xe,$e,Ie,Fe,Ue,qe){return setupBlock(createBaseVNode(xe,$e,Ie,Fe,Ue,qe,!0))}function createBlock(xe,$e,Ie,Fe,Ue){return setupBlock(createVNode$1(xe,$e,Ie,Fe,Ue,!0))}function isVNode(xe){return xe?xe.__v_isVNode===!0:!1}function isSameVNodeType(xe,$e){return xe.type===$e.type&&xe.key===$e.key}function transformVNodeArgs(xe){}const normalizeKey=({key:xe})=>xe??null,normalizeRef=({ref:xe,ref_key:$e,ref_for:Ie})=>(typeof xe=="number"&&(xe=""+xe),xe!=null?isString$4(xe)||isRef(xe)||isFunction$5(xe)?{i:currentRenderingInstance,r:xe,k:$e,f:!!Ie}:xe:null);function createBaseVNode(xe,$e=null,Ie=null,Fe=0,Ue=null,qe=xe===Fragment?0:1,At=!1,Dt=!1){const Lt={__v_isVNode:!0,__v_skip:!0,type:xe,props:$e,key:$e&&normalizeKey($e),ref:$e&&normalizeRef($e),scopeId:currentScopeId,slotScopeIds:null,children:Ie,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:qe,patchFlag:Fe,dynamicProps:Ue,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return Dt?(normalizeChildren(Lt,Ie),qe&128&&xe.normalize(Lt)):Ie&&(Lt.shapeFlag|=isString$4(Ie)?8:16),isBlockTreeEnabled>0&&!At&¤tBlock&&(Lt.patchFlag>0||qe&6)&&Lt.patchFlag!==32&¤tBlock.push(Lt),Lt}const createVNode$1=_createVNode;function _createVNode(xe,$e=null,Ie=null,Fe=0,Ue=null,qe=!1){if((!xe||xe===NULL_DYNAMIC_COMPONENT)&&(xe=Comment$1),isVNode(xe)){const Dt=cloneVNode(xe,$e,!0);return Ie&&normalizeChildren(Dt,Ie),isBlockTreeEnabled>0&&!qe&¤tBlock&&(Dt.shapeFlag&6?currentBlock[currentBlock.indexOf(xe)]=Dt:currentBlock.push(Dt)),Dt.patchFlag|=-2,Dt}if(isClassComponent(xe)&&(xe=xe.__vccOpts),$e){$e=guardReactiveProps($e);let{class:Dt,style:Lt}=$e;Dt&&!isString$4(Dt)&&($e.class=normalizeClass(Dt)),isObject$8(Lt)&&(isProxy(Lt)&&!isArray$6(Lt)&&(Lt=extend$2({},Lt)),$e.style=normalizeStyle$1(Lt))}const At=isString$4(xe)?1:isSuspense(xe)?128:isTeleport(xe)?64:isObject$8(xe)?4:isFunction$5(xe)?2:0;return createBaseVNode(xe,$e,Ie,Fe,Ue,At,qe,!0)}function guardReactiveProps(xe){return xe?isProxy(xe)||isInternalObject(xe)?extend$2({},xe):xe:null}function cloneVNode(xe,$e,Ie=!1,Fe=!1){const{props:Ue,ref:qe,patchFlag:At,children:Dt,transition:Lt}=xe,jt=$e?mergeProps(Ue||{},$e):Ue,hn={__v_isVNode:!0,__v_skip:!0,type:xe.type,props:jt,key:jt&&normalizeKey(jt),ref:$e&&$e.ref?Ie&&qe?isArray$6(qe)?qe.concat(normalizeRef($e)):[qe,normalizeRef($e)]:normalizeRef($e):qe,scopeId:xe.scopeId,slotScopeIds:xe.slotScopeIds,children:Dt,target:xe.target,targetAnchor:xe.targetAnchor,staticCount:xe.staticCount,shapeFlag:xe.shapeFlag,patchFlag:$e&&xe.type!==Fragment?At===-1?16:At|16:At,dynamicProps:xe.dynamicProps,dynamicChildren:xe.dynamicChildren,appContext:xe.appContext,dirs:xe.dirs,transition:Lt,component:xe.component,suspense:xe.suspense,ssContent:xe.ssContent&&cloneVNode(xe.ssContent),ssFallback:xe.ssFallback&&cloneVNode(xe.ssFallback),el:xe.el,anchor:xe.anchor,ctx:xe.ctx,ce:xe.ce};return Lt&&Fe&&(hn.transition=Lt.clone(hn)),hn}function createTextVNode(xe=" ",$e=0){return createVNode$1(Text$2,null,xe,$e)}function createStaticVNode(xe,$e){const Ie=createVNode$1(Static,null,xe);return Ie.staticCount=$e,Ie}function createCommentVNode(xe="",$e=!1){return $e?(openBlock(),createBlock(Comment$1,null,xe)):createVNode$1(Comment$1,null,xe)}function normalizeVNode(xe){return xe==null||typeof xe=="boolean"?createVNode$1(Comment$1):isArray$6(xe)?createVNode$1(Fragment,null,xe.slice()):typeof xe=="object"?cloneIfMounted(xe):createVNode$1(Text$2,null,String(xe))}function cloneIfMounted(xe){return xe.el===null&&xe.patchFlag!==-1||xe.memo?xe:cloneVNode(xe)}function normalizeChildren(xe,$e){let Ie=0;const{shapeFlag:Fe}=xe;if($e==null)$e=null;else if(isArray$6($e))Ie=16;else if(typeof $e=="object")if(Fe&65){const Ue=$e.default;Ue&&(Ue._c&&(Ue._d=!1),normalizeChildren(xe,Ue()),Ue._c&&(Ue._d=!0));return}else{Ie=32;const Ue=$e._;!Ue&&!isInternalObject($e)?$e._ctx=currentRenderingInstance:Ue===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?$e._=1:($e._=2,xe.patchFlag|=1024))}else isFunction$5($e)?($e={default:$e,_ctx:currentRenderingInstance},Ie=32):($e=String($e),Fe&64?(Ie=16,$e=[createTextVNode($e)]):Ie=8);xe.children=$e,xe.shapeFlag|=Ie}function mergeProps(...xe){const $e={};for(let Ie=0;IecurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const xe=getGlobalThis(),$e=(Ie,Fe)=>{let Ue;return(Ue=xe[Ie])||(Ue=xe[Ie]=[]),Ue.push(Fe),qe=>{Ue.length>1?Ue.forEach(At=>At(qe)):Ue[0](qe)}};internalSetCurrentInstance=$e("__VUE_INSTANCE_SETTERS__",Ie=>currentInstance=Ie),setInSSRSetupState=$e("__VUE_SSR_SETTERS__",Ie=>isInSSRComponentSetup=Ie)}const setCurrentInstance=xe=>{const $e=currentInstance;return internalSetCurrentInstance(xe),xe.scope.on(),()=>{xe.scope.off(),internalSetCurrentInstance($e)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(xe){return xe.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(xe,$e=!1){$e&&setInSSRSetupState($e);const{props:Ie,children:Fe}=xe.vnode,Ue=isStatefulComponent(xe);initProps$1(xe,Ie,Ue,$e),initSlots(xe,Fe);const qe=Ue?setupStatefulComponent(xe,$e):void 0;return $e&&setInSSRSetupState(!1),qe}function setupStatefulComponent(xe,$e){const Ie=xe.type;xe.accessCache=Object.create(null),xe.proxy=new Proxy(xe.ctx,PublicInstanceProxyHandlers);const{setup:Fe}=Ie;if(Fe){const Ue=xe.setupContext=Fe.length>1?createSetupContext(xe):null,qe=setCurrentInstance(xe);pauseTracking();const At=callWithErrorHandling(Fe,xe,0,[xe.props,Ue]);if(resetTracking(),qe(),isPromise(At)){if(At.then(unsetCurrentInstance,unsetCurrentInstance),$e)return At.then(Dt=>{handleSetupResult(xe,Dt,$e)}).catch(Dt=>{handleError(Dt,xe,0)});xe.asyncDep=At}else handleSetupResult(xe,At,$e)}else finishComponentSetup(xe,$e)}function handleSetupResult(xe,$e,Ie){isFunction$5($e)?xe.type.__ssrInlineRender?xe.ssrRender=$e:xe.render=$e:isObject$8($e)&&(xe.setupState=proxyRefs($e)),finishComponentSetup(xe,Ie)}let compile,installWithProxy;function registerRuntimeCompiler(xe){compile=xe,installWithProxy=$e=>{$e.render._rc&&($e.withProxy=new Proxy($e.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile;function finishComponentSetup(xe,$e,Ie){const Fe=xe.type;if(!xe.render){if(!$e&&compile&&!Fe.render){const Ue=Fe.template||resolveMergedOptions(xe).template;if(Ue){const{isCustomElement:qe,compilerOptions:At}=xe.appContext.config,{delimiters:Dt,compilerOptions:Lt}=Fe,jt=extend$2(extend$2({isCustomElement:qe,delimiters:Dt},At),Lt);Fe.render=compile(Ue,jt)}}xe.render=Fe.render||NOOP,installWithProxy&&installWithProxy(xe)}{const Ue=setCurrentInstance(xe);pauseTracking();try{applyOptions(xe)}finally{resetTracking(),Ue()}}}const attrsProxyHandlers={get(xe,$e){return track(xe,"get",""),xe[$e]}};function createSetupContext(xe){const $e=Ie=>{xe.exposed=Ie||{}};return{attrs:new Proxy(xe.attrs,attrsProxyHandlers),slots:xe.slots,emit:xe.emit,expose:$e}}function getExposeProxy(xe){if(xe.exposed)return xe.exposeProxy||(xe.exposeProxy=new Proxy(proxyRefs(markRaw(xe.exposed)),{get($e,Ie){if(Ie in $e)return $e[Ie];if(Ie in publicPropertiesMap)return publicPropertiesMap[Ie](xe)},has($e,Ie){return Ie in $e||Ie in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=xe=>xe.replace(classifyRE,$e=>$e.toUpperCase()).replace(/[-_]/g,"");function getComponentName(xe,$e=!0){return isFunction$5(xe)?xe.displayName||xe.name:xe.name||$e&&xe.__name}function formatComponentName(xe,$e,Ie=!1){let Fe=getComponentName($e);if(!Fe&&$e.__file){const Ue=$e.__file.match(/([^/\\]+)\.\w+$/);Ue&&(Fe=Ue[1])}if(!Fe&&xe&&xe.parent){const Ue=qe=>{for(const At in qe)if(qe[At]===$e)return At};Fe=Ue(xe.components||xe.parent.type.components)||Ue(xe.appContext.components)}return Fe?classify(Fe):Ie?"App":"Anonymous"}function isClassComponent(xe){return isFunction$5(xe)&&"__vccOpts"in xe}const computed=(xe,$e)=>computed$1(xe,$e,isInSSRComponentSetup);function useModel(xe,$e,Ie=EMPTY_OBJ$1){const Fe=getCurrentInstance(),Ue=camelize($e),qe=hyphenate($e),At=customRef((Lt,jt)=>{let hn;return watchSyncEffect(()=>{const vn=xe[$e];hasChanged(hn,vn)&&(hn=vn,jt())}),{get(){return Lt(),Ie.get?Ie.get(hn):hn},set(vn){const bn=Fe.vnode.props;!(bn&&($e in bn||Ue in bn||qe in bn)&&(`onUpdate:${$e}`in bn||`onUpdate:${Ue}`in bn||`onUpdate:${qe}`in bn))&&hasChanged(vn,hn)&&(hn=vn,jt()),Fe.emit(`update:${$e}`,Ie.set?Ie.set(vn):vn)}}}),Dt=$e==="modelValue"?"modelModifiers":`${$e}Modifiers`;return At[Symbol.iterator]=()=>{let Lt=0;return{next(){return Lt<2?{value:Lt++?xe[Dt]||{}:At,done:!1}:{done:!0}}}},At}function h$5(xe,$e,Ie){const Fe=arguments.length;return Fe===2?isObject$8($e)&&!isArray$6($e)?isVNode($e)?createVNode$1(xe,null,[$e]):createVNode$1(xe,$e):createVNode$1(xe,null,$e):(Fe>3?Ie=Array.prototype.slice.call(arguments,2):Fe===3&&isVNode(Ie)&&(Ie=[Ie]),createVNode$1(xe,$e,Ie))}function initCustomFormatter(){}function withMemo(xe,$e,Ie,Fe){const Ue=Ie[Fe];if(Ue&&isMemoSame(Ue,xe))return Ue;const qe=$e();return qe.memo=xe.slice(),Ie[Fe]=qe}function isMemoSame(xe,$e){const Ie=xe.memo;if(Ie.length!=$e.length)return!1;for(let Fe=0;Fe0&¤tBlock&¤tBlock.push(xe),!0}const version$1="3.4.27",warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/** +* @vue/runtime-dom v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(xe,$e,Ie)=>{$e.insertBefore(xe,Ie||null)},remove:xe=>{const $e=xe.parentNode;$e&&$e.removeChild(xe)},createElement:(xe,$e,Ie,Fe)=>{const Ue=$e==="svg"?doc.createElementNS(svgNS,xe):$e==="mathml"?doc.createElementNS(mathmlNS,xe):doc.createElement(xe,Ie?{is:Ie}:void 0);return xe==="select"&&Fe&&Fe.multiple!=null&&Ue.setAttribute("multiple",Fe.multiple),Ue},createText:xe=>doc.createTextNode(xe),createComment:xe=>doc.createComment(xe),setText:(xe,$e)=>{xe.nodeValue=$e},setElementText:(xe,$e)=>{xe.textContent=$e},parentNode:xe=>xe.parentNode,nextSibling:xe=>xe.nextSibling,querySelector:xe=>doc.querySelector(xe),setScopeId(xe,$e){xe.setAttribute($e,"")},insertStaticContent(xe,$e,Ie,Fe,Ue,qe){const At=Ie?Ie.previousSibling:$e.lastChild;if(Ue&&(Ue===qe||Ue.nextSibling))for(;$e.insertBefore(Ue.cloneNode(!0),Ie),!(Ue===qe||!(Ue=Ue.nextSibling)););else{templateContainer.innerHTML=Fe==="svg"?`${xe}`:Fe==="mathml"?`${xe}`:xe;const Dt=templateContainer.content;if(Fe==="svg"||Fe==="mathml"){const Lt=Dt.firstChild;for(;Lt.firstChild;)Dt.appendChild(Lt.firstChild);Dt.removeChild(Lt)}$e.insertBefore(Dt,Ie)}return[At?At.nextSibling:$e.firstChild,Ie?Ie.previousSibling:$e.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(xe,{slots:$e})=>h$5(BaseTransition,resolveTransitionProps(xe),$e);Transition.displayName="Transition";const DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition.props=extend$2({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(xe,$e=[])=>{isArray$6(xe)?xe.forEach(Ie=>Ie(...$e)):xe&&xe(...$e)},hasExplicitCallback=xe=>xe?isArray$6(xe)?xe.some($e=>$e.length>1):xe.length>1:!1;function resolveTransitionProps(xe){const $e={};for(const Rn in xe)Rn in DOMTransitionPropsValidators||($e[Rn]=xe[Rn]);if(xe.css===!1)return $e;const{name:Ie="v",type:Fe,duration:Ue,enterFromClass:qe=`${Ie}-enter-from`,enterActiveClass:At=`${Ie}-enter-active`,enterToClass:Dt=`${Ie}-enter-to`,appearFromClass:Lt=qe,appearActiveClass:jt=At,appearToClass:hn=Dt,leaveFromClass:vn=`${Ie}-leave-from`,leaveActiveClass:bn=`${Ie}-leave-active`,leaveToClass:_n=`${Ie}-leave-to`}=xe,wn=normalizeDuration(Ue),kn=wn&&wn[0],Cn=wn&&wn[1],{onBeforeEnter:Sn,onEnter:xn,onEnterCancelled:En,onLeave:Tn,onLeaveCancelled:An,onBeforeAppear:$n=Sn,onAppear:Pn=xn,onAppearCancelled:Nn=En}=$e,Mn=(Rn,Bn,Vn)=>{removeTransitionClass(Rn,Bn?hn:Dt),removeTransitionClass(Rn,Bn?jt:At),Vn&&Vn()},In=(Rn,Bn)=>{Rn._isLeaving=!1,removeTransitionClass(Rn,vn),removeTransitionClass(Rn,_n),removeTransitionClass(Rn,bn),Bn&&Bn()},On=Rn=>(Bn,Vn)=>{const Ln=Rn?Pn:xn,Dn=()=>Mn(Bn,Rn,Vn);callHook(Ln,[Bn,Dn]),nextFrame(()=>{removeTransitionClass(Bn,Rn?Lt:qe),addTransitionClass(Bn,Rn?hn:Dt),hasExplicitCallback(Ln)||whenTransitionEnds(Bn,Fe,kn,Dn)})};return extend$2($e,{onBeforeEnter(Rn){callHook(Sn,[Rn]),addTransitionClass(Rn,qe),addTransitionClass(Rn,At)},onBeforeAppear(Rn){callHook($n,[Rn]),addTransitionClass(Rn,Lt),addTransitionClass(Rn,jt)},onEnter:On(!1),onAppear:On(!0),onLeave(Rn,Bn){Rn._isLeaving=!0;const Vn=()=>In(Rn,Bn);addTransitionClass(Rn,vn),addTransitionClass(Rn,bn),forceReflow(),nextFrame(()=>{Rn._isLeaving&&(removeTransitionClass(Rn,vn),addTransitionClass(Rn,_n),hasExplicitCallback(Tn)||whenTransitionEnds(Rn,Fe,Cn,Vn))}),callHook(Tn,[Rn,Vn])},onEnterCancelled(Rn){Mn(Rn,!1),callHook(En,[Rn])},onAppearCancelled(Rn){Mn(Rn,!0),callHook(Nn,[Rn])},onLeaveCancelled(Rn){In(Rn),callHook(An,[Rn])}})}function normalizeDuration(xe){if(xe==null)return null;if(isObject$8(xe))return[NumberOf(xe.enter),NumberOf(xe.leave)];{const $e=NumberOf(xe);return[$e,$e]}}function NumberOf(xe){return toNumber$1(xe)}function addTransitionClass(xe,$e){$e.split(/\s+/).forEach(Ie=>Ie&&xe.classList.add(Ie)),(xe[vtcKey]||(xe[vtcKey]=new Set)).add($e)}function removeTransitionClass(xe,$e){$e.split(/\s+/).forEach(Fe=>Fe&&xe.classList.remove(Fe));const Ie=xe[vtcKey];Ie&&(Ie.delete($e),Ie.size||(xe[vtcKey]=void 0))}function nextFrame(xe){requestAnimationFrame(()=>{requestAnimationFrame(xe)})}let endId=0;function whenTransitionEnds(xe,$e,Ie,Fe){const Ue=xe._endId=++endId,qe=()=>{Ue===xe._endId&&Fe()};if(Ie)return setTimeout(qe,Ie);const{type:At,timeout:Dt,propCount:Lt}=getTransitionInfo(xe,$e);if(!At)return Fe();const jt=At+"end";let hn=0;const vn=()=>{xe.removeEventListener(jt,bn),qe()},bn=_n=>{_n.target===xe&&++hn>=Lt&&vn()};setTimeout(()=>{hn(Ie[wn]||"").split(", "),Ue=Fe(`${TRANSITION}Delay`),qe=Fe(`${TRANSITION}Duration`),At=getTimeout(Ue,qe),Dt=Fe(`${ANIMATION}Delay`),Lt=Fe(`${ANIMATION}Duration`),jt=getTimeout(Dt,Lt);let hn=null,vn=0,bn=0;$e===TRANSITION?At>0&&(hn=TRANSITION,vn=At,bn=qe.length):$e===ANIMATION?jt>0&&(hn=ANIMATION,vn=jt,bn=Lt.length):(vn=Math.max(At,jt),hn=vn>0?At>jt?TRANSITION:ANIMATION:null,bn=hn?hn===TRANSITION?qe.length:Lt.length:0);const _n=hn===TRANSITION&&/\b(transform|all)(,|$)/.test(Fe(`${TRANSITION}Property`).toString());return{type:hn,timeout:vn,propCount:bn,hasTransform:_n}}function getTimeout(xe,$e){for(;xe.length<$e.length;)xe=xe.concat(xe);return Math.max(...$e.map((Ie,Fe)=>toMs(Ie)+toMs(xe[Fe])))}function toMs(xe){return xe==="auto"?0:Number(xe.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(xe,$e,Ie){const Fe=xe[vtcKey];Fe&&($e=($e?[$e,...Fe]:[...Fe]).join(" ")),$e==null?xe.removeAttribute("class"):Ie?xe.setAttribute("class",$e):xe.className=$e}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(xe,{value:$e},{transition:Ie}){xe[vShowOriginalDisplay]=xe.style.display==="none"?"":xe.style.display,Ie&&$e?Ie.beforeEnter(xe):setDisplay(xe,$e)},mounted(xe,{value:$e},{transition:Ie}){Ie&&$e&&Ie.enter(xe)},updated(xe,{value:$e,oldValue:Ie},{transition:Fe}){!$e!=!Ie&&(Fe?$e?(Fe.beforeEnter(xe),setDisplay(xe,!0),Fe.enter(xe)):Fe.leave(xe,()=>{setDisplay(xe,!1)}):setDisplay(xe,$e))},beforeUnmount(xe,{value:$e}){setDisplay(xe,$e)}};function setDisplay(xe,$e){xe.style.display=$e?xe[vShowOriginalDisplay]:"none",xe[vShowHidden]=!$e}function initVShowForSSR(){vShow.getSSRProps=({value:xe})=>{if(!xe)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(xe){const $e=getCurrentInstance();if(!$e)return;const Ie=$e.ut=(Ue=xe($e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${$e.uid}"]`)).forEach(qe=>setVarsOnNode(qe,Ue))},Fe=()=>{const Ue=xe($e.proxy);setVarsOnVNode($e.subTree,Ue),Ie(Ue)};onMounted(()=>{watchPostEffect(Fe);const Ue=new MutationObserver(Fe);Ue.observe($e.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>Ue.disconnect())})}function setVarsOnVNode(xe,$e){if(xe.shapeFlag&128){const Ie=xe.suspense;xe=Ie.activeBranch,Ie.pendingBranch&&!Ie.isHydrating&&Ie.effects.push(()=>{setVarsOnVNode(Ie.activeBranch,$e)})}for(;xe.component;)xe=xe.component.subTree;if(xe.shapeFlag&1&&xe.el)setVarsOnNode(xe.el,$e);else if(xe.type===Fragment)xe.children.forEach(Ie=>setVarsOnVNode(Ie,$e));else if(xe.type===Static){let{el:Ie,anchor:Fe}=xe;for(;Ie&&(setVarsOnNode(Ie,$e),Ie!==Fe);)Ie=Ie.nextSibling}}function setVarsOnNode(xe,$e){if(xe.nodeType===1){const Ie=xe.style;let Fe="";for(const Ue in $e)Ie.setProperty(`--${Ue}`,$e[Ue]),Fe+=`--${Ue}: ${$e[Ue]};`;Ie[CSS_VAR_TEXT]=Fe}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle(xe,$e,Ie){const Fe=xe.style,Ue=isString$4(Ie);let qe=!1;if(Ie&&!Ue){if($e)if(isString$4($e))for(const At of $e.split(";")){const Dt=At.slice(0,At.indexOf(":")).trim();Ie[Dt]==null&&setStyle(Fe,Dt,"")}else for(const At in $e)Ie[At]==null&&setStyle(Fe,At,"");for(const At in Ie)At==="display"&&(qe=!0),setStyle(Fe,At,Ie[At])}else if(Ue){if($e!==Ie){const At=Fe[CSS_VAR_TEXT];At&&(Ie+=";"+At),Fe.cssText=Ie,qe=displayRE.test(Ie)}}else $e&&xe.removeAttribute("style");vShowOriginalDisplay in xe&&(xe[vShowOriginalDisplay]=qe?Fe.display:"",xe[vShowHidden]&&(Fe.display="none"))}const importantRE=/\s*!important$/;function setStyle(xe,$e,Ie){if(isArray$6(Ie))Ie.forEach(Fe=>setStyle(xe,$e,Fe));else if(Ie==null&&(Ie=""),$e.startsWith("--"))xe.setProperty($e,Ie);else{const Fe=autoPrefix(xe,$e);importantRE.test(Ie)?xe.setProperty(hyphenate(Fe),Ie.replace(importantRE,""),"important"):xe[Fe]=Ie}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(xe,$e){const Ie=prefixCache[$e];if(Ie)return Ie;let Fe=camelize($e);if(Fe!=="filter"&&Fe in xe)return prefixCache[$e]=Fe;Fe=capitalize$1(Fe);for(let Ue=0;UecachedNow||(p$3.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(xe,$e){const Ie=Fe=>{if(!Fe._vts)Fe._vts=Date.now();else if(Fe._vts<=Ie.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(Fe,Ie.value),$e,5,[Fe])};return Ie.value=xe,Ie.attached=getNow(),Ie}function patchStopImmediatePropagation(xe,$e){if(isArray$6($e)){const Ie=xe.stopImmediatePropagation;return xe.stopImmediatePropagation=()=>{Ie.call(xe),xe._stopped=!0},$e.map(Fe=>Ue=>!Ue._stopped&&Fe&&Fe(Ue))}else return $e}const isNativeOn=xe=>xe.charCodeAt(0)===111&&xe.charCodeAt(1)===110&&xe.charCodeAt(2)>96&&xe.charCodeAt(2)<123,patchProp=(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt)=>{const jt=Ue==="svg";$e==="class"?patchClass(xe,Fe,jt):$e==="style"?patchStyle(xe,Ie,Fe):isOn($e)?isModelListener($e)||patchEvent(xe,$e,Ie,Fe,At):($e[0]==="."?($e=$e.slice(1),!0):$e[0]==="^"?($e=$e.slice(1),!1):shouldSetAsProp(xe,$e,Fe,jt))?patchDOMProp(xe,$e,Fe,qe,At,Dt,Lt):($e==="true-value"?xe._trueValue=Fe:$e==="false-value"&&(xe._falseValue=Fe),patchAttr(xe,$e,Fe,jt))};function shouldSetAsProp(xe,$e,Ie,Fe){if(Fe)return!!($e==="innerHTML"||$e==="textContent"||$e in xe&&isNativeOn($e)&&isFunction$5(Ie));if($e==="spellcheck"||$e==="draggable"||$e==="translate"||$e==="form"||$e==="list"&&xe.tagName==="INPUT"||$e==="type"&&xe.tagName==="TEXTAREA")return!1;if($e==="width"||$e==="height"){const Ue=xe.tagName;if(Ue==="IMG"||Ue==="VIDEO"||Ue==="CANVAS"||Ue==="SOURCE")return!1}return isNativeOn($e)&&isString$4(Ie)?!1:$e in xe}/*! #__NO_SIDE_EFFECTS__ */function defineCustomElement(xe,$e){const Ie=defineComponent(xe);class Fe extends VueElement{constructor(qe){super(Ie,qe,$e)}}return Fe.def=Ie,Fe}/*! #__NO_SIDE_EFFECTS__ */const defineSSRCustomElement=xe=>defineCustomElement(xe,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor($e,Ie={},Fe){super(),this._def=$e,this._props=Ie,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&Fe?Fe(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),nextTick(()=>{this._connected||(render$2(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let Fe=0;Fe{for(const Ue of Fe)this._setAttr(Ue.attributeName)}),this._ob.observe(this,{attributes:!0});const $e=(Fe,Ue=!1)=>{const{props:qe,styles:At}=Fe;let Dt;if(qe&&!isArray$6(qe))for(const Lt in qe){const jt=qe[Lt];(jt===Number||jt&&jt.type===Number)&&(Lt in this._props&&(this._props[Lt]=toNumber$1(this._props[Lt])),(Dt||(Dt=Object.create(null)))[camelize(Lt)]=!0)}this._numberProps=Dt,Ue&&this._resolveProps(Fe),this._applyStyles(At),this._update()},Ie=this._def.__asyncLoader;Ie?Ie().then(Fe=>$e(Fe,!0)):$e(this._def)}_resolveProps($e){const{props:Ie}=$e,Fe=isArray$6(Ie)?Ie:Object.keys(Ie||{});for(const Ue of Object.keys(this))Ue[0]!=="_"&&Fe.includes(Ue)&&this._setProp(Ue,this[Ue],!0,!1);for(const Ue of Fe.map(camelize))Object.defineProperty(this,Ue,{get(){return this._getProp(Ue)},set(qe){this._setProp(Ue,qe)}})}_setAttr($e){let Ie=this.hasAttribute($e)?this.getAttribute($e):void 0;const Fe=camelize($e);this._numberProps&&this._numberProps[Fe]&&(Ie=toNumber$1(Ie)),this._setProp(Fe,Ie,!1)}_getProp($e){return this._props[$e]}_setProp($e,Ie,Fe=!0,Ue=!0){Ie!==this._props[$e]&&(this._props[$e]=Ie,Ue&&this._instance&&this._update(),Fe&&(Ie===!0?this.setAttribute(hyphenate($e),""):typeof Ie=="string"||typeof Ie=="number"?this.setAttribute(hyphenate($e),Ie+""):Ie||this.removeAttribute(hyphenate($e))))}_update(){render$2(this._createVNode(),this.shadowRoot)}_createVNode(){const $e=createVNode$1(this._def,extend$2({},this._props));return this._instance||($e.ce=Ie=>{this._instance=Ie,Ie.isCE=!0;const Fe=(qe,At)=>{this.dispatchEvent(new CustomEvent(qe,{detail:At}))};Ie.emit=(qe,...At)=>{Fe(qe,At),hyphenate(qe)!==qe&&Fe(hyphenate(qe),At)};let Ue=this;for(;Ue=Ue&&(Ue.parentNode||Ue.host);)if(Ue instanceof VueElement){Ie.parent=Ue._instance,Ie.provides=Ue._instance.provides;break}}),$e}_applyStyles($e){$e&&$e.forEach(Ie=>{const Fe=document.createElement("style");Fe.textContent=Ie,this.shadowRoot.appendChild(Fe)})}}function useCssModule(xe="$style"){{const $e=getCurrentInstance();if(!$e)return EMPTY_OBJ$1;const Ie=$e.type.__cssModules;if(!Ie)return EMPTY_OBJ$1;const Fe=Ie[xe];return Fe||EMPTY_OBJ$1}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=useTransitionState();let Ue,qe;return onUpdated(()=>{if(!Ue.length)return;const At=xe.moveClass||`${xe.name||"v"}-move`;if(!hasCSSTransform(Ue[0].el,Ie.vnode.el,At))return;Ue.forEach(callPendingCbs),Ue.forEach(recordPosition);const Dt=Ue.filter(applyTranslation);forceReflow(),Dt.forEach(Lt=>{const jt=Lt.el,hn=jt.style;addTransitionClass(jt,At),hn.transform=hn.webkitTransform=hn.transitionDuration="";const vn=jt[moveCbKey]=bn=>{bn&&bn.target!==jt||(!bn||/transform$/.test(bn.propertyName))&&(jt.removeEventListener("transitionend",vn),jt[moveCbKey]=null,removeTransitionClass(jt,At))};jt.addEventListener("transitionend",vn)})}),()=>{const At=toRaw(xe),Dt=resolveTransitionProps(At);let Lt=At.tag||Fragment;if(Ue=[],qe)for(let jt=0;jtdelete xe.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(xe){const $e=xe.el;$e[moveCbKey]&&$e[moveCbKey](),$e[enterCbKey]&&$e[enterCbKey]()}function recordPosition(xe){newPositionMap.set(xe,xe.el.getBoundingClientRect())}function applyTranslation(xe){const $e=positionMap.get(xe),Ie=newPositionMap.get(xe),Fe=$e.left-Ie.left,Ue=$e.top-Ie.top;if(Fe||Ue){const qe=xe.el.style;return qe.transform=qe.webkitTransform=`translate(${Fe}px,${Ue}px)`,qe.transitionDuration="0s",xe}}function hasCSSTransform(xe,$e,Ie){const Fe=xe.cloneNode(),Ue=xe[vtcKey];Ue&&Ue.forEach(Dt=>{Dt.split(/\s+/).forEach(Lt=>Lt&&Fe.classList.remove(Lt))}),Ie.split(/\s+/).forEach(Dt=>Dt&&Fe.classList.add(Dt)),Fe.style.display="none";const qe=$e.nodeType===1?$e:$e.parentNode;qe.appendChild(Fe);const{hasTransform:At}=getTransitionInfo(Fe);return qe.removeChild(Fe),At}const getModelAssigner=xe=>{const $e=xe.props["onUpdate:modelValue"]||!1;return isArray$6($e)?Ie=>invokeArrayFns($e,Ie):$e};function onCompositionStart(xe){xe.target.composing=!0}function onCompositionEnd(xe){const $e=xe.target;$e.composing&&($e.composing=!1,$e.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(xe,{modifiers:{lazy:$e,trim:Ie,number:Fe}},Ue){xe[assignKey]=getModelAssigner(Ue);const qe=Fe||Ue.props&&Ue.props.type==="number";addEventListener$2(xe,$e?"change":"input",At=>{if(At.target.composing)return;let Dt=xe.value;Ie&&(Dt=Dt.trim()),qe&&(Dt=looseToNumber(Dt)),xe[assignKey](Dt)}),Ie&&addEventListener$2(xe,"change",()=>{xe.value=xe.value.trim()}),$e||(addEventListener$2(xe,"compositionstart",onCompositionStart),addEventListener$2(xe,"compositionend",onCompositionEnd),addEventListener$2(xe,"change",onCompositionEnd))},mounted(xe,{value:$e}){xe.value=$e??""},beforeUpdate(xe,{value:$e,modifiers:{lazy:Ie,trim:Fe,number:Ue}},qe){if(xe[assignKey]=getModelAssigner(qe),xe.composing)return;const At=(Ue||xe.type==="number")&&!/^0\d/.test(xe.value)?looseToNumber(xe.value):xe.value,Dt=$e??"";At!==Dt&&(document.activeElement===xe&&xe.type!=="range"&&(Ie||Fe&&xe.value.trim()===Dt)||(xe.value=Dt))}},vModelCheckbox={deep:!0,created(xe,$e,Ie){xe[assignKey]=getModelAssigner(Ie),addEventListener$2(xe,"change",()=>{const Fe=xe._modelValue,Ue=getValue$2(xe),qe=xe.checked,At=xe[assignKey];if(isArray$6(Fe)){const Dt=looseIndexOf(Fe,Ue),Lt=Dt!==-1;if(qe&&!Lt)At(Fe.concat(Ue));else if(!qe&&Lt){const jt=[...Fe];jt.splice(Dt,1),At(jt)}}else if(isSet$1(Fe)){const Dt=new Set(Fe);qe?Dt.add(Ue):Dt.delete(Ue),At(Dt)}else At(getCheckboxValue(xe,qe))})},mounted:setChecked,beforeUpdate(xe,$e,Ie){xe[assignKey]=getModelAssigner(Ie),setChecked(xe,$e,Ie)}};function setChecked(xe,{value:$e,oldValue:Ie},Fe){xe._modelValue=$e,isArray$6($e)?xe.checked=looseIndexOf($e,Fe.props.value)>-1:isSet$1($e)?xe.checked=$e.has(Fe.props.value):$e!==Ie&&(xe.checked=looseEqual($e,getCheckboxValue(xe,!0)))}const vModelRadio={created(xe,{value:$e},Ie){xe.checked=looseEqual($e,Ie.props.value),xe[assignKey]=getModelAssigner(Ie),addEventListener$2(xe,"change",()=>{xe[assignKey](getValue$2(xe))})},beforeUpdate(xe,{value:$e,oldValue:Ie},Fe){xe[assignKey]=getModelAssigner(Fe),$e!==Ie&&(xe.checked=looseEqual($e,Fe.props.value))}},vModelSelect={deep:!0,created(xe,{value:$e,modifiers:{number:Ie}},Fe){const Ue=isSet$1($e);addEventListener$2(xe,"change",()=>{const qe=Array.prototype.filter.call(xe.options,At=>At.selected).map(At=>Ie?looseToNumber(getValue$2(At)):getValue$2(At));xe[assignKey](xe.multiple?Ue?new Set(qe):qe:qe[0]),xe._assigning=!0,nextTick(()=>{xe._assigning=!1})}),xe[assignKey]=getModelAssigner(Fe)},mounted(xe,{value:$e,modifiers:{number:Ie}}){setSelected(xe,$e)},beforeUpdate(xe,$e,Ie){xe[assignKey]=getModelAssigner(Ie)},updated(xe,{value:$e,modifiers:{number:Ie}}){xe._assigning||setSelected(xe,$e)}};function setSelected(xe,$e,Ie){const Fe=xe.multiple,Ue=isArray$6($e);if(!(Fe&&!Ue&&!isSet$1($e))){for(let qe=0,At=xe.options.length;qeString(hn)===String(Lt)):Dt.selected=looseIndexOf($e,Lt)>-1}else Dt.selected=$e.has(Lt);else if(looseEqual(getValue$2(Dt),$e)){xe.selectedIndex!==qe&&(xe.selectedIndex=qe);return}}!Fe&&xe.selectedIndex!==-1&&(xe.selectedIndex=-1)}}function getValue$2(xe){return"_value"in xe?xe._value:xe.value}function getCheckboxValue(xe,$e){const Ie=$e?"_trueValue":"_falseValue";return Ie in xe?xe[Ie]:$e}const vModelDynamic={created(xe,$e,Ie){callModelHook(xe,$e,Ie,null,"created")},mounted(xe,$e,Ie){callModelHook(xe,$e,Ie,null,"mounted")},beforeUpdate(xe,$e,Ie,Fe){callModelHook(xe,$e,Ie,Fe,"beforeUpdate")},updated(xe,$e,Ie,Fe){callModelHook(xe,$e,Ie,Fe,"updated")}};function resolveDynamicModel(xe,$e){switch(xe){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch($e){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(xe,$e,Ie,Fe,Ue){const At=resolveDynamicModel(xe.tagName,Ie.props&&Ie.props.type)[Ue];At&&At(xe,$e,Ie,Fe)}function initVModelForSSR(){vModelText.getSSRProps=({value:xe})=>({value:xe}),vModelRadio.getSSRProps=({value:xe},$e)=>{if($e.props&&looseEqual($e.props.value,xe))return{checked:!0}},vModelCheckbox.getSSRProps=({value:xe},$e)=>{if(isArray$6(xe)){if($e.props&&looseIndexOf(xe,$e.props.value)>-1)return{checked:!0}}else if(isSet$1(xe)){if($e.props&&xe.has($e.props.value))return{checked:!0}}else if(xe)return{checked:!0}},vModelDynamic.getSSRProps=(xe,$e)=>{if(typeof $e.type!="string")return;const Ie=resolveDynamicModel($e.type.toUpperCase(),$e.props&&$e.props.type);if(Ie.getSSRProps)return Ie.getSSRProps(xe,$e)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:xe=>xe.stopPropagation(),prevent:xe=>xe.preventDefault(),self:xe=>xe.target!==xe.currentTarget,ctrl:xe=>!xe.ctrlKey,shift:xe=>!xe.shiftKey,alt:xe=>!xe.altKey,meta:xe=>!xe.metaKey,left:xe=>"button"in xe&&xe.button!==0,middle:xe=>"button"in xe&&xe.button!==1,right:xe=>"button"in xe&&xe.button!==2,exact:(xe,$e)=>systemModifiers.some(Ie=>xe[`${Ie}Key`]&&!$e.includes(Ie))},withModifiers=(xe,$e)=>{const Ie=xe._withMods||(xe._withMods={}),Fe=$e.join(".");return Ie[Fe]||(Ie[Fe]=(Ue,...qe)=>{for(let At=0;At<$e.length;At++){const Dt=modifierGuards[$e[At]];if(Dt&&Dt(Ue,$e))return}return xe(Ue,...qe)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(xe,$e)=>{const Ie=xe._withKeys||(xe._withKeys={}),Fe=$e.join(".");return Ie[Fe]||(Ie[Fe]=Ue=>{if(!("key"in Ue))return;const qe=hyphenate(Ue.key);if($e.some(At=>At===qe||keyNames[At]===qe))return xe(Ue)})},rendererOptions=extend$2({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const render$2=(...xe)=>{ensureRenderer().render(...xe)},hydrate=(...xe)=>{ensureHydrationRenderer().hydrate(...xe)},createApp=(...xe)=>{const $e=ensureRenderer().createApp(...xe),{mount:Ie}=$e;return $e.mount=Fe=>{const Ue=normalizeContainer(Fe);if(!Ue)return;const qe=$e._component;!isFunction$5(qe)&&!qe.render&&!qe.template&&(qe.template=Ue.innerHTML),Ue.innerHTML="";const At=Ie(Ue,!1,resolveRootNamespace(Ue));return Ue instanceof Element&&(Ue.removeAttribute("v-cloak"),Ue.setAttribute("data-v-app","")),At},$e},createSSRApp=(...xe)=>{const $e=ensureHydrationRenderer().createApp(...xe),{mount:Ie}=$e;return $e.mount=Fe=>{const Ue=normalizeContainer(Fe);if(Ue)return Ie(Ue,!0,resolveRootNamespace(Ue))},$e};function resolveRootNamespace(xe){if(xe instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&xe instanceof MathMLElement)return"mathml"}function normalizeContainer(xe){return isString$4(xe)?document.querySelector(xe):xe}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},sides=["top","right","bottom","left"],alignments=["start","end"],placements=sides.reduce((xe,$e)=>xe.concat($e,$e+"-"+alignments[0],$e+"-"+alignments[1]),[]),min$3=Math.min,max$3=Math.max,round$4=Math.round,floor$1=Math.floor,createCoords=xe=>({x:xe,y:xe}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(xe,$e,Ie){return max$3(xe,min$3($e,Ie))}function evaluate(xe,$e){return typeof xe=="function"?xe($e):xe}function getSide(xe){return xe.split("-")[0]}function getAlignment(xe){return xe.split("-")[1]}function getOppositeAxis(xe){return xe==="x"?"y":"x"}function getAxisLength(xe){return xe==="y"?"height":"width"}function getSideAxis(xe){return["top","bottom"].includes(getSide(xe))?"y":"x"}function getAlignmentAxis(xe){return getOppositeAxis(getSideAxis(xe))}function getAlignmentSides(xe,$e,Ie){Ie===void 0&&(Ie=!1);const Fe=getAlignment(xe),Ue=getAlignmentAxis(xe),qe=getAxisLength(Ue);let At=Ue==="x"?Fe===(Ie?"end":"start")?"right":"left":Fe==="start"?"bottom":"top";return $e.reference[qe]>$e.floating[qe]&&(At=getOppositePlacement(At)),[At,getOppositePlacement(At)]}function getExpandedPlacements(xe){const $e=getOppositePlacement(xe);return[getOppositeAlignmentPlacement(xe),$e,getOppositeAlignmentPlacement($e)]}function getOppositeAlignmentPlacement(xe){return xe.replace(/start|end/g,$e=>oppositeAlignmentMap[$e])}function getSideList(xe,$e,Ie){const Fe=["left","right"],Ue=["right","left"],qe=["top","bottom"],At=["bottom","top"];switch(xe){case"top":case"bottom":return Ie?$e?Ue:Fe:$e?Fe:Ue;case"left":case"right":return $e?qe:At;default:return[]}}function getOppositeAxisPlacements(xe,$e,Ie,Fe){const Ue=getAlignment(xe);let qe=getSideList(getSide(xe),Ie==="start",Fe);return Ue&&(qe=qe.map(At=>At+"-"+Ue),$e&&(qe=qe.concat(qe.map(getOppositeAlignmentPlacement)))),qe}function getOppositePlacement(xe){return xe.replace(/left|right|bottom|top/g,$e=>oppositeSideMap[$e])}function expandPaddingObject(xe){return{top:0,right:0,bottom:0,left:0,...xe}}function getPaddingObject(xe){return typeof xe!="number"?expandPaddingObject(xe):{top:xe,right:xe,bottom:xe,left:xe}}function rectToClientRect(xe){return{...xe,top:xe.y,left:xe.x,right:xe.x+xe.width,bottom:xe.y+xe.height}}function computeCoordsFromPlacement(xe,$e,Ie){let{reference:Fe,floating:Ue}=xe;const qe=getSideAxis($e),At=getAlignmentAxis($e),Dt=getAxisLength(At),Lt=getSide($e),jt=qe==="y",hn=Fe.x+Fe.width/2-Ue.width/2,vn=Fe.y+Fe.height/2-Ue.height/2,bn=Fe[Dt]/2-Ue[Dt]/2;let _n;switch(Lt){case"top":_n={x:hn,y:Fe.y-Ue.height};break;case"bottom":_n={x:hn,y:Fe.y+Fe.height};break;case"right":_n={x:Fe.x+Fe.width,y:vn};break;case"left":_n={x:Fe.x-Ue.width,y:vn};break;default:_n={x:Fe.x,y:Fe.y}}switch(getAlignment($e)){case"start":_n[At]-=bn*(Ie&&jt?-1:1);break;case"end":_n[At]+=bn*(Ie&&jt?-1:1);break}return _n}const computePosition$1=async(xe,$e,Ie)=>{const{placement:Fe="bottom",strategy:Ue="absolute",middleware:qe=[],platform:At}=Ie,Dt=qe.filter(Boolean),Lt=await(At.isRTL==null?void 0:At.isRTL($e));let jt=await At.getElementRects({reference:xe,floating:$e,strategy:Ue}),{x:hn,y:vn}=computeCoordsFromPlacement(jt,Fe,Lt),bn=Fe,_n={},wn=0;for(let kn=0;kn({name:"arrow",options:xe,async fn($e){const{x:Ie,y:Fe,placement:Ue,rects:qe,platform:At,elements:Dt,middlewareData:Lt}=$e,{element:jt,padding:hn=0}=evaluate(xe,$e)||{};if(jt==null)return{};const vn=getPaddingObject(hn),bn={x:Ie,y:Fe},_n=getAlignmentAxis(Ue),wn=getAxisLength(_n),kn=await At.getDimensions(jt),Cn=_n==="y",Sn=Cn?"top":"left",xn=Cn?"bottom":"right",En=Cn?"clientHeight":"clientWidth",Tn=qe.reference[wn]+qe.reference[_n]-bn[_n]-qe.floating[wn],An=bn[_n]-qe.reference[_n],$n=await(At.getOffsetParent==null?void 0:At.getOffsetParent(jt));let Pn=$n?$n[En]:0;(!Pn||!await(At.isElement==null?void 0:At.isElement($n)))&&(Pn=Dt.floating[En]||qe.floating[wn]);const Nn=Tn/2-An/2,Mn=Pn/2-kn[wn]/2-1,In=min$3(vn[Sn],Mn),On=min$3(vn[xn],Mn),Rn=In,Bn=Pn-kn[wn]-On,Vn=Pn/2-kn[wn]/2+Nn,Ln=clamp$1(Rn,Vn,Bn),Dn=!Lt.arrow&&getAlignment(Ue)!=null&&Vn!==Ln&&qe.reference[wn]/2-(VngetAlignment(Ue)===xe),...Ie.filter(Ue=>getAlignment(Ue)!==xe)]:Ie.filter(Ue=>getSide(Ue)===Ue)).filter(Ue=>xe?getAlignment(Ue)===xe||($e?getOppositeAlignmentPlacement(Ue)!==Ue:!1):!0)}const autoPlacement=function(xe){return xe===void 0&&(xe={}),{name:"autoPlacement",options:xe,async fn($e){var Ie,Fe,Ue;const{rects:qe,middlewareData:At,placement:Dt,platform:Lt,elements:jt}=$e,{crossAxis:hn=!1,alignment:vn,allowedPlacements:bn=placements,autoAlignment:_n=!0,...wn}=evaluate(xe,$e),kn=vn!==void 0||bn===placements?getPlacementList(vn||null,_n,bn):bn,Cn=await detectOverflow($e,wn),Sn=((Ie=At.autoPlacement)==null?void 0:Ie.index)||0,xn=kn[Sn];if(xn==null)return{};const En=getAlignmentSides(xn,qe,await(Lt.isRTL==null?void 0:Lt.isRTL(jt.floating)));if(Dt!==xn)return{reset:{placement:kn[0]}};const Tn=[Cn[getSide(xn)],Cn[En[0]],Cn[En[1]]],An=[...((Fe=At.autoPlacement)==null?void 0:Fe.overflows)||[],{placement:xn,overflows:Tn}],$n=kn[Sn+1];if($n)return{data:{index:Sn+1,overflows:An},reset:{placement:$n}};const Pn=An.map(In=>{const On=getAlignment(In.placement);return[In.placement,On&&hn?In.overflows.slice(0,2).reduce((Rn,Bn)=>Rn+Bn,0):In.overflows[0],In.overflows]}).sort((In,On)=>In[1]-On[1]),Mn=((Ue=Pn.filter(In=>In[2].slice(0,getAlignment(In[0])?2:3).every(On=>On<=0))[0])==null?void 0:Ue[0])||Pn[0][0];return Mn!==Dt?{data:{index:Sn+1,overflows:An},reset:{placement:Mn}}:{}}}},flip$1=function(xe){return xe===void 0&&(xe={}),{name:"flip",options:xe,async fn($e){var Ie,Fe;const{placement:Ue,middlewareData:qe,rects:At,initialPlacement:Dt,platform:Lt,elements:jt}=$e,{mainAxis:hn=!0,crossAxis:vn=!0,fallbackPlacements:bn,fallbackStrategy:_n="bestFit",fallbackAxisSideDirection:wn="none",flipAlignment:kn=!0,...Cn}=evaluate(xe,$e);if((Ie=qe.arrow)!=null&&Ie.alignmentOffset)return{};const Sn=getSide(Ue),xn=getSide(Dt)===Dt,En=await(Lt.isRTL==null?void 0:Lt.isRTL(jt.floating)),Tn=bn||(xn||!kn?[getOppositePlacement(Dt)]:getExpandedPlacements(Dt));!bn&&wn!=="none"&&Tn.push(...getOppositeAxisPlacements(Dt,kn,wn,En));const An=[Dt,...Tn],$n=await detectOverflow($e,Cn),Pn=[];let Nn=((Fe=qe.flip)==null?void 0:Fe.overflows)||[];if(hn&&Pn.push($n[Sn]),vn){const Rn=getAlignmentSides(Ue,At,En);Pn.push($n[Rn[0]],$n[Rn[1]])}if(Nn=[...Nn,{placement:Ue,overflows:Pn}],!Pn.every(Rn=>Rn<=0)){var Mn,In;const Rn=(((Mn=qe.flip)==null?void 0:Mn.index)||0)+1,Bn=An[Rn];if(Bn)return{data:{index:Rn,overflows:Nn},reset:{placement:Bn}};let Vn=(In=Nn.filter(Ln=>Ln.overflows[0]<=0).sort((Ln,Dn)=>Ln.overflows[1]-Dn.overflows[1])[0])==null?void 0:In.placement;if(!Vn)switch(_n){case"bestFit":{var On;const Ln=(On=Nn.map(Dn=>[Dn.placement,Dn.overflows.filter(Hn=>Hn>0).reduce((Hn,Fn)=>Hn+Fn,0)]).sort((Dn,Hn)=>Dn[1]-Hn[1])[0])==null?void 0:On[0];Ln&&(Vn=Ln);break}case"initialPlacement":Vn=Dt;break}if(Ue!==Vn)return{reset:{placement:Vn}}}return{}}}};async function convertValueToCoords(xe,$e){const{placement:Ie,platform:Fe,elements:Ue}=xe,qe=await(Fe.isRTL==null?void 0:Fe.isRTL(Ue.floating)),At=getSide(Ie),Dt=getAlignment(Ie),Lt=getSideAxis(Ie)==="y",jt=["left","top"].includes(At)?-1:1,hn=qe&&Lt?-1:1,vn=evaluate($e,xe);let{mainAxis:bn,crossAxis:_n,alignmentAxis:wn}=typeof vn=="number"?{mainAxis:vn,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...vn};return Dt&&typeof wn=="number"&&(_n=Dt==="end"?wn*-1:wn),Lt?{x:_n*hn,y:bn*jt}:{x:bn*jt,y:_n*hn}}const offset=function(xe){return xe===void 0&&(xe=0),{name:"offset",options:xe,async fn($e){var Ie,Fe;const{x:Ue,y:qe,placement:At,middlewareData:Dt}=$e,Lt=await convertValueToCoords($e,xe);return At===((Ie=Dt.offset)==null?void 0:Ie.placement)&&(Fe=Dt.arrow)!=null&&Fe.alignmentOffset?{}:{x:Ue+Lt.x,y:qe+Lt.y,data:{...Lt,placement:At}}}}},shift$1=function(xe){return xe===void 0&&(xe={}),{name:"shift",options:xe,async fn($e){const{x:Ie,y:Fe,placement:Ue}=$e,{mainAxis:qe=!0,crossAxis:At=!1,limiter:Dt={fn:Cn=>{let{x:Sn,y:xn}=Cn;return{x:Sn,y:xn}}},...Lt}=evaluate(xe,$e),jt={x:Ie,y:Fe},hn=await detectOverflow($e,Lt),vn=getSideAxis(getSide(Ue)),bn=getOppositeAxis(vn);let _n=jt[bn],wn=jt[vn];if(qe){const Cn=bn==="y"?"top":"left",Sn=bn==="y"?"bottom":"right",xn=_n+hn[Cn],En=_n-hn[Sn];_n=clamp$1(xn,_n,En)}if(At){const Cn=vn==="y"?"top":"left",Sn=vn==="y"?"bottom":"right",xn=wn+hn[Cn],En=wn-hn[Sn];wn=clamp$1(xn,wn,En)}const kn=Dt.fn({...$e,[bn]:_n,[vn]:wn});return{...kn,data:{x:kn.x-Ie,y:kn.y-Fe}}}}},size=function(xe){return xe===void 0&&(xe={}),{name:"size",options:xe,async fn($e){const{placement:Ie,rects:Fe,platform:Ue,elements:qe}=$e,{apply:At=()=>{},...Dt}=evaluate(xe,$e),Lt=await detectOverflow($e,Dt),jt=getSide(Ie),hn=getAlignment(Ie),vn=getSideAxis(Ie)==="y",{width:bn,height:_n}=Fe.floating;let wn,kn;jt==="top"||jt==="bottom"?(wn=jt,kn=hn===(await(Ue.isRTL==null?void 0:Ue.isRTL(qe.floating))?"start":"end")?"left":"right"):(kn=jt,wn=hn==="end"?"top":"bottom");const Cn=_n-Lt[wn],Sn=bn-Lt[kn],xn=!$e.middlewareData.shift;let En=Cn,Tn=Sn;if(vn){const $n=bn-Lt.left-Lt.right;Tn=hn||xn?min$3(Sn,$n):$n}else{const $n=_n-Lt.top-Lt.bottom;En=hn||xn?min$3(Cn,$n):$n}if(xn&&!hn){const $n=max$3(Lt.left,0),Pn=max$3(Lt.right,0),Nn=max$3(Lt.top,0),Mn=max$3(Lt.bottom,0);vn?Tn=bn-2*($n!==0||Pn!==0?$n+Pn:max$3(Lt.left,Lt.right)):En=_n-2*(Nn!==0||Mn!==0?Nn+Mn:max$3(Lt.top,Lt.bottom))}await At({...$e,availableWidth:Tn,availableHeight:En});const An=await Ue.getDimensions(qe.floating);return bn!==An.width||_n!==An.height?{reset:{rects:!0}}:{}}}};function n$6(xe){var $e;return(($e=xe.ownerDocument)==null?void 0:$e.defaultView)||window}function o$5(xe){return n$6(xe).getComputedStyle(xe)}const i$8=Math.min,r$1=Math.max,l$5=Math.round;function c$6(xe){const $e=o$5(xe);let Ie=parseFloat($e.width),Fe=parseFloat($e.height);const Ue=xe.offsetWidth,qe=xe.offsetHeight,At=l$5(Ie)!==Ue||l$5(Fe)!==qe;return At&&(Ie=Ue,Fe=qe),{width:Ie,height:Fe,fallback:At}}function s$6(xe){return h$4(xe)?(xe.nodeName||"").toLowerCase():""}let f$4;function u$8(){if(f$4)return f$4;const xe=navigator.userAgentData;return xe&&Array.isArray(xe.brands)?(f$4=xe.brands.map($e=>$e.brand+"/"+$e.version).join(" "),f$4):navigator.userAgent}function a$4(xe){return xe instanceof n$6(xe).HTMLElement}function d$8(xe){return xe instanceof n$6(xe).Element}function h$4(xe){return xe instanceof n$6(xe).Node}function p$2(xe){return typeof ShadowRoot>"u"?!1:xe instanceof n$6(xe).ShadowRoot||xe instanceof ShadowRoot}function g$5(xe){const{overflow:$e,overflowX:Ie,overflowY:Fe,display:Ue}=o$5(xe);return/auto|scroll|overlay|hidden|clip/.test($e+Fe+Ie)&&!["inline","contents"].includes(Ue)}function m$7(xe){return["table","td","th"].includes(s$6(xe))}function y$5(xe){const $e=/firefox/i.test(u$8()),Ie=o$5(xe),Fe=Ie.backdropFilter||Ie.WebkitBackdropFilter;return Ie.transform!=="none"||Ie.perspective!=="none"||!!Fe&&Fe!=="none"||$e&&Ie.willChange==="filter"||$e&&!!Ie.filter&&Ie.filter!=="none"||["transform","perspective"].some(Ue=>Ie.willChange.includes(Ue))||["paint","layout","strict","content"].some(Ue=>{const qe=Ie.contain;return qe!=null&&qe.includes(Ue)})}function x$5(){return!/^((?!chrome|android).)*safari/i.test(u$8())}function w$7(xe){return["html","body","#document"].includes(s$6(xe))}function v$3(xe){return d$8(xe)?xe:xe.contextElement}const b$4={x:1,y:1};function L$3(xe){const $e=v$3(xe);if(!a$4($e))return b$4;const Ie=$e.getBoundingClientRect(),{width:Fe,height:Ue,fallback:qe}=c$6($e);let At=(qe?l$5(Ie.width):Ie.width)/Fe,Dt=(qe?l$5(Ie.height):Ie.height)/Ue;return At&&Number.isFinite(At)||(At=1),Dt&&Number.isFinite(Dt)||(Dt=1),{x:At,y:Dt}}function E$8(xe,$e,Ie,Fe){var Ue,qe;$e===void 0&&($e=!1),Ie===void 0&&(Ie=!1);const At=xe.getBoundingClientRect(),Dt=v$3(xe);let Lt=b$4;$e&&(Fe?d$8(Fe)&&(Lt=L$3(Fe)):Lt=L$3(xe));const jt=Dt?n$6(Dt):window,hn=!x$5()&&Ie;let vn=(At.left+(hn&&((Ue=jt.visualViewport)==null?void 0:Ue.offsetLeft)||0))/Lt.x,bn=(At.top+(hn&&((qe=jt.visualViewport)==null?void 0:qe.offsetTop)||0))/Lt.y,_n=At.width/Lt.x,wn=At.height/Lt.y;if(Dt){const kn=n$6(Dt),Cn=Fe&&d$8(Fe)?n$6(Fe):Fe;let Sn=kn.frameElement;for(;Sn&&Fe&&Cn!==kn;){const xn=L$3(Sn),En=Sn.getBoundingClientRect(),Tn=getComputedStyle(Sn);En.x+=(Sn.clientLeft+parseFloat(Tn.paddingLeft))*xn.x,En.y+=(Sn.clientTop+parseFloat(Tn.paddingTop))*xn.y,vn*=xn.x,bn*=xn.y,_n*=xn.x,wn*=xn.y,vn+=En.x,bn+=En.y,Sn=n$6(Sn).frameElement}}return{width:_n,height:wn,top:bn,right:vn+_n,bottom:bn+wn,left:vn,x:vn,y:bn}}function R$4(xe){return((h$4(xe)?xe.ownerDocument:xe.document)||window.document).documentElement}function T$5(xe){return d$8(xe)?{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}:{scrollLeft:xe.pageXOffset,scrollTop:xe.pageYOffset}}function C$3(xe){return E$8(R$4(xe)).left+T$5(xe).scrollLeft}function F$4(xe){if(s$6(xe)==="html")return xe;const $e=xe.assignedSlot||xe.parentNode||p$2(xe)&&xe.host||R$4(xe);return p$2($e)?$e.host:$e}function W$4(xe){const $e=F$4(xe);return w$7($e)?$e.ownerDocument.body:a$4($e)&&g$5($e)?$e:W$4($e)}function D$2(xe,$e){var Ie;$e===void 0&&($e=[]);const Fe=W$4(xe),Ue=Fe===((Ie=xe.ownerDocument)==null?void 0:Ie.body),qe=n$6(Fe);return Ue?$e.concat(qe,qe.visualViewport||[],g$5(Fe)?Fe:[]):$e.concat(Fe,D$2(Fe))}function S$5(xe,$e,Ie){return $e==="viewport"?rectToClientRect(function(Fe,Ue){const qe=n$6(Fe),At=R$4(Fe),Dt=qe.visualViewport;let Lt=At.clientWidth,jt=At.clientHeight,hn=0,vn=0;if(Dt){Lt=Dt.width,jt=Dt.height;const bn=x$5();(bn||!bn&&Ue==="fixed")&&(hn=Dt.offsetLeft,vn=Dt.offsetTop)}return{width:Lt,height:jt,x:hn,y:vn}}(xe,Ie)):d$8($e)?rectToClientRect(function(Fe,Ue){const qe=E$8(Fe,!0,Ue==="fixed"),At=qe.top+Fe.clientTop,Dt=qe.left+Fe.clientLeft,Lt=a$4(Fe)?L$3(Fe):{x:1,y:1};return{width:Fe.clientWidth*Lt.x,height:Fe.clientHeight*Lt.y,x:Dt*Lt.x,y:At*Lt.y}}($e,Ie)):rectToClientRect(function(Fe){const Ue=R$4(Fe),qe=T$5(Fe),At=Fe.ownerDocument.body,Dt=r$1(Ue.scrollWidth,Ue.clientWidth,At.scrollWidth,At.clientWidth),Lt=r$1(Ue.scrollHeight,Ue.clientHeight,At.scrollHeight,At.clientHeight);let jt=-qe.scrollLeft+C$3(Fe);const hn=-qe.scrollTop;return o$5(At).direction==="rtl"&&(jt+=r$1(Ue.clientWidth,At.clientWidth)-Dt),{width:Dt,height:Lt,x:jt,y:hn}}(R$4(xe)))}function A$5(xe){return a$4(xe)&&o$5(xe).position!=="fixed"?xe.offsetParent:null}function H$6(xe){const $e=n$6(xe);let Ie=A$5(xe);for(;Ie&&m$7(Ie)&&o$5(Ie).position==="static";)Ie=A$5(Ie);return Ie&&(s$6(Ie)==="html"||s$6(Ie)==="body"&&o$5(Ie).position==="static"&&!y$5(Ie))?$e:Ie||function(Fe){let Ue=F$4(Fe);for(;a$4(Ue)&&!w$7(Ue);){if(y$5(Ue))return Ue;Ue=F$4(Ue)}return null}(xe)||$e}function O$3(xe,$e,Ie){const Fe=a$4($e),Ue=R$4($e),qe=E$8(xe,!0,Ie==="fixed",$e);let At={scrollLeft:0,scrollTop:0};const Dt={x:0,y:0};if(Fe||!Fe&&Ie!=="fixed")if((s$6($e)!=="body"||g$5(Ue))&&(At=T$5($e)),a$4($e)){const Lt=E$8($e,!0);Dt.x=Lt.x+$e.clientLeft,Dt.y=Lt.y+$e.clientTop}else Ue&&(Dt.x=C$3(Ue));return{x:qe.left+At.scrollLeft-Dt.x,y:qe.top+At.scrollTop-Dt.y,width:qe.width,height:qe.height}}const P$5={getClippingRect:function(xe){let{element:$e,boundary:Ie,rootBoundary:Fe,strategy:Ue}=xe;const qe=Ie==="clippingAncestors"?function(jt,hn){const vn=hn.get(jt);if(vn)return vn;let bn=D$2(jt).filter(Cn=>d$8(Cn)&&s$6(Cn)!=="body"),_n=null;const wn=o$5(jt).position==="fixed";let kn=wn?F$4(jt):jt;for(;d$8(kn)&&!w$7(kn);){const Cn=o$5(kn),Sn=y$5(kn);(wn?Sn||_n:Sn||Cn.position!=="static"||!_n||!["absolute","fixed"].includes(_n.position))?_n=Cn:bn=bn.filter(xn=>xn!==kn),kn=F$4(kn)}return hn.set(jt,bn),bn}($e,this._c):[].concat(Ie),At=[...qe,Fe],Dt=At[0],Lt=At.reduce((jt,hn)=>{const vn=S$5($e,hn,Ue);return jt.top=r$1(vn.top,jt.top),jt.right=i$8(vn.right,jt.right),jt.bottom=i$8(vn.bottom,jt.bottom),jt.left=r$1(vn.left,jt.left),jt},S$5($e,Dt,Ue));return{width:Lt.right-Lt.left,height:Lt.bottom-Lt.top,x:Lt.left,y:Lt.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(xe){let{rect:$e,offsetParent:Ie,strategy:Fe}=xe;const Ue=a$4(Ie),qe=R$4(Ie);if(Ie===qe)return $e;let At={scrollLeft:0,scrollTop:0},Dt={x:1,y:1};const Lt={x:0,y:0};if((Ue||!Ue&&Fe!=="fixed")&&((s$6(Ie)!=="body"||g$5(qe))&&(At=T$5(Ie)),a$4(Ie))){const jt=E$8(Ie);Dt=L$3(Ie),Lt.x=jt.x+Ie.clientLeft,Lt.y=jt.y+Ie.clientTop}return{width:$e.width*Dt.x,height:$e.height*Dt.y,x:$e.x*Dt.x-At.scrollLeft*Dt.x+Lt.x,y:$e.y*Dt.y-At.scrollTop*Dt.y+Lt.y}},isElement:d$8,getDimensions:function(xe){return a$4(xe)?c$6(xe):xe.getBoundingClientRect()},getOffsetParent:H$6,getDocumentElement:R$4,getScale:L$3,async getElementRects(xe){let{reference:$e,floating:Ie,strategy:Fe}=xe;const Ue=this.getOffsetParent||H$6,qe=this.getDimensions;return{reference:O$3($e,await Ue(Ie),Fe),floating:{x:0,y:0,...await qe(Ie)}}},getClientRects:xe=>Array.from(xe.getClientRects()),isRTL:xe=>o$5(xe).direction==="rtl"},B$4=(xe,$e,Ie)=>{const Fe=new Map,Ue={platform:P$5,...Ie},qe={...Ue.platform,_c:Fe};return computePosition$1(xe,$e,{...Ue,platform:qe})};function ye$1(xe,$e){for(const Ie in $e)Object.prototype.hasOwnProperty.call($e,Ie)&&(typeof $e[Ie]=="object"&&xe[Ie]?ye$1(xe[Ie],$e[Ie]):xe[Ie]=$e[Ie])}const h$3={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:xe=>[...xe,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function S$4(xe,$e){let Ie=h$3.themes[xe]||{},Fe;do Fe=Ie[$e],typeof Fe>"u"?Ie.$extend?Ie=h$3.themes[Ie.$extend]||{}:(Ie=null,Fe=h$3[$e]):Ie=null;while(Ie);return Fe}function Ze$1(xe){const $e=[xe];let Ie=h$3.themes[xe]||{};do Ie.$extend&&!Ie.$resetCss?($e.push(Ie.$extend),Ie=h$3.themes[Ie.$extend]||{}):Ie=null;while(Ie);return $e.map(Fe=>`v-popper--theme-${Fe}`)}function re(xe){const $e=[xe];let Ie=h$3.themes[xe]||{};do Ie.$extend?($e.push(Ie.$extend),Ie=h$3.themes[Ie.$extend]||{}):Ie=null;while(Ie);return $e}let $$3=!1;if(typeof window<"u"){$$3=!1;try{const xe=Object.defineProperty({},"passive",{get(){$$3=!0}});window.addEventListener("test",null,xe)}catch{}}let _e=!1;typeof window<"u"&&typeof navigator<"u"&&(_e=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Te$3=["auto","top","bottom","left","right"].reduce((xe,$e)=>xe.concat([$e,`${$e}-start`,`${$e}-end`]),[]),pe$1={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ae={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function de(xe,$e){const Ie=xe.indexOf($e);Ie!==-1&&xe.splice(Ie,1)}function G$2(){return new Promise(xe=>requestAnimationFrame(()=>{requestAnimationFrame(xe)}))}const d$7=[];let g$4=null;const le={};function he$1(xe){let $e=le[xe];return $e||($e=le[xe]=[]),$e}let Y$2=function(){};typeof window<"u"&&(Y$2=window.Element);function n$5(xe){return function($e){return S$4($e.theme,xe)}}const q$3="__floating-vue__popper",Q$3=()=>defineComponent({name:"VPopper",provide(){return{[q$3]:{parentPopper:this}}},inject:{[q$3]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:n$5("disabled")},positioningDisabled:{type:Boolean,default:n$5("positioningDisabled")},placement:{type:String,default:n$5("placement"),validator:xe=>Te$3.includes(xe)},delay:{type:[String,Number,Object],default:n$5("delay")},distance:{type:[Number,String],default:n$5("distance")},skidding:{type:[Number,String],default:n$5("skidding")},triggers:{type:Array,default:n$5("triggers")},showTriggers:{type:[Array,Function],default:n$5("showTriggers")},hideTriggers:{type:[Array,Function],default:n$5("hideTriggers")},popperTriggers:{type:Array,default:n$5("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:n$5("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:n$5("popperHideTriggers")},container:{type:[String,Object,Y$2,Boolean],default:n$5("container")},boundary:{type:[String,Y$2],default:n$5("boundary")},strategy:{type:String,validator:xe=>["absolute","fixed"].includes(xe),default:n$5("strategy")},autoHide:{type:[Boolean,Function],default:n$5("autoHide")},handleResize:{type:Boolean,default:n$5("handleResize")},instantMove:{type:Boolean,default:n$5("instantMove")},eagerMount:{type:Boolean,default:n$5("eagerMount")},popperClass:{type:[String,Array,Object],default:n$5("popperClass")},computeTransformOrigin:{type:Boolean,default:n$5("computeTransformOrigin")},autoMinSize:{type:Boolean,default:n$5("autoMinSize")},autoSize:{type:[Boolean,String],default:n$5("autoSize")},autoMaxSize:{type:Boolean,default:n$5("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:n$5("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:n$5("preventOverflow")},overflowPadding:{type:[Number,String],default:n$5("overflowPadding")},arrowPadding:{type:[Number,String],default:n$5("arrowPadding")},arrowOverflow:{type:Boolean,default:n$5("arrowOverflow")},flip:{type:Boolean,default:n$5("flip")},shift:{type:Boolean,default:n$5("shift")},shiftCrossAxis:{type:Boolean,default:n$5("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:n$5("noAutoFocus")},disposeTimeout:{type:Number,default:n$5("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":xe=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(xe=>xe.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var xe;return(xe=this[q$3])==null?void 0:xe.parentPopper},hasPopperShowTriggerHover(){var xe,$e;return((xe=this.popperTriggers)==null?void 0:xe.includes("hover"))||(($e=this.popperShowTriggers)==null?void 0:$e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(xe){xe?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((xe,$e)=>(xe[$e]="$_computePosition",xe),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:xe=null,skipDelay:$e=!1,force:Ie=!1}={}){var Fe,Ue;(Fe=this.parentPopper)!=null&&Fe.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(Ie||!this.disabled)&&(((Ue=this.parentPopper)==null?void 0:Ue.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(xe,$e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:xe=null,skipDelay:$e=!1}={}){var Ie;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:$e}),this.parentPopper.lockedChild=null)},1e3));return}((Ie=this.parentPopper)==null?void 0:Ie.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(xe,$e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var xe;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((xe=this.referenceNode)==null?void 0:xe.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter($e=>$e.nodeType===$e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const xe={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&xe.middleware.push(offset({mainAxis:this.distance,crossAxis:this.skidding}));const $e=this.placement.startsWith("auto");if($e?xe.middleware.push(autoPlacement({alignment:this.placement.split("-")[1]??""})):xe.placement=this.placement,this.preventOverflow&&(this.shift&&xe.middleware.push(shift$1({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!$e&&this.flip&&xe.middleware.push(flip$1({padding:this.overflowPadding,boundary:this.boundary}))),xe.middleware.push(arrow$1({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&xe.middleware.push({name:"arrowOverflow",fn:({placement:Fe,rects:Ue,middlewareData:qe})=>{let At;const{centerOffset:Dt}=qe.arrow;return Fe.startsWith("top")||Fe.startsWith("bottom")?At=Math.abs(Dt)>Ue.reference.width/2:At=Math.abs(Dt)>Ue.reference.height/2,{data:{overflow:At}}}}),this.autoMinSize||this.autoSize){const Fe=this.autoSize?this.autoSize:this.autoMinSize?"min":null;xe.middleware.push({name:"autoSize",fn:({rects:Ue,placement:qe,middlewareData:At})=>{var Dt;if((Dt=At.autoSize)!=null&&Dt.skip)return{};let Lt,jt;return qe.startsWith("top")||qe.startsWith("bottom")?Lt=Ue.reference.width:jt=Ue.reference.height,this.$_innerNode.style[Fe==="min"?"minWidth":Fe==="max"?"maxWidth":"width"]=Lt!=null?`${Lt}px`:null,this.$_innerNode.style[Fe==="min"?"minHeight":Fe==="max"?"maxHeight":"height"]=jt!=null?`${jt}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,xe.middleware.push(size({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:Fe,availableHeight:Ue})=>{this.$_innerNode.style.maxWidth=Fe!=null?`${Fe}px`:null,this.$_innerNode.style.maxHeight=Ue!=null?`${Ue}px`:null}})));const Ie=await B$4(this.$_referenceNode,this.$_popperNode,xe);Object.assign(this.result,{x:Ie.x,y:Ie.y,placement:Ie.placement,strategy:Ie.strategy,arrow:{...Ie.middlewareData.arrow,...Ie.middlewareData.arrowOverflow}})},$_scheduleShow(xe,$e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),g$4&&this.instantMove&&g$4.instantMove&&g$4!==this.parentPopper){g$4.$_applyHide(!0),this.$_applyShow(!0);return}$e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(xe,$e=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(g$4=this),$e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(xe){const $e=this.delay;return parseInt($e&&$e[xe]||$e||0)},async $_applyShow(xe=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=xe,!this.isShown&&(this.$_ensureTeleport(),await G$2(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...D$2(this.$_referenceNode),...D$2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const $e=this.$_referenceNode.getBoundingClientRect(),Ie=this.$_popperNode.querySelector(".v-popper__wrapper"),Fe=Ie.parentNode.getBoundingClientRect(),Ue=$e.x+$e.width/2-(Fe.left+Ie.offsetLeft),qe=$e.y+$e.height/2-(Fe.top+Ie.offsetTop);this.result.transformOrigin=`${Ue}px ${qe}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const xe=this.showGroup;if(xe){let $e;for(let Ie=0;Ie0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=xe,de(d$7,this),d$7.length===0&&document.body.classList.remove("v-popper--some-open");for(const Ie of re(this.theme)){const Fe=he$1(Ie);de(Fe,this),Fe.length===0&&document.body.classList.remove(`v-popper--some-open--${Ie}`)}g$4===this&&(g$4=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const $e=this.disposeTimeout;$e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},$e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await G$2(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let xe=this.container;if(typeof xe=="string"?xe=window.document.querySelector(xe):xe===!1&&(xe=this.$_targetNodes[0].parentNode),!xe)throw new Error("No container for popover: "+this.container);xe.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const xe=Ie=>{this.isShown&&!this.$_hideInProgress||(Ie.usedByTooltip=!0,!this.$_preventShow&&this.show({event:Ie}))};this.$_registerTriggerListeners(this.$_targetNodes,pe$1,this.triggers,this.showTriggers,xe),this.$_registerTriggerListeners([this.$_popperNode],pe$1,this.popperTriggers,this.popperShowTriggers,xe);const $e=Ie=>{Ie.usedByTooltip||this.hide({event:Ie})};this.$_registerTriggerListeners(this.$_targetNodes,ae,this.triggers,this.hideTriggers,$e),this.$_registerTriggerListeners([this.$_popperNode],ae,this.popperTriggers,this.popperHideTriggers,$e)},$_registerEventListeners(xe,$e,Ie){this.$_events.push({targetNodes:xe,eventType:$e,handler:Ie}),xe.forEach(Fe=>Fe.addEventListener($e,Ie,$$3?{passive:!0}:void 0))},$_registerTriggerListeners(xe,$e,Ie,Fe,Ue){let qe=Ie;Fe!=null&&(qe=typeof Fe=="function"?Fe(qe):Fe),qe.forEach(At=>{const Dt=$e[At];Dt&&this.$_registerEventListeners(xe,Dt,Ue)})},$_removeEventListeners(xe){const $e=[];this.$_events.forEach(Ie=>{const{targetNodes:Fe,eventType:Ue,handler:qe}=Ie;!xe||xe===Ue?Fe.forEach(At=>At.removeEventListener(Ue,qe)):$e.push(Ie)}),this.$_events=$e},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(xe,$e=!1){this.$_showFrameLocked||(this.hide({event:xe}),xe.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),$e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(xe,$e){for(const Ie of this.$_targetNodes){const Fe=Ie.getAttribute(xe);Fe&&(Ie.removeAttribute(xe),Ie.setAttribute($e,Fe))}},$_applyAttrsToTarget(xe){for(const $e of this.$_targetNodes)for(const Ie in xe){const Fe=xe[Ie];Fe==null?$e.removeAttribute(Ie):$e.setAttribute(Ie,Fe)}},$_updateParentShownChildren(xe){let $e=this.parentPopper;for(;$e;)xe?$e.shownChildren.add(this.randomId):($e.shownChildren.delete(this.randomId),$e.pendingHide&&$e.hide()),$e=$e.parentPopper},$_isAimingPopper(){const xe=this.$_referenceNode.getBoundingClientRect();if(y$4>=xe.left&&y$4<=xe.right&&_$2>=xe.top&&_$2<=xe.bottom){const $e=this.$_popperNode.getBoundingClientRect(),Ie=y$4-c$5,Fe=_$2-m$6,Ue=$e.left+$e.width/2-c$5+($e.top+$e.height/2)-m$6+$e.width+$e.height,qe=c$5+Ie*Ue,At=m$6+Fe*Ue;return C$2(c$5,m$6,qe,At,$e.left,$e.top,$e.left,$e.bottom)||C$2(c$5,m$6,qe,At,$e.left,$e.top,$e.right,$e.top)||C$2(c$5,m$6,qe,At,$e.right,$e.top,$e.right,$e.bottom)||C$2(c$5,m$6,qe,At,$e.left,$e.bottom,$e.right,$e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(_e){const xe=$$3?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",$e=>ue$1($e,!0),xe),document.addEventListener("touchend",$e=>fe$1($e,!0),xe)}else window.addEventListener("mousedown",xe=>ue$1(xe,!1),!0),window.addEventListener("click",xe=>fe$1(xe,!1),!0);window.addEventListener("resize",tt$2)}function ue$1(xe,$e){if(h$3.autoHideOnMousedown)Pe$1(xe,$e);else for(let Ie=0;Ie=0;Fe--){const Ue=d$7[Fe];try{const qe=Ue.containsGlobalTarget=Ue.mouseDownContains||Ue.popperNode().contains(xe.target);Ue.pendingHide=!1,requestAnimationFrame(()=>{if(Ue.pendingHide=!1,!Ie[Ue.randomId]&&ce$2(Ue,qe,xe)){if(Ue.$_handleGlobalClose(xe,$e),!xe.closeAllPopover&&xe.closePopover&&qe){let Dt=Ue.parentPopper;for(;Dt;)Ie[Dt.randomId]=!0,Dt=Dt.parentPopper;return}let At=Ue.parentPopper;for(;At&&ce$2(At,At.containsGlobalTarget,xe);)At.$_handleGlobalClose(xe,$e),At=At.parentPopper}})}catch{}}}function ce$2(xe,$e,Ie){return Ie.closeAllPopover||Ie.closePopover&&$e||et$2(xe,Ie)&&!$e}function et$2(xe,$e){if(typeof xe.autoHide=="function"){const Ie=xe.autoHide($e);return xe.lastAutoHide=Ie,Ie}return xe.autoHide}function tt$2(){for(let xe=0;xe{c$5=y$4,m$6=_$2,y$4=xe.clientX,_$2=xe.clientY},$$3?{passive:!0}:void 0);function C$2(xe,$e,Ie,Fe,Ue,qe,At,Dt){const Lt=((At-Ue)*($e-qe)-(Dt-qe)*(xe-Ue))/((Dt-qe)*(Ie-xe)-(At-Ue)*(Fe-$e)),jt=((Ie-xe)*($e-qe)-(Fe-$e)*(xe-Ue))/((Dt-qe)*(Ie-xe)-(At-Ue)*(Fe-$e));return Lt>=0&&Lt<=1&&jt>=0&&jt<=1}const ot$2={extends:Q$3()},B$3=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};function it$2(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{ref:"reference",class:normalizeClass(["v-popper",{"v-popper--shown":xe.slotData.isShown}])},[renderSlot(xe.$slots,"default",normalizeProps(guardReactiveProps(xe.slotData)))],2)}const st$2=B$3(ot$2,[["render",it$2]]);function nt$2(){var xe=window.navigator.userAgent,$e=xe.indexOf("MSIE ");if($e>0)return parseInt(xe.substring($e+5,xe.indexOf(".",$e)),10);var Ie=xe.indexOf("Trident/");if(Ie>0){var Fe=xe.indexOf("rv:");return parseInt(xe.substring(Fe+3,xe.indexOf(".",Fe)),10)}var Ue=xe.indexOf("Edge/");return Ue>0?parseInt(xe.substring(Ue+5,xe.indexOf(".",Ue)),10):-1}let z$3;function X$3(){X$3.init||(X$3.init=!0,z$3=nt$2()!==-1)}var E$7={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){X$3(),nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const xe=document.createElement("object");this._resizeObject=xe,xe.setAttribute("aria-hidden","true"),xe.setAttribute("tabindex",-1),xe.onload=this.addResizeHandlers,xe.type="text/html",z$3&&this.$el.appendChild(xe),xe.data="about:blank",z$3||this.$el.appendChild(xe)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!z$3&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const rt$2=withScopeId();pushScopeId("data-v-b329ee4c");const pt$2={class:"resize-observer",tabindex:"-1"};popScopeId();const at$2=rt$2((xe,$e,Ie,Fe,Ue,qe)=>(openBlock(),createBlock("div",pt$2)));E$7.render=at$2;E$7.__scopeId="data-v-b329ee4c";E$7.__file="src/components/ResizeObserver.vue";const Z$2=(xe="theme")=>({computed:{themeClass(){return Ze$1(this[xe])}}}),dt$2=defineComponent({name:"VPopperContent",components:{ResizeObserver:E$7},mixins:[Z$2()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(xe){return xe!=null&&!isNaN(xe)?`${xe}px`:null}}}),lt$2=["id","aria-hidden","tabindex","data-popper-placement"],ht$2={ref:"inner",class:"v-popper__inner"},ut$2=createBaseVNode("div",{class:"v-popper__arrow-outer"},null,-1),ft$2=createBaseVNode("div",{class:"v-popper__arrow-inner"},null,-1),ct$1=[ut$2,ft$2];function mt$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("ResizeObserver");return openBlock(),createElementBlock("div",{id:xe.popperId,ref:"popover",class:normalizeClass(["v-popper__popper",[xe.themeClass,xe.classes.popperClass,{"v-popper__popper--shown":xe.shown,"v-popper__popper--hidden":!xe.shown,"v-popper__popper--show-from":xe.classes.showFrom,"v-popper__popper--show-to":xe.classes.showTo,"v-popper__popper--hide-from":xe.classes.hideFrom,"v-popper__popper--hide-to":xe.classes.hideTo,"v-popper__popper--skip-transition":xe.skipTransition,"v-popper__popper--arrow-overflow":xe.result&&xe.result.arrow.overflow,"v-popper__popper--no-positioning":!xe.result}]]),style:normalizeStyle$1(xe.result?{position:xe.result.strategy,transform:`translate3d(${Math.round(xe.result.x)}px,${Math.round(xe.result.y)}px,0)`}:void 0),"aria-hidden":xe.shown?"false":"true",tabindex:xe.autoHide?0:void 0,"data-popper-placement":xe.result?xe.result.placement:void 0,onKeyup:$e[2]||($e[2]=withKeys(Dt=>xe.autoHide&&xe.$emit("hide"),["esc"]))},[createBaseVNode("div",{class:"v-popper__backdrop",onClick:$e[0]||($e[0]=Dt=>xe.autoHide&&xe.$emit("hide"))}),createBaseVNode("div",{class:"v-popper__wrapper",style:normalizeStyle$1(xe.result?{transformOrigin:xe.result.transformOrigin}:void 0)},[createBaseVNode("div",ht$2,[xe.mounted?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",null,[renderSlot(xe.$slots,"default")]),xe.handleResize?(openBlock(),createBlock(At,{key:0,onNotify:$e[1]||($e[1]=Dt=>xe.$emit("resize",Dt))})):createCommentVNode("",!0)],64)):createCommentVNode("",!0)],512),createBaseVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:normalizeStyle$1(xe.result?{left:xe.toPx(xe.result.arrow.x),top:xe.toPx(xe.result.arrow.y)}:void 0)},ct$1,4)],4)],46,lt$2)}const ee$1=B$3(dt$2,[["render",mt$2]]),te$1={methods:{show(...xe){return this.$refs.popper.show(...xe)},hide(...xe){return this.$refs.popper.hide(...xe)},dispose(...xe){return this.$refs.popper.dispose(...xe)},onResize(...xe){return this.$refs.popper.onResize(...xe)}}};let K$3=function(){};typeof window<"u"&&(K$3=window.Element);const gt$2=defineComponent({name:"VPopperWrapper",components:{Popper:st$2,PopperContent:ee$1},mixins:[te$1,Z$2("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,K$3,Boolean],default:void 0},boundary:{type:[String,K$3],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":xe=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(xe=>xe!==this.$refs.popperContent.$el)}}});function wt$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("PopperContent"),Dt=resolveComponent("Popper");return openBlock(),createBlock(Dt,mergeProps({ref:"popper"},xe.$props,{theme:xe.finalTheme,"target-nodes":xe.getTargetNodes,"popper-node":()=>xe.$refs.popperContent.$el,class:[xe.themeClass],onShow:$e[0]||($e[0]=()=>xe.$emit("show")),onHide:$e[1]||($e[1]=()=>xe.$emit("hide")),"onUpdate:shown":$e[2]||($e[2]=Lt=>xe.$emit("update:shown",Lt)),onApplyShow:$e[3]||($e[3]=()=>xe.$emit("apply-show")),onApplyHide:$e[4]||($e[4]=()=>xe.$emit("apply-hide")),onCloseGroup:$e[5]||($e[5]=()=>xe.$emit("close-group")),onCloseDirective:$e[6]||($e[6]=()=>xe.$emit("close-directive")),onAutoHide:$e[7]||($e[7]=()=>xe.$emit("auto-hide")),onResize:$e[8]||($e[8]=()=>xe.$emit("resize"))}),{default:withCtx(({popperId:Lt,isShown:jt,shouldMountContent:hn,skipTransition:vn,autoHide:bn,show:_n,hide:wn,handleResize:kn,onResize:Cn,classes:Sn,result:xn})=>[renderSlot(xe.$slots,"default",{shown:jt,show:_n,hide:wn}),createVNode$1(At,{ref:"popperContent","popper-id":Lt,theme:xe.finalTheme,shown:jt,mounted:hn,"skip-transition":vn,"auto-hide":bn,"handle-resize":kn,classes:Sn,result:xn,onHide:wn,onResize:Cn},{default:withCtx(()=>[renderSlot(xe.$slots,"popper",{shown:jt,hide:wn})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const k$3=B$3(gt$2,[["render",wt$2]]),Se$2={...k$3,name:"VDropdown",vPopperTheme:"dropdown"},be$1={...k$3,name:"VMenu",vPopperTheme:"menu"},Ce={...k$3,name:"VTooltip",vPopperTheme:"tooltip"},$t$2=defineComponent({name:"VTooltipDirective",components:{Popper:Q$3(),PopperContent:ee$1},mixins:[te$1],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:xe=>S$4(xe.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:xe=>S$4(xe.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(xe){if(typeof this.content=="function"&&this.$_isShown&&(xe||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const $e=++this.$_fetchId,Ie=this.content(this);Ie.then?Ie.then(Fe=>this.onResult($e,Fe)):this.onResult($e,Ie)}},onResult(xe,$e){xe===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=$e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),vt$2=["innerHTML"],yt$2=["textContent"];function _t$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("PopperContent"),Dt=resolveComponent("Popper");return openBlock(),createBlock(Dt,mergeProps({ref:"popper"},xe.$attrs,{theme:xe.theme,"target-nodes":xe.targetNodes,"popper-node":()=>xe.$refs.popperContent.$el,onApplyShow:xe.onShow,onApplyHide:xe.onHide}),{default:withCtx(({popperId:Lt,isShown:jt,shouldMountContent:hn,skipTransition:vn,autoHide:bn,hide:_n,handleResize:wn,onResize:kn,classes:Cn,result:Sn})=>[createVNode$1(At,{ref:"popperContent",class:normalizeClass({"v-popper--tooltip-loading":xe.loading}),"popper-id":Lt,theme:xe.theme,shown:jt,mounted:hn,"skip-transition":vn,"auto-hide":bn,"handle-resize":wn,classes:Cn,result:Sn,onHide:_n,onResize:kn},{default:withCtx(()=>[xe.html?(openBlock(),createElementBlock("div",{key:0,innerHTML:xe.finalContent},null,8,vt$2)):(openBlock(),createElementBlock("div",{key:1,textContent:toDisplayString(xe.finalContent)},null,8,yt$2))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const ze=B$3($t$2,[["render",_t$2]]),Ae$1="v-popper--has-tooltip";function Tt$2(xe,$e){let Ie=xe.placement;if(!Ie&&$e)for(const Fe of Te$3)$e[Fe]&&(Ie=Fe);return Ie||(Ie=S$4(xe.theme||"tooltip","placement")),Ie}function Ne(xe,$e,Ie){let Fe;const Ue=typeof $e;return Ue==="string"?Fe={content:$e}:$e&&Ue==="object"?Fe=$e:Fe={content:!1},Fe.placement=Tt$2(Fe,Ie),Fe.targetNodes=()=>[xe],Fe.referenceNode=()=>xe,Fe}let x$4,b$3,Pt=0;function St$2(){if(x$4)return;b$3=ref([]),x$4=createApp({name:"VTooltipDirectiveApp",setup(){return{directives:b$3}},render(){return this.directives.map($e=>h$5(ze,{...$e.options,shown:$e.shown||$e.options.shown,key:$e.id}))},devtools:{hide:!0}});const xe=document.createElement("div");document.body.appendChild(xe),x$4.mount(xe)}function bt$2(xe,$e,Ie){St$2();const Fe=ref(Ne(xe,$e,Ie)),Ue=ref(!1),qe={id:Pt++,options:Fe,shown:Ue};return b$3.value.push(qe),xe.classList&&xe.classList.add(Ae$1),xe.$_popper={options:Fe,item:qe,show(){Ue.value=!0},hide(){Ue.value=!1}}}function He$1(xe){if(xe.$_popper){const $e=b$3.value.indexOf(xe.$_popper.item);$e!==-1&&b$3.value.splice($e,1),delete xe.$_popper,delete xe.$_popperOldShown,delete xe.$_popperMountTarget}xe.classList&&xe.classList.remove(Ae$1)}function me$2(xe,{value:$e,modifiers:Ie}){const Fe=Ne(xe,$e,Ie);if(!Fe.content||S$4(Fe.theme||"tooltip","disabled"))He$1(xe);else{let Ue;xe.$_popper?(Ue=xe.$_popper,Ue.options.value=Fe):Ue=bt$2(xe,$e,Ie),typeof $e.shown<"u"&&$e.shown!==xe.$_popperOldShown&&(xe.$_popperOldShown=$e.shown,$e.shown?Ue.show():Ue.hide())}}const oe={beforeMount:me$2,updated:me$2,beforeUnmount(xe){He$1(xe)}};function ge$2(xe){xe.addEventListener("mousedown",H$5),xe.addEventListener("click",H$5),xe.addEventListener("touchstart",Oe,$$3?{passive:!0}:!1)}function we$1(xe){xe.removeEventListener("mousedown",H$5),xe.removeEventListener("click",H$5),xe.removeEventListener("touchstart",Oe),xe.removeEventListener("touchend",Me$1),xe.removeEventListener("touchcancel",Be$1)}function H$5(xe){const $e=xe.currentTarget;xe.closePopover=!$e.$_vclosepopover_touch,xe.closeAllPopover=$e.$_closePopoverModifiers&&!!$e.$_closePopoverModifiers.all}function Oe(xe){if(xe.changedTouches.length===1){const $e=xe.currentTarget;$e.$_vclosepopover_touch=!0;const Ie=xe.changedTouches[0];$e.$_vclosepopover_touchPoint=Ie,$e.addEventListener("touchend",Me$1),$e.addEventListener("touchcancel",Be$1)}}function Me$1(xe){const $e=xe.currentTarget;if($e.$_vclosepopover_touch=!1,xe.changedTouches.length===1){const Ie=xe.changedTouches[0],Fe=$e.$_vclosepopover_touchPoint;xe.closePopover=Math.abs(Ie.screenY-Fe.screenY)<20&&Math.abs(Ie.screenX-Fe.screenX)<20,xe.closeAllPopover=$e.$_closePopoverModifiers&&!!$e.$_closePopoverModifiers.all}}function Be$1(xe){const $e=xe.currentTarget;$e.$_vclosepopover_touch=!1}const ie={beforeMount(xe,{value:$e,modifiers:Ie}){xe.$_closePopoverModifiers=Ie,(typeof $e>"u"||$e)&&ge$2(xe)},updated(xe,{value:$e,oldValue:Ie,modifiers:Fe}){xe.$_closePopoverModifiers=Fe,$e!==Ie&&(typeof $e>"u"||$e?ge$2(xe):we$1(xe))},beforeUnmount(xe){we$1(xe)}};function Ct$2(xe,$e={}){xe.$_vTooltipInstalled||(xe.$_vTooltipInstalled=!0,ye$1(h$3,$e),xe.directive("tooltip",oe),xe.directive("close-popper",ie),xe.component("VTooltip",Ce),xe.component("VDropdown",Se$2),xe.component("VMenu",be$1))}const Gt$1={version:"5.2.2",install:Ct$2,options:h$3};var __defProp$1=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$1=Object.getOwnPropertySymbols,__hasOwnProp$1=Object.prototype.hasOwnProperty,__propIsEnum$1=Object.prototype.propertyIsEnumerable,__defNormalProp$1=(xe,$e,Ie)=>$e in xe?__defProp$1(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues$1=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp$1.call($e,Ie)&&__defNormalProp$1(xe,Ie,$e[Ie]);if(__getOwnPropSymbols$1)for(var Ie of __getOwnPropSymbols$1($e))__propIsEnum$1.call($e,Ie)&&__defNormalProp$1(xe,Ie,$e[Ie]);return xe},__spreadProps=(xe,$e)=>__defProps(xe,__getOwnPropDescs($e));const icons={},addIcon$1=function(xe,$e){icons[xe]=$e},Icon$2=defineComponent({name:"Icon",props:{name:String,color:String},computed:{svg(){if(this.name)return icons[this.name]}},render(xe){const $e=this.svg;if(!$e)return console.warn(`The name of '${this.name}' could not be found.`),createVNode$1("span",{class:"m-svg-icon"},null);const Ie={color:this.color?this.color:$e.fill?$e.fill:null};return createVNode$1("span",{class:["m-svg-icon","m-svg-icon--"+this.name]},[createVNode$1("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:$e.viewBox,style:Ie,class:$e.class},[$e.defs&&createVNode$1("defs",{innerHTML:$e.defs},null),$e.path&&createVNode$1("path",{fill:"currentColor",d:$e.path},null),$e.html&&createVNode$1("g",{innerHTML:$e.html},null),this.$slots.default])])}});Icon$2.add=addIcon$1;const error={name:"error",fill:"#F56C6C",viewBox:"0 0 1024 1024",path:"M512,952C269,952,72,755,72,512S269,72,512,72s440,197,440,440S755,952,512,952z M579.7,512l101.6-101.6 c18.7-18.7,18.7-49,0-67.7c-18.7-18.7-49-18.7-67.7,0l0,0L512,444.3L410.4,342.7c-18.7-18.7-49-18.7-67.7,0s-18.7,49,0,67.7 L444.3,512L342.7,613.6c-18.7,18.7-18.7,49,0,67.7c18.7,18.7,49,18.7,67.7,0L512,579.7l101.6,101.6c18.7,18.7,49,18.7,67.7,0 c18.7-18.7,18.7-49,0-67.7L579.7,512z"},info={name:"info",fill:"#1CADF2",viewBox:"0 0 1024 1024",path:"M512,72C269,72,72,269,72,512s197,440,440,440s440-197,440-440S755,72,512,72z M581,673.9 c-33.2,49.9-67,88.3-123.8,88.3c-38.8-6.3-54.7-34.1-46.3-62.4L484,457.6c1.8-5.9-1.2-12.3-6.6-14.2c-5.4-1.9-15.9,5.1-25.1,15.1 l-44.2,53.2c-1.2-8.9-0.1-23.7-0.1-29.6c33.2-49.9,87.8-89.2,124.8-89.2c35.2,3.6,51.8,31.7,45.7,62.6l-73.6,243.3 c-1,5.5,1.9,11.1,6.9,12.8c5.4,1.9,16.8-5.1,26-15.1l44.2-53.1C583,652.3,581,667.9,581,673.9z M571.2,357.6 c-28,0-50.6-20.4-50.6-50.4c0-30,22.7-50.3,50.6-50.3c28,0,50.6,20.4,50.6,50.3C621.8,337.3,599.1,357.6,571.2,357.6z"},success={name:"success",fill:"#17B77E",viewBox:"0 0 1024 1024",path:"M512,72C269,72,72,269,72,512s197,440,440,440s440-197,440-440S755,72,512,72L512,72z M758.9,374 c-48.5,48.6-81.2,76.9-172.3,186.8c-52.6,63.4-102.3,131.5-102.7,132L462.1,720c-4.6,6.1-13.5,6.8-19.1,1.6L267.9,558.9 c-17.8-16.5-18.8-44.4-2.3-62.2s44.4-18.8,62.2-2.3l104.9,97.5c5.5,5.1,14.1,4.5,18.9-1.3c16.2-20.1,38.4-44.5,62.4-68.6 c90.2-90.9,145.6-139.7,175.2-161.3c36-26.2,77.3-48.6,87.3-36.2C792,343.9,782.5,350.3,758.9,374L758.9,374z"},warning$1={name:"warning",fill:"#FFC603",viewBox:"0 0 1024 1024",path:"M512,952C269,952,72,755,72,512S269,72,512,72s440,197,440,440S755,952,512,952z M510,770.8 c30.4,0,55-24.6,55-55s-24.6-55-55-55s-55,24.6-55,55S479.6,770.8,510,770.8z M509.8,255.3c-39.3,0-71.2,31.9-71.2,71.2 c0,3.1,0.2,6.2,0.6,9.3L472.4,588c2.5,19.3,18.9,33.7,38.4,33.7c19.4,0,35.8-14.4,38.2-33.7l31.8-252.2c5-39.2-22.8-75-62-79.9 C515.9,255.5,512.8,255.3,509.8,255.3z"},loading={name:"loading",viewBox:"0 0 50 50",html:''};Icon$2.add(error.name,error);Icon$2.add(info.name,info);Icon$2.add(success.name,success);Icon$2.add(warning$1.name,warning$1);Icon$2.add(loading.name,loading);var _export_sfc$2=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};function useTimeout$1(xe,$e){const Ie=ref(0);return Ie.value=window.setTimeout(xe,$e),{stop(){window.clearTimeout(Ie.value)}}}const _sfc_main$2z=defineComponent({components:{Icon:Icon$2},name:"m-message",emits:["close","destroy","collapsed"],props:{id:String,type:{type:String,default:"info"},title:String,message:String,iconURL:String,duration:{type:Number,default:3e3},isCollapsed:Boolean,collapsable:Boolean,supportHTML:Boolean,width:String,className:String,wrapperClassName:String,closable:Boolean,stopTimerOnHover:{type:Boolean,default:!0}},setup(xe,{expose:$e,emit:Ie}){const Fe=reactive({visible:!0,collapsed:xe.isCollapsed,timer:null});let Ue;const qe=()=>{xe.duration<0||({stop:Ue}=useTimeout$1(()=>{Dt()},xe.duration))},At=()=>{Ue==null||Ue()},Dt=()=>{Fe.visible=!1},Lt=()=>{Fe.collapsed=!Fe.collapsed,Ie("collapsed",Fe.collapsed)},jt=()=>{Fe.visible=!1},hn=()=>{xe.stopTimerOnHover&&At()},vn=()=>{xe.stopTimerOnHover&&qe()};return onBeforeMount(()=>{At()}),onMounted(()=>{qe()}),$e({close:Dt}),{state:Fe,handleClearTimer:hn,handleStartTimer:vn,triggerCollapse:Lt,handleClose:jt}}}),_hoisted_1$1f=["id"],_hoisted_2$P={key:0,class:"m-message-icons"},_hoisted_3$q=["src"],_hoisted_4$f={class:"m-message-content"},_hoisted_5$a={key:0,class:"m-message--title"},_hoisted_6$7=["innerHTML"],_hoisted_7$5={key:0,class:"m-message--description"},_hoisted_8$5={class:"m-message--control"},_hoisted_9$4=createBaseVNode("svg",{viewBox:"0 0 35 35",width:"20",height:"20",version:"1.1",fill:"currentColor"},[createBaseVNode("path",{d:"M9.4,13.9c-0.2,0.2-0.2,0.6,0,0.8l8.1,8.1l0,0l0,0l8.1-8.1c0.2-0.2,0.2-0.6,0-0.8l-1.3-1.3 c-0.2-0.2-0.6-0.2-0.8,0l-5.5,5.5c-0.2,0.2-0.6,0.2-0.8,0l-5.5-5.5c-0.2-0.2-0.6-0.2-0.8,0L9.4,13.9z"})],-1),_hoisted_10$3=[_hoisted_9$4],_hoisted_11$3=createBaseVNode("svg",{viewBox:"0 0 35 35",width:"20",height:"20",version:"1.1",fill:"currentColor"},[createBaseVNode("path",{d:"M19.5,17.5l5.1,5.1l-2,2l-5.1-5.1l-5.1,5.1l-2-2l5.1-5.1l-5.1-5.1l2-2l5.1,5.1l5.1-5.1l2,2L19.5,17.5z"})],-1),_hoisted_12$3=[_hoisted_11$3];function _sfc_render$v(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("icon");return openBlock(),createBlock(Transition,{name:"m-message-fade",appear:"",mode:"in-out",onBeforeLeave:$e[4]||($e[4]=Dt=>xe.$emit("close")),onAfterLeave:$e[5]||($e[5]=Dt=>xe.$emit("destroy"))},{default:withCtx(()=>[xe.state.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["m-message-wrapper",xe.wrapperClassName]),id:xe.id,style:normalizeStyle$1({width:xe.width})},[createBaseVNode("div",{class:normalizeClass(["m-message",xe.className]),onMouseenter:$e[2]||($e[2]=(...Dt)=>xe.handleClearTimer&&xe.handleClearTimer(...Dt)),onMouseleave:$e[3]||($e[3]=(...Dt)=>xe.handleStartTimer&&xe.handleStartTimer(...Dt))},[xe.iconURL||xe.type?(openBlock(),createElementBlock("div",_hoisted_2$P,[xe.iconURL?(openBlock(),createElementBlock("img",{key:0,src:xe.iconURL,class:"m-message--icon"},null,8,_hoisted_3$q)):xe.type?(openBlock(),createBlock(At,{key:1,name:xe.type,class:"m-message--icon"},null,8,["name"])):createCommentVNode("",!0)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_4$f,[xe.title||xe.$slots.title?(openBlock(),createElementBlock("div",_hoisted_5$a,[renderSlot(xe.$slots,"title",{},()=>[createTextVNode(toDisplayString(xe.title),1)])])):createCommentVNode("",!0),xe.supportHTML&&xe.message?(openBlock(),createElementBlock(Fragment,{key:1},[xe.state.collapsed?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:0,class:"m-message--description",innerHTML:xe.message},null,8,_hoisted_6$7))],64)):(openBlock(),createElementBlock(Fragment,{key:2},[xe.state.collapsed?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_7$5,[renderSlot(xe.$slots,"default",{},()=>[createTextVNode(toDisplayString(xe.message),1)])]))],64))]),createBaseVNode("div",_hoisted_8$5,[xe.collapsable&&(xe.title||xe.$slots.title)?(openBlock(),createElementBlock("button",{key:0,class:normalizeClass(["m-message--button m-message--arrow-down",{"is-collapsed":xe.state.collapsed}]),onClick:$e[0]||($e[0]=(...Dt)=>xe.triggerCollapse&&xe.triggerCollapse(...Dt))},_hoisted_10$3,2)):createCommentVNode("",!0),xe.closable?(openBlock(),createElementBlock("button",{key:1,class:"m-message--button m-message--close",onClick:$e[1]||($e[1]=(...Dt)=>xe.handleClose&&xe.handleClose(...Dt))},_hoisted_12$3)):createCommentVNode("",!0)])],34)],14,_hoisted_1$1f)):createCommentVNode("",!0)]),_:3})}var MessageComponent=_export_sfc$2(_sfc_main$2z,[["render",_sfc_render$v]]);const instances$3=[];let seed$2=0;const containers={};let globalsOptions={};const defaultOptions={stopTimerOnHover:!0,duration:3e3},message$1=xe=>{const $e="m-message-"+seed$2++,Ie=__spreadProps(__spreadValues$1(__spreadValues$1(__spreadValues$1({},defaultOptions),globalsOptions),xe),{id:$e});delete Ie.hasMask,delete Ie.position,delete Ie.zIndex;const Fe=xe.position||"top-center",Ue=xe.hasMask||!1,qe=Fe+(Ue?"-mask":"");let At=containers[qe];At?At.count++:(At=containers[qe]={el:document.createElement("div"),count:1},At.el.className=["m-message-container","is-"+Fe,Ue?"has-mask":""].filter(function(vn){return!!vn}).join(" "),document.body.appendChild(At.el)),xe.zIndex&&(At.el.style.zIndex=String(xe.zIndex));let Dt=null;isVNode(xe.message)?(Dt={default:()=>xe.message},Ie.message=""):typeof xe.message=="function"&&(Dt={default:xe.message},Ie.message="");const Lt=createVNode$1(MessageComponent,Ie,Dt),jt=document.createElement("div");Lt.appContext=xe.ctx||message$1._context||null,Lt.props.onClose=xe.onClose,Lt.props.onDestroy=()=>{At.count--,At.count===0&&(delete containers[qe],At.el.remove()),render$2(null,jt)},render$2(Lt,jt),Fe.indexOf("bottom")===0&&At.el.firstChild?At.el.insertBefore(jt.firstElementChild,At.el.firstChild):At.el.appendChild(jt.firstElementChild);const hn={id:$e,close(){var vn,bn;(bn=(vn=Lt==null?void 0:Lt.component)==null?void 0:vn.exposed)==null||bn.close()}};return instances$3.push(hn),hn};message$1.success=(xe,$e)=>message$1(__spreadProps(__spreadValues$1({},$e),{type:"success",message:xe}));message$1.info=(xe,$e)=>message$1(__spreadProps(__spreadValues$1({},$e),{type:"info",message:xe}));message$1.warning=(xe,$e)=>message$1(__spreadProps(__spreadValues$1({},$e),{type:"warning",message:xe}));message$1.error=(xe,$e)=>message$1(__spreadProps(__spreadValues$1({},$e),{type:"error",message:xe}));message$1.loading=(xe,$e)=>message$1(__spreadProps(__spreadValues$1({},$e),{type:"loading",message:xe}));message$1.closeAll=function(){for(let xe=instances$3.length-1;xe>=0;xe--)instances$3[xe].close()};message$1.setDefault=xe=>{globalsOptions=__spreadValues$1({},xe)};const withInstall$1=(xe,$e)=>(xe.install=$e,xe);var index$1=withInstall$1(message$1,function(xe,$e={}){message$1._context=xe._context,xe.config.globalProperties["$"+($e.name||"mmessage")]=message$1,$e.defaultOptions&&message$1.setDefault($e.defaultOptions)});const matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(xe,$e,Ie,Fe="")=>{const Ue=xe.split(":");if(xe.slice(0,1)==="@"){if(Ue.length<2||Ue.length>3)return null;Fe=Ue.shift().slice(1)}if(Ue.length>3||!Ue.length)return null;if(Ue.length>1){const Dt=Ue.pop(),Lt=Ue.pop(),jt={provider:Ue.length>0?Ue[0]:Fe,prefix:Lt,name:Dt};return $e&&!validateIconName(jt)?null:jt}const qe=Ue[0],At=qe.split("-");if(At.length>1){const Dt={provider:Fe,prefix:At.shift(),name:At.join("-")};return $e&&!validateIconName(Dt)?null:Dt}if(Ie&&Fe===""){const Dt={provider:Fe,prefix:"",name:qe};return $e&&!validateIconName(Dt,Ie)?null:Dt}return null},validateIconName=(xe,$e)=>xe?!!((xe.provider===""||xe.provider.match(matchIconName))&&($e&&xe.prefix===""||xe.prefix.match(matchIconName))&&xe.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(xe,$e){const Ie={};!xe.hFlip!=!$e.hFlip&&(Ie.hFlip=!0),!xe.vFlip!=!$e.vFlip&&(Ie.vFlip=!0);const Fe=((xe.rotate||0)+($e.rotate||0))%4;return Fe&&(Ie.rotate=Fe),Ie}function mergeIconData(xe,$e){const Ie=mergeIconTransformations(xe,$e);for(const Fe in defaultExtendedIconProps)Fe in defaultIconTransformations?Fe in xe&&!(Fe in Ie)&&(Ie[Fe]=defaultIconTransformations[Fe]):Fe in $e?Ie[Fe]=$e[Fe]:Fe in xe&&(Ie[Fe]=xe[Fe]);return Ie}function getIconsTree(xe,$e){const Ie=xe.icons,Fe=xe.aliases||Object.create(null),Ue=Object.create(null);function qe(At){if(Ie[At])return Ue[At]=[];if(!(At in Ue)){Ue[At]=null;const Dt=Fe[At]&&Fe[At].parent,Lt=Dt&&qe(Dt);Lt&&(Ue[At]=[Dt].concat(Lt))}return Ue[At]}return Object.keys(Ie).concat(Object.keys(Fe)).forEach(qe),Ue}function internalGetIconData(xe,$e,Ie){const Fe=xe.icons,Ue=xe.aliases||Object.create(null);let qe={};function At(Dt){qe=mergeIconData(Fe[Dt]||Ue[Dt],qe)}return At($e),Ie.forEach(At),mergeIconData(xe,qe)}function parseIconSet(xe,$e){const Ie=[];if(typeof xe!="object"||typeof xe.icons!="object")return Ie;xe.not_found instanceof Array&&xe.not_found.forEach(Ue=>{$e(Ue,null),Ie.push(Ue)});const Fe=getIconsTree(xe);for(const Ue in Fe){const qe=Fe[Ue];qe&&($e(Ue,internalGetIconData(xe,Ue,qe)),Ie.push(Ue))}return Ie}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(xe,$e){for(const Ie in $e)if(Ie in xe&&typeof xe[Ie]!=typeof $e[Ie])return!1;return!0}function quicklyValidateIconSet(xe){if(typeof xe!="object"||xe===null)return null;const $e=xe;if(typeof $e.prefix!="string"||!xe.icons||typeof xe.icons!="object"||!checkOptionalProps(xe,optionalPropertyDefaults))return null;const Ie=$e.icons;for(const Ue in Ie){const qe=Ie[Ue];if(!Ue.match(matchIconName)||typeof qe.body!="string"||!checkOptionalProps(qe,defaultExtendedIconProps))return null}const Fe=$e.aliases||Object.create(null);for(const Ue in Fe){const qe=Fe[Ue],At=qe.parent;if(!Ue.match(matchIconName)||typeof At!="string"||!Ie[At]&&!Fe[At]||!checkOptionalProps(qe,defaultExtendedIconProps))return null}return $e}const dataStorage=Object.create(null);function newStorage(xe,$e){return{provider:xe,prefix:$e,icons:Object.create(null),missing:new Set}}function getStorage(xe,$e){const Ie=dataStorage[xe]||(dataStorage[xe]=Object.create(null));return Ie[$e]||(Ie[$e]=newStorage(xe,$e))}function addIconSet(xe,$e){return quicklyValidateIconSet($e)?parseIconSet($e,(Ie,Fe)=>{Fe?xe.icons[Ie]=Fe:xe.missing.add(Ie)}):[]}function addIconToStorage(xe,$e,Ie){try{if(typeof Ie.body=="string")return xe.icons[$e]={...Ie},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(xe){return typeof xe=="boolean"&&(simpleNames=xe),simpleNames}function getIconData(xe){const $e=typeof xe=="string"?stringToIcon(xe,!0,simpleNames):xe;if($e){const Ie=getStorage($e.provider,$e.prefix),Fe=$e.name;return Ie.icons[Fe]||(Ie.missing.has(Fe)?null:void 0)}}function addIcon(xe,$e){const Ie=stringToIcon(xe,!0,simpleNames);if(!Ie)return!1;const Fe=getStorage(Ie.provider,Ie.prefix);return addIconToStorage(Fe,Ie.name,$e)}function addCollection(xe,$e){if(typeof xe!="object")return!1;if(typeof $e!="string"&&($e=xe.provider||""),simpleNames&&!$e&&!xe.prefix){let Ue=!1;return quicklyValidateIconSet(xe)&&(xe.prefix="",parseIconSet(xe,(qe,At)=>{At&&addIcon(qe,At)&&(Ue=!0)})),Ue}const Ie=xe.prefix;if(!validateIconName({provider:$e,prefix:Ie,name:"a"}))return!1;const Fe=getStorage($e,Ie);return!!addIconSet(Fe,xe)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(xe,$e,Ie){if($e===1)return xe;if(Ie=Ie||100,typeof xe=="number")return Math.ceil(xe*$e*Ie)/Ie;if(typeof xe!="string")return xe;const Fe=xe.split(unitsSplit);if(Fe===null||!Fe.length)return xe;const Ue=[];let qe=Fe.shift(),At=unitsTest.test(qe);for(;;){if(At){const Dt=parseFloat(qe);isNaN(Dt)?Ue.push(qe):Ue.push(Math.ceil(Dt*$e*Ie)/Ie)}else Ue.push(qe);if(qe=Fe.shift(),qe===void 0)return Ue.join("");At=!At}}function splitSVGDefs(xe,$e="defs"){let Ie="";const Fe=xe.indexOf("<"+$e);for(;Fe>=0;){const Ue=xe.indexOf(">",Fe),qe=xe.indexOf("",qe);if(At===-1)break;Ie+=xe.slice(Ue+1,qe).trim(),xe=xe.slice(0,Fe).trim()+xe.slice(At+1)}return{defs:Ie,content:xe}}function mergeDefsAndContent(xe,$e){return xe?""+xe+""+$e:$e}function wrapSVGContent(xe,$e,Ie){const Fe=splitSVGDefs(xe);return mergeDefsAndContent(Fe.defs,$e+Fe.content+Ie)}const isUnsetKeyword=xe=>xe==="unset"||xe==="undefined"||xe==="none";function iconToSVG(xe,$e){const Ie={...defaultIconProps,...xe},Fe={...defaultIconCustomisations,...$e},Ue={left:Ie.left,top:Ie.top,width:Ie.width,height:Ie.height};let qe=Ie.body;[Ie,Fe].forEach(kn=>{const Cn=[],Sn=kn.hFlip,xn=kn.vFlip;let En=kn.rotate;Sn?xn?En+=2:(Cn.push("translate("+(Ue.width+Ue.left).toString()+" "+(0-Ue.top).toString()+")"),Cn.push("scale(-1 1)"),Ue.top=Ue.left=0):xn&&(Cn.push("translate("+(0-Ue.left).toString()+" "+(Ue.height+Ue.top).toString()+")"),Cn.push("scale(1 -1)"),Ue.top=Ue.left=0);let Tn;switch(En<0&&(En-=Math.floor(En/4)*4),En=En%4,En){case 1:Tn=Ue.height/2+Ue.top,Cn.unshift("rotate(90 "+Tn.toString()+" "+Tn.toString()+")");break;case 2:Cn.unshift("rotate(180 "+(Ue.width/2+Ue.left).toString()+" "+(Ue.height/2+Ue.top).toString()+")");break;case 3:Tn=Ue.width/2+Ue.left,Cn.unshift("rotate(-90 "+Tn.toString()+" "+Tn.toString()+")");break}En%2===1&&(Ue.left!==Ue.top&&(Tn=Ue.left,Ue.left=Ue.top,Ue.top=Tn),Ue.width!==Ue.height&&(Tn=Ue.width,Ue.width=Ue.height,Ue.height=Tn)),Cn.length&&(qe=wrapSVGContent(qe,'',""))});const At=Fe.width,Dt=Fe.height,Lt=Ue.width,jt=Ue.height;let hn,vn;At===null?(vn=Dt===null?"1em":Dt==="auto"?jt:Dt,hn=calculateSize(vn,Lt/jt)):(hn=At==="auto"?Lt:At,vn=Dt===null?calculateSize(hn,jt/Lt):Dt==="auto"?jt:Dt);const bn={},_n=(kn,Cn)=>{isUnsetKeyword(Cn)||(bn[kn]=Cn.toString())};_n("width",hn),_n("height",vn);const wn=[Ue.left,Ue.top,Lt,jt];return bn.viewBox=wn.join(" "),{attributes:bn,viewBox:wn,body:qe}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(xe,$e=randomPrefix){const Ie=[];let Fe;for(;Fe=regex.exec(xe);)Ie.push(Fe[1]);if(!Ie.length)return xe;const Ue="suffix"+(Math.random()*16777216|Date.now()).toString(16);return Ie.forEach(qe=>{const At=typeof $e=="function"?$e(qe):$e+(counter++).toString(),Dt=qe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");xe=xe.replace(new RegExp('([#;"])('+Dt+')([")]|\\.[a-z])',"g"),"$1"+At+Ue+"$3")}),xe=xe.replace(new RegExp(Ue,"g"),""),xe}const storage$1=Object.create(null);function setAPIModule(xe,$e){storage$1[xe]=$e}function getAPIModule(xe){return storage$1[xe]||storage$1[""]}function createAPIConfig(xe){let $e;if(typeof xe.resources=="string")$e=[xe.resources];else if($e=xe.resources,!($e instanceof Array)||!$e.length)return null;return{resources:$e,path:xe.path||"/",maxURL:xe.maxURL||500,rotate:xe.rotate||750,timeout:xe.timeout||5e3,random:xe.random===!0,index:xe.index||0,dataAfterTimeout:xe.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(xe,$e){const Ie=createAPIConfig($e);return Ie===null?!1:(configStorage[xe]=Ie,!0)}function getAPIConfig(xe){return configStorage[xe]}const detectFetch=()=>{let xe;try{if(xe=fetch,typeof xe=="function")return xe}catch{}};let fetchModule=detectFetch();function calculateMaxLength(xe,$e){const Ie=getAPIConfig(xe);if(!Ie)return 0;let Fe;if(!Ie.maxURL)Fe=0;else{let Ue=0;Ie.resources.forEach(At=>{Ue=Math.max(Ue,At.length)});const qe=$e+".json?icons=";Fe=Ie.maxURL-Ue-Ie.path.length-qe.length}return Fe}function shouldAbort(xe){return xe===404}const prepare$1=(xe,$e,Ie)=>{const Fe=[],Ue=calculateMaxLength(xe,$e),qe="icons";let At={type:qe,provider:xe,prefix:$e,icons:[]},Dt=0;return Ie.forEach((Lt,jt)=>{Dt+=Lt.length+1,Dt>=Ue&&jt>0&&(Fe.push(At),At={type:qe,provider:xe,prefix:$e,icons:[]},Dt=Lt.length),At.icons.push(Lt)}),Fe.push(At),Fe};function getPath(xe){if(typeof xe=="string"){const $e=getAPIConfig(xe);if($e)return $e.path}return"/"}const send=(xe,$e,Ie)=>{if(!fetchModule){Ie("abort",424);return}let Fe=getPath($e.provider);switch($e.type){case"icons":{const qe=$e.prefix,Dt=$e.icons.join(","),Lt=new URLSearchParams({icons:Dt});Fe+=qe+".json?"+Lt.toString();break}case"custom":{const qe=$e.uri;Fe+=qe.slice(0,1)==="/"?qe.slice(1):qe;break}default:Ie("abort",400);return}let Ue=503;fetchModule(xe+Fe).then(qe=>{const At=qe.status;if(At!==200){setTimeout(()=>{Ie(shouldAbort(At)?"abort":"next",At)});return}return Ue=501,qe.json()}).then(qe=>{if(typeof qe!="object"||qe===null){setTimeout(()=>{qe===404?Ie("abort",qe):Ie("next",Ue)});return}setTimeout(()=>{Ie("success",qe)})}).catch(()=>{Ie("next",Ue)})},fetchAPIModule={prepare:prepare$1,send};function sortIcons(xe){const $e={loaded:[],missing:[],pending:[]},Ie=Object.create(null);xe.sort((Ue,qe)=>Ue.provider!==qe.provider?Ue.provider.localeCompare(qe.provider):Ue.prefix!==qe.prefix?Ue.prefix.localeCompare(qe.prefix):Ue.name.localeCompare(qe.name));let Fe={provider:"",prefix:"",name:""};return xe.forEach(Ue=>{if(Fe.name===Ue.name&&Fe.prefix===Ue.prefix&&Fe.provider===Ue.provider)return;Fe=Ue;const qe=Ue.provider,At=Ue.prefix,Dt=Ue.name,Lt=Ie[qe]||(Ie[qe]=Object.create(null)),jt=Lt[At]||(Lt[At]=getStorage(qe,At));let hn;Dt in jt.icons?hn=$e.loaded:At===""||jt.missing.has(Dt)?hn=$e.missing:hn=$e.pending;const vn={provider:qe,prefix:At,name:Dt};hn.push(vn)}),$e}function removeCallback(xe,$e){xe.forEach(Ie=>{const Fe=Ie.loaderCallbacks;Fe&&(Ie.loaderCallbacks=Fe.filter(Ue=>Ue.id!==$e))})}function updateCallbacks(xe){xe.pendingCallbacksFlag||(xe.pendingCallbacksFlag=!0,setTimeout(()=>{xe.pendingCallbacksFlag=!1;const $e=xe.loaderCallbacks?xe.loaderCallbacks.slice(0):[];if(!$e.length)return;let Ie=!1;const Fe=xe.provider,Ue=xe.prefix;$e.forEach(qe=>{const At=qe.icons,Dt=At.pending.length;At.pending=At.pending.filter(Lt=>{if(Lt.prefix!==Ue)return!0;const jt=Lt.name;if(xe.icons[jt])At.loaded.push({provider:Fe,prefix:Ue,name:jt});else if(xe.missing.has(jt))At.missing.push({provider:Fe,prefix:Ue,name:jt});else return Ie=!0,!0;return!1}),At.pending.length!==Dt&&(Ie||removeCallback([xe],qe.id),qe.callback(At.loaded.slice(0),At.missing.slice(0),At.pending.slice(0),qe.abort))})}))}let idCounter=0;function storeCallback(xe,$e,Ie){const Fe=idCounter++,Ue=removeCallback.bind(null,Ie,Fe);if(!$e.pending.length)return Ue;const qe={id:Fe,icons:$e,callback:xe,abort:Ue};return Ie.forEach(At=>{(At.loaderCallbacks||(At.loaderCallbacks=[])).push(qe)}),Ue}function listToIcons(xe,$e=!0,Ie=!1){const Fe=[];return xe.forEach(Ue=>{const qe=typeof Ue=="string"?stringToIcon(Ue,$e,Ie):Ue;qe&&Fe.push(qe)}),Fe}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(xe,$e,Ie,Fe){const Ue=xe.resources.length,qe=xe.random?Math.floor(Math.random()*Ue):xe.index;let At;if(xe.random){let $n=xe.resources.slice(0);for(At=[];$n.length>1;){const Pn=Math.floor(Math.random()*$n.length);At.push($n[Pn]),$n=$n.slice(0,Pn).concat($n.slice(Pn+1))}At=At.concat($n)}else At=xe.resources.slice(qe).concat(xe.resources.slice(0,qe));const Dt=Date.now();let Lt="pending",jt=0,hn,vn=null,bn=[],_n=[];typeof Fe=="function"&&_n.push(Fe);function wn(){vn&&(clearTimeout(vn),vn=null)}function kn(){Lt==="pending"&&(Lt="aborted"),wn(),bn.forEach($n=>{$n.status==="pending"&&($n.status="aborted")}),bn=[]}function Cn($n,Pn){Pn&&(_n=[]),typeof $n=="function"&&_n.push($n)}function Sn(){return{startTime:Dt,payload:$e,status:Lt,queriesSent:jt,queriesPending:bn.length,subscribe:Cn,abort:kn}}function xn(){Lt="failed",_n.forEach($n=>{$n(void 0,hn)})}function En(){bn.forEach($n=>{$n.status==="pending"&&($n.status="aborted")}),bn=[]}function Tn($n,Pn,Nn){const Mn=Pn!=="success";switch(bn=bn.filter(In=>In!==$n),Lt){case"pending":break;case"failed":if(Mn||!xe.dataAfterTimeout)return;break;default:return}if(Pn==="abort"){hn=Nn,xn();return}if(Mn){hn=Nn,bn.length||(At.length?An():xn());return}if(wn(),En(),!xe.random){const In=xe.resources.indexOf($n.resource);In!==-1&&In!==xe.index&&(xe.index=In)}Lt="completed",_n.forEach(In=>{In(Nn)})}function An(){if(Lt!=="pending")return;wn();const $n=At.shift();if($n===void 0){if(bn.length){vn=setTimeout(()=>{wn(),Lt==="pending"&&(En(),xn())},xe.timeout);return}xn();return}const Pn={status:"pending",resource:$n,callback:(Nn,Mn)=>{Tn(Pn,Nn,Mn)}};bn.push(Pn),jt++,vn=setTimeout(An,xe.rotate),Ie($n,$e,Pn.callback)}return setTimeout(An),Sn}function initRedundancy(xe){const $e={...defaultConfig,...xe};let Ie=[];function Fe(){Ie=Ie.filter(Dt=>Dt().status==="pending")}function Ue(Dt,Lt,jt){const hn=sendQuery($e,Dt,Lt,(vn,bn)=>{Fe(),jt&&jt(vn,bn)});return Ie.push(hn),hn}function qe(Dt){return Ie.find(Lt=>Dt(Lt))||null}return{query:Ue,find:qe,setIndex:Dt=>{$e.index=Dt},getIndex:()=>$e.index,cleanup:Fe}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(xe){if(!redundancyCache[xe]){const $e=getAPIConfig(xe);if(!$e)return;const Ie=initRedundancy($e),Fe={config:$e,redundancy:Ie};redundancyCache[xe]=Fe}return redundancyCache[xe]}function sendAPIQuery(xe,$e,Ie){let Fe,Ue;if(typeof xe=="string"){const qe=getAPIModule(xe);if(!qe)return Ie(void 0,424),emptyCallback$1;Ue=qe.send;const At=getRedundancyCache(xe);At&&(Fe=At.redundancy)}else{const qe=createAPIConfig(xe);if(qe){Fe=initRedundancy(qe);const At=xe.resources?xe.resources[0]:"",Dt=getAPIModule(At);Dt&&(Ue=Dt.send)}}return!Fe||!Ue?(Ie(void 0,424),emptyCallback$1):Fe.query($e,Ue,Ie)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168,browserStorageLimit=50;function getStoredItem(xe,$e){try{return xe.getItem($e)}catch{}}function setStoredItem(xe,$e,Ie){try{return xe.setItem($e,Ie),!0}catch{}}function removeStoredItem(xe,$e){try{xe.removeItem($e)}catch{}}function setBrowserStorageItemsCount(xe,$e){return setStoredItem(xe,browserCacheCountKey,$e.toString())}function getBrowserStorageItemsCount(xe){return parseInt(getStoredItem(xe,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(xe){browserStorageStatus=xe}let _window=typeof window>"u"?{}:window;function getBrowserStorage(xe){const $e=xe+"Storage";try{if(_window&&_window[$e]&&typeof _window[$e].length=="number")return _window[$e]}catch{}browserStorageConfig[xe]=!1}function iterateBrowserStorage(xe,$e){const Ie=getBrowserStorage(xe);if(!Ie)return;const Fe=getStoredItem(Ie,browserCacheVersionKey);if(Fe!==browserCacheVersion){if(Fe){const Dt=getBrowserStorageItemsCount(Ie);for(let Lt=0;Lt{const Lt=browserCachePrefix+Dt.toString(),jt=getStoredItem(Ie,Lt);if(typeof jt=="string"){try{const hn=JSON.parse(jt);if(typeof hn=="object"&&typeof hn.cached=="number"&&hn.cached>Ue&&typeof hn.provider=="string"&&typeof hn.data=="object"&&typeof hn.data.prefix=="string"&&$e(hn,Dt))return!0}catch{}removeStoredItem(Ie,Lt)}};let At=getBrowserStorageItemsCount(Ie);for(let Dt=At-1;Dt>=0;Dt--)qe(Dt)||(Dt===At-1?(At--,setBrowserStorageItemsCount(Ie,At)):browserStorageEmptyItems[xe].add(Dt))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const xe in browserStorageConfig)iterateBrowserStorage(xe,$e=>{const Ie=$e.data,Fe=$e.provider,Ue=Ie.prefix,qe=getStorage(Fe,Ue);if(!addIconSet(qe,Ie).length)return!1;const At=Ie.lastModified||-1;return qe.lastModifiedCached=qe.lastModifiedCached?Math.min(qe.lastModifiedCached,At):At,!0})}}function updateLastModified(xe,$e){const Ie=xe.lastModifiedCached;if(Ie&&Ie>=$e)return Ie===$e;if(xe.lastModifiedCached=$e,Ie)for(const Fe in browserStorageConfig)iterateBrowserStorage(Fe,Ue=>{const qe=Ue.data;return Ue.provider!==xe.provider||qe.prefix!==xe.prefix||qe.lastModified===$e});return!0}function storeInBrowserStorage(xe,$e){browserStorageStatus||initBrowserStorage();function Ie(Fe){let Ue;if(!browserStorageConfig[Fe]||!(Ue=getBrowserStorage(Fe)))return;const qe=browserStorageEmptyItems[Fe];let At;if(qe.size)qe.delete(At=Array.from(qe).shift());else if(At=getBrowserStorageItemsCount(Ue),At>=browserStorageLimit||!setBrowserStorageItemsCount(Ue,At+1))return;const Dt={cached:Math.floor(Date.now()/browserStorageHour),provider:xe.provider,data:$e};return setStoredItem(Ue,browserCachePrefix+At.toString(),JSON.stringify(Dt))}$e.lastModified&&!updateLastModified(xe,$e.lastModified)||Object.keys($e.icons).length&&($e.not_found&&($e=Object.assign({},$e),delete $e.not_found),Ie("local")||Ie("session"))}function emptyCallback(){}function loadedNewIcons(xe){xe.iconsLoaderFlag||(xe.iconsLoaderFlag=!0,setTimeout(()=>{xe.iconsLoaderFlag=!1,updateCallbacks(xe)}))}function loadNewIcons(xe,$e){xe.iconsToLoad?xe.iconsToLoad=xe.iconsToLoad.concat($e).sort():xe.iconsToLoad=$e,xe.iconsQueueFlag||(xe.iconsQueueFlag=!0,setTimeout(()=>{xe.iconsQueueFlag=!1;const{provider:Ie,prefix:Fe}=xe,Ue=xe.iconsToLoad;delete xe.iconsToLoad;let qe;if(!Ue||!(qe=getAPIModule(Ie)))return;qe.prepare(Ie,Fe,Ue).forEach(Dt=>{sendAPIQuery(Ie,Dt,Lt=>{if(typeof Lt!="object")Dt.icons.forEach(jt=>{xe.missing.add(jt)});else try{const jt=addIconSet(xe,Lt);if(!jt.length)return;const hn=xe.pendingIcons;hn&&jt.forEach(vn=>{hn.delete(vn)}),storeInBrowserStorage(xe,Lt)}catch(jt){console.error(jt)}loadedNewIcons(xe)})})}))}const loadIcons=(xe,$e)=>{const Ie=listToIcons(xe,!0,allowSimpleNames()),Fe=sortIcons(Ie);if(!Fe.pending.length){let Lt=!0;return $e&&setTimeout(()=>{Lt&&$e(Fe.loaded,Fe.missing,Fe.pending,emptyCallback)}),()=>{Lt=!1}}const Ue=Object.create(null),qe=[];let At,Dt;return Fe.pending.forEach(Lt=>{const{provider:jt,prefix:hn}=Lt;if(hn===Dt&&jt===At)return;At=jt,Dt=hn,qe.push(getStorage(jt,hn));const vn=Ue[jt]||(Ue[jt]=Object.create(null));vn[hn]||(vn[hn]=[])}),Fe.pending.forEach(Lt=>{const{provider:jt,prefix:hn,name:vn}=Lt,bn=getStorage(jt,hn),_n=bn.pendingIcons||(bn.pendingIcons=new Set);_n.has(vn)||(_n.add(vn),Ue[jt][hn].push(vn))}),qe.forEach(Lt=>{const{provider:jt,prefix:hn}=Lt;Ue[jt][hn].length&&loadNewIcons(Lt,Ue[jt][hn])}),$e?storeCallback($e,Fe,qe):emptyCallback};function mergeCustomisations(xe,$e){const Ie={...xe};for(const Fe in $e){const Ue=$e[Fe],qe=typeof Ue;Fe in defaultIconSizeCustomisations?(Ue===null||Ue&&(qe==="string"||qe==="number"))&&(Ie[Fe]=Ue):qe===typeof Ie[Fe]&&(Ie[Fe]=Fe==="rotate"?Ue%4:Ue)}return Ie}const separator=/[\s,]+/;function flipFromString(xe,$e){$e.split(separator).forEach(Ie=>{switch(Ie.trim()){case"horizontal":xe.hFlip=!0;break;case"vertical":xe.vFlip=!0;break}})}function rotateFromString(xe,$e=0){const Ie=xe.replace(/^-?[0-9.]*/,"");function Fe(Ue){for(;Ue<0;)Ue+=4;return Ue%4}if(Ie===""){const Ue=parseInt(xe);return isNaN(Ue)?0:Fe(Ue)}else if(Ie!==xe){let Ue=0;switch(Ie){case"%":Ue=25;break;case"deg":Ue=90}if(Ue){let qe=parseFloat(xe.slice(0,xe.length-Ie.length));return isNaN(qe)?0:(qe=qe/Ue,qe%1===0?Fe(qe):0)}}return $e}function iconToHTML(xe,$e){let Ie=xe.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const Fe in $e)Ie+=" "+Fe+'="'+$e[Fe]+'"';return'"+xe+""}function encodeSVGforURL(xe){return xe.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function svgToData(xe){return"data:image/svg+xml,"+encodeSVGforURL(xe)}function svgToURL(xe){return'url("'+svgToData(xe)+'")'}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={webkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const xe in propsToAddTo){const $e=propsToAddTo[xe];for(const Ie in propsToAdd)$e[xe+Ie]=propsToAdd[Ie]}const customisationAliases={};["horizontal","vertical"].forEach(xe=>{const $e=xe.slice(0,1)+"Flip";customisationAliases[xe+"-flip"]=$e,customisationAliases[xe.slice(0,1)+"-flip"]=$e,customisationAliases[xe+"Flip"]=$e});function fixSize(xe){return xe+(xe.match(/^[-0-9.]+$/)?"px":"")}const render$1=(xe,$e)=>{const Ie=mergeCustomisations(defaultExtendedIconCustomisations,$e),Fe={...svgDefaults},Ue=$e.mode||"svg",qe={},At=$e.style,Dt=typeof At=="object"&&!(At instanceof Array)?At:{};for(let kn in $e){const Cn=$e[kn];if(Cn!==void 0)switch(kn){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":Ie[kn]=Cn===!0||Cn==="true"||Cn===1;break;case"flip":typeof Cn=="string"&&flipFromString(Ie,Cn);break;case"color":qe.color=Cn;break;case"rotate":typeof Cn=="string"?Ie[kn]=rotateFromString(Cn):typeof Cn=="number"&&(Ie[kn]=Cn);break;case"ariaHidden":case"aria-hidden":Cn!==!0&&Cn!=="true"&&delete Fe["aria-hidden"];break;default:{const Sn=customisationAliases[kn];Sn?(Cn===!0||Cn==="true"||Cn===1)&&(Ie[Sn]=!0):defaultExtendedIconCustomisations[kn]===void 0&&(Fe[kn]=Cn)}}}const Lt=iconToSVG(xe,Ie),jt=Lt.attributes;if(Ie.inline&&(qe.verticalAlign="-0.125em"),Ue==="svg"){Fe.style={...qe,...Dt},Object.assign(Fe,jt);let kn=0,Cn=$e.id;return typeof Cn=="string"&&(Cn=Cn.replace(/-/g,"_")),Fe.innerHTML=replaceIDs(Lt.body,Cn?()=>Cn+"ID"+kn++:"iconifyVue"),h$5("svg",Fe)}const{body:hn,width:vn,height:bn}=xe,_n=Ue==="mask"||(Ue==="bg"?!1:hn.indexOf("currentColor")!==-1),wn=iconToHTML(hn,{...jt,width:vn+"",height:bn+""});return Fe.style={...qe,"--svg":svgToURL(wn),width:fixSize(jt.width),height:fixSize(jt.height),...commonProps,..._n?monotoneProps:coloredProps,...Dt},h$5("span",Fe)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const xe=window;if(xe.IconifyPreload!==void 0){const $e=xe.IconifyPreload,Ie="Invalid IconifyPreload syntax.";typeof $e=="object"&&$e!==null&&($e instanceof Array?$e:[$e]).forEach(Fe=>{try{(typeof Fe!="object"||Fe===null||Fe instanceof Array||typeof Fe.icons!="object"||typeof Fe.prefix!="string"||!addCollection(Fe))&&console.error(Ie)}catch{console.error(Ie)}})}if(xe.IconifyProviders!==void 0){const $e=xe.IconifyProviders;if(typeof $e=="object"&&$e!==null)for(let Ie in $e){const Fe="IconifyProviders["+Ie+"] is invalid.";try{const Ue=$e[Ie];if(typeof Ue!="object"||!Ue||Ue.resources===void 0)continue;addAPIProvider(Ie,Ue)||console.error(Fe)}catch{console.error(Fe)}}}}const emptyIcon={...defaultIconProps,body:""},Icon$1=defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(xe,$e){if(typeof xe=="object"&&xe!==null&&typeof xe.body=="string")return this._name="",this.abortLoading(),{data:xe};let Ie;if(typeof xe!="string"||(Ie=stringToIcon(xe,!1,!0))===null)return this.abortLoading(),null;const Fe=getIconData(Ie);if(!Fe)return(!this._loadingIcon||this._loadingIcon.name!==xe)&&(this.abortLoading(),this._name="",Fe!==null&&(this._loadingIcon={name:xe,abort:loadIcons([Ie],()=>{this.counter++})})),null;this.abortLoading(),this._name!==xe&&(this._name=xe,$e&&$e(xe));const Ue=["iconify"];return Ie.prefix!==""&&Ue.push("iconify--"+Ie.prefix),Ie.provider!==""&&Ue.push("iconify--"+Ie.provider),{data:Fe,classes:Ue}}},render(){this.counter;const xe=this.$attrs,$e=this.iconMounted||xe.ssr?this.getIcon(xe.icon,xe.onLoad):null;if(!$e)return render$1(emptyIcon,xe);let Ie=xe;return $e.classes&&(Ie={...xe,class:(typeof xe.class=="string"?xe.class+" ":"")+$e.classes.join(" ")}),render$1({...defaultIconProps,...$e.data},Ie)}}),_hoisted_1$1e={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},_hoisted_2$O=["xlink:href"],_hoisted_3$p=["src"],_sfc_main$2y=defineComponent({name:"SvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},size:{}},setup(xe){const $e=xe,Ie=computed(()=>/^https?:\/\//.test($e.name)?"img":/i-[^:]+:[^:]+/.test($e.name)?"unocss":$e.name.includes(":")?"iconify":"svg"),Fe=computed(()=>{const Ue=[];if($e.flip)switch($e.flip){case"horizontal":Ue.push("rotateY(180deg)");break;case"vertical":Ue.push("rotateX(180deg)");break;case"both":Ue.push("rotateX(180deg)"),Ue.push("rotateY(180deg)");break}return $e.rotate&&Ue.push(`rotate(${$e.rotate%360}deg)`),{...$e.color&&{color:$e.color},...$e.size&&{fontSize:typeof $e.size=="number"?`${$e.size}px`:$e.size},...Ue.length&&{transform:Ue.join(" ")}}});return(Ue,qe)=>(openBlock(),createElementBlock("i",{class:normalizeClass(["relative h-[1em] w-[1em] flex-inline items-center justify-center fill-current leading-[1em]",{[Ue.name]:unref(Ie)==="unocss"}]),style:normalizeStyle$1(unref(Fe))},[unref(Ie)==="iconify"?(openBlock(),createBlock(unref(Icon$1),{key:0,icon:Ue.name},null,8,["icon"])):unref(Ie)==="svg"?(openBlock(),createElementBlock("svg",_hoisted_1$1e,[createBaseVNode("use",{"xlink:href":`#icon-${Ue.name}`},null,8,_hoisted_2$O)])):unref(Ie)==="img"?(openBlock(),createElementBlock("img",{key:2,src:Ue.name,class:"h-[1em] w-[1em]"},null,8,_hoisted_3$p)):createCommentVNode("",!0)],6))}});function t$7(xe){typeof queueMicrotask=="function"?queueMicrotask(xe):Promise.resolve().then(xe).catch($e=>setTimeout(()=>{throw $e}))}function o$4(){let xe=[],$e={addEventListener(Ie,Fe,Ue,qe){return Ie.addEventListener(Fe,Ue,qe),$e.add(()=>Ie.removeEventListener(Fe,Ue,qe))},requestAnimationFrame(...Ie){let Fe=requestAnimationFrame(...Ie);$e.add(()=>cancelAnimationFrame(Fe))},nextFrame(...Ie){$e.requestAnimationFrame(()=>{$e.requestAnimationFrame(...Ie)})},setTimeout(...Ie){let Fe=setTimeout(...Ie);$e.add(()=>clearTimeout(Fe))},microTask(...Ie){let Fe={current:!0};return t$7(()=>{Fe.current&&Ie[0]()}),$e.add(()=>{Fe.current=!1})},style(Ie,Fe,Ue){let qe=Ie.style.getPropertyValue(Fe);return Object.assign(Ie.style,{[Fe]:Ue}),this.add(()=>{Object.assign(Ie.style,{[Fe]:qe})})},group(Ie){let Fe=o$4();return Ie(Fe),this.add(()=>Fe.dispose())},add(Ie){return xe.push(Ie),()=>{let Fe=xe.indexOf(Ie);if(Fe>=0)for(let Ue of xe.splice(Fe,1))Ue()}},dispose(){for(let Ie of xe.splice(0))Ie()}};return $e}let t$6=Symbol("headlessui.useid"),i$7=0;function I$4(){return inject(t$6,()=>`${++i$7}`)()}function o$3(xe){var $e;if(xe==null||xe.value==null)return null;let Ie=($e=xe.value.$el)!=null?$e:xe.value;return Ie instanceof Node?Ie:null}function u$7(xe,$e,...Ie){if(xe in $e){let Ue=$e[xe];return typeof Ue=="function"?Ue(...Ie):Ue}let Fe=new Error(`Tried to handle "${xe}" but there is no handler defined. Only defined handlers are: ${Object.keys($e).map(Ue=>`"${Ue}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(Fe,u$7),Fe}var i$6=Object.defineProperty,d$6=(xe,$e,Ie)=>$e in xe?i$6(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,n$4=(xe,$e,Ie)=>(d$6(xe,typeof $e!="symbol"?$e+"":$e,Ie),Ie);let s$5=class{constructor(){n$4(this,"current",this.detect()),n$4(this,"currentId",0)}set($e){this.current!==$e&&(this.currentId=0,this.current=$e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},c$4=new s$5;function i$5(xe){if(c$4.isServer)return null;if(xe instanceof Node)return xe.ownerDocument;if(xe!=null&&xe.hasOwnProperty("value")){let $e=o$3(xe);if($e)return $e.ownerDocument}return document}let c$3=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(xe=>`${xe}:not([tabindex='-1'])`).join(",");var N$7=(xe=>(xe[xe.First=1]="First",xe[xe.Previous=2]="Previous",xe[xe.Next=4]="Next",xe[xe.Last=8]="Last",xe[xe.WrapAround=16]="WrapAround",xe[xe.NoScroll=32]="NoScroll",xe))(N$7||{}),T$4=(xe=>(xe[xe.Error=0]="Error",xe[xe.Overflow=1]="Overflow",xe[xe.Success=2]="Success",xe[xe.Underflow=3]="Underflow",xe))(T$4||{}),F$3=(xe=>(xe[xe.Previous=-1]="Previous",xe[xe.Next=1]="Next",xe))(F$3||{});function E$6(xe=document.body){return xe==null?[]:Array.from(xe.querySelectorAll(c$3)).sort(($e,Ie)=>Math.sign(($e.tabIndex||Number.MAX_SAFE_INTEGER)-(Ie.tabIndex||Number.MAX_SAFE_INTEGER)))}var h$2=(xe=>(xe[xe.Strict=0]="Strict",xe[xe.Loose=1]="Loose",xe))(h$2||{});function w$6(xe,$e=0){var Ie;return xe===((Ie=i$5(xe))==null?void 0:Ie.body)?!1:u$7($e,{0(){return xe.matches(c$3)},1(){let Fe=xe;for(;Fe!==null;){if(Fe.matches(c$3))return!0;Fe=Fe.parentElement}return!1}})}var y$3=(xe=>(xe[xe.Keyboard=0]="Keyboard",xe[xe.Mouse=1]="Mouse",xe))(y$3||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",xe=>{xe.metaKey||xe.altKey||xe.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",xe=>{xe.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:xe.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function S$3(xe){xe==null||xe.focus({preventScroll:!0})}let H$4=["textarea","input"].join(",");function I$3(xe){var $e,Ie;return(Ie=($e=xe==null?void 0:xe.matches)==null?void 0:$e.call(xe,H$4))!=null?Ie:!1}function O$2(xe,$e=Ie=>Ie){return xe.slice().sort((Ie,Fe)=>{let Ue=$e(Ie),qe=$e(Fe);if(Ue===null||qe===null)return 0;let At=Ue.compareDocumentPosition(qe);return At&Node.DOCUMENT_POSITION_FOLLOWING?-1:At&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function P$4(xe,$e,{sorted:Ie=!0,relativeTo:Fe=null,skipElements:Ue=[]}={}){var qe;let At=(qe=Array.isArray(xe)?xe.length>0?xe[0].ownerDocument:document:xe==null?void 0:xe.ownerDocument)!=null?qe:document,Dt=Array.isArray(xe)?Ie?O$2(xe):xe:E$6(xe);Ue.length>0&&Dt.length>1&&(Dt=Dt.filter(wn=>!Ue.includes(wn))),Fe=Fe??At.activeElement;let Lt=(()=>{if($e&5)return 1;if($e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),jt=(()=>{if($e&1)return 0;if($e&2)return Math.max(0,Dt.indexOf(Fe))-1;if($e&4)return Math.max(0,Dt.indexOf(Fe))+1;if($e&8)return Dt.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),hn=$e&32?{preventScroll:!0}:{},vn=0,bn=Dt.length,_n;do{if(vn>=bn||vn+bn<=0)return 0;let wn=jt+vn;if($e&16)wn=(wn+bn)%bn;else{if(wn<0)return 3;if(wn>=bn)return 1}_n=Dt[wn],_n==null||_n.focus(hn),vn+=Lt}while(_n!==At.activeElement);return $e&6&&I$3(_n)&&_n.select(),2}function t$5(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i$4(){return/Android/gi.test(window.navigator.userAgent)}function n$3(){return t$5()||i$4()}function u$6(xe,$e,Ie){c$4.isServer||watchEffect(Fe=>{document.addEventListener(xe,$e,Ie),Fe(()=>document.removeEventListener(xe,$e,Ie))})}function w$5(xe,$e,Ie){c$4.isServer||watchEffect(Fe=>{window.addEventListener(xe,$e,Ie),Fe(()=>window.removeEventListener(xe,$e,Ie))})}function w$4(xe,$e,Ie=computed(()=>!0)){function Fe(qe,At){if(!Ie.value||qe.defaultPrevented)return;let Dt=At(qe);if(Dt===null||!Dt.getRootNode().contains(Dt))return;let Lt=function jt(hn){return typeof hn=="function"?jt(hn()):Array.isArray(hn)||hn instanceof Set?hn:[hn]}(xe);for(let jt of Lt){if(jt===null)continue;let hn=jt instanceof HTMLElement?jt:o$3(jt);if(hn!=null&&hn.contains(Dt)||qe.composed&&qe.composedPath().includes(hn))return}return!w$6(Dt,h$2.Loose)&&Dt.tabIndex!==-1&&qe.preventDefault(),$e(qe,Dt)}let Ue=ref(null);u$6("pointerdown",qe=>{var At,Dt;Ie.value&&(Ue.value=((Dt=(At=qe.composedPath)==null?void 0:At.call(qe))==null?void 0:Dt[0])||qe.target)},!0),u$6("mousedown",qe=>{var At,Dt;Ie.value&&(Ue.value=((Dt=(At=qe.composedPath)==null?void 0:At.call(qe))==null?void 0:Dt[0])||qe.target)},!0),u$6("click",qe=>{n$3()||Ue.value&&(Fe(qe,()=>Ue.value),Ue.value=null)},!0),u$6("touchend",qe=>Fe(qe,()=>qe.target instanceof HTMLElement?qe.target:null),!0),w$5("blur",qe=>Fe(qe,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var N$6=(xe=>(xe[xe.None=0]="None",xe[xe.RenderStrategy=1]="RenderStrategy",xe[xe.Static=2]="Static",xe))(N$6||{}),S$2=(xe=>(xe[xe.Unmount=0]="Unmount",xe[xe.Hidden=1]="Hidden",xe))(S$2||{});function A$4({visible:xe=!0,features:$e=0,ourProps:Ie,theirProps:Fe,...Ue}){var qe;let At=j$1(Fe,Ie),Dt=Object.assign(Ue,{props:At});if(xe||$e&2&&At.static)return y$2(Dt);if($e&1){let Lt=(qe=At.unmount)==null||qe?0:1;return u$7(Lt,{0(){return null},1(){return y$2({...Ue,props:{...At,hidden:!0,style:{display:"none"}}})}})}return y$2(Dt)}function y$2({props:xe,attrs:$e,slots:Ie,slot:Fe,name:Ue}){var qe,At;let{as:Dt,...Lt}=T$3(xe,["unmount","static"]),jt=(qe=Ie.default)==null?void 0:qe.call(Ie,Fe),hn={};if(Fe){let vn=!1,bn=[];for(let[_n,wn]of Object.entries(Fe))typeof wn=="boolean"&&(vn=!0),wn===!0&&bn.push(_n);vn&&(hn["data-headlessui-state"]=bn.join(" "))}if(Dt==="template"){if(jt=b$2(jt??[]),Object.keys(Lt).length>0||Object.keys($e).length>0){let[vn,...bn]=jt??[];if(!v$2(vn)||bn.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${Ue} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(Lt).concat(Object.keys($e)).map(kn=>kn.trim()).filter((kn,Cn,Sn)=>Sn.indexOf(kn)===Cn).sort((kn,Cn)=>kn.localeCompare(Cn)).map(kn=>` - ${kn}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(kn=>` - ${kn}`).join(` +`)].join(` +`));let _n=j$1((At=vn.props)!=null?At:{},Lt,hn),wn=cloneVNode(vn,_n,!0);for(let kn in _n)kn.startsWith("on")&&(wn.props||(wn.props={}),wn.props[kn]=_n[kn]);return wn}return Array.isArray(jt)&&jt.length===1?jt[0]:jt}return h$5(Dt,Object.assign({},Lt,hn),{default:()=>jt})}function b$2(xe){return xe.flatMap($e=>$e.type===Fragment?b$2($e.children):[$e])}function j$1(...xe){if(xe.length===0)return{};if(xe.length===1)return xe[0];let $e={},Ie={};for(let Fe of xe)for(let Ue in Fe)Ue.startsWith("on")&&typeof Fe[Ue]=="function"?(Ie[Ue]!=null||(Ie[Ue]=[]),Ie[Ue].push(Fe[Ue])):$e[Ue]=Fe[Ue];if($e.disabled||$e["aria-disabled"])return Object.assign($e,Object.fromEntries(Object.keys(Ie).map(Fe=>[Fe,void 0])));for(let Fe in Ie)Object.assign($e,{[Fe](Ue,...qe){let At=Ie[Fe];for(let Dt of At){if(Ue instanceof Event&&Ue.defaultPrevented)return;Dt(Ue,...qe)}}});return $e}function E$5(xe){let $e=Object.assign({},xe);for(let Ie in $e)$e[Ie]===void 0&&delete $e[Ie];return $e}function T$3(xe,$e=[]){let Ie=Object.assign({},xe);for(let Fe of $e)Fe in Ie&&delete Ie[Fe];return Ie}function v$2(xe){return xe==null?!1:typeof xe.type=="string"||typeof xe.type=="object"||typeof xe.type=="function"}var u$5=(xe=>(xe[xe.None=1]="None",xe[xe.Focusable=2]="Focusable",xe[xe.Hidden=4]="Hidden",xe))(u$5||{});let f$3=defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(xe,{slots:$e,attrs:Ie}){return()=>{var Fe;let{features:Ue,...qe}=xe,At={"aria-hidden":(Ue&2)===2?!0:(Fe=qe["aria-hidden"])!=null?Fe:void 0,hidden:(Ue&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(Ue&4)===4&&(Ue&2)!==2&&{display:"none"}}};return A$4({ourProps:At,theirProps:qe,slot:{},attrs:Ie,slots:$e,name:"Hidden"})}}}),n$2=Symbol("Context");var i$3=(xe=>(xe[xe.Open=1]="Open",xe[xe.Closed=2]="Closed",xe[xe.Closing=4]="Closing",xe[xe.Opening=8]="Opening",xe))(i$3||{});function s$4(){return l$4()!==null}function l$4(){return inject(n$2,null)}function t$4(xe){provide(n$2,xe)}var o$2=(xe=>(xe.Space=" ",xe.Enter="Enter",xe.Escape="Escape",xe.Backspace="Backspace",xe.Delete="Delete",xe.ArrowLeft="ArrowLeft",xe.ArrowUp="ArrowUp",xe.ArrowRight="ArrowRight",xe.ArrowDown="ArrowDown",xe.Home="Home",xe.End="End",xe.PageUp="PageUp",xe.PageDown="PageDown",xe.Tab="Tab",xe))(o$2||{});function t$3(xe){function $e(){document.readyState!=="loading"&&(xe(),document.removeEventListener("DOMContentLoaded",$e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",$e),$e())}let t$2=[];t$3(()=>{function xe($e){$e.target instanceof HTMLElement&&$e.target!==document.body&&t$2[0]!==$e.target&&(t$2.unshift($e.target),t$2=t$2.filter(Ie=>Ie!=null&&Ie.isConnected),t$2.splice(10))}window.addEventListener("click",xe,{capture:!0}),window.addEventListener("mousedown",xe,{capture:!0}),window.addEventListener("focus",xe,{capture:!0}),document.body.addEventListener("click",xe,{capture:!0}),document.body.addEventListener("mousedown",xe,{capture:!0}),document.body.addEventListener("focus",xe,{capture:!0})});function E$4(xe,$e,Ie,Fe){c$4.isServer||watchEffect(Ue=>{xe=xe??window,xe.addEventListener($e,Ie,Fe),Ue(()=>xe.removeEventListener($e,Ie,Fe))})}var d$5=(xe=>(xe[xe.Forwards=0]="Forwards",xe[xe.Backwards=1]="Backwards",xe))(d$5||{});function n$1(){let xe=ref(0);return w$5("keydown",$e=>{$e.key==="Tab"&&(xe.value=$e.shiftKey?1:0)}),xe}function B$2(xe){if(!xe)return new Set;if(typeof xe=="function")return new Set(xe());let $e=new Set;for(let Ie of xe.value){let Fe=o$3(Ie);Fe instanceof HTMLElement&&$e.add(Fe)}return $e}var A$3=(xe=>(xe[xe.None=1]="None",xe[xe.InitialFocus=2]="InitialFocus",xe[xe.TabLock=4]="TabLock",xe[xe.FocusLock=8]="FocusLock",xe[xe.RestoreFocus=16]="RestoreFocus",xe[xe.All=30]="All",xe))(A$3||{});let ue=Object.assign(defineComponent({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:ref(new Set)}},inheritAttrs:!1,setup(xe,{attrs:$e,slots:Ie,expose:Fe}){let Ue=ref(null);Fe({el:Ue,$el:Ue});let qe=computed(()=>i$5(Ue)),At=ref(!1);onMounted(()=>At.value=!0),onUnmounted(()=>At.value=!1),$$2({ownerDocument:qe},computed(()=>At.value&&!!(xe.features&16)));let Dt=z$2({ownerDocument:qe,container:Ue,initialFocus:computed(()=>xe.initialFocus)},computed(()=>At.value&&!!(xe.features&2)));J$2({ownerDocument:qe,container:Ue,containers:xe.containers,previousActiveElement:Dt},computed(()=>At.value&&!!(xe.features&8)));let Lt=n$1();function jt(_n){let wn=o$3(Ue);wn&&(kn=>kn())(()=>{u$7(Lt.value,{[d$5.Forwards]:()=>{P$4(wn,N$7.First,{skipElements:[_n.relatedTarget]})},[d$5.Backwards]:()=>{P$4(wn,N$7.Last,{skipElements:[_n.relatedTarget]})}})})}let hn=ref(!1);function vn(_n){_n.key==="Tab"&&(hn.value=!0,requestAnimationFrame(()=>{hn.value=!1}))}function bn(_n){if(!At.value)return;let wn=B$2(xe.containers);o$3(Ue)instanceof HTMLElement&&wn.add(o$3(Ue));let kn=_n.relatedTarget;kn instanceof HTMLElement&&kn.dataset.headlessuiFocusGuard!=="true"&&(N$5(wn,kn)||(hn.value?P$4(o$3(Ue),u$7(Lt.value,{[d$5.Forwards]:()=>N$7.Next,[d$5.Backwards]:()=>N$7.Previous})|N$7.WrapAround,{relativeTo:_n.target}):_n.target instanceof HTMLElement&&S$3(_n.target)))}return()=>{let _n={},wn={ref:Ue,onKeydown:vn,onFocusout:bn},{features:kn,initialFocus:Cn,containers:Sn,...xn}=xe;return h$5(Fragment,[!!(kn&4)&&h$5(f$3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:jt,features:u$5.Focusable}),A$4({ourProps:wn,theirProps:{...$e,...xn},slot:_n,attrs:$e,slots:Ie,name:"FocusTrap"}),!!(kn&4)&&h$5(f$3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:jt,features:u$5.Focusable})])}}}),{features:A$3});function W$3(xe){let $e=ref(t$2.slice());return watch([xe],([Ie],[Fe])=>{Fe===!0&&Ie===!1?t$7(()=>{$e.value.splice(0)}):Fe===!1&&Ie===!0&&($e.value=t$2.slice())},{flush:"post"}),()=>{var Ie;return(Ie=$e.value.find(Fe=>Fe!=null&&Fe.isConnected))!=null?Ie:null}}function $$2({ownerDocument:xe},$e){let Ie=W$3($e);onMounted(()=>{watchEffect(()=>{var Fe,Ue;$e.value||((Fe=xe.value)==null?void 0:Fe.activeElement)===((Ue=xe.value)==null?void 0:Ue.body)&&S$3(Ie())},{flush:"post"})}),onUnmounted(()=>{$e.value&&S$3(Ie())})}function z$2({ownerDocument:xe,container:$e,initialFocus:Ie},Fe){let Ue=ref(null),qe=ref(!1);return onMounted(()=>qe.value=!0),onUnmounted(()=>qe.value=!1),onMounted(()=>{watch([$e,Ie,Fe],(At,Dt)=>{if(At.every((jt,hn)=>(Dt==null?void 0:Dt[hn])===jt)||!Fe.value)return;let Lt=o$3($e);Lt&&t$7(()=>{var jt,hn;if(!qe.value)return;let vn=o$3(Ie),bn=(jt=xe.value)==null?void 0:jt.activeElement;if(vn){if(vn===bn){Ue.value=bn;return}}else if(Lt.contains(bn)){Ue.value=bn;return}vn?S$3(vn):P$4(Lt,N$7.First|N$7.NoScroll)===T$4.Error&&console.warn("There are no focusable elements inside the "),Ue.value=(hn=xe.value)==null?void 0:hn.activeElement})},{immediate:!0,flush:"post"})}),Ue}function J$2({ownerDocument:xe,container:$e,containers:Ie,previousActiveElement:Fe},Ue){var qe;E$4((qe=xe.value)==null?void 0:qe.defaultView,"focus",At=>{if(!Ue.value)return;let Dt=B$2(Ie);o$3($e)instanceof HTMLElement&&Dt.add(o$3($e));let Lt=Fe.value;if(!Lt)return;let jt=At.target;jt&&jt instanceof HTMLElement?N$5(Dt,jt)?(Fe.value=jt,S$3(jt)):(At.preventDefault(),At.stopPropagation(),S$3(Lt)):S$3(Fe.value)},!0)}function N$5(xe,$e){for(let Ie of xe)if(Ie.contains($e))return!0;return!1}function m$5(xe){let $e=shallowRef(xe.getSnapshot());return onUnmounted(xe.subscribe(()=>{$e.value=xe.getSnapshot()})),$e}function a$3(xe,$e){let Ie=xe(),Fe=new Set;return{getSnapshot(){return Ie},subscribe(Ue){return Fe.add(Ue),()=>Fe.delete(Ue)},dispatch(Ue,...qe){let At=$e[Ue].call(Ie,...qe);At&&(Ie=At,Fe.forEach(Dt=>Dt()))}}}function c$2(){let xe;return{before({doc:$e}){var Ie;let Fe=$e.documentElement;xe=((Ie=$e.defaultView)!=null?Ie:window).innerWidth-Fe.clientWidth},after({doc:$e,d:Ie}){let Fe=$e.documentElement,Ue=Fe.clientWidth-Fe.offsetWidth,qe=xe-Ue;Ie.style(Fe,"paddingRight",`${qe}px`)}}}function w$3(){return t$5()?{before({doc:xe,d:$e,meta:Ie}){function Fe(Ue){return Ie.containers.flatMap(qe=>qe()).some(qe=>qe.contains(Ue))}$e.microTask(()=>{var Ue;if(window.getComputedStyle(xe.documentElement).scrollBehavior!=="auto"){let Dt=o$4();Dt.style(xe.documentElement,"scrollBehavior","auto"),$e.add(()=>$e.microTask(()=>Dt.dispose()))}let qe=(Ue=window.scrollY)!=null?Ue:window.pageYOffset,At=null;$e.addEventListener(xe,"click",Dt=>{if(Dt.target instanceof HTMLElement)try{let Lt=Dt.target.closest("a");if(!Lt)return;let{hash:jt}=new URL(Lt.href),hn=xe.querySelector(jt);hn&&!Fe(hn)&&(At=hn)}catch{}},!0),$e.addEventListener(xe,"touchstart",Dt=>{if(Dt.target instanceof HTMLElement)if(Fe(Dt.target)){let Lt=Dt.target;for(;Lt.parentElement&&Fe(Lt.parentElement);)Lt=Lt.parentElement;$e.style(Lt,"overscrollBehavior","contain")}else $e.style(Dt.target,"touchAction","none")}),$e.addEventListener(xe,"touchmove",Dt=>{if(Dt.target instanceof HTMLElement){if(Dt.target.tagName==="INPUT")return;if(Fe(Dt.target)){let Lt=Dt.target;for(;Lt.parentElement&&Lt.dataset.headlessuiPortal!==""&&!(Lt.scrollHeight>Lt.clientHeight||Lt.scrollWidth>Lt.clientWidth);)Lt=Lt.parentElement;Lt.dataset.headlessuiPortal===""&&Dt.preventDefault()}else Dt.preventDefault()}},{passive:!1}),$e.add(()=>{var Dt;let Lt=(Dt=window.scrollY)!=null?Dt:window.pageYOffset;qe!==Lt&&window.scrollTo(0,qe),At&&At.isConnected&&(At.scrollIntoView({block:"nearest"}),At=null)})})}}:{}}function l$3(){return{before({doc:xe,d:$e}){$e.style(xe.documentElement,"overflow","hidden")}}}function m$4(xe){let $e={};for(let Ie of xe)Object.assign($e,Ie($e));return $e}let a$2=a$3(()=>new Map,{PUSH(xe,$e){var Ie;let Fe=(Ie=this.get(xe))!=null?Ie:{doc:xe,count:0,d:o$4(),meta:new Set};return Fe.count++,Fe.meta.add($e),this.set(xe,Fe),this},POP(xe,$e){let Ie=this.get(xe);return Ie&&(Ie.count--,Ie.meta.delete($e)),this},SCROLL_PREVENT({doc:xe,d:$e,meta:Ie}){let Fe={doc:xe,d:$e,meta:m$4(Ie)},Ue=[w$3(),c$2(),l$3()];Ue.forEach(({before:qe})=>qe==null?void 0:qe(Fe)),Ue.forEach(({after:qe})=>qe==null?void 0:qe(Fe))},SCROLL_ALLOW({d:xe}){xe.dispose()},TEARDOWN({doc:xe}){this.delete(xe)}});a$2.subscribe(()=>{let xe=a$2.getSnapshot(),$e=new Map;for(let[Ie]of xe)$e.set(Ie,Ie.documentElement.style.overflow);for(let Ie of xe.values()){let Fe=$e.get(Ie.doc)==="hidden",Ue=Ie.count!==0;(Ue&&!Fe||!Ue&&Fe)&&a$2.dispatch(Ie.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",Ie),Ie.count===0&&a$2.dispatch("TEARDOWN",Ie)}});function d$4(xe,$e,Ie){let Fe=m$5(a$2),Ue=computed(()=>{let qe=xe.value?Fe.value.get(xe.value):void 0;return qe?qe.count>0:!1});return watch([xe,$e],([qe,At],[Dt],Lt)=>{if(!qe||!At)return;a$2.dispatch("PUSH",qe,Ie);let jt=!1;Lt(()=>{jt||(a$2.dispatch("POP",Dt??qe,Ie),jt=!0)})},{immediate:!0}),Ue}let i$2=new Map,t$1=new Map;function E$3(xe,$e=ref(!0)){watchEffect(Ie=>{var Fe;if(!$e.value)return;let Ue=o$3(xe);if(!Ue)return;Ie(function(){var At;if(!Ue)return;let Dt=(At=t$1.get(Ue))!=null?At:1;if(Dt===1?t$1.delete(Ue):t$1.set(Ue,Dt-1),Dt!==1)return;let Lt=i$2.get(Ue);Lt&&(Lt["aria-hidden"]===null?Ue.removeAttribute("aria-hidden"):Ue.setAttribute("aria-hidden",Lt["aria-hidden"]),Ue.inert=Lt.inert,i$2.delete(Ue))});let qe=(Fe=t$1.get(Ue))!=null?Fe:0;t$1.set(Ue,qe+1),qe===0&&(i$2.set(Ue,{"aria-hidden":Ue.getAttribute("aria-hidden"),inert:Ue.inert}),Ue.setAttribute("aria-hidden","true"),Ue.inert=!0)})}function N$4({defaultContainers:xe=[],portals:$e,mainTreeNodeRef:Ie}={}){let Fe=ref(null),Ue=i$5(Fe);function qe(){var At,Dt,Lt;let jt=[];for(let hn of xe)hn!==null&&(hn instanceof HTMLElement?jt.push(hn):"value"in hn&&hn.value instanceof HTMLElement&&jt.push(hn.value));if($e!=null&&$e.value)for(let hn of $e.value)jt.push(hn);for(let hn of(At=Ue==null?void 0:Ue.querySelectorAll("html > *, body > *"))!=null?At:[])hn!==document.body&&hn!==document.head&&hn instanceof HTMLElement&&hn.id!=="headlessui-portal-root"&&(hn.contains(o$3(Fe))||hn.contains((Lt=(Dt=o$3(Fe))==null?void 0:Dt.getRootNode())==null?void 0:Lt.host)||jt.some(vn=>hn.contains(vn))||jt.push(hn));return jt}return{resolveContainers:qe,contains(At){return qe().some(Dt=>Dt.contains(At))},mainTreeNodeRef:Fe,MainTreeNode(){return Ie!=null?null:h$5(f$3,{features:u$5.Hidden,ref:Fe})}}}let e$2=Symbol("ForcePortalRootContext");function s$3(){return inject(e$2,!1)}let u$4=defineComponent({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(xe,{slots:$e,attrs:Ie}){return provide(e$2,xe.force),()=>{let{force:Fe,...Ue}=xe;return A$4({theirProps:Ue,ourProps:{},slot:{},slots:$e,attrs:Ie,name:"ForcePortalRoot"})}}}),u$3=Symbol("StackContext");var s$2=(xe=>(xe[xe.Add=0]="Add",xe[xe.Remove=1]="Remove",xe))(s$2||{});function y$1(){return inject(u$3,()=>{})}function R$3({type:xe,enabled:$e,element:Ie,onUpdate:Fe}){let Ue=y$1();function qe(...At){Fe==null||Fe(...At),Ue(...At)}onMounted(()=>{watch($e,(At,Dt)=>{At?qe(0,xe,Ie):Dt===!0&&qe(1,xe,Ie)},{immediate:!0,flush:"sync"})}),onUnmounted(()=>{$e.value&&qe(1,xe,Ie)}),provide(u$3,qe)}let u$2=Symbol("DescriptionContext");function w$2(){let xe=inject(u$2,null);if(xe===null)throw new Error("Missing parent");return xe}function k$2({slot:xe=ref({}),name:$e="Description",props:Ie={}}={}){let Fe=ref([]);function Ue(qe){return Fe.value.push(qe),()=>{let At=Fe.value.indexOf(qe);At!==-1&&Fe.value.splice(At,1)}}return provide(u$2,{register:Ue,slot:xe,name:$e,props:Ie}),computed(()=>Fe.value.length>0?Fe.value.join(" "):void 0)}let K$2=defineComponent({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(xe,{attrs:$e,slots:Ie}){var Fe;let Ue=(Fe=xe.id)!=null?Fe:`headlessui-description-${I$4()}`,qe=w$2();return onMounted(()=>onUnmounted(qe.register(Ue))),()=>{let{name:At="Description",slot:Dt=ref({}),props:Lt={}}=qe,{...jt}=xe,hn={...Object.entries(Lt).reduce((vn,[bn,_n])=>Object.assign(vn,{[bn]:unref(_n)}),{}),id:Ue};return A$4({ourProps:hn,theirProps:jt,slot:Dt.value,attrs:$e,slots:Ie,name:At})}}});function x$3(xe){let $e=i$5(xe);if(!$e){if(xe===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${xe}`)}let Ie=$e.getElementById("headlessui-portal-root");if(Ie)return Ie;let Fe=$e.createElement("div");return Fe.setAttribute("id","headlessui-portal-root"),$e.body.appendChild(Fe)}const f$2=new WeakMap;function U$3(xe){var $e;return($e=f$2.get(xe))!=null?$e:0}function M$2(xe,$e){let Ie=$e(U$3(xe));return Ie<=0?f$2.delete(xe):f$2.set(xe,Ie),Ie}let $$1=defineComponent({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(xe,{slots:$e,attrs:Ie}){let Fe=ref(null),Ue=computed(()=>i$5(Fe)),qe=s$3(),At=inject(H$3,null),Dt=ref(qe===!0||At==null?x$3(Fe.value):At.resolveTarget());Dt.value&&M$2(Dt.value,bn=>bn+1);let Lt=ref(!1);onMounted(()=>{Lt.value=!0}),watchEffect(()=>{qe||At!=null&&(Dt.value=At.resolveTarget())});let jt=inject(d$3,null),hn=!1,vn=getCurrentInstance();return watch(Fe,()=>{if(hn||!jt)return;let bn=o$3(Fe);bn&&(onUnmounted(jt.register(bn),vn),hn=!0)}),onUnmounted(()=>{var bn,_n;let wn=(bn=Ue.value)==null?void 0:bn.getElementById("headlessui-portal-root");!wn||Dt.value!==wn||M$2(Dt.value,kn=>kn-1)||Dt.value.children.length>0||(_n=Dt.value.parentElement)==null||_n.removeChild(Dt.value)}),()=>{if(!Lt.value||Dt.value===null)return null;let bn={ref:Fe,"data-headlessui-portal":""};return h$5(Teleport,{to:Dt.value},A$4({ourProps:bn,theirProps:xe,slot:{},attrs:Ie,slots:$e,name:"Portal"}))}}}),d$3=Symbol("PortalParentContext");function q$2(){let xe=inject(d$3,null),$e=ref([]);function Ie(qe){return $e.value.push(qe),xe&&xe.register(qe),()=>Fe(qe)}function Fe(qe){let At=$e.value.indexOf(qe);At!==-1&&$e.value.splice(At,1),xe&&xe.unregister(qe)}let Ue={register:Ie,unregister:Fe,portals:$e};return[$e,defineComponent({name:"PortalWrapper",setup(qe,{slots:At}){return provide(d$3,Ue),()=>{var Dt;return(Dt=At.default)==null?void 0:Dt.call(At)}}})]}let H$3=Symbol("PortalGroupContext"),z$1=defineComponent({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(xe,{attrs:$e,slots:Ie}){let Fe=reactive({resolveTarget(){return xe.target}});return provide(H$3,Fe),()=>{let{target:Ue,...qe}=xe;return A$4({theirProps:qe,ourProps:{},slot:{},attrs:$e,slots:Ie,name:"PortalGroup"})}}});var Te$2=(xe=>(xe[xe.Open=0]="Open",xe[xe.Closed=1]="Closed",xe))(Te$2||{});let H$2=Symbol("DialogContext");function T$2(xe){let $e=inject(H$2,null);if($e===null){let Ie=new Error(`<${xe} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(Ie,T$2),Ie}return $e}let A$2="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Ye$1=defineComponent({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:A$2},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:xe=>!0},setup(xe,{emit:$e,attrs:Ie,slots:Fe,expose:Ue}){var qe,At;let Dt=(qe=xe.id)!=null?qe:`headlessui-dialog-${I$4()}`,Lt=ref(!1);onMounted(()=>{Lt.value=!0});let jt=!1,hn=computed(()=>xe.role==="dialog"||xe.role==="alertdialog"?xe.role:(jt||(jt=!0,console.warn(`Invalid role [${hn}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),vn=ref(0),bn=l$4(),_n=computed(()=>xe.open===A$2&&bn!==null?(bn.value&i$3.Open)===i$3.Open:xe.open),wn=ref(null),kn=computed(()=>i$5(wn));if(Ue({el:wn,$el:wn}),!(xe.open!==A$2||bn!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof _n.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${_n.value===A$2?void 0:xe.open}`);let Cn=computed(()=>Lt.value&&_n.value?0:1),Sn=computed(()=>Cn.value===0),xn=computed(()=>vn.value>1),En=inject(H$2,null)!==null,[Tn,An]=q$2(),{resolveContainers:$n,mainTreeNodeRef:Pn,MainTreeNode:Nn}=N$4({portals:Tn,defaultContainers:[computed(()=>{var Gn;return(Gn=Hn.panelRef.value)!=null?Gn:wn.value})]}),Mn=computed(()=>xn.value?"parent":"leaf"),In=computed(()=>bn!==null?(bn.value&i$3.Closing)===i$3.Closing:!1),On=computed(()=>En||In.value?!1:Sn.value),Rn=computed(()=>{var Gn,Wn,Xn;return(Xn=Array.from((Wn=(Gn=kn.value)==null?void 0:Gn.querySelectorAll("body > *"))!=null?Wn:[]).find(er=>er.id==="headlessui-portal-root"?!1:er.contains(o$3(Pn))&&er instanceof HTMLElement))!=null?Xn:null});E$3(Rn,On);let Bn=computed(()=>xn.value?!0:Sn.value),Vn=computed(()=>{var Gn,Wn,Xn;return(Xn=Array.from((Wn=(Gn=kn.value)==null?void 0:Gn.querySelectorAll("[data-headlessui-portal]"))!=null?Wn:[]).find(er=>er.contains(o$3(Pn))&&er instanceof HTMLElement))!=null?Xn:null});E$3(Vn,Bn),R$3({type:"Dialog",enabled:computed(()=>Cn.value===0),element:wn,onUpdate:(Gn,Wn)=>{if(Wn==="Dialog")return u$7(Gn,{[s$2.Add]:()=>vn.value+=1,[s$2.Remove]:()=>vn.value-=1})}});let Ln=k$2({name:"DialogDescription",slot:computed(()=>({open:_n.value}))}),Dn=ref(null),Hn={titleId:Dn,panelRef:ref(null),dialogState:Cn,setTitleId(Gn){Dn.value!==Gn&&(Dn.value=Gn)},close(){$e("close",!1)}};provide(H$2,Hn);let Fn=computed(()=>!(!Sn.value||xn.value));w$4($n,(Gn,Wn)=>{Gn.preventDefault(),Hn.close(),nextTick(()=>Wn==null?void 0:Wn.focus())},Fn);let zn=computed(()=>!(xn.value||Cn.value!==0));E$4((At=kn.value)==null?void 0:At.defaultView,"keydown",Gn=>{zn.value&&(Gn.defaultPrevented||Gn.key===o$2.Escape&&(Gn.preventDefault(),Gn.stopPropagation(),Hn.close()))});let jn=computed(()=>!(In.value||Cn.value!==0||En));return d$4(kn,jn,Gn=>{var Wn;return{containers:[...(Wn=Gn.containers)!=null?Wn:[],$n]}}),watchEffect(Gn=>{if(Cn.value!==0)return;let Wn=o$3(wn);if(!Wn)return;let Xn=new ResizeObserver(er=>{for(let rr of er){let Jn=rr.target.getBoundingClientRect();Jn.x===0&&Jn.y===0&&Jn.width===0&&Jn.height===0&&Hn.close()}});Xn.observe(Wn),Gn(()=>Xn.disconnect())}),()=>{let{open:Gn,initialFocus:Wn,...Xn}=xe,er={...Ie,ref:wn,id:Dt,role:hn.value,"aria-modal":Cn.value===0?!0:void 0,"aria-labelledby":Dn.value,"aria-describedby":Ln.value},rr={open:Cn.value===0};return h$5(u$4,{force:!0},()=>[h$5($$1,()=>h$5(z$1,{target:wn.value},()=>h$5(u$4,{force:!1},()=>h$5(ue,{initialFocus:Wn,containers:$n,features:Sn.value?u$7(Mn.value,{parent:ue.features.RestoreFocus,leaf:ue.features.All&~ue.features.FocusLock}):ue.features.None},()=>h$5(An,{},()=>A$4({ourProps:er,theirProps:{...Xn,...Ie},slot:rr,attrs:Ie,slots:Fe,visible:Cn.value===0,features:N$6.RenderStrategy|N$6.Static,name:"Dialog"})))))),h$5(Nn)])}}}),Ge$1=defineComponent({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(xe,{attrs:$e,slots:Ie,expose:Fe}){var Ue;let qe=(Ue=xe.id)!=null?Ue:`headlessui-dialog-panel-${I$4()}`,At=T$2("DialogPanel");Fe({el:At.panelRef,$el:At.panelRef});function Dt(Lt){Lt.stopPropagation()}return()=>{let{...Lt}=xe,jt={id:qe,ref:At.panelRef,onClick:Dt};return A$4({ourProps:jt,theirProps:Lt,slot:{open:At.dialogState.value===0},attrs:$e,slots:Ie,name:"DialogPanel"})}}}),Ve=defineComponent({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(xe,{attrs:$e,slots:Ie}){var Fe;let Ue=(Fe=xe.id)!=null?Fe:`headlessui-dialog-title-${I$4()}`,qe=T$2("DialogTitle");return onMounted(()=>{qe.setTitleId(Ue),onUnmounted(()=>qe.setTitleId(null))}),()=>{let{...At}=xe;return A$4({ourProps:{id:Ue},theirProps:At,slot:{open:qe.dialogState.value===0},attrs:$e,slots:Ie,name:"DialogTitle"})}}}),Je$1=K$2;function l$2(xe){let $e={called:!1};return(...Ie)=>{if(!$e.called)return $e.called=!0,xe(...Ie)}}function m$3(xe,...$e){xe&&$e.length>0&&xe.classList.add(...$e)}function d$2(xe,...$e){xe&&$e.length>0&&xe.classList.remove(...$e)}var g$3=(xe=>(xe.Finished="finished",xe.Cancelled="cancelled",xe))(g$3||{});function F$2(xe,$e){let Ie=o$4();if(!xe)return Ie.dispose;let{transitionDuration:Fe,transitionDelay:Ue}=getComputedStyle(xe),[qe,At]=[Fe,Ue].map(Dt=>{let[Lt=0]=Dt.split(",").filter(Boolean).map(jt=>jt.includes("ms")?parseFloat(jt):parseFloat(jt)*1e3).sort((jt,hn)=>hn-jt);return Lt});return qe!==0?Ie.setTimeout(()=>$e("finished"),qe+At):$e("finished"),Ie.add(()=>$e("cancelled")),Ie.dispose}function L$2(xe,$e,Ie,Fe,Ue,qe){let At=o$4(),Dt=qe!==void 0?l$2(qe):()=>{};return d$2(xe,...Ue),m$3(xe,...$e,...Ie),At.nextFrame(()=>{d$2(xe,...Ie),m$3(xe,...Fe),At.add(F$2(xe,Lt=>(d$2(xe,...Fe,...$e),m$3(xe,...Ue),Dt(Lt))))}),At.add(()=>d$2(xe,...$e,...Ie,...Fe,...Ue)),At.add(()=>Dt("cancelled")),At.dispose}function g$2(xe=""){return xe.split(/\s+/).filter($e=>$e.length>1)}let R$2=Symbol("TransitionContext");var pe=(xe=>(xe.Visible="visible",xe.Hidden="hidden",xe))(pe||{});function me$1(){return inject(R$2,null)!==null}function Te$1(){let xe=inject(R$2,null);if(xe===null)throw new Error("A is used but it is missing a parent .");return xe}function ge$1(){let xe=inject(N$3,null);if(xe===null)throw new Error("A is used but it is missing a parent .");return xe}let N$3=Symbol("NestingContext");function L$1(xe){return"children"in xe?L$1(xe.children):xe.value.filter(({state:$e})=>$e==="visible").length>0}function Q$2(xe){let $e=ref([]),Ie=ref(!1);onMounted(()=>Ie.value=!0),onUnmounted(()=>Ie.value=!1);function Fe(qe,At=S$2.Hidden){let Dt=$e.value.findIndex(({id:Lt})=>Lt===qe);Dt!==-1&&(u$7(At,{[S$2.Unmount](){$e.value.splice(Dt,1)},[S$2.Hidden](){$e.value[Dt].state="hidden"}}),!L$1($e)&&Ie.value&&(xe==null||xe()))}function Ue(qe){let At=$e.value.find(({id:Dt})=>Dt===qe);return At?At.state!=="visible"&&(At.state="visible"):$e.value.push({id:qe,state:"visible"}),()=>Fe(qe,S$2.Unmount)}return{children:$e,register:Ue,unregister:Fe}}let W$2=N$6.RenderStrategy,he=defineComponent({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(xe,{emit:$e,attrs:Ie,slots:Fe,expose:Ue}){let qe=ref(0);function At(){qe.value|=i$3.Opening,$e("beforeEnter")}function Dt(){qe.value&=~i$3.Opening,$e("afterEnter")}function Lt(){qe.value|=i$3.Closing,$e("beforeLeave")}function jt(){qe.value&=~i$3.Closing,$e("afterLeave")}if(!me$1()&&s$4())return()=>h$5(Se$1,{...xe,onBeforeEnter:At,onAfterEnter:Dt,onBeforeLeave:Lt,onAfterLeave:jt},Fe);let hn=ref(null),vn=computed(()=>xe.unmount?S$2.Unmount:S$2.Hidden);Ue({el:hn,$el:hn});let{show:bn,appear:_n}=Te$1(),{register:wn,unregister:kn}=ge$1(),Cn=ref(bn.value?"visible":"hidden"),Sn={value:!0},xn=I$4(),En={value:!1},Tn=Q$2(()=>{!En.value&&Cn.value!=="hidden"&&(Cn.value="hidden",kn(xn),jt())});onMounted(()=>{let Bn=wn(xn);onUnmounted(Bn)}),watchEffect(()=>{if(vn.value===S$2.Hidden&&xn){if(bn.value&&Cn.value!=="visible"){Cn.value="visible";return}u$7(Cn.value,{hidden:()=>kn(xn),visible:()=>wn(xn)})}});let An=g$2(xe.enter),$n=g$2(xe.enterFrom),Pn=g$2(xe.enterTo),Nn=g$2(xe.entered),Mn=g$2(xe.leave),In=g$2(xe.leaveFrom),On=g$2(xe.leaveTo);onMounted(()=>{watchEffect(()=>{if(Cn.value==="visible"){let Bn=o$3(hn);if(Bn instanceof Comment&&Bn.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function Rn(Bn){let Vn=Sn.value&&!_n.value,Ln=o$3(hn);!Ln||!(Ln instanceof HTMLElement)||Vn||(En.value=!0,bn.value&&At(),bn.value||Lt(),Bn(bn.value?L$2(Ln,An,$n,Pn,Nn,Dn=>{En.value=!1,Dn===g$3.Finished&&Dt()}):L$2(Ln,Mn,In,On,Nn,Dn=>{En.value=!1,Dn===g$3.Finished&&(L$1(Tn)||(Cn.value="hidden",kn(xn),jt()))})))}return onMounted(()=>{watch([bn],(Bn,Vn,Ln)=>{Rn(Ln),Sn.value=!1},{immediate:!0})}),provide(N$3,Tn),t$4(computed(()=>u$7(Cn.value,{visible:i$3.Open,hidden:i$3.Closed})|qe.value)),()=>{let{appear:Bn,show:Vn,enter:Ln,enterFrom:Dn,enterTo:Hn,entered:Fn,leave:zn,leaveFrom:jn,leaveTo:Gn,...Wn}=xe,Xn={ref:hn},er={...Wn,..._n.value&&bn.value&&c$4.isServer?{class:normalizeClass([Ie.class,Wn.class,...An,...$n])}:{}};return A$4({theirProps:er,ourProps:Xn,slot:{},slots:Fe,attrs:Ie,features:W$2,visible:Cn.value==="visible",name:"TransitionChild"})}}}),ce$1=he,Se$1=defineComponent({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(xe,{emit:$e,attrs:Ie,slots:Fe}){let Ue=l$4(),qe=computed(()=>xe.show===null&&Ue!==null?(Ue.value&i$3.Open)===i$3.Open:xe.show);watchEffect(()=>{if(![!0,!1].includes(qe.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let At=ref(qe.value?"visible":"hidden"),Dt=Q$2(()=>{At.value="hidden"}),Lt=ref(!0),jt={show:qe,appear:computed(()=>xe.appear||!Lt.value)};return onMounted(()=>{watchEffect(()=>{Lt.value=!1,qe.value?At.value="visible":L$1(Dt)||(At.value="hidden")})}),provide(N$3,Dt),provide(R$2,jt),()=>{let hn=T$3(xe,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),vn={unmount:xe.unmount};return A$4({ourProps:{...vn,as:"template"},theirProps:{},slot:{},slots:{...Fe,default:()=>[h$5(ce$1,{onBeforeEnter:()=>$e("beforeEnter"),onAfterEnter:()=>$e("afterEnter"),onBeforeLeave:()=>$e("beforeLeave"),onAfterLeave:()=>$e("afterLeave"),...Ie,...vn,...hn},Fe.default)]},attrs:{},features:W$2,visible:At.value==="visible",name:"Transition"})}}});/*! + * OverlayScrollbars + * Version: 2.8.3 + * + * Copyright (c) Rene Haas | KingSora. + * https://github.com/KingSora + * + * Released under the MIT license. + */const createCache=(xe,$e)=>{const{o:Ie,i:Fe,u:Ue}=xe;let qe=Ie,At;const Dt=(hn,vn)=>{const bn=qe,_n=hn,wn=vn||(Fe?!Fe(bn,_n):bn!==_n);return(wn||Ue)&&(qe=_n,At=bn),[qe,wn,At]};return[$e?hn=>Dt($e(qe,At),hn):Dt,hn=>[qe,!!hn,At]]},t=typeof window<"u"&&typeof document<"u",n=t?window:{},o$1=Math.max,s$1=Math.min,e$1=Math.round,c$1=Math.abs,r=Math.sign,l$1=n.cancelAnimationFrame,i$1=n.requestAnimationFrame,a$1=n.setTimeout,u$1=n.clearTimeout,getApi=xe=>typeof n[xe]<"u"?n[xe]:void 0,_$1=getApi("MutationObserver"),d$1=getApi("IntersectionObserver"),f$1=getApi("ResizeObserver"),p$1=getApi("ScrollTimeline"),v$1=t&&Node.ELEMENT_NODE,{toString:h$1,hasOwnProperty:g$1}=Object.prototype,isUndefined$3=xe=>xe===void 0,isNull=xe=>xe===null,isNumber$3=xe=>typeof xe=="number",isString$3=xe=>typeof xe=="string",isBoolean$2=xe=>typeof xe=="boolean",isFunction$4=xe=>typeof xe=="function",isArray$5=xe=>Array.isArray(xe),isObject$7=xe=>typeof xe=="object"&&!isArray$5(xe)&&!isNull(xe),isArrayLike$2=xe=>{const $e=!!xe&&xe.length,Ie=isNumber$3($e)&&$e>-1&&$e%1==0;return isArray$5(xe)||!isFunction$4(xe)&&Ie?$e>0&&isObject$7(xe)?$e-1 in xe:!0:!1},isPlainObject$3=xe=>{if(!xe||!isObject$7(xe))return!1;let $e;const Ie="constructor",Fe=xe[Ie],Ue=Fe&&Fe.prototype,qe=g$1.call(xe,Ie),At=Ue&&g$1.call(Ue,"isPrototypeOf");if(Fe&&!qe&&!At)return!1;for($e in xe);return isUndefined$3($e)||g$1.call(xe,$e)},isHTMLElement$1=xe=>{const $e=HTMLElement;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1},isElement$2=xe=>{const $e=Element;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1};function each$g(xe,$e){if(isArrayLike$2(xe))for(let Ie=0;Ie$e(xe[Ie],Ie,xe));return xe}const inArray=(xe,$e)=>xe.indexOf($e)>=0,concat=(xe,$e)=>xe.concat($e),push$1=(xe,$e,Ie)=>(!isString$3($e)&&isArrayLike$2($e)?Array.prototype.push.apply(xe,$e):xe.push($e),xe),from=xe=>Array.from(xe||[]),createOrKeepArray=xe=>isArray$5(xe)?xe:[xe],isEmptyArray=xe=>!!xe&&!xe.length,deduplicateArray=xe=>from(new Set(xe)),runEachAndClear=(xe,$e,Ie)=>{each$g(xe,Ue=>Ue&&Ue.apply(void 0,$e||[])),!Ie&&(xe.length=0)},b$1="paddingTop",w$1="paddingRight",y="paddingLeft",m$2="paddingBottom",S$1="marginLeft",O$1="marginRight",$="marginBottom",C$1="overflowX",x$2="overflowY",H$1="width",E$2="height",z="visible",I$2="hidden",A$1="scroll",capitalizeFirstLetter=xe=>{const $e=String(xe||"");return $e?$e[0].toUpperCase()+$e.slice(1):""},equal=(xe,$e,Ie,Fe)=>{if(xe&&$e){let Ue=!0;return each$g(Ie,qe=>{const At=xe[qe],Dt=$e[qe];At!==Dt&&(Ue=!1)}),Ue}return!1},equalWH=(xe,$e)=>equal(xe,$e,["w","h"]),equalXY=(xe,$e)=>equal(xe,$e,["x","y"]),equalTRBL=(xe,$e)=>equal(xe,$e,["t","r","b","l"]),noop$7=()=>{},bind$3=(xe,...$e)=>xe.bind(0,...$e),selfClearTimeout=xe=>{let $e;const Ie=xe?a$1:i$1,Fe=xe?u$1:l$1;return[Ue=>{Fe($e),$e=Ie(()=>Ue(),isFunction$4(xe)?xe():xe)},()=>Fe($e)]},debounce$1=(xe,$e)=>{const{_:Ie,p:Fe,v:Ue,m:qe}=$e||{};let At,Dt,Lt,jt,hn=noop$7;const vn=function(Cn){hn(),u$1(At),jt=At=Dt=void 0,hn=noop$7,xe.apply(this,Cn)},bn=kn=>qe&&Dt?qe(Dt,kn):kn,_n=()=>{hn!==noop$7&&vn(bn(Lt)||Lt)},wn=function(){const Cn=from(arguments),Sn=isFunction$4(Ie)?Ie():Ie;if(isNumber$3(Sn)&&Sn>=0){const En=isFunction$4(Fe)?Fe():Fe,Tn=isNumber$3(En)&&En>=0,An=Sn>0?a$1:i$1,$n=Sn>0?u$1:l$1,Nn=bn(Cn)||Cn,Mn=vn.bind(0,Nn);let In;hn(),Ue&&!jt?(Mn(),jt=!0,In=An(()=>jt=void 0,Sn)):(In=An(Mn,Sn),Tn&&!At&&(At=a$1(_n,En))),hn=()=>$n(In),Dt=Lt=Nn}else vn(Cn)};return wn.S=_n,wn},hasOwnProperty$e=(xe,$e)=>Object.prototype.hasOwnProperty.call(xe,$e),keys$2=xe=>xe?Object.keys(xe):[],assignDeep=(xe,$e,Ie,Fe,Ue,qe,At)=>{const Dt=[$e,Ie,Fe,Ue,qe,At];return(typeof xe!="object"||isNull(xe))&&!isFunction$4(xe)&&(xe={}),each$g(Dt,Lt=>{each$g(Lt,(jt,hn)=>{const vn=Lt[hn];if(xe===vn)return!0;const bn=isArray$5(vn);if(vn&&isPlainObject$3(vn)){const _n=xe[hn];let wn=_n;bn&&!isArray$5(_n)?wn=[]:!bn&&!isPlainObject$3(_n)&&(wn={}),xe[hn]=assignDeep(wn,vn)}else xe[hn]=bn?vn.slice():vn})}),xe},removeUndefinedProperties=(xe,$e)=>each$g(assignDeep({},xe),(Ie,Fe,Ue)=>{Ie===void 0?delete Ue[Fe]:Ie&&isPlainObject$3(Ie)&&(Ue[Fe]=removeUndefinedProperties(Ie))}),isEmptyObject=xe=>{for(const $e in xe)return!1;return!0},capNumber=(xe,$e,Ie)=>o$1(xe,s$1($e,Ie)),getDomTokensArray=xe=>from(new Set((isArray$5(xe)?xe:(xe||"").split(" ")).filter($e=>$e))),getAttr=(xe,$e)=>xe&&xe.getAttribute($e),hasAttr=(xe,$e)=>xe&&xe.hasAttribute($e),setAttrs=(xe,$e,Ie)=>{each$g(getDomTokensArray($e),Fe=>{xe&&xe.setAttribute(Fe,String(Ie||""))})},removeAttrs=(xe,$e)=>{each$g(getDomTokensArray($e),Ie=>xe&&xe.removeAttribute(Ie))},domTokenListAttr=(xe,$e)=>{const Ie=getDomTokensArray(getAttr(xe,$e)),Fe=bind$3(setAttrs,xe,$e),Ue=(qe,At)=>{const Dt=new Set(Ie);return each$g(getDomTokensArray(qe),Lt=>{Dt[At](Lt)}),from(Dt).join(" ")};return{O:qe=>Fe(Ue(qe,"delete")),$:qe=>Fe(Ue(qe,"add")),C:qe=>{const At=getDomTokensArray(qe);return At.reduce((Dt,Lt)=>Dt&&Ie.includes(Lt),At.length>0)}}},removeAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).O(Ie),bind$3(addAttrClass,xe,$e,Ie)),addAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).$(Ie),bind$3(removeAttrClass,xe,$e,Ie)),addRemoveAttrClass=(xe,$e,Ie,Fe)=>(Fe?addAttrClass:removeAttrClass)(xe,$e,Ie),hasAttrClass=(xe,$e,Ie)=>domTokenListAttr(xe,$e).C(Ie),createDomTokenListClass=xe=>domTokenListAttr(xe,"class"),removeClass$1=(xe,$e)=>{createDomTokenListClass(xe).O($e)},addClass$1=(xe,$e)=>(createDomTokenListClass(xe).$($e),bind$3(removeClass$1,xe,$e)),find$1=(xe,$e)=>{const Ie=[],Fe=$e?isElement$2($e)&&$e:document;return Fe?push$1(Ie,Fe.querySelectorAll(xe)):Ie},findFirst=(xe,$e)=>{const Ie=$e?isElement$2($e)&&$e:document;return Ie?Ie.querySelector(xe):null},is=(xe,$e)=>isElement$2(xe)?xe.matches($e):!1,isBodyElement=xe=>is(xe,"body"),contents=xe=>xe?from(xe.childNodes):[],parent$2=xe=>xe&&xe.parentElement,closest=(xe,$e)=>isElement$2(xe)&&xe.closest($e),getFocusedElement=xe=>document.activeElement,liesBetween=(xe,$e,Ie)=>{const Fe=closest(xe,$e),Ue=xe&&findFirst(Ie,Fe),qe=closest(Ue,$e)===Fe;return Fe&&Ue?Fe===xe||Ue===xe||qe&&closest(closest(xe,Ie),$e)!==Fe:!1},removeElements=xe=>{if(isArrayLike$2(xe))each$g(from(xe),$e=>removeElements($e));else if(xe){const $e=parent$2(xe);$e&&$e.removeChild(xe)}},before=(xe,$e,Ie)=>{if(Ie&&xe){let Fe=$e,Ue;return isArrayLike$2(Ie)?(Ue=document.createDocumentFragment(),each$g(Ie,qe=>{qe===Fe&&(Fe=qe.previousSibling),Ue.appendChild(qe)})):Ue=Ie,$e&&(Fe?Fe!==$e&&(Fe=Fe.nextSibling):Fe=xe.firstChild),xe.insertBefore(Ue,Fe||null),()=>removeElements(Ie)}return noop$7},appendChildren=(xe,$e)=>before(xe,null,$e),insertAfter=(xe,$e)=>before(parent$2(xe),xe&&xe.nextSibling,$e),createDiv=xe=>{const $e=document.createElement("div");return setAttrs($e,"class",xe),$e},createDOM=xe=>{const $e=createDiv();return $e.innerHTML=xe.trim(),each$g(contents($e),Ie=>removeElements(Ie))},T$1=/^--/,getCSSVal=(xe,$e)=>xe.getPropertyValue($e)||xe[$e]||"",validFiniteNumber=xe=>{const $e=xe||0;return isFinite($e)?$e:0},parseToZeroOrNumber=xe=>validFiniteNumber(parseFloat(xe||"")),ratioToCssPercent=xe=>`${(validFiniteNumber(xe)*100).toFixed(3)}%`,numberToCssPx=xe=>`${validFiniteNumber(xe)}px`;function setStyles(xe,$e){xe&&$e&&each$g($e,(Ie,Fe)=>{try{const Ue=xe.style,qe=isNumber$3(Ie)?numberToCssPx(Ie):(Ie||"")+"";T$1.test(Fe)?Ue.setProperty(Fe,qe):Ue[Fe]=qe}catch{}})}function getStyles(xe,$e,Ie){const Fe=isString$3($e);let Ue=Fe?"":{};if(xe){const qe=n.getComputedStyle(xe,Ie)||xe.style;Ue=Fe?getCSSVal(qe,$e):from($e).reduce((At,Dt)=>(At[Dt]=getCSSVal(qe,Dt),At),Ue)}return Ue}const topRightBottomLeft=(xe,$e,Ie)=>{const Fe=$e?`${$e}-`:"",Ue=Ie?`-${Ie}`:"",qe=`${Fe}top${Ue}`,At=`${Fe}right${Ue}`,Dt=`${Fe}bottom${Ue}`,Lt=`${Fe}left${Ue}`,jt=getStyles(xe,[qe,At,Dt,Lt]);return{t:parseToZeroOrNumber(jt[qe]),r:parseToZeroOrNumber(jt[At]),b:parseToZeroOrNumber(jt[Dt]),l:parseToZeroOrNumber(jt[Lt])}},getTrasformTranslateValue=(xe,$e)=>`translate${isObject$7(xe)?`(${xe.x},${xe.y})`:`${$e?"X":"Y"}(${xe})`}`,elementHasDimensions=xe=>!!(xe.offsetWidth||xe.offsetHeight||xe.getClientRects().length),D$1={w:0,h:0},getElmWidthHeightProperty=(xe,$e)=>$e?{w:$e[`${xe}Width`],h:$e[`${xe}Height`]}:D$1,getWindowSize=xe=>getElmWidthHeightProperty("inner",xe||n),k$1=bind$3(getElmWidthHeightProperty,"offset"),M$1=bind$3(getElmWidthHeightProperty,"client"),R$1=bind$3(getElmWidthHeightProperty,"scroll"),getFractionalSize=xe=>{const $e=parseFloat(getStyles(xe,H$1))||0,Ie=parseFloat(getStyles(xe,E$2))||0;return{w:$e-e$1($e),h:Ie-e$1(Ie)}},getBoundingClientRect$1=xe=>xe.getBoundingClientRect(),hasDimensions=xe=>!!xe&&elementHasDimensions(xe),domRectHasDimensions=xe=>!!(xe&&(xe[E$2]||xe[H$1])),domRectAppeared=(xe,$e)=>{const Ie=domRectHasDimensions(xe);return!domRectHasDimensions($e)&&Ie},removeEventListener$1=(xe,$e,Ie,Fe)=>{each$g(getDomTokensArray($e),Ue=>{xe&&xe.removeEventListener(Ue,Ie,Fe)})},addEventListener$1=(xe,$e,Ie,Fe)=>{var Ue;const qe=(Ue=Fe&&Fe.H)!=null?Ue:!0,At=Fe&&Fe.I||!1,Dt=Fe&&Fe.A||!1,Lt={passive:qe,capture:At};return bind$3(runEachAndClear,getDomTokensArray($e).map(jt=>{const hn=Dt?vn=>{removeEventListener$1(xe,jt,hn,At),Ie&&Ie(vn)}:Ie;return xe&&xe.addEventListener(jt,hn,Lt),bind$3(removeEventListener$1,xe,jt,hn,At)}))},stopPropagation=xe=>xe.stopPropagation(),preventDefault$1=xe=>xe.preventDefault(),stopAndPrevent=xe=>stopPropagation(xe)||preventDefault$1(xe),scrollElementTo=(xe,$e)=>{const{x:Ie,y:Fe}=isNumber$3($e)?{x:$e,y:$e}:$e||{};isNumber$3(Ie)&&(xe.scrollLeft=Ie),isNumber$3(Fe)&&(xe.scrollTop=Fe)},getElementScroll=xe=>({x:xe.scrollLeft,y:xe.scrollTop}),getZeroScrollCoordinates=()=>({T:{x:0,y:0},D:{x:0,y:0}}),sanitizeScrollCoordinates=(xe,$e)=>{const{T:Ie,D:Fe}=xe,{w:Ue,h:qe}=$e,At=(vn,bn,_n)=>{let wn=r(vn)*_n,kn=r(bn)*_n;if(wn===kn){const Cn=c$1(vn),Sn=c$1(bn);kn=Cn>Sn?0:kn,wn=Cn{const Ie=(Fe,Ue)=>Fe===0&&Fe<=Ue;return{x:Ie(xe.x,$e.x),y:Ie(xe.y,$e.y)}},getScrollCoordinatesPercent=({T:xe,D:$e},Ie)=>{const Fe=(Ue,qe,At)=>capNumber(0,1,(Ue-At)/(Ue-qe)||0);return{x:Fe(xe.x,$e.x,Ie.x),y:Fe(xe.y,$e.y,Ie.y)}},focusElement=xe=>{xe&&xe.focus&&xe.focus({preventScroll:!0})},manageListener=(xe,$e)=>{each$g(createOrKeepArray($e),xe)},createEventListenerHub=xe=>{const $e=new Map,Ie=(qe,At)=>{if(qe){const Dt=$e.get(qe);manageListener(Lt=>{Dt&&Dt[Lt?"delete":"clear"](Lt)},At)}else $e.forEach(Dt=>{Dt.clear()}),$e.clear()},Fe=(qe,At)=>{if(isString$3(qe)){const jt=$e.get(qe)||new Set;return $e.set(qe,jt),manageListener(hn=>{isFunction$4(hn)&&jt.add(hn)},At),bind$3(Ie,qe,At)}isBoolean$2(At)&&At&&Ie();const Dt=keys$2(qe),Lt=[];return each$g(Dt,jt=>{const hn=qe[jt];hn&&push$1(Lt,Fe(jt,hn))}),bind$3(runEachAndClear,Lt)},Ue=(qe,At)=>{each$g(from($e.get(qe)),Dt=>{At&&!isEmptyArray(At)?Dt.apply(0,At):Dt()})};return Fe(xe||{}),[Fe,Ie,Ue]},opsStringify=xe=>JSON.stringify(xe,($e,Ie)=>{if(isFunction$4(Ie))throw 0;return Ie}),getPropByPath=(xe,$e)=>xe?`${$e}`.split(".").reduce((Ie,Fe)=>Ie&&hasOwnProperty$e(Ie,Fe)?Ie[Fe]:void 0,xe):void 0,V={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},getOptionsDiff=(xe,$e)=>{const Ie={},Fe=concat(keys$2($e),keys$2(xe));return each$g(Fe,Ue=>{const qe=xe[Ue],At=$e[Ue];if(isObject$7(qe)&&isObject$7(At))assignDeep(Ie[Ue]={},getOptionsDiff(qe,At)),isEmptyObject(Ie[Ue])&&delete Ie[Ue];else if(hasOwnProperty$e($e,Ue)&&At!==qe){let Dt=!0;if(isArray$5(qe)||isArray$5(At))try{opsStringify(qe)===opsStringify(At)&&(Dt=!1)}catch{}Dt&&(Ie[Ue]=At)}}),Ie},createOptionCheck=(xe,$e,Ie)=>Fe=>[getPropByPath(xe,Fe),Ie||getPropByPath($e,Fe)!==void 0],L="data-overlayscrollbars",P$3="os-environment",U$2=`${P$3}-scrollbar-hidden`,N$2=`${L}-initialize`,q$1="noClipping",B$1=`${L}-body`,F$1=L,j="host",X$2=`${L}-viewport`,Y$1=C$1,W$1=x$2,J$1="arrange",K$1="measuring",G$1="scrollbarHidden",Q$1="scrollbarPressed",Z$1="noContent",tt$1=`${L}-padding`,nt$1=`${L}-content`,ot$1="os-size-observer",st$1=`${ot$1}-appear`,et$1=`${ot$1}-listener`,it$1="os-trinsic-observer",at$1="os-theme-none",ut$1="os-scrollbar",_t$1=`${ut$1}-rtl`,dt$1=`${ut$1}-horizontal`,ft$1=`${ut$1}-vertical`,pt$1=`${ut$1}-track`,vt$1=`${ut$1}-handle`,ht$1=`${ut$1}-visible`,gt$1=`${ut$1}-cornerless`,bt$1=`${ut$1}-interaction`,wt$1=`${ut$1}-unusable`,yt$1=`${ut$1}-auto-hide`,mt$1=`${yt$1}-hidden`,St$1=`${ut$1}-wheel`,Ot$1=`${pt$1}-interactive`,$t$1=`${vt$1}-interactive`;let Ct$1;const createEnvironment=()=>{const xe=(xn,En,Tn)=>{appendChildren(document.body,xn),appendChildren(document.body,xn);const An=M$1(xn),$n=k$1(xn),Pn=getFractionalSize(En);return Tn&&removeElements(xn),{x:$n.h-An.h+Pn.h,y:$n.w-An.w+Pn.w}},$e=xn=>{let En=!1;const Tn=addClass$1(xn,U$2);try{En=getStyles(xn,"scrollbar-width")==="none"||getStyles(xn,"display","::-webkit-scrollbar")==="none"}catch{}return Tn(),En},Ie=`.${P$3}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${P$3} div{width:200%;height:200%;margin:10px 0}.${U$2}{scrollbar-width:none!important}.${U$2}::-webkit-scrollbar,.${U$2}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,Ue=createDOM(`
`)[0],qe=Ue.firstChild,[At,,Dt]=createEventListenerHub(),[Lt,jt]=createCache({o:xe(Ue,qe),i:equalXY},bind$3(xe,Ue,qe,!0)),[hn]=jt(),vn=$e(Ue),bn={x:hn.x===0,y:hn.y===0},_n={elements:{host:null,padding:!vn,viewport:xn=>vn&&isBodyElement(xn)&&xn,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},wn=assignDeep({},V),kn=bind$3(assignDeep,{},wn),Cn=bind$3(assignDeep,{},_n),Sn={k:hn,M:bn,R:vn,V:!!p$1,L:bind$3(At,"r"),P:Cn,U:xn=>assignDeep(_n,xn)&&Cn(),N:kn,q:xn=>assignDeep(wn,xn)&&kn(),B:assignDeep({},_n),F:assignDeep({},wn)};if(removeAttrs(Ue,"style"),removeElements(Ue),addEventListener$1(n,"resize",()=>{Dt("r",[])}),isFunction$4(n.matchMedia)&&!vn&&(!bn.x||!bn.y)){const xn=En=>{const Tn=n.matchMedia(`(resolution: ${n.devicePixelRatio}dppx)`);addEventListener$1(Tn,"change",()=>{En(),xn(En)},{A:!0})};xn(()=>{const[En,Tn]=Lt();assignDeep(Sn.k,En),Dt("r",[Tn])})}return Sn},getEnvironment=()=>(Ct$1||(Ct$1=createEnvironment()),Ct$1),resolveInitialization=(xe,$e)=>isFunction$4($e)?$e.apply(0,xe):$e,staticInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe;return resolveInitialization(xe,Ue)||$e.apply(0,xe)},dynamicInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe,qe=resolveInitialization(xe,Ue);return!!qe&&(isHTMLElement$1(qe)?qe:$e.apply(0,xe))},cancelInitialization=(xe,$e)=>{const{nativeScrollbarsOverlaid:Ie,body:Fe}=$e||{},{M:Ue,R:qe,P:At}=getEnvironment(),{nativeScrollbarsOverlaid:Dt,body:Lt}=At().cancel,jt=Ie??Dt,hn=isUndefined$3(Fe)?Lt:Fe,vn=(Ue.x||Ue.y)&&jt,bn=xe&&(isNull(hn)?!qe:hn);return!!vn||!!bn},xt$1=new WeakMap,addInstance=(xe,$e)=>{xt$1.set(xe,$e)},removeInstance=xe=>{xt$1.delete(xe)},getInstance$1=xe=>xt$1.get(xe),createEventContentChange=(xe,$e,Ie)=>{let Fe=!1;const Ue=Ie?new WeakMap:!1,qe=()=>{Fe=!0},At=Dt=>{if(Ue&&Ie){const Lt=Ie.map(jt=>{const[hn,vn]=jt||[];return[vn&&hn?(Dt||find$1)(hn,xe):[],vn]});each$g(Lt,jt=>each$g(jt[0],hn=>{const vn=jt[1],bn=Ue.get(hn)||[];if(xe.contains(hn)&&vn){const wn=addEventListener$1(hn,vn,kn=>{Fe?(wn(),Ue.delete(hn)):$e(kn)});Ue.set(hn,push$1(bn,wn))}else runEachAndClear(bn),Ue.delete(hn)}))}};return At(),[qe,At]},createDOMObserver=(xe,$e,Ie,Fe)=>{let Ue=!1;const{j:qe,X:At,Y:Dt,W:Lt,J:jt,K:hn}=Fe||{},vn=debounce$1(()=>Ue&&Ie(!0),{_:33,p:99}),[bn,_n]=createEventContentChange(xe,vn,Dt),wn=qe||[],kn=At||[],Cn=concat(wn,kn),Sn=(En,Tn)=>{if(!isEmptyArray(Tn)){const An=jt||noop$7,$n=hn||noop$7,Pn=[],Nn=[];let Mn=!1,In=!1;if(each$g(Tn,On=>{const{attributeName:Rn,target:Bn,type:Vn,oldValue:Ln,addedNodes:Dn,removedNodes:Hn}=On,Fn=Vn==="attributes",zn=Vn==="childList",jn=xe===Bn,Gn=Fn&&Rn,Wn=Gn&&getAttr(Bn,Rn||""),Xn=isString$3(Wn)?Wn:null,er=Gn&&Ln!==Xn,rr=inArray(kn,Rn)&&er;if($e&&(zn||!jn)){const Jn=Fn&&er,Yn=Jn&&Lt&&is(Bn,Lt),ar=(Yn?!An(Bn,Rn,Ln,Xn):!Fn||Jn)&&!$n(On,!!Yn,xe,Fe);each$g(Dn,tr=>push$1(Pn,tr)),each$g(Hn,tr=>push$1(Pn,tr)),In=In||ar}!$e&&jn&&er&&!An(Bn,Rn,Ln,Xn)&&(push$1(Nn,Rn),Mn=Mn||rr)}),_n(On=>deduplicateArray(Pn).reduce((Rn,Bn)=>(push$1(Rn,find$1(On,Bn)),is(Bn,On)?push$1(Rn,Bn):Rn),[])),$e)return!En&&In&&Ie(!1),[!1];if(!isEmptyArray(Nn)||Mn){const On=[deduplicateArray(Nn),Mn];return!En&&Ie.apply(0,On),On}}},xn=new _$1(bind$3(Sn,!1));return[()=>(xn.observe(xe,{attributes:!0,attributeOldValue:!0,attributeFilter:Cn,subtree:$e,childList:$e,characterData:$e}),Ue=!0,()=>{Ue&&(bn(),xn.disconnect(),Ue=!1)}),()=>{if(Ue)return vn.S(),Sn(!0,xn.takeRecords())}]},Ht$1={},Et={},addPlugins=xe=>{each$g(xe,$e=>each$g($e,(Ie,Fe)=>{Ht$1[Fe]=$e[Fe]}))},registerPluginModuleInstances=(xe,$e,Ie)=>keys$2(xe).map(Fe=>{const{static:Ue,instance:qe}=xe[Fe],[At,Dt,Lt]=Ie||[],jt=Ie?qe:Ue;if(jt){const hn=Ie?jt(At,Dt,$e):jt($e);return(Lt||Et)[Fe]=hn}}),getStaticPluginModuleInstance=xe=>Et[xe],zt$1="__osOptionsValidationPlugin",It$1="__osSizeObserverPlugin",getShowNativeOverlaidScrollbars=(xe,$e)=>{const{M:Ie}=$e,[Fe,Ue]=xe("showNativeOverlaidScrollbars");return[Fe&&Ie.x&&Ie.y,Ue]},overflowIsVisible=xe=>xe.indexOf(z)===0,createViewportOverflowState=(xe,$e)=>{const Ie=(Ue,qe,At,Dt)=>{const Lt=Ue===z?I$2:Ue.replace(`${z}-`,""),jt=overflowIsVisible(Ue),hn=overflowIsVisible(At);return!qe&&!Dt?I$2:jt&&hn?z:jt?qe&&Dt?Lt:qe?z:I$2:qe?Lt:hn&&Dt?z:I$2},Fe={x:Ie($e.x,xe.x,$e.y,xe.y),y:Ie($e.y,xe.y,$e.x,xe.x)};return{G:Fe,Z:{x:Fe.x===A$1,y:Fe.y===A$1}}},Tt$1="__osScrollbarsHidingPlugin",kt="__osClickScrollPlugin",createSizeObserver=(xe,$e,Ie)=>{const{dt:Fe}=Ie||{},Ue=getStaticPluginModuleInstance(It$1),[qe]=createCache({o:!1,u:!0});return()=>{const At=[],Lt=createDOM(`
`)[0],jt=Lt.firstChild,hn=vn=>{const bn=vn instanceof ResizeObserverEntry;let _n=!1,wn=!1;if(bn){const[kn,,Cn]=qe(vn.contentRect),Sn=domRectHasDimensions(kn);wn=domRectAppeared(kn,Cn),_n=!wn&&!Sn}else wn=vn===!0;_n||$e({ft:!0,dt:wn})};if(f$1){const vn=new f$1(bn=>hn(bn.pop()));vn.observe(jt),push$1(At,()=>{vn.disconnect()})}else if(Ue){const[vn,bn]=Ue(jt,hn,Fe);push$1(At,concat([addClass$1(Lt,st$1),addEventListener$1(Lt,"animationstart",vn)],bn))}else return noop$7;return bind$3(runEachAndClear,push$1(At,appendChildren(xe,Lt)))}},createTrinsicObserver=(xe,$e)=>{let Ie;const Fe=Lt=>Lt.h===0||Lt.isIntersecting||Lt.intersectionRatio>0,Ue=createDiv(it$1),[qe]=createCache({o:!1}),At=(Lt,jt)=>{if(Lt){const hn=qe(Fe(Lt)),[,vn]=hn;return vn&&!jt&&$e(hn)&&[hn]}},Dt=(Lt,jt)=>At(jt.pop(),Lt);return[()=>{const Lt=[];if(d$1)Ie=new d$1(bind$3(Dt,!1),{root:xe}),Ie.observe(Ue),push$1(Lt,()=>{Ie.disconnect()});else{const jt=()=>{const hn=k$1(Ue);At(hn)};push$1(Lt,createSizeObserver(Ue,jt)()),jt()}return bind$3(runEachAndClear,push$1(Lt,appendChildren(xe,Ue)))},()=>Ie&&Dt(!0,Ie.takeRecords())]},createObserversSetup=(xe,$e,Ie,Fe)=>{let Ue,qe,At,Dt,Lt,jt;const hn=`[${F$1}]`,vn=`[${X$2}]`,bn=[],_n=["wrap","cols","rows"],wn=["id","class","style","open"],{vt:kn,ht:Cn,ot:Sn,gt:xn,bt:En,wt:Tn,nt:An,yt:$n,St:Pn,Ot:Nn}=xe,Mn=qn=>getStyles(qn,"direction")==="rtl",In={$t:!1,ct:Mn(kn)},On=getEnvironment(),Rn=getStaticPluginModuleInstance(Tt$1),[Bn]=createCache({i:equalWH,o:{w:0,h:0}},()=>{const qn=Rn&&Rn.tt(xe,$e,In,On,Ie).ut,tr=!($n&&An)&&hasAttrClass(Cn,F$1,q$1),or=!An&&Pn(J$1),sr=or&&getElementScroll(xn),Kn=Nn(K$1,tr),Zn=or&&qn&&qn()[0],nr=R$1(Sn),lr=getFractionalSize(Sn);return Zn&&Zn(),scrollElementTo(xn,sr),tr&&Kn(),{w:nr.w+lr.w,h:nr.h+lr.h}}),Vn=Tn?_n:concat(wn,_n),Ln=debounce$1(Fe,{_:()=>Ue,p:()=>qe,m(qn,ar){const[tr]=qn,[or]=ar;return[concat(keys$2(tr),keys$2(or)).reduce((sr,Kn)=>(sr[Kn]=tr[Kn]||or[Kn],sr),{})]}}),Dn=qn=>{const ar=Mn(kn);assignDeep(qn,{Ct:jt!==ar}),assignDeep(In,{ct:ar}),jt=ar},Hn=(qn,ar)=>{const[tr,or]=qn,sr={xt:or};return assignDeep(In,{$t:tr}),!ar&&Fe(sr),sr},Fn=({ft:qn,dt:ar})=>{const or=!(qn&&!ar)&&On.R?Ln:Fe,sr={ft:qn||ar,dt:ar};Dn(sr),or(sr)},zn=(qn,ar)=>{const[,tr]=Bn(),or={Ht:tr};return Dn(or),tr&&!ar&&(qn?Fe:Ln)(or),or},jn=(qn,ar,tr)=>{const or={Et:ar};return Dn(or),ar&&!tr&&Ln(or),or},[Gn,Wn]=En?createTrinsicObserver(Cn,Hn):[],Xn=!An&&createSizeObserver(Cn,Fn,{dt:!0}),[er,rr]=createDOMObserver(Cn,!1,jn,{X:wn,j:concat(wn,bn)}),Jn=An&&f$1&&new f$1(qn=>{const ar=qn[qn.length-1].contentRect;Fn({ft:!0,dt:domRectAppeared(ar,Lt)}),Lt=ar}),Yn=debounce$1(()=>{const[,qn]=Bn();Fe({Ht:qn})},{_:222,v:!0});return[()=>{Jn&&Jn.observe(Cn);const qn=Xn&&Xn(),ar=Gn&&Gn(),tr=er(),or=On.L(sr=>{sr?Ln({zt:sr}):Yn()});return()=>{Jn&&Jn.disconnect(),qn&&qn(),ar&&ar(),Dt&&Dt(),tr(),or()}},({It:qn,At:ar,Tt:tr})=>{const or={},[sr]=qn("update.ignoreMutation"),[Kn,Zn]=qn("update.attributes"),[nr,lr]=qn("update.elementEvents"),[ir,kr]=qn("update.debounce"),Cr=lr||Zn,Er=ar||tr,dr=br=>isFunction$4(sr)&&sr(br);if(Cr){At&&At(),Dt&&Dt();const[br,_r]=createDOMObserver(En||Sn,!0,zn,{j:concat(Vn,Kn||[]),Y:nr,W:hn,K:(Pr,gr)=>{const{target:xr,attributeName:Rr}=Pr;return(!gr&&Rr&&!An?liesBetween(xr,hn,vn):!1)||!!closest(xr,`.${ut$1}`)||!!dr(Pr)}});Dt=br(),At=_r}if(kr)if(Ln.S(),isArray$5(ir)){const br=ir[0],_r=ir[1];Ue=isNumber$3(br)&&br,qe=isNumber$3(_r)&&_r}else isNumber$3(ir)?(Ue=ir,qe=!1):(Ue=!1,qe=!1);if(Er){const br=rr(),_r=Wn&&Wn(),Pr=At&&At();br&&assignDeep(or,jn(br[0],br[1],Er)),_r&&assignDeep(or,Hn(_r[0],Er)),Pr&&assignDeep(or,zn(Pr[0],Er))}return Dn(or),or},In]},createScrollbarsSetupElements=(xe,$e,Ie,Fe)=>{const{P:Ue}=getEnvironment(),{scrollbars:qe}=Ue(),{slot:At}=qe,{vt:Dt,ht:Lt,ot:jt,Dt:hn,gt:vn,yt:bn,nt:_n}=$e,{scrollbars:wn}=hn?{}:xe,{slot:kn}=wn||{},Cn=new Map,Sn=rr=>p$1&&new p$1({source:vn,axis:rr}),xn={x:Sn("x"),y:Sn("y")},En=dynamicInitializationElement([Dt,Lt,jt],()=>_n&&bn?Dt:Lt,At,kn),Tn=(rr,Jn)=>{if(Jn){const sr=rr?H$1:E$2,{kt:Kn,Mt:Zn}=Jn,nr=getBoundingClientRect$1(Zn)[sr],lr=getBoundingClientRect$1(Kn)[sr];return capNumber(0,1,nr/lr||0)}const Yn=rr?"x":"y",{Rt:qn,Vt:ar}=Ie,tr=ar[Yn],or=qn[Yn];return capNumber(0,1,tr/(tr+or)||0)},An=(rr,Jn,Yn)=>{const qn=Tn(Yn,rr);return 1/qn*(1-qn)*Jn},$n=rr=>assignDeep(rr,{clear:["left"]}),Pn=rr=>{Cn.forEach((Jn,Yn)=>{(rr?inArray(createOrKeepArray(rr),Yn):!0)&&(each$g(Jn||[],ar=>{ar&&ar.cancel()}),Cn.delete(Yn))})},Nn=(rr,Jn,Yn,qn)=>{const ar=Cn.get(rr)||[],tr=ar.find(or=>or&&or.timeline===Jn);tr?tr.effect=new KeyframeEffect(rr,Yn,{composite:qn}):Cn.set(rr,concat(ar,[rr.animate(Yn,{timeline:Jn,composite:qn})]))},Mn=(rr,Jn,Yn)=>{const qn=Yn?addClass$1:removeClass$1;each$g(rr,ar=>{qn(ar.Lt,Jn)})},In=(rr,Jn)=>{each$g(rr,Yn=>{const[qn,ar]=Jn(Yn);setStyles(qn,ar)})},On=(rr,Jn)=>{In(rr,Yn=>{const{Mt:qn}=Yn;return[qn,{[Jn?H$1:E$2]:ratioToCssPercent(Tn(Jn))}]})},Rn=(rr,Jn)=>{const{Pt:Yn}=Ie,qn=Jn?"x":"y",ar=xn[qn],tr=isDefaultDirectionScrollCoordinates(Yn)[qn],or=(sr,Kn)=>getTrasformTranslateValue(ratioToCssPercent(An(sr,tr?Kn:1-Kn,Jn)),Jn);ar?each$g(rr,sr=>{const{Mt:Kn}=sr;Nn(Kn,ar,$n({transform:[0,1].map(Zn=>or(sr,Zn))}))}):In(rr,sr=>[sr.Mt,{transform:or(sr,getScrollCoordinatesPercent(Yn,getElementScroll(vn))[qn])}])},Bn=rr=>_n&&!bn&&parent$2(rr)===jt,Vn=[],Ln=[],Dn=[],Hn=(rr,Jn,Yn)=>{const qn=isBoolean$2(Yn),ar=qn?Yn:!0,tr=qn?!Yn:!0;ar&&Mn(Ln,rr,Jn),tr&&Mn(Dn,rr,Jn)},Fn=()=>{On(Ln,!0),On(Dn)},zn=()=>{Rn(Ln,!0),Rn(Dn)},jn=()=>{if(_n){const{Rt:rr,Pt:Jn}=Ie,Yn=isDefaultDirectionScrollCoordinates(Jn),qn=.5;if(xn.x&&xn.y)each$g(concat(Dn,Ln),({Lt:ar})=>{if(Bn(ar)){const tr=or=>Nn(ar,xn[or],$n({transform:[0,Yn[or]?1:-1].map(sr=>getTrasformTranslateValue(numberToCssPx(sr*(rr[or]-qn)),or==="x"))}),"add");tr("x"),tr("y")}else Pn(ar)});else{const ar=getScrollCoordinatesPercent(Jn,getElementScroll(vn)),tr=or=>{const{Lt:sr}=or,Kn=Bn(sr)&&sr,Zn=(nr,lr,ir)=>{const kr=lr*nr;return numberToCssPx(ir?kr:-kr)};return[Kn,Kn&&{transform:getTrasformTranslateValue({x:Zn(ar.x,rr.x,Yn.x),y:Zn(ar.y,rr.y,Yn.y)})}]};In(Ln,tr),In(Dn,tr)}}},Gn=rr=>{const Yn=createDiv(`${ut$1} ${rr?dt$1:ft$1}`),qn=createDiv(pt$1),ar=createDiv(vt$1),tr={Lt:Yn,kt:qn,Mt:ar};return push$1(rr?Ln:Dn,tr),push$1(Vn,[appendChildren(Yn,qn),appendChildren(qn,ar),bind$3(removeElements,Yn),Pn,Fe(tr,Hn,Rn,rr)]),tr},Wn=bind$3(Gn,!0),Xn=bind$3(Gn,!1),er=()=>(appendChildren(En,Ln[0].Lt),appendChildren(En,Dn[0].Lt),bind$3(runEachAndClear,Vn));return Wn(),Xn(),[{Ut:Fn,Nt:zn,qt:jn,Bt:Hn,Ft:{V:xn.x,jt:Ln,Xt:Wn,Yt:bind$3(In,Ln)},Wt:{V:xn.y,jt:Dn,Xt:Xn,Yt:bind$3(In,Dn)}},er]},createScrollbarsSetupEvents=(xe,$e,Ie,Fe)=>(Ue,qe,At,Dt)=>{const{ht:Lt,ot:jt,nt:hn,gt:vn,Jt:bn,Ot:_n}=$e,{Lt:wn,kt:kn,Mt:Cn}=Ue,[Sn,xn]=selfClearTimeout(333),[En,Tn]=selfClearTimeout(444),[An,$n]=selfClearTimeout(),Pn=bind$3(At,[Ue],Dt),Nn=Bn=>{isFunction$4(vn.scrollBy)&&vn.scrollBy({behavior:"smooth",left:Bn.x,top:Bn.y})},Mn=Dt?H$1:E$2,In=()=>{const Bn="pointerup pointercancel lostpointercapture",Vn=`client${Dt?"X":"Y"}`,Ln=Dt?"left":"top",Dn=Dt?"w":"h",Hn=Dt?"x":"y",Fn=(zn,jn)=>Gn=>{const{Rt:Wn}=Ie,Xn=k$1(kn)[Dn]-k$1(Cn)[Dn],rr=jn*Gn/Xn*Wn[Hn];scrollElementTo(vn,{[Hn]:zn+rr})};return addEventListener$1(kn,"pointerdown",zn=>{const jn=closest(zn.target,`.${vt$1}`)===Cn,Gn=jn?Cn:kn,Wn=xe.scrollbars,{button:Xn,isPrimary:er,pointerType:rr}=zn,{pointers:Jn}=Wn;if(Xn===0&&er&&Wn[jn?"dragScroll":"clickScroll"]&&(Jn||[]).includes(rr)){Tn();const qn=!jn&&zn.shiftKey,ar=bind$3(getBoundingClientRect$1,Cn),tr=bind$3(getBoundingClientRect$1,kn),or=(gr,xr)=>(gr||ar())[Ln]-(xr||tr())[Ln],sr=e$1(getBoundingClientRect$1(vn)[Mn])/k$1(vn)[Dn]||1,Kn=Fn(getElementScroll(vn)[Hn],1/sr),Zn=zn[Vn],nr=ar(),lr=tr(),ir=nr[Mn],kr=or(nr,lr)+ir/2,Cr=Zn-lr[Ln],Er=jn?0:Cr-kr,dr=gr=>{runEachAndClear(Pr),Gn.releasePointerCapture(gr.pointerId)},br=()=>_n(Q$1,!0),_r=br(),Pr=[()=>{const gr=getElementScroll(vn);_r();const xr=getElementScroll(vn),Rr={x:xr.x-gr.x,y:xr.y-gr.y};(c$1(Rr.x)>3||c$1(Rr.y)>3)&&(br(),scrollElementTo(vn,gr),Nn(Rr),En(_r))},addEventListener$1(bn,Bn,dr),addEventListener$1(bn,"selectstart",gr=>preventDefault$1(gr),{H:!1}),addEventListener$1(kn,Bn,dr),addEventListener$1(kn,"pointermove",gr=>{const xr=gr[Vn]-Zn;(jn||qn)&&Kn(Er+xr)})];if(Gn.setPointerCapture(zn.pointerId),qn)Kn(Er);else if(!jn){const gr=getStaticPluginModuleInstance(kt);gr&&push$1(Pr,gr(Kn,or,Er,ir,Cr))}}})};let On=!0;const Rn=Bn=>Bn.propertyName.indexOf(Mn)>-1;return bind$3(runEachAndClear,[addEventListener$1(Cn,"pointermove pointerleave",Fe),addEventListener$1(wn,"pointerenter",()=>{qe(bt$1,!0)}),addEventListener$1(wn,"pointerleave pointercancel",()=>{qe(bt$1,!1)}),!hn&&addEventListener$1(wn,"mousedown",()=>{const Bn=getFocusedElement();(hasAttr(Bn,X$2)||hasAttr(Bn,F$1)||Bn===document.body)&&a$1(bind$3(focusElement,jt),25)}),addEventListener$1(wn,"wheel",Bn=>{const{deltaX:Vn,deltaY:Ln,deltaMode:Dn}=Bn;On&&Dn===0&&parent$2(wn)===Lt&&Nn({x:Vn,y:Ln}),On=!1,qe(St$1,!0),Sn(()=>{On=!0,qe(St$1)}),preventDefault$1(Bn)},{H:!1,I:!0}),addEventListener$1(Cn,"transitionstart",Bn=>{if(Rn(Bn)){const Vn=()=>{Pn(),An(Vn)};Vn()}}),addEventListener$1(Cn,"transitionend transitioncancel",Bn=>{Rn(Bn)&&($n(),Pn())}),addEventListener$1(wn,"pointerdown",bind$3(addEventListener$1,bn,"click",stopAndPrevent,{A:!0,I:!0,H:!1}),{I:!0}),In(),xn,Tn,$n])},createScrollbarsSetup=(xe,$e,Ie,Fe,Ue,qe)=>{let At,Dt,Lt,jt,hn,vn=noop$7,bn=0;const _n=jn=>jn.pointerType==="mouse",[wn,kn]=selfClearTimeout(),[Cn,Sn]=selfClearTimeout(100),[xn,En]=selfClearTimeout(100),[Tn,An]=selfClearTimeout(()=>bn),[$n,Pn]=createScrollbarsSetupElements(xe,Ue,Fe,createScrollbarsSetupEvents($e,Ue,Fe,jn=>_n(jn)&&Dn())),{ht:Nn,Kt:Mn,yt:In}=Ue,{Bt:On,Ut:Rn,Nt:Bn,qt:Vn}=$n,Ln=(jn,Gn)=>{if(An(),jn)On(mt$1);else{const Wn=bind$3(On,mt$1,!0);bn>0&&!Gn?Tn(Wn):Wn()}},Dn=()=>{(Lt?!At:!jt)&&(Ln(!0),Cn(()=>{Ln(!1)}))},Hn=jn=>{On(yt$1,jn,!0),On(yt$1,jn,!1)},Fn=jn=>{_n(jn)&&(At=Lt,Lt&&Ln(!0))},zn=[An,Sn,En,kn,()=>vn(),addEventListener$1(Nn,"pointerover",Fn,{A:!0}),addEventListener$1(Nn,"pointerenter",Fn),addEventListener$1(Nn,"pointerleave",jn=>{_n(jn)&&(At=!1,Lt&&Ln(!1))}),addEventListener$1(Nn,"pointermove",jn=>{_n(jn)&&Dt&&Dn()}),addEventListener$1(Mn,"scroll",jn=>{wn(()=>{Bn(),Dn()}),qe(jn),Vn()})];return[()=>bind$3(runEachAndClear,push$1(zn,Pn())),({It:jn,Tt:Gn,Gt:Wn,Qt:Xn})=>{const{Zt:er,tn:rr,nn:Jn,sn:Yn}=Xn||{},{Ct:qn,dt:ar}=Wn||{},{ct:tr}=Ie,{M:or}=getEnvironment(),{G:sr,en:Kn}=Fe,[Zn,nr]=jn("showNativeOverlaidScrollbars"),[lr,ir]=jn("scrollbars.theme"),[kr,Cr]=jn("scrollbars.visibility"),[Er,dr]=jn("scrollbars.autoHide"),[br,_r]=jn("scrollbars.autoHideSuspend"),[Pr]=jn("scrollbars.autoHideDelay"),[gr,xr]=jn("scrollbars.dragScroll"),[Rr,Hr]=jn("scrollbars.clickScroll"),[Jr,Gr]=jn("overflow"),$r=ar&&!Gn,Br=Kn.x||Kn.y,Tr=er||rr||Yn||qn||Gn,cr=Jn||Cr||Gr,Sr=Zn&&or.x&&or.y,Dr=(mr,Lr,zr)=>{const Vr=mr.includes(A$1)&&(kr===z||kr==="auto"&&Lr===A$1);return On(ht$1,Vr,zr),Vr};if(bn=Pr,$r&&(br&&Br?(Hn(!1),vn(),xn(()=>{vn=addEventListener$1(Mn,"scroll",bind$3(Hn,!0),{A:!0})})):Hn(!0)),nr&&On(at$1,Sr),ir&&(On(hn),On(lr,!0),hn=lr),_r&&!br&&Hn(!0),dr&&(Dt=Er==="move",Lt=Er==="leave",jt=Er==="never",Ln(jt,!0)),xr&&On($t$1,gr),Hr&&On(Ot$1,Rr),cr){const mr=Dr(Jr.x,sr.x,!0),Lr=Dr(Jr.y,sr.y,!1);On(gt$1,!(mr&&Lr))}Tr&&(Rn(),Bn(),Vn(),On(wt$1,!Kn.x,!0),On(wt$1,!Kn.y,!1),On(_t$1,tr&&!In))},{},$n]},createStructureSetupElements=xe=>{const $e=getEnvironment(),{P:Ie,R:Fe}=$e,{elements:Ue}=Ie(),{host:qe,padding:At,viewport:Dt,content:Lt}=Ue,jt=isHTMLElement$1(xe),hn=jt?{}:xe,{elements:vn}=hn,{host:bn,padding:_n,viewport:wn,content:kn}=vn||{},Cn=jt?xe:hn.target,Sn=isBodyElement(Cn),xn=is(Cn,"textarea"),En=Cn.ownerDocument,Tn=En.documentElement,An=()=>En.defaultView||n,$n=bind$3(staticInitializationElement,[Cn]),Pn=bind$3(dynamicInitializationElement,[Cn]),Nn=bind$3(createDiv,""),Mn=bind$3($n,Nn,Dt),In=bind$3(Pn,Nn,Lt),On=Mn(wn),Rn=On===Cn,Bn=Rn&&Sn,Vn=!Rn&&In(kn),Ln=!Rn&&On===Vn,Dn=Bn?Tn:On,Hn=xn?$n(Nn,qe,bn):Cn,Fn=Bn?Dn:Hn,zn=!Rn&&Pn(Nn,At,_n),jn=!Ln&&Vn,Gn=[jn,Dn,zn,Fn].map(lr=>isHTMLElement$1(lr)&&!parent$2(lr)&&lr),Wn=lr=>lr&&inArray(Gn,lr),Xn=Wn(Dn)?Cn:Dn,er={vt:Cn,ht:Fn,ot:Dn,cn:zn,bt:jn,gt:Bn?Tn:Dn,Kt:Bn?En:Dn,rn:Sn?Tn:Xn,Jt:En,wt:xn,yt:Sn,Dt:jt,nt:Rn,ln:An,St:lr=>hasAttrClass(Dn,X$2,lr),Ot:(lr,ir)=>addRemoveAttrClass(Dn,X$2,lr,ir)},{vt:rr,ht:Jn,cn:Yn,ot:qn,bt:ar}=er,tr=[()=>{removeAttrs(Jn,[F$1,N$2]),removeAttrs(rr,N$2),Sn&&removeAttrs(Tn,[N$2,F$1])}],or=xn&&Wn(Jn);let sr=xn?rr:contents([ar,qn,Yn,Jn,rr].find(lr=>lr&&!Wn(lr)));const Kn=Bn?rr:ar||qn,Zn=bind$3(runEachAndClear,tr);return[er,()=>{const lr=An(),ir=getFocusedElement(),kr=_r=>{appendChildren(parent$2(_r),contents(_r)),removeElements(_r)},Cr=_r=>addEventListener$1(_r,"focusin focusout focus blur",stopAndPrevent,{I:!0,H:!1}),Er="tabindex",dr=getAttr(qn,Er),br=Cr(ir);return setAttrs(Jn,F$1,Rn?"":j),setAttrs(Yn,tt$1,""),setAttrs(qn,X$2,""),setAttrs(ar,nt$1,""),Rn||(setAttrs(qn,Er,dr||"-1"),Sn&&setAttrs(Tn,B$1,"")),or&&(insertAfter(rr,Jn),push$1(tr,()=>{insertAfter(Jn,rr),removeElements(Jn)})),appendChildren(Kn,sr),appendChildren(Jn,Yn),appendChildren(Yn||Jn,!Rn&&qn),appendChildren(qn,ar),push$1(tr,[br,()=>{const _r=getFocusedElement(),Pr=Wn(qn),gr=Pr&&_r===qn?rr:_r,xr=Cr(gr);removeAttrs(Yn,tt$1),removeAttrs(ar,nt$1),removeAttrs(qn,X$2),Sn&&removeAttrs(Tn,B$1),dr?setAttrs(qn,Er,dr):removeAttrs(qn,Er),Wn(ar)&&kr(ar),Pr&&kr(qn),Wn(Yn)&&kr(Yn),focusElement(gr),xr()}]),Fe&&!Rn&&(addAttrClass(qn,X$2,G$1),push$1(tr,bind$3(removeAttrs,qn,X$2))),focusElement(!Rn&&Sn&&ir===rr&&lr.top===lr?qn:ir),br(),sr=0,Zn},Zn]},createTrinsicUpdateSegment=({bt:xe})=>({Gt:$e,an:Ie,Tt:Fe})=>{const{xt:Ue}=$e||{},{$t:qe}=Ie;xe&&(Ue||Fe)&&setStyles(xe,{[E$2]:qe&&"100%"})},createPaddingUpdateSegment=({ht:xe,cn:$e,ot:Ie,nt:Fe},Ue)=>{const[qe,At]=createCache({i:equalTRBL,o:topRightBottomLeft()},bind$3(topRightBottomLeft,xe,"padding",""));return({It:Dt,Gt:Lt,an:jt,Tt:hn})=>{let[vn,bn]=At(hn);const{R:_n}=getEnvironment(),{ft:wn,Ht:kn,Ct:Cn}=Lt||{},{ct:Sn}=jt,[xn,En]=Dt("paddingAbsolute");(wn||bn||(hn||kn))&&([vn,bn]=qe(hn));const An=!Fe&&(En||Cn||bn);if(An){const $n=!xn||!$e&&!_n,Pn=vn.r+vn.l,Nn=vn.t+vn.b,Mn={[O$1]:$n&&!Sn?-Pn:0,[$]:$n?-Nn:0,[S$1]:$n&&Sn?-Pn:0,top:$n?-vn.t:0,right:$n?Sn?-vn.r:"auto":0,left:$n?Sn?"auto":-vn.l:0,[H$1]:$n&&`calc(100% + ${Pn}px)`},In={[b$1]:$n?vn.t:0,[w$1]:$n?vn.r:0,[m$2]:$n?vn.b:0,[y]:$n?vn.l:0};setStyles($e||Ie,Mn),setStyles(Ie,In),assignDeep(Ue,{cn:vn,un:!$n,rt:$e?In:assignDeep({},Mn,In)})}return{_n:An}}},createOverflowUpdateSegment=(xe,$e)=>{const Ie=getEnvironment(),{ht:Fe,cn:Ue,ot:qe,nt:At,Kt:Dt,gt:Lt,yt:jt,Ot:hn,ln:vn}=xe,{R:bn}=Ie,_n=jt&&At,wn=bind$3(o$1,0),kn=["display","direction","flexDirection","writingMode"],Cn={i:equalWH,o:{w:0,h:0}},Sn={i:equalXY,o:{}},xn=jn=>{hn(K$1,!_n&&jn)},En=(jn,Gn)=>{const Wn=n.devicePixelRatio%1!==0?1:0,Xn={w:wn(jn.w-Gn.w),h:wn(jn.h-Gn.h)};return{w:Xn.w>Wn?Xn.w:0,h:Xn.h>Wn?Xn.h:0}},[Tn,An]=createCache(Cn,bind$3(getFractionalSize,qe)),[$n,Pn]=createCache(Cn,bind$3(R$1,qe)),[Nn,Mn]=createCache(Cn),[In]=createCache(Sn),[On,Rn]=createCache(Cn),[Bn]=createCache(Sn),[Vn]=createCache({i:(jn,Gn)=>equal(jn,Gn,kn),o:{}},()=>hasDimensions(qe)?getStyles(qe,kn):{}),[Ln,Dn]=createCache({i:(jn,Gn)=>equalXY(jn.T,Gn.T)&&equalXY(jn.D,Gn.D),o:getZeroScrollCoordinates()},()=>{xn(!0);const jn=getElementScroll(Lt),Gn=hn(Z$1,!0),Wn=addEventListener$1(Dt,A$1,Yn=>{const qn=getElementScroll(Lt);Yn.isTrusted&&qn.x===jn.x&&qn.y===jn.y&&stopPropagation(Yn)},{I:!0,A:!0});scrollElementTo(Lt,{x:0,y:0}),Gn();const Xn=getElementScroll(Lt),er=R$1(Lt);scrollElementTo(Lt,{x:er.w,y:er.h});const rr=getElementScroll(Lt);scrollElementTo(Lt,{x:rr.x-Xn.x<1&&-er.w,y:rr.y-Xn.y<1&&-er.h});const Jn=getElementScroll(Lt);return scrollElementTo(Lt,jn),i$1(()=>Wn()),{T:Xn,D:Jn}}),Hn=getStaticPluginModuleInstance(Tt$1),Fn=(jn,Gn)=>`${Gn?Y$1:W$1}${capitalizeFirstLetter(jn)}`,zn=jn=>{const Gn=Xn=>[z,I$2,A$1].map(er=>Fn(er,Xn)),Wn=Gn(!0).concat(Gn()).join(" ");hn(Wn),hn(keys$2(jn).map(Xn=>Fn(jn[Xn],Xn==="x")).join(" "),!0)};return({It:jn,Gt:Gn,an:Wn,Tt:Xn},{_n:er})=>{const{ft:rr,Ht:Jn,Ct:Yn,dt:qn,zt:ar}=Gn||{},tr=Hn&&Hn.tt(xe,$e,Wn,Ie,jn),{it:or,ut:sr,_t:Kn}=tr||{},[Zn,nr]=getShowNativeOverlaidScrollbars(jn,Ie),[lr,ir]=jn("overflow"),kr=overflowIsVisible(lr.x),Cr=overflowIsVisible(lr.y),Er=rr||er||Jn||Yn||ar||nr;let dr=An(Xn),br=Pn(Xn),_r=Mn(Xn),Pr=Rn(Xn);if(nr&&bn&&hn(G$1,!Zn),Er){hasAttrClass(Fe,F$1,q$1)&&xn(!0);const[uo]=sr?sr():[],[vo]=dr=Tn(Xn),[_o]=br=$n(Xn),Ao=M$1(qe),ko=_n&&getWindowSize(vn()),Do={w:wn(_o.w+vo.w),h:wn(_o.h+vo.h)},Ro={w:wn((ko?ko.w:Ao.w+wn(Ao.w-_o.w))+vo.w),h:wn((ko?ko.h:Ao.h+wn(Ao.h-_o.h))+vo.h)};uo&&uo(),Pr=On(Ro),_r=Nn(En(Do,Ro),Xn)}const[gr,xr]=Pr,[Rr,Hr]=_r,[Jr,Gr]=br,[$r,Br]=dr,[Tr,cr]=In({x:Rr.w>0,y:Rr.h>0}),Sr=kr&&Cr&&(Tr.x||Tr.y)||kr&&Tr.x&&!Tr.y||Cr&&Tr.y&&!Tr.x,Dr=er||Yn||ar||Br||Gr||xr||Hr||ir||nr||Er,mr=createViewportOverflowState(Tr,lr),[Lr,zr]=Bn(mr.G),[,Vr]=Vn(Xn),Kr=Yn||qn||Vr||cr||Xn,[qr,Ur]=Kr?Ln(Xn):Dn();return Dr&&(zr&&zn(mr.G),Kn&&or&&setStyles(qe,Kn(mr,Wn,or(mr,Jr,$r)))),xn(!1),addRemoveAttrClass(Fe,F$1,q$1,Sr),addRemoveAttrClass(Ue,tt$1,q$1,Sr),assignDeep($e,{G:Lr,Vt:{x:gr.w,y:gr.h},Rt:{x:Rr.w,y:Rr.h},en:Tr,Pt:sanitizeScrollCoordinates(qr,Rr)}),{nn:zr,Zt:xr,tn:Hr,sn:Ur||Hr,dn:Kr}}},createStructureSetup=xe=>{const[$e,Ie,Fe]=createStructureSetupElements(xe),Ue={cn:{t:0,r:0,b:0,l:0},un:!1,rt:{[O$1]:0,[$]:0,[S$1]:0,[b$1]:0,[w$1]:0,[m$2]:0,[y]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},G:{x:I$2,y:I$2},en:{x:!1,y:!1},Pt:getZeroScrollCoordinates()},{vt:qe,gt:At,nt:Dt}=$e,{R:Lt,M:jt}=getEnvironment(),hn=!Lt&&(jt.x||jt.y),vn=[createTrinsicUpdateSegment($e),createPaddingUpdateSegment($e,Ue),createOverflowUpdateSegment($e,Ue)];return[Ie,bn=>{const _n={},kn=hn&&getElementScroll(At);return each$g(vn,Cn=>{assignDeep(_n,Cn(bn,_n)||{})}),scrollElementTo(At,kn),!Dt&&scrollElementTo(qe,0),_n},Ue,$e,Fe]},createSetups=(xe,$e,Ie,Fe,Ue)=>{const qe=createOptionCheck($e,{}),[At,Dt,Lt,jt,hn]=createStructureSetup(xe),[vn,bn,_n]=createObserversSetup(jt,Lt,qe,En=>{xn({},En)}),[wn,kn,,Cn]=createScrollbarsSetup(xe,$e,_n,Lt,jt,Ue),Sn=En=>keys$2(En).some(Tn=>!!En[Tn]),xn=(En,Tn)=>{if(Ie())return!1;const{fn:An,Tt:$n,At:Pn,pn:Nn}=En,Mn=An||{},In=!!$n,On={It:createOptionCheck($e,Mn,In),fn:Mn,Tt:In};if(Nn)return kn(On),!1;const Rn=Tn||bn(assignDeep({},On,{At:Pn})),Bn=Dt(assignDeep({},On,{an:_n,Gt:Rn}));kn(assignDeep({},On,{Gt:Rn,Qt:Bn}));const Vn=Sn(Rn),Ln=Sn(Bn),Dn=Vn||Ln||!isEmptyObject(Mn)||In;return Dn&&Fe(En,{Gt:Rn,Qt:Bn}),Dn};return[()=>{const{rn:En,gt:Tn}=jt,An=getElementScroll(En),$n=[vn(),At(),wn()];return scrollElementTo(Tn,An),bind$3(runEachAndClear,$n)},xn,()=>({vn:_n,hn:Lt}),{gn:jt,bn:Cn},hn]},OverlayScrollbars=(xe,$e,Ie)=>{const{N:Fe}=getEnvironment(),Ue=isHTMLElement$1(xe),qe=Ue?xe:xe.target,At=getInstance$1(qe);if($e&&!At){let Dt=!1;const Lt=[],jt={},hn=In=>{const On=removeUndefinedProperties(In),Rn=getStaticPluginModuleInstance(zt$1);return Rn?Rn(On,!0):On},vn=assignDeep({},Fe(),hn($e)),[bn,_n,wn]=createEventListenerHub(),[kn,Cn,Sn]=createEventListenerHub(Ie),xn=(In,On)=>{Sn(In,On),wn(In,On)},[En,Tn,An,$n,Pn]=createSetups(xe,vn,()=>Dt,({fn:In,Tt:On},{Gt:Rn,Qt:Bn})=>{const{ft:Vn,Ct:Ln,xt:Dn,Ht:Hn,Et:Fn,dt:zn}=Rn,{Zt:jn,tn:Gn,nn:Wn,sn:Xn}=Bn;xn("updated",[Mn,{updateHints:{sizeChanged:!!Vn,directionChanged:!!Ln,heightIntrinsicChanged:!!Dn,overflowEdgeChanged:!!jn,overflowAmountChanged:!!Gn,overflowStyleChanged:!!Wn,scrollCoordinatesChanged:!!Xn,contentMutation:!!Hn,hostMutation:!!Fn,appear:!!zn},changedOptions:In||{},force:!!On}])},In=>xn("scroll",[Mn,In])),Nn=In=>{removeInstance(qe),runEachAndClear(Lt),Dt=!0,xn("destroyed",[Mn,In]),_n(),Cn()},Mn={options(In,On){if(In){const Rn=On?Fe():{},Bn=getOptionsDiff(vn,assignDeep(Rn,hn(In)));isEmptyObject(Bn)||(assignDeep(vn,Bn),Tn({fn:Bn}))}return assignDeep({},vn)},on:kn,off:(In,On)=>{In&&On&&Cn(In,On)},state(){const{vn:In,hn:On}=An(),{ct:Rn}=In,{Vt:Bn,Rt:Vn,G:Ln,en:Dn,cn:Hn,un:Fn,Pt:zn}=On;return assignDeep({},{overflowEdge:Bn,overflowAmount:Vn,overflowStyle:Ln,hasOverflow:Dn,scrollCoordinates:{start:zn.T,end:zn.D},padding:Hn,paddingAbsolute:Fn,directionRTL:Rn,destroyed:Dt})},elements(){const{vt:In,ht:On,cn:Rn,ot:Bn,bt:Vn,gt:Ln,Kt:Dn}=$n.gn,{Ft:Hn,Wt:Fn}=$n.bn,zn=Gn=>{const{Mt:Wn,kt:Xn,Lt:er}=Gn;return{scrollbar:er,track:Xn,handle:Wn}},jn=Gn=>{const{jt:Wn,Xt:Xn}=Gn,er=zn(Wn[0]);return assignDeep({},er,{clone:()=>{const rr=zn(Xn());return Tn({pn:!0}),rr}})};return assignDeep({},{target:In,host:On,padding:Rn||Bn,viewport:Bn,content:Vn||Bn,scrollOffsetElement:Ln,scrollEventElement:Dn,scrollbarHorizontal:jn(Hn),scrollbarVertical:jn(Fn)})},update:In=>Tn({Tt:In,At:!0}),destroy:bind$3(Nn,!1),plugin:In=>jt[keys$2(In)[0]]};return push$1(Lt,[Pn]),addInstance(qe,Mn),registerPluginModuleInstances(Ht$1,OverlayScrollbars,[Mn,bn,jt]),cancelInitialization($n.gn.yt,!Ue&&xe.cancel)?(Nn(!0),Mn):(push$1(Lt,En()),xn("initialized",[Mn]),Mn.update(!0),Mn)}return At};OverlayScrollbars.plugin=xe=>{const $e=isArray$5(xe),Ie=$e?xe:[xe],Fe=Ie.map(Ue=>registerPluginModuleInstances(Ue,OverlayScrollbars)[0]);return addPlugins(Ie),$e?Fe:Fe[0]};OverlayScrollbars.valid=xe=>{const $e=xe&&xe.elements,Ie=isFunction$4($e)&&$e();return isPlainObject$3(Ie)&&!!getInstance$1(Ie.target)};OverlayScrollbars.env=()=>{const{k:xe,M:$e,R:Ie,V:Fe,B:Ue,F:qe,P:At,U:Dt,N:Lt,q:jt}=getEnvironment();return assignDeep({},{scrollbarsSize:xe,scrollbarsOverlaid:$e,scrollbarsHiding:Ie,scrollTimeline:Fe,staticDefaultInitialization:Ue,staticDefaultOptions:qe,getDefaultInitialization:At,setDefaultInitialization:Dt,getDefaultOptions:Lt,setDefaultOptions:jt})};const g=()=>{if(typeof window>"u"){const jt=()=>{};return[jt,jt]}let xe,$e;const Ie=window,Fe=typeof Ie.requestIdleCallback=="function",Ue=Ie.requestAnimationFrame,qe=Ie.cancelAnimationFrame,At=Fe?Ie.requestIdleCallback:Ue,Dt=Fe?Ie.cancelIdleCallback:qe,Lt=()=>{Dt(xe),qe($e)};return[(jt,hn)=>{Lt(),xe=At(Fe?()=>{Lt(),$e=Ue(jt)}:jt,typeof hn=="object"?hn:{timeout:2233})},Lt]},x$1=xe=>{let $e=null,Ie,Fe,Ue;const qe=shallowRef(xe||{}),[At,Dt]=g();return watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.defer)},Lt=>{Ue=Lt},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.options)},Lt=>{Ie=Lt,OverlayScrollbars.valid($e)&&$e.options(Ie||{},!0)},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.events)},Lt=>{Fe=Lt,OverlayScrollbars.valid($e)&&$e.on(Fe||{},!0)},{deep:!0,immediate:!0}),onUnmounted(()=>{Dt(),$e==null||$e.destroy()}),[Lt=>{if(OverlayScrollbars.valid($e))return $e;const jt=()=>$e=OverlayScrollbars(Lt,Ie||{},Fe||{});Ue?At(jt,Ue):jt()},()=>$e]},P$2=defineComponent({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:qe,options:At,events:Dt,defer:Lt}=toRefs(Fe),jt=shallowRef(null),hn=shallowRef(null),vn=ref(),[bn,_n]=x$1({options:At,events:vn,defer:Lt});return $e({osInstance:_n,getElement:()=>jt.value}),watchPostEffect(wn=>{const{value:kn}=jt,{value:Cn}=hn;kn&&(bn(qe.value==="body"?{target:kn,cancel:{body:null}}:{target:kn,elements:{viewport:Cn,content:Cn}}),wn(()=>{var Sn;return(Sn=_n())==null?void 0:Sn.destroy()}))}),watch(()=>unref(Dt),wn=>{const kn=wn||{};vn.value=Object.keys(Ue).reduce((Cn,Sn)=>{const xn=kn[Sn];return Cn[Sn]=[(...En)=>Ie(Ue[Sn],...En),...(Array.isArray(xn)?xn:[xn]).filter(Boolean)],Cn},{})},{deep:!0,immediate:!0}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(unref(qe)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:jt},{default:withCtx(()=>[unref(qe)==="body"?renderSlot(wn.$slots,"default",{key:0}):(openBlock(),createElementBlock("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:hn},[renderSlot(wn.$slots,"default")],512))]),_:3},512))}}),_hoisted_1$1d={flex:"~ items-center justify-between","p-4":"","border-b":"~ solid stone/15","text-6":""},_hoisted_2$N={key:0,flex:"~ items-center justify-end","px-3":"","py-2":"","border-t":"~ solid stone/15"},_sfc_main$2x=defineComponent({__name:"HSlideover",props:mergeModels({appear:{type:Boolean,default:!1},side:{default:"right"},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:mergeModels(["close"],["update:modelValue"]),setup(xe,{emit:$e}){const Ie=xe,Fe=$e,Ue=useModel(xe,"modelValue"),qe=useSlots(),At=ref({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),Dt=computed(()=>({enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200",enterFrom:Ie.side==="left"?"-translate-x-full":"translate-x-full",enterTo:"translate-x-0",leaveFrom:"translate-x-0",leaveTo:Ie.side==="left"?"-translate-x-full":"translate-x-full"}));function Lt(){Ue.value=!1,Fe("close")}return(jt,hn)=>{const vn=_sfc_main$2y;return openBlock(),createBlock(unref(Se$1),{as:"template",appear:jt.appear,show:Ue.value},{default:withCtx(()=>[createVNode$1(unref(Ye$1),{class:normalizeClass(["fixed inset-0 z-2000 flex",{"justify-end":jt.side==="right"}]),onClose:hn[0]||(hn[0]=bn=>!jt.preventClose&&Lt())},{default:withCtx(()=>[createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(At)),{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":jt.overlay}])},null,2)]),_:1},16,["appear"]),createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(Dt)),{default:withCtx(()=>[createVNode$1(unref(Ge$1),{relative:"","max-w-md":"","w-full":"","w-screen":"",flex:"","flex-1":"","flex-col":"","bg-white":"","dark-bg-stone-8":"","focus-outline-none":""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1d,[createVNode$1(unref(Ve),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:withCtx(()=>[createTextVNode(toDisplayString(jt.title),1)]),_:1}),createVNode$1(vn,{name:"i-carbon:close","cursor-pointer":"",onClick:Lt})]),createVNode$1(unref(Je$1),{"m-0":"","flex-1":"","of-y-hidden":""},{default:withCtx(()=>[createVNode$1(unref(P$2),{options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full p-4"},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3})]),_:3}),unref(qe).footer?(openBlock(),createElementBlock("div",_hoisted_2$N,[renderSlot(jt.$slots,"footer")])):createCommentVNode("",!0)]),_:3})]),_:3},16,["appear"])]),_:3},8,["class"])]),_:3},8,["appear","show"])}}});function mitt(xe){return{all:xe=xe||new Map,on:function($e,Ie){var Fe=xe.get($e);Fe?Fe.push(Ie):xe.set($e,[Ie])},off:function($e,Ie){var Fe=xe.get($e);Fe&&(Ie?Fe.splice(Fe.indexOf(Ie)>>>0,1):xe.set($e,[]))},emit:function($e,Ie){var Fe=xe.get($e);Fe&&Fe.slice().map(function(Ue){Ue(Ie)}),(Fe=xe.get("*"))&&Fe.slice().map(function(Ue){Ue($e,Ie)})}}}const eventBus=mitt();var define_SYSTEM_INFO_default={pkg:{version:"3.5.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.22","@imengyu/vue3-context-menu":"^1.4.1","@vueuse/core":"^10.10.0","@vueuse/integrations":"^10.10.0",axios:"^1.7.2",dayjs:"^1.11.11",echarts:"^5.5.0","element-plus":"^2.7.4",eruda:"^3.0.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.7",less:"^4.2.0","lodash-es":"^4.17.21",marked:"^13.0.0","md-editor-v3":"^4.16.7",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",overlayscrollbars:"^2.8.3","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^6.2.2","resize-observer-polyfill":"^1.5.1",vconsole:"^3.15.1",vue:"^3.4.27","vue-m-message":"^4.0.2","vue-router":"^4.3.2"},devDependencies:{"@iconify/json":"^2.2.217","@iconify/vue":"^4.1.2","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/path-browserify":"^1.0.2","@unocss/core":"^0.61.0","@unocss/preset-mini":"^0.61.0","@vitejs/plugin-legacy":"^5.4.1","@vitejs/plugin-vue":"^5.0.5","@vitejs/plugin-vue-jsx":"^4.0.0",archiver:"^7.0.1",boxen:"^7.1.1",bumpp:"^9.4.1",eslint:"^9.4.0",esno:"^4.7.0","fs-extra":"^11.2.0","http-server":"^14.1.1",inquirer:"^9.2.23","npm-run-all2":"^6.2.0",picocolors:"^1.0.1",plop:"^4.0.1",sass:"^1.77.4",stylelint:"^16.6.1",svgo:"^3.3.2",typescript:"^5.4.5",unocss:"^0.60.4","unplugin-auto-import":"^0.17.6","unplugin-turbo-console":"^1.8.6","unplugin-vue-components":"^0.27.0",vite:"^5.2.12","vite-plugin-banner":"^0.7.1","vite-plugin-checker":"^0.6.4","vite-plugin-compression2":"^1.1.1","vite-plugin-fake-server":"^2.1.1","vite-plugin-pages":"^0.32.2","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.2.1","vite-plugin-vue-meta-layouts":"^0.4.3","vue-tsc":"^2.0.19"}},lastBuildTime:"2024-07-07 12:19:00"};const _hoisted_1$1c={class:"px-4"},_hoisted_2$M=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 最后编译时间 ",-1),_hoisted_3$o={class:"my-4 text-center text-lg font-sans"},_hoisted_4$e={class:"px-4"},_hoisted_5$9=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 生产环境依赖 ",-1),_hoisted_6$6={class:"list-none pl-0 text-sm"},_hoisted_7$4={class:"font-bold"},_hoisted_8$4={class:"font-sans"},_hoisted_9$3={class:"px-4"},_hoisted_10$2=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 开发环境依赖 ",-1),_hoisted_11$2={class:"list-none pl-0 text-sm"},_hoisted_12$2={class:"font-bold"},_hoisted_13$2={class:"font-sans"},_sfc_main$2w=defineComponent({__name:"index",setup(xe){const $e=ref(!1),{pkg:Ie,lastBuildTime:Fe}=define_SYSTEM_INFO_default;return onMounted(()=>{eventBus.on("global-system-info-toggle",()=>{$e.value=!$e.value})}),(Ue,qe)=>{const At=_sfc_main$2x;return openBlock(),createBlock(At,{modelValue:unref($e),"onUpdate:modelValue":qe[0]||(qe[0]=Dt=>isRef($e)?$e.value=Dt:null),title:"系统信息"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1c,[_hoisted_2$M,createBaseVNode("div",_hoisted_3$o,toDisplayString(unref(Fe)),1)]),createBaseVNode("div",_hoisted_4$e,[_hoisted_5$9,createBaseVNode("ul",_hoisted_6$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).dependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_7$4,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_8$4,toDisplayString(Dt),1)]))),128))])]),createBaseVNode("div",_hoisted_9$3,[_hoisted_10$2,createBaseVNode("ul",_hoisted_11$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).devDependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_12$2,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_13$2,toDisplayString(Dt),1)]))),128))])])]),_:1},8,["modelValue"])}}}),_hoisted_1$1b=["disabled"],_sfc_main$2v=defineComponent({__name:"HButton",props:{block:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(xe){const $e=xe,Ie=computed(()=>["focus-outline-none focus-visible-outline-0 cursor-pointer disabled-cursor-not-allowed disabled-opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",$e.block?"w-full flex justify-center items-center":"inline-flex items-center",$e.outline?"shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark-bg-dark hover-not-disabled-bg-ui-primary/10 dark-hover-not-disabled-bg-ui-primary/10 focus-visible-ring-2":"shadow-sm text-ui-text bg-ui-primary hover-bg-ui-primary/75 disabled-bg-ui-primary/90 focus-visible-ring-inset focus-visible-ring-2"]);return(Fe,Ue)=>(openBlock(),createElementBlock("button",{disabled:Fe.disabled,class:normalizeClass(unref(Ie))},[renderSlot(Fe.$slots,"default")],10,_hoisted_1$1b))}});var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$2=root.Symbol,objectProto$f=Object.prototype,hasOwnProperty$d=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(xe){var $e=hasOwnProperty$d.call(xe,symToStringTag$1),Ie=xe[symToStringTag$1];try{xe[symToStringTag$1]=void 0;var Fe=!0}catch{}var Ue=nativeObjectToString$1.call(xe);return Fe&&($e?xe[symToStringTag$1]=Ie:delete xe[symToStringTag$1]),Ue}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(xe){return nativeObjectToString.call(xe)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(xe){return xe==null?xe===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(xe)?getRawTag(xe):objectToString(xe)}function isObjectLike(xe){return xe!=null&&typeof xe=="object"}var symbolTag$3="[object Symbol]";function isSymbol(xe){return typeof xe=="symbol"||isObjectLike(xe)&&baseGetTag(xe)==symbolTag$3}function arrayMap(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length,Ue=Array(Fe);++Ie0){if(++$e>=HOT_COUNT)return arguments[0]}else $e=0;return xe.apply(void 0,arguments)}}function constant(xe){return function(){return xe}}var defineProperty=function(){try{var xe=getNative(Object,"defineProperty");return xe({},"",{}),xe}catch{}}(),baseSetToString=defineProperty?function(xe,$e){return defineProperty(xe,"toString",{configurable:!0,enumerable:!1,value:constant($e),writable:!0})}:identity$2,setToString=shortOut(baseSetToString);function arrayEach(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length;++Ie-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(xe,$e){var Ie=typeof xe;return $e=$e??MAX_SAFE_INTEGER$2,!!$e&&(Ie=="number"||Ie!="symbol"&&reIsUint.test(xe))&&xe>-1&&xe%1==0&&xe<$e}function baseAssignValue(xe,$e,Ie){$e=="__proto__"&&defineProperty?defineProperty(xe,$e,{configurable:!0,enumerable:!0,value:Ie,writable:!0}):xe[$e]=Ie}function eq(xe,$e){return xe===$e||xe!==xe&&$e!==$e}var objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty;function assignValue(xe,$e,Ie){var Fe=xe[$e];(!(hasOwnProperty$b.call(xe,$e)&&eq(Fe,Ie))||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function copyObject(xe,$e,Ie,Fe){var Ue=!Ie;Ie||(Ie={});for(var qe=-1,At=$e.length;++qe-1&&xe%1==0&&xe<=MAX_SAFE_INTEGER$1}function isArrayLike$1(xe){return xe!=null&&isLength(xe.length)&&!isFunction$3(xe)}function isIterateeCall(xe,$e,Ie){if(!isObject$6(Ie))return!1;var Fe=typeof $e;return(Fe=="number"?isArrayLike$1(Ie)&&isIndex($e,Ie.length):Fe=="string"&&$e in Ie)?eq(Ie[$e],xe):!1}function createAssigner(xe){return baseRest(function($e,Ie){var Fe=-1,Ue=Ie.length,qe=Ue>1?Ie[Ue-1]:void 0,At=Ue>2?Ie[2]:void 0;for(qe=xe.length>3&&typeof qe=="function"?(Ue--,qe):void 0,At&&isIterateeCall(Ie[0],Ie[1],At)&&(qe=Ue<3?void 0:qe,Ue=1),$e=Object($e);++Fe-1}function listCacheSet$1(xe,$e){var Ie=this.__data__,Fe=assocIndexOf(Ie,xe);return Fe<0?(++this.size,Ie.push([xe,$e])):Ie[Fe][1]=$e,this}function ListCache(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.clear();++$e0&&Ie(Dt)?$e>1?baseFlatten(Dt,$e-1,Ie,Fe,Ue):arrayPush(Ue,Dt):Fe||(Ue[Ue.length]=Dt)}return Ue}function flatten(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,1):[]}function flatRest(xe){return setToString(overRest(xe,void 0,flatten),xe+"")}var getPrototype=overArg(Object.getPrototypeOf,Object),objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(xe){if(!isObjectLike(xe)||baseGetTag(xe)!=objectTag$3)return!1;var $e=getPrototype(xe);if($e===null)return!0;var Ie=hasOwnProperty$4.call($e,"constructor")&&$e.constructor;return typeof Ie=="function"&&Ie instanceof Ie&&funcToString.call(Ie)==objectCtorString}function baseSlice(xe,$e,Ie){var Fe=-1,Ue=xe.length;$e<0&&($e=-$e>Ue?0:Ue+$e),Ie=Ie>Ue?Ue:Ie,Ie<0&&(Ie+=Ue),Ue=$e>Ie?0:Ie-$e>>>0,$e>>>=0;for(var qe=Array(Ue);++FeDt))return!1;var jt=qe.get(xe),hn=qe.get($e);if(jt&&hn)return jt==$e&&hn==xe;var vn=-1,bn=!0,_n=Ie&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(qe.set(xe,$e),qe.set($e,xe);++vn=$e||Pn<0||vn&&Nn>=qe}function Sn(){var $n=now();if(Cn($n))return xn($n);Dt=setTimeout(Sn,kn($n))}function xn($n){return Dt=void 0,bn&&Fe?_n($n):(Fe=Ue=void 0,At)}function En(){Dt!==void 0&&clearTimeout(Dt),jt=0,Fe=Lt=Ue=Dt=void 0}function Tn(){return Dt===void 0?At:xn(now())}function An(){var $n=now(),Pn=Cn($n);if(Fe=arguments,Ue=this,Lt=$n,Pn){if(Dt===void 0)return wn(Lt);if(vn)return clearTimeout(Dt),Dt=setTimeout(Sn,$e),_n(Lt)}return Dt===void 0&&(Dt=setTimeout(Sn,$e)),At}return An.cancel=En,An.flush=Tn,An}function assignMergeValue(xe,$e,Ie){(Ie!==void 0&&!eq(xe[$e],Ie)||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function isArrayLikeObject(xe){return isObjectLike(xe)&&isArrayLike$1(xe)}function safeGet(xe,$e){if(!($e==="constructor"&&typeof xe[$e]=="function")&&$e!="__proto__")return xe[$e]}function toPlainObject(xe){return copyObject(xe,keysIn(xe))}function baseMergeDeep(xe,$e,Ie,Fe,Ue,qe,At){var Dt=safeGet(xe,Ie),Lt=safeGet($e,Ie),jt=At.get(Lt);if(jt){assignMergeValue(xe,Ie,jt);return}var hn=qe?qe(Dt,Lt,Ie+"",xe,$e,At):void 0,vn=hn===void 0;if(vn){var bn=isArray$4(Lt),_n=!bn&&isBuffer$1(Lt),wn=!bn&&!_n&&isTypedArray$2(Lt);hn=Lt,bn||_n||wn?isArray$4(Dt)?hn=Dt:isArrayLikeObject(Dt)?hn=copyArray(Dt):_n?(vn=!1,hn=cloneBuffer(Lt,!0)):wn?(vn=!1,hn=cloneTypedArray(Lt,!0)):hn=[]:isPlainObject$2(Lt)||isArguments(Lt)?(hn=Dt,isArguments(Dt)?hn=toPlainObject(Dt):(!isObject$6(Dt)||isFunction$3(Dt))&&(hn=initCloneObject(Lt))):vn=!1}vn&&(At.set(Lt,hn),Ue(hn,Lt,Fe,qe,At),At.delete(Lt)),assignMergeValue(xe,Ie,hn)}function baseMerge(xe,$e,Ie,Fe,Ue){xe!==$e&&baseFor($e,function(qe,At){if(Ue||(Ue=new Stack),isObject$6(qe))baseMergeDeep(xe,$e,At,Ie,baseMerge,Fe,Ue);else{var Dt=Fe?Fe(safeGet(xe,At),qe,At+"",xe,$e,Ue):void 0;Dt===void 0&&(Dt=qe),assignMergeValue(xe,At,Dt)}},keysIn)}function customDefaultsMerge(xe,$e,Ie,Fe,Ue,qe){return isObject$6(xe)&&isObject$6($e)&&(qe.set($e,xe),baseMerge(xe,$e,void 0,customDefaultsMerge,qe),qe.delete($e)),xe}var mergeWith=createAssigner(function(xe,$e,Ie,Fe){baseMerge(xe,$e,Ie,Fe)}),defaultsDeep=baseRest(function(xe){return xe.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,xe)});function last(xe){var $e=xe==null?0:xe.length;return $e?xe[$e-1]:void 0}function findLastIndex(xe,$e,Ie){var Fe=xe==null?0:xe.length;if(!Fe)return-1;var Ue=Fe-1;return baseFindIndex(xe,baseIteratee($e),Ue,!0)}function baseMap(xe,$e){var Ie=-1,Fe=isArrayLike$1(xe)?Array(xe.length):[];return baseEach(xe,function(Ue,qe,At){Fe[++Ie]=$e(Ue,qe,At)}),Fe}function map$2(xe,$e){var Ie=isArray$4(xe)?arrayMap:baseMap;return Ie(xe,baseIteratee($e))}function flatMap(xe,$e){return baseFlatten(map$2(xe,$e),1)}var INFINITY$1=1/0;function flattenDeep(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,INFINITY$1):[]}function fromPairs(xe){for(var $e=-1,Ie=xe==null?0:xe.length,Fe={};++$e1),qe}),copyObject(xe,getAllKeysIn(xe),Ie),Fe&&(Ie=baseClone(Ie,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var Ue=$e.length;Ue--;)baseUnset(Ie,$e[Ue]);return Ie});function baseSet(xe,$e,Ie,Fe){if(!isObject$6(xe))return xe;$e=castPath($e,xe);for(var Ue=-1,qe=$e.length,At=qe-1,Dt=xe;Dt!=null&&++Ue=LARGE_ARRAY_SIZE){var jt=createSet(xe);if(jt)return setToArray(jt);At=!1,Ue=cacheHas,Lt=new SetCache}else Lt=Dt;e:for(;++FeactivePinia=xe,piniaSymbol=Symbol();function isPlainObject$1(xe){return xe&&typeof xe=="object"&&Object.prototype.toString.call(xe)==="[object Object]"&&typeof xe.toJSON!="function"}var MutationType;(function(xe){xe.direct="direct",xe.patchObject="patch object",xe.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const xe=effectScope(!0),$e=xe.run(()=>ref({}));let Ie=[],Fe=[];const Ue=markRaw({install(qe){setActivePinia(Ue),Ue._a=qe,qe.provide(piniaSymbol,Ue),qe.config.globalProperties.$pinia=Ue,Fe.forEach(At=>Ie.push(At)),Fe=[]},use(qe){return!this._a&&!isVue2?Fe.push(qe):Ie.push(qe),this},_p:Ie,_a:null,_e:xe,_s:new Map,state:$e});return Ue}const noop$5=()=>{};function addSubscription(xe,$e,Ie,Fe=noop$5){xe.push($e);const Ue=()=>{const qe=xe.indexOf($e);qe>-1&&(xe.splice(qe,1),Fe())};return!Ie&&getCurrentScope()&&onScopeDispose(Ue),Ue}function triggerSubscriptions(xe,...$e){xe.slice().forEach(Ie=>{Ie(...$e)})}const fallbackRunWithContext=xe=>xe();function mergeReactiveObjects(xe,$e){xe instanceof Map&&$e instanceof Map&&$e.forEach((Ie,Fe)=>xe.set(Fe,Ie)),xe instanceof Set&&$e instanceof Set&&$e.forEach(xe.add,xe);for(const Ie in $e){if(!$e.hasOwnProperty(Ie))continue;const Fe=$e[Ie],Ue=xe[Ie];isPlainObject$1(Ue)&&isPlainObject$1(Fe)&&xe.hasOwnProperty(Ie)&&!isRef(Fe)&&!isReactive(Fe)?xe[Ie]=mergeReactiveObjects(Ue,Fe):xe[Ie]=Fe}return xe}const skipHydrateSymbol=Symbol();function shouldHydrate(xe){return!isPlainObject$1(xe)||!xe.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$1}=Object;function isComputed(xe){return!!(isRef(xe)&&xe.effect)}function createOptionsStore(xe,$e,Ie,Fe){const{state:Ue,actions:qe,getters:At}=$e,Dt=Ie.state.value[xe];let Lt;function jt(){Dt||(Ie.state.value[xe]=Ue?Ue():{});const hn=toRefs(Ie.state.value[xe]);return assign$1(hn,qe,Object.keys(At||{}).reduce((vn,bn)=>(vn[bn]=markRaw(computed(()=>{setActivePinia(Ie);const _n=Ie._s.get(xe);return At[bn].call(_n,_n)})),vn),{}))}return Lt=createSetupStore(xe,jt,$e,Ie,Fe,!0),Lt}function createSetupStore(xe,$e,Ie={},Fe,Ue,qe){let At;const Dt=assign$1({actions:{}},Ie),Lt={deep:!0};let jt,hn,vn=[],bn=[],_n;const wn=Fe.state.value[xe];!qe&&!wn&&(Fe.state.value[xe]={}),ref({});let kn;function Cn(Nn){let Mn;jt=hn=!1,typeof Nn=="function"?(Nn(Fe.state.value[xe]),Mn={type:MutationType.patchFunction,storeId:xe,events:_n}):(mergeReactiveObjects(Fe.state.value[xe],Nn),Mn={type:MutationType.patchObject,payload:Nn,storeId:xe,events:_n});const In=kn=Symbol();nextTick().then(()=>{kn===In&&(jt=!0)}),hn=!0,triggerSubscriptions(vn,Mn,Fe.state.value[xe])}const Sn=qe?function(){const{state:Mn}=Ie,In=Mn?Mn():{};this.$patch(On=>{assign$1(On,In)})}:noop$5;function xn(){At.stop(),vn=[],bn=[],Fe._s.delete(xe)}function En(Nn,Mn){return function(){setActivePinia(Fe);const In=Array.from(arguments),On=[],Rn=[];function Bn(Dn){On.push(Dn)}function Vn(Dn){Rn.push(Dn)}triggerSubscriptions(bn,{args:In,name:Nn,store:An,after:Bn,onError:Vn});let Ln;try{Ln=Mn.apply(this&&this.$id===xe?this:An,In)}catch(Dn){throw triggerSubscriptions(Rn,Dn),Dn}return Ln instanceof Promise?Ln.then(Dn=>(triggerSubscriptions(On,Dn),Dn)).catch(Dn=>(triggerSubscriptions(Rn,Dn),Promise.reject(Dn))):(triggerSubscriptions(On,Ln),Ln)}}const Tn={_p:Fe,$id:xe,$onAction:addSubscription.bind(null,bn),$patch:Cn,$reset:Sn,$subscribe(Nn,Mn={}){const In=addSubscription(vn,Nn,Mn.detached,()=>On()),On=At.run(()=>watch(()=>Fe.state.value[xe],Rn=>{(Mn.flush==="sync"?hn:jt)&&Nn({storeId:xe,type:MutationType.direct,events:_n},Rn)},assign$1({},Lt,Mn)));return In},$dispose:xn},An=reactive(Tn);Fe._s.set(xe,An);const Pn=(Fe._a&&Fe._a.runWithContext||fallbackRunWithContext)(()=>Fe._e.run(()=>(At=effectScope()).run($e)));for(const Nn in Pn){const Mn=Pn[Nn];if(isRef(Mn)&&!isComputed(Mn)||isReactive(Mn))qe||(wn&&shouldHydrate(Mn)&&(isRef(Mn)?Mn.value=wn[Nn]:mergeReactiveObjects(Mn,wn[Nn])),Fe.state.value[xe][Nn]=Mn);else if(typeof Mn=="function"){const In=En(Nn,Mn);Pn[Nn]=In,Dt.actions[Nn]=Mn}}return assign$1(An,Pn),assign$1(toRaw(An),Pn),Object.defineProperty(An,"$state",{get:()=>Fe.state.value[xe],set:Nn=>{Cn(Mn=>{assign$1(Mn,Nn)})}}),Fe._p.forEach(Nn=>{assign$1(An,At.run(()=>Nn({store:An,app:Fe._a,pinia:Fe,options:Dt})))}),wn&&qe&&Ie.hydrate&&Ie.hydrate(An.$state,wn),jt=!0,hn=!0,An}function defineStore(xe,$e,Ie){let Fe,Ue;const qe=typeof $e=="function";typeof xe=="string"?(Fe=xe,Ue=qe?Ie:$e):(Ue=xe,Fe=xe.id);function At(Dt,Lt){const jt=hasInjectionContext();return Dt=Dt||(jt?inject(piniaSymbol,null):null),Dt&&setActivePinia(Dt),Dt=activePinia,Dt._s.has(Fe)||(qe?createSetupStore(Fe,$e,Ue,Dt):createOptionsStore(Fe,Ue,Dt)),Dt._s.get(Fe)}return At.$id=Fe,At}const useSettingsStore=defineStore("settings",()=>{const xe=ref(settingsDefault),$e=window.matchMedia("(prefers-color-scheme: dark)"),Ie=ref();watch(()=>xe.value.app.colorScheme,wn=>{wn===""?$e.addEventListener("change",Fe):$e.removeEventListener("change",Fe)},{immediate:!0}),watch(()=>xe.value.app.colorScheme,Fe,{immediate:!0});function Fe(){let wn=xe.value.app.colorScheme;switch(wn===""&&(wn=$e.matches?"dark":"light"),Ie.value=wn,wn){case"light":document.documentElement.classList.remove("dark");break;case"dark":document.documentElement.classList.add("dark");break}}watch(()=>xe.value.menu.menuMode,wn=>{document.body.setAttribute("data-menu-mode",wn)},{immediate:!0});const Ue=ref("other"),qe=navigator.userAgent.toLowerCase();switch(!0){case qe.includes("mac os"):Ue.value="mac";break;case qe.includes("windows"):Ue.value="windows";break;case qe.includes("linux"):Ue.value="linux";break}const At=ref();function Dt(wn){At.value=wn}const Lt=ref("pc");function jt(wn){xe.value.layout.enableMobileAdaptation?/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?Lt.value="mobile":Lt.value=wn<1024?"mobile":"pc":Lt.value="pc"}function hn(){xe.value.menu.subMenuCollapse=!xe.value.menu.subMenuCollapse}const vn=ref(settingsDefault.menu.subMenuCollapse);watch(()=>xe.value.menu.subMenuCollapse,wn=>{Lt.value==="pc"&&(vn.value=wn)}),watch(Lt,wn=>{switch(wn){case"pc":xe.value.menu.subMenuCollapse=vn.value;break;case"mobile":xe.value.menu.subMenuCollapse=!0;break}document.body.setAttribute("data-mode",wn)},{immediate:!0});function bn(wn){xe.value.app.colorScheme=wn}function _n(wn,kn=!1){xe.value=defaultsDeep(wn,kn?settingsDefault:xe.value)}return{settings:xe,currentColorScheme:Ie,os:Ue,title:At,setTitle:Dt,mode:Lt,setMode:jt,subMenuCollapseLastStatus:vn,toggleSidebarCollapse:hn,setColorScheme:bn,updateSettings:_n}});/*! + * vue-router v4.3.3 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const isBrowser$1=typeof document<"u";function isESModule(xe){return xe.__esModule||xe[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(xe,$e){const Ie={};for(const Fe in $e){const Ue=$e[Fe];Ie[Fe]=isArray$3(Ue)?Ue.map(xe):xe(Ue)}return Ie}const noop$4=()=>{},isArray$3=Array.isArray,HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(xe){return encodeURI(""+xe).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(xe){return commonEncode(xe).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(xe){return commonEncode(xe).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(xe){return encodeQueryValue(xe).replace(EQUAL_RE,"%3D")}function encodePath(xe){return commonEncode(xe).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(xe){return xe==null?"":encodePath(xe).replace(SLASH_RE,"%2F")}function decode$1(xe){try{return decodeURIComponent(""+xe)}catch{}return""+xe}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=xe=>xe.replace(TRAILING_SLASH_RE,"");function parseURL(xe,$e,Ie="/"){let Fe,Ue={},qe="",At="";const Dt=$e.indexOf("#");let Lt=$e.indexOf("?");return Dt=0&&(Lt=-1),Lt>-1&&(Fe=$e.slice(0,Lt),qe=$e.slice(Lt+1,Dt>-1?Dt:$e.length),Ue=xe(qe)),Dt>-1&&(Fe=Fe||$e.slice(0,Dt),At=$e.slice(Dt,$e.length)),Fe=resolveRelativePath(Fe??$e,Ie),{fullPath:Fe+(qe&&"?")+qe+At,path:Fe,query:Ue,hash:decode$1(At)}}function stringifyURL(xe,$e){const Ie=$e.query?xe($e.query):"";return $e.path+(Ie&&"?")+Ie+($e.hash||"")}function stripBase(xe,$e){return!$e||!xe.toLowerCase().startsWith($e.toLowerCase())?xe:xe.slice($e.length)||"/"}function isSameRouteLocation(xe,$e,Ie){const Fe=$e.matched.length-1,Ue=Ie.matched.length-1;return Fe>-1&&Fe===Ue&&isSameRouteRecord($e.matched[Fe],Ie.matched[Ue])&&isSameRouteLocationParams($e.params,Ie.params)&&xe($e.query)===xe(Ie.query)&&$e.hash===Ie.hash}function isSameRouteRecord(xe,$e){return(xe.aliasOf||xe)===($e.aliasOf||$e)}function isSameRouteLocationParams(xe,$e){if(Object.keys(xe).length!==Object.keys($e).length)return!1;for(const Ie in xe)if(!isSameRouteLocationParamsValue(xe[Ie],$e[Ie]))return!1;return!0}function isSameRouteLocationParamsValue(xe,$e){return isArray$3(xe)?isEquivalentArray(xe,$e):isArray$3($e)?isEquivalentArray($e,xe):xe===$e}function isEquivalentArray(xe,$e){return isArray$3($e)?xe.length===$e.length&&xe.every((Ie,Fe)=>Ie===$e[Fe]):xe.length===1&&xe[0]===$e}function resolveRelativePath(xe,$e){if(xe.startsWith("/"))return xe;if(!xe)return $e;const Ie=$e.split("/"),Fe=xe.split("/"),Ue=Fe[Fe.length-1];(Ue===".."||Ue===".")&&Fe.push("");let qe=Ie.length-1,At,Dt;for(At=0;At1&&qe--;else break;return Ie.slice(0,qe).join("/")+"/"+Fe.slice(At).join("/")}var NavigationType;(function(xe){xe.pop="pop",xe.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(xe){xe.back="back",xe.forward="forward",xe.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(xe){if(!xe)if(isBrowser$1){const $e=document.querySelector("base");xe=$e&&$e.getAttribute("href")||"/",xe=xe.replace(/^\w+:\/\/[^\/]+/,"")}else xe="/";return xe[0]!=="/"&&xe[0]!=="#"&&(xe="/"+xe),removeTrailingSlash(xe)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(xe,$e){return xe.replace(BEFORE_HASH_RE,"#")+$e}function getElementPosition(xe,$e){const Ie=document.documentElement.getBoundingClientRect(),Fe=xe.getBoundingClientRect();return{behavior:$e.behavior,left:Fe.left-Ie.left-($e.left||0),top:Fe.top-Ie.top-($e.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(xe){let $e;if("el"in xe){const Ie=xe.el,Fe=typeof Ie=="string"&&Ie.startsWith("#"),Ue=typeof Ie=="string"?Fe?document.getElementById(Ie.slice(1)):document.querySelector(Ie):Ie;if(!Ue)return;$e=getElementPosition(Ue,xe)}else $e=xe;"scrollBehavior"in document.documentElement.style?window.scrollTo($e):window.scrollTo($e.left!=null?$e.left:window.scrollX,$e.top!=null?$e.top:window.scrollY)}function getScrollKey(xe,$e){return(history.state?history.state.position-$e:-1)+xe}const scrollPositions=new Map;function saveScrollPosition(xe,$e){scrollPositions.set(xe,$e)}function getSavedScrollPosition(xe){const $e=scrollPositions.get(xe);return scrollPositions.delete(xe),$e}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(xe,$e){const{pathname:Ie,search:Fe,hash:Ue}=$e,qe=xe.indexOf("#");if(qe>-1){let Dt=Ue.includes(xe.slice(qe))?xe.slice(qe).length:1,Lt=Ue.slice(Dt);return Lt[0]!=="/"&&(Lt="/"+Lt),stripBase(Lt,"")}return stripBase(Ie,xe)+Fe+Ue}function useHistoryListeners(xe,$e,Ie,Fe){let Ue=[],qe=[],At=null;const Dt=({state:bn})=>{const _n=createCurrentLocation(xe,location),wn=Ie.value,kn=$e.value;let Cn=0;if(bn){if(Ie.value=_n,$e.value=bn,At&&At===wn){At=null;return}Cn=kn?bn.position-kn.position:0}else Fe(_n);Ue.forEach(Sn=>{Sn(Ie.value,wn,{delta:Cn,type:NavigationType.pop,direction:Cn?Cn>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function Lt(){At=Ie.value}function jt(bn){Ue.push(bn);const _n=()=>{const wn=Ue.indexOf(bn);wn>-1&&Ue.splice(wn,1)};return qe.push(_n),_n}function hn(){const{history:bn}=window;bn.state&&bn.replaceState(assign({},bn.state,{scroll:computeScrollPosition()}),"")}function vn(){for(const bn of qe)bn();qe=[],window.removeEventListener("popstate",Dt),window.removeEventListener("beforeunload",hn)}return window.addEventListener("popstate",Dt),window.addEventListener("beforeunload",hn,{passive:!0}),{pauseListeners:Lt,listen:jt,destroy:vn}}function buildState(xe,$e,Ie,Fe=!1,Ue=!1){return{back:xe,current:$e,forward:Ie,replaced:Fe,position:window.history.length,scroll:Ue?computeScrollPosition():null}}function useHistoryStateNavigation(xe){const{history:$e,location:Ie}=window,Fe={value:createCurrentLocation(xe,Ie)},Ue={value:$e.state};Ue.value||qe(Fe.value,{back:null,current:Fe.value,forward:null,position:$e.length-1,replaced:!0,scroll:null},!0);function qe(Lt,jt,hn){const vn=xe.indexOf("#"),bn=vn>-1?(Ie.host&&document.querySelector("base")?xe:xe.slice(vn))+Lt:createBaseLocation()+xe+Lt;try{$e[hn?"replaceState":"pushState"](jt,"",bn),Ue.value=jt}catch(_n){console.error(_n),Ie[hn?"replace":"assign"](bn)}}function At(Lt,jt){const hn=assign({},$e.state,buildState(Ue.value.back,Lt,Ue.value.forward,!0),jt,{position:Ue.value.position});qe(Lt,hn,!0),Fe.value=Lt}function Dt(Lt,jt){const hn=assign({},Ue.value,$e.state,{forward:Lt,scroll:computeScrollPosition()});qe(hn.current,hn,!0);const vn=assign({},buildState(Fe.value,Lt,null),{position:hn.position+1},jt);qe(Lt,vn,!1),Fe.value=Lt}return{location:Fe,state:Ue,push:Dt,replace:At}}function createWebHistory(xe){xe=normalizeBase(xe);const $e=useHistoryStateNavigation(xe),Ie=useHistoryListeners(xe,$e.state,$e.location,$e.replace);function Fe(qe,At=!0){At||Ie.pauseListeners(),history.go(qe)}const Ue=assign({location:"",base:xe,go:Fe,createHref:createHref.bind(null,xe)},$e,Ie);return Object.defineProperty(Ue,"location",{enumerable:!0,get:()=>$e.location.value}),Object.defineProperty(Ue,"state",{enumerable:!0,get:()=>$e.state.value}),Ue}function createWebHashHistory(xe){return xe=location.host?xe||location.pathname+location.search:"",xe.includes("#")||(xe+="#"),createWebHistory(xe)}function isRouteLocation(xe){return typeof xe=="string"||xe&&typeof xe=="object"}function isRouteName(xe){return typeof xe=="string"||typeof xe=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(xe){xe[xe.aborted=4]="aborted",xe[xe.cancelled=8]="cancelled",xe[xe.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(xe,$e){return assign(new Error,{type:xe,[NavigationFailureSymbol]:!0},$e)}function isNavigationFailure(xe,$e){return xe instanceof Error&&NavigationFailureSymbol in xe&&($e==null||!!(xe.type&$e))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(xe,$e){const Ie=assign({},BASE_PATH_PARSER_OPTIONS,$e),Fe=[];let Ue=Ie.start?"^":"";const qe=[];for(const jt of xe){const hn=jt.length?[]:[90];Ie.strict&&!jt.length&&(Ue+="/");for(let vn=0;vn$e.length?$e.length===1&&$e[0]===80?1:-1:0}function comparePathParserScore(xe,$e){let Ie=0;const Fe=xe.score,Ue=$e.score;for(;Ie0&&$e[$e.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(xe){if(!xe)return[[]];if(xe==="/")return[[ROOT_TOKEN]];if(!xe.startsWith("/"))throw new Error(`Invalid path "${xe}"`);function $e(_n){throw new Error(`ERR (${Ie})/"${jt}": ${_n}`)}let Ie=0,Fe=Ie;const Ue=[];let qe;function At(){qe&&Ue.push(qe),qe=[]}let Dt=0,Lt,jt="",hn="";function vn(){jt&&(Ie===0?qe.push({type:0,value:jt}):Ie===1||Ie===2||Ie===3?(qe.length>1&&(Lt==="*"||Lt==="+")&&$e(`A repeatable param (${jt}) must be alone in its segment. eg: '/:ids+.`),qe.push({type:1,value:jt,regexp:hn,repeatable:Lt==="*"||Lt==="+",optional:Lt==="*"||Lt==="?"})):$e("Invalid state to consume buffer"),jt="")}function bn(){jt+=Lt}for(;Dt{At(xn)}:noop$4}function At(hn){if(isRouteName(hn)){const vn=Fe.get(hn);vn&&(Fe.delete(hn),Ie.splice(Ie.indexOf(vn),1),vn.children.forEach(At),vn.alias.forEach(At))}else{const vn=Ie.indexOf(hn);vn>-1&&(Ie.splice(vn,1),hn.record.name&&Fe.delete(hn.record.name),hn.children.forEach(At),hn.alias.forEach(At))}}function Dt(){return Ie}function Lt(hn){const vn=findInsertionIndex(hn,Ie);Ie.splice(vn,0,hn),hn.record.name&&!isAliasRecord(hn)&&Fe.set(hn.record.name,hn)}function jt(hn,vn){let bn,_n={},wn,kn;if("name"in hn&&hn.name){if(bn=Fe.get(hn.name),!bn)throw createRouterError(1,{location:hn});kn=bn.record.name,_n=assign(paramsFromLocation(vn.params,bn.keys.filter(xn=>!xn.optional).concat(bn.parent?bn.parent.keys.filter(xn=>xn.optional):[]).map(xn=>xn.name)),hn.params&¶msFromLocation(hn.params,bn.keys.map(xn=>xn.name))),wn=bn.stringify(_n)}else if(hn.path!=null)wn=hn.path,bn=Ie.find(xn=>xn.re.test(wn)),bn&&(_n=bn.parse(wn),kn=bn.record.name);else{if(bn=vn.name?Fe.get(vn.name):Ie.find(xn=>xn.re.test(vn.path)),!bn)throw createRouterError(1,{location:hn,currentLocation:vn});kn=bn.record.name,_n=assign({},vn.params,hn.params),wn=bn.stringify(_n)}const Cn=[];let Sn=bn;for(;Sn;)Cn.unshift(Sn.record),Sn=Sn.parent;return{name:kn,path:wn,params:_n,matched:Cn,meta:mergeMetaFields(Cn)}}return xe.forEach(hn=>qe(hn)),{addRoute:qe,resolve:jt,removeRoute:At,getRoutes:Dt,getRecordMatcher:Ue}}function paramsFromLocation(xe,$e){const Ie={};for(const Fe of $e)Fe in xe&&(Ie[Fe]=xe[Fe]);return Ie}function normalizeRouteRecord(xe){return{path:xe.path,redirect:xe.redirect,name:xe.name,meta:xe.meta||{},aliasOf:void 0,beforeEnter:xe.beforeEnter,props:normalizeRecordProps(xe),children:xe.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in xe?xe.components||null:xe.component&&{default:xe.component}}}function normalizeRecordProps(xe){const $e={},Ie=xe.props||!1;if("component"in xe)$e.default=Ie;else for(const Fe in xe.components)$e[Fe]=typeof Ie=="object"?Ie[Fe]:Ie;return $e}function isAliasRecord(xe){for(;xe;){if(xe.record.aliasOf)return!0;xe=xe.parent}return!1}function mergeMetaFields(xe){return xe.reduce(($e,Ie)=>assign($e,Ie.meta),{})}function mergeOptions$1(xe,$e){const Ie={};for(const Fe in xe)Ie[Fe]=Fe in $e?$e[Fe]:xe[Fe];return Ie}function findInsertionIndex(xe,$e){let Ie=0,Fe=$e.length;for(;Ie!==Fe;){const qe=Ie+Fe>>1;comparePathParserScore(xe,$e[qe])<0?Fe=qe:Ie=qe+1}const Ue=getInsertionAncestor(xe);return Ue&&(Fe=$e.lastIndexOf(Ue,Fe-1)),Fe}function getInsertionAncestor(xe){let $e=xe;for(;$e=$e.parent;)if(isMatchable($e)&&comparePathParserScore(xe,$e)===0)return $e}function isMatchable({record:xe}){return!!(xe.name||xe.components&&Object.keys(xe.components).length||xe.redirect)}function parseQuery(xe){const $e={};if(xe===""||xe==="?")return $e;const Fe=(xe[0]==="?"?xe.slice(1):xe).split("&");for(let Ue=0;Ueqe&&encodeQueryValue(qe)):[Fe&&encodeQueryValue(Fe)]).forEach(qe=>{qe!==void 0&&($e+=($e.length?"&":"")+Ie,qe!=null&&($e+="="+qe))})}return $e}function normalizeQuery(xe){const $e={};for(const Ie in xe){const Fe=xe[Ie];Fe!==void 0&&($e[Ie]=isArray$3(Fe)?Fe.map(Ue=>Ue==null?null:""+Ue):Fe==null?Fe:""+Fe)}return $e}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let xe=[];function $e(Fe){return xe.push(Fe),()=>{const Ue=xe.indexOf(Fe);Ue>-1&&xe.splice(Ue,1)}}function Ie(){xe=[]}return{add:$e,list:()=>xe.slice(),reset:Ie}}function registerGuard(xe,$e,Ie){const Fe=()=>{xe[$e].delete(Ie)};onUnmounted(Fe),onDeactivated(Fe),onActivated(()=>{xe[$e].add(Ie)}),xe[$e].add(Ie)}function onBeforeRouteLeave(xe){const $e=inject(matchedRouteKey,{}).value;$e&®isterGuard($e,"leaveGuards",xe)}function guardToPromiseFn(xe,$e,Ie,Fe,Ue,qe=At=>At()){const At=Fe&&(Fe.enterCallbacks[Ue]=Fe.enterCallbacks[Ue]||[]);return()=>new Promise((Dt,Lt)=>{const jt=bn=>{bn===!1?Lt(createRouterError(4,{from:Ie,to:$e})):bn instanceof Error?Lt(bn):isRouteLocation(bn)?Lt(createRouterError(2,{from:$e,to:bn})):(At&&Fe.enterCallbacks[Ue]===At&&typeof bn=="function"&&At.push(bn),Dt())},hn=qe(()=>xe.call(Fe&&Fe.instances[Ue],$e,Ie,jt));let vn=Promise.resolve(hn);xe.length<3&&(vn=vn.then(jt)),vn.catch(bn=>Lt(bn))})}function extractComponentsGuards(xe,$e,Ie,Fe,Ue=qe=>qe()){const qe=[];for(const At of xe)for(const Dt in At.components){let Lt=At.components[Dt];if(!($e!=="beforeRouteEnter"&&!At.instances[Dt]))if(isRouteComponent(Lt)){const hn=(Lt.__vccOpts||Lt)[$e];hn&&qe.push(guardToPromiseFn(hn,Ie,Fe,At,Dt,Ue))}else{let jt=Lt();qe.push(()=>jt.then(hn=>{if(!hn)return Promise.reject(new Error(`Couldn't resolve component "${Dt}" at "${At.path}"`));const vn=isESModule(hn)?hn.default:hn;At.components[Dt]=vn;const _n=(vn.__vccOpts||vn)[$e];return _n&&guardToPromiseFn(_n,Ie,Fe,At,Dt,Ue)()}))}}return qe}function isRouteComponent(xe){return typeof xe=="object"||"displayName"in xe||"props"in xe||"__vccOpts"in xe}function useLink(xe){const $e=inject(routerKey),Ie=inject(routeLocationKey),Fe=computed(()=>{const Lt=unref(xe.to);return $e.resolve(Lt)}),Ue=computed(()=>{const{matched:Lt}=Fe.value,{length:jt}=Lt,hn=Lt[jt-1],vn=Ie.matched;if(!hn||!vn.length)return-1;const bn=vn.findIndex(isSameRouteRecord.bind(null,hn));if(bn>-1)return bn;const _n=getOriginalPath(Lt[jt-2]);return jt>1&&getOriginalPath(hn)===_n&&vn[vn.length-1].path!==_n?vn.findIndex(isSameRouteRecord.bind(null,Lt[jt-2])):bn}),qe=computed(()=>Ue.value>-1&&includesParams(Ie.params,Fe.value.params)),At=computed(()=>Ue.value>-1&&Ue.value===Ie.matched.length-1&&isSameRouteLocationParams(Ie.params,Fe.value.params));function Dt(Lt={}){return guardEvent(Lt)?$e[unref(xe.replace)?"replace":"push"](unref(xe.to)).catch(noop$4):Promise.resolve()}return{route:Fe,href:computed(()=>Fe.value.href),isActive:qe,isExactActive:At,navigate:Dt}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(xe,{slots:$e}){const Ie=reactive(useLink(xe)),{options:Fe}=inject(routerKey),Ue=computed(()=>({[getLinkClass(xe.activeClass,Fe.linkActiveClass,"router-link-active")]:Ie.isActive,[getLinkClass(xe.exactActiveClass,Fe.linkExactActiveClass,"router-link-exact-active")]:Ie.isExactActive}));return()=>{const qe=$e.default&&$e.default(Ie);return xe.custom?qe:h$5("a",{"aria-current":Ie.isExactActive?xe.ariaCurrentValue:null,href:Ie.href,onClick:Ie.navigate,class:Ue.value},qe)}}}),RouterLink=RouterLinkImpl;function guardEvent(xe){if(!(xe.metaKey||xe.altKey||xe.ctrlKey||xe.shiftKey)&&!xe.defaultPrevented&&!(xe.button!==void 0&&xe.button!==0)){if(xe.currentTarget&&xe.currentTarget.getAttribute){const $e=xe.currentTarget.getAttribute("target");if(/\b_blank\b/i.test($e))return}return xe.preventDefault&&xe.preventDefault(),!0}}function includesParams(xe,$e){for(const Ie in $e){const Fe=$e[Ie],Ue=xe[Ie];if(typeof Fe=="string"){if(Fe!==Ue)return!1}else if(!isArray$3(Ue)||Ue.length!==Fe.length||Fe.some((qe,At)=>qe!==Ue[At]))return!1}return!0}function getOriginalPath(xe){return xe?xe.aliasOf?xe.aliasOf.path:xe.path:""}const getLinkClass=(xe,$e,Ie)=>xe??$e??Ie,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(xe,{attrs:$e,slots:Ie}){const Fe=inject(routerViewLocationKey),Ue=computed(()=>xe.route||Fe.value),qe=inject(viewDepthKey,0),At=computed(()=>{let jt=unref(qe);const{matched:hn}=Ue.value;let vn;for(;(vn=hn[jt])&&!vn.components;)jt++;return jt}),Dt=computed(()=>Ue.value.matched[At.value]);provide(viewDepthKey,computed(()=>At.value+1)),provide(matchedRouteKey,Dt),provide(routerViewLocationKey,Ue);const Lt=ref();return watch(()=>[Lt.value,Dt.value,xe.name],([jt,hn,vn],[bn,_n,wn])=>{hn&&(hn.instances[vn]=jt,_n&&_n!==hn&&jt&&jt===bn&&(hn.leaveGuards.size||(hn.leaveGuards=_n.leaveGuards),hn.updateGuards.size||(hn.updateGuards=_n.updateGuards))),jt&&hn&&(!_n||!isSameRouteRecord(hn,_n)||!bn)&&(hn.enterCallbacks[vn]||[]).forEach(kn=>kn(jt))},{flush:"post"}),()=>{const jt=Ue.value,hn=xe.name,vn=Dt.value,bn=vn&&vn.components[hn];if(!bn)return normalizeSlot(Ie.default,{Component:bn,route:jt});const _n=vn.props[hn],wn=_n?_n===!0?jt.params:typeof _n=="function"?_n(jt):_n:null,Cn=h$5(bn,assign({},wn,$e,{onVnodeUnmounted:Sn=>{Sn.component.isUnmounted&&(vn.instances[hn]=null)},ref:Lt}));return normalizeSlot(Ie.default,{Component:Cn,route:jt})||Cn}}});function normalizeSlot(xe,$e){if(!xe)return null;const Ie=xe($e);return Ie.length===1?Ie[0]:Ie}const RouterView=RouterViewImpl;function createRouter(xe){const $e=createRouterMatcher(xe.routes,xe),Ie=xe.parseQuery||parseQuery,Fe=xe.stringifyQuery||stringifyQuery,Ue=xe.history,qe=useCallbacks(),At=useCallbacks(),Dt=useCallbacks(),Lt=shallowRef(START_LOCATION_NORMALIZED);let jt=START_LOCATION_NORMALIZED;isBrowser$1&&xe.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const hn=applyToParams.bind(null,Yn=>""+Yn),vn=applyToParams.bind(null,encodeParam),bn=applyToParams.bind(null,decode$1);function _n(Yn,qn){let ar,tr;return isRouteName(Yn)?(ar=$e.getRecordMatcher(Yn),tr=qn):tr=Yn,$e.addRoute(tr,ar)}function wn(Yn){const qn=$e.getRecordMatcher(Yn);qn&&$e.removeRoute(qn)}function kn(){return $e.getRoutes().map(Yn=>Yn.record)}function Cn(Yn){return!!$e.getRecordMatcher(Yn)}function Sn(Yn,qn){if(qn=assign({},qn||Lt.value),typeof Yn=="string"){const Zn=parseURL(Ie,Yn,qn.path),nr=$e.resolve({path:Zn.path},qn),lr=Ue.createHref(Zn.fullPath);return assign(Zn,nr,{params:bn(nr.params),hash:decode$1(Zn.hash),redirectedFrom:void 0,href:lr})}let ar;if(Yn.path!=null)ar=assign({},Yn,{path:parseURL(Ie,Yn.path,qn.path).path});else{const Zn=assign({},Yn.params);for(const nr in Zn)Zn[nr]==null&&delete Zn[nr];ar=assign({},Yn,{params:vn(Zn)}),qn.params=vn(qn.params)}const tr=$e.resolve(ar,qn),or=Yn.hash||"";tr.params=hn(bn(tr.params));const sr=stringifyURL(Fe,assign({},Yn,{hash:encodeHash(or),path:tr.path})),Kn=Ue.createHref(sr);return assign({fullPath:sr,hash:or,query:Fe===stringifyQuery?normalizeQuery(Yn.query):Yn.query||{}},tr,{redirectedFrom:void 0,href:Kn})}function xn(Yn){return typeof Yn=="string"?parseURL(Ie,Yn,Lt.value.path):assign({},Yn)}function En(Yn,qn){if(jt!==Yn)return createRouterError(8,{from:qn,to:Yn})}function Tn(Yn){return Pn(Yn)}function An(Yn){return Tn(assign(xn(Yn),{replace:!0}))}function $n(Yn){const qn=Yn.matched[Yn.matched.length-1];if(qn&&qn.redirect){const{redirect:ar}=qn;let tr=typeof ar=="function"?ar(Yn):ar;return typeof tr=="string"&&(tr=tr.includes("?")||tr.includes("#")?tr=xn(tr):{path:tr},tr.params={}),assign({query:Yn.query,hash:Yn.hash,params:tr.path!=null?{}:Yn.params},tr)}}function Pn(Yn,qn){const ar=jt=Sn(Yn),tr=Lt.value,or=Yn.state,sr=Yn.force,Kn=Yn.replace===!0,Zn=$n(ar);if(Zn)return Pn(assign(xn(Zn),{state:typeof Zn=="object"?assign({},or,Zn.state):or,force:sr,replace:Kn}),qn||ar);const nr=ar;nr.redirectedFrom=qn;let lr;return!sr&&isSameRouteLocation(Fe,tr,ar)&&(lr=createRouterError(16,{to:nr,from:tr}),Gn(tr,tr,!0,!1)),(lr?Promise.resolve(lr):In(nr,tr)).catch(ir=>isNavigationFailure(ir)?isNavigationFailure(ir,2)?ir:jn(ir):Fn(ir,nr,tr)).then(ir=>{if(ir){if(isNavigationFailure(ir,2))return Pn(assign({replace:Kn},xn(ir.to),{state:typeof ir.to=="object"?assign({},or,ir.to.state):or,force:sr}),qn||nr)}else ir=Rn(nr,tr,!0,Kn,or);return On(nr,tr,ir),ir})}function Nn(Yn,qn){const ar=En(Yn,qn);return ar?Promise.reject(ar):Promise.resolve()}function Mn(Yn){const qn=er.values().next().value;return qn&&typeof qn.runWithContext=="function"?qn.runWithContext(Yn):Yn()}function In(Yn,qn){let ar;const[tr,or,sr]=extractChangingRecords(Yn,qn);ar=extractComponentsGuards(tr.reverse(),"beforeRouteLeave",Yn,qn);for(const Zn of tr)Zn.leaveGuards.forEach(nr=>{ar.push(guardToPromiseFn(nr,Yn,qn))});const Kn=Nn.bind(null,Yn,qn);return ar.push(Kn),Jn(ar).then(()=>{ar=[];for(const Zn of qe.list())ar.push(guardToPromiseFn(Zn,Yn,qn));return ar.push(Kn),Jn(ar)}).then(()=>{ar=extractComponentsGuards(or,"beforeRouteUpdate",Yn,qn);for(const Zn of or)Zn.updateGuards.forEach(nr=>{ar.push(guardToPromiseFn(nr,Yn,qn))});return ar.push(Kn),Jn(ar)}).then(()=>{ar=[];for(const Zn of sr)if(Zn.beforeEnter)if(isArray$3(Zn.beforeEnter))for(const nr of Zn.beforeEnter)ar.push(guardToPromiseFn(nr,Yn,qn));else ar.push(guardToPromiseFn(Zn.beforeEnter,Yn,qn));return ar.push(Kn),Jn(ar)}).then(()=>(Yn.matched.forEach(Zn=>Zn.enterCallbacks={}),ar=extractComponentsGuards(sr,"beforeRouteEnter",Yn,qn,Mn),ar.push(Kn),Jn(ar))).then(()=>{ar=[];for(const Zn of At.list())ar.push(guardToPromiseFn(Zn,Yn,qn));return ar.push(Kn),Jn(ar)}).catch(Zn=>isNavigationFailure(Zn,8)?Zn:Promise.reject(Zn))}function On(Yn,qn,ar){Dt.list().forEach(tr=>Mn(()=>tr(Yn,qn,ar)))}function Rn(Yn,qn,ar,tr,or){const sr=En(Yn,qn);if(sr)return sr;const Kn=qn===START_LOCATION_NORMALIZED,Zn=isBrowser$1?history.state:{};ar&&(tr||Kn?Ue.replace(Yn.fullPath,assign({scroll:Kn&&Zn&&Zn.scroll},or)):Ue.push(Yn.fullPath,or)),Lt.value=Yn,Gn(Yn,qn,ar,Kn),jn()}let Bn;function Vn(){Bn||(Bn=Ue.listen((Yn,qn,ar)=>{if(!rr.listening)return;const tr=Sn(Yn),or=$n(tr);if(or){Pn(assign(or,{replace:!0}),tr).catch(noop$4);return}jt=tr;const sr=Lt.value;isBrowser$1&&saveScrollPosition(getScrollKey(sr.fullPath,ar.delta),computeScrollPosition()),In(tr,sr).catch(Kn=>isNavigationFailure(Kn,12)?Kn:isNavigationFailure(Kn,2)?(Pn(Kn.to,tr).then(Zn=>{isNavigationFailure(Zn,20)&&!ar.delta&&ar.type===NavigationType.pop&&Ue.go(-1,!1)}).catch(noop$4),Promise.reject()):(ar.delta&&Ue.go(-ar.delta,!1),Fn(Kn,tr,sr))).then(Kn=>{Kn=Kn||Rn(tr,sr,!1),Kn&&(ar.delta&&!isNavigationFailure(Kn,8)?Ue.go(-ar.delta,!1):ar.type===NavigationType.pop&&isNavigationFailure(Kn,20)&&Ue.go(-1,!1)),On(tr,sr,Kn)}).catch(noop$4)}))}let Ln=useCallbacks(),Dn=useCallbacks(),Hn;function Fn(Yn,qn,ar){jn(Yn);const tr=Dn.list();return tr.length?tr.forEach(or=>or(Yn,qn,ar)):console.error(Yn),Promise.reject(Yn)}function zn(){return Hn&&Lt.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((Yn,qn)=>{Ln.add([Yn,qn])})}function jn(Yn){return Hn||(Hn=!Yn,Vn(),Ln.list().forEach(([qn,ar])=>Yn?ar(Yn):qn()),Ln.reset()),Yn}function Gn(Yn,qn,ar,tr){const{scrollBehavior:or}=xe;if(!isBrowser$1||!or)return Promise.resolve();const sr=!ar&&getSavedScrollPosition(getScrollKey(Yn.fullPath,0))||(tr||!ar)&&history.state&&history.state.scroll||null;return nextTick().then(()=>or(Yn,qn,sr)).then(Kn=>Kn&&scrollToPosition(Kn)).catch(Kn=>Fn(Kn,Yn,qn))}const Wn=Yn=>Ue.go(Yn);let Xn;const er=new Set,rr={currentRoute:Lt,listening:!0,addRoute:_n,removeRoute:wn,hasRoute:Cn,getRoutes:kn,resolve:Sn,options:xe,push:Tn,replace:An,go:Wn,back:()=>Wn(-1),forward:()=>Wn(1),beforeEach:qe.add,beforeResolve:At.add,afterEach:Dt.add,onError:Dn.add,isReady:zn,install(Yn){const qn=this;Yn.component("RouterLink",RouterLink),Yn.component("RouterView",RouterView),Yn.config.globalProperties.$router=qn,Object.defineProperty(Yn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(Lt)}),isBrowser$1&&!Xn&&Lt.value===START_LOCATION_NORMALIZED&&(Xn=!0,Tn(Ue.location).catch(or=>{}));const ar={};for(const or in START_LOCATION_NORMALIZED)Object.defineProperty(ar,or,{get:()=>Lt.value[or],enumerable:!0});Yn.provide(routerKey,qn),Yn.provide(routeLocationKey,shallowReactive(ar)),Yn.provide(routerViewLocationKey,Lt);const tr=Yn.unmount;er.add(Yn),Yn.unmount=function(){er.delete(Yn),er.size<1&&(jt=START_LOCATION_NORMALIZED,Bn&&Bn(),Bn=null,Lt.value=START_LOCATION_NORMALIZED,Xn=!1,Hn=!1),tr()}}};function Jn(Yn){return Yn.reduce((qn,ar)=>qn.then(()=>Mn(ar)),Promise.resolve())}return rr}function extractChangingRecords(xe,$e){const Ie=[],Fe=[],Ue=[],qe=Math.max($e.matched.length,xe.matched.length);for(let At=0;AtisSameRouteRecord(jt,Dt))?Fe.push(Dt):Ie.push(Dt));const Lt=xe.matched[At];Lt&&($e.matched.find(jt=>isSameRouteRecord(jt,Lt))||Ue.push(Lt))}return[Ie,Fe,Ue]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const _hoisted_1$1a={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},_hoisted_2$L={class:"flex flex-col gap-4"},_hoisted_3$n=createBaseVNode("h1",{class:"m-0 text-6xl font-sans"}," 403 ",-1),_hoisted_4$d=createBaseVNode("div",{class:"desc mx-0 text-xl text-stone-5"}," 抱歉,你无权访问该页面 ",-1),_sfc_main$2u=defineComponent({name:"NotAllowed",__name:"index",setup(xe){const $e=useRouter(),Ie=useSettingsStore(),Fe=ref({inter:Number.NaN,countdown:5});onUnmounted(()=>{Fe.value.inter&&window.clearInterval(Fe.value.inter)}),onMounted(()=>{Fe.value.inter=window.setInterval(()=>{Fe.value.countdown--,Fe.value.countdown===0&&(Fe.value.inter&&window.clearInterval(Fe.value.inter),Ue())},1e3)});function Ue(){$e.push(Ie.settings.home.fullPath)}return(qe,At)=>{const Dt=_sfc_main$2y,Lt=_sfc_main$2v;return openBlock(),createElementBlock("div",_hoisted_1$1a,[createVNode$1(Dt,{name:"403",class:"text-[300px] lg-text-[400px]"}),createBaseVNode("div",_hoisted_2$L,[_hoisted_3$n,_hoisted_4$d,createBaseVNode("div",null,[createVNode$1(Lt,{onClick:Ue},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Fe).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(xe){return xe&&xe.__esModule&&Object.prototype.hasOwnProperty.call(xe,"default")?xe.default:xe}function getAugmentedNamespace(xe){if(xe.__esModule)return xe;var $e=xe.default;if(typeof $e=="function"){var Ie=function Fe(){return this instanceof Fe?Reflect.construct($e,arguments,this.constructor):$e.apply(this,arguments)};Ie.prototype=$e.prototype}else Ie={};return Object.defineProperty(Ie,"__esModule",{value:!0}),Object.keys(xe).forEach(function(Fe){var Ue=Object.getOwnPropertyDescriptor(xe,Fe);Object.defineProperty(Ie,Fe,Ue.get?Ue:{enumerable:!0,get:function(){return xe[Fe]}})}),Ie}var eruda={exports:{}};/*! eruda v3.0.1 https://eruda.liriliri.io/ */(function(module,exports){(function(xe,$e){module.exports=$e()})(self,function(){return function(){var __webpack_modules__={422:function(xe,$e,Ie){Ie.d($e,{Z:function(){return qn}});var Fe=Ie(5671),Ue=Ie(3144),qe=Ie(9340),At=Ie(2963),Dt=Ie(1120),Lt=Ie(2461),jt=Ie.n(Lt),hn=Ie(3990),vn=Ie.n(hn),bn=Ie(6768),_n=Ie.n(bn),wn=Ie(4331),kn=Ie.n(wn),Cn=Ie(5610),Sn=Ie.n(Cn),xn=Ie(7483),En=Ie.n(xn),Tn=Ie(6341),An=Ie.n(Tn),$n=Ie(3875),Pn=Ie.n($n),Nn=Ie(6954),Mn=Ie.n(Nn);Ie(9585);function In(tr){var or="luna-".concat(tr,"-");function sr(Kn){return jt()(kn()(Kn).split(/\s+/),function(Zn){return An()(Zn,or)?Zn:Zn.replace(/[\w-]+/,function(nr){return"".concat(or).concat(nr)})}).join(" ")}return function(Kn){if(/<[^>]*>/g.test(Kn))try{var Zn=En().parse(Kn);return On(Zn,function(nr){nr.attrs&&nr.attrs.class&&(nr.attrs.class=sr(nr.attrs.class))}),En().stringify(Zn)}catch{return sr(Kn)}return sr(Kn)}}function On(tr,or){for(var sr=0,Kn=tr.length;sr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sr,Kn=(0,Dt.Z)(tr);if(or){var Zn=(0,Dt.Z)(this).constructor;sr=Reflect.construct(Kn,arguments,Zn)}else sr=Kn.apply(this,arguments);return(0,At.Z)(this,sr)}}var Jn=function(tr){(0,qe.Z)(sr,tr);var or=rr(sr);function sr(Kn,Zn){var nr,lr=Zn.compName,ir=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,kr=ir===void 0?"light":ir;return(0,Fe.Z)(this,sr),(nr=or.call(this)).subComponents=[],nr.compName=lr,nr.c=In(lr),nr.options={},nr.container=Kn,nr.$container=Dn()(Kn),nr.$container.addClass(["luna-".concat(lr),nr.c("platform-".concat(Rn()))]),nr.on("optionChange",function(Cr,Er,dr){var br=nr.c;Cr==="theme"&&(nr.$container.rmClass(br("theme-".concat(dr))).addClass(br("theme-".concat(Er))),Fn()(nr.subComponents,function(_r){return _r.setOption("theme",Er)}))}),nr.setOption("theme",kr),nr}return(0,Ue.Z)(sr,[{key:"destroy",value:function(){this.destroySubComponents();var Kn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Kn("platform-".concat(Rn()))).rmClass(Kn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Kn,Zn){var nr=this,lr=this.options,ir={};typeof Kn=="string"?ir[Kn]=Zn:ir=Kn,Fn()(ir,function(kr,Cr){var Er=lr[Cr];lr[Cr]=kr,nr.emit("optionChange",Cr,kr,Er)})}},{key:"getOption",value:function(Kn){return this.options[Kn]}},{key:"addSubComponent",value:function(Kn){Kn.setOption("theme",this.options.theme),this.subComponents.push(Kn)}},{key:"removeSubComponent",value:function(Kn){er()(this.subComponents,function(Zn){return Zn===Kn})}},{key:"destroySubComponents",value:function(){Fn()(this.subComponents,function(Kn){return Kn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Kn){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Wn()(Kn,Zn),jn()(this.options,Kn)}},{key:"find",value:function(Kn){return this.$container.find(this.c(Kn))}}]),sr}(Vn());function Yn(tr){var or=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sr,Kn=(0,Dt.Z)(tr);if(or){var Zn=(0,Dt.Z)(this).constructor;sr=Reflect.construct(Kn,arguments,Zn)}else sr=Kn.apply(this,arguments);return(0,At.Z)(this,sr)}}xe=Ie.hmd(xe);var qn=function(tr){(0,qe.Z)(sr,tr);var or=Yn(sr);function sr(Kn){var Zn,nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Fe.Z)(this,sr),(Zn=or.call(this,Kn,{compName:"box-model"})).initOptions(nr),Zn.options.element&&Zn.render(),Zn.bindEvent(),Zn}return(0,Ue.Z)(sr,[{key:"bindEvent",value:function(){var Kn=this;this.on("optionChange",function(Zn){Zn==="element"&&Kn.render()})}},{key:"render",value:function(){var Kn=this.c,Zn=this.getBoxModelData();this.$container.html(['
'),Zn.position?'
'):"",Zn.position?'
position
').concat(Zn.position.top,'

').concat(Zn.position.left,"
"):"",'
'),'
margin
').concat(Zn.margin.top,'

').concat(Zn.margin.left,"
"),'
'),'
border
').concat(Zn.border.top,'

').concat(Zn.border.left,"
"),'
'),'
padding
').concat(Zn.padding.top,'

').concat(Zn.padding.left,"
"),'
'),"".concat(Zn.content.width," × ").concat(Zn.content.height,""),"
",'
').concat(Zn.padding.right,'

').concat(Zn.padding.bottom,"
"),"
",'
').concat(Zn.border.right,'

').concat(Zn.border.bottom,"
"),"
",'
').concat(Zn.margin.right,'

').concat(Zn.margin.bottom,"
"),"
",Zn.position?'
').concat(Zn.position.right,'

').concat(Zn.position.bottom,"
"):"",Zn.position?"
":"","
"].join(""))}},{key:"getBoxModelData",value:function(){var Kn=this.options.element,Zn=window.getComputedStyle(Kn);function nr(ir){var kr=["top","left","right","bottom"];return ir!=="position"&&(kr=jt()(kr,function(Cr){return"".concat(ir,"-").concat(Cr)})),ir==="border"&&(kr=jt()(kr,function(Cr){return"".concat(Cr,"-width")})),{top:ar(Zn[kr[0]],ir),left:ar(Zn[kr[1]],ir),right:ar(Zn[kr[2]],ir),bottom:ar(Zn[kr[3]],ir)}}var lr={margin:nr("margin"),border:nr("border"),padding:nr("padding"),content:{width:ar(Zn.width),height:ar(Zn.height)}};return Zn.position!=="static"&&(lr.position=nr("position")),lr}}]),sr}(Jn);function ar(tr,or){if(vn()(tr))return tr;if(!_n()(tr))return"‒";var sr,Kn=(sr=tr,Pn()(sr.replace("px","")));return isNaN(Kn)?tr:or==="position"?Kn:Kn===0?"‒":Kn}(function(tr,or){try{tr.exports=or,tr.exports.default=or}catch{}})(xe,qn)},8816:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Ya}});var Fe=Ie(168),Ue=Ie(181);function qe(go,No){return function(mo){if(Array.isArray(mo))return mo}(go)||function(mo,hr){var fr=mo==null?null:typeof Symbol<"u"&&mo[Symbol.iterator]||mo["@@iterator"];if(fr!=null){var Nr,jr,ao,eo,lo=[],fo=!0,bo=!1;try{if(ao=(fr=fr.call(mo)).next,hr===0){if(Object(fr)!==fr)return;fo=!1}else for(;!(fo=(Nr=ao.call(fr)).done)&&(lo.push(Nr.value),lo.length!==hr);fo=!0);}catch(Io){bo=!0,jr=Io}finally{try{if(!fo&&fr.return!=null&&(eo=fr.return(),Object(eo)!==eo))return}finally{if(bo)throw jr}}return lo}}(go,No)||(0,Ue.Z)(go,No)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var At=Ie(5671),Dt=Ie(3144),Lt=Ie(1752),jt=Ie(9340),hn=Ie(2963),vn=Ie(1120),bn=Ie(7326),_n=Ie(8901),wn=Ie.n(_n),kn=Ie(3367),Cn=Ie.n(kn),Sn=Ie(6341),xn=Ie.n(Sn),En=Ie(6930),Tn=Ie.n(En),An=Ie(4187),$n=Ie.n(An),Pn=Ie(3783),Nn=Ie.n(Pn),Mn=Ie(4858),In=Ie.n(Mn),On=Ie(8887),Rn=Ie.n(On),Bn=Ie(7756),Vn=Ie.n(Bn),Ln=Ie(3023),Dn=Ie.n(Ln);function Hn(go){return go.constructor&&go.constructor.name?go.constructor.name:Dn()({}.toString.call(go).replace(/(\[object )|]/g,""))}var Fn=Ie(2461),zn=Ie.n(Fn),jn=Ie(4331),Gn=Ie.n(jn),Wn=Ie(5610),Xn=Ie.n(Wn),er=Ie(7483),rr=Ie.n(er),Jn=Ie(3990),Yn=Ie.n(Jn),qn=Ie(3875),ar=Ie.n(qn),tr=Ie(6954),or=Ie.n(tr),sr=Ie(9585),Kn=Ie.n(sr);function Zn(go){var No="luna-".concat(go,"-");function mo(hr){return zn()(Gn()(hr).split(/\s+/),function(fr){return xn()(fr,No)?fr:fr.replace(/[\w-]+/,function(Nr){return"".concat(No).concat(Nr)})}).join(" ")}return function(hr){if(/<[^>]*>/g.test(hr))try{var fr=rr().parse(hr);return nr(fr,function(Nr){Nr.attrs&&Nr.attrs.class&&(Nr.attrs.class=mo(Nr.attrs.class))}),rr().stringify(fr)}catch{return mo(hr)}return mo(hr)}}function nr(go,No){for(var mo=0,hr=go.length;mo1&&arguments[1]!==void 0?arguments[1]:{},hr=mo.topObj,fr=mo.level,Nr=fr===void 0?0:fr,jr=mo.getterVal,ao=jr!==void 0&&jr,eo=mo.unenumerable,lo=eo===void 0||eo,fo="",bo="",Io=[],Lo=[],Ho="";hr=hr||go;var Jo={getterVal:ao,unenumerable:lo,level:Nr+1},Mo=Nr===0,Go=''),ra=''),ta=''),Ea=''),Na=''),Ma=''),ga=function(Uo){return wn()(Uo).replace(/\\n/g,"↵").replace(/\\f|\\r|\\t/g,"").replace(/\\/g,"")},la="";function ua(Uo){return Uo=Cn()(Uo),xn()(kr,Uo)||Tn()(Uo,"Array[")?Ma+ga(Uo)+la:(Uo.length>100&&(Uo=Vn()(Uo,100,{separator:" ",ellipsis:"…"})),Ea+ga('"'.concat(Uo,'"'))+la)}function va(Uo){if(No>5)Ho=", …";else{var Ba=function(Ti){return Go+ga(Ti)+la}(Er(Uo));if(!ao){var Xa=Object.getOwnPropertyDescriptor(go,Uo);if(Xa&&Xa.get)return Io.push("".concat(Ba,": ").concat(ua("(...)"))),void No++}Io.push("".concat(Ba,": ").concat(ir(hr[Uo],Jo))),No++}}try{bo={}.toString.call(go)}catch{bo="[object Object]"}var ba,Ia=bo=="[object Array]",Oa=bo=="[object Object]",Ta=bo=="[object Number]",Ra=bo=="[object RegExp]",Ha=bo=="[object Symbol]",wa=bo=="[object Function]",Da=bo=="[object Boolean]";if(bo=="[object String]")fo=ua(Er(go));else if(Ra)ba=Er(go.toString()),fo=Ea+ba+la;else if(wa)fo=ua("ƒ");else if(Ia)if(Mo){fo="[";var ja=go.length,Za="";ja>100&&(ja=100,Za=", …");for(var La=0;La"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}var ii=/https?:\/\/([0-9.\-A-Za-z]+)(?::(\d+))?\/[A-Z.a-z0-9/]*\.js/g,za={comment:"",string:"",number:"",keyword:"",operator:""},si=function(go){(0,jt.Z)(mo,go);var No=ai(mo);function mo(hr,fr){var Nr,jr=fr.type,ao=jr===void 0?"log":jr,eo=fr.args,lo=eo===void 0?[]:eo,fo=fr.id,bo=fr.group,Io=fr.targetGroup,Lo=fr.header,Ho=fr.ignoreFilter,Jo=Ho!==void 0&&Ho,Mo=fr.accessGetter,Go=fr.unenumerable,ra=fr.lazyEvaluation;(0,At.Z)(this,mo),(Nr=No.call(this)).container=po()("div"),Nr.count=1,Nr.width=0,Nr.height=0,Nr.isHidden=!1,Nr.columns=[],Nr.elements={},Nr.objects={},Nr.console=hr,Nr.type=ao,Nr.group=bo,Nr.targetGroup=Io,Nr.args=lo,Nr.id=fo,Nr.header=Lo,Nr.ignoreFilter=Jo,Nr.collapsed=!1,Nr.container.log=(0,bn.Z)(Nr),Nr.height=0,Nr.width=0,Nr.$container=xo()(Nr.container),Nr.accessGetter=Mo,Nr.unenumerable=Go,Nr.lazyEvaluation=ra;var ta="info";switch(ao){case"debug":ta="verbose";break;case"error":ta="error";break;case"warn":ta="warning"}return Nr.level=ta,Nr.resizeSensor=new(xr())(Nr.container),Nr.onResize=Ir()(function(){Kn()(Nr.container)?Nr.isHidden=!0:(Nr.isHidden||Nr.updateSize(!1),Nr.isHidden=!1)},16),Nr.formatMsg(),Nr.group&&Nr.checkGroup(),Nr.bindEvent(),Nr}return(0,Dt.Z)(mo,[{key:"checkGroup",value:function(){for(var hr=this.group,fr=!1;hr;){if(hr.collapsed){fr=!0;break}hr=hr.parent}return fr!==this.collapsed&&(this.collapsed=fr,!0)}},{key:"updateIcon",value:function(hr){var fr=this.console.c;return this.$container.find(fr(".icon-container")).find(fr(".icon")).rmAttr("class").addClass([fr("icon"),fr("icon-".concat(hr))]),this}},{key:"addCount",value:function(){this.count++;var hr=this.$container,fr=this.count,Nr=this.console.c,jr=hr.find(Nr(".count-container")),ao=hr.find(Nr(".icon-container")),eo=jr.find(Nr(".count"));return fr===2&&jr.rmClass(Nr("hidden")),eo.text(Cn()(fr)),ao.addClass(Nr("hidden")),this}},{key:"groupEnd",value:function(){var hr=this.$container,fr=this.console.c;return hr.find(".".concat(fr("nesting-level"),":not(.").concat(fr("group-closed"),")")).last().addClass(fr("group-closed")),this}},{key:"updateTime",value:function(hr){var fr=this.$container.find(this.console.c(".time-container"));return this.header&&(fr.find("span").eq(0).text(hr),this.header.time=hr),this}},{key:"isAttached",value:function(){return!!this.container.parentNode}},{key:"isSimple",value:function(){return!aa()(this.args,function(hr){return Hr()(hr)})}},{key:"updateSize",value:function(){var hr=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],fr=this.container.getBoundingClientRect(),Nr=fr.width,jr=fr.height-1;this.height!==jr&&(this.height=jr,hr||this.emit("updateHeight")),this.width!==Nr&&(this.width=Nr)}},{key:"html",value:function(){return this.container.outerHTML}},{key:"text",value:function(){return this.content.textContent||""}},{key:"select",value:function(){this.$container.addClass(this.console.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.console.c("selected"))}},{key:"copy",value:function(){var hr=this.args,fr="";Nn()(hr,function(Nr,jr){jr!==0&&(fr+=" "),Hr()(Nr)?fr+=to()(Nr):fr+=Cn()(Nr)}),co()(fr)}},{key:"bindEvent",value:function(){var hr=this,fr=this.console.c,Nr=this;this.resizeSensor.addListener(this.onResize),this.$container.on("click",fr(".dom-viewer"),function(jr){return jr.stopPropagation()}).on("click",fr(".preview"),function(jr){jr.stopPropagation();var ao=xo()(this).find(fr(".preview-icon-container")).find(fr(".icon")),eo="caret-down";ao.hasClass(fr("icon-caret-down"))&&(eo="caret-right"),ao.rmAttr("class").addClass([fr("icon"),fr("icon-".concat(eo))]),Nr.renderObjectViewer(this)}).on("click",function(){return hr.click()})}},{key:"renderEl",value:function(){var hr=this.elements,fr=this.console.c,Nr=this;this.$container.find(fr(".dom-viewer")).each(function(){var jr=xo()(this).data("id");new Pr.Z(this,{node:hr[jr],theme:Nr.console.getOption("theme")})})}},{key:"renderObjectViewer",value:function(hr){var fr=this.console,Nr=this.unenumerable,jr=this.accessGetter,ao=this.lazyEvaluation,eo=fr.c,lo=xo()(hr),fo=lo.data("id");if(fo){var bo=this.objects[fo],Io=lo.find(eo(".json"));if(Io.hasClass(eo("hidden"))){if(Io.data("init")!=="true"){if(ao){var Lo=new br.Z(Io.get(0),{unenumerable:Nr,accessGetter:jr});Lo.setOption("theme",fr.getOption("theme")),Lo.set(bo)}else{var Ho=new br.q(Io.get(0));Ho.setOption("theme",fr.getOption("theme")),Ho.set(bo)}Io.data("init","true")}Io.rmClass(eo("hidden"))}else Io.addClass(eo("hidden"))}}},{key:"renderTable",value:function(hr){var fr=this,Nr="__LunaConsoleValue",jr=this.columns,ao=this.$container,eo=this.console,lo=eo.c,fo=ao.find(lo(".data-grid")),bo=hr[0],Io=new _r.Z(fo.get(0),{columns:qr()([{id:"(index)",title:"(index)",sortable:!0}],zn()(jr,function(Lo){return{id:Lo,title:Lo===Nr?"Value":Lo,sortable:!0}})),theme:eo.getOption("theme")});Nn()(bo,function(Lo,Ho){var Jo={"(index)":Cn()(Ho)};jr.forEach(function(Mo){Hr()(Lo)?Jo[Mo]=Mo===Nr?"":fr.formatTableVal(Lo[Mo]):cr()(Lo)&&(Jo[Mo]=Mo===Nr?fr.formatTableVal(Lo):"")}),Io.append(Jo)})}},{key:"extractObj",value:function(hr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Nr=arguments.length>2?arguments[2]:void 0,jr=this.accessGetter,ao=this.unenumerable;Dr()(fr,{accessGetter:jr,unenumerable:ao,symbol:ao,timeout:1e3}),function(eo,lo,fo){var bo=Co()(eo,lo);Vo()(function(){return fo(bo)})}(hr,fr,function(eo){return Nr(JSON.parse(eo))})}},{key:"click",value:function(){var hr=this.type,fr=this.$container,Nr=this.console,jr=Nr.c;switch(hr){case"log":case"warn":case"info":case"debug":case"output":case"table":case"dir":break;case"group":case"groupCollapsed":Nr.toggleGroup(this);break;case"error":fr.find(jr(".stack")).toggleClass(jr("hidden"))}}},{key:"formatMsg",value:function(){var hr=this.args,fr=this.type,Nr=this.id,jr=this.header,ao=this.group,eo=this.console.c;hr=Zr()(hr);var lo,fo,bo="";switch(fr!=="group"&&fr!=="groupCollapsed"||hr.length===0&&(hr=["console.group"]),fr){case"log":case"info":case"debug":bo=this.formatCommon(hr);break;case"dir":bo=this.formatDir(hr);break;case"warn":lo="warn",bo=this.formatCommon(hr);break;case"error":Gr()(hr[0])&&hr.length!==1&&(hr=this.substituteStr(hr)),fo=hr[0],lo="error",fo=Br()(fo)?fo:new Error(this.formatCommon(hr)),bo=this.formatErr(fo);break;case"table":bo=this.formatTable(hr);break;case"html":bo=hr[0];break;case"input":bo=this.formatJs(hr[0]),lo="input";break;case"output":bo=this.formatCommon(hr),lo="output";break;case"groupCollapsed":bo=this.formatCommon(hr),lo="caret-right";break;case"group":bo=this.formatCommon(hr),lo="caret-down"}xn()(["log","debug","warn"],fr)&&this.isSimple()&&(bo=jo()(bo,function(Io){return'').concat(Io,"")})),bo=this.render({msg:bo,type:fr,icon:lo,id:Nr,header:jr,group:ao}),this.$container.addClass("".concat(eo("log-container"))).html(bo),fr==="table"&&(Rn()(this.columns)||this.renderTable(hr)),Rn()(this.elements)||this.renderEl(),this.$content=this.$container.find(eo(".log-content")),this.content=this.$content.get(0)}},{key:"render",value:function(hr){var fr=this.console.c,Nr="",jr="";if(hr.group)for(var ao=hr.group.indentLevel,eo=0;eo');hr.header&&(Nr+=Xo()(dr||(dr=(0,Fe.Z)([` +
+ `,` +
+ `," ",` +
+
`])),fr("header"),jr,fr("time-from-container"),hr.header.time,hr.header.from));var lo="";return hr.icon&&(lo='
')),Nr+=` +
+ `).concat(jr,` + `).concat(lo,` +
+
+
+
+
').concat(hr.msg,`
+
+
`)}},{key:"formatTable",value:function(hr){var fr=hr[0],Nr=hr[1],jr=[];return Gr()(Nr)&&(Nr=Ro()(Nr)),qo()(Nr)||(Nr=null),Hr()(fr)?(Nn()(fr,function(ao){cr()(ao)?jr.push("__LunaConsoleValue"):Hr()(ao)&&(jr=jr.concat(so()(ao)))}),(jr=So()(jr)).sort(),Nr&&(jr=jr.filter(function(ao){return xn()(Nr,ao)})),jr.length>20&&(jr=jr.slice(0,20)),Rn()(jr)?this.formatCommon(hr):(this.columns=jr,this.console.c('
')+this.formatPreview(fr))):this.formatCommon(hr)}},{key:"formatErr",value:function(hr){var fr=hr.stack?hr.stack.split(` +`):[],Nr="".concat(hr.message||fr[0],"
");return fr=fr.map(function(jr){return wn()(jr)}),Nr+'
').concat(fr.slice(1).join("
"),"
").replace(ii,function(jr){return'').concat(jr,"")})}},{key:"formatCommon",value:function(hr){var fr=this.console.c,Nr=Gr()(hr[0])&&hr.length!==1;Nr&&(hr=this.substituteStr(hr));for(var jr=0,ao=hr.length;jr').concat(wn()(Cn()(eo)),"
"):Hr()(eo)?hr[jr]=this.formatPreview(eo):_o()(eo)?hr[jr]='undefined'):uo()(eo)?hr[jr]='null'):Yn()(eo)?hr[jr]='').concat(Cn()(eo),""):typeof eo=="bigint"?hr[jr]='').concat(Cn()(eo),"n"):ma()(eo)?hr[jr]='').concat(Cn()(eo),""):Va()(eo)?hr[jr]='').concat(wn()(Cn()(eo)),""):(eo=Cn()(eo),jr===0&&Nr||(eo=wn()(eo)),eo.length>5e3&&(eo=Vn()(eo,5e3,{separator:" ",ellipsis:"…"})),hr[jr]=eo)}return hr.join(" ")}},{key:"formatDir",value:function(hr){return Hr()(hr[0])?this.formatPreview(hr[0]):this.formatCommon(hr)}},{key:"formatTableVal",value:function(hr){var fr=this.console.c;return Hr()(hr)?"{…}":cr()(hr)?ea()('
').concat(ir(hr),"
")):Cn()(hr)}},{key:"formatPreview",value:function(hr){var fr=this,Nr=this.console.c,jr=na()();this.lazyEvaluation?this.objects[jr]=hr:this.extractObj(hr,{},function(lo){fr.objects[jr]=lo});var ao=xn()(["dir","table"],this.type),eo=Hn(hr);return eo==="Array"&&hr.length>1?(eo="(".concat(hr.length,")"),ao&&(eo="Array".concat(eo))):eo==="RegExp"?eo=Cn()(hr):Lr()(hr)&&(eo=this.formatElName(hr)),'
')+'
')+'
')+'')+'').concat(wn()(eo)," ")+'').concat(ao?"":ir(hr,{getterVal:this.accessGetter,unenumerable:!1}),"")+"
"+'
')}},{key:"substituteStr",value:function(hr){var fr=wn()(hr[0]),Nr=!1,jr="";hr.shift();for(var ao=0,eo=fr.length;ao"),Nr=!0,jr+='');break;default:ao--,hr.unshift(fo),jr+=lo}}else jr+=lo}return Nr&&(jr+=""),hr.unshift(jr),hr}},{key:"formatJs",value:function(hr){return'
').concat(this.console.c(oa()(hr,"js",za)),"
")}},{key:"formatFn",value:function(hr){return'
'.concat(this.formatJs(hr.toString()),"
")}},{key:"formatElName",value:function(hr){var fr=hr.id,Nr=hr.className,jr=hr.tagName.toLowerCase();if(fr!==""&&(jr+="#".concat(fr)),Gr()(Nr)){var ao="";Nn()(Nr.split(/\s+/g),function(eo){eo.trim()!==""&&(ao+=".".concat(eo))}),jr+=ao}return jr}},{key:"formatEl",value:function(hr){var fr=na()();return this.elements[fr]=hr,this.console.c('
'))}}]),mo}(Yr());function Aa(go){var No=(go=Or()(go)).split(";"),mo={};Nn()(No,function(fr){if(xn()(fr,":")){var Nr=qe(fr.split(":"),2),jr=Nr[0],ao=Nr[1];mo[Gn()(jr)]=Gn()(ao)}}),mo.display="inline-block",mo["max-width"]="100%",delete mo.width,delete mo.height;var hr="";return Nn()(mo,function(fr,Nr){hr+="".concat(Nr,":").concat(fr,";")}),hr}var li=Ie(1194),Ua=Ie.n(li),ci=Ie(8847),Ca=Ie.n(ci),di=Ie(6329),Wa=Ie.n(di),fi=Ie(9001),Pa=Ie.n(fi),pi=Ie(9702),hi=Ie.n(pi),mi=Ie(2439),sa=Ie.n(mi),gi=Ie(8933),Bo=Ie.n(gi),vi=Ie(4407),ya=Ie.n(vi),yi=Ie(5852),bi=Ie.n(yi);function _i(go){var No=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}var xa,wi=function(go){(0,jt.Z)(mo,go);var No=_i(mo);function mo(hr,fr){var Nr,jr,ao=fr.compName,eo=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,lo=eo===void 0?"light":eo;return(0,At.Z)(this,mo),(Nr=No.call(this)).subComponents=[],Nr.compName=ao,Nr.c=Zn(ao),Nr.options={},Nr.container=hr,Nr.$container=xo()(hr),Nr.$container.addClass(["luna-".concat(ao),Nr.c("platform-".concat((jr=or()(),jr==="os x"?"mac":jr)))]),Nr.on("optionChange",function(fo,bo,Io){var Lo=Nr.c;fo==="theme"&&(Nr.$container.rmClass(Lo("theme-".concat(Io))).addClass(Lo("theme-".concat(bo))),Nn()(Nr.subComponents,function(Ho){return Ho.setOption("theme",bo)}))}),Nr.setOption("theme",lo),Nr}return(0,Dt.Z)(mo,[{key:"destroy",value:function(){var hr=this;this.destroySubComponents();var fr=this.$container,Nr=fr.attr("class");Nn()(Nr.split(/\s+/),function(jr){Tn()(jr,"luna-".concat(hr.compName))&&fr.rmClass(jr)}),fr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(hr,fr){var Nr=this,jr=this.options,ao={};typeof hr=="string"?ao[hr]=fr:ao=hr,Nn()(ao,function(eo,lo){var fo=jr[lo];jr[lo]=eo,Nr.emit("optionChange",lo,eo,fo)})}},{key:"getOption",value:function(hr){return this.options[hr]}},{key:"addSubComponent",value:function(hr){hr.setOption("theme",this.options.theme),this.subComponents.push(hr)}},{key:"removeSubComponent",value:function(hr){bi()(this.subComponents,function(fr){return fr===hr})}},{key:"destroySubComponents",value:function(){Nn()(this.subComponents,function(hr){return hr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(hr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dr()(hr,fr),Wa()(this.options,hr)}},{key:"find",value:function(hr){return this.$container.find(this.c(hr))}}]),mo}(Yr()),ki=Ie(1571),Ka=Ie.n(ki);function Si(go){var No=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}xe=Ie.hmd(xe);var qa=navigator.userAgent,Ci=qa.indexOf("Android")>-1||qa.indexOf("Adr")>-1,xi=0,Ya=function(go){(0,jt.Z)(mo,go);var No=Si(mo);function mo(hr){var fr,Nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,At.Z)(this,mo),(fr=No.call(this,hr,{compName:"console"},Nr)).spaceHeight=0,fr.topSpaceHeight=0,fr.bottomSpaceHeight=0,fr.lastScrollTop=0,fr.lastTimestamp=0,fr.speedToleranceFactor=100,fr.maxSpeedTolerance=2e3,fr.minSpeedTolerance=100,fr.logs=[],fr.displayLogs=[],fr.timer={},fr.counter={},fr.asyncList=[],fr.asyncTimer=null,fr.isAtBottom=!0,fr.groupStack=new(Pa()),fr.selectedLog=null,fr.onScroll=function(){var jr=fr.container,ao=jr.scrollHeight,eo=jr.offsetHeight,lo=jr.scrollTop;if(!(lo<=0||eo+lo>ao)){var fo=!1;(ao===eo||lo===ao-eo)&&(fo=!0),fr.isAtBottom=fo;var bo=fr.lastScrollTop,Io=fr.lastTimestamp,Lo=Ca()(),Ho=Lo-Io,Jo=lo-bo,Mo=Math.abs(Jo/Ho)*fr.speedToleranceFactor;Ho>1e3&&(Mo=1e3),Mo>fr.maxSpeedTolerance&&(Mo=fr.maxSpeedTolerance),Molo+eo+ra||fr.renderViewport({topTolerance:2*Go,bottomTolerance:2*ra})}},fr.initTpl(),fr.initOptions(Nr,{maxNum:0,asyncRender:!0,showHeader:!1,filter:"",level:["verbose","info","warning","error"],accessGetter:!1,unenumerable:!0,lazyEvaluation:!0}),fr.$el=fr.find(".logs"),fr.el=fr.$el.get(0),fr.$fakeEl=fr.find(".fake-logs"),fr.fakeEl=fr.$fakeEl.get(0),fr.$space=fr.find(".logs-space"),fr.space=fr.$space.get(0),Ci&&(fr.speedToleranceFactor=800,fr.maxSpeedTolerance=3e3,fr.minSpeedTolerance=800),fr.resizeSensor=new(xr())(hr),fr.renderViewport=sa()(function(jr){fr._renderViewport(jr)},16),fr.global={copy:function(jr){Gr()(jr)||(jr=JSON.stringify(jr,null,2)),co()(jr)},$:function(jr){return document.querySelector(jr)},$$:function(jr){return Ro()(document.querySelectorAll(jr))},$x:function(jr){return Bo()(jr)},clear:function(){fr.clear()},dir:function(jr){fr.dir(jr)},table:function(jr,ao){fr.table(jr,ao)},keys:so()},fr.bindEvent(),fr}return(0,Dt.Z)(mo,[{key:"setGlobal",value:function(hr,fr){this.global[hr]=fr}},{key:"destroy",value:function(){this.$container.off("scroll",this.onScroll),this.resizeSensor.destroy(),(0,Lt.Z)((0,vn.Z)(mo.prototype),"destroy",this).call(this)}},{key:"count",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",fr=this.counter;_o()(fr[hr])?fr[hr]=1:fr[hr]++,this.info("".concat(hr,": ").concat(fr[hr]))}},{key:"countReset",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.counter[hr]=0}},{key:"assert",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr0&&arguments[0]!==void 0?arguments[0]:"default";if(this.timer[hr])return this.insert("warn",["Timer '".concat(hr,"' already exists")]);this.timer[hr]=Ua()()}},{key:"timeLog",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",fr=this.timer[hr];if(!fr)return this.insert("warn",["Timer '".concat(hr,"' does not exist")]);this.info("".concat(hr,": ").concat(Ua()()-fr,"ms"))}},{key:"timeEnd",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.timeLog(hr),delete this.timer[hr]}},{key:"clear",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.logs=[],this.displayLogs=[],this.selectLog(null),this.lastLog=void 0,this.counter={},this.timer={},this.groupStack=new(Pa()),this.asyncList=[],this.asyncTimer&&(clearTimeout(this.asyncTimer),this.asyncTimer=null),hr?this.render():this.insert("log",["%cConsole was cleared","color:#808080;font-style:italic;"])}},{key:"info",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr0&&(jr.group=lo.peek()),Wa()(jr,{id:++xi,accessGetter:Io,unenumerable:Lo,lazyEvaluation:Ho}),jr.type==="group"||jr.type==="groupCollapsed"){var Jo={id:na()("group"),collapsed:!1,parent:lo.peek(),indentLevel:lo.size+1};jr.type==="groupCollapsed"&&(Jo.collapsed=!0),jr.targetGroup=Jo,lo.push(Jo)}var Mo=new si(this,jr);Mo.on("updateHeight",function(){ao.isAtBottom=!1,ao.renderViewport()});var Go=this.lastLog;if(Go&&!xn()(["html","group","groupCollapsed"],Mo.type)&&Go.type===Mo.type&&Mo.isSimple()&&Go.text()===Mo.text()?(Go.addCount(),Mo.header&&Go.updateTime(Mo.header.time),Mo=Go,this.detachLog(Go)):(eo.push(Mo),this.lastLog=Mo),bo!==0&&eo.length>bo){var ra=eo[0];this.detachLog(ra),eo.shift()}this.attachLog(Mo),this.emit("insert",Mo)}},{key:"updateTopSpace",value:function(hr){this.topSpaceHeight=hr,this.el.style.top=hr+"px"}},{key:"updateBottomSpace",value:function(hr){this.bottomSpaceHeight=hr}},{key:"updateSpace",value:function(hr){this.spaceHeight!==hr&&(this.spaceHeight=hr,this.space.style.height=hr+"px")}},{key:"detachLog",value:function(hr){var fr=this.displayLogs,Nr=fr.indexOf(hr);Nr>-1&&(fr.splice(Nr,1),this.renderViewport())}},{key:"attachLog",value:function(hr){if(this.filterLog(hr)&&!hr.collapsed){var fr=this.displayLogs;if(fr.length===0)return fr.push(hr),void this.renderViewport();var Nr=hi()(fr);if(hr.id>Nr.id)return fr.push(hr),void this.renderViewport();for(var jr,ao=0,eo=fr.length-1,lo=0;ao<=eo;){if((jr=fr[lo=ao+Math.floor((eo-ao)/2)]).id===hr.id)return;jr.id0&&arguments[0]!==void 0?arguments[0]:20,Nr=this.asyncList;this.asyncTimer||(this.asyncTimer=setTimeout(function(){hr.asyncTimer=null;var jr,ao,eo=!1,lo=Nr.length;lo<1e3?(ao=200,jr=400):lo<5e3?(ao=500,jr=800):lo<1e4?(ao=800,jr=1e3):lo<25e3?(ao=1e3,jr=1200):lo<5e4?(ao=1500,jr=1500):(ao=2e3,jr=2500),ao>lo&&(ao=lo,eo=!0);for(var fo=0;fo0&&lo.length>eo&&(hr.logs=lo.slice(lo.length-eo),hr.render());break;case"filter":hr.render();break;case"level":hr.options.level=Ro()(eo),hr.render()}}),this.$container.on("scroll",this.onScroll)}},{key:"_renderViewport",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fr=hr.topTolerance,Nr=fr===void 0?500:fr,jr=hr.bottomTolerance,ao=jr===void 0?500:jr,eo=this.el,lo=this.container,fo=this.space;if(!Kn()(lo)){for(var bo=lo.scrollTop,Io=lo.offsetHeight,Lo=fo.getBoundingClientRect().width,Ho=bo-Nr,Jo=bo+Io+ao,Mo=this.displayLogs,Go=0,ra=0,ta=0,Ea=Mo.length,Na=this.fakeEl,Ma=document.createDocumentFragment(),ga=[],la=0;la0){Na.appendChild(Ma);for(var ba=0,Ia=ga.length;baJo?ra+=wa:ta+wa>Ho?Oa.appendChild(Ha):ta +
+
+ + `])))))}}]),mo}(wi),Ei=function(){return ya()("HH:MM:ss ")};function Fa(){for(var go=new Error,No="",mo=go.stack?go.stack.split(` +`):"",hr=0,fr=mo.length;hr-1&&hr]*>/g.test(Zr))try{var Mr=Nn().parse(Zr);return Dn(Mr,function(Or){Or.attrs&&Or.attrs.class&&(Or.attrs.class=yo(Or.attrs.class))}),Nn().stringify(Mr)}catch{return yo(Zr)}return yo(Zr)}}function Dn(To,So){for(var yo=0,Zr=To.length;yo"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var yo,Zr=(0,hn.Z)(To);if(So){var Mr=(0,hn.Z)(this).constructor;yo=Reflect.construct(Zr,arguments,Mr)}else yo=Zr.apply(this,arguments);return(0,jt.Z)(this,yo)}}var lr,ir=function(To){(0,Lt.Z)(yo,To);var So=nr(yo);function yo(Zr,Mr){var Or,yr,so=Mr.compName,$o=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,xo=$o===void 0?"light":$o;return(0,Ue.Z)(this,yo),(Or=So.call(this)).subComponents=[],Or.compName=so,Or.c=Ln(so),Or.options={},Or.container=Zr,Or.$container=bn()(Zr),Or.$container.addClass(["luna-".concat(so),Or.c("platform-".concat((yr=Vn()(),yr==="os x"?"mac":yr)))]),Or.on("optionChange",function(ho,po,ro){var Yr=Or.c;ho==="theme"&&(Or.$container.rmClass(Yr("theme-".concat(ro))).addClass(Yr("theme-".concat(po))),Jn()(Or.subComponents,function(Qr){return Qr.setOption("theme",po)}))}),Or.setOption("theme",xo),Or}return(0,qe.Z)(yo,[{key:"destroy",value:function(){var Zr=this;this.destroySubComponents();var Mr=this.$container,Or=Mr.attr("class");Jn()(Or.split(/\s+/),function(yr){Zn()(yr,"luna-".concat(Zr.compName))&&Mr.rmClass(yr)}),Mr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Zr,Mr){var Or=this,yr=this.options,so={};typeof Zr=="string"?so[Zr]=Mr:so=Zr,Jn()(so,function($o,xo){var ho=yr[xo];yr[xo]=$o,Or.emit("optionChange",xo,$o,ho)})}},{key:"getOption",value:function(Zr){return this.options[Zr]}},{key:"addSubComponent",value:function(Zr){Zr.setOption("theme",this.options.theme),this.subComponents.push(Zr)}},{key:"removeSubComponent",value:function(Zr){sr()(this.subComponents,function(Mr){return Mr===Zr})}},{key:"destroySubComponents",value:function(){Jn()(this.subComponents,function(Zr){return Zr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Zr){var Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};tr()(Zr,Mr),qn()(this.options,Zr)}},{key:"find",value:function(Zr){return this.$container.find(this.c(Zr))}}]),yo}(Cn()),kr=Ie(8901),Cr=Ie.n(kr),Er=Ie(8613),dr=Ie.n(Er),br=Ie(3367),_r=Ie.n(br),Pr=Ie(9833),gr=Ie.n(Pr),xr=Ie(1286),Rr=Ie.n(xr),Hr=Ie(242),Jr=Ie.n(Hr),Gr=Ie(2439),$r=Ie.n(Gr),Br=Ie(6156),Tr=Ie.n(Br),cr=Ie(4777),Sr=Ie.n(cr),Dr=Ie(1754),mr=Ie.n(Dr),Lr=Ie(6768),zr=Ie.n(Lr),Vr=Ie(3063),Kr=Ie.n(Vr),qr=Ie(9882),Ur=Ie.n(qr),uo=Ie(9853),vo=Ie.n(uo),_o=Ie(6435),Ao=Ie.n(_o);function ko(To){var So=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var yo,Zr=(0,hn.Z)(To);if(So){var Mr=(0,hn.Z)(this).constructor;yo=Reflect.construct(Zr,arguments,Mr)}else yo=Zr.apply(this,arguments);return(0,jt.Z)(this,yo)}}xe=Ie.hmd(xe);var Do=bn()(document),Ro=function(To){(0,Lt.Z)(yo,To);var So=ko(yo);function yo(Zr,Mr){var Or;(0,Ue.Z)(this,yo),(Or=So.call(this,Zr,{compName:"data-grid"},Mr)).resizeIdx=0,Or.resizeStartX=0,Or.resizeStartLeft=0,Or.resizeDeltaX=0,Or.nodes=[],Or.colWidthsInitialized=!1,Or.colMap={},Or.selectedNode=null,Or.isAscending=!0,Or.colWidths=[],Or.onResizeColMove=function(ho){var po=(0,At.Z)(Or),ro=po.resizeIdx,Yr=po.$resizers,Qr=po.colWidths,Ir=po.$colgroup,Xr=Xn("x",ho=ho.origEvent)-Or.resizeStartX,to=Qr[ro],oo=Qr[ro+1],co=Ao()(24-to,0),wo=vo()(oo-24,0);Xr=Ur()(Xr,co,wo),Ir.each(function(){var Po=bn()(this).find("col");Po.eq(ro).css("width",to+Xr+"px"),Po.eq(ro+1).css("width",oo-Xr+"px")}),Or.resizeDeltaX=Xr;var Co=Or.resizeStartLeft+Xr;Yr.eq(ro).css("left","".concat(Co,"px"))},Or.onResizeColEnd=function(ho){Or.onResizeColMove(ho);var po=(0,At.Z)(Or),ro=po.c,Yr=po.colWidths,Qr=po.resizeIdx,Ir=po.resizeDeltaX,Xr=Or.options.columns,to=Xr[Qr],oo=Xr[Qr+1],co=Yr[Qr]+Ir,wo=co+(Yr[Qr+1]-Ir),Co=to.weight+oo.weight,Po=Co*(co/wo),Vo=Co-Po;to.weight=Po,oo.weight=Vo,Or.applyColWeights(),bn()(document.body).rmClass(ro("resizing")),Do.off(Wn("move"),Or.onResizeColMove),Do.off(Wn("end"),Or.onResizeColEnd)},Or.$container.attr("tabindex","0"),Or.resizeSensor=new(Jr())(Zr),Or.onResize=$r()(function(){Or.updateHeight(),Or.updateWeights()},16),Mr.height&&(Mr.maxHeight=Mr.height,Mr.minHeight=Mr.height),Or.initOptions(Mr,{minHeight:41,maxHeight:1/0,filter:""});var yr=Or.options,so=yr.columns,$o=yr.minHeight,xo=yr.maxHeight;return Jn()(so,function(ho){tr()(ho,{sortable:!1}),Or.colMap[ho.id]=ho}),xo<$o&&Or.setOption("maxHeight",$o),Or.initTpl(),Or.$headerRow=Or.find(".header").find("tr"),Or.$fillerRow=Or.find(".filler-row"),Or.fillerRow=Or.$fillerRow.get(0),Or.$tableBody=Or.find(".data").find("tbody"),Or.tableBody=Or.$tableBody.get(0),Or.$colgroup=Or.$container.find("colgroup"),Or.$dataContainer=Or.find(".data-container"),Or.renderHeader(),Or.renderResizers(),Or.updateWeights(),Or.updateHeight(),Or.bindEvent(),Or}return(0,qe.Z)(yo,[{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(yo.prototype),"destroy",this).call(this),this.resizeSensor.destroy(),this.$container.rmAttr("tabindex")}},{key:"remove",value:function(Zr){var Mr=this.nodes,Or=Mr.indexOf(Zr);Or>-1&&(Zr.detach(),Mr.splice(Or,1),Zr===this.selectedNode&&this.selectNode(Mr[Or]||Mr[Or-1]||null),this.updateHeight())}},{key:"append",value:function(Zr,Mr){var Or=new Ko(this,Zr,Mr);return this.nodes.push(Or),this.sortId?this.sortNodes(this.sortId,this.isAscending):this.filterNode(Or)&&(this.tableBody.insertBefore(Or.container,this.fillerRow),this.updateHeight()),Or}},{key:"clear",value:function(){Jn()(this.nodes,function(Zr){return Zr.detach()}),this.nodes=[],this.selectNode(null),this.updateHeight()}},{key:"updateHeight",value:function(){var Zr=this.$fillerRow,Mr=this.c,Or=this.$container,yr=this.options,so=yr.maxHeight,$o=yr.minHeight;this.$dataContainer.css({height:"auto"});var xo=this.$headerRow.offset().height+er(Or.css("border-top-width"))+er(Or.css("border-bottom-width"));($o-=xo)<0&&($o=0),so-=xo;var ho=this.$dataContainer.find(Mr(".node")),po=ho.length,ro=0;po>0&&(ro=ho.offset().height*po),ro>$o?Zr.hide():Zr.show(),ro<$o?ro=$o:ro>=so&&(ro=so),this.$dataContainer.css({height:ro})}},{key:"selectNode",value:function(Zr){var Mr;(Tr()(Zr)||Zr!=null&&Zr.selectable)&&(this.selectedNode&&(this.selectedNode.deselect(),this.selectedNode=null),Tr()(Zr)?this.emit("deselect"):(this.selectedNode=Zr,(Mr=this.selectedNode)===null||Mr===void 0||Mr.select(),this.emit("select",Zr)))}},{key:"onResizeColStart",value:function(Zr){var Mr=this.c,Or=this.resizeIdx,yr=this.$resizers;Zr.stopPropagation(),Zr.preventDefault(),Zr=Zr.origEvent,this.resizeStartX=Xn("x",Zr),this.resizeStartLeft=er(yr.eq(Or).css("left")),bn()(document.body).addClass(Mr("resizing")),Do.on(Wn("move"),this.onResizeColMove),Do.on(Wn("end"),this.onResizeColEnd)}},{key:"bindEvent",value:function(){var Zr=this,Mr=this.c,Or=this.$headerRow,yr=this.$tableBody,so=this.$resizers;this.resizeSensor.addListener(this.onResize);var $o=this;yr.on("click",Mr(".node"),function(){$o.selectNode(this.dataGridNode)}),Or.on("click",Mr(".sortable"),function(xo){xo.stopPropagation();var ho=bn()(this),po=ho.data("id"),ro=ho.data("order")!=="descending";ho.data("order",ro?"descending":"ascending"),$o.sortNodes(po,ro),Or.find("th").each(function(){var Yr=bn()(this);Yr.data("id")!==po&&Yr.rmAttr("data-order")})}),so.on(Wn("start"),function(xo){var ho=bn()(this);$o.resizeIdx=Rn()(ho.data("idx")),$o.onResizeColStart(xo)}),this.on("optionChange",function(xo){switch(xo){case"minHeight":case"maxHeight":Zr.updateHeight();break;case"filter":Zr.renderData()}})}},{key:"sortNodes",value:function(Zr,Mr){var Or=this.colMap[Zr].comparator||qo;this.nodes.sort(function(yr,so){var $o=yr.data[Zr],xo=so.data[Zr];return gr()($o)&&($o=$o.innerText),gr()(xo)&&(xo=xo.innerText),Mr?Or($o,xo):Or(xo,$o)}),this.renderData(),this.sortId=Zr,this.isAscending=Mr}},{key:"updateWeights",value:function(){var Zr=this.container,Mr=this.$headerRow,Or=this.options.columns,yr=Zr.offsetWidth;if(!this.colWidthsInitialized&&yr){for(var so=0,$o=Or.length;so<$o;so++){var xo=Or[so];if(!xo.weight){var ho=Mr.find("th").get(so).offsetWidth;xo.weight=100*ho/yr}}this.colWidthsInitialized=!0}this.applyColWeights()}},{key:"applyColWeights",value:function(){var Zr=this.container,Mr=this.$colgroup,Or=this.options.columns,yr=Zr.offsetWidth;if(!(yr<=0)){for(var so=0,$o=Or.length,xo=0;xo<$o;xo++)so+=Or[xo].weight;var ho="",po=0,ro=0;this.colWidths=[];for(var Yr=0;Yr<$o;Yr++){var Qr=(po+=Or[Yr].weight)*yr/so|0,Ir=Math.max(Qr-ro,14);ro=Qr,ho+=''),this.colWidths[Yr]=Ir}Mr.html(ho),this.positionResizers()}}},{key:"positionResizers",value:function(){for(var Zr=this.colWidths,Mr=[],Or=Zr.length-1,yr=0;yr').concat(so,"")):Mr+="".concat(so,""),Or+=""}),this.$headerRow.html(Mr),this.$fillerRow.html(Or)}},{key:"renderResizers",value:function(){for(var Zr="",Mr=this.options.columns.length-1,Or=0;Or'));this.$container.append(Zr),this.$resizers=this.find(".resizer")}},{key:"initTpl",value:function(){this.$container.html(this.c(wn()(lr||(lr=(0,Fe.Z)([` +
+ + + + + +
+
+
+ + + + + +
+
+ `])))))}}]),yo}(ir),Ko=function(){function To(So,yo){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{selectable:!1};(0,Ue.Z)(this,To),this.container=dr()("tr"),this.selectable=!1,this.container.dataGridNode=this,this.$container=bn()(this.container),this.$container.addClass(So.c("node")),this.dataGrid=So,this.data=yo,Zr.selectable&&(this.selectable=Zr.selectable),this.render()}return(0,qe.Z)(To,[{key:"text",value:function(){return this.$container.text()}},{key:"detach",value:function(){this.$container.remove()}},{key:"select",value:function(){this.$container.addClass(this.dataGrid.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.dataGrid.c("selected"))}},{key:"render",value:function(){var So=this.data,yo=this.$container,Zr=this.container,Mr=this.dataGrid.getOption("columns");yo.html(""),Jn()(Mr,function(Or){var yr=dr()("td"),so=So[Or.id];Rr()(so)||(gr()(so)?yr.appendChild(so):yr.innerText=_r()(so)),Zr.appendChild(yr)})}}]),To}();function qo(To,So){if(To=_r()(To),So=_r()(So),Zn()(To,"_")&&!Zn()(So,"_"))return 1;if(Zn()(So,"_")&&!Zn()(To,"_"))return-1;for(var yo,Zr,Mr,Or,yr=/^\d+|^\D+/;;){if(!To)return So?-1:0;if(!So)return 1;if(yo=To.match(yr)[0],Zr=So.match(yr)[0],Mr=!isNaN(yo),Or=!isNaN(Zr),Mr&&!Or)return-1;if(Or&&!Mr)return 1;if(Mr&&Or){var so=yo-Zr;if(so)return so;if(yo.length!==Zr.length)return+yo||+Zr?Zr.length-yo.length:yo.length-Zr.length}else if(yo!==Zr)return yo]*>/g.test(cr))try{var Sr=$n().parse(cr);return Rn(Sr,function(Dr){Dr.attrs&&Dr.attrs.class&&(Dr.attrs.class=Tr(Dr.attrs.class))}),$n().stringify(Sr)}catch{return Tr(cr)}return Tr(cr)}}function Rn($r,Br){for(var Tr=0,cr=$r.length;Tr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Tr,cr=(0,hn.Z)($r);if(Br){var Sr=(0,hn.Z)(this).constructor;Tr=Reflect.construct(cr,arguments,Sr)}else Tr=cr.apply(this,arguments);return(0,jt.Z)(this,Tr)}}var er,rr=function($r){(0,Lt.Z)(Tr,$r);var Br=Xn(Tr);function Tr(cr,Sr){var Dr,mr=Sr.compName,Lr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,zr=Lr===void 0?"light":Lr;return(0,qe.Z)(this,Tr),(Dr=Br.call(this)).subComponents=[],Dr.compName=mr,Dr.c=On(mr),Dr.options={},Dr.container=cr,Dr.$container=wn()(cr),Dr.$container.addClass(["luna-".concat(mr),Dr.c("platform-".concat(Vn()))]),Dr.on("optionChange",function(Vr,Kr,qr){var Ur=Dr.c;Vr==="theme"&&(Dr.$container.rmClass(Ur("theme-".concat(qr))).addClass(Ur("theme-".concat(Kr))),Dn()(Dr.subComponents,function(uo){return uo.setOption("theme",Kr)}))}),Dr.setOption("theme",zr),Dr}return(0,At.Z)(Tr,[{key:"destroy",value:function(){this.destroySubComponents();var cr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(cr("platform-".concat(Vn()))).rmClass(cr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(cr,Sr){var Dr=this,mr=this.options,Lr={};typeof cr=="string"?Lr[cr]=Sr:Lr=cr,Dn()(Lr,function(zr,Vr){var Kr=mr[Vr];mr[Vr]=zr,Dr.emit("optionChange",Vr,zr,Kr)})}},{key:"getOption",value:function(cr){return this.options[cr]}},{key:"addSubComponent",value:function(cr){cr.setOption("theme",this.options.theme),this.subComponents.push(cr)}},{key:"removeSubComponent",value:function(cr){Wn()(this.subComponents,function(Sr){return Sr===cr})}},{key:"destroySubComponents",value:function(){Dn()(this.subComponents,function(cr){return cr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(cr){var Sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jn()(cr,Sr),Fn()(this.options,cr)}},{key:"find",value:function(cr){return this.$container.find(this.c(cr))}}]),Tr}(bn()),Jn=Ie(8613),Yn=Ie.n(Jn),qn=Ie(5972),ar=Ie.n(qn),tr=Ie(1907),or=Ie.n(tr),sr=Ie(1352),Kn=Ie.n(sr),Zn=Ie(2289),nr=Ie.n(Zn),lr=Ie(3651),ir=Ie.n(lr),kr=Ie(7756),Cr=Ie.n(kr),Er=Ie(8901),dr=Ie.n(Er),br=Ie(1672),_r=Ie.n(br);function Pr($r,Br){var Tr=Object.keys($r);if(Object.getOwnPropertySymbols){var cr=Object.getOwnPropertySymbols($r);Br&&(cr=cr.filter(function(Sr){return Object.getOwnPropertyDescriptor($r,Sr).enumerable})),Tr.push.apply(Tr,cr)}return Tr}function gr($r){for(var Br=1;Br"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Tr,cr=(0,hn.Z)($r);if(Br){var Sr=(0,hn.Z)(this).constructor;Tr=Reflect.construct(cr,arguments,Sr)}else Tr=cr.apply(this,arguments);return(0,jt.Z)(this,Tr)}}xe=Ie.hmd(xe);var Rr={comment:"",string:"",number:"",keyword:"",operator:""},Hr=function($r){(0,Lt.Z)(Tr,$r);var Br=xr(Tr);function Tr(cr){var Sr,Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,qe.Z)(this,Tr),(Sr=Br.call(this,cr,{compName:"dom-viewer"},Dr)).isExpanded=!1,Sr.childNodes=[],Sr.childNodeDomViewers=[],Sr.toggle=function(){Sr.isExpanded?Sr.collapse():Sr.expand()},Sr.initOptions(Dr,{node:document.documentElement,parent:null,isEndTag:!1,rootContainer:cr,rootDomViewer:(0,Dt.Z)(Sr),ignore:function(){return!1}}),Sr.initTpl(),Sr.bindEvent(),Sr.options.isEndTag||Sr.initObserver(),Sr}return(0,At.Z)(Tr,[{key:"select",value:function(cr){var Sr=this.c,Dr=this.options;if(!cr||cr&&Dr.node===cr)return this.$tag.hasClass(Sr("selected"))?void 0:(wn()(this.options.rootContainer).find(Sr(".selected")).rmClass(Sr("selected")).rmAttr("tabindex"),this.$tag.attr("tabindex","0").get(0).focus(),this.$tag.addClass(Sr("selected")),void Dr.rootDomViewer.emit("select",Dr.node));if(cr.nodeType===Node.ELEMENT_NODE)for(var mr=cr,Lr=cr.parentElement;Lr;){if(Lr===Dr.node){this.expand(),this.childNodeDomViewers[this.childNodes.indexOf(mr)].select(cr);break}mr=Lr,Lr=Lr.parentElement}}},{key:"attach",value:function(){this.container.appendChild(this.$tag.get(0)),this.$children&&this.container.appendChild(this.$children.get(0))}},{key:"isAttached",value:function(){return!!this.$tag.get(0).parentNode}},{key:"detach",value:function(){this.$tag.remove(),this.$children&&this.$children.remove()}},{key:"expand",value:function(){this.isExpandable()&&!this.isExpanded&&(this.isExpanded=!0,this.renderExpandTag(),this.renderChildNodes())}},{key:"collapse",value:function(){this.isExpandable()&&this.isExpanded&&(this.isExpanded=!1,this.renderCollapseTag())}},{key:"destroy",value:function(){var cr=this.c;this.$tag.hasClass(cr("selected"))&&this.options.rootDomViewer.emit("deselect"),this.detach(),this.observer&&this.observer.disconnect(),this.destroySubComponents(),this.options.rootDomViewer===this&&this.$container.rmClass("luna-dom-viewer").rmClass(cr("platform-".concat(Vn()))).rmClass(cr("theme-".concat(this.options.theme))),this.emit("destroy"),this.removeAllListeners()}},{key:"renderExpandTag",value:function(){var cr=this.$tag,Sr=this.c,Dr=this.options.node;cr.html(this.renderHtmlTag(gr(gr({},Jr(Dr)),{},{hasTail:!1,hasToggleButton:!0}))),cr.addClass(Sr("expanded")),this.$children.rmClass(Sr("hidden"))}},{key:"renderCollapseTag",value:function(){var cr=this.$tag,Sr=this.c,Dr=this.options.node;this.$children.addClass(Sr("hidden")),this.$tag.html(this.renderHtmlTag(gr(gr({},Jr(Dr)),{},{hasTail:!0,hasToggleButton:!0}))),cr.rmClass(Sr("expanded"))}},{key:"initObserver",value:function(){var cr=this;this.observer=new(nr())(function(Sr){Dn()(Sr,function(Dr){cr.handleMutation(Dr)})}),this.observer.observe(this.options.node,{attributes:!0,childList:!0,characterData:!0})}},{key:"handleMutation",value:function(cr){var Sr=this.$tag,Dr=this.c,mr=this.options,Lr=mr.node,zr=mr.ignore;if(Nn()(["attributes","childList"],cr.type)){if(cr.type==="childList"){if(_r()(cr.addedNodes,zr)&&_r()(cr.removedNodes,zr))return;this.renderChildNodes()}this.isExpandable()?this.isExpanded?this.renderExpandTag():this.renderCollapseTag():(this.$children.addClass(Dr("hidden")),Sr.html(this.renderHtmlTag(gr(gr({},Jr(Lr)),{},{hasTail:!1}))))}else cr.type==="characterData"&&(Lr.nodeType===Node.TEXT_NODE?Sr.html(this.renderTextNode(Lr)):Lr.nodeType===Node.COMMENT_NODE&&Sr.html(this.renderHtmlComment(Lr.nodeValue)))}},{key:"bindEvent",value:function(){var cr=this,Sr=this.c,Dr=this.$tag;this.options.node.nodeType===Node.ELEMENT_NODE&&Dr.on("click",Sr(".toggle"),function(mr){mr.stopPropagation(),cr.toggle()}),Bn?Dr.on("click",function(){return cr.select()}):Dr.on("mousedown",function(){return cr.select()})}},{key:"isExpandable",value:function(){return this.options.node.nodeType===Node.ELEMENT_NODE&&this.getChildNodes().length>0}},{key:"getChildNodes",value:function(){var cr=this.options,Sr=cr.rootContainer,Dr=cr.ignore,mr=this.options.node,Lr=Kn()(mr.childNodes);return Lr=ar()(Lr,function(zr){if(zr.nodeType===Node.TEXT_NODE||zr.nodeType===Node.COMMENT_NODE){var Vr=zr.nodeValue;if(xn()(Vr)==="")return!1}return zr!==Sr&&!Dr(zr)})}},{key:"initTpl",value:function(){var cr=this.container,Sr=this.c,Dr=this.options,mr=Dr.node,Lr=Dr.isEndTag,zr=wn()(Yn()("li"));if(zr.addClass(Sr("tree-item")),this.$tag=zr,Lr)zr.html(Sr('</'.concat(mr.tagName.toLocaleLowerCase(),'>')));else if(mr.nodeType===Node.ELEMENT_NODE){var Vr=this.isExpandable(),Kr=gr(gr({},Jr(mr)),{},{hasTail:Vr,hasToggleButton:Vr});zr.html(this.renderHtmlTag(Kr))}else if(mr.nodeType===Node.TEXT_NODE)zr.html(this.renderTextNode(mr));else{if(mr.nodeType!==Node.COMMENT_NODE)return;var qr=mr.nodeValue;if(qr.trim()==="")return;zr.html(this.renderHtmlComment(qr))}if(cr.appendChild(zr.get(0)),mr.nodeType===mr.ELEMENT_NODE){var Ur=wn()(Yn()("ul"));Ur.addClass([Sr("children"),Sr("hidden")]),cr.appendChild(Ur.get(0)),this.$children=Ur}}},{key:"renderChildNodes",value:function(){var cr=this,Sr=this.options.node,Dr=this.options,mr=Dr.rootContainer,Lr=Dr.ignore,zr=Dr.rootDomViewer,Vr=this.$children.get(0),Kr=this.childNodes,qr=this.childNodeDomViewers;Dn()(qr,function(vo){vo.detach(),cr.removeSubComponent(vo)}),this.endTagDomViewer&&this.endTagDomViewer.detach();var Ur=this.getChildNodes();this.childNodes=Ur;var uo=[];this.childNodeDomViewers=uo,Dn()(Ur,function(vo,_o){var Ao,ko=Kr.indexOf(vo);(Ao=ko>-1?qr[ko]:new Tr(Vr,{node:vo,parent:cr,rootContainer:mr,rootDomViewer:zr,ignore:Lr})).attach(),uo[_o]=Ao,cr.addSubComponent(Ao)}),Dn()(qr,function(vo){vo.isAttached()||vo.destroy()}),Sr&&(this.endTagDomViewer?this.endTagDomViewer.attach():(this.endTagDomViewer=new Tr(Vr,{node:Sr,parent:this,isEndTag:!0,rootContainer:mr,rootDomViewer:zr,ignore:Lr}),this.addSubComponent(this.endTagDomViewer)))}},{key:"renderHtmlTag",value:function(cr){var Sr=Cn()(cr.attributes,function(Lr){var zr=Lr.name,Vr=Lr.value,Kr=Lr.isLink;return` + `.concat(dr()(zr),"").concat(Vr?'="').concat(dr()(Vr),'"'):"","")}).join(""),Dr="";cr.hasTail?Dr="".concat(cr.hasTail?"…":"",'</').concat(cr.tagName,">"):this.isExpandable()||(Dr='</'.concat(cr.tagName,">"));var mr="";return cr.hasToggleButton&&(mr='
'),this.c(or()(er||(er=(0,Fe.Z)([` + `,` + <`,"",">",` + `])),mr,cr.tagName,Sr,Dr))}},{key:"renderTextNode",value:function(cr){var Sr=this.c,Dr=cr.nodeValue,mr=cr.parentElement,Lr='',zr='';if(mr&&Dr.length<1e4){if(mr.tagName==="STYLE")return Sr("".concat(Lr).concat(ir()(Dr,"css",Rr)).concat(zr));if(mr.tagName==="SCRIPT")return Sr("".concat(Lr).concat(ir()(Dr,"js",Rr)).concat(zr))}return Sr('"'.concat(Lr).concat(dr()(Cr()(Dr,1e4,{separator:" ",ellipsis:"…"}))).concat(zr,'"'))}},{key:"renderHtmlComment",value:function(cr){return this.c('<!-- '.concat(dr()(cr),' -->'))}}]),Tr}(rr);function Jr($r){var Br={tagName:"",attributes:[]};Br.tagName=$r.tagName.toLocaleLowerCase();var Tr=[];return Dn()($r.attributes,function(cr){var Sr=cr.name,Dr=cr.value;Tr.push({name:Sr,value:Dr,isLink:Gr($r,Sr)})}),Br.attributes=Tr,Br}function Gr($r,Br){var Tr=$r.tagName;return(Tr==="SCRIPT"||Tr==="IMAGE"||Tr==="VIDEO"||Tr==="AUDIO")&&Br==="src"||Tr==="LINK"&&Br==="href"}(function($r,Br){try{$r.exports=Br,$r.exports.default=Br}catch{}})(xe,Hr)},129:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Zn}});var Fe=Ie(907),Ue=Ie(181);function qe(Er){return function(dr){if(Array.isArray(dr))return(0,Fe.Z)(dr)}(Er)||function(dr){if(typeof Symbol<"u"&&dr[Symbol.iterator]!=null||dr["@@iterator"]!=null)return Array.from(dr)}(Er)||(0,Ue.Z)(Er)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var At=Ie(168),Dt=Ie(5671),Lt=Ie(3144),jt=Ie(7326),hn=Ie(1752),vn=Ie(9340),bn=Ie(2963),_n=Ie(1120),wn=Ie(1443),kn=Ie.n(wn),Cn=Ie(1512),Sn=Ie.n(Cn),xn=Ie(2461),En=Ie.n(xn),Tn=Ie(4331),An=Ie.n(Tn),$n=Ie(5610),Pn=Ie.n($n),Nn=Ie(7483),Mn=Ie.n(Nn),In=(Ie(3990),Ie(6341)),On=Ie.n(In),Rn=(Ie(3875),Ie(6954)),Bn=Ie.n(Rn);Ie(9585);function Vn(Er){var dr="luna-".concat(Er,"-");function br(_r){return En()(An()(_r).split(/\s+/),function(Pr){return On()(Pr,dr)?Pr:Pr.replace(/[\w-]+/,function(gr){return"".concat(dr).concat(gr)})}).join(" ")}return function(_r){if(/<[^>]*>/g.test(_r))try{var Pr=Mn().parse(_r);return Ln(Pr,function(gr){gr.attrs&&gr.attrs.class&&(gr.attrs.class=br(gr.attrs.class))}),Mn().stringify(Pr)}catch{return br(_r)}return br(_r)}}function Ln(Er,dr){for(var br=0,_r=Er.length;br<_r;br++){var Pr=Er[br];dr(Pr),Pr.content&&Ln(Pr.content,dr)}}Pn();var Dn=Ie(3783),Hn=Ie.n(Dn),Fn=Ie(6329),zn=Ie.n(Fn),jn=Ie(4193),Gn=Ie.n(jn),Wn=Ie(5852),Xn=Ie.n(Wn),er=Ie(6930),rr=Ie.n(er);function Jn(Er){var dr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var br,_r=(0,_n.Z)(Er);if(dr){var Pr=(0,_n.Z)(this).constructor;br=Reflect.construct(_r,arguments,Pr)}else br=_r.apply(this,arguments);return(0,bn.Z)(this,br)}}var Yn,qn=function(Er){(0,vn.Z)(br,Er);var dr=Jn(br);function br(_r,Pr){var gr,xr,Rr=Pr.compName,Hr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Jr=Hr===void 0?"light":Hr;return(0,Dt.Z)(this,br),(gr=dr.call(this)).subComponents=[],gr.compName=Rr,gr.c=Vn(Rr),gr.options={},gr.container=_r,gr.$container=Sn()(_r),gr.$container.addClass(["luna-".concat(Rr),gr.c("platform-".concat((xr=Bn()(),xr==="os x"?"mac":xr)))]),gr.on("optionChange",function(Gr,$r,Br){var Tr=gr.c;Gr==="theme"&&(gr.$container.rmClass(Tr("theme-".concat(Br))).addClass(Tr("theme-".concat($r))),Hn()(gr.subComponents,function(cr){return cr.setOption("theme",$r)}))}),gr.setOption("theme",Jr),gr}return(0,Lt.Z)(br,[{key:"destroy",value:function(){var _r=this;this.destroySubComponents();var Pr=this.$container,gr=Pr.attr("class");Hn()(gr.split(/\s+/),function(xr){rr()(xr,"luna-".concat(_r.compName))&&Pr.rmClass(xr)}),Pr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(_r,Pr){var gr=this,xr=this.options,Rr={};typeof _r=="string"?Rr[_r]=Pr:Rr=_r,Hn()(Rr,function(Hr,Jr){var Gr=xr[Jr];xr[Jr]=Hr,gr.emit("optionChange",Jr,Hr,Gr)})}},{key:"getOption",value:function(_r){return this.options[_r]}},{key:"addSubComponent",value:function(_r){_r.setOption("theme",this.options.theme),this.subComponents.push(_r)}},{key:"removeSubComponent",value:function(_r){Xn()(this.subComponents,function(Pr){return Pr===_r})}},{key:"destroySubComponents",value:function(){Hn()(this.subComponents,function(_r){return _r.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(_r){var Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Gn()(_r,Pr),zn()(this.options,_r)}},{key:"find",value:function(_r){return this.$container.find(this.c(_r))}}]),br}(kn()),ar=Ie(1907),tr=Ie.n(ar),or=Ie(8613),sr=Ie.n(or);function Kn(Er){var dr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var br,_r=(0,_n.Z)(Er);if(dr){var Pr=(0,_n.Z)(this).constructor;br=Reflect.construct(_r,arguments,Pr)}else br=_r.apply(this,arguments);return(0,bn.Z)(this,br)}}xe=Ie.hmd(xe);var Zn=function(Er){(0,vn.Z)(br,Er);var dr=Kn(br);function br(_r){var Pr,gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Dt.Z)(this,br),(Pr=dr.call(this,_r,{compName:"modal"},gr)).render=function(){var xr=(0,jt.Z)(Pr),Rr=xr.options,Hr=xr.c,Jr=xr.$body;Rr.title?(Jr.rmClass(Hr("no-title")),Pr.$title.text(Rr.title)):Jr.addClass(Hr("no-title")),Rr.footer?(Jr.rmClass(Hr("no-footer")),Pr.$footer.html("").append(Rr.footer)):Jr.addClass(Hr("no-footer")),Rr.showClose?Pr.$close.show():Pr.$close.hide(),Pr.$body.css("width",Rr.width+"px"),Pr.$content.html("").append(Rr.content)},Pr.hide(),Pr.initOptions(gr,{title:"",content:"",footer:"",showClose:!0,width:Cr()}),Pr.initTpl(),Pr.$title=Pr.find(".title"),Pr.$content=Pr.find(".content"),Pr.$body=Pr.find(".body"),Pr.$footer=Pr.find(".footer"),Pr.$close=Pr.find(".icon-close"),Pr.bindEvent(),Pr}return(0,Lt.Z)(br,[{key:"show",value:function(){this.render(),this.$container.rmClass(this.c("hidden"))}},{key:"hide",value:function(){this.$container.addClass(this.c("hidden"))}},{key:"destroy",value:function(){(0,hn.Z)((0,_n.Z)(br.prototype),"destroy",this).call(this),this.$container.rmClass(this.c("hidden"))}},{key:"bindEvent",value:function(){var _r=this;this.$body.on("click",this.c(".icon-close"),function(){return _r.hide()}),this.on("optionChange",this.render)}},{key:"initTpl",value:function(){this.$container.html(this.c(tr()(Yn||(Yn=(0,At.Z)([` +
+ +
+
+ +
+ `])))))}}],[{key:"alert",value:function(_r){var Pr=ir(),gr=Pr.c;Pr.setOption({title:"",content:_r,width:Cr(),footer:kr({OK:{type:"primary",onclick:function(){Pr.hide()}}},gr)}),Pr.show()}},{key:"confirm",value:function(_r){return new Promise(function(Pr){var gr=ir(),xr=gr.c;gr.setOption({title:"",content:_r,width:Cr(),footer:kr({Cancel:{type:"secondary",onclick:function(){gr.hide(),Pr(!1)}},OK:{type:"primary",onclick:function(){gr.hide(),Pr(!0)}}},xr)}),gr.show()})}},{key:"prompt",value:function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(gr){var xr=ir(),Rr=xr.c,Hr=sr()("input"+Rr(".input"),{value:Pr});function Jr(){xr.hide(),gr(Hr.value)}Sn()(Hr).on("keypress",function($r){($r=$r.origEvent).key==="Enter"&&Jr()}),xr.setOption({title:_r,content:Hr,width:Cr(),footer:kr({Cancel:{type:"secondary",onclick:function(){xr.hide(),gr(null)}},OK:{type:"primary",onclick:Jr}},Rr)}),xr.show();var Gr=Hr.value.length;Hr.setSelectionRange(Gr,Gr),Hr.focus()})}},{key:"setContainer",value:function(_r){lr=_r}}]),br}(qn),nr=null,lr=null;function ir(){return lr||(lr=sr()("div"),document.body.append(lr)),nr||(nr=new Zn(lr,{showClose:!1})),nr}function kr(Er,dr){var br=En()(Er,function(_r,Pr){return sr()(dr(".button")+dr("."+_r.type),{onclick:_r.onclick},Pr)});return sr().apply(void 0,[dr(".button-group"),{}].concat(qe(br)))}function Cr(){return window.innerWidth<500?window.innerWidth-32:500}(function(Er,dr){try{Er.exports=dr,Er.exports.default=dr}catch{}})(xe,Zn)},8299:function(xe,$e,Ie){Ie.d($e,{q:function(){return yr},Z:function(){return xo}});var Fe=Ie(1002),Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(1752),Lt=Ie(9340),jt=Ie(2963),hn=Ie(1120),vn=Ie(415),bn=Ie.n(vn),_n=Ie(3990),wn=Ie.n(_n),kn=Ie(4696),Cn=Ie.n(kn),Sn=Ie(3063),xn=Ie.n(Sn),En=Ie(5166),Tn=Ie.n(En),An=Ie(6472),$n=Ie.n(An),Pn=Ie(3023),Nn=Ie.n(Pn),Mn=Ie(2533),In=Ie.n(Mn),On=Ie(3783),Rn=Ie.n(On),Bn=Ie(300),Vn=Ie.n(Bn),Ln=Ie(4321),Dn=Ie.n(Ln),Hn=Ie(3085),Fn=Ie.n(Hn),zn=Ie(1512),jn=Ie.n(zn),Gn=Ie(801),Wn=Ie.n(Gn),Xn=Ie(7756),er=Ie.n(Xn),rr=Ie(6768),Jn=Ie.n(rr),Yn=Ie(1116),qn=Ie.n(Yn),ar=Ie(5972),tr=Ie.n(ar),or=Ie(996),sr=Ie.n(or),Kn=Ie(3367),Zn=Ie.n(Kn),nr=Ie(1214),lr=Ie.n(nr),ir=Ie(6339),kr=Ie.n(ir),Cr=Ie(6329),Er=Ie.n(Cr),dr=function(){function ho(){(0,Ue.Z)(this,ho),this.id=0,this.visited=[]}return(0,qe.Z)(ho,[{key:"set",value:function(po,ro){var Yr=this.visited,Qr=this.id,Ir={id:Qr,val:po};return Er()(Ir,ro),Yr.push(Ir),this.id++,Qr}},{key:"get",value:function(po){for(var ro=this.visited,Yr=0,Qr=ro.length;Yr500&&(ho=ho.slice(0,500)+"..."),"ƒ "+_r()(function(po){var ro=po.match(Hr);return ro?ro[0]:po}(ho).replace("function",""))}var Hr=/function(.*?)\((.*?)\)/,Jr=Ie(6930),Gr=Ie.n(Jr),$r=Ie(5229),Br=Ie.n($r),Tr=Ie(3875),cr=Ie.n(Tr),Sr=Ie(9433),Dr=Ie.n(Sr),mr=Ie(1443),Lr=Ie.n(mr),zr=Ie(2461),Vr=Ie.n(zr),Kr=Ie(5610),qr=Ie.n(Kr),Ur=Ie(7483),uo=Ie.n(Ur),vo=Ie(6341),_o=Ie.n(vo),Ao=Ie(6954),ko=Ie.n(Ao);Ie(9585);function Do(ho){var po="luna-".concat(ho,"-");function ro(Yr){return Vr()(_r()(Yr).split(/\s+/),function(Qr){return _o()(Qr,po)?Qr:Qr.replace(/[\w-]+/,function(Ir){return"".concat(po).concat(Ir)})}).join(" ")}return function(Yr){if(/<[^>]*>/g.test(Yr))try{var Qr=uo().parse(Yr);return Ro(Qr,function(Ir){Ir.attrs&&Ir.attrs.class&&(Ir.attrs.class=ro(Ir.attrs.class))}),uo().stringify(Qr)}catch{return ro(Yr)}return ro(Yr)}}function Ro(ho,po){for(var ro=0,Yr=ho.length;ro"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,Yr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(Yr,arguments,Qr)}else ro=Yr.apply(this,arguments);return(0,jt.Z)(this,ro)}}var Mr=function(ho){(0,Lt.Z)(ro,ho);var po=Zr(ro);function ro(Yr,Qr){var Ir,Xr=Qr.compName,to=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,oo=to===void 0?"light":to;return(0,Ue.Z)(this,ro),(Ir=po.call(this)).subComponents=[],Ir.compName=Xr,Ir.c=Do(Xr),Ir.options={},Ir.container=Yr,Ir.$container=jn()(Yr),Ir.$container.addClass(["luna-".concat(Xr),Ir.c("platform-".concat(Ko()))]),Ir.on("optionChange",function(co,wo,Co){var Po=Ir.c;co==="theme"&&(Ir.$container.rmClass(Po("theme-".concat(Co))).addClass(Po("theme-".concat(wo))),Rn()(Ir.subComponents,function(Vo){return Vo.setOption("theme",wo)}))}),Ir.setOption("theme",oo),Ir}return(0,qe.Z)(ro,[{key:"destroy",value:function(){this.destroySubComponents();var Yr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Yr("platform-".concat(Ko()))).rmClass(Yr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Yr,Qr){var Ir=this,Xr=this.options,to={};typeof Yr=="string"?to[Yr]=Qr:to=Yr,Rn()(to,function(oo,co){var wo=Xr[co];Xr[co]=oo,Ir.emit("optionChange",co,oo,wo)})}},{key:"getOption",value:function(Yr){return this.options[Yr]}},{key:"addSubComponent",value:function(Yr){Yr.setOption("theme",this.options.theme),this.subComponents.push(Yr)}},{key:"removeSubComponent",value:function(Yr){yo()(this.subComponents,function(Qr){return Qr===Yr})}},{key:"destroySubComponents",value:function(){Rn()(this.subComponents,function(Yr){return Yr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Yr){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};To()(Yr,Qr),Er()(this.options,Yr)}},{key:"find",value:function(Yr){return this.$container.find(this.c(Yr))}}]),ro}(Lr());function Or(ho){var po=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,Yr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(Yr,arguments,Qr)}else ro=Yr.apply(this,arguments);return(0,jt.Z)(this,ro)}}var yr=function(ho){(0,Lt.Z)(ro,ho);var po=Or(ro);function ro(Yr){var Qr;return(0,Ue.Z)(this,ro),(Qr=po.call(this,Yr,{compName:"object-viewer"})).onItemClick=function(Ir){var Xr=(0,At.Z)(Qr),to=Xr.map,oo=Xr.c,co=jn()(Ir.curTarget),wo=co.data("object-id"),Co=co.find("span").eq(0);if(!co.data("first-level")&&(wo&&(co.find("ul").html(Qr.objToHtml(to[wo],!1)),co.rmAttr("data-object-id")),Ir.stopImmediatePropagation(),Co.hasClass(oo("expanded")))){var Po=co.find("ul").eq(0);Co.hasClass(oo("collapsed"))?(Co.rmClass(oo("collapsed")),Po.show()):(Co.addClass(oo("collapsed")),Po.hide()),Qr.emit("change")}},Qr.bindEvent(),Qr}return(0,qe.Z)(ro,[{key:"set",value:function(Yr){Jn()(Yr)&&(Yr=JSON.parse(Yr)),this.data={id:Br()("json"),enumerable:{0:Yr}},this.map={},so(this.map,this.data),this.render()}},{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(ro.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(Yr,Qr){var Ir=this,Xr="";return Rn()(["enumerable","unenumerable","symbol"],function(to){if(Yr[to]){var oo=In()(Yr[to]);kr()(oo);for(var co=0,wo=oo.length;co3&&arguments[3]!==void 0&&arguments[3],to=this.c,oo=(0,Fe.Z)(Qr);if(Qr===null)return"
  • ".concat(Fo(Yr),'null
  • ');if(wn()(Qr)||Cn()(Qr))return"
  • ".concat(Fo(Yr),'').concat(xr(Qr),"
  • ");if(Qr.type==="RegExp"&&(oo="regexp"),Qr.type==="Number"&&(oo="number"),Qr.type==="Number"||Qr.type==="RegExp")return"
  • ".concat(Fo(Yr),'').concat(xr(Qr.value),"
  • ");if(Qr.type==="Undefined"||Qr.type==="Symbol")return"
  • ".concat(Fo(Yr),'').concat(xn()(Qr.type),"
  • ");if(Qr==="(...)")return"
  • ".concat(Fo(Yr),'').concat(Qr,"
  • ");if(Tn()(Qr)){var co=Qr.id,wo=Qr.reference,Co=function(jo){var Yo=jo.type,oa=jo.value;if(Yo)return Yo==="Function"?Rr(oa):Yo==="Array"&&jo.unenumerable?"Array(".concat(jo.unenumerable.length,")"):jo.type}(Qr)||Nn()(oo),Po=Xr?"":''),Vo="
  • ").concat(Po).concat(Fo(Yr),'').concat(Xr?"":Co,'
      ");return Xr&&(Vo+=this.objToHtml(this.map[co])),Vo+'
  • ')}function Fo(jo){if(Xr||Tn()(Qr)&&Qr.jsonSplitArr)return"";var Yo=to("key");return Ir==="unenumerable"||Ir==="symbol"?Yo=to("key-lighter"):Ir==="proto"&&(Yo=to("key-special")),'').concat(xr(jo),": ")}return Jn()(Qr)&&Qr.length>1e4&&(Qr=er()(Qr,50,{separator:" ",ellipsis:"…"})),"
  • ".concat(Fo(Yr),'"').concat(xr(Qr),'"
  • ')}},{key:"render",value:function(){var Yr=this.map[this.data.id];this.$container.html(this.objToHtml(Yr,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),ro}(Mr);function so(ho,po){var ro=po.id;if(ro||ro===0){if(po.type&&Gr()(po.type,"Array")&&po.enumerable){var Yr=function(oo,co,wo){var Co=[],Po={};return Rn()(oo.enumerable,function(Vo,Fo){var jo=cr()(Fo);Dr()(jo)?Po[Fo]=Vo:Co[jo]=Vo}),Co.enumerable=Po,Co.type=wo,Co.id=co,oo.unenumerable&&(Co.unenumerable=oo.unenumerable),oo.symbol&&(Co.symbol=oo.symbol),oo.proto&&(Co.proto=oo.proto),Co}(po,ro,po.type);Yr.length>100&&(po=function(oo){var co=0,wo={};Rn()(sr()(oo,100),function(Po){var Vo={},Fo=co;Vo.type="["+Fo,Vo.enumerable={},Rn()(Po,function(Yo){Vo.enumerable[co]=Yo,co+=1});var jo=co-1;Vo.type+=(jo-Fo>0?" … "+jo:"")+"]",Vo.id=Br()("json"),Vo.jsonSplitArr=!0,wo[co]=Vo});var Co={};return Co.enumerable=wo,Co.id=oo.id,Co.type=oo.type,oo.unenumerable&&(Co.unenumerable=oo.unenumerable),oo.symbol&&(Co.symbol=oo.symbol),oo.proto&&(Co.proto=oo.proto),Co}(Yr))}ho[ro]=po;var Qr=[];Rn()(["enumerable","unenumerable","symbol"],function(oo){if(po[oo])for(var co in po[oo])Qr.push(po[oo][co])}),po.proto&&Qr.push(po.proto);for(var Ir=0,Xr=Qr.length;Ir"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,Yr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(Yr,arguments,Qr)}else ro=Yr.apply(this,arguments);return(0,jt.Z)(this,ro)}}xe=Ie.hmd(xe);var xo=function(ho){(0,Lt.Z)(ro,ho);var po=$o(ro);function ro(Yr){var Qr,Ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,ro),(Qr=po.call(this,Yr,{compName:"object-viewer"})).onItemClick=function(Xr){var to=(0,At.Z)(Qr),oo=to.map,co=to.c,wo=jn()(Xr.curTarget),Co=wo.data("object-id"),Po=wo.find("span").eq(0);if(!wo.data("first-level")&&(Co&&(wo.find("ul").html(Qr.objToHtml(oo[Co],!1)),wo.rmAttr("data-object-id")),Xr.stopImmediatePropagation(),Po.hasClass(co("expanded")))){var Vo=wo.find("ul").eq(0);Po.hasClass(co("collapsed"))?(Po.rmClass(co("collapsed")),Vo.show()):(Po.addClass(co("collapsed")),Vo.hide()),Qr.emit("change")}},Qr.initOptions(Ir,{unenumerable:!1,accessGetter:!1}),Qr.bindEvent(),Qr}return(0,qe.Z)(ro,[{key:"set",value:function(Yr){this.data=[Yr],this.visitor=new dr,this.map={},this.render()}},{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(ro.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(Yr,Qr){var Ir=this,Xr=this.visitor,to=Yr,oo=!1,co=Xr.get(Yr);co&&co.self&&(to=co.self);var wo="",Co=["enumerable"],Po=In()(Yr),Vo=[],Fo=[],jo=[],Yo={};if(this.options.unenumerable&&!Qr&&(Co.push("unenumerable"),Co.push("symbol"),Vo=Wn()(qn()(Yr,{prototype:!1,unenumerable:!0}),Po),Fo=tr()(qn()(Yr,{prototype:!1,symbol:!0}),function(Xo){return(0,Fe.Z)(Xo)==="symbol"})),$n()(Yr)&&Yr.length>100){Co.unshift("virtual"),oo=!0;var oa=0,Qo={};Rn()(sr()(Yr,100),function(Xo){var pa=Object.create(null),ea=oa,Sa="["+ea;Rn()(Xo,function(fa){pa[oa]=fa,Qo[oa]=!0,oa++});var na=oa-1;Yo[Sa+=(na-ea>0?" … "+na:"")+"]"]=pa}),jo=In()(Yo),Po=tr()(Po,function(Xo){return!Qo[Xo]})}Rn()(Co,function(Xo){var pa=[];pa=Xo==="symbol"?Fo:Xo==="unenumerable"?Vo:Xo==="virtual"?jo:Po,oo||kr()(pa);for(var ea=0,Sa=pa.length;ea4&&arguments[4]!==void 0&&arguments[4],oo=this.visitor,co=this.c,wo=(0,Fe.Z)(Ir),Co=Fn()(Ir,!1);if(Xr==="virtual"&&(Co=Yr),Ir===null)return"
  • ".concat(Qo(Yr),'null
  • ');if(wn()(Ir)||Cn()(Ir))return"
  • ".concat(Qo(Yr),'').concat(xr(Ir),"
  • ");if(Co==="RegExp"&&(wo="regexp"),Co==="Number"&&(wo="number"),Co==="Undefined"||Co==="Symbol")return"
  • ".concat(Qo(Yr),'').concat(xn()(Co),"
  • ");if(Ir==="(...)")return"
  • ".concat(Qo(Yr),'').concat(Ir,"
  • ");if(Tn()(Ir)){var Po,Vo=oo.get(Ir);if(Vo)Po=Vo.id;else{var Fo={};Xr==="proto"&&(Fo.self=Qr),Po=oo.set(Ir,Fo),this.map[Po]=Ir}var jo="Object";jo=wo==="regexp"?'').concat(xr(Ir)):xr(function(aa,ia){if(ia)return ia==="Function"?Rr(Vn()(aa)):ia==="Array"?"Array(".concat(aa.length,")"):ia}(Ir,Co)||Nn()(wo));var Yo=to?"":''),oa="
  • ").concat(Yo).concat(Qo(Yr),'').concat(to?"":jo,'
      ");return to&&(oa+=this.objToHtml(Ir)),oa+'
  • ')}function Qo(aa){if(to||Tn()(Ir)&&Xr==="virtual")return"";var ia=co("key");return Xr==="unenumerable"||Xr==="symbol"?ia=co("key-lighter"):Xr==="proto"&&(ia=co("key-special")),'').concat(xr(aa),": ")}return Jn()(Ir)&&Ir.length>1e4&&(Ir=er()(Ir,50,{separator:" ",ellipsis:"…"})),"
  • ".concat(Qo(Yr),'"').concat(xr(Ir),'"
  • ')}},{key:"render",value:function(){this.$container.html(this.objToHtml(this.data,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),ro}(Mr);xo.Static=yr,function(ho,po){try{ho.exports=po,ho.exports.default=po}catch{}}(xe,xo)},8692:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Rr}});var Fe=Ie(7326),Ue=Ie(5671),qe=Ie(3144),At=Ie(9340),Dt=Ie(2963),Lt=Ie(1120),jt=Ie(1512),hn=Ie.n(jt),vn=Ie(8613),bn=Ie.n(vn),_n=Ie(8901),wn=Ie.n(_n),kn=Ie(5229),Cn=Ie.n(kn),Sn=Ie(5166),xn=Ie.n(Sn),En=Ie(4193),Tn=Ie.n(En),An=Ie(2461),$n=Ie.n(An),Pn=Ie(3875),Nn=Ie.n(Pn),Mn=Ie(3367),In=Ie.n(Mn),On=Ie(4777),Rn=Ie.n(On),Bn=Ie(9702),Vn=Ie.n(Bn),Ln=Ie(1754),Dn=Ie.n(Ln),Hn=Ie(6768),Fn=Ie.n(Hn),zn=Ie(4331),jn=Ie.n(zn),Gn=Ie(6341),Wn=Ie.n(Gn),Xn=Ie(3063),er=Ie.n(Xn),rr=Ie(6156),Jn=Ie.n(rr),Yn=Ie(3783),qn=Ie.n(Yn),ar=Ie(1443),tr=Ie.n(ar),or=Ie(5610),sr=Ie.n(or),Kn=Ie(7483),Zn=Ie.n(Kn),nr=(Ie(3990),Ie(6954)),lr=Ie.n(nr);Ie(9585);function ir(mr){var Lr="luna-".concat(mr,"-");function zr(Vr){return $n()(jn()(Vr).split(/\s+/),function(Kr){return Wn()(Kr,Lr)?Kr:Kr.replace(/[\w-]+/,function(qr){return"".concat(Lr).concat(qr)})}).join(" ")}return function(Vr){if(/<[^>]*>/g.test(Vr))try{var Kr=Zn().parse(Vr);return kr(Kr,function(qr){qr.attrs&&qr.attrs.class&&(qr.attrs.class=zr(qr.attrs.class))}),Zn().stringify(Kr)}catch{return zr(Vr)}return zr(Vr)}}function kr(mr,Lr){for(var zr=0,Vr=mr.length;zr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var zr,Vr=(0,Lt.Z)(mr);if(Lr){var Kr=(0,Lt.Z)(this).constructor;zr=Reflect.construct(Vr,arguments,Kr)}else zr=Vr.apply(this,arguments);return(0,Dt.Z)(this,zr)}}var gr=function(mr){(0,At.Z)(zr,mr);var Lr=Pr(zr);function zr(Vr,Kr){var qr,Ur=Kr.compName,uo=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,vo=uo===void 0?"light":uo;return(0,Ue.Z)(this,zr),(qr=Lr.call(this)).subComponents=[],qr.compName=Ur,qr.c=ir(Ur),qr.options={},qr.container=Vr,qr.$container=hn()(Vr),qr.$container.addClass(["luna-".concat(Ur),qr.c("platform-".concat(Cr()))]),qr.on("optionChange",function(_o,Ao,ko){var Do=qr.c;_o==="theme"&&(qr.$container.rmClass(Do("theme-".concat(ko))).addClass(Do("theme-".concat(Ao))),qn()(qr.subComponents,function(Ro){return Ro.setOption("theme",Ao)}))}),qr.setOption("theme",vo),qr}return(0,qe.Z)(zr,[{key:"destroy",value:function(){this.destroySubComponents();var Vr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Vr("platform-".concat(Cr()))).rmClass(Vr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Vr,Kr){var qr=this,Ur=this.options,uo={};typeof Vr=="string"?uo[Vr]=Kr:uo=Vr,qn()(uo,function(vo,_o){var Ao=Ur[_o];Ur[_o]=vo,qr.emit("optionChange",_o,vo,Ao)})}},{key:"getOption",value:function(Vr){return this.options[Vr]}},{key:"addSubComponent",value:function(Vr){Vr.setOption("theme",this.options.theme),this.subComponents.push(Vr)}},{key:"removeSubComponent",value:function(Vr){_r()(this.subComponents,function(Kr){return Kr===Vr})}},{key:"destroySubComponents",value:function(){qn()(this.subComponents,function(Vr){return Vr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Vr){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Tn()(Vr,Kr),dr()(this.options,Vr)}},{key:"find",value:function(Vr){return this.$container.find(this.c(Vr))}}]),zr}(tr());function xr(mr){var Lr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var zr,Vr=(0,Lt.Z)(mr);if(Lr){var Kr=(0,Lt.Z)(this).constructor;zr=Reflect.construct(Vr,arguments,Kr)}else zr=Vr.apply(this,arguments);return(0,Dt.Z)(this,zr)}}xe=Ie.hmd(xe);var Rr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr){var Kr,qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,zr),(Kr=Lr.call(this,Vr,{compName:"setting"},qr)).items=[],Kr.selectedItem=null,Kr.initOptions(qr,{separatorCollapse:!0,filter:""}),Kr.bindEvent(),Kr}return(0,qe.Z)(zr,[{key:"appendTitle",value:function(Vr){var Kr=new Jr(this,Vr);return this.append(Kr),Kr}},{key:"appendSeparator",value:function(){var Vr=this.items,Kr=this.options.separatorCollapse,qr=Vn()(Vr);if(Kr&&qr instanceof Gr)return qr;var Ur=new Gr(this);return this.append(Ur),Ur}},{key:"appendNumber",value:function(Vr,Kr,qr,Ur,uo){xn()(Ur)&&(uo=Ur,Ur="");var vo=new Br(this,Vr,Kr,qr,Ur,uo);return this.append(vo),vo}},{key:"appendButton",value:function(Vr,Kr,qr){Rn()(Kr)&&(qr=Kr,Kr="");var Ur=new Dr(this,Vr,Kr,qr);return this.append(Ur),Ur}},{key:"appendInput",value:function(Vr,Kr,qr){var Ur=new $r(this,Vr,Kr,qr,arguments.length>3&&arguments[3]!==void 0?arguments[3]:"");return this.append(Ur),Ur}},{key:"appendCheckbox",value:function(Vr,Kr,qr,Ur){Ur||(Ur=qr,qr="");var uo=new cr(this,Vr,Kr,qr,Ur);return this.append(uo),uo}},{key:"appendSelect",value:function(Vr,Kr,qr,Ur,uo){xn()(Ur)&&(uo=Ur,Ur="");var vo=new Sr(this,Vr,Kr,qr,Ur,uo);return this.append(vo),vo}},{key:"remove",value:function(Vr){var Kr=this.items,qr=Kr.indexOf(Vr);qr>-1&&(Vr.detach(),Kr.splice(qr,1),Vr===this.selectedItem&&this.selectItem(null))}},{key:"clear",value:function(){qn()(this.items,function(Vr){return Vr.detach()}),this.items=[],this.selectItem(null)}},{key:"selectItem",value:function(Vr){var Kr;this.selectedItem&&(this.selectedItem.deselect(),this.selectedItem=null),Jn()(Vr)||(this.selectedItem=Vr,(Kr=this.selectedItem)===null||Kr===void 0||Kr.select())}},{key:"renderSettings",value:function(){var Vr=this,Kr=this.items;qn()(Kr,function(qr){return qr.detach()}),qn()(Kr,function(qr){Vr.filterItem(qr)&&Vr.$container.append(qr.container)})}},{key:"bindEvent",value:function(){var Vr=this,Kr=this.c;this.on("optionChange",function(Ur){Ur==="filter"&&Vr.renderSettings()});var qr=this;this.$container.on("click",Kr(".item"),function(){qr.selectItem(this.settingItem)})}},{key:"filterItem",value:function(Vr){var Kr=this.options.filter;if(Kr){if(Rn()(Kr))return Kr(Vr);if(Dn()(Kr))return Kr.test(Vr.text());if(Fn()(Kr)&&(Kr=jn()(Kr)))return Wn()(er()(Vr.text()),er()(Kr))}return!0}},{key:"append",value:function(Vr){this.items.push(Vr),this.filterItem(Vr)&&this.$container.append(Vr.container)}}]),zr}(gr),Hr=function(){function mr(Lr,zr,Vr,Kr){(0,Ue.Z)(this,mr),this.container=bn()("div",{tabindex:"0"}),this.setting=Lr,this.container.settingItem=this,this.$container=hn()(this.container),this.$container.addClass(Lr.c("item")).addClass(Lr.c("item-".concat(Kr))),this.key=zr,this.value=Vr}return(0,qe.Z)(mr,[{key:"select",value:function(){this.$container.addClass(this.setting.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.setting.c("selected"))}},{key:"detach",value:function(){this.$container.remove()}},{key:"text",value:function(){return this.$container.text()}},{key:"onChange",value:function(Lr){this.setting.emit("change",this.key,Lr,this.value),this.value=Lr}}]),mr}(),Jr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr){var qr;return(0,Ue.Z)(this,zr),(qr=Lr.call(this,Vr,"","","title")).$container.text(Kr),qr}return(0,qe.Z)(zr)}(Hr),Gr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr){return(0,Ue.Z)(this,zr),Lr.call(this,Vr,"","","separator")}return(0,qe.Z)(zr)}(Hr),$r=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur,uo){var vo;(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,qr,"input");var _o=Vr.c;vo.$container.html('
    ').concat(wn()(Ur),`
    +
    ').concat(uo,`
    +
    + +
    `));var Ao=vo.$container.find("input");return Ao.val(qr),Ao.on("change",function(){return vo.onChange(Ao.val())}),vo}return(0,qe.Z)(zr)}(Hr),Br=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur,uo){var vo,_o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,qr,"number"),Tn()(_o,{min:0,max:10,step:1});var Ao=(0,Fe.Z)(vo).$container,ko=Vr.c,Do=!!_o.range;delete _o.range;var Ro=_o.min,Ko=_o.max,qo='");Do&&(qo="".concat(Ro,'
    +
    +
    +
    +
    +
    + `).concat(qo,` +
    ').concat(qr,"/").concat(Ko)),Ao.html('
    ').concat(wn()(Ur),`
    +
    ').concat(uo,`
    +
    ').concat(qo,"
    "));var To=Ao.find(ko(".value")),So=Ao.find("input"),yo=Ao.find(ko(".range-track-progress"));return So.val(In()(qr)),So.on("change",function(){var Zr=Nn()(So.val());vo.onChange(Zr)}),So.on("input",function(){var Zr=Nn()(So.val());yo.css("width",Tr(Zr,Ro,Ko)+"%"),To.text(In()(Zr))}),vo}return(0,qe.Z)(zr)}(Hr),Tr=function(mr,Lr,zr){return((mr-Lr)/(zr-Lr)*100).toFixed(2)},cr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur,uo){var vo;(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,qr,"checkbox");var _o=Vr.c,Ao=Cn()(Vr.c("checkbox-"));vo.$container.html('
    ').concat(wn()(Ur),`
    +
    + + +
    `));var ko=vo.$container.find("input"),Do=ko.get(0);return Do.checked=qr,ko.on("change",function(){return vo.onChange(Do.checked)}),vo}return(0,qe.Z)(zr)}(Hr),Sr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur,uo,vo){var _o;(0,Ue.Z)(this,zr),_o=Lr.call(this,Vr,Kr,qr,"select");var Ao=Vr.c;_o.$container.html('
    ').concat(wn()(Ur),`
    +
    ').concat(uo,`
    +
    +
    + +
    +
    `));var ko=_o.$container.find("select");return ko.on("change",function(){return _o.onChange(ko.val())}),_o}return(0,qe.Z)(zr)}(Hr),Dr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur){var uo;return(0,Ue.Z)(this,zr),qr||(qr=Kr,Kr=""),(uo=Lr.call(this,Vr,"","","button")).$container.html(Vr.c('
    '.concat(wn()(Kr),`
    +
    + +
    `))),uo.$container.find("button").on("click",Ur),uo}return(0,qe.Z)(zr)}(Hr);(function(mr,Lr){try{mr.exports=Lr,mr.exports.default=Lr}catch{}})(xe,Rr)},7638:function(xe,$e,Ie){Ie.d($e,{Z:function(){return or}});var Fe=Ie(168),Ue=Ie(5671),qe=Ie(3144),At=Ie(9340),Dt=Ie(2963),Lt=Ie(1120),jt=Ie(1443),hn=Ie.n(jt),vn=Ie(1512),bn=Ie.n(vn),_n=Ie(2461),wn=Ie.n(_n),kn=Ie(4331),Cn=Ie.n(kn),Sn=Ie(5610),xn=Ie.n(Sn),En=Ie(7483),Tn=Ie.n(En),An=Ie(3990),$n=Ie.n(An),Pn=Ie(6341),Nn=Ie.n(Pn),Mn=(Ie(3875),Ie(6954)),In=Ie.n(Mn);Ie(9585);function On(sr){var Kn="luna-".concat(sr,"-");function Zn(nr){return wn()(Cn()(nr).split(/\s+/),function(lr){return Nn()(lr,Kn)?lr:lr.replace(/[\w-]+/,function(ir){return"".concat(Kn).concat(ir)})}).join(" ")}return function(nr){if(/<[^>]*>/g.test(nr))try{var lr=Tn().parse(nr);return Rn(lr,function(ir){ir.attrs&&ir.attrs.class&&(ir.attrs.class=Zn(ir.attrs.class))}),Tn().stringify(lr)}catch{return Zn(nr)}return Zn(nr)}}function Rn(sr,Kn){for(var Zn=0,nr=sr.length;Zn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Zn,nr=(0,Lt.Z)(sr);if(Kn){var lr=(0,Lt.Z)(this).constructor;Zn=Reflect.construct(nr,arguments,lr)}else Zn=nr.apply(this,arguments);return(0,Dt.Z)(this,Zn)}}var er,rr=function(sr){(0,At.Z)(Zn,sr);var Kn=Xn(Zn);function Zn(nr,lr){var ir,kr=lr.compName,Cr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Er=Cr===void 0?"light":Cr;return(0,Ue.Z)(this,Zn),(ir=Kn.call(this)).subComponents=[],ir.compName=kr,ir.c=On(kr),ir.options={},ir.container=nr,ir.$container=bn()(nr),ir.$container.addClass(["luna-".concat(kr),ir.c("platform-".concat(Vn()))]),ir.on("optionChange",function(dr,br,_r){var Pr=ir.c;dr==="theme"&&(ir.$container.rmClass(Pr("theme-".concat(_r))).addClass(Pr("theme-".concat(br))),Dn()(ir.subComponents,function(gr){return gr.setOption("theme",br)}))}),ir.setOption("theme",Er),ir}return(0,qe.Z)(Zn,[{key:"destroy",value:function(){this.destroySubComponents();var nr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(nr("platform-".concat(Vn()))).rmClass(nr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(nr,lr){var ir=this,kr=this.options,Cr={};typeof nr=="string"?Cr[nr]=lr:Cr=nr,Dn()(Cr,function(Er,dr){var br=kr[dr];kr[dr]=Er,ir.emit("optionChange",dr,Er,br)})}},{key:"getOption",value:function(nr){return this.options[nr]}},{key:"addSubComponent",value:function(nr){nr.setOption("theme",this.options.theme),this.subComponents.push(nr)}},{key:"removeSubComponent",value:function(nr){Wn()(this.subComponents,function(lr){return lr===nr})}},{key:"destroySubComponents",value:function(){Dn()(this.subComponents,function(nr){return nr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(nr){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jn()(nr,lr),Fn()(this.options,nr)}},{key:"find",value:function(nr){return this.$container.find(this.c(nr))}}]),Zn}(hn()),Jn=Ie(1907),Yn=Ie.n(Jn),qn=Ie(8901),ar=Ie.n(qn);function tr(sr){var Kn=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Zn,nr=(0,Lt.Z)(sr);if(Kn){var lr=(0,Lt.Z)(this).constructor;Zn=Reflect.construct(nr,arguments,lr)}else Zn=nr.apply(this,arguments);return(0,Dt.Z)(this,Zn)}}xe=Ie.hmd(xe);var or=function(sr){(0,At.Z)(Zn,sr);var Kn=tr(Zn);function Zn(nr){var lr,ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,Zn),(lr=Kn.call(this,nr,{compName:"tab"},ir)).initOptions(ir,{height:30}),lr.initTpl(),lr.$tabs=lr.find(".tabs"),lr.tabs=lr.$tabs.get(0),lr.$slider=lr.find(".slider"),lr.bindEvent(),lr.updateHeight(),lr}return(0,qe.Z)(Zn,[{key:"length",get:function(){return this.$tabs.find(this.c(".item")).length}},{key:"insert",value:function(nr,lr){var ir=this.c,kr=this.$tabs,Cr=this.options.height-1,Er=kr.find(ir(".item")),dr=Er.length,br='
    ').concat(ar()(lr.title),"
    ");nr>dr-1?kr.append(br):Er.eq(nr).before(br),this.updateSlider()}},{key:"append",value:function(nr){this.insert(this.length,nr)}},{key:"remove",value:function(nr){var lr=this.c,ir=this;this.$tabs.find(lr(".item")).each(function(){var kr=bn()(this);if(kr.data("id")===nr){if(kr.hasClass(lr("selected")))if(ir.length>0){var Cr=ir.$tabs.find(lr(".item")).eq(0).data("id");ir.select(Cr)}else ir.emit("deselect");kr.remove()}}),this.updateSlider()}},{key:"select",value:function(nr){var lr=this.c,ir=this;this.$tabs.find(lr(".item")).each(function(){var kr=bn()(this);kr.data("id")===nr?(kr.addClass(lr("selected")),ir.updateSlider(),ir.scrollToSelected(),ir.emit("select",nr)):kr.rmClass(lr("selected"))})}},{key:"scrollToSelected",value:function(){var nr,lr=this.$tabs,ir=this.tabs,kr=this.c,Cr=lr.find(kr(".selected")).get(0),Er=Cr.offsetLeft,dr=Cr.offsetWidth,br=ir.offsetWidth,_r=ir.scrollLeft;Er<_r?nr=Er:Er+dr>br+_r&&(nr=Er+dr-br),$n()(nr)&&(ir.scrollLeft=nr)}},{key:"hideScrollbar",value:function(){var nr=this.$tabs;if(getComputedStyle(this.tabs,"::-webkit-scrollbar").display!=="none"){var lr=function(){if($n()(Bn))return Bn;if(!document)return 16;var ir=document.createElement("div"),kr=document.createElement("div");ir.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),kr.setAttribute("style","height: 200px"),ir.appendChild(kr);var Cr=document.body||document.documentElement;return Cr.appendChild(ir),Bn=ir.offsetWidth-ir.clientWidth,Cr.removeChild(ir),Bn}();nr.css("height",this.options.height-1+lr+"px")}}},{key:"updateSlider",value:function(){var nr=this.$slider,lr=this.$tabs,ir=this.c,kr=lr.find(ir(".selected")).get(0);kr?nr.css({width:kr.offsetWidth,left:kr.offsetLeft-lr.get(0).scrollLeft}):nr.css({width:0})}},{key:"updateHeight",value:function(){var nr=this.options.height,lr=nr-1;this.find(".tabs-container").css("height",nr+"px"),this.find(".item").css({height:lr,lineHeight:lr}),this.hideScrollbar()}},{key:"bindEvent",value:function(){var nr=this,lr=this.tabs,ir=this.c;this.on("optionChange",function(Cr){Cr==="height"&&nr.updateHeight()});var kr=this;this.$tabs.on("wheel",function(Cr){Cr.preventDefault(),lr.scrollLeft+=Cr.origEvent.deltaY}).on("click",ir(".item"),function(){var Cr=bn()(this);kr.select(Cr.data("id"))}).on("scroll",function(){nr.updateSlider()})}},{key:"initTpl",value:function(){this.$container.html(this.c(Yn()(er||(er=(0,Fe.Z)([` +
    +
    +
    +
    + `])))))}}]),Zn}(rr);(function(sr,Kn){try{sr.exports=Kn,sr.exports.default=Kn}catch{}})(xe,or)},7049:function(xe,$e,Ie){Ie.d($e,{Z:function(){return dr}});var Fe=Ie(5671),Ue=Ie(3144),qe=Ie(7326),At=Ie(1752),Dt=Ie(9340),Lt=Ie(2963),jt=Ie(1120),hn=Ie(1443),vn=Ie.n(hn),bn=Ie(1512),_n=Ie.n(bn),wn=Ie(2461),kn=Ie.n(wn),Cn=Ie(4331),Sn=Ie.n(Cn),xn=Ie(5610),En=Ie.n(xn),Tn=Ie(7483),An=Ie.n(Tn),$n=(Ie(3990),Ie(6341)),Pn=Ie.n($n),Nn=(Ie(3875),Ie(6954)),Mn=Ie.n(Nn);Ie(9585);function In(_r){var Pr="luna-".concat(_r,"-");function gr(xr){return kn()(Sn()(xr).split(/\s+/),function(Rr){return Pn()(Rr,Pr)?Rr:Rr.replace(/[\w-]+/,function(Hr){return"".concat(Pr).concat(Hr)})}).join(" ")}return function(xr){if(/<[^>]*>/g.test(xr))try{var Rr=An().parse(xr);return On(Rr,function(Hr){Hr.attrs&&Hr.attrs.class&&(Hr.attrs.class=gr(Hr.attrs.class))}),An().stringify(Rr)}catch{return gr(xr)}return gr(xr)}}function On(_r,Pr){for(var gr=0,xr=_r.length;gr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var gr,xr=(0,jt.Z)(_r);if(Pr){var Rr=(0,jt.Z)(this).constructor;gr=Reflect.construct(xr,arguments,Rr)}else gr=xr.apply(this,arguments);return(0,Lt.Z)(this,gr)}}var Xn=function(_r){(0,Dt.Z)(gr,_r);var Pr=Wn(gr);function gr(xr,Rr){var Hr,Jr=Rr.compName,Gr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,$r=Gr===void 0?"light":Gr;return(0,Fe.Z)(this,gr),(Hr=Pr.call(this)).subComponents=[],Hr.compName=Jr,Hr.c=In(Jr),Hr.options={},Hr.container=xr,Hr.$container=_n()(xr),Hr.$container.addClass(["luna-".concat(Jr),Hr.c("platform-".concat(Bn()))]),Hr.on("optionChange",function(Br,Tr,cr){var Sr=Hr.c;Br==="theme"&&(Hr.$container.rmClass(Sr("theme-".concat(cr))).addClass(Sr("theme-".concat(Tr))),Ln()(Hr.subComponents,function(Dr){return Dr.setOption("theme",Tr)}))}),Hr.setOption("theme",$r),Hr}return(0,Ue.Z)(gr,[{key:"destroy",value:function(){this.destroySubComponents();var xr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(xr("platform-".concat(Bn()))).rmClass(xr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(xr,Rr){var Hr=this,Jr=this.options,Gr={};typeof xr=="string"?Gr[xr]=Rr:Gr=xr,Ln()(Gr,function($r,Br){var Tr=Jr[Br];Jr[Br]=$r,Hr.emit("optionChange",Br,$r,Tr)})}},{key:"getOption",value:function(xr){return this.options[xr]}},{key:"addSubComponent",value:function(xr){xr.setOption("theme",this.options.theme),this.subComponents.push(xr)}},{key:"removeSubComponent",value:function(xr){Gn()(this.subComponents,function(Rr){return Rr===xr})}},{key:"destroySubComponents",value:function(){Ln()(this.subComponents,function(xr){return xr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(xr){var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};zn()(xr,Rr),Hn()(this.options,xr)}},{key:"find",value:function(xr){return this.$container.find(this.c(xr))}}]),gr}(vn()),er=Ie(9702),rr=Ie.n(er),Jn=Ie(8887),Yn=Ie.n(Jn),qn=Ie(2439),ar=Ie.n(qn),tr=Ie(6049),or=Ie.n(tr),sr=Ie(2327),Kn=Ie.n(sr),Zn=Ie(8901),nr=Ie.n(Zn),lr=Ie(7387),ir=Ie.n(lr),kr=Ie(6677),Cr=Ie.n(kr);function Er(_r){var Pr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var gr,xr=(0,jt.Z)(_r);if(Pr){var Rr=(0,jt.Z)(this).constructor;gr=Reflect.construct(xr,arguments,Rr)}else gr=xr.apply(this,arguments);return(0,Lt.Z)(this,gr)}}xe=Ie.hmd(xe);var dr=function(_r){(0,Dt.Z)(gr,_r);var Pr=Er(gr);function gr(xr){var Rr,Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Fe.Z)(this,gr),(Rr=Pr.call(this,xr,{compName:"text-viewer"},Hr)).lineNum=0,Rr.copy=function(){var Jr=(0,qe.Z)(Rr).c,Gr=Rr.options,$r=Gr.text,Br=Gr.escape;Kn()(Br?$r:ir()(Cr()($r)));var Tr=Rr.$copy.find(Jr(".icon"));Tr.addClass(Jr("icon-check")).rmClass(Jr("icon-copy")),setTimeout(function(){Tr.rmClass(Jr("icon-check")).addClass(Jr("icon-copy"))},1e3)},Rr._updateCopyPos=function(){var Jr=(0,qe.Z)(Rr).container;Rr.$copy.css({top:Jr.scrollTop+5,right:5-Jr.scrollLeft})},Rr.initOptions(Hr,{text:"",escape:!0,showLineNumbers:!0,wrapLongLines:!0,maxHeight:1/0}),Rr.render=ar()(function(){return Rr._render()},16),Rr.updateCopyPos=or()(function(){return Rr._updateCopyPos()},300),Rr.initTpl(),Rr.$text=Rr.find(".text"),Rr.$copy=Rr.find(".copy"),Rn&&Rr.$copy.css("opacity","1"),Rr.options.text&&Rr.render(),Rr.bindEvent(),Rr.updateHeight(),Rr}return(0,Ue.Z)(gr,[{key:"append",value:function(xr){var Rr=this,Hr=this.options,Jr=this.$copy,Gr=this.c,$r=this.$text,Br=Hr.showLineNumbers;if(this.options.text+=xr,!Br)return this.$text.append(Hr.escape?nr()(xr):xr);var Tr=function(Sr){return Sr.length===0?[]:Sr.split(br)}(xr);Yn()(Tr)&&(Tr=[" "]),Sn()(rr()(Tr))||Tr.pop();var cr="";Ln()(Tr,function(Sr,Dr){Rr.lineNum+=1,cr+='
    ').concat(Rr.lineNum,'
    ').concat(Hr.escape?nr()(Sr):Sr||" ","
    ")}),$r.find(Gr(".table")).append(cr),Jr.hide(),$r.offset().height>40&&Jr.show(),this.updateCopyPos()}},{key:"destroy",value:function(){this.$container.off("scroll",this.updateCopyPos),(0,At.Z)((0,jt.Z)(gr.prototype),"destroy",this).call(this)}},{key:"updateHeight",value:function(){var xr=this.options.maxHeight;xr>0&&xr!==1/0?this.$text.css("max-height",xr):this.$text.css("max-height","none")}},{key:"initTpl",value:function(){this.$container.html(this.c('
    '))}},{key:"bindEvent",value:function(){var xr=this;this.on("optionChange",function(Rr){Rr==="maxHeight"?xr.updateHeight():xr.render()}),this.$container.on("scroll",this.updateCopyPos),this.$copy.on("click",this.copy)}},{key:"_render",value:function(){var xr=this.c,Rr=this.$text,Hr=this.options,Jr=Hr.text,Gr=Hr.wrapLongLines,$r=Hr.showLineNumbers;Gr?Rr.addClass(xr("wrap-long-lines")):Rr.rmClass(xr("wrap-long-lines")),$r?Rr.addClass(xr("line-numbers")):Rr.rmClass(xr("line-numbers")),Rr.html('
    ')),this.lineNum=0,this.options.text="",this.append(Jr)}}]),gr}(Xn),br=/\r\n|\r|\n/g;(function(_r,Pr){try{_r.exports=Pr,_r.exports.default=Pr}catch{}})(xe,dr)},6672:function(xe,$e,Ie){Ie.d($e,{Z:function(){return js}});var Fe={};Ie.r(Fe),Ie.d(Fe,{classPrefix:function(){return yr},drag:function(){return Qr},escapeJsonStr:function(){return qo},evalCss:function(){return Or},eventClient:function(){return Ir},eventPage:function(){return Xr},getFileName:function(){return So},hasSafeArea:function(){return Ko},isChobitsuEl:function(){return Mr},isErudaEl:function(){return Zr},pxToNum:function(){return yo},safeStorage:function(){return To}});var Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(9340),Lt=Ie(2963),jt=Ie(1120),hn=Ie(4942),vn=Ie(1443),bn=Ie.n(vn),_n=new(bn());_n.ADD="ADD",_n.SHOW="SHOW",_n.SCALE="SCALE";var wn=_n,kn=Ie(1752),Cn=Ie(7496),Sn=Ie.n(Cn)()({init:function(wr){this._$el=wr},show:function(){return this._$el.show(),this},hide:function(){return this._$el.hide(),this},destroy:function(){this._$el.remove()}}),xn=Ie(1512),En=Ie.n(xn),Tn=Ie(125),An=Ie.n(Tn),$n=Ie(5229),Pn=Ie.n($n),Nn=Ie(3783),Mn=Ie.n(Nn),In=Ie(5972),On=Ie.n(In),Rn=Ie(6768),Bn=Ie.n(Rn),Vn=Ie(6341),Ln=Ie.n(Vn),Dn=Ie(4675),Hn=Ie.n(Dn),Fn=Ie(3367),zn=Ie.n(Fn),jn=Ie(2533),Gn=Ie.n(jn),Wn=Ie(7622),Xn=Ie.n(Wn),er=Ie(4193),rr=Ie.n(er),Jn=Ie(6329),Yn=Ie.n(Jn),qn=Ie(6472),ar=Ie.n(qn),tr=["background","foreground","selectForeground","accent","highlight","border","primary","contrast","varColor","stringColor","keywordColor","numberColor","operatorColor","linkColor","textColor","tagNameColor","functionColor","attributeNameColor","commentColor"],or=tr.length;function sr(wr){for(var vr={},pr=0;pr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var xr=function(wr){(0,Dt.Z)(pr,wr);var vr=gr(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=vr.call(this))._style=_r(Ie(8011)),Un.name="settings",Un._settings=[],Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._setting=new Pr.Z(Un.get(0)),this._bindEvent()}},{key:"remove",value:function(Un,Qn){var ur=this;if(Bn()(Un)){var Ar=this;this._$el.find(".luna-setting-item-title").each(function(){En()(this).text()===Un&&Ar._setting.remove(this.settingItem)})}else this._settings=On()(this._settings,function(Fr){return Fr.config!==Un||Fr.key!==Qn||(ur._setting.remove(Fr.item),!1)});return this._cleanSeparator(),this}},{key:"destroy",value:function(){this._setting.destroy(),(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style)}},{key:"clear",value:function(){this._settings=[],this._setting.clear()}},{key:"switch",value:function(Un,Qn,ur){var Ar=this._genId(),Fr=this._setting.appendCheckbox(Ar,!!Un.get(Qn),ur);return this._settings.push({config:Un,key:Qn,id:Ar,item:Fr}),this}},{key:"select",value:function(Un,Qn,ur,Ar){var Fr=this._genId(),Wr={};Mn()(Ar,function(io){return Wr[io]=io});var no=this._setting.appendSelect(Fr,Un.get(Qn),"",ur,Wr);return this._settings.push({config:Un,key:Qn,id:Fr,item:no}),this}},{key:"range",value:function(Un,Qn,ur,Ar){var Fr=Ar.min,Wr=Fr===void 0?0:Fr,no=Ar.max,io=no===void 0?1:no,Eo=Ar.step,Oo=Eo===void 0?.1:Eo,zo=this._genId(),Wo=this._setting.appendNumber(zo,Un.get(Qn),ur,{max:io,min:Wr,step:Oo,range:!0});return this._settings.push({config:Un,key:Qn,min:Wr,max:io,step:Oo,id:zo,item:Wo}),this}},{key:"button",value:function(Un,Qn){return this._setting.appendButton(Un,Qn),this}},{key:"separator",value:function(){return this._setting.appendSeparator(),this}},{key:"text",value:function(Un){return this._setting.appendTitle(Un),this}},{key:"_cleanSeparator",value:function(){var Un=Hn()(this._$el.get(0).children);function Qn(Fr){return Ln()(Fr.getAttribute("class"),"luna-setting-item-separator")}for(var ur=0,Ar=Un.length;ur0)return!0}return!1}function qo(wr){return cr()(wr).replace(/\\'/g,"'").replace(/\t/g,"\\t")}function To(wr,vr){var pr;switch(Dr()(vr)&&(vr=!0),wr){case"local":pr=window.localStorage;break;case"session":pr=window.sessionStorage}try{var Un="test-localStorage-"+Date.now();pr.setItem(Un,Un);var Qn=pr.getItem(Un);if(pr.removeItem(Un),Qn!==Un)throw new Error}catch{return vr?qr():void 0}return pr}function So(wr){var vr=Lr()(wr.split("/"));return vr===""&&(vr=(wr=new(Br())(wr)).hostname),vr}function yo(wr){return _o()(wr.replace("px",""))}function Zr(wr){for(;wr;){if(wr.id==="eruda")return!0;wr=wr.parentNode}return!1}function Mr(wr){for(;wr;){var vr="";if(wr.getAttribute&&(vr=wr.getAttribute("class")||""),Ln()(vr,"__chobitsu-hide__"))return!0;wr=wr.parentNode}return!1}var Or=_r;function yr(wr){if(/<[^>]*>/g.test(wr))try{var vr=Ro().parse(wr);return so(vr,function(pr){pr.attrs&&pr.attrs.class&&(pr.attrs.class=$o(pr.attrs.class))}),Ro().stringify(vr)}catch{return $o(wr)}return $o(wr)}function so(wr,vr){for(var pr=0,Un=wr.length;pr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var oo,co=En()(document),wo=function(wr){(0,Dt.Z)(pr,wr);var vr=to(pr);function pr(Un){var Qn;return(0,Ue.Z)(this,pr),Qn=vr.call(this),(0,hn.Z)((0,At.Z)(Qn),"_onDragStart",function(ur){var Ar=Qn._$el;Ar.addClass(yr("active")),Qn._isClick=!0,ur=ur.origEvent,Qn._startX=Ir("x",ur),Qn._oldX=yo(Ar.css("left")),Qn._oldY=yo(Ar.css("top")),Qn._startY=Ir("y",ur),co.on(Qr("move"),Qn._onDragMove),co.on(Qr("end"),Qn._onDragEnd)}),(0,hn.Z)((0,At.Z)(Qn),"_onDragMove",function(ur){var Ar=Qn._$el.get(0).offsetWidth,Fr=Qn._$container.get(0).offsetWidth,Wr=Qn._$container.get(0).offsetHeight,no=Ir("x",ur=ur.origEvent)-Qn._startX,io=Ir("y",ur)-Qn._startY;(Math.abs(no)>3||Math.abs(io)>3)&&(Qn._isClick=!1);var Eo=Qn._oldX+no,Oo=Qn._oldY+io;Eo<0?Eo=0:Eo>Fr-Ar&&(Eo=Fr-Ar),Oo<0?Oo=0:Oo>Wr-Ar&&(Oo=Wr-Ar),Qn._$el.css({left:Eo,top:Oo})}),(0,hn.Z)((0,At.Z)(Qn),"_onDragEnd",function(ur){var Ar=Qn._$el;Qn._isClick&&Qn.emit("click"),Qn._onDragMove(ur),co.off(Qr("move"),Qn._onDragMove),co.off(Qr("end"),Qn._onDragEnd);var Fr=Qn.config;Fr.get("rememberPos")&&Fr.set("pos",{x:yo(Ar.css("left")),y:yo(Ar.css("top"))}),Ar.rmClass("eruda-active")}),Qn._style=_r(Ie(9195)),Qn._$container=Un,Qn._initTpl(),Qn._bindEvent(),Qn._registerListener(),Qn}return(0,qe.Z)(pr,[{key:"hide",value:function(){this._$el.hide()}},{key:"show",value:function(){this._$el.show()}},{key:"setPos",value:function(Un){this._isOutOfRange(Un)&&(Un=this._getDefPos()),this._$el.css({left:Un.x,top:Un.y}),this.config.set("pos",Un)}},{key:"getPos",value:function(){return this.config.get("pos")}},{key:"destroy",value:function(){_r.remove(this._style),this._unregisterListener(),this._$el.remove()}},{key:"_isOutOfRange",value:function(Un){Un=Un||this.config.get("pos");var Qn=this._getDefPos();return Un.x>Qn.x+10||Un.x<0||Un.y<0||Un.y>Qn.y+10}},{key:"_registerListener",value:function(){var Un=this;this._scaleListener=function(){return Hr()(function(){Un._isOutOfRange()&&Un._resetPos()})},wn.on(wn.SCALE,this._scaleListener)}},{key:"_unregisterListener",value:function(){wn.off(wn.SCALE,this._scaleListener)}},{key:"_initTpl",value:function(){var Un=this._$container;Un.append(yr('
    ')),this._$el=Un.find(".eruda-entry-btn")}},{key:"_resetPos",value:function(Un){var Qn=this.config,ur=Qn.get("pos"),Ar=this._getDefPos();Qn.get("rememberPos")&&!Un||(ur=Ar),this.setPos(ur)}},{key:"_bindEvent",value:function(){var Un=this;this._$el.on(Qr("start"),this._onDragStart),Gr().on("change",function(){return Un._resetPos(!0)}),window.addEventListener("resize",function(){return Un._resetPos()})}},{key:"initCfg",value:function(Un){var Qn=this.config=xr.createCfg("entry-button",{rememberPos:!0,pos:this._getDefPos()});Un.switch(Qn,"rememberPos","Remember Entry Button Position"),this._resetPos()}},{key:"_getDefPos",value:function(){var Un=this._$el.get(0).offsetWidth+10;return{x:window.innerWidth-Un,y:window.innerHeight-Un}}}]),pr}(bn()),Co=Ie(4989),Po=oo=new(Ie.n(Co)())("[Eruda]","warn");oo.formatter=function(wr,vr){return vr.unshift(this.name),vr};var Vo=Ie(3990),Fo=Ie.n(Vo),jo=Ie(2520),Yo=Ie.n(jo),oa=Ie(6930),Qo=Ie.n(oa),aa=Ie(4270),ia=Ie.n(aa),Xo=Ie(6093),pa=Ie.n(Xo),ea=Ie(129),Sa=Ie(7638);function na(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var fa=function(wr){(0,Dt.Z)(pr,wr);var vr=na(pr);function pr(Un){var Qn,ur=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).defaults,Ar=ur===void 0?{}:ur;return(0,Ue.Z)(this,pr),Qn=vr.call(this),(0,hn.Z)((0,At.Z)(Qn),"_checkSafeArea",function(){var Fr=(0,At.Z)(Qn).$container;Ko()?Fr.addClass(yr("safe-area")):Fr.rmClass(yr("safe-area"))}),(0,hn.Z)((0,At.Z)(Qn),"_updateTabHeight",function(Fr){Qn._tab.setOption("height",40*Fr),Hr()(function(){Qn._tab.updateSlider()})}),Qn._defCfg=Yn()({transparency:1,displaySize:80,theme:Yo()()?"Dark":"Light"},Ar),Qn._style=_r(Ie(13)),Qn.$container=Un,Qn._isShow=!1,Qn._opacity=1,Qn._tools={},Qn._isResizing=!1,Qn._resizeTimer=null,Qn._resizeStartY=0,Qn._resizeStartSize=0,Qn._initTpl(),Qn._initTab(),Qn._initNotification(),Qn._initModal(),ia()(function(){return Qn._checkSafeArea()}),Qn._bindEvent(),Qn}return(0,qe.Z)(pr,[{key:"show",value:function(){var Un=this;return this._isShow=!0,this._$el.show(),this._tab.updateSlider(),setTimeout(function(){Un._$el.css("opacity",Un._opacity)},50),this.emit("show"),this}},{key:"hide",value:function(){var Un=this;return this._isShow=!1,this.emit("hide"),this._$el.css({opacity:0}),setTimeout(function(){return Un._$el.hide()},300),this}},{key:"toggle",value:function(){return this._isShow?this.hide():this.show()}},{key:"add",value:function(Un){var Qn=this._tab;if(!(Un instanceof Sn)){var ur=new Sn,Ar=ur.init,Fr=ur.show,Wr=ur.hide,no=ur.destroy;rr()(Un,{init:Ar,show:Fr,hide:Wr,destroy:no})}var io=Un.name;return io?(io=io.toLowerCase(),this._tools[io]?Po.warn("Tool ".concat(io," already exists")):(this._$tools.prepend('
    ')),Un.init(this._$tools.find(".".concat(yr(io),".").concat(yr("tool"))),this),Un.active=!1,this._tools[io]=Un,io==="settings"?Qn.append({id:io,title:io}):Qn.insert(Qn.length-1,{id:io,title:io}),this)):Po.error("You must specify a name for a tool")}},{key:"remove",value:function(Un){var Qn=this._tools;if(!Qn[Un])return Po.warn("Tool ".concat(Un," doesn't exist"));this._tab.remove(Un);var ur=Qn[Un];if(delete Qn[Un],ur.active){var Ar=Gn()(Qn);Ar.length>0&&this.showTool(Qn[Lr()(Ar)].name)}return ur.destroy(),this}},{key:"removeAll",value:function(){var Un=this;return Mn()(this._tools,function(Qn){return Un.remove(Qn.name)}),this}},{key:"get",value:function(Un){var Qn=this._tools[Un];if(Qn)return Qn}},{key:"showTool",value:function(Un){if(this._curTool===Un)return this;this._curTool=Un;var Qn=this._tools,ur=Qn[Un];if(ur){var Ar={};return Mn()(Qn,function(Fr){Fr.active&&(Ar=Fr,Fr.active=!1,Fr.hide())}),ur.active=!0,ur.show(),this._tab.select(Un),this.emit("showTool",Un,Ar),this}}},{key:"initCfg",value:function(Un){var Qn=this,ur=this.config=xr.createCfg("dev-tools",this._defCfg);this._setTransparency(ur.get("transparency")),this._setDisplaySize(ur.get("displaySize")),this._setTheme(ur.get("theme")),ur.on("change",function(Ar,Fr){switch(Ar){case"transparency":return Qn._setTransparency(Fr);case"displaySize":return Qn._setDisplaySize(Fr);case"theme":return Qn._setTheme(Fr)}}),Un.separator().select(ur,"theme","Theme",Gn()(_r.getThemes())).range(ur,"transparency","Transparency",{min:.2,max:1,step:.01}).range(ur,"displaySize","Display Size",{min:40,max:100,step:1}).button("Restore defaults and reload",function(){var Ar=To("local"),Fr=JSON.parse(JSON.stringify(Ar));Mn()(Fr,function(Wr,no){Bn()(Wr)&&Qo()(no,"eruda")&&Ar.removeItem(no)}),window.location.reload()}).separator()}},{key:"notify",value:function(Un,Qn){this._notification.notify(Un,Qn)}},{key:"destroy",value:function(){_r.remove(this._style),this.removeAll(),this._tab.destroy(),this._$el.remove(),window.removeEventListener("resize",this._checkSafeArea),wn.off(wn.SCALE,this._updateTabHeight)}},{key:"_setTheme",value:function(Un){var Qn=this.$container;(function(ur){return Ln()(nr,ur)})(Un)?Qn.addClass(yr("dark")):Qn.rmClass(yr("dark")),_r.setTheme(Un)}},{key:"_setTransparency",value:function(Un){Fo()(Un)&&(this._opacity=Un,this._isShow&&this._$el.css({opacity:Un}))}},{key:"_setDisplaySize",value:function(Un){Fo()(Un)&&this._$el.css({height:Un+"%"})}},{key:"_initTpl",value:function(){var Un=this.$container;Un.append(yr(` +
    +
    +
    +
    +
    + +
    + `)),this._$el=Un.find(yr(".dev-tools")),this._$tools=this._$el.find(yr(".tools"))}},{key:"_initTab",value:function(){var Un=this;this._tab=new Sa.Z(this._$el.find(yr(".tab")).get(0),{height:40}),this._tab.on("select",function(Qn){return Un.showTool(Qn)})}},{key:"_initNotification",value:function(){this._notification=new(pa())(this._$el.find(yr(".notification")).get(0),{position:{x:"center",y:"top"}})}},{key:"_initModal",value:function(){ea.Z.setContainer(this._$el.find(yr(".modal")).get(0))}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._$el.find(yr(".resizer")),ur=this._$el.find(yr(".nav-bar")),Ar=En()(document),Fr=function(no){if(Un._isResizing){no.preventDefault(),no.stopPropagation(),no=no.origEvent;var io=(Un._resizeStartY-Ir("y",no))/window.innerHeight*100,Eo=Un._resizeStartSize+io;Eo<40?Eo=40:Eo>100&&(Eo=100),Un.config.set("displaySize",_o()(Eo.toFixed(2)))}},Wr=function no(){clearTimeout(Un._resizeTimer),Un._isResizing=!1,Qn.css("height",10),Ar.off(Qr("move"),Fr),Ar.off(Qr("end"),no)};Qn.css("height",10),Qn.on(Qr("start"),function(no){no.preventDefault(),no.stopPropagation(),no=no.origEvent,Un._isResizing=!0,Un._resizeStartSize=Un.config.get("displaySize"),Un._resizeStartY=Ir("y",no),Qn.css("height","100%"),Ar.on(Qr("move"),Fr),Ar.on(Qr("end"),Wr)}),ur.on("contextmenu",function(no){return no.preventDefault()}),this.$container.on("click",function(no){return no.stopPropagation()}),window.addEventListener("resize",this._checkSafeArea),wn.on(wn.SCALE,this._updateTabHeight)}}]),pr}(bn()),ma=Ie(1214),$a=Ie.n(ma),Va=Ie(4777),ha=Ie.n(Va),Ga=Ie(1754),ai=Ie.n(Ga),ii=Ie(5484),za=Ie.n(ii),si=Ie(3023),Aa=Ie.n(si),li=Ie(9585),Ua=Ie.n(li),ci=Ie(6156),Ca=Ie.n(ci),di=Ie(8816);function Wa(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}za().start();var fi=function(wr){(0,Dt.Z)(pr,wr);var vr=Wa(pr);function pr(){var Un,Qn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).name,ur=Qn===void 0?"console":Qn;return(0,Ue.Z)(this,pr),Un=vr.call(this),(0,hn.Z)((0,At.Z)(Un),"_handleShow",function(){Ua()(Un._$el.get(0))||Un._logger.renderViewport()}),(0,hn.Z)((0,At.Z)(Un),"_handleErr",function(Ar){Un._logger.error(Ar)}),bn().mixin((0,At.Z)(Un)),Un.name=ur,Un._selectedLog=null,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._appendTpl(),this._initCfg(),this._initLogger(),this._exposeLogger(),this._bindEvent()}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._handleShow()}},{key:"overrideConsole",value:function(){var Un=this,Qn=this._origConsole={},ur=window.console;return Pa.forEach(function(Ar){var Fr=Qn[Ar]=$a();ur[Ar]&&(Fr=Qn[Ar]=ur[Ar].bind(ur)),ur[Ar]=function(){Un[Ar].apply(Un,arguments),Fr.apply(void 0,arguments)}}),this}},{key:"setGlobal",value:function(Un,Qn){this._logger.setGlobal(Un,Qn)}},{key:"restoreConsole",value:function(){var Un=this;return this._origConsole?(Pa.forEach(function(Qn){return window.console[Qn]=Un._origConsole[Qn]}),delete this._origConsole,this):this}},{key:"catchGlobalErr",value:function(){return za().addListener(this._handleErr),this}},{key:"ignoreGlobalErr",value:function(){return za().rmListener(this._handleErr),this}},{key:"filter",value:function(Un){var Qn=this._$filterText,ur=this._logger;Bn()(Un)?(Qn.text(Un),ur.setOption("filter",ko()(Un))):ai()(Un)?(Qn.text(zn()(Un)),ur.setOption("filter",Un)):ha()(Un)&&(Qn.text("ƒ"),ur.setOption("filter",Un))}},{key:"destroy",value:function(){this._logger.destroy(),(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),this._container.off("show",this._handleShow),this._style&&_r.remove(this._style),this.ignoreGlobalErr(),this.restoreConsole(),this._rmCfg()}},{key:"_enableJsExecution",value:function(Un){var Qn=this._$el,ur=Qn.find(yr(".js-input"));Un?(ur.show(),Qn.rmClass(yr("js-input-hidden"))):(ur.hide(),Qn.addClass(yr("js-input-hidden")))}},{key:"_appendTpl",value:function(){var Un=this._$el;this._style=_r(Ie(3191)),Un.append(yr(` +
    + + All + Info + Warning + Error + + + +
    +
    +
    +
    +
    Cancel
    +
    Execute
    +
    + + +
    + `));var Qn=Un.find(yr(".js-input")),ur=Qn.find("textarea"),Ar=Qn.find(yr(".buttons"));Yn()(this,{_$control:Un.find(yr(".control")),_$logs:Un.find(yr(".logs-container")),_$inputContainer:Qn,_$input:ur,_$inputBtns:Ar,_$filterText:Un.find(yr(".filter-text"))})}},{key:"_initLogger",value:function(){var Un=this.config,Qn=Un.get("maxLogNum");Qn=Qn==="infinite"?0:+Qn;var ur=this._$control.find(yr(".level")),Ar=new di.Z(this._$logs.get(0),{asyncRender:Un.get("asyncRender"),maxNum:Qn,showHeader:Un.get("displayExtraInfo"),unenumerable:Un.get("displayUnenumerable"),accessGetter:Un.get("displayGetterVal"),lazyEvaluation:Un.get("lazyEvaluation")});Ar.on("optionChange",function(Fr,Wr){Fr==="level"&&ur.each(function(){var no=En()(this),io=no.data("level");no[io===Wr||io==="all"&&ar()(Wr)?"addClass":"rmClass"](yr("active"))})}),Un.get("overrideConsole")&&this.overrideConsole(),this._logger=Ar}},{key:"_exposeLogger",value:function(){var Un=this,Qn=this._logger;["html"].concat(Pa).forEach(function(ur){return Un[ur]=function(){for(var Ar=arguments.length,Fr=new Array(Ar),Wr=0;Wr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var ki=function(wr){(0,Dt.Z)(pr,wr);var vr=wi(pr);function pr(Un,Qn){var ur;return(0,Ue.Z)(this,pr),ur=vr.call(this),(0,hn.Z)((0,At.Z)(ur),"_copyRes",function(){var Ar=ur._detailData,Fr="".concat(Ar.method," ").concat(Ar.url," ").concat(Ar.status,` +`);sa()(Ar.data)||(Fr+=` +Request Data + +`,Fr+="".concat(Ar.data,` +`)),sa()(Ar.reqHeaders)||(Fr+=` +Request Headers + +`,Mn()(Ar.reqHeaders,function(Wr,no){return Fr+="".concat(no,": ").concat(Wr,` +`)})),sa()(Ar.resHeaders)||(Fr+=` +Response Headers + +`,Mn()(Ar.resHeaders,function(Wr,no){return Fr+="".concat(no,": ").concat(Wr,` +`)})),Ar.resTxt&&(Fr+=` +`.concat(Ar.resTxt,` +`)),ya()(Fr),ur._devtools.notify("Copied")}),ur._$container=Un,ur._devtools=Qn,ur._detailData={},ur._bindEvent(),ur}return(0,qe.Z)(pr,[{key:"show",value:function(Un){Un.resTxt&&ko()(Un.resTxt)===""&&delete Un.resTxt,sa()(Un.resHeaders)&&delete Un.resHeaders,sa()(Un.reqHeaders)&&delete Un.reqHeaders;var Qn="";Un.data&&(Qn='
    ').concat(Bo()(Un.data),"
    "));var ur="Empty";Un.reqHeaders&&(ur=Vr()(Un.reqHeaders,function(io,Eo){return` + ').concat(Bo()(Eo),` + `).concat(Bo()(io),` + `)}).join(""));var Ar="Empty";Un.resHeaders&&(Ar=Vr()(Un.resHeaders,function(io,Eo){return` + ').concat(Bo()(Eo),` + `).concat(Bo()(io),` + `)}).join(""));var Fr="";if(Un.resTxt){var Wr=Un.resTxt;Wr.length>Ka&&(Wr=xa()(Wr,Ka)),Fr='
    ').concat(Bo()(Wr),"
    ")}var no='
    + + + ').concat(Bo()(Un.url),` + +
    +
    + `).concat(Qn,` +
    +

    Response Headers

    + + + `).concat(Ar,` + +
    +
    +
    +

    Request Headers

    + + + `).concat(ur,` + +
    +
    + `).concat(Fr,` +
    `);this._$container.html(no).show(),this._detailData=Un}},{key:"hide",value:function(){this._$container.hide(),this.emit("hide")}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._devtools;this._$container.on("click",yr(".back"),function(){return Un.hide()}).on("click",yr(".copy-res"),this._copyRes).on("click",yr(".http .response"),function(){var Ar=Un._detailData,Fr=Ar.resTxt;if(bi()(Fr))return ur("object",Fr);switch(Ar.subType){case"css":return ur("css",Fr);case"html":return ur("html",Fr);case"javascript":return ur("js",Fr);case"json":return ur("object",Fr)}return Ar.type==="image"?ur("img",Ar.url):void 0});var ur=function(Ar,Fr){var Wr=Qn.get("sources");Wr&&(Wr.set(Ar,Fr),Qn.showTool("sources"))}}}]),pr}(bn()),Ka=1e5,Si=Ie(2439),qa=Ie.n(Si),Ci=Ie(9143),xi=Ie.n(Ci),Ya=Ie(2139),Ei=Ie(8689),Fa=Ie(7935),go=Ie(9119);function No(wr,vr){var pr=Object.keys(wr);if(Object.getOwnPropertySymbols){var Un=Object.getOwnPropertySymbols(wr);vr&&(Un=Un.filter(function(Qn){return Object.getOwnPropertyDescriptor(wr,Qn).enumerable})),pr.push.apply(pr,Un)}return pr}function mo(wr){for(var vr=1;vr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Jo=function(wr){(0,Dt.Z)(pr,wr);var vr=Ho(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),Un=vr.call(this),(0,hn.Z)((0,At.Z)(Un),"_reqWillBeSent",function(Qn){if(Un._isRecording){var ur,Ar={name:So(Qn.request.url),url:Qn.request.url,status:"pending",type:"unknown",subType:"unknown",size:0,data:Qn.request.postData,method:Qn.request.method,startTime:1e3*Qn.timestamp,time:0,resTxt:"",done:!1,reqHeaders:Qn.request.headers||{},resHeaders:{}};Ar.render=function(){var Fr={name:Ar.name,method:Ar.method,status:Ar.status,type:Ar.subType,size:Ar.size,time:Ar.displayTime};ur?(ur.data=Fr,ur.render()):(ur=Un._requestDataGrid.append(Fr,{selectable:!0}),En()(ur.container).data("id",Qn.requestId)),Ar.hasErr&&En()(ur.container).addClass(yr("request-error"))},Ar.render(),Un._requests[Qn.requestId]=Ar}}),(0,hn.Z)((0,At.Z)(Un),"_resReceivedExtraInfo",function(Qn){var ur=Un._requests[Qn.requestId];Un._isRecording&&ur&&(ur.resHeaders=Qn.headers,Un._updateType(ur),ur.render())}),(0,hn.Z)((0,At.Z)(Un),"_resReceived",function(Qn){var ur=Un._requests[Qn.requestId];if(Un._isRecording&&ur){var Ar=Qn.response,Fr=Ar.status,Wr=Ar.headers;ur.status=Fr,(Fr<200||Fr>=300)&&(ur.hasErr=!0),Wr&&(ur.resHeaders=Wr,Un._updateType(ur)),ur.render()}}),(0,hn.Z)((0,At.Z)(Un),"_loadingFinished",function(Qn){var ur=Un._requests[Qn.requestId];if(Un._isRecording&&ur){var Ar=1e3*Qn.timestamp;ur.time=Ar-ur.startTime,ur.displayTime=hi()(ur.time),ur.size=Qn.encodedDataLength,ur.done=!0,ur.resTxt=fr.domain("Network").getResponseBody({requestId:Qn.requestId}).body,ur.render()}}),(0,hn.Z)((0,At.Z)(Un),"_copyCurl",function(){var Qn=Un._selectedRequest;ya()(function(ur){var Ar=bo()();Ar==="windows"&&(Ar="win");var Fr=[],Wr=Lo()(["accept-encoding","host","method","path","scheme","version"]),no=Ar==="win"?function(da){var ni=/[\r\n]/.test(da)?'^"':'"';return ni+da.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/[^a-zA-Z0-9\s_\-:=+~'\/.',?;()*`&]/g,"^$&").replace(/%(?=[a-zA-Z0-9_])/g,"%^").replace(/\r?\n/g,`^ + +`)+ni}:function(da){return/[\0-\x1F\x7F-\x9F!]|\'/.test(da)?"$'"+da.replace(/\\/g,"\\\\").replace(/\'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\0-\x1F\x7F-\x9F!]/g,function(ni){for(var ri=ni.charCodeAt(0).toString(16);ri.length<4;)ri="0"+ri;return"\\u"+ri})+"'":"'"+da+"'"};Fr.push(no(ur.url()).replace(/[[{}\]]/g,"\\$&"));var io="GET",Eo=[],Oo=ur.requestFormData();Oo&&(Eo.push("--data-raw "+no(Oo)),Wr["content-length"]=!0,io="POST"),ur.requestMethod!==io&&Fr.push("-X "+no(ur.requestMethod));for(var zo=ur.requestHeaders(),Wo=0;Wo=3?Ar==="win"?` ^ + `:` \\ + `:" ")}({requestMethod:Qn.method,url:function(){return Qn.url},requestFormData:function(){return Qn.data},requestHeaders:function(){var ur=Qn.reqHeaders||{};return Yn()(ur,{"User-Agent":navigator.userAgent,Referer:location.href}),Vr()(ur,function(Ar,Fr){return{name:Fr,value:Ar}})}})),Un._container.notify("Copied")}),(0,hn.Z)((0,At.Z)(Un),"_toggleRecording",function(){Un._$control.find(yr(".record")).toggleClass(yr("recording")),Un._isRecording=!Un._isRecording}),(0,hn.Z)((0,At.Z)(Un),"_showDetail",function(){Un._selectedRequest&&(Un._splitMode&&Un._$network.css("width","50%"),Un._detail.show(Un._selectedRequest))}),(0,hn.Z)((0,At.Z)(Un),"_updateScale",function(Qn){Un._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Qn,"px)"))}),Un._style=_r(Ie(3180)),Un.name="network",Un._requests={},Un._selectedRequest=null,Un._isRecording=!0,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._detail=new ki(this._$detail,Qn),this._splitMediaQuery=new(lo())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._requestDataGrid=new Nr.Z(this._$requests.get(0),{columns:[{id:"name",title:"Name",sortable:!0,weight:30},{id:"method",title:"Method",sortable:!0,weight:14},{id:"status",title:"Status",sortable:!0,weight:14},{id:"type",title:"Type",sortable:!0,weight:14},{id:"size",title:"Size",sortable:!0,weight:14},{id:"time",title:"Time",sortable:!0,weight:14}]}),this._resizeSensor=new(ao())(Un.get(0)),this._bindEvent()}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._updateDataGridHeight()}},{key:"clear",value:function(){this._requests={},this._requestDataGrid.clear()}},{key:"requests",value:function(){var Un=[];return Mn()(this._requests,function(Qn){Un.push(Qn)}),Un}},{key:"_updateDataGridHeight",value:function(){var Un=this._$el.offset().height-this._$control.offset().height;this._requestDataGrid.setOption({minHeight:Un,maxHeight:Un})}},{key:"_updateType",value:function(Un){var Qn=function(Fr){if(!Fr)return"unknown";var Wr=Fr.split(";")[0].split("/");return{type:Wr[0],subType:Lr()(Wr)}}(Un.resHeaders["content-type"]||""),ur=Qn.type,Ar=Qn.subType;Un.type=ur,Un.subType=Ar}},{key:"_updateButtons",value:function(){var Un=this._$control,Qn=Un.find(yr(".show-detail")),ur=Un.find(yr(".copy-curl")),Ar=yr("icon-disabled");Qn.addClass(Ar),ur.addClass(Ar),this._selectedRequest&&(Qn.rmClass(Ar),ur.rmClass(Ar))}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._$control,ur=this._$filterText,Ar=this._requestDataGrid,Fr=this;Qn.on("click",yr(".clear-request"),function(){return Un.clear()}).on("click",yr(".show-detail"),this._showDetail).on("click",yr(".copy-curl"),this._copyCurl).on("click",yr(".record"),this._toggleRecording).on("click",yr(".filter"),function(){ea.Z.prompt("Filter").then(function(no){Ca()(no)||(ur.text(no),Ar.setOption("filter",ko()(no)))})}),Ar.on("select",function(no){var io=En()(no.container).data("id"),Eo=Fr._requests[io];Un._selectedRequest=Eo,Un._updateButtons(),Un._splitMode&&Un._showDetail()}),Ar.on("deselect",function(){Un._selectedRequest=null,Un._updateButtons(),Un._detail.hide()}),this._resizeSensor.addListener(qa()(function(){return Un._updateDataGridHeight()},15)),this._splitMediaQuery.on("match",function(){Un._detail.hide(),Un._splitMode=!0}),this._splitMediaQuery.on("unmatch",function(){Un._detail.hide(),Un._splitMode=!1}),this._detail.on("hide",function(){Un._splitMode&&Un._$network.css("width","100%")}),fr.domain("Network").enable();var Wr=fr.domain("Network");Wr.on("requestWillBeSent",this._reqWillBeSent),Wr.on("responseReceivedExtraInfo",this._resReceivedExtraInfo),Wr.on("responseReceived",this._resReceived),Wr.on("loadingFinished",this._loadingFinished),wn.on(wn.SCALE,this._updateScale)}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),this._resizeSensor.destroy(),_r.remove(this._style),this._splitMediaQuery.removeAllListeners();var Un=fr.domain("Network");Un.off("requestWillBeSent",this._reqWillBeSent),Un.off("responseReceivedExtraInfo",this._resReceivedExtraInfo),Un.off("responseReceived",this._resReceived),Un.off("loadingFinished",this._loadingFinished),wn.off(wn.SCALE,this._updateScale)}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`
    +
    + + + + + + +
    +
    +
    +
    `)),this._$network=Un.find(yr(".network")),this._$detail=Un.find(yr(".detail")),this._$requests=Un.find(yr(".requests")),this._$control=Un.find(yr(".control")),this._$filterText=Un.find(yr(".filter-text"))}}]),pr}(Sn),Mo=Ie(9833),Go=Ie.n(Mo),ra=Ie(9956),ta=Ie.n(ra),Ea=Ie(8209),Na=Ie(3063),Ma=Ie.n(Na),ga=Ie(3487),la=Ie.n(ga),ua=Ie(42),va=Ie.n(ua),ba=Ie(4696),Ia=Ie.n(ba),Oa=Ie(7653),Ta=Ie.n(Oa),Ra=Ie(8613),Ha=Ie.n(Ra),wa=Ie(2289),Da=Ie.n(wa),ja=Ie(3629),Za=Ie.n(ja);function La(wr){for(var vr={},pr=0,Un=wr.length;prno?no:Wr,Eo=0;Eono?1:Wr(vr=Ni(vr))?1:wr1&&arguments[1]!==void 0?arguments[1]:{}).noAttr,pr=vr!==void 0&&vr;if(wr.nodeType===Node.TEXT_NODE)return'(text)');if(wr.nodeType===Node.COMMENT_NODE)return'');var Un=wr.id,Qn=wr.className,ur=wr.attributes,Ar=''.concat(wr.tagName.toLowerCase(),"");if(Un!==""&&(Ar+='#'.concat(Un,"")),Bn()(Qn)){var Fr="";Mn()(Qn.split(/\s+/g),function(Wr){Wr.trim()!==""&&(Fr+=".".concat(Wr))}),Ar+=''.concat(Fr,"")}return pr||Mn()(ur,function(Wr){var no=Wr.name;no!=="id"&&no!=="class"&&no!=="style"&&(Ar+=' '.concat(no,'="').concat(Wr.value,'"'))}),Ar}var Wi=function(){function wr(vr,pr){var Un=this;(0,Ue.Z)(this,wr),(0,hn.Z)(this,"hide",function(){Un._$container.hide(),Un._disableObserver(),fr.domain("Overlay").hideHighlight()}),this._$container=vr,this._devtools=pr,this._curEl=document.documentElement,this._bindEvent(),this._initObserver(),this._initCfg(),this._initTpl()}return(0,qe.Z)(wr,[{key:"show",value:function(vr){this._curEl=vr,this._rmDefComputedStyle=!0,this._computedStyleSearchKeyword="",this._enableObserver(),this._render();var pr=fr.domain("DOM").getNodeId({node:vr}).nodeId;fr.domain("Overlay").highlightNode({nodeId:pr,highlightConfig:{showInfo:!0,contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}})}},{key:"destroy",value:function(){this._disableObserver(),this.restoreEventTarget(),this._rmCfg()}},{key:"overrideEventTarget",value:function(){var vr=Di(),pr=this._origAddEvent=vr.addEventListener,Un=this._origRmEvent=vr.removeEventListener;vr.addEventListener=function(Qn,ur,Ar){(function(Fr,Wr,no){var io=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!(!Go()(Fr)||!ha()(no)||!Ia()(io))){var Eo=Fr.erudaEvents=Fr.erudaEvents||{};Eo[Wr]=Eo[Wr]||[],Eo[Wr].push({listener:no,listenerStr:no.toString(),useCapture:io})}})(this,Qn,ur,Ar),pr.apply(this,arguments)},vr.removeEventListener=function(Qn,ur,Ar){(function(Fr,Wr,no){var io=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!(!Go()(Fr)||!ha()(no)||!Ia()(io))){var Eo=Fr.erudaEvents;if(!(!Eo||!Eo[Wr])){for(var Oo=Eo[Wr],zo=0,Wo=Oo.length;zo + + + + +
    +
    +
    +
    +
    +
    `);vr.html(pr),this._$elementName=vr.find(yr(".element-name")),this._$attributes=vr.find(yr(".attributes")),this._$styles=vr.find(yr(".styles")),this._$listeners=vr.find(yr(".listeners")),this._$computedStyle=vr.find(yr(".computed-style"));var Un=Ha()("div");this._$boxModel=En()(Un),this._boxModel=new Ui.Z(Un)}},{key:"_toggleAllComputedStyle",value:function(){this._rmDefComputedStyle=!this._rmDefComputedStyle,this._render()}},{key:"_render",value:function(){var vr=this._getData(this._curEl),pr=this._$attributes,Un=this._$elementName,Qn=this._$styles,ur=this._$computedStyle,Ar=this._$listeners;Un.html(vr.name);var Fr="Empty";sa()(vr.attributes)||(Fr=Vr()(vr.attributes,function(zo){var Wo=zo.name,Zo=zo.value;return` + ').concat(Bo()(Wo),` + ').concat(Zo,` + `)}).join("")),Fr=`

    Attributes

    +
    + + + `).concat(Fr,` + +
    +
    `),pr.html(Fr);var Wr="";if(sa()(vr.styles))Qn.hide();else{var no=Vr()(vr.styles,function(zo){var Wo=zo.selectorText,Zo=zo.style;return Zo=Vr()(Zo,function(ca,da){return'
    ').concat(Bo()(da),": ").concat(ca,";
    ")}).join(""),'
    +
    `).concat(Bo()(Wo),` {
    + `).concat(Zo,` +
    }
    +
    `)}).join("");Wr=`

    Styles

    +
    + `).concat(no,` +
    `),Qn.html(Wr).show()}var io="";if(vr.computedStyle){var Eo=yr(`
    + +
    `);vr.rmDefComputedStyle&&(Eo=yr(`
    + +
    `)),io=`

    + Computed Style + `.concat(Eo,` +
    + +
    + `).concat(vr.computedStyleSearchKeyword?'
    ').concat(Bo()(vr.computedStyleSearchKeyword),"
    "):"",` +

    +
    +
    + + + `).concat(Vr()(vr.computedStyle,function(zo,Wo){return` + + + `)}).join(""),` + +
    ').concat(Bo()(Wo),``).concat(zo,`
    +
    `),ur.html(io).show(),this._boxModel.setOption("element",this._curEl),ur.find(yr(".box-model")).append(this._$boxModel.get(0))}else ur.text("").hide();var Oo="";vr.listeners?(Oo=Vr()(vr.listeners,function(zo,Wo){return zo=Vr()(zo,function(Zo){var ca=Zo.useCapture,da=Zo.listenerStr;return"
  • ").concat(Bo()(da),"
  • ")}).join(""),'
    +
    ').concat(Bo()(Wo),`
    +
      + `).concat(zo,` +
    +
    `)}).join(""),Oo=`

    Event Listeners

    +
    + `).concat(Oo,` +
    `),Ar.html(Oo).show()):Ar.hide(),this._$container.show()}},{key:"_getData",value:function(vr){var pr={},Un=new Xa(vr),Qn=vr.className,ur=vr.id,Ar=vr.attributes,Fr=vr.tagName;pr.computedStyleSearchKeyword=this._computedStyleSearchKeyword,pr.attributes=Ki(Ar),pr.name=Mi({tagName:Fr,id:ur,className:Qn,attributes:Ar});var Wr=vr.erudaEvents;if(Wr&&Gn()(Wr).length!==0&&(pr.listeners=Wr),Xi(Fr))return pr;var no=Un.getComputedStyle(),io=Un.getMatchedCSSRules();io.unshift(function(Oo){for(var zo={selectorText:"element.style",style:{}},Wo=0,Zo=Oo.length;Wo
    $&').replace(Yi,function(vr,pr){return'url("'.concat(Ri(pr),'")')})}var Zi=["script","style","meta","title","link","head"],Xi=function(wr){return Zi.indexOf(wr.toLowerCase())>-1},Ri=function(wr){return'').concat(wr,"")},Di=function(){return Ta()(window,"EventTarget.prototype")||window.Node.prototype};function Ji(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Qi=function(wr){(0,Dt.Z)(pr,wr);var vr=Ji(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),Un=vr.call(this),(0,hn.Z)((0,At.Z)(Un),"_showDetail",function(){Un._isShow&&Un._curNode&&(Un._curNode.nodeType===Node.ELEMENT_NODE?Un._detail.show(Un._curNode):Un._detail.show(Un._curNode.parentNode))}),(0,hn.Z)((0,At.Z)(Un),"_back",function(){if(Un._curNode!==Un._htmlEl){for(var Qn=Un._curParentQueue,ur=Qn.shift();!Li(ur);)ur=Qn.shift();Un.set(ur)}}),(0,hn.Z)((0,At.Z)(Un),"_updateScale",function(Qn){Un._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Qn,"px)"))}),(0,hn.Z)((0,At.Z)(Un),"_deleteNode",function(){var Qn=Un._curNode;Qn.parentNode&&Qn.parentNode.removeChild(Qn)}),(0,hn.Z)((0,At.Z)(Un),"_copyNode",function(){var Qn=Un._curNode;Qn.nodeType===Node.ELEMENT_NODE?ya()(Qn.outerHTML):ya()(Qn.nodeValue),Un._container.notify("Copied")}),(0,hn.Z)((0,At.Z)(Un),"_toggleSelect",function(){Un._$el.find(yr(".select")).toggleClass(yr("active")),Un._selectElement=!Un._selectElement,Un._selectElement?(fr.domain("Overlay").setInspectMode({mode:"searchForNode",highlightConfig:{showInfo:!ta()(),showRulers:!1,showAccessibilityInfo:!ta()(),showExtensionLines:!1,contrastAlgorithm:"aa",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}}),Un._container.hide()):(fr.domain("Overlay").setInspectMode({mode:"none"}),fr.domain("Overlay").hideHighlight())}),(0,hn.Z)((0,At.Z)(Un),"_inspectNodeRequested",function(Qn){var ur=Qn.backendNodeId;Un._container.show(),Un._toggleSelect();var Ar=fr.domain("DOM").getNode({nodeId:ur}).node;Un.select(Ar)}),(0,hn.Z)((0,At.Z)(Un),"_setNode",function(Qn){if(Qn!==Un._curNode){Un._curNode=Qn,Un._renderCrumbs();for(var ur=[],Ar=Qn.parentNode;Ar;)ur.push(Ar),Ar=Ar.parentNode;Un._curParentQueue=ur,Un._splitMode&&Un._showDetail(),Un._updateButtons(),Un._updateHistory()}}),Un._style=_r(Ie(5896)),Un.name="elements",Un._selectElement=!1,Un._observeElement=!0,Un._history=[],bn().mixin((0,At.Z)(Un)),Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){var ur=this;(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._htmlEl=document.documentElement,this._detail=new Wi(this._$detail,Qn),this.config=this._detail.config,this._splitMediaQuery=new(lo())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._domViewer=new Ea.Z(this._$domViewer.get(0),{node:this._htmlEl,ignore:function(Ar){return Zr(Ar)||Mr(Ar)}}),this._domViewer.expand(),this._bindEvent(),fr.domain("Overlay").enable(),Hr()(function(){return ur._updateHistory()})}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._isShow=!0,this._curNode?this._splitMode&&this._showDetail():this.select(document.body)}},{key:"hide",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"hide",this).call(this),this._isShow=!1,fr.domain("Overlay").hideHighlight()}},{key:"set",value:function(Un){return this.select(Un)}},{key:"select",value:function(Un){return this._domViewer.select(Un),this._setNode(Un),this.emit("change",Un),this}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),wn.off(wn.SCALE,this._updateScale),_r.remove(this._style),this._detail.destroy(),fr.domain("Overlay").off("inspectNodeRequested",this._inspectNodeRequested),fr.domain("Overlay").disable(),this._splitMediaQuery.removeAllListeners()}},{key:"_updateButtons",value:function(){var Un=this._$control,Qn=Un.find(yr(".show-detail")),ur=Un.find(yr(".copy-node")),Ar=Un.find(yr(".delete-node")),Fr=yr("icon-disabled");Qn.addClass(Fr),ur.addClass(Fr),Ar.addClass(Fr);var Wr=this._curNode;Wr&&(Wr!==document.documentElement&&Wr!==document.body&&Ar.rmClass(Fr),ur.rmClass(Fr),Wr.nodeType===Node.ELEMENT_NODE&&Qn.rmClass(Fr))}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`
    +
    + + + + +
    +
    +
    +
    +
    +
    +
    `)),this._$detail=Un.find(yr(".detail")),this._$domViewer=Un.find(yr(".dom-viewer")),this._$control=Un.find(yr(".control")),this._$crumbs=Un.find(yr(".crumbs"))}},{key:"_renderCrumbs",value:function(){var Un=function(ur){for(var Ar=[],Fr=0;ur;)Ar.push({text:Mi(ur,{noAttr:!0}),idx:Fr++}),ur=ur.parentElement;return Ar.reverse()}(this._curNode),Qn="";sa()(Un)||(Qn=Vr()(Un,function(ur){var Ar=ur.text,Fr=ur.idx;return'
  • ').concat(Ar,"
  • ")}).join("")),this._$crumbs.html(Qn)}},{key:"_bindEvent",value:function(){var Un=this,Qn=this;this._$el.on("click",yr(".crumb"),function(){for(var ur=_o()(En()(this).data("idx")),Ar=Qn._curNode;ur--&&Ar.parentElement;)Ar=Ar.parentElement;Li(Ar)&&Qn.select(Ar)}),this._$control.on("click",yr(".select"),this._toggleSelect).on("click",yr(".show-detail"),this._showDetail).on("click",yr(".copy-node"),this._copyNode).on("click",yr(".delete-node"),this._deleteNode),this._domViewer.on("select",this._setNode).on("deselect",this._back),fr.domain("Overlay").on("inspectNodeRequested",this._inspectNodeRequested),this._splitMediaQuery.on("match",function(){Un._splitMode=!0,Un._showDetail()}),this._splitMediaQuery.on("unmatch",function(){Un._splitMode=!1,Un._detail.hide()}),wn.on(wn.SCALE,this._updateScale)}},{key:"_updateHistory",value:function(){var Un=this._container.get("console");if(Un){var Qn=this._history;Qn.unshift(this._curNode),Qn.length>5&&Qn.pop();for(var ur=0;ur<5;ur++)Un.setGlobal("$".concat(ur),Qn[ur])}}}]),pr}(Sn),Li=function(wr){return Go()(wr)&&wr.parentNode},ts=Ie(8847),ns=Ie.n(ts),rs=Ie(9622),os=Ie.n(rs),Ja=null,as=[{name:"Border All",fn:function(){if(Ja)return _r.remove(Ja),void(Ja=null);Ja=_r("* { outline: 2px dashed #707d8b; outline-offset: -3px; }",document.head)},desc:"Add color borders to all elements"},{name:"Refresh Page",fn:function(){var wr=new(Br());wr.setQuery("timestamp",ns()()),window.location.replace(wr.toString())},desc:"Add timestamp to url and refresh"},{name:"Search Text",fn:function(){ea.Z.prompt("Enter the text").then(function(wr){wr&&ko()(wr)!==""&&function(vr){var pr=document.body,Un=new RegExp(vr,"ig");$i(pr,function(Qn){var ur=En()(Qn);if(ur.hasClass("eruda-search-highlight-block"))return document.createTextNode(ur.text())}),$i(pr,function(Qn){if(Qn.nodeType===3){var ur=Qn.nodeValue;if((ur=ur.replace(Un,function(Fr){return''.concat(Fr,"")}))!==Qn.nodeValue){var Ar=En()(document.createElement("div"));return Ar.html(ur),Ar.addClass("eruda-search-highlight-block"),Ar.get(0)}}})}(wr)})},desc:"Highlight given text on page"},{name:"Edit Page",fn:function(){var wr=document.body;wr.contentEditable=wr.contentEditable!=="true"},desc:"Toggle body contentEditable"},{name:"Fit Screen",fn:function(){var wr=document.body,vr=document.documentElement,pr=En()(wr);if(pr.data("scaled"))window.scrollTo(0,+pr.data("scaled")),pr.rmAttr("data-scaled"),pr.css("transform","none");else{var Un=Math.max(wr.scrollHeight,wr.offsetHeight,vr.clientHeight,vr.scrollHeight,vr.offsetHeight),Qn=Math.max(document.documentElement.clientHeight,window.innerHeight||0),ur=Qn/Un;pr.css("transform","scale(".concat(ur,")")),pr.data("scaled",window.scrollY),window.scrollTo(0,Un/2-Qn/2)}},desc:"Scale down the whole page to fit screen"},{name:"Load Monitor Plugin",fn:function(){ka("monitor")},desc:"Display page fps and memory"},{name:"Load Features Plugin",fn:function(){ka("features")},desc:"Browser feature detections"},{name:"Load Timing Plugin",fn:function(){ka("timing")},desc:"Show performance and resource timing"},{name:"Load Code Plugin",fn:function(){ka("code")},desc:"Edit and run JavaScript"},{name:"Load Benchmark Plugin",fn:function(){ka("benchmark")},desc:"Run JavaScript benchmarks"},{name:"Load Geolocation Plugin",fn:function(){ka("geolocation")},desc:"Test geolocation"},{name:"Load Orientation Plugin",fn:function(){ka("orientation")},desc:"Test orientation api"},{name:"Load Touches Plugin",fn:function(){ka("touches")},desc:"Visualize screen touches"}];function $i(wr,vr){var pr=wr.childNodes;if(!Zr(wr)){for(var Un=0,Qn=pr.length;Un"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var ds=function(wr){(0,Dt.Z)(pr,wr);var vr=cs(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=vr.call(this))._style=_r(Ie(5571)),Un.name="snippets",Un._snippets=[],Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._bindEvent(),this._addDefSnippets()}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style)}},{key:"add",value:function(Un,Qn,ur){return this._snippets.push({name:Un,fn:Qn,desc:ur}),this._render(),this}},{key:"remove",value:function(Un){return us()(this._snippets,function(Qn){return Qn.name===Un}),this._render(),this}},{key:"run",value:function(Un){for(var Qn=this._snippets,ur=0,Ar=Qn.length;ur +

    ').concat(Bo()(Qn.name),` +
    + +
    +

    +
    + `).concat(Bo()(Qn.desc),` +
    + `)}).join("");this._renderHtml(Un)}},{key:"_renderHtml",value:function(Un){Un!==this._lastHtml&&(this._lastHtml=Un,this._$el.html(Un))}}]),pr}(Sn),fs=Ie(4224),ps=Ie.n(fs),hs=Ie(8991),Bi=Ie.n(hs),ms=Ie(1352),Ai=Ie.n(ms),gs=Ie(8099),vs=Ie.n(gs),Vi=function(){function wr(vr,pr,Un,Qn){var ur=this;(0,Ue.Z)(this,wr),(0,hn.Z)(this,"_updateGridHeight",function(Ar){ur._dataGrid.setOption({minHeight:60*Ar,maxHeight:223*Ar})}),this._type=Qn,this._$container=vr,this._devtools=pr,this._resources=Un,this._selectedItem=null,this._storeData=[],this._initTpl(),this._dataGrid=new Nr.Z(this._$dataGrid.get(0),{columns:[{id:"key",title:"Key",weight:30},{id:"value",title:"Value",weight:90}],minHeight:60,maxHeight:223}),this._bindEvent()}return(0,qe.Z)(wr,[{key:"destroy",value:function(){wn.off(wn.SCALE,this._updateGridHeight)}},{key:"refresh",value:function(){var vr=this._dataGrid;this._refreshStorage(),vr.clear(),Mn()(this._storeData,function(pr){var Un=pr.key,Qn=pr.val;vr.append({key:Un,value:Qn},{selectable:!0})})}},{key:"_refreshStorage",value:function(){var vr=this._resources,pr=To(this._type,!1);if(pr){var Un=[];pr=JSON.parse(JSON.stringify(pr)),Mn()(pr,function(Qn,ur){Bn()(Qn)&&(vr.config.get("hideErudaSetting")&&(Qo()(ur,"eruda")||ur==="active-eruda")||Un.push({key:ur,val:xa()(Qn,200)}))}),this._storeData=Un}}},{key:"_updateButtons",value:function(){var vr=this._$container,pr=vr.find(yr(".show-detail")),Un=vr.find(yr(".delete-storage")),Qn=vr.find(yr(".copy-storage")),ur=yr("btn-disabled");pr.addClass(ur),Un.addClass(ur),Qn.addClass(ur),this._selectedItem&&(pr.rmClass(ur),Un.rmClass(ur),Qn.rmClass(ur))}},{key:"_initTpl",value:function(){var vr=this._$container,pr=this._type;vr.html(yr(`

    + `.concat(pr==="local"?"Local":"Session",` Storage +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +

    +
    `))),this._$dataGrid=vr.find(yr(".data-grid")),this._$filterText=vr.find(yr(".filter-text"))}},{key:"_getVal",value:function(vr){return this._type==="local"?localStorage.getItem(vr):sessionStorage.getItem(vr)}},{key:"_bindEvent",value:function(){var vr=this,pr=this._type,Un=this._devtools;function Qn(ur,Ar){var Fr=Un.get("sources");if(Fr)return Fr.set(ur,Ar),Un.showTool("sources"),!0}this._$container.on("click",yr(".refresh-storage"),function(){Un.notify("Refreshed"),vr.refresh()}).on("click",yr(".clear-storage"),function(){Mn()(vr._storeData,function(ur){pr==="local"?localStorage.removeItem(ur.key):sessionStorage.removeItem(ur.key)}),vr.refresh()}).on("click",yr(".show-detail"),function(){var ur=vr._selectedItem,Ar=vr._getVal(ur);try{Qn("object",JSON.parse(Ar))}catch{Qn("raw",Ar)}}).on("click",yr(".copy-storage"),function(){var ur=vr._selectedItem;ya()(vr._getVal(ur)),Un.notify("Copied")}).on("click",yr(".filter"),function(){ea.Z.prompt("Filter").then(function(ur){Ca()(ur)||(ur=ko()(ur),vr._$filterText.text(ur),vr._dataGrid.setOption("filter",ur))})}).on("click",yr(".delete-storage"),function(){var ur=vr._selectedItem;pr==="local"?localStorage.removeItem(ur):sessionStorage.removeItem(ur),vr.refresh()}),this._dataGrid.on("select",function(ur){vr._selectedItem=ur.data.key,vr._updateButtons()}).on("deselect",function(){vr._selectedItem=null,vr._updateButtons()}),wn.on(wn.SCALE,this._updateGridHeight)}}]),wr}();function Qa(wr,vr){wr.rmClass(yr("ok")).rmClass(yr("danger")).rmClass(yr("warn")).addClass(yr(vr))}function ei(wr,vr){if(vr===0)return"";var pr=0,Un=0;switch(wr){case"cookie":pr=30,Un=60;break;case"script":pr=5,Un=10;break;case"stylesheet":pr=4,Un=8;break;case"image":pr=50,Un=100}return vr>=Un?"danger":vr>=pr?"warn":"ok"}var ys=function(){function wr(vr,pr){(0,Ue.Z)(this,wr),this._$container=vr,this._devtools=pr,this._selectedItem=null,this._initTpl(),this._dataGrid=new Nr.Z(this._$dataGrid.get(0),{columns:[{id:"key",title:"Key",weight:30},{id:"value",title:"Value",weight:90}],minHeight:60,maxHeight:223}),this._bindEvent()}return(0,qe.Z)(wr,[{key:"refresh",value:function(){var vr=this._$container,pr=this._dataGrid,Un=fr.domain("Network").getCookies().cookies,Qn=Vr()(Un,function(ur){return{key:ur.name,val:ur.value}});pr.clear(),Mn()(Qn,function(ur){var Ar=ur.key,Fr=ur.val;pr.append({key:Ar,value:Fr},{selectable:!0})}),Qa(vr,ei("cookie",Qn.length))}},{key:"_initTpl",value:function(){var vr=this._$container;vr.html(yr(`

    + Cookie + +
    + +
    + + + +
    + +
    +
    +

    +
    `)),this._$dataGrid=vr.find(yr(".data-grid")),this._$filterText=vr.find(yr(".filter-text"))}},{key:"_updateButtons",value:function(){var vr=this._$container,pr=vr.find(yr(".show-detail")),Un=vr.find(yr(".delete-cookie")),Qn=vr.find(yr(".copy-cookie")),ur=yr("btn-disabled");pr.addClass(ur),Un.addClass(ur),Qn.addClass(ur),this._selectedItem&&(pr.rmClass(ur),Un.rmClass(ur),Qn.rmClass(ur))}},{key:"_getVal",value:function(vr){for(var pr=fr.domain("Network").getCookies().cookies,Un=0,Qn=pr.length;Un=wr.length?{done:!0}:{done:!1,value:wr[Un++]}},e:function(Wr){throw Wr},f:Qn}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ur,Ar=!0,Fr=!1;return{s:function(){pr=pr.call(wr)},n:function(){var Wr=pr.next();return Ar=Wr.done,Wr},e:function(Wr){Fr=!0,ur=Wr},f:function(){try{Ar||pr.return==null||pr.return()}finally{if(Fr)throw ur}}}}function zi(wr,vr){(vr==null||vr>wr.length)&&(vr=wr.length);for(var pr=0,Un=new Array(vr);pr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var ks=function(wr){(0,Dt.Z)(pr,wr);var vr=ws(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=vr.call(this))._style=_r(Ie(2488)),Un.name="resources",Un._hideErudaSetting=!1,Un._observeElement=!0,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._localStorage=new Vi(this._$localStorage,Qn,this,"local"),this._sessionStorage=new Vi(this._$sessionStorage,Qn,this,"session"),this._cookie=new ys(this._$cookie,Qn),this._bindEvent(),this._initObserver(),this._initCfg()}},{key:"refresh",value:function(){return this.refreshLocalStorage().refreshSessionStorage().refreshCookie().refreshScript().refreshStylesheet().refreshIframe().refreshImage()}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),this._localStorage.destroy(),this._sessionStorage.destroy(),this._disableObserver(),_r.remove(this._style),this._rmCfg()}},{key:"refreshScript",value:function(){var Un=[];En()("script").each(function(){var Wr=this.src;Wr!==""&&Un.push(Wr)});var Qn=ei("script",(Un=va()(Un)).length),ur="
  • Empty
  • ";sa()(Un)||(ur=Vr()(Un,function(Wr){return Wr=Bo()(Wr),'
  • ').concat(Wr,"
  • ")}).join(""));var Ar='

    + Script +
    + +
    +

    +
      + `).concat(ur,` +
    `),Fr=this._$script;return Qa(Fr,Qn),Fr.html(Ar),this}},{key:"refreshStylesheet",value:function(){var Un=[];En()("link").each(function(){this.rel==="stylesheet"&&Un.push(this.href)});var Qn=ei("stylesheet",(Un=va()(Un)).length),ur="
  • Empty
  • ";sa()(Un)||(ur=Vr()(Un,function(Wr){return Wr=Bo()(Wr),'
  • ').concat(Wr,"
  • ")}).join(""));var Ar='

    + Stylesheet +
    + +
    +

    +
      + `).concat(ur,` +
    `),Fr=this._$stylesheet;return Qa(Fr,Qn),Fr.html(Ar),this}},{key:"refreshIframe",value:function(){var Un=[];En()("iframe").each(function(){var Ar=En()(this).attr("src");Ar&&Un.push(Ar)}),Un=va()(Un);var Qn="
  • Empty
  • ";sa()(Un)||(Qn=Vr()(Un,function(Ar){return Ar=Bo()(Ar),'
  • ').concat(Ar,"
  • ")}).join(""));var ur='

    + Iframe +
    + +
    +

    +
      + `).concat(Qn,` +
    `);return this._$iframe.html(ur),this}},{key:"refreshLocalStorage",value:function(){return this._localStorage.refresh(),this}},{key:"refreshSessionStorage",value:function(){return this._sessionStorage.refresh(),this}},{key:"refreshCookie",value:function(){return this._cookie.refresh(),this}},{key:"refreshImage",value:function(){var Un=[],Qn=this._performance=window.webkitPerformance||window.performance;Qn&&Qn.getEntries?this._performance.getEntries().forEach(function(no){if(no.initiatorType==="img"||Cs(no.name)){if(Ln()(no.name,"exclude=true"))return;Un.push(no.name)}}):En()("img").each(function(){var no=En()(this),io=no.attr("src");no.data("exclude")!=="true"&&Un.push(io)}),(Un=va()(Un)).sort();var ur=ei("image",Un.length),Ar="
  • Empty
  • ";sa()(Un)||(Ar=Vr()(Un,function(no){return'
  • + +
  • `)}).join(""));var Fr='

    + Image +
    + +
    +

    +
      + `).concat(Ar,` +
    `),Wr=this._$image;return Qa(Wr,ur),Wr.html(Fr),this}},{key:"show",value:function(){return(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._observeElement&&this._enableObserver(),this.refresh()}},{key:"hide",value:function(){return this._disableObserver(),(0,kn.Z)((0,jt.Z)(pr.prototype),"hide",this).call(this)}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`
    +
    + +
    +
    +
    +
    `)),this._$localStorage=Un.find(yr(".local-storage")),this._$sessionStorage=Un.find(yr(".session-storage")),this._$cookie=Un.find(yr(".cookie")),this._$script=Un.find(yr(".script")),this._$stylesheet=Un.find(yr(".stylesheet")),this._$iframe=Un.find(yr(".iframe")),this._$image=Un.find(yr(".image"))}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._$el,ur=this._container;function Ar(Wr,no){var io=ur.get("sources");if(io)return io.set(Wr,no),ur.showTool("sources"),!0}function Fr(Wr){return function(no){if(ur.get("sources")){no.preventDefault();var io=En()(this).attr("href");Wr!=="iframe"&&ps()(location.href,io)?Bi()({url:io,success:function(Eo){Ar(Wr,Eo)},dataType:"raw"}):Ar("iframe",io)}}}Qn.on("click",".eruda-refresh-script",function(){ur.notify("Refreshed"),Un.refreshScript()}).on("click",".eruda-refresh-stylesheet",function(){ur.notify("Refreshed"),Un.refreshStylesheet()}).on("click",".eruda-refresh-iframe",function(){ur.notify("Refreshed"),Un.refreshIframe()}).on("click",".eruda-refresh-image",function(){ur.notify("Refreshed"),Un.refreshImage()}).on("click",".eruda-img-link",function(){Ar("img",En()(this).attr("src"))}).on("click",".eruda-css-link",Fr("css")).on("click",".eruda-js-link",Fr("js")).on("click",".eruda-iframe-link",Fr("iframe"))}},{key:"_rmCfg",value:function(){var Un=this.config,Qn=this._container.get("settings");Qn&&Qn.remove(Un,"hideErudaSetting").remove(Un,"observeElement").remove("Resources")}},{key:"_initCfg",value:function(){var Un=this,Qn=this.config=xr.createCfg("resources",{hideErudaSetting:!0,observeElement:!0});Qn.get("hideErudaSetting")&&(this._hideErudaSetting=!0),Qn.get("observeElement")||(this._observeElement=!1),Qn.on("change",function(ur,Ar){switch(ur){case"hideErudaSetting":return void(Un._hideErudaSetting=Ar);case"observeElement":return Un._observeElement=Ar,Ar?Un._enableObserver():Un._disableObserver()}}),this._container.get("settings").text("Resources").switch(Qn,"hideErudaSetting","Hide Eruda Setting").switch(Qn,"observeElement","Auto Refresh Elements").separator()}},{key:"_initObserver",value:function(){var Un=this;this._observer=new(Da())(function(Qn){Mn()(Qn,function(ur){Un._handleMutation(ur)})})}},{key:"_handleMutation",value:function(Un){var Qn=this;if(!Zr(Un.target)){var ur=function(no){var io=function(Eo){return Eo.tagName?Eo.tagName.toLowerCase():""}(no);switch(io){case"script":Qn.refreshScript();break;case"img":Qn.refreshImage();break;case"link":Qn.refreshStylesheet()}};if(Un.type==="attributes")ur(Un.target);else if(Un.type==="childList"){ur(Un.target);var Ar,Fr=Ai()(Un.addedNodes),Wr=_s(Fr=vs()(Fr,Ai()(Un.removedNodes)));try{for(Wr.s();!(Ar=Wr.n()).done;)ur(Ar.value)}catch(no){Wr.e(no)}finally{Wr.f()}}}}},{key:"_enableObserver",value:function(){this._observer.observe(document.documentElement,{attributes:!0,childList:!0,subtree:!0})}},{key:"_disableObserver",value:function(){this._observer.disconnect()}}]),pr}(Sn),Ss=/\.(jpeg|jpg|gif|png)$/,Cs=function(wr){return Ss.test(wr)},xs=Ie(4541),Fi=Ie.n(xs),Hi=Fi()(),Es=[{name:"Location",val:function(){return Bo()(location.href)}},{name:"User Agent",val:navigator.userAgent},{name:"Device",val:["",'"),""),""),"
    screen'.concat(screen.width," * ").concat(screen.height,"
    viewport".concat(window.innerWidth," * ").concat(window.innerHeight,"
    pixel ratio".concat(window.devicePixelRatio,"
    "].join("")},{name:"System",val:["",'"),""),"
    os'.concat(bo()(),"
    browser".concat(Hi.name+" "+Hi.version,"
    "].join("")},{name:"About",val:'Eruda v3.0.1'},{name:"Backers",val:function(){return'')}}],Ts=Ie(550),$s=Ie.n(Ts);function As(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Ps=function(wr){(0,Dt.Z)(pr,wr);var vr=As(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=vr.call(this))._style=_r(Ie(879)),Un.name="info",Un._infos=[],Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._addDefInfo(),this._bindEvent()}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style)}},{key:"add",value:function(Un,Qn){var ur=this._infos,Ar=!1;return Mn()(ur,function(Fr){Un===Fr.name&&(Fr.val=Qn,Ar=!0)}),Ar||ur.push({name:Un,val:Qn}),this._render(),this}},{key:"get",value:function(Un){var Qn,ur=this._infos;return Dr()(Un)?$s()(ur):(Mn()(ur,function(Ar){Un===Ar.name&&(Qn=Ar.val)}),Qn)}},{key:"remove",value:function(Un){for(var Qn=this._infos,ur=Qn.length-1;ur>=0;ur--)Qn[ur].name===Un&&Qn.splice(ur,1);return this._render(),this}},{key:"clear",value:function(){return this._infos=[],this._render(),this}},{key:"_addDefInfo",value:function(){var Un=this;Mn()(Es,function(Qn){return Un.add(Qn.name,Qn.val)})}},{key:"_render",value:function(){var Un=[];Mn()(this._infos,function(ur){var Ar=ur.name,Fr=ur.val;ha()(Fr)&&(Fr=Fr()),Un.push({name:Ar,val:Fr})});var Qn="
      ".concat(Vr()(Un,function(ur){return'
    • ').concat(Bo()(ur.name),'

      ').concat(ur.val,"
    • ")}).join(""),"
    ");this._renderHtml(Qn)}},{key:"_bindEvent",value:function(){var Un=this._container;this._$el.on("click",yr(".copy"),function(){var Qn=En()(this).parent().parent(),ur=Qn.find(yr(".title")).text(),Ar=Qn.find(yr(".content")).text();ya()("".concat(ur,": ").concat(Ar)),Un.notify("Copied")})}},{key:"_renderHtml",value:function(Un){Un!==this._lastHtml&&(this._lastHtml=Un,this._$el.html(Un))}}]),pr}(Sn),Ns=Ie(8299),Ms=Ie(8368),Is=Ie.n(Ms),Os=Ie(3651),Rs=Ie.n(Os),ji=Ie(7049);function Ds(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Ls=function(wr){(0,Dt.Z)(pr,wr);var vr=Ds(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=vr.call(this))._style=_r(Ie(1344)),Un.name="sources",Un._showLineNum=!0,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._bindEvent(),this._initCfg()}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style),this._rmCfg()}},{key:"set",value:function(Un,Qn){if(Un==="img"){this._isFetchingData=!0;var ur=new Image,Ar=this;return ur.onload=function(){Ar._isFetchingData=!1,Ar._data={type:"img",val:{width:this.width,height:this.height,src:Qn}},Ar._render()},ur.onerror=function(){Ar._isFetchingData=!1},void(ur.src=Qn)}return this._data={type:Un,val:Qn},this._render(),this}},{key:"show",value:function(){return(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._data||this._isFetchingData||this._renderDef(),this}},{key:"_renderDef",value:function(){var Un=this;if(this._html)return this._data={type:"html",val:this._html},this._render();this._isGettingHtml||(this._isGettingHtml=!0,Bi()({url:location.href,success:function(Qn){return Un._html=Qn},error:function(){return Un._html="Sorry, unable to fetch source code:("},complete:function(){Un._isGettingHtml=!1,Un._renderDef()},dataType:"raw"}))}},{key:"_bindEvent",value:function(){var Un=this;this._container.on("showTool",function(Qn,ur){Qn!==Un.name&&ur.name===Un.name&&delete Un._data})}},{key:"_rmCfg",value:function(){var Un=this.config,Qn=this._container.get("settings");Qn&&Qn.remove(Un,"showLineNum").remove("Sources")}},{key:"_initCfg",value:function(){var Un=this,Qn=this.config=xr.createCfg("sources",{showLineNum:!0});Qn.get("showLineNum")||(this._showLineNum=!1),Qn.on("change",function(ur,Ar){ur!=="showLineNum"||(Un._showLineNum=Ar)}),this._container.get("settings").text("Sources").switch(Qn,"showLineNum","Show Line Numbers").separator()}},{key:"_render",value:function(){switch(this._isInit=!0,this._data.type){case"html":case"js":case"css":return this._renderCode();case"img":return this._renderImg();case"object":return this._renderObj();case"raw":return this._renderRaw();case"iframe":return this._renderIframe()}}},{key:"_renderImg",value:function(){var Un=this._data.val,Qn=Un.width,ur=Un.height,Ar=Un.src;this._renderHtml('
    +
    ').concat(Bo()(Ar),`
    +
    + +
    +
    ').concat(Bo()(Qn)," × ").concat(Bo()(ur),`
    +
    `))}},{key:"_renderCode",value:function(){var Un=this._data;this._renderHtml('
    '),!1);var Qn=Un.val,ur=Un.val.length;ur>ti&&(Qn=xa()(Qn,ti)),ur'),!1);var Un=this._data.val;try{Bn()(Un)&&(Un=JSON.parse(Un))}catch{}new Ns.Z(this._$el.find(".eruda-json").get(0),{unenumerable:!0,accessGetter:!0}).set(Un)}},{key:"_renderRaw",value:function(){var Un=this._data;this._renderHtml('
    +
    +
    `));var Qn=Un.val,ur=this._$el.find(yr(".raw")).get(0);Qn.length>ti&&(Qn=xa()(Qn,ti)),new ji.Z(ur,{text:Qn,wrapLongLines:!0,showLineNumbers:Qn.length'))}},{key:"_renderHtml",value:function(Un){var Qn=this;(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])&&Un===this._lastHtml||(this._lastHtml=Un,this._$el.html(Un),setTimeout(function(){return Qn._$el.get(0).scrollTop=0},0))}}]),pr}(Sn),Bs=3e4,Gi=8e4,ti=1e5,Vs=Ie(5166),zs=Ie.n(Vs),Fs=Ie(3514),Hs=Ie.n(Fs),js={init:function(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},vr=wr.container,pr=wr.tool,Un=wr.autoScale,Qn=Un===void 0||Un,ur=wr.useShadowDom,Ar=ur===void 0||ur,Fr=wr.defaults,Wr=Fr===void 0?{}:Fr;this._isInit||(this._isInit=!0,this._scale=1,this._initContainer(vr,Ar),this._initStyle(),this._initDevTools(Wr),this._initEntryBtn(),this._initSettings(),this._initTools(pr),this._registerListener(),Qn&&this._autoScale())},_isInit:!1,version:"3.0.1",util:Fe,chobitsu:fr,Tool:Sn,Console:fi,Elements:Qi,Network:Jo,Sources:Ls,Resources:ks,Info:Ps,Snippets:ds,Settings:xr,get:function(wr){if(this._checkInit()){if(wr==="entryBtn")return this._entryBtn;var vr=this._devTools;return wr?vr.get(wr):vr}},add:function(wr){if(this._checkInit())return ha()(wr)&&(wr=wr(this)),this._devTools.add(wr),this},remove:function(wr){return this._devTools.remove(wr),this},show:function(wr){if(this._checkInit()){var vr=this._devTools;return wr?vr.showTool(wr):vr.show(),this}},hide:function(){if(this._checkInit())return this._devTools.hide(),this},destroy:function(){this._devTools.destroy(),delete this._devTools,this._entryBtn.destroy(),delete this._entryBtn,this._unregisterListener(),En()(this._container).remove(),_r.clear(),this._isInit=!1,this._container=null,this._shadowRoot=null},scale:function(wr){return Fo()(wr)?(this._scale=wr,wn.emit(wn.SCALE,wr),this):this._scale},position:function(wr){var vr=this._entryBtn;return zs()(wr)?(vr.setPos(wr),this):vr.getPos()},_autoScale:function(){ta()()&&this.scale(1/Hs()())},_registerListener:function(){var wr=this;this._addListener=function(){return wr.add.apply(wr,arguments)},this._showListener=function(){return wr.show.apply(wr,arguments)},wn.on(wn.ADD,this._addListener),wn.on(wn.SHOW,this._showListener),wn.on(wn.SCALE,_r.setScale)},_unregisterListener:function(){wn.off(wn.ADD,this._addListener),wn.off(wn.SHOW,this._showListener),wn.off(wn.SCALE,_r.setScale)},_checkInit:function(){return this._isInit||Po.error('Please call "eruda.init()" first'),this._isInit},_initContainer:function(wr,vr){var pr,Un;wr||(wr=document.createElement("div"),document.documentElement.appendChild(wr)),wr.id="eruda",wr.style.all="initial",this._container=wr,vr&&(wr.attachShadow?pr=wr.attachShadow({mode:"open"}):wr.createShadowRoot&&(pr=wr.createShadowRoot()),pr&&(_r.container=document.head,_r(Ie(5357)+Ie(9327)+Ie(4821)+Ie(8903)+Ie(5777)),Un=document.createElement("div"),pr.appendChild(Un),this._shadowRoot=pr)),this._shadowRoot||(Un=document.createElement("div"),wr.appendChild(Un)),Yn()(Un,{className:"eruda-container __chobitsu-hide__",contentEditable:!1}),Fi()().name==="ios"&&Un.setAttribute("ontouchstart",""),this._$el=En()(Un)},_initDevTools:function(wr){this._devTools=new fa(this._$el,{defaults:wr})},_initStyle:function(){var wr="eruda-style-container",vr=this._$el;this._shadowRoot?(_r.container=this._shadowRoot,_r(":host { all: initial }")):(vr.append('
    ')),_r.container=vr.find(".".concat(wr)).get(0)),_r(Ie(8020)+Ie(4821)+Ie(9327)+Ie(7591)+Ie(4987)+Ie(8903)+Ie(5512)+Ie(2156)+Ie(5777)+Ie(7871)+Ie(6833)+Ie(8516)+Ie(5357))},_initEntryBtn:function(){var wr=this;this._entryBtn=new wo(this._$el),this._entryBtn.on("click",function(){return wr._devTools.toggle()})},_initSettings:function(){var wr=this._devTools,vr=new xr;wr.add(vr),this._entryBtn.initCfg(vr),wr.initCfg(vr)},_initTools:function(){var wr=this,vr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["console","elements","network","resources","sources","info","snippets"];vr=Ai()(vr);var pr=this._devTools;vr.forEach(function(Un){var Qn=wr[Aa()(Un)];try{Qn&&pr.add(new Qn)}catch(ur){Hr()(function(){Po.error("Something wrong when initializing tool ".concat(Un,":"),ur.message)})}}),pr.showTool(vr[0]||"settings")}}},2027:function(xe,$e,Ie){var Fe=Ie(6672).Z;xe.exports=Fe,xe.exports.default=Fe},6610:function(xe,$e,Ie){Ie.r($e),$e.default={}},9143:function(xe,$e,Ie){var Fe=this&&this.__awaiter||function(_n,wn,kn,Cn){return new(kn||(kn=Promise))(function(Sn,xn){function En($n){try{An(Cn.next($n))}catch(Pn){xn(Pn)}}function Tn($n){try{An(Cn.throw($n))}catch(Pn){xn(Pn)}}function An($n){var Pn;$n.done?Sn($n.value):(Pn=$n.value,Pn instanceof kn?Pn:new kn(function(Nn){Nn(Pn)})).then(En,Tn)}An((Cn=Cn.apply(_n,wn||[])).next())})},Ue=this&&this.__generator||function(_n,wn){var kn,Cn,Sn,xn,En={label:0,sent:function(){if(1&Sn[0])throw Sn[1];return Sn[1]},trys:[],ops:[]};return xn={next:Tn(0),throw:Tn(1),return:Tn(2)},typeof Symbol=="function"&&(xn[Symbol.iterator]=function(){return this}),xn;function Tn(An){return function($n){return function(Pn){if(kn)throw new TypeError("Generator is already executing.");for(;En;)try{if(kn=1,Cn&&(Sn=2&Pn[0]?Cn.return:Pn[0]?Cn.throw||((Sn=Cn.return)&&Sn.call(Cn),0):Cn.next)&&!(Sn=Sn.call(Cn,Pn[1])).done)return Sn;switch(Cn=0,Sn&&(Pn=[2&Pn[0],Sn.value]),Pn[0]){case 0:case 1:Sn=Pn;break;case 4:return En.label++,{value:Pn[1],done:!1};case 5:En.label++,Cn=Pn[1],Pn=[0];continue;case 7:Pn=En.ops.pop(),En.trys.pop();continue;default:if(Sn=En.trys,!((Sn=Sn.length>0&&Sn[Sn.length-1])||Pn[0]!==6&&Pn[0]!==2)){En=0;continue}if(Pn[0]===3&&(!Sn||Pn[1]>Sn[0]&&Pn[1]",Ln))return void Dn.push(Fn);var Gn=[];Tn.default(Fn.attributes,function(er){var rr=er.name,Jn=er.value;return Gn.push(rr,Jn)});for(var Wn=0,Xn=Gn.length;Wn",kn.default.parse(Ln)[0].attrs))},$e.setAttributeValue=function(Vn){var Ln=Vn.nodeId,Dn=Vn.name,Hn=Vn.value;jt.getNode(Ln).setAttribute(Dn,Hn)};var Rn=[];function Bn(Vn,Ln){for(var Dn=Lt.filterNodes(Vn.childNodes),Hn=0,Fn=Dn.length;Hn5&&Rn.pop();for(var Dn=0;Dn<5;Dn++)Nn.setGlobal("$"+Dn,Rn[Dn])},$e.setNodeValue=function(Vn){var Ln=Vn.nodeId,Dn=Vn.value;jt.getNode(Ln).nodeValue=Dn},$e.setOuterHTML=function(Vn){var Ln=Vn.nodeId,Dn=Vn.outerHTML;jt.getNode(Ln).outerHTML=Dn},$e.getDOMNodeId=function(Vn){var Ln=Vn.node;return{nodeId:Lt.getOrCreateNodeId(Ln)}},$e.getDOMNode=function(Vn){var Ln=Vn.nodeId;return{node:jt.getNode(Ln)}},vn.default.on("attributes",function(Vn,Ln){var Dn=jt.getNodeId(Vn);if(Dn){var Hn=Vn.getAttribute(Ln);_n.default(Hn)?Dt.default.trigger("DOM.attributeRemoved",{nodeId:Dn,name:Ln}):Dt.default.trigger("DOM.attributeModified",{nodeId:Dn,name:Ln,value:Hn})}}),vn.default.on("childList",function(Vn,Ln,Dn){var Hn=jt.getNodeId(Vn);if(Hn){if(Ln=Lt.filterNodes(Ln),Dn=Lt.filterNodes(Dn),!wn.default(Ln)){er();for(var Fn=0,zn=Ln.length;Fn0||On)&&(Nn.children=Cn(En,$n)),Nn}function Cn(En,Tn){var An=Sn(En.childNodes);return Ue.default(An,function($n){return kn($n,{depth:Tn-1})})}function Sn(En){return qe.default(En,function(Tn){return xn(Tn)})}function xn(En){if(En.nodeType===1){var Tn=En.getAttribute("class")||"";if(Lt.default(Tn,"__chobitsu-hide__")||Lt.default(Tn,"html2canvas-container"))return!1}var An=!(En.nodeType===3&&Dt.default(En.nodeValue||"")==="");return An&&En.parentNode?xn(En.parentNode):An}$e.getOrCreateNodeId=wn,$e.clear=function(){vn.clear(),bn.clear()},$e.getNodeId=function(En){return bn.get(En)},$e.wrap=kn,$e.getChildNodes=Cn,$e.getPreviousNode=function(En){var Tn=En.previousSibling;if(Tn){for(;!xn(Tn)&&Tn.previousSibling;)Tn=Tn.previousSibling;return Tn&&xn(Tn)?Tn:void 0}},$e.filterNodes=Sn,$e.isValidNode=xn,$e.getNode=function(En){var Tn=vn.get(En);if(!Tn||Tn.nodeType===10)throw hn.createErr(-32e3,"Could not find node with given id");return Tn}},7923:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(jn){return jn&&jn.__esModule?jn:{default:jn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getProperties=$e.releaseObj=$e.getObj=$e.wrap=$e.clear=void 0;var Ue=Fe(Ie(3367)),qe=Fe(Ie(6156)),At=Fe(Ie(6472)),Dt=Fe(Ie(4777)),Lt=Fe(Ie(9833)),jt=Fe(Ie(2749)),hn=Fe(Ie(3708)),vn=Fe(Ie(7470)),bn=Fe(Ie(1754)),_n=Fe(Ie(3085)),wn=Fe(Ie(2533)),kn=Fe(Ie(300)),Cn=Fe(Ie(1116)),Sn=Fe(Ie(8740)),xn=Fe(Ie(415)),En=Fe(Ie(9804)),Tn=Fe(Ie(6257)),An=new Map,$n=new Map,Pn=new Map,Nn=new Map,Mn=1;function In(jn,Gn){var Wn=$n.get(jn);return Wn||(Wn=JSON.stringify({injectedScriptId:0,id:Mn++}),$n.set(jn,Wn),An.set(Wn,jn),Pn.set(Wn,Gn),Wn)}function On(jn,Gn){var Wn=Gn===void 0?{}:Gn,Xn=Wn.generatePreview,er=Xn!==void 0&&Xn,rr=Wn.self,Jn=rr===void 0?jn:rr,Yn=Hn(jn),qn=Yn.type,ar=Yn.subtype;return qn==="undefined"?Yn:qn==="string"||qn==="boolean"||ar==="null"?(Yn.value=jn,Yn):(Yn.description=Dn(jn,Jn),qn==="number"?(Yn.value=jn,Yn):qn==="symbol"?(Yn.objectId=In(jn,Jn),Yn):(Yn.className=qn==="function"?"Function":ar==="array"?"Array":ar==="map"?"Map":ar==="set"?"Set":ar==="regexp"?"RegExp":ar==="error"?jn.name:_n.default(jn,!1),er&&(Yn.preview=Vn(jn,Jn)),Yn.objectId=In(jn,Jn),Yn))}function Rn(jn){return An.get(jn)}$e.clear=function(){An.clear(),$n.clear(),Pn.clear()},$e.wrap=On,$e.getObj=Rn,$e.releaseObj=function(jn){var Gn=Rn(jn);$n.delete(Gn),Pn.delete(jn),An.delete(jn)},$e.getProperties=function(jn){for(var Gn=jn.accessorPropertiesOnly,Wn=jn.objectId,Xn=jn.ownProperties,er=jn.generatePreview,rr=[],Jn={prototype:!Xn,unenumerable:!0,symbol:!Gn},Yn=An.get(Wn),qn=Pn.get(Wn),ar=Cn.default(Yn,Jn),tr=xn.default(Yn),or=0,sr=ar.length;orBn&&(Jn=Bn,Xn=!0);for(var Yn=0;YnBn){Xn=!0;break}ar.push({key:Vn(or),value:Vn(jn.get(or))}),Yn++,or=tr.next().value}Wn.entries=ar}else if(vn.default(jn)){var sr=[],Kn=(Yn=0,jn.keys());for(or=Kn.next().value;or;){if(Yn>Bn){Xn=!0;break}sr.push({value:Vn(or)}),Yn++,or=Kn.next().value}Wn.entries=sr}return Wn.overflow=Xn,Wn}function Ln(jn,Gn){var Wn=Hn(Gn);Wn.name=jn;var Xn,er=Wn.subtype;return Xn=Wn.type==="object"?er==="null"?"null":er==="array"?"Array("+Gn.length+")":er==="map"?"Map("+Gn.size+")":er==="set"?"Set("+Gn.size+")":_n.default(Gn,!1):Ue.default(Gn),Wn.value=Xn,Wn}function Dn(jn,Gn){Gn===void 0&&(Gn=jn);var Wn=Hn(jn),Xn=Wn.type,er=Wn.subtype;return Xn==="string"?jn:Xn==="number"||Xn==="symbol"?Ue.default(jn):Xn==="function"?kn.default(jn):er==="array"?"Array("+jn.length+")":er==="map"?"Map("+Gn.size+")":er==="set"?"Set("+Gn.size+")":er==="regexp"?Ue.default(jn):er==="error"?jn.stack:er==="internal#entry"?jn.name?'{"'+Ue.default(jn.name)+'" => "'+Ue.default(jn.value)+'"}':'"'+Ue.default(jn.value)+'"':_n.default(jn,!1)}function Hn(jn){var Gn=typeof jn,Wn="object";if(jn instanceof Fn)Wn="internal#entry";else if(qe.default(jn))Wn="null";else if(At.default(jn))Wn="array";else if(bn.default(jn))Wn="regexp";else if(jt.default(jn))Wn="error";else if(hn.default(jn))Wn="map";else if(vn.default(jn))Wn="set";else try{Lt.default(jn)&&(Wn="node")}catch{}return{type:Gn,subtype:Wn}}var Fn=function(jn,Gn){Gn&&(this.name=Gn),this.value=jn};function zn(jn){return jn instanceof Fn||!!(jn[0]&&jn[0]instanceof Fn)}},2636:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(Bn,Vn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ln,Dn){Ln.__proto__=Dn}||function(Ln,Dn){for(var Hn in Dn)Dn.hasOwnProperty(Hn)&&(Ln[Hn]=Dn[Hn])},Fe(Bn,Vn)},function(Bn,Vn){function Ln(){this.constructor=Bn}Fe(Bn,Vn),Bn.prototype=Vn===null?Object.create(Vn):(Ln.prototype=Vn.prototype,new Ln)}),qe=this&&this.__importDefault||function(Bn){return Bn&&Bn.__esModule?Bn:{default:Bn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.fullUrl=$e.FetchRequest=$e.XhrRequest=void 0;var At=qe(Ie(1443)),Dt=qe(Ie(6768)),Lt=qe(Ie(9702)),jt=qe(Ie(6334)),hn=qe(Ie(8887)),vn=qe(Ie(4331)),bn=qe(Ie(8847)),_n=qe(Ie(3783)),wn=qe(Ie(6930)),kn=qe(Ie(3875)),Cn=Ie(316),Sn=function(Bn){function Vn(Ln,Dn,Hn){var Fn=Bn.call(this)||this;return Fn.xhr=Ln,Fn.reqHeaders={},Fn.method=Dn,Fn.url=Nn(Hn),Fn.id=Cn.createId(),Fn}return Ue(Vn,Bn),Vn.prototype.toJSON=function(){return{method:this.method,url:this.url,id:this.id}},Vn.prototype.handleSend=function(Ln){Dt.default(Ln)||(Ln=""),Ln={name:Mn(this.url),url:this.url,data:Ln,time:bn.default(),reqHeaders:this.reqHeaders,method:this.method},hn.default(this.reqHeaders)||(Ln.reqHeaders=this.reqHeaders),this.emit("send",this.id,Ln)},Vn.prototype.handleReqHeadersSet=function(Ln,Dn){Ln&&Dn&&(this.reqHeaders[Ln]=Dn)},Vn.prototype.handleHeadersReceived=function(){var Ln=this.xhr,Dn=In(Ln.getResponseHeader("Content-Type")||"");this.emit("headersReceived",this.id,{type:Dn.type,subType:Dn.subType,size:$n(Ln,!0,this.url),time:bn.default(),resHeaders:An(Ln)})},Vn.prototype.handleDone=function(){var Ln,Dn,Hn,Fn=this,zn=this.xhr,jn=zn.responseType,Gn="",Wn=function(){Fn.emit("done",Fn.id,{status:zn.status,size:$n(zn,!1,Fn.url),time:bn.default(),resTxt:Gn})},Xn=In(zn.getResponseHeader("Content-Type")||"");jn!=="blob"||Xn.type!=="text"&&Xn.subType!=="javascript"&&Xn.subType!=="json"?(jn!==""&&jn!=="text"||(Gn=zn.responseText),jn==="json"&&(Gn=JSON.stringify(zn.response)),Wn()):(Ln=zn.response,Dn=function(er,rr){rr&&(Gn=rr),Wn()},(Hn=new FileReader).onload=function(){Dn(null,Hn.result)},Hn.onerror=function(er){Dn(er)},Hn.readAsText(Ln))},Vn}(At.default);$e.XhrRequest=Sn;var xn=function(Bn){function Vn(Ln,Dn){Dn===void 0&&(Dn={});var Hn=Bn.call(this)||this;return Ln instanceof window.Request&&(Ln=Ln.url),Hn.url=Nn(Ln),Hn.id=Cn.createId(),Hn.options=Dn,Hn.reqHeaders=Dn.headers||{},Hn.method=Dn.method||"GET",Hn}return Ue(Vn,Bn),Vn.prototype.send=function(Ln){var Dn=this,Hn=this.options,Fn=Dt.default(Hn.body)?Hn.body:"";this.emit("send",this.id,{name:Mn(this.url),url:this.url,data:Fn,reqHeaders:this.reqHeaders,time:bn.default(),method:this.method}),Ln.then(function(zn){var jn=In((zn=zn.clone()).headers.get("Content-Type"));return zn.text().then(function(Gn){var Wn={type:jn.type,subType:jn.subType,time:bn.default(),size:En(zn,Gn),resTxt:Gn,resHeaders:Tn(zn),status:zn.status};hn.default(Dn.reqHeaders)||(Wn.reqHeaders=Dn.reqHeaders),Dn.emit("done",Dn.id,Wn)}),zn})},Vn}(At.default);function En(Bn,Vn){var Ln=Bn.headers.get("Content-length");return Ln?kn.default(Ln):Rn(Vn)}function Tn(Bn){var Vn={};return Bn.headers.forEach(function(Ln,Dn){return Vn[Dn]=Ln}),Vn}function An(Bn){var Vn=Bn.getAllResponseHeaders().split(` +`),Ln={};return _n.default(Vn,function(Dn){if((Dn=vn.default(Dn))!==""){var Hn=Dn.split(":",2),Fn=Hn[0],zn=Hn[1];Ln[Fn]=vn.default(zn)}}),Ln}function $n(Bn,Vn,Ln){var Dn=0;function Hn(){if(!Vn){var Fn=Bn.responseType,zn="";Fn!==""&&Fn!=="text"||(zn=Bn.responseText),zn&&(Dn=Rn(zn))}}if(function(Fn){return!wn.default(Fn,On)}(Ln))Hn();else try{Dn=kn.default(Bn.getResponseHeader("Content-Length"))}catch{Hn()}return Dn===0&&Hn(),Dn}$e.FetchRequest=xn;var Pn=document.createElement("a");function Nn(Bn){return Pn.href=Bn,Pn.protocol+"//"+Pn.host+Pn.pathname+Pn.search+Pn.hash}function Mn(Bn){var Vn=Lt.default(Bn.split("/"));return Vn.indexOf("?")>-1&&(Vn=vn.default(Vn.split("?")[0])),Vn===""&&(Vn=new jt.default(Bn).hostname),Vn}function In(Bn){if(!Bn)return{type:"unknown",subType:"unknown"};var Vn=Bn.split(";")[0].split("/");return{type:Vn[0],subType:Lt.default(Vn)}}$e.fullUrl=Nn;var On=window.location.origin;function Rn(Bn){var Vn=encodeURIComponent(Bn).match(/%[89ABab]/g);return Bn.length+(Vn?Vn.length:0)}},316:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(xn,En){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Tn,An){Tn.__proto__=An}||function(Tn,An){for(var $n in An)An.hasOwnProperty($n)&&(Tn[$n]=An[$n])},Fe(xn,En)},function(xn,En){function Tn(){this.constructor=xn}Fe(xn,En),xn.prototype=En===null?Object.create(En):(Tn.prototype=En.prototype,new Tn)}),qe=this&&this.__awaiter||function(xn,En,Tn,An){return new(Tn||(Tn=Promise))(function($n,Pn){function Nn(On){try{In(An.next(On))}catch(Rn){Pn(Rn)}}function Mn(On){try{In(An.throw(On))}catch(Rn){Pn(Rn)}}function In(On){var Rn;On.done?$n(On.value):(Rn=On.value,Rn instanceof Tn?Rn:new Tn(function(Bn){Bn(Rn)})).then(Nn,Mn)}In((An=An.apply(xn,En||[])).next())})},At=this&&this.__generator||function(xn,En){var Tn,An,$n,Pn,Nn={label:0,sent:function(){if(1&$n[0])throw $n[1];return $n[1]},trys:[],ops:[]};return Pn={next:Mn(0),throw:Mn(1),return:Mn(2)},typeof Symbol=="function"&&(Pn[Symbol.iterator]=function(){return this}),Pn;function Mn(In){return function(On){return function(Rn){if(Tn)throw new TypeError("Generator is already executing.");for(;Nn;)try{if(Tn=1,An&&($n=2&Rn[0]?An.return:Rn[0]?An.throw||(($n=An.return)&&$n.call(An),0):An.next)&&!($n=$n.call(An,Rn[1])).done)return $n;switch(An=0,$n&&(Rn=[2&Rn[0],$n.value]),Rn[0]){case 0:case 1:$n=Rn;break;case 4:return Nn.label++,{value:Rn[1],done:!1};case 5:Nn.label++,An=Rn[1],Rn=[0];continue;case 7:Rn=Nn.ops.pop(),Nn.trys.pop();continue;default:if($n=Nn.trys,!(($n=$n.length>0&&$n[$n.length-1])||Rn[0]!==6&&Rn[0]!==2)){Nn=0;continue}if(Rn[0]===3&&(!$n||Rn[1]>$n[0]&&Rn[1]<$n[3])){Nn.label=Rn[1];break}if(Rn[0]===6&&Nn.label<$n[1]){Nn.label=$n[1],$n=Rn;break}if($n&&Nn.label<$n[2]){Nn.label=$n[2],Nn.ops.push(Rn);break}$n[2]&&Nn.ops.pop(),Nn.trys.pop();continue}Rn=En.call(xn,Nn)}catch(Bn){Rn=[6,Bn],An=0}finally{Tn=$n=0}if(5&Rn[0])throw Rn[1];return{value:Rn[0]?Rn[1]:void 0,done:!0}}([In,On])}}},Dt=this&&this.__importDefault||function(xn){return xn&&xn.__esModule?xn:{default:xn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getBase64Content=$e.getTextContent=$e.getOrigin=$e.getUrl=$e.createErr=$e.ErrorWithCode=$e.getAbsoluteUrl=$e.createId=void 0;var Lt=Dt(Ie(5229)),jt=Dt(Ie(1216)),hn=Dt(Ie(6930)),vn=Dt(Ie(6334)),bn=Dt(Ie(1792)),_n=Dt(Ie(6610)),wn=jt.default(1e3,9999)+".";$e.createId=function(){return Lt.default(wn)},$e.getAbsoluteUrl=function(xn){var En=document.createElement("a");return En.href=xn,En.href};var kn=function(xn){function En(Tn,An){var $n=this.constructor,Pn=xn.call(this,An)||this;return Pn.code=Tn,Object.setPrototypeOf(Pn,$n.prototype),Pn}return Ue(En,xn),En}(Error);function Cn(xn,En,Tn){return Tn===void 0&&(Tn=""),qe(this,void 0,void 0,function(){var An;return At(this,function($n){switch($n.label){case 0:return $n.trys.push([0,2,,8]),(An=new vn.default(xn)).setQuery("__chobitsu-hide__","true"),[4,_n.default.get(An.toString(),{responseType:En})];case 1:return[2,$n.sent().data];case 2:if($n.sent(),!Tn)return[3,7];$n.label=3;case 3:return $n.trys.push([3,6,,7]),[4,_n.default.get(Sn(Tn,xn),{responseType:En})];case 4:return[4,$n.sent().data];case 5:return[2,$n.sent()];case 6:return $n.sent(),[3,7];case 7:return[3,8];case 8:return[2,En==="arraybuffer"?new ArrayBuffer(0):""]}})})}function Sn(xn,En){var Tn=new vn.default(xn);return Tn.setQuery("url",En),Tn.setQuery("__chobitsu-hide__","true"),Tn.toString()}$e.ErrorWithCode=kn,$e.createErr=function(xn,En){return new kn(xn,En)},$e.getUrl=function(){var xn=location.href;return hn.default(xn,"about:")?parent.location.href:xn},$e.getOrigin=function(){var xn=location.origin;return xn==="null"?parent.location.origin:xn},$e.getTextContent=function(xn,En){return En===void 0&&(En=""),qe(this,void 0,void 0,function(){return At(this,function(Tn){switch(Tn.label){case 0:return[4,Cn(xn,"text",En)];case 1:return[2,Tn.sent()]}})})},$e.getBase64Content=function(xn,En){return En===void 0&&(En=""),qe(this,void 0,void 0,function(){var Tn;return At(this,function(An){switch(An.label){case 0:return Tn=bn.default,[4,Cn(xn,"arraybuffer",En)];case 1:return[2,Tn.apply(void 0,[An.sent(),"base64"])]}})})}},3191:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_console{padding-top:40px;padding-bottom:24px;width:100%;height:100%}#_console._js-input-hidden{padding-bottom:0}#_console ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px 10px 10px 35px}#_console ._control [class*=' _icon-'],#_console ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_console ._control [class*=' _icon-']._active,#_console ._control [class*=' _icon-']:active,#_console ._control [class^='_icon-']._active,#_console ._control [class^='_icon-']:active{color:var(--accent)}#_console ._control ._icon-clear{padding-right:0;left:0}#_console ._control ._icon-copy{right:0}#_console ._control ._icon-filter{right:23px}#_console ._control ._level{cursor:pointer;font-size:12px;height:20px;display:inline-block;margin:0 2px;padding:0 4px;line-height:20px;transition:background-color .3s,color .3s}#_console ._control ._level._active{background:var(--highlight);color:var(--select-foreground)}#_console ._control ._filter-text{white-space:nowrap;position:absolute;line-height:20px;max-width:80px;overflow:hidden;right:55px;font-size:14px;text-overflow:ellipsis}#_console ._js-input{pointer-events:none;position:absolute;z-index:100;left:0;bottom:0;width:100%;border-top:1px solid var(--border);height:24px}#_console ._js-input ._icon-arrow-right{line-height:23px;color:var(--accent);position:absolute;left:10px;top:0;z-index:10}#_console ._js-input._active{height:100%;padding-top:40px;padding-bottom:40px;border-top:none}#_console ._js-input._active ._icon-arrow-right{display:none}#_console ._js-input._active textarea{overflow:auto;padding-left:10px}#_console ._js-input ._buttons{display:none;position:absolute;left:0;bottom:0;width:100%;height:40px;color:var(--primary);background:var(--darker-background);font-size:12px;border-top:1px solid var(--border)}#_console ._js-input ._buttons ._button{pointer-events:all;cursor:pointer;flex:1;text-align:center;border-right:1px solid var(--border);height:40px;line-height:40px;transition:background-color .3s,color .3s}#_console ._js-input ._buttons ._button:last-child{border-right:none}#_console ._js-input ._buttons ._button:active{color:var(--select-foreground);background:var(--highlight)}#_console ._js-input textarea{overflow:hidden;pointer-events:all;padding:3px 10px;padding-left:25px;outline:0;border:none;font-size:14px;width:100%;height:100%;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;resize:none;color:var(--primary);background:var(--background)}._safe-area #_console{padding-bottom:calc(24px + env(safe-area-inset-bottom))}._safe-area #_console._js-input-hidden{padding-bottom:0}._safe-area #_console ._js-input{height:calc(24px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input._active{height:100%;padding-bottom:calc(40px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input ._buttons{height:calc(40px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input ._buttons ._button{height:calc(40px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},13:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._dev-tools{position:absolute;width:100%;height:100%;left:0;bottom:0;background:var(--background);z-index:500;display:none;padding-top:40px!important;opacity:0;transition:opacity .3s;border-top:1px solid var(--border)}._dev-tools ._resizer{position:absolute;width:100%;touch-action:none;left:0;top:-8px;cursor:row-resize;z-index:120}._dev-tools ._tools{overflow:auto;-webkit-overflow-scrolling:touch;height:100%;width:100%;position:relative}._dev-tools ._tools ._tool{position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;display:none}",""]),xe.exports=$e},5896:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_elements ._elements{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:40px;padding-bottom:24px;font-size:14px}#_elements ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px 0}#_elements ._control [class*=' _icon-'],#_elements ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_elements ._control [class*=' _icon-']._active,#_elements ._control [class*=' _icon-']:active,#_elements ._control [class^='_icon-']._active,#_elements ._control [class^='_icon-']:active{color:var(--accent)}#_elements ._control ._icon-eye{right:0}#_elements ._control ._icon-copy{right:23px}#_elements ._control ._icon-delete{right:46px}#_elements ._dom-viewer-container{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;padding:5px 0}#_elements ._crumbs{position:absolute;width:100%;height:24px;left:0;top:0;top:initial;line-height:24px;bottom:0;border-top:1px solid var(--border);background:var(--darker-background);color:var(--primary);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#_elements ._crumbs li{cursor:pointer;padding:0 7px;display:inline-block}#_elements ._crumbs li:hover,#_elements ._crumbs li:last-child{background:var(--highlight)}#_elements ._crumbs ._icon-arrow-right{font-size:12px;position:relative;top:1px}#_elements ._detail{position:absolute;width:100%;height:100%;left:0;top:0;z-index:10;padding-top:40px;display:none;background:var(--background)}#_elements ._detail ._control{padding:10px 35px}#_elements ._detail ._control ._element-name{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block}#_elements ._detail ._control ._icon-arrow-left{left:0}#_elements ._detail ._control ._icon-refresh{right:0}#_elements ._detail ._element{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%}#_elements ._section{border-bottom:1px solid var(--border);color:var(--foreground);margin:10px 0}#_elements ._section h2{color:var(--primary);background:var(--darker-background);border-top:1px solid var(--border);padding:10px;line-height:18px;font-size:14px;transition:background-color .3s}#_elements ._section h2 ._btn{margin-left:5px;float:right;color:var(--primary);width:18px;height:18px;font-size:16px;cursor:pointer;transition:color .3s}#_elements ._section h2 ._btn._filter-text{width:auto;max-width:80px;font-size:14px;overflow:hidden;font-weight:400;text-overflow:ellipsis;display:inline-block}#_elements ._section h2 ._btn:active{color:var(--accent)}#_elements ._section h2 ._btn._btn-disabled{color:inherit!important;cursor:default!important;pointer-events:none;opacity:.5}#_elements ._section h2 ._btn._btn-disabled *{pointer-events:none}#_elements ._section h2._active-effect{cursor:pointer}#_elements ._section h2._active-effect:active{background:var(--highlight);color:var(--select-foreground)}#_elements ._attributes{font-size:12px}#_elements ._attributes a{color:var(--link-color)}#_elements ._attributes ._table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}#_elements ._attributes table td{padding:5px 10px}#_elements ._text-content{background:#fff}#_elements ._text-content ._content{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px}#_elements ._style-color{position:relative;top:1px;width:10px;height:10px;border-radius:50%;margin-right:2px;border:1px solid var(--border);display:inline-block}#_elements ._box-model{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;text-align:center;border-bottom:1px solid var(--color)}#_elements ._computed-style{font-size:12px}#_elements ._computed-style a{color:var(--link-color)}#_elements ._computed-style ._table-wrapper{overflow-y:auto;-webkit-overflow-scrolling:touch;max-height:200px;border-top:1px solid var(--border)}#_elements ._computed-style table td{padding:5px 10px}#_elements ._computed-style table td._key{white-space:nowrap;color:var(--var-color)}#_elements ._styles{font-size:12px}#_elements ._styles ._style-wrapper{padding:10px}#_elements ._styles ._style-wrapper ._style-rules{border:1px solid var(--border);padding:10px;margin-bottom:10px}#_elements ._styles ._style-wrapper ._style-rules ._rule{padding-left:2em;word-break:break-all}#_elements ._styles ._style-wrapper ._style-rules ._rule a{color:var(--link-color)}#_elements ._styles ._style-wrapper ._style-rules ._rule span{color:var(--var-color)}#_elements ._styles ._style-wrapper ._style-rules:last-child{margin-bottom:0}#_elements ._listeners{font-size:12px}#_elements ._listeners ._listener-wrapper{padding:10px}#_elements ._listeners ._listener-wrapper ._listener{margin-bottom:10px;overflow:hidden;border:1px solid var(--border)}#_elements ._listeners ._listener-wrapper ._listener ._listener-type{padding:10px;background:var(--darker-background);color:var(--primary)}#_elements ._listeners ._listener-wrapper ._listener ._listener-content li{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;border-top:none}._safe-area #_elements ._elements{padding-bottom:calc(24px + env(safe-area-inset-bottom))}._safe-area #_elements ._crumbs{height:calc(24px + env(safe-area-inset-bottom))}._safe-area #_elements ._element{padding-bottom:calc(0px + env(safe-area-inset-bottom))}@media screen and (min-width:680px){#_elements ._elements{width:50%}#_elements ._elements ._control ._icon-eye{display:none}#_elements ._elements ._control ._icon-copy{right:0}#_elements ._elements ._control ._icon-delete{right:23px}#_elements ._detail{width:50%;left:initial;right:0;border-left:1px solid var(--border)}#_elements ._detail ._control{padding-left:10px}#_elements ._detail ._control ._icon-arrow-left{display:none}}",""]),xe.exports=$e},9195:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._container ._entry-btn{touch-action:none;width:40px;height:40px;display:flex;background:#000;opacity:.3;border-radius:10px;position:relative;z-index:1000;transition:opacity .3s;color:#fff;font-size:25px;align-items:center;justify-content:center}._container ._entry-btn._active,._container ._entry-btn:active{opacity:.8}",""]),xe.exports=$e},879:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_info{overflow-y:auto;-webkit-overflow-scrolling:touch}#_info li{margin:10px;border:1px solid var(--border)}#_info li ._content,#_info li ._title{padding:10px}#_info li ._title{position:relative;padding-bottom:0;color:var(--accent)}#_info li ._title ._icon-copy{position:absolute;right:10px;top:14px;color:var(--primary);cursor:pointer;transition:color .3s}#_info li ._title ._icon-copy:active{color:var(--accent)}#_info li ._content{margin:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:var(--foreground);font-size:12px;word-break:break-all}#_info li ._content table{width:100%;border-collapse:collapse}#_info li ._content table td,#_info li ._content table th{border:1px solid var(--border);padding:10px}#_info li ._content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_info li ._content a{color:var(--link-color)}#_info li ._device-key,#_info li ._system-key{width:100px}._safe-area #_info{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},3180:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_network ._network{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:39px}#_network ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px;border-bottom:none}#_network ._control [class*=' _icon-'],#_network ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_network ._control [class*=' _icon-']._active,#_network ._control [class*=' _icon-']:active,#_network ._control [class^='_icon-']._active,#_network ._control [class^='_icon-']:active{color:var(--accent)}#_network ._control ._title{font-size:14px}#_network ._control ._icon-clear{left:23px}#_network ._control ._icon-eye{right:0}#_network ._control ._icon-copy{right:23px}#_network ._control ._icon-filter{right:46px}#_network ._control ._filter-text{white-space:nowrap;position:absolute;line-height:20px;max-width:80px;overflow:hidden;right:88px;font-size:14px;text-overflow:ellipsis}#_network ._control ._icon-record{left:0}#_network ._control ._icon-record._recording{color:var(--console-error-foreground);text-shadow:0 0 4px var(--console-error-foreground)}#_network ._request-error{color:var(--console-error-foreground)}#_network .luna-data-grid:focus .luna-data-grid-data-container ._request-error.luna-data-grid-selected{background:var(--console-error-background)}#_network .luna-data-grid{border-left:none;border-right:none}#_network ._detail{position:absolute;width:100%;height:100%;left:0;top:0;z-index:10;display:none;padding-top:40px;background:var(--background)}#_network ._detail ._control{padding:10px 35px;border-bottom:1px solid var(--border)}#_network ._detail ._control ._url{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block}#_network ._detail ._control ._icon-arrow-left{left:0}#_network ._detail ._control ._icon-delete{left:0;display:none}#_network ._detail ._control ._icon-copy{right:0}#_network ._detail ._http{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%}#_network ._detail ._http ._section{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:10px;margin-bottom:10px}#_network ._detail ._http ._section h2{background:var(--darker-background);color:var(--primary);padding:10px;line-height:18px;font-size:14px}#_network ._detail ._http ._section table{color:var(--foreground)}#_network ._detail ._http ._section table *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_network ._detail ._http ._section table td{font-size:12px;padding:5px 10px;word-break:break-all}#_network ._detail ._http ._section table ._key{white-space:nowrap;font-weight:700;color:var(--accent)}#_network ._detail ._http ._data,#_network ._detail ._http ._response{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;font-size:12px;margin:10px 0;white-space:pre-wrap;border-top:1px solid var(--border);color:var(--foreground);border-bottom:1px solid var(--border)}._safe-area #_network ._http{padding-bottom:calc(0px + env(safe-area-inset-bottom))}@media screen and (min-width:680px){#_network ._network ._control ._icon-eye{display:none}#_network ._network ._control ._icon-copy{right:0}#_network ._network ._control ._icon-filter{right:23px}#_network ._network ._control ._filter-text{right:55px}#_network ._detail{width:50%;left:initial;right:0;border-left:1px solid var(--border)}#_network ._detail ._control ._icon-arrow-left{display:none}#_network ._detail ._control ._icon-delete{display:block}}",""]),xe.exports=$e},2488:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_resources{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px;font-size:14px}#_resources ._section{margin-bottom:10px;overflow:hidden;border:1px solid var(--border)}#_resources ._section._warn{border:1px solid var(--console-warn-border)}#_resources ._section._warn ._title{background:var(--console-warn-background);color:var(--console-warn-foreground)}#_resources ._section._danger{border:1px solid var(--console-error-border)}#_resources ._section._danger ._title{background:var(--console-error-background);color:var(--console-error-foreground)}#_resources ._section._cookie,#_resources ._section._local-storage,#_resources ._section._session-storage{border:none}#_resources ._section._cookie ._title,#_resources ._section._local-storage ._title,#_resources ._section._session-storage ._title{border:1px solid var(--border);border-bottom:none}#_resources ._title{padding:10px;line-height:18px;color:var(--primary);background:var(--darker-background)}#_resources ._title ._btn{margin-left:5px;float:right;color:var(--primary);width:18px;height:18px;font-size:16px;cursor:pointer;transition:color .3s}#_resources ._title ._btn._filter-text{width:auto;max-width:80px;font-size:14px;overflow:hidden;font-weight:400;text-overflow:ellipsis;display:inline-block}#_resources ._title ._btn:active{color:var(--accent)}#_resources ._title ._btn._btn-disabled{color:inherit!important;cursor:default!important;pointer-events:none;opacity:.5}#_resources ._title ._btn._btn-disabled *{pointer-events:none}#_resources ._link-list{font-size:12px;color:var(--foreground)}#_resources ._link-list li{padding:10px;word-break:break-all}#_resources ._link-list li a{color:var(--link-color)!important}#_resources ._image-list{color:var(--foreground);font-size:12px;display:flex;flex-wrap:wrap;padding:10px!important}#_resources ._image-list:after{content:'';display:block;clear:both}#_resources ._image-list li{flex-grow:1;cursor:pointer;overflow-y:hidden}#_resources ._image-list li._image{height:100px;font-size:0}#_resources ._image-list li img{height:100px;min-width:100%;-o-object-fit:cover;object-fit:cover}._safe-area #_resources{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},8011:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_settings{overflow-y:auto;-webkit-overflow-scrolling:touch}._safe-area #_settings{padding-bottom:calc(0px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},5571:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_snippets{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px}#_snippets ._section{margin-bottom:10px;border:1px solid var(--border);overflow:hidden;cursor:pointer}#_snippets ._section:active ._name{background:var(--highlight);color:var(--select-foreground)}#_snippets ._section ._name{padding:10px;line-height:18px;color:var(--primary);background:var(--darker-background);transition:background-color .3s}#_snippets ._section ._name ._btn{margin-left:10px;float:right;text-align:center;width:18px;height:18px;font-size:12px}#_snippets ._section ._description{font-size:12px;color:var(--foreground);padding:10px;transition:background-color .3s}._safe-area #_snippets{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},7346:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._search-highlight-block{display:inline}._search-highlight-block ._keyword{background:var(--console-warn-background);color:var(--console-warn-foreground)}",""]),xe.exports=$e},1344:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_sources{font-size:0;overflow-y:auto;-webkit-overflow-scrolling:touch;color:var(--foreground)}#_sources ._code-wrapper,#_sources ._raw-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%;min-height:100%}#_sources ._code,#_sources ._raw{height:100%}#_sources ._code ._keyword,#_sources ._raw ._keyword{color:var(--keyword-color)}#_sources ._code ._comment,#_sources ._raw ._comment{color:var(--comment-color)}#_sources ._code ._number,#_sources ._raw ._number{color:var(--number-color)}#_sources ._code ._string,#_sources ._raw ._string{color:var(--string-color)}#_sources ._code ._operator,#_sources ._raw ._operator{color:var(--operator-color)}#_sources ._code[data-type=html] ._keyword,#_sources ._raw[data-type=html] ._keyword{color:var(--tag-name-color)}#_sources ._image{font-size:12px}#_sources ._image ._breadcrumb{background:var(--darker-background);color:var(--primary);-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;margin-bottom:10px;word-break:break-all;padding:10px;font-size:16px;min-height:40px;border-bottom:1px solid var(--border)}#_sources ._image ._img-container{text-align:center}#_sources ._image ._img-container img{max-width:100%}#_sources ._image ._img-info{text-align:center;margin:20px 0;color:var(--foreground)}#_sources ._json{padding:0 10px}#_sources ._json *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_sources iframe{width:100%;height:100%}",""]),xe.exports=$e},8020:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._container a,._container abbr,._container acronym,._container address,._container applet,._container article,._container aside,._container audio,._container b,._container big,._container blockquote,._container canvas,._container caption,._container center,._container cite,._container code,._container dd,._container del,._container details,._container dfn,._container dl,._container dt,._container em,._container embed,._container fieldset,._container figcaption,._container figure,._container footer,._container form,._container h1,._container h2,._container h3,._container h4,._container h5,._container h6,._container header,._container hgroup,._container i,._container iframe,._container img,._container ins,._container kbd,._container label,._container legend,._container li,._container mark,._container menu,._container nav,._container object,._container ol,._container output,._container p,._container pre,._container q,._container ruby,._container s,._container samp,._container section,._container small,._container span,._container strike,._container strong,._container sub,._container summary,._container sup,._container table,._container tbody,._container td,._container tfoot,._container th,._container thead,._container time,._container tr,._container tt,._container u,._container ul,._container var,._container video{margin:0;padding:0;border:0;font-size:100%}._container article,._container aside,._container details,._container figcaption,._container figure,._container footer,._container header,._container hgroup,._container menu,._container nav,._container section{display:block}._container body{line-height:1}._container ol,._container ul{list-style:none}._container blockquote,._container q{quotes:none}._container blockquote:after,._container blockquote:before,._container q:after,._container q:before{content:'';content:none}._container table{border-collapse:collapse;border-spacing:0}",""]),xe.exports=$e},8516:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`.luna-console{background:var(--background)}.luna-console-header{color:var(--link-color);border-bottom-color:var(--border)}.luna-console-nesting-level{border-right-color:var(--border)}.luna-console-nesting-level::before{border-bottom-color:var(--border)}.luna-console-log-container.luna-console-selected .luna-console-log-item{background:var(--contrast)}.luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:var(--border)}.luna-console-log-item{border-bottom-color:var(--border);color:var(--foreground)}.luna-console-log-item a{color:var(--link-color)!important}.luna-console-log-item .luna-console-icon-container .luna-console-icon{color:var(--foreground)}.luna-console-log-item .luna-console-icon-container .luna-console-icon-error{color:#ef3842}.luna-console-log-item .luna-console-icon-container .luna-console-icon-warn{color:#e8a400}.luna-console-log-item .luna-console-count{color:var(--select-foreground);background:var(--highlight)}.luna-console-log-item.luna-console-warn{color:var(--console-warn-foreground);background:var(--console-warn-background);border-color:var(--console-warn-border)}.luna-console-log-item.luna-console-error{background:var(--console-error-background);color:var(--console-error-foreground);border-color:var(--console-error-border)}.luna-console-log-item.luna-console-error .luna-console-count{background:var(--console-error-foreground)}.luna-console-log-item .luna-console-code .luna-console-key{color:var(--var-color)}.luna-console-log-item .luna-console-code .luna-console-number{color:var(--number-color)}.luna-console-log-item .luna-console-code .luna-console-null{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-string{color:var(--string-color)}.luna-console-log-item .luna-console-code .luna-console-boolean{color:var(--keyword-color)}.luna-console-log-item .luna-console-code .luna-console-special{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-keyword{color:var(--keyword-color)}.luna-console-log-item .luna-console-code .luna-console-operator{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-comment{color:var(--comment-color)}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:var(--operator-color)}.luna-console-log-item .luna-console-log-content .luna-console-number{color:var(--number-color)}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:var(--keyword-color)}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:var(--var-color)}.luna-console-preview .luna-console-key{color:var(--var-color)}.luna-console-preview .luna-console-number{color:var(--number-color)}.luna-console-preview .luna-console-null{color:var(--operator-color)}.luna-console-preview .luna-console-string{color:var(--string-color)}.luna-console-preview .luna-console-boolean{color:var(--keyword-color)}.luna-console-preview .luna-console-special{color:var(--operator-color)}.luna-console-preview .luna-console-keyword{color:var(--keyword-color)}.luna-console-preview .luna-console-operator{color:var(--operator-color)}.luna-console-preview .luna-console-comment{color:var(--comment-color)}.luna-object-viewer{color:var(--primary);font-size:12px!important}.luna-object-viewer-null{color:var(--operator-color)}.luna-object-viewer-regexp,.luna-object-viewer-string{color:var(--string-color)}.luna-object-viewer-number{color:var(--number-color)}.luna-object-viewer-boolean{color:var(--keyword-color)}.luna-object-viewer-special{color:var(--operator-color)}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:var(--var-color)}.luna-object-viewer-expanded:before{border-color:transparent;border-top-color:var(--foreground)}.luna-object-viewer-collapsed:before{border-top-color:transparent;border-left-color:var(--foreground)}.luna-notification{pointer-events:none!important;padding:10px;z-index:1000}.luna-notification-item{z-index:500;color:var(--foreground);background:var(--background);box-shadow:none;padding:5px 10px;border:1px solid var(--border)}.luna-notification-upper{margin-bottom:10px}.luna-notification-lower{margin-top:10px}.luna-data-grid{color:var(--foreground);background:var(--background);border-color:var(--border)}.luna-data-grid:focus .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:var(--accent)}.luna-data-grid td,.luna-data-grid th{border-color:var(--border)}.luna-data-grid th{background:var(--darker-background)}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{color:var(--select-foreground);background:var(--highlight)}.luna-data-grid .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:var(--highlight)}.luna-data-grid .luna-data-grid-data-container tr:nth-child(even){background:var(--contrast)}.luna-dom-viewer{color:var(--foreground)}.luna-dom-viewer .luna-dom-viewer-html-tag,.luna-dom-viewer .luna-dom-viewer-tag-name{color:var(--tag-name-color)}.luna-dom-viewer .luna-dom-viewer-attribute-name{color:var(--attribute-name-color)}.luna-dom-viewer .luna-dom-viewer-attribute-value{color:var(--string-color)}.luna-dom-viewer .luna-dom-viewer-html-comment{color:var(--comment-color)}.luna-dom-viewer .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:var(--contrast)}.luna-dom-viewer .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:var(--highlight)}.luna-dom-viewer .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:var(--accent);opacity:.2}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-key{color:var(--var-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-number{color:var(--number-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-null{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-string{color:var(--string-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-boolean{color:var(--keyword-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-special{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:var(--keyword-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:var(--comment-color)}.luna-dom-viewer-children{margin:0;padding-left:15px!important}.luna-modal{z-index:9999999}.luna-modal-body,.luna-modal-input{color:var(--foreground);background:var(--background)}.luna-modal-input{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;border-color:var(--border)}.luna-modal-button-group .luna-modal-secondary{border-color:var(--border);color:var(--foreground);background:var(--background)}.luna-modal-button-group .luna-modal-primary{background:var(--accent)}.luna-modal-button-group .luna-modal-button:active::before{background:var(--accent)}.luna-tab{position:absolute;left:0;top:0;color:var(--foreground);background:var(--darker-background)}.luna-tab-tabs-container{border-color:var(--border)}.luna-tab-item.luna-tab-selected,.luna-tab-item:hover{background:var(--highlight);color:var(--select-foreground)}.luna-tab-slider{background:var(--accent)}.luna-text-viewer{color:var(--foreground);border:none;border-bottom:1px solid var(--border);background:var(--background);font-size:12px}.luna-text-viewer .luna-text-viewer-line-text{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer .luna-text-viewer-line-text *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer .luna-text-viewer-copy,.luna-text-viewer .luna-text-viewer-line-number{border-color:var(--border)}.luna-text-viewer .luna-text-viewer-copy .luna-text-viewer-icon-check{color:var(--accent)}.luna-text-viewer .luna-text-viewer-copy{background-color:var(--background)}.luna-setting{color:var(--foreground);background:var(--background)}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:var(--darker-background)}.luna-setting-item.luna-setting-selected:focus{outline:0}.luna-setting-item-title{font-size:14px}.luna-setting-item-separator{border-color:var(--border)}.luna-setting-item-checkbox input{border-color:var(--border)}.luna-setting-item-checkbox input:checked{background-color:var(--accent);border-color:var(--accent)}.luna-setting-item-select .luna-setting-select select{color:var(--foreground);border-color:var(--border);background:var(--background)}.luna-setting-item-select .luna-setting-select:after{border-top-color:var(--foreground)}.luna-setting-item-button button{color:var(--accent);background:var(--background);border-color:var(--border)}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:var(--darker-background)}.luna-setting-item-button button:active{border:1px solid var(--accent)}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:var(--border)}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{background:var(--accent)}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:var(--border);background:radial-gradient(circle at center,var(--dark) 0,var(--dark) 15%,var(--light) 22%,var(--light) 100%)}.luna-box-model{background:0 0}.luna-box-model-position{color:var(--foreground)}._container{min-width:320px;pointer-events:none;position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999999;color:var(--foreground);font-family:".SFNSDisplay-Regular","Helvetica Neue","Lucida Grande","Segoe UI",Tahoma,sans-serif;font-size:14px;direction:ltr}._container._dark{color-scheme:dark}._container *{box-sizing:border-box;pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none}._container ul{list-style:none;padding:0;margin:0}._container h1,._container h2,._container h3,._container h4{margin:0}._container h2{font-size:14px}._container h2 [class*=' _icon-'],._container h2 [class^='_icon-']{font-weight:400}._hidden{display:none}._icon-disabled{opacity:.5;pointer-events:none;cursor:default!important}._icon-disabled:active{color:inherit!important}._tag-name-color{color:var(--tag-name-color)}._function-color{color:var(--function-color)}._attribute-name-color{color:var(--attribute-name-color)}._operator-color{color:var(--operator-color)}._string-color{color:var(--string-color)}`,""]),xe.exports=$e},6833:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-box-model{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;display:inline-block;color:#222;font-size:12px;text-align:center;white-space:nowrap}.luna-box-model.luna-box-model-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-box-model.luna-box-model-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-box-model .luna-box-model-hidden,.luna-box-model.luna-box-model-hidden{display:none}.luna-box-model .luna-box-model-invisible,.luna-box-model.luna-box-model-invisible{visibility:hidden}.luna-box-model *{box-sizing:border-box}.luna-box-model.luna-box-model-theme-dark{color:#a5a5a5;background-color:#242424}.luna-box-model-label{position:absolute;margin-left:3px;padding:0 2px}.luna-box-model-bottom,.luna-box-model-left,.luna-box-model-right,.luna-box-model-top{display:inline-block}.luna-box-model-left,.luna-box-model-right{vertical-align:middle}.luna-box-model-border,.luna-box-model-content,.luna-box-model-margin,.luna-box-model-padding,.luna-box-model-position{position:relative;display:inline-block;text-align:center;vertical-align:middle;padding:3px;margin:3px}.luna-box-model-position{border:1px grey dotted}.luna-box-model-margin{color:#333;border:1px dashed;background:rgba(246,178,107,.66)}.luna-box-model-border{color:#333;border:1px #000 solid;background:rgba(255,229,153,.66)}.luna-box-model-padding{color:#333;border:1px grey dashed;background:rgba(147,196,125,.55)}.luna-box-model-content{color:#333;border:1px grey solid;min-width:100px;background:rgba(111,168,220,.66)}",""]),xe.exports=$e},9327:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`@font-face{font-family:luna-console-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAasAAsAAAAACnAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAI4AAADcIsYnIk9TLzIAAAGYAAAAPgAAAFZWmlGRY21hcAAAAdgAAAD2AAACyDioZ9NnbHlmAAAC0AAAAZgAAAH8Lq6nDGhlYWQAAARoAAAAMQAAADZ25cSzaGhlYQAABJwAAAAdAAAAJAgCBBRobXR4AAAEvAAAABkAAABYGAH//GxvY2EAAATYAAAAGAAAAC4J8glUbWF4cAAABPAAAAAfAAAAIAEjAFBuYW1lAAAFEAAAASkAAAIWm5e+CnBvc3QAAAY8AAAAcAAAAJ7qA/7MeJxNjTsOwjAQRJ8TJzE2hPBrKBBHQByAAiGqFBRcIBVCiqhyBA7O2AgRr9Y7M2+lxQCeAyeyy7W9U/fd8GKL5fsiH2vTPx8d7ufEbJpO/aagYc+RM7fEjBKnmiRuySmZUTNNf0wybYSRj9VoO4iU7NQh+Up8qelZs5EupP75Shfm2oz3Kmkvt/gARcgJKwAAeJxjYGQUZ5zAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHGHQ/srGAuDEsTGBhRhABALQ1CMwAAHiczdJNbsIwEIbh1+QHQsJviNRFF1XX7aEQRZQNRQjEHXqgrnopn4B+E8+qqip117GeRB4nk4lloAAyeZIcwicBiw9lQ5/PGPf5nHfNV8yVyXlmzZY9R05cuMbydtOqZTfsOCh7Vjb02e8RVMXGHfc8aDxqwFKVF7QMtdLpmzUVDSOmTJjpnUH/3YJSBcofqv4Wyz8+b6FuWvXSjW1SV30r1sl/icYuofFZh+1+Yn+7dnPZuIW8uFa2big7t5JXZzX3znbh4Gp5c5UcnfVyciM5u6lc3ESuTnsZQ2JnLQ4S7J4ldjZjntj5jEVi5zaWCeUXWN4q9AAAeJxdUMFOU0EUnTMzb2o1FB5O5wENg31k5mExVEo7jSGBEuO6CStDmtbIBuiKBYg/gRu/ABO3/ocscOEXsHBpogtWvFfnvQgxJnduztx7zknuIXQyIYSDE9IgLwmBmIZI1pDYbTSxBqeW4KvrVKSmaaRKFZREE7YJIyONSLW6W37bLiRxscXNTH1zbnFqlnJ5Eu+G9MnT8JBy9l69ELx69Ohd9JCryrwcU07TbCU5H4y+jQbnyco/EF+8x1/eaX03bCzR8IgGwVn0WC/I8YOzaLGS+4+p4K8O/lcXkPhj/CP0ig1JQIhJyugCxz3o7LqH4YUH0L3swlMK3q+CV/HMbhkJAqlarm1jgd+97DpnfsKPeH15eT2+l9L5OJ/kcjZJfY6MU++wQPzI+PRECUJjo97aAtqupaqhFLHtRLHNf1Kwn9lAOid9L7tV9nzVldNL3dC+NmrGOGM+sme2VrO335Mda3foXlXravY57zemY23HkLs72RsW5JegDjZK99FnPPtwl8FX1i92IfAax6yfvkWf/AHb1F1JeJxjYGRgYABi3/mPYuP5bb4ycLOABKI4H+9rgNH//zIwsDCzMAElOBhAJAMAQ2IK+QAAAHicY2BkYGBhAAEWhv9///9lYWZgZEAFYgBbLQQgAAAAeJxjYGBgYGH4/58FTIPZf2FsSgAAM58EEwAAAHicY2AAgjyGJoYlDI8YPjD8ww8BeTMTR3icY2BkYGAQY3BhYGYAASYg5gJCBob/YD4DABGFAXQAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxtxksOgjAUQNF3kaIW/x9cBYtqgEAnLXlp0+1rwtQzuVcq2Vj5r6NiR42hYc+BI5aWE2cuXLlx58GTF286PmIm1ajGhzWnJub0S12cBjs4nVI/xhLabdXPS2JCiXgCK5lEwTHQMzKziHwBqnYYpg==') format('woff')}[class*=' luna-console-icon-'],[class^=luna-console-icon-]{display:inline-block;font-family:luna-console-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-console-icon-error:before{content:'\\f101'}.luna-console-icon-input:before{content:'\\f102'}.luna-console-icon-output:before{content:'\\f103'}.luna-console-icon-warn:before{content:'\\f104'}.luna-console-icon-caret-down:before{content:'\\f105'}.luna-console-icon-caret-right:before{content:'\\f106'}.luna-console{background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;position:relative;will-change:scroll-position;cursor:default;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.luna-console.luna-console-theme-dark{background-color:#242424}.luna-console-hidden{display:none}.luna-console-fake-logs{position:absolute;left:0;top:0;pointer-events:none;visibility:hidden;width:100%}.luna-console-logs{padding-top:1px;position:absolute;width:100%}.luna-console-log-container{box-sizing:content-box}.luna-console-log-container.luna-console-selected .luna-console-log-item{background:#ecf1f8}.luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#ccdef5}.luna-console-header{white-space:nowrap;display:flex;font-size:11px;color:#545454;border-top:1px solid transparent;border-bottom:1px solid #ccc}.luna-console-header .luna-console-time-from-container{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:3px 10px}.luna-console-nesting-level{width:14px;flex-shrink:0;margin-top:-1px;margin-bottom:-1px;position:relative;border-right:1px solid #ccc}.luna-console-nesting-level.luna-console-group-closed::before{content:""}.luna-console-nesting-level::before{border-bottom:1px solid #ccc;position:absolute;top:0;left:0;margin-left:100%;width:5px;height:100%;box-sizing:border-box}.luna-console-log-item{position:relative;display:flex;border-top:1px solid transparent;border-bottom:1px solid #ccc;margin-top:-1px;color:#333}.luna-console-log-item:after{content:"";display:block;clear:both}.luna-console-log-item .luna-console-code{display:inline;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.luna-console-log-item .luna-console-code .luna-console-keyword{color:#881280}.luna-console-log-item .luna-console-code .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-code .luna-console-operator{color:gray}.luna-console-log-item .luna-console-code .luna-console-comment{color:#236e25}.luna-console-log-item .luna-console-code .luna-console-string{color:#1a1aa6}.luna-console-log-item a{color:#15c!important}.luna-console-log-item .luna-console-icon-container{margin:0 -6px 0 10px}.luna-console-log-item .luna-console-icon-container .luna-console-icon{line-height:20px;font-size:12px;color:#333;position:relative}.luna-console-log-item .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-log-item .luna-console-icon-container .luna-console-icon-caret-right{top:0;left:-2px}.luna-console-log-item .luna-console-icon-container .luna-console-icon-error{top:0;color:#ef3842}.luna-console-log-item .luna-console-icon-container .luna-console-icon-warn{top:0;color:#e8a400}.luna-console-log-item .luna-console-count{background:#8097bd;color:#fff;padding:2px 4px;border-radius:10px;font-size:12px;float:left;margin:1px -6px 0 10px}.luna-console-log-item .luna-console-log-content-wrapper{flex:1;overflow:hidden}.luna-console-log-item .luna-console-log-content{padding:3px 0;margin:0 10px;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:pre-wrap;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-console-log-item .luna-console-log-content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-console-log-item .luna-console-log-content>*{vertical-align:top}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#5e5e5e}.luna-console-log-item .luna-console-log-content .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:#0d22aa}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#881391}.luna-console-log-item .luna-console-data-grid,.luna-console-log-item .luna-console-dom-viewer{white-space:initial}.luna-console-log-item.luna-console-error{z-index:50;background:#fff0f0;color:red;border-top:1px solid #ffd6d6;border-bottom:1px solid #ffd6d6}.luna-console-log-item.luna-console-error .luna-console-stack{padding-left:1.2em;white-space:nowrap}.luna-console-log-item.luna-console-error .luna-console-count{background:red}.luna-console-log-item.luna-console-debug{z-index:20}.luna-console-log-item.luna-console-input{border-bottom-color:transparent}.luna-console-log-item.luna-console-warn{z-index:40;color:#5c5c00;background:#fffbe5;border-top:1px solid #fff5c2;border-bottom:1px solid #fff5c2}.luna-console-log-item.luna-console-warn .luna-console-count{background:#e8a400}.luna-console-log-item.luna-console-info{z-index:30}.luna-console-log-item.luna-console-group,.luna-console-log-item.luna-console-groupCollapsed{font-weight:700}.luna-console-preview{display:inline-block}.luna-console-preview .luna-console-preview-container{display:flex;align-items:center}.luna-console-preview .luna-console-json{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-left:12px}.luna-console-preview .luna-console-preview-icon-container{display:block}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon{position:relative;font-size:12px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-down{top:2px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-right{top:1px}.luna-console-preview .luna-console-preview-content-container{word-break:break-all}.luna-console-preview .luna-console-descriptor,.luna-console-preview .luna-console-object-preview{font-style:italic}.luna-console-preview .luna-console-key{color:#881391}.luna-console-preview .luna-console-number{color:#1c00cf}.luna-console-preview .luna-console-null{color:#5e5e5e}.luna-console-preview .luna-console-string{color:#c41a16}.luna-console-preview .luna-console-boolean{color:#0d22aa}.luna-console-preview .luna-console-special{color:#5e5e5e}.luna-console-theme-dark{color-scheme:dark}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item{background:#29323d}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#4173b4}.luna-console-theme-dark .luna-console-log-item{color:#a5a5a5;border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-keyword{color:#e36eec}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-operator{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-comment{color:#747474}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-log-item.luna-console-error{background:#290000;color:#ff8080;border-top-color:#5c0000;border-bottom-color:#5c0000}.luna-console-theme-dark .luna-console-log-item.luna-console-error .luna-console-count{background:#ff8080}.luna-console-theme-dark .luna-console-log-item.luna-console-warn{color:#ffcb6b;background:#332a00;border-top-color:#650;border-bottom-color:#650}.luna-console-theme-dark .luna-console-log-item .luna-console-count{background:#42597f;color:#949494}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-boolean,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#e36eec}.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-right{color:#9aa0a6}.luna-console-theme-dark .luna-console-header{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level{border-right-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level::before{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-preview .luna-console-key{color:#e36eec}.luna-console-theme-dark .luna-console-preview .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-null{color:#7f7f7f}.luna-console-theme-dark .luna-console-preview .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-preview .luna-console-boolean{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-special{color:#7f7f7f}`,""]),xe.exports=$e},4987:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,'.luna-data-grid{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;font-size:12px;border:1px solid #ccc;overflow:hidden;outline:0}.luna-data-grid.luna-data-grid-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-data-grid.luna-data-grid-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-data-grid .luna-data-grid-hidden,.luna-data-grid.luna-data-grid-hidden{display:none}.luna-data-grid .luna-data-grid-invisible,.luna-data-grid.luna-data-grid-invisible{visibility:hidden}.luna-data-grid *{box-sizing:border-box}.luna-data-grid.luna-data-grid-theme-dark{color:#a5a5a5;background-color:#242424}.luna-data-grid.luna-data-grid-theme-dark{color:#a5a5a5;background:#242424;border-color:#3d3d3d}.luna-data-grid table{width:100%;height:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.luna-data-grid td,.luna-data-grid th{padding:1px 4px;border-left:1px solid #ccc;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.luna-data-grid td:first-child,.luna-data-grid th:first-child{border-left:none}.luna-data-grid th{font-weight:400;border-bottom:1px solid #ccc;text-align:left;background:#f3f3f3}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{background:#e6e6e6}.luna-data-grid td{height:20px;cursor:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-data-grid:focus .luna-data-grid-node.luna-data-grid-selected{color:#fff;background:#1a73e8}.luna-data-grid:focus.luna-data-grid-theme-dark .luna-data-grid-node.luna-data-grid-selected{background:#0e639c}.luna-data-grid-data-container,.luna-data-grid-header-container{overflow:hidden}.luna-data-grid-header-container{height:21px}.luna-data-grid-data-container{overflow-y:auto}.luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#ddd}.luna-data-grid-data-container tr:nth-child(even){background:#f2f7fd}.luna-data-grid-filler-row td{height:auto}.luna-data-grid-resizer{position:absolute;top:0;bottom:0;width:5px;z-index:500;touch-action:none;cursor:col-resize}.luna-data-grid-resizing{cursor:col-resize!important}.luna-data-grid-resizing .luna-data-grid *{cursor:col-resize!important}.luna-data-grid-theme-dark{color-scheme:dark}.luna-data-grid-theme-dark td,.luna-data-grid-theme-dark th{border-color:#3d3d3d}.luna-data-grid-theme-dark th{background:#292a2d}.luna-data-grid-theme-dark th.luna-data-grid-sortable:hover{background:#303030}.luna-data-grid-theme-dark .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#393939}.luna-data-grid-theme-dark .luna-data-grid-data-container tr:nth-child(even){background:#0b2544}',""]),xe.exports=$e},8903:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-dom-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAASgAAsAAAAAB4QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFwAAACMIRYl8k9TLzIAAAFkAAAAPQAAAFZLxUkaY21hcAAAAaQAAADHAAACWBcU1KRnbHlmAAACbAAAAC4AAAAwabU7V2hlYWQAAAKcAAAALwAAADZzjr4faGhlYQAAAswAAAAYAAAAJAFyANdobXR4AAAC5AAAABAAAAA4AZAAAGxvY2EAAAL0AAAAEAAAAB4AnACQbWF4cAAAAwQAAAAfAAAAIAEZAA9uYW1lAAADJAAAASkAAAIWm5e+CnBvc3QAAARQAAAATgAAAG5m1cqleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiC2AdNMDGwMckCSGyzHCuSxA2kuIJ+HgReoggtJnANMcwJFGRmYAXZLBkt4nGNgZJBlnMDAysDAUMfQAyRloHQCAyeDMQMDEwMrMwNWEJDmmsJwgEH3IxPDCSBXCEwyMDCCCABbzwhtAAAAeJy1kksKwjAQhr/0oX0JLlyIZ9BDCQXtRkEEwQO56uV6Av0nmZWI4MIJX2H+JvNIBiiBXGxFAWEkYPaQGqKe00S94C5/xVJKwY49PQNnLly5Tdnzqb9JPXByNUT13YKipLVm4wvmilvR0ilfrboKFsy0N9OB2Yco32z+437SLVTQdo05dUksgF8z/8+6+B3dU2m67YR1u3fsLXtH7egtEq04OhZpcKzbk1OLs2NzcXE0F3rNhOW9ObqbKSRsVqYsQfYC6fYeiQB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOLeSTNM4/ltvjJwM5wACkRxPt7XgKCBYCXDMiDJwcAE4gAAQEgKxAB4nGNgZGBgOMHAACdXMjAyoAI+ADixAkp4nGNgAIITUEwCAABMyAGReJxjYAACHgYJ7BAADsoBLXicY2BkYGDgY2BmANEMDExAzAWEDAz/wXwGAAomASkAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxk0KgCAUAOE3/adlJ/FQgqBuFETw+i2kTd9mRiYZvv4ZJmYWVjZ2Dk4UmosbwyPK1Vq69aVnPbamEBuOSqFj8WQSgUgTeQGPtA2iAAA=') format('woff')}[class*=' luna-dom-viewer-icon-'],[class^=luna-dom-viewer-icon-]{display:inline-block;font-family:luna-dom-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-dom-viewer-icon-arrow-down:before{content:'\\f101'}.luna-dom-viewer-icon-arrow-right:before{content:'\\f102'}.luna-dom-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:0 0;overflow-x:hidden;word-wrap:break-word;padding:0 0 0 12px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;cursor:default;list-style:none}.luna-dom-viewer.luna-dom-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-viewer.luna-dom-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-viewer .luna-dom-viewer-hidden,.luna-dom-viewer.luna-dom-viewer-hidden{display:none}.luna-dom-viewer .luna-dom-viewer-invisible,.luna-dom-viewer.luna-dom-viewer-invisible{visibility:hidden}.luna-dom-viewer *{box-sizing:border-box}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#a5a5a5;background-color:#242424}.luna-dom-viewer ul{list-style:none}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#e8eaed}.luna-dom-viewer-toggle{min-width:12px;margin-left:-12px}.luna-dom-viewer-icon-arrow-down,.luna-dom-viewer-icon-arrow-right{position:absolute!important;font-size:12px!important}.luna-dom-viewer-tree-item{line-height:16px;min-height:16px;position:relative;z-index:10;outline:0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection,.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{display:block}.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#f2f7fd}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#e0e0e0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#cfe8fc}.luna-dom-viewer-tree-item .luna-dom-viewer-icon-arrow-down{display:none}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-arrow-down{display:inline-block}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-arrow-right{display:none}.luna-dom-viewer-html-tag{color:#881280}.luna-dom-viewer-tag-name{color:#881280}.luna-dom-viewer-attribute-name{color:#994500}.luna-dom-viewer-attribute-value{color:#1a1aa6}.luna-dom-viewer-attribute-value.luna-dom-viewer-attribute-underline{text-decoration:underline}.luna-dom-viewer-html-comment{color:#236e25}.luna-dom-viewer-selection{position:absolute;display:none;left:-10000px;right:-10000px;top:0;bottom:0;z-index:-1}.luna-dom-viewer-children{margin:0;overflow-x:visible;overflow-y:visible;padding-left:15px}.luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#881280}.luna-dom-viewer-text-node .luna-dom-viewer-number{color:#1c00cf}.luna-dom-viewer-text-node .luna-dom-viewer-operator{color:grey}.luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#236e25}.luna-dom-viewer-text-node .luna-dom-viewer-string{color:#1a1aa6}.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-arrow-down,.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-arrow-right{color:#9aa0a6}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-tag,.luna-dom-viewer-theme-dark .luna-dom-viewer-tag-name{color:#5db0d7}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-name{color:#9bbbdc}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-value{color:#f29766}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-comment{color:#898989}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#083c69}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#454545}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#073d69}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#e36eec}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-number{color:#9980ff}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:#7f7f7f}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#747474}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-string{color:#f29766}",""]),xe.exports=$e},5512:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`@font-face{font-family:luna-modal-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAQwAAsAAAAABpQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAEkAAABoILgliE9TLzIAAAFUAAAAPQAAAFZL+0kZY21hcAAAAZQAAACBAAAB3sqmCy5nbHlmAAACGAAAAC0AAAA0Ftcaz2hlYWQAAAJIAAAALgAAADZzhL4YaGhlYQAAAngAAAAYAAAAJAFoANBobXR4AAACkAAAAA8AAAAcAMgAAGxvY2EAAAKgAAAADgAAABAATgBObWF4cAAAArAAAAAfAAAAIAESABhuYW1lAAAC0AAAASkAAAIWm5e+CnBvc3QAAAP8AAAAMQAAAEOplauDeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiCWgNIsQMzKwAykWRnYgGxGBiYAk+wFgwAAAHicY2BkkGWcwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAIfkjI8MJIFcITDIwMIIIAGAqCKIAAAB4nM2RQQqDQAxFXxyVUsST9DhduBd3ggsv0JX39QT6kwYED1D6hzeQD0nmM0ADFPESNdiG4frItfALz/Br3qp7HlS0jEzMLKy7HYf8e33J1HMdortoWuPzreUX8p2hEikj9f+oi3vIyl86JpWYEvfnxH9sSTzPmijXbl+wE7urE5sAAAB4nGNgZACB+UDIzcBgrs6uzi7OLm4ubq4+j1tfn1tPD0xOhjGAJAMDAKekBtMAAAB4nGNgZGBgAGLPuE0l8fw2Xxm4GU4ABaI4H+9rQNBAMB8IGRg4GJhAHAA5KgqUAAB4nGNgZGBgOMHAACfnMzAyoAJ2ADfsAjl4nGNgAIITDFgBABIUAMkAeJxjYAACKQQEAAO4AJ0AAHicY2BkYGBgZ+BhANEMDExAzAWEDAz/wXwGAApKASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxjYGKAABiNDtgZmRiZGVkYWRnZGNkZORhYk3Pyi1MZkxlzGPMZixlTGRgANIEEbAAAAA==') format('woff')}[class*=' luna-modal-icon-'],[class^=luna-modal-icon-]{display:inline-block;font-family:luna-modal-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-modal-icon-close:before{content:'\\f101'}.luna-modal{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center}.luna-modal.luna-modal-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-modal.luna-modal-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-modal .luna-modal-hidden,.luna-modal.luna-modal-hidden{display:none}.luna-modal .luna-modal-invisible,.luna-modal.luna-modal-invisible{visibility:hidden}.luna-modal *{box-sizing:border-box}.luna-modal.luna-modal-theme-dark{color:#a5a5a5;background-color:#242424}.luna-modal-icon-close{position:absolute;right:16px;top:18px;cursor:pointer;font-size:20px}.luna-modal-body{position:relative;background:#fff;max-height:100%;display:flex;flex-direction:column;border-radius:4px}.luna-modal-body.luna-modal-no-title{position:static}.luna-modal-body.luna-modal-no-title .luna-modal-title{display:none}.luna-modal-body.luna-modal-no-title .luna-modal-icon-close{color:#fff}.luna-modal-body.luna-modal-no-footer .luna-modal-footer{display:none}.luna-modal-hidden{display:none}.luna-modal-title{padding:16px;padding-right:36px;padding-bottom:0;font-size:18px;height:46px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-modal-content{padding:16px;overflow-y:auto}.luna-modal-footer{padding:12px}.luna-modal-button-group{display:flex;justify-content:flex-end}.luna-modal-button{padding:0 12px;background:#e9ecef;cursor:default;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 4px;font-size:12px;border-radius:4px;overflow:hidden;height:28px;line-height:28px}.luna-modal-button:active::before{background:#1a73e8;content:"";opacity:.4;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.luna-modal-button.luna-modal-secondary{color:#1a73e8;border:1px solid #ccc;background:#fff}.luna-modal-button.luna-modal-primary{color:#fff;background:#1a73e8}.luna-modal-input{box-sizing:border-box;outline:0;width:100%;font-size:16px;padding:6px 12px;border:1px solid #ccc;-webkit-appearance:none;-moz-appearance:none}.luna-modal-theme-dark{color:#a5a5a5}.luna-modal-theme-dark .luna-modal-body{background:#242424}`,""]),xe.exports=$e},7591:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-notification{position:fixed;top:0;left:0;width:100%;height:100%;padding:20px;box-sizing:border-box;pointer-events:none;display:flex;flex-direction:column;font-size:14px;font-family:Arial,Helvetica,sans-serif}.luna-notification-item{display:flex;box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1);padding:10px 16px;color:#333;background:#fff}.luna-notification-lower{margin-top:16px}.luna-notification-upper{margin-bottom:16px}.luna-notification-theme-dark .luna-notification-item{box-shadow:0 2px 2px 0 rgba(255,255,255,.07),0 1px 5px 0 rgba(255,255,255,.1);color:#a5a5a5;background:#242424}",""]),xe.exports=$e},4821:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-object-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS8AAsAAAAAB7QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAGEAAACMISgl+k9TLzIAAAFsAAAAPQAAAFZLxUkWY21hcAAAAawAAADWAAACdBU42qdnbHlmAAAChAAAAC4AAAAwabU7V2hlYWQAAAK0AAAALwAAADZzjr4faGhlYQAAAuQAAAAYAAAAJAFyANlobXR4AAAC/AAAABAAAABAAZAAAGxvY2EAAAMMAAAAEAAAACIAtACobWF4cAAAAxwAAAAfAAAAIAEbAA9uYW1lAAADPAAAASkAAAIWm5e+CnBvc3QAAARoAAAAUwAAAHZW8MNZeJxNjTsOQFAQRc/z/+sV1mABohKV0gZeJRJR2X9cT4RJZu7nFIMBMjoGvHGaF6rdngcNAc/c/O/Nvq2W5E1igdNE2zv1iGh1c5FQPlYXUlJRyxt9+/pUKadQa/AveGEGZQAAAHicY2BkkGScwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAQfcjE8MJIFcITDIwMIIIAFqDCGkAAAB4nM2STQ4BQRCFv54ZP8MwFhYW4gQcShBsSERi50BWDuFCcwJedddKRGKnOt8k9aanqudVAy0gF3NRQLgTsLhJDVHP6UW94Kp8zEhKwYIlG/YcOXHm0mTPp96aumLLwdUQ1fcIqmJrwpSZL+iqak5JmyE1Ayr1bdGhr/2ZPmp/qPQtuj/uJzqQl+pfDyypesQD6AT/ElV8PjyrMccT9rdLR3PUFBI227VTio1jbm6dodg5VnPvmAsHxzofHfmi+Sbs/pwdWcXFkWdNSNg9arIE2QufuSCyAAB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOINe2b6x/PbfGXgZjgBFIjifLyvAUEDwUqGZUCSg4EJxAEAUn4LLAB4nGNgZGBgOMHAACdXMjAyoAIBADizAkx4nGNgAIITUEwGAABZUAGReJxjYAACHgYJ3BAAE94BXXicY2BkYGAQYGBmANEMDExAzAWEDAz/wXwGAApcASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxjkOgCAUANE/uOOGB+FQBIjaaEJIuL6FsfE1M6Lk9fXPoKioaWjp6BnQjEzMLKwYNtHepZhtuMs1vpvO/ch4HIlIxhK4KVyc7BwiD8nvDlkA') format('woff')}[class*=' luna-object-viewer-icon-'],[class^=luna-object-viewer-icon-]{display:inline-block;font-family:luna-object-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-object-viewer-icon-caret-down:before{content:'\\f101'}.luna-object-viewer-icon-caret-right:before{content:'\\f102'}.luna-object-viewer{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;cursor:default;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.2;min-height:100%;color:#333;list-style:none!important}.luna-object-viewer ul{list-style:none!important;padding:0!important;padding-left:12px!important;margin:0!important}.luna-object-viewer li{position:relative;white-space:nowrap;line-height:16px;min-height:16px}.luna-object-viewer>li>.luna-object-viewer-key{display:none}.luna-object-viewer span{position:static!important}.luna-object-viewer li .luna-object-viewer-collapsed~.luna-object-viewer-close:before{color:#999}.luna-object-viewer-array .luna-object-viewer-object .luna-object-viewer-key{display:inline}.luna-object-viewer-null{color:#5e5e5e}.luna-object-viewer-regexp,.luna-object-viewer-string{color:#c41a16}.luna-object-viewer-number{color:#1c00cf}.luna-object-viewer-boolean{color:#0d22aa}.luna-object-viewer-special{color:#5e5e5e}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:#881391}.luna-object-viewer-key-lighter{opacity:.6}.luna-object-viewer-key-special{color:#5e5e5e}.luna-object-viewer-collapsed .luna-object-viewer-icon,.luna-object-viewer-expanded .luna-object-viewer-icon{position:absolute!important;left:-12px;color:#727272;font-size:12px}.luna-object-viewer-icon-caret-right{top:0}.luna-object-viewer-icon-caret-down{top:1px}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-down{display:inline}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-right{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-down{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-right{display:inline}.luna-object-viewer-hidden~ul{display:none}.luna-object-viewer-theme-dark{color:#fff}.luna-object-viewer-theme-dark .luna-object-viewer-null,.luna-object-viewer-theme-dark .luna-object-viewer-special{color:#a1a1a1}.luna-object-viewer-theme-dark .luna-object-viewer-regexp,.luna-object-viewer-theme-dark .luna-object-viewer-string{color:#f28b54}.luna-object-viewer-theme-dark .luna-object-viewer-boolean,.luna-object-viewer-theme-dark .luna-object-viewer-number{color:#9980ff}.luna-object-viewer-theme-dark .luna-object-viewer-key,.luna-object-viewer-theme-dark .luna-object-viewer-key-lighter{color:#5db0d7}",""]),xe.exports=$e},7871:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`.luna-setting{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;min-width:320px}.luna-setting.luna-setting-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-setting.luna-setting-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-setting .luna-setting-hidden,.luna-setting.luna-setting-hidden{display:none}.luna-setting .luna-setting-invisible,.luna-setting.luna-setting-invisible{visibility:hidden}.luna-setting *{box-sizing:border-box}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:#f3f3f3}.luna-setting-item.luna-setting-selected:focus{outline:1px solid #1a73e8}.luna-setting-item .luna-setting-title{line-height:1.4em;font-weight:600}.luna-setting-item .luna-setting-description{line-height:1.4em}.luna-setting-item .luna-setting-description *{margin:0}.luna-setting-item .luna-setting-description strong{font-weight:600}.luna-setting-item .luna-setting-description a{background-color:transparent;color:#0969da;text-decoration:none}.luna-setting-item .luna-setting-control,.luna-setting-item .luna-setting-description{font-size:12px}.luna-setting-item .luna-setting-description{margin-bottom:8px}.luna-setting-item .luna-setting-control{display:flex;align-items:center}.luna-setting-item-button,.luna-setting-item-checkbox,.luna-setting-item-input,.luna-setting-item-number,.luna-setting-item-select,.luna-setting-item-title{padding:10px}.luna-setting-item-title{font-size:18px;font-weight:600}.luna-setting-item-input input{-webkit-tap-highlight-color:transparent;color:#333;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;outline:0;padding:2px 8px;border-radius:0;font-size:14px;background:#fff;width:100%}.luna-setting-item-number input[type=number]{-webkit-tap-highlight-color:transparent;color:#333;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;outline:0;padding:2px 8px;border-radius:0;font-size:14px;background:#fff;width:200px;padding:2px}.luna-setting-item-number .luna-setting-range-container{flex:2;position:relative;top:1px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track{height:4px;width:100%;padding:0 10px;position:absolute;left:0;top:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#ccc;border-radius:2px;overflow:hidden;width:100%;height:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{height:100%;background:#1a73e8;width:50%}.luna-setting-item-number .luna-setting-range-container input{-webkit-appearance:none;background:0 0;height:4px;width:100%;position:relative;top:-3px;margin:0 auto;outline:0;border-radius:2px}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{-webkit-appearance:none;position:relative;top:0;z-index:1;width:16px;border:none;height:16px;border-radius:10px;border:1px solid #ccc;background:radial-gradient(circle at center,#eee 0,#eee 15%,#fff 22%,#fff 100%)}.luna-setting-item-checkbox input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;border:1px solid #ccc;border-radius:0;position:relative;outline:0;margin-left:0;margin-right:8px;transition:background-color .1s;align-self:flex-start;flex-shrink:0}.luna-setting-item-checkbox input:checked{background-color:#1a73e8;border-color:#1a73e8}.luna-setting-item-checkbox input:checked:after{content:"";width:100%;height:100%;position:absolute;left:0;top:0;background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjZmZmZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgdmVyc2lvbj0iMS4xIiB4PSIwcHgiIHk9IjBweCI+PHRpdGxlPmljb25fYnlfUG9zaGx5YWtvdjEwPC90aXRsZT48ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz48ZyBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsPSIjZmZmZmZmIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNi4wMDAwMDAsIDI2LjAwMDAwMCkiPjxwYXRoIGQ9Ik0xNy45OTk5ODc4LDMyLjQgTDEwLjk5OTk4NzgsMjUuNCBDMTAuMjI2Nzg5MSwyNC42MjY4MDE0IDguOTczMTg2NDQsMjQuNjI2ODAxNCA4LjE5OTk4Nzc5LDI1LjQgTDguMTk5OTg3NzksMjUuNCBDNy40MjY3ODkxNCwyNi4xNzMxOTg2IDcuNDI2Nzg5MTQsMjcuNDI2ODAxNCA4LjE5OTk4Nzc5LDI4LjIgTDE2LjU4NTc3NDIsMzYuNTg1Nzg2NCBDMTcuMzY2ODIyOCwzNy4zNjY4MzUgMTguNjMzMTUyOCwzNy4zNjY4MzUgMTkuNDE0MjAxNCwzNi41ODU3ODY0IEw0MC41OTk5ODc4LDE1LjQgQzQxLjM3MzE4NjQsMTQuNjI2ODAxNCA0MS4zNzMxODY0LDEzLjM3MzE5ODYgNDAuNTk5OTg3OCwxMi42IEw0MC41OTk5ODc4LDEyLjYgQzM5LjgyNjc4OTEsMTEuODI2ODAxNCAzOC41NzMxODY0LDExLjgyNjgwMTQgMzcuNzk5OTg3OCwxMi42IEwxNy45OTk5ODc4LDMyLjQgWiI+PC9wYXRoPjwvZz48L2c+PC9nPjwvc3ZnPg==);background-size:30px;background-repeat:no-repeat;background-position:center}.luna-setting-item-checkbox label{-webkit-tap-highlight-color:transparent}.luna-setting-item-checkbox label *{margin:0}.luna-setting-item-select .luna-setting-select{position:relative}.luna-setting-item-select .luna-setting-select select{margin:0;font-size:14px;background:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;padding:2px 8px;padding-right:18px;outline:0;color:#333;border-radius:0;-webkit-tap-highlight-color:transparent}.luna-setting-item-select .luna-setting-select:after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #333;position:absolute;top:0;bottom:0;right:6px;margin:auto;pointer-events:none}.luna-setting-item-select .luna-setting-select select{width:300px}.luna-setting-item-button button{-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #ccc;padding:2px 8px;color:#1a73e8;font-size:14px;border-radius:2px}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:#f3f3f3}.luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-item-separator{border-bottom:1px solid #ccc}.luna-setting-theme-dark{color-scheme:dark;color:#a5a5a5;background:#242424}.luna-setting-theme-dark .luna-setting-item.luna-setting-selected,.luna-setting-theme-dark .luna-setting-item:hover{background:#292a2d}.luna-setting-theme-dark .luna-setting-item .luna-setting-description a{background-color:transparent;color:#58a6ff}.luna-setting-theme-dark .luna-setting-item-separator{border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-input input{background:#3d3d3d;border-color:#3d3d3d;color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-checkbox input{border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select select{color:#a5a5a5;border-color:#3d3d3d;background:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select:after{border-top-color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-button button{background:#242424;border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-button button:active,.luna-setting-theme-dark .luna-setting-item-button button:hover{background:#292a2d}.luna-setting-theme-dark .luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-theme-dark .luna-setting-item-number input[type=number]{background:#3d3d3d;border-color:#3d3d3d;color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:#3d3d3d;background:radial-gradient(circle at center,#aaa 0,#aaa 15%,#ccc 22%,#ccc 100%)}`,""]),xe.exports=$e},2156:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-tab{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;overflow:hidden;width:100%}.luna-tab.luna-tab-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-tab.luna-tab-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-tab .luna-tab-hidden,.luna-tab.luna-tab-hidden{display:none}.luna-tab .luna-tab-invisible,.luna-tab.luna-tab-invisible{visibility:hidden}.luna-tab *{box-sizing:border-box}.luna-tab.luna-tab-theme-dark{color:#a5a5a5;background-color:#242424}.luna-tab-tabs-container{border-bottom:1px solid #ccc}.luna-tab-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;width:100%;height:100%;font-size:0;white-space:nowrap}.luna-tab-tabs::-webkit-scrollbar{display:none;width:0;height:0}.luna-tab-item{cursor:pointer;display:inline-block;padding:0 10px;font-size:12px;text-align:center;text-transform:capitalize}.luna-tab-item:hover{background:#f3f3f3}.luna-tab-slider{transition:left .3s,width .3s;height:1px;background:#1a73e8;position:absolute;bottom:0;left:0}",""]),xe.exports=$e},5777:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-text-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS0AAsAAAAAB2QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFQAAAB0INElr09TLzIAAAFcAAAAPQAAAFZL+0klY21hcAAAAZwAAACfAAACEAEewxRnbHlmAAACPAAAAIYAAACkNSDggmhlYWQAAALEAAAALgAAADZzrb4oaGhlYQAAAvQAAAAWAAAAJAGRANNobXR4AAADDAAAABAAAAAoAZAAAGxvY2EAAAMcAAAAEAAAABYBWgFIbWF4cAAAAywAAAAdAAAAIAEXADtuYW1lAAADTAAAASkAAAIWm5e+CnBvc3QAAAR4AAAAOwAAAFJIWdOleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBWAdNMDGwMQkAWK1CGlYEZyGMCstiBMpxAUUYGZgDbGgXDeJxjYGTQYJzAwMrAwFDH0AMkZaB0AgMngzEDAxMDKzMDVhCQ5prCcIAh+SMTwwkgVwhMMjAwgggAY84IrgAAAHicvZFLCsMwDERHzsdJ6aL0HD1VQiDQRbIN9Axd9aI+QTpjq5Bdd5F4Bo1lybIBNAAq8iA1YB8YZG+qlvUKl6zXGBjf6MofMWHGEyu2FPb9oCxULCtHs3yy+J2urg1rtojo0HM/MKnFGabOGlbdYvdT+1N6/7drXl8e6Vajo3efHP3b7HAUvntBMy1OJKujMTeHNZMV9McpFBC+tLgY4QB4nGNgZACBEwzrGdgZGOwZxdnVDdXNPfKEGlhchO0KhZtZ3IQYmMFq1jCsZpBi0GLQY2AwNzGzZjQSk2UUYdNmVFID8UyVRUXYlNRMlVGlTM1FjU3tmZkTmVhYmFRBhHwoCyuzKgtTIjMzWJg3ZClIGMRlZQmVB7GhMixM0aGhQIsB52sTqgAAeJxjYGRgYADi2JNxkvH8Nl8ZuBlOAAWiOB/va0DQQHCCYT2Q5GBgAnEANJ0KnQAAeJxjYGRgYDjBwIBEMjKgAi4AOvoCZQAAeJxjYACCE1CMBwAAM7gBkXicY2AAAiGGIFQIABXIAqN4nGNgZGBg4GLQZ2BmAAEmMI8LSP4H8xkADjQBUwAAAHicZZA9bsJAFITHYEgCUoIUKSmzVQoimZ+SA0BPQZfCmLUxsr3WekGiywlyhBwhp4hyghwoY/NoYC0/fzNv3u7KAAb4hYd6ebhtar1auKE6cZv0IOyTn4U76ONFuEt/KNzDG6bCfTzinTt4/h2dAUrhFu7xIdym/ynsk7+EO3jCt3CX/o9wDyv8Cffx6g3TyBSxKdxSJ/sstGd5/q60rVJTqEkwPlsLXWgbOr1R66OqDsnUuVjF1uRqzq7OMqNKa3Y6csHWuXI2GsXiB5HJkSKCQYG4qQ5LaCTYI0MIe9W91CumLSr6tVaYIMD4KrVgqmiSIZXGhsk1jqwVDjxtStcxrfhazuSkucxq3iQjK/7vurejE9EPsG2mSsww4hNf5IPmDvk/PRFeqAAAAHicXcU7CsAgFEXBe4x/l/kQBAtt3X0KSZNpRk7X91/F8eAJRBKZQqUp2Og2va19MAadyWJzpBd4kgcWAA==') format('woff')}[class*=' luna-text-viewer-icon-'],[class^=luna-text-viewer-icon-]{display:inline-block;font-family:luna-text-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-text-viewer-icon-check:before{content:'\\f101'}.luna-text-viewer-icon-copy:before{content:'\\f102'}.luna-text-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;padding:0;unicode-bidi:embed;position:relative;overflow:auto;border:1px solid #ccc}.luna-text-viewer.luna-text-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-text-viewer.luna-text-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-text-viewer .luna-text-viewer-hidden,.luna-text-viewer.luna-text-viewer-hidden{display:none}.luna-text-viewer .luna-text-viewer-invisible,.luna-text-viewer.luna-text-viewer-invisible{visibility:hidden}.luna-text-viewer *{box-sizing:border-box}.luna-text-viewer.luna-text-viewer-theme-dark{color:#d9d9d9;border-color:#3d3d3d;background:#242424}.luna-text-viewer:hover .luna-text-viewer-copy{opacity:1}.luna-text-viewer-table{display:table}.luna-text-viewer-table .luna-text-viewer-line-number,.luna-text-viewer-table .luna-text-viewer-line-text{padding:0}.luna-text-viewer-table-row{display:table-row}.luna-text-viewer-line-number{display:table-cell;padding:0 3px 0 8px!important;text-align:right;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #ccc}.luna-text-viewer-line-text{display:table-cell;padding-left:4px!important;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer-copy{background:#fff;opacity:0;position:absolute;right:5px;top:5px;border:1px solid #ccc;border-radius:4px;width:25px;height:25px;text-align:center;line-height:25px;cursor:pointer;transition:opacity .3s,top .3s}.luna-text-viewer-copy .luna-text-viewer-icon-check{color:#188037}.luna-text-viewer-text{padding:4px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;box-sizing:border-box;white-space:pre;display:block}.luna-text-viewer-text.luna-text-viewer-line-numbers{padding:0}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines{white-space:pre-wrap}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines .luna-text-viewer-line-text{word-break:break-all}.luna-text-viewer-theme-dark{color-scheme:dark}.luna-text-viewer-theme-dark .luna-text-viewer-copy,.luna-text-viewer-theme-dark .luna-text-viewer-line-number{border-color:#3d3d3d}.luna-text-viewer-theme-dark .luna-text-viewer-copy .luna-text-viewer-icon-check{color:#81c995}.luna-text-viewer-theme-dark .luna-text-viewer-copy{background-color:#242424}",""]),xe.exports=$e},5357:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:eruda-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAA6UAAsAAAAAGvAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAARoAAAHeLjoycE9TLzIAAAIkAAAAPwAAAFZWm1KoY21hcAAAAmQAAAFdAAADwhPu1O9nbHlmAAADxAAAB+wAAA9I7RPQpGhlYWQAAAuwAAAAMQAAADZ26MSyaGhlYQAAC+QAAAAdAAAAJAgEBC9obXR4AAAMBAAAAB0AAACwXAv//GxvY2EAAAwkAAAAOwAAAFpuVmoybWF4cAAADGAAAAAfAAAAIAE9AQ1uYW1lAAAMgAAAASkAAAIWm5e+CnBvc3QAAA2sAAAA5QAAAU4VMmUJeJxNkD1Ow0AQhb9NHGISCH9RiB0cErCNHRrqFFSIyqKiQHSpEFJERUnBCTgPZ+AEHIe34wDe1f69efPezOKAHldc07q5re4ZrFevL8QE1MPHm3e3fn5aEf6+FAvsDHHuTUoxd7zzwSdffLulq9wjLbaYau8TacZMONE554xzZsrtNfBEzFOhbSmOyTmga0ikvRR/37RSsSMyDukYPjWdgGOtsSK55Y/k0Bf/ksK0MrbFr70idsVZKNPnDcSay3umd2TISCvWTJSxI78lFQ/C+qbv/Zo9tNXDP55ZL7k0Q90u5F5XX0qrYx16btccCtXg/ULrKzGFuqY9rUTMhf3fkCNj+MxUnsM/frr5Qx+ZbH4vVQ0F5Q/ZQBvxAAB4nGNgZJJgnMDAysDA1Mt0hoGBoR9CM75mMGLkAIoysDIzYAUBaa4pDAcYdD+KsIC4MSxMDIxAGoQZALgnCOUAeJy1011SGlEQhuF3BFHxD5UUyr8gIJIsiiKJsSqJlrHKsJssKFeuxF6Bfj3dF96aqhzqoZnDzJyG8w2wCVTko1SheKLAx1/NFuV8hXo5X+WPjht6+fmfWHLDHQ+srfnykjMrvnPPoxXlzNtRlFc26HLBZblal1N9ntBnwIgx5/SYMaWt78+YM6TDgitduaEVq+q0xhbb7KifPQ441N2OOOaEJh9oaYka7xvdd57vQz1P+oPR+Bx6s2lbrc6H0Flc/cO9/sfY87fiOY8u8X0J/muX6VRW6UI+p4l8SX35mgZynUbyLY3lJukf0e6HnvxIM/mZpnKb2nKXvM/7dCa/0lwe0lAeU0d+p4Wsk3bBiuDptY2A10rw9Fo1eOJtM/iTYLWA162A1+2A152A13rwJ8R2g++AJaUU2w/KK3YQlFzsMCjDWCMozdhRUK6x46CEYydBWceagdYraihRngAAAHic7RdbbBxX9Z57Z2d2d2ZndryzM7ve9ax3NztjO/bann0lTuW16zoBJSWJ7Zg83NiUJCQ1Ik2ikKQJNC9FFQqVEG0RVLQoSpEKH2klqgpEIyWAUMRTNBJC/PUDhETgiwhQd8y5s1s7oqr624/srO6ce89zzjn3nHsJEPwxyn5GVEJKBTcCdc80pAiYhkjfNWL+NnhLdTKqfxVOqJlxFX6E84wb86/6X4+5GRLw0/vsOgkREoFGBFx62P/uFviBP78FWrC02d/r79vcpmMl+k2uBwwJxIILTrVeyXsmK8krRLb5YGqUaCb9ksYnMuBqMtnRcY6V1nidml6texaY9CxSRm3TtKNIjcxrUjhEWKD3OnuNJEgPKSG/I6nUpo06fxwXH8lmEoyDFQIVyrROs7254z990rj0u2PLez47WqG1yu69V7ZdfDxU9He4C6P+v+HN+vlnD9Uou0Zp+NnfvveT/XL0kbGFxT/u37tx7CTdeuGlKfiibcMr/gt9qfyu05e4+YEdb7A3iEVG0ArdEAvDIPHBqTbB7bgCDA0sdH0x3/nEHDT4YFJi9siz74iaOBkK3ZyRTRXwE+FGG15BeA0Pf14hqinP3AyFJnHhnVm5xzThmNSBNFjDdvwzw75GFJIlvWhZ1UHlYlI3zIputa3CSduiRF7P09e9on+jODpanPOKsJMDOPV2wU7/BqsVPcQ2ix41X/8ARKpbfhPVtHNgik1hXAhIlmQ1rIbbcCVIzN/7+65794KRTc13IBwJXVkhRACBkAEyhVyiBqJbRn81YRjKUDfRN9xHpoVBt0xJRZ+iS4ehZFg2utJrjCO2GrAUAizcj+c3pXpiXVQwThZmdNrbrx+hAjtjbhSF5FPyKSsqmGraWKYCbfl97vMLi79fXHje7XsAhBsoo0P35fyMPpCj+lM0FDptJexuYzl82upRufxlKgrTh/+fOwBXc+Jt9jZJBTnxUbH/yGT5j4jRT2pB9O1oO/oi3FyD2/ggU14LY/j5RuHTJIZf5LR/WVmbaB2CT6xdQa4KwJZIHPfyMFoWRNSmQZDLlJVpdRw8GwwVWEGlScOGijdOq2VKyfHDB7/d1/+d37zXeT/dXG42l7/Kh2a20pd0JpxsxTVNt8KWyuu/94Ujr+7uvFpvQXP5PCfEAU4l+6pZZ9Ix3eqGqmsGrvok28V+zi6TKEYyi/Udt0MNavkkJC1e+vQA1tGqil6EV93j/UBbY0AXm/2Vku+z53x/8MDT5879U9Nb4Cqq/yf/WEjReiECfS9+C2f/6umFS/77q3t7kp0nGu8DTrFTQrwG1KtsoHVXlnXL0qMKHTRpGbaJlt7aoVsSbO3aQFb5L7MTJElIwrBMvnWxQteCEl2QREn8Ci/Ef9i7u1IT6tX5Pb/ePV+rUXKEL3DMkUPzc6OeNzo3/6C8K2QdrzVlKAYyHhBcxGgUyoCRqXimJZXYwYO1y1tWxQWKLkyfunpqevrU5vJs4SQ02JUDw94qMlC6maORJpc9AR/Sm7C4cK7S4MoL/FNqFYy+Nw5VbpIoWaWXP0atf+fj1Lb36w12h6SxShIouuNQw+TCVDNsWvHqDStpNUoFnobUs6mhUvpmn+r2VxaeuXjmCc974vSjm44OxfytrXeH5iaKxYm5fXMThcLEHLwcGzq66dHTnObMxWcWKv2u2tfa1ipMzu7rEM5OFshqLfsFu4R9thszrVjAUoHFgH98DxRreb3CK74rMTh/bWmJTq9Pd0nCZOvsbfrYrVsTty9cOPc5Or2U6spq8rXbrbNAL9yeuHWLYuEnEiErK0JIAPIN8kNyl9wn/yUt7mioN6GGTi1jDQrypNPRxQ+8zREatnUsVtgbcDHAaZA0rc6TxOIWLPFVXLDbvYRT45CDSnBOqFhee4aTcWw8gapGnS+Z+EYrOuqh825jrY5WSVwPDSewh/OWqYueCJQFEjhELTdgcdEODjUCo5yge7lcAlJxRSgceyZyu5LFfqnaeldKlsyunnK6N6LEaUSqTSndgpZK7jC7NZaR7LGcGhXwgMNC+WFt0MxEomZcECQ9EY4JkgAQDilSNKnGuxXJ0u2hdG9YUZkiZcfWpaOWkUv0G6IaCseVVH81o0dEEClKGokassX0hKSk44PxBGOS4E8cmNk+OMSY5+2cXfz8zI4hrG4jI9tnFpW/hqKx7PCnH1O7wpFkqeANT4IUVhopPTUwnNJxzSlUzLASV+4YfUIkpoQFTYvoMUFkJgtJ/Z6VEIyymx4usdCW5CuDc9s+dZDm6GeiejTl1jN6VFKUdMHMlUIWzaQEOdyrKHIsL0VZJB0TE1rUlLvCo71yPKya3dW+ONBQRBajUdPuKoXFsBAOiYoUdx7JtSXlU3ZJNAW1O+4ktBCFqBjLJhMW97JgyonISE5kVIJQJJ6tO6nueCJj1TV/D6uMzu06tH/H44NlRr3RnbNPLu7cXh75sWOklURzi5ZI9dgqG6tuEAf0bkWX0/0j6S6+RjfaYiQsbkKHhuNdms6kUExWZNGSlJgzkjIGjPK61KjLxOvGc/1/27r9KOQe7omHe+LhnvjQnmArLTyHMYHiPbGbFLEL4Q1BxOsiHrfy2HIBz67BXQbPsVbB4TNDZP/wF4x63cAxUl/PRtbXI61f2QM2/iuZUqleKr3ABp1Mxnn/rjvpOJN0b9K2k/73+Xi/VHOcGl4qyf8AzjWNo3icY2BkYGAA4uhnXafj+W2+MnCzgASiOB/va4DR///+/8/CysIElOBgAJEMAHS2DWQAAAB4nGNgZGBgYQABFtb/f///ZWFlYGRABToAW+YEPQAAAHicY2BgYGAhiP//J6wGCbNCMcP/vwxUBgDl4QRhAAAAeJxjYAACBQYThiCGAoYtjAyMZowBjPuYuJjCmBYxvWNWYXZhzmFewfyIRYUliPUOexr7EmIhAF3rF0sAeJxjYGRgYNBhZGRgZwABJiDmAkIGhv9gPgMADcIBTAB4nGWQPW7CQBSEx2BIAlKCFCkps1UKIpmfkgNAT0GXwpi1MbK91npBossJcoQcIaeIcoIcKGPzaGAtP38zb97uygAG+IWHenm4bWq9WrihOnGb9CDsk5+FO+jjRbhLfyjcwxumwn084p07eP4dnQFK4Rbu8SHcpv8p7JO/hDt4wrdwl/6PcA8r/An38eoN08gUsSncUif7LLRnef6utK1SU6hJMD5bC11oGzq9Ueujqg7J1LlYxdbkas6uzjKjSmt2OnLB1rlyNhrF4geRyZEigkGBuKkOS2gk2CNDCHvVvdQrpi0q+rVWmCDA+Cq1YKpokiGVxobJNY6sFQ48bUrXMa34Ws7kpLnMat4kIyv+77q3oxPRD7BtpkrMMOITX+SD5g75Pz0RXqgAAAB4nG2MyW6DQBiD+RKYpKT7vqf7Gg55pNHwEyJNGDSMRHj70nKtD7Zly45G0YA0+h8LRoyJSVBMmLJDyoxd9tjngEOOOOaEU84454JLrrjmhlvuuGfOA4888cwLr7zxzgeffPHNgixKtfeuzawUYTZYv16VITXaS8hy11azwf7FibGi/dS4Te2laWLj6k7lYiVIIv3aK9nWusqng2TLsXR900m2VMXaBvFxbXWnvBjn84mXor8pk54kqKa/NmUvVkyIg3NW/VK2jFvtKzQeR0uGRSgIrFlRYsip2FDT0LGNoh/MCkh9AAAA') format('woff')}[class*=' _icon-'],[class^='_icon-']{display:inline-block;font-family:eruda-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._icon-arrow-left:before{content:'\\f101'}._icon-arrow-right:before{content:'\\f102'}._icon-caret-down:before{content:'\\f103'}._icon-caret-right:before{content:'\\f104'}._icon-clear:before{content:'\\f105'}._icon-compress:before{content:'\\f106'}._icon-copy:before{content:'\\f107'}._icon-delete:before{content:'\\f108'}._icon-error:before{content:'\\f109'}._icon-expand:before{content:'\\f10a'}._icon-eye:before{content:'\\f10b'}._icon-filter:before{content:'\\f10c'}._icon-play:before{content:'\\f10d'}._icon-record:before{content:'\\f10e'}._icon-refresh:before{content:'\\f10f'}._icon-reset:before{content:'\\f110'}._icon-search:before{content:'\\f111'}._icon-select:before{content:'\\f112'}._icon-tool:before{content:'\\f113'}._icon-warn:before{content:'\\f114'}",""]),xe.exports=$e},3645:function(xe){xe.exports=function($e){var Ie=[];return Ie.toString=function(){return this.map(function(Fe){var Ue=function(qe,At){var Dt=qe[1]||"",Lt=qe[3];if(!Lt)return Dt;if(At&&typeof btoa=="function"){var jt=(vn=Lt,bn=btoa(unescape(encodeURIComponent(JSON.stringify(vn)))),_n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(bn),"/*# ".concat(_n," */")),hn=Lt.sources.map(function(wn){return"/*# sourceURL=".concat(Lt.sourceRoot||"").concat(wn," */")});return[Dt].concat(hn).concat([jt]).join(` +`)}var vn,bn,_n;return[Dt].join(` +`)}(Fe,$e);return Fe[2]?"@media ".concat(Fe[2]," {").concat(Ue,"}"):Ue}).join("")},Ie.i=function(Fe,Ue,qe){typeof Fe=="string"&&(Fe=[[null,Fe,""]]);var At={};if(qe)for(var Dt=0;Dt-1&&vn[jt].splice(bn,1),this}},once:function(jt,hn){return this.on(jt,Dt(hn)),this},emit:function(jt){var hn=this;if(Ue(this._events,jt)){var vn=At(arguments,1),bn=Lt(this._events[jt]);return qe(bn,function(_n){return _n.apply(hn,vn)},this),this}},removeAllListeners:function(jt){return jt?delete this._events[jt]:this._events={},this}},{mixin:function(jt){qe(["on","off","once","emit","removeAllListeners"],function(hn){jt[hn]=$e.prototype[hn]}),jt._events=jt._events||{}}}),xe.exports=$e},9640:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(4454),qe=Ie(6472),At=Ie(3783),Dt=Ie(2533);$e=Fe({initialize:function(Lt){qe(Lt)?(this.size=Lt.length,At(Lt,function(jt,hn){this[jt]=hn},this)):(this.size=Dt(Lt).length,At(Lt,function(jt,hn){this[hn]=jt},this)),Ue(this)}}),xe.exports=$e},125:function(xe,$e,Ie){var Fe=Ie(5128),Ue=Ie(615),qe=Ie(8887),At=Ie(4400),Dt=Ie(4193),Lt=Ie(5166),jt=Ue("local");$e=Fe.extend({initialize:function(hn,vn){this._name=hn,vn=vn||{};var bn=jt.getItem(hn);try{bn=JSON.parse(bn)}catch{bn={}}Lt(bn)||(bn={}),vn=Dt(bn,vn),this.callSuper(Fe,"initialize",[vn])},save:function(hn){if(qe(hn))return jt.removeItem(this._name);jt.setItem(this._name,At(hn))}}),xe.exports=$e},4989:function(xe,$e,Ie){var Fe=Ie(1443),Ue=Ie(9640),qe=Ie(1352),At=Ie(1286),Dt=Ie(4675),Lt=Ie(6768),jt=Ie(3990);$e=Fe.extend({initialize:function(hn,vn){this.name=hn,this.setLevel(At(vn)?$e.level.DEBUG:vn),this.callSuper(Fe,"initialize",arguments)},setLevel:function(hn){return Lt(hn)?((hn=$e.level[hn.toUpperCase()])&&(this._level=hn),this):(jt(hn)&&(this._level=hn),this)},getLevel:function(){return this._level},formatter:function(hn,vn){return vn},trace:function(){return this._log("trace",arguments)},debug:function(){return this._log("debug",arguments)},info:function(){return this._log("info",arguments)},warn:function(){return this._log("warn",arguments)},error:function(){return this._log("error",arguments)},_log:function(hn,vn){return(vn=qe(vn)).length===0?this:(this.emit("all",hn,Dt(vn)),$e.level[hn.toUpperCase()]-1&&this._listeners.splice(Lt,1)},rmAllListeners:function(){this._listeners=[]},emit:function(){var Dt=this,Lt=At(arguments),jt=Ue(this._listeners);qe(jt,function(hn){return hn.apply(Dt,Lt)},this)}},{mixin:function(Dt){qe(["addListener","rmListener","emit","rmAllListeners"],function(Lt){Dt[Lt]=$e.prototype[Lt]}),Dt._listeners=Dt._listeners||[]}}),xe.exports=$e},9001:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(1527);$e=Fe({initialize:function(){this.clear()},clear:function(){this._items=[],this.size=0},push:function(qe){return this._items.push(qe),++this.size},pop:function(){if(this.size)return this.size--,this._items.pop()},peek:function(){return this._items[this.size-1]},forEach:function(qe,At){At=arguments.length>1?At:this;for(var Dt=this._items,Lt=this.size-1,jt=0;Lt>=0;Lt--,jt++)qe.call(At,Dt[Lt],jt,this)},toArr:function(){return Ue(this._items)}}),xe.exports=$e},5128:function(xe,$e,Ie){var Fe=Ie(1443),Ue=Ie(6768),qe=Ie(5166),At=Ie(3783),Dt=Ie(1352);$e=Fe.extend({initialize:function(Lt){this.callSuper(Fe,"initialize",arguments),this._data=Lt||{},this.save(this._data)},set:function(Lt,jt){var hn;Ue(Lt)?(hn={})[Lt]=jt:qe(Lt)&&(hn=Lt);var vn=this;At(hn,function(bn,_n){var wn=vn._data[_n];vn._data[_n]=bn,vn.emit("change",_n,bn,wn)}),this.save(this._data)},get:function(Lt){var jt=this._data;if(Ue(Lt))return jt[Lt];var hn={};return At(Lt,function(vn){hn[vn]=jt[vn]}),hn},remove:function(Lt){Lt=Dt(Lt);var jt=this._data;At(Lt,function(hn){delete jt[hn]}),this.save(jt)},clear:function(){this._data={},this.save(this._data)},each:function(Lt){At(this._data,Lt)},save:function(Lt){this._data=Lt}}),xe.exports=$e},6334:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6329),qe=Ie(4331),At=Ie(1745),Dt=Ie(8887),Lt=Ie(3783),jt=Ie(6472),hn=Ie(1352),vn=Ie(2727),bn=Ie(5166),_n=Ie(3367);$e=Fe({className:"Url",initialize:function(Sn){!Sn&&vn&&(Sn=window.location.href),Ue(this,$e.parse(Sn||""))},setQuery:function(Sn,xn){var En=this.query;return bn(Sn)?Lt(Sn,function(Tn,An){En[An]=_n(Tn)}):En[Sn]=_n(xn),this},rmQuery:function(Sn){var xn=this.query;return jt(Sn)||(Sn=hn(Sn)),Lt(Sn,function(En){delete xn[En]}),this},toString:function(){return $e.stringify(this)}},{parse:function(Sn){var xn={protocol:"",auth:"",hostname:"",hash:"",query:{},port:"",pathname:"",slashes:!1},En=qe(Sn),Tn=!1,An=En.match(wn);if(An&&(An=An[0],xn.protocol=An.toLowerCase(),En=En.substr(An.length)),An&&(Tn=En.substr(0,2)==="//")&&(En=En.slice(2),xn.slashes=!0),Tn){for(var $n=En,Pn=-1,Nn=0,Mn=Cn.length;Nn-1&&($n=En.slice(0,Pn),En=En.slice(Pn));var On=$n.lastIndexOf("@");On!==-1&&(xn.auth=decodeURIComponent($n.slice(0,On)),$n=$n.slice(On+1)),xn.hostname=$n;var Rn=$n.match(kn);Rn&&((Rn=Rn[0])!==":"&&(xn.port=Rn.substr(1)),xn.hostname=$n.substr(0,$n.length-Rn.length))}var Bn=En.indexOf("#");Bn!==-1&&(xn.hash=En.substr(Bn),En=En.slice(0,Bn));var Vn=En.indexOf("?");return Vn!==-1&&(xn.query=At.parse(En.substr(Vn+1)),En=En.slice(0,Vn)),xn.pathname=En||"/",xn},stringify:function(Sn){var xn=Sn.protocol+(Sn.slashes?"//":"")+(Sn.auth?encodeURIComponent(Sn.auth)+"@":"")+Sn.hostname+(Sn.port?":"+Sn.port:"")+Sn.pathname;return Dt(Sn.query)||(xn+="?"+At.stringify(Sn.query)),Sn.hash&&(xn+=Sn.hash),xn}});var wn=/^([a-z0-9.+-]+:)/i,kn=/:[0-9]*$/,Cn=["/","?","#"];xe.exports=$e},8991:function(xe,$e,Ie){var Fe=Ie(4777),Ue=Ie(1214),qe=Ie(4193),At=Ie(5166),Dt=Ie(1745);function Lt(jt,hn,vn,bn){return Fe(hn)&&(bn=vn,vn=hn,hn={}),{url:jt,data:hn,success:vn,dataType:bn}}($e=function(jt){qe(jt,$e.setting);var hn,vn=jt.type,bn=jt.url,_n=jt.data,wn=jt.dataType,kn=jt.success,Cn=jt.error,Sn=jt.timeout,xn=jt.complete,En=jt.xhr();return En.onreadystatechange=function(){if(En.readyState===4){var Tn;clearTimeout(hn);var An=En.status;if(An>=200&&An<300||An===304){Tn=En.responseText,wn==="xml"&&(Tn=En.responseXML);try{wn==="json"&&(Tn=JSON.parse(Tn))}catch{}kn(Tn,En)}else Cn(En);xn(En)}},vn==="GET"?(_n=Dt.stringify(_n))&&(bn+=bn.indexOf("?")>-1?"&"+_n:"?"+_n):jt.contentType==="application/x-www-form-urlencoded"?At(_n)&&(_n=Dt.stringify(_n)):jt.contentType==="application/json"&&At(_n)&&(_n=JSON.stringify(_n)),En.open(vn,bn,!0),En.setRequestHeader("Content-Type",jt.contentType),Sn>0&&(hn=setTimeout(function(){En.onreadystatechange=Ue,En.abort(),Cn(En,"timeout"),xn(En)},Sn)),En.send(vn==="GET"?null:_n),En}).setting={type:"GET",success:Ue,error:Ue,complete:Ue,dataType:"json",contentType:"application/x-www-form-urlencoded",data:{},xhr:function(){return new XMLHttpRequest},timeout:0},$e.get=function(){return $e(Lt.apply(null,arguments))},$e.post=function(){var jt=Lt.apply(null,arguments);return jt.type="POST",$e(jt)},xe.exports=$e},1116:function(xe,$e,Ie){var Fe=Ie(2533),Ue=Ie(415),qe=Ie(42),At=Object.getOwnPropertyNames,Dt=Object.getOwnPropertySymbols;$e=function(Lt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},hn=jt.prototype,vn=hn===void 0||hn,bn=jt.unenumerable,_n=bn!==void 0&&bn,wn=jt.symbol,kn=wn!==void 0&&wn,Cn=[];if((_n||kn)&&At){var Sn=Fe;_n&&At&&(Sn=At);do Cn=Cn.concat(Sn(Lt)),kn&&Dt&&(Cn=Cn.concat(Dt(Lt)));while(vn&&(Lt=Ue(Lt))&&Lt!==Object.prototype);Cn=qe(Cn)}else if(vn)for(var xn in Lt)Cn.push(xn);else Cn=Fe(Lt);return Cn},xe.exports=$e},7913:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(1286),qe=Ie(4777);$e=function(At,Dt){Ue(Dt)&&(Dt=!0);var Lt=qe(Dt),jt={};return Fe(At,function(hn){jt[hn]=Lt?Dt(hn):Dt}),jt},xe.exports=$e},3901:function(xe,$e){$e={encode:function(At){var Dt,Lt,jt=[],hn=At.length,vn=hn%3;hn-=vn;for(var bn=0;bn>18&63]+Fe[Dt>>12&63]+Fe[Dt>>6&63]+Fe[63&Dt]));return hn=At.length,vn===1?(Lt=At[hn-1],jt.push(Fe[Lt>>2]),jt.push(Fe[Lt<<4&63]),jt.push("==")):vn===2&&(Lt=(At[hn-2]<<8)+At[hn-1],jt.push(Fe[Lt>>10]),jt.push(Fe[Lt>>4&63]),jt.push(Fe[Lt<<2&63]),jt.push("=")),jt.join("")},decode:function(At){var Dt=At.length,Lt=0;At[Dt-2]==="="?Lt=2:At[Dt-1]==="="&&(Lt=1);var jt,hn,vn,bn,_n,wn,kn,Cn=new Array(3*Dt/4-Lt);for(Dt=Lt>0?Dt-4:Dt,jt=0,hn=0;jt>16&255,Cn[hn++]=Sn>>8&255,Cn[hn++]=255&Sn}return Lt===2?(kn=Ie[At.charCodeAt(jt)]<<2|Ie[At.charCodeAt(jt+1)]>>4,Cn[hn++]=255&kn):Lt===1&&(kn=Ie[At.charCodeAt(jt)]<<10|Ie[At.charCodeAt(jt+1)]<<4|Ie[At.charCodeAt(jt+2)]>>2,Cn[hn++]=kn>>8&255,Cn[hn++]=255&kn),Cn}};for(var Ie=[],Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ue=0,qe=Fe.length;Ue0&&(Ue=Fe.apply(this,arguments)),Ie<=1&&(Fe=null),Ue}},xe.exports=$e},7494:function(xe,$e,Ie){var Fe=Ie(8935);function Ue(qe,At){this[At]=qe.replace(/\w/,function(Dt){return Dt.toUpperCase()})}$e=function(qe){var At=Fe(qe),Dt=At[0];return At.shift(),At.forEach(Ue,At),Dt+=At.join("")},xe.exports=$e},1694:function(xe,$e,Ie){var Fe=Ie(6257),Ue=Ie(6472);$e=function(Dt,Lt){if(Ue(Dt))return Dt;if(Lt&&Fe(Lt,Dt))return[Dt];var jt=[];return Dt.replace(qe,function(hn,vn,bn,_n){jt.push(bn?_n.replace(At,"$1"):vn||hn)}),jt};var qe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/\\(\\)?/g;xe.exports=$e},996:function(xe,$e){$e=function(Ie,Fe){var Ue=[];Fe=Fe||1;for(var qe=0,At=Math.ceil(Ie.length/Fe);qeAt?At:Ue},xe.exports=$e},4675:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(6472),qe=Ie(6329);$e=function(At){return Fe(At)?Ue(At)?At.slice():qe({},At):At},xe.exports=$e},550:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(4777),qe=Ie(6472),At=Ie(8820);$e=function(Dt){return qe(Dt)?Dt.map(function(Lt){return $e(Lt)}):Fe(Dt)&&!Ue(Dt)?At(Dt,function(Lt){return $e(Lt)}):Dt},xe.exports=$e},8099:function(xe,$e,Ie){var Fe=Ie(1352);$e=function(){for(var Ue=Fe(arguments),qe=[],At=0,Dt=Ue.length;At-1:(qe(Dt)||(Dt=At(Dt)),Fe(Dt,Lt)>=0)},xe.exports=$e},1792:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(3901),qe=Ie(385),At=Ie(6472),Dt=Ie(2349),Lt=Ie(3085),jt=Ie(3063);($e=function(hn,vn){var bn;if(vn=jt(vn),Fe(hn))bn=new Uint8Array(Ue.decode(hn));else if(qe(hn))hn=hn.slice(0),bn=new Uint8Array(hn);else if(At(hn))bn=new Uint8Array(hn);else if(Lt(hn)==="uint8array")bn=hn.slice(0);else if(Dt(hn)){bn=new Uint8Array(hn.length);for(var _n=0;_n0?"-":"+")+Dt(100*Math.floor(Math.abs(In)/60)+Math.abs(In)%60,4),S:["th","st","nd","rd"][xn%10>3?0:(xn%100-xn%10!=10)*xn%10]};return _n.replace(Lt,function(Rn){return Rn in On?On[Rn]:Rn.slice(1,Rn.length-1)})};var Dt=function(bn){var _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return At(qe(bn),_n,"0")},Lt=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,jt=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,hn=/\d/,vn=/[^-+\dA-Z]/g;$e.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},$e.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},xe.exports=$e},6049:function(xe,$e){$e=function(Ie,Fe,Ue){var qe;return function(){var At=this,Dt=arguments;Ue||clearTimeout(qe),Ue&&qe||(qe=setTimeout(function(){qe=null,Ie.apply(At,Dt)},Fe))}},xe.exports=$e},1420:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(8166),qe=Ie(2461),At=Ie(5742);function Dt(jt){return+("0x"+jt)}$e=function(jt){try{return decodeURIComponent(jt)}catch{var hn=jt.match(Lt);return hn&&Fe(hn,function(bn){jt=jt.replace(bn,function(_n){_n=_n.split("%").slice(1);var wn=qe(_n,Dt);return _n=Ue.encode(wn),_n=At.decode(_n,!0),_n}(bn))}),jt}};var Lt=/(%[a-f0-9]{2})+/gi;xe.exports=$e},4193:function(xe,$e,Ie){$e=Ie(4427)(Ie(1116),!0),xe.exports=$e},9803:function(xe,$e,Ie){var Fe=Ie(1694),Ue=Ie(6768),qe=Ie(5166),At=Ie(3783);function Dt(Lt,jt,hn){for(var vn=Fe(jt,Lt),bn=vn.pop();jt=vn.shift();)Lt[jt]||(Lt[jt]={}),Lt=Lt[jt];Object.defineProperty(Lt,bn,hn)}$e=function(Lt,jt,hn){return Ue(jt)?Dt(Lt,jt,hn):qe(jt)&&At(jt,function(vn,bn){Dt(Lt,bn,vn)}),Lt},xe.exports=$e},2443:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6341);function qe(){return!0}function At(){return!1}function Dt(jt){var hn,vn=this.events[jt.type],bn=Lt.call(this,jt,vn);jt=new $e.Event(jt);for(var _n,wn,kn=0;(wn=bn[kn++])&&!jt.isPropagationStopped();)for(jt.curTarget=wn.el,_n=0;(hn=wn.handlers[_n++])&&!jt.isImmediatePropagationStopped();)hn.handler.apply(wn.el,[jt])===!1&&(jt.preventDefault(),jt.stopPropagation())}function Lt(jt,hn){var vn,bn,_n,wn,kn=jt.target,Cn=[],Sn=hn.delegateCount;if(kn.nodeType)for(;kn!==this;kn=kn.parentNode||this){for(bn=[],wn=0;wn-1)return Ue(hn.substring(bn+vn.length,hn.indexOf(".",bn)))}xe.exports=$e},6954:function(xe,$e,Ie){var Fe=Ie(2727);$e=function(Ue){if(Ue=(Ue=Ue||(Fe?navigator.userAgent:"")).toLowerCase(),qe("windows phone"))return"windows phone";if(qe("win"))return"windows";if(qe("android"))return"android";if(qe("ipad")||qe("iphone")||qe("ipod"))return"ios";if(qe("mac"))return"os x";if(qe("linux"))return"linux";function qe(At){return Ue.indexOf(At)>-1}return"unknown"},xe.exports=$e},801:function(xe,$e,Ie){var Fe=Ie(1137),Ue=Ie(288),qe=Ie(5972),At=Ie(6341);$e=Fe(function(Dt,Lt){return Lt=Ue(Lt),qe(Dt,function(jt){return!At(Lt,jt)})}),xe.exports=$e},3783:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(2533),qe=Ie(3955);$e=function(At,Dt,Lt){var jt,hn;if(Dt=qe(Dt,Lt),Fe(At))for(jt=0,hn=At.length;jt=0&&Ie.indexOf(Fe,Ue)===Ue},xe.exports=$e},8901:function(xe,$e,Ie){var Fe=Ie(2533),Ue=($e=function(jt){return At.test(jt)?jt.replace(Dt,Lt):jt}).map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},qe="(?:"+Fe(Ue).join("|")+")",At=new RegExp(qe),Dt=new RegExp(qe,"g"),Lt=function(jt){return Ue[jt]};xe.exports=$e},4187:function(xe,$e,Ie){var Fe=Ie(3367);$e=function(qe){return Fe(qe).replace(Ue,function(At){switch(At){case'"':case"'":case"\\":return"\\"+At;case` +`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}})};var Ue=/["'\\\n\r\u2028\u2029]/g;xe.exports=$e},2337:function(xe,$e){$e=function(Ie){return Ie.replace(/\W/g,"\\$&")},xe.exports=$e},642:function(xe,$e){$e=function(Ie){var Fe=document.createElement("style");return Fe.textContent=Ie,Fe.type="text/css",document.head.appendChild(Fe),Fe},xe.exports=$e},1672:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(1369),qe=Ie(2533);$e=function(At,Dt,Lt){Dt=Fe(Dt,Lt);for(var jt=!Ue(At)&&qe(At),hn=(jt||At).length,vn=0;vn[\]\u2100-\uFFFF(),]*/gi;xe.exports=$e},5972:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(3783);$e=function(qe,At,Dt){var Lt=[];return At=Fe(At,Dt),Ue(qe,function(jt,hn,vn){At(jt,hn,vn)&&Lt.push(jt)}),Lt},xe.exports=$e},2244:function(xe,$e,Ie){var Fe=Ie(2267),Ue=Ie(4072),qe=Ie(1369),At=Ie(1286);$e=function(Dt,Lt,jt){var hn=(qe(Dt)?Ue:Fe)(Dt,Lt,jt);if(!At(hn)&&hn!==-1)return Dt[hn]},xe.exports=$e},4072:function(xe,$e,Ie){var Fe=Ie(2838);$e=function(Ue,qe,At,Dt){Dt=Dt||1,qe=Fe(qe,At);for(var Lt=Ue.length,jt=Dt>0?0:Lt-1;jt>=0&&jt2?bn-2:0),wn=2;wn>>4).toString(16)),qe.push((15&Lt).toString(16))}return qe.join("")},decode:function(Ue){var qe=[],At=Ue.length;Fe(At)&&At--;for(var Dt=0;Dt1&&arguments[1]!==void 0?arguments[1]:"js",jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Ue(jt,qe),Dt=Dt.replace(//g,">"),Lt=At[Lt];var hn=0,vn=[];Fe(Lt,function(_n){_n.language&&(Dt=Dt.replace(_n.re,function(wn,kn){return kn?(vn[hn++]=$e(kn,_n.language,jt),wn.replace(kn,"___subtmpl"+(hn-1)+"___")):wn}))}),Fe(Lt,function(_n,wn){At[_n.language]||(Dt=Dt.replace(_n.re,"___"+wn+"___$1___end"+wn+"___"))});var bn=[];return Dt=Dt.replace(/___(?!subtmpl)\w+?___/g,function(_n){var wn=_n.substr(3,3)==="end",kn=(wn?_n.substr(6):_n.substr(3)).replace(/_/g,""),Cn=bn.length>0?bn[bn.length-1]:null;return!wn&&(Cn==null||kn==Cn||Cn!=null&&Lt[Cn]&&Lt[Cn].embed!=null&&Lt[Cn].embed.indexOf(kn)>-1)?(bn.push(kn),_n):wn&&kn==Cn?(bn.pop(),_n):""}),Fe(Lt,function(_n,wn){var kn=jt[_n.style]?' style="'.concat(jt[_n.style],'"'):"";Dt=Dt.replace(new RegExp("___end"+wn+"___","g"),"
    ").replace(new RegExp("___"+wn+"___","g"),'"))}),Fe(Lt,function(_n){_n.language&&(Dt=Dt.replace(/___subtmpl\d+___/g,function(wn){var kn=parseInt(wn.replace(/___subtmpl(\d+)___/,"$1"),10);return vn[kn]}))}),Dt};var qe={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},At={js:{comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|<|>|\||\?|\.)/g,style:"operator"}}};At.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:At.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}},At.css={comment:At.js.comment,string:At.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}},xe.exports=$e},5925:function(xe,$e){$e=function(Fe){var Ue,qe,At,Dt=Fe[0]/360,Lt=Fe[1]/100,jt=Fe[2]/100,hn=[];if(Fe[3]&&(hn[3]=Fe[3]),Lt===0)return At=Ie(255*jt),hn[0]=hn[1]=hn[2]=At,hn;for(var vn=2*jt-(Ue=jt<.5?jt*(1+Lt):jt+Lt-jt*Lt),bn=0;bn<3;bn++)(qe=Dt+.3333333333333333*-(bn-1))<0&&qe++,qe>1&&qe--,At=6*qe<1?vn+6*(Ue-vn)*qe:2*qe<1?Ue:3*qe<2?vn+(Ue-vn)*(.6666666666666666-qe)*6:vn,hn[bn]=Ie(255*At);return hn};var Ie=Math.round;xe.exports=$e},7483:function(xe,$e,Ie){var Fe=Ie(8702),Ue=Ie(9001),qe=Ie(6472),At=Ie(3783),Dt=Ie(6768),Lt=Ie(8820),jt=function(vn){return vn.replace(/"/g,'"')},hn=function(vn){return vn.replace(/"/g,""")};$e={parse:function(vn){var bn=[],_n=new Ue;return Fe(vn,{start:function(wn,kn){kn=Lt(kn,function(Cn){return jt(Cn)}),_n.push({tag:wn,attrs:kn})},end:function(){var wn=_n.pop();if(_n.size){var kn=_n.peek();qe(kn.content)||(kn.content=[]),kn.content.push(wn)}else bn.push(wn)},comment:function(wn){var kn=""),Cn=_n.peek();Cn?(Cn.content||(Cn.content=[]),Cn.content.push(kn)):bn.push(kn)},text:function(wn){var kn=_n.peek();kn?(kn.content||(kn.content=[]),kn.content.push(wn)):bn.push(wn)}}),bn},stringify:function vn(bn){var _n="";return qe(bn)?At(bn,function(wn){return _n+=vn(wn)}):Dt(bn)?_n=bn:(_n+="<".concat(bn.tag),At(bn.attrs,function(wn,kn){return _n+=" ".concat(kn,'="').concat(hn(wn),'"')}),_n+=">",bn.content&&(_n+=vn(bn.content)),_n+="")),_n}},xe.exports=$e},6362:function(xe,$e){$e=function(Ie){return Ie},xe.exports=$e},496:function(xe,$e){$e=function(Ie,Fe,Ue){return Array.prototype.indexOf.call(Ie,Fe,Ue)},xe.exports=$e},5022:function(xe,$e,Ie){var Fe=Ie(1662);$e=function(Ue,qe){Ue.prototype=Fe(qe.prototype)},xe.exports=$e},7190:function(xe,$e,Ie){var Fe=Ie(3783);$e=function(Ue){var qe={};return Fe(Ue,function(At,Dt){qe[At]=Dt}),qe},xe.exports=$e},7403:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Arguments]"},xe.exports=$e},6472:function(xe,$e,Ie){var Fe=Ie(106);$e=Array.isArray?Array.isArray:function(Ue){return Fe(Ue)==="[object Array]"},xe.exports=$e},385:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object ArrayBuffer]"},xe.exports=$e},1369:function(xe,$e,Ie){var Fe=Ie(3990),Ue=Ie(4777),qe=Math.pow(2,53)-1;$e=function(At){if(!At)return!1;var Dt=At.length;return Fe(Dt)&&Dt>=0&&Dt<=qe&&!Ue(At)},xe.exports=$e},4696:function(xe,$e){$e=function(Ie){return Ie===!0||Ie===!1},xe.exports=$e},2727:function(xe,$e){$e=typeof window=="object"&&typeof document=="object"&&document.nodeType===9,xe.exports=$e},2349:function(xe,$e,Ie){var Fe=Ie(4777);$e=function(Ue){return Ue!=null&&(!!Ue._isBuffer||Ue.constructor&&Fe(Ue.constructor.isBuffer)&&Ue.constructor.isBuffer(Ue))},xe.exports=$e},2520:function(xe,$e,Ie){var Fe=new(Ie(2765))("(prefers-color-scheme: dark)");$e=function(){return Fe.isMatch()},xe.exports=$e},2106:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Date]"},xe.exports=$e},9833:function(xe,$e){$e=function(Ie){return!(!Ie||Ie.nodeType!==1)},xe.exports=$e},8887:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(6472),qe=Ie(6768),At=Ie(7403),Dt=Ie(2533);$e=function(Lt){return Lt==null||(Fe(Lt)&&(Ue(Lt)||qe(Lt)||At(Lt))?Lt.length===0:Dt(Lt).length===0)},xe.exports=$e},2749:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Error]"},xe.exports=$e},4777:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){var qe=Fe(Ue);return qe==="[object Function]"||qe==="[object GeneratorFunction]"||qe==="[object AsyncFunction]"},xe.exports=$e},9585:function(xe,$e,Ie){var Fe=Ie(5610),Ue=Fe.getComputedStyle,qe=Fe.document;function At(Dt,Lt){return Dt.rightLt.right||Dt.bottomLt.bottom}$e=function(Dt){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jt=Lt.display,hn=jt===void 0||jt,vn=Lt.visibility,bn=vn!==void 0&&vn,_n=Lt.opacity,wn=_n!==void 0&&_n,kn=Lt.size,Cn=kn!==void 0&&kn,Sn=Lt.viewport,xn=Sn!==void 0&&Sn,En=Lt.overflow,Tn=En!==void 0&&En,An=Ue(Dt);if(hn){var $n=Dt.tagName;if($n==="BODY"||$n==="HTML"||An.position==="fixed"){if(An.display==="none")return!0;for(var Pn=Dt;Pn=Pn.parentElement;)if(Ue(Pn).display==="none")return!0}else if(Dt.offsetParent===null)return!0}if(bn&&An.visibility==="hidden")return!0;if(wn){if(An.opacity==="0")return!0;for(var Nn=Dt;Nn=Nn.parentElement;)if(Ue(Nn).opacity==="0")return!0}var Mn=Dt.getBoundingClientRect();if(Cn&&(Mn.width===0||Mn.height===0))return!0;if(xn)return At(Mn,{top:0,left:0,right:qe.documentElement.clientWidth,bottom:qe.documentElement.clientHeight});if(Tn)for(var In=Dt;In=In.parentElement;){var On=Ue(In).overflow;if((On==="scroll"||On==="hidden")&&At(Mn,In.getBoundingClientRect()))return!0}return!1},xe.exports=$e},2246:function(xe,$e,Ie){var Fe=Ie(3990);$e=function(Ue){return Fe(Ue)&&Ue%1==0},xe.exports=$e},4219:function(xe,$e){$e=function(Ie){try{return JSON.parse(Ie),!0}catch{return!1}},xe.exports=$e},3708:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Map]"},xe.exports=$e},7949:function(xe,$e,Ie){var Fe=Ie(2533);$e=function(Ue,qe){var At=Fe(qe),Dt=At.length;if(Ue==null)return!Dt;Ue=Object(Ue);for(var Lt=0;Lt1&&arguments[1]!==void 0?arguments[1]:$e.defComparator,Ue=0,qe=Ie.length;Ue0)return!1;return!0},$e.defComparator=function(Ie,Fe){return IeFe?1:0},xe.exports=$e},6768:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object String]"},xe.exports=$e},9804:function(xe,$e){$e=function(Ie){return typeof Ie=="symbol"},xe.exports=$e},1286:function(xe,$e){$e=function(Ie){return Ie===void 0},xe.exports=$e},7622:function(xe,$e,Ie){var Fe=Ie(8935);$e=function(Ue){return Fe(Ue).join("-")},xe.exports=$e},2533:function(xe,$e,Ie){var Fe=Ie(6257);$e=Object.keys?Object.keys:function(Ue){var qe=[];for(var At in Ue)Fe(Ue,At)&&qe.push(At);return qe},xe.exports=$e},9702:function(xe,$e){$e=function(Ie){var Fe=Ie?Ie.length:0;if(Fe)return Ie[Fe-1]},xe.exports=$e},3988:function(xe,$e,Ie){var Fe=Ie(2581),Ue=Ie(3783),qe=Ie(2337);function At(Dt){return''+Dt+""}$e=function(Dt,Lt){Lt=Lt||At;var jt=Fe(Dt);return Ue(jt,function(hn){Dt=Dt.replace(new RegExp(qe(hn),"g"),Lt)}),Dt},xe.exports=$e},9622:function(xe,$e){$e=function(Ie,Fe){var Ue=document.createElement("script");Ue.src=Ie,Ue.onload=function(){var qe=Ue.readyState&&Ue.readyState!="complete"&&Ue.readyState!="loaded";Fe&&Fe(!qe)},Ue.onerror=function(){Fe(!1)},document.body.appendChild(Ue)},xe.exports=$e},3063:function(xe,$e,Ie){var Fe=Ie(3367);$e=function(Ue){return Fe(Ue).toLocaleLowerCase()},xe.exports=$e},5351:function(xe,$e,Ie){var Fe=Ie(4552),Ue=Ie(3367);$e=function(qe,At,Dt){var Lt=(qe=Ue(qe)).length;return Dt=Dt||" ",Lt=Lt?"":Fe.substr(Dt,Lt)},xe.exports=$e},2461:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(2533),qe=Ie(1369);$e=function(At,Dt,Lt){Dt=Fe(Dt,Lt);for(var jt=!qe(At)&&Ue(At),hn=(jt||At).length,vn=Array(hn),bn=0;bnFe&&(Fe=Ie[Ue]);return Fe},xe.exports=$e},5026:function(xe,$e,Ie){var Fe=Ie(2533);$e={getItem:function(jt){return(qe[jt]?Ue[jt]:this[jt])||null},setItem:function(jt,hn){qe[jt]?Ue[jt]=hn:this[jt]=hn},removeItem:function(jt){qe[jt]?delete Ue[jt]:delete this[jt]},key:function(jt){var hn=At();return jt>=0&&jt=qe[At[bn]]){vn=At[bn];break}return+(hn/qe[vn]).toFixed(2)+vn};var qe={ms:1,s:1e3};qe.m=60*qe.s,qe.h=60*qe.m,qe.d=24*qe.h,qe.y=365.25*qe.d;var At=["y","d","h","m","s"],Dt=/^((?:\d+)?\.?\d+) *(s|m|h|d|y)?$/;xe.exports=$e},6339:function(xe,$e,Ie){var Fe=Ie(6930),Ue=Ie(5610),qe=Ie(3367);function At(Dt,Lt){if(Dt=qe(Dt),Lt=qe(Lt),Fe(Dt,"_")&&!Fe(Lt,"_"))return 1;if(Fe(Lt,"_")&&!Fe(Dt,"_"))return-1;for(var jt,hn,vn,bn,_n=/^\d+|^\D+/;;){if(!Dt)return Lt?-1:0;if(!Lt)return 1;if(jt=Dt.match(_n)[0],hn=Lt.match(_n)[0],vn=!Ue.isNaN(jt),bn=!Ue.isNaN(hn),vn&&!bn)return-1;if(bn&&!vn)return 1;if(vn&&bn){var wn=jt-hn;if(wn)return wn;if(jt.length!==hn.length)return+jt||+hn?hn.length-jt.length:jt.length-hn.length}else if(jt!==hn)return jtwindow.innerHeight?"landscape":"portrait"}},Fe.mixin($e),window.addEventListener("orientationchange",function(){setTimeout(function(){$e.emit("change",$e.get())},200)},!1),xe.exports=$e},8702:function(xe,$e,Ie){var Fe=Ie(9702),Ue=Ie(7913),qe=Ie(6930),At=Ie(3063);$e=function(bn,_n){for(var wn,kn=[],Cn=bn;bn;){if(wn=!0,Fe(kn)&&vn[Fe(kn)]){var Sn=new RegExp("]*>")).exec(bn);if(Sn){var xn=bn.substring(0,Sn.index);bn=bn.substring(Sn.index+Sn[0].length),xn&&_n.text&&_n.text(xn)}In("",Fe(kn))}else{if(qe(bn,"");En>=0&&(_n.comment&&_n.comment(bn.substring(4,En)),bn=bn.substring(En+3),wn=!1)}else if(qe(bn,"=0&&kn[Bn]!==Rn;Bn--);else Bn=0;if(Bn>=0){for(var Vn=kn.length-1;Vn>=Bn;Vn--)_n.end&&_n.end(kn[Vn]);kn.length=Bn}}In()};var Dt=/^\s]+))?)*)\s*(\/?)>/i,Lt=/^<\/([-A-Za-z0-9_]+)[^>]*>/,jt=/^<([-A-Za-z0-9_]+)((?:\s+[-A-Za-z0-9_:@.]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,hn=/([-A-Za-z0-9_:@.]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,vn=Ue("script,style".split(","));xe.exports=$e},4198:function(xe,$e,Ie){var Fe=Ie(1137),Ue=Ie(1352);$e=Fe(function(qe,At){return function(){var Dt=[];return Dt=(Dt=Dt.concat(At)).concat(Ue(arguments)),qe.apply(this,Dt)}}),xe.exports=$e},1194:function(xe,$e,Ie){var Fe,Ue=Ie(8847),qe=Ie(5610),At=qe.performance,Dt=qe.process;if(At&&At.now)$e=function(){return At.now()};else if(Dt&&Dt.hrtime){var Lt=function(){var jt=Dt.hrtime();return 1e9*jt[0]+jt[1]};Fe=Lt()-1e9*Dt.uptime(),$e=function(){return(Lt()-Fe)/1e6}}else Fe=Ue(),$e=function(){return Ue()-Fe};xe.exports=$e},3487:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(6472),qe=Ie(6341),At=Ie(3783);$e=function(Dt,Lt,jt){if(Fe(Lt)&&(Lt=[Lt]),Ue(Lt)){var hn=Lt;Lt=function(_n,wn){return qe(hn,wn)}}var vn={},bn=function(_n,wn){Lt(_n,wn)&&(vn[wn]=_n)};return jt&&(bn=function(_n,wn){Lt(_n,wn)||(vn[wn]=_n)}),At(Dt,bn),vn},xe.exports=$e},747:function(xe,$e,Ie){var Fe=Ie(1475),Ue=Ie(7494),qe=Ie(3023),At=Ie(6257),Dt=Ie(7622);($e=Fe(function(vn){if(vn=vn.replace(jt,""),vn=Ue(vn),At(hn,vn))return vn;for(var bn=Lt.length;bn--;){var _n=Lt[bn]+qe(vn);if(At(hn,_n))return _n}return vn})).dash=Fe(function(vn){var bn=$e(vn);return(jt.test(bn)?"-":"")+Dt(bn)});var Lt=["O","ms","Moz","Webkit"],jt=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,hn=document.createElement("p").style;xe.exports=$e},2994:function(xe,$e,Ie){var Fe=Ie(6472),Ue=Ie(7653);$e=function(qe){return Fe(qe)?function(Dt){return Ue(Dt,qe)}:(At=qe,function(Dt){return Dt==null?void 0:Dt[At]});var At},xe.exports=$e},1745:function(xe,$e,Ie){var Fe=Ie(4331),Ue=Ie(3783),qe=Ie(1286),At=Ie(6472),Dt=Ie(2461),Lt=Ie(8887),jt=Ie(5972),hn=Ie(5166);$e={parse:function(bn){var _n={};return bn=Fe(bn).replace(vn,""),Ue(bn.split("&"),function(wn){var kn=wn.split("="),Cn=kn.shift(),Sn=kn.length>0?kn.join("="):null;Cn=decodeURIComponent(Cn),Sn=decodeURIComponent(Sn),qe(_n[Cn])?_n[Cn]=Sn:At(_n[Cn])?_n[Cn].push(Sn):_n[Cn]=[_n[Cn],Sn]}),_n},stringify:function(bn,_n){return jt(Dt(bn,function(wn,kn){return hn(wn)&&Lt(wn)?"":At(wn)?$e.stringify(wn,kn):encodeURIComponent(_n||kn)+"="+encodeURIComponent(wn)}),function(wn){return wn.length>0}).join("&")}};var vn=/^(\?|#|&)/g;xe.exports=$e},1571:function(xe,$e,Ie){var Fe,Ue,qe=Ie(8847),At=Ie(2727),Dt=0;if(At){Fe=window.requestAnimationFrame,Ue=window.cancelAnimationFrame;for(var Lt=["ms","moz","webkit","o"],jt=0,hn=Lt.length;jt0;)1&Fe&&(Ue+=Ie),Fe>>=1,Ie+=Ie;return Ue},xe.exports=$e},8368:function(xe,$e,Ie){var Fe=Ie(2337);$e=function(Ue,qe,At){return Ue.replace(new RegExp(Fe(qe),"g"),At)},xe.exports=$e},1137:function(xe,$e){$e=function(Ie,Fe){return Fe=Fe==null?Ie.length-1:+Fe,function(){var Ue,qe=Math.max(arguments.length-Fe,0),At=new Array(qe);for(Ue=0;Ue=0;_n--){var wn=jt[_n];if(wn!==""){if(Sn({domain:vn=vn===""?wn:wn+"."+vn,path:qe="/"})||Sn({domain:vn}))return;for(var kn=0;kn=0;)for(Lt=!1,Ue=-1,qe=Ie.charAt(At);++Ue=0?Ie.substring(0,At+1):""},xe.exports=$e},2838:function(xe,$e,Ie){var Fe=Ie(4777),Ue=Ie(5166),qe=Ie(6472),At=Ie(3955),Dt=Ie(4491),Lt=Ie(6362),jt=Ie(2994);$e=function(hn,vn,bn){return hn==null?Lt:Fe(hn)?At(hn,vn,bn):Ue(hn)&&!qe(hn)?Dt(hn):jt(hn)},xe.exports=$e},7653:function(xe,$e,Ie){var Fe=Ie(1286),Ue=Ie(1694);$e=function(qe,At){var Dt;for(Dt=(At=Ue(At,qe)).shift();!Fe(Dt);){if((qe=qe[Dt])==null)return;Dt=At.shift()}return qe},xe.exports=$e},8079:function(xe,$e,Ie){var Fe=Ie(1694),Ue=Ie(1286),qe=Ie(3367),At=Ie(9804),Dt=Ie(6768);$e=function(Lt,jt,hn){var vn,bn=(jt=Fe(jt,Lt)).pop();for(vn=jt.shift();!Ue(vn);){if(Dt(vn)||At(vn)||(vn=qe(vn)),vn==="__proto__"||vn==="constructor"||vn==="prototype")return;Lt[vn]||(Lt[vn]={}),Lt=Lt[vn],vn=jt.shift()}Lt[bn]=hn},xe.exports=$e},615:function(xe,$e,Ie){var Fe=Ie(5026);$e=function(Ue){var qe;switch(Ue=Ue||"local"){case"local":qe=window.localStorage;break;case"session":qe=window.sessionStorage}try{var At="test-localStorage-"+Date.now();qe.setItem(At,At);var Dt=qe.getItem(At);if(qe.removeItem(At),Dt!==At)throw new Error}catch{return Fe}return qe},xe.exports=$e},4224:function(xe,$e,Ie){var Fe=Ie(6334);$e=function(Ue,qe){return Ue=new Fe(Ue),qe=new Fe(qe),Ue.port=0|Ue.port||(Ue.protocol==="https"?443:80),qe.port=0|qe.port||(qe.protocol==="https"?443:80),Ue.protocol===qe.protocol&&Ue.hostname===qe.hostname&&Ue.port===qe.port},xe.exports=$e},9677:function(xe,$e){$e=function(Ie,Fe,Ue){var qe=Ie.length;Fe=Fe==null?0:Fe<0?Math.max(qe+Fe,0):Math.min(Fe,qe),Ue=Ue==null?qe:Ue<0?Math.max(qe+Ue,0):Math.min(Ue,qe);for(var At=[];Fe1&&arguments[1]!==void 0?arguments[1]:{};Ue(hn,Lt);var vn=hn.deep,bn=hn.comparator,_n=[],wn=[];return function kn(Cn){var Sn,xn=_n.indexOf(Cn);if(xn>-1)return wn[xn];if(At(Cn)){Sn=[],_n.push(Cn),wn.push(Sn);for(var En=0,Tn=Cn.length;En0){var kn=vn.indexOf(this);kn>-1?(vn.splice(kn+1),bn.splice(kn,1/0,_n)):(vn.push(this),bn.push(_n));var Cn=vn.indexOf(wn);Cn>-1&&(wn=vn[0]===wn?"[Circular ~]":"[Circular ~."+bn.slice(0,Cn).join(".")+"]")}else vn.push(wn);return Lt(wn)||Dt(wn)?wn="["+Ue(Fe(wn))+" "+qe(wn)+"]":At(wn)&&(wn=null),wn}),hn);var vn,bn},xe.exports=$e},9963:function(xe,$e,Ie){var Fe=Ie(4187),Ue=Ie(3085),qe=Ie(3367),At=Ie(4858),Dt=Ie(300),Lt=Ie(2533),jt=Ie(3783),hn=Ie(7496),vn=Ie(415),bn=Ie(801),_n=Ie(6329),wn=Ie(4321),kn=Ie(5972),Cn=Ie(8847),Sn=Ie(1116),xn=Ie(6341),En=Ie(5166),Tn=Ie(9537),An=Ie(1662),$n=Ie(6930),Pn=Ie(8079),Nn=Ie(9803),Mn=Ie(3487),In=Ie(1369);function On(Fn,zn,jn,Gn){var Wn=[];return jt(zn,function(Xn){var er,rr=Object.getOwnPropertyDescriptor(jn,Xn),Jn=rr&&rr.get,Yn=rr&&rr.set;if(!Gn.accessGetter&&Jn)er="(...)";else try{if(er=jn[Xn],xn(Gn.ignore,er))return;wn(er)&&er.catch(function(){})}catch(qn){er=qn.message}Wn.push("".concat(Rn(Xn),":").concat($e(er,Gn))),Jn&&Wn.push("".concat(Rn("get "+qe(Xn)),":").concat($e(rr.get,Gn))),Yn&&Wn.push("".concat(Rn("set "+qe(Xn)),":").concat($e(rr.set,Gn)))}),'"'.concat(Fn,'":{')+Wn.join(",")+"}"}function Rn(Fn){return'"'.concat(Vn(Fn),'"')}function Bn(Fn){return'"'.concat(Vn(qe(Fn)),'"')}function Vn(Fn){return Fe(Fn).replace(/\\'/g,"'").replace(/\t/g,"\\t")}$e=function(Fn){var zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jn=zn.self,Gn=zn.startTime,Wn=Gn===void 0?Cn():Gn,Xn=zn.timeout,er=Xn===void 0?0:Xn,rr=zn.depth,Jn=rr===void 0?0:rr,Yn=zn.curDepth,qn=Yn===void 0?1:Yn,ar=zn.visitor,tr=ar===void 0?new Ln:ar,or=zn.unenumerable,sr=or!==void 0&&or,Kn=zn.symbol,Zn=Kn!==void 0&&Kn,nr=zn.accessGetter,lr=nr!==void 0&&nr,ir=zn.ignore,kr=ir===void 0?[]:ir,Cr="",Er={visitor:tr,unenumerable:sr,symbol:Zn,accessGetter:lr,depth:Jn,curDepth:qn+1,timeout:er,startTime:Wn,ignore:kr},dr=Ue(Fn,!1);if(dr==="String")Cr=Bn(Fn);else if(dr==="Number")Cr=qe(Fn),At(Cr,"Infinity")&&(Cr='{"value":"'.concat(Cr,'","type":"Number"}'));else if(dr==="NaN")Cr='{"value":"NaN","type":"Number"}';else if(dr==="Boolean")Cr=Fn?"true":"false";else if(dr==="Null")Cr="null";else if(dr==="Undefined")Cr='{"type":"Undefined"}';else if(dr==="Symbol"){var br="Symbol";try{br=qe(Fn)}catch{}Cr='{"value":'.concat(Bn(br),',"type":"Symbol"}')}else{if(er&&Cn()-Wn>er)return Bn("Timeout");if(Jn&&qn>Jn)return Bn("{...}");Cr="{";var _r,Pr=[],gr=tr.get(Fn);if(gr?(_r=gr.id,Pr.push('"reference":'.concat(_r))):(_r=tr.set(Fn),Pr.push('"id":'.concat(_r))),Pr.push('"type":"'.concat(dr,'"')),At(dr,"Function")?Pr.push('"value":'.concat(Bn(Dt(Fn)))):dr==="RegExp"&&Pr.push('"value":'.concat(Bn(Fn))),!gr){var xr=Lt(Fn);if(xr.length&&Pr.push(On("enumerable",xr,jn||Fn,Er)),sr){var Rr=bn(Sn(Fn,{prototype:!1,unenumerable:!0}),xr);Rr.length&&Pr.push(On("unenumerable",Rr,jn||Fn,Er))}if(Zn){var Hr=kn(Sn(Fn,{prototype:!1,symbol:!0}),function($r){return typeof $r=="symbol"});Hr.length&&Pr.push(On("symbol",Hr,jn||Fn,Er))}var Jr=vn(Fn);if(Jr&&!xn(kr,Jr)){var Gr='"proto":'.concat($e(Jr,_n(Er,{self:jn||Fn})));Pr.push(Gr)}}Cr+=Pr.join(",")+"}"}return Cr};var Ln=hn({initialize:function(){this.id=1,this.visited=[]},set:function(Fn){var zn=this.visited,jn=this.id,Gn={id:jn,val:Fn};return zn.push(Gn),this.id++,jn},get:function(Fn){for(var zn=this.visited,jn=0,Gn=zn.length;jn]*>/g;$e=function(Fe){return Fe.replace(Ie,"")},xe.exports=$e},1907:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(1352),qe=Ie(6435),At=Ie(2461),Dt=Ie(4331);$e=function(jt){Fe(jt)&&(jt=Ue(jt));for(var hn="",vn=arguments.length,bn=new Array(vn>1?vn-1:0),_n=1;_n0?qe.apply(null,Sn):0;return Dt(At(Cn,function($n){return $n[0]===" "?$n.slice(An):$n}).join(` +`))};var Lt=/^(\s+)\S+/;xe.exports=$e},2439:function(xe,$e,Ie){var Fe=Ie(6049);$e=function(Ue,qe){return Fe(Ue,qe,!0)},xe.exports=$e},1352:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(2461),qe=Ie(6472),At=Ie(6768);$e=function(Dt){return Dt?qe(Dt)?Dt:Fe(Dt)&&!At(Dt)?Ue(Dt):[Dt]:[]},xe.exports=$e},3474:function(xe,$e,Ie){var Fe=Ie(6768);$e=function(Ue){return Fe(Ue)?(Ue=Ue.toLowerCase())!=="0"&&Ue!==""&&Ue!=="false":!!Ue},xe.exports=$e},4891:function(xe,$e){var Ie=document;if($e=function(Ue){var qe=Ie.createElement("body");return qe.innerHTML=Ue,qe.childNodes[0]},Ie.createRange&&Ie.body){var Fe=Ie.createRange();Fe.selectNode(Ie.body),Fe.createContextualFragment&&($e=function(Ue){return Fe.createContextualFragment(Ue).childNodes[0]})}xe.exports=$e},9296:function(xe,$e,Ie){var Fe=Ie(3875);$e=function(Ue){return Ue?(Ue=Fe(Ue))-Ue%1:Ue===0?Ue:0},xe.exports=$e},3875:function(xe,$e,Ie){var Fe=Ie(3990),Ue=Ie(5166),qe=Ie(4777),At=Ie(6768);$e=function(Dt){if(Fe(Dt))return Dt;if(Ue(Dt)){var Lt=qe(Dt.valueOf)?Dt.valueOf():Dt;Dt=Ue(Lt)?Lt+"":Lt}return At(Dt)?+Dt:Dt===0?Dt:+Dt},xe.exports=$e},300:function(xe,$e,Ie){var Fe=Ie(2763);$e=function(qe){if(Fe(qe))return"";try{return Ue.call(qe)}catch{}try{return qe+""}catch{}return""};var Ue=Function.prototype.toString;xe.exports=$e},3367:function(xe,$e){$e=function(Ie){return Ie==null?"":Ie.toString()},xe.exports=$e},4331:function(xe,$e,Ie){var Fe=Ie(7767),Ue=Ie(3597);$e=function(qe,At){return At==null&&qe.trim?qe.trim():Fe(Ue(qe,At),At)},xe.exports=$e},7756:function(xe,$e,Ie){var Fe=Ie(4193),Ue=Ie(1286);$e=function(At,Dt){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Fe(Lt,qe);var jt=Lt.ellipsis,hn=Lt.separator;if(Dt>At.length)return At;var vn=Dt-jt.length;if(vn<1)return jt;var bn=At.slice(0,vn);if(Ue(hn))return bn+jt;if(At.indexOf(hn,vn)!==vn){var _n=bn.lastIndexOf(hn);_n>-1&&(bn=bn.slice(0,_n))}return bn+jt};var qe={ellipsis:"..."};xe.exports=$e},3085:function(xe,$e,Ie){var Fe=Ie(106),Ue=Ie(9433),qe=Ie(3063),At=Ie(2349);$e=function(Lt){var jt,hn=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return Lt===null&&(jt="Null"),Lt===void 0&&(jt="Undefined"),Ue(Lt)&&(jt="NaN"),At(Lt)&&(jt="Buffer"),jt||(jt=Fe(Lt).match(Dt))&&(jt=jt[1]),jt?hn?qe(jt):jt:""};var Dt=/^\[object\s+(.*?)]$/;xe.exports=$e},8166:function(xe,$e,Ie){var Fe=Ie(996),Ue=Ie(2461);$e={encode:function(qe){return qe.length<32768?String.fromCodePoint.apply(String,qe):Ue(Fe(qe,32767),function(At){return String.fromCodePoint.apply(String,At)}).join("")},decode:function(qe){for(var At=[],Dt=0,Lt=qe.length;Dt=55296&&jt<=56319&&Dt>6*Sn)+xn);Sn>0;)En+=bn(128|63&Cn>>6*(Sn-1)),Sn--;return En}function wn(Cn){for(;;){if(qe>=At&&jt){if(Cn)return kn();throw new Error("Invalid byte index")}if(qe===At)return!1;var Sn=Ue[qe];if(qe++,jt){if(Snvn){if(Cn)return qe--,kn();throw new Error("Invalid continuation byte")}if(hn=128,vn=191,Dt=Dt<<6|63&Sn,++Lt===jt){var xn=Dt;return Dt=0,jt=0,Lt=0,xn}}else{if(!(128&Sn))return Sn;if((224&Sn)==192)jt=1,Dt=31&Sn;else if((240&Sn)==224)Sn===224&&(hn=160),Sn===237&&(vn=159),jt=2,Dt=15&Sn;else{if((248&Sn)!=240){if(Cn)return kn();throw new Error("Invalid UTF-8 detected")}Sn===240&&(hn=144),Sn===244&&(vn=143),jt=3,Dt=7&Sn}}}}function kn(){var Cn=qe-Lt-1;return qe=Cn+1,Dt=0,jt=0,Lt=0,hn=128,vn=191,Ue[Cn]}xe.exports=$e},5936:function(xe,$e,Ie){var Fe=Ie(3366);$e=function(){var At=Fe(16);return At[6]=15&At[6]|64,At[8]=63&At[8]|128,Ue[At[0]]+Ue[At[1]]+Ue[At[2]]+Ue[At[3]]+"-"+Ue[At[4]]+Ue[At[5]]+"-"+Ue[At[6]]+Ue[At[7]]+"-"+Ue[At[8]]+Ue[At[9]]+"-"+Ue[At[10]]+Ue[At[11]]+Ue[At[12]]+Ue[At[13]]+Ue[At[14]]+Ue[At[15]]};for(var Ue=[],qe=0;qe<256;qe++)Ue[qe]=(qe+256).toString(16).substr(1);xe.exports=$e},2578:function(xe,$e,Ie){var Fe=Ie(3783);$e=function(Ue){var qe=[];return Fe(Ue,function(At){qe.push(At)}),qe},xe.exports=$e},3514:function(xe,$e,Ie){var Fe=Ie(8573),Ue=Ie(9882),qe=Ie(4331),At=Ie(3783),Dt=Ie(2461),Lt=Ie(9433);$e=function(){var jt=Fe("viewport");if(!jt)return 1;jt=Dt(jt.split(","),function(wn){return qe(wn)});var hn=.25,vn=5,bn=1;At(jt,function(wn){var kn=(wn=wn.split("="))[0];wn=wn[1],kn==="initial-scale"&&(bn=+wn),kn==="maximum-scale"&&(vn=+wn),kn==="minimum-scale"&&(hn=+wn)});var _n=Ue(bn,hn,vn);return Lt(_n)?1:_n},xe.exports=$e},8933:function(xe,$e){$e=function(Ie){for(var Fe=[],Ue=document.evaluate(Ie,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),qe=0;qe=Bn.length&&(Bn=void 0),{value:Bn&&Bn[Dn++],done:!Bn}}};throw new TypeError(Vn?"Object is not iterable.":"Symbol.iterator is not defined.")},Dt=this&&this.__importDefault||function(Bn){return Bn&&Bn.__esModule?Bn:{default:Bn}};Object.defineProperty($e,"__esModule",{value:!0});var Lt=Dt(Ie(1160)),jt=Ie(7669),hn=Ie(2062),vn=Dt(Ie(242)),bn=Dt(Ie(2439)),_n=Dt(Ie(3063)),wn=Dt(Ie(3783)),kn=Dt(Ie(3009)),Cn=Dt(Ie(5044)),Sn=Dt(Ie(4502)),xn=Dt(Ie(6329)),En=Dt(Ie(7494)),Tn=Dt(Ie(6341)),An=Dt(Ie(3875)),$n=Dt(Ie(3577)),Pn=Dt(Ie(6768));Ie(8169);var Nn=function(Bn){function Vn(Ln,Dn){Dn===void 0&&(Dn={});var Hn=Bn.call(this,Ln,{compName:"dom-highlighter"},Dn)||this;return Hn.overlay=new jt.HighlightOverlay(window),Hn.reset=function(){var Fn=document.documentElement.clientWidth,zn=document.documentElement.clientHeight;Hn.overlay.reset({viewportSize:{width:Fn,height:zn},deviceScaleFactor:1,pageScaleFactor:1,pageZoomFactor:1,emulationScaleFactor:1,scrollX:window.scrollX,scrollY:window.scrollY})},Hn.initOptions(Dn,{showRulers:!1,showExtensionLines:!1,showInfo:!0,showStyles:!0,showAccessibilityInfo:!0,colorFormat:"hex",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)",monitorResize:!0}),Hn.overlay.setContainer(Ln),Hn.overlay.setPlatform("mac"),Hn.redraw=(0,bn.default)(function(){Hn.reset(),Hn.draw()},16),Hn.redraw(),Hn.bindEvent(),Hn}return Ue(Vn,Bn),Vn.prototype.highlight=function(Ln,Dn){Dn&&(0,xn.default)(this.options,Dn),this.target=Ln,Ln instanceof HTMLElement&&this.options.monitorResize&&(this.resizeSensor&&this.resizeSensor.destroy(),this.resizeSensor=new vn.default(Ln),this.resizeSensor.addListener(this.redraw)),this.redraw()},Vn.prototype.hide=function(){this.target=null,this.redraw()},Vn.prototype.intercept=function(Ln){this.interceptor=Ln},Vn.prototype.destroy=function(){window.removeEventListener("resize",this.redraw),window.removeEventListener("scroll",this.redraw),this.resizeSensor&&this.resizeSensor.destroy(),Bn.prototype.destroy.call(this)},Vn.prototype.draw=function(){var Ln=this.target;Ln&&(Ln instanceof Text?this.drawText(Ln):this.drawElement(Ln))},Vn.prototype.drawText=function(Ln){var Dn=this.options,Hn=document.createRange();Hn.selectNode(Ln);var Fn=Hn.getBoundingClientRect(),zn=Fn.left,jn=Fn.top,Gn=Fn.width,Wn=Fn.height;Hn.detach();var Xn={paths:[{path:this.rectToPath({left:zn,top:jn,width:Gn,height:Wn}),fillColor:On(Dn.contentColor),name:"content"}],showExtensionLines:Dn.showExtensionLines,showRulers:Dn.showRulers};Dn.showInfo&&(Xn.elementInfo={tagName:"#text",nodeWidth:Gn,nodeHeight:Wn}),this.overlay.drawHighlight(Xn)},Vn.prototype.drawElement=function(Ln){var Dn={paths:this.getPaths(Ln),showExtensionLines:this.options.showExtensionLines,showRulers:this.options.showRulers,colorFormat:this.options.colorFormat};if(this.options.showInfo&&(Dn.elementInfo=this.getElementInfo(Ln)),this.interceptor){var Hn=this.interceptor(Dn);Hn&&(Dn=Hn)}this.overlay.drawHighlight(Dn)},Vn.prototype.getPaths=function(Ln){var Dn=this.options,Hn=window.getComputedStyle(Ln),Fn=Ln.getBoundingClientRect(),zn=Fn.left,jn=Fn.top,Gn=Fn.width,Wn=Fn.height,Xn=function(lr){return(0,hn.pxToNum)(Hn.getPropertyValue(lr))},er=Xn("margin-left"),rr=Xn("margin-right"),Jn=Xn("margin-top"),Yn=Xn("margin-bottom"),qn=Xn("border-left-width"),ar=Xn("border-right-width"),tr=Xn("border-top-width"),or=Xn("border-bottom-width"),sr=Xn("padding-left"),Kn=Xn("padding-right"),Zn=Xn("padding-top"),nr=Xn("padding-bottom");return[{path:this.rectToPath({left:zn+qn+sr,top:jn+tr+Zn,width:Gn-qn-sr-ar-Kn,height:Wn-tr-Zn-or-nr}),fillColor:On(Dn.contentColor),name:"content"},{path:this.rectToPath({left:zn+qn,top:jn+tr,width:Gn-qn-ar,height:Wn-tr-or}),fillColor:On(Dn.paddingColor),name:"padding"},{path:this.rectToPath({left:zn,top:jn,width:Gn,height:Wn}),fillColor:On(Dn.borderColor),name:"border"},{path:this.rectToPath({left:zn-er,top:jn-Jn,width:Gn+er+rr,height:Wn+Jn+Yn}),fillColor:On(Dn.marginColor),name:"margin"}]},Vn.prototype.getElementInfo=function(Ln){var Dn=Ln.getBoundingClientRect(),Hn=Dn.width,Fn=Dn.height,zn=Ln.getAttribute("class")||"";zn=zn.split(/\s+/).map(function(Gn){return"."+Gn}).join("");var jn={tagName:(0,_n.default)(Ln.tagName),className:zn,idValue:Ln.id,nodeWidth:Hn,nodeHeight:Fn};return this.options.showStyles&&(jn.style=this.getStyles(Ln)),this.options.showAccessibilityInfo&&(0,xn.default)(jn,this.getAccessibilityInfo(Ln)),jn},Vn.prototype.getStyles=function(Ln){for(var Dn=window.getComputedStyle(Ln),Hn=!1,Fn=Ln.childNodes,zn=0,jn=Fn.length;zn-1)},Vn.prototype.getAccessibleNameAndRole=function(Ln){var Dn=Ln.getAttribute("labelledby")||Ln.getAttribute("aria-label"),Hn=Ln.getAttribute("role"),Fn=(0,_n.default)(Ln.tagName);return $n.default.forEach(function(zn){var jn,Gn;if(!Hn){var Wn=zn[0],Xn=zn[2];if(Wn===Fn){if(Xn)try{for(var er=At(Xn),rr=er.next();!rr.done;rr=er.next()){var Jn=rr.value;if(Ln.getAttribute(Jn[0])!==Jn[1])return}}catch(Yn){jn={error:Yn}}finally{try{rr&&!rr.done&&(Gn=er.return)&&Gn.call(er)}finally{if(jn)throw jn.error}}Hn=zn[1]}}}),{accessibleName:Dn||Ln.getAttribute("title")||"",accessibleRole:Hn||"generic"}},Vn.prototype.bindEvent=function(){var Ln=this;window.addEventListener("resize",this.redraw),window.addEventListener("scroll",this.redraw),this.on("optionChange",function(){return Ln.redraw()})},Vn.prototype.rectToPath=function(Ln){var Dn=Ln.left,Hn=Ln.top,Fn=Ln.width,zn=Ln.height,jn=[];return jn.push("M",Dn,Hn),jn.push("L",Dn+Fn,Hn),jn.push("L",Dn+Fn,Hn+zn),jn.push("L",Dn,Hn+zn),jn.push("Z"),jn},Vn}(Lt.default);$e.default=Nn,xe.exports=Nn,xe.exports.default=Nn;var Mn=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,In=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/;function On(Bn){return(0,Pn.default)(Bn)?Bn:Bn.a?"rgba(".concat(Bn.r,", ").concat(Bn.g,", ").concat(Bn.b,", ").concat(Bn.a,")"):"rgb(".concat(Bn.r,", ").concat(Bn.g,", ").concat(Bn.b,")")}function Rn(Bn,Vn,Ln){Ln===void 0&&(Ln=!1);var Dn={};return(0,wn.default)(Vn,function(Hn){var Fn,zn=Bn[Hn==="text-opacity"?"color":Hn];zn&&(Fn=zn,(Mn.test(Fn)||In.test(Fn))&&(zn=function(jn){var Gn=kn.default.parse(jn),Wn=Gn.val[3]||1;return Gn.val=Gn.val.slice(0,3),Gn.val.push(Math.round(255*Wn)),"#"+(0,Sn.default)(Cn.default.encode(Gn.val))}(zn),Hn==="text-opacity"&&(zn=zn.slice(7),zn=Cn.default.decode(zn)[0]/255)),Ln&&(Hn=(0,En.default)(Hn)),Dn[Hn]=zn)}),Dn}},9706:function(xe,$e){var Ie=this&&this.__read||function(On,Rn){var Bn=typeof Symbol=="function"&&On[Symbol.iterator];if(!Bn)return On;var Vn,Ln,Dn=Bn.call(On),Hn=[];try{for(;(Rn===void 0||Rn-- >0)&&!(Vn=Dn.next()).done;)Hn.push(Vn.value)}catch(Fn){Ln={error:Fn}}finally{try{Vn&&!Vn.done&&(Bn=Dn.return)&&Bn.call(Dn)}finally{if(Ln)throw Ln.error}}return Hn},Fe=this&&this.__values||function(On){var Rn=typeof Symbol=="function"&&Symbol.iterator,Bn=Rn&&On[Rn],Vn=0;if(Bn)return Bn.call(On);if(On&&typeof On.length=="number")return{next:function(){return On&&Vn>=On.length&&(On=void 0),{value:On&&On[Vn++],done:!On}}};throw new TypeError(Rn?"Object is not iterable.":"Symbol.iterator is not defined.")};function Ue(On,Rn){var Bn=On[3];return[(1-Bn)*Rn[0]+Bn*On[0],(1-Bn)*Rn[1]+Bn*On[1],(1-Bn)*Rn[2]+Bn*On[2],Bn+Rn[3]*(1-Bn)]}function qe(On){var Rn=Ie(On,3),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2];return .2126*(Bn<=.03928?Bn/12.92:Math.pow((Bn+.055)/1.055,2.4))+.7152*(Vn<=.03928?Vn/12.92:Math.pow((Vn+.055)/1.055,2.4))+.0722*(Ln<=.03928?Ln/12.92:Math.pow((Ln+.055)/1.055,2.4))}Object.defineProperty($e,"__esModule",{value:!0}),$e.getContrastThreshold=$e.isLargeFont=$e.getAPCAThreshold=$e.desiredLuminanceAPCA=$e.contrastRatioByLuminanceAPCA=$e.contrastRatioAPCA=$e.luminanceAPCA=$e.contrastRatio=$e.luminance=$e.rgbaToHsla=$e.blendColors=void 0,$e.blendColors=Ue,$e.rgbaToHsla=function(On){var Rn=Ie(On,4),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2],Dn=Rn[3],Hn=Math.max(Bn,Vn,Ln),Fn=Math.min(Bn,Vn,Ln),zn=Hn-Fn,jn=Hn+Fn,Gn=.5*jn;return[Fn===Hn?0:Bn===Hn?(.16666666666666666*(Vn-Ln)/zn+1)%1:Vn===Hn?.16666666666666666*(Ln-Bn)/zn+.3333333333333333:.16666666666666666*(Bn-Vn)/zn+.6666666666666666,Gn===0||Gn===1?0:Gn<=.5?zn/jn:zn/(2-jn),Gn,Dn]},$e.luminance=qe,$e.contrastRatio=function(On,Rn){var Bn=qe(Ue(On,Rn)),Vn=qe(Rn);return(Math.max(Bn,Vn)+.05)/(Math.min(Bn,Vn)+.05)};var At=2.4,Dt=.55,Lt=.58,jt=.62,hn=.57,vn=.03,bn=1.45,_n=1.25,wn=1.25,kn=5e-4,Cn=.078,Sn=12.82051282051282,xn=.06,En=.001;function Tn(On){var Rn=Ie(On,3),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2];return .2126729*Math.pow(Bn,At)+.7151522*Math.pow(Vn,At)+.072175*Math.pow(Ln,At)}function An(On){return On>vn?On:On+Math.pow(vn-On,bn)}function $n(On,Rn){if(On=An(On),Rn=An(Rn),Math.abs(On-Rn)=On?(Bn=(Math.pow(Rn,Dt)-Math.pow(On,Lt))*_n)-En?0:Bn>-Cn?Bn-Bn*Sn*xn:Bn+xn)}$e.luminanceAPCA=Tn,$e.contrastRatioAPCA=function(On,Rn){return $n(Tn(On),Tn(Rn))},$e.contrastRatioByLuminanceAPCA=$n,$e.desiredLuminanceAPCA=function(On,Rn,Bn){function Vn(){return Bn?Math.pow(Math.abs(Math.pow(On,jt)-(-Rn-xn)/wn),1/hn):Math.pow(Math.abs(Math.pow(On,Dt)-(Rn+xn)/_n),1/Lt)}On=An(On),Rn/=100;var Ln=Vn();return(Ln<0||Ln>1)&&(Bn=!Bn,Ln=Vn()),Ln};var Pn=[[12,-1,-1,-1,-1,100,90,80,-1,-1],[14,-1,-1,-1,100,90,80,60,60,-1],[16,-1,-1,100,90,80,60,55,50,50],[18,-1,-1,90,80,60,55,50,40,40],[24,-1,100,80,60,55,50,40,38,35],[30,-1,90,70,55,50,40,38,35,40],[36,-1,80,60,50,40,38,35,30,25],[48,100,70,55,40,38,35,30,25,20],[60,90,60,50,38,35,30,25,20,20],[72,80,55,40,35,30,25,20,20,20],[96,70,50,35,30,25,20,20,20,20],[120,60,40,30,25,20,20,20,20,20]];function Nn(On,Rn){var Bn=72*parseFloat(On.replace("px",""))/96;return["bold","bolder","600","700","800","900"].indexOf(Rn)!==-1?Bn>=14:Bn>=18}Pn.reverse(),$e.getAPCAThreshold=function(On,Rn){var Bn,Vn,Ln,Dn,Hn=parseFloat(On.replace("px","")),Fn=parseFloat(Rn);try{for(var zn=Fe(Pn),jn=zn.next();!jn.done;jn=zn.next()){var Gn=Ie(jn.value),Wn=Gn[0],Xn=Gn.slice(1);if(Hn>=Wn)try{for(var er=(Ln=void 0,Fe([900,800,700,600,500,400,300,200,100].entries())),rr=er.next();!rr.done;rr=er.next()){var Jn=Ie(rr.value,2),Yn=Jn[0];if(Fn>=Jn[1]){var qn=Xn[Xn.length-1-Yn];return qn===-1?null:qn}}}catch(ar){Ln={error:ar}}finally{try{rr&&!rr.done&&(Dn=er.return)&&Dn.call(er)}finally{if(Ln)throw Ln.error}}}}catch(ar){Bn={error:ar}}finally{try{jn&&!jn.done&&(Vn=zn.return)&&Vn.call(zn)}finally{if(Bn)throw Bn.error}}return null},$e.isLargeFont=Nn;var Mn={aa:3,aaa:4.5},In={aa:4.5,aaa:7};$e.getContrastThreshold=function(On,Rn){return Nn(On,Rn)?Mn:In}},9434:function(xe,$e){var Ie=this&&this.__values||function(jt){var hn=typeof Symbol=="function"&&Symbol.iterator,vn=hn&&jt[hn],bn=0;if(vn)return vn.call(jt);if(jt&&typeof jt.length=="number")return{next:function(){return jt&&bn>=jt.length&&(jt=void 0),{value:jt&&jt[bn++],done:!jt}}};throw new TypeError(hn?"Object is not iterable.":"Symbol.iterator is not defined.")},Fe=this&&this.__read||function(jt,hn){var vn=typeof Symbol=="function"&&jt[Symbol.iterator];if(!vn)return jt;var bn,_n,wn=vn.call(jt),kn=[];try{for(;(hn===void 0||hn-- >0)&&!(bn=wn.next()).done;)kn.push(bn.value)}catch(Cn){_n={error:Cn}}finally{try{bn&&!bn.done&&(vn=wn.return)&&vn.call(wn)}finally{if(_n)throw _n.error}}return kn},Ue=this&&this.__spreadArray||function(jt,hn,vn){if(vn||arguments.length===2)for(var bn,_n=0,wn=hn.length;_nvn&&(jt=vn),jt},$e.adoptStyleSheet=Lt},1521:function(xe,$e,Ie){var Fe=this&&this.__values||function(Sn){var xn=typeof Symbol=="function"&&Symbol.iterator,En=xn&&Sn[xn],Tn=0;if(En)return En.call(Sn);if(Sn&&typeof Sn.length=="number")return{next:function(){return Sn&&Tn>=Sn.length&&(Sn=void 0),{value:Sn&&Sn[Tn++],done:!Sn}}};throw new TypeError(xn?"Object is not iterable.":"Symbol.iterator is not defined.")},Ue=this&&this.__read||function(Sn,xn){var En=typeof Symbol=="function"&&Sn[Symbol.iterator];if(!En)return Sn;var Tn,An,$n=En.call(Sn),Pn=[];try{for(;(xn===void 0||xn-- >0)&&!(Tn=$n.next()).done;)Pn.push(Tn.value)}catch(Nn){An={error:Nn}}finally{try{Tn&&!Tn.done&&(En=$n.return)&&En.call($n)}finally{if(An)throw An.error}}return Pn},qe=this&&this.__spreadArray||function(Sn,xn,En){if(En||arguments.length===2)for(var Tn,An=0,$n=xn.length;An<$n;An++)!Tn&&An in xn||(Tn||(Tn=Array.prototype.slice.call(xn,0,An)),Tn[An]=xn[An]);return Sn.concat(Tn||Array.prototype.slice.call(xn))},At=this&&this.__importDefault||function(Sn){return Sn&&Sn.__esModule?Sn:{default:Sn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.drawPath=$e.formatColor=$e.formatRgba=$e.parseHexa=$e.createPathForQuad=$e.hatchFillPath=$e.applyMatrixToPoint=$e.emptyBounds=$e.buildPath=$e.fillPathWithBoxStyle=$e.drawPathWithLineStyle=void 0;var Dt=At(Ie(4858)),Lt=Ie(9706);function jt(Sn,xn,En){var Tn=0;function An(Nn){for(var Mn=[],In=0;InXn&&Jner,ar=Dn-Wn;ar=(0,Lt.constrainNumber)(ar,jn,On-Hn-jn);var tr=In.minY-zn-Fn,or=!0;tr<0?(tr=Math.min(Rn-Fn,In.maxY+zn),or=!1):In.minY>Rn&&(tr=Rn-zn-Fn);var sr=ar>=In.minX&&ar+Hn<=In.maxX&&tr>=In.minY&&tr+Fn<=In.maxY,Kn=arIn.minX&&trIn.minY;if(Kn&&!sr)return void(Vn.style.display="none");if(Vn.style.top=tr+"px",Vn.style.left=ar+"px",!qn){var Zn=(0,Lt.createChild)(Vn,"div","tooltip-arrow");Zn.style.clipPath=or?"polygon(0 0, 100% 0, 50% 100%)":"polygon(50% 0, 0 100%, 100% 100%)",Zn.style.top=(or?Fn-1:-zn)+"px",Zn.style.left=Dn-ar+"px"}}(this.tooltip,Sn.elementInfo,Sn.colorFormat,xn,this.canvasWidth,this.canvasHeight)),this.context.restore(),{bounds:xn}},Cn.prototype.drawAxis=function(Sn,xn,En){Sn.save();var Tn=this.pageZoomFactor*this.pageScaleFactor*this.emulationScaleFactor,An=this.scrollX*this.pageScaleFactor,$n=this.scrollY*this.pageScaleFactor;function Pn(Hn){return Math.round(Hn*Tn)}function Nn(Hn){return Math.round(Hn/Tn)}var Mn=this.canvasWidth/Tn,In=this.canvasHeight/Tn,On=50;Sn.save(),Sn.fillStyle=_n,En?Sn.fillRect(0,Pn(In)-15,Pn(Mn),Pn(In)):Sn.fillRect(0,0,Pn(Mn),15),Sn.globalCompositeOperation="destination-out",Sn.fillStyle="red",xn?Sn.fillRect(Pn(Mn)-15,0,Pn(Mn),Pn(In)):Sn.fillRect(0,0,15,Pn(In)),Sn.restore(),Sn.fillStyle=_n,xn?Sn.fillRect(Pn(Mn)-15,0,Pn(Mn),Pn(In)):Sn.fillRect(0,0,15,Pn(In)),Sn.lineWidth=1,Sn.strokeStyle=bn,Sn.fillStyle=bn,Sn.save(),Sn.translate(-An,.5-$n);for(var Rn=In+Nn($n),Bn=100;Bn]*>/g.test(An))try{var $n=Dt.default.parse(An);return _n($n,function(Pn){Pn.attrs&&Pn.attrs.class&&(Pn.attrs.class=Tn(Pn.attrs.class))}),Dt.default.stringify($n)}catch{return Tn(An)}return Tn(An)}};var wn,kn="ontouchstart"in At.default,Cn={start:"touchstart",move:"touchmove",end:"touchend"},Sn={start:"mousedown",move:"mousemove",end:"mouseup"};$e.drag=function(xn){return kn?Cn[xn]:Sn[xn]},$e.eventClient=function(xn,En){var Tn=xn==="x"?"clientX":"clientY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.eventPage=function(xn,En){var Tn=xn==="x"?"pageX":"pageY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.measuredScrollbarWidth=function(){if((0,Lt.default)(wn))return wn;if(!document)return 16;var xn=document.createElement("div"),En=document.createElement("div");return xn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),En.setAttribute("style","height: 200px"),xn.appendChild(En),document.body.appendChild(xn),wn=xn.offsetWidth-xn.clientWidth,document.body.removeChild(xn),wn},$e.hasVerticalScrollbar=function(xn){return xn.scrollHeight>xn.offsetHeight},$e.executeAfterTransition=function(xn,En){if((0,bn.default)(xn))return En();var Tn=function(An){An.target===xn&&(xn.removeEventListener("transitionend",Tn),En())};xn.addEventListener("transitionend",Tn)},$e.pxToNum=function(xn){return(0,hn.default)(xn.replace("px",""))},$e.getPlatform=function(){var xn=(0,vn.default)();return xn==="os x"?"mac":xn},$e.resetCanvasSize=function(xn){xn.width=Math.round(xn.offsetWidth*window.devicePixelRatio),xn.height=Math.round(xn.offsetHeight*window.devicePixelRatio)}},6093:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(bn,_n){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(wn,kn){wn.__proto__=kn}||function(wn,kn){for(var Cn in kn)Object.prototype.hasOwnProperty.call(kn,Cn)&&(wn[Cn]=kn[Cn])},Fe(bn,_n)},function(bn,_n){if(typeof _n!="function"&&_n!==null)throw new TypeError("Class extends value "+String(_n)+" is not a constructor or null");function wn(){this.constructor=bn}Fe(bn,_n),bn.prototype=_n===null?Object.create(_n):(wn.prototype=_n.prototype,new wn)}),qe=this&&this.__importDefault||function(bn){return bn&&bn.__esModule?bn:{default:bn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1512)),Dt=qe(Ie(5229)),Lt=qe(Ie(2244)),jt=qe(Ie(8613)),hn=function(bn){function _n(wn,kn){kn===void 0&&(kn={});var Cn=bn.call(this,wn,{compName:"notification"},kn)||this;return Cn.notifications=[],Cn.initOptions(kn,{position:{x:"right",y:"bottom"},duration:2e3}),Cn.initTpl(),Cn}return Ue(_n,bn),_n.prototype.notify=function(wn,kn){var Cn=this;kn===void 0&&(kn={duration:this.options.duration});var Sn=new vn(this,wn);this.notifications.push(Sn),this.add(Sn),setTimeout(function(){return Cn.remove(Sn.id)},kn.duration)},_n.prototype.dismissAll=function(){for(var wn=this.notifications,kn=wn[0];kn;)this.remove(kn.id),kn=wn[0]},_n.prototype.add=function(wn){this.container.appendChild(wn.container)},_n.prototype.remove=function(wn){var kn=this.notifications,Cn=(0,Lt.default)(kn,function(xn){return xn.id===wn});if(Cn){Cn.destroy();var Sn=kn.indexOf(Cn);kn.splice(Sn,1)}},_n.prototype.initTpl=function(){var wn=this.$container,kn=this.options.position,Cn=kn.x,Sn=kn.y,xn="flex-end",En="flex-end";switch(Cn){case"center":En="center";break;case"left":En="flex-start"}Sn==="top"&&(xn="flex-start"),wn.attr("style","justify-content: ".concat(xn,"; align-items: ").concat(En))},_n}(qe(Ie(5404)).default);$e.default=hn;var vn=function(){function bn(_n,wn){this.container=(0,jt.default)("div"),this.$container=(0,At.default)(this.container),this.notification=_n,this.content=wn,this.id=(0,Dt.default)("luna-notification-"),this.$container.attr({id:this.id,class:_n.c("item ".concat(_n.getOption("position").y==="bottom"?"lower":"upper"))}),this.initTpl()}return bn.prototype.destroy=function(){this.$container.remove()},bn.prototype.initTpl=function(){this.$container.html(this.notification.c('
    '.concat(this.content,"
    ")))},bn}();xe.exports=hn,xe.exports.default=hn},5404:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(wn,kn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Cn,Sn){Cn.__proto__=Sn}||function(Cn,Sn){for(var xn in Sn)Object.prototype.hasOwnProperty.call(Sn,xn)&&(Cn[xn]=Sn[xn])},Fe(wn,kn)},function(wn,kn){if(typeof kn!="function"&&kn!==null)throw new TypeError("Class extends value "+String(kn)+" is not a constructor or null");function Cn(){this.constructor=wn}Fe(wn,kn),wn.prototype=kn===null?Object.create(kn):(Cn.prototype=kn.prototype,new Cn)}),qe=this&&this.__importDefault||function(wn){return wn&&wn.__esModule?wn:{default:wn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1443)),Dt=qe(Ie(1512)),Lt=Ie(164),jt=qe(Ie(3783)),hn=qe(Ie(6329)),vn=qe(Ie(4193)),bn=qe(Ie(5852)),_n=function(wn){function kn(Cn,Sn,xn){var En=Sn.compName,Tn=(xn===void 0?{}:xn).theme,An=Tn===void 0?"light":Tn,$n=wn.call(this)||this;return $n.subComponents=[],$n.compName=En,$n.c=(0,Lt.classPrefix)(En),$n.options={},$n.container=Cn,$n.$container=(0,Dt.default)(Cn),$n.$container.addClass(["luna-".concat(En),$n.c("platform-".concat((0,Lt.getPlatform)()))]),$n.on("optionChange",function(Pn,Nn,Mn){var In=$n.c;Pn==="theme"&&($n.$container.rmClass(In("theme-".concat(Mn))).addClass(In("theme-".concat(Nn))),(0,jt.default)($n.subComponents,function(On){return On.setOption("theme",Nn)}))}),$n.setOption("theme",An),$n}return Ue(kn,wn),kn.prototype.destroy=function(){this.destroySubComponents();var Cn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Cn("platform-".concat((0,Lt.getPlatform)()))).rmClass(Cn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()},kn.prototype.setOption=function(Cn,Sn){var xn=this,En=this.options,Tn={};typeof Cn=="string"?Tn[Cn]=Sn:Tn=Cn,(0,jt.default)(Tn,function(An,$n){var Pn=En[$n];En[$n]=An,xn.emit("optionChange",$n,An,Pn)})},kn.prototype.getOption=function(Cn){return this.options[Cn]},kn.prototype.addSubComponent=function(Cn){Cn.setOption("theme",this.options.theme),this.subComponents.push(Cn)},kn.prototype.removeSubComponent=function(Cn){(0,bn.default)(this.subComponents,function(Sn){return Sn===Cn})},kn.prototype.destroySubComponents=function(){(0,jt.default)(this.subComponents,function(Cn){return Cn.destroy()}),this.subComponents=[]},kn.prototype.initOptions=function(Cn,Sn){Sn===void 0&&(Sn={}),(0,vn.default)(Cn,Sn),(0,hn.default)(this.options,Cn)},kn.prototype.find=function(Cn){return this.$container.find(this.c(Cn))},kn}(At.default);$e.default=_n},164:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(xn){return xn&&xn.__esModule?xn:{default:xn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.resetCanvasSize=$e.getPlatform=$e.pxToNum=$e.executeAfterTransition=$e.hasVerticalScrollbar=$e.measuredScrollbarWidth=$e.eventClient=$e.drag=$e.classPrefix=void 0;var Ue=Fe(Ie(2461)),qe=Fe(Ie(4331)),At=Fe(Ie(5610)),Dt=Fe(Ie(7483)),Lt=Fe(Ie(3990)),jt=Fe(Ie(6341)),hn=Fe(Ie(3875)),vn=Fe(Ie(6954)),bn=Fe(Ie(9585));function _n(xn,En){for(var Tn=0,An=xn.length;Tn]*>/g.test(An))try{var $n=Dt.default.parse(An);return _n($n,function(Pn){Pn.attrs&&Pn.attrs.class&&(Pn.attrs.class=Tn(Pn.attrs.class))}),Dt.default.stringify($n)}catch{return Tn(An)}return Tn(An)}};var wn,kn="ontouchstart"in At.default,Cn={start:"touchstart",move:"touchmove",end:"touchend"},Sn={start:"mousedown",move:"mousemove",end:"mouseup"};$e.drag=function(xn){return kn?Cn[xn]:Sn[xn]},$e.eventClient=function(xn,En){var Tn=xn==="x"?"clientX":"clientY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.measuredScrollbarWidth=function(){if((0,Lt.default)(wn))return wn;if(!document)return 16;var xn=document.createElement("div"),En=document.createElement("div");return xn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),En.setAttribute("style","height: 200px"),xn.appendChild(En),document.body.appendChild(xn),wn=xn.offsetWidth-xn.clientWidth,document.body.removeChild(xn),wn},$e.hasVerticalScrollbar=function(xn){return xn.scrollHeight>xn.offsetHeight},$e.executeAfterTransition=function(xn,En){if((0,bn.default)(xn))return En();var Tn=function(An){An.target===xn&&(xn.removeEventListener("transitionend",Tn),En())};xn.addEventListener("transitionend",Tn)},$e.pxToNum=function(xn){return(0,hn.default)(xn.replace("px",""))},$e.getPlatform=function(){var xn=(0,vn.default)();return xn==="os x"?"mac":xn},$e.resetCanvasSize=function(xn){xn.width=Math.round(xn.offsetWidth*window.devicePixelRatio),xn.height=Math.round(xn.offsetHeight*window.devicePixelRatio)}},8169:function(xe,$e,Ie){Ie.r($e),Ie.d($e,{default:function(){return Cn}});var Fe={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},Ue=/([astvzqmhlc])([^astvzqmhlc]*)/gi,qe=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi,At=function(Sn){var xn=[],En=String(Sn).trim();return En[0]!=="M"&&En[0]!=="m"||En.replace(Ue,function(Tn,An,$n){var Pn=An.toLowerCase(),Nn=function(In){var On=In.match(qe);return On?On.map(Number):[]}($n),Mn=An;if(Pn==="m"&&Nn.length>2&&(xn.push([Mn].concat(Nn.splice(0,2))),Pn="l",Mn=Mn==="m"?"l":"L"),Nn.length=Fe[Pn]&&Nn.length&&Fe[Pn];)xn.push([Mn].concat(Nn.splice(0,Fe[Pn])));return""}),xn};function Dt(Sn,xn){for(var En=0;EnSn.length)&&(xn=Sn.length);for(var En=0,Tn=new Array(xn);En1&&(er*=Dn=Math.sqrt(Dn),rr*=Dn),Hn=er*er*rr*rr,Fn=er*er*Vn.y*Vn.y+rr*rr*Vn.x*Vn.x,bn(ar={x:er*Vn.y/rr,y:-rr*Vn.x/er},Rn!==On?Math.sqrt((Hn-Fn)/Fn)||0:-Math.sqrt((Hn-Fn)/Fn)||0),In=Math.atan2((Vn.y-ar.y)/rr,(Vn.x-ar.x)/er),Mn=Math.atan2(-(Vn.y+ar.y)/rr,-(Vn.x+ar.x)/er),vn(ar,Ln),nr=ar,lr=(Bn.x+Cr.x)/2,ir=(Bn.y+Cr.y)/2,nr.x+=lr,nr.y+=ir,Pn.save(),Pn.translate(ar.x,ar.y),Pn.rotate(Ln),Pn.scale(er,rr),Pn.arc(0,0,1,In,Mn,!Rn),Pn.restore();break;case"C":tr=dr[3],or=dr[4],zn=dr[5],Gn=dr[6],Pn.bezierCurveTo(dr[1],dr[2],tr,or,zn,Gn);break;case"c":Pn.bezierCurveTo(dr[1]+zn,dr[2]+Gn,dr[3]+zn,dr[4]+Gn,dr[5]+zn,dr[6]+Gn),tr=dr[3]+zn,or=dr[4]+Gn,zn+=dr[5],Gn+=dr[6];break;case"S":tr!==null&&or!==null||(tr=zn,or=Gn),Pn.bezierCurveTo(2*zn-tr,2*Gn-or,dr[1],dr[2],dr[3],dr[4]),tr=dr[1],or=dr[2],zn=dr[3],Gn=dr[4];break;case"s":tr!==null&&or!==null||(tr=zn,or=Gn),Pn.bezierCurveTo(2*zn-tr,2*Gn-or,dr[1]+zn,dr[2]+Gn,dr[3]+zn,dr[4]+Gn),tr=dr[1]+zn,or=dr[2]+Gn,zn+=dr[3],Gn+=dr[4];break;case"Q":sr=dr[1],Kn=dr[2],zn=dr[3],Gn=dr[4],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"q":sr=dr[1]+zn,Kn=dr[2]+Gn,zn+=dr[3],Gn+=dr[4],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"T":sr!==null&&Kn!==null||(sr=zn,Kn=Gn),sr=2*zn-sr,Kn=2*Gn-Kn,zn=dr[1],Gn=dr[2],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"t":sr!==null&&Kn!==null||(sr=zn,Kn=Gn),sr=2*zn-sr,Kn=2*Gn-Kn,zn+=dr[1],Gn+=dr[2],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"z":case"Z":zn=kr.x,Gn=kr.y,kr=void 0,Pn.closePath();break;case"AC":zn=dr[1],Gn=dr[2],Xn=dr[3],In=dr[4],Mn=dr[5],Zn=dr[6],Pn.arc(zn,Gn,Xn,In,Mn,Zn);break;case"AT":jn=dr[1],Wn=dr[2],zn=dr[3],Gn=dr[4],Xn=dr[5],Pn.arcTo(jn,Wn,zn,Gn,Xn);break;case"E":zn=dr[1],Gn=dr[2],er=dr[3],rr=dr[4],Ln=dr[5],In=dr[6],Mn=dr[7],Zn=dr[8],Pn.save(),Pn.translate(zn,Gn),Pn.rotate(Ln),Pn.scale(er,rr),Pn.arc(0,0,1,In,Mn,Zn),Pn.restore();break;case"R":zn=dr[1],Gn=dr[2],Jn=dr[3],Yn=dr[4],kr={x:zn,y:Gn},Pn.rect(zn,Gn,Jn,Yn)}Cr.x=zn,Cr.y=Gn}}},wn=At,kn=_n;typeof window<"u"&&kn(window);var Cn={path2dPolyfill:kn,parsePath:wn}},2777:function(xe){xe.exports=`.luna-dom-highlighter{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100000;pointer-events:none;font-size:13px}.luna-dom-highlighter-fill{position:absolute;top:0;right:0;bottom:0;left:0}.luna-dom-highlighter-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-highlighter-platform-mac{color:#303942;font-family:'.SFNSDisplay-Regular','Helvetica Neue','Lucida Grande',sans-serif}.luna-dom-highlighter-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-highlighter-px{color:gray}#luna-dom-highlighter-element-title{position:absolute;z-index:10}.luna-dom-highlighter-tooltip-content{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#fff;padding:5px 8px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;min-width:100px;max-width:min(300px,100% - 4px);z-index:2;background-clip:padding-box;will-change:transform;text-rendering:optimizeLegibility;pointer-events:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}.luna-dom-highlighter-tooltip-content .luna-dom-highlighter-tooltip-arrow{background:#fff;width:15px;height:8px;position:absolute}.luna-dom-highlighter-element-info-section{margin-top:12px;margin-bottom:6px}.luna-dom-highlighter-section-name{color:#333;font-weight:500;font-size:10px;text-transform:uppercase;letter-spacing:.05em;line-height:12px}.luna-dom-highlighter-element-info{display:flex;flex-direction:column}.luna-dom-highlighter-element-info-header{display:flex;align-items:center}.luna-dom-highlighter-element-info-body{display:flex;flex-direction:column;padding-top:2px;margin-top:2px}.luna-dom-highlighter-element-info-row{display:flex;line-height:19px}.luna-dom-highlighter-separator-container{display:flex;align-items:center;flex:auto;margin-left:7px}.luna-dom-highlighter-separator{border-top:1px solid #ddd;width:100%}.luna-dom-highlighter-element-info-name{flex-shrink:0;color:#666}.luna-dom-highlighter-element-info-gap{flex:auto}.luna-dom-highlighter-element-info-value-color{display:flex;color:#303942;margin-left:10px;align-items:baseline}.luna-dom-highlighter-a11y-icon{width:16px;height:16px;background-repeat:no-repeat;display:inline-block}.luna-dom-highlighter-element-info-value-contrast{display:flex;align-items:center;text-align:right;color:#303942;margin-left:10px}.luna-dom-highlighter-element-info-value-contrast .luna-dom-highlighter-a11y-icon{margin-left:8px}.luna-dom-highlighter-element-info-value-icon{display:flex;align-items:center}.luna-dom-highlighter-element-info-value-text{text-align:right;color:#303942;margin-left:10px;align-items:baseline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-dom-highlighter-color-swatch{display:flex;margin-right:2px;width:10px;height:10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);line-height:10px}.luna-dom-highlighter-color-swatch-inner{flex:auto;border:1px solid #808002}.luna-dom-highlighter-element-layout-type{margin-right:10px;width:16px;height:16px}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-grid{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-flex{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-element-description{flex:1 1;font-weight:700;word-wrap:break-word;word-break:break-all}.luna-dom-highlighter-dimensions{color:#737373;text-align:right;margin-left:10px}.luna-dom-highlighter-material-node-width{margin-right:2px}.luna-dom-highlighter-material-node-height{margin-left:2px}.luna-dom-highlighter-material-tag-name{color:#881280}.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id{color:#1a1aa6}.luna-dom-highlighter-contrast-text{width:16px;height:16px;text-align:center;line-height:16px;margin-right:8px;border:1px solid #000;padding:0 1px}.luna-dom-highlighter-a11y-icon-not-ok{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-a11y-icon-warning{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-a11y-icon-ok{background-image:url('data:image/svg+xml,')}@media (forced-colors:active){:root,body{background-color:transparent;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content{border-color:Highlight;background-color:canvas;color:text;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content::after{background-color:Highlight}.luna-dom-highlighter-color-swatch-inner,.luna-dom-highlighter-contrast-text,.luna-dom-highlighter-separator{border-color:Highlight}.luna-dom-highlighter-section-name{color:Highlight}.luna-dom-highlighter-dimensions,.luna-dom-highlighter-element-info-name,.luna-dom-highlighter-element-info-value-color,.luna-dom-highlighter-element-info-value-contrast,.luna-dom-highlighter-element-info-value-icon,.luna-dom-highlighter-element-info-value-text,.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id,.luna-dom-highlighter-material-tag-name{color:canvastext}} + +/*# sourceMappingURL=luna-dom-highlighter.css.map*/`},907:function(xe,$e,Ie){function Fe(Ue,qe){(qe==null||qe>Ue.length)&&(qe=Ue.length);for(var At=0,Dt=new Array(qe);At0:!1;function addEvent(xe,$e,Ie,Fe){xe.addEventListener?xe.addEventListener($e,Ie,Fe):xe.attachEvent&&xe.attachEvent("on".concat($e),Ie)}function removeEvent(xe,$e,Ie,Fe){xe.removeEventListener?xe.removeEventListener($e,Ie,Fe):xe.detachEvent&&xe.detachEvent("on".concat($e),Ie)}function getMods(xe,$e){const Ie=$e.slice(0,$e.length-1);for(let Fe=0;Fe=0;)$e[Ie-1]+=",",$e.splice(Ie,1),Ie=$e.lastIndexOf("");return $e}function compareArray(xe,$e){const Ie=xe.length>=$e.length?xe:$e,Fe=xe.length>=$e.length?$e:xe;let Ue=!0;for(let qe=0;qe_keyMap[xe.toLowerCase()]||_modifier[xe.toLowerCase()]||xe.toUpperCase().charCodeAt(0),getKey$1=xe=>Object.keys(_keyMap).find($e=>_keyMap[$e]===xe),getModifier=xe=>Object.keys(_modifier).find($e=>_modifier[$e]===xe);function setScope(xe){_scope=xe||"all"}function getScope(){return _scope||"all"}function getPressedKeyCodes(){return _downKeys.slice(0)}function getPressedKeyString(){return _downKeys.map(xe=>getKey$1(xe)||getModifier(xe)||String.fromCharCode(xe))}function getAllKeyCodes(){const xe=[];return Object.keys(_handlers).forEach($e=>{_handlers[$e].forEach(Ie=>{let{key:Fe,scope:Ue,mods:qe,shortcut:At}=Ie;xe.push({scope:Ue,shortcut:At,mods:qe,keys:Fe.split("+").map(Dt=>code(Dt))})})}),xe}function filter$1(xe){const $e=xe.target||xe.srcElement,{tagName:Ie}=$e;let Fe=!0;const Ue=Ie==="INPUT"&&!["checkbox","radio","range","button","file","reset","submit","color"].includes($e.type);return($e.isContentEditable||(Ue||Ie==="TEXTAREA"||Ie==="SELECT")&&!$e.readOnly)&&(Fe=!1),Fe}function isPressed(xe){return typeof xe=="string"&&(xe=code(xe)),_downKeys.indexOf(xe)!==-1}function deleteScope(xe,$e){let Ie,Fe;xe||(xe=getScope());for(const Ue in _handlers)if(Object.prototype.hasOwnProperty.call(_handlers,Ue))for(Ie=_handlers[Ue],Fe=0;Fe{let{element:Dt}=At;return removeKeyEvent(Dt)}):Fe++;getScope()===xe&&setScope($e||"all")}function clearModifier(xe){let $e=xe.keyCode||xe.which||xe.charCode;const Ie=_downKeys.indexOf($e);if(Ie>=0&&_downKeys.splice(Ie,1),xe.key&&xe.key.toLowerCase()==="meta"&&_downKeys.splice(0,_downKeys.length),($e===93||$e===224)&&($e=91),$e in _mods){_mods[$e]=!1;for(const Fe in _modifier)_modifier[Fe]===$e&&(hotkeys[Fe]=!1)}}function unbind(xe){if(typeof xe>"u")Object.keys(_handlers).forEach(Ue=>{Array.isArray(_handlers[Ue])&&_handlers[Ue].forEach(qe=>eachUnbind(qe)),delete _handlers[Ue]}),removeKeyEvent(null);else if(Array.isArray(xe))xe.forEach(Ue=>{Ue.key&&eachUnbind(Ue)});else if(typeof xe=="object")xe.key&&eachUnbind(xe);else if(typeof xe=="string"){for(var $e=arguments.length,Ie=new Array($e>1?$e-1:0),Fe=1;Fe<$e;Fe++)Ie[Fe-1]=arguments[Fe];let[Ue,qe]=Ie;typeof Ue=="function"&&(qe=Ue,Ue=""),eachUnbind({key:xe,scope:Ue,method:qe,splitKey:"+"})}}const eachUnbind=xe=>{let{key:$e,scope:Ie,method:Fe,splitKey:Ue="+"}=xe;getKeys($e).forEach(At=>{const Dt=At.split(Ue),Lt=Dt.length,jt=Dt[Lt-1],hn=jt==="*"?"*":code(jt);if(!_handlers[hn])return;Ie||(Ie=getScope());const vn=Lt>1?getMods(_modifier,Dt):[],bn=[];_handlers[hn]=_handlers[hn].filter(_n=>{const kn=(Fe?_n.method===Fe:!0)&&_n.scope===Ie&&compareArray(_n.mods,vn);return kn&&bn.push(_n.element),!kn}),bn.forEach(_n=>removeKeyEvent(_n))})};function eventHandler(xe,$e,Ie,Fe){if($e.element!==Fe)return;let Ue;if($e.scope===Ie||$e.scope==="all"){Ue=$e.mods.length>0;for(const qe in _mods)Object.prototype.hasOwnProperty.call(_mods,qe)&&(!_mods[qe]&&$e.mods.indexOf(+qe)>-1||_mods[qe]&&$e.mods.indexOf(+qe)===-1)&&(Ue=!1);($e.mods.length===0&&!_mods[16]&&!_mods[18]&&!_mods[17]&&!_mods[91]||Ue||$e.shortcut==="*")&&($e.keys=[],$e.keys=$e.keys.concat(_downKeys),$e.method(xe,$e)===!1&&(xe.preventDefault?xe.preventDefault():xe.returnValue=!1,xe.stopPropagation&&xe.stopPropagation(),xe.cancelBubble&&(xe.cancelBubble=!0)))}}function dispatch(xe,$e){const Ie=_handlers["*"];let Fe=xe.keyCode||xe.which||xe.charCode;if(!hotkeys.filter.call(this,xe))return;if((Fe===93||Fe===224)&&(Fe=91),_downKeys.indexOf(Fe)===-1&&Fe!==229&&_downKeys.push(Fe),["ctrlKey","altKey","shiftKey","metaKey"].forEach(Dt=>{const Lt=modifierMap[Dt];xe[Dt]&&_downKeys.indexOf(Lt)===-1?_downKeys.push(Lt):!xe[Dt]&&_downKeys.indexOf(Lt)>-1?_downKeys.splice(_downKeys.indexOf(Lt),1):Dt==="metaKey"&&xe[Dt]&&_downKeys.length===3&&(xe.ctrlKey||xe.shiftKey||xe.altKey||(_downKeys=_downKeys.slice(_downKeys.indexOf(Lt))))}),Fe in _mods){_mods[Fe]=!0;for(const Dt in _modifier)_modifier[Dt]===Fe&&(hotkeys[Dt]=!0);if(!Ie)return}for(const Dt in _mods)Object.prototype.hasOwnProperty.call(_mods,Dt)&&(_mods[Dt]=xe[modifierMap[Dt]]);xe.getModifierState&&!(xe.altKey&&!xe.ctrlKey)&&xe.getModifierState("AltGraph")&&(_downKeys.indexOf(17)===-1&&_downKeys.push(17),_downKeys.indexOf(18)===-1&&_downKeys.push(18),_mods[17]=!0,_mods[18]=!0);const Ue=getScope();if(Ie)for(let Dt=0;Dt1&&(Ue=getMods(_modifier,xe)),xe=xe[xe.length-1],xe=xe==="*"?"*":code(xe),xe in _handlers||(_handlers[xe]=[]),_handlers[xe].push({keyup:Lt,keydown:jt,scope:qe,mods:Ue,shortcut:Fe[Dt],method:Ie,key:Fe[Dt],splitKey:hn,element:At});if(typeof At<"u"&&window){if(!elementEventMap.has(At)){const _n=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event;return dispatch(kn,At)},wn=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event;dispatch(kn,At),clearModifier(kn)};elementEventMap.set(At,{keydownListener:_n,keyupListenr:wn,capture:vn}),addEvent(At,"keydown",_n,vn),addEvent(At,"keyup",wn,vn)}if(!winListendFocus){const _n=()=>{_downKeys=[]};winListendFocus={listener:_n,capture:vn},addEvent(window,"focus",_n,vn)}}}function trigger$2(xe){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(_handlers).forEach(Ie=>{_handlers[Ie].filter(Ue=>Ue.scope===$e&&Ue.shortcut===xe).forEach(Ue=>{Ue&&Ue.method&&Ue.method()})})}function removeKeyEvent(xe){const $e=Object.values(_handlers).flat();if($e.findIndex(Fe=>{let{element:Ue}=Fe;return Ue===xe})<0){const{keydownListener:Fe,keyupListenr:Ue,capture:qe}=elementEventMap.get(xe)||{};Fe&&Ue&&(removeEvent(xe,"keyup",Ue,qe),removeEvent(xe,"keydown",Fe,qe),elementEventMap.delete(xe))}if(($e.length<=0||elementEventMap.size<=0)&&(Object.keys(elementEventMap).forEach(Ue=>{const{keydownListener:qe,keyupListenr:At,capture:Dt}=elementEventMap.get(Ue)||{};qe&&At&&(removeEvent(Ue,"keyup",At,Dt),removeEvent(Ue,"keydown",qe,Dt),elementEventMap.delete(Ue))}),elementEventMap.clear(),Object.keys(_handlers).forEach(Ue=>delete _handlers[Ue]),winListendFocus)){const{listener:Ue,capture:qe}=winListendFocus;removeEvent(window,"focus",Ue,qe),winListendFocus=null}}const _api={getPressedKeyString,setScope,getScope,deleteScope,getPressedKeyCodes,getAllKeyCodes,isPressed,filter:filter$1,trigger:trigger$2,unbind,keyMap:_keyMap,modifier:_modifier,modifierMap};for(const xe in _api)Object.prototype.hasOwnProperty.call(_api,xe)&&(hotkeys[xe]=_api[xe]);if(typeof window<"u"){const xe=window.hotkeys;hotkeys.noConflict=$e=>($e&&window.hotkeys===hotkeys&&(window.hotkeys=xe),hotkeys),window.hotkeys=hotkeys}var zhCn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _sfc_main$2t=defineComponent({__name:"index",setup(xe){return($e,Ie)=>{const Fe=resolveComponent("ElConfigProvider");return openBlock(),createBlock(Fe,{locale:unref(zhCn),button:{autoInsertSpace:!0}},{default:withCtx(()=>[renderSlot($e.$slots,"default")]),_:3},8,["locale"])}}});function bind$2(xe,$e){return function(){return xe.apply($e,arguments)}}const{toString:toString$1}=Object.prototype,{getPrototypeOf}=Object,kindOf=(xe=>$e=>{const Ie=toString$1.call($e);return xe[Ie]||(xe[Ie]=Ie.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=xe=>(xe=xe.toLowerCase(),$e=>kindOf($e)===xe),typeOfTest=xe=>$e=>typeof $e===xe,{isArray:isArray$2}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer(xe){return xe!==null&&!isUndefined$1(xe)&&xe.constructor!==null&&!isUndefined$1(xe.constructor)&&isFunction$2(xe.constructor.isBuffer)&&xe.constructor.isBuffer(xe)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(xe){let $e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?$e=ArrayBuffer.isView(xe):$e=xe&&xe.buffer&&isArrayBuffer(xe.buffer),$e}const isString$2=typeOfTest("string"),isFunction$2=typeOfTest("function"),isNumber$2=typeOfTest("number"),isObject$5=xe=>xe!==null&&typeof xe=="object",isBoolean$1=xe=>xe===!0||xe===!1,isPlainObject=xe=>{if(kindOf(xe)!=="object")return!1;const $e=getPrototypeOf(xe);return($e===null||$e===Object.prototype||Object.getPrototypeOf($e)===null)&&!(Symbol.toStringTag in xe)&&!(Symbol.iterator in xe)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=xe=>isObject$5(xe)&&isFunction$2(xe.pipe),isFormData=xe=>{let $e;return xe&&(typeof FormData=="function"&&xe instanceof FormData||isFunction$2(xe.append)&&(($e=kindOf(xe))==="formdata"||$e==="object"&&isFunction$2(xe.toString)&&xe.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim$2=xe=>xe.trim?xe.trim():xe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(xe,$e,{allOwnKeys:Ie=!1}={}){if(xe===null||typeof xe>"u")return;let Fe,Ue;if(typeof xe!="object"&&(xe=[xe]),isArray$2(xe))for(Fe=0,Ue=xe.length;Fe0;)if(Ue=Ie[Fe],$e===Ue.toLowerCase())return Ue;return null}const _global$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,isContextDefined=xe=>!isUndefined$1(xe)&&xe!==_global$1;function merge$1(){const{caseless:xe}=isContextDefined(this)&&this||{},$e={},Ie=(Fe,Ue)=>{const qe=xe&&findKey($e,Ue)||Ue;isPlainObject($e[qe])&&isPlainObject(Fe)?$e[qe]=merge$1($e[qe],Fe):isPlainObject(Fe)?$e[qe]=merge$1({},Fe):isArray$2(Fe)?$e[qe]=Fe.slice():$e[qe]=Fe};for(let Fe=0,Ue=arguments.length;Fe(forEach($e,(Ue,qe)=>{Ie&&isFunction$2(Ue)?xe[qe]=bind$2(Ue,Ie):xe[qe]=Ue},{allOwnKeys:Fe}),xe),stripBOM=xe=>(xe.charCodeAt(0)===65279&&(xe=xe.slice(1)),xe),inherits$1=(xe,$e,Ie,Fe)=>{xe.prototype=Object.create($e.prototype,Fe),xe.prototype.constructor=xe,Object.defineProperty(xe,"super",{value:$e.prototype}),Ie&&Object.assign(xe.prototype,Ie)},toFlatObject=(xe,$e,Ie,Fe)=>{let Ue,qe,At;const Dt={};if($e=$e||{},xe==null)return $e;do{for(Ue=Object.getOwnPropertyNames(xe),qe=Ue.length;qe-- >0;)At=Ue[qe],(!Fe||Fe(At,xe,$e))&&!Dt[At]&&($e[At]=xe[At],Dt[At]=!0);xe=Ie!==!1&&getPrototypeOf(xe)}while(xe&&(!Ie||Ie(xe,$e))&&xe!==Object.prototype);return $e},endsWith=(xe,$e,Ie)=>{xe=String(xe),(Ie===void 0||Ie>xe.length)&&(Ie=xe.length),Ie-=$e.length;const Fe=xe.indexOf($e,Ie);return Fe!==-1&&Fe===Ie},toArray=xe=>{if(!xe)return null;if(isArray$2(xe))return xe;let $e=xe.length;if(!isNumber$2($e))return null;const Ie=new Array($e);for(;$e-- >0;)Ie[$e]=xe[$e];return Ie},isTypedArray$1=(xe=>$e=>xe&&$e instanceof xe)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(xe,$e)=>{const Fe=(xe&&xe[Symbol.iterator]).call(xe);let Ue;for(;(Ue=Fe.next())&&!Ue.done;){const qe=Ue.value;$e.call(xe,qe[0],qe[1])}},matchAll=(xe,$e)=>{let Ie;const Fe=[];for(;(Ie=xe.exec($e))!==null;)Fe.push(Ie);return Fe},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=xe=>xe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Ie,Fe,Ue){return Fe.toUpperCase()+Ue}),hasOwnProperty=(({hasOwnProperty:xe})=>($e,Ie)=>xe.call($e,Ie))(Object.prototype),isRegExp$1=kindOfTest("RegExp"),reduceDescriptors=(xe,$e)=>{const Ie=Object.getOwnPropertyDescriptors(xe),Fe={};forEach(Ie,(Ue,qe)=>{let At;(At=$e(Ue,qe,xe))!==!1&&(Fe[qe]=At||Ue)}),Object.defineProperties(xe,Fe)},freezeMethods=xe=>{reduceDescriptors(xe,($e,Ie)=>{if(isFunction$2(xe)&&["arguments","caller","callee"].indexOf(Ie)!==-1)return!1;const Fe=xe[Ie];if(isFunction$2(Fe)){if($e.enumerable=!1,"writable"in $e){$e.writable=!1;return}$e.set||($e.set=()=>{throw Error("Can not rewrite read-only method '"+Ie+"'")})}})},toObjectSet=(xe,$e)=>{const Ie={},Fe=Ue=>{Ue.forEach(qe=>{Ie[qe]=!0})};return isArray$2(xe)?Fe(xe):Fe(String(xe).split($e)),Ie},noop$3=()=>{},toFiniteNumber=(xe,$e)=>xe!=null&&Number.isFinite(xe=+xe)?xe:$e,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(xe=16,$e=ALPHABET.ALPHA_DIGIT)=>{let Ie="";const{length:Fe}=$e;for(;xe--;)Ie+=$e[Math.random()*Fe|0];return Ie};function isSpecCompliantForm(xe){return!!(xe&&isFunction$2(xe.append)&&xe[Symbol.toStringTag]==="FormData"&&xe[Symbol.iterator])}const toJSONObject=xe=>{const $e=new Array(10),Ie=(Fe,Ue)=>{if(isObject$5(Fe)){if($e.indexOf(Fe)>=0)return;if(!("toJSON"in Fe)){$e[Ue]=Fe;const qe=isArray$2(Fe)?[]:{};return forEach(Fe,(At,Dt)=>{const Lt=Ie(At,Ue+1);!isUndefined$1(Lt)&&(qe[Dt]=Lt)}),$e[Ue]=void 0,qe}}return Fe};return Ie(xe,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=xe=>xe&&(isObject$5(xe)||isFunction$2(xe))&&isFunction$2(xe.then)&&isFunction$2(xe.catch),utils$1={isArray:isArray$2,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString:isString$2,isNumber:isNumber$2,isBoolean:isBoolean$1,isObject:isObject$5,isPlainObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined:isUndefined$1,isDate,isFile,isBlob,isRegExp:isRegExp$1,isFunction:isFunction$2,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach,merge:merge$1,extend:extend$1,trim:trim$2,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$3,toFiniteNumber,findKey,global:_global$1,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(xe,$e,Ie,Fe,Ue){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=xe,this.name="AxiosError",$e&&(this.code=$e),Ie&&(this.config=Ie),Fe&&(this.request=Fe),Ue&&(this.response=Ue)}utils$1.inherits(AxiosError,Error,{toJSON:function xe(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(xe=>{descriptors[xe]={value:xe}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(xe,$e,Ie,Fe,Ue,qe)=>{const At=Object.create(prototype$1);return utils$1.toFlatObject(xe,At,function(Lt){return Lt!==Error.prototype},Dt=>Dt!=="isAxiosError"),AxiosError.call(At,xe.message,$e,Ie,Fe,Ue),At.cause=xe,At.name=xe.name,qe&&Object.assign(At,qe),At};const httpAdapter=null;function isVisitable(xe){return utils$1.isPlainObject(xe)||utils$1.isArray(xe)}function removeBrackets(xe){return utils$1.endsWith(xe,"[]")?xe.slice(0,-2):xe}function renderKey(xe,$e,Ie){return xe?xe.concat($e).map(function(Ue,qe){return Ue=removeBrackets(Ue),!Ie&&qe?"["+Ue+"]":Ue}).join(Ie?".":""):$e}function isFlatArray(xe){return utils$1.isArray(xe)&&!xe.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function xe($e){return/^is[A-Z]/.test($e)});function toFormData(xe,$e,Ie){if(!utils$1.isObject(xe))throw new TypeError("target must be an object");$e=$e||new FormData,Ie=utils$1.toFlatObject(Ie,{metaTokens:!0,dots:!1,indexes:!1},!1,function(kn,Cn){return!utils$1.isUndefined(Cn[kn])});const Fe=Ie.metaTokens,Ue=Ie.visitor||hn,qe=Ie.dots,At=Ie.indexes,Lt=(Ie.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm($e);if(!utils$1.isFunction(Ue))throw new TypeError("visitor must be a function");function jt(wn){if(wn===null)return"";if(utils$1.isDate(wn))return wn.toISOString();if(!Lt&&utils$1.isBlob(wn))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(wn)||utils$1.isTypedArray(wn)?Lt&&typeof Blob=="function"?new Blob([wn]):Buffer.from(wn):wn}function hn(wn,kn,Cn){let Sn=wn;if(wn&&!Cn&&typeof wn=="object"){if(utils$1.endsWith(kn,"{}"))kn=Fe?kn:kn.slice(0,-2),wn=JSON.stringify(wn);else if(utils$1.isArray(wn)&&isFlatArray(wn)||(utils$1.isFileList(wn)||utils$1.endsWith(kn,"[]"))&&(Sn=utils$1.toArray(wn)))return kn=removeBrackets(kn),Sn.forEach(function(En,Tn){!(utils$1.isUndefined(En)||En===null)&&$e.append(At===!0?renderKey([kn],Tn,qe):At===null?kn:kn+"[]",jt(En))}),!1}return isVisitable(wn)?!0:($e.append(renderKey(Cn,kn,qe),jt(wn)),!1)}const vn=[],bn=Object.assign(predicates,{defaultVisitor:hn,convertValue:jt,isVisitable});function _n(wn,kn){if(!utils$1.isUndefined(wn)){if(vn.indexOf(wn)!==-1)throw Error("Circular reference detected in "+kn.join("."));vn.push(wn),utils$1.forEach(wn,function(Sn,xn){(!(utils$1.isUndefined(Sn)||Sn===null)&&Ue.call($e,Sn,utils$1.isString(xn)?xn.trim():xn,kn,bn))===!0&&_n(Sn,kn?kn.concat(xn):[xn])}),vn.pop()}}if(!utils$1.isObject(xe))throw new TypeError("data must be an object");return _n(xe),$e}function encode$1(xe){const $e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(xe).replace(/[!'()~]|%20|%00/g,function(Fe){return $e[Fe]})}function AxiosURLSearchParams(xe,$e){this._pairs=[],xe&&toFormData(xe,this,$e)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function xe($e,Ie){this._pairs.push([$e,Ie])};prototype.toString=function xe($e){const Ie=$e?function(Fe){return $e.call(this,Fe,encode$1)}:encode$1;return this._pairs.map(function(Ue){return Ie(Ue[0])+"="+Ie(Ue[1])},"").join("&")};function encode(xe){return encodeURIComponent(xe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(xe,$e,Ie){if(!$e)return xe;const Fe=Ie&&Ie.encode||encode,Ue=Ie&&Ie.serialize;let qe;if(Ue?qe=Ue($e,Ie):qe=utils$1.isURLSearchParams($e)?$e.toString():new AxiosURLSearchParams($e,Ie).toString(Fe),qe){const At=xe.indexOf("#");At!==-1&&(xe=xe.slice(0,At)),xe+=(xe.indexOf("?")===-1?"?":"&")+qe}return xe}class InterceptorManager{constructor(){this.handlers=[]}use($e,Ie,Fe){return this.handlers.push({fulfilled:$e,rejected:Ie,synchronous:Fe?Fe.synchronous:!1,runWhen:Fe?Fe.runWhen:null}),this.handlers.length-1}eject($e){this.handlers[$e]&&(this.handlers[$e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach($e){utils$1.forEach(this.handlers,function(Fe){Fe!==null&&$e(Fe)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$3={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",hasStandardBrowserEnv=(xe=>hasBrowserEnv&&["ReactNative","NativeScript","NS"].indexOf(xe)<0)(typeof navigator<"u"&&navigator.product),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,origin},Symbol.toStringTag,{value:"Module"})),platform$2={...utils,...platform$3};function toURLEncodedForm(xe,$e){return toFormData(xe,new platform$2.classes.URLSearchParams,Object.assign({visitor:function(Ie,Fe,Ue,qe){return platform$2.isNode&&utils$1.isBuffer(Ie)?(this.append(Fe,Ie.toString("base64")),!1):qe.defaultVisitor.apply(this,arguments)}},$e))}function parsePropPath(xe){return utils$1.matchAll(/\w+|\[(\w*)]/g,xe).map($e=>$e[0]==="[]"?"":$e[1]||$e[0])}function arrayToObject(xe){const $e={},Ie=Object.keys(xe);let Fe;const Ue=Ie.length;let qe;for(Fe=0;Fe=Ie.length;return At=!At&&utils$1.isArray(Ue)?Ue.length:At,Lt?(utils$1.hasOwnProp(Ue,At)?Ue[At]=[Ue[At],Fe]:Ue[At]=Fe,!Dt):((!Ue[At]||!utils$1.isObject(Ue[At]))&&(Ue[At]=[]),$e(Ie,Fe,Ue[At],qe)&&utils$1.isArray(Ue[At])&&(Ue[At]=arrayToObject(Ue[At])),!Dt)}if(utils$1.isFormData(xe)&&utils$1.isFunction(xe.entries)){const Ie={};return utils$1.forEachEntry(xe,(Fe,Ue)=>{$e(parsePropPath(Fe),Ue,Ie,0)}),Ie}return null}function stringifySafely(xe,$e,Ie){if(utils$1.isString(xe))try{return($e||JSON.parse)(xe),utils$1.trim(xe)}catch(Fe){if(Fe.name!=="SyntaxError")throw Fe}return(Ie||JSON.stringify)(xe)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function xe($e,Ie){const Fe=Ie.getContentType()||"",Ue=Fe.indexOf("application/json")>-1,qe=utils$1.isObject($e);if(qe&&utils$1.isHTMLForm($e)&&($e=new FormData($e)),utils$1.isFormData($e))return Ue?JSON.stringify(formDataToJSON($e)):$e;if(utils$1.isArrayBuffer($e)||utils$1.isBuffer($e)||utils$1.isStream($e)||utils$1.isFile($e)||utils$1.isBlob($e)||utils$1.isReadableStream($e))return $e;if(utils$1.isArrayBufferView($e))return $e.buffer;if(utils$1.isURLSearchParams($e))return Ie.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),$e.toString();let Dt;if(qe){if(Fe.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm($e,this.formSerializer).toString();if((Dt=utils$1.isFileList($e))||Fe.indexOf("multipart/form-data")>-1){const Lt=this.env&&this.env.FormData;return toFormData(Dt?{"files[]":$e}:$e,Lt&&new Lt,this.formSerializer)}}return qe||Ue?(Ie.setContentType("application/json",!1),stringifySafely($e)):$e}],transformResponse:[function xe($e){const Ie=this.transitional||defaults$1.transitional,Fe=Ie&&Ie.forcedJSONParsing,Ue=this.responseType==="json";if(utils$1.isResponse($e)||utils$1.isReadableStream($e))return $e;if($e&&utils$1.isString($e)&&(Fe&&!this.responseType||Ue)){const At=!(Ie&&Ie.silentJSONParsing)&&Ue;try{return JSON.parse($e)}catch(Dt){if(At)throw Dt.name==="SyntaxError"?AxiosError.from(Dt,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):Dt}}return $e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$2.classes.FormData,Blob:platform$2.classes.Blob},validateStatus:function xe($e){return $e>=200&&$e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],xe=>{defaults$1.headers[xe]={}});const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=xe=>{const $e={};let Ie,Fe,Ue;return xe&&xe.split(` +`).forEach(function(At){Ue=At.indexOf(":"),Ie=At.substring(0,Ue).trim().toLowerCase(),Fe=At.substring(Ue+1).trim(),!(!Ie||$e[Ie]&&ignoreDuplicateOf[Ie])&&(Ie==="set-cookie"?$e[Ie]?$e[Ie].push(Fe):$e[Ie]=[Fe]:$e[Ie]=$e[Ie]?$e[Ie]+", "+Fe:Fe)}),$e},$internals=Symbol("internals");function normalizeHeader(xe){return xe&&String(xe).trim().toLowerCase()}function normalizeValue(xe){return xe===!1||xe==null?xe:utils$1.isArray(xe)?xe.map(normalizeValue):String(xe)}function parseTokens(xe){const $e=Object.create(null),Ie=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let Fe;for(;Fe=Ie.exec(xe);)$e[Fe[1]]=Fe[2];return $e}const isValidHeaderName=xe=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(xe.trim());function matchHeaderValue(xe,$e,Ie,Fe,Ue){if(utils$1.isFunction(Fe))return Fe.call(this,$e,Ie);if(Ue&&($e=Ie),!!utils$1.isString($e)){if(utils$1.isString(Fe))return $e.indexOf(Fe)!==-1;if(utils$1.isRegExp(Fe))return Fe.test($e)}}function formatHeader(xe){return xe.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,($e,Ie,Fe)=>Ie.toUpperCase()+Fe)}function buildAccessors(xe,$e){const Ie=utils$1.toCamelCase(" "+$e);["get","set","has"].forEach(Fe=>{Object.defineProperty(xe,Fe+Ie,{value:function(Ue,qe,At){return this[Fe].call(this,$e,Ue,qe,At)},configurable:!0})})}class AxiosHeaders{constructor($e){$e&&this.set($e)}set($e,Ie,Fe){const Ue=this;function qe(Dt,Lt,jt){const hn=normalizeHeader(Lt);if(!hn)throw new Error("header name must be a non-empty string");const vn=utils$1.findKey(Ue,hn);(!vn||Ue[vn]===void 0||jt===!0||jt===void 0&&Ue[vn]!==!1)&&(Ue[vn||Lt]=normalizeValue(Dt))}const At=(Dt,Lt)=>utils$1.forEach(Dt,(jt,hn)=>qe(jt,hn,Lt));if(utils$1.isPlainObject($e)||$e instanceof this.constructor)At($e,Ie);else if(utils$1.isString($e)&&($e=$e.trim())&&!isValidHeaderName($e))At(parseHeaders($e),Ie);else if(utils$1.isHeaders($e))for(const[Dt,Lt]of $e.entries())qe(Lt,Dt,Fe);else $e!=null&&qe(Ie,$e,Fe);return this}get($e,Ie){if($e=normalizeHeader($e),$e){const Fe=utils$1.findKey(this,$e);if(Fe){const Ue=this[Fe];if(!Ie)return Ue;if(Ie===!0)return parseTokens(Ue);if(utils$1.isFunction(Ie))return Ie.call(this,Ue,Fe);if(utils$1.isRegExp(Ie))return Ie.exec(Ue);throw new TypeError("parser must be boolean|regexp|function")}}}has($e,Ie){if($e=normalizeHeader($e),$e){const Fe=utils$1.findKey(this,$e);return!!(Fe&&this[Fe]!==void 0&&(!Ie||matchHeaderValue(this,this[Fe],Fe,Ie)))}return!1}delete($e,Ie){const Fe=this;let Ue=!1;function qe(At){if(At=normalizeHeader(At),At){const Dt=utils$1.findKey(Fe,At);Dt&&(!Ie||matchHeaderValue(Fe,Fe[Dt],Dt,Ie))&&(delete Fe[Dt],Ue=!0)}}return utils$1.isArray($e)?$e.forEach(qe):qe($e),Ue}clear($e){const Ie=Object.keys(this);let Fe=Ie.length,Ue=!1;for(;Fe--;){const qe=Ie[Fe];(!$e||matchHeaderValue(this,this[qe],qe,$e,!0))&&(delete this[qe],Ue=!0)}return Ue}normalize($e){const Ie=this,Fe={};return utils$1.forEach(this,(Ue,qe)=>{const At=utils$1.findKey(Fe,qe);if(At){Ie[At]=normalizeValue(Ue),delete Ie[qe];return}const Dt=$e?formatHeader(qe):String(qe).trim();Dt!==qe&&delete Ie[qe],Ie[Dt]=normalizeValue(Ue),Fe[Dt]=!0}),this}concat(...$e){return this.constructor.concat(this,...$e)}toJSON($e){const Ie=Object.create(null);return utils$1.forEach(this,(Fe,Ue)=>{Fe!=null&&Fe!==!1&&(Ie[Ue]=$e&&utils$1.isArray(Fe)?Fe.join(", "):Fe)}),Ie}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$e,Ie])=>$e+": "+Ie).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($e){return $e instanceof this?$e:new this($e)}static concat($e,...Ie){const Fe=new this($e);return Ie.forEach(Ue=>Fe.set(Ue)),Fe}static accessor($e){const Fe=(this[$internals]=this[$internals]={accessors:{}}).accessors,Ue=this.prototype;function qe(At){const Dt=normalizeHeader(At);Fe[Dt]||(buildAccessors(Ue,At),Fe[Dt]=!0)}return utils$1.isArray($e)?$e.forEach(qe):qe($e),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:xe},$e)=>{let Ie=$e[0].toUpperCase()+$e.slice(1);return{get:()=>xe,set(Fe){this[Ie]=Fe}}});utils$1.freezeMethods(AxiosHeaders);function transformData(xe,$e){const Ie=this||defaults$1,Fe=$e||Ie,Ue=AxiosHeaders.from(Fe.headers);let qe=Fe.data;return utils$1.forEach(xe,function(Dt){qe=Dt.call(Ie,qe,Ue.normalize(),$e?$e.status:void 0)}),Ue.normalize(),qe}function isCancel(xe){return!!(xe&&xe.__CANCEL__)}function CanceledError(xe,$e,Ie){AxiosError.call(this,xe??"canceled",AxiosError.ERR_CANCELED,$e,Ie),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(xe,$e,Ie){const Fe=Ie.config.validateStatus;!Ie.status||!Fe||Fe(Ie.status)?xe(Ie):$e(new AxiosError("Request failed with status code "+Ie.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(Ie.status/100)-4],Ie.config,Ie.request,Ie))}function parseProtocol(xe){const $e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(xe);return $e&&$e[1]||""}function speedometer(xe,$e){xe=xe||10;const Ie=new Array(xe),Fe=new Array(xe);let Ue=0,qe=0,At;return $e=$e!==void 0?$e:1e3,function(Lt){const jt=Date.now(),hn=Fe[qe];At||(At=jt),Ie[Ue]=Lt,Fe[Ue]=jt;let vn=qe,bn=0;for(;vn!==Ue;)bn+=Ie[vn++],vn=vn%xe;if(Ue=(Ue+1)%xe,Ue===qe&&(qe=(qe+1)%xe),jt-At<$e)return;const _n=hn&&jt-hn;return _n?Math.round(bn*1e3/_n):void 0}}function throttle$2(xe,$e){let Ie=0;const Fe=1e3/$e;let Ue=null;return function(){const At=this===!0,Dt=Date.now();if(At||Dt-Ie>Fe)return Ue&&(clearTimeout(Ue),Ue=null),Ie=Dt,xe.apply(null,arguments);Ue||(Ue=setTimeout(()=>(Ue=null,Ie=Date.now(),xe.apply(null,arguments)),Fe-(Dt-Ie)))}}const progressEventReducer=(xe,$e,Ie=3)=>{let Fe=0;const Ue=speedometer(50,250);return throttle$2(qe=>{const At=qe.loaded,Dt=qe.lengthComputable?qe.total:void 0,Lt=At-Fe,jt=Ue(Lt),hn=At<=Dt;Fe=At;const vn={loaded:At,total:Dt,progress:Dt?At/Dt:void 0,bytes:Lt,rate:jt||void 0,estimated:jt&&Dt&&hn?(Dt-At)/jt:void 0,event:qe,lengthComputable:Dt!=null};vn[$e?"download":"upload"]=!0,xe(vn)},Ie)},isURLSameOrigin=platform$2.hasStandardBrowserEnv?function xe(){const $e=/(msie|trident)/i.test(navigator.userAgent),Ie=document.createElement("a");let Fe;function Ue(qe){let At=qe;return $e&&(Ie.setAttribute("href",At),At=Ie.href),Ie.setAttribute("href",At),{href:Ie.href,protocol:Ie.protocol?Ie.protocol.replace(/:$/,""):"",host:Ie.host,search:Ie.search?Ie.search.replace(/^\?/,""):"",hash:Ie.hash?Ie.hash.replace(/^#/,""):"",hostname:Ie.hostname,port:Ie.port,pathname:Ie.pathname.charAt(0)==="/"?Ie.pathname:"/"+Ie.pathname}}return Fe=Ue(window.location.href),function(At){const Dt=utils$1.isString(At)?Ue(At):At;return Dt.protocol===Fe.protocol&&Dt.host===Fe.host}}():function xe(){return function(){return!0}}(),cookies=platform$2.hasStandardBrowserEnv?{write(xe,$e,Ie,Fe,Ue,qe){const At=[xe+"="+encodeURIComponent($e)];utils$1.isNumber(Ie)&&At.push("expires="+new Date(Ie).toGMTString()),utils$1.isString(Fe)&&At.push("path="+Fe),utils$1.isString(Ue)&&At.push("domain="+Ue),qe===!0&&At.push("secure"),document.cookie=At.join("; ")},read(xe){const $e=document.cookie.match(new RegExp("(^|;\\s*)("+xe+")=([^;]*)"));return $e?decodeURIComponent($e[3]):null},remove(xe){this.write(xe,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(xe){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(xe)}function combineURLs(xe,$e){return $e?xe.replace(/\/?\/$/,"")+"/"+$e.replace(/^\/+/,""):xe}function buildFullPath(xe,$e){return xe&&!isAbsoluteURL($e)?combineURLs(xe,$e):$e}const headersToObject=xe=>xe instanceof AxiosHeaders?{...xe}:xe;function mergeConfig$1(xe,$e){$e=$e||{};const Ie={};function Fe(jt,hn,vn){return utils$1.isPlainObject(jt)&&utils$1.isPlainObject(hn)?utils$1.merge.call({caseless:vn},jt,hn):utils$1.isPlainObject(hn)?utils$1.merge({},hn):utils$1.isArray(hn)?hn.slice():hn}function Ue(jt,hn,vn){if(utils$1.isUndefined(hn)){if(!utils$1.isUndefined(jt))return Fe(void 0,jt,vn)}else return Fe(jt,hn,vn)}function qe(jt,hn){if(!utils$1.isUndefined(hn))return Fe(void 0,hn)}function At(jt,hn){if(utils$1.isUndefined(hn)){if(!utils$1.isUndefined(jt))return Fe(void 0,jt)}else return Fe(void 0,hn)}function Dt(jt,hn,vn){if(vn in $e)return Fe(jt,hn);if(vn in xe)return Fe(void 0,jt)}const Lt={url:qe,method:qe,data:qe,baseURL:At,transformRequest:At,transformResponse:At,paramsSerializer:At,timeout:At,timeoutMessage:At,withCredentials:At,withXSRFToken:At,adapter:At,responseType:At,xsrfCookieName:At,xsrfHeaderName:At,onUploadProgress:At,onDownloadProgress:At,decompress:At,maxContentLength:At,maxBodyLength:At,beforeRedirect:At,transport:At,httpAgent:At,httpsAgent:At,cancelToken:At,socketPath:At,responseEncoding:At,validateStatus:Dt,headers:(jt,hn)=>Ue(headersToObject(jt),headersToObject(hn),!0)};return utils$1.forEach(Object.keys(Object.assign({},xe,$e)),function(hn){const vn=Lt[hn]||Ue,bn=vn(xe[hn],$e[hn],hn);utils$1.isUndefined(bn)&&vn!==Dt||(Ie[hn]=bn)}),Ie}const resolveConfig=xe=>{const $e=mergeConfig$1({},xe);let{data:Ie,withXSRFToken:Fe,xsrfHeaderName:Ue,xsrfCookieName:qe,headers:At,auth:Dt}=$e;$e.headers=At=AxiosHeaders.from(At),$e.url=buildURL(buildFullPath($e.baseURL,$e.url),xe.params,xe.paramsSerializer),Dt&&At.set("Authorization","Basic "+btoa((Dt.username||"")+":"+(Dt.password?unescape(encodeURIComponent(Dt.password)):"")));let Lt;if(utils$1.isFormData(Ie)){if(platform$2.hasStandardBrowserEnv||platform$2.hasStandardBrowserWebWorkerEnv)At.setContentType(void 0);else if((Lt=At.getContentType())!==!1){const[jt,...hn]=Lt?Lt.split(";").map(vn=>vn.trim()).filter(Boolean):[];At.setContentType([jt||"multipart/form-data",...hn].join("; "))}}if(platform$2.hasStandardBrowserEnv&&(Fe&&utils$1.isFunction(Fe)&&(Fe=Fe($e)),Fe||Fe!==!1&&isURLSameOrigin($e.url))){const jt=Ue&&qe&&cookies.read(qe);jt&&At.set(Ue,jt)}return $e},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(xe){return new Promise(function(Ie,Fe){const Ue=resolveConfig(xe);let qe=Ue.data;const At=AxiosHeaders.from(Ue.headers).normalize();let{responseType:Dt}=Ue,Lt;function jt(){Ue.cancelToken&&Ue.cancelToken.unsubscribe(Lt),Ue.signal&&Ue.signal.removeEventListener("abort",Lt)}let hn=new XMLHttpRequest;hn.open(Ue.method.toUpperCase(),Ue.url,!0),hn.timeout=Ue.timeout;function vn(){if(!hn)return;const _n=AxiosHeaders.from("getAllResponseHeaders"in hn&&hn.getAllResponseHeaders()),kn={data:!Dt||Dt==="text"||Dt==="json"?hn.responseText:hn.response,status:hn.status,statusText:hn.statusText,headers:_n,config:xe,request:hn};settle(function(Sn){Ie(Sn),jt()},function(Sn){Fe(Sn),jt()},kn),hn=null}"onloadend"in hn?hn.onloadend=vn:hn.onreadystatechange=function(){!hn||hn.readyState!==4||hn.status===0&&!(hn.responseURL&&hn.responseURL.indexOf("file:")===0)||setTimeout(vn)},hn.onabort=function(){hn&&(Fe(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ue,hn)),hn=null)},hn.onerror=function(){Fe(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ue,hn)),hn=null},hn.ontimeout=function(){let wn=Ue.timeout?"timeout of "+Ue.timeout+"ms exceeded":"timeout exceeded";const kn=Ue.transitional||transitionalDefaults;Ue.timeoutErrorMessage&&(wn=Ue.timeoutErrorMessage),Fe(new AxiosError(wn,kn.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ue,hn)),hn=null},qe===void 0&&At.setContentType(null),"setRequestHeader"in hn&&utils$1.forEach(At.toJSON(),function(wn,kn){hn.setRequestHeader(kn,wn)}),utils$1.isUndefined(Ue.withCredentials)||(hn.withCredentials=!!Ue.withCredentials),Dt&&Dt!=="json"&&(hn.responseType=Ue.responseType),typeof Ue.onDownloadProgress=="function"&&hn.addEventListener("progress",progressEventReducer(Ue.onDownloadProgress,!0)),typeof Ue.onUploadProgress=="function"&&hn.upload&&hn.upload.addEventListener("progress",progressEventReducer(Ue.onUploadProgress)),(Ue.cancelToken||Ue.signal)&&(Lt=_n=>{hn&&(Fe(!_n||_n.type?new CanceledError(null,xe,hn):_n),hn.abort(),hn=null)},Ue.cancelToken&&Ue.cancelToken.subscribe(Lt),Ue.signal&&(Ue.signal.aborted?Lt():Ue.signal.addEventListener("abort",Lt)));const bn=parseProtocol(Ue.url);if(bn&&platform$2.protocols.indexOf(bn)===-1){Fe(new AxiosError("Unsupported protocol "+bn+":",AxiosError.ERR_BAD_REQUEST,xe));return}hn.send(qe||null)})},composeSignals=(xe,$e)=>{let Ie=new AbortController,Fe;const Ue=function(Lt){if(!Fe){Fe=!0,At();const jt=Lt instanceof Error?Lt:this.reason;Ie.abort(jt instanceof AxiosError?jt:new CanceledError(jt instanceof Error?jt.message:jt))}};let qe=$e&&setTimeout(()=>{Ue(new AxiosError(`timeout ${$e} of ms exceeded`,AxiosError.ETIMEDOUT))},$e);const At=()=>{xe&&(qe&&clearTimeout(qe),qe=null,xe.forEach(Lt=>{Lt&&(Lt.removeEventListener?Lt.removeEventListener("abort",Ue):Lt.unsubscribe(Ue))}),xe=null)};xe.forEach(Lt=>Lt&&Lt.addEventListener&&Lt.addEventListener("abort",Ue));const{signal:Dt}=Ie;return Dt.unsubscribe=At,[Dt,()=>{qe&&clearTimeout(qe),qe=null}]},streamChunk=function*(xe,$e){let Ie=xe.byteLength;if(!$e||Ie<$e){yield xe;return}let Fe=0,Ue;for(;Fe{const qe=readBytes(xe,$e,Ue);let At=0;return new ReadableStream({type:"bytes",async pull(Dt){const{done:Lt,value:jt}=await qe.next();if(Lt){Dt.close(),Fe();return}let hn=jt.byteLength;Ie&&Ie(At+=hn),Dt.enqueue(new Uint8Array(jt))},cancel(Dt){return Fe(Dt),qe.return()}},{highWaterMark:2})},fetchProgressDecorator=(xe,$e)=>{const Ie=xe!=null;return Fe=>setTimeout(()=>$e({lengthComputable:Ie,total:xe,loaded:Fe}))},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(xe=>$e=>xe.encode($e))(new TextEncoder):async xe=>new Uint8Array(await new Response(xe).arrayBuffer())),supportsRequestStream=isReadableStreamSupported&&(()=>{let xe=!1;const $e=new Request(platform$2.origin,{body:new ReadableStream,method:"POST",get duplex(){return xe=!0,"half"}}).headers.has("Content-Type");return xe&&!$e})(),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&!!(()=>{try{return utils$1.isReadableStream(new Response("").body)}catch{}})(),resolvers={stream:supportsResponseStream&&(xe=>xe.body)};isFetchSupported&&(xe=>{["text","arrayBuffer","blob","formData","stream"].forEach($e=>{!resolvers[$e]&&(resolvers[$e]=utils$1.isFunction(xe[$e])?Ie=>Ie[$e]():(Ie,Fe)=>{throw new AxiosError(`Response type '${$e}' is not supported`,AxiosError.ERR_NOT_SUPPORT,Fe)})})})(new Response);const getBodyLength=async xe=>{if(xe==null)return 0;if(utils$1.isBlob(xe))return xe.size;if(utils$1.isSpecCompliantForm(xe))return(await new Request(xe).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(xe))return xe.byteLength;if(utils$1.isURLSearchParams(xe)&&(xe=xe+""),utils$1.isString(xe))return(await encodeText(xe)).byteLength},resolveBodyLength=async(xe,$e)=>{const Ie=utils$1.toFiniteNumber(xe.getContentLength());return Ie??getBodyLength($e)},fetchAdapter=isFetchSupported&&(async xe=>{let{url:$e,method:Ie,data:Fe,signal:Ue,cancelToken:qe,timeout:At,onDownloadProgress:Dt,onUploadProgress:Lt,responseType:jt,headers:hn,withCredentials:vn="same-origin",fetchOptions:bn}=resolveConfig(xe);jt=jt?(jt+"").toLowerCase():"text";let[_n,wn]=Ue||qe||At?composeSignals([Ue,qe],At):[],kn,Cn;const Sn=()=>{!kn&&setTimeout(()=>{_n&&_n.unsubscribe()}),kn=!0};let xn;try{if(Lt&&supportsRequestStream&&Ie!=="get"&&Ie!=="head"&&(xn=await resolveBodyLength(hn,Fe))!==0){let $n=new Request($e,{method:"POST",body:Fe,duplex:"half"}),Pn;utils$1.isFormData(Fe)&&(Pn=$n.headers.get("content-type"))&&hn.setContentType(Pn),$n.body&&(Fe=trackStream($n.body,DEFAULT_CHUNK_SIZE,fetchProgressDecorator(xn,progressEventReducer(Lt)),null,encodeText))}utils$1.isString(vn)||(vn=vn?"cors":"omit"),Cn=new Request($e,{...bn,signal:_n,method:Ie.toUpperCase(),headers:hn.normalize().toJSON(),body:Fe,duplex:"half",withCredentials:vn});let En=await fetch(Cn);const Tn=supportsResponseStream&&(jt==="stream"||jt==="response");if(supportsResponseStream&&(Dt||Tn)){const $n={};["status","statusText","headers"].forEach(Nn=>{$n[Nn]=En[Nn]});const Pn=utils$1.toFiniteNumber(En.headers.get("content-length"));En=new Response(trackStream(En.body,DEFAULT_CHUNK_SIZE,Dt&&fetchProgressDecorator(Pn,progressEventReducer(Dt,!0)),Tn&&Sn,encodeText),$n)}jt=jt||"text";let An=await resolvers[utils$1.findKey(resolvers,jt)||"text"](En,xe);return!Tn&&Sn(),wn&&wn(),await new Promise(($n,Pn)=>{settle($n,Pn,{data:An,headers:AxiosHeaders.from(En.headers),status:En.status,statusText:En.statusText,config:xe,request:Cn})})}catch(En){throw Sn(),En&&En.name==="TypeError"&&/fetch/i.test(En.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,xe,Cn),{cause:En.cause||En}):AxiosError.from(En,En&&En.code,xe,Cn)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,(xe,$e)=>{if(xe){try{Object.defineProperty(xe,"name",{value:$e})}catch{}Object.defineProperty(xe,"adapterName",{value:$e})}});const renderReason=xe=>`- ${xe}`,isResolvedHandle=xe=>utils$1.isFunction(xe)||xe===null||xe===!1,adapters={getAdapter:xe=>{xe=utils$1.isArray(xe)?xe:[xe];const{length:$e}=xe;let Ie,Fe;const Ue={};for(let qe=0;qe<$e;qe++){Ie=xe[qe];let At;if(Fe=Ie,!isResolvedHandle(Ie)&&(Fe=knownAdapters[(At=String(Ie)).toLowerCase()],Fe===void 0))throw new AxiosError(`Unknown adapter '${At}'`);if(Fe)break;Ue[At||"#"+qe]=Fe}if(!Fe){const qe=Object.entries(Ue).map(([Dt,Lt])=>`adapter ${Dt} `+(Lt===!1?"is not supported by the environment":"is not available in the build"));let At=$e?qe.length>1?`since : +`+qe.map(renderReason).join(` +`):" "+renderReason(qe[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+At,"ERR_NOT_SUPPORT")}return Fe},adapters:knownAdapters};function throwIfCancellationRequested(xe){if(xe.cancelToken&&xe.cancelToken.throwIfRequested(),xe.signal&&xe.signal.aborted)throw new CanceledError(null,xe)}function dispatchRequest(xe){return throwIfCancellationRequested(xe),xe.headers=AxiosHeaders.from(xe.headers),xe.data=transformData.call(xe,xe.transformRequest),["post","put","patch"].indexOf(xe.method)!==-1&&xe.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(xe.adapter||defaults$1.adapter)(xe).then(function(Fe){return throwIfCancellationRequested(xe),Fe.data=transformData.call(xe,xe.transformResponse,Fe),Fe.headers=AxiosHeaders.from(Fe.headers),Fe},function(Fe){return isCancel(Fe)||(throwIfCancellationRequested(xe),Fe&&Fe.response&&(Fe.response.data=transformData.call(xe,xe.transformResponse,Fe.response),Fe.response.headers=AxiosHeaders.from(Fe.response.headers))),Promise.reject(Fe)})}const VERSION="1.7.2",validators$2={};["object","boolean","number","function","string","symbol"].forEach((xe,$e)=>{validators$2[xe]=function(Fe){return typeof Fe===xe||"a"+($e<1?"n ":" ")+xe}});const deprecatedWarnings={};validators$2.transitional=function xe($e,Ie,Fe){function Ue(qe,At){return"[Axios v"+VERSION+"] Transitional option '"+qe+"'"+At+(Fe?". "+Fe:"")}return(qe,At,Dt)=>{if($e===!1)throw new AxiosError(Ue(At," has been removed"+(Ie?" in "+Ie:"")),AxiosError.ERR_DEPRECATED);return Ie&&!deprecatedWarnings[At]&&(deprecatedWarnings[At]=!0,console.warn(Ue(At," has been deprecated since v"+Ie+" and will be removed in the near future"))),$e?$e(qe,At,Dt):!0}};function assertOptions(xe,$e,Ie){if(typeof xe!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const Fe=Object.keys(xe);let Ue=Fe.length;for(;Ue-- >0;){const qe=Fe[Ue],At=$e[qe];if(At){const Dt=xe[qe],Lt=Dt===void 0||At(Dt,qe,xe);if(Lt!==!0)throw new AxiosError("option "+qe+" must be "+Lt,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(Ie!==!0)throw new AxiosError("Unknown option "+qe,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$2},validators$1=validator.validators;class Axios{constructor($e){this.defaults=$e,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request($e,Ie){try{return await this._request($e,Ie)}catch(Fe){if(Fe instanceof Error){let Ue;Error.captureStackTrace?Error.captureStackTrace(Ue={}):Ue=new Error;const qe=Ue.stack?Ue.stack.replace(/^.+\n/,""):"";try{Fe.stack?qe&&!String(Fe.stack).endsWith(qe.replace(/^.+\n.+\n/,""))&&(Fe.stack+=` +`+qe):Fe.stack=qe}catch{}}throw Fe}}_request($e,Ie){typeof $e=="string"?(Ie=Ie||{},Ie.url=$e):Ie=$e||{},Ie=mergeConfig$1(this.defaults,Ie);const{transitional:Fe,paramsSerializer:Ue,headers:qe}=Ie;Fe!==void 0&&validator.assertOptions(Fe,{silentJSONParsing:validators$1.transitional(validators$1.boolean),forcedJSONParsing:validators$1.transitional(validators$1.boolean),clarifyTimeoutError:validators$1.transitional(validators$1.boolean)},!1),Ue!=null&&(utils$1.isFunction(Ue)?Ie.paramsSerializer={serialize:Ue}:validator.assertOptions(Ue,{encode:validators$1.function,serialize:validators$1.function},!0)),Ie.method=(Ie.method||this.defaults.method||"get").toLowerCase();let At=qe&&utils$1.merge(qe.common,qe[Ie.method]);qe&&utils$1.forEach(["delete","get","head","post","put","patch","common"],wn=>{delete qe[wn]}),Ie.headers=AxiosHeaders.concat(At,qe);const Dt=[];let Lt=!0;this.interceptors.request.forEach(function(kn){typeof kn.runWhen=="function"&&kn.runWhen(Ie)===!1||(Lt=Lt&&kn.synchronous,Dt.unshift(kn.fulfilled,kn.rejected))});const jt=[];this.interceptors.response.forEach(function(kn){jt.push(kn.fulfilled,kn.rejected)});let hn,vn=0,bn;if(!Lt){const wn=[dispatchRequest.bind(this),void 0];for(wn.unshift.apply(wn,Dt),wn.push.apply(wn,jt),bn=wn.length,hn=Promise.resolve(Ie);vn{if(!Fe._listeners)return;let qe=Fe._listeners.length;for(;qe-- >0;)Fe._listeners[qe](Ue);Fe._listeners=null}),this.promise.then=Ue=>{let qe;const At=new Promise(Dt=>{Fe.subscribe(Dt),qe=Dt}).then(Ue);return At.cancel=function(){Fe.unsubscribe(qe)},At},$e(function(qe,At,Dt){Fe.reason||(Fe.reason=new CanceledError(qe,At,Dt),Ie(Fe.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($e){if(this.reason){$e(this.reason);return}this._listeners?this._listeners.push($e):this._listeners=[$e]}unsubscribe($e){if(!this._listeners)return;const Ie=this._listeners.indexOf($e);Ie!==-1&&this._listeners.splice(Ie,1)}static source(){let $e;return{token:new CancelToken(function(Ue){$e=Ue}),cancel:$e}}}function spread(xe){return function(Ie){return xe.apply(null,Ie)}}function isAxiosError(xe){return utils$1.isObject(xe)&&xe.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([xe,$e])=>{HttpStatusCode[$e]=xe});function createInstance$1(xe){const $e=new Axios(xe),Ie=bind$2(Axios.prototype.request,$e);return utils$1.extend(Ie,Axios.prototype,$e,{allOwnKeys:!0}),utils$1.extend(Ie,$e,null,{allOwnKeys:!0}),Ie.create=function(Ue){return createInstance$1(mergeConfig$1(xe,Ue))},Ie}const axios=createInstance$1(defaults$1);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function xe($e){return Promise.all($e)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig$1;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=xe=>formDataToJSON(utils$1.isHTMLForm(xe)?new FormData(xe):xe);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=xe=>getComputedStyle(xe).position==="fixed"?!1:xe.offsetParent!==null,obtainAllFocusableElements$1=xe=>Array.from(xe.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter($e=>isFocusable($e)&&isVisible($e)),isFocusable=xe=>{if(xe.tabIndex>0||xe.tabIndex===0&&xe.getAttribute("tabIndex")!==null)return!0;if(xe.disabled)return!1;switch(xe.nodeName){case"A":return!!xe.href&&xe.rel!=="ignore";case"INPUT":return!(xe.type==="hidden"||xe.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(xe,$e,...Ie){let Fe;$e.includes("mouse")||$e.includes("click")?Fe="MouseEvents":$e.includes("key")?Fe="KeyboardEvent":Fe="HTMLEvents";const Ue=document.createEvent(Fe);return Ue.initEvent($e,...Ie),xe.dispatchEvent(Ue),xe},isLeaf=xe=>!xe.getAttribute("aria-owns"),getSibling=(xe,$e,Ie)=>{const{parentNode:Fe}=xe;if(!Fe)return null;const Ue=Fe.querySelectorAll(Ie),qe=Array.prototype.indexOf.call(Ue,xe);return Ue[qe+$e]||null},focusNode=xe=>{xe&&(xe.focus(),!isLeaf(xe)&&xe.click())},composeEventHandlers=(xe,$e,{checkForDefaultPrevented:Ie=!0}={})=>Ue=>{const qe=xe==null?void 0:xe(Ue);if(Ie===!1||!qe)return $e==null?void 0:$e(Ue)},whenMouse=xe=>$e=>$e.pointerType==="mouse"?xe($e):void 0;var __defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(xe,$e,Ie)=>$e in xe?__defProp$9(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues$9=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp$b.call($e,Ie)&&__defNormalProp$9(xe,Ie,$e[Ie]);if(__getOwnPropSymbols$b)for(var Ie of __getOwnPropSymbols$b($e))__propIsEnum$b.call($e,Ie)&&__defNormalProp$9(xe,Ie,$e[Ie]);return xe},__spreadProps$6=(xe,$e)=>__defProps$6(xe,__getOwnPropDescs$6($e));function computedEager(xe,$e){var Ie;const Fe=shallowRef();return watchEffect(()=>{Fe.value=xe()},__spreadProps$6(__spreadValues$9({},$e),{flush:(Ie=void 0)!=null?Ie:"sync"})),readonly(Fe)}var _a$1;const isClient$1=typeof window<"u",isDef$1=xe=>typeof xe<"u",isFunction$1=xe=>typeof xe=="function",isString$1=xe=>typeof xe=="string",noop$2=()=>{},isIOS=isClient$1&&((_a$1=window==null?void 0:window.navigator)==null?void 0:_a$1.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(xe){return typeof xe=="function"?xe():unref(xe)}function createFilterWrapper(xe,$e){function Ie(...Fe){return new Promise((Ue,qe)=>{Promise.resolve(xe(()=>$e.apply(this,Fe),{fn:$e,thisArg:this,args:Fe})).then(Ue).catch(qe)})}return Ie}function debounceFilter(xe,$e={}){let Ie,Fe,Ue=noop$2;const qe=Dt=>{clearTimeout(Dt),Ue(),Ue=noop$2};return Dt=>{const Lt=resolveUnref(xe),jt=resolveUnref($e.maxWait);return Ie&&qe(Ie),Lt<=0||jt!==void 0&&jt<=0?(Fe&&(qe(Fe),Fe=null),Promise.resolve(Dt())):new Promise((hn,vn)=>{Ue=$e.rejectOnCancel?vn:hn,jt&&!Fe&&(Fe=setTimeout(()=>{Ie&&qe(Ie),Fe=null,hn(Dt())},jt)),Ie=setTimeout(()=>{Fe&&qe(Fe),Fe=null,hn(Dt())},Lt)})}}function throttleFilter(xe,$e=!0,Ie=!0,Fe=!1){let Ue=0,qe,At=!0,Dt=noop$2,Lt;const jt=()=>{qe&&(clearTimeout(qe),qe=void 0,Dt(),Dt=noop$2)};return vn=>{const bn=resolveUnref(xe),_n=Date.now()-Ue,wn=()=>Lt=vn();return jt(),bn<=0?(Ue=Date.now(),wn()):(_n>bn&&(Ie||!At)?(Ue=Date.now(),wn()):$e&&(Lt=new Promise((kn,Cn)=>{Dt=Fe?Cn:kn,qe=setTimeout(()=>{Ue=Date.now(),At=!0,kn(wn()),jt()},Math.max(0,bn-_n))})),!Ie&&!qe&&(qe=setTimeout(()=>At=!0,bn)),At=!1,Lt)}}function identity$1(xe){return xe}function computedWithControl(xe,$e){let Ie,Fe,Ue;const qe=ref(!0),At=()=>{qe.value=!0,Ue()};watch(xe,At,{flush:"sync"});const Dt=isFunction$1($e)?$e:$e.get,Lt=isFunction$1($e)?void 0:$e.set,jt=customRef((hn,vn)=>(Fe=hn,Ue=vn,{get(){return qe.value&&(Ie=Dt(),qe.value=!1),Fe(),Ie},set(bn){Lt==null||Lt(bn)}}));return Object.isExtensible(jt)&&(jt.trigger=At),jt}function tryOnScopeDispose$1(xe){return getCurrentScope()?(onScopeDispose(xe),!0):!1}function useDebounceFn(xe,$e=200,Ie={}){return createFilterWrapper(debounceFilter($e,Ie),xe)}function refDebounced(xe,$e=200,Ie={}){const Fe=ref(xe.value),Ue=useDebounceFn(()=>{Fe.value=xe.value},$e,Ie);return watch(xe,()=>Ue()),Fe}function useThrottleFn(xe,$e=200,Ie=!1,Fe=!0,Ue=!1){return createFilterWrapper(throttleFilter($e,Ie,Fe,Ue),xe)}function tryOnMounted$1(xe,$e=!0){getCurrentInstance()?onMounted(xe):$e?xe():nextTick(xe)}function useTimeoutFn$1(xe,$e,Ie={}){const{immediate:Fe=!0}=Ie,Ue=ref(!1);let qe=null;function At(){qe&&(clearTimeout(qe),qe=null)}function Dt(){Ue.value=!1,At()}function Lt(...jt){At(),Ue.value=!0,qe=setTimeout(()=>{Ue.value=!1,qe=null,xe(...jt)},resolveUnref($e))}return Fe&&(Ue.value=!0,isClient$1&&Lt()),tryOnScopeDispose$1(Dt),{isPending:readonly(Ue),start:Lt,stop:Dt}}function unrefElement(xe){var $e;const Ie=resolveUnref(xe);return($e=Ie==null?void 0:Ie.$el)!=null?$e:Ie}const defaultWindow=isClient$1?window:void 0,defaultDocument=isClient$1?window.document:void 0;function useEventListener(...xe){let $e,Ie,Fe,Ue;if(isString$1(xe[0])||Array.isArray(xe[0])?([Ie,Fe,Ue]=xe,$e=defaultWindow):[$e,Ie,Fe,Ue]=xe,!$e)return noop$2;Array.isArray(Ie)||(Ie=[Ie]),Array.isArray(Fe)||(Fe=[Fe]);const qe=[],At=()=>{qe.forEach(hn=>hn()),qe.length=0},Dt=(hn,vn,bn,_n)=>(hn.addEventListener(vn,bn,_n),()=>hn.removeEventListener(vn,bn,_n)),Lt=watch(()=>[unrefElement($e),resolveUnref(Ue)],([hn,vn])=>{At(),hn&&qe.push(...Ie.flatMap(bn=>Fe.map(_n=>Dt(hn,bn,_n,vn))))},{immediate:!0,flush:"post"}),jt=()=>{Lt(),At()};return tryOnScopeDispose$1(jt),jt}let _iOSWorkaround=!1;function onClickOutside(xe,$e,Ie={}){const{window:Fe=defaultWindow,ignore:Ue=[],capture:qe=!0,detectIframe:At=!1}=Ie;if(!Fe)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(Fe.document.body.children).forEach(bn=>bn.addEventListener("click",noop$2)));let Dt=!0;const Lt=bn=>Ue.some(_n=>{if(typeof _n=="string")return Array.from(Fe.document.querySelectorAll(_n)).some(wn=>wn===bn.target||bn.composedPath().includes(wn));{const wn=unrefElement(_n);return wn&&(bn.target===wn||bn.composedPath().includes(wn))}}),hn=[useEventListener(Fe,"click",bn=>{const _n=unrefElement(xe);if(!(!_n||_n===bn.target||bn.composedPath().includes(_n))){if(bn.detail===0&&(Dt=!Lt(bn)),!Dt){Dt=!0;return}$e(bn)}},{passive:!0,capture:qe}),useEventListener(Fe,"pointerdown",bn=>{const _n=unrefElement(xe);_n&&(Dt=!bn.composedPath().includes(_n)&&!Lt(bn))},{passive:!0}),At&&useEventListener(Fe,"blur",bn=>{var _n;const wn=unrefElement(xe);((_n=Fe.document.activeElement)==null?void 0:_n.tagName)==="IFRAME"&&!(wn!=null&&wn.contains(Fe.document.activeElement))&&$e(bn)})].filter(Boolean);return()=>hn.forEach(bn=>bn())}function useActiveElement(xe={}){var $e;const{window:Ie=defaultWindow}=xe,Fe=($e=xe.document)!=null?$e:Ie==null?void 0:Ie.document,Ue=computedWithControl(()=>null,()=>Fe==null?void 0:Fe.activeElement);return Ie&&(useEventListener(Ie,"blur",qe=>{qe.relatedTarget===null&&Ue.trigger()},!0),useEventListener(Ie,"focus",Ue.trigger,!0)),Ue}function useSupported(xe,$e=!1){const Ie=ref(),Fe=()=>Ie.value=!!xe();return Fe(),tryOnMounted$1(Fe,$e),Ie}function cloneFnJSON(xe){return JSON.parse(JSON.stringify(xe))}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global[globalKey]=_global[globalKey]||{};function useCssVar(xe,$e,{window:Ie=defaultWindow,initialValue:Fe=""}={}){const Ue=ref(Fe),qe=computed(()=>{var At;return unrefElement($e)||((At=Ie==null?void 0:Ie.document)==null?void 0:At.documentElement)});return watch([qe,()=>resolveUnref(xe)],([At,Dt])=>{var Lt;if(At&&Ie){const jt=(Lt=Ie.getComputedStyle(At).getPropertyValue(Dt))==null?void 0:Lt.trim();Ue.value=jt||Fe}},{immediate:!0}),watch(Ue,At=>{var Dt;(Dt=qe.value)!=null&&Dt.style&&qe.value.style.setProperty(resolveUnref(xe),At)}),Ue}function useDocumentVisibility({document:xe=defaultDocument}={}){if(!xe)return ref("visible");const $e=ref(xe.visibilityState);return useEventListener(xe,"visibilitychange",()=>{$e.value=xe.visibilityState}),$e}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(xe,$e)=>{var Ie={};for(var Fe in xe)__hasOwnProp$g.call(xe,Fe)&&$e.indexOf(Fe)<0&&(Ie[Fe]=xe[Fe]);if(xe!=null&&__getOwnPropSymbols$g)for(var Fe of __getOwnPropSymbols$g(xe))$e.indexOf(Fe)<0&&__propIsEnum$g.call(xe,Fe)&&(Ie[Fe]=xe[Fe]);return Ie};function useResizeObserver(xe,$e,Ie={}){const Fe=Ie,{window:Ue=defaultWindow}=Fe,qe=__objRest$2(Fe,["window"]);let At;const Dt=useSupported(()=>Ue&&"ResizeObserver"in Ue),Lt=()=>{At&&(At.disconnect(),At=void 0)},jt=watch(()=>unrefElement(xe),vn=>{Lt(),Dt.value&&Ue&&vn&&(At=new ResizeObserver($e),At.observe(vn,qe))},{immediate:!0,flush:"post"}),hn=()=>{Lt(),jt()};return tryOnScopeDispose$1(hn),{isSupported:Dt,stop:hn}}function useElementBounding(xe,$e={}){const{reset:Ie=!0,windowResize:Fe=!0,windowScroll:Ue=!0,immediate:qe=!0}=$e,At=ref(0),Dt=ref(0),Lt=ref(0),jt=ref(0),hn=ref(0),vn=ref(0),bn=ref(0),_n=ref(0);function wn(){const kn=unrefElement(xe);if(!kn){Ie&&(At.value=0,Dt.value=0,Lt.value=0,jt.value=0,hn.value=0,vn.value=0,bn.value=0,_n.value=0);return}const Cn=kn.getBoundingClientRect();At.value=Cn.height,Dt.value=Cn.bottom,Lt.value=Cn.left,jt.value=Cn.right,hn.value=Cn.top,vn.value=Cn.width,bn.value=Cn.x,_n.value=Cn.y}return useResizeObserver(xe,wn),watch(()=>unrefElement(xe),kn=>!kn&&wn()),Ue&&useEventListener("scroll",wn,{capture:!0,passive:!0}),Fe&&useEventListener("resize",wn,{passive:!0}),tryOnMounted$1(()=>{qe&&wn()}),{height:At,bottom:Dt,left:Lt,right:jt,top:hn,width:vn,x:bn,y:_n,update:wn}}var __getOwnPropSymbols$8=Object.getOwnPropertySymbols,__hasOwnProp$8=Object.prototype.hasOwnProperty,__propIsEnum$8=Object.prototype.propertyIsEnumerable,__objRest$1=(xe,$e)=>{var Ie={};for(var Fe in xe)__hasOwnProp$8.call(xe,Fe)&&$e.indexOf(Fe)<0&&(Ie[Fe]=xe[Fe]);if(xe!=null&&__getOwnPropSymbols$8)for(var Fe of __getOwnPropSymbols$8(xe))$e.indexOf(Fe)<0&&__propIsEnum$8.call(xe,Fe)&&(Ie[Fe]=xe[Fe]);return Ie};function useMutationObserver(xe,$e,Ie={}){const Fe=Ie,{window:Ue=defaultWindow}=Fe,qe=__objRest$1(Fe,["window"]);let At;const Dt=useSupported(()=>Ue&&"MutationObserver"in Ue),Lt=()=>{At&&(At.disconnect(),At=void 0)},jt=watch(()=>unrefElement(xe),vn=>{Lt(),Dt.value&&Ue&&vn&&(At=new MutationObserver($e),At.observe(vn,qe))},{immediate:!0}),hn=()=>{Lt(),jt()};return tryOnScopeDispose$1(hn),{isSupported:Dt,stop:hn}}var SwipeDirection;(function(xe){xe.UP="UP",xe.RIGHT="RIGHT",xe.DOWN="DOWN",xe.LEFT="LEFT",xe.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(xe,$e,Ie)=>$e in xe?__defProp(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp.call($e,Ie)&&__defNormalProp(xe,Ie,$e[Ie]);if(__getOwnPropSymbols)for(var Ie of __getOwnPropSymbols($e))__propIsEnum.call($e,Ie)&&__defNormalProp(xe,Ie,$e[Ie]);return xe};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity$1},_TransitionPresets);function useVModel(xe,$e,Ie,Fe={}){var Ue,qe,At;const{clone:Dt=!1,passive:Lt=!1,eventName:jt,deep:hn=!1,defaultValue:vn}=Fe,bn=getCurrentInstance(),_n=Ie||(bn==null?void 0:bn.emit)||((Ue=bn==null?void 0:bn.$emit)==null?void 0:Ue.bind(bn))||((At=(qe=bn==null?void 0:bn.proxy)==null?void 0:qe.$emit)==null?void 0:At.bind(bn==null?void 0:bn.proxy));let wn=jt;$e||($e="modelValue"),wn=jt||wn||`update:${$e.toString()}`;const kn=Sn=>Dt?isFunction$1(Dt)?Dt(Sn):cloneFnJSON(Sn):Sn,Cn=()=>isDef$1(xe[$e])?kn(xe[$e]):vn;if(Lt){const Sn=Cn(),xn=ref(Sn);return watch(()=>xe[$e],En=>xn.value=kn(En)),watch(xn,En=>{(En!==xe[$e]||hn)&&_n(wn,En)},{deep:hn}),xn}else return computed({get(){return Cn()},set(Sn){_n(wn,Sn)}})}function useWindowFocus({window:xe=defaultWindow}={}){if(!xe)return ref(!1);const $e=ref(xe.document.hasFocus());return useEventListener(xe,"blur",()=>{$e.value=!1}),useEventListener(xe,"focus",()=>{$e.value=!0}),$e}function useWindowSize(xe={}){const{window:$e=defaultWindow,initialWidth:Ie=1/0,initialHeight:Fe=1/0,listenOrientation:Ue=!0,includeScrollbar:qe=!0}=xe,At=ref(Ie),Dt=ref(Fe),Lt=()=>{$e&&(qe?(At.value=$e.innerWidth,Dt.value=$e.innerHeight):(At.value=$e.document.documentElement.clientWidth,Dt.value=$e.document.documentElement.clientHeight))};return Lt(),tryOnMounted$1(Lt),useEventListener("resize",Lt,{passive:!0}),Ue&&useEventListener("orientationchange",Lt,{passive:!0}),{width:At,height:Dt}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=(xe,$e)=>{if(!isClient$1||!xe||!$e)return!1;const Ie=xe.getBoundingClientRect();let Fe;return $e instanceof Element?Fe=$e.getBoundingClientRect():Fe={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},Ie.topFe.top&&Ie.right>Fe.left&&Ie.left{let $e=0,Ie=xe;for(;Ie;)$e+=Ie.offsetTop,Ie=Ie.offsetParent;return $e},getOffsetTopDistance=(xe,$e)=>Math.abs(getOffsetTop(xe)-getOffsetTop($e)),getClientXY=xe=>{let $e,Ie;return xe.type==="touchend"?(Ie=xe.changedTouches[0].clientY,$e=xe.changedTouches[0].clientX):xe.type.startsWith("touch")?(Ie=xe.touches[0].clientY,$e=xe.touches[0].clientX):(Ie=xe.clientY,$e=xe.clientX),{clientX:$e,clientY:Ie}};function easeInOutCubic(xe,$e,Ie,Fe){const Ue=Ie-$e;return xe/=Fe/2,xe<1?Ue/2*xe*xe*xe+$e:Ue/2*((xe-=2)*xe*xe+2)+$e}const isUndefined=xe=>xe===void 0,isBoolean=xe=>typeof xe=="boolean",isNumber$1=xe=>typeof xe=="number",isEmpty=xe=>!xe&&xe!==0||isArray$6(xe)&&xe.length===0||isObject$8(xe)&&!Object.keys(xe).length,isElement$1=xe=>typeof Element>"u"?!1:xe instanceof Element,isPropAbsent=xe=>isNil(xe),isStringNumber=xe=>isString$4(xe)?!Number.isNaN(Number(xe)):!1,isWindow=xe=>xe===window,rAF=xe=>isClient$1?window.requestAnimationFrame(xe):setTimeout(xe,16),cAF=xe=>isClient$1?window.cancelAnimationFrame(xe):clearTimeout(xe),escapeStringRegexp=(xe="")=>xe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=xe=>capitalize$1(xe),keysOf=xe=>Object.keys(xe),entriesOf=xe=>Object.entries(xe),getProp=(xe,$e,Ie)=>({get value(){return get$1(xe,$e,Ie)},set value(Fe){set$2(xe,$e,Fe)}});class ElementPlusError extends Error{constructor($e){super($e),this.name="ElementPlusError"}}function throwError$1(xe,$e){throw new ElementPlusError(`[${xe}] ${$e}`)}function debugWarn(xe,$e){}const classNameToArray=(xe="")=>xe.split(" ").filter($e=>!!$e.trim()),hasClass=(xe,$e)=>{if(!xe||!$e)return!1;if($e.includes(" "))throw new Error("className should not contain space.");return xe.classList.contains($e)},addClass=(xe,$e)=>{!xe||!$e.trim()||xe.classList.add(...classNameToArray($e))},removeClass=(xe,$e)=>{!xe||!$e.trim()||xe.classList.remove(...classNameToArray($e))},getStyle$1=(xe,$e)=>{var Ie;if(!isClient$1||!xe||!$e)return"";let Fe=camelize($e);Fe==="float"&&(Fe="cssFloat");try{const Ue=xe.style[Fe];if(Ue)return Ue;const qe=(Ie=document.defaultView)==null?void 0:Ie.getComputedStyle(xe,"");return qe?qe[Fe]:""}catch{return xe.style[Fe]}};function addUnit(xe,$e="px"){if(!xe)return"";if(isNumber$1(xe)||isStringNumber(xe))return`${xe}${$e}`;if(isString$4(xe))return xe}const isScroll=(xe,$e)=>{if(!isClient$1)return!1;const Ie={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String($e)],Fe=getStyle$1(xe,Ie);return["scroll","auto","overlay"].some(Ue=>Fe.includes(Ue))},getScrollContainer=(xe,$e)=>{if(!isClient$1)return;let Ie=xe;for(;Ie;){if([window,document,document.documentElement].includes(Ie))return window;if(isScroll(Ie,$e))return Ie;Ie=Ie.parentNode}return Ie};let scrollBarWidth;const getScrollBarWidth=xe=>{var $e;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const Ie=document.createElement("div");Ie.className=`${xe}-scrollbar__wrap`,Ie.style.visibility="hidden",Ie.style.width="100px",Ie.style.position="absolute",Ie.style.top="-9999px",document.body.appendChild(Ie);const Fe=Ie.offsetWidth;Ie.style.overflow="scroll";const Ue=document.createElement("div");Ue.style.width="100%",Ie.appendChild(Ue);const qe=Ue.offsetWidth;return($e=Ie.parentNode)==null||$e.removeChild(Ie),scrollBarWidth=Fe-qe,scrollBarWidth};function scrollIntoView(xe,$e){if(!isClient$1)return;if(!$e){xe.scrollTop=0;return}const Ie=[];let Fe=$e.offsetParent;for(;Fe!==null&&xe!==Fe&&xe.contains(Fe);)Ie.push(Fe),Fe=Fe.offsetParent;const Ue=$e.offsetTop+Ie.reduce((Lt,jt)=>Lt+jt.offsetTop,0),qe=Ue+$e.offsetHeight,At=xe.scrollTop,Dt=At+xe.clientHeight;UeDt&&(xe.scrollTop=qe-xe.clientHeight)}function animateScrollTo(xe,$e,Ie,Fe,Ue){const qe=Date.now();let At;const Dt=()=>{const jt=Date.now()-qe,hn=easeInOutCubic(jt>Fe?Fe:jt,$e,Ie,Fe);isWindow(xe)?xe.scrollTo(window.pageXOffset,hn):xe.scrollTop=hn,jt{At&&cAF(At)}}const getScrollElement=(xe,$e)=>isWindow($e)?xe.ownerDocument.documentElement:$e,getScrollTop=xe=>isWindow(xe)?window.scrollY:xe.scrollTop,getElement=xe=>{if(!isClient$1||xe==="")return null;if(isString$4(xe))try{return document.querySelector(xe)}catch{return null}return xe};/*! Element Plus Icons Vue v2.3.1 */var arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),back_default=back_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),check_default=check_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),close_default=close_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=document_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=more_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,refresh_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refresh",__name:"refresh",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),refresh_default=refresh_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),search_default=search_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=star_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=view_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;const epPropKey="__epPropKey",definePropType=xe=>xe,isEpProp=xe=>isObject$8(xe)&&!!xe[epPropKey],buildProp=(xe,$e)=>{if(!isObject$8(xe)||isEpProp(xe))return xe;const{values:Ie,required:Fe,default:Ue,type:qe,validator:At}=xe,Lt={type:qe,required:!!Fe,validator:Ie||At?jt=>{let hn=!1,vn=[];if(Ie&&(vn=Array.from(Ie),hasOwn$1(xe,"default")&&vn.push(Ue),hn||(hn=vn.includes(jt))),At&&(hn||(hn=At(jt))),!hn&&vn.length>0){const bn=[...new Set(vn)].map(_n=>JSON.stringify(_n)).join(", ");warn$2(`Invalid prop: validation failed${$e?` for prop "${$e}"`:""}. Expected one of [${bn}], got value ${JSON.stringify(jt)}.`)}return hn}:void 0,[epPropKey]:!0};return hasOwn$1(xe,"default")&&(Lt.default=Ue),Lt},buildProps=xe=>fromPairs(Object.entries(xe).map(([$e,Ie])=>[$e,buildProp(Ie,$e)])),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},withInstall=(xe,$e)=>{if(xe.install=Ie=>{for(const Fe of[xe,...Object.values($e??{})])Ie.component(Fe.name,Fe)},$e)for(const[Ie,Fe]of Object.entries($e))xe[Ie]=Fe;return xe},withInstallFunction=(xe,$e)=>(xe.install=Ie=>{xe._context=Ie._context,Ie.config.globalProperties[$e]=xe},xe),withInstallDirective=(xe,$e)=>(xe.install=Ie=>{Ie.directive($e,xe)},xe),withNoopInstall=xe=>(xe.install=NOOP,xe),composeRefs=(...xe)=>$e=>{xe.forEach(Ie=>{isFunction$5(Ie)?Ie($e):Ie.value=$e})},EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},datePickTypes=["year","years","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",INSTALLED_KEY=Symbol("INSTALLED_KEY"),componentSizes=["","default","small","large"],isValidComponentSize=xe=>["",...componentSizes].includes(xe);var PatchFlags=(xe=>(xe[xe.TEXT=1]="TEXT",xe[xe.CLASS=2]="CLASS",xe[xe.STYLE=4]="STYLE",xe[xe.PROPS=8]="PROPS",xe[xe.FULL_PROPS=16]="FULL_PROPS",xe[xe.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",xe[xe.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",xe[xe.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",xe[xe.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",xe[xe.NEED_PATCH=512]="NEED_PATCH",xe[xe.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",xe[xe.HOISTED=-1]="HOISTED",xe[xe.BAIL=-2]="BAIL",xe))(PatchFlags||{});function isFragment(xe){return isVNode(xe)&&xe.type===Fragment}function isComment(xe){return isVNode(xe)&&xe.type===Comment$1}function isValidElementNode(xe){return isVNode(xe)&&!isFragment(xe)&&!isComment(xe)}const getNormalizedProps=xe=>{if(!isVNode(xe))return{};const $e=xe.props||{},Ie=(isVNode(xe.type)?xe.type.props:void 0)||{},Fe={};return Object.keys(Ie).forEach(Ue=>{hasOwn$1(Ie[Ue],"default")&&(Fe[Ue]=Ie[Ue].default)}),Object.keys($e).forEach(Ue=>{Fe[camelize(Ue)]=$e[Ue]}),Fe},ensureOnlyChild=xe=>{if(!isArray$6(xe)||xe.length>1)throw new Error("expect to receive a single Vue element child");return xe[0]},flattedChildren=xe=>{const $e=isArray$6(xe)?xe:[xe],Ie=[];return $e.forEach(Fe=>{var Ue;isArray$6(Fe)?Ie.push(...flattedChildren(Fe)):isVNode(Fe)&&isArray$6(Fe.children)?Ie.push(...flattedChildren(Fe.children)):(Ie.push(Fe),isVNode(Fe)&&((Ue=Fe.component)!=null&&Ue.subTree)&&Ie.push(...flattedChildren(Fe.component.subTree)))}),Ie},unique=xe=>[...new Set(xe)],castArray=xe=>!xe&&xe!==0?[]:Array.isArray(xe)?xe:[xe],isKorean=xe=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(xe),mutable=xe=>xe;function throttleByRaf(xe){let $e=0;const Ie=(...Fe)=>{$e&&cAF($e),$e=rAF(()=>{xe(...Fe),$e=0})};return Ie.cancel=()=>{cAF($e),$e=0},Ie}const DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(xe={})=>{const{excludeListeners:$e=!1,excludeKeys:Ie}=xe,Fe=computed(()=>((Ie==null?void 0:Ie.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),Ue=getCurrentInstance();return computed(Ue?()=>{var qe;return fromPairs(Object.entries((qe=Ue.proxy)==null?void 0:qe.$attrs).filter(([At])=>!Fe.value.includes(At)&&!($e&&LISTENER_PREFIX.test(At))))}:()=>({}))},useDeprecated=({from:xe,replacement:$e,scope:Ie,version:Fe,ref:Ue,type:qe="API"},At)=>{watch(()=>unref(At),Dt=>{},{immediate:!0})},useDraggable=(xe,$e,Ie,Fe)=>{let Ue={offsetX:0,offsetY:0};const qe=Lt=>{const jt=Lt.clientX,hn=Lt.clientY,{offsetX:vn,offsetY:bn}=Ue,_n=xe.value.getBoundingClientRect(),wn=_n.left,kn=_n.top,Cn=_n.width,Sn=_n.height,xn=document.documentElement.clientWidth,En=document.documentElement.clientHeight,Tn=-wn+vn,An=-kn+bn,$n=xn-wn-Cn+vn,Pn=En-kn-Sn+bn,Nn=In=>{let On=vn+In.clientX-jt,Rn=bn+In.clientY-hn;Fe!=null&&Fe.value||(On=Math.min(Math.max(On,Tn),$n),Rn=Math.min(Math.max(Rn,An),Pn)),Ue={offsetX:On,offsetY:Rn},xe.value&&(xe.value.style.transform=`translate(${addUnit(On)}, ${addUnit(Rn)})`)},Mn=()=>{document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",Mn)};document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",Mn)},At=()=>{$e.value&&xe.value&&$e.value.addEventListener("mousedown",qe)},Dt=()=>{$e.value&&xe.value&&$e.value.removeEventListener("mousedown",qe)};onMounted(()=>{watchEffect(()=>{Ie.value?At():Dt()})}),onBeforeUnmount(()=>{Dt()})};var English={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const buildTranslator=xe=>($e,Ie)=>translate$1($e,Ie,unref(xe)),translate$1=(xe,$e,Ie)=>get$1(Ie,xe,xe).replace(/\{(\w+)\}/g,(Fe,Ue)=>{var qe;return`${(qe=$e==null?void 0:$e[Ue])!=null?qe:`{${Ue}}`}`}),buildLocaleContext=xe=>{const $e=computed(()=>unref(xe).name),Ie=isRef(xe)?xe:ref(xe);return{lang:$e,locale:Ie,t:buildTranslator(xe)}},localeContextKey=Symbol("localeContextKey"),useLocale=xe=>{const $e=xe||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>$e.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(xe,$e,Ie,Fe,Ue)=>{let qe=`${xe}-${$e}`;return Ie&&(qe+=`-${Ie}`),Fe&&(qe+=`__${Fe}`),Ue&&(qe+=`--${Ue}`),qe},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=xe=>{const $e=xe||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed(()=>unref($e)||defaultNamespace)},useNamespace=(xe,$e)=>{const Ie=useGetDerivedNamespace($e);return{namespace:Ie,b:(kn="")=>_bem(Ie.value,xe,kn,"",""),e:kn=>kn?_bem(Ie.value,xe,"",kn,""):"",m:kn=>kn?_bem(Ie.value,xe,"","",kn):"",be:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,kn,Cn,""):"",em:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,"",kn,Cn):"",bm:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,kn,"",Cn):"",bem:(kn,Cn,Sn)=>kn&&Cn&&Sn?_bem(Ie.value,xe,kn,Cn,Sn):"",is:(kn,...Cn)=>{const Sn=Cn.length>=1?Cn[0]:!0;return kn&&Sn?`${statePrefix}${kn}`:""},cssVar:kn=>{const Cn={};for(const Sn in kn)kn[Sn]&&(Cn[`--${Ie.value}-${Sn}`]=kn[Sn]);return Cn},cssVarName:kn=>`--${Ie.value}-${kn}`,cssVarBlock:kn=>{const Cn={};for(const Sn in kn)kn[Sn]&&(Cn[`--${Ie.value}-${xe}-${Sn}`]=kn[Sn]);return Cn},cssVarBlockName:kn=>`--${Ie.value}-${xe}-${kn}`}},useLockscreen=(xe,$e={})=>{isRef(xe)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const Ie=$e.ns||useNamespace("popup"),Fe=computed(()=>Ie.bm("parent","hidden"));if(!isClient$1||hasClass(document.body,Fe.value))return;let Ue=0,qe=!1,At="0";const Dt=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,Fe.value),qe&&document&&(document.body.style.width=At)},200)};watch(xe,Lt=>{if(!Lt){Dt();return}qe=!hasClass(document.body,Fe.value),qe&&(At=document.body.style.width),Ue=getScrollBarWidth(Ie.namespace.value);const jt=document.documentElement.clientHeight0&&(jt||hn==="scroll")&&qe&&(document.body.style.width=`calc(100% - ${Ue}px)`),addClass(document.body,Fe.value)}),onScopeDispose(()=>Dt())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=xe=>{const $e=`update:${xe}`,Ie=`onUpdate:${xe}`,Fe=[$e],Ue={[xe]:_prop,[Ie]:_event};return{useModelToggle:({indicator:At,toggleReason:Dt,shouldHideWhenRouteChanges:Lt,shouldProceed:jt,onShow:hn,onHide:vn})=>{const bn=getCurrentInstance(),{emit:_n}=bn,wn=bn.props,kn=computed(()=>isFunction$5(wn[Ie])),Cn=computed(()=>wn[xe]===null),Sn=Pn=>{At.value!==!0&&(At.value=!0,Dt&&(Dt.value=Pn),isFunction$5(hn)&&hn(Pn))},xn=Pn=>{At.value!==!1&&(At.value=!1,Dt&&(Dt.value=Pn),isFunction$5(vn)&&vn(Pn))},En=Pn=>{if(wn.disabled===!0||isFunction$5(jt)&&!jt())return;const Nn=kn.value&&isClient$1;Nn&&_n($e,!0),(Cn.value||!Nn)&&Sn(Pn)},Tn=Pn=>{if(wn.disabled===!0||!isClient$1)return;const Nn=kn.value&&isClient$1;Nn&&_n($e,!1),(Cn.value||!Nn)&&xn(Pn)},An=Pn=>{isBoolean(Pn)&&(wn.disabled&&Pn?kn.value&&_n($e,!1):At.value!==Pn&&(Pn?Sn():xn()))},$n=()=>{At.value?Tn():En()};return watch(()=>wn[xe],An),Lt&&bn.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...bn.proxy.$route}),()=>{Lt.value&&At.value&&Tn()}),onMounted(()=>{An(wn[xe])}),{hide:Tn,show:En,toggle:$n,hasUpdateHandler:kn}},useModelToggleProps:Ue,useModelToggleEmits:Fe}};createModelToggleComposable("modelValue");const useProp=xe=>{const $e=getCurrentInstance();return computed(()=>{var Ie,Fe;return(Fe=(Ie=$e==null?void 0:$e.proxy)==null?void 0:Ie.$props)==null?void 0:Fe[xe]})};var E$1="top",R="bottom",W="right",P$1="left",me="auto",G=[E$1,R,W,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(xe,$e){return xe.concat([$e+"-"+U$1,$e+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(xe,$e){return xe.concat([$e,$e+"-"+U$1,$e+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt$1="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt$1];function C(xe){return xe?(xe.nodeName||"").toLowerCase():null}function H(xe){if(xe==null)return window;if(xe.toString()!=="[object Window]"){var $e=xe.ownerDocument;return $e&&$e.defaultView||window}return xe}function Q(xe){var $e=H(xe).Element;return xe instanceof $e||xe instanceof Element}function B(xe){var $e=H(xe).HTMLElement;return xe instanceof $e||xe instanceof HTMLElement}function Pe(xe){if(typeof ShadowRoot>"u")return!1;var $e=H(xe).ShadowRoot;return xe instanceof $e||xe instanceof ShadowRoot}function Mt(xe){var $e=xe.state;Object.keys($e.elements).forEach(function(Ie){var Fe=$e.styles[Ie]||{},Ue=$e.attributes[Ie]||{},qe=$e.elements[Ie];!B(qe)||!C(qe)||(Object.assign(qe.style,Fe),Object.keys(Ue).forEach(function(At){var Dt=Ue[At];Dt===!1?qe.removeAttribute(At):qe.setAttribute(At,Dt===!0?"":Dt)}))})}function Rt(xe){var $e=xe.state,Ie={popper:{position:$e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign($e.elements.popper.style,Ie.popper),$e.styles=Ie,$e.elements.arrow&&Object.assign($e.elements.arrow.style,Ie.arrow),function(){Object.keys($e.elements).forEach(function(Fe){var Ue=$e.elements[Fe],qe=$e.attributes[Fe]||{},At=Object.keys($e.styles.hasOwnProperty(Fe)?$e.styles[Fe]:Ie[Fe]),Dt=At.reduce(function(Lt,jt){return Lt[jt]="",Lt},{});!B(Ue)||!C(Ue)||(Object.assign(Ue.style,Dt),Object.keys(qe).forEach(function(Lt){Ue.removeAttribute(Lt)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(xe){return xe.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(xe,$e){$e===void 0&&($e=!1);var Ie=xe.getBoundingClientRect(),Fe=1,Ue=1;if(B(xe)&&$e){var qe=xe.offsetHeight,At=xe.offsetWidth;At>0&&(Fe=Z(Ie.width)/At||1),qe>0&&(Ue=Z(Ie.height)/qe||1)}return{width:Ie.width/Fe,height:Ie.height/Ue,top:Ie.top/Ue,right:Ie.right/Fe,bottom:Ie.bottom/Ue,left:Ie.left/Fe,x:Ie.left/Fe,y:Ie.top/Ue}}function ke(xe){var $e=ee(xe),Ie=xe.offsetWidth,Fe=xe.offsetHeight;return Math.abs($e.width-Ie)<=1&&(Ie=$e.width),Math.abs($e.height-Fe)<=1&&(Fe=$e.height),{x:xe.offsetLeft,y:xe.offsetTop,width:Ie,height:Fe}}function it(xe,$e){var Ie=$e.getRootNode&&$e.getRootNode();if(xe.contains($e))return!0;if(Ie&&Pe(Ie)){var Fe=$e;do{if(Fe&&xe.isSameNode(Fe))return!0;Fe=Fe.parentNode||Fe.host}while(Fe)}return!1}function N$1(xe){return H(xe).getComputedStyle(xe)}function Wt(xe){return["table","td","th"].indexOf(C(xe))>=0}function I$1(xe){return((Q(xe)?xe.ownerDocument:xe.document)||window.document).documentElement}function ge(xe){return C(xe)==="html"?xe:xe.assignedSlot||xe.parentNode||(Pe(xe)?xe.host:null)||I$1(xe)}function at(xe){return!B(xe)||N$1(xe).position==="fixed"?null:xe.offsetParent}function Bt(xe){var $e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,Ie=navigator.userAgent.indexOf("Trident")!==-1;if(Ie&&B(xe)){var Fe=N$1(xe);if(Fe.position==="fixed")return null}var Ue=ge(xe);for(Pe(Ue)&&(Ue=Ue.host);B(Ue)&&["html","body"].indexOf(C(Ue))<0;){var qe=N$1(Ue);if(qe.transform!=="none"||qe.perspective!=="none"||qe.contain==="paint"||["transform","perspective"].indexOf(qe.willChange)!==-1||$e&&qe.willChange==="filter"||$e&&qe.filter&&qe.filter!=="none")return Ue;Ue=Ue.parentNode}return null}function se(xe){for(var $e=H(xe),Ie=at(xe);Ie&&Wt(Ie)&&N$1(Ie).position==="static";)Ie=at(Ie);return Ie&&(C(Ie)==="html"||C(Ie)==="body"&&N$1(Ie).position==="static")?$e:Ie||Bt(xe)||$e}function Le(xe){return["top","bottom"].indexOf(xe)>=0?"x":"y"}function fe(xe,$e,Ie){return X$1(xe,ve($e,Ie))}function St(xe,$e,Ie){var Fe=fe(xe,$e,Ie);return Fe>Ie?Ie:Fe}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(xe){return Object.assign({},st(),xe)}function ct(xe,$e){return $e.reduce(function(Ie,Fe){return Ie[Fe]=xe,Ie},{})}var Tt=function(xe,$e){return xe=typeof xe=="function"?xe(Object.assign({},$e.rects,{placement:$e.placement})):xe,ft(typeof xe!="number"?xe:ct(xe,G))};function Ht(xe){var $e,Ie=xe.state,Fe=xe.name,Ue=xe.options,qe=Ie.elements.arrow,At=Ie.modifiersData.popperOffsets,Dt=q(Ie.placement),Lt=Le(Dt),jt=[P$1,W].indexOf(Dt)>=0,hn=jt?"height":"width";if(!(!qe||!At)){var vn=Tt(Ue.padding,Ie),bn=ke(qe),_n=Lt==="y"?E$1:P$1,wn=Lt==="y"?R:W,kn=Ie.rects.reference[hn]+Ie.rects.reference[Lt]-At[Lt]-Ie.rects.popper[hn],Cn=At[Lt]-Ie.rects.reference[Lt],Sn=se(qe),xn=Sn?Lt==="y"?Sn.clientHeight||0:Sn.clientWidth||0:0,En=kn/2-Cn/2,Tn=vn[_n],An=xn-bn[hn]-vn[wn],$n=xn/2-bn[hn]/2+En,Pn=fe(Tn,$n,An),Nn=Lt;Ie.modifiersData[Fe]=($e={},$e[Nn]=Pn,$e.centerOffset=Pn-$n,$e)}}function Ct(xe){var $e=xe.state,Ie=xe.options,Fe=Ie.element,Ue=Fe===void 0?"[data-popper-arrow]":Fe;Ue!=null&&(typeof Ue=="string"&&(Ue=$e.elements.popper.querySelector(Ue),!Ue)||!it($e.elements.popper,Ue)||($e.elements.arrow=Ue))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(xe){return xe.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(xe){var $e=xe.x,Ie=xe.y,Fe=window,Ue=Fe.devicePixelRatio||1;return{x:Z($e*Ue)/Ue||0,y:Z(Ie*Ue)/Ue||0}}function ut(xe){var $e,Ie=xe.popper,Fe=xe.popperRect,Ue=xe.placement,qe=xe.variation,At=xe.offsets,Dt=xe.position,Lt=xe.gpuAcceleration,jt=xe.adaptive,hn=xe.roundOffsets,vn=xe.isFixed,bn=At.x,_n=bn===void 0?0:bn,wn=At.y,kn=wn===void 0?0:wn,Cn=typeof hn=="function"?hn({x:_n,y:kn}):{x:_n,y:kn};_n=Cn.x,kn=Cn.y;var Sn=At.hasOwnProperty("x"),xn=At.hasOwnProperty("y"),En=P$1,Tn=E$1,An=window;if(jt){var $n=se(Ie),Pn="clientHeight",Nn="clientWidth";if($n===H(Ie)&&($n=I$1(Ie),N$1($n).position!=="static"&&Dt==="absolute"&&(Pn="scrollHeight",Nn="scrollWidth")),$n=$n,Ue===E$1||(Ue===P$1||Ue===W)&&qe===J){Tn=R;var Mn=vn&&$n===An&&An.visualViewport?An.visualViewport.height:$n[Pn];kn-=Mn-Fe.height,kn*=Lt?1:-1}if(Ue===P$1||(Ue===E$1||Ue===R)&&qe===J){En=W;var In=vn&&$n===An&&An.visualViewport?An.visualViewport.width:$n[Nn];_n-=In-Fe.width,_n*=Lt?1:-1}}var On=Object.assign({position:Dt},jt&&qt),Rn=hn===!0?Vt({x:_n,y:kn}):{x:_n,y:kn};if(_n=Rn.x,kn=Rn.y,Lt){var Bn;return Object.assign({},On,(Bn={},Bn[Tn]=xn?"0":"",Bn[En]=Sn?"0":"",Bn.transform=(An.devicePixelRatio||1)<=1?"translate("+_n+"px, "+kn+"px)":"translate3d("+_n+"px, "+kn+"px, 0)",Bn))}return Object.assign({},On,($e={},$e[Tn]=xn?kn+"px":"",$e[En]=Sn?_n+"px":"",$e.transform="",$e))}function Nt(xe){var $e=xe.state,Ie=xe.options,Fe=Ie.gpuAcceleration,Ue=Fe===void 0?!0:Fe,qe=Ie.adaptive,At=qe===void 0?!0:qe,Dt=Ie.roundOffsets,Lt=Dt===void 0?!0:Dt,jt={placement:q($e.placement),variation:te($e.placement),popper:$e.elements.popper,popperRect:$e.rects.popper,gpuAcceleration:Ue,isFixed:$e.options.strategy==="fixed"};$e.modifiersData.popperOffsets!=null&&($e.styles.popper=Object.assign({},$e.styles.popper,ut(Object.assign({},jt,{offsets:$e.modifiersData.popperOffsets,position:$e.options.strategy,adaptive:At,roundOffsets:Lt})))),$e.modifiersData.arrow!=null&&($e.styles.arrow=Object.assign({},$e.styles.arrow,ut(Object.assign({},jt,{offsets:$e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Lt})))),$e.attributes.popper=Object.assign({},$e.attributes.popper,{"data-popper-placement":$e.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(xe){var $e=xe.state,Ie=xe.instance,Fe=xe.options,Ue=Fe.scroll,qe=Ue===void 0?!0:Ue,At=Fe.resize,Dt=At===void 0?!0:At,Lt=H($e.elements.popper),jt=[].concat($e.scrollParents.reference,$e.scrollParents.popper);return qe&&jt.forEach(function(hn){hn.addEventListener("scroll",Ie.update,ye)}),Dt&&Lt.addEventListener("resize",Ie.update,ye),function(){qe&&jt.forEach(function(hn){hn.removeEventListener("scroll",Ie.update,ye)}),Dt&&Lt.removeEventListener("resize",Ie.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(xe){return xe.replace(/left|right|bottom|top/g,function($e){return _t[$e]})}var zt={start:"end",end:"start"};function lt$1(xe){return xe.replace(/start|end/g,function($e){return zt[$e]})}function We(xe){var $e=H(xe),Ie=$e.pageXOffset,Fe=$e.pageYOffset;return{scrollLeft:Ie,scrollTop:Fe}}function Be(xe){return ee(I$1(xe)).left+We(xe).scrollLeft}function Ft(xe){var $e=H(xe),Ie=I$1(xe),Fe=$e.visualViewport,Ue=Ie.clientWidth,qe=Ie.clientHeight,At=0,Dt=0;return Fe&&(Ue=Fe.width,qe=Fe.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(At=Fe.offsetLeft,Dt=Fe.offsetTop)),{width:Ue,height:qe,x:At+Be(xe),y:Dt}}function Ut(xe){var $e,Ie=I$1(xe),Fe=We(xe),Ue=($e=xe.ownerDocument)==null?void 0:$e.body,qe=X$1(Ie.scrollWidth,Ie.clientWidth,Ue?Ue.scrollWidth:0,Ue?Ue.clientWidth:0),At=X$1(Ie.scrollHeight,Ie.clientHeight,Ue?Ue.scrollHeight:0,Ue?Ue.clientHeight:0),Dt=-Fe.scrollLeft+Be(xe),Lt=-Fe.scrollTop;return N$1(Ue||Ie).direction==="rtl"&&(Dt+=X$1(Ie.clientWidth,Ue?Ue.clientWidth:0)-qe),{width:qe,height:At,x:Dt,y:Lt}}function Se(xe){var $e=N$1(xe),Ie=$e.overflow,Fe=$e.overflowX,Ue=$e.overflowY;return/auto|scroll|overlay|hidden/.test(Ie+Ue+Fe)}function dt(xe){return["html","body","#document"].indexOf(C(xe))>=0?xe.ownerDocument.body:B(xe)&&Se(xe)?xe:dt(ge(xe))}function ce(xe,$e){var Ie;$e===void 0&&($e=[]);var Fe=dt(xe),Ue=Fe===((Ie=xe.ownerDocument)==null?void 0:Ie.body),qe=H(Fe),At=Ue?[qe].concat(qe.visualViewport||[],Se(Fe)?Fe:[]):Fe,Dt=$e.concat(At);return Ue?Dt:Dt.concat(ce(ge(At)))}function Te(xe){return Object.assign({},xe,{left:xe.x,top:xe.y,right:xe.x+xe.width,bottom:xe.y+xe.height})}function Xt(xe){var $e=ee(xe);return $e.top=$e.top+xe.clientTop,$e.left=$e.left+xe.clientLeft,$e.bottom=$e.top+xe.clientHeight,$e.right=$e.left+xe.clientWidth,$e.width=xe.clientWidth,$e.height=xe.clientHeight,$e.x=$e.left,$e.y=$e.top,$e}function ht(xe,$e){return $e===je?Te(Ft(xe)):Q($e)?Xt($e):Te(Ut(I$1(xe)))}function Yt(xe){var $e=ce(ge(xe)),Ie=["absolute","fixed"].indexOf(N$1(xe).position)>=0,Fe=Ie&&B(xe)?se(xe):xe;return Q(Fe)?$e.filter(function(Ue){return Q(Ue)&&it(Ue,Fe)&&C(Ue)!=="body"}):[]}function Gt(xe,$e,Ie){var Fe=$e==="clippingParents"?Yt(xe):[].concat($e),Ue=[].concat(Fe,[Ie]),qe=Ue[0],At=Ue.reduce(function(Dt,Lt){var jt=ht(xe,Lt);return Dt.top=X$1(jt.top,Dt.top),Dt.right=ve(jt.right,Dt.right),Dt.bottom=ve(jt.bottom,Dt.bottom),Dt.left=X$1(jt.left,Dt.left),Dt},ht(xe,qe));return At.width=At.right-At.left,At.height=At.bottom-At.top,At.x=At.left,At.y=At.top,At}function mt(xe){var $e=xe.reference,Ie=xe.element,Fe=xe.placement,Ue=Fe?q(Fe):null,qe=Fe?te(Fe):null,At=$e.x+$e.width/2-Ie.width/2,Dt=$e.y+$e.height/2-Ie.height/2,Lt;switch(Ue){case E$1:Lt={x:At,y:$e.y-Ie.height};break;case R:Lt={x:At,y:$e.y+$e.height};break;case W:Lt={x:$e.x+$e.width,y:Dt};break;case P$1:Lt={x:$e.x-Ie.width,y:Dt};break;default:Lt={x:$e.x,y:$e.y}}var jt=Ue?Le(Ue):null;if(jt!=null){var hn=jt==="y"?"height":"width";switch(qe){case U$1:Lt[jt]=Lt[jt]-($e[hn]/2-Ie[hn]/2);break;case J:Lt[jt]=Lt[jt]+($e[hn]/2-Ie[hn]/2);break}}return Lt}function ne(xe,$e){$e===void 0&&($e={});var Ie=$e,Fe=Ie.placement,Ue=Fe===void 0?xe.placement:Fe,qe=Ie.boundary,At=qe===void 0?Xe:qe,Dt=Ie.rootBoundary,Lt=Dt===void 0?je:Dt,jt=Ie.elementContext,hn=jt===void 0?K:jt,vn=Ie.altBoundary,bn=vn===void 0?!1:vn,_n=Ie.padding,wn=_n===void 0?0:_n,kn=ft(typeof wn!="number"?wn:ct(wn,G)),Cn=hn===K?Ye:K,Sn=xe.rects.popper,xn=xe.elements[bn?Cn:hn],En=Gt(Q(xn)?xn:xn.contextElement||I$1(xe.elements.popper),At,Lt),Tn=ee(xe.elements.reference),An=mt({reference:Tn,element:Sn,strategy:"absolute",placement:Ue}),$n=Te(Object.assign({},Sn,An)),Pn=hn===K?$n:Tn,Nn={top:En.top-Pn.top+kn.top,bottom:Pn.bottom-En.bottom+kn.bottom,left:En.left-Pn.left+kn.left,right:Pn.right-En.right+kn.right},Mn=xe.modifiersData.offset;if(hn===K&&Mn){var In=Mn[Ue];Object.keys(Nn).forEach(function(On){var Rn=[W,R].indexOf(On)>=0?1:-1,Bn=[E$1,R].indexOf(On)>=0?"y":"x";Nn[On]+=In[Bn]*Rn})}return Nn}function Jt(xe,$e){$e===void 0&&($e={});var Ie=$e,Fe=Ie.placement,Ue=Ie.boundary,qe=Ie.rootBoundary,At=Ie.padding,Dt=Ie.flipVariations,Lt=Ie.allowedAutoPlacements,jt=Lt===void 0?Ee:Lt,hn=te(Fe),vn=hn?Dt?De:De.filter(function(wn){return te(wn)===hn}):G,bn=vn.filter(function(wn){return jt.indexOf(wn)>=0});bn.length===0&&(bn=vn);var _n=bn.reduce(function(wn,kn){return wn[kn]=ne(xe,{placement:kn,boundary:Ue,rootBoundary:qe,padding:At})[q(kn)],wn},{});return Object.keys(_n).sort(function(wn,kn){return _n[wn]-_n[kn]})}function Kt(xe){if(q(xe)===me)return[];var $e=be(xe);return[lt$1(xe),$e,lt$1($e)]}function Qt(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name;if(!$e.modifiersData[Fe]._skip){for(var Ue=Ie.mainAxis,qe=Ue===void 0?!0:Ue,At=Ie.altAxis,Dt=At===void 0?!0:At,Lt=Ie.fallbackPlacements,jt=Ie.padding,hn=Ie.boundary,vn=Ie.rootBoundary,bn=Ie.altBoundary,_n=Ie.flipVariations,wn=_n===void 0?!0:_n,kn=Ie.allowedAutoPlacements,Cn=$e.options.placement,Sn=q(Cn),xn=Sn===Cn,En=Lt||(xn||!wn?[be(Cn)]:Kt(Cn)),Tn=[Cn].concat(En).reduce(function(er,rr){return er.concat(q(rr)===me?Jt($e,{placement:rr,boundary:hn,rootBoundary:vn,padding:jt,flipVariations:wn,allowedAutoPlacements:kn}):rr)},[]),An=$e.rects.reference,$n=$e.rects.popper,Pn=new Map,Nn=!0,Mn=Tn[0],In=0;In=0,Ln=Vn?"width":"height",Dn=ne($e,{placement:On,boundary:hn,rootBoundary:vn,altBoundary:bn,padding:jt}),Hn=Vn?Bn?W:P$1:Bn?R:E$1;An[Ln]>$n[Ln]&&(Hn=be(Hn));var Fn=be(Hn),zn=[];if(qe&&zn.push(Dn[Rn]<=0),Dt&&zn.push(Dn[Hn]<=0,Dn[Fn]<=0),zn.every(function(er){return er})){Mn=On,Nn=!1;break}Pn.set(On,zn)}if(Nn)for(var jn=wn?3:1,Gn=function(er){var rr=Tn.find(function(Jn){var Yn=Pn.get(Jn);if(Yn)return Yn.slice(0,er).every(function(qn){return qn})});if(rr)return Mn=rr,"break"},Wn=jn;Wn>0;Wn--){var Xn=Gn(Wn);if(Xn==="break")break}$e.placement!==Mn&&($e.modifiersData[Fe]._skip=!0,$e.placement=Mn,$e.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(xe,$e,Ie){return Ie===void 0&&(Ie={x:0,y:0}),{top:xe.top-$e.height-Ie.y,right:xe.right-$e.width+Ie.x,bottom:xe.bottom-$e.height+Ie.y,left:xe.left-$e.width-Ie.x}}function yt(xe){return[E$1,W,R,P$1].some(function($e){return xe[$e]>=0})}function Zt(xe){var $e=xe.state,Ie=xe.name,Fe=$e.rects.reference,Ue=$e.rects.popper,qe=$e.modifiersData.preventOverflow,At=ne($e,{elementContext:"reference"}),Dt=ne($e,{altBoundary:!0}),Lt=gt(At,Fe),jt=gt(Dt,Ue,qe),hn=yt(Lt),vn=yt(jt);$e.modifiersData[Ie]={referenceClippingOffsets:Lt,popperEscapeOffsets:jt,isReferenceHidden:hn,hasPopperEscaped:vn},$e.attributes.popper=Object.assign({},$e.attributes.popper,{"data-popper-reference-hidden":hn,"data-popper-escaped":vn})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(xe,$e,Ie){var Fe=q(xe),Ue=[P$1,E$1].indexOf(Fe)>=0?-1:1,qe=typeof Ie=="function"?Ie(Object.assign({},$e,{placement:xe})):Ie,At=qe[0],Dt=qe[1];return At=At||0,Dt=(Dt||0)*Ue,[P$1,W].indexOf(Fe)>=0?{x:Dt,y:At}:{x:At,y:Dt}}function tn(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name,Ue=Ie.offset,qe=Ue===void 0?[0,0]:Ue,At=Ee.reduce(function(hn,vn){return hn[vn]=en(vn,$e.rects,qe),hn},{}),Dt=At[$e.placement],Lt=Dt.x,jt=Dt.y;$e.modifiersData.popperOffsets!=null&&($e.modifiersData.popperOffsets.x+=Lt,$e.modifiersData.popperOffsets.y+=jt),$e.modifiersData[Fe]=At}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(xe){var $e=xe.state,Ie=xe.name;$e.modifiersData[Ie]=mt({reference:$e.rects.reference,element:$e.rects.popper,strategy:"absolute",placement:$e.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(xe){return xe==="x"?"y":"x"}function on(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name,Ue=Ie.mainAxis,qe=Ue===void 0?!0:Ue,At=Ie.altAxis,Dt=At===void 0?!1:At,Lt=Ie.boundary,jt=Ie.rootBoundary,hn=Ie.altBoundary,vn=Ie.padding,bn=Ie.tether,_n=bn===void 0?!0:bn,wn=Ie.tetherOffset,kn=wn===void 0?0:wn,Cn=ne($e,{boundary:Lt,rootBoundary:jt,padding:vn,altBoundary:hn}),Sn=q($e.placement),xn=te($e.placement),En=!xn,Tn=Le(Sn),An=rn(Tn),$n=$e.modifiersData.popperOffsets,Pn=$e.rects.reference,Nn=$e.rects.popper,Mn=typeof kn=="function"?kn(Object.assign({},$e.rects,{placement:$e.placement})):kn,In=typeof Mn=="number"?{mainAxis:Mn,altAxis:Mn}:Object.assign({mainAxis:0,altAxis:0},Mn),On=$e.modifiersData.offset?$e.modifiersData.offset[$e.placement]:null,Rn={x:0,y:0};if($n){if(qe){var Bn,Vn=Tn==="y"?E$1:P$1,Ln=Tn==="y"?R:W,Dn=Tn==="y"?"height":"width",Hn=$n[Tn],Fn=Hn+Cn[Vn],zn=Hn-Cn[Ln],jn=_n?-Nn[Dn]/2:0,Gn=xn===U$1?Pn[Dn]:Nn[Dn],Wn=xn===U$1?-Nn[Dn]:-Pn[Dn],Xn=$e.elements.arrow,er=_n&&Xn?ke(Xn):{width:0,height:0},rr=$e.modifiersData["arrow#persistent"]?$e.modifiersData["arrow#persistent"].padding:st(),Jn=rr[Vn],Yn=rr[Ln],qn=fe(0,Pn[Dn],er[Dn]),ar=En?Pn[Dn]/2-jn-qn-Jn-In.mainAxis:Gn-qn-Jn-In.mainAxis,tr=En?-Pn[Dn]/2+jn+qn+Yn+In.mainAxis:Wn+qn+Yn+In.mainAxis,or=$e.elements.arrow&&se($e.elements.arrow),sr=or?Tn==="y"?or.clientTop||0:or.clientLeft||0:0,Kn=(Bn=On==null?void 0:On[Tn])!=null?Bn:0,Zn=Hn+ar-Kn-sr,nr=Hn+tr-Kn,lr=fe(_n?ve(Fn,Zn):Fn,Hn,_n?X$1(zn,nr):zn);$n[Tn]=lr,Rn[Tn]=lr-Hn}if(Dt){var ir,kr=Tn==="x"?E$1:P$1,Cr=Tn==="x"?R:W,Er=$n[An],dr=An==="y"?"height":"width",br=Er+Cn[kr],_r=Er-Cn[Cr],Pr=[E$1,P$1].indexOf(Sn)!==-1,gr=(ir=On==null?void 0:On[An])!=null?ir:0,xr=Pr?br:Er-Pn[dr]-Nn[dr]-gr+In.altAxis,Rr=Pr?Er+Pn[dr]+Nn[dr]-gr-In.altAxis:_r,Hr=_n&&Pr?St(xr,Er,Rr):fe(_n?xr:br,Er,_n?Rr:_r);$n[An]=Hr,Rn[An]=Hr-Er}$e.modifiersData[Fe]=Rn}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(xe){return{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}}function sn(xe){return xe===H(xe)||!B(xe)?We(xe):an(xe)}function fn(xe){var $e=xe.getBoundingClientRect(),Ie=Z($e.width)/xe.offsetWidth||1,Fe=Z($e.height)/xe.offsetHeight||1;return Ie!==1||Fe!==1}function cn(xe,$e,Ie){Ie===void 0&&(Ie=!1);var Fe=B($e),Ue=B($e)&&fn($e),qe=I$1($e),At=ee(xe,Ue),Dt={scrollLeft:0,scrollTop:0},Lt={x:0,y:0};return(Fe||!Fe&&!Ie)&&((C($e)!=="body"||Se(qe))&&(Dt=sn($e)),B($e)?(Lt=ee($e,!0),Lt.x+=$e.clientLeft,Lt.y+=$e.clientTop):qe&&(Lt.x=Be(qe))),{x:At.left+Dt.scrollLeft-Lt.x,y:At.top+Dt.scrollTop-Lt.y,width:At.width,height:At.height}}function pn(xe){var $e=new Map,Ie=new Set,Fe=[];xe.forEach(function(qe){$e.set(qe.name,qe)});function Ue(qe){Ie.add(qe.name);var At=[].concat(qe.requires||[],qe.requiresIfExists||[]);At.forEach(function(Dt){if(!Ie.has(Dt)){var Lt=$e.get(Dt);Lt&&Ue(Lt)}}),Fe.push(qe)}return xe.forEach(function(qe){Ie.has(qe.name)||Ue(qe)}),Fe}function un(xe){var $e=pn(xe);return ot.reduce(function(Ie,Fe){return Ie.concat($e.filter(function(Ue){return Ue.phase===Fe}))},[])}function ln(xe){var $e;return function(){return $e||($e=new Promise(function(Ie){Promise.resolve().then(function(){$e=void 0,Ie(xe())})})),$e}}function dn(xe){var $e=xe.reduce(function(Ie,Fe){var Ue=Ie[Fe.name];return Ie[Fe.name]=Ue?Object.assign({},Ue,Fe,{options:Object.assign({},Ue.options,Fe.options),data:Object.assign({},Ue.data,Fe.data)}):Fe,Ie},{});return Object.keys($e).map(function(Ie){return $e[Ie]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var xe=arguments.length,$e=new Array(xe),Ie=0;Ie{const Fe={name:"updateState",enabled:!0,phase:"write",fn:({state:Lt})=>{const jt=deriveState(Lt);Object.assign(At.value,jt)},requires:["computeStyles"]},Ue=computed(()=>{const{onFirstUpdate:Lt,placement:jt,strategy:hn,modifiers:vn}=unref(Ie);return{onFirstUpdate:Lt,placement:jt||"bottom",strategy:hn||"absolute",modifiers:[...vn||[],Fe,{name:"applyStyles",enabled:!1}]}}),qe=shallowRef(),At=ref({styles:{popper:{position:unref(Ue).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),Dt=()=>{qe.value&&(qe.value.destroy(),qe.value=void 0)};return watch(Ue,Lt=>{const jt=unref(qe);jt&&jt.setOptions(Lt)},{deep:!0}),watch([xe,$e],([Lt,jt])=>{Dt(),!(!Lt||!jt)&&(qe.value=yn(Lt,jt,unref(Ue)))}),onBeforeUnmount(()=>{Dt()}),{state:computed(()=>{var Lt;return{...((Lt=unref(qe))==null?void 0:Lt.state)||{}}}),styles:computed(()=>unref(At).styles),attributes:computed(()=>unref(At).attributes),update:()=>{var Lt;return(Lt=unref(qe))==null?void 0:Lt.update()},forceUpdate:()=>{var Lt;return(Lt=unref(qe))==null?void 0:Lt.forceUpdate()},instanceRef:computed(()=>unref(qe))}};function deriveState(xe){const $e=Object.keys(xe.elements),Ie=fromPairs($e.map(Ue=>[Ue,xe.styles[Ue]||{}])),Fe=fromPairs($e.map(Ue=>[Ue,xe.attributes[Ue]]));return{styles:Ie,attributes:Fe}}const useSameTarget=xe=>{if(!xe)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let $e=!1,Ie=!1;return{onClick:At=>{$e&&Ie&&xe(At),$e=Ie=!1},onMousedown:At=>{$e=At.target===At.currentTarget},onMouseup:At=>{Ie=At.target===At.currentTarget}}},useThrottleRender=(xe,$e=0)=>{if($e===0)return xe;const Ie=ref(!1);let Fe=0;const Ue=()=>{Fe&&clearTimeout(Fe),Fe=window.setTimeout(()=>{Ie.value=xe.value},$e)};return onMounted(Ue),watch(()=>xe.value,qe=>{qe?Ue():Ie.value=qe}),Ie};function useTimeout(){let xe;const $e=(Fe,Ue)=>{Ie(),xe=window.setTimeout(Fe,Ue)},Ie=()=>window.clearTimeout(xe);return tryOnScopeDispose$1(()=>Ie()),{registerTimeout:$e,cancelTimeout:Ie}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=xe=>{const $e=useIdInjection(),Ie=useGetDerivedNamespace();return computed(()=>unref(xe)||`${Ie.value}-id-${$e.prefix}-${$e.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=xe=>{const $e=xe;$e.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(Ie=>Ie($e))},useEscapeKeydown=xe=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push(xe)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter($e=>$e!==xe),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const xe=useGetDerivedNamespace(),$e=useIdInjection(),Ie=computed(()=>`${xe.value}-popper-container-${$e.prefix}`),Fe=computed(()=>`#${Ie.value}`);return{id:Ie,selector:Fe}},createContainer=xe=>{const $e=document.createElement("div");return $e.id=xe,document.body.appendChild($e),$e},usePopperContainer=()=>{const{id:xe,selector:$e}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&!cachedContainer&&!document.body.querySelector($e.value)&&(cachedContainer=createContainer(xe.value))}),{id:xe,selector:$e}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:xe,hideAfter:$e,autoClose:Ie,open:Fe,close:Ue})=>{const{registerTimeout:qe}=useTimeout(),{registerTimeout:At,cancelTimeout:Dt}=useTimeout();return{onOpen:hn=>{qe(()=>{Fe(hn);const vn=unref(Ie);isNumber$1(vn)&&vn>0&&At(()=>{Ue(hn)},vn)},unref(xe))},onClose:hn=>{Dt(),qe(()=>{Ue(hn)},unref($e))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=xe=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:Ie=>{xe.value=Ie}})},useForwardRefDirective=xe=>({mounted($e){xe($e)},updated($e){xe($e)},unmounted(){xe(null)}}),initial={current:0},zIndex=ref(0),defaultInitialZIndex=2e3,ZINDEX_INJECTION_KEY=Symbol("elZIndexContextKey"),zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=xe=>{const $e=getCurrentInstance()?inject(ZINDEX_INJECTION_KEY,initial):initial,Ie=xe||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),Fe=computed(()=>{const At=unref(Ie);return isNumber$1(At)?At:defaultInitialZIndex}),Ue=computed(()=>Fe.value+zIndex.value),qe=()=>($e.current++,zIndex.value=$e.current,Ue.value);return!isClient$1&&inject(ZINDEX_INJECTION_KEY),{initialZIndex:Fe,currentZIndex:Ue,nextZIndex:qe}};function getNodeName(xe){return isNode(xe)?(xe.nodeName||"").toLowerCase():"#document"}function getWindow(xe){var $e;return(xe==null||($e=xe.ownerDocument)==null?void 0:$e.defaultView)||window}function getDocumentElement(xe){var $e;return($e=(isNode(xe)?xe.ownerDocument:xe.document)||window.document)==null?void 0:$e.documentElement}function isNode(xe){return xe instanceof Node||xe instanceof getWindow(xe).Node}function isElement(xe){return xe instanceof Element||xe instanceof getWindow(xe).Element}function isHTMLElement(xe){return xe instanceof HTMLElement||xe instanceof getWindow(xe).HTMLElement}function isShadowRoot(xe){return typeof ShadowRoot>"u"?!1:xe instanceof ShadowRoot||xe instanceof getWindow(xe).ShadowRoot}function isOverflowElement(xe){const{overflow:$e,overflowX:Ie,overflowY:Fe,display:Ue}=getComputedStyle$2(xe);return/auto|scroll|overlay|hidden|clip/.test($e+Fe+Ie)&&!["inline","contents"].includes(Ue)}function isTableElement(xe){return["table","td","th"].includes(getNodeName(xe))}function isContainingBlock(xe){const $e=isWebKit(),Ie=getComputedStyle$2(xe);return Ie.transform!=="none"||Ie.perspective!=="none"||(Ie.containerType?Ie.containerType!=="normal":!1)||!$e&&(Ie.backdropFilter?Ie.backdropFilter!=="none":!1)||!$e&&(Ie.filter?Ie.filter!=="none":!1)||["transform","perspective","filter"].some(Fe=>(Ie.willChange||"").includes(Fe))||["paint","layout","strict","content"].some(Fe=>(Ie.contain||"").includes(Fe))}function getContainingBlock(xe){let $e=getParentNode(xe);for(;isHTMLElement($e)&&!isLastTraversableNode($e);){if(isContainingBlock($e))return $e;$e=getParentNode($e)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(xe){return["html","body","#document"].includes(getNodeName(xe))}function getComputedStyle$2(xe){return getWindow(xe).getComputedStyle(xe)}function getNodeScroll(xe){return isElement(xe)?{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}:{scrollLeft:xe.pageXOffset,scrollTop:xe.pageYOffset}}function getParentNode(xe){if(getNodeName(xe)==="html")return xe;const $e=xe.assignedSlot||xe.parentNode||isShadowRoot(xe)&&xe.host||getDocumentElement(xe);return isShadowRoot($e)?$e.host:$e}function getNearestOverflowAncestor(xe){const $e=getParentNode(xe);return isLastTraversableNode($e)?xe.ownerDocument?xe.ownerDocument.body:xe.body:isHTMLElement($e)&&isOverflowElement($e)?$e:getNearestOverflowAncestor($e)}function getOverflowAncestors(xe,$e,Ie){var Fe;$e===void 0&&($e=[]),Ie===void 0&&(Ie=!0);const Ue=getNearestOverflowAncestor(xe),qe=Ue===((Fe=xe.ownerDocument)==null?void 0:Fe.body),At=getWindow(Ue);return qe?$e.concat(At,At.visualViewport||[],isOverflowElement(Ue)?Ue:[],At.frameElement&&Ie?getOverflowAncestors(At.frameElement):[]):$e.concat(Ue,getOverflowAncestors(Ue,[],Ie))}function getCssDimensions(xe){const $e=getComputedStyle$2(xe);let Ie=parseFloat($e.width)||0,Fe=parseFloat($e.height)||0;const Ue=isHTMLElement(xe),qe=Ue?xe.offsetWidth:Ie,At=Ue?xe.offsetHeight:Fe,Dt=round$4(Ie)!==qe||round$4(Fe)!==At;return Dt&&(Ie=qe,Fe=At),{width:Ie,height:Fe,$:Dt}}function unwrapElement(xe){return isElement(xe)?xe:xe.contextElement}function getScale(xe){const $e=unwrapElement(xe);if(!isHTMLElement($e))return createCoords(1);const Ie=$e.getBoundingClientRect(),{width:Fe,height:Ue,$:qe}=getCssDimensions($e);let At=(qe?round$4(Ie.width):Ie.width)/Fe,Dt=(qe?round$4(Ie.height):Ie.height)/Ue;return(!At||!Number.isFinite(At))&&(At=1),(!Dt||!Number.isFinite(Dt))&&(Dt=1),{x:At,y:Dt}}const noOffsets=createCoords(0);function getVisualOffsets(xe){const $e=getWindow(xe);return!isWebKit()||!$e.visualViewport?noOffsets:{x:$e.visualViewport.offsetLeft,y:$e.visualViewport.offsetTop}}function shouldAddVisualOffsets(xe,$e,Ie){return $e===void 0&&($e=!1),!Ie||$e&&Ie!==getWindow(xe)?!1:$e}function getBoundingClientRect(xe,$e,Ie,Fe){$e===void 0&&($e=!1),Ie===void 0&&(Ie=!1);const Ue=xe.getBoundingClientRect(),qe=unwrapElement(xe);let At=createCoords(1);$e&&(Fe?isElement(Fe)&&(At=getScale(Fe)):At=getScale(xe));const Dt=shouldAddVisualOffsets(qe,Ie,Fe)?getVisualOffsets(qe):createCoords(0);let Lt=(Ue.left+Dt.x)/At.x,jt=(Ue.top+Dt.y)/At.y,hn=Ue.width/At.x,vn=Ue.height/At.y;if(qe){const bn=getWindow(qe),_n=Fe&&isElement(Fe)?getWindow(Fe):Fe;let wn=bn,kn=wn.frameElement;for(;kn&&Fe&&_n!==wn;){const Cn=getScale(kn),Sn=kn.getBoundingClientRect(),xn=getComputedStyle$2(kn),En=Sn.left+(kn.clientLeft+parseFloat(xn.paddingLeft))*Cn.x,Tn=Sn.top+(kn.clientTop+parseFloat(xn.paddingTop))*Cn.y;Lt*=Cn.x,jt*=Cn.y,hn*=Cn.x,vn*=Cn.y,Lt+=En,jt+=Tn,wn=getWindow(kn),kn=wn.frameElement}}return rectToClientRect({width:hn,height:vn,x:Lt,y:jt})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(xe){return topLayerSelectors.some($e=>{try{return xe.matches($e)}catch{return!1}})}function convertOffsetParentRelativeRectToViewportRelativeRect(xe){let{elements:$e,rect:Ie,offsetParent:Fe,strategy:Ue}=xe;const qe=Ue==="fixed",At=getDocumentElement(Fe),Dt=$e?isTopLayer($e.floating):!1;if(Fe===At||Dt&&qe)return Ie;let Lt={scrollLeft:0,scrollTop:0},jt=createCoords(1);const hn=createCoords(0),vn=isHTMLElement(Fe);if((vn||!vn&&!qe)&&((getNodeName(Fe)!=="body"||isOverflowElement(At))&&(Lt=getNodeScroll(Fe)),isHTMLElement(Fe))){const bn=getBoundingClientRect(Fe);jt=getScale(Fe),hn.x=bn.x+Fe.clientLeft,hn.y=bn.y+Fe.clientTop}return{width:Ie.width*jt.x,height:Ie.height*jt.y,x:Ie.x*jt.x-Lt.scrollLeft*jt.x+hn.x,y:Ie.y*jt.y-Lt.scrollTop*jt.y+hn.y}}function getClientRects(xe){return Array.from(xe.getClientRects())}function getWindowScrollBarX(xe){return getBoundingClientRect(getDocumentElement(xe)).left+getNodeScroll(xe).scrollLeft}function getDocumentRect(xe){const $e=getDocumentElement(xe),Ie=getNodeScroll(xe),Fe=xe.ownerDocument.body,Ue=max$3($e.scrollWidth,$e.clientWidth,Fe.scrollWidth,Fe.clientWidth),qe=max$3($e.scrollHeight,$e.clientHeight,Fe.scrollHeight,Fe.clientHeight);let At=-Ie.scrollLeft+getWindowScrollBarX(xe);const Dt=-Ie.scrollTop;return getComputedStyle$2(Fe).direction==="rtl"&&(At+=max$3($e.clientWidth,Fe.clientWidth)-Ue),{width:Ue,height:qe,x:At,y:Dt}}function getViewportRect(xe,$e){const Ie=getWindow(xe),Fe=getDocumentElement(xe),Ue=Ie.visualViewport;let qe=Fe.clientWidth,At=Fe.clientHeight,Dt=0,Lt=0;if(Ue){qe=Ue.width,At=Ue.height;const jt=isWebKit();(!jt||jt&&$e==="fixed")&&(Dt=Ue.offsetLeft,Lt=Ue.offsetTop)}return{width:qe,height:At,x:Dt,y:Lt}}function getInnerBoundingClientRect(xe,$e){const Ie=getBoundingClientRect(xe,!0,$e==="fixed"),Fe=Ie.top+xe.clientTop,Ue=Ie.left+xe.clientLeft,qe=isHTMLElement(xe)?getScale(xe):createCoords(1),At=xe.clientWidth*qe.x,Dt=xe.clientHeight*qe.y,Lt=Ue*qe.x,jt=Fe*qe.y;return{width:At,height:Dt,x:Lt,y:jt}}function getClientRectFromClippingAncestor(xe,$e,Ie){let Fe;if($e==="viewport")Fe=getViewportRect(xe,Ie);else if($e==="document")Fe=getDocumentRect(getDocumentElement(xe));else if(isElement($e))Fe=getInnerBoundingClientRect($e,Ie);else{const Ue=getVisualOffsets(xe);Fe={...$e,x:$e.x-Ue.x,y:$e.y-Ue.y}}return rectToClientRect(Fe)}function hasFixedPositionAncestor(xe,$e){const Ie=getParentNode(xe);return Ie===$e||!isElement(Ie)||isLastTraversableNode(Ie)?!1:getComputedStyle$2(Ie).position==="fixed"||hasFixedPositionAncestor(Ie,$e)}function getClippingElementAncestors(xe,$e){const Ie=$e.get(xe);if(Ie)return Ie;let Fe=getOverflowAncestors(xe,[],!1).filter(Dt=>isElement(Dt)&&getNodeName(Dt)!=="body"),Ue=null;const qe=getComputedStyle$2(xe).position==="fixed";let At=qe?getParentNode(xe):xe;for(;isElement(At)&&!isLastTraversableNode(At);){const Dt=getComputedStyle$2(At),Lt=isContainingBlock(At);!Lt&&Dt.position==="fixed"&&(Ue=null),(qe?!Lt&&!Ue:!Lt&&Dt.position==="static"&&!!Ue&&["absolute","fixed"].includes(Ue.position)||isOverflowElement(At)&&!Lt&&hasFixedPositionAncestor(xe,At))?Fe=Fe.filter(hn=>hn!==At):Ue=Dt,At=getParentNode(At)}return $e.set(xe,Fe),Fe}function getClippingRect(xe){let{element:$e,boundary:Ie,rootBoundary:Fe,strategy:Ue}=xe;const At=[...Ie==="clippingAncestors"?getClippingElementAncestors($e,this._c):[].concat(Ie),Fe],Dt=At[0],Lt=At.reduce((jt,hn)=>{const vn=getClientRectFromClippingAncestor($e,hn,Ue);return jt.top=max$3(vn.top,jt.top),jt.right=min$3(vn.right,jt.right),jt.bottom=min$3(vn.bottom,jt.bottom),jt.left=max$3(vn.left,jt.left),jt},getClientRectFromClippingAncestor($e,Dt,Ue));return{width:Lt.right-Lt.left,height:Lt.bottom-Lt.top,x:Lt.left,y:Lt.top}}function getDimensions(xe){const{width:$e,height:Ie}=getCssDimensions(xe);return{width:$e,height:Ie}}function getRectRelativeToOffsetParent(xe,$e,Ie){const Fe=isHTMLElement($e),Ue=getDocumentElement($e),qe=Ie==="fixed",At=getBoundingClientRect(xe,!0,qe,$e);let Dt={scrollLeft:0,scrollTop:0};const Lt=createCoords(0);if(Fe||!Fe&&!qe)if((getNodeName($e)!=="body"||isOverflowElement(Ue))&&(Dt=getNodeScroll($e)),Fe){const vn=getBoundingClientRect($e,!0,qe,$e);Lt.x=vn.x+$e.clientLeft,Lt.y=vn.y+$e.clientTop}else Ue&&(Lt.x=getWindowScrollBarX(Ue));const jt=At.left+Dt.scrollLeft-Lt.x,hn=At.top+Dt.scrollTop-Lt.y;return{x:jt,y:hn,width:At.width,height:At.height}}function getTrueOffsetParent(xe,$e){return!isHTMLElement(xe)||getComputedStyle$2(xe).position==="fixed"?null:$e?$e(xe):xe.offsetParent}function getOffsetParent(xe,$e){const Ie=getWindow(xe);if(!isHTMLElement(xe)||isTopLayer(xe))return Ie;let Fe=getTrueOffsetParent(xe,$e);for(;Fe&&isTableElement(Fe)&&getComputedStyle$2(Fe).position==="static";)Fe=getTrueOffsetParent(Fe,$e);return Fe&&(getNodeName(Fe)==="html"||getNodeName(Fe)==="body"&&getComputedStyle$2(Fe).position==="static"&&!isContainingBlock(Fe))?Ie:Fe||getContainingBlock(xe)||Ie}const getElementRects=async function(xe){const $e=this.getOffsetParent||getOffsetParent,Ie=this.getDimensions;return{reference:getRectRelativeToOffsetParent(xe.reference,await $e(xe.floating),xe.strategy),floating:{x:0,y:0,...await Ie(xe.floating)}}};function isRTL$1(xe){return getComputedStyle$2(xe).direction==="rtl"}const platform$1={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL:isRTL$1};function observeMove(xe,$e){let Ie=null,Fe;const Ue=getDocumentElement(xe);function qe(){var Dt;clearTimeout(Fe),(Dt=Ie)==null||Dt.disconnect(),Ie=null}function At(Dt,Lt){Dt===void 0&&(Dt=!1),Lt===void 0&&(Lt=1),qe();const{left:jt,top:hn,width:vn,height:bn}=xe.getBoundingClientRect();if(Dt||$e(),!vn||!bn)return;const _n=floor$1(hn),wn=floor$1(Ue.clientWidth-(jt+vn)),kn=floor$1(Ue.clientHeight-(hn+bn)),Cn=floor$1(jt),xn={rootMargin:-_n+"px "+-wn+"px "+-kn+"px "+-Cn+"px",threshold:max$3(0,min$3(1,Lt))||1};let En=!0;function Tn(An){const $n=An[0].intersectionRatio;if($n!==Lt){if(!En)return At();$n?At(!1,$n):Fe=setTimeout(()=>{At(!1,1e-7)},100)}En=!1}try{Ie=new IntersectionObserver(Tn,{...xn,root:Ue.ownerDocument})}catch{Ie=new IntersectionObserver(Tn,xn)}Ie.observe(xe)}return At(!0),qe}function autoUpdate(xe,$e,Ie,Fe){Fe===void 0&&(Fe={});const{ancestorScroll:Ue=!0,ancestorResize:qe=!0,elementResize:At=typeof ResizeObserver=="function",layoutShift:Dt=typeof IntersectionObserver=="function",animationFrame:Lt=!1}=Fe,jt=unwrapElement(xe),hn=Ue||qe?[...jt?getOverflowAncestors(jt):[],...getOverflowAncestors($e)]:[];hn.forEach(Sn=>{Ue&&Sn.addEventListener("scroll",Ie,{passive:!0}),qe&&Sn.addEventListener("resize",Ie)});const vn=jt&&Dt?observeMove(jt,Ie):null;let bn=-1,_n=null;At&&(_n=new ResizeObserver(Sn=>{let[xn]=Sn;xn&&xn.target===jt&&_n&&(_n.unobserve($e),cancelAnimationFrame(bn),bn=requestAnimationFrame(()=>{var En;(En=_n)==null||En.observe($e)})),Ie()}),jt&&!Lt&&_n.observe(jt),_n.observe($e));let wn,kn=Lt?getBoundingClientRect(xe):null;Lt&&Cn();function Cn(){const Sn=getBoundingClientRect(xe);kn&&(Sn.x!==kn.x||Sn.y!==kn.y||Sn.width!==kn.width||Sn.height!==kn.height)&&Ie(),kn=Sn,wn=requestAnimationFrame(Cn)}return Ie(),()=>{var Sn;hn.forEach(xn=>{Ue&&xn.removeEventListener("scroll",Ie),qe&&xn.removeEventListener("resize",Ie)}),vn==null||vn(),(Sn=_n)==null||Sn.disconnect(),_n=null,Lt&&cancelAnimationFrame(wn)}}const shift=shift$1,flip=flip$1,arrow=arrow$1,computePosition=(xe,$e,Ie)=>{const Fe=new Map,Ue={platform:platform$1,...Ie},qe={...Ue.platform,_c:Fe};return computePosition$1(xe,$e,{...Ue,platform:qe})};buildProps({});const unrefReference=xe=>{if(!isClient$1)return;if(!xe)return xe;const $e=unrefElement(xe);return $e||(isRef(xe)?$e:xe)},useFloating$1=({middleware:xe,placement:$e,strategy:Ie})=>{const Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=ref({}),Lt={x:qe,y:At,placement:$e,strategy:Ie,middlewareData:Dt},jt=async()=>{if(!isClient$1)return;const hn=unrefReference(Fe),vn=unrefElement(Ue);if(!hn||!vn)return;const bn=await computePosition(hn,vn,{placement:unref($e),strategy:unref(Ie),middleware:unref(xe)});keysOf(Lt).forEach(_n=>{Lt[_n].value=bn[_n]})};return onMounted(()=>{watchEffect(()=>{jt()})}),{...Lt,update:jt,referenceRef:Fe,contentRef:Ue}},arrowMiddleware=({arrowRef:xe,padding:$e})=>({name:"arrow",options:{element:xe,padding:$e},fn(Ie){const Fe=unref(xe);return Fe?arrow({element:Fe,padding:$e}).fn(Ie):{}}});function useCursor(xe){const $e=ref();function Ie(){if(xe.value==null)return;const{selectionStart:Ue,selectionEnd:qe,value:At}=xe.value;if(Ue==null||qe==null)return;const Dt=At.slice(0,Math.max(0,Ue)),Lt=At.slice(Math.max(0,qe));$e.value={selectionStart:Ue,selectionEnd:qe,value:At,beforeTxt:Dt,afterTxt:Lt}}function Fe(){if(xe.value==null||$e.value==null)return;const{value:Ue}=xe.value,{beforeTxt:qe,afterTxt:At,selectionStart:Dt}=$e.value;if(qe==null||At==null||Dt==null)return;let Lt=Ue.length;if(Ue.endsWith(At))Lt=Ue.length-At.length;else if(Ue.startsWith(qe))Lt=qe.length;else{const jt=qe[Dt-1],hn=Ue.indexOf(jt,Dt-1);hn!==-1&&(Lt=hn+1)}xe.value.setSelectionRange(Lt,Lt)}return[Ie,Fe]}const getOrderedChildren=(xe,$e,Ie)=>flattedChildren(xe.subTree).filter(qe=>{var At;return isVNode(qe)&&((At=qe.type)==null?void 0:At.name)===$e&&!!qe.component}).map(qe=>qe.component.uid).map(qe=>Ie[qe]).filter(qe=>!!qe),useOrderedChildren=(xe,$e)=>{const Ie={},Fe=shallowRef([]);return{children:Fe,addChild:At=>{Ie[At.uid]=At,Fe.value=getOrderedChildren(xe,$e,Ie)},removeChild:At=>{delete Ie[At],Fe.value=Fe.value.filter(Dt=>Dt.uid!==At)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const xe=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(xe.size)||"")};function useFocusController(xe,{afterFocus:$e,beforeBlur:Ie,afterBlur:Fe}={}){const Ue=getCurrentInstance(),{emit:qe}=Ue,At=shallowRef(),Dt=ref(!1),Lt=vn=>{Dt.value||(Dt.value=!0,qe("focus",vn),$e==null||$e())},jt=vn=>{var bn;isFunction$5(Ie)&&Ie(vn)||vn.relatedTarget&&((bn=At.value)!=null&&bn.contains(vn.relatedTarget))||(Dt.value=!1,qe("blur",vn),Fe==null||Fe())},hn=()=>{var vn;(vn=xe.value)==null||vn.focus()};return watch(At,vn=>{vn&&vn.setAttribute("tabindex","-1")}),useEventListener(At,"click",hn),{wrapperRef:At,isFocused:Dt,handleFocus:Lt,handleBlur:jt}}const DEFAULT_EMPTY_VALUES=["",void 0,null],DEFAULT_VALUE_ON_CLEAR=void 0,useEmptyValuesProps=buildProps({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:xe=>isFunction$5(xe)?!xe():!xe}}),useEmptyValues=(xe,$e)=>{let Ie=useGlobalConfig();Ie.value||(Ie=ref({}));const Fe=computed(()=>xe.emptyValues||Ie.value.emptyValues||DEFAULT_EMPTY_VALUES),Ue=computed(()=>isFunction$5(xe.valueOnClear)?xe.valueOnClear():xe.valueOnClear!==void 0?xe.valueOnClear:isFunction$5(Ie.value.valueOnClear)?Ie.value.valueOnClear():Ie.value.valueOnClear!==void 0?Ie.value.valueOnClear:$e!==void 0?$e:DEFAULT_VALUE_ON_CLEAR),qe=At=>Fe.value.includes(At);return Fe.value.includes(Ue.value),{emptyValues:Fe,valueOnClear:Ue,isEmptyValue:qe}},ariaProps=buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),useAriaProps=xe=>pick(ariaProps,xe),configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(xe,$e=void 0){const Ie=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return xe?computed(()=>{var Fe,Ue;return(Ue=(Fe=Ie.value)==null?void 0:Fe[xe])!=null?Ue:$e}):Ie}function useGlobalComponentSettings(xe,$e){const Ie=useGlobalConfig(),Fe=useNamespace(xe,computed(()=>{var Dt;return((Dt=Ie.value)==null?void 0:Dt.namespace)||defaultNamespace})),Ue=useLocale(computed(()=>{var Dt;return(Dt=Ie.value)==null?void 0:Dt.locale})),qe=useZIndex(computed(()=>{var Dt;return((Dt=Ie.value)==null?void 0:Dt.zIndex)||defaultInitialZIndex})),At=computed(()=>{var Dt;return unref($e)||((Dt=Ie.value)==null?void 0:Dt.size)||""});return provideGlobalConfig(computed(()=>unref(Ie)||{})),{ns:Fe,locale:Ue,zIndex:qe,size:At}}const provideGlobalConfig=(xe,$e,Ie=!1)=>{var Fe;const Ue=!!getCurrentInstance(),qe=Ue?useGlobalConfig():void 0,At=(Fe=$e==null?void 0:$e.provide)!=null?Fe:Ue?provide:void 0;if(!At)return;const Dt=computed(()=>{const Lt=unref(xe);return qe!=null&&qe.value?mergeConfig(qe.value,Lt):Lt});return At(configProviderContextKey,Dt),At(localeContextKey,computed(()=>Dt.value.locale)),At(namespaceContextKey,computed(()=>Dt.value.namespace)),At(zIndexContextKey,computed(()=>Dt.value.zIndex)),At(SIZE_INJECTION_KEY,{size:computed(()=>Dt.value.size||"")}),(Ie||!globalConfig.value)&&(globalConfig.value=Dt.value),Dt},mergeConfig=(xe,$e)=>{const Ie=[...new Set([...keysOf(xe),...keysOf($e)])],Fe={};for(const Ue of Ie)Fe[Ue]=$e[Ue]!==void 0?$e[Ue]:xe[Ue];return Fe},configProviderProps=buildProps({a11y:{type:Boolean,default:!0},locale:{type:definePropType(Object)},size:useSizeProp,button:{type:definePropType(Object)},experimentalFeatures:{type:definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"},...useEmptyValuesProps}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(xe,{slots:$e}){watch(()=>xe.message,Fe=>{Object.assign(messageConfig,Fe??{})},{immediate:!0,deep:!0});const Ie=provideGlobalConfig(xe);return()=>renderSlot($e,"default",{config:Ie==null?void 0:Ie.value})}}),ElConfigProvider=withInstall(ConfigProvider),version="2.7.5",makeInstaller=(xe=[])=>({version,install:(Ie,Fe)=>{Ie[INSTALLED_KEY]||(Ie[INSTALLED_KEY]=!0,xe.forEach(Ue=>Ie.use(Ue)),Fe&&provideGlobalConfig(Fe,Ie,!0))}}),affixProps=buildProps({zIndex:{type:definePropType([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),affixEmits={scroll:({scrollTop:xe,fixed:$e})=>isNumber$1(xe)&&isBoolean($e),[CHANGE_EVENT]:xe=>isBoolean(xe)};var _export_sfc$1=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};const COMPONENT_NAME$n="ElAffix",__default__$1L=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2s=defineComponent({...__default__$1L,props:affixProps,emits:affixEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("affix"),qe=shallowRef(),At=shallowRef(),Dt=shallowRef(),{height:Lt}=useWindowSize(),{height:jt,width:hn,top:vn,bottom:bn,update:_n}=useElementBounding(At,{windowScroll:!1}),wn=useElementBounding(qe),kn=ref(!1),Cn=ref(0),Sn=ref(0),xn=computed(()=>({height:kn.value?`${jt.value}px`:"",width:kn.value?`${hn.value}px`:""})),En=computed(()=>{if(!kn.value)return{};const $n=Fe.offset?addUnit(Fe.offset):0;return{height:`${jt.value}px`,width:`${hn.value}px`,top:Fe.position==="top"?$n:"",bottom:Fe.position==="bottom"?$n:"",transform:Sn.value?`translateY(${Sn.value}px)`:"",zIndex:Fe.zIndex}}),Tn=()=>{if(Dt.value)if(Cn.value=Dt.value instanceof Window?document.documentElement.scrollTop:Dt.value.scrollTop||0,Fe.position==="top")if(Fe.target){const $n=wn.bottom.value-Fe.offset-jt.value;kn.value=Fe.offset>vn.value&&wn.bottom.value>0,Sn.value=$n<0?$n:0}else kn.value=Fe.offset>vn.value;else if(Fe.target){const $n=Lt.value-wn.top.value-Fe.offset-jt.value;kn.value=Lt.value-Fe.offsetwn.top.value,Sn.value=$n<0?-$n:0}else kn.value=Lt.value-Fe.offset{_n(),Ie("scroll",{scrollTop:Cn.value,fixed:kn.value})};return watch(kn,$n=>Ie("change",$n)),onMounted(()=>{var $n;Fe.target?(qe.value=($n=document.querySelector(Fe.target))!=null?$n:void 0,qe.value||throwError$1(COMPONENT_NAME$n,`Target does not exist: ${Fe.target}`)):qe.value=document.documentElement,Dt.value=getScrollContainer(At.value,!0),_n()}),useEventListener(Dt,"scroll",An),watchEffect(Tn),$e({update:Tn,updateRoot:_n}),($n,Pn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:At,class:normalizeClass(unref(Ue).b()),style:normalizeStyle$1(unref(xn))},[createBaseVNode("div",{class:normalizeClass({[unref(Ue).m("fixed")]:kn.value}),style:normalizeStyle$1(unref(En))},[renderSlot($n.$slots,"default")],6)],6))}});var Affix=_export_sfc$1(_sfc_main$2s,[["__file","affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1K=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2r=defineComponent({...__default__$1K,props:iconProps,setup(xe){const $e=xe,Ie=useNamespace("icon"),Fe=computed(()=>{const{size:Ue,color:qe}=$e;return!Ue&&!qe?{}:{fontSize:isUndefined(Ue)?void 0:addUnit(Ue),"--color":qe}});return(Ue,qe)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(Ie).b(),style:unref(Fe)},Ue.$attrs),[renderSlot(Ue.$slots,"default")],16))}});var Icon=_export_sfc$1(_sfc_main$2r,[["__file","icon.vue"]]);const ElIcon=withInstall(Icon),alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:xe=>xe instanceof MouseEvent},__default__$1J=defineComponent({name:"ElAlert"}),_sfc_main$2q=defineComponent({...__default__$1J,props:alertProps,emits:alertEmits,setup(xe,{emit:$e}){const Ie=xe,{Close:Fe}=TypeComponents,Ue=useSlots(),qe=useNamespace("alert"),At=ref(!0),Dt=computed(()=>TypeComponentsMap[Ie.type]),Lt=computed(()=>[qe.e("icon"),{[qe.is("big")]:!!Ie.description||!!Ue.default}]),jt=computed(()=>({"with-description":Ie.description||Ue.default})),hn=vn=>{At.value=!1,$e("close",vn)};return(vn,bn)=>(openBlock(),createBlock(Transition,{name:unref(qe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(qe).b(),unref(qe).m(vn.type),unref(qe).is("center",vn.center),unref(qe).is(vn.effect)]),role:"alert"},[vn.showIcon&&unref(Dt)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Lt))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dt))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).e("content"))},[vn.title||vn.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(qe).e("title"),unref(jt)])},[renderSlot(vn.$slots,"title",{},()=>[createTextVNode(toDisplayString(vn.title),1)])],2)):createCommentVNode("v-if",!0),vn.$slots.default||vn.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(qe).e("description"))},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.description),1)])],2)):createCommentVNode("v-if",!0),vn.closable?(openBlock(),createElementBlock(Fragment,{key:2},[vn.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(qe).e("close-btn"),unref(qe).is("customed")]),onClick:hn},toDisplayString(vn.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(qe).e("close-btn")),onClick:hn},{default:withCtx(()=>[createVNode$1(unref(Fe))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,At.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$2q,[["__file","alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(xe,$e={})=>{const Ie=ref(void 0),Fe=$e.prop?Ie:useProp("size"),Ue=$e.global?Ie:useGlobalSize(),qe=$e.form?{size:void 0}:inject(formContextKey,void 0),At=$e.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>Fe.value||unref(xe)||(At==null?void 0:At.size)||(qe==null?void 0:qe.size)||Ue.value||"")},useFormDisabled=xe=>{const $e=useProp("disabled"),Ie=inject(formContextKey,void 0);return computed(()=>$e.value||unref(xe)||(Ie==null?void 0:Ie.disabled)||!1)},useFormItem=()=>{const xe=inject(formContextKey,void 0),$e=inject(formItemContextKey,void 0);return{form:xe,formItem:$e}},useFormItemInputId=(xe,{formItemContext:$e,disableIdGeneration:Ie,disableIdManagement:Fe})=>{Ie||(Ie=ref(!1)),Fe||(Fe=ref(!1));const Ue=ref();let qe;const At=computed(()=>{var Dt;return!!(!(xe.label||xe.ariaLabel)&&$e&&$e.inputIds&&((Dt=$e.inputIds)==null?void 0:Dt.length)<=1)});return onMounted(()=>{qe=watch([toRef(xe,"id"),Ie],([Dt,Lt])=>{const jt=Dt??(Lt?void 0:useId().value);jt!==Ue.value&&($e!=null&&$e.removeInputId&&(Ue.value&&$e.removeInputId(Ue.value),!(Fe!=null&&Fe.value)&&!Lt&&jt&&$e.addInputId(jt)),Ue.value=jt)},{immediate:!0})}),onUnmounted(()=>{qe&&qe(),$e!=null&&$e.removeInputId&&Ue.value&&$e.removeInputId(Ue.value)}),{isLabeledByFormItem:At,inputId:Ue}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(xe,$e,Ie)=>(isArray$6(xe)||isString$4(xe))&&isBoolean($e)&&isString$4(Ie)};function useFormLabelWidth(){const xe=ref([]),$e=computed(()=>{if(!xe.value.length)return"0";const qe=Math.max(...xe.value);return qe?`${qe}px`:""});function Ie(qe){const At=xe.value.indexOf(qe);return At===-1&&$e.value,At}function Fe(qe,At){if(qe&&At){const Dt=Ie(At);xe.value.splice(Dt,1,qe)}else qe&&xe.value.push(qe)}function Ue(qe){const At=Ie(qe);At>-1&&xe.value.splice(At,1)}return{autoLabelWidth:$e,registerLabelWidth:Fe,deregisterLabelWidth:Ue}}const filterFields=(xe,$e)=>{const Ie=castArray$1($e);return Ie.length>0?xe.filter(Fe=>Fe.prop&&Ie.includes(Fe.prop)):xe},COMPONENT_NAME$m="ElForm",__default__$1I=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2p=defineComponent({...__default__$1I,props:formProps,emits:formEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=[],qe=useFormSize(),At=useNamespace("form"),Dt=computed(()=>{const{labelPosition:En,inline:Tn}=Fe;return[At.b(),At.m(qe.value||"default"),{[At.m(`label-${En}`)]:En,[At.m("inline")]:Tn}]}),Lt=En=>Ue.find(Tn=>Tn.prop===En),jt=En=>{Ue.push(En)},hn=En=>{En.prop&&Ue.splice(Ue.indexOf(En),1)},vn=(En=[])=>{Fe.model&&filterFields(Ue,En).forEach(Tn=>Tn.resetField())},bn=(En=[])=>{filterFields(Ue,En).forEach(Tn=>Tn.clearValidate())},_n=computed(()=>!!Fe.model),wn=En=>{if(Ue.length===0)return[];const Tn=filterFields(Ue,En);return Tn.length?Tn:[]},kn=async En=>Sn(void 0,En),Cn=async(En=[])=>{if(!_n.value)return!1;const Tn=wn(En);if(Tn.length===0)return!0;let An={};for(const $n of Tn)try{await $n.validate("")}catch(Pn){An={...An,...Pn}}return Object.keys(An).length===0?!0:Promise.reject(An)},Sn=async(En=[],Tn)=>{const An=!isFunction$5(Tn);try{const $n=await Cn(En);return $n===!0&&await(Tn==null?void 0:Tn($n)),$n}catch($n){if($n instanceof Error)throw $n;const Pn=$n;return Fe.scrollToError&&xn(Object.keys(Pn)[0]),await(Tn==null?void 0:Tn(!1,Pn)),An&&Promise.reject(Pn)}},xn=En=>{var Tn;const An=filterFields(Ue,En)[0];An&&((Tn=An.$el)==null||Tn.scrollIntoView(Fe.scrollIntoViewOptions))};return watch(()=>Fe.rules,()=>{Fe.validateOnRuleChange&&kn().catch(En=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(Fe),emit:Ie,resetFields:vn,clearValidate:bn,validateField:Sn,getField:Lt,addField:jt,removeField:hn,...useFormLabelWidth()})),$e({validate:kn,validateField:Sn,resetFields:vn,clearValidate:bn,scrollToField:xn,fields:Ue}),(En,Tn)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(Dt))},[renderSlot(En.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$2p,[["__file","form.vue"]]),define_process_env_default={};function _extends(){return _extends=Object.assign?Object.assign.bind():function(xe){for(var $e=1;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(xe,$e,Ie){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(Ue,qe,At){var Dt=[null];Dt.push.apply(Dt,qe);var Lt=Function.bind.apply(Ue,Dt),jt=new Lt;return At&&_setPrototypeOf(jt,At.prototype),jt},_construct.apply(null,arguments)}function _isNativeFunction(xe){return Function.toString.call(xe).indexOf("[native code]")!==-1}function _wrapNativeSuper(xe){var $e=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(Fe){if(Fe===null||!_isNativeFunction(Fe))return Fe;if(typeof Fe!="function")throw new TypeError("Super expression must either be null or a function");if(typeof $e<"u"){if($e.has(Fe))return $e.get(Fe);$e.set(Fe,Ue)}function Ue(){return _construct(Fe,arguments,_getPrototypeOf(this).constructor)}return Ue.prototype=Object.create(Fe.prototype,{constructor:{value:Ue,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Ue,Fe)},_wrapNativeSuper(xe)}var formatRegExp=/%[sdj%]/g,warning=function xe(){};typeof process<"u";function convertFieldsError(xe){if(!xe||!xe.length)return null;var $e={};return xe.forEach(function(Ie){var Fe=Ie.field;$e[Fe]=$e[Fe]||[],$e[Fe].push(Ie)}),$e}function format$1(xe){for(var $e=arguments.length,Ie=new Array($e>1?$e-1:0),Fe=1;Fe<$e;Fe++)Ie[Fe-1]=arguments[Fe];var Ue=0,qe=Ie.length;if(typeof xe=="function")return xe.apply(null,Ie);if(typeof xe=="string"){var At=xe.replace(formatRegExp,function(Dt){if(Dt==="%%")return"%";if(Ue>=qe)return Dt;switch(Dt){case"%s":return String(Ie[Ue++]);case"%d":return Number(Ie[Ue++]);case"%j":try{return JSON.stringify(Ie[Ue++])}catch{return"[Circular]"}break;default:return Dt}});return At}return xe}function isNativeStringType(xe){return xe==="string"||xe==="url"||xe==="hex"||xe==="email"||xe==="date"||xe==="pattern"}function isEmptyValue$1(xe,$e){return!!(xe==null||$e==="array"&&Array.isArray(xe)&&!xe.length||isNativeStringType($e)&&typeof xe=="string"&&!xe)}function asyncParallelArray(xe,$e,Ie){var Fe=[],Ue=0,qe=xe.length;function At(Dt){Fe.push.apply(Fe,Dt||[]),Ue++,Ue===qe&&Ie(Fe)}xe.forEach(function(Dt){$e(Dt,At)})}function asyncSerialArray(xe,$e,Ie){var Fe=0,Ue=xe.length;function qe(At){if(At&&At.length){Ie(At);return}var Dt=Fe;Fe=Fe+1,Dt()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types={integer:function xe($e){return types.number($e)&&parseInt($e,10)===$e},float:function xe($e){return types.number($e)&&!types.integer($e)},array:function xe($e){return Array.isArray($e)},regexp:function xe($e){if($e instanceof RegExp)return!0;try{return!!new RegExp($e)}catch{return!1}},date:function xe($e){return typeof $e.getTime=="function"&&typeof $e.getMonth=="function"&&typeof $e.getYear=="function"&&!isNaN($e.getTime())},number:function xe($e){return isNaN($e)?!1:typeof $e=="number"},object:function xe($e){return typeof $e=="object"&&!types.array($e)},method:function xe($e){return typeof $e=="function"},email:function xe($e){return typeof $e=="string"&&$e.length<=320&&!!$e.match(pattern$2.email)},url:function xe($e){return typeof $e=="string"&&$e.length<=2048&&!!$e.match(getUrlRegex())},hex:function xe($e){return typeof $e=="string"&&!!$e.match(pattern$2.hex)}},type$1=function xe($e,Ie,Fe,Ue,qe){if($e.required&&Ie===void 0){required$1($e,Ie,Fe,Ue,qe);return}var At=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Dt=$e.type;At.indexOf(Dt)>-1?types[Dt](Ie)||Ue.push(format$1(qe.messages.types[Dt],$e.fullField,$e.type)):Dt&&typeof Ie!==$e.type&&Ue.push(format$1(qe.messages.types[Dt],$e.fullField,$e.type))},range=function xe($e,Ie,Fe,Ue,qe){var At=typeof $e.len=="number",Dt=typeof $e.min=="number",Lt=typeof $e.max=="number",jt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hn=Ie,vn=null,bn=typeof Ie=="number",_n=typeof Ie=="string",wn=Array.isArray(Ie);if(bn?vn="number":_n?vn="string":wn&&(vn="array"),!vn)return!1;wn&&(hn=Ie.length),_n&&(hn=Ie.replace(jt,"_").length),At?hn!==$e.len&&Ue.push(format$1(qe.messages[vn].len,$e.fullField,$e.len)):Dt&&!Lt&&hn<$e.min?Ue.push(format$1(qe.messages[vn].min,$e.fullField,$e.min)):Lt&&!Dt&&hn>$e.max?Ue.push(format$1(qe.messages[vn].max,$e.fullField,$e.max)):Dt&&Lt&&(hn<$e.min||hn>$e.max)&&Ue.push(format$1(qe.messages[vn].range,$e.fullField,$e.min,$e.max))},ENUM$1="enum",enumerable$1=function xe($e,Ie,Fe,Ue,qe){$e[ENUM$1]=Array.isArray($e[ENUM$1])?$e[ENUM$1]:[],$e[ENUM$1].indexOf(Ie)===-1&&Ue.push(format$1(qe.messages[ENUM$1],$e.fullField,$e[ENUM$1].join(", ")))},pattern$1=function xe($e,Ie,Fe,Ue,qe){if($e.pattern){if($e.pattern instanceof RegExp)$e.pattern.lastIndex=0,$e.pattern.test(Ie)||Ue.push(format$1(qe.messages.pattern.mismatch,$e.fullField,Ie,$e.pattern));else if(typeof $e.pattern=="string"){var At=new RegExp($e.pattern);At.test(Ie)||Ue.push(format$1(qe.messages.pattern.mismatch,$e.fullField,Ie,$e.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"string")&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe,"string"),isEmptyValue$1(Ie,"string")||(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe),rules.pattern($e,Ie,Ue,At,qe),$e.whitespace===!0&&rules.whitespace($e,Ie,Ue,At,qe))}Fe(At)},method2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},number2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(Ie===""&&(Ie=void 0),isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},_boolean=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},regexp2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),isEmptyValue$1(Ie)||rules.type($e,Ie,Ue,At,qe)}Fe(At)},integer2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},floatFn=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},array2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(Ie==null&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe,"array"),Ie!=null&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},object2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},ENUM="enum",enumerable2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules[ENUM]($e,Ie,Ue,At,qe)}Fe(At)},pattern2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"string")&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),isEmptyValue$1(Ie,"string")||rules.pattern($e,Ie,Ue,At,qe)}Fe(At)},date2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"date")&&!$e.required)return Fe();if(rules.required($e,Ie,Ue,At,qe),!isEmptyValue$1(Ie,"date")){var Lt;Ie instanceof Date?Lt=Ie:Lt=new Date(Ie),rules.type($e,Lt,Ue,At,qe),Lt&&rules.range($e,Lt.getTime(),Ue,At,qe)}}Fe(At)},required2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=Array.isArray(Ie)?"array":typeof Ie;rules.required($e,Ie,Ue,At,qe,Dt),Fe(At)},type2=function xe($e,Ie,Fe,Ue,qe){var At=$e.type,Dt=[],Lt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Lt){if(isEmptyValue$1(Ie,At)&&!$e.required)return Fe();rules.required($e,Ie,Ue,Dt,qe,At),isEmptyValue$1(Ie,At)||rules.type($e,Ie,Ue,Dt,qe)}Fe(Dt)},any=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe)}Fe(At)},validators={string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var $e=JSON.parse(JSON.stringify(this));return $e.clone=this.clone,$e}}}var messages=newMessages(),Schema=function(){function xe(Ie){this.rules=null,this._messages=messages,this.define(Ie)}var $e=xe.prototype;return $e.define=function(Fe){var Ue=this;if(!Fe)throw new Error("Cannot configure a schema with no rules");if(typeof Fe!="object"||Array.isArray(Fe))throw new Error("Rules must be an object");this.rules={},Object.keys(Fe).forEach(function(qe){var At=Fe[qe];Ue.rules[qe]=Array.isArray(At)?At:[At]})},$e.messages=function(Fe){return Fe&&(this._messages=deepMerge(newMessages(),Fe)),this._messages},$e.validate=function(Fe,Ue,qe){var At=this;Ue===void 0&&(Ue={}),qe===void 0&&(qe=function(){});var Dt=Fe,Lt=Ue,jt=qe;if(typeof Lt=="function"&&(jt=Lt,Lt={}),!this.rules||Object.keys(this.rules).length===0)return jt&&jt(null,Dt),Promise.resolve(Dt);function hn(kn){var Cn=[],Sn={};function xn(Tn){if(Array.isArray(Tn)){var An;Cn=(An=Cn).concat.apply(An,Tn)}else Cn.push(Tn)}for(var En=0;En");const Ue=useNamespace("form"),qe=ref(),At=ref(0),Dt=()=>{var hn;if((hn=qe.value)!=null&&hn.firstElementChild){const vn=window.getComputedStyle(qe.value.firstElementChild).width;return Math.ceil(Number.parseFloat(vn))}else return 0},Lt=(hn="update")=>{nextTick(()=>{$e.default&&xe.isAutoWidth&&(hn==="update"?At.value=Dt():hn==="remove"&&(Ie==null||Ie.deregisterLabelWidth(At.value)))})},jt=()=>Lt("update");return onMounted(()=>{jt()}),onBeforeUnmount(()=>{Lt("remove")}),onUpdated(()=>jt()),watch(At,(hn,vn)=>{xe.updateAll&&(Ie==null||Ie.registerLabelWidth(hn,vn))}),useResizeObserver(computed(()=>{var hn,vn;return(vn=(hn=qe.value)==null?void 0:hn.firstElementChild)!=null?vn:null}),jt),()=>{var hn,vn;if(!$e)return null;const{isAutoWidth:bn}=xe;if(bn){const _n=Ie==null?void 0:Ie.autoLabelWidth,wn=Fe==null?void 0:Fe.hasLabel,kn={};if(wn&&_n&&_n!=="auto"){const Cn=Math.max(0,Number.parseInt(_n,10)-At.value),Sn=Ie.labelPosition==="left"?"marginRight":"marginLeft";Cn&&(kn[Sn]=`${Cn}px`)}return createVNode$1("div",{ref:qe,class:[Ue.be("item","label-wrap")],style:kn},[(hn=$e.default)==null?void 0:hn.call($e)])}else return createVNode$1(Fragment,{ref:qe},[(vn=$e.default)==null?void 0:vn.call($e)])}}});const _hoisted_1$19=["role","aria-labelledby"],__default__$1H=defineComponent({name:"ElFormItem"}),_sfc_main$2o=defineComponent({...__default__$1H,props:formItemProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots(),Ue=inject(formContextKey,void 0),qe=inject(formItemContextKey,void 0),At=useFormSize(void 0,{formItem:!1}),Dt=useNamespace("form-item"),Lt=useId().value,jt=ref([]),hn=ref(""),vn=refDebounced(hn,100),bn=ref(""),_n=ref();let wn,kn=!1;const Cn=computed(()=>{if((Ue==null?void 0:Ue.labelPosition)==="top")return{};const Yn=addUnit(Ie.labelWidth||(Ue==null?void 0:Ue.labelWidth)||"");return Yn?{width:Yn}:{}}),Sn=computed(()=>{if((Ue==null?void 0:Ue.labelPosition)==="top"||Ue!=null&&Ue.inline)return{};if(!Ie.label&&!Ie.labelWidth&&Mn)return{};const Yn=addUnit(Ie.labelWidth||(Ue==null?void 0:Ue.labelWidth)||"");return!Ie.label&&!Fe.label?{marginLeft:Yn}:{}}),xn=computed(()=>[Dt.b(),Dt.m(At.value),Dt.is("error",hn.value==="error"),Dt.is("validating",hn.value==="validating"),Dt.is("success",hn.value==="success"),Dt.is("required",Vn.value||Ie.required),Dt.is("no-asterisk",Ue==null?void 0:Ue.hideRequiredAsterisk),(Ue==null?void 0:Ue.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[Dt.m("feedback")]:Ue==null?void 0:Ue.statusIcon}]),En=computed(()=>isBoolean(Ie.inlineMessage)?Ie.inlineMessage:(Ue==null?void 0:Ue.inlineMessage)||!1),Tn=computed(()=>[Dt.e("error"),{[Dt.em("error","inline")]:En.value}]),An=computed(()=>Ie.prop?isString$4(Ie.prop)?Ie.prop:Ie.prop.join("."):""),$n=computed(()=>!!(Ie.label||Fe.label)),Pn=computed(()=>Ie.for||(jt.value.length===1?jt.value[0]:void 0)),Nn=computed(()=>!Pn.value&&$n.value),Mn=!!qe,In=computed(()=>{const Yn=Ue==null?void 0:Ue.model;if(!(!Yn||!Ie.prop))return getProp(Yn,Ie.prop).value}),On=computed(()=>{const{required:Yn}=Ie,qn=[];Ie.rules&&qn.push(...castArray$1(Ie.rules));const ar=Ue==null?void 0:Ue.rules;if(ar&&Ie.prop){const tr=getProp(ar,Ie.prop).value;tr&&qn.push(...castArray$1(tr))}if(Yn!==void 0){const tr=qn.map((or,sr)=>[or,sr]).filter(([or])=>Object.keys(or).includes("required"));if(tr.length>0)for(const[or,sr]of tr)or.required!==Yn&&(qn[sr]={...or,required:Yn});else qn.push({required:Yn})}return qn}),Rn=computed(()=>On.value.length>0),Bn=Yn=>On.value.filter(ar=>!ar.trigger||!Yn?!0:Array.isArray(ar.trigger)?ar.trigger.includes(Yn):ar.trigger===Yn).map(({trigger:ar,...tr})=>tr),Vn=computed(()=>On.value.some(Yn=>Yn.required)),Ln=computed(()=>{var Yn;return vn.value==="error"&&Ie.showMessage&&((Yn=Ue==null?void 0:Ue.showMessage)!=null?Yn:!0)}),Dn=computed(()=>`${Ie.label||""}${(Ue==null?void 0:Ue.labelSuffix)||""}`),Hn=Yn=>{hn.value=Yn},Fn=Yn=>{var qn,ar;const{errors:tr,fields:or}=Yn;(!tr||!or)&&console.error(Yn),Hn("error"),bn.value=tr?(ar=(qn=tr==null?void 0:tr[0])==null?void 0:qn.message)!=null?ar:`${Ie.prop} is required`:"",Ue==null||Ue.emit("validate",Ie.prop,!1,bn.value)},zn=()=>{Hn("success"),Ue==null||Ue.emit("validate",Ie.prop,!0,"")},jn=async Yn=>{const qn=An.value;return new Schema({[qn]:Yn}).validate({[qn]:In.value},{firstFields:!0}).then(()=>(zn(),!0)).catch(tr=>(Fn(tr),Promise.reject(tr)))},Gn=async(Yn,qn)=>{if(kn||!Ie.prop)return!1;const ar=isFunction$5(qn);if(!Rn.value)return qn==null||qn(!1),!1;const tr=Bn(Yn);return tr.length===0?(qn==null||qn(!0),!0):(Hn("validating"),jn(tr).then(()=>(qn==null||qn(!0),!0)).catch(or=>{const{fields:sr}=or;return qn==null||qn(!1,sr),ar?!1:Promise.reject(sr)}))},Wn=()=>{Hn(""),bn.value="",kn=!1},Xn=async()=>{const Yn=Ue==null?void 0:Ue.model;if(!Yn||!Ie.prop)return;const qn=getProp(Yn,Ie.prop);kn=!0,qn.value=clone$5(wn),await nextTick(),Wn(),kn=!1},er=Yn=>{jt.value.includes(Yn)||jt.value.push(Yn)},rr=Yn=>{jt.value=jt.value.filter(qn=>qn!==Yn)};watch(()=>Ie.error,Yn=>{bn.value=Yn||"",Hn(Yn?"error":"")},{immediate:!0}),watch(()=>Ie.validateStatus,Yn=>Hn(Yn||""));const Jn=reactive({...toRefs(Ie),$el:_n,size:At,validateState:hn,labelId:Lt,inputIds:jt,isGroup:Nn,hasLabel:$n,fieldValue:In,addInputId:er,removeInputId:rr,resetField:Xn,clearValidate:Wn,validate:Gn});return provide(formItemContextKey,Jn),onMounted(()=>{Ie.prop&&(Ue==null||Ue.addField(Jn),wn=clone$5(In.value))}),onBeforeUnmount(()=>{Ue==null||Ue.removeField(Jn)}),$e({size:At,validateMessage:bn,validateState:hn,validate:Gn,clearValidate:Wn,resetField:Xn}),(Yn,qn)=>{var ar;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:_n,class:normalizeClass(unref(xn)),role:unref(Nn)?"group":void 0,"aria-labelledby":unref(Nn)?unref(Lt):void 0},[createVNode$1(unref(FormLabelWrap),{"is-auto-width":unref(Cn).width==="auto","update-all":((ar=unref(Ue))==null?void 0:ar.labelWidth)==="auto"},{default:withCtx(()=>[unref($n)?(openBlock(),createBlock(resolveDynamicComponent(unref(Pn)?"label":"div"),{key:0,id:unref(Lt),for:unref(Pn),class:normalizeClass(unref(Dt).e("label")),style:normalizeStyle$1(unref(Cn))},{default:withCtx(()=>[renderSlot(Yn.$slots,"label",{label:unref(Dn)},()=>[createTextVNode(toDisplayString(unref(Dn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(Dt).e("content")),style:normalizeStyle$1(unref(Sn))},[renderSlot(Yn.$slots,"default"),createVNode$1(TransitionGroup,{name:`${unref(Dt).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Ln)?renderSlot(Yn.$slots,"error",{key:0,error:bn.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Tn))},toDisplayString(bn.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$19)}}});var FormItem=_export_sfc$1(_sfc_main$2o,[["__file","form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem);let hiddenTextarea;const HIDDEN_STYLE=` + height:0 !important; + visibility:hidden !important; + ${isFirefox()?"":"overflow:hidden !important;"} + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; +`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(xe){const $e=window.getComputedStyle(xe),Ie=$e.getPropertyValue("box-sizing"),Fe=Number.parseFloat($e.getPropertyValue("padding-bottom"))+Number.parseFloat($e.getPropertyValue("padding-top")),Ue=Number.parseFloat($e.getPropertyValue("border-bottom-width"))+Number.parseFloat($e.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(At=>`${At}:${$e.getPropertyValue(At)}`).join(";"),paddingSize:Fe,borderSize:Ue,boxSizing:Ie}}function calcTextareaHeight(xe,$e=1,Ie){var Fe;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:Ue,borderSize:qe,boxSizing:At,contextStyle:Dt}=calculateNodeStyling(xe);hiddenTextarea.setAttribute("style",`${Dt};${HIDDEN_STYLE}`),hiddenTextarea.value=xe.value||xe.placeholder||"";let Lt=hiddenTextarea.scrollHeight;const jt={};At==="border-box"?Lt=Lt+qe:At==="content-box"&&(Lt=Lt-Ue),hiddenTextarea.value="";const hn=hiddenTextarea.scrollHeight-Ue;if(isNumber$1($e)){let vn=hn*$e;At==="border-box"&&(vn=vn+Ue+qe),Lt=Math.max(vn,Lt),jt.minHeight=`${vn}px`}if(isNumber$1(Ie)){let vn=hn*Ie;At==="border-box"&&(vn=vn+Ue+qe),Lt=Math.min(vn,Lt)}return jt.height=`${Lt}px`,(Fe=hiddenTextarea.parentNode)==null||Fe.removeChild(hiddenTextarea),hiddenTextarea=void 0,jt}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe),input:xe=>isString$4(xe),change:xe=>isString$4(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,clear:()=>!0,mouseleave:xe=>xe instanceof MouseEvent,mouseenter:xe=>xe instanceof MouseEvent,keydown:xe=>xe instanceof Event,compositionstart:xe=>xe instanceof CompositionEvent,compositionupdate:xe=>xe instanceof CompositionEvent,compositionend:xe=>xe instanceof CompositionEvent},_hoisted_1$18=["role"],_hoisted_2$K=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],_hoisted_3$m=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],__default__$1G=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2n=defineComponent({...__default__$1G,props:inputProps,emits:inputEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs$1(),qe=useSlots(),At=computed(()=>{const gr={};return Fe.containerRole==="combobox"&&(gr["aria-haspopup"]=Ue["aria-haspopup"],gr["aria-owns"]=Ue["aria-owns"],gr["aria-expanded"]=Ue["aria-expanded"]),gr}),Dt=computed(()=>[Fe.type==="textarea"?Cn.b():kn.b(),kn.m(_n.value),kn.is("disabled",wn.value),kn.is("exceed",er.value),{[kn.b("group")]:qe.prepend||qe.append,[kn.bm("group","append")]:qe.append,[kn.bm("group","prepend")]:qe.prepend,[kn.m("prefix")]:qe.prefix||Fe.prefixIcon,[kn.m("suffix")]:qe.suffix||Fe.suffixIcon||Fe.clearable||Fe.showPassword,[kn.bm("suffix","password-clear")]:jn.value&&Gn.value,[kn.b("hidden")]:Fe.type==="hidden"},Ue.class]),Lt=computed(()=>[kn.e("wrapper"),kn.is("focus",In.value)]),jt=useAttrs({excludeKeys:computed(()=>Object.keys(At.value))}),{form:hn,formItem:vn}=useFormItem(),{inputId:bn}=useFormItemInputId(Fe,{formItemContext:vn}),_n=useFormSize(),wn=useFormDisabled(),kn=useNamespace("input"),Cn=useNamespace("textarea"),Sn=shallowRef(),xn=shallowRef(),En=ref(!1),Tn=ref(!1),An=ref(!1),$n=ref(),Pn=shallowRef(Fe.inputStyle),Nn=computed(()=>Sn.value||xn.value),{wrapperRef:Mn,isFocused:In,handleFocus:On,handleBlur:Rn}=useFocusController(Nn,{afterBlur(){var gr;Fe.validateEvent&&((gr=vn==null?void 0:vn.validate)==null||gr.call(vn,"blur").catch(xr=>void 0))}}),Bn=computed(()=>{var gr;return(gr=hn==null?void 0:hn.statusIcon)!=null?gr:!1}),Vn=computed(()=>(vn==null?void 0:vn.validateState)||""),Ln=computed(()=>Vn.value&&ValidateComponentsMap[Vn.value]),Dn=computed(()=>An.value?view_default:hide_default),Hn=computed(()=>[Ue.style]),Fn=computed(()=>[Fe.inputStyle,Pn.value,{resize:Fe.resize}]),zn=computed(()=>isNil(Fe.modelValue)?"":String(Fe.modelValue)),jn=computed(()=>Fe.clearable&&!wn.value&&!Fe.readonly&&!!zn.value&&(In.value||En.value)),Gn=computed(()=>Fe.showPassword&&!wn.value&&!Fe.readonly&&!!zn.value&&(!!zn.value||In.value)),Wn=computed(()=>Fe.showWordLimit&&!!Fe.maxlength&&(Fe.type==="text"||Fe.type==="textarea")&&!wn.value&&!Fe.readonly&&!Fe.showPassword),Xn=computed(()=>zn.value.length),er=computed(()=>!!Wn.value&&Xn.value>Number(Fe.maxlength)),rr=computed(()=>!!qe.suffix||!!Fe.suffixIcon||jn.value||Fe.showPassword||Wn.value||!!Vn.value&&Bn.value),[Jn,Yn]=useCursor(Sn);useResizeObserver(xn,gr=>{if(tr(),!Wn.value||Fe.resize!=="both")return;const xr=gr[0],{width:Rr}=xr.contentRect;$n.value={right:`calc(100% - ${Rr+15+6}px)`}});const qn=()=>{const{type:gr,autosize:xr}=Fe;if(!(!isClient$1||gr!=="textarea"||!xn.value))if(xr){const Rr=isObject$8(xr)?xr.minRows:void 0,Hr=isObject$8(xr)?xr.maxRows:void 0,Jr=calcTextareaHeight(xn.value,Rr,Hr);Pn.value={overflowY:"hidden",...Jr},nextTick(()=>{xn.value.offsetHeight,Pn.value=Jr})}else Pn.value={minHeight:calcTextareaHeight(xn.value).minHeight}},tr=(gr=>{let xr=!1;return()=>{var Rr;if(xr||!Fe.autosize)return;((Rr=xn.value)==null?void 0:Rr.offsetParent)===null||(gr(),xr=!0)}})(qn),or=()=>{const gr=Nn.value,xr=Fe.formatter?Fe.formatter(zn.value):zn.value;!gr||gr.value===xr||(gr.value=xr)},sr=async gr=>{Jn();let{value:xr}=gr.target;if(Fe.formatter&&(xr=Fe.parser?Fe.parser(xr):xr),!Tn.value){if(xr===zn.value){or();return}Ie(UPDATE_MODEL_EVENT,xr),Ie("input",xr),await nextTick(),or(),Yn()}},Kn=gr=>{Ie("change",gr.target.value)},Zn=gr=>{Ie("compositionstart",gr),Tn.value=!0},nr=gr=>{var xr;Ie("compositionupdate",gr);const Rr=(xr=gr.target)==null?void 0:xr.value,Hr=Rr[Rr.length-1]||"";Tn.value=!isKorean(Hr)},lr=gr=>{Ie("compositionend",gr),Tn.value&&(Tn.value=!1,sr(gr))},ir=()=>{An.value=!An.value,kr()},kr=async()=>{var gr;await nextTick(),(gr=Nn.value)==null||gr.focus()},Cr=()=>{var gr;return(gr=Nn.value)==null?void 0:gr.blur()},Er=gr=>{En.value=!1,Ie("mouseleave",gr)},dr=gr=>{En.value=!0,Ie("mouseenter",gr)},br=gr=>{Ie("keydown",gr)},_r=()=>{var gr;(gr=Nn.value)==null||gr.select()},Pr=()=>{Ie(UPDATE_MODEL_EVENT,""),Ie("change",""),Ie("clear"),Ie("input","")};return watch(()=>Fe.modelValue,()=>{var gr;nextTick(()=>qn()),Fe.validateEvent&&((gr=vn==null?void 0:vn.validate)==null||gr.call(vn,"change").catch(xr=>void 0))}),watch(zn,()=>or()),watch(()=>Fe.type,async()=>{await nextTick(),or(),qn()}),onMounted(()=>{!Fe.formatter&&Fe.parser,or(),nextTick(qn)}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input",ref:"https://element-plus.org/en-US/component/input.html"},computed(()=>!!Fe.label)),$e({input:Sn,textarea:xn,ref:Nn,textareaStyle:Fn,autosize:toRef(Fe,"autosize"),focus:kr,blur:Cr,select:_r,clear:Pr,resizeTextarea:qn}),(gr,xr)=>(openBlock(),createElementBlock("div",mergeProps(unref(At),{class:unref(Dt),style:unref(Hn),role:gr.containerRole,onMouseenter:dr,onMouseleave:Er}),[createCommentVNode(" input "),gr.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),gr.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(kn).be("group","prepend"))},[renderSlot(gr.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:Mn,class:normalizeClass(unref(Lt))},[createCommentVNode(" prefix slot "),gr.$slots.prefix||gr.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(kn).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("prefix-inner"))},[renderSlot(gr.$slots,"prefix"),gr.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(kn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(gr.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(bn),ref_key:"input",ref:Sn,class:unref(kn).e("inner")},unref(jt),{minlength:gr.minlength,maxlength:gr.maxlength,type:gr.showPassword?An.value?"text":"password":gr.type,disabled:unref(wn),readonly:gr.readonly,autocomplete:gr.autocomplete,tabindex:gr.tabindex,"aria-label":gr.label||gr.ariaLabel,placeholder:gr.placeholder,style:gr.inputStyle,form:gr.form,autofocus:gr.autofocus,onCompositionstart:Zn,onCompositionupdate:nr,onCompositionend:lr,onInput:sr,onFocus:xr[0]||(xr[0]=(...Rr)=>unref(On)&&unref(On)(...Rr)),onBlur:xr[1]||(xr[1]=(...Rr)=>unref(Rn)&&unref(Rn)(...Rr)),onChange:Kn,onKeydown:br}),null,16,_hoisted_2$K),createCommentVNode(" suffix slot "),unref(rr)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(kn).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("suffix-inner"))},[!unref(jn)||!unref(Gn)||!unref(Wn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(gr.$slots,"suffix"),gr.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(kn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(gr.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(jn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:Pr},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Gn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("password")]),onClick:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Wn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(kn).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("count-inner"))},toDisplayString(unref(Xn))+" / "+toDisplayString(gr.maxlength),3)],2)):createCommentVNode("v-if",!0),unref(Vn)&&unref(Ln)&&unref(Bn)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("validateIcon"),unref(kn).is("loading",unref(Vn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ln))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),gr.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(kn).be("group","append"))},[renderSlot(gr.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(bn),ref_key:"textarea",ref:xn,class:[unref(Cn).e("inner"),unref(kn).is("focus",unref(In))]},unref(jt),{minlength:gr.minlength,maxlength:gr.maxlength,tabindex:gr.tabindex,disabled:unref(wn),readonly:gr.readonly,autocomplete:gr.autocomplete,style:unref(Fn),"aria-label":gr.label||gr.ariaLabel,placeholder:gr.placeholder,form:gr.form,autofocus:gr.autofocus,onCompositionstart:Zn,onCompositionupdate:nr,onCompositionend:lr,onInput:sr,onFocus:xr[2]||(xr[2]=(...Rr)=>unref(On)&&unref(On)(...Rr)),onBlur:xr[3]||(xr[3]=(...Rr)=>unref(Rn)&&unref(Rn)(...Rr)),onChange:Kn,onKeydown:br}),null,16,_hoisted_3$m),unref(Wn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1($n.value),class:normalizeClass(unref(kn).e("count"))},toDisplayString(unref(Xn))+" / "+toDisplayString(gr.maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$18))}});var Input=_export_sfc$1(_sfc_main$2n,[["__file","input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},renderThumbStyle$1=({move:xe,size:$e,bar:Ie})=>({[Ie.size]:$e,transform:`translate${Ie.axis}(${xe}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2m=defineComponent({__name:"thumb",props:thumbProps,setup(xe){const $e=xe,Ie=inject(scrollbarContextKey),Fe=useNamespace("scrollbar");Ie||throwError$1(COMPONENT_NAME$k,"can not inject scrollbar context");const Ue=ref(),qe=ref(),At=ref({}),Dt=ref(!1);let Lt=!1,jt=!1,hn=isClient$1?document.onselectstart:null;const vn=computed(()=>BAR_MAP[$e.vertical?"vertical":"horizontal"]),bn=computed(()=>renderThumbStyle$1({size:$e.size,move:$e.move,bar:vn.value})),_n=computed(()=>Ue.value[vn.value.offset]**2/Ie.wrapElement[vn.value.scrollSize]/$e.ratio/qe.value[vn.value.offset]),wn=$n=>{var Pn;if($n.stopPropagation(),$n.ctrlKey||[1,2].includes($n.button))return;(Pn=window.getSelection())==null||Pn.removeAllRanges(),Cn($n);const Nn=$n.currentTarget;Nn&&(At.value[vn.value.axis]=Nn[vn.value.offset]-($n[vn.value.client]-Nn.getBoundingClientRect()[vn.value.direction]))},kn=$n=>{if(!qe.value||!Ue.value||!Ie.wrapElement)return;const Pn=Math.abs($n.target.getBoundingClientRect()[vn.value.direction]-$n[vn.value.client]),Nn=qe.value[vn.value.offset]/2,Mn=(Pn-Nn)*100*_n.value/Ue.value[vn.value.offset];Ie.wrapElement[vn.value.scroll]=Mn*Ie.wrapElement[vn.value.scrollSize]/100},Cn=$n=>{$n.stopImmediatePropagation(),Lt=!0,document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",xn),hn=document.onselectstart,document.onselectstart=()=>!1},Sn=$n=>{if(!Ue.value||!qe.value||Lt===!1)return;const Pn=At.value[vn.value.axis];if(!Pn)return;const Nn=(Ue.value.getBoundingClientRect()[vn.value.direction]-$n[vn.value.client])*-1,Mn=qe.value[vn.value.offset]-Pn,In=(Nn-Mn)*100*_n.value/Ue.value[vn.value.offset];Ie.wrapElement[vn.value.scroll]=In*Ie.wrapElement[vn.value.scrollSize]/100},xn=()=>{Lt=!1,At.value[vn.value.axis]=0,document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",xn),An(),jt&&(Dt.value=!1)},En=()=>{jt=!1,Dt.value=!!$e.size},Tn=()=>{jt=!0,Dt.value=Lt};onBeforeUnmount(()=>{An(),document.removeEventListener("mouseup",xn)});const An=()=>{document.onselectstart!==hn&&(document.onselectstart=hn)};return useEventListener(toRef(Ie,"scrollbarElement"),"mousemove",En),useEventListener(toRef(Ie,"scrollbarElement"),"mouseleave",Tn),($n,Pn)=>(openBlock(),createBlock(Transition,{name:unref(Fe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:Ue,class:normalizeClass([unref(Fe).e("bar"),unref(Fe).is(unref(vn).key)]),onMousedown:kn},[createBaseVNode("div",{ref_key:"thumb",ref:qe,class:normalizeClass(unref(Fe).e("thumb")),style:normalizeStyle$1(unref(bn)),onMousedown:wn},null,38)],34),[[vShow,$n.always||Dt.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$2m,[["__file","thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_sfc_main$2l=defineComponent({__name:"bar",props:barProps,setup(xe,{expose:$e}){const Ie=xe,Fe=inject(scrollbarContextKey),Ue=ref(0),qe=ref(0),At=ref(""),Dt=ref(""),Lt=ref(1),jt=ref(1);return $e({handleScroll:bn=>{if(bn){const _n=bn.offsetHeight-GAP,wn=bn.offsetWidth-GAP;qe.value=bn.scrollTop*100/_n*Lt.value,Ue.value=bn.scrollLeft*100/wn*jt.value}},update:()=>{const bn=Fe==null?void 0:Fe.wrapElement;if(!bn)return;const _n=bn.offsetHeight-GAP,wn=bn.offsetWidth-GAP,kn=_n**2/bn.scrollHeight,Cn=wn**2/bn.scrollWidth,Sn=Math.max(kn,Ie.minSize),xn=Math.max(Cn,Ie.minSize);Lt.value=kn/(_n-kn)/(Sn/(_n-Sn)),jt.value=Cn/(wn-Cn)/(xn/(wn-xn)),Dt.value=Sn+GAP<_n?`${Sn}px`:"",At.value=xn+GAP(openBlock(),createElementBlock(Fragment,null,[createVNode$1(Thumb,{move:Ue.value,ratio:jt.value,size:At.value,always:bn.always},null,8,["move","ratio","size","always"]),createVNode$1(Thumb,{move:qe.value,ratio:Lt.value,size:Dt.value,vertical:"",always:bn.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$2l,[["__file","bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,...useAriaProps(["ariaLabel","ariaOrientation"])}),scrollbarEmits={scroll:({scrollTop:xe,scrollLeft:$e})=>[xe,$e].every(isNumber$1)},COMPONENT_NAME$j="ElScrollbar",__default__$1F=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2k=defineComponent({...__default__$1F,props:scrollbarProps,emits:scrollbarEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("scrollbar");let qe,At;const Dt=ref(),Lt=ref(),jt=ref(),hn=ref(),vn=computed(()=>{const En={};return Fe.height&&(En.height=addUnit(Fe.height)),Fe.maxHeight&&(En.maxHeight=addUnit(Fe.maxHeight)),[Fe.wrapStyle,En]}),bn=computed(()=>[Fe.wrapClass,Ue.e("wrap"),{[Ue.em("wrap","hidden-default")]:!Fe.native}]),_n=computed(()=>[Ue.e("view"),Fe.viewClass]),wn=()=>{var En;Lt.value&&((En=hn.value)==null||En.handleScroll(Lt.value),Ie("scroll",{scrollTop:Lt.value.scrollTop,scrollLeft:Lt.value.scrollLeft}))};function kn(En,Tn){isObject$8(En)?Lt.value.scrollTo(En):isNumber$1(En)&&isNumber$1(Tn)&&Lt.value.scrollTo(En,Tn)}const Cn=En=>{isNumber$1(En)&&(Lt.value.scrollTop=En)},Sn=En=>{isNumber$1(En)&&(Lt.value.scrollLeft=En)},xn=()=>{var En;(En=hn.value)==null||En.update()};return watch(()=>Fe.noresize,En=>{En?(qe==null||qe(),At==null||At()):({stop:qe}=useResizeObserver(jt,xn),At=useEventListener("resize",xn))},{immediate:!0}),watch(()=>[Fe.maxHeight,Fe.height],()=>{Fe.native||nextTick(()=>{var En;xn(),Lt.value&&((En=hn.value)==null||En.handleScroll(Lt.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:Dt,wrapElement:Lt})),onMounted(()=>{Fe.native||nextTick(()=>{xn()})}),onUpdated(()=>xn()),$e({wrapRef:Lt,update:xn,scrollTo:kn,setScrollTop:Cn,setScrollLeft:Sn,handleScroll:wn}),(En,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:Dt,class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:Lt,class:normalizeClass(unref(bn)),style:normalizeStyle$1(unref(vn)),onScroll:wn},[(openBlock(),createBlock(resolveDynamicComponent(En.tag),{id:En.id,ref_key:"resizeRef",ref:jt,class:normalizeClass(unref(_n)),style:normalizeStyle$1(En.viewStyle),role:En.role,"aria-label":En.ariaLabel,"aria-orientation":En.ariaOrientation},{default:withCtx(()=>[renderSlot(En.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),En.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:hn,always:En.always,"min-size":En.minSize},null,8,["always","min-size"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$2k,[["__file","scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$1E=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2j=defineComponent({...__default__$1E,props:popperProps,setup(xe,{expose:$e}){const Ie=xe,Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=computed(()=>Ie.role),Lt={triggerRef:Fe,popperInstanceRef:Ue,contentRef:qe,referenceRef:At,role:Dt};return $e(Lt),provide(POPPER_INJECTION_KEY,Lt),(jt,hn)=>renderSlot(jt.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$2j,[["__file","popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1D=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2i=defineComponent({...__default__$1D,props:popperArrowProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("popper"),{arrowOffset:Ue,arrowRef:qe,arrowStyle:At}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>Ie.arrowOffset,Dt=>{Ue.value=Dt}),onBeforeUnmount(()=>{qe.value=void 0}),$e({arrowRef:qe}),(Dt,Lt)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:qe,class:normalizeClass(unref(Fe).e("arrow")),style:normalizeStyle$1(unref(At)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$2i,[["__file","arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(xe,{slots:$e,attrs:Ie}){var Fe;const Ue=inject(FORWARD_REF_INJECTION_KEY),qe=useForwardRefDirective((Fe=Ue==null?void 0:Ue.setForwardRef)!=null?Fe:NOOP);return()=>{var At;const Dt=(At=$e.default)==null?void 0:At.call($e,Ie);if(!Dt||Dt.length>1)return null;const Lt=findFirstLegitChild(Dt);return Lt?withDirectives(cloneVNode(Lt,Ie),[[qe]]):null}}});function findFirstLegitChild(xe){if(!xe)return null;const $e=xe;for(const Ie of $e){if(isObject$8(Ie))switch(Ie.type){case Comment$1:continue;case Text$2:case"svg":return wrapTextContent(Ie);case Fragment:return findFirstLegitChild(Ie.children);default:return Ie}return wrapTextContent(Ie)}return null}function wrapTextContent(xe){const $e=useNamespace("only-child");return createVNode$1("span",{class:$e.e("content")},[xe])}const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),__default__$1C=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$2h=defineComponent({...__default__$1C,props:popperTriggerProps,setup(xe,{expose:$e}){const Ie=xe,{role:Fe,triggerRef:Ue}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(Ue);const qe=computed(()=>Dt.value?Ie.id:void 0),At=computed(()=>{if(Fe&&Fe.value==="tooltip")return Ie.open&&Ie.id?Ie.id:void 0}),Dt=computed(()=>{if(Fe&&Fe.value!=="tooltip")return Fe.value}),Lt=computed(()=>Dt.value?`${Ie.open}`:void 0);let jt;return onMounted(()=>{watch(()=>Ie.virtualRef,hn=>{hn&&(Ue.value=unrefElement(hn))},{immediate:!0}),watch(Ue,(hn,vn)=>{jt==null||jt(),jt=void 0,isElement$1(hn)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(bn=>{var _n;const wn=Ie[bn];wn&&(hn.addEventListener(bn.slice(2).toLowerCase(),wn),(_n=vn==null?void 0:vn.removeEventListener)==null||_n.call(vn,bn.slice(2).toLowerCase(),wn))}),jt=watch([qe,At,Dt,Lt],bn=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((_n,wn)=>{isNil(bn[wn])?hn.removeAttribute(_n):hn.setAttribute(_n,bn[wn])})},{immediate:!0})),isElement$1(vn)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(bn=>vn.removeAttribute(bn))},{immediate:!0})}),onBeforeUnmount(()=>{jt==null||jt(),jt=void 0}),$e({triggerRef:Ue}),(hn,vn)=>hn.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},hn.$attrs,{"aria-controls":unref(qe),"aria-describedby":unref(At),"aria-expanded":unref(Lt),"aria-haspopup":unref(Dt)}),{default:withCtx(()=>[renderSlot(hn.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$2h,[["__file","trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref(),lastUserFocusTimestamp=ref(0),lastAutomatedFocusTimestamp=ref(0);let focusReasonUserCount=0;const obtainAllFocusableElements=xe=>{const $e=[],Ie=document.createTreeWalker(xe,NodeFilter.SHOW_ELEMENT,{acceptNode:Fe=>{const Ue=Fe.tagName==="INPUT"&&Fe.type==="hidden";return Fe.disabled||Fe.hidden||Ue?NodeFilter.FILTER_SKIP:Fe.tabIndex>=0||Fe===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;Ie.nextNode();)$e.push(Ie.currentNode);return $e},getVisibleElement=(xe,$e)=>{for(const Ie of xe)if(!isHidden(Ie,$e))return Ie},isHidden=(xe,$e)=>{if(getComputedStyle(xe).visibility==="hidden")return!0;for(;xe;){if($e&&xe===$e)return!1;if(getComputedStyle(xe).display==="none")return!0;xe=xe.parentElement}return!1},getEdges=xe=>{const $e=obtainAllFocusableElements(xe),Ie=getVisibleElement($e,xe),Fe=getVisibleElement($e.reverse(),xe);return[Ie,Fe]},isSelectable=xe=>xe instanceof HTMLInputElement&&"select"in xe,tryFocus=(xe,$e)=>{if(xe&&xe.focus){const Ie=document.activeElement;xe.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),xe!==Ie&&isSelectable(xe)&&$e&&xe.select()}};function removeFromStack(xe,$e){const Ie=[...xe],Fe=xe.indexOf($e);return Fe!==-1&&Ie.splice(Fe,1),Ie}const createFocusableStack=()=>{let xe=[];return{push:Fe=>{const Ue=xe[0];Ue&&Fe!==Ue&&Ue.pause(),xe=removeFromStack(xe,Fe),xe.unshift(Fe)},remove:Fe=>{var Ue,qe;xe=removeFromStack(xe,Fe),(qe=(Ue=xe[0])==null?void 0:Ue.resume)==null||qe.call(Ue)}}},focusFirstDescendant=(xe,$e=!1)=>{const Ie=document.activeElement;for(const Fe of xe)if(tryFocus(Fe,$e),document.activeElement!==Ie)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=xe=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:xe}),_sfc_main$2g=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(xe,{emit:$e}){const Ie=ref();let Fe,Ue;const{focusReason:qe}=useFocusReason();useEscapeKeydown(wn=>{xe.trapped&&!At.paused&&$e("release-requested",wn)});const At={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},Dt=wn=>{if(!xe.loop&&!xe.trapped||At.paused)return;const{key:kn,altKey:Cn,ctrlKey:Sn,metaKey:xn,currentTarget:En,shiftKey:Tn}=wn,{loop:An}=xe,$n=kn===EVENT_CODE.tab&&!Cn&&!Sn&&!xn,Pn=document.activeElement;if($n&&Pn){const Nn=En,[Mn,In]=getEdges(Nn);if(Mn&&In){if(!Tn&&Pn===In){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||(wn.preventDefault(),An&&tryFocus(Mn,!0))}else if(Tn&&[Mn,Nn].includes(Pn)){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||(wn.preventDefault(),An&&tryFocus(In,!0))}}else if(Pn===Nn){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||wn.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:Ie,onKeydown:Dt}),watch(()=>xe.focusTrapEl,wn=>{wn&&(Ie.value=wn)},{immediate:!0}),watch([Ie],([wn],[kn])=>{wn&&(wn.addEventListener("keydown",Dt),wn.addEventListener("focusin",hn),wn.addEventListener("focusout",vn)),kn&&(kn.removeEventListener("keydown",Dt),kn.removeEventListener("focusin",hn),kn.removeEventListener("focusout",vn))});const Lt=wn=>{$e(ON_TRAP_FOCUS_EVT,wn)},jt=wn=>$e(ON_RELEASE_FOCUS_EVT,wn),hn=wn=>{const kn=unref(Ie);if(!kn)return;const Cn=wn.target,Sn=wn.relatedTarget,xn=Cn&&kn.contains(Cn);xe.trapped||Sn&&kn.contains(Sn)||(Fe=Sn),xn&&$e("focusin",wn),!At.paused&&xe.trapped&&(xn?Ue=Cn:tryFocus(Ue,!0))},vn=wn=>{const kn=unref(Ie);if(!(At.paused||!kn))if(xe.trapped){const Cn=wn.relatedTarget;!isNil(Cn)&&!kn.contains(Cn)&&setTimeout(()=>{if(!At.paused&&xe.trapped){const Sn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Sn),Sn.defaultPrevented||tryFocus(Ue,!0)}},0)}else{const Cn=wn.target;Cn&&kn.contains(Cn)||$e("focusout",wn)}};async function bn(){await nextTick();const wn=unref(Ie);if(wn){focusableStack.push(At);const kn=wn.contains(document.activeElement)?Fe:document.activeElement;if(Fe=kn,!wn.contains(kn)){const Sn=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);wn.addEventListener(FOCUS_AFTER_TRAPPED,Lt),wn.dispatchEvent(Sn),Sn.defaultPrevented||nextTick(()=>{let xn=xe.focusStartEl;isString$4(xn)||(tryFocus(xn),document.activeElement!==xn&&(xn="first")),xn==="first"&&focusFirstDescendant(obtainAllFocusableElements(wn),!0),(document.activeElement===kn||xn==="container")&&tryFocus(wn)})}}}function _n(){const wn=unref(Ie);if(wn){wn.removeEventListener(FOCUS_AFTER_TRAPPED,Lt);const kn=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:qe.value}});wn.addEventListener(FOCUS_AFTER_RELEASED,jt),wn.dispatchEvent(kn),!kn.defaultPrevented&&(qe.value=="keyboard"||!isFocusCausedByUserEvent()||wn.contains(document.activeElement))&&tryFocus(Fe??document.body),wn.removeEventListener(FOCUS_AFTER_RELEASED,jt),focusableStack.remove(At)}}return onMounted(()=>{xe.trapped&&bn(),watch(()=>xe.trapped,wn=>{wn?bn():_n()})}),onBeforeUnmount(()=>{xe.trapped&&_n()}),{onKeydown:Dt}}});function _sfc_render$u(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default",{handleKeydown:xe.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$2g,[["render",_sfc_render$u],["__file","focus-trap.vue"]]);const POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...useAriaProps(["ariaLabel"])}),popperContentEmits={mouseenter:xe=>xe instanceof MouseEvent,mouseleave:xe=>xe instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(xe,$e=[])=>{const{placement:Ie,strategy:Fe,popperOptions:Ue}=xe,qe={placement:Ie,strategy:Fe,...Ue,modifiers:[...genModifiers(xe),...$e]};return deriveExtraModifiers(qe,Ue==null?void 0:Ue.modifiers),qe},unwrapMeasurableEl=xe=>{if(isClient$1)return unrefElement(xe)};function genModifiers(xe){const{offset:$e,gpuAcceleration:Ie,fallbackPlacements:Fe}=xe;return[{name:"offset",options:{offset:[0,$e??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:Fe}},{name:"computeStyles",options:{gpuAcceleration:Ie}}]}function deriveExtraModifiers(xe,$e){$e&&(xe.modifiers=[...xe.modifiers,...$e??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=xe=>{const{popperInstanceRef:$e,contentRef:Ie,triggerRef:Fe,role:Ue}=inject(POPPER_INJECTION_KEY,void 0),qe=ref(),At=ref(),Dt=computed(()=>({name:"eventListeners",enabled:!!xe.visible})),Lt=computed(()=>{var Sn;const xn=unref(qe),En=(Sn=unref(At))!=null?Sn:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(xn),options:{element:xn,padding:En}}}),jt=computed(()=>({onFirstUpdate:()=>{wn()},...buildPopperOptions(xe,[unref(Lt),unref(Dt)])})),hn=computed(()=>unwrapMeasurableEl(xe.referenceEl)||unref(Fe)),{attributes:vn,state:bn,styles:_n,update:wn,forceUpdate:kn,instanceRef:Cn}=usePopper(hn,Ie,jt);return watch(Cn,Sn=>$e.value=Sn),onMounted(()=>{watch(()=>{var Sn;return(Sn=unref(hn))==null?void 0:Sn.getBoundingClientRect()},()=>{wn()})}),{attributes:vn,arrowRef:qe,contentRef:Ie,instanceRef:Cn,state:bn,styles:_n,role:Ue,forceUpdate:kn,update:wn}},usePopperContentDOM=(xe,{attributes:$e,styles:Ie,role:Fe})=>{const{nextZIndex:Ue}=useZIndex(),qe=useNamespace("popper"),At=computed(()=>unref($e).popper),Dt=ref(isNumber$1(xe.zIndex)?xe.zIndex:Ue()),Lt=computed(()=>[qe.b(),qe.is("pure",xe.pure),qe.is(xe.effect),xe.popperClass]),jt=computed(()=>[{zIndex:unref(Dt)},unref(Ie).popper,xe.popperStyle||{}]),hn=computed(()=>Fe.value==="dialog"?"false":void 0),vn=computed(()=>unref(Ie).arrow||{});return{ariaModal:hn,arrowStyle:vn,contentAttrs:At,contentClass:Lt,contentStyle:jt,contentZIndex:Dt,updateZIndex:()=>{Dt.value=isNumber$1(xe.zIndex)?xe.zIndex:Ue()}}},usePopperContentFocusTrap=(xe,$e)=>{const Ie=ref(!1),Fe=ref();return{focusStartRef:Fe,trapped:Ie,onFocusAfterReleased:jt=>{var hn;((hn=jt.detail)==null?void 0:hn.focusReason)!=="pointer"&&(Fe.value="first",$e("blur"))},onFocusAfterTrapped:()=>{$e("focus")},onFocusInTrap:jt=>{xe.visible&&!Ie.value&&(jt.target&&(Fe.value=jt.target),Ie.value=!0)},onFocusoutPrevented:jt=>{xe.trapping||(jt.detail.focusReason==="pointer"&&jt.preventDefault(),Ie.value=!1)},onReleaseRequested:()=>{Ie.value=!1,$e("close")}}},__default__$1B=defineComponent({name:"ElPopperContent"}),_sfc_main$2f=defineComponent({...__default__$1B,props:popperContentProps,emits:popperContentEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{focusStartRef:Ue,trapped:qe,onFocusAfterReleased:At,onFocusAfterTrapped:Dt,onFocusInTrap:Lt,onFocusoutPrevented:jt,onReleaseRequested:hn}=usePopperContentFocusTrap(Fe,Ie),{attributes:vn,arrowRef:bn,contentRef:_n,styles:wn,instanceRef:kn,role:Cn,update:Sn}=usePopperContent(Fe),{ariaModal:xn,arrowStyle:En,contentAttrs:Tn,contentClass:An,contentStyle:$n,updateZIndex:Pn}=usePopperContentDOM(Fe,{styles:wn,attributes:vn,role:Cn}),Nn=inject(formItemContextKey,void 0),Mn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:En,arrowRef:bn,arrowOffset:Mn}),Nn&&provide(formItemContextKey,{...Nn,addInputId:NOOP,removeInputId:NOOP});let In;const On=(Bn=!0)=>{Sn(),Bn&&Pn()},Rn=()=>{On(!1),Fe.visible&&Fe.focusOnShow?qe.value=!0:Fe.visible===!1&&(qe.value=!1)};return onMounted(()=>{watch(()=>Fe.triggerTargetEl,(Bn,Vn)=>{In==null||In(),In=void 0;const Ln=unref(Bn||_n.value),Dn=unref(Vn||_n.value);isElement$1(Ln)&&(In=watch([Cn,()=>Fe.ariaLabel,xn,()=>Fe.id],Hn=>{["role","aria-label","aria-modal","id"].forEach((Fn,zn)=>{isNil(Hn[zn])?Ln.removeAttribute(Fn):Ln.setAttribute(Fn,Hn[zn])})},{immediate:!0})),Dn!==Ln&&isElement$1(Dn)&&["role","aria-label","aria-modal","id"].forEach(Hn=>{Dn.removeAttribute(Hn)})},{immediate:!0}),watch(()=>Fe.visible,Rn,{immediate:!0})}),onBeforeUnmount(()=>{In==null||In(),In=void 0}),$e({popperContentRef:_n,popperInstanceRef:kn,updatePopper:On,contentStyle:$n}),(Bn,Vn)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:_n},unref(Tn),{style:unref($n),class:unref(An),tabindex:"-1",onMouseenter:Vn[0]||(Vn[0]=Ln=>Bn.$emit("mouseenter",Ln)),onMouseleave:Vn[1]||(Vn[1]=Ln=>Bn.$emit("mouseleave",Ln))}),[createVNode$1(unref(ElFocusTrap),{trapped:unref(qe),"trap-on-focus-in":!0,"focus-trap-el":unref(_n),"focus-start-el":unref(Ue),onFocusAfterTrapped:unref(Dt),onFocusAfterReleased:unref(At),onFocusin:unref(Lt),onFocusoutPrevented:unref(jt),onReleaseRequested:unref(hn)},{default:withCtx(()=>[renderSlot(Bn.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$2f,[["__file","content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...useAriaProps(["ariaLabel"])}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(xe,$e)=>isArray$6(xe)?xe.includes($e):xe===$e,whenTrigger=(xe,$e,Ie)=>Fe=>{isTriggerType(unref(xe),$e)&&Ie(Fe)},__default__$1A=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$2e=defineComponent({...__default__$1A,props:useTooltipTriggerProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("tooltip"),{controlled:Ue,id:qe,open:At,onOpen:Dt,onClose:Lt,onToggle:jt}=inject(TOOLTIP_INJECTION_KEY,void 0),hn=ref(null),vn=()=>{if(unref(Ue)||Ie.disabled)return!0},bn=toRef(Ie,"trigger"),_n=composeEventHandlers(vn,whenTrigger(bn,"hover",Dt)),wn=composeEventHandlers(vn,whenTrigger(bn,"hover",Lt)),kn=composeEventHandlers(vn,whenTrigger(bn,"click",Tn=>{Tn.button===0&&jt(Tn)})),Cn=composeEventHandlers(vn,whenTrigger(bn,"focus",Dt)),Sn=composeEventHandlers(vn,whenTrigger(bn,"focus",Lt)),xn=composeEventHandlers(vn,whenTrigger(bn,"contextmenu",Tn=>{Tn.preventDefault(),jt(Tn)})),En=composeEventHandlers(vn,Tn=>{const{code:An}=Tn;Ie.triggerKeys.includes(An)&&(Tn.preventDefault(),jt(Tn))});return $e({triggerRef:hn}),(Tn,An)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(qe),"virtual-ref":Tn.virtualRef,open:unref(At),"virtual-triggering":Tn.virtualTriggering,class:normalizeClass(unref(Fe).e("trigger")),onBlur:unref(Sn),onClick:unref(kn),onContextmenu:unref(xn),onFocus:unref(Cn),onMouseenter:unref(_n),onMouseleave:unref(wn),onKeydown:unref(En)},{default:withCtx(()=>[renderSlot(Tn.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$2e,[["__file","trigger.vue"]]);const __default__$1z=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$2d=defineComponent({...__default__$1z,props:useTooltipContentProps,setup(xe,{expose:$e}){const Ie=xe,{selector:Fe}=usePopperContainerId(),Ue=useNamespace("tooltip"),qe=ref(null),At=ref(!1),{controlled:Dt,id:Lt,open:jt,trigger:hn,onClose:vn,onOpen:bn,onShow:_n,onHide:wn,onBeforeShow:kn,onBeforeHide:Cn}=inject(TOOLTIP_INJECTION_KEY,void 0),Sn=computed(()=>Ie.transition||`${Ue.namespace.value}-fade-in-linear`),xn=computed(()=>Ie.persistent);onBeforeUnmount(()=>{At.value=!0});const En=computed(()=>unref(xn)?!0:unref(jt)),Tn=computed(()=>Ie.disabled?!1:unref(jt)),An=computed(()=>Ie.appendTo||Fe.value),$n=computed(()=>{var Hn;return(Hn=Ie.style)!=null?Hn:{}}),Pn=computed(()=>!unref(jt)),Nn=()=>{wn()},Mn=()=>{if(unref(Dt))return!0},In=composeEventHandlers(Mn,()=>{Ie.enterable&&unref(hn)==="hover"&&bn()}),On=composeEventHandlers(Mn,()=>{unref(hn)==="hover"&&vn()}),Rn=()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.updatePopper)==null||Fn.call(Hn),kn==null||kn()},Bn=()=>{Cn==null||Cn()},Vn=()=>{_n(),Dn=onClickOutside(computed(()=>{var Hn;return(Hn=qe.value)==null?void 0:Hn.popperContentRef}),()=>{if(unref(Dt))return;unref(hn)!=="hover"&&vn()})},Ln=()=>{Ie.virtualTriggering||vn()};let Dn;return watch(()=>unref(jt),Hn=>{Hn||Dn==null||Dn()},{flush:"post"}),watch(()=>Ie.content,()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.updatePopper)==null||Fn.call(Hn)}),$e({contentRef:qe}),(Hn,Fn)=>(openBlock(),createBlock(Teleport,{disabled:!Hn.teleported,to:unref(An)},[createVNode$1(Transition,{name:unref(Sn),onAfterLeave:Nn,onBeforeEnter:Rn,onAfterEnter:Vn,onBeforeLeave:Bn},{default:withCtx(()=>[unref(En)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(Lt),ref_key:"contentRef",ref:qe},Hn.$attrs,{"aria-label":Hn.ariaLabel,"aria-hidden":unref(Pn),"boundaries-padding":Hn.boundariesPadding,"fallback-placements":Hn.fallbackPlacements,"gpu-acceleration":Hn.gpuAcceleration,offset:Hn.offset,placement:Hn.placement,"popper-options":Hn.popperOptions,strategy:Hn.strategy,effect:Hn.effect,enterable:Hn.enterable,pure:Hn.pure,"popper-class":Hn.popperClass,"popper-style":[Hn.popperStyle,unref($n)],"reference-el":Hn.referenceEl,"trigger-target-el":Hn.triggerTargetEl,visible:unref(Tn),"z-index":Hn.zIndex,onMouseenter:unref(In),onMouseleave:unref(On),onBlur:Ln,onClose:unref(vn)}),{default:withCtx(()=>[At.value?createCommentVNode("v-if",!0):renderSlot(Hn.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(Tn)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$2d,[["__file","content.vue"]]);const _hoisted_1$17=["innerHTML"],_hoisted_2$J={key:1},__default__$1y=defineComponent({name:"ElTooltip"}),_sfc_main$2c=defineComponent({...__default__$1y,props:useTooltipProps,emits:tooltipEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;usePopperContainer();const Ue=useId(),qe=ref(),At=ref(),Dt=()=>{var Sn;const xn=unref(qe);xn&&((Sn=xn.popperInstanceRef)==null||Sn.update())},Lt=ref(!1),jt=ref(),{show:hn,hide:vn,hasUpdateHandler:bn}=useTooltipModelToggle({indicator:Lt,toggleReason:jt}),{onOpen:_n,onClose:wn}=useDelayedToggle({showAfter:toRef(Fe,"showAfter"),hideAfter:toRef(Fe,"hideAfter"),autoClose:toRef(Fe,"autoClose"),open:hn,close:vn}),kn=computed(()=>isBoolean(Fe.visible)&&!bn.value);provide(TOOLTIP_INJECTION_KEY,{controlled:kn,id:Ue,open:readonly(Lt),trigger:toRef(Fe,"trigger"),onOpen:Sn=>{_n(Sn)},onClose:Sn=>{wn(Sn)},onToggle:Sn=>{unref(Lt)?wn(Sn):_n(Sn)},onShow:()=>{Ie("show",jt.value)},onHide:()=>{Ie("hide",jt.value)},onBeforeShow:()=>{Ie("before-show",jt.value)},onBeforeHide:()=>{Ie("before-hide",jt.value)},updatePopper:Dt}),watch(()=>Fe.disabled,Sn=>{Sn&&Lt.value&&(Lt.value=!1)});const Cn=Sn=>{var xn,En;const Tn=(En=(xn=At.value)==null?void 0:xn.contentRef)==null?void 0:En.popperContentRef,An=(Sn==null?void 0:Sn.relatedTarget)||document.activeElement;return Tn&&Tn.contains(An)};return onDeactivated(()=>Lt.value&&vn()),$e({popperRef:qe,contentRef:At,isFocusInsideContent:Cn,updatePopper:Dt,onOpen:_n,onClose:wn,hide:vn}),(Sn,xn)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:qe,role:Sn.role},{default:withCtx(()=>[createVNode$1(ElTooltipTrigger,{disabled:Sn.disabled,trigger:Sn.trigger,"trigger-keys":Sn.triggerKeys,"virtual-ref":Sn.virtualRef,"virtual-triggering":Sn.virtualTriggering},{default:withCtx(()=>[Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode$1(ElTooltipContent,{ref_key:"contentRef",ref:At,"aria-label":Sn.ariaLabel,"boundaries-padding":Sn.boundariesPadding,content:Sn.content,disabled:Sn.disabled,effect:Sn.effect,enterable:Sn.enterable,"fallback-placements":Sn.fallbackPlacements,"hide-after":Sn.hideAfter,"gpu-acceleration":Sn.gpuAcceleration,offset:Sn.offset,persistent:Sn.persistent,"popper-class":Sn.popperClass,"popper-style":Sn.popperStyle,placement:Sn.placement,"popper-options":Sn.popperOptions,pure:Sn.pure,"raw-content":Sn.rawContent,"reference-el":Sn.referenceEl,"trigger-target-el":Sn.triggerTargetEl,"show-after":Sn.showAfter,strategy:Sn.strategy,teleported:Sn.teleported,transition:Sn.transition,"virtual-triggering":Sn.virtualTriggering,"z-index":Sn.zIndex,"append-to":Sn.appendTo},{default:withCtx(()=>[renderSlot(Sn.$slots,"content",{},()=>[Sn.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Sn.content},null,8,_hoisted_1$17)):(openBlock(),createElementBlock("span",_hoisted_2$J,toDisplayString(Sn.content),1))]),Sn.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":Sn.arrowOffset},null,8,["arrow-offset"])):createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc$1(_sfc_main$2c,[["__file","tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),autocompleteProps=buildProps({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:definePropType(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:definePropType([Function,Array]),default:NOOP},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},teleported:useTooltipContentProps.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String,...useAriaProps(["ariaLabel"])}),autocompleteEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe),[INPUT_EVENT]:xe=>isString$4(xe),[CHANGE_EVENT]:xe=>isString$4(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,clear:()=>!0,select:xe=>isObject$8(xe)},_hoisted_1$16=["aria-expanded","aria-owns"],_hoisted_2$I={key:0},_hoisted_3$l=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1x=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$2b=defineComponent({...__default__$1x,props:autocompleteProps,emits:autocompleteEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs(),qe=useAttrs$1(),At=useFormDisabled(),Dt=useNamespace("autocomplete"),Lt=ref(),jt=ref(),hn=ref(),vn=ref();let bn=!1,_n=!1;const wn=ref([]),kn=ref(-1),Cn=ref(""),Sn=ref(!1),xn=ref(!1),En=ref(!1),Tn=useId(),An=computed(()=>qe.style),$n=computed(()=>(wn.value.length>0||En.value)&&Sn.value),Pn=computed(()=>!Fe.hideLoading&&En.value),Nn=computed(()=>Lt.value?Array.from(Lt.value.$el.querySelectorAll("input")):[]),Mn=()=>{$n.value&&(Cn.value=`${Lt.value.$el.offsetWidth}px`)},In=()=>{kn.value=-1},Rn=debounce(async Jn=>{if(xn.value)return;const Yn=qn=>{En.value=!1,!xn.value&&(isArray$6(qn)?(wn.value=qn,kn.value=Fe.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(En.value=!0,isArray$6(Fe.fetchSuggestions))Yn(Fe.fetchSuggestions);else{const qn=await Fe.fetchSuggestions(Jn,Yn);isArray$6(qn)&&Yn(qn)}},Fe.debounce),Bn=Jn=>{const Yn=!!Jn;if(Ie(INPUT_EVENT,Jn),Ie(UPDATE_MODEL_EVENT,Jn),xn.value=!1,Sn.value||(Sn.value=Yn),!Fe.triggerOnFocus&&!Jn){xn.value=!0,wn.value=[];return}Rn(Jn)},Vn=Jn=>{var Yn;At.value||(((Yn=Jn.target)==null?void 0:Yn.tagName)!=="INPUT"||Nn.value.includes(document.activeElement))&&(Sn.value=!0)},Ln=Jn=>{Ie(CHANGE_EVENT,Jn)},Dn=Jn=>{_n?_n=!1:(Sn.value=!0,Ie("focus",Jn),Fe.triggerOnFocus&&!bn&&Rn(String(Fe.modelValue)))},Hn=Jn=>{setTimeout(()=>{var Yn;if((Yn=hn.value)!=null&&Yn.isFocusInsideContent()){_n=!0;return}Sn.value&&Gn(),Ie("blur",Jn)})},Fn=()=>{Sn.value=!1,Ie(UPDATE_MODEL_EVENT,""),Ie("clear")},zn=async()=>{$n.value&&kn.value>=0&&kn.value{$n.value&&(Jn.preventDefault(),Jn.stopPropagation(),Gn())},Gn=()=>{Sn.value=!1},Wn=()=>{var Jn;(Jn=Lt.value)==null||Jn.focus()},Xn=()=>{var Jn;(Jn=Lt.value)==null||Jn.blur()},er=async Jn=>{Ie(INPUT_EVENT,Jn[Fe.valueKey]),Ie(UPDATE_MODEL_EVENT,Jn[Fe.valueKey]),Ie("select",Jn),wn.value=[],kn.value=-1},rr=Jn=>{if(!$n.value||En.value)return;if(Jn<0){kn.value=-1;return}Jn>=wn.value.length&&(Jn=wn.value.length-1);const Yn=jt.value.querySelector(`.${Dt.be("suggestion","wrap")}`),ar=Yn.querySelectorAll(`.${Dt.be("suggestion","list")} li`)[Jn],tr=Yn.scrollTop,{offsetTop:or,scrollHeight:sr}=ar;or+sr>tr+Yn.clientHeight&&(Yn.scrollTop+=sr),or{$n.value&&Gn()}),onMounted(()=>{Lt.value.ref.setAttribute("role","textbox"),Lt.value.ref.setAttribute("aria-autocomplete","list"),Lt.value.ref.setAttribute("aria-controls","id"),Lt.value.ref.setAttribute("aria-activedescendant",`${Tn.value}-item-${kn.value}`),bn=Lt.value.ref.hasAttribute("readonly")}),$e({highlightedIndex:kn,activated:Sn,loading:En,inputRef:Lt,popperRef:hn,suggestions:wn,handleSelect:er,handleKeyEnter:zn,focus:Wn,blur:Xn,close:Gn,highlight:rr}),(Jn,Yn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:hn,visible:unref($n),placement:Jn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(Dt).e("popper"),Jn.popperClass],teleported:Jn.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(Dt).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:Mn,onHide:In},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:jt,class:normalizeClass([unref(Dt).b("suggestion"),unref(Dt).is("loading",unref(Pn))]),style:normalizeStyle$1({[Jn.fitInputWidth?"width":"minWidth"]:Cn.value,outline:"none"}),role:"region"},[createVNode$1(unref(ElScrollbar),{id:unref(Tn),tag:"ul","wrap-class":unref(Dt).be("suggestion","wrap"),"view-class":unref(Dt).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(Pn)?(openBlock(),createElementBlock("li",_hoisted_2$I,[renderSlot(Jn.$slots,"loading",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Dt).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(wn.value,(qn,ar)=>(openBlock(),createElementBlock("li",{id:`${unref(Tn)}-item-${ar}`,key:ar,class:normalizeClass({highlighted:kn.value===ar}),role:"option","aria-selected":kn.value===ar,onClick:tr=>er(qn)},[renderSlot(Jn.$slots,"default",{item:qn},()=>[createTextVNode(toDisplayString(qn[Jn.valueKey]),1)])],10,_hoisted_3$l))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:vn,class:normalizeClass([unref(Dt).b(),Jn.$attrs.class]),style:normalizeStyle$1(unref(An)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref($n),"aria-owns":unref(Tn)},[createVNode$1(unref(ElInput),mergeProps({ref_key:"inputRef",ref:Lt},unref(Ue),{clearable:Jn.clearable,disabled:unref(At),name:Jn.name,"model-value":Jn.modelValue,"aria-label":Jn.ariaLabel,onInput:Bn,onChange:Ln,onFocus:Dn,onBlur:Hn,onClear:Fn,onKeydown:[Yn[0]||(Yn[0]=withKeys(withModifiers(qn=>rr(kn.value-1),["prevent"]),["up"])),Yn[1]||(Yn[1]=withKeys(withModifiers(qn=>rr(kn.value+1),["prevent"]),["down"])),withKeys(zn,["enter"]),withKeys(Gn,["tab"]),withKeys(jn,["esc"])],onMousedown:Vn}),createSlots({_:2},[Jn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(Jn.$slots,"prepend")])}:void 0,Jn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(Jn.$slots,"append")])}:void 0,Jn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Jn.$slots,"prefix")])}:void 0,Jn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Jn.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,_hoisted_1$16)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$1(_sfc_main$2b,[["__file","autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:xe=>isNumber$1(xe)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:iconPropType},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:definePropType(String),default:"cover"}}),avatarEmits={error:xe=>xe instanceof Event},_hoisted_1$15=["src","alt","srcset"],__default__$1w=defineComponent({name:"ElAvatar"}),_sfc_main$2a=defineComponent({...__default__$1w,props:avatarProps,emits:avatarEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("avatar"),Ue=ref(!1),qe=computed(()=>{const{size:jt,icon:hn,shape:vn}=Ie,bn=[Fe.b()];return isString$4(jt)&&bn.push(Fe.m(jt)),hn&&bn.push(Fe.m("icon")),vn&&bn.push(Fe.m(vn)),bn}),At=computed(()=>{const{size:jt}=Ie;return isNumber$1(jt)?Fe.cssVarBlock({size:addUnit(jt)||""}):void 0}),Dt=computed(()=>({objectFit:Ie.fit}));watch(()=>Ie.src,()=>Ue.value=!1);function Lt(jt){Ue.value=!0,$e("error",jt)}return(jt,hn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(At))},[(jt.src||jt.srcSet)&&!Ue.value?(openBlock(),createElementBlock("img",{key:0,src:jt.src,alt:jt.alt,srcset:jt.srcSet,style:normalizeStyle$1(unref(Dt)),onError:Lt},null,44,_hoisted_1$15)):jt.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(jt.icon)))]),_:1})):renderSlot(jt.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$2a,[["__file","avatar.vue"]]);const ElAvatar=withInstall(Avatar),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:xe=>xe instanceof MouseEvent},useBackTop=(xe,$e,Ie)=>{const Fe=shallowRef(),Ue=shallowRef(),qe=ref(!1),At=()=>{Fe.value&&(qe.value=Fe.value.scrollTop>=xe.visibilityHeight)},Dt=jt=>{var hn;(hn=Fe.value)==null||hn.scrollTo({top:0,behavior:"smooth"}),$e("click",jt)},Lt=useThrottleFn(At,300,!0);return useEventListener(Ue,"scroll",Lt),onMounted(()=>{var jt;Ue.value=document,Fe.value=document.documentElement,xe.target&&(Fe.value=(jt=document.querySelector(xe.target))!=null?jt:void 0,Fe.value||throwError$1(Ie,`target does not exist: ${xe.target}`),Ue.value=Fe.value),At()}),{visible:qe,handleClick:Dt}},COMPONENT_NAME$h="ElBacktop",__default__$1v=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$29=defineComponent({...__default__$1v,props:backtopProps,emits:backtopEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("backtop"),{handleClick:Ue,visible:qe}=useBackTop(Ie,$e,COMPONENT_NAME$h),At=computed(()=>({right:`${Ie.right}px`,bottom:`${Ie.bottom}px`}));return(Dt,Lt)=>(openBlock(),createBlock(Transition,{name:`${unref(Fe).namespace.value}-fade-in`},{default:withCtx(()=>[unref(qe)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(At)),class:normalizeClass(unref(Fe).b()),onClick:Lt[0]||(Lt[0]=withModifiers((...jt)=>unref(Ue)&&unref(Ue)(...jt),["stop"]))},[renderSlot(Dt.$slots,"default",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Fe).e("icon"))},{default:withCtx(()=>[createVNode$1(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc$1(_sfc_main$29,[["__file","backtop.vue"]]);const ElBacktop=withInstall(Backtop),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,dotStyle:{type:definePropType([String,Object,Array])},badgeStyle:{type:definePropType([String,Object,Array])},offset:{type:definePropType(Array),default:[0,0]},dotClass:{type:String},badgeClass:{type:String}}),_hoisted_1$14=["textContent"],__default__$1u=defineComponent({name:"ElBadge"}),_sfc_main$28=defineComponent({...__default__$1u,props:badgeProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("badge"),Ue=computed(()=>Ie.isDot?"":isNumber$1(Ie.value)&&isNumber$1(Ie.max)?Ie.max{var At,Dt,Lt,jt,hn,vn;return[{backgroundColor:Ie.color,marginRight:addUnit(-((Dt=(At=Ie.offset)==null?void 0:At[0])!=null?Dt:0)),marginTop:addUnit((jt=(Lt=Ie.offset)==null?void 0:Lt[1])!=null?jt:0)},(hn=Ie.dotStyle)!=null?hn:{},(vn=Ie.badgeStyle)!=null?vn:{}]});return useDeprecated({from:"dot-style",replacement:"badge-style",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},computed(()=>!!Ie.dotStyle)),useDeprecated({from:"dot-class",replacement:"badge-class",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},computed(()=>!!Ie.dotClass)),$e({content:Ue}),(At,Dt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[renderSlot(At.$slots,"default"),createVNode$1(Transition,{name:`${unref(Fe).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(Fe).e("content"),unref(Fe).em("content",At.type),unref(Fe).is("fixed",!!At.$slots.default),unref(Fe).is("dot",At.isDot),At.dotClass,At.badgeClass]),style:normalizeStyle$1(unref(qe)),textContent:toDisplayString(unref(Ue))},null,14,_hoisted_1$14),[[vShow,!At.hidden&&(unref(Ue)||At.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$28,[["__file","badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),_hoisted_1$13=["aria-label"],__default__$1t=defineComponent({name:"ElBreadcrumb"}),_sfc_main$27=defineComponent({...__default__$1t,props:breadcrumbProps,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=useNamespace("breadcrumb"),Ue=ref();return provide(breadcrumbKey,$e),onMounted(()=>{const qe=Ue.value.querySelectorAll(`.${Fe.e("item")}`);qe.length&&qe[qe.length-1].setAttribute("aria-current","page")}),(qe,At)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:Ue,class:normalizeClass(unref(Fe).b()),"aria-label":unref(Ie)("el.breadcrumb.label"),role:"navigation"},[renderSlot(qe.$slots,"default")],10,_hoisted_1$13))}});var Breadcrumb$1=_export_sfc$1(_sfc_main$27,[["__file","breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:{type:Boolean,default:!1}}),__default__$1s=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$26=defineComponent({...__default__$1s,props:breadcrumbItemProps,setup(xe){const $e=xe,Ie=getCurrentInstance(),Fe=inject(breadcrumbKey,void 0),Ue=useNamespace("breadcrumb"),qe=Ie.appContext.config.globalProperties.$router,At=ref(),Dt=()=>{!$e.to||!qe||($e.replace?qe.replace($e.to):qe.push($e.to))};return(Lt,jt)=>{var hn,vn;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:At,class:normalizeClass([unref(Ue).e("inner"),unref(Ue).is("link",!!Lt.to)]),role:"link",onClick:Dt},[renderSlot(Lt.$slots,"default")],2),(hn=unref(Fe))!=null&&hn.separatorIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fe).separatorIcon)))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Ue).e("separator")),role:"presentation"},toDisplayString((vn=unref(Fe))==null?void 0:vn.separator),3))],2)}}});var BreadcrumbItem=_export_sfc$1(_sfc_main$26,[["__file","breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb$1,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(xe,$e)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>xe.type==="text"));const Ie=inject(buttonGroupContextKey,void 0),Fe=useGlobalConfig("button"),{form:Ue}=useFormItem(),qe=useFormSize(computed(()=>Ie==null?void 0:Ie.size)),At=useFormDisabled(),Dt=ref(),Lt=useSlots(),jt=computed(()=>xe.type||(Ie==null?void 0:Ie.type)||""),hn=computed(()=>{var wn,kn,Cn;return(Cn=(kn=xe.autoInsertSpace)!=null?kn:(wn=Fe.value)==null?void 0:wn.autoInsertSpace)!=null?Cn:!1}),vn=computed(()=>xe.tag==="button"?{ariaDisabled:At.value||xe.loading,disabled:At.value||xe.loading,autofocus:xe.autofocus,type:xe.nativeType}:{}),bn=computed(()=>{var wn;const kn=(wn=Lt.default)==null?void 0:wn.call(Lt);if(hn.value&&(kn==null?void 0:kn.length)===1){const Cn=kn[0];if((Cn==null?void 0:Cn.type)===Text$2){const Sn=Cn.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(Sn.trim())}}return!1});return{_disabled:At,_size:qe,_type:jt,_ref:Dt,_props:vn,shouldAddSpace:bn,handleClick:wn=>{xe.nativeType==="reset"&&(Ue==null||Ue.resetFields()),$e("click",wn)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:xe=>xe instanceof MouseEvent};function bound01$1(xe,$e){isOnePointZero$1(xe)&&(xe="100%");var Ie=isPercentage$1(xe);return xe=$e===360?xe:Math.min($e,Math.max(0,parseFloat(xe))),Ie&&(xe=parseInt(String(xe*$e),10)/100),Math.abs(xe-$e)<1e-6?1:($e===360?xe=(xe<0?xe%$e+$e:xe%$e)/parseFloat(String($e)):xe=xe%$e/parseFloat(String($e)),xe)}function clamp01(xe){return Math.min(1,Math.max(0,xe))}function isOnePointZero$1(xe){return typeof xe=="string"&&xe.indexOf(".")!==-1&&parseFloat(xe)===1}function isPercentage$1(xe){return typeof xe=="string"&&xe.indexOf("%")!==-1}function boundAlpha(xe){return xe=parseFloat(xe),(isNaN(xe)||xe<0||xe>1)&&(xe=1),xe}function convertToPercentage(xe){return xe<=1?"".concat(Number(xe)*100,"%"):xe}function pad2(xe){return xe.length===1?"0"+xe:String(xe)}function rgbToRgb(xe,$e,Ie){return{r:bound01$1(xe,255)*255,g:bound01$1($e,255)*255,b:bound01$1(Ie,255)*255}}function rgbToHsl(xe,$e,Ie){xe=bound01$1(xe,255),$e=bound01$1($e,255),Ie=bound01$1(Ie,255);var Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie),qe=0,At=0,Dt=(Fe+Ue)/2;if(Fe===Ue)At=0,qe=0;else{var Lt=Fe-Ue;switch(At=Dt>.5?Lt/(2-Fe-Ue):Lt/(Fe+Ue),Fe){case xe:qe=($e-Ie)/Lt+($e1&&(Ie-=1),Ie<1/6?xe+($e-xe)*(6*Ie):Ie<1/2?$e:Ie<2/3?xe+($e-xe)*(2/3-Ie)*6:xe}function hslToRgb(xe,$e,Ie){var Fe,Ue,qe;if(xe=bound01$1(xe,360),$e=bound01$1($e,100),Ie=bound01$1(Ie,100),$e===0)Ue=Ie,qe=Ie,Fe=Ie;else{var At=Ie<.5?Ie*(1+$e):Ie+$e-Ie*$e,Dt=2*Ie-At;Fe=hue2rgb(Dt,At,xe+1/3),Ue=hue2rgb(Dt,At,xe),qe=hue2rgb(Dt,At,xe-1/3)}return{r:Fe*255,g:Ue*255,b:qe*255}}function rgbToHsv(xe,$e,Ie){xe=bound01$1(xe,255),$e=bound01$1($e,255),Ie=bound01$1(Ie,255);var Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie),qe=0,At=Fe,Dt=Fe-Ue,Lt=Fe===0?0:Dt/Fe;if(Fe===Ue)qe=0;else{switch(Fe){case xe:qe=($e-Ie)/Dt+($e>16,g:(xe&65280)>>8,b:xe&255}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(xe){var $e={r:0,g:0,b:0},Ie=1,Fe=null,Ue=null,qe=null,At=!1,Dt=!1;return typeof xe=="string"&&(xe=stringInputToObject(xe)),typeof xe=="object"&&(isValidCSSUnit(xe.r)&&isValidCSSUnit(xe.g)&&isValidCSSUnit(xe.b)?($e=rgbToRgb(xe.r,xe.g,xe.b),At=!0,Dt=String(xe.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(xe.h)&&isValidCSSUnit(xe.s)&&isValidCSSUnit(xe.v)?(Fe=convertToPercentage(xe.s),Ue=convertToPercentage(xe.v),$e=hsvToRgb(xe.h,Fe,Ue),At=!0,Dt="hsv"):isValidCSSUnit(xe.h)&&isValidCSSUnit(xe.s)&&isValidCSSUnit(xe.l)&&(Fe=convertToPercentage(xe.s),qe=convertToPercentage(xe.l),$e=hslToRgb(xe.h,Fe,qe),At=!0,Dt="hsl"),Object.prototype.hasOwnProperty.call(xe,"a")&&(Ie=xe.a)),Ie=boundAlpha(Ie),{ok:At,format:xe.format||Dt,r:Math.min(255,Math.max($e.r,0)),g:Math.min(255,Math.max($e.g,0)),b:Math.min(255,Math.max($e.b,0)),a:Ie}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(xe){if(xe=xe.trim().toLowerCase(),xe.length===0)return!1;var $e=!1;if(names[xe])xe=names[xe],$e=!0;else if(xe==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Ie=matchers.rgb.exec(xe);return Ie?{r:Ie[1],g:Ie[2],b:Ie[3]}:(Ie=matchers.rgba.exec(xe),Ie?{r:Ie[1],g:Ie[2],b:Ie[3],a:Ie[4]}:(Ie=matchers.hsl.exec(xe),Ie?{h:Ie[1],s:Ie[2],l:Ie[3]}:(Ie=matchers.hsla.exec(xe),Ie?{h:Ie[1],s:Ie[2],l:Ie[3],a:Ie[4]}:(Ie=matchers.hsv.exec(xe),Ie?{h:Ie[1],s:Ie[2],v:Ie[3]}:(Ie=matchers.hsva.exec(xe),Ie?{h:Ie[1],s:Ie[2],v:Ie[3],a:Ie[4]}:(Ie=matchers.hex8.exec(xe),Ie?{r:parseIntFromHex(Ie[1]),g:parseIntFromHex(Ie[2]),b:parseIntFromHex(Ie[3]),a:convertHexToDecimal(Ie[4]),format:$e?"name":"hex8"}:(Ie=matchers.hex6.exec(xe),Ie?{r:parseIntFromHex(Ie[1]),g:parseIntFromHex(Ie[2]),b:parseIntFromHex(Ie[3]),format:$e?"name":"hex"}:(Ie=matchers.hex4.exec(xe),Ie?{r:parseIntFromHex(Ie[1]+Ie[1]),g:parseIntFromHex(Ie[2]+Ie[2]),b:parseIntFromHex(Ie[3]+Ie[3]),a:convertHexToDecimal(Ie[4]+Ie[4]),format:$e?"name":"hex8"}:(Ie=matchers.hex3.exec(xe),Ie?{r:parseIntFromHex(Ie[1]+Ie[1]),g:parseIntFromHex(Ie[2]+Ie[2]),b:parseIntFromHex(Ie[3]+Ie[3]),format:$e?"name":"hex"}:!1)))))))))}function isValidCSSUnit(xe){return!!matchers.CSS_UNIT.exec(String(xe))}var TinyColor=function(){function xe($e,Ie){$e===void 0&&($e=""),Ie===void 0&&(Ie={});var Fe;if($e instanceof xe)return $e;typeof $e=="number"&&($e=numberInputToObject($e)),this.originalInput=$e;var Ue=inputToRGB($e);this.originalInput=$e,this.r=Ue.r,this.g=Ue.g,this.b=Ue.b,this.a=Ue.a,this.roundA=Math.round(100*this.a)/100,this.format=(Fe=Ie.format)!==null&&Fe!==void 0?Fe:Ue.format,this.gradientType=Ie.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=Ue.ok}return xe.prototype.isDark=function(){return this.getBrightness()<128},xe.prototype.isLight=function(){return!this.isDark()},xe.prototype.getBrightness=function(){var $e=this.toRgb();return($e.r*299+$e.g*587+$e.b*114)/1e3},xe.prototype.getLuminance=function(){var $e=this.toRgb(),Ie,Fe,Ue,qe=$e.r/255,At=$e.g/255,Dt=$e.b/255;return qe<=.03928?Ie=qe/12.92:Ie=Math.pow((qe+.055)/1.055,2.4),At<=.03928?Fe=At/12.92:Fe=Math.pow((At+.055)/1.055,2.4),Dt<=.03928?Ue=Dt/12.92:Ue=Math.pow((Dt+.055)/1.055,2.4),.2126*Ie+.7152*Fe+.0722*Ue},xe.prototype.getAlpha=function(){return this.a},xe.prototype.setAlpha=function($e){return this.a=boundAlpha($e),this.roundA=Math.round(100*this.a)/100,this},xe.prototype.isMonochrome=function(){var $e=this.toHsl().s;return $e===0},xe.prototype.toHsv=function(){var $e=rgbToHsv(this.r,this.g,this.b);return{h:$e.h*360,s:$e.s,v:$e.v,a:this.a}},xe.prototype.toHsvString=function(){var $e=rgbToHsv(this.r,this.g,this.b),Ie=Math.round($e.h*360),Fe=Math.round($e.s*100),Ue=Math.round($e.v*100);return this.a===1?"hsv(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%)"):"hsva(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%, ").concat(this.roundA,")")},xe.prototype.toHsl=function(){var $e=rgbToHsl(this.r,this.g,this.b);return{h:$e.h*360,s:$e.s,l:$e.l,a:this.a}},xe.prototype.toHslString=function(){var $e=rgbToHsl(this.r,this.g,this.b),Ie=Math.round($e.h*360),Fe=Math.round($e.s*100),Ue=Math.round($e.l*100);return this.a===1?"hsl(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%)"):"hsla(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%, ").concat(this.roundA,")")},xe.prototype.toHex=function($e){return $e===void 0&&($e=!1),rgbToHex(this.r,this.g,this.b,$e)},xe.prototype.toHexString=function($e){return $e===void 0&&($e=!1),"#"+this.toHex($e)},xe.prototype.toHex8=function($e){return $e===void 0&&($e=!1),rgbaToHex(this.r,this.g,this.b,this.a,$e)},xe.prototype.toHex8String=function($e){return $e===void 0&&($e=!1),"#"+this.toHex8($e)},xe.prototype.toHexShortString=function($e){return $e===void 0&&($e=!1),this.a===1?this.toHexString($e):this.toHex8String($e)},xe.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},xe.prototype.toRgbString=function(){var $e=Math.round(this.r),Ie=Math.round(this.g),Fe=Math.round(this.b);return this.a===1?"rgb(".concat($e,", ").concat(Ie,", ").concat(Fe,")"):"rgba(".concat($e,", ").concat(Ie,", ").concat(Fe,", ").concat(this.roundA,")")},xe.prototype.toPercentageRgb=function(){var $e=function(Ie){return"".concat(Math.round(bound01$1(Ie,255)*100),"%")};return{r:$e(this.r),g:$e(this.g),b:$e(this.b),a:this.a}},xe.prototype.toPercentageRgbString=function(){var $e=function(Ie){return Math.round(bound01$1(Ie,255)*100)};return this.a===1?"rgb(".concat($e(this.r),"%, ").concat($e(this.g),"%, ").concat($e(this.b),"%)"):"rgba(".concat($e(this.r),"%, ").concat($e(this.g),"%, ").concat($e(this.b),"%, ").concat(this.roundA,")")},xe.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var $e="#"+rgbToHex(this.r,this.g,this.b,!1),Ie=0,Fe=Object.entries(names);Ie=0,qe=!Ie&&Ue&&($e.startsWith("hex")||$e==="name");return qe?$e==="name"&&this.a===0?this.toName():this.toRgbString():($e==="rgb"&&(Fe=this.toRgbString()),$e==="prgb"&&(Fe=this.toPercentageRgbString()),($e==="hex"||$e==="hex6")&&(Fe=this.toHexString()),$e==="hex3"&&(Fe=this.toHexString(!0)),$e==="hex4"&&(Fe=this.toHex8String(!0)),$e==="hex8"&&(Fe=this.toHex8String()),$e==="name"&&(Fe=this.toName()),$e==="hsl"&&(Fe=this.toHslString()),$e==="hsv"&&(Fe=this.toHsvString()),Fe||this.toHexString())},xe.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},xe.prototype.clone=function(){return new xe(this.toString())},xe.prototype.lighten=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.l+=$e/100,Ie.l=clamp01(Ie.l),new xe(Ie)},xe.prototype.brighten=function($e){$e===void 0&&($e=10);var Ie=this.toRgb();return Ie.r=Math.max(0,Math.min(255,Ie.r-Math.round(255*-($e/100)))),Ie.g=Math.max(0,Math.min(255,Ie.g-Math.round(255*-($e/100)))),Ie.b=Math.max(0,Math.min(255,Ie.b-Math.round(255*-($e/100)))),new xe(Ie)},xe.prototype.darken=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.l-=$e/100,Ie.l=clamp01(Ie.l),new xe(Ie)},xe.prototype.tint=function($e){return $e===void 0&&($e=10),this.mix("white",$e)},xe.prototype.shade=function($e){return $e===void 0&&($e=10),this.mix("black",$e)},xe.prototype.desaturate=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.s-=$e/100,Ie.s=clamp01(Ie.s),new xe(Ie)},xe.prototype.saturate=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.s+=$e/100,Ie.s=clamp01(Ie.s),new xe(Ie)},xe.prototype.greyscale=function(){return this.desaturate(100)},xe.prototype.spin=function($e){var Ie=this.toHsl(),Fe=(Ie.h+$e)%360;return Ie.h=Fe<0?360+Fe:Fe,new xe(Ie)},xe.prototype.mix=function($e,Ie){Ie===void 0&&(Ie=50);var Fe=this.toRgb(),Ue=new xe($e).toRgb(),qe=Ie/100,At={r:(Ue.r-Fe.r)*qe+Fe.r,g:(Ue.g-Fe.g)*qe+Fe.g,b:(Ue.b-Fe.b)*qe+Fe.b,a:(Ue.a-Fe.a)*qe+Fe.a};return new xe(At)},xe.prototype.analogous=function($e,Ie){$e===void 0&&($e=6),Ie===void 0&&(Ie=30);var Fe=this.toHsl(),Ue=360/Ie,qe=[this];for(Fe.h=(Fe.h-(Ue*$e>>1)+720)%360;--$e;)Fe.h=(Fe.h+Ue)%360,qe.push(new xe(Fe));return qe},xe.prototype.complement=function(){var $e=this.toHsl();return $e.h=($e.h+180)%360,new xe($e)},xe.prototype.monochromatic=function($e){$e===void 0&&($e=6);for(var Ie=this.toHsv(),Fe=Ie.h,Ue=Ie.s,qe=Ie.v,At=[],Dt=1/$e;$e--;)At.push(new xe({h:Fe,s:Ue,v:qe})),qe=(qe+Dt)%1;return At},xe.prototype.splitcomplement=function(){var $e=this.toHsl(),Ie=$e.h;return[this,new xe({h:(Ie+72)%360,s:$e.s,l:$e.l}),new xe({h:(Ie+216)%360,s:$e.s,l:$e.l})]},xe.prototype.onBackground=function($e){var Ie=this.toRgb(),Fe=new xe($e).toRgb(),Ue=Ie.a+Fe.a*(1-Ie.a);return new xe({r:(Ie.r*Ie.a+Fe.r*Fe.a*(1-Ie.a))/Ue,g:(Ie.g*Ie.a+Fe.g*Fe.a*(1-Ie.a))/Ue,b:(Ie.b*Ie.a+Fe.b*Fe.a*(1-Ie.a))/Ue,a:Ue})},xe.prototype.triad=function(){return this.polyad(3)},xe.prototype.tetrad=function(){return this.polyad(4)},xe.prototype.polyad=function($e){for(var Ie=this.toHsl(),Fe=Ie.h,Ue=[this],qe=360/$e,At=1;At<$e;At++)Ue.push(new xe({h:(Fe+At*qe)%360,s:Ie.s,l:Ie.l}));return Ue},xe.prototype.equals=function($e){return this.toRgbString()===new xe($e).toRgbString()},xe}();function darken(xe,$e=20){return xe.mix("#141414",$e).toString()}function useButtonCustomStyle(xe){const $e=useFormDisabled(),Ie=useNamespace("button");return computed(()=>{let Fe={};const Ue=xe.color;if(Ue){const qe=new TinyColor(Ue),At=xe.dark?qe.tint(20).toString():darken(qe,20);if(xe.plain)Fe=Ie.cssVarBlock({"bg-color":xe.dark?darken(qe,90):qe.tint(90).toString(),"text-color":Ue,"border-color":xe.dark?darken(qe,50):qe.tint(50).toString(),"hover-text-color":`var(${Ie.cssVarName("color-white")})`,"hover-bg-color":Ue,"hover-border-color":Ue,"active-bg-color":At,"active-text-color":`var(${Ie.cssVarName("color-white")})`,"active-border-color":At}),$e.value&&(Fe[Ie.cssVarBlockName("disabled-bg-color")]=xe.dark?darken(qe,90):qe.tint(90).toString(),Fe[Ie.cssVarBlockName("disabled-text-color")]=xe.dark?darken(qe,50):qe.tint(50).toString(),Fe[Ie.cssVarBlockName("disabled-border-color")]=xe.dark?darken(qe,80):qe.tint(80).toString());else{const Dt=xe.dark?darken(qe,30):qe.tint(30).toString(),Lt=qe.isDark()?`var(${Ie.cssVarName("color-white")})`:`var(${Ie.cssVarName("color-black")})`;if(Fe=Ie.cssVarBlock({"bg-color":Ue,"text-color":Lt,"border-color":Ue,"hover-bg-color":Dt,"hover-text-color":Lt,"hover-border-color":Dt,"active-bg-color":At,"active-border-color":At}),$e.value){const jt=xe.dark?darken(qe,50):qe.tint(50).toString();Fe[Ie.cssVarBlockName("disabled-bg-color")]=jt,Fe[Ie.cssVarBlockName("disabled-text-color")]=xe.dark?"rgba(255, 255, 255, 0.5)":`var(${Ie.cssVarName("color-white")})`,Fe[Ie.cssVarBlockName("disabled-border-color")]=jt}}}return Fe})}const __default__$1r=defineComponent({name:"ElButton"}),_sfc_main$25=defineComponent({...__default__$1r,props:buttonProps,emits:buttonEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useButtonCustomStyle(Fe),qe=useNamespace("button"),{_ref:At,_size:Dt,_type:Lt,_disabled:jt,_props:hn,shouldAddSpace:vn,handleClick:bn}=useButton(Fe,Ie),_n=computed(()=>[qe.b(),qe.m(Lt.value),qe.m(Dt.value),qe.is("disabled",jt.value),qe.is("loading",Fe.loading),qe.is("plain",Fe.plain),qe.is("round",Fe.round),qe.is("circle",Fe.circle),qe.is("text",Fe.text),qe.is("link",Fe.link),qe.is("has-bg",Fe.bg)]);return $e({ref:At,size:Dt,type:Lt,disabled:jt,shouldAddSpace:vn}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(wn.tag),mergeProps({ref_key:"_ref",ref:At},unref(hn),{class:unref(_n),style:unref(Ue),onClick:unref(bn)}),{default:withCtx(()=>[wn.loading?(openBlock(),createElementBlock(Fragment,{key:0},[wn.$slots.loading?renderSlot(wn.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(qe).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(wn.loadingIcon)))]),_:1},8,["class"]))],64)):wn.icon||wn.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[wn.icon?(openBlock(),createBlock(resolveDynamicComponent(wn.icon),{key:0})):renderSlot(wn.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),wn.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(qe).em("text","expand")]:unref(vn)})},[renderSlot(wn.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$25,[["__file","button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1q=defineComponent({name:"ElButtonGroup"}),_sfc_main$24=defineComponent({...__default__$1q,props:buttonGroupProps,setup(xe){const $e=xe;provide(buttonGroupContextKey,reactive({size:toRef($e,"size"),type:toRef($e,"type")}));const Ie=useNamespace("button");return(Fe,Ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(Ie).b("group")}`)},[renderSlot(Fe.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$24,[["__file","button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var dayjs_min={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie=1e3,Fe=6e4,Ue=36e5,qe="millisecond",At="second",Dt="minute",Lt="hour",jt="day",hn="week",vn="month",bn="quarter",_n="year",wn="date",kn="Invalid Date",Cn=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Sn=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,xn={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Vn){var Ln=["th","st","nd","rd"],Dn=Vn%100;return"["+Vn+(Ln[(Dn-20)%10]||Ln[Dn]||Ln[0])+"]"}},En=function(Vn,Ln,Dn){var Hn=String(Vn);return!Hn||Hn.length>=Ln?Vn:""+Array(Ln+1-Hn.length).join(Dn)+Vn},Tn={s:En,z:function(Vn){var Ln=-Vn.utcOffset(),Dn=Math.abs(Ln),Hn=Math.floor(Dn/60),Fn=Dn%60;return(Ln<=0?"+":"-")+En(Hn,2,"0")+":"+En(Fn,2,"0")},m:function Vn(Ln,Dn){if(Ln.date()1)return Vn(jn[0])}else{var Gn=Ln.name;$n[Gn]=Ln,Fn=Gn}return!Hn&&Fn&&(An=Fn),Fn||!Hn&&An},In=function(Vn,Ln){if(Nn(Vn))return Vn.clone();var Dn=typeof Ln=="object"?Ln:{};return Dn.date=Vn,Dn.args=arguments,new Rn(Dn)},On=Tn;On.l=Mn,On.i=Nn,On.w=function(Vn,Ln){return In(Vn,{locale:Ln.$L,utc:Ln.$u,x:Ln.$x,$offset:Ln.$offset})};var Rn=function(){function Vn(Dn){this.$L=Mn(Dn.locale,null,!0),this.parse(Dn),this.$x=this.$x||Dn.x||{},this[Pn]=!0}var Ln=Vn.prototype;return Ln.parse=function(Dn){this.$d=function(Hn){var Fn=Hn.date,zn=Hn.utc;if(Fn===null)return new Date(NaN);if(On.u(Fn))return new Date;if(Fn instanceof Date)return new Date(Fn);if(typeof Fn=="string"&&!/Z$/i.test(Fn)){var jn=Fn.match(Cn);if(jn){var Gn=jn[2]-1||0,Wn=(jn[7]||"0").substring(0,3);return zn?new Date(Date.UTC(jn[1],Gn,jn[3]||1,jn[4]||0,jn[5]||0,jn[6]||0,Wn)):new Date(jn[1],Gn,jn[3]||1,jn[4]||0,jn[5]||0,jn[6]||0,Wn)}}return new Date(Fn)}(Dn),this.init()},Ln.init=function(){var Dn=this.$d;this.$y=Dn.getFullYear(),this.$M=Dn.getMonth(),this.$D=Dn.getDate(),this.$W=Dn.getDay(),this.$H=Dn.getHours(),this.$m=Dn.getMinutes(),this.$s=Dn.getSeconds(),this.$ms=Dn.getMilliseconds()},Ln.$utils=function(){return On},Ln.isValid=function(){return this.$d.toString()!==kn},Ln.isSame=function(Dn,Hn){var Fn=In(Dn);return this.startOf(Hn)<=Fn&&Fn<=this.endOf(Hn)},Ln.isAfter=function(Dn,Hn){return In(Dn)68?1900:2e3)},jt=function(kn){return function(Cn){this[kn]=+Cn}},hn=[/[+-]\d\d:?(\d\d)?|Z/,function(kn){(this.zone||(this.zone={})).offset=function(Cn){if(!Cn||Cn==="Z")return 0;var Sn=Cn.match(/([+-]|\d\d)/g),xn=60*Sn[1]+(+Sn[2]||0);return xn===0?0:Sn[0]==="+"?-xn:xn}(kn)}],vn=function(kn){var Cn=Dt[kn];return Cn&&(Cn.indexOf?Cn:Cn.s.concat(Cn.f))},bn=function(kn,Cn){var Sn,xn=Dt.meridiem;if(xn){for(var En=1;En<=24;En+=1)if(kn.indexOf(xn(En,0,Cn))>-1){Sn=En>12;break}}else Sn=kn===(Cn?"pm":"PM");return Sn},_n={A:[At,function(kn){this.afternoon=bn(kn,!1)}],a:[At,function(kn){this.afternoon=bn(kn,!0)}],S:[/\d/,function(kn){this.milliseconds=100*+kn}],SS:[Ue,function(kn){this.milliseconds=10*+kn}],SSS:[/\d{3}/,function(kn){this.milliseconds=+kn}],s:[qe,jt("seconds")],ss:[qe,jt("seconds")],m:[qe,jt("minutes")],mm:[qe,jt("minutes")],H:[qe,jt("hours")],h:[qe,jt("hours")],HH:[qe,jt("hours")],hh:[qe,jt("hours")],D:[qe,jt("day")],DD:[Ue,jt("day")],Do:[At,function(kn){var Cn=Dt.ordinal,Sn=kn.match(/\d+/);if(this.day=Sn[0],Cn)for(var xn=1;xn<=31;xn+=1)Cn(xn).replace(/\[|\]/g,"")===kn&&(this.day=xn)}],M:[qe,jt("month")],MM:[Ue,jt("month")],MMM:[At,function(kn){var Cn=vn("months"),Sn=(vn("monthsShort")||Cn.map(function(xn){return xn.slice(0,3)})).indexOf(kn)+1;if(Sn<1)throw new Error;this.month=Sn%12||Sn}],MMMM:[At,function(kn){var Cn=vn("months").indexOf(kn)+1;if(Cn<1)throw new Error;this.month=Cn%12||Cn}],Y:[/[+-]?\d+/,jt("year")],YY:[Ue,function(kn){this.year=Lt(kn)}],YYYY:[/\d{4}/,jt("year")],Z:hn,ZZ:hn};function wn(kn){var Cn,Sn;Cn=kn,Sn=Dt&&Dt.formats;for(var xn=(kn=Cn.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Mn,In,On){var Rn=On&&On.toUpperCase();return In||Sn[On]||Ie[On]||Sn[Rn].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Bn,Vn,Ln){return Vn||Ln.slice(1)})})).match(Fe),En=xn.length,Tn=0;Tn-1)return new Date((Hn==="X"?1e3:1)*Dn);var zn=wn(Hn)(Dn),jn=zn.year,Gn=zn.month,Wn=zn.day,Xn=zn.hours,er=zn.minutes,rr=zn.seconds,Jn=zn.milliseconds,Yn=zn.zone,qn=new Date,ar=Wn||(jn||Gn?1:qn.getDate()),tr=jn||qn.getFullYear(),or=0;jn&&!Gn||(or=Gn>0?Gn-1:qn.getMonth());var sr=Xn||0,Kn=er||0,Zn=rr||0,nr=Jn||0;return Yn?new Date(Date.UTC(tr,or,ar,sr,Kn,Zn,nr+60*Yn.offset*1e3)):Fn?new Date(Date.UTC(tr,or,ar,sr,Kn,Zn,nr)):new Date(tr,or,ar,sr,Kn,Zn,nr)}catch{return new Date("")}}(An,Nn,$n),this.init(),Rn&&Rn!==!0&&(this.$L=this.locale(Rn).$L),On&&An!=this.format(Nn)&&(this.$d=new Date("")),Dt={}}else if(Nn instanceof Array)for(var Bn=Nn.length,Vn=1;Vn<=Bn;Vn+=1){Pn[1]=Nn[Vn-1];var Ln=Sn.apply(this,Pn);if(Ln.isValid()){this.$d=Ln.$d,this.$L=Ln.$L,this.init();break}Vn===Bn&&(this.$d=new Date(""))}else En.call(this,Tn)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports),timeUnits$2=["hours","minutes","seconds"],DEFAULT_FORMATS_TIME="HH:mm:ss",DEFAULT_FORMATS_DATE="YYYY-MM-DD",DEFAULT_FORMATS_DATEPICKER={date:DEFAULT_FORMATS_DATE,dates:DEFAULT_FORMATS_DATE,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},buildTimeList=(xe,$e)=>[xe>0?xe-1:void 0,xe,xe<$e?xe+1:void 0],rangeArr=xe=>Array.from(Array.from({length:xe}).keys()),extractDateFormat=xe=>xe.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=xe=>xe.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(xe,$e){const Ie=isDate$1(xe),Fe=isDate$1($e);return Ie&&Fe?xe.getTime()===$e.getTime():!Ie&&!Fe?xe===$e:!1},valueEquals=function(xe,$e){const Ie=isArray$6(xe),Fe=isArray$6($e);return Ie&&Fe?xe.length!==$e.length?!1:xe.every((Ue,qe)=>dateEquals(Ue,$e[qe])):!Ie&&!Fe?dateEquals(xe,$e):!1},parseDate$1=function(xe,$e,Ie){const Fe=isEmpty($e)||$e==="x"?dayjs(xe).locale(Ie):dayjs(xe,$e).locale(Ie);return Fe.isValid()?Fe:void 0},formatter=function(xe,$e,Ie){return isEmpty($e)?xe:$e==="x"?+xe:dayjs(xe).locale(Ie).format($e)},makeList=(xe,$e)=>{var Ie;const Fe=[],Ue=$e==null?void 0:$e();for(let qe=0;qe({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:Boolean,...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),_hoisted_1$12=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$H=["id","name","placeholder","value","disabled","readonly"],__default__$1p=defineComponent({name:"Picker"}),_sfc_main$23=defineComponent({...__default__$1p,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs$1(),{lang:qe}=useLocale(),At=useNamespace("date"),Dt=useNamespace("input"),Lt=useNamespace("range"),{form:jt,formItem:hn}=useFormItem(),vn=inject("ElPopperOptions",{}),{valueOnClear:bn}=useEmptyValues(Fe,null),_n=ref(),wn=ref(),kn=ref(!1),Cn=ref(!1),Sn=ref(null);let xn=!1,En=!1;const Tn=computed(()=>[At.b("editor"),At.bm("editor",Fe.type),Dt.e("wrapper"),At.is("disabled",Xn.value),At.is("active",kn.value),Lt.b("editor"),Cr?Lt.bm("editor",Cr.value):"",Ue.class]),An=computed(()=>[Dt.e("icon"),Lt.e("close-icon"),or.value?"":Lt.e("close-icon--hidden")]);watch(kn,mr=>{mr?nextTick(()=>{mr&&(Sn.value=Fe.modelValue)}):(br.value=null,nextTick(()=>{$n(Fe.modelValue)}))});const $n=(mr,Lr)=>{(Lr||!valueEquals(mr,Sn.value))&&(Ie("change",mr),Fe.validateEvent&&(hn==null||hn.validate("change").catch(zr=>void 0)))},Pn=mr=>{if(!valueEquals(Fe.modelValue,mr)){let Lr;isArray$6(mr)?Lr=mr.map(zr=>formatter(zr,Fe.valueFormat,qe.value)):mr&&(Lr=formatter(mr,Fe.valueFormat,qe.value)),Ie("update:modelValue",mr&&Lr,qe.value)}},Nn=mr=>{Ie("keydown",mr)},Mn=computed(()=>{if(wn.value){const mr=kr.value?wn.value:wn.value.$el;return Array.from(mr.querySelectorAll("input"))}return[]}),In=(mr,Lr,zr)=>{const Vr=Mn.value;Vr.length&&(!zr||zr==="min"?(Vr[0].setSelectionRange(mr,Lr),Vr[0].focus()):zr==="max"&&(Vr[1].setSelectionRange(mr,Lr),Vr[1].focus()))},On=()=>{zn(!0,!0),nextTick(()=>{En=!1})},Rn=(mr="",Lr=!1)=>{Lr||(En=!0),kn.value=Lr;let zr;isArray$6(mr)?zr=mr.map(Vr=>Vr.toDate()):zr=mr&&mr.toDate(),br.value=null,Pn(zr)},Bn=()=>{Cn.value=!0},Vn=()=>{Ie("visible-change",!0)},Ln=mr=>{(mr==null?void 0:mr.key)===EVENT_CODE.esc&&zn(!0,!0)},Dn=()=>{Cn.value=!1,kn.value=!1,En=!1,Ie("visible-change",!1)},Hn=()=>{kn.value=!0},Fn=()=>{kn.value=!1},zn=(mr=!0,Lr=!1)=>{En=Lr;const[zr,Vr]=unref(Mn);let Kr=zr;!mr&&kr.value&&(Kr=Vr),Kr&&Kr.focus()},jn=mr=>{Fe.readonly||Xn.value||kn.value||En||(kn.value=!0,Ie("focus",mr))};let Gn;const Wn=mr=>{const Lr=async()=>{setTimeout(()=>{var zr;Gn===Lr&&(!((zr=_n.value)!=null&&zr.isFocusInsideContent()&&!xn)&&Mn.value.filter(Vr=>Vr.contains(document.activeElement)).length===0&&(_r(),kn.value=!1,Ie("blur",mr),Fe.validateEvent&&(hn==null||hn.validate("blur").catch(Vr=>void 0))),xn=!1)},0)};Gn=Lr,Lr()},Xn=computed(()=>Fe.disabled||(jt==null?void 0:jt.disabled)),er=computed(()=>{let mr;if(Kn.value?Tr.value.getDefaultValue&&(mr=Tr.value.getDefaultValue()):isArray$6(Fe.modelValue)?mr=Fe.modelValue.map(Lr=>parseDate$1(Lr,Fe.valueFormat,qe.value)):mr=parseDate$1(Fe.modelValue,Fe.valueFormat,qe.value),Tr.value.getRangeAvailableTime){const Lr=Tr.value.getRangeAvailableTime(mr);isEqual$1(Lr,mr)||(mr=Lr,Pn(isArray$6(mr)?mr.map(zr=>zr.toDate()):mr.toDate()))}return isArray$6(mr)&&mr.some(Lr=>!Lr)&&(mr=[]),mr}),rr=computed(()=>{if(!Tr.value.panelReady)return"";const mr=gr(er.value);return isArray$6(br.value)?[br.value[0]||mr&&mr[0]||"",br.value[1]||mr&&mr[1]||""]:br.value!==null?br.value:!Yn.value&&Kn.value||!kn.value&&Kn.value?"":mr?qn.value||ar.value?mr.join(", "):mr:""}),Jn=computed(()=>Fe.type.includes("time")),Yn=computed(()=>Fe.type.startsWith("time")),qn=computed(()=>Fe.type==="dates"),ar=computed(()=>Fe.type==="years"),tr=computed(()=>Fe.prefixIcon||(Jn.value?clock_default:calendar_default)),or=ref(!1),sr=mr=>{Fe.readonly||Xn.value||or.value&&(mr.stopPropagation(),On(),Pn(bn.value),$n(bn.value,!0),or.value=!1,kn.value=!1,Tr.value.handleClear&&Tr.value.handleClear())},Kn=computed(()=>{const{modelValue:mr}=Fe;return!mr||isArray$6(mr)&&!mr.filter(Boolean).length}),Zn=async mr=>{var Lr;Fe.readonly||Xn.value||(((Lr=mr.target)==null?void 0:Lr.tagName)!=="INPUT"||Mn.value.includes(document.activeElement))&&(kn.value=!0)},nr=()=>{Fe.readonly||Xn.value||!Kn.value&&Fe.clearable&&(or.value=!0)},lr=()=>{or.value=!1},ir=mr=>{var Lr;Fe.readonly||Xn.value||(((Lr=mr.touches[0].target)==null?void 0:Lr.tagName)!=="INPUT"||Mn.value.includes(document.activeElement))&&(kn.value=!0)},kr=computed(()=>Fe.type.includes("range")),Cr=useFormSize(),Er=computed(()=>{var mr,Lr;return(Lr=(mr=unref(_n))==null?void 0:mr.popperRef)==null?void 0:Lr.contentRef}),dr=computed(()=>{var mr;return unref(kr)?unref(wn):(mr=unref(wn))==null?void 0:mr.$el});onClickOutside(dr,mr=>{const Lr=unref(Er),zr=unref(dr);Lr&&(mr.target===Lr||mr.composedPath().includes(Lr))||mr.target===zr||mr.composedPath().includes(zr)||(kn.value=!1)});const br=ref(null),_r=()=>{if(br.value){const mr=Pr(rr.value);mr&&xr(mr)&&(Pn(isArray$6(mr)?mr.map(Lr=>Lr.toDate()):mr.toDate()),br.value=null)}br.value===""&&(Pn(bn.value),$n(bn.value),br.value=null)},Pr=mr=>mr?Tr.value.parseUserInput(mr):null,gr=mr=>mr?Tr.value.formatToString(mr):null,xr=mr=>Tr.value.isValidValue(mr),Rr=async mr=>{if(Fe.readonly||Xn.value)return;const{code:Lr}=mr;if(Nn(mr),Lr===EVENT_CODE.esc){kn.value===!0&&(kn.value=!1,mr.preventDefault(),mr.stopPropagation());return}if(Lr===EVENT_CODE.down&&(Tr.value.handleFocusPicker&&(mr.preventDefault(),mr.stopPropagation()),kn.value===!1&&(kn.value=!0,await nextTick()),Tr.value.handleFocusPicker)){Tr.value.handleFocusPicker();return}if(Lr===EVENT_CODE.tab){xn=!0;return}if(Lr===EVENT_CODE.enter||Lr===EVENT_CODE.numpadEnter){(br.value===null||br.value===""||xr(Pr(rr.value)))&&(_r(),kn.value=!1),mr.stopPropagation();return}if(br.value){mr.stopPropagation();return}Tr.value.handleKeydownInput&&Tr.value.handleKeydownInput(mr)},Hr=mr=>{br.value=mr,kn.value||(kn.value=!0)},Jr=mr=>{const Lr=mr.target;br.value?br.value=[Lr.value,br.value[1]]:br.value=[Lr.value,null]},Gr=mr=>{const Lr=mr.target;br.value?br.value=[br.value[0],Lr.value]:br.value=[null,Lr.value]},$r=()=>{var mr;const Lr=br.value,zr=Pr(Lr&&Lr[0]),Vr=unref(er);if(zr&&zr.isValid()){br.value=[gr(zr),((mr=rr.value)==null?void 0:mr[1])||null];const Kr=[zr,Vr&&(Vr[1]||null)];xr(Kr)&&(Pn(Kr),br.value=null)}},Br=()=>{var mr;const Lr=unref(br),zr=Pr(Lr&&Lr[1]),Vr=unref(er);if(zr&&zr.isValid()){br.value=[((mr=unref(rr))==null?void 0:mr[0])||null,gr(zr)];const Kr=[Vr&&Vr[0],zr];xr(Kr)&&(Pn(Kr),br.value=null)}},Tr=ref({}),cr=mr=>{Tr.value[mr[0]]=mr[1],Tr.value.panelReady=!0},Sr=mr=>{Ie("calendar-change",mr)},Dr=(mr,Lr,zr)=>{Ie("panel-change",mr,Lr,zr)};return provide("EP_PICKER_BASE",{props:Fe}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-time-picker",ref:"https://element-plus.org/en-US/component/time-picker.html"},computed(()=>!!Fe.label)),$e({focus:zn,handleFocusInput:jn,handleBlurInput:Wn,handleOpen:Hn,handleClose:Fn,onPick:Rn}),(mr,Lr)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:_n,visible:kn.value,effect:"light",pure:"",trigger:"click"},mr.$attrs,{role:"dialog",teleported:"",transition:`${unref(At).namespace.value}-zoom-in-top`,"popper-class":[`${unref(At).namespace.value}-picker__popper`,mr.popperClass],"popper-options":unref(vn),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Bn,onShow:Vn,onHide:Dn}),{default:withCtx(()=>[unref(kr)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:wn,class:normalizeClass(unref(Tn)),style:normalizeStyle$1(mr.$attrs.style),onClick:jn,onMouseenter:nr,onMouseleave:lr,onTouchstartPassive:ir,onKeydown:Rr},[unref(tr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Dt).e("icon"),unref(Lt).e("icon")]),onMousedown:withModifiers(Zn,["prevent"]),onTouchstartPassive:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(tr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:mr.id&&mr.id[0],autocomplete:"off",name:mr.name&&mr.name[0],placeholder:mr.startPlaceholder,value:unref(rr)&&unref(rr)[0],disabled:unref(Xn),readonly:!mr.editable||mr.readonly,class:normalizeClass(unref(Lt).b("input")),onMousedown:Zn,onInput:Jr,onChange:$r,onFocus:jn,onBlur:Wn},null,42,_hoisted_1$12),renderSlot(mr.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(Lt).b("separator"))},toDisplayString(mr.rangeSeparator),3)]),createBaseVNode("input",{id:mr.id&&mr.id[1],autocomplete:"off",name:mr.name&&mr.name[1],placeholder:mr.endPlaceholder,value:unref(rr)&&unref(rr)[1],disabled:unref(Xn),readonly:!mr.editable||mr.readonly,class:normalizeClass(unref(Lt).b("input")),onMousedown:Zn,onFocus:jn,onBlur:Wn,onInput:Gr,onChange:Br},null,42,_hoisted_2$H),mr.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(An)),onClick:sr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(mr.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:mr.id,ref_key:"inputRef",ref:wn,"container-role":"combobox","model-value":unref(rr),name:mr.name,size:unref(Cr),disabled:unref(Xn),placeholder:mr.placeholder,class:normalizeClass([unref(At).b("editor"),unref(At).bm("editor",mr.type),mr.$attrs.class]),style:normalizeStyle$1(mr.$attrs.style),readonly:!mr.editable||mr.readonly||unref(qn)||unref(ar)||mr.type==="week","aria-label":mr.label||mr.ariaLabel,tabindex:mr.tabindex,"validate-event":!1,onInput:Hr,onFocus:jn,onBlur:Wn,onKeydown:Rr,onChange:_r,onMousedown:Zn,onMouseenter:nr,onMouseleave:lr,onTouchstartPassive:ir,onClick:Lr[0]||(Lr[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(tr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Dt).e("icon")),onMousedown:withModifiers(Zn,["prevent"]),onTouchstartPassive:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(tr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[or.value&&mr.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(Dt).e("icon")} clear-icon`),onClick:withModifiers(sr,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(mr.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onKeydown"]))]),content:withCtx(()=>[renderSlot(mr.$slots,"default",{visible:kn.value,actualVisible:Cn.value,parsedValue:unref(er),format:mr.format,dateFormat:mr.dateFormat,timeFormat:mr.timeFormat,unlinkPanels:mr.unlinkPanels,type:mr.type,defaultValue:mr.defaultValue,onPick:Rn,onSelectRange:In,onSetPickerOption:cr,onCalendarChange:Sr,onPanelChange:Dr,onKeydown:Ln,onMousedown:Lr[1]||(Lr[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$1(_sfc_main$23,[["__file","picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:xe,getAvailableMinutes:$e,getAvailableSeconds:Ie})=>{const Fe=(At,Dt,Lt,jt)=>{const hn={hour:xe,minute:$e,second:Ie};let vn=At;return["hour","minute","second"].forEach(bn=>{if(hn[bn]){let _n;const wn=hn[bn];switch(bn){case"minute":{_n=wn(vn.hour(),Dt,jt);break}case"second":{_n=wn(vn.hour(),vn.minute(),Dt,jt);break}default:{_n=wn(Dt,jt);break}}if(_n!=null&&_n.length&&!_n.includes(vn[bn]())){const kn=Lt?0:_n.length-1;vn=vn[bn](_n[kn])}}}),vn},Ue={};return{timePickerOptions:Ue,getAvailableTime:Fe,onSetOption:([At,Dt])=>{Ue[At]=Dt}}},makeAvailableArr=xe=>{const $e=(Fe,Ue)=>Fe||Ue,Ie=Fe=>Fe!==!0;return xe.map($e).filter(Ie)},getTimeLists=(xe,$e,Ie)=>({getHoursList:(At,Dt)=>makeList(24,xe&&(()=>xe==null?void 0:xe(At,Dt))),getMinutesList:(At,Dt,Lt)=>makeList(60,$e&&(()=>$e==null?void 0:$e(At,Dt,Lt))),getSecondsList:(At,Dt,Lt,jt)=>makeList(60,Ie&&(()=>Ie==null?void 0:Ie(At,Dt,Lt,jt)))}),buildAvailableTimeSlotGetter=(xe,$e,Ie)=>{const{getHoursList:Fe,getMinutesList:Ue,getSecondsList:qe}=getTimeLists(xe,$e,Ie);return{getAvailableHours:(jt,hn)=>makeAvailableArr(Fe(jt,hn)),getAvailableMinutes:(jt,hn,vn)=>makeAvailableArr(Ue(jt,hn,vn)),getAvailableSeconds:(jt,hn,vn,bn)=>makeAvailableArr(qe(jt,hn,vn,bn))}},useOldValue=xe=>{const $e=ref(xe.parsedValue);return watch(()=>xe.visible,Ie=>{Ie||($e.value=xe.parsedValue)}),$e},nodeList=new Map;let startClick;isClient$1&&(document.addEventListener("mousedown",xe=>startClick=xe),document.addEventListener("mouseup",xe=>{for(const $e of nodeList.values())for(const{documentHandler:Ie}of $e)Ie(xe,startClick)}));function createDocumentHandler(xe,$e){let Ie=[];return Array.isArray($e.arg)?Ie=$e.arg:isElement$1($e.arg)&&Ie.push($e.arg),function(Fe,Ue){const qe=$e.instance.popperRef,At=Fe.target,Dt=Ue==null?void 0:Ue.target,Lt=!$e||!$e.instance,jt=!At||!Dt,hn=xe.contains(At)||xe.contains(Dt),vn=xe===At,bn=Ie.length&&Ie.some(wn=>wn==null?void 0:wn.contains(At))||Ie.length&&Ie.includes(Dt),_n=qe&&(qe.contains(At)||qe.contains(Dt));Lt||jt||hn||vn||bn||_n||$e.value(Fe,Ue)}}const ClickOutside={beforeMount(xe,$e){nodeList.has(xe)||nodeList.set(xe,[]),nodeList.get(xe).push({documentHandler:createDocumentHandler(xe,$e),bindingFn:$e.value})},updated(xe,$e){nodeList.has(xe)||nodeList.set(xe,[]);const Ie=nodeList.get(xe),Fe=Ie.findIndex(qe=>qe.bindingFn===$e.oldValue),Ue={documentHandler:createDocumentHandler(xe,$e),bindingFn:$e.value};Fe>=0?Ie.splice(Fe,1,Ue):Ie.push(Ue)},unmounted(xe){nodeList.delete(xe)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(xe,$e){const Ie=$e.value,{interval:Fe=REPEAT_INTERVAL,delay:Ue=REPEAT_DELAY}=isFunction$5(Ie)?{}:Ie;let qe,At;const Dt=()=>isFunction$5(Ie)?Ie():Ie.handler(),Lt=()=>{At&&(clearTimeout(At),At=void 0),qe&&(clearInterval(qe),qe=void 0)};xe.addEventListener("mousedown",jt=>{jt.button===0&&(Lt(),Dt(),document.addEventListener("mouseup",()=>Lt(),{once:!0}),At=setTimeout(()=>{qe=setInterval(()=>{Dt()},Fe)},Ue))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=xe=>{if(FOCUS_STACK.length===0)return;const $e=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if($e.length>0&&xe.code===EVENT_CODE.tab){if($e.length===1){xe.preventDefault(),document.activeElement!==$e[0]&&$e[0].focus();return}const Ie=xe.shiftKey,Fe=xe.target===$e[0],Ue=xe.target===$e[$e.length-1];Fe&&Ie&&(xe.preventDefault(),$e[$e.length-1].focus()),Ue&&!Ie&&(xe.preventDefault(),$e[0].focus())}},TrapFocus={beforeMount(xe){xe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(xe),FOCUS_STACK.push(xe),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(xe){nextTick(()=>{xe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(xe)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v=!1,o,f,s,u,d,N,l,p,m$1,w,D,x,E,M,F;function a(){if(!v){v=!0;var xe=navigator.userAgent,$e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(xe),Ie=/(Mac OS X)|(Windows)|(Linux)/.exec(xe);if(x=/\b(iPhone|iP[ao]d)/.exec(xe),E=/\b(iP[ao]d)/.exec(xe),w=/Android/i.exec(xe),M=/FBAN\/\w+;/i.exec(xe),F=/Mobile/i.exec(xe),D=!!/Win64/.exec(xe),$e){o=$e[1]?parseFloat($e[1]):$e[5]?parseFloat($e[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var Fe=/(?:Trident\/(\d+.\d+))/.exec(xe);N=Fe?parseFloat(Fe[1])+4:o,f=$e[2]?parseFloat($e[2]):NaN,s=$e[3]?parseFloat($e[3]):NaN,u=$e[4]?parseFloat($e[4]):NaN,u?($e=/(?:Chrome\/(\d+\.\d+))/.exec(xe),d=$e&&$e[1]?parseFloat($e[1]):NaN):d=NaN}else o=f=s=d=u=NaN;if(Ie){if(Ie[1]){var Ue=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(xe);l=Ue?parseFloat(Ue[1].replace("_",".")):!0}else l=!1;p=!!Ie[2],m$1=!!Ie[3]}else l=p=m$1=!1}}var _={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||N>o},ie64:function(){return _.ie()&&D},firefox:function(){return a()||f},opera:function(){return a()||s},webkit:function(){return a()||u},safari:function(){return _.webkit()},chrome:function(){return a()||d},windows:function(){return a()||p},osx:function(){return a()||l},linux:function(){return a()||m$1},iphone:function(){return a()||x},mobile:function(){return a()||x||E||w||F},nativeApp:function(){return a()||M},android:function(){return a()||w},ipad:function(){return a()||E}},A=_,c=!!(typeof window<"u"&&window.document&&window.document.createElement),U={canUseDOM:c,canUseWorkers:typeof Worker<"u",canUseEventListeners:c&&!!(window.addEventListener||window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c},h=U,X;h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S(xe,$e){if(!h.canUseDOM||$e&&!("addEventListener"in document))return!1;var Ie="on"+xe,Fe=Ie in document;if(!Fe){var Ue=document.createElement("div");Ue.setAttribute(Ie,"return;"),Fe=typeof Ue[Ie]=="function"}return!Fe&&X&&xe==="wheel"&&(Fe=document.implementation.hasFeature("Events.wheel","3.0")),Fe}var b=S,O=10,I=40,P=800;function T(xe){var $e=0,Ie=0,Fe=0,Ue=0;return"detail"in xe&&(Ie=xe.detail),"wheelDelta"in xe&&(Ie=-xe.wheelDelta/120),"wheelDeltaY"in xe&&(Ie=-xe.wheelDeltaY/120),"wheelDeltaX"in xe&&($e=-xe.wheelDeltaX/120),"axis"in xe&&xe.axis===xe.HORIZONTAL_AXIS&&($e=Ie,Ie=0),Fe=$e*O,Ue=Ie*O,"deltaY"in xe&&(Ue=xe.deltaY),"deltaX"in xe&&(Fe=xe.deltaX),(Fe||Ue)&&xe.deltaMode&&(xe.deltaMode==1?(Fe*=I,Ue*=I):(Fe*=P,Ue*=P)),Fe&&!$e&&($e=Fe<1?-1:1),Ue&&!Ie&&(Ie=Ue<1?-1:1),{spinX:$e,spinY:Ie,pixelX:Fe,pixelY:Ue}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b("wheel")?"wheel":"mousewheel"};var Y=T;/** +* Checks if an event is supported in the current execution environment. +* +* NOTE: This will not work correctly for non-generic events such as `change`, +* `reset`, `load`, `error`, and `select`. +* +* Borrows from Modernizr. +* +* @param {string} eventNameSuffix Event name, e.g. "click". +* @param {?boolean} capture Check if the capture phase is supported. +* @return {boolean} True if the event is supported. +* @internal +* @license Modernizr 3.0.0pre (Custom Build) | MIT +*/const mousewheel=function(xe,$e){if(xe&&xe.addEventListener){const Ie=function(Fe){const Ue=Y(Fe);$e&&Reflect.apply($e,this,[Fe,Ue])};xe.addEventListener("wheel",Ie,{passive:!0})}},Mousewheel={beforeMount(xe,$e){mousewheel(xe,$e.value)}},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),_hoisted_1$11=["onClick"],_hoisted_2$G=["onMouseenter"],_sfc_main$22=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("time"),{getHoursList:Ue,getMinutesList:qe,getSecondsList:At}=getTimeLists(Ie.disabledHours,Ie.disabledMinutes,Ie.disabledSeconds);let Dt=!1;const Lt=ref(),jt=ref(),hn=ref(),vn=ref(),bn={hours:jt,minutes:hn,seconds:vn},_n=computed(()=>Ie.showSeconds?timeUnits$2:timeUnits$2.slice(0,2)),wn=computed(()=>{const{spinnerDate:zn}=Ie,jn=zn.hour(),Gn=zn.minute(),Wn=zn.second();return{hours:jn,minutes:Gn,seconds:Wn}}),kn=computed(()=>{const{hours:zn,minutes:jn}=unref(wn);return{hours:Ue(Ie.role),minutes:qe(zn,Ie.role),seconds:At(zn,jn,Ie.role)}}),Cn=computed(()=>{const{hours:zn,minutes:jn,seconds:Gn}=unref(wn);return{hours:buildTimeList(zn,23),minutes:buildTimeList(jn,59),seconds:buildTimeList(Gn,59)}}),Sn=debounce(zn=>{Dt=!1,Tn(zn)},200),xn=zn=>{if(!!!Ie.amPmMode)return"";const Gn=Ie.amPmMode==="A";let Wn=zn<12?" am":" pm";return Gn&&(Wn=Wn.toUpperCase()),Wn},En=zn=>{let jn;switch(zn){case"hours":jn=[0,2];break;case"minutes":jn=[3,5];break;case"seconds":jn=[6,8];break}const[Gn,Wn]=jn;$e("select-range",Gn,Wn),Lt.value=zn},Tn=zn=>{Pn(zn,unref(wn)[zn])},An=()=>{Tn("hours"),Tn("minutes"),Tn("seconds")},$n=zn=>zn.querySelector(`.${Fe.namespace.value}-scrollbar__wrap`),Pn=(zn,jn)=>{if(Ie.arrowControl)return;const Gn=unref(bn[zn]);Gn&&Gn.$el&&($n(Gn.$el).scrollTop=Math.max(0,jn*Nn(zn)))},Nn=zn=>{const jn=unref(bn[zn]),Gn=jn==null?void 0:jn.$el.querySelector("li");return Gn&&Number.parseFloat(getStyle$1(Gn,"height"))||0},Mn=()=>{On(1)},In=()=>{On(-1)},On=zn=>{Lt.value||En("hours");const jn=Lt.value,Gn=unref(wn)[jn],Wn=Lt.value==="hours"?24:60,Xn=Rn(jn,Gn,zn,Wn);Bn(jn,Xn),Pn(jn,Xn),nextTick(()=>En(jn))},Rn=(zn,jn,Gn,Wn)=>{let Xn=(jn+Gn+Wn)%Wn;const er=unref(kn)[zn];for(;er[Xn]&&Xn!==jn;)Xn=(Xn+Gn+Wn)%Wn;return Xn},Bn=(zn,jn)=>{if(unref(kn)[zn][jn])return;const{hours:Xn,minutes:er,seconds:rr}=unref(wn);let Jn;switch(zn){case"hours":Jn=Ie.spinnerDate.hour(jn).minute(er).second(rr);break;case"minutes":Jn=Ie.spinnerDate.hour(Xn).minute(jn).second(rr);break;case"seconds":Jn=Ie.spinnerDate.hour(Xn).minute(er).second(jn);break}$e("change",Jn)},Vn=(zn,{value:jn,disabled:Gn})=>{Gn||(Bn(zn,jn),En(zn),Pn(zn,jn))},Ln=zn=>{Dt=!0,Sn(zn);const jn=Math.min(Math.round(($n(unref(bn[zn]).$el).scrollTop-(Dn(zn)*.5-10)/Nn(zn)+3)/Nn(zn)),zn==="hours"?23:59);Bn(zn,jn)},Dn=zn=>unref(bn[zn]).$el.offsetHeight,Hn=()=>{const zn=jn=>{const Gn=unref(bn[jn]);Gn&&Gn.$el&&($n(Gn.$el).onscroll=()=>{Ln(jn)})};zn("hours"),zn("minutes"),zn("seconds")};onMounted(()=>{nextTick(()=>{!Ie.arrowControl&&Hn(),An(),Ie.role==="start"&&En("hours")})});const Fn=(zn,jn)=>{bn[jn].value=zn};return $e("set-option",[`${Ie.role}_scrollDown`,On]),$e("set-option",[`${Ie.role}_emitSelectRange`,En]),watch(()=>Ie.spinnerDate,()=>{Dt||An()}),(zn,jn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b("spinner"),{"has-seconds":zn.showSeconds}])},[zn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(_n),Gn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Gn,ref_for:!0,ref:Wn=>Fn(Wn,Gn),class:normalizeClass(unref(Fe).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(Fe).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Wn=>En(Gn),onMousemove:Wn=>Tn(Gn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(kn)[Gn],(Wn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(Fe).be("spinner","item"),unref(Fe).is("active",Xn===unref(wn)[Gn]),unref(Fe).is("disabled",Wn)]),onClick:er=>Vn(Gn,{value:Xn,disabled:Wn})},[Gn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(zn.amPmMode?Xn%12||12:Xn)).slice(-2))+toDisplayString(xn(Xn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Xn).slice(-2)),1)],64))],10,_hoisted_1$11))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),zn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(_n),Gn=>(openBlock(),createElementBlock("div",{key:Gn,class:normalizeClass([unref(Fe).be("spinner","wrapper"),unref(Fe).is("arrow")]),onMouseenter:Wn=>En(Gn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(Fe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),In]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(Fe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Mn]]),createBaseVNode("ul",{class:normalizeClass(unref(Fe).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Cn)[Gn],(Wn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(Fe).be("spinner","item"),unref(Fe).is("active",Wn===unref(wn)[Gn]),unref(Fe).is("disabled",unref(kn)[Gn][Wn])])},[typeof Wn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Gn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(zn.amPmMode?Wn%12||12:Wn)).slice(-2))+toDisplayString(xn(Wn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Wn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$G))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$1(_sfc_main$22,[["__file","basic-time-spinner.vue"]]);const _sfc_main$21=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=inject("EP_PICKER_BASE"),{arrowControl:Ue,disabledHours:qe,disabledMinutes:At,disabledSeconds:Dt,defaultValue:Lt}=Fe.props,{getAvailableHours:jt,getAvailableMinutes:hn,getAvailableSeconds:vn}=buildAvailableTimeSlotGetter(qe,At,Dt),bn=useNamespace("time"),{t:_n,lang:wn}=useLocale(),kn=ref([0,2]),Cn=useOldValue(Ie),Sn=computed(()=>isUndefined(Ie.actualVisible)?`${bn.namespace.value}-zoom-in-top`:""),xn=computed(()=>Ie.format.includes("ss")),En=computed(()=>Ie.format.includes("A")?"A":Ie.format.includes("a")?"a":""),Tn=Fn=>{const zn=dayjs(Fn).locale(wn.value),jn=Vn(zn);return zn.isSame(jn)},An=()=>{$e("pick",Cn.value,!1)},$n=(Fn=!1,zn=!1)=>{zn||$e("pick",Ie.parsedValue,Fn)},Pn=Fn=>{if(!Ie.visible)return;const zn=Vn(Fn).millisecond(0);$e("pick",zn,!0)},Nn=(Fn,zn)=>{$e("select-range",Fn,zn),kn.value=[Fn,zn]},Mn=Fn=>{const zn=[0,3].concat(xn.value?[6]:[]),jn=["hours","minutes"].concat(xn.value?["seconds"]:[]),Wn=(zn.indexOf(kn.value[0])+Fn+zn.length)%zn.length;On.start_emitSelectRange(jn[Wn])},In=Fn=>{const zn=Fn.code,{left:jn,right:Gn,up:Wn,down:Xn}=EVENT_CODE;if([jn,Gn].includes(zn)){Mn(zn===jn?-1:1),Fn.preventDefault();return}if([Wn,Xn].includes(zn)){const er=zn===Wn?-1:1;On.start_scrollDown(er),Fn.preventDefault();return}},{timePickerOptions:On,onSetOption:Rn,getAvailableTime:Bn}=useTimePanel({getAvailableHours:jt,getAvailableMinutes:hn,getAvailableSeconds:vn}),Vn=Fn=>Bn(Fn,Ie.datetimeRole||"",!0),Ln=Fn=>Fn?dayjs(Fn,Ie.format).locale(wn.value):null,Dn=Fn=>Fn?Fn.format(Ie.format):null,Hn=()=>dayjs(Lt).locale(wn.value);return $e("set-picker-option",["isValidValue",Tn]),$e("set-picker-option",["formatToString",Dn]),$e("set-picker-option",["parseUserInput",Ln]),$e("set-picker-option",["handleKeydownInput",In]),$e("set-picker-option",["getRangeAvailableTime",Vn]),$e("set-picker-option",["getDefaultValue",Hn]),(Fn,zn)=>(openBlock(),createBlock(Transition,{name:unref(Sn)},{default:withCtx(()=>[Fn.actualVisible||Fn.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(bn).be("panel","content"),{"has-seconds":unref(xn)}])},[createVNode$1(TimeSpinner,{ref:"spinner",role:Fn.datetimeRole||"start","arrow-control":unref(Ue),"show-seconds":unref(xn),"am-pm-mode":unref(En),"spinner-date":Fn.parsedValue,"disabled-hours":unref(qe),"disabled-minutes":unref(At),"disabled-seconds":unref(Dt),onChange:Pn,onSetOption:unref(Rn),onSelectRange:Nn},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),createBaseVNode("div",{class:normalizeClass(unref(bn).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).be("panel","btn"),"cancel"]),onClick:An},toDisplayString(unref(_n)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).be("panel","btn"),"confirm"]),onClick:zn[0]||(zn[0]=jn=>$n())},toDisplayString(unref(_n)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$1(_sfc_main$21,[["__file","panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$10=["disabled"],_sfc_main$20=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=(or,sr)=>{const Kn=[];for(let Zn=or;Zn<=sr;Zn++)Kn.push(Zn);return Kn},{t:Ue,lang:qe}=useLocale(),At=useNamespace("time"),Dt=useNamespace("picker"),Lt=inject("EP_PICKER_BASE"),{arrowControl:jt,disabledHours:hn,disabledMinutes:vn,disabledSeconds:bn,defaultValue:_n}=Lt.props,wn=computed(()=>[At.be("range-picker","body"),At.be("panel","content"),At.is("arrow",jt),Tn.value?"has-seconds":""]),kn=computed(()=>[At.be("range-picker","body"),At.be("panel","content"),At.is("arrow",jt),Tn.value?"has-seconds":""]),Cn=computed(()=>Ie.parsedValue[0]),Sn=computed(()=>Ie.parsedValue[1]),xn=useOldValue(Ie),En=()=>{$e("pick",xn.value,!1)},Tn=computed(()=>Ie.format.includes("ss")),An=computed(()=>Ie.format.includes("A")?"A":Ie.format.includes("a")?"a":""),$n=(or=!1)=>{$e("pick",[Cn.value,Sn.value],or)},Pn=or=>{In(or.millisecond(0),Sn.value)},Nn=or=>{In(Cn.value,or.millisecond(0))},Mn=or=>{const sr=or.map(Zn=>dayjs(Zn).locale(qe.value)),Kn=Gn(sr);return sr[0].isSame(Kn[0])&&sr[1].isSame(Kn[1])},In=(or,sr)=>{$e("pick",[or,sr],!0)},On=computed(()=>Cn.value>Sn.value),Rn=ref([0,2]),Bn=(or,sr)=>{$e("select-range",or,sr,"min"),Rn.value=[or,sr]},Vn=computed(()=>Tn.value?11:8),Ln=(or,sr)=>{$e("select-range",or,sr,"max");const Kn=unref(Vn);Rn.value=[or+Kn,sr+Kn]},Dn=or=>{const sr=Tn.value?[0,3,6,11,14,17]:[0,3,8,11],Kn=["hours","minutes"].concat(Tn.value?["seconds"]:[]),nr=(sr.indexOf(Rn.value[0])+or+sr.length)%sr.length,lr=sr.length/2;nr{const sr=or.code,{left:Kn,right:Zn,up:nr,down:lr}=EVENT_CODE;if([Kn,Zn].includes(sr)){Dn(sr===Kn?-1:1),or.preventDefault();return}if([nr,lr].includes(sr)){const ir=sr===nr?-1:1,kr=Rn.value[0]{const Kn=hn?hn(or):[],Zn=or==="start",lr=(sr||(Zn?Sn.value:Cn.value)).hour(),ir=Zn?Fe(lr+1,23):Fe(0,lr-1);return union(Kn,ir)},zn=(or,sr,Kn)=>{const Zn=vn?vn(or,sr):[],nr=sr==="start",lr=Kn||(nr?Sn.value:Cn.value),ir=lr.hour();if(or!==ir)return Zn;const kr=lr.minute(),Cr=nr?Fe(kr+1,59):Fe(0,kr-1);return union(Zn,Cr)},jn=(or,sr,Kn,Zn)=>{const nr=bn?bn(or,sr,Kn):[],lr=Kn==="start",ir=Zn||(lr?Sn.value:Cn.value),kr=ir.hour(),Cr=ir.minute();if(or!==kr||sr!==Cr)return nr;const Er=ir.second(),dr=lr?Fe(Er+1,59):Fe(0,Er-1);return union(nr,dr)},Gn=([or,sr])=>[Jn(or,"start",!0,sr),Jn(sr,"end",!1,or)],{getAvailableHours:Wn,getAvailableMinutes:Xn,getAvailableSeconds:er}=buildAvailableTimeSlotGetter(Fn,zn,jn),{timePickerOptions:rr,getAvailableTime:Jn,onSetOption:Yn}=useTimePanel({getAvailableHours:Wn,getAvailableMinutes:Xn,getAvailableSeconds:er}),qn=or=>or?isArray$6(or)?or.map(sr=>dayjs(sr,Ie.format).locale(qe.value)):dayjs(or,Ie.format).locale(qe.value):null,ar=or=>or?isArray$6(or)?or.map(sr=>sr.format(Ie.format)):or.format(Ie.format):null,tr=()=>{if(isArray$6(_n))return _n.map(sr=>dayjs(sr).locale(qe.value));const or=dayjs(_n).locale(qe.value);return[or,or.add(60,"m")]};return $e("set-picker-option",["formatToString",ar]),$e("set-picker-option",["parseUserInput",qn]),$e("set-picker-option",["isValidValue",Mn]),$e("set-picker-option",["handleKeydownInput",Hn]),$e("set-picker-option",["getDefaultValue",tr]),$e("set-picker-option",["getRangeAvailableTime",Gn]),(or,sr)=>or.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(At).b("range-picker"),unref(Dt).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","header"))},toDisplayString(unref(Ue)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(unref(wn))},[createVNode$1(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(Tn),"am-pm-mode":unref(An),"arrow-control":unref(jt),"spinner-date":unref(Cn),"disabled-hours":Fn,"disabled-minutes":zn,"disabled-seconds":jn,onChange:Pn,onSetOption:unref(Yn),onSelectRange:Bn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","header"))},toDisplayString(unref(Ue)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(unref(kn))},[createVNode$1(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(Tn),"am-pm-mode":unref(An),"arrow-control":unref(jt),"spinner-date":unref(Sn),"disabled-hours":Fn,"disabled-minutes":zn,"disabled-seconds":jn,onChange:Nn,onSetOption:unref(Yn),onSelectRange:Ln},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(At).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(At).be("panel","btn"),"cancel"]),onClick:sr[0]||(sr[0]=Kn=>En())},toDisplayString(unref(Ue)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(At).be("panel","btn"),"confirm"]),disabled:unref(On),onClick:sr[1]||(sr[1]=Kn=>$n())},toDisplayString(unref(Ue)("el.datepicker.confirm")),11,_hoisted_1$10)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$1(_sfc_main$20,[["__file","panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(xe,$e){const Ie=ref(),[Fe,Ue]=xe.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],qe=At=>$e.emit("update:modelValue",At);return provide("ElPopperOptions",xe.popperOptions),$e.expose({focus:At=>{var Dt;(Dt=Ie.value)==null||Dt.handleFocusInput(At)},blur:At=>{var Dt;(Dt=Ie.value)==null||Dt.handleBlurInput(At)},handleOpen:()=>{var At;(At=Ie.value)==null||At.handleOpen()},handleClose:()=>{var At;(At=Ie.value)==null||At.handleClose()}}),()=>{var At;const Dt=(At=xe.format)!=null?At:DEFAULT_FORMATS_TIME;return createVNode$1(CommonPicker,mergeProps(xe,{ref:Ie,type:Fe,format:Dt,"onUpdate:modelValue":qe}),{default:Lt=>createVNode$1(Ue,Lt,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=xe=>{xe.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(xe,$e)=>{const Ie=xe.subtract(1,"month").endOf("month").date();return rangeArr($e).map((Fe,Ue)=>Ie-($e-Ue-1))},getMonthDays=xe=>{const $e=xe.daysInMonth();return rangeArr($e).map((Ie,Fe)=>Fe+1)},toNestedArr=xe=>rangeArr(xe.length/7).map($e=>{const Ie=$e*7;return xe.slice(Ie,Ie+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:xe=>isObject$8(xe)};var localeData$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe,Ue){var qe=Fe.prototype,At=function(vn){return vn&&(vn.indexOf?vn:vn.s)},Dt=function(vn,bn,_n,wn,kn){var Cn=vn.name?vn:vn.$locale(),Sn=At(Cn[bn]),xn=At(Cn[_n]),En=Sn||xn.map(function(An){return An.slice(0,wn)});if(!kn)return En;var Tn=Cn.weekStart;return En.map(function(An,$n){return En[($n+(Tn||0))%7]})},Lt=function(){return Ue.Ls[Ue.locale()]},jt=function(vn,bn){return vn.formats[bn]||function(_n){return _n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(wn,kn,Cn){return kn||Cn.slice(1)})}(vn.formats[bn.toUpperCase()])},hn=function(){var vn=this;return{months:function(bn){return bn?bn.format("MMMM"):Dt(vn,"months")},monthsShort:function(bn){return bn?bn.format("MMM"):Dt(vn,"monthsShort","months",3)},firstDayOfWeek:function(){return vn.$locale().weekStart||0},weekdays:function(bn){return bn?bn.format("dddd"):Dt(vn,"weekdays")},weekdaysMin:function(bn){return bn?bn.format("dd"):Dt(vn,"weekdaysMin","weekdays",2)},weekdaysShort:function(bn){return bn?bn.format("ddd"):Dt(vn,"weekdaysShort","weekdays",3)},longDateFormat:function(bn){return jt(vn.$locale(),bn)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};qe.localeData=function(){return hn.bind(this)()},Ue.localeData=function(){var vn=Lt();return{firstDayOfWeek:function(){return vn.weekStart||0},weekdays:function(){return Ue.weekdays()},weekdaysShort:function(){return Ue.weekdaysShort()},weekdaysMin:function(){return Ue.weekdaysMin()},months:function(){return Ue.months()},monthsShort:function(){return Ue.monthsShort()},longDateFormat:function(bn){return jt(vn,bn)},meridiem:vn.meridiem,ordinal:vn.ordinal}},Ue.months=function(){return Dt(Lt(),"months")},Ue.monthsShort=function(){return Dt(Lt(),"monthsShort","months",3)},Ue.weekdays=function(vn){return Dt(Lt(),"weekdays",null,null,vn)},Ue.weekdaysShort=function(vn){return Dt(Lt(),"weekdaysShort","weekdays",3,vn)},Ue.weekdaysMin=function(vn){return Dt(Lt(),"weekdaysMin","weekdays",2,vn)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(xe,$e)=>{dayjs.extend(localeData);const Ie=dayjs.localeData().firstDayOfWeek(),{t:Fe,lang:Ue}=useLocale(),qe=dayjs().locale(Ue.value),At=computed(()=>!!xe.range&&!!xe.range.length),Dt=computed(()=>{let bn=[];if(At.value){const[_n,wn]=xe.range,kn=rangeArr(wn.date()-_n.date()+1).map(xn=>({text:_n.date()+xn,type:"current"}));let Cn=kn.length%7;Cn=Cn===0?0:7-Cn;const Sn=rangeArr(Cn).map((xn,En)=>({text:En+1,type:"next"}));bn=kn.concat(Sn)}else{const _n=xe.date.startOf("month").day(),wn=getPrevMonthLastDays(xe.date,(_n-Ie+7)%7).map(xn=>({text:xn,type:"prev"})),kn=getMonthDays(xe.date).map(xn=>({text:xn,type:"current"}));bn=[...wn,...kn];const Cn=7-(bn.length%7||7),Sn=rangeArr(Cn).map((xn,En)=>({text:En+1,type:"next"}));bn=bn.concat(Sn)}return toNestedArr(bn)}),Lt=computed(()=>{const bn=Ie;return bn===0?WEEK_DAYS.map(_n=>Fe(`el.datepicker.weeks.${_n}`)):WEEK_DAYS.slice(bn).concat(WEEK_DAYS.slice(0,bn)).map(_n=>Fe(`el.datepicker.weeks.${_n}`))}),jt=(bn,_n)=>{switch(_n){case"prev":return xe.date.startOf("month").subtract(1,"month").date(bn);case"next":return xe.date.startOf("month").add(1,"month").date(bn);case"current":return xe.date.date(bn)}};return{now:qe,isInRange:At,rows:Dt,weekDays:Lt,getFormattedDate:jt,handlePickDay:({text:bn,type:_n})=>{const wn=jt(bn,_n);$e("pick",wn)},getSlotData:({text:bn,type:_n})=>{const wn=jt(bn,_n);return{isSelected:wn.isSame(xe.selectedDay),type:`${_n}-month`,day:wn.format("YYYY-MM-DD"),date:wn.toDate()}}}},_hoisted_1$$={key:0},_hoisted_2$F=["onClick"],__default__$1o=defineComponent({name:"DateTable"}),_sfc_main$1$=defineComponent({...__default__$1o,props:dateTableProps,emits:dateTableEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{isInRange:Ue,now:qe,rows:At,weekDays:Dt,getFormattedDate:Lt,handlePickDay:jt,getSlotData:hn}=useDateTable(Fe,Ie),vn=useNamespace("calendar-table"),bn=useNamespace("calendar-day"),_n=({text:wn,type:kn})=>{const Cn=[kn];if(kn==="current"){const Sn=Lt(wn,kn);Sn.isSame(Fe.selectedDay,"day")&&Cn.push(bn.is("selected")),Sn.isSame(qe,"day")&&Cn.push(bn.is("today"))}return Cn};return $e({getFormattedDate:Lt}),(wn,kn)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(vn).b(),unref(vn).is("range",unref(Ue))]),cellspacing:"0",cellpadding:"0"},[wn.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$$,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Dt),Cn=>(openBlock(),createElementBlock("th",{key:Cn},toDisplayString(Cn),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(At),(Cn,Sn)=>(openBlock(),createElementBlock("tr",{key:Sn,class:normalizeClass({[unref(vn).e("row")]:!0,[unref(vn).em("row","hide-border")]:Sn===0&&wn.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Cn,(xn,En)=>(openBlock(),createElementBlock("td",{key:En,class:normalizeClass(_n(xn)),onClick:Tn=>unref(jt)(xn)},[createBaseVNode("div",{class:normalizeClass(unref(bn).b())},[renderSlot(wn.$slots,"date-cell",{data:unref(hn)(xn)},()=>[createBaseVNode("span",null,toDisplayString(xn.text),1)])],2)],10,_hoisted_2$F))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$1(_sfc_main$1$,[["__file","date-table.vue"]]);const adjacentMonth=(xe,$e)=>{const Ie=xe.endOf("month"),Fe=$e.startOf("month"),qe=Ie.isSame(Fe,"week")?Fe.add(1,"week"):Fe;return[[xe,Ie],[qe.startOf("week"),$e]]},threeConsecutiveMonth=(xe,$e)=>{const Ie=xe.endOf("month"),Fe=xe.add(1,"month").startOf("month"),Ue=Ie.isSame(Fe,"week")?Fe.add(1,"week"):Fe,qe=Ue.endOf("month"),At=$e.startOf("month"),Dt=qe.isSame(At,"week")?At.add(1,"week"):At;return[[xe,Ie],[Ue.startOf("week"),qe],[Dt.startOf("week"),$e]]},useCalendar=(xe,$e,Ie)=>{const{lang:Fe}=useLocale(),Ue=ref(),qe=dayjs().locale(Fe.value),At=computed({get(){return xe.modelValue?Lt.value:Ue.value},set(Cn){if(!Cn)return;Ue.value=Cn;const Sn=Cn.toDate();$e(INPUT_EVENT,Sn),$e(UPDATE_MODEL_EVENT,Sn)}}),Dt=computed(()=>{if(!xe.range)return[];const Cn=xe.range.map(En=>dayjs(En).locale(Fe.value)),[Sn,xn]=Cn;return Sn.isAfter(xn)?[]:Sn.isSame(xn,"month")?_n(Sn,xn):Sn.add(1,"month").month()!==xn.month()?[]:_n(Sn,xn)}),Lt=computed(()=>xe.modelValue?dayjs(xe.modelValue).locale(Fe.value):At.value||(Dt.value.length?Dt.value[0][0]:qe)),jt=computed(()=>Lt.value.subtract(1,"month").date(1)),hn=computed(()=>Lt.value.add(1,"month").date(1)),vn=computed(()=>Lt.value.subtract(1,"year").date(1)),bn=computed(()=>Lt.value.add(1,"year").date(1)),_n=(Cn,Sn)=>{const xn=Cn.startOf("week"),En=Sn.endOf("week"),Tn=xn.get("month"),An=En.get("month");return Tn===An?[[xn,En]]:(Tn+1)%12===An?adjacentMonth(xn,En):Tn+2===An||(Tn+1)%11===An?threeConsecutiveMonth(xn,En):[]},wn=Cn=>{At.value=Cn};return{calculateValidatedDateRange:_n,date:Lt,realSelectedDay:At,pickDay:wn,selectDate:Cn=>{const xn={"prev-month":jt.value,"next-month":hn.value,"prev-year":vn.value,"next-year":bn.value,today:qe}[Cn];xn.isSame(Lt.value,"day")||wn(xn)},validatedRange:Dt}},isValidRange$1=xe=>isArray$6(xe)&&xe.length===2&&xe.every($e=>isDate$1($e)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:xe=>isDate$1(xe),[INPUT_EVENT]:xe=>isDate$1(xe)},COMPONENT_NAME$g="ElCalendar",__default__$1n=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1_=defineComponent({...__default__$1n,props:calendarProps,emits:calendarEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("calendar"),{calculateValidatedDateRange:qe,date:At,pickDay:Dt,realSelectedDay:Lt,selectDate:jt,validatedRange:hn}=useCalendar(Fe,Ie),{t:vn}=useLocale(),bn=computed(()=>{const _n=`el.datepicker.month${At.value.format("M")}`;return`${At.value.year()} ${vn("el.datepicker.year")} ${vn(_n)}`});return $e({selectedDay:Lt,pickDay:Dt,selectDate:jt,calculateValidatedDateRange:qe}),(_n,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[renderSlot(_n.$slots,"header",{date:unref(bn)},()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("title"))},toDisplayString(unref(bn)),3),unref(hn).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("button-group"))},[createVNode$1(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode$1(unref(ElButton),{size:"small",onClick:wn[0]||(wn[0]=kn=>unref(jt)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.prevMonth")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:wn[1]||(wn[1]=kn=>unref(jt)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.today")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:wn[2]||(wn[2]=kn=>unref(jt)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(hn).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("body"))},[createVNode$1(DateTable$1,{date:unref(At),"selected-day":unref(Lt),onPick:unref(Dt)},createSlots({_:2},[_n.$slots["date-cell"]?{name:"date-cell",fn:withCtx(kn=>[renderSlot(_n.$slots,"date-cell",normalizeProps(guardReactiveProps(kn)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),(kn,Cn)=>(openBlock(),createBlock(DateTable$1,{key:Cn,date:kn[0],"selected-day":unref(Lt),range:kn,"hide-header":Cn!==0,onPick:unref(Dt)},createSlots({_:2},[_n.$slots["date-cell"]?{name:"date-cell",fn:withCtx(Sn=>[renderSlot(_n.$slots,"date-cell",normalizeProps(guardReactiveProps(Sn)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar$1=_export_sfc$1(_sfc_main$1_,[["__file","calendar.vue"]]);const ElCalendar=withInstall(Calendar$1),cardProps=buildProps({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1m=defineComponent({name:"ElCard"}),_sfc_main$1Z=defineComponent({...__default__$1m,props:cardProps,setup(xe){const $e=useNamespace("card");return(Ie,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).b(),unref($e).is(`${Ie.shadow}-shadow`)])},[Ie.$slots.header||Ie.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($e).e("header"))},[renderSlot(Ie.$slots,"header",{},()=>[createTextVNode(toDisplayString(Ie.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref($e).e("body"),Ie.bodyClass]),style:normalizeStyle$1(Ie.bodyStyle)},[renderSlot(Ie.$slots,"default")],6),Ie.$slots.footer||Ie.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref($e).e("footer"))},[renderSlot(Ie.$slots,"footer",{},()=>[createTextVNode(toDisplayString(Ie.footer),1)])],2)):createCommentVNode("v-if",!0)],2))}});var Card=_export_sfc$1(_sfc_main$1Z,[["__file","card.vue"]]);const ElCard=withInstall(Card),carouselProps=buildProps({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}}),carouselEmits={change:(xe,$e)=>[xe,$e].every(isNumber$1)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=(xe,$e,Ie)=>{const{children:Fe,addChild:Ue,removeChild:qe}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),At=useSlots(),Dt=ref(-1),Lt=ref(null),jt=ref(!1),hn=ref(),vn=ref(0),bn=ref(!0),_n=ref(!0),wn=ref(!1),kn=computed(()=>xe.arrow!=="never"&&!unref(xn)),Cn=computed(()=>Fe.value.some(Jn=>Jn.props.label.toString().length>0)),Sn=computed(()=>xe.type==="card"),xn=computed(()=>xe.direction==="vertical"),En=computed(()=>xe.height!=="auto"?{height:xe.height}:{height:`${vn.value}px`,overflow:"hidden"}),Tn=throttle$3(Jn=>{In(Jn)},THROTTLE_TIME,{trailing:!0}),An=throttle$3(Jn=>{zn(Jn)},THROTTLE_TIME),$n=Jn=>bn.value?Dt.value<=1?Jn<=1:Jn>1:!0;function Pn(){Lt.value&&(clearInterval(Lt.value),Lt.value=null)}function Nn(){xe.interval<=0||!xe.autoplay||Lt.value||(Lt.value=setInterval(()=>Mn(),xe.interval))}const Mn=()=>{_n.value||(wn.value=!0),_n.value=!1,Dt.valuetr.props.name===Jn);ar.length>0&&(Jn=Fe.value.indexOf(ar[0]))}if(Jn=Number(Jn),Number.isNaN(Jn)||Jn!==Math.floor(Jn))return;const Yn=Fe.value.length,qn=Dt.value;Jn<0?Dt.value=xe.loop?Yn-1:0:Jn>=Yn?Dt.value=xe.loop?0:Yn-1:Dt.value=Jn,qn===Dt.value&&On(qn),Wn()}function On(Jn){Fe.value.forEach((Yn,qn)=>{Yn.translateItem(qn,Dt.value,Jn)})}function Rn(Jn,Yn){var qn,ar,tr,or;const sr=unref(Fe),Kn=sr.length;if(Kn===0||!Jn.states.inStage)return!1;const Zn=Yn+1,nr=Yn-1,lr=Kn-1,ir=sr[lr].states.active,kr=sr[0].states.active,Cr=(ar=(qn=sr[Zn])==null?void 0:qn.states)==null?void 0:ar.active,Er=(or=(tr=sr[nr])==null?void 0:tr.states)==null?void 0:or.active;return Yn===lr&&kr||Cr?"left":Yn===0&&ir||Er?"right":!1}function Bn(){jt.value=!0,xe.pauseOnHover&&Pn()}function Vn(){jt.value=!1,Nn()}function Ln(){wn.value=!1}function Dn(Jn){unref(xn)||Fe.value.forEach((Yn,qn)=>{Jn===Rn(Yn,qn)&&(Yn.states.hover=!0)})}function Hn(){unref(xn)||Fe.value.forEach(Jn=>{Jn.states.hover=!1})}function Fn(Jn){Jn!==Dt.value&&(_n.value||(wn.value=!0)),Dt.value=Jn}function zn(Jn){xe.trigger==="hover"&&Jn!==Dt.value&&(Dt.value=Jn,_n.value||(wn.value=!0))}function jn(){In(Dt.value-1)}function Gn(){In(Dt.value+1)}function Wn(){Pn(),xe.pauseOnHover||Nn()}function Xn(Jn){xe.height==="auto"&&(vn.value=Jn)}function er(){var Jn;const Yn=(Jn=At.default)==null?void 0:Jn.call(At);if(!Yn)return null;const qn=flattedChildren(Yn),ar="ElCarouselItem",tr=qn.filter(or=>isVNode(or)&&or.type.name===ar);return(tr==null?void 0:tr.length)===2&&xe.loop&&!Sn.value?(bn.value=!0,tr):(bn.value=!1,null)}watch(()=>Dt.value,(Jn,Yn)=>{On(Yn),bn.value&&(Jn=Jn%2,Yn=Yn%2),Yn>-1&&$e("change",Jn,Yn)}),watch(()=>xe.autoplay,Jn=>{Jn?Nn():Pn()}),watch(()=>xe.loop,()=>{In(Dt.value)}),watch(()=>xe.interval,()=>{Wn()});const rr=shallowRef();return onMounted(()=>{watch(()=>Fe.value,()=>{Fe.value.length>0&&In(xe.initialIndex)},{immediate:!0}),rr.value=useResizeObserver(hn.value,()=>{On()}),Nn()}),onBeforeUnmount(()=>{Pn(),hn.value&&rr.value&&rr.value.stop()}),provide(carouselContextKey,{root:hn,isCardType:Sn,isVertical:xn,items:Fe,loop:xe.loop,addItem:Ue,removeItem:qe,setActiveItem:In,setContainerHeight:Xn}),{root:hn,activeIndex:Dt,arrowDisplay:kn,hasLabel:Cn,hover:jt,isCardType:Sn,isTransitioning:wn,items:Fe,isVertical:xn,containerStyle:En,isItemsTwoLength:bn,handleButtonEnter:Dn,handleTransitionEnd:Ln,handleButtonLeave:Hn,handleIndicatorClick:Fn,handleMouseEnter:Bn,handleMouseLeave:Vn,setActiveItem:In,prev:jn,next:Gn,PlaceholderItem:er,isTwoLengthShow:$n,throttledArrowClick:Tn,throttledIndicatorHover:An}},_hoisted_1$_=["aria-label"],_hoisted_2$E=["aria-label"],_hoisted_3$k=["onMouseenter","onClick"],_hoisted_4$c=["aria-label"],_hoisted_5$8={key:0},_hoisted_6$5={key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},_hoisted_7$3=createBaseVNode("defs",null,[createBaseVNode("filter",{id:"elCarouselHorizontal"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),createBaseVNode("filter",{id:"elCarouselVertical"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1),_hoisted_8$3=[_hoisted_7$3],COMPONENT_NAME$f="ElCarousel",__default__$1l=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1Y=defineComponent({...__default__$1l,props:carouselProps,emits:carouselEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{root:Ue,activeIndex:qe,arrowDisplay:At,hasLabel:Dt,hover:Lt,isCardType:jt,items:hn,isVertical:vn,containerStyle:bn,handleButtonEnter:_n,handleButtonLeave:wn,isTransitioning:kn,handleIndicatorClick:Cn,handleMouseEnter:Sn,handleMouseLeave:xn,handleTransitionEnd:En,setActiveItem:Tn,prev:An,next:$n,PlaceholderItem:Pn,isTwoLengthShow:Nn,throttledArrowClick:Mn,throttledIndicatorHover:In}=useCarousel(Fe,Ie),On=useNamespace("carousel"),{t:Rn}=useLocale(),Bn=computed(()=>{const Dn=[On.b(),On.m(Fe.direction)];return unref(jt)&&Dn.push(On.m("card")),Dn}),Vn=computed(()=>{const Dn=[On.e("container")];return Fe.motionBlur&&unref(kn)&&Dn.push(unref(vn)?`${On.namespace.value}-transitioning-vertical`:`${On.namespace.value}-transitioning`),Dn}),Ln=computed(()=>{const Dn=[On.e("indicators"),On.em("indicators",Fe.direction)];return unref(Dt)&&Dn.push(On.em("indicators","labels")),Fe.indicatorPosition==="outside"&&Dn.push(On.em("indicators","outside")),unref(vn)&&Dn.push(On.em("indicators","right")),Dn});return $e({setActiveItem:Tn,prev:An,next:$n}),(Dn,Hn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:Ue,class:normalizeClass(unref(Bn)),onMouseenter:Hn[7]||(Hn[7]=withModifiers((...Fn)=>unref(Sn)&&unref(Sn)(...Fn),["stop"])),onMouseleave:Hn[8]||(Hn[8]=withModifiers((...Fn)=>unref(xn)&&unref(xn)(...Fn),["stop"]))},[unref(At)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("arrow"),unref(On).em("arrow","left")]),"aria-label":unref(Rn)("el.carousel.leftArrow"),onMouseenter:Hn[0]||(Hn[0]=Fn=>unref(_n)("left")),onMouseleave:Hn[1]||(Hn[1]=(...Fn)=>unref(wn)&&unref(wn)(...Fn)),onClick:Hn[2]||(Hn[2]=withModifiers(Fn=>unref(Mn)(unref(qe)-1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],42,_hoisted_1$_),[[vShow,(Dn.arrow==="always"||unref(Lt))&&(Fe.loop||unref(qe)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(At)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("arrow"),unref(On).em("arrow","right")]),"aria-label":unref(Rn)("el.carousel.rightArrow"),onMouseenter:Hn[3]||(Hn[3]=Fn=>unref(_n)("right")),onMouseleave:Hn[4]||(Hn[4]=(...Fn)=>unref(wn)&&unref(wn)(...Fn)),onClick:Hn[5]||(Hn[5]=withModifiers(Fn=>unref(Mn)(unref(qe)+1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],42,_hoisted_2$E),[[vShow,(Dn.arrow==="always"||unref(Lt))&&(Fe.loop||unref(qe)unref(En)&&unref(En)(...Fn))},[createVNode$1(unref(Pn)),renderSlot(Dn.$slots,"default")],38),Dn.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:2,class:normalizeClass(unref(Ln))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),(Fn,zn)=>withDirectives((openBlock(),createElementBlock("li",{key:zn,class:normalizeClass([unref(On).e("indicator"),unref(On).em("indicator",Dn.direction),unref(On).is("active",zn===unref(qe))]),onMouseenter:jn=>unref(In)(zn),onClick:withModifiers(jn=>unref(Cn)(zn),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(On).e("button")),"aria-label":unref(Rn)("el.carousel.indicator",{index:zn+1})},[unref(Dt)?(openBlock(),createElementBlock("span",_hoisted_5$8,toDisplayString(Fn.props.label),1)):createCommentVNode("v-if",!0)],10,_hoisted_4$c)],42,_hoisted_3$k)),[[vShow,unref(Nn)(zn)]])),128))],2)):createCommentVNode("v-if",!0),Fe.motionBlur?(openBlock(),createElementBlock("svg",_hoisted_6$5,_hoisted_8$3)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$1(_sfc_main$1Y,[["__file","carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=(xe,$e)=>{const Ie=inject(carouselContextKey),Fe=getCurrentInstance(),Ue=.83,qe=ref(),At=ref(!1),Dt=ref(0),Lt=ref(1),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=ref(!1),{isCardType:_n,isVertical:wn}=Ie;function kn(Tn,An,$n){const Pn=$n-1,Nn=An-1,Mn=An+1,In=$n/2;return An===0&&Tn===Pn?-1:An===Pn&&Tn===0?$n:Tn=In?$n+1:Tn>Mn&&Tn-An>=In?-2:Tn}function Cn(Tn,An){var $n,Pn;const Nn=unref(wn)?(($n=Ie.root.value)==null?void 0:$n.offsetHeight)||0:((Pn=Ie.root.value)==null?void 0:Pn.offsetWidth)||0;return vn.value?Nn*((2-Ue)*(Tn-An)+1)/4:Tn{var Pn;const Nn=unref(_n),Mn=(Pn=Ie.items.value.length)!=null?Pn:Number.NaN,In=Tn===An;!Nn&&!isUndefined($n)&&(bn.value=In||Tn===$n),!In&&Mn>2&&Ie.loop&&(Tn=kn(Tn,An,Mn));const On=unref(wn);jt.value=In,Nn?(vn.value=Math.round(Math.abs(Tn-An))<=1,Dt.value=Cn(Tn,An),Lt.value=unref(jt)?1:Ue):Dt.value=Sn(Tn,An,On),hn.value=!0,In&&qe.value&&Ie.setContainerHeight(qe.value.offsetHeight)};function En(){if(Ie&&unref(_n)){const Tn=Ie.items.value.findIndex(({uid:An})=>An===Fe.uid);Ie.setActiveItem(Tn)}}return onMounted(()=>{Ie.addItem({props:xe,states:reactive({hover:At,translate:Dt,scale:Lt,active:jt,ready:hn,inStage:vn,animating:bn}),uid:Fe.uid,translateItem:xn})}),onUnmounted(()=>{Ie.removeItem(Fe.uid)}),{carouselItemRef:qe,active:jt,animating:bn,hover:At,inStage:vn,isVertical:wn,translate:Dt,isCardType:_n,scale:Lt,ready:hn,handleItemClick:En}},__default__$1k=defineComponent({name:"ElCarouselItem"}),_sfc_main$1X=defineComponent({...__default__$1k,props:carouselItemProps,setup(xe){const $e=xe,Ie=useNamespace("carousel"),{carouselItemRef:Fe,active:Ue,animating:qe,hover:At,inStage:Dt,isVertical:Lt,translate:jt,isCardType:hn,scale:vn,ready:bn,handleItemClick:_n}=useCarouselItem($e),wn=computed(()=>[Ie.e("item"),Ie.is("active",Ue.value),Ie.is("in-stage",Dt.value),Ie.is("hover",At.value),Ie.is("animating",qe.value),{[Ie.em("item","card")]:hn.value,[Ie.em("item","card-vertical")]:hn.value&&Lt.value}]),kn=computed(()=>{const Sn=`${`translate${unref(Lt)?"Y":"X"}`}(${unref(jt)}px)`,xn=`scale(${unref(vn)})`;return{transform:[Sn,xn].join(" ")}});return(Cn,Sn)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:Fe,class:normalizeClass(unref(wn)),style:normalizeStyle$1(unref(kn)),onClick:Sn[0]||(Sn[0]=(...xn)=>unref(_n)&&unref(_n)(...xn))},[unref(hn)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("mask"))},null,2)),[[vShow,!unref(Ue)]]):createCommentVNode("v-if",!0),renderSlot(Cn.$slots,"default")],6)),[[vShow,unref(bn)]])}});var CarouselItem=_export_sfc$1(_sfc_main$1X,[["__file","carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaControls"])},checkboxEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe),change:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:xe,isChecked:$e})=>{const Ie=inject(checkboxGroupContextKey,void 0),Fe=computed(()=>{var qe,At;const Dt=(qe=Ie==null?void 0:Ie.max)==null?void 0:qe.value,Lt=(At=Ie==null?void 0:Ie.min)==null?void 0:At.value;return!isUndefined(Dt)&&xe.value.length>=Dt&&!$e.value||!isUndefined(Lt)&&xe.value.length<=Lt&&$e.value});return{isDisabled:useFormDisabled(computed(()=>(Ie==null?void 0:Ie.disabled.value)||Fe.value)),isLimitDisabled:Fe}},useCheckboxEvent=(xe,{model:$e,isLimitExceeded:Ie,hasOwnLabel:Fe,isDisabled:Ue,isLabeledByFormItem:qe})=>{const At=inject(checkboxGroupContextKey,void 0),{formItem:Dt}=useFormItem(),{emit:Lt}=getCurrentInstance();function jt(wn){var kn,Cn,Sn,xn;return[!0,xe.trueValue,xe.trueLabel].includes(wn)?(Cn=(kn=xe.trueValue)!=null?kn:xe.trueLabel)!=null?Cn:!0:(xn=(Sn=xe.falseValue)!=null?Sn:xe.falseLabel)!=null?xn:!1}function hn(wn,kn){Lt("change",jt(wn),kn)}function vn(wn){if(Ie.value)return;const kn=wn.target;Lt("change",jt(kn.checked),wn)}async function bn(wn){Ie.value||!Fe.value&&!Ue.value&&qe.value&&(wn.composedPath().some(Sn=>Sn.tagName==="LABEL")||($e.value=jt([!1,xe.falseValue,xe.falseLabel].includes($e.value)),await nextTick(),hn($e.value,wn)))}const _n=computed(()=>(At==null?void 0:At.validateEvent)||xe.validateEvent);return watch(()=>xe.modelValue,()=>{_n.value&&(Dt==null||Dt.validate("change").catch(wn=>void 0))}),{handleChange:vn,onClickRoot:bn}},useCheckboxModel=xe=>{const $e=ref(!1),{emit:Ie}=getCurrentInstance(),Fe=inject(checkboxGroupContextKey,void 0),Ue=computed(()=>isUndefined(Fe)===!1),qe=ref(!1),At=computed({get(){var Dt,Lt;return Ue.value?(Dt=Fe==null?void 0:Fe.modelValue)==null?void 0:Dt.value:(Lt=xe.modelValue)!=null?Lt:$e.value},set(Dt){var Lt,jt;Ue.value&&isArray$6(Dt)?(qe.value=((Lt=Fe==null?void 0:Fe.max)==null?void 0:Lt.value)!==void 0&&Dt.length>(Fe==null?void 0:Fe.max.value)&&Dt.length>At.value.length,qe.value===!1&&((jt=Fe==null?void 0:Fe.changeEvent)==null||jt.call(Fe,Dt))):(Ie(UPDATE_MODEL_EVENT,Dt),$e.value=Dt)}});return{model:At,isGroup:Ue,isLimitExceeded:qe}},useCheckboxStatus=(xe,$e,{model:Ie})=>{const Fe=inject(checkboxGroupContextKey,void 0),Ue=ref(!1),qe=computed(()=>isPropAbsent(xe.value)?xe.label:xe.value),At=computed(()=>{const hn=Ie.value;return isBoolean(hn)?hn:isArray$6(hn)?isObject$8(qe.value)?hn.map(toRaw).some(vn=>isEqual$1(vn,qe.value)):hn.map(toRaw).includes(qe.value):hn!=null?hn===xe.trueValue||hn===xe.trueLabel:!!hn}),Dt=useFormSize(computed(()=>{var hn;return(hn=Fe==null?void 0:Fe.size)==null?void 0:hn.value}),{prop:!0}),Lt=useFormSize(computed(()=>{var hn;return(hn=Fe==null?void 0:Fe.size)==null?void 0:hn.value})),jt=computed(()=>!!$e.default||!isPropAbsent(qe.value));return{checkboxButtonSize:Dt,isChecked:At,isFocused:Ue,checkboxSize:Lt,hasOwnLabel:jt,actualValue:qe}},useCheckbox=(xe,$e)=>{const{formItem:Ie}=useFormItem(),{model:Fe,isGroup:Ue,isLimitExceeded:qe}=useCheckboxModel(xe),{isFocused:At,isChecked:Dt,checkboxButtonSize:Lt,checkboxSize:jt,hasOwnLabel:hn,actualValue:vn}=useCheckboxStatus(xe,$e,{model:Fe}),{isDisabled:bn}=useCheckboxDisabled({model:Fe,isChecked:Dt}),{inputId:_n,isLabeledByFormItem:wn}=useFormItemInputId(xe,{formItemContext:Ie,disableIdGeneration:hn,disableIdManagement:Ue}),{handleChange:kn,onClickRoot:Cn}=useCheckboxEvent(xe,{model:Fe,isLimitExceeded:qe,hasOwnLabel:hn,isDisabled:bn,isLabeledByFormItem:wn});return(()=>{function xn(){var En,Tn;isArray$6(Fe.value)&&!Fe.value.includes(vn.value)?Fe.value.push(vn.value):Fe.value=(Tn=(En=xe.trueValue)!=null?En:xe.trueLabel)!=null?Tn:!0}xe.checked&&xn()})(),useDeprecated({from:"controls",replacement:"aria-controls",version:"2.8.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.controls)),useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>Ue.value&&isPropAbsent(xe.value))),useDeprecated({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.trueLabel)),useDeprecated({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.falseLabel)),{inputId:_n,isLabeledByFormItem:wn,isChecked:Dt,isDisabled:bn,isFocused:At,checkboxButtonSize:Lt,checkboxSize:jt,hasOwnLabel:hn,model:Fe,actualValue:vn,handleChange:kn,onClickRoot:Cn}},_hoisted_1$Z=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],_hoisted_2$D=["id","indeterminate","disabled","value","name","tabindex"],__default__$1j=defineComponent({name:"ElCheckbox"}),_sfc_main$1W=defineComponent({...__default__$1j,props:checkboxProps,emits:checkboxEmits,setup(xe){const $e=xe,Ie=useSlots(),{inputId:Fe,isLabeledByFormItem:Ue,isChecked:qe,isDisabled:At,isFocused:Dt,checkboxSize:Lt,hasOwnLabel:jt,model:hn,actualValue:vn,handleChange:bn,onClickRoot:_n}=useCheckbox($e,Ie),wn=useNamespace("checkbox"),kn=computed(()=>[wn.b(),wn.m(Lt.value),wn.is("disabled",At.value),wn.is("bordered",$e.border),wn.is("checked",qe.value)]),Cn=computed(()=>[wn.e("input"),wn.is("disabled",At.value),wn.is("checked",qe.value),wn.is("indeterminate",$e.indeterminate),wn.is("focus",Dt.value)]);return(Sn,xn)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(jt)&&unref(Ue)?"span":"label"),{class:normalizeClass(unref(kn)),"aria-controls":Sn.indeterminate?Sn.controls||Sn.ariaControls:null,onClick:unref(_n)},{default:withCtx(()=>{var En,Tn;return[createBaseVNode("span",{class:normalizeClass(unref(Cn))},[Sn.trueValue||Sn.falseValue||Sn.trueLabel||Sn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(Fe),"onUpdate:modelValue":xn[0]||(xn[0]=An=>isRef(hn)?hn.value=An:null),class:normalizeClass(unref(wn).e("original")),type:"checkbox",indeterminate:Sn.indeterminate,name:Sn.name,tabindex:Sn.tabindex,disabled:unref(At),"true-value":(En=Sn.trueValue)!=null?En:Sn.trueLabel,"false-value":(Tn=Sn.falseValue)!=null?Tn:Sn.falseLabel,onChange:xn[1]||(xn[1]=(...An)=>unref(bn)&&unref(bn)(...An)),onFocus:xn[2]||(xn[2]=An=>Dt.value=!0),onBlur:xn[3]||(xn[3]=An=>Dt.value=!1),onClick:xn[4]||(xn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$Z)),[[vModelCheckbox,unref(hn)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(Fe),"onUpdate:modelValue":xn[5]||(xn[5]=An=>isRef(hn)?hn.value=An:null),class:normalizeClass(unref(wn).e("original")),type:"checkbox",indeterminate:Sn.indeterminate,disabled:unref(At),value:unref(vn),name:Sn.name,tabindex:Sn.tabindex,onChange:xn[6]||(xn[6]=(...An)=>unref(bn)&&unref(bn)(...An)),onFocus:xn[7]||(xn[7]=An=>Dt.value=!0),onBlur:xn[8]||(xn[8]=An=>Dt.value=!1),onClick:xn[9]||(xn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$D)),[[vModelCheckbox,unref(hn)]]),createBaseVNode("span",{class:normalizeClass(unref(wn).e("inner"))},null,2)],2),unref(jt)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(wn).e("label"))},[renderSlot(Sn.$slots,"default"),Sn.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Sn.label),1)],64))],2)):createCommentVNode("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc$1(_sfc_main$1W,[["__file","checkbox.vue"]]);const _hoisted_1$Y=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$C=["name","tabindex","disabled","value"],__default__$1i=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1V=defineComponent({...__default__$1i,props:checkboxProps,emits:checkboxEmits,setup(xe){const $e=xe,Ie=useSlots(),{isFocused:Fe,isChecked:Ue,isDisabled:qe,checkboxButtonSize:At,model:Dt,actualValue:Lt,handleChange:jt}=useCheckbox($e,Ie),hn=inject(checkboxGroupContextKey,void 0),vn=useNamespace("checkbox"),bn=computed(()=>{var wn,kn,Cn,Sn;const xn=(kn=(wn=hn==null?void 0:hn.fill)==null?void 0:wn.value)!=null?kn:"";return{backgroundColor:xn,borderColor:xn,color:(Sn=(Cn=hn==null?void 0:hn.textColor)==null?void 0:Cn.value)!=null?Sn:"",boxShadow:xn?`-1px 0 0 0 ${xn}`:void 0}}),_n=computed(()=>[vn.b("button"),vn.bm("button",At.value),vn.is("disabled",qe.value),vn.is("checked",Ue.value),vn.is("focus",Fe.value)]);return(wn,kn)=>{var Cn,Sn;return openBlock(),createElementBlock("label",{class:normalizeClass(unref(_n))},[wn.trueValue||wn.falseValue||wn.trueLabel||wn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":kn[0]||(kn[0]=xn=>isRef(Dt)?Dt.value=xn:null),class:normalizeClass(unref(vn).be("button","original")),type:"checkbox",name:wn.name,tabindex:wn.tabindex,disabled:unref(qe),"true-value":(Cn=wn.trueValue)!=null?Cn:wn.trueLabel,"false-value":(Sn=wn.falseValue)!=null?Sn:wn.falseLabel,onChange:kn[1]||(kn[1]=(...xn)=>unref(jt)&&unref(jt)(...xn)),onFocus:kn[2]||(kn[2]=xn=>Fe.value=!0),onBlur:kn[3]||(kn[3]=xn=>Fe.value=!1),onClick:kn[4]||(kn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$Y)),[[vModelCheckbox,unref(Dt)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":kn[5]||(kn[5]=xn=>isRef(Dt)?Dt.value=xn:null),class:normalizeClass(unref(vn).be("button","original")),type:"checkbox",name:wn.name,tabindex:wn.tabindex,disabled:unref(qe),value:unref(Lt),onChange:kn[6]||(kn[6]=(...xn)=>unref(jt)&&unref(jt)(...xn)),onFocus:kn[7]||(kn[7]=xn=>Fe.value=!0),onBlur:kn[8]||(kn[8]=xn=>Fe.value=!1),onClick:kn[9]||(kn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$C)),[[vModelCheckbox,unref(Dt)]]),wn.$slots.default||wn.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(vn).be("button","inner")),style:normalizeStyle$1(unref(Ue)?unref(bn):void 0)},[renderSlot(wn.$slots,"default",{},()=>[createTextVNode(toDisplayString(wn.label),1)])],6)):createCommentVNode("v-if",!0)],2)}}});var CheckboxButton=_export_sfc$1(_sfc_main$1V,[["__file","checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:useSizeProp,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:xe=>isArray$6(xe),change:xe=>isArray$6(xe)},__default__$1h=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1U=defineComponent({...__default__$1h,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("checkbox"),{formItem:Ue}=useFormItem(),{inputId:qe,isLabeledByFormItem:At}=useFormItemInputId(Ie,{formItemContext:Ue}),Dt=async jt=>{$e(UPDATE_MODEL_EVENT,jt),await nextTick(),$e("change",jt)},Lt=computed({get(){return Ie.modelValue},set(jt){Dt(jt)}});return provide(checkboxGroupContextKey,{...pick(toRefs(Ie),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:Lt,changeEvent:Dt}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-checkbox-group",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!Ie.label)),watch(()=>Ie.modelValue,()=>{Ie.validateEvent&&(Ue==null||Ue.validate("change").catch(jt=>void 0))}),(jt,hn)=>{var vn;return openBlock(),createBlock(resolveDynamicComponent(jt.tag),{id:unref(qe),class:normalizeClass(unref(Fe).b("group")),role:"group","aria-label":unref(At)?void 0:jt.label||jt.ariaLabel||"checkbox-group","aria-labelledby":unref(At)?(vn=unref(Ue))==null?void 0:vn.labelId:void 0},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc$1(_sfc_main$1U,[["__file","checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton,CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({modelValue:{type:[String,Number,Boolean],default:void 0},size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),radioProps=buildProps({...radioPropsBase,border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(xe,$e)=>{const Ie=ref(),Fe=inject(radioGroupKey,void 0),Ue=computed(()=>!!Fe),qe=computed(()=>isPropAbsent(xe.value)?xe.label:xe.value),At=computed({get(){return Ue.value?Fe.modelValue:xe.modelValue},set(vn){Ue.value?Fe.changeEvent(vn):$e&&$e(UPDATE_MODEL_EVENT,vn),Ie.value.checked=xe.modelValue===qe.value}}),Dt=useFormSize(computed(()=>Fe==null?void 0:Fe.size)),Lt=useFormDisabled(computed(()=>Fe==null?void 0:Fe.disabled)),jt=ref(!1),hn=computed(()=>Lt.value||Ue.value&&At.value!==qe.value?-1:0);return useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>Ue.value&&isPropAbsent(xe.value))),{radioRef:Ie,isGroup:Ue,radioGroup:Fe,focus:jt,size:Dt,disabled:Lt,tabIndex:hn,modelValue:At,actualValue:qe}},_hoisted_1$X=["value","name","disabled"],__default__$1g=defineComponent({name:"ElRadio"}),_sfc_main$1T=defineComponent({...__default__$1g,props:radioProps,emits:radioEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("radio"),{radioRef:Ue,radioGroup:qe,focus:At,size:Dt,disabled:Lt,modelValue:jt,actualValue:hn}=useRadio(Ie,$e);function vn(){nextTick(()=>$e("change",jt.value))}return(bn,_n)=>{var wn;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("disabled",unref(Lt)),unref(Fe).is("focus",unref(At)),unref(Fe).is("bordered",bn.border),unref(Fe).is("checked",unref(jt)===unref(hn)),unref(Fe).m(unref(Dt))])},[createBaseVNode("span",{class:normalizeClass([unref(Fe).e("input"),unref(Fe).is("disabled",unref(Lt)),unref(Fe).is("checked",unref(jt)===unref(hn))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:Ue,"onUpdate:modelValue":_n[0]||(_n[0]=kn=>isRef(jt)?jt.value=kn:null),class:normalizeClass(unref(Fe).e("original")),value:unref(hn),name:bn.name||((wn=unref(qe))==null?void 0:wn.name),disabled:unref(Lt),type:"radio",onFocus:_n[1]||(_n[1]=kn=>At.value=!0),onBlur:_n[2]||(_n[2]=kn=>At.value=!1),onChange:vn,onClick:_n[3]||(_n[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$X),[[vModelRadio,unref(jt)]]),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("label")),onKeydown:_n[4]||(_n[4]=withModifiers(()=>{},["stop"]))},[renderSlot(bn.$slots,"default",{},()=>[createTextVNode(toDisplayString(bn.label),1)])],34)],2)}}});var Radio=_export_sfc$1(_sfc_main$1T,[["__file","radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase}),_hoisted_1$W=["value","name","disabled"],__default__$1f=defineComponent({name:"ElRadioButton"}),_sfc_main$1S=defineComponent({...__default__$1f,props:radioButtonProps,setup(xe){const $e=xe,Ie=useNamespace("radio"),{radioRef:Fe,focus:Ue,size:qe,disabled:At,modelValue:Dt,radioGroup:Lt,actualValue:jt}=useRadio($e),hn=computed(()=>({backgroundColor:(Lt==null?void 0:Lt.fill)||"",borderColor:(Lt==null?void 0:Lt.fill)||"",boxShadow:Lt!=null&&Lt.fill?`-1px 0 0 0 ${Lt.fill}`:"",color:(Lt==null?void 0:Lt.textColor)||""}));return(vn,bn)=>{var _n;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(Ie).b("button"),unref(Ie).is("active",unref(Dt)===unref(jt)),unref(Ie).is("disabled",unref(At)),unref(Ie).is("focus",unref(Ue)),unref(Ie).bm("button",unref(qe))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:Fe,"onUpdate:modelValue":bn[0]||(bn[0]=wn=>isRef(Dt)?Dt.value=wn:null),class:normalizeClass(unref(Ie).be("button","original-radio")),value:unref(jt),type:"radio",name:vn.name||((_n=unref(Lt))==null?void 0:_n.name),disabled:unref(At),onFocus:bn[1]||(bn[1]=wn=>Ue.value=!0),onBlur:bn[2]||(bn[2]=wn=>Ue.value=!1),onClick:bn[3]||(bn[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$W),[[vModelRadio,unref(Dt)]]),createBaseVNode("span",{class:normalizeClass(unref(Ie).be("button","inner")),style:normalizeStyle$1(unref(Dt)===unref(jt)?unref(hn):{}),onKeydown:bn[4]||(bn[4]=withModifiers(()=>{},["stop"]))},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.label),1)])],38)],2)}}});var RadioButton=_export_sfc$1(_sfc_main$1S,[["__file","radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),radioGroupEmits=radioEmits,_hoisted_1$V=["id","aria-label","aria-labelledby"],__default__$1e=defineComponent({name:"ElRadioGroup"}),_sfc_main$1R=defineComponent({...__default__$1e,props:radioGroupProps,emits:radioGroupEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("radio"),Ue=useId(),qe=ref(),{formItem:At}=useFormItem(),{inputId:Dt,isLabeledByFormItem:Lt}=useFormItemInputId(Ie,{formItemContext:At}),jt=vn=>{$e(UPDATE_MODEL_EVENT,vn),nextTick(()=>$e("change",vn))};onMounted(()=>{const vn=qe.value.querySelectorAll("[type=radio]"),bn=vn[0];!Array.from(vn).some(_n=>_n.checked)&&bn&&(bn.tabIndex=0)});const hn=computed(()=>Ie.name||Ue.value);return provide(radioGroupKey,reactive({...toRefs(Ie),changeEvent:jt,name:hn})),watch(()=>Ie.modelValue,()=>{Ie.validateEvent&&(At==null||At.validate("change").catch(vn=>void 0))}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-radio-group",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>!!Ie.label)),(vn,bn)=>(openBlock(),createElementBlock("div",{id:unref(Dt),ref_key:"radioGroupRef",ref:qe,class:normalizeClass(unref(Fe).b("group")),role:"radiogroup","aria-label":unref(Lt)?void 0:vn.label||vn.ariaLabel||"radio-group","aria-labelledby":unref(Lt)?unref(At).labelId:void 0},[renderSlot(vn.$slots,"default")],10,_hoisted_1$V))}});var RadioGroup=_export_sfc$1(_sfc_main$1R,[["__file","radio-group.vue"]]);const ElRadio=withInstall(Radio,{RadioButton,RadioGroup}),ElRadioGroup=withNoopInstall(RadioGroup),ElRadioButton=withNoopInstall(RadioButton);var NodeContent$1=defineComponent({name:"NodeContent",setup(){return{ns:useNamespace("cascader-node")}},render(){const{ns:xe}=this,{node:$e,panel:Ie}=this.$parent,{data:Fe,label:Ue}=$e,{renderLabelFn:qe}=Ie;return h$5("span",{class:xe.e("label")},qe?qe({node:$e,data:Fe}):Ue)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1Q=defineComponent({name:"ElCascaderNode",components:{ElCheckbox,ElRadio,NodeContent:NodeContent$1,ElIcon,Check:check_default,Loading:loading_default,ArrowRight:arrow_right_default},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(xe,{emit:$e}){const Ie=inject(CASCADER_PANEL_INJECTION_KEY),Fe=useNamespace("cascader-node"),Ue=computed(()=>Ie.isHoverMenu),qe=computed(()=>Ie.config.multiple),At=computed(()=>Ie.config.checkStrictly),Dt=computed(()=>{var $n;return($n=Ie.checkedNodes[0])==null?void 0:$n.uid}),Lt=computed(()=>xe.node.isDisabled),jt=computed(()=>xe.node.isLeaf),hn=computed(()=>At.value&&!jt.value||!Lt.value),vn=computed(()=>_n(Ie.expandingNode)),bn=computed(()=>At.value&&Ie.checkedNodes.some(_n)),_n=$n=>{var Pn;const{level:Nn,uid:Mn}=xe.node;return((Pn=$n==null?void 0:$n.pathNodes[Nn-1])==null?void 0:Pn.uid)===Mn},wn=()=>{vn.value||Ie.expandNode(xe.node)},kn=$n=>{const{node:Pn}=xe;$n!==Pn.checked&&Ie.handleCheckChange(Pn,$n)},Cn=()=>{Ie.lazyLoad(xe.node,()=>{jt.value||wn()})},Sn=$n=>{Ue.value&&(xn(),!jt.value&&$e("expand",$n))},xn=()=>{const{node:$n}=xe;!hn.value||$n.loading||($n.loaded?wn():Cn())},En=()=>{Ue.value&&!jt.value||(jt.value&&!Lt.value&&!At.value&&!qe.value?An(!0):xn())},Tn=$n=>{At.value?(kn($n),xe.node.loaded&&wn()):An($n)},An=$n=>{xe.node.loaded?(kn($n),!At.value&&wn()):Cn()};return{panel:Ie,isHoverMenu:Ue,multiple:qe,checkStrictly:At,checkedNodeId:Dt,isDisabled:Lt,isLeaf:jt,expandable:hn,inExpandingPath:vn,inCheckedPath:bn,ns:Fe,handleHoverExpand:Sn,handleExpand:xn,handleClick:En,handleCheck:An,handleSelectCheck:Tn}}}),_hoisted_1$U=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$B=createBaseVNode("span",null,null,-1);function _sfc_render$t(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-checkbox"),Dt=resolveComponent("el-radio"),Lt=resolveComponent("check"),jt=resolveComponent("el-icon"),hn=resolveComponent("node-content"),vn=resolveComponent("loading"),bn=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${xe.menuId}-${xe.node.uid}`,role:"menuitem","aria-haspopup":!xe.isLeaf,"aria-owns":xe.isLeaf?null:xe.menuId,"aria-expanded":xe.inExpandingPath,tabindex:xe.expandable?-1:void 0,class:normalizeClass([xe.ns.b(),xe.ns.is("selectable",xe.checkStrictly),xe.ns.is("active",xe.node.checked),xe.ns.is("disabled",!xe.expandable),xe.inExpandingPath&&"in-active-path",xe.inCheckedPath&&"in-checked-path"]),onMouseenter:$e[2]||($e[2]=(..._n)=>xe.handleHoverExpand&&xe.handleHoverExpand(..._n)),onFocus:$e[3]||($e[3]=(..._n)=>xe.handleHoverExpand&&xe.handleHoverExpand(..._n)),onClick:$e[4]||($e[4]=(..._n)=>xe.handleClick&&xe.handleClick(..._n))},[createCommentVNode(" prefix "),xe.multiple?(openBlock(),createBlock(At,{key:0,"model-value":xe.node.checked,indeterminate:xe.node.indeterminate,disabled:xe.isDisabled,onClick:$e[0]||($e[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":xe.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):xe.checkStrictly?(openBlock(),createBlock(Dt,{key:1,"model-value":xe.checkedNodeId,label:xe.node.uid,disabled:xe.isDisabled,"onUpdate:modelValue":xe.handleSelectCheck,onClick:$e[1]||($e[1]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createCommentVNode(` + Add an empty element to avoid render label, + do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 + `),_hoisted_2$B]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):xe.isLeaf&&xe.node.checked?(openBlock(),createBlock(jt,{key:2,class:normalizeClass(xe.ns.e("prefix"))},{default:withCtx(()=>[createVNode$1(Lt)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode$1(hn),createCommentVNode(" postfix "),xe.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[xe.node.loading?(openBlock(),createBlock(jt,{key:0,class:normalizeClass([xe.ns.is("loading"),xe.ns.e("postfix")])},{default:withCtx(()=>[createVNode$1(vn)]),_:1},8,["class"])):(openBlock(),createBlock(jt,{key:1,class:normalizeClass(["arrow-right",xe.ns.e("postfix")])},{default:withCtx(()=>[createVNode$1(bn)]),_:1},8,["class"]))],64))],42,_hoisted_1$U)}var ElCascaderNode=_export_sfc$1(_sfc_main$1Q,[["render",_sfc_render$t],["__file","node.vue"]]);const _sfc_main$1P=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(xe){const $e=getCurrentInstance(),Ie=useNamespace("cascader-menu"),{t:Fe}=useLocale(),Ue=useId();let qe=null,At=null;const Dt=inject(CASCADER_PANEL_INJECTION_KEY),Lt=ref(null),jt=computed(()=>!xe.nodes.length),hn=computed(()=>!Dt.initialLoaded),vn=computed(()=>`${Ue.value}-${xe.index}`),bn=Cn=>{qe=Cn.target},_n=Cn=>{if(!(!Dt.isHoverMenu||!qe||!Lt.value))if(qe.contains(Cn.target)){wn();const Sn=$e.vnode.el,{left:xn}=Sn.getBoundingClientRect(),{offsetWidth:En,offsetHeight:Tn}=Sn,An=Cn.clientX-xn,$n=qe.offsetTop,Pn=$n+qe.offsetHeight;Lt.value.innerHTML=` + + + `}else At||(At=window.setTimeout(kn,Dt.config.hoverThreshold))},wn=()=>{At&&(clearTimeout(At),At=null)},kn=()=>{Lt.value&&(Lt.value.innerHTML="",wn())};return{ns:Ie,panel:Dt,hoverZone:Lt,isEmpty:jt,isLoading:hn,menuId:vn,t:Fe,handleExpand:bn,handleMouseMove:_n,clearHoverZone:kn}}});function _sfc_render$s(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-cascader-node"),Dt=resolveComponent("loading"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-scrollbar");return openBlock(),createBlock(jt,{key:xe.menuId,tag:"ul",role:"menu",class:normalizeClass(xe.ns.b()),"wrap-class":xe.ns.e("wrap"),"view-class":[xe.ns.e("list"),xe.ns.is("empty",xe.isEmpty)],onMousemove:xe.handleMouseMove,onMouseleave:xe.clearHoverZone},{default:withCtx(()=>{var hn;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.nodes,vn=>(openBlock(),createBlock(At,{key:vn.uid,node:vn,"menu-id":xe.menuId,onExpand:xe.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),xe.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.e("empty-text"))},[createVNode$1(Lt,{size:"14",class:normalizeClass(xe.ns.is("loading"))},{default:withCtx(()=>[createVNode$1(Dt)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(xe.t("el.cascader.loading")),1)],2)):xe.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.e("empty-text"))},toDisplayString(xe.t("el.cascader.noData")),3)):(hn=xe.panel)!=null&&hn.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(xe.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$1P,[["render",_sfc_render$s],["__file","menu.vue"]]);let uid=0;const calculatePathNodes=xe=>{const $e=[xe];let{parent:Ie}=xe;for(;Ie;)$e.unshift(Ie),Ie=Ie.parent;return $e};let Node$2=class Pi{constructor($e,Ie,Fe,Ue=!1){this.data=$e,this.config=Ie,this.parent=Fe,this.root=Ue,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:qe,label:At,children:Dt}=Ie,Lt=$e[Dt],jt=calculatePathNodes(this);this.level=Ue?0:Fe?Fe.level+1:1,this.value=$e[qe],this.label=$e[At],this.pathNodes=jt,this.pathValues=jt.map(hn=>hn.value),this.pathLabels=jt.map(hn=>hn.label),this.childrenData=Lt,this.children=(Lt||[]).map(hn=>new Pi(hn,Ie,this)),this.loaded=!Ie.lazy||this.isLeaf||!isEmpty(Lt)}get isDisabled(){const{data:$e,parent:Ie,config:Fe}=this,{disabled:Ue,checkStrictly:qe}=Fe;return(isFunction$5(Ue)?Ue($e,this):!!$e[Ue])||!qe&&(Ie==null?void 0:Ie.isDisabled)}get isLeaf(){const{data:$e,config:Ie,childrenData:Fe,loaded:Ue}=this,{lazy:qe,leaf:At}=Ie,Dt=isFunction$5(At)?At($e,this):$e[At];return isUndefined(Dt)?qe&&!Ue?!1:!(Array.isArray(Fe)&&Fe.length):!!Dt}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild($e){const{childrenData:Ie,children:Fe}=this,Ue=new Pi($e,this.config,this);return Array.isArray(Ie)?Ie.push($e):this.childrenData=[$e],Fe.push(Ue),Ue}calcText($e,Ie){const Fe=$e?this.pathLabels.join(Ie):this.label;return this.text=Fe,Fe}broadcast($e,...Ie){const Fe=`onParent${capitalize($e)}`;this.children.forEach(Ue=>{Ue&&(Ue.broadcast($e,...Ie),Ue[Fe]&&Ue[Fe](...Ie))})}emit($e,...Ie){const{parent:Fe}=this,Ue=`onChild${capitalize($e)}`;Fe&&(Fe[Ue]&&Fe[Ue](...Ie),Fe.emit($e,...Ie))}onParentCheck($e){this.isDisabled||this.setCheckState($e)}onChildCheck(){const{children:$e}=this,Ie=$e.filter(Ue=>!Ue.isDisabled),Fe=Ie.length?Ie.every(Ue=>Ue.checked):!1;this.setCheckState(Fe)}setCheckState($e){const Ie=this.children.length,Fe=this.children.reduce((Ue,qe)=>{const At=qe.checked?1:qe.indeterminate?.5:0;return Ue+At},0);this.checked=this.loaded&&this.children.filter(Ue=>!Ue.isDisabled).every(Ue=>Ue.loaded&&Ue.checked)&&$e,this.indeterminate=this.loaded&&Fe!==Ie&&Fe>0}doCheck($e){if(this.checked===$e)return;const{checkStrictly:Ie,multiple:Fe}=this.config;Ie||!Fe?this.checked=$e:(this.broadcast("check",$e),this.setCheckState($e),this.emit("check"))}};const flatNodes=(xe,$e)=>xe.reduce((Ie,Fe)=>(Fe.isLeaf?Ie.push(Fe):(!$e&&Ie.push(Fe),Ie=Ie.concat(flatNodes(Fe.children,$e))),Ie),[]);class Store{constructor($e,Ie){this.config=Ie;const Fe=($e||[]).map(Ue=>new Node$2(Ue,this.config));this.nodes=Fe,this.allNodes=flatNodes(Fe,!1),this.leafNodes=flatNodes(Fe,!0)}getNodes(){return this.nodes}getFlattedNodes($e){return $e?this.leafNodes:this.allNodes}appendNode($e,Ie){const Fe=Ie?Ie.appendChild($e):new Node$2($e,this.config);Ie||this.nodes.push(Fe),this.allNodes.push(Fe),Fe.isLeaf&&this.leafNodes.push(Fe)}appendNodes($e,Ie){$e.forEach(Fe=>this.appendNode(Fe,Ie))}getNodeByValue($e,Ie=!1){return!$e&&$e!==0?null:this.getFlattedNodes(Ie).find(Ue=>isEqual$1(Ue.value,$e)||isEqual$1(Ue.pathValues,$e))||null}getSameNode($e){return $e&&this.getFlattedNodes(!1).find(({value:Fe,level:Ue})=>isEqual$1($e.value,Fe)&&$e.level===Ue)||null}}const CommonProps=buildProps({modelValue:{type:definePropType([Number,String,Array])},options:{type:definePropType(Array),default:()=>[]},props:{type:definePropType(Object),default:()=>({})}}),DefaultProps={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:NOOP,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},useCascaderConfig=xe=>computed(()=>({...DefaultProps,...xe.props})),getMenuIndex=xe=>{if(!xe)return 0;const $e=xe.id.split("-");return Number($e[$e.length-2])},checkNode=xe=>{if(!xe)return;const $e=xe.querySelector("input");$e?$e.click():isLeaf(xe)&&xe.click()},sortByOriginalOrder=(xe,$e)=>{const Ie=$e.slice(0),Fe=Ie.map(qe=>qe.uid),Ue=xe.reduce((qe,At)=>{const Dt=Fe.indexOf(At.uid);return Dt>-1&&(qe.push(At),Ie.splice(Dt,1),Fe.splice(Dt,1)),qe},[]);return Ue.push(...Ie),Ue},_sfc_main$1O=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(xe,{emit:$e,slots:Ie}){let Fe=!1;const Ue=useNamespace("cascader"),qe=useCascaderConfig(xe);let At=null;const Dt=ref(!0),Lt=ref([]),jt=ref(null),hn=ref([]),vn=ref(null),bn=ref([]),_n=computed(()=>qe.value.expandTrigger==="hover"),wn=computed(()=>xe.renderLabel||Ie.default),kn=()=>{const{options:Rn}=xe,Bn=qe.value;Fe=!1,At=new Store(Rn,Bn),hn.value=[At.getNodes()],Bn.lazy&&isEmpty(xe.options)?(Dt.value=!1,Cn(void 0,Vn=>{Vn&&(At=new Store(Vn,Bn),hn.value=[At.getNodes()]),Dt.value=!0,Nn(!1,!0)})):Nn(!1,!0)},Cn=(Rn,Bn)=>{const Vn=qe.value;Rn=Rn||new Node$2({},Vn,void 0,!0),Rn.loading=!0;const Ln=Dn=>{const Hn=Rn,Fn=Hn.root?null:Hn;Dn&&(At==null||At.appendNodes(Dn,Fn)),Hn.loading=!1,Hn.loaded=!0,Hn.childrenData=Hn.childrenData||[],Bn&&Bn(Dn)};Vn.lazyLoad(Rn,Ln)},Sn=(Rn,Bn)=>{var Vn;const{level:Ln}=Rn,Dn=hn.value.slice(0,Ln);let Hn;Rn.isLeaf?Hn=Rn.pathNodes[Ln-2]:(Hn=Rn,Dn.push(Rn.children)),((Vn=vn.value)==null?void 0:Vn.uid)!==(Hn==null?void 0:Hn.uid)&&(vn.value=Rn,hn.value=Dn,!Bn&&$e("expand-change",(Rn==null?void 0:Rn.pathValues)||[]))},xn=(Rn,Bn,Vn=!0)=>{const{checkStrictly:Ln,multiple:Dn}=qe.value,Hn=bn.value[0];Fe=!0,!Dn&&(Hn==null||Hn.doCheck(!1)),Rn.doCheck(Bn),Pn(),Vn&&!Dn&&!Ln&&$e("close"),!Vn&&!Dn&&!Ln&&En(Rn)},En=Rn=>{Rn&&(Rn=Rn.parent,En(Rn),Rn&&Sn(Rn))},Tn=Rn=>At==null?void 0:At.getFlattedNodes(Rn),An=Rn=>{var Bn;return(Bn=Tn(Rn))==null?void 0:Bn.filter(Vn=>Vn.checked!==!1)},$n=()=>{bn.value.forEach(Rn=>Rn.doCheck(!1)),Pn(),hn.value=hn.value.slice(0,1),vn.value=null,$e("expand-change",[])},Pn=()=>{var Rn;const{checkStrictly:Bn,multiple:Vn}=qe.value,Ln=bn.value,Dn=An(!Bn),Hn=sortByOriginalOrder(Ln,Dn),Fn=Hn.map(zn=>zn.valueByOption);bn.value=Hn,jt.value=Vn?Fn:(Rn=Fn[0])!=null?Rn:null},Nn=(Rn=!1,Bn=!1)=>{const{modelValue:Vn}=xe,{lazy:Ln,multiple:Dn,checkStrictly:Hn}=qe.value,Fn=!Hn;if(!(!Dt.value||Fe||!Bn&&isEqual$1(Vn,jt.value)))if(Ln&&!Rn){const jn=unique(flattenDeep(castArray(Vn))).map(Gn=>At==null?void 0:At.getNodeByValue(Gn)).filter(Gn=>!!Gn&&!Gn.loaded&&!Gn.loading);jn.length?jn.forEach(Gn=>{Cn(Gn,()=>Nn(!1,Bn))}):Nn(!0,Bn)}else{const zn=Dn?castArray(Vn):[Vn],jn=unique(zn.map(Gn=>At==null?void 0:At.getNodeByValue(Gn,Fn)));Mn(jn,Bn),jt.value=cloneDeep(Vn)}},Mn=(Rn,Bn=!0)=>{const{checkStrictly:Vn}=qe.value,Ln=bn.value,Dn=Rn.filter(zn=>!!zn&&(Vn||zn.isLeaf)),Hn=At==null?void 0:At.getSameNode(vn.value),Fn=Bn&&Hn||Dn[0];Fn?Fn.pathNodes.forEach(zn=>Sn(zn,!0)):vn.value=null,Ln.forEach(zn=>zn.doCheck(!1)),reactive(Dn).forEach(zn=>zn.doCheck(!0)),bn.value=Dn,nextTick(In)},In=()=>{isClient$1&&Lt.value.forEach(Rn=>{const Bn=Rn==null?void 0:Rn.$el;if(Bn){const Vn=Bn.querySelector(`.${Ue.namespace.value}-scrollbar__wrap`),Ln=Bn.querySelector(`.${Ue.b("node")}.${Ue.is("active")}`)||Bn.querySelector(`.${Ue.b("node")}.in-active-path`);scrollIntoView(Vn,Ln)}})},On=Rn=>{const Bn=Rn.target,{code:Vn}=Rn;switch(Vn){case EVENT_CODE.up:case EVENT_CODE.down:{Rn.preventDefault();const Ln=Vn===EVENT_CODE.up?-1:1;focusNode(getSibling(Bn,Ln,`.${Ue.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{Rn.preventDefault();const Ln=Lt.value[getMenuIndex(Bn)-1],Dn=Ln==null?void 0:Ln.$el.querySelector(`.${Ue.b("node")}[aria-expanded="true"]`);focusNode(Dn);break}case EVENT_CODE.right:{Rn.preventDefault();const Ln=Lt.value[getMenuIndex(Bn)+1],Dn=Ln==null?void 0:Ln.$el.querySelector(`.${Ue.b("node")}[tabindex="-1"]`);focusNode(Dn);break}case EVENT_CODE.enter:checkNode(Bn);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:qe,expandingNode:vn,checkedNodes:bn,isHoverMenu:_n,initialLoaded:Dt,renderLabelFn:wn,lazyLoad:Cn,expandNode:Sn,handleCheckChange:xn})),watch([qe,()=>xe.options],kn,{deep:!0,immediate:!0}),watch(()=>xe.modelValue,()=>{Fe=!1,Nn()},{deep:!0}),watch(()=>jt.value,Rn=>{isEqual$1(Rn,xe.modelValue)||($e(UPDATE_MODEL_EVENT,Rn),$e(CHANGE_EVENT,Rn))}),onBeforeUpdate(()=>Lt.value=[]),onMounted(()=>!isEmpty(xe.modelValue)&&Nn()),{ns:Ue,menuList:Lt,menus:hn,checkedNodes:bn,handleKeyDown:On,handleCheckChange:xn,getFlattedNodes:Tn,getCheckedNodes:An,clearCheckedNodes:$n,calculateCheckedValue:Pn,scrollToExpandingNode:In}}});function _sfc_render$r(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b("panel"),xe.ns.is("bordered",xe.border)]),onKeydown:$e[0]||($e[0]=(...Dt)=>xe.handleKeyDown&&xe.handleKeyDown(...Dt))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.menus,(Dt,Lt)=>(openBlock(),createBlock(At,{key:Lt,ref_for:!0,ref:jt=>xe.menuList[Lt]=jt,index:Lt,nodes:[...Dt]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$1(_sfc_main$1O,[["render",_sfc_render$r],["__file","index.vue"]]);CascaderPanel.install=xe=>{xe.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:componentSizes},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:xe=>xe instanceof MouseEvent,click:xe=>xe instanceof MouseEvent},__default__$1d=defineComponent({name:"ElTag"}),_sfc_main$1N=defineComponent({...__default__$1d,props:tagProps,emits:tagEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useFormSize(),Ue=useNamespace("tag"),qe=computed(()=>{const{type:Lt,hit:jt,effect:hn,closable:vn,round:bn}=Ie;return[Ue.b(),Ue.is("closable",vn),Ue.m(Lt||"primary"),Ue.m(Fe.value),Ue.m(hn),Ue.is("hit",jt),Ue.is("round",bn)]}),At=Lt=>{$e("close",Lt)},Dt=Lt=>{$e("click",Lt)};return(Lt,jt)=>Lt.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(qe)),style:normalizeStyle$1({backgroundColor:Lt.color}),onClick:Dt},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Lt.$slots,"default")],2),Lt.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("close")),onClick:withModifiers(At,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(Ue).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(qe)),style:normalizeStyle$1({backgroundColor:Lt.color}),onClick:Dt},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Lt.$slots,"default")],2),Lt.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("close")),onClick:withModifiers(At,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc$1(_sfc_main$1N,[["__file","tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(xe,$e)=>xe.text.includes($e)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},...useEmptyValuesProps}),cascaderEmits={[UPDATE_MODEL_EVENT]:xe=>!0,[CHANGE_EVENT]:xe=>!0,focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,visibleChange:xe=>isBoolean(xe),expandChange:xe=>!!xe,removeTag:xe=>!!xe},_hoisted_1$T={key:0},_hoisted_2$A=["placeholder","onKeydown"],_hoisted_3$j=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$1c=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1M=defineComponent({...__default__$1c,props:cascaderProps,emits:cascaderEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:cr})=>{const{modifiersData:Sr,placement:Dr}=cr;["right","left","bottom","top"].includes(Dr)||(Sr.arrow.x=35)},requires:["arrow"]}]},qe=useAttrs$1();let At=0,Dt=0;const Lt=useNamespace("cascader"),jt=useNamespace("input"),{t:hn}=useLocale(),{form:vn,formItem:bn}=useFormItem(),{valueOnClear:_n}=useEmptyValues(Fe),wn=ref(null),kn=ref(null),Cn=ref(null),Sn=ref(null),xn=ref(null),En=ref(!1),Tn=ref(!1),An=ref(!1),$n=ref(!1),Pn=ref(""),Nn=ref(""),Mn=ref([]),In=ref([]),On=ref([]),Rn=ref(!1),Bn=computed(()=>qe.style),Vn=computed(()=>Fe.disabled||(vn==null?void 0:vn.disabled)),Ln=computed(()=>Fe.placeholder||hn("el.cascader.placeholder")),Dn=computed(()=>Nn.value||Mn.value.length>0||Rn.value?"":Ln.value),Hn=useFormSize(),Fn=computed(()=>["small"].includes(Hn.value)?"small":"default"),zn=computed(()=>!!Fe.props.multiple),jn=computed(()=>!Fe.filterable||zn.value),Gn=computed(()=>zn.value?Nn.value:Pn.value),Wn=computed(()=>{var cr;return((cr=Sn.value)==null?void 0:cr.checkedNodes)||[]}),Xn=computed(()=>!Fe.clearable||Vn.value||An.value||!Tn.value?!1:!!Wn.value.length),er=computed(()=>{const{showAllLevels:cr,separator:Sr}=Fe,Dr=Wn.value;return Dr.length?zn.value?"":Dr[0].calcText(cr,Sr):""}),rr=computed(()=>(bn==null?void 0:bn.validateState)||""),Jn=computed({get(){return cloneDeep(Fe.modelValue)},set(cr){const Sr=cr||_n.value;Ie(UPDATE_MODEL_EVENT,Sr),Ie(CHANGE_EVENT,Sr),Fe.validateEvent&&(bn==null||bn.validate("change").catch(Dr=>void 0))}}),Yn=computed(()=>[Lt.b(),Lt.m(Hn.value),Lt.is("disabled",Vn.value),qe.class]),qn=computed(()=>[jt.e("icon"),"icon-arrow-down",Lt.is("reverse",En.value)]),ar=computed(()=>Lt.is("focus",En.value||$n.value)),tr=computed(()=>{var cr,Sr;return(Sr=(cr=wn.value)==null?void 0:cr.popperRef)==null?void 0:Sr.contentRef}),or=cr=>{var Sr,Dr,mr;Vn.value||(cr=cr??!En.value,cr!==En.value&&(En.value=cr,(Dr=(Sr=kn.value)==null?void 0:Sr.input)==null||Dr.setAttribute("aria-expanded",`${cr}`),cr?(sr(),nextTick((mr=Sn.value)==null?void 0:mr.scrollToExpandingNode)):Fe.filterable&&gr(),Ie("visibleChange",cr)))},sr=()=>{nextTick(()=>{var cr;(cr=wn.value)==null||cr.updatePopper()})},Kn=()=>{An.value=!1},Zn=cr=>{const{showAllLevels:Sr,separator:Dr}=Fe;return{node:cr,key:cr.uid,text:cr.calcText(Sr,Dr),hitState:!1,closable:!Vn.value&&!cr.isDisabled,isCollapseTag:!1}},nr=cr=>{var Sr;const Dr=cr.node;Dr.doCheck(!1),(Sr=Sn.value)==null||Sr.calculateCheckedValue(),Ie("removeTag",Dr.valueByOption)},lr=()=>{if(!zn.value)return;const cr=Wn.value,Sr=[],Dr=[];if(cr.forEach(mr=>Dr.push(Zn(mr))),In.value=Dr,cr.length){cr.slice(0,Fe.maxCollapseTags).forEach(zr=>Sr.push(Zn(zr)));const mr=cr.slice(Fe.maxCollapseTags),Lr=mr.length;Lr&&(Fe.collapseTags?Sr.push({key:-1,text:`+ ${Lr}`,closable:!1,isCollapseTag:!0}):mr.forEach(zr=>Sr.push(Zn(zr))))}Mn.value=Sr},ir=()=>{var cr,Sr;const{filterMethod:Dr,showAllLevels:mr,separator:Lr}=Fe,zr=(Sr=(cr=Sn.value)==null?void 0:cr.getFlattedNodes(!Fe.props.checkStrictly))==null?void 0:Sr.filter(Vr=>Vr.isDisabled?!1:(Vr.calcText(mr,Lr),Dr(Vr,Gn.value)));zn.value&&(Mn.value.forEach(Vr=>{Vr.hitState=!1}),In.value.forEach(Vr=>{Vr.hitState=!1})),An.value=!0,On.value=zr,sr()},kr=()=>{var cr;let Sr;An.value&&xn.value?Sr=xn.value.$el.querySelector(`.${Lt.e("suggestion-item")}`):Sr=(cr=Sn.value)==null?void 0:cr.$el.querySelector(`.${Lt.b("node")}[tabindex="-1"]`),Sr&&(Sr.focus(),!An.value&&Sr.click())},Cr=()=>{var cr,Sr;const Dr=(cr=kn.value)==null?void 0:cr.input,mr=Cn.value,Lr=(Sr=xn.value)==null?void 0:Sr.$el;if(!(!isClient$1||!Dr)){if(Lr){const zr=Lr.querySelector(`.${Lt.e("suggestion-list")}`);zr.style.minWidth=`${Dr.offsetWidth}px`}if(mr){const{offsetHeight:zr}=mr,Vr=Mn.value.length>0?`${Math.max(zr+6,At)}px`:`${At}px`;Dr.style.height=Vr,sr()}}},Er=cr=>{var Sr;return(Sr=Sn.value)==null?void 0:Sr.getCheckedNodes(cr)},dr=cr=>{sr(),Ie("expandChange",cr)},br=cr=>{var Sr;const Dr=(Sr=cr.target)==null?void 0:Sr.value;if(cr.type==="compositionend")Rn.value=!1,nextTick(()=>Br(Dr));else{const mr=Dr[Dr.length-1]||"";Rn.value=!isKorean(mr)}},_r=cr=>{if(!Rn.value)switch(cr.code){case EVENT_CODE.enter:or();break;case EVENT_CODE.down:or(!0),nextTick(kr),cr.preventDefault();break;case EVENT_CODE.esc:En.value===!0&&(cr.preventDefault(),cr.stopPropagation(),or(!1));break;case EVENT_CODE.tab:or(!1);break}},Pr=()=>{var cr;(cr=Sn.value)==null||cr.clearCheckedNodes(),!En.value&&Fe.filterable&&gr(),or(!1)},gr=()=>{const{value:cr}=er;Pn.value=cr,Nn.value=cr},xr=cr=>{var Sr,Dr;const{checked:mr}=cr;zn.value?(Sr=Sn.value)==null||Sr.handleCheckChange(cr,!mr,!1):(!mr&&((Dr=Sn.value)==null||Dr.handleCheckChange(cr,!0,!1)),or(!1))},Rr=cr=>{const Sr=cr.target,{code:Dr}=cr;switch(Dr){case EVENT_CODE.up:case EVENT_CODE.down:{const mr=Dr===EVENT_CODE.up?-1:1;focusNode(getSibling(Sr,mr,`.${Lt.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:Sr.click();break}},Hr=()=>{const cr=Mn.value,Sr=cr[cr.length-1];Dt=Nn.value?0:Dt+1,!(!Sr||!Dt||Fe.collapseTags&&cr.length>1)&&(Sr.hitState?nr(Sr):Sr.hitState=!0)},Jr=cr=>{const Sr=cr.target,Dr=Lt.e("search-input");Sr.className===Dr&&($n.value=!0),Ie("focus",cr)},Gr=cr=>{$n.value=!1,Ie("blur",cr)},$r=debounce(()=>{const{value:cr}=Gn;if(!cr)return;const Sr=Fe.beforeFilter(cr);isPromise(Sr)?Sr.then(ir).catch(()=>{}):Sr!==!1?ir():Kn()},Fe.debounce),Br=(cr,Sr)=>{!En.value&&or(!0),!(Sr!=null&&Sr.isComposing)&&(cr?$r():Kn())},Tr=cr=>Number.parseFloat(useCssVar(jt.cssVarName("input-height"),cr).value)-2;return watch(An,sr),watch([Wn,Vn],lr),watch(Mn,()=>{nextTick(()=>Cr())}),watch(Hn,async()=>{await nextTick();const cr=kn.value.input;At=Tr(cr)||At,Cr()}),watch(er,gr,{immediate:!0}),onMounted(()=>{const cr=kn.value.input,Sr=Tr(cr);At=cr.offsetHeight||Sr,useResizeObserver(cr,Cr)}),$e({getCheckedNodes:Er,cascaderPanelRef:Sn,togglePopperVisible:or,contentRef:tr}),(cr,Sr)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:wn,visible:En.value,teleported:cr.teleported,"popper-class":[unref(Lt).e("dropdown"),cr.popperClass],"popper-options":Ue,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref(Lt).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:Kn},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(Yn)),style:normalizeStyle$1(unref(Bn)),onClick:Sr[5]||(Sr[5]=()=>or(unref(jn)?void 0:!0)),onKeydown:_r,onMouseenter:Sr[6]||(Sr[6]=Dr=>Tn.value=!0),onMouseleave:Sr[7]||(Sr[7]=Dr=>Tn.value=!1)},[createVNode$1(unref(ElInput),{ref_key:"input",ref:kn,modelValue:Pn.value,"onUpdate:modelValue":Sr[1]||(Sr[1]=Dr=>Pn.value=Dr),placeholder:unref(Dn),readonly:unref(jn),disabled:unref(Vn),"validate-event":!1,size:unref(Hn),class:normalizeClass(unref(ar)),tabindex:unref(zn)&&cr.filterable&&!unref(Vn)?-1:void 0,onCompositionstart:br,onCompositionupdate:br,onCompositionend:br,onFocus:Jr,onBlur:Gr,onInput:Br},{suffix:withCtx(()=>[unref(Xn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(jt).e("icon"),"icon-circle-close"]),onClick:withModifiers(Pr,["stop"])},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(qn)),onClick:Sr[0]||(Sr[0]=withModifiers(Dr=>or(),["stop"]))},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(zn)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:Cn,class:normalizeClass([unref(Lt).e("tags"),unref(Lt).is("validate",!!unref(rr))])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.value,Dr=>(openBlock(),createBlock(unref(ElTag),{key:Dr.key,type:cr.tagType,size:unref(Fn),hit:Dr.hitState,closable:Dr.closable,"disable-transitions":"",onClose:mr=>nr(Dr)},{default:withCtx(()=>[Dr.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$T,toDisplayString(Dr.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:En.value||!cr.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(Dr.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Lt).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(In.value.slice(cr.maxCollapseTags),(mr,Lr)=>(openBlock(),createElementBlock("div",{key:Lr,class:normalizeClass(unref(Lt).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:mr.key,class:"in-tooltip",type:cr.tagType,size:unref(Fn),hit:mr.hitState,closable:mr.closable,"disable-transitions":"",onClose:zr=>nr(mr)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(mr.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),cr.filterable&&!unref(Vn)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Sr[2]||(Sr[2]=Dr=>Nn.value=Dr),type:"text",class:normalizeClass(unref(Lt).e("search-input")),placeholder:unref(er)?"":unref(Ln),onInput:Sr[3]||(Sr[3]=Dr=>Br(Nn.value,Dr)),onClick:Sr[4]||(Sr[4]=withModifiers(Dr=>or(!0),["stop"])),onKeydown:withKeys(Hr,["delete"]),onCompositionstart:br,onCompositionupdate:br,onCompositionend:br,onFocus:Jr,onBlur:Gr},null,42,_hoisted_2$A)),[[vModelText,Nn.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>or(!1),unref(tr)]])]),content:withCtx(()=>[withDirectives(createVNode$1(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Sn,modelValue:unref(Jn),"onUpdate:modelValue":Sr[8]||(Sr[8]=Dr=>isRef(Jn)?Jn.value=Dr:null),options:cr.options,props:Fe.props,border:!1,"render-label":cr.$slots.default,onExpandChange:dr,onClose:Sr[9]||(Sr[9]=Dr=>cr.$nextTick(()=>or(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!An.value]]),cr.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:xn,tag:"ul",class:normalizeClass(unref(Lt).e("suggestion-panel")),"view-class":unref(Lt).e("suggestion-list"),onKeydown:Rr},{default:withCtx(()=>[On.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(On.value,Dr=>(openBlock(),createElementBlock("li",{key:Dr.uid,class:normalizeClass([unref(Lt).e("suggestion-item"),unref(Lt).is("checked",Dr.checked)]),tabindex:-1,onClick:mr=>xr(Dr)},[createBaseVNode("span",null,toDisplayString(Dr.text),1),Dr.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$j))),128)):renderSlot(cr.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(Lt).e("empty-text"))},toDisplayString(unref(hn)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,An.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc$1(_sfc_main$1M,[["__file","cascader.vue"]]);Cascader.install=xe=>{xe.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1},type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),checkTagEmits={"update:checked":xe=>isBoolean(xe),[CHANGE_EVENT]:xe=>isBoolean(xe)},__default__$1b=defineComponent({name:"ElCheckTag"}),_sfc_main$1L=defineComponent({...__default__$1b,props:checkTagProps,emits:checkTagEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("check-tag"),Ue=computed(()=>[Fe.b(),Fe.is("checked",Ie.checked),Fe.m(Ie.type||"primary")]),qe=()=>{const At=!Ie.checked;$e(CHANGE_EVENT,At),$e("update:checked",At)};return(At,Dt)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue)),onClick:qe},[renderSlot(At.$slots,"default")],2))}});var CheckTag=_export_sfc$1(_sfc_main$1L,[["__file","check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),rowContextKey=Symbol("rowContextKey"),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign}}),__default__$1a=defineComponent({name:"ElRow"}),_sfc_main$1K=defineComponent({...__default__$1a,props:rowProps,setup(xe){const $e=xe,Ie=useNamespace("row"),Fe=computed(()=>$e.gutter);provide(rowContextKey,{gutter:Fe});const Ue=computed(()=>{const At={};return $e.gutter&&(At.marginRight=At.marginLeft=`-${$e.gutter/2}px`),At}),qe=computed(()=>[Ie.b(),Ie.is(`justify-${$e.justify}`,$e.justify!=="start"),Ie.is(`align-${$e.align}`,!!$e.align)]);return(At,Dt)=>(openBlock(),createBlock(resolveDynamicComponent(At.tag),{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$1K,[["__file","row.vue"]]);const ElRow=withInstall(Row),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),__default__$19=defineComponent({name:"ElCol"}),_sfc_main$1J=defineComponent({...__default__$19,props:colProps,setup(xe){const $e=xe,{gutter:Ie}=inject(rowContextKey,{gutter:computed(()=>0)}),Fe=useNamespace("col"),Ue=computed(()=>{const At={};return Ie.value&&(At.paddingLeft=At.paddingRight=`${Ie.value/2}px`),At}),qe=computed(()=>{const At=[];return["span","offset","pull","push"].forEach(jt=>{const hn=$e[jt];isNumber$1(hn)&&(jt==="span"?At.push(Fe.b(`${$e[jt]}`)):hn>0&&At.push(Fe.b(`${jt}-${$e[jt]}`)))}),["xs","sm","md","lg","xl"].forEach(jt=>{isNumber$1($e[jt])?At.push(Fe.b(`${jt}-${$e[jt]}`)):isObject$8($e[jt])&&Object.entries($e[jt]).forEach(([hn,vn])=>{At.push(hn!=="span"?Fe.b(`${jt}-${hn}-${vn}`):Fe.b(`${jt}-${vn}`))})}),Ie.value&&At.push(Fe.is("guttered")),[Fe.b(),At]});return(At,Dt)=>(openBlock(),createBlock(resolveDynamicComponent(At.tag),{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$1J,[["__file","col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=xe=>isNumber$1(xe)||isString$4(xe)||isArray$6(xe),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(xe,$e)=>{const Ie=ref(castArray$1(xe.modelValue)),Fe=qe=>{Ie.value=qe;const At=xe.accordion?Ie.value[0]:Ie.value;$e(UPDATE_MODEL_EVENT,At),$e(CHANGE_EVENT,At)},Ue=qe=>{if(xe.accordion)Fe([Ie.value[0]===qe?"":qe]);else{const At=[...Ie.value],Dt=At.indexOf(qe);Dt>-1?At.splice(Dt,1):At.push(qe),Fe(At)}};return watch(()=>xe.modelValue,()=>Ie.value=castArray$1(xe.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:Ie,handleItemClick:Ue}),{activeNames:Ie,setActiveNames:Fe}},useCollapseDOM=()=>{const xe=useNamespace("collapse");return{rootKls:computed(()=>xe.b())}},__default__$18=defineComponent({name:"ElCollapse"}),_sfc_main$1I=defineComponent({...__default__$18,props:collapseProps,emits:collapseEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{activeNames:Ue,setActiveNames:qe}=useCollapse(Fe,Ie),{rootKls:At}=useCollapseDOM();return $e({activeNames:Ue,setActiveNames:qe}),(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(At))},[renderSlot(Dt.$slots,"default")],2))}});var Collapse=_export_sfc$1(_sfc_main$1I,[["__file","collapse.vue"]]);const __default__$17=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1H=defineComponent({...__default__$17,setup(xe){const $e=useNamespace("collapse-transition"),Ie=Ue=>{Ue.style.maxHeight="",Ue.style.overflow=Ue.dataset.oldOverflow,Ue.style.paddingTop=Ue.dataset.oldPaddingTop,Ue.style.paddingBottom=Ue.dataset.oldPaddingBottom},Fe={beforeEnter(Ue){Ue.dataset||(Ue.dataset={}),Ue.dataset.oldPaddingTop=Ue.style.paddingTop,Ue.dataset.oldPaddingBottom=Ue.style.paddingBottom,Ue.style.height&&(Ue.dataset.elExistsHeight=Ue.style.height),Ue.style.maxHeight=0,Ue.style.paddingTop=0,Ue.style.paddingBottom=0},enter(Ue){requestAnimationFrame(()=>{Ue.dataset.oldOverflow=Ue.style.overflow,Ue.dataset.elExistsHeight?Ue.style.maxHeight=Ue.dataset.elExistsHeight:Ue.scrollHeight!==0?Ue.style.maxHeight=`${Ue.scrollHeight}px`:Ue.style.maxHeight=0,Ue.style.paddingTop=Ue.dataset.oldPaddingTop,Ue.style.paddingBottom=Ue.dataset.oldPaddingBottom,Ue.style.overflow="hidden"})},afterEnter(Ue){Ue.style.maxHeight="",Ue.style.overflow=Ue.dataset.oldOverflow},enterCancelled(Ue){Ie(Ue)},beforeLeave(Ue){Ue.dataset||(Ue.dataset={}),Ue.dataset.oldPaddingTop=Ue.style.paddingTop,Ue.dataset.oldPaddingBottom=Ue.style.paddingBottom,Ue.dataset.oldOverflow=Ue.style.overflow,Ue.style.maxHeight=`${Ue.scrollHeight}px`,Ue.style.overflow="hidden"},leave(Ue){Ue.scrollHeight!==0&&(Ue.style.maxHeight=0,Ue.style.paddingTop=0,Ue.style.paddingBottom=0)},afterLeave(Ue){Ie(Ue)},leaveCancelled(Ue){Ie(Ue)}};return(Ue,qe)=>(openBlock(),createBlock(Transition,mergeProps({name:unref($e).b()},toHandlers(Fe)),{default:withCtx(()=>[renderSlot(Ue.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$1H,[["__file","collapse-transition.vue"]]);CollapseTransition.install=xe=>{xe.component(CollapseTransition.name,CollapseTransition)};const _CollapseTransition=CollapseTransition,ElCollapseTransition=_CollapseTransition,collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:void 0},disabled:Boolean}),useCollapseItem=xe=>{const $e=inject(collapseContextKey),{namespace:Ie}=useNamespace("collapse"),Fe=ref(!1),Ue=ref(!1),qe=useIdInjection(),At=computed(()=>qe.current++),Dt=computed(()=>{var bn;return(bn=xe.name)!=null?bn:`${Ie.value}-id-${qe.prefix}-${unref(At)}`}),Lt=computed(()=>$e==null?void 0:$e.activeNames.value.includes(unref(Dt)));return{focusing:Fe,id:At,isActive:Lt,handleFocus:()=>{setTimeout(()=>{Ue.value?Ue.value=!1:Fe.value=!0},50)},handleHeaderClick:()=>{xe.disabled||($e==null||$e.handleItemClick(unref(Dt)),Fe.value=!1,Ue.value=!0)},handleEnterClick:()=>{$e==null||$e.handleItemClick(unref(Dt))}}},useCollapseItemDOM=(xe,{focusing:$e,isActive:Ie,id:Fe})=>{const Ue=useNamespace("collapse"),qe=computed(()=>[Ue.b("item"),Ue.is("active",unref(Ie)),Ue.is("disabled",xe.disabled)]),At=computed(()=>[Ue.be("item","header"),Ue.is("active",unref(Ie)),{focusing:unref($e)&&!xe.disabled}]),Dt=computed(()=>[Ue.be("item","arrow"),Ue.is("active",unref(Ie))]),Lt=computed(()=>Ue.be("item","wrap")),jt=computed(()=>Ue.be("item","content")),hn=computed(()=>Ue.b(`content-${unref(Fe)}`)),vn=computed(()=>Ue.b(`head-${unref(Fe)}`));return{arrowKls:Dt,headKls:At,rootKls:qe,itemWrapperKls:Lt,itemContentKls:jt,scopedContentId:hn,scopedHeadId:vn}},_hoisted_1$S=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],_hoisted_2$z=["id","aria-hidden","aria-labelledby"],__default__$16=defineComponent({name:"ElCollapseItem"}),_sfc_main$1G=defineComponent({...__default__$16,props:collapseItemProps,setup(xe,{expose:$e}){const Ie=xe,{focusing:Fe,id:Ue,isActive:qe,handleFocus:At,handleHeaderClick:Dt,handleEnterClick:Lt}=useCollapseItem(Ie),{arrowKls:jt,headKls:hn,rootKls:vn,itemWrapperKls:bn,itemContentKls:_n,scopedContentId:wn,scopedHeadId:kn}=useCollapseItemDOM(Ie,{focusing:Fe,isActive:qe,id:Ue});return $e({isActive:qe}),(Cn,Sn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(vn))},[createBaseVNode("button",{id:unref(kn),class:normalizeClass(unref(hn)),"aria-expanded":unref(qe),"aria-controls":unref(wn),"aria-describedby":unref(wn),tabindex:Cn.disabled?-1:0,type:"button",onClick:Sn[0]||(Sn[0]=(...xn)=>unref(Dt)&&unref(Dt)(...xn)),onKeydown:Sn[1]||(Sn[1]=withKeys(withModifiers((...xn)=>unref(Lt)&&unref(Lt)(...xn),["stop","prevent"]),["space","enter"])),onFocus:Sn[2]||(Sn[2]=(...xn)=>unref(At)&&unref(At)(...xn)),onBlur:Sn[3]||(Sn[3]=xn=>Fe.value=!1)},[renderSlot(Cn.$slots,"title",{},()=>[createTextVNode(toDisplayString(Cn.title),1)]),createVNode$1(unref(ElIcon),{class:normalizeClass(unref(jt))},{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_1$S),createVNode$1(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(wn),role:"region",class:normalizeClass(unref(bn)),"aria-hidden":!unref(qe),"aria-labelledby":unref(kn)},[createBaseVNode("div",{class:normalizeClass(unref(_n))},[renderSlot(Cn.$slots,"default")],2)],10,_hoisted_2$z),[[vShow,unref(qe)]])]),_:3})],2))}});var CollapseItem=_export_sfc$1(_sfc_main$1G,[["__file","collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(xe,$e){if(!isClient$1)return;const Ie=function(qe){var At;(At=$e.drag)==null||At.call($e,qe)},Fe=function(qe){var At;document.removeEventListener("mousemove",Ie),document.removeEventListener("mouseup",Fe),document.removeEventListener("touchmove",Ie),document.removeEventListener("touchend",Fe),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(At=$e.end)==null||At.call($e,qe)},Ue=function(qe){var At;isDragging||(qe.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",Ie),document.addEventListener("mouseup",Fe),document.addEventListener("touchmove",Ie),document.addEventListener("touchend",Fe),isDragging=!0,(At=$e.start)==null||At.call($e,qe))};xe.addEventListener("mousedown",Ue),xe.addEventListener("touchstart",Ue)}const useAlphaSlider=xe=>{const $e=getCurrentInstance(),Ie=shallowRef(),Fe=shallowRef();function Ue(At){At.target!==Ie.value&&qe(At)}function qe(At){if(!Fe.value||!Ie.value)return;const Lt=$e.vnode.el.getBoundingClientRect(),{clientX:jt,clientY:hn}=getClientXY(At);if(xe.vertical){let vn=hn-Lt.top;vn=Math.max(Ie.value.offsetHeight/2,vn),vn=Math.min(vn,Lt.height-Ie.value.offsetHeight/2),xe.color.set("alpha",Math.round((vn-Ie.value.offsetHeight/2)/(Lt.height-Ie.value.offsetHeight)*100))}else{let vn=jt-Lt.left;vn=Math.max(Ie.value.offsetWidth/2,vn),vn=Math.min(vn,Lt.width-Ie.value.offsetWidth/2),xe.color.set("alpha",Math.round((vn-Ie.value.offsetWidth/2)/(Lt.width-Ie.value.offsetWidth)*100))}}return{thumb:Ie,bar:Fe,handleDrag:qe,handleClick:Ue}},useAlphaSliderDOM=(xe,{bar:$e,thumb:Ie,handleDrag:Fe})=>{const Ue=getCurrentInstance(),qe=useNamespace("color-alpha-slider"),At=ref(0),Dt=ref(0),Lt=ref();function jt(){if(!Ie.value||xe.vertical)return 0;const xn=Ue.vnode.el,En=xe.color.get("alpha");return xn?Math.round(En*(xn.offsetWidth-Ie.value.offsetWidth/2)/100):0}function hn(){if(!Ie.value)return 0;const xn=Ue.vnode.el;if(!xe.vertical)return 0;const En=xe.color.get("alpha");return xn?Math.round(En*(xn.offsetHeight-Ie.value.offsetHeight/2)/100):0}function vn(){if(xe.color&&xe.color.value){const{r:xn,g:En,b:Tn}=xe.color.toRgb();return`linear-gradient(to right, rgba(${xn}, ${En}, ${Tn}, 0) 0%, rgba(${xn}, ${En}, ${Tn}, 1) 100%)`}return""}function bn(){At.value=jt(),Dt.value=hn(),Lt.value=vn()}onMounted(()=>{if(!$e.value||!Ie.value)return;const xn={drag:En=>{Fe(En)},end:En=>{Fe(En)}};draggable($e.value,xn),draggable(Ie.value,xn),bn()}),watch(()=>xe.color.get("alpha"),()=>bn()),watch(()=>xe.color.value,()=>bn());const _n=computed(()=>[qe.b(),qe.is("vertical",xe.vertical)]),wn=computed(()=>qe.e("bar")),kn=computed(()=>qe.e("thumb")),Cn=computed(()=>({background:Lt.value})),Sn=computed(()=>({left:addUnit(At.value),top:addUnit(Dt.value)}));return{rootKls:_n,barKls:wn,barStyle:Cn,thumbKls:kn,thumbStyle:Sn,update:bn}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$15=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1F=defineComponent({...__default__$15,props:alphaSliderProps,setup(xe,{expose:$e}){const Ie=xe,{bar:Fe,thumb:Ue,handleDrag:qe,handleClick:At}=useAlphaSlider(Ie),{rootKls:Dt,barKls:Lt,barStyle:jt,thumbKls:hn,thumbStyle:vn,update:bn}=useAlphaSliderDOM(Ie,{bar:Fe,thumb:Ue,handleDrag:qe});return $e({update:bn,bar:Fe,thumb:Ue}),(_n,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Dt))},[createBaseVNode("div",{ref_key:"bar",ref:Fe,class:normalizeClass(unref(Lt)),style:normalizeStyle$1(unref(jt)),onClick:wn[0]||(wn[0]=(...kn)=>unref(At)&&unref(At)(...kn))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:Ue,class:normalizeClass(unref(hn)),style:normalizeStyle$1(unref(vn))},null,6)],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$1F,[["__file","alpha-slider.vue"]]);const _sfc_main$1E=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(xe){const $e=useNamespace("color-hue-slider"),Ie=getCurrentInstance(),Fe=ref(),Ue=ref(),qe=ref(0),At=ref(0),Dt=computed(()=>xe.color.get("hue"));watch(()=>Dt.value,()=>{bn()});function Lt(_n){_n.target!==Fe.value&&jt(_n)}function jt(_n){if(!Ue.value||!Fe.value)return;const kn=Ie.vnode.el.getBoundingClientRect(),{clientX:Cn,clientY:Sn}=getClientXY(_n);let xn;if(xe.vertical){let En=Sn-kn.top;En=Math.min(En,kn.height-Fe.value.offsetHeight/2),En=Math.max(Fe.value.offsetHeight/2,En),xn=Math.round((En-Fe.value.offsetHeight/2)/(kn.height-Fe.value.offsetHeight)*360)}else{let En=Cn-kn.left;En=Math.min(En,kn.width-Fe.value.offsetWidth/2),En=Math.max(Fe.value.offsetWidth/2,En),xn=Math.round((En-Fe.value.offsetWidth/2)/(kn.width-Fe.value.offsetWidth)*360)}xe.color.set("hue",xn)}function hn(){if(!Fe.value)return 0;const _n=Ie.vnode.el;if(xe.vertical)return 0;const wn=xe.color.get("hue");return _n?Math.round(wn*(_n.offsetWidth-Fe.value.offsetWidth/2)/360):0}function vn(){if(!Fe.value)return 0;const _n=Ie.vnode.el;if(!xe.vertical)return 0;const wn=xe.color.get("hue");return _n?Math.round(wn*(_n.offsetHeight-Fe.value.offsetHeight/2)/360):0}function bn(){qe.value=hn(),At.value=vn()}return onMounted(()=>{if(!Ue.value||!Fe.value)return;const _n={drag:wn=>{jt(wn)},end:wn=>{jt(wn)}};draggable(Ue.value,_n),draggable(Fe.value,_n),bn()}),{bar:Ue,thumb:Fe,thumbLeft:qe,thumbTop:At,hueValue:Dt,handleClick:Lt,update:bn,ns:$e}}});function _sfc_render$q(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b(),xe.ns.is("vertical",xe.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(xe.ns.e("bar")),onClick:$e[0]||($e[0]=(...At)=>xe.handleClick&&xe.handleClick(...At))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass(xe.ns.e("thumb")),style:normalizeStyle$1({left:xe.thumbLeft+"px",top:xe.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$1E,[["render",_sfc_render$q],["__file","hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},teleported:useTooltipContentProps.teleported,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),colorPickerEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNil(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNil(xe),activeChange:xe=>isString$4(xe)||isNil(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(xe,$e,Ie){return[xe,$e*Ie/((xe=(2-$e)*Ie)<1?xe:2-xe)||0,xe/2]},isOnePointZero=function(xe){return typeof xe=="string"&&xe.includes(".")&&Number.parseFloat(xe)===1},isPercentage=function(xe){return typeof xe=="string"&&xe.includes("%")},bound01=function(xe,$e){isOnePointZero(xe)&&(xe="100%");const Ie=isPercentage(xe);return xe=Math.min($e,Math.max(0,Number.parseFloat(`${xe}`))),Ie&&(xe=Number.parseInt(`${xe*$e}`,10)/100),Math.abs(xe-$e)<1e-6?1:xe%$e/Number.parseFloat($e)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=xe=>{xe=Math.min(Math.round(xe),255);const $e=Math.floor(xe/16),Ie=xe%16;return`${INT_HEX_MAP[$e]||$e}${INT_HEX_MAP[Ie]||Ie}`},toHex=function({r:xe,g:$e,b:Ie}){return Number.isNaN(+xe)||Number.isNaN(+$e)||Number.isNaN(+Ie)?"":`#${hexOne(xe)}${hexOne($e)}${hexOne(Ie)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(xe){return xe.length===2?(HEX_INT_MAP[xe[0].toUpperCase()]||+xe[0])*16+(HEX_INT_MAP[xe[1].toUpperCase()]||+xe[1]):HEX_INT_MAP[xe[1].toUpperCase()]||+xe[1]},hsl2hsv=function(xe,$e,Ie){$e=$e/100,Ie=Ie/100;let Fe=$e;const Ue=Math.max(Ie,.01);Ie*=2,$e*=Ie<=1?Ie:2-Ie,Fe*=Ue<=1?Ue:2-Ue;const qe=(Ie+$e)/2,At=Ie===0?2*Fe/(Ue+Fe):2*$e/(Ie+$e);return{h:xe,s:At*100,v:qe*100}},rgb2hsv=(xe,$e,Ie)=>{xe=bound01(xe,255),$e=bound01($e,255),Ie=bound01(Ie,255);const Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie);let qe;const At=Fe,Dt=Fe-Ue,Lt=Fe===0?0:Dt/Fe;if(Fe===Ue)qe=0;else{switch(Fe){case xe:{qe=($e-Ie)/Dt+($e{this._hue=Math.max(0,Math.min(360,Fe)),this._saturation=Math.max(0,Math.min(100,Ue)),this._value=Math.max(0,Math.min(100,qe)),this.doOnChange()};if($e.includes("hsl")){const Fe=$e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));if(Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3){const{h:Ue,s:qe,v:At}=hsl2hsv(Fe[0],Fe[1],Fe[2]);Ie(Ue,qe,At)}}else if($e.includes("hsv")){const Fe=$e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3&&Ie(Fe[0],Fe[1],Fe[2])}else if($e.includes("rgb")){const Fe=$e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));if(Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3){const{h:Ue,s:qe,v:At}=rgb2hsv(Fe[0],Fe[1],Fe[2]);Ie(Ue,qe,At)}}else if($e.includes("#")){const Fe=$e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(Fe))return;let Ue,qe,At;Fe.length===3?(Ue=parseHexChannel(Fe[0]+Fe[0]),qe=parseHexChannel(Fe[1]+Fe[1]),At=parseHexChannel(Fe[2]+Fe[2])):(Fe.length===6||Fe.length===8)&&(Ue=parseHexChannel(Fe.slice(0,2)),qe=parseHexChannel(Fe.slice(2,4)),At=parseHexChannel(Fe.slice(4,6))),Fe.length===8?this._alpha=parseHexChannel(Fe.slice(6))/255*100:(Fe.length===3||Fe.length===6)&&(this._alpha=100);const{h:Dt,s:Lt,v:jt}=rgb2hsv(Ue,qe,At);Ie(Dt,Lt,jt)}}compare($e){return Math.abs($e._hue-this._hue)<2&&Math.abs($e._saturation-this._saturation)<1&&Math.abs($e._value-this._value)<1&&Math.abs($e._alpha-this._alpha)<1}doOnChange(){const{_hue:$e,_saturation:Ie,_value:Fe,_alpha:Ue,format:qe}=this;if(this.enableAlpha)switch(qe){case"hsl":{const At=hsv2hsl($e,Ie/100,Fe/100);this.value=`hsla(${$e}, ${Math.round(At[1]*100)}%, ${Math.round(At[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${$e}, ${Math.round(Ie)}%, ${Math.round(Fe)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb($e,Ie,Fe))}${hexOne(Ue*255/100)}`;break}default:{const{r:At,g:Dt,b:Lt}=hsv2rgb($e,Ie,Fe);this.value=`rgba(${At}, ${Dt}, ${Lt}, ${this.get("alpha")/100})`}}else switch(qe){case"hsl":{const At=hsv2hsl($e,Ie/100,Fe/100);this.value=`hsl(${$e}, ${Math.round(At[1]*100)}%, ${Math.round(At[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${$e}, ${Math.round(Ie)}%, ${Math.round(Fe)}%)`;break}case"rgb":{const{r:At,g:Dt,b:Lt}=hsv2rgb($e,Ie,Fe);this.value=`rgb(${At}, ${Dt}, ${Lt})`;break}default:this.value=toHex(hsv2rgb($e,Ie,Fe))}}}const _sfc_main$1D=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(xe){const $e=useNamespace("color-predefine"),{currentColor:Ie}=inject(colorPickerContextKey),Fe=ref(qe(xe.colors,xe.color));watch(()=>Ie.value,At=>{const Dt=new Color;Dt.fromString(At),Fe.value.forEach(Lt=>{Lt.selected=Dt.compare(Lt)})}),watchEffect(()=>{Fe.value=qe(xe.colors,xe.color)});function Ue(At){xe.color.fromString(xe.colors[At])}function qe(At,Dt){return At.map(Lt=>{const jt=new Color;return jt.enableAlpha=!0,jt.format="rgba",jt.fromString(Lt),jt.selected=jt.value===Dt.value,jt})}return{rgbaColors:Fe,handleSelect:Ue,ns:$e}}}),_hoisted_1$R=["onClick"];function _sfc_render$p(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.b())},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.rgbaColors,(At,Dt)=>(openBlock(),createElementBlock("div",{key:xe.colors[Dt],class:normalizeClass([xe.ns.e("color-selector"),xe.ns.is("alpha",At._alpha<100),{selected:At.selected}]),onClick:Lt=>xe.handleSelect(Dt)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:At.value})},null,4)],10,_hoisted_1$R))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$1D,[["render",_sfc_render$p],["__file","predefine.vue"]]);const _sfc_main$1C=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(xe){const $e=useNamespace("color-svpanel"),Ie=getCurrentInstance(),Fe=ref(0),Ue=ref(0),qe=ref("hsl(0, 100%, 50%)"),At=computed(()=>{const jt=xe.color.get("hue"),hn=xe.color.get("value");return{hue:jt,value:hn}});function Dt(){const jt=xe.color.get("saturation"),hn=xe.color.get("value"),vn=Ie.vnode.el,{clientWidth:bn,clientHeight:_n}=vn;Ue.value=jt*bn/100,Fe.value=(100-hn)*_n/100,qe.value=`hsl(${xe.color.get("hue")}, 100%, 50%)`}function Lt(jt){const vn=Ie.vnode.el.getBoundingClientRect(),{clientX:bn,clientY:_n}=getClientXY(jt);let wn=bn-vn.left,kn=_n-vn.top;wn=Math.max(0,wn),wn=Math.min(wn,vn.width),kn=Math.max(0,kn),kn=Math.min(kn,vn.height),Ue.value=wn,Fe.value=kn,xe.color.set({saturation:wn/vn.width*100,value:100-kn/vn.height*100})}return watch(()=>At.value,()=>{Dt()}),onMounted(()=>{draggable(Ie.vnode.el,{drag:jt=>{Lt(jt)},end:jt=>{Lt(jt)}}),Dt()}),{cursorTop:Fe,cursorLeft:Ue,background:qe,colorValue:At,handleDrag:Lt,update:Dt,ns:$e}}}),_hoisted_1$Q=createBaseVNode("div",null,null,-1),_hoisted_2$y=[_hoisted_1$Q];function _sfc_render$o(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.b()),style:normalizeStyle$1({backgroundColor:xe.background})},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("cursor")),style:normalizeStyle$1({top:xe.cursorTop+"px",left:xe.cursorLeft+"px"})},_hoisted_2$y,6)],6)}var SvPanel=_export_sfc$1(_sfc_main$1C,[["render",_sfc_render$o],["__file","sv-panel.vue"]]);const _hoisted_1$P=["onKeydown"],_hoisted_2$x=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],__default__$14=defineComponent({name:"ElColorPicker"}),_sfc_main$1B=defineComponent({...__default__$14,props:colorPickerProps,emits:colorPickerEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{t:Ue}=useLocale(),qe=useNamespace("color"),{formItem:At}=useFormItem(),Dt=useFormSize(),Lt=useFormDisabled(),{inputId:jt,isLabeledByFormItem:hn}=useFormItemInputId(Fe,{formItemContext:At}),vn=ref(),bn=ref(),_n=ref(),wn=ref(),kn=ref(),Cn=ref(),{isFocused:Sn,handleFocus:xn,handleBlur:En}=useFocusController(kn,{beforeBlur(tr){var or;return(or=wn.value)==null?void 0:or.isFocusInsideContent(tr)},afterBlur(){Dn(!1),jn()}}),Tn=tr=>{if(Lt.value)return ar();xn(tr)};let An=!0;const $n=reactive(new Color({enableAlpha:Fe.showAlpha,format:Fe.colorFormat||"",value:Fe.modelValue})),Pn=ref(!1),Nn=ref(!1),Mn=ref(""),In=computed(()=>!Fe.modelValue&&!Nn.value?"transparent":Ln($n,Fe.showAlpha)),On=computed(()=>!Fe.modelValue&&!Nn.value?"":$n.value),Rn=computed(()=>hn.value?void 0:Fe.label||Fe.ariaLabel||Ue("el.colorpicker.defaultLabel"));useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-color-picker",ref:"https://element-plus.org/en-US/component/color-picker.html"},computed(()=>!!Fe.label));const Bn=computed(()=>hn.value?At==null?void 0:At.labelId:void 0),Vn=computed(()=>[qe.b("picker"),qe.is("disabled",Lt.value),qe.bm("picker",Dt.value),qe.is("focused",Sn.value)]);function Ln(tr,or){if(!(tr instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:sr,g:Kn,b:Zn}=tr.toRgb();return or?`rgba(${sr}, ${Kn}, ${Zn}, ${tr.get("alpha")/100})`:`rgb(${sr}, ${Kn}, ${Zn})`}function Dn(tr){Pn.value=tr}const Hn=debounce(Dn,100,{leading:!0});function Fn(){Lt.value||Dn(!0)}function zn(){Hn(!1),jn()}function jn(){nextTick(()=>{Fe.modelValue?$n.fromString(Fe.modelValue):($n.value="",nextTick(()=>{Nn.value=!1}))})}function Gn(){Lt.value||Hn(!Pn.value)}function Wn(){$n.fromString(Mn.value)}function Xn(){const tr=$n.value;Ie(UPDATE_MODEL_EVENT,tr),Ie("change",tr),Fe.validateEvent&&(At==null||At.validate("change").catch(or=>void 0)),Hn(!1),nextTick(()=>{const or=new Color({enableAlpha:Fe.showAlpha,format:Fe.colorFormat||"",value:Fe.modelValue});$n.compare(or)||jn()})}function er(){Hn(!1),Ie(UPDATE_MODEL_EVENT,null),Ie("change",null),Fe.modelValue!==null&&Fe.validateEvent&&(At==null||At.validate("change").catch(tr=>void 0)),jn()}function rr(tr){if(Pn.value&&(zn(),Sn.value)){const or=new FocusEvent("focus",tr);En(or)}}function Jn(tr){tr.preventDefault(),tr.stopPropagation(),Dn(!1),jn()}function Yn(tr){switch(tr.code){case EVENT_CODE.enter:case EVENT_CODE.space:tr.preventDefault(),tr.stopPropagation(),Fn(),Cn.value.focus();break;case EVENT_CODE.esc:Jn(tr);break}}function qn(){kn.value.focus()}function ar(){kn.value.blur()}return onMounted(()=>{Fe.modelValue&&(Mn.value=On.value)}),watch(()=>Fe.modelValue,tr=>{tr?tr&&tr!==$n.value&&(An=!1,$n.fromString(tr)):Nn.value=!1}),watch(()=>On.value,tr=>{Mn.value=tr,An&&Ie("activeChange",tr),An=!0}),watch(()=>$n.value,()=>{!Fe.modelValue&&!Nn.value&&(Nn.value=!0)}),watch(()=>Pn.value,()=>{nextTick(()=>{var tr,or,sr;(tr=vn.value)==null||tr.update(),(or=bn.value)==null||or.update(),(sr=_n.value)==null||sr.update()})}),provide(colorPickerContextKey,{currentColor:On}),$e({color:$n,show:Fn,hide:zn,focus:qn,blur:ar}),(tr,or)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:wn,visible:Pn.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(qe).be("picker","panel"),unref(qe).b("dropdown"),tr.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:tr.teleported,transition:`${unref(qe).namespace.value}-zoom-in-top`,persistent:"",onHide:or[2]||(or[2]=sr=>Dn(!1))},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{onKeydown:withKeys(Jn,["esc"])},[createBaseVNode("div",{class:normalizeClass(unref(qe).be("dropdown","main-wrapper"))},[createVNode$1(HueSlider,{ref_key:"hue",ref:vn,class:"hue-slider",color:unref($n),vertical:""},null,8,["color"]),createVNode$1(SvPanel,{ref_key:"sv",ref:bn,color:unref($n)},null,8,["color"])],2),tr.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:_n,color:unref($n)},null,8,["color"])):createCommentVNode("v-if",!0),tr.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref($n),colors:tr.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(qe).be("dropdown","value"))},[createVNode$1(unref(ElInput),{ref_key:"inputRef",ref:Cn,modelValue:Mn.value,"onUpdate:modelValue":or[0]||(or[0]=sr=>Mn.value=sr),"validate-event":!1,size:"small",onKeyup:withKeys(Wn,["enter"]),onBlur:Wn},null,8,["modelValue","onKeyup"])],2),createVNode$1(unref(ElButton),{class:normalizeClass(unref(qe).be("dropdown","link-btn")),text:"",size:"small",onClick:er},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ue)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(qe).be("dropdown","btn")),onClick:Xn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ue)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,_hoisted_1$P)),[[unref(ClickOutside),rr]])]),default:withCtx(()=>[createBaseVNode("div",mergeProps({id:unref(jt),ref_key:"triggerRef",ref:kn},tr.$attrs,{class:unref(Vn),role:"button","aria-label":unref(Rn),"aria-labelledby":unref(Bn),"aria-description":unref(Ue)("el.colorpicker.description",{color:tr.modelValue||""}),"aria-disabled":unref(Lt),tabindex:unref(Lt)?-1:tr.tabindex,onKeydown:Yn,onFocus:Tn,onBlur:or[1]||(or[1]=(...sr)=>unref(En)&&unref(En)(...sr))}),[unref(Lt)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).be("picker","trigger")),onClick:Gn},[createBaseVNode("span",{class:normalizeClass([unref(qe).be("picker","color"),unref(qe).is("alpha",tr.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(qe).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(In)})},[withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(qe).be("picker","icon"),unref(qe).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,tr.modelValue||Nn.value]]),withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(qe).be("picker","empty"),unref(qe).is("icon-close")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"]),[[vShow,!tr.modelValue&&!Nn.value]])],6)],2)],2)],16,_hoisted_2$x)]),_:1},8,["visible","popper-class","teleported","transition"]))}});var ColorPicker=_export_sfc$1(_sfc_main$1B,[["__file","color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),__default__$13=defineComponent({name:"ElContainer"}),_sfc_main$1A=defineComponent({...__default__$13,props:{direction:{type:String}},setup(xe){const $e=xe,Ie=useSlots(),Fe=useNamespace("container"),Ue=computed(()=>$e.direction==="vertical"?!0:$e.direction==="horizontal"?!1:Ie&&Ie.default?Ie.default().some(At=>{const Dt=At.type.name;return Dt==="ElHeader"||Dt==="ElFooter"}):!1);return(qe,At)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("vertical",unref(Ue))])},[renderSlot(qe.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$1A,[["__file","container.vue"]]);const __default__$12=defineComponent({name:"ElAside"}),_sfc_main$1z=defineComponent({...__default__$12,props:{width:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("aside"),Fe=computed(()=>$e.width?Ie.cssVarBlock({width:$e.width}):{});return(Ue,qe)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$1z,[["__file","aside.vue"]]);const __default__$11=defineComponent({name:"ElFooter"}),_sfc_main$1y=defineComponent({...__default__$11,props:{height:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("footer"),Fe=computed(()=>$e.height?Ie.cssVarBlock({height:$e.height}):{});return(Ue,qe)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Footer$2=_export_sfc$1(_sfc_main$1y,[["__file","footer.vue"]]);const __default__$10=defineComponent({name:"ElHeader"}),_sfc_main$1x=defineComponent({...__default__$10,props:{height:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("header"),Fe=computed(()=>$e.height?Ie.cssVarBlock({height:$e.height}):{});return(Ue,qe)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Header=_export_sfc$1(_sfc_main$1x,[["__file","header.vue"]]);const __default__$$=defineComponent({name:"ElMain"}),_sfc_main$1w=defineComponent({...__default__$$,setup(xe){const $e=useNamespace("main");return(Ie,Fe)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref($e).b())},[renderSlot(Ie.$slots,"default")],2))}});var Main=_export_sfc$1(_sfc_main$1w,[["__file","main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer:Footer$2,Header,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$2),ElHeader=withNoopInstall(Header),ElMain=withNoopInstall(Main);var advancedFormat$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){var Ue=Fe.prototype,qe=Ue.format;Ue.format=function(At){var Dt=this,Lt=this.$locale();if(!this.isValid())return qe.bind(this)(At);var jt=this.$utils(),hn=(At||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(vn){switch(vn){case"Q":return Math.ceil((Dt.$M+1)/3);case"Do":return Lt.ordinal(Dt.$D);case"gggg":return Dt.weekYear();case"GGGG":return Dt.isoWeekYear();case"wo":return Lt.ordinal(Dt.week(),"W");case"w":case"ww":return jt.s(Dt.week(),vn==="w"?1:2,"0");case"W":case"WW":return jt.s(Dt.isoWeek(),vn==="W"?1:2,"0");case"k":case"kk":return jt.s(String(Dt.$H===0?24:Dt.$H),vn==="k"?1:2,"0");case"X":return Math.floor(Dt.$d.getTime()/1e3);case"x":return Dt.$d.getTime();case"z":return"["+Dt.offsetName()+"]";case"zzz":return"["+Dt.offsetName("long")+"]";default:return vn}});return qe.bind(this)(hn)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie="week",Fe="year";return function(Ue,qe,At){var Dt=qe.prototype;Dt.week=function(Lt){if(Lt===void 0&&(Lt=null),Lt!==null)return this.add(7*(Lt-this.week()),"day");var jt=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var hn=At(this).startOf(Fe).add(1,Fe).date(jt),vn=At(this).endOf(Ie);if(hn.isBefore(vn))return 1}var bn=At(this).startOf(Fe).date(jt).startOf(Ie).subtract(1,"millisecond"),_n=this.diff(bn,Ie,!0);return _n<0?At(this).startOf("week").week():Math.ceil(_n)},Dt.weeks=function(Lt){return Lt===void 0&&(Lt=null),this.week(Lt)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.weekYear=function(){var Ue=this.month(),qe=this.week(),At=this.year();return qe===1&&Ue===11?At+1:Ue===0&&qe>=52?At-1:At}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe,Ue){Fe.prototype.dayOfYear=function(qe){var At=Math.round((Ue(this).startOf("day")-Ue(this).startOf("year"))/864e5)+1;return qe==null?At:this.add(qe-At,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.isSameOrAfter=function(Ue,qe){return this.isSame(Ue,qe)||this.isAfter(Ue,qe)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.isSameOrBefore=function(Ue,qe){return this.isSame(Ue,qe)||this.isBefore(Ue,qe)}}})})(isSameOrBefore$1);var isSameOrBeforeExports=isSameOrBefore$1.exports;const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({...timePickerDefaultProps,type:{type:definePropType(String),default:"date"}}),selectionModes=["date","dates","year","years","month","week","range"],datePickerSharedProps=buildProps({disabledDate:{type:definePropType(Function)},date:{type:definePropType(Object),required:!0},minDate:{type:definePropType(Object)},maxDate:{type:definePropType(Object)},parsedValue:{type:definePropType([Object,Array])},rangeState:{type:definePropType(Object),default:()=>({endDate:null,selecting:!1})}}),panelSharedProps=buildProps({type:{type:definePropType(String),required:!0,values:datePickTypes},dateFormat:String,timeFormat:String}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=xe=>({type:String,values:selectionModes,default:xe}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),basicDateTableProps=buildProps({...datePickerSharedProps,cellClassName:{type:definePropType(Function)},showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),basicDateTableEmits=["changerange","pick","select"],isValidRange=xe=>{if(!isArray$6(xe))return!1;const[$e,Ie]=xe;return dayjs.isDayjs($e)&&dayjs.isDayjs(Ie)&&$e.isSameOrBefore(Ie)},getDefaultValue=(xe,{lang:$e,unit:Ie,unlinkPanels:Fe})=>{let Ue;if(isArray$6(xe)){let[qe,At]=xe.map(Dt=>dayjs(Dt).locale($e));return Fe||(At=qe.add(1,Ie)),[qe,At]}else xe?Ue=dayjs(xe):Ue=dayjs();return Ue=Ue.locale($e),[Ue,Ue.add(1,Ie)]},buildPickerTable=(xe,$e,{columnIndexOffset:Ie,startDate:Fe,nextEndDate:Ue,now:qe,unit:At,relativeDateGetter:Dt,setCellMetadata:Lt,setRowMetadata:jt})=>{for(let hn=0;hn["normal","today"].includes(xe),useBasicDateTable=(xe,$e)=>{const{lang:Ie}=useLocale(),Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=ref([[],[],[],[],[],[]]);let Lt=!1;const jt=xe.date.$locale().weekStart||7,hn=xe.date.locale("en").localeData().weekdaysShort().map(zn=>zn.toLowerCase()),vn=computed(()=>jt>3?7-jt:-jt),bn=computed(()=>{const zn=xe.date.startOf("month");return zn.subtract(zn.day()||7,"day")}),_n=computed(()=>hn.concat(hn).slice(jt,jt+7)),wn=computed(()=>flatten(unref(Tn)).some(zn=>zn.isCurrent)),kn=computed(()=>{const zn=xe.date.startOf("month"),jn=zn.day()||7,Gn=zn.daysInMonth(),Wn=zn.subtract(1,"month").daysInMonth();return{startOfMonthDay:jn,dateCountOfMonth:Gn,dateCountOfLastMonth:Wn}}),Cn=computed(()=>xe.selectionMode==="dates"?castArray(xe.parsedValue):[]),Sn=(zn,{count:jn,rowIndex:Gn,columnIndex:Wn})=>{const{startOfMonthDay:Xn,dateCountOfMonth:er,dateCountOfLastMonth:rr}=unref(kn),Jn=unref(vn);if(Gn>=0&&Gn<=1){const Yn=Xn+Jn<0?7+Xn+Jn:Xn+Jn;if(Wn+Gn*7>=Yn)return zn.text=jn,!0;zn.text=rr-(Yn-Wn%7)+1+Gn*7,zn.type="prev-month"}else return jn<=er?zn.text=jn:(zn.text=jn-er,zn.type="next-month"),!0;return!1},xn=(zn,{columnIndex:jn,rowIndex:Gn},Wn)=>{const{disabledDate:Xn,cellClassName:er}=xe,rr=unref(Cn),Jn=Sn(zn,{count:Wn,rowIndex:Gn,columnIndex:jn}),Yn=zn.dayjs.toDate();return zn.selected=rr.find(qn=>qn.isSame(zn.dayjs,"day")),zn.isSelected=!!zn.selected,zn.isCurrent=$n(zn),zn.disabled=Xn==null?void 0:Xn(Yn),zn.customClass=er==null?void 0:er(Yn),Jn},En=zn=>{if(xe.selectionMode==="week"){const[jn,Gn]=xe.showWeekNumber?[1,7]:[0,6],Wn=Fn(zn[jn+1]);zn[jn].inRange=Wn,zn[jn].start=Wn,zn[Gn].inRange=Wn,zn[Gn].end=Wn}},Tn=computed(()=>{const{minDate:zn,maxDate:jn,rangeState:Gn,showWeekNumber:Wn}=xe,Xn=unref(vn),er=unref(Dt),rr="day";let Jn=1;if(Wn)for(let Yn=0;Yn<6;Yn++)er[Yn][0]||(er[Yn][0]={type:"week",text:unref(bn).add(Yn*7+1,rr).week()});return buildPickerTable({row:6,column:7},er,{startDate:zn,columnIndexOffset:Wn?1:0,nextEndDate:Gn.endDate||jn||Gn.selecting&&zn||null,now:dayjs().locale(unref(Ie)).startOf(rr),unit:rr,relativeDateGetter:Yn=>unref(bn).add(Yn-Xn,rr),setCellMetadata:(...Yn)=>{xn(...Yn,Jn)&&(Jn+=1)},setRowMetadata:En}),er});watch(()=>xe.date,async()=>{var zn;(zn=unref(Fe))!=null&&zn.contains(document.activeElement)&&(await nextTick(),await An())});const An=async()=>{var zn;return(zn=unref(Ue))==null?void 0:zn.focus()},$n=zn=>xe.selectionMode==="date"&&isNormalDay(zn.type)&&Pn(zn,xe.parsedValue),Pn=(zn,jn)=>jn?dayjs(jn).locale(unref(Ie)).isSame(xe.date.date(Number(zn.text)),"day"):!1,Nn=(zn,jn)=>{const Gn=zn*7+(jn-(xe.showWeekNumber?1:0))-unref(vn);return unref(bn).add(Gn,"day")},Mn=zn=>{var jn;if(!xe.rangeState.selecting)return;let Gn=zn.target;if(Gn.tagName==="SPAN"&&(Gn=(jn=Gn.parentNode)==null?void 0:jn.parentNode),Gn.tagName==="DIV"&&(Gn=Gn.parentNode),Gn.tagName!=="TD")return;const Wn=Gn.parentNode.rowIndex-1,Xn=Gn.cellIndex;unref(Tn)[Wn][Xn].disabled||(Wn!==unref(qe)||Xn!==unref(At))&&(qe.value=Wn,At.value=Xn,$e("changerange",{selecting:!0,endDate:Nn(Wn,Xn)}))},In=zn=>!unref(wn)&&(zn==null?void 0:zn.text)===1&&zn.type==="normal"||zn.isCurrent,On=zn=>{Lt||unref(wn)||xe.selectionMode!=="date"||Hn(zn,!0)},Rn=zn=>{zn.target.closest("td")&&(Lt=!0)},Bn=zn=>{zn.target.closest("td")&&(Lt=!1)},Vn=zn=>{!xe.rangeState.selecting||!xe.minDate?($e("pick",{minDate:zn,maxDate:null}),$e("select",!0)):(zn>=xe.minDate?$e("pick",{minDate:xe.minDate,maxDate:zn}):$e("pick",{minDate:zn,maxDate:xe.minDate}),$e("select",!1))},Ln=zn=>{const jn=zn.week(),Gn=`${zn.year()}w${jn}`;$e("pick",{year:zn.year(),week:jn,value:Gn,date:zn.startOf("week")})},Dn=(zn,jn)=>{const Gn=jn?castArray(xe.parsedValue).filter(Wn=>(Wn==null?void 0:Wn.valueOf())!==zn.valueOf()):castArray(xe.parsedValue).concat([zn]);$e("pick",Gn)},Hn=(zn,jn=!1)=>{const Gn=zn.target.closest("td");if(!Gn)return;const Wn=Gn.parentNode.rowIndex-1,Xn=Gn.cellIndex,er=unref(Tn)[Wn][Xn];if(er.disabled||er.type==="week")return;const rr=Nn(Wn,Xn);switch(xe.selectionMode){case"range":{Vn(rr);break}case"date":{$e("pick",rr,jn);break}case"week":{Ln(rr);break}case"dates":{Dn(rr,!!er.selected);break}}},Fn=zn=>{if(xe.selectionMode!=="week")return!1;let jn=xe.date.startOf("day");if(zn.type==="prev-month"&&(jn=jn.subtract(1,"month")),zn.type==="next-month"&&(jn=jn.add(1,"month")),jn=jn.date(Number.parseInt(zn.text,10)),xe.parsedValue&&!Array.isArray(xe.parsedValue)){const Gn=(xe.parsedValue.day()-jt+7)%7-1;return xe.parsedValue.subtract(Gn,"day").isSame(jn,"day")}return!1};return{WEEKS:_n,rows:Tn,tbodyRef:Fe,currentCellRef:Ue,focus:An,isCurrent:$n,isWeekActive:Fn,isSelectedCell:In,handlePickDate:Hn,handleMouseUp:Bn,handleMouseDown:Rn,handleMouseMove:Mn,handleFocus:On}},useBasicDateTableDOM=(xe,{isCurrent:$e,isWeekActive:Ie})=>{const Fe=useNamespace("date-table"),{t:Ue}=useLocale(),qe=computed(()=>[Fe.b(),{"is-week-mode":xe.selectionMode==="week"}]),At=computed(()=>Ue("el.datepicker.dateTablePrompt")),Dt=computed(()=>Ue("el.datepicker.week"));return{tableKls:qe,tableLabel:At,weekLabel:Dt,getCellClasses:hn=>{const vn=[];return isNormalDay(hn.type)&&!hn.disabled?(vn.push("available"),hn.type==="today"&&vn.push("today")):vn.push(hn.type),$e(hn)&&vn.push("current"),hn.inRange&&(isNormalDay(hn.type)||xe.selectionMode==="week")&&(vn.push("in-range"),hn.start&&vn.push("start-date"),hn.end&&vn.push("end-date")),hn.disabled&&vn.push("disabled"),hn.selected&&vn.push("selected"),hn.customClass&&vn.push(hn.customClass),vn.join(" ")},getRowKls:hn=>[Fe.e("row"),{current:Ie(hn)}],t:Ue}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(xe){const $e=useNamespace("date-table-cell"),{slots:Ie}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:Fe}=xe;return renderSlot(Ie,"default",{...Fe},()=>[createVNode$1("div",{class:$e.b()},[createVNode$1("span",{class:$e.e("text")},[Fe==null?void 0:Fe.text])])])}}});const _hoisted_1$O=["aria-label"],_hoisted_2$w={key:0,scope:"col"},_hoisted_3$i=["aria-label"],_hoisted_4$b=["aria-current","aria-selected","tabindex"],_sfc_main$1v=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:basicDateTableEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{WEEKS:Ue,rows:qe,tbodyRef:At,currentCellRef:Dt,focus:Lt,isCurrent:jt,isWeekActive:hn,isSelectedCell:vn,handlePickDate:bn,handleMouseUp:_n,handleMouseDown:wn,handleMouseMove:kn,handleFocus:Cn}=useBasicDateTable(Fe,Ie),{tableLabel:Sn,tableKls:xn,weekLabel:En,getCellClasses:Tn,getRowKls:An,t:$n}=useBasicDateTableDOM(Fe,{isCurrent:jt,isWeekActive:hn});return $e({focus:Lt}),(Pn,Nn)=>(openBlock(),createElementBlock("table",{"aria-label":unref(Sn),class:normalizeClass(unref(xn)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:Nn[1]||(Nn[1]=(...Mn)=>unref(bn)&&unref(bn)(...Mn)),onMousemove:Nn[2]||(Nn[2]=(...Mn)=>unref(kn)&&unref(kn)(...Mn)),onMousedown:Nn[3]||(Nn[3]=withModifiers((...Mn)=>unref(wn)&&unref(wn)(...Mn),["prevent"])),onMouseup:Nn[4]||(Nn[4]=(...Mn)=>unref(_n)&&unref(_n)(...Mn))},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:At},[createBaseVNode("tr",null,[Pn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$w,toDisplayString(unref(En)),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue),(Mn,In)=>(openBlock(),createElementBlock("th",{key:In,"aria-label":unref($n)("el.datepicker.weeksFull."+Mn),scope:"col"},toDisplayString(unref($n)("el.datepicker.weeks."+Mn)),9,_hoisted_3$i))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),(Mn,In)=>(openBlock(),createElementBlock("tr",{key:In,class:normalizeClass(unref(An)(Mn[1]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn,(On,Rn)=>(openBlock(),createElementBlock("td",{key:`${In}.${Rn}`,ref_for:!0,ref:Bn=>unref(vn)(On)&&(Dt.value=Bn),class:normalizeClass(unref(Tn)(On)),"aria-current":On.isCurrent?"date":void 0,"aria-selected":On.isCurrent,tabindex:unref(vn)(On)?0:-1,onFocus:Nn[0]||(Nn[0]=(...Bn)=>unref(Cn)&&unref(Cn)(...Bn))},[createVNode$1(unref(ElDatePickerCell),{cell:On},null,8,["cell"])],42,_hoisted_4$b))),128))],2))),128))],512)],42,_hoisted_1$O))}});var DateTable=_export_sfc$1(_sfc_main$1v,[["__file","basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$N=["aria-label"],_hoisted_2$v=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$h={class:"cell"},_sfc_main$1u=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=(Tn,An,$n)=>{const Pn=dayjs().locale($n).startOf("month").month(An).year(Tn),Nn=Pn.daysInMonth();return rangeArr(Nn).map(Mn=>Pn.add(Mn,"day").toDate())},qe=useNamespace("month-table"),{t:At,lang:Dt}=useLocale(),Lt=ref(),jt=ref(),hn=ref(Fe.date.locale("en").localeData().monthsShort().map(Tn=>Tn.toLowerCase())),vn=ref([[],[],[]]),bn=ref(),_n=ref(),wn=computed(()=>{var Tn,An;const $n=vn.value,Pn=dayjs().locale(Dt.value).startOf("month");for(let Nn=0;Nn<3;Nn++){const Mn=$n[Nn];for(let In=0;In<4;In++){const On=Mn[In]||(Mn[In]={row:Nn,column:In,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});On.type="normal";const Rn=Nn*4+In,Bn=Fe.date.startOf("year").month(Rn),Vn=Fe.rangeState.endDate||Fe.maxDate||Fe.rangeState.selecting&&Fe.minDate||null;On.inRange=!!(Fe.minDate&&Bn.isSameOrAfter(Fe.minDate,"month")&&Vn&&Bn.isSameOrBefore(Vn,"month"))||!!(Fe.minDate&&Bn.isSameOrBefore(Fe.minDate,"month")&&Vn&&Bn.isSameOrAfter(Vn,"month")),(Tn=Fe.minDate)!=null&&Tn.isSameOrAfter(Vn)?(On.start=!!(Vn&&Bn.isSame(Vn,"month")),On.end=Fe.minDate&&Bn.isSame(Fe.minDate,"month")):(On.start=!!(Fe.minDate&&Bn.isSame(Fe.minDate,"month")),On.end=!!(Vn&&Bn.isSame(Vn,"month"))),Pn.isSame(Bn)&&(On.type="today"),On.text=Rn,On.disabled=((An=Fe.disabledDate)==null?void 0:An.call(Fe,Bn.toDate()))||!1}}return $n}),kn=()=>{var Tn;(Tn=jt.value)==null||Tn.focus()},Cn=Tn=>{const An={},$n=Fe.date.year(),Pn=new Date,Nn=Tn.text;return An.disabled=Fe.disabledDate?Ue($n,Nn,Dt.value).every(Fe.disabledDate):!1,An.current=castArray(Fe.parsedValue).findIndex(Mn=>dayjs.isDayjs(Mn)&&Mn.year()===$n&&Mn.month()===Nn)>=0,An.today=Pn.getFullYear()===$n&&Pn.getMonth()===Nn,Tn.inRange&&(An["in-range"]=!0,Tn.start&&(An["start-date"]=!0),Tn.end&&(An["end-date"]=!0)),An},Sn=Tn=>{const An=Fe.date.year(),$n=Tn.text;return castArray(Fe.date).findIndex(Pn=>Pn.year()===An&&Pn.month()===$n)>=0},xn=Tn=>{var An;if(!Fe.rangeState.selecting)return;let $n=Tn.target;if($n.tagName==="SPAN"&&($n=(An=$n.parentNode)==null?void 0:An.parentNode),$n.tagName==="DIV"&&($n=$n.parentNode),$n.tagName!=="TD")return;const Pn=$n.parentNode.rowIndex,Nn=$n.cellIndex;wn.value[Pn][Nn].disabled||(Pn!==bn.value||Nn!==_n.value)&&(bn.value=Pn,_n.value=Nn,Ie("changerange",{selecting:!0,endDate:Fe.date.startOf("year").month(Pn*4+Nn)}))},En=Tn=>{var An;const $n=(An=Tn.target)==null?void 0:An.closest("td");if(($n==null?void 0:$n.tagName)!=="TD"||hasClass($n,"disabled"))return;const Pn=$n.cellIndex,Mn=$n.parentNode.rowIndex*4+Pn,In=Fe.date.startOf("year").month(Mn);Fe.selectionMode==="range"?Fe.rangeState.selecting?(Fe.minDate&&In>=Fe.minDate?Ie("pick",{minDate:Fe.minDate,maxDate:In}):Ie("pick",{minDate:In,maxDate:Fe.minDate}),Ie("select",!1)):(Ie("pick",{minDate:In,maxDate:null}),Ie("select",!0)):Ie("pick",Mn)};return watch(()=>Fe.date,async()=>{var Tn,An;(Tn=Lt.value)!=null&&Tn.contains(document.activeElement)&&(await nextTick(),(An=jt.value)==null||An.focus())}),$e({focus:kn}),(Tn,An)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(At)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(qe).b()),onClick:En,onMousemove:xn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Lt},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),($n,Pn)=>(openBlock(),createElementBlock("tr",{key:Pn},[(openBlock(!0),createElementBlock(Fragment,null,renderList($n,(Nn,Mn)=>(openBlock(),createElementBlock("td",{key:Mn,ref_for:!0,ref:In=>Sn(Nn)&&(jt.value=In),class:normalizeClass(Cn(Nn)),"aria-selected":`${Sn(Nn)}`,"aria-label":unref(At)(`el.datepicker.month${+Nn.text+1}`),tabindex:Sn(Nn)?0:-1,onKeydown:[withKeys(withModifiers(En,["prevent","stop"]),["space"]),withKeys(withModifiers(En,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$h,toDisplayString(unref(At)("el.datepicker.months."+hn.value[Nn.text])),1)])],42,_hoisted_2$v))),128))]))),128))],512)],42,_hoisted_1$N))}});var MonthTable=_export_sfc$1(_sfc_main$1u,[["__file","basic-month-table.vue"]]);const{date,disabledDate,parsedValue}=datePickerSharedProps,basicYearTableProps=buildProps({date,disabledDate,parsedValue,selectionMode:selectionModeWithDefault("year")}),_hoisted_1$M=["aria-label"],_hoisted_2$u=["aria-selected","tabindex","onKeydown"],_hoisted_3$g={class:"cell"},_hoisted_4$a={key:1},_sfc_main$1t=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=(kn,Cn)=>{const Sn=dayjs(String(kn)).locale(Cn).startOf("year"),En=Sn.endOf("year").dayOfYear();return rangeArr(En).map(Tn=>Sn.add(Tn,"day").toDate())},qe=useNamespace("year-table"),{t:At,lang:Dt}=useLocale(),Lt=ref(),jt=ref(),hn=computed(()=>Math.floor(Fe.date.year()/10)*10),vn=()=>{var kn;(kn=jt.value)==null||kn.focus()},bn=kn=>{const Cn={},Sn=dayjs().locale(Dt.value);return Cn.disabled=Fe.disabledDate?Ue(kn,Dt.value).every(Fe.disabledDate):!1,Cn.current=castArray(Fe.parsedValue).findIndex(xn=>xn.year()===kn)>=0,Cn.today=Sn.year()===kn,Cn},_n=kn=>kn===hn.value&&Fe.date.year()hn.value+9||castArray(Fe.date).findIndex(Cn=>Cn.year()===kn)>=0||castArray(Fe.parsedValue).findIndex(Cn=>(Cn==null?void 0:Cn.year())===kn)>=0,wn=kn=>{const Sn=kn.target.closest("td");if(Sn&&Sn.textContent){if(hasClass(Sn,"disabled"))return;const xn=Sn.textContent||Sn.innerText;if(Fe.selectionMode==="years"){if(kn.type==="keydown"){Ie("pick",castArray(Fe.parsedValue),!1);return}const En=hasClass(Sn,"current")?castArray(Fe.parsedValue).filter(Tn=>(Tn==null?void 0:Tn.year())!==Number(xn)):castArray(Fe.parsedValue).concat([dayjs(xn)]);Ie("pick",En)}else Ie("pick",Number(xn))}};return watch(()=>Fe.date,async()=>{var kn,Cn;(kn=Lt.value)!=null&&kn.contains(document.activeElement)&&(await nextTick(),(Cn=jt.value)==null||Cn.focus())}),$e({focus:vn}),(kn,Cn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(At)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(qe).b()),onClick:wn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Lt},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(Sn,xn)=>createBaseVNode("tr",{key:xn},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(En,Tn)=>(openBlock(),createElementBlock(Fragment,{key:xn+"_"+Tn},[xn*4+Tn<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:An=>_n(unref(hn)+xn*4+Tn)&&(jt.value=An),class:normalizeClass(["available",bn(unref(hn)+xn*4+Tn)]),"aria-selected":`${_n(unref(hn)+xn*4+Tn)}`,tabindex:_n(unref(hn)+xn*4+Tn)?0:-1,onKeydown:[withKeys(withModifiers(wn,["prevent","stop"]),["space"]),withKeys(withModifiers(wn,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$g,toDisplayString(unref(hn)+xn*4+Tn),1)])],42,_hoisted_2$u)):(openBlock(),createElementBlock("td",_hoisted_4$a))],64))),64))])),64))],512)],10,_hoisted_1$M))}});var YearTable=_export_sfc$1(_sfc_main$1t,[["__file","basic-year-table.vue"]]);const _hoisted_1$L=["onClick"],_hoisted_2$t=["aria-label"],_hoisted_3$f=["aria-label"],_hoisted_4$9=["aria-label"],_hoisted_5$7=["aria-label"],_sfc_main$1s=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(xe,{emit:$e}){const Ie=xe,Fe=($r,Br,Tr)=>!0,Ue=useNamespace("picker-panel"),qe=useNamespace("date-picker"),At=useAttrs$1(),Dt=useSlots(),{t:Lt,lang:jt}=useLocale(),hn=inject("EP_PICKER_BASE"),vn=inject(TOOLTIP_INJECTION_KEY),{shortcuts:bn,disabledDate:_n,cellClassName:wn,defaultTime:kn}=hn.props,Cn=toRef(hn.props,"defaultValue"),Sn=ref(),xn=ref(dayjs().locale(jt.value)),En=ref(!1);let Tn=!1;const An=computed(()=>dayjs(kn).locale(jt.value)),$n=computed(()=>xn.value.month()),Pn=computed(()=>xn.value.year()),Nn=ref([]),Mn=ref(null),In=ref(null),On=$r=>Nn.value.length>0?Fe($r,Nn.value,Ie.format||"HH:mm:ss"):!0,Rn=$r=>kn&&!Zn.value&&!En.value&&!Tn?An.value.year($r.year()).month($r.month()).date($r.date()):Jn.value?$r.millisecond(0):$r.startOf("day"),Bn=($r,...Br)=>{if(!$r)$e("pick",$r,...Br);else if(isArray$6($r)){const Tr=$r.map(Rn);$e("pick",Tr,...Br)}else $e("pick",Rn($r),...Br);Mn.value=null,In.value=null,En.value=!1,Tn=!1},Vn=async($r,Br)=>{if(jn.value==="date"){$r=$r;let Tr=Ie.parsedValue?Ie.parsedValue.year($r.year()).month($r.month()).date($r.date()):$r;On(Tr)||(Tr=Nn.value[0][0].year($r.year()).month($r.month()).date($r.date())),xn.value=Tr,Bn(Tr,Jn.value||Br),Ie.type==="datetime"&&(await nextTick(),Rr())}else jn.value==="week"?Bn($r.date):jn.value==="dates"&&Bn($r,!0)},Ln=$r=>{const Br=$r?"add":"subtract";xn.value=xn.value[Br](1,"month"),Gr("month")},Dn=$r=>{const Br=xn.value,Tr=$r?"add":"subtract";xn.value=Hn.value==="year"?Br[Tr](10,"year"):Br[Tr](1,"year"),Gr("year")},Hn=ref("date"),Fn=computed(()=>{const $r=Lt("el.datepicker.year");if(Hn.value==="year"){const Br=Math.floor(Pn.value/10)*10;return $r?`${Br} ${$r} - ${Br+9} ${$r}`:`${Br} - ${Br+9}`}return`${Pn.value} ${$r}`}),zn=$r=>{const Br=isFunction$5($r.value)?$r.value():$r.value;if(Br){Tn=!0,Bn(dayjs(Br).locale(jt.value));return}$r.onClick&&$r.onClick({attrs:At,slots:Dt,emit:$e})},jn=computed(()=>{const{type:$r}=Ie;return["week","month","year","years","dates"].includes($r)?$r:"date"}),Gn=computed(()=>jn.value==="date"?Hn.value:jn.value),Wn=computed(()=>!!bn.length),Xn=async $r=>{xn.value=xn.value.startOf("month").month($r),jn.value==="month"?Bn(xn.value,!1):(Hn.value="date",["month","year","date","week"].includes(jn.value)&&(Bn(xn.value,!0),await nextTick(),Rr())),Gr("month")},er=async($r,Br)=>{jn.value==="year"?(xn.value=xn.value.startOf("year").year($r),Bn(xn.value,!1)):jn.value==="years"?Bn($r,Br??!0):(xn.value=xn.value.year($r),Hn.value="month",["month","year","date","week"].includes(jn.value)&&(Bn(xn.value,!0),await nextTick(),Rr())),Gr("year")},rr=async $r=>{Hn.value=$r,await nextTick(),Rr()},Jn=computed(()=>Ie.type==="datetime"||Ie.type==="datetimerange"),Yn=computed(()=>{const $r=Jn.value||jn.value==="dates",Br=jn.value==="years",Tr=Hn.value==="date",cr=Hn.value==="year";return $r&&Tr||Br&&cr}),qn=computed(()=>_n?Ie.parsedValue?isArray$6(Ie.parsedValue)?_n(Ie.parsedValue[0].toDate()):_n(Ie.parsedValue.toDate()):!0:!1),ar=()=>{if(jn.value==="dates"||jn.value==="years")Bn(Ie.parsedValue);else{let $r=Ie.parsedValue;if(!$r){const Br=dayjs(kn).locale(jt.value),Tr=xr();$r=Br.year(Tr.year()).month(Tr.month()).date(Tr.date())}xn.value=$r,Bn($r)}},tr=computed(()=>_n?_n(dayjs().locale(jt.value).toDate()):!1),or=()=>{const Br=dayjs().locale(jt.value).toDate();En.value=!0,(!_n||!_n(Br))&&On(Br)&&(xn.value=dayjs().locale(jt.value),Bn(xn.value))},sr=computed(()=>Ie.timeFormat||extractTimeFormat(Ie.format)),Kn=computed(()=>Ie.dateFormat||extractDateFormat(Ie.format)),Zn=computed(()=>{if(In.value)return In.value;if(!(!Ie.parsedValue&&!Cn.value))return(Ie.parsedValue||xn.value).format(sr.value)}),nr=computed(()=>{if(Mn.value)return Mn.value;if(!(!Ie.parsedValue&&!Cn.value))return(Ie.parsedValue||xn.value).format(Kn.value)}),lr=ref(!1),ir=()=>{lr.value=!0},kr=()=>{lr.value=!1},Cr=$r=>({hour:$r.hour(),minute:$r.minute(),second:$r.second(),year:$r.year(),month:$r.month(),date:$r.date()}),Er=($r,Br,Tr)=>{const{hour:cr,minute:Sr,second:Dr}=Cr($r),mr=Ie.parsedValue?Ie.parsedValue.hour(cr).minute(Sr).second(Dr):$r;xn.value=mr,Bn(xn.value,!0),Tr||(lr.value=Br)},dr=$r=>{const Br=dayjs($r,sr.value).locale(jt.value);if(Br.isValid()&&On(Br)){const{year:Tr,month:cr,date:Sr}=Cr(xn.value);xn.value=Br.year(Tr).month(cr).date(Sr),In.value=null,lr.value=!1,Bn(xn.value,!0)}},br=$r=>{const Br=dayjs($r,Kn.value).locale(jt.value);if(Br.isValid()){if(_n&&_n(Br.toDate()))return;const{hour:Tr,minute:cr,second:Sr}=Cr(xn.value);xn.value=Br.hour(Tr).minute(cr).second(Sr),Mn.value=null,Bn(xn.value,!0)}},_r=$r=>dayjs.isDayjs($r)&&$r.isValid()&&(_n?!_n($r.toDate()):!0),Pr=$r=>isArray$6($r)?$r.map(Br=>Br.format(Ie.format)):$r.format(Ie.format),gr=$r=>dayjs($r,Ie.format).locale(jt.value),xr=()=>{const $r=dayjs(Cn.value).locale(jt.value);if(!Cn.value){const Br=An.value;return dayjs().hour(Br.hour()).minute(Br.minute()).second(Br.second()).locale(jt.value)}return $r},Rr=async()=>{var $r;["week","month","year","date"].includes(jn.value)&&(($r=Sn.value)==null||$r.focus(),jn.value==="week"&&Jr(EVENT_CODE.down))},Hr=$r=>{const{code:Br}=$r;[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(Br)&&(Jr(Br),$r.stopPropagation(),$r.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(Br)&&Mn.value===null&&In.value===null&&($r.preventDefault(),Bn(xn.value,!1))},Jr=$r=>{var Br;const{up:Tr,down:cr,left:Sr,right:Dr,home:mr,end:Lr,pageUp:zr,pageDown:Vr}=EVENT_CODE,Kr={year:{[Tr]:-4,[cr]:4,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setFullYear(Ur.getFullYear()+uo)},month:{[Tr]:-4,[cr]:4,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setMonth(Ur.getMonth()+uo)},week:{[Tr]:-1,[cr]:1,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setDate(Ur.getDate()+uo*7)},date:{[Tr]:-7,[cr]:7,[Sr]:-1,[Dr]:1,[mr]:Ur=>-Ur.getDay(),[Lr]:Ur=>-Ur.getDay()+6,[zr]:Ur=>-new Date(Ur.getFullYear(),Ur.getMonth(),0).getDate(),[Vr]:Ur=>new Date(Ur.getFullYear(),Ur.getMonth()+1,0).getDate(),offset:(Ur,uo)=>Ur.setDate(Ur.getDate()+uo)}},qr=xn.value.toDate();for(;Math.abs(xn.value.diff(qr,"year",!0))<1;){const Ur=Kr[Gn.value];if(!Ur)return;if(Ur.offset(qr,isFunction$5(Ur[$r])?Ur[$r](qr):(Br=Ur[$r])!=null?Br:0),_n&&_n(qr))break;const uo=dayjs(qr).locale(jt.value);xn.value=uo,$e("pick",uo,!0);break}},Gr=$r=>{$e("panel-change",xn.value.toDate(),$r,Hn.value)};return watch(()=>jn.value,$r=>{if(["month","year"].includes($r)){Hn.value=$r;return}else if($r==="years"){Hn.value="year";return}Hn.value="date"},{immediate:!0}),watch(()=>Hn.value,()=>{vn==null||vn.updatePopper()}),watch(()=>Cn.value,$r=>{$r&&(xn.value=xr())},{immediate:!0}),watch(()=>Ie.parsedValue,$r=>{if($r){if(jn.value==="dates"||jn.value==="years"||Array.isArray($r))return;xn.value=$r}else xn.value=xr()},{immediate:!0}),$e("set-picker-option",["isValidValue",_r]),$e("set-picker-option",["formatToString",Pr]),$e("set-picker-option",["parseUserInput",gr]),$e("set-picker-option",["handleFocusPicker",Rr]),($r,Br)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ue).b(),unref(qe).b(),{"has-sidebar":$r.$slots.sidebar||unref(Wn),"has-time":unref(Jn)}])},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("body-wrapper"))},[renderSlot($r.$slots,"sidebar",{class:normalizeClass(unref(Ue).e("sidebar"))}),unref(Wn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(Tr,cr)=>(openBlock(),createElementBlock("button",{key:cr,type:"button",class:normalizeClass(unref(Ue).e("shortcut")),onClick:Sr=>zn(Tr)},toDisplayString(Tr.text),11,_hoisted_1$L))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("body"))},[unref(Jn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(qe).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(Lt)("el.datepicker.selectDate"),"model-value":unref(nr),size:"small","validate-event":!1,onInput:Br[0]||(Br[0]=Tr=>Mn.value=Tr),onChange:br},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(qe).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(Lt)("el.datepicker.selectTime"),"model-value":unref(Zn),size:"small","validate-event":!1,onFocus:ir,onInput:Br[1]||(Br[1]=Tr=>In.value=Tr),onChange:dr},null,8,["placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:lr.value,format:unref(sr),"parsed-value":xn.value,onPick:Er},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),kr]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(qe).e("header"),(Hn.value==="year"||Hn.value==="month")&&unref(qe).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(qe).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(Ue).e("icon-btn")]),onClick:Br[2]||(Br[2]=Tr=>Dn(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$t),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.prevMonth"),class:normalizeClass([unref(Ue).e("icon-btn"),"arrow-left"]),onClick:Br[3]||(Br[3]=Tr=>Ln(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$f),[[vShow,Hn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(qe).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Br[4]||(Br[4]=withKeys(Tr=>rr("year"),["enter"])),onClick:Br[5]||(Br[5]=Tr=>rr("year"))},toDisplayString(unref(Fn)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(qe).e("header-label"),{active:Hn.value==="month"}]),onKeydown:Br[6]||(Br[6]=withKeys(Tr=>rr("month"),["enter"])),onClick:Br[7]||(Br[7]=Tr=>rr("month"))},toDisplayString(unref(Lt)(`el.datepicker.month${unref($n)+1}`)),35),[[vShow,Hn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(qe).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.nextMonth"),class:normalizeClass([unref(Ue).e("icon-btn"),"arrow-right"]),onClick:Br[8]||(Br[8]=Tr=>Ln(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_4$9),[[vShow,Hn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.nextYear"),class:normalizeClass([unref(Ue).e("icon-btn"),"d-arrow-right"]),onClick:Br[9]||(Br[9]=Tr=>Dn(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$7)],2)],2),[[vShow,Hn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("content")),onKeydown:Hr},[Hn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:Sn,"selection-mode":unref(jn),date:xn.value,"parsed-value":$r.parsedValue,"disabled-date":unref(_n),"cell-class-name":unref(wn),onPick:Vn},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),Hn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:Sn,"selection-mode":unref(jn),date:xn.value,"disabled-date":unref(_n),"parsed-value":$r.parsedValue,onPick:er},null,8,["selection-mode","date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),Hn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:Sn,date:xn.value,"parsed-value":$r.parsedValue,"disabled-date":unref(_n),onPick:Xn},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(Ue).e("footer"))},[withDirectives(createVNode$1(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(Ue).e("link-btn")),disabled:unref(tr),onClick:or},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Lt)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[vShow,unref(jn)!=="dates"&&unref(jn)!=="years"]]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Ue).e("link-btn")),disabled:unref(qn),onClick:ar},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Lt)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[vShow,unref(Yn)]])],2))}});var DatePickPanel=_export_sfc$1(_sfc_main$1s,[["__file","panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=xe=>{const{emit:$e}=getCurrentInstance(),Ie=useAttrs$1(),Fe=useSlots();return qe=>{const At=isFunction$5(qe.value)?qe.value():qe.value;if(At){$e("pick",[dayjs(At[0]).locale(xe.value),dayjs(At[1]).locale(xe.value)]);return}qe.onClick&&qe.onClick({attrs:Ie,slots:Fe,emit:$e})}},useRangePicker=(xe,{defaultValue:$e,leftDate:Ie,rightDate:Fe,unit:Ue,onParsedValueChanged:qe})=>{const{emit:At}=getCurrentInstance(),{pickerNs:Dt}=inject(ROOT_PICKER_INJECTION_KEY),Lt=useNamespace("date-range-picker"),{t:jt,lang:hn}=useLocale(),vn=useShortcut(hn),bn=ref(),_n=ref(),wn=ref({endDate:null,selecting:!1}),kn=En=>{wn.value=En},Cn=(En=!1)=>{const Tn=unref(bn),An=unref(_n);isValidRange([Tn,An])&&At("pick",[Tn,An],En)},Sn=En=>{wn.value.selecting=En,En||(wn.value.endDate=null)},xn=()=>{const[En,Tn]=getDefaultValue(unref($e),{lang:unref(hn),unit:Ue,unlinkPanels:xe.unlinkPanels});bn.value=void 0,_n.value=void 0,Ie.value=En,Fe.value=Tn};return watch($e,En=>{En&&xn()},{immediate:!0}),watch(()=>xe.parsedValue,En=>{if(isArray$6(En)&&En.length===2){const[Tn,An]=En;bn.value=Tn,Ie.value=Tn,_n.value=An,qe(unref(bn),unref(_n))}else xn()},{immediate:!0}),{minDate:bn,maxDate:_n,rangeState:wn,lang:hn,ppNs:Dt,drpNs:Lt,handleChangeRange:kn,handleRangeConfirm:Cn,handleShortcutClick:vn,onSelect:Sn,t:jt}},_hoisted_1$K=["onClick"],_hoisted_2$s=["aria-label"],_hoisted_3$e=["aria-label"],_hoisted_4$8=["disabled","aria-label"],_hoisted_5$6=["disabled","aria-label"],_hoisted_6$4=["disabled","aria-label"],_hoisted_7$2=["disabled","aria-label"],_hoisted_8$2=["aria-label"],_hoisted_9$2=["aria-label"],unit$1="month",_sfc_main$1r=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(xe,{emit:$e}){const Ie=xe,Fe=inject("EP_PICKER_BASE"),{disabledDate:Ue,cellClassName:qe,format:At,defaultTime:Dt,clearable:Lt}=Fe.props,jt=toRef(Fe.props,"shortcuts"),hn=toRef(Fe.props,"defaultValue"),{lang:vn}=useLocale(),bn=ref(dayjs().locale(vn.value)),_n=ref(dayjs().locale(vn.value).add(1,unit$1)),{minDate:wn,maxDate:kn,rangeState:Cn,ppNs:Sn,drpNs:xn,handleChangeRange:En,handleRangeConfirm:Tn,handleShortcutClick:An,onSelect:$n,t:Pn}=useRangePicker(Ie,{defaultValue:hn,leftDate:bn,rightDate:_n,unit:unit$1,onParsedValueChanged:Br}),Nn=ref({min:null,max:null}),Mn=ref({min:null,max:null}),In=computed(()=>`${bn.value.year()} ${Pn("el.datepicker.year")} ${Pn(`el.datepicker.month${bn.value.month()+1}`)}`),On=computed(()=>`${_n.value.year()} ${Pn("el.datepicker.year")} ${Pn(`el.datepicker.month${_n.value.month()+1}`)}`),Rn=computed(()=>bn.value.year()),Bn=computed(()=>bn.value.month()),Vn=computed(()=>_n.value.year()),Ln=computed(()=>_n.value.month()),Dn=computed(()=>!!jt.value.length),Hn=computed(()=>Nn.value.min!==null?Nn.value.min:wn.value?wn.value.format(Wn.value):""),Fn=computed(()=>Nn.value.max!==null?Nn.value.max:kn.value||wn.value?(kn.value||wn.value).format(Wn.value):""),zn=computed(()=>Mn.value.min!==null?Mn.value.min:wn.value?wn.value.format(Gn.value):""),jn=computed(()=>Mn.value.max!==null?Mn.value.max:kn.value||wn.value?(kn.value||wn.value).format(Gn.value):""),Gn=computed(()=>Ie.timeFormat||extractTimeFormat(At)),Wn=computed(()=>Ie.dateFormat||extractDateFormat(At)),Xn=Tr=>isValidRange(Tr)&&(Ue?!Ue(Tr[0].toDate())&&!Ue(Tr[1].toDate()):!0),er=()=>{bn.value=bn.value.subtract(1,"year"),Ie.unlinkPanels||(_n.value=bn.value.add(1,"month")),sr("year")},rr=()=>{bn.value=bn.value.subtract(1,"month"),Ie.unlinkPanels||(_n.value=bn.value.add(1,"month")),sr("month")},Jn=()=>{Ie.unlinkPanels?_n.value=_n.value.add(1,"year"):(bn.value=bn.value.add(1,"year"),_n.value=bn.value.add(1,"month")),sr("year")},Yn=()=>{Ie.unlinkPanels?_n.value=_n.value.add(1,"month"):(bn.value=bn.value.add(1,"month"),_n.value=bn.value.add(1,"month")),sr("month")},qn=()=>{bn.value=bn.value.add(1,"year"),sr("year")},ar=()=>{bn.value=bn.value.add(1,"month"),sr("month")},tr=()=>{_n.value=_n.value.subtract(1,"year"),sr("year")},or=()=>{_n.value=_n.value.subtract(1,"month"),sr("month")},sr=Tr=>{$e("panel-change",[bn.value.toDate(),_n.value.toDate()],Tr)},Kn=computed(()=>{const Tr=(Bn.value+1)%12,cr=Bn.value+1>=12?1:0;return Ie.unlinkPanels&&new Date(Rn.value+cr,Tr)Ie.unlinkPanels&&Vn.value*12+Ln.value-(Rn.value*12+Bn.value+1)>=12),nr=computed(()=>!(wn.value&&kn.value&&!Cn.value.selecting&&isValidRange([wn.value,kn.value]))),lr=computed(()=>Ie.type==="datetime"||Ie.type==="datetimerange"),ir=(Tr,cr)=>{if(Tr)return Dt?dayjs(Dt[cr]||Dt).locale(vn.value).year(Tr.year()).month(Tr.month()).date(Tr.date()):Tr},kr=(Tr,cr=!0)=>{const Sr=Tr.minDate,Dr=Tr.maxDate,mr=ir(Sr,0),Lr=ir(Dr,1);kn.value===Lr&&wn.value===mr||($e("calendar-change",[Sr.toDate(),Dr&&Dr.toDate()]),kn.value=Lr,wn.value=mr,!(!cr||lr.value)&&Tn())},Cr=ref(!1),Er=ref(!1),dr=()=>{Cr.value=!1},br=()=>{Er.value=!1},_r=(Tr,cr)=>{Nn.value[cr]=Tr;const Sr=dayjs(Tr,Wn.value).locale(vn.value);if(Sr.isValid()){if(Ue&&Ue(Sr.toDate()))return;cr==="min"?(bn.value=Sr,wn.value=(wn.value||bn.value).year(Sr.year()).month(Sr.month()).date(Sr.date()),!Ie.unlinkPanels&&(!kn.value||kn.value.isBefore(wn.value))&&(_n.value=Sr.add(1,"month"),kn.value=wn.value.add(1,"month"))):(_n.value=Sr,kn.value=(kn.value||_n.value).year(Sr.year()).month(Sr.month()).date(Sr.date()),!Ie.unlinkPanels&&(!wn.value||wn.value.isAfter(kn.value))&&(bn.value=Sr.subtract(1,"month"),wn.value=kn.value.subtract(1,"month")))}},Pr=(Tr,cr)=>{Nn.value[cr]=null},gr=(Tr,cr)=>{Mn.value[cr]=Tr;const Sr=dayjs(Tr,Gn.value).locale(vn.value);Sr.isValid()&&(cr==="min"?(Cr.value=!0,wn.value=(wn.value||bn.value).hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()),(!kn.value||kn.value.isBefore(wn.value))&&(kn.value=wn.value)):(Er.value=!0,kn.value=(kn.value||_n.value).hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()),_n.value=kn.value,kn.value&&kn.value.isBefore(wn.value)&&(wn.value=kn.value)))},xr=(Tr,cr)=>{Mn.value[cr]=null,cr==="min"?(bn.value=wn.value,Cr.value=!1):(_n.value=kn.value,Er.value=!1)},Rr=(Tr,cr,Sr)=>{Mn.value.min||(Tr&&(bn.value=Tr,wn.value=(wn.value||bn.value).hour(Tr.hour()).minute(Tr.minute()).second(Tr.second())),Sr||(Cr.value=cr),(!kn.value||kn.value.isBefore(wn.value))&&(kn.value=wn.value,_n.value=Tr))},Hr=(Tr,cr,Sr)=>{Mn.value.max||(Tr&&(_n.value=Tr,kn.value=(kn.value||_n.value).hour(Tr.hour()).minute(Tr.minute()).second(Tr.second())),Sr||(Er.value=cr),kn.value&&kn.value.isBefore(wn.value)&&(wn.value=kn.value))},Jr=()=>{bn.value=getDefaultValue(unref(hn),{lang:unref(vn),unit:"month",unlinkPanels:Ie.unlinkPanels})[0],_n.value=bn.value.add(1,"month"),kn.value=void 0,wn.value=void 0,$e("pick",null)},Gr=Tr=>isArray$6(Tr)?Tr.map(cr=>cr.format(At)):Tr.format(At),$r=Tr=>isArray$6(Tr)?Tr.map(cr=>dayjs(cr,At).locale(vn.value)):dayjs(Tr,At).locale(vn.value);function Br(Tr,cr){if(Ie.unlinkPanels&&cr){const Sr=(Tr==null?void 0:Tr.year())||0,Dr=(Tr==null?void 0:Tr.month())||0,mr=cr.year(),Lr=cr.month();_n.value=Sr===mr&&Dr===Lr?cr.add(1,unit$1):cr}else _n.value=bn.value.add(1,unit$1),cr&&(_n.value=_n.value.hour(cr.hour()).minute(cr.minute()).second(cr.second()))}return $e("set-picker-option",["isValidValue",Xn]),$e("set-picker-option",["parseUserInput",$r]),$e("set-picker-option",["formatToString",Gr]),$e("set-picker-option",["handleClear",Jr]),(Tr,cr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Sn).b(),unref(xn).b(),{"has-sidebar":Tr.$slots.sidebar||unref(Dn),"has-time":unref(lr)}])},[createBaseVNode("div",{class:normalizeClass(unref(Sn).e("body-wrapper"))},[renderSlot(Tr.$slots,"sidebar",{class:normalizeClass(unref(Sn).e("sidebar"))}),unref(Dn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(jt),(Sr,Dr)=>(openBlock(),createElementBlock("button",{key:Dr,type:"button",class:normalizeClass(unref(Sn).e("shortcut")),onClick:mr=>unref(An)(Sr)},toDisplayString(Sr.text),11,_hoisted_1$K))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Sn).e("body"))},[unref(lr)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(xn).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.startDate"),class:normalizeClass(unref(xn).e("editor")),"model-value":unref(Hn),"validate-event":!1,onInput:cr[0]||(cr[0]=Sr=>_r(Sr,"min")),onChange:cr[1]||(cr[1]=Sr=>Pr(Sr,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.startTime"),"model-value":unref(zn),"validate-event":!1,onFocus:cr[2]||(cr[2]=Sr=>Cr.value=!0),onInput:cr[3]||(cr[3]=Sr=>gr(Sr,"min")),onChange:cr[4]||(cr[4]=Sr=>xr(Sr,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:Cr.value,format:unref(Gn),"datetime-role":"start","parsed-value":bn.value,onPick:Rr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),dr]])],2),createBaseVNode("span",null,[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(xn).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.endDate"),"model-value":unref(Fn),readonly:!unref(wn),"validate-event":!1,onInput:cr[5]||(cr[5]=Sr=>_r(Sr,"max")),onChange:cr[6]||(cr[6]=Sr=>Pr(Sr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.endTime"),"model-value":unref(jn),readonly:!unref(wn),"validate-event":!1,onFocus:cr[7]||(cr[7]=Sr=>unref(wn)&&(Er.value=!0)),onInput:cr[8]||(cr[8]=Sr=>gr(Sr,"max")),onChange:cr[9]||(cr[9]=Sr=>xr(Sr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode$1(unref(TimePickPanel),{"datetime-role":"end",visible:Er.value,format:unref(Gn),"parsed-value":_n.value,onPick:Hr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),br]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(Sn).e("content"),unref(xn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(xn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevYear"),onClick:er},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$s),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevMonth"),onClick:rr},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$e),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"d-arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextYear"),onClick:qn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_4$8)):createCommentVNode("v-if",!0),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextMonth"),onClick:ar},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_5$6)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(In)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:bn.value,"min-date":unref(wn),"max-date":unref(kn),"range-state":unref(Cn),"disabled-date":unref(Ue),"cell-class-name":unref(qe),onChangerange:unref(En),onPick:kr,onSelect:unref($n)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Sn).e("content"),unref(xn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(xn).e("header"))},[Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"d-arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevYear"),onClick:tr},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_6$4)):createCommentVNode("v-if",!0),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevMonth"),onClick:or},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_7$2)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button","aria-label":unref(Pn)("el.datepicker.nextYear"),class:normalizeClass([unref(Sn).e("icon-btn"),"d-arrow-right"]),onClick:Jn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_8$2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextMonth"),onClick:Yn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_9$2),createBaseVNode("div",null,toDisplayString(unref(On)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:_n.value,"min-date":unref(wn),"max-date":unref(kn),"range-state":unref(Cn),"disabled-date":unref(Ue),"cell-class-name":unref(qe),onChangerange:unref(En),onPick:kr,onSelect:unref($n)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(lr)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).e("footer"))},[unref(Lt)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(Sn).e("link-btn")),onClick:Jr},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Pn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Sn).e("link-btn")),disabled:unref(nr),onClick:cr[10]||(cr[10]=Sr=>unref(Tn)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Pn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$1(_sfc_main$1r,[["__file","panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option","calendar-change"],useMonthRangeHeader=({unlinkPanels:xe,leftDate:$e,rightDate:Ie})=>{const{t:Fe}=useLocale(),Ue=()=>{$e.value=$e.value.subtract(1,"year"),xe.value||(Ie.value=Ie.value.subtract(1,"year"))},qe=()=>{xe.value||($e.value=$e.value.add(1,"year")),Ie.value=Ie.value.add(1,"year")},At=()=>{$e.value=$e.value.add(1,"year")},Dt=()=>{Ie.value=Ie.value.subtract(1,"year")},Lt=computed(()=>`${$e.value.year()} ${Fe("el.datepicker.year")}`),jt=computed(()=>`${Ie.value.year()} ${Fe("el.datepicker.year")}`),hn=computed(()=>$e.value.year()),vn=computed(()=>Ie.value.year()===$e.value.year()?$e.value.year()+1:Ie.value.year());return{leftPrevYear:Ue,rightNextYear:qe,leftNextYear:At,rightPrevYear:Dt,leftLabel:Lt,rightLabel:jt,leftYear:hn,rightYear:vn}},_hoisted_1$J=["onClick"],_hoisted_2$r=["disabled"],_hoisted_3$d=["disabled"],unit="year",__default__$_=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1q=defineComponent({...__default__$_,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(xe,{emit:$e}){const Ie=xe,{lang:Fe}=useLocale(),Ue=inject("EP_PICKER_BASE"),{shortcuts:qe,disabledDate:At,format:Dt}=Ue.props,Lt=toRef(Ue.props,"defaultValue"),jt=ref(dayjs().locale(Fe.value)),hn=ref(dayjs().locale(Fe.value).add(1,unit)),{minDate:vn,maxDate:bn,rangeState:_n,ppNs:wn,drpNs:kn,handleChangeRange:Cn,handleRangeConfirm:Sn,handleShortcutClick:xn,onSelect:En}=useRangePicker(Ie,{defaultValue:Lt,leftDate:jt,rightDate:hn,unit,onParsedValueChanged:Dn}),Tn=computed(()=>!!qe.length),{leftPrevYear:An,rightNextYear:$n,leftNextYear:Pn,rightPrevYear:Nn,leftLabel:Mn,rightLabel:In,leftYear:On,rightYear:Rn}=useMonthRangeHeader({unlinkPanels:toRef(Ie,"unlinkPanels"),leftDate:jt,rightDate:hn}),Bn=computed(()=>Ie.unlinkPanels&&Rn.value>On.value+1),Vn=(Hn,Fn=!0)=>{const zn=Hn.minDate,jn=Hn.maxDate;bn.value===jn&&vn.value===zn||($e("calendar-change",[zn.toDate(),jn&&jn.toDate()]),bn.value=jn,vn.value=zn,Fn&&Sn())},Ln=Hn=>Hn.map(Fn=>Fn.format(Dt));function Dn(Hn,Fn){if(Ie.unlinkPanels&&Fn){const zn=(Hn==null?void 0:Hn.year())||0,jn=Fn.year();hn.value=zn===jn?Fn.add(1,unit):Fn}else hn.value=jt.value.add(1,unit)}return $e("set-picker-option",["formatToString",Ln]),(Hn,Fn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(wn).b(),unref(kn).b(),{"has-sidebar":!!Hn.$slots.sidebar||unref(Tn)}])},[createBaseVNode("div",{class:normalizeClass(unref(wn).e("body-wrapper"))},[renderSlot(Hn.$slots,"sidebar",{class:normalizeClass(unref(wn).e("sidebar"))}),unref(Tn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(wn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),(zn,jn)=>(openBlock(),createElementBlock("button",{key:jn,type:"button",class:normalizeClass(unref(wn).e("shortcut")),onClick:Gn=>unref(xn)(zn)},toDisplayString(zn.text),11,_hoisted_1$J))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(wn).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(wn).e("content"),unref(kn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(wn).e("icon-btn"),"d-arrow-left"]),onClick:Fn[0]||(Fn[0]=(...zn)=>unref(An)&&unref(An)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],2),Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Bn),class:normalizeClass([[unref(wn).e("icon-btn"),{[unref(wn).is("disabled")]:!unref(Bn)}],"d-arrow-right"]),onClick:Fn[1]||(Fn[1]=(...zn)=>unref(Pn)&&unref(Pn)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(Mn)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:jt.value,"min-date":unref(vn),"max-date":unref(bn),"range-state":unref(_n),"disabled-date":unref(At),onChangerange:unref(Cn),onPick:Vn,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(wn).e("content"),unref(kn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("header"))},[Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Bn),class:normalizeClass([[unref(wn).e("icon-btn"),{"is-disabled":!unref(Bn)}],"d-arrow-left"]),onClick:Fn[2]||(Fn[2]=(...zn)=>unref(Nn)&&unref(Nn)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$d)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(wn).e("icon-btn"),"d-arrow-right"]),onClick:Fn[3]||(Fn[3]=(...zn)=>unref($n)&&unref($n)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString(unref(In)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:hn.value,"min-date":unref(vn),"max-date":unref(bn),"range-state":unref(_n),"disabled-date":unref(At),onChangerange:unref(Cn),onPick:Vn,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc$1(_sfc_main$1q,[["__file","panel-month-range.vue"]]);const getPanel=function(xe){switch(xe){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;default:return DatePickPanel}};dayjs.extend(localeData);dayjs.extend(advancedFormat);dayjs.extend(customParseFormat);dayjs.extend(weekOfYear);dayjs.extend(weekYear);dayjs.extend(dayOfYear);dayjs.extend(isSameOrAfter);dayjs.extend(isSameOrBefore);var DatePicker=defineComponent({name:"ElDatePicker",install:null,props:datePickerProps,emits:["update:modelValue"],setup(xe,{expose:$e,emit:Ie,slots:Fe}){const Ue=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef(xe,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:Fe,pickerNs:Ue});const qe=ref();$e({focus:(Lt=!0)=>{var jt;(jt=qe.value)==null||jt.focus(Lt)},handleOpen:()=>{var Lt;(Lt=qe.value)==null||Lt.handleOpen()},handleClose:()=>{var Lt;(Lt=qe.value)==null||Lt.handleClose()}});const Dt=Lt=>{Ie("update:modelValue",Lt)};return()=>{var Lt;const jt=(Lt=xe.format)!=null?Lt:DEFAULT_FORMATS_DATEPICKER[xe.type]||DEFAULT_FORMATS_DATE,hn=getPanel(xe.type);return createVNode$1(CommonPicker,mergeProps(xe,{format:jt,type:xe.type,ref:qe,"onUpdate:modelValue":Dt}),{default:vn=>createVNode$1(hn,vn,null),"range-separator":Fe["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=xe=>{xe.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var xe,$e,Ie,Fe,Ue,qe,At;const Dt=getNormalizedProps(this.cell),Lt=(((xe=this.cell)==null?void 0:xe.dirs)||[]).map(An=>{const{dir:$n,arg:Pn,modifiers:Nn,value:Mn}=An;return[$n,Mn,Pn,Nn]}),{border:jt,direction:hn}=this.descriptions,vn=hn==="vertical",bn=((Fe=(Ie=($e=this.cell)==null?void 0:$e.children)==null?void 0:Ie.label)==null?void 0:Fe.call(Ie))||Dt.label,_n=(At=(qe=(Ue=this.cell)==null?void 0:Ue.children)==null?void 0:qe.default)==null?void 0:At.call(qe),wn=Dt.span,kn=Dt.align?`is-${Dt.align}`:"",Cn=Dt.labelAlign?`is-${Dt.labelAlign}`:kn,Sn=Dt.className,xn=Dt.labelClassName,En={width:addUnit(Dt.width),minWidth:addUnit(Dt.minWidth)},Tn=useNamespace("descriptions");switch(this.type){case"label":return withDirectives(h$5(this.tag,{style:En,class:[Tn.e("cell"),Tn.e("label"),Tn.is("bordered-label",jt),Tn.is("vertical-label",vn),Cn,xn],colSpan:vn?wn:1},bn),Lt);case"content":return withDirectives(h$5(this.tag,{style:En,class:[Tn.e("cell"),Tn.e("content"),Tn.is("bordered-content",jt),Tn.is("vertical-content",vn),kn,Sn],colSpan:vn?wn:wn*2-1},_n),Lt);default:return withDirectives(h$5("td",{style:En,class:[Tn.e("cell"),kn],colSpan:wn},[isNil(bn)?void 0:h$5("span",{class:[Tn.e("label"),xn]},bn),h$5("span",{class:[Tn.e("content"),Sn]},_n)]),Lt)}}});const descriptionsRowProps=buildProps({row:{type:definePropType(Array),default:()=>[]}}),_hoisted_1$I={key:1},__default__$Z=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1p=defineComponent({...__default__$Z,props:descriptionsRowProps,setup(xe){const $e=inject(descriptionsKey,{});return(Ie,Fe)=>unref($e).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${qe}`,cell:Ue,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${qe}`,cell:Ue,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$I,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${qe}`},[unref($e).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(unref(ElDescriptionsCell),{cell:Ue,tag:"td",type:"label"},null,8,["cell"]),createVNode$1(unref(ElDescriptionsCell),{cell:Ue,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:Ue,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$1(_sfc_main$1p,[["__file","descriptions-row.vue"]]);const descriptionProps=buildProps({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""}}),__default__$Y=defineComponent({name:"ElDescriptions"}),_sfc_main$1o=defineComponent({...__default__$Y,props:descriptionProps,setup(xe){const $e=xe,Ie=useNamespace("descriptions"),Fe=useFormSize(),Ue=useSlots();provide(descriptionsKey,$e);const qe=computed(()=>[Ie.b(),Ie.m(Fe.value)]),At=(Lt,jt,hn,vn=!1)=>(Lt.props||(Lt.props={}),jt>hn&&(Lt.props.span=hn),vn&&(Lt.props.span=jt),Lt),Dt=()=>{if(!Ue.default)return[];const Lt=flattedChildren(Ue.default()).filter(_n=>{var wn;return((wn=_n==null?void 0:_n.type)==null?void 0:wn.name)==="ElDescriptionsItem"}),jt=[];let hn=[],vn=$e.column,bn=0;return Lt.forEach((_n,wn)=>{var kn;const Cn=((kn=_n.props)==null?void 0:kn.span)||1;if(wnvn?vn:Cn),wn===Lt.length-1){const Sn=$e.column-bn%$e.column;hn.push(At(_n,Sn,vn,!0)),jt.push(hn);return}Cn(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe))},[Lt.title||Lt.extra||Lt.$slots.title||Lt.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("title"))},[renderSlot(Lt.$slots,"title",{},()=>[createTextVNode(toDisplayString(Lt.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("extra"))},[renderSlot(Lt.$slots,"extra",{},()=>[createTextVNode(toDisplayString(Lt.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(Ie).e("table"),unref(Ie).is("bordered",Lt.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dt(),(hn,vn)=>(openBlock(),createBlock(ElDescriptionsRow,{key:vn,row:hn},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$1(_sfc_main$1o,[["__file","description.vue"]]);const descriptionItemProps=buildProps({label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),DescriptionItem=defineComponent({name:"ElDescriptionsItem",props:descriptionItemProps}),ElDescriptions=withInstall(Descriptions,{DescriptionsItem:DescriptionItem}),ElDescriptionsItem=withNoopInstall(DescriptionItem),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:xe=>xe instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(xe,{slots:$e,emit:Ie}){const Fe=useNamespace(BLOCK),Ue=Lt=>{Ie("click",Lt)},{onClick:qe,onMousedown:At,onMouseup:Dt}=useSameTarget(xe.customMaskEvent?void 0:Ue);return()=>xe.mask?createVNode$1("div",{class:[Fe.b(),xe.overlayClass],style:{zIndex:xe.zIndex},onClick:qe,onMousedown:At,onMouseup:Dt},[renderSlot($e,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$5("div",{class:xe.overlayClass,style:{zIndex:xe.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot($e,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:Boolean,alignCenter:Boolean,closeIcon:{type:iconPropType},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),dialogContentEmits={close:()=>!0},_hoisted_1$H=["aria-level"],_hoisted_2$q=["aria-label"],_hoisted_3$c=["id"],__default__$X=defineComponent({name:"ElDialogContent"}),_sfc_main$1n=defineComponent({...__default__$X,props:dialogContentProps,emits:dialogContentEmits,setup(xe){const $e=xe,{t:Ie}=useLocale(),{Close:Fe}=CloseComponents,{dialogRef:Ue,headerRef:qe,bodyId:At,ns:Dt,style:Lt}=inject(dialogInjectionKey),{focusTrapRef:jt}=inject(FOCUS_TRAP_INJECTION_KEY),hn=computed(()=>[Dt.b(),Dt.is("fullscreen",$e.fullscreen),Dt.is("draggable",$e.draggable),Dt.is("align-center",$e.alignCenter),{[Dt.m("center")]:$e.center}]),vn=composeRefs(jt,Ue),bn=computed(()=>$e.draggable),_n=computed(()=>$e.overflow);return useDraggable(Ue,qe,bn,_n),(wn,kn)=>(openBlock(),createElementBlock("div",{ref:unref(vn),class:normalizeClass(unref(hn)),style:normalizeStyle$1(unref(Lt)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:qe,class:normalizeClass([unref(Dt).e("header"),{"show-close":wn.showClose}])},[renderSlot(wn.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading","aria-level":wn.ariaLevel,class:normalizeClass(unref(Dt).e("title"))},toDisplayString(wn.title),11,_hoisted_1$H)]),wn.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(Ie)("el.dialog.close"),class:normalizeClass(unref(Dt).e("headerbtn")),type:"button",onClick:kn[0]||(kn[0]=Cn=>wn.$emit("close"))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Dt).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(wn.closeIcon||unref(Fe))))]),_:1},8,["class"])],10,_hoisted_2$q)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(At),class:normalizeClass(unref(Dt).e("body"))},[renderSlot(wn.$slots,"default")],10,_hoisted_3$c),wn.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(Dt).e("footer"))},[renderSlot(wn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$1(_sfc_main$1n,[["__file","dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:Boolean,appendTo:{type:definePropType(String),default:"body"},beforeClose:{type:definePropType(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=(xe,$e)=>{var Ie;const Ue=getCurrentInstance().emit,{nextZIndex:qe}=useZIndex();let At="";const Dt=useId(),Lt=useId(),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=ref((Ie=xe.zIndex)!=null?Ie:qe());let _n,wn;const kn=useGlobalConfig("namespace",defaultNamespace),Cn=computed(()=>{const Ln={},Dn=`--${kn.value}-dialog`;return xe.fullscreen||(xe.top&&(Ln[`${Dn}-margin-top`]=xe.top),xe.width&&(Ln[`${Dn}-width`]=addUnit(xe.width))),Ln}),Sn=computed(()=>xe.alignCenter?{display:"flex"}:{});function xn(){Ue("opened")}function En(){Ue("closed"),Ue(UPDATE_MODEL_EVENT,!1),xe.destroyOnClose&&(vn.value=!1)}function Tn(){Ue("close")}function An(){wn==null||wn(),_n==null||_n(),xe.openDelay&&xe.openDelay>0?{stop:_n}=useTimeoutFn$1(()=>Mn(),xe.openDelay):Mn()}function $n(){_n==null||_n(),wn==null||wn(),xe.closeDelay&&xe.closeDelay>0?{stop:wn}=useTimeoutFn$1(()=>In(),xe.closeDelay):In()}function Pn(){function Ln(Dn){Dn||(hn.value=!0,jt.value=!1)}xe.beforeClose?xe.beforeClose(Ln):$n()}function Nn(){xe.closeOnClickModal&&Pn()}function Mn(){isClient$1&&(jt.value=!0)}function In(){jt.value=!1}function On(){Ue("openAutoFocus")}function Rn(){Ue("closeAutoFocus")}function Bn(Ln){var Dn;((Dn=Ln.detail)==null?void 0:Dn.focusReason)==="pointer"&&Ln.preventDefault()}xe.lockScroll&&useLockscreen(jt);function Vn(){xe.closeOnPressEscape&&Pn()}return watch(()=>xe.modelValue,Ln=>{Ln?(hn.value=!1,An(),vn.value=!0,bn.value=isUndefined$2(xe.zIndex)?qe():bn.value++,nextTick(()=>{Ue("open"),$e.value&&($e.value.scrollTop=0)})):jt.value&&$n()}),watch(()=>xe.fullscreen,Ln=>{$e.value&&(Ln?(At=$e.value.style.transform,$e.value.style.transform=""):$e.value.style.transform=At)}),onMounted(()=>{xe.modelValue&&(jt.value=!0,vn.value=!0,An())}),{afterEnter:xn,afterLeave:En,beforeLeave:Tn,handleClose:Pn,onModalClick:Nn,close:$n,doClose:In,onOpenAutoFocus:On,onCloseAutoFocus:Rn,onCloseRequested:Vn,onFocusoutPrevented:Bn,titleId:Dt,bodyId:Lt,closed:hn,style:Cn,overlayDialogStyle:Sn,rendered:vn,visible:jt,zIndex:bn}},_hoisted_1$G=["aria-label","aria-labelledby","aria-describedby"],__default__$W=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1m=defineComponent({...__default__$W,props:dialogProps,emits:dialogEmits,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots();useDeprecated({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},computed(()=>!!Fe.title));const Ue=useNamespace("dialog"),qe=ref(),At=ref(),Dt=ref(),{visible:Lt,titleId:jt,bodyId:hn,style:vn,overlayDialogStyle:bn,rendered:_n,zIndex:wn,afterEnter:kn,afterLeave:Cn,beforeLeave:Sn,handleClose:xn,onModalClick:En,onOpenAutoFocus:Tn,onCloseAutoFocus:An,onCloseRequested:$n,onFocusoutPrevented:Pn}=useDialog(Ie,qe);provide(dialogInjectionKey,{dialogRef:qe,headerRef:At,bodyId:hn,ns:Ue,rendered:_n,style:vn});const Nn=useSameTarget(En),Mn=computed(()=>Ie.draggable&&!Ie.fullscreen);return $e({visible:Lt,dialogContentRef:Dt}),(In,On)=>(openBlock(),createBlock(Teleport,{to:In.appendTo,disabled:In.appendTo!=="body"?!1:!In.appendToBody},[createVNode$1(Transition,{name:"dialog-fade",onAfterEnter:unref(kn),onAfterLeave:unref(Cn),onBeforeLeave:unref(Sn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{"custom-mask-event":"",mask:In.modal,"overlay-class":In.modalClass,"z-index":unref(wn)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":In.title||void 0,"aria-labelledby":In.title?void 0:unref(jt),"aria-describedby":unref(hn),class:normalizeClass(`${unref(Ue).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(bn)),onClick:On[0]||(On[0]=(...Rn)=>unref(Nn).onClick&&unref(Nn).onClick(...Rn)),onMousedown:On[1]||(On[1]=(...Rn)=>unref(Nn).onMousedown&&unref(Nn).onMousedown(...Rn)),onMouseup:On[2]||(On[2]=(...Rn)=>unref(Nn).onMouseup&&unref(Nn).onMouseup(...Rn))},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(Lt),"focus-start-el":"container",onFocusAfterTrapped:unref(Tn),onFocusAfterReleased:unref(An),onFocusoutPrevented:unref(Pn),onReleaseRequested:unref($n)},{default:withCtx(()=>[unref(_n)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:Dt},In.$attrs,{center:In.center,"align-center":In.alignCenter,"close-icon":In.closeIcon,draggable:unref(Mn),overflow:In.overflow,fullscreen:In.fullscreen,"show-close":In.showClose,title:In.title,"aria-level":In.headerAriaLevel,onClose:unref(xn)}),createSlots({header:withCtx(()=>[In.$slots.title?renderSlot(In.$slots,"title",{key:1}):renderSlot(In.$slots,"header",{key:0,close:unref(xn),titleId:unref(jt),titleClass:unref(Ue).e("title")})]),default:withCtx(()=>[renderSlot(In.$slots,"default")]),_:2},[In.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(In.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$G)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(Lt)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var Dialog=_export_sfc$1(_sfc_main$1m,[["__file","dialog.vue"]]);const ElDialog=withInstall(Dialog),dividerProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:definePropType(String),default:"solid"}}),__default__$V=defineComponent({name:"ElDivider"}),_sfc_main$1l=defineComponent({...__default__$V,props:dividerProps,setup(xe){const $e=xe,Ie=useNamespace("divider"),Fe=computed(()=>Ie.cssVar({"border-style":$e.borderStyle}));return(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ie).b(),unref(Ie).m(Ue.direction)]),style:normalizeStyle$1(unref(Fe)),role:"separator"},[Ue.$slots.default&&Ue.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(Ie).e("text"),unref(Ie).is(Ue.contentPosition)])},[renderSlot(Ue.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$1(_sfc_main$1l,[["__file","divider.vue"]]);const ElDivider=withInstall(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),drawerEmits=dialogEmits,_hoisted_1$F=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$p=["id","aria-level"],_hoisted_3$b=["aria-label"],_hoisted_4$7=["id"],__default__$U=defineComponent({name:"ElDrawer",inheritAttrs:!1}),_sfc_main$1k=defineComponent({...__default__$U,props:drawerProps,emits:drawerEmits,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots();useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},computed(()=>!!Fe.title));const Ue=ref(),qe=ref(),At=useNamespace("drawer"),{t:Dt}=useLocale(),{afterEnter:Lt,afterLeave:jt,beforeLeave:hn,visible:vn,rendered:bn,titleId:_n,bodyId:wn,zIndex:kn,onModalClick:Cn,onOpenAutoFocus:Sn,onCloseAutoFocus:xn,onFocusoutPrevented:En,onCloseRequested:Tn,handleClose:An}=useDialog(Ie,Ue),$n=computed(()=>Ie.direction==="rtl"||Ie.direction==="ltr"),Pn=computed(()=>addUnit(Ie.size));return $e({handleClose:An,afterEnter:Lt,afterLeave:jt}),(Nn,Mn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!Nn.appendToBody},[createVNode$1(Transition,{name:unref(At).b("fade"),onAfterEnter:unref(Lt),onAfterLeave:unref(jt),onBeforeLeave:unref(hn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{mask:Nn.modal,"overlay-class":Nn.modalClass,"z-index":unref(kn),onClick:unref(Cn)},{default:withCtx(()=>[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(vn),"focus-trap-el":Ue.value,"focus-start-el":qe.value,onFocusAfterTrapped:unref(Sn),onFocusAfterReleased:unref(xn),onFocusoutPrevented:unref(En),onReleaseRequested:unref(Tn)},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref_key:"drawerRef",ref:Ue,"aria-modal":"true","aria-label":Nn.title||void 0,"aria-labelledby":Nn.title?void 0:unref(_n),"aria-describedby":unref(wn)},Nn.$attrs,{class:[unref(At).b(),Nn.direction,unref(vn)&&"open"],style:unref($n)?"width: "+unref(Pn):"height: "+unref(Pn),role:"dialog",onClick:Mn[1]||(Mn[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref_key:"focusStartRef",ref:qe,class:normalizeClass(unref(At).e("sr-focus")),tabindex:"-1"},null,2),Nn.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass(unref(At).e("header"))},[Nn.$slots.title?renderSlot(Nn.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(Nn.$slots,"header",{key:0,close:unref(An),titleId:unref(_n),titleClass:unref(At).e("title")},()=>[Nn.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:unref(_n),role:"heading","aria-level":Nn.headerAriaLevel,class:normalizeClass(unref(At).e("title"))},toDisplayString(Nn.title),11,_hoisted_2$p))]),Nn.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":unref(Dt)("el.drawer.close"),class:normalizeClass(unref(At).e("close-btn")),type:"button",onClick:Mn[0]||(Mn[0]=(...In)=>unref(An)&&unref(An)(...In))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(At).e("close"))},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])],10,_hoisted_3$b)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),unref(bn)?(openBlock(),createElementBlock("div",{key:1,id:unref(wn),class:normalizeClass(unref(At).e("body"))},[renderSlot(Nn.$slots,"default")],10,_hoisted_4$7)):createCommentVNode("v-if",!0),Nn.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(At).e("footer"))},[renderSlot(Nn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$F)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,unref(vn)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Drawer=_export_sfc$1(_sfc_main$1k,[["__file","drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1j=defineComponent({inheritAttrs:!1});function _sfc_render$n(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$1j,[["render",_sfc_render$n],["__file","collection.vue"]]);const _sfc_main$1i=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$m(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$1i,[["render",_sfc_render$m],["__file","collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=xe=>{const $e=`El${xe}Collection`,Ie=`${$e}Item`,Fe=Symbol($e),Ue=Symbol(Ie),qe={...Collection,name:$e,setup(){const Dt=ref(null),Lt=new Map;provide(Fe,{itemMap:Lt,getItems:()=>{const hn=unref(Dt);if(!hn)return[];const vn=Array.from(hn.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...Lt.values()].sort((_n,wn)=>vn.indexOf(_n.ref)-vn.indexOf(wn.ref))},collectionRef:Dt})}},At={...CollectionItem,name:Ie,setup(Dt,{attrs:Lt}){const jt=ref(null),hn=inject(Fe,void 0);provide(Ue,{collectionItemRef:jt}),onMounted(()=>{const vn=unref(jt);vn&&hn.itemMap.set(vn,{ref:vn,...Lt})}),onBeforeUnmount(()=>{const vn=unref(jt);hn.itemMap.delete(vn)})}};return{COLLECTION_INJECTION_KEY:Fe,COLLECTION_ITEM_INJECTION_KEY:Ue,ElCollection:qe,ElCollectionItem:At}},rovingFocusGroupProps=buildProps({style:{type:definePropType([String,Array,Object])},currentTabId:{type:definePropType(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:definePropType(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:ElCollection$1,ElCollectionItem:ElCollectionItem$1,COLLECTION_INJECTION_KEY:COLLECTION_INJECTION_KEY$1,COLLECTION_ITEM_INJECTION_KEY:COLLECTION_ITEM_INJECTION_KEY$1}=createCollectionWithScope("RovingFocusGroup"),ROVING_FOCUS_GROUP_INJECTION_KEY=Symbol("elRovingFocusGroup"),ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY=Symbol("elRovingFocusGroupItem"),MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},getDirectionAwareKey=(xe,$e)=>xe,getFocusIntent=(xe,$e,Ie)=>{const Fe=getDirectionAwareKey(xe.key);return MAP_KEY_TO_FOCUS_INTENT[Fe]},reorderArray=(xe,$e)=>xe.map((Ie,Fe)=>xe[(Fe+$e)%xe.length]),focusFirst=xe=>{const{activeElement:$e}=document;for(const Ie of xe)if(Ie===$e||(Ie.focus(),$e!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1h=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(xe,{emit:$e}){var Ie;const Fe=ref((Ie=xe.currentTabId||xe.defaultCurrentTabId)!=null?Ie:null),Ue=ref(!1),qe=ref(!1),At=ref(null),{getItems:Dt}=inject(COLLECTION_INJECTION_KEY$1,void 0),Lt=computed(()=>[{outline:"none"},xe.style]),jt=kn=>{$e(CURRENT_TAB_ID_CHANGE_EVT,kn)},hn=()=>{Ue.value=!0},vn=composeEventHandlers(kn=>{var Cn;(Cn=xe.onMousedown)==null||Cn.call(xe,kn)},()=>{qe.value=!0}),bn=composeEventHandlers(kn=>{var Cn;(Cn=xe.onFocus)==null||Cn.call(xe,kn)},kn=>{const Cn=!unref(qe),{target:Sn,currentTarget:xn}=kn;if(Sn===xn&&Cn&&!unref(Ue)){const En=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(xn==null||xn.dispatchEvent(En),!En.defaultPrevented){const Tn=Dt().filter(Mn=>Mn.focusable),An=Tn.find(Mn=>Mn.active),$n=Tn.find(Mn=>Mn.id===unref(Fe)),Nn=[An,$n,...Tn].filter(Boolean).map(Mn=>Mn.ref);focusFirst(Nn)}}qe.value=!1}),_n=composeEventHandlers(kn=>{var Cn;(Cn=xe.onBlur)==null||Cn.call(xe,kn)},()=>{Ue.value=!1}),wn=(...kn)=>{$e("entryFocus",...kn)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(Fe),loop:toRef(xe,"loop"),tabIndex:computed(()=>unref(Ue)?-1:0),rovingFocusGroupRef:At,rovingFocusGroupRootStyle:Lt,orientation:toRef(xe,"orientation"),dir:toRef(xe,"dir"),onItemFocus:jt,onItemShiftTab:hn,onBlur:_n,onFocus:bn,onMousedown:vn}),watch(()=>xe.currentTabId,kn=>{Fe.value=kn??null}),useEventListener(At,ENTRY_FOCUS_EVT,wn)}});function _sfc_render$l(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$1h,[["render",_sfc_render$l],["__file","roving-focus-group-impl.vue"]]);const _sfc_main$1g=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$k(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-roving-focus-group-impl"),Dt=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(Dt,null,{default:withCtx(()=>[createVNode$1(At,normalizeProps(guardReactiveProps(xe.$attrs)),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$1g,[["render",_sfc_render$k],["__file","roving-focus-group.vue"]]);const _sfc_main$1f=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(xe,{emit:$e}){const{currentTabbedId:Ie,loop:Fe,onItemFocus:Ue,onItemShiftTab:qe}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:At}=inject(COLLECTION_INJECTION_KEY$1,void 0),Dt=useId(),Lt=ref(null),jt=composeEventHandlers(_n=>{$e("mousedown",_n)},_n=>{xe.focusable?Ue(unref(Dt)):_n.preventDefault()}),hn=composeEventHandlers(_n=>{$e("focus",_n)},()=>{Ue(unref(Dt))}),vn=composeEventHandlers(_n=>{$e("keydown",_n)},_n=>{const{key:wn,shiftKey:kn,target:Cn,currentTarget:Sn}=_n;if(wn===EVENT_CODE.tab&&kn){qe();return}if(Cn!==Sn)return;const xn=getFocusIntent(_n);if(xn){_n.preventDefault();let Tn=At().filter(An=>An.focusable).map(An=>An.ref);switch(xn){case"last":{Tn.reverse();break}case"prev":case"next":{xn==="prev"&&Tn.reverse();const An=Tn.indexOf(Sn);Tn=Fe.value?reorderArray(Tn,An+1):Tn.slice(An+1);break}}nextTick(()=>{focusFirst(Tn)})}}),bn=computed(()=>Ie.value===unref(Dt));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:Lt,tabIndex:computed(()=>unref(bn)?0:-1),handleMousedown:jt,handleFocus:hn,handleKeydown:vn}),{id:Dt,handleKeydown:vn,handleFocus:hn,handleMousedown:jt}}});function _sfc_render$j(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(At,{id:xe.id,focusable:xe.focusable,active:xe.active},{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc$1(_sfc_main$1f,[["render",_sfc_render$j],["__file","roving-focus-item.vue"]]);const dropdownProps=buildProps({trigger:useTooltipTriggerProps.trigger,effect:{...useTooltipContentProps.effect,default:"light"},type:{type:definePropType(String)},placement:{type:definePropType(String),default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:definePropType([Number,String]),default:0},maxHeight:{type:definePropType([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported}),dropdownItemProps=buildProps({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:iconPropType}}),dropdownMenuProps=buildProps({onKeydown:{type:definePropType(Function)}}),FIRST_KEYS=[EVENT_CODE.down,EVENT_CODE.pageDown,EVENT_CODE.home],LAST_KEYS=[EVENT_CODE.up,EVENT_CODE.pageUp,EVENT_CODE.end],FIRST_LAST_KEYS=[...FIRST_KEYS,...LAST_KEYS],{ElCollection,ElCollectionItem,COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("Dropdown"),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$1e=defineComponent({name:"ElDropdown",components:{ElButton,ElButtonGroup,ElScrollbar,ElDropdownCollection:ElCollection,ElTooltip,ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=useNamespace("dropdown"),{t:Ue}=useLocale(),qe=ref(),At=ref(),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=ref(null),vn=ref(!1),bn=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],_n=computed(()=>({maxHeight:addUnit(xe.maxHeight)})),wn=computed(()=>[Fe.m(An.value)]),kn=computed(()=>castArray$1(xe.trigger)),Cn=useId().value,Sn=computed(()=>xe.id||Cn);watch([qe,kn],([Hn,Fn],[zn])=>{var jn,Gn,Wn;(jn=zn==null?void 0:zn.$el)!=null&&jn.removeEventListener&&zn.$el.removeEventListener("pointerenter",Pn),(Gn=Hn==null?void 0:Hn.$el)!=null&&Gn.removeEventListener&&Hn.$el.removeEventListener("pointerenter",Pn),(Wn=Hn==null?void 0:Hn.$el)!=null&&Wn.addEventListener&&Fn.includes("hover")&&Hn.$el.addEventListener("pointerenter",Pn)},{immediate:!0}),onBeforeUnmount(()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.$el)!=null&&Fn.removeEventListener&&qe.value.$el.removeEventListener("pointerenter",Pn)});function xn(){En()}function En(){var Hn;(Hn=Dt.value)==null||Hn.onClose()}function Tn(){var Hn;(Hn=Dt.value)==null||Hn.onOpen()}const An=useFormSize();function $n(...Hn){$e("command",...Hn)}function Pn(){var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.$el)==null||Fn.focus()}function Nn(){}function Mn(){const Hn=unref(Lt);kn.value.includes("hover")&&(Hn==null||Hn.focus()),hn.value=null}function In(Hn){hn.value=Hn}function On(Hn){vn.value||(Hn.preventDefault(),Hn.stopImmediatePropagation())}function Rn(){$e("visible-change",!0)}function Bn(Hn){(Hn==null?void 0:Hn.type)==="keydown"&&Lt.value.focus()}function Vn(){$e("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:Lt,role:computed(()=>xe.role),triggerId:Sn,isUsingKeyboard:vn,onItemEnter:Nn,onItemLeave:Mn}),provide("elDropdown",{instance:Ie,dropdownSize:An,handleClick:xn,commandHandler:$n,trigger:toRef(xe,"trigger"),hideOnClick:toRef(xe,"hideOnClick")}),{t:Ue,ns:Fe,scrollbar:jt,wrapStyle:_n,dropdownTriggerKls:wn,dropdownSize:An,triggerId:Sn,triggerKeys:bn,currentTabId:hn,handleCurrentTabIdChange:In,handlerMainButtonClick:Hn=>{$e("click",Hn)},handleEntryFocus:On,handleClose:En,handleOpen:Tn,handleBeforeShowTooltip:Rn,handleShowTooltip:Bn,handleBeforeHideTooltip:Vn,onFocusAfterTrapped:Hn=>{var Fn,zn;Hn.preventDefault(),(zn=(Fn=Lt.value)==null?void 0:Fn.focus)==null||zn.call(Fn,{preventScroll:!0})},popperRef:Dt,contentRef:Lt,triggeringElementRef:qe,referenceElementRef:At}}});function _sfc_render$i(xe,$e,Ie,Fe,Ue,qe){var At;const Dt=resolveComponent("el-dropdown-collection"),Lt=resolveComponent("el-roving-focus-group"),jt=resolveComponent("el-scrollbar"),hn=resolveComponent("el-only-child"),vn=resolveComponent("el-tooltip"),bn=resolveComponent("el-button"),_n=resolveComponent("arrow-down"),wn=resolveComponent("el-icon"),kn=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b(),xe.ns.is("disabled",xe.disabled)])},[createVNode$1(vn,{ref:"popperRef",role:xe.role,effect:xe.effect,"fallback-placements":["bottom","top"],"popper-options":xe.popperOptions,"gpu-acceleration":!1,"hide-after":xe.trigger==="hover"?xe.hideTimeout:0,"manual-mode":!0,placement:xe.placement,"popper-class":[xe.ns.e("popper"),xe.popperClass],"reference-element":(At=xe.referenceElementRef)==null?void 0:At.$el,trigger:xe.trigger,"trigger-keys":xe.triggerKeys,"trigger-target-el":xe.contentRef,"show-after":xe.trigger==="hover"?xe.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":xe.triggeringElementRef,"virtual-triggering":xe.splitButton,disabled:xe.disabled,transition:`${xe.ns.namespace.value}-zoom-in-top`,teleported:xe.teleported,pure:"",persistent:"",onBeforeShow:xe.handleBeforeShowTooltip,onShow:xe.handleShowTooltip,onBeforeHide:xe.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode$1(jt,{ref:"scrollbar","wrap-style":xe.wrapStyle,tag:"div","view-class":xe.ns.e("list")},{default:withCtx(()=>[createVNode$1(Lt,{loop:xe.loop,"current-tab-id":xe.currentTabId,orientation:"horizontal",onCurrentTabIdChange:xe.handleCurrentTabIdChange,onEntryFocus:xe.handleEntryFocus},{default:withCtx(()=>[createVNode$1(Dt,null,{default:withCtx(()=>[renderSlot(xe.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[xe.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode$1(hn,{id:xe.triggerId,ref:"triggeringElementRef",role:"button",tabindex:xe.tabindex},{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),xe.splitButton?(openBlock(),createBlock(kn,{key:0},{default:withCtx(()=>[createVNode$1(bn,mergeProps({ref:"referenceElementRef"},xe.buttonProps,{size:xe.dropdownSize,type:xe.type,disabled:xe.disabled,tabindex:xe.tabindex,onClick:xe.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode$1(bn,mergeProps({id:xe.triggerId,ref:"triggeringElementRef"},xe.buttonProps,{role:"button",size:xe.dropdownSize,type:xe.type,class:xe.ns.e("caret-button"),disabled:xe.disabled,tabindex:xe.tabindex,"aria-label":xe.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode$1(wn,{class:normalizeClass(xe.ns.e("icon"))},{default:withCtx(()=>[createVNode$1(_n)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc$1(_sfc_main$1e,[["render",_sfc_render$i],["__file","dropdown.vue"]]);const _sfc_main$1d=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(xe,{emit:$e}){const Ie=useNamespace("dropdown"),{role:Fe}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:Ue}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:qe}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:At,tabIndex:Dt,handleFocus:Lt,handleKeydown:jt,handleMousedown:hn}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),vn=composeRefs(Ue,qe,At),bn=computed(()=>Fe.value==="menu"?"menuitem":Fe.value==="navigation"?"link":"button"),_n=composeEventHandlers(wn=>{const{code:kn}=wn;if(kn===EVENT_CODE.enter||kn===EVENT_CODE.space)return wn.preventDefault(),wn.stopImmediatePropagation(),$e("clickimpl",wn),!0},jt);return{ns:Ie,itemRef:vn,dataset:{[COLLECTION_ITEM_SIGN]:""},role:bn,tabIndex:Dt,handleFocus:Lt,handleKeydown:_n,handleMousedown:hn}}}),_hoisted_1$E=["aria-disabled","tabindex","role"];function _sfc_render$h(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[xe.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:xe.ns.bem("menu","item","divided")},xe.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:xe.itemRef},{...xe.dataset,...xe.$attrs},{"aria-disabled":xe.disabled,class:[xe.ns.be("menu","item"),xe.ns.is("disabled",xe.disabled)],tabindex:xe.tabIndex,role:xe.role,onClick:$e[0]||($e[0]=Dt=>xe.$emit("clickimpl",Dt)),onFocus:$e[1]||($e[1]=(...Dt)=>xe.handleFocus&&xe.handleFocus(...Dt)),onKeydown:$e[2]||($e[2]=withModifiers((...Dt)=>xe.handleKeydown&&xe.handleKeydown(...Dt),["self"])),onMousedown:$e[3]||($e[3]=(...Dt)=>xe.handleMousedown&&xe.handleMousedown(...Dt)),onPointermove:$e[4]||($e[4]=Dt=>xe.$emit("pointermove",Dt)),onPointerleave:$e[5]||($e[5]=Dt=>xe.$emit("pointerleave",Dt))}),[xe.icon?(openBlock(),createBlock(At,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(xe.$slots,"default")],16,_hoisted_1$E)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$1d,[["render",_sfc_render$h],["__file","dropdown-item-impl.vue"]]);const useDropdown=()=>{const xe=inject("elDropdown",{}),$e=computed(()=>xe==null?void 0:xe.dropdownSize);return{elDropdown:xe,_elDropdownSize:$e}},_sfc_main$1c=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(xe,{emit:$e,attrs:Ie}){const{elDropdown:Fe}=useDropdown(),Ue=getCurrentInstance(),qe=ref(null),At=computed(()=>{var _n,wn;return(wn=(_n=unref(qe))==null?void 0:_n.textContent)!=null?wn:""}),{onItemEnter:Dt,onItemLeave:Lt}=inject(DROPDOWN_INJECTION_KEY,void 0),jt=composeEventHandlers(_n=>($e("pointermove",_n),_n.defaultPrevented),whenMouse(_n=>{if(xe.disabled){Lt(_n);return}const wn=_n.currentTarget;wn===document.activeElement||wn.contains(document.activeElement)||(Dt(_n),_n.defaultPrevented||wn==null||wn.focus())})),hn=composeEventHandlers(_n=>($e("pointerleave",_n),_n.defaultPrevented),whenMouse(_n=>{Lt(_n)})),vn=composeEventHandlers(_n=>{if(!xe.disabled)return $e("click",_n),_n.type!=="keydown"&&_n.defaultPrevented},_n=>{var wn,kn,Cn;if(xe.disabled){_n.stopImmediatePropagation();return}(wn=Fe==null?void 0:Fe.hideOnClick)!=null&&wn.value&&((kn=Fe.handleClick)==null||kn.call(Fe)),(Cn=Fe.commandHandler)==null||Cn.call(Fe,xe.command,Ue,_n)}),bn=computed(()=>({...xe,...Ie}));return{handleClick:vn,handlePointerMove:jt,handlePointerLeave:hn,textContent:At,propsAndAttrs:bn}}});function _sfc_render$g(xe,$e,Ie,Fe,Ue,qe){var At;const Dt=resolveComponent("el-dropdown-item-impl"),Lt=resolveComponent("el-roving-focus-item"),jt=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(jt,{disabled:xe.disabled,"text-value":(At=xe.textValue)!=null?At:xe.textContent},{default:withCtx(()=>[createVNode$1(Lt,{focusable:!xe.disabled},{default:withCtx(()=>[createVNode$1(Dt,mergeProps(xe.propsAndAttrs,{onPointerleave:xe.handlePointerLeave,onPointermove:xe.handlePointerMove,onClickimpl:xe.handleClick}),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$g],["__file","dropdown-item.vue"]]);const _sfc_main$1b=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(xe){const $e=useNamespace("dropdown"),{_elDropdownSize:Ie}=useDropdown(),Fe=Ie.value,{focusTrapRef:Ue,onKeydown:qe}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:At,role:Dt,triggerId:Lt}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:jt,getItems:hn}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:vn,rovingFocusGroupRootStyle:bn,tabIndex:_n,onBlur:wn,onFocus:kn,onMousedown:Cn}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:Sn}=inject(COLLECTION_INJECTION_KEY$1,void 0),xn=computed(()=>[$e.b("menu"),$e.bm("menu",Fe==null?void 0:Fe.value)]),En=composeRefs(At,jt,Ue,vn,Sn),Tn=composeEventHandlers($n=>{var Pn;(Pn=xe.onKeydown)==null||Pn.call(xe,$n)},$n=>{const{currentTarget:Pn,code:Nn,target:Mn}=$n;if(Pn.contains(Mn),EVENT_CODE.tab===Nn&&$n.stopImmediatePropagation(),$n.preventDefault(),Mn!==unref(At)||!FIRST_LAST_KEYS.includes(Nn))return;const On=hn().filter(Rn=>!Rn.disabled).map(Rn=>Rn.ref);LAST_KEYS.includes(Nn)&&On.reverse(),focusFirst(On)});return{size:Fe,rovingFocusGroupRootStyle:bn,tabIndex:_n,dropdownKls:xn,role:Dt,triggerId:Lt,dropdownListWrapperRef:En,handleKeydown:$n=>{Tn($n),qe($n)},onBlur:wn,onFocus:kn,onMousedown:Cn}}}),_hoisted_1$D=["role","aria-labelledby"];function _sfc_render$f(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("ul",{ref:xe.dropdownListWrapperRef,class:normalizeClass(xe.dropdownKls),style:normalizeStyle$1(xe.rovingFocusGroupRootStyle),tabindex:-1,role:xe.role,"aria-labelledby":xe.triggerId,onBlur:$e[0]||($e[0]=(...At)=>xe.onBlur&&xe.onBlur(...At)),onFocus:$e[1]||($e[1]=(...At)=>xe.onFocus&&xe.onFocus(...At)),onKeydown:$e[2]||($e[2]=withModifiers((...At)=>xe.handleKeydown&&xe.handleKeydown(...At),["self"])),onMousedown:$e[3]||($e[3]=withModifiers((...At)=>xe.onMousedown&&xe.onMousedown(...At),["self"]))},[renderSlot(xe.$slots,"default")],46,_hoisted_1$D)}var DropdownMenu=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$f],["__file","dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$C={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_hoisted_2$o=["id"],_hoisted_3$a=["stop-color"],_hoisted_4$6=["stop-color"],_hoisted_5$5=["id"],_hoisted_6$3=["stop-color"],_hoisted_7$1=["stop-color"],_hoisted_8$1=["id"],_hoisted_9$1={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10$1={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},_hoisted_11$1={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},_hoisted_12$1=["fill"],_hoisted_13$1=["fill"],_hoisted_14$1={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},_hoisted_15$1=["fill"],_hoisted_16$1=["fill"],_hoisted_17$1=["fill"],_hoisted_18$1=["fill"],_hoisted_19$1=["fill"],_hoisted_20$1={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},_hoisted_21$1=["fill","xlink:href"],_hoisted_22$1=["fill","mask"],_hoisted_23$1=["fill"],__default__$T=defineComponent({name:"ImgEmpty"}),_sfc_main$1a=defineComponent({...__default__$T,setup(xe){const $e=useNamespace("empty"),Ie=useId();return(Fe,Ue)=>(openBlock(),createElementBlock("svg",_hoisted_1$C,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(Ie)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$a),createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$6)],8,_hoisted_2$o),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(Ie)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$3),createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7$1)],8,_hoisted_5$5),createBaseVNode("rect",{id:`path-3-${unref(Ie)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8$1)]),createBaseVNode("g",_hoisted_9$1,[createBaseVNode("g",_hoisted_10$1,[createBaseVNode("g",_hoisted_11$1,[createBaseVNode("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${unref($e).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12$1),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref($e).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,_hoisted_13$1),createBaseVNode("g",_hoisted_14$1,[createBaseVNode("polygon",{id:"Rectangle-Copy-10",fill:`var(${unref($e).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,_hoisted_15$1),createBaseVNode("polygon",{id:"Rectangle-Copy-11",fill:`var(${unref($e).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16$1),createBaseVNode("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${unref(Ie)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,_hoisted_17$1),createBaseVNode("polygon",{id:"Rectangle-Copy-13",fill:`var(${unref($e).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,_hoisted_18$1)]),createBaseVNode("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${unref(Ie)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19$1),createBaseVNode("g",_hoisted_20$1,[createBaseVNode("use",{id:"Mask",fill:`var(${unref($e).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(Ie)}`},null,8,_hoisted_21$1),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref($e).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(Ie)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,_hoisted_22$1)]),createBaseVNode("polygon",{id:"Rectangle-Copy-18",fill:`var(${unref($e).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,_hoisted_23$1)])])])]))}});var ImgEmpty=_export_sfc$1(_sfc_main$1a,[["__file","img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$B=["src"],_hoisted_2$n={key:1},__default__$S=defineComponent({name:"ElEmpty"}),_sfc_main$19=defineComponent({...__default__$S,props:emptyProps,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=useNamespace("empty"),Ue=computed(()=>$e.description||Ie("el.table.emptyText")),qe=computed(()=>({width:addUnit($e.imageSize)}));return(At,Dt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("image")),style:normalizeStyle$1(unref(qe))},[At.image?(openBlock(),createElementBlock("img",{key:0,src:At.image,ondragstart:"return false"},null,8,_hoisted_1$B)):renderSlot(At.$slots,"image",{key:1},()=>[createVNode$1(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("description"))},[At.$slots.description?renderSlot(At.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$n,toDisplayString(unref(Ue)),1))],2),At.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("bottom"))},[renderSlot(At.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$1(_sfc_main$19,[["__file","empty.vue"]]);const ElEmpty=withInstall(Empty),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:definePropType(String)}}),imageViewerEmits={close:()=>!0,switch:xe=>isNumber$1(xe),rotate:xe=>isNumber$1(xe)},_hoisted_1$A=["src","crossorigin"],__default__$R=defineComponent({name:"ElImageViewer"}),_sfc_main$18=defineComponent({...__default__$R,props:imageViewerProps,emits:imageViewerEmits,setup(xe,{expose:$e,emit:Ie}){var Fe;const Ue=xe,qe={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:At}=useLocale(),Dt=useNamespace("image-viewer"),{nextZIndex:Lt}=useZIndex(),jt=ref(),hn=ref([]),vn=effectScope(),bn=ref(!0),_n=ref(Ue.initialIndex),wn=shallowRef(qe.CONTAIN),kn=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Cn=ref((Fe=Ue.zIndex)!=null?Fe:Lt()),Sn=computed(()=>{const{urlList:jn}=Ue;return jn.length<=1}),xn=computed(()=>_n.value===0),En=computed(()=>_n.value===Ue.urlList.length-1),Tn=computed(()=>Ue.urlList[_n.value]),An=computed(()=>[Dt.e("btn"),Dt.e("prev"),Dt.is("disabled",!Ue.infinite&&xn.value)]),$n=computed(()=>[Dt.e("btn"),Dt.e("next"),Dt.is("disabled",!Ue.infinite&&En.value)]),Pn=computed(()=>{const{scale:jn,deg:Gn,offsetX:Wn,offsetY:Xn,enableTransition:er}=kn.value;let rr=Wn/jn,Jn=Xn/jn;switch(Gn%360){case 90:case-270:[rr,Jn]=[Jn,-rr];break;case 180:case-180:[rr,Jn]=[-rr,-Jn];break;case 270:case-90:[rr,Jn]=[-Jn,rr];break}const Yn={transform:`scale(${jn}) rotate(${Gn}deg) translate(${rr}px, ${Jn}px)`,transition:er?"transform .3s":""};return wn.value.name===qe.CONTAIN.name&&(Yn.maxWidth=Yn.maxHeight="100%"),Yn});function Nn(){In(),Ie("close")}function Mn(){const jn=throttle$3(Wn=>{switch(Wn.code){case EVENT_CODE.esc:Ue.closeOnPressEscape&&Nn();break;case EVENT_CODE.space:Ln();break;case EVENT_CODE.left:Hn();break;case EVENT_CODE.up:zn("zoomIn");break;case EVENT_CODE.right:Fn();break;case EVENT_CODE.down:zn("zoomOut");break}}),Gn=throttle$3(Wn=>{const Xn=Wn.deltaY||Wn.deltaX;zn(Xn<0?"zoomIn":"zoomOut",{zoomRate:Ue.zoomRate,enableTransition:!1})});vn.run(()=>{useEventListener(document,"keydown",jn),useEventListener(document,"wheel",Gn)})}function In(){vn.stop()}function On(){bn.value=!1}function Rn(jn){bn.value=!1,jn.target.alt=At("el.image.error")}function Bn(jn){if(bn.value||jn.button!==0||!jt.value)return;kn.value.enableTransition=!1;const{offsetX:Gn,offsetY:Wn}=kn.value,Xn=jn.pageX,er=jn.pageY,rr=throttle$3(Yn=>{kn.value={...kn.value,offsetX:Gn+Yn.pageX-Xn,offsetY:Wn+Yn.pageY-er}}),Jn=useEventListener(document,"mousemove",rr);useEventListener(document,"mouseup",()=>{Jn()}),jn.preventDefault()}function Vn(){kn.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Ln(){if(bn.value)return;const jn=keysOf(qe),Gn=Object.values(qe),Wn=wn.value.name,er=(Gn.findIndex(rr=>rr.name===Wn)+1)%jn.length;wn.value=qe[jn[er]],Vn()}function Dn(jn){const Gn=Ue.urlList.length;_n.value=(jn+Gn)%Gn}function Hn(){xn.value&&!Ue.infinite||Dn(_n.value-1)}function Fn(){En.value&&!Ue.infinite||Dn(_n.value+1)}function zn(jn,Gn={}){if(bn.value)return;const{minScale:Wn,maxScale:Xn}=Ue,{zoomRate:er,rotateDeg:rr,enableTransition:Jn}={zoomRate:Ue.zoomRate,rotateDeg:90,enableTransition:!0,...Gn};switch(jn){case"zoomOut":kn.value.scale>Wn&&(kn.value.scale=Number.parseFloat((kn.value.scale/er).toFixed(3)));break;case"zoomIn":kn.value.scale{nextTick(()=>{const jn=hn.value[0];jn!=null&&jn.complete||(bn.value=!0)})}),watch(_n,jn=>{Vn(),Ie("switch",jn)}),onMounted(()=>{var jn,Gn;Mn(),(Gn=(jn=jt.value)==null?void 0:jn.focus)==null||Gn.call(jn)}),$e({setActiveItem:Dn}),(jn,Gn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!jn.teleported},[createVNode$1(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:jt,tabindex:-1,class:normalizeClass(unref(Dt).e("wrapper")),style:normalizeStyle$1({zIndex:Cn.value})},[createBaseVNode("div",{class:normalizeClass(unref(Dt).e("mask")),onClick:Gn[0]||(Gn[0]=withModifiers(Wn=>jn.hideOnClickModal&&Nn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(Dt).e("btn"),unref(Dt).e("close")]),onClick:Nn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Sn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(unref(An)),onClick:Hn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass(unref($n)),onClick:Fn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(Dt).e("btn"),unref(Dt).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(Dt).e("actions__inner"))},[createVNode$1(unref(ElIcon),{onClick:Gn[1]||(Gn[1]=Wn=>zn("zoomOut"))},{default:withCtx(()=>[createVNode$1(unref(zoom_out_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:Gn[2]||(Gn[2]=Wn=>zn("zoomIn"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(Dt).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Ln},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(Dt).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Gn[3]||(Gn[3]=Wn=>zn("anticlockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_left_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:Gn[4]||(Gn[4]=Wn=>zn("clockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(Dt).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(jn.urlList,(Wn,Xn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:er=>hn.value[Xn]=er,key:Wn,src:Wn,style:normalizeStyle$1(unref(Pn)),class:normalizeClass(unref(Dt).e("img")),crossorigin:jn.crossorigin,onLoad:On,onError:Rn,onMousedown:Bn},null,46,_hoisted_1$A)),[[vShow,Xn===_n.value]])),128))],2),renderSlot(jn.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$1(_sfc_main$18,[["__file","image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:definePropType(String)}}),imageEmits={load:xe=>xe instanceof Event,error:xe=>xe instanceof Event,switch:xe=>isNumber$1(xe),close:()=>!0,show:()=>!0},_hoisted_1$z=["src","loading","crossorigin"],_hoisted_2$m={key:0},__default__$Q=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$17=defineComponent({...__default__$Q,props:imageProps,emits:imageEmits,setup(xe,{emit:$e}){const Ie=xe;let Fe="";const{t:Ue}=useLocale(),qe=useNamespace("image"),At=useAttrs$1(),Dt=useAttrs(),Lt=ref(),jt=ref(!1),hn=ref(!0),vn=ref(!1),bn=ref(),_n=ref(),wn=isClient$1&&"loading"in HTMLImageElement.prototype;let kn,Cn;const Sn=computed(()=>[qe.e("inner"),Tn.value&&qe.e("preview"),hn.value&&qe.is("loading")]),xn=computed(()=>At.style),En=computed(()=>{const{fit:Fn}=Ie;return isClient$1&&Fn?{objectFit:Fn}:{}}),Tn=computed(()=>{const{previewSrcList:Fn}=Ie;return Array.isArray(Fn)&&Fn.length>0}),An=computed(()=>{const{previewSrcList:Fn,initialIndex:zn}=Ie;let jn=zn;return zn>Fn.length-1&&(jn=0),jn}),$n=computed(()=>Ie.loading==="eager"?!1:!wn&&Ie.loading==="lazy"||Ie.lazy),Pn=()=>{isClient$1&&(hn.value=!0,jt.value=!1,Lt.value=Ie.src)};function Nn(Fn){hn.value=!1,jt.value=!1,$e("load",Fn)}function Mn(Fn){hn.value=!1,jt.value=!0,$e("error",Fn)}function In(){isInContainer(bn.value,_n.value)&&(Pn(),Bn())}const On=useThrottleFn(In,200,!0);async function Rn(){var Fn;if(!isClient$1)return;await nextTick();const{scrollContainer:zn}=Ie;isElement$1(zn)?_n.value=zn:isString$4(zn)&&zn!==""?_n.value=(Fn=document.querySelector(zn))!=null?Fn:void 0:bn.value&&(_n.value=getScrollContainer(bn.value)),_n.value&&(kn=useEventListener(_n,"scroll",On),setTimeout(()=>In(),100))}function Bn(){!isClient$1||!_n.value||!On||(kn==null||kn(),_n.value=void 0)}function Vn(Fn){if(Fn.ctrlKey){if(Fn.deltaY<0)return Fn.preventDefault(),!1;if(Fn.deltaY>0)return Fn.preventDefault(),!1}}function Ln(){Tn.value&&(Cn=useEventListener("wheel",Vn,{passive:!1}),Fe=document.body.style.overflow,document.body.style.overflow="hidden",vn.value=!0,$e("show"))}function Dn(){Cn==null||Cn(),document.body.style.overflow=Fe,vn.value=!1,$e("close")}function Hn(Fn){$e("switch",Fn)}return watch(()=>Ie.src,()=>{$n.value?(hn.value=!0,jt.value=!1,Bn(),Rn()):Pn()}),onMounted(()=>{$n.value?Rn():Pn()}),(Fn,zn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:bn,class:normalizeClass([unref(qe).b(),Fn.$attrs.class]),style:normalizeStyle$1(unref(xn))},[jt.value?renderSlot(Fn.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(qe).e("error"))},toDisplayString(unref(Ue)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[Lt.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(Dt),{src:Lt.value,loading:Fn.loading,style:unref(En),class:unref(Sn),crossorigin:Fn.crossorigin,onClick:Ln,onLoad:Nn,onError:Mn}),null,16,_hoisted_1$z)):createCommentVNode("v-if",!0),hn.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(qe).e("wrapper"))},[renderSlot(Fn.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(qe).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),unref(Tn)?(openBlock(),createElementBlock(Fragment,{key:2},[vn.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":Fn.zIndex,"initial-index":unref(An),infinite:Fn.infinite,"zoom-rate":Fn.zoomRate,"min-scale":Fn.minScale,"max-scale":Fn.maxScale,"url-list":Fn.previewSrcList,"hide-on-click-modal":Fn.hideOnClickModal,teleported:Fn.previewTeleported,"close-on-press-escape":Fn.closeOnPressEscape,onClose:Dn,onSwitch:Hn},{default:withCtx(()=>[Fn.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$m,[renderSlot(Fn.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],6))}});var Image$1=_export_sfc$1(_sfc_main$17,[["__file","image.vue"]]);const ElImage=withInstall(Image$1),inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:xe=>xe===null||isNumber$1(xe)||["min","max"].includes(xe),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:xe=>xe>=0&&xe===Number.parseInt(`${xe}`,10)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),inputNumberEmits={[CHANGE_EVENT]:(xe,$e)=>$e!==xe,blur:xe=>xe instanceof FocusEvent,focus:xe=>xe instanceof FocusEvent,[INPUT_EVENT]:xe=>isNumber$1(xe)||isNil(xe),[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)||isNil(xe)},_hoisted_1$y=["aria-label","onKeydown"],_hoisted_2$l=["aria-label","onKeydown"],__default__$P=defineComponent({name:"ElInputNumber"}),_sfc_main$16=defineComponent({...__default__$P,props:inputNumberProps,emits:inputNumberEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{t:Ue}=useLocale(),qe=useNamespace("input-number"),At=ref(),Dt=reactive({currentValue:Fe.modelValue,userInput:null}),{formItem:Lt}=useFormItem(),jt=computed(()=>isNumber$1(Fe.modelValue)&&Fe.modelValue<=Fe.min),hn=computed(()=>isNumber$1(Fe.modelValue)&&Fe.modelValue>=Fe.max),vn=computed(()=>{const Ln=Sn(Fe.step);return isUndefined(Fe.precision)?Math.max(Sn(Fe.modelValue),Ln):(Ln>Fe.precision,Fe.precision)}),bn=computed(()=>Fe.controls&&Fe.controlsPosition==="right"),_n=useFormSize(),wn=useFormDisabled(),kn=computed(()=>{if(Dt.userInput!==null)return Dt.userInput;let Ln=Dt.currentValue;if(isNil(Ln))return"";if(isNumber$1(Ln)){if(Number.isNaN(Ln))return"";isUndefined(Fe.precision)||(Ln=Ln.toFixed(Fe.precision))}return Ln}),Cn=(Ln,Dn)=>{if(isUndefined(Dn)&&(Dn=vn.value),Dn===0)return Math.round(Ln);let Hn=String(Ln);const Fn=Hn.indexOf(".");if(Fn===-1||!Hn.replace(".","").split("")[Fn+Dn])return Ln;const Gn=Hn.length;return Hn.charAt(Gn-1)==="5"&&(Hn=`${Hn.slice(0,Math.max(0,Gn-1))}6`),Number.parseFloat(Number(Hn).toFixed(Dn))},Sn=Ln=>{if(isNil(Ln))return 0;const Dn=Ln.toString(),Hn=Dn.indexOf(".");let Fn=0;return Hn!==-1&&(Fn=Dn.length-Hn-1),Fn},xn=(Ln,Dn=1)=>isNumber$1(Ln)?Cn(Ln+Fe.step*Dn):Dt.currentValue,En=()=>{if(Fe.readonly||wn.value||hn.value)return;const Ln=Number(kn.value)||0,Dn=xn(Ln);$n(Dn),Ie(INPUT_EVENT,Dt.currentValue),Bn()},Tn=()=>{if(Fe.readonly||wn.value||jt.value)return;const Ln=Number(kn.value)||0,Dn=xn(Ln,-1);$n(Dn),Ie(INPUT_EVENT,Dt.currentValue),Bn()},An=(Ln,Dn)=>{const{max:Hn,min:Fn,step:zn,precision:jn,stepStrictly:Gn,valueOnClear:Wn}=Fe;HnHn||XnHn?Hn:Fn,Dn&&Ie(UPDATE_MODEL_EVENT,Xn)),Xn},$n=(Ln,Dn=!0)=>{var Hn;const Fn=Dt.currentValue,zn=An(Ln);if(!Dn){Ie(UPDATE_MODEL_EVENT,zn);return}Fn===zn&&Ln||(Dt.userInput=null,Ie(UPDATE_MODEL_EVENT,zn),Fn!==zn&&Ie(CHANGE_EVENT,zn,Fn),Fe.validateEvent&&((Hn=Lt==null?void 0:Lt.validate)==null||Hn.call(Lt,"change").catch(jn=>void 0)),Dt.currentValue=zn)},Pn=Ln=>{Dt.userInput=Ln;const Dn=Ln===""?null:Number(Ln);Ie(INPUT_EVENT,Dn),$n(Dn,!1)},Nn=Ln=>{const Dn=Ln!==""?Number(Ln):"";(isNumber$1(Dn)&&!Number.isNaN(Dn)||Ln==="")&&$n(Dn),Bn(),Dt.userInput=null},Mn=()=>{var Ln,Dn;(Dn=(Ln=At.value)==null?void 0:Ln.focus)==null||Dn.call(Ln)},In=()=>{var Ln,Dn;(Dn=(Ln=At.value)==null?void 0:Ln.blur)==null||Dn.call(Ln)},On=Ln=>{Ie("focus",Ln)},Rn=Ln=>{var Dn;Dt.userInput=null,Ie("blur",Ln),Fe.validateEvent&&((Dn=Lt==null?void 0:Lt.validate)==null||Dn.call(Lt,"blur").catch(Hn=>void 0))},Bn=()=>{Dt.currentValue!==Fe.modelValue&&(Dt.currentValue=Fe.modelValue)},Vn=Ln=>{document.activeElement===Ln.target&&Ln.preventDefault()};return watch(()=>Fe.modelValue,(Ln,Dn)=>{const Hn=An(Ln,!0);Dt.userInput===null&&Hn!==Dn&&(Dt.currentValue=Hn)},{immediate:!0}),onMounted(()=>{var Ln;const{min:Dn,max:Hn,modelValue:Fn}=Fe,zn=(Ln=At.value)==null?void 0:Ln.input;if(zn.setAttribute("role","spinbutton"),Number.isFinite(Hn)?zn.setAttribute("aria-valuemax",String(Hn)):zn.removeAttribute("aria-valuemax"),Number.isFinite(Dn)?zn.setAttribute("aria-valuemin",String(Dn)):zn.removeAttribute("aria-valuemin"),zn.setAttribute("aria-valuenow",Dt.currentValue||Dt.currentValue===0?String(Dt.currentValue):""),zn.setAttribute("aria-disabled",String(wn.value)),!isNumber$1(Fn)&&Fn!=null){let jn=Number(Fn);Number.isNaN(jn)&&(jn=null),Ie(UPDATE_MODEL_EVENT,jn)}zn.addEventListener("wheel",Vn,{passive:!1})}),onUpdated(()=>{var Ln,Dn;const Hn=(Ln=At.value)==null?void 0:Ln.input;Hn==null||Hn.setAttribute("aria-valuenow",`${(Dn=Dt.currentValue)!=null?Dn:""}`)}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input-number",ref:"https://element-plus.org/en-US/component/input-number.html"},computed(()=>!!Fe.label)),$e({focus:Mn,blur:In}),(Ln,Dn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(qe).b(),unref(qe).m(unref(_n)),unref(qe).is("disabled",unref(wn)),unref(qe).is("without-controls",!Ln.controls),unref(qe).is("controls-right",unref(bn))]),onDragstart:Dn[0]||(Dn[0]=withModifiers(()=>{},["prevent"]))},[Ln.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(Ue)("el.inputNumber.decrease"),class:normalizeClass([unref(qe).e("decrease"),unref(qe).is("disabled",unref(jt))]),onKeydown:withKeys(Tn,["enter"])},[renderSlot(Ln.$slots,"decrease-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})])],42,_hoisted_1$y)),[[unref(vRepeatClick),Tn]]):createCommentVNode("v-if",!0),Ln.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(Ue)("el.inputNumber.increase"),class:normalizeClass([unref(qe).e("increase"),unref(qe).is("disabled",unref(hn))]),onKeydown:withKeys(En,["enter"])},[renderSlot(Ln.$slots,"increase-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})])],42,_hoisted_2$l)),[[unref(vRepeatClick),En]]):createCommentVNode("v-if",!0),createVNode$1(unref(ElInput),{id:Ln.id,ref_key:"input",ref:At,type:"number",step:Ln.step,"model-value":unref(kn),placeholder:Ln.placeholder,readonly:Ln.readonly,disabled:unref(wn),size:unref(_n),max:Ln.max,min:Ln.min,name:Ln.name,"aria-label":Ln.label||Ln.ariaLabel,"validate-event":!1,onKeydown:[withKeys(withModifiers(En,["prevent"]),["up"]),withKeys(withModifiers(Tn,["prevent"]),["down"])],onBlur:Rn,onFocus:On,onInput:Pn,onChange:Nn},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],34))}});var InputNumber=_export_sfc$1(_sfc_main$16,[["__file","input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:iconPropType}}),linkEmits={click:xe=>xe instanceof MouseEvent},_hoisted_1$x=["href","target"],__default__$O=defineComponent({name:"ElLink"}),_sfc_main$15=defineComponent({...__default__$O,props:linkProps,emits:linkEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("link"),Ue=computed(()=>[Fe.b(),Fe.m(Ie.type),Fe.is("disabled",Ie.disabled),Fe.is("underline",Ie.underline&&!Ie.disabled)]);function qe(At){Ie.disabled||$e("click",At)}return(At,Dt)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(Ue)),href:At.disabled||!At.href?void 0:At.href,target:At.disabled||!At.href?void 0:At.target,onClick:qe},[At.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(At.icon)))]),_:1})):createCommentVNode("v-if",!0),At.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Fe).e("inner"))},[renderSlot(At.$slots,"default")],2)):createCommentVNode("v-if",!0),At.$slots.icon?renderSlot(At.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$x))}});var Link=_export_sfc$1(_sfc_main$15,[["__file","link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor($e,Ie){this.parent=$e,this.domNode=Ie,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex($e){$e===this.subMenuItems.length?$e=0:$e<0&&($e=this.subMenuItems.length-1),this.subMenuItems[$e].focus(),this.subIndex=$e}addListeners(){const $e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,Ie=>{Ie.addEventListener("keydown",Fe=>{let Ue=!1;switch(Fe.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),Ue=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),Ue=!0;break}case EVENT_CODE.tab:{triggerEvent($e,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{Ue=!0,Fe.currentTarget.click();break}}return Ue&&(Fe.preventDefault(),Fe.stopPropagation()),!1})})}},MenuItem$1=class{constructor($e,Ie){this.domNode=$e,this.submenu=null,this.submenu=null,this.init(Ie)}init($e){this.domNode.setAttribute("tabindex","0");const Ie=this.domNode.querySelector(`.${$e}-menu`);Ie&&(this.submenu=new SubMenu$1(this,Ie)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",$e=>{let Ie=!1;switch($e.code){case EVENT_CODE.down:{triggerEvent($e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),Ie=!0;break}case EVENT_CODE.up:{triggerEvent($e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),Ie=!0;break}case EVENT_CODE.tab:{triggerEvent($e.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{Ie=!0,$e.currentTarget.click();break}}Ie&&$e.preventDefault()})}},Menu$1=class{constructor($e,Ie){this.domNode=$e,this.init(Ie)}init($e){const Ie=this.domNode.childNodes;Array.from(Ie).forEach(Fe=>{Fe.nodeType===1&&new MenuItem$1(Fe,$e)})}};const _sfc_main$14=defineComponent({name:"ElMenuCollapseTransition",setup(){const xe=useNamespace("menu");return{listeners:{onBeforeEnter:Ie=>Ie.style.opacity="0.2",onEnter(Ie,Fe){addClass(Ie,`${xe.namespace.value}-opacity-transition`),Ie.style.opacity="1",Fe()},onAfterEnter(Ie){removeClass(Ie,`${xe.namespace.value}-opacity-transition`),Ie.style.opacity=""},onBeforeLeave(Ie){Ie.dataset||(Ie.dataset={}),hasClass(Ie,xe.m("collapse"))?(removeClass(Ie,xe.m("collapse")),Ie.dataset.oldOverflow=Ie.style.overflow,Ie.dataset.scrollWidth=Ie.clientWidth.toString(),addClass(Ie,xe.m("collapse"))):(addClass(Ie,xe.m("collapse")),Ie.dataset.oldOverflow=Ie.style.overflow,Ie.dataset.scrollWidth=Ie.clientWidth.toString(),removeClass(Ie,xe.m("collapse"))),Ie.style.width=`${Ie.scrollWidth}px`,Ie.style.overflow="hidden"},onLeave(Ie){addClass(Ie,"horizontal-collapse-transition"),Ie.style.width=`${Ie.dataset.scrollWidth}px`}}}}});function _sfc_render$e(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},xe.listeners),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$e],["__file","menu-collapse-transition.vue"]]);function useMenu(xe,$e){const Ie=computed(()=>{let Ue=xe.parent;const qe=[$e.value];for(;Ue.type.name!=="ElMenu";)Ue.props.index&&qe.unshift(Ue.props.index),Ue=Ue.parent;return qe});return{parentMenu:computed(()=>{let Ue=xe.parent;for(;Ue&&!["ElMenu","ElSubMenu"].includes(Ue.type.name);)Ue=Ue.parent;return Ue}),indexPath:Ie}}function useMenuColor(xe){return computed(()=>{const Ie=xe.backgroundColor;return Ie?new TinyColor(Ie).shade(20).toString():""})}const useMenuCssVar=(xe,$e)=>{const Ie=useNamespace("menu");return computed(()=>Ie.cssVarBlock({"text-color":xe.textColor||"","hover-text-color":xe.textColor||"","bg-color":xe.backgroundColor||"","hover-bg-color":useMenuColor(xe).value||"","active-color":xe.activeTextColor||"",level:`${$e}`}))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:iconPropType},expandOpenIcon:{type:iconPropType},collapseCloseIcon:{type:iconPropType},collapseOpenIcon:{type:iconPropType}}),COMPONENT_NAME$c="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$c,props:subMenuProps,setup(xe,{slots:$e,expose:Ie}){const Fe=getCurrentInstance(),{indexPath:Ue,parentMenu:qe}=useMenu(Fe,computed(()=>xe.index)),At=useNamespace("menu"),Dt=useNamespace("sub-menu"),Lt=inject("rootMenu");Lt||throwError$1(COMPONENT_NAME$c,"can not inject root menu");const jt=inject(`subMenu:${qe.value.uid}`);jt||throwError$1(COMPONENT_NAME$c,"can not inject sub menu");const hn=ref({}),vn=ref({});let bn;const _n=ref(!1),wn=ref(),kn=ref(null),Cn=computed(()=>Nn.value==="horizontal"&&xn.value?"bottom-start":"right-start"),Sn=computed(()=>Nn.value==="horizontal"&&xn.value||Nn.value==="vertical"&&!Lt.props.collapse?xe.expandCloseIcon&&xe.expandOpenIcon?$n.value?xe.expandOpenIcon:xe.expandCloseIcon:arrow_down_default:xe.collapseCloseIcon&&xe.collapseOpenIcon?$n.value?xe.collapseOpenIcon:xe.collapseCloseIcon:arrow_right_default),xn=computed(()=>jt.level===0),En=computed(()=>{const jn=xe.teleported;return jn===void 0?xn.value:jn}),Tn=computed(()=>Lt.props.collapse?`${At.namespace.value}-zoom-in-left`:`${At.namespace.value}-zoom-in-top`),An=computed(()=>Nn.value==="horizontal"&&xn.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),$n=computed(()=>Lt.openedMenus.includes(xe.index)),Pn=computed(()=>{let jn=!1;return Object.values(hn.value).forEach(Gn=>{Gn.active&&(jn=!0)}),Object.values(vn.value).forEach(Gn=>{Gn.active&&(jn=!0)}),jn}),Nn=computed(()=>Lt.props.mode),Mn=reactive({index:xe.index,indexPath:Ue,active:Pn}),In=useMenuCssVar(Lt.props,jt.level+1),On=computed(()=>{var jn;return(jn=xe.popperOffset)!=null?jn:Lt.props.popperOffset}),Rn=computed(()=>{var jn;return(jn=xe.popperClass)!=null?jn:Lt.props.popperClass}),Bn=computed(()=>{var jn;return(jn=xe.showTimeout)!=null?jn:Lt.props.showTimeout}),Vn=computed(()=>{var jn;return(jn=xe.hideTimeout)!=null?jn:Lt.props.hideTimeout}),Ln=()=>{var jn,Gn,Wn;return(Wn=(Gn=(jn=kn.value)==null?void 0:jn.popperRef)==null?void 0:Gn.popperInstanceRef)==null?void 0:Wn.destroy()},Dn=jn=>{jn||Ln()},Hn=()=>{Lt.props.menuTrigger==="hover"&&Lt.props.mode==="horizontal"||Lt.props.collapse&&Lt.props.mode==="vertical"||xe.disabled||Lt.handleSubMenuClick({index:xe.index,indexPath:Ue.value,active:Pn.value})},Fn=(jn,Gn=Bn.value)=>{var Wn;if(jn.type!=="focus"){if(Lt.props.menuTrigger==="click"&&Lt.props.mode==="horizontal"||!Lt.props.collapse&&Lt.props.mode==="vertical"||xe.disabled){jt.mouseInChild.value=!0;return}jt.mouseInChild.value=!0,bn==null||bn(),{stop:bn}=useTimeoutFn$1(()=>{Lt.openMenu(xe.index,Ue.value)},Gn),En.value&&((Wn=qe.value.vnode.el)==null||Wn.dispatchEvent(new MouseEvent("mouseenter")))}},zn=(jn=!1)=>{var Gn;if(Lt.props.menuTrigger==="click"&&Lt.props.mode==="horizontal"||!Lt.props.collapse&&Lt.props.mode==="vertical"){jt.mouseInChild.value=!1;return}bn==null||bn(),jt.mouseInChild.value=!1,{stop:bn}=useTimeoutFn$1(()=>!_n.value&&Lt.closeMenu(xe.index,Ue.value),Vn.value),En.value&&jn&&((Gn=jt.handleMouseleave)==null||Gn.call(jt,!0))};watch(()=>Lt.props.collapse,jn=>Dn(!!jn));{const jn=Wn=>{vn.value[Wn.index]=Wn},Gn=Wn=>{delete vn.value[Wn.index]};provide(`subMenu:${Fe.uid}`,{addSubMenu:jn,removeSubMenu:Gn,handleMouseleave:zn,mouseInChild:_n,level:jt.level+1})}return Ie({opened:$n}),onMounted(()=>{Lt.addSubMenu(Mn),jt.addSubMenu(Mn)}),onBeforeUnmount(()=>{jt.removeSubMenu(Mn),Lt.removeSubMenu(Mn)}),()=>{var jn;const Gn=[(jn=$e.title)==null?void 0:jn.call($e),h$5(ElIcon,{class:Dt.e("icon-arrow"),style:{transform:$n.value?xe.expandCloseIcon&&xe.expandOpenIcon||xe.collapseCloseIcon&&xe.collapseOpenIcon&&Lt.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$4(Sn.value)?h$5(Fe.appContext.components[Sn.value]):h$5(Sn.value)})],Wn=Lt.isMenuPopup?h$5(ElTooltip,{ref:kn,visible:$n.value,effect:"light",pure:!0,offset:On.value,showArrow:!1,persistent:!0,popperClass:Rn.value,placement:Cn.value,teleported:En.value,fallbackPlacements:An.value,transition:Tn.value,gpuAcceleration:!1},{content:()=>{var Xn;return h$5("div",{class:[At.m(Nn.value),At.m("popup-container"),Rn.value],onMouseenter:er=>Fn(er,100),onMouseleave:()=>zn(!0),onFocus:er=>Fn(er,100)},[h$5("ul",{class:[At.b(),At.m("popup"),At.m(`popup-${Cn.value}`)],style:In.value},[(Xn=$e.default)==null?void 0:Xn.call($e)])])},default:()=>h$5("div",{class:Dt.e("title"),onClick:Hn},Gn)}):h$5(Fragment,{},[h$5("div",{class:Dt.e("title"),ref:wn,onClick:Hn},Gn),h$5(_CollapseTransition,{},{default:()=>{var Xn;return withDirectives(h$5("ul",{role:"menu",class:[At.b(),At.m("inline")],style:In.value},[(Xn=$e.default)==null?void 0:Xn.call($e)]),[[vShow,$n.value]])}})]);return h$5("li",{class:[Dt.b(),Dt.is("active",Pn.value),Dt.is("opened",$n.value),Dt.is("disabled",xe.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:$n.value,onMouseenter:Fn,onMouseleave:()=>zn(),onFocus:Fn},[Wn])}}});const menuProps=buildProps({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:definePropType(Array),default:()=>mutable([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:iconPropType,default:()=>more_default},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),checkIndexPath=xe=>Array.isArray(xe)&&xe.every($e=>isString$4($e)),menuEmits={close:(xe,$e)=>isString$4(xe)&&checkIndexPath($e),open:(xe,$e)=>isString$4(xe)&&checkIndexPath($e),select:(xe,$e,Ie,Fe)=>isString$4(xe)&&checkIndexPath($e)&&isObject$8(Ie)&&(Fe===void 0||Fe instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(xe,{emit:$e,slots:Ie,expose:Fe}){const Ue=getCurrentInstance(),qe=Ue.appContext.config.globalProperties.$router,At=ref(),Dt=useNamespace("menu"),Lt=useNamespace("sub-menu"),jt=ref(-1),hn=ref(xe.defaultOpeneds&&!xe.collapse?xe.defaultOpeneds.slice(0):[]),vn=ref(xe.defaultActive),bn=ref({}),_n=ref({}),wn=computed(()=>xe.mode==="horizontal"||xe.mode==="vertical"&&xe.collapse),kn=()=>{const Vn=vn.value&&bn.value[vn.value];if(!Vn||xe.mode==="horizontal"||xe.collapse)return;Vn.indexPath.forEach(Dn=>{const Hn=_n.value[Dn];Hn&&Cn(Dn,Hn.indexPath)})},Cn=(Vn,Ln)=>{hn.value.includes(Vn)||(xe.uniqueOpened&&(hn.value=hn.value.filter(Dn=>Ln.includes(Dn))),hn.value.push(Vn),$e("open",Vn,Ln))},Sn=Vn=>{const Ln=hn.value.indexOf(Vn);Ln!==-1&&hn.value.splice(Ln,1)},xn=(Vn,Ln)=>{Sn(Vn),$e("close",Vn,Ln)},En=({index:Vn,indexPath:Ln})=>{hn.value.includes(Vn)?xn(Vn,Ln):Cn(Vn,Ln)},Tn=Vn=>{(xe.mode==="horizontal"||xe.collapse)&&(hn.value=[]);const{index:Ln,indexPath:Dn}=Vn;if(!(isNil(Ln)||isNil(Dn)))if(xe.router&&qe){const Hn=Vn.route||Ln,Fn=qe.push(Hn).then(zn=>(zn||(vn.value=Ln),zn));$e("select",Ln,Dn,{index:Ln,indexPath:Dn,route:Hn},Fn)}else vn.value=Ln,$e("select",Ln,Dn,{index:Ln,indexPath:Dn})},An=Vn=>{const Ln=bn.value,Dn=Ln[Vn]||vn.value&&Ln[vn.value]||Ln[xe.defaultActive];Dn?vn.value=Dn.index:vn.value=Vn},$n=Vn=>{const Ln=getComputedStyle(Vn),Dn=Number.parseInt(Ln.marginLeft,10),Hn=Number.parseInt(Ln.marginRight,10);return Vn.offsetWidth+Dn+Hn||0},Pn=()=>{var Vn,Ln;if(!At.value)return-1;const Dn=Array.from((Ln=(Vn=At.value)==null?void 0:Vn.childNodes)!=null?Ln:[]).filter(er=>er.nodeName!=="#comment"&&(er.nodeName!=="#text"||er.nodeValue)),Hn=64,Fn=getComputedStyle(At.value),zn=Number.parseInt(Fn.paddingLeft,10),jn=Number.parseInt(Fn.paddingRight,10),Gn=At.value.clientWidth-zn-jn;let Wn=0,Xn=0;return Dn.forEach((er,rr)=>{Wn+=$n(er),Wn<=Gn-Hn&&(Xn=rr+1)}),Xn===Dn.length?-1:Xn},Nn=Vn=>_n.value[Vn].indexPath,Mn=(Vn,Ln=33.34)=>{let Dn;return()=>{Dn&&clearTimeout(Dn),Dn=setTimeout(()=>{Vn()},Ln)}};let In=!0;const On=()=>{if(jt.value===Pn())return;const Vn=()=>{jt.value=-1,nextTick(()=>{jt.value=Pn()})};In?Vn():Mn(Vn)(),In=!1};watch(()=>xe.defaultActive,Vn=>{bn.value[Vn]||(vn.value=""),An(Vn)}),watch(()=>xe.collapse,Vn=>{Vn&&(hn.value=[])}),watch(bn.value,kn);let Rn;watchEffect(()=>{xe.mode==="horizontal"&&xe.ellipsis?Rn=useResizeObserver(At,On).stop:Rn==null||Rn()});const Bn=ref(!1);{const Vn=Fn=>{_n.value[Fn.index]=Fn},Ln=Fn=>{delete _n.value[Fn.index]};provide("rootMenu",reactive({props:xe,openedMenus:hn,items:bn,subMenus:_n,activeIndex:vn,isMenuPopup:wn,addMenuItem:Fn=>{bn.value[Fn.index]=Fn},removeMenuItem:Fn=>{delete bn.value[Fn.index]},addSubMenu:Vn,removeSubMenu:Ln,openMenu:Cn,closeMenu:xn,handleMenuItemClick:Tn,handleSubMenuClick:En})),provide(`subMenu:${Ue.uid}`,{addSubMenu:Vn,removeSubMenu:Ln,mouseInChild:Bn,level:0})}return onMounted(()=>{xe.mode==="horizontal"&&new Menu$1(Ue.vnode.el,Dt.namespace.value)}),Fe({open:Ln=>{const{indexPath:Dn}=_n.value[Ln];Dn.forEach(Hn=>Cn(Hn,Dn))},close:Sn,handleResize:On}),()=>{var Vn,Ln;let Dn=(Ln=(Vn=Ie.default)==null?void 0:Vn.call(Ie))!=null?Ln:[];const Hn=[];if(xe.mode==="horizontal"&&At.value){const Gn=flattedChildren(Dn),Wn=jt.value===-1?Gn:Gn.slice(0,jt.value),Xn=jt.value===-1?[]:Gn.slice(jt.value);Xn!=null&&Xn.length&&xe.ellipsis&&(Dn=Wn,Hn.push(h$5(SubMenu,{index:"sub-menu-more",class:Lt.e("hide-arrow"),popperOffset:xe.popperOffset},{title:()=>h$5(ElIcon,{class:Lt.e("icon-more")},{default:()=>h$5(xe.ellipsisIcon)}),default:()=>Xn})))}const Fn=useMenuCssVar(xe,0),zn=xe.closeOnClickOutside?[[ClickOutside,()=>{hn.value.length&&(Bn.value||(hn.value.forEach(Gn=>$e("close",Gn,Nn(Gn))),hn.value=[]))}]]:[],jn=withDirectives(h$5("ul",{key:String(xe.collapse),role:"menubar",ref:At,style:Fn.value,class:{[Dt.b()]:!0,[Dt.m(xe.mode)]:!0,[Dt.m("collapse")]:xe.collapse}},[...Dn,...Hn]),zn);return xe.collapseTransition&&xe.mode==="vertical"?h$5(ElMenuCollapseTransition,()=>jn):jn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:xe=>isString$4(xe.index)&&Array.isArray(xe.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$13=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=inject("rootMenu"),Ue=useNamespace("menu"),qe=useNamespace("menu-item");Fe||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:At,indexPath:Dt}=useMenu(Ie,toRef(xe,"index")),Lt=inject(`subMenu:${At.value.uid}`);Lt||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const jt=computed(()=>xe.index===Fe.activeIndex),hn=reactive({index:xe.index,indexPath:Dt,active:jt}),vn=()=>{xe.disabled||(Fe.handleMenuItemClick({index:xe.index,indexPath:Dt.value,route:xe.route}),$e("click",hn))};return onMounted(()=>{Lt.addSubMenu(hn),Fe.addMenuItem(hn)}),onBeforeUnmount(()=>{Lt.removeSubMenu(hn),Fe.removeMenuItem(hn)}),{parentMenu:At,rootMenu:Fe,active:jt,nsMenu:Ue,nsMenuItem:qe,handleClick:vn}}});function _sfc_render$d(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([xe.nsMenuItem.b(),xe.nsMenuItem.is("active",xe.active),xe.nsMenuItem.is("disabled",xe.disabled)]),role:"menuitem",tabindex:"-1",onClick:$e[0]||($e[0]=(...Dt)=>xe.handleClick&&xe.handleClick(...Dt))},[xe.parentMenu.type.name==="ElMenu"&&xe.rootMenu.props.collapse&&xe.$slots.title?(openBlock(),createBlock(At,{key:0,effect:xe.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot(xe.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsMenu.be("tooltip","trigger"))},[renderSlot(xe.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(xe.$slots,"default"),renderSlot(xe.$slots,"title")],64))],2)}var MenuItem=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$d],["__file","menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME$a="ElMenuItemGroup",_sfc_main$12=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$c(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("li",{class:normalizeClass(xe.ns.b())},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("title"))},[xe.$slots.title?renderSlot(xe.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(xe.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(xe.$slots,"default")])],2)}var MenuItemGroup=_export_sfc$1(_sfc_main$12,[["render",_sfc_render$c],["__file","menu-item-group.vue"]]);const ElMenu=withInstall(Menu,{MenuItem,MenuItemGroup,SubMenu}),ElMenuItem=withNoopInstall(MenuItem),ElMenuItemGroup=withNoopInstall(MenuItemGroup),ElSubMenu=withNoopInstall(SubMenu),pageHeaderProps=buildProps({icon:{type:iconPropType,default:()=>back_default},title:String,content:{type:String,default:""}}),pageHeaderEmits={back:()=>!0},_hoisted_1$w=["aria-label"],__default__$N=defineComponent({name:"ElPageHeader"}),_sfc_main$11=defineComponent({...__default__$N,props:pageHeaderProps,emits:pageHeaderEmits,setup(xe,{emit:$e}){const Ie=useSlots(),{t:Fe}=useLocale(),Ue=useNamespace("page-header"),qe=computed(()=>[Ue.b(),{[Ue.m("has-breadcrumb")]:!!Ie.breadcrumb,[Ue.m("has-extra")]:!!Ie.extra,[Ue.is("contentful")]:!!Ie.default}]);function At(){$e("back")}return(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe))},[Dt.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("breadcrumb"))},[renderSlot(Dt.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("back")),role:"button",tabindex:"0",onClick:At},[Dt.icon||Dt.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":Dt.title||unref(Fe)("el.pageHeader.title"),class:normalizeClass(unref(Ue).e("icon"))},[renderSlot(Dt.$slots,"icon",{},()=>[Dt.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Dt.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$w)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("title"))},[renderSlot(Dt.$slots,"title",{},()=>[createTextVNode(toDisplayString(Dt.title||unref(Fe)("el.pageHeader.title")),1)])],2)],2),createVNode$1(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Dt.$slots,"content",{},()=>[createTextVNode(toDisplayString(Dt.content),1)])],2)],2),Dt.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("extra"))},[renderSlot(Dt.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),Dt.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).e("main"))},[renderSlot(Dt.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$1(_sfc_main$11,[["__file","page-header.vue"]]);const ElPageHeader=withInstall(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:xe=>xe instanceof MouseEvent},_hoisted_1$v=["disabled","aria-label","aria-disabled"],_hoisted_2$k={key:0},__default__$M=defineComponent({name:"ElPaginationPrev"}),_sfc_main$10=defineComponent({...__default__$M,props:paginationPrevProps,emits:paginationPrevEmits,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=computed(()=>$e.disabled||$e.currentPage<=1);return(Ue,qe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(Fe),"aria-label":Ue.prevText||unref(Ie)("el.pagination.prev"),"aria-disabled":unref(Fe),onClick:qe[0]||(qe[0]=At=>Ue.$emit("click",At))},[Ue.prevText?(openBlock(),createElementBlock("span",_hoisted_2$k,toDisplayString(Ue.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.prevIcon)))]),_:1}))],8,_hoisted_1$v))}});var Prev=_export_sfc$1(_sfc_main$10,[["__file","prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),_hoisted_1$u=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$L=defineComponent({name:"ElPaginationNext"}),_sfc_main$$=defineComponent({...__default__$L,props:paginationNextProps,emits:["click"],setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=computed(()=>$e.disabled||$e.currentPage===$e.pageCount||$e.pageCount===0);return(Ue,qe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(Fe),"aria-label":Ue.nextText||unref(Ie)("el.pagination.next"),"aria-disabled":unref(Fe),onClick:qe[0]||(qe[0]=At=>Ue.$emit("click",At))},[Ue.nextText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString(Ue.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.nextIcon)))]),_:1}))],8,_hoisted_1$u))}});var Next=_export_sfc$1(_sfc_main$$,[["__file","next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption$1(xe,$e){const Ie=inject(selectKey),Fe=inject(selectGroupKey,{disabled:!1}),Ue=computed(()=>Ie.props.multiple?hn(Ie.props.modelValue,xe.value):hn([Ie.props.modelValue],xe.value)),qe=computed(()=>{if(Ie.props.multiple){const _n=Ie.props.modelValue||[];return!Ue.value&&_n.length>=Ie.props.multipleLimit&&Ie.props.multipleLimit>0}else return!1}),At=computed(()=>xe.label||(isObject$8(xe.value)?"":xe.value)),Dt=computed(()=>xe.value||xe.label||""),Lt=computed(()=>xe.disabled||$e.groupDisabled||qe.value),jt=getCurrentInstance(),hn=(_n=[],wn)=>{if(isObject$8(xe.value)){const kn=Ie.props.valueKey;return _n&&_n.some(Cn=>toRaw(get$1(Cn,kn))===get$1(wn,kn))}else return _n&&_n.includes(wn)},vn=()=>{!xe.disabled&&!Fe.disabled&&(Ie.states.hoveringIndex=Ie.optionsArray.indexOf(jt.proxy))},bn=_n=>{const wn=new RegExp(escapeStringRegexp(_n),"i");$e.visible=wn.test(At.value)||xe.created};return watch(()=>At.value,()=>{!xe.created&&!Ie.props.remote&&Ie.setSelected()}),watch(()=>xe.value,(_n,wn)=>{const{remote:kn,valueKey:Cn}=Ie.props;if(isEqual$1(_n,wn)||(Ie.onOptionDestroy(wn,jt.proxy),Ie.onOptionCreate(jt.proxy)),!xe.created&&!kn){if(Cn&&isObject$8(_n)&&isObject$8(wn)&&_n[Cn]===wn[Cn])return;Ie.setSelected()}}),watch(()=>Fe.disabled,()=>{$e.groupDisabled=Fe.disabled},{immediate:!0}),{select:Ie,currentLabel:At,currentValue:Dt,itemSelected:Ue,isDisabled:Lt,hoverItem:vn,updateOption:bn}}const _sfc_main$_=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(xe){const $e=useNamespace("select"),Ie=useId(),Fe=computed(()=>[$e.be("dropdown","item"),$e.is("disabled",unref(Dt)),$e.is("selected",unref(At)),$e.is("hovering",unref(bn))]),Ue=reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:qe,itemSelected:At,isDisabled:Dt,select:Lt,hoverItem:jt,updateOption:hn}=useOption$1(xe,Ue),{visible:vn,hover:bn}=toRefs(Ue),_n=getCurrentInstance().proxy;Lt.onOptionCreate(_n),onBeforeUnmount(()=>{const kn=_n.value,{selected:Cn}=Lt.states,xn=(Lt.props.multiple?Cn:[Cn]).some(En=>En.value===_n.value);nextTick(()=>{Lt.states.cachedOptions.get(kn)===_n&&!xn&&Lt.states.cachedOptions.delete(kn)}),Lt.onOptionDestroy(kn,_n)});function wn(){xe.disabled!==!0&&Ue.groupDisabled!==!0&&Lt.handleOptionSelect(_n)}return{ns:$e,id:Ie,containerKls:Fe,currentLabel:qe,itemSelected:At,isDisabled:Dt,select:Lt,hoverItem:jt,updateOption:hn,visible:vn,hover:bn,selectOptionClick:wn,states:Ue}}}),_hoisted_1$t=["id","aria-disabled","aria-selected"];function _sfc_render$b(xe,$e,Ie,Fe,Ue,qe){return withDirectives((openBlock(),createElementBlock("li",{id:xe.id,class:normalizeClass(xe.containerKls),role:"option","aria-disabled":xe.isDisabled||void 0,"aria-selected":xe.itemSelected,onMouseenter:$e[0]||($e[0]=(...At)=>xe.hoverItem&&xe.hoverItem(...At)),onClick:$e[1]||($e[1]=withModifiers((...At)=>xe.selectOptionClick&&xe.selectOptionClick(...At),["stop"]))},[renderSlot(xe.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(xe.currentLabel),1)])],42,_hoisted_1$t)),[[vShow,xe.visible]])}var Option=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$b],["__file","option.vue"]]);const _sfc_main$Z=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const xe=inject(selectKey),$e=useNamespace("select"),Ie=computed(()=>xe.props.popperClass),Fe=computed(()=>xe.props.multiple),Ue=computed(()=>xe.props.fitInputWidth),qe=ref("");function At(){var Dt;qe.value=`${(Dt=xe.selectRef)==null?void 0:Dt.offsetWidth}px`}return onMounted(()=>{At(),useResizeObserver(xe.selectRef,At)}),{ns:$e,minWidth:qe,popperClass:Ie,isMultiple:Fe,isFitInputWidth:Ue}}});function _sfc_render$a(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b("dropdown"),xe.ns.is("multiple",xe.isMultiple),xe.popperClass]),style:normalizeStyle$1({[xe.isFitInputWidth?"width":"minWidth"]:xe.minWidth})},[xe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.be("dropdown","header"))},[renderSlot(xe.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(xe.$slots,"default"),xe.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.be("dropdown","footer"))},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu$1=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$a],["__file","select-dropdown.vue"]]);function useInput(xe){const $e=ref(!1);return{handleCompositionStart:()=>{$e.value=!0},handleCompositionUpdate:qe=>{const At=qe.target.value,Dt=At[At.length-1]||"";$e.value=!isKorean(Dt)},handleCompositionEnd:qe=>{$e.value&&($e.value=!1,isFunction$5(xe)&&xe(qe))}}}const MINIMUM_INPUT_WIDTH$1=11,useSelect$2=(xe,$e)=>{const{t:Ie}=useLocale(),Fe=useId(),Ue=useNamespace("select"),qe=useNamespace("input"),At=reactive({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:xe.multiple?[]:{},selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=ref(null),vn=ref(null),bn=ref(null),_n=ref(null),wn=ref(null),kn=ref(null),Cn=ref(null),Sn=ref(null),xn=ref(null),{wrapperRef:En,isFocused:Tn,handleFocus:An,handleBlur:$n}=useFocusController(vn,{afterFocus(){xe.automaticDropdown&&!Pn.value&&(Pn.value=!0,At.menuVisibleOnFocus=!0)},beforeBlur(Mr){var Or,yr;return((Or=jt.value)==null?void 0:Or.isFocusInsideContent(Mr))||((yr=hn.value)==null?void 0:yr.isFocusInsideContent(Mr))},afterBlur(){Pn.value=!1,At.menuVisibleOnFocus=!1}}),Pn=ref(!1),Nn=ref(),{form:Mn,formItem:In}=useFormItem(),{inputId:On}=useFormItemInputId(xe,{formItemContext:In}),{valueOnClear:Rn,isEmptyValue:Bn}=useEmptyValues(xe),Vn=computed(()=>xe.disabled||(Mn==null?void 0:Mn.disabled)),Ln=computed(()=>xe.multiple?isArray$6(xe.modelValue)&&xe.modelValue.length>0:!Bn(xe.modelValue)),Dn=computed(()=>xe.clearable&&!Vn.value&&At.inputHovering&&Ln.value),Hn=computed(()=>xe.remote&&xe.filterable&&!xe.remoteShowSuffix?"":xe.suffixIcon),Fn=computed(()=>Ue.is("reverse",Hn.value&&Pn.value)),zn=computed(()=>(In==null?void 0:In.validateState)||""),jn=computed(()=>ValidateComponentsMap[zn.value]),Gn=computed(()=>xe.remote?300:0),Wn=computed(()=>xe.loading?xe.loadingText||Ie("el.select.loading"):xe.remote&&!At.inputValue&&At.options.size===0?!1:xe.filterable&&At.inputValue&&At.options.size>0&&Xn.value===0?xe.noMatchText||Ie("el.select.noMatch"):At.options.size===0?xe.noDataText||Ie("el.select.noData"):null),Xn=computed(()=>er.value.filter(Mr=>Mr.visible).length),er=computed(()=>{const Mr=Array.from(At.options.values()),Or=[];return At.optionValues.forEach(yr=>{const so=Mr.findIndex($o=>$o.value===yr);so>-1&&Or.push(Mr[so])}),Or.length>=Mr.length?Or:Mr}),rr=computed(()=>Array.from(At.cachedOptions.values())),Jn=computed(()=>{const Mr=er.value.filter(Or=>!Or.created).some(Or=>Or.currentLabel===At.inputValue);return xe.filterable&&xe.allowCreate&&At.inputValue!==""&&!Mr}),Yn=()=>{xe.filterable&&isFunction$5(xe.filterMethod)||xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)||er.value.forEach(Mr=>{var Or;(Or=Mr.updateOption)==null||Or.call(Mr,At.inputValue)})},qn=useFormSize(),ar=computed(()=>["small"].includes(qn.value)?"small":"default"),tr=computed({get(){return Pn.value&&Wn.value!==!1},set(Mr){Pn.value=Mr}}),or=computed(()=>isArray$6(xe.modelValue)?xe.modelValue.length===0&&!At.inputValue:xe.filterable?!At.inputValue:!0),sr=computed(()=>{var Mr;const Or=(Mr=xe.placeholder)!=null?Mr:Ie("el.select.placeholder");return xe.multiple||!Ln.value?Or:At.selectedLabel});watch(()=>xe.modelValue,(Mr,Or)=>{xe.multiple&&xe.filterable&&!xe.reserveKeyword&&(At.inputValue="",Kn("")),nr(),!isEqual$1(Mr,Or)&&xe.validateEvent&&(In==null||In.validate("change").catch(yr=>void 0))},{flush:"post",deep:!0}),watch(()=>Pn.value,Mr=>{Mr?Kn(At.inputValue):(At.inputValue="",At.previousQuery=null,At.isBeforeHide=!0),$e("visible-change",Mr)}),watch(()=>At.options.entries(),()=>{var Mr;if(!isClient$1)return;const Or=((Mr=Dt.value)==null?void 0:Mr.querySelectorAll("input"))||[];(!xe.filterable&&!xe.defaultFirstOption&&!isUndefined(xe.modelValue)||!Array.from(Or).includes(document.activeElement))&&nr(),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Xn.value&&Zn()},{flush:"post"}),watch(()=>At.hoveringIndex,Mr=>{isNumber$1(Mr)&&Mr>-1?Nn.value=er.value[Mr]||{}:Nn.value={},er.value.forEach(Or=>{Or.hover=Nn.value===Or})}),watchEffect(()=>{At.isBeforeHide||Yn()});const Kn=Mr=>{At.previousQuery!==Mr&&(At.previousQuery=Mr,xe.filterable&&isFunction$5(xe.filterMethod)?xe.filterMethod(Mr):xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)&&xe.remoteMethod(Mr),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Xn.value?nextTick(Zn):nextTick(ir))},Zn=()=>{const Mr=er.value.filter(so=>so.visible&&!so.disabled&&!so.states.groupDisabled),Or=Mr.find(so=>so.created),yr=Mr[0];At.hoveringIndex=Br(er.value,Or||yr)},nr=()=>{if(xe.multiple)At.selectedLabel="";else{const Or=lr(xe.modelValue);At.selectedLabel=Or.currentLabel,At.selected=Or;return}const Mr=[];isArray$6(xe.modelValue)&&xe.modelValue.forEach(Or=>{Mr.push(lr(Or))}),At.selected=Mr},lr=Mr=>{let Or;const yr=toRawType(Mr).toLowerCase()==="object",so=toRawType(Mr).toLowerCase()==="null",$o=toRawType(Mr).toLowerCase()==="undefined";for(let po=At.cachedOptions.size-1;po>=0;po--){const ro=rr.value[po];if(yr?get$1(ro.value,xe.valueKey)===get$1(Mr,xe.valueKey):ro.value===Mr){Or={value:Mr,currentLabel:ro.currentLabel,get isDisabled(){return ro.isDisabled}};break}}if(Or)return Or;const xo=yr?Mr.label:!so&&!$o?Mr:"";return{value:Mr,currentLabel:xo}},ir=()=>{xe.multiple?At.hoveringIndex=er.value.findIndex(Mr=>At.selected.some(Or=>ko(Or)===ko(Mr))):At.hoveringIndex=er.value.findIndex(Mr=>ko(Mr)===ko(At.selected))},kr=()=>{At.selectionWidth=Lt.value.getBoundingClientRect().width},Cr=()=>{At.calculatorWidth=bn.value.getBoundingClientRect().width},Er=()=>{At.collapseItemWidth=Sn.value.getBoundingClientRect().width},dr=()=>{var Mr,Or;(Or=(Mr=jt.value)==null?void 0:Mr.updatePopper)==null||Or.call(Mr)},br=()=>{var Mr,Or;(Or=(Mr=hn.value)==null?void 0:Mr.updatePopper)==null||Or.call(Mr)},_r=()=>{At.inputValue.length>0&&!Pn.value&&(Pn.value=!0),Kn(At.inputValue)},Pr=Mr=>{if(At.inputValue=Mr.target.value,xe.remote)gr();else return _r()},gr=debounce(()=>{_r()},Gn.value),xr=Mr=>{isEqual$1(xe.modelValue,Mr)||$e(CHANGE_EVENT,Mr)},Rr=Mr=>findLastIndex(Mr,Or=>!At.disabledOptions.has(Or)),Hr=Mr=>{if(xe.multiple&&Mr.code!==EVENT_CODE.delete&&Mr.target.value.length<=0){const Or=xe.modelValue.slice(),yr=Rr(Or);if(yr<0)return;const so=Or[yr];Or.splice(yr,1),$e(UPDATE_MODEL_EVENT,Or),xr(Or),$e("remove-tag",so)}},Jr=(Mr,Or)=>{const yr=At.selected.indexOf(Or);if(yr>-1&&!Vn.value){const so=xe.modelValue.slice();so.splice(yr,1),$e(UPDATE_MODEL_EVENT,so),xr(so),$e("remove-tag",Or.value)}Mr.stopPropagation(),Kr()},Gr=Mr=>{Mr.stopPropagation();const Or=xe.multiple?[]:Rn.value;if(xe.multiple)for(const yr of At.selected)yr.isDisabled&&Or.push(yr.value);$e(UPDATE_MODEL_EVENT,Or),xr(Or),At.hoveringIndex=-1,Pn.value=!1,$e("clear"),Kr()},$r=Mr=>{if(xe.multiple){const Or=(xe.modelValue||[]).slice(),yr=Br(Or,Mr.value);yr>-1?Or.splice(yr,1):(xe.multipleLimit<=0||Or.length{Tr(Mr)})},Br=(Mr=[],Or)=>{if(!isObject$8(Or))return Mr.indexOf(Or);const yr=xe.valueKey;let so=-1;return Mr.some(($o,xo)=>toRaw(get$1($o,yr))===get$1(Or,yr)?(so=xo,!0):!1),so},Tr=Mr=>{var Or,yr,so,$o,xo;const ho=isArray$6(Mr)?Mr[0]:Mr;let po=null;if(ho!=null&&ho.value){const ro=er.value.filter(Yr=>Yr.value===ho.value);ro.length>0&&(po=ro[0].$el)}if(jt.value&&po){const ro=($o=(so=(yr=(Or=jt.value)==null?void 0:Or.popperRef)==null?void 0:yr.contentRef)==null?void 0:so.querySelector)==null?void 0:$o.call(so,`.${Ue.be("dropdown","wrap")}`);ro&&scrollIntoView(ro,po)}(xo=xn.value)==null||xo.handleScroll()},cr=Mr=>{At.options.set(Mr.value,Mr),At.cachedOptions.set(Mr.value,Mr),Mr.disabled&&At.disabledOptions.set(Mr.value,Mr)},Sr=(Mr,Or)=>{At.options.get(Mr)===Or&&At.options.delete(Mr)},{handleCompositionStart:Dr,handleCompositionUpdate:mr,handleCompositionEnd:Lr}=useInput(Mr=>Pr(Mr)),zr=computed(()=>{var Mr,Or;return(Or=(Mr=jt.value)==null?void 0:Mr.popperRef)==null?void 0:Or.contentRef}),Vr=()=>{At.isBeforeHide=!1,nextTick(()=>Tr(At.selected))},Kr=()=>{var Mr;(Mr=vn.value)==null||Mr.focus()},qr=()=>{uo()},Ur=Mr=>{Gr(Mr)},uo=Mr=>{if(Pn.value=!1,Tn.value){const Or=new FocusEvent("focus",Mr);nextTick(()=>$n(Or))}},vo=()=>{At.inputValue.length>0?At.inputValue="":Pn.value=!1},_o=()=>{Vn.value||(At.menuVisibleOnFocus?At.menuVisibleOnFocus=!1:Pn.value=!Pn.value)},Ao=()=>{Pn.value?er.value[At.hoveringIndex]&&$r(er.value[At.hoveringIndex]):_o()},ko=Mr=>isObject$8(Mr.value)?get$1(Mr.value,xe.valueKey):Mr.value,Do=computed(()=>er.value.filter(Mr=>Mr.visible).every(Mr=>Mr.disabled)),Ro=computed(()=>xe.multiple?xe.collapseTags?At.selected.slice(0,xe.maxCollapseTags):At.selected:[]),Ko=computed(()=>xe.multiple?xe.collapseTags?At.selected.slice(xe.maxCollapseTags):[]:[]),qo=Mr=>{if(!Pn.value){Pn.value=!0;return}if(!(At.options.size===0||Xn.value===0)&&!Do.value){Mr==="next"?(At.hoveringIndex++,At.hoveringIndex===At.options.size&&(At.hoveringIndex=0)):Mr==="prev"&&(At.hoveringIndex--,At.hoveringIndex<0&&(At.hoveringIndex=At.options.size-1));const Or=er.value[At.hoveringIndex];(Or.disabled===!0||Or.states.groupDisabled===!0||!Or.visible)&&qo(Mr),nextTick(()=>Tr(Nn.value))}},To=()=>{if(!Lt.value)return 0;const Mr=window.getComputedStyle(Lt.value);return Number.parseFloat(Mr.gap||"6px")},So=computed(()=>{const Mr=To();return{maxWidth:`${Sn.value&&xe.maxCollapseTags===1?At.selectionWidth-At.collapseItemWidth-Mr:At.selectionWidth}px`}}),yo=computed(()=>({maxWidth:`${At.selectionWidth}px`})),Zr=computed(()=>({width:`${Math.max(At.calculatorWidth,MINIMUM_INPUT_WIDTH$1)}px`}));return xe.multiple&&!isArray$6(xe.modelValue)&&$e(UPDATE_MODEL_EVENT,[]),!xe.multiple&&isArray$6(xe.modelValue)&&$e(UPDATE_MODEL_EVENT,""),useResizeObserver(Lt,kr),useResizeObserver(bn,Cr),useResizeObserver(kn,dr),useResizeObserver(En,dr),useResizeObserver(Cn,br),useResizeObserver(Sn,Er),onMounted(()=>{nr()}),{inputId:On,contentId:Fe,nsSelect:Ue,nsInput:qe,states:At,isFocused:Tn,expanded:Pn,optionsArray:er,hoverOption:Nn,selectSize:qn,filteredOptionsCount:Xn,resetCalculatorWidth:Cr,updateTooltip:dr,updateTagTooltip:br,debouncedOnInputChange:gr,onInput:Pr,deletePrevTag:Hr,deleteTag:Jr,deleteSelected:Gr,handleOptionSelect:$r,scrollToOption:Tr,hasModelValue:Ln,shouldShowPlaceholder:or,currentPlaceholder:sr,showClose:Dn,iconComponent:Hn,iconReverse:Fn,validateState:zn,validateIcon:jn,showNewOption:Jn,updateOptions:Yn,collapseTagSize:ar,setSelected:nr,selectDisabled:Vn,emptyText:Wn,handleCompositionStart:Dr,handleCompositionUpdate:mr,handleCompositionEnd:Lr,onOptionCreate:cr,onOptionDestroy:Sr,handleMenuEnter:Vr,handleFocus:An,focus:Kr,blur:qr,handleBlur:$n,handleClearClick:Ur,handleClickOutside:uo,handleEsc:vo,toggleMenu:_o,selectOption:Ao,getValueKey:ko,navigateOptions:qo,dropdownMenuVisible:tr,showTagList:Ro,collapseTagList:Ko,tagStyle:So,collapseTagStyle:yo,inputStyle:Zr,popperRef:zr,inputRef:vn,tooltipRef:jt,tagTooltipRef:hn,calculatorRef:bn,prefixRef:_n,suffixRef:wn,selectRef:Dt,wrapperRef:En,selectionRef:Lt,scrollbarRef:xn,menuRef:kn,tagMenuRef:Cn,collapseItemRef:Sn}};var ElOptions=defineComponent({name:"ElOptions",setup(xe,{slots:$e}){const Ie=inject(selectKey);let Fe=[];return()=>{var Ue,qe;const At=(Ue=$e.default)==null?void 0:Ue.call($e),Dt=[];function Lt(jt){isArray$6(jt)&&jt.forEach(hn=>{var vn,bn,_n,wn;const kn=(vn=(hn==null?void 0:hn.type)||{})==null?void 0:vn.name;kn==="ElOptionGroup"?Lt(!isString$4(hn.children)&&!isArray$6(hn.children)&&isFunction$5((bn=hn.children)==null?void 0:bn.default)?(_n=hn.children)==null?void 0:_n.default():hn.children):kn==="ElOption"?Dt.push((wn=hn.props)==null?void 0:wn.value):isArray$6(hn.children)&&Lt(hn.children)})}return At.length&&Lt((qe=At[0])==null?void 0:qe.children),isEqual$1(Dt,Fe)||(Fe=Dt,Ie&&(Ie.states.optionValues=Dt)),At}}});const SelectProps$1=buildProps({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:useSizeProp,effect:{type:definePropType(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),COMPONENT_NAME$9="ElSelect",_sfc_main$Y=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElInput,ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps$1,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(xe,{emit:$e}){const Ie=useSelect$2(xe,$e);return provide(selectKey,reactive({props:xe,states:Ie.states,optionsArray:Ie.optionsArray,handleOptionSelect:Ie.handleOptionSelect,onOptionCreate:Ie.onOptionCreate,onOptionDestroy:Ie.onOptionDestroy,selectRef:Ie.selectRef,setSelected:Ie.setSelected})),{...Ie}}}),_hoisted_1$s=["id","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],_hoisted_2$i=["textContent"],_hoisted_3$9={key:1};function _sfc_render$9(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tag"),Dt=resolveComponent("el-tooltip"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-option"),hn=resolveComponent("el-options"),vn=resolveComponent("el-scrollbar"),bn=resolveComponent("el-select-menu"),_n=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([xe.nsSelect.b(),xe.nsSelect.m(xe.selectSize)]),onMouseenter:$e[16]||($e[16]=wn=>xe.states.inputHovering=!0),onMouseleave:$e[17]||($e[17]=wn=>xe.states.inputHovering=!1),onClick:$e[18]||($e[18]=withModifiers((...wn)=>xe.toggleMenu&&xe.toggleMenu(...wn),["prevent","stop"]))},[createVNode$1(Dt,{ref:"tooltipRef",visible:xe.dropdownMenuVisible,placement:xe.placement,teleported:xe.teleported,"popper-class":[xe.nsSelect.e("popper"),xe.popperClass],"popper-options":xe.popperOptions,"fallback-placements":xe.fallbackPlacements,effect:xe.effect,pure:"",trigger:"click",transition:`${xe.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:xe.persistent,onBeforeShow:xe.handleMenuEnter,onHide:$e[15]||($e[15]=wn=>xe.states.isBeforeHide=!1)},{default:withCtx(()=>{var wn;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([xe.nsSelect.e("wrapper"),xe.nsSelect.is("focused",xe.isFocused),xe.nsSelect.is("hovering",xe.states.inputHovering),xe.nsSelect.is("filterable",xe.filterable),xe.nsSelect.is("disabled",xe.selectDisabled)])},[xe.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(xe.nsSelect.e("prefix"))},[renderSlot(xe.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([xe.nsSelect.e("selection"),xe.nsSelect.is("near",xe.multiple&&!xe.$slots.prefix&&!!xe.states.selected.length)])},[xe.multiple?renderSlot(xe.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.showTagList,kn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(kn),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!xe.selectDisabled&&!kn.isDisabled,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.tagStyle),onClose:Cn=>xe.deleteTag(Cn,kn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:kn.currentLabel,value:kn.value},()=>[createTextVNode(toDisplayString(kn.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),xe.collapseTags&&xe.states.selected.length>xe.maxCollapseTags?(openBlock(),createBlock(Dt,{key:0,ref:"tagTooltipRef",disabled:xe.dropdownMenuVisible||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:xe.effect,placement:"bottom",teleported:xe.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!1,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.collapseTagStyle)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))}," + "+toDisplayString(xe.states.selected.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(xe.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.collapseTagList,kn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(kn),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{class:"in-tooltip",closable:!xe.selectDisabled&&!kn.isDisabled,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",onClose:Cn=>xe.deleteTag(Cn,kn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:kn.currentLabel,value:kn.value},()=>[createTextVNode(toDisplayString(kn.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),xe.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("input-wrapper"),xe.nsSelect.is("hidden",!xe.filterable)])},[withDirectives(createBaseVNode("input",{id:xe.inputId,ref:"inputRef","onUpdate:modelValue":$e[0]||($e[0]=kn=>xe.states.inputValue=kn),type:"text",class:normalizeClass([xe.nsSelect.e("input"),xe.nsSelect.is(xe.selectSize)]),disabled:xe.selectDisabled,autocomplete:xe.autocomplete,style:normalizeStyle$1(xe.inputStyle),role:"combobox",readonly:!xe.filterable,spellcheck:"false","aria-activedescendant":((wn=xe.hoverOption)==null?void 0:wn.id)||"","aria-controls":xe.contentId,"aria-expanded":xe.dropdownMenuVisible,"aria-label":xe.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:$e[1]||($e[1]=(...kn)=>xe.handleFocus&&xe.handleFocus(...kn)),onBlur:$e[2]||($e[2]=(...kn)=>xe.handleBlur&&xe.handleBlur(...kn)),onKeydown:[$e[3]||($e[3]=withKeys(withModifiers(kn=>xe.navigateOptions("next"),["stop","prevent"]),["down"])),$e[4]||($e[4]=withKeys(withModifiers(kn=>xe.navigateOptions("prev"),["stop","prevent"]),["up"])),$e[5]||($e[5]=withKeys(withModifiers((...kn)=>xe.handleEsc&&xe.handleEsc(...kn),["stop","prevent"]),["esc"])),$e[6]||($e[6]=withKeys(withModifiers((...kn)=>xe.selectOption&&xe.selectOption(...kn),["stop","prevent"]),["enter"])),$e[7]||($e[7]=withKeys(withModifiers((...kn)=>xe.deletePrevTag&&xe.deletePrevTag(...kn),["stop"]),["delete"]))],onCompositionstart:$e[8]||($e[8]=(...kn)=>xe.handleCompositionStart&&xe.handleCompositionStart(...kn)),onCompositionupdate:$e[9]||($e[9]=(...kn)=>xe.handleCompositionUpdate&&xe.handleCompositionUpdate(...kn)),onCompositionend:$e[10]||($e[10]=(...kn)=>xe.handleCompositionEnd&&xe.handleCompositionEnd(...kn)),onInput:$e[11]||($e[11]=(...kn)=>xe.onInput&&xe.onInput(...kn)),onClick:$e[12]||($e[12]=withModifiers((...kn)=>xe.toggleMenu&&xe.toggleMenu(...kn),["stop"]))},null,46,_hoisted_1$s),[[vModelText,xe.states.inputValue]]),xe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(xe.nsSelect.e("input-calculator")),textContent:toDisplayString(xe.states.inputValue)},null,10,_hoisted_2$i)):createCommentVNode("v-if",!0)],2)),xe.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("placeholder"),xe.nsSelect.is("transparent",!xe.hasModelValue||xe.expanded&&!xe.states.inputValue)])},[xe.hasModelValue?renderSlot(xe.$slots,"label",{key:0,label:xe.currentPlaceholder,value:xe.modelValue},()=>[createBaseVNode("span",null,toDisplayString(xe.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$9,toDisplayString(xe.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(xe.nsSelect.e("suffix"))},[xe.iconComponent&&!xe.showClose?(openBlock(),createBlock(Lt,{key:0,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsSelect.e("icon"),xe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),xe.showClose&&xe.clearIcon?(openBlock(),createBlock(Lt,{key:1,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsSelect.e("icon")]),onClick:xe.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.validateState&&xe.validateIcon?(openBlock(),createBlock(Lt,{key:2,class:normalizeClass([xe.nsInput.e("icon"),xe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]}),content:withCtx(()=>[createVNode$1(bn,{ref:"menuRef"},{default:withCtx(()=>[xe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.nsSelect.be("dropdown","header")),onClick:$e[13]||($e[13]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"header")],2)):createCommentVNode("v-if",!0),withDirectives(createVNode$1(vn,{id:xe.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":xe.nsSelect.be("dropdown","wrap"),"view-class":xe.nsSelect.be("dropdown","list"),class:normalizeClass([xe.nsSelect.is("empty",xe.filteredOptionsCount===0)]),role:"listbox","aria-label":xe.ariaLabel,"aria-orientation":"vertical"},{default:withCtx(()=>[xe.showNewOption?(openBlock(),createBlock(jt,{key:0,value:xe.states.inputValue,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode$1(hn,null,{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[vShow,xe.states.options.size>0&&!xe.loading]]),xe.$slots.loading&&xe.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.nsSelect.be("dropdown","loading"))},[renderSlot(xe.$slots,"loading")],2)):xe.loading||xe.filteredOptionsCount===0?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(xe.nsSelect.be("dropdown","empty"))},[renderSlot(xe.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(xe.emptyText),1)])],2)):createCommentVNode("v-if",!0),xe.$slots.footer?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(xe.nsSelect.be("dropdown","footer")),onClick:$e[14]||($e[14]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow"])],34)),[[_n,xe.handleClickOutside,xe.popperRef]])}var Select$1=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$9],["__file","select.vue"]]);const _sfc_main$X=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(xe){const $e=useNamespace("select"),Ie=ref(null),Fe=getCurrentInstance(),Ue=ref([]);provide(selectGroupKey,reactive({...toRefs(xe)}));const qe=computed(()=>Ue.value.some(jt=>jt.visible===!0)),At=jt=>{var hn,vn;return((hn=jt.type)==null?void 0:hn.name)==="ElOption"&&!!((vn=jt.component)!=null&&vn.proxy)},Dt=jt=>{const hn=castArray$1(jt),vn=[];return hn.forEach(bn=>{var _n,wn;At(bn)?vn.push(bn.component.proxy):(_n=bn.children)!=null&&_n.length?vn.push(...Dt(bn.children)):(wn=bn.component)!=null&&wn.subTree&&vn.push(...Dt(bn.component.subTree))}),vn},Lt=()=>{Ue.value=Dt(Fe.subTree)};return onMounted(()=>{Lt()}),useMutationObserver(Ie,Lt,{attributes:!0,subtree:!0,childList:!0}),{groupRef:Ie,visible:qe,ns:$e}}});function _sfc_render$8(xe,$e,Ie,Fe,Ue,qe){return withDirectives((openBlock(),createElementBlock("ul",{ref:"groupRef",class:normalizeClass(xe.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(xe.ns.be("group","title"))},toDisplayString(xe.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(xe.ns.b("group"))},[renderSlot(xe.$slots,"default")],2)])],2)),[[vShow,xe.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$8],["__file","option-group.vue"]]);const ElSelect=withInstall(Select$1,{Option,OptionGroup}),ElOption=withNoopInstall(Option),ElOptionGroup=withNoopInstall(OptionGroup),usePagination=()=>inject(elPaginationKey,{}),paginationSizesProps=buildProps({pageSize:{type:Number,required:!0},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:componentSizes}}),__default__$K=defineComponent({name:"ElPaginationSizes"}),_sfc_main$W=defineComponent({...__default__$K,props:paginationSizesProps,emits:["page-size-change"],setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("pagination"),qe=usePagination(),At=ref(Ie.pageSize);watch(()=>Ie.pageSizes,(jt,hn)=>{if(!isEqual$1(jt,hn)&&Array.isArray(jt)){const vn=jt.includes(Ie.pageSize)?Ie.pageSize:Ie.pageSizes[0];$e("page-size-change",vn)}}),watch(()=>Ie.pageSize,jt=>{At.value=jt});const Dt=computed(()=>Ie.pageSizes);function Lt(jt){var hn;jt!==At.value&&(At.value=jt,(hn=qe.handleSizeChange)==null||hn.call(qe,Number(jt)))}return(jt,hn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue).e("sizes"))},[createVNode$1(unref(ElSelect),{"model-value":At.value,disabled:jt.disabled,"popper-class":jt.popperClass,size:jt.size,teleported:jt.teleported,"validate-event":!1,onChange:Lt},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Dt),vn=>(openBlock(),createBlock(unref(ElOption),{key:vn,value:vn,label:vn+unref(Fe)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var Sizes=_export_sfc$1(_sfc_main$W,[["__file","sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$r=["disabled"],__default__$J=defineComponent({name:"ElPaginationJumper"}),_sfc_main$V=defineComponent({...__default__$J,props:paginationJumperProps,setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("pagination"),{pageCount:Fe,disabled:Ue,currentPage:qe,changeEvent:At}=usePagination(),Dt=ref(),Lt=computed(()=>{var vn;return(vn=Dt.value)!=null?vn:qe==null?void 0:qe.value});function jt(vn){Dt.value=vn?+vn:""}function hn(vn){vn=Math.trunc(+vn),At==null||At(vn),Dt.value=void 0}return(vn,bn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ie).e("jump")),disabled:unref(Ue)},[createBaseVNode("span",{class:normalizeClass([unref(Ie).e("goto")])},toDisplayString(unref($e)("el.pagination.goto")),3),createVNode$1(unref(ElInput),{size:vn.size,class:normalizeClass([unref(Ie).e("editor"),unref(Ie).is("in-pagination")]),min:1,max:unref(Fe),disabled:unref(Ue),"model-value":unref(Lt),"validate-event":!1,"aria-label":unref($e)("el.pagination.page"),type:"number","onUpdate:modelValue":jt,onChange:hn},null,8,["size","class","max","disabled","model-value","aria-label"]),createBaseVNode("span",{class:normalizeClass([unref(Ie).e("classifier")])},toDisplayString(unref($e)("el.pagination.pageClassifier")),3)],10,_hoisted_1$r))}});var Jumper=_export_sfc$1(_sfc_main$V,[["__file","jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$q=["disabled"],__default__$I=defineComponent({name:"ElPaginationTotal"}),_sfc_main$U=defineComponent({...__default__$I,props:paginationTotalProps,setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("pagination"),{disabled:Fe}=usePagination();return(Ue,qe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ie).e("total")),disabled:unref(Fe)},toDisplayString(unref($e)("el.pagination.total",{total:Ue.total})),11,_hoisted_1$q))}});var Total=_export_sfc$1(_sfc_main$U,[["__file","total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$p=["onKeyup"],_hoisted_2$h=["aria-current","aria-label","tabindex"],_hoisted_3$8=["tabindex","aria-label"],_hoisted_4$5=["aria-current","aria-label","tabindex"],_hoisted_5$4=["tabindex","aria-label"],_hoisted_6$2=["aria-current","aria-label","tabindex"],__default__$H=defineComponent({name:"ElPaginationPager"}),_sfc_main$T=defineComponent({...__default__$H,props:paginationPagerProps,emits:["change"],setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("pager"),Ue=useNamespace("icon"),{t:qe}=useLocale(),At=ref(!1),Dt=ref(!1),Lt=ref(!1),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=computed(()=>{const Tn=Ie.pagerCount,An=(Tn-1)/2,$n=Number(Ie.currentPage),Pn=Number(Ie.pageCount);let Nn=!1,Mn=!1;Pn>Tn&&($n>Tn-An&&(Nn=!0),$n["more","btn-quickprev",Ue.b(),Fe.is("disabled",Ie.disabled)]),wn=computed(()=>["more","btn-quicknext",Ue.b(),Fe.is("disabled",Ie.disabled)]),kn=computed(()=>Ie.disabled?-1:0);watchEffect(()=>{const Tn=(Ie.pagerCount-1)/2;At.value=!1,Dt.value=!1,Ie.pageCount>Ie.pagerCount&&(Ie.currentPage>Ie.pagerCount-Tn&&(At.value=!0),Ie.currentPagePn&&($n=Pn)),$n!==Nn&&$e("change",$n)}return(Tn,An)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(Fe).b()),onClick:En,onKeyup:withKeys(xn,["enter"])},[Tn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===1),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===1,"aria-label":unref(qe)("el.pagination.currentPage",{pager:1}),tabindex:unref(kn)}," 1 ",10,_hoisted_2$h)):createCommentVNode("v-if",!0),At.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(_n)),tabindex:unref(kn),"aria-label":unref(qe)("el.pagination.prevPages",{pager:Tn.pagerCount-2}),onMouseenter:An[0]||(An[0]=$n=>Cn(!0)),onMouseleave:An[1]||(An[1]=$n=>Lt.value=!1),onFocus:An[2]||(An[2]=$n=>Sn(!0)),onBlur:An[3]||(An[3]=$n=>hn.value=!1)},[(Lt.value||hn.value)&&!Tn.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$8)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),$n=>(openBlock(),createElementBlock("li",{key:$n,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===$n),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===$n,"aria-label":unref(qe)("el.pagination.currentPage",{pager:$n}),tabindex:unref(kn)},toDisplayString($n),11,_hoisted_4$5))),128)),Dt.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(wn)),tabindex:unref(kn),"aria-label":unref(qe)("el.pagination.nextPages",{pager:Tn.pagerCount-2}),onMouseenter:An[4]||(An[4]=$n=>Cn()),onMouseleave:An[5]||(An[5]=$n=>jt.value=!1),onFocus:An[6]||(An[6]=$n=>Sn()),onBlur:An[7]||(An[7]=$n=>vn.value=!1)},[(jt.value||vn.value)&&!Tn.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$4)):createCommentVNode("v-if",!0),Tn.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===Tn.pageCount),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===Tn.pageCount,"aria-label":unref(qe)("el.pagination.currentPage",{pager:Tn.pageCount}),tabindex:unref(kn)},toDisplayString(Tn.pageCount),11,_hoisted_6$2)):createCommentVNode("v-if",!0)],42,_hoisted_1$p))}});var Pager=_export_sfc$1(_sfc_main$T,[["__file","pager.vue"]]);const isAbsent=xe=>typeof xe!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:xe=>isNumber$1(xe)&&Math.trunc(xe)===xe&&xe>4&&xe<22&&xe%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":xe=>isNumber$1(xe),"update:page-size":xe=>isNumber$1(xe),"size-change":xe=>isNumber$1(xe),change:(xe,$e)=>isNumber$1(xe)&&isNumber$1($e),"current-change":xe=>isNumber$1(xe),"prev-click":xe=>isNumber$1(xe),"next-click":xe=>isNumber$1(xe)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(xe,{emit:$e,slots:Ie}){const{t:Fe}=useLocale(),Ue=useNamespace("pagination"),qe=getCurrentInstance().vnode.props||{},At="onUpdate:currentPage"in qe||"onUpdate:current-page"in qe||"onCurrentChange"in qe,Dt="onUpdate:pageSize"in qe||"onUpdate:page-size"in qe||"onSizeChange"in qe,Lt=computed(()=>{if(isAbsent(xe.total)&&isAbsent(xe.pageCount)||!isAbsent(xe.currentPage)&&!At)return!1;if(xe.layout.includes("sizes")){if(isAbsent(xe.pageCount)){if(!isAbsent(xe.total)&&!isAbsent(xe.pageSize)&&!Dt)return!1}else if(!Dt)return!1}return!0}),jt=ref(isAbsent(xe.defaultPageSize)?10:xe.defaultPageSize),hn=ref(isAbsent(xe.defaultCurrentPage)?1:xe.defaultCurrentPage),vn=computed({get(){return isAbsent(xe.pageSize)?jt.value:xe.pageSize},set(En){isAbsent(xe.pageSize)&&(jt.value=En),Dt&&($e("update:page-size",En),$e("size-change",En))}}),bn=computed(()=>{let En=0;return isAbsent(xe.pageCount)?isAbsent(xe.total)||(En=Math.max(1,Math.ceil(xe.total/vn.value))):En=xe.pageCount,En}),_n=computed({get(){return isAbsent(xe.currentPage)?hn.value:xe.currentPage},set(En){let Tn=En;En<1?Tn=1:En>bn.value&&(Tn=bn.value),isAbsent(xe.currentPage)&&(hn.value=Tn),At&&($e("update:current-page",Tn),$e("current-change",Tn))}});watch(bn,En=>{_n.value>En&&(_n.value=En)}),watch([_n,vn],En=>{$e("change",...En)},{flush:"post"});function wn(En){_n.value=En}function kn(En){vn.value=En;const Tn=bn.value;_n.value>Tn&&(_n.value=Tn)}function Cn(){xe.disabled||(_n.value-=1,$e("prev-click",_n.value))}function Sn(){xe.disabled||(_n.value+=1,$e("next-click",_n.value))}function xn(En,Tn){En&&(En.props||(En.props={}),En.props.class=[En.props.class,Tn].join(" "))}return provide(elPaginationKey,{pageCount:bn,disabled:computed(()=>xe.disabled),currentPage:_n,changeEvent:wn,handleSizeChange:kn}),()=>{var En,Tn;if(!Lt.value)return Fe("el.pagination.deprecationWarning"),null;if(!xe.layout||xe.hideOnSinglePage&&bn.value<=1)return null;const An=[],$n=[],Pn=h$5("div",{class:Ue.e("rightwrapper")},$n),Nn={prev:h$5(Prev,{disabled:xe.disabled,currentPage:_n.value,prevText:xe.prevText,prevIcon:xe.prevIcon,onClick:Cn}),jumper:h$5(Jumper,{size:xe.small?"small":"default"}),pager:h$5(Pager,{currentPage:_n.value,pageCount:bn.value,pagerCount:xe.pagerCount,onChange:wn,disabled:xe.disabled}),next:h$5(Next,{disabled:xe.disabled,currentPage:_n.value,pageCount:bn.value,nextText:xe.nextText,nextIcon:xe.nextIcon,onClick:Sn}),sizes:h$5(Sizes,{pageSize:vn.value,pageSizes:xe.pageSizes,popperClass:xe.popperClass,disabled:xe.disabled,teleported:xe.teleported,size:xe.small?"small":"default"}),slot:(Tn=(En=Ie==null?void 0:Ie.default)==null?void 0:En.call(Ie))!=null?Tn:null,total:h$5(Total,{total:isAbsent(xe.total)?0:xe.total})},Mn=xe.layout.split(",").map(On=>On.trim());let In=!1;return Mn.forEach(On=>{if(On==="->"){In=!0;return}In?$n.push(Nn[On]):An.push(Nn[On])}),xn(An[0],Ue.is("first")),xn(An[An.length-1],Ue.is("last")),In&&$n.length>0&&(xn($n[0],Ue.is("first")),xn($n[$n.length-1],Ue.is("last")),An.push(Pn)),h$5("div",{class:[Ue.b(),Ue.is("background",xe.background),{[Ue.m("small")]:xe.small}]},An)}}});const ElPagination=withInstall(Pagination),popconfirmProps=buildProps({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:buttonTypes,default:"primary"},cancelButtonType:{type:String,values:buttonTypes,default:"text"},icon:{type:iconPropType,default:()=>question_filled_default},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:useTooltipContentProps.teleported,persistent:useTooltipContentProps.persistent,width:{type:[String,Number],default:150}}),popconfirmEmits={confirm:xe=>xe instanceof MouseEvent,cancel:xe=>xe instanceof MouseEvent},__default__$G=defineComponent({name:"ElPopconfirm"}),_sfc_main$S=defineComponent({...__default__$G,props:popconfirmProps,emits:popconfirmEmits,setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("popconfirm"),qe=ref(),At=()=>{var bn,_n;(_n=(bn=qe.value)==null?void 0:bn.onClose)==null||_n.call(bn)},Dt=computed(()=>({width:addUnit(Ie.width)})),Lt=bn=>{$e("confirm",bn),At()},jt=bn=>{$e("cancel",bn),At()},hn=computed(()=>Ie.confirmButtonText||Fe("el.popconfirm.confirmButtonText")),vn=computed(()=>Ie.cancelButtonText||Fe("el.popconfirm.cancelButtonText"));return(bn,_n)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:qe,trigger:"click",effect:"light"},bn.$attrs,{"popper-class":`${unref(Ue).namespace.value}-popover`,"popper-style":unref(Dt),teleported:bn.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":bn.hideAfter,persistent:bn.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("main"))},[!bn.hideIcon&&bn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("icon")),style:normalizeStyle$1({color:bn.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bn.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString(bn.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("action"))},[createVNode$1(unref(ElButton),{size:"small",type:bn.cancelButtonType==="text"?"":bn.cancelButtonType,text:bn.cancelButtonType==="text",onClick:jt},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)),1)]),_:1},8,["type","text"]),createVNode$1(unref(ElButton),{size:"small",type:bn.confirmButtonType==="text"?"":bn.confirmButtonType,text:bn.confirmButtonType==="text",onClick:Lt},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(hn)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[bn.$slots.reference?renderSlot(bn.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc$1(_sfc_main$S,[["__file","popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,placement:dropdownProps.placement,disabled:useTooltipTriggerProps.disabled,visible:useTooltipContentProps.visible,transition:useTooltipContentProps.transition,popperOptions:dropdownProps.popperOptions,tabindex:dropdownProps.tabindex,content:useTooltipContentProps.content,popperStyle:useTooltipContentProps.popperStyle,popperClass:useTooltipContentProps.popperClass,enterable:{...useTooltipContentProps.enterable,default:!0},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),popoverEmits={"update:visible":xe=>isBoolean(xe),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$F=defineComponent({name:"ElPopover"}),_sfc_main$R=defineComponent({...__default__$F,props:popoverProps,emits:popoverEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=computed(()=>Fe[updateEventKeyRaw]),qe=useNamespace("popover"),At=ref(),Dt=computed(()=>{var Cn;return(Cn=unref(At))==null?void 0:Cn.popperRef}),Lt=computed(()=>[{width:addUnit(Fe.width)},Fe.popperStyle]),jt=computed(()=>[qe.b(),Fe.popperClass,{[qe.m("plain")]:!!Fe.content}]),hn=computed(()=>Fe.transition===`${qe.namespace.value}-fade-in-linear`),vn=()=>{var Cn;(Cn=At.value)==null||Cn.hide()},bn=()=>{Ie("before-enter")},_n=()=>{Ie("before-leave")},wn=()=>{Ie("after-enter")},kn=()=>{Ie("update:visible",!1),Ie("after-leave")};return $e({popperRef:Dt,hide:vn}),(Cn,Sn)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:At},Cn.$attrs,{trigger:Cn.trigger,placement:Cn.placement,disabled:Cn.disabled,visible:Cn.visible,transition:Cn.transition,"popper-options":Cn.popperOptions,tabindex:Cn.tabindex,content:Cn.content,offset:Cn.offset,"show-after":Cn.showAfter,"hide-after":Cn.hideAfter,"auto-close":Cn.autoClose,"show-arrow":Cn.showArrow,"aria-label":Cn.title,effect:Cn.effect,enterable:Cn.enterable,"popper-class":unref(jt),"popper-style":unref(Lt),teleported:Cn.teleported,persistent:Cn.persistent,"gpu-acceleration":unref(hn),"onUpdate:visible":unref(Ue),onBeforeShow:bn,onBeforeHide:_n,onShow:wn,onHide:kn}),{content:withCtx(()=>[Cn.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("title")),role:"title"},toDisplayString(Cn.title),3)):createCommentVNode("v-if",!0),renderSlot(Cn.$slots,"default",{},()=>[createTextVNode(toDisplayString(Cn.content),1)])]),default:withCtx(()=>[Cn.$slots.reference?renderSlot(Cn.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc$1(_sfc_main$R,[["__file","popover.vue"]]);const attachEvents=(xe,$e)=>{const Ie=$e.arg||$e.value,Fe=Ie==null?void 0:Ie.popperRef;Fe&&(Fe.triggerRef=xe)};var PopoverDirective={mounted(xe,$e){attachEvents(xe,$e)},updated(xe,$e){attachEvents(xe,$e)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:xe=>xe>=0&&xe<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:xe=>`${xe}%`}}),_hoisted_1$o=["aria-valuenow"],_hoisted_2$g={viewBox:"0 0 100 100"},_hoisted_3$7=["d","stroke","stroke-linecap","stroke-width"],_hoisted_4$4=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$3={key:0},__default__$E=defineComponent({name:"ElProgress"}),_sfc_main$Q=defineComponent({...__default__$E,props:progressProps,setup(xe){const $e=xe,Ie={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},Fe=useNamespace("progress"),Ue=computed(()=>({width:`${$e.percentage}%`,animationDuration:`${$e.duration}s`,background:xn($e.percentage)})),qe=computed(()=>($e.strokeWidth/$e.width*100).toFixed(1)),At=computed(()=>["circle","dashboard"].includes($e.type)?Number.parseInt(`${50-Number.parseFloat(qe.value)/2}`,10):0),Dt=computed(()=>{const En=At.value,Tn=$e.type==="dashboard";return` + M 50 50 + m 0 ${Tn?"":"-"}${En} + a ${En} ${En} 0 1 1 0 ${Tn?"-":""}${En*2} + a ${En} ${En} 0 1 1 0 ${Tn?"":"-"}${En*2} + `}),Lt=computed(()=>2*Math.PI*At.value),jt=computed(()=>$e.type==="dashboard"?.75:1),hn=computed(()=>`${-1*Lt.value*(1-jt.value)/2}px`),vn=computed(()=>({strokeDasharray:`${Lt.value*jt.value}px, ${Lt.value}px`,strokeDashoffset:hn.value})),bn=computed(()=>({strokeDasharray:`${Lt.value*jt.value*($e.percentage/100)}px, ${Lt.value}px`,strokeDashoffset:hn.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),_n=computed(()=>{let En;return $e.color?En=xn($e.percentage):En=Ie[$e.status]||Ie.default,En}),wn=computed(()=>$e.status==="warning"?warning_filled_default:$e.type==="line"?$e.status==="success"?circle_check_default:circle_close_default:$e.status==="success"?check_default:close_default),kn=computed(()=>$e.type==="line"?12+$e.strokeWidth*.4:$e.width*.111111+2),Cn=computed(()=>$e.format($e.percentage));function Sn(En){const Tn=100/En.length;return En.map(($n,Pn)=>isString$4($n)?{color:$n,percentage:(Pn+1)*Tn}:$n).sort(($n,Pn)=>$n.percentage-Pn.percentage)}const xn=En=>{var Tn;const{color:An}=$e;if(isFunction$5(An))return An(En);if(isString$4(An))return An;{const $n=Sn(An);for(const Pn of $n)if(Pn.percentage>En)return Pn.color;return(Tn=$n[$n.length-1])==null?void 0:Tn.color}};return(En,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(En.type),unref(Fe).is(En.status),{[unref(Fe).m("without-text")]:!En.showText,[unref(Fe).m("text-inside")]:En.textInside}]),role:"progressbar","aria-valuenow":En.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[En.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(Fe).be("bar","outer")),style:normalizeStyle$1({height:`${En.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(Fe).be("bar","inner"),{[unref(Fe).bem("bar","inner","indeterminate")]:En.indeterminate},{[unref(Fe).bem("bar","inner","striped")]:En.striped},{[unref(Fe).bem("bar","inner","striped-flow")]:En.stripedFlow}]),style:normalizeStyle$1(unref(Ue))},[(En.showText||En.$slots.default)&&En.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).be("bar","innerText"))},[renderSlot(En.$slots,"default",{percentage:En.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Cn)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).b("circle")),style:normalizeStyle$1({height:`${En.width}px`,width:`${En.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$g,[createBaseVNode("path",{class:normalizeClass(unref(Fe).be("circle","track")),d:unref(Dt),stroke:`var(${unref(Fe).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":En.strokeLinecap,"stroke-width":unref(qe),fill:"none",style:normalizeStyle$1(unref(vn))},null,14,_hoisted_3$7),createBaseVNode("path",{class:normalizeClass(unref(Fe).be("circle","path")),d:unref(Dt),stroke:unref(_n),fill:"none",opacity:En.percentage?1:0,"stroke-linecap":En.strokeLinecap,"stroke-width":unref(qe),style:normalizeStyle$1(unref(bn))},null,14,_hoisted_4$4)]))],6)),(En.showText||En.$slots.default)&&!En.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(Fe).e("text")),style:normalizeStyle$1({fontSize:`${unref(kn)}px`})},[renderSlot(En.$slots,"default",{percentage:En.percentage},()=>[En.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$3,toDisplayString(unref(Cn)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$o))}});var Progress=_export_sfc$1(_sfc_main$Q,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()=>mutable(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:definePropType([Array,Object]),default:()=>[star_filled_default,star_filled_default,star_filled_default]},voidIcon:{type:iconPropType,default:()=>star_default},disabledVoidIcon:{type:iconPropType,default:()=>star_filled_default},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:definePropType(Array),default:()=>mutable(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:useSizeProp,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),rateEmits={[CHANGE_EVENT]:xe=>isNumber$1(xe),[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)},_hoisted_1$n=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$f=["onMousemove","onClick"],__default__$D=defineComponent({name:"ElRate"}),_sfc_main$P=defineComponent({...__default__$D,props:rateProps,emits:rateEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;function Ue(Dn,Hn){const Fn=Gn=>isObject$8(Gn),zn=Object.keys(Hn).map(Gn=>+Gn).filter(Gn=>{const Wn=Hn[Gn];return(Fn(Wn)?Wn.excluded:!1)?DnGn-Wn),jn=Hn[zn[0]];return Fn(jn)&&jn.value||jn}const qe=inject(formContextKey,void 0),At=inject(formItemContextKey,void 0),Dt=useFormSize(),Lt=useNamespace("rate"),{inputId:jt,isLabeledByFormItem:hn}=useFormItemInputId(Fe,{formItemContext:At}),vn=ref(Fe.modelValue),bn=ref(-1),_n=ref(!0),wn=computed(()=>[Lt.b(),Lt.m(Dt.value)]),kn=computed(()=>Fe.disabled||(qe==null?void 0:qe.disabled)),Cn=computed(()=>Lt.cssVarBlock({"void-color":Fe.voidColor,"disabled-void-color":Fe.disabledVoidColor,"fill-color":Tn.value})),Sn=computed(()=>{let Dn="";return Fe.showScore?Dn=Fe.scoreTemplate.replace(/\{\s*value\s*\}/,kn.value?`${Fe.modelValue}`:`${vn.value}`):Fe.showText&&(Dn=Fe.texts[Math.ceil(vn.value)-1]),Dn}),xn=computed(()=>Fe.modelValue*100-Math.floor(Fe.modelValue)*100),En=computed(()=>isArray$6(Fe.colors)?{[Fe.lowThreshold]:Fe.colors[0],[Fe.highThreshold]:{value:Fe.colors[1],excluded:!0},[Fe.max]:Fe.colors[2]}:Fe.colors),Tn=computed(()=>{const Dn=Ue(vn.value,En.value);return isObject$8(Dn)?"":Dn}),An=computed(()=>{let Dn="";return kn.value?Dn=`${xn.value}%`:Fe.allowHalf&&(Dn="50%"),{color:Tn.value,width:Dn}}),$n=computed(()=>{let Dn=isArray$6(Fe.icons)?[...Fe.icons]:{...Fe.icons};return Dn=markRaw(Dn),isArray$6(Dn)?{[Fe.lowThreshold]:Dn[0],[Fe.highThreshold]:{value:Dn[1],excluded:!0},[Fe.max]:Dn[2]}:Dn}),Pn=computed(()=>Ue(Fe.modelValue,$n.value)),Nn=computed(()=>kn.value?isString$4(Fe.disabledVoidIcon)?Fe.disabledVoidIcon:markRaw(Fe.disabledVoidIcon):isString$4(Fe.voidIcon)?Fe.voidIcon:markRaw(Fe.voidIcon)),Mn=computed(()=>Ue(vn.value,$n.value));function In(Dn){const Hn=kn.value&&xn.value>0&&Dn-1Fe.modelValue,Fn=Fe.allowHalf&&_n.value&&Dn-.5<=vn.value&&Dn>vn.value;return Hn||Fn}function On(Dn){Fe.clearable&&Dn===Fe.modelValue&&(Dn=0),Ie(UPDATE_MODEL_EVENT,Dn),Fe.modelValue!==Dn&&Ie("change",Dn)}function Rn(Dn){kn.value||(Fe.allowHalf&&_n.value?On(vn.value):On(Dn))}function Bn(Dn){if(kn.value)return;let Hn=vn.value;const Fn=Dn.code;return Fn===EVENT_CODE.up||Fn===EVENT_CODE.right?(Fe.allowHalf?Hn+=.5:Hn+=1,Dn.stopPropagation(),Dn.preventDefault()):(Fn===EVENT_CODE.left||Fn===EVENT_CODE.down)&&(Fe.allowHalf?Hn-=.5:Hn-=1,Dn.stopPropagation(),Dn.preventDefault()),Hn=Hn<0?0:Hn,Hn=Hn>Fe.max?Fe.max:Hn,Ie(UPDATE_MODEL_EVENT,Hn),Ie("change",Hn),Hn}function Vn(Dn,Hn){if(!kn.value){if(Fe.allowHalf&&Hn){let Fn=Hn.target;hasClass(Fn,Lt.e("item"))&&(Fn=Fn.querySelector(`.${Lt.e("icon")}`)),(Fn.clientWidth===0||hasClass(Fn,Lt.e("decimal")))&&(Fn=Fn.parentNode),_n.value=Hn.offsetX*2<=Fn.clientWidth,vn.value=_n.value?Dn-.5:Dn}else vn.value=Dn;bn.value=Dn}}function Ln(){kn.value||(Fe.allowHalf&&(_n.value=Fe.modelValue!==Math.floor(Fe.modelValue)),vn.value=Fe.modelValue,bn.value=-1)}return watch(()=>Fe.modelValue,Dn=>{vn.value=Dn,_n.value=Fe.modelValue!==Math.floor(Fe.modelValue)}),Fe.modelValue||Ie(UPDATE_MODEL_EVENT,0),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-rate",ref:"https://element-plus.org/en-US/component/rate.html"},computed(()=>!!Fe.label)),$e({setCurrentValue:Vn,resetCurrentValue:Ln}),(Dn,Hn)=>{var Fn;return openBlock(),createElementBlock("div",{id:unref(jt),class:normalizeClass([unref(wn),unref(Lt).is("disabled",unref(kn))]),role:"slider","aria-label":unref(hn)?void 0:Dn.label||Dn.ariaLabel||"rating","aria-labelledby":unref(hn)?(Fn=unref(At))==null?void 0:Fn.labelId:void 0,"aria-valuenow":vn.value,"aria-valuetext":unref(Sn)||void 0,"aria-valuemin":"0","aria-valuemax":Dn.max,tabindex:"0",style:normalizeStyle$1(unref(Cn)),onKeydown:Bn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dn.max,(zn,jn)=>(openBlock(),createElementBlock("span",{key:jn,class:normalizeClass(unref(Lt).e("item")),onMousemove:Gn=>Vn(zn,Gn),onMouseleave:Ln,onClick:Gn=>Rn(zn)},[createVNode$1(unref(ElIcon),{class:normalizeClass([unref(Lt).e("icon"),{hover:bn.value===zn},unref(Lt).is("active",zn<=vn.value)])},{default:withCtx(()=>[In(zn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Mn)),null,null,512)),[[vShow,zn<=vn.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Nn)),null,null,512)),[[vShow,!(zn<=vn.value)]])],64)),In(zn)?(openBlock(),createElementBlock(Fragment,{key:1},[(openBlock(),createBlock(resolveDynamicComponent(unref(Nn)),{class:normalizeClass([unref(Lt).em("decimal","box")])},null,8,["class"])),createVNode$1(unref(ElIcon),{style:normalizeStyle$1(unref(An)),class:normalizeClass([unref(Lt).e("icon"),unref(Lt).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Pn))))]),_:1},8,["style","class"])],64)):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$f))),128)),Dn.showText||Dn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Lt).e("text")),style:normalizeStyle$1({color:Dn.textColor})},toDisplayString(unref(Sn)),7)):createCommentVNode("v-if",!0)],46,_hoisted_1$n)}}});var Rate=_export_sfc$1(_sfc_main$P,[["__file","rate.vue"]]);const ElRate=withInstall(Rate),IconMap={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},IconComponentMap={[IconMap.success]:circle_check_filled_default,[IconMap.warning]:warning_filled_default,[IconMap.error]:circle_close_filled_default,[IconMap.info]:info_filled_default},resultProps=buildProps({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),__default__$C=defineComponent({name:"ElResult"}),_sfc_main$O=defineComponent({...__default__$C,props:resultProps,setup(xe){const $e=xe,Ie=useNamespace("result"),Fe=computed(()=>{const Ue=$e.icon,qe=Ue&&IconMap[Ue]?IconMap[Ue]:"icon-info",At=IconComponentMap[qe]||IconComponentMap["icon-info"];return{class:qe,component:At}});return(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("icon"))},[renderSlot(Ue.$slots,"icon",{},()=>[unref(Fe).component?(openBlock(),createBlock(resolveDynamicComponent(unref(Fe).component),{key:0,class:normalizeClass(unref(Fe).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),Ue.title||Ue.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("title"))},[renderSlot(Ue.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString(Ue.title),1)])],2)):createCommentVNode("v-if",!0),Ue.subTitle||Ue.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ie).e("subtitle"))},[renderSlot(Ue.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString(Ue.subTitle),1)])],2)):createCommentVNode("v-if",!0),Ue.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(Ie).e("extra"))},[renderSlot(Ue.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$1(_sfc_main$O,[["__file","result.vue"]]);const ElResult=withInstall(Result);var safeIsNaN=Number.isNaN||function xe($e){return typeof $e=="number"&&$e!==$e};function isEqual(xe,$e){return!!(xe===$e||safeIsNaN(xe)&&safeIsNaN($e))}function areInputsEqual(xe,$e){if(xe.length!==$e.length)return!1;for(var Ie=0;Ie{const $e=getCurrentInstance().proxy.$props;return computed(()=>{const Ie=(Fe,Ue,qe)=>({});return $e.perfMode?memoize(Ie):memoizeOne(Ie)})},DEFAULT_DYNAMIC_LIST_ITEM_SIZE=50,ITEM_RENDER_EVT="itemRendered",SCROLL_EVT="scroll",FORWARD="forward",BACKWARD="backward",AUTO_ALIGNMENT="auto",SMART_ALIGNMENT="smart",START_ALIGNMENT="start",CENTERED_ALIGNMENT="center",END_ALIGNMENT="end",HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL$1]:"left",[VERTICAL$1]:"top"},SCROLLBAR_MIN_SIZE=20,LayoutKeys={[HORIZONTAL$1]:"deltaX",[VERTICAL$1]:"deltaY"},useWheel=({atEndEdge:xe,atStartEdge:$e,layout:Ie},Fe)=>{let Ue,qe=0;const At=Lt=>Lt<0&&$e.value||Lt>0&&xe.value;return{hasReachedEdge:At,onWheel:Lt=>{cAF(Ue);const jt=Lt[LayoutKeys[Ie.value]];At(qe)&&At(qe+jt)||(qe+=jt,isFirefox()||Lt.preventDefault(),Ue=rAF(()=>{Fe(qe),qe=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total=buildProp({type:Number,required:!0}),layout$4=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL$1}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:definePropType([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),virtualizedListProps=buildProps({cache,estimatedItemSize,layout:layout$4,initScrollOffset,total,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:xe,rowIndex:$e})=>`${$e}:${xe}`},rowCache:cache,rowHeight:itemSize$1,totalColumn:total,totalRow:total,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout:layout$4,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(xe,$e)=>xe<$e?FORWARD:BACKWARD,isHorizontal=xe=>xe===LTR||xe===RTL||xe===HORIZONTAL$1,isRTL=xe=>xe===RTL;let cachedRTLResult=null;function getRTLOffsetType(xe=!1){if(cachedRTLResult===null||xe){const $e=document.createElement("div"),Ie=$e.style;Ie.width="50px",Ie.height="50px",Ie.overflow="scroll",Ie.direction="rtl";const Fe=document.createElement("div"),Ue=Fe.style;return Ue.width="100px",Ue.height="100px",$e.appendChild(Fe),document.body.appendChild($e),$e.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:($e.scrollLeft=1,$e.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild($e),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:xe,size:$e,bar:Ie},Fe){const Ue={},qe=`translate${Ie.axis}(${xe}px)`;return Ue[Ie.size]=$e,Ue.transform=qe,Ue.msTransform=qe,Ue.webkitTransform=qe,Fe==="horizontal"?Ue.height="100%":Ue.width="100%",Ue}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(xe,{emit:$e}){const Ie=computed(()=>xe.startGap+xe.endGap),Fe=useNamespace("virtual-scrollbar"),Ue=useNamespace("scrollbar"),qe=ref(),At=ref();let Dt=null,Lt=null;const jt=reactive({isDragging:!1,traveled:0}),hn=computed(()=>BAR_MAP[xe.layout]),vn=computed(()=>xe.clientSize-unref(Ie)),bn=computed(()=>({position:"absolute",width:`${HORIZONTAL$1===xe.layout?vn.value:xe.scrollbarSize}px`,height:`${HORIZONTAL$1===xe.layout?xe.scrollbarSize:vn.value}px`,[ScrollbarDirKey[xe.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),_n=computed(()=>{const $n=xe.ratio,Pn=xe.clientSize;if($n>=100)return Number.POSITIVE_INFINITY;if($n>=50)return $n*Pn/100;const Nn=Pn/3;return Math.floor(Math.min(Math.max($n*Pn,SCROLLBAR_MIN_SIZE),Nn))}),wn=computed(()=>{if(!Number.isFinite(_n.value))return{display:"none"};const $n=`${_n.value}px`;return renderThumbStyle({bar:hn.value,size:$n,move:jt.traveled},xe.layout)}),kn=computed(()=>Math.floor(xe.clientSize-_n.value-unref(Ie))),Cn=()=>{window.addEventListener("mousemove",Tn),window.addEventListener("mouseup",En);const $n=unref(At);$n&&(Lt=document.onselectstart,document.onselectstart=()=>!1,$n.addEventListener("touchmove",Tn),$n.addEventListener("touchend",En))},Sn=()=>{window.removeEventListener("mousemove",Tn),window.removeEventListener("mouseup",En),document.onselectstart=Lt,Lt=null;const $n=unref(At);$n&&($n.removeEventListener("touchmove",Tn),$n.removeEventListener("touchend",En))},xn=$n=>{$n.stopImmediatePropagation(),!($n.ctrlKey||[1,2].includes($n.button))&&(jt.isDragging=!0,jt[hn.value.axis]=$n.currentTarget[hn.value.offset]-($n[hn.value.client]-$n.currentTarget.getBoundingClientRect()[hn.value.direction]),$e("start-move"),Cn())},En=()=>{jt.isDragging=!1,jt[hn.value.axis]=0,$e("stop-move"),Sn()},Tn=$n=>{const{isDragging:Pn}=jt;if(!Pn||!At.value||!qe.value)return;const Nn=jt[hn.value.axis];if(!Nn)return;cAF(Dt);const Mn=(qe.value.getBoundingClientRect()[hn.value.direction]-$n[hn.value.client])*-1,In=At.value[hn.value.offset]-Nn,On=Mn-In;Dt=rAF(()=>{jt.traveled=Math.max(xe.startGap,Math.min(On,kn.value)),$e("scroll",On,kn.value)})},An=$n=>{const Pn=Math.abs($n.target.getBoundingClientRect()[hn.value.direction]-$n[hn.value.client]),Nn=At.value[hn.value.offset]/2,Mn=Pn-Nn;jt.traveled=Math.max(0,Math.min(Mn,kn.value)),$e("scroll",Mn,kn.value)};return watch(()=>xe.scrollFrom,$n=>{jt.isDragging||(jt.traveled=Math.ceil($n*kn.value))}),onBeforeUnmount(()=>{Sn()}),()=>h$5("div",{role:"presentation",ref:qe,class:[Fe.b(),xe.class,(xe.alwaysOn||jt.isDragging)&&"always-on"],style:bn.value,onMousedown:withModifiers(An,["stop","prevent"]),onTouchstartPrevent:xn},h$5("div",{ref:At,class:Ue.e("thumb"),style:wn.value,onMousedown:xn},[]))}}),createList$2=({name:xe,getOffset:$e,getItemSize:Ie,getItemOffset:Fe,getEstimatedTotalSize:Ue,getStartIndexForOffset:qe,getStopIndexForStartIndex:At,initCache:Dt,clearCache:Lt,validateProps:jt})=>defineComponent({name:xe??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(hn,{emit:vn,expose:bn}){jt(hn);const _n=getCurrentInstance(),wn=useNamespace("vl"),kn=ref(Dt(hn,_n)),Cn=useCache(),Sn=ref(),xn=ref(),En=ref(),Tn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$1(hn.initScrollOffset)?hn.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:hn.scrollbarAlwaysOn}),An=computed(()=>{const{total:Xn,cache:er}=hn,{isScrolling:rr,scrollDir:Jn,scrollOffset:Yn}=unref(Tn);if(Xn===0)return[0,0,0,0];const qn=qe(hn,Yn,unref(kn)),ar=At(hn,qn,Yn,unref(kn)),tr=!rr||Jn===BACKWARD?Math.max(1,er):1,or=!rr||Jn===FORWARD?Math.max(1,er):1;return[Math.max(0,qn-tr),Math.max(0,Math.min(Xn-1,ar+or)),qn,ar]}),$n=computed(()=>Ue(hn,unref(kn))),Pn=computed(()=>isHorizontal(hn.layout)),Nn=computed(()=>[{position:"relative",[`overflow-${Pn.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:hn.direction,height:isNumber$1(hn.height)?`${hn.height}px`:hn.height,width:isNumber$1(hn.width)?`${hn.width}px`:hn.width},hn.style]),Mn=computed(()=>{const Xn=unref($n),er=unref(Pn);return{height:er?"100%":`${Xn}px`,pointerEvents:unref(Tn).isScrolling?"none":void 0,width:er?`${Xn}px`:"100%"}}),In=computed(()=>Pn.value?hn.width:hn.height),{onWheel:On}=useWheel({atStartEdge:computed(()=>Tn.value.scrollOffset<=0),atEndEdge:computed(()=>Tn.value.scrollOffset>=$n.value),layout:computed(()=>hn.layout)},Xn=>{var er,rr;(rr=(er=En.value).onMouseUp)==null||rr.call(er),Hn(Math.min(Tn.value.scrollOffset+Xn,$n.value-In.value))}),Rn=()=>{const{total:Xn}=hn;if(Xn>0){const[Yn,qn,ar,tr]=unref(An);vn(ITEM_RENDER_EVT,Yn,qn,ar,tr)}const{scrollDir:er,scrollOffset:rr,updateRequested:Jn}=unref(Tn);vn(SCROLL_EVT,er,rr,Jn)},Bn=Xn=>{const{clientHeight:er,scrollHeight:rr,scrollTop:Jn}=Xn.currentTarget,Yn=unref(Tn);if(Yn.scrollOffset===Jn)return;const qn=Math.max(0,Math.min(Jn,rr-er));Tn.value={...Yn,isScrolling:!0,scrollDir:getScrollDir(Yn.scrollOffset,qn),scrollOffset:qn,updateRequested:!1},nextTick(jn)},Vn=Xn=>{const{clientWidth:er,scrollLeft:rr,scrollWidth:Jn}=Xn.currentTarget,Yn=unref(Tn);if(Yn.scrollOffset===rr)return;const{direction:qn}=hn;let ar=rr;if(qn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{ar=-rr;break}case RTL_OFFSET_POS_DESC:{ar=Jn-er-rr;break}}ar=Math.max(0,Math.min(ar,Jn-er)),Tn.value={...Yn,isScrolling:!0,scrollDir:getScrollDir(Yn.scrollOffset,ar),scrollOffset:ar,updateRequested:!1},nextTick(jn)},Ln=Xn=>{unref(Pn)?Vn(Xn):Bn(Xn),Rn()},Dn=(Xn,er)=>{const rr=($n.value-In.value)/er*Xn;Hn(Math.min($n.value-In.value,rr))},Hn=Xn=>{Xn=Math.max(Xn,0),Xn!==unref(Tn).scrollOffset&&(Tn.value={...unref(Tn),scrollOffset:Xn,scrollDir:getScrollDir(unref(Tn).scrollOffset,Xn),updateRequested:!0},nextTick(jn))},Fn=(Xn,er=AUTO_ALIGNMENT)=>{const{scrollOffset:rr}=unref(Tn);Xn=Math.max(0,Math.min(Xn,hn.total-1)),Hn($e(hn,Xn,er,rr,unref(kn)))},zn=Xn=>{const{direction:er,itemSize:rr,layout:Jn}=hn,Yn=Cn.value(Lt&&rr,Lt&&Jn,Lt&&er);let qn;if(hasOwn$1(Yn,String(Xn)))qn=Yn[Xn];else{const ar=Fe(hn,Xn,unref(kn)),tr=Ie(hn,Xn,unref(kn)),or=unref(Pn),sr=er===RTL,Kn=or?ar:0;Yn[Xn]=qn={position:"absolute",left:sr?void 0:`${Kn}px`,right:sr?`${Kn}px`:void 0,top:or?0:`${ar}px`,height:or?"100%":`${tr}px`,width:or?`${tr}px`:"100%"}}return qn},jn=()=>{Tn.value.isScrolling=!1,nextTick(()=>{Cn.value(-1,null,null)})},Gn=()=>{const Xn=Sn.value;Xn&&(Xn.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:Xn}=hn,er=unref(Sn);isNumber$1(Xn)&&er&&(unref(Pn)?er.scrollLeft=Xn:er.scrollTop=Xn),Rn()}),onUpdated(()=>{const{direction:Xn,layout:er}=hn,{scrollOffset:rr,updateRequested:Jn}=unref(Tn),Yn=unref(Sn);if(Jn&&Yn)if(er===HORIZONTAL$1)if(Xn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Yn.scrollLeft=-rr;break}case RTL_OFFSET_POS_ASC:{Yn.scrollLeft=rr;break}default:{const{clientWidth:qn,scrollWidth:ar}=Yn;Yn.scrollLeft=ar-qn-rr;break}}else Yn.scrollLeft=rr;else Yn.scrollTop=rr});const Wn={ns:wn,clientSize:In,estimatedTotalSize:$n,windowStyle:Nn,windowRef:Sn,innerRef:xn,innerStyle:Mn,itemsToRender:An,scrollbarRef:En,states:Tn,getItemStyle:zn,onScroll:Ln,onScrollbarScroll:Dn,onWheel:On,scrollTo:Hn,scrollToItem:Fn,resetScrollTop:Gn};return bn({windowRef:Sn,innerRef:xn,getItemStyleCache:Cn,scrollTo:Hn,scrollToItem:Fn,resetScrollTop:Gn,states:Tn}),Wn},render(hn){var vn;const{$slots:bn,className:_n,clientSize:wn,containerElement:kn,data:Cn,getItemStyle:Sn,innerElement:xn,itemsToRender:En,innerStyle:Tn,layout:An,total:$n,onScroll:Pn,onScrollbarScroll:Nn,onWheel:Mn,states:In,useIsScrolling:On,windowStyle:Rn,ns:Bn}=hn,[Vn,Ln]=En,Dn=resolveDynamicComponent(kn),Hn=resolveDynamicComponent(xn),Fn=[];if($n>0)for(let Wn=Vn;Wn<=Ln;Wn++)Fn.push((vn=bn.default)==null?void 0:vn.call(bn,{data:Cn,key:Wn,index:Wn,isScrolling:On?In.isScrolling:void 0,style:Sn(Wn)}));const zn=[h$5(Hn,{style:Tn,ref:"innerRef"},isString$4(Hn)?Fn:{default:()=>Fn})],jn=h$5(ScrollBar,{ref:"scrollbarRef",clientSize:wn,layout:An,onScroll:Nn,ratio:wn*100/this.estimatedTotalSize,scrollFrom:In.scrollOffset/(this.estimatedTotalSize-wn),total:$n}),Gn=h$5(Dn,{class:[Bn.e("window"),_n],style:Rn,onScroll:Pn,onWheel:Mn,ref:"windowRef",key:0},isString$4(Dn)?[zn]:{default:()=>[zn]});return h$5("div",{key:0,class:[Bn.e("wrapper"),In.scrollbarAlwaysOn?"always-on":""]},[Gn,jn])}}),FixedSizeList=createList$2({name:"ElFixedSizeList",getItemOffset:({itemSize:xe},$e)=>$e*xe,getItemSize:({itemSize:xe})=>xe,getEstimatedTotalSize:({total:xe,itemSize:$e})=>$e*xe,getOffset:({height:xe,total:$e,itemSize:Ie,layout:Fe,width:Ue},qe,At,Dt)=>{const Lt=isHorizontal(Fe)?Ue:xe,jt=Math.max(0,$e*Ie-Lt),hn=Math.min(jt,qe*Ie),vn=Math.max(0,(qe+1)*Ie-Lt);switch(At===SMART_ALIGNMENT&&(Dt>=vn-Lt&&Dt<=hn+Lt?At=AUTO_ALIGNMENT:At=CENTERED_ALIGNMENT),At){case START_ALIGNMENT:return hn;case END_ALIGNMENT:return vn;case CENTERED_ALIGNMENT:{const bn=Math.round(vn+(hn-vn)/2);return bnjt+Math.floor(Lt/2)?jt:bn}case AUTO_ALIGNMENT:default:return Dt>=vn&&Dt<=hn?Dt:DtMath.max(0,Math.min(xe-1,Math.floor(Ie/$e))),getStopIndexForStartIndex:({height:xe,total:$e,itemSize:Ie,layout:Fe,width:Ue},qe,At)=>{const Dt=qe*Ie,Lt=isHorizontal(Fe)?Ue:xe,jt=Math.ceil((Lt+At-Dt)/Ie);return Math.max(0,Math.min($e-1,qe+jt-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(xe,$e,Ie)=>{const{itemSize:Fe}=xe,{items:Ue,lastVisitedIndex:qe}=Ie;if($e>qe){let At=0;if(qe>=0){const Dt=Ue[qe];At=Dt.offset+Dt.size}for(let Dt=qe+1;Dt<=$e;Dt++){const Lt=Fe(Dt);Ue[Dt]={offset:At,size:Lt},At+=Lt}Ie.lastVisitedIndex=$e}return Ue[$e]},findItem$1=(xe,$e,Ie)=>{const{items:Fe,lastVisitedIndex:Ue}=$e;return(Ue>0?Fe[Ue].offset:0)>=Ie?bs$1(xe,$e,0,Ue,Ie):es$1(xe,$e,Math.max(0,Ue),Ie)},bs$1=(xe,$e,Ie,Fe,Ue)=>{for(;Ie<=Fe;){const qe=Ie+Math.floor((Fe-Ie)/2),At=getItemFromCache$1(xe,qe,$e).offset;if(At===Ue)return qe;AtUe&&(Fe=qe-1)}return Math.max(0,Ie-1)},es$1=(xe,$e,Ie,Fe)=>{const{total:Ue}=xe;let qe=1;for(;Ie{let Ue=0;if(Fe>=xe&&(Fe=xe-1),Fe>=0){const Dt=$e[Fe];Ue=Dt.offset+Dt.size}const At=(xe-Fe-1)*Ie;return Ue+At},DynamicSizeList=createList$2({name:"ElDynamicSizeList",getItemOffset:(xe,$e,Ie)=>getItemFromCache$1(xe,$e,Ie).offset,getItemSize:(xe,$e,{items:Ie})=>Ie[$e].size,getEstimatedTotalSize,getOffset:(xe,$e,Ie,Fe,Ue)=>{const{height:qe,layout:At,width:Dt}=xe,Lt=isHorizontal(At)?Dt:qe,jt=getItemFromCache$1(xe,$e,Ue),hn=getEstimatedTotalSize(xe,Ue),vn=Math.max(0,Math.min(hn-Lt,jt.offset)),bn=Math.max(0,jt.offset-Lt+jt.size);switch(Ie===SMART_ALIGNMENT&&(Fe>=bn-Lt&&Fe<=vn+Lt?Ie=AUTO_ALIGNMENT:Ie=CENTERED_ALIGNMENT),Ie){case START_ALIGNMENT:return vn;case END_ALIGNMENT:return bn;case CENTERED_ALIGNMENT:return Math.round(bn+(vn-bn)/2);case AUTO_ALIGNMENT:default:return Fe>=bn&&Fe<=vn?Fe:FefindItem$1(xe,Ie,$e),getStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const{height:Ue,total:qe,layout:At,width:Dt}=xe,Lt=isHorizontal(At)?Dt:Ue,jt=getItemFromCache$1(xe,$e,Fe),hn=Ie+Lt;let vn=jt.offset+jt.size,bn=$e;for(;bn{var qe,At;Ie.lastVisitedIndex=Math.min(Ie.lastVisitedIndex,Fe-1),(qe=$e.exposed)==null||qe.getItemStyleCache(-1),Ue&&((At=$e.proxy)==null||At.$forceUpdate())},Ie},clearCache:!1,validateProps:({itemSize:xe})=>{}}),useGridWheel=({atXEndEdge:xe,atXStartEdge:$e,atYEndEdge:Ie,atYStartEdge:Fe},Ue)=>{let qe=null,At=0,Dt=0;const Lt=(hn,vn)=>{const bn=hn<=0&&$e.value||hn>=0&&xe.value,_n=vn<=0&&Fe.value||vn>=0&&Ie.value;return bn&&_n};return{hasReachedEdge:Lt,onWheel:hn=>{cAF(qe);let vn=hn.deltaX,bn=hn.deltaY;Math.abs(vn)>Math.abs(bn)?bn=0:vn=0,hn.shiftKey&&bn!==0&&(vn=bn,bn=0),!(Lt(At,Dt)&&Lt(At+vn,Dt+bn))&&(At+=vn,Dt+=bn,hn.preventDefault(),qe=rAF(()=>{Ue(At,Dt),At=0,Dt=0}))}}},createGrid=({name:xe,clearCache:$e,getColumnPosition:Ie,getColumnStartIndexForOffset:Fe,getColumnStopIndexForStartIndex:Ue,getEstimatedTotalHeight:qe,getEstimatedTotalWidth:At,getColumnOffset:Dt,getRowOffset:Lt,getRowPosition:jt,getRowStartIndexForOffset:hn,getRowStopIndexForStartIndex:vn,initCache:bn,injectToInstance:_n,validateProps:wn})=>defineComponent({name:xe??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(kn,{emit:Cn,expose:Sn,slots:xn}){const En=useNamespace("vl");wn(kn);const Tn=getCurrentInstance(),An=ref(bn(kn,Tn));_n==null||_n(Tn,An);const $n=ref(),Pn=ref(),Nn=ref(),Mn=ref(null),In=ref({isScrolling:!1,scrollLeft:isNumber$1(kn.initScrollLeft)?kn.initScrollLeft:0,scrollTop:isNumber$1(kn.initScrollTop)?kn.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),On=useCache(),Rn=computed(()=>Number.parseInt(`${kn.height}`,10)),Bn=computed(()=>Number.parseInt(`${kn.width}`,10)),Vn=computed(()=>{const{totalColumn:ir,totalRow:kr,columnCache:Cr}=kn,{isScrolling:Er,xAxisScrollDir:dr,scrollLeft:br}=unref(In);if(ir===0||kr===0)return[0,0,0,0];const _r=Fe(kn,br,unref(An)),Pr=Ue(kn,_r,br,unref(An)),gr=!Er||dr===BACKWARD?Math.max(1,Cr):1,xr=!Er||dr===FORWARD?Math.max(1,Cr):1;return[Math.max(0,_r-gr),Math.max(0,Math.min(ir-1,Pr+xr)),_r,Pr]}),Ln=computed(()=>{const{totalColumn:ir,totalRow:kr,rowCache:Cr}=kn,{isScrolling:Er,yAxisScrollDir:dr,scrollTop:br}=unref(In);if(ir===0||kr===0)return[0,0,0,0];const _r=hn(kn,br,unref(An)),Pr=vn(kn,_r,br,unref(An)),gr=!Er||dr===BACKWARD?Math.max(1,Cr):1,xr=!Er||dr===FORWARD?Math.max(1,Cr):1;return[Math.max(0,_r-gr),Math.max(0,Math.min(kr-1,Pr+xr)),_r,Pr]}),Dn=computed(()=>qe(kn,unref(An))),Hn=computed(()=>At(kn,unref(An))),Fn=computed(()=>{var ir;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:kn.direction,height:isNumber$1(kn.height)?`${kn.height}px`:kn.height,width:isNumber$1(kn.width)?`${kn.width}px`:kn.width},(ir=kn.style)!=null?ir:{}]}),zn=computed(()=>{const ir=`${unref(Hn)}px`;return{height:`${unref(Dn)}px`,pointerEvents:unref(In).isScrolling?"none":void 0,width:ir}}),jn=()=>{const{totalColumn:ir,totalRow:kr}=kn;if(ir>0&&kr>0){const[Pr,gr,xr,Rr]=unref(Vn),[Hr,Jr,Gr,$r]=unref(Ln);Cn(ITEM_RENDER_EVT,{columnCacheStart:Pr,columnCacheEnd:gr,rowCacheStart:Hr,rowCacheEnd:Jr,columnVisibleStart:xr,columnVisibleEnd:Rr,rowVisibleStart:Gr,rowVisibleEnd:$r})}const{scrollLeft:Cr,scrollTop:Er,updateRequested:dr,xAxisScrollDir:br,yAxisScrollDir:_r}=unref(In);Cn(SCROLL_EVT,{xAxisScrollDir:br,scrollLeft:Cr,yAxisScrollDir:_r,scrollTop:Er,updateRequested:dr})},Gn=ir=>{const{clientHeight:kr,clientWidth:Cr,scrollHeight:Er,scrollLeft:dr,scrollTop:br,scrollWidth:_r}=ir.currentTarget,Pr=unref(In);if(Pr.scrollTop===br&&Pr.scrollLeft===dr)return;let gr=dr;if(isRTL(kn.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:gr=-dr;break;case RTL_OFFSET_POS_DESC:gr=_r-Cr-dr;break}In.value={...Pr,isScrolling:!0,scrollLeft:gr,scrollTop:Math.max(0,Math.min(br,Er-kr)),updateRequested:!0,xAxisScrollDir:getScrollDir(Pr.scrollLeft,gr),yAxisScrollDir:getScrollDir(Pr.scrollTop,br)},nextTick(()=>qn()),ar(),jn()},Wn=(ir,kr)=>{const Cr=unref(Rn),Er=(Dn.value-Cr)/kr*ir;rr({scrollTop:Math.min(Dn.value-Cr,Er)})},Xn=(ir,kr)=>{const Cr=unref(Bn),Er=(Hn.value-Cr)/kr*ir;rr({scrollLeft:Math.min(Hn.value-Cr,Er)})},{onWheel:er}=useGridWheel({atXStartEdge:computed(()=>In.value.scrollLeft<=0),atXEndEdge:computed(()=>In.value.scrollLeft>=Hn.value-unref(Bn)),atYStartEdge:computed(()=>In.value.scrollTop<=0),atYEndEdge:computed(()=>In.value.scrollTop>=Dn.value-unref(Rn))},(ir,kr)=>{var Cr,Er,dr,br;(Er=(Cr=Pn.value)==null?void 0:Cr.onMouseUp)==null||Er.call(Cr),(br=(dr=Nn.value)==null?void 0:dr.onMouseUp)==null||br.call(dr);const _r=unref(Bn),Pr=unref(Rn);rr({scrollLeft:Math.min(In.value.scrollLeft+ir,Hn.value-_r),scrollTop:Math.min(In.value.scrollTop+kr,Dn.value-Pr)})}),rr=({scrollLeft:ir=In.value.scrollLeft,scrollTop:kr=In.value.scrollTop})=>{ir=Math.max(ir,0),kr=Math.max(kr,0);const Cr=unref(In);kr===Cr.scrollTop&&ir===Cr.scrollLeft||(In.value={...Cr,xAxisScrollDir:getScrollDir(Cr.scrollLeft,ir),yAxisScrollDir:getScrollDir(Cr.scrollTop,kr),scrollLeft:ir,scrollTop:kr,updateRequested:!0},nextTick(()=>qn()),ar(),jn())},Jn=(ir=0,kr=0,Cr=AUTO_ALIGNMENT)=>{const Er=unref(In);kr=Math.max(0,Math.min(kr,kn.totalColumn-1)),ir=Math.max(0,Math.min(ir,kn.totalRow-1));const dr=getScrollBarWidth(En.namespace.value),br=unref(An),_r=qe(kn,br),Pr=At(kn,br);rr({scrollLeft:Dt(kn,kr,Cr,Er.scrollLeft,br,Pr>kn.width?dr:0),scrollTop:Lt(kn,ir,Cr,Er.scrollTop,br,_r>kn.height?dr:0)})},Yn=(ir,kr)=>{const{columnWidth:Cr,direction:Er,rowHeight:dr}=kn,br=On.value($e&&Cr,$e&&dr,$e&&Er),_r=`${ir},${kr}`;if(hasOwn$1(br,_r))return br[_r];{const[,Pr]=Ie(kn,kr,unref(An)),gr=unref(An),xr=isRTL(Er),[Rr,Hr]=jt(kn,ir,gr),[Jr]=Ie(kn,kr,gr);return br[_r]={position:"absolute",left:xr?void 0:`${Pr}px`,right:xr?`${Pr}px`:void 0,top:`${Hr}px`,height:`${Rr}px`,width:`${Jr}px`},br[_r]}},qn=()=>{In.value.isScrolling=!1,nextTick(()=>{On.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:ir,initScrollTop:kr}=kn,Cr=unref($n);Cr&&(isNumber$1(ir)&&(Cr.scrollLeft=ir),isNumber$1(kr)&&(Cr.scrollTop=kr)),jn()});const ar=()=>{const{direction:ir}=kn,{scrollLeft:kr,scrollTop:Cr,updateRequested:Er}=unref(In),dr=unref($n);if(Er&&dr){if(ir===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{dr.scrollLeft=-kr;break}case RTL_OFFSET_POS_ASC:{dr.scrollLeft=kr;break}default:{const{clientWidth:br,scrollWidth:_r}=dr;dr.scrollLeft=_r-br-kr;break}}else dr.scrollLeft=Math.max(0,kr);dr.scrollTop=Math.max(0,Cr)}},{resetAfterColumnIndex:tr,resetAfterRowIndex:or,resetAfter:sr}=Tn.proxy;Sn({windowRef:$n,innerRef:Mn,getItemStyleCache:On,scrollTo:rr,scrollToItem:Jn,states:In,resetAfterColumnIndex:tr,resetAfterRowIndex:or,resetAfter:sr});const Kn=()=>{const{scrollbarAlwaysOn:ir,scrollbarStartGap:kr,scrollbarEndGap:Cr,totalColumn:Er,totalRow:dr}=kn,br=unref(Bn),_r=unref(Rn),Pr=unref(Hn),gr=unref(Dn),{scrollLeft:xr,scrollTop:Rr}=unref(In),Hr=h$5(ScrollBar,{ref:Pn,alwaysOn:ir,startGap:kr,endGap:Cr,class:En.e("horizontal"),clientSize:br,layout:"horizontal",onScroll:Xn,ratio:br*100/Pr,scrollFrom:xr/(Pr-br),total:dr,visible:!0}),Jr=h$5(ScrollBar,{ref:Nn,alwaysOn:ir,startGap:kr,endGap:Cr,class:En.e("vertical"),clientSize:_r,layout:"vertical",onScroll:Wn,ratio:_r*100/gr,scrollFrom:Rr/(gr-_r),total:Er,visible:!0});return{horizontalScrollbar:Hr,verticalScrollbar:Jr}},Zn=()=>{var ir;const[kr,Cr]=unref(Vn),[Er,dr]=unref(Ln),{data:br,totalColumn:_r,totalRow:Pr,useIsScrolling:gr,itemKey:xr}=kn,Rr=[];if(Pr>0&&_r>0)for(let Hr=Er;Hr<=dr;Hr++)for(let Jr=kr;Jr<=Cr;Jr++)Rr.push((ir=xn.default)==null?void 0:ir.call(xn,{columnIndex:Jr,data:br,key:xr({columnIndex:Jr,data:br,rowIndex:Hr}),isScrolling:gr?unref(In).isScrolling:void 0,style:Yn(Hr,Jr),rowIndex:Hr}));return Rr},nr=()=>{const ir=resolveDynamicComponent(kn.innerElement),kr=Zn();return[h$5(ir,{style:unref(zn),ref:Mn},isString$4(ir)?kr:{default:()=>kr})]};return()=>{const ir=resolveDynamicComponent(kn.containerElement),{horizontalScrollbar:kr,verticalScrollbar:Cr}=Kn(),Er=nr();return h$5("div",{key:0,class:En.e("wrapper"),role:kn.role},[h$5(ir,{class:kn.className,style:unref(Fn),onScroll:Gn,onWheel:er,ref:$n},isString$4(ir)?Er:{default:()=>Er}),kr,Cr])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:xe},$e)=>[xe,$e*xe],getRowPosition:({rowHeight:xe},$e)=>[xe,$e*xe],getEstimatedTotalHeight:({totalRow:xe,rowHeight:$e})=>$e*xe,getEstimatedTotalWidth:({totalColumn:xe,columnWidth:$e})=>$e*xe,getColumnOffset:({totalColumn:xe,columnWidth:$e,width:Ie},Fe,Ue,qe,At,Dt)=>{Ie=Number(Ie);const Lt=Math.max(0,xe*$e-Ie),jt=Math.min(Lt,Fe*$e),hn=Math.max(0,Fe*$e-Ie+Dt+$e);switch(Ue==="smart"&&(qe>=hn-Ie&&qe<=jt+Ie?Ue=AUTO_ALIGNMENT:Ue=CENTERED_ALIGNMENT),Ue){case START_ALIGNMENT:return jt;case END_ALIGNMENT:return hn;case CENTERED_ALIGNMENT:{const vn=Math.round(hn+(jt-hn)/2);return vnLt+Math.floor(Ie/2)?Lt:vn}case AUTO_ALIGNMENT:default:return qe>=hn&&qe<=jt?qe:hn>jt||qe{$e=Number($e);const Lt=Math.max(0,Ie*xe-$e),jt=Math.min(Lt,Fe*xe),hn=Math.max(0,Fe*xe-$e+Dt+xe);switch(Ue===SMART_ALIGNMENT&&(qe>=hn-$e&&qe<=jt+$e?Ue=AUTO_ALIGNMENT:Ue=CENTERED_ALIGNMENT),Ue){case START_ALIGNMENT:return jt;case END_ALIGNMENT:return hn;case CENTERED_ALIGNMENT:{const vn=Math.round(hn+(jt-hn)/2);return vnLt+Math.floor($e/2)?Lt:vn}case AUTO_ALIGNMENT:default:return qe>=hn&&qe<=jt?qe:hn>jt||qeMath.max(0,Math.min($e-1,Math.floor(Ie/xe))),getColumnStopIndexForStartIndex:({columnWidth:xe,totalColumn:$e,width:Ie},Fe,Ue)=>{const qe=Fe*xe,At=Math.ceil((Ie+Ue-qe)/xe);return Math.max(0,Math.min($e-1,Fe+At-1))},getRowStartIndexForOffset:({rowHeight:xe,totalRow:$e},Ie)=>Math.max(0,Math.min($e-1,Math.floor(Ie/xe))),getRowStopIndexForStartIndex:({rowHeight:xe,totalRow:$e,height:Ie},Fe,Ue)=>{const qe=Fe*xe,At=Math.ceil((Ie+Ue-qe)/xe);return Math.max(0,Math.min($e-1,Fe+At-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:xe,rowHeight:$e})=>{}}),{max:max$2,min:min$2,floor}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(xe,$e,Ie,Fe)=>{const[Ue,qe,At]=[Ie[Fe],xe[ACCESS_SIZER_KEY_MAP[Fe]],Ie[ACCESS_LAST_VISITED_KEY_MAP[Fe]]];if($e>At){let Dt=0;if(At>=0){const Lt=Ue[At];Dt=Lt.offset+Lt.size}for(let Lt=At+1;Lt<=$e;Lt++){const jt=qe(Lt);Ue[Lt]={offset:Dt,size:jt},Dt+=jt}Ie[ACCESS_LAST_VISITED_KEY_MAP[Fe]]=$e}return Ue[$e]},bs=(xe,$e,Ie,Fe,Ue,qe)=>{for(;Ie<=Fe;){const At=Ie+floor((Fe-Ie)/2),Dt=getItemFromCache(xe,At,$e,qe).offset;if(Dt===Ue)return At;Dt{const qe=Ue==="column"?xe.totalColumn:xe.totalRow;let At=1;for(;Ie{const[Ue,qe]=[$e[Fe],$e[ACCESS_LAST_VISITED_KEY_MAP[Fe]]];return(qe>0?Ue[qe].offset:0)>=Ie?bs(xe,$e,0,qe,Ie,Fe):es(xe,$e,max$2(0,qe),Ie,Fe)},getEstimatedTotalHeight=({totalRow:xe},{estimatedRowHeight:$e,lastVisitedRowIndex:Ie,row:Fe})=>{let Ue=0;if(Ie>=xe&&(Ie=xe-1),Ie>=0){const Dt=Fe[Ie];Ue=Dt.offset+Dt.size}const At=(xe-Ie-1)*$e;return Ue+At},getEstimatedTotalWidth=({totalColumn:xe},{column:$e,estimatedColumnWidth:Ie,lastVisitedColumnIndex:Fe})=>{let Ue=0;if(Fe>xe&&(Fe=xe-1),Fe>=0){const Dt=$e[Fe];Ue=Dt.offset+Dt.size}const At=(xe-Fe-1)*Ie;return Ue+At},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(xe,$e,Ie,Fe,Ue,qe,At)=>{const[Dt,Lt]=[qe==="row"?xe.height:xe.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[qe]],jt=getItemFromCache(xe,$e,Ue,qe),hn=Lt(xe,Ue),vn=max$2(0,min$2(hn-Dt,jt.offset)),bn=max$2(0,jt.offset-Dt+At+jt.size);switch(Ie===SMART_ALIGNMENT&&(Fe>=bn-Dt&&Fe<=vn+Dt?Ie=AUTO_ALIGNMENT:Ie=CENTERED_ALIGNMENT),Ie){case START_ALIGNMENT:return vn;case END_ALIGNMENT:return bn;case CENTERED_ALIGNMENT:return Math.round(bn+(vn-bn)/2);case AUTO_ALIGNMENT:default:return Fe>=bn&&Fe<=vn?Fe:bn>vn||Fe{const Fe=getItemFromCache(xe,$e,Ie,"column");return[Fe.size,Fe.offset]},getRowPosition:(xe,$e,Ie)=>{const Fe=getItemFromCache(xe,$e,Ie,"row");return[Fe.size,Fe.offset]},getColumnOffset:(xe,$e,Ie,Fe,Ue,qe)=>getOffset$1(xe,$e,Ie,Fe,Ue,"column",qe),getRowOffset:(xe,$e,Ie,Fe,Ue,qe)=>getOffset$1(xe,$e,Ie,Fe,Ue,"row",qe),getColumnStartIndexForOffset:(xe,$e,Ie)=>findItem(xe,Ie,$e,"column"),getColumnStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const Ue=getItemFromCache(xe,$e,Fe,"column"),qe=Ie+xe.width;let At=Ue.offset+Ue.size,Dt=$e;for(;DtfindItem(xe,Ie,$e,"row"),getRowStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const{totalRow:Ue,height:qe}=xe,At=getItemFromCache(xe,$e,Fe,"row"),Dt=Ie+qe;let Lt=At.size+At.offset,jt=$e;for(;jt{const Ie=({columnIndex:qe,rowIndex:At},Dt)=>{var Lt,jt;Dt=isUndefined(Dt)?!0:Dt,isNumber$1(qe)&&($e.value.lastVisitedColumnIndex=Math.min($e.value.lastVisitedColumnIndex,qe-1)),isNumber$1(At)&&($e.value.lastVisitedRowIndex=Math.min($e.value.lastVisitedRowIndex,At-1)),(Lt=xe.exposed)==null||Lt.getItemStyleCache.value(-1,null,null),Dt&&((jt=xe.proxy)==null||jt.$forceUpdate())},Fe=(qe,At)=>{Ie({columnIndex:qe},At)},Ue=(qe,At)=>{Ie({rowIndex:qe},At)};Object.assign(xe.proxy,{resetAfterColumnIndex:Fe,resetAfterRowIndex:Ue,resetAfter:Ie})},initCache:({estimatedColumnWidth:xe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:$e=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:xe,estimatedRowHeight:$e,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:xe,rowHeight:$e})=>{}}),_sfc_main$N=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$7(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.be("group","title")),style:normalizeStyle$1([xe.style,{lineHeight:`${xe.height}px`}])},toDisplayString(xe.item.label),7)}var GroupItem=_export_sfc$1(_sfc_main$N,[["render",_sfc_render$7],["__file","group-item.vue"]]);function useOption(xe,{emit:$e}){return{hoverItem:()=>{xe.disabled||$e("hover",xe.index)},selectOptionClick:()=>{xe.disabled||$e("select",xe.item,xe.index)}}}const defaultProps$3={label:"label",value:"value",disabled:"disabled",options:"options"};function useProps(xe){const $e=computed(()=>({...defaultProps$3,...xe.props}));return{aliasProps:$e,getLabel:At=>get$1(At,$e.value.label),getValue:At=>get$1(At,$e.value.value),getDisabled:At=>get$1(At,$e.value.disabled),getOptions:At=>get$1(At,$e.value.options)}}const SelectProps=buildProps({allowCreate:Boolean,autocomplete:{type:definePropType(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},effect:{type:definePropType(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:definePropType([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:definePropType(Array),required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,size:useSizeProp,props:{type:definePropType(Object),default:()=>defaultProps$3},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},tagType:{...tagProps.type,default:"info"},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),OptionProps=buildProps({data:Array,disabled:Boolean,hovering:Boolean,item:{type:definePropType(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),selectV2InjectionKey=Symbol("ElSelectV2Injection"),_sfc_main$M=defineComponent({props:OptionProps,emits:["select","hover"],setup(xe,{emit:$e}){const Ie=inject(selectV2InjectionKey),Fe=useNamespace("select"),{hoverItem:Ue,selectOptionClick:qe}=useOption(xe,{emit:$e}),{getLabel:At}=useProps(Ie.props);return{ns:Fe,hoverItem:Ue,selectOptionClick:qe,getLabel:At}}}),_hoisted_1$m=["aria-selected"];function _sfc_render$6(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("li",{"aria-selected":xe.selected,style:normalizeStyle$1(xe.style),class:normalizeClass([xe.ns.be("dropdown","item"),xe.ns.is("selected",xe.selected),xe.ns.is("disabled",xe.disabled),xe.ns.is("created",xe.created),xe.ns.is("hovering",xe.hovering)]),onMouseenter:$e[0]||($e[0]=(...At)=>xe.hoverItem&&xe.hoverItem(...At)),onClick:$e[1]||($e[1]=withModifiers((...At)=>xe.selectOptionClick&&xe.selectOptionClick(...At),["stop"]))},[renderSlot(xe.$slots,"default",{item:xe.item,index:xe.index,disabled:xe.disabled},()=>[createBaseVNode("span",null,toDisplayString(xe.getLabel(xe.item)),1)])],46,_hoisted_1$m)}var OptionItem=_export_sfc$1(_sfc_main$M,[["render",_sfc_render$6],["__file","option-item.vue"]]),ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(xe,{slots:$e,expose:Ie}){const Fe=inject(selectV2InjectionKey),Ue=useNamespace("select"),{getLabel:qe,getValue:At,getDisabled:Dt}=useProps(Fe.props),Lt=ref([]),jt=ref(),hn=computed(()=>xe.data.length);watch(()=>hn.value,()=>{var On,Rn;(Rn=(On=Fe.tooltipRef.value).updatePopper)==null||Rn.call(On)});const vn=computed(()=>isUndefined(Fe.props.estimatedOptionHeight)),bn=computed(()=>vn.value?{itemSize:Fe.props.itemHeight}:{estimatedSize:Fe.props.estimatedOptionHeight,itemSize:On=>Lt.value[On]}),_n=(On=[],Rn)=>{const{props:{valueKey:Bn}}=Fe;return isObject$8(Rn)?On&&On.some(Vn=>toRaw(get$1(Vn,Bn))===get$1(Rn,Bn)):On.includes(Rn)},wn=(On,Rn)=>{if(isObject$8(Rn)){const{valueKey:Bn}=Fe.props;return get$1(On,Bn)===get$1(Rn,Bn)}else return On===Rn},kn=(On,Rn)=>Fe.props.multiple?_n(On,At(Rn)):wn(On,At(Rn)),Cn=(On,Rn)=>{const{disabled:Bn,multiple:Vn,multipleLimit:Ln}=Fe.props;return Bn||!Rn&&(Vn?Ln>0&&On.length>=Ln:!1)},Sn=On=>xe.hoveringIndex===On;Ie({listRef:jt,isSized:vn,isItemDisabled:Cn,isItemHovering:Sn,isItemSelected:kn,scrollToItem:On=>{const Rn=jt.value;Rn&&Rn.scrollToItem(On)},resetScrollTop:()=>{const On=jt.value;On&&On.resetScrollTop()}});const Tn=On=>{const{index:Rn,data:Bn,style:Vn}=On,Ln=unref(vn),{itemSize:Dn,estimatedSize:Hn}=unref(bn),{modelValue:Fn}=Fe.props,{onSelect:zn,onHover:jn}=Fe,Gn=Bn[Rn];if(Gn.type==="Group")return createVNode$1(GroupItem,{item:Gn,style:Vn,height:Ln?Dn:Hn},null);const Wn=kn(Fn,Gn),Xn=Cn(Fn,Wn),er=Sn(Rn);return createVNode$1(OptionItem,mergeProps(On,{selected:Wn,disabled:Dt(Gn)||Xn,created:!!Gn.created,hovering:er,item:Gn,onSelect:zn,onHover:jn}),{default:rr=>{var Jn;return((Jn=$e.default)==null?void 0:Jn.call($e,rr))||createVNode$1("span",null,[qe(Gn)])}})},{onKeyboardNavigate:An,onKeyboardSelect:$n}=Fe,Pn=()=>{An("forward")},Nn=()=>{An("backward")},Mn=()=>{Fe.expanded=!1},In=On=>{const{code:Rn}=On,{tab:Bn,esc:Vn,down:Ln,up:Dn,enter:Hn}=EVENT_CODE;switch(Rn!==Bn&&(On.preventDefault(),On.stopPropagation()),Rn){case Bn:case Vn:{Mn();break}case Ln:{Pn();break}case Dn:{Nn();break}case Hn:{$n();break}}};return()=>{var On,Rn,Bn,Vn;const{data:Ln,width:Dn}=xe,{height:Hn,multiple:Fn,scrollbarAlwaysOn:zn}=Fe.props,jn=unref(vn)?FixedSizeList:DynamicSizeList;return createVNode$1("div",{class:[Ue.b("dropdown"),Ue.is("multiple",Fn)],style:{width:`${Dn}px`}},[(On=$e.header)==null?void 0:On.call($e),((Rn=$e.loading)==null?void 0:Rn.call($e))||((Bn=$e.empty)==null?void 0:Bn.call($e))||createVNode$1(jn,mergeProps({ref:jt},unref(bn),{className:Ue.be("dropdown","list"),scrollbarAlwaysOn:zn,data:Ln,height:Hn,width:Dn,total:Ln.length,onKeydown:In}),{default:Gn=>createVNode$1(Tn,Gn,null)}),(Vn=$e.footer)==null?void 0:Vn.call($e)])}}});function useAllowCreate(xe,$e){const{aliasProps:Ie,getLabel:Fe,getValue:Ue}=useProps(xe),qe=ref(0),At=ref(null),Dt=computed(()=>xe.allowCreate&&xe.filterable);function Lt(_n){const wn=kn=>Fe(kn)===_n;return xe.options&&xe.options.some(wn)||$e.createdOptions.some(wn)}function jt(_n){Dt.value&&(xe.multiple&&_n.created?qe.value++:At.value=_n)}function hn(_n){if(Dt.value)if(_n&&_n.length>0){if(Lt(_n))return;const wn={[Ie.value.value]:_n,[Ie.value.label]:_n,created:!0,[Ie.value.disabled]:!1};$e.createdOptions.length>=qe.value?$e.createdOptions[qe.value]=wn:$e.createdOptions.push(wn)}else if(xe.multiple)$e.createdOptions.length=qe.value;else{const wn=At.value;$e.createdOptions.length=0,wn&&wn.created&&$e.createdOptions.push(wn)}}function vn(_n){if(!Dt.value||!_n||!_n.created||_n.created&&xe.reserveKeyword&&$e.inputValue===Fe(_n))return;const wn=$e.createdOptions.findIndex(kn=>Ue(kn)===Ue(_n));~wn&&($e.createdOptions.splice(wn,1),qe.value--)}function bn(){Dt.value&&($e.createdOptions.length=0,qe.value=0)}return{createNewOption:hn,removeNewOption:vn,selectNewOption:jt,clearAllNewOption:bn}}const MINIMUM_INPUT_WIDTH=11,useSelect$1=(xe,$e)=>{const{t:Ie}=useLocale(),Fe=useNamespace("select"),Ue=useNamespace("input"),{form:qe,formItem:At}=useFormItem(),{inputId:Dt}=useFormItemInputId(xe,{formItemContext:At}),{aliasProps:Lt,getLabel:jt,getValue:hn,getDisabled:vn,getOptions:bn}=useProps(xe),{valueOnClear:_n,isEmptyValue:wn}=useEmptyValues(xe),kn=reactive({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),Cn=ref(-1),Sn=ref(null),xn=ref(null),En=ref(null),Tn=ref(null),An=ref(null),$n=ref(null),Pn=ref(null),Nn=ref(null),Mn=ref(null),In=ref(null),On=ref(null),{wrapperRef:Rn,isFocused:Bn,handleFocus:Vn,handleBlur:Ln}=useFocusController(An,{afterFocus(){xe.automaticDropdown&&!Fn.value&&(Fn.value=!0,kn.menuVisibleOnFocus=!0)},beforeBlur(Ir){var Xr,to;return((Xr=En.value)==null?void 0:Xr.isFocusInsideContent(Ir))||((to=Tn.value)==null?void 0:to.isFocusInsideContent(Ir))},afterBlur(){Fn.value=!1,kn.menuVisibleOnFocus=!1}}),Dn=ref([]),Hn=ref([]),Fn=ref(!1),zn=computed(()=>xe.disabled||(qe==null?void 0:qe.disabled)),jn=computed(()=>{const Ir=Hn.value.length*xe.itemHeight;return Ir>xe.height?xe.height:Ir}),Gn=computed(()=>xe.multiple?isArray$6(xe.modelValue)&&xe.modelValue.length>0:!wn(xe.modelValue)),Wn=computed(()=>xe.clearable&&!zn.value&&kn.inputHovering&&Gn.value),Xn=computed(()=>xe.remote&&xe.filterable?"":arrow_down_default),er=computed(()=>Xn.value&&Fe.is("reverse",Fn.value)),rr=computed(()=>(At==null?void 0:At.validateState)||""),Jn=computed(()=>ValidateComponentsMap[rr.value]),Yn=computed(()=>xe.remote?300:0),qn=computed(()=>xe.loading?xe.loadingText||Ie("el.select.loading"):xe.remote&&!kn.inputValue&&Dn.value.length===0?!1:xe.filterable&&kn.inputValue&&Dn.value.length>0&&Hn.value.length===0?xe.noMatchText||Ie("el.select.noMatch"):Dn.value.length===0?xe.noDataText||Ie("el.select.noData"):null),ar=Ir=>{const Xr=to=>{if(xe.filterable&&isFunction$5(xe.filterMethod)||xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod))return!0;const oo=new RegExp(escapeStringRegexp(Ir),"i");return Ir?oo.test(jt(to)||""):!0};return xe.loading?[]:[...kn.createdOptions,...xe.options].reduce((to,oo)=>{const co=bn(oo);if(isArray$6(co)){const wo=co.filter(Xr);wo.length>0&&to.push({label:jt(oo),type:"Group"},...wo)}else(xe.remote||Xr(oo))&&to.push(oo);return to},[])},tr=()=>{Dn.value=ar(""),Hn.value=ar(kn.inputValue)},or=computed(()=>{const Ir=new Map;return Dn.value.forEach((Xr,to)=>{Ir.set(Ur(hn(Xr)),{option:Xr,index:to})}),Ir}),sr=computed(()=>{const Ir=new Map;return Hn.value.forEach((Xr,to)=>{Ir.set(Ur(hn(Xr)),{option:Xr,index:to})}),Ir}),Kn=computed(()=>Hn.value.every(Ir=>vn(Ir))),Zn=useFormSize(),nr=computed(()=>Zn.value==="small"?"small":"default"),lr=()=>{var Ir;Cn.value=((Ir=Sn.value)==null?void 0:Ir.offsetWidth)||200},ir=()=>{if(!xn.value)return 0;const Ir=window.getComputedStyle(xn.value);return Number.parseFloat(Ir.gap||"6px")},kr=computed(()=>{const Ir=ir();return{maxWidth:`${On.value&&xe.maxCollapseTags===1?kn.selectionWidth-kn.collapseItemWidth-Ir:kn.selectionWidth}px`}}),Cr=computed(()=>({maxWidth:`${kn.selectionWidth}px`})),Er=computed(()=>({width:`${Math.max(kn.calculatorWidth,MINIMUM_INPUT_WIDTH)}px`})),dr=computed(()=>isArray$6(xe.modelValue)?xe.modelValue.length===0&&!kn.inputValue:xe.filterable?!kn.inputValue:!0),br=computed(()=>{var Ir;const Xr=(Ir=xe.placeholder)!=null?Ir:Ie("el.select.placeholder");return xe.multiple||!Gn.value?Xr:kn.selectedLabel}),_r=computed(()=>{var Ir,Xr;return(Xr=(Ir=En.value)==null?void 0:Ir.popperRef)==null?void 0:Xr.contentRef}),Pr=computed(()=>{if(xe.multiple){const Ir=xe.modelValue.length;if(xe.modelValue.length>0&&sr.value.has(xe.modelValue[Ir-1])){const{index:Xr}=sr.value.get(xe.modelValue[Ir-1]);return Xr}}else if(xe.modelValue&&sr.value.has(xe.modelValue)){const{index:Ir}=sr.value.get(xe.modelValue);return Ir}return-1}),gr=computed({get(){return Fn.value&&qn.value!==!1},set(Ir){Fn.value=Ir}}),xr=computed(()=>xe.multiple?xe.collapseTags?kn.cachedOptions.slice(0,xe.maxCollapseTags):kn.cachedOptions:[]),Rr=computed(()=>xe.multiple?xe.collapseTags?kn.cachedOptions.slice(xe.maxCollapseTags):[]:[]),{createNewOption:Hr,removeNewOption:Jr,selectNewOption:Gr,clearAllNewOption:$r}=useAllowCreate(xe,kn),{handleCompositionStart:Br,handleCompositionUpdate:Tr,handleCompositionEnd:cr}=useInput(Ir=>xo(Ir)),Sr=()=>{zn.value||(kn.menuVisibleOnFocus?kn.menuVisibleOnFocus=!1:Fn.value=!Fn.value)},Dr=()=>{kn.inputValue.length>0&&!Fn.value&&(Fn.value=!0),Hr(kn.inputValue),Lr(kn.inputValue)},mr=debounce(Dr,Yn.value),Lr=Ir=>{kn.previousQuery!==Ir&&(kn.previousQuery=Ir,xe.filterable&&isFunction$5(xe.filterMethod)?xe.filterMethod(Ir):xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)&&xe.remoteMethod(Ir),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Hn.value.length?nextTick(zr):nextTick($o))},zr=()=>{const Ir=Hn.value.filter(oo=>!oo.disabled&&oo.type!=="Group"),Xr=Ir.find(oo=>oo.created),to=Ir[0];kn.hoveringIndex=qr(Hn.value,Xr||to)},Vr=Ir=>{isEqual$1(xe.modelValue,Ir)||$e(CHANGE_EVENT,Ir)},Kr=Ir=>{$e(UPDATE_MODEL_EVENT,Ir),Vr(Ir),kn.previousValue=xe.multiple?String(Ir):Ir},qr=(Ir=[],Xr)=>{if(!isObject$8(Xr))return Ir.indexOf(Xr);const to=xe.valueKey;let oo=-1;return Ir.some((co,wo)=>get$1(co,to)===get$1(Xr,to)?(oo=wo,!0):!1),oo},Ur=Ir=>isObject$8(Ir)?get$1(Ir,xe.valueKey):Ir,uo=()=>{lr()},vo=()=>{kn.selectionWidth=xn.value.getBoundingClientRect().width},_o=()=>{kn.calculatorWidth=$n.value.getBoundingClientRect().width},Ao=()=>{kn.collapseItemWidth=On.value.getBoundingClientRect().width},ko=()=>{var Ir,Xr;(Xr=(Ir=En.value)==null?void 0:Ir.updatePopper)==null||Xr.call(Ir)},Do=()=>{var Ir,Xr;(Xr=(Ir=Tn.value)==null?void 0:Ir.updatePopper)==null||Xr.call(Ir)},Ro=Ir=>{if(xe.multiple){let Xr=xe.modelValue.slice();const to=qr(Xr,hn(Ir));to>-1?(Xr=[...Xr.slice(0,to),...Xr.slice(to+1)],kn.cachedOptions.splice(to,1),Jr(Ir)):(xe.multipleLimit<=0||Xr.length{let to=xe.modelValue.slice();const oo=qr(to,hn(Xr));oo>-1&&!zn.value&&(to=[...xe.modelValue.slice(0,oo),...xe.modelValue.slice(oo+1)],kn.cachedOptions.splice(oo,1),Kr(to),$e("remove-tag",hn(Xr)),Jr(Xr)),Ir.stopPropagation(),qo()},qo=()=>{var Ir;(Ir=An.value)==null||Ir.focus()},To=()=>{var Ir;(Ir=An.value)==null||Ir.blur()},So=()=>{kn.inputValue.length>0?kn.inputValue="":Fn.value=!1},yo=Ir=>findLastIndex(Ir,Xr=>!kn.cachedOptions.some(to=>hn(to)===Xr&&vn(to))),Zr=Ir=>{if(xe.multiple&&Ir.code!==EVENT_CODE.delete&&kn.inputValue.length===0){Ir.preventDefault();const Xr=xe.modelValue.slice(),to=yo(Xr);if(to<0)return;const oo=Xr[to];Xr.splice(to,1);const co=kn.cachedOptions[to];kn.cachedOptions.splice(to,1),Jr(co),Kr(Xr),$e("remove-tag",oo)}},Mr=()=>{let Ir;isArray$6(xe.modelValue)?Ir=[]:Ir=_n.value,xe.multiple?kn.cachedOptions=[]:kn.selectedLabel="",Fn.value=!1,Kr(Ir),$e("clear"),$r(),qo()},Or=(Ir,Xr=void 0)=>{const to=Hn.value;if(!["forward","backward"].includes(Ir)||zn.value||to.length<=0||Kn.value)return;if(!Fn.value)return Sr();Xr===void 0&&(Xr=kn.hoveringIndex);let oo=-1;Ir==="forward"?(oo=Xr+1,oo>=to.length&&(oo=0)):Ir==="backward"&&(oo=Xr-1,(oo<0||oo>=to.length)&&(oo=to.length-1));const co=to[oo];if(vn(co)||co.type==="Group")return Or(Ir,oo);kn.hoveringIndex=oo,ro(oo)},yr=()=>{if(Fn.value)~kn.hoveringIndex&&Hn.value[kn.hoveringIndex]&&Ro(Hn.value[kn.hoveringIndex]);else return Sr()},so=Ir=>{kn.hoveringIndex=Ir},$o=()=>{xe.multiple?kn.hoveringIndex=Hn.value.findIndex(Ir=>xe.modelValue.some(Xr=>Ur(Xr)===Ur(Ir))):kn.hoveringIndex=Hn.value.findIndex(Ir=>Ur(Ir)===Ur(xe.modelValue))},xo=Ir=>{if(kn.inputValue=Ir.target.value,xe.remote)mr();else return Dr()},ho=Ir=>{if(Fn.value=!1,Bn.value){const Xr=new FocusEvent("focus",Ir);Ln(Xr)}},po=()=>(kn.isBeforeHide=!1,nextTick(()=>{~Pr.value&&ro(kn.hoveringIndex)})),ro=Ir=>{Mn.value.scrollToItem(Ir)},Yr=Ir=>{const Xr=Ur(Ir);if(or.value.has(Xr)){const{option:to}=or.value.get(Xr);return to}return{[Lt.value.value]:Ir,[Lt.value.label]:Ir}},Qr=()=>{if(xe.multiple)if(xe.modelValue.length>0){kn.cachedOptions.length=0,kn.previousValue=xe.modelValue.toString();for(const Ir of xe.modelValue){const Xr=Yr(Ir);kn.cachedOptions.push(Xr)}}else kn.cachedOptions=[],kn.previousValue=void 0;else if(Gn.value){kn.previousValue=xe.modelValue;const Ir=Hn.value,Xr=Ir.findIndex(to=>Ur(hn(to))===Ur(xe.modelValue));~Xr?kn.selectedLabel=jt(Ir[Xr]):kn.selectedLabel=Ur(xe.modelValue)}else kn.selectedLabel="",kn.previousValue=void 0;$r(),lr()};return watch(Fn,Ir=>{Ir?Lr(""):(kn.inputValue="",kn.previousQuery=null,kn.isBeforeHide=!0,Hr("")),$e("visible-change",Ir)}),watch(()=>xe.modelValue,(Ir,Xr)=>{var to;(!Ir||xe.multiple&&Ir.toString()!==kn.previousValue||!xe.multiple&&Ur(Ir)!==Ur(kn.previousValue))&&Qr(),!isEqual$1(Ir,Xr)&&xe.validateEvent&&((to=At==null?void 0:At.validate)==null||to.call(At,"change").catch(oo=>void 0))},{deep:!0}),watch(()=>xe.options,()=>{const Ir=An.value;(!Ir||Ir&&document.activeElement!==Ir)&&Qr()},{deep:!0,flush:"post"}),watch(()=>Hn.value,()=>Mn.value&&nextTick(Mn.value.resetScrollTop)),watchEffect(()=>{kn.isBeforeHide||tr()}),watchEffect(()=>{const{valueKey:Ir,options:Xr}=xe,to=new Map;for(const oo of Xr){const co=hn(oo);let wo=co;if(isObject$8(wo)&&(wo=get$1(co,Ir)),to.get(wo))break;to.set(wo,!0)}}),onMounted(()=>{Qr()}),useResizeObserver(Sn,uo),useResizeObserver(xn,vo),useResizeObserver($n,_o),useResizeObserver(Mn,ko),useResizeObserver(Rn,ko),useResizeObserver(In,Do),useResizeObserver(On,Ao),{inputId:Dt,collapseTagSize:nr,currentPlaceholder:br,expanded:Fn,emptyText:qn,popupHeight:jn,debounce:Yn,allOptions:Dn,filteredOptions:Hn,iconComponent:Xn,iconReverse:er,tagStyle:kr,collapseTagStyle:Cr,inputStyle:Er,popperSize:Cn,dropdownMenuVisible:gr,hasModelValue:Gn,shouldShowPlaceholder:dr,selectDisabled:zn,selectSize:Zn,showClearBtn:Wn,states:kn,isFocused:Bn,nsSelect:Fe,nsInput:Ue,calculatorRef:$n,inputRef:An,menuRef:Mn,tagMenuRef:In,tooltipRef:En,tagTooltipRef:Tn,selectRef:Sn,wrapperRef:Rn,selectionRef:xn,prefixRef:Pn,suffixRef:Nn,collapseItemRef:On,popperRef:_r,validateState:rr,validateIcon:Jn,showTagList:xr,collapseTagList:Rr,debouncedOnInputChange:mr,deleteTag:Ko,getLabel:jt,getValue:hn,getDisabled:vn,getValueKey:Ur,handleBlur:Ln,handleClear:Mr,handleClickOutside:ho,handleDel:Zr,handleEsc:So,handleFocus:Vn,focus:qo,blur:To,handleMenuEnter:po,handleResize:uo,resetSelectionWidth:vo,resetCalculatorWidth:_o,updateTooltip:ko,updateTagTooltip:Do,updateOptions:tr,toggleMenu:Sr,scrollTo:ro,onInput:xo,onKeyboardNavigate:Or,onKeyboardSelect:yr,onSelect:Ro,onHover:so,handleCompositionStart:Br,handleCompositionEnd:cr,handleCompositionUpdate:Tr}},_sfc_main$L=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(xe,{emit:$e}){const Ie=computed(()=>{const{modelValue:Ue,multiple:qe}=xe,At=qe?[]:void 0;return isArray$6(Ue)?qe?Ue:At:qe?At:Ue}),Fe=useSelect$1(reactive({...toRefs(xe),modelValue:Ie}),$e);return provide(selectV2InjectionKey,{props:reactive({...toRefs(xe),height:Fe.popupHeight,modelValue:Ie}),tooltipRef:Fe.tooltipRef,onSelect:Fe.onSelect,onHover:Fe.onHover,onKeyboardNavigate:Fe.onKeyboardNavigate,onKeyboardSelect:Fe.onKeyboardSelect}),{...Fe,modelValue:Ie}}}),_hoisted_1$l=["id","autocomplete","aria-expanded","aria-label","disabled","readonly","name"],_hoisted_2$e=["textContent"],_hoisted_3$6={key:1};function _sfc_render$5(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tag"),Dt=resolveComponent("el-tooltip"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-select-menu"),hn=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([xe.nsSelect.b(),xe.nsSelect.m(xe.selectSize)]),onMouseenter:$e[14]||($e[14]=vn=>xe.states.inputHovering=!0),onMouseleave:$e[15]||($e[15]=vn=>xe.states.inputHovering=!1),onClick:$e[16]||($e[16]=withModifiers((...vn)=>xe.toggleMenu&&xe.toggleMenu(...vn),["prevent","stop"]))},[createVNode$1(Dt,{ref:"tooltipRef",visible:xe.dropdownMenuVisible,teleported:xe.teleported,"popper-class":[xe.nsSelect.e("popper"),xe.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":xe.popperOptions,"fallback-placements":xe.fallbackPlacements,effect:xe.effect,placement:xe.placement,pure:"",transition:`${xe.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:xe.persistent,onBeforeShow:xe.handleMenuEnter,onHide:$e[13]||($e[13]=vn=>xe.states.isBeforeHide=!1)},{default:withCtx(()=>[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([xe.nsSelect.e("wrapper"),xe.nsSelect.is("focused",xe.isFocused),xe.nsSelect.is("hovering",xe.states.inputHovering),xe.nsSelect.is("filterable",xe.filterable),xe.nsSelect.is("disabled",xe.selectDisabled)])},[xe.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(xe.nsSelect.e("prefix"))},[renderSlot(xe.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([xe.nsSelect.e("selection"),xe.nsSelect.is("near",xe.multiple&&!xe.$slots.prefix&&!!xe.modelValue.length)])},[xe.multiple?renderSlot(xe.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.showTagList,vn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(xe.getValue(vn)),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!xe.selectDisabled&&!xe.getDisabled(vn),size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.tagStyle),onClose:bn=>xe.deleteTag(bn,vn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:xe.getLabel(vn),value:xe.getValue(vn)},()=>[createTextVNode(toDisplayString(xe.getLabel(vn)),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),xe.collapseTags&&xe.modelValue.length>xe.maxCollapseTags?(openBlock(),createBlock(Dt,{key:0,ref:"tagTooltipRef",disabled:xe.dropdownMenuVisible||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:xe.effect,placement:"bottom",teleported:xe.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!1,size:xe.collapseTagSize,type:xe.tagType,style:normalizeStyle$1(xe.collapseTagStyle),"disable-transitions":""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))}," + "+toDisplayString(xe.modelValue.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(xe.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.collapseTagList,vn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(xe.getValue(vn)),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{class:"in-tooltip",closable:!xe.selectDisabled&&!xe.getDisabled(vn),size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",onClose:bn=>xe.deleteTag(bn,vn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:xe.getLabel(vn),value:xe.getValue(vn)},()=>[createTextVNode(toDisplayString(xe.getLabel(vn)),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),xe.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("input-wrapper"),xe.nsSelect.is("hidden",!xe.filterable)])},[withDirectives(createBaseVNode("input",{id:xe.inputId,ref:"inputRef","onUpdate:modelValue":$e[0]||($e[0]=vn=>xe.states.inputValue=vn),style:normalizeStyle$1(xe.inputStyle),autocomplete:xe.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":xe.expanded,"aria-label":xe.ariaLabel,class:normalizeClass([xe.nsSelect.e("input"),xe.nsSelect.is(xe.selectSize)]),disabled:xe.selectDisabled,role:"combobox",readonly:!xe.filterable,spellcheck:"false",type:"text",name:xe.name,onFocus:$e[1]||($e[1]=(...vn)=>xe.handleFocus&&xe.handleFocus(...vn)),onBlur:$e[2]||($e[2]=(...vn)=>xe.handleBlur&&xe.handleBlur(...vn)),onInput:$e[3]||($e[3]=(...vn)=>xe.onInput&&xe.onInput(...vn)),onCompositionstart:$e[4]||($e[4]=(...vn)=>xe.handleCompositionStart&&xe.handleCompositionStart(...vn)),onCompositionupdate:$e[5]||($e[5]=(...vn)=>xe.handleCompositionUpdate&&xe.handleCompositionUpdate(...vn)),onCompositionend:$e[6]||($e[6]=(...vn)=>xe.handleCompositionEnd&&xe.handleCompositionEnd(...vn)),onKeydown:[$e[7]||($e[7]=withKeys(withModifiers(vn=>xe.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),$e[8]||($e[8]=withKeys(withModifiers(vn=>xe.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),$e[9]||($e[9]=withKeys(withModifiers((...vn)=>xe.onKeyboardSelect&&xe.onKeyboardSelect(...vn),["stop","prevent"]),["enter"])),$e[10]||($e[10]=withKeys(withModifiers((...vn)=>xe.handleEsc&&xe.handleEsc(...vn),["stop","prevent"]),["esc"])),$e[11]||($e[11]=withKeys(withModifiers((...vn)=>xe.handleDel&&xe.handleDel(...vn),["stop"]),["delete"]))],onClick:$e[12]||($e[12]=withModifiers((...vn)=>xe.toggleMenu&&xe.toggleMenu(...vn),["stop"]))},null,46,_hoisted_1$l),[[vModelText,xe.states.inputValue]]),xe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(xe.nsSelect.e("input-calculator")),textContent:toDisplayString(xe.states.inputValue)},null,10,_hoisted_2$e)):createCommentVNode("v-if",!0)],2)),xe.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("placeholder"),xe.nsSelect.is("transparent",!xe.hasModelValue||xe.expanded&&!xe.states.inputValue)])},[xe.hasModelValue?renderSlot(xe.$slots,"label",{key:0,label:xe.currentPlaceholder,value:xe.modelValue},()=>[createBaseVNode("span",null,toDisplayString(xe.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$6,toDisplayString(xe.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(xe.nsSelect.e("suffix"))},[xe.iconComponent?withDirectives((openBlock(),createBlock(Lt,{key:0,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsInput.e("icon"),xe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])),[[vShow,!xe.showClearBtn]]):createCommentVNode("v-if",!0),xe.showClearBtn&&xe.clearIcon?(openBlock(),createBlock(Lt,{key:1,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsInput.e("icon")]),onClick:withModifiers(xe.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.validateState&&xe.validateIcon?(openBlock(),createBlock(Lt,{key:2,class:normalizeClass([xe.nsInput.e("icon"),xe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode$1(jt,{ref:"menuRef",data:xe.filteredOptions,width:xe.popperSize,"hovering-index":xe.states.hoveringIndex,"scrollbar-always-on":xe.scrollbarAlwaysOn},createSlots({default:withCtx(vn=>[renderSlot(xe.$slots,"default",normalizeProps(guardReactiveProps(vn)))]),_:2},[xe.$slots.header?{name:"header",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","header"))},[renderSlot(xe.$slots,"header")],2)])}:void 0,xe.$slots.loading&&xe.loading?{name:"loading",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","loading"))},[renderSlot(xe.$slots,"loading")],2)])}:xe.loading||xe.filteredOptions.length===0?{name:"empty",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","empty"))},[renderSlot(xe.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(xe.emptyText),1)])],2)])}:void 0,xe.$slots.footer?{name:"footer",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","footer"))},[renderSlot(xe.$slots,"footer")],2)])}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","onBeforeShow"])],34)),[[hn,xe.handleClickOutside,xe.popperRef]])}var Select=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$5],["__file","select.vue"]]);Select.install=xe=>{xe.component(Select.name,Select)};const _Select=Select,ElSelectV2=_Select,skeletonProps=buildProps({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),__default__$B=defineComponent({name:"ElSkeletonItem"}),_sfc_main$K=defineComponent({...__default__$B,props:skeletonItemProps,setup(xe){const $e=useNamespace("skeleton");return(Ie,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).e("item"),unref($e).e(Ie.variant)])},[Ie.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$1(_sfc_main$K,[["__file","skeleton-item.vue"]]);const __default__$A=defineComponent({name:"ElSkeleton"}),_sfc_main$J=defineComponent({...__default__$A,props:skeletonProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("skeleton"),Ue=useThrottleRender(toRef(Ie,"loading"),Ie.throttle);return $e({uiLoading:Ue}),(qe,At)=>unref(Ue)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(Fe).b(),unref(Fe).is("animated",qe.animated)]},qe.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.count,Dt=>(openBlock(),createElementBlock(Fragment,{key:Dt},[qe.loading?renderSlot(qe.$slots,"template",{key:Dt},()=>[createVNode$1(SkeletonItem,{class:normalizeClass(unref(Fe).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.rows,Lt=>(openBlock(),createBlock(SkeletonItem,{key:Lt,class:normalizeClass([unref(Fe).e("paragraph"),unref(Fe).is("last",Lt===qe.rows&&qe.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(qe.$slots,"default",normalizeProps(mergeProps({key:1},qe.$attrs)))}});var Skeleton=_export_sfc$1(_sfc_main$J,[["__file","skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton,{SkeletonItem}),ElSkeletonItem=withNoopInstall(SkeletonItem),sliderContextKey=Symbol("sliderContextKey"),sliderProps=buildProps({modelValue:{type:definePropType([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:useSizeProp,inputSize:useSizeProp,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:definePropType(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:definePropType(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ee,default:"top"},marks:{type:definePropType(Object)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),isValidValue$1=xe=>isNumber$1(xe)||isArray$6(xe)&&xe.every(isNumber$1),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=(xe,$e,Ie)=>{const Fe=ref();return onMounted(async()=>{xe.range?(Array.isArray(xe.modelValue)?($e.firstValue=Math.max(xe.min,xe.modelValue[0]),$e.secondValue=Math.min(xe.max,xe.modelValue[1])):($e.firstValue=xe.min,$e.secondValue=xe.max),$e.oldValue=[$e.firstValue,$e.secondValue]):(typeof xe.modelValue!="number"||Number.isNaN(xe.modelValue)?$e.firstValue=xe.min:$e.firstValue=Math.min(xe.max,Math.max(xe.min,xe.modelValue)),$e.oldValue=$e.firstValue),useEventListener(window,"resize",Ie),await nextTick(),Ie()}),{sliderWrapper:Fe}},useMarks=xe=>computed(()=>xe.marks?Object.keys(xe.marks).map(Number.parseFloat).sort((Ie,Fe)=>Ie-Fe).filter(Ie=>Ie<=xe.max&&Ie>=xe.min).map(Ie=>({point:Ie,position:(Ie-xe.min)*100/(xe.max-xe.min),mark:xe.marks[Ie]})):[]),useSlide=(xe,$e,Ie)=>{const{form:Fe,formItem:Ue}=useFormItem(),qe=shallowRef(),At=ref(),Dt=ref(),Lt={firstButton:At,secondButton:Dt},jt=computed(()=>xe.disabled||(Fe==null?void 0:Fe.disabled)||!1),hn=computed(()=>Math.min($e.firstValue,$e.secondValue)),vn=computed(()=>Math.max($e.firstValue,$e.secondValue)),bn=computed(()=>xe.range?`${100*(vn.value-hn.value)/(xe.max-xe.min)}%`:`${100*($e.firstValue-xe.min)/(xe.max-xe.min)}%`),_n=computed(()=>xe.range?`${100*(hn.value-xe.min)/(xe.max-xe.min)}%`:"0%"),wn=computed(()=>xe.vertical?{height:xe.height}:{}),kn=computed(()=>xe.vertical?{height:bn.value,bottom:_n.value}:{width:bn.value,left:_n.value}),Cn=()=>{qe.value&&($e.sliderSize=qe.value[`client${xe.vertical?"Height":"Width"}`])},Sn=On=>{const Rn=xe.min+On*(xe.max-xe.min)/100;if(!xe.range)return At;let Bn;return Math.abs(hn.value-Rn)$e.secondValue?"firstButton":"secondButton",Lt[Bn]},xn=On=>{const Rn=Sn(On);return Rn.value.setPosition(On),Rn},En=On=>{$e.firstValue=On,An(xe.range?[hn.value,vn.value]:On)},Tn=On=>{$e.secondValue=On,xe.range&&An([hn.value,vn.value])},An=On=>{Ie(UPDATE_MODEL_EVENT,On),Ie(INPUT_EVENT,On)},$n=async()=>{await nextTick(),Ie(CHANGE_EVENT,xe.range?[hn.value,vn.value]:xe.modelValue)},Pn=On=>{var Rn,Bn,Vn,Ln,Dn,Hn;if(jt.value||$e.dragging)return;Cn();let Fn=0;if(xe.vertical){const zn=(Vn=(Bn=(Rn=On.touches)==null?void 0:Rn.item(0))==null?void 0:Bn.clientY)!=null?Vn:On.clientY;Fn=(qe.value.getBoundingClientRect().bottom-zn)/$e.sliderSize*100}else{const zn=(Hn=(Dn=(Ln=On.touches)==null?void 0:Ln.item(0))==null?void 0:Dn.clientX)!=null?Hn:On.clientX,jn=qe.value.getBoundingClientRect().left;Fn=(zn-jn)/$e.sliderSize*100}if(!(Fn<0||Fn>100))return xn(Fn)};return{elFormItem:Ue,slider:qe,firstButton:At,secondButton:Dt,sliderDisabled:jt,minValue:hn,maxValue:vn,runwayStyle:wn,barStyle:kn,resetSize:Cn,setPosition:xn,emitChange:$n,onSliderWrapperPrevent:On=>{var Rn,Bn;((Rn=Lt.firstButton.value)!=null&&Rn.dragging||(Bn=Lt.secondButton.value)!=null&&Bn.dragging)&&On.preventDefault()},onSliderClick:On=>{Pn(On)&&$n()},onSliderDown:async On=>{const Rn=Pn(On);Rn&&(await nextTick(),Rn.value.onButtonDown(On))},setFirstValue:En,setSecondValue:Tn}},{left,down,right,up,home,end:end$1,pageUp,pageDown}=EVENT_CODE,useTooltip=(xe,$e,Ie)=>{const Fe=ref(),Ue=ref(!1),qe=computed(()=>$e.value instanceof Function),At=computed(()=>qe.value&&$e.value(xe.modelValue)||xe.modelValue),Dt=debounce(()=>{Ie.value&&(Ue.value=!0)},50),Lt=debounce(()=>{Ie.value&&(Ue.value=!1)},50);return{tooltip:Fe,tooltipVisible:Ue,formatValue:At,displayTooltip:Dt,hideTooltip:Lt}},useSliderButton=(xe,$e,Ie)=>{const{disabled:Fe,min:Ue,max:qe,step:At,showTooltip:Dt,precision:Lt,sliderSize:jt,formatTooltip:hn,emitChange:vn,resetSize:bn,updateDragging:_n}=inject(sliderContextKey),{tooltip:wn,tooltipVisible:kn,formatValue:Cn,displayTooltip:Sn,hideTooltip:xn}=useTooltip(xe,hn,Dt),En=ref(),Tn=computed(()=>`${(xe.modelValue-Ue.value)/(qe.value-Ue.value)*100}%`),An=computed(()=>xe.vertical?{bottom:Tn.value}:{left:Tn.value}),$n=()=>{$e.hovering=!0,Sn()},Pn=()=>{$e.hovering=!1,$e.dragging||xn()},Nn=Wn=>{Fe.value||(Wn.preventDefault(),Fn(Wn),window.addEventListener("mousemove",zn),window.addEventListener("touchmove",zn),window.addEventListener("mouseup",jn),window.addEventListener("touchend",jn),window.addEventListener("contextmenu",jn),En.value.focus())},Mn=Wn=>{Fe.value||($e.newPosition=Number.parseFloat(Tn.value)+Wn/(qe.value-Ue.value)*100,Gn($e.newPosition),vn())},In=()=>{Mn(-At.value)},On=()=>{Mn(At.value)},Rn=()=>{Mn(-At.value*4)},Bn=()=>{Mn(At.value*4)},Vn=()=>{Fe.value||(Gn(0),vn())},Ln=()=>{Fe.value||(Gn(100),vn())},Dn=Wn=>{let Xn=!0;[left,down].includes(Wn.key)?In():[right,up].includes(Wn.key)?On():Wn.key===home?Vn():Wn.key===end$1?Ln():Wn.key===pageDown?Rn():Wn.key===pageUp?Bn():Xn=!1,Xn&&Wn.preventDefault()},Hn=Wn=>{let Xn,er;return Wn.type.startsWith("touch")?(er=Wn.touches[0].clientY,Xn=Wn.touches[0].clientX):(er=Wn.clientY,Xn=Wn.clientX),{clientX:Xn,clientY:er}},Fn=Wn=>{$e.dragging=!0,$e.isClick=!0;const{clientX:Xn,clientY:er}=Hn(Wn);xe.vertical?$e.startY=er:$e.startX=Xn,$e.startPosition=Number.parseFloat(Tn.value),$e.newPosition=$e.startPosition},zn=Wn=>{if($e.dragging){$e.isClick=!1,Sn(),bn();let Xn;const{clientX:er,clientY:rr}=Hn(Wn);xe.vertical?($e.currentY=rr,Xn=($e.startY-$e.currentY)/jt.value*100):($e.currentX=er,Xn=($e.currentX-$e.startX)/jt.value*100),$e.newPosition=$e.startPosition+Xn,Gn($e.newPosition)}},jn=()=>{$e.dragging&&(setTimeout(()=>{$e.dragging=!1,$e.hovering||xn(),$e.isClick||Gn($e.newPosition),vn()},0),window.removeEventListener("mousemove",zn),window.removeEventListener("touchmove",zn),window.removeEventListener("mouseup",jn),window.removeEventListener("touchend",jn),window.removeEventListener("contextmenu",jn))},Gn=async Wn=>{if(Wn===null||Number.isNaN(+Wn))return;Wn<0?Wn=0:Wn>100&&(Wn=100);const Xn=100/((qe.value-Ue.value)/At.value);let rr=Math.round(Wn/Xn)*Xn*(qe.value-Ue.value)*.01+Ue.value;rr=Number.parseFloat(rr.toFixed(Lt.value)),rr!==xe.modelValue&&Ie(UPDATE_MODEL_EVENT,rr),!$e.dragging&&xe.modelValue!==$e.oldValue&&($e.oldValue=xe.modelValue),await nextTick(),$e.dragging&&Sn(),wn.value.updatePopper()};return watch(()=>$e.dragging,Wn=>{_n(Wn)}),{disabled:Fe,button:En,tooltip:wn,tooltipVisible:kn,showTooltip:Dt,wrapperStyle:An,formatValue:Cn,handleMouseEnter:$n,handleMouseLeave:Pn,onButtonDown:Nn,onKeyDown:Dn,setPosition:Gn}},useStops=(xe,$e,Ie,Fe)=>({stops:computed(()=>{if(!xe.showStops||xe.min>xe.max)return[];if(xe.step===0)return[];const At=(xe.max-xe.min)/xe.step,Dt=100*xe.step/(xe.max-xe.min),Lt=Array.from({length:At-1}).map((jt,hn)=>(hn+1)*Dt);return xe.range?Lt.filter(jt=>jt<100*(Ie.value-xe.min)/(xe.max-xe.min)||jt>100*(Fe.value-xe.min)/(xe.max-xe.min)):Lt.filter(jt=>jt>100*($e.firstValue-xe.min)/(xe.max-xe.min))}),getStopStyle:At=>xe.vertical?{bottom:`${At}%`}:{left:`${At}%`}}),useWatch=(xe,$e,Ie,Fe,Ue,qe)=>{const At=jt=>{Ue(UPDATE_MODEL_EVENT,jt),Ue(INPUT_EVENT,jt)},Dt=()=>xe.range?![Ie.value,Fe.value].every((jt,hn)=>jt===$e.oldValue[hn]):xe.modelValue!==$e.oldValue,Lt=()=>{var jt,hn;xe.min>xe.max&&throwError$1("Slider","min should not be greater than max.");const vn=xe.modelValue;xe.range&&Array.isArray(vn)?vn[1]xe.max?At([xe.max,xe.max]):vn[0]xe.max?At([vn[0],xe.max]):($e.firstValue=vn[0],$e.secondValue=vn[1],Dt()&&(xe.validateEvent&&((jt=qe==null?void 0:qe.validate)==null||jt.call(qe,"change").catch(bn=>void 0)),$e.oldValue=vn.slice())):!xe.range&&typeof vn=="number"&&!Number.isNaN(vn)&&(vnxe.max?At(xe.max):($e.firstValue=vn,Dt()&&(xe.validateEvent&&((hn=qe==null?void 0:qe.validate)==null||hn.call(qe,"change").catch(bn=>void 0)),$e.oldValue=vn)))};Lt(),watch(()=>$e.dragging,jt=>{jt||Lt()}),watch(()=>xe.modelValue,(jt,hn)=>{$e.dragging||Array.isArray(jt)&&Array.isArray(hn)&&jt.every((vn,bn)=>vn===hn[bn])&&$e.firstValue===jt[0]&&$e.secondValue===jt[1]||Lt()},{deep:!0}),watch(()=>[xe.min,xe.max],()=>{Lt()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)},_hoisted_1$k=["tabindex"],__default__$z=defineComponent({name:"ElSliderButton"}),_sfc_main$I=defineComponent({...__default__$z,props:sliderButtonProps,emits:sliderButtonEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("slider"),qe=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:Fe.modelValue}),{disabled:At,button:Dt,tooltip:Lt,showTooltip:jt,tooltipVisible:hn,wrapperStyle:vn,formatValue:bn,handleMouseEnter:_n,handleMouseLeave:wn,onButtonDown:kn,onKeyDown:Cn,setPosition:Sn}=useSliderButton(Fe,qe,Ie),{hovering:xn,dragging:En}=toRefs(qe);return $e({onButtonDown:kn,onKeyDown:Cn,setPosition:Sn,hovering:xn,dragging:En}),(Tn,An)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:Dt,class:normalizeClass([unref(Ue).e("button-wrapper"),{hover:unref(xn),dragging:unref(En)}]),style:normalizeStyle$1(unref(vn)),tabindex:unref(At)?-1:0,onMouseenter:An[0]||(An[0]=(...$n)=>unref(_n)&&unref(_n)(...$n)),onMouseleave:An[1]||(An[1]=(...$n)=>unref(wn)&&unref(wn)(...$n)),onMousedown:An[2]||(An[2]=(...$n)=>unref(kn)&&unref(kn)(...$n)),onTouchstart:An[3]||(An[3]=(...$n)=>unref(kn)&&unref(kn)(...$n)),onFocus:An[4]||(An[4]=(...$n)=>unref(_n)&&unref(_n)(...$n)),onBlur:An[5]||(An[5]=(...$n)=>unref(wn)&&unref(wn)(...$n)),onKeydown:An[6]||(An[6]=(...$n)=>unref(Cn)&&unref(Cn)(...$n))},[createVNode$1(unref(ElTooltip),{ref_key:"tooltip",ref:Lt,visible:unref(hn),placement:Tn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":Tn.tooltipClass,disabled:!unref(jt),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString(unref(bn)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(Ue).e("button"),{hover:unref(xn),dragging:unref(En)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$k))}});var SliderButton=_export_sfc$1(_sfc_main$I,[["__file","button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(xe){const $e=useNamespace("slider"),Ie=computed(()=>isString$4(xe.mark)?xe.mark:xe.mark.label),Fe=computed(()=>isString$4(xe.mark)?void 0:xe.mark.style);return()=>h$5("div",{class:$e.e("marks-text"),style:Fe.value},Ie.value)}});const _hoisted_1$j=["id","role","aria-label","aria-labelledby"],_hoisted_2$d={key:1},__default__$y=defineComponent({name:"ElSlider"}),_sfc_main$H=defineComponent({...__default__$y,props:sliderProps,emits:sliderEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("slider"),{t:qe}=useLocale(),At=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:Dt,slider:Lt,firstButton:jt,secondButton:hn,sliderDisabled:vn,minValue:bn,maxValue:_n,runwayStyle:wn,barStyle:kn,resetSize:Cn,emitChange:Sn,onSliderWrapperPrevent:xn,onSliderClick:En,onSliderDown:Tn,setFirstValue:An,setSecondValue:$n}=useSlide(Fe,At,Ie),{stops:Pn,getStopStyle:Nn}=useStops(Fe,At,bn,_n),{inputId:Mn,isLabeledByFormItem:In}=useFormItemInputId(Fe,{formItemContext:Dt}),On=useFormSize(),Rn=computed(()=>Fe.inputSize||On.value),Bn=computed(()=>Fe.label||Fe.ariaLabel||qe("el.slider.defaultLabel",{min:Fe.min,max:Fe.max})),Vn=computed(()=>Fe.range?Fe.rangeStartLabel||qe("el.slider.defaultRangeStartLabel"):Bn.value),Ln=computed(()=>Fe.formatValueText?Fe.formatValueText(Wn.value):`${Wn.value}`),Dn=computed(()=>Fe.rangeEndLabel||qe("el.slider.defaultRangeEndLabel")),Hn=computed(()=>Fe.formatValueText?Fe.formatValueText(Xn.value):`${Xn.value}`),Fn=computed(()=>[Ue.b(),Ue.m(On.value),Ue.is("vertical",Fe.vertical),{[Ue.m("with-input")]:Fe.showInput}]),zn=useMarks(Fe);useWatch(Fe,At,bn,_n,Ie,Dt);const jn=computed(()=>{const Jn=[Fe.min,Fe.max,Fe.step].map(Yn=>{const qn=`${Yn}`.split(".")[1];return qn?qn.length:0});return Math.max.apply(null,Jn)}),{sliderWrapper:Gn}=useLifecycle(Fe,At,Cn),{firstValue:Wn,secondValue:Xn,sliderSize:er}=toRefs(At),rr=Jn=>{At.dragging=Jn};return provide(sliderContextKey,{...toRefs(Fe),sliderSize:er,disabled:vn,precision:jn,emitChange:Sn,resetSize:Cn,updateDragging:rr}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-slider",ref:"https://element-plus.org/en-US/component/slider.html"},computed(()=>!!Fe.label)),$e({onSliderClick:En}),(Jn,Yn)=>{var qn,ar;return openBlock(),createElementBlock("div",{id:Jn.range?unref(Mn):void 0,ref_key:"sliderWrapper",ref:Gn,class:normalizeClass(unref(Fn)),role:Jn.range?"group":void 0,"aria-label":Jn.range&&!unref(In)?unref(Bn):void 0,"aria-labelledby":Jn.range&&unref(In)?(qn=unref(Dt))==null?void 0:qn.labelId:void 0,onTouchstart:Yn[2]||(Yn[2]=(...tr)=>unref(xn)&&unref(xn)(...tr)),onTouchmove:Yn[3]||(Yn[3]=(...tr)=>unref(xn)&&unref(xn)(...tr))},[createBaseVNode("div",{ref_key:"slider",ref:Lt,class:normalizeClass([unref(Ue).e("runway"),{"show-input":Jn.showInput&&!Jn.range},unref(Ue).is("disabled",unref(vn))]),style:normalizeStyle$1(unref(wn)),onMousedown:Yn[0]||(Yn[0]=(...tr)=>unref(Tn)&&unref(Tn)(...tr)),onTouchstart:Yn[1]||(Yn[1]=(...tr)=>unref(Tn)&&unref(Tn)(...tr))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("bar")),style:normalizeStyle$1(unref(kn))},null,6),createVNode$1(SliderButton,{id:Jn.range?void 0:unref(Mn),ref_key:"firstButton",ref:jt,"model-value":unref(Wn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":Jn.range||!unref(In)?unref(Vn):void 0,"aria-labelledby":!Jn.range&&unref(In)?(ar=unref(Dt))==null?void 0:ar.labelId:void 0,"aria-valuemin":Jn.min,"aria-valuemax":Jn.range?unref(Xn):Jn.max,"aria-valuenow":unref(Wn),"aria-valuetext":unref(Ln),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref(vn),"onUpdate:modelValue":unref(An)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),Jn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:hn,"model-value":unref(Xn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":unref(Dn),"aria-valuemin":unref(Wn),"aria-valuemax":Jn.max,"aria-valuenow":unref(Xn),"aria-valuetext":unref(Hn),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref(vn),"onUpdate:modelValue":unref($n)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):createCommentVNode("v-if",!0),Jn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$d,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Pn),(tr,or)=>(openBlock(),createElementBlock("div",{key:or,class:normalizeClass(unref(Ue).e("stop")),style:normalizeStyle$1(unref(Nn)(tr))},null,6))),128))])):createCommentVNode("v-if",!0),unref(zn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(zn),(tr,or)=>(openBlock(),createElementBlock("div",{key:or,style:normalizeStyle$1(unref(Nn)(tr.position)),class:normalizeClass([unref(Ue).e("stop"),unref(Ue).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(zn),(tr,or)=>(openBlock(),createBlock(unref(SliderMarker),{key:or,mark:tr.mark,style:normalizeStyle$1(unref(Nn)(tr.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),Jn.showInput&&!Jn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Wn),class:normalizeClass(unref(Ue).e("input")),step:Jn.step,disabled:unref(vn),controls:Jn.showInputControls,min:Jn.min,max:Jn.max,debounce:Jn.debounce,size:unref(Rn),"onUpdate:modelValue":unref(An),onChange:unref(Sn)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$j)}}});var Slider=_export_sfc$1(_sfc_main$H,[["__file","slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(xe,{slots:$e}){const Ie=useNamespace("space"),Fe=computed(()=>`${xe.prefixCls||Ie.b()}__item`);return()=>h$5("div",{class:Fe.value},renderSlot($e,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(xe){const $e=useNamespace("space"),Ie=computed(()=>[$e.b(),$e.m(xe.direction),xe.class]),Fe=ref(0),Ue=ref(0),qe=computed(()=>{const Dt=xe.wrap||xe.fill?{flexWrap:"wrap"}:{},Lt={alignItems:xe.alignment},jt={rowGap:`${Ue.value}px`,columnGap:`${Fe.value}px`};return[Dt,Lt,jt,xe.style]}),At=computed(()=>xe.fill?{flexGrow:1,minWidth:`${xe.fillRatio}%`}:{});return watchEffect(()=>{const{size:Dt="small",wrap:Lt,direction:jt,fill:hn}=xe;if(isArray$6(Dt)){const[vn=0,bn=0]=Dt;Fe.value=vn,Ue.value=bn}else{let vn;isNumber$1(Dt)?vn=Dt:vn=SIZE_MAP[Dt||"small"]||SIZE_MAP.small,(Lt||hn)&&jt==="horizontal"?Fe.value=Ue.value=vn:jt==="horizontal"?(Fe.value=vn,Ue.value=0):(Ue.value=vn,Fe.value=0)}}),{classes:Ie,containerStyle:qe,itemStyle:At}}const spaceProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:definePropType([String,Object,Array]),default:""},style:{type:definePropType([String,Array,Object]),default:""},alignment:{type:definePropType(String),default:"center"},prefixCls:{type:String},spacer:{type:definePropType([Object,String,Number,Array]),default:null,validator:xe=>isVNode(xe)||isNumber$1(xe)||isString$4(xe)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:xe=>isNumber$1(xe)||isArray$6(xe)&&xe.length===2&&xe.every(isNumber$1)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(xe,{slots:$e}){const{classes:Ie,containerStyle:Fe,itemStyle:Ue}=useSpace(xe);function qe(At,Dt="",Lt=[]){const{prefixCls:jt}=xe;return At.forEach((hn,vn)=>{isFragment(hn)?isArray$6(hn.children)&&hn.children.forEach((bn,_n)=>{isFragment(bn)&&isArray$6(bn.children)?qe(bn.children,`${Dt+_n}-`,Lt):Lt.push(createVNode$1(SpaceItem,{style:Ue.value,prefixCls:jt,key:`nested-${Dt+_n}`},{default:()=>[bn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(hn)&&Lt.push(createVNode$1(SpaceItem,{style:Ue.value,prefixCls:jt,key:`LoopKey${Dt+vn}`},{default:()=>[hn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),Lt}return()=>{var At;const{spacer:Dt,direction:Lt}=xe,jt=renderSlot($e,"default",{key:0},()=>[]);if(((At=jt.children)!=null?At:[]).length===0)return null;if(isArray$6(jt.children)){let hn=qe(jt.children);if(Dt){const vn=hn.length-1;hn=hn.reduce((bn,_n,wn)=>{const kn=[...bn,_n];return wn!==vn&&kn.push(createVNode$1("span",{style:[Ue.value,Lt==="vertical"?"width: 100%":null],key:wn},[isVNode(Dt)?Dt:createTextVNode(Dt,PatchFlags.TEXT)],PatchFlags.STYLE)),kn},[])}return createVNode$1("div",{class:Ie.value,style:Fe.value},hn,PatchFlags.STYLE|PatchFlags.CLASS)}return jt.children}}}),ElSpace=withInstall(Space),statisticProps=buildProps({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:definePropType([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:definePropType([String,Object,Array])}}),__default__$x=defineComponent({name:"ElStatistic"}),_sfc_main$G=defineComponent({...__default__$x,props:statisticProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("statistic"),Ue=computed(()=>{const{value:qe,formatter:At,precision:Dt,decimalSeparator:Lt,groupSeparator:jt}=Ie;if(isFunction$5(At))return At(qe);if(!isNumber$1(qe))return qe;let[hn,vn=""]=String(qe).split(".");return vn=vn.padEnd(Dt,"0").slice(0,Dt>0?Dt:0),hn=hn.replace(/\B(?=(\d{3})+(?!\d))/g,jt),[hn,vn].join(vn?Lt:"")});return $e({displayValue:Ue}),(qe,At)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[qe.$slots.title||qe.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("head"))},[renderSlot(qe.$slots,"title",{},()=>[createTextVNode(toDisplayString(qe.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("content"))},[qe.$slots.prefix||qe.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("prefix"))},[renderSlot(qe.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString(qe.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("number")),style:normalizeStyle$1(qe.valueStyle)},toDisplayString(unref(Ue)),7),qe.$slots.suffix||qe.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).e("suffix"))},[renderSlot(qe.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString(qe.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$1(_sfc_main$G,[["__file","statistic.vue"]]);const ElStatistic=withInstall(Statistic),countdownProps=buildProps({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:definePropType([Number,Object]),default:0},valueStyle:{type:definePropType([String,Object,Array])}}),countdownEmits={finish:()=>!0,[CHANGE_EVENT]:xe=>isNumber$1(xe)},timeUnits$1=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],getTime$1=xe=>isNumber$1(xe)?new Date(xe).getTime():xe.valueOf(),formatTime$1=(xe,$e)=>{let Ie=xe;const Fe=/\[([^\]]*)]/g;return timeUnits$1.reduce((qe,[At,Dt])=>{const Lt=new RegExp(`${At}+(?![^\\[\\]]*\\])`,"g");if(Lt.test(qe)){const jt=Math.floor(Ie/Dt);return Ie-=jt*Dt,qe.replace(Lt,hn=>String(jt).padStart(hn.length,"0"))}return qe},$e).replace(Fe,"$1")},__default__$w=defineComponent({name:"ElCountdown"}),_sfc_main$F=defineComponent({...__default__$w,props:countdownProps,emits:countdownEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;let Ue;const qe=ref(getTime$1(Fe.value)-Date.now()),At=computed(()=>formatTime$1(qe.value,Fe.format)),Dt=hn=>formatTime$1(hn,Fe.format),Lt=()=>{Ue&&(cAF(Ue),Ue=void 0)},jt=()=>{const hn=getTime$1(Fe.value),vn=()=>{let bn=hn-Date.now();Ie("change",bn),bn<=0?(bn=0,Lt(),Ie("finish")):Ue=rAF(vn),qe.value=bn};Ue=rAF(vn)};return watch(()=>[Fe.value,Fe.format],()=>{Lt(),jt()},{immediate:!0}),onBeforeUnmount(()=>{Lt()}),$e({displayValue:At}),(hn,vn)=>(openBlock(),createBlock(unref(ElStatistic),{value:qe.value,title:hn.title,prefix:hn.prefix,suffix:hn.suffix,"value-style":hn.valueStyle,formatter:Dt},createSlots({_:2},[renderList(hn.$slots,(bn,_n)=>({name:_n,fn:withCtx(()=>[renderSlot(hn.$slots,_n)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$1(_sfc_main$F,[["__file","countdown.vue"]]);const ElCountdown=withInstall(Countdown),stepsProps=buildProps({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),stepsEmits={[CHANGE_EVENT]:(xe,$e)=>[xe,$e].every(isNumber$1)},__default__$v=defineComponent({name:"ElSteps"}),_sfc_main$E=defineComponent({...__default__$v,props:stepsProps,emits:stepsEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("steps"),{children:Ue,addChild:qe,removeChild:At}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(Ue,()=>{Ue.value.forEach((Dt,Lt)=>{Dt.setIndex(Lt)})}),provide("ElSteps",{props:Ie,steps:Ue,addStep:qe,removeStep:At}),watch(()=>Ie.active,(Dt,Lt)=>{$e(CHANGE_EVENT,Dt,Lt)}),(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(Dt.simple?"simple":Dt.direction)])},[renderSlot(Dt.$slots,"default")],2))}});var Steps=_export_sfc$1(_sfc_main$E,[["__file","steps.vue"]]);const stepProps=buildProps({title:{type:String,default:""},icon:{type:iconPropType},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),__default__$u=defineComponent({name:"ElStep"}),_sfc_main$D=defineComponent({...__default__$u,props:stepProps,setup(xe){const $e=xe,Ie=useNamespace("step"),Fe=ref(-1),Ue=ref({}),qe=ref(""),At=inject("ElSteps"),Dt=getCurrentInstance();onMounted(()=>{watch([()=>At.props.active,()=>At.props.processStatus,()=>At.props.finishStatus],([$n])=>{Tn($n)},{immediate:!0})}),onBeforeUnmount(()=>{At.removeStep(An.uid)});const Lt=computed(()=>$e.status||qe.value),jt=computed(()=>{const $n=At.steps.value[Fe.value-1];return $n?$n.currentStatus:"wait"}),hn=computed(()=>At.props.alignCenter),vn=computed(()=>At.props.direction==="vertical"),bn=computed(()=>At.props.simple),_n=computed(()=>At.steps.value.length),wn=computed(()=>{var $n;return(($n=At.steps.value[_n.value-1])==null?void 0:$n.uid)===(Dt==null?void 0:Dt.uid)}),kn=computed(()=>bn.value?"":At.props.space),Cn=computed(()=>[Ie.b(),Ie.is(bn.value?"simple":At.props.direction),Ie.is("flex",wn.value&&!kn.value&&!hn.value),Ie.is("center",hn.value&&!vn.value&&!bn.value)]),Sn=computed(()=>{const $n={flexBasis:isNumber$1(kn.value)?`${kn.value}px`:kn.value?kn.value:`${100/(_n.value-(hn.value?0:1))}%`};return vn.value||wn.value&&($n.maxWidth=`${100/_n.value}%`),$n}),xn=$n=>{Fe.value=$n},En=$n=>{const Pn=$n==="wait",Nn={transitionDelay:`${Pn?"-":""}${150*Fe.value}ms`},Mn=$n===At.props.processStatus||Pn?0:100;Nn.borderWidth=Mn&&!bn.value?"1px":0,Nn[At.props.direction==="vertical"?"height":"width"]=`${Mn}%`,Ue.value=Nn},Tn=$n=>{$n>Fe.value?qe.value=At.props.finishStatus:$n===Fe.value&&jt.value!=="error"?qe.value=At.props.processStatus:qe.value="wait";const Pn=At.steps.value[Fe.value-1];Pn&&Pn.calcProgress(qe.value)},An=reactive({uid:Dt.uid,currentStatus:Lt,setIndex:xn,calcProgress:En});return At.addStep(An),($n,Pn)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(Sn)),class:normalizeClass(unref(Cn))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(Ie).e("head"),unref(Ie).is(unref(Lt))])},[unref(bn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(Ie).e("line-inner")),style:normalizeStyle$1(Ue.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(Ie).e("icon"),unref(Ie).is($n.icon||$n.$slots.icon?"icon":"text")])},[renderSlot($n.$slots,"icon",{},()=>[$n.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ie).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($n.icon)))]),_:1},8,["class"])):unref(Lt)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ie).e("icon-inner"),unref(Ie).is("status")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):unref(Lt)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Ie).e("icon-inner"),unref(Ie).is("status")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])):unref(bn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(Ie).e("icon-inner"))},toDisplayString(Fe.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(Ie).e("title"),unref(Ie).is(unref(Lt))])},[renderSlot($n.$slots,"title",{},()=>[createTextVNode(toDisplayString($n.title),1)])],2),unref(bn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(Ie).e("description"),unref(Ie).is(unref(Lt))])},[renderSlot($n.$slots,"description",{},()=>[createTextVNode(toDisplayString($n.description),1)])],2))],2)],6))}});var Step=_export_sfc$1(_sfc_main$D,[["__file","item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},label:{type:String,default:void 0},...useAriaProps(["ariaLabel"])}),switchEmits={[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe),[CHANGE_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe),[INPUT_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe)},_hoisted_1$i=["onClick"],_hoisted_2$c=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$5=["aria-hidden"],_hoisted_4$3=["aria-hidden"],_hoisted_5$2=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$t=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$C=defineComponent({...__default__$t,props:switchProps,emits:switchEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{formItem:Ue}=useFormItem(),qe=useFormSize(),At=useNamespace("switch"),{inputId:Dt}=useFormItemInputId(Fe,{formItemContext:Ue}),Lt=useFormDisabled(computed(()=>Fe.loading)),jt=ref(Fe.modelValue!==!1),hn=ref(),vn=ref(),bn=computed(()=>[At.b(),At.m(qe.value),At.is("disabled",Lt.value),At.is("checked",Sn.value)]),_n=computed(()=>[At.e("label"),At.em("label","left"),At.is("active",!Sn.value)]),wn=computed(()=>[At.e("label"),At.em("label","right"),At.is("active",Sn.value)]),kn=computed(()=>({width:addUnit(Fe.width)}));watch(()=>Fe.modelValue,()=>{jt.value=!0});const Cn=computed(()=>jt.value?Fe.modelValue:!1),Sn=computed(()=>Cn.value===Fe.activeValue);[Fe.activeValue,Fe.inactiveValue].includes(Cn.value)||(Ie(UPDATE_MODEL_EVENT,Fe.inactiveValue),Ie(CHANGE_EVENT,Fe.inactiveValue),Ie(INPUT_EVENT,Fe.inactiveValue)),watch(Sn,An=>{var $n;hn.value.checked=An,Fe.validateEvent&&(($n=Ue==null?void 0:Ue.validate)==null||$n.call(Ue,"change").catch(Pn=>void 0))});const xn=()=>{const An=Sn.value?Fe.inactiveValue:Fe.activeValue;Ie(UPDATE_MODEL_EVENT,An),Ie(CHANGE_EVENT,An),Ie(INPUT_EVENT,An),nextTick(()=>{hn.value.checked=Sn.value})},En=()=>{if(Lt.value)return;const{beforeChange:An}=Fe;if(!An){xn();return}const $n=An();[isPromise($n),isBoolean($n)].includes(!0)||throwError$1(COMPONENT_NAME$8,"beforeChange must return type `Promise` or `boolean`"),isPromise($n)?$n.then(Nn=>{Nn&&xn()}).catch(Nn=>{}):$n&&xn()},Tn=()=>{var An,$n;($n=(An=hn.value)==null?void 0:An.focus)==null||$n.call(An)};return onMounted(()=>{hn.value.checked=Sn.value}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-switch",ref:"https://element-plus.org/en-US/component/switch.html"},computed(()=>!!Fe.label)),$e({focus:Tn,checked:Sn}),(An,$n)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(bn)),onClick:withModifiers(En,["prevent"])},[createBaseVNode("input",{id:unref(Dt),ref_key:"input",ref:hn,class:normalizeClass(unref(At).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Sn),"aria-disabled":unref(Lt),"aria-label":An.label||An.ariaLabel,name:An.name,"true-value":An.activeValue,"false-value":An.inactiveValue,disabled:unref(Lt),tabindex:An.tabindex,onChange:xn,onKeydown:withKeys(En,["enter"])},null,42,_hoisted_2$c),!An.inlinePrompt&&(An.inactiveIcon||An.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(_n))},[An.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!An.inactiveIcon&&An.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Sn)},toDisplayString(An.inactiveText),9,_hoisted_3$5)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:vn,class:normalizeClass(unref(At).e("core")),style:normalizeStyle$1(unref(kn))},[An.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(At).e("inner"))},[An.activeIcon||An.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Sn)?An.activeIcon:An.inactiveIcon)))]),_:1},8,["class"])):An.activeText||An.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(At).is("text")),"aria-hidden":!unref(Sn)},toDisplayString(unref(Sn)?An.activeText:An.inactiveText),11,_hoisted_4$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(At).e("action"))},[An.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])):unref(Sn)?renderSlot(An.$slots,"active-action",{key:1},()=>[An.activeActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.activeActionIcon)))]),_:1})):createCommentVNode("v-if",!0)]):unref(Sn)?createCommentVNode("v-if",!0):renderSlot(An.$slots,"inactive-action",{key:2},()=>[An.inactiveActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)])],2)],6),!An.inlinePrompt&&(An.activeIcon||An.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(wn))},[An.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!An.activeIcon&&An.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Sn)},toDisplayString(An.activeText),9,_hoisted_5$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],10,_hoisted_1$i))}});var Switch=_export_sfc$1(_sfc_main$C,[["__file","switch.vue"]]);const ElSwitch=withInstall(Switch),getCell=function(xe){var $e;return($e=xe.target)==null?void 0:$e.closest("td")},orderBy=function(xe,$e,Ie,Fe,Ue){if(!$e&&!Fe&&(!Ue||Array.isArray(Ue)&&!Ue.length))return xe;typeof Ie=="string"?Ie=Ie==="descending"?-1:1:Ie=Ie&&Ie<0?-1:1;const qe=Fe?null:function(Dt,Lt){return Ue?(Array.isArray(Ue)||(Ue=[Ue]),Ue.map(jt=>typeof jt=="string"?get$1(Dt,jt):jt(Dt,Lt,xe))):($e!=="$key"&&isObject$8(Dt)&&"$value"in Dt&&(Dt=Dt.$value),[isObject$8(Dt)?get$1(Dt,$e):Dt])},At=function(Dt,Lt){if(Fe)return Fe(Dt.value,Lt.value);for(let jt=0,hn=Dt.key.length;jtLt.key[jt])return 1}return 0};return xe.map((Dt,Lt)=>({value:Dt,index:Lt,key:qe?qe(Dt,Lt):null})).sort((Dt,Lt)=>{let jt=At(Dt,Lt);return jt||(jt=Dt.index-Lt.index),jt*+Ie}).map(Dt=>Dt.value)},getColumnById=function(xe,$e){let Ie=null;return xe.columns.forEach(Fe=>{Fe.id===$e&&(Ie=Fe)}),Ie},getColumnByKey=function(xe,$e){let Ie=null;for(let Fe=0;Fe{if(!xe)throw new Error("Row is required when get row identity");if(typeof $e=="string"){if(!$e.includes("."))return`${xe[$e]}`;const Ie=$e.split(".");let Fe=xe;for(const Ue of Ie)Fe=Fe[Ue];return`${Fe}`}else if(typeof $e=="function")return $e.call(null,xe)},getKeysMap=function(xe,$e){const Ie={};return(xe||[]).forEach((Fe,Ue)=>{Ie[getRowIdentity(Fe,$e)]={row:Fe,index:Ue}}),Ie};function mergeOptions(xe,$e){const Ie={};let Fe;for(Fe in xe)Ie[Fe]=xe[Fe];for(Fe in $e)if(hasOwn$1($e,Fe)){const Ue=$e[Fe];typeof Ue<"u"&&(Ie[Fe]=Ue)}return Ie}function parseWidth(xe){return xe===""||xe!==void 0&&(xe=Number.parseInt(xe,10),Number.isNaN(xe)&&(xe="")),xe}function parseMinWidth(xe){return xe===""||xe!==void 0&&(xe=parseWidth(xe),Number.isNaN(xe)&&(xe=80)),xe}function parseHeight(xe){return typeof xe=="number"?xe:typeof xe=="string"?/^\d+(?:px)?$/.test(xe)?Number.parseInt(xe,10):xe:null}function compose(...xe){return xe.length===0?$e=>$e:xe.length===1?xe[0]:xe.reduce(($e,Ie)=>(...Fe)=>$e(Ie(...Fe)))}function toggleRowStatus(xe,$e,Ie){let Fe=!1;const Ue=xe.indexOf($e),qe=Ue!==-1,At=Dt=>{Dt==="add"?xe.push($e):xe.splice(Ue,1),Fe=!0,isArray$6($e.children)&&$e.children.forEach(Lt=>{toggleRowStatus(xe,Lt,Ie??!qe)})};return isBoolean(Ie)?Ie&&!qe?At("add"):!Ie&&qe&&At("remove"):At(qe?"remove":"add"),Fe}function walkTreeNode(xe,$e,Ie="children",Fe="hasChildren"){const Ue=At=>!(Array.isArray(At)&&At.length);function qe(At,Dt,Lt){$e(At,Dt,Lt),Dt.forEach(jt=>{if(jt[Fe]){$e(jt,null,Lt+1);return}const hn=jt[Ie];Ue(hn)||qe(jt,hn,Lt+1)})}xe.forEach(At=>{if(At[Fe]){$e(At,null,0);return}const Dt=At[Ie];Ue(Dt)||qe(At,Dt,0)})}let removePopper=null;function createTablePopper(xe,$e,Ie,Fe){if((removePopper==null?void 0:removePopper.trigger)===Ie)return;removePopper==null||removePopper();const Ue=Fe==null?void 0:Fe.refs.tableWrapper,qe=Ue==null?void 0:Ue.dataset.prefix,At={strategy:"fixed",...xe.popperOptions},Dt=createVNode$1(ElTooltip,{content:$e,virtualTriggering:!0,virtualRef:Ie,appendTo:Ue,placement:"top",transition:"none",offset:0,hideAfter:0,...xe,popperOptions:At,onHide:()=>{removePopper==null||removePopper()}});Dt.appContext={...Fe.appContext,...Fe};const Lt=document.createElement("div");render$2(Dt,Lt),Dt.component.exposed.onOpen();const jt=Ue==null?void 0:Ue.querySelector(`.${qe}-scrollbar__wrap`);removePopper=()=>{render$2(null,Lt),jt==null||jt.removeEventListener("scroll",removePopper),removePopper=null},removePopper.trigger=Ie,jt==null||jt.addEventListener("scroll",removePopper)}function getCurrentColumns(xe){return xe.children?flatMap(xe.children,getCurrentColumns):[xe]}function getColSpan(xe,$e){return xe+$e.colSpan}const isFixedColumn=(xe,$e,Ie,Fe)=>{let Ue=0,qe=xe;const At=Ie.states.columns.value;if(Fe){const Lt=getCurrentColumns(Fe[xe]);Ue=At.slice(0,At.indexOf(Lt[0])).reduce(getColSpan,0),qe=Ue+Lt.reduce(getColSpan,0)-1}else Ue=xe;let Dt;switch($e){case"left":qe=At.length-Ie.states.rightFixedLeafColumnsLength.value&&(Dt="right");break;default:qe=At.length-Ie.states.rightFixedLeafColumnsLength.value&&(Dt="right")}return Dt?{direction:Dt,start:Ue,after:qe}:{}},getFixedColumnsClass=(xe,$e,Ie,Fe,Ue,qe=0)=>{const At=[],{direction:Dt,start:Lt,after:jt}=isFixedColumn($e,Ie,Fe,Ue);if(Dt){const hn=Dt==="left";At.push(`${xe}-fixed-column--${Dt}`),hn&&jt+qe===Fe.states.fixedLeafColumnsLength.value-1?At.push("is-last-column"):!hn&&Lt-qe===Fe.states.columns.value.length-Fe.states.rightFixedLeafColumnsLength.value&&At.push("is-first-column")}return At};function getOffset(xe,$e){return xe+($e.realWidth===null||Number.isNaN($e.realWidth)?Number($e.width):$e.realWidth)}const getFixedColumnOffset=(xe,$e,Ie,Fe)=>{const{direction:Ue,start:qe=0,after:At=0}=isFixedColumn(xe,$e,Ie,Fe);if(!Ue)return;const Dt={},Lt=Ue==="left",jt=Ie.states.columns.value;return Lt?Dt.left=jt.slice(0,qe).reduce(getOffset,0):Dt.right=jt.slice(At+1).reverse().reduce(getOffset,0),Dt},ensurePosition=(xe,$e)=>{xe&&(Number.isNaN(xe[$e])||(xe[$e]=`${xe[$e]}px`))};function useExpand(xe){const $e=getCurrentInstance(),Ie=ref(!1),Fe=ref([]);return{updateExpandRows:()=>{const Lt=xe.data.value||[],jt=xe.rowKey.value;if(Ie.value)Fe.value=Lt.slice();else if(jt){const hn=getKeysMap(Fe.value,jt);Fe.value=Lt.reduce((vn,bn)=>{const _n=getRowIdentity(bn,jt);return hn[_n]&&vn.push(bn),vn},[])}else Fe.value=[]},toggleRowExpansion:(Lt,jt)=>{toggleRowStatus(Fe.value,Lt,jt)&&$e.emit("expand-change",Lt,Fe.value.slice())},setExpandRowKeys:Lt=>{$e.store.assertRowKey();const jt=xe.data.value||[],hn=xe.rowKey.value,vn=getKeysMap(jt,hn);Fe.value=Lt.reduce((bn,_n)=>{const wn=vn[_n];return wn&&bn.push(wn.row),bn},[])},isRowExpanded:Lt=>{const jt=xe.rowKey.value;return jt?!!getKeysMap(Fe.value,jt)[getRowIdentity(Lt,jt)]:Fe.value.includes(Lt)},states:{expandRows:Fe,defaultExpandAll:Ie}}}function useCurrent(xe){const $e=getCurrentInstance(),Ie=ref(null),Fe=ref(null),Ue=jt=>{$e.store.assertRowKey(),Ie.value=jt,At(jt)},qe=()=>{Ie.value=null},At=jt=>{const{data:hn,rowKey:vn}=xe;let bn=null;vn.value&&(bn=(unref(hn)||[]).find(_n=>getRowIdentity(_n,vn.value)===jt)),Fe.value=bn,$e.emit("current-change",Fe.value,null)};return{setCurrentRowKey:Ue,restoreCurrentRowKey:qe,setCurrentRowByKey:At,updateCurrentRow:jt=>{const hn=Fe.value;if(jt&&jt!==hn){Fe.value=jt,$e.emit("current-change",Fe.value,hn);return}!jt&&hn&&(Fe.value=null,$e.emit("current-change",null,hn))},updateCurrentRowData:()=>{const jt=xe.rowKey.value,hn=xe.data.value||[],vn=Fe.value;if(!hn.includes(vn)&&vn){if(jt){const bn=getRowIdentity(vn,jt);At(bn)}else Fe.value=null;Fe.value===null&&$e.emit("current-change",null,vn)}else Ie.value&&(At(Ie.value),qe())},states:{_currentRowKey:Ie,currentRow:Fe}}}function useTree$2(xe){const $e=ref([]),Ie=ref({}),Fe=ref(16),Ue=ref(!1),qe=ref({}),At=ref("hasChildren"),Dt=ref("children"),Lt=getCurrentInstance(),jt=computed(()=>{if(!xe.rowKey.value)return{};const Sn=xe.data.value||[];return vn(Sn)}),hn=computed(()=>{const Sn=xe.rowKey.value,xn=Object.keys(qe.value),En={};return xn.length&&xn.forEach(Tn=>{if(qe.value[Tn].length){const An={children:[]};qe.value[Tn].forEach($n=>{const Pn=getRowIdentity($n,Sn);An.children.push(Pn),$n[At.value]&&!En[Pn]&&(En[Pn]={children:[]})}),En[Tn]=An}}),En}),vn=Sn=>{const xn=xe.rowKey.value,En={};return walkTreeNode(Sn,(Tn,An,$n)=>{const Pn=getRowIdentity(Tn,xn);Array.isArray(An)?En[Pn]={children:An.map(Nn=>getRowIdentity(Nn,xn)),level:$n}:Ue.value&&(En[Pn]={children:[],lazy:!0,level:$n})},Dt.value,At.value),En},bn=(Sn=!1,xn=(En=>(En=Lt.store)==null?void 0:En.states.defaultExpandAll.value)())=>{var En;const Tn=jt.value,An=hn.value,$n=Object.keys(Tn),Pn={};if($n.length){const Nn=unref(Ie),Mn=[],In=(Rn,Bn)=>{if(Sn)return $e.value?xn||$e.value.includes(Bn):!!(xn||Rn!=null&&Rn.expanded);{const Vn=xn||$e.value&&$e.value.includes(Bn);return!!(Rn!=null&&Rn.expanded||Vn)}};$n.forEach(Rn=>{const Bn=Nn[Rn],Vn={...Tn[Rn]};if(Vn.expanded=In(Bn,Rn),Vn.lazy){const{loaded:Ln=!1,loading:Dn=!1}=Bn||{};Vn.loaded=!!Ln,Vn.loading=!!Dn,Mn.push(Rn)}Pn[Rn]=Vn});const On=Object.keys(An);Ue.value&&On.length&&Mn.length&&On.forEach(Rn=>{const Bn=Nn[Rn],Vn=An[Rn].children;if(Mn.includes(Rn)){if(Pn[Rn].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Pn[Rn].children=Vn}else{const{loaded:Ln=!1,loading:Dn=!1}=Bn||{};Pn[Rn]={lazy:!0,loaded:!!Ln,loading:!!Dn,expanded:In(Bn,Rn),children:Vn,level:""}}})}Ie.value=Pn,(En=Lt.store)==null||En.updateTableScrollY()};watch(()=>$e.value,()=>{bn(!0)}),watch(()=>jt.value,()=>{bn()}),watch(()=>hn.value,()=>{bn()});const _n=Sn=>{$e.value=Sn,bn()},wn=(Sn,xn)=>{Lt.store.assertRowKey();const En=xe.rowKey.value,Tn=getRowIdentity(Sn,En),An=Tn&&Ie.value[Tn];if(Tn&&An&&"expanded"in An){const $n=An.expanded;xn=typeof xn>"u"?!An.expanded:xn,Ie.value[Tn].expanded=xn,$n!==xn&&Lt.emit("expand-change",Sn,xn),Lt.store.updateTableScrollY()}},kn=Sn=>{Lt.store.assertRowKey();const xn=xe.rowKey.value,En=getRowIdentity(Sn,xn),Tn=Ie.value[En];Ue.value&&Tn&&"loaded"in Tn&&!Tn.loaded?Cn(Sn,En,Tn):wn(Sn,void 0)},Cn=(Sn,xn,En)=>{const{load:Tn}=Lt.props;Tn&&!Ie.value[xn].loaded&&(Ie.value[xn].loading=!0,Tn(Sn,En,An=>{if(!Array.isArray(An))throw new TypeError("[ElTable] data must be an array");Ie.value[xn].loading=!1,Ie.value[xn].loaded=!0,Ie.value[xn].expanded=!0,An.length&&(qe.value[xn]=An),Lt.emit("expand-change",Sn,!0)}))};return{loadData:Cn,loadOrToggle:kn,toggleTreeExpansion:wn,updateTreeExpandKeys:_n,updateTreeData:bn,normalize:vn,states:{expandRowKeys:$e,treeData:Ie,indent:Fe,lazy:Ue,lazyTreeNodeMap:qe,lazyColumnIdentifier:At,childrenColumnName:Dt}}}const sortData=(xe,$e)=>{const Ie=$e.sortingColumn;return!Ie||typeof Ie.sortable=="string"?xe:orderBy(xe,$e.sortProp,$e.sortOrder,Ie.sortMethod,Ie.sortBy)},doFlattenColumns=xe=>{const $e=[];return xe.forEach(Ie=>{Ie.children&&Ie.children.length>0?$e.push.apply($e,doFlattenColumns(Ie.children)):$e.push(Ie)}),$e};function useWatcher$1(){var xe;const $e=getCurrentInstance(),{size:Ie}=toRefs((xe=$e.proxy)==null?void 0:xe.$props),Fe=ref(null),Ue=ref([]),qe=ref([]),At=ref(!1),Dt=ref([]),Lt=ref([]),jt=ref([]),hn=ref([]),vn=ref([]),bn=ref([]),_n=ref([]),wn=ref([]),kn=[],Cn=ref(0),Sn=ref(0),xn=ref(0),En=ref(!1),Tn=ref([]),An=ref(!1),$n=ref(!1),Pn=ref(null),Nn=ref({}),Mn=ref(null),In=ref(null),On=ref(null),Rn=ref(null),Bn=ref(null);watch(Ue,()=>$e.state&&Hn(!1),{deep:!0});const Vn=()=>{if(!Fe.value)throw new Error("[ElTable] prop row-key is required")},Ln=Gr=>{var $r;($r=Gr.children)==null||$r.forEach(Br=>{Br.fixed=Gr.fixed,Ln(Br)})},Dn=()=>{Dt.value.forEach(cr=>{Ln(cr)}),hn.value=Dt.value.filter(cr=>cr.fixed===!0||cr.fixed==="left"),vn.value=Dt.value.filter(cr=>cr.fixed==="right"),hn.value.length>0&&Dt.value[0]&&Dt.value[0].type==="selection"&&!Dt.value[0].fixed&&(Dt.value[0].fixed=!0,hn.value.unshift(Dt.value[0]));const Gr=Dt.value.filter(cr=>!cr.fixed);Lt.value=[].concat(hn.value).concat(Gr).concat(vn.value);const $r=doFlattenColumns(Gr),Br=doFlattenColumns(hn.value),Tr=doFlattenColumns(vn.value);Cn.value=$r.length,Sn.value=Br.length,xn.value=Tr.length,jt.value=[].concat(Br).concat($r).concat(Tr),At.value=hn.value.length>0||vn.value.length>0},Hn=(Gr,$r=!1)=>{Gr&&Dn(),$r?$e.state.doLayout():$e.state.debouncedUpdateLayout()},Fn=Gr=>Tn.value.includes(Gr),zn=()=>{En.value=!1;const Gr=Tn.value;Tn.value=[],Gr.length&&$e.emit("selection-change",[])},jn=()=>{let Gr;if(Fe.value){Gr=[];const $r=getKeysMap(Tn.value,Fe.value),Br=getKeysMap(Ue.value,Fe.value);for(const Tr in $r)hasOwn$1($r,Tr)&&!Br[Tr]&&Gr.push($r[Tr].row)}else Gr=Tn.value.filter($r=>!Ue.value.includes($r));if(Gr.length){const $r=Tn.value.filter(Br=>!Gr.includes(Br));Tn.value=$r,$e.emit("selection-change",$r.slice())}},Gn=()=>(Tn.value||[]).slice(),Wn=(Gr,$r=void 0,Br=!0)=>{if(toggleRowStatus(Tn.value,Gr,$r)){const cr=(Tn.value||[]).slice();Br&&$e.emit("select",cr,Gr),$e.emit("selection-change",cr)}},Xn=()=>{var Gr,$r;const Br=$n.value?!En.value:!(En.value||Tn.value.length);En.value=Br;let Tr=!1,cr=0;const Sr=($r=(Gr=$e==null?void 0:$e.store)==null?void 0:Gr.states)==null?void 0:$r.rowKey.value;Ue.value.forEach((Dr,mr)=>{const Lr=mr+cr;Pn.value?Pn.value.call(null,Dr,Lr)&&toggleRowStatus(Tn.value,Dr,Br)&&(Tr=!0):toggleRowStatus(Tn.value,Dr,Br)&&(Tr=!0),cr+=Jn(getRowIdentity(Dr,Sr))}),Tr&&$e.emit("selection-change",Tn.value?Tn.value.slice():[]),$e.emit("select-all",(Tn.value||[]).slice())},er=()=>{const Gr=getKeysMap(Tn.value,Fe.value);Ue.value.forEach($r=>{const Br=getRowIdentity($r,Fe.value),Tr=Gr[Br];Tr&&(Tn.value[Tr.index]=$r)})},rr=()=>{var Gr,$r,Br;if(((Gr=Ue.value)==null?void 0:Gr.length)===0){En.value=!1;return}let Tr;Fe.value&&(Tr=getKeysMap(Tn.value,Fe.value));const cr=function(Lr){return Tr?!!Tr[getRowIdentity(Lr,Fe.value)]:Tn.value.includes(Lr)};let Sr=!0,Dr=0,mr=0;for(let Lr=0,zr=(Ue.value||[]).length;Lr{var $r;if(!$e||!$e.store)return 0;const{treeData:Br}=$e.store.states;let Tr=0;const cr=($r=Br.value[Gr])==null?void 0:$r.children;return cr&&(Tr+=cr.length,cr.forEach(Sr=>{Tr+=Jn(Sr)})),Tr},Yn=(Gr,$r)=>{Array.isArray(Gr)||(Gr=[Gr]);const Br={};return Gr.forEach(Tr=>{Nn.value[Tr.id]=$r,Br[Tr.columnKey||Tr.id]=$r}),Br},qn=(Gr,$r,Br)=>{In.value&&In.value!==Gr&&(In.value.order=null),In.value=Gr,On.value=$r,Rn.value=Br},ar=()=>{let Gr=unref(qe);Object.keys(Nn.value).forEach($r=>{const Br=Nn.value[$r];if(!Br||Br.length===0)return;const Tr=getColumnById({columns:jt.value},$r);Tr&&Tr.filterMethod&&(Gr=Gr.filter(cr=>Br.some(Sr=>Tr.filterMethod.call(null,Sr,cr,Tr))))}),Mn.value=Gr},tr=()=>{Ue.value=sortData(Mn.value,{sortingColumn:In.value,sortProp:On.value,sortOrder:Rn.value})},or=(Gr=void 0)=>{Gr&&Gr.filter||ar(),tr()},sr=Gr=>{const{tableHeaderRef:$r}=$e.refs;if(!$r)return;const Br=Object.assign({},$r.filterPanels),Tr=Object.keys(Br);if(Tr.length)if(typeof Gr=="string"&&(Gr=[Gr]),Array.isArray(Gr)){const cr=Gr.map(Sr=>getColumnByKey({columns:jt.value},Sr));Tr.forEach(Sr=>{const Dr=cr.find(mr=>mr.id===Sr);Dr&&(Dr.filteredValue=[])}),$e.store.commit("filterChange",{column:cr,values:[],silent:!0,multi:!0})}else Tr.forEach(cr=>{const Sr=jt.value.find(Dr=>Dr.id===cr);Sr&&(Sr.filteredValue=[])}),Nn.value={},$e.store.commit("filterChange",{column:{},values:[],silent:!0})},Kn=()=>{In.value&&(qn(null,null,null),$e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Zn,toggleRowExpansion:nr,updateExpandRows:lr,states:ir,isRowExpanded:kr}=useExpand({data:Ue,rowKey:Fe}),{updateTreeExpandKeys:Cr,toggleTreeExpansion:Er,updateTreeData:dr,loadOrToggle:br,states:_r}=useTree$2({data:Ue,rowKey:Fe}),{updateCurrentRowData:Pr,updateCurrentRow:gr,setCurrentRowKey:xr,states:Rr}=useCurrent({data:Ue,rowKey:Fe});return{assertRowKey:Vn,updateColumns:Dn,scheduleLayout:Hn,isSelected:Fn,clearSelection:zn,cleanSelection:jn,getSelectionRows:Gn,toggleRowSelection:Wn,_toggleAllSelection:Xn,toggleAllSelection:null,updateSelectionByRowKey:er,updateAllSelected:rr,updateFilters:Yn,updateCurrentRow:gr,updateSort:qn,execFilter:ar,execSort:tr,execQuery:or,clearFilter:sr,clearSort:Kn,toggleRowExpansion:nr,setExpandRowKeysAdapter:Gr=>{Zn(Gr),Cr(Gr)},setCurrentRowKey:xr,toggleRowExpansionAdapter:(Gr,$r)=>{jt.value.some(({type:Tr})=>Tr==="expand")?nr(Gr,$r):Er(Gr,$r)},isRowExpanded:kr,updateExpandRows:lr,updateCurrentRowData:Pr,loadOrToggle:br,updateTreeData:dr,states:{tableSize:Ie,rowKey:Fe,data:Ue,_data:qe,isComplex:At,_columns:Dt,originColumns:Lt,columns:jt,fixedColumns:hn,rightFixedColumns:vn,leafColumns:bn,fixedLeafColumns:_n,rightFixedLeafColumns:wn,updateOrderFns:kn,leafColumnsLength:Cn,fixedLeafColumnsLength:Sn,rightFixedLeafColumnsLength:xn,isAllSelected:En,selection:Tn,reserveSelection:An,selectOnIndeterminate:$n,selectable:Pn,filters:Nn,filteredData:Mn,sortingColumn:In,sortProp:On,sortOrder:Rn,hoverRow:Bn,...ir,..._r,...Rr}}}function replaceColumn(xe,$e){return xe.map(Ie=>{var Fe;return Ie.id===$e.id?$e:((Fe=Ie.children)!=null&&Fe.length&&(Ie.children=replaceColumn(Ie.children,$e)),Ie)})}function sortColumn(xe){xe.forEach($e=>{var Ie,Fe;$e.no=(Ie=$e.getColumnIndex)==null?void 0:Ie.call($e),(Fe=$e.children)!=null&&Fe.length&&sortColumn($e.children)}),xe.sort(($e,Ie)=>$e.no-Ie.no)}function useStore(){const xe=getCurrentInstance(),$e=useWatcher$1();return{ns:useNamespace("table"),...$e,mutations:{setData(At,Dt){const Lt=unref(At._data)!==Dt;At.data.value=Dt,At._data.value=Dt,xe.store.execQuery(),xe.store.updateCurrentRowData(),xe.store.updateExpandRows(),xe.store.updateTreeData(xe.store.states.defaultExpandAll.value),unref(At.reserveSelection)?(xe.store.assertRowKey(),xe.store.updateSelectionByRowKey()):Lt?xe.store.clearSelection():xe.store.cleanSelection(),xe.store.updateAllSelected(),xe.$ready&&xe.store.scheduleLayout()},insertColumn(At,Dt,Lt,jt){const hn=unref(At._columns);let vn=[];Lt?(Lt&&!Lt.children&&(Lt.children=[]),Lt.children.push(Dt),vn=replaceColumn(hn,Lt)):(hn.push(Dt),vn=hn),sortColumn(vn),At._columns.value=vn,At.updateOrderFns.push(jt),Dt.type==="selection"&&(At.selectable.value=Dt.selectable,At.reserveSelection.value=Dt.reserveSelection),xe.$ready&&(xe.store.updateColumns(),xe.store.scheduleLayout())},updateColumnOrder(At,Dt){var Lt;((Lt=Dt.getColumnIndex)==null?void 0:Lt.call(Dt))!==Dt.no&&(sortColumn(At._columns.value),xe.$ready&&xe.store.updateColumns())},removeColumn(At,Dt,Lt,jt){const hn=unref(At._columns)||[];if(Lt)Lt.children.splice(Lt.children.findIndex(bn=>bn.id===Dt.id),1),nextTick(()=>{var bn;((bn=Lt.children)==null?void 0:bn.length)===0&&delete Lt.children}),At._columns.value=replaceColumn(hn,Lt);else{const bn=hn.indexOf(Dt);bn>-1&&(hn.splice(bn,1),At._columns.value=hn)}const vn=At.updateOrderFns.indexOf(jt);vn>-1&&At.updateOrderFns.splice(vn,1),xe.$ready&&(xe.store.updateColumns(),xe.store.scheduleLayout())},sort(At,Dt){const{prop:Lt,order:jt,init:hn}=Dt;if(Lt){const vn=unref(At.columns).find(bn=>bn.property===Lt);vn&&(vn.order=jt,xe.store.updateSort(vn,Lt,jt),xe.store.commit("changeSortCondition",{init:hn}))}},changeSortCondition(At,Dt){const{sortingColumn:Lt,sortProp:jt,sortOrder:hn}=At,vn=unref(Lt),bn=unref(jt),_n=unref(hn);_n===null&&(At.sortingColumn.value=null,At.sortProp.value=null);const wn={filter:!0};xe.store.execQuery(wn),(!Dt||!(Dt.silent||Dt.init))&&xe.emit("sort-change",{column:vn,prop:bn,order:_n}),xe.store.updateTableScrollY()},filterChange(At,Dt){const{column:Lt,values:jt,silent:hn}=Dt,vn=xe.store.updateFilters(Lt,jt);xe.store.execQuery(),hn||xe.emit("filter-change",vn),xe.store.updateTableScrollY()},toggleAllSelection(){xe.store.toggleAllSelection()},rowSelectedChanged(At,Dt){xe.store.toggleRowSelection(Dt),xe.store.updateAllSelected()},setHoverRow(At,Dt){At.hoverRow.value=Dt},setCurrentRow(At,Dt){xe.store.updateCurrentRow(Dt)}},commit:function(At,...Dt){const Lt=xe.store.mutations;if(Lt[At])Lt[At].apply(xe,[xe.store.states].concat(Dt));else throw new Error(`Action not found: ${At}`)},updateTableScrollY:function(){nextTick(()=>xe.layout.updateScrollY.apply(xe.layout))}}}const InitialStateMap={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"}};function createStore(xe,$e){if(!xe)throw new Error("Table is required.");const Ie=useStore();return Ie.toggleAllSelection=debounce(Ie._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(Fe=>{handleValue(getArrKeysValue($e,Fe),Fe,Ie)}),proxyTableProps(Ie,$e),Ie}function proxyTableProps(xe,$e){Object.keys(InitialStateMap).forEach(Ie=>{watch(()=>getArrKeysValue($e,Ie),Fe=>{handleValue(Fe,Ie,xe)})})}function handleValue(xe,$e,Ie){let Fe=xe,Ue=InitialStateMap[$e];typeof InitialStateMap[$e]=="object"&&(Ue=Ue.key,Fe=Fe||InitialStateMap[$e].default),Ie.states[Ue].value=Fe}function getArrKeysValue(xe,$e){if($e.includes(".")){const Ie=$e.split(".");let Fe=xe;return Ie.forEach(Ue=>{Fe=Fe[Ue]}),Fe}else return xe[$e]}class TableLayout{constructor($e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=ref(null),this.scrollX=ref(!1),this.scrollY=ref(!1),this.bodyWidth=ref(null),this.fixedWidth=ref(null),this.rightFixedWidth=ref(null),this.gutterWidth=0;for(const Ie in $e)hasOwn$1($e,Ie)&&(isRef(this[Ie])?this[Ie].value=$e[Ie]:this[Ie]=$e[Ie]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const Ie=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(Ie!=null&&Ie.wrapRef)){let Fe=!0;const Ue=this.scrollY.value;return Fe=Ie.wrapRef.scrollHeight>Ie.wrapRef.clientHeight,this.scrollY.value=Fe,Ue!==Fe}return!1}setHeight($e,Ie="height"){if(!isClient$1)return;const Fe=this.table.vnode.el;if($e=parseHeight($e),this.height.value=Number($e),!Fe&&($e||$e===0))return nextTick(()=>this.setHeight($e,Ie));typeof $e=="number"?(Fe.style[Ie]=`${$e}px`,this.updateElsHeight()):typeof $e=="string"&&(Fe.style[Ie]=$e,this.updateElsHeight())}setMaxHeight($e){this.setHeight($e,"max-height")}getFlattenColumns(){const $e=[];return this.table.store.states.columns.value.forEach(Fe=>{Fe.isColumnGroup?$e.push.apply($e,Fe.columns):$e.push(Fe)}),$e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone($e){if(!$e)return!0;let Ie=$e;for(;Ie.tagName!=="DIV";){if(getComputedStyle(Ie).display==="none")return!0;Ie=Ie.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const $e=this.fit,Ie=this.table.vnode.el.clientWidth;let Fe=0;const Ue=this.getFlattenColumns(),qe=Ue.filter(Lt=>typeof Lt.width!="number");if(Ue.forEach(Lt=>{typeof Lt.width=="number"&&Lt.realWidth&&(Lt.realWidth=null)}),qe.length>0&&$e){if(Ue.forEach(Lt=>{Fe+=Number(Lt.width||Lt.minWidth||80)}),Fe<=Ie){this.scrollX.value=!1;const Lt=Ie-Fe;if(qe.length===1)qe[0].realWidth=Number(qe[0].minWidth||80)+Lt;else{const jt=qe.reduce((bn,_n)=>bn+Number(_n.minWidth||80),0),hn=Lt/jt;let vn=0;qe.forEach((bn,_n)=>{if(_n===0)return;const wn=Math.floor(Number(bn.minWidth||80)*hn);vn+=wn,bn.realWidth=Number(bn.minWidth||80)+wn}),qe[0].realWidth=Number(qe[0].minWidth||80)+Lt-vn}}else this.scrollX.value=!0,qe.forEach(Lt=>{Lt.realWidth=Number(Lt.minWidth)});this.bodyWidth.value=Math.max(Fe,Ie),this.table.state.resizeState.value.width=this.bodyWidth.value}else Ue.forEach(Lt=>{!Lt.width&&!Lt.minWidth?Lt.realWidth=80:Lt.realWidth=Number(Lt.width||Lt.minWidth),Fe+=Lt.realWidth}),this.scrollX.value=Fe>Ie,this.bodyWidth.value=Fe;const At=this.store.states.fixedColumns.value;if(At.length>0){let Lt=0;At.forEach(jt=>{Lt+=Number(jt.realWidth||jt.width)}),this.fixedWidth.value=Lt}const Dt=this.store.states.rightFixedColumns.value;if(Dt.length>0){let Lt=0;Dt.forEach(jt=>{Lt+=Number(jt.realWidth||jt.width)}),this.rightFixedWidth.value=Lt}this.notifyObservers("columns")}addObserver($e){this.observers.push($e)}removeObserver($e){const Ie=this.observers.indexOf($e);Ie!==-1&&this.observers.splice(Ie,1)}notifyObservers($e){this.observers.forEach(Fe=>{var Ue,qe;switch($e){case"columns":(Ue=Fe.state)==null||Ue.onColumnsChange(this);break;case"scrollable":(qe=Fe.state)==null||qe.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${$e}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$B=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox,ElCheckboxGroup,ElScrollbar,ElTooltip,ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},directives:{ClickOutside},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(xe){const $e=getCurrentInstance(),{t:Ie}=useLocale(),Fe=useNamespace("table-filter"),Ue=$e==null?void 0:$e.parent;Ue.filterPanels.value[xe.column.id]||(Ue.filterPanels.value[xe.column.id]=$e);const qe=ref(!1),At=ref(null),Dt=computed(()=>xe.column&&xe.column.filters),Lt=computed(()=>xe.column.filterClassName?`${Fe.b()} ${xe.column.filterClassName}`:Fe.b()),jt=computed({get:()=>{var An;return(((An=xe.column)==null?void 0:An.filteredValue)||[])[0]},set:An=>{hn.value&&(typeof An<"u"&&An!==null?hn.value.splice(0,1,An):hn.value.splice(0,1))}}),hn=computed({get(){return xe.column?xe.column.filteredValue||[]:[]},set(An){xe.column&&xe.upDataColumn("filteredValue",An)}}),vn=computed(()=>xe.column?xe.column.filterMultiple:!0),bn=An=>An.value===jt.value,_n=()=>{qe.value=!1},wn=An=>{An.stopPropagation(),qe.value=!qe.value},kn=()=>{qe.value=!1},Cn=()=>{En(hn.value),_n()},Sn=()=>{hn.value=[],En(hn.value),_n()},xn=An=>{jt.value=An,En(typeof An<"u"&&An!==null?hn.value:[]),_n()},En=An=>{xe.store.commit("filterChange",{column:xe.column,values:An}),xe.store.updateAllSelected()};watch(qe,An=>{xe.column&&xe.upDataColumn("filterOpened",An)},{immediate:!0});const Tn=computed(()=>{var An,$n;return($n=(An=At.value)==null?void 0:An.popperRef)==null?void 0:$n.contentRef});return{tooltipVisible:qe,multiple:vn,filterClassName:Lt,filteredValue:hn,filterValue:jt,filters:Dt,handleConfirm:Cn,handleReset:Sn,handleSelect:xn,isActive:bn,t:Ie,ns:Fe,showFilterPanel:wn,hideFilterPanel:kn,popperPaneRef:Tn,tooltip:At}}}),_hoisted_1$h={key:0},_hoisted_2$b=["disabled"],_hoisted_3$4=["label","onClick"];function _sfc_render$4(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-checkbox"),Dt=resolveComponent("el-checkbox-group"),Lt=resolveComponent("el-scrollbar"),jt=resolveComponent("arrow-up"),hn=resolveComponent("arrow-down"),vn=resolveComponent("el-icon"),bn=resolveComponent("el-tooltip"),_n=resolveDirective("click-outside");return openBlock(),createBlock(bn,{ref:"tooltip",visible:xe.tooltipVisible,offset:0,placement:xe.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":xe.filterClassName,persistent:""},{content:withCtx(()=>[xe.multiple?(openBlock(),createElementBlock("div",_hoisted_1$h,[createBaseVNode("div",{class:normalizeClass(xe.ns.e("content"))},[createVNode$1(Lt,{"wrap-class":xe.ns.e("wrap")},{default:withCtx(()=>[createVNode$1(Dt,{modelValue:xe.filteredValue,"onUpdate:modelValue":$e[0]||($e[0]=wn=>xe.filteredValue=wn),class:normalizeClass(xe.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.filters,wn=>(openBlock(),createBlock(At,{key:wn.value,value:wn.value},{default:withCtx(()=>[createTextVNode(toDisplayString(wn.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[xe.ns.is("disabled")]:xe.filteredValue.length===0}),disabled:xe.filteredValue.length===0,type:"button",onClick:$e[1]||($e[1]=(...wn)=>xe.handleConfirm&&xe.handleConfirm(...wn))},toDisplayString(xe.t("el.table.confirmFilter")),11,_hoisted_2$b),createBaseVNode("button",{type:"button",onClick:$e[2]||($e[2]=(...wn)=>xe.handleReset&&xe.handleReset(...wn))},toDisplayString(xe.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(xe.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([xe.ns.e("list-item"),{[xe.ns.is("active")]:xe.filterValue===void 0||xe.filterValue===null}]),onClick:$e[3]||($e[3]=wn=>xe.handleSelect(null))},toDisplayString(xe.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.filters,wn=>(openBlock(),createElementBlock("li",{key:wn.value,class:normalizeClass([xe.ns.e("list-item"),xe.ns.is("active",xe.isActive(wn))]),label:wn.value,onClick:kn=>xe.handleSelect(wn.value)},toDisplayString(wn.text),11,_hoisted_3$4))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${xe.ns.namespace.value}-table__column-filter-trigger`,`${xe.ns.namespace.value}-none-outline`]),onClick:$e[4]||($e[4]=(...wn)=>xe.showFilterPanel&&xe.showFilterPanel(...wn))},[createVNode$1(vn,null,{default:withCtx(()=>[xe.column.filterOpened?(openBlock(),createBlock(jt,{key:0})):(openBlock(),createBlock(hn,{key:1}))]),_:1})],2)),[[_n,xe.hideFilterPanel,xe.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$1(_sfc_main$B,[["render",_sfc_render$4],["__file","filter-panel.vue"]]);function useLayoutObserver(xe){const $e=getCurrentInstance();onBeforeMount(()=>{Ie.value.addObserver($e)}),onMounted(()=>{Fe(Ie.value),Ue(Ie.value)}),onUpdated(()=>{Fe(Ie.value),Ue(Ie.value)}),onUnmounted(()=>{Ie.value.removeObserver($e)});const Ie=computed(()=>{const qe=xe.layout;if(!qe)throw new Error("Can not find table layout.");return qe}),Fe=qe=>{var At;const Dt=((At=xe.vnode.el)==null?void 0:At.querySelectorAll("colgroup > col"))||[];if(!Dt.length)return;const Lt=qe.getFlattenColumns(),jt={};Lt.forEach(hn=>{jt[hn.id]=hn});for(let hn=0,vn=Dt.length;hn{var At,Dt;const Lt=((At=xe.vnode.el)==null?void 0:At.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let hn=0,vn=Lt.length;hn{kn.stopPropagation()},qe=(kn,Cn)=>{!Cn.filters&&Cn.sortable?wn(kn,Cn,!1):Cn.filterable&&!Cn.sortable&&Ue(kn),Fe==null||Fe.emit("header-click",Cn,kn)},At=(kn,Cn)=>{Fe==null||Fe.emit("header-contextmenu",Cn,kn)},Dt=ref(null),Lt=ref(!1),jt=ref({}),hn=(kn,Cn)=>{if(isClient$1&&!(Cn.children&&Cn.children.length>0)&&Dt.value&&xe.border){Lt.value=!0;const Sn=Fe;$e("set-drag-visible",!0);const En=(Sn==null?void 0:Sn.vnode.el).getBoundingClientRect().left,Tn=Ie.vnode.el.querySelector(`th.${Cn.id}`),An=Tn.getBoundingClientRect(),$n=An.left-En+30;addClass(Tn,"noclick"),jt.value={startMouseLeft:kn.clientX,startLeft:An.right-En,startColumnLeft:An.left-En,tableLeft:En};const Pn=Sn==null?void 0:Sn.refs.resizeProxy;Pn.style.left=`${jt.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const Nn=In=>{const On=In.clientX-jt.value.startMouseLeft,Rn=jt.value.startLeft+On;Pn.style.left=`${Math.max($n,Rn)}px`},Mn=()=>{if(Lt.value){const{startColumnLeft:In,startLeft:On}=jt.value,Bn=Number.parseInt(Pn.style.left,10)-In;Cn.width=Cn.realWidth=Bn,Sn==null||Sn.emit("header-dragend",Cn.width,On-In,Cn,kn),requestAnimationFrame(()=>{xe.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",Lt.value=!1,Dt.value=null,jt.value={},$e("set-drag-visible",!1)}document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",Mn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(Tn,"noclick")},0)};document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",Mn)}},vn=(kn,Cn)=>{if(Cn.children&&Cn.children.length>0)return;const Sn=kn.target;if(!isElement$1(Sn))return;const xn=Sn==null?void 0:Sn.closest("th");if(!(!Cn||!Cn.resizable)&&!Lt.value&&xe.border){const En=xn.getBoundingClientRect(),Tn=document.body.style;En.width>12&&En.right-kn.pageX<8?(Tn.cursor="col-resize",hasClass(xn,"is-sortable")&&(xn.style.cursor="col-resize"),Dt.value=Cn):Lt.value||(Tn.cursor="",hasClass(xn,"is-sortable")&&(xn.style.cursor="pointer"),Dt.value=null)}},bn=()=>{isClient$1&&(document.body.style.cursor="")},_n=({order:kn,sortOrders:Cn})=>{if(kn==="")return Cn[0];const Sn=Cn.indexOf(kn||null);return Cn[Sn>Cn.length-2?0:Sn+1]},wn=(kn,Cn,Sn)=>{var xn;kn.stopPropagation();const En=Cn.order===Sn?null:Sn||_n(Cn),Tn=(xn=kn.target)==null?void 0:xn.closest("th");if(Tn&&hasClass(Tn,"noclick")){removeClass(Tn,"noclick");return}if(!Cn.sortable)return;const An=xe.store.states;let $n=An.sortProp.value,Pn;const Nn=An.sortingColumn.value;(Nn!==Cn||Nn===Cn&&Nn.order===null)&&(Nn&&(Nn.order=null),An.sortingColumn.value=Cn,$n=Cn.property),En?Pn=Cn.order=En:Pn=Cn.order=null,An.sortProp.value=$n,An.sortOrder.value=Pn,Fe==null||Fe.store.commit("changeSortCondition")};return{handleHeaderClick:qe,handleHeaderContextMenu:At,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:wn,handleFilterClick:Ue}}function useStyle$2(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table");return{getHeaderRowStyle:Dt=>{const Lt=$e==null?void 0:$e.props.headerRowStyle;return typeof Lt=="function"?Lt.call(null,{rowIndex:Dt}):Lt},getHeaderRowClass:Dt=>{const Lt=[],jt=$e==null?void 0:$e.props.headerRowClassName;return typeof jt=="string"?Lt.push(jt):typeof jt=="function"&&Lt.push(jt.call(null,{rowIndex:Dt})),Lt.join(" ")},getHeaderCellStyle:(Dt,Lt,jt,hn)=>{var vn;let bn=(vn=$e==null?void 0:$e.props.headerCellStyle)!=null?vn:{};typeof bn=="function"&&(bn=bn.call(null,{rowIndex:Dt,columnIndex:Lt,row:jt,column:hn}));const _n=getFixedColumnOffset(Lt,hn.fixed,xe.store,jt);return ensurePosition(_n,"left"),ensurePosition(_n,"right"),Object.assign({},bn,_n)},getHeaderCellClass:(Dt,Lt,jt,hn)=>{const vn=getFixedColumnsClass(Ie.b(),Lt,hn.fixed,xe.store,jt),bn=[hn.id,hn.order,hn.headerAlign,hn.className,hn.labelClassName,...vn];hn.children||bn.push("is-leaf"),hn.sortable&&bn.push("is-sortable");const _n=$e==null?void 0:$e.props.headerCellClassName;return typeof _n=="string"?bn.push(_n):typeof _n=="function"&&bn.push(_n.call(null,{rowIndex:Dt,columnIndex:Lt,row:jt,column:hn})),bn.push(Ie.e("cell")),bn.filter(wn=>!!wn).join(" ")}}}const getAllColumns=xe=>{const $e=[];return xe.forEach(Ie=>{Ie.children?($e.push(Ie),$e.push.apply($e,getAllColumns(Ie.children))):$e.push(Ie)}),$e},convertToRows=xe=>{let $e=1;const Ie=(qe,At)=>{if(At&&(qe.level=At.level+1,$e{Ie(Lt,qe),Dt+=Lt.colSpan}),qe.colSpan=Dt}else qe.colSpan=1};xe.forEach(qe=>{qe.level=1,Ie(qe,void 0)});const Fe=[];for(let qe=0;qe<$e;qe++)Fe.push([]);return getAllColumns(xe).forEach(qe=>{qe.children?(qe.rowSpan=1,qe.children.forEach(At=>At.isSubColumn=!0)):qe.rowSpan=$e-qe.level+1,Fe[qe.level-1].push(qe)}),Fe};function useUtils$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=computed(()=>convertToRows(xe.store.states.originColumns.value));return{isGroup:computed(()=>{const qe=Ie.value.length>1;return qe&&$e&&($e.state.isGroup.value=!0),qe}),toggleAllSelection:qe=>{qe.stopPropagation(),$e==null||$e.store.commit("toggleAllSelection")},columnRows:Ie}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=inject(TABLE_INJECTION_KEY),Ue=useNamespace("table"),qe=ref({}),{onColumnsChange:At,onScrollableChange:Dt}=useLayoutObserver(Fe);onMounted(async()=>{await nextTick(),await nextTick();const{prop:$n,order:Pn}=xe.defaultSort;Fe==null||Fe.store.commit("sort",{prop:$n,order:Pn,init:!0})});const{handleHeaderClick:Lt,handleHeaderContextMenu:jt,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:_n,handleFilterClick:wn}=useEvent(xe,$e),{getHeaderRowStyle:kn,getHeaderRowClass:Cn,getHeaderCellStyle:Sn,getHeaderCellClass:xn}=useStyle$2(xe),{isGroup:En,toggleAllSelection:Tn,columnRows:An}=useUtils$1(xe);return Ie.state={onColumnsChange:At,onScrollableChange:Dt},Ie.filterPanels=qe,{ns:Ue,filterPanels:qe,onColumnsChange:At,onScrollableChange:Dt,columnRows:An,getHeaderRowClass:Cn,getHeaderRowStyle:kn,getHeaderCellClass:xn,getHeaderCellStyle:Sn,handleHeaderClick:Lt,handleHeaderContextMenu:jt,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:_n,handleFilterClick:wn,isGroup:En,toggleAllSelection:Tn}},render(){const{ns:xe,isGroup:$e,columnRows:Ie,getHeaderCellStyle:Fe,getHeaderCellClass:Ue,getHeaderRowClass:qe,getHeaderRowStyle:At,handleHeaderClick:Dt,handleHeaderContextMenu:Lt,handleMouseDown:jt,handleMouseMove:hn,handleSortClick:vn,handleMouseOut:bn,store:_n,$parent:wn}=this;let kn=1;return h$5("thead",{class:{[xe.is("group")]:$e}},Ie.map((Cn,Sn)=>h$5("tr",{class:qe(Sn),key:Sn,style:At(Sn)},Cn.map((xn,En)=>(xn.rowSpan>kn&&(kn=xn.rowSpan),h$5("th",{class:Ue(Sn,En,Cn,xn),colspan:xn.colSpan,key:`${xn.id}-thead`,rowspan:xn.rowSpan,style:Fe(Sn,En,Cn,xn),onClick:Tn=>Dt(Tn,xn),onContextmenu:Tn=>Lt(Tn,xn),onMousedown:Tn=>jt(Tn,xn),onMousemove:Tn=>hn(Tn,xn),onMouseout:bn},[h$5("div",{class:["cell",xn.filteredValue&&xn.filteredValue.length>0?"highlight":""]},[xn.renderHeader?xn.renderHeader({column:xn,$index:En,store:_n,_self:wn}):xn.label,xn.sortable&&h$5("span",{onClick:Tn=>vn(Tn,xn),class:"caret-wrapper"},[h$5("i",{onClick:Tn=>vn(Tn,xn,"ascending"),class:"sort-caret ascending"}),h$5("i",{onClick:Tn=>vn(Tn,xn,"descending"),class:"sort-caret descending"})]),xn.filterable&&h$5(FilterPanel,{store:_n,placement:xn.filterPlacement||"bottom-start",column:xn,upDataColumn:(Tn,An)=>{xn[Tn]=An}})])]))))))}});function isGreaterThan(xe,$e,Ie=.01){return xe-$e>Ie}function useEvents(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=ref(""),Fe=ref(h$5("div")),Ue=(wn,kn,Cn)=>{var Sn;const xn=$e,En=getCell(wn);let Tn;const An=(Sn=xn==null?void 0:xn.vnode.el)==null?void 0:Sn.dataset.prefix;En&&(Tn=getColumnByCell({columns:xe.store.states.columns.value},En,An),Tn&&(xn==null||xn.emit(`cell-${Cn}`,kn,Tn,En,wn))),xn==null||xn.emit(`row-${Cn}`,kn,Tn,wn)},qe=(wn,kn)=>{Ue(wn,kn,"dblclick")},At=(wn,kn)=>{xe.store.commit("setCurrentRow",kn),Ue(wn,kn,"click")},Dt=(wn,kn)=>{Ue(wn,kn,"contextmenu")},Lt=debounce(wn=>{xe.store.commit("setHoverRow",wn)},30),jt=debounce(()=>{xe.store.commit("setHoverRow",null)},30),hn=wn=>{const kn=window.getComputedStyle(wn,null),Cn=Number.parseInt(kn.paddingLeft,10)||0,Sn=Number.parseInt(kn.paddingRight,10)||0,xn=Number.parseInt(kn.paddingTop,10)||0,En=Number.parseInt(kn.paddingBottom,10)||0;return{left:Cn,right:Sn,top:xn,bottom:En}},vn=(wn,kn,Cn)=>{let Sn=kn.target.parentNode;for(;wn>1&&(Sn=Sn==null?void 0:Sn.nextSibling,!(!Sn||Sn.nodeName!=="TR"));)Cn(Sn,"hover-row hover-fixed-row"),wn--};return{handleDoubleClick:qe,handleClick:At,handleContextMenu:Dt,handleMouseEnter:Lt,handleMouseLeave:jt,handleCellMouseEnter:(wn,kn,Cn)=>{var Sn;const xn=$e,En=getCell(wn),Tn=(Sn=xn==null?void 0:xn.vnode.el)==null?void 0:Sn.dataset.prefix;if(En){const zn=getColumnByCell({columns:xe.store.states.columns.value},En,Tn);En.rowSpan>1&&vn(En.rowSpan,wn,addClass);const jn=xn.hoverState={cell:En,column:zn,row:kn};xn==null||xn.emit("cell-mouse-enter",jn.row,jn.column,jn.cell,wn)}if(!Cn)return;const An=wn.target.querySelector(".cell");if(!(hasClass(An,`${Tn}-tooltip`)&&An.childNodes.length))return;const $n=document.createRange();$n.setStart(An,0),$n.setEnd(An,An.childNodes.length);let{width:Pn,height:Nn}=$n.getBoundingClientRect();const Mn=Pn-Math.floor(Pn),{width:In,height:On}=An.getBoundingClientRect();Mn<.001&&(Pn=Math.floor(Pn)),Nn-Math.floor(Nn)<.001&&(Nn=Math.floor(Nn));const{top:Bn,left:Vn,right:Ln,bottom:Dn}=hn(An),Hn=Vn+Ln,Fn=Bn+Dn;(isGreaterThan(Pn+Hn,In)||isGreaterThan(Nn+Fn,On)||isGreaterThan(An.scrollWidth,In))&&createTablePopper(Cn,En.innerText||En.textContent,En,xn)},handleCellMouseLeave:wn=>{const kn=getCell(wn);if(!kn)return;kn.rowSpan>1&&vn(kn.rowSpan,wn,removeClass);const Cn=$e==null?void 0:$e.hoverState;$e==null||$e.emit("cell-mouse-leave",Cn==null?void 0:Cn.row,Cn==null?void 0:Cn.column,Cn==null?void 0:Cn.cell,wn)},tooltipContent:Ie,tooltipTrigger:Fe}}function useStyles$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table");return{getRowStyle:(jt,hn)=>{const vn=$e==null?void 0:$e.props.rowStyle;return typeof vn=="function"?vn.call(null,{row:jt,rowIndex:hn}):vn||null},getRowClass:(jt,hn)=>{const vn=[Ie.e("row")];$e!=null&&$e.props.highlightCurrentRow&&jt===xe.store.states.currentRow.value&&vn.push("current-row"),xe.stripe&&hn%2===1&&vn.push(Ie.em("row","striped"));const bn=$e==null?void 0:$e.props.rowClassName;return typeof bn=="string"?vn.push(bn):typeof bn=="function"&&vn.push(bn.call(null,{row:jt,rowIndex:hn})),vn},getCellStyle:(jt,hn,vn,bn)=>{const _n=$e==null?void 0:$e.props.cellStyle;let wn=_n??{};typeof _n=="function"&&(wn=_n.call(null,{rowIndex:jt,columnIndex:hn,row:vn,column:bn}));const kn=getFixedColumnOffset(hn,xe==null?void 0:xe.fixed,xe.store);return ensurePosition(kn,"left"),ensurePosition(kn,"right"),Object.assign({},wn,kn)},getCellClass:(jt,hn,vn,bn,_n)=>{const wn=getFixedColumnsClass(Ie.b(),hn,xe==null?void 0:xe.fixed,xe.store,void 0,_n),kn=[bn.id,bn.align,bn.className,...wn],Cn=$e==null?void 0:$e.props.cellClassName;return typeof Cn=="string"?kn.push(Cn):typeof Cn=="function"&&kn.push(Cn.call(null,{rowIndex:jt,columnIndex:hn,row:vn,column:bn})),kn.push(Ie.e("cell")),kn.filter(Sn=>!!Sn).join(" ")},getSpan:(jt,hn,vn,bn)=>{let _n=1,wn=1;const kn=$e==null?void 0:$e.props.spanMethod;if(typeof kn=="function"){const Cn=kn({row:jt,column:hn,rowIndex:vn,columnIndex:bn});Array.isArray(Cn)?(_n=Cn[0],wn=Cn[1]):typeof Cn=="object"&&(_n=Cn.rowspan,wn=Cn.colspan)}return{rowspan:_n,colspan:wn}},getColspanRealWidth:(jt,hn,vn)=>{if(hn<1)return jt[vn].realWidth;const bn=jt.map(({realWidth:_n,width:wn})=>_n||wn).slice(vn,vn+hn);return Number(bn.reduce((_n,wn)=>Number(_n)+Number(wn),-1))}}}function useRender$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table"),{handleDoubleClick:Fe,handleClick:Ue,handleContextMenu:qe,handleMouseEnter:At,handleMouseLeave:Dt,handleCellMouseEnter:Lt,handleCellMouseLeave:jt,tooltipContent:hn,tooltipTrigger:vn}=useEvents(xe),{getRowStyle:bn,getRowClass:_n,getCellStyle:wn,getCellClass:kn,getSpan:Cn,getColspanRealWidth:Sn}=useStyles$1(xe),xn=computed(()=>xe.store.states.columns.value.findIndex(({type:Pn})=>Pn==="default")),En=(Pn,Nn)=>{const Mn=$e.props.rowKey;return Mn?getRowIdentity(Pn,Mn):Nn},Tn=(Pn,Nn,Mn,In=!1)=>{const{tooltipEffect:On,tooltipOptions:Rn,store:Bn}=xe,{indent:Vn,columns:Ln}=Bn.states,Dn=_n(Pn,Nn);let Hn=!0;return Mn&&(Dn.push(Ie.em("row",`level-${Mn.level}`)),Hn=Mn.display),h$5("tr",{style:[Hn?null:{display:"none"},bn(Pn,Nn)],class:Dn,key:En(Pn,Nn),onDblclick:zn=>Fe(zn,Pn),onClick:zn=>Ue(zn,Pn),onContextmenu:zn=>qe(zn,Pn),onMouseenter:()=>At(Nn),onMouseleave:Dt},Ln.value.map((zn,jn)=>{const{rowspan:Gn,colspan:Wn}=Cn(Pn,zn,Nn,jn);if(!Gn||!Wn)return null;const Xn=Object.assign({},zn);Xn.realWidth=Sn(Ln.value,Wn,jn);const er={store:xe.store,_self:xe.context||$e,column:Xn,row:Pn,$index:Nn,cellIndex:jn,expanded:In};jn===xn.value&&Mn&&(er.treeNode={indent:Mn.level*Vn.value,level:Mn.level},typeof Mn.expanded=="boolean"&&(er.treeNode.expanded=Mn.expanded,"loading"in Mn&&(er.treeNode.loading=Mn.loading),"noLazyChildren"in Mn&&(er.treeNode.noLazyChildren=Mn.noLazyChildren)));const rr=`${En(Pn,Nn)},${jn}`,Jn=Xn.columnKey||Xn.rawColumnKey||"",Yn=An(jn,zn,er),qn=zn.showOverflowTooltip&&merge$2({effect:On},Rn,zn.showOverflowTooltip);return h$5("td",{style:wn(Nn,jn,Pn,zn),class:kn(Nn,jn,Pn,zn,Wn-1),key:`${Jn}${rr}`,rowspan:Gn,colspan:Wn,onMouseenter:ar=>Lt(ar,Pn,qn),onMouseleave:jt},[Yn])}))},An=(Pn,Nn,Mn)=>Nn.renderCell(Mn);return{wrappedRowRender:(Pn,Nn)=>{const Mn=xe.store,{isRowExpanded:In,assertRowKey:On}=Mn,{treeData:Rn,lazyTreeNodeMap:Bn,childrenColumnName:Vn,rowKey:Ln}=Mn.states,Dn=Mn.states.columns.value;if(Dn.some(({type:Fn})=>Fn==="expand")){const Fn=In(Pn),zn=Tn(Pn,Nn,void 0,Fn),jn=$e.renderExpanded;return Fn?jn?[[zn,h$5("tr",{key:`expanded-row__${zn.key}`},[h$5("td",{colspan:Dn.length,class:`${Ie.e("cell")} ${Ie.e("expanded-cell")}`},[jn({row:Pn,$index:Nn,store:Mn,expanded:Fn})])])]]:(console.error("[Element Error]renderExpanded is required."),zn):[[zn]]}else if(Object.keys(Rn.value).length){On();const Fn=getRowIdentity(Pn,Ln.value);let zn=Rn.value[Fn],jn=null;zn&&(jn={expanded:zn.expanded,level:zn.level,display:!0},typeof zn.lazy=="boolean"&&(typeof zn.loaded=="boolean"&&zn.loaded&&(jn.noLazyChildren=!(zn.children&&zn.children.length)),jn.loading=zn.loading));const Gn=[Tn(Pn,Nn,jn)];if(zn){let Wn=0;const Xn=(rr,Jn)=>{rr&&rr.length&&Jn&&rr.forEach(Yn=>{const qn={display:Jn.display&&Jn.expanded,level:Jn.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ar=getRowIdentity(Yn,Ln.value);if(ar==null)throw new Error("For nested data item, row-key is required.");if(zn={...Rn.value[ar]},zn&&(qn.expanded=zn.expanded,zn.level=zn.level||qn.level,zn.display=!!(zn.expanded&&qn.display),typeof zn.lazy=="boolean"&&(typeof zn.loaded=="boolean"&&zn.loaded&&(qn.noLazyChildren=!(zn.children&&zn.children.length)),qn.loading=zn.loading)),Wn++,Gn.push(Tn(Yn,Nn+Wn,qn)),zn){const tr=Bn.value[ar]||Yn[Vn.value];Xn(tr,zn)}})};zn.display=!0;const er=Bn.value[Fn]||Pn[Vn.value];Xn(er,zn)}return Gn}else return Tn(Pn,Nn,void 0)},tooltipContent:hn,tooltipTrigger:vn}}const defaultProps$2={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var TableBody=defineComponent({name:"ElTableBody",props:defaultProps$2,setup(xe){const $e=getCurrentInstance(),Ie=inject(TABLE_INJECTION_KEY),Fe=useNamespace("table"),{wrappedRowRender:Ue,tooltipContent:qe,tooltipTrigger:At}=useRender$1(xe),{onColumnsChange:Dt,onScrollableChange:Lt}=useLayoutObserver(Ie),jt=[];return watch(xe.store.states.hoverRow,(hn,vn)=>{var bn;const _n=$e==null?void 0:$e.vnode.el,wn=Array.from((_n==null?void 0:_n.children)||[]).filter(Sn=>Sn==null?void 0:Sn.classList.contains(`${Fe.e("row")}`));let kn=hn;const Cn=(bn=wn[kn])==null?void 0:bn.childNodes;if(Cn!=null&&Cn.length){let Sn=0;Array.from(Cn).reduce((En,Tn,An)=>{var $n,Pn;return(($n=Cn[An])==null?void 0:$n.colSpan)>1&&(Sn=(Pn=Cn[An])==null?void 0:Pn.colSpan),Tn.nodeName!=="TD"&&Sn===0&&En.push(An),Sn>0&&Sn--,En},[]).forEach(En=>{var Tn;for(kn=hn;kn>0;){const An=(Tn=wn[kn-1])==null?void 0:Tn.childNodes;if(An[En]&&An[En].nodeName==="TD"&&An[En].rowSpan>1){addClass(An[En],"hover-cell"),jt.push(An[En]);break}kn--}})}else jt.forEach(Sn=>removeClass(Sn,"hover-cell")),jt.length=0;!xe.store.states.isComplex.value||!isClient$1||rAF(()=>{const Sn=wn[vn],xn=wn[hn];Sn&&!Sn.classList.contains("hover-fixed-row")&&removeClass(Sn,"hover-row"),xn&&addClass(xn,"hover-row")})}),onUnmounted(()=>{var hn;(hn=removePopper)==null||hn()}),{ns:Fe,onColumnsChange:Dt,onScrollableChange:Lt,wrappedRowRender:Ue,tooltipContent:qe,tooltipTrigger:At}},render(){const{wrappedRowRender:xe,store:$e}=this,Ie=$e.states.data.value||[];return h$5("tbody",{tabIndex:-1},[Ie.reduce((Fe,Ue)=>Fe.concat(xe(Ue,Fe.length)),[])])}});function useMapState(){const xe=inject(TABLE_INJECTION_KEY),$e=xe==null?void 0:xe.store,Ie=computed(()=>$e.states.fixedLeafColumnsLength.value),Fe=computed(()=>$e.states.rightFixedColumns.value.length),Ue=computed(()=>$e.states.columns.value.length),qe=computed(()=>$e.states.fixedColumns.value.length),At=computed(()=>$e.states.rightFixedColumns.value.length);return{leftFixedLeafCount:Ie,rightFixedLeafCount:Fe,columnsCount:Ue,leftFixedCount:qe,rightFixedCount:At,columns:$e.states.columns}}function useStyle$1(xe){const{columns:$e}=useMapState(),Ie=useNamespace("table");return{getCellClasses:(qe,At)=>{const Dt=qe[At],Lt=[Ie.e("cell"),Dt.id,Dt.align,Dt.labelClassName,...getFixedColumnsClass(Ie.b(),At,Dt.fixed,xe.store)];return Dt.className&&Lt.push(Dt.className),Dt.children||Lt.push(Ie.is("leaf")),Lt},getCellStyles:(qe,At)=>{const Dt=getFixedColumnOffset(At,qe.fixed,xe.store);return ensurePosition(Dt,"left"),ensurePosition(Dt,"right"),Dt},columns:$e}}var TableFooter=defineComponent({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(xe){const{getCellClasses:$e,getCellStyles:Ie,columns:Fe}=useStyle$1(xe);return{ns:useNamespace("table"),getCellClasses:$e,getCellStyles:Ie,columns:Fe}},render(){const{columns:xe,getCellStyles:$e,getCellClasses:Ie,summaryMethod:Fe,sumText:Ue}=this,qe=this.store.states.data.value;let At=[];return Fe?At=Fe({columns:xe,data:qe}):xe.forEach((Dt,Lt)=>{if(Lt===0){At[Lt]=Ue;return}const jt=qe.map(_n=>Number(_n[Dt.property])),hn=[];let vn=!0;jt.forEach(_n=>{if(!Number.isNaN(+_n)){vn=!1;const wn=`${_n}`.split(".")[1];hn.push(wn?wn.length:0)}});const bn=Math.max.apply(null,hn);vn?At[Lt]="":At[Lt]=jt.reduce((_n,wn)=>{const kn=Number(wn);return Number.isNaN(+kn)?_n:Number.parseFloat((_n+wn).toFixed(Math.min(bn,20)))},0)}),h$5(h$5("tfoot",[h$5("tr",{},[...xe.map((Dt,Lt)=>h$5("td",{key:Lt,colspan:Dt.colSpan,rowspan:Dt.rowSpan,class:Ie(xe,Lt),style:$e(Dt,Lt)},[h$5("div",{class:["cell",Dt.labelClassName]},[At[Lt]])]))])]))}});function useUtils(xe){return{setCurrentRow:hn=>{xe.commit("setCurrentRow",hn)},getSelectionRows:()=>xe.getSelectionRows(),toggleRowSelection:(hn,vn)=>{xe.toggleRowSelection(hn,vn,!1),xe.updateAllSelected()},clearSelection:()=>{xe.clearSelection()},clearFilter:hn=>{xe.clearFilter(hn)},toggleAllSelection:()=>{xe.commit("toggleAllSelection")},toggleRowExpansion:(hn,vn)=>{xe.toggleRowExpansionAdapter(hn,vn)},clearSort:()=>{xe.clearSort()},sort:(hn,vn)=>{xe.commit("sort",{prop:hn,order:vn})}}}function useStyle(xe,$e,Ie,Fe){const Ue=ref(!1),qe=ref(null),At=ref(!1),Dt=zn=>{At.value=zn},Lt=ref({width:null,height:null,headerHeight:null}),jt=ref(!1),hn={display:"inline-block",verticalAlign:"middle"},vn=ref(),bn=ref(0),_n=ref(0),wn=ref(0),kn=ref(0),Cn=ref(0);watchEffect(()=>{$e.setHeight(xe.height)}),watchEffect(()=>{$e.setMaxHeight(xe.maxHeight)}),watch(()=>[xe.currentRowKey,Ie.states.rowKey],([zn,jn])=>{!unref(jn)||!unref(zn)||Ie.setCurrentRowKey(`${zn}`)},{immediate:!0}),watch(()=>xe.data,zn=>{Fe.store.commit("setData",zn)},{immediate:!0,deep:!0}),watchEffect(()=>{xe.expandRowKeys&&Ie.setExpandRowKeysAdapter(xe.expandRowKeys)});const Sn=()=>{Fe.store.commit("setHoverRow",null),Fe.hoverState&&(Fe.hoverState=null)},xn=(zn,jn)=>{const{pixelX:Gn,pixelY:Wn}=jn;Math.abs(Gn)>=Math.abs(Wn)&&(Fe.refs.bodyWrapper.scrollLeft+=jn.pixelX/5)},En=computed(()=>xe.height||xe.maxHeight||Ie.states.fixedColumns.value.length>0||Ie.states.rightFixedColumns.value.length>0),Tn=computed(()=>({width:$e.bodyWidth.value?`${$e.bodyWidth.value}px`:""})),An=()=>{En.value&&$e.updateElsHeight(),$e.updateColumnsWidth(),requestAnimationFrame(Mn)};onMounted(async()=>{await nextTick(),Ie.updateColumns(),In(),requestAnimationFrame(An);const zn=Fe.vnode.el,jn=Fe.refs.headerWrapper;xe.flexible&&zn&&zn.parentElement&&(zn.parentElement.style.minWidth="0"),Lt.value={width:vn.value=zn.offsetWidth,height:zn.offsetHeight,headerHeight:xe.showHeader&&jn?jn.offsetHeight:null},Ie.states.columns.value.forEach(Gn=>{Gn.filteredValue&&Gn.filteredValue.length&&Fe.store.commit("filterChange",{column:Gn,values:Gn.filteredValue,silent:!0})}),Fe.$ready=!0});const $n=(zn,jn)=>{if(!zn)return;const Gn=Array.from(zn.classList).filter(Wn=>!Wn.startsWith("is-scrolling-"));Gn.push($e.scrollX.value?jn:"is-scrolling-none"),zn.className=Gn.join(" ")},Pn=zn=>{const{tableWrapper:jn}=Fe.refs;$n(jn,zn)},Nn=zn=>{const{tableWrapper:jn}=Fe.refs;return!!(jn&&jn.classList.contains(zn))},Mn=function(){if(!Fe.refs.scrollBarRef)return;if(!$e.scrollX.value){const Jn="is-scrolling-none";Nn(Jn)||Pn(Jn);return}const zn=Fe.refs.scrollBarRef.wrapRef;if(!zn)return;const{scrollLeft:jn,offsetWidth:Gn,scrollWidth:Wn}=zn,{headerWrapper:Xn,footerWrapper:er}=Fe.refs;Xn&&(Xn.scrollLeft=jn),er&&(er.scrollLeft=jn);const rr=Wn-Gn-1;jn>=rr?Pn("is-scrolling-right"):Pn(jn===0?"is-scrolling-left":"is-scrolling-middle")},In=()=>{Fe.refs.scrollBarRef&&(Fe.refs.scrollBarRef.wrapRef&&useEventListener(Fe.refs.scrollBarRef.wrapRef,"scroll",Mn,{passive:!0}),xe.fit?useResizeObserver(Fe.vnode.el,On):useEventListener(window,"resize",On),useResizeObserver(Fe.refs.bodyWrapper,()=>{var zn,jn;On(),(jn=(zn=Fe.refs)==null?void 0:zn.scrollBarRef)==null||jn.update()}))},On=()=>{var zn,jn,Gn,Wn;const Xn=Fe.vnode.el;if(!Fe.$ready||!Xn)return;let er=!1;const{width:rr,height:Jn,headerHeight:Yn}=Lt.value,qn=vn.value=Xn.offsetWidth;rr!==qn&&(er=!0);const ar=Xn.offsetHeight;(xe.height||En.value)&&Jn!==ar&&(er=!0);const tr=xe.tableLayout==="fixed"?Fe.refs.headerWrapper:(zn=Fe.refs.tableHeaderRef)==null?void 0:zn.$el;xe.showHeader&&(tr==null?void 0:tr.offsetHeight)!==Yn&&(er=!0),bn.value=((jn=Fe.refs.tableWrapper)==null?void 0:jn.scrollHeight)||0,wn.value=(tr==null?void 0:tr.scrollHeight)||0,kn.value=((Gn=Fe.refs.footerWrapper)==null?void 0:Gn.offsetHeight)||0,Cn.value=((Wn=Fe.refs.appendWrapper)==null?void 0:Wn.offsetHeight)||0,_n.value=bn.value-wn.value-kn.value-Cn.value,er&&(Lt.value={width:qn,height:ar,headerHeight:xe.showHeader&&(tr==null?void 0:tr.offsetHeight)||0},An())},Rn=useFormSize(),Bn=computed(()=>{const{bodyWidth:zn,scrollY:jn,gutterWidth:Gn}=$e;return zn.value?`${zn.value-(jn.value?Gn:0)}px`:""}),Vn=computed(()=>xe.maxHeight?"fixed":xe.tableLayout),Ln=computed(()=>{if(xe.data&&xe.data.length)return null;let zn="100%";xe.height&&_n.value&&(zn=`${_n.value}px`);const jn=vn.value;return{width:jn?`${jn}px`:"",height:zn}}),Dn=computed(()=>xe.height?{height:Number.isNaN(Number(xe.height))?xe.height:`${xe.height}px`}:xe.maxHeight?{maxHeight:Number.isNaN(Number(xe.maxHeight))?xe.maxHeight:`${xe.maxHeight}px`}:{}),Hn=computed(()=>xe.height?{height:"100%"}:xe.maxHeight?Number.isNaN(Number(xe.maxHeight))?{maxHeight:`calc(${xe.maxHeight} - ${wn.value+kn.value}px)`}:{maxHeight:`${xe.maxHeight-wn.value-kn.value}px`}:{});return{isHidden:Ue,renderExpanded:qe,setDragVisible:Dt,isGroup:jt,handleMouseLeave:Sn,handleHeaderFooterMousewheel:xn,tableSize:Rn,emptyBlockStyle:Ln,handleFixedMousewheel:(zn,jn)=>{const Gn=Fe.refs.bodyWrapper;if(Math.abs(jn.spinY)>0){const Wn=Gn.scrollTop;jn.pixelY<0&&Wn!==0&&zn.preventDefault(),jn.pixelY>0&&Gn.scrollHeight-Gn.clientHeight>Wn&&zn.preventDefault(),Gn.scrollTop+=Math.ceil(jn.pixelY/5)}else Gn.scrollLeft+=Math.ceil(jn.pixelX/5)},resizeProxyVisible:At,bodyWidth:Bn,resizeState:Lt,doLayout:An,tableBodyStyles:Tn,tableLayout:Vn,scrollbarViewStyle:hn,tableInnerStyle:Dn,scrollbarStyle:Hn}}function useKeyRender(xe){const $e=ref(),Ie=()=>{const Ue=xe.vnode.el.querySelector(".hidden-columns"),qe={childList:!0,subtree:!0},At=xe.store.states.updateOrderFns;$e.value=new MutationObserver(()=>{At.forEach(Dt=>Dt())}),$e.value.observe(Ue,qe)};onMounted(()=>{Ie()}),onUnmounted(()=>{var Fe;(Fe=$e.value)==null||Fe.disconnect()})}var defaultProps$1={data:{type:Array,default:()=>[]},size:useSizeProp,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object]};function hColgroup(xe){const $e=xe.tableLayout==="auto";let Ie=xe.columns||[];$e&&Ie.every(Ue=>Ue.width===void 0)&&(Ie=[]);const Fe=Ue=>{const qe={key:`${xe.tableLayout}_${Ue.id}`,style:{},name:void 0};return $e?qe.style={width:`${Ue.width}px`}:qe.name=Ue.id,qe};return h$5("colgroup",{},Ie.map(Ue=>h$5("col",Fe(Ue))))}hColgroup.props=["columns","tableLayout"];const useScrollbar$1=()=>{const xe=ref(),$e=(qe,At)=>{const Dt=xe.value;Dt&&Dt.scrollTo(qe,At)},Ie=(qe,At)=>{const Dt=xe.value;Dt&&isNumber$1(At)&&["Top","Left"].includes(qe)&&Dt[`setScroll${qe}`](At)};return{scrollBarRef:xe,scrollTo:$e,setScrollTop:qe=>Ie("Top",qe),setScrollLeft:qe=>Ie("Left",qe)}};let tableIdSeed=1;const _sfc_main$A=defineComponent({name:"ElTable",directives:{Mousewheel},components:{TableHeader,TableBody,TableFooter,ElScrollbar,hColgroup},props:defaultProps$1,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("table"),Fe=getCurrentInstance();provide(TABLE_INJECTION_KEY,Fe);const Ue=createStore(Fe,xe);Fe.store=Ue;const qe=new TableLayout({store:Fe.store,table:Fe,fit:xe.fit,showHeader:xe.showHeader});Fe.layout=qe;const At=computed(()=>(Ue.states.data.value||[]).length===0),{setCurrentRow:Dt,getSelectionRows:Lt,toggleRowSelection:jt,clearSelection:hn,clearFilter:vn,toggleAllSelection:bn,toggleRowExpansion:_n,clearSort:wn,sort:kn}=useUtils(Ue),{isHidden:Cn,renderExpanded:Sn,setDragVisible:xn,isGroup:En,handleMouseLeave:Tn,handleHeaderFooterMousewheel:An,tableSize:$n,emptyBlockStyle:Pn,handleFixedMousewheel:Nn,resizeProxyVisible:Mn,bodyWidth:In,resizeState:On,doLayout:Rn,tableBodyStyles:Bn,tableLayout:Vn,scrollbarViewStyle:Ln,tableInnerStyle:Dn,scrollbarStyle:Hn}=useStyle(xe,qe,Ue,Fe),{scrollBarRef:Fn,scrollTo:zn,setScrollLeft:jn,setScrollTop:Gn}=useScrollbar$1(),Wn=debounce(Rn,50),Xn=`${Ie.namespace.value}-table_${tableIdSeed++}`;Fe.tableId=Xn,Fe.state={isGroup:En,resizeState:On,doLayout:Rn,debouncedUpdateLayout:Wn};const er=computed(()=>xe.sumText||$e("el.table.sumText")),rr=computed(()=>xe.emptyText||$e("el.table.emptyText"));return useKeyRender(Fe),{ns:Ie,layout:qe,store:Ue,handleHeaderFooterMousewheel:An,handleMouseLeave:Tn,tableId:Xn,tableSize:$n,isHidden:Cn,isEmpty:At,renderExpanded:Sn,resizeProxyVisible:Mn,resizeState:On,isGroup:En,bodyWidth:In,tableBodyStyles:Bn,emptyBlockStyle:Pn,debouncedUpdateLayout:Wn,handleFixedMousewheel:Nn,setCurrentRow:Dt,getSelectionRows:Lt,toggleRowSelection:jt,clearSelection:hn,clearFilter:vn,toggleAllSelection:bn,toggleRowExpansion:_n,clearSort:wn,doLayout:Rn,sort:kn,t:$e,setDragVisible:xn,context:Fe,computedSumText:er,computedEmptyText:rr,tableLayout:Vn,scrollbarViewStyle:Ln,tableInnerStyle:Dn,scrollbarStyle:Hn,scrollBarRef:Fn,scrollTo:zn,setScrollLeft:jn,setScrollTop:Gn}}}),_hoisted_1$g=["data-prefix"],_hoisted_2$a={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$3(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("hColgroup"),Dt=resolveComponent("table-header"),Lt=resolveComponent("table-body"),jt=resolveComponent("table-footer"),hn=resolveComponent("el-scrollbar"),vn=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[xe.ns.m("fit")]:xe.fit,[xe.ns.m("striped")]:xe.stripe,[xe.ns.m("border")]:xe.border||xe.isGroup,[xe.ns.m("hidden")]:xe.isHidden,[xe.ns.m("group")]:xe.isGroup,[xe.ns.m("fluid-height")]:xe.maxHeight,[xe.ns.m("scrollable-x")]:xe.layout.scrollX.value,[xe.ns.m("scrollable-y")]:xe.layout.scrollY.value,[xe.ns.m("enable-row-hover")]:!xe.store.states.isComplex.value,[xe.ns.m("enable-row-transition")]:(xe.store.states.data.value||[]).length!==0&&(xe.store.states.data.value||[]).length<100,"has-footer":xe.showSummary},xe.ns.m(xe.tableSize),xe.className,xe.ns.b(),xe.ns.m(`layout-${xe.tableLayout}`)]),style:normalizeStyle$1(xe.style),"data-prefix":xe.ns.namespace.value,onMouseleave:$e[0]||($e[0]=(...bn)=>xe.handleMouseLeave&&xe.handleMouseLeave(...bn))},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("inner-wrapper")),style:normalizeStyle$1(xe.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$a,[renderSlot(xe.$slots,"default")],512),xe.showHeader&&xe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(xe.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(xe.ns.e("header")),style:normalizeStyle$1(xe.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),createVNode$1(Dt,{ref:"tableHeaderRef",border:xe.border,"default-sort":xe.defaultSort,store:xe.store,onSetDragVisible:xe.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[vn,xe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(xe.ns.e("body-wrapper"))},[createVNode$1(hn,{ref:"scrollBarRef","view-style":xe.scrollbarViewStyle,"wrap-style":xe.scrollbarStyle,always:xe.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(xe.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:xe.bodyWidth,tableLayout:xe.tableLayout})},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),xe.showHeader&&xe.tableLayout==="auto"?(openBlock(),createBlock(Dt,{key:0,ref:"tableHeaderRef",class:normalizeClass(xe.ns.e("body-header")),border:xe.border,"default-sort":xe.defaultSort,store:xe.store,onSetDragVisible:xe.setDragVisible},null,8,["class","border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode$1(Lt,{context:xe.context,highlight:xe.highlightCurrentRow,"row-class-name":xe.rowClassName,"tooltip-effect":xe.tooltipEffect,"tooltip-options":xe.tooltipOptions,"row-style":xe.rowStyle,store:xe.store,stripe:xe.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),xe.showSummary&&xe.tableLayout==="auto"?(openBlock(),createBlock(jt,{key:1,class:normalizeClass(xe.ns.e("body-footer")),border:xe.border,"default-sort":xe.defaultSort,store:xe.store,"sum-text":xe.computedSumText,"summary-method":xe.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):createCommentVNode("v-if",!0)],6),xe.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(xe.emptyBlockStyle),class:normalizeClass(xe.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(xe.ns.e("empty-text"))},[renderSlot(xe.$slots,"empty",{},()=>[createTextVNode(toDisplayString(xe.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),xe.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(xe.ns.e("append-wrapper"))},[renderSlot(xe.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),xe.showSummary&&xe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(xe.ns.e("footer-wrapper"))},[createBaseVNode("table",{class:normalizeClass(xe.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1(xe.tableBodyStyles)},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),createVNode$1(jt,{border:xe.border,"default-sort":xe.defaultSort,store:xe.store,"sum-text":xe.computedSumText,"summary-method":xe.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[vShow,!xe.isEmpty],[vn,xe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),xe.border||xe.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(xe.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(xe.ns.e("column-resize-proxy"))},null,2),[[vShow,xe.resizeProxyVisible]])],46,_hoisted_1$g)}var Table=_export_sfc$1(_sfc_main$A,[["render",_sfc_render$3],["__file","table.vue"]]);const defaultClassNames={selection:"table-column--selection",expand:"table__expand-column"},cellStarts={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},getDefaultClassName=xe=>defaultClassNames[xe]||"",cellForced={selection:{renderHeader({store:xe,column:$e}){function Ie(){return xe.states.data.value&&xe.states.data.value.length===0}return h$5(ElCheckbox,{disabled:Ie(),size:xe.states.tableSize.value,indeterminate:xe.states.selection.value.length>0&&!xe.states.isAllSelected.value,"onUpdate:modelValue":xe.toggleAllSelection,modelValue:xe.states.isAllSelected.value,ariaLabel:$e.label})},renderCell({row:xe,column:$e,store:Ie,$index:Fe}){return h$5(ElCheckbox,{disabled:$e.selectable?!$e.selectable.call(null,xe,Fe):!1,size:Ie.states.tableSize.value,onChange:()=>{Ie.commit("rowSelectedChanged",xe)},onClick:Ue=>Ue.stopPropagation(),modelValue:Ie.isSelected(xe),ariaLabel:$e.label})},sortable:!1,resizable:!1},index:{renderHeader({column:xe}){return xe.label||"#"},renderCell({column:xe,$index:$e}){let Ie=$e+1;const Fe=xe.index;return typeof Fe=="number"?Ie=$e+Fe:typeof Fe=="function"&&(Ie=Fe($e)),h$5("div",{},[Ie])},sortable:!1},expand:{renderHeader({column:xe}){return xe.label||""},renderCell({row:xe,store:$e,expanded:Ie}){const{ns:Fe}=$e,Ue=[Fe.e("expand-icon")];return Ie&&Ue.push(Fe.em("expand-icon","expanded")),h$5("div",{class:Ue,onClick:function(At){At.stopPropagation(),$e.toggleRowExpansion(xe)}},{default:()=>[h$5(ElIcon,null,{default:()=>[h$5(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:xe,column:$e,$index:Ie}){var Fe;const Ue=$e.property,qe=Ue&&getProp(xe,Ue).value;return $e&&$e.formatter?$e.formatter(xe,$e,qe,Ie):((Fe=qe==null?void 0:qe.toString)==null?void 0:Fe.call(qe))||""}function treeCellPrefix({row:xe,treeNode:$e,store:Ie},Fe=!1){const{ns:Ue}=Ie;if(!$e)return Fe?[h$5("span",{class:Ue.e("placeholder")})]:null;const qe=[],At=function(Dt){Dt.stopPropagation(),!$e.loading&&Ie.loadOrToggle(xe)};if($e.indent&&qe.push(h$5("span",{class:Ue.e("indent"),style:{"padding-left":`${$e.indent}px`}})),typeof $e.expanded=="boolean"&&!$e.noLazyChildren){const Dt=[Ue.e("expand-icon"),$e.expanded?Ue.em("expand-icon","expanded"):""];let Lt=arrow_right_default;$e.loading&&(Lt=loading_default),qe.push(h$5("div",{class:Dt,onClick:At},{default:()=>[h$5(ElIcon,{class:{[Ue.is("loading")]:$e.loading}},{default:()=>[h$5(Lt)]})]}))}else qe.push(h$5("span",{class:Ue.e("placeholder")}));return qe}function getAllAliases(xe,$e){return xe.reduce((Ie,Fe)=>(Ie[Fe]=Fe,Ie),$e)}function useWatcher(xe,$e){const Ie=getCurrentInstance();return{registerComplexWatchers:()=>{const qe=["fixed"],At={realWidth:"width",realMinWidth:"minWidth"},Dt=getAllAliases(qe,At);Object.keys(Dt).forEach(Lt=>{const jt=At[Lt];hasOwn$1($e,jt)&&watch(()=>$e[jt],hn=>{let vn=hn;jt==="width"&&Lt==="realWidth"&&(vn=parseWidth(hn)),jt==="minWidth"&&Lt==="realMinWidth"&&(vn=parseMinWidth(hn)),Ie.columnConfig.value[jt]=vn,Ie.columnConfig.value[Lt]=vn;const bn=jt==="fixed";xe.value.store.scheduleLayout(bn)})})},registerNormalWatchers:()=>{const qe=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],At={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},Dt=getAllAliases(qe,At);Object.keys(Dt).forEach(Lt=>{const jt=At[Lt];hasOwn$1($e,jt)&&watch(()=>$e[jt],hn=>{Ie.columnConfig.value[Lt]=hn})})}}}function useRender(xe,$e,Ie){const Fe=getCurrentInstance(),Ue=ref(""),qe=ref(!1),At=ref(),Dt=ref(),Lt=useNamespace("table");watchEffect(()=>{At.value=xe.align?`is-${xe.align}`:null,At.value}),watchEffect(()=>{Dt.value=xe.headerAlign?`is-${xe.headerAlign}`:At.value,Dt.value});const jt=computed(()=>{let Tn=Fe.vnode.vParent||Fe.parent;for(;Tn&&!Tn.tableId&&!Tn.columnId;)Tn=Tn.vnode.vParent||Tn.parent;return Tn}),hn=computed(()=>{const{store:Tn}=Fe.parent;if(!Tn)return!1;const{treeData:An}=Tn.states,$n=An.value;return $n&&Object.keys($n).length>0}),vn=ref(parseWidth(xe.width)),bn=ref(parseMinWidth(xe.minWidth)),_n=Tn=>(vn.value&&(Tn.width=vn.value),bn.value&&(Tn.minWidth=bn.value),!vn.value&&bn.value&&(Tn.width=void 0),Tn.minWidth||(Tn.minWidth=80),Tn.realWidth=Number(Tn.width===void 0?Tn.minWidth:Tn.width),Tn),wn=Tn=>{const An=Tn.type,$n=cellForced[An]||{};Object.keys($n).forEach(Nn=>{const Mn=$n[Nn];Nn!=="className"&&Mn!==void 0&&(Tn[Nn]=Mn)});const Pn=getDefaultClassName(An);if(Pn){const Nn=`${unref(Lt.namespace)}-${Pn}`;Tn.className=Tn.className?`${Tn.className} ${Nn}`:Nn}return Tn},kn=Tn=>{Array.isArray(Tn)?Tn.forEach($n=>An($n)):An(Tn);function An($n){var Pn;((Pn=$n==null?void 0:$n.type)==null?void 0:Pn.name)==="ElTableColumn"&&($n.vParent=Fe)}};return{columnId:Ue,realAlign:At,isSubColumn:qe,realHeaderAlign:Dt,columnOrTableParent:jt,setColumnWidth:_n,setColumnForcedProps:wn,setColumnRenders:Tn=>{xe.renderHeader||Tn.type!=="selection"&&(Tn.renderHeader=$n=>(Fe.columnConfig.value.label,renderSlot($e,"header",$n,()=>[Tn.label])));let An=Tn.renderCell;return Tn.type==="expand"?(Tn.renderCell=$n=>h$5("div",{class:"cell"},[An($n)]),Ie.value.renderExpanded=$n=>$e.default?$e.default($n):$e.default):(An=An||defaultRenderCell,Tn.renderCell=$n=>{let Pn=null;if($e.default){const Bn=$e.default($n);Pn=Bn.some(Vn=>Vn.type!==Comment$1)?Bn:An($n)}else Pn=An($n);const{columns:Nn}=Ie.value.store.states,Mn=Nn.value.findIndex(Bn=>Bn.type==="default"),In=hn.value&&$n.cellIndex===Mn,On=treeCellPrefix($n,In),Rn={class:"cell",style:{}};return Tn.showOverflowTooltip&&(Rn.class=`${Rn.class} ${unref(Lt.namespace)}-tooltip`,Rn.style={width:`${($n.column.realWidth||Number($n.column.width))-1}px`}),kn(Pn),h$5("div",Rn,[On,Pn])}),Tn},getPropsData:(...Tn)=>Tn.reduce((An,$n)=>(Array.isArray($n)&&$n.forEach(Pn=>{An[Pn]=xe[Pn]}),An),{}),getColumnElIndex:(Tn,An)=>Array.prototype.indexOf.call(Tn,An),updateColumnOrder:()=>{Ie.value.store.commit("updateColumnOrder",Fe.columnConfig.value)}}}var defaultProps={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:xe=>xe.every($e=>["ascending","descending",null].includes($e))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=ref({}),Ue=computed(()=>{let En=Ie.parent;for(;En&&!En.tableId;)En=En.parent;return En}),{registerNormalWatchers:qe,registerComplexWatchers:At}=useWatcher(Ue,xe),{columnId:Dt,isSubColumn:Lt,realHeaderAlign:jt,columnOrTableParent:hn,setColumnWidth:vn,setColumnForcedProps:bn,setColumnRenders:_n,getPropsData:wn,getColumnElIndex:kn,realAlign:Cn,updateColumnOrder:Sn}=useRender(xe,$e,Ue),xn=hn.value;Dt.value=`${xn.tableId||xn.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{Lt.value=Ue.value!==xn;const En=xe.type||"default",Tn=xe.sortable===""?!0:xe.sortable,An=isUndefined(xe.showOverflowTooltip)?xn.props.showOverflowTooltip:xe.showOverflowTooltip,$n={...cellStarts[En],id:Dt.value,type:En,property:xe.prop||xe.property,align:Cn,headerAlign:jt,showOverflowTooltip:An,filterable:xe.filters||xe.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:Tn,index:xe.index,rawColumnKey:Ie.vnode.key};let On=wn(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);On=mergeOptions($n,On),On=compose(_n,vn,bn)(On),Fe.value=On,qe(),At()}),onMounted(()=>{var En;const Tn=hn.value,An=Lt.value?Tn.vnode.el.children:(En=Tn.refs.hiddenColumns)==null?void 0:En.children,$n=()=>kn(An||[],Ie.vnode.el);Fe.value.getColumnIndex=$n,$n()>-1&&Ue.value.store.commit("insertColumn",Fe.value,Lt.value?Tn.columnConfig.value:null,Sn)}),onBeforeUnmount(()=>{Fe.value.getColumnIndex()>-1&&Ue.value.store.commit("removeColumn",Fe.value,Lt.value?xn.columnConfig.value:null,Sn)}),Ie.columnId=Dt.value,Ie.columnConfig=Fe},render(){var xe,$e,Ie;try{const Fe=($e=(xe=this.$slots).default)==null?void 0:$e.call(xe,{row:{},column:{},$index:-1}),Ue=[];if(Array.isArray(Fe))for(const At of Fe)((Ie=At.type)==null?void 0:Ie.name)==="ElTableColumn"||At.shapeFlag&2?Ue.push(At):At.type===Fragment&&Array.isArray(At.children)&&At.children.forEach(Dt=>{(Dt==null?void 0:Dt.patchFlag)!==1024&&!isString$4(Dt==null?void 0:Dt.children)&&Ue.push(Dt)});return h$5("div",Ue)}catch{return h$5("div",[])}}});const ElTable=withInstall(Table,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(xe=>(xe.ASC="asc",xe.DESC="desc",xe))(SortOrder||{}),Alignment=(xe=>(xe.CENTER="center",xe.RIGHT="right",xe))(Alignment||{}),FixedDir=(xe=>(xe.LEFT="left",xe.RIGHT="right",xe))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(xe,$e,Ie)=>{var Fe;const Ue={flexGrow:0,flexShrink:0,...Ie?{}:{flexGrow:xe.flexGrow||0,flexShrink:xe.flexShrink||1}};Ie||(Ue.flexShrink=1);const qe={...(Fe=xe.style)!=null?Fe:{},...Ue,flexBasis:"auto",width:xe.width};return $e||(xe.maxWidth&&(qe.maxWidth=xe.maxWidth),xe.minWidth&&(qe.minWidth=xe.minWidth)),qe};function useColumns(xe,$e,Ie){const Fe=computed(()=>unref($e).filter(kn=>!kn.hidden)),Ue=computed(()=>unref(Fe).filter(kn=>kn.fixed==="left"||kn.fixed===!0)),qe=computed(()=>unref(Fe).filter(kn=>kn.fixed==="right")),At=computed(()=>unref(Fe).filter(kn=>!kn.fixed)),Dt=computed(()=>{const kn=[];return unref(Ue).forEach(Cn=>{kn.push({...Cn,placeholderSign})}),unref(At).forEach(Cn=>{kn.push(Cn)}),unref(qe).forEach(Cn=>{kn.push({...Cn,placeholderSign})}),kn}),Lt=computed(()=>unref(Ue).length||unref(qe).length),jt=computed(()=>unref($e).reduce((Cn,Sn)=>(Cn[Sn.key]=calcColumnStyle(Sn,unref(Ie),xe.fixed),Cn),{})),hn=computed(()=>unref(Fe).reduce((kn,Cn)=>kn+Cn.width,0)),vn=kn=>unref($e).find(Cn=>Cn.key===kn),bn=kn=>unref(jt)[kn],_n=(kn,Cn)=>{kn.width=Cn};function wn(kn){var Cn;const{key:Sn}=kn.currentTarget.dataset;if(!Sn)return;const{sortState:xn,sortBy:En}=xe;let Tn=SortOrder.ASC;isObject$8(xn)?Tn=oppositeOrderMap[xn[Sn]]:Tn=oppositeOrderMap[En.order],(Cn=xe.onColumnSort)==null||Cn.call(xe,{column:vn(Sn),key:Sn,order:Tn})}return{columns:$e,columnsStyles:jt,columnsTotalWidth:hn,fixedColumnsOnLeft:Ue,fixedColumnsOnRight:qe,hasFixedColumns:Lt,mainColumns:Dt,normalColumns:At,visibleColumns:Fe,getColumn:vn,getColumnStyle:bn,updateColumnWidth:_n,onColumnSorted:wn}}const useScrollbar=(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,onMaybeEndReached:Ue})=>{const qe=ref({scrollLeft:0,scrollTop:0});function At(_n){var wn,kn,Cn;const{scrollTop:Sn}=_n;(wn=$e.value)==null||wn.scrollTo(_n),(kn=Ie.value)==null||kn.scrollToTop(Sn),(Cn=Fe.value)==null||Cn.scrollToTop(Sn)}function Dt(_n){qe.value=_n,At(_n)}function Lt(_n){qe.value.scrollTop=_n,At(unref(qe))}function jt(_n){var wn,kn;qe.value.scrollLeft=_n,(kn=(wn=$e.value)==null?void 0:wn.scrollTo)==null||kn.call(wn,unref(qe))}function hn(_n){var wn;Dt(_n),(wn=xe.onScroll)==null||wn.call(xe,_n)}function vn({scrollTop:_n}){const{scrollTop:wn}=unref(qe);_n!==wn&&Lt(_n)}function bn(_n,wn="auto"){var kn;(kn=$e.value)==null||kn.scrollToRow(_n,wn)}return watch(()=>unref(qe).scrollTop,(_n,wn)=>{_n>wn&&Ue()}),{scrollPos:qe,scrollTo:Dt,scrollToLeft:jt,scrollToTop:Lt,scrollToRow:bn,onScroll:hn,onVerticalScroll:vn}},useRow=(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,tableInstance:Ue,ns:qe,isScrolling:At})=>{const Dt=getCurrentInstance(),{emit:Lt}=Dt,jt=shallowRef(!1),hn=ref(xe.defaultExpandedRowKeys||[]),vn=ref(-1),bn=shallowRef(null),_n=ref({}),wn=ref({}),kn=shallowRef({}),Cn=shallowRef({}),Sn=shallowRef({}),xn=computed(()=>isNumber$1(xe.estimatedRowHeight));function En(In){var On;(On=xe.onRowsRendered)==null||On.call(xe,In),In.rowCacheEnd>unref(vn)&&(vn.value=In.rowCacheEnd)}function Tn({hovered:In,rowKey:On}){if(At.value)return;Ue.vnode.el.querySelectorAll(`[rowkey=${On}]`).forEach(Vn=>{In?Vn.classList.add(qe.is("hovered")):Vn.classList.remove(qe.is("hovered"))})}function An({expanded:In,rowData:On,rowIndex:Rn,rowKey:Bn}){var Vn,Ln;const Dn=[...unref(hn)],Hn=Dn.indexOf(Bn);In?Hn===-1&&Dn.push(Bn):Hn>-1&&Dn.splice(Hn,1),hn.value=Dn,Lt("update:expandedRowKeys",Dn),(Vn=xe.onRowExpand)==null||Vn.call(xe,{expanded:In,rowData:On,rowIndex:Rn,rowKey:Bn}),(Ln=xe.onExpandedRowsChange)==null||Ln.call(xe,Dn)}const $n=debounce(()=>{var In,On,Rn,Bn;jt.value=!0,_n.value={...unref(_n),...unref(wn)},Pn(unref(bn),!1),wn.value={},bn.value=null,(In=$e.value)==null||In.forceUpdate(),(On=Ie.value)==null||On.forceUpdate(),(Rn=Fe.value)==null||Rn.forceUpdate(),(Bn=Dt.proxy)==null||Bn.$forceUpdate(),jt.value=!1},0);function Pn(In,On=!1){unref(xn)&&[$e,Ie,Fe].forEach(Rn=>{const Bn=unref(Rn);Bn&&Bn.resetAfterRowIndex(In,On)})}function Nn(In,On,Rn){const Bn=unref(bn);(Bn===null||Bn>Rn)&&(bn.value=Rn),wn.value[In]=On}function Mn({rowKey:In,height:On,rowIndex:Rn},Bn){Bn?Bn===FixedDir.RIGHT?Sn.value[In]=On:kn.value[In]=On:Cn.value[In]=On;const Vn=Math.max(...[kn,Sn,Cn].map(Ln=>Ln.value[In]||0));unref(_n)[In]!==Vn&&(Nn(In,Vn,Rn),$n())}return{expandedRowKeys:hn,lastRenderedRowIndex:vn,isDynamic:xn,isResetting:jt,rowHeights:_n,resetAfterIndex:Pn,onRowExpanded:An,onRowHovered:Tn,onRowsRendered:En,onRowHeightChange:Mn}},useData=(xe,{expandedRowKeys:$e,lastRenderedRowIndex:Ie,resetAfterIndex:Fe})=>{const Ue=ref({}),qe=computed(()=>{const Dt={},{data:Lt,rowKey:jt}=xe,hn=unref($e);if(!hn||!hn.length)return Lt;const vn=[],bn=new Set;hn.forEach(wn=>bn.add(wn));let _n=Lt.slice();for(_n.forEach(wn=>Dt[wn[jt]]=0);_n.length>0;){const wn=_n.shift();vn.push(wn),bn.has(wn[jt])&&Array.isArray(wn.children)&&wn.children.length>0&&(_n=[...wn.children,..._n],wn.children.forEach(kn=>Dt[kn[jt]]=Dt[wn[jt]]+1))}return Ue.value=Dt,vn}),At=computed(()=>{const{data:Dt,expandColumnKey:Lt}=xe;return Lt?unref(qe):Dt});return watch(At,(Dt,Lt)=>{Dt!==Lt&&(Ie.value=-1,Fe(0,!0))}),{data:At,depthMap:Ue}},sumReducer=(xe,$e)=>xe+$e,sum$1=xe=>isArray$6(xe)?xe.reduce(sumReducer,0):xe,tryCall=(xe,$e,Ie={})=>isFunction$5(xe)?xe($e):xe??Ie,enforceUnit=xe=>(["width","maxWidth","minWidth","height"].forEach($e=>{xe[$e]=addUnit(xe[$e])}),xe),componentToSlot=xe=>isVNode(xe)?$e=>h$5(xe,$e):xe,useStyles=(xe,{columnsTotalWidth:$e,data:Ie,fixedColumnsOnLeft:Fe,fixedColumnsOnRight:Ue})=>{const qe=computed(()=>{const{fixed:En,width:Tn,vScrollbarSize:An}=xe,$n=Tn-An;return En?Math.max(Math.round(unref($e)),$n):$n}),At=computed(()=>unref(qe)+xe.vScrollbarSize),Dt=computed(()=>{const{height:En=0,maxHeight:Tn=0,footerHeight:An,hScrollbarSize:$n}=xe;if(Tn>0){const Pn=unref(wn),Nn=unref(Lt),In=unref(_n)+Pn+Nn+$n;return Math.min(In,Tn-An)}return En-An}),Lt=computed(()=>{const{rowHeight:En,estimatedRowHeight:Tn}=xe,An=unref(Ie);return isNumber$1(Tn)?An.length*Tn:An.length*En}),jt=computed(()=>{const{maxHeight:En}=xe,Tn=unref(Dt);if(isNumber$1(En)&&En>0)return Tn;const An=unref(Lt)+unref(_n)+unref(wn);return Math.min(Tn,An)}),hn=En=>En.width,vn=computed(()=>sum$1(unref(Fe).map(hn))),bn=computed(()=>sum$1(unref(Ue).map(hn))),_n=computed(()=>sum$1(xe.headerHeight)),wn=computed(()=>{var En;return(((En=xe.fixedData)==null?void 0:En.length)||0)*xe.rowHeight}),kn=computed(()=>unref(Dt)-unref(_n)-unref(wn)),Cn=computed(()=>{const{style:En={},height:Tn,width:An}=xe;return enforceUnit({...En,height:Tn,width:An})}),Sn=computed(()=>enforceUnit({height:xe.footerHeight})),xn=computed(()=>({top:addUnit(unref(_n)),bottom:addUnit(xe.footerHeight),width:addUnit(xe.width)}));return{bodyWidth:qe,fixedTableHeight:jt,mainTableHeight:Dt,leftTableWidth:vn,rightTableWidth:bn,headerWidth:At,rowsHeight:Lt,windowHeight:kn,footerHeight:Sn,emptyStyle:xn,rootStyle:Cn,headerHeight:_n}},useAutoResize=xe=>{const $e=ref(),Ie=ref(0),Fe=ref(0);let Ue;return onMounted(()=>{Ue=useResizeObserver($e,([qe])=>{const{width:At,height:Dt}=qe.contentRect,{paddingLeft:Lt,paddingRight:jt,paddingTop:hn,paddingBottom:vn}=getComputedStyle(qe.target),bn=Number.parseInt(Lt)||0,_n=Number.parseInt(jt)||0,wn=Number.parseInt(hn)||0,kn=Number.parseInt(vn)||0;Ie.value=At-bn-_n,Fe.value=Dt-wn-kn}).stop}),onBeforeUnmount(()=>{Ue==null||Ue()}),watch([Ie,Fe],([qe,At])=>{var Dt;(Dt=xe.onResize)==null||Dt.call(xe,{width:qe,height:At})}),{sizer:$e,width:Ie,height:Fe}};function useTable(xe){const $e=ref(),Ie=ref(),Fe=ref(),{columns:Ue,columnsStyles:qe,columnsTotalWidth:At,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt,hasFixedColumns:jt,mainColumns:hn,onColumnSorted:vn}=useColumns(xe,toRef(xe,"columns"),toRef(xe,"fixed")),{scrollTo:bn,scrollToLeft:_n,scrollToTop:wn,scrollToRow:kn,onScroll:Cn,onVerticalScroll:Sn,scrollPos:xn}=useScrollbar(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,onMaybeEndReached:Kn}),En=useNamespace("table-v2"),Tn=getCurrentInstance(),An=shallowRef(!1),{expandedRowKeys:$n,lastRenderedRowIndex:Pn,isDynamic:Nn,isResetting:Mn,rowHeights:In,resetAfterIndex:On,onRowExpanded:Rn,onRowHeightChange:Bn,onRowHovered:Vn,onRowsRendered:Ln}=useRow(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,tableInstance:Tn,ns:En,isScrolling:An}),{data:Dn,depthMap:Hn}=useData(xe,{expandedRowKeys:$n,lastRenderedRowIndex:Pn,resetAfterIndex:On}),{bodyWidth:Fn,fixedTableHeight:zn,mainTableHeight:jn,leftTableWidth:Gn,rightTableWidth:Wn,headerWidth:Xn,rowsHeight:er,windowHeight:rr,footerHeight:Jn,emptyStyle:Yn,rootStyle:qn,headerHeight:ar}=useStyles(xe,{columnsTotalWidth:At,data:Dn,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt}),tr=ref(),or=computed(()=>{const Zn=unref(Dn).length===0;return isArray$6(xe.fixedData)?xe.fixedData.length===0&&Zn:Zn});function sr(Zn){const{estimatedRowHeight:nr,rowHeight:lr,rowKey:ir}=xe;return nr?unref(In)[unref(Dn)[Zn][ir]]||nr:lr}function Kn(){const{onEndReached:Zn}=xe;if(!Zn)return;const{scrollTop:nr}=unref(xn),lr=unref(er),ir=unref(rr),kr=lr-(nr+ir)+xe.hScrollbarSize;unref(Pn)>=0&&lr===nr+unref(jn)-unref(ar)&&Zn(kr)}return watch(()=>xe.expandedRowKeys,Zn=>$n.value=Zn,{deep:!0}),{columns:Ue,containerRef:tr,mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,isDynamic:Nn,isResetting:Mn,isScrolling:An,hasFixedColumns:jt,columnsStyles:qe,columnsTotalWidth:At,data:Dn,expandedRowKeys:$n,depthMap:Hn,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt,mainColumns:hn,bodyWidth:Fn,emptyStyle:Yn,rootStyle:qn,headerWidth:Xn,footerHeight:Jn,mainTableHeight:jn,fixedTableHeight:zn,leftTableWidth:Gn,rightTableWidth:Wn,showEmpty:or,getRowHeight:sr,onColumnSorted:vn,onRowHovered:Vn,onRowExpanded:Rn,onRowsRendered:Ln,onRowHeightChange:Bn,scrollTo:bn,scrollToLeft:_n,scrollToTop:wn,scrollToRow:kn,onScroll:Cn,onVerticalScroll:Sn}}const TableV2InjectionKey=Symbol("tableV2"),classType=String,columns={type:definePropType(Array),required:!0},fixedDataType={type:definePropType(Array)},dataType={...fixedDataType,required:!0},expandColumnKey=String,expandKeys={type:definePropType(Array),default:()=>mutable([])},requiredNumber={type:Number,required:!0},rowKey={type:definePropType([String,Number,Symbol]),default:"id"},styleType={type:definePropType(Object)},tableV2RowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,expandColumnKey,estimatedRowHeight:{...virtualizedGridProps.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:definePropType(Function)},onRowHover:{type:definePropType(Function)},onRowHeightChange:{type:definePropType(Function)},rowData:{type:definePropType(Object),required:!0},rowEventHandlers:{type:definePropType(Object)},rowIndex:{type:Number,required:!0},rowKey,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,columns,fixedHeaderData:{type:definePropType(Array)},headerData:{type:definePropType(Array),required:!0},headerHeight:{type:definePropType([Number,Array]),default:50},rowWidth:requiredNumberType,rowHeight:{type:Number,default:50},height:requiredNumberType,width:requiredNumberType}),tableV2GridProps=buildProps({columns,data:dataType,fixedData:fixedDataType,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,width:requiredNumber,height:requiredNumber,headerWidth:requiredNumber,headerHeight:tableV2HeaderProps.headerHeight,bodyWidth:requiredNumber,rowHeight:requiredNumber,cache:virtualizedListProps.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:virtualizedGridProps.scrollbarAlwaysOn,scrollbarStartGap:virtualizedGridProps.scrollbarStartGap,scrollbarEndGap:virtualizedGridProps.scrollbarEndGap,class:classType,style:styleType,containerStyle:styleType,getRowHeight:{type:definePropType(Function),required:!0},rowKey:tableV2RowProps.rowKey,onRowsRendered:{type:definePropType(Function)},onScroll:{type:definePropType(Function)}}),tableV2Props=buildProps({cache:tableV2GridProps.cache,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,rowKey,headerClass:{type:definePropType([String,Function])},headerProps:{type:definePropType([Object,Function])},headerCellProps:{type:definePropType([Object,Function])},headerHeight:tableV2HeaderProps.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:definePropType([String,Function])},rowProps:{type:definePropType([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:definePropType([Object,Function])},columns,data:dataType,dataGetter:{type:definePropType(Function)},fixedData:fixedDataType,expandColumnKey:tableV2RowProps.expandColumnKey,expandedRowKeys:expandKeys,defaultExpandedRowKeys:expandKeys,class:classType,fixed:Boolean,style:{type:definePropType(Object)},width:requiredNumber,height:requiredNumber,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:virtualizedGridProps.hScrollbarSize,vScrollbarSize:virtualizedGridProps.vScrollbarSize,scrollbarAlwaysOn:virtualizedScrollbarProps.alwaysOn,sortBy:{type:definePropType(Object),default:()=>({})},sortState:{type:definePropType(Object),default:void 0},onColumnSort:{type:definePropType(Function)},onExpandedRowsChange:{type:definePropType(Function)},onEndReached:{type:definePropType(Function)},onRowExpand:tableV2RowProps.onRowExpand,onScroll:tableV2GridProps.onScroll,onRowsRendered:tableV2GridProps.onRowsRendered,rowEventHandlers:tableV2RowProps.rowEventHandlers}),TableV2Cell=(xe,{slots:$e})=>{var Ie;const{cellData:Fe,style:Ue}=xe,qe=((Ie=Fe==null?void 0:Fe.toString)==null?void 0:Ie.call(Fe))||"",At=renderSlot($e,"default",xe,()=>[qe]);return createVNode$1("div",{class:xe.class,title:qe,style:Ue},[At])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(xe,{slots:$e})=>renderSlot($e,"default",xe,()=>{var Ie,Fe;return[createVNode$1("div",{class:xe.class,title:(Ie=xe.column)==null?void 0:Ie.title},[(Fe=xe.column)==null?void 0:Fe.title])]});HeaderCell.displayName="ElTableV2HeaderCell";HeaderCell.inheritAttrs=!1;const tableV2HeaderRowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup(xe,{slots:$e}){return()=>{const{columns:Ie,columnsStyles:Fe,headerIndex:Ue,style:qe}=xe;let At=Ie.map((Dt,Lt)=>$e.cell({columns:Ie,column:Dt,columnIndex:Lt,headerIndex:Ue,style:Fe[Dt.key]}));return $e.header&&(At=$e.header({cells:At.map(Dt=>isArray$6(Dt)&&Dt.length===1?Dt[0]:Dt),columns:Ie,headerIndex:Ue})),createVNode$1("div",{class:xe.class,style:qe,role:"row"},[At])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(xe,{slots:$e,expose:Ie}){const Fe=useNamespace("table-v2"),Ue=ref(),qe=computed(()=>enforceUnit({width:xe.width,height:xe.height})),At=computed(()=>enforceUnit({width:xe.rowWidth,height:xe.height})),Dt=computed(()=>castArray$1(unref(xe.headerHeight))),Lt=vn=>{const bn=unref(Ue);nextTick(()=>{bn!=null&&bn.scroll&&bn.scroll({left:vn})})},jt=()=>{const vn=Fe.e("fixed-header-row"),{columns:bn,fixedHeaderData:_n,rowHeight:wn}=xe;return _n==null?void 0:_n.map((kn,Cn)=>{var Sn;const xn=enforceUnit({height:wn,width:"100%"});return(Sn=$e.fixed)==null?void 0:Sn.call($e,{class:vn,columns:bn,rowData:kn,rowIndex:-(Cn+1),style:xn})})},hn=()=>{const vn=Fe.e("dynamic-header-row"),{columns:bn}=xe;return unref(Dt).map((_n,wn)=>{var kn;const Cn=enforceUnit({width:"100%",height:_n});return(kn=$e.dynamic)==null?void 0:kn.call($e,{class:vn,columns:bn,headerIndex:wn,style:Cn})})};return Ie({scrollToLeft:Lt}),()=>{if(!(xe.height<=0))return createVNode$1("div",{ref:Ue,class:xe.class,style:unref(qe),role:"rowgroup"},[createVNode$1("div",{style:unref(At),class:Fe.e("header")},[hn(),jt()])])}}}),useTableRow=xe=>{const{isScrolling:$e}=inject(TableV2InjectionKey),Ie=ref(!1),Fe=ref(),Ue=computed(()=>isNumber$1(xe.estimatedRowHeight)&&xe.rowIndex>=0),qe=(Lt=!1)=>{const jt=unref(Fe);if(!jt)return;const{columns:hn,onRowHeightChange:vn,rowKey:bn,rowIndex:_n,style:wn}=xe,{height:kn}=jt.getBoundingClientRect();Ie.value=!0,nextTick(()=>{if(Lt||kn!==Number.parseInt(wn.height)){const Cn=hn[0],Sn=(Cn==null?void 0:Cn.placeholderSign)===placeholderSign;vn==null||vn({rowKey:bn,height:kn,rowIndex:_n},Cn&&!Sn&&Cn.fixed)}})},At=computed(()=>{const{rowData:Lt,rowIndex:jt,rowKey:hn,onRowHover:vn}=xe,bn=xe.rowEventHandlers||{},_n={};return Object.entries(bn).forEach(([wn,kn])=>{isFunction$5(kn)&&(_n[wn]=Cn=>{kn({event:Cn,rowData:Lt,rowIndex:jt,rowKey:hn})})}),vn&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:wn,hovered:kn})=>{const Cn=_n[wn];_n[wn]=Sn=>{vn({event:Sn,hovered:kn,rowData:Lt,rowIndex:jt,rowKey:hn}),Cn==null||Cn(Sn)}}),_n}),Dt=Lt=>{const{onRowExpand:jt,rowData:hn,rowIndex:vn,rowKey:bn}=xe;jt==null||jt({expanded:Lt,rowData:hn,rowIndex:vn,rowKey:bn})};return onMounted(()=>{unref(Ue)&&qe(!0)}),{isScrolling:$e,measurable:Ue,measured:Ie,rowRef:Fe,eventHandlers:At,onExpand:Dt}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(xe,{expose:$e,slots:Ie,attrs:Fe}){const{eventHandlers:Ue,isScrolling:qe,measurable:At,measured:Dt,rowRef:Lt,onExpand:jt}=useTableRow(xe);return $e({onExpand:jt}),()=>{const{columns:hn,columnsStyles:vn,expandColumnKey:bn,depth:_n,rowData:wn,rowIndex:kn,style:Cn}=xe;let Sn=hn.map((xn,En)=>{const Tn=isArray$6(wn.children)&&wn.children.length>0&&xn.key===bn;return Ie.cell({column:xn,columns:hn,columnIndex:En,depth:_n,style:vn[xn.key],rowData:wn,rowIndex:kn,isScrolling:unref(qe),expandIconProps:Tn?{rowData:wn,rowIndex:kn,onExpand:jt}:void 0})});if(Ie.row&&(Sn=Ie.row({cells:Sn.map(xn=>isArray$6(xn)&&xn.length===1?xn[0]:xn),style:Cn,columns:hn,depth:_n,rowData:wn,rowIndex:kn,isScrolling:unref(qe)})),unref(At)){const{height:xn,...En}=Cn||{},Tn=unref(Dt);return createVNode$1("div",mergeProps({ref:Lt,class:xe.class,style:Tn?Cn:En,role:"row"},Fe,unref(Ue)),[Sn])}return createVNode$1("div",mergeProps(Fe,{ref:Lt,class:xe.class,style:Cn,role:"row"},unref(Ue)),[Sn])}}}),SortIcon=xe=>{const{sortOrder:$e}=xe;return createVNode$1(ElIcon,{size:14,class:xe.class},{default:()=>[$e===SortOrder.ASC?createVNode$1(sort_up_default,null,null):createVNode$1(sort_down_default,null,null)]})},ExpandIcon=xe=>{const{expanded:$e,expandable:Ie,onExpand:Fe,style:Ue,size:qe}=xe,At={onClick:Ie?()=>Fe(!$e):void 0,class:xe.class};return createVNode$1(ElIcon,mergeProps(At,{size:qe,style:Ue}),{default:()=>[createVNode$1(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=xe=>{const $e=ref(),Ie=ref(),Fe=computed(()=>{const{data:kn,rowHeight:Cn,estimatedRowHeight:Sn}=xe;if(!Sn)return kn.length*Cn}),Ue=computed(()=>{const{fixedData:kn,rowHeight:Cn}=xe;return((kn==null?void 0:kn.length)||0)*Cn}),qe=computed(()=>sum$1(xe.headerHeight)),At=computed(()=>{const{height:kn}=xe;return Math.max(0,kn-unref(qe)-unref(Ue))}),Dt=computed(()=>unref(qe)+unref(Ue)>0),Lt=({data:kn,rowIndex:Cn})=>kn[Cn][xe.rowKey];function jt({rowCacheStart:kn,rowCacheEnd:Cn,rowVisibleStart:Sn,rowVisibleEnd:xn}){var En;(En=xe.onRowsRendered)==null||En.call(xe,{rowCacheStart:kn,rowCacheEnd:Cn,rowVisibleStart:Sn,rowVisibleEnd:xn})}function hn(kn,Cn){var Sn;(Sn=Ie.value)==null||Sn.resetAfterRowIndex(kn,Cn)}function vn(kn,Cn){const Sn=unref($e),xn=unref(Ie);isObject$8(kn)?(Sn==null||Sn.scrollToLeft(kn.scrollLeft),xn==null||xn.scrollTo(kn)):(Sn==null||Sn.scrollToLeft(kn),xn==null||xn.scrollTo({scrollLeft:kn,scrollTop:Cn}))}function bn(kn){var Cn;(Cn=unref(Ie))==null||Cn.scrollTo({scrollTop:kn})}function _n(kn,Cn){var Sn;(Sn=unref(Ie))==null||Sn.scrollToItem(kn,1,Cn)}function wn(){var kn,Cn;(kn=unref(Ie))==null||kn.$forceUpdate(),(Cn=unref($e))==null||Cn.$forceUpdate()}return{bodyRef:Ie,forceUpdate:wn,fixedRowHeight:Ue,gridHeight:At,hasHeader:Dt,headerHeight:qe,headerRef:$e,totalHeight:Fe,itemKey:Lt,onItemRendered:jt,resetAfterRowIndex:hn,scrollTo:vn,scrollToTop:bn,scrollToRow:_n}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(xe,{slots:$e,expose:Ie}){const{ns:Fe}=inject(TableV2InjectionKey),{bodyRef:Ue,fixedRowHeight:qe,gridHeight:At,hasHeader:Dt,headerRef:Lt,headerHeight:jt,totalHeight:hn,forceUpdate:vn,itemKey:bn,onItemRendered:_n,resetAfterRowIndex:wn,scrollTo:kn,scrollToTop:Cn,scrollToRow:Sn}=useTableGrid(xe);Ie({forceUpdate:vn,totalHeight:hn,scrollTo:kn,scrollToTop:Cn,scrollToRow:Sn,resetAfterRowIndex:wn});const xn=()=>xe.bodyWidth;return()=>{const{cache:En,columns:Tn,data:An,fixedData:$n,useIsScrolling:Pn,scrollbarAlwaysOn:Nn,scrollbarEndGap:Mn,scrollbarStartGap:In,style:On,rowHeight:Rn,bodyWidth:Bn,estimatedRowHeight:Vn,headerWidth:Ln,height:Dn,width:Hn,getRowHeight:Fn,onScroll:zn}=xe,jn=isNumber$1(Vn),Gn=jn?DynamicSizeGrid:FixedSizeGrid,Wn=unref(jt);return createVNode$1("div",{role:"table",class:[Fe.e("table"),xe.class],style:On},[createVNode$1(Gn,{ref:Ue,data:An,useIsScrolling:Pn,itemKey:bn,columnCache:0,columnWidth:jn?xn:Bn,totalColumn:1,totalRow:An.length,rowCache:En,rowHeight:jn?Fn:Rn,width:Hn,height:unref(At),class:Fe.e("body"),role:"rowgroup",scrollbarStartGap:In,scrollbarEndGap:Mn,scrollbarAlwaysOn:Nn,onScroll:zn,onItemRendered:_n,perfMode:!1},{default:Xn=>{var er;const rr=An[Xn.rowIndex];return(er=$e.row)==null?void 0:er.call($e,{...Xn,columns:Tn,rowData:rr})}}),unref(Dt)&&createVNode$1(TableV2Header,{ref:Lt,class:Fe.e("header-wrapper"),columns:Tn,headerData:An,headerHeight:xe.headerHeight,fixedHeaderData:$n,rowWidth:Ln,rowHeight:Rn,width:Hn,height:Math.min(Wn+unref(qe),Dn)},{dynamic:$e.header,fixed:$e.row})])}}});function _isSlot$5(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const MainTable=(xe,{slots:$e})=>{const{mainTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$5($e)?$e:{default:()=>[$e]})};function _isSlot$4(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const LeftTable$1=(xe,{slots:$e})=>{if(!xe.columns.length)return;const{leftTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$4($e)?$e:{default:()=>[$e]})};function _isSlot$3(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const LeftTable=(xe,{slots:$e})=>{if(!xe.columns.length)return;const{rightTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$3($e)?$e:{default:()=>[$e]})};function _isSlot$2(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const RowRenderer=(xe,{slots:$e})=>{const{columns:Ie,columnsStyles:Fe,depthMap:Ue,expandColumnKey:qe,expandedRowKeys:At,estimatedRowHeight:Dt,hasFixedColumns:Lt,rowData:jt,rowIndex:hn,style:vn,isScrolling:bn,rowProps:_n,rowClass:wn,rowKey:kn,rowEventHandlers:Cn,ns:Sn,onRowHovered:xn,onRowExpanded:En}=xe,Tn=tryCall(wn,{columns:Ie,rowData:jt,rowIndex:hn},""),An=tryCall(_n,{columns:Ie,rowData:jt,rowIndex:hn}),$n=jt[kn],Pn=Ue[$n]||0,Nn=!!qe,Mn=hn<0,In=[Sn.e("row"),Tn,{[Sn.e(`row-depth-${Pn}`)]:Nn&&hn>=0,[Sn.is("expanded")]:Nn&&At.includes($n),[Sn.is("fixed")]:!Pn&&Mn,[Sn.is("customized")]:!!$e.row}],On=Lt?xn:void 0,Rn={...An,columns:Ie,columnsStyles:Fe,class:In,depth:Pn,expandColumnKey:qe,estimatedRowHeight:Mn?void 0:Dt,isScrolling:bn,rowIndex:hn,rowData:jt,rowKey:$n,rowEventHandlers:Cn,style:vn};return createVNode$1(TableV2Row,mergeProps(Rn,{onRowExpand:En,onMouseenter:Ln=>{On==null||On({hovered:!0,rowKey:$n,event:Ln,rowData:jt,rowIndex:hn})},onMouseleave:Ln=>{On==null||On({hovered:!1,rowKey:$n,event:Ln,rowData:jt,rowIndex:hn})},rowkey:$n}),_isSlot$2($e)?$e:{default:()=>[$e]})},CellRenderer=({columns:xe,column:$e,columnIndex:Ie,depth:Fe,expandIconProps:Ue,isScrolling:qe,rowData:At,rowIndex:Dt,style:Lt,expandedRowKeys:jt,ns:hn,cellProps:vn,expandColumnKey:bn,indentSize:_n,iconSize:wn,rowKey:kn},{slots:Cn})=>{const Sn=enforceUnit(Lt);if($e.placeholderSign===placeholderSign)return createVNode$1("div",{class:hn.em("row-cell","placeholder"),style:Sn},null);const{cellRenderer:xn,dataKey:En,dataGetter:Tn}=$e,An=isFunction$5(Tn)?Tn({columns:xe,column:$e,columnIndex:Ie,rowData:At,rowIndex:Dt}):get$1(At,En??""),$n=tryCall(vn,{cellData:An,columns:xe,column:$e,columnIndex:Ie,rowIndex:Dt,rowData:At}),Pn={class:hn.e("cell-text"),columns:xe,column:$e,columnIndex:Ie,cellData:An,isScrolling:qe,rowData:At,rowIndex:Dt},Nn=componentToSlot(xn),Mn=Nn?Nn(Pn):renderSlot(Cn,"default",Pn,()=>[createVNode$1(TableV2Cell,Pn,null)]),In=[hn.e("row-cell"),$e.class,$e.align===Alignment.CENTER&&hn.is("align-center"),$e.align===Alignment.RIGHT&&hn.is("align-right")],On=Dt>=0&&bn&&$e.key===bn,Rn=Dt>=0&&jt.includes(At[kn]);let Bn;const Vn=`margin-inline-start: ${Fe*_n}px;`;return On&&(isObject$8(Ue)?Bn=createVNode$1(ExpandIcon,mergeProps(Ue,{class:[hn.e("expand-icon"),hn.is("expanded",Rn)],size:wn,expanded:Rn,style:Vn,expandable:!0}),null):Bn=createVNode$1("div",{style:[Vn,`width: ${wn}px; height: ${wn}px;`].join(" ")},null)),createVNode$1("div",mergeProps({class:In,style:Sn},$n,{role:"cell"}),[Bn,Mn])};CellRenderer.inheritAttrs=!1;function _isSlot$1(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const HeaderRenderer=({columns:xe,columnsStyles:$e,headerIndex:Ie,style:Fe,headerClass:Ue,headerProps:qe,ns:At},{slots:Dt})=>{const Lt={columns:xe,headerIndex:Ie},jt=[At.e("header-row"),tryCall(Ue,Lt,""),{[At.is("customized")]:!!Dt.header}],hn={...tryCall(qe,Lt),columnsStyles:$e,class:jt,columns:xe,headerIndex:Ie,style:Fe};return createVNode$1(TableV2HeaderRow,hn,_isSlot$1(Dt)?Dt:{default:()=>[Dt]})},HeaderCellRenderer=(xe,{slots:$e})=>{const{column:Ie,ns:Fe,style:Ue,onColumnSorted:qe}=xe,At=enforceUnit(Ue);if(Ie.placeholderSign===placeholderSign)return createVNode$1("div",{class:Fe.em("header-row-cell","placeholder"),style:At},null);const{headerCellRenderer:Dt,headerClass:Lt,sortable:jt}=Ie,hn={...xe,class:Fe.e("header-cell-text")},vn=componentToSlot(Dt),bn=vn?vn(hn):renderSlot($e,"default",hn,()=>[createVNode$1(HeaderCell,hn,null)]),{sortBy:_n,sortState:wn,headerCellProps:kn}=xe;let Cn,Sn;if(wn){const Tn=wn[Ie.key];Cn=!!oppositeOrderMap[Tn],Sn=Cn?Tn:SortOrder.ASC}else Cn=Ie.key===_n.key,Sn=Cn?_n.order:SortOrder.ASC;const xn=[Fe.e("header-cell"),tryCall(Lt,xe,""),Ie.align===Alignment.CENTER&&Fe.is("align-center"),Ie.align===Alignment.RIGHT&&Fe.is("align-right"),jt&&Fe.is("sortable")],En={...tryCall(kn,xe),onClick:Ie.sortable?qe:void 0,class:xn,style:At,"data-key":Ie.key};return createVNode$1("div",mergeProps(En,{role:"columnheader"}),[bn,jt&&createVNode$1(SortIcon,{class:[Fe.e("sort-icon"),Cn&&Fe.is("sorting")],sortOrder:Sn},null)])},Footer$1=(xe,{slots:$e})=>{var Ie;return createVNode$1("div",{class:xe.class,style:xe.style},[(Ie=$e.default)==null?void 0:Ie.call($e)])};Footer$1.displayName="ElTableV2Footer";const Footer=(xe,{slots:$e})=>{const Ie=renderSlot($e,"default",{},()=>[createVNode$1(ElEmpty,null,null)]);return createVNode$1("div",{class:xe.class,style:xe.style},[Ie])};Footer.displayName="ElTableV2Empty";const Overlay=(xe,{slots:$e})=>{var Ie;return createVNode$1("div",{class:xe.class,style:xe.style},[(Ie=$e.default)==null?void 0:Ie.call($e)])};Overlay.displayName="ElTableV2Overlay";function _isSlot(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(xe,{slots:$e,expose:Ie}){const Fe=useNamespace("table-v2"),{columnsStyles:Ue,fixedColumnsOnLeft:qe,fixedColumnsOnRight:At,mainColumns:Dt,mainTableHeight:Lt,fixedTableHeight:jt,leftTableWidth:hn,rightTableWidth:vn,data:bn,depthMap:_n,expandedRowKeys:wn,hasFixedColumns:kn,mainTableRef:Cn,leftTableRef:Sn,rightTableRef:xn,isDynamic:En,isResetting:Tn,isScrolling:An,bodyWidth:$n,emptyStyle:Pn,rootStyle:Nn,headerWidth:Mn,footerHeight:In,showEmpty:On,scrollTo:Rn,scrollToLeft:Bn,scrollToTop:Vn,scrollToRow:Ln,getRowHeight:Dn,onColumnSorted:Hn,onRowHeightChange:Fn,onRowHovered:zn,onRowExpanded:jn,onRowsRendered:Gn,onScroll:Wn,onVerticalScroll:Xn}=useTable(xe);return Ie({scrollTo:Rn,scrollToLeft:Bn,scrollToTop:Vn,scrollToRow:Ln}),provide(TableV2InjectionKey,{ns:Fe,isResetting:Tn,isScrolling:An}),()=>{const{cache:er,cellProps:rr,estimatedRowHeight:Jn,expandColumnKey:Yn,fixedData:qn,headerHeight:ar,headerClass:tr,headerProps:or,headerCellProps:sr,sortBy:Kn,sortState:Zn,rowHeight:nr,rowClass:lr,rowEventHandlers:ir,rowKey:kr,rowProps:Cr,scrollbarAlwaysOn:Er,indentSize:dr,iconSize:br,useIsScrolling:_r,vScrollbarSize:Pr,width:gr}=xe,xr=unref(bn),Rr={cache:er,class:Fe.e("main"),columns:unref(Dt),data:xr,fixedData:qn,estimatedRowHeight:Jn,bodyWidth:unref($n)+Pr,headerHeight:ar,headerWidth:unref(Mn),height:unref(Lt),mainTableRef:Cn,rowKey:kr,rowHeight:nr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:_r,width:gr,getRowHeight:Dn,onRowsRendered:Gn,onScroll:Wn},Hr=unref(hn),Jr=unref(jt),Gr={cache:er,class:Fe.e("left"),columns:unref(qe),data:xr,estimatedRowHeight:Jn,leftTableRef:Sn,rowHeight:nr,bodyWidth:Hr,headerWidth:Hr,headerHeight:ar,height:Jr,rowKey:kr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:_r,width:Hr,getRowHeight:Dn,onScroll:Xn},Br=unref(vn)+Pr,Tr={cache:er,class:Fe.e("right"),columns:unref(At),data:xr,estimatedRowHeight:Jn,rightTableRef:xn,rowHeight:nr,bodyWidth:Br,headerWidth:Br,headerHeight:ar,height:Jr,rowKey:kr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,width:Br,style:`--${unref(Fe.namespace)}-table-scrollbar-size: ${Pr}px`,useIsScrolling:_r,getRowHeight:Dn,onScroll:Xn},cr=unref(Ue),Sr={ns:Fe,depthMap:unref(_n),columnsStyles:cr,expandColumnKey:Yn,expandedRowKeys:unref(wn),estimatedRowHeight:Jn,hasFixedColumns:unref(kn),rowProps:Cr,rowClass:lr,rowKey:kr,rowEventHandlers:ir,onRowHovered:zn,onRowExpanded:jn,onRowHeightChange:Fn},Dr={cellProps:rr,expandColumnKey:Yn,indentSize:dr,iconSize:br,rowKey:kr,expandedRowKeys:unref(wn),ns:Fe},mr={ns:Fe,headerClass:tr,headerProps:or,columnsStyles:cr},Lr={ns:Fe,sortBy:Kn,sortState:Zn,headerCellProps:sr,onColumnSorted:Hn},zr={row:qr=>createVNode$1(RowRenderer,mergeProps(qr,Sr),{row:$e.row,cell:Ur=>{let uo;return $e.cell?createVNode$1(CellRenderer,mergeProps(Ur,Dr,{style:cr[Ur.column.key]}),_isSlot(uo=$e.cell(Ur))?uo:{default:()=>[uo]}):createVNode$1(CellRenderer,mergeProps(Ur,Dr,{style:cr[Ur.column.key]}),null)}}),header:qr=>createVNode$1(HeaderRenderer,mergeProps(qr,mr),{header:$e.header,cell:Ur=>{let uo;return $e["header-cell"]?createVNode$1(HeaderCellRenderer,mergeProps(Ur,Lr,{style:cr[Ur.column.key]}),_isSlot(uo=$e["header-cell"](Ur))?uo:{default:()=>[uo]}):createVNode$1(HeaderCellRenderer,mergeProps(Ur,Lr,{style:cr[Ur.column.key]}),null)}})},Vr=[xe.class,Fe.b(),Fe.e("root"),{[Fe.is("dynamic")]:unref(En)}],Kr={class:Fe.e("footer"),style:unref(In)};return createVNode$1("div",{class:Vr,style:unref(Nn)},[createVNode$1(MainTable,Rr,_isSlot(zr)?zr:{default:()=>[zr]}),createVNode$1(LeftTable$1,Gr,_isSlot(zr)?zr:{default:()=>[zr]}),createVNode$1(LeftTable,Tr,_isSlot(zr)?zr:{default:()=>[zr]}),$e.footer&&createVNode$1(Footer$1,Kr,{default:$e.footer}),unref(On)&&createVNode$1(Footer,{class:Fe.e("empty"),style:unref(Pn)},{default:$e.empty}),$e.overlay&&createVNode$1(Overlay,{class:Fe.e("overlay")},{default:$e.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(xe,{slots:$e}){const Ie=useNamespace("auto-resizer"),{height:Fe,width:Ue,sizer:qe}=useAutoResize(xe),At={width:"100%",height:"100%"};return()=>{var Dt;return createVNode$1("div",{ref:qe,class:Ie.b(),style:At},[(Dt=$e.default)==null?void 0:Dt.call($e,{height:Fe.value,width:Ue.value})])}}}),ElTableV2=withInstall(TableV2),ElAutoResizer=withInstall(AutoResizer),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$s=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$z=defineComponent({...__default__$s,props:tabBarProps,setup(xe,{expose:$e}){const Ie=xe,Fe=getCurrentInstance(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$3,"");const qe=useNamespace("tabs"),At=ref(),Dt=ref(),Lt=()=>{let hn=0,vn=0;const bn=["top","bottom"].includes(Ue.props.tabPosition)?"width":"height",_n=bn==="width"?"x":"y",wn=_n==="x"?"left":"top";return Ie.tabs.every(kn=>{var Cn,Sn;const xn=(Sn=(Cn=Fe.parent)==null?void 0:Cn.refs)==null?void 0:Sn[`tab-${kn.uid}`];if(!xn)return!1;if(!kn.active)return!0;hn=xn[`offset${capitalize(wn)}`],vn=xn[`client${capitalize(bn)}`];const En=window.getComputedStyle(xn);return bn==="width"&&(Ie.tabs.length>1&&(vn-=Number.parseFloat(En.paddingLeft)+Number.parseFloat(En.paddingRight)),hn+=Number.parseFloat(En.paddingLeft)),!1}),{[bn]:`${vn}px`,transform:`translate${capitalize(_n)}(${hn}px)`}},jt=()=>Dt.value=Lt();return watch(()=>Ie.tabs,async()=>{await nextTick(),jt()},{immediate:!0}),useResizeObserver(At,()=>jt()),$e({ref:At,update:jt}),(hn,vn)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:At,class:normalizeClass([unref(qe).e("active-bar"),unref(qe).is(unref(Ue).props.tabPosition)]),style:normalizeStyle$1(Dt.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$z,[["__file","tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(xe,$e,Ie)=>Ie instanceof Event,tabRemove:(xe,$e)=>$e instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=getCurrentInstance(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$2,"");const qe=useNamespace("tabs"),At=useDocumentVisibility(),Dt=useWindowFocus(),Lt=ref(),jt=ref(),hn=ref(),vn=ref(),bn=ref(!1),_n=ref(0),wn=ref(!1),kn=ref(!0),Cn=computed(()=>["top","bottom"].includes(Ue.props.tabPosition)?"width":"height"),Sn=computed(()=>({transform:`translate${Cn.value==="width"?"X":"Y"}(-${_n.value}px)`})),xn=()=>{if(!Lt.value)return;const Mn=Lt.value[`offset${capitalize(Cn.value)}`],In=_n.value;if(!In)return;const On=In>Mn?In-Mn:0;_n.value=On},En=()=>{if(!Lt.value||!jt.value)return;const Mn=jt.value[`offset${capitalize(Cn.value)}`],In=Lt.value[`offset${capitalize(Cn.value)}`],On=_n.value;if(Mn-On<=In)return;const Rn=Mn-On>In*2?On+In:Mn-In;_n.value=Rn},Tn=async()=>{const Mn=jt.value;if(!bn.value||!hn.value||!Lt.value||!Mn)return;await nextTick();const In=hn.value.querySelector(".is-active");if(!In)return;const On=Lt.value,Rn=["top","bottom"].includes(Ue.props.tabPosition),Bn=In.getBoundingClientRect(),Vn=On.getBoundingClientRect(),Ln=Rn?Mn.offsetWidth-Vn.width:Mn.offsetHeight-Vn.height,Dn=_n.value;let Hn=Dn;Rn?(Bn.leftVn.right&&(Hn=Dn+Bn.right-Vn.right)):(Bn.topVn.bottom&&(Hn=Dn+(Bn.bottom-Vn.bottom))),Hn=Math.max(Hn,0),_n.value=Math.min(Hn,Ln)},An=()=>{var Mn;if(!jt.value||!Lt.value)return;xe.stretch&&((Mn=vn.value)==null||Mn.update());const In=jt.value[`offset${capitalize(Cn.value)}`],On=Lt.value[`offset${capitalize(Cn.value)}`],Rn=_n.value;On0&&(_n.value=0))},$n=Mn=>{const In=Mn.code,{up:On,down:Rn,left:Bn,right:Vn}=EVENT_CODE;if(![On,Rn,Bn,Vn].includes(In))return;const Ln=Array.from(Mn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Dn=Ln.indexOf(Mn.target);let Hn;In===Bn||In===On?Dn===0?Hn=Ln.length-1:Hn=Dn-1:Dn{kn.value&&(wn.value=!0)},Nn=()=>wn.value=!1;return watch(At,Mn=>{Mn==="hidden"?kn.value=!1:Mn==="visible"&&setTimeout(()=>kn.value=!0,50)}),watch(Dt,Mn=>{Mn?setTimeout(()=>kn.value=!0,50):kn.value=!1}),useResizeObserver(hn,An),onMounted(()=>setTimeout(()=>Tn(),0)),onUpdated(()=>An()),$e({scrollToActiveTab:Tn,removeFocus:Nn}),watch(()=>xe.panes,()=>Fe.update(),{flush:"post",deep:!0}),()=>{const Mn=bn.value?[createVNode$1("span",{class:[qe.e("nav-prev"),qe.is("disabled",!bn.value.prev)],onClick:xn},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_left_default,null,null)]})]),createVNode$1("span",{class:[qe.e("nav-next"),qe.is("disabled",!bn.value.next)],onClick:En},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_right_default,null,null)]})])]:null,In=xe.panes.map((On,Rn)=>{var Bn,Vn,Ln,Dn;const Hn=On.uid,Fn=On.props.disabled,zn=(Vn=(Bn=On.props.name)!=null?Bn:On.index)!=null?Vn:`${Rn}`,jn=!Fn&&(On.isClosable||xe.editable);On.index=`${Rn}`;const Gn=jn?createVNode$1(ElIcon,{class:"is-icon-close",onClick:er=>Ie("tabRemove",On,er)},{default:()=>[createVNode$1(close_default,null,null)]}):null,Wn=((Dn=(Ln=On.slots).label)==null?void 0:Dn.call(Ln))||On.props.label,Xn=!Fn&&On.active?0:-1;return createVNode$1("div",{ref:`tab-${Hn}`,class:[qe.e("item"),qe.is(Ue.props.tabPosition),qe.is("active",On.active),qe.is("disabled",Fn),qe.is("closable",jn),qe.is("focus",wn.value)],id:`tab-${zn}`,key:`tab-${Hn}`,"aria-controls":`pane-${zn}`,role:"tab","aria-selected":On.active,tabindex:Xn,onFocus:()=>Pn(),onBlur:()=>Nn(),onClick:er=>{Nn(),Ie("tabClick",On,zn,er)},onKeydown:er=>{jn&&(er.code===EVENT_CODE.delete||er.code===EVENT_CODE.backspace)&&Ie("tabRemove",On,er)}},[Wn,Gn])});return createVNode$1("div",{ref:hn,class:[qe.e("nav-wrap"),qe.is("scrollable",!!bn.value),qe.is(Ue.props.tabPosition)]},[Mn,createVNode$1("div",{class:qe.e("nav-scroll"),ref:Lt},[createVNode$1("div",{class:[qe.e("nav"),qe.is(Ue.props.tabPosition),qe.is("stretch",xe.stretch&&["top","bottom"].includes(Ue.props.tabPosition))],ref:jt,style:Sn.value,role:"tablist",onKeydown:$n},[xe.type?null:createVNode$1(TabBar,{ref:vn,tabs:[...xe.panes]},null),In])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=xe=>isString$4(xe)||isNumber$1(xe),tabsEmits={[UPDATE_MODEL_EVENT]:xe=>isPaneName(xe),tabClick:(xe,$e)=>$e instanceof Event,tabChange:xe=>isPaneName(xe),edit:(xe,$e)=>["remove","add"].includes($e),tabRemove:xe=>isPaneName(xe),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(xe,{emit:$e,slots:Ie,expose:Fe}){var Ue;const qe=useNamespace("tabs"),{children:At,addChild:Dt,removeChild:Lt}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),jt=ref(),hn=ref((Ue=xe.modelValue)!=null?Ue:"0"),vn=async(kn,Cn=!1)=>{var Sn,xn,En;if(!(hn.value===kn||isUndefined(kn)))try{await((Sn=xe.beforeLeave)==null?void 0:Sn.call(xe,kn,hn.value))!==!1&&(hn.value=kn,Cn&&($e(UPDATE_MODEL_EVENT,kn),$e("tabChange",kn)),(En=(xn=jt.value)==null?void 0:xn.removeFocus)==null||En.call(xn))}catch{}},bn=(kn,Cn,Sn)=>{kn.props.disabled||(vn(Cn,!0),$e("tabClick",kn,Sn))},_n=(kn,Cn)=>{kn.props.disabled||isUndefined(kn.props.name)||(Cn.stopPropagation(),$e("edit",kn.props.name,"remove"),$e("tabRemove",kn.props.name))},wn=()=>{$e("edit",void 0,"add"),$e("tabAdd")};return watch(()=>xe.modelValue,kn=>vn(kn)),watch(hn,async()=>{var kn;await nextTick(),(kn=jt.value)==null||kn.scrollToActiveTab()}),provide(tabsRootContextKey,{props:xe,currentName:hn,registerPane:Dt,unregisterPane:Lt}),Fe({currentName:hn}),()=>{const kn=Ie["add-icon"],Cn=xe.editable||xe.addable?createVNode$1("span",{class:qe.e("new-tab"),tabindex:"0",onClick:wn,onKeydown:En=>{En.code===EVENT_CODE.enter&&wn()}},[kn?renderSlot(Ie,"add-icon"):createVNode$1(ElIcon,{class:qe.is("icon-plus")},{default:()=>[createVNode$1(plus_default,null,null)]})]):null,Sn=createVNode$1("div",{class:[qe.e("header"),qe.is(xe.tabPosition)]},[Cn,createVNode$1(TabNav,{ref:jt,currentName:hn.value,editable:xe.editable,type:xe.type,panes:At.value,stretch:xe.stretch,onTabClick:bn,onTabRemove:_n},null)]),xn=createVNode$1("div",{class:qe.e("content")},[renderSlot(Ie,"default")]);return createVNode$1("div",{class:[qe.b(),qe.m(xe.tabPosition),{[qe.m("card")]:xe.type==="card",[qe.m("border-card")]:xe.type==="border-card"}]},[...xe.tabPosition!=="bottom"?[Sn,xn]:[xn,Sn]])}}}),tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$f=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$r=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$y=defineComponent({...__default__$r,props:tabPaneProps,setup(xe){const $e=xe,Ie=getCurrentInstance(),Fe=useSlots(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$1,"usage: ");const qe=useNamespace("tab-pane"),At=ref(),Dt=computed(()=>$e.closable||Ue.props.closable),Lt=computedEager(()=>{var _n;return Ue.currentName.value===((_n=$e.name)!=null?_n:At.value)}),jt=ref(Lt.value),hn=computed(()=>{var _n;return(_n=$e.name)!=null?_n:At.value}),vn=computedEager(()=>!$e.lazy||jt.value||Lt.value);watch(Lt,_n=>{_n&&(jt.value=!0)});const bn=reactive({uid:Ie.uid,slots:Fe,props:$e,paneName:hn,active:Lt,index:At,isClosable:Dt});return onMounted(()=>{Ue.registerPane(bn)}),onUnmounted(()=>{Ue.unregisterPane(bn.uid)}),(_n,wn)=>unref(vn)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(hn)}`,class:normalizeClass(unref(qe).b()),role:"tabpanel","aria-hidden":!unref(Lt),"aria-labelledby":`tab-${unref(hn)}`},[renderSlot(_n.$slots,"default")],10,_hoisted_1$f)),[[vShow,unref(Lt)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$y,[["__file","tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:{type:Boolean},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),__default__$q=defineComponent({name:"ElText"}),_sfc_main$x=defineComponent({...__default__$q,props:textProps,setup(xe){const $e=xe,Ie=useFormSize(),Fe=useNamespace("text"),Ue=computed(()=>[Fe.b(),Fe.m($e.type),Fe.m(Ie.value),Fe.is("truncated",$e.truncated),Fe.is("line-clamp",!isUndefined($e.lineClamp))]);return(qe,At)=>(openBlock(),createBlock(resolveDynamicComponent(qe.tag),{class:normalizeClass(unref(Ue)),style:normalizeStyle$1({"-webkit-line-clamp":qe.lineClamp})},{default:withCtx(()=>[renderSlot(qe.$slots,"default")]),_:3},8,["class","style"]))}});var Text$1=_export_sfc$1(_sfc_main$x,[["__file","text.vue"]]);const ElText=withInstall(Text$1),timeSelectProps=buildProps({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:useSizeProp,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default},...useEmptyValuesProps}),parseTime=xe=>{const $e=(xe||"").split(":");if($e.length>=2){let Ie=Number.parseInt($e[0],10);const Fe=Number.parseInt($e[1],10),Ue=xe.toUpperCase();return Ue.includes("AM")&&Ie===12?Ie=0:Ue.includes("PM")&&Ie!==12&&(Ie+=12),{hours:Ie,minutes:Fe}}return null},compareTime=(xe,$e)=>{const Ie=parseTime(xe);if(!Ie)return-1;const Fe=parseTime($e);if(!Fe)return-1;const Ue=Ie.minutes+Ie.hours*60,qe=Fe.minutes+Fe.hours*60;return Ue===qe?0:Ue>qe?1:-1},padTime=xe=>`${xe}`.padStart(2,"0"),formatTime=xe=>`${padTime(xe.hours)}:${padTime(xe.minutes)}`,nextTime=(xe,$e)=>{const Ie=parseTime(xe);if(!Ie)return"";const Fe=parseTime($e);if(!Fe)return"";const Ue={hours:Ie.hours,minutes:Ie.minutes};return Ue.minutes+=Fe.minutes,Ue.hours+=Fe.hours,Ue.hours+=Math.floor(Ue.minutes/60),Ue.minutes=Ue.minutes%60,formatTime(Ue)},__default__$p=defineComponent({name:"ElTimeSelect"}),_sfc_main$w=defineComponent({...__default__$p,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(xe,{expose:$e}){const Ie=xe;dayjs.extend(customParseFormat);const{Option:Fe}=ElSelect,Ue=useNamespace("input"),qe=ref(),At=useFormDisabled(),{lang:Dt}=useLocale(),Lt=computed(()=>Ie.modelValue),jt=computed(()=>{const Sn=parseTime(Ie.start);return Sn?formatTime(Sn):null}),hn=computed(()=>{const Sn=parseTime(Ie.end);return Sn?formatTime(Sn):null}),vn=computed(()=>{const Sn=parseTime(Ie.step);return Sn?formatTime(Sn):null}),bn=computed(()=>{const Sn=parseTime(Ie.minTime||"");return Sn?formatTime(Sn):null}),_n=computed(()=>{const Sn=parseTime(Ie.maxTime||"");return Sn?formatTime(Sn):null}),wn=computed(()=>{const Sn=[];if(Ie.start&&Ie.end&&Ie.step){let xn=jt.value,En;for(;xn&&hn.value&&compareTime(xn,hn.value)<=0;)En=dayjs(xn,"HH:mm").locale(Dt.value).format(Ie.format),Sn.push({value:En,disabled:compareTime(xn,bn.value||"-1:-1")<=0||compareTime(xn,_n.value||"100:100")>=0}),xn=nextTime(xn,vn.value)}return Sn});return $e({blur:()=>{var Sn,xn;(xn=(Sn=qe.value)==null?void 0:Sn.blur)==null||xn.call(Sn)},focus:()=>{var Sn,xn;(xn=(Sn=qe.value)==null?void 0:Sn.focus)==null||xn.call(Sn)}}),(Sn,xn)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:qe,"model-value":unref(Lt),disabled:unref(At),clearable:Sn.clearable,"clear-icon":Sn.clearIcon,size:Sn.size,effect:Sn.effect,placeholder:Sn.placeholder,"default-first-option":"",filterable:Sn.editable,"empty-values":Sn.emptyValues,"value-on-clear":Sn.valueOnClear,"onUpdate:modelValue":xn[0]||(xn[0]=En=>Sn.$emit("update:modelValue",En)),onChange:xn[1]||(xn[1]=En=>Sn.$emit("change",En)),onBlur:xn[2]||(xn[2]=En=>Sn.$emit("blur",En)),onFocus:xn[3]||(xn[3]=En=>Sn.$emit("focus",En))},{prefix:withCtx(()=>[Sn.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sn.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),En=>(openBlock(),createBlock(unref(Fe),{key:En.value,label:En.value,value:En.value,disabled:En.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear"]))}});var TimeSelect=_export_sfc$1(_sfc_main$w,[["__file","time-select.vue"]]);TimeSelect.install=xe=>{xe.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup(xe,{slots:$e}){const Ie=useNamespace("timeline");return provide("timeline",$e),()=>h$5("ul",{class:[Ie.b()]},[renderSlot($e,"default")])}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:iconPropType},hollow:{type:Boolean,default:!1}}),__default__$o=defineComponent({name:"ElTimelineItem"}),_sfc_main$v=defineComponent({...__default__$o,props:timelineItemProps,setup(xe){const $e=xe,Ie=useNamespace("timeline-item"),Fe=computed(()=>[Ie.e("node"),Ie.em("node",$e.size||""),Ie.em("node",$e.type||""),Ie.is("hollow",$e.hollow)]);return(Ue,qe)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(Ie).b(),{[unref(Ie).e("center")]:Ue.center}])},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("tail"))},null,2),Ue.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe)),style:normalizeStyle$1({backgroundColor:Ue.color})},[Ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ie).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),Ue.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ie).e("dot"))},[renderSlot(Ue.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("wrapper"))},[!Ue.hideTimestamp&&Ue.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(Ie).e("timestamp"),unref(Ie).is("top")])},toDisplayString(Ue.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("content"))},[renderSlot(Ue.$slots,"default")],2),!Ue.hideTimestamp&&Ue.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(Ie).e("timestamp"),unref(Ie).is("bottom")])},toDisplayString(Ue.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$1(_sfc_main$v,[["__file","timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(xe=>(xe.top="top",xe.bottom="bottom",xe.left="left",xe.right="right",xe))(TooltipV2Sides||{});const tooltipV2Sides=Object.values(TooltipV2Sides),tooltipV2ArrowProps=buildProps({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:definePropType(Object),default:null}}),tooltipV2ArrowSpecialProps=buildProps({side:{type:definePropType(String),values:tooltipV2Sides,required:!0}}),tooltipV2Strategies=["absolute","fixed"],tooltipV2Placements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tooltipV2ContentProps=buildProps({arrowPadding:{type:definePropType(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:definePropType(String),values:tooltipV2Placements,default:"bottom"},reference:{type:definePropType(Object),default:null},offset:{type:Number,default:8},strategy:{type:definePropType(String),values:tooltipV2Strategies,default:"absolute"},showArrow:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),tooltipV2RootProps=buildProps({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:definePropType(Function)},"onUpdate:open":{type:definePropType(Function)}}),EventHandler={type:definePropType(Function)},tooltipV2TriggerProps=buildProps({onBlur:EventHandler,onClick:EventHandler,onFocus:EventHandler,onMouseDown:EventHandler,onMouseEnter:EventHandler,onMouseLeave:EventHandler}),tooltipV2Props=buildProps({...tooltipV2RootProps,...tooltipV2ArrowProps,...tooltipV2TriggerProps,...tooltipV2ContentProps,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:definePropType(Object),default:null},teleported:Boolean,to:{type:definePropType(String),default:"body"}}),tooltipV2RootKey=Symbol("tooltipV2"),tooltipV2ContentKey=Symbol("tooltipV2Content"),TOOLTIP_V2_OPEN="tooltip_v2.open",__default__$n=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$u=defineComponent({...__default__$n,props:tooltipV2RootProps,setup(xe,{expose:$e}){const Ie=xe,Fe=ref(Ie.defaultOpen),Ue=ref(null),qe=computed({get:()=>isPropAbsent(Ie.open)?Fe.value:Ie.open,set:Cn=>{var Sn;Fe.value=Cn,(Sn=Ie["onUpdate:open"])==null||Sn.call(Ie,Cn)}}),At=computed(()=>isNumber$1(Ie.delayDuration)&&Ie.delayDuration>0),{start:Dt,stop:Lt}=useTimeoutFn$1(()=>{qe.value=!0},computed(()=>Ie.delayDuration),{immediate:!1}),jt=useNamespace("tooltip-v2"),hn=useId(),vn=()=>{Lt(),qe.value=!0},bn=()=>{unref(At)?Dt():vn()},_n=vn,wn=()=>{Lt(),qe.value=!1};return watch(qe,Cn=>{var Sn;Cn&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),_n()),(Sn=Ie.onOpenChange)==null||Sn.call(Ie,Cn)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,wn)}),onBeforeUnmount(()=>{Lt(),document.removeEventListener(TOOLTIP_V2_OPEN,wn)}),provide(tooltipV2RootKey,{contentId:hn,triggerRef:Ue,ns:jt,onClose:wn,onDelayOpen:bn,onOpen:_n}),$e({onOpen:_n,onClose:wn}),(Cn,Sn)=>renderSlot(Cn.$slots,"default",{open:unref(qe)})}});var TooltipV2Root=_export_sfc$1(_sfc_main$u,[["__file","root.vue"]]);const __default__$m=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$t=defineComponent({...__default__$m,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(xe){const $e=xe,{ns:Ie}=inject(tooltipV2RootKey),{arrowRef:Fe}=inject(tooltipV2ContentKey),Ue=computed(()=>{const{style:qe,width:At,height:Dt}=$e,Lt=Ie.namespace.value;return{[`--${Lt}-tooltip-v2-arrow-width`]:`${At}px`,[`--${Lt}-tooltip-v2-arrow-height`]:`${Dt}px`,[`--${Lt}-tooltip-v2-arrow-border-width`]:`${At/2}px`,[`--${Lt}-tooltip-v2-arrow-cover-width`]:At/2-1,...qe||{}}});return(qe,At)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:Fe,style:normalizeStyle$1(unref(Ue)),class:normalizeClass(unref(Ie).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$1(_sfc_main$t,[["__file","arrow.vue"]]);const visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$l=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$s=defineComponent({...__default__$l,props:visualHiddenProps,setup(xe){const $e=xe,Ie=computed(()=>[$e.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(Fe,Ue)=>(openBlock(),createElementBlock("span",mergeProps(Fe.$attrs,{style:unref(Ie)}),[renderSlot(Fe.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$1(_sfc_main$s,[["__file","visual-hidden.vue"]]);const _hoisted_1$e=["data-side"],__default__$k=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$r=defineComponent({...__default__$k,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(xe){const $e=xe,{triggerRef:Ie,contentId:Fe}=inject(tooltipV2RootKey),Ue=ref($e.placement),qe=ref($e.strategy),At=ref(null),{referenceRef:Dt,contentRef:Lt,middlewareData:jt,x:hn,y:vn,update:bn}=useFloating$1({placement:Ue,strategy:qe,middleware:computed(()=>{const En=[offset($e.offset)];return $e.showArrow&&En.push(arrowMiddleware({arrowRef:At})),En})}),_n=useZIndex().nextZIndex(),wn=useNamespace("tooltip-v2"),kn=computed(()=>Ue.value.split("-")[0]),Cn=computed(()=>({position:unref(qe),top:`${unref(vn)||0}px`,left:`${unref(hn)||0}px`,zIndex:_n})),Sn=computed(()=>{if(!$e.showArrow)return{};const{arrow:En}=unref(jt);return{[`--${wn.namespace.value}-tooltip-v2-arrow-x`]:`${En==null?void 0:En.x}px`||"",[`--${wn.namespace.value}-tooltip-v2-arrow-y`]:`${En==null?void 0:En.y}px`||""}}),xn=computed(()=>[wn.e("content"),wn.is("dark",$e.effect==="dark"),wn.is(unref(qe)),$e.contentClass]);return watch(At,()=>bn()),watch(()=>$e.placement,En=>Ue.value=En),onMounted(()=>{watch(()=>$e.reference||Ie.value,En=>{Dt.value=En||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:At}),(En,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:Lt,style:normalizeStyle$1(unref(Cn)),"data-tooltip-v2-root":""},[En.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(kn),class:normalizeClass(unref(xn))},[renderSlot(En.$slots,"default",{contentStyle:unref(Cn),contentClass:unref(xn)}),createVNode$1(unref(ElVisuallyHidden),{id:unref(Fe),role:"tooltip"},{default:withCtx(()=>[En.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(En.ariaLabel),1)],64)):renderSlot(En.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(En.$slots,"arrow",{style:normalizeStyle$1(unref(Sn)),side:unref(kn)})],10,_hoisted_1$e))],4))}});var TooltipV2Content=_export_sfc$1(_sfc_main$r,[["__file","content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup(xe,{slots:$e}){const Ie=ref(),Fe=composeRefs(Ie,Ue=>{Ue?xe.setRef(Ue.nextElementSibling):xe.setRef(null)});return()=>{var Ue;const[qe]=((Ue=$e.default)==null?void 0:Ue.call($e))||[],At=xe.onlyChild?ensureOnlyChild(qe.children):qe.children;return createVNode$1(Fragment,{ref:Fe},[At])}}});const __default__$j=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$q=defineComponent({...__default__$j,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(xe){const $e=xe,{onClose:Ie,onOpen:Fe,onDelayOpen:Ue,triggerRef:qe,contentId:At}=inject(tooltipV2RootKey);let Dt=!1;const Lt=xn=>{qe.value=xn},jt=()=>{Dt=!1},hn=composeEventHandlers($e.onMouseEnter,Ue),vn=composeEventHandlers($e.onMouseLeave,Ie),bn=composeEventHandlers($e.onMouseDown,()=>{Ie(),Dt=!0,document.addEventListener("mouseup",jt,{once:!0})}),_n=composeEventHandlers($e.onFocus,()=>{Dt||Fe()}),wn=composeEventHandlers($e.onBlur,Ie),kn=composeEventHandlers($e.onClick,xn=>{xn.detail===0&&Ie()}),Cn={blur:wn,click:kn,focus:_n,mousedown:bn,mouseenter:hn,mouseleave:vn},Sn=(xn,En,Tn)=>{xn&&Object.entries(En).forEach(([An,$n])=>{xn[Tn](An,$n)})};return watch(qe,(xn,En)=>{Sn(xn,Cn,"addEventListener"),Sn(En,Cn,"removeEventListener"),xn&&xn.setAttribute("aria-describedby",At.value)}),onBeforeUnmount(()=>{Sn(qe.value,Cn,"removeEventListener"),document.removeEventListener("mouseup",jt)}),(xn,En)=>xn.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":Lt,"only-child":""},{default:withCtx(()=>[renderSlot(xn.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:qe},xn.$attrs),[renderSlot(xn.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$1(_sfc_main$q,[["__file","trigger.vue"]]);const __default__$i=defineComponent({name:"ElTooltipV2"}),_sfc_main$p=defineComponent({...__default__$i,props:tooltipV2Props,setup(xe){const Ie=toRefs(xe),Fe=reactive(pick(Ie,Object.keys(tooltipV2ArrowProps))),Ue=reactive(pick(Ie,Object.keys(tooltipV2ContentProps))),qe=reactive(pick(Ie,Object.keys(tooltipV2RootProps))),At=reactive(pick(Ie,Object.keys(tooltipV2TriggerProps)));return(Dt,Lt)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(qe)),{default:withCtx(({open:jt})=>[createVNode$1(TooltipV2Trigger,mergeProps(At,{nowrap:""}),{default:withCtx(()=>[renderSlot(Dt.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:Dt.to,disabled:!Dt.teleported},[Dt.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},Dt.transitionProps)),{default:withCtx(()=>[Dt.alwaysOn||jt?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},Ue)),{arrow:withCtx(({style:hn,side:vn})=>[Dt.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},Fe,{style:hn,side:vn}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Dt.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[Dt.alwaysOn||jt?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},Ue)),{arrow:withCtx(({style:hn,side:vn})=>[Dt.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},Fe,{style:hn,side:vn}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Dt.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$1(_sfc_main$p,[["__file","tooltip.vue"]]);const ElTooltipV2=withInstall(TooltipV2),LEFT_CHECK_CHANGE_EVENT="left-check-change",RIGHT_CHECK_CHANGE_EVENT="right-check-change",transferProps=buildProps({data:{type:definePropType(Array),default:()=>[]},titles:{type:definePropType(Array),default:()=>[]},buttonTexts:{type:definePropType(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:definePropType(Function)},leftDefaultChecked:{type:definePropType(Array),default:()=>[]},rightDefaultChecked:{type:definePropType(Array),default:()=>[]},renderContent:{type:definePropType(Function)},modelValue:{type:definePropType(Array),default:()=>[]},format:{type:definePropType(Object),default:()=>({})},filterable:Boolean,props:{type:definePropType(Object),default:()=>mutable({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),transferCheckedChangeFn=(xe,$e)=>[xe,$e].every(isArray$6)||isArray$6(xe)&&isNil($e),transferEmits={[CHANGE_EVENT]:(xe,$e,Ie)=>[xe,Ie].every(isArray$6)&&["left","right"].includes($e),[UPDATE_MODEL_EVENT]:xe=>isArray$6(xe),[LEFT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn,[RIGHT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn},CHECKED_CHANGE_EVENT="checked-change",transferPanelProps=buildProps({data:transferProps.data,optionRender:{type:definePropType(Function)},placeholder:String,title:String,filterable:Boolean,format:transferProps.format,filterMethod:transferProps.filterMethod,defaultChecked:transferProps.leftDefaultChecked,props:transferProps.props}),transferPanelEmits={[CHECKED_CHANGE_EVENT]:transferCheckedChangeFn},usePropsAlias=xe=>{const $e={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...$e,...xe.props}))},useCheck$1=(xe,$e,Ie)=>{const Fe=usePropsAlias(xe),Ue=computed(()=>xe.data.filter(hn=>isFunction$5(xe.filterMethod)?xe.filterMethod($e.query,hn):String(hn[Fe.value.label]||hn[Fe.value.key]).toLowerCase().includes($e.query.toLowerCase()))),qe=computed(()=>Ue.value.filter(hn=>!hn[Fe.value.disabled])),At=computed(()=>{const hn=$e.checked.length,vn=xe.data.length,{noChecked:bn,hasChecked:_n}=xe.format;return bn&&_n?hn>0?_n.replace(/\${checked}/g,hn.toString()).replace(/\${total}/g,vn.toString()):bn.replace(/\${total}/g,vn.toString()):`${hn}/${vn}`}),Dt=computed(()=>{const hn=$e.checked.length;return hn>0&&hn{const hn=qe.value.map(vn=>vn[Fe.value.key]);$e.allChecked=hn.length>0&&hn.every(vn=>$e.checked.includes(vn))},jt=hn=>{$e.checked=hn?qe.value.map(vn=>vn[Fe.value.key]):[]};return watch(()=>$e.checked,(hn,vn)=>{if(Lt(),$e.checkChangeByUser){const bn=hn.concat(vn).filter(_n=>!hn.includes(_n)||!vn.includes(_n));Ie(CHECKED_CHANGE_EVENT,hn,bn)}else Ie(CHECKED_CHANGE_EVENT,hn),$e.checkChangeByUser=!0}),watch(qe,()=>{Lt()}),watch(()=>xe.data,()=>{const hn=[],vn=Ue.value.map(bn=>bn[Fe.value.key]);$e.checked.forEach(bn=>{vn.includes(bn)&&hn.push(bn)}),$e.checkChangeByUser=!1,$e.checked=hn}),watch(()=>xe.defaultChecked,(hn,vn)=>{if(vn&&hn.length===vn.length&&hn.every(wn=>vn.includes(wn)))return;const bn=[],_n=qe.value.map(wn=>wn[Fe.value.key]);hn.forEach(wn=>{_n.includes(wn)&&bn.push(wn)}),$e.checkChangeByUser=!1,$e.checked=bn},{immediate:!0}),{filteredData:Ue,checkableData:qe,checkedSummary:At,isIndeterminate:Dt,updateAllChecked:Lt,handleAllCheckedChange:jt}},useCheckedChange=(xe,$e)=>({onSourceCheckedChange:(Ue,qe)=>{xe.leftChecked=Ue,qe&&$e(LEFT_CHECK_CHANGE_EVENT,Ue,qe)},onTargetCheckedChange:(Ue,qe)=>{xe.rightChecked=Ue,qe&&$e(RIGHT_CHECK_CHANGE_EVENT,Ue,qe)}}),useComputedData=xe=>{const $e=usePropsAlias(xe),Ie=computed(()=>xe.data.reduce((qe,At)=>(qe[At[$e.value.key]]=At)&&qe,{})),Fe=computed(()=>xe.data.filter(qe=>!xe.modelValue.includes(qe[$e.value.key]))),Ue=computed(()=>xe.targetOrder==="original"?xe.data.filter(qe=>xe.modelValue.includes(qe[$e.value.key])):xe.modelValue.reduce((qe,At)=>{const Dt=Ie.value[At];return Dt&&qe.push(Dt),qe},[]));return{sourceData:Fe,targetData:Ue}},useMove=(xe,$e,Ie)=>{const Fe=usePropsAlias(xe),Ue=(Dt,Lt,jt)=>{Ie(UPDATE_MODEL_EVENT,Dt),Ie(CHANGE_EVENT,Dt,Lt,jt)};return{addToLeft:()=>{const Dt=xe.modelValue.slice();$e.rightChecked.forEach(Lt=>{const jt=Dt.indexOf(Lt);jt>-1&&Dt.splice(jt,1)}),Ue(Dt,"left",$e.rightChecked)},addToRight:()=>{let Dt=xe.modelValue.slice();const Lt=xe.data.filter(jt=>{const hn=jt[Fe.value.key];return $e.leftChecked.includes(hn)&&!xe.modelValue.includes(hn)}).map(jt=>jt[Fe.value.key]);Dt=xe.targetOrder==="unshift"?Lt.concat(Dt):Dt.concat(Lt),xe.targetOrder==="original"&&(Dt=xe.data.filter(jt=>Dt.includes(jt[Fe.value.key])).map(jt=>jt[Fe.value.key])),Ue(Dt,"right",$e.leftChecked)}}},__default__$h=defineComponent({name:"ElTransferPanel"}),_sfc_main$o=defineComponent({...__default__$h,props:transferPanelProps,emits:transferPanelEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),qe=({option:En})=>En,{t:At}=useLocale(),Dt=useNamespace("transfer"),Lt=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),jt=usePropsAlias(Fe),{filteredData:hn,checkedSummary:vn,isIndeterminate:bn,handleAllCheckedChange:_n}=useCheck$1(Fe,Lt,Ie),wn=computed(()=>!isEmpty(Lt.query)&&isEmpty(hn.value)),kn=computed(()=>!isEmpty(Ue.default()[0].children)),{checked:Cn,allChecked:Sn,query:xn}=toRefs(Lt);return $e({query:xn}),(En,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Dt).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(Dt).be("panel","header"))},[createVNode$1(unref(ElCheckbox),{modelValue:unref(Sn),"onUpdate:modelValue":Tn[0]||(Tn[0]=An=>isRef(Sn)?Sn.value=An:null),indeterminate:unref(bn),"validate-event":!1,onChange:unref(_n)},{default:withCtx(()=>[createTextVNode(toDisplayString(En.title)+" ",1),createBaseVNode("span",null,toDisplayString(unref(vn)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(Dt).be("panel","body"),unref(Dt).is("with-footer",unref(kn))])},[En.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(xn),"onUpdate:modelValue":Tn[1]||(Tn[1]=An=>isRef(xn)?xn.value=An:null),class:normalizeClass(unref(Dt).be("panel","filter")),size:"default",placeholder:En.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElCheckboxGroup$1),{modelValue:unref(Cn),"onUpdate:modelValue":Tn[2]||(Tn[2]=An=>isRef(Cn)?Cn.value=An:null),"validate-event":!1,class:normalizeClass([unref(Dt).is("filterable",En.filterable),unref(Dt).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),An=>(openBlock(),createBlock(unref(ElCheckbox),{key:An[unref(jt).key],class:normalizeClass(unref(Dt).be("panel","item")),value:An[unref(jt).key],disabled:An[unref(jt).disabled],"validate-event":!1},{default:withCtx(()=>{var $n;return[createVNode$1(qe,{option:($n=En.optionRender)==null?void 0:$n.call(En,An)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(wn)&&!unref(isEmpty)(En.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(Dt).be("panel","empty"))},toDisplayString(unref(wn)?unref(At)("el.transfer.noMatch"):unref(At)("el.transfer.noData")),3),[[vShow,unref(wn)||unref(isEmpty)(En.data)]])],2),unref(kn)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Dt).be("panel","footer"))},[renderSlot(En.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$1(_sfc_main$o,[["__file","transfer-panel.vue"]]);const _hoisted_1$d={key:0},_hoisted_2$9={key:0},__default__$g=defineComponent({name:"ElTransfer"}),_sfc_main$n=defineComponent({...__default__$g,props:transferProps,emits:transferEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),{t:qe}=useLocale(),At=useNamespace("transfer"),{formItem:Dt}=useFormItem(),Lt=reactive({leftChecked:[],rightChecked:[]}),jt=usePropsAlias(Fe),{sourceData:hn,targetData:vn}=useComputedData(Fe),{onSourceCheckedChange:bn,onTargetCheckedChange:_n}=useCheckedChange(Lt,Ie),{addToLeft:wn,addToRight:kn}=useMove(Fe,Lt,Ie),Cn=ref(),Sn=ref(),xn=Nn=>{switch(Nn){case"left":Cn.value.query="";break;case"right":Sn.value.query="";break}},En=computed(()=>Fe.buttonTexts.length===2),Tn=computed(()=>Fe.titles[0]||qe("el.transfer.titles.0")),An=computed(()=>Fe.titles[1]||qe("el.transfer.titles.1")),$n=computed(()=>Fe.filterPlaceholder||qe("el.transfer.filterPlaceholder"));watch(()=>Fe.modelValue,()=>{var Nn;Fe.validateEvent&&((Nn=Dt==null?void 0:Dt.validate)==null||Nn.call(Dt,"change").catch(Mn=>void 0))});const Pn=computed(()=>Nn=>Fe.renderContent?Fe.renderContent(h$5,Nn):Ue.default?Ue.default({option:Nn}):h$5("span",Nn[jt.value.label]||Nn[jt.value.key]));return $e({clearQuery:xn,leftPanel:Cn,rightPanel:Sn}),(Nn,Mn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(At).b())},[createVNode$1(TransferPanel,{ref_key:"leftPanel",ref:Cn,data:unref(hn),"option-render":unref(Pn),placeholder:unref($n),title:unref(Tn),filterable:Nn.filterable,format:Nn.format,"filter-method":Nn.filterMethod,"default-checked":Nn.leftDefaultChecked,props:Fe.props,onCheckedChange:unref(bn)},{default:withCtx(()=>[renderSlot(Nn.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(At).e("buttons"))},[createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(At).e("button"),unref(At).is("with-texts",unref(En))]),disabled:unref(isEmpty)(Lt.rightChecked),onClick:unref(wn)},{default:withCtx(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1}),unref(isUndefined)(Nn.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$d,toDisplayString(Nn.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(At).e("button"),unref(At).is("with-texts",unref(En))]),disabled:unref(isEmpty)(Lt.leftChecked),onClick:unref(kn)},{default:withCtx(()=>[unref(isUndefined)(Nn.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$9,toDisplayString(Nn.buttonTexts[1]),1)),createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode$1(TransferPanel,{ref_key:"rightPanel",ref:Sn,data:unref(vn),"option-render":unref(Pn),placeholder:unref($n),filterable:Nn.filterable,format:Nn.format,"filter-method":Nn.filterMethod,title:unref(An),"default-checked":Nn.rightDefaultChecked,props:Fe.props,onCheckedChange:unref(_n)},{default:withCtx(()=>[renderSlot(Nn.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc$1(_sfc_main$n,[["__file","transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(xe,$e){!$e||$e[NODE_KEY]||Object.defineProperty($e,NODE_KEY,{value:xe.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function(xe,$e){return xe?$e[xe]:$e[NODE_KEY]},handleCurrentChange=(xe,$e,Ie)=>{const Fe=xe.value.currentNode;Ie();const Ue=xe.value.currentNode;Fe!==Ue&&$e("current-change",Ue?Ue.data:null,Ue)},getChildState=xe=>{let $e=!0,Ie=!0,Fe=!0;for(let Ue=0,qe=xe.length;Ue"u"){const qe=Fe[$e];return qe===void 0?"":qe}};let nodeIdSeed=0,Node$1=class oi{constructor($e){this.id=nodeIdSeed++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const Ie in $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const $e=this.store;if(!$e)throw new Error("[Node]store is required!");$e.registerNode(this);const Ie=$e.props;if(Ie&&typeof Ie.isLeaf<"u"){const qe=getPropertyFromData(this,"isLeaf");typeof qe=="boolean"&&(this.isLeafByUser=qe)}if($e.lazy!==!0&&this.data?(this.setData(this.data),$e.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&$e.lazy&&$e.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const Fe=$e.defaultExpandedKeys,Ue=$e.key;Ue&&Fe&&Fe.includes(this.key)&&this.expand(null,$e.autoExpandParent),Ue&&$e.currentNodeKey!==void 0&&this.key===$e.currentNodeKey&&($e.currentNode=this,$e.currentNode.isCurrent=!0),$e.lazy&&$e._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData($e){Array.isArray($e)||markNodeData(this,$e),this.data=$e,this.childNodes=[];let Ie;this.level===0&&Array.isArray(this.data)?Ie=this.data:Ie=getPropertyFromData(this,"children")||[];for(let Fe=0,Ue=Ie.length;Fe-1)return $e.childNodes[Ie+1]}return null}get previousSibling(){const $e=this.parent;if($e){const Ie=$e.childNodes.indexOf(this);if(Ie>-1)return Ie>0?$e.childNodes[Ie-1]:null}return null}contains($e,Ie=!0){return(this.childNodes||[]).some(Fe=>Fe===$e||Ie&&Fe.contains($e))}remove(){const $e=this.parent;$e&&$e.removeChild(this)}insertChild($e,Ie,Fe){if(!$e)throw new Error("InsertChild error: child is required.");if(!($e instanceof oi)){if(!Fe){const Ue=this.getChildren(!0);Ue.includes($e.data)||(typeof Ie>"u"||Ie<0?Ue.push($e.data):Ue.splice(Ie,0,$e.data))}Object.assign($e,{parent:this,store:this.store}),$e=reactive(new oi($e)),$e instanceof oi&&$e.initialize()}$e.level=this.level+1,typeof Ie>"u"||Ie<0?this.childNodes.push($e):this.childNodes.splice(Ie,0,$e),this.updateLeafState()}insertBefore($e,Ie){let Fe;Ie&&(Fe=this.childNodes.indexOf(Ie)),this.insertChild($e,Fe)}insertAfter($e,Ie){let Fe;Ie&&(Fe=this.childNodes.indexOf(Ie),Fe!==-1&&(Fe+=1)),this.insertChild($e,Fe)}removeChild($e){const Ie=this.getChildren()||[],Fe=Ie.indexOf($e.data);Fe>-1&&Ie.splice(Fe,1);const Ue=this.childNodes.indexOf($e);Ue>-1&&(this.store&&this.store.deregisterNode($e),$e.parent=null,this.childNodes.splice(Ue,1)),this.updateLeafState()}removeChildByData($e){let Ie=null;for(let Fe=0;Fe{if(Ie){let Ue=this.parent;for(;Ue.level>0;)Ue.expanded=!0,Ue=Ue.parent}this.expanded=!0,$e&&$e(),this.childNodes.forEach(Ue=>{Ue.canFocus=!0})};this.shouldLoadData()?this.loadData(Ue=>{Array.isArray(Ue)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),Fe())}):Fe()}doCreateChildren($e,Ie={}){$e.forEach(Fe=>{this.insertChild(Object.assign({data:Fe},Ie),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach($e=>{$e.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const $e=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!$e||$e.length===0;return}this.isLeaf=!1}setChecked($e,Ie,Fe,Ue){if(this.indeterminate=$e==="half",this.checked=$e===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:At,allWithoutDisable:Dt}=getChildState(this.childNodes);!this.isLeaf&&!At&&Dt&&(this.checked=!1,$e=!1);const Lt=()=>{if(Ie){const jt=this.childNodes;for(let bn=0,_n=jt.length;bn<_n;bn++){const wn=jt[bn];Ue=Ue||$e!==!1;const kn=wn.disabled?wn.checked:Ue;wn.setChecked(kn,Ie,!0,Ue)}const{half:hn,all:vn}=getChildState(jt);vn||(this.checked=vn,this.indeterminate=hn)}};if(this.shouldLoadData()){this.loadData(()=>{Lt(),reInitChecked(this)},{checked:$e!==!1});return}else Lt()}const qe=this.parent;!qe||qe.level===0||Fe||reInitChecked(qe)}getChildren($e=!1){if(this.level===0)return this.data;const Ie=this.data;if(!Ie)return null;const Fe=this.store.props;let Ue="children";return Fe&&(Ue=Fe.children||"children"),Ie[Ue]===void 0&&(Ie[Ue]=null),$e&&!Ie[Ue]&&(Ie[Ue]=[]),Ie[Ue]}updateChildren(){const $e=this.getChildren()||[],Ie=this.childNodes.map(qe=>qe.data),Fe={},Ue=[];$e.forEach((qe,At)=>{const Dt=qe[NODE_KEY];!!Dt&&Ie.findIndex(jt=>jt[NODE_KEY]===Dt)>=0?Fe[Dt]={index:At,data:qe}:Ue.push({index:At,data:qe})}),this.store.lazy||Ie.forEach(qe=>{Fe[qe[NODE_KEY]]||this.removeChildByData(qe)}),Ue.forEach(({index:qe,data:At})=>{this.insertChild({data:At},qe)}),this.updateLeafState()}loadData($e,Ie={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(Ie).length)){this.loading=!0;const Fe=qe=>{this.childNodes=[],this.doCreateChildren(qe,Ie),this.loaded=!0,this.loading=!1,this.updateLeafState(),$e&&$e.call(this,qe)},Ue=()=>{this.loading=!1};this.store.load(this,Fe,Ue)}else $e&&$e.call(this)}eachNode($e){const Ie=[this];for(;Ie.length;){const Fe=Ie.shift();Ie.unshift(...Fe.childNodes),$e(Fe)}}reInitChecked(){this.store.checkStrictly||reInitChecked(this)}};class TreeStore{constructor($e){this.currentNode=null,this.currentNodeKey=null;for(const Ie in $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const $e=this.load;$e(this.root,Ie=>{this.root.doCreateChildren(Ie),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter($e){const Ie=this.filterNodeMethod,Fe=this.lazy,Ue=function(qe){const At=qe.root?qe.root.childNodes:qe.childNodes;if(At.forEach(Dt=>{Dt.visible=Ie.call(Dt,$e,Dt.data,Dt),Ue(Dt)}),!qe.visible&&At.length){let Dt=!0;Dt=!At.some(Lt=>Lt.visible),qe.root?qe.root.visible=Dt===!1:qe.visible=Dt===!1}$e&&qe.visible&&!qe.isLeaf&&(!Fe||qe.loaded)&&qe.expand()};Ue(this)}setData($e){$e!==this.root.data?(this.root.setData($e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode($e){if($e instanceof Node$1)return $e;const Ie=isObject$8($e)?getNodeKey(this.key,$e):$e;return this.nodesMap[Ie]||null}insertBefore($e,Ie){const Fe=this.getNode(Ie);Fe.parent.insertBefore({data:$e},Fe)}insertAfter($e,Ie){const Fe=this.getNode(Ie);Fe.parent.insertAfter({data:$e},Fe)}remove($e){const Ie=this.getNode($e);Ie&&Ie.parent&&(Ie===this.currentNode&&(this.currentNode=null),Ie.parent.removeChild(Ie))}append($e,Ie){const Fe=isPropAbsent(Ie)?this.root:this.getNode(Ie);Fe&&Fe.insertChild({data:$e})}_initDefaultCheckedNodes(){const $e=this.defaultCheckedKeys||[],Ie=this.nodesMap;$e.forEach(Fe=>{const Ue=Ie[Fe];Ue&&Ue.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode($e){(this.defaultCheckedKeys||[]).includes($e.key)&&$e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey($e){$e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=$e,this._initDefaultCheckedNodes())}registerNode($e){const Ie=this.key;!$e||!$e.data||(Ie?$e.key!==void 0&&(this.nodesMap[$e.key]=$e):this.nodesMap[$e.id]=$e)}deregisterNode($e){!this.key||!$e||!$e.data||($e.childNodes.forEach(Fe=>{this.deregisterNode(Fe)}),delete this.nodesMap[$e.key])}getCheckedNodes($e=!1,Ie=!1){const Fe=[],Ue=function(qe){(qe.root?qe.root.childNodes:qe.childNodes).forEach(Dt=>{(Dt.checked||Ie&&Dt.indeterminate)&&(!$e||$e&&Dt.isLeaf)&&Fe.push(Dt.data),Ue(Dt)})};return Ue(this),Fe}getCheckedKeys($e=!1){return this.getCheckedNodes($e).map(Ie=>(Ie||{})[this.key])}getHalfCheckedNodes(){const $e=[],Ie=function(Fe){(Fe.root?Fe.root.childNodes:Fe.childNodes).forEach(qe=>{qe.indeterminate&&$e.push(qe.data),Ie(qe)})};return Ie(this),$e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map($e=>($e||{})[this.key])}_getAllNodes(){const $e=[],Ie=this.nodesMap;for(const Fe in Ie)hasOwn$1(Ie,Fe)&&$e.push(Ie[Fe]);return $e}updateChildren($e,Ie){const Fe=this.nodesMap[$e];if(!Fe)return;const Ue=Fe.childNodes;for(let qe=Ue.length-1;qe>=0;qe--){const At=Ue[qe];this.remove(At.data)}for(let qe=0,At=Ie.length;qeLt.level-jt.level),qe=Object.create(null),At=Object.keys(Fe);Ue.forEach(Lt=>Lt.setChecked(!1,!1));const Dt=Lt=>{Lt.childNodes.forEach(jt=>{var hn;qe[jt.data[$e]]=!0,(hn=jt.childNodes)!=null&&hn.length&&Dt(jt)})};for(let Lt=0,jt=Ue.length;Lt{Cn.isLeaf||Cn.setChecked(!1,!1),_n(Cn)})};_n(hn)}}}setCheckedNodes($e,Ie=!1){const Fe=this.key,Ue={};$e.forEach(qe=>{Ue[(qe||{})[Fe]]=!0}),this._setCheckedKeys(Fe,Ie,Ue)}setCheckedKeys($e,Ie=!1){this.defaultCheckedKeys=$e;const Fe=this.key,Ue={};$e.forEach(qe=>{Ue[qe]=!0}),this._setCheckedKeys(Fe,Ie,Ue)}setDefaultExpandedKeys($e){$e=$e||[],this.defaultExpandedKeys=$e,$e.forEach(Ie=>{const Fe=this.getNode(Ie);Fe&&Fe.expand(null,this.autoExpandParent)})}setChecked($e,Ie,Fe){const Ue=this.getNode($e);Ue&&Ue.setChecked(!!Ie,Fe)}getCurrentNode(){return this.currentNode}setCurrentNode($e){const Ie=this.currentNode;Ie&&(Ie.isCurrent=!1),this.currentNode=$e,this.currentNode.isCurrent=!0}setUserCurrentNode($e,Ie=!0){const Fe=$e[this.key],Ue=this.nodesMap[Fe];this.setCurrentNode(Ue),Ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey($e,Ie=!0){if($e==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const Fe=this.getNode($e);Fe&&(this.setCurrentNode(Fe),Ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$m=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(xe){const $e=useNamespace("tree"),Ie=inject("NodeInstance"),Fe=inject("RootTree");return()=>{const Ue=xe.node,{data:qe,store:At}=Ue;return xe.renderContent?xe.renderContent(h$5,{_self:Ie,node:Ue,data:qe,store:At}):renderSlot(Fe.ctx.slots,"default",{node:Ue,data:qe},()=>[h$5("span",{class:$e.be("node","label")},[Ue.label])])}}});var NodeContent=_export_sfc$1(_sfc_main$m,[["__file","tree-node-content.vue"]]);function useNodeExpandEventBroadcast(xe){const $e=inject("TreeNodeMap",null),Ie={treeNodeExpand:Fe=>{xe.node!==Fe&&xe.node.collapse()},children:[]};return $e&&$e.children.push(Ie),provide("TreeNodeMap",Ie),{broadcastExpanded:Fe=>{if(xe.accordion)for(const Ue of Ie.children)Ue.treeNodeExpand(Fe)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:xe,ctx:$e,el$:Ie,dropIndicator$:Fe,store:Ue}){const qe=useNamespace("tree"),At=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:hn,treeNode:vn})=>{if(typeof xe.allowDrag=="function"&&!xe.allowDrag(vn.node))return hn.preventDefault(),!1;hn.dataTransfer.effectAllowed="move";try{hn.dataTransfer.setData("text/plain","")}catch{}At.value.draggingNode=vn,$e.emit("node-drag-start",vn.node,hn)},treeNodeDragOver:({event:hn,treeNode:vn})=>{const bn=vn,_n=At.value.dropNode;_n&&_n.node.id!==bn.node.id&&removeClass(_n.$el,qe.is("drop-inner"));const wn=At.value.draggingNode;if(!wn||!bn)return;let kn=!0,Cn=!0,Sn=!0,xn=!0;typeof xe.allowDrop=="function"&&(kn=xe.allowDrop(wn.node,bn.node,"prev"),xn=Cn=xe.allowDrop(wn.node,bn.node,"inner"),Sn=xe.allowDrop(wn.node,bn.node,"next")),hn.dataTransfer.dropEffect=Cn||kn||Sn?"move":"none",(kn||Cn||Sn)&&(_n==null?void 0:_n.node.id)!==bn.node.id&&(_n&&$e.emit("node-drag-leave",wn.node,_n.node,hn),$e.emit("node-drag-enter",wn.node,bn.node,hn)),kn||Cn||Sn?At.value.dropNode=bn:At.value.dropNode=null,bn.node.nextSibling===wn.node&&(Sn=!1),bn.node.previousSibling===wn.node&&(kn=!1),bn.node.contains(wn.node,!1)&&(Cn=!1),(wn.node===bn.node||wn.node.contains(bn.node))&&(kn=!1,Cn=!1,Sn=!1);const En=bn.$el.querySelector(`.${qe.be("node","content")}`).getBoundingClientRect(),Tn=Ie.value.getBoundingClientRect();let An;const $n=kn?Cn?.25:Sn?.45:1:-1,Pn=Sn?Cn?.75:kn?.55:0:1;let Nn=-9999;const Mn=hn.clientY-En.top;MnEn.height*Pn?An="after":Cn?An="inner":An="none";const In=bn.$el.querySelector(`.${qe.be("node","expand-icon")}`).getBoundingClientRect(),On=Fe.value;An==="before"?Nn=In.top-Tn.top:An==="after"&&(Nn=In.bottom-Tn.top),On.style.top=`${Nn}px`,On.style.left=`${In.right-Tn.left}px`,An==="inner"?addClass(bn.$el,qe.is("drop-inner")):removeClass(bn.$el,qe.is("drop-inner")),At.value.showDropIndicator=An==="before"||An==="after",At.value.allowDrop=At.value.showDropIndicator||xn,At.value.dropType=An,$e.emit("node-drag-over",wn.node,bn.node,hn)},treeNodeDragEnd:hn=>{const{draggingNode:vn,dropType:bn,dropNode:_n}=At.value;if(hn.preventDefault(),hn.dataTransfer.dropEffect="move",vn&&_n){const wn={data:vn.node.data};bn!=="none"&&vn.node.remove(),bn==="before"?_n.node.parent.insertBefore(wn,_n.node):bn==="after"?_n.node.parent.insertAfter(wn,_n.node):bn==="inner"&&_n.node.insertChild(wn),bn!=="none"&&(Ue.value.registerNode(wn),Ue.value.key&&vn.node.eachNode(kn=>{var Cn;(Cn=Ue.value.nodesMap[kn.data[Ue.value.key]])==null||Cn.setChecked(kn.checked,!Ue.value.checkStrictly)})),removeClass(_n.$el,qe.is("drop-inner")),$e.emit("node-drag-end",vn.node,_n.node,bn,hn),bn!=="none"&&$e.emit("node-drop",vn.node,_n.node,bn,hn)}vn&&!_n&&$e.emit("node-drag-end",vn.node,null,bn,hn),At.value.showDropIndicator=!1,At.value.draggingNode=null,At.value.dropNode=null,At.value.allowDrop=!0}}),{dragState:At}}const _sfc_main$l=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:_CollapseTransition,ElCheckbox,NodeContent,ElIcon,Loading:loading_default},props:{node:{type:Node$1,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(xe,$e){const Ie=useNamespace("tree"),{broadcastExpanded:Fe}=useNodeExpandEventBroadcast(xe),Ue=inject("RootTree"),qe=ref(!1),At=ref(!1),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=inject(dragEventsKey),vn=getCurrentInstance();provide("NodeInstance",vn),xe.node.expanded&&(qe.value=!0,At.value=!0);const bn=Ue.props.props.children||"children";watch(()=>{const Mn=xe.node.data[bn];return Mn&&[...Mn]},()=>{xe.node.updateChildren()}),watch(()=>xe.node.indeterminate,Mn=>{kn(xe.node.checked,Mn)}),watch(()=>xe.node.checked,Mn=>{kn(Mn,xe.node.indeterminate)}),watch(()=>xe.node.childNodes.length,()=>xe.node.reInitChecked()),watch(()=>xe.node.expanded,Mn=>{nextTick(()=>qe.value=Mn),Mn&&(At.value=!0)});const _n=Mn=>getNodeKey(Ue.props.nodeKey,Mn.data),wn=Mn=>{const In=xe.props.class;if(!In)return{};let On;if(isFunction$5(In)){const{data:Rn}=Mn;On=In(Rn,Mn)}else On=In;return isString$4(On)?{[On]:!0}:On},kn=(Mn,In)=>{(Dt.value!==Mn||Lt.value!==In)&&Ue.ctx.emit("check-change",xe.node.data,Mn,In),Dt.value=Mn,Lt.value=In},Cn=Mn=>{handleCurrentChange(Ue.store,Ue.ctx.emit,()=>Ue.store.value.setCurrentNode(xe.node)),Ue.currentNode.value=xe.node,Ue.props.expandOnClickNode&&xn(),Ue.props.checkOnClickNode&&!xe.node.disabled&&En(null,{target:{checked:!xe.node.checked}}),Ue.ctx.emit("node-click",xe.node.data,xe.node,vn,Mn)},Sn=Mn=>{Ue.instance.vnode.props.onNodeContextmenu&&(Mn.stopPropagation(),Mn.preventDefault()),Ue.ctx.emit("node-contextmenu",Mn,xe.node.data,xe.node,vn)},xn=()=>{xe.node.isLeaf||(qe.value?(Ue.ctx.emit("node-collapse",xe.node.data,xe.node,vn),xe.node.collapse()):(xe.node.expand(),$e.emit("node-expand",xe.node.data,xe.node,vn)))},En=(Mn,In)=>{xe.node.setChecked(In.target.checked,!Ue.props.checkStrictly),nextTick(()=>{const On=Ue.store.value;Ue.ctx.emit("check",xe.node.data,{checkedNodes:On.getCheckedNodes(),checkedKeys:On.getCheckedKeys(),halfCheckedNodes:On.getHalfCheckedNodes(),halfCheckedKeys:On.getHalfCheckedKeys()})})};return{ns:Ie,node$:jt,tree:Ue,expanded:qe,childNodeRendered:At,oldChecked:Dt,oldIndeterminate:Lt,getNodeKey:_n,getNodeClass:wn,handleSelectChange:kn,handleClick:Cn,handleContextMenu:Sn,handleExpandIconClick:xn,handleCheckChange:En,handleChildNodeExpand:(Mn,In,On)=>{Fe(In),Ue.ctx.emit("node-expand",Mn,In,On)},handleDragStart:Mn=>{Ue.props.draggable&&hn.treeNodeDragStart({event:Mn,treeNode:xe})},handleDragOver:Mn=>{Mn.preventDefault(),Ue.props.draggable&&hn.treeNodeDragOver({event:Mn,treeNode:{$el:jt.value,node:xe.node}})},handleDrop:Mn=>{Mn.preventDefault()},handleDragEnd:Mn=>{Ue.props.draggable&&hn.treeNodeDragEnd(Mn)},CaretRight:caret_right_default}}}),_hoisted_1$c=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$8=["aria-expanded"];function _sfc_render$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon"),Dt=resolveComponent("el-checkbox"),Lt=resolveComponent("loading"),jt=resolveComponent("node-content"),hn=resolveComponent("el-tree-node"),vn=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([xe.ns.b("node"),xe.ns.is("expanded",xe.expanded),xe.ns.is("current",xe.node.isCurrent),xe.ns.is("hidden",!xe.node.visible),xe.ns.is("focusable",!xe.node.disabled),xe.ns.is("checked",!xe.node.disabled&&xe.node.checked),xe.getNodeClass(xe.node)]),role:"treeitem",tabindex:"-1","aria-expanded":xe.expanded,"aria-disabled":xe.node.disabled,"aria-checked":xe.node.checked,draggable:xe.tree.props.draggable,"data-key":xe.getNodeKey(xe.node),onClick:$e[1]||($e[1]=withModifiers((...bn)=>xe.handleClick&&xe.handleClick(...bn),["stop"])),onContextmenu:$e[2]||($e[2]=(...bn)=>xe.handleContextMenu&&xe.handleContextMenu(...bn)),onDragstart:$e[3]||($e[3]=withModifiers((...bn)=>xe.handleDragStart&&xe.handleDragStart(...bn),["stop"])),onDragover:$e[4]||($e[4]=withModifiers((...bn)=>xe.handleDragOver&&xe.handleDragOver(...bn),["stop"])),onDragend:$e[5]||($e[5]=withModifiers((...bn)=>xe.handleDragEnd&&xe.handleDragEnd(...bn),["stop"])),onDrop:$e[6]||($e[6]=withModifiers((...bn)=>xe.handleDrop&&xe.handleDrop(...bn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(xe.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(xe.node.level-1)*xe.tree.props.indent+"px"})},[xe.tree.props.icon||xe.CaretRight?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.be("node","expand-icon"),xe.ns.is("leaf",xe.node.isLeaf),{expanded:!xe.node.isLeaf&&xe.expanded}]),onClick:withModifiers(xe.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.tree.props.icon||xe.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.showCheckbox?(openBlock(),createBlock(Dt,{key:1,"model-value":xe.node.checked,indeterminate:xe.node.indeterminate,disabled:!!xe.node.disabled,onClick:$e[0]||($e[0]=withModifiers(()=>{},["stop"])),onChange:xe.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),xe.node.loading?(openBlock(),createBlock(At,{key:2,class:normalizeClass([xe.ns.be("node","loading-icon"),xe.ns.is("loading")])},{default:withCtx(()=>[createVNode$1(Lt)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(jt,{node:xe.node,"render-content":xe.renderContent},null,8,["node","render-content"])],6),createVNode$1(vn,null,{default:withCtx(()=>[!xe.renderAfterExpand||xe.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.be("node","children")),role:"group","aria-expanded":xe.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.node.childNodes,bn=>(openBlock(),createBlock(hn,{key:xe.getNodeKey(bn),"render-content":xe.renderContent,"render-after-expand":xe.renderAfterExpand,"show-checkbox":xe.showCheckbox,node:bn,accordion:xe.accordion,props:xe.props,onNodeExpand:xe.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$8)),[[vShow,xe.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$c)),[[vShow,xe.node.visible]])}var ElTreeNode$1=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$2],["__file","tree-node.vue"]]);function useKeydown({el$:xe},$e){const Ie=useNamespace("tree"),Fe=shallowRef([]),Ue=shallowRef([]);onMounted(()=>{At()}),onUpdated(()=>{Fe.value=Array.from(xe.value.querySelectorAll("[role=treeitem]")),Ue.value=Array.from(xe.value.querySelectorAll("input[type=checkbox]"))}),watch(Ue,Dt=>{Dt.forEach(Lt=>{Lt.setAttribute("tabindex","-1")})}),useEventListener(xe,"keydown",Dt=>{const Lt=Dt.target;if(!Lt.className.includes(Ie.b("node")))return;const jt=Dt.code;Fe.value=Array.from(xe.value.querySelectorAll(`.${Ie.is("focusable")}[role=treeitem]`));const hn=Fe.value.indexOf(Lt);let vn;if([EVENT_CODE.up,EVENT_CODE.down].includes(jt)){if(Dt.preventDefault(),jt===EVENT_CODE.up){vn=hn===-1?0:hn!==0?hn-1:Fe.value.length-1;const _n=vn;for(;!$e.value.getNode(Fe.value[vn].dataset.key).canFocus;){if(vn--,vn===_n){vn=-1;break}vn<0&&(vn=Fe.value.length-1)}}else{vn=hn===-1?0:hn=Fe.value.length&&(vn=0)}}vn!==-1&&Fe.value[vn].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(jt)&&(Dt.preventDefault(),Lt.click());const bn=Lt.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(jt)&&bn&&(Dt.preventDefault(),bn.click())});const At=()=>{var Dt;Fe.value=Array.from(xe.value.querySelectorAll(`.${Ie.is("focusable")}[role=treeitem]`)),Ue.value=Array.from(xe.value.querySelectorAll("input[type=checkbox]"));const Lt=xe.value.querySelectorAll(`.${Ie.is("checked")}[role=treeitem]`);if(Lt.length){Lt[0].setAttribute("tabindex","0");return}(Dt=Fe.value[0])==null||Dt.setAttribute("tabindex","0")}}const _sfc_main$k=defineComponent({name:"ElTree",components:{ElTreeNode:ElTreeNode$1},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:iconPropType}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(xe,$e){const{t:Ie}=useLocale(),Fe=useNamespace("tree"),Ue=inject(selectKey,null),qe=ref(new TreeStore({key:xe.nodeKey,data:xe.data,lazy:xe.lazy,props:xe.props,load:xe.load,currentNodeKey:xe.currentNodeKey,checkStrictly:xe.checkStrictly,checkDescendants:xe.checkDescendants,defaultCheckedKeys:xe.defaultCheckedKeys,defaultExpandedKeys:xe.defaultExpandedKeys,autoExpandParent:xe.autoExpandParent,defaultExpandAll:xe.defaultExpandAll,filterNodeMethod:xe.filterNodeMethod}));qe.value.initialize();const At=ref(qe.value.root),Dt=ref(null),Lt=ref(null),jt=ref(null),{broadcastExpanded:hn}=useNodeExpandEventBroadcast(xe),{dragState:vn}=useDragNodeHandler({props:xe,ctx:$e,el$:Lt,dropIndicator$:jt,store:qe});useKeydown({el$:Lt},qe);const bn=computed(()=>{const{childNodes:Fn}=At.value,zn=Ue?Ue.hasFilteredOptions!==0:!1;return(!Fn||Fn.length===0||Fn.every(({visible:jn})=>!jn))&&!zn});watch(()=>xe.currentNodeKey,Fn=>{qe.value.setCurrentNodeKey(Fn)}),watch(()=>xe.defaultCheckedKeys,Fn=>{qe.value.setDefaultCheckedKey(Fn)}),watch(()=>xe.defaultExpandedKeys,Fn=>{qe.value.setDefaultExpandedKeys(Fn)}),watch(()=>xe.data,Fn=>{qe.value.setData(Fn)},{deep:!0}),watch(()=>xe.checkStrictly,Fn=>{qe.value.checkStrictly=Fn});const _n=Fn=>{if(!xe.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");qe.value.filter(Fn)},wn=Fn=>getNodeKey(xe.nodeKey,Fn.data),kn=Fn=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const zn=qe.value.getNode(Fn);if(!zn)return[];const jn=[zn.data];let Gn=zn.parent;for(;Gn&&Gn!==At.value;)jn.push(Gn.data),Gn=Gn.parent;return jn.reverse()},Cn=(Fn,zn)=>qe.value.getCheckedNodes(Fn,zn),Sn=Fn=>qe.value.getCheckedKeys(Fn),xn=()=>{const Fn=qe.value.getCurrentNode();return Fn?Fn.data:null},En=()=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const Fn=xn();return Fn?Fn[xe.nodeKey]:null},Tn=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");qe.value.setCheckedNodes(Fn,zn)},An=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");qe.value.setCheckedKeys(Fn,zn)},$n=(Fn,zn,jn)=>{qe.value.setChecked(Fn,zn,jn)},Pn=()=>qe.value.getHalfCheckedNodes(),Nn=()=>qe.value.getHalfCheckedKeys(),Mn=(Fn,zn=!0)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(qe,$e.emit,()=>qe.value.setUserCurrentNode(Fn,zn))},In=(Fn,zn=!0)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(qe,$e.emit,()=>qe.value.setCurrentNodeKey(Fn,zn))},On=Fn=>qe.value.getNode(Fn),Rn=Fn=>{qe.value.remove(Fn)},Bn=(Fn,zn)=>{qe.value.append(Fn,zn)},Vn=(Fn,zn)=>{qe.value.insertBefore(Fn,zn)},Ln=(Fn,zn)=>{qe.value.insertAfter(Fn,zn)},Dn=(Fn,zn,jn)=>{hn(zn),$e.emit("node-expand",Fn,zn,jn)},Hn=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");qe.value.updateChildren(Fn,zn)};return provide("RootTree",{ctx:$e,props:xe,store:qe,root:At,currentNode:Dt,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:Fe,store:qe,root:At,currentNode:Dt,dragState:vn,el$:Lt,dropIndicator$:jt,isEmpty:bn,filter:_n,getNodeKey:wn,getNodePath:kn,getCheckedNodes:Cn,getCheckedKeys:Sn,getCurrentNode:xn,getCurrentKey:En,setCheckedNodes:Tn,setCheckedKeys:An,setChecked:$n,getHalfCheckedNodes:Pn,getHalfCheckedKeys:Nn,setCurrentNode:Mn,setCurrentKey:In,t:Ie,getNode:On,remove:Rn,append:Bn,insertBefore:Vn,insertAfter:Ln,handleNodeExpand:Dn,updateKeyChildren:Hn}}});function _sfc_render$1(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([xe.ns.b(),xe.ns.is("dragging",!!xe.dragState.draggingNode),xe.ns.is("drop-not-allow",!xe.dragState.allowDrop),xe.ns.is("drop-inner",xe.dragState.dropType==="inner"),{[xe.ns.m("highlight-current")]:xe.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.root.childNodes,Dt=>(openBlock(),createBlock(At,{key:xe.getNodeKey(Dt),node:Dt,props:xe.props,accordion:xe.accordion,"render-after-expand":xe.renderAfterExpand,"show-checkbox":xe.showCheckbox,"render-content":xe.renderContent,onNodeExpand:xe.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),xe.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.e("empty-block"))},[renderSlot(xe.$slots,"empty",{},()=>{var Dt;return[createBaseVNode("span",{class:normalizeClass(xe.ns.e("empty-text"))},toDisplayString((Dt=xe.emptyText)!=null?Dt:xe.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(xe.ns.e("drop-indicator"))},null,2),[[vShow,xe.dragState.showDropIndicator]])],2)}var Tree$1=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$1],["__file","tree.vue"]]);Tree$1.install=xe=>{xe.component(Tree$1.name,Tree$1)};const _Tree=Tree$1,ElTree=_Tree,useSelect=(xe,{attrs:$e,emit:Ie},{select:Fe,tree:Ue,key:qe})=>{const At=useNamespace("tree-select");return watch(()=>xe.data,()=>{xe.filterable&&nextTick(()=>{var Lt,jt;(jt=Ue.value)==null||jt.filter((Lt=Fe.value)==null?void 0:Lt.states.inputValue)})},{flush:"post"}),{...pick(toRefs(xe),Object.keys(ElSelect.props)),...$e,"onUpdate:modelValue":Lt=>Ie(UPDATE_MODEL_EVENT,Lt),valueKey:qe,popperClass:computed(()=>{const Lt=[At.e("popper")];return xe.popperClass&&Lt.push(xe.popperClass),Lt.join(" ")}),filterMethod:(Lt="")=>{var jt;xe.filterMethod?xe.filterMethod(Lt):xe.remoteMethod?xe.remoteMethod(Lt):(jt=Ue.value)==null||jt.filter(Lt)}}},component=defineComponent({extends:ElOption,setup(xe,$e){const Ie=ElOption.setup(xe,$e);delete Ie.selectOptionClick;const Fe=getCurrentInstance().proxy;return nextTick(()=>{Ie.select.states.cachedOptions.get(Fe.value)||Ie.select.onOptionCreate(Fe)}),Ie},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(xe){return xe||xe===0}function isValidArray(xe){return Array.isArray(xe)&&xe.length}function toValidArray(xe){return Array.isArray(xe)?xe:isValidValue(xe)?[xe]:[]}function treeFind(xe,$e,Ie,Fe,Ue){for(let qe=0;qe{watch(()=>xe.modelValue,()=>{xe.showCheckbox&&nextTick(()=>{const vn=qe.value;vn&&!isEqual$1(vn.getCheckedKeys(),toValidArray(xe.modelValue))&&vn.setCheckedKeys(toValidArray(xe.modelValue))})},{immediate:!0,deep:!0});const Dt=computed(()=>({value:At.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...xe.props})),Lt=(vn,bn)=>{var _n;const wn=Dt.value[vn];return isFunction$5(wn)?wn(bn,(_n=qe.value)==null?void 0:_n.getNode(Lt("value",bn))):bn[wn]},jt=toValidArray(xe.modelValue).map(vn=>treeFind(xe.data||[],bn=>Lt("value",bn)===vn,bn=>Lt("children",bn),(bn,_n,wn,kn)=>kn&&Lt("value",kn))).filter(vn=>isValidValue(vn)),hn=computed(()=>{if(!xe.renderAfterExpand&&!xe.lazy)return[];const vn=[];return treeEach(xe.data.concat(xe.cacheData),bn=>{const _n=Lt("value",bn);vn.push({value:_n,currentLabel:Lt("label",bn),isDisabled:Lt("disabled",bn)})},bn=>Lt("children",bn)),vn});return{...pick(toRefs(xe),Object.keys(_Tree.props)),...$e,nodeKey:At,expandOnClickNode:computed(()=>!xe.checkStrictly&&xe.expandOnClickNode),defaultExpandedKeys:computed(()=>xe.defaultExpandedKeys?xe.defaultExpandedKeys.concat(jt):jt),renderContent:(vn,{node:bn,data:_n,store:wn})=>vn(component,{value:Lt("value",_n),label:Lt("label",_n),disabled:Lt("disabled",_n)},xe.renderContent?()=>xe.renderContent(vn,{node:bn,data:_n,store:wn}):Ie.default?()=>Ie.default({node:bn,data:_n,store:wn}):void 0),filterNodeMethod:(vn,bn,_n)=>xe.filterNodeMethod?xe.filterNodeMethod(vn,bn,_n):vn?new RegExp(escapeStringRegexp(vn),"i").test(Lt("label",bn)||""):!0,onNodeClick:(vn,bn,_n)=>{var wn,kn,Cn,Sn;if((wn=$e.onNodeClick)==null||wn.call($e,vn,bn,_n),!(xe.showCheckbox&&xe.checkOnClickNode)){if(!xe.showCheckbox&&(xe.checkStrictly||bn.isLeaf)){if(!Lt("disabled",vn)){const xn=(kn=Ue.value)==null?void 0:kn.states.options.get(Lt("value",vn));(Cn=Ue.value)==null||Cn.handleOptionSelect(xn)}}else xe.expandOnClickNode&&_n.proxy.handleExpandIconClick();(Sn=Ue.value)==null||Sn.focus()}},onCheck:(vn,bn)=>{var _n;if(!xe.showCheckbox)return;const wn=Lt("value",vn),kn={};treeEach([qe.value.store.root],En=>kn[En.key]=En,En=>En.childNodes);const Cn=bn.checkedKeys,Sn=xe.multiple?toValidArray(xe.modelValue).filter(En=>!(En in kn)&&!Cn.includes(En)):[],xn=Sn.concat(Cn);if(xe.checkStrictly)Fe(UPDATE_MODEL_EVENT,xe.multiple?xn:xn.includes(wn)?wn:void 0);else if(xe.multiple)Fe(UPDATE_MODEL_EVENT,Sn.concat(qe.value.getCheckedKeys(!0)));else{const En=treeFind([vn],$n=>!isValidArray(Lt("children",$n))&&!Lt("disabled",$n),$n=>Lt("children",$n)),Tn=En?Lt("value",En):void 0,An=isValidValue(xe.modelValue)&&!!treeFind([vn],$n=>Lt("value",$n)===xe.modelValue,$n=>Lt("children",$n));Fe(UPDATE_MODEL_EVENT,Tn===xe.modelValue||An?void 0:Tn)}nextTick(()=>{var En;const Tn=toValidArray(xe.modelValue);qe.value.setCheckedKeys(Tn),(En=$e.onCheck)==null||En.call($e,vn,{checkedKeys:qe.value.getCheckedKeys(),checkedNodes:qe.value.getCheckedNodes(),halfCheckedKeys:qe.value.getHalfCheckedKeys(),halfCheckedNodes:qe.value.getHalfCheckedNodes()})}),(_n=Ue.value)==null||_n.focus()},cacheOptions:hn}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(xe){const $e=inject(selectKey);return watch(()=>xe.data,()=>{var Ie;xe.data.forEach(Ue=>{$e.states.cachedOptions.has(Ue.value)||$e.states.cachedOptions.set(Ue.value,Ue)});const Fe=((Ie=$e.selectRef)==null?void 0:Ie.querySelectorAll("input"))||[];Array.from(Fe).includes(document.activeElement)||$e.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$j=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(xe,$e){const{slots:Ie,expose:Fe}=$e,Ue=ref(),qe=ref(),At=computed(()=>xe.nodeKey||xe.valueKey||"value"),Dt=useSelect(xe,$e,{select:Ue,tree:qe,key:At}),{cacheOptions:Lt,...jt}=useTree$1(xe,$e,{select:Ue,tree:qe,key:At}),hn=reactive({});return Fe(hn),onMounted(()=>{Object.assign(hn,{...pick(qe.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick(Ue.value,["focus","blur"])})}),()=>h$5(ElSelect,reactive({...Dt,ref:vn=>Ue.value=vn}),{...Ie,default:()=>[h$5(CacheOptions,{data:Lt.value}),h$5(_Tree,reactive({...jt,ref:vn=>qe.value=vn}))]})}});var TreeSelect=_export_sfc$1(_sfc_main$j,[["__file","tree-select.vue"]]);TreeSelect.install=xe=>{xe.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(xe=>(xe.KEY="id",xe.LABEL="label",xe.CHILDREN="children",xe.DISABLED="disabled",xe))(TreeOptionsEnum||{}),SetOperationEnum=(xe=>(xe.ADD="add",xe.DELETE="delete",xe))(SetOperationEnum||{});const itemSize={type:Number,default:26},treeProps=buildProps({data:{type:definePropType(Array),default:()=>mutable([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:definePropType(Object),default:()=>mutable({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:definePropType(Array),default:()=>mutable([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:definePropType(Array),default:()=>mutable([])},indent:{type:Number,default:16},itemSize,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:definePropType([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:definePropType(Function)},perfMode:{type:Boolean,default:!0}}),treeNodeProps=buildProps({node:{type:definePropType(Object),default:()=>mutable(EMPTY_NODE)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",NODE_EXPAND="node-expand",NODE_COLLAPSE="node-collapse",CURRENT_CHANGE="current-change",NODE_CHECK="check",NODE_CHECK_CHANGE="check-change",NODE_CONTEXTMENU="node-contextmenu",treeEmits={[NODE_CLICK]:(xe,$e,Ie)=>xe&&$e&&Ie,[NODE_EXPAND]:(xe,$e)=>xe&&$e,[NODE_COLLAPSE]:(xe,$e)=>xe&&$e,[CURRENT_CHANGE]:(xe,$e)=>xe&&$e,[NODE_CHECK]:(xe,$e)=>xe&&$e,[NODE_CHECK_CHANGE]:(xe,$e)=>xe&&typeof $e=="boolean",[NODE_CONTEXTMENU]:(xe,$e,Ie)=>xe&&$e&&Ie},treeNodeEmits={click:(xe,$e)=>!!(xe&&$e),toggle:xe=>!!xe,check:(xe,$e)=>xe&&typeof $e=="boolean"};function useCheck(xe,$e){const Ie=ref(new Set),Fe=ref(new Set),{emit:Ue}=getCurrentInstance();watch([()=>$e.value,()=>xe.defaultCheckedKeys],()=>nextTick(()=>{xn(xe.defaultCheckedKeys)}),{immediate:!0});const qe=()=>{if(!$e.value||!xe.showCheckbox||xe.checkStrictly)return;const{levelTreeNodeMap:En,maxLevel:Tn}=$e.value,An=Ie.value,$n=new Set;for(let Pn=Tn-1;Pn>=1;--Pn){const Nn=En.get(Pn);Nn&&Nn.forEach(Mn=>{const In=Mn.children;if(In){let On=!0,Rn=!1;for(const Bn of In){const Vn=Bn.key;if(An.has(Vn))Rn=!0;else if($n.has(Vn)){On=!1,Rn=!0;break}else On=!1}On?An.add(Mn.key):Rn?($n.add(Mn.key),An.delete(Mn.key)):(An.delete(Mn.key),$n.delete(Mn.key))}})}Fe.value=$n},At=En=>Ie.value.has(En.key),Dt=En=>Fe.value.has(En.key),Lt=(En,Tn,An=!0)=>{const $n=Ie.value,Pn=(Nn,Mn)=>{$n[Mn?SetOperationEnum.ADD:SetOperationEnum.DELETE](Nn.key);const In=Nn.children;!xe.checkStrictly&&In&&In.forEach(On=>{On.disabled||Pn(On,Mn)})};Pn(En,Tn),qe(),An&&jt(En,Tn)},jt=(En,Tn)=>{const{checkedNodes:An,checkedKeys:$n}=wn(),{halfCheckedNodes:Pn,halfCheckedKeys:Nn}=kn();Ue(NODE_CHECK,En.data,{checkedKeys:$n,checkedNodes:An,halfCheckedKeys:Nn,halfCheckedNodes:Pn}),Ue(NODE_CHECK_CHANGE,En.data,Tn)};function hn(En=!1){return wn(En).checkedKeys}function vn(En=!1){return wn(En).checkedNodes}function bn(){return kn().halfCheckedKeys}function _n(){return kn().halfCheckedNodes}function wn(En=!1){const Tn=[],An=[];if($e!=null&&$e.value&&xe.showCheckbox){const{treeNodeMap:$n}=$e.value;Ie.value.forEach(Pn=>{const Nn=$n.get(Pn);Nn&&(!En||En&&Nn.isLeaf)&&(An.push(Pn),Tn.push(Nn.data))})}return{checkedKeys:An,checkedNodes:Tn}}function kn(){const En=[],Tn=[];if($e!=null&&$e.value&&xe.showCheckbox){const{treeNodeMap:An}=$e.value;Fe.value.forEach($n=>{const Pn=An.get($n);Pn&&(Tn.push($n),En.push(Pn.data))})}return{halfCheckedNodes:En,halfCheckedKeys:Tn}}function Cn(En){Ie.value.clear(),Fe.value.clear(),nextTick(()=>{xn(En)})}function Sn(En,Tn){if($e!=null&&$e.value&&xe.showCheckbox){const An=$e.value.treeNodeMap.get(En);An&&Lt(An,Tn,!1)}}function xn(En){if($e!=null&&$e.value){const{treeNodeMap:Tn}=$e.value;if(xe.showCheckbox&&Tn&&En)for(const An of En){const $n=Tn.get(An);$n&&!At($n)&&Lt($n,!0,!1)}}}return{updateCheckedKeys:qe,toggleCheckbox:Lt,isChecked:At,isIndeterminate:Dt,getCheckedKeys:hn,getCheckedNodes:vn,getHalfCheckedKeys:bn,getHalfCheckedNodes:_n,setChecked:Sn,setCheckedKeys:Cn}}function useFilter(xe,$e){const Ie=ref(new Set([])),Fe=ref(new Set([])),Ue=computed(()=>isFunction$5(xe.filterMethod));function qe(Dt){var Lt;if(!Ue.value)return;const jt=new Set,hn=Fe.value,vn=Ie.value,bn=[],_n=((Lt=$e.value)==null?void 0:Lt.treeNodes)||[],wn=xe.filterMethod;vn.clear();function kn(Cn){Cn.forEach(Sn=>{bn.push(Sn),wn!=null&&wn(Dt,Sn.data)?bn.forEach(En=>{jt.add(En.key)}):Sn.isLeaf&&vn.add(Sn.key);const xn=Sn.children;if(xn&&kn(xn),!Sn.isLeaf){if(!jt.has(Sn.key))vn.add(Sn.key);else if(xn){let En=!0;for(const Tn of xn)if(!vn.has(Tn.key)){En=!1;break}En?hn.add(Sn.key):hn.delete(Sn.key)}}bn.pop()})}return kn(_n),jt}function At(Dt){return Fe.value.has(Dt.key)}return{hiddenExpandIconKeySet:Fe,hiddenNodeKeySet:Ie,doFilter:qe,isForceHiddenExpandIcon:At}}function useTree(xe,$e){const Ie=ref(new Set(xe.defaultExpandedKeys)),Fe=ref(),Ue=shallowRef();watch(()=>xe.currentNodeKey,qn=>{Fe.value=qn},{immediate:!0}),watch(()=>xe.data,qn=>{Jn(qn)},{immediate:!0});const{isIndeterminate:qe,isChecked:At,toggleCheckbox:Dt,getCheckedKeys:Lt,getCheckedNodes:jt,getHalfCheckedKeys:hn,getHalfCheckedNodes:vn,setChecked:bn,setCheckedKeys:_n}=useCheck(xe,Ue),{doFilter:wn,hiddenNodeKeySet:kn,isForceHiddenExpandIcon:Cn}=useFilter(xe,Ue),Sn=computed(()=>{var qn;return((qn=xe.props)==null?void 0:qn.value)||TreeOptionsEnum.KEY}),xn=computed(()=>{var qn;return((qn=xe.props)==null?void 0:qn.children)||TreeOptionsEnum.CHILDREN}),En=computed(()=>{var qn;return((qn=xe.props)==null?void 0:qn.disabled)||TreeOptionsEnum.DISABLED}),Tn=computed(()=>{var qn;return((qn=xe.props)==null?void 0:qn.label)||TreeOptionsEnum.LABEL}),An=computed(()=>{const qn=Ie.value,ar=kn.value,tr=[],or=Ue.value&&Ue.value.treeNodes||[];function sr(){const Kn=[];for(let Zn=or.length-1;Zn>=0;--Zn)Kn.push(or[Zn]);for(;Kn.length;){const Zn=Kn.pop();if(Zn&&(ar.has(Zn.key)||tr.push(Zn),qn.has(Zn.key))){const nr=Zn.children;if(nr){const lr=nr.length;for(let ir=lr-1;ir>=0;--ir)Kn.push(nr[ir])}}}}return sr(),tr}),$n=computed(()=>An.value.length>0);function Pn(qn){const ar=new Map,tr=new Map;let or=1;function sr(Zn,nr=1,lr=void 0){var ir;const kr=[];for(const Cr of Zn){const Er=In(Cr),dr={level:nr,key:Er,data:Cr};dr.label=Rn(Cr),dr.parent=lr;const br=Mn(Cr);dr.disabled=On(Cr),dr.isLeaf=!br||br.length===0,br&&br.length&&(dr.children=sr(br,nr+1,dr)),kr.push(dr),ar.set(Er,dr),tr.has(nr)||tr.set(nr,[]),(ir=tr.get(nr))==null||ir.push(dr)}return nr>or&&(or=nr),kr}const Kn=sr(qn);return{treeNodeMap:ar,levelTreeNodeMap:tr,maxLevel:or,treeNodes:Kn}}function Nn(qn){const ar=wn(qn);ar&&(Ie.value=ar)}function Mn(qn){return qn[xn.value]}function In(qn){return qn?qn[Sn.value]:""}function On(qn){return qn[En.value]}function Rn(qn){return qn[Tn.value]}function Bn(qn){Ie.value.has(qn.key)?zn(qn):Fn(qn)}function Vn(qn){Ie.value=new Set(qn)}function Ln(qn,ar){$e(NODE_CLICK,qn.data,qn,ar),Dn(qn),xe.expandOnClickNode&&Bn(qn),xe.showCheckbox&&xe.checkOnClickNode&&!qn.disabled&&Dt(qn,!At(qn),!0)}function Dn(qn){Wn(qn)||(Fe.value=qn.key,$e(CURRENT_CHANGE,qn.data,qn))}function Hn(qn,ar){Dt(qn,ar)}function Fn(qn){const ar=Ie.value;if(Ue.value&&xe.accordion){const{treeNodeMap:tr}=Ue.value;ar.forEach(or=>{const sr=tr.get(or);qn&&qn.level===(sr==null?void 0:sr.level)&&ar.delete(or)})}ar.add(qn.key),$e(NODE_EXPAND,qn.data,qn)}function zn(qn){Ie.value.delete(qn.key),$e(NODE_COLLAPSE,qn.data,qn)}function jn(qn){return Ie.value.has(qn.key)}function Gn(qn){return!!qn.disabled}function Wn(qn){const ar=Fe.value;return ar!==void 0&&ar===qn.key}function Xn(){var qn,ar;if(Fe.value)return(ar=(qn=Ue.value)==null?void 0:qn.treeNodeMap.get(Fe.value))==null?void 0:ar.data}function er(){return Fe.value}function rr(qn){Fe.value=qn}function Jn(qn){nextTick(()=>Ue.value=Pn(qn))}function Yn(qn){var ar;const tr=isObject$8(qn)?In(qn):qn;return(ar=Ue.value)==null?void 0:ar.treeNodeMap.get(tr)}return{tree:Ue,flattenTree:An,isNotEmpty:$n,getKey:In,getChildren:Mn,toggleExpand:Bn,toggleCheckbox:Dt,isExpanded:jn,isChecked:At,isIndeterminate:qe,isDisabled:Gn,isCurrent:Wn,isForceHiddenExpandIcon:Cn,handleNodeClick:Ln,handleNodeCheck:Hn,getCurrentNode:Xn,getCurrentKey:er,setCurrentKey:rr,getCheckedKeys:Lt,getCheckedNodes:jt,getHalfCheckedKeys:hn,getHalfCheckedNodes:vn,setChecked:bn,setCheckedKeys:_n,filter:Nn,setData:Jn,getNode:Yn,expandNode:Fn,collapseNode:zn,setExpandedKeys:Vn}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(xe){const $e=inject(ROOT_TREE_INJECTION_KEY),Ie=useNamespace("tree");return()=>{const Fe=xe.node,{data:Ue}=Fe;return $e!=null&&$e.ctx.slots.default?$e.ctx.slots.default({node:Fe,data:Ue}):h$5("span",{class:Ie.be("node","label")},[Fe==null?void 0:Fe.label])}}});const _hoisted_1$b=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$f=defineComponent({name:"ElTreeNode"}),_sfc_main$i=defineComponent({...__default__$f,props:treeNodeProps,emits:treeNodeEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=inject(ROOT_TREE_INJECTION_KEY),Ue=useNamespace("tree"),qe=computed(()=>{var vn;return(vn=Fe==null?void 0:Fe.props.indent)!=null?vn:16}),At=computed(()=>{var vn;return(vn=Fe==null?void 0:Fe.props.icon)!=null?vn:caret_right_default}),Dt=vn=>{$e("click",Ie.node,vn)},Lt=()=>{$e("toggle",Ie.node)},jt=vn=>{$e("check",Ie.node,vn)},hn=vn=>{var bn,_n,wn,kn;(wn=(_n=(bn=Fe==null?void 0:Fe.instance)==null?void 0:bn.vnode)==null?void 0:_n.props)!=null&&wn.onNodeContextmenu&&(vn.stopPropagation(),vn.preventDefault()),Fe==null||Fe.ctx.emit(NODE_CONTEXTMENU,vn,(kn=Ie.node)==null?void 0:kn.data,Ie.node)};return(vn,bn)=>{var _n,wn,kn;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(Ue).b("node"),unref(Ue).is("expanded",vn.expanded),unref(Ue).is("current",vn.current),unref(Ue).is("focusable",!vn.disabled),unref(Ue).is("checked",!vn.disabled&&vn.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":vn.expanded,"aria-disabled":vn.disabled,"aria-checked":vn.checked,"data-key":(_n=vn.node)==null?void 0:_n.key,onClick:withModifiers(Dt,["stop"]),onContextmenu:hn},[createBaseVNode("div",{class:normalizeClass(unref(Ue).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(vn.node.level-1)*unref(qe)}px`,height:vn.itemSize+"px"})},[unref(At)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Ue).is("leaf",!!((wn=vn.node)!=null&&wn.isLeaf)),unref(Ue).is("hidden",vn.hiddenExpandIcon),{expanded:!((kn=vn.node)!=null&&kn.isLeaf)&&vn.expanded},unref(Ue).be("node","expand-icon")]),onClick:withModifiers(Lt,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(At))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),vn.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":vn.checked,indeterminate:vn.indeterminate,disabled:vn.disabled,onChange:jt,onClick:bn[0]||(bn[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElNodeContent),{node:vn.node},null,8,["node"])],6)],42,_hoisted_1$b)}}});var ElTreeNode=_export_sfc$1(_sfc_main$i,[["__file","tree-node.vue"]]);const __default__$e=defineComponent({name:"ElTreeV2"}),_sfc_main$h=defineComponent({...__default__$e,props:treeProps,emits:treeEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),qe=computed(()=>Fe.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:Ie,slots:Ue},props:Fe,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:At}=useLocale(),Dt=useNamespace("tree"),{flattenTree:Lt,isNotEmpty:jt,toggleExpand:hn,isExpanded:vn,isIndeterminate:bn,isChecked:_n,isDisabled:wn,isCurrent:kn,isForceHiddenExpandIcon:Cn,handleNodeClick:Sn,handleNodeCheck:xn,toggleCheckbox:En,getCurrentNode:Tn,getCurrentKey:An,setCurrentKey:$n,getCheckedKeys:Pn,getCheckedNodes:Nn,getHalfCheckedKeys:Mn,getHalfCheckedNodes:In,setChecked:On,setCheckedKeys:Rn,filter:Bn,setData:Vn,getNode:Ln,expandNode:Dn,collapseNode:Hn,setExpandedKeys:Fn}=useTree(Fe,Ie);return $e({toggleCheckbox:En,getCurrentNode:Tn,getCurrentKey:An,setCurrentKey:$n,getCheckedKeys:Pn,getCheckedNodes:Nn,getHalfCheckedKeys:Mn,getHalfCheckedNodes:In,setChecked:On,setCheckedKeys:Rn,filter:Bn,setData:Vn,getNode:Ln,expandNode:Dn,collapseNode:Hn,setExpandedKeys:Fn}),(zn,jn)=>{var Gn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(Dt).b(),{[unref(Dt).m("highlight-current")]:zn.highlightCurrent}]),role:"tree"},[unref(jt)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(Dt).b("virtual-list"),data:unref(Lt),total:unref(Lt).length,height:zn.height,"item-size":unref(qe),"perf-mode":zn.perfMode},{default:withCtx(({data:Wn,index:Xn,style:er})=>[(openBlock(),createBlock(ElTreeNode,{key:Wn[Xn].key,style:normalizeStyle$1(er),node:Wn[Xn],expanded:unref(vn)(Wn[Xn]),"show-checkbox":zn.showCheckbox,checked:unref(_n)(Wn[Xn]),indeterminate:unref(bn)(Wn[Xn]),"item-size":unref(qe),disabled:unref(wn)(Wn[Xn]),current:unref(kn)(Wn[Xn]),"hidden-expand-icon":unref(Cn)(Wn[Xn]),onClick:unref(Sn),onToggle:unref(hn),onCheck:unref(xn)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Dt).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(Dt).e("empty-text"))},toDisplayString((Gn=zn.emptyText)!=null?Gn:unref(At)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$1(_sfc_main$h,[["__file","tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor($e,Ie,Fe,Ue){super($e),this.name="UploadAjaxError",this.status=Ie,this.method=Fe,this.url=Ue}}function getError(xe,$e,Ie){let Fe;return Ie.response?Fe=`${Ie.response.error||Ie.response}`:Ie.responseText?Fe=`${Ie.responseText}`:Fe=`fail to ${$e.method} ${xe} ${Ie.status}`,new UploadAjaxError(Fe,Ie.status,$e.method,xe)}function getBody(xe){const $e=xe.responseText||xe.response;if(!$e)return $e;try{return JSON.parse($e)}catch{return $e}}const ajaxUpload=xe=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$2,"XMLHttpRequest is undefined");const $e=new XMLHttpRequest,Ie=xe.action;$e.upload&&$e.upload.addEventListener("progress",qe=>{const At=qe;At.percent=qe.total>0?qe.loaded/qe.total*100:0,xe.onProgress(At)});const Fe=new FormData;if(xe.data)for(const[qe,At]of Object.entries(xe.data))isArray$6(At)&&At.length?Fe.append(qe,...At):Fe.append(qe,At);Fe.append(xe.filename,xe.file,xe.file.name),$e.addEventListener("error",()=>{xe.onError(getError(Ie,xe,$e))}),$e.addEventListener("load",()=>{if($e.status<200||$e.status>=300)return xe.onError(getError(Ie,xe,$e));xe.onSuccess(getBody($e))}),$e.open(xe.method,Ie,!0),xe.withCredentials&&"withCredentials"in $e&&($e.withCredentials=!0);const Ue=xe.headers||{};if(Ue instanceof Headers)Ue.forEach((qe,At)=>$e.setRequestHeader(At,qe));else for(const[qe,At]of Object.entries(Ue))isNil(At)||$e.setRequestHeader(qe,String(At));return $e.send(Fe),$e},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:definePropType([Object,Function,Promise]),default:()=>mutable({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP},crossorigin:{type:definePropType(String)}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"},crossorigin:{type:definePropType(String)}}),uploadListEmits={remove:xe=>!!xe},_hoisted_1$a=["onKeydown"],_hoisted_2$7=["src","crossorigin"],_hoisted_3$3=["onClick"],_hoisted_4$2=["title"],_hoisted_5$1=["onClick"],_hoisted_6$1=["onClick"],__default__$d=defineComponent({name:"ElUploadList"}),_sfc_main$g=defineComponent({...__default__$d,props:uploadListProps,emits:uploadListEmits,setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("upload"),qe=useNamespace("icon"),At=useNamespace("list"),Dt=useFormDisabled(),Lt=ref(!1),jt=computed(()=>[Ue.b("list"),Ue.bm("list",Ie.listType),Ue.is("disabled",Ie.disabled)]),hn=vn=>{$e("remove",vn)};return(vn,bn)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(unref(jt)),name:unref(At).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(vn.files,_n=>(openBlock(),createElementBlock("li",{key:_n.uid||_n.name,class:normalizeClass([unref(Ue).be("list","item"),unref(Ue).is(_n.status),{focusing:Lt.value}]),tabindex:"0",onKeydown:withKeys(wn=>!unref(Dt)&&hn(_n),["delete"]),onFocus:bn[0]||(bn[0]=wn=>Lt.value=!0),onBlur:bn[1]||(bn[1]=wn=>Lt.value=!1),onClick:bn[2]||(bn[2]=wn=>Lt.value=!1)},[renderSlot(vn.$slots,"default",{file:_n},()=>[vn.listType==="picture"||_n.status!=="uploading"&&vn.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(Ue).be("list","item-thumbnail")),src:_n.url,crossorigin:vn.crossorigin,alt:""},null,10,_hoisted_2$7)):createCommentVNode("v-if",!0),_n.status==="uploading"||vn.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(Ue).be("list","item-name")),onClick:withModifiers(wn=>vn.handlePreview(_n),["prevent"])},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("document"))},{default:withCtx(()=>[createVNode$1(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(Ue).be("list","item-file-name")),title:_n.name},toDisplayString(_n.name),11,_hoisted_4$2)],10,_hoisted_3$3),_n.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:vn.listType==="picture-card"?"circle":"line","stroke-width":vn.listType==="picture-card"?6:2,percentage:Number(_n.percentage),style:normalizeStyle$1(vn.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(Ue).be("list","item-status-label"))},[vn.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(qe).m("upload-success"),unref(qe).m("circle-check")])},{default:withCtx(()=>[createVNode$1(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(vn.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(qe).m("upload-success"),unref(qe).m("check")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(qe).m("close")),onClick:wn=>hn(_n)},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(qe).m("close-tip"))},toDisplayString(unref(Fe)("el.upload.deleteTip")),3)),vn.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(Ue).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(Ue).be("list","item-preview")),onClick:wn=>vn.handlePreview(_n)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("zoom-in"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_5$1),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ue).be("list","item-delete")),onClick:wn=>hn(_n)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("delete"))},{default:withCtx(()=>[createVNode$1(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_6$1))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$a))),128)),renderSlot(vn.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$g,[["__file","upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:xe=>isArray$6(xe)},_hoisted_1$9=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$c=defineComponent({name:COMPONENT_NAME}),_sfc_main$f=defineComponent({...__default__$c,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(xe,{emit:$e}){inject(uploadContextKey)||throwError$1(COMPONENT_NAME,"usage: ");const Fe=useNamespace("upload"),Ue=ref(!1),qe=useFormDisabled(),At=Lt=>{if(qe.value)return;Ue.value=!1,Lt.stopPropagation();const jt=Array.from(Lt.dataTransfer.files);$e("file",jt)},Dt=()=>{qe.value||(Ue.value=!0)};return(Lt,jt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b("dragger"),unref(Fe).is("dragover",Ue.value)]),onDrop:withModifiers(At,["prevent"]),onDragover:withModifiers(Dt,["prevent"]),onDragleave:jt[0]||(jt[0]=withModifiers(hn=>Ue.value=!1,["prevent"]))},[renderSlot(Lt.$slots,"default")],42,_hoisted_1$9))}});var UploadDragger=_export_sfc$1(_sfc_main$f,[["__file","upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),_hoisted_1$8=["onKeydown"],_hoisted_2$6=["name","multiple","accept"],__default__$b=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$e=defineComponent({...__default__$b,props:uploadContentProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("upload"),Ue=useFormDisabled(),qe=shallowRef({}),At=shallowRef(),Dt=kn=>{if(kn.length===0)return;const{autoUpload:Cn,limit:Sn,fileList:xn,multiple:En,onStart:Tn,onExceed:An}=Ie;if(Sn&&xn.length+kn.length>Sn){An(kn,xn);return}En||(kn=kn.slice(0,1));for(const $n of kn){const Pn=$n;Pn.uid=genFileId(),Tn(Pn),Cn&&Lt(Pn)}},Lt=async kn=>{if(At.value.value="",!Ie.beforeUpload)return hn(kn);let Cn,Sn={};try{const En=Ie.data,Tn=Ie.beforeUpload(kn);Sn=isPlainObject$4(Ie.data)?cloneDeep(Ie.data):Ie.data,Cn=await Tn,isPlainObject$4(Ie.data)&&isEqual$1(En,Sn)&&(Sn=cloneDeep(Ie.data))}catch{Cn=!1}if(Cn===!1){Ie.onRemove(kn);return}let xn=kn;Cn instanceof Blob&&(Cn instanceof File?xn=Cn:xn=new File([Cn],kn.name,{type:kn.type})),hn(Object.assign(xn,{uid:kn.uid}),Sn)},jt=async(kn,Cn)=>isFunction$5(kn)?kn(Cn):kn,hn=async(kn,Cn)=>{const{headers:Sn,data:xn,method:En,withCredentials:Tn,name:An,action:$n,onProgress:Pn,onSuccess:Nn,onError:Mn,httpRequest:In}=Ie;try{Cn=await jt(Cn??xn,kn)}catch{Ie.onRemove(kn);return}const{uid:On}=kn,Rn={headers:Sn||{},withCredentials:Tn,file:kn,data:Cn,method:En,filename:An,action:$n,onProgress:Vn=>{Pn(Vn,kn)},onSuccess:Vn=>{Nn(Vn,kn),delete qe.value[On]},onError:Vn=>{Mn(Vn,kn),delete qe.value[On]}},Bn=In(Rn);qe.value[On]=Bn,Bn instanceof Promise&&Bn.then(Rn.onSuccess,Rn.onError)},vn=kn=>{const Cn=kn.target.files;Cn&&Dt(Array.from(Cn))},bn=()=>{Ue.value||(At.value.value="",At.value.click())},_n=()=>{bn()};return $e({abort:kn=>{entriesOf(qe.value).filter(kn?([Sn])=>String(kn.uid)===Sn:()=>!0).forEach(([Sn,xn])=>{xn instanceof XMLHttpRequest&&xn.abort(),delete qe.value[Sn]})},upload:Lt}),(kn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(kn.listType),unref(Fe).is("drag",kn.drag)]),tabindex:"0",onClick:bn,onKeydown:withKeys(withModifiers(_n,["self"]),["enter","space"])},[kn.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(Ue),onFile:Dt},{default:withCtx(()=>[renderSlot(kn.$slots,"default")]),_:3},8,["disabled"])):renderSlot(kn.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:At,class:normalizeClass(unref(Fe).e("input")),name:kn.name,multiple:kn.multiple,accept:kn.accept,type:"file",onChange:vn,onClick:Cn[0]||(Cn[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$6)],42,_hoisted_1$8))}});var UploadContent=_export_sfc$1(_sfc_main$e,[["__file","upload-content.vue"]]);const SCOPE$1="ElUpload",revokeFileObjectURL=xe=>{var $e;($e=xe.url)!=null&&$e.startsWith("blob:")&&URL.revokeObjectURL(xe.url)},useHandlers=(xe,$e)=>{const Ie=useVModel(xe,"fileList",void 0,{passive:!0}),Fe=bn=>Ie.value.find(_n=>_n.uid===bn.uid);function Ue(bn){var _n;(_n=$e.value)==null||_n.abort(bn)}function qe(bn=["ready","uploading","success","fail"]){Ie.value=Ie.value.filter(_n=>!bn.includes(_n.status))}const At=(bn,_n)=>{const wn=Fe(_n);wn&&(console.error(bn),wn.status="fail",Ie.value.splice(Ie.value.indexOf(wn),1),xe.onError(bn,wn,Ie.value),xe.onChange(wn,Ie.value))},Dt=(bn,_n)=>{const wn=Fe(_n);wn&&(xe.onProgress(bn,wn,Ie.value),wn.status="uploading",wn.percentage=Math.round(bn.percent))},Lt=(bn,_n)=>{const wn=Fe(_n);wn&&(wn.status="success",wn.response=bn,xe.onSuccess(bn,wn,Ie.value),xe.onChange(wn,Ie.value))},jt=bn=>{isNil(bn.uid)&&(bn.uid=genFileId());const _n={name:bn.name,percentage:0,status:"ready",size:bn.size,raw:bn,uid:bn.uid};if(xe.listType==="picture-card"||xe.listType==="picture")try{_n.url=URL.createObjectURL(bn)}catch(wn){wn.message,xe.onError(wn,_n,Ie.value)}Ie.value=[...Ie.value,_n],xe.onChange(_n,Ie.value)},hn=async bn=>{const _n=bn instanceof File?Fe(bn):bn;_n||throwError$1(SCOPE$1,"file to be removed not found");const wn=kn=>{Ue(kn);const Cn=Ie.value;Cn.splice(Cn.indexOf(kn),1),xe.onRemove(kn,Cn),revokeFileObjectURL(kn)};xe.beforeRemove?await xe.beforeRemove(_n,Ie.value)!==!1&&wn(_n):wn(_n)};function vn(){Ie.value.filter(({status:bn})=>bn==="ready").forEach(({raw:bn})=>{var _n;return bn&&((_n=$e.value)==null?void 0:_n.upload(bn))})}return watch(()=>xe.listType,bn=>{bn!=="picture-card"&&bn!=="picture"||(Ie.value=Ie.value.map(_n=>{const{raw:wn,url:kn}=_n;if(!kn&&wn)try{_n.url=URL.createObjectURL(wn)}catch(Cn){xe.onError(Cn,_n,Ie.value)}return _n}))}),watch(Ie,bn=>{for(const _n of bn)_n.uid||(_n.uid=genFileId()),_n.status||(_n.status="success")},{immediate:!0,deep:!0}),{uploadFiles:Ie,abort:Ue,clearFiles:qe,handleError:At,handleProgress:Dt,handleStart:jt,handleSuccess:Lt,handleRemove:hn,submit:vn,revokeFileObjectURL}},__default__$a=defineComponent({name:"ElUpload"}),_sfc_main$d=defineComponent({...__default__$a,props:uploadProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useFormDisabled(),Ue=shallowRef(),{abort:qe,submit:At,clearFiles:Dt,uploadFiles:Lt,handleStart:jt,handleError:hn,handleRemove:vn,handleSuccess:bn,handleProgress:_n,revokeFileObjectURL:wn}=useHandlers(Ie,Ue),kn=computed(()=>Ie.listType==="picture-card"),Cn=computed(()=>({...Ie,fileList:Lt.value,onStart:jt,onProgress:_n,onSuccess:bn,onError:hn,onRemove:vn}));return onBeforeUnmount(()=>{Lt.value.forEach(wn)}),provide(uploadContextKey,{accept:toRef(Ie,"accept")}),$e({abort:qe,submit:At,clearFiles:Dt,handleStart:jt,handleRemove:vn}),(Sn,xn)=>(openBlock(),createElementBlock("div",null,[unref(kn)&&Sn.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(Fe),"list-type":Sn.listType,files:unref(Lt),crossorigin:Sn.crossorigin,"handle-preview":Sn.onPreview,onRemove:unref(vn)},createSlots({append:withCtx(()=>[createVNode$1(UploadContent,mergeProps({ref_key:"uploadRef",ref:Ue},unref(Cn)),{default:withCtx(()=>[Sn.$slots.trigger?renderSlot(Sn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Sn.$slots.trigger&&Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[Sn.$slots.file?{name:"default",fn:withCtx(({file:En})=>[renderSlot(Sn.$slots,"file",{file:En})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(kn)||unref(kn)&&!Sn.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:Ue},unref(Cn)),{default:withCtx(()=>[Sn.$slots.trigger?renderSlot(Sn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Sn.$slots.trigger&&Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),Sn.$slots.trigger?renderSlot(Sn.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(Sn.$slots,"tip"),!unref(kn)&&Sn.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(Fe),"list-type":Sn.listType,files:unref(Lt),crossorigin:Sn.crossorigin,"handle-preview":Sn.onPreview,onRemove:unref(vn)},createSlots({_:2},[Sn.$slots.file?{name:"default",fn:withCtx(({file:En})=>[renderSlot(Sn.$slots,"file",{file:En})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$d,[["__file","upload.vue"]]);const ElUpload=withInstall(Upload),watermarkProps=buildProps({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:definePropType([String,Array]),default:"Element Plus"},font:{type:definePropType(Object)},gap:{type:definePropType(Array),default:()=>[100,100]},offset:{type:definePropType(Array)}});function toLowercaseSeparator(xe){return xe.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr(xe){return Object.keys(xe).map($e=>`${toLowercaseSeparator($e)}: ${xe[$e]};`).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}const reRendering=(xe,$e)=>{let Ie=!1;return xe.removedNodes.length&&$e&&(Ie=Array.from(xe.removedNodes).includes($e)),xe.type==="attributes"&&xe.target===$e&&(Ie=!0),Ie},FontGap=3;function prepareCanvas(xe,$e,Ie=1){const Fe=document.createElement("canvas"),Ue=Fe.getContext("2d"),qe=xe*Ie,At=$e*Ie;return Fe.setAttribute("width",`${qe}px`),Fe.setAttribute("height",`${At}px`),Ue.save(),[Ue,Fe,qe,At]}function useClips(){function xe($e,Ie,Fe,Ue,qe,At,Dt,Lt){const[jt,hn,vn,bn]=prepareCanvas(Ue,qe,Fe);if($e instanceof HTMLImageElement)jt.drawImage($e,0,0,vn,bn);else{const{color:Gn,fontSize:Wn,fontStyle:Xn,fontWeight:er,fontFamily:rr,textAlign:Jn,textBaseline:Yn}=At,qn=Number(Wn)*Fe;jt.font=`${Xn} normal ${er} ${qn}px/${qe}px ${rr}`,jt.fillStyle=Gn,jt.textAlign=Jn,jt.textBaseline=Yn;const ar=Array.isArray($e)?$e:[$e];ar==null||ar.forEach((tr,or)=>{jt.fillText(tr??"",vn/2,or*(qn+FontGap*Fe))})}const _n=Math.PI/180*Number(Ie),wn=Math.max(Ue,qe),[kn,Cn,Sn]=prepareCanvas(wn,wn,Fe);kn.translate(Sn/2,Sn/2),kn.rotate(_n),vn>0&&bn>0&&kn.drawImage(hn,-vn/2,-bn/2);function xn(Gn,Wn){const Xn=Gn*Math.cos(_n)-Wn*Math.sin(_n),er=Gn*Math.sin(_n)+Wn*Math.cos(_n);return[Xn,er]}let En=0,Tn=0,An=0,$n=0;const Pn=vn/2,Nn=bn/2;[[0-Pn,0-Nn],[0+Pn,0-Nn],[0+Pn,0+Nn],[0-Pn,0+Nn]].forEach(([Gn,Wn])=>{const[Xn,er]=xn(Gn,Wn);En=Math.min(En,Xn),Tn=Math.max(Tn,Xn),An=Math.min(An,er),$n=Math.max($n,er)});const In=En+Sn/2,On=An+Sn/2,Rn=Tn-En,Bn=$n-An,Vn=Dt*Fe,Ln=Lt*Fe,Dn=(Rn+Vn)*2,Hn=Bn+Ln,[Fn,zn]=prepareCanvas(Dn,Hn);function jn(Gn=0,Wn=0){Fn.drawImage(Cn,In,On,Rn,Bn,Gn,Wn,Rn,Bn)}return jn(),jn(Rn+Vn,-Bn/2-Ln/2),jn(Rn+Vn,+Bn/2+Ln/2),[zn.toDataURL(),Dn/Fe,Hn/Fe]}return xe}const __default__$9=defineComponent({name:"ElWatermark"}),_sfc_main$c=defineComponent({...__default__$9,props:watermarkProps,setup(xe){const $e=xe,Ie={position:"relative"},Fe=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.color)!=null?On:"rgba(0,0,0,.15)"}),Ue=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontSize)!=null?On:16}),qe=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontWeight)!=null?On:"normal"}),At=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontStyle)!=null?On:"normal"}),Dt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontFamily)!=null?On:"sans-serif"}),Lt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.textAlign)!=null?On:"center"}),jt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.textBaseline)!=null?On:"hanging"}),hn=computed(()=>$e.gap[0]),vn=computed(()=>$e.gap[1]),bn=computed(()=>hn.value/2),_n=computed(()=>vn.value/2),wn=computed(()=>{var In,On;return(On=(In=$e.offset)==null?void 0:In[0])!=null?On:bn.value}),kn=computed(()=>{var In,On;return(On=(In=$e.offset)==null?void 0:In[1])!=null?On:_n.value}),Cn=()=>{const In={zIndex:$e.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let On=wn.value-bn.value,Rn=kn.value-_n.value;return On>0&&(In.left=`${On}px`,In.width=`calc(100% - ${On}px)`,On=0),Rn>0&&(In.top=`${Rn}px`,In.height=`calc(100% - ${Rn}px)`,Rn=0),In.backgroundPosition=`${On}px ${Rn}px`,In},Sn=shallowRef(null),xn=shallowRef(),En=ref(!1),Tn=()=>{xn.value&&(xn.value.remove(),xn.value=void 0)},An=(In,On)=>{var Rn;Sn.value&&xn.value&&(En.value=!0,xn.value.setAttribute("style",getStyleStr({...Cn(),backgroundImage:`url('${In}')`,backgroundSize:`${Math.floor(On)}px`})),(Rn=Sn.value)==null||Rn.append(xn.value),setTimeout(()=>{En.value=!1}))},$n=In=>{let On=120,Rn=64;const Bn=$e.image,Vn=$e.content,Ln=$e.width,Dn=$e.height;if(!Bn&&In.measureText){In.font=`${Number(Ue.value)}px ${Dt.value}`;const Hn=Array.isArray(Vn)?Vn:[Vn],Fn=Hn.map(zn=>{const jn=In.measureText(zn);return[jn.width,jn.fontBoundingBoxAscent!==void 0?jn.fontBoundingBoxAscent+jn.fontBoundingBoxDescent:jn.actualBoundingBoxAscent+jn.actualBoundingBoxDescent]});On=Math.ceil(Math.max(...Fn.map(zn=>zn[0]))),Rn=Math.ceil(Math.max(...Fn.map(zn=>zn[1])))*Hn.length+(Hn.length-1)*FontGap}return[Ln??On,Dn??Rn]},Pn=useClips(),Nn=()=>{const On=document.createElement("canvas").getContext("2d"),Rn=$e.image,Bn=$e.content,Vn=$e.rotate;if(On){xn.value||(xn.value=document.createElement("div"));const Ln=getPixelRatio(),[Dn,Hn]=$n(On),Fn=zn=>{const[jn,Gn]=Pn(zn||"",Vn,Ln,Dn,Hn,{color:Fe.value,fontSize:Ue.value,fontStyle:At.value,fontWeight:qe.value,fontFamily:Dt.value,textAlign:Lt.value,textBaseline:jt.value},hn.value,vn.value);An(jn,Gn)};if(Rn){const zn=new Image;zn.onload=()=>{Fn(zn)},zn.onerror=()=>{Fn(Bn)},zn.crossOrigin="anonymous",zn.referrerPolicy="no-referrer",zn.src=Rn}else Fn(Bn)}};return onMounted(()=>{Nn()}),watch(()=>$e,()=>{Nn()},{deep:!0,flush:"post"}),onBeforeUnmount(()=>{Tn()}),useMutationObserver(Sn,In=>{En.value||In.forEach(On=>{reRendering(On,xn.value)&&(Tn(),Nn())})},{attributes:!0,subtree:!0,childList:!0}),(In,On)=>(openBlock(),createElementBlock("div",{ref_key:"containerRef",ref:Sn,style:normalizeStyle$1([Ie])},[renderSlot(In.$slots,"default")],4))}});var Watermark=_export_sfc$1(_sfc_main$c,[["__file","watermark.vue"]]);const ElWatermark=withInstall(Watermark),maskProps=buildProps({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:definePropType(Object)},targetAreaClickable:{type:Boolean,default:!0}}),useTarget=(xe,$e,Ie,Fe,Ue)=>{const qe=ref(null),At=()=>{let vn;return isString$4(xe.value)?vn=document.querySelector(xe.value):isFunction$5(xe.value)?vn=xe.value():vn=xe.value,vn},Dt=()=>{const vn=At();if(!vn||!$e.value){qe.value=null;return}!isInViewPort(vn)&&$e.value&&vn.scrollIntoView(Ue.value);const{left:bn,top:_n,width:wn,height:kn}=vn.getBoundingClientRect();qe.value={left:bn,top:_n,width:wn,height:kn,radius:0}};onMounted(()=>{watch([$e,xe],()=>{Dt()},{immediate:!0}),window.addEventListener("resize",Dt)}),onBeforeUnmount(()=>{window.removeEventListener("resize",Dt)});const Lt=vn=>{var bn;return(bn=isArray$6(Ie.value.offset)?Ie.value.offset[vn]:Ie.value.offset)!=null?bn:6},jt=computed(()=>{var vn;if(!qe.value)return qe.value;const bn=Lt(0),_n=Lt(1),wn=((vn=Ie.value)==null?void 0:vn.radius)||2;return{left:qe.value.left-bn,top:qe.value.top-_n,width:qe.value.width+bn*2,height:qe.value.height+_n*2,radius:wn}}),hn=computed(()=>{const vn=At();return!Fe.value||!vn||!window.DOMRect?vn||void 0:{getBoundingClientRect(){var bn,_n,wn,kn;return window.DOMRect.fromRect({width:((bn=jt.value)==null?void 0:bn.width)||0,height:((_n=jt.value)==null?void 0:_n.height)||0,x:((wn=jt.value)==null?void 0:wn.left)||0,y:((kn=jt.value)==null?void 0:kn.top)||0})}}});return{mergedPosInfo:jt,triggerTarget:hn}},tourKey=Symbol("ElTour");function isInViewPort(xe){const $e=window.innerWidth||document.documentElement.clientWidth,Ie=window.innerHeight||document.documentElement.clientHeight,{top:Fe,right:Ue,bottom:qe,left:At}=xe.getBoundingClientRect();return Fe>=0&&At>=0&&Ue<=$e&&qe<=Ie}const useFloating=(xe,$e,Ie,Fe,Ue,qe,At,Dt)=>{const Lt=ref(),jt=ref(),hn=ref({}),vn={x:Lt,y:jt,placement:Fe,strategy:Ue,middlewareData:hn},bn=computed(()=>{const Sn=[offset(unref(qe)),flip(),shift(),overflowMiddleware()];return unref(Dt)&&unref(Ie)&&Sn.push(arrow({element:unref(Ie)})),Sn}),_n=async()=>{if(!isClient$1)return;const Sn=unref(xe),xn=unref($e);if(!Sn||!xn)return;const En=await computePosition(Sn,xn,{placement:unref(Fe),strategy:unref(Ue),middleware:unref(bn)});keysOf(vn).forEach(Tn=>{vn[Tn].value=En[Tn]})},wn=computed(()=>{if(!unref(xe))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:unref(At)};const{overflow:Sn}=unref(hn);return{position:unref(Ue),zIndex:unref(At),top:unref(jt)!=null?`${unref(jt)}px`:"",left:unref(Lt)!=null?`${unref(Lt)}px`:"",maxWidth:Sn!=null&&Sn.maxWidth?`${Sn==null?void 0:Sn.maxWidth}px`:""}}),kn=computed(()=>{if(!unref(Dt))return{};const{arrow:Sn}=unref(hn);return{left:(Sn==null?void 0:Sn.x)!=null?`${Sn==null?void 0:Sn.x}px`:"",top:(Sn==null?void 0:Sn.y)!=null?`${Sn==null?void 0:Sn.y}px`:""}});let Cn;return onMounted(()=>{const Sn=unref(xe),xn=unref($e);Sn&&xn&&(Cn=autoUpdate(Sn,xn,_n)),watchEffect(()=>{_n()})}),onBeforeUnmount(()=>{Cn&&Cn()}),{update:_n,contentStyle:wn,arrowStyle:kn}},overflowMiddleware=()=>({name:"overflow",async fn(xe){const $e=await detectOverflow(xe);let Ie=0;return $e.left>0&&(Ie=$e.left),$e.right>0&&(Ie=$e.right),{data:{maxWidth:xe.rects.floating.width-Ie}}}}),_hoisted_1$7={style:{width:"100%",height:"100%"}},_hoisted_2$5=["d"],__default__$8=defineComponent({name:"ElTourMask",inheritAttrs:!1}),_sfc_main$b=defineComponent({...__default__$8,props:maskProps,setup(xe){const $e=xe,{ns:Ie}=inject(tourKey),Fe=computed(()=>{var Dt,Lt;return(Lt=(Dt=$e.pos)==null?void 0:Dt.radius)!=null?Lt:2}),Ue=computed(()=>{const Dt=Fe.value,Lt=`a${Dt},${Dt} 0 0 1`;return{topRight:`${Lt} ${Dt},${Dt}`,bottomRight:`${Lt} ${-Dt},${Dt}`,bottomLeft:`${Lt} ${-Dt},${-Dt}`,topLeft:`${Lt} ${Dt},${-Dt}`}}),qe=computed(()=>{const Dt=window.innerWidth,Lt=window.innerHeight,jt=Ue.value,hn=`M${Dt},0 L0,0 L0,${Lt} L${Dt},${Lt} L${Dt},0 Z`,vn=Fe.value;return $e.pos?`${hn} M${$e.pos.left+vn},${$e.pos.top} h${$e.pos.width-vn*2} ${jt.topRight} v${$e.pos.height-vn*2} ${jt.bottomRight} h${-$e.pos.width+vn*2} ${jt.bottomLeft} v${-$e.pos.height+vn*2} ${jt.topLeft} z`:hn}),At=computed(()=>({fill:$e.fill,pointerEvents:"auto",cursor:"auto"}));return useLockscreen(toRef($e,"visible"),{ns:Ie}),(Dt,Lt)=>Dt.visible?(openBlock(),createElementBlock("div",mergeProps({key:0,class:unref(Ie).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Dt.zIndex,pointerEvents:Dt.pos&&Dt.targetAreaClickable?"none":"auto"}},Dt.$attrs),[(openBlock(),createElementBlock("svg",_hoisted_1$7,[createBaseVNode("path",{class:normalizeClass(unref(Ie).e("hollow")),style:normalizeStyle$1(unref(At)),d:unref(qe)},null,14,_hoisted_2$5)]))],16)):createCommentVNode("v-if",!0)}});var ElTourMask=_export_sfc$1(_sfc_main$b,[["__file","mask.vue"]]);const tourStrategies=["absolute","fixed"],tourPlacements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tourContentProps=buildProps({placement:{type:definePropType(String),values:tourPlacements,default:"bottom"},reference:{type:definePropType(Object),default:null},strategy:{type:definePropType(String),values:tourStrategies,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),tourContentEmits={close:()=>!0},_hoisted_1$6=["data-side"],__default__$7=defineComponent({name:"ElTourContent"}),_sfc_main$a=defineComponent({...__default__$7,props:tourContentProps,emits:tourContentEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=ref(Ie.placement),Ue=ref(Ie.strategy),qe=ref(null),At=ref(null);watch(()=>Ie.placement,()=>{Fe.value=Ie.placement});const{contentStyle:Dt,arrowStyle:Lt}=useFloating(toRef(Ie,"reference"),qe,At,Fe,Ue,toRef(Ie,"offset"),toRef(Ie,"zIndex"),toRef(Ie,"showArrow")),jt=computed(()=>Fe.value.split("-")[0]),{ns:hn}=inject(tourKey),vn=()=>{$e("close")},bn=_n=>{_n.detail.focusReason==="pointer"&&_n.preventDefault()};return(_n,wn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:qe,style:normalizeStyle$1(unref(Dt)),class:normalizeClass(unref(hn).e("content")),"data-side":unref(jt),tabindex:"-1"},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":qe.value||void 0,onReleaseRequested:vn,onFocusoutPrevented:bn},{default:withCtx(()=>[renderSlot(_n.$slots,"default")]),_:3},8,["focus-trap-el"]),_n.showArrow?(openBlock(),createElementBlock("span",{key:0,ref_key:"arrowRef",ref:At,style:normalizeStyle$1(unref(Lt)),class:normalizeClass(unref(hn).e("arrow"))},null,6)):createCommentVNode("v-if",!0)],14,_hoisted_1$6))}});var ElTourContent=_export_sfc$1(_sfc_main$a,[["__file","content.vue"]]),ElTourSteps=defineComponent({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(xe,{slots:$e,emit:Ie}){let Fe=0;return()=>{var Ue,qe;const At=(Ue=$e.default)==null?void 0:Ue.call($e),Dt=[];let Lt=0;function jt(hn){isArray$6(hn)&&hn.forEach(vn=>{var bn;((bn=(vn==null?void 0:vn.type)||{})==null?void 0:bn.name)==="ElTourStep"&&(Dt.push(vn),Lt+=1)})}return At.length&&jt(flattedChildren((qe=At[0])==null?void 0:qe.children)),Fe!==Lt&&(Fe=Lt,Ie("update-total",Lt)),Dt.length?Dt[xe.current]:null}}});const tourProps=buildProps({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:iconPropType},placement:tourContentProps.placement,contentStyle:{type:definePropType([Object])},mask:{type:definePropType([Boolean,Object]),default:!0},gap:{type:definePropType(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:()=>({block:"center"})},type:{type:definePropType(String)},appendTo:{type:definePropType([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),tourEmits={[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe),"update:current":xe=>isNumber$1(xe),close:xe=>isNumber$1(xe),finish:()=>!0,change:xe=>isNumber$1(xe)},__default__$6=defineComponent({name:"ElTour"}),_sfc_main$9=defineComponent({...__default__$6,props:tourProps,emits:tourEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("tour"),Ue=ref(0),qe=ref(),At=useVModel(Ie,"current",$e,{passive:!0}),Dt=computed(()=>{var Mn;return(Mn=qe.value)==null?void 0:Mn.target}),Lt=computed(()=>[Fe.b(),Cn.value==="primary"?Fe.m("primary"):""]),jt=computed(()=>{var Mn;return((Mn=qe.value)==null?void 0:Mn.placement)||Ie.placement}),hn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.contentStyle)!=null?In:Ie.contentStyle}),vn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.mask)!=null?In:Ie.mask}),bn=computed(()=>!!vn.value&&Ie.modelValue),_n=computed(()=>isBoolean(vn.value)?void 0:vn.value),wn=computed(()=>{var Mn,In;return!!Dt.value&&((In=(Mn=qe.value)==null?void 0:Mn.showArrow)!=null?In:Ie.showArrow)}),kn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.scrollIntoViewOptions)!=null?In:Ie.scrollIntoViewOptions}),Cn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.type)!=null?In:Ie.type}),{nextZIndex:Sn}=useZIndex(),xn=Sn(),En=computed(()=>{var Mn;return(Mn=Ie.zIndex)!=null?Mn:xn}),{mergedPosInfo:Tn,triggerTarget:An}=useTarget(Dt,toRef(Ie,"modelValue"),toRef(Ie,"gap"),vn,kn);watch(()=>Ie.modelValue,Mn=>{Mn||(At.value=0)});const $n=()=>{Ie.closeOnPressEscape&&($e("update:modelValue",!1),$e("close",At.value))},Pn=Mn=>{Ue.value=Mn},Nn=useSlots();return provide(tourKey,{currentStep:qe,current:At,total:Ue,showClose:toRef(Ie,"showClose"),closeIcon:toRef(Ie,"closeIcon"),mergedType:Cn,ns:Fe,slots:Nn,updateModelValue(Mn){$e("update:modelValue",Mn)},onClose(){$e("close",At.value)},onFinish(){$e("finish")},onChange(){$e("change",At.value)}}),(Mn,In)=>{var On,Rn;return openBlock(),createElementBlock(Fragment,null,[(openBlock(),createBlock(Teleport,{to:Mn.appendTo},[createBaseVNode("div",mergeProps({class:unref(Lt)},Mn.$attrs),[createVNode$1(ElTourMask,{visible:unref(bn),fill:(On=unref(_n))==null?void 0:On.color,style:normalizeStyle$1((Rn=unref(_n))==null?void 0:Rn.style),pos:unref(Tn),"z-index":unref(En),"target-area-clickable":Mn.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),Mn.modelValue?(openBlock(),createBlock(ElTourContent,{key:unref(At),reference:unref(An),placement:unref(jt),"show-arrow":unref(wn),"z-index":unref(En),style:normalizeStyle$1(unref(hn)),onClose:$n},{default:withCtx(()=>[createVNode$1(unref(ElTourSteps),{current:unref(At),onUpdateTotal:Pn},{default:withCtx(()=>[renderSlot(Mn.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):createCommentVNode("v-if",!0)],16)],8,["to"])),createCommentVNode(" just for IDE "),createCommentVNode("v-if",!0)],64)}}});var Tour=_export_sfc$1(_sfc_main$9,[["__file","tour.vue"]]);const tourStepProps=buildProps({target:{type:definePropType([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:iconPropType},showArrow:{type:Boolean,default:void 0},placement:tourContentProps.placement,mask:{type:definePropType([Boolean,Object]),default:void 0},contentStyle:{type:definePropType([Object])},prevButtonProps:{type:definePropType(Object)},nextButtonProps:{type:definePropType(Object)},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:void 0},type:{type:definePropType(String)}}),tourStepEmits={close:()=>!0},__default__$5=defineComponent({name:"ElTourStep"}),_sfc_main$8=defineComponent({...__default__$5,props:tourStepProps,emits:tourStepEmits,setup(xe,{emit:$e}){const Ie=xe,{Close:Fe}=CloseComponents,{t:Ue}=useLocale(),{currentStep:qe,current:At,total:Dt,showClose:Lt,closeIcon:jt,mergedType:hn,ns:vn,slots:bn,updateModelValue:_n,onClose:wn,onFinish:kn,onChange:Cn}=inject(tourKey);watch(Ie,Nn=>{qe.value=Nn},{immediate:!0});const Sn=computed(()=>{var Nn;return(Nn=Ie.showClose)!=null?Nn:Lt.value}),xn=computed(()=>{var Nn,Mn;return(Mn=(Nn=Ie.closeIcon)!=null?Nn:jt.value)!=null?Mn:Fe}),En=Nn=>{if(Nn)return omit(Nn,["children","onClick"])},Tn=()=>{var Nn,Mn;At.value-=1,(Nn=Ie.prevButtonProps)!=null&&Nn.onClick&&((Mn=Ie.prevButtonProps)==null||Mn.onClick()),Cn()},An=()=>{var Nn;At.value>=Dt.value-1?$n():At.value+=1,(Nn=Ie.nextButtonProps)!=null&&Nn.onClick&&Ie.nextButtonProps.onClick(),Cn()},$n=()=>{Pn(),kn()},Pn=()=>{_n(!1),wn(),$e("close")};return(Nn,Mn)=>(openBlock(),createElementBlock(Fragment,null,[unref(Sn)?(openBlock(),createElementBlock("button",{key:0,"aria-label":"Close",class:normalizeClass(unref(vn).e("closebtn")),type:"button",onClick:Pn},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(vn).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(xn))))]),_:1},8,["class"])],2)):createCommentVNode("v-if",!0),createBaseVNode("header",{class:normalizeClass([unref(vn).e("header"),{"show-close":unref(Lt)}])},[renderSlot(Nn.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(vn).e("title"))},toDisplayString(Nn.title),3)])],2),createBaseVNode("div",{class:normalizeClass(unref(vn).e("body"))},[renderSlot(Nn.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(Nn.description),1)])],2),createBaseVNode("footer",{class:normalizeClass(unref(vn).e("footer"))},[createBaseVNode("div",{class:normalizeClass(unref(vn).b("indicators"))},[unref(bn).indicators?(openBlock(),createBlock(resolveDynamicComponent(unref(bn).indicators),{key:0,current:unref(At),total:unref(Dt)},null,8,["current","total"])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(Dt),(In,On)=>(openBlock(),createElementBlock("span",{key:In,class:normalizeClass([unref(vn).b("indicator"),On===unref(At)?"is-active":""])},null,2))),128))],2),createBaseVNode("div",{class:normalizeClass(unref(vn).b("buttons"))},[unref(At)>0?(openBlock(),createBlock(unref(ElButton),mergeProps({key:0,size:"small",type:unref(hn)},En(Nn.prevButtonProps),{onClick:Tn}),{default:withCtx(()=>{var In,On;return[createTextVNode(toDisplayString((On=(In=Nn.prevButtonProps)==null?void 0:In.children)!=null?On:unref(Ue)("el.tour.previous")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0),unref(At)<=unref(Dt)-1?(openBlock(),createBlock(unref(ElButton),mergeProps({key:1,size:"small",type:unref(hn)==="primary"?"default":"primary"},En(Nn.nextButtonProps),{onClick:An}),{default:withCtx(()=>{var In,On;return[createTextVNode(toDisplayString((On=(In=Nn.nextButtonProps)==null?void 0:In.children)!=null?On:unref(At)===unref(Dt)-1?unref(Ue)("el.tour.finish"):unref(Ue)("el.tour.next")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0)],2)],2)],64))}});var TourStep=_export_sfc$1(_sfc_main$8,[["__file","step.vue"]]);const ElTour=withInstall(Tour,{TourStep}),ElTourStep=withNoopInstall(TourStep),anchorProps=buildProps({container:{type:definePropType([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:definePropType(String),default:"default"},direction:{type:definePropType(String),default:"vertical"}}),anchorEmits={change:xe=>isString$4(xe),click:(xe,$e)=>xe instanceof MouseEvent&&(isString$4($e)||isUndefined($e))},anchorKey=Symbol("anchor"),__default__$4=defineComponent({name:"ElAnchor"}),_sfc_main$7=defineComponent({...__default__$4,props:anchorProps,emits:anchorEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=ref(""),qe=ref(null),At=ref(null),Dt=ref(),Lt={};let jt=!1,hn=0;const vn=useNamespace("anchor"),bn=computed(()=>[vn.b(),Fe.type==="underline"?vn.m("underline"):"",vn.m(Fe.direction)]),_n=Nn=>{Lt[Nn.href]=Nn.el},wn=Nn=>{delete Lt[Nn]},kn=Nn=>{Ue.value!==Nn&&(Ue.value=Nn,Ie("change",Nn))};let Cn=null;const Sn=Nn=>{if(!Dt.value)return;const Mn=getElement(Nn);if(!Mn)return;Cn&&Cn(),jt=!0;const In=getScrollElement(Mn,Dt.value),On=getOffsetTopDistance(Mn,In),Rn=In.scrollHeight-In.clientHeight,Bn=Math.min(On-Fe.offset,Rn);Cn=animateScrollTo(Dt.value,hn,Bn,Fe.duration,()=>{setTimeout(()=>{jt=!1},20)})},xn=Nn=>{Nn&&(kn(Nn),Sn(Nn))},En=(Nn,Mn)=>{Ie("click",Nn,Mn),xn(Mn)},Tn=throttleByRaf(()=>{Dt.value&&(hn=getScrollTop(Dt.value));const Nn=An();jt||isUndefined(Nn)||kn(Nn)}),An=()=>{if(!Dt.value)return;const Nn=getScrollTop(Dt.value),Mn=[];for(const In of Object.keys(Lt)){const On=getElement(In);if(!On)continue;const Rn=getScrollElement(On,Dt.value),Bn=getOffsetTopDistance(On,Rn);Mn.push({top:Bn-Fe.offset-Fe.bound,href:In})}Mn.sort((In,On)=>In.top-On.top);for(let In=0;InNn))return On.href}},$n=()=>{const Nn=getElement(Fe.container);!Nn||isWindow(Nn)?Dt.value=window:Dt.value=Nn};useEventListener(Dt,"scroll",Tn);const Pn=computed(()=>{if(!qe.value||!At.value||!Ue.value)return{};const Nn=Lt[Ue.value];if(!Nn)return{};const Mn=qe.value.getBoundingClientRect(),In=At.value.getBoundingClientRect(),On=Nn.getBoundingClientRect();return Fe.direction==="horizontal"?{left:`${On.left-Mn.left}px`,width:`${On.width}px`,opacity:1}:{top:`${On.top-Mn.top+(On.height-In.height)/2}px`,opacity:1}});return onMounted(()=>{$n();const Nn=decodeURIComponent(window.location.hash);getElement(Nn)?xn(Nn):Tn()}),watch(()=>Fe.container,()=>{$n()}),provide(anchorKey,{ns:vn,direction:Fe.direction,currentAnchor:Ue,addLink:_n,removeLink:wn,handleClick:En}),$e({scrollTo:xn}),(Nn,Mn)=>(openBlock(),createElementBlock("div",{ref_key:"anchorRef",ref:qe,class:normalizeClass(unref(bn))},[Nn.marker?(openBlock(),createElementBlock("div",{key:0,ref_key:"markerRef",ref:At,class:normalizeClass(unref(vn).e("marker")),style:normalizeStyle$1(unref(Pn))},null,6)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(vn).e("list"))},[renderSlot(Nn.$slots,"default")],2)],2))}});var Anchor=_export_sfc$1(_sfc_main$7,[["__file","anchor.vue"]]);const anchorLinkProps=buildProps({title:String,href:String}),_hoisted_1$5=["href"],__default__$3=defineComponent({name:"ElAnchorLink"}),_sfc_main$6=defineComponent({...__default__$3,props:anchorLinkProps,setup(xe){const $e=xe,Ie=ref(null),{ns:Fe,direction:Ue,currentAnchor:qe,addLink:At,removeLink:Dt,handleClick:Lt}=inject(anchorKey),jt=computed(()=>[Fe.e("link"),Fe.is("active",qe.value===$e.href)]),hn=vn=>{Lt(vn,$e.href)};return watch(()=>$e.href,(vn,bn)=>{nextTick(()=>{bn&&Dt(bn),vn&&At({href:vn,el:Ie.value})})}),onMounted(()=>{const{href:vn}=$e;vn&&At({href:vn,el:Ie.value})}),onBeforeUnmount(()=>{const{href:vn}=$e;vn&&Dt(vn)}),(vn,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).e("item"))},[createBaseVNode("a",{ref_key:"linkRef",ref:Ie,class:normalizeClass(unref(jt)),href:vn.href,onClick:hn},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.title),1)])],10,_hoisted_1$5),vn.$slots["sub-link"]&&unref(Ue)==="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("list"))},[renderSlot(vn.$slots,"sub-link")],2)):createCommentVNode("v-if",!0)],2))}});var AnchorLink=_export_sfc$1(_sfc_main$6,[["__file","anchor-link.vue"]]);const ElAnchor=withInstall(Anchor,{AnchorLink}),ElAnchorLink=withNoopInstall(AnchorLink),segmentedProps=buildProps({options:{type:definePropType(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},block:Boolean,size:useSizeProp,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...useAriaProps(["ariaLabel"])}),segmentedEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)},_hoisted_1$4=["id","aria-label","aria-labelledby"],_hoisted_2$4=["name","disabled","checked","onChange"],__default__$2=defineComponent({name:"ElSegmented"}),_sfc_main$5=defineComponent({...__default__$2,props:segmentedProps,emits:segmentedEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("segmented"),Ue=useId(),qe=useFormSize(),At=useFormDisabled(),{formItem:Dt}=useFormItem(),{inputId:Lt,isLabeledByFormItem:jt}=useFormItemInputId(Ie,{formItemContext:Dt}),hn=ref(null),vn=useActiveElement(),bn=reactive({isInit:!1,width:0,translateX:0,disabled:!1,focusVisible:!1}),_n=Mn=>{const In=wn(Mn);$e(UPDATE_MODEL_EVENT,In),$e(CHANGE_EVENT,In)},wn=Mn=>isObject$8(Mn)?Mn.value:Mn,kn=Mn=>isObject$8(Mn)?Mn.label:Mn,Cn=Mn=>!!(At.value||isObject$8(Mn)&&Mn.disabled),Sn=Mn=>Ie.modelValue===wn(Mn),xn=Mn=>Ie.options.find(In=>wn(In)===Mn),En=Mn=>[Fe.e("item"),Fe.is("selected",Sn(Mn)),Fe.is("disabled",Cn(Mn))],Tn=()=>{if(!hn.value)return;const Mn=hn.value.querySelector(".is-selected"),In=hn.value.querySelector(".is-selected input");if(!Mn||!In){bn.width=0,bn.translateX=0,bn.disabled=!1,bn.focusVisible=!1;return}const On=Mn.getBoundingClientRect();bn.isInit=!0,bn.width=On.width,bn.translateX=Mn.offsetLeft,bn.disabled=Cn(xn(Ie.modelValue));try{bn.focusVisible=In.matches(":focus-visible")}catch{}},An=computed(()=>[Fe.b(),Fe.m(qe.value),Fe.is("block",Ie.block)]),$n=computed(()=>({width:`${bn.width}px`,transform:`translateX(${bn.translateX}px)`,display:bn.isInit?"block":"none"})),Pn=computed(()=>[Fe.e("item-selected"),Fe.is("disabled",bn.disabled),Fe.is("focus-visible",bn.focusVisible)]),Nn=computed(()=>Ie.name||Ue.value);return useResizeObserver(hn,Tn),watch(vn,Tn),watch(()=>Ie.modelValue,()=>{var Mn;Tn(),Ie.validateEvent&&((Mn=Dt==null?void 0:Dt.validate)==null||Mn.call(Dt,"change").catch(In=>void 0))},{flush:"post"}),(Mn,In)=>(openBlock(),createElementBlock("div",{id:unref(Lt),ref_key:"segmentedRef",ref:hn,class:normalizeClass(unref(An)),role:"radiogroup","aria-label":unref(jt)?void 0:Mn.ariaLabel||"segmented","aria-labelledby":unref(jt)?unref(Dt).labelId:void 0},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("group"))},[createBaseVNode("div",{style:normalizeStyle$1(unref($n)),class:normalizeClass(unref(Pn))},null,6),(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.options,(On,Rn)=>(openBlock(),createElementBlock("label",{key:Rn,class:normalizeClass(En(On))},[createBaseVNode("input",{class:normalizeClass(unref(Fe).e("item-input")),type:"radio",name:unref(Nn),disabled:Cn(On),checked:Sn(On),onChange:Bn=>_n(On)},null,42,_hoisted_2$4),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("item-label"))},[renderSlot(Mn.$slots,"default",{item:On},()=>[createTextVNode(toDisplayString(kn(On)),1)])],2)],2))),128))],2)],10,_hoisted_1$4))}});var Segmented=_export_sfc$1(_sfc_main$5,[["__file","segmented.vue"]]);const ElSegmented=withInstall(Segmented);var Components=[ElAffix,ElAlert,ElAutocomplete,ElAutoResizer,ElAvatar,ElBacktop,ElBadge,ElBreadcrumb,ElBreadcrumbItem,ElButton,ElButtonGroup$1,ElCalendar,ElCard,ElCarousel,ElCarouselItem,ElCascader,ElCascaderPanel,ElCheckTag,ElCheckbox,ElCheckboxButton,ElCheckboxGroup$1,ElCol,ElCollapse,ElCollapseItem,ElCollapseTransition,ElColorPicker,ElConfigProvider,ElContainer,ElAside,ElFooter,ElHeader,ElMain,ElDatePicker,ElDescriptions,ElDescriptionsItem,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElEmpty,ElForm,ElFormItem,ElIcon,ElImage,ElImageViewer,ElInput,ElInputNumber,ElLink,ElMenu,ElMenuItem,ElMenuItemGroup,ElSubMenu,ElPageHeader,ElPagination,ElPopconfirm,ElPopover,ElPopper,ElProgress,ElRadio,ElRadioButton,ElRadioGroup,ElRate,ElResult,ElRow,ElScrollbar,ElSelect,ElOption,ElOptionGroup,ElSelectV2,ElSkeleton,ElSkeletonItem,ElSlider,ElSpace,ElStatistic,ElCountdown,ElSteps,ElStep,ElSwitch,ElTable,ElTableColumn,ElTableV2,ElTabs,ElTabPane,ElTag,ElText,ElTimePicker,ElTimeSelect,ElTimeline,ElTimelineItem,ElTooltip,ElTooltipV2,ElTransfer,ElTree,ElTreeSelect,ElTreeV2,ElUpload,ElWatermark,ElTour,ElTourStep,ElAnchor,ElAnchorLink,ElSegmented];const SCOPE="ElInfiniteScroll",CHECK_INTERVAL=50,DEFAULT_DELAY=200,DEFAULT_DISTANCE=0,attributes={delay:{type:Number,default:DEFAULT_DELAY},distance:{type:Number,default:DEFAULT_DISTANCE},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},getScrollOptions=(xe,$e)=>Object.entries(attributes).reduce((Ie,[Fe,Ue])=>{var qe,At;const{type:Dt,default:Lt}=Ue,jt=xe.getAttribute(`infinite-scroll-${Fe}`);let hn=(At=(qe=$e[jt])!=null?qe:jt)!=null?At:Lt;return hn=hn==="false"?!1:hn,hn=Dt(hn),Ie[Fe]=Number.isNaN(hn)?Lt:hn,Ie},{}),destroyObserver=xe=>{const{observer:$e}=xe[SCOPE];$e&&($e.disconnect(),delete xe[SCOPE].observer)},handleScroll=(xe,$e)=>{const{container:Ie,containerEl:Fe,instance:Ue,observer:qe,lastScrollTop:At}=xe[SCOPE],{disabled:Dt,distance:Lt}=getScrollOptions(xe,Ue),{clientHeight:jt,scrollHeight:hn,scrollTop:vn}=Fe,bn=vn-At;if(xe[SCOPE].lastScrollTop=vn,qe||Dt||bn<0)return;let _n=!1;if(Ie===xe)_n=hn-(jt+vn)<=Lt;else{const{clientTop:wn,scrollHeight:kn}=xe,Cn=getOffsetTopDistance(xe,Fe);_n=vn+jt>=Cn+wn+kn-Lt}_n&&$e.call(Ue)};function checkFull(xe,$e){const{containerEl:Ie,instance:Fe}=xe[SCOPE],{disabled:Ue}=getScrollOptions(xe,Fe);Ue||Ie.clientHeight===0||(Ie.scrollHeight<=Ie.clientHeight?$e.call(Fe):destroyObserver(xe))}const InfiniteScroll={async mounted(xe,$e){const{instance:Ie,value:Fe}=$e;isFunction$5(Fe)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:Ue,immediate:qe}=getScrollOptions(xe,Ie),At=getScrollContainer(xe,!0),Dt=At===window?document.documentElement:At,Lt=throttle$3(handleScroll.bind(null,xe,Fe),Ue);if(At){if(xe[SCOPE]={instance:Ie,container:At,containerEl:Dt,delay:Ue,cb:Fe,onScroll:Lt,lastScrollTop:Dt.scrollTop},qe){const jt=new MutationObserver(throttle$3(checkFull.bind(null,xe,Fe),CHECK_INTERVAL));xe[SCOPE].observer=jt,jt.observe(xe,{childList:!0,subtree:!0}),checkFull(xe,Fe)}At.addEventListener("scroll",Lt)}},unmounted(xe){if(!xe[SCOPE])return;const{container:$e,onScroll:Ie}=xe[SCOPE];$e==null||$e.removeEventListener("scroll",Ie),destroyObserver(xe)},async updated(xe){if(!xe[SCOPE])await nextTick();else{const{containerEl:$e,cb:Ie,observer:Fe}=xe[SCOPE];$e.clientHeight&&Fe&&checkFull(xe,Ie)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=xe=>{xe.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(xe){let $e;const Ie=ref(!1),Fe=reactive({...xe,originalPosition:"",originalOverflow:"",visible:!1});function Ue(bn){Fe.text=bn}function qe(){const bn=Fe.parent,_n=vn.ns;if(!bn.vLoadingAddClassList){let wn=bn.getAttribute("loading-number");wn=Number.parseInt(wn)-1,wn?bn.setAttribute("loading-number",wn.toString()):(removeClass(bn,_n.bm("parent","relative")),bn.removeAttribute("loading-number")),removeClass(bn,_n.bm("parent","hidden"))}At(),hn.unmount()}function At(){var bn,_n;(_n=(bn=vn.$el)==null?void 0:bn.parentNode)==null||_n.removeChild(vn.$el)}function Dt(){var bn;xe.beforeClose&&!xe.beforeClose()||(Ie.value=!0,clearTimeout($e),$e=window.setTimeout(Lt,400),Fe.visible=!1,(bn=xe.closed)==null||bn.call(xe))}function Lt(){if(!Ie.value)return;const bn=Fe.parent;Ie.value=!1,bn.vLoadingAddClassList=void 0,qe()}const hn=createApp(defineComponent({name:"ElLoading",setup(bn,{expose:_n}){const{ns:wn,zIndex:kn}=useGlobalComponentSettings("loading");return _n({ns:wn,zIndex:kn}),()=>{const Cn=Fe.spinner||Fe.svg,Sn=h$5("svg",{class:"circular",viewBox:Fe.svgViewBox?Fe.svgViewBox:"0 0 50 50",...Cn?{innerHTML:Cn}:{}},[h$5("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),xn=Fe.text?h$5("p",{class:wn.b("text")},[Fe.text]):void 0;return h$5(Transition,{name:wn.b("fade"),onAfterLeave:Lt},{default:withCtx(()=>[withDirectives(createVNode$1("div",{style:{backgroundColor:Fe.background||""},class:[wn.b("mask"),Fe.customClass,Fe.fullscreen?"is-fullscreen":""]},[h$5("div",{class:wn.b("spinner")},[Sn,xn])]),[[vShow,Fe.visible]])])})}}})),vn=hn.mount(document.createElement("div"));return{...toRefs(Fe),setText:Ue,removeElLoadingChild:At,close:Dt,handleAfterLeave:Lt,vm:vn,get $el(){return vn.$el}}}let fullscreenInstance;const Loading=function(xe={}){if(!isClient$1)return;const $e=resolveOptions(xe);if($e.fullscreen&&fullscreenInstance)return fullscreenInstance;const Ie=createLoadingComponent({...$e,closed:()=>{var Ue;(Ue=$e.closed)==null||Ue.call($e),$e.fullscreen&&(fullscreenInstance=void 0)}});addStyle($e,$e.parent,Ie),addClassList($e,$e.parent,Ie),$e.parent.vLoadingAddClassList=()=>addClassList($e,$e.parent,Ie);let Fe=$e.parent.getAttribute("loading-number");return Fe?Fe=`${Number.parseInt(Fe)+1}`:Fe="1",$e.parent.setAttribute("loading-number",Fe),$e.parent.appendChild(Ie.$el),nextTick(()=>Ie.visible.value=$e.visible),$e.fullscreen&&(fullscreenInstance=Ie),Ie},resolveOptions=xe=>{var $e,Ie,Fe,Ue;let qe;return isString$4(xe.target)?qe=($e=document.querySelector(xe.target))!=null?$e:document.body:qe=xe.target||document.body,{parent:qe===document.body||xe.body?document.body:qe,background:xe.background||"",svg:xe.svg||"",svgViewBox:xe.svgViewBox||"",spinner:xe.spinner||!1,text:xe.text||"",fullscreen:qe===document.body&&((Ie=xe.fullscreen)!=null?Ie:!0),lock:(Fe=xe.lock)!=null?Fe:!1,customClass:xe.customClass||"",visible:(Ue=xe.visible)!=null?Ue:!0,target:qe}},addStyle=async(xe,$e,Ie)=>{const{nextZIndex:Fe}=Ie.vm.zIndex||Ie.vm._.exposed.zIndex,Ue={};if(xe.fullscreen)Ie.originalPosition.value=getStyle$1(document.body,"position"),Ie.originalOverflow.value=getStyle$1(document.body,"overflow"),Ue.zIndex=Fe();else if(xe.parent===document.body){Ie.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const qe of["top","left"]){const At=qe==="top"?"scrollTop":"scrollLeft";Ue[qe]=`${xe.target.getBoundingClientRect()[qe]+document.body[At]+document.documentElement[At]-Number.parseInt(getStyle$1(document.body,`margin-${qe}`),10)}px`}for(const qe of["height","width"])Ue[qe]=`${xe.target.getBoundingClientRect()[qe]}px`}else Ie.originalPosition.value=getStyle$1($e,"position");for(const[qe,At]of Object.entries(Ue))Ie.$el.style[qe]=At},addClassList=(xe,$e,Ie)=>{const Fe=Ie.vm.ns||Ie.vm._.exposed.ns;["absolute","fixed","sticky"].includes(Ie.originalPosition.value)?removeClass($e,Fe.bm("parent","relative")):addClass($e,Fe.bm("parent","relative")),xe.fullscreen&&xe.lock?addClass($e,Fe.bm("parent","hidden")):removeClass($e,Fe.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance=(xe,$e)=>{var Ie,Fe,Ue,qe;const At=$e.instance,Dt=bn=>isObject$8($e.value)?$e.value[bn]:void 0,Lt=bn=>{const _n=isString$4(bn)&&(At==null?void 0:At[bn])||bn;return _n&&ref(_n)},jt=bn=>Lt(Dt(bn)||xe.getAttribute(`element-loading-${hyphenate(bn)}`)),hn=(Ie=Dt("fullscreen"))!=null?Ie:$e.modifiers.fullscreen,vn={text:jt("text"),svg:jt("svg"),svgViewBox:jt("svgViewBox"),spinner:jt("spinner"),background:jt("background"),customClass:jt("customClass"),fullscreen:hn,target:(Fe=Dt("target"))!=null?Fe:hn?void 0:xe,body:(Ue=Dt("body"))!=null?Ue:$e.modifiers.body,lock:(qe=Dt("lock"))!=null?qe:$e.modifiers.lock};xe[INSTANCE_KEY]={options:vn,instance:Loading(vn)}},updateOptions=(xe,$e)=>{for(const Ie of Object.keys($e))isRef($e[Ie])&&($e[Ie].value=xe[Ie])},vLoading={mounted(xe,$e){$e.value&&createInstance(xe,$e)},updated(xe,$e){const Ie=xe[INSTANCE_KEY];$e.oldValue!==$e.value&&($e.value&&!$e.oldValue?createInstance(xe,$e):$e.value&&$e.oldValue?isObject$8($e.value)&&updateOptions($e.value,Ie.options):Ie==null||Ie.instance.close())},unmounted(xe){var $e;($e=xe[INSTANCE_KEY])==null||$e.instance.close(),xe[INSTANCE_KEY]=null}},ElLoading={install(xe){xe.directive("loading",vLoading),xe.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient$1?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),default:messageDefaults.onClose},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},plain:{type:Boolean,default:messageDefaults.plain},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances$2=shallowReactive([]),getInstance=xe=>{const $e=instances$2.findIndex(Ue=>Ue.id===xe),Ie=instances$2[$e];let Fe;return $e>0&&(Fe=instances$2[$e-1]),{current:Ie,prev:Fe}},getLastOffset=xe=>{const{prev:$e}=getInstance(xe);return $e?$e.vm.exposed.bottom.value:0},getOffsetOrSpace=(xe,$e)=>instances$2.findIndex(Fe=>Fe.id===xe)>0?16:$e,_hoisted_1$3=["id"],_hoisted_2$3=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$4=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(xe,{expose:$e}){const Ie=xe,{Close:Fe}=TypeComponents,{ns:Ue,zIndex:qe}=useGlobalComponentSettings("message"),{currentZIndex:At,nextZIndex:Dt}=qe,Lt=ref(),jt=ref(!1),hn=ref(0);let vn;const bn=computed(()=>Ie.type?Ie.type==="error"?"danger":Ie.type:"info"),_n=computed(()=>{const Pn=Ie.type;return{[Ue.bm("icon",Pn)]:Pn&&TypeComponentsMap[Pn]}}),wn=computed(()=>Ie.icon||TypeComponentsMap[Ie.type]||""),kn=computed(()=>getLastOffset(Ie.id)),Cn=computed(()=>getOffsetOrSpace(Ie.id,Ie.offset)+kn.value),Sn=computed(()=>hn.value+Cn.value),xn=computed(()=>({top:`${Cn.value}px`,zIndex:At.value}));function En(){Ie.duration!==0&&({stop:vn}=useTimeoutFn$1(()=>{An()},Ie.duration))}function Tn(){vn==null||vn()}function An(){jt.value=!1}function $n({code:Pn}){Pn===EVENT_CODE.esc&&An()}return onMounted(()=>{En(),Dt(),jt.value=!0}),watch(()=>Ie.repeatNum,()=>{Tn(),En()}),useEventListener(document,"keydown",$n),useResizeObserver(Lt,()=>{hn.value=Lt.value.getBoundingClientRect().height}),$e({visible:jt,bottom:Sn,close:An}),(Pn,Nn)=>(openBlock(),createBlock(Transition,{name:unref(Ue).b("fade"),onBeforeLeave:Pn.onClose,onAfterLeave:Nn[0]||(Nn[0]=Mn=>Pn.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Pn.id,ref_key:"messageRef",ref:Lt,class:normalizeClass([unref(Ue).b(),{[unref(Ue).m(Pn.type)]:Pn.type},unref(Ue).is("center",Pn.center),unref(Ue).is("closable",Pn.showClose),unref(Ue).is("plain",Pn.plain),Pn.customClass]),style:normalizeStyle$1(unref(xn)),role:"alert",onMouseenter:Tn,onMouseleave:En},[Pn.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Pn.repeatNum,type:unref(bn),class:normalizeClass(unref(Ue).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(wn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ue).e("icon"),unref(_n)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(Pn.$slots,"default",{},()=>[Pn.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(Ue).e("content")),innerHTML:Pn.message},null,10,_hoisted_2$3)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Ue).e("content"))},toDisplayString(Pn.message),3))]),Pn.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(Ue).e("closeBtn")),onClick:withModifiers(An,["stop"])},{default:withCtx(()=>[createVNode$1(unref(Fe))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$3),[[vShow,jt.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$4,[["__file","message.vue"]]);let seed$1=1;const normalizeOptions=xe=>{const $e=!xe||isString$4(xe)||isVNode(xe)||isFunction$5(xe)?{message:xe}:xe,Ie={...messageDefaults,...$e};if(!Ie.appendTo)Ie.appendTo=document.body;else if(isString$4(Ie.appendTo)){let Fe=document.querySelector(Ie.appendTo);isElement$1(Fe)||(Fe=document.body),Ie.appendTo=Fe}return Ie},closeMessage=xe=>{const $e=instances$2.indexOf(xe);if($e===-1)return;instances$2.splice($e,1);const{handler:Ie}=xe;Ie.close()},createMessage=({appendTo:xe,...$e},Ie)=>{const Fe=`message_${seed$1++}`,Ue=$e.onClose,qe=document.createElement("div"),At={...$e,id:Fe,onClose:()=>{Ue==null||Ue(),closeMessage(hn)},onDestroy:()=>{render$2(null,qe)}},Dt=createVNode$1(MessageConstructor,At,isFunction$5(At.message)||isVNode(At.message)?{default:isFunction$5(At.message)?At.message:()=>At.message}:null);Dt.appContext=Ie||message._context,render$2(Dt,qe),xe.appendChild(qe.firstElementChild);const Lt=Dt.component,hn={id:Fe,vnode:Dt,vm:Lt,handler:{close:()=>{Lt.exposed.visible.value=!1}},props:Dt.component.props};return hn},message=(xe={},$e)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$1(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const Ie=normalizeOptions(xe);if(Ie.grouping&&instances$2.length){const Ue=instances$2.find(({vnode:qe})=>{var At;return((At=qe.props)==null?void 0:At.message)===Ie.message});if(Ue)return Ue.props.repeatNum+=1,Ue.props.type=Ie.type,Ue.handler}const Fe=createMessage(Ie,$e);return instances$2.push(Fe),Fe.handler};messageTypes.forEach(xe=>{message[xe]=($e={},Ie)=>{const Fe=normalizeOptions($e);return message({...Fe,type:xe},Ie)}});function closeAll$1(xe){for(const $e of instances$2)(!xe||xe===$e.props.type)&&$e.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$message"),_sfc_main$3=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(xe,{emit:$e}){const{locale:Ie,zIndex:Fe,ns:Ue,size:qe}=useGlobalComponentSettings("message-box",computed(()=>xe.buttonSize)),{t:At}=Ie,{nextZIndex:Dt}=Fe,Lt=ref(!1),jt=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:Dt()}),hn=computed(()=>{const Dn=jt.type;return{[Ue.bm("icon",Dn)]:Dn&&TypeComponentsMap[Dn]}}),vn=useId(),bn=useId(),_n=computed(()=>jt.icon||TypeComponentsMap[jt.type]||""),wn=computed(()=>!!jt.message),kn=ref(),Cn=ref(),Sn=ref(),xn=ref(),En=ref(),Tn=computed(()=>jt.confirmButtonClass);watch(()=>jt.inputValue,async Dn=>{await nextTick(),xe.boxType==="prompt"&&Dn!==null&&Rn()},{immediate:!0}),watch(()=>Lt.value,Dn=>{var Hn,Fn;Dn&&(xe.boxType!=="prompt"&&(jt.autofocus?Sn.value=(Fn=(Hn=En.value)==null?void 0:Hn.$el)!=null?Fn:kn.value:Sn.value=kn.value),jt.zIndex=Dt()),xe.boxType==="prompt"&&(Dn?nextTick().then(()=>{var zn;xn.value&&xn.value.$el&&(jt.autofocus?Sn.value=(zn=Bn())!=null?zn:kn.value:Sn.value=kn.value)}):(jt.editorErrorMessage="",jt.validateError=!1))});const An=computed(()=>xe.draggable),$n=computed(()=>xe.overflow);useDraggable(kn,Cn,An,$n),onMounted(async()=>{await nextTick(),xe.closeOnHashChange&&window.addEventListener("hashchange",Pn)}),onBeforeUnmount(()=>{xe.closeOnHashChange&&window.removeEventListener("hashchange",Pn)});function Pn(){Lt.value&&(Lt.value=!1,nextTick(()=>{jt.action&&$e("action",jt.action)}))}const Nn=()=>{xe.closeOnClickModal&&On(jt.distinguishCancelAndClose?"close":"cancel")},Mn=useSameTarget(Nn),In=Dn=>{if(jt.inputType!=="textarea")return Dn.preventDefault(),On("confirm")},On=Dn=>{var Hn;xe.boxType==="prompt"&&Dn==="confirm"&&!Rn()||(jt.action=Dn,jt.beforeClose?(Hn=jt.beforeClose)==null||Hn.call(jt,Dn,jt,Pn):Pn())},Rn=()=>{if(xe.boxType==="prompt"){const Dn=jt.inputPattern;if(Dn&&!Dn.test(jt.inputValue||""))return jt.editorErrorMessage=jt.inputErrorMessage||At("el.messagebox.error"),jt.validateError=!0,!1;const Hn=jt.inputValidator;if(typeof Hn=="function"){const Fn=Hn(jt.inputValue);if(Fn===!1)return jt.editorErrorMessage=jt.inputErrorMessage||At("el.messagebox.error"),jt.validateError=!0,!1;if(typeof Fn=="string")return jt.editorErrorMessage=Fn,jt.validateError=!0,!1}}return jt.editorErrorMessage="",jt.validateError=!1,!0},Bn=()=>{const Dn=xn.value.$refs;return Dn.input||Dn.textarea},Vn=()=>{On("close")},Ln=()=>{xe.closeOnPressEscape&&Vn()};return xe.lockScroll&&useLockscreen(Lt),{...toRefs(jt),ns:Ue,overlayEvent:Mn,visible:Lt,hasMessage:wn,typeClass:hn,contentId:vn,inputId:bn,btnSize:qe,iconComponent:_n,confirmButtonClasses:Tn,rootRef:kn,focusStartRef:Sn,headerRef:Cn,inputRef:xn,confirmRef:En,doClose:Pn,handleClose:Vn,onCloseRequested:Ln,handleWrapperClick:Nn,handleInputEnter:In,handleAction:On,t:At}}}),_hoisted_1$2=["aria-label","aria-describedby"],_hoisted_2$2=["aria-label"],_hoisted_3$2=["id"];function _sfc_render(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon"),Dt=resolveComponent("close"),Lt=resolveComponent("el-input"),jt=resolveComponent("el-button"),hn=resolveComponent("el-focus-trap"),vn=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:$e[11]||($e[11]=bn=>xe.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(vn,{"z-index":xe.zIndex,"overlay-class":[xe.ns.is("message-box"),xe.modalClass],mask:xe.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":xe.title,"aria-modal":"true","aria-describedby":xe.showInput?void 0:xe.contentId,class:normalizeClass(`${xe.ns.namespace.value}-overlay-message-box`),onClick:$e[8]||($e[8]=(...bn)=>xe.overlayEvent.onClick&&xe.overlayEvent.onClick(...bn)),onMousedown:$e[9]||($e[9]=(...bn)=>xe.overlayEvent.onMousedown&&xe.overlayEvent.onMousedown(...bn)),onMouseup:$e[10]||($e[10]=(...bn)=>xe.overlayEvent.onMouseup&&xe.overlayEvent.onMouseup(...bn))},[createVNode$1(hn,{loop:"",trapped:xe.visible,"focus-trap-el":xe.rootRef,"focus-start-el":xe.focusStartRef,onReleaseRequested:xe.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([xe.ns.b(),xe.customClass,xe.ns.is("draggable",xe.draggable),{[xe.ns.m("center")]:xe.center}]),style:normalizeStyle$1(xe.customStyle),tabindex:"-1",onClick:$e[7]||($e[7]=withModifiers(()=>{},["stop"]))},[xe.title!==null&&xe.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass([xe.ns.e("header"),{"show-close":xe.showClose}])},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("title"))},[xe.iconComponent&&xe.center?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.e("status"),xe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(xe.title),1)],2),xe.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(xe.ns.e("headerbtn")),"aria-label":xe.t("el.messagebox.close"),onClick:$e[0]||($e[0]=bn=>xe.handleAction(xe.distinguishCancelAndClose?"close":"cancel")),onKeydown:$e[1]||($e[1]=withKeys(withModifiers(bn=>xe.handleAction(xe.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode$1(At,{class:normalizeClass(xe.ns.e("close"))},{default:withCtx(()=>[createVNode$1(Dt)]),_:1},8,["class"])],42,_hoisted_2$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:xe.contentId,class:normalizeClass(xe.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("container"))},[xe.iconComponent&&!xe.center&&xe.hasMessage?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.e("status"),xe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),xe.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.e("message"))},[renderSlot(xe.$slots,"default",{},()=>[xe.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(xe.showInput?"label":"p"),{key:1,for:xe.showInput?xe.inputId:void 0,innerHTML:xe.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(xe.showInput?"label":"p"),{key:0,for:xe.showInput?xe.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.dangerouslyUseHTMLString?"":xe.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(xe.ns.e("input"))},[createVNode$1(Lt,{id:xe.inputId,ref:"inputRef",modelValue:xe.inputValue,"onUpdate:modelValue":$e[2]||($e[2]=bn=>xe.inputValue=bn),type:xe.inputType,placeholder:xe.inputPlaceholder,"aria-invalid":xe.validateError,class:normalizeClass({invalid:xe.validateError}),onKeydown:withKeys(xe.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(xe.ns.e("errormsg")),style:normalizeStyle$1({visibility:xe.editorErrorMessage?"visible":"hidden"})},toDisplayString(xe.editorErrorMessage),7)],2),[[vShow,xe.showInput]])],10,_hoisted_3$2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("btns"))},[xe.showCancelButton?(openBlock(),createBlock(jt,{key:0,loading:xe.cancelButtonLoading,class:normalizeClass([xe.cancelButtonClass]),round:xe.roundButton,size:xe.btnSize,onClick:$e[3]||($e[3]=bn=>xe.handleAction("cancel")),onKeydown:$e[4]||($e[4]=withKeys(withModifiers(bn=>xe.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.cancelButtonText||xe.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(jt,{ref:"confirmRef",type:"primary",loading:xe.confirmButtonLoading,class:normalizeClass([xe.confirmButtonClasses]),round:xe.roundButton,disabled:xe.confirmButtonDisabled,size:xe.btnSize,onClick:$e[5]||($e[5]=bn=>xe.handleAction("confirm")),onKeydown:$e[6]||($e[6]=withKeys(withModifiers(bn=>xe.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.confirmButtonText||xe.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,xe.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$2)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,xe.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$1(_sfc_main$3,[["render",_sfc_render],["__file","index.vue"]]);const messageInstance=new Map,getAppendToElement=xe=>{let $e=document.body;return xe.appendTo&&(isString$4(xe.appendTo)&&($e=document.querySelector(xe.appendTo)),isElement$1(xe.appendTo)&&($e=xe.appendTo),isElement$1($e)||($e=document.body)),$e},initInstance=(xe,$e,Ie=null)=>{const Fe=createVNode$1(MessageBoxConstructor,xe,isFunction$5(xe.message)||isVNode(xe.message)?{default:isFunction$5(xe.message)?xe.message:()=>xe.message}:null);return Fe.appContext=Ie,render$2(Fe,$e),getAppendToElement(xe).appendChild($e.firstElementChild),Fe.component},genContainer=()=>document.createElement("div"),showMessage=(xe,$e)=>{const Ie=genContainer();xe.onVanish=()=>{render$2(null,Ie),messageInstance.delete(Ue)},xe.onAction=qe=>{const At=messageInstance.get(Ue);let Dt;xe.showInput?Dt={value:Ue.inputValue,action:qe}:Dt=qe,xe.callback?xe.callback(Dt,Fe.proxy):qe==="cancel"||qe==="close"?xe.distinguishCancelAndClose&&qe!=="cancel"?At.reject("close"):At.reject("cancel"):At.resolve(Dt)};const Fe=initInstance(xe,Ie,$e),Ue=Fe.proxy;for(const qe in xe)hasOwn$1(xe,qe)&&!hasOwn$1(Ue.$props,qe)&&(Ue[qe]=xe[qe]);return Ue.visible=!0,Ue};function MessageBox(xe,$e=null){if(!isClient$1)return Promise.reject();let Ie;return isString$4(xe)||isVNode(xe)?xe={message:xe}:Ie=xe.callback,new Promise((Fe,Ue)=>{const qe=showMessage(xe,$e??MessageBox._context);messageInstance.set(qe,{options:xe,callback:Ie,resolve:Fe,reject:Ue})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(xe=>{MessageBox[xe]=messageBoxFactory(xe)});function messageBoxFactory(xe){return($e,Ie,Fe,Ue)=>{let qe="";return isObject$8(Ie)?(Fe=Ie,qe=""):isUndefined(Ie)?qe="":qe=Ie,MessageBox(Object.assign({title:qe,message:$e,type:"",...MESSAGE_BOX_DEFAULT_OPTS[xe]},Fe,{boxType:xe}),Ue)}}MessageBox.close=()=>{messageInstance.forEach((xe,$e)=>{$e.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=xe=>{_MessageBox._context=xe._context,xe.config.globalProperties.$msgbox=_MessageBox,xe.config.globalProperties.$messageBox=_MessageBox,xe.config.globalProperties.$alert=_MessageBox.alert,xe.config.globalProperties.$confirm=_MessageBox.confirm,xe.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:Number}),notificationEmits={destroy:()=>!0},_hoisted_1$1=["id"],_hoisted_2$1=["textContent"],_hoisted_3$1={key:0},_hoisted_4$1=["innerHTML"],__default__=defineComponent({name:"ElNotification"}),_sfc_main$2=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(xe,{expose:$e}){const Ie=xe,{ns:Fe,zIndex:Ue}=useGlobalComponentSettings("notification"),{nextZIndex:qe,currentZIndex:At}=Ue,{Close:Dt}=CloseComponents,Lt=ref(!1);let jt;const hn=computed(()=>{const En=Ie.type;return En&&TypeComponentsMap[Ie.type]?Fe.m(En):""}),vn=computed(()=>Ie.type&&TypeComponentsMap[Ie.type]||Ie.icon),bn=computed(()=>Ie.position.endsWith("right")?"right":"left"),_n=computed(()=>Ie.position.startsWith("top")?"top":"bottom"),wn=computed(()=>{var En;return{[_n.value]:`${Ie.offset}px`,zIndex:(En=Ie.zIndex)!=null?En:At.value}});function kn(){Ie.duration>0&&({stop:jt}=useTimeoutFn$1(()=>{Lt.value&&Sn()},Ie.duration))}function Cn(){jt==null||jt()}function Sn(){Lt.value=!1}function xn({code:En}){En===EVENT_CODE.delete||En===EVENT_CODE.backspace?Cn():En===EVENT_CODE.esc?Lt.value&&Sn():kn()}return onMounted(()=>{kn(),qe(),Lt.value=!0}),useEventListener(document,"keydown",xn),$e({visible:Lt,close:Sn}),(En,Tn)=>(openBlock(),createBlock(Transition,{name:unref(Fe).b("fade"),onBeforeLeave:En.onClose,onAfterLeave:Tn[1]||(Tn[1]=An=>En.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:En.id,class:normalizeClass([unref(Fe).b(),En.customClass,unref(bn)]),style:normalizeStyle$1(unref(wn)),role:"alert",onMouseenter:Cn,onMouseleave:kn,onClick:Tn[0]||(Tn[0]=(...An)=>En.onClick&&En.onClick(...An))},[unref(vn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Fe).e("icon"),unref(hn)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(vn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(Fe).e("title")),textContent:toDisplayString(En.title)},null,10,_hoisted_2$1),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(Fe).e("content")),style:normalizeStyle$1(En.title?void 0:{margin:0})},[renderSlot(En.$slots,"default",{},()=>[En.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:En.message},null,8,_hoisted_4$1)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$1,toDisplayString(En.message),1))])],6),[[vShow,En.message]]),En.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Fe).e("closeBtn")),onClick:withModifiers(Sn,["stop"])},{default:withCtx(()=>[createVNode$1(unref(Dt))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$1),[[vShow,Lt.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$2,[["__file","notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(xe={},$e=null){if(!isClient$1)return{close:()=>{}};(typeof xe=="string"||isVNode(xe))&&(xe={message:xe});const Ie=xe.position||"top-right";let Fe=xe.offset||0;notifications[Ie].forEach(({vm:hn})=>{var vn;Fe+=(((vn=hn.el)==null?void 0:vn.offsetHeight)||0)+GAP_SIZE}),Fe+=GAP_SIZE;const Ue=`notification_${seed++}`,qe=xe.onClose,At={...xe,offset:Fe,id:Ue,onClose:()=>{close(Ue,Ie,qe)}};let Dt=document.body;isElement$1(xe.appendTo)?Dt=xe.appendTo:isString$4(xe.appendTo)&&(Dt=document.querySelector(xe.appendTo)),isElement$1(Dt)||(Dt=document.body);const Lt=document.createElement("div"),jt=createVNode$1(NotificationConstructor,At,isVNode(At.message)?{default:()=>At.message}:null);return jt.appContext=$e??notify._context,jt.props.onDestroy=()=>{render$2(null,Lt)},render$2(jt,Lt),notifications[Ie].push({vm:jt}),Dt.appendChild(Lt.firstElementChild),{close:()=>{jt.component.exposed.visible.value=!1}}};notificationTypes.forEach(xe=>{notify[xe]=($e={})=>((typeof $e=="string"||isVNode($e))&&($e={message:$e}),notify({...$e,type:xe}))});function close(xe,$e,Ie){const Fe=notifications[$e],Ue=Fe.findIndex(({vm:jt})=>{var hn;return((hn=jt.component)==null?void 0:hn.props.id)===xe});if(Ue===-1)return;const{vm:qe}=Fe[Ue];if(!qe)return;Ie==null||Ie(qe);const At=qe.el.offsetHeight,Dt=$e.split("-")[0];Fe.splice(Ue,1);const Lt=Fe.length;if(!(Lt<1))for(let jt=Ue;jt{$e.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]),nprogress$1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie={};Ie.version="0.2.0";var Fe=Ie.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};Ie.configure=function(wn){var kn,Cn;for(kn in wn)Cn=wn[kn],Cn!==void 0&&wn.hasOwnProperty(kn)&&(Fe[kn]=Cn);return this},Ie.status=null,Ie.set=function(wn){var kn=Ie.isStarted();wn=Ue(wn,Fe.minimum,1),Ie.status=wn===1?null:wn;var Cn=Ie.render(!kn),Sn=Cn.querySelector(Fe.barSelector),xn=Fe.speed,En=Fe.easing;return Cn.offsetWidth,Dt(function(Tn){Fe.positionUsing===""&&(Fe.positionUsing=Ie.getPositioningCSS()),Lt(Sn,At(wn,xn,En)),wn===1?(Lt(Cn,{transition:"none",opacity:1}),Cn.offsetWidth,setTimeout(function(){Lt(Cn,{transition:"all "+xn+"ms linear",opacity:0}),setTimeout(function(){Ie.remove(),Tn()},xn)},xn)):setTimeout(Tn,xn)}),this},Ie.isStarted=function(){return typeof Ie.status=="number"},Ie.start=function(){Ie.status||Ie.set(0);var wn=function(){setTimeout(function(){Ie.status&&(Ie.trickle(),wn())},Fe.trickleSpeed)};return Fe.trickle&&wn(),this},Ie.done=function(wn){return!wn&&!Ie.status?this:Ie.inc(.3+.5*Math.random()).set(1)},Ie.inc=function(wn){var kn=Ie.status;return kn?(typeof wn!="number"&&(wn=(1-kn)*Ue(Math.random()*kn,.1,.95)),kn=Ue(kn+wn,0,.994),Ie.set(kn)):Ie.start()},Ie.trickle=function(){return Ie.inc(Math.random()*Fe.trickleRate)},function(){var wn=0,kn=0;Ie.promise=function(Cn){return!Cn||Cn.state()==="resolved"?this:(kn===0&&Ie.start(),wn++,kn++,Cn.always(function(){kn--,kn===0?(wn=0,Ie.done()):Ie.set((wn-kn)/wn)}),this)}}(),Ie.render=function(wn){if(Ie.isRendered())return document.getElementById("nprogress");hn(document.documentElement,"nprogress-busy");var kn=document.createElement("div");kn.id="nprogress",kn.innerHTML=Fe.template;var Cn=kn.querySelector(Fe.barSelector),Sn=wn?"-100":qe(Ie.status||0),xn=document.querySelector(Fe.parent),En;return Lt(Cn,{transition:"all 0 linear",transform:"translate3d("+Sn+"%,0,0)"}),Fe.showSpinner||(En=kn.querySelector(Fe.spinnerSelector),En&&_n(En)),xn!=document.body&&hn(xn,"nprogress-custom-parent"),xn.appendChild(kn),kn},Ie.remove=function(){vn(document.documentElement,"nprogress-busy"),vn(document.querySelector(Fe.parent),"nprogress-custom-parent");var wn=document.getElementById("nprogress");wn&&_n(wn)},Ie.isRendered=function(){return!!document.getElementById("nprogress")},Ie.getPositioningCSS=function(){var wn=document.body.style,kn="WebkitTransform"in wn?"Webkit":"MozTransform"in wn?"Moz":"msTransform"in wn?"ms":"OTransform"in wn?"O":"";return kn+"Perspective"in wn?"translate3d":kn+"Transform"in wn?"translate":"margin"};function Ue(wn,kn,Cn){return wnCn?Cn:wn}function qe(wn){return(-1+wn)*100}function At(wn,kn,Cn){var Sn;return Fe.positionUsing==="translate3d"?Sn={transform:"translate3d("+qe(wn)+"%,0,0)"}:Fe.positionUsing==="translate"?Sn={transform:"translate("+qe(wn)+"%,0)"}:Sn={"margin-left":qe(wn)+"%"},Sn.transition="all "+kn+"ms "+Cn,Sn}var Dt=function(){var wn=[];function kn(){var Cn=wn.shift();Cn&&Cn(kn)}return function(Cn){wn.push(Cn),wn.length==1&&kn()}}(),Lt=function(){var wn=["Webkit","O","Moz","ms"],kn={};function Cn(Tn){return Tn.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(An,$n){return $n.toUpperCase()})}function Sn(Tn){var An=document.body.style;if(Tn in An)return Tn;for(var $n=wn.length,Pn=Tn.charAt(0).toUpperCase()+Tn.slice(1),Nn;$n--;)if(Nn=wn[$n]+Pn,Nn in An)return Nn;return Tn}function xn(Tn){return Tn=Cn(Tn),kn[Tn]||(kn[Tn]=Sn(Tn))}function En(Tn,An,$n){An=xn(An),Tn.style[An]=$n}return function(Tn,An){var $n=arguments,Pn,Nn;if($n.length==2)for(Pn in An)Nn=An[Pn],Nn!==void 0&&An.hasOwnProperty(Pn)&&En(Tn,Pn,Nn);else En(Tn,$n[1],$n[2])}}();function jt(wn,kn){var Cn=typeof wn=="string"?wn:bn(wn);return Cn.indexOf(" "+kn+" ")>=0}function hn(wn,kn){var Cn=bn(wn),Sn=Cn+kn;jt(Cn,kn)||(wn.className=Sn.substring(1))}function vn(wn,kn){var Cn=bn(wn),Sn;jt(wn,kn)&&(Sn=Cn.replace(" "+kn+" "," "),wn.className=Sn.substring(1,Sn.length-1))}function bn(wn){return(" "+(wn.className||"")+" ").replace(/\s+/gi," ")}function _n(wn){wn&&wn.parentNode&&wn.parentNode.removeChild(wn)}return Ie})})(nprogress$1);var nprogressExports=nprogress$1.exports;const nprogress=getDefaultExportFromCjs(nprogressExports);function tryOnScopeDispose(xe){return getCurrentScope()?(onScopeDispose(xe),!0):!1}function toValue(xe){return typeof xe=="function"?xe():unref(xe)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString=Object.prototype.toString,isObject$4=xe=>toString.call(xe)==="[object Object]",noop$1=()=>{};function createSingletonPromise(xe){let $e;function Ie(){return $e||($e=xe()),$e}return Ie.reset=async()=>{const Fe=$e;$e=void 0,Fe&&await Fe},Ie}function getLifeCycleTarget(xe){return getCurrentInstance()}function tryOnMounted(xe,$e=!0,Ie){getLifeCycleTarget()?onMounted(xe,Ie):$e?xe():nextTick(xe)}function useTimeoutFn(xe,$e,Ie={}){const{immediate:Fe=!0}=Ie,Ue=ref(!1);let qe=null;function At(){qe&&(clearTimeout(qe),qe=null)}function Dt(){Ue.value=!1,At()}function Lt(...jt){At(),Ue.value=!0,qe=setTimeout(()=>{Ue.value=!1,qe=null,xe(...jt)},toValue($e))}return Fe&&(Ue.value=!0,isClient&&Lt()),tryOnScopeDispose(Dt),{isPending:readonly(Ue),start:Lt,stop:Dt}}function useNProgress(xe=null,$e){const Ie=ref(xe),Fe=computed({set:qe=>qe?nprogress.start():nprogress.done(),get:()=>typeof Ie.value=="number"&&Ie.value<1}),Ue=nprogress.set;return nprogress.set=qe=>(Ie.value=qe,Ue.call(nprogress,qe)),watchEffect(()=>{typeof Ie.value=="number"&&isClient&&Ue.call(nprogress,Ie.value)}),tryOnScopeDispose(nprogress.remove),{isLoading:Fe,progress:Ie,start:nprogress.start,done:nprogress.done,remove:()=>{Ie.value=null,nprogress.remove()}}}const pinia=createPinia(),useKeepAliveStore=defineStore("keepAlive",()=>{const xe=ref([]);function $e(Ue){typeof Ue=="string"?!xe.value.includes(Ue)&&xe.value.push(Ue):Ue.forEach(qe=>{qe&&!xe.value.includes(qe)&&xe.value.push(qe)})}function Ie(Ue){typeof Ue=="string"?xe.value=xe.value.filter(qe=>qe!==Ue):xe.value=xe.value.filter(qe=>!Ue.includes(qe))}function Fe(){xe.value=[]}return{list:xe,add:$e,remove:Ie,clean:Fe}}),menus={meta:{title:"多级导航",icon:"heroicons-solid:menu-alt-3"},children:[{path:"/multilevel_menu_example/page",meta:{title:"导航1"}},{meta:{title:"导航2"},children:[{path:"/multilevel_menu_example/level2/page",meta:{title:"导航2-1"}},{meta:{title:"导航2-2"},children:[{path:"/multilevel_menu_example/level2/level3/page1",meta:{title:"导航2-2-1"}},{path:"/multilevel_menu_example/level2/level3/page2",meta:{title:"导航2-2-2"}}]}]}]},menu=[{meta:{title:"演示",icon:"uim:box"},children:[menus]}];function assertPath(xe){if(typeof xe!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(xe))}function normalizeStringPosix(xe,$e){for(var Ie="",Fe=0,Ue=-1,qe=0,At,Dt=0;Dt<=xe.length;++Dt){if(Dt2){var Lt=Ie.lastIndexOf("/");if(Lt!==Ie.length-1){Lt===-1?(Ie="",Fe=0):(Ie=Ie.slice(0,Lt),Fe=Ie.length-1-Ie.lastIndexOf("/")),Ue=Dt,qe=0;continue}}else if(Ie.length===2||Ie.length===1){Ie="",Fe=0,Ue=Dt,qe=0;continue}}$e&&(Ie.length>0?Ie+="/..":Ie="..",Fe=2)}else Ie.length>0?Ie+="/"+xe.slice(Ue+1,Dt):Ie=xe.slice(Ue+1,Dt),Fe=Dt-Ue-1;Ue=Dt,qe=0}else At===46&&qe!==-1?++qe:qe=-1}return Ie}function _format(xe,$e){var Ie=$e.dir||$e.root,Fe=$e.base||($e.name||"")+($e.ext||"");return Ie?Ie===$e.root?Ie+Fe:Ie+xe+Fe:Fe}var posix={resolve:function xe(){for(var $e="",Ie=!1,Fe,Ue=arguments.length-1;Ue>=-1&&!Ie;Ue--){var qe;Ue>=0?qe=arguments[Ue]:(Fe===void 0&&(Fe=process.cwd()),qe=Fe),assertPath(qe),qe.length!==0&&($e=qe+"/"+$e,Ie=qe.charCodeAt(0)===47)}return $e=normalizeStringPosix($e,!Ie),Ie?$e.length>0?"/"+$e:"/":$e.length>0?$e:"."},normalize:function xe($e){if(assertPath($e),$e.length===0)return".";var Ie=$e.charCodeAt(0)===47,Fe=$e.charCodeAt($e.length-1)===47;return $e=normalizeStringPosix($e,!Ie),$e.length===0&&!Ie&&($e="."),$e.length>0&&Fe&&($e+="/"),Ie?"/"+$e:$e},isAbsolute:function xe($e){return assertPath($e),$e.length>0&&$e.charCodeAt(0)===47},join:function xe(){if(arguments.length===0)return".";for(var $e,Ie=0;Ie0&&($e===void 0?$e=Fe:$e+="/"+Fe)}return $e===void 0?".":posix.normalize($e)},relative:function xe($e,Ie){if(assertPath($e),assertPath(Ie),$e===Ie||($e=posix.resolve($e),Ie=posix.resolve(Ie),$e===Ie))return"";for(var Fe=1;Fe<$e.length&&$e.charCodeAt(Fe)===47;++Fe);for(var Ue=$e.length,qe=Ue-Fe,At=1;Atjt){if(Ie.charCodeAt(At+vn)===47)return Ie.slice(At+vn+1);if(vn===0)return Ie.slice(At+vn)}else qe>jt&&($e.charCodeAt(Fe+vn)===47?hn=vn:vn===0&&(hn=0));break}var bn=$e.charCodeAt(Fe+vn),_n=Ie.charCodeAt(At+vn);if(bn!==_n)break;bn===47&&(hn=vn)}var wn="";for(vn=Fe+hn+1;vn<=Ue;++vn)(vn===Ue||$e.charCodeAt(vn)===47)&&(wn.length===0?wn+="..":wn+="/..");return wn.length>0?wn+Ie.slice(At+hn):(At+=hn,Ie.charCodeAt(At)===47&&++At,Ie.slice(At))},_makeLong:function xe($e){return $e},dirname:function xe($e){if(assertPath($e),$e.length===0)return".";for(var Ie=$e.charCodeAt(0),Fe=Ie===47,Ue=-1,qe=!0,At=$e.length-1;At>=1;--At)if(Ie=$e.charCodeAt(At),Ie===47){if(!qe){Ue=At;break}}else qe=!1;return Ue===-1?Fe?"/":".":Fe&&Ue===1?"//":$e.slice(0,Ue)},basename:function xe($e,Ie){if(Ie!==void 0&&typeof Ie!="string")throw new TypeError('"ext" argument must be a string');assertPath($e);var Fe=0,Ue=-1,qe=!0,At;if(Ie!==void 0&&Ie.length>0&&Ie.length<=$e.length){if(Ie.length===$e.length&&Ie===$e)return"";var Dt=Ie.length-1,Lt=-1;for(At=$e.length-1;At>=0;--At){var jt=$e.charCodeAt(At);if(jt===47){if(!qe){Fe=At+1;break}}else Lt===-1&&(qe=!1,Lt=At+1),Dt>=0&&(jt===Ie.charCodeAt(Dt)?--Dt===-1&&(Ue=At):(Dt=-1,Ue=Lt))}return Fe===Ue?Ue=Lt:Ue===-1&&(Ue=$e.length),$e.slice(Fe,Ue)}else{for(At=$e.length-1;At>=0;--At)if($e.charCodeAt(At)===47){if(!qe){Fe=At+1;break}}else Ue===-1&&(qe=!1,Ue=At+1);return Ue===-1?"":$e.slice(Fe,Ue)}},extname:function xe($e){assertPath($e);for(var Ie=-1,Fe=0,Ue=-1,qe=!0,At=0,Dt=$e.length-1;Dt>=0;--Dt){var Lt=$e.charCodeAt(Dt);if(Lt===47){if(!qe){Fe=Dt+1;break}continue}Ue===-1&&(qe=!1,Ue=Dt+1),Lt===46?Ie===-1?Ie=Dt:At!==1&&(At=1):Ie!==-1&&(At=-1)}return Ie===-1||Ue===-1||At===0||At===1&&Ie===Ue-1&&Ie===Fe+1?"":$e.slice(Ie,Ue)},format:function xe($e){if($e===null||typeof $e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof $e);return _format("/",$e)},parse:function xe($e){assertPath($e);var Ie={root:"",dir:"",base:"",ext:"",name:""};if($e.length===0)return Ie;var Fe=$e.charCodeAt(0),Ue=Fe===47,qe;Ue?(Ie.root="/",qe=1):qe=0;for(var At=-1,Dt=0,Lt=-1,jt=!0,hn=$e.length-1,vn=0;hn>=qe;--hn){if(Fe=$e.charCodeAt(hn),Fe===47){if(!jt){Dt=hn+1;break}continue}Lt===-1&&(jt=!1,Lt=hn+1),Fe===46?At===-1?At=hn:vn!==1&&(vn=1):At!==-1&&(vn=-1)}return At===-1||Lt===-1||vn===0||vn===1&&At===Lt-1&&At===Dt+1?Lt!==-1&&(Dt===0&&Ue?Ie.base=Ie.name=$e.slice(1,Lt):Ie.base=Ie.name=$e.slice(Dt,Lt)):(Dt===0&&Ue?(Ie.name=$e.slice(1,At),Ie.base=$e.slice(1,Lt)):(Ie.name=$e.slice(Dt,At),Ie.base=$e.slice(Dt,Lt)),Ie.ext=$e.slice(At,Lt)),Dt>0?Ie.dir=$e.slice(0,Dt-1):Ue&&(Ie.dir="/"),Ie},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix;const path=getDefaultExportFromCjs(pathBrowserify);function resolveRoutePath(xe,$e){return xe?path.resolve(xe,$e??""):$e??""}const scriptRel="modulepreload",assetsURL=function(xe){return"/admin/"+xe},seen={},__vitePreload=function xe($e,Ie,Fe){let Ue=Promise.resolve();if(Ie&&Ie.length>0){document.getElementsByTagName("link");const qe=document.querySelector("meta[property=csp-nonce]"),At=(qe==null?void 0:qe.nonce)||(qe==null?void 0:qe.getAttribute("nonce"));Ue=Promise.all(Ie.map(Dt=>{if(Dt=assetsURL(Dt),Dt in seen)return;seen[Dt]=!0;const Lt=Dt.endsWith(".css"),jt=Lt?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${Dt}"]${jt}`))return;const hn=document.createElement("link");if(hn.rel=Lt?"stylesheet":scriptRel,Lt||(hn.as="script",hn.crossOrigin=""),hn.href=Dt,At&&hn.setAttribute("nonce",At),document.head.appendChild(hn),Lt)return new Promise((vn,bn)=>{hn.addEventListener("load",vn),hn.addEventListener("error",()=>bn(new Error(`Unable to preload CSS for ${Dt}`)))})}))}return Ue.then(()=>$e()).catch(qe=>{const At=new Event("vite:preloadError",{cancelable:!0});if(At.payload=qe,window.dispatchEvent(At),!At.defaultPrevented)throw qe})},apiDashboard={getBaseInfo:()=>api.get("/statistic/base"),getChatStatistic:xe=>api.get("/statistic/chatStatistic",{params:{days:xe.days}}),getBaiduVisit:xe=>api.get("/statistic/baiduVisit",{params:{days:xe.days}}),getObserverCharts:xe=>api.get("/statistic/observerCharts",{params:xe})};/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var extendStatics=function(xe,$e){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ie,Fe){Ie.__proto__=Fe}||function(Ie,Fe){for(var Ue in Fe)Object.prototype.hasOwnProperty.call(Fe,Ue)&&(Ie[Ue]=Fe[Ue])},extendStatics(xe,$e)};function __extends(xe,$e){if(typeof $e!="function"&&$e!==null)throw new TypeError("Class extends value "+String($e)+" is not a constructor or null");extendStatics(xe,$e);function Ie(){this.constructor=xe}xe.prototype=$e===null?Object.create($e):(Ie.prototype=$e.prototype,new Ie)}var Browser=function(){function xe(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return xe}(),Env=function(){function xe(){this.browser=new Browser,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return xe}(),env=new Env;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(env.wxa=!0,env.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?env.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js")===0?(env.node=!0,env.svgSupported=!0):detect(navigator.userAgent,env);function detect(xe,$e){var Ie=$e.browser,Fe=xe.match(/Firefox\/([\d.]+)/),Ue=xe.match(/MSIE\s([\d.]+)/)||xe.match(/Trident\/.+?rv:(([\d.]+))/),qe=xe.match(/Edge?\/([\d.]+)/),At=/micromessenger/i.test(xe);Fe&&(Ie.firefox=!0,Ie.version=Fe[1]),Ue&&(Ie.ie=!0,Ie.version=Ue[1]),qe&&(Ie.edge=!0,Ie.version=qe[1],Ie.newEdge=+qe[1].split(".")[0]>18),At&&(Ie.weChat=!0),$e.svgSupported=typeof SVGRect<"u",$e.touchEventsSupported="ontouchstart"in window&&!Ie.ie&&!Ie.edge,$e.pointerEventsSupported="onpointerdown"in window&&(Ie.edge||Ie.ie&&+Ie.version>=11),$e.domSupported=typeof document<"u";var Dt=document.documentElement.style;$e.transform3dSupported=(Ie.ie&&"transition"in Dt||Ie.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in Dt)&&!("OTransition"in Dt),$e.transformSupported=$e.transform3dSupported||Ie.ie&&+Ie.version>=9}var DEFAULT_FONT_SIZE=12,DEFAULT_FONT_FAMILY="sans-serif",DEFAULT_FONT=DEFAULT_FONT_SIZE+"px "+DEFAULT_FONT_FAMILY,OFFSET=20,SCALE=100,defaultWidthMapStr="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function getTextWidthMap(xe){var $e={};if(typeof JSON>"u")return $e;for(var Ie=0;Ie=0)Dt=At*Ie.length;else for(var Lt=0;Lt>1)%2;Dt.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",Fe[Lt]+":0",Ue[jt]+":0",Fe[1-Lt]+":auto",Ue[1-jt]+":auto",""].join("!important;"),xe.appendChild(At),Ie.push(At)}return Ie}function preparePointerTransformer(xe,$e,Ie){for(var Fe=Ie?"invTrans":"trans",Ue=$e[Fe],qe=$e.srcCoords,At=[],Dt=[],Lt=!0,jt=0;jt<4;jt++){var hn=xe[jt].getBoundingClientRect(),vn=2*jt,bn=hn.left,_n=hn.top;At.push(bn,_n),Lt=Lt&&qe&&bn===qe[vn]&&_n===qe[vn+1],Dt.push(xe[jt].offsetLeft,xe[jt].offsetTop)}return Lt&&Ue?Ue:($e.srcCoords=At,$e[Fe]=Ie?buildTransformer(Dt,At):buildTransformer(At,Dt))}function isCanvasEl(xe){return xe.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&","<":"<",">":">",'"':""","'":"'"};function encodeHTML(xe){return xe==null?"":(xe+"").replace(replaceReg,function($e,Ie){return replaceMap[Ie]})}var MOUSE_EVENT_REG=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_calcOut=[],firefoxNotSupportOffsetXY=env.browser.firefox&&+env.browser.version.split(".")[0]<39;function clientToLocal(xe,$e,Ie,Fe){return Ie=Ie||{},Fe?calculateZrXY(xe,$e,Ie):firefoxNotSupportOffsetXY&&$e.layerX!=null&&$e.layerX!==$e.offsetX?(Ie.zrX=$e.layerX,Ie.zrY=$e.layerY):$e.offsetX!=null?(Ie.zrX=$e.offsetX,Ie.zrY=$e.offsetY):calculateZrXY(xe,$e,Ie),Ie}function calculateZrXY(xe,$e,Ie){if(env.domSupported&&xe.getBoundingClientRect){var Fe=$e.clientX,Ue=$e.clientY;if(isCanvasEl(xe)){var qe=xe.getBoundingClientRect();Ie.zrX=Fe-qe.left,Ie.zrY=Ue-qe.top;return}else if(transformCoordWithViewport(_calcOut,xe,Fe,Ue)){Ie.zrX=_calcOut[0],Ie.zrY=_calcOut[1];return}}Ie.zrX=Ie.zrY=0}function getNativeEvent(xe){return xe||window.event}function normalizeEvent(xe,$e,Ie){if($e=getNativeEvent($e),$e.zrX!=null)return $e;var Fe=$e.type,Ue=Fe&&Fe.indexOf("touch")>=0;if(Ue){var At=Fe!=="touchend"?$e.targetTouches[0]:$e.changedTouches[0];At&&clientToLocal(xe,At,$e,Ie)}else{clientToLocal(xe,$e,$e,Ie);var qe=getWheelDeltaMayPolyfill($e);$e.zrDelta=qe?qe/120:-($e.detail||0)/3}var Dt=$e.button;return $e.which==null&&Dt!==void 0&&MOUSE_EVENT_REG.test($e.type)&&($e.which=Dt&1?1:Dt&2?3:Dt&4?2:0),$e}function getWheelDeltaMayPolyfill(xe){var $e=xe.wheelDelta;if($e)return $e;var Ie=xe.deltaX,Fe=xe.deltaY;if(Ie==null||Fe==null)return $e;var Ue=Math.abs(Fe!==0?Fe:Ie),qe=Fe>0?-1:Fe<0?1:Ie>0?-1:1;return 3*Ue*qe}function addEventListener(xe,$e,Ie,Fe){xe.addEventListener($e,Ie,Fe)}function removeEventListener(xe,$e,Ie,Fe){xe.removeEventListener($e,Ie,Fe)}var stop=function(xe){xe.preventDefault(),xe.stopPropagation(),xe.cancelBubble=!0};function isMiddleOrRightButtonOnMouseUpDown(xe){return xe.which===2||xe.which===3}var GestureMgr=function(){function xe(){this._track=[]}return xe.prototype.recognize=function($e,Ie,Fe){return this._doTrack($e,Ie,Fe),this._recognize($e)},xe.prototype.clear=function(){return this._track.length=0,this},xe.prototype._doTrack=function($e,Ie,Fe){var Ue=$e.touches;if(Ue){for(var qe={points:[],touches:[],target:Ie,event:$e},At=0,Dt=Ue.length;At1&&Fe&&Fe.length>1){var qe=dist(Fe)/dist(Ue);!isFinite(qe)&&(qe=1),$e.pinchScale=qe;var At=center$1(Fe);return $e.pinchX=At[0],$e.pinchY=At[1],{type:"pinch",target:xe[0].target,event:$e}}}}};function create$1(){return[1,0,0,1,0,0]}function identity(xe){return xe[0]=1,xe[1]=0,xe[2]=0,xe[3]=1,xe[4]=0,xe[5]=0,xe}function copy(xe,$e){return xe[0]=$e[0],xe[1]=$e[1],xe[2]=$e[2],xe[3]=$e[3],xe[4]=$e[4],xe[5]=$e[5],xe}function mul(xe,$e,Ie){var Fe=$e[0]*Ie[0]+$e[2]*Ie[1],Ue=$e[1]*Ie[0]+$e[3]*Ie[1],qe=$e[0]*Ie[2]+$e[2]*Ie[3],At=$e[1]*Ie[2]+$e[3]*Ie[3],Dt=$e[0]*Ie[4]+$e[2]*Ie[5]+$e[4],Lt=$e[1]*Ie[4]+$e[3]*Ie[5]+$e[5];return xe[0]=Fe,xe[1]=Ue,xe[2]=qe,xe[3]=At,xe[4]=Dt,xe[5]=Lt,xe}function translate(xe,$e,Ie){return xe[0]=$e[0],xe[1]=$e[1],xe[2]=$e[2],xe[3]=$e[3],xe[4]=$e[4]+Ie[0],xe[5]=$e[5]+Ie[1],xe}function rotate(xe,$e,Ie,Fe){Fe===void 0&&(Fe=[0,0]);var Ue=$e[0],qe=$e[2],At=$e[4],Dt=$e[1],Lt=$e[3],jt=$e[5],hn=Math.sin(Ie),vn=Math.cos(Ie);return xe[0]=Ue*vn+Dt*hn,xe[1]=-Ue*hn+Dt*vn,xe[2]=qe*vn+Lt*hn,xe[3]=-qe*hn+vn*Lt,xe[4]=vn*(At-Fe[0])+hn*(jt-Fe[1])+Fe[0],xe[5]=vn*(jt-Fe[1])-hn*(At-Fe[0])+Fe[1],xe}function scale$1(xe,$e,Ie){var Fe=Ie[0],Ue=Ie[1];return xe[0]=$e[0]*Fe,xe[1]=$e[1]*Ue,xe[2]=$e[2]*Fe,xe[3]=$e[3]*Ue,xe[4]=$e[4]*Fe,xe[5]=$e[5]*Ue,xe}function invert(xe,$e){var Ie=$e[0],Fe=$e[2],Ue=$e[4],qe=$e[1],At=$e[3],Dt=$e[5],Lt=Ie*At-qe*Fe;return Lt?(Lt=1/Lt,xe[0]=At*Lt,xe[1]=-qe*Lt,xe[2]=-Fe*Lt,xe[3]=Ie*Lt,xe[4]=(Fe*Dt-At*Ue)*Lt,xe[5]=(qe*Ue-Ie*Dt)*Lt,xe):null}function clone$2(xe){var $e=create$1();return copy($e,xe),$e}var Point=function(){function xe($e,Ie){this.x=$e||0,this.y=Ie||0}return xe.prototype.copy=function($e){return this.x=$e.x,this.y=$e.y,this},xe.prototype.clone=function(){return new xe(this.x,this.y)},xe.prototype.set=function($e,Ie){return this.x=$e,this.y=Ie,this},xe.prototype.equal=function($e){return $e.x===this.x&&$e.y===this.y},xe.prototype.add=function($e){return this.x+=$e.x,this.y+=$e.y,this},xe.prototype.scale=function($e){this.x*=$e,this.y*=$e},xe.prototype.scaleAndAdd=function($e,Ie){this.x+=$e.x*Ie,this.y+=$e.y*Ie},xe.prototype.sub=function($e){return this.x-=$e.x,this.y-=$e.y,this},xe.prototype.dot=function($e){return this.x*$e.x+this.y*$e.y},xe.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},xe.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},xe.prototype.normalize=function(){var $e=this.len();return this.x/=$e,this.y/=$e,this},xe.prototype.distance=function($e){var Ie=this.x-$e.x,Fe=this.y-$e.y;return Math.sqrt(Ie*Ie+Fe*Fe)},xe.prototype.distanceSquare=function($e){var Ie=this.x-$e.x,Fe=this.y-$e.y;return Ie*Ie+Fe*Fe},xe.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},xe.prototype.transform=function($e){if($e){var Ie=this.x,Fe=this.y;return this.x=$e[0]*Ie+$e[2]*Fe+$e[4],this.y=$e[1]*Ie+$e[3]*Fe+$e[5],this}},xe.prototype.toArray=function($e){return $e[0]=this.x,$e[1]=this.y,$e},xe.prototype.fromArray=function($e){this.x=$e[0],this.y=$e[1]},xe.set=function($e,Ie,Fe){$e.x=Ie,$e.y=Fe},xe.copy=function($e,Ie){$e.x=Ie.x,$e.y=Ie.y},xe.len=function($e){return Math.sqrt($e.x*$e.x+$e.y*$e.y)},xe.lenSquare=function($e){return $e.x*$e.x+$e.y*$e.y},xe.dot=function($e,Ie){return $e.x*Ie.x+$e.y*Ie.y},xe.add=function($e,Ie,Fe){$e.x=Ie.x+Fe.x,$e.y=Ie.y+Fe.y},xe.sub=function($e,Ie,Fe){$e.x=Ie.x-Fe.x,$e.y=Ie.y-Fe.y},xe.scale=function($e,Ie,Fe){$e.x=Ie.x*Fe,$e.y=Ie.y*Fe},xe.scaleAndAdd=function($e,Ie,Fe,Ue){$e.x=Ie.x+Fe.x*Ue,$e.y=Ie.y+Fe.y*Ue},xe.lerp=function($e,Ie,Fe,Ue){var qe=1-Ue;$e.x=qe*Ie.x+Ue*Fe.x,$e.y=qe*Ie.y+Ue*Fe.y},xe}(),mathMin$a=Math.min,mathMax$a=Math.max,lt=new Point,rb=new Point,lb=new Point,rt=new Point,minTv$1=new Point,maxTv$1=new Point,BoundingRect=function(){function xe($e,Ie,Fe,Ue){Fe<0&&($e=$e+Fe,Fe=-Fe),Ue<0&&(Ie=Ie+Ue,Ue=-Ue),this.x=$e,this.y=Ie,this.width=Fe,this.height=Ue}return xe.prototype.union=function($e){var Ie=mathMin$a($e.x,this.x),Fe=mathMin$a($e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$a($e.x+$e.width,this.x+this.width)-Ie:this.width=$e.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$a($e.y+$e.height,this.y+this.height)-Fe:this.height=$e.height,this.x=Ie,this.y=Fe},xe.prototype.applyTransform=function($e){xe.applyTransform(this,this,$e)},xe.prototype.calculateTransform=function($e){var Ie=this,Fe=$e.width/Ie.width,Ue=$e.height/Ie.height,qe=create$1();return translate(qe,qe,[-Ie.x,-Ie.y]),scale$1(qe,qe,[Fe,Ue]),translate(qe,qe,[$e.x,$e.y]),qe},xe.prototype.intersect=function($e,Ie){if(!$e)return!1;$e instanceof xe||($e=xe.create($e));var Fe=this,Ue=Fe.x,qe=Fe.x+Fe.width,At=Fe.y,Dt=Fe.y+Fe.height,Lt=$e.x,jt=$e.x+$e.width,hn=$e.y,vn=$e.y+$e.height,bn=!(qewn&&(wn=En,knwn&&(wn=Tn,Sn=Fe.x&&$e<=Fe.x+Fe.width&&Ie>=Fe.y&&Ie<=Fe.y+Fe.height},xe.prototype.clone=function(){return new xe(this.x,this.y,this.width,this.height)},xe.prototype.copy=function($e){xe.copy(this,$e)},xe.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},xe.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},xe.prototype.isZero=function(){return this.width===0||this.height===0},xe.create=function($e){return new xe($e.x,$e.y,$e.width,$e.height)},xe.copy=function($e,Ie){$e.x=Ie.x,$e.y=Ie.y,$e.width=Ie.width,$e.height=Ie.height},xe.applyTransform=function($e,Ie,Fe){if(!Fe){$e!==Ie&&xe.copy($e,Ie);return}if(Fe[1]<1e-5&&Fe[1]>-1e-5&&Fe[2]<1e-5&&Fe[2]>-1e-5){var Ue=Fe[0],qe=Fe[3],At=Fe[4],Dt=Fe[5];$e.x=Ie.x*Ue+At,$e.y=Ie.y*qe+Dt,$e.width=Ie.width*Ue,$e.height=Ie.height*qe,$e.width<0&&($e.x+=$e.width,$e.width=-$e.width),$e.height<0&&($e.y+=$e.height,$e.height=-$e.height);return}lt.x=lb.x=Ie.x,lt.y=rt.y=Ie.y,rb.x=rt.x=Ie.x+Ie.width,rb.y=lb.y=Ie.y+Ie.height,lt.transform(Fe),rt.transform(Fe),rb.transform(Fe),lb.transform(Fe),$e.x=mathMin$a(lt.x,rb.x,lb.x,rt.x),$e.y=mathMin$a(lt.y,rb.y,lb.y,rt.y);var Lt=mathMax$a(lt.x,rb.x,lb.x,rt.x),jt=mathMax$a(lt.y,rb.y,lb.y,rt.y);$e.width=Lt-$e.x,$e.height=jt-$e.y},xe}(),SILENT="silent";function makeEventPacket(xe,$e,Ie){return{type:xe,event:Ie,target:$e.target,topTarget:$e.topTarget,cancelBubble:!1,offsetX:Ie.zrX,offsetY:Ie.zrY,gestureEvent:Ie.gestureEvent,pinchX:Ie.pinchX,pinchY:Ie.pinchY,pinchScale:Ie.pinchScale,wheelDelta:Ie.zrDelta,zrByTouch:Ie.zrByTouch,which:Ie.which,stop:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.handler=null,Ie}return $e.prototype.dispose=function(){},$e.prototype.setCursor=function(){},$e}(Eventful),HoveredResult=function(){function xe($e,Ie){this.x=$e,this.y=Ie}return xe}(),handlerNames=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],tmpRect$1=new BoundingRect(0,0,0,0),Handler=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this)||this;return Dt._hovered=new HoveredResult(0,0),Dt.storage=Ie,Dt.painter=Fe,Dt.painterRoot=qe,Dt._pointerSize=At,Ue=Ue||new EmptyProxy,Dt.proxy=null,Dt.setHandlerProxy(Ue),Dt._draggingMgr=new Draggable(Dt),Dt}return $e.prototype.setHandlerProxy=function(Ie){this.proxy&&this.proxy.dispose(),Ie&&(each$f(handlerNames,function(Fe){Ie.on&&Ie.on(Fe,this[Fe],this)},this),Ie.handler=this),this.proxy=Ie},$e.prototype.mousemove=function(Ie){var Fe=Ie.zrX,Ue=Ie.zrY,qe=isOutsideBoundary(this,Fe,Ue),At=this._hovered,Dt=At.target;Dt&&!Dt.__zr&&(At=this.findHover(At.x,At.y),Dt=At.target);var Lt=this._hovered=qe?new HoveredResult(Fe,Ue):this.findHover(Fe,Ue),jt=Lt.target,hn=this.proxy;hn.setCursor&&hn.setCursor(jt?jt.cursor:"default"),Dt&&jt!==Dt&&this.dispatchToElement(At,"mouseout",Ie),this.dispatchToElement(Lt,"mousemove",Ie),jt&&jt!==Dt&&this.dispatchToElement(Lt,"mouseover",Ie)},$e.prototype.mouseout=function(Ie){var Fe=Ie.zrEventControl;Fe!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",Ie),Fe!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:Ie})},$e.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},$e.prototype.dispatch=function(Ie,Fe){var Ue=this[Ie];Ue&&Ue.call(this,Fe)},$e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},$e.prototype.setCursorStyle=function(Ie){var Fe=this.proxy;Fe.setCursor&&Fe.setCursor(Ie)},$e.prototype.dispatchToElement=function(Ie,Fe,Ue){Ie=Ie||{};var qe=Ie.target;if(!(qe&&qe.silent)){for(var At="on"+Fe,Dt=makeEventPacket(Fe,Ie,Ue);qe&&(qe[At]&&(Dt.cancelBubble=!!qe[At].call(qe,Dt)),qe.trigger(Fe,Dt),qe=qe.__hostTarget?qe.__hostTarget:qe.parent,!Dt.cancelBubble););Dt.cancelBubble||(this.trigger(Fe,Dt),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(Lt){typeof Lt[At]=="function"&&Lt[At].call(Lt,Dt),Lt.trigger&&Lt.trigger(Fe,Dt)}))}},$e.prototype.findHover=function(Ie,Fe,Ue){var qe=this.storage.getDisplayList(),At=new HoveredResult(Ie,Fe);if(setHoverTarget(qe,At,Ie,Fe,Ue),this._pointerSize&&!At.target){for(var Dt=[],Lt=this._pointerSize,jt=Lt/2,hn=new BoundingRect(Ie-jt,Fe-jt,Lt,Lt),vn=qe.length-1;vn>=0;vn--){var bn=qe[vn];bn!==Ue&&!bn.ignore&&!bn.ignoreCoarsePointer&&(!bn.parent||!bn.parent.ignoreCoarsePointer)&&(tmpRect$1.copy(bn.getBoundingRect()),bn.transform&&tmpRect$1.applyTransform(bn.transform),tmpRect$1.intersect(hn)&&Dt.push(bn))}if(Dt.length)for(var _n=4,wn=Math.PI/12,kn=Math.PI*2,Cn=0;Cn4)return;this._downPoint=null}this.dispatchToElement(qe,xe,$e)}});function isHover(xe,$e,Ie){if(xe[xe.rectHover?"rectContain":"contain"]($e,Ie)){for(var Fe=xe,Ue=void 0,qe=!1;Fe;){if(Fe.ignoreClip&&(qe=!0),!qe){var At=Fe.getClipPath();if(At&&!At.contain($e,Ie))return!1}Fe.silent&&(Ue=!0);var Dt=Fe.__hostTarget;Fe=Dt||Fe.parent}return Ue?SILENT:!0}return!1}function setHoverTarget(xe,$e,Ie,Fe,Ue){for(var qe=xe.length-1;qe>=0;qe--){var At=xe[qe],Dt=void 0;if(At!==Ue&&!At.ignore&&(Dt=isHover(At,Ie,Fe))&&(!$e.topTarget&&($e.topTarget=At),Dt!==SILENT)){$e.target=At;break}}}function isOutsideBoundary(xe,$e,Ie){var Fe=xe.painter;return $e<0||$e>Fe.getWidth()||Ie<0||Ie>Fe.getHeight()}var DEFAULT_MIN_MERGE=32,DEFAULT_MIN_GALLOPING=7;function minRunLength(xe){for(var $e=0;xe>=DEFAULT_MIN_MERGE;)$e|=xe&1,xe>>=1;return xe+$e}function makeAscendingRun(xe,$e,Ie,Fe){var Ue=$e+1;if(Ue===Ie)return 1;if(Fe(xe[Ue++],xe[$e])<0){for(;Ue=0;)Ue++;return Ue-$e}function reverseRun(xe,$e,Ie){for(Ie--;$e>>1,Ue(qe,xe[Lt])<0?Dt=Lt:At=Lt+1;var jt=Fe-At;switch(jt){case 3:xe[At+3]=xe[At+2];case 2:xe[At+2]=xe[At+1];case 1:xe[At+1]=xe[At];break;default:for(;jt>0;)xe[At+jt]=xe[At+jt-1],jt--}xe[At]=qe}}function gallopLeft(xe,$e,Ie,Fe,Ue,qe){var At=0,Dt=0,Lt=1;if(qe(xe,$e[Ie+Ue])>0){for(Dt=Fe-Ue;Lt0;)At=Lt,Lt=(Lt<<1)+1,Lt<=0&&(Lt=Dt);Lt>Dt&&(Lt=Dt),At+=Ue,Lt+=Ue}else{for(Dt=Ue+1;LtDt&&(Lt=Dt);var jt=At;At=Ue-Lt,Lt=Ue-jt}for(At++;At>>1);qe(xe,$e[Ie+hn])>0?At=hn+1:Lt=hn}return Lt}function gallopRight(xe,$e,Ie,Fe,Ue,qe){var At=0,Dt=0,Lt=1;if(qe(xe,$e[Ie+Ue])<0){for(Dt=Ue+1;LtDt&&(Lt=Dt);var jt=At;At=Ue-Lt,Lt=Ue-jt}else{for(Dt=Fe-Ue;Lt=0;)At=Lt,Lt=(Lt<<1)+1,Lt<=0&&(Lt=Dt);Lt>Dt&&(Lt=Dt),At+=Ue,Lt+=Ue}for(At++;At>>1);qe(xe,$e[Ie+hn])<0?Lt=hn:At=hn+1}return Lt}function TimSort(xe,$e){var Ie=DEFAULT_MIN_GALLOPING,Fe,Ue,qe=0,At=[];Fe=[],Ue=[];function Dt(_n,wn){Fe[qe]=_n,Ue[qe]=wn,qe+=1}function Lt(){for(;qe>1;){var _n=qe-2;if(_n>=1&&Ue[_n-1]<=Ue[_n]+Ue[_n+1]||_n>=2&&Ue[_n-2]<=Ue[_n]+Ue[_n-1])Ue[_n-1]Ue[_n+1])break;hn(_n)}}function jt(){for(;qe>1;){var _n=qe-2;_n>0&&Ue[_n-1]=DEFAULT_MIN_GALLOPING||Pn>=DEFAULT_MIN_GALLOPING);if(Nn)break;An<0&&(An=0),An+=2}if(Ie=An,Ie<1&&(Ie=1),wn===1){for(Sn=0;Sn=0;Sn--)xe[$n+Sn]=xe[An+Sn];xe[Tn]=At[En];return}for(var Pn=Ie;;){var Nn=0,Mn=0,In=!1;do if($e(At[En],xe[xn])<0){if(xe[Tn--]=xe[xn--],Nn++,Mn=0,--wn===0){In=!0;break}}else if(xe[Tn--]=At[En--],Mn++,Nn=0,--Cn===1){In=!0;break}while((Nn|Mn)=0;Sn--)xe[$n+Sn]=xe[An+Sn];if(wn===0){In=!0;break}}if(xe[Tn--]=At[En--],--Cn===1){In=!0;break}if(Mn=Cn-gallopLeft(xe[xn],At,0,Cn,Cn-1,$e),Mn!==0){for(Tn-=Mn,En-=Mn,Cn-=Mn,$n=Tn+1,An=En+1,Sn=0;Sn=DEFAULT_MIN_GALLOPING||Mn>=DEFAULT_MIN_GALLOPING);if(In)break;Pn<0&&(Pn=0),Pn+=2}if(Ie=Pn,Ie<1&&(Ie=1),Cn===1){for(Tn-=wn,xn-=wn,$n=Tn+1,An=xn+1,Sn=wn-1;Sn>=0;Sn--)xe[$n+Sn]=xe[An+Sn];xe[Tn]=At[En]}else{if(Cn===0)throw new Error;for(An=Tn-(Cn-1),Sn=0;SnDt&&(Lt=Dt),binaryInsertionSort(xe,Ie,Ie+Lt,Ie+qe,$e),qe=Lt}At.pushRun(Ie,qe),At.mergeRuns(),Ue-=qe,Ie+=qe}while(Ue!==0);At.forceMergeRuns()}}var REDRAW_BIT=1,STYLE_CHANGED_BIT=2,SHAPE_CHANGED_BIT=4,invalidZErrorLogged=!1;function logInvalidZError(){invalidZErrorLogged||(invalidZErrorLogged=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function shapeCompareFunc(xe,$e){return xe.zlevel===$e.zlevel?xe.z===$e.z?xe.z2-$e.z2:xe.z-$e.z:xe.zlevel-$e.zlevel}var Storage=function(){function xe(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}return xe.prototype.traverse=function($e,Ie){for(var Fe=0;Fe0&&(hn.__clipPaths=[]),isNaN(hn.z)&&(logInvalidZError(),hn.z=0),isNaN(hn.z2)&&(logInvalidZError(),hn.z2=0),isNaN(hn.zlevel)&&(logInvalidZError(),hn.zlevel=0),this._displayList[this._displayListLen++]=hn}var vn=$e.getDecalElement&&$e.getDecalElement();vn&&this._updateAndAddDisplayable(vn,Ie,Fe);var bn=$e.getTextGuideLine();bn&&this._updateAndAddDisplayable(bn,Ie,Fe);var _n=$e.getTextContent();_n&&this._updateAndAddDisplayable(_n,Ie,Fe)}},xe.prototype.addRoot=function($e){$e.__zr&&$e.__zr.storage===this||this._roots.push($e)},xe.prototype.delRoot=function($e){if($e instanceof Array){for(var Ie=0,Fe=$e.length;Ie=0&&this._roots.splice(Ue,1)},xe.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},xe.prototype.getRoots=function(){return this._roots},xe.prototype.dispose=function(){this._displayList=null,this._roots=null},xe}(),requestAnimationFrame$2;requestAnimationFrame$2=env.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(xe){return setTimeout(xe,16)};var easingFuncs={linear:function(xe){return xe},quadraticIn:function(xe){return xe*xe},quadraticOut:function(xe){return xe*(2-xe)},quadraticInOut:function(xe){return(xe*=2)<1?.5*xe*xe:-.5*(--xe*(xe-2)-1)},cubicIn:function(xe){return xe*xe*xe},cubicOut:function(xe){return--xe*xe*xe+1},cubicInOut:function(xe){return(xe*=2)<1?.5*xe*xe*xe:.5*((xe-=2)*xe*xe+2)},quarticIn:function(xe){return xe*xe*xe*xe},quarticOut:function(xe){return 1- --xe*xe*xe*xe},quarticInOut:function(xe){return(xe*=2)<1?.5*xe*xe*xe*xe:-.5*((xe-=2)*xe*xe*xe-2)},quinticIn:function(xe){return xe*xe*xe*xe*xe},quinticOut:function(xe){return--xe*xe*xe*xe*xe+1},quinticInOut:function(xe){return(xe*=2)<1?.5*xe*xe*xe*xe*xe:.5*((xe-=2)*xe*xe*xe*xe+2)},sinusoidalIn:function(xe){return 1-Math.cos(xe*Math.PI/2)},sinusoidalOut:function(xe){return Math.sin(xe*Math.PI/2)},sinusoidalInOut:function(xe){return .5*(1-Math.cos(Math.PI*xe))},exponentialIn:function(xe){return xe===0?0:Math.pow(1024,xe-1)},exponentialOut:function(xe){return xe===1?1:1-Math.pow(2,-10*xe)},exponentialInOut:function(xe){return xe===0?0:xe===1?1:(xe*=2)<1?.5*Math.pow(1024,xe-1):.5*(-Math.pow(2,-10*(xe-1))+2)},circularIn:function(xe){return 1-Math.sqrt(1-xe*xe)},circularOut:function(xe){return Math.sqrt(1- --xe*xe)},circularInOut:function(xe){return(xe*=2)<1?-.5*(Math.sqrt(1-xe*xe)-1):.5*(Math.sqrt(1-(xe-=2)*xe)+1)},elasticIn:function(xe){var $e,Ie=.1,Fe=.4;return xe===0?0:xe===1?1:(!Ie||Ie<1?(Ie=1,$e=Fe/4):$e=Fe*Math.asin(1/Ie)/(2*Math.PI),-(Ie*Math.pow(2,10*(xe-=1))*Math.sin((xe-$e)*(2*Math.PI)/Fe)))},elasticOut:function(xe){var $e,Ie=.1,Fe=.4;return xe===0?0:xe===1?1:(!Ie||Ie<1?(Ie=1,$e=Fe/4):$e=Fe*Math.asin(1/Ie)/(2*Math.PI),Ie*Math.pow(2,-10*xe)*Math.sin((xe-$e)*(2*Math.PI)/Fe)+1)},elasticInOut:function(xe){var $e,Ie=.1,Fe=.4;return xe===0?0:xe===1?1:(!Ie||Ie<1?(Ie=1,$e=Fe/4):$e=Fe*Math.asin(1/Ie)/(2*Math.PI),(xe*=2)<1?-.5*(Ie*Math.pow(2,10*(xe-=1))*Math.sin((xe-$e)*(2*Math.PI)/Fe)):Ie*Math.pow(2,-10*(xe-=1))*Math.sin((xe-$e)*(2*Math.PI)/Fe)*.5+1)},backIn:function(xe){var $e=1.70158;return xe*xe*(($e+1)*xe-$e)},backOut:function(xe){var $e=1.70158;return--xe*xe*(($e+1)*xe+$e)+1},backInOut:function(xe){var $e=2.5949095;return(xe*=2)<1?.5*(xe*xe*(($e+1)*xe-$e)):.5*((xe-=2)*xe*(($e+1)*xe+$e)+2)},bounceIn:function(xe){return 1-easingFuncs.bounceOut(1-xe)},bounceOut:function(xe){return xe<1/2.75?7.5625*xe*xe:xe<2/2.75?7.5625*(xe-=1.5/2.75)*xe+.75:xe<2.5/2.75?7.5625*(xe-=2.25/2.75)*xe+.9375:7.5625*(xe-=2.625/2.75)*xe+.984375},bounceInOut:function(xe){return xe<.5?easingFuncs.bounceIn(xe*2)*.5:easingFuncs.bounceOut(xe*2-1)*.5+.5}},mathPow$2=Math.pow,mathSqrt$3=Math.sqrt,EPSILON$4=1e-8,EPSILON_NUMERIC=1e-4,THREE_SQRT=mathSqrt$3(3),ONE_THIRD=1/3,_v0=create$2(),_v1=create$2(),_v2=create$2();function isAroundZero$1(xe){return xe>-EPSILON$4&&xeEPSILON$4||xe<-EPSILON$4}function cubicAt(xe,$e,Ie,Fe,Ue){var qe=1-Ue;return qe*qe*(qe*xe+3*Ue*$e)+Ue*Ue*(Ue*Fe+3*qe*Ie)}function cubicDerivativeAt(xe,$e,Ie,Fe,Ue){var qe=1-Ue;return 3*((($e-xe)*qe+2*(Ie-$e)*Ue)*qe+(Fe-Ie)*Ue*Ue)}function cubicRootAt(xe,$e,Ie,Fe,Ue,qe){var At=Fe+3*($e-Ie)-xe,Dt=3*(Ie-$e*2+xe),Lt=3*($e-xe),jt=xe-Ue,hn=Dt*Dt-3*At*Lt,vn=Dt*Lt-9*At*jt,bn=Lt*Lt-3*Dt*jt,_n=0;if(isAroundZero$1(hn)&&isAroundZero$1(vn))if(isAroundZero$1(Dt))qe[0]=0;else{var wn=-Lt/Dt;wn>=0&&wn<=1&&(qe[_n++]=wn)}else{var kn=vn*vn-4*hn*bn;if(isAroundZero$1(kn)){var Cn=vn/hn,wn=-Dt/At+Cn,Sn=-Cn/2;wn>=0&&wn<=1&&(qe[_n++]=wn),Sn>=0&&Sn<=1&&(qe[_n++]=Sn)}else if(kn>0){var xn=mathSqrt$3(kn),En=hn*Dt+1.5*At*(-vn+xn),Tn=hn*Dt+1.5*At*(-vn-xn);En<0?En=-mathPow$2(-En,ONE_THIRD):En=mathPow$2(En,ONE_THIRD),Tn<0?Tn=-mathPow$2(-Tn,ONE_THIRD):Tn=mathPow$2(Tn,ONE_THIRD);var wn=(-Dt-(En+Tn))/(3*At);wn>=0&&wn<=1&&(qe[_n++]=wn)}else{var An=(2*hn*Dt-3*At*vn)/(2*mathSqrt$3(hn*hn*hn)),$n=Math.acos(An)/3,Pn=mathSqrt$3(hn),Nn=Math.cos($n),wn=(-Dt-2*Pn*Nn)/(3*At),Sn=(-Dt+Pn*(Nn+THREE_SQRT*Math.sin($n)))/(3*At),Mn=(-Dt+Pn*(Nn-THREE_SQRT*Math.sin($n)))/(3*At);wn>=0&&wn<=1&&(qe[_n++]=wn),Sn>=0&&Sn<=1&&(qe[_n++]=Sn),Mn>=0&&Mn<=1&&(qe[_n++]=Mn)}}return _n}function cubicExtrema(xe,$e,Ie,Fe,Ue){var qe=6*Ie-12*$e+6*xe,At=9*$e+3*Fe-3*xe-9*Ie,Dt=3*$e-3*xe,Lt=0;if(isAroundZero$1(At)){if(isNotAroundZero$1(qe)){var jt=-Dt/qe;jt>=0&&jt<=1&&(Ue[Lt++]=jt)}}else{var hn=qe*qe-4*At*Dt;if(isAroundZero$1(hn))Ue[0]=-qe/(2*At);else if(hn>0){var vn=mathSqrt$3(hn),jt=(-qe+vn)/(2*At),bn=(-qe-vn)/(2*At);jt>=0&&jt<=1&&(Ue[Lt++]=jt),bn>=0&&bn<=1&&(Ue[Lt++]=bn)}}return Lt}function cubicSubdivide(xe,$e,Ie,Fe,Ue,qe){var At=($e-xe)*Ue+xe,Dt=(Ie-$e)*Ue+$e,Lt=(Fe-Ie)*Ue+Ie,jt=(Dt-At)*Ue+At,hn=(Lt-Dt)*Ue+Dt,vn=(hn-jt)*Ue+jt;qe[0]=xe,qe[1]=At,qe[2]=jt,qe[3]=vn,qe[4]=vn,qe[5]=hn,qe[6]=Lt,qe[7]=Fe}function cubicProjectPoint(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){var vn,bn=.005,_n=1/0,wn,kn,Cn,Sn;_v0[0]=Lt,_v0[1]=jt;for(var xn=0;xn<1;xn+=.05)_v1[0]=cubicAt(xe,Ie,Ue,At,xn),_v1[1]=cubicAt($e,Fe,qe,Dt,xn),Cn=distSquare(_v0,_v1),Cn<_n&&(vn=xn,_n=Cn);_n=1/0;for(var En=0;En<32&&!(bn=0&&Cn<_n?(vn=wn,_n=Cn):(_v2[0]=cubicAt(xe,Ie,Ue,At,kn),_v2[1]=cubicAt($e,Fe,qe,Dt,kn),Sn=distSquare(_v2,_v0),kn<=1&&Sn<_n?(vn=kn,_n=Sn):bn*=.5);return hn&&(hn[0]=cubicAt(xe,Ie,Ue,At,vn),hn[1]=cubicAt($e,Fe,qe,Dt,vn)),mathSqrt$3(_n)}function cubicLength(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){for(var jt=xe,hn=$e,vn=0,bn=1/Lt,_n=1;_n<=Lt;_n++){var wn=_n*bn,kn=cubicAt(xe,Ie,Ue,At,wn),Cn=cubicAt($e,Fe,qe,Dt,wn),Sn=kn-jt,xn=Cn-hn;vn+=Math.sqrt(Sn*Sn+xn*xn),jt=kn,hn=Cn}return vn}function quadraticAt$1(xe,$e,Ie,Fe){var Ue=1-Fe;return Ue*(Ue*xe+2*Fe*$e)+Fe*Fe*Ie}function quadraticDerivativeAt(xe,$e,Ie,Fe){return 2*((1-Fe)*($e-xe)+Fe*(Ie-$e))}function quadraticRootAt(xe,$e,Ie,Fe,Ue){var qe=xe-2*$e+Ie,At=2*($e-xe),Dt=xe-Fe,Lt=0;if(isAroundZero$1(qe)){if(isNotAroundZero$1(At)){var jt=-Dt/At;jt>=0&&jt<=1&&(Ue[Lt++]=jt)}}else{var hn=At*At-4*qe*Dt;if(isAroundZero$1(hn)){var jt=-At/(2*qe);jt>=0&&jt<=1&&(Ue[Lt++]=jt)}else if(hn>0){var vn=mathSqrt$3(hn),jt=(-At+vn)/(2*qe),bn=(-At-vn)/(2*qe);jt>=0&&jt<=1&&(Ue[Lt++]=jt),bn>=0&&bn<=1&&(Ue[Lt++]=bn)}}return Lt}function quadraticExtremum(xe,$e,Ie){var Fe=xe+Ie-2*$e;return Fe===0?.5:(xe-$e)/Fe}function quadraticSubdivide(xe,$e,Ie,Fe,Ue){var qe=($e-xe)*Fe+xe,At=(Ie-$e)*Fe+$e,Dt=(At-qe)*Fe+qe;Ue[0]=xe,Ue[1]=qe,Ue[2]=Dt,Ue[3]=Dt,Ue[4]=At,Ue[5]=Ie}function quadraticProjectPoint(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt,hn=.005,vn=1/0;_v0[0]=At,_v0[1]=Dt;for(var bn=0;bn<1;bn+=.05){_v1[0]=quadraticAt$1(xe,Ie,Ue,bn),_v1[1]=quadraticAt$1($e,Fe,qe,bn);var _n=distSquare(_v0,_v1);_n=0&&_n=1?1:cubicRootAt(0,Fe,qe,1,Lt,Dt)&&cubicAt(0,Ue,At,1,Dt[0])}}}var Clip=function(){function xe($e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=$e.life||1e3,this._delay=$e.delay||0,this.loop=$e.loop||!1,this.onframe=$e.onframe||noop,this.ondestroy=$e.ondestroy||noop,this.onrestart=$e.onrestart||noop,$e.easing&&this.setEasing($e.easing)}return xe.prototype.step=function($e,Ie){if(this._inited||(this._startTime=$e+this._delay,this._inited=!0),this._paused){this._pausedTime+=Ie;return}var Fe=this._life,Ue=$e-this._startTime-this._pausedTime,qe=Ue/Fe;qe<0&&(qe=0),qe=Math.min(qe,1);var At=this.easingFunc,Dt=At?At(qe):qe;if(this.onframe(Dt),qe===1)if(this.loop){var Lt=Ue%Fe;this._startTime=$e-Lt,this._pausedTime=0,this.onrestart()}else return!0;return!1},xe.prototype.pause=function(){this._paused=!0},xe.prototype.resume=function(){this._paused=!1},xe.prototype.setEasing=function($e){this.easing=$e,this.easingFunc=isFunction($e)?$e:easingFuncs[$e]||createCubicEasingFunc($e)},xe}(),Entry=function(){function xe($e){this.value=$e}return xe}(),LinkedList=function(){function xe(){this._len=0}return xe.prototype.insert=function($e){var Ie=new Entry($e);return this.insertEntry(Ie),Ie},xe.prototype.insertEntry=function($e){this.head?(this.tail.next=$e,$e.prev=this.tail,$e.next=null,this.tail=$e):this.head=this.tail=$e,this._len++},xe.prototype.remove=function($e){var Ie=$e.prev,Fe=$e.next;Ie?Ie.next=Fe:this.head=Fe,Fe?Fe.prev=Ie:this.tail=Ie,$e.next=$e.prev=null,this._len--},xe.prototype.len=function(){return this._len},xe.prototype.clear=function(){this.head=this.tail=null,this._len=0},xe}(),LRU=function(){function xe($e){this._list=new LinkedList,this._maxSize=10,this._map={},this._maxSize=$e}return xe.prototype.put=function($e,Ie){var Fe=this._list,Ue=this._map,qe=null;if(Ue[$e]==null){var At=Fe.len(),Dt=this._lastRemovedEntry;if(At>=this._maxSize&&At>0){var Lt=Fe.head;Fe.remove(Lt),delete Ue[Lt.key],qe=Lt.value,this._lastRemovedEntry=Lt}Dt?Dt.value=Ie:Dt=new Entry(Ie),Dt.key=$e,Fe.insertEntry(Dt),Ue[$e]=Dt}return qe},xe.prototype.get=function($e){var Ie=this._map[$e],Fe=this._list;if(Ie!=null)return Ie!==Fe.tail&&(Fe.remove(Ie),Fe.insertEntry(Ie)),Ie.value},xe.prototype.clear=function(){this._list.clear(),this._map={}},xe.prototype.len=function(){return this._list.len()},xe}(),kCSSColorTable={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function clampCssByte(xe){return xe=Math.round(xe),xe<0?0:xe>255?255:xe}function clampCssAngle(xe){return xe=Math.round(xe),xe<0?0:xe>360?360:xe}function clampCssFloat(xe){return xe<0?0:xe>1?1:xe}function parseCssInt(xe){var $e=xe;return $e.length&&$e.charAt($e.length-1)==="%"?clampCssByte(parseFloat($e)/100*255):clampCssByte(parseInt($e,10))}function parseCssFloat(xe){var $e=xe;return $e.length&&$e.charAt($e.length-1)==="%"?clampCssFloat(parseFloat($e)/100):clampCssFloat(parseFloat($e))}function cssHueToRgb(xe,$e,Ie){return Ie<0?Ie+=1:Ie>1&&(Ie-=1),Ie*6<1?xe+($e-xe)*Ie*6:Ie*2<1?$e:Ie*3<2?xe+($e-xe)*(2/3-Ie)*6:xe}function lerpNumber(xe,$e,Ie){return xe+($e-xe)*Ie}function setRgba(xe,$e,Ie,Fe,Ue){return xe[0]=$e,xe[1]=Ie,xe[2]=Fe,xe[3]=Ue,xe}function copyRgba(xe,$e){return xe[0]=$e[0],xe[1]=$e[1],xe[2]=$e[2],xe[3]=$e[3],xe}var colorCache=new LRU(20),lastRemovedArr=null;function putToCache(xe,$e){lastRemovedArr&©Rgba(lastRemovedArr,$e),lastRemovedArr=colorCache.put(xe,lastRemovedArr||$e.slice())}function parse(xe,$e){if(xe){$e=$e||[];var Ie=colorCache.get(xe);if(Ie)return copyRgba($e,Ie);xe=xe+"";var Fe=xe.replace(/ /g,"").toLowerCase();if(Fe in kCSSColorTable)return copyRgba($e,kCSSColorTable[Fe]),putToCache(xe,$e),$e;var Ue=Fe.length;if(Fe.charAt(0)==="#"){if(Ue===4||Ue===5){var qe=parseInt(Fe.slice(1,4),16);if(!(qe>=0&&qe<=4095)){setRgba($e,0,0,0,1);return}return setRgba($e,(qe&3840)>>4|(qe&3840)>>8,qe&240|(qe&240)>>4,qe&15|(qe&15)<<4,Ue===5?parseInt(Fe.slice(4),16)/15:1),putToCache(xe,$e),$e}else if(Ue===7||Ue===9){var qe=parseInt(Fe.slice(1,7),16);if(!(qe>=0&&qe<=16777215)){setRgba($e,0,0,0,1);return}return setRgba($e,(qe&16711680)>>16,(qe&65280)>>8,qe&255,Ue===9?parseInt(Fe.slice(7),16)/255:1),putToCache(xe,$e),$e}return}var At=Fe.indexOf("("),Dt=Fe.indexOf(")");if(At!==-1&&Dt+1===Ue){var Lt=Fe.substr(0,At),jt=Fe.substr(At+1,Dt-(At+1)).split(","),hn=1;switch(Lt){case"rgba":if(jt.length!==4)return jt.length===3?setRgba($e,+jt[0],+jt[1],+jt[2],1):setRgba($e,0,0,0,1);hn=parseCssFloat(jt.pop());case"rgb":if(jt.length>=3)return setRgba($e,parseCssInt(jt[0]),parseCssInt(jt[1]),parseCssInt(jt[2]),jt.length===3?hn:parseCssFloat(jt[3])),putToCache(xe,$e),$e;setRgba($e,0,0,0,1);return;case"hsla":if(jt.length!==4){setRgba($e,0,0,0,1);return}return jt[3]=parseCssFloat(jt[3]),hsla2rgba(jt,$e),putToCache(xe,$e),$e;case"hsl":if(jt.length!==3){setRgba($e,0,0,0,1);return}return hsla2rgba(jt,$e),putToCache(xe,$e),$e;default:return}}setRgba($e,0,0,0,1)}}function hsla2rgba(xe,$e){var Ie=(parseFloat(xe[0])%360+360)%360/360,Fe=parseCssFloat(xe[1]),Ue=parseCssFloat(xe[2]),qe=Ue<=.5?Ue*(Fe+1):Ue+Fe-Ue*Fe,At=Ue*2-qe;return $e=$e||[],setRgba($e,clampCssByte(cssHueToRgb(At,qe,Ie+1/3)*255),clampCssByte(cssHueToRgb(At,qe,Ie)*255),clampCssByte(cssHueToRgb(At,qe,Ie-1/3)*255),1),xe.length===4&&($e[3]=xe[3]),$e}function rgba2hsla(xe){if(xe){var $e=xe[0]/255,Ie=xe[1]/255,Fe=xe[2]/255,Ue=Math.min($e,Ie,Fe),qe=Math.max($e,Ie,Fe),At=qe-Ue,Dt=(qe+Ue)/2,Lt,jt;if(At===0)Lt=0,jt=0;else{Dt<.5?jt=At/(qe+Ue):jt=At/(2-qe-Ue);var hn=((qe-$e)/6+At/2)/At,vn=((qe-Ie)/6+At/2)/At,bn=((qe-Fe)/6+At/2)/At;$e===qe?Lt=bn-vn:Ie===qe?Lt=1/3+hn-bn:Fe===qe&&(Lt=2/3+vn-hn),Lt<0&&(Lt+=1),Lt>1&&(Lt-=1)}var _n=[Lt*360,jt,Dt];return xe[3]!=null&&_n.push(xe[3]),_n}}function lift(xe,$e){var Ie=parse(xe);if(Ie){for(var Fe=0;Fe<3;Fe++)$e<0?Ie[Fe]=Ie[Fe]*(1-$e)|0:Ie[Fe]=(255-Ie[Fe])*$e+Ie[Fe]|0,Ie[Fe]>255?Ie[Fe]=255:Ie[Fe]<0&&(Ie[Fe]=0);return stringify(Ie,Ie.length===4?"rgba":"rgb")}}function fastLerp(xe,$e,Ie){if(!(!($e&&$e.length)||!(xe>=0&&xe<=1))){Ie=Ie||[];var Fe=xe*($e.length-1),Ue=Math.floor(Fe),qe=Math.ceil(Fe),At=$e[Ue],Dt=$e[qe],Lt=Fe-Ue;return Ie[0]=clampCssByte(lerpNumber(At[0],Dt[0],Lt)),Ie[1]=clampCssByte(lerpNumber(At[1],Dt[1],Lt)),Ie[2]=clampCssByte(lerpNumber(At[2],Dt[2],Lt)),Ie[3]=clampCssFloat(lerpNumber(At[3],Dt[3],Lt)),Ie}}function lerp(xe,$e,Ie){if(!(!($e&&$e.length)||!(xe>=0&&xe<=1))){var Fe=xe*($e.length-1),Ue=Math.floor(Fe),qe=Math.ceil(Fe),At=parse($e[Ue]),Dt=parse($e[qe]),Lt=Fe-Ue,jt=stringify([clampCssByte(lerpNumber(At[0],Dt[0],Lt)),clampCssByte(lerpNumber(At[1],Dt[1],Lt)),clampCssByte(lerpNumber(At[2],Dt[2],Lt)),clampCssFloat(lerpNumber(At[3],Dt[3],Lt))],"rgba");return Ie?{color:jt,leftIndex:Ue,rightIndex:qe,value:Fe}:jt}}function modifyHSL(xe,$e,Ie,Fe){var Ue=parse(xe);if(xe)return Ue=rgba2hsla(Ue),$e!=null&&(Ue[0]=clampCssAngle($e)),Ie!=null&&(Ue[1]=parseCssFloat(Ie)),Fe!=null&&(Ue[2]=parseCssFloat(Fe)),stringify(hsla2rgba(Ue),"rgba")}function modifyAlpha(xe,$e){var Ie=parse(xe);if(Ie&&$e!=null)return Ie[3]=clampCssFloat($e),stringify(Ie,"rgba")}function stringify(xe,$e){if(!(!xe||!xe.length)){var Ie=xe[0]+","+xe[1]+","+xe[2];return($e==="rgba"||$e==="hsva"||$e==="hsla")&&(Ie+=","+xe[3]),$e+"("+Ie+")"}}function lum(xe,$e){var Ie=parse(xe);return Ie?(.299*Ie[0]+.587*Ie[1]+.114*Ie[2])*Ie[3]/255+(1-Ie[3])*$e:0}var liftedColorCache=new LRU(100);function liftColor(xe){if(isString(xe)){var $e=liftedColorCache.get(xe);return $e||($e=lift(xe,-.1),liftedColorCache.put(xe,$e)),$e}else if(isGradientObject(xe)){var Ie=extend({},xe);return Ie.colorStops=map$1(xe.colorStops,function(Fe){return{offset:Fe.offset,color:lift(Fe.color,-.1)}}),Ie}return xe}var mathRound$1=Math.round;function normalizeColor(xe){var $e;if(!xe||xe==="transparent")xe="none";else if(typeof xe=="string"&&xe.indexOf("rgba")>-1){var Ie=parse(xe);Ie&&(xe="rgb("+Ie[0]+","+Ie[1]+","+Ie[2]+")",$e=Ie[3])}return{color:xe,opacity:$e??1}}var EPSILON$3=1e-4;function isAroundZero(xe){return xe-EPSILON$3}function round3(xe){return mathRound$1(xe*1e3)/1e3}function round4(xe){return mathRound$1(xe*1e4)/1e4}function getMatrixStr(xe){return"matrix("+round3(xe[0])+","+round3(xe[1])+","+round3(xe[2])+","+round3(xe[3])+","+round4(xe[4])+","+round4(xe[5])+")"}var TEXT_ALIGN_TO_ANCHOR={left:"start",right:"end",center:"middle",middle:"middle"};function adjustTextY$1(xe,$e,Ie){return Ie==="top"?xe+=$e/2:Ie==="bottom"&&(xe-=$e/2),xe}function hasShadow(xe){return xe&&(xe.shadowBlur||xe.shadowOffsetX||xe.shadowOffsetY)}function getShadowKey(xe){var $e=xe.style,Ie=xe.getGlobalScale();return[$e.shadowColor,($e.shadowBlur||0).toFixed(2),($e.shadowOffsetX||0).toFixed(2),($e.shadowOffsetY||0).toFixed(2),Ie[0],Ie[1]].join(",")}function isImagePattern(xe){return xe&&!!xe.image}function isSVGPattern(xe){return xe&&!!xe.svgElement}function isPattern(xe){return isImagePattern(xe)||isSVGPattern(xe)}function isLinearGradient(xe){return xe.type==="linear"}function isRadialGradient(xe){return xe.type==="radial"}function isGradient(xe){return xe&&(xe.type==="linear"||xe.type==="radial")}function getIdURL(xe){return"url(#"+xe+")"}function getPathPrecision(xe){var $e=xe.getGlobalScale(),Ie=Math.max($e[0],$e[1]);return Math.max(Math.ceil(Math.log(Ie)/Math.log(10)),1)}function getSRTTransformString(xe){var $e=xe.x||0,Ie=xe.y||0,Fe=(xe.rotation||0)*RADIAN_TO_DEGREE,Ue=retrieve2(xe.scaleX,1),qe=retrieve2(xe.scaleY,1),At=xe.skewX||0,Dt=xe.skewY||0,Lt=[];return($e||Ie)&&Lt.push("translate("+$e+"px,"+Ie+"px)"),Fe&&Lt.push("rotate("+Fe+")"),(Ue!==1||qe!==1)&&Lt.push("scale("+Ue+","+qe+")"),(At||Dt)&&Lt.push("skew("+mathRound$1(At*RADIAN_TO_DEGREE)+"deg, "+mathRound$1(Dt*RADIAN_TO_DEGREE)+"deg)"),Lt.join(" ")}var encodeBase64=function(){return env.hasGlobalWindow&&isFunction(window.btoa)?function(xe){return window.btoa(unescape(encodeURIComponent(xe)))}:typeof Buffer<"u"?function(xe){return Buffer.from(xe).toString("base64")}:function(xe){return null}}(),arraySlice=Array.prototype.slice;function interpolateNumber$1(xe,$e,Ie){return($e-xe)*Ie+xe}function interpolate1DArray(xe,$e,Ie,Fe){for(var Ue=$e.length,qe=0;qeFe?$e:xe,qe=Math.min(Ie,Fe),At=Ue[qe-1]||{color:[0,0,0,0],offset:0},Dt=qe;DtAt;if(Dt)Fe.length=At;else for(var Lt=qe;Lt=1},xe.prototype.getAdditiveTrack=function(){return this._additiveTrack},xe.prototype.addKeyframe=function($e,Ie,Fe){this._needsSort=!0;var Ue=this.keyframes,qe=Ue.length,At=!1,Dt=VALUE_TYPE_UNKOWN,Lt=Ie;if(isArrayLike(Ie)){var jt=guessArrayDim(Ie);Dt=jt,(jt===1&&!isNumber(Ie[0])||jt===2&&!isNumber(Ie[0][0]))&&(At=!0)}else if(isNumber(Ie)&&!eqNaN(Ie))Dt=VALUE_TYPE_NUMBER;else if(isString(Ie))if(!isNaN(+Ie))Dt=VALUE_TYPE_NUMBER;else{var hn=parse(Ie);hn&&(Lt=hn,Dt=VALUE_TYPE_COLOR)}else if(isGradientObject(Ie)){var vn=extend({},Lt);vn.colorStops=map$1(Ie.colorStops,function(_n){return{offset:_n.offset,color:parse(_n.color)}}),isLinearGradient(Ie)?Dt=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(Ie)&&(Dt=VALUE_TYPE_RADIAL_GRADIENT),Lt=vn}qe===0?this.valType=Dt:(Dt!==this.valType||Dt===VALUE_TYPE_UNKOWN)&&(At=!0),this.discrete=this.discrete||At;var bn={time:$e,value:Lt,rawValue:Ie,percent:0};return Fe&&(bn.easing=Fe,bn.easingFunc=isFunction(Fe)?Fe:easingFuncs[Fe]||createCubicEasingFunc(Fe)),Ue.push(bn),bn},xe.prototype.prepare=function($e,Ie){var Fe=this.keyframes;this._needsSort&&Fe.sort(function(kn,Cn){return kn.time-Cn.time});for(var Ue=this.valType,qe=Fe.length,At=Fe[qe-1],Dt=this.discrete,Lt=isArrayValueType(Ue),jt=isGradientValueType(Ue),hn=0;hn=0&&!(At[hn].percent<=Ie);hn--);hn=bn(hn,Dt-2)}else{for(hn=vn;hnIe);hn++);hn=bn(hn-1,Dt-2)}wn=At[hn+1],_n=At[hn]}if(_n&&wn){this._lastFr=hn,this._lastFrP=Ie;var Cn=wn.percent-_n.percent,Sn=Cn===0?1:bn((Ie-_n.percent)/Cn,1);wn.easingFunc&&(Sn=wn.easingFunc(Sn));var xn=Fe?this._additiveValue:jt?tmpRgba:$e[Lt];if((isArrayValueType(qe)||jt)&&!xn&&(xn=this._additiveValue=[]),this.discrete)$e[Lt]=Sn<1?_n.rawValue:wn.rawValue;else if(isArrayValueType(qe))qe===VALUE_TYPE_1D_ARRAY?interpolate1DArray(xn,_n[Ue],wn[Ue],Sn):interpolate2DArray(xn,_n[Ue],wn[Ue],Sn);else if(isGradientValueType(qe)){var En=_n[Ue],Tn=wn[Ue],An=qe===VALUE_TYPE_LINEAR_GRADIENT;$e[Lt]={type:An?"linear":"radial",x:interpolateNumber$1(En.x,Tn.x,Sn),y:interpolateNumber$1(En.y,Tn.y,Sn),colorStops:map$1(En.colorStops,function(Pn,Nn){var Mn=Tn.colorStops[Nn];return{offset:interpolateNumber$1(Pn.offset,Mn.offset,Sn),color:rgba2String(interpolate1DArray([],Pn.color,Mn.color,Sn))}}),global:Tn.global},An?($e[Lt].x2=interpolateNumber$1(En.x2,Tn.x2,Sn),$e[Lt].y2=interpolateNumber$1(En.y2,Tn.y2,Sn)):$e[Lt].r=interpolateNumber$1(En.r,Tn.r,Sn)}else if(jt)interpolate1DArray(xn,_n[Ue],wn[Ue],Sn),Fe||($e[Lt]=rgba2String(xn));else{var $n=interpolateNumber$1(_n[Ue],wn[Ue],Sn);Fe?this._additiveValue=$n:$e[Lt]=$n}Fe&&this._addToTarget($e)}}},xe.prototype._addToTarget=function($e){var Ie=this.valType,Fe=this.propName,Ue=this._additiveValue;Ie===VALUE_TYPE_NUMBER?$e[Fe]=$e[Fe]+Ue:Ie===VALUE_TYPE_COLOR?(parse($e[Fe],tmpRgba),add1DArray(tmpRgba,tmpRgba,Ue,1),$e[Fe]=rgba2String(tmpRgba)):Ie===VALUE_TYPE_1D_ARRAY?add1DArray($e[Fe],$e[Fe],Ue,1):Ie===VALUE_TYPE_2D_ARRAY&&add2DArray($e[Fe],$e[Fe],Ue,1)},xe}(),Animator=function(){function xe($e,Ie,Fe,Ue){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=$e,this._loop=Ie,Ie&&Ue){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=Ue,this._allowDiscrete=Fe}return xe.prototype.getMaxTime=function(){return this._maxTime},xe.prototype.getDelay=function(){return this._delay},xe.prototype.getLoop=function(){return this._loop},xe.prototype.getTarget=function(){return this._target},xe.prototype.changeTarget=function($e){this._target=$e},xe.prototype.when=function($e,Ie,Fe){return this.whenWithKeys($e,Ie,keys(Ie),Fe)},xe.prototype.whenWithKeys=function($e,Ie,Fe,Ue){for(var qe=this._tracks,At=0;At0&&Lt.addKeyframe(0,cloneValue(jt),Ue),this._trackKeys.push(Dt)}Lt.addKeyframe($e,cloneValue(Ie[Dt]),Ue)}return this._maxTime=Math.max(this._maxTime,$e),this},xe.prototype.pause=function(){this._clip.pause(),this._paused=!0},xe.prototype.resume=function(){this._clip.resume(),this._paused=!1},xe.prototype.isPaused=function(){return!!this._paused},xe.prototype.duration=function($e){return this._maxTime=$e,this._force=!0,this},xe.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var $e=this._doneCbs;if($e)for(var Ie=$e.length,Fe=0;Fe0)){this._started=1;for(var Ie=this,Fe=[],Ue=this._maxTime||0,qe=0;qe1){var Dt=At.pop();qe.addKeyframe(Dt.time,$e[Ue]),qe.prepare(this._maxTime,qe.getAdditiveTrack())}}}},xe}();function getTime(){return new Date().getTime()}var Animation=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe._running=!1,Fe._time=0,Fe._pausedTime=0,Fe._pauseStart=0,Fe._paused=!1,Ie=Ie||{},Fe.stage=Ie.stage||{},Fe}return $e.prototype.addClip=function(Ie){Ie.animation&&this.removeClip(Ie),this._head?(this._tail.next=Ie,Ie.prev=this._tail,Ie.next=null,this._tail=Ie):this._head=this._tail=Ie,Ie.animation=this},$e.prototype.addAnimator=function(Ie){Ie.animation=this;var Fe=Ie.getClip();Fe&&this.addClip(Fe)},$e.prototype.removeClip=function(Ie){if(Ie.animation){var Fe=Ie.prev,Ue=Ie.next;Fe?Fe.next=Ue:this._head=Ue,Ue?Ue.prev=Fe:this._tail=Fe,Ie.next=Ie.prev=Ie.animation=null}},$e.prototype.removeAnimator=function(Ie){var Fe=Ie.getClip();Fe&&this.removeClip(Fe),Ie.animation=null},$e.prototype.update=function(Ie){for(var Fe=getTime()-this._pausedTime,Ue=Fe-this._time,qe=this._head;qe;){var At=qe.next,Dt=qe.step(Fe,Ue);Dt&&(qe.ondestroy(),this.removeClip(qe)),qe=At}this._time=Fe,Ie||(this.trigger("frame",Ue),this.stage.update&&this.stage.update())},$e.prototype._startLoop=function(){var Ie=this;this._running=!0;function Fe(){Ie._running&&(requestAnimationFrame$2(Fe),!Ie._paused&&Ie.update())}requestAnimationFrame$2(Fe)},$e.prototype.start=function(){this._running||(this._time=getTime(),this._pausedTime=0,this._startLoop())},$e.prototype.stop=function(){this._running=!1},$e.prototype.pause=function(){this._paused||(this._pauseStart=getTime(),this._paused=!0)},$e.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime()-this._pauseStart,this._paused=!1)},$e.prototype.clear=function(){for(var Ie=this._head;Ie;){var Fe=Ie.next;Ie.prev=Ie.next=Ie.animation=null,Ie=Fe}this._head=this._tail=null},$e.prototype.isFinished=function(){return this._head==null},$e.prototype.animate=function(Ie,Fe){Fe=Fe||{},this.start();var Ue=new Animator(Ie,Fe.loop);return this.addAnimator(Ue),Ue},$e}(Eventful),TOUCH_CLICK_DELAY=300,globalEventSupported=env.domSupported,localNativeListenerNames=function(){var xe=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],$e=["touchstart","touchend","touchmove"],Ie={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},Fe=map$1(xe,function(Ue){var qe=Ue.replace("mouse","pointer");return Ie.hasOwnProperty(qe)?qe:Ue});return{mouse:xe,touch:$e,pointer:Fe}}(),globalNativeListenerNames={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},wheelEventSupported=!1;function isPointerFromTouch(xe){var $e=xe.pointerType;return $e==="pen"||$e==="touch"}function setTouchTimer(xe){xe.touching=!0,xe.touchTimer!=null&&(clearTimeout(xe.touchTimer),xe.touchTimer=null),xe.touchTimer=setTimeout(function(){xe.touching=!1,xe.touchTimer=null},700)}function markTouch(xe){xe&&(xe.zrByTouch=!0)}function normalizeGlobalEvent(xe,$e){return normalizeEvent(xe.dom,new FakeGlobalEvent(xe,$e),!0)}function isLocalEl(xe,$e){for(var Ie=$e,Fe=!1;Ie&&Ie.nodeType!==9&&!(Fe=Ie.domBelongToZr||Ie!==$e&&Ie===xe.painterRoot);)Ie=Ie.parentNode;return Fe}var FakeGlobalEvent=function(){function xe($e,Ie){this.stopPropagation=noop,this.stopImmediatePropagation=noop,this.preventDefault=noop,this.type=Ie.type,this.target=this.currentTarget=$e.dom,this.pointerType=Ie.pointerType,this.clientX=Ie.clientX,this.clientY=Ie.clientY}return xe}(),localDOMHandlers={mousedown:function(xe){xe=normalizeEvent(this.dom,xe),this.__mayPointerCapture=[xe.zrX,xe.zrY],this.trigger("mousedown",xe)},mousemove:function(xe){xe=normalizeEvent(this.dom,xe);var $e=this.__mayPointerCapture;$e&&(xe.zrX!==$e[0]||xe.zrY!==$e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",xe)},mouseup:function(xe){xe=normalizeEvent(this.dom,xe),this.__togglePointerCapture(!1),this.trigger("mouseup",xe)},mouseout:function(xe){xe=normalizeEvent(this.dom,xe);var $e=xe.toElement||xe.relatedTarget;isLocalEl(this,$e)||(this.__pointerCapturing&&(xe.zrEventControl="no_globalout"),this.trigger("mouseout",xe))},wheel:function(xe){wheelEventSupported=!0,xe=normalizeEvent(this.dom,xe),this.trigger("mousewheel",xe)},mousewheel:function(xe){wheelEventSupported||(xe=normalizeEvent(this.dom,xe),this.trigger("mousewheel",xe))},touchstart:function(xe){xe=normalizeEvent(this.dom,xe),markTouch(xe),this.__lastTouchMoment=new Date,this.handler.processGesture(xe,"start"),localDOMHandlers.mousemove.call(this,xe),localDOMHandlers.mousedown.call(this,xe)},touchmove:function(xe){xe=normalizeEvent(this.dom,xe),markTouch(xe),this.handler.processGesture(xe,"change"),localDOMHandlers.mousemove.call(this,xe)},touchend:function(xe){xe=normalizeEvent(this.dom,xe),markTouch(xe),this.handler.processGesture(xe,"end"),localDOMHandlers.mouseup.call(this,xe),+new Date-+this.__lastTouchMomentEPSILON$2||xe<-EPSILON$2}var scaleTmp=[],tmpTransform=[],originTransform=create$1(),abs=Math.abs,Transformable=function(){function xe(){}return xe.prototype.getLocalTransform=function($e){return xe.getLocalTransform(this,$e)},xe.prototype.setPosition=function($e){this.x=$e[0],this.y=$e[1]},xe.prototype.setScale=function($e){this.scaleX=$e[0],this.scaleY=$e[1]},xe.prototype.setSkew=function($e){this.skewX=$e[0],this.skewY=$e[1]},xe.prototype.setOrigin=function($e){this.originX=$e[0],this.originY=$e[1]},xe.prototype.needLocalTransform=function(){return isNotAroundZero(this.rotation)||isNotAroundZero(this.x)||isNotAroundZero(this.y)||isNotAroundZero(this.scaleX-1)||isNotAroundZero(this.scaleY-1)||isNotAroundZero(this.skewX)||isNotAroundZero(this.skewY)},xe.prototype.updateTransform=function(){var $e=this.parent&&this.parent.transform,Ie=this.needLocalTransform(),Fe=this.transform;if(!(Ie||$e)){Fe&&(mIdentity(Fe),this.invTransform=null);return}Fe=Fe||create$1(),Ie?this.getLocalTransform(Fe):mIdentity(Fe),$e&&(Ie?mul(Fe,$e,Fe):copy(Fe,$e)),this.transform=Fe,this._resolveGlobalScaleRatio(Fe)},xe.prototype._resolveGlobalScaleRatio=function($e){var Ie=this.globalScaleRatio;if(Ie!=null&&Ie!==1){this.getGlobalScale(scaleTmp);var Fe=scaleTmp[0]<0?-1:1,Ue=scaleTmp[1]<0?-1:1,qe=((scaleTmp[0]-Fe)*Ie+Fe)/scaleTmp[0]||0,At=((scaleTmp[1]-Ue)*Ie+Ue)/scaleTmp[1]||0;$e[0]*=qe,$e[1]*=qe,$e[2]*=At,$e[3]*=At}this.invTransform=this.invTransform||create$1(),invert(this.invTransform,$e)},xe.prototype.getComputedTransform=function(){for(var $e=this,Ie=[];$e;)Ie.push($e),$e=$e.parent;for(;$e=Ie.pop();)$e.updateTransform();return this.transform},xe.prototype.setLocalTransform=function($e){if($e){var Ie=$e[0]*$e[0]+$e[1]*$e[1],Fe=$e[2]*$e[2]+$e[3]*$e[3],Ue=Math.atan2($e[1],$e[0]),qe=Math.PI/2+Ue-Math.atan2($e[3],$e[2]);Fe=Math.sqrt(Fe)*Math.cos(qe),Ie=Math.sqrt(Ie),this.skewX=qe,this.skewY=0,this.rotation=-Ue,this.x=+$e[4],this.y=+$e[5],this.scaleX=Ie,this.scaleY=Fe,this.originX=0,this.originY=0}},xe.prototype.decomposeTransform=function(){if(this.transform){var $e=this.parent,Ie=this.transform;$e&&$e.transform&&($e.invTransform=$e.invTransform||create$1(),mul(tmpTransform,$e.invTransform,Ie),Ie=tmpTransform);var Fe=this.originX,Ue=this.originY;(Fe||Ue)&&(originTransform[4]=Fe,originTransform[5]=Ue,mul(tmpTransform,Ie,originTransform),tmpTransform[4]-=Fe,tmpTransform[5]-=Ue,Ie=tmpTransform),this.setLocalTransform(Ie)}},xe.prototype.getGlobalScale=function($e){var Ie=this.transform;return $e=$e||[],Ie?($e[0]=Math.sqrt(Ie[0]*Ie[0]+Ie[1]*Ie[1]),$e[1]=Math.sqrt(Ie[2]*Ie[2]+Ie[3]*Ie[3]),Ie[0]<0&&($e[0]=-$e[0]),Ie[3]<0&&($e[1]=-$e[1]),$e):($e[0]=1,$e[1]=1,$e)},xe.prototype.transformCoordToLocal=function($e,Ie){var Fe=[$e,Ie],Ue=this.invTransform;return Ue&&applyTransform$1(Fe,Fe,Ue),Fe},xe.prototype.transformCoordToGlobal=function($e,Ie){var Fe=[$e,Ie],Ue=this.transform;return Ue&&applyTransform$1(Fe,Fe,Ue),Fe},xe.prototype.getLineScale=function(){var $e=this.transform;return $e&&abs($e[0]-1)>1e-10&&abs($e[3]-1)>1e-10?Math.sqrt(abs($e[0]*$e[3]-$e[2]*$e[1])):1},xe.prototype.copyTransform=function($e){copyTransform(this,$e)},xe.getLocalTransform=function($e,Ie){Ie=Ie||[];var Fe=$e.originX||0,Ue=$e.originY||0,qe=$e.scaleX,At=$e.scaleY,Dt=$e.anchorX,Lt=$e.anchorY,jt=$e.rotation||0,hn=$e.x,vn=$e.y,bn=$e.skewX?Math.tan($e.skewX):0,_n=$e.skewY?Math.tan(-$e.skewY):0;if(Fe||Ue||Dt||Lt){var wn=Fe+Dt,kn=Ue+Lt;Ie[4]=-wn*qe-bn*kn*At,Ie[5]=-kn*At-_n*wn*qe}else Ie[4]=Ie[5]=0;return Ie[0]=qe,Ie[3]=At,Ie[1]=_n*qe,Ie[2]=bn*At,jt&&rotate(Ie,Ie,jt),Ie[4]+=Fe+hn,Ie[5]+=Ue+vn,Ie},xe.initDefaultProps=function(){var $e=xe.prototype;$e.scaleX=$e.scaleY=$e.globalScaleRatio=1,$e.x=$e.y=$e.originX=$e.originY=$e.skewX=$e.skewY=$e.rotation=$e.anchorX=$e.anchorY=0}(),xe}(),TRANSFORMABLE_PROPS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform(xe,$e){for(var Ie=0;Ie=0?parseFloat(xe)/100*$e:parseFloat(xe):xe}function calculateTextPosition(xe,$e,Ie){var Fe=$e.position||"inside",Ue=$e.distance!=null?$e.distance:5,qe=Ie.height,At=Ie.width,Dt=qe/2,Lt=Ie.x,jt=Ie.y,hn="left",vn="top";if(Fe instanceof Array)Lt+=parsePercent$1(Fe[0],Ie.width),jt+=parsePercent$1(Fe[1],Ie.height),hn=null,vn=null;else switch(Fe){case"left":Lt-=Ue,jt+=Dt,hn="right",vn="middle";break;case"right":Lt+=Ue+At,jt+=Dt,vn="middle";break;case"top":Lt+=At/2,jt-=Ue,hn="center",vn="bottom";break;case"bottom":Lt+=At/2,jt+=qe+Ue,hn="center";break;case"inside":Lt+=At/2,jt+=Dt,hn="center",vn="middle";break;case"insideLeft":Lt+=Ue,jt+=Dt,vn="middle";break;case"insideRight":Lt+=At-Ue,jt+=Dt,hn="right",vn="middle";break;case"insideTop":Lt+=At/2,jt+=Ue,hn="center";break;case"insideBottom":Lt+=At/2,jt+=qe-Ue,hn="center",vn="bottom";break;case"insideTopLeft":Lt+=Ue,jt+=Ue;break;case"insideTopRight":Lt+=At-Ue,jt+=Ue,hn="right";break;case"insideBottomLeft":Lt+=Ue,jt+=qe-Ue,vn="bottom";break;case"insideBottomRight":Lt+=At-Ue,jt+=qe-Ue,hn="right",vn="bottom";break}return xe=xe||{},xe.x=Lt,xe.y=jt,xe.align=hn,xe.verticalAlign=vn,xe}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,function(xe,$e){return xe[$e]=!0,xe},{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect(0,0,0,0),Element$1=function(){function xe($e){this.id=guid(),this.animators=[],this.currentStates=[],this.states={},this._init($e)}return xe.prototype._init=function($e){this.attr($e)},xe.prototype.drift=function($e,Ie,Fe){switch(this.draggable){case"horizontal":Ie=0;break;case"vertical":$e=0;break}var Ue=this.transform;Ue||(Ue=this.transform=[1,0,0,1,0,0]),Ue[4]+=$e,Ue[5]+=Ie,this.decomposeTransform(),this.markRedraw()},xe.prototype.beforeUpdate=function(){},xe.prototype.afterUpdate=function(){},xe.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},xe.prototype.updateInnerText=function($e){var Ie=this._textContent;if(Ie&&(!Ie.ignore||$e)){this.textConfig||(this.textConfig={});var Fe=this.textConfig,Ue=Fe.local,qe=Ie.innerTransformable,At=void 0,Dt=void 0,Lt=!1;qe.parent=Ue?this:null;var jt=!1;if(qe.copyTransform(Ie),Fe.position!=null){var hn=tmpBoundingRect;Fe.layoutRect?hn.copy(Fe.layoutRect):hn.copy(this.getBoundingRect()),Ue||hn.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,Fe,hn):calculateTextPosition(tmpTextPosCalcRes,Fe,hn),qe.x=tmpTextPosCalcRes.x,qe.y=tmpTextPosCalcRes.y,At=tmpTextPosCalcRes.align,Dt=tmpTextPosCalcRes.verticalAlign;var vn=Fe.origin;if(vn&&Fe.rotation!=null){var bn=void 0,_n=void 0;vn==="center"?(bn=hn.width*.5,_n=hn.height*.5):(bn=parsePercent$1(vn[0],hn.width),_n=parsePercent$1(vn[1],hn.height)),jt=!0,qe.originX=-qe.x+bn+(Ue?0:hn.x),qe.originY=-qe.y+_n+(Ue?0:hn.y)}}Fe.rotation!=null&&(qe.rotation=Fe.rotation);var wn=Fe.offset;wn&&(qe.x+=wn[0],qe.y+=wn[1],jt||(qe.originX=-wn[0],qe.originY=-wn[1]));var kn=Fe.inside==null?typeof Fe.position=="string"&&Fe.position.indexOf("inside")>=0:Fe.inside,Cn=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),Sn=void 0,xn=void 0,En=void 0;kn&&this.canBeInsideText()?(Sn=Fe.insideFill,xn=Fe.insideStroke,(Sn==null||Sn==="auto")&&(Sn=this.getInsideTextFill()),(xn==null||xn==="auto")&&(xn=this.getInsideTextStroke(Sn),En=!0)):(Sn=Fe.outsideFill,xn=Fe.outsideStroke,(Sn==null||Sn==="auto")&&(Sn=this.getOutsideFill()),(xn==null||xn==="auto")&&(xn=this.getOutsideStroke(Sn),En=!0)),Sn=Sn||"#000",(Sn!==Cn.fill||xn!==Cn.stroke||En!==Cn.autoStroke||At!==Cn.align||Dt!==Cn.verticalAlign)&&(Lt=!0,Cn.fill=Sn,Cn.stroke=xn,Cn.autoStroke=En,Cn.align=At,Cn.verticalAlign=Dt,Ie.setDefaultTextStyle(Cn)),Ie.__dirty|=REDRAW_BIT,Lt&&Ie.dirtyStyle(!0)}},xe.prototype.canBeInsideText=function(){return!0},xe.prototype.getInsideTextFill=function(){return"#fff"},xe.prototype.getInsideTextStroke=function($e){return"#000"},xe.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},xe.prototype.getOutsideStroke=function($e){var Ie=this.__zr&&this.__zr.getBackgroundColor(),Fe=typeof Ie=="string"&&parse(Ie);Fe||(Fe=[255,255,255,1]);for(var Ue=Fe[3],qe=this.__zr.isDarkMode(),At=0;At<3;At++)Fe[At]=Fe[At]*Ue+(qe?0:255)*(1-Ue);return Fe[3]=1,stringify(Fe,"rgba")},xe.prototype.traverse=function($e,Ie){},xe.prototype.attrKV=function($e,Ie){$e==="textConfig"?this.setTextConfig(Ie):$e==="textContent"?this.setTextContent(Ie):$e==="clipPath"?this.setClipPath(Ie):$e==="extra"?(this.extra=this.extra||{},extend(this.extra,Ie)):this[$e]=Ie},xe.prototype.hide=function(){this.ignore=!0,this.markRedraw()},xe.prototype.show=function(){this.ignore=!1,this.markRedraw()},xe.prototype.attr=function($e,Ie){if(typeof $e=="string")this.attrKV($e,Ie);else if(isObject$3($e))for(var Fe=$e,Ue=keys(Fe),qe=0;qe0},xe.prototype.getState=function($e){return this.states[$e]},xe.prototype.ensureState=function($e){var Ie=this.states;return Ie[$e]||(Ie[$e]={}),Ie[$e]},xe.prototype.clearStates=function($e){this.useState(PRESERVED_NORMAL_STATE,!1,$e)},xe.prototype.useState=function($e,Ie,Fe,Ue){var qe=$e===PRESERVED_NORMAL_STATE,At=this.hasState();if(!(!At&&qe)){var Dt=this.currentStates,Lt=this.stateTransition;if(!(indexOf(Dt,$e)>=0&&(Ie||Dt.length===1))){var jt;if(this.stateProxy&&!qe&&(jt=this.stateProxy($e)),jt||(jt=this.states&&this.states[$e]),!jt&&!qe){logError("State "+$e+" not exists.");return}qe||this.saveCurrentToNormalState(jt);var hn=!!(jt&&jt.hoverLayer||Ue);hn&&this._toggleHoverLayerFlag(!0),this._applyStateObj($e,jt,this._normalState,Ie,!Fe&&!this.__inHover&&Lt&&Lt.duration>0,Lt);var vn=this._textContent,bn=this._textGuide;return vn&&vn.useState($e,Ie,Fe,hn),bn&&bn.useState($e,Ie,Fe,hn),qe?(this.currentStates=[],this._normalState={}):Ie?this.currentStates.push($e):this.currentStates=[$e],this._updateAnimationTargets(),this.markRedraw(),!hn&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),jt}}},xe.prototype.useStates=function($e,Ie,Fe){if(!$e.length)this.clearStates();else{var Ue=[],qe=this.currentStates,At=$e.length,Dt=At===qe.length;if(Dt){for(var Lt=0;Lt0,wn);var kn=this._textContent,Cn=this._textGuide;kn&&kn.useStates($e,Ie,bn),Cn&&Cn.useStates($e,Ie,bn),this._updateAnimationTargets(),this.currentStates=$e.slice(),this.markRedraw(),!bn&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},xe.prototype.isSilent=function(){for(var $e=this.silent,Ie=this.parent;!$e&&Ie;){if(Ie.silent){$e=!0;break}Ie=Ie.parent}return $e},xe.prototype._updateAnimationTargets=function(){for(var $e=0;$e=0){var Fe=this.currentStates.slice();Fe.splice(Ie,1),this.useStates(Fe)}},xe.prototype.replaceState=function($e,Ie,Fe){var Ue=this.currentStates.slice(),qe=indexOf(Ue,$e),At=indexOf(Ue,Ie)>=0;qe>=0?At?Ue.splice(qe,1):Ue[qe]=Ie:Fe&&!At&&Ue.push(Ie),this.useStates(Ue)},xe.prototype.toggleState=function($e,Ie){Ie?this.useState($e,!0):this.removeState($e)},xe.prototype._mergeStates=function($e){for(var Ie={},Fe,Ue=0;Ue<$e.length;Ue++){var qe=$e[Ue];extend(Ie,qe),qe.textConfig&&(Fe=Fe||{},extend(Fe,qe.textConfig))}return Fe&&(Ie.textConfig=Fe),Ie},xe.prototype._applyStateObj=function($e,Ie,Fe,Ue,qe,At){var Dt=!(Ie&&Ue);Ie&&Ie.textConfig?(this.textConfig=extend({},Ue?this.textConfig:Fe.textConfig),extend(this.textConfig,Ie.textConfig)):Dt&&Fe.textConfig&&(this.textConfig=Fe.textConfig);for(var Lt={},jt=!1,hn=0;hn=0&&qe.splice(At,1)}),this.animators.push($e),Fe&&Fe.animation.addAnimator($e),Fe&&Fe.wakeUp()},xe.prototype.updateDuringAnimation=function($e){this.markRedraw()},xe.prototype.stopAnimation=function($e,Ie){for(var Fe=this.animators,Ue=Fe.length,qe=[],At=0;At0&&Ie.during&&qe[0].during(function(wn,kn){Ie.during(kn)});for(var bn=0;bn0||Ue.force&&!At.length){var Nn=void 0,Mn=void 0,In=void 0;if(Dt){Mn={},bn&&(Nn={});for(var Tn=0;Tn=0&&(Ue.splice(qe,0,Ie),this._doAdd(Ie))}return this},$e.prototype.replace=function(Ie,Fe){var Ue=indexOf(this._children,Ie);return Ue>=0&&this.replaceAt(Fe,Ue),this},$e.prototype.replaceAt=function(Ie,Fe){var Ue=this._children,qe=Ue[Fe];if(Ie&&Ie!==this&&Ie.parent!==this&&Ie!==qe){Ue[Fe]=Ie,qe.parent=null;var At=this.__zr;At&&qe.removeSelfFromZr(At),this._doAdd(Ie)}return this},$e.prototype._doAdd=function(Ie){Ie.parent&&Ie.parent.remove(Ie),Ie.parent=this;var Fe=this.__zr;Fe&&Fe!==Ie.__zr&&Ie.addSelfToZr(Fe),Fe&&Fe.refresh()},$e.prototype.remove=function(Ie){var Fe=this.__zr,Ue=this._children,qe=indexOf(Ue,Ie);return qe<0?this:(Ue.splice(qe,1),Ie.parent=null,Fe&&Ie.removeSelfFromZr(Fe),Fe&&Fe.refresh(),this)},$e.prototype.removeAll=function(){for(var Ie=this._children,Fe=this.__zr,Ue=0;Ue0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},xe.prototype.setSleepAfterStill=function($e){this._sleepAfterStill=$e},xe.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},xe.prototype.refreshHover=function(){this._needsRefreshHover=!0},xe.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},xe.prototype.resize=function($e){this._disposed||($e=$e||{},this.painter.resize($e.width,$e.height),this.handler.resize())},xe.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},xe.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},xe.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},xe.prototype.setCursorStyle=function($e){this._disposed||this.handler.setCursorStyle($e)},xe.prototype.findHover=function($e,Ie){if(!this._disposed)return this.handler.findHover($e,Ie)},xe.prototype.on=function($e,Ie,Fe){return this._disposed||this.handler.on($e,Ie,Fe),this},xe.prototype.off=function($e,Ie){this._disposed||this.handler.off($e,Ie)},xe.prototype.trigger=function($e,Ie){this._disposed||this.handler.trigger($e,Ie)},xe.prototype.clear=function(){if(!this._disposed){for(var $e=this.storage.getRoots(),Ie=0;Ie<$e.length;Ie++)$e[Ie]instanceof Group$3&&$e[Ie].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},xe.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,delInstance(this.id))},xe}();function init$2(xe,$e){var Ie=new ZRender(guid(),xe,$e);return instances$1[Ie.id]=Ie,Ie}function registerPainter(xe,$e){painterCtors[xe]=$e}var ssrDataGetter;function getElementSSRData(xe){if(typeof ssrDataGetter=="function")return ssrDataGetter(xe)}function registerSSRDataGetter(xe){ssrDataGetter=xe}var RADIAN_EPSILON=1e-4,ROUND_SUPPORTED_PRECISION_MAX=20;function _trim(xe){return xe.replace(/^\s+|\s+$/g,"")}function linearMap$2(xe,$e,Ie,Fe){var Ue=$e[0],qe=$e[1],At=Ie[0],Dt=Ie[1],Lt=qe-Ue,jt=Dt-At;if(Lt===0)return jt===0?At:(At+Dt)/2;if(Fe)if(Lt>0){if(xe<=Ue)return At;if(xe>=qe)return Dt}else{if(xe>=Ue)return At;if(xe<=qe)return Dt}else{if(xe===Ue)return At;if(xe===qe)return Dt}return(xe-Ue)/Lt*jt+At}function parsePercent(xe,$e){switch(xe){case"center":case"middle":xe="50%";break;case"left":case"top":xe="0%";break;case"right":case"bottom":xe="100%";break}return isString(xe)?_trim(xe).match(/%$/)?parseFloat(xe)/100*$e:parseFloat(xe):xe==null?NaN:+xe}function round$3(xe,$e,Ie){return $e==null&&($e=10),$e=Math.min(Math.max(0,$e),ROUND_SUPPORTED_PRECISION_MAX),xe=(+xe).toFixed($e),Ie?xe:+xe}function asc$2(xe){return xe.sort(function($e,Ie){return $e-Ie}),xe}function getPrecision(xe){if(xe=+xe,isNaN(xe))return 0;if(xe>1e-14){for(var $e=1,Ie=0;Ie<15;Ie++,$e*=10)if(Math.round(xe*$e)/$e===xe)return Ie}return getPrecisionSafe(xe)}function getPrecisionSafe(xe){var $e=xe.toString().toLowerCase(),Ie=$e.indexOf("e"),Fe=Ie>0?+$e.slice(Ie+1):0,Ue=Ie>0?Ie:$e.length,qe=$e.indexOf("."),At=qe<0?0:Ue-1-qe;return Math.max(0,At-Fe)}function getPixelPrecision(xe,$e){var Ie=Math.log,Fe=Math.LN10,Ue=Math.floor(Ie(xe[1]-xe[0])/Fe),qe=Math.round(Ie(Math.abs($e[1]-$e[0]))/Fe),At=Math.min(Math.max(-Ue+qe,0),20);return isFinite(At)?At:20}function getPercentSeats(xe,$e){var Ie=reduce(xe,function(_n,wn){return _n+(isNaN(wn)?0:wn)},0);if(Ie===0)return[];for(var Fe=Math.pow(10,$e),Ue=map$1(xe,function(_n){return(isNaN(_n)?0:_n)/Ie*Fe*100}),qe=Fe*100,At=map$1(Ue,function(_n){return Math.floor(_n)}),Dt=reduce(At,function(_n,wn){return _n+wn},0),Lt=map$1(Ue,function(_n,wn){return _n-At[wn]});Dtjt&&(jt=Lt[vn],hn=vn);++At[hn],Lt[hn]=0,++Dt}return map$1(At,function(_n){return _n/Fe})}function addSafe(xe,$e){var Ie=Math.max(getPrecision(xe),getPrecision($e)),Fe=xe+$e;return Ie>ROUND_SUPPORTED_PRECISION_MAX?Fe:round$3(Fe,Ie)}var MAX_SAFE_INTEGER=9007199254740991;function remRadian(xe){var $e=Math.PI*2;return(xe%$e+$e)%$e}function isRadianAroundZero(xe){return xe>-RADIAN_EPSILON&&xe=10&&$e++,$e}function nice(xe,$e){var Ie=quantityExponent(xe),Fe=Math.pow(10,Ie),Ue=xe/Fe,qe;return Ue<1.5?qe=1:Ue<2.5?qe=2:Ue<4?qe=3:Ue<7?qe=5:qe=10,xe=qe*Fe,Ie>=-20?+xe.toFixed(Ie<0?-Ie:0):xe}function quantile(xe,$e){var Ie=(xe.length-1)*$e+1,Fe=Math.floor(Ie),Ue=+xe[Fe-1],qe=Ie-Fe;return qe?Ue+qe*(xe[Fe]-Ue):Ue}function reformIntervals(xe){xe.sort(function(Lt,jt){return Dt(Lt,jt,0)?-1:1});for(var $e=-1/0,Ie=1,Fe=0;Fe=0||qe&&indexOf(qe,Lt)<0)){var jt=Fe.getShallow(Lt,$e);jt!=null&&(At[xe[Dt][0]]=jt)}}return At}}var AREA_STYLE_KEY_MAP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],getAreaStyle=makeStyleMapper(AREA_STYLE_KEY_MAP),AreaStyleMixin=function(){function xe(){}return xe.prototype.getAreaStyle=function($e,Ie){return getAreaStyle(this,$e,Ie)},xe}(),globalImageCache=new LRU(50);function findExistImage(xe){if(typeof xe=="string"){var $e=globalImageCache.get(xe);return $e&&$e.image}else return xe}function createOrUpdateImage(xe,$e,Ie,Fe,Ue){if(xe)if(typeof xe=="string"){if($e&&$e.__zrImageSrc===xe||!Ie)return $e;var qe=globalImageCache.get(xe),At={hostEl:Ie,cb:Fe,cbPayload:Ue};return qe?($e=qe.image,!isImageReady($e)&&qe.pending.push(At)):($e=platformApi.loadImage(xe,imageOnLoad,imageOnLoad),$e.__zrImageSrc=xe,globalImageCache.put(xe,$e.__cachedImgObj={image:$e,pending:[At]})),$e}else return xe;else return $e}function imageOnLoad(){var xe=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var $e=0;$e=At;Lt++)Dt-=At;var jt=getWidth(Ie,$e);return jt>Dt&&(Ie="",jt=0),Dt=xe-jt,Ue.ellipsis=Ie,Ue.ellipsisWidth=jt,Ue.contentWidth=Dt,Ue.containerWidth=xe,Ue}function truncateSingleLine(xe,$e){var Ie=$e.containerWidth,Fe=$e.font,Ue=$e.contentWidth;if(!Ie)return"";var qe=getWidth(xe,Fe);if(qe<=Ie)return xe;for(var At=0;;At++){if(qe<=Ue||At>=$e.maxIterations){xe+=$e.ellipsis;break}var Dt=At===0?estimateLength(xe,Ue,$e.ascCharWidth,$e.cnCharWidth):qe>0?Math.floor(xe.length*Ue/qe):0;xe=xe.substr(0,Dt),qe=getWidth(xe,Fe)}return xe===""&&(xe=$e.placeholder),xe}function estimateLength(xe,$e,Ie,Fe){for(var Ue=0,qe=0,At=xe.length;qe_n&&jt){var wn=Math.floor(_n/Dt);vn=vn.slice(0,wn)}if(xe&&qe&&hn!=null)for(var kn=prepareTruncateOptions(hn,Ue,$e.ellipsis,{minChar:$e.truncateMinChar,placeholder:$e.placeholder}),Cn=0;CnDt&&pushTokens(Ie,xe.substring(Dt,jt),$e,At),pushTokens(Ie,Lt[2],$e,At,Lt[1]),Dt=STYLE_REG.lastIndex}DtUe){An>0?(xn.tokens=xn.tokens.slice(0,An),Cn(xn,Tn,En),Ie.lines=Ie.lines.slice(0,Sn+1)):Ie.lines=Ie.lines.slice(0,Sn);break e}var Rn=Pn.width,Bn=Rn==null||Rn==="auto";if(typeof Rn=="string"&&Rn.charAt(Rn.length-1)==="%")$n.percentWidth=Rn,hn.push($n),$n.contentWidth=getWidth($n.text,In);else{if(Bn){var Vn=Pn.backgroundColor,Ln=Vn&&Vn.image;Ln&&(Ln=findExistImage(Ln),isImageReady(Ln)&&($n.width=Math.max($n.width,Ln.width*On/Ln.height)))}var Dn=wn&&Fe!=null?Fe-Tn:null;Dn!=null&&Dn<$n.width?!Bn||Dn0&&wn+Fe.accumWidth>Fe.width&&(hn=$e.split(` +`),jt=!0),Fe.accumWidth=wn}else{var kn=wrapText($e,Lt,Fe.width,Fe.breakAll,Fe.accumWidth);Fe.accumWidth=kn.accumWidth+_n,vn=kn.linesWidths,hn=kn.lines}}else hn=$e.split(` +`);for(var Cn=0;Cn=32&&$e<=591||$e>=880&&$e<=4351||$e>=4608&&$e<=5119||$e>=7680&&$e<=8303}var breakCharMap=reduce(",&?/;] ".split(""),function(xe,$e){return xe[$e]=!0,xe},{});function isWordBreakChar(xe){return isAlphabeticLetter(xe)?!!breakCharMap[xe]:!0}function wrapText(xe,$e,Ie,Fe,Ue){for(var qe=[],At=[],Dt="",Lt="",jt=0,hn=0,vn=0;vnIe:Ue+hn+_n>Ie){hn?(Dt||Lt)&&(wn?(Dt||(Dt=Lt,Lt="",jt=0,hn=jt),qe.push(Dt),At.push(hn-jt),Lt+=bn,jt+=_n,Dt="",hn=jt):(Lt&&(Dt+=Lt,Lt="",jt=0),qe.push(Dt),At.push(hn),Dt=bn,hn=_n)):wn?(qe.push(Lt),At.push(jt),Lt=bn,jt=_n):(qe.push(bn),At.push(_n));continue}hn+=_n,wn?(Lt+=bn,jt+=_n):(Lt&&(Dt+=Lt,Lt="",jt=0),Dt+=bn)}return!qe.length&&!Dt&&(Dt=xe,Lt="",jt=0),Lt&&(Dt+=Lt),Dt&&(qe.push(Dt),At.push(hn)),qe.length===1&&(hn+=Ue),{accumWidth:hn,lines:qe,linesWidths:At}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(Math.random()*10),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype._init=function(Ie){for(var Fe=keys(Ie),Ue=0;Ue1e-4){Dt[0]=xe-Ie,Dt[1]=$e-Fe,Lt[0]=xe+Ie,Lt[1]=$e+Fe;return}if(start[0]=mathCos$4(Ue)*Ie+xe,start[1]=mathSin$4(Ue)*Fe+$e,end[0]=mathCos$4(qe)*Ie+xe,end[1]=mathSin$4(qe)*Fe+$e,jt(Dt,start,end),hn(Lt,start,end),Ue=Ue%PI2$8,Ue<0&&(Ue=Ue+PI2$8),qe=qe%PI2$8,qe<0&&(qe=qe+PI2$8),Ue>qe&&!At?qe+=PI2$8:UeUe&&(extremity[0]=mathCos$4(_n)*Ie+xe,extremity[1]=mathSin$4(_n)*Fe+$e,jt(Dt,extremity,Dt),hn(Lt,extremity,Lt))}var CMD$4={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$8=Math.min,mathMax$8=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$2=Math.abs,PI$8=Math.PI,PI2$7=PI$8*2,hasTypedArray=typeof Float32Array<"u",tmpAngles=[];function modPI2(xe){var $e=Math.round(xe/PI$8*1e8)/1e8;return $e%2*PI$8}function normalizeArcAngles(xe,$e){var Ie=modPI2(xe[0]);Ie<0&&(Ie+=PI2$7);var Fe=Ie-xe[0],Ue=xe[1];Ue+=Fe,!$e&&Ue-Ie>=PI2$7?Ue=Ie+PI2$7:$e&&Ie-Ue>=PI2$7?Ue=Ie-PI2$7:!$e&&Ie>Ue?Ue=Ie+(PI2$7-modPI2(Ie-Ue)):$e&&Ie0&&(this._ux=mathAbs$2(Fe/devicePixelRatio/$e)||0,this._uy=mathAbs$2(Fe/devicePixelRatio/Ie)||0)},xe.prototype.setDPR=function($e){this.dpr=$e},xe.prototype.setContext=function($e){this._ctx=$e},xe.prototype.getContext=function(){return this._ctx},xe.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},xe.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},xe.prototype.moveTo=function($e,Ie){return this._drawPendingPt(),this.addData(CMD$4.M,$e,Ie),this._ctx&&this._ctx.moveTo($e,Ie),this._x0=$e,this._y0=Ie,this._xi=$e,this._yi=Ie,this},xe.prototype.lineTo=function($e,Ie){var Fe=mathAbs$2($e-this._xi),Ue=mathAbs$2(Ie-this._yi),qe=Fe>this._ux||Ue>this._uy;if(this.addData(CMD$4.L,$e,Ie),this._ctx&&qe&&this._ctx.lineTo($e,Ie),qe)this._xi=$e,this._yi=Ie,this._pendingPtDist=0;else{var At=Fe*Fe+Ue*Ue;At>this._pendingPtDist&&(this._pendingPtX=$e,this._pendingPtY=Ie,this._pendingPtDist=At)}return this},xe.prototype.bezierCurveTo=function($e,Ie,Fe,Ue,qe,At){return this._drawPendingPt(),this.addData(CMD$4.C,$e,Ie,Fe,Ue,qe,At),this._ctx&&this._ctx.bezierCurveTo($e,Ie,Fe,Ue,qe,At),this._xi=qe,this._yi=At,this},xe.prototype.quadraticCurveTo=function($e,Ie,Fe,Ue){return this._drawPendingPt(),this.addData(CMD$4.Q,$e,Ie,Fe,Ue),this._ctx&&this._ctx.quadraticCurveTo($e,Ie,Fe,Ue),this._xi=Fe,this._yi=Ue,this},xe.prototype.arc=function($e,Ie,Fe,Ue,qe,At){this._drawPendingPt(),tmpAngles[0]=Ue,tmpAngles[1]=qe,normalizeArcAngles(tmpAngles,At),Ue=tmpAngles[0],qe=tmpAngles[1];var Dt=qe-Ue;return this.addData(CMD$4.A,$e,Ie,Fe,Fe,Ue,Dt,0,At?0:1),this._ctx&&this._ctx.arc($e,Ie,Fe,Ue,qe,At),this._xi=mathCos$3(qe)*Fe+$e,this._yi=mathSin$3(qe)*Fe+Ie,this},xe.prototype.arcTo=function($e,Ie,Fe,Ue,qe){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo($e,Ie,Fe,Ue,qe),this},xe.prototype.rect=function($e,Ie,Fe,Ue){return this._drawPendingPt(),this._ctx&&this._ctx.rect($e,Ie,Fe,Ue),this.addData(CMD$4.R,$e,Ie,Fe,Ue),this},xe.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$4.Z);var $e=this._ctx,Ie=this._x0,Fe=this._y0;return $e&&$e.closePath(),this._xi=Ie,this._yi=Fe,this},xe.prototype.fill=function($e){$e&&$e.fill(),this.toStatic()},xe.prototype.stroke=function($e){$e&&$e.stroke(),this.toStatic()},xe.prototype.len=function(){return this._len},xe.prototype.setData=function($e){var Ie=$e.length;!(this.data&&this.data.length===Ie)&&hasTypedArray&&(this.data=new Float32Array(Ie));for(var Fe=0;Fehn.length&&(this._expandData(),hn=this.data);for(var vn=0;vn0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},xe.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var $e=[],Ie=0;Ie11&&(this.data=new Float32Array($e)))}},xe.prototype.getBoundingRect=function(){min[0]=min[1]=min2[0]=min2[1]=Number.MAX_VALUE,max[0]=max[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var $e=this.data,Ie=0,Fe=0,Ue=0,qe=0,At;for(At=0;AtFe||mathAbs$2(En)>Ue||bn===Ie-1)&&(kn=Math.sqrt(xn*xn+En*En),qe=Cn,At=Sn);break}case CMD$4.C:{var Tn=$e[bn++],An=$e[bn++],Cn=$e[bn++],Sn=$e[bn++],$n=$e[bn++],Pn=$e[bn++];kn=cubicLength(qe,At,Tn,An,Cn,Sn,$n,Pn,10),qe=$n,At=Pn;break}case CMD$4.Q:{var Tn=$e[bn++],An=$e[bn++],Cn=$e[bn++],Sn=$e[bn++];kn=quadraticLength(qe,At,Tn,An,Cn,Sn,10),qe=Cn,At=Sn;break}case CMD$4.A:var Nn=$e[bn++],Mn=$e[bn++],In=$e[bn++],On=$e[bn++],Rn=$e[bn++],Bn=$e[bn++],Vn=Bn+Rn;bn+=1,wn&&(Dt=mathCos$3(Rn)*In+Nn,Lt=mathSin$3(Rn)*On+Mn),kn=mathMax$8(In,On)*mathMin$8(PI2$7,Math.abs(Bn)),qe=mathCos$3(Vn)*In+Nn,At=mathSin$3(Vn)*On+Mn;break;case CMD$4.R:{Dt=qe=$e[bn++],Lt=At=$e[bn++];var Ln=$e[bn++],Dn=$e[bn++];kn=Ln*2+Dn*2;break}case CMD$4.Z:{var xn=Dt-qe,En=Lt-At;kn=Math.sqrt(xn*xn+En*En),qe=Dt,At=Lt;break}}kn>=0&&(jt[vn++]=kn,hn+=kn)}return this._pathLen=hn,hn},xe.prototype.rebuildPath=function($e,Ie){var Fe=this.data,Ue=this._ux,qe=this._uy,At=this._len,Dt,Lt,jt,hn,vn,bn,_n=Ie<1,wn,kn,Cn=0,Sn=0,xn,En=0,Tn,An;if(!(_n&&(this._pathSegLen||this._calculateLength(),wn=this._pathSegLen,kn=this._pathLen,xn=Ie*kn,!xn)))e:for(var $n=0;$n0&&($e.lineTo(Tn,An),En=0),Pn){case CMD$4.M:Dt=jt=Fe[$n++],Lt=hn=Fe[$n++],$e.moveTo(jt,hn);break;case CMD$4.L:{vn=Fe[$n++],bn=Fe[$n++];var Mn=mathAbs$2(vn-jt),In=mathAbs$2(bn-hn);if(Mn>Ue||In>qe){if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;$e.lineTo(jt*(1-Rn)+vn*Rn,hn*(1-Rn)+bn*Rn);break e}Cn+=On}$e.lineTo(vn,bn),jt=vn,hn=bn,En=0}else{var Bn=Mn*Mn+In*In;Bn>En&&(Tn=vn,An=bn,En=Bn)}break}case CMD$4.C:{var Vn=Fe[$n++],Ln=Fe[$n++],Dn=Fe[$n++],Hn=Fe[$n++],Fn=Fe[$n++],zn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;cubicSubdivide(jt,Vn,Dn,Fn,Rn,tmpOutX),cubicSubdivide(hn,Ln,Hn,zn,Rn,tmpOutY),$e.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}Cn+=On}$e.bezierCurveTo(Vn,Ln,Dn,Hn,Fn,zn),jt=Fn,hn=zn;break}case CMD$4.Q:{var Vn=Fe[$n++],Ln=Fe[$n++],Dn=Fe[$n++],Hn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;quadraticSubdivide(jt,Vn,Dn,Rn,tmpOutX),quadraticSubdivide(hn,Ln,Hn,Rn,tmpOutY),$e.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}Cn+=On}$e.quadraticCurveTo(Vn,Ln,Dn,Hn),jt=Dn,hn=Hn;break}case CMD$4.A:var jn=Fe[$n++],Gn=Fe[$n++],Wn=Fe[$n++],Xn=Fe[$n++],er=Fe[$n++],rr=Fe[$n++],Jn=Fe[$n++],Yn=!Fe[$n++],qn=Wn>Xn?Wn:Xn,ar=mathAbs$2(Wn-Xn)>.001,tr=er+rr,or=!1;if(_n){var On=wn[Sn++];Cn+On>xn&&(tr=er+rr*(xn-Cn)/On,or=!0),Cn+=On}if(ar&&$e.ellipse?$e.ellipse(jn,Gn,Wn,Xn,Jn,er,tr,Yn):$e.arc(jn,Gn,qn,er,tr,Yn),or)break e;Nn&&(Dt=mathCos$3(er)*Wn+jn,Lt=mathSin$3(er)*Xn+Gn),jt=mathCos$3(tr)*Wn+jn,hn=mathSin$3(tr)*Xn+Gn;break;case CMD$4.R:Dt=jt=Fe[$n],Lt=hn=Fe[$n+1],vn=Fe[$n++],bn=Fe[$n++];var sr=Fe[$n++],Kn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Zn=xn-Cn;$e.moveTo(vn,bn),$e.lineTo(vn+mathMin$8(Zn,sr),bn),Zn-=sr,Zn>0&&$e.lineTo(vn+sr,bn+mathMin$8(Zn,Kn)),Zn-=Kn,Zn>0&&$e.lineTo(vn+mathMax$8(sr-Zn,0),bn+Kn),Zn-=sr,Zn>0&&$e.lineTo(vn,bn+mathMax$8(Kn-Zn,0));break e}Cn+=On}$e.rect(vn,bn,sr,Kn);break;case CMD$4.Z:if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;$e.lineTo(jt*(1-Rn)+Dt*Rn,hn*(1-Rn)+Lt*Rn);break e}Cn+=On}$e.closePath(),jt=Dt,hn=Lt}}},xe.prototype.clone=function(){var $e=new xe,Ie=this.data;return $e.data=Ie.slice?Ie.slice():Array.prototype.slice.call(Ie),$e._len=this._len,$e},xe.CMD=CMD$4,xe.initDefaultProps=function(){var $e=xe.prototype;$e._saveData=!0,$e._ux=0,$e._uy=0,$e._pendingPtDist=0,$e._version=0}(),xe}();function containStroke$4(xe,$e,Ie,Fe,Ue,qe,At){if(Ue===0)return!1;var Dt=Ue,Lt=0,jt=xe;if(At>$e+Dt&&At>Fe+Dt||At<$e-Dt&&Atxe+Dt&&qe>Ie+Dt||qe$e+vn&&hn>Fe+vn&&hn>qe+vn&&hn>Dt+vn||hn<$e-vn&&hnxe+vn&&jt>Ie+vn&&jt>Ue+vn&&jt>At+vn||jt$e+jt&&Lt>Fe+jt&&Lt>qe+jt||Lt<$e-jt&&Ltxe+jt&&Dt>Ie+jt&&Dt>Ue+jt||DtIe||hn+jtUe&&(Ue+=PI2$5);var bn=Math.atan2(Lt,Dt);return bn<0&&(bn+=PI2$5),bn>=Fe&&bn<=Ue||bn+PI2$5>=Fe&&bn+PI2$5<=Ue}function windingLine(xe,$e,Ie,Fe,Ue,qe){if(qe>$e&&qe>Fe||qe<$e&&qeUe?Dt:0}var CMD$3=PathProxy.CMD,PI2$4=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(xe,$e){return Math.abs(xe-$e)$e&&jt>Fe&&jt>qe&&jt>Dt||jt<$e&&jt1&&swapExtrema(),_n=cubicAt($e,Fe,qe,Dt,extrema[0]),bn>1&&(wn=cubicAt($e,Fe,qe,Dt,extrema[1]))),bn===2?Cn$e&&Dt>Fe&&Dt>qe||Dt<$e&&Dt=0&&jt<=1){for(var hn=0,vn=quadraticAt$1($e,Fe,qe,jt),bn=0;bnIe||Dt<-Ie)return 0;var Lt=Math.sqrt(Ie*Ie-Dt*Dt);roots[0]=-Lt,roots[1]=Lt;var jt=Math.abs(Fe-Ue);if(jt<1e-4)return 0;if(jt>=PI2$4-1e-4){Fe=0,Ue=PI2$4;var hn=qe?1:-1;return At>=roots[0]+xe&&At<=roots[1]+xe?hn:0}if(Fe>Ue){var vn=Fe;Fe=Ue,Ue=vn}Fe<0&&(Fe+=PI2$4,Ue+=PI2$4);for(var bn=0,_n=0;_n<2;_n++){var wn=roots[_n];if(wn+xe>At){var kn=Math.atan2(Dt,wn),hn=qe?1:-1;kn<0&&(kn=PI2$4+kn),(kn>=Fe&&kn<=Ue||kn+PI2$4>=Fe&&kn+PI2$4<=Ue)&&(kn>Math.PI/2&&kn1&&(Ie||(Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue))),Cn&&(Lt=qe[wn],jt=qe[wn+1],hn=Lt,vn=jt),kn){case CMD$3.M:hn=qe[wn++],vn=qe[wn++],Lt=hn,jt=vn;break;case CMD$3.L:if(Ie){if(containStroke$4(Lt,jt,qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingLine(Lt,jt,qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.C:if(Ie){if(containStroke$3(Lt,jt,qe[wn++],qe[wn++],qe[wn++],qe[wn++],qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingCubic(Lt,jt,qe[wn++],qe[wn++],qe[wn++],qe[wn++],qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.Q:if(Ie){if(containStroke$2(Lt,jt,qe[wn++],qe[wn++],qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingQuadratic(Lt,jt,qe[wn++],qe[wn++],qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.A:var Sn=qe[wn++],xn=qe[wn++],En=qe[wn++],Tn=qe[wn++],An=qe[wn++],$n=qe[wn++];wn+=1;var Pn=!!(1-qe[wn++]);bn=Math.cos(An)*En+Sn,_n=Math.sin(An)*Tn+xn,Cn?(hn=bn,vn=_n):Dt+=windingLine(Lt,jt,bn,_n,Fe,Ue);var Nn=(Fe-Sn)*Tn/En+Sn;if(Ie){if(containStroke$1(Sn,xn,Tn,An,An+$n,Pn,$e,Nn,Ue))return!0}else Dt+=windingArc(Sn,xn,Tn,An,An+$n,Pn,Nn,Ue);Lt=Math.cos(An+$n)*En+Sn,jt=Math.sin(An+$n)*Tn+xn;break;case CMD$3.R:hn=Lt=qe[wn++],vn=jt=qe[wn++];var Mn=qe[wn++],In=qe[wn++];if(bn=hn+Mn,_n=vn+In,Ie){if(containStroke$4(hn,vn,bn,vn,$e,Fe,Ue)||containStroke$4(bn,vn,bn,_n,$e,Fe,Ue)||containStroke$4(bn,_n,hn,_n,$e,Fe,Ue)||containStroke$4(hn,_n,hn,vn,$e,Fe,Ue))return!0}else Dt+=windingLine(bn,vn,bn,_n,Fe,Ue),Dt+=windingLine(hn,_n,hn,vn,Fe,Ue);break;case CMD$3.Z:if(Ie){if(containStroke$4(Lt,jt,hn,vn,$e,Fe,Ue))return!0}else Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue);Lt=hn,jt=vn;break}}return!Ie&&!isAroundEqual$1(jt,vn)&&(Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue)||0),Dt!==0}function contain$2(xe,$e,Ie){return containPath(xe,0,!1,$e,Ie)}function containStroke(xe,$e,Ie,Fe){return containPath(xe,$e,!0,Ie,Fe)}var DEFAULT_PATH_STYLE=defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.update=function(){var Ie=this;xe.prototype.update.call(this);var Fe=this.style;if(Fe.decal){var Ue=this._decalEl=this._decalEl||new $e;Ue.buildPath===$e.prototype.buildPath&&(Ue.buildPath=function(Lt){Ie.buildPath(Lt,Ie.shape)}),Ue.silent=!0;var qe=Ue.style;for(var At in Fe)qe[At]!==Fe[At]&&(qe[At]=Fe[At]);qe.fill=Fe.fill?Fe.decal:null,qe.decal=null,qe.shadowColor=null,Fe.strokeFirst&&(qe.stroke=null);for(var Dt=0;Dt.5?DARK_LABEL_COLOR:Fe>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(Ie)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},$e.prototype.getInsideTextStroke=function(Ie){var Fe=this.style.fill;if(isString(Fe)){var Ue=this.__zr,qe=!!(Ue&&Ue.isDarkMode()),At=lum(Ie,0)0))},$e.prototype.hasFill=function(){var Ie=this.style,Fe=Ie.fill;return Fe!=null&&Fe!=="none"},$e.prototype.getBoundingRect=function(){var Ie=this._rect,Fe=this.style,Ue=!Ie;if(Ue){var qe=!1;this.path||(qe=!0,this.createPathProxy());var At=this.path;(qe||this.__dirty&SHAPE_CHANGED_BIT)&&(At.beginPath(),this.buildPath(At,this.shape,!1),this.pathUpdated()),Ie=At.getBoundingRect()}if(this._rect=Ie,this.hasStroke()&&this.path&&this.path.len()>0){var Dt=this._rectStroke||(this._rectStroke=Ie.clone());if(this.__dirty||Ue){Dt.copy(Ie);var Lt=Fe.strokeNoScale?this.getLineScale():1,jt=Fe.lineWidth;if(!this.hasFill()){var hn=this.strokeContainThreshold;jt=Math.max(jt,hn??4)}Lt>1e-10&&(Dt.width+=jt/Lt,Dt.height+=jt/Lt,Dt.x-=jt/Lt/2,Dt.y-=jt/Lt/2)}return Dt}return Ie},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect(),At=this.style;if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var Dt=this.path;if(this.hasStroke()){var Lt=At.lineWidth,jt=At.strokeNoScale?this.getLineScale():1;if(jt>1e-10&&(this.hasFill()||(Lt=Math.max(Lt,this.strokeContainThreshold)),containStroke(Dt,Lt/jt,Ie,Fe)))return!0}if(this.hasFill())return contain$2(Dt,Ie,Fe)}return!1},$e.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},$e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},$e.prototype.animateShape=function(Ie){return this.animate("shape",Ie)},$e.prototype.updateDuringAnimation=function(Ie){Ie==="style"?this.dirtyStyle():Ie==="shape"?this.dirtyShape():this.markRedraw()},$e.prototype.attrKV=function(Ie,Fe){Ie==="shape"?this.setShape(Fe):xe.prototype.attrKV.call(this,Ie,Fe)},$e.prototype.setShape=function(Ie,Fe){var Ue=this.shape;return Ue||(Ue=this.shape={}),typeof Ie=="string"?Ue[Ie]=Fe:extend(Ue,Ie),this.dirtyShape(),this},$e.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_PATH_STYLE,Ie)},$e.prototype._innerSaveToNormal=function(Ie){xe.prototype._innerSaveToNormal.call(this,Ie);var Fe=this._normalState;Ie.shape&&!Fe.shape&&(Fe.shape=extend({},this.shape))},$e.prototype._applyStateObj=function(Ie,Fe,Ue,qe,At,Dt){xe.prototype._applyStateObj.call(this,Ie,Fe,Ue,qe,At,Dt);var Lt=!(Fe&&qe),jt;if(Fe&&Fe.shape?At?qe?jt=Fe.shape:(jt=extend({},Ue.shape),extend(jt,Fe.shape)):(jt=extend({},qe?this.shape:Ue.shape),extend(jt,Fe.shape)):Lt&&(jt=Ue.shape),jt)if(At){this.shape=extend({},this.shape);for(var hn={},vn=keys(jt),bn=0;bn0},$e.prototype.hasFill=function(){var Ie=this.style,Fe=Ie.fill;return Fe!=null&&Fe!=="none"},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_TSPAN_STYLE,Ie)},$e.prototype.setBoundingRect=function(Ie){this._rect=Ie},$e.prototype.getBoundingRect=function(){var Ie=this.style;if(!this._rect){var Fe=Ie.text;Fe!=null?Fe+="":Fe="";var Ue=getBoundingRect(Fe,Ie.font,Ie.textAlign,Ie.textBaseline);if(Ue.x+=Ie.x||0,Ue.y+=Ie.y||0,this.hasStroke()){var qe=Ie.lineWidth;Ue.x-=qe/2,Ue.y-=qe/2,Ue.width+=qe,Ue.height+=qe}this._rect=Ue}return this._rect},$e.initDefaultProps=function(){var Ie=$e.prototype;Ie.dirtyRectTolerance=10}(),$e}(Displayable);TSpan.prototype.type="tspan";var DEFAULT_IMAGE_STYLE=defaults({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike$1(xe){return!!(xe&&typeof xe!="string"&&xe.width&&xe.height)}var ZRImage=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.createStyle=function(Ie){return createObject(DEFAULT_IMAGE_STYLE,Ie)},$e.prototype._getSize=function(Ie){var Fe=this.style,Ue=Fe[Ie];if(Ue!=null)return Ue;var qe=isImageLike$1(Fe.image)?Fe.image:this.__image;if(!qe)return 0;var At=Ie==="width"?"height":"width",Dt=Fe[At];return Dt==null?qe[Ie]:qe[Ie]/qe[At]*Dt},$e.prototype.getWidth=function(){return this._getSize("width")},$e.prototype.getHeight=function(){return this._getSize("height")},$e.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},$e.prototype.getBoundingRect=function(){var Ie=this.style;return this._rect||(this._rect=new BoundingRect(Ie.x||0,Ie.y||0,this.getWidth(),this.getHeight())),this._rect},$e}(Displayable);ZRImage.prototype.type="image";function buildPath$2(xe,$e){var Ie=$e.x,Fe=$e.y,Ue=$e.width,qe=$e.height,At=$e.r,Dt,Lt,jt,hn;Ue<0&&(Ie=Ie+Ue,Ue=-Ue),qe<0&&(Fe=Fe+qe,qe=-qe),typeof At=="number"?Dt=Lt=jt=hn=At:At instanceof Array?At.length===1?Dt=Lt=jt=hn=At[0]:At.length===2?(Dt=jt=At[0],Lt=hn=At[1]):At.length===3?(Dt=At[0],Lt=hn=At[1],jt=At[2]):(Dt=At[0],Lt=At[1],jt=At[2],hn=At[3]):Dt=Lt=jt=hn=0;var vn;Dt+Lt>Ue&&(vn=Dt+Lt,Dt*=Ue/vn,Lt*=Ue/vn),jt+hn>Ue&&(vn=jt+hn,jt*=Ue/vn,hn*=Ue/vn),Lt+jt>qe&&(vn=Lt+jt,Lt*=qe/vn,jt*=qe/vn),Dt+hn>qe&&(vn=Dt+hn,Dt*=qe/vn,hn*=qe/vn),xe.moveTo(Ie+Dt,Fe),xe.lineTo(Ie+Ue-Lt,Fe),Lt!==0&&xe.arc(Ie+Ue-Lt,Fe+Lt,Lt,-Math.PI/2,0),xe.lineTo(Ie+Ue,Fe+qe-jt),jt!==0&&xe.arc(Ie+Ue-jt,Fe+qe-jt,jt,0,Math.PI/2),xe.lineTo(Ie+hn,Fe+qe),hn!==0&&xe.arc(Ie+hn,Fe+qe-hn,hn,Math.PI/2,Math.PI),xe.lineTo(Ie,Fe+Dt),Dt!==0&&xe.arc(Ie+Dt,Fe+Dt,Dt,Math.PI,Math.PI*1.5)}var round$2=Math.round;function subPixelOptimizeLine$1(xe,$e,Ie){if($e){var Fe=$e.x1,Ue=$e.x2,qe=$e.y1,At=$e.y2;xe.x1=Fe,xe.x2=Ue,xe.y1=qe,xe.y2=At;var Dt=Ie&&Ie.lineWidth;return Dt&&(round$2(Fe*2)===round$2(Ue*2)&&(xe.x1=xe.x2=subPixelOptimize$1(Fe,Dt,!0)),round$2(qe*2)===round$2(At*2)&&(xe.y1=xe.y2=subPixelOptimize$1(qe,Dt,!0))),xe}}function subPixelOptimizeRect$1(xe,$e,Ie){if($e){var Fe=$e.x,Ue=$e.y,qe=$e.width,At=$e.height;xe.x=Fe,xe.y=Ue,xe.width=qe,xe.height=At;var Dt=Ie&&Ie.lineWidth;return Dt&&(xe.x=subPixelOptimize$1(Fe,Dt,!0),xe.y=subPixelOptimize$1(Ue,Dt,!0),xe.width=Math.max(subPixelOptimize$1(Fe+qe,Dt,!1)-xe.x,qe===0?0:1),xe.height=Math.max(subPixelOptimize$1(Ue+At,Dt,!1)-xe.y,At===0?0:1)),xe}}function subPixelOptimize$1(xe,$e,Ie){if(!$e)return xe;var Fe=round$2(xe*2);return(Fe+round$2($e))%2===0?Fe/2:(Fe+(Ie?1:-1))/2}var RectShape=function(){function xe(){this.x=0,this.y=0,this.width=0,this.height=0}return xe}(),subPixelOptimizeOutputShape$1={},Rect$2=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new RectShape},$e.prototype.buildPath=function(Ie,Fe){var Ue,qe,At,Dt;if(this.subPixelOptimize){var Lt=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,Fe,this.style);Ue=Lt.x,qe=Lt.y,At=Lt.width,Dt=Lt.height,Lt.r=Fe.r,Fe=Lt}else Ue=Fe.x,qe=Fe.y,At=Fe.width,Dt=Fe.height;Fe.r?buildPath$2(Ie,Fe):Ie.rect(Ue,qe,At,Dt)},$e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},$e}(Path);Rect$2.prototype.type="rect";var DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe.type="text",Fe._children=[],Fe._defaultStyle=DEFAULT_RICH_TEXT_COLOR,Fe.attr(Ie),Fe}return $e.prototype.childrenRef=function(){return this._children},$e.prototype.update=function(){xe.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var Ie=0;Ie0,Rn=Ie.width!=null&&(Ie.overflow==="truncate"||Ie.overflow==="break"||Ie.overflow==="breakAll"),Bn=At.calculatedLineHeight,Vn=0;Vn=0&&(Vn=$n[Bn],Vn.align==="right");)this._placeToken(Vn,Ie,Nn,Sn,Rn,"right",En),Mn-=Vn.width,Rn-=Vn.width,Bn--;for(On+=(qe-(On-Cn)-(xn-Rn)-Mn)/2;In<=Bn;)Vn=$n[In],this._placeToken(Vn,Ie,Nn,Sn,On+Vn.width/2,"center",En),On+=Vn.width,In++;Sn+=Nn}},$e.prototype._placeToken=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=Fe.rich[Ie.styleName]||{};jt.text=Ie.text;var hn=Ie.verticalAlign,vn=qe+Ue/2;hn==="top"?vn=qe+Ie.height/2:hn==="bottom"&&(vn=qe+Ue-Ie.height/2);var bn=!Ie.isLineHolder&&needDrawBackground(jt);bn&&this._renderBackground(jt,Fe,Dt==="right"?At-Ie.width:Dt==="center"?At-Ie.width/2:At,vn-Ie.height/2,Ie.width,Ie.height);var _n=!!jt.backgroundColor,wn=Ie.textPadding;wn&&(At=getTextXForPadding(At,Dt,wn),vn-=Ie.height/2-wn[0]-Ie.innerHeight/2);var kn=this._getOrCreateChild(TSpan),Cn=kn.createStyle();kn.useStyle(Cn);var Sn=this._defaultStyle,xn=!1,En=0,Tn=getFill("fill"in jt?jt.fill:"fill"in Fe?Fe.fill:(xn=!0,Sn.fill)),An=getStroke("stroke"in jt?jt.stroke:"stroke"in Fe?Fe.stroke:!_n&&!Lt&&(!Sn.autoStroke||xn)?(En=DEFAULT_STROKE_LINE_WIDTH,Sn.stroke):null),$n=jt.textShadowBlur>0||Fe.textShadowBlur>0;Cn.text=Ie.text,Cn.x=At,Cn.y=vn,$n&&(Cn.shadowBlur=jt.textShadowBlur||Fe.textShadowBlur||0,Cn.shadowColor=jt.textShadowColor||Fe.textShadowColor||"transparent",Cn.shadowOffsetX=jt.textShadowOffsetX||Fe.textShadowOffsetX||0,Cn.shadowOffsetY=jt.textShadowOffsetY||Fe.textShadowOffsetY||0),Cn.textAlign=Dt,Cn.textBaseline="middle",Cn.font=Ie.font||DEFAULT_FONT,Cn.opacity=retrieve3(jt.opacity,Fe.opacity,1),setSeparateFont(Cn,jt),An&&(Cn.lineWidth=retrieve3(jt.lineWidth,Fe.lineWidth,En),Cn.lineDash=retrieve2(jt.lineDash,Fe.lineDash),Cn.lineDashOffset=Fe.lineDashOffset||0,Cn.stroke=An),Tn&&(Cn.fill=Tn);var Pn=Ie.contentWidth,Nn=Ie.contentHeight;kn.setBoundingRect(new BoundingRect(adjustTextX(Cn.x,Pn,Cn.textAlign),adjustTextY(Cn.y,Nn,Cn.textBaseline),Pn,Nn))},$e.prototype._renderBackground=function(Ie,Fe,Ue,qe,At,Dt){var Lt=Ie.backgroundColor,jt=Ie.borderWidth,hn=Ie.borderColor,vn=Lt&&Lt.image,bn=Lt&&!vn,_n=Ie.borderRadius,wn=this,kn,Cn;if(bn||Ie.lineHeight||jt&&hn){kn=this._getOrCreateChild(Rect$2),kn.useStyle(kn.createStyle()),kn.style.fill=null;var Sn=kn.shape;Sn.x=Ue,Sn.y=qe,Sn.width=At,Sn.height=Dt,Sn.r=_n,kn.dirtyShape()}if(bn){var xn=kn.style;xn.fill=Lt||null,xn.fillOpacity=retrieve2(Ie.fillOpacity,1)}else if(vn){Cn=this._getOrCreateChild(ZRImage),Cn.onload=function(){wn.dirtyStyle()};var En=Cn.style;En.image=Lt.image,En.x=Ue,En.y=qe,En.width=At,En.height=Dt}if(jt&&hn){var xn=kn.style;xn.lineWidth=jt,xn.stroke=hn,xn.strokeOpacity=retrieve2(Ie.strokeOpacity,1),xn.lineDash=Ie.borderDash,xn.lineDashOffset=Ie.borderDashOffset||0,kn.strokeContainThreshold=0,kn.hasFill()&&kn.hasStroke()&&(xn.strokeFirst=!0,xn.lineWidth*=2)}var Tn=(kn||Cn).style;Tn.shadowBlur=Ie.shadowBlur||0,Tn.shadowColor=Ie.shadowColor||"transparent",Tn.shadowOffsetX=Ie.shadowOffsetX||0,Tn.shadowOffsetY=Ie.shadowOffsetY||0,Tn.opacity=retrieve3(Ie.opacity,Fe.opacity,1)},$e.makeFont=function(Ie){var Fe="";return hasSeparateFont(Ie)&&(Fe=[Ie.fontStyle,Ie.fontWeight,parseFontSize(Ie.fontSize),Ie.fontFamily||"sans-serif"].join(" ")),Fe&&trim$1(Fe)||Ie.textFont||Ie.font},$e}(Displayable),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(xe){return typeof xe=="string"&&(xe.indexOf("px")!==-1||xe.indexOf("rem")!==-1||xe.indexOf("em")!==-1)?xe:isNaN(+xe)?DEFAULT_FONT_SIZE+"px":xe+"px"}function setSeparateFont(xe,$e){for(var Ie=0;Ie=0,qe=!1;if(xe instanceof Path){var At=getSavedStates(xe),Dt=Ue&&At.selectFill||At.normalFill,Lt=Ue&&At.selectStroke||At.normalStroke;if(hasFillOrStroke(Dt)||hasFillOrStroke(Lt)){Fe=Fe||{};var jt=Fe.style||{};jt.fill==="inherit"?(qe=!0,Fe=extend({},Fe),jt=extend({},jt),jt.fill=Dt):!hasFillOrStroke(jt.fill)&&hasFillOrStroke(Dt)?(qe=!0,Fe=extend({},Fe),jt=extend({},jt),jt.fill=liftColor(Dt)):!hasFillOrStroke(jt.stroke)&&hasFillOrStroke(Lt)&&(qe||(Fe=extend({},Fe),jt=extend({},jt)),jt.stroke=liftColor(Lt)),Fe.style=jt}}if(Fe&&Fe.z2==null){qe||(Fe=extend({},Fe));var hn=xe.z2EmphasisLift;Fe.z2=xe.z2+(hn??Z2_EMPHASIS_LIFT)}return Fe}function createSelectDefaultState(xe,$e,Ie){if(Ie&&Ie.z2==null){Ie=extend({},Ie);var Fe=xe.z2SelectLift;Ie.z2=xe.z2+(Fe??Z2_SELECT_LIFT)}return Ie}function createBlurDefaultState(xe,$e,Ie){var Fe=indexOf(xe.currentStates,$e)>=0,Ue=xe.style.opacity,qe=Fe?null:getFromStateStyle(xe,["opacity"],$e,{opacity:1});Ie=Ie||{};var At=Ie.style||{};return At.opacity==null&&(Ie=extend({},Ie),At=extend({opacity:Fe?Ue:qe.opacity*.1},At),Ie.style=At),Ie}function elementStateProxy(xe,$e){var Ie=this.states[xe];if(this.style){if(xe==="emphasis")return createEmphasisDefaultState(this,xe,$e,Ie);if(xe==="blur")return createBlurDefaultState(this,xe,Ie);if(xe==="select")return createSelectDefaultState(this,xe,Ie)}return Ie}function setDefaultStateProxy(xe){xe.stateProxy=elementStateProxy;var $e=xe.getTextContent(),Ie=xe.getTextGuideLine();$e&&($e.stateProxy=elementStateProxy),Ie&&(Ie.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(xe,$e){!shouldSilent(xe,$e)&&!xe.__highByOuter&&traverseUpdateState(xe,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(xe,$e){!shouldSilent(xe,$e)&&!xe.__highByOuter&&traverseUpdateState(xe,singleLeaveEmphasis)}function enterEmphasis(xe,$e){xe.__highByOuter|=1<<($e||0),traverseUpdateState(xe,singleEnterEmphasis)}function leaveEmphasis(xe,$e){!(xe.__highByOuter&=~(1<<($e||0)))&&traverseUpdateState(xe,singleLeaveEmphasis)}function enterBlur(xe){traverseUpdateState(xe,singleEnterBlur)}function leaveBlur(xe){traverseUpdateState(xe,singleLeaveBlur)}function enterSelect(xe){traverseUpdateState(xe,singleEnterSelect)}function leaveSelect(xe){traverseUpdateState(xe,singleLeaveSelect)}function shouldSilent(xe,$e){return xe.__highDownSilentOnTouch&&$e.zrByTouch}function allLeaveBlur(xe){var $e=xe.getModel(),Ie=[],Fe=[];$e.eachComponent(function(Ue,qe){var At=getComponentStates(qe),Dt=Ue==="series",Lt=Dt?xe.getViewOfSeriesModel(qe):xe.getViewOfComponentModel(qe);!Dt&&Fe.push(Lt),At.isBlured&&(Lt.group.traverse(function(jt){singleLeaveBlur(jt)}),Dt&&Ie.push(qe)),At.isBlured=!1}),each$f(Fe,function(Ue){Ue&&Ue.toggleBlurSeries&&Ue.toggleBlurSeries(Ie,!1,$e)})}function blurSeries(xe,$e,Ie,Fe){var Ue=Fe.getModel();Ie=Ie||"coordinateSystem";function qe(jt,hn){for(var vn=0;vn0){var Dt={dataIndex:At,seriesIndex:Ie.seriesIndex};qe!=null&&(Dt.dataType=qe),$e.push(Dt)}})}),$e}function enableHoverEmphasis(xe,$e,Ie){setAsHighDownDispatcher(xe,!0),traverseUpdateState(xe,setDefaultStateProxy),enableHoverFocus(xe,$e,Ie)}function disableHoverEmphasis(xe){setAsHighDownDispatcher(xe,!1)}function toggleHoverEmphasis(xe,$e,Ie,Fe){Fe?disableHoverEmphasis(xe):enableHoverEmphasis(xe,$e,Ie)}function enableHoverFocus(xe,$e,Ie){var Fe=getECData(xe);$e!=null?(Fe.focus=$e,Fe.blurScope=Ie):Fe.focus&&(Fe.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(xe,$e,Ie,Fe){Ie=Ie||"itemStyle";for(var Ue=0;Ue1&&(At*=mathSqrt$1(wn),Dt*=mathSqrt$1(wn));var kn=(Ue===qe?-1:1)*mathSqrt$1((At*At*(Dt*Dt)-At*At*(_n*_n)-Dt*Dt*(bn*bn))/(At*At*(_n*_n)+Dt*Dt*(bn*bn)))||0,Cn=kn*At*_n/Dt,Sn=kn*-Dt*bn/At,xn=(xe+Ie)/2+mathCos$2(vn)*Cn-mathSin$2(vn)*Sn,En=($e+Fe)/2+mathSin$2(vn)*Cn+mathCos$2(vn)*Sn,Tn=vAngle([1,0],[(bn-Cn)/At,(_n-Sn)/Dt]),An=[(bn-Cn)/At,(_n-Sn)/Dt],$n=[(-1*bn-Cn)/At,(-1*_n-Sn)/Dt],Pn=vAngle(An,$n);if(vRatio(An,$n)<=-1&&(Pn=PI$7),vRatio(An,$n)>=1&&(Pn=0),Pn<0){var Nn=Math.round(Pn/PI$7*1e6)/1e6;Pn=PI$7*2+Nn%2*PI$7}hn.addData(jt,xn,En,At,Dt,Tn,Pn,vn,qe)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg$1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(xe){var $e=new PathProxy;if(!xe)return $e;var Ie=0,Fe=0,Ue=Ie,qe=Fe,At,Dt=PathProxy.CMD,Lt=xe.match(commandReg);if(!Lt)return $e;for(var jt=0;jtVn*Vn+Ln*Ln&&(Nn=In,Mn=On),{cx:Nn,cy:Mn,x0:-hn,y0:-vn,x1:Nn*(Ue/An-1),y1:Mn*(Ue/An-1)}}function normalizeCornerRadius(xe){var $e;if(isArray$1(xe)){var Ie=xe.length;if(!Ie)return xe;Ie===1?$e=[xe[0],xe[0],0,0]:Ie===2?$e=[xe[0],xe[0],xe[1],xe[1]]:Ie===3?$e=xe.concat(xe[2]):$e=xe}else $e=[xe,xe,xe,xe];return $e}function buildPath$1(xe,$e){var Ie,Fe=mathMax$7($e.r,0),Ue=mathMax$7($e.r0||0,0),qe=Fe>0,At=Ue>0;if(!(!qe&&!At)){if(qe||(Fe=Ue,Ue=0),Ue>Fe){var Dt=Fe;Fe=Ue,Ue=Dt}var Lt=$e.startAngle,jt=$e.endAngle;if(!(isNaN(Lt)||isNaN(jt))){var hn=$e.cx,vn=$e.cy,bn=!!$e.clockwise,_n=mathAbs$1(jt-Lt),wn=_n>PI2$3&&_n%PI2$3;if(wn>e&&(_n=wn),!(Fe>e))xe.moveTo(hn,vn);else if(_n>PI2$3-e)xe.moveTo(hn+Fe*mathCos$1(Lt),vn+Fe*mathSin$1(Lt)),xe.arc(hn,vn,Fe,Lt,jt,!bn),Ue>e&&(xe.moveTo(hn+Ue*mathCos$1(jt),vn+Ue*mathSin$1(jt)),xe.arc(hn,vn,Ue,jt,Lt,bn));else{var kn=void 0,Cn=void 0,Sn=void 0,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0,Pn=void 0,Nn=void 0,Mn=void 0,In=void 0,On=void 0,Rn=void 0,Bn=void 0,Vn=void 0,Ln=Fe*mathCos$1(Lt),Dn=Fe*mathSin$1(Lt),Hn=Ue*mathCos$1(jt),Fn=Ue*mathSin$1(jt),zn=_n>e;if(zn){var jn=$e.cornerRadius;jn&&(Ie=normalizeCornerRadius(jn),kn=Ie[0],Cn=Ie[1],Sn=Ie[2],xn=Ie[3]);var Gn=mathAbs$1(Fe-Ue)/2;if(En=mathMin$7(Gn,Sn),Tn=mathMin$7(Gn,xn),An=mathMin$7(Gn,kn),$n=mathMin$7(Gn,Cn),Mn=Pn=mathMax$7(En,Tn),In=Nn=mathMax$7(An,$n),(Pn>e||Nn>e)&&(On=Fe*mathCos$1(jt),Rn=Fe*mathSin$1(jt),Bn=Ue*mathCos$1(Lt),Vn=Ue*mathSin$1(Lt),_ne){var ar=mathMin$7(Sn,Mn),tr=mathMin$7(xn,Mn),or=computeCornerTangents(Bn,Vn,Ln,Dn,Fe,ar,bn),sr=computeCornerTangents(On,Rn,Hn,Fn,Fe,tr,bn);xe.moveTo(hn+or.cx+or.x0,vn+or.cy+or.y0),Mn0&&xe.arc(hn+or.cx,vn+or.cy,ar,mathATan2(or.y0,or.x0),mathATan2(or.y1,or.x1),!bn),xe.arc(hn,vn,Fe,mathATan2(or.cy+or.y1,or.cx+or.x1),mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),!bn),tr>0&&xe.arc(hn+sr.cx,vn+sr.cy,tr,mathATan2(sr.y1,sr.x1),mathATan2(sr.y0,sr.x0),!bn))}else xe.moveTo(hn+Ln,vn+Dn),xe.arc(hn,vn,Fe,Lt,jt,!bn);if(!(Ue>e)||!zn)xe.lineTo(hn+Hn,vn+Fn);else if(In>e){var ar=mathMin$7(kn,In),tr=mathMin$7(Cn,In),or=computeCornerTangents(Hn,Fn,On,Rn,Ue,-tr,bn),sr=computeCornerTangents(Ln,Dn,Bn,Vn,Ue,-ar,bn);xe.lineTo(hn+or.cx+or.x0,vn+or.cy+or.y0),In0&&xe.arc(hn+or.cx,vn+or.cy,tr,mathATan2(or.y0,or.x0),mathATan2(or.y1,or.x1),!bn),xe.arc(hn,vn,Ue,mathATan2(or.cy+or.y1,or.cx+or.x1),mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),bn),ar>0&&xe.arc(hn+sr.cx,vn+sr.cy,ar,mathATan2(sr.y1,sr.x1),mathATan2(sr.y0,sr.x0),!bn))}else xe.lineTo(hn+Hn,vn+Fn),xe.arc(hn,vn,Ue,jt,Lt,bn)}xe.closePath()}}}var SectorShape=function(){function xe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return xe}(),Sector=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new SectorShape},$e.prototype.buildPath=function(Ie,Fe){buildPath$1(Ie,Fe)},$e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},$e}(Path);Sector.prototype.type="sector";var RingShape=function(){function xe(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return xe}(),Ring=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new RingShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.PI*2;Ie.moveTo(Ue+Fe.r,qe),Ie.arc(Ue,qe,Fe.r,0,At,!1),Ie.moveTo(Ue+Fe.r0,qe),Ie.arc(Ue,qe,Fe.r0,0,At,!0)},$e}(Path);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(xe,$e,Ie,Fe){var Ue=[],qe=[],At=[],Dt=[],Lt,jt,hn,vn;if(Fe){hn=[1/0,1/0],vn=[-1/0,-1/0];for(var bn=0,_n=xe.length;bn<_n;bn++)min$1(hn,hn,xe[bn]),max$1(vn,vn,xe[bn]);min$1(hn,hn,Fe[0]),max$1(vn,vn,Fe[1])}for(var bn=0,_n=xe.length;bn<_n;bn++){var wn=xe[bn];if(Ie)Lt=xe[bn?bn-1:_n-1],jt=xe[(bn+1)%_n];else if(bn===0||bn===_n-1){Ue.push(clone$3(xe[bn]));continue}else Lt=xe[bn-1],jt=xe[bn+1];sub(qe,jt,Lt),scale$2(qe,qe,$e);var kn=distance(wn,Lt),Cn=distance(wn,jt),Sn=kn+Cn;Sn!==0&&(kn/=Sn,Cn/=Sn),scale$2(At,qe,-kn),scale$2(Dt,qe,Cn);var xn=add([],wn,At),En=add([],wn,Dt);Fe&&(max$1(xn,xn,hn),min$1(xn,xn,vn),max$1(En,En,hn),min$1(En,En,vn)),Ue.push(xn),Ue.push(En)}return Ie&&Ue.push(Ue.shift()),Ue}function buildPath(xe,$e,Ie){var Fe=$e.smooth,Ue=$e.points;if(Ue&&Ue.length>=2){if(Fe){var qe=smoothBezier(Ue,Fe,Ie,$e.smoothConstraint);xe.moveTo(Ue[0][0],Ue[0][1]);for(var At=Ue.length,Dt=0;Dt<(Ie?At:At-1);Dt++){var Lt=qe[Dt*2],jt=qe[Dt*2+1],hn=Ue[(Dt+1)%At];xe.bezierCurveTo(Lt[0],Lt[1],jt[0],jt[1],hn[0],hn[1])}}else{xe.moveTo(Ue[0][0],Ue[0][1]);for(var Dt=1,vn=Ue.length;Dtextent2[1]){if(Dt=!1,qe)return Dt;var hn=Math.abs(extent2[0]-extent[1]),vn=Math.abs(extent[0]-extent2[1]);Math.min(hn,vn)>Ue.len()&&(hn0){var vn=hn.duration,bn=hn.delay,_n=hn.easing,wn={duration:vn,delay:bn||0,easing:_n,done:qe,force:!!qe||!!At,setToFinal:!jt,scope:xe,during:At};Dt?$e.animateFrom(Ie,wn):$e.animateTo(Ie,wn)}else $e.stopAnimation(),!Dt&&$e.attr(Ie),At&&At(1),qe&&qe()}function updateProps$1(xe,$e,Ie,Fe,Ue,qe){animateOrSetProps("update",xe,$e,Ie,Fe,Ue,qe)}function initProps(xe,$e,Ie,Fe,Ue,qe){animateOrSetProps("enter",xe,$e,Ie,Fe,Ue,qe)}function isElementRemoved(xe){if(!xe.__zr)return!0;for(var $e=0;$eMath.abs(qe[1])?qe[0]>0?"right":"left":qe[1]>0?"bottom":"top"}function isNotGroup(xe){return!xe.isGroup}function isPath$1(xe){return xe.shape!=null}function groupTransition(xe,$e,Ie){if(!xe||!$e)return;function Fe(At){var Dt={};return At.traverse(function(Lt){isNotGroup(Lt)&&Lt.anid&&(Dt[Lt.anid]=Lt)}),Dt}function Ue(At){var Dt={x:At.x,y:At.y,rotation:At.rotation};return isPath$1(At)&&(Dt.shape=extend({},At.shape)),Dt}var qe=Fe(xe);$e.traverse(function(At){if(isNotGroup(At)&&At.anid){var Dt=qe[At.anid];if(Dt){var Lt=Ue(At);At.attr(Ue(Dt)),updateProps$1(At,Lt,Ie,getECData(At).dataIndex)}}})}function clipPointsByRect(xe,$e){return map$1(xe,function(Ie){var Fe=Ie[0];Fe=mathMax$6(Fe,$e.x),Fe=mathMin$6(Fe,$e.x+$e.width);var Ue=Ie[1];return Ue=mathMax$6(Ue,$e.y),Ue=mathMin$6(Ue,$e.y+$e.height),[Fe,Ue]})}function clipRectByRect(xe,$e){var Ie=mathMax$6(xe.x,$e.x),Fe=mathMin$6(xe.x+xe.width,$e.x+$e.width),Ue=mathMax$6(xe.y,$e.y),qe=mathMin$6(xe.y+xe.height,$e.y+$e.height);if(Fe>=Ie&&qe>=Ue)return{x:Ie,y:Ue,width:Fe-Ie,height:qe-Ue}}function createIcon(xe,$e,Ie){var Fe=extend({rectHover:!0},$e),Ue=Fe.style={strokeNoScale:!0};if(Ie=Ie||{x:-1,y:-1,width:2,height:2},xe)return xe.indexOf("image://")===0?(Ue.image=xe.slice(8),defaults(Ue,Ie),new ZRImage(Fe)):makePath(xe.replace("path://",""),Fe,Ie,"center")}function linePolygonIntersect(xe,$e,Ie,Fe,Ue){for(var qe=0,At=Ue[Ue.length-1];qe1)return!1;var Cn=crossProduct2d$1(_n,wn,hn,vn)/bn;return!(Cn<0||Cn>1)}function crossProduct2d$1(xe,$e,Ie,Fe){return xe*Fe-Ie*$e}function nearZero(xe){return xe<=1e-6&&xe>=-1e-6}function setTooltipConfig(xe){var $e=xe.itemTooltipOption,Ie=xe.componentModel,Fe=xe.itemName,Ue=isString($e)?{formatter:$e}:$e,qe=Ie.mainType,At=Ie.componentIndex,Dt={componentType:qe,name:Fe,$vars:["name"]};Dt[qe+"Index"]=At;var Lt=xe.formatterParamsExtra;Lt&&each$f(keys(Lt),function(hn){hasOwn(Dt,hn)||(Dt[hn]=Lt[hn],Dt.$vars.push(hn))});var jt=getECData(xe.el);jt.componentMainType=qe,jt.componentIndex=At,jt.tooltipConfig={name:Fe,option:defaults({content:Fe,formatterParams:Dt},Ue)}}function traverseElement(xe,$e){var Ie;xe.isGroup&&(Ie=$e(xe)),Ie||xe.traverse($e)}function traverseElements(xe,$e){if(xe)if(isArray$1(xe))for(var Ie=0;Ie=0&&Dt.push(Lt)}),Dt}}function inheritDefaultOption(xe,$e){return merge(merge({},xe,!0),$e,!0)}const langEN={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},langZH={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env.domSupported?function(){var xe=(document.documentElement.lang||navigator.language||navigator.browserLanguage||DEFAULT_LOCALE).toUpperCase();return xe.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(xe,$e){xe=xe.toUpperCase(),localeModels[xe]=new Model($e),localeStorage[xe]=$e}function createLocaleObject(xe){if(isString(xe)){var $e=localeStorage[xe.toUpperCase()]||{};return xe===LOCALE_ZH||xe===LOCALE_EN?clone$4($e):merge(clone$4($e),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$4(xe),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(xe){return localeModels[xe]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN);registerLocale(LOCALE_ZH,langZH);var ONE_SECOND=1e3,ONE_MINUTE=ONE_SECOND*60,ONE_HOUR=ONE_MINUTE*60,ONE_DAY=ONE_HOUR*24,ONE_YEAR=ONE_DAY*365,defaultLeveledFormatter={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},fullDayFormatter="{yyyy}-{MM}-{dd}",fullLeveledFormatter={year:"{yyyy}",month:"{yyyy}-{MM}",day:fullDayFormatter,hour:fullDayFormatter+" "+defaultLeveledFormatter.hour,minute:fullDayFormatter+" "+defaultLeveledFormatter.minute,second:fullDayFormatter+" "+defaultLeveledFormatter.second,millisecond:defaultLeveledFormatter.none},primaryTimeUnits=["year","month","day","hour","minute","second","millisecond"],timeUnits=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(xe,$e){return xe+="","0000".substr(0,$e-xe.length)+xe}function getPrimaryTimeUnit(xe){switch(xe){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return xe}}function isPrimaryTimeUnit(xe){return xe===getPrimaryTimeUnit(xe)}function getDefaultFormatPrecisionOfInterval(xe){switch(xe){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format(xe,$e,Ie,Fe){var Ue=parseDate(xe),qe=Ue[fullYearGetterName(Ie)](),At=Ue[monthGetterName(Ie)]()+1,Dt=Math.floor((At-1)/3)+1,Lt=Ue[dateGetterName(Ie)](),jt=Ue["get"+(Ie?"UTC":"")+"Day"](),hn=Ue[hoursGetterName(Ie)](),vn=(hn-1)%12+1,bn=Ue[minutesGetterName(Ie)](),_n=Ue[secondsGetterName(Ie)](),wn=Ue[millisecondsGetterName(Ie)](),kn=Fe instanceof Model?Fe:getLocaleModel(Fe||SYSTEM_LANG)||getDefaultLocaleModel(),Cn=kn.getModel("time"),Sn=Cn.get("month"),xn=Cn.get("monthAbbr"),En=Cn.get("dayOfWeek"),Tn=Cn.get("dayOfWeekAbbr");return($e||"").replace(/{yyyy}/g,qe+"").replace(/{yy}/g,pad(qe%100+"",2)).replace(/{Q}/g,Dt+"").replace(/{MMMM}/g,Sn[At-1]).replace(/{MMM}/g,xn[At-1]).replace(/{MM}/g,pad(At,2)).replace(/{M}/g,At+"").replace(/{dd}/g,pad(Lt,2)).replace(/{d}/g,Lt+"").replace(/{eeee}/g,En[jt]).replace(/{ee}/g,Tn[jt]).replace(/{e}/g,jt+"").replace(/{HH}/g,pad(hn,2)).replace(/{H}/g,hn+"").replace(/{hh}/g,pad(vn+"",2)).replace(/{h}/g,vn+"").replace(/{mm}/g,pad(bn,2)).replace(/{m}/g,bn+"").replace(/{ss}/g,pad(_n,2)).replace(/{s}/g,_n+"").replace(/{SSS}/g,pad(wn,3)).replace(/{S}/g,wn+"")}function leveledFormat(xe,$e,Ie,Fe,Ue){var qe=null;if(isString(Ie))qe=Ie;else if(isFunction(Ie))qe=Ie(xe.value,$e,{level:xe.level});else{var At=extend({},defaultLeveledFormatter);if(xe.level>0)for(var Dt=0;Dt=0;--Dt)if(Lt[jt]){qe=Lt[jt];break}qe=qe||At.none}if(isArray$1(qe)){var vn=xe.level==null?0:xe.level>=0?xe.level:qe.length+xe.level;vn=Math.min(vn,qe.length-1),qe=qe[vn]}}return format(new Date(xe.value),qe,Ue,Fe)}function getUnitFromValue(xe,$e){var Ie=parseDate(xe),Fe=Ie[monthGetterName($e)]()+1,Ue=Ie[dateGetterName($e)](),qe=Ie[hoursGetterName($e)](),At=Ie[minutesGetterName($e)](),Dt=Ie[secondsGetterName($e)](),Lt=Ie[millisecondsGetterName($e)](),jt=Lt===0,hn=jt&&Dt===0,vn=hn&&At===0,bn=vn&&qe===0,_n=bn&&Ue===1,wn=_n&&Fe===1;return wn?"year":_n?"month":bn?"day":vn?"hour":hn?"minute":jt?"second":"millisecond"}function getUnitValue(xe,$e,Ie){var Fe=isNumber(xe)?parseDate(xe):xe;switch($e=$e||getUnitFromValue(xe,Ie),$e){case"year":return Fe[fullYearGetterName(Ie)]();case"half-year":return Fe[monthGetterName(Ie)]()>=6?1:0;case"quarter":return Math.floor((Fe[monthGetterName(Ie)]()+1)/4);case"month":return Fe[monthGetterName(Ie)]();case"day":return Fe[dateGetterName(Ie)]();case"half-day":return Fe[hoursGetterName(Ie)]()/24;case"hour":return Fe[hoursGetterName(Ie)]();case"minute":return Fe[minutesGetterName(Ie)]();case"second":return Fe[secondsGetterName(Ie)]();case"millisecond":return Fe[millisecondsGetterName(Ie)]()}}function fullYearGetterName(xe){return xe?"getUTCFullYear":"getFullYear"}function monthGetterName(xe){return xe?"getUTCMonth":"getMonth"}function dateGetterName(xe){return xe?"getUTCDate":"getDate"}function hoursGetterName(xe){return xe?"getUTCHours":"getHours"}function minutesGetterName(xe){return xe?"getUTCMinutes":"getMinutes"}function secondsGetterName(xe){return xe?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(xe){return xe?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(xe){return xe?"setUTCFullYear":"setFullYear"}function monthSetterName(xe){return xe?"setUTCMonth":"setMonth"}function dateSetterName(xe){return xe?"setUTCDate":"setDate"}function hoursSetterName(xe){return xe?"setUTCHours":"setHours"}function minutesSetterName(xe){return xe?"setUTCMinutes":"setMinutes"}function secondsSetterName(xe){return xe?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(xe){return xe?"setUTCMilliseconds":"setMilliseconds"}function addCommas(xe){if(!isNumeric(xe))return isString(xe)?xe:"-";var $e=(xe+"").split(".");return $e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+($e.length>1?"."+$e[1]:"")}function toCamelCase(xe,$e){return xe=(xe||"").toLowerCase().replace(/-(.)/g,function(Ie,Fe){return Fe.toUpperCase()}),$e&&xe&&(xe=xe.charAt(0).toUpperCase()+xe.slice(1)),xe}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(xe,$e,Ie){var Fe="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function Ue(hn){return hn&&trim$1(hn)?hn:"-"}function qe(hn){return!!(hn!=null&&!isNaN(hn)&&isFinite(hn))}var At=$e==="time",Dt=xe instanceof Date;if(At||Dt){var Lt=At?parseDate(xe):xe;if(isNaN(+Lt)){if(Dt)return"-"}else return format(Lt,Fe,Ie)}if($e==="ordinal")return isStringSafe(xe)?Ue(xe):isNumber(xe)&&qe(xe)?xe+"":"-";var jt=numericToNumber(xe);return qe(jt)?addCommas(jt):isStringSafe(xe)?Ue(xe):typeof xe=="boolean"?xe+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(xe,$e){return"{"+xe+($e??"")+"}"};function formatTpl(xe,$e,Ie){isArray$1($e)||($e=[$e]);var Fe=$e.length;if(!Fe)return"";for(var Ue=$e[0].$vars||[],qe=0;qe
    ':'';var At=Ie.markerId||"markerX";return{renderMode:qe,content:"{"+At+"|} ",style:Ue==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:Fe}:{width:10,height:10,borderRadius:5,backgroundColor:Fe}}}function convertToColorString(xe,$e){return $e=$e||"transparent",isString(xe)?xe:isObject$3(xe)&&xe.colorStops&&(xe.colorStops[0]||{}).color||$e}function windowOpen(xe,$e){if($e==="_blank"||$e==="blank"){var Ie=window.open();Ie.opener=null,Ie.location.href=xe}else window.open(xe,$e)}var each$e=each$f,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(xe,$e,Ie,Fe,Ue){var qe=0,At=0;Fe==null&&(Fe=1/0),Ue==null&&(Ue=1/0);var Dt=0;$e.eachChild(function(Lt,jt){var hn=Lt.getBoundingRect(),vn=$e.childAt(jt+1),bn=vn&&vn.getBoundingRect(),_n,wn;if(xe==="horizontal"){var kn=hn.width+(bn?-bn.x+hn.x:0);_n=qe+kn,_n>Fe||Lt.newline?(qe=0,_n=kn,At+=Dt+Ie,Dt=hn.height):Dt=Math.max(Dt,hn.height)}else{var Cn=hn.height+(bn?-bn.y+hn.y:0);wn=At+Cn,wn>Ue||Lt.newline?(qe+=Dt+Ie,At=0,wn=Cn,Dt=hn.width):Dt=Math.max(Dt,hn.width)}Lt.newline||(Lt.x=qe,Lt.y=At,Lt.markRedraw(),xe==="horizontal"?qe=_n+Ie:At=wn+Ie)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getAvailableSize(xe,$e,Ie){var Fe=$e.width,Ue=$e.height,qe=parsePercent(xe.left,Fe),At=parsePercent(xe.top,Ue),Dt=parsePercent(xe.right,Fe),Lt=parsePercent(xe.bottom,Ue);return(isNaN(qe)||isNaN(parseFloat(xe.left)))&&(qe=0),(isNaN(Dt)||isNaN(parseFloat(xe.right)))&&(Dt=Fe),(isNaN(At)||isNaN(parseFloat(xe.top)))&&(At=0),(isNaN(Lt)||isNaN(parseFloat(xe.bottom)))&&(Lt=Ue),Ie=normalizeCssArray(Ie||0),{width:Math.max(Dt-qe-Ie[1]-Ie[3],0),height:Math.max(Lt-At-Ie[0]-Ie[2],0)}}function getLayoutRect(xe,$e,Ie){Ie=normalizeCssArray(Ie||0);var Fe=$e.width,Ue=$e.height,qe=parsePercent(xe.left,Fe),At=parsePercent(xe.top,Ue),Dt=parsePercent(xe.right,Fe),Lt=parsePercent(xe.bottom,Ue),jt=parsePercent(xe.width,Fe),hn=parsePercent(xe.height,Ue),vn=Ie[2]+Ie[0],bn=Ie[1]+Ie[3],_n=xe.aspect;switch(isNaN(jt)&&(jt=Fe-Dt-bn-qe),isNaN(hn)&&(hn=Ue-Lt-vn-At),_n!=null&&(isNaN(jt)&&isNaN(hn)&&(_n>Fe/Ue?jt=Fe*.8:hn=Ue*.8),isNaN(jt)&&(jt=_n*hn),isNaN(hn)&&(hn=jt/_n)),isNaN(qe)&&(qe=Fe-Dt-jt-bn),isNaN(At)&&(At=Ue-Lt-hn-vn),xe.left||xe.right){case"center":qe=Fe/2-jt/2-Ie[3];break;case"right":qe=Fe-jt-bn;break}switch(xe.top||xe.bottom){case"middle":case"center":At=Ue/2-hn/2-Ie[0];break;case"bottom":At=Ue-hn-vn;break}qe=qe||0,At=At||0,isNaN(jt)&&(jt=Fe-bn-qe-(Dt||0)),isNaN(hn)&&(hn=Ue-vn-At-(Lt||0));var wn=new BoundingRect(qe+Ie[3],At+Ie[0],jt,hn);return wn.margin=Ie,wn}function positionElement(xe,$e,Ie,Fe,Ue,qe){var At=!Ue||!Ue.hv||Ue.hv[0],Dt=!Ue||!Ue.hv||Ue.hv[1],Lt=Ue&&Ue.boundingMode||"all";if(qe=qe||xe,qe.x=xe.x,qe.y=xe.y,!At&&!Dt)return!1;var jt;if(Lt==="raw")jt=xe.type==="group"?new BoundingRect(0,0,+$e.width||0,+$e.height||0):xe.getBoundingRect();else if(jt=xe.getBoundingRect(),xe.needLocalTransform()){var hn=xe.getLocalTransform();jt=jt.clone(),jt.applyTransform(hn)}var vn=getLayoutRect(defaults({width:jt.width,height:jt.height},$e),Ie,Fe),bn=At?vn.x-jt.x:0,_n=Dt?vn.y-jt.y:0;return Lt==="raw"?(qe.x=bn,qe.y=_n):(qe.x+=bn,qe.y+=_n),qe===xe&&xe.markRedraw(),!0}function sizeCalculable(xe,$e){return xe[HV_NAMES[$e][0]]!=null||xe[HV_NAMES[$e][1]]!=null&&xe[HV_NAMES[$e][2]]!=null}function fetchLayoutMode(xe){var $e=xe.layoutMode||xe.constructor.layoutMode;return isObject$3($e)?$e:$e?{type:$e}:null}function mergeLayoutParam(xe,$e,Ie){var Fe=Ie&&Ie.ignoreSize;!isArray$1(Fe)&&(Fe=[Fe,Fe]);var Ue=At(HV_NAMES[0],0),qe=At(HV_NAMES[1],1);jt(HV_NAMES[0],xe,Ue),jt(HV_NAMES[1],xe,qe);function At(hn,vn){var bn={},_n=0,wn={},kn=0,Cn=2;if(each$e(hn,function(En){wn[En]=xe[En]}),each$e(hn,function(En){Dt($e,En)&&(bn[En]=wn[En]=$e[En]),Lt(bn,En)&&_n++,Lt(wn,En)&&kn++}),Fe[vn])return Lt($e,hn[1])?wn[hn[2]]=null:Lt($e,hn[2])&&(wn[hn[1]]=null),wn;if(kn===Cn||!_n)return wn;if(_n>=Cn)return bn;for(var Sn=0;Sn=0;Lt--)Dt=merge(Dt,Ue[Lt],!0);Fe.defaultOption=Dt}return Fe.defaultOption},$e.prototype.getReferringComponents=function(Ie,Fe){var Ue=Ie+"Index",qe=Ie+"Id";return queryReferringComponents(this.ecModel,Ie,{index:this.get(Ue,!0),id:this.get(qe,!0)},Fe)},$e.prototype.getBoxLayoutParams=function(){var Ie=this;return{left:Ie.get("left"),top:Ie.get("top"),right:Ie.get("right"),bottom:Ie.get("bottom"),width:Ie.get("width"),height:Ie.get("height")}},$e.prototype.getZLevelKey=function(){return""},$e.prototype.setZLevel=function(Ie){this.option.zlevel=Ie},$e.protoInitialize=function(){var Ie=$e.prototype;Ie.type="component",Ie.id="",Ie.name="",Ie.mainType="",Ie.subType="",Ie.componentIndex=0}(),$e}(Model);mountExtend(ComponentModel,Model);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(xe){var $e=[];return each$f(ComponentModel.getClassesByMainType(xe),function(Ie){$e=$e.concat(Ie.dependencies||Ie.prototype.dependencies||[])}),$e=map$1($e,function(Ie){return parseClassType(Ie).main}),xe!=="dataset"&&indexOf($e,"dataset")<=0&&$e.unshift("dataset"),$e}var platform="";typeof navigator<"u"&&(platform=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)";const globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(xe){innerGlobalModel(xe).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(xe,$e,Ie){var Fe={},Ue=querySeriesUpstreamDatasetModel($e);if(!Ue||!xe)return Fe;var qe=[],At=[],Dt=$e.ecModel,Lt=innerGlobalModel(Dt).datasetMap,jt=Ue.uid+"_"+Ie.seriesLayoutBy,hn,vn;xe=xe.slice(),each$f(xe,function(kn,Cn){var Sn=isObject$3(kn)?kn:xe[Cn]={name:kn};Sn.type==="ordinal"&&hn==null&&(hn=Cn,vn=wn(Sn)),Fe[Sn.name]=[]});var bn=Lt.get(jt)||Lt.set(jt,{categoryWayDim:vn,valueWayDim:0});each$f(xe,function(kn,Cn){var Sn=kn.name,xn=wn(kn);if(hn==null){var En=bn.valueWayDim;_n(Fe[Sn],En,xn),_n(At,En,xn),bn.valueWayDim+=xn}else if(hn===Cn)_n(Fe[Sn],0,xn),_n(qe,0,xn);else{var En=bn.categoryWayDim;_n(Fe[Sn],En,xn),_n(At,En,xn),bn.categoryWayDim+=xn}});function _n(kn,Cn,Sn){for(var xn=0;xn$e)return xe[Fe];return xe[Ie-1]}function getFromPalette(xe,$e,Ie,Fe,Ue,qe,At){qe=qe||xe;var Dt=$e(qe),Lt=Dt.paletteIdx||0,jt=Dt.paletteNameMap=Dt.paletteNameMap||{};if(jt.hasOwnProperty(Ue))return jt[Ue];var hn=At==null||!Fe?Ie:getNearestPalette(Fe,At);if(hn=hn||Ie,!(!hn||!hn.length)){var vn=hn[Lt];return Ue&&(jt[Ue]=vn),Dt.paletteIdx=(Lt+1)%hn.length,vn}}function clearPalette(xe,$e){$e(xe).paletteIdx=0,$e(xe).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(Ie,Fe,Ue,qe,At,Dt){qe=qe||{},this.option=null,this._theme=new Model(qe),this._locale=new Model(At),this._optionManager=Dt},$e.prototype.setOption=function(Ie,Fe,Ue){var qe=normalizeSetOptionInput(Fe);this._optionManager.setOption(Ie,Ue,qe),this._resetOption(null,qe)},$e.prototype.resetOption=function(Ie,Fe){return this._resetOption(Ie,normalizeSetOptionInput(Fe))},$e.prototype._resetOption=function(Ie,Fe){var Ue=!1,qe=this._optionManager;if(!Ie||Ie==="recreate"){var At=qe.mountOption(Ie==="recreate");!this.option||Ie==="recreate"?initBase(this,At):(this.restoreData(),this._mergeOption(At,Fe)),Ue=!0}if((Ie==="timeline"||Ie==="media")&&this.restoreData(),!Ie||Ie==="recreate"||Ie==="timeline"){var Dt=qe.getTimelineOption(this);Dt&&(Ue=!0,this._mergeOption(Dt,Fe))}if(!Ie||Ie==="recreate"||Ie==="media"){var Lt=qe.getMediaOption(this);Lt.length&&each$f(Lt,function(jt){Ue=!0,this._mergeOption(jt,Fe)},this)}return Ue},$e.prototype.mergeOption=function(Ie){this._mergeOption(Ie,null)},$e.prototype._mergeOption=function(Ie,Fe){var Ue=this.option,qe=this._componentsMap,At=this._componentsCount,Dt=[],Lt=createHashMap(),jt=Fe&&Fe.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$f(Ie,function(vn,bn){vn!=null&&(ComponentModel.hasClass(bn)?bn&&(Dt.push(bn),Lt.set(bn,!0)):Ue[bn]=Ue[bn]==null?clone$4(vn):merge(Ue[bn],vn,!0))}),jt&&jt.each(function(vn,bn){ComponentModel.hasClass(bn)&&!Lt.get(bn)&&(Dt.push(bn),Lt.set(bn,!0))}),ComponentModel.topologicalTravel(Dt,ComponentModel.getAllClassMainTypes(),hn,this);function hn(vn){var bn=concatInternalOptions(this,vn,normalizeToArray(Ie[vn])),_n=qe.get(vn),wn=_n?jt&&jt.get(vn)?"replaceMerge":"normalMerge":"replaceAll",kn=mappingToExists(_n,bn,wn);setComponentTypeToKeyInfo(kn,vn,ComponentModel),Ue[vn]=null,qe.set(vn,null),At.set(vn,0);var Cn=[],Sn=[],xn=0,En;each$f(kn,function(Tn,An){var $n=Tn.existing,Pn=Tn.newOption;if(!Pn)$n&&($n.mergeOption({},this),$n.optionUpdated({},!1));else{var Nn=vn==="series",Mn=ComponentModel.getClass(vn,Tn.keyInfo.subType,!Nn);if(!Mn)return;if(vn==="tooltip"){if(En)return;En=!0}if($n&&$n.constructor===Mn)$n.name=Tn.keyInfo.name,$n.mergeOption(Pn,this),$n.optionUpdated(Pn,!1);else{var In=extend({componentIndex:An},Tn.keyInfo);$n=new Mn(Pn,this,this,In),extend($n,In),Tn.brandNew&&($n.__requireNewView=!0),$n.init(Pn,this,this),$n.optionUpdated(null,!0)}}$n?(Cn.push($n.option),Sn.push($n),xn++):(Cn.push(void 0),Sn.push(void 0))},this),Ue[vn]=Cn,qe.set(vn,Sn),At.set(vn,xn),vn==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},$e.prototype.getOption=function(){var Ie=clone$4(this.option);return each$f(Ie,function(Fe,Ue){if(ComponentModel.hasClass(Ue)){for(var qe=normalizeToArray(Fe),At=qe.length,Dt=!1,Lt=At-1;Lt>=0;Lt--)qe[Lt]&&!isComponentIdInternal(qe[Lt])?Dt=!0:(qe[Lt]=null,!Dt&&At--);qe.length=At,Ie[Ue]=qe}}),delete Ie[OPTION_INNER_KEY],Ie},$e.prototype.getTheme=function(){return this._theme},$e.prototype.getLocaleModel=function(){return this._locale},$e.prototype.setUpdatePayload=function(Ie){this._payload=Ie},$e.prototype.getUpdatePayload=function(){return this._payload},$e.prototype.getComponent=function(Ie,Fe){var Ue=this._componentsMap.get(Ie);if(Ue){var qe=Ue[Fe||0];if(qe)return qe;if(Fe==null){for(var At=0;At=$e:Ie==="max"?xe<=$e:xe===$e}function indicesEquals(xe,$e){return xe.join(",")===$e.join(",")}var each$d=each$f,isObject$2=isObject$3,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(xe){var $e=xe&&xe.itemStyle;if($e)for(var Ie=0,Fe=POSSIBLE_STYLES.length;Ie=0;Cn--){var Sn=xe[Cn];if(Dt||(wn=Sn.data.rawIndexOf(Sn.stackedByDimension,_n)),wn>=0){var xn=Sn.data.getByRawIndex(Sn.stackResultDimension,wn);if(Lt==="all"||Lt==="positive"&&xn>0||Lt==="negative"&&xn<0||Lt==="samesign"&&bn>=0&&xn>0||Lt==="samesign"&&bn<=0&&xn<0){bn=addSafe(bn,xn),kn=xn;break}}}return Fe[0]=bn,Fe[1]=kn,Fe})})}var SourceImpl=function(){function xe($e){this.data=$e.data||($e.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=$e.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=$e.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=$e.startIndex||0,this.dimensionsDetectedCount=$e.dimensionsDetectedCount,this.metaRawOption=$e.metaRawOption;var Ie=this.dimensionsDefine=$e.dimensionsDefine;if(Ie)for(var Fe=0;Fekn&&(kn=En)}_n[0]=wn,_n[1]=kn}},Ue=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=($e={},$e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:qe},$e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},$e[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:qe},$e[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(At){var Dt=this._data;each$f(At,function(Lt,jt){for(var hn=Dt[jt]||(Dt[jt]=[]),vn=0;vn<(Lt||[]).length;vn++)hn.push(Lt[vn])})}},$e[SOURCE_FORMAT_ORIGINAL]={appendData:qe},$e[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(At){this._data=At},clean:function(){this._offset+=this.count(),this._data=null}},$e);function qe(At){for(var Dt=0;Dt=0&&(kn=At.interpolatedValue[Cn])}return kn!=null?kn+"":""})}},xe.prototype.getRawValue=function($e,Ie){return retrieveRawValue(this.getData(Ie),$e)},xe.prototype.formatTooltip=function($e,Ie,Fe){},xe}();function normalizeTooltipFormatResult(xe){var $e,Ie;return isObject$3(xe)?xe.type&&(Ie=xe):$e=xe,{text:$e,frag:Ie}}function createTask(xe){return new Task(xe)}var Task=function(){function xe($e){$e=$e||{},this._reset=$e.reset,this._plan=$e.plan,this._count=$e.count,this._onDirty=$e.onDirty,this._dirty=!0}return xe.prototype.perform=function($e){var Ie=this._upstream,Fe=$e&&$e.skip;if(this._dirty&&Ie){var Ue=this.context;Ue.data=Ue.outputData=Ie.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var qe;this._plan&&!Fe&&(qe=this._plan(this.context));var At=hn(this._modBy),Dt=this._modDataCount||0,Lt=hn($e&&$e.modBy),jt=$e&&$e.modDataCount||0;(At!==Lt||Dt!==jt)&&(qe="reset");function hn(xn){return!(xn>=1)&&(xn=1),xn}var vn;(this._dirty||qe==="reset")&&(this._dirty=!1,vn=this._doReset(Fe)),this._modBy=Lt,this._modDataCount=jt;var bn=$e&&$e.step;if(Ie?this._dueEnd=Ie._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var _n=this._dueIndex,wn=Math.min(bn!=null?this._dueIndex+bn:1/0,this._dueEnd);if(!Fe&&(vn||_n1&&Fe>0?Dt:At}};return qe;function At(){return $e=xe?null:Lt$e},gte:function(xe,$e){return xe>=$e}},FilterOrderComparator=function(){function xe($e,Ie){if(!isNumber(Ie)){var Fe="";throwError(Fe)}this._opFn=ORDER_COMPARISON_OP_MAP[$e],this._rvalFloat=numericToNumber(Ie)}return xe.prototype.evaluate=function($e){return isNumber($e)?this._opFn($e,this._rvalFloat):this._opFn(numericToNumber($e),this._rvalFloat)},xe}(),SortOrderComparator=function(){function xe($e,Ie){var Fe=$e==="desc";this._resultLT=Fe?1:-1,Ie==null&&(Ie=Fe?"min":"max"),this._incomparable=Ie==="min"?-1/0:1/0}return xe.prototype.evaluate=function($e,Ie){var Fe=isNumber($e)?$e:numericToNumber($e),Ue=isNumber(Ie)?Ie:numericToNumber(Ie),qe=isNaN(Fe),At=isNaN(Ue);if(qe&&(Fe=this._incomparable),At&&(Ue=this._incomparable),qe&&At){var Dt=isString($e),Lt=isString(Ie);Dt&&(Fe=Lt?$e:0),Lt&&(Ue=Dt?Ie:0)}return FeUe?-this._resultLT:0},xe}(),FilterEqualityComparator=function(){function xe($e,Ie){this._rval=Ie,this._isEQ=$e,this._rvalTypeof=typeof Ie,this._rvalFloat=numericToNumber(Ie)}return xe.prototype.evaluate=function($e){var Ie=$e===this._rval;if(!Ie){var Fe=typeof $e;Fe!==this._rvalTypeof&&(Fe==="number"||this._rvalTypeof==="number")&&(Ie=numericToNumber($e)===this._rvalFloat)}return this._isEQ?Ie:!Ie},xe}();function createFilterComparator(xe,$e){return xe==="eq"||xe==="ne"?new FilterEqualityComparator(xe==="eq",$e):hasOwn(ORDER_COMPARISON_OP_MAP,xe)?new FilterOrderComparator(xe,$e):null}var ExternalSource=function(){function xe(){}return xe.prototype.getRawData=function(){throw new Error("not supported")},xe.prototype.getRawDataItem=function($e){throw new Error("not supported")},xe.prototype.cloneRawData=function(){},xe.prototype.getDimensionInfo=function($e){},xe.prototype.cloneAllDimensionInfo=function(){},xe.prototype.count=function(){},xe.prototype.retrieveValue=function($e,Ie){},xe.prototype.retrieveValueFromItem=function($e,Ie){},xe.prototype.convertValue=function($e,Ie){return parseDataValue($e,Ie)},xe}();function createExternalSource(xe,$e){var Ie=new ExternalSource,Fe=xe.data,Ue=Ie.sourceFormat=xe.sourceFormat,qe=xe.startIndex,At="";xe.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(At);var Dt=[],Lt={},jt=xe.dimensionsDefine;if(jt)each$f(jt,function(kn,Cn){var Sn=kn.name,xn={index:Cn,name:Sn,displayName:kn.displayName};if(Dt.push(xn),Sn!=null){var En="";hasOwn(Lt,Sn)&&throwError(En),Lt[Sn]=xn}});else for(var hn=0;hn65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(xe){var $e=xe.constructor;return $e===Array?xe.slice():new $e(xe)}function prepareStore(xe,$e,Ie,Fe,Ue){var qe=dataCtors[Ie||"float"];if(Ue){var At=xe[$e],Dt=At&&At.length;if(Dt!==Fe){for(var Lt=new qe(Fe),jt=0;jtCn[1]&&(Cn[1]=kn)}return this._rawCount=this._count=Lt,{start:Dt,end:Lt}},xe.prototype._initDataFromProvider=function($e,Ie,Fe){for(var Ue=this._provider,qe=this._chunks,At=this._dimensions,Dt=At.length,Lt=this._rawExtent,jt=map$1(At,function(xn){return xn.property}),hn=0;hnSn[1]&&(Sn[1]=Cn)}}!Ue.persistent&&Ue.clean&&Ue.clean(),this._rawCount=this._count=Ie,this._extent=[]},xe.prototype.count=function(){return this._count},xe.prototype.get=function($e,Ie){if(!(Ie>=0&&Ie=0&&Ie=this._rawCount||$e<0)return-1;if(!this._indices)return $e;var Ie=this._indices,Fe=Ie[$e];if(Fe!=null&&Fe$e)qe=At-1;else return At}return-1},xe.prototype.indicesOfNearest=function($e,Ie,Fe){var Ue=this._chunks,qe=Ue[$e],At=[];if(!qe)return At;Fe==null&&(Fe=1/0);for(var Dt=1/0,Lt=-1,jt=0,hn=0,vn=this.count();hn=0&&Lt<0)&&(Dt=wn,Lt=_n,jt=0),_n===Lt&&(At[jt++]=hn))}return At.length=jt,At},xe.prototype.getIndices=function(){var $e,Ie=this._indices;if(Ie){var Fe=Ie.constructor,Ue=this._count;if(Fe===Array){$e=new Fe(Ue);for(var qe=0;qe=vn&&xn<=bn||isNaN(xn))&&(Lt[jt++]=kn),kn++}wn=!0}else if(qe===2){for(var Cn=_n[Ue[0]],En=_n[Ue[1]],Tn=$e[Ue[1]][0],An=$e[Ue[1]][1],Sn=0;Sn=vn&&xn<=bn||isNaN(xn))&&($n>=Tn&&$n<=An||isNaN($n))&&(Lt[jt++]=kn),kn++}wn=!0}}if(!wn)if(qe===1)for(var Sn=0;Sn=vn&&xn<=bn||isNaN(xn))&&(Lt[jt++]=Pn)}else for(var Sn=0;Sn$e[In][1])&&(Nn=!1)}Nn&&(Lt[jt++]=Ie.getRawIndex(Sn))}return jtSn[1]&&(Sn[1]=Cn)}}}},xe.prototype.lttbDownSample=function($e,Ie){var Fe=this.clone([$e],!0),Ue=Fe._chunks,qe=Ue[$e],At=this.count(),Dt=0,Lt=Math.floor(1/Ie),jt=this.getRawIndex(0),hn,vn,bn,_n=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(At/Lt)+2)*2,At));_n[Dt++]=jt;for(var wn=1;wnhn&&(hn=vn,bn=Tn)}On>0&&Onhn-wn&&(Lt=hn-wn,Dt.length=Lt);for(var kn=0;knvn[1]&&(vn[1]=Sn),bn[_n++]=xn}return qe._count=_n,qe._indices=bn,qe._updateGetRawIdx(),qe},xe.prototype.each=function($e,Ie){if(this._count)for(var Fe=$e.length,Ue=this._chunks,qe=0,At=this.count();qeLt&&(Lt=vn)}return At=[Dt,Lt],this._extent[$e]=At,At},xe.prototype.getRawDataItem=function($e){var Ie=this.getRawIndex($e);if(this._provider.persistent)return this._provider.getItem(Ie);for(var Fe=[],Ue=this._chunks,qe=0;qe=0?this._indices[$e]:-1},xe.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},xe.internalField=function(){function $e(Ie,Fe,Ue,qe){return parseDataValue(Ie[qe],this._dimensions[qe])}defaultDimValueGetters={arrayRows:$e,objectRows:function(Ie,Fe,Ue,qe){return parseDataValue(Ie[Fe],this._dimensions[qe])},keyedColumns:$e,original:function(Ie,Fe,Ue,qe){var At=Ie&&(Ie.value==null?Ie:Ie.value);return parseDataValue(At instanceof Array?At[qe]:At,this._dimensions[qe])},typedArray:function(Ie,Fe,Ue,qe){return Ie[qe]}}}(),xe}(),SourceManager=function(){function xe($e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=$e}return xe.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},xe.prototype._setLocalSource=function($e,Ie){this._sourceList=$e,this._upstreamSignList=Ie,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},xe.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},xe.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},xe.prototype._createSource=function(){this._setLocalSource([],[]);var $e=this._sourceHost,Ie=this._getUpstreamSourceManagers(),Fe=!!Ie.length,Ue,qe;if(isSeries($e)){var At=$e,Dt=void 0,Lt=void 0,jt=void 0;if(Fe){var hn=Ie[0];hn.prepareSource(),jt=hn.getSource(),Dt=jt.data,Lt=jt.sourceFormat,qe=[hn._getVersionSign()]}else Dt=At.get("data",!0),Lt=isTypedArray(Dt)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,qe=[];var vn=this._getSourceMetaRawOption()||{},bn=jt&&jt.metaRawOption||{},_n=retrieve2(vn.seriesLayoutBy,bn.seriesLayoutBy)||null,wn=retrieve2(vn.sourceHeader,bn.sourceHeader),kn=retrieve2(vn.dimensions,bn.dimensions),Cn=_n!==bn.seriesLayoutBy||!!wn!=!!bn.sourceHeader||kn;Ue=Cn?[createSource(Dt,{seriesLayoutBy:_n,sourceHeader:wn,dimensions:kn},Lt)]:[]}else{var Sn=$e;if(Fe){var xn=this._applyTransform(Ie);Ue=xn.sourceList,qe=xn.upstreamSignList}else{var En=Sn.get("source",!0);Ue=[createSource(En,this._getSourceMetaRawOption(),null)],qe=[]}}this._setLocalSource(Ue,qe)},xe.prototype._applyTransform=function($e){var Ie=this._sourceHost,Fe=Ie.get("transform",!0),Ue=Ie.get("fromTransformResult",!0);if(Ue!=null){var qe="";$e.length!==1&&doThrow(qe)}var At,Dt=[],Lt=[];return each$f($e,function(jt){jt.prepareSource();var hn=jt.getSource(Ue||0),vn="";Ue!=null&&!hn&&doThrow(vn),Dt.push(hn),Lt.push(jt._getVersionSign())}),Fe?At=applyDataTransform(Fe,Dt,{datasetIndex:Ie.componentIndex}):Ue!=null&&(At=[cloneSourceShallow(Dt[0])]),{sourceList:At,upstreamSignList:Lt}},xe.prototype._isDirty=function(){if(this._dirty)return!0;for(var $e=this._getUpstreamSourceManagers(),Ie=0;Ie<$e.length;Ie++){var Fe=$e[Ie];if(Fe._isDirty()||this._upstreamSignList[Ie]!==Fe._getVersionSign())return!0}},xe.prototype.getSource=function($e){$e=$e||0;var Ie=this._sourceList[$e];if(!Ie){var Fe=this._getUpstreamSourceManagers();return Fe[0]&&Fe[0].getSource($e)}return Ie},xe.prototype.getSharedDataStore=function($e){var Ie=$e.makeStoreSchema();return this._innerGetDataStore(Ie.dimensions,$e.source,Ie.hash)},xe.prototype._innerGetDataStore=function($e,Ie,Fe){var Ue=0,qe=this._storeList,At=qe[Ue];At||(At=qe[Ue]={});var Dt=At[Fe];if(!Dt){var Lt=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&Lt?Dt=Lt._innerGetDataStore($e,Ie,Fe):(Dt=new DataStore,Dt.initData(new DefaultDataProvider(Ie,$e.length),$e)),At[Fe]=Dt}return Dt},xe.prototype._getUpstreamSourceManagers=function(){var $e=this._sourceHost;if(isSeries($e)){var Ie=querySeriesUpstreamDatasetModel($e);return Ie?[Ie.getSourceManager()]:[]}else return map$1(queryDatasetUpstreamDatasetModels($e),function(Fe){return Fe.getSourceManager()})},xe.prototype._getSourceMetaRawOption=function(){var $e=this._sourceHost,Ie,Fe,Ue;if(isSeries($e))Ie=$e.get("seriesLayoutBy",!0),Fe=$e.get("sourceHeader",!0),Ue=$e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var qe=$e;Ie=qe.get("seriesLayoutBy",!0),Fe=qe.get("sourceHeader",!0),Ue=qe.get("dimensions",!0)}return{seriesLayoutBy:Ie,sourceHeader:Fe,dimensions:Ue}},xe}();function disableTransformOptionMerge(xe){var $e=xe.option.transform;$e&&setAsPrimitive(xe.option.transform)}function isSeries(xe){return xe.mainType==="series"}function doThrow(xe){throw new Error(xe)}var TOOLTIP_LINE_HEIGHT_CSS="line-height:1";function getTooltipTextStyle(xe,$e){var Ie=xe.color||"#6e7079",Fe=xe.fontSize||12,Ue=xe.fontWeight||"400",qe=xe.color||"#464646",At=xe.fontSize||14,Dt=xe.fontWeight||"900";return $e==="html"?{nameStyle:"font-size:"+encodeHTML(Fe+"")+"px;color:"+encodeHTML(Ie)+";font-weight:"+encodeHTML(Ue+""),valueStyle:"font-size:"+encodeHTML(At+"")+"px;color:"+encodeHTML(qe)+";font-weight:"+encodeHTML(Dt+"")}:{nameStyle:{fontSize:Fe,fill:Ie,fontWeight:Ue},valueStyle:{fontSize:At,fill:qe,fontWeight:Dt}}}var HTML_GAPS=[0,10,20,30],RICH_TEXT_GAPS=["",` +`,` + +`,` + + +`];function createTooltipMarkup(xe,$e){return $e.type=xe,$e}function isSectionFragment(xe){return xe.type==="section"}function getBuilder(xe){return isSectionFragment(xe)?buildSection:buildNameValue}function getBlockGapLevel(xe){if(isSectionFragment(xe)){var $e=0,Ie=xe.blocks.length,Fe=Ie>1||Ie>0&&!xe.noHeader;return each$f(xe.blocks,function(Ue){var qe=getBlockGapLevel(Ue);qe>=$e&&($e=qe+ +(Fe&&(!qe||isSectionFragment(Ue)&&!Ue.noHeader)))}),$e}return 0}function buildSection(xe,$e,Ie,Fe){var Ue=$e.noHeader,qe=getGap(getBlockGapLevel($e)),At=[],Dt=$e.blocks||[];assert(!Dt||isArray$1(Dt)),Dt=Dt||[];var Lt=xe.orderMode;if($e.sortBlocks&&Lt){Dt=Dt.slice();var jt={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(jt,Lt)){var hn=new SortOrderComparator(jt[Lt],null);Dt.sort(function(wn,kn){return hn.evaluate(wn.sortParam,kn.sortParam)})}else Lt==="seriesDesc"&&Dt.reverse()}each$f(Dt,function(wn,kn){var Cn=$e.valueFormatter,Sn=getBuilder(wn)(Cn?extend(extend({},xe),{valueFormatter:Cn}):xe,wn,kn>0?qe.html:0,Fe);Sn!=null&&At.push(Sn)});var vn=xe.renderMode==="richText"?At.join(qe.richText):wrapBlockHTML(At.join(""),Ue?Ie:qe.html);if(Ue)return vn;var bn=makeValueReadable($e.header,"ordinal",xe.useUTC),_n=getTooltipTextStyle(Fe,xe.renderMode).nameStyle;return xe.renderMode==="richText"?wrapInlineNameRichText(xe,bn,_n)+qe.richText+vn:wrapBlockHTML('
    '+encodeHTML(bn)+"
    "+vn,Ie)}function buildNameValue(xe,$e,Ie,Fe){var Ue=xe.renderMode,qe=$e.noName,At=$e.noValue,Dt=!$e.markerType,Lt=$e.name,jt=xe.useUTC,hn=$e.valueFormatter||xe.valueFormatter||function(Tn){return Tn=isArray$1(Tn)?Tn:[Tn],map$1(Tn,function(An,$n){return makeValueReadable(An,isArray$1(_n)?_n[$n]:_n,jt)})};if(!(qe&&At)){var vn=Dt?"":xe.markupStyleCreator.makeTooltipMarker($e.markerType,$e.markerColor||"#333",Ue),bn=qe?"":makeValueReadable(Lt,"ordinal",jt),_n=$e.valueType,wn=At?[]:hn($e.value,$e.dataIndex),kn=!Dt||!qe,Cn=!Dt&&qe,Sn=getTooltipTextStyle(Fe,Ue),xn=Sn.nameStyle,En=Sn.valueStyle;return Ue==="richText"?(Dt?"":vn)+(qe?"":wrapInlineNameRichText(xe,bn,xn))+(At?"":wrapInlineValueRichText(xe,wn,kn,Cn,En)):wrapBlockHTML((Dt?"":vn)+(qe?"":wrapInlineNameHTML(bn,!Dt,xn))+(At?"":wrapInlineValueHTML(wn,kn,Cn,En)),Ie)}}function buildTooltipMarkup(xe,$e,Ie,Fe,Ue,qe){if(xe){var At=getBuilder(xe),Dt={useUTC:Ue,renderMode:Ie,orderMode:Fe,markupStyleCreator:$e,valueFormatter:xe.valueFormatter};return At(Dt,xe,0,qe)}}function getGap(xe){return{html:HTML_GAPS[xe],richText:RICH_TEXT_GAPS[xe]}}function wrapBlockHTML(xe,$e){var Ie='
    ',Fe="margin: "+$e+"px 0 0";return'
    '+xe+Ie+"
    "}function wrapInlineNameHTML(xe,$e,Ie){var Fe=$e?"margin-left:2px":"";return''+encodeHTML(xe)+""}function wrapInlineValueHTML(xe,$e,Ie,Fe){var Ue=Ie?"10px":"20px",qe=$e?"float:right;margin-left:"+Ue:"";return xe=isArray$1(xe)?xe:[xe],''+map$1(xe,function(At){return encodeHTML(At)}).join("  ")+""}function wrapInlineNameRichText(xe,$e,Ie){return xe.markupStyleCreator.wrapRichTextStyle($e,Ie)}function wrapInlineValueRichText(xe,$e,Ie,Fe,Ue){var qe=[Ue],At=Fe?10:20;return Ie&&qe.push({padding:[0,0,0,At],align:"right"}),xe.markupStyleCreator.wrapRichTextStyle(isArray$1($e)?$e.join(" "):$e,qe)}function retrieveVisualColorForTooltipMarker(xe,$e){var Ie=xe.getData().getItemVisual($e,"style"),Fe=Ie[xe.visualDrawType];return convertToColorString(Fe)}function getPaddingFromTooltipModel(xe,$e){var Ie=xe.get("padding");return Ie??($e==="richText"?[8,10]:10)}var TooltipMarkupStyleCreator=function(){function xe(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return xe.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},xe.prototype.makeTooltipMarker=function($e,Ie,Fe){var Ue=Fe==="richText"?this._generateStyleName():null,qe=getTooltipMarker({color:Ie,type:$e,renderMode:Fe,markerId:Ue});return isString(qe)?qe:(this.richTextStyles[Ue]=qe.style,qe.content)},xe.prototype.wrapRichTextStyle=function($e,Ie){var Fe={};isArray$1(Ie)?each$f(Ie,function(qe){return extend(Fe,qe)}):extend(Fe,Ie);var Ue=this._generateStyleName();return this.richTextStyles[Ue]=Fe,"{"+Ue+"|"+$e+"}"},xe}();function defaultSeriesFormatTooltip(xe){var $e=xe.series,Ie=xe.dataIndex,Fe=xe.multipleSeries,Ue=$e.getData(),qe=Ue.mapDimensionsAll("defaultedTooltip"),At=qe.length,Dt=$e.getRawValue(Ie),Lt=isArray$1(Dt),jt=retrieveVisualColorForTooltipMarker($e,Ie),hn,vn,bn,_n;if(At>1||Lt&&!At){var wn=formatTooltipArrayValue(Dt,$e,Ie,qe,jt);hn=wn.inlineValues,vn=wn.inlineValueTypes,bn=wn.blocks,_n=wn.inlineValues[0]}else if(At){var kn=Ue.getDimensionInfo(qe[0]);_n=hn=retrieveRawValue(Ue,Ie,qe[0]),vn=kn.type}else _n=hn=Lt?Dt[0]:Dt;var Cn=isNameSpecified($e),Sn=Cn&&$e.name||"",xn=Ue.getName(Ie),En=Fe?Sn:xn;return createTooltipMarkup("section",{header:Sn,noHeader:Fe||!Cn,sortParam:_n,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:jt,name:En,noName:!trim$1(En),value:hn,valueType:vn,dataIndex:Ie})].concat(bn||[])})}function formatTooltipArrayValue(xe,$e,Ie,Fe,Ue){var qe=$e.getData(),At=reduce(xe,function(vn,bn,_n){var wn=qe.getDimensionInfo(_n);return vn=vn||wn&&wn.tooltip!==!1&&wn.displayName!=null},!1),Dt=[],Lt=[],jt=[];Fe.length?each$f(Fe,function(vn){hn(retrieveRawValue(qe,Ie,vn),vn)}):each$f(xe,hn);function hn(vn,bn){var _n=qe.getDimensionInfo(bn);!_n||_n.otherDims.tooltip===!1||(At?jt.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:Ue,name:_n.displayName,value:vn,valueType:_n.type})):(Dt.push(vn),Lt.push(_n.type)))}return{inlineValues:Dt,inlineValueTypes:Lt,blocks:jt}}var inner$k=makeInner();function getSelectionKey(xe,$e){return xe.getName($e)||xe.getId($e)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie._selectedDataIndicesMap={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(Ie,Ue);var qe=inner$k(this).sourceManager=new SourceManager(this);qe.prepareSource();var At=this.getInitialData(Ie,Ue);wrapData(At,this),this.dataTask.context.data=At,inner$k(this).dataBeforeProcessed=At,autoSeriesName(this),this._initSelectedMapFromData(At)},$e.prototype.mergeDefaultAndTheme=function(Ie,Fe){var Ue=fetchLayoutMode(this),qe=Ue?getLayoutParams(Ie):{},At=this.subType;ComponentModel.hasClass(At)&&(At+="Series"),merge(Ie,Fe.getTheme().get(this.subType)),merge(Ie,this.getDefaultOption()),defaultEmphasis(Ie,"label",["show"]),this.fillDataTextStyle(Ie.data),Ue&&mergeLayoutParam(Ie,qe,Ue)},$e.prototype.mergeOption=function(Ie,Fe){Ie=merge(this.option,Ie,!0),this.fillDataTextStyle(Ie.data);var Ue=fetchLayoutMode(this);Ue&&mergeLayoutParam(this.option,Ie,Ue);var qe=inner$k(this).sourceManager;qe.dirty(),qe.prepareSource();var At=this.getInitialData(Ie,Fe);wrapData(At,this),this.dataTask.dirty(),this.dataTask.context.data=At,inner$k(this).dataBeforeProcessed=At,autoSeriesName(this),this._initSelectedMapFromData(At)},$e.prototype.fillDataTextStyle=function(Ie){if(Ie&&!isTypedArray(Ie))for(var Fe=["show"],Ue=0;Uethis.getShallow("animationThreshold")&&(Fe=!1),!!Fe},$e.prototype.restoreData=function(){this.dataTask.dirty()},$e.prototype.getColorFromPalette=function(Ie,Fe,Ue){var qe=this.ecModel,At=PaletteMixin.prototype.getColorFromPalette.call(this,Ie,Fe,Ue);return At||(At=qe.getColorFromPalette(Ie,Fe,Ue)),At},$e.prototype.coordDimToDataDim=function(Ie){return this.getRawData().mapDimensionsAll(Ie)},$e.prototype.getProgressive=function(){return this.get("progressive")},$e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},$e.prototype.select=function(Ie,Fe){this._innerSelect(this.getData(Fe),Ie)},$e.prototype.unselect=function(Ie,Fe){var Ue=this.option.selectedMap;if(Ue){var qe=this.option.selectedMode,At=this.getData(Fe);if(qe==="series"||Ue==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var Dt=0;Dt=0&&Ue.push(At)}return Ue},$e.prototype.isSelected=function(Ie,Fe){var Ue=this.option.selectedMap;if(!Ue)return!1;var qe=this.getData(Fe);return(Ue==="all"||Ue[getSelectionKey(qe,Ie)])&&!qe.getItemModel(Ie).get(["select","disabled"])},$e.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var Ie=this.option.universalTransition;return Ie?Ie===!0?!0:Ie&&Ie.enabled:!1},$e.prototype._innerSelect=function(Ie,Fe){var Ue,qe,At=this.option,Dt=At.selectedMode,Lt=Fe.length;if(!(!Dt||!Lt)){if(Dt==="series")At.selectedMap="all";else if(Dt==="multiple"){isObject$3(At.selectedMap)||(At.selectedMap={});for(var jt=At.selectedMap,hn=0;hn0&&this._innerSelect(Ie,Fe)}},$e.registerClass=function(Ie){return ComponentModel.registerClass(Ie)},$e.protoInitialize=function(){var Ie=$e.prototype;Ie.type="series.__base__",Ie.seriesIndex=0,Ie.ignoreStyleOnData=!1,Ie.hasSymbolVisual=!1,Ie.defaultSymbol="circle",Ie.visualStyleAccessPath="itemStyle",Ie.visualDrawType="fill"}(),$e}(ComponentModel);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel);function autoSeriesName(xe){var $e=xe.name;isNameSpecified(xe)||(xe.name=getSeriesAutoName(xe)||$e)}function getSeriesAutoName(xe){var $e=xe.getRawData(),Ie=$e.mapDimensionsAll("seriesName"),Fe=[];return each$f(Ie,function(Ue){var qe=$e.getDimensionInfo(Ue);qe.displayName&&Fe.push(qe.displayName)}),Fe.join(" ")}function dataTaskCount(xe){return xe.model.getRawData().count()}function dataTaskReset(xe){var $e=xe.model;return $e.setData($e.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(xe,$e){$e.outputData&&xe.end>$e.outputData.count()&&$e.model.getRawData().cloneShallow($e.outputData)}function wrapData(xe,$e){each$f(concatArray(xe.CHANGABLE_METHODS,xe.DOWNSAMPLE_METHODS),function(Ie){xe.wrapMethod(Ie,curry$1(onDataChange,$e))})}function onDataChange(xe,$e){var Ie=getCurrentTask(xe);return Ie&&Ie.setOutputEnd(($e||this).count()),$e}function getCurrentTask(xe){var $e=(xe.ecModel||{}).scheduler,Ie=$e&&$e.getPipeline(xe.uid);if(Ie){var Fe=Ie.currentTask;if(Fe){var Ue=Fe.agentStubMap;Ue&&(Fe=Ue.get(xe.uid))}return Fe}}var ComponentView=function(){function xe(){this.group=new Group$3,this.uid=getUID("viewComponent")}return xe.prototype.init=function($e,Ie){},xe.prototype.render=function($e,Ie,Fe,Ue){},xe.prototype.dispose=function($e,Ie){},xe.prototype.updateView=function($e,Ie,Fe,Ue){},xe.prototype.updateLayout=function($e,Ie,Fe,Ue){},xe.prototype.updateVisual=function($e,Ie,Fe,Ue){},xe.prototype.toggleBlurSeries=function($e,Ie,Fe){},xe.prototype.eachRendered=function($e){var Ie=this.group;Ie&&Ie.traverse($e)},xe}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);function createRenderPlanner(){var xe=makeInner();return function($e){var Ie=xe($e),Fe=$e.pipelineContext,Ue=!!Ie.large,qe=!!Ie.progressiveRender,At=Ie.large=!!(Fe&&Fe.large),Dt=Ie.progressiveRender=!!(Fe&&Fe.progressiveRender);return(Ue!==At||qe!==Dt)&&"reset"}}var inner$j=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function xe(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return xe.prototype.init=function($e,Ie){},xe.prototype.render=function($e,Ie,Fe,Ue){},xe.prototype.highlight=function($e,Ie,Fe,Ue){var qe=$e.getData(Ue&&Ue.dataType);qe&&toggleHighlight(qe,Ue,"emphasis")},xe.prototype.downplay=function($e,Ie,Fe,Ue){var qe=$e.getData(Ue&&Ue.dataType);qe&&toggleHighlight(qe,Ue,"normal")},xe.prototype.remove=function($e,Ie){this.group.removeAll()},xe.prototype.dispose=function($e,Ie){},xe.prototype.updateView=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.updateLayout=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.updateVisual=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.eachRendered=function($e){traverseElements(this.group,$e)},xe.markUpdateMethod=function($e,Ie){inner$j($e).updateMethod=Ie},xe.protoInitialize=function(){var $e=xe.prototype;$e.type="chart"}(),xe}();function elSetState(xe,$e,Ie){xe&&isHighDownDispatcher(xe)&&($e==="emphasis"?enterEmphasis:leaveEmphasis)(xe,Ie)}function toggleHighlight(xe,$e,Ie){var Fe=queryDataIndex(xe,$e),Ue=$e&&$e.highlightKey!=null?getHighlightDigit($e.highlightKey):null;Fe!=null?each$f(normalizeToArray(Fe),function(qe){elSetState(xe.getItemGraphicEl(qe),Ie,Ue)}):xe.eachItemGraphicEl(function(qe){elSetState(qe,Ie,Ue)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(xe){return renderPlanner(xe.model)}function renderTaskReset(xe){var $e=xe.model,Ie=xe.ecModel,Fe=xe.api,Ue=xe.payload,qe=$e.pipelineContext.progressiveRender,At=xe.view,Dt=Ue&&inner$j(Ue).updateMethod,Lt=qe?"incrementalPrepareRender":Dt&&At[Dt]?Dt:"render";return Lt!=="render"&&At[Lt]($e,Ie,Fe,Ue),progressMethodMap[Lt]}var progressMethodMap={incrementalPrepareRender:{progress:function(xe,$e){$e.view.incrementalRender(xe,$e.model,$e.ecModel,$e.api,$e.payload)}},render:{forceFirstProgress:!0,progress:function(xe,$e){$e.view.render($e.model,$e.ecModel,$e.api,$e.payload)}}},ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle$1(xe,$e,Ie){var Fe,Ue=0,qe=0,At=null,Dt,Lt,jt,hn;$e=$e||0;function vn(){qe=new Date().getTime(),At=null,xe.apply(Lt,jt||[])}var bn=function(){for(var _n=[],wn=0;wn=0?vn():At=setTimeout(vn,-Dt),Ue=Fe};return bn.clear=function(){At&&(clearTimeout(At),At=null)},bn.debounceNextCall=function(_n){hn=_n},bn}function createOrUpdate(xe,$e,Ie,Fe){var Ue=xe[$e];if(Ue){var qe=Ue[ORIGIN_METHOD]||Ue,At=Ue[THROTTLE_TYPE],Dt=Ue[RATE];if(Dt!==Ie||At!==Fe){if(Ie==null||!Fe)return xe[$e]=qe;Ue=xe[$e]=throttle$1(qe,Ie,Fe==="debounce"),Ue[ORIGIN_METHOD]=qe,Ue[THROTTLE_TYPE]=Fe,Ue[RATE]=Ie}return Ue}}function clear$1(xe,$e){var Ie=xe[$e];Ie&&Ie[ORIGIN_METHOD]&&(Ie.clear&&Ie.clear(),xe[$e]=Ie[ORIGIN_METHOD])}var inner$i=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(xe,$e){var Ie=xe.visualStyleMapper||defaultStyleMappers[$e];return Ie||(console.warn("Unknown style type '"+$e+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(xe,$e){var Ie=xe.visualDrawType||defaultColorKey[$e];return Ie||(console.warn("Unknown style type '"+$e+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){var Ie=xe.getData(),Fe=xe.visualStyleAccessPath||"itemStyle",Ue=xe.getModel(Fe),qe=getStyleMapper(xe,Fe),At=qe(Ue),Dt=Ue.getShallow("decal");Dt&&(Ie.setVisual("decal",Dt),Dt.dirty=!0);var Lt=getDefaultColorKey(xe,Fe),jt=At[Lt],hn=isFunction(jt)?jt:null,vn=At.fill==="auto"||At.stroke==="auto";if(!At[Lt]||hn||vn){var bn=xe.getColorFromPalette(xe.name,null,$e.getSeriesCount());At[Lt]||(At[Lt]=bn,Ie.setVisual("colorFromPalette",!0)),At.fill=At.fill==="auto"||isFunction(At.fill)?bn:At.fill,At.stroke=At.stroke==="auto"||isFunction(At.stroke)?bn:At.stroke}if(Ie.setVisual("style",At),Ie.setVisual("drawType",Lt),!$e.isSeriesFiltered(xe)&&hn)return Ie.setVisual("colorFromPalette",!1),{dataEach:function(_n,wn){var kn=xe.getDataParams(wn),Cn=extend({},At);Cn[Lt]=hn(kn),_n.setItemVisual(wn,"style",Cn)}}}},sharedModel=new Model,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){if(!(xe.ignoreStyleOnData||$e.isSeriesFiltered(xe))){var Ie=xe.getData(),Fe=xe.visualStyleAccessPath||"itemStyle",Ue=getStyleMapper(xe,Fe),qe=Ie.getVisual("drawType");return{dataEach:Ie.hasItemOption?function(At,Dt){var Lt=At.getRawDataItem(Dt);if(Lt&&Lt[Fe]){sharedModel.option=Lt[Fe];var jt=Ue(sharedModel),hn=At.ensureUniqueItemVisual(Dt,"style");extend(hn,jt),sharedModel.option.decal&&(At.setItemVisual(Dt,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),qe in jt&&At.setItemVisual(Dt,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(xe){var $e=createHashMap();xe.eachSeries(function(Ie){var Fe=Ie.getColorBy();if(!Ie.isColorBySeries()){var Ue=Ie.type+"-"+Fe,qe=$e.get(Ue);qe||(qe={},$e.set(Ue,qe)),inner$i(Ie).scope=qe}}),xe.eachSeries(function(Ie){if(!(Ie.isColorBySeries()||xe.isSeriesFiltered(Ie))){var Fe=Ie.getRawData(),Ue={},qe=Ie.getData(),At=inner$i(Ie).scope,Dt=Ie.visualStyleAccessPath||"itemStyle",Lt=getDefaultColorKey(Ie,Dt);qe.each(function(jt){var hn=qe.getRawIndex(jt);Ue[hn]=jt}),Fe.each(function(jt){var hn=Ue[jt],vn=qe.getItemVisual(hn,"colorFromPalette");if(vn){var bn=qe.ensureUniqueItemVisual(hn,"style"),_n=Fe.getName(jt)||jt+"",wn=Fe.count();bn[Lt]=Ie.getColorFromPalette(_n,At,wn)}})}})}},PI$5=Math.PI;function defaultLoading(xe,$e){$e=$e||{},defaults($e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var Ie=new Group$3,Fe=new Rect$2({style:{fill:$e.maskColor},zlevel:$e.zlevel,z:1e4});Ie.add(Fe);var Ue=new ZRText({style:{text:$e.text,fill:$e.textColor,fontSize:$e.fontSize,fontWeight:$e.fontWeight,fontStyle:$e.fontStyle,fontFamily:$e.fontFamily},zlevel:$e.zlevel,z:10001}),qe=new Rect$2({style:{fill:"none"},textContent:Ue,textConfig:{position:"right",distance:10},zlevel:$e.zlevel,z:10001});Ie.add(qe);var At;return $e.showSpinner&&(At=new Arc({shape:{startAngle:-PI$5/2,endAngle:-PI$5/2+.1,r:$e.spinnerRadius},style:{stroke:$e.color,lineCap:"round",lineWidth:$e.lineWidth},zlevel:$e.zlevel,z:10001}),At.animateShape(!0).when(1e3,{endAngle:PI$5*3/2}).start("circularInOut"),At.animateShape(!0).when(1e3,{startAngle:PI$5*3/2}).delay(300).start("circularInOut"),Ie.add(At)),Ie.resize=function(){var Dt=Ue.getBoundingRect().width,Lt=$e.showSpinner?$e.spinnerRadius:0,jt=(xe.getWidth()-Lt*2-($e.showSpinner&&Dt?10:0)-Dt)/2-($e.showSpinner&&Dt?0:5+Dt/2)+($e.showSpinner?0:Dt/2)+(Dt?0:Lt),hn=xe.getHeight()/2;$e.showSpinner&&At.setShape({cx:jt,cy:hn}),qe.setShape({x:jt-Lt,y:hn-Lt,width:Lt*2,height:Lt*2}),Fe.setShape({x:0,y:0,width:xe.getWidth(),height:xe.getHeight()})},Ie.resize(),Ie}var Scheduler=function(){function xe($e,Ie,Fe,Ue){this._stageTaskMap=createHashMap(),this.ecInstance=$e,this.api=Ie,Fe=this._dataProcessorHandlers=Fe.slice(),Ue=this._visualHandlers=Ue.slice(),this._allHandlers=Fe.concat(Ue)}return xe.prototype.restoreData=function($e,Ie){$e.restoreData(Ie),this._stageTaskMap.each(function(Fe){var Ue=Fe.overallTask;Ue&&Ue.dirty()})},xe.prototype.getPerformArgs=function($e,Ie){if($e.__pipeline){var Fe=this._pipelineMap.get($e.__pipeline.id),Ue=Fe.context,qe=!Ie&&Fe.progressiveEnabled&&(!Ue||Ue.progressiveRender)&&$e.__idxInPipeline>Fe.blockIndex,At=qe?Fe.step:null,Dt=Ue&&Ue.modDataCount,Lt=Dt!=null?Math.ceil(Dt/At):null;return{step:At,modBy:Lt,modDataCount:Dt}}},xe.prototype.getPipeline=function($e){return this._pipelineMap.get($e)},xe.prototype.updateStreamModes=function($e,Ie){var Fe=this._pipelineMap.get($e.uid),Ue=$e.getData(),qe=Ue.count(),At=Fe.progressiveEnabled&&Ie.incrementalPrepareRender&&qe>=Fe.threshold,Dt=$e.get("large")&&qe>=$e.get("largeThreshold"),Lt=$e.get("progressiveChunkMode")==="mod"?qe:null;$e.pipelineContext=Fe.context={progressiveRender:At,modDataCount:Lt,large:Dt}},xe.prototype.restorePipelines=function($e){var Ie=this,Fe=Ie._pipelineMap=createHashMap();$e.eachSeries(function(Ue){var qe=Ue.getProgressive(),At=Ue.uid;Fe.set(At,{id:At,head:null,tail:null,threshold:Ue.getProgressiveThreshold(),progressiveEnabled:qe&&!(Ue.preventIncremental&&Ue.preventIncremental()),blockIndex:-1,step:Math.round(qe||700),count:0}),Ie._pipe(Ue,Ue.dataTask)})},xe.prototype.prepareStageTasks=function(){var $e=this._stageTaskMap,Ie=this.api.getModel(),Fe=this.api;each$f(this._allHandlers,function(Ue){var qe=$e.get(Ue.uid)||$e.set(Ue.uid,{}),At="";assert(!(Ue.reset&&Ue.overallReset),At),Ue.reset&&this._createSeriesStageTask(Ue,qe,Ie,Fe),Ue.overallReset&&this._createOverallStageTask(Ue,qe,Ie,Fe)},this)},xe.prototype.prepareView=function($e,Ie,Fe,Ue){var qe=$e.renderTask,At=qe.context;At.model=Ie,At.ecModel=Fe,At.api=Ue,qe.__block=!$e.incrementalPrepareRender,this._pipe(Ie,qe)},xe.prototype.performDataProcessorTasks=function($e,Ie){this._performStageTasks(this._dataProcessorHandlers,$e,Ie,{block:!0})},xe.prototype.performVisualTasks=function($e,Ie,Fe){this._performStageTasks(this._visualHandlers,$e,Ie,Fe)},xe.prototype._performStageTasks=function($e,Ie,Fe,Ue){Ue=Ue||{};var qe=!1,At=this;each$f($e,function(Lt,jt){if(!(Ue.visualType&&Ue.visualType!==Lt.visualType)){var hn=At._stageTaskMap.get(Lt.uid),vn=hn.seriesTaskMap,bn=hn.overallTask;if(bn){var _n,wn=bn.agentStubMap;wn.each(function(Cn){Dt(Ue,Cn)&&(Cn.dirty(),_n=!0)}),_n&&bn.dirty(),At.updatePayload(bn,Fe);var kn=At.getPerformArgs(bn,Ue.block);wn.each(function(Cn){Cn.perform(kn)}),bn.perform(kn)&&(qe=!0)}else vn&&vn.each(function(Cn,Sn){Dt(Ue,Cn)&&Cn.dirty();var xn=At.getPerformArgs(Cn,Ue.block);xn.skip=!Lt.performRawSeries&&Ie.isSeriesFiltered(Cn.context.model),At.updatePayload(Cn,Fe),Cn.perform(xn)&&(qe=!0)})}});function Dt(Lt,jt){return Lt.setDirty&&(!Lt.dirtyMap||Lt.dirtyMap.get(jt.__pipeline.id))}this.unfinished=qe||this.unfinished},xe.prototype.performSeriesTasks=function($e){var Ie;$e.eachSeries(function(Fe){Ie=Fe.dataTask.perform()||Ie}),this.unfinished=Ie||this.unfinished},xe.prototype.plan=function(){this._pipelineMap.each(function($e){var Ie=$e.tail;do{if(Ie.__block){$e.blockIndex=Ie.__idxInPipeline;break}Ie=Ie.getUpstream()}while(Ie)})},xe.prototype.updatePayload=function($e,Ie){Ie!=="remain"&&($e.context.payload=Ie)},xe.prototype._createSeriesStageTask=function($e,Ie,Fe,Ue){var qe=this,At=Ie.seriesTaskMap,Dt=Ie.seriesTaskMap=createHashMap(),Lt=$e.seriesType,jt=$e.getTargetSeries;$e.createOnAllSeries?Fe.eachRawSeries(hn):Lt?Fe.eachRawSeriesByType(Lt,hn):jt&&jt(Fe,Ue).each(hn);function hn(vn){var bn=vn.uid,_n=Dt.set(bn,At&&At.get(bn)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));_n.context={model:vn,ecModel:Fe,api:Ue,useClearVisual:$e.isVisual&&!$e.isLayout,plan:$e.plan,reset:$e.reset,scheduler:qe},qe._pipe(vn,_n)}},xe.prototype._createOverallStageTask=function($e,Ie,Fe,Ue){var qe=this,At=Ie.overallTask=Ie.overallTask||createTask({reset:overallTaskReset});At.context={ecModel:Fe,api:Ue,overallReset:$e.overallReset,scheduler:qe};var Dt=At.agentStubMap,Lt=At.agentStubMap=createHashMap(),jt=$e.seriesType,hn=$e.getTargetSeries,vn=!0,bn=!1,_n="";assert(!$e.createOnAllSeries,_n),jt?Fe.eachRawSeriesByType(jt,wn):hn?hn(Fe,Ue).each(wn):(vn=!1,each$f(Fe.getSeries(),wn));function wn(kn){var Cn=kn.uid,Sn=Lt.set(Cn,Dt&&Dt.get(Cn)||(bn=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));Sn.context={model:kn,overallProgress:vn},Sn.agent=At,Sn.__block=vn,qe._pipe(kn,Sn)}bn&&At.dirty()},xe.prototype._pipe=function($e,Ie){var Fe=$e.uid,Ue=this._pipelineMap.get(Fe);!Ue.head&&(Ue.head=Ie),Ue.tail&&Ue.tail.pipe(Ie),Ue.tail=Ie,Ie.__idxInPipeline=Ue.count++,Ie.__pipeline=Ue},xe.wrapStageHandler=function($e,Ie){return isFunction($e)&&($e={overallReset:$e,seriesType:detectSeriseType($e)}),$e.uid=getUID("stageHandler"),Ie&&($e.visualType=Ie),$e},xe}();function overallTaskReset(xe){xe.overallReset(xe.ecModel,xe.api,xe.payload)}function stubReset(xe){return xe.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(xe){return xe.plan?xe.plan(xe.model,xe.ecModel,xe.api,xe.payload):null}function seriesTaskReset(xe){xe.useClearVisual&&xe.data.clearAllVisual();var $e=xe.resetDefines=normalizeToArray(xe.reset(xe.model,xe.ecModel,xe.api,xe.payload));return $e.length>1?map$1($e,function(Ie,Fe){return makeSeriesTaskProgress(Fe)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(xe){return function($e,Ie){var Fe=Ie.data,Ue=Ie.resetDefines[xe];if(Ue&&Ue.dataEach)for(var qe=$e.start;qe<$e.end;qe++)Ue.dataEach(Fe,qe);else Ue&&Ue.progress&&Ue.progress($e,Fe)}}function seriesTaskCount(xe){return xe.data.count()}function detectSeriseType(xe){seriesType=null;try{xe(ecModelMock,apiMock)}catch{}return seriesType}var ecModelMock={},apiMock={},seriesType;mockMethods(ecModelMock,GlobalModel);mockMethods(apiMock,ExtensionAPI);ecModelMock.eachSeriesByType=ecModelMock.eachRawSeriesByType=function(xe){seriesType=xe};ecModelMock.eachComponent=function(xe){xe.mainType==="series"&&xe.subType&&(seriesType=xe.subType)};function mockMethods(xe,$e){for(var Ie in $e.prototype)xe[Ie]=noop}var colorAll=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const lightTheme={color:colorAll,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],colorAll]};var contrastColor="#B9B8CE",backgroundColor="#100C2A",axisCommon=function(){return{axisLine:{lineStyle:{color:contrastColor}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},colorPalette=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],theme={darkMode:!0,color:colorPalette,backgroundColor,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:contrastColor}},textStyle:{color:contrastColor},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:contrastColor}},dataZoom:{borderColor:"#71708A",textStyle:{color:contrastColor},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:contrastColor}},timeline:{lineStyle:{color:contrastColor},label:{color:contrastColor},controlStyle:{color:contrastColor,borderColor:contrastColor}},calendar:{itemStyle:{color:backgroundColor},dayLabel:{color:contrastColor},monthLabel:{color:contrastColor},yearLabel:{color:contrastColor}},timeAxis:axisCommon(),logAxis:axisCommon(),valueAxis:axisCommon(),categoryAxis:axisCommon(),line:{symbol:"circle"},graph:{color:colorPalette},gauge:{title:{color:contrastColor},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:contrastColor},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};theme.categoryAxis.splitLine.show=!1;var ECEventProcessor=function(){function xe(){}return xe.prototype.normalizeQuery=function($e){var Ie={},Fe={},Ue={};if(isString($e)){var qe=parseClassType($e);Ie.mainType=qe.main||null,Ie.subType=qe.sub||null}else{var At=["Index","Name","Id"],Dt={name:1,dataIndex:1,dataType:1};each$f($e,function(Lt,jt){for(var hn=!1,vn=0;vn0&&_n===jt.length-bn.length){var wn=jt.slice(0,_n);wn!=="data"&&(Ie.mainType=wn,Ie[bn.toLowerCase()]=Lt,hn=!0)}}Dt.hasOwnProperty(jt)&&(Fe[jt]=Lt,hn=!0),hn||(Ue[jt]=Lt)})}return{cptQuery:Ie,dataQuery:Fe,otherQuery:Ue}},xe.prototype.filter=function($e,Ie){var Fe=this.eventInfo;if(!Fe)return!0;var Ue=Fe.targetEl,qe=Fe.packedEvent,At=Fe.model,Dt=Fe.view;if(!At||!Dt)return!0;var Lt=Ie.cptQuery,jt=Ie.dataQuery;return hn(Lt,At,"mainType")&&hn(Lt,At,"subType")&&hn(Lt,At,"index","componentIndex")&&hn(Lt,At,"name")&&hn(Lt,At,"id")&&hn(jt,qe,"name")&&hn(jt,qe,"dataIndex")&&hn(jt,qe,"dataType")&&(!Dt.filterForExposedEvent||Dt.filterForExposedEvent($e,Ie.otherQuery,Ue,qe));function hn(vn,bn,_n,wn){return vn[_n]==null||bn[wn||_n]===vn[_n]}},xe.prototype.afterTrigger=function(){this.eventInfo=null},xe}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){var Ie=xe.getData();if(xe.legendIcon&&Ie.setVisual("legendIcon",xe.legendIcon),!xe.hasSymbolVisual)return;for(var Fe={},Ue={},qe=!1,At=0;At=0&&isSafeNum(Lt)?Lt:.5;var jt=xe.createRadialGradient(At,Dt,0,At,Dt,Lt);return jt}function getCanvasGradient(xe,$e,Ie){for(var Fe=$e.type==="radial"?createRadialGradient(xe,$e,Ie):createLinearGradient(xe,$e,Ie),Ue=$e.colorStops,qe=0;qe0)?null:xe==="dashed"?[4*$e,2*$e]:xe==="dotted"?[$e]:isNumber(xe)?[xe]:isArray$1(xe)?xe:null}function getLineDash(xe){var $e=xe.style,Ie=$e.lineDash&&$e.lineWidth>0&&normalizeLineDash($e.lineDash,$e.lineWidth),Fe=$e.lineDashOffset;if(Ie){var Ue=$e.strokeNoScale&&xe.getLineScale?xe.getLineScale():1;Ue&&Ue!==1&&(Ie=map$1(Ie,function(qe){return qe/Ue}),Fe/=Ue)}return[Ie,Fe]}var pathProxyForDraw=new PathProxy(!0);function styleHasStroke(xe){var $e=xe.stroke;return!($e==null||$e==="none"||!(xe.lineWidth>0))}function isValidStrokeFillStyle(xe){return typeof xe=="string"&&xe!=="none"}function styleHasFill(xe){var $e=xe.fill;return $e!=null&&$e!=="none"}function doFillPath(xe,$e){if($e.fillOpacity!=null&&$e.fillOpacity!==1){var Ie=xe.globalAlpha;xe.globalAlpha=$e.fillOpacity*$e.opacity,xe.fill(),xe.globalAlpha=Ie}else xe.fill()}function doStrokePath(xe,$e){if($e.strokeOpacity!=null&&$e.strokeOpacity!==1){var Ie=xe.globalAlpha;xe.globalAlpha=$e.strokeOpacity*$e.opacity,xe.stroke(),xe.globalAlpha=Ie}else xe.stroke()}function createCanvasPattern(xe,$e,Ie){var Fe=createOrUpdateImage($e.image,$e.__image,Ie);if(isImageReady(Fe)){var Ue=xe.createPattern(Fe,$e.repeat||"repeat");if(typeof DOMMatrix=="function"&&Ue&&Ue.setTransform){var qe=new DOMMatrix;qe.translateSelf($e.x||0,$e.y||0),qe.rotateSelf(0,0,($e.rotation||0)*RADIAN_TO_DEGREE),qe.scaleSelf($e.scaleX||1,$e.scaleY||1),Ue.setTransform(qe)}return Ue}}function brushPath(xe,$e,Ie,Fe){var Ue,qe=styleHasStroke(Ie),At=styleHasFill(Ie),Dt=Ie.strokePercent,Lt=Dt<1,jt=!$e.path;(!$e.silent||Lt)&&jt&&$e.createPathProxy();var hn=$e.path||pathProxyForDraw,vn=$e.__dirty;if(!Fe){var bn=Ie.fill,_n=Ie.stroke,wn=At&&!!bn.colorStops,kn=qe&&!!_n.colorStops,Cn=At&&!!bn.image,Sn=qe&&!!_n.image,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0;(wn||kn)&&($n=$e.getBoundingRect()),wn&&(xn=vn?getCanvasGradient(xe,bn,$n):$e.__canvasFillGradient,$e.__canvasFillGradient=xn),kn&&(En=vn?getCanvasGradient(xe,_n,$n):$e.__canvasStrokeGradient,$e.__canvasStrokeGradient=En),Cn&&(Tn=vn||!$e.__canvasFillPattern?createCanvasPattern(xe,bn,$e):$e.__canvasFillPattern,$e.__canvasFillPattern=Tn),Sn&&(An=vn||!$e.__canvasStrokePattern?createCanvasPattern(xe,_n,$e):$e.__canvasStrokePattern,$e.__canvasStrokePattern=Tn),wn?xe.fillStyle=xn:Cn&&(Tn?xe.fillStyle=Tn:At=!1),kn?xe.strokeStyle=En:Sn&&(An?xe.strokeStyle=An:qe=!1)}var Pn=$e.getGlobalScale();hn.setScale(Pn[0],Pn[1],$e.segmentIgnoreThreshold);var Nn,Mn;xe.setLineDash&&Ie.lineDash&&(Ue=getLineDash($e),Nn=Ue[0],Mn=Ue[1]);var In=!0;(jt||vn&SHAPE_CHANGED_BIT)&&(hn.setDPR(xe.dpr),Lt?hn.setContext(null):(hn.setContext(xe),In=!1),hn.reset(),$e.buildPath(hn,$e.shape,Fe),hn.toStatic(),$e.pathUpdated()),In&&hn.rebuildPath(xe,Lt?Dt:1),Nn&&(xe.setLineDash(Nn),xe.lineDashOffset=Mn),Fe||(Ie.strokeFirst?(qe&&doStrokePath(xe,Ie),At&&doFillPath(xe,Ie)):(At&&doFillPath(xe,Ie),qe&&doStrokePath(xe,Ie))),Nn&&xe.setLineDash([])}function brushImage(xe,$e,Ie){var Fe=$e.__image=createOrUpdateImage(Ie.image,$e.__image,$e,$e.onload);if(!(!Fe||!isImageReady(Fe))){var Ue=Ie.x||0,qe=Ie.y||0,At=$e.getWidth(),Dt=$e.getHeight(),Lt=Fe.width/Fe.height;if(At==null&&Dt!=null?At=Dt*Lt:Dt==null&&At!=null?Dt=At/Lt:At==null&&Dt==null&&(At=Fe.width,Dt=Fe.height),Ie.sWidth&&Ie.sHeight){var jt=Ie.sx||0,hn=Ie.sy||0;xe.drawImage(Fe,jt,hn,Ie.sWidth,Ie.sHeight,Ue,qe,At,Dt)}else if(Ie.sx&&Ie.sy){var jt=Ie.sx,hn=Ie.sy,vn=At-jt,bn=Dt-hn;xe.drawImage(Fe,jt,hn,vn,bn,Ue,qe,At,Dt)}else xe.drawImage(Fe,Ue,qe,At,Dt)}}function brushText(xe,$e,Ie){var Fe,Ue=Ie.text;if(Ue!=null&&(Ue+=""),Ue){xe.font=Ie.font||DEFAULT_FONT,xe.textAlign=Ie.textAlign,xe.textBaseline=Ie.textBaseline;var qe=void 0,At=void 0;xe.setLineDash&&Ie.lineDash&&(Fe=getLineDash($e),qe=Fe[0],At=Fe[1]),qe&&(xe.setLineDash(qe),xe.lineDashOffset=At),Ie.strokeFirst?(styleHasStroke(Ie)&&xe.strokeText(Ue,Ie.x,Ie.y),styleHasFill(Ie)&&xe.fillText(Ue,Ie.x,Ie.y)):(styleHasFill(Ie)&&xe.fillText(Ue,Ie.x,Ie.y),styleHasStroke(Ie)&&xe.strokeText(Ue,Ie.x,Ie.y)),qe&&xe.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(xe,$e,Ie,Fe,Ue){var qe=!1;if(!Fe&&(Ie=Ie||{},$e===Ie))return!1;if(Fe||$e.opacity!==Ie.opacity){flushPathDrawn(xe,Ue),qe=!0;var At=Math.max(Math.min($e.opacity,1),0);xe.globalAlpha=isNaN(At)?DEFAULT_COMMON_STYLE.opacity:At}(Fe||$e.blend!==Ie.blend)&&(qe||(flushPathDrawn(xe,Ue),qe=!0),xe.globalCompositeOperation=$e.blend||DEFAULT_COMMON_STYLE.blend);for(var Dt=0;Dt0&&Ie.unfinished);Ie.unfinished||this._zr.flush()}}},$e.prototype.getDom=function(){return this._dom},$e.prototype.getId=function(){return this.id},$e.prototype.getZr=function(){return this._zr},$e.prototype.isSSR=function(){return this._ssr},$e.prototype.setOption=function(Ie,Fe,Ue){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var qe,At,Dt;if(isObject$3(Fe)&&(Ue=Fe.lazyUpdate,qe=Fe.silent,At=Fe.replaceMerge,Dt=Fe.transition,Fe=Fe.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||Fe){var Lt=new OptionManager(this._api),jt=this._theme,hn=this._model=new GlobalModel;hn.scheduler=this._scheduler,hn.ssr=this._ssr,hn.init(null,null,null,jt,this._locale,Lt)}this._model.setOption(Ie,{replaceMerge:At},optionPreprocessorFuncs);var vn={seriesTransition:Dt,optionChanged:!0};if(Ue)this[PENDING_UPDATE]={silent:qe,updateParams:vn},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,vn)}catch(bn){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,bn}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,qe),triggerUpdatedEvent.call(this,qe)}}},$e.prototype.setTheme=function(){},$e.prototype.getModel=function(){return this._model},$e.prototype.getOption=function(){return this._model&&this._model.getOption()},$e.prototype.getWidth=function(){return this._zr.getWidth()},$e.prototype.getHeight=function(){return this._zr.getHeight()},$e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env.hasGlobalWindow&&window.devicePixelRatio||1},$e.prototype.getRenderedCanvas=function(Ie){return this.renderToCanvas(Ie)},$e.prototype.renderToCanvas=function(Ie){Ie=Ie||{};var Fe=this._zr.painter;return Fe.getRenderedCanvas({backgroundColor:Ie.backgroundColor||this._model.get("backgroundColor"),pixelRatio:Ie.pixelRatio||this.getDevicePixelRatio()})},$e.prototype.renderToSVGString=function(Ie){Ie=Ie||{};var Fe=this._zr.painter;return Fe.renderToString({useViewBox:Ie.useViewBox})},$e.prototype.getSvgDataURL=function(){if(env.svgSupported){var Ie=this._zr,Fe=Ie.storage.getDisplayList();return each$f(Fe,function(Ue){Ue.stopAnimation(null,!0)}),Ie.painter.toDataURL()}},$e.prototype.getDataURL=function(Ie){if(this._disposed){this.id;return}Ie=Ie||{};var Fe=Ie.excludeComponents,Ue=this._model,qe=[],At=this;each$f(Fe,function(Lt){Ue.eachComponent({mainType:Lt},function(jt){var hn=At._componentsMap[jt.__viewId];hn.group.ignore||(qe.push(hn),hn.group.ignore=!0)})});var Dt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(Ie).toDataURL("image/"+(Ie&&Ie.type||"png"));return each$f(qe,function(Lt){Lt.group.ignore=!1}),Dt},$e.prototype.getConnectedDataURL=function(Ie){if(this._disposed){this.id;return}var Fe=Ie.type==="svg",Ue=this.group,qe=Math.min,At=Math.max,Dt=1/0;if(connectedGroups[Ue]){var Lt=Dt,jt=Dt,hn=-Dt,vn=-Dt,bn=[],_n=Ie&&Ie.pixelRatio||this.getDevicePixelRatio();each$f(instances,function(En,Tn){if(En.group===Ue){var An=Fe?En.getZr().painter.getSvgDom().innerHTML:En.renderToCanvas(clone$4(Ie)),$n=En.getDom().getBoundingClientRect();Lt=qe($n.left,Lt),jt=qe($n.top,jt),hn=At($n.right,hn),vn=At($n.bottom,vn),bn.push({dom:An,left:$n.left,top:$n.top})}}),Lt*=_n,jt*=_n,hn*=_n,vn*=_n;var wn=hn-Lt,kn=vn-jt,Cn=platformApi.createCanvas(),Sn=init$2(Cn,{renderer:Fe?"svg":"canvas"});if(Sn.resize({width:wn,height:kn}),Fe){var xn="";return each$f(bn,function(En){var Tn=En.left-Lt,An=En.top-jt;xn+=''+En.dom+""}),Sn.painter.getSvgRoot().innerHTML=xn,Ie.connectedBackgroundColor&&Sn.painter.setBackgroundColor(Ie.connectedBackgroundColor),Sn.refreshImmediately(),Sn.painter.toDataURL()}else return Ie.connectedBackgroundColor&&Sn.add(new Rect$2({shape:{x:0,y:0,width:wn,height:kn},style:{fill:Ie.connectedBackgroundColor}})),each$f(bn,function(En){var Tn=new ZRImage({style:{x:En.left*_n-Lt,y:En.top*_n-jt,image:En.dom}});Sn.add(Tn)}),Sn.refreshImmediately(),Cn.toDataURL("image/"+(Ie&&Ie.type||"png"))}else return this.getDataURL(Ie)},$e.prototype.convertToPixel=function(Ie,Fe){return doConvertPixel(this,"convertToPixel",Ie,Fe)},$e.prototype.convertFromPixel=function(Ie,Fe){return doConvertPixel(this,"convertFromPixel",Ie,Fe)},$e.prototype.containPixel=function(Ie,Fe){if(this._disposed){this.id;return}var Ue=this._model,qe,At=parseFinder$1(Ue,Ie);return each$f(At,function(Dt,Lt){Lt.indexOf("Models")>=0&&each$f(Dt,function(jt){var hn=jt.coordinateSystem;if(hn&&hn.containPoint)qe=qe||!!hn.containPoint(Fe);else if(Lt==="seriesModels"){var vn=this._chartsMap[jt.__viewId];vn&&vn.containPoint&&(qe=qe||vn.containPoint(Fe,jt))}},this)},this),!!qe},$e.prototype.getVisual=function(Ie,Fe){var Ue=this._model,qe=parseFinder$1(Ue,Ie,{defaultMainType:"series"}),At=qe.seriesModel,Dt=At.getData(),Lt=qe.hasOwnProperty("dataIndexInside")?qe.dataIndexInside:qe.hasOwnProperty("dataIndex")?Dt.indexOfRawIndex(qe.dataIndex):null;return Lt!=null?getItemVisualFromData(Dt,Lt,Fe):getVisualFromData(Dt,Fe)},$e.prototype.getViewOfComponentModel=function(Ie){return this._componentsMap[Ie.__viewId]},$e.prototype.getViewOfSeriesModel=function(Ie){return this._chartsMap[Ie.__viewId]},$e.prototype._initEvents=function(){var Ie=this;each$f(MOUSE_EVENT_NAMES,function(Fe){var Ue=function(qe){var At=Ie.getModel(),Dt=qe.target,Lt,jt=Fe==="globalout";if(jt?Lt={}:Dt&&findEventDispatcher(Dt,function(wn){var kn=getECData(wn);if(kn&&kn.dataIndex!=null){var Cn=kn.dataModel||At.getSeriesByIndex(kn.seriesIndex);return Lt=Cn&&Cn.getDataParams(kn.dataIndex,kn.dataType,Dt)||{},!0}else if(kn.eventData)return Lt=extend({},kn.eventData),!0},!0),Lt){var hn=Lt.componentType,vn=Lt.componentIndex;(hn==="markLine"||hn==="markPoint"||hn==="markArea")&&(hn="series",vn=Lt.seriesIndex);var bn=hn&&vn!=null&&At.getComponent(hn,vn),_n=bn&&Ie[bn.mainType==="series"?"_chartsMap":"_componentsMap"][bn.__viewId];Lt.event=qe,Lt.type=Fe,Ie._$eventProcessor.eventInfo={targetEl:Dt,packedEvent:Lt,model:bn,view:_n},Ie.trigger(Fe,Lt)}};Ue.zrEventfulCallAtLast=!0,Ie._zr.on(Fe,Ue,Ie)}),each$f(eventActionMap,function(Fe,Ue){Ie._messageCenter.on(Ue,function(qe){this.trigger(Ue,qe)},Ie)}),each$f(["selectchanged"],function(Fe){Ie._messageCenter.on(Fe,function(Ue){this.trigger(Fe,Ue)},Ie)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},$e.prototype.isDisposed=function(){return this._disposed},$e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},$e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var Ie=this.getDom();Ie&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var Fe=this,Ue=Fe._api,qe=Fe._model;each$f(Fe._componentsViews,function(At){At.dispose(qe,Ue)}),each$f(Fe._chartsViews,function(At){At.dispose(qe,Ue)}),Fe._zr.dispose(),Fe._dom=Fe._model=Fe._chartsMap=Fe._componentsMap=Fe._chartsViews=Fe._componentsViews=Fe._scheduler=Fe._api=Fe._zr=Fe._throttledZrFlush=Fe._theme=Fe._coordSysMgr=Fe._messageCenter=null,delete instances[Fe.id]},$e.prototype.resize=function(Ie){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(Ie);var Fe=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!Fe){var Ue=Fe.resetOption("media"),qe=Ie&&Ie.silent;this[PENDING_UPDATE]&&(qe==null&&(qe=this[PENDING_UPDATE].silent),Ue=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{Ue&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},Ie&&Ie.animation)})}catch(At){throw this[IN_MAIN_PROCESS_KEY]=!1,At}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,qe),triggerUpdatedEvent.call(this,qe)}}},$e.prototype.showLoading=function(Ie,Fe){if(this._disposed){this.id;return}if(isObject$3(Ie)&&(Fe=Ie,Ie=""),Ie=Ie||"default",this.hideLoading(),!!loadingEffects[Ie]){var Ue=loadingEffects[Ie](this._api,Fe),qe=this._zr;this._loadingFX=Ue,qe.add(Ue)}},$e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},$e.prototype.makeActionFromEvent=function(Ie){var Fe=extend({},Ie);return Fe.type=eventActionMap[Ie.type],Fe},$e.prototype.dispatchAction=function(Ie,Fe){if(this._disposed){this.id;return}if(isObject$3(Fe)||(Fe={silent:!!Fe}),!!actions[Ie.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(Ie);return}var Ue=Fe.silent;doDispatchAction.call(this,Ie,Ue);var qe=Fe.flush;qe?this._zr.flush():qe!==!1&&env.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,Ue),triggerUpdatedEvent.call(this,Ue)}},$e.prototype.updateLabelLayout=function(){lifecycle.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},$e.prototype.appendData=function(Ie){if(this._disposed){this.id;return}var Fe=Ie.seriesIndex,Ue=this.getModel(),qe=Ue.getSeriesByIndex(Fe);qe.appendData(Ie),this._scheduler.unfinished=!0,this.getZr().wakeUp()},$e.internalField=function(){prepare=function(vn){var bn=vn._scheduler;bn.restorePipelines(vn._model),bn.prepareStageTasks(),prepareView(vn,!0),prepareView(vn,!1),bn.plan()},prepareView=function(vn,bn){for(var _n=vn._model,wn=vn._scheduler,kn=bn?vn._componentsViews:vn._chartsViews,Cn=bn?vn._componentsMap:vn._chartsMap,Sn=vn._zr,xn=vn._api,En=0;Enbn.get("hoverLayerThreshold")&&!env.node&&!env.worker&&bn.eachSeries(function(Cn){if(!Cn.preventUsingHoverLayer){var Sn=vn._chartsMap[Cn.__viewId];Sn.__alive&&Sn.eachRendered(function(xn){xn.states.emphasis&&(xn.states.emphasis.hoverLayer=!0)})}})}function At(vn,bn){var _n=vn.get("blendMode")||null;bn.eachRendered(function(wn){wn.isGroup||(wn.style.blend=_n)})}function Dt(vn,bn){if(!vn.preventAutoZ){var _n=vn.get("z")||0,wn=vn.get("zlevel")||0;bn.eachRendered(function(kn){return Lt(kn,_n,wn,-1/0),!0})}}function Lt(vn,bn,_n,wn){var kn=vn.getTextContent(),Cn=vn.getTextGuideLine(),Sn=vn.isGroup;if(Sn)for(var xn=vn.childrenRef(),En=0;En0?{duration:kn,delay:_n.get("delay"),easing:_n.get("easing")}:null;bn.eachRendered(function(Sn){if(Sn.states&&Sn.states.emphasis){if(isElementRemoved(Sn))return;if(Sn instanceof Path&&savePathStates(Sn),Sn.__dirty){var xn=Sn.prevStates;xn&&Sn.useStates(xn)}if(wn){Sn.stateTransition=Cn;var En=Sn.getTextContent(),Tn=Sn.getTextGuideLine();En&&(En.stateTransition=Cn),Tn&&(Tn.stateTransition=Cn)}Sn.__dirty&&Ue(Sn)}})}createExtensionAPI=function(vn){return new(function(bn){__extends(_n,bn);function _n(){return bn!==null&&bn.apply(this,arguments)||this}return _n.prototype.getCoordinateSystems=function(){return vn._coordSysMgr.getCoordinateSystems()},_n.prototype.getComponentByElement=function(wn){for(;wn;){var kn=wn.__ecComponentInfo;if(kn!=null)return vn._model.getComponent(kn.mainType,kn.index);wn=wn.parent}},_n.prototype.enterEmphasis=function(wn,kn){enterEmphasis(wn,kn),markStatusToUpdate(vn)},_n.prototype.leaveEmphasis=function(wn,kn){leaveEmphasis(wn,kn),markStatusToUpdate(vn)},_n.prototype.enterBlur=function(wn){enterBlur(wn),markStatusToUpdate(vn)},_n.prototype.leaveBlur=function(wn){leaveBlur(wn),markStatusToUpdate(vn)},_n.prototype.enterSelect=function(wn){enterSelect(wn),markStatusToUpdate(vn)},_n.prototype.leaveSelect=function(wn){leaveSelect(wn),markStatusToUpdate(vn)},_n.prototype.getModel=function(){return vn.getModel()},_n.prototype.getViewOfComponentModel=function(wn){return vn.getViewOfComponentModel(wn)},_n.prototype.getViewOfSeriesModel=function(wn){return vn.getViewOfSeriesModel(wn)},_n}(ExtensionAPI))(vn)},enableConnect=function(vn){function bn(_n,wn){for(var kn=0;kn<_n.length;kn++){var Cn=_n[kn];Cn[CONNECT_STATUS_KEY]=wn}}each$f(eventActionMap,function(_n,wn){vn._messageCenter.on(wn,function(kn){if(connectedGroups[vn.group]&&vn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(kn&&kn.escapeConnect)return;var Cn=vn.makeActionFromEvent(kn),Sn=[];each$f(instances,function(xn){xn!==vn&&xn.group===vn.group&&Sn.push(xn)}),bn(Sn,CONNECT_STATUS_PENDING),each$f(Sn,function(xn){xn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&xn.dispatchAction(Cn)}),bn(Sn,CONNECT_STATUS_UPDATED)}})})}}(),$e}(Eventful),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on");echartsProto.off=createRegisterEventWithLowercaseECharts("off");echartsProto.one=function(xe,$e,Ie){var Fe=this;function Ue(){for(var qe=[],At=0;At=0)){registeredTasks.push(Ie);var qe=Scheduler.wrapStageHandler(Ie,Ue);qe.__prio=$e,qe.__raw=Ie,xe.push(qe)}}function registerLoading(xe,$e){loadingEffects[xe]=$e}function registerMap$1(xe,$e,Ie){var Fe=getImpl("registerMap");Fe&&Fe(xe,$e,Ie)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask);registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask);registerVisual(PRIORITY_VISUAL_DECAL,decalVisual);registerPreprocessor(globalBackwardCompat);registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop);registerTheme("light",lightTheme);registerTheme("dark",theme);var extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap:registerMap$1,registerImpl,PRIORITY,ComponentModel,ComponentView,SeriesModel,ChartView,registerComponentModel:function(xe){ComponentModel.registerClass(xe)},registerComponentView:function(xe){ComponentView.registerClass(xe)},registerSeriesModel:function(xe){SeriesModel.registerClass(xe)},registerChartView:function(xe){ChartView.registerClass(xe)},registerSubTypeDefaulter:function(xe,$e){ComponentModel.registerSubTypeDefaulter(xe,$e)},registerPainter:function(xe,$e){registerPainter(xe,$e)}};function use(xe){if(isArray$1(xe)){each$f(xe,function($e){use($e)});return}indexOf(extensions,xe)>=0||(extensions.push(xe),isFunction(xe)&&(xe={install:xe}),xe.install(extensionRegisters))}function dataIndexMapValueLength(xe){return xe==null?0:xe.length||1}function defaultKeyGetter(xe){return xe}var DataDiffer=function(){function xe($e,Ie,Fe,Ue,qe,At){this._old=$e,this._new=Ie,this._oldKeyGetter=Fe||defaultKeyGetter,this._newKeyGetter=Ue||defaultKeyGetter,this.context=qe,this._diffModeMultiple=At==="multiple"}return xe.prototype.add=function($e){return this._add=$e,this},xe.prototype.update=function($e){return this._update=$e,this},xe.prototype.updateManyToOne=function($e){return this._updateManyToOne=$e,this},xe.prototype.updateOneToMany=function($e){return this._updateOneToMany=$e,this},xe.prototype.updateManyToMany=function($e){return this._updateManyToMany=$e,this},xe.prototype.remove=function($e){return this._remove=$e,this},xe.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},xe.prototype._executeOneToOne=function(){var $e=this._old,Ie=this._new,Fe={},Ue=new Array($e.length),qe=new Array(Ie.length);this._initIndexMap($e,null,Ue,"_oldKeyGetter"),this._initIndexMap(Ie,Fe,qe,"_newKeyGetter");for(var At=0;At<$e.length;At++){var Dt=Ue[At],Lt=Fe[Dt],jt=dataIndexMapValueLength(Lt);if(jt>1){var hn=Lt.shift();Lt.length===1&&(Fe[Dt]=Lt[0]),this._update&&this._update(hn,At)}else jt===1?(Fe[Dt]=null,this._update&&this._update(Lt,At)):this._remove&&this._remove(At)}this._performRestAdd(qe,Fe)},xe.prototype._executeMultiple=function(){var $e=this._old,Ie=this._new,Fe={},Ue={},qe=[],At=[];this._initIndexMap($e,Fe,qe,"_oldKeyGetter"),this._initIndexMap(Ie,Ue,At,"_newKeyGetter");for(var Dt=0;Dt1&&bn===1)this._updateManyToOne&&this._updateManyToOne(hn,jt),Ue[Lt]=null;else if(vn===1&&bn>1)this._updateOneToMany&&this._updateOneToMany(hn,jt),Ue[Lt]=null;else if(vn===1&&bn===1)this._update&&this._update(hn,jt),Ue[Lt]=null;else if(vn>1&&bn>1)this._updateManyToMany&&this._updateManyToMany(hn,jt),Ue[Lt]=null;else if(vn>1)for(var _n=0;_n1)for(var Dt=0;Dt30}var isObject$1=isObject$3,map=map$1,CtorInt32Array=typeof Int32Array>"u"?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=function(){function xe($e,Ie){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var Fe,Ue=!1;isSeriesDataSchema($e)?(Fe=$e.dimensions,this._dimOmitted=$e.isDimensionOmitted(),this._schema=$e):(Ue=!0,Fe=$e),Fe=Fe||["x","y"];for(var qe={},At=[],Dt={},Lt=!1,jt={},hn=0;hn=Ie)){var Fe=this._store,Ue=Fe.getProvider();this._updateOrdinalMeta();var qe=this._nameList,At=this._idList,Dt=Ue.getSource().sourceFormat,Lt=Dt===SOURCE_FORMAT_ORIGINAL;if(Lt&&!Ue.pure)for(var jt=[],hn=$e;hn0},xe.prototype.ensureUniqueItemVisual=function($e,Ie){var Fe=this._itemVisuals,Ue=Fe[$e];Ue||(Ue=Fe[$e]={});var qe=Ue[Ie];return qe==null&&(qe=this.getVisual(Ie),isArray$1(qe)?qe=qe.slice():isObject$1(qe)&&(qe=extend({},qe)),Ue[Ie]=qe),qe},xe.prototype.setItemVisual=function($e,Ie,Fe){var Ue=this._itemVisuals[$e]||{};this._itemVisuals[$e]=Ue,isObject$1(Ie)?extend(Ue,Ie):Ue[Ie]=Fe},xe.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},xe.prototype.setLayout=function($e,Ie){isObject$1($e)?extend(this._layout,$e):this._layout[$e]=Ie},xe.prototype.getLayout=function($e){return this._layout[$e]},xe.prototype.getItemLayout=function($e){return this._itemLayouts[$e]},xe.prototype.setItemLayout=function($e,Ie,Fe){this._itemLayouts[$e]=Fe?extend(this._itemLayouts[$e]||{},Ie):Ie},xe.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},xe.prototype.setItemGraphicEl=function($e,Ie){var Fe=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(Fe,this.dataType,$e,Ie),this._graphicEls[$e]=Ie},xe.prototype.getItemGraphicEl=function($e){return this._graphicEls[$e]},xe.prototype.eachItemGraphicEl=function($e,Ie){each$f(this._graphicEls,function(Fe,Ue){Fe&&$e&&$e.call(Ie,Fe,Ue)})},xe.prototype.cloneShallow=function($e){return $e||($e=new xe(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties($e,this),$e._store=this._store,$e},xe.prototype.wrapMethod=function($e,Ie){var Fe=this[$e];isFunction(Fe)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push($e),this[$e]=function(){var Ue=Fe.apply(this,arguments);return Ie.apply(this,[Ue].concat(slice(arguments)))})},xe.internalField=function(){prepareInvertedIndex=function($e){var Ie=$e._invertedIndicesMap;each$f(Ie,function(Fe,Ue){var qe=$e._dimInfos[Ue],At=qe.ordinalMeta,Dt=$e._store;if(At){Fe=Ie[Ue]=new CtorInt32Array(At.categories.length);for(var Lt=0;Lt1&&(Lt+="__ec__"+hn),Ue[Ie]=Lt}}}(),xe}();function prepareSeriesDataSchema(xe,$e){isSourceInstance(xe)||(xe=createSourceFromSeriesDataOption(xe)),$e=$e||{};var Ie=$e.coordDimensions||[],Fe=$e.dimensionsDefine||xe.dimensionsDefine||[],Ue=createHashMap(),qe=[],At=getDimCount(xe,Ie,Fe,$e.dimensionsCount),Dt=$e.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(At),Lt=Fe===xe.dimensionsDefine,jt=Lt?ensureSourceDimNameMap(xe):createDimNameMap(Fe),hn=$e.encodeDefine;!hn&&$e.encodeDefaulter&&(hn=$e.encodeDefaulter(xe,At));for(var vn=createHashMap(hn),bn=new CtorInt32Array$1(At),_n=0;_n0&&(Fe.name=Ue+(qe-1)),qe++,$e.set(Ue,qe)}}function getDimCount(xe,$e,Ie,Fe){var Ue=Math.max(xe.dimensionsDetectedCount||1,$e.length,Ie.length,Fe||0);return each$f($e,function(qe){var At;isObject$3(qe)&&(At=qe.dimsDef)&&(Ue=Math.max(Ue,At.length))}),Ue}function genCoordDimName(xe,$e,Ie){if(Ie||$e.hasKey(xe)){for(var Fe=0;$e.hasKey(xe+Fe);)Fe++;xe+=Fe}return $e.set(xe,!0),xe}var CoordSysInfo=function(){function xe($e){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=$e}return xe}();function getCoordSysInfoBySeries(xe){var $e=xe.get("coordinateSystem"),Ie=new CoordSysInfo($e),Fe=fetchers[$e];if(Fe)return Fe(xe,Ie,Ie.axisMap,Ie.categoryAxisMap),Ie}var fetchers={cartesian2d:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],qe=xe.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];$e.coordSysDims=["x","y"],Ie.set("x",Ue),Ie.set("y",qe),isCategory(Ue)&&(Fe.set("x",Ue),$e.firstCategoryDimIndex=0),isCategory(qe)&&(Fe.set("y",qe),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=1))},singleAxis:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];$e.coordSysDims=["single"],Ie.set("single",Ue),isCategory(Ue)&&(Fe.set("single",Ue),$e.firstCategoryDimIndex=0)},polar:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("polar",SINGLE_REFERRING).models[0],qe=Ue.findAxisModel("radiusAxis"),At=Ue.findAxisModel("angleAxis");$e.coordSysDims=["radius","angle"],Ie.set("radius",qe),Ie.set("angle",At),isCategory(qe)&&(Fe.set("radius",qe),$e.firstCategoryDimIndex=0),isCategory(At)&&(Fe.set("angle",At),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=1))},geo:function(xe,$e,Ie,Fe){$e.coordSysDims=["lng","lat"]},parallel:function(xe,$e,Ie,Fe){var Ue=xe.ecModel,qe=Ue.getComponent("parallel",xe.get("parallelIndex")),At=$e.coordSysDims=qe.dimensions.slice();each$f(qe.parallelAxisIndex,function(Dt,Lt){var jt=Ue.getComponent("parallelAxis",Dt),hn=At[Lt];Ie.set(hn,jt),isCategory(jt)&&(Fe.set(hn,jt),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=Lt))})}};function isCategory(xe){return xe.get("type")==="category"}function enableDataStack(xe,$e,Ie){Ie=Ie||{};var Fe=Ie.byIndex,Ue=Ie.stackedCoordDimension,qe,At,Dt;isLegacyDimensionsInput($e)?qe=$e:(At=$e.schema,qe=At.dimensions,Dt=$e.store);var Lt=!!(xe&&xe.get("stack")),jt,hn,vn,bn;if(each$f(qe,function(xn,En){isString(xn)&&(qe[En]=xn={name:xn}),Lt&&!xn.isExtraCoord&&(!Fe&&!jt&&xn.ordinalMeta&&(jt=xn),!hn&&xn.type!=="ordinal"&&xn.type!=="time"&&(!Ue||Ue===xn.coordDim)&&(hn=xn))}),hn&&!Fe&&!jt&&(Fe=!0),hn){vn="__\0ecstackresult_"+xe.id,bn="__\0ecstackedover_"+xe.id,jt&&(jt.createInvertedIndices=!0);var _n=hn.coordDim,wn=hn.type,kn=0;each$f(qe,function(xn){xn.coordDim===_n&&kn++});var Cn={name:vn,coordDim:_n,coordDimIndex:kn,type:wn,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:qe.length},Sn={name:bn,coordDim:bn,coordDimIndex:kn+1,type:wn,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:qe.length+1};At?(Dt&&(Cn.storeDimIndex=Dt.ensureCalculationDimension(bn,wn),Sn.storeDimIndex=Dt.ensureCalculationDimension(vn,wn)),At.appendCalculationDimension(Cn),At.appendCalculationDimension(Sn)):(qe.push(Cn),qe.push(Sn))}return{stackedDimension:hn&&hn.name,stackedByDimension:jt&&jt.name,isStackedByIndex:Fe,stackedOverDimension:bn,stackResultDimension:vn}}function isLegacyDimensionsInput(xe){return!isSeriesDataSchema(xe.schema)}function isDimensionStacked(xe,$e){return!!$e&&$e===xe.getCalculationInfo("stackedDimension")}function getStackedDimension(xe,$e){return isDimensionStacked(xe,$e)?xe.getCalculationInfo("stackResultDimension"):$e}function getCoordSysDimDefs(xe,$e){var Ie=xe.get("coordinateSystem"),Fe=CoordinateSystemManager.get(Ie),Ue;return $e&&$e.coordSysDims&&(Ue=map$1($e.coordSysDims,function(qe){var At={name:qe},Dt=$e.axisMap.get(qe);if(Dt){var Lt=Dt.get("type");At.type=getDimensionTypeByAxis(Lt)}return At})),Ue||(Ue=Fe&&(Fe.getDimensionsInfo?Fe.getDimensionsInfo():Fe.dimensions.slice())||["x","y"]),Ue}function injectOrdinalMeta(xe,$e,Ie){var Fe,Ue;return Ie&&each$f(xe,function(qe,At){var Dt=qe.coordDim,Lt=Ie.categoryAxisMap.get(Dt);Lt&&(Fe==null&&(Fe=At),qe.ordinalMeta=Lt.getOrdinalMeta(),$e&&(qe.createInvertedIndices=!0)),qe.otherDims.itemName!=null&&(Ue=!0)}),!Ue&&Fe!=null&&(xe[Fe].otherDims.itemName=0),Fe}function createSeriesData(xe,$e,Ie){Ie=Ie||{};var Fe=$e.getSourceManager(),Ue,qe=!1;xe?(qe=!0,Ue=createSourceFromSeriesDataOption(xe)):(Ue=Fe.getSource(),qe=Ue.sourceFormat===SOURCE_FORMAT_ORIGINAL);var At=getCoordSysInfoBySeries($e),Dt=getCoordSysDimDefs($e,At),Lt=Ie.useEncodeDefaulter,jt=isFunction(Lt)?Lt:Lt?curry$1(makeSeriesEncodeForAxisCoordSys,Dt,$e):null,hn={coordDimensions:Dt,generateCoord:Ie.generateCoord,encodeDefine:$e.getEncode(),encodeDefaulter:jt,canOmitUnusedDimensions:!qe},vn=prepareSeriesDataSchema(Ue,hn),bn=injectOrdinalMeta(vn.dimensions,Ie.createInvertedIndices,At),_n=qe?null:Fe.getSharedDataStore(vn),wn=enableDataStack($e,{schema:vn,store:_n}),kn=new SeriesData(vn,$e);kn.setCalculationInfo(wn);var Cn=bn!=null&&isNeedCompleteOrdinalData(Ue)?function(Sn,xn,En,Tn){return Tn===bn?En:this.defaultDimValueGetter(Sn,xn,En,Tn)}:null;return kn.hasItemOption=!1,kn.initData(qe?Ue:_n,null,Cn),kn}function isNeedCompleteOrdinalData(xe){if(xe.sourceFormat===SOURCE_FORMAT_ORIGINAL){var $e=firstDataNotNull(xe.data||[]);return!isArray$1(getDataItemValue($e))}}function firstDataNotNull(xe){for(var $e=0;$eIe[1]&&(Ie[1]=$e[1])},xe.prototype.unionExtentFromData=function($e,Ie){this.unionExtent($e.getApproximateExtent(Ie))},xe.prototype.getExtent=function(){return this._extent.slice()},xe.prototype.setExtent=function($e,Ie){var Fe=this._extent;isNaN($e)||(Fe[0]=$e),isNaN(Ie)||(Fe[1]=Ie)},xe.prototype.isInExtentRange=function($e){return this._extent[0]<=$e&&this._extent[1]>=$e},xe.prototype.isBlank=function(){return this._isBlank},xe.prototype.setBlank=function($e){this._isBlank=$e},xe}();enableClassManagement(Scale);var uidBase=0,OrdinalMeta=function(){function xe($e){this.categories=$e.categories||[],this._needCollect=$e.needCollect,this._deduplication=$e.deduplication,this.uid=++uidBase}return xe.createByAxisModel=function($e){var Ie=$e.option,Fe=Ie.data,Ue=Fe&&map$1(Fe,getName);return new xe({categories:Ue,needCollect:!Ue,deduplication:Ie.dedplication!==!1})},xe.prototype.getOrdinal=function($e){return this._getOrCreateMap().get($e)},xe.prototype.parseAndCollect=function($e){var Ie,Fe=this._needCollect;if(!isString($e)&&!Fe)return $e;if(Fe&&!this._deduplication)return Ie=this.categories.length,this.categories[Ie]=$e,Ie;var Ue=this._getOrCreateMap();return Ie=Ue.get($e),Ie==null&&(Fe?(Ie=this.categories.length,this.categories[Ie]=$e,Ue.set($e,Ie)):Ie=NaN),Ie},xe.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},xe}();function getName(xe){return isObject$3(xe)&&xe.value!=null?xe.value:xe+""}function isIntervalOrLogScale(xe){return xe.type==="interval"||xe.type==="log"}function intervalScaleNiceTicks(xe,$e,Ie,Fe){var Ue={},qe=xe[1]-xe[0],At=Ue.interval=nice(qe/$e);Ie!=null&&AtFe&&(At=Ue.interval=Fe);var Dt=Ue.intervalPrecision=getIntervalPrecision(At),Lt=Ue.niceTickExtent=[round$3(Math.ceil(xe[0]/At)*At,Dt),round$3(Math.floor(xe[1]/At)*At,Dt)];return fixExtent(Lt,xe),Ue}function increaseInterval(xe){var $e=Math.pow(10,quantityExponent(xe)),Ie=xe/$e;return Ie?Ie===2?Ie=3:Ie===3?Ie=5:Ie*=2:Ie=1,round$3(Ie*$e)}function getIntervalPrecision(xe){return getPrecision(xe)+2}function clamp(xe,$e,Ie){xe[$e]=Math.max(Math.min(xe[$e],Ie[1]),Ie[0])}function fixExtent(xe,$e){!isFinite(xe[0])&&(xe[0]=$e[0]),!isFinite(xe[1])&&(xe[1]=$e[1]),clamp(xe,0,$e),clamp(xe,1,$e),xe[0]>xe[1]&&(xe[0]=xe[1])}function contain$1(xe,$e){return xe>=$e[0]&&xe<=$e[1]}function normalize$2(xe,$e){return $e[1]===$e[0]?.5:(xe-$e[0])/($e[1]-$e[0])}function scale(xe,$e){return xe*($e[1]-$e[0])+$e[0]}var OrdinalScale=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;Fe.type="ordinal";var Ue=Fe.getSetting("ordinalMeta");return Ue||(Ue=new OrdinalMeta({})),isArray$1(Ue)&&(Ue=new OrdinalMeta({categories:map$1(Ue,function(qe){return isObject$3(qe)?qe.value:qe})})),Fe._ordinalMeta=Ue,Fe._extent=Fe.getSetting("extent")||[0,Ue.categories.length-1],Fe}return $e.prototype.parse=function(Ie){return Ie==null?NaN:isString(Ie)?this._ordinalMeta.getOrdinal(Ie):Math.round(Ie)},$e.prototype.contain=function(Ie){return Ie=this.parse(Ie),contain$1(Ie,this._extent)&&this._ordinalMeta.categories[Ie]!=null},$e.prototype.normalize=function(Ie){return Ie=this._getTickNumber(this.parse(Ie)),normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return Ie=Math.round(scale(Ie,this._extent)),this.getRawOrdinalNumber(Ie)},$e.prototype.getTicks=function(){for(var Ie=[],Fe=this._extent,Ue=Fe[0];Ue<=Fe[1];)Ie.push({value:Ue}),Ue++;return Ie},$e.prototype.getMinorTicks=function(Ie){},$e.prototype.setSortInfo=function(Ie){if(Ie==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var Fe=Ie.ordinalNumbers,Ue=this._ordinalNumbersByTick=[],qe=this._ticksByOrdinalNumber=[],At=0,Dt=this._ordinalMeta.categories.length,Lt=Math.min(Dt,Fe.length);At=0&&Ie=0&&Ie=Ie},$e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},$e.prototype.calcNiceTicks=function(){},$e.prototype.calcNiceExtent=function(){},$e.type="ordinal",$e}(Scale);Scale.registerClass(OrdinalScale);var roundNumber=round$3,IntervalScale=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="interval",Ie._interval=0,Ie._intervalPrecision=2,Ie}return $e.prototype.parse=function(Ie){return Ie},$e.prototype.contain=function(Ie){return contain$1(Ie,this._extent)},$e.prototype.normalize=function(Ie){return normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return scale(Ie,this._extent)},$e.prototype.setExtent=function(Ie,Fe){var Ue=this._extent;isNaN(Ie)||(Ue[0]=parseFloat(Ie)),isNaN(Fe)||(Ue[1]=parseFloat(Fe))},$e.prototype.unionExtent=function(Ie){var Fe=this._extent;Ie[0]Fe[1]&&(Fe[1]=Ie[1]),this.setExtent(Fe[0],Fe[1])},$e.prototype.getInterval=function(){return this._interval},$e.prototype.setInterval=function(Ie){this._interval=Ie,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(Ie)},$e.prototype.getTicks=function(Ie){var Fe=this._interval,Ue=this._extent,qe=this._niceExtent,At=this._intervalPrecision,Dt=[];if(!Fe)return Dt;var Lt=1e4;Ue[0]Lt)return[];var hn=Dt.length?Dt[Dt.length-1].value:qe[1];return Ue[1]>hn&&(Ie?Dt.push({value:roundNumber(hn+Fe,At)}):Dt.push({value:Ue[1]})),Dt},$e.prototype.getMinorTicks=function(Ie){for(var Fe=this.getTicks(!0),Ue=[],qe=this.getExtent(),At=1;Atqe[0]&&_n0&&(qe=qe===null?Dt:Math.min(qe,Dt))}Ie[Fe]=qe}}return Ie}function makeColumnLayout(xe){var $e=getValueAxesMinGaps(xe),Ie=[];return each$f(xe,function(Fe){var Ue=Fe.coordinateSystem,qe=Ue.getBaseAxis(),At=qe.getExtent(),Dt;if(qe.type==="category")Dt=qe.getBandWidth();else if(qe.type==="value"||qe.type==="time"){var Lt=qe.dim+"_"+qe.index,jt=$e[Lt],hn=Math.abs(At[1]-At[0]),vn=qe.scale.getExtent(),bn=Math.abs(vn[1]-vn[0]);Dt=jt?hn/bn*jt:hn}else{var _n=Fe.getData();Dt=Math.abs(At[1]-At[0])/_n.count()}var wn=parsePercent(Fe.get("barWidth"),Dt),kn=parsePercent(Fe.get("barMaxWidth"),Dt),Cn=parsePercent(Fe.get("barMinWidth")||(isInLargeMode(Fe)?.5:1),Dt),Sn=Fe.get("barGap"),xn=Fe.get("barCategoryGap");Ie.push({bandWidth:Dt,barWidth:wn,barMaxWidth:kn,barMinWidth:Cn,barGap:Sn,barCategoryGap:xn,axisKey:getAxisKey$1(qe),stackId:getSeriesStackId$1(Fe)})}),doCalBarWidthAndOffset(Ie)}function doCalBarWidthAndOffset(xe){var $e={};each$f(xe,function(Fe,Ue){var qe=Fe.axisKey,At=Fe.bandWidth,Dt=$e[qe]||{bandWidth:At,remainedWidth:At,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},Lt=Dt.stacks;$e[qe]=Dt;var jt=Fe.stackId;Lt[jt]||Dt.autoWidthCount++,Lt[jt]=Lt[jt]||{width:0,maxWidth:0};var hn=Fe.barWidth;hn&&!Lt[jt].width&&(Lt[jt].width=hn,hn=Math.min(Dt.remainedWidth,hn),Dt.remainedWidth-=hn);var vn=Fe.barMaxWidth;vn&&(Lt[jt].maxWidth=vn);var bn=Fe.barMinWidth;bn&&(Lt[jt].minWidth=bn);var _n=Fe.barGap;_n!=null&&(Dt.gap=_n);var wn=Fe.barCategoryGap;wn!=null&&(Dt.categoryGap=wn)});var Ie={};return each$f($e,function(Fe,Ue){Ie[Ue]={};var qe=Fe.stacks,At=Fe.bandWidth,Dt=Fe.categoryGap;if(Dt==null){var Lt=keys(qe).length;Dt=Math.max(35-Lt*4,15)+"%"}var jt=parsePercent(Dt,At),hn=parsePercent(Fe.gap,1),vn=Fe.remainedWidth,bn=Fe.autoWidthCount,_n=(vn-jt)/(bn+(bn-1)*hn);_n=Math.max(_n,0),each$f(qe,function(Sn){var xn=Sn.maxWidth,En=Sn.minWidth;if(Sn.width){var Tn=Sn.width;xn&&(Tn=Math.min(Tn,xn)),En&&(Tn=Math.max(Tn,En)),Sn.width=Tn,vn-=Tn+hn*Tn,bn--}else{var Tn=_n;xn&&xnTn&&(Tn=En),Tn!==_n&&(Sn.width=Tn,vn-=Tn+hn*Tn,bn--)}}),_n=(vn-jt)/(bn+(bn-1)*hn),_n=Math.max(_n,0);var wn=0,kn;each$f(qe,function(Sn,xn){Sn.width||(Sn.width=_n),kn=Sn,wn+=Sn.width*(1+hn)}),kn&&(wn-=kn.width*hn);var Cn=-wn/2;each$f(qe,function(Sn,xn){Ie[Ue][xn]=Ie[Ue][xn]||{bandWidth:At,offset:Cn,width:Sn.width},Cn+=Sn.width*(1+hn)})}),Ie}function retrieveColumnLayout(xe,$e,Ie){if(xe&&$e){var Fe=xe[getAxisKey$1($e)];return Fe!=null&&Ie!=null?Fe[getSeriesStackId$1(Ie)]:Fe}}function layout$3(xe,$e){var Ie=prepareLayoutBarSeries(xe,$e),Fe=makeColumnLayout(Ie);each$f(Ie,function(Ue){var qe=Ue.getData(),At=Ue.coordinateSystem,Dt=At.getBaseAxis(),Lt=getSeriesStackId$1(Ue),jt=Fe[getAxisKey$1(Dt)][Lt],hn=jt.offset,vn=jt.width;qe.setLayout({bandWidth:jt.bandWidth,offset:hn,size:vn})})}function createProgressiveLayout(xe){return{seriesType:xe,plan:createRenderPlanner(),reset:function($e){if(isOnCartesian($e)){var Ie=$e.getData(),Fe=$e.coordinateSystem,Ue=Fe.getBaseAxis(),qe=Fe.getOtherAxis(Ue),At=Ie.getDimensionIndex(Ie.mapDimension(qe.dim)),Dt=Ie.getDimensionIndex(Ie.mapDimension(Ue.dim)),Lt=$e.get("showBackground",!0),jt=Ie.mapDimension(qe.dim),hn=Ie.getCalculationInfo("stackResultDimension"),vn=isDimensionStacked(Ie,jt)&&!!Ie.getCalculationInfo("stackedOnSeries"),bn=qe.isHorizontal(),_n=getValueAxisStart(Ue,qe),wn=isInLargeMode($e),kn=$e.get("barMinHeight")||0,Cn=hn&&Ie.getDimensionIndex(hn),Sn=Ie.getLayout("size"),xn=Ie.getLayout("offset");return{progress:function(En,Tn){for(var An=En.count,$n=wn&&createFloat32Array(An*3),Pn=wn&&Lt&&createFloat32Array(An*3),Nn=wn&&createFloat32Array(An),Mn=Fe.master.getRect(),In=bn?Mn.width:Mn.height,On,Rn=Tn.getStore(),Bn=0;(On=En.next())!=null;){var Vn=Rn.get(vn?Cn:At,On),Ln=Rn.get(Dt,On),Dn=_n,Hn=void 0;vn&&(Hn=+Vn-Rn.get(At,On));var Fn=void 0,zn=void 0,jn=void 0,Gn=void 0;if(bn){var Wn=Fe.dataToPoint([Vn,Ln]);if(vn){var Xn=Fe.dataToPoint([Hn,Ln]);Dn=Xn[0]}Fn=Dn,zn=Wn[1]+xn,jn=Wn[0]-Dn,Gn=Sn,Math.abs(jn)>>1;xe[Ue][1]<$e?Ie=Ue+1:Fe=Ue}return Ie},TimeScale=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="time",Fe}return $e.prototype.getLabel=function(Ie){var Fe=this.getSetting("useUTC");return format(Ie.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,Fe,this.getSetting("locale"))},$e.prototype.getFormattedLabel=function(Ie,Fe,Ue){var qe=this.getSetting("useUTC"),At=this.getSetting("locale");return leveledFormat(Ie,Fe,Ue,At,qe)},$e.prototype.getTicks=function(){var Ie=this._interval,Fe=this._extent,Ue=[];if(!Ie)return Ue;Ue.push({value:Fe[0],level:0});var qe=this.getSetting("useUTC"),At=getIntervalTicks(this._minLevelUnit,this._approxInterval,qe,Fe);return Ue=Ue.concat(At),Ue.push({value:Fe[1],level:0}),Ue},$e.prototype.calcNiceExtent=function(Ie){var Fe=this._extent;if(Fe[0]===Fe[1]&&(Fe[0]-=ONE_DAY,Fe[1]+=ONE_DAY),Fe[1]===-1/0&&Fe[0]===1/0){var Ue=new Date;Fe[1]=+new Date(Ue.getFullYear(),Ue.getMonth(),Ue.getDate()),Fe[0]=Fe[1]-ONE_DAY}this.calcNiceTicks(Ie.splitNumber,Ie.minInterval,Ie.maxInterval)},$e.prototype.calcNiceTicks=function(Ie,Fe,Ue){Ie=Ie||10;var qe=this._extent,At=qe[1]-qe[0];this._approxInterval=At/Ie,Fe!=null&&this._approxIntervalUe&&(this._approxInterval=Ue);var Dt=scaleIntervals.length,Lt=Math.min(bisect(scaleIntervals,this._approxInterval,0,Dt),Dt-1);this._interval=scaleIntervals[Lt][1],this._minLevelUnit=scaleIntervals[Math.max(Lt-1,0)][0]},$e.prototype.parse=function(Ie){return isNumber(Ie)?Ie:+parseDate(Ie)},$e.prototype.contain=function(Ie){return contain$1(this.parse(Ie),this._extent)},$e.prototype.normalize=function(Ie){return normalize$2(this.parse(Ie),this._extent)},$e.prototype.scale=function(Ie){return scale(Ie,this._extent)},$e.type="time",$e}(IntervalScale),scaleIntervals=[["second",ONE_SECOND],["minute",ONE_MINUTE],["hour",ONE_HOUR],["quarter-day",ONE_HOUR*6],["half-day",ONE_HOUR*12],["day",ONE_DAY*1.2],["half-week",ONE_DAY*3.5],["week",ONE_DAY*7],["month",ONE_DAY*31],["quarter",ONE_DAY*95],["half-year",ONE_YEAR/2],["year",ONE_YEAR]];function isUnitValueSame(xe,$e,Ie,Fe){var Ue=parseDate($e),qe=parseDate(Ie),At=function(wn){return getUnitValue(Ue,wn,Fe)===getUnitValue(qe,wn,Fe)},Dt=function(){return At("year")},Lt=function(){return Dt()&&At("month")},jt=function(){return Lt()&&At("day")},hn=function(){return jt()&&At("hour")},vn=function(){return hn()&&At("minute")},bn=function(){return vn()&&At("second")},_n=function(){return bn()&&At("millisecond")};switch(xe){case"year":return Dt();case"month":return Lt();case"day":return jt();case"hour":return hn();case"minute":return vn();case"second":return bn();case"millisecond":return _n()}}function getDateInterval(xe,$e){return xe/=ONE_DAY,xe>16?16:xe>7.5?7:xe>3.5?4:xe>1.5?2:1}function getMonthInterval(xe){var $e=30*ONE_DAY;return xe/=$e,xe>6?6:xe>3?3:xe>2?2:1}function getHourInterval(xe){return xe/=ONE_HOUR,xe>12?12:xe>6?6:xe>3.5?4:xe>2?2:1}function getMinutesAndSecondsInterval(xe,$e){return xe/=$e?ONE_MINUTE:ONE_SECOND,xe>30?30:xe>20?20:xe>15?15:xe>10?10:xe>5?5:xe>2?2:1}function getMillisecondsInterval(xe){return nice(xe)}function getFirstTimestampOfUnit(xe,$e,Ie){var Fe=new Date(xe);switch(getPrimaryTimeUnit($e)){case"year":case"month":Fe[monthSetterName(Ie)](0);case"day":Fe[dateSetterName(Ie)](1);case"hour":Fe[hoursSetterName(Ie)](0);case"minute":Fe[minutesSetterName(Ie)](0);case"second":Fe[secondsSetterName(Ie)](0),Fe[millisecondsSetterName(Ie)](0)}return Fe.getTime()}function getIntervalTicks(xe,$e,Ie,Fe){var Ue=1e4,qe=timeUnits,At=0;function Dt(In,On,Rn,Bn,Vn,Ln,Dn){for(var Hn=new Date(On),Fn=On,zn=Hn[Bn]();Fn1&&Ln===0&&Rn.unshift({value:Rn[0].value-Fn})}}for(var Ln=0;Ln=Fe[0]&&xn<=Fe[1]&&vn++)}var En=(Fe[1]-Fe[0])/$e;if(vn>En*1.5&&bn>En/1.5||(jt.push(Cn),vn>En||xe===qe[_n]))break}hn=[]}}}for(var Tn=filter(map$1(jt,function(In){return filter(In,function(On){return On.value>=Fe[0]&&On.value<=Fe[1]&&!On.notAdd})}),function(In){return In.length>0}),An=[],$n=Tn.length-1,_n=0;_n0;)qe*=10;var Dt=[round$3(mathCeil$1(Fe[0]/qe)*qe),round$3(mathFloor$1(Fe[1]/qe)*qe)];this._interval=qe,this._niceExtent=Dt}},$e.prototype.calcNiceExtent=function(Ie){intervalScaleProto.calcNiceExtent.call(this,Ie),this._fixMin=Ie.fixMin,this._fixMax=Ie.fixMax},$e.prototype.parse=function(Ie){return Ie},$e.prototype.contain=function(Ie){return Ie=mathLog$1(Ie)/mathLog$1(this.base),contain$1(Ie,this._extent)},$e.prototype.normalize=function(Ie){return Ie=mathLog$1(Ie)/mathLog$1(this.base),normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return Ie=scale(Ie,this._extent),mathPow$1(this.base,Ie)},$e.type="log",$e}(Scale),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError(xe,$e){return roundingErrorFix(xe,getPrecision($e))}Scale.registerClass(LogScale);var ScaleRawExtentInfo=function(){function xe($e,Ie,Fe){this._prepareParams($e,Ie,Fe)}return xe.prototype._prepareParams=function($e,Ie,Fe){Fe[1]0&&Lt>0&&!jt&&(Dt=0),Dt<0&&Lt<0&&!hn&&(Lt=0));var bn=this._determinedMin,_n=this._determinedMax;return bn!=null&&(Dt=bn,jt=!0),_n!=null&&(Lt=_n,hn=!0),{min:Dt,max:Lt,minFixed:jt,maxFixed:hn,isBlank:vn}},xe.prototype.modifyDataMinMax=function($e,Ie){this[DATA_MIN_MAX_ATTR[$e]]=Ie},xe.prototype.setDeterminedMinMax=function($e,Ie){var Fe=DETERMINED_MIN_MAX_ATTR[$e];this[Fe]=Ie},xe.prototype.freeze=function(){this.frozen=!0},xe}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(xe,$e,Ie){var Fe=xe.rawExtentInfo;return Fe||(Fe=new ScaleRawExtentInfo(xe,$e,Ie),xe.rawExtentInfo=Fe,Fe)}function parseAxisModelMinMax(xe,$e){return $e==null?null:eqNaN($e)?NaN:xe.parse($e)}function getScaleExtent(xe,$e){var Ie=xe.type,Fe=ensureScaleRawExtentInfo(xe,$e,xe.getExtent()).calculate();xe.setBlank(Fe.isBlank);var Ue=Fe.min,qe=Fe.max,At=$e.ecModel;if(At&&Ie==="time"){var Dt=prepareLayoutBarSeries("bar",At),Lt=!1;if(each$f(Dt,function(vn){Lt=Lt||vn.getBaseAxis()===$e.axis}),Lt){var jt=makeColumnLayout(Dt),hn=adjustScaleForOverflow(Ue,qe,$e,jt);Ue=hn.min,qe=hn.max}}return{extent:[Ue,qe],fixMin:Fe.minFixed,fixMax:Fe.maxFixed}}function adjustScaleForOverflow(xe,$e,Ie,Fe){var Ue=Ie.axis.getExtent(),qe=Ue[1]-Ue[0],At=retrieveColumnLayout(Fe,Ie.axis);if(At===void 0)return{min:xe,max:$e};var Dt=1/0;each$f(At,function(_n){Dt=Math.min(_n.offset,Dt)});var Lt=-1/0;each$f(At,function(_n){Lt=Math.max(_n.offset+_n.width,Lt)}),Dt=Math.abs(Dt),Lt=Math.abs(Lt);var jt=Dt+Lt,hn=$e-xe,vn=1-(Dt+Lt)/qe,bn=hn/vn-hn;return $e+=bn*(Lt/jt),xe-=bn*(Dt/jt),{min:xe,max:$e}}function niceScaleExtent(xe,$e){var Ie=$e,Fe=getScaleExtent(xe,Ie),Ue=Fe.extent,qe=Ie.get("splitNumber");xe instanceof LogScale&&(xe.base=Ie.get("logBase"));var At=xe.type,Dt=Ie.get("interval"),Lt=At==="interval"||At==="time";xe.setExtent(Ue[0],Ue[1]),xe.calcNiceExtent({splitNumber:qe,fixMin:Fe.fixMin,fixMax:Fe.fixMax,minInterval:Lt?Ie.get("minInterval"):null,maxInterval:Lt?Ie.get("maxInterval"):null}),Dt!=null&&xe.setInterval&&xe.setInterval(Dt)}function createScaleByModel$1(xe,$e){if($e=$e||xe.get("type"),$e)switch($e){case"category":return new OrdinalScale({ordinalMeta:xe.getOrdinalMeta?xe.getOrdinalMeta():xe.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale({locale:xe.ecModel.getLocaleModel(),useUTC:xe.ecModel.get("useUTC")});default:return new(Scale.getClass($e)||IntervalScale)}}function ifAxisCrossZero(xe){var $e=xe.scale.getExtent(),Ie=$e[0],Fe=$e[1];return!(Ie>0&&Fe>0||Ie<0&&Fe<0)}function makeLabelFormatter(xe){var $e=xe.getLabelModel().get("formatter"),Ie=xe.type==="category"?xe.scale.getExtent()[0]:null;return xe.scale.type==="time"?function(Fe){return function(Ue,qe){return xe.scale.getFormattedLabel(Ue,qe,Fe)}}($e):isString($e)?function(Fe){return function(Ue){var qe=xe.scale.getLabel(Ue),At=Fe.replace("{value}",qe??"");return At}}($e):isFunction($e)?function(Fe){return function(Ue,qe){return Ie!=null&&(qe=Ue.value-Ie),Fe(getAxisRawValue(xe,Ue),qe,Ue.level!=null?{level:Ue.level}:null)}}($e):function(Fe){return xe.scale.getLabel(Fe)}}function getAxisRawValue(xe,$e){return xe.type==="category"?xe.scale.getLabel($e):$e.value}function estimateLabelUnionRect(xe){var $e=xe.model,Ie=xe.scale;if(!(!$e.get(["axisLabel","show"])||Ie.isBlank())){var Fe,Ue,qe=Ie.getExtent();Ie instanceof OrdinalScale?Ue=Ie.count():(Fe=Ie.getTicks(),Ue=Fe.length);var At=xe.getLabelModel(),Dt=makeLabelFormatter(xe),Lt,jt=1;Ue>40&&(jt=Math.ceil(Ue/40));for(var hn=0;hnxe[1]&&(xe[1]=Ue[1])})}var AxisModelCommonMixin=function(){function xe(){}return xe.prototype.getNeedCrossZero=function(){var $e=this.option;return!$e.scale},xe.prototype.getCoordSysModel=function(){},xe}(),EPSILON=1e-8;function isAroundEqual(xe,$e){return Math.abs(xe-$e)Ue&&(Fe=At,Ue=Lt)}if(Fe)return centroid$1(Fe.exterior);var jt=this.getBoundingRect();return[jt.x+jt.width/2,jt.y+jt.height/2]},$e.prototype.getBoundingRect=function(Ie){var Fe=this._rect;if(Fe&&!Ie)return Fe;var Ue=[1/0,1/0],qe=[-1/0,-1/0],At=this.geometries;return each$f(At,function(Dt){Dt.type==="polygon"?updateBBoxFromPoints(Dt.exterior,Ue,qe,Ie):each$f(Dt.points,function(Lt){updateBBoxFromPoints(Lt,Ue,qe,Ie)})}),isFinite(Ue[0])&&isFinite(Ue[1])&&isFinite(qe[0])&&isFinite(qe[1])||(Ue[0]=Ue[1]=qe[0]=qe[1]=0),Fe=new BoundingRect(Ue[0],Ue[1],qe[0]-Ue[0],qe[1]-Ue[1]),Ie||(this._rect=Fe),Fe},$e.prototype.contain=function(Ie){var Fe=this.getBoundingRect(),Ue=this.geometries;if(!Fe.contain(Ie[0],Ie[1]))return!1;e:for(var qe=0,At=Ue.length;qe>1^-(Dt&1),Lt=Lt>>1^-(Lt&1),Dt+=Ue,Lt+=qe,Ue=Dt,qe=Lt,Fe.push([Dt/Ie,Lt/Ie])}return Fe}function parseGeoJSON(xe,$e){return xe=decode(xe),map$1(filter(xe.features,function(Ie){return Ie.geometry&&Ie.properties&&Ie.geometry.coordinates.length>0}),function(Ie){var Fe=Ie.properties,Ue=Ie.geometry,qe=[];switch(Ue.type){case"Polygon":var At=Ue.coordinates;qe.push(new GeoJSONPolygonGeometry(At[0],At.slice(1)));break;case"MultiPolygon":each$f(Ue.coordinates,function(Lt){Lt[0]&&qe.push(new GeoJSONPolygonGeometry(Lt[0],Lt.slice(1)))});break;case"LineString":qe.push(new GeoJSONLineStringGeometry([Ue.coordinates]));break;case"MultiLineString":qe.push(new GeoJSONLineStringGeometry(Ue.coordinates))}var Dt=new GeoJSONRegion(Fe[$e||"name"],qe,Fe.cp);return Dt.properties=Fe,Dt})}var inner$g=makeInner();function createAxisLabels(xe){return xe.type==="category"?makeCategoryLabels(xe):makeRealNumberLabels(xe)}function createAxisTicks(xe,$e){return xe.type==="category"?makeCategoryTicks(xe,$e):{ticks:map$1(xe.scale.getTicks(),function(Ie){return Ie.value})}}function makeCategoryLabels(xe){var $e=xe.getLabelModel(),Ie=makeCategoryLabelsActually(xe,$e);return!$e.get("show")||xe.scale.isBlank()?{labels:[],labelCategoryInterval:Ie.labelCategoryInterval}:Ie}function makeCategoryLabelsActually(xe,$e){var Ie=getListCache(xe,"labels"),Fe=getOptionCategoryInterval($e),Ue=listCacheGet(Ie,Fe);if(Ue)return Ue;var qe,At;return isFunction(Fe)?qe=makeLabelsByCustomizedCategoryInterval(xe,Fe):(At=Fe==="auto"?makeAutoCategoryInterval(xe):Fe,qe=makeLabelsByNumericCategoryInterval(xe,At)),listCacheSet(Ie,Fe,{labels:qe,labelCategoryInterval:At})}function makeCategoryTicks(xe,$e){var Ie=getListCache(xe,"ticks"),Fe=getOptionCategoryInterval($e),Ue=listCacheGet(Ie,Fe);if(Ue)return Ue;var qe,At;if((!$e.get("show")||xe.scale.isBlank())&&(qe=[]),isFunction(Fe))qe=makeLabelsByCustomizedCategoryInterval(xe,Fe,!0);else if(Fe==="auto"){var Dt=makeCategoryLabelsActually(xe,xe.getLabelModel());At=Dt.labelCategoryInterval,qe=map$1(Dt.labels,function(Lt){return Lt.tickValue})}else At=Fe,qe=makeLabelsByNumericCategoryInterval(xe,At,!0);return listCacheSet(Ie,Fe,{ticks:qe,tickCategoryInterval:At})}function makeRealNumberLabels(xe){var $e=xe.scale.getTicks(),Ie=makeLabelFormatter(xe);return{labels:map$1($e,function(Fe,Ue){return{level:Fe.level,formattedLabel:Ie(Fe,Ue),rawLabel:xe.scale.getLabel(Fe),tickValue:Fe.value}})}}function getListCache(xe,$e){return inner$g(xe)[$e]||(inner$g(xe)[$e]=[])}function listCacheGet(xe,$e){for(var Ie=0;Ie40&&(Dt=Math.max(1,Math.floor(At/40)));for(var Lt=qe[0],jt=xe.dataToCoord(Lt+1)-xe.dataToCoord(Lt),hn=Math.abs(jt*Math.cos(Fe)),vn=Math.abs(jt*Math.sin(Fe)),bn=0,_n=0;Lt<=qe[1];Lt+=Dt){var wn=0,kn=0,Cn=getBoundingRect(Ie({value:Lt}),$e.font,"center","top");wn=Cn.width*1.3,kn=Cn.height*1.3,bn=Math.max(bn,wn,7),_n=Math.max(_n,kn,7)}var Sn=bn/hn,xn=_n/vn;isNaN(Sn)&&(Sn=1/0),isNaN(xn)&&(xn=1/0);var En=Math.max(0,Math.floor(Math.min(Sn,xn))),Tn=inner$g(xe.model),An=xe.getExtent(),$n=Tn.lastAutoInterval,Pn=Tn.lastTickCount;return $n!=null&&Pn!=null&&Math.abs($n-En)<=1&&Math.abs(Pn-At)<=1&&$n>En&&Tn.axisExtent0===An[0]&&Tn.axisExtent1===An[1]?En=$n:(Tn.lastTickCount=At,Tn.lastAutoInterval=En,Tn.axisExtent0=An[0],Tn.axisExtent1=An[1]),En}function fetchAutoCategoryIntervalCalculationParams(xe){var $e=xe.getLabelModel();return{axisRotate:xe.getRotate?xe.getRotate():xe.isHorizontal&&!xe.isHorizontal()?90:0,labelRotate:$e.get("rotate")||0,font:$e.getFont()}}function makeLabelsByNumericCategoryInterval(xe,$e,Ie){var Fe=makeLabelFormatter(xe),Ue=xe.scale,qe=Ue.getExtent(),At=xe.getLabelModel(),Dt=[],Lt=Math.max(($e||0)+1,1),jt=qe[0],hn=Ue.count();jt!==0&&Lt>1&&hn/Lt>2&&(jt=Math.round(Math.ceil(jt/Lt)*Lt));var vn=shouldShowAllLabels(xe),bn=At.get("showMinLabel")||vn,_n=At.get("showMaxLabel")||vn;bn&&jt!==qe[0]&&kn(qe[0]);for(var wn=jt;wn<=qe[1];wn+=Lt)kn(wn);_n&&wn-Lt!==qe[1]&&kn(qe[1]);function kn(Cn){var Sn={value:Cn};Dt.push(Ie?Cn:{formattedLabel:Fe(Sn),rawLabel:Ue.getLabel(Sn),tickValue:Cn})}return Dt}function makeLabelsByCustomizedCategoryInterval(xe,$e,Ie){var Fe=xe.scale,Ue=makeLabelFormatter(xe),qe=[];return each$f(Fe.getTicks(),function(At){var Dt=Fe.getLabel(At),Lt=At.value;$e(At.value,Dt)&&qe.push(Ie?Lt:{formattedLabel:Ue(At),rawLabel:Dt,tickValue:Lt})}),qe}var NORMALIZED_EXTENT=[0,1],Axis=function(){function xe($e,Ie,Fe){this.onBand=!1,this.inverse=!1,this.dim=$e,this.scale=Ie,this._extent=Fe||[0,0]}return xe.prototype.contain=function($e){var Ie=this._extent,Fe=Math.min(Ie[0],Ie[1]),Ue=Math.max(Ie[0],Ie[1]);return $e>=Fe&&$e<=Ue},xe.prototype.containData=function($e){return this.scale.contain($e)},xe.prototype.getExtent=function(){return this._extent.slice()},xe.prototype.getPixelPrecision=function($e){return getPixelPrecision($e||this.scale.getExtent(),this._extent)},xe.prototype.setExtent=function($e,Ie){var Fe=this._extent;Fe[0]=$e,Fe[1]=Ie},xe.prototype.dataToCoord=function($e,Ie){var Fe=this._extent,Ue=this.scale;return $e=Ue.normalize($e),this.onBand&&Ue.type==="ordinal"&&(Fe=Fe.slice(),fixExtentWithBands(Fe,Ue.count())),linearMap$2($e,NORMALIZED_EXTENT,Fe,Ie)},xe.prototype.coordToData=function($e,Ie){var Fe=this._extent,Ue=this.scale;this.onBand&&Ue.type==="ordinal"&&(Fe=Fe.slice(),fixExtentWithBands(Fe,Ue.count()));var qe=linearMap$2($e,Fe,NORMALIZED_EXTENT,Ie);return this.scale.scale(qe)},xe.prototype.pointToData=function($e,Ie){},xe.prototype.getTicksCoords=function($e){$e=$e||{};var Ie=$e.tickModel||this.getTickModel(),Fe=createAxisTicks(this,Ie),Ue=Fe.ticks,qe=map$1(Ue,function(Dt){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(Dt):Dt),tickValue:Dt}},this),At=Ie.get("alignWithLabel");return fixOnBandTicksCoords(this,qe,At,$e.clamp),qe},xe.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var $e=this.model.getModel("minorTick"),Ie=$e.get("splitNumber");Ie>0&&Ie<100||(Ie=5);var Fe=this.scale.getMinorTicks(Ie),Ue=map$1(Fe,function(qe){return map$1(qe,function(At){return{coord:this.dataToCoord(At),tickValue:At}},this)},this);return Ue},xe.prototype.getViewLabels=function(){return createAxisLabels(this).labels},xe.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},xe.prototype.getTickModel=function(){return this.model.getModel("axisTick")},xe.prototype.getBandWidth=function(){var $e=this._extent,Ie=this.scale.getExtent(),Fe=Ie[1]-Ie[0]+(this.onBand?1:0);Fe===0&&(Fe=1);var Ue=Math.abs($e[1]-$e[0]);return Math.abs(Ue)/Fe},xe.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},xe}();function fixExtentWithBands(xe,$e){var Ie=xe[1]-xe[0],Fe=$e,Ue=Ie/Fe/2;xe[0]+=Ue,xe[1]-=Ue}function fixOnBandTicksCoords(xe,$e,Ie,Fe){var Ue=$e.length;if(!xe.onBand||Ie||!Ue)return;var qe=xe.getExtent(),At,Dt;if(Ue===1)$e[0].coord=qe[0],At=$e[1]={coord:qe[1]};else{var Lt=$e[Ue-1].tickValue-$e[0].tickValue,jt=($e[Ue-1].coord-$e[0].coord)/Lt;each$f($e,function(_n){_n.coord-=jt/2});var hn=xe.scale.getExtent();Dt=1+hn[1]-$e[Ue-1].tickValue,At={coord:$e[Ue-1].coord+jt*Dt},$e.push(At)}var vn=qe[0]>qe[1];bn($e[0].coord,qe[0])&&(Fe?$e[0].coord=qe[0]:$e.shift()),Fe&&bn(qe[0],$e[0].coord)&&$e.unshift({coord:qe[0]}),bn(qe[1],At.coord)&&(Fe?At.coord=qe[1]:$e.pop()),Fe&&bn(At.coord,qe[1])&&$e.push({coord:qe[1]});function bn(_n,wn){return _n=round$3(_n),wn=round$3(wn),vn?_n>wn:_nUe&&(Ue+=PI2$2);var _n=Math.atan2(Dt,At);if(_n<0&&(_n+=PI2$2),_n>=Fe&&_n<=Ue||_n+PI2$2>=Fe&&_n+PI2$2<=Ue)return Lt[0]=hn,Lt[1]=vn,jt-Ie;var wn=Ie*Math.cos(Fe)+xe,kn=Ie*Math.sin(Fe)+$e,Cn=Ie*Math.cos(Ue)+xe,Sn=Ie*Math.sin(Ue)+$e,xn=(wn-At)*(wn-At)+(kn-Dt)*(kn-Dt),En=(Cn-At)*(Cn-At)+(Sn-Dt)*(Sn-Dt);return xn0){$e=$e/180*Math.PI,pt0.fromArray(xe[0]),pt1.fromArray(xe[1]),pt2.fromArray(xe[2]),Point.sub(dir,pt0,pt1),Point.sub(dir2,pt2,pt1);var Ie=dir.len(),Fe=dir2.len();if(!(Ie<.001||Fe<.001)){dir.scale(1/Ie),dir2.scale(1/Fe);var Ue=dir.dot(dir2),qe=Math.cos($e);if(qe1&&Point.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(xe[1])}}}}function limitSurfaceAngle(xe,$e,Ie){if(Ie<=180&&Ie>0){Ie=Ie/180*Math.PI,pt0.fromArray(xe[0]),pt1.fromArray(xe[1]),pt2.fromArray(xe[2]),Point.sub(dir,pt1,pt0),Point.sub(dir2,pt2,pt1);var Fe=dir.len(),Ue=dir2.len();if(!(Fe<.001||Ue<.001)){dir.scale(1/Fe),dir2.scale(1/Ue);var qe=dir.dot($e),At=Math.cos(Ie);if(qe=Lt)Point.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,Dt/Math.tan(Math.PI/2-hn));var vn=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(vn))return;vn<0?Point.copy(tmpProjPoint,pt1):vn>1&&Point.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(xe[1])}}}}function setLabelLineState(xe,$e,Ie,Fe){var Ue=Ie==="normal",qe=Ue?xe:xe.ensureState(Ie);qe.ignore=$e;var At=Fe.get("smooth");At&&At===!0&&(At=.3),qe.shape=qe.shape||{},At>0&&(qe.shape.smooth=At);var Dt=Fe.getModel("lineStyle").getLineStyle();Ue?xe.useStyle(Dt):qe.style=Dt}function buildLabelLinePath(xe,$e){var Ie=$e.smooth,Fe=$e.points;if(Fe)if(xe.moveTo(Fe[0][0],Fe[0][1]),Ie>0&&Fe.length>=3){var Ue=dist$1(Fe[0],Fe[1]),qe=dist$1(Fe[1],Fe[2]);if(!Ue||!qe){xe.lineTo(Fe[1][0],Fe[1][1]),xe.lineTo(Fe[2][0],Fe[2][1]);return}var At=Math.min(Ue,qe)*Ie,Dt=lerp$1([],Fe[1],Fe[0],At/Ue),Lt=lerp$1([],Fe[1],Fe[2],At/qe),jt=lerp$1([],Dt,Lt,.5);xe.bezierCurveTo(Dt[0],Dt[1],Dt[0],Dt[1],jt[0],jt[1]),xe.bezierCurveTo(Lt[0],Lt[1],Lt[0],Lt[1],Fe[2][0],Fe[2][1])}else for(var hn=1;hn0&&qe&&An(-hn/At,0,At);var kn=xe[0],Cn=xe[At-1],Sn,xn;En(),Sn<0&&$n(-Sn,.8),xn<0&&$n(xn,.8),En(),Tn(Sn,xn,1),Tn(xn,Sn,-1),En(),Sn<0&&Pn(-Sn),xn<0&&Pn(xn);function En(){Sn=kn.rect[$e]-Fe,xn=Ue-Cn.rect[$e]-Cn.rect[Ie]}function Tn(Nn,Mn,In){if(Nn<0){var On=Math.min(Mn,-Nn);if(On>0){An(On*In,0,At);var Rn=On+Nn;Rn<0&&$n(-Rn*In,1)}else $n(-Nn*In,1)}}function An(Nn,Mn,In){Nn!==0&&(jt=!0);for(var On=Mn;On0)for(var Rn=0;Rn0;Rn--){var Dn=In[Rn-1]*Ln;An(-Dn,Rn,At)}}}function Pn(Nn){var Mn=Nn<0?-1:1;Nn=Math.abs(Nn);for(var In=Math.ceil(Nn/(At-1)),On=0;On0?An(In,0,On+1):An(-In,At-On-1,At),Nn-=In,Nn<=0)return}return jt}function shiftLayoutOnX(xe,$e,Ie,Fe){return shiftLayout(xe,"x","width",$e,Ie,Fe)}function shiftLayoutOnY(xe,$e,Ie,Fe){return shiftLayout(xe,"y","height",$e,Ie,Fe)}function hideOverlap(xe){var $e=[];xe.sort(function(kn,Cn){return Cn.priority-kn.priority});var Ie=new BoundingRect(0,0,0,0);function Fe(kn){if(!kn.ignore){var Cn=kn.ensureState("emphasis");Cn.ignore==null&&(Cn.ignore=!1)}kn.ignore=!0}for(var Ue=0;Ue=0&&Fe.attr(qe.oldLayoutSelect),indexOf(bn,"emphasis")>=0&&Fe.attr(qe.oldLayoutEmphasis)),updateProps$1(Fe,jt,Ie,Lt)}else if(Fe.attr(jt),!labelInner(Fe).valueAnimation){var vn=retrieve2(Fe.style.opacity,1);Fe.style.opacity=0,initProps(Fe,{style:{opacity:vn}},Ie,Lt)}if(qe.oldLayout=jt,Fe.states.select){var _n=qe.oldLayoutSelect={};extendWithKeys(_n,jt,LABEL_LAYOUT_PROPS),extendWithKeys(_n,Fe.states.select,LABEL_LAYOUT_PROPS)}if(Fe.states.emphasis){var wn=qe.oldLayoutEmphasis={};extendWithKeys(wn,jt,LABEL_LAYOUT_PROPS),extendWithKeys(wn,Fe.states.emphasis,LABEL_LAYOUT_PROPS)}animateLabelValue(Fe,Lt,hn,Ie,Ie)}if(Ue&&!Ue.ignore&&!Ue.invisible){var qe=labelLineAnimationStore(Ue),At=qe.oldLayout,kn={points:Ue.shape.points};At?(Ue.attr({shape:At}),updateProps$1(Ue,{shape:kn},Ie)):(Ue.setShape(kn),Ue.style.strokePercent=0,initProps(Ue,{style:{strokePercent:1}},Ie)),qe.oldLayout=kn}},xe}(),getLabelManager=makeInner();function installLabelLayout(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){var Ue=getLabelManager(Ie).labelManager;Ue||(Ue=getLabelManager(Ie).labelManager=new LabelManager),Ue.clearLabels()}),xe.registerUpdateLifecycle("series:layoutlabels",function($e,Ie,Fe){var Ue=getLabelManager(Ie).labelManager;Fe.updatedSeries.forEach(function(qe){Ue.addLabelsOfSeries(Ie.getViewOfSeriesModel(qe))}),Ue.updateLayoutConfig(Ie),Ue.layout(Ie),Ue.processLabelsOverall()})}var mathSin=Math.sin,mathCos=Math.cos,PI$4=Math.PI,PI2$1=Math.PI*2,degree=180/PI$4,SVGPathRebuilder=function(){function xe(){}return xe.prototype.reset=function($e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,$e||4)},xe.prototype.moveTo=function($e,Ie){this._add("M",$e,Ie)},xe.prototype.lineTo=function($e,Ie){this._add("L",$e,Ie)},xe.prototype.bezierCurveTo=function($e,Ie,Fe,Ue,qe,At){this._add("C",$e,Ie,Fe,Ue,qe,At)},xe.prototype.quadraticCurveTo=function($e,Ie,Fe,Ue){this._add("Q",$e,Ie,Fe,Ue)},xe.prototype.arc=function($e,Ie,Fe,Ue,qe,At){this.ellipse($e,Ie,Fe,Fe,0,Ue,qe,At)},xe.prototype.ellipse=function($e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=Dt-At,hn=!Lt,vn=Math.abs(jt),bn=isAroundZero(vn-PI2$1)||(hn?jt>=PI2$1:-jt>=PI2$1),_n=jt>0?jt%PI2$1:jt%PI2$1+PI2$1,wn=!1;bn?wn=!0:isAroundZero(vn)?wn=!1:wn=_n>=PI$4==!!hn;var kn=$e+Fe*mathCos(At),Cn=Ie+Ue*mathSin(At);this._start&&this._add("M",kn,Cn);var Sn=Math.round(qe*degree);if(bn){var xn=1/this._p,En=(hn?1:-1)*(PI2$1-xn);this._add("A",Fe,Ue,Sn,1,+hn,$e+Fe*mathCos(At+En),Ie+Ue*mathSin(At+En)),xn>.01&&this._add("A",Fe,Ue,Sn,0,+hn,kn,Cn)}else{var Tn=$e+Fe*mathCos(Dt),An=Ie+Ue*mathSin(Dt);this._add("A",Fe,Ue,Sn,+wn,+hn,Tn,An)}},xe.prototype.rect=function($e,Ie,Fe,Ue){this._add("M",$e,Ie),this._add("l",Fe,0),this._add("l",0,Ue),this._add("l",-Fe,0),this._add("Z")},xe.prototype.closePath=function(){this._d.length>0&&this._add("Z")},xe.prototype._add=function($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){for(var hn=[],vn=this._p,bn=1;bn"}function createElementClose(xe){return""}function vNodeToString(xe,$e){$e=$e||{};var Ie=$e.newline?` +`:"";function Fe(Ue){var qe=Ue.children,At=Ue.tag,Dt=Ue.attrs,Lt=Ue.text;return createElementOpen(At,Dt)+(At!=="style"?encodeHTML(Lt):Lt||"")+(qe?""+Ie+map$1(qe,function(jt){return Fe(jt)}).join(Ie)+Ie:"")+createElementClose(At)}return Fe(xe)}function getCssString(xe,$e,Ie){Ie=Ie||{};var Fe=Ie.newline?` +`:"",Ue=" {"+Fe,qe=Fe+"}",At=map$1(keys(xe),function(Lt){return Lt+Ue+map$1(keys(xe[Lt]),function(jt){return jt+":"+xe[Lt][jt]+";"}).join(Fe)+qe}).join(Fe),Dt=map$1(keys($e),function(Lt){return"@keyframes "+Lt+Ue+map$1(keys($e[Lt]),function(jt){return jt+Ue+map$1(keys($e[Lt][jt]),function(hn){var vn=$e[Lt][jt][hn];return hn==="d"&&(vn='path("'+vn+'")'),hn+":"+vn+";"}).join(Fe)+qe}).join(Fe)+qe}).join(Fe);return!At&&!Dt?"":[""].join(Fe)}function createBrushScope(xe){return{zrId:xe,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(xe,$e,Ie,Fe){return createVNode("svg","root",{width:xe,height:$e,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:Fe?"0 0 "+xe+" "+$e:!1},Ie)}var cssClassIdx=0;function getClassId(){return cssClassIdx++}var EASING_MAP={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},transformOriginKey="transform-origin";function buildPathString(xe,$e,Ie){var Fe=extend({},xe.shape);extend(Fe,$e),xe.buildPath(Ie,Fe);var Ue=new SVGPathRebuilder;return Ue.reset(getPathPrecision(xe)),Ie.rebuildPath(Ue,1),Ue.generateStr(),Ue.getStr()}function setTransformOrigin(xe,$e){var Ie=$e.originX,Fe=$e.originY;(Ie||Fe)&&(xe[transformOriginKey]=Ie+"px "+Fe+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(xe,$e){var Ie=$e.zrId+"-ani-"+$e.cssAnimIdx++;return $e.cssAnims[Ie]=xe,Ie}function createCompoundPathCSSAnimation(xe,$e,Ie){var Fe=xe.shape.paths,Ue={},qe,At;if(each$f(Fe,function(Lt){var jt=createBrushScope(Ie.zrId);jt.animation=!0,createCSSAnimation(Lt,{},jt,!0);var hn=jt.cssAnims,vn=jt.cssNodes,bn=keys(hn),_n=bn.length;if(_n){At=bn[_n-1];var wn=hn[At];for(var kn in wn){var Cn=wn[kn];Ue[kn]=Ue[kn]||{d:""},Ue[kn].d+=Cn.d||""}for(var Sn in vn){var xn=vn[Sn].animation;xn.indexOf(At)>=0&&(qe=xn)}}}),!!qe){$e.d=!1;var Dt=addAnimation(Ue,Ie);return qe.replace(At,Dt)}}function getEasingFunc(xe){return isString(xe)?EASING_MAP[xe]?"cubic-bezier("+EASING_MAP[xe]+")":createCubicEasingFunc(xe)?xe:"":""}function createCSSAnimation(xe,$e,Ie,Fe){var Ue=xe.animators,qe=Ue.length,At=[];if(xe instanceof CompoundPath$1){var Dt=createCompoundPathCSSAnimation(xe,$e,Ie);if(Dt)At.push(Dt);else if(!qe)return}else if(!qe)return;for(var Lt={},jt=0;jt0}).length){var Yn=addAnimation(Pn,Ie);return Yn+" "+xn[0]+" both"}}for(var Cn in Lt){var Dt=kn(Lt[Cn]);Dt&&At.push(Dt)}if(At.length){var Sn=Ie.zrId+"-cls-"+getClassId();Ie.cssNodes["."+Sn]={animation:At.join(",")},$e.class=Sn}}function createCSSEmphasis(xe,$e,Ie){if(!xe.ignore)if(xe.isSilent()){var Fe={"pointer-events":"none"};setClassAttribute(Fe,$e,Ie)}else{var Ue=xe.states.emphasis&&xe.states.emphasis.style?xe.states.emphasis.style:{},qe=Ue.fill;if(!qe){var At=xe.style&&xe.style.fill,Dt=xe.states.select&&xe.states.select.style&&xe.states.select.style.fill,Lt=xe.currentStates.indexOf("select")>=0&&Dt||At;Lt&&(qe=liftColor(Lt))}var jt=Ue.lineWidth;if(jt){var hn=!Ue.strokeNoScale&&xe.transform?xe.transform[0]:1;jt=jt/hn}var Fe={cursor:"pointer"};qe&&(Fe.fill=qe),Ue.stroke&&(Fe.stroke=Ue.stroke),jt&&(Fe["stroke-width"]=jt),setClassAttribute(Fe,$e,Ie)}}function setClassAttribute(xe,$e,Ie,Fe){var Ue=JSON.stringify(xe),qe=Ie.cssStyleCache[Ue];qe||(qe=Ie.zrId+"-cls-"+getClassId(),Ie.cssStyleCache[Ue]=qe,Ie.cssNodes["."+qe+":hover"]=xe),$e.class=$e.class?$e.class+" "+qe:qe}var round$1=Math.round;function isImageLike(xe){return xe&&isString(xe.src)}function isCanvasLike(xe){return xe&&isFunction(xe.toDataURL)}function setStyleAttrs(xe,$e,Ie,Fe){mapStyleToAttrs(function(Ue,qe){var At=Ue==="fill"||Ue==="stroke";At&&isGradient(qe)?setGradient($e,xe,Ue,Fe):At&&isPattern(qe)?setPattern(Ie,xe,Ue,Fe):At&&qe==="none"?xe[Ue]="transparent":xe[Ue]=qe},$e,Ie,!1),setShadow(Ie,xe,Fe)}function setMetaData(xe,$e){var Ie=getElementSSRData($e);Ie&&(Ie.each(function(Fe,Ue){Fe!=null&&(xe[(META_DATA_PREFIX+Ue).toLowerCase()]=Fe+"")}),$e.isSilent()&&(xe[META_DATA_PREFIX+"silent"]="true"))}function noRotateScale(xe){return isAroundZero(xe[0]-1)&&isAroundZero(xe[1])&&isAroundZero(xe[2])&&isAroundZero(xe[3]-1)}function noTranslate(xe){return isAroundZero(xe[4])&&isAroundZero(xe[5])}function setTransform(xe,$e,Ie){if($e&&!(noTranslate($e)&&noRotateScale($e))){var Fe=1e4;xe.transform=noRotateScale($e)?"translate("+round$1($e[4]*Fe)/Fe+" "+round$1($e[5]*Fe)/Fe+")":getMatrixStr($e)}}function convertPolyShape(xe,$e,Ie){for(var Fe=xe.points,Ue=[],qe=0;qe"u"){var Cn="Image width/height must been given explictly in svg-ssr renderer.";assert(bn,Cn),assert(_n,Cn)}else if(bn==null||_n==null){var Sn=function(In,On){if(In){var Rn=In.elm,Bn=bn||On.width,Vn=_n||On.height;In.tag==="pattern"&&(jt?(Vn=1,Bn/=qe.width):hn&&(Bn=1,Vn/=qe.height)),In.attrs.width=Bn,In.attrs.height=Vn,Rn&&(Rn.setAttribute("width",Bn),Rn.setAttribute("height",Vn))}},xn=createOrUpdateImage(wn,null,xe,function(In){Lt||Sn($n,In),Sn(vn,In)});xn&&xn.width&&xn.height&&(bn=bn||xn.width,_n=_n||xn.height)}vn=createVNode("image","img",{href:wn,width:bn,height:_n}),At.width=bn,At.height=_n}else Ue.svgElement&&(vn=clone$4(Ue.svgElement),At.width=Ue.svgWidth,At.height=Ue.svgHeight);if(vn){var En,Tn;Lt?En=Tn=1:jt?(Tn=1,En=At.width/qe.width):hn?(En=1,Tn=At.height/qe.height):At.patternUnits="userSpaceOnUse",En!=null&&!isNaN(En)&&(At.width=En),Tn!=null&&!isNaN(Tn)&&(At.height=Tn);var An=getSRTTransformString(Ue);An&&(At.patternTransform=An);var $n=createVNode("pattern","",At,[vn]),Pn=vNodeToString($n),Nn=Fe.patternCache,Mn=Nn[Pn];Mn||(Mn=Fe.zrId+"-p"+Fe.patternIdx++,Nn[Pn]=Mn,At.id=Mn,$n=Fe.defs[Mn]=createVNode("pattern",Mn,At,[vn])),$e[Ie]=getIdURL(Mn)}}function setClipPath(xe,$e,Ie){var Fe=Ie.clipPathCache,Ue=Ie.defs,qe=Fe[xe.id];if(!qe){qe=Ie.zrId+"-c"+Ie.clipPathIdx++;var At={id:qe};Fe[xe.id]=qe,Ue[qe]=createVNode("clipPath",qe,At,[brushSVGPath(xe,Ie)])}$e["clip-path"]=getIdURL(qe)}function createTextNode(xe){return document.createTextNode(xe)}function insertBefore(xe,$e,Ie){xe.insertBefore($e,Ie)}function removeChild(xe,$e){xe.removeChild($e)}function appendChild(xe,$e){xe.appendChild($e)}function parentNode(xe){return xe.parentNode}function nextSibling(xe){return xe.nextSibling}function setTextContent(xe,$e){xe.textContent=$e}var colonChar=58,xChar=120,emptyNode=createVNode("","");function isUndef(xe){return xe===void 0}function isDef(xe){return xe!==void 0}function createKeyToOldIdx(xe,$e,Ie){for(var Fe={},Ue=$e;Ue<=Ie;++Ue){var qe=xe[Ue].key;qe!==void 0&&(Fe[qe]=Ue)}return Fe}function sameVnode(xe,$e){var Ie=xe.key===$e.key,Fe=xe.tag===$e.tag;return Fe&&Ie}function createElm(xe){var $e,Ie=xe.children,Fe=xe.tag;if(isDef(Fe)){var Ue=xe.elm=createElement(Fe);if(updateAttrs(emptyNode,xe),isArray$1(Ie))for($e=0;$eqe?(wn=Ie[Lt+1]==null?null:Ie[Lt+1].elm,addVnodes(xe,wn,Ie,Ue,Lt)):removeVnodes(xe,$e,Fe,qe))}function patchVnode(xe,$e){var Ie=$e.elm=xe.elm,Fe=xe.children,Ue=$e.children;xe!==$e&&(updateAttrs(xe,$e),isUndef($e.text)?isDef(Fe)&&isDef(Ue)?Fe!==Ue&&updateChildren(Ie,Fe,Ue):isDef(Ue)?(isDef(xe.text)&&setTextContent(Ie,""),addVnodes(Ie,null,Ue,0,Ue.length-1)):isDef(Fe)?removeVnodes(Ie,Fe,0,Fe.length-1):isDef(xe.text)&&setTextContent(Ie,""):xe.text!==$e.text&&(isDef(Fe)&&removeVnodes(Ie,Fe,0,Fe.length-1),setTextContent(Ie,$e.text)))}function patch(xe,$e){if(sameVnode(xe,$e))patchVnode(xe,$e);else{var Ie=xe.elm,Fe=parentNode(Ie);createElm($e),Fe!==null&&(insertBefore(Fe,$e.elm,nextSibling(Ie)),removeVnodes(Fe,[xe],0,0))}return $e}var svgId=0,SVGPainter=function(){function xe($e,Ie,Fe){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=Ie,this._opts=Fe=extend({},Fe),this.root=$e,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(Fe.width,Fe.height),$e&&!Fe.ssr){var Ue=this._viewport=document.createElement("div");Ue.style.cssText="position:relative;overflow:hidden";var qe=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),Ue.appendChild(qe),$e.appendChild(Ue)}this.resize(Fe.width,Fe.height)}return xe.prototype.getType=function(){return this.type},xe.prototype.getViewportRoot=function(){return this._viewport},xe.prototype.getViewportRootOffset=function(){var $e=this.getViewportRoot();if($e)return{offsetLeft:$e.offsetLeft||0,offsetTop:$e.offsetTop||0}},xe.prototype.getSvgDom=function(){return this._svgDom},xe.prototype.refresh=function(){if(this.root){var $e=this.renderToVNode({willUpdate:!0});$e.attrs.style="position:absolute;left:0;top:0;user-select:none",patch(this._oldVNode,$e),this._oldVNode=$e}},xe.prototype.renderOneToVNode=function($e){return brush($e,createBrushScope(this._id))},xe.prototype.renderToVNode=function($e){$e=$e||{};var Ie=this.storage.getDisplayList(!0),Fe=this._width,Ue=this._height,qe=createBrushScope(this._id);qe.animation=$e.animation,qe.willUpdate=$e.willUpdate,qe.compress=$e.compress,qe.emphasis=$e.emphasis;var At=[],Dt=this._bgVNode=createBackgroundVNode(Fe,Ue,this._backgroundColor,qe);Dt&&At.push(Dt);var Lt=$e.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(Ie,qe,Lt?Lt.children:At),Lt&&At.push(Lt);var jt=map$1(keys(qe.defs),function(bn){return qe.defs[bn]});if(jt.length&&At.push(createVNode("defs","defs",{},jt)),$e.animation){var hn=getCssString(qe.cssNodes,qe.cssAnims,{newline:!0});if(hn){var vn=createVNode("style","stl",{},[],hn);At.push(vn)}}return createSVGVNode(Fe,Ue,At,$e.useViewBox)},xe.prototype.renderToString=function($e){return $e=$e||{},vNodeToString(this.renderToVNode({animation:retrieve2($e.cssAnimation,!0),emphasis:retrieve2($e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:retrieve2($e.useViewBox,!0)}),{newline:!0})},xe.prototype.setBackgroundColor=function($e){this._backgroundColor=$e},xe.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},xe.prototype._paintList=function($e,Ie,Fe){for(var Ue=$e.length,qe=[],At=0,Dt,Lt,jt=0,hn=0;hn=0&&!(bn&&Lt&&bn[kn]===Lt[kn]);kn--);for(var Cn=wn-1;Cn>kn;Cn--)At--,Dt=qe[At-1];for(var Sn=kn+1;Sn<_n;Sn++){var xn={};setClipPath(bn[Sn],xn,Ie);var En=createVNode("g","clip-g-"+jt++,xn,[]);(Dt?Dt.children:Fe).push(En),qe[At++]=En,Dt=En}Lt=bn;var Tn=brush(vn,Ie);Tn&&(Dt?Dt.children:Fe).push(Tn)}}},xe.prototype.resize=function($e,Ie){var Fe=this._opts,Ue=this.root,qe=this._viewport;if($e!=null&&(Fe.width=$e),Ie!=null&&(Fe.height=Ie),Ue&&qe&&(qe.style.display="none",$e=getSize$1(Ue,0,Fe),Ie=getSize$1(Ue,1,Fe),qe.style.display=""),this._width!==$e||this._height!==Ie){if(this._width=$e,this._height=Ie,qe){var At=qe.style;At.width=$e+"px",At.height=Ie+"px"}if(isPattern(this._backgroundColor))this.refresh();else{var Dt=this._svgDom;Dt&&(Dt.setAttribute("width",$e),Dt.setAttribute("height",Ie));var Lt=this._bgVNode&&this._bgVNode.elm;Lt&&(Lt.setAttribute("width",$e),Lt.setAttribute("height",Ie))}}},xe.prototype.getWidth=function(){return this._width},xe.prototype.getHeight=function(){return this._height},xe.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},xe.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},xe.prototype.toDataURL=function($e){var Ie=this.renderToString(),Fe="data:image/svg+xml;";return $e?(Ie=encodeBase64(Ie),Ie&&Fe+"base64,"+Ie):Fe+"charset=UTF-8,"+encodeURIComponent(Ie)},xe}();function createMethodNotSupport(xe){return function(){}}function createBackgroundVNode(xe,$e,Ie,Fe){var Ue;if(Ie&&Ie!=="none")if(Ue=createVNode("rect","bg",{width:xe,height:$e,x:"0",y:"0"}),isGradient(Ie))setGradient({fill:Ie},Ue.attrs,"fill",Fe);else if(isPattern(Ie))setPattern({style:{fill:Ie},dirty:noop,getBoundingRect:function(){return{width:xe,height:$e}}},Ue.attrs,"fill",Fe);else{var qe=normalizeColor(Ie),At=qe.color,Dt=qe.opacity;Ue.attrs.fill=At,Dt<1&&(Ue.attrs["fill-opacity"]=Dt)}return Ue}function install$T(xe){xe.registerPainter("svg",SVGPainter)}function createDom(xe,$e,Ie){var Fe=platformApi.createCanvas(),Ue=$e.getWidth(),qe=$e.getHeight(),At=Fe.style;return At&&(At.position="absolute",At.left="0",At.top="0",At.width=Ue+"px",At.height=qe+"px",Fe.setAttribute("data-zr-dom-id",xe)),Fe.width=Ue*Ie,Fe.height=qe*Ie,Fe}var Layer=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this)||this;qe.motionBlur=!1,qe.lastFrameAlpha=.7,qe.dpr=1,qe.virtual=!1,qe.config={},qe.incremental=!1,qe.zlevel=0,qe.maxRepaintRectCount=5,qe.__dirty=!0,qe.__firstTimePaint=!0,qe.__used=!1,qe.__drawIndex=0,qe.__startIndex=0,qe.__endIndex=0,qe.__prevStartIndex=null,qe.__prevEndIndex=null;var At;Ue=Ue||devicePixelRatio,typeof Ie=="string"?At=createDom(Ie,Fe,Ue):isObject$3(Ie)&&(At=Ie,Ie=At.id),qe.id=Ie,qe.dom=At;var Dt=At.style;return Dt&&(disableUserSelect(At),At.onselectstart=function(){return!1},Dt.padding="0",Dt.margin="0",Dt.borderWidth="0"),qe.painter=Fe,qe.dpr=Ue,qe}return $e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},$e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},$e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},$e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},$e.prototype.createBackBuffer=function(){var Ie=this.dpr;this.domBack=createDom("back-"+this.id,this.painter,Ie),this.ctxBack=this.domBack.getContext("2d"),Ie!==1&&this.ctxBack.scale(Ie,Ie)},$e.prototype.createRepaintRects=function(Ie,Fe,Ue,qe){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var At=[],Dt=this.maxRepaintRectCount,Lt=!1,jt=new BoundingRect(0,0,0,0);function hn(xn){if(!(!xn.isFinite()||xn.isZero()))if(At.length===0){var En=new BoundingRect(0,0,0,0);En.copy(xn),At.push(En)}else{for(var Tn=!1,An=1/0,$n=0,Pn=0;Pn=Dt)}}for(var vn=this.__startIndex;vn15)break}}Vn.prevElClipPaths&&Sn.restore()};if(xn)if(xn.length===0)Nn=Cn.__endIndex;else for(var In=_n.dpr,On=0;On0&&$e>Ue[0]){for(Lt=0;Lt$e);Lt++);Dt=Fe[Ue[Lt]]}if(Ue.splice(Lt+1,0,$e),Fe[$e]=Ie,!Ie.virtual)if(Dt){var jt=Dt.dom;jt.nextSibling?At.insertBefore(Ie.dom,jt.nextSibling):At.appendChild(Ie.dom)}else At.firstChild?At.insertBefore(Ie.dom,At.firstChild):At.appendChild(Ie.dom);Ie.painter||(Ie.painter=this)}},xe.prototype.eachLayer=function($e,Ie){for(var Fe=this._zlevelList,Ue=0;Ue0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),hn.__builtin__||logError("ZLevel "+jt+" has been used by unkown layer "+hn.id),hn!==qe&&(hn.__used=!0,hn.__startIndex!==Lt&&(hn.__dirty=!0),hn.__startIndex=Lt,hn.incremental?hn.__drawIndex=-1:hn.__drawIndex=Lt,Ie(Lt),qe=hn),Ue.__dirty&REDRAW_BIT&&!Ue.__inHover&&(hn.__dirty=!0,hn.incremental&&hn.__drawIndex<0&&(hn.__drawIndex=Lt))}Ie(Lt),this.eachBuiltinLayer(function(vn,bn){!vn.__used&&vn.getElementCount()>0&&(vn.__dirty=!0,vn.__startIndex=vn.__endIndex=vn.__drawIndex=0),vn.__dirty&&vn.__drawIndex<0&&(vn.__drawIndex=vn.__startIndex)})},xe.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},xe.prototype._clearLayer=function($e){$e.clear()},xe.prototype.setBackgroundColor=function($e){this._backgroundColor=$e,each$f(this._layers,function(Ie){Ie.setUnpainted()})},xe.prototype.configLayer=function($e,Ie){if(Ie){var Fe=this._layerConfig;Fe[$e]?merge(Fe[$e],Ie,!0):Fe[$e]=Ie;for(var Ue=0;Ue-1&&(jt.style.stroke=jt.style.fill,jt.style.fill="#fff",jt.style.lineWidth=2),Fe},$e.type="series.line",$e.dependencies=["grid","polar"],$e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},$e}(SeriesModel);function getDefaultLabel(xe,$e){var Ie=xe.mapDimensionsAll("defaultedLabel"),Fe=Ie.length;if(Fe===1){var Ue=retrieveRawValue(xe,$e,Ie[0]);return Ue!=null?Ue+"":null}else if(Fe){for(var qe=[],At=0;At=0&&Fe.push($e[qe])}return Fe.join(" ")}var Symbol$1=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this)||this;return At.updateData(Ie,Fe,Ue,qe),At}return $e.prototype._createSymbol=function(Ie,Fe,Ue,qe,At){this.removeAll();var Dt=createSymbol$1(Ie,-1,-1,2,2,null,At);Dt.attr({z2:100,culling:!0,scaleX:qe[0]/2,scaleY:qe[1]/2}),Dt.drift=driftSymbol,this._symbolType=Ie,this.add(Dt)},$e.prototype.stopSymbolAnimation=function(Ie){this.childAt(0).stopAnimation(null,Ie)},$e.prototype.getSymbolType=function(){return this._symbolType},$e.prototype.getSymbolPath=function(){return this.childAt(0)},$e.prototype.highlight=function(){enterEmphasis(this.childAt(0))},$e.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},$e.prototype.setZ=function(Ie,Fe){var Ue=this.childAt(0);Ue.zlevel=Ie,Ue.z=Fe},$e.prototype.setDraggable=function(Ie,Fe){var Ue=this.childAt(0);Ue.draggable=Ie,Ue.cursor=!Fe&&Ie?"move":Ue.cursor},$e.prototype.updateData=function(Ie,Fe,Ue,qe){this.silent=!1;var At=Ie.getItemVisual(Fe,"symbol")||"circle",Dt=Ie.hostModel,Lt=$e.getSymbolSize(Ie,Fe),jt=At!==this._symbolType,hn=qe&&qe.disableAnimation;if(jt){var vn=Ie.getItemVisual(Fe,"symbolKeepAspect");this._createSymbol(At,Ie,Fe,Lt,vn)}else{var bn=this.childAt(0);bn.silent=!1;var _n={scaleX:Lt[0]/2,scaleY:Lt[1]/2};hn?bn.attr(_n):updateProps$1(bn,_n,Dt,Fe),saveOldStyle(bn)}if(this._updateCommon(Ie,Fe,Lt,Ue,qe),jt){var bn=this.childAt(0);if(!hn){var _n={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:bn.style.opacity}};bn.scaleX=bn.scaleY=0,bn.style.opacity=0,initProps(bn,_n,Dt,Fe)}}hn&&this.childAt(0).stopAnimation("leave")},$e.prototype._updateCommon=function(Ie,Fe,Ue,qe,At){var Dt=this.childAt(0),Lt=Ie.hostModel,jt,hn,vn,bn,_n,wn,kn,Cn,Sn;if(qe&&(jt=qe.emphasisItemStyle,hn=qe.blurItemStyle,vn=qe.selectItemStyle,bn=qe.focus,_n=qe.blurScope,kn=qe.labelStatesModels,Cn=qe.hoverScale,Sn=qe.cursorStyle,wn=qe.emphasisDisabled),!qe||Ie.hasItemOption){var xn=qe&&qe.itemModel?qe.itemModel:Ie.getItemModel(Fe),En=xn.getModel("emphasis");jt=En.getModel("itemStyle").getItemStyle(),vn=xn.getModel(["select","itemStyle"]).getItemStyle(),hn=xn.getModel(["blur","itemStyle"]).getItemStyle(),bn=En.get("focus"),_n=En.get("blurScope"),wn=En.get("disabled"),kn=getLabelStatesModels(xn),Cn=En.getShallow("scale"),Sn=xn.getShallow("cursor")}var Tn=Ie.getItemVisual(Fe,"symbolRotate");Dt.attr("rotation",(Tn||0)*Math.PI/180||0);var An=normalizeSymbolOffset(Ie.getItemVisual(Fe,"symbolOffset"),Ue);An&&(Dt.x=An[0],Dt.y=An[1]),Sn&&Dt.attr("cursor",Sn);var $n=Ie.getItemVisual(Fe,"style"),Pn=$n.fill;if(Dt instanceof ZRImage){var Nn=Dt.style;Dt.useStyle(extend({image:Nn.image,x:Nn.x,y:Nn.y,width:Nn.width,height:Nn.height},$n))}else Dt.__isEmptyBrush?Dt.useStyle(extend({},$n)):Dt.useStyle($n),Dt.style.decal=null,Dt.setColor(Pn,At&&At.symbolInnerColor),Dt.style.strokeNoScale=!0;var Mn=Ie.getItemVisual(Fe,"liftZ"),In=this._z2;Mn!=null?In==null&&(this._z2=Dt.z2,Dt.z2+=Mn):In!=null&&(Dt.z2=In,this._z2=null);var On=At&&At.useNameLabel;setLabelStyle(Dt,kn,{labelFetcher:Lt,labelDataIndex:Fe,defaultText:Rn,inheritColor:Pn,defaultOpacity:$n.opacity});function Rn(Ln){return On?Ie.getName(Ln):getDefaultLabel(Ie,Ln)}this._sizeX=Ue[0]/2,this._sizeY=Ue[1]/2;var Bn=Dt.ensureState("emphasis");Bn.style=jt,Dt.ensureState("select").style=vn,Dt.ensureState("blur").style=hn;var Vn=Cn==null||Cn===!0?Math.max(1.1,3/this._sizeY):isFinite(Cn)&&Cn>0?+Cn:1;Bn.scaleX=this._sizeX*Vn,Bn.scaleY=this._sizeY*Vn,this.setSymbolScale(1),toggleHoverEmphasis(this,bn,_n,wn)},$e.prototype.setSymbolScale=function(Ie){this.scaleX=this.scaleY=Ie},$e.prototype.fadeOut=function(Ie,Fe,Ue){var qe=this.childAt(0),At=getECData(this).dataIndex,Dt=Ue&&Ue.animation;if(this.silent=qe.silent=!0,Ue&&Ue.fadeLabel){var Lt=qe.getTextContent();Lt&&removeElement(Lt,{style:{opacity:0}},Fe,{dataIndex:At,removeOpt:Dt,cb:function(){qe.removeTextContent()}})}else qe.removeTextContent();removeElement(qe,{style:{opacity:0},scaleX:0,scaleY:0},Fe,{dataIndex:At,cb:Ie,removeOpt:Dt})},$e.getSymbolSize=function(Ie,Fe){return normalizeSymbolSize(Ie.getItemVisual(Fe,"symbolSize"))},$e}(Group$3);function driftSymbol(xe,$e){this.parent.drift(xe,$e)}function symbolNeedsDraw$1(xe,$e,Ie,Fe){return $e&&!isNaN($e[0])&&!isNaN($e[1])&&!(Fe.isIgnore&&Fe.isIgnore(Ie))&&!(Fe.clipShape&&!Fe.clipShape.contain($e[0],$e[1]))&&xe.getItemVisual(Ie,"symbol")!=="none"}function normalizeUpdateOpt(xe){return xe!=null&&!isObject$3(xe)&&(xe={isIgnore:xe}),xe||{}}function makeSeriesScope$2(xe){var $e=xe.hostModel,Ie=$e.getModel("emphasis");return{emphasisItemStyle:Ie.getModel("itemStyle").getItemStyle(),blurItemStyle:$e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:$e.getModel(["select","itemStyle"]).getItemStyle(),focus:Ie.get("focus"),blurScope:Ie.get("blurScope"),emphasisDisabled:Ie.get("disabled"),hoverScale:Ie.get("scale"),labelStatesModels:getLabelStatesModels($e),cursorStyle:$e.get("cursor")}}var SymbolDraw=function(){function xe($e){this.group=new Group$3,this._SymbolCtor=$e||Symbol$1}return xe.prototype.updateData=function($e,Ie){this._progressiveEls=null,Ie=normalizeUpdateOpt(Ie);var Fe=this.group,Ue=$e.hostModel,qe=this._data,At=this._SymbolCtor,Dt=Ie.disableAnimation,Lt=makeSeriesScope$2($e),jt={disableAnimation:Dt},hn=Ie.getSymbolPoint||function(vn){return $e.getItemLayout(vn)};qe||Fe.removeAll(),$e.diff(qe).add(function(vn){var bn=hn(vn);if(symbolNeedsDraw$1($e,bn,vn,Ie)){var _n=new At($e,vn,Lt,jt);_n.setPosition(bn),$e.setItemGraphicEl(vn,_n),Fe.add(_n)}}).update(function(vn,bn){var _n=qe.getItemGraphicEl(bn),wn=hn(vn);if(!symbolNeedsDraw$1($e,wn,vn,Ie)){Fe.remove(_n);return}var kn=$e.getItemVisual(vn,"symbol")||"circle",Cn=_n&&_n.getSymbolType&&_n.getSymbolType();if(!_n||Cn&&Cn!==kn)Fe.remove(_n),_n=new At($e,vn,Lt,jt),_n.setPosition(wn);else{_n.updateData($e,vn,Lt,jt);var Sn={x:wn[0],y:wn[1]};Dt?_n.attr(Sn):updateProps$1(_n,Sn,Ue)}Fe.add(_n),$e.setItemGraphicEl(vn,_n)}).remove(function(vn){var bn=qe.getItemGraphicEl(vn);bn&&bn.fadeOut(function(){Fe.remove(bn)},Ue)}).execute(),this._getSymbolPoint=hn,this._data=$e},xe.prototype.updateLayout=function(){var $e=this,Ie=this._data;Ie&&Ie.eachItemGraphicEl(function(Fe,Ue){var qe=$e._getSymbolPoint(Ue);Fe.setPosition(qe),Fe.markRedraw()})},xe.prototype.incrementalPrepareUpdate=function($e){this._seriesScope=makeSeriesScope$2($e),this._data=null,this.group.removeAll()},xe.prototype.incrementalUpdate=function($e,Ie,Fe){this._progressiveEls=[],Fe=normalizeUpdateOpt(Fe);function Ue(Lt){Lt.isGroup||(Lt.incremental=!0,Lt.ensureState("emphasis").hoverLayer=!0)}for(var qe=$e.start;qe<$e.end;qe++){var At=Ie.getItemLayout(qe);if(symbolNeedsDraw$1(Ie,At,qe,Fe)){var Dt=new this._SymbolCtor(Ie,qe,this._seriesScope);Dt.traverse(Ue),Dt.setPosition(At),this.group.add(Dt),Ie.setItemGraphicEl(qe,Dt),this._progressiveEls.push(Dt)}}},xe.prototype.eachRendered=function($e){traverseElements(this._progressiveEls||this.group,$e)},xe.prototype.remove=function($e){var Ie=this.group,Fe=this._data;Fe&&$e?Fe.eachItemGraphicEl(function(Ue){Ue.fadeOut(function(){Ie.remove(Ue)},Fe.hostModel)}):Ie.removeAll()},xe}();function prepareDataCoordInfo(xe,$e,Ie){var Fe=xe.getBaseAxis(),Ue=xe.getOtherAxis(Fe),qe=getValueStart(Ue,Ie),At=Fe.dim,Dt=Ue.dim,Lt=$e.mapDimension(Dt),jt=$e.mapDimension(At),hn=Dt==="x"||Dt==="radius"?1:0,vn=map$1(xe.dimensions,function(wn){return $e.mapDimension(wn)}),bn=!1,_n=$e.getCalculationInfo("stackResultDimension");return isDimensionStacked($e,vn[0])&&(bn=!0,vn[0]=_n),isDimensionStacked($e,vn[1])&&(bn=!0,vn[1]=_n),{dataDimsForPoint:vn,valueStart:qe,valueAxisDim:Dt,baseAxisDim:At,stacked:!!bn,valueDim:Lt,baseDim:jt,baseDataOffset:hn,stackedOverDimension:$e.getCalculationInfo("stackedOverDimension")}}function getValueStart(xe,$e){var Ie=0,Fe=xe.scale.getExtent();return $e==="start"?Ie=Fe[0]:$e==="end"?Ie=Fe[1]:isNumber($e)&&!isNaN($e)?Ie=$e:Fe[0]>0?Ie=Fe[0]:Fe[1]<0&&(Ie=Fe[1]),Ie}function getStackedOnPoint(xe,$e,Ie,Fe){var Ue=NaN;xe.stacked&&(Ue=Ie.get(Ie.getCalculationInfo("stackedOverDimension"),Fe)),isNaN(Ue)&&(Ue=xe.valueStart);var qe=xe.baseDataOffset,At=[];return At[qe]=Ie.get(xe.baseDim,Fe),At[1-qe]=Ue,$e.dataToPoint(At)}function diffData(xe,$e){var Ie=[];return $e.diff(xe).add(function(Fe){Ie.push({cmd:"+",idx:Fe})}).update(function(Fe,Ue){Ie.push({cmd:"=",idx:Ue,idx1:Fe})}).remove(function(Fe){Ie.push({cmd:"-",idx:Fe})}).execute(),Ie}function lineAnimationDiff(xe,$e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=diffData(xe,$e),jt=[],hn=[],vn=[],bn=[],_n=[],wn=[],kn=[],Cn=prepareDataCoordInfo(Ue,$e,At),Sn=xe.getLayout("points")||[],xn=$e.getLayout("points")||[],En=0;En=Ue||kn<0)break;if(isPointNull$1(Sn,xn)){if(Lt){kn+=qe;continue}break}if(kn===Ie)xe[qe>0?"moveTo":"lineTo"](Sn,xn),vn=Sn,bn=xn;else{var En=Sn-jt,Tn=xn-hn;if(En*En+Tn*Tn<.5){kn+=qe;continue}if(At>0){for(var An=kn+qe,$n=$e[An*2],Pn=$e[An*2+1];$n===Sn&&Pn===xn&&Cn=Fe||isPointNull$1($n,Pn))_n=Sn,wn=xn;else{In=$n-jt,On=Pn-hn;var Vn=Sn-jt,Ln=$n-Sn,Dn=xn-hn,Hn=Pn-xn,Fn=void 0,zn=void 0;if(Dt==="x"){Fn=Math.abs(Vn),zn=Math.abs(Ln);var jn=In>0?1:-1;_n=Sn-jn*Fn*At,wn=xn,Rn=Sn+jn*zn*At,Bn=xn}else if(Dt==="y"){Fn=Math.abs(Dn),zn=Math.abs(Hn);var Gn=On>0?1:-1;_n=Sn,wn=xn-Gn*Fn*At,Rn=Sn,Bn=xn+Gn*zn*At}else Fn=Math.sqrt(Vn*Vn+Dn*Dn),zn=Math.sqrt(Ln*Ln+Hn*Hn),Mn=zn/(zn+Fn),_n=Sn-In*At*(1-Mn),wn=xn-On*At*(1-Mn),Rn=Sn+In*At*Mn,Bn=xn+On*At*Mn,Rn=mathMin$5(Rn,mathMax$5($n,Sn)),Bn=mathMin$5(Bn,mathMax$5(Pn,xn)),Rn=mathMax$5(Rn,mathMin$5($n,Sn)),Bn=mathMax$5(Bn,mathMin$5(Pn,xn)),In=Rn-Sn,On=Bn-xn,_n=Sn-In*Fn/zn,wn=xn-On*Fn/zn,_n=mathMin$5(_n,mathMax$5(jt,Sn)),wn=mathMin$5(wn,mathMax$5(hn,xn)),_n=mathMax$5(_n,mathMin$5(jt,Sn)),wn=mathMax$5(wn,mathMin$5(hn,xn)),In=Sn-_n,On=xn-wn,Rn=Sn+In*zn/Fn,Bn=xn+On*zn/Fn}xe.bezierCurveTo(vn,bn,_n,wn,Sn,xn),vn=Rn,bn=Bn}else xe.lineTo(Sn,xn)}jt=Sn,hn=xn,kn+=qe}return Cn}var ECPolylineShape=function(){function xe(){this.smooth=0,this.smoothConstraint=!0}return xe}(),ECPolyline=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-polyline",Fe}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new ECPolylineShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=0,At=Ue.length/2;if(Fe.connectNulls){for(;At>0&&isPointNull$1(Ue[At*2-2],Ue[At*2-1]);At--);for(;qe=0){var Tn=jt?(wn-Lt)*En+Lt:(_n-Dt)*En+Dt;return jt?[Ie,Tn]:[Tn,Ie]}Dt=_n,Lt=wn;break;case At.C:_n=qe[vn++],wn=qe[vn++],kn=qe[vn++],Cn=qe[vn++],Sn=qe[vn++],xn=qe[vn++];var An=jt?cubicRootAt(Dt,_n,kn,Sn,Ie,hn):cubicRootAt(Lt,wn,Cn,xn,Ie,hn);if(An>0)for(var $n=0;$n=0){var Tn=jt?cubicAt(Lt,wn,Cn,xn,Pn):cubicAt(Dt,_n,kn,Sn,Pn);return jt?[Ie,Tn]:[Tn,Ie]}}Dt=Sn,Lt=xn;break}}},$e}(Path),ECPolygonShape=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e}(ECPolylineShape),ECPolygon=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-polygon",Fe}return $e.prototype.getDefaultShape=function(){return new ECPolygonShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=Fe.stackedOnPoints,At=0,Dt=Ue.length/2,Lt=Fe.smoothMonotone;if(Fe.connectNulls){for(;Dt>0&&isPointNull$1(Ue[Dt*2-2],Ue[Dt*2-1]);Dt--);for(;At$e){qe?Ie.push(At(qe,Lt,$e)):Ue&&Ie.push(At(Ue,Lt,0),At(Ue,Lt,$e));break}else Ue&&(Ie.push(At(Ue,Lt,0)),Ue=null),Ie.push(Lt),qe=Lt}return Ie}function getVisualGradient(xe,$e,Ie){var Fe=xe.getVisual("visualMeta");if(!(!Fe||!Fe.length||!xe.count())&&$e.type==="cartesian2d"){for(var Ue,qe,At=Fe.length-1;At>=0;At--){var Dt=xe.getDimensionInfo(Fe[At].dimension);if(Ue=Dt&&Dt.coordDim,Ue==="x"||Ue==="y"){qe=Fe[At];break}}if(qe){var Lt=$e.getAxis(Ue),jt=map$1(qe.stops,function(En){return{coord:Lt.toGlobalCoord(Lt.dataToCoord(En.value)),color:En.color}}),hn=jt.length,vn=qe.outerColors.slice();hn&&jt[0].coord>jt[hn-1].coord&&(jt.reverse(),vn.reverse());var bn=clipColorStops(jt,Ue==="x"?Ie.getWidth():Ie.getHeight()),_n=bn.length;if(!_n&&hn)return jt[0].coord<0?vn[1]?vn[1]:jt[hn-1].color:vn[0]?vn[0]:jt[0].color;var wn=10,kn=bn[0].coord-wn,Cn=bn[_n-1].coord+wn,Sn=Cn-kn;if(Sn<.001)return"transparent";each$f(bn,function(En){En.offset=(En.coord-kn)/Sn}),bn.push({offset:_n?bn[_n-1].offset:.5,color:vn[1]||"transparent"}),bn.unshift({offset:_n?bn[0].offset:.5,color:vn[0]||"transparent"});var xn=new LinearGradient(0,0,0,0,bn,!0);return xn[Ue]=kn,xn[Ue+"2"]=Cn,xn}}}function getIsIgnoreFunc(xe,$e,Ie){var Fe=xe.get("showAllSymbol"),Ue=Fe==="auto";if(!(Fe&&!Ue)){var qe=Ie.getAxesByScale("ordinal")[0];if(qe&&!(Ue&&canShowAllSymbolForCategory(qe,$e))){var At=$e.mapDimension(qe.dim),Dt={};return each$f(qe.getViewLabels(),function(Lt){var jt=qe.scale.getRawOrdinalNumber(Lt.tickValue);Dt[jt]=1}),function(Lt){return!Dt.hasOwnProperty($e.get(At,Lt))}}}}function canShowAllSymbolForCategory(xe,$e){var Ie=xe.getExtent(),Fe=Math.abs(Ie[1]-Ie[0])/xe.scale.count();isNaN(Fe)&&(Fe=0);for(var Ue=$e.count(),qe=Math.max(1,Math.round(Ue/5)),At=0;AtFe)return!1;return!0}function isPointNull(xe,$e){return isNaN(xe)||isNaN($e)}function getLastIndexNotNull(xe){for(var $e=xe.length/2;$e>0&&isPointNull(xe[$e*2-2],xe[$e*2-1]);$e--);return $e-1}function getPointAtIndex(xe,$e){return[xe[$e*2],xe[$e*2+1]]}function getIndexRange(xe,$e,Ie){for(var Fe=xe.length/2,Ue=Ie==="x"?0:1,qe,At,Dt=0,Lt=-1,jt=0;jt=$e||qe>=$e&&At<=$e){Lt=jt;break}Dt=jt,qe=At}return{range:[Dt,Lt],t:($e-qe)/(At-qe)}}function anyStateShowEndLabel(xe){if(xe.get(["endLabel","show"]))return!0;for(var $e=0;$e0&&Ie.get(["emphasis","lineStyle","width"])==="bolder"){var jn=kn.getState("emphasis").style;jn.lineWidth=+kn.style.lineWidth+1}getECData(kn).seriesIndex=Ie.seriesIndex,toggleHoverEmphasis(kn,Hn,Fn,zn);var Gn=getSmooth(Ie.get("smooth")),Wn=Ie.get("smoothMonotone");if(kn.setShape({smooth:Gn,smoothMonotone:Wn,connectNulls:Nn}),Cn){var Xn=Lt.getCalculationInfo("stackedOnSeries"),er=0;Cn.useStyle(defaults(hn.getAreaStyle(),{fill:Bn,opacity:.7,lineJoin:"bevel",decal:Lt.getVisual("style").decal})),Xn&&(er=getSmooth(Xn.get("smooth"))),Cn.setShape({smooth:Gn,stackedOnSmooth:er,smoothMonotone:Wn,connectNulls:Nn}),setStatesStylesFromModel(Cn,Ie,"areaStyle"),getECData(Cn).seriesIndex=Ie.seriesIndex,toggleHoverEmphasis(Cn,Hn,Fn,zn)}var rr=function(Jn){qe._changePolyState(Jn)};Lt.eachItemGraphicEl(function(Jn){Jn&&(Jn.onHoverStateChange=rr)}),this._polyline.onHoverStateChange=rr,this._data=Lt,this._coordSys=At,this._stackedOnPoints=$n,this._points=vn,this._step=On,this._valueOrigin=Tn,Ie.get("triggerLineEvent")&&(this.packEventData(Ie,kn),Cn&&this.packEventData(Ie,Cn))},$e.prototype.packEventData=function(Ie,Fe){getECData(Fe).eventData={componentType:"series",componentSubType:"line",componentIndex:Ie.componentIndex,seriesIndex:Ie.seriesIndex,seriesName:Ie.name,seriesType:"line"}},$e.prototype.highlight=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=queryDataIndex(At,qe);if(this._changePolyState("emphasis"),!(Dt instanceof Array)&&Dt!=null&&Dt>=0){var Lt=At.getLayout("points"),jt=At.getItemGraphicEl(Dt);if(!jt){var hn=Lt[Dt*2],vn=Lt[Dt*2+1];if(isNaN(hn)||isNaN(vn)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(hn,vn))return;var bn=Ie.get("zlevel")||0,_n=Ie.get("z")||0;jt=new Symbol$1(At,Dt),jt.x=hn,jt.y=vn,jt.setZ(bn,_n);var wn=jt.getSymbolPath().getTextContent();wn&&(wn.zlevel=bn,wn.z=_n,wn.z2=this._polyline.z2+1),jt.__temp=!0,At.setItemGraphicEl(Dt,jt),jt.stopSymbolAnimation(!0),this.group.add(jt)}jt.highlight()}else ChartView.prototype.highlight.call(this,Ie,Fe,Ue,qe)},$e.prototype.downplay=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=queryDataIndex(At,qe);if(this._changePolyState("normal"),Dt!=null&&Dt>=0){var Lt=At.getItemGraphicEl(Dt);Lt&&(Lt.__temp?(At.setItemGraphicEl(Dt,null),this.group.remove(Lt)):Lt.downplay())}else ChartView.prototype.downplay.call(this,Ie,Fe,Ue,qe)},$e.prototype._changePolyState=function(Ie){var Fe=this._polygon;setStatesFlag(this._polyline,Ie),Fe&&setStatesFlag(Fe,Ie)},$e.prototype._newPolyline=function(Ie){var Fe=this._polyline;return Fe&&this._lineGroup.remove(Fe),Fe=new ECPolyline({shape:{points:Ie},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(Fe),this._polyline=Fe,Fe},$e.prototype._newPolygon=function(Ie,Fe){var Ue=this._polygon;return Ue&&this._lineGroup.remove(Ue),Ue=new ECPolygon({shape:{points:Ie,stackedOnPoints:Fe},segmentIgnoreThreshold:2}),this._lineGroup.add(Ue),this._polygon=Ue,Ue},$e.prototype._initSymbolLabelAnimation=function(Ie,Fe,Ue){var qe,At,Dt=Fe.getBaseAxis(),Lt=Dt.inverse;Fe.type==="cartesian2d"?(qe=Dt.isHorizontal(),At=!1):Fe.type==="polar"&&(qe=Dt.dim==="angle",At=!0);var jt=Ie.hostModel,hn=jt.get("animationDuration");isFunction(hn)&&(hn=hn(null));var vn=jt.get("animationDelay")||0,bn=isFunction(vn)?vn(null):vn;Ie.eachItemGraphicEl(function(_n,wn){var kn=_n;if(kn){var Cn=[_n.x,_n.y],Sn=void 0,xn=void 0,En=void 0;if(Ue)if(At){var Tn=Ue,An=Fe.pointToCoord(Cn);qe?(Sn=Tn.startAngle,xn=Tn.endAngle,En=-An[1]/180*Math.PI):(Sn=Tn.r0,xn=Tn.r,En=An[0])}else{var $n=Ue;qe?(Sn=$n.x,xn=$n.x+$n.width,En=_n.x):(Sn=$n.y+$n.height,xn=$n.y,En=_n.y)}var Pn=xn===Sn?0:(En-Sn)/(xn-Sn);Lt&&(Pn=1-Pn);var Nn=isFunction(vn)?vn(wn):hn*Pn+bn,Mn=kn.getSymbolPath(),In=Mn.getTextContent();kn.attr({scaleX:0,scaleY:0}),kn.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:Nn}),In&&In.animateFrom({style:{opacity:0}},{duration:300,delay:Nn}),Mn.disableLabelAnimation=!0}})},$e.prototype._initOrUpdateEndLabel=function(Ie,Fe,Ue){var qe=Ie.getModel("endLabel");if(anyStateShowEndLabel(Ie)){var At=Ie.getData(),Dt=this._polyline,Lt=At.getLayout("points");if(!Lt){Dt.removeTextContent(),this._endLabel=null;return}var jt=this._endLabel;jt||(jt=this._endLabel=new ZRText({z2:200}),jt.ignoreClip=!0,Dt.setTextContent(this._endLabel),Dt.disableLabelAnimation=!0);var hn=getLastIndexNotNull(Lt);hn>=0&&(setLabelStyle(Dt,getLabelStatesModels(Ie,"endLabel"),{inheritColor:Ue,labelFetcher:Ie,labelDataIndex:hn,defaultText:function(vn,bn,_n){return _n!=null?getDefaultInterpolatedLabel(At,_n):getDefaultLabel(At,vn)},enableTextSetter:!0},getEndLabelStateSpecified(qe,Fe)),Dt.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},$e.prototype._endLabelOnDuring=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._endLabel,hn=this._polyline;if(jt){Ie<1&&qe.originalX==null&&(qe.originalX=jt.x,qe.originalY=jt.y);var vn=Ue.getLayout("points"),bn=Ue.hostModel,_n=bn.get("connectNulls"),wn=Dt.get("precision"),kn=Dt.get("distance")||0,Cn=Lt.getBaseAxis(),Sn=Cn.isHorizontal(),xn=Cn.inverse,En=Fe.shape,Tn=xn?Sn?En.x:En.y+En.height:Sn?En.x+En.width:En.y,An=(Sn?kn:0)*(xn?-1:1),$n=(Sn?0:-kn)*(xn?-1:1),Pn=Sn?"x":"y",Nn=getIndexRange(vn,Tn,Pn),Mn=Nn.range,In=Mn[1]-Mn[0],On=void 0;if(In>=1){if(In>1&&!_n){var Rn=getPointAtIndex(vn,Mn[0]);jt.attr({x:Rn[0]+An,y:Rn[1]+$n}),At&&(On=bn.getRawValue(Mn[0]))}else{var Rn=hn.getPointOn(Tn,Pn);Rn&&jt.attr({x:Rn[0]+An,y:Rn[1]+$n});var Bn=bn.getRawValue(Mn[0]),Vn=bn.getRawValue(Mn[1]);At&&(On=interpolateRawValues(Ue,wn,Bn,Vn,Nn.t))}qe.lastFrameIndex=Mn[0]}else{var Ln=Ie===1||qe.lastFrameIndex>0?Mn[0]:0,Rn=getPointAtIndex(vn,Ln);At&&(On=bn.getRawValue(Ln)),jt.attr({x:Rn[0]+An,y:Rn[1]+$n})}if(At){var Dn=labelInner(jt);typeof Dn.setLabelText=="function"&&Dn.setLabelText(On)}}},$e.prototype._doUpdateAnimation=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._polyline,hn=this._polygon,vn=Ie.hostModel,bn=lineAnimationDiff(this._data,Ie,this._stackedOnPoints,Fe,this._coordSys,Ue,this._valueOrigin),_n=bn.current,wn=bn.stackedOnCurrent,kn=bn.next,Cn=bn.stackedOnNext;if(At&&(_n=turnPointsIntoStep(bn.current,Ue,At,Lt),wn=turnPointsIntoStep(bn.stackedOnCurrent,Ue,At,Lt),kn=turnPointsIntoStep(bn.next,Ue,At,Lt),Cn=turnPointsIntoStep(bn.stackedOnNext,Ue,At,Lt)),getBoundingDiff(_n,kn)>3e3||hn&&getBoundingDiff(wn,Cn)>3e3){jt.stopAnimation(),jt.setShape({points:kn}),hn&&(hn.stopAnimation(),hn.setShape({points:kn,stackedOnPoints:Cn}));return}jt.shape.__points=bn.current,jt.shape.points=_n;var Sn={shape:{points:kn}};bn.current!==_n&&(Sn.shape.__points=bn.next),jt.stopAnimation(),updateProps$1(jt,Sn,vn),hn&&(hn.setShape({points:_n,stackedOnPoints:wn}),hn.stopAnimation(),updateProps$1(hn,{shape:{stackedOnPoints:Cn}},vn),jt.shape.points!==hn.shape.points&&(hn.shape.points=jt.shape.points));for(var xn=[],En=bn.status,Tn=0;Tn$e&&($e=xe[Ie]);return isFinite($e)?$e:NaN},min:function(xe){for(var $e=1/0,Ie=0;Ie$e&&($e=qe,Ie=Ue)}return isFinite(Ie)?Ie:NaN},nearest:function(xe){return xe[0]}},indexSampler=function(xe){return Math.round(xe.length/2)};function dataSample(xe){return{seriesType:xe,reset:function($e,Ie,Fe){var Ue=$e.getData(),qe=$e.get("sampling"),At=$e.coordinateSystem,Dt=Ue.count();if(Dt>10&&At.type==="cartesian2d"&&qe){var Lt=At.getBaseAxis(),jt=At.getOtherAxis(Lt),hn=Lt.getExtent(),vn=Fe.getDevicePixelRatio(),bn=Math.abs(hn[1]-hn[0])*(vn||1),_n=Math.round(Dt/bn);if(isFinite(_n)&&_n>1){qe==="lttb"&&$e.setData(Ue.lttbDownSample(Ue.mapDimension(jt.dim),1/_n));var wn=void 0;isString(qe)?wn=samplers[qe]:isFunction(qe)&&(wn=qe),wn&&$e.setData(Ue.downSample(Ue.mapDimension(jt.dim),1/_n,wn,indexSampler))}}}}}function install$R(xe){xe.registerChartView(LineView),xe.registerSeriesModel(LineSeriesModel),xe.registerLayout(pointsLayout("line",!0)),xe.registerVisual({seriesType:"line",reset:function($e){var Ie=$e.getData(),Fe=$e.getModel("lineStyle").getLineStyle();Fe&&!Fe.stroke&&(Fe.stroke=Ie.getVisual("style").fill),Ie.setVisual("legendLineStyle",Fe)}}),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getMarkerPosition=function(Ie,Fe,Ue){var qe=this.coordinateSystem;if(qe&&qe.clampData){var At=qe.clampData(Ie),Dt=qe.dataToPoint(At);if(Ue)each$f(qe.getAxes(),function(bn,_n){if(bn.type==="category"&&Fe!=null){var wn=bn.getTicksCoords(),kn=bn.getTickModel().get("alignWithLabel"),Cn=At[_n],Sn=Fe[_n]==="x1"||Fe[_n]==="y1";if(Sn&&!kn&&(Cn+=1),wn.length<2)return;if(wn.length===2){Dt[_n]=bn.toGlobalCoord(bn.getExtent()[Sn?1:0]);return}for(var xn=void 0,En=void 0,Tn=1,An=0;AnCn){En=($n+xn)/2;break}An===1&&(Tn=Pn-wn[0].tickValue)}En==null&&(xn?xn&&(En=wn[wn.length-1].coord):En=wn[0].coord),Dt[_n]=bn.toGlobalCoord(En)}});else{var Lt=this.getData(),jt=Lt.getLayout("offset"),hn=Lt.getLayout("size"),vn=qe.getBaseAxis().isHorizontal()?0:1;Dt[vn]+=jt+hn/2}return Dt}return[NaN,NaN]},$e.type="series.__base_bar__",$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},$e}(SeriesModel);SeriesModel.registerClass(BaseBarSeriesModel);var BarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},$e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},$e.prototype.getProgressiveThreshold=function(){var Ie=this.get("progressiveThreshold"),Fe=this.get("largeThreshold");return Fe>Ie&&(Ie=Fe),Ie},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.rect(Fe.getItemLayout(Ie))},$e.type="series.bar",$e.dependencies=["grid","polar"],$e.defaultOption=inheritDefaultOption(BaseBarSeriesModel.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),$e}(BaseBarSeriesModel),SausageShape=function(){function xe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return xe}(),SausagePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="sausage",Fe}return $e.prototype.getDefaultShape=function(){return new SausageShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.max(Fe.r0||0,0),Dt=Math.max(Fe.r,0),Lt=(Dt-At)*.5,jt=At+Lt,hn=Fe.startAngle,vn=Fe.endAngle,bn=Fe.clockwise,_n=Math.PI*2,wn=bn?vn-hn<_n:hn-vn<_n;wn||(hn=vn-(bn?_n:-_n));var kn=Math.cos(hn),Cn=Math.sin(hn),Sn=Math.cos(vn),xn=Math.sin(vn);wn?(Ie.moveTo(kn*At+Ue,Cn*At+qe),Ie.arc(kn*jt+Ue,Cn*jt+qe,Lt,-Math.PI+hn,hn,!bn)):Ie.moveTo(kn*Dt+Ue,Cn*Dt+qe),Ie.arc(Ue,qe,Dt,hn,vn,!bn),Ie.arc(Sn*jt+Ue,xn*jt+qe,Lt,vn-Math.PI*2,vn-Math.PI,!bn),At!==0&&Ie.arc(Ue,qe,At,vn,hn,bn)},$e}(Path);function createSectorCalculateTextPosition(xe,$e){$e=$e||{};var Ie=$e.isRoundCap;return function(Fe,Ue,qe){var At=Ue.position;if(!At||At instanceof Array)return calculateTextPosition(Fe,Ue,qe);var Dt=xe(At),Lt=Ue.distance!=null?Ue.distance:5,jt=this.shape,hn=jt.cx,vn=jt.cy,bn=jt.r,_n=jt.r0,wn=(bn+_n)/2,kn=jt.startAngle,Cn=jt.endAngle,Sn=(kn+Cn)/2,xn=Ie?Math.abs(bn-_n)/2:0,En=Math.cos,Tn=Math.sin,An=hn+bn*En(kn),$n=vn+bn*Tn(kn),Pn="left",Nn="top";switch(Dt){case"startArc":An=hn+(_n-Lt)*En(Sn),$n=vn+(_n-Lt)*Tn(Sn),Pn="center",Nn="top";break;case"insideStartArc":An=hn+(_n+Lt)*En(Sn),$n=vn+(_n+Lt)*Tn(Sn),Pn="center",Nn="bottom";break;case"startAngle":An=hn+wn*En(kn)+adjustAngleDistanceX(kn,Lt+xn,!1),$n=vn+wn*Tn(kn)+adjustAngleDistanceY(kn,Lt+xn,!1),Pn="right",Nn="middle";break;case"insideStartAngle":An=hn+wn*En(kn)+adjustAngleDistanceX(kn,-Lt+xn,!1),$n=vn+wn*Tn(kn)+adjustAngleDistanceY(kn,-Lt+xn,!1),Pn="left",Nn="middle";break;case"middle":An=hn+wn*En(Sn),$n=vn+wn*Tn(Sn),Pn="center",Nn="middle";break;case"endArc":An=hn+(bn+Lt)*En(Sn),$n=vn+(bn+Lt)*Tn(Sn),Pn="center",Nn="bottom";break;case"insideEndArc":An=hn+(bn-Lt)*En(Sn),$n=vn+(bn-Lt)*Tn(Sn),Pn="center",Nn="top";break;case"endAngle":An=hn+wn*En(Cn)+adjustAngleDistanceX(Cn,Lt+xn,!0),$n=vn+wn*Tn(Cn)+adjustAngleDistanceY(Cn,Lt+xn,!0),Pn="left",Nn="middle";break;case"insideEndAngle":An=hn+wn*En(Cn)+adjustAngleDistanceX(Cn,-Lt+xn,!0),$n=vn+wn*Tn(Cn)+adjustAngleDistanceY(Cn,-Lt+xn,!0),Pn="right",Nn="middle";break;default:return calculateTextPosition(Fe,Ue,qe)}return Fe=Fe||{},Fe.x=An,Fe.y=$n,Fe.align=Pn,Fe.verticalAlign=Nn,Fe}}function setSectorTextRotation(xe,$e,Ie,Fe){if(isNumber(Fe)){xe.setTextConfig({rotation:Fe});return}else if(isArray$1($e)){xe.setTextConfig({rotation:0});return}var Ue=xe.shape,qe=Ue.clockwise?Ue.startAngle:Ue.endAngle,At=Ue.clockwise?Ue.endAngle:Ue.startAngle,Dt=(qe+At)/2,Lt,jt=Ie($e);switch(jt){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":Lt=Dt;break;case"startAngle":case"insideStartAngle":Lt=qe;break;case"endAngle":case"insideEndAngle":Lt=At;break;default:xe.setTextConfig({rotation:0});return}var hn=Math.PI*1.5-Lt;jt==="middle"&&hn>Math.PI/2&&hnDt)return!0;Dt=vn}return!1},$e.prototype._isOrderDifferentInView=function(Ie,Fe){for(var Ue=Fe.scale,qe=Ue.getExtent(),At=Math.max(0,qe[0]),Dt=Math.min(qe[1],Ue.getOrdinalMeta().categories.length-1);At<=Dt;++At)if(Ie.ordinalNumbers[At]!==Ue.getRawOrdinalNumber(At))return!0},$e.prototype._updateSortWithinSameData=function(Ie,Fe,Ue,qe){if(this._isOrderChangedWithinSameData(Ie,Fe,Ue)){var At=this._dataSort(Ie,Ue,Fe);this._isOrderDifferentInView(At,Ue)&&(this._removeOnRenderedListener(qe),qe.dispatchAction({type:"changeAxisOrder",componentType:Ue.dim+"Axis",axisId:Ue.index,sortInfo:At}))}},$e.prototype._dispatchInitSort=function(Ie,Fe,Ue){var qe=Fe.baseAxis,At=this._dataSort(Ie,qe,function(Dt){return Ie.get(Ie.mapDimension(Fe.otherAxis.dim),Dt)});Ue.dispatchAction({type:"changeAxisOrder",componentType:qe.dim+"Axis",isInitSort:!0,axisId:qe.index,sortInfo:At})},$e.prototype.remove=function(Ie,Fe){this._clear(this._model),this._removeOnRenderedListener(Fe)},$e.prototype.dispose=function(Ie,Fe){this._removeOnRenderedListener(Fe)},$e.prototype._removeOnRenderedListener=function(Ie){this._onRendered&&(Ie.getZr().off("rendered",this._onRendered),this._onRendered=null)},$e.prototype._clear=function(Ie){var Fe=this.group,Ue=this._data;Ie&&Ie.isAnimationEnabled()&&Ue&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],Ue.eachItemGraphicEl(function(qe){removeElementWithFadeOut(qe,Ie,getECData(qe).dataIndex)})):Fe.removeAll(),this._data=null,this._isFirstFrame=!0},$e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},$e.type="bar",$e}(ChartView),clip={cartesian2d:function(xe,$e){var Ie=$e.width<0?-1:1,Fe=$e.height<0?-1:1;Ie<0&&($e.x+=$e.width,$e.width=-$e.width),Fe<0&&($e.y+=$e.height,$e.height=-$e.height);var Ue=xe.x+xe.width,qe=xe.y+xe.height,At=mathMax$4($e.x,xe.x),Dt=mathMin$4($e.x+$e.width,Ue),Lt=mathMax$4($e.y,xe.y),jt=mathMin$4($e.y+$e.height,qe),hn=DtUe?Dt:At,$e.y=vn&&Lt>qe?jt:Lt,$e.width=hn?0:Dt-At,$e.height=vn?0:jt-Lt,Ie<0&&($e.x+=$e.width,$e.width=-$e.width),Fe<0&&($e.y+=$e.height,$e.height=-$e.height),hn||vn},polar:function(xe,$e){var Ie=$e.r0<=$e.r?1:-1;if(Ie<0){var Fe=$e.r;$e.r=$e.r0,$e.r0=Fe}var Ue=mathMin$4($e.r,xe.r),qe=mathMax$4($e.r0,xe.r0);$e.r=Ue,$e.r0=qe;var At=Ue-qe<0;if(Ie<0){var Fe=$e.r;$e.r=$e.r0,$e.r0=Fe}return At}},elementCreator={cartesian2d:function(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=new Rect$2({shape:extend({},Fe),z2:1});if(jt.__dataIndex=Ie,jt.name="item",qe){var hn=jt.shape,vn=Ue?"height":"width";hn[vn]=0}return jt},polar:function(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=!Ue&&Lt?SausagePath:Sector,hn=new jt({shape:Fe,z2:1});hn.name="item";var vn=createPolarPositionMapping(Ue);if(hn.calculateTextPosition=createSectorCalculateTextPosition(vn,{isRoundCap:jt===SausagePath}),qe){var bn=hn.shape,_n=Ue?"r":"endAngle",wn={};bn[_n]=Ue?Fe.r0:Fe.startAngle,wn[_n]=Fe[_n],(Dt?updateProps$1:initProps)(hn,{shape:wn},qe)}return hn}};function shouldRealtimeSort(xe,$e){var Ie=xe.get("realtimeSort",!0),Fe=$e.getBaseAxis();if(Ie&&Fe.type==="category"&&$e.type==="cartesian2d")return{baseAxis:Fe,otherAxis:$e.getOtherAxis(Fe)}}function updateRealtimeAnimation(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt,jt;qe?(jt={x:Fe.x,width:Fe.width},Lt={y:Fe.y,height:Fe.height}):(jt={y:Fe.y,height:Fe.height},Lt={x:Fe.x,width:Fe.width}),Dt||(At?updateProps$1:initProps)(Ie,{shape:Lt},$e,Ue,null);var hn=$e?xe.baseAxis.model:null;(At?updateProps$1:initProps)(Ie,{shape:jt},hn,Ue)}function checkPropertiesNotValid(xe,$e){for(var Ie=0;Ie<$e.length;Ie++)if(!isFinite(xe[$e[Ie]]))return!0;return!1}var rectPropties=["x","y","width","height"],polarPropties=["cx","cy","r","startAngle","endAngle"],isValidLayout={cartesian2d:function(xe){return!checkPropertiesNotValid(xe,rectPropties)},polar:function(xe){return!checkPropertiesNotValid(xe,polarPropties)}},getLayout={cartesian2d:function(xe,$e,Ie){var Fe=xe.getItemLayout($e),Ue=Ie?getLineWidth(Ie,Fe):0,qe=Fe.width>0?1:-1,At=Fe.height>0?1:-1;return{x:Fe.x+qe*Ue/2,y:Fe.y+At*Ue/2,width:Fe.width-qe*Ue,height:Fe.height-At*Ue}},polar:function(xe,$e,Ie){var Fe=xe.getItemLayout($e);return{cx:Fe.cx,cy:Fe.cy,r0:Fe.r0,r:Fe.r,startAngle:Fe.startAngle,endAngle:Fe.endAngle,clockwise:Fe.clockwise}}};function isZeroOnPolar(xe){return xe.startAngle!=null&&xe.endAngle!=null&&xe.startAngle===xe.endAngle}function createPolarPositionMapping(xe){return function($e){var Ie=$e?"Arc":"Angle";return function(Fe){switch(Fe){case"start":case"insideStart":case"end":case"insideEnd":return Fe+Ie;default:return Fe}}}(xe)}function updateStyle(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=$e.getItemVisual(Ie,"style");if(Dt){if(!qe.get("roundCap")){var hn=xe.shape,vn=getSectorCornerRadius(Fe.getModel("itemStyle"),hn,!0);extend(hn,vn),xe.setShape(hn)}}else{var jt=Fe.get(["itemStyle","borderRadius"])||0;xe.setShape("r",jt)}xe.useStyle(Lt);var bn=Fe.getShallow("cursor");bn&&xe.attr("cursor",bn);var _n=Dt?At?Ue.r>=Ue.r0?"endArc":"startArc":Ue.endAngle>=Ue.startAngle?"endAngle":"startAngle":At?Ue.height>=0?"bottom":"top":Ue.width>=0?"right":"left",wn=getLabelStatesModels(Fe);setLabelStyle(xe,wn,{labelFetcher:qe,labelDataIndex:Ie,defaultText:getDefaultLabel(qe.getData(),Ie),inheritColor:Lt.fill,defaultOpacity:Lt.opacity,defaultOutsidePosition:_n});var kn=xe.getTextContent();if(Dt&&kn){var Cn=Fe.get(["label","position"]);xe.textConfig.inside=Cn==="middle"?!0:null,setSectorTextRotation(xe,Cn==="outside"?_n:Cn,createPolarPositionMapping(At),Fe.get(["label","rotate"]))}setLabelValueAnimation(kn,wn,qe.getRawValue(Ie),function(xn){return getDefaultInterpolatedLabel($e,xn)});var Sn=Fe.getModel(["emphasis"]);toggleHoverEmphasis(xe,Sn.get("focus"),Sn.get("blurScope"),Sn.get("disabled")),setStatesStylesFromModel(xe,Fe),isZeroOnPolar(Ue)&&(xe.style.fill="none",xe.style.stroke="none",each$f(xe.states,function(xn){xn.style&&(xn.style.fill=xn.style.stroke="none")}))}function getLineWidth(xe,$e){var Ie=xe.get(["itemStyle","borderColor"]);if(!Ie||Ie==="none")return 0;var Fe=xe.get(["itemStyle","borderWidth"])||0,Ue=isNaN($e.width)?Number.MAX_VALUE:Math.abs($e.width),qe=isNaN($e.height)?Number.MAX_VALUE:Math.abs($e.height);return Math.min(Fe,Ue,qe)}var LagePathShape=function(){function xe(){}return xe}(),LargePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="largeBar",Fe}return $e.prototype.getDefaultShape=function(){return new LagePathShape},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.points,qe=this.baseDimIdx,At=1-this.baseDimIdx,Dt=[],Lt=[],jt=this.barWidth,hn=0;hn=0?Ie:null},30,!1);function largePathFindDataIndex(xe,$e,Ie){for(var Fe=xe.baseDimIdx,Ue=1-Fe,qe=xe.shape.points,At=xe.largeDataIndices,Dt=[],Lt=[],jt=xe.barWidth,hn=0,vn=qe.length/3;hn=Dt[0]&&$e<=Dt[0]+Lt[0]&&Ie>=Dt[1]&&Ie<=Dt[1]+Lt[1])return At[hn]}return-1}function createBackgroundShape(xe,$e,Ie){if(isCoordinateSystemType(Ie,"cartesian2d")){var Fe=$e,Ue=Ie.getArea();return{x:xe?Fe.x:Ue.x,y:xe?Ue.y:Fe.y,width:xe?Fe.width:Ue.width,height:xe?Ue.height:Fe.height}}else{var Ue=Ie.getArea(),qe=$e;return{cx:Ue.cx,cy:Ue.cy,r0:xe?Ue.r0:qe.r0,r:xe?Ue.r:qe.r,startAngle:xe?qe.startAngle:0,endAngle:xe?qe.endAngle:Math.PI*2}}}function createBackgroundEl(xe,$e,Ie){var Fe=xe.type==="polar"?Sector:Rect$2;return new Fe({shape:createBackgroundShape($e,Ie,xe),silent:!0,z2:0})}function install$Q(xe){xe.registerChartView(BarView),xe.registerSeriesModel(BarSeriesModel),xe.registerLayout(xe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"bar")),xe.registerLayout(xe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),xe.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function($e,Ie){var Fe=$e.componentType||"series";Ie.eachComponent({mainType:Fe,query:$e},function(Ue){$e.sortInfo&&Ue.axis.setCategorySortInfo($e.sortInfo)})})}var PI2=Math.PI*2,RADIAN$2=Math.PI/180;function getViewRect$5(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function getBasicPieLayout(xe,$e){var Ie=getViewRect$5(xe,$e),Fe=xe.get("center"),Ue=xe.get("radius");isArray$1(Ue)||(Ue=[0,Ue]);var qe=parsePercent(Ie.width,$e.getWidth()),At=parsePercent(Ie.height,$e.getHeight()),Dt=Math.min(qe,At),Lt=parsePercent(Ue[0],Dt/2),jt=parsePercent(Ue[1],Dt/2),hn,vn,bn=xe.coordinateSystem;if(bn){var _n=bn.dataToPoint(Fe);hn=_n[0]||0,vn=_n[1]||0}else isArray$1(Fe)||(Fe=[Fe,Fe]),hn=parsePercent(Fe[0],qe)+Ie.x,vn=parsePercent(Fe[1],At)+Ie.y;return{cx:hn,cy:vn,r0:Lt,r:jt}}function pieLayout(xe,$e,Ie){$e.eachSeriesByType(xe,function(Fe){var Ue=Fe.getData(),qe=Ue.mapDimension("value"),At=getViewRect$5(Fe,Ie),Dt=getBasicPieLayout(Fe,Ie),Lt=Dt.cx,jt=Dt.cy,hn=Dt.r,vn=Dt.r0,bn=-Fe.get("startAngle")*RADIAN$2,_n=Fe.get("endAngle"),wn=Fe.get("padAngle")*RADIAN$2;_n=_n==="auto"?bn-PI2:-_n*RADIAN$2;var kn=Fe.get("minAngle")*RADIAN$2,Cn=kn+wn,Sn=0;Ue.each(qe,function(Dn){!isNaN(Dn)&&Sn++});var xn=Ue.getSum(qe),En=Math.PI/(xn||Sn)*2,Tn=Fe.get("clockwise"),An=Fe.get("roseType"),$n=Fe.get("stillShowZeroSum"),Pn=Ue.getDataExtent(qe);Pn[0]=0;var Nn=Tn?1:-1,Mn=[bn,_n],In=Nn*wn/2;normalizeArcAngles(Mn,!Tn),bn=Mn[0],_n=Mn[1];var On=Math.abs(_n-bn),Rn=On,Bn=0,Vn=bn;if(Ue.setLayout({viewRect:At,r:hn}),Ue.each(qe,function(Dn,Hn){var Fn;if(isNaN(Dn)){Ue.setItemLayout(Hn,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:Tn,cx:Lt,cy:jt,r0:vn,r:An?NaN:hn});return}An!=="area"?Fn=xn===0&&$n?En:Dn*En:Fn=On/Sn,FnFn?(jn=Vn+Nn*Fn/2,Gn=jn):(jn=Vn+In,Gn=zn-In),Ue.setItemLayout(Hn,{angle:Fn,startAngle:jn,endAngle:Gn,clockwise:Tn,cx:Lt,cy:jt,r0:vn,r:An?linearMap$2(Dn,Pn,[vn,hn]):hn}),Vn=zn}),RnIe?Sn:Cn,An=Math.abs(En.label.y-Ie);if(An>=Tn.maxY){var $n=En.label.x-$e-En.len2*Ue,Pn=Fe+En.len,Nn=Math.abs($n)xe.unconstrainedWidth?null:_n:null;Fe.setStyle("width",wn)}var kn=Fe.getBoundingRect();qe.width=kn.width;var Cn=(Fe.style.margin||0)+2.1;qe.height=kn.height+Cn,qe.y-=(qe.height-vn)/2}}}function isPositionCenter(xe){return xe.position==="center"}function pieLabelLayout(xe){var $e=xe.getData(),Ie=[],Fe,Ue,qe=!1,At=(xe.get("minShowLabelAngle")||0)*RADIAN$1,Dt=$e.getLayout("viewRect"),Lt=$e.getLayout("r"),jt=Dt.width,hn=Dt.x,vn=Dt.y,bn=Dt.height;function _n($n){$n.ignore=!0}function wn($n){if(!$n.ignore)return!0;for(var Pn in $n.states)if($n.states[Pn].ignore===!1)return!0;return!1}$e.each(function($n){var Pn=$e.getItemGraphicEl($n),Nn=Pn.shape,Mn=Pn.getTextContent(),In=Pn.getTextGuideLine(),On=$e.getItemModel($n),Rn=On.getModel("label"),Bn=Rn.get("position")||On.get(["emphasis","label","position"]),Vn=Rn.get("distanceToLabelLine"),Ln=Rn.get("alignTo"),Dn=parsePercent(Rn.get("edgeDistance"),jt),Hn=Rn.get("bleedMargin"),Fn=On.getModel("labelLine"),zn=Fn.get("length");zn=parsePercent(zn,jt);var jn=Fn.get("length2");if(jn=parsePercent(jn,jt),Math.abs(Nn.endAngle-Nn.startAngle)0?"right":"left":Wn>0?"left":"right"}var nr=Math.PI,lr=0,ir=Rn.get("rotate");if(isNumber(ir))lr=ir*(nr/180);else if(Bn==="center")lr=0;else if(ir==="radial"||ir===!0){var kr=Wn<0?-Gn+nr:-Gn;lr=kr}else if(ir==="tangential"&&Bn!=="outside"&&Bn!=="outer"){var Cr=Math.atan2(Wn,Xn);Cr<0&&(Cr=nr*2+Cr);var Er=Xn>0;Er&&(Cr=nr+Cr),lr=Cr-nr}if(qe=!!lr,Mn.x=er,Mn.y=rr,Mn.rotation=lr,Mn.setStyle({verticalAlign:"middle"}),qn){Mn.setStyle({align:Yn});var _r=Mn.states.select;_r&&(_r.x+=Mn.x,_r.y+=Mn.y)}else{var dr=Mn.getBoundingRect().clone();dr.applyTransform(Mn.getComputedTransform());var br=(Mn.style.margin||0)+2.1;dr.y-=br/2,dr.height+=br,Ie.push({label:Mn,labelLine:In,position:Bn,len:zn,len2:jn,minTurnAngle:Fn.get("minTurnAngle"),maxSurfaceAngle:Fn.get("maxSurfaceAngle"),surfaceNormal:new Point(Wn,Xn),linePoints:Jn,textAlign:Yn,labelDistance:Vn,labelAlignTo:Ln,edgeDistance:Dn,bleedMargin:Hn,rect:dr,unconstrainedWidth:dr.width,labelStyleWidth:Mn.style.width})}Pn.setTextConfig({inside:qn})}}),!qe&&xe.get("avoidLabelOverlap")&&avoidOverlap(Ie,Fe,Ue,Lt,jt,bn,hn,vn);for(var kn=0;kn0){for(var hn=At.getItemLayout(0),vn=1;isNaN(hn&&hn.startAngle)&&vn=qe.r0}},$e.type="pie",$e}(ChartView);function createSeriesDataSimply(xe,$e,Ie){$e=isArray$1($e)&&{coordDimensions:$e}||extend({encodeDefine:xe.getEncode()},$e);var Fe=xe.getSource(),Ue=prepareSeriesDataSchema(Fe,$e).dimensions,qe=new SeriesData(Ue,xe);return qe.initData(Fe,Ie),qe}var LegendVisualProvider=function(){function xe($e,Ie){this._getDataWithEncodedVisual=$e,this._getRawData=Ie}return xe.prototype.getAllNames=function(){var $e=this._getRawData();return $e.mapArray($e.getName)},xe.prototype.containName=function($e){var Ie=this._getRawData();return Ie.indexOfName($e)>=0},xe.prototype.indexOfName=function($e){var Ie=this._getDataWithEncodedVisual();return Ie.indexOfName($e)},xe.prototype.getItemVisual=function($e,Ie){var Fe=this._getDataWithEncodedVisual();return Fe.getItemVisual($e,Ie)},xe}(),innerData=makeInner(),PieSeriesModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(Ie)},$e.prototype.mergeOption=function(){xe.prototype.mergeOption.apply(this,arguments)},$e.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},$e.prototype.getDataParams=function(Ie){var Fe=this.getData(),Ue=innerData(Fe),qe=Ue.seats;if(!qe){var At=[];Fe.each(Fe.mapDimension("value"),function(Lt){At.push(Lt)}),qe=Ue.seats=getPercentSeats(At,Fe.hostModel.get("percentPrecision"))}var Dt=xe.prototype.getDataParams.call(this,Ie);return Dt.percent=qe[Ie]||0,Dt.$vars.push("percent"),Dt},$e.prototype._defaultLabelLine=function(Ie){defaultEmphasis(Ie,"labelLine",["show"]);var Fe=Ie.labelLine,Ue=Ie.emphasis.labelLine;Fe.show=Fe.show&&Ie.label.show,Ue.show=Ue.show&&Ie.emphasis.label.show},$e.type="series.pie",$e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},$e}(SeriesModel);function negativeDataFilter(xe){return{seriesType:xe,reset:function($e,Ie){var Fe=$e.getData();Fe.filterSelf(function(Ue){var qe=Fe.mapDimension("value"),At=Fe.get(qe,Ue);return!(isNumber(At)&&!isNaN(At)&&At<0)})}}}function install$P(xe){xe.registerChartView(PieView),xe.registerSeriesModel(PieSeriesModel),createLegacyDataSelectAction("pie",xe.registerAction),xe.registerLayout(curry$1(pieLayout,"pie")),xe.registerProcessor(dataFilter$1("pie")),xe.registerProcessor(negativeDataFilter("pie"))}var ScatterSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getProgressive=function(){var Ie=this.option.progressive;return Ie??(this.option.large?5e3:this.get("progressive"))},$e.prototype.getProgressiveThreshold=function(){var Ie=this.option.progressiveThreshold;return Ie??(this.option.large?1e4:this.get("progressiveThreshold"))},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.point(Fe.getItemLayout(Ie))},$e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},$e.type="series.scatter",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},$e}(SeriesModel),BOOST_SIZE_THRESHOLD=4,LargeSymbolPathShape=function(){function xe(){}return xe}(),LargeSymbolPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe._off=0,Fe.hoverDataIdx=-1,Fe}return $e.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},$e.prototype.reset=function(){this.notClear=!1,this._off=0},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=Fe.size,At=this.symbolProxy,Dt=At.shape,Lt=Ie.getContext?Ie.getContext():Ie,jt=Lt&&qe[0]=0;jt--){var hn=jt*2,vn=qe[hn]-Dt/2,bn=qe[hn+1]-Lt/2;if(Ie>=vn&&Fe>=bn&&Ie<=vn+Dt&&Fe<=bn+Lt)return jt}return-1},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var At=this.hoverDataIdx=this.findDataIndex(Ie,Fe);return At>=0}return this.hoverDataIdx=-1,!1},$e.prototype.getBoundingRect=function(){var Ie=this._rect;if(!Ie){for(var Fe=this.shape,Ue=Fe.points,qe=Fe.size,At=qe[0],Dt=qe[1],Lt=1/0,jt=1/0,hn=-1/0,vn=-1/0,bn=0;bn=0&&(jt.dataIndex=vn+($e.startIndex||0))})},xe.prototype.remove=function(){this._clear()},xe.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},xe}(),ScatterView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateSymbolDraw(qe,Ie);At.updateData(qe,{clipShape:this._getClipShape(Ie)}),this._finished=!0},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateSymbolDraw(qe,Ie);At.incrementalPrepareUpdate(qe),this._finished=!1},$e.prototype.incrementalRender=function(Ie,Fe,Ue){this._symbolDraw.incrementalUpdate(Ie,Fe.getData(),{clipShape:this._getClipShape(Fe)}),this._finished=Ie.end===Fe.getData().count()},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData();if(this.group.dirty(),!this._finished||qe.count()>1e4)return{update:!0};var At=pointsLayout("").reset(Ie,Fe,Ue);At.progress&&At.progress({start:0,end:qe.count(),count:qe.count()},qe),this._symbolDraw.updateLayout(qe)},$e.prototype.eachRendered=function(Ie){this._symbolDraw&&this._symbolDraw.eachRendered(Ie)},$e.prototype._getClipShape=function(Ie){if(Ie.get("clip",!0)){var Fe=Ie.coordinateSystem;return Fe&&Fe.getArea&&Fe.getArea(.1)}},$e.prototype._updateSymbolDraw=function(Ie,Fe){var Ue=this._symbolDraw,qe=Fe.pipelineContext,At=qe.large;return(!Ue||At!==this._isLargeDraw)&&(Ue&&Ue.remove(),Ue=this._symbolDraw=At?new LargeSymbolDraw:new SymbolDraw,this._isLargeDraw=At,this.group.removeAll()),this.group.add(Ue.group),Ue},$e.prototype.remove=function(Ie,Fe){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},$e.prototype.dispose=function(){},$e.type="scatter",$e}(ChartView),GridModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.type="grid",$e.dependencies=["xAxis","yAxis"],$e.layoutMode="box",$e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},$e}(ComponentModel),CartesianAxisModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},$e.type="cartesian2dAxis",$e}(ComponentModel);mixin(CartesianAxisModel,AxisModelCommonMixin);var defaultOption$1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},categoryAxis=merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},defaultOption$1),timeAxis=merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults({logBase:10},valueAxis);const axisDefault={category:categoryAxis,value:valueAxis,time:timeAxis,log:logAxis};var AXIS_TYPES={value:1,category:1,time:1,log:1};function axisModelCreator(xe,$e,Ie,Fe){each$f(AXIS_TYPES,function(Ue,qe){var At=merge(merge({},axisDefault[qe],!0),Fe,!0),Dt=function(Lt){__extends(jt,Lt);function jt(){var hn=Lt!==null&&Lt.apply(this,arguments)||this;return hn.type=$e+"Axis."+qe,hn}return jt.prototype.mergeDefaultAndTheme=function(hn,vn){var bn=fetchLayoutMode(this),_n=bn?getLayoutParams(hn):{},wn=vn.getTheme();merge(hn,wn.get(qe+"Axis")),merge(hn,this.getDefaultOption()),hn.type=getAxisType(hn),bn&&mergeLayoutParam(hn,_n,bn)},jt.prototype.optionUpdated=function(){var hn=this.option;hn.type==="category"&&(this.__ordinalMeta=OrdinalMeta.createByAxisModel(this))},jt.prototype.getCategories=function(hn){var vn=this.option;if(vn.type==="category")return hn?vn.data:this.__ordinalMeta.categories},jt.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},jt.type=$e+"Axis."+qe,jt.defaultOption=At,jt}(Ie);xe.registerComponentModel(Dt)}),xe.registerSubTypeDefaulter($e+"Axis",getAxisType)}function getAxisType(xe){return xe.type||(xe.data?"category":"value")}var Cartesian=function(){function xe($e){this.type="cartesian",this._dimList=[],this._axes={},this.name=$e||""}return xe.prototype.getAxis=function($e){return this._axes[$e]},xe.prototype.getAxes=function(){return map$1(this._dimList,function($e){return this._axes[$e]},this)},xe.prototype.getAxesByScale=function($e){return $e=$e.toLowerCase(),filter(this.getAxes(),function(Ie){return Ie.scale.type===$e})},xe.prototype.addAxis=function($e){var Ie=$e.dim;this._axes[Ie]=$e,this._dimList.push(Ie)},xe}(),cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(xe){return xe.type==="interval"||xe.type==="time"}var Cartesian2D=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="cartesian2d",Ie.dimensions=cartesian2DDimensions,Ie}return $e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var Ie=this.getAxis("x").scale,Fe=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(Ie)||!canCalculateAffineTransform(Fe))){var Ue=Ie.getExtent(),qe=Fe.getExtent(),At=this.dataToPoint([Ue[0],qe[0]]),Dt=this.dataToPoint([Ue[1],qe[1]]),Lt=Ue[1]-Ue[0],jt=qe[1]-qe[0];if(!(!Lt||!jt)){var hn=(Dt[0]-At[0])/Lt,vn=(Dt[1]-At[1])/jt,bn=At[0]-Ue[0]*hn,_n=At[1]-qe[0]*vn,wn=this._transform=[hn,0,0,vn,bn,_n];this._invTransform=invert([],wn)}}},$e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},$e.prototype.containPoint=function(Ie){var Fe=this.getAxis("x"),Ue=this.getAxis("y");return Fe.contain(Fe.toLocalCoord(Ie[0]))&&Ue.contain(Ue.toLocalCoord(Ie[1]))},$e.prototype.containData=function(Ie){return this.getAxis("x").containData(Ie[0])&&this.getAxis("y").containData(Ie[1])},$e.prototype.containZone=function(Ie,Fe){var Ue=this.dataToPoint(Ie),qe=this.dataToPoint(Fe),At=this.getArea(),Dt=new BoundingRect(Ue[0],Ue[1],qe[0]-Ue[0],qe[1]-Ue[1]);return At.intersect(Dt)},$e.prototype.dataToPoint=function(Ie,Fe,Ue){Ue=Ue||[];var qe=Ie[0],At=Ie[1];if(this._transform&&qe!=null&&isFinite(qe)&&At!=null&&isFinite(At))return applyTransform$1(Ue,Ie,this._transform);var Dt=this.getAxis("x"),Lt=this.getAxis("y");return Ue[0]=Dt.toGlobalCoord(Dt.dataToCoord(qe,Fe)),Ue[1]=Lt.toGlobalCoord(Lt.dataToCoord(At,Fe)),Ue},$e.prototype.clampData=function(Ie,Fe){var Ue=this.getAxis("x").scale,qe=this.getAxis("y").scale,At=Ue.getExtent(),Dt=qe.getExtent(),Lt=Ue.parse(Ie[0]),jt=qe.parse(Ie[1]);return Fe=Fe||[],Fe[0]=Math.min(Math.max(Math.min(At[0],At[1]),Lt),Math.max(At[0],At[1])),Fe[1]=Math.min(Math.max(Math.min(Dt[0],Dt[1]),jt),Math.max(Dt[0],Dt[1])),Fe},$e.prototype.pointToData=function(Ie,Fe){var Ue=[];if(this._invTransform)return applyTransform$1(Ue,Ie,this._invTransform);var qe=this.getAxis("x"),At=this.getAxis("y");return Ue[0]=qe.coordToData(qe.toLocalCoord(Ie[0]),Fe),Ue[1]=At.coordToData(At.toLocalCoord(Ie[1]),Fe),Ue},$e.prototype.getOtherAxis=function(Ie){return this.getAxis(Ie.dim==="x"?"y":"x")},$e.prototype.getArea=function(Ie){Ie=Ie||0;var Fe=this.getAxis("x").getGlobalExtent(),Ue=this.getAxis("y").getGlobalExtent(),qe=Math.min(Fe[0],Fe[1])-Ie,At=Math.min(Ue[0],Ue[1])-Ie,Dt=Math.max(Fe[0],Fe[1])-qe+Ie,Lt=Math.max(Ue[0],Ue[1])-At+Ie;return new BoundingRect(qe,At,Dt,Lt)},$e}(Cartesian),Axis2D=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.index=0,Dt.type=qe||"value",Dt.position=At||"bottom",Dt}return $e.prototype.isHorizontal=function(){var Ie=this.position;return Ie==="top"||Ie==="bottom"},$e.prototype.getGlobalExtent=function(Ie){var Fe=this.getExtent();return Fe[0]=this.toGlobalCoord(Fe[0]),Fe[1]=this.toGlobalCoord(Fe[1]),Ie&&Fe[0]>Fe[1]&&Fe.reverse(),Fe},$e.prototype.pointToData=function(Ie,Fe){return this.coordToData(this.toLocalCoord(Ie[this.dim==="x"?0:1]),Fe)},$e.prototype.setCategorySortInfo=function(Ie){if(this.type!=="category")return!1;this.model.option.categorySortInfo=Ie,this.scale.setSortInfo(Ie)},$e}(Axis);function layout$2(xe,$e,Ie){Ie=Ie||{};var Fe=xe.coordinateSystem,Ue=$e.axis,qe={},At=Ue.getAxesOnZeroOf()[0],Dt=Ue.position,Lt=At?"onZero":Dt,jt=Ue.dim,hn=Fe.getRect(),vn=[hn.x,hn.x+hn.width,hn.y,hn.y+hn.height],bn={left:0,right:1,top:0,bottom:1,onZero:2},_n=$e.get("offset")||0,wn=jt==="x"?[vn[2]-_n,vn[3]+_n]:[vn[0]-_n,vn[1]+_n];if(At){var kn=At.toGlobalCoord(At.dataToCoord(0));wn[bn.onZero]=Math.max(Math.min(kn,wn[1]),wn[0])}qe.position=[jt==="y"?wn[bn[Lt]]:vn[0],jt==="x"?wn[bn[Lt]]:vn[3]],qe.rotation=Math.PI/2*(jt==="x"?0:1);var Cn={top:-1,bottom:1,left:-1,right:1};qe.labelDirection=qe.tickDirection=qe.nameDirection=Cn[Dt],qe.labelOffset=At?wn[bn[Dt]]-wn[bn.onZero]:0,$e.get(["axisTick","inside"])&&(qe.tickDirection=-qe.tickDirection),retrieve(Ie.labelInside,$e.get(["axisLabel","inside"]))&&(qe.labelDirection=-qe.labelDirection);var Sn=$e.get(["axisLabel","rotate"]);return qe.labelRotate=Lt==="top"?-Sn:Sn,qe.z2=1,qe}function isCartesian2DSeries(xe){return xe.get("coordinateSystem")==="cartesian2d"}function findAxisModels(xe){var $e={xAxisModel:null,yAxisModel:null};return each$f($e,function(Ie,Fe){var Ue=Fe.replace(/Model$/,""),qe=xe.getReferringComponents(Ue,SINGLE_REFERRING).models[0];$e[Fe]=qe}),$e}var mathLog=Math.log;function alignScaleTicks(xe,$e,Ie){var Fe=IntervalScale.prototype,Ue=Fe.getTicks.call(Ie),qe=Fe.getTicks.call(Ie,!0),At=Ue.length-1,Dt=Fe.getInterval.call(Ie),Lt=getScaleExtent(xe,$e),jt=Lt.extent,hn=Lt.fixMin,vn=Lt.fixMax;if(xe.type==="log"){var bn=mathLog(xe.base);jt=[mathLog(jt[0])/bn,mathLog(jt[1])/bn]}xe.setExtent(jt[0],jt[1]),xe.calcNiceExtent({splitNumber:At,fixMin:hn,fixMax:vn});var _n=Fe.getExtent.call(xe);hn&&(jt[0]=_n[0]),vn&&(jt[1]=_n[1]);var wn=Fe.getInterval.call(xe),kn=jt[0],Cn=jt[1];if(hn&&vn)wn=(Cn-kn)/At;else if(hn)for(Cn=jt[0]+wn*At;Cnjt[0]&&isFinite(kn)&&isFinite(jt[0]);)wn=increaseInterval(wn),kn=jt[1]-wn*At;else{var Sn=xe.getTicks().length-1;Sn>At&&(wn=increaseInterval(wn));var xn=wn*At;Cn=Math.ceil(jt[1]/wn)*wn,kn=round$3(Cn-xn),kn<0&&jt[0]>=0?(kn=0,Cn=round$3(xn)):Cn>0&&jt[1]<=0&&(Cn=0,kn=-round$3(xn))}var En=(Ue[0].value-qe[0].value)/Dt,Tn=(Ue[At].value-qe[At].value)/Dt;Fe.setExtent.call(xe,kn+wn*En,Cn+wn*Tn),Fe.setInterval.call(xe,wn),(En||Tn)&&Fe.setNiceExtent.call(xe,kn+wn,Cn-wn)}var Grid=function(){function xe($e,Ie,Fe){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian($e,Ie,Fe),this.model=$e}return xe.prototype.getRect=function(){return this._rect},xe.prototype.update=function($e,Ie){var Fe=this._axesMap;this._updateScale($e,this.model);function Ue(At){var Dt,Lt=keys(At),jt=Lt.length;if(jt){for(var hn=[],vn=jt-1;vn>=0;vn--){var bn=+Lt[vn],_n=At[bn],wn=_n.model,kn=_n.scale;isIntervalOrLogScale(kn)&&wn.get("alignTicks")&&wn.get("interval")==null?hn.push(_n):(niceScaleExtent(kn,wn),isIntervalOrLogScale(kn)&&(Dt=_n))}hn.length&&(Dt||(Dt=hn.pop(),niceScaleExtent(Dt.scale,Dt.model)),each$f(hn,function(Cn){alignScaleTicks(Cn.scale,Cn.model,Dt.scale)}))}}Ue(Fe.x),Ue(Fe.y);var qe={};each$f(Fe.x,function(At){fixAxisOnZero(Fe,"y",At,qe)}),each$f(Fe.y,function(At){fixAxisOnZero(Fe,"x",At,qe)}),this.resize(this.model,Ie)},xe.prototype.resize=function($e,Ie,Fe){var Ue=$e.getBoxLayoutParams(),qe=!Fe&&$e.get("containLabel"),At=getLayoutRect(Ue,{width:Ie.getWidth(),height:Ie.getHeight()});this._rect=At;var Dt=this._axesList;Lt(),qe&&(each$f(Dt,function(jt){if(!jt.model.get(["axisLabel","inside"])){var hn=estimateLabelUnionRect(jt);if(hn){var vn=jt.isHorizontal()?"height":"width",bn=jt.model.get(["axisLabel","margin"]);At[vn]-=hn[vn]+bn,jt.position==="top"?At.y+=hn.height+bn:jt.position==="left"&&(At.x+=hn.width+bn)}}}),Lt()),each$f(this._coordsList,function(jt){jt.calcAffineTransform()});function Lt(){each$f(Dt,function(jt){var hn=jt.isHorizontal(),vn=hn?[0,At.width]:[0,At.height],bn=jt.inverse?1:0;jt.setExtent(vn[bn],vn[1-bn]),updateAxisTransform(jt,hn?At.x:At.y)})}},xe.prototype.getAxis=function($e,Ie){var Fe=this._axesMap[$e];if(Fe!=null)return Fe[Ie||0]},xe.prototype.getAxes=function(){return this._axesList.slice()},xe.prototype.getCartesian=function($e,Ie){if($e!=null&&Ie!=null){var Fe="x"+$e+"y"+Ie;return this._coordsMap[Fe]}isObject$3($e)&&(Ie=$e.yAxisIndex,$e=$e.xAxisIndex);for(var Ue=0,qe=this._coordsList;Ue0?"top":"bottom",qe="center"):isRadianAroundZero(Ue-PI$3)?(At=Fe>0?"bottom":"top",qe="center"):(At="middle",Ue>0&&Ue0?"right":"left":qe=Fe>0?"left":"right"),{rotation:Ue,textAlign:qe,textVerticalAlign:At}},xe.makeAxisEventDataBase=function($e){var Ie={componentType:$e.mainType,componentIndex:$e.componentIndex};return Ie[$e.mainType+"Index"]=$e.componentIndex,Ie},xe.isLabelSilent=function($e){var Ie=$e.get("tooltip");return $e.get("silent")||!($e.get("triggerEvent")||Ie&&Ie.show)},xe}(),builders={axisLine:function(xe,$e,Ie,Fe){var Ue=$e.get(["axisLine","show"]);if(Ue==="auto"&&xe.handleAutoShown&&(Ue=xe.handleAutoShown("axisLine")),!!Ue){var qe=$e.axis.getExtent(),At=Fe.transform,Dt=[qe[0],0],Lt=[qe[1],0],jt=Dt[0]>Lt[0];At&&(applyTransform$1(Dt,Dt,At),applyTransform$1(Lt,Lt,At));var hn=extend({lineCap:"round"},$e.getModel(["axisLine","lineStyle"]).getLineStyle()),vn=new Line$1({shape:{x1:Dt[0],y1:Dt[1],x2:Lt[0],y2:Lt[1]},style:hn,strokeContainThreshold:xe.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(vn.shape,vn.style.lineWidth),vn.anid="line",Ie.add(vn);var bn=$e.get(["axisLine","symbol"]);if(bn!=null){var _n=$e.get(["axisLine","symbolSize"]);isString(bn)&&(bn=[bn,bn]),(isString(_n)||isNumber(_n))&&(_n=[_n,_n]);var wn=normalizeSymbolOffset($e.get(["axisLine","symbolOffset"])||0,_n),kn=_n[0],Cn=_n[1];each$f([{rotate:xe.rotation+Math.PI/2,offset:wn[0],r:0},{rotate:xe.rotation-Math.PI/2,offset:wn[1],r:Math.sqrt((Dt[0]-Lt[0])*(Dt[0]-Lt[0])+(Dt[1]-Lt[1])*(Dt[1]-Lt[1]))}],function(Sn,xn){if(bn[xn]!=="none"&&bn[xn]!=null){var En=createSymbol$1(bn[xn],-kn/2,-Cn/2,kn,Cn,hn.stroke,!0),Tn=Sn.r+Sn.offset,An=jt?Lt:Dt;En.attr({rotation:Sn.rotate,x:An[0]+Tn*Math.cos(xe.rotation),y:An[1]-Tn*Math.sin(xe.rotation),silent:!0,z2:11}),Ie.add(En)}})}}},axisTickLabel:function(xe,$e,Ie,Fe){var Ue=buildAxisMajorTicks(Ie,Fe,$e,xe),qe=buildAxisLabel(Ie,Fe,$e,xe);if(fixMinMaxLabelShow($e,qe,Ue),buildAxisMinorTicks(Ie,Fe,$e,xe.tickDirection),$e.get(["axisLabel","hideOverlap"])){var At=prepareLayoutList(map$1(qe,function(Dt){return{label:Dt,priority:Dt.z2,defaultAttr:{ignore:Dt.ignore}}}));hideOverlap(At)}},axisName:function(xe,$e,Ie,Fe){var Ue=retrieve(xe.axisName,$e.get("name"));if(Ue){var qe=$e.get("nameLocation"),At=xe.nameDirection,Dt=$e.getModel("nameTextStyle"),Lt=$e.get("nameGap")||0,jt=$e.axis.getExtent(),hn=jt[0]>jt[1]?-1:1,vn=[qe==="start"?jt[0]-hn*Lt:qe==="end"?jt[1]+hn*Lt:(jt[0]+jt[1])/2,isNameLocationCenter(qe)?xe.labelOffset+At*Lt:0],bn,_n=$e.get("nameRotate");_n!=null&&(_n=_n*PI$3/180);var wn;isNameLocationCenter(qe)?bn=AxisBuilder.innerTextLayout(xe.rotation,_n??xe.rotation,At):(bn=endTextLayout(xe.rotation,qe,_n||0,jt),wn=xe.axisNameAvailableWidth,wn!=null&&(wn=Math.abs(wn/Math.sin(bn.rotation)),!isFinite(wn)&&(wn=null)));var kn=Dt.getFont(),Cn=$e.get("nameTruncate",!0)||{},Sn=Cn.ellipsis,xn=retrieve(xe.nameTruncateMaxWidth,Cn.maxWidth,wn),En=new ZRText({x:vn[0],y:vn[1],rotation:bn.rotation,silent:AxisBuilder.isLabelSilent($e),style:createTextStyle(Dt,{text:Ue,font:kn,overflow:"truncate",width:xn,ellipsis:Sn,fill:Dt.getTextColor()||$e.get(["axisLine","lineStyle","color"]),align:Dt.get("align")||bn.textAlign,verticalAlign:Dt.get("verticalAlign")||bn.textVerticalAlign}),z2:1});if(setTooltipConfig({el:En,componentModel:$e,itemName:Ue}),En.__fullText=Ue,En.anid="name",$e.get("triggerEvent")){var Tn=AxisBuilder.makeAxisEventDataBase($e);Tn.targetType="axisName",Tn.name=Ue,getECData(En).eventData=Tn}Fe.add(En),En.updateTransform(),Ie.add(En),En.decomposeTransform()}}};function endTextLayout(xe,$e,Ie,Fe){var Ue=remRadian(Ie-xe),qe,At,Dt=Fe[0]>Fe[1],Lt=$e==="start"&&!Dt||$e!=="start"&&Dt;return isRadianAroundZero(Ue-PI$3/2)?(At=Lt?"bottom":"top",qe="center"):isRadianAroundZero(Ue-PI$3*1.5)?(At=Lt?"top":"bottom",qe="center"):(At="middle",UePI$3/2?qe=Lt?"left":"right":qe=Lt?"right":"left"),{rotation:Ue,textAlign:qe,textVerticalAlign:At}}function fixMinMaxLabelShow(xe,$e,Ie){if(!shouldShowAllLabels(xe.axis)){var Fe=xe.get(["axisLabel","showMinLabel"]),Ue=xe.get(["axisLabel","showMaxLabel"]);$e=$e||[],Ie=Ie||[];var qe=$e[0],At=$e[1],Dt=$e[$e.length-1],Lt=$e[$e.length-2],jt=Ie[0],hn=Ie[1],vn=Ie[Ie.length-1],bn=Ie[Ie.length-2];Fe===!1?(ignoreEl(qe),ignoreEl(jt)):isTwoLabelOverlapped(qe,At)&&(Fe?(ignoreEl(At),ignoreEl(hn)):(ignoreEl(qe),ignoreEl(jt))),Ue===!1?(ignoreEl(Dt),ignoreEl(vn)):isTwoLabelOverlapped(Lt,Dt)&&(Ue?(ignoreEl(Lt),ignoreEl(bn)):(ignoreEl(Dt),ignoreEl(vn)))}}function ignoreEl(xe){xe&&(xe.ignore=!0)}function isTwoLabelOverlapped(xe,$e){var Ie=xe&&xe.getBoundingRect().clone(),Fe=$e&&$e.getBoundingRect().clone();if(!(!Ie||!Fe)){var Ue=identity([]);return rotate(Ue,Ue,-xe.rotation),Ie.applyTransform(mul([],Ue,xe.getLocalTransform())),Fe.applyTransform(mul([],Ue,$e.getLocalTransform())),Ie.intersect(Fe)}}function isNameLocationCenter(xe){return xe==="middle"||xe==="center"}function createTicks(xe,$e,Ie,Fe,Ue){for(var qe=[],At=[],Dt=[],Lt=0;Lt=0||xe===$e}function fixValue(xe){var $e=getAxisInfo$1(xe);if($e){var Ie=$e.axisPointerModel,Fe=$e.axis.scale,Ue=Ie.option,qe=Ie.get("status"),At=Ie.get("value");At!=null&&(At=Fe.parse(At));var Dt=isHandleTrigger(Ie);qe==null&&(Ue.status=Dt?"show":"hide");var Lt=Fe.getExtent().slice();Lt[0]>Lt[1]&&Lt.reverse(),(At==null||At>Lt[1])&&(At=Lt[1]),At0&&!wn.min?wn.min=0:wn.min!=null&&wn.min<0&&!wn.max&&(wn.max=0);var kn=Lt;wn.color!=null&&(kn=defaults({color:wn.color},Lt));var Cn=merge(clone$4(wn),{boundaryGap:Ie,splitNumber:Fe,scale:Ue,axisLine:qe,axisTick:At,axisLabel:Dt,name:wn.text,showName:jt,nameLocation:"end",nameGap:vn,nameTextStyle:kn,triggerEvent:bn},!1);if(isString(hn)){var Sn=Cn.name;Cn.name=hn.replace("{value}",Sn??"")}else isFunction(hn)&&(Cn.name=hn(Cn.name,Cn));var xn=new Model(Cn,null,this.ecModel);return mixin(xn,AxisModelCommonMixin.prototype),xn.mainType="radar",xn.componentIndex=this.componentIndex,xn},this);this._indicatorModels=_n},$e.prototype.getIndicatorModels=function(){return this._indicatorModels},$e.type="radar",$e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:merge({lineStyle:{color:"#bbb"}},valueAxisDefault.axisLine),axisLabel:defaultsShow(valueAxisDefault.axisLabel,!1),axisTick:defaultsShow(valueAxisDefault.axisTick,!1),splitLine:defaultsShow(valueAxisDefault.splitLine,!0),splitArea:defaultsShow(valueAxisDefault.splitArea,!0),indicator:[]},$e}(ComponentModel),axisBuilderAttrs$2=["axisLine","axisTickLabel","axisName"],RadarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group;qe.removeAll(),this._buildAxes(Ie),this._buildSplitLineAndArea(Ie)},$e.prototype._buildAxes=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe.getIndicatorAxes(),qe=map$1(Ue,function(At){var Dt=At.model.get("showName")?At.name:"",Lt=new AxisBuilder(At.model,{axisName:Dt,position:[Fe.cx,Fe.cy],rotation:At.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return Lt});each$f(qe,function(At){each$f(axisBuilderAttrs$2,At.add,At),this.group.add(At.getGroup())},this)},$e.prototype._buildSplitLineAndArea=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe.getIndicatorAxes();if(!Ue.length)return;var qe=Ie.get("shape"),At=Ie.getModel("splitLine"),Dt=Ie.getModel("splitArea"),Lt=At.getModel("lineStyle"),jt=Dt.getModel("areaStyle"),hn=At.get("show"),vn=Dt.get("show"),bn=Lt.get("color"),_n=jt.get("color"),wn=isArray$1(bn)?bn:[bn],kn=isArray$1(_n)?_n:[_n],Cn=[],Sn=[];function xn(Ln,Dn,Hn){var Fn=Hn%Dn.length;return Ln[Fn]=Ln[Fn]||[],Fn}if(qe==="circle")for(var En=Ue[0].getTicksCoords(),Tn=Fe.cx,An=Fe.cy,$n=0;$n3?1.4:At>1?1.2:1.1,hn=qe>0?jt:1/jt;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",Ie,{scale:hn,originX:Dt,originY:Lt,isAvailableBehavior:null})}if(Ue){var vn=Math.abs(qe),bn=(qe>0?1:-1)*(vn>3?.4:vn>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",Ie,{scrollDelta:bn,originX:Dt,originY:Lt,isAvailableBehavior:null})}}},$e.prototype._pinchHandler=function(Ie){if(!isTaken(this._zr,"globalPan")){var Fe=Ie.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,Ie,{scale:Fe,originX:Ie.pinchX,originY:Ie.pinchY,isAvailableBehavior:null})}},$e}(Eventful);function checkPointerAndTrigger(xe,$e,Ie,Fe,Ue){xe.pointerChecker&&xe.pointerChecker(Fe,Ue.originX,Ue.originY)&&(stop(Fe.event),trigger$1(xe,$e,Ie,Fe,Ue))}function trigger$1(xe,$e,Ie,Fe,Ue){Ue.isAvailableBehavior=bind$1(isAvailableBehavior,null,Ie,Fe),xe.trigger($e,Ue)}function isAvailableBehavior(xe,$e,Ie){var Fe=Ie[xe];return!xe||Fe&&(!isString(Fe)||$e.event[Fe+"Key"])}function updateViewOnPan(xe,$e,Ie){var Fe=xe.target;Fe.x+=$e,Fe.y+=Ie,Fe.dirty()}function updateViewOnZoom(xe,$e,Ie,Fe){var Ue=xe.target,qe=xe.zoomLimit,At=xe.zoom=xe.zoom||1;if(At*=$e,qe){var Dt=qe.min||0,Lt=qe.max||1/0;At=Math.max(Math.min(Lt,At),Dt)}var jt=At/xe.zoom;xe.zoom=At,Ue.x-=(Ie-Ue.x)*(jt-1),Ue.y-=(Fe-Ue.y)*(jt-1),Ue.scaleX*=jt,Ue.scaleY*=jt,Ue.dirty()}var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(xe,$e,Ie){var Fe=$e.getComponentByElement(xe.topTarget),Ue=Fe&&Fe.coordinateSystem;return Fe&&Fe!==Ie&&!IRRELEVANT_EXCLUDES.hasOwnProperty(Fe.mainType)&&Ue&&Ue.model!==Ie}function parseXML(xe){if(isString(xe)){var $e=new DOMParser;xe=$e.parseFromString(xe,"text/xml")}var Ie=xe;for(Ie.nodeType===9&&(Ie=Ie.firstChild);Ie.nodeName.toLowerCase()!=="svg"||Ie.nodeType!==1;)Ie=Ie.nextSibling;return Ie}var nodeParsers,INHERITABLE_STYLE_ATTRIBUTES_MAP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS=keys(INHERITABLE_STYLE_ATTRIBUTES_MAP),SELF_STYLE_ATTRIBUTES_MAP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},SELF_STYLE_ATTRIBUTES_MAP_KEYS=keys(SELF_STYLE_ATTRIBUTES_MAP),SVGParser=function(){function xe(){this._defs={},this._root=null}return xe.prototype.parse=function($e,Ie){Ie=Ie||{};var Fe=parseXML($e);this._defsUsePending=[];var Ue=new Group$3;this._root=Ue;var qe=[],At=Fe.getAttribute("viewBox")||"",Dt=parseFloat(Fe.getAttribute("width")||Ie.width),Lt=parseFloat(Fe.getAttribute("height")||Ie.height);isNaN(Dt)&&(Dt=null),isNaN(Lt)&&(Lt=null),parseAttributes(Fe,Ue,null,!0,!1);for(var jt=Fe.firstChild;jt;)this._parseNode(jt,Ue,qe,null,!1,!1),jt=jt.nextSibling;applyDefs(this._defs,this._defsUsePending),this._defsUsePending=[];var hn,vn;if(At){var bn=splitNumberSequence(At);bn.length>=4&&(hn={x:parseFloat(bn[0]||0),y:parseFloat(bn[1]||0),width:parseFloat(bn[2]),height:parseFloat(bn[3])})}if(hn&&Dt!=null&&Lt!=null&&(vn=makeViewBoxTransform(hn,{x:0,y:0,width:Dt,height:Lt}),!Ie.ignoreViewBox)){var _n=Ue;Ue=new Group$3,Ue.add(_n),_n.scaleX=_n.scaleY=vn.scale,_n.x=vn.x,_n.y=vn.y}return!Ie.ignoreRootClip&&Dt!=null&&Lt!=null&&Ue.setClipPath(new Rect$2({shape:{x:0,y:0,width:Dt,height:Lt}})),{root:Ue,width:Dt,height:Lt,viewBoxRect:hn,viewBoxTransform:vn,named:qe}},xe.prototype._parseNode=function($e,Ie,Fe,Ue,qe,At){var Dt=$e.nodeName.toLowerCase(),Lt,jt=Ue;if(Dt==="defs"&&(qe=!0),Dt==="text"&&(At=!0),Dt==="defs"||Dt==="switch")Lt=Ie;else{if(!qe){var hn=nodeParsers[Dt];if(hn&&hasOwn(nodeParsers,Dt)){Lt=hn.call(this,$e,Ie);var vn=$e.getAttribute("name");if(vn){var bn={name:vn,namedFrom:null,svgNodeTagLower:Dt,el:Lt};Fe.push(bn),Dt==="g"&&(jt=bn)}else Ue&&Fe.push({name:Ue.name,namedFrom:Ue,svgNodeTagLower:Dt,el:Lt});Ie.add(Lt)}}var _n=paintServerParsers[Dt];if(_n&&hasOwn(paintServerParsers,Dt)){var wn=_n.call(this,$e),kn=$e.getAttribute("id");kn&&(this._defs[kn]=wn)}}if(Lt&&Lt.isGroup)for(var Cn=$e.firstChild;Cn;)Cn.nodeType===1?this._parseNode(Cn,Lt,Fe,jt,qe,At):Cn.nodeType===3&&At&&this._parseText(Cn,Lt),Cn=Cn.nextSibling},xe.prototype._parseText=function($e,Ie){var Fe=new TSpan({style:{text:$e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),applyTextAlignment(Fe,Ie);var Ue=Fe.style,qe=Ue.fontSize;qe&&qe<9&&(Ue.fontSize=9,Fe.scaleX*=qe/9,Fe.scaleY*=qe/9);var At=(Ue.fontSize||Ue.fontFamily)&&[Ue.fontStyle,Ue.fontWeight,(Ue.fontSize||12)+"px",Ue.fontFamily||"sans-serif"].join(" ");Ue.font=At;var Dt=Fe.getBoundingRect();return this._textX+=Dt.width,Ie.add(Fe),Fe},xe.internalField=function(){nodeParsers={g:function($e,Ie){var Fe=new Group$3;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe},rect:function($e,Ie){var Fe=new Rect$2;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({x:parseFloat($e.getAttribute("x")||"0"),y:parseFloat($e.getAttribute("y")||"0"),width:parseFloat($e.getAttribute("width")||"0"),height:parseFloat($e.getAttribute("height")||"0")}),Fe.silent=!0,Fe},circle:function($e,Ie){var Fe=new Circle;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({cx:parseFloat($e.getAttribute("cx")||"0"),cy:parseFloat($e.getAttribute("cy")||"0"),r:parseFloat($e.getAttribute("r")||"0")}),Fe.silent=!0,Fe},line:function($e,Ie){var Fe=new Line$1;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({x1:parseFloat($e.getAttribute("x1")||"0"),y1:parseFloat($e.getAttribute("y1")||"0"),x2:parseFloat($e.getAttribute("x2")||"0"),y2:parseFloat($e.getAttribute("y2")||"0")}),Fe.silent=!0,Fe},ellipse:function($e,Ie){var Fe=new Ellipse$1;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({cx:parseFloat($e.getAttribute("cx")||"0"),cy:parseFloat($e.getAttribute("cy")||"0"),rx:parseFloat($e.getAttribute("rx")||"0"),ry:parseFloat($e.getAttribute("ry")||"0")}),Fe.silent=!0,Fe},polygon:function($e,Ie){var Fe=$e.getAttribute("points"),Ue;Fe&&(Ue=parsePoints(Fe));var qe=new Polygon({shape:{points:Ue||[]},silent:!0});return inheritStyle(Ie,qe),parseAttributes($e,qe,this._defsUsePending,!1,!1),qe},polyline:function($e,Ie){var Fe=$e.getAttribute("points"),Ue;Fe&&(Ue=parsePoints(Fe));var qe=new Polyline$1({shape:{points:Ue||[]},silent:!0});return inheritStyle(Ie,qe),parseAttributes($e,qe,this._defsUsePending,!1,!1),qe},image:function($e,Ie){var Fe=new ZRImage;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setStyle({image:$e.getAttribute("xlink:href")||$e.getAttribute("href"),x:+$e.getAttribute("x"),y:+$e.getAttribute("y"),width:+$e.getAttribute("width"),height:+$e.getAttribute("height")}),Fe.silent=!0,Fe},text:function($e,Ie){var Fe=$e.getAttribute("x")||"0",Ue=$e.getAttribute("y")||"0",qe=$e.getAttribute("dx")||"0",At=$e.getAttribute("dy")||"0";this._textX=parseFloat(Fe)+parseFloat(qe),this._textY=parseFloat(Ue)+parseFloat(At);var Dt=new Group$3;return inheritStyle(Ie,Dt),parseAttributes($e,Dt,this._defsUsePending,!1,!0),Dt},tspan:function($e,Ie){var Fe=$e.getAttribute("x"),Ue=$e.getAttribute("y");Fe!=null&&(this._textX=parseFloat(Fe)),Ue!=null&&(this._textY=parseFloat(Ue));var qe=$e.getAttribute("dx")||"0",At=$e.getAttribute("dy")||"0",Dt=new Group$3;return inheritStyle(Ie,Dt),parseAttributes($e,Dt,this._defsUsePending,!1,!0),this._textX+=parseFloat(qe),this._textY+=parseFloat(At),Dt},path:function($e,Ie){var Fe=$e.getAttribute("d")||"",Ue=createFromString(Fe);return inheritStyle(Ie,Ue),parseAttributes($e,Ue,this._defsUsePending,!1,!1),Ue.silent=!0,Ue}}}(),xe}(),paintServerParsers={lineargradient:function(xe){var $e=parseInt(xe.getAttribute("x1")||"0",10),Ie=parseInt(xe.getAttribute("y1")||"0",10),Fe=parseInt(xe.getAttribute("x2")||"10",10),Ue=parseInt(xe.getAttribute("y2")||"0",10),qe=new LinearGradient($e,Ie,Fe,Ue);return parsePaintServerUnit(xe,qe),parseGradientColorStops(xe,qe),qe},radialgradient:function(xe){var $e=parseInt(xe.getAttribute("cx")||"0",10),Ie=parseInt(xe.getAttribute("cy")||"0",10),Fe=parseInt(xe.getAttribute("r")||"0",10),Ue=new RadialGradient$1($e,Ie,Fe);return parsePaintServerUnit(xe,Ue),parseGradientColorStops(xe,Ue),Ue}};function parsePaintServerUnit(xe,$e){var Ie=xe.getAttribute("gradientUnits");Ie==="userSpaceOnUse"&&($e.global=!0)}function parseGradientColorStops(xe,$e){for(var Ie=xe.firstChild;Ie;){if(Ie.nodeType===1&&Ie.nodeName.toLocaleLowerCase()==="stop"){var Fe=Ie.getAttribute("offset"),Ue=void 0;Fe&&Fe.indexOf("%")>0?Ue=parseInt(Fe,10)/100:Fe?Ue=parseFloat(Fe):Ue=0;var qe={};parseInlineStyle(Ie,qe,qe);var At=qe.stopColor||Ie.getAttribute("stop-color")||"#000000";$e.colorStops.push({offset:Ue,color:At})}Ie=Ie.nextSibling}}function inheritStyle(xe,$e){xe&&xe.__inheritedStyle&&($e.__inheritedStyle||($e.__inheritedStyle={}),defaults($e.__inheritedStyle,xe.__inheritedStyle))}function parsePoints(xe){for(var $e=splitNumberSequence(xe),Ie=[],Fe=0;Fe<$e.length;Fe+=2){var Ue=parseFloat($e[Fe]),qe=parseFloat($e[Fe+1]);Ie.push([Ue,qe])}return Ie}function parseAttributes(xe,$e,Ie,Fe,Ue){var qe=$e,At=qe.__inheritedStyle=qe.__inheritedStyle||{},Dt={};xe.nodeType===1&&(parseTransformAttribute(xe,$e),parseInlineStyle(xe,At,Dt),Fe||parseAttributeStyle(xe,At,Dt)),qe.style=qe.style||{},At.fill!=null&&(qe.style.fill=getFillStrokeStyle(qe,"fill",At.fill,Ie)),At.stroke!=null&&(qe.style.stroke=getFillStrokeStyle(qe,"stroke",At.stroke,Ie)),each$f(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Lt){At[Lt]!=null&&(qe.style[Lt]=parseFloat(At[Lt]))}),each$f(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(Lt){At[Lt]!=null&&(qe.style[Lt]=At[Lt])}),Ue&&(qe.__selfStyle=Dt),At.lineDash&&(qe.style.lineDash=map$1(splitNumberSequence(At.lineDash),function(Lt){return parseFloat(Lt)})),(At.visibility==="hidden"||At.visibility==="collapse")&&(qe.invisible=!0),At.display==="none"&&(qe.ignore=!0)}function applyTextAlignment(xe,$e){var Ie=$e.__selfStyle;if(Ie){var Fe=Ie.textBaseline,Ue=Fe;!Fe||Fe==="auto"||Fe==="baseline"?Ue="alphabetic":Fe==="before-edge"||Fe==="text-before-edge"?Ue="top":Fe==="after-edge"||Fe==="text-after-edge"?Ue="bottom":(Fe==="central"||Fe==="mathematical")&&(Ue="middle"),xe.style.textBaseline=Ue}var qe=$e.__inheritedStyle;if(qe){var At=qe.textAlign,Dt=At;At&&(At==="middle"&&(Dt="center"),xe.style.textAlign=Dt)}}var urlRegex=/^url\(\s*#(.*?)\)/;function getFillStrokeStyle(xe,$e,Ie,Fe){var Ue=Ie&&Ie.match(urlRegex);if(Ue){var qe=trim$1(Ue[1]);Fe.push([xe,$e,qe]);return}return Ie==="none"&&(Ie=null),Ie}function applyDefs(xe,$e){for(var Ie=0;Ie<$e.length;Ie++){var Fe=$e[Ie];Fe[0].style[Fe[1]]=xe[Fe[2]]}}var numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function splitNumberSequence(xe){return xe.match(numberReg)||[]}var transformRegex=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,DEGREE_TO_ANGLE=Math.PI/180;function parseTransformAttribute(xe,$e){var Ie=xe.getAttribute("transform");if(Ie){Ie=Ie.replace(/,/g," ");var Fe=[],Ue=null;Ie.replace(transformRegex,function(vn,bn,_n){return Fe.push(bn,_n),""});for(var qe=Fe.length-1;qe>0;qe-=2){var At=Fe[qe],Dt=Fe[qe-1],Lt=splitNumberSequence(At);switch(Ue=Ue||create$1(),Dt){case"translate":translate(Ue,Ue,[parseFloat(Lt[0]),parseFloat(Lt[1]||"0")]);break;case"scale":scale$1(Ue,Ue,[parseFloat(Lt[0]),parseFloat(Lt[1]||Lt[0])]);break;case"rotate":rotate(Ue,Ue,-parseFloat(Lt[0])*DEGREE_TO_ANGLE,[parseFloat(Lt[1]||"0"),parseFloat(Lt[2]||"0")]);break;case"skewX":var jt=Math.tan(parseFloat(Lt[0])*DEGREE_TO_ANGLE);mul(Ue,[1,0,jt,1,0,0],Ue);break;case"skewY":var hn=Math.tan(parseFloat(Lt[0])*DEGREE_TO_ANGLE);mul(Ue,[1,hn,0,1,0,0],Ue);break;case"matrix":Ue[0]=parseFloat(Lt[0]),Ue[1]=parseFloat(Lt[1]),Ue[2]=parseFloat(Lt[2]),Ue[3]=parseFloat(Lt[3]),Ue[4]=parseFloat(Lt[4]),Ue[5]=parseFloat(Lt[5]);break}}$e.setLocalTransform(Ue)}}var styleRegex=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(xe,$e,Ie){var Fe=xe.getAttribute("style");if(Fe){styleRegex.lastIndex=0;for(var Ue;(Ue=styleRegex.exec(Fe))!=null;){var qe=Ue[1],At=hasOwn(INHERITABLE_STYLE_ATTRIBUTES_MAP,qe)?INHERITABLE_STYLE_ATTRIBUTES_MAP[qe]:null;At&&($e[At]=Ue[2]);var Dt=hasOwn(SELF_STYLE_ATTRIBUTES_MAP,qe)?SELF_STYLE_ATTRIBUTES_MAP[qe]:null;Dt&&(Ie[Dt]=Ue[2])}}}function parseAttributeStyle(xe,$e,Ie){for(var Fe=0;Fe0,Cn={api:Fe,geo:Lt,mapOrGeoModel:$e,data:Dt,isVisualEncodedByVisualMap:kn,isGeo:At,transformInfoRaw:bn};Lt.resourceType==="geoJSON"?this._buildGeoJSON(Cn):Lt.resourceType==="geoSVG"&&this._buildSVG(Cn),this._updateController($e,Ie,Fe),this._updateMapSelectHandler($e,jt,Fe,Ue)},xe.prototype._buildGeoJSON=function($e){var Ie=this._regionsGroupByName=createHashMap(),Fe=createHashMap(),Ue=this._regionsGroup,qe=$e.transformInfoRaw,At=$e.mapOrGeoModel,Dt=$e.data,Lt=$e.geo.projection,jt=Lt&&Lt.stream;function hn(_n,wn){return wn&&(_n=wn(_n)),_n&&[_n[0]*qe.scaleX+qe.x,_n[1]*qe.scaleY+qe.y]}function vn(_n){for(var wn=[],kn=!jt&&Lt&&Lt.project,Cn=0;Cn<_n.length;++Cn){var Sn=hn(_n[Cn],kn);Sn&&wn.push(Sn)}return wn}function bn(_n){return{shape:{points:vn(_n)}}}Ue.removeAll(),each$f($e.geo.regions,function(_n){var wn=_n.name,kn=Ie.get(wn),Cn=Fe.get(wn)||{},Sn=Cn.dataIdx,xn=Cn.regionModel;kn||(kn=Ie.set(wn,new Group$3),Ue.add(kn),Sn=Dt?Dt.indexOfName(wn):null,xn=$e.isGeo?At.getRegionModel(wn):Dt?Dt.getItemModel(Sn):null,Fe.set(wn,{dataIdx:Sn,regionModel:xn}));var En=[],Tn=[];each$f(_n.geometries,function(Pn){if(Pn.type==="polygon"){var Nn=[Pn.exterior].concat(Pn.interiors||[]);jt&&(Nn=projectPolys(Nn,jt)),each$f(Nn,function(In){En.push(new Polygon(bn(In)))})}else{var Mn=Pn.points;jt&&(Mn=projectPolys(Mn,jt,!0)),each$f(Mn,function(In){Tn.push(new Polyline$1(bn(In)))})}});var An=hn(_n.getCenter(),Lt&&Lt.project);function $n(Pn,Nn){if(Pn.length){var Mn=new CompoundPath$1({culling:!0,segmentIgnoreThreshold:1,shape:{paths:Pn}});kn.add(Mn),applyOptionStyleForRegion($e,Mn,Sn,xn),resetLabelForRegion($e,Mn,wn,xn,At,Sn,An),Nn&&(fixLineStyle(Mn),each$f(Mn.states,fixLineStyle))}}$n(En),$n(Tn,!0)}),Ie.each(function(_n,wn){var kn=Fe.get(wn),Cn=kn.dataIdx,Sn=kn.regionModel;resetEventTriggerForRegion($e,_n,wn,Sn,At,Cn),resetTooltipForRegion($e,_n,wn,Sn,At),resetStateTriggerForRegion($e,_n,wn,Sn,At)},this)},xe.prototype._buildSVG=function($e){var Ie=$e.geo.map,Fe=$e.transformInfoRaw;this._svgGroup.x=Fe.x,this._svgGroup.y=Fe.y,this._svgGroup.scaleX=Fe.scaleX,this._svgGroup.scaleY=Fe.scaleY,this._svgResourceChanged(Ie)&&(this._freeSVG(),this._useSVG(Ie));var Ue=this._svgDispatcherMap=createHashMap(),qe=!1;each$f(this._svgGraphicRecord.named,function(At){var Dt=At.name,Lt=$e.mapOrGeoModel,jt=$e.data,hn=At.svgNodeTagLower,vn=At.el,bn=jt?jt.indexOfName(Dt):null,_n=Lt.getRegionModel(Dt);if(OPTION_STYLE_ENABLED_TAG_MAP.get(hn)!=null&&vn instanceof Displayable&&applyOptionStyleForRegion($e,vn,bn,_n),vn instanceof Displayable&&(vn.culling=!0),vn.z2EmphasisLift=0,!At.namedFrom&&(LABEL_HOST_MAP.get(hn)!=null&&resetLabelForRegion($e,vn,Dt,_n,Lt,bn,null),resetEventTriggerForRegion($e,vn,Dt,_n,Lt,bn),resetTooltipForRegion($e,vn,Dt,_n,Lt),STATE_TRIGGER_TAG_MAP.get(hn)!=null)){var wn=resetStateTriggerForRegion($e,vn,Dt,_n,Lt);wn==="self"&&(qe=!0);var kn=Ue.get(Dt)||Ue.set(Dt,[]);kn.push(vn)}},this),this._enableBlurEntireSVG(qe,$e)},xe.prototype._enableBlurEntireSVG=function($e,Ie){if($e&&Ie.isGeo){var Fe=Ie.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),Ue=Fe.opacity;this._svgGraphicRecord.root.traverse(function(qe){if(!qe.isGroup){setDefaultStateProxy(qe);var At=qe.ensureState("blur").style||{};At.opacity==null&&Ue!=null&&(At.opacity=Ue),qe.ensureState("emphasis")}})}},xe.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},xe.prototype.findHighDownDispatchers=function($e,Ie){if($e==null)return[];var Fe=Ie.coordinateSystem;if(Fe.resourceType==="geoJSON"){var Ue=this._regionsGroupByName;if(Ue){var qe=Ue.get($e);return qe?[qe]:[]}}else if(Fe.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get($e)||[]},xe.prototype._svgResourceChanged=function($e){return this._svgMapName!==$e},xe.prototype._useSVG=function($e){var Ie=geoSourceManager.getGeoResource($e);if(Ie&&Ie.type==="geoSVG"){var Fe=Ie.useGraphic(this.uid);this._svgGroup.add(Fe.root),this._svgGraphicRecord=Fe,this._svgMapName=$e}},xe.prototype._freeSVG=function(){var $e=this._svgMapName;if($e!=null){var Ie=geoSourceManager.getGeoResource($e);Ie&&Ie.type==="geoSVG"&&Ie.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},xe.prototype._updateController=function($e,Ie,Fe){var Ue=$e.coordinateSystem,qe=this._controller,At=this._controllerHost;At.zoomLimit=$e.get("scaleLimit"),At.zoom=Ue.getZoom(),qe.enable($e.get("roam")||!1);var Dt=$e.mainType;function Lt(){var jt={type:"geoRoam",componentType:Dt};return jt[Dt+"Id"]=$e.id,jt}qe.off("pan").on("pan",function(jt){this._mouseDownFlag=!1,updateViewOnPan(At,jt.dx,jt.dy),Fe.dispatchAction(extend(Lt(),{dx:jt.dx,dy:jt.dy,animation:{duration:0}}))},this),qe.off("zoom").on("zoom",function(jt){this._mouseDownFlag=!1,updateViewOnZoom(At,jt.scale,jt.originX,jt.originY),Fe.dispatchAction(extend(Lt(),{zoom:jt.scale,originX:jt.originX,originY:jt.originY,animation:{duration:0}}))},this),qe.setPointerChecker(function(jt,hn,vn){return Ue.containPoint([hn,vn])&&!onIrrelevantElement(jt,Fe,$e)})},xe.prototype.resetForLabelLayout=function(){this.group.traverse(function($e){var Ie=$e.getTextContent();Ie&&(Ie.ignore=mapLabelRaw(Ie).ignore)})},xe.prototype._updateMapSelectHandler=function($e,Ie,Fe,Ue){var qe=this;Ie.off("mousedown"),Ie.off("click"),$e.get("selectedMode")&&(Ie.on("mousedown",function(){qe._mouseDownFlag=!0}),Ie.on("click",function(At){qe._mouseDownFlag&&(qe._mouseDownFlag=!1)}))},xe}();function applyOptionStyleForRegion(xe,$e,Ie,Fe){var Ue=Fe.getModel("itemStyle"),qe=Fe.getModel(["emphasis","itemStyle"]),At=Fe.getModel(["blur","itemStyle"]),Dt=Fe.getModel(["select","itemStyle"]),Lt=getFixedItemStyle(Ue),jt=getFixedItemStyle(qe),hn=getFixedItemStyle(Dt),vn=getFixedItemStyle(At),bn=xe.data;if(bn){var _n=bn.getItemVisual(Ie,"style"),wn=bn.getItemVisual(Ie,"decal");xe.isVisualEncodedByVisualMap&&_n.fill&&(Lt.fill=_n.fill),wn&&(Lt.decal=createOrUpdatePatternFromDecal(wn,xe.api))}$e.setStyle(Lt),$e.style.strokeNoScale=!0,$e.ensureState("emphasis").style=jt,$e.ensureState("select").style=hn,$e.ensureState("blur").style=vn,setDefaultStateProxy($e)}function resetLabelForRegion(xe,$e,Ie,Fe,Ue,qe,At){var Dt=xe.data,Lt=xe.isGeo,jt=Dt&&isNaN(Dt.get(Dt.mapDimension("value"),qe)),hn=Dt&&Dt.getItemLayout(qe);if(Lt||jt||hn&&hn.showLabel){var vn=Lt?Ie:qe,bn=void 0;(!Dt||qe>=0)&&(bn=Ue);var _n=At?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle($e,getLabelStatesModels(Fe),{labelFetcher:bn,labelDataIndex:vn,defaultText:Ie},_n);var wn=$e.getTextContent();if(wn&&(mapLabelRaw(wn).ignore=wn.ignore,$e.textConfig&&At)){var kn=$e.getBoundingRect().clone();$e.textConfig.layoutRect=kn,$e.textConfig.position=[(At[0]-kn.x)/kn.width*100+"%",(At[1]-kn.y)/kn.height*100+"%"]}$e.disableLabelAnimation=!0}else $e.removeTextContent(),$e.removeTextConfig(),$e.disableLabelAnimation=null}function resetEventTriggerForRegion(xe,$e,Ie,Fe,Ue,qe){xe.data?xe.data.setItemGraphicEl(qe,$e):getECData($e).eventData={componentType:"geo",componentIndex:Ue.componentIndex,geoIndex:Ue.componentIndex,name:Ie,region:Fe&&Fe.option||{}}}function resetTooltipForRegion(xe,$e,Ie,Fe,Ue){xe.data||setTooltipConfig({el:$e,componentModel:Ue,itemName:Ie,itemTooltipOption:Fe.get("tooltip")})}function resetStateTriggerForRegion(xe,$e,Ie,Fe,Ue){$e.highDownSilentOnTouch=!!Ue.get("selectedMode");var qe=Fe.getModel("emphasis"),At=qe.get("focus");return toggleHoverEmphasis($e,At,qe.get("blurScope"),qe.get("disabled")),xe.isGeo&&enableComponentHighDownFeatures($e,Ue,Ie),At}function projectPolys(xe,$e,Ie){var Fe=[],Ue;function qe(){Ue=[]}function At(){Ue.length&&(Fe.push(Ue),Ue=[])}var Dt=$e({polygonStart:qe,polygonEnd:At,lineStart:qe,lineEnd:At,point:function(Lt,jt){isFinite(Lt)&&isFinite(jt)&&Ue.push([Lt,jt])},sphere:function(){}});return!Ie&&Dt.polygonStart(),each$f(xe,function(Lt){Dt.lineStart();for(var jt=0;jt-1&&(Ue.style.stroke=Ue.style.fill,Ue.style.fill="#fff",Ue.style.lineWidth=2),Ue},$e.type="series.map",$e.dependencies=["geo"],$e.layoutMode="box",$e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},$e}(SeriesModel);function dataStatistics(xe,$e){var Ie={};return each$f(xe,function(Fe){Fe.each(Fe.mapDimension("value"),function(Ue,qe){var At="ec-"+Fe.getName(qe);Ie[At]=Ie[At]||[],isNaN(Ue)||Ie[At].push(Ue)})}),xe[0].map(xe[0].mapDimension("value"),function(Fe,Ue){for(var qe="ec-"+xe[0].getName(Ue),At=0,Dt=1/0,Lt=-1/0,jt=Ie[qe].length,hn=0;hn1?(Tn.width=En,Tn.height=En/Cn):(Tn.height=En,Tn.width=En*Cn),Tn.y=xn[1]-Tn.height/2,Tn.x=xn[0]-Tn.width/2;else{var An=xe.getBoxLayoutParams();An.aspect=Cn,Tn=getLayoutRect(An,{width:wn,height:kn})}this.setViewRect(Tn.x,Tn.y,Tn.width,Tn.height),this.setCenter(xe.get("center"),$e),this.setZoom(xe.get("zoom"))}function setGeoCoords(xe,$e){each$f($e.get("geoCoord"),function(Ie,Fe){xe.addGeoCoord(Fe,Ie)})}var GeoCreator=function(){function xe(){this.dimensions=geo2DDimensions}return xe.prototype.create=function($e,Ie){var Fe=[];function Ue(At){return{nameProperty:At.get("nameProperty"),aspectScale:At.get("aspectScale"),projection:At.get("projection")}}$e.eachComponent("geo",function(At,Dt){var Lt=At.get("map"),jt=new Geo$1(Lt+Dt,Lt,extend({nameMap:At.get("nameMap")},Ue(At)));jt.zoomLimit=At.get("scaleLimit"),Fe.push(jt),At.coordinateSystem=jt,jt.model=At,jt.resize=resizeGeo,jt.resize(At,Ie)}),$e.eachSeries(function(At){var Dt=At.get("coordinateSystem");if(Dt==="geo"){var Lt=At.get("geoIndex")||0;At.coordinateSystem=Fe[Lt]}});var qe={};return $e.eachSeriesByType("map",function(At){if(!At.getHostGeoModel()){var Dt=At.getMapType();qe[Dt]=qe[Dt]||[],qe[Dt].push(At)}}),each$f(qe,function(At,Dt){var Lt=map$1(At,function(hn){return hn.get("nameMap")}),jt=new Geo$1(Dt,Dt,extend({nameMap:mergeAll(Lt)},Ue(At[0])));jt.zoomLimit=retrieve.apply(null,map$1(At,function(hn){return hn.get("scaleLimit")})),Fe.push(jt),jt.resize=resizeGeo,jt.resize(At[0],Ie),each$f(At,function(hn){hn.coordinateSystem=jt,setGeoCoords(jt,hn)})}),Fe},xe.prototype.getFilledRegions=function($e,Ie,Fe,Ue){for(var qe=($e||[]).slice(),At=createHashMap(),Dt=0;Dt=0;At--){var Dt=Ue[At];Dt.hierNode={defaultAncestor:null,ancestor:Dt,prelim:0,modifier:0,change:0,shift:0,i:At,thread:null},Ie.push(Dt)}}function firstWalk(xe,$e){var Ie=xe.isExpand?xe.children:[],Fe=xe.parentNode.children,Ue=xe.hierNode.i?Fe[xe.hierNode.i-1]:null;if(Ie.length){executeShifts(xe);var qe=(Ie[0].hierNode.prelim+Ie[Ie.length-1].hierNode.prelim)/2;Ue?(xe.hierNode.prelim=Ue.hierNode.prelim+$e(xe,Ue),xe.hierNode.modifier=xe.hierNode.prelim-qe):xe.hierNode.prelim=qe}else Ue&&(xe.hierNode.prelim=Ue.hierNode.prelim+$e(xe,Ue));xe.parentNode.hierNode.defaultAncestor=apportion(xe,Ue,xe.parentNode.hierNode.defaultAncestor||Fe[0],$e)}function secondWalk(xe){var $e=xe.hierNode.prelim+xe.parentNode.hierNode.modifier;xe.setLayout({x:$e},!0),xe.hierNode.modifier+=xe.parentNode.hierNode.modifier}function separation(xe){return arguments.length?xe:defaultSeparation}function radialCoordinate(xe,$e){return xe-=Math.PI/2,{x:$e*Math.cos(xe),y:$e*Math.sin(xe)}}function getViewRect$4(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function executeShifts(xe){for(var $e=xe.children,Ie=$e.length,Fe=0,Ue=0;--Ie>=0;){var qe=$e[Ie];qe.hierNode.prelim+=Fe,qe.hierNode.modifier+=Fe,Ue+=qe.hierNode.change,Fe+=qe.hierNode.shift+Ue}}function apportion(xe,$e,Ie,Fe){if($e){for(var Ue=xe,qe=xe,At=qe.parentNode.children[0],Dt=$e,Lt=Ue.hierNode.modifier,jt=qe.hierNode.modifier,hn=At.hierNode.modifier,vn=Dt.hierNode.modifier;Dt=nextRight(Dt),qe=nextLeft(qe),Dt&&qe;){Ue=nextRight(Ue),At=nextLeft(At),Ue.hierNode.ancestor=xe;var bn=Dt.hierNode.prelim+vn-qe.hierNode.prelim-jt+Fe(Dt,qe);bn>0&&(moveSubtree(nextAncestor(Dt,xe,Ie),xe,bn),jt+=bn,Lt+=bn),vn+=Dt.hierNode.modifier,jt+=qe.hierNode.modifier,Lt+=Ue.hierNode.modifier,hn+=At.hierNode.modifier}Dt&&!nextRight(Ue)&&(Ue.hierNode.thread=Dt,Ue.hierNode.modifier+=vn-Lt),qe&&!nextLeft(At)&&(At.hierNode.thread=qe,At.hierNode.modifier+=jt-hn,Ie=xe)}return Ie}function nextRight(xe){var $e=xe.children;return $e.length&&xe.isExpand?$e[$e.length-1]:xe.hierNode.thread}function nextLeft(xe){var $e=xe.children;return $e.length&&xe.isExpand?$e[0]:xe.hierNode.thread}function nextAncestor(xe,$e,Ie){return xe.hierNode.ancestor.parentNode===$e.parentNode?xe.hierNode.ancestor:Ie}function moveSubtree(xe,$e,Ie){var Fe=Ie/($e.hierNode.i-xe.hierNode.i);$e.hierNode.change-=Fe,$e.hierNode.shift+=Ie,$e.hierNode.modifier+=Ie,$e.hierNode.prelim+=Ie,xe.hierNode.change+=Fe}function defaultSeparation(xe,$e){return xe.parentNode===$e.parentNode?1:2}var TreeEdgeShape=function(){function xe(){this.parentPoint=[],this.childPoints=[]}return xe}(),TreePath=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new TreeEdgeShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.childPoints,qe=Ue.length,At=Fe.parentPoint,Dt=Ue[0],Lt=Ue[qe-1];if(qe===1){Ie.moveTo(At[0],At[1]),Ie.lineTo(Dt[0],Dt[1]);return}var jt=Fe.orient,hn=jt==="TB"||jt==="BT"?0:1,vn=1-hn,bn=parsePercent(Fe.forkPosition,1),_n=[];_n[hn]=At[hn],_n[vn]=At[vn]+(Lt[vn]-At[vn])*bn,Ie.moveTo(At[0],At[1]),Ie.lineTo(_n[0],_n[1]),Ie.moveTo(Dt[0],Dt[1]),_n[hn]=Dt[hn],Ie.lineTo(_n[0],_n[1]),_n[hn]=Lt[hn],Ie.lineTo(_n[0],_n[1]),Ie.lineTo(Lt[0],Lt[1]);for(var wn=1;wnxn.x,An||(Tn=Tn-Math.PI));var Pn=An?"left":"right",Nn=Dt.getModel("label"),Mn=Nn.get("rotate"),In=Mn*(Math.PI/180),On=Cn.getTextContent();On&&(Cn.setTextConfig({position:Nn.get("position")||Pn,rotation:Mn==null?-Tn:In,origin:"center"}),On.setStyle("verticalAlign","middle"))}var Rn=Dt.get(["emphasis","focus"]),Bn=Rn==="relative"?concatArray(At.getAncestorsIndices(),At.getDescendantIndices()):Rn==="ancestor"?At.getAncestorsIndices():Rn==="descendant"?At.getDescendantIndices():null;Bn&&(getECData(Ie).focus=Bn),drawEdge(Ue,At,hn,Ie,wn,_n,kn,Fe),Ie.__edge&&(Ie.onHoverStateChange=function(Vn){if(Vn!=="blur"){var Ln=At.parentNode&&xe.getItemGraphicEl(At.parentNode.dataIndex);Ln&&Ln.hoverState===HOVER_STATE_BLUR||setStatesFlag(Ie.__edge,Vn)}})}function drawEdge(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=$e.getModel(),jt=xe.get("edgeShape"),hn=xe.get("layout"),vn=xe.getOrient(),bn=xe.get(["lineStyle","curveness"]),_n=xe.get("edgeForkPosition"),wn=Lt.getModel("lineStyle").getLineStyle(),kn=Fe.__edge;if(jt==="curve")$e.parentNode&&$e.parentNode!==Ie&&(kn||(kn=Fe.__edge=new BezierCurve({shape:getEdgeShape(hn,vn,bn,Ue,Ue)})),updateProps$1(kn,{shape:getEdgeShape(hn,vn,bn,qe,At)},xe));else if(jt==="polyline"&&hn==="orthogonal"&&$e!==Ie&&$e.children&&$e.children.length!==0&&$e.isExpand===!0){for(var Cn=$e.children,Sn=[],xn=0;xnIe&&(Ie=Ue.height)}this.height=Ie+1},xe.prototype.getNodeById=function($e){if(this.getId()===$e)return this;for(var Ie=0,Fe=this.children,Ue=Fe.length;Ie=0&&this.hostTree.data.setItemLayout(this.dataIndex,$e,Ie)},xe.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},xe.prototype.getModel=function($e){if(!(this.dataIndex<0)){var Ie=this.hostTree,Fe=Ie.data.getItemModel(this.dataIndex);return Fe.getModel($e)}},xe.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},xe.prototype.setVisual=function($e,Ie){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,$e,Ie)},xe.prototype.getVisual=function($e){return this.hostTree.data.getItemVisual(this.dataIndex,$e)},xe.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},xe.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},xe.prototype.getChildIndex=function(){if(this.parentNode){for(var $e=this.parentNode.children,Ie=0;Ie<$e.length;++Ie)if($e[Ie]===this)return Ie;return-1}return-1},xe.prototype.isAncestorOf=function($e){for(var Ie=$e.parentNode;Ie;){if(Ie===this)return!0;Ie=Ie.parentNode}return!1},xe.prototype.isDescendantOf=function($e){return $e!==this&&$e.isAncestorOf(this)},xe}(),Tree=function(){function xe($e){this.type="tree",this._nodes=[],this.hostModel=$e}return xe.prototype.eachNode=function($e,Ie,Fe){this.root.eachNode($e,Ie,Fe)},xe.prototype.getNodeByDataIndex=function($e){var Ie=this.data.getRawIndex($e);return this._nodes[Ie]},xe.prototype.getNodeById=function($e){return this.root.getNodeById($e)},xe.prototype.update=function(){for(var $e=this.data,Ie=this._nodes,Fe=0,Ue=Ie.length;Fe=0){var Fe=Ie.getData().tree.root,Ue=xe.targetNode;if(isString(Ue)&&(Ue=Fe.getNodeById(Ue)),Ue&&Fe.contains(Ue))return{node:Ue};var qe=xe.targetNodeId;if(qe!=null&&(Ue=Fe.getNodeById(qe)))return{node:Ue}}}function getPathToRoot(xe){for(var $e=[];xe;)xe=xe.parentNode,xe&&$e.push(xe);return $e.reverse()}function aboveViewRoot(xe,$e){var Ie=getPathToRoot(xe);return indexOf(Ie,$e)>=0}function wrapTreePathInfo(xe,$e){for(var Ie=[];xe;){var Fe=xe.dataIndex;Ie.push({name:xe.name,dataIndex:Fe,value:$e.getRawValue(Fe)}),xe=xe.parentNode}return Ie.reverse(),Ie}var TreeSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.hasSymbolVisual=!0,Ie.ignoreStyleOnData=!0,Ie}return $e.prototype.getInitialData=function(Ie){var Fe={name:Ie.name,children:Ie.data},Ue=Ie.leaves||{},qe=new Model(Ue,this,this.ecModel),At=Tree.createTree(Fe,this,Dt);function Dt(vn){vn.wrapMethod("getItemModel",function(bn,_n){var wn=At.getNodeByDataIndex(_n);return wn&&wn.children.length&&wn.isExpand||(bn.parentModel=qe),bn})}var Lt=0;At.eachNode("preorder",function(vn){vn.depth>Lt&&(Lt=vn.depth)});var jt=Ie.expandAndCollapse,hn=jt&&Ie.initialTreeDepth>=0?Ie.initialTreeDepth:Lt;return At.root.eachNode("preorder",function(vn){var bn=vn.hostTree.data.getRawDataItem(vn.dataIndex);vn.isExpand=bn&&bn.collapsed!=null?!bn.collapsed:vn.depth<=hn}),At.data},$e.prototype.getOrient=function(){var Ie=this.get("orient");return Ie==="horizontal"?Ie="LR":Ie==="vertical"&&(Ie="TB"),Ie},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.formatTooltip=function(Ie,Fe,Ue){for(var qe=this.getData().tree,At=qe.root.children[0],Dt=qe.getNodeByDataIndex(Ie),Lt=Dt.getValue(),jt=Dt.name;Dt&&Dt!==At;)jt=Dt.parentNode.name+"."+jt,Dt=Dt.parentNode;return createTooltipMarkup("nameValue",{name:jt,value:Lt,noValue:isNaN(Lt)||Lt==null})},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treeAncestors=wrapTreePathInfo(Ue,this),Fe.collapsed=!Ue.isExpand,Fe},$e.type="series.tree",$e.layoutMode="box",$e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},$e}(SeriesModel);function eachAfter(xe,$e,Ie){for(var Fe=[xe],Ue=[],qe;qe=Fe.pop();)if(Ue.push(qe),qe.isExpand){var At=qe.children;if(At.length)for(var Dt=0;Dt=0;qe--)Ie.push(Ue[qe])}}function treeLayout(xe,$e){xe.eachSeriesByType("tree",function(Ie){commonLayout(Ie,$e)})}function commonLayout(xe,$e){var Ie=getViewRect$4(xe,$e);xe.layoutInfo=Ie;var Fe=xe.get("layout"),Ue=0,qe=0,At=null;Fe==="radial"?(Ue=2*Math.PI,qe=Math.min(Ie.height,Ie.width)/2,At=separation(function(En,Tn){return(En.parentNode===Tn.parentNode?1:2)/En.depth})):(Ue=Ie.width,qe=Ie.height,At=separation());var Dt=xe.getData().tree.root,Lt=Dt.children[0];if(Lt){init(Dt),eachAfter(Lt,firstWalk,At),Dt.hierNode.modifier=-Lt.hierNode.prelim,eachBefore(Lt,secondWalk);var jt=Lt,hn=Lt,vn=Lt;eachBefore(Lt,function(En){var Tn=En.getLayout().x;Tnhn.getLayout().x&&(hn=En),En.depth>vn.depth&&(vn=En)});var bn=jt===hn?1:At(jt,hn)/2,_n=bn-jt.getLayout().x,wn=0,kn=0,Cn=0,Sn=0;if(Fe==="radial")wn=Ue/(hn.getLayout().x+bn+_n),kn=qe/(vn.depth-1||1),eachBefore(Lt,function(En){Cn=(En.getLayout().x+_n)*wn,Sn=(En.depth-1)*kn;var Tn=radialCoordinate(Cn,Sn);En.setLayout({x:Tn.x,y:Tn.y,rawX:Cn,rawY:Sn},!0)});else{var xn=xe.getOrient();xn==="RL"||xn==="LR"?(kn=qe/(hn.getLayout().x+bn+_n),wn=Ue/(vn.depth-1||1),eachBefore(Lt,function(En){Sn=(En.getLayout().x+_n)*kn,Cn=xn==="LR"?(En.depth-1)*wn:Ue-(En.depth-1)*wn,En.setLayout({x:Cn,y:Sn},!0)})):(xn==="TB"||xn==="BT")&&(wn=Ue/(hn.getLayout().x+bn+_n),kn=qe/(vn.depth-1||1),eachBefore(Lt,function(En){Cn=(En.getLayout().x+_n)*wn,Sn=xn==="TB"?(En.depth-1)*kn:qe-(En.depth-1)*kn,En.setLayout({x:Cn,y:Sn},!0)}))}}}function treeVisual(xe){xe.eachSeriesByType("tree",function($e){var Ie=$e.getData(),Fe=Ie.tree;Fe.eachNode(function(Ue){var qe=Ue.getModel(),At=qe.getModel("itemStyle").getItemStyle(),Dt=Ie.ensureUniqueItemVisual(Ue.dataIndex,"style");extend(Dt,At)})})}function installTreeAction(xe){xe.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"tree",query:$e},function(Fe){var Ue=$e.dataIndex,qe=Fe.getData().tree,At=qe.getNodeByDataIndex(Ue);At.isExpand=!At.isExpand})}),xe.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function($e,Ie,Fe){Ie.eachComponent({mainType:"series",subType:"tree",query:$e},function(Ue){var qe=Ue.coordinateSystem,At=updateCenterAndZoom(qe,$e,void 0,Fe);Ue.setCenter&&Ue.setCenter(At.center),Ue.setZoom&&Ue.setZoom(At.zoom)})})}function install$I(xe){xe.registerChartView(TreeView),xe.registerSeriesModel(TreeSeriesModel),xe.registerLayout(treeLayout),xe.registerVisual(treeVisual),installTreeAction(xe)}var actionTypes=["treemapZoomToNode","treemapRender","treemapMove"];function installTreemapAction(xe){for(var $e=0;$e1;)qe=qe.parentNode;var At=getDecalFromPalette(xe.ecModel,qe.name||qe.dataIndex+"",Fe);Ue.setVisual("decal",At)})}var TreemapSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.preventUsingHoverLayer=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue={name:Ie.name,children:Ie.data};completeTreeValue$1(Ue);var qe=Ie.levels||[],At=this.designatedVisualItemStyle={},Dt=new Model({itemStyle:At},this,Fe);qe=Ie.levels=setDefault(qe,Fe);var Lt=map$1(qe||[],function(vn){return new Model(vn,Dt,Fe)},this),jt=Tree.createTree(Ue,this,hn);function hn(vn){vn.wrapMethod("getItemModel",function(bn,_n){var wn=jt.getNodeByDataIndex(_n),kn=wn?Lt[wn.depth]:null;return bn.parentModel=kn||Dt,bn})}return jt.data},$e.prototype.optionUpdated=function(){this.resetViewRoot()},$e.prototype.formatTooltip=function(Ie,Fe,Ue){var qe=this.getData(),At=this.getRawValue(Ie),Dt=qe.getName(Ie);return createTooltipMarkup("nameValue",{name:Dt,value:At})},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treeAncestors=wrapTreePathInfo(Ue,this),Fe.treePathInfo=Fe.treeAncestors,Fe},$e.prototype.setLayoutInfo=function(Ie){this.layoutInfo=this.layoutInfo||{},extend(this.layoutInfo,Ie)},$e.prototype.mapIdToIndex=function(Ie){var Fe=this._idIndexMap;Fe||(Fe=this._idIndexMap=createHashMap(),this._idIndexMapCount=0);var Ue=Fe.get(Ie);return Ue==null&&Fe.set(Ie,Ue=this._idIndexMapCount++),Ue},$e.prototype.getViewRoot=function(){return this._viewRoot},$e.prototype.resetViewRoot=function(Ie){Ie?this._viewRoot=Ie:Ie=this._viewRoot;var Fe=this.getRawData().tree.root;(!Ie||Ie!==Fe&&!Fe.contains(Ie))&&(this._viewRoot=Fe)},$e.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},$e.type="series.treemap",$e.layoutMode="box",$e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},$e}(SeriesModel);function completeTreeValue$1(xe){var $e=0;each$f(xe.children,function(Fe){completeTreeValue$1(Fe);var Ue=Fe.value;isArray$1(Ue)&&(Ue=Ue[0]),$e+=Ue});var Ie=xe.value;isArray$1(Ie)&&(Ie=Ie[0]),(Ie==null||isNaN(Ie))&&(Ie=$e),Ie<0&&(Ie=0),isArray$1(xe.value)?xe.value[0]=Ie:xe.value=Ie}function setDefault(xe,$e){var Ie=normalizeToArray($e.get("color")),Fe=normalizeToArray($e.get(["aria","decal","decals"]));if(Ie){xe=xe||[];var Ue,qe;each$f(xe,function(Dt){var Lt=new Model(Dt),jt=Lt.get("color"),hn=Lt.get("decal");(Lt.get(["itemStyle","color"])||jt&&jt!=="none")&&(Ue=!0),(Lt.get(["itemStyle","decal"])||hn&&hn!=="none")&&(qe=!0)});var At=xe[0]||(xe[0]={});return Ue||(At.color=Ie.slice()),!qe&&Fe&&(At.decal=Fe.slice()),xe}}var TEXT_PADDING=8,ITEM_GAP=8,ARRAY_LENGTH=5,Breadcrumb=function(){function xe($e){this.group=new Group$3,$e.add(this.group)}return xe.prototype.render=function($e,Ie,Fe,Ue){var qe=$e.getModel("breadcrumb"),At=this.group;if(At.removeAll(),!(!qe.get("show")||!Fe)){var Dt=qe.getModel("itemStyle"),Lt=qe.getModel("emphasis"),jt=Dt.getModel("textStyle"),hn=Lt.getModel(["itemStyle","textStyle"]),vn={pos:{left:qe.get("left"),right:qe.get("right"),top:qe.get("top"),bottom:qe.get("bottom")},box:{width:Ie.getWidth(),height:Ie.getHeight()},emptyItemWidth:qe.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(Fe,vn,jt),this._renderContent($e,vn,Dt,Lt,jt,hn,Ue),positionElement(At,vn.pos,vn.box)}},xe.prototype._prepare=function($e,Ie,Fe){for(var Ue=$e;Ue;Ue=Ue.parentNode){var qe=convertOptionIdName(Ue.getModel().get("name"),""),At=Fe.getTextRect(qe),Dt=Math.max(At.width+TEXT_PADDING*2,Ie.emptyItemWidth);Ie.totalWidth+=Dt+ITEM_GAP,Ie.renderList.push({node:Ue,text:qe,width:Dt})}},xe.prototype._renderContent=function($e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=0,jt=Ie.emptyItemWidth,hn=$e.get(["breadcrumb","height"]),vn=getAvailableSize(Ie.pos,Ie.box),bn=Ie.totalWidth,_n=Ie.renderList,wn=Ue.getModel("itemStyle").getItemStyle(),kn=_n.length-1;kn>=0;kn--){var Cn=_n[kn],Sn=Cn.node,xn=Cn.width,En=Cn.text;bn>vn.width&&(bn-=xn-jt,xn=jt,En=null);var Tn=new Polygon({shape:{points:makeItemPoints(Lt,0,xn,hn,kn===_n.length-1,kn===0)},style:defaults(Fe.getItemStyle(),{lineJoin:"bevel"}),textContent:new ZRText({style:createTextStyle(qe,{text:En})}),textConfig:{position:"inside"},z2:Z2_EMPHASIS_LIFT*1e4,onclick:curry$1(Dt,Sn)});Tn.disableLabelAnimation=!0,Tn.getTextContent().ensureState("emphasis").style=createTextStyle(At,{text:En}),Tn.ensureState("emphasis").style=wn,toggleHoverEmphasis(Tn,Ue.get("focus"),Ue.get("blurScope"),Ue.get("disabled")),this.group.add(Tn),packEventData(Tn,$e,Sn),Lt+=xn+ITEM_GAP}},xe.prototype.remove=function(){this.group.removeAll()},xe}();function makeItemPoints(xe,$e,Ie,Fe,Ue,qe){var At=[[Ue?xe:xe-ARRAY_LENGTH,$e],[xe+Ie,$e],[xe+Ie,$e+Fe],[Ue?xe:xe-ARRAY_LENGTH,$e+Fe]];return!qe&&At.splice(2,0,[xe+Ie+ARRAY_LENGTH,$e+Fe/2]),!Ue&&At.push([xe,$e+Fe/2]),At}function packEventData(xe,$e,Ie){getECData(xe).eventData={componentType:"series",componentSubType:"treemap",componentIndex:$e.componentIndex,seriesIndex:$e.seriesIndex,seriesName:$e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:Ie&&Ie.dataIndex,name:Ie&&Ie.name},treePathInfo:Ie&&wrapTreePathInfo(Ie,$e)}}var AnimationWrap=function(){function xe(){this._storage=[],this._elExistsMap={}}return xe.prototype.add=function($e,Ie,Fe,Ue,qe){return this._elExistsMap[$e.id]?!1:(this._elExistsMap[$e.id]=!0,this._storage.push({el:$e,target:Ie,duration:Fe,delay:Ue,easing:qe}),!0)},xe.prototype.finished=function($e){return this._finishedCallback=$e,this},xe.prototype.start=function(){for(var $e=this,Ie=this._storage.length,Fe=function(){Ie--,Ie<=0&&($e._storage.length=0,$e._elExistsMap={},$e._finishedCallback&&$e._finishedCallback())},Ue=0,qe=this._storage.length;UeDRAG_THRESHOLD||Math.abs(Ie.dy)>DRAG_THRESHOLD)){var Fe=this.seriesModel.getData().tree.root;if(!Fe)return;var Ue=Fe.getLayout();if(!Ue)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Ue.x+Ie.dx,y:Ue.y+Ie.dy,width:Ue.width,height:Ue.height}})}},$e.prototype._onZoom=function(Ie){var Fe=Ie.originX,Ue=Ie.originY;if(this._state!=="animating"){var qe=this.seriesModel.getData().tree.root;if(!qe)return;var At=qe.getLayout();if(!At)return;var Dt=new BoundingRect(At.x,At.y,At.width,At.height),Lt=this.seriesModel.layoutInfo;Fe-=Lt.x,Ue-=Lt.y;var jt=create$1();translate(jt,jt,[-Fe,-Ue]),scale$1(jt,jt,[Ie.scale,Ie.scale]),translate(jt,jt,[Fe,Ue]),Dt.applyTransform(jt),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Dt.x,y:Dt.y,width:Dt.width,height:Dt.height}})}},$e.prototype._initEvents=function(Ie){var Fe=this;Ie.on("click",function(Ue){if(Fe._state==="ready"){var qe=Fe.seriesModel.get("nodeClick",!0);if(qe){var At=Fe.findTarget(Ue.offsetX,Ue.offsetY);if(At){var Dt=At.node;if(Dt.getLayout().isLeafRoot)Fe._rootToNode(At);else if(qe==="zoomToNode")Fe._zoomToNode(At);else if(qe==="link"){var Lt=Dt.hostTree.data.getItemModel(Dt.dataIndex),jt=Lt.get("link",!0),hn=Lt.get("target",!0)||"blank";jt&&windowOpen(jt,hn)}}}}},this)},$e.prototype._renderBreadcrumb=function(Ie,Fe,Ue){var qe=this;Ue||(Ue=Ie.get("leafDepth",!0)!=null?{node:Ie.getViewRoot()}:this.findTarget(Fe.getWidth()/2,Fe.getHeight()/2),Ue||(Ue={node:Ie.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Breadcrumb(this.group))).render(Ie,Fe,Ue.node,function(At){qe._state!=="animating"&&(aboveViewRoot(Ie.getViewRoot(),At)?qe._rootToNode({node:At}):qe._zoomToNode({node:At}))})},$e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=createStorage(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},$e.prototype.dispose=function(){this._clearController()},$e.prototype._zoomToNode=function(Ie){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie.node})},$e.prototype._rootToNode=function(Ie){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie.node})},$e.prototype.findTarget=function(Ie,Fe){var Ue,qe=this.seriesModel.getViewRoot();return qe.eachNode({attr:"viewChildren",order:"preorder"},function(At){var Dt=this._storage.background[At.getRawIndex()];if(Dt){var Lt=Dt.transformCoordToLocal(Ie,Fe),jt=Dt.shape;if(jt.x<=Lt[0]&&Lt[0]<=jt.x+jt.width&&jt.y<=Lt[1]&&Lt[1]<=jt.y+jt.height)Ue={node:At,offsetX:Lt[0],offsetY:Lt[1]};else return!1}},this),Ue},$e.type="treemap",$e}(ChartView);function createStorage(){return{nodeGroup:[],background:[],content:[]}}function renderNode(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(!At)return;var hn=At.getLayout(),vn=xe.getData(),bn=At.getModel();if(vn.setItemGraphicEl(At.dataIndex,null),!hn||!hn.isInView)return;var _n=hn.width,wn=hn.height,kn=hn.borderWidth,Cn=hn.invisible,Sn=At.getRawIndex(),xn=Dt&&Dt.getRawIndex(),En=At.viewChildren,Tn=hn.upperHeight,An=En&&En.length,$n=bn.getModel("itemStyle"),Pn=bn.getModel(["emphasis","itemStyle"]),Nn=bn.getModel(["blur","itemStyle"]),Mn=bn.getModel(["select","itemStyle"]),In=$n.get("borderRadius")||0,On=er("nodeGroup",Group$2);if(!On)return;if(Lt.add(On),On.x=hn.x||0,On.y=hn.y||0,On.markRedraw(),inner$d(On).nodeWidth=_n,inner$d(On).nodeHeight=wn,hn.isAboveViewRoot)return On;var Rn=er("background",Rect$1,jt,Z2_BG);Rn&&zn(On,Rn,An&&hn.upperLabelHeight);var Bn=bn.getModel("emphasis"),Vn=Bn.get("focus"),Ln=Bn.get("blurScope"),Dn=Bn.get("disabled"),Hn=Vn==="ancestor"?At.getAncestorsIndices():Vn==="descendant"?At.getDescendantIndices():Vn;if(An)isHighDownDispatcher(On)&&setAsHighDownDispatcher(On,!1),Rn&&(setAsHighDownDispatcher(Rn,!Dn),vn.setItemGraphicEl(At.dataIndex,Rn),enableHoverFocus(Rn,Hn,Ln));else{var Fn=er("content",Rect$1,jt,Z2_CONTENT);Fn&&jn(On,Fn),Rn.disableMorphing=!0,Rn&&isHighDownDispatcher(Rn)&&setAsHighDownDispatcher(Rn,!1),setAsHighDownDispatcher(On,!Dn),vn.setItemGraphicEl(At.dataIndex,On),enableHoverFocus(On,Hn,Ln)}return On;function zn(Yn,qn,ar){var tr=getECData(qn);if(tr.dataIndex=At.dataIndex,tr.seriesIndex=xe.seriesIndex,qn.setShape({x:0,y:0,width:_n,height:wn,r:In}),Cn)Gn(qn);else{qn.invisible=!1;var or=At.getVisual("style"),sr=or.stroke,Kn=getItemStyleNormal($n);Kn.fill=sr;var Zn=getStateItemStyle(Pn);Zn.fill=Pn.get("borderColor");var nr=getStateItemStyle(Nn);nr.fill=Nn.get("borderColor");var lr=getStateItemStyle(Mn);if(lr.fill=Mn.get("borderColor"),ar){var ir=_n-2*kn;Wn(qn,sr,or.opacity,{x:kn,y:0,width:ir,height:Tn})}else qn.removeTextContent();qn.setStyle(Kn),qn.ensureState("emphasis").style=Zn,qn.ensureState("blur").style=nr,qn.ensureState("select").style=lr,setDefaultStateProxy(qn)}Yn.add(qn)}function jn(Yn,qn){var ar=getECData(qn);ar.dataIndex=At.dataIndex,ar.seriesIndex=xe.seriesIndex;var tr=Math.max(_n-2*kn,0),or=Math.max(wn-2*kn,0);if(qn.culling=!0,qn.setShape({x:kn,y:kn,width:tr,height:or,r:In}),Cn)Gn(qn);else{qn.invisible=!1;var sr=At.getVisual("style"),Kn=sr.fill,Zn=getItemStyleNormal($n);Zn.fill=Kn,Zn.decal=sr.decal;var nr=getStateItemStyle(Pn),lr=getStateItemStyle(Nn),ir=getStateItemStyle(Mn);Wn(qn,Kn,sr.opacity,null),qn.setStyle(Zn),qn.ensureState("emphasis").style=nr,qn.ensureState("blur").style=lr,qn.ensureState("select").style=ir,setDefaultStateProxy(qn)}Yn.add(qn)}function Gn(Yn){!Yn.invisible&&qe.push(Yn)}function Wn(Yn,qn,ar,tr){var or=bn.getModel(tr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),sr=convertOptionIdName(bn.get("name"),null),Kn=or.getShallow("show");setLabelStyle(Yn,getLabelStatesModels(bn,tr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),{defaultText:Kn?sr:null,inheritColor:qn,defaultOpacity:ar,labelFetcher:xe,labelDataIndex:At.dataIndex});var Zn=Yn.getTextContent();if(Zn){var nr=Zn.style,lr=normalizeCssArray$1(nr.padding||0);tr&&(Yn.setTextConfig({layoutRect:tr}),Zn.disableLabelLayout=!0),Zn.beforeUpdate=function(){var kr=Math.max((tr?tr.width:Yn.shape.width)-lr[1]-lr[3],0),Cr=Math.max((tr?tr.height:Yn.shape.height)-lr[0]-lr[2],0);(nr.width!==kr||nr.height!==Cr)&&Zn.setStyle({width:kr,height:Cr})},nr.truncateMinChar=2,nr.lineOverflow="truncate",Xn(nr,tr,hn);var ir=Zn.getState("emphasis");Xn(ir?ir.style:null,tr,hn)}}function Xn(Yn,qn,ar){var tr=Yn?Yn.text:null;if(!qn&&ar.isLeafRoot&&tr!=null){var or=xe.get("drillDownIcon",!0);Yn.text=or?or+" "+tr:tr}}function er(Yn,qn,ar,tr){var or=xn!=null&&Ie[Yn][xn],sr=Ue[Yn];return or?(Ie[Yn][xn]=null,rr(sr,or)):Cn||(or=new qn,or instanceof Displayable&&(or.z2=calculateZ2(ar,tr)),Jn(sr,or)),$e[Yn][Sn]=or}function rr(Yn,qn){var ar=Yn[Sn]={};qn instanceof Group$2?(ar.oldX=qn.x,ar.oldY=qn.y):ar.oldShape=extend({},qn.shape)}function Jn(Yn,qn){var ar=Yn[Sn]={},tr=At.parentNode,or=qn instanceof Group$3;if(tr&&(!Fe||Fe.direction==="drillDown")){var sr=0,Kn=0,Zn=Ue.background[tr.getRawIndex()];!Fe&&Zn&&Zn.oldShape&&(sr=Zn.oldShape.width,Kn=Zn.oldShape.height),or?(ar.oldX=0,ar.oldY=Kn):ar.oldShape={x:sr,y:Kn,width:0,height:0}}ar.fadein=!or}}function calculateZ2(xe,$e){return xe*Z2_BASE+$e}var each$c=each$f,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function xe($e){var Ie=$e.mappingMethod,Fe=$e.type,Ue=this.option=clone$4($e);this.type=Fe,this.mappingMethod=Ie,this._normalizeData=normalizers[Ie];var qe=xe.visualHandlers[Fe];this.applyVisual=qe.applyVisual,this.getColorMapper=qe.getColorMapper,this._normalizedToVisual=qe._normalizedToVisual[Ie],Ie==="piecewise"?(normalizeVisualRange(Ue),preprocessForPiecewise(Ue)):Ie==="category"?Ue.categories?preprocessForSpecifiedCategory(Ue):normalizeVisualRange(Ue,!0):(assert(Ie!=="linear"||Ue.dataExtent),normalizeVisualRange(Ue))}return xe.prototype.mapValueToVisual=function($e){var Ie=this._normalizeData($e);return this._normalizedToVisual(Ie,$e)},xe.prototype.getNormalizer=function(){return bind$1(this._normalizeData,this)},xe.listVisualTypes=function(){return keys(xe.visualHandlers)},xe.isValidType=function($e){return xe.visualHandlers.hasOwnProperty($e)},xe.eachVisual=function($e,Ie,Fe){isObject$3($e)?each$f($e,Ie,Fe):Ie.call(Fe,$e)},xe.mapVisual=function($e,Ie,Fe){var Ue,qe=isArray$1($e)?[]:isObject$3($e)?{}:(Ue=!0,null);return xe.eachVisual($e,function(At,Dt){var Lt=Ie.call(Fe,At,Dt);Ue?qe=Lt:qe[Dt]=Lt}),qe},xe.retrieveVisuals=function($e){var Ie={},Fe;return $e&&each$c(xe.visualHandlers,function(Ue,qe){$e.hasOwnProperty(qe)&&(Ie[qe]=$e[qe],Fe=!0)}),Fe?Ie:null},xe.prepareVisualTypes=function($e){if(isArray$1($e))$e=$e.slice();else if(isObject($e)){var Ie=[];each$c($e,function(Fe,Ue){Ie.push(Ue)}),$e=Ie}else return[];return $e.sort(function(Fe,Ue){return Ue==="color"&&Fe!=="color"&&Fe.indexOf("color")===0?1:-1}),$e},xe.dependsOn=function($e,Ie){return Ie==="color"?!!($e&&$e.indexOf(Ie)===0):$e===Ie},xe.findPieceIndex=function($e,Ie,Fe){for(var Ue,qe=1/0,At=0,Dt=Ie.length;At=0;qe--)Fe[qe]==null&&(delete Ie[$e[qe]],$e.pop())}function normalizeVisualRange(xe,$e){var Ie=xe.visual,Fe=[];isObject$3(Ie)?each$c(Ie,function(qe){Fe.push(qe)}):Ie!=null&&Fe.push(Ie);var Ue={color:1,symbol:1};!$e&&Fe.length===1&&!Ue.hasOwnProperty(xe.type)&&(Fe[1]=Fe[0]),setVisualToOption(xe,Fe)}function makePartialColorVisualHandler(xe){return{applyVisual:function($e,Ie,Fe){var Ue=this.mapValueToVisual($e);Fe("color",xe(Ie("color"),Ue))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(xe){var $e=this.option.visual;return $e[Math.round(linearMap$2(xe,[0,1],[0,$e.length-1],!0))]||{}}function makeApplyVisual(xe){return function($e,Ie,Fe){Fe(xe,this.mapValueToVisual($e))}}function doMapCategory(xe){var $e=this.option.visual;return $e[this.option.loop&&xe!==CATEGORY_DEFAULT_VISUAL_INDEX?xe%$e.length:xe]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(xe){return{linear:function($e){return linearMap$2($e,xe,this.option.visual,!0)},category:doMapCategory,piecewise:function($e,Ie){var Fe=getSpecifiedVisual.call(this,Ie);return Fe==null&&(Fe=linearMap$2($e,xe,this.option.visual,!0)),Fe},fixed:doMapFixed}}function getSpecifiedVisual(xe){var $e=this.option,Ie=$e.pieceList;if($e.hasSpecialVisual){var Fe=VisualMapping.findPieceIndex(xe,Ie),Ue=Ie[Fe];if(Ue&&Ue.visual)return Ue.visual[this.type]}}function setVisualToOption(xe,$e){return xe.visual=$e,xe.type==="color"&&(xe.parsedVisual=map$1($e,function(Ie){var Fe=parse(Ie);return Fe||[0,0,0,1]})),$e}var normalizers={linear:function(xe){return linearMap$2(xe,this.option.dataExtent,[0,1],!0)},piecewise:function(xe){var $e=this.option.pieceList,Ie=VisualMapping.findPieceIndex(xe,$e,!0);if(Ie!=null)return linearMap$2(Ie,[0,$e.length-1],[0,1],!0)},category:function(xe){var $e=this.option.categories?this.option.categoryMap[xe]:xe;return $e??CATEGORY_DEFAULT_VISUAL_INDEX},fixed:noop};function littleThan(xe,$e,Ie){return xe?$e<=Ie:$e=Ie.length||kn===Ie[kn.depth]){var Sn=mapVisual$1(Ue,Lt,kn,Cn,wn,Fe);travelTree(kn,Sn,Ie,Fe)}})}}}function buildVisuals(xe,$e,Ie){var Fe=extend({},$e),Ue=Ie.designatedVisualItemStyle;return each$f(["color","colorAlpha","colorSaturation"],function(qe){Ue[qe]=$e[qe];var At=xe.get(qe);Ue[qe]=null,At!=null&&(Fe[qe]=At)}),Fe}function calculateColor(xe){var $e=getValueVisualDefine(xe,"color");if($e){var Ie=getValueVisualDefine(xe,"colorAlpha"),Fe=getValueVisualDefine(xe,"colorSaturation");return Fe&&($e=modifyHSL($e,null,null,Fe)),Ie&&($e=modifyAlpha($e,Ie)),$e}}function calculateBorderColor(xe,$e){return $e!=null?modifyHSL($e,null,null,xe):null}function getValueVisualDefine(xe,$e){var Ie=xe[$e];if(Ie!=null&&Ie!=="none")return Ie}function buildVisualMapping(xe,$e,Ie,Fe,Ue,qe){if(!(!qe||!qe.length)){var At=getRangeVisual($e,"color")||Ue.color!=null&&Ue.color!=="none"&&(getRangeVisual($e,"colorAlpha")||getRangeVisual($e,"colorSaturation"));if(At){var Dt=$e.get("visualMin"),Lt=$e.get("visualMax"),jt=Ie.dataExtent.slice();Dt!=null&&Dtjt[1]&&(jt[1]=Lt);var hn=$e.get("colorMappingBy"),vn={type:At.name,dataExtent:jt,visual:At.range};vn.type==="color"&&(hn==="index"||hn==="id")?(vn.mappingMethod="category",vn.loop=!0):vn.mappingMethod="linear";var bn=new VisualMapping(vn);return inner$c(bn).drColorMappingBy=hn,bn}}}function getRangeVisual(xe,$e){var Ie=xe.get($e);return isArray$1(Ie)&&Ie.length?{name:$e,range:Ie}:null}function mapVisual$1(xe,$e,Ie,Fe,Ue,qe){var At=extend({},$e);if(Ue){var Dt=Ue.type,Lt=Dt==="color"&&inner$c(Ue).drColorMappingBy,jt=Lt==="index"?Fe:Lt==="id"?qe.mapIdToIndex(Ie.getId()):Ie.getValue(xe.get("visualDimension"));At[Dt]=Ue.mapValueToVisual(jt)}return At}var mathMax$3=Math.max,mathMin$3=Math.min,retrieveValue=retrieve,each$b=each$f,PATH_BORDER_WIDTH=["itemStyle","borderWidth"],PATH_GAP_WIDTH=["itemStyle","gapWidth"],PATH_UPPER_LABEL_SHOW=["upperLabel","show"],PATH_UPPER_LABEL_HEIGHT=["upperLabel","height"];const treemapLayout={seriesType:"treemap",reset:function(xe,$e,Ie,Fe){var Ue=Ie.getWidth(),qe=Ie.getHeight(),At=xe.option,Dt=getLayoutRect(xe.getBoxLayoutParams(),{width:Ie.getWidth(),height:Ie.getHeight()}),Lt=At.size||[],jt=parsePercent(retrieveValue(Dt.width,Lt[0]),Ue),hn=parsePercent(retrieveValue(Dt.height,Lt[1]),qe),vn=Fe&&Fe.type,bn=["treemapZoomToNode","treemapRootToNode"],_n=retrieveTargetInfo(Fe,bn,xe),wn=vn==="treemapRender"||vn==="treemapMove"?Fe.rootRect:null,kn=xe.getViewRoot(),Cn=getPathToRoot(kn);if(vn!=="treemapMove"){var Sn=vn==="treemapZoomToNode"?estimateRootSize(xe,_n,kn,jt,hn):wn?[wn.width,wn.height]:[jt,hn],xn=At.sort;xn&&xn!=="asc"&&xn!=="desc"&&(xn="desc");var En={squareRatio:At.squareRatio,sort:xn,leafDepth:At.leafDepth};kn.hostTree.clearLayouts();var Tn={x:0,y:0,width:Sn[0],height:Sn[1],area:Sn[0]*Sn[1]};kn.setLayout(Tn),squarify(kn,En,!1,0),Tn=kn.getLayout(),each$b(Cn,function($n,Pn){var Nn=(Cn[Pn+1]||kn).getValue();$n.setLayout(extend({dataExtent:[Nn,Nn],borderWidth:0,upperHeight:0},Tn))})}var An=xe.getData().tree.root;An.setLayout(calculateRootPosition(Dt,wn,_n),!0),xe.setLayoutInfo(Dt),prunning(An,new BoundingRect(-Dt.x,-Dt.y,Ue,qe),Cn,kn,0)}};function squarify(xe,$e,Ie,Fe){var Ue,qe;if(!xe.isRemoved()){var At=xe.getLayout();Ue=At.width,qe=At.height;var Dt=xe.getModel(),Lt=Dt.get(PATH_BORDER_WIDTH),jt=Dt.get(PATH_GAP_WIDTH)/2,hn=getUpperLabelHeight(Dt),vn=Math.max(Lt,hn),bn=Lt-jt,_n=vn-jt;xe.setLayout({borderWidth:Lt,upperHeight:vn,upperLabelHeight:hn},!0),Ue=mathMax$3(Ue-2*bn,0),qe=mathMax$3(qe-bn-_n,0);var wn=Ue*qe,kn=initChildren$1(xe,Dt,wn,$e,Ie,Fe);if(kn.length){var Cn={x:bn,y:_n,width:Ue,height:qe},Sn=mathMin$3(Ue,qe),xn=1/0,En=[];En.area=0;for(var Tn=0,An=kn.length;Tn=0;Lt--){var jt=Ue[Fe==="asc"?At-Lt-1:Lt].getValue();jt/Ie*$eDt[1]&&(Dt[1]=jt)})),{sum:Fe,dataExtent:Dt}}function worst(xe,$e,Ie){for(var Fe=0,Ue=1/0,qe=0,At=void 0,Dt=xe.length;qeFe&&(Fe=At));var Lt=xe.area*xe.area,jt=$e*$e*Ie;return Lt?mathMax$3(jt*Fe/Lt,Lt/(jt*Ue)):1/0}function position(xe,$e,Ie,Fe,Ue){var qe=$e===Ie.width?0:1,At=1-qe,Dt=["x","y"],Lt=["width","height"],jt=Ie[Dt[qe]],hn=$e?xe.area/$e:0;(Ue||hn>Ie[Lt[At]])&&(hn=Ie[Lt[At]]);for(var vn=0,bn=xe.length;vnMAX_SAFE_INTEGER&&(jt=MAX_SAFE_INTEGER),qe=Dt}jtFe&&(Fe=$e);var qe=Fe%2?Fe+2:Fe+3;Ue=[];for(var At=0;At0&&(An[0]=-An[0],An[1]=-An[1]);var Pn=Tn[0]<0?-1:1;if(qe.__position!=="start"&&qe.__position!=="end"){var Nn=-Math.atan2(Tn[1],Tn[0]);vn[0].8?"left":bn[0]<-.8?"right":"center",kn=bn[1]>.8?"top":bn[1]<-.8?"bottom":"middle";break;case"start":qe.x=-bn[0]*Sn+hn[0],qe.y=-bn[1]*xn+hn[1],wn=bn[0]>.8?"right":bn[0]<-.8?"left":"center",kn=bn[1]>.8?"bottom":bn[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":qe.x=Sn*Pn+hn[0],qe.y=hn[1]+Mn,wn=Tn[0]<0?"right":"left",qe.originX=-Sn*Pn,qe.originY=-Mn;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":qe.x=$n[0],qe.y=$n[1]+Mn,wn="center",qe.originY=-Mn;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":qe.x=-Sn*Pn+vn[0],qe.y=vn[1]+Mn,wn=Tn[0]>=0?"right":"left",qe.originX=Sn*Pn,qe.originY=-Mn;break}qe.scaleX=qe.scaleY=At,qe.setStyle({verticalAlign:qe.__verticalAlign||kn,align:qe.__align||wn})}},$e}(Group$3),LineDraw=function(){function xe($e){this.group=new Group$3,this._LineCtor=$e||Line}return xe.prototype.updateData=function($e){var Ie=this;this._progressiveEls=null;var Fe=this,Ue=Fe.group,qe=Fe._lineData;Fe._lineData=$e,qe||Ue.removeAll();var At=makeSeriesScope$1($e);$e.diff(qe).add(function(Dt){Ie._doAdd($e,Dt,At)}).update(function(Dt,Lt){Ie._doUpdate(qe,$e,Lt,Dt,At)}).remove(function(Dt){Ue.remove(qe.getItemGraphicEl(Dt))}).execute()},xe.prototype.updateLayout=function(){var $e=this._lineData;$e&&$e.eachItemGraphicEl(function(Ie,Fe){Ie.updateLayout($e,Fe)},this)},xe.prototype.incrementalPrepareUpdate=function($e){this._seriesScope=makeSeriesScope$1($e),this._lineData=null,this.group.removeAll()},xe.prototype.incrementalUpdate=function($e,Ie){this._progressiveEls=[];function Fe(Dt){!Dt.isGroup&&!isEffectObject(Dt)&&(Dt.incremental=!0,Dt.ensureState("emphasis").hoverLayer=!0)}for(var Ue=$e.start;Ue<$e.end;Ue++){var qe=Ie.getItemLayout(Ue);if(lineNeedsDraw(qe)){var At=new this._LineCtor(Ie,Ue,this._seriesScope);At.traverse(Fe),this.group.add(At),Ie.setItemGraphicEl(Ue,At),this._progressiveEls.push(At)}}},xe.prototype.remove=function(){this.group.removeAll()},xe.prototype.eachRendered=function($e){traverseElements(this._progressiveEls||this.group,$e)},xe.prototype._doAdd=function($e,Ie,Fe){var Ue=$e.getItemLayout(Ie);if(lineNeedsDraw(Ue)){var qe=new this._LineCtor($e,Ie,Fe);$e.setItemGraphicEl(Ie,qe),this.group.add(qe)}},xe.prototype._doUpdate=function($e,Ie,Fe,Ue,qe){var At=$e.getItemGraphicEl(Fe);if(!lineNeedsDraw(Ie.getItemLayout(Ue))){this.group.remove(At);return}At?At.updateData(Ie,Ue,qe):At=new this._LineCtor(Ie,Ue,qe),Ie.setItemGraphicEl(Ue,At),this.group.add(At)},xe}();function isEffectObject(xe){return xe.animators&&xe.animators.length>0}function makeSeriesScope$1(xe){var $e=xe.hostModel,Ie=$e.getModel("emphasis");return{lineStyle:$e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:Ie.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:$e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:$e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:Ie.get("disabled"),blurScope:Ie.get("blurScope"),focus:Ie.get("focus"),labelStatesModels:getLabelStatesModels($e)}}function isPointNaN(xe){return isNaN(xe[0])||isNaN(xe[1])}function lineNeedsDraw(xe){return xe&&!isPointNaN(xe[0])&&!isPointNaN(xe[1])}var v1=[],v2=[],v3=[],quadraticAt=quadraticAt$1,v2DistSquare=distSquare,mathAbs=Math.abs;function intersectCurveCircle(xe,$e,Ie){for(var Fe=xe[0],Ue=xe[1],qe=xe[2],At=1/0,Dt,Lt=Ie*Ie,jt=.1,hn=.1;hn<=.9;hn+=.1){v1[0]=quadraticAt(Fe[0],Ue[0],qe[0],hn),v1[1]=quadraticAt(Fe[1],Ue[1],qe[1],hn);var vn=mathAbs(v2DistSquare(v1,$e)-Lt);vn=0?Dt=Dt+jt:Dt=Dt-jt:wn>=0?Dt=Dt-jt:Dt=Dt+jt}return Dt}function adjustEdge(xe,$e){var Ie=[],Fe=quadraticSubdivide,Ue=[[],[],[]],qe=[[],[]],At=[];$e/=2,xe.eachEdge(function(Dt,Lt){var jt=Dt.getLayout(),hn=Dt.getVisual("fromSymbol"),vn=Dt.getVisual("toSymbol");jt.__original||(jt.__original=[clone$3(jt[0]),clone$3(jt[1])],jt[2]&&jt.__original.push(clone$3(jt[2])));var bn=jt.__original;if(jt[2]!=null){if(copy$1(Ue[0],bn[0]),copy$1(Ue[1],bn[2]),copy$1(Ue[2],bn[1]),hn&&hn!=="none"){var _n=getSymbolSize(Dt.node1),wn=intersectCurveCircle(Ue,bn[0],_n*$e);Fe(Ue[0][0],Ue[1][0],Ue[2][0],wn,Ie),Ue[0][0]=Ie[3],Ue[1][0]=Ie[4],Fe(Ue[0][1],Ue[1][1],Ue[2][1],wn,Ie),Ue[0][1]=Ie[3],Ue[1][1]=Ie[4]}if(vn&&vn!=="none"){var _n=getSymbolSize(Dt.node2),wn=intersectCurveCircle(Ue,bn[1],_n*$e);Fe(Ue[0][0],Ue[1][0],Ue[2][0],wn,Ie),Ue[1][0]=Ie[1],Ue[2][0]=Ie[2],Fe(Ue[0][1],Ue[1][1],Ue[2][1],wn,Ie),Ue[1][1]=Ie[1],Ue[2][1]=Ie[2]}copy$1(jt[0],Ue[0]),copy$1(jt[1],Ue[2]),copy$1(jt[2],Ue[1])}else{if(copy$1(qe[0],bn[0]),copy$1(qe[1],bn[1]),sub(At,qe[1],qe[0]),normalize$3(At,At),hn&&hn!=="none"){var _n=getSymbolSize(Dt.node1);scaleAndAdd$1(qe[0],qe[0],At,_n*$e)}if(vn&&vn!=="none"){var _n=getSymbolSize(Dt.node2);scaleAndAdd$1(qe[1],qe[1],At,-_n*$e)}copy$1(jt[0],qe[0]),copy$1(jt[1],qe[1])}})}function isViewCoordSys(xe){return xe.type==="view"}var GraphView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){var Ue=new SymbolDraw,qe=new LineDraw,At=this.group;this._controller=new RoamController(Fe.getZr()),this._controllerHost={target:At},At.add(Ue.group),At.add(qe.group),this._symbolDraw=Ue,this._lineDraw=qe,this._firstRender=!0},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.coordinateSystem;this._model=Ie;var Dt=this._symbolDraw,Lt=this._lineDraw,jt=this.group;if(isViewCoordSys(At)){var hn={x:At.x,y:At.y,scaleX:At.scaleX,scaleY:At.scaleY};this._firstRender?jt.attr(hn):updateProps$1(jt,hn,Ie)}adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie));var vn=Ie.getData();Dt.updateData(vn);var bn=Ie.getEdgeData();Lt.updateData(bn),this._updateNodeAndLinkScale(),this._updateController(Ie,Fe,Ue),clearTimeout(this._layoutTimeout);var _n=Ie.forceLayout,wn=Ie.get(["force","layoutAnimation"]);_n&&this._startForceLayoutIteration(_n,wn);var kn=Ie.get("layout");vn.graph.eachNode(function(En){var Tn=En.dataIndex,An=En.getGraphicEl(),$n=En.getModel();if(An){An.off("drag").off("dragend");var Pn=$n.get("draggable");Pn&&An.on("drag",function(Mn){switch(kn){case"force":_n.warmUp(),!qe._layouting&&qe._startForceLayoutIteration(_n,wn),_n.setFixed(Tn),vn.setItemLayout(Tn,[An.x,An.y]);break;case"circular":vn.setItemLayout(Tn,[An.x,An.y]),En.setLayout({fixed:!0},!0),circularLayout(Ie,"symbolSize",En,[Mn.offsetX,Mn.offsetY]),qe.updateLayout(Ie);break;case"none":default:vn.setItemLayout(Tn,[An.x,An.y]),simpleLayoutEdge(Ie.getGraph(),Ie),qe.updateLayout(Ie);break}}).on("dragend",function(){_n&&_n.setUnfixed(Tn)}),An.setDraggable(Pn,!!$n.get("cursor"));var Nn=$n.get(["emphasis","focus"]);Nn==="adjacency"&&(getECData(An).focus=En.getAdjacentDataIndices())}}),vn.graph.eachEdge(function(En){var Tn=En.getGraphicEl(),An=En.getModel().get(["emphasis","focus"]);Tn&&An==="adjacency"&&(getECData(Tn).focus={edge:[En.dataIndex],node:[En.node1.dataIndex,En.node2.dataIndex]})});var Cn=Ie.get("layout")==="circular"&&Ie.get(["circular","rotateLabel"]),Sn=vn.getLayout("cx"),xn=vn.getLayout("cy");vn.graph.eachNode(function(En){rotateNodeLabel(En,Cn,Sn,xn)}),this._firstRender=!1},$e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},$e.prototype._startForceLayoutIteration=function(Ie,Fe){var Ue=this;(function qe(){Ie.step(function(At){Ue.updateLayout(Ue._model),(Ue._layouting=!At)&&(Fe?Ue._layoutTimeout=setTimeout(qe,16):qe())})})()},$e.prototype._updateController=function(Ie,Fe,Ue){var qe=this,At=this._controller,Dt=this._controllerHost,Lt=this.group;if(At.setPointerChecker(function(jt,hn,vn){var bn=Lt.getBoundingRect();return bn.applyTransform(Lt.transform),bn.contain(hn,vn)&&!onIrrelevantElement(jt,Ue,Ie)}),!isViewCoordSys(Ie.coordinateSystem)){At.disable();return}At.enable(Ie.get("roam")),Dt.zoomLimit=Ie.get("scaleLimit"),Dt.zoom=Ie.coordinateSystem.getZoom(),At.off("pan").off("zoom").on("pan",function(jt){updateViewOnPan(Dt,jt.dx,jt.dy),Ue.dispatchAction({seriesId:Ie.id,type:"graphRoam",dx:jt.dx,dy:jt.dy})}).on("zoom",function(jt){updateViewOnZoom(Dt,jt.scale,jt.originX,jt.originY),Ue.dispatchAction({seriesId:Ie.id,type:"graphRoam",zoom:jt.scale,originX:jt.originX,originY:jt.originY}),qe._updateNodeAndLinkScale(),adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie)),qe._lineDraw.updateLayout(),Ue.updateLabelLayout()})},$e.prototype._updateNodeAndLinkScale=function(){var Ie=this._model,Fe=Ie.getData(),Ue=getNodeGlobalScale(Ie);Fe.eachItemGraphicEl(function(qe,At){qe&&qe.setSymbolScale(Ue)})},$e.prototype.updateLayout=function(Ie){adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},$e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},$e.type="graph",$e}(ChartView);function generateNodeKey(xe){return"_EC_"+xe}var Graph=function(){function xe($e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=$e||!1}return xe.prototype.isDirected=function(){return this._directed},xe.prototype.addNode=function($e,Ie){$e=$e==null?""+Ie:""+$e;var Fe=this._nodesMap;if(!Fe[generateNodeKey($e)]){var Ue=new GraphNode($e,Ie);return Ue.hostGraph=this,this.nodes.push(Ue),Fe[generateNodeKey($e)]=Ue,Ue}},xe.prototype.getNodeByIndex=function($e){var Ie=this.data.getRawIndex($e);return this.nodes[Ie]},xe.prototype.getNodeById=function($e){return this._nodesMap[generateNodeKey($e)]},xe.prototype.addEdge=function($e,Ie,Fe){var Ue=this._nodesMap,qe=this._edgesMap;if(isNumber($e)&&($e=this.nodes[$e]),isNumber(Ie)&&(Ie=this.nodes[Ie]),$e instanceof GraphNode||($e=Ue[generateNodeKey($e)]),Ie instanceof GraphNode||(Ie=Ue[generateNodeKey(Ie)]),!(!$e||!Ie)){var At=$e.id+"-"+Ie.id,Dt=new GraphEdge($e,Ie,Fe);return Dt.hostGraph=this,this._directed&&($e.outEdges.push(Dt),Ie.inEdges.push(Dt)),$e.edges.push(Dt),$e!==Ie&&Ie.edges.push(Dt),this.edges.push(Dt),qe[At]=Dt,Dt}},xe.prototype.getEdgeByIndex=function($e){var Ie=this.edgeData.getRawIndex($e);return this.edges[Ie]},xe.prototype.getEdge=function($e,Ie){$e instanceof GraphNode&&($e=$e.id),Ie instanceof GraphNode&&(Ie=Ie.id);var Fe=this._edgesMap;return this._directed?Fe[$e+"-"+Ie]:Fe[$e+"-"+Ie]||Fe[Ie+"-"+$e]},xe.prototype.eachNode=function($e,Ie){for(var Fe=this.nodes,Ue=Fe.length,qe=0;qe=0&&$e.call(Ie,Fe[qe],qe)},xe.prototype.eachEdge=function($e,Ie){for(var Fe=this.edges,Ue=Fe.length,qe=0;qe=0&&Fe[qe].node1.dataIndex>=0&&Fe[qe].node2.dataIndex>=0&&$e.call(Ie,Fe[qe],qe)},xe.prototype.breadthFirstTraverse=function($e,Ie,Fe,Ue){if(Ie instanceof GraphNode||(Ie=this._nodesMap[generateNodeKey(Ie)]),!!Ie){for(var qe=Fe==="out"?"outEdges":Fe==="in"?"inEdges":"edges",At=0;At=0&&Lt.node2.dataIndex>=0});for(var qe=0,At=Ue.length;qe=0&&this[xe][$e].setItemVisual(this.dataIndex,Ie,Fe)},getVisual:function(Ie){return this[xe][$e].getItemVisual(this.dataIndex,Ie)},setLayout:function(Ie,Fe){this.dataIndex>=0&&this[xe][$e].setItemLayout(this.dataIndex,Ie,Fe)},getLayout:function(){return this[xe][$e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[xe][$e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[xe][$e].getRawIndex(this.dataIndex)}}}mixin(GraphNode,createGraphDataProxyMixin("hostGraph","data"));mixin(GraphEdge,createGraphDataProxyMixin("hostGraph","edgeData"));function createGraphFromNodeEdge(xe,$e,Ie,Fe,Ue){for(var qe=new Graph(Fe),At=0;At "+bn)),jt++)}var _n=Ie.get("coordinateSystem"),wn;if(_n==="cartesian2d"||_n==="polar")wn=createSeriesData(xe,Ie);else{var kn=CoordinateSystemManager.get(_n),Cn=kn?kn.dimensions||[]:[];indexOf(Cn,"value")<0&&Cn.concat(["value"]);var Sn=prepareSeriesDataSchema(xe,{coordDimensions:Cn,encodeDefine:Ie.getEncode()}).dimensions;wn=new SeriesData(Sn,Ie),wn.initData(xe)}var xn=new SeriesData(["value"],Ie);return xn.initData(Lt,Dt),Ue&&Ue(wn,xn),linkSeriesData({mainData:wn,struct:qe,structAttr:"graph",datas:{node:wn,edge:xn},datasAttr:{node:"data",edge:"edgeData"}}),qe.update(),qe}var GraphSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments);var Fe=this;function Ue(){return Fe._categoriesData}this.legendVisualProvider=new LegendVisualProvider(Ue,Ue),this.fillDataTextStyle(Ie.edges||Ie.links),this._updateCategoriesData()},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(Ie.edges||Ie.links),this._updateCategoriesData()},$e.prototype.mergeDefaultAndTheme=function(Ie){xe.prototype.mergeDefaultAndTheme.apply(this,arguments),defaultEmphasis(Ie,"edgeLabel",["show"])},$e.prototype.getInitialData=function(Ie,Fe){var Ue=Ie.edges||Ie.links||[],qe=Ie.data||Ie.nodes||[],At=this;if(qe&&Ue){initCurvenessList(this);var Dt=createGraphFromNodeEdge(qe,Ue,this,!0,Lt);return each$f(Dt.edges,function(jt){createEdgeMapForCurveness(jt.node1,jt.node2,this,jt.dataIndex)},this),Dt.data}function Lt(jt,hn){jt.wrapMethod("getItemModel",function(wn){var kn=At._categoriesModels,Cn=wn.getShallow("category"),Sn=kn[Cn];return Sn&&(Sn.parentModel=wn.parentModel,wn.parentModel=Sn),wn});var vn=Model.prototype.getModel;function bn(wn,kn){var Cn=vn.call(this,wn,kn);return Cn.resolveParentPath=_n,Cn}hn.wrapMethod("getItemModel",function(wn){return wn.resolveParentPath=_n,wn.getModel=bn,wn});function _n(wn){if(wn&&(wn[0]==="label"||wn[1]==="label")){var kn=wn.slice();return wn[0]==="label"?kn[0]="edgeLabel":wn[1]==="label"&&(kn[1]="edgeLabel"),kn}return wn}}},$e.prototype.getGraph=function(){return this.getData().graph},$e.prototype.getEdgeData=function(){return this.getGraph().edgeData},$e.prototype.getCategoriesData=function(){return this._categoriesData},$e.prototype.formatTooltip=function(Ie,Fe,Ue){if(Ue==="edge"){var qe=this.getData(),At=this.getDataParams(Ie,Ue),Dt=qe.graph.getEdgeByIndex(Ie),Lt=qe.getName(Dt.node1.dataIndex),jt=qe.getName(Dt.node2.dataIndex),hn=[];return Lt!=null&&hn.push(Lt),jt!=null&&hn.push(jt),createTooltipMarkup("nameValue",{name:hn.join(" > "),value:At.value,noValue:At.value==null})}var vn=defaultSeriesFormatTooltip({series:this,dataIndex:Ie,multipleSeries:Fe});return vn},$e.prototype._updateCategoriesData=function(){var Ie=map$1(this.option.categories||[],function(Ue){return Ue.value!=null?Ue:extend({value:0},Ue)}),Fe=new SeriesData(["value"],this);Fe.initData(Ie),this._categoriesData=Fe,this._categoriesModels=Fe.mapArray(function(Ue){return Fe.getItemModel(Ue)})},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.isAnimationEnabled=function(){return xe.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},$e.type="series.graph",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel),actionInfo$1={type:"graphRoam",event:"graphRoam",update:"none"};function install$G(xe){xe.registerChartView(GraphView),xe.registerSeriesModel(GraphSeriesModel),xe.registerProcessor(categoryFilter),xe.registerVisual(categoryVisual),xe.registerVisual(graphEdgeVisual),xe.registerLayout(graphSimpleLayout),xe.registerLayout(xe.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),xe.registerLayout(graphForceLayout),xe.registerCoordinateSystem("graphView",{dimensions:View.dimensions,create:createViewCoordSys}),xe.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},noop),xe.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},noop),xe.registerAction(actionInfo$1,function($e,Ie,Fe){Ie.eachComponent({mainType:"series",query:$e},function(Ue){var qe=Ue.coordinateSystem,At=updateCenterAndZoom(qe,$e,void 0,Fe);Ue.setCenter&&Ue.setCenter(At.center),Ue.setZoom&&Ue.setZoom(At.zoom)})})}var PointerShape=function(){function xe(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return xe}(),PointerPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="pointer",Fe}return $e.prototype.getDefaultShape=function(){return new PointerShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Math.cos,qe=Math.sin,At=Fe.r,Dt=Fe.width,Lt=Fe.angle,jt=Fe.x-Ue(Lt)*Dt*(Dt>=At/3?1:2),hn=Fe.y-qe(Lt)*Dt*(Dt>=At/3?1:2);Lt=Fe.angle-Math.PI/2,Ie.moveTo(jt,hn),Ie.lineTo(Fe.x+Ue(Lt)*Dt,Fe.y+qe(Lt)*Dt),Ie.lineTo(Fe.x+Ue(Fe.angle)*At,Fe.y+qe(Fe.angle)*At),Ie.lineTo(Fe.x-Ue(Lt)*Dt,Fe.y-qe(Lt)*Dt),Ie.lineTo(jt,hn)},$e}(Path);function parsePosition(xe,$e){var Ie=xe.get("center"),Fe=$e.getWidth(),Ue=$e.getHeight(),qe=Math.min(Fe,Ue),At=parsePercent(Ie[0],$e.getWidth()),Dt=parsePercent(Ie[1],$e.getHeight()),Lt=parsePercent(xe.get("radius"),qe/2);return{cx:At,cy:Dt,r:Lt}}function formatLabel(xe,$e){var Ie=xe==null?"":xe+"";return $e&&(isString($e)?Ie=$e.replace("{value}",Ie):isFunction($e)&&(Ie=$e(xe))),Ie}var GaugeView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this.group.removeAll();var qe=Ie.get(["axisLine","lineStyle","color"]),At=parsePosition(Ie,Ue);this._renderMain(Ie,Fe,Ue,qe,At),this._data=Ie.getData()},$e.prototype.dispose=function(){},$e.prototype._renderMain=function(Ie,Fe,Ue,qe,At){var Dt=this.group,Lt=Ie.get("clockwise"),jt=-Ie.get("startAngle")/180*Math.PI,hn=-Ie.get("endAngle")/180*Math.PI,vn=Ie.getModel("axisLine"),bn=vn.get("roundCap"),_n=bn?SausagePath:Sector,wn=vn.get("show"),kn=vn.getModel("lineStyle"),Cn=kn.get("width"),Sn=[jt,hn];normalizeArcAngles(Sn,!Lt),jt=Sn[0],hn=Sn[1];for(var xn=hn-jt,En=jt,Tn=[],An=0;wn&&An=Mn&&(In===0?0:qe[In-1][0])Math.PI/2&&(er+=Math.PI)):Xn==="tangential"?er=-Nn-Math.PI/2:isNumber(Xn)&&(er=Xn*Math.PI/180),er===0?vn.add(new ZRText({style:createTextStyle(En,{text:zn,x:Gn,y:Wn,verticalAlign:Ln<-.8?"top":Ln>.8?"bottom":"middle",align:Vn<-.4?"left":Vn>.4?"right":"center"},{inheritColor:jn}),silent:!0})):vn.add(new ZRText({style:createTextStyle(En,{text:zn,x:Gn,y:Wn,verticalAlign:"middle",align:"center"},{inheritColor:jn}),silent:!0,originX:Gn,originY:Wn,rotation:er}))}if(xn.get("show")&&Dn!==Tn){var Hn=xn.get("distance");Hn=Hn?Hn+hn:hn;for(var rr=0;rr<=An;rr++){Vn=Math.cos(Nn),Ln=Math.sin(Nn);var Jn=new Line$1({shape:{x1:Vn*(wn-Hn)+bn,y1:Ln*(wn-Hn)+_n,x2:Vn*(wn-Pn-Hn)+bn,y2:Ln*(wn-Pn-Hn)+_n},silent:!0,style:Rn});Rn.stroke==="auto"&&Jn.setStyle({stroke:qe((Dn+rr/An)/Tn)}),vn.add(Jn),Nn+=In}Nn-=In}else Nn+=Mn}},$e.prototype._renderPointer=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){var vn=this.group,bn=this._data,_n=this._progressEls,wn=[],kn=Ie.get(["pointer","show"]),Cn=Ie.getModel("progress"),Sn=Cn.get("show"),xn=Ie.getData(),En=xn.mapDimension("value"),Tn=+Ie.get("min"),An=+Ie.get("max"),$n=[Tn,An],Pn=[Dt,Lt];function Nn(In,On){var Rn=xn.getItemModel(In),Bn=Rn.getModel("pointer"),Vn=parsePercent(Bn.get("width"),At.r),Ln=parsePercent(Bn.get("length"),At.r),Dn=Ie.get(["pointer","icon"]),Hn=Bn.get("offsetCenter"),Fn=parsePercent(Hn[0],At.r),zn=parsePercent(Hn[1],At.r),jn=Bn.get("keepAspect"),Gn;return Dn?Gn=createSymbol$1(Dn,Fn-Vn/2,zn-Ln,Vn,Ln,null,jn):Gn=new PointerPath({shape:{angle:-Math.PI/2,width:Vn,r:Ln,x:Fn,y:zn}}),Gn.rotation=-(On+Math.PI/2),Gn.x=At.cx,Gn.y=At.cy,Gn}function Mn(In,On){var Rn=Cn.get("roundCap"),Bn=Rn?SausagePath:Sector,Vn=Cn.get("overlap"),Ln=Vn?Cn.get("width"):hn/xn.count(),Dn=Vn?At.r-Ln:At.r-(In+1)*Ln,Hn=Vn?At.r:At.r-In*Ln,Fn=new Bn({shape:{startAngle:Dt,endAngle:On,cx:At.cx,cy:At.cy,clockwise:jt,r0:Dn,r:Hn}});return Vn&&(Fn.z2=An-xn.get(En,In)%An),Fn}(Sn||kn)&&(xn.diff(bn).add(function(In){var On=xn.get(En,In);if(kn){var Rn=Nn(In,Dt);initProps(Rn,{rotation:-((isNaN(+On)?Pn[0]:linearMap$2(On,$n,Pn,!0))+Math.PI/2)},Ie),vn.add(Rn),xn.setItemGraphicEl(In,Rn)}if(Sn){var Bn=Mn(In,Dt),Vn=Cn.get("clip");initProps(Bn,{shape:{endAngle:linearMap$2(On,$n,Pn,Vn)}},Ie),vn.add(Bn),setCommonECData(Ie.seriesIndex,xn.dataType,In,Bn),wn[In]=Bn}}).update(function(In,On){var Rn=xn.get(En,In);if(kn){var Bn=bn.getItemGraphicEl(On),Vn=Bn?Bn.rotation:Dt,Ln=Nn(In,Vn);Ln.rotation=Vn,updateProps$1(Ln,{rotation:-((isNaN(+Rn)?Pn[0]:linearMap$2(Rn,$n,Pn,!0))+Math.PI/2)},Ie),vn.add(Ln),xn.setItemGraphicEl(In,Ln)}if(Sn){var Dn=_n[On],Hn=Dn?Dn.shape.endAngle:Dt,Fn=Mn(In,Hn),zn=Cn.get("clip");updateProps$1(Fn,{shape:{endAngle:linearMap$2(Rn,$n,Pn,zn)}},Ie),vn.add(Fn),setCommonECData(Ie.seriesIndex,xn.dataType,In,Fn),wn[In]=Fn}}).execute(),xn.each(function(In){var On=xn.getItemModel(In),Rn=On.getModel("emphasis"),Bn=Rn.get("focus"),Vn=Rn.get("blurScope"),Ln=Rn.get("disabled");if(kn){var Dn=xn.getItemGraphicEl(In),Hn=xn.getItemVisual(In,"style"),Fn=Hn.fill;if(Dn instanceof ZRImage){var zn=Dn.style;Dn.useStyle(extend({image:zn.image,x:zn.x,y:zn.y,width:zn.width,height:zn.height},Hn))}else Dn.useStyle(Hn),Dn.type!=="pointer"&&Dn.setColor(Fn);Dn.setStyle(On.getModel(["pointer","itemStyle"]).getItemStyle()),Dn.style.fill==="auto"&&Dn.setStyle("fill",qe(linearMap$2(xn.get(En,In),$n,[0,1],!0))),Dn.z2EmphasisLift=0,setStatesStylesFromModel(Dn,On),toggleHoverEmphasis(Dn,Bn,Vn,Ln)}if(Sn){var jn=wn[In];jn.useStyle(xn.getItemVisual(In,"style")),jn.setStyle(On.getModel(["progress","itemStyle"]).getItemStyle()),jn.z2EmphasisLift=0,setStatesStylesFromModel(jn,On),toggleHoverEmphasis(jn,Bn,Vn,Ln)}}),this._progressEls=wn)},$e.prototype._renderAnchor=function(Ie,Fe){var Ue=Ie.getModel("anchor"),qe=Ue.get("show");if(qe){var At=Ue.get("size"),Dt=Ue.get("icon"),Lt=Ue.get("offsetCenter"),jt=Ue.get("keepAspect"),hn=createSymbol$1(Dt,Fe.cx-At/2+parsePercent(Lt[0],Fe.r),Fe.cy-At/2+parsePercent(Lt[1],Fe.r),At,At,null,jt);hn.z2=Ue.get("showAbove")?1:0,hn.setStyle(Ue.getModel("itemStyle").getItemStyle()),this.group.add(hn)}},$e.prototype._renderTitleAndDetail=function(Ie,Fe,Ue,qe,At){var Dt=this,Lt=Ie.getData(),jt=Lt.mapDimension("value"),hn=+Ie.get("min"),vn=+Ie.get("max"),bn=new Group$3,_n=[],wn=[],kn=Ie.isAnimationEnabled(),Cn=Ie.get(["pointer","showAbove"]);Lt.diff(this._data).add(function(Sn){_n[Sn]=new ZRText({silent:!0}),wn[Sn]=new ZRText({silent:!0})}).update(function(Sn,xn){_n[Sn]=Dt._titleEls[xn],wn[Sn]=Dt._detailEls[xn]}).execute(),Lt.each(function(Sn){var xn=Lt.getItemModel(Sn),En=Lt.get(jt,Sn),Tn=new Group$3,An=qe(linearMap$2(En,[hn,vn],[0,1],!0)),$n=xn.getModel("title");if($n.get("show")){var Pn=$n.get("offsetCenter"),Nn=At.cx+parsePercent(Pn[0],At.r),Mn=At.cy+parsePercent(Pn[1],At.r),In=_n[Sn];In.attr({z2:Cn?0:2,style:createTextStyle($n,{x:Nn,y:Mn,text:Lt.getName(Sn),align:"center",verticalAlign:"middle"},{inheritColor:An})}),Tn.add(In)}var On=xn.getModel("detail");if(On.get("show")){var Rn=On.get("offsetCenter"),Bn=At.cx+parsePercent(Rn[0],At.r),Vn=At.cy+parsePercent(Rn[1],At.r),Ln=parsePercent(On.get("width"),At.r),Dn=parsePercent(On.get("height"),At.r),Hn=Ie.get(["progress","show"])?Lt.getItemVisual(Sn,"style").fill:An,In=wn[Sn],Fn=On.get("formatter");In.attr({z2:Cn?0:2,style:createTextStyle(On,{x:Bn,y:Vn,text:formatLabel(En,Fn),width:isNaN(Ln)?null:Ln,height:isNaN(Dn)?null:Dn,align:"center",verticalAlign:"middle"},{inheritColor:Hn})}),setLabelValueAnimation(In,{normal:On},En,function(jn){return formatLabel(jn,Fn)}),kn&&animateLabelValue(In,Sn,Lt,Ie,{getFormattedLabel:function(jn,Gn,Wn,Xn,er,rr){return formatLabel(rr?rr.interpolatedValue:En,Fn)}}),Tn.add(In)}bn.add(Tn)}),this.group.add(bn),this._titleEls=_n,this._detailEls=wn},$e.type="gauge",$e}(ChartView),GaugeSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="itemStyle",Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,["value"])},$e.type="series.gauge",$e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},$e}(SeriesModel);function install$F(xe){xe.registerChartView(GaugeView),xe.registerSeriesModel(GaugeSeriesModel)}var opacityAccessPath$1=["itemStyle","opacity"],FunnelPiece=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this,qe=Ue,At=new Polyline$1,Dt=new ZRText;return qe.setTextContent(Dt),Ue.setTextGuideLine(At),Ue.updateData(Ie,Fe,!0),Ue}return $e.prototype.updateData=function(Ie,Fe,Ue){var qe=this,At=Ie.hostModel,Dt=Ie.getItemModel(Fe),Lt=Ie.getItemLayout(Fe),jt=Dt.getModel("emphasis"),hn=Dt.get(opacityAccessPath$1);hn=hn??1,Ue||saveOldStyle(qe),qe.useStyle(Ie.getItemVisual(Fe,"style")),qe.style.lineJoin="round",Ue?(qe.setShape({points:Lt.points}),qe.style.opacity=0,initProps(qe,{style:{opacity:hn}},At,Fe)):updateProps$1(qe,{style:{opacity:hn},shape:{points:Lt.points}},At,Fe),setStatesStylesFromModel(qe,Dt),this._updateLabel(Ie,Fe),toggleHoverEmphasis(this,jt.get("focus"),jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie,Fe){var Ue=this,qe=this.getTextGuideLine(),At=Ue.getTextContent(),Dt=Ie.hostModel,Lt=Ie.getItemModel(Fe),jt=Ie.getItemLayout(Fe),hn=jt.label,vn=Ie.getItemVisual(Fe,"style"),bn=vn.fill;setLabelStyle(At,getLabelStatesModels(Lt),{labelFetcher:Ie.hostModel,labelDataIndex:Fe,defaultOpacity:vn.opacity,defaultText:Ie.getName(Fe)},{normal:{align:hn.textAlign,verticalAlign:hn.verticalAlign}}),Ue.setTextConfig({local:!0,inside:!!hn.inside,insideStroke:bn,outsideFill:bn});var _n=hn.linePoints;qe.setShape({points:_n}),Ue.textGuideLineConfig={anchor:_n?new Point(_n[0][0],_n[0][1]):null},updateProps$1(At,{style:{x:hn.x,y:hn.y}},Dt,Fe),At.attr({rotation:hn.rotation,originX:hn.x,originY:hn.y,z2:10}),setLabelLineStyle(Ue,getLabelLineStatesModels(Lt),{stroke:bn})},$e}(Polygon),FunnelView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.ignoreLabelLineUpdate=!0,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._data,Dt=this.group;qe.diff(At).add(function(Lt){var jt=new FunnelPiece(qe,Lt);qe.setItemGraphicEl(Lt,jt),Dt.add(jt)}).update(function(Lt,jt){var hn=At.getItemGraphicEl(jt);hn.updateData(qe,Lt),Dt.add(hn),qe.setItemGraphicEl(Lt,hn)}).remove(function(Lt){var jt=At.getItemGraphicEl(Lt);removeElementWithFadeOut(jt,Ie,Lt)}).execute(),this._data=qe},$e.prototype.remove=function(){this.group.removeAll(),this._data=null},$e.prototype.dispose=function(){},$e.type="funnel",$e}(ChartView),FunnelSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(Ie)},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},$e.prototype._defaultLabelLine=function(Ie){defaultEmphasis(Ie,"labelLine",["show"]);var Fe=Ie.labelLine,Ue=Ie.emphasis.labelLine;Fe.show=Fe.show&&Ie.label.show,Ue.show=Ue.show&&Ie.emphasis.label.show},$e.prototype.getDataParams=function(Ie){var Fe=this.getData(),Ue=xe.prototype.getDataParams.call(this,Ie),qe=Fe.mapDimension("value"),At=Fe.getSum(qe);return Ue.percent=At?+(Fe.get(qe,Ie)/At*100).toFixed(2):0,Ue.$vars.push("percent"),Ue},$e.type="series.funnel",$e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel);function getViewRect$2(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function getSortedIndices(xe,$e){for(var Ie=xe.mapDimension("value"),Fe=xe.mapArray(Ie,function(Lt){return Lt}),Ue=[],qe=$e==="ascending",At=0,Dt=xe.count();AtCLICK_THRESHOLD)return;var Ue=this._model.coordinateSystem.getSlidedAxisExpandWindow([xe.offsetX,xe.offsetY]);Ue.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:Ue.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(xe){if(!(this._mouseDownPoint||!checkTrigger(this,"mousemove"))){var $e=this._model,Ie=$e.coordinateSystem.getSlidedAxisExpandWindow([xe.offsetX,xe.offsetY]),Fe=Ie.behavior;Fe==="jump"&&this._throttledDispatchExpand.debounceNextCall($e.get("axisExpandDebounce")),this._throttledDispatchExpand(Fe==="none"?null:{axisExpandWindow:Ie.axisExpandWindow,animation:Fe==="jump"?null:{duration:0}})}}};function checkTrigger(xe,$e){var Ie=xe._model;return Ie.get("axisExpandable")&&Ie.get("axisExpandTriggerOn")===$e}var ParallelModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){xe.prototype.init.apply(this,arguments),this.mergeOption({})},$e.prototype.mergeOption=function(Ie){var Fe=this.option;Ie&&merge(Fe,Ie,!0),this._initDimensions()},$e.prototype.contains=function(Ie,Fe){var Ue=Ie.get("parallelIndex");return Ue!=null&&Fe.getComponent("parallel",Ue)===this},$e.prototype.setAxisExpand=function(Ie){each$f(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(Fe){Ie.hasOwnProperty(Fe)&&(this.option[Fe]=Ie[Fe])},this)},$e.prototype._initDimensions=function(){var Ie=this.dimensions=[],Fe=this.parallelAxisIndex=[],Ue=filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(qe){return(qe.get("parallelIndex")||0)===this.componentIndex},this);each$f(Ue,function(qe){Ie.push("dim"+qe.get("dim")),Fe.push(qe.componentIndex)})},$e.type="parallel",$e.dependencies=["parallelAxis"],$e.layoutMode="box",$e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},$e}(ComponentModel),ParallelAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.type=qe||"value",Dt.axisIndex=At,Dt}return $e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},$e}(Axis);function sliderMove(xe,$e,Ie,Fe,Ue,qe){xe=xe||0;var At=Ie[1]-Ie[0];if(Ue!=null&&(Ue=restrict$1(Ue,[0,At])),qe!=null&&(qe=Math.max(qe,Ue??0)),Fe==="all"){var Dt=Math.abs($e[1]-$e[0]);Dt=restrict$1(Dt,[0,At]),Ue=qe=restrict$1(Dt,[Ue,qe]),Fe=0}$e[0]=restrict$1($e[0],Ie),$e[1]=restrict$1($e[1],Ie);var Lt=getSpanSign($e,Fe);$e[Fe]+=xe;var jt=Ue||0,hn=Ie.slice();Lt.sign<0?hn[0]+=jt:hn[1]-=jt,$e[Fe]=restrict$1($e[Fe],hn);var vn;return vn=getSpanSign($e,Fe),Ue!=null&&(vn.sign!==Lt.sign||vn.spanqe&&($e[1-Fe]=$e[Fe]+vn.sign*qe),$e}function getSpanSign(xe,$e){var Ie=xe[$e]-xe[1-$e];return{span:Math.abs(Ie),sign:Ie>0?-1:Ie<0?1:$e?-1:1}}function restrict$1(xe,$e){return Math.min($e[1]!=null?$e[1]:1/0,Math.max($e[0]!=null?$e[0]:-1/0,xe))}var each$a=each$f,mathMin$2=Math.min,mathMax$2=Math.max,mathFloor=Math.floor,mathCeil=Math.ceil,round=round$3,PI$1=Math.PI,Parallel=function(){function xe($e,Ie,Fe){this.type="parallel",this._axesMap=createHashMap(),this._axesLayout={},this.dimensions=$e.dimensions,this._model=$e,this._init($e,Ie,Fe)}return xe.prototype._init=function($e,Ie,Fe){var Ue=$e.dimensions,qe=$e.parallelAxisIndex;each$a(Ue,function(At,Dt){var Lt=qe[Dt],jt=Ie.getComponent("parallelAxis",Lt),hn=this._axesMap.set(At,new ParallelAxis(At,createScaleByModel$1(jt),[0,0],jt.get("type"),Lt)),vn=hn.type==="category";hn.onBand=vn&&jt.get("boundaryGap"),hn.inverse=jt.get("inverse"),jt.axis=hn,hn.model=jt,hn.coordinateSystem=jt.coordinateSystem=this},this)},xe.prototype.update=function($e,Ie){this._updateAxesFromSeries(this._model,$e)},xe.prototype.containPoint=function($e){var Ie=this._makeLayoutInfo(),Fe=Ie.axisBase,Ue=Ie.layoutBase,qe=Ie.pixelDimIndex,At=$e[1-qe],Dt=$e[qe];return At>=Fe&&At<=Fe+Ie.axisLength&&Dt>=Ue&&Dt<=Ue+Ie.layoutLength},xe.prototype.getModel=function(){return this._model},xe.prototype._updateAxesFromSeries=function($e,Ie){Ie.eachSeries(function(Fe){if($e.contains(Fe,Ie)){var Ue=Fe.getData();each$a(this.dimensions,function(qe){var At=this._axesMap.get(qe);At.scale.unionExtentFromData(Ue,Ue.mapDimension(qe)),niceScaleExtent(At.scale,At.model)},this)}},this)},xe.prototype.resize=function($e,Ie){this._rect=getLayoutRect($e.getBoxLayoutParams(),{width:Ie.getWidth(),height:Ie.getHeight()}),this._layoutAxes()},xe.prototype.getRect=function(){return this._rect},xe.prototype._makeLayoutInfo=function(){var $e=this._model,Ie=this._rect,Fe=["x","y"],Ue=["width","height"],qe=$e.get("layout"),At=qe==="horizontal"?0:1,Dt=Ie[Ue[At]],Lt=[0,Dt],jt=this.dimensions.length,hn=restrict($e.get("axisExpandWidth"),Lt),vn=restrict($e.get("axisExpandCount")||0,[0,jt]),bn=$e.get("axisExpandable")&&jt>3&&jt>vn&&vn>1&&hn>0&&Dt>0,_n=$e.get("axisExpandWindow"),wn;if(_n)wn=restrict(_n[1]-_n[0],Lt),_n[1]=_n[0]+wn;else{wn=restrict(hn*(vn-1),Lt);var kn=$e.get("axisExpandCenter")||mathFloor(jt/2);_n=[hn*kn-wn/2],_n[1]=_n[0]+wn}var Cn=(Dt-wn)/(jt-vn);Cn<3&&(Cn=0);var Sn=[mathFloor(round(_n[0]/hn,1))+1,mathCeil(round(_n[1]/hn,1))-1],xn=Cn/hn*_n[0];return{layout:qe,pixelDimIndex:At,layoutBase:Ie[Fe[At]],layoutLength:Dt,axisBase:Ie[Fe[1-At]],axisLength:Ie[Ue[1-At]],axisExpandable:bn,axisExpandWidth:hn,axisCollapseWidth:Cn,axisExpandWindow:_n,axisCount:jt,winInnerIndices:Sn,axisExpandWindow0Pos:xn}},xe.prototype._layoutAxes=function(){var $e=this._rect,Ie=this._axesMap,Fe=this.dimensions,Ue=this._makeLayoutInfo(),qe=Ue.layout;Ie.each(function(At){var Dt=[0,Ue.axisLength],Lt=At.inverse?1:0;At.setExtent(Dt[Lt],Dt[1-Lt])}),each$a(Fe,function(At,Dt){var Lt=(Ue.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(Dt,Ue),jt={horizontal:{x:Lt.position,y:Ue.axisLength},vertical:{x:0,y:Lt.position}},hn={horizontal:PI$1/2,vertical:0},vn=[jt[qe].x+$e.x,jt[qe].y+$e.y],bn=hn[qe],_n=create$1();rotate(_n,_n,bn),translate(_n,_n,vn),this._axesLayout[At]={position:vn,rotation:bn,transform:_n,axisNameAvailableWidth:Lt.axisNameAvailableWidth,axisLabelShow:Lt.axisLabelShow,nameTruncateMaxWidth:Lt.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},xe.prototype.getAxis=function($e){return this._axesMap.get($e)},xe.prototype.dataToPoint=function($e,Ie){return this.axisCoordToPoint(this._axesMap.get(Ie).dataToCoord($e),Ie)},xe.prototype.eachActiveState=function($e,Ie,Fe,Ue){Fe==null&&(Fe=0),Ue==null&&(Ue=$e.count());var qe=this._axesMap,At=this.dimensions,Dt=[],Lt=[];each$f(At,function(Cn){Dt.push($e.mapDimension(Cn)),Lt.push(qe.get(Cn).model)});for(var jt=this.hasAxisBrushed(),hn=Fe;hnqe*(1-vn[0])?(jt="jump",Lt=Dt-qe*(1-vn[2])):(Lt=Dt-qe*vn[1])>=0&&(Lt=Dt-qe*(1-vn[1]))<=0&&(Lt=0),Lt*=Ie.axisExpandWidth/hn,Lt?sliderMove(Lt,Ue,At,"all"):jt="none";else{var _n=Ue[1]-Ue[0],wn=At[1]*Dt/_n;Ue=[mathMax$2(0,wn-_n/2)],Ue[1]=mathMin$2(At[1],Ue[0]+_n),Ue[0]=Ue[1]-_n}return{axisExpandWindow:Ue,behavior:jt}},xe}();function restrict(xe,$e){return mathMin$2(mathMax$2(xe,$e[0]),$e[1])}function layoutAxisWithoutExpand(xe,$e){var Ie=$e.layoutLength/($e.axisCount-1);return{position:Ie*xe,axisNameAvailableWidth:Ie,axisLabelShow:!0}}function layoutAxisWithExpand(xe,$e){var Ie=$e.layoutLength,Fe=$e.axisExpandWidth,Ue=$e.axisCount,qe=$e.axisCollapseWidth,At=$e.winInnerIndices,Dt,Lt=qe,jt=!1,hn;return xe=0;Ue--)asc$2(Fe[Ue])},$e.prototype.getActiveState=function(Ie){var Fe=this.activeIntervals;if(!Fe.length)return"normal";if(Ie==null||isNaN(+Ie))return"inactive";if(Fe.length===1){var Ue=Fe[0];if(Ue[0]<=Ie&&Ie<=Ue[1])return"active"}else for(var qe=0,At=Fe.length;qeUNSELECT_THRESHOLD}function getTrackEnds(xe){var $e=xe.length-1;return $e<0&&($e=0),[xe[0],xe[$e]]}function createBaseRectCover(xe,$e,Ie,Fe){var Ue=new Group$3;return Ue.add(new Rect$2({name:"main",style:makeStyle(Ie),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,xe,$e,Ue,["n","s","w","e"]),ondragend:curry$1(trigger,$e,{isEnd:!0})})),each$f(Fe,function(qe){Ue.add(new Rect$2({name:qe.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,xe,$e,Ue,qe),ondragend:curry$1(trigger,$e,{isEnd:!0})}))}),Ue}function updateBaseRect(xe,$e,Ie,Fe){var Ue=Fe.brushStyle.lineWidth||0,qe=mathMax$1(Ue,MIN_RESIZE_LINE_WIDTH),At=Ie[0][0],Dt=Ie[1][0],Lt=At-Ue/2,jt=Dt-Ue/2,hn=Ie[0][1],vn=Ie[1][1],bn=hn-qe+Ue/2,_n=vn-qe+Ue/2,wn=hn-At,kn=vn-Dt,Cn=wn+Ue,Sn=kn+Ue;updateRectShape(xe,$e,"main",At,Dt,wn,kn),Fe.transformable&&(updateRectShape(xe,$e,"w",Lt,jt,qe,Sn),updateRectShape(xe,$e,"e",bn,jt,qe,Sn),updateRectShape(xe,$e,"n",Lt,jt,Cn,qe),updateRectShape(xe,$e,"s",Lt,_n,Cn,qe),updateRectShape(xe,$e,"nw",Lt,jt,qe,qe),updateRectShape(xe,$e,"ne",bn,jt,qe,qe),updateRectShape(xe,$e,"sw",Lt,_n,qe,qe),updateRectShape(xe,$e,"se",bn,_n,qe,qe))}function updateCommon$1(xe,$e){var Ie=$e.__brushOption,Fe=Ie.transformable,Ue=$e.childAt(0);Ue.useStyle(makeStyle(Ie)),Ue.attr({silent:!Fe,cursor:Fe?"move":"default"}),each$f([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(qe){var At=$e.childOfName(qe.join("")),Dt=qe.length===1?getGlobalDirection1(xe,qe[0]):getGlobalDirection2(xe,qe);At&&At.attr({silent:!Fe,invisible:!Fe,cursor:Fe?CURSOR_MAP[Dt]+"-resize":null})})}function updateRectShape(xe,$e,Ie,Fe,Ue,qe,At){var Dt=$e.childOfName(Ie);Dt&&Dt.setShape(pointsToRect(clipByPanel(xe,$e,[[Fe,Ue],[Fe+qe,Ue+At]])))}function makeStyle(xe){return defaults({strokeNoScale:!0},xe.brushStyle)}function formatRectRange(xe,$e,Ie,Fe){var Ue=[mathMin$1(xe,Ie),mathMin$1($e,Fe)],qe=[mathMax$1(xe,Ie),mathMax$1($e,Fe)];return[[Ue[0],qe[0]],[Ue[1],qe[1]]]}function getTransform(xe){return getTransform$1(xe.group)}function getGlobalDirection1(xe,$e){var Ie={w:"left",e:"right",n:"top",s:"bottom"},Fe={left:"w",right:"e",top:"n",bottom:"s"},Ue=transformDirection(Ie[$e],getTransform(xe));return Fe[Ue]}function getGlobalDirection2(xe,$e){var Ie=[getGlobalDirection1(xe,$e[0]),getGlobalDirection1(xe,$e[1])];return(Ie[0]==="e"||Ie[0]==="w")&&Ie.reverse(),Ie.join("")}function driftRect(xe,$e,Ie,Fe,Ue,qe){var At=Ie.__brushOption,Dt=xe.toRectRange(At.range),Lt=toLocalDelta($e,Ue,qe);each$f(Fe,function(jt){var hn=DIRECTION_MAP[jt];Dt[hn[0]][hn[1]]+=Lt[hn[0]]}),At.range=xe.fromRectRange(formatRectRange(Dt[0][0],Dt[1][0],Dt[0][1],Dt[1][1])),updateCoverAfterCreation($e,Ie),trigger($e,{isEnd:!1})}function driftPolygon(xe,$e,Ie,Fe){var Ue=$e.__brushOption.range,qe=toLocalDelta(xe,Ie,Fe);each$f(Ue,function(At){At[0]+=qe[0],At[1]+=qe[1]}),updateCoverAfterCreation(xe,$e),trigger(xe,{isEnd:!1})}function toLocalDelta(xe,$e,Ie){var Fe=xe.group,Ue=Fe.transformCoordToLocal($e,Ie),qe=Fe.transformCoordToLocal(0,0);return[Ue[0]-qe[0],Ue[1]-qe[1]]}function clipByPanel(xe,$e,Ie){var Fe=getPanelByCover(xe,$e);return Fe&&Fe!==BRUSH_PANEL_GLOBAL?Fe.clipPath(Ie,xe._transform):clone$4(Ie)}function pointsToRect(xe){var $e=mathMin$1(xe[0][0],xe[1][0]),Ie=mathMin$1(xe[0][1],xe[1][1]),Fe=mathMax$1(xe[0][0],xe[1][0]),Ue=mathMax$1(xe[0][1],xe[1][1]);return{x:$e,y:Ie,width:Fe-$e,height:Ue-Ie}}function resetCursor(xe,$e,Ie){if(!(!xe._brushType||isOutsideZrArea(xe,$e.offsetX,$e.offsetY))){var Fe=xe._zr,Ue=xe._covers,qe=getPanelByPoint(xe,$e,Ie);if(!xe._dragging)for(var At=0;AtFe.getWidth()||Ie<0||Ie>Fe.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(xe,$e){function Ie(Fe){return Fe}return createBaseRectCover({toRectRange:Ie,fromRectRange:Ie},xe,$e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(xe){var $e=getTrackEnds(xe);return formatRectRange($e[1][0],$e[1][1],$e[0][0],$e[0][1])},updateCoverShape:function(xe,$e,Ie,Fe){updateBaseRect(xe,$e,Ie,Fe)},updateCommon:updateCommon$1,contain:mainShapeContain},polygon:{createCover:function(xe,$e){var Ie=new Group$3;return Ie.add(new Polyline$1({name:"main",style:makeStyle($e),silent:!0})),Ie},getCreatingRange:function(xe){return xe},endCreating:function(xe,$e){$e.remove($e.childAt(0)),$e.add(new Polygon({name:"main",draggable:!0,drift:curry$1(driftPolygon,xe,$e),ondragend:curry$1(trigger,xe,{isEnd:!0})}))},updateCoverShape:function(xe,$e,Ie,Fe){$e.childAt(0).setShape({points:clipByPanel(xe,$e,Ie)})},updateCommon:updateCommon$1,contain:mainShapeContain}};function getLineRenderer(xe){return{createCover:function($e,Ie){return createBaseRectCover({toRectRange:function(Fe){var Ue=[Fe,[0,100]];return xe&&Ue.reverse(),Ue},fromRectRange:function(Fe){return Fe[xe]}},$e,Ie,[[["w"],["e"]],[["n"],["s"]]][xe])},getCreatingRange:function($e){var Ie=getTrackEnds($e),Fe=mathMin$1(Ie[0][xe],Ie[1][xe]),Ue=mathMax$1(Ie[0][xe],Ie[1][xe]);return[Fe,Ue]},updateCoverShape:function($e,Ie,Fe,Ue){var qe,At=getPanelByCover($e,Ie);if(At!==BRUSH_PANEL_GLOBAL&&At.getLinearBrushOtherExtent)qe=At.getLinearBrushOtherExtent(xe);else{var Dt=$e._zr;qe=[0,[Dt.getWidth(),Dt.getHeight()][1-xe]]}var Lt=[Fe,qe];xe&&Lt.reverse(),updateBaseRect($e,Ie,Lt,Ue)},updateCommon:updateCommon$1,contain:mainShapeContain}}function makeRectPanelClipPath(xe){return xe=normalizeRect(xe),function($e){return clipPointsByRect($e,xe)}}function makeLinearBrushOtherExtent(xe,$e){return xe=normalizeRect(xe),function(Ie){var Fe=$e??Ie,Ue=Fe?xe.width:xe.height,qe=Fe?xe.x:xe.y;return[qe,qe+(Ue||0)]}}function makeRectIsTargetByCursor(xe,$e,Ie){var Fe=normalizeRect(xe);return function(Ue,qe){return Fe.contain(qe[0],qe[1])&&!onIrrelevantElement(Ue,$e,Ie)}}function normalizeRect(xe){return BoundingRect.create(xe)}var elementList$1=["axisLine","axisTickLabel","axisName"],ParallelAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){xe.prototype.init.apply(this,arguments),(this._brushController=new BrushController(Fe.getZr())).on("brush",bind$1(this._onBrush,this))},$e.prototype.render=function(Ie,Fe,Ue,qe){if(!fromAxisAreaSelect(Ie,Fe,qe)){this.axisModel=Ie,this.api=Ue,this.group.removeAll();var At=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!Ie.get("show")){var Dt=getCoordSysModel(Ie,Fe),Lt=Dt.coordinateSystem,jt=Ie.getAreaSelectStyle(),hn=jt.width,vn=Ie.axis.dim,bn=Lt.getAxisLayout(vn),_n=extend({strokeContainThreshold:hn},bn),wn=new AxisBuilder(Ie,_n);each$f(elementList$1,wn.add,wn),this._axisGroup.add(wn.getGroup()),this._refreshBrushController(_n,jt,Ie,Dt,hn,Ue),groupTransition(At,this._axisGroup,Ie)}}},$e.prototype._refreshBrushController=function(Ie,Fe,Ue,qe,At,Dt){var Lt=Ue.axis.getExtent(),jt=Lt[1]-Lt[0],hn=Math.min(30,Math.abs(jt)*.1),vn=BoundingRect.create({x:Lt[0],y:-At/2,width:jt,height:At});vn.x-=hn,vn.width+=2*hn,this._brushController.mount({enableGlobalPan:!0,rotation:Ie.rotation,x:Ie.position[0],y:Ie.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(vn),isTargetByCursor:makeRectIsTargetByCursor(vn,Dt,qe),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(vn,0)}]).enableBrush({brushType:"lineX",brushStyle:Fe,removeOnClick:!0}).updateCovers(getCoverInfoList(Ue))},$e.prototype._onBrush=function(Ie){var Fe=Ie.areas,Ue=this.axisModel,qe=Ue.axis,At=map$1(Fe,function(Dt){return[qe.coordToData(Dt.range[0],!0),qe.coordToData(Dt.range[1],!0)]});(!Ue.option.realtime===Ie.isEnd||Ie.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:Ue.id,intervals:At})},$e.prototype.dispose=function(){this._brushController.dispose()},$e.type="parallelAxis",$e}(ComponentView);function fromAxisAreaSelect(xe,$e,Ie){return Ie&&Ie.type==="axisAreaSelect"&&$e.findComponents({mainType:"parallelAxis",query:Ie})[0]===xe}function getCoverInfoList(xe){var $e=xe.axis;return map$1(xe.activeIntervals,function(Ie){return{brushType:"lineX",panelId:"pl",range:[$e.dataToCoord(Ie[0],!0),$e.dataToCoord(Ie[1],!0)]}})}function getCoordSysModel(xe,$e){return $e.getComponent("parallel",xe.get("parallelIndex"))}var actionInfo={type:"axisAreaSelect",event:"axisAreaSelected"};function installParallelActions(xe){xe.registerAction(actionInfo,function($e,Ie){Ie.eachComponent({mainType:"parallelAxis",query:$e},function(Fe){Fe.axis.model.setActiveIntervals($e.intervals)})}),xe.registerAction("parallelAxisExpand",function($e,Ie){Ie.eachComponent({mainType:"parallel",query:$e},function(Fe){Fe.setAxisExpand($e)})})}var defaultAxisOption={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function install$D(xe){xe.registerComponentView(ParallelView),xe.registerComponentModel(ParallelModel),xe.registerCoordinateSystem("parallel",parallelCoordSysCreator),xe.registerPreprocessor(parallelPreprocessor),xe.registerComponentModel(ParallelAxisModel),xe.registerComponentView(ParallelAxisView),axisModelCreator(xe,"parallel",ParallelAxisModel,defaultAxisOption),installParallelActions(xe)}function install$C(xe){use(install$D),xe.registerChartView(ParallelView$1),xe.registerSeriesModel(ParallelSeriesModel),xe.registerVisual(xe.PRIORITY.VISUAL.BRUSH,parallelVisual)}var SankeyPathShape=function(){function xe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return xe}(),SankeyPath=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new SankeyPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.extent;Ie.moveTo(Fe.x1,Fe.y1),Ie.bezierCurveTo(Fe.cpx1,Fe.cpy1,Fe.cpx2,Fe.cpy2,Fe.x2,Fe.y2),Fe.orient==="vertical"?(Ie.lineTo(Fe.x2+Ue,Fe.y2),Ie.bezierCurveTo(Fe.cpx2+Ue,Fe.cpy2,Fe.cpx1+Ue,Fe.cpy1,Fe.x1+Ue,Fe.y1)):(Ie.lineTo(Fe.x2,Fe.y2+Ue),Ie.bezierCurveTo(Fe.cpx2,Fe.cpy2+Ue,Fe.cpx1,Fe.cpy1+Ue,Fe.x1,Fe.y1+Ue)),Ie.closePath()},$e.prototype.highlight=function(){enterEmphasis(this)},$e.prototype.downplay=function(){leaveEmphasis(this)},$e}(Path),SankeyView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._focusAdjacencyDisabled=!1,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.getGraph(),Dt=this.group,Lt=Ie.layoutInfo,jt=Lt.width,hn=Lt.height,vn=Ie.getData(),bn=Ie.getData("edge"),_n=Ie.get("orient");this._model=Ie,Dt.removeAll(),Dt.x=Lt.x,Dt.y=Lt.y,At.eachEdge(function(wn){var kn=new SankeyPath,Cn=getECData(kn);Cn.dataIndex=wn.dataIndex,Cn.seriesIndex=Ie.seriesIndex,Cn.dataType="edge";var Sn=wn.getModel(),xn=Sn.getModel("lineStyle"),En=xn.get("curveness"),Tn=wn.node1.getLayout(),An=wn.node1.getModel(),$n=An.get("localX"),Pn=An.get("localY"),Nn=wn.node2.getLayout(),Mn=wn.node2.getModel(),In=Mn.get("localX"),On=Mn.get("localY"),Rn=wn.getLayout(),Bn,Vn,Ln,Dn,Hn,Fn,zn,jn;kn.shape.extent=Math.max(1,Rn.dy),kn.shape.orient=_n,_n==="vertical"?(Bn=($n!=null?$n*jt:Tn.x)+Rn.sy,Vn=(Pn!=null?Pn*hn:Tn.y)+Tn.dy,Ln=(In!=null?In*jt:Nn.x)+Rn.ty,Dn=On!=null?On*hn:Nn.y,Hn=Bn,Fn=Vn*(1-En)+Dn*En,zn=Ln,jn=Vn*En+Dn*(1-En)):(Bn=($n!=null?$n*jt:Tn.x)+Tn.dx,Vn=(Pn!=null?Pn*hn:Tn.y)+Rn.sy,Ln=In!=null?In*jt:Nn.x,Dn=(On!=null?On*hn:Nn.y)+Rn.ty,Hn=Bn*(1-En)+Ln*En,Fn=Vn,zn=Bn*En+Ln*(1-En),jn=Dn),kn.setShape({x1:Bn,y1:Vn,x2:Ln,y2:Dn,cpx1:Hn,cpy1:Fn,cpx2:zn,cpy2:jn}),kn.useStyle(xn.getItemStyle()),applyCurveStyle(kn.style,_n,wn);var Gn=""+Sn.get("value"),Wn=getLabelStatesModels(Sn,"edgeLabel");setLabelStyle(kn,Wn,{labelFetcher:{getFormattedLabel:function(rr,Jn,Yn,qn,ar,tr){return Ie.getFormattedLabel(rr,Jn,"edge",qn,retrieve3(ar,Wn.normal&&Wn.normal.get("formatter"),Gn),tr)}},labelDataIndex:wn.dataIndex,defaultText:Gn}),kn.setTextConfig({position:"inside"});var Xn=Sn.getModel("emphasis");setStatesStylesFromModel(kn,Sn,"lineStyle",function(rr){var Jn=rr.getItemStyle();return applyCurveStyle(Jn,_n,wn),Jn}),Dt.add(kn),bn.setItemGraphicEl(wn.dataIndex,kn);var er=Xn.get("focus");toggleHoverEmphasis(kn,er==="adjacency"?wn.getAdjacentDataIndices():er==="trajectory"?wn.getTrajectoryDataIndices():er,Xn.get("blurScope"),Xn.get("disabled"))}),At.eachNode(function(wn){var kn=wn.getLayout(),Cn=wn.getModel(),Sn=Cn.get("localX"),xn=Cn.get("localY"),En=Cn.getModel("emphasis"),Tn=new Rect$2({shape:{x:Sn!=null?Sn*jt:kn.x,y:xn!=null?xn*hn:kn.y,width:kn.dx,height:kn.dy},style:Cn.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(Tn,getLabelStatesModels(Cn),{labelFetcher:{getFormattedLabel:function($n,Pn){return Ie.getFormattedLabel($n,Pn,"node")}},labelDataIndex:wn.dataIndex,defaultText:wn.id}),Tn.disableLabelAnimation=!0,Tn.setStyle("fill",wn.getVisual("color")),Tn.setStyle("decal",wn.getVisual("style").decal),setStatesStylesFromModel(Tn,Cn),Dt.add(Tn),vn.setItemGraphicEl(wn.dataIndex,Tn),getECData(Tn).dataType="node";var An=En.get("focus");toggleHoverEmphasis(Tn,An==="adjacency"?wn.getAdjacentDataIndices():An==="trajectory"?wn.getTrajectoryDataIndices():An,En.get("blurScope"),En.get("disabled"))}),vn.eachItemGraphicEl(function(wn,kn){var Cn=vn.getItemModel(kn);Cn.get("draggable")&&(wn.drift=function(Sn,xn){qe._focusAdjacencyDisabled=!0,this.shape.x+=Sn,this.shape.y+=xn,this.dirty(),Ue.dispatchAction({type:"dragNode",seriesId:Ie.id,dataIndex:vn.getRawIndex(kn),localX:this.shape.x/jt,localY:this.shape.y/hn})},wn.ondragend=function(){qe._focusAdjacencyDisabled=!1},wn.draggable=!0,wn.cursor="move")}),!this._data&&Ie.isAnimationEnabled()&&Dt.setClipPath(createGridClipShape$1(Dt.getBoundingRect(),Ie,function(){Dt.removeClipPath()})),this._data=Ie.getData()},$e.prototype.dispose=function(){},$e.type="sankey",$e}(ChartView);function applyCurveStyle(xe,$e,Ie){switch(xe.fill){case"source":xe.fill=Ie.node1.getVisual("color"),xe.decal=Ie.node1.getVisual("style").decal;break;case"target":xe.fill=Ie.node2.getVisual("color"),xe.decal=Ie.node2.getVisual("style").decal;break;case"gradient":var Fe=Ie.node1.getVisual("color"),Ue=Ie.node2.getVisual("color");isString(Fe)&&isString(Ue)&&(xe.fill=new LinearGradient(0,0,+($e==="horizontal"),+($e==="vertical"),[{color:Fe,offset:0},{color:Ue,offset:1}]))}}function createGridClipShape$1(xe,$e,Ie){var Fe=new Rect$2({shape:{x:xe.x-10,y:xe.y-10,width:0,height:xe.height+20}});return initProps(Fe,{shape:{width:xe.width+20}},$e,Ie),Fe}var SankeySeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue=Ie.edges||Ie.links,qe=Ie.data||Ie.nodes,At=Ie.levels;this.levelModels=[];for(var Dt=this.levelModels,Lt=0;Lt=0&&(Dt[At[Lt].depth]=new Model(At[Lt],this,Fe));if(qe&&Ue){var jt=createGraphFromNodeEdge(qe,Ue,this,!0,hn);return jt.data}function hn(vn,bn){vn.wrapMethod("getItemModel",function(_n,wn){var kn=_n.parentModel,Cn=kn.getData().getItemLayout(wn);if(Cn){var Sn=Cn.depth,xn=kn.levelModels[Sn];xn&&(_n.parentModel=xn)}return _n}),bn.wrapMethod("getItemModel",function(_n,wn){var kn=_n.parentModel,Cn=kn.getGraph().getEdgeByIndex(wn),Sn=Cn.node1.getLayout();if(Sn){var xn=Sn.depth,En=kn.levelModels[xn];En&&(_n.parentModel=En)}return _n})}},$e.prototype.setNodePosition=function(Ie,Fe){var Ue=this.option.data||this.option.nodes,qe=Ue[Ie];qe.localX=Fe[0],qe.localY=Fe[1]},$e.prototype.getGraph=function(){return this.getData().graph},$e.prototype.getEdgeData=function(){return this.getGraph().edgeData},$e.prototype.formatTooltip=function(Ie,Fe,Ue){function qe(_n){return isNaN(_n)||_n==null}if(Ue==="edge"){var At=this.getDataParams(Ie,Ue),Dt=At.data,Lt=At.value,jt=Dt.source+" -- "+Dt.target;return createTooltipMarkup("nameValue",{name:jt,value:Lt,noValue:qe(Lt)})}else{var hn=this.getGraph().getNodeByIndex(Ie),vn=hn.getLayout().value,bn=this.getDataParams(Ie,Ue).data.name;return createTooltipMarkup("nameValue",{name:bn!=null?bn+"":null,value:vn,noValue:qe(vn)})}},$e.prototype.optionUpdated=function(){},$e.prototype.getDataParams=function(Ie,Fe){var Ue=xe.prototype.getDataParams.call(this,Ie,Fe);if(Ue.value==null&&Fe==="node"){var qe=this.getGraph().getNodeByIndex(Ie),At=qe.getLayout().value;Ue.value=At}return Ue},$e.type="series.sankey",$e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},$e}(SeriesModel);function sankeyLayout(xe,$e){xe.eachSeriesByType("sankey",function(Ie){var Fe=Ie.get("nodeWidth"),Ue=Ie.get("nodeGap"),qe=getViewRect$1(Ie,$e);Ie.layoutInfo=qe;var At=qe.width,Dt=qe.height,Lt=Ie.getGraph(),jt=Lt.nodes,hn=Lt.edges;computeNodeValues(jt);var vn=filter(jt,function(kn){return kn.getLayout().value===0}),bn=vn.length!==0?0:Ie.get("layoutIterations"),_n=Ie.get("orient"),wn=Ie.get("nodeAlign");layoutSankey(jt,hn,Fe,Ue,At,Dt,bn,_n,wn)})}function getViewRect$1(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function layoutSankey(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){computeNodeBreadths(xe,$e,Ie,Ue,qe,Dt,Lt),computeNodeDepths(xe,$e,qe,Ue,Fe,At,Dt),computeEdgeDepths(xe,Dt)}function computeNodeValues(xe){each$f(xe,function($e){var Ie=sum($e.outEdges,getEdgeValue),Fe=sum($e.inEdges,getEdgeValue),Ue=$e.getValue()||0,qe=Math.max(Ie,Fe,Ue);$e.setLayout({value:qe},!0)})}function computeNodeBreadths(xe,$e,Ie,Fe,Ue,qe,At){for(var Dt=[],Lt=[],jt=[],hn=[],vn=0,bn=0;bn<$e.length;bn++)Dt[bn]=1;for(var bn=0;bn=0;Sn&&Cn.depth>_n&&(_n=Cn.depth),kn.setLayout({depth:Sn?Cn.depth:vn},!0),qe==="vertical"?kn.setLayout({dy:Ie},!0):kn.setLayout({dx:Ie},!0);for(var xn=0;xnvn-1?_n:vn-1;At&&At!=="left"&&adjustNodeWithNodeAlign(xe,At,qe,Pn);var Nn=qe==="vertical"?(Ue-Ie)/Pn:(Fe-Ie)/Pn;scaleNodeBreadths(xe,Nn,qe)}function isNodeDepth(xe){var $e=xe.hostGraph.data.getRawDataItem(xe.dataIndex);return $e.depth!=null&&$e.depth>=0}function adjustNodeWithNodeAlign(xe,$e,Ie,Fe){if($e==="right"){for(var Ue=[],qe=xe,At=0;qe.length;){for(var Dt=0;Dt0;qe--)Lt*=.99,relaxRightToLeft(Dt,Lt,At),resolveCollisions(Dt,Ue,Ie,Fe,At),relaxLeftToRight(Dt,Lt,At),resolveCollisions(Dt,Ue,Ie,Fe,At)}function prepareNodesByBreadth(xe,$e){var Ie=[],Fe=$e==="vertical"?"y":"x",Ue=groupData(xe,function(qe){return qe.getLayout()[Fe]});return Ue.keys.sort(function(qe,At){return qe-At}),each$f(Ue.keys,function(qe){Ie.push(Ue.buckets.get(qe))}),Ie}function initializeNodeDepth(xe,$e,Ie,Fe,Ue,qe){var At=1/0;each$f(xe,function(Dt){var Lt=Dt.length,jt=0;each$f(Dt,function(vn){jt+=vn.getLayout().value});var hn=qe==="vertical"?(Fe-(Lt-1)*Ue)/jt:(Ie-(Lt-1)*Ue)/jt;hn0&&(Dt=Lt.getLayout()[qe]+jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0)),hn=Lt.getLayout()[qe]+Lt.getLayout()[bn]+$e;var wn=Ue==="vertical"?Fe:Ie;if(jt=hn-$e-wn,jt>0){Dt=Lt.getLayout()[qe]-jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0),hn=Dt;for(var _n=vn-2;_n>=0;--_n)Lt=At[_n],jt=Lt.getLayout()[qe]+Lt.getLayout()[bn]+$e-hn,jt>0&&(Dt=Lt.getLayout()[qe]-jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0)),hn=Lt.getLayout()[qe]}})}function relaxRightToLeft(xe,$e,Ie){each$f(xe.slice().reverse(),function(Fe){each$f(Fe,function(Ue){if(Ue.outEdges.length){var qe=sum(Ue.outEdges,weightedTarget,Ie)/sum(Ue.outEdges,getEdgeValue);if(isNaN(qe)){var At=Ue.outEdges.length;qe=At?sum(Ue.outEdges,centerTarget,Ie)/At:0}if(Ie==="vertical"){var Dt=Ue.getLayout().x+(qe-center(Ue,Ie))*$e;Ue.setLayout({x:Dt},!0)}else{var Lt=Ue.getLayout().y+(qe-center(Ue,Ie))*$e;Ue.setLayout({y:Lt},!0)}}})})}function weightedTarget(xe,$e){return center(xe.node2,$e)*xe.getValue()}function centerTarget(xe,$e){return center(xe.node2,$e)}function weightedSource(xe,$e){return center(xe.node1,$e)*xe.getValue()}function centerSource(xe,$e){return center(xe.node1,$e)}function center(xe,$e){return $e==="vertical"?xe.getLayout().x+xe.getLayout().dx/2:xe.getLayout().y+xe.getLayout().dy/2}function getEdgeValue(xe){return xe.getValue()}function sum(xe,$e,Ie){for(var Fe=0,Ue=xe.length,qe=-1;++qeAt&&(At=Lt)}),each$f(Fe,function(Dt){var Lt=new VisualMapping({type:"color",mappingMethod:"linear",dataExtent:[qe,At],visual:$e.get("color")}),jt=Lt.mapValueToVisual(Dt.getLayout().value),hn=Dt.getModel().get(["itemStyle","color"]);hn!=null?(Dt.setVisual("color",hn),Dt.setVisual("style",{fill:hn})):(Dt.setVisual("color",jt),Dt.setVisual("style",{fill:jt}))})}Ue.length&&each$f(Ue,function(Dt){var Lt=Dt.getModel().get("lineStyle");Dt.setVisual("style",Lt)})})}function install$B(xe){xe.registerChartView(SankeyView),xe.registerSeriesModel(SankeySeriesModel),xe.registerLayout(sankeyLayout),xe.registerVisual(sankeyVisual),xe.registerAction({type:"dragNode",event:"dragnode",update:"update"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"sankey",query:$e},function(Fe){Fe.setNodePosition($e.dataIndex,[$e.localX,$e.localY])})})}var WhiskerBoxCommonMixin=function(){function xe(){}return xe.prototype.getInitialData=function($e,Ie){var Fe,Ue=Ie.getComponent("xAxis",this.get("xAxisIndex")),qe=Ie.getComponent("yAxis",this.get("yAxisIndex")),At=Ue.get("type"),Dt=qe.get("type"),Lt;At==="category"?($e.layout="horizontal",Fe=Ue.getOrdinalMeta(),Lt=!0):Dt==="category"?($e.layout="vertical",Fe=qe.getOrdinalMeta(),Lt=!0):$e.layout=$e.layout||"horizontal";var jt=["x","y"],hn=$e.layout==="horizontal"?0:1,vn=this._baseAxisDim=jt[hn],bn=jt[1-hn],_n=[Ue,qe],wn=_n[hn].get("type"),kn=_n[1-hn].get("type"),Cn=$e.data;if(Cn&&Lt){var Sn=[];each$f(Cn,function(Tn,An){var $n;isArray$1(Tn)?($n=Tn.slice(),Tn.unshift(An)):isArray$1(Tn.value)?($n=extend({},Tn),$n.value=$n.value.slice(),Tn.value.unshift(An)):$n=Tn,Sn.push($n)}),$e.data=Sn}var xn=this.defaultValueDimensions,En=[{name:vn,type:getDimensionTypeByAxis(wn),ordinalMeta:Fe,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:bn,type:getDimensionTypeByAxis(kn),dimsDef:xn.slice()}];return createSeriesDataSimply(this,{coordDimensions:En,dimensionsCount:xn.length+1,encodeDefaulter:curry$1(makeSeriesEncodeForAxisCoordSys,En,this)})},xe.prototype.getBaseAxis=function(){var $e=this._baseAxisDim;return this.ecModel.getComponent($e+"Axis",this.get($e+"AxisIndex")).axis},xe}(),BoxplotSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],Ie.visualDrawType="stroke",Ie}return $e.type="series.boxplot",$e.dependencies=["xAxis","yAxis","grid"],$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},$e}(SeriesModel);mixin(BoxplotSeriesModel,WhiskerBoxCommonMixin,!0);var BoxplotView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this.group,Dt=this._data;this._data||At.removeAll();var Lt=Ie.get("layout")==="horizontal"?1:0;qe.diff(Dt).add(function(jt){if(qe.hasValue(jt)){var hn=qe.getItemLayout(jt),vn=createNormalBox$1(hn,qe,jt,Lt,!0);qe.setItemGraphicEl(jt,vn),At.add(vn)}}).update(function(jt,hn){var vn=Dt.getItemGraphicEl(hn);if(!qe.hasValue(jt)){At.remove(vn);return}var bn=qe.getItemLayout(jt);vn?(saveOldStyle(vn),updateNormalBoxData(bn,vn,qe,jt)):vn=createNormalBox$1(bn,qe,jt,Lt),At.add(vn),qe.setItemGraphicEl(jt,vn)}).remove(function(jt){var hn=Dt.getItemGraphicEl(jt);hn&&At.remove(hn)}).execute(),this._data=qe},$e.prototype.remove=function(Ie){var Fe=this.group,Ue=this._data;this._data=null,Ue&&Ue.eachItemGraphicEl(function(qe){qe&&Fe.remove(qe)})},$e.type="boxplot",$e}(ChartView),BoxPathShape=function(){function xe(){}return xe}(),BoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="boxplotBoxPath",Fe}return $e.prototype.getDefaultShape=function(){return new BoxPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=0;for(Ie.moveTo(Ue[qe][0],Ue[qe][1]),qe++;qe<4;qe++)Ie.lineTo(Ue[qe][0],Ue[qe][1]);for(Ie.closePath();qekn){var Tn=[Sn,En];Fe.push(Tn)}}}return{boxData:Ie,outliers:Fe}}var boxplotTransform={type:"echarts:boxplot",transform:function xe($e){var Ie=$e.upstream;if(Ie.sourceFormat!==SOURCE_FORMAT_ARRAY_ROWS){var Fe="";throwError(Fe)}var Ue=prepareBoxplotData(Ie.getRawData(),$e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:Ue.boxData},{data:Ue.outliers}]}};function install$A(xe){xe.registerSeriesModel(BoxplotSeriesModel),xe.registerChartView(BoxplotView),xe.registerLayout(boxplotLayout),xe.registerTransform(boxplotTransform)}var SKIP_PROPS=["color","borderColor"],CandlestickView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(Ie),this._isLargeDraw?this._renderLarge(Ie):this._renderNormal(Ie)},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this._clear(),this._updateDrawMode(Ie)},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(Ie,Fe):this._incrementalRenderNormal(Ie,Fe)},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._updateDrawMode=function(Ie){var Fe=Ie.pipelineContext.large;(this._isLargeDraw==null||Fe!==this._isLargeDraw)&&(this._isLargeDraw=Fe,this._clear())},$e.prototype._renderNormal=function(Ie){var Fe=Ie.getData(),Ue=this._data,qe=this.group,At=Fe.getLayout("isSimpleBox"),Dt=Ie.get("clip",!0),Lt=Ie.coordinateSystem,jt=Lt.getArea&&Lt.getArea();this._data||qe.removeAll(),Fe.diff(Ue).add(function(hn){if(Fe.hasValue(hn)){var vn=Fe.getItemLayout(hn);if(Dt&&isNormalBoxClipped(jt,vn))return;var bn=createNormalBox(vn,hn,!0);initProps(bn,{shape:{points:vn.ends}},Ie,hn),setBoxCommon(bn,Fe,hn,At),qe.add(bn),Fe.setItemGraphicEl(hn,bn)}}).update(function(hn,vn){var bn=Ue.getItemGraphicEl(vn);if(!Fe.hasValue(hn)){qe.remove(bn);return}var _n=Fe.getItemLayout(hn);if(Dt&&isNormalBoxClipped(jt,_n)){qe.remove(bn);return}bn?(updateProps$1(bn,{shape:{points:_n.ends}},Ie,hn),saveOldStyle(bn)):bn=createNormalBox(_n),setBoxCommon(bn,Fe,hn,At),qe.add(bn),Fe.setItemGraphicEl(hn,bn)}).remove(function(hn){var vn=Ue.getItemGraphicEl(hn);vn&&qe.remove(vn)}).execute(),this._data=Fe},$e.prototype._renderLarge=function(Ie){this._clear(),createLarge(Ie,this.group);var Fe=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;Fe?this.group.setClipPath(Fe):this.group.removeClipPath()},$e.prototype._incrementalRenderNormal=function(Ie,Fe){for(var Ue=Fe.getData(),qe=Ue.getLayout("isSimpleBox"),At;(At=Ie.next())!=null;){var Dt=Ue.getItemLayout(At),Lt=createNormalBox(Dt);setBoxCommon(Lt,Ue,At,qe),Lt.incremental=!0,this.group.add(Lt),this._progressiveEls.push(Lt)}},$e.prototype._incrementalRenderLarge=function(Ie,Fe){createLarge(Fe,this.group,this._progressiveEls,!0)},$e.prototype.remove=function(Ie){this._clear()},$e.prototype._clear=function(){this.group.removeAll(),this._data=null},$e.type="candlestick",$e}(ChartView),NormalBoxPathShape=function(){function xe(){}return xe}(),NormalBoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="normalCandlestickBox",Fe}return $e.prototype.getDefaultShape=function(){return new NormalBoxPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points;this.__simpleBox?(Ie.moveTo(Ue[4][0],Ue[4][1]),Ie.lineTo(Ue[6][0],Ue[6][1])):(Ie.moveTo(Ue[0][0],Ue[0][1]),Ie.lineTo(Ue[1][0],Ue[1][1]),Ie.lineTo(Ue[2][0],Ue[2][1]),Ie.lineTo(Ue[3][0],Ue[3][1]),Ie.closePath(),Ie.moveTo(Ue[4][0],Ue[4][1]),Ie.lineTo(Ue[5][0],Ue[5][1]),Ie.moveTo(Ue[6][0],Ue[6][1]),Ie.lineTo(Ue[7][0],Ue[7][1]))},$e}(Path);function createNormalBox(xe,$e,Ie){var Fe=xe.ends;return new NormalBoxPath({shape:{points:Ie?transInit(Fe,xe):Fe},z2:100})}function isNormalBoxClipped(xe,$e){for(var Ie=!0,Fe=0;Fe<$e.ends.length;Fe++)if(xe.contain($e.ends[Fe][0],$e.ends[Fe][1])){Ie=!1;break}return Ie}function setBoxCommon(xe,$e,Ie,Fe){var Ue=$e.getItemModel(Ie);xe.useStyle($e.getItemVisual(Ie,"style")),xe.style.strokeNoScale=!0,xe.__simpleBox=Fe,setStatesStylesFromModel(xe,Ue)}function transInit(xe,$e){return map$1(xe,function(Ie){return Ie=Ie.slice(),Ie[1]=$e.initBaseline,Ie})}var LargeBoxPathShape=function(){function xe(){}return xe}(),LargeBoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="largeCandlestickBox",Fe}return $e.prototype.getDefaultShape=function(){return new LargeBoxPathShape},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.points,qe=0;qe0?"borderColor":"borderColor0"])||Ie.get(["itemStyle",xe>0?"color":"color0"]);xe===0&&(Ue=Ie.get(["itemStyle","borderColorDoji"]));var qe=Ie.getModel("itemStyle").getItemStyle(SKIP_PROPS);$e.useStyle(qe),$e.style.fill=null,$e.style.stroke=Ue}var CandlestickSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],Ie}return $e.prototype.getShadowDim=function(){return"open"},$e.prototype.brushSelector=function(Ie,Fe,Ue){var qe=Fe.getItemLayout(Ie);return qe&&Ue.rect(qe.brushRect)},$e.type="series.candlestick",$e.dependencies=["xAxis","yAxis","grid"],$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},$e}(SeriesModel);mixin(CandlestickSeriesModel,WhiskerBoxCommonMixin,!0);function candlestickPreprocessor(xe){!xe||!isArray$1(xe.series)||each$f(xe.series,function($e){isObject$3($e)&&$e.type==="k"&&($e.type="candlestick")})}var positiveBorderColorQuery=["itemStyle","borderColor"],negativeBorderColorQuery=["itemStyle","borderColor0"],dojiBorderColorQuery=["itemStyle","borderColorDoji"],positiveColorQuery=["itemStyle","color"],negativeColorQuery=["itemStyle","color0"],candlestickVisual={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(xe,$e){function Ie(qe,At){return At.get(qe>0?positiveColorQuery:negativeColorQuery)}function Fe(qe,At){return At.get(qe===0?dojiBorderColorQuery:qe>0?positiveBorderColorQuery:negativeBorderColorQuery)}if(!$e.isSeriesFiltered(xe)){var Ue=xe.pipelineContext.large;return!Ue&&{progress:function(qe,At){for(var Dt;(Dt=qe.next())!=null;){var Lt=At.getItemModel(Dt),jt=At.getItemLayout(Dt).sign,hn=Lt.getItemStyle();hn.fill=Ie(jt,Lt),hn.stroke=Fe(jt,Lt)||hn.fill;var vn=At.ensureUniqueItemVisual(Dt,"style");extend(vn,hn)}}}}}},candlestickLayout={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(xe){var $e=xe.coordinateSystem,Ie=xe.getData(),Fe=calculateCandleWidth(xe,Ie),Ue=0,qe=1,At=["x","y"],Dt=Ie.getDimensionIndex(Ie.mapDimension(At[Ue])),Lt=map$1(Ie.mapDimensionsAll(At[qe]),Ie.getDimensionIndex,Ie),jt=Lt[0],hn=Lt[1],vn=Lt[2],bn=Lt[3];if(Ie.setLayout({candleWidth:Fe,isSimpleBox:Fe<=1.3}),Dt<0||Lt.length<4)return;return{progress:xe.pipelineContext.large?wn:_n};function _n(kn,Cn){for(var Sn,xn=Cn.getStore();(Sn=kn.next())!=null;){var En=xn.get(Dt,Sn),Tn=xn.get(jt,Sn),An=xn.get(hn,Sn),$n=xn.get(vn,Sn),Pn=xn.get(bn,Sn),Nn=Math.min(Tn,An),Mn=Math.max(Tn,An),In=Hn(Nn,En),On=Hn(Mn,En),Rn=Hn($n,En),Bn=Hn(Pn,En),Vn=[];Fn(Vn,On,0),Fn(Vn,In,1),Vn.push(jn(Bn),jn(On),jn(Rn),jn(In));var Ln=Cn.getItemModel(Sn),Dn=!!Ln.get(["itemStyle","borderColorDoji"]);Cn.setItemLayout(Sn,{sign:getSign(xn,Sn,Tn,An,hn,Dn),initBaseline:Tn>An?On[qe]:In[qe],ends:Vn,brushRect:zn($n,Pn,En)})}function Hn(Gn,Wn){var Xn=[];return Xn[Ue]=Wn,Xn[qe]=Gn,isNaN(Wn)||isNaN(Gn)?[NaN,NaN]:$e.dataToPoint(Xn)}function Fn(Gn,Wn,Xn){var er=Wn.slice(),rr=Wn.slice();er[Ue]=subPixelOptimize(er[Ue]+Fe/2,1,!1),rr[Ue]=subPixelOptimize(rr[Ue]-Fe/2,1,!0),Xn?Gn.push(er,rr):Gn.push(rr,er)}function zn(Gn,Wn,Xn){var er=Hn(Gn,Xn),rr=Hn(Wn,Xn);return er[Ue]-=Fe/2,rr[Ue]-=Fe/2,{x:er[0],y:er[1],width:Fe,height:rr[1]-er[1]}}function jn(Gn){return Gn[Ue]=subPixelOptimize(Gn[Ue],1),Gn}}function wn(kn,Cn){for(var Sn=createFloat32Array(kn.count*4),xn=0,En,Tn=[],An=[],$n,Pn=Cn.getStore(),Nn=!!xe.get(["itemStyle","borderColorDoji"]);($n=kn.next())!=null;){var Mn=Pn.get(Dt,$n),In=Pn.get(jt,$n),On=Pn.get(hn,$n),Rn=Pn.get(vn,$n),Bn=Pn.get(bn,$n);if(isNaN(Mn)||isNaN(Rn)||isNaN(Bn)){Sn[xn++]=NaN,xn+=3;continue}Sn[xn++]=getSign(Pn,$n,In,On,hn,Nn),Tn[Ue]=Mn,Tn[qe]=Rn,En=$e.dataToPoint(Tn,null,An),Sn[xn++]=En?En[0]:NaN,Sn[xn++]=En?En[1]:NaN,Tn[qe]=Bn,En=$e.dataToPoint(Tn,null,An),Sn[xn++]=En?En[1]:NaN}Cn.setLayout("largePoints",Sn)}}};function getSign(xe,$e,Ie,Fe,Ue,qe){var At;return Ie>Fe?At=-1:Ie0?xe.get(Ue,$e-1)<=Fe?1:-1:1,At}function calculateCandleWidth(xe,$e){var Ie=xe.getBaseAxis(),Fe,Ue=Ie.type==="category"?Ie.getBandWidth():(Fe=Ie.getExtent(),Math.abs(Fe[1]-Fe[0])/$e.count()),qe=parsePercent(retrieve2(xe.get("barMaxWidth"),Ue),Ue),At=parsePercent(retrieve2(xe.get("barMinWidth"),1),Ue),Dt=xe.get("barWidth");return Dt!=null?parsePercent(Dt,Ue):Math.max(Math.min(Ue/2,qe),At)}function install$z(xe){xe.registerChartView(CandlestickView),xe.registerSeriesModel(CandlestickSeriesModel),xe.registerPreprocessor(candlestickPreprocessor),xe.registerVisual(candlestickVisual),xe.registerLayout(candlestickLayout)}function updateRipplePath(xe,$e){var Ie=$e.rippleEffectColor||$e.color;xe.eachChild(function(Fe){Fe.attr({z:$e.z,zlevel:$e.zlevel,style:{stroke:$e.brushType==="stroke"?Ie:null,fill:$e.brushType==="fill"?Ie:null}})})}var EffectSymbol=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this,qe=new Symbol$1(Ie,Fe),At=new Group$3;return Ue.add(qe),Ue.add(At),Ue.updateData(Ie,Fe),Ue}return $e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},$e.prototype.startEffectAnimation=function(Ie){for(var Fe=Ie.symbolType,Ue=Ie.color,qe=Ie.rippleNumber,At=this.childAt(1),Dt=0;Dt0&&(Dt=this._getLineLength(qe)/hn*1e3),Dt!==this._period||Lt!==this._loop||jt!==this._roundTrip){qe.stopAnimation();var bn=void 0;isFunction(vn)?bn=vn(Ue):bn=vn,qe.__t>0&&(bn=-Dt*qe.__t),this._animateSymbol(qe,Dt,bn,Lt,jt)}this._period=Dt,this._loop=Lt,this._roundTrip=jt}},$e.prototype._animateSymbol=function(Ie,Fe,Ue,qe,At){if(Fe>0){Ie.__t=0;var Dt=this,Lt=Ie.animate("",qe).when(At?Fe*2:Fe,{__t:At?2:1}).delay(Ue).during(function(){Dt._updateSymbolPosition(Ie)});qe||Lt.done(function(){Dt.remove(Ie)}),Lt.start()}},$e.prototype._getLineLength=function(Ie){return dist$1(Ie.__p1,Ie.__cp1)+dist$1(Ie.__cp1,Ie.__p2)},$e.prototype._updateAnimationPoints=function(Ie,Fe){Ie.__p1=Fe[0],Ie.__p2=Fe[1],Ie.__cp1=Fe[2]||[(Fe[0][0]+Fe[1][0])/2,(Fe[0][1]+Fe[1][1])/2]},$e.prototype.updateData=function(Ie,Fe,Ue){this.childAt(0).updateData(Ie,Fe,Ue),this._updateEffectSymbol(Ie,Fe)},$e.prototype._updateSymbolPosition=function(Ie){var Fe=Ie.__p1,Ue=Ie.__p2,qe=Ie.__cp1,At=Ie.__t<1?Ie.__t:2-Ie.__t,Dt=[Ie.x,Ie.y],Lt=Dt.slice(),jt=quadraticAt$1,hn=quadraticDerivativeAt;Dt[0]=jt(Fe[0],qe[0],Ue[0],At),Dt[1]=jt(Fe[1],qe[1],Ue[1],At);var vn=Ie.__t<1?hn(Fe[0],qe[0],Ue[0],At):hn(Ue[0],qe[0],Fe[0],1-At),bn=Ie.__t<1?hn(Fe[1],qe[1],Ue[1],At):hn(Ue[1],qe[1],Fe[1],1-At);Ie.rotation=-Math.atan2(bn,vn)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(Ie.__lastT!==void 0&&Ie.__lastT=0&&!(qe[Lt]<=Fe);Lt--);Lt=Math.min(Lt,At-2)}else{for(Lt=Dt;LtFe);Lt++);Lt=Math.min(Lt-1,At-2)}var hn=(Fe-qe[Lt])/(qe[Lt+1]-qe[Lt]),vn=Ue[Lt],bn=Ue[Lt+1];Ie.x=vn[0]*(1-hn)+hn*bn[0],Ie.y=vn[1]*(1-hn)+hn*bn[1];var _n=Ie.__t<1?bn[0]-vn[0]:vn[0]-bn[0],wn=Ie.__t<1?bn[1]-vn[1]:vn[1]-bn[1];Ie.rotation=-Math.atan2(wn,_n)-Math.PI/2,this._lastFrame=Lt,this._lastFramePercent=Fe,Ie.ignore=!1}},$e}(EffectLine),LargeLinesPathShape=function(){function xe(){this.polyline=!1,this.curveness=0,this.segs=[]}return xe}(),LargeLinesPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe._off=0,Fe.hoverDataIdx=-1,Fe}return $e.prototype.reset=function(){this.notClear=!1,this._off=0},$e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new LargeLinesPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.segs,qe=Fe.curveness,At;if(Fe.polyline)for(At=this._off;At0){Ie.moveTo(Ue[At++],Ue[At++]);for(var Lt=1;Lt0){var _n=(jt+vn)/2-(hn-bn)*qe,wn=(hn+bn)/2-(vn-jt)*qe;Ie.quadraticCurveTo(_n,wn,vn,bn)}else Ie.lineTo(vn,bn)}this.incremental&&(this._off=At,this.notClear=!0)},$e.prototype.findDataIndex=function(Ie,Fe){var Ue=this.shape,qe=Ue.segs,At=Ue.curveness,Dt=this.style.lineWidth;if(Ue.polyline)for(var Lt=0,jt=0;jt0)for(var vn=qe[jt++],bn=qe[jt++],_n=1;_n0){var Cn=(vn+wn)/2-(bn-kn)*At,Sn=(bn+kn)/2-(wn-vn)*At;if(containStroke$2(vn,bn,Cn,Sn,wn,kn,Dt,Ie,Fe))return Lt}else if(containStroke$4(vn,bn,wn,kn,Dt,Ie,Fe))return Lt;Lt++}return-1},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var At=this.hoverDataIdx=this.findDataIndex(Ie,Fe);return At>=0}return this.hoverDataIdx=-1,!1},$e.prototype.getBoundingRect=function(){var Ie=this._rect;if(!Ie){for(var Fe=this.shape,Ue=Fe.segs,qe=1/0,At=1/0,Dt=-1/0,Lt=-1/0,jt=0;jt0&&(At.dataIndex=Lt+$e.__startIndex)})},xe.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},xe}(),linesLayout={seriesType:"lines",plan:createRenderPlanner(),reset:function(xe){var $e=xe.coordinateSystem;if($e){var Ie=xe.get("polyline"),Fe=xe.pipelineContext.large;return{progress:function(Ue,qe){var At=[];if(Fe){var Dt=void 0,Lt=Ue.end-Ue.start;if(Ie){for(var jt=0,hn=Ue.start;hn0&&(hn||jt.configLayer(Dt,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(Lt/10+.9,1),0)})),At.updateData(qe);var vn=Ie.get("clip",!0)&&createClipPath(Ie.coordinateSystem,!1,Ie);vn?this.group.setClipPath(vn):this.group.removeClipPath(),this._lastZlevel=Dt,this._finished=!0},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateLineDraw(qe,Ie);At.incrementalPrepareUpdate(qe),this._clearLayer(Ue),this._finished=!1},$e.prototype.incrementalRender=function(Ie,Fe,Ue){this._lineDraw.incrementalUpdate(Ie,Fe.getData()),this._finished=Ie.end===Fe.getData().count()},$e.prototype.eachRendered=function(Ie){this._lineDraw&&this._lineDraw.eachRendered(Ie)},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData(),At=Ie.pipelineContext;if(!this._finished||At.large||At.progressiveRender)return{update:!0};var Dt=linesLayout.reset(Ie,Fe,Ue);Dt.progress&&Dt.progress({start:0,end:qe.count(),count:qe.count()},qe),this._lineDraw.updateLayout(),this._clearLayer(Ue)},$e.prototype._updateLineDraw=function(Ie,Fe){var Ue=this._lineDraw,qe=this._showEffect(Fe),At=!!Fe.get("polyline"),Dt=Fe.pipelineContext,Lt=Dt.large;return(!Ue||qe!==this._hasEffet||At!==this._isPolyline||Lt!==this._isLargeDraw)&&(Ue&&Ue.remove(),Ue=this._lineDraw=Lt?new LargeLineDraw:new LineDraw(At?qe?EffectPolyline:Polyline:qe?EffectLine:Line),this._hasEffet=qe,this._isPolyline=At,this._isLargeDraw=Lt),this.group.add(Ue.group),Ue},$e.prototype._showEffect=function(Ie){return!!Ie.get(["effect","show"])},$e.prototype._clearLayer=function(Ie){var Fe=Ie.getZr(),Ue=Fe.painter.getType()==="svg";!Ue&&this._lastZlevel!=null&&Fe.painter.getLayer(this._lastZlevel).clear(!0)},$e.prototype.remove=function(Ie,Fe){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(Fe)},$e.prototype.dispose=function(Ie,Fe){this.remove(Ie,Fe)},$e.type="lines",$e}(ChartView),Uint32Arr=typeof Uint32Array>"u"?Array:Uint32Array,Float64Arr=typeof Float64Array>"u"?Array:Float64Array;function compatEc2(xe){var $e=xe.data;$e&&$e[0]&&$e[0][0]&&$e[0][0].coord&&(xe.data=map$1($e,function(Ie){var Fe=[Ie[0].coord,Ie[1].coord],Ue={coords:Fe};return Ie[0].name&&(Ue.fromName=Ie[0].name),Ie[1].name&&(Ue.toName=Ie[1].name),mergeAll([Ue,Ie[0],Ie[1]])}))}var LinesSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="lineStyle",Ie.visualDrawType="stroke",Ie}return $e.prototype.init=function(Ie){Ie.data=Ie.data||[],compatEc2(Ie);var Fe=this._processFlatCoordsArray(Ie.data);this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset,Fe.flatCoords&&(Ie.data=new Float32Array(Fe.count)),xe.prototype.init.apply(this,arguments)},$e.prototype.mergeOption=function(Ie){if(compatEc2(Ie),Ie.data){var Fe=this._processFlatCoordsArray(Ie.data);this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset,Fe.flatCoords&&(Ie.data=new Float32Array(Fe.count))}xe.prototype.mergeOption.apply(this,arguments)},$e.prototype.appendData=function(Ie){var Fe=this._processFlatCoordsArray(Ie.data);Fe.flatCoords&&(this._flatCoords?(this._flatCoords=concatArray(this._flatCoords,Fe.flatCoords),this._flatCoordsOffset=concatArray(this._flatCoordsOffset,Fe.flatCoordsOffset)):(this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset),Ie.data=new Float32Array(Fe.count)),this.getRawData().appendData(Ie.data)},$e.prototype._getCoordsFromItemModel=function(Ie){var Fe=this.getData().getItemModel(Ie),Ue=Fe.option instanceof Array?Fe.option:Fe.getShallow("coords");return Ue},$e.prototype.getLineCoordsCount=function(Ie){return this._flatCoordsOffset?this._flatCoordsOffset[Ie*2+1]:this._getCoordsFromItemModel(Ie).length},$e.prototype.getLineCoords=function(Ie,Fe){if(this._flatCoordsOffset){for(var Ue=this._flatCoordsOffset[Ie*2],qe=this._flatCoordsOffset[Ie*2+1],At=0;At ")})},$e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},$e.prototype.getProgressive=function(){var Ie=this.option.progressive;return Ie??(this.option.large?1e4:this.get("progressive"))},$e.prototype.getProgressiveThreshold=function(){var Ie=this.option.progressiveThreshold;return Ie??(this.option.large?2e4:this.get("progressiveThreshold"))},$e.prototype.getZLevelKey=function(){var Ie=this.getModel("effect"),Fe=Ie.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:Ie.get("show")&&Fe>0?Fe+"":""},$e.type="series.lines",$e.dependencies=["grid","polar","geo","calendar"],$e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},$e}(SeriesModel);function normalize(xe){return xe instanceof Array||(xe=[xe,xe]),xe}var linesVisual={seriesType:"lines",reset:function(xe){var $e=normalize(xe.get("symbol")),Ie=normalize(xe.get("symbolSize")),Fe=xe.getData();Fe.setVisual("fromSymbol",$e&&$e[0]),Fe.setVisual("toSymbol",$e&&$e[1]),Fe.setVisual("fromSymbolSize",Ie&&Ie[0]),Fe.setVisual("toSymbolSize",Ie&&Ie[1]);function Ue(qe,At){var Dt=qe.getItemModel(At),Lt=normalize(Dt.getShallow("symbol",!0)),jt=normalize(Dt.getShallow("symbolSize",!0));Lt[0]&&qe.setItemVisual(At,"fromSymbol",Lt[0]),Lt[1]&&qe.setItemVisual(At,"toSymbol",Lt[1]),jt[0]&&qe.setItemVisual(At,"fromSymbolSize",jt[0]),jt[1]&&qe.setItemVisual(At,"toSymbolSize",jt[1])}return{dataEach:Fe.hasItemOption?Ue:null}}};function install$x(xe){xe.registerChartView(LinesView),xe.registerSeriesModel(LinesSeriesModel),xe.registerLayout(linesLayout),xe.registerVisual(linesVisual)}var GRADIENT_LEVELS=256,HeatmapLayer=function(){function xe(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var $e=platformApi.createCanvas();this.canvas=$e}return xe.prototype.update=function($e,Ie,Fe,Ue,qe,At){var Dt=this._getBrush(),Lt=this._getGradient(qe,"inRange"),jt=this._getGradient(qe,"outOfRange"),hn=this.pointSize+this.blurSize,vn=this.canvas,bn=vn.getContext("2d"),_n=$e.length;vn.width=Ie,vn.height=Fe;for(var wn=0;wn<_n;++wn){var kn=$e[wn],Cn=kn[0],Sn=kn[1],xn=kn[2],En=Ue(xn);bn.globalAlpha=En,bn.drawImage(Dt,Cn-hn,Sn-hn)}if(!vn.width||!vn.height)return vn;for(var Tn=bn.getImageData(0,0,vn.width,vn.height),An=Tn.data,$n=0,Pn=An.length,Nn=this.minOpacity,Mn=this.maxOpacity,In=Mn-Nn;$n0){var Rn=At(En)?Lt:jt;En>0&&(En=En*In+Nn),An[$n++]=Rn[On],An[$n++]=Rn[On+1],An[$n++]=Rn[On+2],An[$n++]=Rn[On+3]*En*256}else $n+=4}return bn.putImageData(Tn,0,0),vn},xe.prototype._getBrush=function(){var $e=this._brushCanvas||(this._brushCanvas=platformApi.createCanvas()),Ie=this.pointSize+this.blurSize,Fe=Ie*2;$e.width=Fe,$e.height=Fe;var Ue=$e.getContext("2d");return Ue.clearRect(0,0,Fe,Fe),Ue.shadowOffsetX=Fe,Ue.shadowBlur=this.blurSize,Ue.shadowColor="#000",Ue.beginPath(),Ue.arc(-Ie,Ie,this.pointSize,0,Math.PI*2,!0),Ue.closePath(),Ue.fill(),$e},xe.prototype._getGradient=function($e,Ie){for(var Fe=this._gradientPixels,Ue=Fe[Ie]||(Fe[Ie]=new Uint8ClampedArray(256*4)),qe=[0,0,0,0],At=0,Dt=0;Dt<256;Dt++)$e[Ie](Dt/255,!0,qe),Ue[At++]=qe[0],Ue[At++]=qe[1],Ue[At++]=qe[2],Ue[At++]=qe[3];return Ue},xe}();function getIsInPiecewiseRange(xe,$e,Ie){var Fe=xe[1]-xe[0];$e=map$1($e,function(At){return{interval:[(At.interval[0]-xe[0])/Fe,(At.interval[1]-xe[0])/Fe]}});var Ue=$e.length,qe=0;return function(At){var Dt;for(Dt=qe;Dt=0;Dt--){var Lt=$e[Dt].interval;if(Lt[0]<=At&&At<=Lt[1]){qe=Dt;break}}return Dt>=0&&Dt=$e[0]&&Fe<=$e[1]}}function isGeoCoordSys(xe){var $e=xe.dimensions;return $e[0]==="lng"&&$e[1]==="lat"}var HeatmapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe;Fe.eachComponent("visualMap",function(Dt){Dt.eachTargetSeries(function(Lt){Lt===Ie&&(qe=Dt)})}),this._progressiveEls=null,this.group.removeAll();var At=Ie.coordinateSystem;At.type==="cartesian2d"||At.type==="calendar"?this._renderOnCartesianAndCalendar(Ie,Ue,0,Ie.getData().count()):isGeoCoordSys(At)&&this._renderOnGeo(At,Ie,qe,Ue)},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this.group.removeAll()},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe){var At=Fe.coordinateSystem;At&&(isGeoCoordSys(At)?this.render(Fe,Ue,qe):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(Fe,qe,Ie.start,Ie.end,!0)))},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._renderOnCartesianAndCalendar=function(Ie,Fe,Ue,qe,At){var Dt=Ie.coordinateSystem,Lt=isCoordinateSystemType(Dt,"cartesian2d"),jt,hn,vn,bn;if(Lt){var _n=Dt.getAxis("x"),wn=Dt.getAxis("y");jt=_n.getBandWidth()+.5,hn=wn.getBandWidth()+.5,vn=_n.scale.getExtent(),bn=wn.scale.getExtent()}for(var kn=this.group,Cn=Ie.getData(),Sn=Ie.getModel(["emphasis","itemStyle"]).getItemStyle(),xn=Ie.getModel(["blur","itemStyle"]).getItemStyle(),En=Ie.getModel(["select","itemStyle"]).getItemStyle(),Tn=Ie.get(["itemStyle","borderRadius"]),An=getLabelStatesModels(Ie),$n=Ie.getModel("emphasis"),Pn=$n.get("focus"),Nn=$n.get("blurScope"),Mn=$n.get("disabled"),In=Lt?[Cn.mapDimension("x"),Cn.mapDimension("y"),Cn.mapDimension("value")]:[Cn.mapDimension("time"),Cn.mapDimension("value")],On=Ue;Onvn[1]||Lnbn[1])continue;var Dn=Dt.dataToPoint([Vn,Ln]);Rn=new Rect$2({shape:{x:Dn[0]-jt/2,y:Dn[1]-hn/2,width:jt,height:hn},style:Bn})}else{if(isNaN(Cn.get(In[1],On)))continue;Rn=new Rect$2({z2:1,shape:Dt.dataToRect([Cn.get(In[0],On)]).contentShape,style:Bn})}if(Cn.hasItemOption){var Hn=Cn.getItemModel(On),Fn=Hn.getModel("emphasis");Sn=Fn.getModel("itemStyle").getItemStyle(),xn=Hn.getModel(["blur","itemStyle"]).getItemStyle(),En=Hn.getModel(["select","itemStyle"]).getItemStyle(),Tn=Hn.get(["itemStyle","borderRadius"]),Pn=Fn.get("focus"),Nn=Fn.get("blurScope"),Mn=Fn.get("disabled"),An=getLabelStatesModels(Hn)}Rn.shape.r=Tn;var zn=Ie.getRawValue(On),jn="-";zn&&zn[2]!=null&&(jn=zn[2]+""),setLabelStyle(Rn,An,{labelFetcher:Ie,labelDataIndex:On,defaultOpacity:Bn.opacity,defaultText:jn}),Rn.ensureState("emphasis").style=Sn,Rn.ensureState("blur").style=xn,Rn.ensureState("select").style=En,toggleHoverEmphasis(Rn,Pn,Nn,Mn),Rn.incremental=At,At&&(Rn.states.emphasis.hoverLayer=!0),kn.add(Rn),Cn.setItemGraphicEl(On,Rn),this._progressiveEls&&this._progressiveEls.push(Rn)}},$e.prototype._renderOnGeo=function(Ie,Fe,Ue,qe){var At=Ue.targetVisuals.inRange,Dt=Ue.targetVisuals.outOfRange,Lt=Fe.getData(),jt=this._hmLayer||this._hmLayer||new HeatmapLayer;jt.blurSize=Fe.get("blurSize"),jt.pointSize=Fe.get("pointSize"),jt.minOpacity=Fe.get("minOpacity"),jt.maxOpacity=Fe.get("maxOpacity");var hn=Ie.getViewRect().clone(),vn=Ie.getRoamTransform();hn.applyTransform(vn);var bn=Math.max(hn.x,0),_n=Math.max(hn.y,0),wn=Math.min(hn.width+hn.x,qe.getWidth()),kn=Math.min(hn.height+hn.y,qe.getHeight()),Cn=wn-bn,Sn=kn-_n,xn=[Lt.mapDimension("lng"),Lt.mapDimension("lat"),Lt.mapDimension("value")],En=Lt.mapArray(xn,function(Pn,Nn,Mn){var In=Ie.dataToPoint([Pn,Nn]);return In[0]-=bn,In[1]-=_n,In.push(Mn),In}),Tn=Ue.getExtent(),An=Ue.type==="visualMap.continuous"?getIsInContinuousRange(Tn,Ue.option.range):getIsInPiecewiseRange(Tn,Ue.getPieceList(),Ue.option.selected);jt.update(En,Cn,Sn,At.color.getNormalizer(),{inRange:At.color.getColorMapper(),outOfRange:Dt.color.getColorMapper()},An);var $n=new ZRImage({style:{width:Cn,height:Sn,x:bn,y:_n,image:jt.canvas},silent:!0});this.group.add($n)},$e.type="heatmap",$e}(ChartView),HeatmapSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{generateCoord:"value"})},$e.prototype.preventIncremental=function(){var Ie=CoordinateSystemManager.get(this.get("coordinateSystem"));if(Ie&&Ie.dimensions)return Ie.dimensions[0]==="lng"&&Ie.dimensions[1]==="lat"},$e.type="series.heatmap",$e.dependencies=["grid","geo","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel);function install$w(xe){xe.registerChartView(HeatmapView),xe.registerSeriesModel(HeatmapSeriesModel)}var BAR_BORDER_WIDTH_QUERY=["itemStyle","borderWidth"],LAYOUT_ATTRS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pathForLineWidth=new Circle,PictorialBarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group,At=Ie.getData(),Dt=this._data,Lt=Ie.coordinateSystem,jt=Lt.getBaseAxis(),hn=jt.isHorizontal(),vn=Lt.master.getRect(),bn={ecSize:{width:Ue.getWidth(),height:Ue.getHeight()},seriesModel:Ie,coordSys:Lt,coordSysExtent:[[vn.x,vn.x+vn.width],[vn.y,vn.y+vn.height]],isHorizontal:hn,valueDim:LAYOUT_ATTRS[+hn],categoryDim:LAYOUT_ATTRS[1-+hn]};At.diff(Dt).add(function(wn){if(At.hasValue(wn)){var kn=getItemModel(At,wn),Cn=getSymbolMeta(At,wn,kn,bn),Sn=createBar(At,bn,Cn);At.setItemGraphicEl(wn,Sn),qe.add(Sn),updateCommon(Sn,bn,Cn)}}).update(function(wn,kn){var Cn=Dt.getItemGraphicEl(kn);if(!At.hasValue(wn)){qe.remove(Cn);return}var Sn=getItemModel(At,wn),xn=getSymbolMeta(At,wn,Sn,bn),En=getShapeStr(At,xn);Cn&&En!==Cn.__pictorialShapeStr&&(qe.remove(Cn),At.setItemGraphicEl(wn,null),Cn=null),Cn?updateBar(Cn,bn,xn):Cn=createBar(At,bn,xn,!0),At.setItemGraphicEl(wn,Cn),Cn.__pictorialSymbolMeta=xn,qe.add(Cn),updateCommon(Cn,bn,xn)}).remove(function(wn){var kn=Dt.getItemGraphicEl(wn);kn&&removeBar(Dt,wn,kn.__pictorialSymbolMeta.animationModel,kn)}).execute();var _n=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;return _n?qe.setClipPath(_n):qe.removeClipPath(),this._data=At,this.group},$e.prototype.remove=function(Ie,Fe){var Ue=this.group,qe=this._data;Ie.get("animation")?qe&&qe.eachItemGraphicEl(function(At){removeBar(qe,getECData(At).dataIndex,Ie,At)}):Ue.removeAll()},$e.type="pictorialBar",$e}(ChartView);function getSymbolMeta(xe,$e,Ie,Fe){var Ue=xe.getItemLayout($e),qe=Ie.get("symbolRepeat"),At=Ie.get("symbolClip"),Dt=Ie.get("symbolPosition")||"start",Lt=Ie.get("symbolRotate"),jt=(Lt||0)*Math.PI/180||0,hn=Ie.get("symbolPatternSize")||2,vn=Ie.isAnimationEnabled(),bn={dataIndex:$e,layout:Ue,itemModel:Ie,symbolType:xe.getItemVisual($e,"symbol")||"circle",style:xe.getItemVisual($e,"style"),symbolClip:At,symbolRepeat:qe,symbolRepeatDirection:Ie.get("symbolRepeatDirection"),symbolPatternSize:hn,rotation:jt,animationModel:vn?Ie:null,hoverScale:vn&&Ie.get(["emphasis","scale"]),z2:Ie.getShallow("z",!0)||0};prepareBarLength(Ie,qe,Ue,Fe,bn),prepareSymbolSize(xe,$e,Ue,qe,At,bn.boundingLength,bn.pxSign,hn,Fe,bn),prepareLineWidth(Ie,bn.symbolScale,jt,Fe,bn);var _n=bn.symbolSize,wn=normalizeSymbolOffset(Ie.get("symbolOffset"),_n);return prepareLayoutInfo(Ie,_n,Ue,qe,At,wn,Dt,bn.valueLineWidth,bn.boundingLength,bn.repeatCutLength,Fe,bn),bn}function prepareBarLength(xe,$e,Ie,Fe,Ue){var qe=Fe.valueDim,At=xe.get("symbolBoundingData"),Dt=Fe.coordSys.getOtherAxis(Fe.coordSys.getBaseAxis()),Lt=Dt.toGlobalCoord(Dt.dataToCoord(0)),jt=1-+(Ie[qe.wh]<=0),hn;if(isArray$1(At)){var vn=[convertToCoordOnAxis(Dt,At[0])-Lt,convertToCoordOnAxis(Dt,At[1])-Lt];vn[1]0?1:-1}function convertToCoordOnAxis(xe,$e){return xe.toGlobalCoord(xe.dataToCoord(xe.scale.parse($e)))}function prepareSymbolSize(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){var hn=Lt.valueDim,vn=Lt.categoryDim,bn=Math.abs(Ie[vn.wh]),_n=xe.getItemVisual($e,"symbolSize"),wn;isArray$1(_n)?wn=_n.slice():_n==null?wn=["100%","100%"]:wn=[_n,_n],wn[vn.index]=parsePercent(wn[vn.index],bn),wn[hn.index]=parsePercent(wn[hn.index],Fe?bn:Math.abs(qe)),jt.symbolSize=wn;var kn=jt.symbolScale=[wn[0]/Dt,wn[1]/Dt];kn[hn.index]*=(Lt.isHorizontal?-1:1)*At}function prepareLineWidth(xe,$e,Ie,Fe,Ue){var qe=xe.get(BAR_BORDER_WIDTH_QUERY)||0;qe&&(pathForLineWidth.attr({scaleX:$e[0],scaleY:$e[1],rotation:Ie}),pathForLineWidth.updateTransform(),qe/=pathForLineWidth.getLineScale(),qe*=$e[Fe.valueDim.index]),Ue.valueLineWidth=qe||0}function prepareLayoutInfo(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn){var bn=hn.categoryDim,_n=hn.valueDim,wn=vn.pxSign,kn=Math.max($e[_n.index]+Dt,0),Cn=kn;if(Fe){var Sn=Math.abs(Lt),xn=retrieve(xe.get("symbolMargin"),"15%")+"",En=!1;xn.lastIndexOf("!")===xn.length-1&&(En=!0,xn=xn.slice(0,xn.length-1));var Tn=parsePercent(xn,$e[_n.index]),An=Math.max(kn+Tn*2,0),$n=En?0:Tn*2,Pn=isNumeric(Fe),Nn=Pn?Fe:toIntTimes((Sn+$n)/An),Mn=Sn-Nn*kn;Tn=Mn/2/(En?Nn:Math.max(Nn-1,1)),An=kn+Tn*2,$n=En?0:Tn*2,!Pn&&Fe!=="fixed"&&(Nn=jt?toIntTimes((Math.abs(jt)+$n)/An):0),Cn=Nn*An-$n,vn.repeatTimes=Nn,vn.symbolMargin=Tn}var In=wn*(Cn/2),On=vn.pathPosition=[];On[bn.index]=Ie[bn.wh]/2,On[_n.index]=At==="start"?In:At==="end"?Lt-In:Lt/2,qe&&(On[0]+=qe[0],On[1]+=qe[1]);var Rn=vn.bundlePosition=[];Rn[bn.index]=Ie[bn.xy],Rn[_n.index]=Ie[_n.xy];var Bn=vn.barRectShape=extend({},Ie);Bn[_n.wh]=wn*Math.max(Math.abs(Ie[_n.wh]),Math.abs(On[_n.index]+In)),Bn[bn.wh]=Ie[bn.wh];var Vn=vn.clipShape={};Vn[bn.xy]=-Ie[bn.xy],Vn[bn.wh]=hn.ecSize[bn.wh],Vn[_n.xy]=0,Vn[_n.wh]=Ie[_n.wh]}function createPath(xe){var $e=xe.symbolPatternSize,Ie=createSymbol$1(xe.symbolType,-$e/2,-$e/2,$e,$e);return Ie.attr({culling:!0}),Ie.type!=="image"&&Ie.setStyle({strokeNoScale:!0}),Ie}function createOrUpdateRepeatSymbols(xe,$e,Ie,Fe){var Ue=xe.__pictorialBundle,qe=Ie.symbolSize,At=Ie.valueLineWidth,Dt=Ie.pathPosition,Lt=$e.valueDim,jt=Ie.repeatTimes||0,hn=0,vn=qe[$e.valueDim.index]+At+Ie.symbolMargin*2;for(eachPath(xe,function(kn){kn.__pictorialAnimationIndex=hn,kn.__pictorialRepeatTimes=jt,hn0:Sn<0)&&(xn=jt-1-kn),Cn[Lt.index]=vn*(xn-jt/2+.5)+Dt[Lt.index],{x:Cn[0],y:Cn[1],scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1],rotation:Ie.rotation}}}function createOrUpdateSingleSymbol(xe,$e,Ie,Fe){var Ue=xe.__pictorialBundle,qe=xe.__pictorialMainPath;qe?updateAttr(qe,null,{x:Ie.pathPosition[0],y:Ie.pathPosition[1],scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1],rotation:Ie.rotation},Ie,Fe):(qe=xe.__pictorialMainPath=createPath(Ie),Ue.add(qe),updateAttr(qe,{x:Ie.pathPosition[0],y:Ie.pathPosition[1],scaleX:0,scaleY:0,rotation:Ie.rotation},{scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1]},Ie,Fe))}function createOrUpdateBarRect(xe,$e,Ie){var Fe=extend({},$e.barRectShape),Ue=xe.__pictorialBarRect;Ue?updateAttr(Ue,null,{shape:Fe},$e,Ie):(Ue=xe.__pictorialBarRect=new Rect$2({z2:2,shape:Fe,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),Ue.disableMorphing=!0,xe.add(Ue))}function createOrUpdateClip(xe,$e,Ie,Fe){if(Ie.symbolClip){var Ue=xe.__pictorialClipPath,qe=extend({},Ie.clipShape),At=$e.valueDim,Dt=Ie.animationModel,Lt=Ie.dataIndex;if(Ue)updateProps$1(Ue,{shape:qe},Dt,Lt);else{qe[At.wh]=0,Ue=new Rect$2({shape:qe}),xe.__pictorialBundle.setClipPath(Ue),xe.__pictorialClipPath=Ue;var jt={};jt[At.wh]=Ie.clipShape[At.wh],graphic[Fe?"updateProps":"initProps"](Ue,{shape:jt},Dt,Lt)}}}function getItemModel(xe,$e){var Ie=xe.getItemModel($e);return Ie.getAnimationDelayParams=getAnimationDelayParams,Ie.isAnimationEnabled=isAnimationEnabled,Ie}function getAnimationDelayParams(xe){return{index:xe.__pictorialAnimationIndex,count:xe.__pictorialRepeatTimes}}function isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(xe,$e,Ie,Fe){var Ue=new Group$3,qe=new Group$3;return Ue.add(qe),Ue.__pictorialBundle=qe,qe.x=Ie.bundlePosition[0],qe.y=Ie.bundlePosition[1],Ie.symbolRepeat?createOrUpdateRepeatSymbols(Ue,$e,Ie):createOrUpdateSingleSymbol(Ue,$e,Ie),createOrUpdateBarRect(Ue,Ie,Fe),createOrUpdateClip(Ue,$e,Ie,Fe),Ue.__pictorialShapeStr=getShapeStr(xe,Ie),Ue.__pictorialSymbolMeta=Ie,Ue}function updateBar(xe,$e,Ie){var Fe=Ie.animationModel,Ue=Ie.dataIndex,qe=xe.__pictorialBundle;updateProps$1(qe,{x:Ie.bundlePosition[0],y:Ie.bundlePosition[1]},Fe,Ue),Ie.symbolRepeat?createOrUpdateRepeatSymbols(xe,$e,Ie,!0):createOrUpdateSingleSymbol(xe,$e,Ie,!0),createOrUpdateBarRect(xe,Ie,!0),createOrUpdateClip(xe,$e,Ie,!0)}function removeBar(xe,$e,Ie,Fe){var Ue=Fe.__pictorialBarRect;Ue&&Ue.removeTextContent();var qe=[];eachPath(Fe,function(At){qe.push(At)}),Fe.__pictorialMainPath&&qe.push(Fe.__pictorialMainPath),Fe.__pictorialClipPath&&(Ie=null),each$f(qe,function(At){removeElement(At,{scaleX:0,scaleY:0},Ie,$e,function(){Fe.parent&&Fe.parent.remove(Fe)})}),xe.setItemGraphicEl($e,null)}function getShapeStr(xe,$e){return[xe.getItemVisual($e.dataIndex,"symbol")||"none",!!$e.symbolRepeat,!!$e.symbolClip].join(":")}function eachPath(xe,$e,Ie){each$f(xe.__pictorialBundle.children(),function(Fe){Fe!==xe.__pictorialBarRect&&$e.call(Ie,Fe)})}function updateAttr(xe,$e,Ie,Fe,Ue,qe){$e&&xe.attr($e),Fe.symbolClip&&!Ue?Ie&&xe.attr(Ie):Ie&&graphic[Ue?"updateProps":"initProps"](xe,Ie,Fe.animationModel,Fe.dataIndex,qe)}function updateCommon(xe,$e,Ie){var Fe=Ie.dataIndex,Ue=Ie.itemModel,qe=Ue.getModel("emphasis"),At=qe.getModel("itemStyle").getItemStyle(),Dt=Ue.getModel(["blur","itemStyle"]).getItemStyle(),Lt=Ue.getModel(["select","itemStyle"]).getItemStyle(),jt=Ue.getShallow("cursor"),hn=qe.get("focus"),vn=qe.get("blurScope"),bn=qe.get("scale");eachPath(xe,function(kn){if(kn instanceof ZRImage){var Cn=kn.style;kn.useStyle(extend({image:Cn.image,x:Cn.x,y:Cn.y,width:Cn.width,height:Cn.height},Ie.style))}else kn.useStyle(Ie.style);var Sn=kn.ensureState("emphasis");Sn.style=At,bn&&(Sn.scaleX=kn.scaleX*1.1,Sn.scaleY=kn.scaleY*1.1),kn.ensureState("blur").style=Dt,kn.ensureState("select").style=Lt,jt&&(kn.cursor=jt),kn.z2=Ie.z2});var _n=$e.valueDim.posDesc[+(Ie.boundingLength>0)],wn=xe.__pictorialBarRect;wn.ignoreClip=!0,setLabelStyle(wn,getLabelStatesModels(Ue),{labelFetcher:$e.seriesModel,labelDataIndex:Fe,defaultText:getDefaultLabel($e.seriesModel.getData(),Fe),inheritColor:Ie.style.fill,defaultOpacity:Ie.style.opacity,defaultOutsidePosition:_n}),toggleHoverEmphasis(xe,hn,vn,qe.get("disabled"))}function toIntTimes(xe){var $e=Math.round(xe);return Math.abs(xe-$e)<1e-4?$e:Math.ceil(xe)}var PictorialBarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie.defaultSymbol="roundRect",Ie}return $e.prototype.getInitialData=function(Ie){return Ie.stack=null,xe.prototype.getInitialData.apply(this,arguments)},$e.type="series.pictorialBar",$e.dependencies=["grid"],$e.defaultOption=inheritDefaultOption(BaseBarSeriesModel.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),$e}(BaseBarSeriesModel);function install$v(xe){xe.registerChartView(PictorialBarView),xe.registerSeriesModel(PictorialBarSeriesModel),xe.registerLayout(xe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"pictorialBar")),xe.registerLayout(xe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))}var ThemeRiverView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._layers=[],Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this,Dt=this.group,Lt=Ie.getLayerSeries(),jt=qe.getLayout("layoutInfo"),hn=jt.rect,vn=jt.boundaryGap;Dt.x=0,Dt.y=hn.y+vn[0];function bn(Cn){return Cn.name}var _n=new DataDiffer(this._layersSeries||[],Lt,bn,bn),wn=[];_n.add(bind$1(kn,this,"add")).update(bind$1(kn,this,"update")).remove(bind$1(kn,this,"remove")).execute();function kn(Cn,Sn,xn){var En=At._layers;if(Cn==="remove"){Dt.remove(En[Sn]);return}for(var Tn=[],An=[],$n,Pn=Lt[Sn].indices,Nn=0;Nnqe&&(qe=Dt),Fe.push(Dt)}for(var jt=0;jtqe&&(qe=vn)}return{y0:Ue,max:qe}}function install$u(xe){xe.registerChartView(ThemeRiverView),xe.registerSeriesModel(ThemeRiverSeriesModel),xe.registerLayout(themeRiverLayout),xe.registerProcessor(dataFilter$1("themeRiver"))}var DEFAULT_SECTOR_Z=2,DEFAULT_TEXT_Z=4,SunburstPiece=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this)||this;At.z2=DEFAULT_SECTOR_Z,At.textConfig={inside:!0},getECData(At).seriesIndex=Fe.seriesIndex;var Dt=new ZRText({z2:DEFAULT_TEXT_Z,silent:Ie.getModel().get(["label","silent"])});return At.setTextContent(Dt),At.updateData(!0,Ie,Fe,Ue,qe),At}return $e.prototype.updateData=function(Ie,Fe,Ue,qe,At){this.node=Fe,Fe.piece=this,Ue=Ue||this._seriesModel,qe=qe||this._ecModel;var Dt=this;getECData(Dt).dataIndex=Fe.dataIndex;var Lt=Fe.getModel(),jt=Lt.getModel("emphasis"),hn=Fe.getLayout(),vn=extend({},hn);vn.label=null;var bn=Fe.getVisual("style");bn.lineJoin="bevel";var _n=Fe.getVisual("decal");_n&&(bn.decal=createOrUpdatePatternFromDecal(_n,At));var wn=getSectorCornerRadius(Lt.getModel("itemStyle"),vn,!0);extend(vn,wn),each$f(SPECIAL_STATES,function(xn){var En=Dt.ensureState(xn),Tn=Lt.getModel([xn,"itemStyle"]);En.style=Tn.getItemStyle();var An=getSectorCornerRadius(Tn,vn);An&&(En.shape=An)}),Ie?(Dt.setShape(vn),Dt.shape.r=hn.r0,initProps(Dt,{shape:{r:hn.r}},Ue,Fe.dataIndex)):(updateProps$1(Dt,{shape:vn},Ue),saveOldStyle(Dt)),Dt.useStyle(bn),this._updateLabel(Ue);var kn=Lt.getShallow("cursor");kn&&Dt.attr("cursor",kn),this._seriesModel=Ue||this._seriesModel,this._ecModel=qe||this._ecModel;var Cn=jt.get("focus"),Sn=Cn==="ancestor"?Fe.getAncestorsIndices():Cn==="descendant"?Fe.getDescendantIndices():Cn;toggleHoverEmphasis(this,Sn,jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie){var Fe=this,Ue=this.node.getModel(),qe=Ue.getModel("label"),At=this.node.getLayout(),Dt=At.endAngle-At.startAngle,Lt=(At.startAngle+At.endAngle)/2,jt=Math.cos(Lt),hn=Math.sin(Lt),vn=this,bn=vn.getTextContent(),_n=this.node.dataIndex,wn=qe.get("minAngle")/180*Math.PI,kn=qe.get("show")&&!(wn!=null&&Math.abs(Dt)Vn&&!isRadianAroundZero(Dn-Vn)&&Dn0?(At.virtualPiece?At.virtualPiece.updateData(!1,xn,Ie,Fe,Ue):(At.virtualPiece=new SunburstPiece(xn,Ie,Fe,Ue),hn.add(At.virtualPiece)),En.piece.off("click"),At.virtualPiece.on("click",function(Tn){At._rootToNode(En.parentNode)})):At.virtualPiece&&(hn.remove(At.virtualPiece),At.virtualPiece=null)}},$e.prototype._initEvents=function(){var Ie=this;this.group.off("click"),this.group.on("click",function(Fe){var Ue=!1,qe=Ie.seriesModel.getViewRoot();qe.eachNode(function(At){if(!Ue&&At.piece&&At.piece===Fe.target){var Dt=At.getModel().get("nodeClick");if(Dt==="rootToNode")Ie._rootToNode(At);else if(Dt==="link"){var Lt=At.getModel(),jt=Lt.get("link");if(jt){var hn=Lt.get("target",!0)||"_blank";windowOpen(jt,hn)}}Ue=!0}})})},$e.prototype._rootToNode=function(Ie){Ie!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ROOT_TO_NODE_ACTION,from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie})},$e.prototype.containPoint=function(Ie,Fe){var Ue=Fe.getData(),qe=Ue.getItemLayout(0);if(qe){var At=Ie[0]-qe.cx,Dt=Ie[1]-qe.cy,Lt=Math.sqrt(At*At+Dt*Dt);return Lt<=qe.r&&Lt>=qe.r0}},$e.type="sunburst",$e}(ChartView),SunburstSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.ignoreStyleOnData=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue={name:Ie.name,children:Ie.data};completeTreeValue(Ue);var qe=this._levelModels=map$1(Ie.levels||[],function(Lt){return new Model(Lt,this,Fe)},this),At=Tree.createTree(Ue,this,Dt);function Dt(Lt){Lt.wrapMethod("getItemModel",function(jt,hn){var vn=At.getNodeByDataIndex(hn),bn=qe[vn.depth];return bn&&(jt.parentModel=bn),jt})}return At.data},$e.prototype.optionUpdated=function(){this.resetViewRoot()},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treePathInfo=wrapTreePathInfo(Ue,this),Fe},$e.prototype.getLevelModel=function(Ie){return this._levelModels&&this._levelModels[Ie.depth]},$e.prototype.getViewRoot=function(){return this._viewRoot},$e.prototype.resetViewRoot=function(Ie){Ie?this._viewRoot=Ie:Ie=this._viewRoot;var Fe=this.getRawData().tree.root;(!Ie||Ie!==Fe&&!Fe.contains(Ie))&&(this._viewRoot=Fe)},$e.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},$e.type="series.sunburst",$e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},$e}(SeriesModel);function completeTreeValue(xe){var $e=0;each$f(xe.children,function(Fe){completeTreeValue(Fe);var Ue=Fe.value;isArray$1(Ue)&&(Ue=Ue[0]),$e+=Ue});var Ie=xe.value;isArray$1(Ie)&&(Ie=Ie[0]),(Ie==null||isNaN(Ie))&&(Ie=$e),Ie<0&&(Ie=0),isArray$1(xe.value)?xe.value[0]=Ie:xe.value=Ie}var RADIAN=Math.PI/180;function sunburstLayout(xe,$e,Ie){$e.eachSeriesByType(xe,function(Fe){var Ue=Fe.get("center"),qe=Fe.get("radius");isArray$1(qe)||(qe=[0,qe]),isArray$1(Ue)||(Ue=[Ue,Ue]);var At=Ie.getWidth(),Dt=Ie.getHeight(),Lt=Math.min(At,Dt),jt=parsePercent(Ue[0],At),hn=parsePercent(Ue[1],Dt),vn=parsePercent(qe[0],Lt/2),bn=parsePercent(qe[1],Lt/2),_n=-Fe.get("startAngle")*RADIAN,wn=Fe.get("minAngle")*RADIAN,kn=Fe.getData().tree.root,Cn=Fe.getViewRoot(),Sn=Cn.depth,xn=Fe.get("sort");xn!=null&&initChildren(Cn,xn);var En=0;each$f(Cn.children,function(Dn){!isNaN(Dn.getValue())&&En++});var Tn=Cn.getValue(),An=Math.PI/(Tn||En)*2,$n=Cn.depth>0,Pn=Cn.height-($n?-1:1),Nn=(bn-vn)/(Pn||1),Mn=Fe.get("clockwise"),In=Fe.get("stillShowZeroSum"),On=Mn?1:-1,Rn=function(Dn,Hn){if(Dn){var Fn=Hn;if(Dn!==kn){var zn=Dn.getValue(),jn=Tn===0&&In?An:zn*An;jn1;)At=At.parentNode;var Dt=Ue.getColorFromPalette(At.name||At.dataIndex+"",$e);return Fe.depth>1&&isString(Dt)&&(Dt=lift(Dt,(Fe.depth-1)/(qe-1)*.5)),Dt}xe.eachSeriesByType("sunburst",function(Fe){var Ue=Fe.getData(),qe=Ue.tree;qe.eachNode(function(At){var Dt=At.getModel(),Lt=Dt.getModel("itemStyle").getItemStyle();Lt.fill||(Lt.fill=Ie(At,Fe,qe.root.height));var jt=Ue.ensureUniqueItemVisual(At.dataIndex,"style");extend(jt,Lt)})})}function install$t(xe){xe.registerChartView(SunburstView),xe.registerSeriesModel(SunburstSeriesModel),xe.registerLayout(curry$1(sunburstLayout,"sunburst")),xe.registerProcessor(curry$1(dataFilter$1,"sunburst")),xe.registerVisual(sunburstVisual),installSunburstAction(xe)}var STYLE_VISUAL_TYPE={color:"fill",borderColor:"stroke"},NON_STYLE_VISUAL_PROPS={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},customInnerStore=makeInner(),CustomSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this)},$e.prototype.getDataParams=function(Ie,Fe,Ue){var qe=xe.prototype.getDataParams.call(this,Ie,Fe);return Ue&&(qe.info=customInnerStore(Ue).info),qe},$e.type="series.custom",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},$e}(SeriesModel);function dataToCoordSize$3(xe,$e){return $e=$e||[0,0],map$1(["x","y"],function(Ie,Fe){var Ue=this.getAxis(Ie),qe=$e[Fe],At=xe[Fe]/2;return Ue.type==="category"?Ue.getBandWidth():Math.abs(Ue.dataToCoord(qe-At)-Ue.dataToCoord(qe+At))},this)}function cartesianPrepareCustom(xe){var $e=xe.master.getRect();return{coordSys:{type:"cartesian2d",x:$e.x,y:$e.y,width:$e.width,height:$e.height},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$3,xe)}}}function dataToCoordSize$2(xe,$e){return $e=$e||[0,0],map$1([0,1],function(Ie){var Fe=$e[Ie],Ue=xe[Ie]/2,qe=[],At=[];return qe[Ie]=Fe-Ue,At[Ie]=Fe+Ue,qe[1-Ie]=At[1-Ie]=$e[1-Ie],Math.abs(this.dataToPoint(qe)[Ie]-this.dataToPoint(At)[Ie])},this)}function geoPrepareCustom(xe){var $e=xe.getBoundingRect();return{coordSys:{type:"geo",x:$e.x,y:$e.y,width:$e.width,height:$e.height,zoom:xe.getZoom()},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$2,xe)}}}function dataToCoordSize$1(xe,$e){var Ie=this.getAxis(),Fe=$e instanceof Array?$e[0]:$e,Ue=(xe instanceof Array?xe[0]:xe)/2;return Ie.type==="category"?Ie.getBandWidth():Math.abs(Ie.dataToCoord(Fe-Ue)-Ie.dataToCoord(Fe+Ue))}function singlePrepareCustom(xe){var $e=xe.getRect();return{coordSys:{type:"singleAxis",x:$e.x,y:$e.y,width:$e.width,height:$e.height},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$1,xe)}}}function dataToCoordSize(xe,$e){return $e=$e||[0,0],map$1(["Radius","Angle"],function(Ie,Fe){var Ue="get"+Ie+"Axis",qe=this[Ue](),At=$e[Fe],Dt=xe[Fe]/2,Lt=qe.type==="category"?qe.getBandWidth():Math.abs(qe.dataToCoord(At-Dt)-qe.dataToCoord(At+Dt));return Ie==="Angle"&&(Lt=Lt*Math.PI/180),Lt},this)}function polarPrepareCustom(xe){var $e=xe.getRadiusAxis(),Ie=xe.getAngleAxis(),Fe=$e.getExtent();return Fe[0]>Fe[1]&&Fe.reverse(),{coordSys:{type:"polar",cx:xe.cx,cy:xe.cy,r:Fe[1],r0:Fe[0]},api:{coord:function(Ue){var qe=$e.dataToRadius(Ue[0]),At=Ie.dataToAngle(Ue[1]),Dt=xe.coordToPoint([qe,At]);return Dt.push(qe,At*Math.PI/180),Dt},size:bind$1(dataToCoordSize,xe)}}}function calendarPrepareCustom(xe){var $e=xe.getRect(),Ie=xe.getRangeInfo();return{coordSys:{type:"calendar",x:$e.x,y:$e.y,width:$e.width,height:$e.height,cellWidth:xe.getCellWidth(),cellHeight:xe.getCellHeight(),rangeInfo:{start:Ie.start,end:Ie.end,weeks:Ie.weeks,dayCount:Ie.allDay}},api:{coord:function(Fe,Ue){return xe.dataToPoint(Fe,Ue)}}}}function isEC4CompatibleStyle(xe,$e,Ie,Fe){return xe&&(xe.legacy||xe.legacy!==!1&&!Ie&&!Fe&&$e!=="tspan"&&($e==="text"||hasOwn(xe,"text")))}function convertFromEC4CompatibleStyle(xe,$e,Ie){var Fe=xe,Ue,qe,At;if($e==="text")At=Fe;else{At={},hasOwn(Fe,"text")&&(At.text=Fe.text),hasOwn(Fe,"rich")&&(At.rich=Fe.rich),hasOwn(Fe,"textFill")&&(At.fill=Fe.textFill),hasOwn(Fe,"textStroke")&&(At.stroke=Fe.textStroke),hasOwn(Fe,"fontFamily")&&(At.fontFamily=Fe.fontFamily),hasOwn(Fe,"fontSize")&&(At.fontSize=Fe.fontSize),hasOwn(Fe,"fontStyle")&&(At.fontStyle=Fe.fontStyle),hasOwn(Fe,"fontWeight")&&(At.fontWeight=Fe.fontWeight),qe={type:"text",style:At,silent:!0},Ue={};var Dt=hasOwn(Fe,"textPosition");Ie?Ue.position=Dt?Fe.textPosition:"inside":Dt&&(Ue.position=Fe.textPosition),hasOwn(Fe,"textPosition")&&(Ue.position=Fe.textPosition),hasOwn(Fe,"textOffset")&&(Ue.offset=Fe.textOffset),hasOwn(Fe,"textRotation")&&(Ue.rotation=Fe.textRotation),hasOwn(Fe,"textDistance")&&(Ue.distance=Fe.textDistance)}return convertEC4CompatibleRichItem(At,xe),each$f(At.rich,function(Lt){convertEC4CompatibleRichItem(Lt,Lt)}),{textConfig:Ue,textContent:qe}}function convertEC4CompatibleRichItem(xe,$e){$e&&($e.font=$e.textFont||$e.font,hasOwn($e,"textStrokeWidth")&&(xe.lineWidth=$e.textStrokeWidth),hasOwn($e,"textAlign")&&(xe.align=$e.textAlign),hasOwn($e,"textVerticalAlign")&&(xe.verticalAlign=$e.textVerticalAlign),hasOwn($e,"textLineHeight")&&(xe.lineHeight=$e.textLineHeight),hasOwn($e,"textWidth")&&(xe.width=$e.textWidth),hasOwn($e,"textHeight")&&(xe.height=$e.textHeight),hasOwn($e,"textBackgroundColor")&&(xe.backgroundColor=$e.textBackgroundColor),hasOwn($e,"textPadding")&&(xe.padding=$e.textPadding),hasOwn($e,"textBorderColor")&&(xe.borderColor=$e.textBorderColor),hasOwn($e,"textBorderWidth")&&(xe.borderWidth=$e.textBorderWidth),hasOwn($e,"textBorderRadius")&&(xe.borderRadius=$e.textBorderRadius),hasOwn($e,"textBoxShadowColor")&&(xe.shadowColor=$e.textBoxShadowColor),hasOwn($e,"textBoxShadowBlur")&&(xe.shadowBlur=$e.textBoxShadowBlur),hasOwn($e,"textBoxShadowOffsetX")&&(xe.shadowOffsetX=$e.textBoxShadowOffsetX),hasOwn($e,"textBoxShadowOffsetY")&&(xe.shadowOffsetY=$e.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(xe,$e,Ie){var Fe=xe;Fe.textPosition=Fe.textPosition||Ie.position||"inside",Ie.offset!=null&&(Fe.textOffset=Ie.offset),Ie.rotation!=null&&(Fe.textRotation=Ie.rotation),Ie.distance!=null&&(Fe.textDistance=Ie.distance);var Ue=Fe.textPosition.indexOf("inside")>=0,qe=xe.fill||"#000";convertToEC4RichItem(Fe,$e);var At=Fe.textFill==null;return Ue?At&&(Fe.textFill=Ie.insideFill||"#fff",!Fe.textStroke&&Ie.insideStroke&&(Fe.textStroke=Ie.insideStroke),!Fe.textStroke&&(Fe.textStroke=qe),Fe.textStrokeWidth==null&&(Fe.textStrokeWidth=2)):(At&&(Fe.textFill=xe.fill||Ie.outsideFill||"#000"),!Fe.textStroke&&Ie.outsideStroke&&(Fe.textStroke=Ie.outsideStroke)),Fe.text=$e.text,Fe.rich=$e.rich,each$f($e.rich,function(Dt){convertToEC4RichItem(Dt,Dt)}),Fe}function convertToEC4RichItem(xe,$e){$e&&(hasOwn($e,"fill")&&(xe.textFill=$e.fill),hasOwn($e,"stroke")&&(xe.textStroke=$e.fill),hasOwn($e,"lineWidth")&&(xe.textStrokeWidth=$e.lineWidth),hasOwn($e,"font")&&(xe.font=$e.font),hasOwn($e,"fontStyle")&&(xe.fontStyle=$e.fontStyle),hasOwn($e,"fontWeight")&&(xe.fontWeight=$e.fontWeight),hasOwn($e,"fontSize")&&(xe.fontSize=$e.fontSize),hasOwn($e,"fontFamily")&&(xe.fontFamily=$e.fontFamily),hasOwn($e,"align")&&(xe.textAlign=$e.align),hasOwn($e,"verticalAlign")&&(xe.textVerticalAlign=$e.verticalAlign),hasOwn($e,"lineHeight")&&(xe.textLineHeight=$e.lineHeight),hasOwn($e,"width")&&(xe.textWidth=$e.width),hasOwn($e,"height")&&(xe.textHeight=$e.height),hasOwn($e,"backgroundColor")&&(xe.textBackgroundColor=$e.backgroundColor),hasOwn($e,"padding")&&(xe.textPadding=$e.padding),hasOwn($e,"borderColor")&&(xe.textBorderColor=$e.borderColor),hasOwn($e,"borderWidth")&&(xe.textBorderWidth=$e.borderWidth),hasOwn($e,"borderRadius")&&(xe.textBorderRadius=$e.borderRadius),hasOwn($e,"shadowColor")&&(xe.textBoxShadowColor=$e.shadowColor),hasOwn($e,"shadowBlur")&&(xe.textBoxShadowBlur=$e.shadowBlur),hasOwn($e,"shadowOffsetX")&&(xe.textBoxShadowOffsetX=$e.shadowOffsetX),hasOwn($e,"shadowOffsetY")&&(xe.textBoxShadowOffsetY=$e.shadowOffsetY),hasOwn($e,"textShadowColor")&&(xe.textShadowColor=$e.textShadowColor),hasOwn($e,"textShadowBlur")&&(xe.textShadowBlur=$e.textShadowBlur),hasOwn($e,"textShadowOffsetX")&&(xe.textShadowOffsetX=$e.textShadowOffsetX),hasOwn($e,"textShadowOffsetY")&&(xe.textShadowOffsetY=$e.textShadowOffsetY))}var LEGACY_TRANSFORM_PROPS_MAP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},LEGACY_TRANSFORM_PROPS=keys(LEGACY_TRANSFORM_PROPS_MAP);reduce(TRANSFORMABLE_PROPS,function(xe,$e){return xe[$e]=1,xe},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(xe,$e,Ie,Fe,Ue){var qe=xe+"Animation",At=getAnimationConfig(xe,Fe,Ue)||{},Dt=transitionInnerStore($e).userDuring;return At.duration>0&&(At.during=Dt?bind$1(duringCall,{el:$e,userDuring:Dt}):null,At.setToFinal=!0,At.scope=xe),extend(At,Ie[qe]),At}function applyUpdateTransition(xe,$e,Ie,Fe){Fe=Fe||{};var Ue=Fe.dataIndex,qe=Fe.isInit,At=Fe.clearStyle,Dt=Ie.isAnimationEnabled(),Lt=transitionInnerStore(xe),jt=$e.style;Lt.userDuring=$e.during;var hn={},vn={};if(prepareTransformAllPropsFinal(xe,$e,vn),prepareShapeOrExtraAllPropsFinal("shape",$e,vn),prepareShapeOrExtraAllPropsFinal("extra",$e,vn),!qe&&Dt&&(prepareTransformTransitionFrom(xe,$e,hn),prepareShapeOrExtraTransitionFrom("shape",xe,$e,hn),prepareShapeOrExtraTransitionFrom("extra",xe,$e,hn),prepareStyleTransitionFrom(xe,$e,jt,hn)),vn.style=jt,applyPropsDirectly(xe,vn,At),applyMiscProps(xe,$e),Dt)if(qe){var bn={};each$f(ELEMENT_ANIMATABLE_PROPS,function(wn){var kn=wn?$e[wn]:$e;kn&&kn.enterFrom&&(wn&&(bn[wn]=bn[wn]||{}),extend(wn?bn[wn]:bn,kn.enterFrom))});var _n=getElementAnimationConfig("enter",xe,$e,Ie,Ue);_n.duration>0&&xe.animateFrom(bn,_n)}else applyPropsTransition(xe,$e,Ue||0,Ie,hn);updateLeaveTo(xe,$e),jt?xe.dirty():xe.markRedraw()}function updateLeaveTo(xe,$e){for(var Ie=transitionInnerStore(xe).leaveToProps,Fe=0;Fe0&&xe.animateFrom(Ue,qe)}}function applyMiscProps(xe,$e){hasOwn($e,"silent")&&(xe.silent=$e.silent),hasOwn($e,"ignore")&&(xe.ignore=$e.ignore),xe instanceof Displayable&&hasOwn($e,"invisible")&&(xe.invisible=$e.invisible),xe instanceof Path&&hasOwn($e,"autoBatch")&&(xe.autoBatch=$e.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(xe,$e){return tmpDuringScope.el[xe]=$e,this},getTransform:function(xe){return tmpDuringScope.el[xe]},setShape:function(xe,$e){var Ie=tmpDuringScope.el,Fe=Ie.shape||(Ie.shape={});return Fe[xe]=$e,Ie.dirtyShape&&Ie.dirtyShape(),this},getShape:function(xe){var $e=tmpDuringScope.el.shape;if($e)return $e[xe]},setStyle:function(xe,$e){var Ie=tmpDuringScope.el,Fe=Ie.style;return Fe&&(Fe[xe]=$e,Ie.dirtyStyle&&Ie.dirtyStyle()),this},getStyle:function(xe){var $e=tmpDuringScope.el.style;if($e)return $e[xe]},setExtra:function(xe,$e){var Ie=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return Ie[xe]=$e,this},getExtra:function(xe){var $e=tmpDuringScope.el.extra;if($e)return $e[xe]}};function duringCall(){var xe=this,$e=xe.el;if($e){var Ie=transitionInnerStore($e).userDuring,Fe=xe.userDuring;if(Ie!==Fe){xe.el=xe.userDuring=null;return}tmpDuringScope.el=$e,Fe(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(xe,$e,Ie,Fe){var Ue=Ie[xe];if(Ue){var qe=$e[xe],At;if(qe){var Dt=Ie.transition,Lt=Ue.transition;if(Lt)if(!At&&(At=Fe[xe]={}),isTransitionAll(Lt))extend(At,qe);else for(var jt=normalizeToArray(Lt),hn=0;hn=0){!At&&(At=Fe[xe]={});for(var _n=keys(qe),hn=0;hn<_n.length;hn++){var vn=_n[hn],bn=qe[vn];isNonStyleTransitionEnabled(Ue[vn],bn)&&(At[vn]=bn)}}}}}function prepareShapeOrExtraAllPropsFinal(xe,$e,Ie){var Fe=$e[xe];if(Fe)for(var Ue=Ie[xe]={},qe=keys(Fe),At=0;At=0)){var bn=xe.getAnimationStyleProps(),_n=bn?bn.style:null;if(_n){!qe&&(qe=Fe.style={});for(var wn=keys(Ie),jt=0;jt=0?$e.getStore().get(Hn,Ln):void 0}var Fn=$e.get(Dn.name,Ln),zn=Dn&&Dn.ordinalMeta;return zn?zn.categories[Fn]:Fn}function $n(Vn,Ln){Ln==null&&(Ln=jt);var Dn=$e.getItemVisual(Ln,"style"),Hn=Dn&&Dn.fill,Fn=Dn&&Dn.opacity,zn=xn(Ln,NORMAL).getItemStyle();Hn!=null&&(zn.fill=Hn),Fn!=null&&(zn.opacity=Fn);var jn={inheritColor:isString(Hn)?Hn:"#000"},Gn=En(Ln,NORMAL),Wn=createTextStyle(Gn,null,jn,!1,!0);Wn.text=Gn.getShallow("show")?retrieve2(xe.getFormattedLabel(Ln,NORMAL),getDefaultLabel($e,Ln)):null;var Xn=createTextConfig(Gn,jn,!1);return Mn(Vn,zn),zn=convertToEC4StyleForCustomSerise(zn,Wn,Xn),Vn&&Nn(zn,Vn),zn.legacy=!0,zn}function Pn(Vn,Ln){Ln==null&&(Ln=jt);var Dn=xn(Ln,EMPHASIS).getItemStyle(),Hn=En(Ln,EMPHASIS),Fn=createTextStyle(Hn,null,null,!0,!0);Fn.text=Hn.getShallow("show")?retrieve3(xe.getFormattedLabel(Ln,EMPHASIS),xe.getFormattedLabel(Ln,NORMAL),getDefaultLabel($e,Ln)):null;var zn=createTextConfig(Hn,null,!0);return Mn(Vn,Dn),Dn=convertToEC4StyleForCustomSerise(Dn,Fn,zn),Vn&&Nn(Dn,Vn),Dn.legacy=!0,Dn}function Nn(Vn,Ln){for(var Dn in Ln)hasOwn(Ln,Dn)&&(Vn[Dn]=Ln[Dn])}function Mn(Vn,Ln){Vn&&(Vn.textFill&&(Ln.textFill=Vn.textFill),Vn.textPosition&&(Ln.textPosition=Vn.textPosition))}function In(Vn,Ln){if(Ln==null&&(Ln=jt),hasOwn(STYLE_VISUAL_TYPE,Vn)){var Dn=$e.getItemVisual(Ln,"style");return Dn?Dn[STYLE_VISUAL_TYPE[Vn]]:null}if(hasOwn(NON_STYLE_VISUAL_PROPS,Vn))return $e.getItemVisual(Ln,Vn)}function On(Vn){if(qe.type==="cartesian2d"){var Ln=qe.getBaseAxis();return getLayoutOnAxis(defaults({axis:Ln},Vn))}}function Rn(){return Ie.getCurrentSeriesIndices()}function Bn(Vn){return getFont(Vn,Ie)}}function wrapEncodeDef(xe){var $e={};return each$f(xe.dimensions,function(Ie){var Fe=xe.getDimensionInfo(Ie);if(!Fe.isExtraCoord){var Ue=Fe.coordDim,qe=$e[Ue]=$e[Ue]||[];qe[Fe.coordDimIndex]=xe.getDimensionIndex(Ie)}}),$e}function createOrUpdateItem(xe,$e,Ie,Fe,Ue,qe,At){if(!Fe){qe.remove($e);return}var Dt=doCreateOrUpdateEl(xe,$e,Ie,Fe,Ue,qe);return Dt&&At.setItemGraphicEl(Ie,Dt),Dt&&toggleHoverEmphasis(Dt,Fe.focus,Fe.blurScope,Fe.emphasisDisabled),Dt}function doCreateOrUpdateEl(xe,$e,Ie,Fe,Ue,qe){var At=-1,Dt=$e;$e&&doesElNeedRecreate($e,Fe,Ue)&&(At=indexOf(qe.childrenRef(),$e),$e=null);var Lt=!$e,jt=$e;jt?jt.clearStates():(jt=createEl$1(Fe),Dt&©Element(Dt,jt)),Fe.morph===!1?jt.disableMorphing=!0:jt.disableMorphing&&(jt.disableMorphing=!1),attachedTxInfoTmp.normal.cfg=attachedTxInfoTmp.normal.conOpt=attachedTxInfoTmp.emphasis.cfg=attachedTxInfoTmp.emphasis.conOpt=attachedTxInfoTmp.blur.cfg=attachedTxInfoTmp.blur.conOpt=attachedTxInfoTmp.select.cfg=attachedTxInfoTmp.select.conOpt=null,attachedTxInfoTmp.isLegacy=!1,doCreateOrUpdateAttachedTx(jt,Ie,Fe,Ue,Lt,attachedTxInfoTmp),doCreateOrUpdateClipPath(jt,Ie,Fe,Ue,Lt),updateElNormal(xe,jt,Ie,Fe,attachedTxInfoTmp,Ue,Lt),hasOwn(Fe,"info")&&(customInnerStore(jt).info=Fe.info);for(var hn=0;hn=0?qe.replaceAt(jt,At):qe.add(jt),jt}function doesElNeedRecreate(xe,$e,Ie){var Fe=customInnerStore(xe),Ue=$e.type,qe=$e.shape,At=$e.style;return Ie.isUniversalTransitionEnabled()||Ue!=null&&Ue!==Fe.customGraphicType||Ue==="path"&&hasOwnPathData(qe)&&getPathData(qe)!==Fe.customPathData||Ue==="image"&&hasOwn(At,"image")&&At.image!==Fe.customImagePath}function doCreateOrUpdateClipPath(xe,$e,Ie,Fe,Ue){var qe=Ie.clipPath;if(qe===!1)xe&&xe.getClipPath()&&xe.removeClipPath();else if(qe){var At=xe.getClipPath();At&&doesElNeedRecreate(At,qe,Fe)&&(At=null),At||(At=createEl$1(qe),xe.setClipPath(At)),updateElNormal(null,At,$e,qe,null,Fe,Ue)}}function doCreateOrUpdateAttachedTx(xe,$e,Ie,Fe,Ue,qe){if(!xe.isGroup){processTxInfo(Ie,null,qe),processTxInfo(Ie,EMPHASIS,qe);var At=qe.normal.conOpt,Dt=qe.emphasis.conOpt,Lt=qe.blur.conOpt,jt=qe.select.conOpt;if(At!=null||Dt!=null||jt!=null||Lt!=null){var hn=xe.getTextContent();if(At===!1)hn&&xe.removeTextContent();else{At=qe.normal.conOpt=At||{type:"text"},hn?hn.clearStates():(hn=createEl$1(At),xe.setTextContent(hn)),updateElNormal(null,hn,$e,At,null,Fe,Ue);for(var vn=At&&At.style,bn=0;bn=hn;_n--){var wn=$e.childAt(_n);removeChildFromGroup($e,wn,Ue)}}}function removeChildFromGroup(xe,$e,Ie){$e&&applyLeaveTransition($e,customInnerStore(xe).option,Ie)}function diffGroupChildren(xe){new DataDiffer(xe.oldChildren,xe.newChildren,getKey,getKey,xe).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute()}function getKey(xe,$e){var Ie=xe&&xe.name;return Ie??GROUP_DIFF_PREFIX+$e}function processAddUpdate(xe,$e){var Ie=this.context,Fe=xe!=null?Ie.newChildren[xe]:null,Ue=$e!=null?Ie.oldChildren[$e]:null;doCreateOrUpdateEl(Ie.api,Ue,Ie.dataIndex,Fe,Ie.seriesModel,Ie.group)}function processRemove(xe){var $e=this.context,Ie=$e.oldChildren[xe];Ie&&applyLeaveTransition(Ie,customInnerStore(Ie).option,$e.seriesModel)}function getPathData(xe){return xe&&(xe.pathData||xe.d)}function hasOwnPathData(xe){return xe&&(hasOwn(xe,"pathData")||hasOwn(xe,"d"))}function install$s(xe){xe.registerChartView(CustomChartView),xe.registerSeriesModel(CustomSeriesModel)}var inner$b=makeInner(),clone$1=clone$4,bind=bind$1,BaseAxisPointer=function(){function xe(){this._dragging=!1,this.animationThreshold=15}return xe.prototype.render=function($e,Ie,Fe,Ue){var qe=Ie.get("value"),At=Ie.get("status");if(this._axisModel=$e,this._axisPointerModel=Ie,this._api=Fe,!(!Ue&&this._lastValue===qe&&this._lastStatus===At)){this._lastValue=qe,this._lastStatus=At;var Dt=this._group,Lt=this._handle;if(!At||At==="hide"){Dt&&Dt.hide(),Lt&&Lt.hide();return}Dt&&Dt.show(),Lt&&Lt.show();var jt={};this.makeElOption(jt,qe,$e,Ie,Fe);var hn=jt.graphicKey;hn!==this._lastGraphicKey&&this.clear(Fe),this._lastGraphicKey=hn;var vn=this._moveAnimation=this.determineAnimation($e,Ie);if(!Dt)Dt=this._group=new Group$3,this.createPointerEl(Dt,jt,$e,Ie),this.createLabelEl(Dt,jt,$e,Ie),Fe.getZr().add(Dt);else{var bn=curry$1(updateProps,Ie,vn);this.updatePointerEl(Dt,jt,bn),this.updateLabelEl(Dt,jt,bn,Ie)}updateMandatoryProps(Dt,Ie,!0),this._renderHandle(qe)}},xe.prototype.remove=function($e){this.clear($e)},xe.prototype.dispose=function($e){this.clear($e)},xe.prototype.determineAnimation=function($e,Ie){var Fe=Ie.get("animation"),Ue=$e.axis,qe=Ue.type==="category",At=Ie.get("snap");if(!At&&!qe)return!1;if(Fe==="auto"||Fe==null){var Dt=this.animationThreshold;if(qe&&Ue.getBandWidth()>Dt)return!0;if(At){var Lt=getAxisInfo$1($e).seriesDataCount,jt=Ue.getExtent();return Math.abs(jt[0]-jt[1])/Lt>Dt}return!1}return Fe===!0},xe.prototype.makeElOption=function($e,Ie,Fe,Ue,qe){},xe.prototype.createPointerEl=function($e,Ie,Fe,Ue){var qe=Ie.pointer;if(qe){var At=inner$b($e).pointerEl=new graphic[qe.type](clone$1(Ie.pointer));$e.add(At)}},xe.prototype.createLabelEl=function($e,Ie,Fe,Ue){if(Ie.label){var qe=inner$b($e).labelEl=new ZRText(clone$1(Ie.label));$e.add(qe),updateLabelShowHide(qe,Ue)}},xe.prototype.updatePointerEl=function($e,Ie,Fe){var Ue=inner$b($e).pointerEl;Ue&&Ie.pointer&&(Ue.setStyle(Ie.pointer.style),Fe(Ue,{shape:Ie.pointer.shape}))},xe.prototype.updateLabelEl=function($e,Ie,Fe,Ue){var qe=inner$b($e).labelEl;qe&&(qe.setStyle(Ie.label.style),Fe(qe,{x:Ie.label.x,y:Ie.label.y}),updateLabelShowHide(qe,Ue))},xe.prototype._renderHandle=function($e){if(!(this._dragging||!this.updateHandleTransform)){var Ie=this._axisPointerModel,Fe=this._api.getZr(),Ue=this._handle,qe=Ie.getModel("handle"),At=Ie.get("status");if(!qe.get("show")||!At||At==="hide"){Ue&&Fe.remove(Ue),this._handle=null;return}var Dt;this._handle||(Dt=!0,Ue=this._handle=createIcon(qe.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(jt){stop(jt.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),Fe.add(Ue)),updateMandatoryProps(Ue,Ie,!1),Ue.setStyle(qe.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var Lt=qe.get("size");isArray$1(Lt)||(Lt=[Lt,Lt]),Ue.scaleX=Lt[0]/2,Ue.scaleY=Lt[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",qe.get("throttle")||0,"fixRate"),this._moveHandleToValue($e,Dt)}},xe.prototype._moveHandleToValue=function($e,Ie){updateProps(this._axisPointerModel,!Ie&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform($e,this._axisModel,this._axisPointerModel)))},xe.prototype._onHandleDragMove=function($e,Ie){var Fe=this._handle;if(Fe){this._dragging=!0;var Ue=this.updateHandleTransform(getHandleTransProps(Fe),[$e,Ie],this._axisModel,this._axisPointerModel);this._payloadInfo=Ue,Fe.stopAnimation(),Fe.attr(getHandleTransProps(Ue)),inner$b(Fe).lastProp=null,this._doDispatchAxisPointer()}},xe.prototype._doDispatchAxisPointer=function(){var $e=this._handle;if($e){var Ie=this._payloadInfo,Fe=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:Ie.cursorPoint[0],y:Ie.cursorPoint[1],tooltipOption:Ie.tooltipOption,axesInfo:[{axisDim:Fe.axis.dim,axisIndex:Fe.componentIndex}]})}},xe.prototype._onHandleDragEnd=function(){this._dragging=!1;var $e=this._handle;if($e){var Ie=this._axisPointerModel.get("value");this._moveHandleToValue(Ie),this._api.dispatchAction({type:"hideTip"})}},xe.prototype.clear=function($e){this._lastValue=null,this._lastStatus=null;var Ie=$e.getZr(),Fe=this._group,Ue=this._handle;Ie&&Fe&&(this._lastGraphicKey=null,Fe&&Ie.remove(Fe),Ue&&Ie.remove(Ue),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},xe.prototype.doClear=function(){},xe.prototype.buildLabel=function($e,Ie,Fe){return Fe=Fe||0,{x:$e[Fe],y:$e[1-Fe],width:Ie[Fe],height:Ie[1-Fe]}},xe}();function updateProps(xe,$e,Ie,Fe){propsEqual(inner$b(Ie).lastProp,Fe)||(inner$b(Ie).lastProp=Fe,$e?updateProps$1(Ie,Fe,xe):(Ie.stopAnimation(),Ie.attr(Fe)))}function propsEqual(xe,$e){if(isObject$3(xe)&&isObject$3($e)){var Ie=!0;return each$f($e,function(Fe,Ue){Ie=Ie&&propsEqual(xe[Ue],Fe)}),!!Ie}else return xe===$e}function updateLabelShowHide(xe,$e){xe[$e.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(xe){return{x:xe.x||0,y:xe.y||0,rotation:xe.rotation||0}}function updateMandatoryProps(xe,$e,Ie){var Fe=$e.get("z"),Ue=$e.get("zlevel");xe&&xe.traverse(function(qe){qe.type!=="group"&&(Fe!=null&&(qe.z=Fe),Ue!=null&&(qe.zlevel=Ue),qe.silent=Ie)})}function buildElStyle(xe){var $e=xe.get("type"),Ie=xe.getModel($e+"Style"),Fe;return $e==="line"?(Fe=Ie.getLineStyle(),Fe.fill=null):$e==="shadow"&&(Fe=Ie.getAreaStyle(),Fe.stroke=null),Fe}function buildLabelElOption(xe,$e,Ie,Fe,Ue){var qe=Ie.get("value"),At=getValueLabel(qe,$e.axis,$e.ecModel,Ie.get("seriesDataIndices"),{precision:Ie.get(["label","precision"]),formatter:Ie.get(["label","formatter"])}),Dt=Ie.getModel("label"),Lt=normalizeCssArray(Dt.get("padding")||0),jt=Dt.getFont(),hn=getBoundingRect(At,jt),vn=Ue.position,bn=hn.width+Lt[1]+Lt[3],_n=hn.height+Lt[0]+Lt[2],wn=Ue.align;wn==="right"&&(vn[0]-=bn),wn==="center"&&(vn[0]-=bn/2);var kn=Ue.verticalAlign;kn==="bottom"&&(vn[1]-=_n),kn==="middle"&&(vn[1]-=_n/2),confineInContainer(vn,bn,_n,Fe);var Cn=Dt.get("backgroundColor");(!Cn||Cn==="auto")&&(Cn=$e.get(["axisLine","lineStyle","color"])),xe.label={x:vn[0],y:vn[1],style:createTextStyle(Dt,{text:At,font:jt,fill:Dt.getTextColor(),padding:Lt,backgroundColor:Cn}),z2:10}}function confineInContainer(xe,$e,Ie,Fe){var Ue=Fe.getWidth(),qe=Fe.getHeight();xe[0]=Math.min(xe[0]+$e,Ue)-$e,xe[1]=Math.min(xe[1]+Ie,qe)-Ie,xe[0]=Math.max(xe[0],0),xe[1]=Math.max(xe[1],0)}function getValueLabel(xe,$e,Ie,Fe,Ue){xe=$e.scale.parse(xe);var qe=$e.scale.getLabel({value:xe},{precision:Ue.precision}),At=Ue.formatter;if(At){var Dt={value:getAxisRawValue($e,{value:xe}),axisDimension:$e.dim,axisIndex:$e.index,seriesData:[]};each$f(Fe,function(Lt){var jt=Ie.getSeriesByIndex(Lt.seriesIndex),hn=Lt.dataIndexInside,vn=jt&&jt.getDataParams(hn);vn&&Dt.seriesData.push(vn)}),isString(At)?qe=At.replace("{value}",qe):isFunction(At)&&(qe=At(Dt))}return qe}function getTransformedPosition(xe,$e,Ie){var Fe=create$1();return rotate(Fe,Fe,Ie.rotation),translate(Fe,Fe,Ie.position),applyTransform([xe.dataToCoord($e),(Ie.labelOffset||0)+(Ie.labelDirection||1)*(Ie.labelMargin||0)],Fe)}function buildCartesianSingleLabelElOption(xe,$e,Ie,Fe,Ue,qe){var At=AxisBuilder.innerTextLayout(Ie.rotation,0,Ie.labelDirection);Ie.labelMargin=Ue.get(["label","margin"]),buildLabelElOption($e,Fe,Ue,qe,{position:getTransformedPosition(Fe.axis,xe,Ie),align:At.textAlign,verticalAlign:At.textVerticalAlign})}function makeLineShape(xe,$e,Ie){return Ie=Ie||0,{x1:xe[Ie],y1:xe[1-Ie],x2:$e[Ie],y2:$e[1-Ie]}}function makeRectShape(xe,$e,Ie){return Ie=Ie||0,{x:xe[Ie],y:xe[1-Ie],width:$e[Ie],height:$e[1-Ie]}}function makeSectorShape(xe,$e,Ie,Fe,Ue,qe){return{cx:xe,cy:$e,r0:Ie,r:Fe,startAngle:Ue,endAngle:qe,clockwise:!0}}var CartesianAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis,Lt=Dt.grid,jt=qe.get("type"),hn=getCartesian(Lt,Dt).getOtherAxis(Dt).getGlobalExtent(),vn=Dt.toGlobalCoord(Dt.dataToCoord(Fe,!0));if(jt&&jt!=="none"){var bn=buildElStyle(qe),_n=pointerShapeBuilder$2[jt](Dt,vn,hn);_n.style=bn,Ie.graphicKey=_n.type,Ie.pointer=_n}var wn=layout$2(Lt.model,Ue);buildCartesianSingleLabelElOption(Fe,Ie,wn,Ue,qe,At)},$e.prototype.getHandleTransform=function(Ie,Fe,Ue){var qe=layout$2(Fe.axis.grid.model,Fe,{labelInside:!1});qe.labelMargin=Ue.get(["handle","margin"]);var At=getTransformedPosition(Fe.axis,Ie,qe);return{x:At[0],y:At[1],rotation:qe.rotation+(qe.labelDirection<0?Math.PI:0)}},$e.prototype.updateHandleTransform=function(Ie,Fe,Ue,qe){var At=Ue.axis,Dt=At.grid,Lt=At.getGlobalExtent(!0),jt=getCartesian(Dt,At).getOtherAxis(At).getGlobalExtent(),hn=At.dim==="x"?0:1,vn=[Ie.x,Ie.y];vn[hn]+=Fe[hn],vn[hn]=Math.min(Lt[1],vn[hn]),vn[hn]=Math.max(Lt[0],vn[hn]);var bn=(jt[1]+jt[0])/2,_n=[bn,bn];_n[hn]=vn[hn];var wn=[{verticalAlign:"middle"},{align:"center"}];return{x:vn[0],y:vn[1],rotation:Ie.rotation,cursorPoint:_n,tooltipOption:wn[hn]}},$e}(BaseAxisPointer);function getCartesian(xe,$e){var Ie={};return Ie[$e.dim+"AxisIndex"]=$e.index,xe.getCartesian(Ie)}var pointerShapeBuilder$2={line:function(xe,$e,Ie){var Fe=makeLineShape([$e,Ie[0]],[$e,Ie[1]],getAxisDimIndex(xe));return{type:"Line",subPixelOptimize:!0,shape:Fe}},shadow:function(xe,$e,Ie){var Fe=Math.max(1,xe.getBandWidth()),Ue=Ie[1]-Ie[0];return{type:"Rect",shape:makeRectShape([$e-Fe/2,Ie[0]],[Fe,Ue],getAxisDimIndex(xe))}}};function getAxisDimIndex(xe){return xe.dim==="x"?0:1}var AxisPointerModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="axisPointer",$e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},$e}(ComponentModel),inner$a=makeInner(),each$8=each$f;function register(xe,$e,Ie){if(!env.node){var Fe=$e.getZr();inner$a(Fe).records||(inner$a(Fe).records={}),initGlobalListeners(Fe,$e);var Ue=inner$a(Fe).records[xe]||(inner$a(Fe).records[xe]={});Ue.handler=Ie}}function initGlobalListeners(xe,$e){if(inner$a(xe).initialized)return;inner$a(xe).initialized=!0,Ie("click",curry$1(doEnter,"click")),Ie("mousemove",curry$1(doEnter,"mousemove")),Ie("globalout",onLeave);function Ie(Fe,Ue){xe.on(Fe,function(qe){var At=makeDispatchAction$1($e);each$8(inner$a(xe).records,function(Dt){Dt&&Ue(Dt,qe,At.dispatchAction)}),dispatchTooltipFinally(At.pendings,$e)})}}function dispatchTooltipFinally(xe,$e){var Ie=xe.showTip.length,Fe=xe.hideTip.length,Ue;Ie?Ue=xe.showTip[Ie-1]:Fe&&(Ue=xe.hideTip[Fe-1]),Ue&&(Ue.dispatchAction=null,$e.dispatchAction(Ue))}function onLeave(xe,$e,Ie){xe.handler("leave",null,Ie)}function doEnter(xe,$e,Ie,Fe){$e.handler(xe,Ie,Fe)}function makeDispatchAction$1(xe){var $e={showTip:[],hideTip:[]},Ie=function(Fe){var Ue=$e[Fe.type];Ue?Ue.push(Fe):(Fe.dispatchAction=Ie,xe.dispatchAction(Fe))};return{dispatchAction:Ie,pendings:$e}}function unregister(xe,$e){if(!env.node){var Ie=$e.getZr(),Fe=(inner$a(Ie).records||{})[xe];Fe&&(inner$a(Ie).records[xe]=null)}}var AxisPointerView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Fe.getComponent("tooltip"),At=Ie.get("triggerOn")||qe&&qe.get("triggerOn")||"mousemove|click";register("axisPointer",Ue,function(Dt,Lt,jt){At!=="none"&&(Dt==="leave"||At.indexOf(Dt)>=0)&&jt({type:"updateAxisPointer",currTrigger:Dt,x:Lt&&Lt.offsetX,y:Lt&&Lt.offsetY})})},$e.prototype.remove=function(Ie,Fe){unregister("axisPointer",Fe)},$e.prototype.dispose=function(Ie,Fe){unregister("axisPointer",Fe)},$e.type="axisPointer",$e}(ComponentView);function findPointFromSeries(xe,$e){var Ie=[],Fe=xe.seriesIndex,Ue;if(Fe==null||!(Ue=$e.getSeriesByIndex(Fe)))return{point:[]};var qe=Ue.getData(),At=queryDataIndex(qe,xe);if(At==null||At<0||isArray$1(At))return{point:[]};var Dt=qe.getItemGraphicEl(At),Lt=Ue.coordinateSystem;if(Ue.getTooltipPosition)Ie=Ue.getTooltipPosition(At)||[];else if(Lt&&Lt.dataToPoint)if(xe.isStacked){var jt=Lt.getBaseAxis(),hn=Lt.getOtherAxis(jt),vn=hn.dim,bn=jt.dim,_n=vn==="x"||vn==="radius"?1:0,wn=qe.mapDimension(bn),kn=[];kn[_n]=qe.get(wn,At),kn[1-_n]=qe.get(qe.getCalculationInfo("stackResultDimension"),At),Ie=Lt.dataToPoint(kn)||[]}else Ie=Lt.dataToPoint(qe.getValues(map$1(Lt.dimensions,function(Sn){return qe.mapDimension(Sn)}),At))||[];else if(Dt){var Cn=Dt.getBoundingRect().clone();Cn.applyTransform(Dt.transform),Ie=[Cn.x+Cn.width/2,Cn.y+Cn.height/2]}return{point:Ie,el:Dt}}var inner$9=makeInner();function axisTrigger(xe,$e,Ie){var Fe=xe.currTrigger,Ue=[xe.x,xe.y],qe=xe,At=xe.dispatchAction||bind$1(Ie.dispatchAction,Ie),Dt=$e.getComponent("axisPointer").coordSysAxesInfo;if(Dt){illegalPoint(Ue)&&(Ue=findPointFromSeries({seriesIndex:qe.seriesIndex,dataIndex:qe.dataIndex},$e).point);var Lt=illegalPoint(Ue),jt=qe.axesInfo,hn=Dt.axesInfo,vn=Fe==="leave"||illegalPoint(Ue),bn={},_n={},wn={list:[],map:{}},kn={showPointer:curry$1(showPointer,_n),showTooltip:curry$1(showTooltip,wn)};each$f(Dt.coordSysMap,function(Sn,xn){var En=Lt||Sn.containPoint(Ue);each$f(Dt.coordSysAxesInfo[xn],function(Tn,An){var $n=Tn.axis,Pn=findInputAxisInfo(jt,Tn);if(!vn&&En&&(!jt||Pn)){var Nn=Pn&&Pn.value;Nn==null&&!Lt&&(Nn=$n.pointToData(Ue)),Nn!=null&&processOnAxis(Tn,Nn,kn,!1,bn)}})});var Cn={};return each$f(hn,function(Sn,xn){var En=Sn.linkGroup;En&&!_n[xn]&&each$f(En.axesInfo,function(Tn,An){var $n=_n[An];if(Tn!==Sn&&$n){var Pn=$n.value;En.mapper&&(Pn=Sn.axis.scale.parse(En.mapper(Pn,makeMapperParam(Tn),makeMapperParam(Sn)))),Cn[Sn.key]=Pn}})}),each$f(Cn,function(Sn,xn){processOnAxis(hn[xn],Sn,kn,!0,bn)}),updateModelActually(_n,hn,bn),dispatchTooltipActually(wn,Ue,xe,At),dispatchHighDownActually(hn,At,Ie),bn}}function processOnAxis(xe,$e,Ie,Fe,Ue){var qe=xe.axis;if(!(qe.scale.isBlank()||!qe.containData($e))){if(!xe.involveSeries){Ie.showPointer(xe,$e);return}var At=buildPayloadsBySeries($e,xe),Dt=At.payloadBatch,Lt=At.snapToValue;Dt[0]&&Ue.seriesIndex==null&&extend(Ue,Dt[0]),!Fe&&xe.snap&&qe.containData(Lt)&&Lt!=null&&($e=Lt),Ie.showPointer(xe,$e,Dt),Ie.showTooltip(xe,At,Lt)}}function buildPayloadsBySeries(xe,$e){var Ie=$e.axis,Fe=Ie.dim,Ue=xe,qe=[],At=Number.MAX_VALUE,Dt=-1;return each$f($e.seriesModels,function(Lt,jt){var hn=Lt.getData().mapDimensionsAll(Fe),vn,bn;if(Lt.getAxisTooltipData){var _n=Lt.getAxisTooltipData(hn,xe,Ie);bn=_n.dataIndices,vn=_n.nestestValue}else{if(bn=Lt.getData().indicesOfNearest(hn[0],xe,Ie.type==="category"?.5:null),!bn.length)return;vn=Lt.getData().get(hn[0],bn[0])}if(!(vn==null||!isFinite(vn))){var wn=xe-vn,kn=Math.abs(wn);kn<=At&&((kn=0&&Dt<0)&&(At=kn,Dt=wn,Ue=vn,qe.length=0),each$f(bn,function(Cn){qe.push({seriesIndex:Lt.seriesIndex,dataIndexInside:Cn,dataIndex:Lt.getData().getRawIndex(Cn)})}))}}),{payloadBatch:qe,snapToValue:Ue}}function showPointer(xe,$e,Ie,Fe){xe[$e.key]={value:Ie,payloadBatch:Fe}}function showTooltip(xe,$e,Ie,Fe){var Ue=Ie.payloadBatch,qe=$e.axis,At=qe.model,Dt=$e.axisPointerModel;if(!(!$e.triggerTooltip||!Ue.length)){var Lt=$e.coordSys.model,jt=makeKey(Lt),hn=xe.map[jt];hn||(hn=xe.map[jt]={coordSysId:Lt.id,coordSysIndex:Lt.componentIndex,coordSysType:Lt.type,coordSysMainType:Lt.mainType,dataByAxis:[]},xe.list.push(hn)),hn.dataByAxis.push({axisDim:qe.dim,axisIndex:At.componentIndex,axisType:At.type,axisId:At.id,value:Fe,valueLabelOpt:{precision:Dt.get(["label","precision"]),formatter:Dt.get(["label","formatter"])},seriesDataIndices:Ue.slice()})}}function updateModelActually(xe,$e,Ie){var Fe=Ie.axesInfo=[];each$f($e,function(Ue,qe){var At=Ue.axisPointerModel.option,Dt=xe[qe];Dt?(!Ue.useHandle&&(At.status="show"),At.value=Dt.value,At.seriesDataIndices=(Dt.payloadBatch||[]).slice()):!Ue.useHandle&&(At.status="hide"),At.status==="show"&&Fe.push({axisDim:Ue.axis.dim,axisIndex:Ue.axis.model.componentIndex,value:At.value})})}function dispatchTooltipActually(xe,$e,Ie,Fe){if(illegalPoint($e)||!xe.list.length){Fe({type:"hideTip"});return}var Ue=((xe.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};Fe({type:"showTip",escapeConnect:!0,x:$e[0],y:$e[1],tooltipOption:Ie.tooltipOption,position:Ie.position,dataIndexInside:Ue.dataIndexInside,dataIndex:Ue.dataIndex,seriesIndex:Ue.seriesIndex,dataByCoordSys:xe.list})}function dispatchHighDownActually(xe,$e,Ie){var Fe=Ie.getZr(),Ue="axisPointerLastHighlights",qe=inner$9(Fe)[Ue]||{},At=inner$9(Fe)[Ue]={};each$f(xe,function(jt,hn){var vn=jt.axisPointerModel.option;vn.status==="show"&&jt.triggerEmphasis&&each$f(vn.seriesDataIndices,function(bn){var _n=bn.seriesIndex+" | "+bn.dataIndex;At[_n]=bn})});var Dt=[],Lt=[];each$f(qe,function(jt,hn){!At[hn]&&Lt.push(jt)}),each$f(At,function(jt,hn){!qe[hn]&&Dt.push(jt)}),Lt.length&&Ie.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:Lt}),Dt.length&&Ie.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:Dt})}function findInputAxisInfo(xe,$e){for(var Ie=0;Ie<(xe||[]).length;Ie++){var Fe=xe[Ie];if($e.axis.dim===Fe.axisDim&&$e.axis.model.componentIndex===Fe.axisIndex)return Fe}}function makeMapperParam(xe){var $e=xe.axis.model,Ie={},Fe=Ie.axisDim=xe.axis.dim;return Ie.axisIndex=Ie[Fe+"AxisIndex"]=$e.componentIndex,Ie.axisName=Ie[Fe+"AxisName"]=$e.name,Ie.axisId=Ie[Fe+"AxisId"]=$e.id,Ie}function illegalPoint(xe){return!xe||xe[0]==null||isNaN(xe[0])||xe[1]==null||isNaN(xe[1])}function install$r(xe){AxisView.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer),xe.registerComponentModel(AxisPointerModel),xe.registerComponentView(AxisPointerView),xe.registerPreprocessor(function($e){if($e){(!$e.axisPointer||$e.axisPointer.length===0)&&($e.axisPointer={});var Ie=$e.axisPointer.link;Ie&&!isArray$1(Ie)&&($e.axisPointer.link=[Ie])}}),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,function($e,Ie){$e.getComponent("axisPointer").coordSysAxesInfo=collect($e,Ie)}),xe.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$q(xe){use(install$O),use(install$r)}var PolarAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis;Dt.dim==="angle"&&(this.animationThreshold=Math.PI/18);var Lt=Dt.polar,jt=Lt.getOtherAxis(Dt),hn=jt.getExtent(),vn=Dt.dataToCoord(Fe),bn=qe.get("type");if(bn&&bn!=="none"){var _n=buildElStyle(qe),wn=pointerShapeBuilder$1[bn](Dt,Lt,vn,hn);wn.style=_n,Ie.graphicKey=wn.type,Ie.pointer=wn}var kn=qe.get(["label","margin"]),Cn=getLabelPosition(Fe,Ue,qe,Lt,kn);buildLabelElOption(Ie,Ue,qe,At,Cn)},$e}(BaseAxisPointer);function getLabelPosition(xe,$e,Ie,Fe,Ue){var qe=$e.axis,At=qe.dataToCoord(xe),Dt=Fe.getAngleAxis().getExtent()[0];Dt=Dt/180*Math.PI;var Lt=Fe.getRadiusAxis().getExtent(),jt,hn,vn;if(qe.dim==="radius"){var bn=create$1();rotate(bn,bn,Dt),translate(bn,bn,[Fe.cx,Fe.cy]),jt=applyTransform([At,-Ue],bn);var _n=$e.getModel("axisLabel").get("rotate")||0,wn=AxisBuilder.innerTextLayout(Dt,_n*Math.PI/180,-1);hn=wn.textAlign,vn=wn.textVerticalAlign}else{var kn=Lt[1];jt=Fe.coordToPoint([kn+Ue,At]);var Cn=Fe.cx,Sn=Fe.cy;hn=Math.abs(jt[0]-Cn)/kn<.3?"center":jt[0]>Cn?"left":"right",vn=Math.abs(jt[1]-Sn)/kn<.3?"middle":jt[1]>Sn?"top":"bottom"}return{position:jt,align:hn,verticalAlign:vn}}var pointerShapeBuilder$1={line:function(xe,$e,Ie,Fe){return xe.dim==="angle"?{type:"Line",shape:makeLineShape($e.coordToPoint([Fe[0],Ie]),$e.coordToPoint([Fe[1],Ie]))}:{type:"Circle",shape:{cx:$e.cx,cy:$e.cy,r:Ie}}},shadow:function(xe,$e,Ie,Fe){var Ue=Math.max(1,xe.getBandWidth()),qe=Math.PI/180;return xe.dim==="angle"?{type:"Sector",shape:makeSectorShape($e.cx,$e.cy,Fe[0],Fe[1],(-Ie-Ue/2)*qe,(-Ie+Ue/2)*qe)}:{type:"Sector",shape:makeSectorShape($e.cx,$e.cy,Ie-Ue/2,Ie+Ue/2,0,Math.PI*2)}}},PolarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.findAxisModel=function(Ie){var Fe,Ue=this.ecModel;return Ue.eachComponent(Ie,function(qe){qe.getCoordSysModel()===this&&(Fe=qe)},this),Fe},$e.type="polar",$e.dependencies=["radiusAxis","angleAxis"],$e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},$e}(ComponentModel),PolarAxisModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",SINGLE_REFERRING).models[0]},$e.type="polarAxis",$e}(ComponentModel);mixin(PolarAxisModel,AxisModelCommonMixin);var AngleAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="angleAxis",$e}(PolarAxisModel),RadiusAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="radiusAxis",$e}(PolarAxisModel),RadiusAxis=function(xe){__extends($e,xe);function $e(Ie,Fe){return xe.call(this,"radius",Ie,Fe)||this}return $e.prototype.pointToData=function(Ie,Fe){return this.polar.pointToData(Ie,Fe)[this.dim==="radius"?0:1]},$e}(Axis);RadiusAxis.prototype.dataToRadius=Axis.prototype.dataToCoord;RadiusAxis.prototype.radiusToData=Axis.prototype.coordToData;var inner$8=makeInner(),AngleAxis=function(xe){__extends($e,xe);function $e(Ie,Fe){return xe.call(this,"angle",Ie,Fe||[0,360])||this}return $e.prototype.pointToData=function(Ie,Fe){return this.polar.pointToData(Ie,Fe)[this.dim==="radius"?0:1]},$e.prototype.calculateCategoryInterval=function(){var Ie=this,Fe=Ie.getLabelModel(),Ue=Ie.scale,qe=Ue.getExtent(),At=Ue.count();if(qe[1]-qe[0]<1)return 0;var Dt=qe[0],Lt=Ie.dataToCoord(Dt+1)-Ie.dataToCoord(Dt),jt=Math.abs(Lt),hn=getBoundingRect(Dt==null?"":Dt+"",Fe.getFont(),"center","top"),vn=Math.max(hn.height,7),bn=vn/jt;isNaN(bn)&&(bn=1/0);var _n=Math.max(0,Math.floor(bn)),wn=inner$8(Ie.model),kn=wn.lastAutoInterval,Cn=wn.lastTickCount;return kn!=null&&Cn!=null&&Math.abs(kn-_n)<=1&&Math.abs(Cn-At)<=1&&kn>_n?_n=kn:(wn.lastTickCount=At,wn.lastAutoInterval=_n),_n},$e}(Axis);AngleAxis.prototype.dataToAngle=Axis.prototype.dataToCoord;AngleAxis.prototype.angleToData=Axis.prototype.coordToData;var polarDimensions=["radius","angle"],Polar=function(){function xe($e){this.dimensions=polarDimensions,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new RadiusAxis,this._angleAxis=new AngleAxis,this.axisPointerEnabled=!0,this.name=$e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return xe.prototype.containPoint=function($e){var Ie=this.pointToCoord($e);return this._radiusAxis.contain(Ie[0])&&this._angleAxis.contain(Ie[1])},xe.prototype.containData=function($e){return this._radiusAxis.containData($e[0])&&this._angleAxis.containData($e[1])},xe.prototype.getAxis=function($e){var Ie="_"+$e+"Axis";return this[Ie]},xe.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},xe.prototype.getAxesByScale=function($e){var Ie=[],Fe=this._angleAxis,Ue=this._radiusAxis;return Fe.scale.type===$e&&Ie.push(Fe),Ue.scale.type===$e&&Ie.push(Ue),Ie},xe.prototype.getAngleAxis=function(){return this._angleAxis},xe.prototype.getRadiusAxis=function(){return this._radiusAxis},xe.prototype.getOtherAxis=function($e){var Ie=this._angleAxis;return $e===Ie?this._radiusAxis:Ie},xe.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},xe.prototype.getTooltipAxes=function($e){var Ie=$e!=null&&$e!=="auto"?this.getAxis($e):this.getBaseAxis();return{baseAxes:[Ie],otherAxes:[this.getOtherAxis(Ie)]}},xe.prototype.dataToPoint=function($e,Ie){return this.coordToPoint([this._radiusAxis.dataToRadius($e[0],Ie),this._angleAxis.dataToAngle($e[1],Ie)])},xe.prototype.pointToData=function($e,Ie){var Fe=this.pointToCoord($e);return[this._radiusAxis.radiusToData(Fe[0],Ie),this._angleAxis.angleToData(Fe[1],Ie)]},xe.prototype.pointToCoord=function($e){var Ie=$e[0]-this.cx,Fe=$e[1]-this.cy,Ue=this.getAngleAxis(),qe=Ue.getExtent(),At=Math.min(qe[0],qe[1]),Dt=Math.max(qe[0],qe[1]);Ue.inverse?At=Dt-360:Dt=At+360;var Lt=Math.sqrt(Ie*Ie+Fe*Fe);Ie/=Lt,Fe/=Lt;for(var jt=Math.atan2(-Fe,Ie)/Math.PI*180,hn=jtDt;)jt+=hn*360;return[Lt,jt]},xe.prototype.coordToPoint=function($e){var Ie=$e[0],Fe=$e[1]/180*Math.PI,Ue=Math.cos(Fe)*Ie+this.cx,qe=-Math.sin(Fe)*Ie+this.cy;return[Ue,qe]},xe.prototype.getArea=function(){var $e=this.getAngleAxis(),Ie=this.getRadiusAxis(),Fe=Ie.getExtent().slice();Fe[0]>Fe[1]&&Fe.reverse();var Ue=$e.getExtent(),qe=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:Fe[0],r:Fe[1],startAngle:-Ue[0]*qe,endAngle:-Ue[1]*qe,clockwise:$e.inverse,contain:function(At,Dt){var Lt=At-this.cx,jt=Dt-this.cy,hn=Lt*Lt+jt*jt-1e-4,vn=this.r,bn=this.r0;return hn<=vn*vn&&hn>=bn*bn}}},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys$2(Ie);return Ue===this?this.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys$2(Ie);return Ue===this?this.pointToData(Fe):null},xe}();function getCoordSys$2(xe){var $e=xe.seriesModel,Ie=xe.polarModel;return Ie&&Ie.coordinateSystem||$e&&$e.coordinateSystem}const Polar$1=Polar;function resizePolar(xe,$e,Ie){var Fe=$e.get("center"),Ue=Ie.getWidth(),qe=Ie.getHeight();xe.cx=parsePercent(Fe[0],Ue),xe.cy=parsePercent(Fe[1],qe);var At=xe.getRadiusAxis(),Dt=Math.min(Ue,qe)/2,Lt=$e.get("radius");Lt==null?Lt=[0,"100%"]:isArray$1(Lt)||(Lt=[0,Lt]);var jt=[parsePercent(Lt[0],Dt),parsePercent(Lt[1],Dt)];At.inverse?At.setExtent(jt[1],jt[0]):At.setExtent(jt[0],jt[1])}function updatePolarScale(xe,$e){var Ie=this,Fe=Ie.getAngleAxis(),Ue=Ie.getRadiusAxis();if(Fe.scale.setExtent(1/0,-1/0),Ue.scale.setExtent(1/0,-1/0),xe.eachSeries(function(Dt){if(Dt.coordinateSystem===Ie){var Lt=Dt.getData();each$f(getDataDimensionsOnAxis(Lt,"radius"),function(jt){Ue.scale.unionExtentFromData(Lt,jt)}),each$f(getDataDimensionsOnAxis(Lt,"angle"),function(jt){Fe.scale.unionExtentFromData(Lt,jt)})}}),niceScaleExtent(Fe.scale,Fe.model),niceScaleExtent(Ue.scale,Ue.model),Fe.type==="category"&&!Fe.onBand){var qe=Fe.getExtent(),At=360/Fe.scale.count();Fe.inverse?qe[1]+=At:qe[1]-=At,Fe.setExtent(qe[0],qe[1])}}function isAngleAxisModel(xe){return xe.mainType==="angleAxis"}function setAxis(xe,$e){var Ie;if(xe.type=$e.get("type"),xe.scale=createScaleByModel$1($e),xe.onBand=$e.get("boundaryGap")&&xe.type==="category",xe.inverse=$e.get("inverse"),isAngleAxisModel($e)){xe.inverse=xe.inverse!==$e.get("clockwise");var Fe=$e.get("startAngle"),Ue=(Ie=$e.get("endAngle"))!==null&&Ie!==void 0?Ie:Fe+(xe.inverse?-360:360);xe.setExtent(Fe,Ue)}$e.axis=xe,xe.model=$e}var polarCreator={dimensions:polarDimensions,create:function(xe,$e){var Ie=[];return xe.eachComponent("polar",function(Fe,Ue){var qe=new Polar$1(Ue+"");qe.update=updatePolarScale;var At=qe.getRadiusAxis(),Dt=qe.getAngleAxis(),Lt=Fe.findAxisModel("radiusAxis"),jt=Fe.findAxisModel("angleAxis");setAxis(At,Lt),setAxis(Dt,jt),resizePolar(qe,Fe,$e),Ie.push(qe),Fe.coordinateSystem=qe,qe.model=Fe}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="polar"){var Ue=Fe.getReferringComponents("polar",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue.coordinateSystem}}),Ie}},elementList=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(xe,$e,Ie){$e[1]>$e[0]&&($e=$e.slice().reverse());var Fe=xe.coordToPoint([$e[0],Ie]),Ue=xe.coordToPoint([$e[1],Ie]);return{x1:Fe[0],y1:Fe[1],x2:Ue[0],y2:Ue[1]}}function getRadiusIdx(xe){var $e=xe.getRadiusAxis();return $e.inverse?0:1}function fixAngleOverlap(xe){var $e=xe[0],Ie=xe[xe.length-1];$e&&Ie&&Math.abs(Math.abs($e.coord-Ie.coord)-360)<1e-4&&xe.pop()}var AngleAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.axisPointerClass="PolarAxisPointer",Ie}return $e.prototype.render=function(Ie,Fe){if(this.group.removeAll(),!!Ie.get("show")){var Ue=Ie.axis,qe=Ue.polar,At=qe.getRadiusAxis().getExtent(),Dt=Ue.getTicksCoords(),Lt=Ue.getMinorTicksCoords(),jt=map$1(Ue.getViewLabels(),function(hn){hn=clone$4(hn);var vn=Ue.scale,bn=vn.type==="ordinal"?vn.getRawOrdinalNumber(hn.tickValue):hn.tickValue;return hn.coord=Ue.dataToCoord(bn),hn});fixAngleOverlap(jt),fixAngleOverlap(Dt),each$f(elementList,function(hn){Ie.get([hn,"show"])&&(!Ue.scale.isBlank()||hn==="axisLine")&&angelAxisElementsBuilders[hn](this.group,Ie,qe,Dt,Lt,At,jt)},this)}},$e.type="angleAxis",$e}(AxisView),angelAxisElementsBuilders={axisLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel(["axisLine","lineStyle"]),Dt=Ie.getAngleAxis(),Lt=Math.PI/180,jt=Dt.getExtent(),hn=getRadiusIdx(Ie),vn=hn?0:1,bn,_n=Math.abs(jt[1]-jt[0])===360?"Circle":"Arc";qe[vn]===0?bn=new graphic[_n]({shape:{cx:Ie.cx,cy:Ie.cy,r:qe[hn],startAngle:-jt[0]*Lt,endAngle:-jt[1]*Lt,clockwise:Dt.inverse},style:At.getLineStyle(),z2:1,silent:!0}):bn=new Ring$1({shape:{cx:Ie.cx,cy:Ie.cy,r:qe[hn],r0:qe[vn]},style:At.getLineStyle(),z2:1,silent:!0}),bn.style.fill=null,xe.add(bn)},axisTick:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("axisTick"),Dt=(At.get("inside")?-1:1)*At.get("length"),Lt=qe[getRadiusIdx(Ie)],jt=map$1(Fe,function(hn){return new Line$1({shape:getAxisLineShape(Ie,[Lt,Lt+Dt],hn.coord)})});xe.add(mergePath(jt,{style:defaults(At.getModel("lineStyle").getLineStyle(),{stroke:$e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(xe,$e,Ie,Fe,Ue,qe){if(Ue.length){for(var At=$e.getModel("axisTick"),Dt=$e.getModel("minorTick"),Lt=(At.get("inside")?-1:1)*Dt.get("length"),jt=qe[getRadiusIdx(Ie)],hn=[],vn=0;vnSn?"left":"right",Tn=Math.abs(Cn[1]-xn)/kn<.3?"middle":Cn[1]>xn?"top":"bottom";if(Dt&&Dt[wn]){var An=Dt[wn];isObject$3(An)&&An.textStyle&&(_n=new Model(An.textStyle,Lt,Lt.ecModel))}var $n=new ZRText({silent:AxisBuilder.isLabelSilent($e),style:createTextStyle(_n,{x:Cn[0],y:Cn[1],fill:_n.getTextColor()||$e.get(["axisLine","lineStyle","color"]),text:vn.formattedLabel,align:En,verticalAlign:Tn})});if(xe.add($n),hn){var Pn=AxisBuilder.makeAxisEventDataBase($e);Pn.targetType="axisLabel",Pn.value=vn.rawLabel,getECData($n).eventData=Pn}},this)},splitLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("splitLine"),Dt=At.getModel("lineStyle"),Lt=Dt.get("color"),jt=0;Lt=Lt instanceof Array?Lt:[Lt];for(var hn=[],vn=0;vn=0?"p":"n",Bn=Pn;An&&(Fe[hn][On]||(Fe[hn][On]={p:Pn,n:Pn}),Bn=Fe[hn][On][Rn]);var Vn=void 0,Ln=void 0,Dn=void 0,Hn=void 0;if(wn.dim==="radius"){var Fn=wn.dataToCoord(In)-Pn,zn=Lt.dataToCoord(On);Math.abs(Fn)=Hn})}}})}function calRadialBar(xe){var $e={};each$f(xe,function(Fe,Ue){var qe=Fe.getData(),At=Fe.coordinateSystem,Dt=At.getBaseAxis(),Lt=getAxisKey(At,Dt),jt=Dt.getExtent(),hn=Dt.type==="category"?Dt.getBandWidth():Math.abs(jt[1]-jt[0])/qe.count(),vn=$e[Lt]||{bandWidth:hn,remainedWidth:hn,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},bn=vn.stacks;$e[Lt]=vn;var _n=getSeriesStackId(Fe);bn[_n]||vn.autoWidthCount++,bn[_n]=bn[_n]||{width:0,maxWidth:0};var wn=parsePercent(Fe.get("barWidth"),hn),kn=parsePercent(Fe.get("barMaxWidth"),hn),Cn=Fe.get("barGap"),Sn=Fe.get("barCategoryGap");wn&&!bn[_n].width&&(wn=Math.min(vn.remainedWidth,wn),bn[_n].width=wn,vn.remainedWidth-=wn),kn&&(bn[_n].maxWidth=kn),Cn!=null&&(vn.gap=Cn),Sn!=null&&(vn.categoryGap=Sn)});var Ie={};return each$f($e,function(Fe,Ue){Ie[Ue]={};var qe=Fe.stacks,At=Fe.bandWidth,Dt=parsePercent(Fe.categoryGap,At),Lt=parsePercent(Fe.gap,1),jt=Fe.remainedWidth,hn=Fe.autoWidthCount,vn=(jt-Dt)/(hn+(hn-1)*Lt);vn=Math.max(vn,0),each$f(qe,function(kn,Cn){var Sn=kn.maxWidth;Sn&&Sn=Ie.y&&$e[1]<=Ie.y+Ie.height:Fe.contain(Fe.toLocalCoord($e[1]))&&$e[0]>=Ie.y&&$e[0]<=Ie.y+Ie.height},xe.prototype.pointToData=function($e){var Ie=this.getAxis();return[Ie.coordToData(Ie.toLocalCoord($e[Ie.orient==="horizontal"?0:1]))]},xe.prototype.dataToPoint=function($e){var Ie=this.getAxis(),Fe=this.getRect(),Ue=[],qe=Ie.orient==="horizontal"?0:1;return $e instanceof Array&&($e=$e[0]),Ue[qe]=Ie.toGlobalCoord(Ie.dataToCoord(+$e)),Ue[1-qe]=qe===0?Fe.y+Fe.height/2:Fe.x+Fe.width/2,Ue},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys$1(Ie);return Ue===this?this.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys$1(Ie);return Ue===this?this.pointToData(Fe):null},xe}();function getCoordSys$1(xe){var $e=xe.seriesModel,Ie=xe.singleAxisModel;return Ie&&Ie.coordinateSystem||$e&&$e.coordinateSystem}function create(xe,$e){var Ie=[];return xe.eachComponent("singleAxis",function(Fe,Ue){var qe=new Single(Fe,xe,$e);qe.name="single_"+Ue,qe.resize(Fe,$e),Fe.coordinateSystem=qe,Ie.push(qe)}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="singleAxis"){var Ue=Fe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue&&Ue.coordinateSystem}}),Ie}var singleCreator={create,dimensions:singleDimensions},XY$1=["x","y"],WH$1=["width","height"],SingleAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis,Lt=Dt.coordinateSystem,jt=getGlobalExtent(Lt,1-getPointDimIndex(Dt)),hn=Lt.dataToPoint(Fe)[0],vn=qe.get("type");if(vn&&vn!=="none"){var bn=buildElStyle(qe),_n=pointerShapeBuilder[vn](Dt,hn,jt);_n.style=bn,Ie.graphicKey=_n.type,Ie.pointer=_n}var wn=layout$1(Ue);buildCartesianSingleLabelElOption(Fe,Ie,wn,Ue,qe,At)},$e.prototype.getHandleTransform=function(Ie,Fe,Ue){var qe=layout$1(Fe,{labelInside:!1});qe.labelMargin=Ue.get(["handle","margin"]);var At=getTransformedPosition(Fe.axis,Ie,qe);return{x:At[0],y:At[1],rotation:qe.rotation+(qe.labelDirection<0?Math.PI:0)}},$e.prototype.updateHandleTransform=function(Ie,Fe,Ue,qe){var At=Ue.axis,Dt=At.coordinateSystem,Lt=getPointDimIndex(At),jt=getGlobalExtent(Dt,Lt),hn=[Ie.x,Ie.y];hn[Lt]+=Fe[Lt],hn[Lt]=Math.min(jt[1],hn[Lt]),hn[Lt]=Math.max(jt[0],hn[Lt]);var vn=getGlobalExtent(Dt,1-Lt),bn=(vn[1]+vn[0])/2,_n=[bn,bn];return _n[Lt]=hn[Lt],{x:hn[0],y:hn[1],rotation:Ie.rotation,cursorPoint:_n,tooltipOption:{verticalAlign:"middle"}}},$e}(BaseAxisPointer),pointerShapeBuilder={line:function(xe,$e,Ie){var Fe=makeLineShape([$e,Ie[0]],[$e,Ie[1]],getPointDimIndex(xe));return{type:"Line",subPixelOptimize:!0,shape:Fe}},shadow:function(xe,$e,Ie){var Fe=xe.getBandWidth(),Ue=Ie[1]-Ie[0];return{type:"Rect",shape:makeRectShape([$e-Fe/2,Ie[0]],[Fe,Ue],getPointDimIndex(xe))}}};function getPointDimIndex(xe){return xe.isHorizontal()?0:1}function getGlobalExtent(xe,$e){var Ie=xe.getRect();return[Ie[XY$1[$e]],Ie[XY$1[$e]]+Ie[WH$1[$e]]]}var SingleView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="single",$e}(ComponentView);function install$o(xe){use(install$r),AxisView.registerAxisPointerClass("SingleAxisPointer",SingleAxisPointer),xe.registerComponentView(SingleView),xe.registerComponentView(SingleAxisView),xe.registerComponentModel(SingleAxisModel),axisModelCreator(xe,"single",SingleAxisModel,SingleAxisModel.defaultOption),xe.registerCoordinateSystem("single",singleCreator)}var CalendarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=getLayoutParams(Ie);xe.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams$1(Ie,qe)},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams$1(this.option,Ie)},$e.prototype.getCellSize=function(){return this.option.cellSize},$e.type="calendar",$e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},$e}(ComponentModel);function mergeAndNormalizeLayoutParams$1(xe,$e){var Ie=xe.cellSize,Fe;isArray$1(Ie)?Fe=Ie:Fe=xe.cellSize=[Ie,Ie],Fe.length===1&&(Fe[1]=Fe[0]);var Ue=map$1([0,1],function(qe){return sizeCalculable($e,qe)&&(Fe[qe]="auto"),Fe[qe]!=null&&Fe[qe]!=="auto"});mergeLayoutParam(xe,$e,{type:"box",ignoreSize:Ue})}var CalendarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group;qe.removeAll();var At=Ie.coordinateSystem,Dt=At.getRangeInfo(),Lt=At.getOrient(),jt=Fe.getLocaleModel();this._renderDayRect(Ie,Dt,qe),this._renderLines(Ie,Dt,Lt,qe),this._renderYearText(Ie,Dt,Lt,qe),this._renderMonthText(Ie,jt,Lt,qe),this._renderWeekText(Ie,jt,Dt,Lt,qe)},$e.prototype._renderDayRect=function(Ie,Fe,Ue){for(var qe=Ie.coordinateSystem,At=Ie.getModel("itemStyle").getItemStyle(),Dt=qe.getCellWidth(),Lt=qe.getCellHeight(),jt=Fe.start.time;jt<=Fe.end.time;jt=qe.getNextNDay(jt,1).time){var hn=qe.dataToRect([jt],!1).tl,vn=new Rect$2({shape:{x:hn[0],y:hn[1],width:Dt,height:Lt},cursor:"default",style:At});Ue.add(vn)}},$e.prototype._renderLines=function(Ie,Fe,Ue,qe){var At=this,Dt=Ie.coordinateSystem,Lt=Ie.getModel(["splitLine","lineStyle"]).getLineStyle(),jt=Ie.get(["splitLine","show"]),hn=Lt.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var vn=Fe.start,bn=0;vn.time<=Fe.end.time;bn++){wn(vn.formatedDate),bn===0&&(vn=Dt.getDateInfo(Fe.start.y+"-"+Fe.start.m));var _n=vn.date;_n.setMonth(_n.getMonth()+1),vn=Dt.getDateInfo(_n)}wn(Dt.getNextNDay(Fe.end.time,1).formatedDate);function wn(kn){At._firstDayOfMonth.push(Dt.getDateInfo(kn)),At._firstDayPoints.push(Dt.dataToRect([kn],!1).tl);var Cn=At._getLinePointsOfOneWeek(Ie,kn,Ue);At._tlpoints.push(Cn[0]),At._blpoints.push(Cn[Cn.length-1]),jt&&At._drawSplitline(Cn,Lt,qe)}jt&&this._drawSplitline(At._getEdgesPoints(At._tlpoints,hn,Ue),Lt,qe),jt&&this._drawSplitline(At._getEdgesPoints(At._blpoints,hn,Ue),Lt,qe)},$e.prototype._getEdgesPoints=function(Ie,Fe,Ue){var qe=[Ie[0].slice(),Ie[Ie.length-1].slice()],At=Ue==="horizontal"?0:1;return qe[0][At]=qe[0][At]-Fe/2,qe[1][At]=qe[1][At]+Fe/2,qe},$e.prototype._drawSplitline=function(Ie,Fe,Ue){var qe=new Polyline$1({z2:20,shape:{points:Ie},style:Fe});Ue.add(qe)},$e.prototype._getLinePointsOfOneWeek=function(Ie,Fe,Ue){for(var qe=Ie.coordinateSystem,At=qe.getDateInfo(Fe),Dt=[],Lt=0;Lt<7;Lt++){var jt=qe.getNextNDay(At.time,Lt),hn=qe.dataToRect([jt.time],!1);Dt[2*jt.day]=hn.tl,Dt[2*jt.day+1]=hn[Ue==="horizontal"?"bl":"tr"]}return Dt},$e.prototype._formatterLabel=function(Ie,Fe){return isString(Ie)&&Ie?formatTplSimple(Ie,Fe):isFunction(Ie)?Ie(Fe):Fe.nameMap},$e.prototype._yearTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt=Fe[0],Lt=Fe[1],jt=["center","bottom"];qe==="bottom"?(Lt+=At,jt=["center","top"]):qe==="left"?Dt-=At:qe==="right"?(Dt+=At,jt=["center","top"]):Lt-=At;var hn=0;return(qe==="left"||qe==="right")&&(hn=Math.PI/2),{rotation:hn,x:Dt,y:Lt,style:{align:jt[0],verticalAlign:jt[1]}}},$e.prototype._renderYearText=function(Ie,Fe,Ue,qe){var At=Ie.getModel("yearLabel");if(At.get("show")){var Dt=At.get("margin"),Lt=At.get("position");Lt||(Lt=Ue!=="horizontal"?"top":"left");var jt=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],hn=(jt[0][0]+jt[1][0])/2,vn=(jt[0][1]+jt[1][1])/2,bn=Ue==="horizontal"?0:1,_n={top:[hn,jt[bn][1]],bottom:[hn,jt[1-bn][1]],left:[jt[1-bn][0],vn],right:[jt[bn][0],vn]},wn=Fe.start.y;+Fe.end.y>+Fe.start.y&&(wn=wn+"-"+Fe.end.y);var kn=At.get("formatter"),Cn={start:Fe.start.y,end:Fe.end.y,nameMap:wn},Sn=this._formatterLabel(kn,Cn),xn=new ZRText({z2:30,style:createTextStyle(At,{text:Sn})});xn.attr(this._yearTextPositionControl(xn,_n[Lt],Ue,Lt,Dt)),qe.add(xn)}},$e.prototype._monthTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt="left",Lt="top",jt=Ie[0],hn=Ie[1];return Ue==="horizontal"?(hn=hn+At,Fe&&(Dt="center"),qe==="start"&&(Lt="bottom")):(jt=jt+At,Fe&&(Lt="middle"),qe==="start"&&(Dt="right")),{x:jt,y:hn,align:Dt,verticalAlign:Lt}},$e.prototype._renderMonthText=function(Ie,Fe,Ue,qe){var At=Ie.getModel("monthLabel");if(At.get("show")){var Dt=At.get("nameMap"),Lt=At.get("margin"),jt=At.get("position"),hn=At.get("align"),vn=[this._tlpoints,this._blpoints];(!Dt||isString(Dt))&&(Dt&&(Fe=getLocaleModel(Dt)||Fe),Dt=Fe.get(["time","monthAbbr"])||[]);var bn=jt==="start"?0:1,_n=Ue==="horizontal"?0:1;Lt=jt==="start"?-Lt:Lt;for(var wn=hn==="center",kn=0;kn=Ue.start.time&&Fe.timeDt.end.time&&Ie.reverse(),Ie},xe.prototype._getRangeInfo=function($e){var Ie=[this.getDateInfo($e[0]),this.getDateInfo($e[1])],Fe;Ie[0].time>Ie[1].time&&(Fe=!0,Ie.reverse());var Ue=Math.floor(Ie[1].time/PROXIMATE_ONE_DAY)-Math.floor(Ie[0].time/PROXIMATE_ONE_DAY)+1,qe=new Date(Ie[0].time),At=qe.getDate(),Dt=Ie[1].date.getDate();qe.setDate(At+Ue-1);var Lt=qe.getDate();if(Lt!==Dt)for(var jt=qe.getTime()-Ie[1].time>0?1:-1;(Lt=qe.getDate())!==Dt&&(qe.getTime()-Ie[1].time)*jt>0;)Ue-=jt,qe.setDate(Lt-jt);var hn=Math.floor((Ue+Ie[0].day+6)/7),vn=Fe?-hn+1:hn-1;return Fe&&Ie.reverse(),{range:[Ie[0].formatedDate,Ie[1].formatedDate],start:Ie[0],end:Ie[1],allDay:Ue,weeks:hn,nthWeek:vn,fweek:Ie[0].day,lweek:Ie[1].day}},xe.prototype._getDateByWeeksAndDay=function($e,Ie,Fe){var Ue=this._getRangeInfo(Fe);if($e>Ue.weeks||$e===0&&IeUe.lweek)return null;var qe=($e-1)*7-Ue.fweek+Ie,At=new Date(Ue.start.time);return At.setDate(+Ue.start.d+qe),this.getDateInfo(At)},xe.create=function($e,Ie){var Fe=[];return $e.eachComponent("calendar",function(Ue){var qe=new xe(Ue);Fe.push(qe),Ue.coordinateSystem=qe}),$e.eachSeries(function(Ue){Ue.get("coordinateSystem")==="calendar"&&(Ue.coordinateSystem=Fe[Ue.get("calendarIndex")||0])}),Fe},xe.dimensions=["time","value"],xe}();function getCoordSys(xe){var $e=xe.calendarModel,Ie=xe.seriesModel,Fe=$e?$e.coordinateSystem:Ie?Ie.coordinateSystem:null;return Fe}function install$n(xe){xe.registerComponentModel(CalendarModel),xe.registerComponentView(CalendarView),xe.registerCoordinateSystem("calendar",Calendar)}function setKeyInfoToNewElOption(xe,$e){var Ie=xe.existing;if($e.id=xe.keyInfo.id,!$e.type&&Ie&&($e.type=Ie.type),$e.parentId==null){var Fe=$e.parentOption;Fe?$e.parentId=Fe.id:Ie&&($e.parentId=Ie.parentId)}$e.parentOption=null}function isSetLoc(xe,$e){var Ie;return each$f($e,function(Fe){xe[Fe]!=null&&xe[Fe]!=="auto"&&(Ie=!0)}),Ie}function mergeNewElOptionToExist(xe,$e,Ie){var Fe=extend({},Ie),Ue=xe[$e],qe=Ie.$action||"merge";qe==="merge"?Ue?(merge(Ue,Fe,!0),mergeLayoutParam(Ue,Fe,{ignoreSize:!0}),copyLayoutParams(Ie,Ue),copyTransitionInfo(Ie,Ue),copyTransitionInfo(Ie,Ue,"shape"),copyTransitionInfo(Ie,Ue,"style"),copyTransitionInfo(Ie,Ue,"extra"),Ie.clipPath=Ue.clipPath):xe[$e]=Fe:qe==="replace"?xe[$e]=Fe:qe==="remove"&&Ue&&(xe[$e]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(xe,$e,Ie){if(Ie&&(!xe[Ie]&&$e[Ie]&&(xe[Ie]={}),xe=xe[Ie],$e=$e[Ie]),!(!xe||!$e))for(var Fe=Ie?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,Ue=0;Ue=0;hn--){var vn=Ue[hn],bn=convertOptionIdName(vn.id,null),_n=bn!=null?At.get(bn):null;if(_n){var wn=_n.parent,Sn=inner$7(wn),xn=wn===qe?{width:Dt,height:Lt}:{width:Sn.width,height:Sn.height},En={},Tn=positionElement(_n,vn,xn,null,{hv:vn.hv,boundingMode:vn.bounding},En);if(!inner$7(_n).isNew&&Tn){for(var An=vn.transition,$n={},Pn=0;Pn=0)?$n[Nn]=Mn:_n[Nn]=Mn}updateProps$1(_n,$n,Ie,0)}else _n.attr(En)}}},$e.prototype._clear=function(){var Ie=this,Fe=this._elMap;Fe.each(function(Ue){removeEl$1(Ue,inner$7(Ue).option,Fe,Ie._lastGraphicModel)}),this._elMap=createHashMap()},$e.prototype.dispose=function(){this._clear()},$e.type="graphic",$e}(ComponentView);function newEl(xe){var $e=hasOwn(nonShapeGraphicElements,xe)?nonShapeGraphicElements[xe]:getShapeClass(xe),Ie=new $e({});return inner$7(Ie).type=xe,Ie}function createEl(xe,$e,Ie,Fe){var Ue=newEl(Ie);return $e.add(Ue),Fe.set(xe,Ue),inner$7(Ue).id=xe,inner$7(Ue).isNew=!0,Ue}function removeEl$1(xe,$e,Ie,Fe){var Ue=xe&&xe.parent;Ue&&(xe.type==="group"&&xe.traverse(function(qe){removeEl$1(qe,$e,Ie,Fe)}),applyLeaveTransition(xe,$e,Fe),Ie.removeKey(inner$7(xe).id))}function updateCommonAttrs(xe,$e,Ie,Fe){xe.isGroup||each$f([["cursor",Displayable.prototype.cursor],["zlevel",Fe||0],["z",Ie||0],["z2",0]],function(Ue){var qe=Ue[0];hasOwn($e,qe)?xe[qe]=retrieve2($e[qe],Ue[1]):xe[qe]==null&&(xe[qe]=Ue[1])}),each$f(keys($e),function(Ue){if(Ue.indexOf("on")===0){var qe=$e[Ue];xe[Ue]=isFunction(qe)?qe:null}}),hasOwn($e,"draggable")&&(xe.draggable=$e.draggable),$e.name!=null&&(xe.name=$e.name),$e.id!=null&&(xe.id=$e.id)}function getCleanedElOption(xe){return xe=extend({},xe),each$f(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function($e){delete xe[$e]}),xe}function setEventData(xe,$e,Ie){var Fe=getECData(xe).eventData;!xe.silent&&!xe.ignore&&!Fe&&(Fe=getECData(xe).eventData={componentType:"graphic",componentIndex:$e.componentIndex,name:xe.name}),Fe&&(Fe.info=Ie.info)}function install$m(xe){xe.registerComponentModel(GraphicComponentModel),xe.registerComponentView(GraphicComponentView),xe.registerPreprocessor(function($e){var Ie=$e.graphic;isArray$1(Ie)?!Ie[0]||!Ie[0].elements?$e.graphic=[{elements:Ie}]:$e.graphic=[$e.graphic[0]]:Ie&&!Ie.elements&&($e.graphic=[{elements:[Ie]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(xe){var $e=xe.get("coordinateSystem");return indexOf(SERIES_COORDS,$e)>=0}function getAxisMainType(xe){return xe+"Axis"}function findEffectedDataZooms(xe,$e){var Ie=createHashMap(),Fe=[],Ue=createHashMap();xe.eachComponent({mainType:"dataZoom",query:$e},function(hn){Ue.get(hn.uid)||Dt(hn)});var qe;do qe=!1,xe.eachComponent("dataZoom",At);while(qe);function At(hn){!Ue.get(hn.uid)&&Lt(hn)&&(Dt(hn),qe=!0)}function Dt(hn){Ue.set(hn.uid,!0),Fe.push(hn),jt(hn)}function Lt(hn){var vn=!1;return hn.eachTargetAxis(function(bn,_n){var wn=Ie.get(bn);wn&&wn[_n]&&(vn=!0)}),vn}function jt(hn){hn.eachTargetAxis(function(vn,bn){(Ie.get(vn)||Ie.set(vn,[]))[bn]=!0})}return Fe}function collectReferCoordSysModelInfo(xe){var $e=xe.ecModel,Ie={infoList:[],infoMap:createHashMap()};return xe.eachTargetAxis(function(Fe,Ue){var qe=$e.getComponent(getAxisMainType(Fe),Ue);if(qe){var At=qe.getCoordSysModel();if(At){var Dt=At.uid,Lt=Ie.infoMap.get(Dt);Lt||(Lt={model:At,axisModels:[]},Ie.infoList.push(Lt),Ie.infoMap.set(Dt,Lt)),Lt.axisModels.push(qe)}}}),Ie}var DataZoomAxisInfo=function(){function xe(){this.indexList=[],this.indexMap=[]}return xe.prototype.add=function($e){this.indexMap[$e]||(this.indexList.push($e),this.indexMap[$e]=!0)},xe}(),DataZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._autoThrottle=!0,Ie._noTarget=!0,Ie._rangePropMode=["percent","percent"],Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=retrieveRawOption(Ie);this.settledOption=qe,this.mergeDefaultAndTheme(Ie,Ue),this._doInit(qe)},$e.prototype.mergeOption=function(Ie){var Fe=retrieveRawOption(Ie);merge(this.option,Ie,!0),merge(this.settledOption,Fe,!0),this._doInit(Fe)},$e.prototype._doInit=function(Ie){var Fe=this.option;this._setDefaultThrottle(Ie),this._updateRangeUse(Ie);var Ue=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(qe,At){this._rangePropMode[At]==="value"&&(Fe[qe[0]]=Ue[qe[0]]=null)},this),this._resetTarget()},$e.prototype._resetTarget=function(){var Ie=this.get("orient",!0),Fe=this._targetAxisInfoMap=createHashMap(),Ue=this._fillSpecifiedTargetAxis(Fe);Ue?this._orient=Ie||this._makeAutoOrientByTargetAxis():(this._orient=Ie||"horizontal",this._fillAutoTargetAxisByOrient(Fe,this._orient)),this._noTarget=!0,Fe.each(function(qe){qe.indexList.length&&(this._noTarget=!1)},this)},$e.prototype._fillSpecifiedTargetAxis=function(Ie){var Fe=!1;return each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(Ue){var qe=this.getReferringComponents(getAxisMainType(Ue),MULTIPLE_REFERRING);if(qe.specified){Fe=!0;var At=new DataZoomAxisInfo;each$f(qe.models,function(Dt){At.add(Dt.componentIndex)}),Ie.set(Ue,At)}},this),Fe},$e.prototype._fillAutoTargetAxisByOrient=function(Ie,Fe){var Ue=this.ecModel,qe=!0;if(qe){var At=Fe==="vertical"?"y":"x",Dt=Ue.findComponents({mainType:At+"Axis"});Lt(Dt,At)}if(qe){var Dt=Ue.findComponents({mainType:"singleAxis",filter:function(hn){return hn.get("orient",!0)===Fe}});Lt(Dt,"single")}function Lt(jt,hn){var vn=jt[0];if(vn){var bn=new DataZoomAxisInfo;if(bn.add(vn.componentIndex),Ie.set(hn,bn),qe=!1,hn==="x"||hn==="y"){var _n=vn.getReferringComponents("grid",SINGLE_REFERRING).models[0];_n&&each$f(jt,function(wn){vn.componentIndex!==wn.componentIndex&&_n===wn.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&bn.add(wn.componentIndex)})}}}qe&&each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(jt){if(qe){var hn=Ue.findComponents({mainType:getAxisMainType(jt),filter:function(bn){return bn.get("type",!0)==="category"}});if(hn[0]){var vn=new DataZoomAxisInfo;vn.add(hn[0].componentIndex),Ie.set(jt,vn),qe=!1}}},this)},$e.prototype._makeAutoOrientByTargetAxis=function(){var Ie;return this.eachTargetAxis(function(Fe){!Ie&&(Ie=Fe)},this),Ie==="y"?"vertical":"horizontal"},$e.prototype._setDefaultThrottle=function(Ie){if(Ie.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var Fe=this.ecModel.option;this.option.throttle=Fe.animation&&Fe.animationDurationUpdate>0?100:20}},$e.prototype._updateRangeUse=function(Ie){var Fe=this._rangePropMode,Ue=this.get("rangeMode");each$f([["start","startValue"],["end","endValue"]],function(qe,At){var Dt=Ie[qe[0]]!=null,Lt=Ie[qe[1]]!=null;Dt&&!Lt?Fe[At]="percent":!Dt&&Lt?Fe[At]="value":Ue?Fe[At]=Ue[At]:Dt&&(Fe[At]="percent")})},$e.prototype.noTarget=function(){return this._noTarget},$e.prototype.getFirstTargetAxisModel=function(){var Ie;return this.eachTargetAxis(function(Fe,Ue){Ie==null&&(Ie=this.ecModel.getComponent(getAxisMainType(Fe),Ue))},this),Ie},$e.prototype.eachTargetAxis=function(Ie,Fe){this._targetAxisInfoMap.each(function(Ue,qe){each$f(Ue.indexList,function(At){Ie.call(Fe,qe,At)})})},$e.prototype.getAxisProxy=function(Ie,Fe){var Ue=this.getAxisModel(Ie,Fe);if(Ue)return Ue.__dzAxisProxy},$e.prototype.getAxisModel=function(Ie,Fe){var Ue=this._targetAxisInfoMap.get(Ie);if(Ue&&Ue.indexMap[Fe])return this.ecModel.getComponent(getAxisMainType(Ie),Fe)},$e.prototype.setRawRange=function(Ie){var Fe=this.option,Ue=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(qe){(Ie[qe[0]]!=null||Ie[qe[1]]!=null)&&(Fe[qe[0]]=Ue[qe[0]]=Ie[qe[0]],Fe[qe[1]]=Ue[qe[1]]=Ie[qe[1]])},this),this._updateRangeUse(Ie)},$e.prototype.setCalculatedRange=function(Ie){var Fe=this.option;each$f(["start","startValue","end","endValue"],function(Ue){Fe[Ue]=Ie[Ue]})},$e.prototype.getPercentRange=function(){var Ie=this.findRepresentativeAxisProxy();if(Ie)return Ie.getDataPercentWindow()},$e.prototype.getValueRange=function(Ie,Fe){if(Ie==null&&Fe==null){var Ue=this.findRepresentativeAxisProxy();if(Ue)return Ue.getDataValueWindow()}else return this.getAxisProxy(Ie,Fe).getDataValueWindow()},$e.prototype.findRepresentativeAxisProxy=function(Ie){if(Ie)return Ie.__dzAxisProxy;for(var Fe,Ue=this._targetAxisInfoMap.keys(),qe=0;qeAt[1];if(En&&!Tn&&!An)return!0;En&&(Cn=!0),Tn&&(wn=!0),An&&(kn=!0)}return Cn&&wn&&kn})}else each$7(hn,function(_n){if(qe==="empty")Lt.setData(jt=jt.map(_n,function(kn){return Dt(kn)?kn:NaN}));else{var wn={};wn[_n]=At,jt.selectRange(wn)}});each$7(hn,function(_n){jt.setApproximateExtent(At,_n)})}});function Dt(Lt){return Lt>=At[0]&&Lt<=At[1]}},xe.prototype._updateMinMaxSpan=function(){var $e=this._minMaxSpan={},Ie=this._dataZoomModel,Fe=this._dataExtent;each$7(["min","max"],function(Ue){var qe=Ie.get(Ue+"Span"),At=Ie.get(Ue+"ValueSpan");At!=null&&(At=this.getAxisModel().axis.scale.parse(At)),At!=null?qe=linearMap$2(Fe[0]+At,Fe,[0,100],!0):qe!=null&&(At=linearMap$2(qe,[0,100],Fe,!0)-Fe[0]),$e[Ue+"Span"]=qe,$e[Ue+"ValueSpan"]=At},this)},xe.prototype._setAxisModel=function(){var $e=this.getAxisModel(),Ie=this._percentWindow,Fe=this._valueWindow;if(Ie){var Ue=getPixelPrecision(Fe,[0,500]);Ue=Math.min(Ue,20);var qe=$e.axis.scale.rawExtentInfo;Ie[0]!==0&&qe.setDeterminedMinMax("min",+Fe[0].toFixed(Ue)),Ie[1]!==100&&qe.setDeterminedMinMax("max",+Fe[1].toFixed(Ue)),qe.freeze()}},xe}();function calculateDataExtent(xe,$e,Ie){var Fe=[1/0,-1/0];each$7(Ie,function(At){unionAxisExtentFromData(Fe,At.getData(),$e)});var Ue=xe.getAxisModel(),qe=ensureScaleRawExtentInfo(Ue.axis.scale,Ue,Fe).calculate();return[qe.min,qe.max]}var dataZoomProcessor={getTargetSeries:function(xe){function $e(Ue){xe.eachComponent("dataZoom",function(qe){qe.eachTargetAxis(function(At,Dt){var Lt=xe.getComponent(getAxisMainType(At),Dt);Ue(At,Dt,Lt,qe)})})}$e(function(Ue,qe,At,Dt){At.__dzAxisProxy=null});var Ie=[];$e(function(Ue,qe,At,Dt){At.__dzAxisProxy||(At.__dzAxisProxy=new AxisProxy(Ue,qe,Dt,xe),Ie.push(At.__dzAxisProxy))});var Fe=createHashMap();return each$f(Ie,function(Ue){each$f(Ue.getTargetSeriesModels(),function(qe){Fe.set(qe.uid,qe)})}),Fe},overallReset:function(xe,$e){xe.eachComponent("dataZoom",function(Ie){Ie.eachTargetAxis(function(Fe,Ue){Ie.getAxisProxy(Fe,Ue).reset(Ie)}),Ie.eachTargetAxis(function(Fe,Ue){Ie.getAxisProxy(Fe,Ue).filterData(Ie,$e)})}),xe.eachComponent("dataZoom",function(Ie){var Fe=Ie.findRepresentativeAxisProxy();if(Fe){var Ue=Fe.getDataPercentWindow(),qe=Fe.getDataValueWindow();Ie.setCalculatedRange({start:Ue[0],end:Ue[1],startValue:qe[0],endValue:qe[1]})}})}};function installDataZoomAction(xe){xe.registerAction("dataZoom",function($e,Ie){var Fe=findEffectedDataZooms(Ie,$e);each$f(Fe,function(Ue){Ue.setRawRange({start:$e.start,end:$e.end,startValue:$e.startValue,endValue:$e.endValue})})})}var installed$1=!1;function installCommon$1(xe){installed$1||(installed$1=!0,xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor),installDataZoomAction(xe),xe.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$l(xe){xe.registerComponentModel(SelectDataZoomModel),xe.registerComponentView(SelectDataZoomView),installCommon$1(xe)}var ToolboxFeature=function(){function xe(){}return xe}(),features={};function registerFeature(xe,$e){features[xe]=$e}function getFeature(xe){return features[xe]}var ToolboxModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){xe.prototype.optionUpdated.apply(this,arguments);var Ie=this.ecModel;each$f(this.option.feature,function(Fe,Ue){var qe=getFeature(Ue);qe&&(qe.getDefaultOption&&(qe.defaultOption=qe.getDefaultOption(Ie)),merge(Fe,qe.defaultOption))})},$e.type="toolbox",$e.layoutMode={type:"box",ignoreSize:!0},$e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},$e}(ComponentModel);function layout(xe,$e,Ie){var Fe=$e.getBoxLayoutParams(),Ue=$e.get("padding"),qe={width:Ie.getWidth(),height:Ie.getHeight()},At=getLayoutRect(Fe,qe,Ue);box($e.get("orient"),xe,$e.get("itemGap"),At.width,At.height),positionElement(xe,Fe,qe,Ue)}function makeBackground(xe,$e){var Ie=normalizeCssArray($e.get("padding")),Fe=$e.getItemStyle(["color","opacity"]);return Fe.fill=$e.get("backgroundColor"),xe=new Rect$2({shape:{x:xe.x-Ie[3],y:xe.y-Ie[0],width:xe.width+Ie[1]+Ie[3],height:xe.height+Ie[0]+Ie[2],r:$e.get("borderRadius")},style:Fe,silent:!0,z2:-1}),xe}var ToolboxView=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue,qe){var At=this.group;if(At.removeAll(),!Ie.get("show"))return;var Dt=+Ie.get("itemSize"),Lt=Ie.get("orient")==="vertical",jt=Ie.get("feature")||{},hn=this._features||(this._features={}),vn=[];each$f(jt,function(wn,kn){vn.push(kn)}),new DataDiffer(this._featureNames||[],vn).add(bn).update(bn).remove(curry$1(bn,null)).execute(),this._featureNames=vn;function bn(wn,kn){var Cn=vn[wn],Sn=vn[kn],xn=jt[Cn],En=new Model(xn,Ie,Ie.ecModel),Tn;if(qe&&qe.newTitle!=null&&qe.featureName===Cn&&(xn.title=qe.newTitle),Cn&&!Sn){if(isUserFeatureName(Cn))Tn={onclick:En.option.onclick,featureName:Cn};else{var An=getFeature(Cn);if(!An)return;Tn=new An}hn[Cn]=Tn}else if(Tn=hn[Sn],!Tn)return;Tn.uid=getUID("toolbox-feature"),Tn.model=En,Tn.ecModel=Fe,Tn.api=Ue;var $n=Tn instanceof ToolboxFeature;if(!Cn&&Sn){$n&&Tn.dispose&&Tn.dispose(Fe,Ue);return}if(!En.get("show")||$n&&Tn.unusable){$n&&Tn.remove&&Tn.remove(Fe,Ue);return}_n(En,Tn,Cn),En.setIconStatus=function(Pn,Nn){var Mn=this.option,In=this.iconPaths;Mn.iconStatus=Mn.iconStatus||{},Mn.iconStatus[Pn]=Nn,In[Pn]&&(Nn==="emphasis"?enterEmphasis:leaveEmphasis)(In[Pn])},Tn instanceof ToolboxFeature&&Tn.render&&Tn.render(En,Fe,Ue,qe)}function _n(wn,kn,Cn){var Sn=wn.getModel("iconStyle"),xn=wn.getModel(["emphasis","iconStyle"]),En=kn instanceof ToolboxFeature&&kn.getIcons?kn.getIcons():wn.get("icon"),Tn=wn.get("title")||{},An,$n;isString(En)?(An={},An[Cn]=En):An=En,isString(Tn)?($n={},$n[Cn]=Tn):$n=Tn;var Pn=wn.iconPaths={};each$f(An,function(Nn,Mn){var In=createIcon(Nn,{},{x:-Dt/2,y:-Dt/2,width:Dt,height:Dt});In.setStyle(Sn.getItemStyle());var On=In.ensureState("emphasis");On.style=xn.getItemStyle();var Rn=new ZRText({style:{text:$n[Mn],align:xn.get("textAlign"),borderRadius:xn.get("textBorderRadius"),padding:xn.get("textPadding"),fill:null,font:getFont({fontStyle:xn.get("textFontStyle"),fontFamily:xn.get("textFontFamily"),fontSize:xn.get("textFontSize"),fontWeight:xn.get("textFontWeight")},Fe)},ignore:!0});In.setTextContent(Rn),setTooltipConfig({el:In,componentModel:Ie,itemName:Mn,formatterParamsExtra:{title:$n[Mn]}}),In.__title=$n[Mn],In.on("mouseover",function(){var Bn=xn.getItemStyle(),Vn=Lt?Ie.get("right")==null&&Ie.get("left")!=="right"?"right":"left":Ie.get("bottom")==null&&Ie.get("top")!=="bottom"?"bottom":"top";Rn.setStyle({fill:xn.get("textFill")||Bn.fill||Bn.stroke||"#000",backgroundColor:xn.get("textBackgroundColor")}),In.setTextConfig({position:xn.get("textPosition")||Vn}),Rn.ignore=!Ie.get("showTitle"),Ue.enterEmphasis(this)}).on("mouseout",function(){wn.get(["iconStatus",Mn])!=="emphasis"&&Ue.leaveEmphasis(this),Rn.hide()}),(wn.get(["iconStatus",Mn])==="emphasis"?enterEmphasis:leaveEmphasis)(In),At.add(In),In.on("click",bind$1(kn.onclick,kn,Fe,Ue,Mn)),Pn[Mn]=In})}layout(At,Ie,Ue),At.add(makeBackground(At.getBoundingRect(),Ie)),Lt||At.eachChild(function(wn){var kn=wn.__title,Cn=wn.ensureState("emphasis"),Sn=Cn.textConfig||(Cn.textConfig={}),xn=wn.getTextContent(),En=xn&&xn.ensureState("emphasis");if(En&&!isFunction(En)&&kn){var Tn=En.style||(En.style={}),An=getBoundingRect(kn,ZRText.makeFont(Tn)),$n=wn.x+At.x,Pn=wn.y+At.y+Dt,Nn=!1;Pn+An.height>Ue.getHeight()&&(Sn.position="top",Nn=!0);var Mn=Nn?-5-An.height:Dt+10;$n+An.width/2>Ue.getWidth()?(Sn.position=["100%",Mn],Tn.align="right"):$n-An.width/2<0&&(Sn.position=[0,Mn],Tn.align="left")}})},$e.prototype.updateView=function(Ie,Fe,Ue,qe){each$f(this._features,function(At){At instanceof ToolboxFeature&&At.updateView&&At.updateView(At.model,Fe,Ue,qe)})},$e.prototype.remove=function(Ie,Fe){each$f(this._features,function(Ue){Ue instanceof ToolboxFeature&&Ue.remove&&Ue.remove(Ie,Fe)}),this.group.removeAll()},$e.prototype.dispose=function(Ie,Fe){each$f(this._features,function(Ue){Ue instanceof ToolboxFeature&&Ue.dispose&&Ue.dispose(Ie,Fe)})},$e.type="toolbox",$e}(ComponentView);function isUserFeatureName(xe){return xe.indexOf("my")===0}var SaveAsImage=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.onclick=function(Ie,Fe){var Ue=this.model,qe=Ue.get("name")||Ie.get("title.0.text")||"echarts",At=Fe.getZr().painter.getType()==="svg",Dt=At?"svg":Ue.get("type",!0)||"png",Lt=Fe.getConnectedDataURL({type:Dt,backgroundColor:Ue.get("backgroundColor",!0)||Ie.get("backgroundColor")||"#fff",connectedBackgroundColor:Ue.get("connectedBackgroundColor"),excludeComponents:Ue.get("excludeComponents"),pixelRatio:Ue.get("pixelRatio")}),jt=env.browser;if(isFunction(MouseEvent)&&(jt.newEdge||!jt.ie&&!jt.edge)){var hn=document.createElement("a");hn.download=qe+"."+Dt,hn.target="_blank",hn.href=Lt;var vn=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});hn.dispatchEvent(vn)}else if(window.navigator.msSaveOrOpenBlob||At){var bn=Lt.split(","),_n=bn[0].indexOf("base64")>-1,wn=At?decodeURIComponent(bn[1]):bn[1];_n&&(wn=window.atob(wn));var kn=qe+"."+Dt;if(window.navigator.msSaveOrOpenBlob){for(var Cn=wn.length,Sn=new Uint8Array(Cn);Cn--;)Sn[Cn]=wn.charCodeAt(Cn);var xn=new Blob([Sn]);window.navigator.msSaveOrOpenBlob(xn,kn)}else{var En=document.createElement("iframe");document.body.appendChild(En);var Tn=En.contentWindow,An=Tn.document;An.open("image/svg+xml","replace"),An.write(wn),An.close(),Tn.focus(),An.execCommand("SaveAs",!0,kn),document.body.removeChild(En)}}else{var $n=Ue.get("lang"),Pn='',Nn=window.open();Nn.document.write(Pn),Nn.document.title=qe}},$e.getDefaultOption=function(Ie){var Fe={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:Ie.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:Ie.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return Fe},$e}(ToolboxFeature),INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getIcons=function(){var Ie=this.model,Fe=Ie.get("icon"),Ue={};return each$f(Ie.get("type"),function(qe){Fe[qe]&&(Ue[qe]=Fe[qe])}),Ue},$e.getDefaultOption=function(Ie){var Fe={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:Ie.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return Fe},$e.prototype.onclick=function(Ie,Fe,Ue){var qe=this.model,At=qe.get(["seriesIndex",Ue]);if(seriesOptGenreator[Ue]){var Dt={series:[]},Lt=function(vn){var bn=vn.subType,_n=vn.id,wn=seriesOptGenreator[Ue](bn,_n,vn,qe);wn&&(defaults(wn,vn.option),Dt.series.push(wn));var kn=vn.coordinateSystem;if(kn&&kn.type==="cartesian2d"&&(Ue==="line"||Ue==="bar")){var Cn=kn.getAxesByScale("ordinal")[0];if(Cn){var Sn=Cn.dim,xn=Sn+"Axis",En=vn.getReferringComponents(xn,SINGLE_REFERRING).models[0],Tn=En.componentIndex;Dt[xn]=Dt[xn]||[];for(var An=0;An<=Tn;An++)Dt[xn][Tn]=Dt[xn][Tn]||{};Dt[xn][Tn].boundaryGap=Ue==="bar"}}};each$f(radioTypes,function(vn){indexOf(vn,Ue)>=0&&each$f(vn,function(bn){qe.setIconStatus(bn,"normal")})}),qe.setIconStatus(Ue,"emphasis"),Ie.eachComponent({mainType:"series",query:At==null?null:{seriesIndex:At}},Lt);var jt,hn=Ue;Ue==="stack"&&(jt=merge({stack:qe.option.title.tiled,tiled:qe.option.title.stack},qe.option.title),qe.get(["iconStatus",Ue])!=="emphasis"&&(hn="tiled")),Fe.dispatchAction({type:"changeMagicType",currentType:hn,newOption:Dt,newTitle:jt,featureName:"magicType"})}},$e}(ToolboxFeature),seriesOptGenreator={line:function(xe,$e,Ie,Fe){if(xe==="bar")return merge({id:$e,type:"line",data:Ie.get("data"),stack:Ie.get("stack"),markPoint:Ie.get("markPoint"),markLine:Ie.get("markLine")},Fe.get(["option","line"])||{},!0)},bar:function(xe,$e,Ie,Fe){if(xe==="line")return merge({id:$e,type:"bar",data:Ie.get("data"),stack:Ie.get("stack"),markPoint:Ie.get("markPoint"),markLine:Ie.get("markLine")},Fe.get(["option","bar"])||{},!0)},stack:function(xe,$e,Ie,Fe){var Ue=Ie.get("stack")===INNER_STACK_KEYWORD;if(xe==="line"||xe==="bar")return Fe.setIconStatus("stack",Ue?"normal":"emphasis"),merge({id:$e,stack:Ue?"":INNER_STACK_KEYWORD},Fe.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(xe,$e){$e.mergeOption(xe.newOption)});var BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER=" ";function groupSeries(xe){var $e={},Ie=[],Fe=[];return xe.eachRawSeries(function(Ue){var qe=Ue.coordinateSystem;if(qe&&(qe.type==="cartesian2d"||qe.type==="polar")){var At=qe.getBaseAxis();if(At.type==="category"){var Dt=At.dim+"_"+At.index;$e[Dt]||($e[Dt]={categoryAxis:At,valueAxis:qe.getOtherAxis(At),series:[]},Fe.push({axisDim:At.dim,axisIndex:At.index})),$e[Dt].series.push(Ue)}else Ie.push(Ue)}else Ie.push(Ue)}),{seriesGroupByCategoryAxis:$e,other:Ie,meta:Fe}}function assembleSeriesWithCategoryAxis(xe){var $e=[];return each$f(xe,function(Ie,Fe){var Ue=Ie.categoryAxis,qe=Ie.valueAxis,At=qe.dim,Dt=[" "].concat(map$1(Ie.series,function(_n){return _n.name})),Lt=[Ue.model.getCategories()];each$f(Ie.series,function(_n){var wn=_n.getRawData();Lt.push(_n.getRawData().mapArray(wn.mapDimension(At),function(kn){return kn}))});for(var jt=[Dt.join(ITEM_SPLITER)],hn=0;hn=0)return!0}var itemSplitRegex=new RegExp("["+ITEM_SPLITER+"]+","g");function parseTSVContents(xe){for(var $e=xe.split(/\n+/g),Ie=trim($e.shift()).split(itemSplitRegex),Fe=[],Ue=map$1(Ie,function(Lt){return{name:Lt,data:[]}}),qe=0;qe<$e.length;qe++){var At=trim($e[qe]).split(itemSplitRegex);Fe.push(At.shift());for(var Dt=0;Dt=0;qe--){var At=Ie[qe];if(At[Ue])break}if(qe<0){var Dt=xe.queryComponents({mainType:"dataZoom",subType:"select",id:Ue})[0];if(Dt){var Lt=Dt.getPercentRange();Ie[0][Ue]={dataZoomId:Ue,start:Lt[0],end:Lt[1]}}}}),Ie.push($e)}function pop(xe){var $e=getStoreSnapshots(xe),Ie=$e[$e.length-1];$e.length>1&&$e.pop();var Fe={};return each$6(Ie,function(Ue,qe){for(var At=$e.length-1;At>=0;At--)if(Ue=$e[At][qe],Ue){Fe[qe]=Ue;break}}),Fe}function clear(xe){inner$6(xe).snapshots=null}function count(xe){return getStoreSnapshots(xe).length}function getStoreSnapshots(xe){var $e=inner$6(xe);return $e.snapshots||($e.snapshots=[{}]),$e.snapshots}var RestoreOption=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.onclick=function(Ie,Fe){clear(Ie),Fe.dispatchAction({type:"restore",from:this.uid})},$e.getDefaultOption=function(Ie){var Fe={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:Ie.getLocaleModel().get(["toolbox","restore","title"])};return Fe},$e}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(xe,$e){$e.resetOption("recreate")});var INCLUDE_FINDER_MAIN_TYPES=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],BrushTargetManager=function(){function xe($e,Ie,Fe){var Ue=this;this._targetInfoList=[];var qe=parseFinder(Ie,$e);each$f(targetInfoBuilders,function(At,Dt){(!Fe||!Fe.include||indexOf(Fe.include,Dt)>=0)&&At(qe,Ue._targetInfoList)})}return xe.prototype.setOutputRanges=function($e,Ie){return this.matchOutputRanges($e,Ie,function(Fe,Ue,qe){if((Fe.coordRanges||(Fe.coordRanges=[])).push(Ue),!Fe.coordRange){Fe.coordRange=Ue;var At=coordConvert[Fe.brushType](0,qe,Ue);Fe.__rangeOffset={offset:diffProcessor[Fe.brushType](At.values,Fe.range,[1,1]),xyMinMax:At.xyMinMax}}}),$e},xe.prototype.matchOutputRanges=function($e,Ie,Fe){each$f($e,function(Ue){var qe=this.findTargetInfo(Ue,Ie);qe&&qe!==!0&&each$f(qe.coordSyses,function(At){var Dt=coordConvert[Ue.brushType](1,At,Ue.range,!0);Fe(Ue,Dt.values,At,Ie)})},this)},xe.prototype.setInputRanges=function($e,Ie){each$f($e,function(Fe){var Ue=this.findTargetInfo(Fe,Ie);if(Fe.range=Fe.range||[],Ue&&Ue!==!0){Fe.panelId=Ue.panelId;var qe=coordConvert[Fe.brushType](0,Ue.coordSys,Fe.coordRange),At=Fe.__rangeOffset;Fe.range=At?diffProcessor[Fe.brushType](qe.values,At.offset,getScales(qe.xyMinMax,At.xyMinMax)):qe.values}},this)},xe.prototype.makePanelOpts=function($e,Ie){return map$1(this._targetInfoList,function(Fe){var Ue=Fe.getPanelRect();return{panelId:Fe.panelId,defaultBrushType:Ie?Ie(Fe):null,clipPath:makeRectPanelClipPath(Ue),isTargetByCursor:makeRectIsTargetByCursor(Ue,$e,Fe.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(Ue)}})},xe.prototype.controlSeries=function($e,Ie,Fe){var Ue=this.findTargetInfo($e,Fe);return Ue===!0||Ue&&indexOf(Ue.coordSyses,Ie.coordinateSystem)>=0},xe.prototype.findTargetInfo=function($e,Ie){for(var Fe=this._targetInfoList,Ue=parseFinder(Ie,$e),qe=0;qexe[1]&&xe.reverse(),xe}function parseFinder(xe,$e){return parseFinder$1(xe,$e,{includeMainTypes:INCLUDE_FINDER_MAIN_TYPES})}var targetInfoBuilders={grid:function(xe,$e){var Ie=xe.xAxisModels,Fe=xe.yAxisModels,Ue=xe.gridModels,qe=createHashMap(),At={},Dt={};!Ie&&!Fe&&!Ue||(each$f(Ie,function(Lt){var jt=Lt.axis.grid.model;qe.set(jt.id,jt),At[jt.id]=!0}),each$f(Fe,function(Lt){var jt=Lt.axis.grid.model;qe.set(jt.id,jt),Dt[jt.id]=!0}),each$f(Ue,function(Lt){qe.set(Lt.id,Lt),At[Lt.id]=!0,Dt[Lt.id]=!0}),qe.each(function(Lt){var jt=Lt.coordinateSystem,hn=[];each$f(jt.getCartesians(),function(vn,bn){(indexOf(Ie,vn.getAxis("x").model)>=0||indexOf(Fe,vn.getAxis("y").model)>=0)&&hn.push(vn)}),$e.push({panelId:"grid--"+Lt.id,gridModel:Lt,coordSysModel:Lt,coordSys:hn[0],coordSyses:hn,getPanelRect:panelRectBuilders.grid,xAxisDeclared:At[Lt.id],yAxisDeclared:Dt[Lt.id]})}))},geo:function(xe,$e){each$f(xe.geoModels,function(Ie){var Fe=Ie.coordinateSystem;$e.push({panelId:"geo--"+Ie.id,geoModel:Ie,coordSysModel:Ie,coordSys:Fe,coordSyses:[Fe],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function(xe,$e){var Ie=xe.xAxisModel,Fe=xe.yAxisModel,Ue=xe.gridModel;return!Ue&&Ie&&(Ue=Ie.axis.grid.model),!Ue&&Fe&&(Ue=Fe.axis.grid.model),Ue&&Ue===$e.gridModel},function(xe,$e){var Ie=xe.geoModel;return Ie&&Ie===$e.geoModel}],panelRectBuilders={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var xe=this.coordSys,$e=xe.getBoundingRect().clone();return $e.applyTransform(getTransform$1(xe)),$e}},coordConvert={lineX:curry$1(axisConvert,0),lineY:curry$1(axisConvert,1),rect:function(xe,$e,Ie,Fe){var Ue=xe?$e.pointToData([Ie[0][0],Ie[1][0]],Fe):$e.dataToPoint([Ie[0][0],Ie[1][0]],Fe),qe=xe?$e.pointToData([Ie[0][1],Ie[1][1]],Fe):$e.dataToPoint([Ie[0][1],Ie[1][1]],Fe),At=[formatMinMax([Ue[0],qe[0]]),formatMinMax([Ue[1],qe[1]])];return{values:At,xyMinMax:At}},polygon:function(xe,$e,Ie,Fe){var Ue=[[1/0,-1/0],[1/0,-1/0]],qe=map$1(Ie,function(At){var Dt=xe?$e.pointToData(At,Fe):$e.dataToPoint(At,Fe);return Ue[0][0]=Math.min(Ue[0][0],Dt[0]),Ue[1][0]=Math.min(Ue[1][0],Dt[1]),Ue[0][1]=Math.max(Ue[0][1],Dt[0]),Ue[1][1]=Math.max(Ue[1][1],Dt[1]),Dt});return{values:qe,xyMinMax:Ue}}};function axisConvert(xe,$e,Ie,Fe){var Ue=Ie.getAxis(["x","y"][xe]),qe=formatMinMax(map$1([0,1],function(Dt){return $e?Ue.coordToData(Ue.toLocalCoord(Fe[Dt]),!0):Ue.toGlobalCoord(Ue.dataToCoord(Fe[Dt]))})),At=[];return At[xe]=qe,At[1-xe]=[NaN,NaN],{values:qe,xyMinMax:At}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function(xe,$e,Ie){return[[xe[0][0]-Ie[0]*$e[0][0],xe[0][1]-Ie[0]*$e[0][1]],[xe[1][0]-Ie[1]*$e[1][0],xe[1][1]-Ie[1]*$e[1][1]]]},polygon:function(xe,$e,Ie){return map$1(xe,function(Fe,Ue){return[Fe[0]-Ie[0]*$e[Ue][0],Fe[1]-Ie[1]*$e[Ue][1]]})}};function axisDiffProcessor(xe,$e,Ie,Fe){return[$e[0]-Fe[xe]*Ie[0],$e[1]-Fe[xe]*Ie[1]]}function getScales(xe,$e){var Ie=getSize(xe),Fe=getSize($e),Ue=[Ie[0]/Fe[0],Ie[1]/Fe[1]];return isNaN(Ue[0])&&(Ue[0]=1),isNaN(Ue[1])&&(Ue[1]=1),Ue}function getSize(xe){return xe?[xe[0][1]-xe[0][0],xe[1][1]-xe[1][0]]:[NaN,NaN]}var each$5=each$f,DATA_ZOOM_ID_BASE=makeInternalComponentId("toolbox-dataZoom_"),DataZoomFeature=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue,qe){this._brushController||(this._brushController=new BrushController(Ue.getZr()),this._brushController.on("brush",bind$1(this._onBrush,this)).mount()),updateZoomBtnStatus(Ie,Fe,this,qe,Ue),updateBackBtnStatus(Ie,Fe)},$e.prototype.onclick=function(Ie,Fe,Ue){handlers[Ue].call(this)},$e.prototype.remove=function(Ie,Fe){this._brushController&&this._brushController.unmount()},$e.prototype.dispose=function(Ie,Fe){this._brushController&&this._brushController.dispose()},$e.prototype._onBrush=function(Ie){var Fe=Ie.areas;if(!Ie.isEnd||!Fe.length)return;var Ue={},qe=this.ecModel;this._brushController.updateCovers([]);var At=new BrushTargetManager(makeAxisFinder(this.model),qe,{include:["grid"]});At.matchOutputRanges(Fe,qe,function(jt,hn,vn){if(vn.type==="cartesian2d"){var bn=jt.brushType;bn==="rect"?(Dt("x",vn,hn[0]),Dt("y",vn,hn[1])):Dt({lineX:"x",lineY:"y"}[bn],vn,hn)}}),push(qe,Ue),this._dispatchZoomAction(Ue);function Dt(jt,hn,vn){var bn=hn.getAxis(jt),_n=bn.model,wn=Lt(jt,_n,qe),kn=wn.findRepresentativeAxisProxy(_n).getMinMaxSpan();(kn.minValueSpan!=null||kn.maxValueSpan!=null)&&(vn=sliderMove(0,vn.slice(),bn.scale.getExtent(),0,kn.minValueSpan,kn.maxValueSpan)),wn&&(Ue[wn.id]={dataZoomId:wn.id,startValue:vn[0],endValue:vn[1]})}function Lt(jt,hn,vn){var bn;return vn.eachComponent({mainType:"dataZoom",subType:"select"},function(_n){var wn=_n.getAxisModel(jt,hn.componentIndex);wn&&(bn=_n)}),bn}},$e.prototype._dispatchZoomAction=function(Ie){var Fe=[];each$5(Ie,function(Ue,qe){Fe.push(clone$4(Ue))}),Fe.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:Fe})},$e.getDefaultOption=function(Ie){var Fe={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:Ie.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return Fe},$e}(ToolboxFeature),handlers={zoom:function(){var xe=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:xe})},back:function(){this._dispatchZoomAction(pop(this.ecModel))}};function makeAxisFinder(xe){var $e={xAxisIndex:xe.get("xAxisIndex",!0),yAxisIndex:xe.get("yAxisIndex",!0),xAxisId:xe.get("xAxisId",!0),yAxisId:xe.get("yAxisId",!0)};return $e.xAxisIndex==null&&$e.xAxisId==null&&($e.xAxisIndex="all"),$e.yAxisIndex==null&&$e.yAxisId==null&&($e.yAxisIndex="all"),$e}function updateBackBtnStatus(xe,$e){xe.setIconStatus("back",count($e)>1?"emphasis":"normal")}function updateZoomBtnStatus(xe,$e,Ie,Fe,Ue){var qe=Ie._isZoomActive;Fe&&Fe.type==="takeGlobalCursor"&&(qe=Fe.key==="dataZoomSelect"?Fe.dataZoomSelectActive:!1),Ie._isZoomActive=qe,xe.setIconStatus("zoom",qe?"emphasis":"normal");var At=new BrushTargetManager(makeAxisFinder(xe),$e,{include:["grid"]}),Dt=At.makePanelOpts(Ue,function(Lt){return Lt.xAxisDeclared&&!Lt.yAxisDeclared?"lineX":!Lt.xAxisDeclared&&Lt.yAxisDeclared?"lineY":"rect"});Ie._brushController.setPanels(Dt).enableBrush(qe&&Dt.length?{brushType:"auto",brushStyle:xe.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function(xe){var $e=xe.getComponent("toolbox",0),Ie=["feature","dataZoom"];if(!$e||$e.get(Ie)==null)return;var Fe=$e.getModel(Ie),Ue=[],qe=makeAxisFinder(Fe),At=parseFinder$1(xe,qe);each$5(At.xAxisModels,function(Lt){return Dt(Lt,"xAxis","xAxisIndex")}),each$5(At.yAxisModels,function(Lt){return Dt(Lt,"yAxis","yAxisIndex")});function Dt(Lt,jt,hn){var vn=Lt.componentIndex,bn={type:"select",$fromToolbox:!0,filterMode:Fe.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+jt+vn};bn[hn]=vn,Ue.push(bn)}return Ue});function install$k(xe){xe.registerComponentModel(ToolboxModel),xe.registerComponentView(ToolboxView),registerFeature("saveAsImage",SaveAsImage),registerFeature("magicType",MagicType),registerFeature("dataView",DataView),registerFeature("dataZoom",DataZoomFeature),registerFeature("restore",RestoreOption),use(install$l)}var TooltipModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="tooltip",$e.dependencies=["axisPointer"],$e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},$e}(ComponentModel);function shouldTooltipConfine(xe){var $e=xe.get("confine");return $e!=null?!!$e:xe.get("renderMode")==="richText"}function testStyle(xe){if(env.domSupported){for(var $e=document.documentElement.style,Ie=0,Fe=xe.length;Ie-1?(Dt+="top:50%",Lt+="translateY(-50%) rotate("+(jt=qe==="left"?-225:-45)+"deg)"):(Dt+="left:50%",Lt+="translateX(-50%) rotate("+(jt=qe==="top"?225:45)+"deg)");var hn=jt*Math.PI/180,vn=At+Ue,bn=vn*Math.abs(Math.cos(hn))+vn*Math.abs(Math.sin(hn)),_n=Math.round(((bn-Math.SQRT2*Ue)/2+Math.SQRT2*Ue-(bn-vn)/2)*100)/100;Dt+=";"+qe+":-"+_n+"px";var wn=$e+" solid "+Ue+"px;",kn=["position:absolute;width:"+At+"px;height:"+At+"px;z-index:-1;",Dt+";"+Lt+";","border-bottom:"+wn,"border-right:"+wn,"background-color:"+Fe+";"];return'
    '}function assembleTransition(xe,$e){var Ie="cubic-bezier(0.23,1,0.32,1)",Fe=" "+xe/2+"s "+Ie,Ue="opacity"+Fe+",visibility"+Fe;return $e||(Fe=" "+xe+"s "+Ie,Ue+=env.transformSupported?","+CSS_TRANSFORM_VENDOR+Fe:",left"+Fe+",top"+Fe),CSS_TRANSITION_VENDOR+":"+Ue}function assembleTransform(xe,$e,Ie){var Fe=xe.toFixed(0)+"px",Ue=$e.toFixed(0)+"px";if(!env.transformSupported)return Ie?"top:"+Ue+";left:"+Fe+";":[["top",Ue],["left",Fe]];var qe=env.transform3dSupported,At="translate"+(qe?"3d":"")+"("+Fe+","+Ue+(qe?",0":"")+")";return Ie?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+At+";":[["top",0],["left",0],[TRANSFORM_VENDOR,At]]}function assembleFont(xe){var $e=[],Ie=xe.get("fontSize"),Fe=xe.getTextColor();Fe&&$e.push("color:"+Fe),$e.push("font:"+xe.getFont()),Ie&&$e.push("line-height:"+Math.round(Ie*3/2)+"px");var Ue=xe.get("textShadowColor"),qe=xe.get("textShadowBlur")||0,At=xe.get("textShadowOffsetX")||0,Dt=xe.get("textShadowOffsetY")||0;return Ue&&qe&&$e.push("text-shadow:"+At+"px "+Dt+"px "+qe+"px "+Ue),each$f(["decoration","align"],function(Lt){var jt=xe.get(Lt);jt&&$e.push("text-"+Lt+":"+jt)}),$e.join(";")}function assembleCssText(xe,$e,Ie){var Fe=[],Ue=xe.get("transitionDuration"),qe=xe.get("backgroundColor"),At=xe.get("shadowBlur"),Dt=xe.get("shadowColor"),Lt=xe.get("shadowOffsetX"),jt=xe.get("shadowOffsetY"),hn=xe.getModel("textStyle"),vn=getPaddingFromTooltipModel(xe,"html"),bn=Lt+"px "+jt+"px "+At+"px "+Dt;return Fe.push("box-shadow:"+bn),$e&&Ue&&Fe.push(assembleTransition(Ue,Ie)),qe&&Fe.push("background-color:"+qe),each$f(["width","color","radius"],function(_n){var wn="border-"+_n,kn=toCamelCase(wn),Cn=xe.get(kn);Cn!=null&&Fe.push(wn+":"+Cn+(_n==="color"?"":"px"))}),Fe.push(assembleFont(hn)),vn!=null&&Fe.push("padding:"+normalizeCssArray(vn).join("px ")+"px"),Fe.join(";")+";"}function makeStyleCoord$1(xe,$e,Ie,Fe,Ue){var qe=$e&&$e.painter;if(Ie){var At=qe&&qe.getViewportRoot();At&&transformLocalCoord(xe,At,Ie,Fe,Ue)}else{xe[0]=Fe,xe[1]=Ue;var Dt=qe&&qe.getViewportRootOffset();Dt&&(xe[0]+=Dt.offsetLeft,xe[1]+=Dt.offsetTop)}xe[2]=xe[0]/$e.getWidth(),xe[3]=xe[1]/$e.getHeight()}var TooltipHTMLContent=function(){function xe($e,Ie){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,env.wxa)return null;var Fe=document.createElement("div");Fe.domBelongToZr=!0,this.el=Fe;var Ue=this._zr=$e.getZr(),qe=Ie.appendTo,At=qe&&(isString(qe)?document.querySelector(qe):isDom(qe)?qe:isFunction(qe)&&qe($e.getDom()));makeStyleCoord$1(this._styleCoord,Ue,At,$e.getWidth()/2,$e.getHeight()/2),(At||$e.getDom()).appendChild(Fe),this._api=$e,this._container=At;var Dt=this;Fe.onmouseenter=function(){Dt._enterable&&(clearTimeout(Dt._hideTimeout),Dt._show=!0),Dt._inContent=!0},Fe.onmousemove=function(Lt){if(Lt=Lt||window.event,!Dt._enterable){var jt=Ue.handler,hn=Ue.painter.getViewportRoot();normalizeEvent(hn,Lt,!0),jt.dispatch("mousemove",Lt)}},Fe.onmouseleave=function(){Dt._inContent=!1,Dt._enterable&&Dt._show&&Dt.hideLater(Dt._hideDelay)}}return xe.prototype.update=function($e){if(!this._container){var Ie=this._api.getDom(),Fe=getComputedStyle$1(Ie,"position"),Ue=Ie.style;Ue.position!=="absolute"&&Fe!=="absolute"&&(Ue.position="relative")}var qe=$e.get("alwaysShowContent");qe&&this._moveIfResized(),this._alwaysShowContent=qe,this.el.className=$e.get("className")||""},xe.prototype.show=function($e,Ie){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var Fe=this.el,Ue=Fe.style,qe=this._styleCoord;Fe.innerHTML?Ue.cssText=gCssText+assembleCssText($e,!this._firstShow,this._longHide)+assembleTransform(qe[0],qe[1],!0)+("border-color:"+convertToColorString(Ie)+";")+($e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):Ue.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},xe.prototype.setContent=function($e,Ie,Fe,Ue,qe){var At=this.el;if($e==null){At.innerHTML="";return}var Dt="";if(isString(qe)&&Fe.get("trigger")==="item"&&!shouldTooltipConfine(Fe)&&(Dt=assembleArrow(Fe,Ue,qe)),isString($e))At.innerHTML=$e+Dt;else if($e){At.innerHTML="",isArray$1($e)||($e=[$e]);for(var Lt=0;Lt<$e.length;Lt++)isDom($e[Lt])&&$e[Lt].parentNode!==At&&At.appendChild($e[Lt]);if(Dt&&At.childNodes.length){var jt=document.createElement("div");jt.innerHTML=Dt,At.appendChild(jt)}}},xe.prototype.setEnterable=function($e){this._enterable=$e},xe.prototype.getSize=function(){var $e=this.el;return[$e.offsetWidth,$e.offsetHeight]},xe.prototype.moveTo=function($e,Ie){var Fe=this._styleCoord;if(makeStyleCoord$1(Fe,this._zr,this._container,$e,Ie),Fe[0]!=null&&Fe[1]!=null){var Ue=this.el.style,qe=assembleTransform(Fe[0],Fe[1]);each$f(qe,function(At){Ue[At[0]]=At[1]})}},xe.prototype._moveIfResized=function(){var $e=this._styleCoord[2],Ie=this._styleCoord[3];this.moveTo($e*this._zr.getWidth(),Ie*this._zr.getHeight())},xe.prototype.hide=function(){var $e=this,Ie=this.el.style;Ie.visibility="hidden",Ie.opacity="0",env.transform3dSupported&&(Ie.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return $e._longHide=!0},500)},xe.prototype.hideLater=function($e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&($e?(this._hideDelay=$e,this._show=!1,this._hideTimeout=setTimeout(bind$1(this.hide,this),$e)):this.hide())},xe.prototype.isShow=function(){return this._show},xe.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var $e=this.el.parentNode;$e&&$e.removeChild(this.el),this.el=this._container=null},xe}(),TooltipRichContent=function(){function xe($e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=$e.getZr(),makeStyleCoord(this._styleCoord,this._zr,$e.getWidth()/2,$e.getHeight()/2)}return xe.prototype.update=function($e){var Ie=$e.get("alwaysShowContent");Ie&&this._moveIfResized(),this._alwaysShowContent=Ie},xe.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},xe.prototype.setContent=function($e,Ie,Fe,Ue,qe){var At=this;isObject$3($e)&&throwError(""),this.el&&this._zr.remove(this.el);var Dt=Fe.getModel("textStyle");this.el=new ZRText({style:{rich:Ie.richTextStyles,text:$e,lineHeight:22,borderWidth:1,borderColor:Ue,textShadowColor:Dt.get("textShadowColor"),fill:Fe.get(["textStyle","color"]),padding:getPaddingFromTooltipModel(Fe,"richText"),verticalAlign:"top",align:"left"},z:Fe.get("z")}),each$f(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(jt){At.el.style[jt]=Fe.get(jt)}),each$f(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(jt){At.el.style[jt]=Dt.get(jt)||0}),this._zr.add(this.el);var Lt=this;this.el.on("mouseover",function(){Lt._enterable&&(clearTimeout(Lt._hideTimeout),Lt._show=!0),Lt._inContent=!0}),this.el.on("mouseout",function(){Lt._enterable&&Lt._show&&Lt.hideLater(Lt._hideDelay),Lt._inContent=!1})},xe.prototype.setEnterable=function($e){this._enterable=$e},xe.prototype.getSize=function(){var $e=this.el,Ie=this.el.getBoundingRect(),Fe=calcShadowOuterSize($e.style);return[Ie.width+Fe.left+Fe.right,Ie.height+Fe.top+Fe.bottom]},xe.prototype.moveTo=function($e,Ie){var Fe=this.el;if(Fe){var Ue=this._styleCoord;makeStyleCoord(Ue,this._zr,$e,Ie),$e=Ue[0],Ie=Ue[1];var qe=Fe.style,At=mathMaxWith0(qe.borderWidth||0),Dt=calcShadowOuterSize(qe);Fe.x=$e+At+Dt.left,Fe.y=Ie+At+Dt.top,Fe.markRedraw()}},xe.prototype._moveIfResized=function(){var $e=this._styleCoord[2],Ie=this._styleCoord[3];this.moveTo($e*this._zr.getWidth(),Ie*this._zr.getHeight())},xe.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},xe.prototype.hideLater=function($e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&($e?(this._hideDelay=$e,this._show=!1,this._hideTimeout=setTimeout(bind$1(this.hide,this),$e)):this.hide())},xe.prototype.isShow=function(){return this._show},xe.prototype.dispose=function(){this._zr.remove(this.el)},xe}();function mathMaxWith0(xe){return Math.max(0,xe)}function calcShadowOuterSize(xe){var $e=mathMaxWith0(xe.shadowBlur||0),Ie=mathMaxWith0(xe.shadowOffsetX||0),Fe=mathMaxWith0(xe.shadowOffsetY||0);return{left:mathMaxWith0($e-Ie),right:mathMaxWith0($e+Ie),top:mathMaxWith0($e-Fe),bottom:mathMaxWith0($e+Fe)}}function makeStyleCoord(xe,$e,Ie,Fe){xe[0]=Ie,xe[1]=Fe,xe[2]=xe[0]/$e.getWidth(),xe[3]=xe[1]/$e.getHeight()}var proxyRect=new Rect$2({shape:{x:-1,y:-1,width:2,height:2}}),TooltipView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){if(!(env.node||!Fe.getDom())){var Ue=Ie.getComponent("tooltip"),qe=this._renderMode=getTooltipRenderMode(Ue.get("renderMode"));this._tooltipContent=qe==="richText"?new TooltipRichContent(Fe):new TooltipHTMLContent(Fe,{appendTo:Ue.get("appendToBody",!0)?"body":Ue.get("appendTo",!0)})}},$e.prototype.render=function(Ie,Fe,Ue){if(!(env.node||!Ue.getDom())){this.group.removeAll(),this._tooltipModel=Ie,this._ecModel=Fe,this._api=Ue;var qe=this._tooltipContent;qe.update(Ie),qe.setEnterable(Ie.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&Ie.get("transitionDuration")?createOrUpdate(this,"_updatePosition",50,"fixRate"):clear$1(this,"_updatePosition")}},$e.prototype._initGlobalListener=function(){var Ie=this._tooltipModel,Fe=Ie.get("triggerOn");register("itemTooltip",this._api,bind$1(function(Ue,qe,At){Fe!=="none"&&(Fe.indexOf(Ue)>=0?this._tryShow(qe,At):Ue==="leave"&&this._hide(At))},this))},$e.prototype._keepShow=function(){var Ie=this._tooltipModel,Fe=this._ecModel,Ue=this._api,qe=Ie.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&qe!=="none"&&qe!=="click"){var At=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!Ue.isDisposed()&&At.manuallyShowTip(Ie,Fe,Ue,{x:At._lastX,y:At._lastY,dataByCoordSys:At._lastDataByCoordSys})})}},$e.prototype.manuallyShowTip=function(Ie,Fe,Ue,qe){if(!(qe.from===this.uid||env.node||!Ue.getDom())){var At=makeDispatchAction(qe,Ue);this._ticket="";var Dt=qe.dataByCoordSys,Lt=findComponentReference(qe,Fe,Ue);if(Lt){var jt=Lt.el.getBoundingRect().clone();jt.applyTransform(Lt.el.transform),this._tryShow({offsetX:jt.x+jt.width/2,offsetY:jt.y+jt.height/2,target:Lt.el,position:qe.position,positionDefault:"bottom"},At)}else if(qe.tooltip&&qe.x!=null&&qe.y!=null){var hn=proxyRect;hn.x=qe.x,hn.y=qe.y,hn.update(),getECData(hn).tooltipConfig={name:null,option:qe.tooltip},this._tryShow({offsetX:qe.x,offsetY:qe.y,target:hn},At)}else if(Dt)this._tryShow({offsetX:qe.x,offsetY:qe.y,position:qe.position,dataByCoordSys:Dt,tooltipOption:qe.tooltipOption},At);else if(qe.seriesIndex!=null){if(this._manuallyAxisShowTip(Ie,Fe,Ue,qe))return;var vn=findPointFromSeries(qe,Fe),bn=vn.point[0],_n=vn.point[1];bn!=null&&_n!=null&&this._tryShow({offsetX:bn,offsetY:_n,target:vn.el,position:qe.position,positionDefault:"bottom"},At)}else qe.x!=null&&qe.y!=null&&(Ue.dispatchAction({type:"updateAxisPointer",x:qe.x,y:qe.y}),this._tryShow({offsetX:qe.x,offsetY:qe.y,position:qe.position,target:Ue.getZr().findHover(qe.x,qe.y).target},At))}},$e.prototype.manuallyHideTip=function(Ie,Fe,Ue,qe){var At=this._tooltipContent;this._tooltipModel&&At.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,qe.from!==this.uid&&this._hide(makeDispatchAction(qe,Ue))},$e.prototype._manuallyAxisShowTip=function(Ie,Fe,Ue,qe){var At=qe.seriesIndex,Dt=qe.dataIndex,Lt=Fe.getComponent("axisPointer").coordSysAxesInfo;if(!(At==null||Dt==null||Lt==null)){var jt=Fe.getSeriesByIndex(At);if(jt){var hn=jt.getData(),vn=buildTooltipModel([hn.getItemModel(Dt),jt,(jt.coordinateSystem||{}).model],this._tooltipModel);if(vn.get("trigger")==="axis")return Ue.dispatchAction({type:"updateAxisPointer",seriesIndex:At,dataIndex:Dt,position:qe.position}),!0}}},$e.prototype._tryShow=function(Ie,Fe){var Ue=Ie.target,qe=this._tooltipModel;if(qe){this._lastX=Ie.offsetX,this._lastY=Ie.offsetY;var At=Ie.dataByCoordSys;if(At&&At.length)this._showAxisTooltip(At,Ie);else if(Ue){var Dt=getECData(Ue);if(Dt.ssrType==="legend")return;this._lastDataByCoordSys=null;var Lt,jt;findEventDispatcher(Ue,function(hn){if(getECData(hn).dataIndex!=null)return Lt=hn,!0;if(getECData(hn).tooltipConfig!=null)return jt=hn,!0},!0),Lt?this._showSeriesItemTooltip(Ie,Lt,Fe):jt?this._showComponentItemTooltip(Ie,jt,Fe):this._hide(Fe)}else this._lastDataByCoordSys=null,this._hide(Fe)}},$e.prototype._showOrMove=function(Ie,Fe){var Ue=Ie.get("showDelay");Fe=bind$1(Fe,this),clearTimeout(this._showTimout),Ue>0?this._showTimout=setTimeout(Fe,Ue):Fe()},$e.prototype._showAxisTooltip=function(Ie,Fe){var Ue=this._ecModel,qe=this._tooltipModel,At=[Fe.offsetX,Fe.offsetY],Dt=buildTooltipModel([Fe.tooltipOption],qe),Lt=this._renderMode,jt=[],hn=createTooltipMarkup("section",{blocks:[],noHeader:!0}),vn=[],bn=new TooltipMarkupStyleCreator;each$f(Ie,function(xn){each$f(xn.dataByAxis,function(En){var Tn=Ue.getComponent(En.axisDim+"Axis",En.axisIndex),An=En.value;if(!(!Tn||An==null)){var $n=getValueLabel(An,Tn.axis,Ue,En.seriesDataIndices,En.valueLabelOpt),Pn=createTooltipMarkup("section",{header:$n,noHeader:!trim$1($n),sortBlocks:!0,blocks:[]});hn.blocks.push(Pn),each$f(En.seriesDataIndices,function(Nn){var Mn=Ue.getSeriesByIndex(Nn.seriesIndex),In=Nn.dataIndexInside,On=Mn.getDataParams(In);if(!(On.dataIndex<0)){On.axisDim=En.axisDim,On.axisIndex=En.axisIndex,On.axisType=En.axisType,On.axisId=En.axisId,On.axisValue=getAxisRawValue(Tn.axis,{value:An}),On.axisValueLabel=$n,On.marker=bn.makeTooltipMarker("item",convertToColorString(On.color),Lt);var Rn=normalizeTooltipFormatResult(Mn.formatTooltip(In,!0,null)),Bn=Rn.frag;if(Bn){var Vn=buildTooltipModel([Mn],qe).get("valueFormatter");Pn.blocks.push(Vn?extend({valueFormatter:Vn},Bn):Bn)}Rn.text&&vn.push(Rn.text),jt.push(On)}})}})}),hn.blocks.reverse(),vn.reverse();var _n=Fe.position,wn=Dt.get("order"),kn=buildTooltipMarkup(hn,bn,Lt,wn,Ue.get("useUTC"),Dt.get("textStyle"));kn&&vn.unshift(kn);var Cn=Lt==="richText"?` + +`:"
    ",Sn=vn.join(Cn);this._showOrMove(Dt,function(){this._updateContentNotChangedOnAxis(Ie,jt)?this._updatePosition(Dt,_n,At[0],At[1],this._tooltipContent,jt):this._showTooltipContent(Dt,Sn,jt,Math.random()+"",At[0],At[1],_n,null,bn)})},$e.prototype._showSeriesItemTooltip=function(Ie,Fe,Ue){var qe=this._ecModel,At=getECData(Fe),Dt=At.seriesIndex,Lt=qe.getSeriesByIndex(Dt),jt=At.dataModel||Lt,hn=At.dataIndex,vn=At.dataType,bn=jt.getData(vn),_n=this._renderMode,wn=Ie.positionDefault,kn=buildTooltipModel([bn.getItemModel(hn),jt,Lt&&(Lt.coordinateSystem||{}).model],this._tooltipModel,wn?{position:wn}:null),Cn=kn.get("trigger");if(!(Cn!=null&&Cn!=="item")){var Sn=jt.getDataParams(hn,vn),xn=new TooltipMarkupStyleCreator;Sn.marker=xn.makeTooltipMarker("item",convertToColorString(Sn.color),_n);var En=normalizeTooltipFormatResult(jt.formatTooltip(hn,!1,vn)),Tn=kn.get("order"),An=kn.get("valueFormatter"),$n=En.frag,Pn=$n?buildTooltipMarkup(An?extend({valueFormatter:An},$n):$n,xn,_n,Tn,qe.get("useUTC"),kn.get("textStyle")):En.text,Nn="item_"+jt.name+"_"+hn;this._showOrMove(kn,function(){this._showTooltipContent(kn,Pn,Sn,Nn,Ie.offsetX,Ie.offsetY,Ie.position,Ie.target,xn)}),Ue({type:"showTip",dataIndexInside:hn,dataIndex:bn.getRawIndex(hn),seriesIndex:Dt,from:this.uid})}},$e.prototype._showComponentItemTooltip=function(Ie,Fe,Ue){var qe=getECData(Fe),At=qe.tooltipConfig,Dt=At.option||{};if(isString(Dt)){var Lt=Dt;Dt={content:Lt,formatter:Lt}}var jt=[Dt],hn=this._ecModel.getComponent(qe.componentMainType,qe.componentIndex);hn&&jt.push(hn),jt.push({formatter:Dt.content});var vn=Ie.positionDefault,bn=buildTooltipModel(jt,this._tooltipModel,vn?{position:vn}:null),_n=bn.get("content"),wn=Math.random()+"",kn=new TooltipMarkupStyleCreator;this._showOrMove(bn,function(){var Cn=clone$4(bn.get("formatterParams")||{});this._showTooltipContent(bn,_n,Cn,wn,Ie.offsetX,Ie.offsetY,Ie.position,Fe,kn)}),Ue({type:"showTip",from:this.uid})},$e.prototype._showTooltipContent=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){if(this._ticket="",!(!Ie.get("showContent")||!Ie.get("show"))){var vn=this._tooltipContent;vn.setEnterable(Ie.get("enterable"));var bn=Ie.get("formatter");Lt=Lt||Ie.get("position");var _n=Fe,wn=this._getNearestPoint([At,Dt],Ue,Ie.get("trigger"),Ie.get("borderColor")),kn=wn.color;if(bn)if(isString(bn)){var Cn=Ie.ecModel.get("useUTC"),Sn=isArray$1(Ue)?Ue[0]:Ue,xn=Sn&&Sn.axisType&&Sn.axisType.indexOf("time")>=0;_n=bn,xn&&(_n=format(Sn.axisValue,_n,Cn)),_n=formatTpl(_n,Ue,!0)}else if(isFunction(bn)){var En=bind$1(function(Tn,An){Tn===this._ticket&&(vn.setContent(An,hn,Ie,kn,Lt),this._updatePosition(Ie,Lt,At,Dt,vn,Ue,jt))},this);this._ticket=qe,_n=bn(Ue,qe,En)}else _n=bn;vn.setContent(_n,hn,Ie,kn,Lt),vn.show(Ie,kn),this._updatePosition(Ie,Lt,At,Dt,vn,Ue,jt)}},$e.prototype._getNearestPoint=function(Ie,Fe,Ue,qe){if(Ue==="axis"||isArray$1(Fe))return{color:qe||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(Fe))return{color:qe||Fe.color||Fe.borderColor}},$e.prototype._updatePosition=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._api.getWidth(),hn=this._api.getHeight();Fe=Fe||Ie.get("position");var vn=At.getSize(),bn=Ie.get("align"),_n=Ie.get("verticalAlign"),wn=Lt&&Lt.getBoundingRect().clone();if(Lt&&wn.applyTransform(Lt.transform),isFunction(Fe)&&(Fe=Fe([Ue,qe],Dt,At.el,wn,{viewSize:[jt,hn],contentSize:vn.slice()})),isArray$1(Fe))Ue=parsePercent(Fe[0],jt),qe=parsePercent(Fe[1],hn);else if(isObject$3(Fe)){var kn=Fe;kn.width=vn[0],kn.height=vn[1];var Cn=getLayoutRect(kn,{width:jt,height:hn});Ue=Cn.x,qe=Cn.y,bn=null,_n=null}else if(isString(Fe)&&Lt){var Sn=calcTooltipPosition(Fe,wn,vn,Ie.get("borderWidth"));Ue=Sn[0],qe=Sn[1]}else{var Sn=refixTooltipPosition(Ue,qe,At,jt,hn,bn?null:20,_n?null:20);Ue=Sn[0],qe=Sn[1]}if(bn&&(Ue-=isCenterAlign(bn)?vn[0]/2:bn==="right"?vn[0]:0),_n&&(qe-=isCenterAlign(_n)?vn[1]/2:_n==="bottom"?vn[1]:0),shouldTooltipConfine(Ie)){var Sn=confineTooltipPosition(Ue,qe,At,jt,hn);Ue=Sn[0],qe=Sn[1]}At.moveTo(Ue,qe)},$e.prototype._updateContentNotChangedOnAxis=function(Ie,Fe){var Ue=this._lastDataByCoordSys,qe=this._cbParamsList,At=!!Ue&&Ue.length===Ie.length;return At&&each$f(Ue,function(Dt,Lt){var jt=Dt.dataByAxis||[],hn=Ie[Lt]||{},vn=hn.dataByAxis||[];At=At&&jt.length===vn.length,At&&each$f(jt,function(bn,_n){var wn=vn[_n]||{},kn=bn.seriesDataIndices||[],Cn=wn.seriesDataIndices||[];At=At&&bn.value===wn.value&&bn.axisType===wn.axisType&&bn.axisId===wn.axisId&&kn.length===Cn.length,At&&each$f(kn,function(Sn,xn){var En=Cn[xn];At=At&&Sn.seriesIndex===En.seriesIndex&&Sn.dataIndex===En.dataIndex}),qe&&each$f(bn.seriesDataIndices,function(Sn){var xn=Sn.seriesIndex,En=Fe[xn],Tn=qe[xn];En&&Tn&&Tn.data!==En.data&&(At=!1)})})}),this._lastDataByCoordSys=Ie,this._cbParamsList=Fe,!!At},$e.prototype._hide=function(Ie){this._lastDataByCoordSys=null,Ie({type:"hideTip",from:this.uid})},$e.prototype.dispose=function(Ie,Fe){env.node||!Fe.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",Fe))},$e.type="tooltip",$e}(ComponentView);function buildTooltipModel(xe,$e,Ie){var Fe=$e.ecModel,Ue;Ie?(Ue=new Model(Ie,Fe,Fe),Ue=new Model($e.option,Ue,Fe)):Ue=$e;for(var qe=xe.length-1;qe>=0;qe--){var At=xe[qe];At&&(At instanceof Model&&(At=At.get("tooltip",!0)),isString(At)&&(At={formatter:At}),At&&(Ue=new Model(At,Ue,Fe)))}return Ue}function makeDispatchAction(xe,$e){return xe.dispatchAction||bind$1($e.dispatchAction,$e)}function refixTooltipPosition(xe,$e,Ie,Fe,Ue,qe,At){var Dt=Ie.getSize(),Lt=Dt[0],jt=Dt[1];return qe!=null&&(xe+Lt+qe+2>Fe?xe-=Lt+qe:xe+=qe),At!=null&&($e+jt+At>Ue?$e-=jt+At:$e+=At),[xe,$e]}function confineTooltipPosition(xe,$e,Ie,Fe,Ue){var qe=Ie.getSize(),At=qe[0],Dt=qe[1];return xe=Math.min(xe+At,Fe)-At,$e=Math.min($e+Dt,Ue)-Dt,xe=Math.max(xe,0),$e=Math.max($e,0),[xe,$e]}function calcTooltipPosition(xe,$e,Ie,Fe){var Ue=Ie[0],qe=Ie[1],At=Math.ceil(Math.SQRT2*Fe)+8,Dt=0,Lt=0,jt=$e.width,hn=$e.height;switch(xe){case"inside":Dt=$e.x+jt/2-Ue/2,Lt=$e.y+hn/2-qe/2;break;case"top":Dt=$e.x+jt/2-Ue/2,Lt=$e.y-qe-At;break;case"bottom":Dt=$e.x+jt/2-Ue/2,Lt=$e.y+hn+At;break;case"left":Dt=$e.x-Ue-At,Lt=$e.y+hn/2-qe/2;break;case"right":Dt=$e.x+jt+At,Lt=$e.y+hn/2-qe/2}return[Dt,Lt]}function isCenterAlign(xe){return xe==="center"||xe==="middle"}function findComponentReference(xe,$e,Ie){var Fe=preParseFinder(xe).queryOptionMap,Ue=Fe.keys()[0];if(!(!Ue||Ue==="series")){var qe=queryReferringComponents($e,Ue,Fe.get(Ue),{useDefault:!1,enableAll:!1,enableNone:!1}),At=qe.models[0];if(At){var Dt=Ie.getViewOfComponentModel(At),Lt;if(Dt.group.traverse(function(jt){var hn=getECData(jt).tooltipConfig;if(hn&&hn.name===xe.name)return Lt=jt,!0}),Lt)return{componentMainType:Ue,componentIndex:At.componentIndex,el:Lt}}}}function install$j(xe){use(install$r),xe.registerComponentModel(TooltipModel),xe.registerComponentView(TooltipView),xe.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),xe.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var DEFAULT_TOOLBOX_BTNS=["rect","polygon","keep","clear"];function brushPreprocessor(xe,$e){var Ie=normalizeToArray(xe?xe.brush:[]);if(Ie.length){var Fe=[];each$f(Ie,function(Lt){var jt=Lt.hasOwnProperty("toolbox")?Lt.toolbox:[];jt instanceof Array&&(Fe=Fe.concat(jt))});var Ue=xe&&xe.toolbox;isArray$1(Ue)&&(Ue=Ue[0]),Ue||(Ue={feature:{}},xe.toolbox=[Ue]);var qe=Ue.feature||(Ue.feature={}),At=qe.brush||(qe.brush={}),Dt=At.type||(At.type=[]);Dt.push.apply(Dt,Fe),removeDuplicate(Dt),$e&&!Dt.length&&Dt.push.apply(Dt,DEFAULT_TOOLBOX_BTNS)}}function removeDuplicate(xe){var $e={};each$f(xe,function(Ie){$e[Ie]=1}),xe.length=0,each$f($e,function(Ie,Fe){xe.push(Fe)})}var each$4=each$f;function hasKeys(xe){if(xe){for(var $e in xe)if(xe.hasOwnProperty($e))return!0}}function createVisualMappings(xe,$e,Ie){var Fe={};return each$4($e,function(qe){var At=Fe[qe]=Ue();each$4(xe[qe],function(Dt,Lt){if(VisualMapping.isValidType(Lt)){var jt={type:Lt,visual:Dt};Ie&&Ie(jt,qe),At[Lt]=new VisualMapping(jt),Lt==="opacity"&&(jt=clone$4(jt),jt.type="colorAlpha",At.__hidden.__alphaForOpacity=new VisualMapping(jt))}})}),Fe;function Ue(){var qe=function(){};qe.prototype.__hidden=qe.prototype;var At=new qe;return At}}function replaceVisualOption(xe,$e,Ie){var Fe;each$f(Ie,function(Ue){$e.hasOwnProperty(Ue)&&hasKeys($e[Ue])&&(Fe=!0)}),Fe&&each$f(Ie,function(Ue){$e.hasOwnProperty(Ue)&&hasKeys($e[Ue])?xe[Ue]=clone$4($e[Ue]):delete xe[Ue]})}function applyVisual(xe,$e,Ie,Fe,Ue,qe){var At={};each$f(xe,function(vn){var bn=VisualMapping.prepareVisualTypes($e[vn]);At[vn]=bn});var Dt;function Lt(vn){return getItemVisualFromData(Ie,Dt,vn)}function jt(vn,bn){setItemVisualFromData(Ie,Dt,vn,bn)}Ie.each(hn);function hn(vn,bn){Dt=vn;var _n=Ie.getRawDataItem(Dt);if(!(_n&&_n.visualMap===!1))for(var wn=Fe.call(Ue,vn),kn=$e[wn],Cn=At[wn],Sn=0,xn=Cn.length;Sn$e[0][1]&&($e[0][1]=qe[0]),qe[1]<$e[1][0]&&($e[1][0]=qe[1]),qe[1]>$e[1][1]&&($e[1][1]=qe[1])}return $e&&getBoundingRectFromMinMax($e)}};function getBoundingRectFromMinMax(xe){return new BoundingRect(xe[0][0],xe[1][0],xe[0][1]-xe[0][0],xe[1][1]-xe[1][0])}var BrushView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){this.ecModel=Ie,this.api=Fe,this.model,(this._brushController=new BrushController(Fe.getZr())).on("brush",bind$1(this._onBrush,this)).mount()},$e.prototype.render=function(Ie,Fe,Ue,qe){this.model=Ie,this._updateController(Ie,Fe,Ue,qe)},$e.prototype.updateTransform=function(Ie,Fe,Ue,qe){layoutCovers(Fe),this._updateController(Ie,Fe,Ue,qe)},$e.prototype.updateVisual=function(Ie,Fe,Ue,qe){this.updateTransform(Ie,Fe,Ue,qe)},$e.prototype.updateView=function(Ie,Fe,Ue,qe){this._updateController(Ie,Fe,Ue,qe)},$e.prototype._updateController=function(Ie,Fe,Ue,qe){(!qe||qe.$from!==Ie.id)&&this._brushController.setPanels(Ie.brushTargetManager.makePanelOpts(Ue)).enableBrush(Ie.brushOption).updateCovers(Ie.areas.slice())},$e.prototype.dispose=function(){this._brushController.dispose()},$e.prototype._onBrush=function(Ie){var Fe=this.model.id,Ue=this.model.brushTargetManager.setOutputRanges(Ie.areas,this.ecModel);(!Ie.isEnd||Ie.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:Fe,areas:clone$4(Ue),$from:Fe}),Ie.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:Fe,areas:clone$4(Ue),$from:Fe})},$e.type="brush",$e}(ComponentView),DEFAULT_OUT_OF_BRUSH_COLOR="#ddd",BrushModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.areas=[],Ie.brushOption={},Ie}return $e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,["inBrush","outOfBrush"]);var qe=Ue.inBrush=Ue.inBrush||{};Ue.outOfBrush=Ue.outOfBrush||{color:DEFAULT_OUT_OF_BRUSH_COLOR},qe.hasOwnProperty("liftZ")||(qe.liftZ=5)},$e.prototype.setAreas=function(Ie){Ie&&(this.areas=map$1(Ie,function(Fe){return generateBrushOption(this.option,Fe)},this))},$e.prototype.setBrushOption=function(Ie){this.brushOption=generateBrushOption(this.option,Ie),this.brushType=this.brushOption.brushType},$e.type="brush",$e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],$e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},$e}(ComponentModel);function generateBrushOption(xe,$e){return merge({brushType:xe.brushType,brushMode:xe.brushMode,transformable:xe.transformable,brushStyle:new Model(xe.brushStyle).getItemStyle(),removeOnClick:xe.removeOnClick,z:xe.z},$e,!0)}var ICON_TYPES=["rect","polygon","lineX","lineY","keep","clear"],BrushFeature=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue){var qe,At,Dt;Fe.eachComponent({mainType:"brush"},function(Lt){qe=Lt.brushType,At=Lt.brushOption.brushMode||"single",Dt=Dt||!!Lt.areas.length}),this._brushType=qe,this._brushMode=At,each$f(Ie.get("type",!0),function(Lt){Ie.setIconStatus(Lt,(Lt==="keep"?At==="multiple":Lt==="clear"?Dt:Lt===qe)?"emphasis":"normal")})},$e.prototype.updateView=function(Ie,Fe,Ue){this.render(Ie,Fe,Ue)},$e.prototype.getIcons=function(){var Ie=this.model,Fe=Ie.get("icon",!0),Ue={};return each$f(Ie.get("type",!0),function(qe){Fe[qe]&&(Ue[qe]=Fe[qe])}),Ue},$e.prototype.onclick=function(Ie,Fe,Ue){var qe=this._brushType,At=this._brushMode;Ue==="clear"?(Fe.dispatchAction({type:"axisAreaSelect",intervals:[]}),Fe.dispatchAction({type:"brush",command:"clear",areas:[]})):Fe.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:Ue==="keep"?qe:qe===Ue?!1:Ue,brushMode:Ue==="keep"?At==="multiple"?"single":"multiple":At}})},$e.getDefaultOption=function(Ie){var Fe={show:!0,type:ICON_TYPES.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:Ie.getLocaleModel().get(["toolbox","brush","title"])};return Fe},$e}(ToolboxFeature);function install$i(xe){xe.registerComponentView(BrushView),xe.registerComponentModel(BrushModel),xe.registerPreprocessor(brushPreprocessor),xe.registerVisual(xe.PRIORITY.VISUAL.BRUSH,brushVisual),xe.registerAction({type:"brush",event:"brush",update:"updateVisual"},function($e,Ie){Ie.eachComponent({mainType:"brush",query:$e},function(Fe){Fe.setAreas($e.areas)})}),xe.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},noop),xe.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},noop),registerFeature("brush",BrushFeature)}var TitleModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode={type:"box",ignoreSize:!0},Ie}return $e.type="title",$e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},$e}(ComponentModel),TitleView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(this.group.removeAll(),!!Ie.get("show")){var qe=this.group,At=Ie.getModel("textStyle"),Dt=Ie.getModel("subtextStyle"),Lt=Ie.get("textAlign"),jt=retrieve2(Ie.get("textBaseline"),Ie.get("textVerticalAlign")),hn=new ZRText({style:createTextStyle(At,{text:Ie.get("text"),fill:At.getTextColor()},{disableBox:!0}),z2:10}),vn=hn.getBoundingRect(),bn=Ie.get("subtext"),_n=new ZRText({style:createTextStyle(Dt,{text:bn,fill:Dt.getTextColor(),y:vn.height+Ie.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),wn=Ie.get("link"),kn=Ie.get("sublink"),Cn=Ie.get("triggerEvent",!0);hn.silent=!wn&&!Cn,_n.silent=!kn&&!Cn,wn&&hn.on("click",function(){windowOpen(wn,"_"+Ie.get("target"))}),kn&&_n.on("click",function(){windowOpen(kn,"_"+Ie.get("subtarget"))}),getECData(hn).eventData=getECData(_n).eventData=Cn?{componentType:"title",componentIndex:Ie.componentIndex}:null,qe.add(hn),bn&&qe.add(_n);var Sn=qe.getBoundingRect(),xn=Ie.getBoxLayoutParams();xn.width=Sn.width,xn.height=Sn.height;var En=getLayoutRect(xn,{width:Ue.getWidth(),height:Ue.getHeight()},Ie.get("padding"));Lt||(Lt=Ie.get("left")||Ie.get("right"),Lt==="middle"&&(Lt="center"),Lt==="right"?En.x+=En.width:Lt==="center"&&(En.x+=En.width/2)),jt||(jt=Ie.get("top")||Ie.get("bottom"),jt==="center"&&(jt="middle"),jt==="bottom"?En.y+=En.height:jt==="middle"&&(En.y+=En.height/2),jt=jt||"top"),qe.x=En.x,qe.y=En.y,qe.markRedraw();var Tn={align:Lt,verticalAlign:jt};hn.setStyle(Tn),_n.setStyle(Tn),Sn=qe.getBoundingRect();var An=En.margin,$n=Ie.getItemStyle(["color","opacity"]);$n.fill=Ie.get("backgroundColor");var Pn=new Rect$2({shape:{x:Sn.x-An[3],y:Sn.y-An[0],width:Sn.width+An[1]+An[3],height:Sn.height+An[0]+An[2],r:Ie.get("borderRadius")},style:$n,subPixelOptimize:!0,silent:!0});qe.add(Pn)}},$e.type="title",$e}(ComponentView);function install$h(xe){xe.registerComponentModel(TitleModel),xe.registerComponentView(TitleView)}var TimelineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode="box",Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue),this._initData()},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),this._initData()},$e.prototype.setCurrentIndex=function(Ie){Ie==null&&(Ie=this.option.currentIndex);var Fe=this._data.count();this.option.loop?Ie=(Ie%Fe+Fe)%Fe:(Ie>=Fe&&(Ie=Fe-1),Ie<0&&(Ie=0)),this.option.currentIndex=Ie},$e.prototype.getCurrentIndex=function(){return this.option.currentIndex},$e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},$e.prototype.setPlayState=function(Ie){this.option.autoPlay=!!Ie},$e.prototype.getPlayState=function(){return!!this.option.autoPlay},$e.prototype._initData=function(){var Ie=this.option,Fe=Ie.data||[],Ue=Ie.axisType,qe=this._names=[],At;Ue==="category"?(At=[],each$f(Fe,function(jt,hn){var vn=convertOptionIdName(getDataItemValue(jt),""),bn;isObject$3(jt)?(bn=clone$4(jt),bn.value=hn):bn=hn,At.push(bn),qe.push(vn)})):At=Fe;var Dt={category:"ordinal",time:"time",value:"number"}[Ue]||"number",Lt=this._data=new SeriesData([{name:"value",type:Dt}],this);Lt.initData(At,qe)},$e.prototype.getData=function(){return this._data},$e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},$e.type="timeline",$e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},$e}(ComponentModel),SliderTimelineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="timeline.slider",$e.defaultOption=inheritDefaultOption(TimelineModel.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),$e}(TimelineModel);mixin(SliderTimelineModel,DataFormatMixin.prototype);var TimelineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="timeline",$e}(ComponentView),TimelineAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this,Ie,Fe,Ue)||this;return At.type=qe||"value",At}return $e.prototype.getLabelModel=function(){return this.model.getModel("label")},$e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},$e}(Axis),PI=Math.PI,labelDataIndexStore=makeInner(),SliderTimelineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe},$e.prototype.render=function(Ie,Fe,Ue){if(this.model=Ie,this.api=Ue,this.ecModel=Fe,this.group.removeAll(),Ie.get("show",!0)){var qe=this._layout(Ie,Ue),At=this._createGroup("_mainGroup"),Dt=this._createGroup("_labelGroup"),Lt=this._axis=this._createAxis(qe,Ie);Ie.formatTooltip=function(jt){var hn=Lt.scale.getLabel({value:jt});return createTooltipMarkup("nameValue",{noName:!0,value:hn})},each$f(["AxisLine","AxisTick","Control","CurrentPointer"],function(jt){this["_render"+jt](qe,At,Lt,Ie)},this),this._renderAxisLabel(qe,Dt,Lt,Ie),this._position(qe,Ie)}this._doPlayStop(),this._updateTicksStatus()},$e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},$e.prototype.dispose=function(){this._clearTimer()},$e.prototype._layout=function(Ie,Fe){var Ue=Ie.get(["label","position"]),qe=Ie.get("orient"),At=getViewRect(Ie,Fe),Dt;Ue==null||Ue==="auto"?Dt=qe==="horizontal"?At.y+At.height/2=0||Dt==="+"?"left":"right"},jt={horizontal:Dt>=0||Dt==="+"?"top":"bottom",vertical:"middle"},hn={horizontal:0,vertical:PI/2},vn=qe==="vertical"?At.height:At.width,bn=Ie.getModel("controlStyle"),_n=bn.get("show",!0),wn=_n?bn.get("itemSize"):0,kn=_n?bn.get("itemGap"):0,Cn=wn+kn,Sn=Ie.get(["label","rotate"])||0;Sn=Sn*PI/180;var xn,En,Tn,An=bn.get("position",!0),$n=_n&&bn.get("showPlayBtn",!0),Pn=_n&&bn.get("showPrevBtn",!0),Nn=_n&&bn.get("showNextBtn",!0),Mn=0,In=vn;An==="left"||An==="bottom"?($n&&(xn=[0,0],Mn+=Cn),Pn&&(En=[Mn,0],Mn+=Cn),Nn&&(Tn=[In-wn,0],In-=Cn)):($n&&(xn=[In-wn,0],In-=Cn),Pn&&(En=[0,0],Mn+=Cn),Nn&&(Tn=[In-wn,0],In-=Cn));var On=[Mn,In];return Ie.get("inverse")&&On.reverse(),{viewRect:At,mainLength:vn,orient:qe,rotation:hn[qe],labelRotation:Sn,labelPosOpt:Dt,labelAlign:Ie.get(["label","align"])||Lt[qe],labelBaseline:Ie.get(["label","verticalAlign"])||Ie.get(["label","baseline"])||jt[qe],playPosition:xn,prevBtnPosition:En,nextBtnPosition:Tn,axisExtent:On,controlSize:wn,controlGap:kn}},$e.prototype._position=function(Ie,Fe){var Ue=this._mainGroup,qe=this._labelGroup,At=Ie.viewRect;if(Ie.orient==="vertical"){var Dt=create$1(),Lt=At.x,jt=At.y+At.height;translate(Dt,Dt,[-Lt,-jt]),rotate(Dt,Dt,-PI/2),translate(Dt,Dt,[Lt,jt]),At=At.clone(),At.applyTransform(Dt)}var hn=xn(At),vn=xn(Ue.getBoundingRect()),bn=xn(qe.getBoundingRect()),_n=[Ue.x,Ue.y],wn=[qe.x,qe.y];wn[0]=_n[0]=hn[0][0];var kn=Ie.labelPosOpt;if(kn==null||isString(kn)){var Cn=kn==="+"?0:1;En(_n,vn,hn,1,Cn),En(wn,bn,hn,1,1-Cn)}else{var Cn=kn>=0?0:1;En(_n,vn,hn,1,Cn),wn[1]=_n[1]+kn}Ue.setPosition(_n),qe.setPosition(wn),Ue.rotation=qe.rotation=Ie.rotation,Sn(Ue),Sn(qe);function Sn(Tn){Tn.originX=hn[0][0]-Tn.x,Tn.originY=hn[1][0]-Tn.y}function xn(Tn){return[[Tn.x,Tn.x+Tn.width],[Tn.y,Tn.y+Tn.height]]}function En(Tn,An,$n,Pn,Nn){Tn[Pn]+=$n[Pn][Nn]-An[Pn][Nn]}},$e.prototype._createAxis=function(Ie,Fe){var Ue=Fe.getData(),qe=Fe.get("axisType"),At=createScaleByModel(Fe,qe);At.getTicks=function(){return Ue.mapArray(["value"],function(jt){return{value:jt}})};var Dt=Ue.getDataExtent("value");At.setExtent(Dt[0],Dt[1]),At.calcNiceTicks();var Lt=new TimelineAxis("value",At,Ie.axisExtent,qe);return Lt.model=Fe,Lt},$e.prototype._createGroup=function(Ie){var Fe=this[Ie]=new Group$3;return this.group.add(Fe),Fe},$e.prototype._renderAxisLine=function(Ie,Fe,Ue,qe){var At=Ue.getExtent();if(qe.get(["lineStyle","show"])){var Dt=new Line$1({shape:{x1:At[0],y1:0,x2:At[1],y2:0},style:extend({lineCap:"round"},qe.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});Fe.add(Dt);var Lt=this._progressLine=new Line$1({shape:{x1:At[0],x2:this._currentPointer?this._currentPointer.x:At[0],y1:0,y2:0},style:defaults({lineCap:"round",lineWidth:Dt.style.lineWidth},qe.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});Fe.add(Lt)}},$e.prototype._renderAxisTick=function(Ie,Fe,Ue,qe){var At=this,Dt=qe.getData(),Lt=Ue.scale.getTicks();this._tickSymbols=[],each$f(Lt,function(jt){var hn=Ue.dataToCoord(jt.value),vn=Dt.getItemModel(jt.value),bn=vn.getModel("itemStyle"),_n=vn.getModel(["emphasis","itemStyle"]),wn=vn.getModel(["progress","itemStyle"]),kn={x:hn,y:0,onclick:bind$1(At._changeTimeline,At,jt.value)},Cn=giveSymbol(vn,bn,Fe,kn);Cn.ensureState("emphasis").style=_n.getItemStyle(),Cn.ensureState("progress").style=wn.getItemStyle(),enableHoverEmphasis(Cn);var Sn=getECData(Cn);vn.get("tooltip")?(Sn.dataIndex=jt.value,Sn.dataModel=qe):Sn.dataIndex=Sn.dataModel=null,At._tickSymbols.push(Cn)})},$e.prototype._renderAxisLabel=function(Ie,Fe,Ue,qe){var At=this,Dt=Ue.getLabelModel();if(Dt.get("show")){var Lt=qe.getData(),jt=Ue.getViewLabels();this._tickLabels=[],each$f(jt,function(hn){var vn=hn.tickValue,bn=Lt.getItemModel(vn),_n=bn.getModel("label"),wn=bn.getModel(["emphasis","label"]),kn=bn.getModel(["progress","label"]),Cn=Ue.dataToCoord(hn.tickValue),Sn=new ZRText({x:Cn,y:0,rotation:Ie.labelRotation-Ie.rotation,onclick:bind$1(At._changeTimeline,At,vn),silent:!1,style:createTextStyle(_n,{text:hn.formattedLabel,align:Ie.labelAlign,verticalAlign:Ie.labelBaseline})});Sn.ensureState("emphasis").style=createTextStyle(wn),Sn.ensureState("progress").style=createTextStyle(kn),Fe.add(Sn),enableHoverEmphasis(Sn),labelDataIndexStore(Sn).dataIndex=vn,At._tickLabels.push(Sn)})}},$e.prototype._renderControl=function(Ie,Fe,Ue,qe){var At=Ie.controlSize,Dt=Ie.rotation,Lt=qe.getModel("controlStyle").getItemStyle(),jt=qe.getModel(["emphasis","controlStyle"]).getItemStyle(),hn=qe.getPlayState(),vn=qe.get("inverse",!0);bn(Ie.nextBtnPosition,"next",bind$1(this._changeTimeline,this,vn?"-":"+")),bn(Ie.prevBtnPosition,"prev",bind$1(this._changeTimeline,this,vn?"+":"-")),bn(Ie.playPosition,hn?"stop":"play",bind$1(this._handlePlayClick,this,!hn),!0);function bn(_n,wn,kn,Cn){if(_n){var Sn=parsePercent$1(retrieve2(qe.get(["controlStyle",wn+"BtnSize"]),At),At),xn=[0,-Sn/2,Sn,Sn],En=makeControlIcon(qe,wn+"Icon",xn,{x:_n[0],y:_n[1],originX:At/2,originY:0,rotation:Cn?-Dt:0,rectHover:!0,style:Lt,onclick:kn});En.ensureState("emphasis").style=jt,Fe.add(En),enableHoverEmphasis(En)}}},$e.prototype._renderCurrentPointer=function(Ie,Fe,Ue,qe){var At=qe.getData(),Dt=qe.getCurrentIndex(),Lt=At.getItemModel(Dt).getModel("checkpointStyle"),jt=this,hn={onCreate:function(vn){vn.draggable=!0,vn.drift=bind$1(jt._handlePointerDrag,jt),vn.ondragend=bind$1(jt._handlePointerDragend,jt),pointerMoveTo(vn,jt._progressLine,Dt,Ue,qe,!0)},onUpdate:function(vn){pointerMoveTo(vn,jt._progressLine,Dt,Ue,qe)}};this._currentPointer=giveSymbol(Lt,Lt,this._mainGroup,{},this._currentPointer,hn)},$e.prototype._handlePlayClick=function(Ie){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:Ie,from:this.uid})},$e.prototype._handlePointerDrag=function(Ie,Fe,Ue){this._clearTimer(),this._pointerChangeTimeline([Ue.offsetX,Ue.offsetY])},$e.prototype._handlePointerDragend=function(Ie){this._pointerChangeTimeline([Ie.offsetX,Ie.offsetY],!0)},$e.prototype._pointerChangeTimeline=function(Ie,Fe){var Ue=this._toAxisCoord(Ie)[0],qe=this._axis,At=asc$2(qe.getExtent().slice());Ue>At[1]&&(Ue=At[1]),Ue=0&&(At[qe]=+At[qe].toFixed(bn)),[At,vn]}var markerTypeCalculator={min:curry$1(markerTypeCalculatorWithExtent,"min"),max:curry$1(markerTypeCalculatorWithExtent,"max"),average:curry$1(markerTypeCalculatorWithExtent,"average"),median:curry$1(markerTypeCalculatorWithExtent,"median")};function dataTransform(xe,$e){if($e){var Ie=xe.getData(),Fe=xe.coordinateSystem,Ue=Fe&&Fe.dimensions;if(!hasXAndY($e)&&!isArray$1($e.coord)&&isArray$1(Ue)){var qe=getAxisInfo($e,Ie,Fe,xe);if($e=clone$4($e),$e.type&&markerTypeCalculator[$e.type]&&qe.baseAxis&&qe.valueAxis){var At=indexOf(Ue,qe.baseAxis.dim),Dt=indexOf(Ue,qe.valueAxis.dim),Lt=markerTypeCalculator[$e.type](Ie,qe.baseDataDim,qe.valueDataDim,At,Dt);$e.coord=Lt[0],$e.value=Lt[1]}else $e.coord=[$e.xAxis!=null?$e.xAxis:$e.radiusAxis,$e.yAxis!=null?$e.yAxis:$e.angleAxis]}if($e.coord==null||!isArray$1(Ue))$e.coord=[];else for(var jt=$e.coord,hn=0;hn<2;hn++)markerTypeCalculator[jt[hn]]&&(jt[hn]=numCalculate(Ie,Ie.mapDimension(Ue[hn]),jt[hn]));return $e}}function getAxisInfo(xe,$e,Ie,Fe){var Ue={};return xe.valueIndex!=null||xe.valueDim!=null?(Ue.valueDataDim=xe.valueIndex!=null?$e.getDimension(xe.valueIndex):xe.valueDim,Ue.valueAxis=Ie.getAxis(dataDimToCoordDim(Fe,Ue.valueDataDim)),Ue.baseAxis=Ie.getOtherAxis(Ue.valueAxis),Ue.baseDataDim=$e.mapDimension(Ue.baseAxis.dim)):(Ue.baseAxis=Fe.getBaseAxis(),Ue.valueAxis=Ie.getOtherAxis(Ue.baseAxis),Ue.baseDataDim=$e.mapDimension(Ue.baseAxis.dim),Ue.valueDataDim=$e.mapDimension(Ue.valueAxis.dim)),Ue}function dataDimToCoordDim(xe,$e){var Ie=xe.getData().getDimensionInfo($e);return Ie&&Ie.coordDim}function dataFilter(xe,$e){return xe&&xe.containData&&$e.coord&&!hasXOrY($e)?xe.containData($e.coord):!0}function zoneFilter(xe,$e,Ie){return xe&&xe.containZone&&$e.coord&&Ie.coord&&!hasXOrY($e)&&!hasXOrY(Ie)?xe.containZone($e.coord,Ie.coord):!0}function createMarkerDimValueGetter(xe,$e){return xe?function(Ie,Fe,Ue,qe){var At=qe<2?Ie.coord&&Ie.coord[qe]:Ie.value;return parseDataValue(At,$e[qe])}:function(Ie,Fe,Ue,qe){return parseDataValue(Ie.value,$e[qe])}}function numCalculate(xe,$e,Ie){if(Ie==="average"){var Fe=0,Ue=0;return xe.each($e,function(qe,At){isNaN(qe)||(Fe+=qe,Ue++)}),Fe/Ue}else return Ie==="median"?xe.getMedian($e):xe.getDataExtent($e)[Ie==="max"?1:0]}var inner$4=makeInner(),MarkerView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){this.markerGroupMap=createHashMap()},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=this.markerGroupMap;At.each(function(Dt){inner$4(Dt).keep=!1}),Fe.eachSeries(function(Dt){var Lt=MarkerModel.getMarkerModelFromSeries(Dt,qe.type);Lt&&qe.renderSeries(Dt,Lt,Fe,Ue)}),At.each(function(Dt){!inner$4(Dt).keep&&qe.group.remove(Dt.group)})},$e.prototype.markKeep=function(Ie){inner$4(Ie).keep=!0},$e.prototype.toggleBlurSeries=function(Ie,Fe){var Ue=this;each$f(Ie,function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,Ue.type);if(At){var Dt=At.getData();Dt.eachItemGraphicEl(function(Lt){Lt&&(Fe?enterBlur(Lt):leaveBlur(Lt))})}})},$e.type="marker",$e}(ComponentView);function updateMarkerLayout(xe,$e,Ie){var Fe=$e.coordinateSystem;xe.each(function(Ue){var qe=xe.getItemModel(Ue),At,Dt=parsePercent(qe.get("x"),Ie.getWidth()),Lt=parsePercent(qe.get("y"),Ie.getHeight());if(!isNaN(Dt)&&!isNaN(Lt))At=[Dt,Lt];else if($e.getMarkerPosition)At=$e.getMarkerPosition(xe.getValues(xe.dimensions,Ue));else if(Fe){var jt=xe.get(Fe.dimensions[0],Ue),hn=xe.get(Fe.dimensions[1],Ue);At=Fe.dataToPoint([jt,hn])}isNaN(Dt)||(At[0]=Dt),isNaN(Lt)||(At[1]=Lt),xe.setItemLayout(Ue,At)})}var MarkPointView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markPoint");At&&(updateMarkerLayout(At.getData(),qe,Ue),this.markerGroupMap.get(qe.id).updateLayout())},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,new SymbolDraw),vn=createData(At,Ie,Fe);Fe.setData(vn),updateMarkerLayout(Fe.getData(),Ie,qe),vn.each(function(bn){var _n=vn.getItemModel(bn),wn=_n.getShallow("symbol"),kn=_n.getShallow("symbolSize"),Cn=_n.getShallow("symbolRotate"),Sn=_n.getShallow("symbolOffset"),xn=_n.getShallow("symbolKeepAspect");if(isFunction(wn)||isFunction(kn)||isFunction(Cn)||isFunction(Sn)){var En=Fe.getRawValue(bn),Tn=Fe.getDataParams(bn);isFunction(wn)&&(wn=wn(En,Tn)),isFunction(kn)&&(kn=kn(En,Tn)),isFunction(Cn)&&(Cn=Cn(En,Tn)),isFunction(Sn)&&(Sn=Sn(En,Tn))}var An=_n.getModel("itemStyle").getItemStyle(),$n=getVisualFromData(Lt,"color");An.fill||(An.fill=$n),vn.setItemVisual(bn,{symbol:wn,symbolSize:kn,symbolRotate:Cn,symbolOffset:Sn,symbolKeepAspect:xn,style:An})}),hn.updateData(vn),this.group.add(hn.group),vn.eachItemGraphicEl(function(bn){bn.traverse(function(_n){getECData(_n).dataModel=Fe})}),this.markKeep(hn),hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markPoint",$e}(MarkerView);function createData(xe,$e,Ie){var Fe;xe?Fe=map$1(xe&&xe.dimensions,function(Dt){var Lt=$e.getData().getDimensionInfo($e.getData().mapDimension(Dt))||{};return extend(extend({},Lt),{name:Dt,ordinalMeta:null})}):Fe=[{name:"value",type:"float"}];var Ue=new SeriesData(Fe,Ie),qe=map$1(Ie.get("data"),curry$1(dataTransform,$e));xe&&(qe=filter(qe,curry$1(dataFilter,xe)));var At=createMarkerDimValueGetter(!!xe,Fe);return Ue.initData(qe,null,At),Ue}function install$f(xe){xe.registerComponentModel(MarkPointModel),xe.registerComponentView(MarkPointView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markPoint")&&($e.markPoint=$e.markPoint||{})})}var MarkLineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markLine",$e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},$e}(MarkerModel),inner$3=makeInner(),markLineTransform=function(xe,$e,Ie,Fe){var Ue=xe.getData(),qe;if(isArray$1(Fe))qe=Fe;else{var At=Fe.type;if(At==="min"||At==="max"||At==="average"||At==="median"||Fe.xAxis!=null||Fe.yAxis!=null){var Dt=void 0,Lt=void 0;if(Fe.yAxis!=null||Fe.xAxis!=null)Dt=$e.getAxis(Fe.yAxis!=null?"y":"x"),Lt=retrieve(Fe.yAxis,Fe.xAxis);else{var jt=getAxisInfo(Fe,Ue,$e,xe);Dt=jt.valueAxis;var hn=getStackedDimension(Ue,jt.valueDataDim);Lt=numCalculate(Ue,hn,At)}var vn=Dt.dim==="x"?0:1,bn=1-vn,_n=clone$4(Fe),wn={coord:[]};_n.type=null,_n.coord=[],_n.coord[bn]=-1/0,wn.coord[bn]=1/0;var kn=Ie.get("precision");kn>=0&&isNumber(Lt)&&(Lt=+Lt.toFixed(Math.min(kn,20))),_n.coord[vn]=wn.coord[vn]=Lt,qe=[_n,wn,{type:At,valueIndex:Fe.valueIndex,value:Lt}]}else qe=[]}var Cn=[dataTransform(xe,qe[0]),dataTransform(xe,qe[1]),extend({},qe[2])];return Cn[2].type=Cn[2].type||null,merge(Cn[2],Cn[0]),merge(Cn[2],Cn[1]),Cn};function isInfinity$1(xe){return!isNaN(xe)&&!isFinite(xe)}function ifMarkLineHasOnlyDim(xe,$e,Ie,Fe){var Ue=1-xe,qe=Fe.dimensions[xe];return isInfinity$1($e[Ue])&&isInfinity$1(Ie[Ue])&&$e[xe]===Ie[xe]&&Fe.getAxis(qe).containData($e[xe])}function markLineFilter(xe,$e){if(xe.type==="cartesian2d"){var Ie=$e[0].coord,Fe=$e[1].coord;if(Ie&&Fe&&(ifMarkLineHasOnlyDim(1,Ie,Fe,xe)||ifMarkLineHasOnlyDim(0,Ie,Fe,xe)))return!0}return dataFilter(xe,$e[0])&&dataFilter(xe,$e[1])}function updateSingleMarkerEndLayout(xe,$e,Ie,Fe,Ue){var qe=Fe.coordinateSystem,At=xe.getItemModel($e),Dt,Lt=parsePercent(At.get("x"),Ue.getWidth()),jt=parsePercent(At.get("y"),Ue.getHeight());if(!isNaN(Lt)&&!isNaN(jt))Dt=[Lt,jt];else{if(Fe.getMarkerPosition)Dt=Fe.getMarkerPosition(xe.getValues(xe.dimensions,$e));else{var hn=qe.dimensions,vn=xe.get(hn[0],$e),bn=xe.get(hn[1],$e);Dt=qe.dataToPoint([vn,bn])}if(isCoordinateSystemType(qe,"cartesian2d")){var _n=qe.getAxis("x"),wn=qe.getAxis("y"),hn=qe.dimensions;isInfinity$1(xe.get(hn[0],$e))?Dt[0]=_n.toGlobalCoord(_n.getExtent()[Ie?0:1]):isInfinity$1(xe.get(hn[1],$e))&&(Dt[1]=wn.toGlobalCoord(wn.getExtent()[Ie?0:1]))}isNaN(Lt)||(Dt[0]=Lt),isNaN(jt)||(Dt[1]=jt)}xe.setItemLayout($e,Dt)}var MarkLineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markLine");if(At){var Dt=At.getData(),Lt=inner$3(At).from,jt=inner$3(At).to;Lt.each(function(hn){updateSingleMarkerEndLayout(Lt,hn,!0,qe,Ue),updateSingleMarkerEndLayout(jt,hn,!1,qe,Ue)}),Dt.each(function(hn){Dt.setItemLayout(hn,[Lt.getItemLayout(hn),jt.getItemLayout(hn)])}),this.markerGroupMap.get(qe.id).updateLayout()}},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,new LineDraw);this.group.add(hn.group);var vn=createList$1(At,Ie,Fe),bn=vn.from,_n=vn.to,wn=vn.line;inner$3(Fe).from=bn,inner$3(Fe).to=_n,Fe.setData(wn);var kn=Fe.get("symbol"),Cn=Fe.get("symbolSize"),Sn=Fe.get("symbolRotate"),xn=Fe.get("symbolOffset");isArray$1(kn)||(kn=[kn,kn]),isArray$1(Cn)||(Cn=[Cn,Cn]),isArray$1(Sn)||(Sn=[Sn,Sn]),isArray$1(xn)||(xn=[xn,xn]),vn.from.each(function(Tn){En(bn,Tn,!0),En(_n,Tn,!1)}),wn.each(function(Tn){var An=wn.getItemModel(Tn).getModel("lineStyle").getLineStyle();wn.setItemLayout(Tn,[bn.getItemLayout(Tn),_n.getItemLayout(Tn)]),An.stroke==null&&(An.stroke=bn.getItemVisual(Tn,"style").fill),wn.setItemVisual(Tn,{fromSymbolKeepAspect:bn.getItemVisual(Tn,"symbolKeepAspect"),fromSymbolOffset:bn.getItemVisual(Tn,"symbolOffset"),fromSymbolRotate:bn.getItemVisual(Tn,"symbolRotate"),fromSymbolSize:bn.getItemVisual(Tn,"symbolSize"),fromSymbol:bn.getItemVisual(Tn,"symbol"),toSymbolKeepAspect:_n.getItemVisual(Tn,"symbolKeepAspect"),toSymbolOffset:_n.getItemVisual(Tn,"symbolOffset"),toSymbolRotate:_n.getItemVisual(Tn,"symbolRotate"),toSymbolSize:_n.getItemVisual(Tn,"symbolSize"),toSymbol:_n.getItemVisual(Tn,"symbol"),style:An})}),hn.updateData(wn),vn.line.eachItemGraphicEl(function(Tn){getECData(Tn).dataModel=Fe,Tn.traverse(function(An){getECData(An).dataModel=Fe})});function En(Tn,An,$n){var Pn=Tn.getItemModel(An);updateSingleMarkerEndLayout(Tn,An,$n,Ie,qe);var Nn=Pn.getModel("itemStyle").getItemStyle();Nn.fill==null&&(Nn.fill=getVisualFromData(Lt,"color")),Tn.setItemVisual(An,{symbolKeepAspect:Pn.get("symbolKeepAspect"),symbolOffset:retrieve2(Pn.get("symbolOffset",!0),xn[$n?0:1]),symbolRotate:retrieve2(Pn.get("symbolRotate",!0),Sn[$n?0:1]),symbolSize:retrieve2(Pn.get("symbolSize"),Cn[$n?0:1]),symbol:retrieve2(Pn.get("symbol",!0),kn[$n?0:1]),style:Nn})}this.markKeep(hn),hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markLine",$e}(MarkerView);function createList$1(xe,$e,Ie){var Fe;xe?Fe=map$1(xe&&xe.dimensions,function(jt){var hn=$e.getData().getDimensionInfo($e.getData().mapDimension(jt))||{};return extend(extend({},hn),{name:jt,ordinalMeta:null})}):Fe=[{name:"value",type:"float"}];var Ue=new SeriesData(Fe,Ie),qe=new SeriesData(Fe,Ie),At=new SeriesData([],Ie),Dt=map$1(Ie.get("data"),curry$1(markLineTransform,$e,xe,Ie));xe&&(Dt=filter(Dt,curry$1(markLineFilter,xe)));var Lt=createMarkerDimValueGetter(!!xe,Fe);return Ue.initData(map$1(Dt,function(jt){return jt[0]}),null,Lt),qe.initData(map$1(Dt,function(jt){return jt[1]}),null,Lt),At.initData(map$1(Dt,function(jt){return jt[2]})),At.hasItemOption=!0,{from:Ue,to:qe,line:At}}function install$e(xe){xe.registerComponentModel(MarkLineModel),xe.registerComponentView(MarkLineView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markLine")&&($e.markLine=$e.markLine||{})})}var MarkAreaModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markArea",$e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},$e}(MarkerModel),inner$2=makeInner(),markAreaTransform=function(xe,$e,Ie,Fe){var Ue=Fe[0],qe=Fe[1];if(!(!Ue||!qe)){var At=dataTransform(xe,Ue),Dt=dataTransform(xe,qe),Lt=At.coord,jt=Dt.coord;Lt[0]=retrieve(Lt[0],-1/0),Lt[1]=retrieve(Lt[1],-1/0),jt[0]=retrieve(jt[0],1/0),jt[1]=retrieve(jt[1],1/0);var hn=mergeAll([{},At,Dt]);return hn.coord=[At.coord,Dt.coord],hn.x0=At.x,hn.y0=At.y,hn.x1=Dt.x,hn.y1=Dt.y,hn}};function isInfinity(xe){return!isNaN(xe)&&!isFinite(xe)}function ifMarkAreaHasOnlyDim(xe,$e,Ie,Fe){var Ue=1-xe;return isInfinity($e[Ue])&&isInfinity(Ie[Ue])}function markAreaFilter(xe,$e){var Ie=$e.coord[0],Fe=$e.coord[1],Ue={coord:Ie,x:$e.x0,y:$e.y0},qe={coord:Fe,x:$e.x1,y:$e.y1};return isCoordinateSystemType(xe,"cartesian2d")?Ie&&Fe&&(ifMarkAreaHasOnlyDim(1,Ie,Fe)||ifMarkAreaHasOnlyDim(0,Ie,Fe))?!0:zoneFilter(xe,Ue,qe):dataFilter(xe,Ue)||dataFilter(xe,qe)}function getSingleMarkerEndPoint(xe,$e,Ie,Fe,Ue){var qe=Fe.coordinateSystem,At=xe.getItemModel($e),Dt,Lt=parsePercent(At.get(Ie[0]),Ue.getWidth()),jt=parsePercent(At.get(Ie[1]),Ue.getHeight());if(!isNaN(Lt)&&!isNaN(jt))Dt=[Lt,jt];else{if(Fe.getMarkerPosition){var hn=xe.getValues(["x0","y0"],$e),vn=xe.getValues(["x1","y1"],$e),bn=qe.clampData(hn),_n=qe.clampData(vn),wn=[];Ie[0]==="x0"?wn[0]=bn[0]>_n[0]?vn[0]:hn[0]:wn[0]=bn[0]>_n[0]?hn[0]:vn[0],Ie[1]==="y0"?wn[1]=bn[1]>_n[1]?vn[1]:hn[1]:wn[1]=bn[1]>_n[1]?hn[1]:vn[1],Dt=Fe.getMarkerPosition(wn,Ie,!0)}else{var kn=xe.get(Ie[0],$e),Cn=xe.get(Ie[1],$e),Sn=[kn,Cn];qe.clampData&&qe.clampData(Sn,Sn),Dt=qe.dataToPoint(Sn,!0)}if(isCoordinateSystemType(qe,"cartesian2d")){var xn=qe.getAxis("x"),En=qe.getAxis("y"),kn=xe.get(Ie[0],$e),Cn=xe.get(Ie[1],$e);isInfinity(kn)?Dt[0]=xn.toGlobalCoord(xn.getExtent()[Ie[0]==="x0"?0:1]):isInfinity(Cn)&&(Dt[1]=En.toGlobalCoord(En.getExtent()[Ie[1]==="y0"?0:1]))}isNaN(Lt)||(Dt[0]=Lt),isNaN(jt)||(Dt[1]=jt)}return Dt}var dimPermutations=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],MarkAreaView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markArea");if(At){var Dt=At.getData();Dt.each(function(Lt){var jt=map$1(dimPermutations,function(vn){return getSingleMarkerEndPoint(Dt,Lt,vn,qe,Ue)});Dt.setItemLayout(Lt,jt);var hn=Dt.getItemGraphicEl(Lt);hn.setShape("points",jt)})}},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,{group:new Group$3});this.group.add(hn.group),this.markKeep(hn);var vn=createList(At,Ie,Fe);Fe.setData(vn),vn.each(function(bn){var _n=map$1(dimPermutations,function(Nn){return getSingleMarkerEndPoint(vn,bn,Nn,Ie,qe)}),wn=At.getAxis("x").scale,kn=At.getAxis("y").scale,Cn=wn.getExtent(),Sn=kn.getExtent(),xn=[wn.parse(vn.get("x0",bn)),wn.parse(vn.get("x1",bn))],En=[kn.parse(vn.get("y0",bn)),kn.parse(vn.get("y1",bn))];asc$2(xn),asc$2(En);var Tn=!(Cn[0]>xn[1]||Cn[1]En[1]||Sn[1]=0},$e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},$e.type="legend.plain",$e.dependencies=["series"],$e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},$e}(ComponentModel),curry=curry$1,each$3=each$f,Group$1=Group$3,LegendView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.newlineDisabled=!1,Ie}return $e.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},$e.prototype.getContentGroup=function(){return this._contentGroup},$e.prototype.getSelectorGroup=function(){return this._selectorGroup},$e.prototype.render=function(Ie,Fe,Ue){var qe=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!Ie.get("show",!0)){var At=Ie.get("align"),Dt=Ie.get("orient");(!At||At==="auto")&&(At=Ie.get("left")==="right"&&Dt==="vertical"?"right":"left");var Lt=Ie.get("selector",!0),jt=Ie.get("selectorPosition",!0);Lt&&(!jt||jt==="auto")&&(jt=Dt==="horizontal"?"end":"start"),this.renderInner(At,Ie,Fe,Ue,Lt,Dt,jt);var hn=Ie.getBoxLayoutParams(),vn={width:Ue.getWidth(),height:Ue.getHeight()},bn=Ie.get("padding"),_n=getLayoutRect(hn,vn,bn),wn=this.layoutInner(Ie,At,_n,qe,Lt,jt),kn=getLayoutRect(defaults({width:wn.width,height:wn.height},hn),vn,bn);this.group.x=kn.x-wn.x,this.group.y=kn.y-wn.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(wn,Ie))}},$e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},$e.prototype.renderInner=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this.getContentGroup(),hn=createHashMap(),vn=Fe.get("selectedMode"),bn=[];Ue.eachRawSeries(function(_n){!_n.get("legendHoverLink")&&bn.push(_n.id)}),each$3(Fe.getData(),function(_n,wn){var kn=_n.get("name");if(!this.newlineDisabled&&(kn===""||kn===` +`)){var Cn=new Group$1;Cn.newline=!0,jt.add(Cn);return}var Sn=Ue.getSeriesByName(kn)[0];if(!hn.get(kn))if(Sn){var xn=Sn.getData(),En=xn.getVisual("legendLineStyle")||{},Tn=xn.getVisual("legendIcon"),An=xn.getVisual("style"),$n=this._createItem(Sn,kn,wn,_n,Fe,Ie,En,An,Tn,vn,qe);$n.on("click",curry(dispatchSelectAction,kn,null,qe,bn)).on("mouseover",curry(dispatchHighlightAction,Sn.name,null,qe,bn)).on("mouseout",curry(dispatchDownplayAction,Sn.name,null,qe,bn)),Ue.ssr&&$n.eachChild(function(Pn){var Nn=getECData(Pn);Nn.seriesIndex=Sn.seriesIndex,Nn.dataIndex=wn,Nn.ssrType="legend"}),hn.set(kn,!0)}else Ue.eachRawSeries(function(Pn){if(!hn.get(kn)&&Pn.legendVisualProvider){var Nn=Pn.legendVisualProvider;if(!Nn.containName(kn))return;var Mn=Nn.indexOfName(kn),In=Nn.getItemVisual(Mn,"style"),On=Nn.getItemVisual(Mn,"legendIcon"),Rn=parse(In.fill);Rn&&Rn[3]===0&&(Rn[3]=.2,In=extend(extend({},In),{fill:stringify(Rn,"rgba")}));var Bn=this._createItem(Pn,kn,wn,_n,Fe,Ie,{},In,On,vn,qe);Bn.on("click",curry(dispatchSelectAction,null,kn,qe,bn)).on("mouseover",curry(dispatchHighlightAction,null,kn,qe,bn)).on("mouseout",curry(dispatchDownplayAction,null,kn,qe,bn)),Ue.ssr&&Bn.eachChild(function(Vn){var Ln=getECData(Vn);Ln.seriesIndex=Pn.seriesIndex,Ln.dataIndex=wn,Ln.ssrType="legend"}),hn.set(kn,!0)}},this)},this),At&&this._createSelector(At,Fe,qe,Dt,Lt)},$e.prototype._createSelector=function(Ie,Fe,Ue,qe,At){var Dt=this.getSelectorGroup();each$3(Ie,function(jt){var hn=jt.type,vn=new ZRText({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){Ue.dispatchAction({type:hn==="all"?"legendAllSelect":"legendInverseSelect"})}});Dt.add(vn);var bn=Fe.getModel("selectorLabel"),_n=Fe.getModel(["emphasis","selectorLabel"]);setLabelStyle(vn,{normal:bn,emphasis:_n},{defaultText:jt.title}),enableHoverEmphasis(vn)})},$e.prototype._createItem=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn,bn){var _n=Ie.visualDrawType,wn=At.get("itemWidth"),kn=At.get("itemHeight"),Cn=At.isSelected(Fe),Sn=qe.get("symbolRotate"),xn=qe.get("symbolKeepAspect"),En=qe.get("icon");hn=En||hn||"roundRect";var Tn=getLegendStyle(hn,qe,Lt,jt,_n,Cn,bn),An=new Group$1,$n=qe.getModel("textStyle");if(isFunction(Ie.getLegendIcon)&&(!En||En==="inherit"))An.add(Ie.getLegendIcon({itemWidth:wn,itemHeight:kn,icon:hn,iconRotate:Sn,itemStyle:Tn.itemStyle,lineStyle:Tn.lineStyle,symbolKeepAspect:xn}));else{var Pn=En==="inherit"&&Ie.getData().getVisual("symbol")?Sn==="inherit"?Ie.getData().getVisual("symbolRotate"):Sn:0;An.add(getDefaultLegendIcon({itemWidth:wn,itemHeight:kn,icon:hn,iconRotate:Pn,itemStyle:Tn.itemStyle,lineStyle:Tn.lineStyle,symbolKeepAspect:xn}))}var Nn=Dt==="left"?wn+5:-5,Mn=Dt,In=At.get("formatter"),On=Fe;isString(In)&&In?On=In.replace("{name}",Fe??""):isFunction(In)&&(On=In(Fe));var Rn=Cn?$n.getTextColor():qe.get("inactiveColor");An.add(new ZRText({style:createTextStyle($n,{text:On,x:Nn,y:kn/2,fill:Rn,align:Mn,verticalAlign:"middle"},{inheritColor:Rn})}));var Bn=new Rect$2({shape:An.getBoundingRect(),style:{fill:"transparent"}}),Vn=qe.getModel("tooltip");return Vn.get("show")&&setTooltipConfig({el:Bn,componentModel:At,itemName:Fe,itemTooltipOption:Vn.option}),An.add(Bn),An.eachChild(function(Ln){Ln.silent=!0}),Bn.silent=!vn,this.getContentGroup().add(An),enableHoverEmphasis(An),An.__legendDataIndex=Ue,An},$e.prototype.layoutInner=function(Ie,Fe,Ue,qe,At,Dt){var Lt=this.getContentGroup(),jt=this.getSelectorGroup();box(Ie.get("orient"),Lt,Ie.get("itemGap"),Ue.width,Ue.height);var hn=Lt.getBoundingRect(),vn=[-hn.x,-hn.y];if(jt.markRedraw(),Lt.markRedraw(),At){box("horizontal",jt,Ie.get("selectorItemGap",!0));var bn=jt.getBoundingRect(),_n=[-bn.x,-bn.y],wn=Ie.get("selectorButtonGap",!0),kn=Ie.getOrient().index,Cn=kn===0?"width":"height",Sn=kn===0?"height":"width",xn=kn===0?"y":"x";Dt==="end"?_n[kn]+=hn[Cn]+wn:vn[kn]+=bn[Cn]+wn,_n[1-kn]+=hn[Sn]/2-bn[Sn]/2,jt.x=_n[0],jt.y=_n[1],Lt.x=vn[0],Lt.y=vn[1];var En={x:0,y:0};return En[Cn]=hn[Cn]+wn+bn[Cn],En[Sn]=Math.max(hn[Sn],bn[Sn]),En[xn]=Math.min(0,bn[xn]+_n[1-kn]),En}else return Lt.x=vn[0],Lt.y=vn[1],this.group.getBoundingRect()},$e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},$e.type="legend.plain",$e}(ComponentView);function getLegendStyle(xe,$e,Ie,Fe,Ue,qe,At){function Dt(Cn,Sn){Cn.lineWidth==="auto"&&(Cn.lineWidth=Sn.lineWidth>0?2:0),each$3(Cn,function(xn,En){Cn[En]==="inherit"&&(Cn[En]=Sn[En])})}var Lt=$e.getModel("itemStyle"),jt=Lt.getItemStyle(),hn=xe.lastIndexOf("empty",0)===0?"fill":"stroke",vn=Lt.getShallow("decal");jt.decal=!vn||vn==="inherit"?Fe.decal:createOrUpdatePatternFromDecal(vn,At),jt.fill==="inherit"&&(jt.fill=Fe[Ue]),jt.stroke==="inherit"&&(jt.stroke=Fe[hn]),jt.opacity==="inherit"&&(jt.opacity=(Ue==="fill"?Fe:Ie).opacity),Dt(jt,Fe);var bn=$e.getModel("lineStyle"),_n=bn.getLineStyle();if(Dt(_n,Ie),jt.fill==="auto"&&(jt.fill=Fe.fill),jt.stroke==="auto"&&(jt.stroke=Fe.fill),_n.stroke==="auto"&&(_n.stroke=Fe.fill),!qe){var wn=$e.get("inactiveBorderWidth"),kn=jt[hn];jt.lineWidth=wn==="auto"?Fe.lineWidth>0&&kn?2:0:jt.lineWidth,jt.fill=$e.get("inactiveColor"),jt.stroke=$e.get("inactiveBorderColor"),_n.stroke=bn.get("inactiveColor"),_n.lineWidth=bn.get("inactiveWidth")}return{itemStyle:jt,lineStyle:_n}}function getDefaultLegendIcon(xe){var $e=xe.icon||"roundRect",Ie=createSymbol$1($e,0,0,xe.itemWidth,xe.itemHeight,xe.itemStyle.fill,xe.symbolKeepAspect);return Ie.setStyle(xe.itemStyle),Ie.rotation=(xe.iconRotate||0)*Math.PI/180,Ie.setOrigin([xe.itemWidth/2,xe.itemHeight/2]),$e.indexOf("empty")>-1&&(Ie.style.stroke=Ie.style.fill,Ie.style.fill="#fff",Ie.style.lineWidth=2),Ie}function dispatchSelectAction(xe,$e,Ie,Fe){dispatchDownplayAction(xe,$e,Ie,Fe),Ie.dispatchAction({type:"legendToggleSelect",name:xe??$e}),dispatchHighlightAction(xe,$e,Ie,Fe)}function isUseHoverLayer(xe){for(var $e=xe.getZr().storage.getDisplayList(),Ie,Fe=0,Ue=$e.length;FeUe[At],Cn=[-_n.x,-_n.y];Fe||(Cn[qe]=hn[jt]);var Sn=[0,0],xn=[-wn.x,-wn.y],En=retrieve2(Ie.get("pageButtonGap",!0),Ie.get("itemGap",!0));if(kn){var Tn=Ie.get("pageButtonPosition",!0);Tn==="end"?xn[qe]+=Ue[At]-wn[At]:Sn[qe]+=wn[At]+En}xn[1-qe]+=_n[Dt]/2-wn[Dt]/2,hn.setPosition(Cn),vn.setPosition(Sn),bn.setPosition(xn);var An={x:0,y:0};if(An[At]=kn?Ue[At]:_n[At],An[Dt]=Math.max(_n[Dt],wn[Dt]),An[Lt]=Math.min(0,wn[Lt]+xn[1-qe]),vn.__rectSize=Ue[At],kn){var $n={x:0,y:0};$n[At]=Math.max(Ue[At]-wn[At]-En,0),$n[Dt]=An[Dt],vn.setClipPath(new Rect$2({shape:$n})),vn.__rectSize=$n[At]}else bn.eachChild(function(Nn){Nn.attr({invisible:!0,silent:!0})});var Pn=this._getPageInfo(Ie);return Pn.pageIndex!=null&&updateProps$1(hn,{x:Pn.contentPosition[0],y:Pn.contentPosition[1]},kn?Ie:null),this._updatePageInfoView(Ie,Pn),An},$e.prototype._pageGo=function(Ie,Fe,Ue){var qe=this._getPageInfo(Fe)[Ie];qe!=null&&Ue.dispatchAction({type:"legendScroll",scrollDataIndex:qe,legendId:Fe.id})},$e.prototype._updatePageInfoView=function(Ie,Fe){var Ue=this._controllerGroup;each$f(["pagePrev","pageNext"],function(hn){var vn=hn+"DataIndex",bn=Fe[vn]!=null,_n=Ue.childOfName(hn);_n&&(_n.setStyle("fill",bn?Ie.get("pageIconColor",!0):Ie.get("pageIconInactiveColor",!0)),_n.cursor=bn?"pointer":"default")});var qe=Ue.childOfName("pageText"),At=Ie.get("pageFormatter"),Dt=Fe.pageIndex,Lt=Dt!=null?Dt+1:0,jt=Fe.pageCount;qe&&At&&qe.setStyle("text",isString(At)?At.replace("{current}",Lt==null?"":Lt+"").replace("{total}",jt==null?"":jt+""):At({current:Lt,total:jt}))},$e.prototype._getPageInfo=function(Ie){var Fe=Ie.get("scrollDataIndex",!0),Ue=this.getContentGroup(),qe=this._containerGroup.__rectSize,At=Ie.getOrient().index,Dt=WH[At],Lt=XY[At],jt=this._findTargetItemIndex(Fe),hn=Ue.children(),vn=hn[jt],bn=hn.length,_n=bn?1:0,wn={contentPosition:[Ue.x,Ue.y],pageCount:_n,pageIndex:_n-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!vn)return wn;var kn=Tn(vn);wn.contentPosition[At]=-kn.s;for(var Cn=jt+1,Sn=kn,xn=kn,En=null;Cn<=bn;++Cn)En=Tn(hn[Cn]),(!En&&xn.e>Sn.s+qe||En&&!An(En,Sn.s))&&(xn.i>Sn.i?Sn=xn:Sn=En,Sn&&(wn.pageNextDataIndex==null&&(wn.pageNextDataIndex=Sn.i),++wn.pageCount)),xn=En;for(var Cn=jt-1,Sn=kn,xn=kn,En=null;Cn>=-1;--Cn)En=Tn(hn[Cn]),(!En||!An(xn,En.s))&&Sn.i=Pn&&$n.s<=Pn+qe}},$e.prototype._findTargetItemIndex=function(Ie){if(!this._showController)return 0;var Fe,Ue=this.getContentGroup(),qe;return Ue.eachChild(function(At,Dt){var Lt=At.__legendDataIndex;qe==null&&Lt!=null&&(qe=Dt),Lt===Ie&&(Fe=Dt)}),Fe??qe},$e.type="legend.scroll",$e}(LegendView);function installScrollableLegendAction(xe){xe.registerAction("legendScroll","legendscroll",function($e,Ie){var Fe=$e.scrollDataIndex;Fe!=null&&Ie.eachComponent({mainType:"legend",subType:"scroll",query:$e},function(Ue){Ue.setScrollDataIndex(Fe)})})}function install$b(xe){use(install$c),xe.registerComponentModel(ScrollableLegendModel),xe.registerComponentView(ScrollableLegendView),installScrollableLegendAction(xe)}function install$a(xe){use(install$c),use(install$b)}var InsideZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.inside",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),$e}(DataZoomModel),inner$1=makeInner();function setViewInfoToCoordSysRecord(xe,$e,Ie){inner$1(xe).coordSysRecordMap.each(function(Fe){var Ue=Fe.dataZoomInfoMap.get($e.uid);Ue&&(Ue.getRange=Ie)})}function disposeCoordSysRecordIfNeeded(xe,$e){for(var Ie=inner$1(xe).coordSysRecordMap,Fe=Ie.keys(),Ue=0;UeFe[Ie+$e]&&($e=Dt),Ue=Ue&&At.get("preventDefaultMouseMove",!0)}),{controlType:$e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!Ue}}}function installDataZoomRoamProcessor(xe){xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,function($e,Ie){var Fe=inner$1(Ie),Ue=Fe.coordSysRecordMap||(Fe.coordSysRecordMap=createHashMap());Ue.each(function(qe){qe.dataZoomInfoMap=null}),$e.eachComponent({mainType:"dataZoom",subType:"inside"},function(qe){var At=collectReferCoordSysModelInfo(qe);each$f(At.infoList,function(Dt){var Lt=Dt.model.uid,jt=Ue.get(Lt)||Ue.set(Lt,createCoordSysRecord(Ie,Dt.model)),hn=jt.dataZoomInfoMap||(jt.dataZoomInfoMap=createHashMap());hn.set(qe.uid,{dzReferCoordSysInfo:Dt,model:qe,getRange:null})})}),Ue.each(function(qe){var At=qe.controller,Dt,Lt=qe.dataZoomInfoMap;if(Lt){var jt=Lt.keys()[0];jt!=null&&(Dt=Lt.get(jt))}if(!Dt){disposeCoordSysRecord(Ue,qe);return}var hn=mergeControllerParams(Lt);At.enable(hn.controlType,hn.opt),At.setPointerChecker(qe.containsPoint),createOrUpdate(qe,"dispatchAction",Dt.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="dataZoom.inside",Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(xe.prototype.render.apply(this,arguments),Ie.noTarget()){this._clear();return}this.range=Ie.getPercentRange(),setViewInfoToCoordSysRecord(Ue,Ie,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},$e.type="dataZoom.inside",$e}(DataZoomView),getRangeHandlers={zoom:function(xe,$e,Ie,Fe){var Ue=this.range,qe=Ue.slice(),At=xe.axisModels[0];if(At){var Dt=getDirectionInfo[$e](null,[Fe.originX,Fe.originY],At,Ie,xe),Lt=(Dt.signal>0?Dt.pixelStart+Dt.pixelLength-Dt.pixel:Dt.pixel-Dt.pixelStart)/Dt.pixelLength*(qe[1]-qe[0])+qe[0],jt=Math.max(1/Fe.scale,0);qe[0]=(qe[0]-Lt)*jt+Lt,qe[1]=(qe[1]-Lt)*jt+Lt;var hn=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,qe,[0,100],0,hn.minSpan,hn.maxSpan),this.range=qe,Ue[0]!==qe[0]||Ue[1]!==qe[1])return qe}},pan:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([qe.oldX,qe.oldY],[qe.newX,qe.newY],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*At.pixel/At.pixelLength}),scrollMove:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([0,0],[qe.scrollDelta,qe.scrollDelta],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*qe.scrollDelta})};function makeMover(xe){return function($e,Ie,Fe,Ue){var qe=this.range,At=qe.slice(),Dt=$e.axisModels[0];if(Dt){var Lt=xe(At,Dt,$e,Ie,Fe,Ue);if(sliderMove(Lt,At,[0,100],"all"),this.range=At,qe[0]!==At[0]||qe[1]!==At[1])return At}}}var getDirectionInfo={grid:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem.getRect();return xe=xe||[0,0],qe.dim==="x"?(At.pixel=$e[0]-xe[0],At.pixelLength=Dt.width,At.pixelStart=Dt.x,At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=Dt.height,At.pixelStart=Dt.y,At.signal=qe.inverse?-1:1),At},polar:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem,Lt=Dt.getRadiusAxis().getExtent(),jt=Dt.getAngleAxis().getExtent();return xe=xe?Dt.pointToCoord(xe):[0,0],$e=Dt.pointToCoord($e),Ie.mainType==="radiusAxis"?(At.pixel=$e[0]-xe[0],At.pixelLength=Lt[1]-Lt[0],At.pixelStart=Lt[0],At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=jt[1]-jt[0],At.pixelStart=jt[0],At.signal=qe.inverse?-1:1),At},singleAxis:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At=Ue.model.coordinateSystem.getRect(),Dt={};return xe=xe||[0,0],qe.orient==="horizontal"?(Dt.pixel=$e[0]-xe[0],Dt.pixelLength=At.width,Dt.pixelStart=At.x,Dt.signal=qe.inverse?1:-1):(Dt.pixel=$e[1]-xe[1],Dt.pixelLength=At.height,Dt.pixelStart=At.y,Dt.signal=qe.inverse?-1:1),Dt}};function install$9(xe){installCommon$1(xe),xe.registerComponentModel(InsideZoomModel),xe.registerComponentView(InsideZoomView),installDataZoomRoamProcessor(xe)}var SliderZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.slider",$e.layoutMode="box",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),$e}(DataZoomModel),Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._displayables={},Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},$e.prototype.render=function(Ie,Fe,Ue,qe){if(xe.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",Ie.get("throttle"),"fixRate"),this._orient=Ie.getOrient(),Ie.get("show")===!1){this.group.removeAll();return}if(Ie.noTarget()){this._clear(),this.group.removeAll();return}(!qe||qe.type!=="dataZoom"||qe.from!==this.uid)&&this._buildView(),this._updateView()},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var Ie=this.api.getZr();Ie.off("mousemove",this._onBrush),Ie.off("mouseup",this._onBrushEnd)},$e.prototype._buildView=function(){var Ie=this.group;Ie.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var Fe=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),Ie.add(Fe),this._positionGroup()},$e.prototype._resetLocation=function(){var Ie=this.dataZoomModel,Fe=this.api,Ue=Ie.get("brushSelect"),qe=Ue?DEFAULT_MOVE_HANDLE_SIZE:0,At=this._findCoordRect(),Dt={width:Fe.getWidth(),height:Fe.getHeight()},Lt=this._orient===HORIZONTAL?{right:Dt.width-At.x-At.width,top:Dt.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-qe,width:At.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:At.y,width:DEFAULT_FILLER_SIZE,height:At.height},jt=getLayoutParams(Ie.option);each$f(["right","top","width","height"],function(vn){jt[vn]==="ph"&&(jt[vn]=Lt[vn])});var hn=getLayoutRect(jt,Dt);this._location={x:hn.x,y:hn.y},this._size=[hn.width,hn.height],this._orient===VERTICAL&&this._size.reverse()},$e.prototype._positionGroup=function(){var Ie=this.group,Fe=this._location,Ue=this._orient,qe=this.dataZoomModel.getFirstTargetAxisModel(),At=qe&&qe.get("inverse"),Dt=this._displayables.sliderGroup,Lt=(this._dataShadowInfo||{}).otherAxisInverse;Dt.attr(Ue===HORIZONTAL&&!At?{scaleY:Lt?1:-1,scaleX:1}:Ue===HORIZONTAL&&At?{scaleY:Lt?1:-1,scaleX:-1}:Ue===VERTICAL&&!At?{scaleY:Lt?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:Lt?-1:1,scaleX:-1,rotation:Math.PI/2});var jt=Ie.getBoundingRect([Dt]);Ie.x=Fe.x-jt.x,Ie.y=Fe.y-jt.y,Ie.markRedraw()},$e.prototype._getViewExtent=function(){return[0,this._size[0]]},$e.prototype._renderBackground=function(){var Ie=this.dataZoomModel,Fe=this._size,Ue=this._displayables.sliderGroup,qe=Ie.get("brushSelect");Ue.add(new Rect({silent:!0,shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:Ie.get("backgroundColor")},z2:-40}));var At=new Rect({shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),Dt=this.api.getZr();qe?(At.on("mousedown",this._onBrushStart,this),At.cursor="crosshair",Dt.on("mousemove",this._onBrush),Dt.on("mouseup",this._onBrushEnd)):(Dt.off("mousemove",this._onBrush),Dt.off("mouseup",this._onBrushEnd)),Ue.add(At)},$e.prototype._renderDataShadow=function(){var Ie=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!Ie)return;var Fe=this._size,Ue=this._shadowSize||[],qe=Ie.series,At=qe.getRawData(),Dt=qe.getShadowDim&&qe.getShadowDim(),Lt=Dt&&At.getDimensionInfo(Dt)?qe.getShadowDim():Ie.otherDim;if(Lt==null)return;var jt=this._shadowPolygonPts,hn=this._shadowPolylinePts;if(At!==this._shadowData||Lt!==this._shadowDim||Fe[0]!==Ue[0]||Fe[1]!==Ue[1]){var vn=At.getDataExtent(Lt),bn=(vn[1]-vn[0])*.3;vn=[vn[0]-bn,vn[1]+bn];var _n=[0,Fe[1]],wn=[0,Fe[0]],kn=[[Fe[0],0],[0,0]],Cn=[],Sn=wn[1]/(At.count()-1),xn=0,En=Math.round(At.count()/Fe[0]),Tn;At.each([Lt],function(Mn,In){if(En>0&&In%En){xn+=Sn;return}var On=Mn==null||isNaN(Mn)||Mn==="",Rn=On?0:linearMap$2(Mn,vn,_n,!0);On&&!Tn&&In?(kn.push([kn[kn.length-1][0],0]),Cn.push([Cn[Cn.length-1][0],0])):!On&&Tn&&(kn.push([xn,0]),Cn.push([xn,0])),kn.push([xn,Rn]),Cn.push([xn,Rn]),xn+=Sn,Tn=On}),jt=this._shadowPolygonPts=kn,hn=this._shadowPolylinePts=Cn}this._shadowData=At,this._shadowDim=Lt,this._shadowSize=[Fe[0],Fe[1]];var An=this.dataZoomModel;function $n(Mn){var In=An.getModel(Mn?"selectedDataBackground":"dataBackground"),On=new Group$3,Rn=new Polygon({shape:{points:jt},segmentIgnoreThreshold:1,style:In.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),Bn=new Polyline$1({shape:{points:hn},segmentIgnoreThreshold:1,style:In.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return On.add(Rn),On.add(Bn),On}for(var Pn=0;Pn<3;Pn++){var Nn=$n(Pn===1);this._displayables.sliderGroup.add(Nn),this._displayables.dataShadowSegs.push(Nn)}},$e.prototype._prepareDataShadowInfo=function(){var Ie=this.dataZoomModel,Fe=Ie.get("showDataShadow");if(Fe!==!1){var Ue,qe=this.ecModel;return Ie.eachTargetAxis(function(At,Dt){var Lt=Ie.getAxisProxy(At,Dt).getTargetSeriesModels();each$f(Lt,function(jt){if(!Ue&&!(Fe!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,jt.get("type"))<0)){var hn=qe.getComponent(getAxisMainType(At),Dt).axis,vn=getOtherDim(At),bn,_n=jt.coordinateSystem;vn!=null&&_n.getOtherAxis&&(bn=_n.getOtherAxis(hn).inverse),vn=jt.getData().mapDimension(vn),Ue={thisAxis:hn,series:jt,thisDim:At,otherDim:vn,otherAxisInverse:bn}}},this)},this),Ue}},$e.prototype._renderHandle=function(){var Ie=this.group,Fe=this._displayables,Ue=Fe.handles=[null,null],qe=Fe.handleLabels=[null,null],At=this._displayables.sliderGroup,Dt=this._size,Lt=this.dataZoomModel,jt=this.api,hn=Lt.get("borderRadius")||0,vn=Lt.get("brushSelect"),bn=Fe.filler=new Rect({silent:vn,style:{fill:Lt.get("fillerColor")},textConfig:{position:"inside"}});At.add(bn),At.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:Dt[0],height:Dt[1],r:hn},style:{stroke:Lt.get("dataBackgroundColor")||Lt.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(En){var Tn=Lt.get("handleIcon");!symbolBuildProxies[Tn]&&Tn.indexOf("path://")<0&&Tn.indexOf("image://")<0&&(Tn="path://"+Tn);var An=createSymbol$1(Tn,-1,0,2,2,null,!0);An.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,En),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var $n=An.getBoundingRect(),Pn=Lt.get("handleSize");this._handleHeight=parsePercent(Pn,this._size[1]),this._handleWidth=$n.width/$n.height*this._handleHeight,An.setStyle(Lt.getModel("handleStyle").getItemStyle()),An.style.strokeNoScale=!0,An.rectHover=!0,An.ensureState("emphasis").style=Lt.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(An);var Nn=Lt.get("handleColor");Nn!=null&&(An.style.fill=Nn),At.add(Ue[En]=An);var Mn=Lt.getModel("textStyle");Ie.add(qe[En]=new ZRText({silent:!0,invisible:!0,style:createTextStyle(Mn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Mn.getTextColor(),font:Mn.getFont()}),z2:10}))},this);var _n=bn;if(vn){var wn=parsePercent(Lt.get("moveHandleSize"),Dt[1]),kn=Fe.moveHandle=new Rect$2({style:Lt.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:Dt[1]-.5,height:wn}}),Cn=wn*.8,Sn=Fe.moveHandleIcon=createSymbol$1(Lt.get("moveHandleIcon"),-Cn/2,-Cn/2,Cn,Cn,"#fff",!0);Sn.silent=!0,Sn.y=Dt[1]+wn/2-.5,kn.ensureState("emphasis").style=Lt.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var xn=Math.min(Dt[1]/2,Math.max(wn,10));_n=Fe.moveZone=new Rect$2({invisible:!0,shape:{y:Dt[1]-xn,height:wn+xn}}),_n.on("mouseover",function(){jt.enterEmphasis(kn)}).on("mouseout",function(){jt.leaveEmphasis(kn)}),At.add(kn),At.add(Sn),At.add(_n)}_n.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},$e.prototype._resetInterval=function(){var Ie=this._range=this.dataZoomModel.getPercentRange(),Fe=this._getViewExtent();this._handleEnds=[linearMap$2(Ie[0],[0,100],Fe,!0),linearMap$2(Ie[1],[0,100],Fe,!0)]},$e.prototype._updateInterval=function(Ie,Fe){var Ue=this.dataZoomModel,qe=this._handleEnds,At=this._getViewExtent(),Dt=Ue.findRepresentativeAxisProxy().getMinMaxSpan(),Lt=[0,100];sliderMove(Fe,qe,At,Ue.get("zoomLock")?"all":Ie,Dt.minSpan!=null?linearMap$2(Dt.minSpan,Lt,At,!0):null,Dt.maxSpan!=null?linearMap$2(Dt.maxSpan,Lt,At,!0):null);var jt=this._range,hn=this._range=asc$2([linearMap$2(qe[0],At,Lt,!0),linearMap$2(qe[1],At,Lt,!0)]);return!jt||jt[0]!==hn[0]||jt[1]!==hn[1]},$e.prototype._updateView=function(Ie){var Fe=this._displayables,Ue=this._handleEnds,qe=asc$2(Ue.slice()),At=this._size;each$f([0,1],function(_n){var wn=Fe.handles[_n],kn=this._handleHeight;wn.attr({scaleX:kn/2,scaleY:kn/2,x:Ue[_n]+(_n?-1:1),y:At[1]/2-kn/2})},this),Fe.filler.setShape({x:qe[0],y:0,width:qe[1]-qe[0],height:At[1]});var Dt={x:qe[0],width:qe[1]-qe[0]};Fe.moveHandle&&(Fe.moveHandle.setShape(Dt),Fe.moveZone.setShape(Dt),Fe.moveZone.getBoundingRect(),Fe.moveHandleIcon&&Fe.moveHandleIcon.attr("x",Dt.x+Dt.width/2));for(var Lt=Fe.dataShadowSegs,jt=[0,qe[0],qe[1],At[0]],hn=0;hnFe[0]||Ue[1]<0||Ue[1]>Fe[1])){var qe=this._handleEnds,At=(qe[0]+qe[1])/2,Dt=this._updateInterval("all",Ue[0]-At);this._updateView(),Dt&&this._dispatchZoomAction(!1)}},$e.prototype._onBrushStart=function(Ie){var Fe=Ie.offsetX,Ue=Ie.offsetY;this._brushStart=new Point(Fe,Ue),this._brushing=!0,this._brushStartTime=+new Date},$e.prototype._onBrushEnd=function(Ie){if(this._brushing){var Fe=this._displayables.brushRect;if(this._brushing=!1,!!Fe){Fe.attr("ignore",!0);var Ue=Fe.shape,qe=+new Date;if(!(qe-this._brushStartTime<200&&Math.abs(Ue.width)<5)){var At=this._getViewExtent(),Dt=[0,100];this._range=asc$2([linearMap$2(Ue.x,At,Dt,!0),linearMap$2(Ue.x+Ue.width,At,Dt,!0)]),this._handleEnds=[Ue.x,Ue.x+Ue.width],this._updateView(),this._dispatchZoomAction(!1)}}}},$e.prototype._onBrush=function(Ie){this._brushing&&(stop(Ie.event),this._updateBrushRect(Ie.offsetX,Ie.offsetY))},$e.prototype._updateBrushRect=function(Ie,Fe){var Ue=this._displayables,qe=this.dataZoomModel,At=Ue.brushRect;At||(At=Ue.brushRect=new Rect({silent:!0,style:qe.getModel("brushStyle").getItemStyle()}),Ue.sliderGroup.add(At)),At.attr("ignore",!1);var Dt=this._brushStart,Lt=this._displayables.sliderGroup,jt=Lt.transformCoordToLocal(Ie,Fe),hn=Lt.transformCoordToLocal(Dt.x,Dt.y),vn=this._size;jt[0]=Math.max(Math.min(vn[0],jt[0]),0),At.setShape({x:hn[0],y:0,width:jt[0]-hn[0],height:vn[1]})},$e.prototype._dispatchZoomAction=function(Ie){var Fe=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:Ie?REALTIME_ANIMATION_CONFIG:null,start:Fe[0],end:Fe[1]})},$e.prototype._findCoordRect=function(){var Ie,Fe=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!Ie&&Fe.length){var Ue=Fe[0].model.coordinateSystem;Ie=Ue.getRect&&Ue.getRect()}if(!Ie){var qe=this.api.getWidth(),At=this.api.getHeight();Ie={x:qe*.2,y:At*.2,width:qe*.6,height:At*.6}}return Ie},$e.type="dataZoom.slider",$e}(DataZoomView);function getOtherDim(xe){var $e={x:"y",y:"x",radius:"angle",angle:"radius"};return $e[xe]}function getCursor$1(xe){return xe==="vertical"?"ns-resize":"ew-resize"}function install$8(xe){xe.registerComponentModel(SliderZoomModel),xe.registerComponentView(SliderZoomView),installCommon$1(xe)}function install$7(xe){use(install$9),use(install$8)}var visualDefault={get:function(xe,$e,Ie){var Fe=clone$4((defaultOption[xe]||{})[$e]);return Ie&&isArray$1(Fe)?Fe[Fe.length-1]:Fe}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},mapVisual=VisualMapping.mapVisual,eachVisual=VisualMapping.eachVisual,isArray=isArray$1,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.stateList=["inRange","outOfRange"],Ie.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],Ie.layoutMode={type:"box",ignoreSize:!0},Ie.dataBound=[-1/0,1/0],Ie.targetVisuals={},Ie.controllerVisuals={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue)},$e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},$e.prototype.resetVisual=function(Ie){var Fe=this.stateList;Ie=bind$1(Ie,this),this.controllerVisuals=createVisualMappings(this.option.controller,Fe,Ie),this.targetVisuals=createVisualMappings(this.option.target,Fe,Ie)},$e.prototype.getItemSymbol=function(){return null},$e.prototype.getTargetSeriesIndices=function(){var Ie=this.option.seriesIndex,Fe=[];return Ie==null||Ie==="all"?this.ecModel.eachSeries(function(Ue,qe){Fe.push(qe)}):Fe=normalizeToArray(Ie),Fe},$e.prototype.eachTargetSeries=function(Ie,Fe){each$f(this.getTargetSeriesIndices(),function(Ue){var qe=this.ecModel.getSeriesByIndex(Ue);qe&&Ie.call(Fe,qe)},this)},$e.prototype.isTargetSeries=function(Ie){var Fe=!1;return this.eachTargetSeries(function(Ue){Ue===Ie&&(Fe=!0)}),Fe},$e.prototype.formatValueText=function(Ie,Fe,Ue){var qe=this.option,At=qe.precision,Dt=this.dataBound,Lt=qe.formatter,jt;Ue=Ue||["<",">"],isArray$1(Ie)&&(Ie=Ie.slice(),jt=!0);var hn=Fe?Ie:jt?[vn(Ie[0]),vn(Ie[1])]:vn(Ie);if(isString(Lt))return Lt.replace("{value}",jt?hn[0]:hn).replace("{value2}",jt?hn[1]:hn);if(isFunction(Lt))return jt?Lt(Ie[0],Ie[1]):Lt(Ie);if(jt)return Ie[0]===Dt[0]?Ue[0]+" "+hn[1]:Ie[1]===Dt[1]?Ue[1]+" "+hn[0]:hn[0]+" - "+hn[1];return hn;function vn(bn){return bn===Dt[0]?"min":bn===Dt[1]?"max":(+bn).toFixed(Math.min(At,20))}},$e.prototype.resetExtent=function(){var Ie=this.option,Fe=asc([Ie.min,Ie.max]);this._dataExtent=Fe},$e.prototype.getDataDimensionIndex=function(Ie){var Fe=this.option.dimension;if(Fe!=null)return Ie.getDimensionIndex(Fe);for(var Ue=Ie.dimensions,qe=Ue.length-1;qe>=0;qe--){var At=Ue[qe],Dt=Ie.getDimensionInfo(At);if(!Dt.isCalculationCoord)return Dt.storeDimIndex}},$e.prototype.getExtent=function(){return this._dataExtent.slice()},$e.prototype.completeVisualOption=function(){var Ie=this.ecModel,Fe=this.option,Ue={inRange:Fe.inRange,outOfRange:Fe.outOfRange},qe=Fe.target||(Fe.target={}),At=Fe.controller||(Fe.controller={});merge(qe,Ue),merge(At,Ue);var Dt=this.isCategory();Lt.call(this,qe),Lt.call(this,At),jt.call(this,qe,"inRange","outOfRange"),hn.call(this,At);function Lt(vn){isArray(Fe.color)&&!vn.inRange&&(vn.inRange={color:Fe.color.slice().reverse()}),vn.inRange=vn.inRange||{color:Ie.get("gradientColor")}}function jt(vn,bn,_n){var wn=vn[bn],kn=vn[_n];wn&&!kn&&(kn=vn[_n]={},each$2(wn,function(Cn,Sn){if(VisualMapping.isValidType(Sn)){var xn=visualDefault.get(Sn,"inactive",Dt);xn!=null&&(kn[Sn]=xn,Sn==="color"&&!kn.hasOwnProperty("opacity")&&!kn.hasOwnProperty("colorAlpha")&&(kn.opacity=[0,0]))}}))}function hn(vn){var bn=(vn.inRange||{}).symbol||(vn.outOfRange||{}).symbol,_n=(vn.inRange||{}).symbolSize||(vn.outOfRange||{}).symbolSize,wn=this.get("inactiveColor"),kn=this.getItemSymbol(),Cn=kn||"roundRect";each$2(this.stateList,function(Sn){var xn=this.itemSize,En=vn[Sn];En||(En=vn[Sn]={color:Dt?wn:[wn]}),En.symbol==null&&(En.symbol=bn&&clone$4(bn)||(Dt?Cn:[Cn])),En.symbolSize==null&&(En.symbolSize=_n&&clone$4(_n)||(Dt?xn[0]:[xn[0],xn[0]])),En.symbol=mapVisual(En.symbol,function($n){return $n==="none"?Cn:$n});var Tn=En.symbolSize;if(Tn!=null){var An=-1/0;eachVisual(Tn,function($n){$n>An&&(An=$n)}),En.symbolSize=mapVisual(Tn,function($n){return linearMap$1($n,[0,An],[0,xn[0]],!0)})}},this)}},$e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},$e.prototype.isCategory=function(){return!!this.option.categories},$e.prototype.setSelected=function(Ie){},$e.prototype.getSelected=function(){return null},$e.prototype.getValueState=function(Ie){return null},$e.prototype.getVisualMeta=function(Ie){return null},$e.type="visualMap",$e.dependencies=["series"],$e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},$e}(ComponentModel),DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(Ue){Ue.mappingMethod="linear",Ue.dataExtent=this.getExtent()}),this._resetRange()},$e.prototype.resetItemSize=function(){xe.prototype.resetItemSize.apply(this,arguments);var Ie=this.itemSize;(Ie[0]==null||isNaN(Ie[0]))&&(Ie[0]=DEFAULT_BAR_BOUND[0]),(Ie[1]==null||isNaN(Ie[1]))&&(Ie[1]=DEFAULT_BAR_BOUND[1])},$e.prototype._resetRange=function(){var Ie=this.getExtent(),Fe=this.option.range;!Fe||Fe.auto?(Ie.auto=1,this.option.range=Ie):isArray$1(Fe)&&(Fe[0]>Fe[1]&&Fe.reverse(),Fe[0]=Math.max(Fe[0],Ie[0]),Fe[1]=Math.min(Fe[1],Ie[1]))},$e.prototype.completeVisualOption=function(){xe.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(Ie){var Fe=this.option.controller[Ie].symbolSize;Fe&&Fe[0]!==Fe[1]&&(Fe[0]=Fe[1]/3)},this)},$e.prototype.setSelected=function(Ie){this.option.range=Ie.slice(),this._resetRange()},$e.prototype.getSelected=function(){var Ie=this.getExtent(),Fe=asc$2((this.get("range")||[]).slice());return Fe[0]>Ie[1]&&(Fe[0]=Ie[1]),Fe[1]>Ie[1]&&(Fe[1]=Ie[1]),Fe[0]=Ue[1]||Ie<=Fe[1])?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[];return this.eachTargetSeries(function(Ue){var qe=[],At=Ue.getData();At.each(this.getDataDimensionIndex(At),function(Dt,Lt){Ie[0]<=Dt&&Dt<=Ie[1]&&qe.push(Lt)},this),Fe.push({seriesId:Ue.id,dataIndex:qe})},this),Fe},$e.prototype.getVisualMeta=function(Ie){var Fe=getColorStopValues(this,"outOfRange",this.getExtent()),Ue=getColorStopValues(this,"inRange",this.option.range.slice()),qe=[];function At(_n,wn){qe.push({value:_n,color:Ie(_n,wn)})}for(var Dt=0,Lt=0,jt=Ue.length,hn=Fe.length;LtIe[1])break;qe.push({color:this.getControllerVisual(Lt,"color",Fe),offset:Dt/Ue})}return qe.push({color:this.getControllerVisual(Ie[1],"color",Fe),offset:1}),qe},$e.prototype._createBarPoints=function(Ie,Fe){var Ue=this.visualMapModel.itemSize;return[[Ue[0]-Fe[0],Ie[0]],[Ue[0],Ie[0]],[Ue[0],Ie[1]],[Ue[0]-Fe[1],Ie[1]]]},$e.prototype._createBarGroup=function(Ie){var Fe=this._orient,Ue=this.visualMapModel.get("inverse");return new Group$3(Fe==="horizontal"&&!Ue?{scaleX:Ie==="bottom"?1:-1,rotation:Math.PI/2}:Fe==="horizontal"&&Ue?{scaleX:Ie==="bottom"?-1:1,rotation:-Math.PI/2}:Fe==="vertical"&&!Ue?{scaleX:Ie==="left"?1:-1,scaleY:-1}:{scaleX:Ie==="left"?1:-1})},$e.prototype._updateHandle=function(Ie,Fe){if(this._useHandle){var Ue=this._shapes,qe=this.visualMapModel,At=Ue.handleThumbs,Dt=Ue.handleLabels,Lt=qe.itemSize,jt=qe.getExtent();each$1([0,1],function(hn){var vn=At[hn];vn.setStyle("fill",Fe.handlesColor[hn]),vn.y=Ie[hn];var bn=linearMap(Ie[hn],[0,Lt[1]],jt,!0),_n=this.getControllerVisual(bn,"symbolSize");vn.scaleX=vn.scaleY=_n/Lt[0],vn.x=Lt[0]-_n/2;var wn=applyTransform(Ue.handleLabelPoints[hn],getTransform$1(vn,this.group));Dt[hn].setStyle({x:wn[0],y:wn[1],text:qe.formatValueText(this._dataInterval[hn]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",Ue.mainGroup):"center"})},this)}},$e.prototype._showIndicator=function(Ie,Fe,Ue,qe){var At=this.visualMapModel,Dt=At.getExtent(),Lt=At.itemSize,jt=[0,Lt[1]],hn=this._shapes,vn=hn.indicator;if(vn){vn.attr("invisible",!1);var bn={convertOpacityToAlpha:!0},_n=this.getControllerVisual(Ie,"color",bn),wn=this.getControllerVisual(Ie,"symbolSize"),kn=linearMap(Ie,Dt,jt,!0),Cn=Lt[0]-wn/2,Sn={x:vn.x,y:vn.y};vn.y=kn,vn.x=Cn;var xn=applyTransform(hn.indicatorLabelPoint,getTransform$1(vn,this.group)),En=hn.indicatorLabel;En.attr("invisible",!1);var Tn=this._applyTransform("left",hn.mainGroup),An=this._orient,$n=An==="horizontal";En.setStyle({text:(Ue||"")+At.formatValueText(Fe),verticalAlign:$n?Tn:"middle",align:$n?"center":Tn});var Pn={x:Cn,y:kn,style:{fill:_n}},Nn={style:{x:xn[0],y:xn[1]}};if(At.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Mn={duration:100,easing:"cubicInOut",additive:!0};vn.x=Sn.x,vn.y=Sn.y,vn.animateTo(Pn,Mn),En.animateTo(Nn,Mn)}else vn.attr(Pn),En.attr(Nn);this._firstShowIndicator=!1;var In=this._shapes.handleLabels;if(In)for(var On=0;OnAt[1]&&(vn[1]=1/0),Fe&&(vn[0]===-1/0?this._showIndicator(hn,vn[1],"< ",Lt):vn[1]===1/0?this._showIndicator(hn,vn[0],"> ",Lt):this._showIndicator(hn,hn,"≈ ",Lt));var bn=this._hoverLinkDataIndices,_n=[];(Fe||useHoverLinkOnHandle(Ue))&&(_n=this._hoverLinkDataIndices=Ue.findTargetDataIndices(vn));var wn=compressBatches(bn,_n);this._dispatchHighDown("downplay",makeHighDownBatch(wn[0],Ue)),this._dispatchHighDown("highlight",makeHighDownBatch(wn[1],Ue))}},$e.prototype._hoverLinkFromSeriesMouseOver=function(Ie){var Fe;if(findEventDispatcher(Ie.target,function(Lt){var jt=getECData(Lt);if(jt.dataIndex!=null)return Fe=jt,!0},!0),!!Fe){var Ue=this.ecModel.getSeriesByIndex(Fe.seriesIndex),qe=this.visualMapModel;if(qe.isTargetSeries(Ue)){var At=Ue.getData(Fe.dataType),Dt=At.getStore().get(qe.getDataDimensionIndex(At),Fe.dataIndex);isNaN(Dt)||this._showIndicator(Dt,Dt)}}},$e.prototype._hideIndicator=function(){var Ie=this._shapes;Ie.indicator&&Ie.indicator.attr("invisible",!0),Ie.indicatorLabel&&Ie.indicatorLabel.attr("invisible",!0);var Fe=this._shapes.handleLabels;if(Fe)for(var Ue=0;Ue=0&&(qe.dimension=At,Fe.push(qe))}}),xe.getData().setVisual("visualMeta",Fe)}}];function getColorVisual(xe,$e,Ie,Fe){for(var Ue=$e.targetVisuals[Fe],qe=VisualMapping.prepareVisualTypes(Ue),At={color:getVisualFromData(xe.getData(),"color")},Dt=0,Lt=qe.length;Dt0:$e.splitNumber>0)||$e.calculable)?"continuous":"piecewise"}),xe.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function($e){xe.registerVisual(xe.PRIORITY.VISUAL.COMPONENT,$e)}),xe.registerPreprocessor(visualMapPreprocessor))}function install$6(xe){xe.registerComponentModel(ContinuousModel),xe.registerComponentView(ContinuousView),installCommon(xe)}var PiecewiseModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._pieceList=[],Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var Ue=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(Ie,Fe);var qe=this.option.categories;this.resetVisual(function(At,Dt){Ue==="categories"?(At.mappingMethod="category",At.categories=clone$4(qe)):(At.dataExtent=this.getExtent(),At.mappingMethod="piecewise",At.pieceList=map$1(this._pieceList,function(Lt){return Lt=clone$4(Lt),Dt!=="inRange"&&(Lt.visual=null),Lt}))})},$e.prototype.completeVisualOption=function(){var Ie=this.option,Fe={},Ue=VisualMapping.listVisualTypes(),qe=this.isCategory();each$f(Ie.pieces,function(Dt){each$f(Ue,function(Lt){Dt.hasOwnProperty(Lt)&&(Fe[Lt]=1)})}),each$f(Fe,function(Dt,Lt){var jt=!1;each$f(this.stateList,function(hn){jt=jt||At(Ie,hn,Lt)||At(Ie.target,hn,Lt)},this),!jt&&each$f(this.stateList,function(hn){(Ie[hn]||(Ie[hn]={}))[Lt]=visualDefault.get(Lt,hn==="inRange"?"active":"inactive",qe)})},this);function At(Dt,Lt,jt){return Dt&&Dt[Lt]&&Dt[Lt].hasOwnProperty(jt)}xe.prototype.completeVisualOption.apply(this,arguments)},$e.prototype._resetSelected=function(Ie,Fe){var Ue=this.option,qe=this._pieceList,At=(Fe?Ue:Ie).selected||{};if(Ue.selected=At,each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At.hasOwnProperty(hn)||(At[hn]=!0)},this),Ue.selectedMode==="single"){var Dt=!1;each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At[hn]&&(Dt?At[hn]=!1:Dt=!0)},this)}},$e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},$e.prototype.getSelectedMapKey=function(Ie){return this._mode==="categories"?Ie.value+"":Ie.index+""},$e.prototype.getPieceList=function(){return this._pieceList},$e.prototype._determineMode=function(){var Ie=this.option;return Ie.pieces&&Ie.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},$e.prototype.setSelected=function(Ie){this.option.selected=clone$4(Ie)},$e.prototype.getValueState=function(Ie){var Fe=VisualMapping.findPieceIndex(Ie,this._pieceList);return Fe!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[Fe])]?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[],Ue=this._pieceList;return this.eachTargetSeries(function(qe){var At=[],Dt=qe.getData();Dt.each(this.getDataDimensionIndex(Dt),function(Lt,jt){var hn=VisualMapping.findPieceIndex(Lt,Ue);hn===Ie&&At.push(jt)},this),Fe.push({seriesId:qe.id,dataIndex:At})},this),Fe},$e.prototype.getRepresentValue=function(Ie){var Fe;if(this.isCategory())Fe=Ie.value;else if(Ie.value!=null)Fe=Ie.value;else{var Ue=Ie.interval||[];Fe=Ue[0]===-1/0&&Ue[1]===1/0?0:(Ue[0]+Ue[1])/2}return Fe},$e.prototype.getVisualMeta=function(Ie){if(this.isCategory())return;var Fe=[],Ue=["",""],qe=this;function At(hn,vn){var bn=qe.getRepresentValue({interval:hn});vn||(vn=qe.getValueState(bn));var _n=Ie(bn,vn);hn[0]===-1/0?Ue[0]=_n:hn[1]===1/0?Ue[1]=_n:Fe.push({value:hn[0],color:_n},{value:hn[1],color:_n})}var Dt=this._pieceList.slice();if(!Dt.length)Dt.push({interval:[-1/0,1/0]});else{var Lt=Dt[0].interval[0];Lt!==-1/0&&Dt.unshift({interval:[-1/0,Lt]}),Lt=Dt[Dt.length-1].interval[1],Lt!==1/0&&Dt.push({interval:[Lt,1/0]})}var jt=-1/0;return each$f(Dt,function(hn){var vn=hn.interval;vn&&(vn[0]>jt&&At([jt,vn[0]],"outOfRange"),At(vn.slice()),jt=vn[1])},this),{stops:Fe,outerColors:Ue}},$e.type="visualMap.piecewise",$e.defaultOption=inheritDefaultOption(VisualMapModel.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),$e}(VisualMapModel),resetMethods={splitNumber:function(xe){var $e=this.option,Ie=Math.min($e.precision,20),Fe=this.getExtent(),Ue=$e.splitNumber;Ue=Math.max(parseInt(Ue,10),1),$e.splitNumber=Ue;for(var qe=(Fe[1]-Fe[0])/Ue;+qe.toFixed(Ie)!==qe&&Ie<5;)Ie++;$e.precision=Ie,qe=+qe.toFixed(Ie),$e.minOpen&&xe.push({interval:[-1/0,Fe[0]],close:[0,0]});for(var At=0,Dt=Fe[0];At","≥"][Fe[0]]];Ie.text=Ie.text||this.formatValueText(Ie.value!=null?Ie.value:Ie.interval,!1,Ue)},this)}};function normalizeReverse(xe,$e){var Ie=xe.inverse;(xe.orient==="vertical"?!Ie:Ie)&&$e.reverse()}var PiecewiseVisualMapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.doRender=function(){var Ie=this.group;Ie.removeAll();var Fe=this.visualMapModel,Ue=Fe.get("textGap"),qe=Fe.textStyleModel,At=qe.getFont(),Dt=qe.getTextColor(),Lt=this._getItemAlign(),jt=Fe.itemSize,hn=this._getViewData(),vn=hn.endsText,bn=retrieve(Fe.get("showLabel",!0),!vn);vn&&this._renderEndsText(Ie,vn[0],jt,bn,Lt),each$f(hn.viewPieceList,function(_n){var wn=_n.piece,kn=new Group$3;kn.onclick=bind$1(this._onItemClick,this,wn),this._enableHoverLink(kn,_n.indexInModelPieceList);var Cn=Fe.getRepresentValue(wn);if(this._createItemSymbol(kn,Cn,[0,0,jt[0],jt[1]]),bn){var Sn=this.visualMapModel.getValueState(Cn);kn.add(new ZRText({style:{x:Lt==="right"?-Ue:jt[0]+Ue,y:jt[1]/2,text:wn.text,verticalAlign:"middle",align:Lt,font:At,fill:Dt,opacity:Sn==="outOfRange"?.5:1}}))}Ie.add(kn)},this),vn&&this._renderEndsText(Ie,vn[1],jt,bn,Lt),box(Fe.get("orient"),Ie,Fe.get("itemGap")),this.renderBackground(Ie),this.positionGroup(Ie)},$e.prototype._enableHoverLink=function(Ie,Fe){var Ue=this;Ie.on("mouseover",function(){return qe("highlight")}).on("mouseout",function(){return qe("downplay")});var qe=function(At){var Dt=Ue.visualMapModel;Dt.option.hoverLink&&Ue.api.dispatchAction({type:At,batch:makeHighDownBatch(Dt.findTargetDataIndices(Fe),Dt)})}},$e.prototype._getItemAlign=function(){var Ie=this.visualMapModel,Fe=Ie.option;if(Fe.orient==="vertical")return getItemAlign(Ie,this.api,Ie.itemSize);var Ue=Fe.align;return(!Ue||Ue==="auto")&&(Ue="left"),Ue},$e.prototype._renderEndsText=function(Ie,Fe,Ue,qe,At){if(Fe){var Dt=new Group$3,Lt=this.visualMapModel.textStyleModel;Dt.add(new ZRText({style:createTextStyle(Lt,{x:qe?At==="right"?Ue[0]:0:Ue[0]/2,y:Ue[1]/2,verticalAlign:"middle",align:qe?At:"center",text:Fe})})),Ie.add(Dt)}},$e.prototype._getViewData=function(){var Ie=this.visualMapModel,Fe=map$1(Ie.getPieceList(),function(Dt,Lt){return{piece:Dt,indexInModelPieceList:Lt}}),Ue=Ie.get("text"),qe=Ie.get("orient"),At=Ie.get("inverse");return(qe==="horizontal"?At:!At)?Fe.reverse():Ue&&(Ue=Ue.slice().reverse()),{viewPieceList:Fe,endsText:Ue}},$e.prototype._createItemSymbol=function(Ie,Fe,Ue){Ie.add(createSymbol$1(this.getControllerVisual(Fe,"symbol"),Ue[0],Ue[1],Ue[2],Ue[3],this.getControllerVisual(Fe,"color")))},$e.prototype._onItemClick=function(Ie){var Fe=this.visualMapModel,Ue=Fe.option,qe=Ue.selectedMode;if(qe){var At=clone$4(Ue.selected),Dt=Fe.getSelectedMapKey(Ie);qe==="single"||qe===!0?(At[Dt]=!0,each$f(At,function(Lt,jt){At[jt]=jt===Dt})):At[Dt]=!At[Dt],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:At})}},$e.type="visualMap.piecewise",$e}(VisualMapView);function install$5(xe){xe.registerComponentModel(PiecewiseModel),xe.registerComponentView(PiecewiseVisualMapView),installCommon(xe)}function install$4(xe){use(install$6),use(install$5)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(xe,$e){var Ie=xe.getModel("aria");if(!Ie.get("enabled"))return;var Fe=clone$4(DEFAULT_OPTION);merge(Fe.label,xe.getLocaleModel().get("aria"),!1),merge(Ie.option,Fe,!1),Ue(),qe();function Ue(){var jt=Ie.getModel("decal"),hn=jt.get("show");if(hn){var vn=createHashMap();xe.eachSeries(function(bn){if(!bn.isColorBySeries()){var _n=vn.get(bn.type);_n||(_n={},vn.set(bn.type,_n)),inner(bn).scope=_n}}),xe.eachRawSeries(function(bn){if(xe.isSeriesFiltered(bn))return;if(isFunction(bn.enableAriaDecal)){bn.enableAriaDecal();return}var _n=bn.getData();if(bn.isColorBySeries()){var xn=getDecalFromPalette(bn.ecModel,bn.name,decalPaletteScope,xe.getSeriesCount()),En=_n.getVisual("decal");_n.setVisual("decal",Tn(En,xn))}else{var wn=bn.getRawData(),kn={},Cn=inner(bn).scope;_n.each(function(An){var $n=_n.getRawIndex(An);kn[$n]=An});var Sn=wn.count();wn.each(function(An){var $n=kn[An],Pn=wn.getName(An)||An+"",Nn=getDecalFromPalette(bn.ecModel,Pn,Cn,Sn),Mn=_n.getItemVisual($n,"decal");_n.setItemVisual($n,"decal",Tn(Mn,Nn))})}function Tn(An,$n){var Pn=An?extend(extend({},$n),An):$n;return Pn.dirty=!0,Pn}})}}function qe(){var jt=xe.getLocaleModel().get("aria"),hn=Ie.getModel("label");if(hn.option=defaults(hn.option,jt),!!hn.get("enabled")){var vn=$e.getZr().dom;if(hn.get("description")){vn.setAttribute("aria-label",hn.get("description"));return}var bn=xe.getSeriesCount(),_n=hn.get(["data","maxCount"])||10,wn=hn.get(["series","maxCount"])||10,kn=Math.min(bn,wn),Cn;if(!(bn<1)){var Sn=Dt();if(Sn){var xn=hn.get(["general","withTitle"]);Cn=At(xn,{title:Sn})}else Cn=hn.get(["general","withoutTitle"]);var En=[],Tn=bn>1?hn.get(["series","multiple","prefix"]):hn.get(["series","single","prefix"]);Cn+=At(Tn,{seriesCount:bn}),xe.eachSeries(function(Nn,Mn){if(Mn1?hn.get(["series","multiple",Rn]):hn.get(["series","single",Rn]),In=At(In,{seriesId:Nn.seriesIndex,seriesName:Nn.get("name"),seriesType:Lt(Nn.subType)});var Bn=Nn.getData();if(Bn.count()>_n){var Vn=hn.get(["data","partialData"]);In+=At(Vn,{displayCnt:_n})}else In+=hn.get(["data","allData"]);for(var Ln=hn.get(["data","separator","middle"]),Dn=hn.get(["data","separator","end"]),Hn=[],Fn=0;Fn":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function xe($e){var Ie=this._condVal=isString($e)?new RegExp($e):isRegExp($e)?$e:null;if(Ie==null){var Fe="";throwError(Fe)}}return xe.prototype.evaluate=function($e){var Ie=typeof $e;return isString(Ie)?this._condVal.test($e):isNumber(Ie)?this._condVal.test($e+""):!1},xe}(),ConstConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return this.value},xe}(),AndConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if(!$e[Ie].evaluate())return!1;return!0},xe}(),OrConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if($e[Ie].evaluate())return!0;return!1},xe}(),NotConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return!this.child.evaluate()},xe}(),RelationalConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=!!this.valueParser,Ie=this.getValue,Fe=Ie(this.valueGetterParam),Ue=$e?this.valueParser(Fe):null,qe=0;qe2&&Fe.push(Ue),Ue=[Bn,Vn]}function hn(Bn,Vn,Ln,Dn){aroundEqual(Bn,Ln)&&aroundEqual(Vn,Dn)||Ue.push(Bn,Vn,Ln,Dn,Ln,Dn)}function vn(Bn,Vn,Ln,Dn,Hn,Fn){var zn=Math.abs(Vn-Bn),jn=Math.tan(zn/4)*4/3,Gn=VnNn:On2&&Fe.push(Ue),Fe}function adpativeBezier(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(aroundEqual(xe,Ie)&&aroundEqual($e,Fe)&&aroundEqual(Ue,At)&&aroundEqual(qe,Dt)){Lt.push(At,Dt);return}var hn=2/jt,vn=hn*hn,bn=At-xe,_n=Dt-$e,wn=Math.sqrt(bn*bn+_n*_n);bn/=wn,_n/=wn;var kn=Ie-xe,Cn=Fe-$e,Sn=Ue-At,xn=qe-Dt,En=kn*kn+Cn*Cn,Tn=Sn*Sn+xn*xn;if(En=0&&Nn=0){Lt.push(At,Dt);return}var Mn=[],In=[];cubicSubdivide(xe,Ie,Ue,At,.5,Mn),cubicSubdivide($e,Fe,qe,Dt,.5,In),adpativeBezier(Mn[0],In[0],Mn[1],In[1],Mn[2],In[2],Mn[3],In[3],Lt,jt),adpativeBezier(Mn[4],In[4],Mn[5],In[5],Mn[6],In[6],Mn[7],In[7],Lt,jt)}function pathToPolygons(xe,$e){var Ie=pathToBezierCurves(xe),Fe=[];$e=$e||1;for(var Ue=0;Ue0)for(var jt=0;jtMath.abs(jt),vn=getDividingGrids([Lt,jt],hn?0:1,$e),bn=(hn?Dt:jt)/vn.length,_n=0;_nUe,At=getDividingGrids([Fe,Ue],qe?0:1,$e),Dt=qe?"width":"height",Lt=qe?"height":"width",jt=qe?"x":"y",hn=qe?"y":"x",vn=xe[Dt]/At.length,bn=0;bn1?null:new Point(kn*Lt+xe,kn*jt+$e)}function projPtOnLine(xe,$e,Ie){var Fe=new Point;Point.sub(Fe,Ie,$e),Fe.normalize();var Ue=new Point;Point.sub(Ue,xe,$e);var qe=Ue.dot(Fe);return qe}function addToPoly(xe,$e){var Ie=xe[xe.length-1];Ie&&Ie[0]===$e[0]&&Ie[1]===$e[1]||xe.push($e)}function splitPolygonByLine(xe,$e,Ie){for(var Fe=xe.length,Ue=[],qe=0;qeAt?(jt.x=hn.x=Dt+qe/2,jt.y=Lt,hn.y=Lt+At):(jt.y=hn.y=Lt+At/2,jt.x=Dt,hn.x=Dt+qe),splitPolygonByLine($e,jt,hn)}function binaryDivideRecursive(xe,$e,Ie,Fe){if(Ie===1)Fe.push($e);else{var Ue=Math.floor(Ie/2),qe=xe($e);binaryDivideRecursive(xe,qe[0],Ue,Fe),binaryDivideRecursive(xe,qe[1],Ie-Ue,Fe)}return Fe}function clone(xe,$e){for(var Ie=[],Fe=0;Fe<$e;Fe++)Ie.push(clonePath(xe));return Ie}function copyPathProps(xe,$e){$e.setStyle(xe.style),$e.z=xe.z,$e.z2=xe.z2,$e.zlevel=xe.zlevel}function polygonConvert(xe){for(var $e=[],Ie=0;Ie0;jt/=2){var hn=0,vn=0;(xe&jt)>0&&(hn=1),($e&jt)>0&&(vn=1),Dt+=jt*jt*(3*hn^vn),vn===0&&(hn===1&&(xe=jt-1-xe,$e=jt-1-$e),Lt=xe,xe=$e,$e=Lt)}return Dt}function sortPaths(xe){var $e=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=map$1(xe,function(Dt){var Lt=Dt.getBoundingRect(),jt=Dt.getComputedTransform(),hn=Lt.x+Lt.width/2+(jt?jt[4]:0),vn=Lt.y+Lt.height/2+(jt?jt[5]:0);return $e=Math.min(hn,$e),Ie=Math.min(vn,Ie),Fe=Math.max(hn,Fe),Ue=Math.max(vn,Ue),[hn,vn]}),At=map$1(qe,function(Dt,Lt){return{cp:Dt,z:hilbert(Dt[0],Dt[1],$e,Ie,Fe,Ue),path:xe[Lt]}});return At.sort(function(Dt,Lt){return Dt.z-Lt.z}).map(function(Dt){return Dt.path})}function defaultDividePath(xe){return split(xe.path,xe.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(xe,$e,Ie){var Fe=[];function Ue(An){for(var $n=0;$n=0;Ue--)if(!Ie[Ue].many.length){var Lt=Ie[Dt].many;if(Lt.length<=1)if(Dt)Dt=0;else return Ie;var qe=Lt.length,jt=Math.ceil(qe/2);Ie[Ue].many=Lt.slice(jt,qe),Ie[Dt].many=Lt.slice(0,jt),Dt++}return Ie}var pathDividers={clone:function(xe){for(var $e=[],Ie=1-Math.pow(1-xe.path.style.opacity,1/xe.count),Fe=0;Fe0))return;var Dt=Fe.getModel("universalTransition").get("delay"),Lt=Object.assign({setToFinal:!0},At),jt,hn;isMultiple(xe)&&(jt=xe,hn=$e),isMultiple($e)&&(jt=$e,hn=xe);function vn(Sn,xn,En,Tn,An){var $n=Sn.many,Pn=Sn.one;if($n.length===1&&!An){var Nn=xn?$n[0]:Pn,Mn=xn?Pn:$n[0];if(isCombineMorphing(Nn))vn({many:[Nn],one:Mn},!0,En,Tn,!0);else{var In=Dt?defaults({delay:Dt(En,Tn)},Lt):Lt;morphPath(Nn,Mn,In),qe(Nn,Mn,Nn,Mn,In)}}else for(var On=defaults({dividePath:pathDividers[Ie],individualDelay:Dt&&function(Hn,Fn,zn,jn){return Dt(Hn+En,Tn)}},Lt),Rn=xn?combineMorph($n,Pn,On):separateMorph(Pn,$n,On),Bn=Rn.fromIndividuals,Vn=Rn.toIndividuals,Ln=Bn.length,Dn=0;Dn$e.length,_n=jt?prepareMorphBatches(hn,jt):prepareMorphBatches(bn?$e:xe,[bn?xe:$e]),wn=0,kn=0;kn<_n.length;kn++)wn+=_n[kn].many.length;for(var Cn=0,kn=0;kn<_n.length;kn++)vn(_n[kn],bn,Cn,wn),Cn+=_n[kn].many.length}function getPathList(xe){if(!xe)return[];if(isArray$1(xe)){for(var $e=[],Ie=0;IeDATA_COUNT_THRESHOLD))for(var qe=Fe.getIndices(),At=0;At0&&$n.group.traverse(function(Nn){Nn instanceof Path&&!Nn.animators.length&&Nn.animateFrom({style:{opacity:0}},Pn)})})}function getSeriesTransitionKey(xe){var $e=xe.getModel("universalTransition").get("seriesKey");return $e||xe.id}function convertArraySeriesKeyToString(xe){return isArray$1(xe)?xe.sort().join(","):xe}function getDivideShapeFromData(xe){if(xe.hostModel)return xe.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(xe,$e){var Ie=createHashMap(),Fe=createHashMap(),Ue=createHashMap();return each$f(xe.oldSeries,function(qe,At){var Dt=xe.oldDataGroupIds[At],Lt=xe.oldData[At],jt=getSeriesTransitionKey(qe),hn=convertArraySeriesKeyToString(jt);Fe.set(hn,{dataGroupId:Dt,data:Lt}),isArray$1(jt)&&each$f(jt,function(vn){Ue.set(vn,{key:hn,dataGroupId:Dt,data:Lt})})}),each$f($e.updatedSeries,function(qe){if(qe.isUniversalTransitionEnabled()&&qe.isAnimationEnabled()){var At=qe.get("dataGroupId"),Dt=qe.getData(),Lt=getSeriesTransitionKey(qe),jt=convertArraySeriesKeyToString(Lt),hn=Fe.get(jt);if(hn)Ie.set(jt,{oldSeries:[{dataGroupId:hn.dataGroupId,divide:getDivideShapeFromData(hn.data),data:hn.data}],newSeries:[{dataGroupId:At,divide:getDivideShapeFromData(Dt),data:Dt}]});else if(isArray$1(Lt)){var vn=[];each$f(Lt,function(wn){var kn=Fe.get(wn);kn.data&&vn.push({dataGroupId:kn.dataGroupId,divide:getDivideShapeFromData(kn.data),data:kn.data})}),vn.length&&Ie.set(jt,{oldSeries:vn,newSeries:[{dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)}]})}else{var bn=Ue.get(Lt);if(bn){var _n=Ie.get(bn.key);_n||(_n={oldSeries:[{dataGroupId:bn.dataGroupId,data:bn.data,divide:getDivideShapeFromData(bn.data)}],newSeries:[]},Ie.set(bn.key,_n)),_n.newSeries.push({dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)})}}}}),Ie}function querySeries(xe,$e){for(var Ie=0;Ie=0&&Ue.push({dataGroupId:$e.oldDataGroupIds[Dt],data:$e.oldData[Dt],divide:getDivideShapeFromData($e.oldData[Dt]),groupIdDim:At.dimension})}),each$f(normalizeToArray(xe.to),function(At){var Dt=querySeries(Ie.updatedSeries,At);if(Dt>=0){var Lt=Ie.updatedSeries[Dt].getData();qe.push({dataGroupId:$e.oldDataGroupIds[Dt],data:Lt,divide:getDivideShapeFromData(Lt),groupIdDim:At.dimension})}}),Ue.length>0&&qe.length>0&&transitionBetween(Ue,qe,Fe)}function installUniversalTransition(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){each$f(normalizeToArray(Fe.seriesTransition),function(Ue){each$f(normalizeToArray(Ue.to),function(qe){for(var At=Fe.updatedSeries,Dt=0;Dt0},xe.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},xe.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},xe.prototype.onTransitionEnd_=function($e){var Ie=$e.propertyName,Fe=Ie===void 0?"":Ie,Ue=transitionKeys.some(function(qe){return!!~Fe.indexOf(qe)});Ue&&this.refresh()},xe.getInstance=function(){return this.instance_||(this.instance_=new xe),this.instance_},xe.instance_=null,xe}(),defineConfigurable=function(xe,$e){for(var Ie=0,Fe=Object.keys($e);Ie"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)||(Ie.set($e,new ResizeObservation($e)),this.controller_.addObserver(this),this.controller_.refresh())}},xe.prototype.unobserve=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)&&(Ie.delete($e),Ie.size||this.controller_.removeObserver(this))}},xe.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},xe.prototype.gatherActive=function(){var $e=this;this.clearActive(),this.observations_.forEach(function(Ie){Ie.isActive()&&$e.activeObservations_.push(Ie)})},xe.prototype.broadcastActive=function(){if(this.hasActive()){var $e=this.callbackCtx_,Ie=this.activeObservations_.map(function(Fe){return new ResizeObserverEntry$1(Fe.target,Fe.broadcastRect())});this.callback_.call($e,Ie,$e),this.clearActive()}},xe.prototype.clearActive=function(){this.activeObservations_.splice(0)},xe.prototype.hasActive=function(){return this.activeObservations_.length>0},xe}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver$1=function(){function xe($e){if(!(this instanceof xe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ie=ResizeObserverController.getInstance(),Fe=new ResizeObserverSPI($e,Ie,this);observers.set(this,Fe)}return xe}();["observe","unobserve","disconnect"].forEach(function(xe){ResizeObserver$1.prototype[xe]=function(){var $e;return($e=observers.get(this))[xe].apply($e,arguments)}});var index=function(){return typeof global$1.ResizeObserver<"u"?global$1.ResizeObserver:ResizeObserver$1}();const _withScopeId=xe=>(pushScopeId("data-v-c51b6157"),xe=xe(),popScopeId(),xe),_hoisted_1={style:{padding:"15px"}},_hoisted_2={class:"justify-between flex"},_hoisted_3=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日新增用户数量",-1)),_hoisted_4={class:"flex justify-between"},_hoisted_5=_withScopeId(()=>createBaseVNode("span",null,"总计用户数量:",-1)),_hoisted_6={class:"flex justify-between"},_hoisted_7=_withScopeId(()=>createBaseVNode("span",{class:"font-bold"},"今日对话",-1)),_hoisted_8={class:"flex justify-between"},_hoisted_9=_withScopeId(()=>createBaseVNode("span",null,"总计对话",-1)),_hoisted_10={class:"flex justify-between"},_hoisted_11=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日绘画数量",-1)),_hoisted_12={class:"flex justify-between"},_hoisted_13=_withScopeId(()=>createBaseVNode("span",null,"总计绘画数量:",-1)),_hoisted_14={class:"justify-between flex"},_hoisted_15=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日订单数量",-1)),_hoisted_16={class:"flex justify-between"},_hoisted_17=_withScopeId(()=>createBaseVNode("span",null,"总计订单数量:",-1)),_hoisted_18={class:"align-center flex justify-between"},_hoisted_19=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"对话信息统计",-1)),_hoisted_20=_withScopeId(()=>createBaseVNode("div",{id:"chat"},null,-1)),_hoisted_21={class:"align-center flex justify-between"},_hoisted_22=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"网站访客统计",-1)),_hoisted_23=_withScopeId(()=>createBaseVNode("div",{id:"baidu"},null,-1)),_sfc_main$1=defineComponent({__name:"index",setup(xe){const $e=useSettingsStore(),Ie=computed(()=>$e.settings.app.colorScheme),Fe=ref({userCount:0,newUserCount:0,chatCount:0,newChatCount:0,drawCount:0,newDrawCount:0,orderCount:0,newOrderCount:0});let Ue,qe,At;const Dt=ref(30),Lt=ref(30),jt={title:{text:"对话统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{top:"30px",data:[{name:"对话数量",icon:"rect",itemWidth:10,itemHeight:5},{name:"绘画数量",icon:"rect"}]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}}],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}}],series:[{name:"对话数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"rgba(17, 76, 255, 0.2)"},emphasis:{focus:"series"},data:[]},{name:"绘画数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"#00d7ff33"},emphasis:{focus:"series"},data:[]}]},hn={title:{text:"访问量统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis"},legend:{data:["pv","uv","ip"]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}},series:[{name:"pv",type:"bar",smooth:!0,areaStyle:{color:"rgba(17, 76, 255, 0.2)"},data:[]},{name:"uv",type:"bar",smooth:!0,areaStyle:{color:"#00d7ff33"},data:[]},{name:"ip",smooth:!0,areaStyle:{color:"rgba(0, 215, 255, 0.2)"},type:"bar",data:[]}]},vn=[{label:7,value:"最近七天"},{label:15,value:"最近半月"},{label:30,value:"最近一月"},{label:90,value:"最近三月"}];async function bn(){const Cn=await apiDashboard.getBaseInfo();console.log(Cn.data),Fe.value=Cn.data}async function _n(){const Cn=await apiDashboard.getBaiduVisit({days:Lt.value}),{data:Sn}=Cn;hn.xAxis.data=Sn.items[0].map(En=>En[0]),hn.series.forEach((En,Tn)=>{En.data=Sn.items[1].map(An=>An[Tn])});const xn=document.getElementById("baidu");qe=init$1(xn),qe.setOption(hn)}async function wn(){const Cn=await apiDashboard.getChatStatistic({days:Dt.value}),{date:Sn,chat:xn,draw:En}=Cn.data;jt.xAxis[0].data=Sn,jt.series[0].data=xn,jt.series[1].data=En;const Tn=document.getElementById("chat");Ue=init$1(Tn),Ue.setOption(jt)}watch(Ie,()=>{kn()});function kn(){const Sn=$e.settings.app.colorScheme==="dark"?["#ffffff1a"]:["#0000001a"];jt.yAxis[0].splitLine.lineStyle.color=Sn,jt.xAxis[0].splitLine.lineStyle.color=Sn,Ue.setOption(jt),hn.yAxis.splitLine.lineStyle.color=Sn,hn.xAxis.splitLine.lineStyle.color=Sn,qe.setOption(hn)}return onMounted(async()=>{await bn(),await Promise.all([wn(),_n()]),kn(),ElNotification({title:"配置迁移提醒",message:"除对话页外的其他页面将不再维护。专业绘画、思维导图等页面的配置已移至其他设置中。",type:"info",duration:15e3})}),onMounted(()=>{At=new index(()=>{Ue&&Ue.resize(),qe&&qe.resize()});const Cn=document.getElementById("chat");Cn&&(At==null||At.observe(Cn));const Sn=document.getElementById("baidu");Sn&&(At==null||At.observe(Sn))}),onBeforeMount(()=>{At&&At.disconnect()}),(Cn,Sn)=>{const xn=resolveComponent("el-card"),En=resolveComponent("el-col"),Tn=resolveComponent("el-row"),An=resolveComponent("Histogram"),$n=resolveComponent("el-icon"),Pn=resolveComponent("el-radio-button"),Nn=resolveComponent("el-radio-group");return openBlock(),createElementBlock("div",_hoisted_1,[createVNode$1(Tn,{gutter:10},{default:withCtx(()=>[createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>{var Mn;return[createBaseVNode("div",_hoisted_2,[_hoisted_3,createBaseVNode("b",null,toDisplayString((Mn=unref(Fe))==null?void 0:Mn.newUserCount),1)])]}),default:withCtx(()=>[createBaseVNode("div",_hoisted_4,[_hoisted_5,createBaseVNode("span",null,toDisplayString(unref(Fe).userCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_6,[_hoisted_7,createBaseVNode("b",null,toDisplayString(unref(Fe).newChatCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_8,[_hoisted_9,createBaseVNode("span",null,toDisplayString(unref(Fe).chatCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_10,[_hoisted_11,createBaseVNode("b",null,toDisplayString(unref(Fe).newDrawCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_12,[_hoisted_13,createBaseVNode("span",null,toDisplayString(unref(Fe).drawCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_14,[_hoisted_15,createBaseVNode("b",null,toDisplayString(unref(Fe).newOrderCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_16,[_hoisted_17,createBaseVNode("span",null,toDisplayString(unref(Fe).orderCount),1)])]),_:1})]),_:1})]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_18,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_19]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Dt),"onUpdate:modelValue":Sn[0]||(Sn[0]=Mn=>isRef(Dt)?Dt.value=Mn:null),onChange:wn},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_20]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_21,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_22]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Lt),"onUpdate:modelValue":Sn[1]||(Sn[1]=Mn=>isRef(Lt)?Lt.value=Mn:null),onChange:_n},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_23]),_:1})])}}}),block0={},_export_sfc=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};typeof block0=="function"&&block0(_sfc_main$1);const Home=_export_sfc(_sfc_main$1,[["__scopeId","data-v-c51b6157"]]),__pages_import_0__=()=>__vitePreload(()=>import("./wechat-CQsZmy5Y.js"),__vite__mapDeps([0,1,2])),__pages_import_1__=()=>__vitePreload(()=>import("./register-BJE5TCcO.js"),__vite__mapDeps([3,1,2,4])),__pages_import_2__=()=>__vitePreload(()=>import("./phone-PTyObPEp.js"),__vite__mapDeps([5,1,2])),__pages_import_3__=()=>__vitePreload(()=>import("./index-HxeUcFuX.js"),__vite__mapDeps([6,7,1,8,9])),__pages_import_4__=()=>__vitePreload(()=>import("./email-DKxAB5FY.js"),__vite__mapDeps([10,1,2])),__pages_import_5__=()=>__vitePreload(()=>import("./accountLog-CgwMsGh5.js"),__vite__mapDeps([11,7,1,8,9])),__pages_import_6__=()=>__vitePreload(()=>import("./secret-BKVKoGo0.js"),__vite__mapDeps([12,2])),__pages_import_7__=()=>__vitePreload(()=>import("./notice-BYvwXXls.js").then(xe=>xe.w),__vite__mapDeps([13,1,2,14])),__pages_import_8__=()=>__vitePreload(()=>import("./menu-B96XJwvy.js"),__vite__mapDeps([15,1])),__pages_import_9__=()=>__vitePreload(()=>import("./cos-BwsDEZux.js"),__vite__mapDeps([16,7,2])),__pages_import_10__=()=>__vitePreload(()=>import("./baseConfiguration-BCZRQHpL.js"),__vite__mapDeps([17,1,2])),__pages_import_11__=()=>__vitePreload(()=>import("./base-D6DWX5jw.js"),__vite__mapDeps([18,1,2])),__pages_import_12__=()=>__vitePreload(()=>import("./tencent-CbXjOfFM.js"),__vite__mapDeps([19,1,2])),__pages_import_13__=()=>__vitePreload(()=>import("./chevereto-Cojl7eGm.js"),__vite__mapDeps([20,1,2])),__pages_import_14__=()=>__vitePreload(()=>import("./ali-p6l9B57I.js"),__vite__mapDeps([21,1,2])),__pages_import_15__=()=>__vitePreload(()=>import("./violation-C4Vn9f3E.js"),__vite__mapDeps([22,7,1,23,9,24,8,25])),__pages_import_16__=()=>__vitePreload(()=>import("./custom-l-N43gkC.js"),__vite__mapDeps([26,7,1,23,8])),__pages_import_17__=()=>__vitePreload(()=>import("./baiduSensitive-BR2PdTCb.js"),__vite__mapDeps([27,1,2])),__pages_import_18__=()=>__vitePreload(()=>import("./autpReply-DqDoPYBU.js"),__vite__mapDeps([28,7,1,9,8])),__pages_import_19__=()=>__vitePreload(()=>import("./salesUser-DaObJiUp.js"),__vite__mapDeps([29,7,1,30])),__pages_import_20__=()=>__vitePreload(()=>import("./records-DYr6I3lc.js"),__vite__mapDeps([31,7,1,30])),__pages_import_21__=()=>__vitePreload(()=>import("./order-aUkvgb-R.js"),__vite__mapDeps([32,7,1,30,8])),__pages_import_22__=()=>__vitePreload(()=>import("./base-CTfzaFK4.js"),__vite__mapDeps([33,1,2])),__pages_import_23__=()=>__vitePreload(()=>import("./setting-BAoY_Ql2.js"),__vite__mapDeps([34,7,35])),__pages_import_24__=()=>__vitePreload(()=>import("./edit.password-D7ZAvQv4.js"),__vite__mapDeps([36,7,1,37,38])),__pages_import_25__=()=>__vitePreload(()=>import("./wechat-CL8Cz1nk.js"),__vite__mapDeps([39,1,2])),__pages_import_26__=()=>__vitePreload(()=>import("./mpay-o9uxzOkc.js"),__vite__mapDeps([40,1,2])),__pages_import_27__=()=>__vitePreload(()=>import("./ltzf-D0HQsxlE.js"),__vite__mapDeps([41,1,2])),__pages_import_28__=()=>__vitePreload(()=>import("./hupijiao-BO4U4xsH.js"),__vite__mapDeps([42,1,2])),__pages_import_29__=()=>__vitePreload(()=>import("./epay-638_pKp9.js"),__vite__mapDeps([43,1,2])),__pages_import_30__=()=>__vitePreload(()=>import("./points-sWoJawAL.js"),__vite__mapDeps([44,1,2])),__pages_import_31__=()=>__vitePreload(()=>import("./package-BXYY-dci.js"),__vite__mapDeps([45,7,1,46,8,9])),__pages_import_32__=()=>__vitePreload(()=>import("./crami-D9NB8WxL.js"),__vite__mapDeps([47,7,1,46,8,9])),__pages_import_33__=()=>__vitePreload(()=>import("./index-cajWEQAp.js"),__vite__mapDeps([48,7,1,8,9,49])),__pages_import_34__=()=>__vitePreload(()=>import("./systemapp-DJrMoKGf.js"),__vite__mapDeps([50,7,51])),__pages_import_35__=()=>__vitePreload(()=>import("./proxy-bLav1Wsp.js"),__vite__mapDeps([52,7,2])),__pages_import_36__=()=>__vitePreload(()=>import("./prompts-Ye6Oj7i-.js"),__vite__mapDeps([53,7,54,55])),__pages_import_37__=()=>__vitePreload(()=>import("./mind-B_WSAUBh.js"),__vite__mapDeps([56,7,2])),__pages_import_38__=()=>__vitePreload(()=>import("./key-r5Zxxyvt.js"),__vite__mapDeps([57,7,1,9,8])),__pages_import_39__=()=>__vitePreload(()=>import("./interface-BNhu0ZTN.js"),__vite__mapDeps([58,1,2])),__pages_import_40__=()=>__vitePreload(()=>import("./index-fTnxfxnl.js"),__vite__mapDeps([59,7,2])),__pages_import_41__=()=>__vitePreload(()=>import("./draw-tNxylMdp.js"),__vite__mapDeps([60,7,61,54,9,8,25])),__pages_import_42__=()=>__vitePreload(()=>import("./logo-DmZoD7kH.js"),__vite__mapDeps([62,7,2])),__pages_import_43__=()=>__vitePreload(()=>import("./midjourney-DAsuyAVc.js"),__vite__mapDeps([63,7,61,8,64])),__pages_import_44__=()=>__vitePreload(()=>import("./draw-CP44uPQp.js"),__vite__mapDeps([65,7,1,61,8,9,64])),__pages_import_45__=()=>__vitePreload(()=>import("./chat-C0XGvCR7.js"),__vite__mapDeps([66,7,1,61,9,24,25])),__pages_import_46__=()=>__vitePreload(()=>import("./index-CL6GQ5ac.js"),__vite__mapDeps([67,7,2])),__pages_import_47__=()=>__vitePreload(()=>import("./visible-BoTNan2x.js"),__vite__mapDeps([68,1,2])),__pages_import_48__=()=>__vitePreload(()=>import("./plugin-BJfNggsf.js"),__vite__mapDeps([69,7,1,8])),__pages_import_49__=()=>__vitePreload(()=>import("./pdf-DcB8ZACi.js"),__vite__mapDeps([70,7,2])),__pages_import_50__=()=>__vitePreload(()=>import("./classify-BzXS8--f.js"),__vite__mapDeps([71,7,1,51,9,8])),__pages_import_51__=()=>__vitePreload(()=>import("./application-DpE5uIQV.js"),__vite__mapDeps([72,7,1,51,9,8])),__pages_import_52__=()=>__vitePreload(()=>import("./globalPre-9_jT2JPq.js"),__vite__mapDeps([73,7,2])),__pages_import_53__=()=>__vitePreload(()=>import("./github-redirect-CXX58CNG.js"),[]),__pages_import_54__=()=>__vitePreload(()=>import("./reload-C0tsHzqR.js"),[]),__pages_import_55__=()=>__vitePreload(()=>import("./login-CbmFWO_t.js"),[]),__pages_import_57__=()=>__vitePreload(()=>import("./_...all_-D3UmvVPx.js"),[]),routes$c=[{name:"users-wechat",path:"/users/wechat",component:__pages_import_0__,props:!0,meta:{title:"微信设置"}},{name:"users-register",path:"/users/register",component:__pages_import_1__,props:!0,meta:{title:"访问配置"}},{name:"users-phone",path:"/users/phone",component:__pages_import_2__,props:!0,meta:{title:"手机验证码配置"}},{name:"users",path:"/users",component:__pages_import_3__,props:!0,meta:{title:"用户管理"}},{name:"users-email",path:"/users/email",component:__pages_import_4__,props:!0,meta:{title:"邮件设置"}},{name:"users-accountLog",path:"/users/accountlog",component:__pages_import_5__,props:!0,meta:{title:"账户变更记录"}},{name:"system-secret",path:"/system/secret",component:__pages_import_6__,props:!0,meta:{title:"key设置"}},{name:"system-notice",path:"/system/notice",component:__pages_import_7__,props:!0,meta:{title:"公告设置"}},{name:"system-menu",path:"/system/menu",component:__pages_import_8__,props:!0,meta:{title:"动态菜单"}},{name:"system-cos",path:"/system/cos",component:__pages_import_9__,props:!0,meta:{title:"cos设置"}},{name:"system-baseConfiguration",path:"/system/baseconfiguration",component:__pages_import_10__,props:!0,meta:{title:"基础配置"}},{name:"system-base",path:"/system/base",component:__pages_import_11__,props:!0,meta:{title:"百度统计"}},{name:"storage-tencent",path:"/storage/tencent",component:__pages_import_12__,props:!0,meta:{title:"腾讯云cos设置"}},{name:"storage-chevereto",path:"/storage/chevereto",component:__pages_import_13__,props:!0,meta:{title:"Chevereto图床设置"}},{name:"storage-ali",path:"/storage/ali",component:__pages_import_14__,props:!0,meta:{title:"阿里云oss设置"}},{name:"sensitive-violation",path:"/sensitive/violation",component:__pages_import_15__,props:!0,meta:{title:"违规记录"}},{name:"sensitive-custom",path:"/sensitive/custom",component:__pages_import_16__,props:!0,meta:{title:"敏感词预设"}},{name:"sensitive-baiduSensitive",path:"/sensitive/baidusensitive",component:__pages_import_17__,props:!0,meta:{title:"百度云敏感词设置"}},{name:"sensitive-autpReply",path:"/sensitive/autpreply",component:__pages_import_18__,props:!0,meta:{title:"自定义回复预设"}},{name:"sales-salesUser",path:"/sales/salesuser",component:__pages_import_19__,props:!0,meta:{title:"分销佣金账户"}},{name:"sales-records",path:"/sales/records",component:__pages_import_20__,props:!0,meta:{title:"佣金分销明细"}},{name:"sales-order",path:"/sales/order",component:__pages_import_21__,props:!0,meta:{title:"key列表"}},{name:"sales-base",path:"/sales/base",component:__pages_import_22__,props:!0,meta:{title:"分销系统基础设置"}},{name:"personalSetting",path:"/personal/setting",component:__pages_import_23__,props:!0,meta:{title:"个人设置",cache:"personal-edit.password"}},{name:"personalEditPassword",path:"/personal/edit.password",component:__pages_import_24__,props:!0,meta:{title:"修改密码"}},{name:"pay-wechat",path:"/pay/wechat",component:__pages_import_25__,props:!0,meta:{title:"官方微信支付设置"}},{name:"pay-mpay",path:"/pay/mpay",component:__pages_import_26__,props:!0,meta:{title:"码支付设置"}},{name:"pay-ltzf",path:"/pay/ltzf",component:__pages_import_27__,props:!0,meta:{title:"蓝兔支付设置"}},{name:"pay-hupijiao",path:"/pay/hupijiao",component:__pages_import_28__,props:!0,meta:{title:"虎皮椒支付设置"}},{name:"pay-epay",path:"/pay/epay",component:__pages_import_29__,props:!0,meta:{title:"易支付设置"}},{name:"package-points",path:"/package/points",component:__pages_import_30__,props:!0,meta:{title:"积分显示"}},{name:"package-package",path:"/package/package",component:__pages_import_31__,props:!0,meta:{title:"卡券管理"}},{name:"package-crami",path:"/package/crami",component:__pages_import_32__,props:!0,meta:{title:"卡密管理"}},{name:"order",path:"/order",component:__pages_import_33__,props:!0,meta:{title:"对话管理"}},{name:"models-systemapp",path:"/models/systemapp",component:__pages_import_34__,props:!0,meta:{title:"系统应用管理"}},{name:"models-proxy",path:"/models/proxy",component:__pages_import_35__,props:!0,meta:{title:"MJ设置"}},{name:"models-prompts",path:"/models/prompts",component:__pages_import_36__,props:!0,meta:{title:"模型列表"}},{name:"models-mind",path:"/models/mind",component:__pages_import_37__,props:!0,meta:{title:"思维导图"}},{name:"models-key",path:"/models/key",component:__pages_import_38__,props:!0,meta:{title:"模型列表"}},{name:"models-interface",path:"/models/interface",component:__pages_import_39__,props:!0,meta:{title:"接口请求设置"}},{name:"mjDraw",path:"/mjdraw",component:__pages_import_40__,props:!0,meta:{title:"MJ设置"}},{name:"mjDraw-draw",path:"/mjdraw/draw",component:__pages_import_41__,props:!0,meta:{title:"key列表"}},{name:"client-logo",path:"/client/logo",component:__pages_import_42__,props:!0,meta:{title:"动态菜单"}},{name:"chat-midjourney",path:"/chat/midjourney",component:__pages_import_43__,props:!0,meta:{title:"MJ绘画管理"}},{name:"chat-draw",path:"/chat/draw",component:__pages_import_44__,props:!0,meta:{title:"绘画管理"}},{name:"chat-chat",path:"/chat/chat",component:__pages_import_45__,props:!0,meta:{title:"对话管理"}},{name:"basic",path:"/basic",component:__pages_import_46__,props:!0,meta:{title:"全局预设"}},{name:"app-visible",path:"/app/visible",component:__pages_import_47__,props:!0,meta:{title:"基础设置"}},{name:"app-plugin",path:"/app/plugin",component:__pages_import_48__,props:!0,meta:{title:"插件管理"}},{name:"app-pdf",path:"/app/pdf",component:__pages_import_49__,props:!0,meta:{title:"PDF 分析设置"}},{name:"app-classify",path:"/app/classify",component:__pages_import_50__,props:!0,meta:{title:"App分类管理"}},{name:"app-application",path:"/app/application",component:__pages_import_51__,props:!0,meta:{title:"应用管理"}},{name:"ai-globalPre",path:"/ai/globalpre",component:__pages_import_52__,props:!0,meta:{title:"全局设置"}},{name:"ai-github-redirect",path:"/ai/github-redirect",component:__pages_import_53__,props:!0},{name:"reload",path:"/reload",component:__pages_import_54__,props:!0},{name:"login",path:"/login",component:__pages_import_55__,props:!0,meta:{title:"登录",constant:!0,layout:!1}},{name:"home",path:"/",component:Home,props:!0,meta:{title:"主页"}},{name:"notFound",path:"/:all(.*)*",component:__pages_import_57__,props:!0,meta:{title:"找不到页面",constant:!0,layout:!1}}];function setupLayouts(xe){const $e={};Object.entries(Object.assign({"/src/layouts/components/AppSetting/index.vue":()=>__vitePreload(()=>import("./index-C2snIYBf.js"),__vite__mapDeps([74,75,76,77,78,79,80,81,82])),"/src/layouts/components/BackTop/index.vue":()=>__vitePreload(()=>import("./index-B_suYy0E.js"),__vite__mapDeps([83,84])),"/src/layouts/components/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-CHGE2DVJ.js"),__vite__mapDeps([85,86])),"/src/layouts/components/Breadcrumb/item.vue":()=>__vitePreload(()=>import("./item-DyfuWkxw.js"),__vite__mapDeps([87,88])),"/src/layouts/components/Copyright/index.vue":()=>__vitePreload(()=>import("./index-BjjDdbQo.js"),__vite__mapDeps([89,90])),"/src/layouts/components/Header/index.vue":()=>__vitePreload(()=>import("./index-Cpibzrxv.js"),__vite__mapDeps([91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102])),"/src/layouts/components/HotkeysIntro/index.vue":()=>__vitePreload(()=>import("./index-CmltU4uk.js"),__vite__mapDeps([103,104,105,99])),"/src/layouts/components/Logo/index.vue":()=>__vitePreload(()=>import("./index-D7Yis3F9.js"),__vite__mapDeps([106,92])),"/src/layouts/components/MainSidebar/index.vue":()=>__vitePreload(()=>import("./index-D15m5k9F.js"),__vite__mapDeps([107,92,101,108])),"/src/layouts/components/Menu/index.vue":()=>__vitePreload(()=>import("./index-Dw8pX3Wj.js"),__vite__mapDeps([109,110,111,112,79])),"/src/layouts/components/Menu/item.vue":()=>__vitePreload(()=>import("./item-CcOJTqF3.js"),__vite__mapDeps([113,112,79])),"/src/layouts/components/Menu/sub.vue":()=>__vitePreload(()=>import("./sub-vJdQqGqj.js"),__vite__mapDeps([114,111,112,79])),"/src/layouts/components/Search/index.vue":()=>__vitePreload(()=>import("./index-DmWzF287.js"),__vite__mapDeps([115,116,99,85,86,88])),"/src/layouts/components/SubSidebar/index.vue":()=>__vitePreload(()=>import("./index-BtV4tEHw.js"),__vite__mapDeps([117,81,92,110,111,112,79,118])),"/src/layouts/components/Topbar/Tabbar/index.vue":()=>__vitePreload(()=>import("./index-CSu-2OAU.js"),__vite__mapDeps([119,81,37,120])),"/src/layouts/components/Topbar/Toolbar/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-Bun7yaxh.js"),__vite__mapDeps([121,85,86,88,122])),"/src/layouts/components/Topbar/Toolbar/ColorScheme/index.vue":()=>__vitePreload(()=>import("./index-Sv6TNBZz.js"),__vite__mapDeps([123,95,96,80,78])),"/src/layouts/components/Topbar/Toolbar/Fullscreen/index.vue":()=>__vitePreload(()=>import("./index-BBRC8Ph6.js"),__vite__mapDeps([124,97,81])),"/src/layouts/components/Topbar/Toolbar/NavSearch/index.vue":()=>__vitePreload(()=>import("./index-BrKxlurX.js"),__vite__mapDeps([125,98,99])),"/src/layouts/components/Topbar/Toolbar/PageReload/index.vue":()=>__vitePreload(()=>import("./index-C2MdtKFl.js"),__vite__mapDeps([126,100,37])),"/src/layouts/components/Topbar/Toolbar/index.vue":()=>__vitePreload(()=>import("./index-CHxKnDgq.js"),__vite__mapDeps([127,128,121,85,86,88,122,93,94,95,96,80,78,97,81,98,99,100,37,129])),"/src/layouts/components/Topbar/Toolbar/leftSide.vue":()=>__vitePreload(()=>import("./leftSide-B36Gd3Mc.js"),__vite__mapDeps([130,128,121,85,86,88,122])),"/src/layouts/components/Topbar/Toolbar/rightSide.vue":()=>__vitePreload(()=>import("./rightSide-Ds2gMCLM.js"),__vite__mapDeps([131,93,94,95,96,80,78,97,81,98,99,100,37])),"/src/layouts/components/Topbar/index.vue":()=>__vitePreload(()=>import("./index-C-NEQ-qC.js"),__vite__mapDeps([132,119,81,37,120,127,128,121,85,86,88,122,93,94,95,96,80,78,97,98,99,100,129,133])),"/src/layouts/components/views/link.vue":()=>__vitePreload(()=>import("./link-BWt2ASQg.js"),__vite__mapDeps([134,7,79,81,135])),"/src/layouts/index.vue":()=>__vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82])),"/src/layouts/ui-kit/HButton.vue":()=>__vitePreload(()=>import("./HButton-aVY9RE9r.js"),[]),"/src/layouts/ui-kit/HCheckList.vue":()=>__vitePreload(()=>import("./HCheckList-BDt5IzdQ.js"),__vite__mapDeps([138,76])),"/src/layouts/ui-kit/HDialog.vue":()=>__vitePreload(()=>import("./HDialog-CkHEJpCp.js"),__vite__mapDeps([139,105])),"/src/layouts/ui-kit/HDropdown.vue":()=>__vitePreload(()=>import("./HDropdown-DTfQxtss.js"),[]),"/src/layouts/ui-kit/HDropdownMenu.vue":()=>__vitePreload(()=>import("./HDropdownMenu-Da4N3uIo.js"),__vite__mapDeps([140,94])),"/src/layouts/ui-kit/HInput.vue":()=>__vitePreload(()=>import("./HInput-Bn11_Lg9.js"),__vite__mapDeps([141,75])),"/src/layouts/ui-kit/HKbd.vue":()=>__vitePreload(()=>import("./HKbd-vG5TE40y.js"),[]),"/src/layouts/ui-kit/HSelect.vue":()=>__vitePreload(()=>import("./HSelect-B1PkAF1H.js"),[]),"/src/layouts/ui-kit/HSlideover.vue":()=>__vitePreload(()=>import("./HSlideover-Dkm9lfbf.js"),[]),"/src/layouts/ui-kit/HTabList.vue":()=>__vitePreload(()=>import("./HTabList-B--QzHcy.js"),__vite__mapDeps([142,80,78])),"/src/layouts/ui-kit/HToggle.vue":()=>__vitePreload(()=>import("./HToggle-Coys5ucw.js"),__vite__mapDeps([143,77,78])),"/src/layouts/ui-kit/HTooltip.vue":()=>__vitePreload(()=>import("./HTooltip-ChniI1oo.js"),__vite__mapDeps([144,79]))})).forEach(([Ue,qe])=>{let At=Ue.replace("/src/layouts/","").replace(".vue","");$e[At]=qe});function Fe(Ue,qe=!0){return Ue.map(At=>{var Dt,Lt,jt,hn,vn;return((Dt=At.children)==null?void 0:Dt.length)>0&&(At.children=Fe(At.children,!1)),qe&&((Lt=At.meta)==null?void 0:Lt.layout)!==!1?{path:At.path,component:$e[((jt=At.meta)==null?void 0:jt.layout)||"index"],children:At.path==="/"?[At]:[{...At,path:""}],meta:{isLayout:!0}}:(hn=At.meta)!=null&&hn.layout?{path:At.path,component:$e[(vn=At.meta)==null?void 0:vn.layout],children:[{...At,path:""}],meta:{isLayout:!0}}:At})}return Fe(xe)}function Layout$a(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$b={path:"/chat",component:Layout$a,redirect:"/chat/chat",name:"chatMenu",meta:{title:"数据管理",icon:"majesticons:data-line"},children:[{path:"dashboard",name:"dashboardMenu",component:()=>__vitePreload(()=>import("./index-HxeUcFuX.js"),__vite__mapDeps([6,7,1,8,9])),meta:{title:"用户信息",icon:"fa6-solid:list-ul"}},{path:"list",name:"chatMenuList",component:()=>__vitePreload(()=>import("./chat-C0XGvCR7.js"),__vite__mapDeps([66,7,1,61,9,24,25])),meta:{title:"对话记录",icon:"material-symbols-light:chat-outline"}},{path:"draw",name:"drawMenuList",component:()=>__vitePreload(()=>import("./draw-CP44uPQp.js"),__vite__mapDeps([65,7,1,61,8,9,64])),meta:{title:"绘画记录",icon:"material-symbols:draw-outline"}},{path:"auto-reply",name:"ReplyMenuList",component:()=>__vitePreload(()=>import("./autpReply-DqDoPYBU.js"),__vite__mapDeps([28,7,1,9,8])),meta:{title:"回复预设",icon:"ic:outline-question-answer"}}]};function Layout$9(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$a={path:"/package",component:Layout$9,redirect:"/package/list",name:"packageMenu",meta:{title:"套餐管理",icon:"icon-park-outline:buy"},children:[{path:"order-list",name:"OrderMenuList",component:()=>__vitePreload(()=>import("./index-cajWEQAp.js"),__vite__mapDeps([48,7,1,8,9,49])),meta:{title:"订单列表",icon:"lets-icons:order"}},{path:"account-log",name:"AccountLogMenu",component:()=>__vitePreload(()=>import("./accountLog-CgwMsGh5.js"),__vite__mapDeps([11,7,1,8,9])),meta:{title:"账户明细",icon:"carbon:account"}},{path:"list",name:"packageMenuList",component:()=>__vitePreload(()=>import("./package-BXYY-dci.js"),__vite__mapDeps([45,7,1,46,8,9])),meta:{title:"套餐设置",icon:"icon-park-outline:commodity"}},{path:"crami",name:"cramiMenuList",component:()=>__vitePreload(()=>import("./crami-D9NB8WxL.js"),__vite__mapDeps([47,7,1,46,8,9])),meta:{title:"卡密管理",icon:"solar:passport-broken"}}]};function Layout$8(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$9={path:"/sales",component:Layout$8,redirect:"/sales/config",name:"SalesMenu",meta:{title:"分销管理",icon:"mdi:cart-sale"},children:[{path:"config",name:"SalesBaseManage",component:()=>__vitePreload(()=>import("./base-CTfzaFK4.js"),__vite__mapDeps([33,1,2])),meta:{title:"基础分销配置",icon:"mdi:sale-outline"}},{path:"salesUser",name:"SalesUserManage",component:()=>__vitePreload(()=>import("./salesUser-DaObJiUp.js"),__vite__mapDeps([29,7,1,30])),meta:{title:"佣金账户列表",icon:"tdesign:money"}},{path:"records",name:"SalesRecoredManage",component:()=>__vitePreload(()=>import("./records-DYr6I3lc.js"),__vite__mapDeps([31,7,1,30])),meta:{title:"佣金分销明细",icon:"ep:money"}},{path:"order",name:"SalesOrderManage",component:()=>__vitePreload(()=>import("./order-aUkvgb-R.js"),__vite__mapDeps([32,7,1,30,8])),meta:{title:"提现工单管理",icon:"mdi:order-bool-descending-variant"}}]};function Layout$7(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$8={path:"/user",component:Layout$7,redirect:"/user/dashboard",name:"userMenu",meta:{title:"访问管理",icon:"mdi:user-outline"},children:[{path:"register",name:"systemMenuRegister",component:()=>__vitePreload(()=>import("./register-BJE5TCcO.js"),__vite__mapDeps([3,1,2,4])),meta:{title:"访问配置",icon:"hugeicons:access"}},{path:"email",name:"systemMenuEmail",component:()=>__vitePreload(()=>import("./email-DKxAB5FY.js"),__vite__mapDeps([10,1,2])),meta:{title:"邮件登录配置",icon:"material-symbols:mail-outline"}},{path:"wechat",name:"systemMenuWechat",component:()=>__vitePreload(()=>import("./wechat-CQsZmy5Y.js"),__vite__mapDeps([0,1,2])),meta:{title:"微信登录配置",icon:"la:weixin"}},{path:"ali-phone",name:"AliPhoneMenu",component:()=>__vitePreload(()=>import("./phone-PTyObPEp.js"),__vite__mapDeps([5,1,2])),meta:{title:"短信登录配置",icon:"tabler:message"}}]};function Layout$6(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$7={path:"/app",component:Layout$6,redirect:"/app/classify",name:"AppMenu",meta:{title:"插件应用",icon:"tdesign:app"},children:[{path:"visible",name:"VisibleMenu",component:()=>__vitePreload(()=>import("./visible-BoTNan2x.js"),__vite__mapDeps([68,1,2])),meta:{title:"基础设置",icon:"tdesign:setting"}},{path:"pluginmenu",name:"PluginMenu",component:()=>__vitePreload(()=>import("./plugin-BJfNggsf.js"),__vite__mapDeps([69,7,1,8])),meta:{title:"插件列表",icon:"mingcute:plugin-2-line"}},{path:"classify",name:"AppMenuClassify",component:()=>__vitePreload(()=>import("./classify-BzXS8--f.js"),__vite__mapDeps([71,7,1,51,9,8])),meta:{title:"分类列表",icon:"ph:list-fill"}},{path:"application",name:"Application",component:()=>__vitePreload(()=>import("./application-DpE5uIQV.js"),__vite__mapDeps([72,7,1,51,9,8])),meta:{title:"应用列表",icon:"clarity:vmw-app-line"}}]};function Layout$5(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$6={path:"/system",component:Layout$5,redirect:"/system/base",name:"systemMenu",meta:{title:"系统管理",icon:"tdesign:system-2"},children:[{path:"base-configuration",name:"ClientBaseConfig",component:()=>__vitePreload(()=>import("./baseConfiguration-BCZRQHpL.js"),__vite__mapDeps([17,1,2])),meta:{title:"基础配置",icon:"uil:setting"}},{path:"menu",name:"ClientMenuConfig",component:()=>__vitePreload(()=>import("./menu-B96XJwvy.js"),__vite__mapDeps([15,1])),meta:{title:"动态菜单",icon:"gg:menu-grid-r"}},{path:"points",name:"PointsDisplay",component:()=>__vitePreload(()=>import("./points-sWoJawAL.js"),__vite__mapDeps([44,1,2])),meta:{title:"显示设置",icon:"mdi:show-outline"}},{path:"notice",name:"systemMenuNotice",component:()=>__vitePreload(()=>import("./notice-BYvwXXls.js").then(xe=>xe.w),__vite__mapDeps([13,1,2,14])),meta:{title:"公告设置",icon:"mdi:notice-board"}},{path:"baidu",name:"systemMenuBase",component:()=>__vitePreload(()=>import("./base-D6DWX5jw.js"),__vite__mapDeps([18,1,2])),meta:{title:"统计设置",icon:"wpf:statistics"}}]};function Layout$4(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$5={path:"/ai",component:Layout$4,redirect:"/ai/chat-key-list",name:"AiMenu",meta:{title:"模型管理",icon:"hugeicons:ai-book"},children:[{path:"model",name:"AiMenuInterface",component:()=>__vitePreload(()=>import("./interface-BNhu0ZTN.js"),__vite__mapDeps([58,1,2])),meta:{title:"全局配置",icon:"tabler:box-model"}},{path:"keys",name:"AiMenuKeys",component:()=>__vitePreload(()=>import("./key-r5Zxxyvt.js"),__vite__mapDeps([57,7,1,9,8])),meta:{title:"模型设置",icon:"ph:open-ai-logo-light"}}]};function Layout$3(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$4={path:"/others",component:Layout$3,name:"othersMenu",meta:{title:"其他设置",icon:"material-symbols:history"},children:[{path:"Midjourney",name:"Midjourney",component:()=>__vitePreload(()=>import("./proxy-bLav1Wsp.js"),__vite__mapDeps([52,7,2])),meta:{title:"MJ绘画设置",icon:"fluent:draw-image-20-regular"},children:[{path:"proxy",name:"mjProxyManage",component:()=>__vitePreload(()=>import("./proxy-bLav1Wsp.js"),__vite__mapDeps([52,7,2])),meta:{title:"绘画设置",icon:"fluent:draw-image-24-regular"}},{path:"midjourney",name:"MjMenuList",component:()=>__vitePreload(()=>import("./midjourney-DAsuyAVc.js"),__vite__mapDeps([63,7,61,8,64])),meta:{title:"绘画管理",icon:"mingcute:pic-line"}},{path:"mjdraw",name:"mjDrawManage",component:()=>__vitePreload(()=>import("./draw-tNxylMdp.js"),__vite__mapDeps([60,7,61,54,9,8,25])),meta:{title:"绘图历史",icon:"material-symbols:history"}}]},{path:"prompts",name:"mjPromptsManage",component:()=>__vitePreload(()=>import("./prompts-Ye6Oj7i-.js"),__vite__mapDeps([53,7,54,55])),meta:{title:"提示词预设",icon:"mdi:tag-text-outline"},children:[]},{path:"mind",name:"systemMenuMind",component:()=>__vitePreload(()=>import("./mind-B_WSAUBh.js"),__vite__mapDeps([56,7,2])),meta:{title:"思维导图",icon:"icon-park-outline:mindmap-map"}},{path:"systemapp-list",name:"systemAppList",component:()=>__vitePreload(()=>import("./systemapp-DJrMoKGf.js"),__vite__mapDeps([50,7,51])),meta:{title:"系统应用",icon:"grommet-icons:system"}}]};function Layout$2(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$3={path:"/pay",component:Layout$2,redirect:"/pay/hupijiao",name:"PayMenu",meta:{title:"支付管理",icon:"mingcute:card-pay-line"},children:[{path:"wechat",name:"WechatConfig",component:()=>__vitePreload(()=>import("./wechat-CL8Cz1nk.js"),__vite__mapDeps([39,1,2])),meta:{title:"微信支付",icon:"ic:baseline-wechat"}},{path:"epay",name:"EpayConfig",component:()=>__vitePreload(()=>import("./epay-638_pKp9.js"),__vite__mapDeps([43,1,2])),meta:{title:"易支付",icon:"uiw:pay"}},{path:"mpay",name:"MpayConfig",component:()=>__vitePreload(()=>import("./mpay-o9uxzOkc.js"),__vite__mapDeps([40,1,2])),meta:{title:"码支付",icon:"ant-design:pay-circle-outlined"}},{path:"hupi",name:"HupioConfig",component:()=>__vitePreload(()=>import("./hupijiao-BO4U4xsH.js"),__vite__mapDeps([42,1,2])),meta:{title:"虎皮椒支付",icon:"token:pay"}},{path:"ltzf",name:"LtzfConfig",component:()=>__vitePreload(()=>import("./ltzf-D0HQsxlE.js"),__vite__mapDeps([41,1,2])),meta:{title:"蓝兔支付",icon:"ph:rabbit"}}]},routes$2={path:"/github",component:()=>__vitePreload(()=>import("./github-redirect-CXX58CNG.js"),[]),name:"ProjectAddressMenu",meta:{title:"开源地址",icon:"mdi:github"}};function Layout$1(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$1={path:"/secure",component:Layout$1,redirect:"/secure/sensitive-baidu",name:"SecureMenu",meta:{title:"风控管理",icon:"ri:secure-payment-line"},children:[{path:"sensitive-violation",name:"SensitiveViolationLog",component:()=>__vitePreload(()=>import("./violation-C4Vn9f3E.js"),__vite__mapDeps([22,7,1,23,9,24,8,25])),meta:{title:"违规检测记录",icon:"tabler:ban"}},{path:"sensitive-baidu",name:"SensitiveBaiduyun",component:()=>__vitePreload(()=>import("./baiduSensitive-BR2PdTCb.js"),__vite__mapDeps([27,1,2])),meta:{title:"百度云敏感词",icon:"ri:baidu-line"}},{path:"sensitive-custom",name:"SensitiveCuston",component:()=>__vitePreload(()=>import("./custom-l-N43gkC.js"),__vite__mapDeps([26,7,1,23,8])),meta:{title:"自定义敏感词",icon:"carbon:word-cloud"}}]};function Layout(){return __vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes={path:"/storage",component:Layout,redirect:"/storage/config",name:"StorageMenu",meta:{title:"存储配置",icon:"mingcute:storage-line"},children:[{path:"tencent",name:"StorageTencent",component:()=>__vitePreload(()=>import("./tencent-CbXjOfFM.js"),__vite__mapDeps([19,1,2])),meta:{title:"腾讯云COS",icon:"mingcute:storage-line"}},{path:"ali",name:"StorageAli",component:()=>__vitePreload(()=>import("./ali-p6l9B57I.js"),__vite__mapDeps([21,1,2])),meta:{title:"阿里云OSS",icon:"material-symbols:home-storage-outline"}},{path:"chevereto",name:"StorageChevereto",component:()=>__vitePreload(()=>import("./chevereto-Cojl7eGm.js"),__vite__mapDeps([20,1,2])),meta:{title:"chevereto图床",icon:"material-symbols:image-outline"}}]},constantRoutes=[{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./login-CbmFWO_t.js"),[]),meta:{title:"登录"}},{path:"/:all(.*)*",name:"notFound",component:()=>__vitePreload(()=>import("./_...all_-D3UmvVPx.js"),[]),meta:{title:"找不到页面"}}],systemRoutes=[{path:"/",component:()=>__vitePreload(()=>import("./index-BTK6Z_A_.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82])),meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1},children:[{path:"",name:"home",component:Home,meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1}},{path:"reload",name:"reload",component:()=>__vitePreload(()=>import("./reload-C0tsHzqR.js"),[]),meta:{title:"重新加载",breadcrumb:!1}},{path:"setting",name:"personalSetting",component:()=>__vitePreload(()=>import("./setting-BAoY_Ql2.js"),__vite__mapDeps([34,7,35])),meta:{title:"个人设置",cache:"personalEditPassword"}},{path:"edit/password",name:"personalEditPassword",component:()=>__vitePreload(()=>import("./edit.password-D7ZAvQv4.js"),__vite__mapDeps([36,7,1,37,38])),meta:{title:"修改密码"}}]}],asyncRoutes=[{children:[routes$6,routes$8,routes$5,routes$b,routes$7,routes$1,routes,routes$a,routes$3,routes$9,routes$4,routes$2]}],constantRoutesByFilesystem=routes$c.filter(xe=>{var $e,Ie;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)===!0}),asyncRoutesByFilesystem=setupLayouts(routes$c.filter(xe=>{var $e,Ie,Fe;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)!==!0&&((Fe=xe.meta)==null?void 0:Fe.layout)!==!1}));function validateProjectAddressMenu(xe){if(!xe.find(Ue=>{var qe;return(qe=Ue.children)==null?void 0:qe.includes(routes$2)}))return!1;const Ie=routes$2.path,Fe=routes$2.component;return!(!Ie||typeof Ie!="string"||!Fe||typeof Fe!="function")}if(!validateProjectAddressMenu(asyncRoutes))throw document.body.innerHTML="

    ",new Error("");const useRouteStore=defineStore("route",()=>{const xe=useSettingsStore(),$e=ref(!1),Ie=ref([]),Fe=ref([]),Ue=ref([]);function qe(Cn){var Sn,xn,En,Tn;return Cn.children&&(Cn.children=At(Cn.children,[{path:Cn.path,title:(Sn=Cn.meta)==null?void 0:Sn.title,icon:(xn=Cn.meta)==null?void 0:xn.icon,hide:!((En=Cn.meta)!=null&&En.breadcrumb)&&((Tn=Cn.meta)==null?void 0:Tn.breadcrumb)===!1}],Cn.path)),Cn}function At(Cn,Sn=[],xn=""){const En=[];return Cn.forEach(Tn=>{var An,$n,Pn,Nn,Mn,In,On,Rn;if(Tn.children){const Bn=resolveRoutePath(xn,Tn.path),Vn=cloneDeep(Sn);Vn.push({path:Bn,title:(An=Tn.meta)==null?void 0:An.title,icon:($n=Tn.meta)==null?void 0:$n.icon,hide:!((Pn=Tn.meta)!=null&&Pn.breadcrumb)&&((Nn=Tn.meta)==null?void 0:Nn.breadcrumb)===!1});const Ln=cloneDeep(Tn);Ln.path=Bn,Ln.meta||(Ln.meta={}),Ln.meta.breadcrumbNeste=Vn,delete Ln.children,En.push(Ln),At(Tn.children,Vn,Bn).forEach(Hn=>{En.some(Fn=>Fn.path===Hn.path)?En.forEach((Fn,zn)=>{Fn.path===Hn.path&&(En[zn]=Hn)}):En.push(Hn)})}else{const Bn=cloneDeep(Tn);Bn.path=resolveRoutePath(xn,Bn.path);const Vn=cloneDeep(Sn);Vn.push({path:Bn.path,title:(Mn=Bn.meta)==null?void 0:Mn.title,icon:(In=Bn.meta)==null?void 0:In.icon,hide:!((On=Bn.meta)!=null&&On.breadcrumb)&&((Rn=Bn.meta)==null?void 0:Rn.breadcrumb)===!1}),Bn.meta||(Bn.meta={}),Bn.meta.breadcrumbNeste=Vn,En.push(Bn)}}),En}const Dt=computed(()=>{const Cn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Ie.value&&(Ie.value.forEach(Sn=>{const xn=cloneDeep(Sn.children);xn.map(En=>{var Tn,An;return En.meta||(En.meta={}),En.meta.auth=((Tn=Sn.meta)==null?void 0:Tn.auth)??((An=En.meta)==null?void 0:An.auth),En}),Cn.push(...xn)}),Cn.forEach(Sn=>qe(Sn))):Cn.push(...cloneDeep(Fe.value)),Cn}),Lt=computed(()=>{const Cn=[...systemRoutes];return Cn.forEach(Sn=>qe(Sn)),Cn});let jt=!1;function hn(Cn){return Cn.forEach(Sn=>{Sn.children=vn(Sn.children)}),jt&&console.warn('[Fantastic-admin] 路由配置中的 "sidebar" 属性即将被弃用, 请尽快替换为 "menu" 属性'),Cn}function vn(Cn){return Cn&&Cn.forEach(Sn=>{var xn;typeof((xn=Sn.meta)==null?void 0:xn.sidebar)=="boolean"&&(jt=!0,Sn.meta.menu=Sn.meta.sidebar,delete Sn.meta.sidebar),Sn.children&&vn(Sn.children)}),Cn}function bn(Cn){Ie.value=hn(cloneDeep(Cn)),$e.value=!0}function _n(Cn){Fe.value=cloneDeep(Cn),$e.value=!0}function wn(Cn){Ue.value=Cn}function kn(){$e.value=!1,Ie.value=[],Fe.value=[],Ue.value.forEach(Cn=>{Cn()}),Ue.value=[]}return{isGenerate:$e,routesRaw:Ie,currentRemoveRoutes:Ue,flatRoutes:Dt,flatSystemRoutes:Lt,generateRoutesAtFront:bn,generateRoutesAtFilesystem:_n,setCurrentRemoveRoutes:wn,removeRoutes:kn}}),useMenuStore=defineStore("menu",()=>{const xe=useSettingsStore(),$e=useUserStore$1(),Ie=useRouteStore(),Fe=ref([]),Ue=ref(0);function qe(Sn){const xn=[];return Sn.forEach(En=>{var Tn,An,$n;if(xe.settings.menu.menuMode==="single")xn.length===0&&xn.push({meta:{},children:[]}),xn[0].children.push(...At(En.children));else{const Pn={meta:{title:(Tn=En==null?void 0:En.meta)==null?void 0:Tn.title,icon:(An=En==null?void 0:En.meta)==null?void 0:An.icon,auth:($n=En==null?void 0:En.meta)==null?void 0:$n.auth},children:[]};Pn.children=At(En.children),xn.push(Pn)}}),xn}function At(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var $n,Pn,Nn,Mn,In,On;const An={path:resolveRoutePath(xn,Tn.path),meta:{title:($n=Tn==null?void 0:Tn.meta)==null?void 0:$n.title,icon:(Pn=Tn==null?void 0:Tn.meta)==null?void 0:Pn.icon,defaultOpened:(Nn=Tn==null?void 0:Tn.meta)==null?void 0:Nn.defaultOpened,auth:(Mn=Tn==null?void 0:Tn.meta)==null?void 0:Mn.auth,menu:(In=Tn==null?void 0:Tn.meta)==null?void 0:In.menu,link:(On=Tn==null?void 0:Tn.meta)==null?void 0:On.link}};Tn.children&&(An.children=At(Tn.children,An.path)),En.push(An)}),En}const Dt=computed(()=>{let Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Sn=qe(Ie.routesRaw):Sn=Fe.value,xe.settings.app.enablePermission&&(Sn=wn(Sn,$e.permissions)),Sn}),Lt=computed(()=>Dt.value.length>0?Dt.value.length>1?Dt.value[Ue.value].children:Dt.value[0].children:[]),jt=computed(()=>Lt.value.length>0?hn(Lt.value[0]):xe.settings.home.fullPath);function hn(Sn,xn=""){let En="";if(Sn.children){const Tn=Sn.children.find(An=>{var $n;return(($n=An.meta)==null?void 0:$n.menu)!==!1});Tn?En=hn(Tn,resolveRoutePath(xn,Sn.path)):En=hn(Sn.children[0],resolveRoutePath(xn,Sn.path))}else En=resolveRoutePath(xn,Sn.path);return En}const vn=computed(()=>{const Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"&&Dt.value.forEach(xn=>{Sn.push(...bn(xn.children))}),Sn});function bn(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var An;if((An=Tn.meta)!=null&&An.defaultOpened&&Tn.children){En.push(resolveRoutePath(xn,Tn.path));const $n=bn(Tn.children,resolveRoutePath(xn,Tn.path));$n.length>0&&En.push(...$n)}}),En}function _n(Sn,xn){var Tn;let En=!1;return(Tn=xn.meta)!=null&&Tn.auth?En=Sn.some(An=>{var $n,Pn;return typeof(($n=xn.meta)==null?void 0:$n.auth)=="string"?xn.meta.auth!==""?xn.meta.auth===An:!0:typeof((Pn=xn.meta)==null?void 0:Pn.auth)=="object"?xn.meta.auth.length>0?xn.meta.auth.includes(An):!0:!1}):En=!0,En}function wn(Sn,xn){const En=[];return Sn.forEach(Tn=>{if(_n(xn,Tn)){const An=cloneDeep(Tn);An.children&&An.children.length>0?(An.children=wn(An.children,xn),An.children.length>0&&En.push(An)):(delete An.children,En.push(An))}}),En}async function kn(){Fe.value=menu.filter(Sn=>Sn.children.length!==0)}function Cn(Sn){if(typeof Sn=="number")Ue.value=Sn;else{const xn=Dt.value.findIndex(En=>En.children.some(Tn=>Sn.indexOf(`${Tn.path}/`)===0||Sn===Tn.path));xn>=0&&(Ue.value=xn)}}return{actived:Ue,allMenus:Dt,sidebarMenus:Lt,sidebarMenusFirstDeepestPath:jt,defaultOpenedPaths:vn,generateMenusAtFront:kn,setActived:Cn}}),{isLoading}=useNProgress(),router=createRouter({history:createWebHashHistory("/admin/"),routes:useSettingsStore(pinia).settings.app.routeBaseOn==="filesystem"?constantRoutesByFilesystem:constantRoutes});router.beforeEach(async(xe,$e,Ie)=>{const Fe=useSettingsStore(),Ue=useUserStore$1(),qe=useRouteStore(),At=useMenuStore();if(Fe.settings.app.enableProgress&&(isLoading.value=!0),Ue.isLogin)if(qe.isGenerate)Fe.settings.menu.menuMode!=="single"&&At.setActived(xe.path),xe.name==="login"?Ie({path:Fe.settings.home.fullPath,replace:!0}):!Fe.settings.home.enable&&xe.fullPath===Fe.settings.home.fullPath&&At.sidebarMenus.length>0?Ie({path:At.sidebarMenusFirstDeepestPath,replace:!0}):Ie();else{switch(Fe.settings.app.enablePermission&&await Ue.getPermissions(),Fe.settings.app.routeBaseOn){case"frontend":qe.generateRoutesAtFront(asyncRoutes);break;case"filesystem":switch(qe.generateRoutesAtFilesystem(asyncRoutesByFilesystem),Fe.settings.menu.baseOn){case"frontend":At.generateMenusAtFront();break}break}const Dt=[];qe.flatRoutes.forEach(Lt=>{/^(?:https?:|mailto:|tel:)/.test(Lt.path)||Dt.push(router.addRoute(Lt))}),Fe.settings.app.routeBaseOn!=="filesystem"&&qe.flatSystemRoutes.forEach(Lt=>{Dt.push(router.addRoute(Lt))}),qe.setCurrentRemoveRoutes(Dt),Ie({path:xe.path,query:xe.query,replace:!0})}else xe.name!=="login"?Ie({name:"login",query:{redirect:xe.fullPath!==Fe.settings.home.fullPath?xe.fullPath:void 0}}):Ie()});router.afterEach((xe,$e)=>{var Ue,qe,At,Dt,Lt,jt;const Ie=useSettingsStore(),Fe=useKeepAliveStore();if(Ie.settings.app.enableProgress&&(isLoading.value=!1),Ie.settings.app.routeBaseOn!=="filesystem"?Ie.setTitle(((qe=(Ue=xe.meta.breadcrumbNeste)==null?void 0:Ue.at(-1))==null?void 0:qe.title)??xe.meta.title):Ie.setTitle(xe.meta.title),xe.meta.cache){const hn=(Dt=(At=xe.matched.at(-1))==null?void 0:At.components)==null?void 0:Dt.default.name;hn?Fe.add(hn):console.warn("[Fantastic-admin] 该页面组件未设置组件名,会导致缓存失效,请检查")}if($e.meta.cache){const hn=(jt=(Lt=$e.matched.at(-1))==null?void 0:Lt.components)==null?void 0:jt.default.name;if(hn){switch(typeof $e.meta.cache){case"string":$e.meta.cache!==xe.name&&Fe.remove(hn);break;case"object":$e.meta.cache.includes(xe.name)||Fe.remove(hn);break}if($e.meta.noCache)switch(typeof $e.meta.noCache){case"string":$e.meta.noCache===xe.name&&Fe.remove(hn);break;case"object":$e.meta.noCache.includes(xe.name)&&Fe.remove(hn);break}xe.name==="reload"&&Fe.remove(hn)}}document.documentElement.scrollTop=0});const api=axios.create({baseURL:"/api",timeout:1e3*60,responseType:"json"});api.interceptors.request.use(xe=>{const $e=useUserStore$1();return $e.isLogin&&xe.headers&&(xe.headers.Authorization=$e.token?`Bearer ${$e.token}`:""),xe.method,xe});api.interceptors.response.use(xe=>Promise.resolve(xe.data),xe=>{let $e="";if(xe!=null&&xe.response){const{data:Ie,status:Fe}=xe.response;Fe===401&&($e="权限验证失败,请重新登录",Ie.code===401&&Ie.message.includes("请登录后继续操作")&&useUserStore$1().logout().then(()=>{router.push({name:"login"})}));const{message:Ue,code:qe}=Ie;Ue&&($e=Ue)}else $e="接口请求异常,请稍后再试";return ElMessage({message:$e,type:"error"}),Promise.reject(xe)});const ApiUsre={login:xe=>api.post("auth/login",xe),permission:()=>api.get("auth/getInfo"),getInfo:()=>api.get("auth/getInfo"),queryAllUser:xe=>api.get("user/queryAll",{params:xe}),updateUserStatus:xe=>api.post("user/updateStatus",xe),resetUserPassword:xe=>api.post("user/resetUserPass",xe),sendUserCrami:xe=>api.post("user/recharge",xe),passwordEdit:xe=>api.post("auth/updatePassword",xe)},useUserStore=defineStore("user",()=>{const xe=useRouteStore(),$e=useMenuStore(),Ie=ref(""),Fe=ref(localStorage.username??""),Ue=ref(localStorage.token??""),qe=ref(localStorage.failure_time??""),At=ref([]),Dt=computed(()=>Ue.value);async function Lt(_n){const wn=await ApiUsre.login(_n);localStorage.setItem("token",wn.data),Ue.value=wn.data,await hn()}async function jt(){localStorage.removeItem("username"),localStorage.removeItem("token"),localStorage.removeItem("failure_time"),Fe.value="",Ue.value="",qe.value="",xe.removeRoutes(),$e.setActived(0),router.push({name:"login"})}async function hn(){const _n=await ApiUsre.getInfo(),{userInfo:wn}=_n.data;localStorage.setItem("username",wn.username);const{role:kn}=wn;Fe.value=wn.username,Ie.value=wn.avatar,["admin","super"].includes(kn)||(ElMessage.error("您没有权限访问该系统!!!"),await jt())}async function vn(){const _n=await ApiUsre.permission(),{userInfo:wn}=_n.data,{username:kn}=wn;return localStorage.setItem("username",kn),Fe.value=kn,At.value=["permission.browse","permission.create","permission.edit","permission.remove"],At.value}async function bn(_n){await ApiUsre.passwordEdit(_n)}return{username:Fe,token:Ue,permissions:At,isLogin:Dt,avatar:Ie,login:Lt,logout:jt,getInfo:hn,getPermissions:vn,editPassword:bn}}),useUserStore$1=useUserStore;function useAuth(){function xe(Fe){const Ue=useSettingsStore(),qe=useUserStore$1();return Ue.settings.app.enablePermission?qe.permissions.includes(Fe):!0}function $e(Fe){let Ue;return typeof Fe=="string"?Ue=Fe!==""?xe(Fe):!0:Ue=Fe.length>0?Fe.some(qe=>xe(qe)):!0,Ue}function Ie(Fe){return Fe.length>0?Fe.every(Ue=>xe(Ue)):!0}return{auth:$e,authAll:Ie}}const _sfc_main=defineComponent({__name:"App",setup(xe){const $e=useRoute(),Ie=useSettingsStore(),{auth:Fe}=useAuth(),Ue=computed(()=>$e.matched.every(Dt=>Fe(Dt.meta.auth??""))),qe=computed(()=>{let Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-main-sidebar-width"));return(Ie.settings.menu.menuMode==="single"||Ie.settings.menu.menuMode==="head"&&Ie.mode!=="mobile")&&(Dt=0),`${Dt}px`}),At=computed(()=>{let Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-width"));return Ie.settings.menu.subMenuCollapse&&Ie.mode!=="mobile"&&(Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-collapse-width"))),`${Dt}px`});return watch([()=>Ie.settings.app.enableDynamicTitle,()=>Ie.title],()=>{if(Ie.settings.app.enableDynamicTitle&&Ie.title){const Dt=typeof Ie.title=="function"?Ie.title():Ie.title;document.title=`${Dt} - AIWeb`}else document.title="AIWeb"},{immediate:!0,deep:!0}),onMounted(()=>{Ie.setMode(document.documentElement.clientWidth),window.addEventListener("resize",()=>{Ie.setMode(document.documentElement.clientWidth)}),hotkeys("alt+i",()=>{eventBus.emit("global-system-info-toggle")})}),(Dt,Lt)=>{const jt=_sfc_main$2u,hn=resolveComponent("RouterView"),vn=_sfc_main$2w;return openBlock(),createBlock(_sfc_main$2t,null,{default:withCtx(()=>[createVNode$1(hn,{style:normalizeStyle$1({"--g-main-sidebar-actual-width":unref(qe),"--g-sub-sidebar-actual-width":unref(At)})},{default:withCtx(({Component:bn})=>[unref(Ue)?(openBlock(),createBlock(resolveDynamicComponent(bn),{key:0})):(openBlock(),createBlock(jt,{key:1}))]),_:1},8,["style"]),createVNode$1(vn)]),_:1})}}});function install(xe){xe.use(installer)}const ui={install};function directive(xe){xe.directive("auth",{mounted:($e,Ie)=>{useAuth().auth(Ie.value)||$e.remove()}}),xe.directive("auth-all",{mounted:($e,Ie)=>{useAuth().authAll(Ie.value)||$e.remove()}})}if(typeof window<"u"){let xe=function(){var $e=document.body,Ie=document.getElementById("__svg__icons__dom__");Ie||(Ie=document.createElementNS("http://www.w3.org/2000/svg","svg"),Ie.style.position="absolute",Ie.style.width="0",Ie.style.height="0",Ie.id="__svg__icons__dom__",Ie.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ie.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),Ie.innerHTML='',$e.insertBefore(Ie,$e.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",xe):xe()}const data=[{prefix:"ant-design",info:{name:"Ant Design Icons",total:789,version:"4.3.1",author:{name:"HeskeyBaozi",url:"https://github.com/ant-design/ant-design-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/ant-design/ant-design-icons/blob/master/LICENSE"},samples:["pushpin-filled","pie-chart-outlined","shopping-twotone"],height:16,category:"General",palette:!1},icons:["account-book-filled","account-book-outlined","account-book-twotone","aim-outlined","alert-filled","alert-outlined","alert-twotone","alibaba-outlined","align-center-outlined","align-left-outlined","align-right-outlined","alipay-circle-filled","alipay-circle-outlined","alipay-outlined","alipay-square-filled","aliwangwang-filled","aliwangwang-outlined","aliyun-outlined","amazon-circle-filled","amazon-outlined","amazon-square-filled","android-filled","android-outlined","ant-cloud-outlined","ant-design-outlined","apartment-outlined","api-filled","api-outlined","api-twotone","apple-filled","apple-outlined","appstore-add-outlined","appstore-filled","appstore-outlined","appstore-twotone","area-chart-outlined","arrow-down-outlined","arrow-left-outlined","arrow-right-outlined","arrow-up-outlined","arrows-alt-outlined","audio-filled","audio-muted-outlined","audio-outlined","audio-twotone","audit-outlined","backward-filled","backward-outlined","bank-filled","bank-outlined","bank-twotone","bar-chart-outlined","barcode-outlined","bars-outlined","behance-circle-filled","behance-outlined","behance-square-filled","behance-square-outlined","bell-filled","bell-outlined","bell-twotone","bg-colors-outlined","block-outlined","bold-outlined","book-filled","book-outlined","book-twotone","border-bottom-outlined","border-horizontal-outlined","border-inner-outlined","border-left-outlined","border-outer-outlined","border-outlined","border-right-outlined","border-top-outlined","border-verticle-outlined","borderless-table-outlined","box-plot-filled","box-plot-outlined","box-plot-twotone","branches-outlined","bug-filled","bug-outlined","bug-twotone","build-filled","build-outlined","build-twotone","bulb-filled","bulb-outlined","bulb-twotone","calculator-filled","calculator-outlined","calculator-twotone","calendar-filled","calendar-outlined","calendar-twotone","camera-filled","camera-outlined","camera-twotone","car-filled","car-outlined","car-twotone","caret-down-filled","caret-down-outlined","caret-left-filled","caret-left-outlined","caret-right-filled","caret-right-outlined","caret-up-filled","caret-up-outlined","carry-out-filled","carry-out-outlined","carry-out-twotone","check-circle-filled","check-circle-outlined","check-circle-twotone","check-outlined","check-square-filled","check-square-outlined","check-square-twotone","chrome-filled","chrome-outlined","ci-circle-filled","ci-circle-outlined","ci-circle-twotone","ci-outlined","ci-twotone","clear-outlined","clock-circle-filled","clock-circle-outlined","clock-circle-twotone","close-circle-filled","close-circle-outlined","close-circle-twotone","close-outlined","close-square-filled","close-square-outlined","close-square-twotone","cloud-download-outlined","cloud-filled","cloud-outlined","cloud-server-outlined","cloud-sync-outlined","cloud-twotone","cloud-upload-outlined","cluster-outlined","code-filled","code-outlined","code-sandbox-circle-filled","code-sandbox-outlined","code-sandbox-square-filled","code-twotone","codepen-circle-filled","codepen-circle-outlined","codepen-outlined","codepen-square-filled","coffee-outlined","column-height-outlined","column-width-outlined","comment-outlined","compass-filled","compass-outlined","compass-twotone","compress-outlined","console-sql-outlined","contacts-filled","contacts-outlined","contacts-twotone","container-filled","container-outlined","container-twotone","control-filled","control-outlined","control-twotone","copy-filled","copy-outlined","copy-twotone","copyright-circle-filled","copyright-circle-outlined","copyright-circle-twotone","copyright-outlined","copyright-twotone","credit-card-filled","credit-card-outlined","credit-card-twotone","crown-filled","crown-outlined","crown-twotone","customer-service-filled","customer-service-outlined","customer-service-twotone","dash-outlined","dashboard-filled","dashboard-outlined","dashboard-twotone","database-filled","database-outlined","database-twotone","delete-column-outlined","delete-filled","delete-outlined","delete-row-outlined","delete-twotone","delivered-procedure-outlined","deployment-unit-outlined","desktop-outlined","diff-filled","diff-outlined","diff-twotone","dingding-outlined","dingtalk-circle-filled","dingtalk-outlined","dingtalk-square-filled","disconnect-outlined","dislike-filled","dislike-outlined","dislike-twotone","dollar-circle-filled","dollar-circle-outlined","dollar-circle-twotone","dollar-outlined","dollar-twotone","dot-chart-outlined","double-left-outlined","double-right-outlined","down-circle-filled","down-circle-outlined","down-circle-twotone","down-outlined","down-square-filled","down-square-outlined","down-square-twotone","download-outlined","drag-outlined","dribbble-circle-filled","dribbble-outlined","dribbble-square-filled","dribbble-square-outlined","dropbox-circle-filled","dropbox-outlined","dropbox-square-filled","edit-filled","edit-outlined","edit-twotone","ellipsis-outlined","enter-outlined","environment-filled","environment-outlined","environment-twotone","euro-circle-filled","euro-circle-outlined","euro-circle-twotone","euro-outlined","euro-twotone","exception-outlined","exclamation-circle-filled","exclamation-circle-outlined","exclamation-circle-twotone","exclamation-outlined","expand-alt-outlined","expand-outlined","experiment-filled","experiment-outlined","experiment-twotone","export-outlined","eye-filled","eye-invisible-filled","eye-invisible-outlined","eye-invisible-twotone","eye-outlined","eye-twotone","facebook-filled","facebook-outlined","fall-outlined","fast-backward-filled","fast-backward-outlined","fast-forward-filled","fast-forward-outlined","field-binary-outlined","field-number-outlined","field-string-outlined","field-time-outlined","file-add-filled","file-add-outlined","file-add-twotone","file-done-outlined","file-excel-filled","file-excel-outlined","file-excel-twotone","file-exclamation-filled","file-exclamation-outlined","file-exclamation-twotone","file-filled","file-gif-outlined","file-image-filled","file-image-outlined","file-image-twotone","file-jpg-outlined","file-markdown-filled","file-markdown-outlined","file-markdown-twotone","file-outlined","file-pdf-filled","file-pdf-outlined","file-pdf-twotone","file-ppt-filled","file-ppt-outlined","file-ppt-twotone","file-protect-outlined","file-search-outlined","file-sync-outlined","file-text-filled","file-text-outlined","file-text-twotone","file-twotone","file-unknown-filled","file-unknown-outlined","file-unknown-twotone","file-word-filled","file-word-outlined","file-word-twotone","file-zip-filled","file-zip-outlined","file-zip-twotone","filter-filled","filter-outlined","filter-twotone","fire-filled","fire-outlined","fire-twotone","flag-filled","flag-outlined","flag-twotone","folder-add-filled","folder-add-outlined","folder-add-twotone","folder-filled","folder-open-filled","folder-open-outlined","folder-open-twotone","folder-outlined","folder-twotone","folder-view-outlined","font-colors-outlined","font-size-outlined","fork-outlined","form-outlined","format-painter-filled","format-painter-outlined","forward-filled","forward-outlined","frown-filled","frown-outlined","frown-twotone","fullscreen-exit-outlined","fullscreen-outlined","function-outlined","fund-filled","fund-outlined","fund-projection-screen-outlined","fund-twotone","fund-view-outlined","funnel-plot-filled","funnel-plot-outlined","funnel-plot-twotone","gateway-outlined","gif-outlined","gift-filled","gift-outlined","gift-twotone","github-filled","github-outlined","gitlab-filled","gitlab-outlined","global-outlined","gold-filled","gold-outlined","gold-twotone","golden-filled","google-circle-filled","google-outlined","google-plus-circle-filled","google-plus-outlined","google-plus-square-filled","google-square-filled","group-outlined","hdd-filled","hdd-outlined","hdd-twotone","heart-filled","heart-outlined","heart-twotone","heat-map-outlined","highlight-filled","highlight-outlined","highlight-twotone","history-outlined","holder-outlined","home-filled","home-outlined","home-twotone","hourglass-filled","hourglass-outlined","hourglass-twotone","html5-filled","html5-outlined","html5-twotone","idcard-filled","idcard-outlined","idcard-twotone","ie-circle-filled","ie-outlined","ie-square-filled","import-outlined","inbox-outlined","info-circle-filled","info-circle-outlined","info-circle-twotone","info-outlined","insert-row-above-outlined","insert-row-below-outlined","insert-row-left-outlined","insert-row-right-outlined","instagram-filled","instagram-outlined","insurance-filled","insurance-outlined","insurance-twotone","interaction-filled","interaction-outlined","interaction-twotone","issues-close-outlined","italic-outlined","key-outlined","laptop-outlined","layout-filled","layout-outlined","layout-twotone","left-circle-filled","left-circle-outlined","left-circle-twotone","left-outlined","left-square-filled","left-square-outlined","left-square-twotone","like-filled","like-outlined","like-twotone","line-chart-outlined","line-height-outlined","line-outlined","link-outlined","linkedin-filled","linkedin-outlined","loading-3-quarters-outlined","loading-outlined","lock-filled","lock-outlined","lock-twotone","login-outlined","logout-outlined","mac-command-filled","mac-command-outlined","mail-filled","mail-outlined","mail-twotone","man-outlined","medicine-box-filled","medicine-box-outlined","medicine-box-twotone","medium-circle-filled","medium-outlined","medium-square-filled","medium-workmark-outlined","meh-filled","meh-outlined","meh-twotone","menu-fold-outlined","menu-outlined","menu-unfold-outlined","merge-cells-outlined","message-filled","message-outlined","message-twotone","minus-circle-filled","minus-circle-outlined","minus-circle-twotone","minus-outlined","minus-square-filled","minus-square-outlined","minus-square-twotone","mobile-filled","mobile-outlined","mobile-twotone","money-collect-filled","money-collect-outlined","money-collect-twotone","monitor-outlined","more-outlined","node-collapse-outlined","node-expand-outlined","node-index-outlined","notification-filled","notification-outlined","notification-twotone","number-outlined","one-to-one-outlined","ordered-list-outlined","paper-clip-outlined","partition-outlined","pause-circle-filled","pause-circle-outlined","pause-circle-twotone","pause-outlined","pay-circle-filled","pay-circle-outlined","percentage-outlined","phone-filled","phone-outlined","phone-twotone","pic-center-outlined","pic-left-outlined","pic-right-outlined","picture-filled","picture-outlined","picture-twotone","pie-chart-filled","pie-chart-outlined","pie-chart-twotone","play-circle-filled","play-circle-outlined","play-circle-twotone","play-square-filled","play-square-outlined","play-square-twotone","plus-circle-filled","plus-circle-outlined","plus-circle-twotone","plus-outlined","plus-square-filled","plus-square-outlined","plus-square-twotone","pound-circle-filled","pound-circle-outlined","pound-circle-twotone","pound-outlined","poweroff-outlined","printer-filled","printer-outlined","printer-twotone","profile-filled","profile-outlined","profile-twotone","project-filled","project-outlined","project-twotone","property-safety-filled","property-safety-outlined","property-safety-twotone","pull-request-outlined","pushpin-filled","pushpin-outlined","pushpin-twotone","qq-circle-filled","qq-outlined","qq-square-filled","qrcode-outlined","question-circle-filled","question-circle-outlined","question-circle-twotone","question-outlined","radar-chart-outlined","radius-bottomleft-outlined","radius-bottomright-outlined","radius-setting-outlined","radius-upleft-outlined","radius-upright-outlined","read-filled","read-outlined","reconciliation-filled","reconciliation-outlined","reconciliation-twotone","red-envelope-filled","red-envelope-outlined","red-envelope-twotone","reddit-circle-filled","reddit-outlined","reddit-square-filled","redo-outlined","reload-outlined","rest-filled","rest-outlined","rest-twotone","retweet-outlined","right-circle-filled","right-circle-outlined","right-circle-twotone","right-outlined","right-square-filled","right-square-outlined","right-square-twotone","rise-outlined","robot-filled","robot-outlined","rocket-filled","rocket-outlined","rocket-twotone","rollback-outlined","rotate-left-outlined","rotate-right-outlined","safety-certificate-filled","safety-certificate-outlined","safety-certificate-twotone","safety-outlined","save-filled","save-outlined","save-twotone","scan-outlined","schedule-filled","schedule-outlined","schedule-twotone","scissor-outlined","search-outlined","security-scan-filled","security-scan-outlined","security-scan-twotone","select-outlined","send-outlined","setting-filled","setting-outlined","setting-twotone","shake-outlined","share-alt-outlined","shop-filled","shop-outlined","shop-twotone","shopping-cart-outlined","shopping-filled","shopping-outlined","shopping-twotone","shrink-outlined","signal-filled","sisternode-outlined","sketch-circle-filled","sketch-outlined","sketch-square-filled","skin-filled","skin-outlined","skin-twotone","skype-filled","skype-outlined","slack-circle-filled","slack-outlined","slack-square-filled","slack-square-outlined","sliders-filled","sliders-outlined","sliders-twotone","small-dash-outlined","smile-filled","smile-outlined","smile-twotone","snippets-filled","snippets-outlined","snippets-twotone","solution-outlined","sort-ascending-outlined","sort-descending-outlined","sound-filled","sound-outlined","sound-twotone","split-cells-outlined","star-filled","star-outlined","star-twotone","step-backward-filled","step-backward-outlined","step-forward-filled","step-forward-outlined","stock-outlined","stop-filled","stop-outlined","stop-twotone","strikethrough-outlined","subnode-outlined","swap-left-outlined","swap-outlined","swap-right-outlined","switcher-filled","switcher-outlined","switcher-twotone","sync-outlined","table-outlined","tablet-filled","tablet-outlined","tablet-twotone","tag-filled","tag-outlined","tag-twotone","tags-filled","tags-outlined","tags-twotone","taobao-circle-filled","taobao-circle-outlined","taobao-outlined","taobao-square-filled","team-outlined","thunderbolt-filled","thunderbolt-outlined","thunderbolt-twotone","to-top-outlined","tool-filled","tool-outlined","tool-twotone","trademark-circle-filled","trademark-circle-outlined","trademark-circle-twotone","trademark-outlined","transaction-outlined","translation-outlined","trophy-filled","trophy-outlined","trophy-twotone","twitter-circle-filled","twitter-outlined","twitter-square-filled","underline-outlined","undo-outlined","ungroup-outlined","unlock-filled","unlock-outlined","unlock-twotone","unordered-list-outlined","up-circle-filled","up-circle-outlined","up-circle-twotone","up-outlined","up-square-filled","up-square-outlined","up-square-twotone","upload-outlined","usb-filled","usb-outlined","usb-twotone","user-add-outlined","user-delete-outlined","user-outlined","user-switch-outlined","usergroup-add-outlined","usergroup-delete-outlined","verified-outlined","vertical-align-bottom-outlined","vertical-align-middle-outlined","vertical-align-top-outlined","vertical-left-outlined","vertical-right-outlined","video-camera-add-outlined","video-camera-filled","video-camera-outlined","video-camera-twotone","wallet-filled","wallet-outlined","wallet-twotone","warning-filled","warning-outlined","warning-twotone","wechat-filled","wechat-outlined","weibo-circle-filled","weibo-circle-outlined","weibo-outlined","weibo-square-filled","weibo-square-outlined","whats-app-outlined","wifi-outlined","windows-filled","windows-outlined","woman-outlined","yahoo-filled","yahoo-outlined","youtube-filled","youtube-outlined","yuque-filled","yuque-outlined","zhihu-circle-filled","zhihu-outlined","zhihu-square-filled","zoom-in-outlined","zoom-out-outlined"]},{prefix:"ep",info:{name:"Element Plus",total:293,version:"2.3.1",author:{name:"Element Plus",url:"https://github.com/element-plus/element-plus-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/element-plus/element-plus-icons/blob/main/packages/svg/package.json"},samples:["home-filled","partly-cloudy","avatar"],height:32,displayHeight:16,category:"General",palette:!1},icons:["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","chrome-filled","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","element-plus","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","gold-medal","goods","goods-filled","grape","grid","guide","handbag","headset","help","help-filled","hide","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","memo","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","quartz-watch","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","shopping-trolley","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","suitcase-line","sunny","sunrise","sunset","switch","switch-button","switch-filled","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","trophy-base","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warn-triangle-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"]},{prefix:"flagpack",info:{name:"Flagpack",total:255,version:"2.0.0",author:{name:"Yummygum",url:"https://github.com/Yummygum/flagpack-core"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/Yummygum/flagpack-core/blob/main/LICENSE"},samples:["ci","gb-ukm","wf"],height:24,category:"Maps / Flags",palette:!0},icons:["ad","ae","af","ag","ai","al","am","ao","aq","ar","as","at","au","aw","ax","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bl","bm","bn","bo","bq-bo","bq-sa","bq-se","br","bs","bt","bv","bw","by","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cu","cv","cw","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","eh","er","es","et","fi","fj","fk","fm","fo","fr","ga","gb","gb-eng","gb-nir","gb-sct","gb-ukm","gb-wls","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gu","gw","gy","hk","hm","hn","hr","ht","hu","id","ie","il","im","in","io","iq","ir","is","it","je","jm","jo","jp","ke","kg","kh","ki","km","kn","kp","kr","kw","ky","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","me","mf","mg","mh","mk","ml","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pr","ps","pt","pw","py","qa","re","ro","rs","ru","rw","sa","sb","sc","sd","se","sg","sh","si","sj","sk","sl","sm","sn","so","sr","ss","st","sv","sx","sy","sz","tc","td","tf","tg","th","tj","tk","tl","tm","tn","to","tr","tt","tv","tw","tz","ua","ug","um","us","uy","uz","va","vc","ve","vg","vi","vn","vu","wf","ws","ye","yt","za","zm","zw"]},{prefix:"icon-park",info:{name:"IconPark",total:2658,version:"1.4.2",author:{name:"ByteDance",url:"https://github.com/bytedance/IconPark"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/bytedance/IconPark/blob/master/LICENSE"},samples:["add-one","english-mustache","basketball-clothes"],height:24,category:"General",palette:!0},icons:["a-cane","abdominal","abnormal","acceleration","accept-email","acoustic","activity-source","ad","ad-product","add","add-computer","add-four","add-item","add-mode","add-music","add-one","add-pic","add-picture","add-print","add-subset","add-subtract","add-text","add-text-two","add-three","add-two","add-user","add-web","address-book","adjacent-item","adjustment","adobe-illustrate","adobe-indesign","adobe-lightroom","adobe-photoshop","afferent","afferent-four","afferent-three","afferent-two","afro-pick","agreement","aiming","air-bike","air-conditioning","airplane","airplane-window","airplane-window-one","airplay","airpods","alarm","alarm-clock","align-bottom","align-bottom-two","align-horizontal-center-two","align-horizontally","align-left","align-left-one","align-left-two","align-right","align-right-one","align-right-two","align-text-both","align-text-both-one","align-text-bottom","align-text-bottom-one","align-text-center","align-text-center-one","align-text-left","align-text-left-one","align-text-middle","align-text-middle-one","align-text-right","align-text-right-one","align-text-top","align-text-top-one","align-top","align-top-two","align-vertical-center-two","align-vertically","alignment-bottom-center","alignment-bottom-left","alignment-bottom-right","alignment-horizontal-bottom","alignment-horizontal-center","alignment-horizontal-top","alignment-left-bottom","alignment-left-center","alignment-left-top","alignment-right-bottom","alignment-right-center","alignment-right-top","alignment-top-center","alignment-top-left","alignment-top-right","alignment-vertical-center","alignment-vertical-left","alignment-vertical-right","alipay","all-application","alphabetical-sorting","alphabetical-sorting-two","ambulance","analysis","anchor","anchor-one","anchor-round","anchor-squre","anchor-two","android","angry-face","anguished-face","announcement","anti-corrosion","aperture-priority","api","api-app","app-store","app-switch","apple","apple-one","applet-closed","application","application-effect","application-menu","application-one","application-two","appointment","aquarius","arc-de-triomphe","archers-bow","archery","area-map","arena","aries","arithmetic","arithmetic-buttons","arithmetic-one","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-keys","arrow-left","arrow-left-down","arrow-left-up","arrow-right","arrow-right-down","arrow-right-up","arrow-up","assembly-line","association","asterisk","asterisk-key","astonished-face","at-sign","attention","audio-file","audit","auto-focus","auto-height-one","auto-line-height","auto-line-width","auto-width","auto-width-one","avatar","average","aviation","avocado","avocado-one","baby","baby-app","baby-bottle","baby-car-seat","baby-feet","baby-meal","baby-mobile","baby-one","baby-pants","baby-sling","baby-taste","bachelor-cap","bachelor-cap-one","bachelor-cap-two","back","back-one","background-color","backpack","bad","bad-one","bad-two","badge","badge-two","badminton","baggage-delay","balance","balance-one","balance-two","banana","bank","bank-card","bank-card-one","bank-card-two","bank-transfer","baokemeng","bar-code","barbecue","barber-brush","barber-clippers","baseball","baseball-bat","baseball-cap","basketball","basketball-clothes","basketball-one","basketball-stand","bat","battery-charge","battery-empty","battery-failure","battery-full","battery-storage","battery-tips","battery-working","battery-working-one","beach-umbrella","bear","beauty","beauty-instrument","bedside","bedside-two","bee","beer","beer-mug","behance","bell-ring","belt","benz","bezier-curve","bib","big-clock","big-x","bike","bill","bird","birthday-cake","bitcoin","black-eight","blackboard","blade","bless","block","block-eight","block-five","block-four","block-nine","block-one","block-seven","block-six","block-ten","block-three","block-two","blockchain","blocks-and-arrows","bloom","blossom","bluetooth","boiler","bolt-one","bone","book","book-one","book-open","bookmark","bookmark-one","bookmark-three","bookshelf","booster-car-seat","booth","boots","bottle","bottle-one","bottle-three","bottle-two","bottom-bar","bottom-bar-one","bow","bowl","bowl-one","bowling","box","boxing","boxing-one","boy","boy-one","boy-stroller","boy-two","brain","brake-pads","branch","branch-one","branch-two","brdige-three","bread","bread-machine","bread-one","breast-pump","bridge-one","bridge-two","briefcase","brightness","bring-forward","bring-to-front","bring-to-front-one","broadcast","broadcast-one","broadcast-radio","browser","browser-chrome","browser-safari","bubble-chart","bug","building-four","building-one","building-three","building-two","bullet-map","bus","bus-one","bus-two","butterfly","buy","bydesign","bye","bytedance","bytedance-applets","bytedance-mini-app","cable-car","cactus","cake","cake-five","cake-four","cake-one","cake-three","cake-two","calculator","calculator-one","calendar","calendar-dot","calendar-thirty","calendar-thirty-two","calendar-three","camera","camera-five","camera-four","camera-one","camera-three","camera-two","camp","cancer","candy","canned-fruit","capricornus","car","car-battery","card-two","cardioelectric","carousel","carousel-video","carrot","cast-screen","castle","cat","category-management","cattle","cattle-zodiac","caution","cc","cd","ce-marking","cell","center-alignment","certificate","chafing-dish","chafing-dish-one","chair","chair-one","change","change-date-sort","charging-treasure","chart-graph","chart-histogram","chart-histogram-one","chart-histogram-two","chart-line","chart-line-area","chart-pie","chart-pie-one","chart-proportion","chart-ring","chart-scatter","chart-stock","check","check-correct","check-in","check-one","check-small","checkbox","checkerboard","checklist","cheese","chef-hat","chef-hat-one","cherry","chess","chess-one","chest","chicken","chicken-leg","chicken-zodiac","child-with-pacifier","children-cap","children-pyramid","chili","chimney","chinese","chinese-one","chinese-pavilion","chip","chopping-board","chopsticks-fork","christmas-tree","christmas-tree-one","church-one","church-two","circle-double-down","circle-double-left","circle-double-right","circle-double-up","circle-five-line","circle-four","circle-four-line","circle-house","circle-left-down","circle-left-up","circle-right-down","circle-right-up","circle-three","circle-two-line","circles-and-triangles","circles-seven","circular-connection","circus","city","city-gate","city-one","clap","classroom","clear","clear-format","click","click-tap","click-tap-two","click-to-fold","clipboard","clock-tower","close","close-one","close-remind","close-small","close-wifi","clothes-briefs","clothes-cardigan","clothes-crew-neck","clothes-diapers","clothes-gloves","clothes-gloves-two","clothes-hoodie","clothes-pants","clothes-pants-short","clothes-pants-sweat","clothes-short-sleeve","clothes-skates","clothes-suit","clothes-sweater","clothes-turtleneck","clothes-windbreaker","cloud-storage","cloudy","cloudy-night","clue","coat-hanger","cocktail","coconut-tree","code","code-brackets","code-computer","code-download","code-laptop","code-one","coffee-machine","cola","collapse-text-input","collect-computer","collect-laptop","collect-picture","collection-files","collection-records","color-card","color-filter","column","comb","come","command","comment","comment-one","comments","commodity","communication","commuter-bag","compass","compass-one","components","composition","compression","computer","computer-one","concept-sharing","concern","conditioner","cone","cones","config","confounded-face","confused-face","connect","connect-address-one","connect-address-two","connection","connection-arrow","connection-box","connection-point","connection-point-two","consignment","consume","contrast","contrast-view","contrast-view-circle","control","converging-gateway","cook","cooking","cooking-pot","cool","cooperative-handshake","coordinate-system","copy","copy-link","copy-one","copyright","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","coronavirus","correct","cosmetic-brush","coupon","court","cpu","crab","creation-date-sort","creative","credit","crib","croissant","cross-ring","cross-ring-two","cross-society","crown","crown-three","crown-two","cruise","crying-baby","cube","cube-five","cube-four","cube-three","cube-two","cup","cup-four","cup-one","curling","currency","curve-adjustment","customer","cutting","cutting-one","cuvette","cycle","cycle-arrow","cycle-movement","cycle-one","cylinder","damage-map","dark-mode","dashboard","dashboard-car","dashboard-one","dashboard-two","data","data-all","data-arrival","data-display","data-file","data-four","data-lock","data-null","data-one","data-screen","data-server","data-sheet","data-switching","data-three","data-two","data-user","database-alert","database-code","database-config","database-download","database-enter","database-fail","database-first","database-forbid","database-lock","database-network","database-network-point","database-point","database-position","database-power","database-proportion","database-search","database-setting","database-success","database-sync","database-time","date-comes-back","deadline-sort","death-star","deeplink","deer","degree-hat","delete","delete-five","delete-four","delete-key","delete-mode","delete-one","delete-themes","delete-three","delete-two","delivery","deposit","descend","desk-lamp","desk-lamp-one","detection","devices","diamond","diamond-necklace","diamond-one","diamond-ring","diamond-three","diamond-two","diamonds","dianziqian","diapers-one","difference-set","digital-watches","direction","direction-adjustment","direction-adjustment-three","direction-adjustment-two","disabaled-web","disabled-computer","disabled-laptop","disabled-picture","disappointed-face","discovery-index","disk","disk-one","disk-two","dislike","dislike-two","display","distortion","distraught-face","distribute-horizontal-spacing","distribute-horizontally","distribute-vertical-spacing","distribute-vertically","dividing-line","dividing-line-one","diving","diving-bottle","diving-suit","division","dizzy-face","doc-add","doc-detail","doc-fail","doc-search","doc-search-two","doc-success","document-folder","dog","dog-zodiac","dollar","dolphin","dome","dome-light","done-all","dongchedi","door-handle","dot","double-bed","double-down","double-left","double-right","double-up","doughnut","down","down-c","down-one","down-picture","down-small","down-square","down-two","download","download-computer","download-four","download-laptop","download-one","download-three","download-two","download-web","drag","dragon-zodiac","dribble","drink","drone","drone-one","drop-down-list","drop-shadow-down","drop-shadow-left","drop-shadow-right","drop-shadow-up","dropbox","drumstick","dubai","duck","dumbbel-line","dumbbell","dvi","eagle","earth","easy","ecg","edit","edit-movie","edit-name","edit-one","edit-two","editing","editor","eeg","effects","efferent-four","efferent-three","egg","egg-one","eggplant","eiffel-tower","eight-key","electric-drill","electric-iron","electric-wave","electrocardiogram","electronic-door-lock","electronic-locks-close","electronic-locks-open","electronic-pen","elephant","elevator","email-block","email-delect","email-down","email-fail","email-lock","email-push","email-search","email-security","email-successfully","emotion-happy","emotion-unhappy","empty","end-time-sort","endless","endocrine","endpoint-displacement","endpoint-flat","endpoint-round","endpoint-square","energy-socket","engineering-brand","engineering-vehicle","english","english-mustache","enquire","enter-key","enter-key-one","enter-the-keyboard","entertainment","envelope","envelope-one","equal-ratio","equalizer","erase","error","error-computer","error-picture","error-prompt","escalators","ethernet-off","ethernet-on","every-user","excel","excel-one","exchange","exchange-four","exchange-one","exchange-three","exchange-two","exclude-selection","exclusive-gateway","expand-down","expand-down-one","expand-left","expand-left-and-right","expand-right","expand-text-input","expand-up","expenses","expenses-one","experiment","experiment-one","export","express-delivery","expressionless-face","extend","external-transmission","eyebrow","eyes","f-eight-key","f-five-key","f-four-key","f-n-key","f-nine-key","f-one-key","f-seven-key","f-six-key","f-three-key","f-two-key","f-zero-key","face-powder","face-recognition","face-with-smiling-open-eyes","face-without-mouth","facebook","facebook-one","facetime","faceu","facial-cleanser","facial-mask","factory-building","fail-picture","family","fan","fanqiexiaoshuo","feelgood","feelgood-one","feiyu","female","fence-one","fence-two","ferris-wheel","figma","figma-component","figma-flatten-selection","figma-mask","figma-reset-instance","file-addition","file-addition-one","file-cabinet","file-code","file-code-one","file-collection","file-collection-one","file-conversion","file-conversion-one","file-date","file-date-one","file-display","file-display-one","file-doc","file-editing","file-editing-one","file-excel","file-failed","file-failed-one","file-focus","file-focus-one","file-gif","file-hash","file-hash-one","file-hiding","file-hiding-one","file-jpg","file-lock","file-lock-one","file-music","file-music-one","file-pdf","file-pdf-one","file-ppt","file-protection","file-protection-one","file-quality","file-quality-one","file-question","file-removal","file-removal-one","file-search","file-search-one","file-search-two","file-settings","file-settings-one","file-staff","file-staff-one","file-success","file-success-one","file-text","file-text-one","file-tips","file-tips-one","file-txt","file-txt-one","file-withdrawal","file-withdrawal-one","file-word","file-zip","fill","film","filter","filter-one","finance","financing","financing-one","financing-two","find","find-one","fingernail","fingerprint","fingerprint-three","fingerprint-two","fire","fire-extinguisher","fire-extinguisher-one","fire-two","fireworks","first","first-aid-kit","fish","fish-one","fishing","fist","fitness","five","five-ellipses","five-five","five-key","five-star-badge","flag","flash-payment","flashlamp","flashlight","flask","flight-airflow","flight-safety","flip-camera","flip-horizontally","flip-vertically","flirt","float","floor-tile","fm","focus","focus-one","fog","fold-up-one","folder","folder-block","folder-block-one","folder-close","folder-code","folder-code-one","folder-conversion","folder-conversion-one","folder-download","folder-failed","folder-failed-one","folder-focus","folder-focus-one","folder-lock","folder-lock-one","folder-minus","folder-music","folder-music-one","folder-one","folder-open","folder-plus","folder-protection","folder-protection-one","folder-quality","folder-quality-one","folder-search","folder-search-one","folder-settings","folder-settings-one","folder-success","folder-success-one","folder-upload","folder-withdrawal","folder-withdrawal-one","follow-up-date-sort","font-search","font-size","font-size-two","foot","football","forbid","fork","fork-spoon","form","form-one","format","format-brush","formula","foundation-makeup","four","four-arrows","four-four","four-key","four-leaves","four-point-connection","four-round-point-connection","foursquare","freeze-column","freeze-line","freezing-line-column","french-fries","friends-circle","frigate","frog","frowning-face-whit-open-mouth","fruiter","full-dress-longuette","full-screen","full-screen-one","full-screen-play","full-screen-two","full-selection","fullwidth","funds","future-build-one","future-build-three","future-build-two","game","game-console","game-console-one","game-emoji","game-handle","game-ps","game-three","game-two","gamepad","garage","garlic","gas","gastrointestinal","gate","gate-machine","gauze","gavel","gemini","general-branch","geometric-flowers","germs","ghost","gift","gift-bag","gift-box","girl","girl-one","girl-two","github","github-one","gitlab","glasses","glasses-one","glasses-three","globe","glove","go-ahead","go-end","go-on","go-start","goblet","goblet-cracking","goblet-full","goblet-one","gold-medal","gold-medal-two","golf-course","gongfu","good","good-one","good-two","google","google-ads","gopro","gps","graphic-design","graphic-design-two","graphic-stitching","graphic-stitching-four","graphic-stitching-three","great-wall","green-house","green-new-energy","grid-four","grid-nine","grid-sixteen","grid-three","grid-two","grimacing-face","grinning-face","grinning-face-with-open-mouth","grinning-face-with-squinting-eyes","grinning-face-with-tightly-closed-eyes","grinning-face-with-tightly-closed-eyes-open-mouth","group","guide-board","gymnastics","gymnastics-one","h","h1","h2","h3","hair-brush","hair-clip","hair-dryer","hair-dryer-one","halo","hamburger","hamburger-button","hamburger-one","hammer-and-anvil","hand-cream","hand-down","hand-drag","hand-left","hand-painted-plate","hand-right","hand-up","handbag","handheld","handle-a","handle-b","handle-c","handle-down","handle-left","handle-right","handle-round","handle-square","handle-triangle","handle-up","handle-x","handle-y","handle-z","hands","handwashing","handwashing-fluid","hanfu-chinese-style","hanger","hanger-one","hanger-two","hard-disk","hard-disk-one","harm","hashtag-key","hat","hdd","hdmi-cable","hdmi-connector","headphone-sound","headset","headset-one","headset-two","headwear","health","health-products","healthy-recognition","heart","heart-ballon","heart-rate","heartbeat","heater-resistor","heavy-metal","heavy-rain","heavy-wind","helmet","helmet-one","help","helpcenter","hexagon-one","hexagon-strip","hexagonal","hi","high-heeled-shoes","high-light","high-speed-rail","hippo","histogram","history","history-query","hockey","hold","hold-interface","hold-seeds","holding-hands","holy-sword","home","home-two","homestay","honey","honey-one","horizontal-spacing-between-items","horizontal-tidy-up","horizontally-centered","horse-zodiac","hospital","hospital-bed","hospital-four","hospital-three","hospital-two","hot-air-balloon","hot-pot","hot-pot-one","hotel","hotel-do-not-clean","hotel-please-clean","hourglass","hourglass-full","hourglass-null","html-five","hunting-gear","huoshanzhibo","i-mac","icecream","icecream-five","icecream-four","icecream-one","icecream-three","icecream-two","id-card","id-card-h","id-card-v","image-files","imbalance","import-and-export","in-flight","inbox","inbox-download-r","inbox-in","inbox-out","inbox-r","inbox-success","inbox-success-r","inbox-upload-r","inclusive-gateway","income","income-one","incoming","increase","increase-the-scale","indent-left","indent-right","index-finger","induction-lock","industrial-scales","info","infusion","injection","inline","inner-shadow-bottom-left","inner-shadow-bottom-right","inner-shadow-down","inner-shadow-left","inner-shadow-right","inner-shadow-top-left","inner-shadow-top-right","inner-shadow-up","insert-card","insert-table","inspection","instagram","instagram-one","install","instruction","intercom","intermediate-mode","internal-data","internal-expansion","internal-reduction","internal-transmission","international","intersect-selection","intersection","invalid-files","invert-camera","invert-left","invert-right","ios-face-recognition","ipad","ipad-one","iphone","ipo","iron","iron-disable","iron-three","iron-two","iwatch","iwatch-one","iwatch-two","jewelry","jinritoutiao","journey","joystick","juice","jump","kagi-map","kettle","kettle-one","key","key-one","key-two","keyboard","keyboard-one","keyhole","keyline","kitchen-knife","knife-fork","koala-bear","kungfu","label","ladder","ladder-one","lamp","land-surveying","landing","landscape","laptop","laptop-computer","laptop-one","lark","lark-one","lattice-pattern","layers","layout-five","layout-four","layout-one","layout-three","layout-two","leaf","leaves","leaves-one","leaves-two","led-diode","left","left-alignment","left-and-right-branch","left-bar","left-branch","left-c","left-expand","left-one","left-small","left-small-down","left-small-up","left-square","left-two","lemon","lens-alignment","leo","level","level-adjustment","level-eight-title","level-five-title","level-four-title","level-nine-title","level-seven-title","level-six-title","libra","lifebuoy","light","light-house","light-member","light-rain","lightning","like","lincoln","link","link-break","link-cloud","link-cloud-faild","link-cloud-sucess","link-four","link-in","link-interrupt","link-left","link-one","link-out","link-right","link-three","link-two","lip-gloss","lip-tattoo","lipstick","lipstick-one","liqueur","list","list-add","list-alphabet","list-bottom","list-checkbox","list-fail","list-middle","list-numbers","list-one","list-success","list-top","list-two","list-view","loading","loading-four","loading-one","loading-three","loading-two","local","local-pin","local-two","lock","lock-one","locking-computer","locking-laptop","locking-picture","locking-web","log","login","logout","lollipop","loop-once","lotion","lotus","loudly-crying-face","loudly-crying-face-whit-open-mouth","love-and-help","lower-branch","luggage","luminous","lung","mac-finder","macadamia-nut","magic","magic-hat","magic-wand","magnet","mail","mail-download","mail-edit","mail-open","mail-package","mail-review","mail-unpacking","maill-one","makeups","male","mall-bag","manual-gear","many-to-many","map-distance","map-draw","map-road","map-road-two","map-two","margin","margin-one","mark","market","market-analysis","mascara","mask","mask-one","mask-two","maslow-pyramids","massage-chair","massage-chair-one","massage-table","master","material","material-three","material-two","maximum","maya","mayura-gesture","me","measuring-cup","medal-one","mediaeditor","medical-box","medical-files","medical-mark","medication-time","medicine-bottle","medicine-bottle-one","medicine-chest","memory","memory-card","memory-card-one","memory-one","men-jacket","menu-fold","menu-fold-one","menu-unfold","menu-unfold-one","merge","merge-cells","message","message-emoji","message-failed","message-one","message-privacy","message-search","message-security","message-sent","message-success","message-unread","messages","messages-one","micro-sd","micro-slr-camera","microphone","microphone-one","microscope","microscope-one","microwave-oven","microwaves","middle-finger","milk","milk-one","min","mind-mapping","mindmap-list","mindmap-map","mini-sd-card","minus","minus-the-bottom","minus-the-top","mirror","mirror-one","mirror-two","misaligned-semicircle","mitsubishi","modify","modify-two","monitor","monitor-camera","monitor-off","monitor-one","monitor-two","monkey","monkey-zodiac","monument-one","monument-two","moon","more","more-app","more-four","more-one","more-three","more-two","mosaic","mountain","mounted","mouse","mouse-one","mouse-zodiac","mouth","move","move-in","move-in-one","move-one","movie","movie-board","moving-picture","multi-circular","multi-function-knife","multi-picture-carousel","multi-rectangle","multi-ring","multi-triangular","multi-triangular-four","multi-triangular-three","multi-triangular-two","multicast","multilayer-sphere","muscle","museum-one","museum-two","music","music-cd","music-list","music-menu","music-one","music-rhythm","mute","nail-polish","nail-polish-one","nasal","natural-mode","navigation","necktie","needle","negative-dynamics","nested-arrows","nests","network-drive","network-tree","neural","neutral-face","new-afferent","new-computer","new-dianziqian","new-efferent","new-lark","new-picture","newlybuild","newspaper-folding","next","nine-key","nine-points-connected","nintendo-switch","nmr","no-shooting","node-flat","node-round","node-square","noodles","notebook","notebook-and-pen","notebook-one","notepad","notes","nuclear-plant","nurse-cap","nut","nutrition","oceanengine","octagon","off-screen","off-screen-one","off-screen-two","oil-industry","okay","one","one-key","one-one","one-third-rotation","one-to-many","one-to-one","onesies","online-meeting","open","open-an-account","open-door","open-one","optimize","optional","orange","orange-one","orange-station","order","ordered-list","orthopedic","oscillator","other","outbound","outdoor","outgoing","oval-love","oval-love-two","oval-one","oven","oven-tray","overall-reduction","owl","pacifier","pad","page","page-template","pagoda","paint","painted-eggshell","painted-screen","palace","palm","panda","pangle","panorama-horizontal","panties","paper-money","paper-money-two","paper-ship","paperclip","parabola","parachute","paragraph-alphabet","paragraph-break","paragraph-break-two","paragraph-cut","paragraph-rectangle","paragraph-round","paragraph-triangle","paragraph-unfold","parallel-gateway","parallelogram","parenting-book","parking","party-balloon","passport","passport-one","pause","pause-one","pay-code","pay-code-one","pay-code-two","payment-method","paypal","peach","pear","pearl-of-the-orient","peas","pencil","pennant","pentagon-one","people","people-bottom","people-bottom-card","people-delete","people-delete-one","people-download","people-left","people-minus","people-minus-one","people-plus","people-plus-one","people-right","people-safe","people-safe-one","people-search","people-search-one","people-speak","people-top","people-top-card","people-unknown","people-upload","peoples","peoples-two","percentage","performance","perfume","perfumer-bottle","period","permissions","personal-collection","personal-privacy","perspective","pesticide","petrol","phone","phone-booth","phone-call","phone-incoming","phone-incoming-one","phone-missed","phone-off","phone-one","phone-outgoing","phone-outgoing-one","phone-telephone","phone-two","phone-video-call","phonograph","photograph","piano","pic","pic-one","picture","picture-album","picture-one","pie","pie-five","pie-four","pie-one","pie-seven","pie-six","pie-three","pie-two","pig","pig-zodiac","pigeon","pill","pills","pin","pineapple","pinwheel","pisces","pivot-table","plan","planet","plastic-surgery","platte","play","play-basketball","play-cycle","play-once","play-one","play-two","play-volleyball","play-wrong","playback-progress","plug","plug-one","plus","plus-cross","point","point-out","pokeball-one","poker","popcorn","popcorn-one","positive-dynamics","pot","potentiometer","pound","pound-sign","pouting-face","powder","power","power-supply","power-supply-one","powerpoint","ppt","pregnant-women","preschool","prescription","press","preview-close","preview-close-one","preview-open","printer","printer-one","printer-two","prison","process-line","projector","projector-one","projector-three","projector-two","proportional-scaling","protect","protection","public-toilet","pull-door","pull-requests","pumpkin","pure-natural","push-door","pushpin","puzzle","pyramid","pyramid-one","qingniao-clue","qiyehao","quadrangular-pyramid","quadrilateral","quote","rabbit","rabbit-zodiac","radar","radar-chart","radar-three","radar-two","radiation","radio","radio-nanny","radio-one","radio-two","radish","radish-one","railway","ranking","ranking-list","rattle","rattle-one","razor","read-book","receive","receiver","recent-views-sort","record","record-disc","record-player","rectangle","rectangle-one","rectangle-small","rectangle-tear","rectangle-x","rectangular-circular-connection","rectangular-circular-separation","rectangular-vertebra","recycle-bin","recycling","recycling-pool","red-cross","red-envelope","red-envelopes","redo","reduce","reduce-decimal-places","reduce-one","reduce-two","reduce-user","reel","refraction","refresh","refresh-one","refrigerator","reject","relational-graph","relieved-face","reload","remind","remind-disable","remote-control","remote-control-one","renal","renault","repair","replay-five","replay-music","report","repositioning","resistor","respect","resting","retro-bag","return","reverse-lens","reverse-lens-one","reverse-operation-in","reverse-operation-out","reverse-rotation","rice","riding","riding-one","right","right-angle","right-bar","right-branch","right-branch-one","right-branch-two","right-c","right-expand","right-one","right-run","right-small","right-small-down","right-small-up","right-square","right-two","right-user","ring","ring-one","rings","ripple","road","road-cone","road-one","road-sign","road-sign-both","robot","robot-one","robot-two","rock","rock-gesture","rocket","rocket-one","rocking-horse","rollerskates","romper","rope-skipping","rope-skipping-one","rotate","rotate-one","rotating-add","rotating-forward","rotation","rotation-horizontal","rotation-one","rotation-vertical","round","round-caliper","round-distortion","round-mask","round-socket","round-trip","router","router-one","row-height","rowing","rs-male","rss","rugby","rugby-one","rule-two","ruler","ruler-one","run-left","s-turn-down","s-turn-left","s-turn-right","s-turn-up","safe-retrieval","sagittarius","sailboat","sailboat-one","sailing","sales-report","sandals","sandstorm","sandwich","sandwich-one","sapling","save","save-one","scale","scale-one","scallion","scan","scan-code","scan-setting","scanning","scanning-two","scatter-alignment","schedule","school","scissors","scoreboard","scorpio","screen-rotation","screenshot","screenshot-one","screenshot-two","screwdriver","sd","sd-card","seal","search","seat","security","security-stall","seedling","selected","selected-focus","selfie","send","send-backward","send-email","send-one","send-to-back","sent-to-back","seo","seo-folder","server","set-off","setting","setting-computer","setting-config","setting-laptop","setting-one","setting-three","setting-two","setting-web","seven-key","shade","shake","share","share-one","share-sys","share-three","share-two","shaver","shaver-one","shaving","sheep-zodiac","shield","shield-add","ship","shop","shopping","shopping-bag","shopping-bag-one","shopping-cart","shopping-cart-add","shopping-cart-del","shopping-cart-one","shopping-cart-two","shopping-mall","short-skirt","shorts","shoulder-bag","shovel","shovel-one","shower-head","shrimp","shuffle","shuffle-one","shutter-priority","sickbed","signal","signal-one","signal-strength","signal-tower","signal-tower-one","sim","sim-card","single-bed","sinusoid","sippy-cup","six","six-circular-connection","six-key","six-points","skate","skates","skating","sketch","skiing-nordic","skull","slave","sleaves","sleep","sleep-one","sleep-two","slide","slide-two","sliding-horizontal","sliding-vertical","slightly-frowning-face-whit-open-mouth","slightly-smiling-face","slippers","slippers-one","sly-face-whit-smile","smart-optimization","smiling-face","smiling-face-with-squinting-eyes","snacks","snake-zodiac","snow","snowflake","snowman","soap-bubble","soccer","soccer-one","socks","sofa","sofa-two","softball","solar-energy","solar-energy-one","solid-state-disk","sorcerer-hat","sort","sort-amount-down","sort-amount-up","sort-four","sort-one","sort-three","sort-two","sound","sound-one","sound-wave","source-code","soybean-milk-maker","spa-candle","space-colony","spanner","speaker","speaker-one","speed","speed-one","sperm","sphere","spider-man","spikedshoes","spinning-top","split","split-branch","split-cells","split-turn-down-left","split-turn-down-right","spoon","sport","sporting","square","square-small","ssd","stack-light","stamp","stand-up","stapler","star","star-one","start-time-sort","steering-wheel","steoller","stereo-nesting","stereo-one","stereo-perspective","stethoscope","stickers","stock-market","stopwatch","stopwatch-start","storage-card-one","storage-card-two","straight-razor","straw-hat","stretching","stretching-one","strikethrough","strongbox","subtract-selection","subtract-selection-one","subway","success","success-picture","sum","sun","sun-hat","sun-one","sunbath","sunny","sunrise","sunset","sunshade","surprised-face-with-open-big-mouth","surprised-face-with-open-mouth","surveillance-cameras","surveillance-cameras-one","surveillance-cameras-two","swallow","sweater","swimming-pool","swimming-ring","swimsuit","swing","swipe","switch","switch-button","switch-contrast","switch-nintendo","switch-one","switch-themes","switch-track","switching-done","symbol","symbol-double-x","symmetry","sync","system","t-shirt","table","table-file","table-lamp","table-report","tabletennis","tag","tag-one","tailoring","tailoring-two","taj-mahal","take-off","take-off-one","taobao","tape","tape-measure","target","target-one","target-two","taurus","taxi","tea","tea-drink","teapot","teeth","telegram","telescope","tencent-qq","tennis","tent","tent-banner","terminal","termination-file","terrace","test-tube","text","text-bold","text-italic","text-message","text-recognition","text-rotation-down","text-rotation-left","text-rotation-none","text-rotation-up","text-style","text-style-one","text-underline","text-wrap-overflow","text-wrap-truncation","textarea","texture","texture-two","the-single-shoulder-bag","theater","theme","thermometer","thermometer-one","thermos-cup","thin","thinking-problem","three","three-d-glasses","three-hexagons","three-key","three-slashes","three-three","three-triangles","thumbs-down","thumbs-up","thunderbolt","thunderstorm","thunderstorm-one","ticket","ticket-one","tickets-checked","tickets-one","tickets-two","tiger-zodiac","tiktok","time","timed-mail","timeline","timer","tips","tips-one","tire-swing","title-level","to-bottom","to-bottom-one","to-left","to-right","to-top","to-top-one","toilet","tomato","tool","toolkit","top-bar","topbuzz","topic","topic-discussion","torch","tour-bus","towel","tower","tower-of-babel","tower-of-pisa","toxins","trace","trademark","traditional-chinese-medicine","train","transaction","transaction-order","transfer","transfer-data","transform","translate","translation","transport","transporter","trapezoid","tray","treadmill","treadmill-one","treadmill-two","treasure-chest","tree","tree-diagram","tree-list","tree-one","tree-two","trend","trend-two","trending-down","trending-up","triangle","triangle-round-rectangle","triangle-ruler","triangular-pyramid","trophy","trousers-bell-bottoms","truck","trumpet","trunk","tub","tuchong","tumblr","turkey","turn-around","turn-off-bluetooth","turn-on","tv","tv-one","twitter","two","two-dimensional-code","two-dimensional-code-one","two-dimensional-code-two","two-ellipses","two-fingers","two-hands","two-key","two-semicircles","two-triangles","two-triangles-two","two-two","type-drive","u-disk","u-turn-down","u-turn-left","u-turn-right","u-turn-up","ulikecam","umbrella","umbrella-one","umbrella-two","undo","ungroup","unicast","union-selection","universal","unlike","unlink","unlock","unlock-one","unordered-list","up","up-and-down","up-c","up-one","up-small","up-square","up-two","update-rotation","upload","upload-computer","upload-laptop","upload-logs","upload-one","upload-picture","upload-three","upload-two","upload-web","upside-down-face","usb","usb-memory-stick","usb-micro-one","usb-micro-two","usb-one","usb-type-c","user","user-business","user-positioning","user-to-user-transmission","uterus","vacation","vacuum-cleaner","vegetable-basket","vegetables","vertical-spacing-between-items","vertical-tidy-up","vertical-timeline","vertically-centered","vest","vial","vicia-faba","video","video-conference","video-file","video-one","video-two","videocamera","videocamera-one","viencharts","view-grid-card","view-grid-detail","view-grid-list","view-list","viewfinder","vigo","vip","vip-one","virgo","virtual-reality-glasses","voice","voice-input","voice-message","voice-off","voice-one","voicemail","volkswagen","volleyball","volume-down","volume-mute","volume-notice","volume-small","volume-up","vr-glasses","waistline","wallet","wallet-one","wallet-three","wallet-two","warehousing","washing-machine","washing-machine-one","watch","watch-one","water","water-level","water-no","water-rate","water-rate-two","waterfalls-h","waterfalls-v","watermelon","watermelon-one","waterpolo","waterpolo-one","waves","waves-left","waves-right","weary-face","web-page","webcam","wechat","weibo","weight","weightlifting","weixin-cards-offers","weixin-favorites","weixin-games","weixin-market","weixin-mini-app","weixin-people-nearby","weixin-scan","weixin-search","weixin-shake","weixin-top-stories","whale","wheelchair","whirlwind","whistling","whole-site-accelerator","wifi","wind","wind-turbine","windmill","windmill-one","windmill-two","windows","wingsuit-flying","winking-face","winking-face-with-open-eyes","woman","women","women-coat","woolen-hat","word","workbench","worker","world","worried-face","write","writing-fluently","wrong-user","xiaodu","xiaodu-home","xigua","xingfuli","xingtu","yep","youtobe","youtube","zero-key","zijinyunying","zip","zoom","zoom-in","zoom-internal","zoom-out"]},{prefix:"mdi",info:{name:"Material Design Icons",total:7447,author:{name:"Pictogrammers",url:"https://github.com/Templarian/MaterialDesign"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/Templarian/MaterialDesign/blob/master/LICENSE"},samples:["account-check","bell-alert-outline","calendar-edit"],height:24,category:"General",palette:!1},icons:["ab-testing","abacus","abjad-arabic","abjad-hebrew","abugida-devanagari","abugida-thai","access-point","access-point-check","access-point-minus","access-point-network","access-point-network-off","access-point-off","access-point-plus","access-point-remove","account","account-alert","account-alert-outline","account-arrow-down","account-arrow-down-outline","account-arrow-left","account-arrow-left-outline","account-arrow-right","account-arrow-right-outline","account-arrow-up","account-arrow-up-outline","account-badge","account-badge-outline","account-box","account-box-edit-outline","account-box-minus-outline","account-box-multiple","account-box-multiple-outline","account-box-outline","account-box-plus-outline","account-cancel","account-cancel-outline","account-card","account-card-outline","account-cash","account-cash-outline","account-check","account-check-outline","account-child","account-child-circle","account-child-outline","account-circle","account-circle-outline","account-clock","account-clock-outline","account-cog","account-cog-outline","account-convert","account-convert-outline","account-cowboy-hat","account-cowboy-hat-outline","account-credit-card","account-credit-card-outline","account-details","account-details-outline","account-edit","account-edit-outline","account-eye","account-eye-outline","account-file","account-file-outline","account-file-text","account-file-text-outline","account-filter","account-filter-outline","account-group","account-group-outline","account-hard-hat","account-hard-hat-outline","account-heart","account-heart-outline","account-injury","account-injury-outline","account-key","account-key-outline","account-lock","account-lock-open","account-lock-open-outline","account-lock-outline","account-minus","account-minus-outline","account-multiple","account-multiple-check","account-multiple-check-outline","account-multiple-minus","account-multiple-minus-outline","account-multiple-outline","account-multiple-plus","account-multiple-plus-outline","account-multiple-remove","account-multiple-remove-outline","account-music","account-music-outline","account-network","account-network-off","account-network-off-outline","account-network-outline","account-off","account-off-outline","account-outline","account-plus","account-plus-outline","account-question","account-question-outline","account-reactivate","account-reactivate-outline","account-remove","account-remove-outline","account-school","account-school-outline","account-search","account-search-outline","account-settings","account-settings-outline","account-settings-variant","account-star","account-star-outline","account-supervisor","account-supervisor-circle","account-supervisor-circle-outline","account-supervisor-outline","account-switch","account-switch-outline","account-sync","account-sync-outline","account-tag","account-tag-outline","account-tie","account-tie-hat","account-tie-hat-outline","account-tie-outline","account-tie-voice","account-tie-voice-off","account-tie-voice-off-outline","account-tie-voice-outline","account-tie-woman","account-voice","account-voice-off","account-wrench","account-wrench-outline","accusoft","ad-choices","adchoices","adjust","adobe","advertisements","advertisements-off","air-conditioner","air-filter","air-horn","air-humidifier","air-humidifier-off","air-purifier","air-purifier-off","airbag","airballoon","airballoon-outline","airplane","airplane-alert","airplane-check","airplane-clock","airplane-cog","airplane-edit","airplane-landing","airplane-marker","airplane-minus","airplane-off","airplane-plus","airplane-remove","airplane-search","airplane-settings","airplane-takeoff","airport","alarm","alarm-bell","alarm-check","alarm-light","alarm-light-off","alarm-light-off-outline","alarm-light-outline","alarm-multiple","alarm-note","alarm-note-off","alarm-off","alarm-panel","alarm-panel-outline","alarm-plus","alarm-snooze","album","alert","alert-box","alert-box-outline","alert-circle","alert-circle-check","alert-circle-check-outline","alert-circle-outline","alert-decagram","alert-decagram-outline","alert-minus","alert-minus-outline","alert-octagon","alert-octagon-outline","alert-octagram","alert-octagram-outline","alert-outline","alert-plus","alert-plus-outline","alert-remove","alert-remove-outline","alert-rhombus","alert-rhombus-outline","alien","alien-outline","align-horizontal-center","align-horizontal-distribute","align-horizontal-left","align-horizontal-right","align-vertical-bottom","align-vertical-center","align-vertical-distribute","align-vertical-top","all-inclusive","all-inclusive-box","all-inclusive-box-outline","allergy","allo","alpha","alpha-a","alpha-a-box","alpha-a-box-outline","alpha-a-circle","alpha-a-circle-outline","alpha-b","alpha-b-box","alpha-b-box-outline","alpha-b-circle","alpha-b-circle-outline","alpha-c","alpha-c-box","alpha-c-box-outline","alpha-c-circle","alpha-c-circle-outline","alpha-d","alpha-d-box","alpha-d-box-outline","alpha-d-circle","alpha-d-circle-outline","alpha-e","alpha-e-box","alpha-e-box-outline","alpha-e-circle","alpha-e-circle-outline","alpha-f","alpha-f-box","alpha-f-box-outline","alpha-f-circle","alpha-f-circle-outline","alpha-g","alpha-g-box","alpha-g-box-outline","alpha-g-circle","alpha-g-circle-outline","alpha-h","alpha-h-box","alpha-h-box-outline","alpha-h-circle","alpha-h-circle-outline","alpha-i","alpha-i-box","alpha-i-box-outline","alpha-i-circle","alpha-i-circle-outline","alpha-j","alpha-j-box","alpha-j-box-outline","alpha-j-circle","alpha-j-circle-outline","alpha-k","alpha-k-box","alpha-k-box-outline","alpha-k-circle","alpha-k-circle-outline","alpha-l","alpha-l-box","alpha-l-box-outline","alpha-l-circle","alpha-l-circle-outline","alpha-m","alpha-m-box","alpha-m-box-outline","alpha-m-circle","alpha-m-circle-outline","alpha-n","alpha-n-box","alpha-n-box-outline","alpha-n-circle","alpha-n-circle-outline","alpha-o","alpha-o-box","alpha-o-box-outline","alpha-o-circle","alpha-o-circle-outline","alpha-p","alpha-p-box","alpha-p-box-outline","alpha-p-circle","alpha-p-circle-outline","alpha-q","alpha-q-box","alpha-q-box-outline","alpha-q-circle","alpha-q-circle-outline","alpha-r","alpha-r-box","alpha-r-box-outline","alpha-r-circle","alpha-r-circle-outline","alpha-s","alpha-s-box","alpha-s-box-outline","alpha-s-circle","alpha-s-circle-outline","alpha-t","alpha-t-box","alpha-t-box-outline","alpha-t-circle","alpha-t-circle-outline","alpha-u","alpha-u-box","alpha-u-box-outline","alpha-u-circle","alpha-u-circle-outline","alpha-v","alpha-v-box","alpha-v-box-outline","alpha-v-circle","alpha-v-circle-outline","alpha-w","alpha-w-box","alpha-w-box-outline","alpha-w-circle","alpha-w-circle-outline","alpha-x","alpha-x-box","alpha-x-box-outline","alpha-x-circle","alpha-x-circle-outline","alpha-y","alpha-y-box","alpha-y-box-outline","alpha-y-circle","alpha-y-circle-outline","alpha-z","alpha-z-box","alpha-z-box-outline","alpha-z-circle","alpha-z-circle-outline","alphabet-aurebesh","alphabet-cyrillic","alphabet-greek","alphabet-latin","alphabet-piqad","alphabet-tengwar","alphabetical","alphabetical-off","alphabetical-variant","alphabetical-variant-off","altimeter","amazon","amazon-alexa","amazon-drive","ambulance","ammunition","ampersand","amplifier","amplifier-off","anchor","android","android-auto","android-debug-bridge","android-head","android-messages","android-studio","angle-acute","angle-obtuse","angle-right","angular","angularjs","animation","animation-outline","animation-play","animation-play-outline","ansible","antenna","anvil","apache-kafka","api","api-off","apple","apple-finder","apple-icloud","apple-ios","apple-keyboard-caps","apple-keyboard-command","apple-keyboard-control","apple-keyboard-option","apple-keyboard-shift","apple-safari","application","application-array","application-array-outline","application-braces","application-braces-outline","application-brackets","application-brackets-outline","application-cog","application-cog-outline","application-edit","application-edit-outline","application-export","application-import","application-outline","application-parentheses","application-parentheses-outline","application-settings","application-settings-outline","application-variable","application-variable-outline","appnet","approximately-equal","approximately-equal-box","apps","apps-box","arch","archive","archive-alert","archive-alert-outline","archive-arrow-down","archive-arrow-down-outline","archive-arrow-up","archive-arrow-up-outline","archive-cancel","archive-cancel-outline","archive-check","archive-check-outline","archive-clock","archive-clock-outline","archive-cog","archive-cog-outline","archive-edit","archive-edit-outline","archive-eye","archive-eye-outline","archive-lock","archive-lock-open","archive-lock-open-outline","archive-lock-outline","archive-marker","archive-marker-outline","archive-minus","archive-minus-outline","archive-music","archive-music-outline","archive-off","archive-off-outline","archive-outline","archive-plus","archive-plus-outline","archive-refresh","archive-refresh-outline","archive-remove","archive-remove-outline","archive-search","archive-search-outline","archive-settings","archive-settings-outline","archive-star","archive-star-outline","archive-sync","archive-sync-outline","arm-flex","arm-flex-outline","arrange-bring-forward","arrange-bring-to-front","arrange-send-backward","arrange-send-to-back","arrow-all","arrow-bottom-left","arrow-bottom-left-bold-box","arrow-bottom-left-bold-box-outline","arrow-bottom-left-bold-outline","arrow-bottom-left-thick","arrow-bottom-left-thin","arrow-bottom-left-thin-circle-outline","arrow-bottom-right","arrow-bottom-right-bold-box","arrow-bottom-right-bold-box-outline","arrow-bottom-right-bold-outline","arrow-bottom-right-thick","arrow-bottom-right-thin","arrow-bottom-right-thin-circle-outline","arrow-collapse","arrow-collapse-all","arrow-collapse-down","arrow-collapse-horizontal","arrow-collapse-left","arrow-collapse-right","arrow-collapse-up","arrow-collapse-vertical","arrow-decision","arrow-decision-auto","arrow-decision-auto-outline","arrow-decision-outline","arrow-down","arrow-down-bold","arrow-down-bold-box","arrow-down-bold-box-outline","arrow-down-bold-circle","arrow-down-bold-circle-outline","arrow-down-bold-hexagon-outline","arrow-down-bold-outline","arrow-down-box","arrow-down-circle","arrow-down-circle-outline","arrow-down-drop-circle","arrow-down-drop-circle-outline","arrow-down-left","arrow-down-left-bold","arrow-down-right","arrow-down-right-bold","arrow-down-thick","arrow-down-thin","arrow-down-thin-circle-outline","arrow-expand","arrow-expand-all","arrow-expand-down","arrow-expand-horizontal","arrow-expand-left","arrow-expand-right","arrow-expand-up","arrow-expand-vertical","arrow-horizontal-lock","arrow-left","arrow-left-bold","arrow-left-bold-box","arrow-left-bold-box-outline","arrow-left-bold-circle","arrow-left-bold-circle-outline","arrow-left-bold-hexagon-outline","arrow-left-bold-outline","arrow-left-bottom","arrow-left-bottom-bold","arrow-left-box","arrow-left-circle","arrow-left-circle-outline","arrow-left-drop-circle","arrow-left-drop-circle-outline","arrow-left-right","arrow-left-right-bold","arrow-left-right-bold-outline","arrow-left-thick","arrow-left-thin","arrow-left-thin-circle-outline","arrow-left-top","arrow-left-top-bold","arrow-oscillating","arrow-oscillating-off","arrow-projectile","arrow-projectile-multiple","arrow-right","arrow-right-bold","arrow-right-bold-box","arrow-right-bold-box-outline","arrow-right-bold-circle","arrow-right-bold-circle-outline","arrow-right-bold-hexagon-outline","arrow-right-bold-outline","arrow-right-bottom","arrow-right-bottom-bold","arrow-right-box","arrow-right-circle","arrow-right-circle-outline","arrow-right-drop-circle","arrow-right-drop-circle-outline","arrow-right-thick","arrow-right-thin","arrow-right-thin-circle-outline","arrow-right-top","arrow-right-top-bold","arrow-split-horizontal","arrow-split-vertical","arrow-top-left","arrow-top-left-bold-box","arrow-top-left-bold-box-outline","arrow-top-left-bold-outline","arrow-top-left-bottom-right","arrow-top-left-bottom-right-bold","arrow-top-left-thick","arrow-top-left-thin","arrow-top-left-thin-circle-outline","arrow-top-right","arrow-top-right-bold-box","arrow-top-right-bold-box-outline","arrow-top-right-bold-outline","arrow-top-right-bottom-left","arrow-top-right-bottom-left-bold","arrow-top-right-thick","arrow-top-right-thin","arrow-top-right-thin-circle-outline","arrow-u-down-left","arrow-u-down-left-bold","arrow-u-down-right","arrow-u-down-right-bold","arrow-u-left-bottom","arrow-u-left-bottom-bold","arrow-u-left-top","arrow-u-left-top-bold","arrow-u-right-bottom","arrow-u-right-bottom-bold","arrow-u-right-top","arrow-u-right-top-bold","arrow-u-up-left","arrow-u-up-left-bold","arrow-u-up-right","arrow-u-up-right-bold","arrow-up","arrow-up-bold","arrow-up-bold-box","arrow-up-bold-box-outline","arrow-up-bold-circle","arrow-up-bold-circle-outline","arrow-up-bold-hexagon-outline","arrow-up-bold-outline","arrow-up-box","arrow-up-circle","arrow-up-circle-outline","arrow-up-down","arrow-up-down-bold","arrow-up-down-bold-outline","arrow-up-drop-circle","arrow-up-drop-circle-outline","arrow-up-left","arrow-up-left-bold","arrow-up-right","arrow-up-right-bold","arrow-up-thick","arrow-up-thin","arrow-up-thin-circle-outline","arrow-vertical-lock","artboard","artstation","aspect-ratio","assistant","asterisk","asterisk-circle-outline","at","atlassian","atm","atom","atom-variant","attachment","attachment-check","attachment-lock","attachment-minus","attachment-off","attachment-plus","attachment-remove","atv","audio-input-rca","audio-input-stereo-minijack","audio-input-xlr","audio-video","audio-video-off","augmented-reality","aurora","auto-download","auto-fix","auto-mode","auto-upload","autorenew","autorenew-off","av-timer","awning","awning-outline","aws","axe","axe-battle","axis","axis-arrow","axis-arrow-info","axis-arrow-lock","axis-lock","axis-x-arrow","axis-x-arrow-lock","axis-x-rotate-clockwise","axis-x-rotate-counterclockwise","axis-x-y-arrow-lock","axis-y-arrow","axis-y-arrow-lock","axis-y-rotate-clockwise","axis-y-rotate-counterclockwise","axis-z-arrow","axis-z-arrow-lock","axis-z-rotate-clockwise","axis-z-rotate-counterclockwise","babel","baby","baby-bottle","baby-bottle-outline","baby-buggy","baby-buggy-off","baby-carriage","baby-carriage-off","baby-face","baby-face-outline","backburger","backspace","backspace-outline","backspace-reverse","backspace-reverse-outline","backup-restore","bacteria","bacteria-outline","badge-account","badge-account-alert","badge-account-alert-outline","badge-account-horizontal","badge-account-horizontal-outline","badge-account-outline","badminton","bag-carry-on","bag-carry-on-check","bag-carry-on-off","bag-checked","bag-personal","bag-personal-off","bag-personal-off-outline","bag-personal-outline","bag-personal-plus","bag-personal-plus-outline","bag-personal-tag","bag-personal-tag-outline","bag-suitcase","bag-suitcase-off","bag-suitcase-off-outline","bag-suitcase-outline","baguette","balcony","balloon","ballot","ballot-outline","ballot-recount","ballot-recount-outline","bandage","bandcamp","bank","bank-check","bank-circle","bank-circle-outline","bank-minus","bank-off","bank-off-outline","bank-outline","bank-plus","bank-remove","bank-transfer","bank-transfer-in","bank-transfer-out","barcode","barcode-off","barcode-scan","barley","barley-off","barn","barrel","barrel-outline","baseball","baseball-bat","baseball-diamond","baseball-diamond-outline","baseball-outline","basecamp","bash","basket","basket-check","basket-check-outline","basket-fill","basket-minus","basket-minus-outline","basket-off","basket-off-outline","basket-outline","basket-plus","basket-plus-outline","basket-remove","basket-remove-outline","basket-unfill","basketball","basketball-hoop","basketball-hoop-outline","bat","bathtub","bathtub-outline","battery","battery-10","battery-10-bluetooth","battery-20","battery-20-bluetooth","battery-30","battery-30-bluetooth","battery-40","battery-40-bluetooth","battery-50","battery-50-bluetooth","battery-60","battery-60-bluetooth","battery-70","battery-70-bluetooth","battery-80","battery-80-bluetooth","battery-90","battery-90-bluetooth","battery-alert","battery-alert-bluetooth","battery-alert-variant","battery-alert-variant-outline","battery-arrow-down","battery-arrow-down-outline","battery-arrow-up","battery-arrow-up-outline","battery-bluetooth","battery-bluetooth-variant","battery-charging","battery-charging-10","battery-charging-100","battery-charging-20","battery-charging-30","battery-charging-40","battery-charging-50","battery-charging-60","battery-charging-70","battery-charging-80","battery-charging-90","battery-charging-high","battery-charging-low","battery-charging-medium","battery-charging-outline","battery-charging-wireless","battery-charging-wireless-10","battery-charging-wireless-20","battery-charging-wireless-30","battery-charging-wireless-40","battery-charging-wireless-50","battery-charging-wireless-60","battery-charging-wireless-70","battery-charging-wireless-80","battery-charging-wireless-90","battery-charging-wireless-alert","battery-charging-wireless-outline","battery-check","battery-check-outline","battery-clock","battery-clock-outline","battery-heart","battery-heart-outline","battery-heart-variant","battery-high","battery-lock","battery-lock-open","battery-low","battery-medium","battery-minus","battery-minus-outline","battery-minus-variant","battery-negative","battery-off","battery-off-outline","battery-outline","battery-plus","battery-plus-outline","battery-plus-variant","battery-positive","battery-remove","battery-remove-outline","battery-standard","battery-sync","battery-sync-outline","battery-unknown","battery-unknown-bluetooth","battlenet","beach","beaker","beaker-alert","beaker-alert-outline","beaker-check","beaker-check-outline","beaker-minus","beaker-minus-outline","beaker-outline","beaker-plus","beaker-plus-outline","beaker-question","beaker-question-outline","beaker-remove","beaker-remove-outline","beam","beats","bed","bed-clock","bed-double","bed-double-outline","bed-empty","bed-king","bed-king-outline","bed-outline","bed-queen","bed-queen-outline","bed-single","bed-single-outline","bee","bee-flower","beehive-off-outline","beehive-outline","beekeeper","beer","beer-outline","behance","bell","bell-alert","bell-alert-outline","bell-badge","bell-badge-outline","bell-cancel","bell-cancel-outline","bell-check","bell-check-outline","bell-circle","bell-circle-outline","bell-cog","bell-cog-outline","bell-minus","bell-minus-outline","bell-off","bell-off-outline","bell-outline","bell-plus","bell-plus-outline","bell-remove","bell-remove-outline","bell-ring","bell-ring-outline","bell-sleep","bell-sleep-outline","bench","bench-back","beta","betamax","biathlon","bicycle","bicycle-basket","bicycle-cargo","bicycle-electric","bicycle-penny-farthing","bike","bike-fast","bike-pedal","bike-pedal-clipless","bike-pedal-mountain","billboard","billiards","billiards-rack","binoculars","bio","biohazard","bird","bitbucket","bitcoin","black-mesa","blackberry","blender","blender-outline","blender-software","blinds","blinds-horizontal","blinds-horizontal-closed","blinds-open","blinds-vertical","blinds-vertical-closed","block-helper","blogger","blood-bag","bluetooth","bluetooth-audio","bluetooth-connect","bluetooth-off","bluetooth-settings","bluetooth-transfer","blur","blur-linear","blur-off","blur-radial","bolt","bomb","bomb-off","bone","bone-off","book","book-account","book-account-outline","book-alert","book-alert-outline","book-alphabet","book-arrow-down","book-arrow-down-outline","book-arrow-left","book-arrow-left-outline","book-arrow-right","book-arrow-right-outline","book-arrow-up","book-arrow-up-outline","book-cancel","book-cancel-outline","book-check","book-check-outline","book-clock","book-clock-outline","book-cog","book-cog-outline","book-cross","book-edit","book-edit-outline","book-education","book-education-outline","book-heart","book-heart-outline","book-information-variant","book-lock","book-lock-open","book-lock-open-outline","book-lock-outline","book-marker","book-marker-outline","book-minus","book-minus-multiple","book-minus-multiple-outline","book-minus-outline","book-multiple","book-multiple-minus","book-multiple-outline","book-multiple-plus","book-multiple-remove","book-multiple-variant","book-music","book-music-outline","book-off","book-off-outline","book-open","book-open-blank-variant","book-open-blank-variant-outline","book-open-outline","book-open-page-variant","book-open-page-variant-outline","book-open-variant","book-open-variant-outline","book-outline","book-play","book-play-outline","book-plus","book-plus-multiple","book-plus-multiple-outline","book-plus-outline","book-refresh","book-refresh-outline","book-remove","book-remove-multiple","book-remove-multiple-outline","book-remove-outline","book-search","book-search-outline","book-settings","book-settings-outline","book-sync","book-sync-outline","book-variant","book-variant-multiple","bookmark","bookmark-box","bookmark-box-multiple","bookmark-box-multiple-outline","bookmark-box-outline","bookmark-check","bookmark-check-outline","bookmark-minus","bookmark-minus-outline","bookmark-multiple","bookmark-multiple-outline","bookmark-music","bookmark-music-outline","bookmark-off","bookmark-off-outline","bookmark-outline","bookmark-plus","bookmark-plus-outline","bookmark-remove","bookmark-remove-outline","bookshelf","boom-gate","boom-gate-alert","boom-gate-alert-outline","boom-gate-arrow-down","boom-gate-arrow-down-outline","boom-gate-arrow-up","boom-gate-arrow-up-outline","boom-gate-outline","boom-gate-up","boom-gate-up-outline","boombox","boomerang","bootstrap","border-all","border-all-variant","border-bottom","border-bottom-variant","border-color","border-horizontal","border-inside","border-left","border-left-variant","border-none","border-none-variant","border-outside","border-radius","border-right","border-right-variant","border-style","border-top","border-top-variant","border-vertical","bottle-soda","bottle-soda-classic","bottle-soda-classic-outline","bottle-soda-outline","bottle-tonic","bottle-tonic-outline","bottle-tonic-plus","bottle-tonic-plus-outline","bottle-tonic-skull","bottle-tonic-skull-outline","bottle-wine","bottle-wine-outline","bow-arrow","bow-tie","bowl","bowl-mix","bowl-mix-outline","bowl-outline","bowling","box","box-cutter","box-cutter-off","box-download","box-shadow","box-upload","boxing-glove","boxing-gloves","braille","brain","bread-slice","bread-slice-outline","bridge","briefcase","briefcase-account","briefcase-account-outline","briefcase-arrow-left-right","briefcase-arrow-left-right-outline","briefcase-arrow-up-down","briefcase-arrow-up-down-outline","briefcase-check","briefcase-check-outline","briefcase-clock","briefcase-clock-outline","briefcase-download","briefcase-download-outline","briefcase-edit","briefcase-edit-outline","briefcase-eye","briefcase-eye-outline","briefcase-minus","briefcase-minus-outline","briefcase-off","briefcase-off-outline","briefcase-outline","briefcase-plus","briefcase-plus-outline","briefcase-remove","briefcase-remove-outline","briefcase-search","briefcase-search-outline","briefcase-upload","briefcase-upload-outline","briefcase-variant","briefcase-variant-off","briefcase-variant-off-outline","briefcase-variant-outline","brightness","brightness-1","brightness-2","brightness-3","brightness-4","brightness-5","brightness-6","brightness-7","brightness-auto","brightness-percent","broadcast","broadcast-off","broom","brush","brush-off","brush-outline","brush-variant","bucket","bucket-outline","buffer","buffet","bug","bug-check","bug-check-outline","bug-outline","bug-pause","bug-pause-outline","bug-play","bug-play-outline","bug-stop","bug-stop-outline","bugle","bulkhead-light","bulldozer","bullet","bulletin-board","bullhorn","bullhorn-outline","bullhorn-variant","bullhorn-variant-outline","bullseye","bullseye-arrow","bulma","bunk-bed","bunk-bed-outline","bus","bus-alert","bus-articulated-end","bus-articulated-front","bus-clock","bus-double-decker","bus-electric","bus-marker","bus-multiple","bus-school","bus-side","bus-sign","bus-stop","bus-stop-covered","bus-stop-uncovered","bus-wrench","butterfly","butterfly-outline","button-cursor","button-pointer","cabin-a-frame","cable-data","cached","cactus","cake","cake-layered","cake-variant","cake-variant-outline","calculator","calculator-off","calculator-variant","calculator-variant-outline","calendar","calendar-account","calendar-account-outline","calendar-alert","calendar-alert-outline","calendar-arrow-left","calendar-arrow-right","calendar-badge","calendar-badge-outline","calendar-blank","calendar-blank-multiple","calendar-blank-outline","calendar-check","calendar-check-outline","calendar-clock","calendar-clock-outline","calendar-collapse-horizontal","calendar-collapse-horizontal-outline","calendar-cursor","calendar-cursor-outline","calendar-edit","calendar-edit-outline","calendar-end","calendar-end-outline","calendar-expand-horizontal","calendar-expand-horizontal-outline","calendar-export","calendar-export-outline","calendar-filter","calendar-filter-outline","calendar-heart","calendar-heart-outline","calendar-import","calendar-import-outline","calendar-lock","calendar-lock-open","calendar-lock-open-outline","calendar-lock-outline","calendar-minus","calendar-minus-outline","calendar-month","calendar-month-outline","calendar-multiple","calendar-multiple-check","calendar-multiselect","calendar-multiselect-outline","calendar-outline","calendar-plus","calendar-plus-outline","calendar-question","calendar-question-outline","calendar-range","calendar-range-outline","calendar-refresh","calendar-refresh-outline","calendar-remove","calendar-remove-outline","calendar-search","calendar-search-outline","calendar-select","calendar-star","calendar-star-four-points","calendar-star-outline","calendar-start","calendar-start-outline","calendar-sync","calendar-sync-outline","calendar-text","calendar-text-outline","calendar-today","calendar-today-outline","calendar-week","calendar-week-begin","calendar-week-begin-outline","calendar-week-end","calendar-week-end-outline","calendar-week-outline","calendar-weekend","calendar-weekend-outline","call-made","call-merge","call-missed","call-received","call-split","camcorder","camcorder-off","camera","camera-account","camera-burst","camera-control","camera-document","camera-document-off","camera-enhance","camera-enhance-outline","camera-flip","camera-flip-outline","camera-focus","camera-front","camera-front-variant","camera-gopro","camera-image","camera-iris","camera-lock","camera-lock-open","camera-lock-open-outline","camera-lock-outline","camera-marker","camera-marker-outline","camera-metering-center","camera-metering-matrix","camera-metering-partial","camera-metering-spot","camera-off","camera-off-outline","camera-outline","camera-party-mode","camera-plus","camera-plus-outline","camera-rear","camera-rear-variant","camera-retake","camera-retake-outline","camera-switch","camera-switch-outline","camera-timer","camera-wireless","camera-wireless-outline","campfire","cancel","candelabra","candelabra-fire","candle","candy","candy-off","candy-off-outline","candy-outline","candycane","cannabis","cannabis-off","caps-lock","car","car-2-plus","car-3-plus","car-arrow-left","car-arrow-right","car-back","car-battery","car-brake-abs","car-brake-alert","car-brake-fluid-level","car-brake-hold","car-brake-low-pressure","car-brake-parking","car-brake-retarder","car-brake-temperature","car-brake-worn-linings","car-child-seat","car-clock","car-clutch","car-cog","car-connected","car-convertable","car-convertible","car-coolant-level","car-cruise-control","car-defrost-front","car-defrost-rear","car-door","car-door-lock","car-door-lock-open","car-electric","car-electric-outline","car-emergency","car-esp","car-estate","car-hatchback","car-info","car-key","car-lifted-pickup","car-light-alert","car-light-dimmed","car-light-fog","car-light-high","car-limousine","car-multiple","car-off","car-outline","car-parking-lights","car-pickup","car-search","car-search-outline","car-seat","car-seat-cooler","car-seat-heater","car-select","car-settings","car-shift-pattern","car-side","car-speed-limiter","car-sports","car-tire-alert","car-traction-control","car-turbocharger","car-wash","car-windshield","car-windshield-outline","car-wireless","car-wrench","carabiner","caravan","card","card-account-details","card-account-details-outline","card-account-details-star","card-account-details-star-outline","card-account-mail","card-account-mail-outline","card-account-phone","card-account-phone-outline","card-bulleted","card-bulleted-off","card-bulleted-off-outline","card-bulleted-outline","card-bulleted-settings","card-bulleted-settings-outline","card-minus","card-minus-outline","card-multiple","card-multiple-outline","card-off","card-off-outline","card-outline","card-plus","card-plus-outline","card-remove","card-remove-outline","card-search","card-search-outline","card-text","card-text-outline","cards","cards-club","cards-club-outline","cards-diamond","cards-diamond-outline","cards-heart","cards-heart-outline","cards-outline","cards-playing","cards-playing-club","cards-playing-club-multiple","cards-playing-club-multiple-outline","cards-playing-club-outline","cards-playing-diamond","cards-playing-diamond-multiple","cards-playing-diamond-multiple-outline","cards-playing-diamond-outline","cards-playing-heart","cards-playing-heart-multiple","cards-playing-heart-multiple-outline","cards-playing-heart-outline","cards-playing-outline","cards-playing-spade","cards-playing-spade-multiple","cards-playing-spade-multiple-outline","cards-playing-spade-outline","cards-spade","cards-spade-outline","cards-variant","carrot","cart","cart-arrow-down","cart-arrow-right","cart-arrow-up","cart-check","cart-heart","cart-minus","cart-off","cart-outline","cart-percent","cart-plus","cart-remove","cart-variant","case-sensitive-alt","cash","cash-100","cash-check","cash-clock","cash-edit","cash-fast","cash-lock","cash-lock-open","cash-marker","cash-minus","cash-multiple","cash-off","cash-plus","cash-refund","cash-register","cash-remove","cash-sync","cash-usd","cash-usd-outline","cassette","cast","cast-audio","cast-audio-variant","cast-connected","cast-education","cast-off","cast-variant","castle","cat","cctv","cctv-off","ceiling-fan","ceiling-fan-light","ceiling-light","ceiling-light-multiple","ceiling-light-multiple-outline","ceiling-light-outline","cellphone","cellphone-android","cellphone-arrow-down","cellphone-arrow-down-variant","cellphone-basic","cellphone-charging","cellphone-check","cellphone-cog","cellphone-dock","cellphone-information","cellphone-iphone","cellphone-key","cellphone-link","cellphone-link-off","cellphone-lock","cellphone-marker","cellphone-message","cellphone-message-off","cellphone-nfc","cellphone-nfc-off","cellphone-off","cellphone-play","cellphone-remove","cellphone-screenshot","cellphone-settings","cellphone-sound","cellphone-text","cellphone-wireless","centos","certificate","certificate-outline","chair-rolling","chair-school","chandelier","charity","charity-search","chart-arc","chart-areaspline","chart-areaspline-variant","chart-bar","chart-bar-stacked","chart-bell-curve","chart-bell-curve-cumulative","chart-box","chart-box-multiple","chart-box-multiple-outline","chart-box-outline","chart-box-plus-outline","chart-bubble","chart-donut","chart-donut-variant","chart-gantt","chart-histogram","chart-line","chart-line-stacked","chart-line-variant","chart-multiline","chart-multiple","chart-pie","chart-pie-outline","chart-ppf","chart-sankey","chart-sankey-variant","chart-scatter-plot","chart-scatter-plot-hexbin","chart-timeline","chart-timeline-variant","chart-timeline-variant-shimmer","chart-tree","chart-waterfall","chat","chat-alert","chat-alert-outline","chat-minus","chat-minus-outline","chat-outline","chat-plus","chat-plus-outline","chat-processing","chat-processing-outline","chat-question","chat-question-outline","chat-remove","chat-remove-outline","chat-sleep","chat-sleep-outline","check","check-all","check-bold","check-bookmark","check-circle","check-circle-outline","check-decagram","check-decagram-outline","check-network","check-network-outline","check-outline","check-underline","check-underline-circle","check-underline-circle-outline","checkbook","checkbook-arrow-left","checkbook-arrow-right","checkbox-blank","checkbox-blank-badge","checkbox-blank-badge-outline","checkbox-blank-circle","checkbox-blank-circle-outline","checkbox-blank-off","checkbox-blank-off-outline","checkbox-blank-outline","checkbox-intermediate","checkbox-intermediate-variant","checkbox-marked","checkbox-marked-circle","checkbox-marked-circle-auto-outline","checkbox-marked-circle-minus-outline","checkbox-marked-circle-outline","checkbox-marked-circle-plus-outline","checkbox-marked-outline","checkbox-multiple-blank","checkbox-multiple-blank-circle","checkbox-multiple-blank-circle-outline","checkbox-multiple-blank-outline","checkbox-multiple-marked","checkbox-multiple-marked-circle","checkbox-multiple-marked-circle-outline","checkbox-multiple-marked-outline","checkbox-multiple-outline","checkbox-outline","checkerboard","checkerboard-minus","checkerboard-plus","checkerboard-remove","cheese","cheese-off","chef-hat","chemical-weapon","chess-bishop","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-double-down","chevron-double-left","chevron-double-right","chevron-double-up","chevron-down","chevron-down-box","chevron-down-box-outline","chevron-down-circle","chevron-down-circle-outline","chevron-left","chevron-left-box","chevron-left-box-outline","chevron-left-circle","chevron-left-circle-outline","chevron-right","chevron-right-box","chevron-right-box-outline","chevron-right-circle","chevron-right-circle-outline","chevron-triple-down","chevron-triple-left","chevron-triple-right","chevron-triple-up","chevron-up","chevron-up-box","chevron-up-box-outline","chevron-up-circle","chevron-up-circle-outline","chili-alert","chili-alert-outline","chili-hot","chili-hot-outline","chili-medium","chili-medium-outline","chili-mild","chili-mild-outline","chili-off","chili-off-outline","chip","church","church-outline","cigar","cigar-off","circle","circle-box","circle-box-outline","circle-double","circle-edit-outline","circle-expand","circle-half","circle-half-full","circle-medium","circle-multiple","circle-multiple-outline","circle-off-outline","circle-opacity","circle-outline","circle-slice-1","circle-slice-2","circle-slice-3","circle-slice-4","circle-slice-5","circle-slice-6","circle-slice-7","circle-slice-8","circle-small","circular-saw","cisco-webex","city","city-switch","city-variant","city-variant-outline","clipboard","clipboard-account","clipboard-account-outline","clipboard-alert","clipboard-alert-outline","clipboard-arrow-down","clipboard-arrow-down-outline","clipboard-arrow-left","clipboard-arrow-left-outline","clipboard-arrow-right","clipboard-arrow-right-outline","clipboard-arrow-up","clipboard-arrow-up-outline","clipboard-check","clipboard-check-multiple","clipboard-check-multiple-outline","clipboard-check-outline","clipboard-clock","clipboard-clock-outline","clipboard-edit","clipboard-edit-outline","clipboard-file","clipboard-file-outline","clipboard-flow","clipboard-flow-outline","clipboard-list","clipboard-list-outline","clipboard-minus","clipboard-minus-outline","clipboard-multiple","clipboard-multiple-outline","clipboard-off","clipboard-off-outline","clipboard-outline","clipboard-play","clipboard-play-multiple","clipboard-play-multiple-outline","clipboard-play-outline","clipboard-plus","clipboard-plus-outline","clipboard-pulse","clipboard-pulse-outline","clipboard-remove","clipboard-remove-outline","clipboard-search","clipboard-search-outline","clipboard-text","clipboard-text-clock","clipboard-text-clock-outline","clipboard-text-multiple","clipboard-text-multiple-outline","clipboard-text-off","clipboard-text-off-outline","clipboard-text-outline","clipboard-text-play","clipboard-text-play-outline","clipboard-text-search","clipboard-text-search-outline","clippy","clock","clock-alert","clock-alert-outline","clock-check","clock-check-outline","clock-digital","clock-edit","clock-edit-outline","clock-end","clock-fast","clock-in","clock-minus","clock-minus-outline","clock-out","clock-outline","clock-plus","clock-plus-outline","clock-remove","clock-remove-outline","clock-star-four-points","clock-star-four-points-outline","clock-start","clock-time-eight","clock-time-eight-outline","clock-time-eleven","clock-time-eleven-outline","clock-time-five","clock-time-five-outline","clock-time-four","clock-time-four-outline","clock-time-nine","clock-time-nine-outline","clock-time-one","clock-time-one-outline","clock-time-seven","clock-time-seven-outline","clock-time-six","clock-time-six-outline","clock-time-ten","clock-time-ten-outline","clock-time-three","clock-time-three-outline","clock-time-twelve","clock-time-twelve-outline","clock-time-two","clock-time-two-outline","close","close-box","close-box-multiple","close-box-multiple-outline","close-box-outline","close-circle","close-circle-multiple","close-circle-multiple-outline","close-circle-outline","close-network","close-network-outline","close-octagon","close-octagon-outline","close-outline","close-thick","closed-caption","closed-caption-outline","cloud","cloud-alert","cloud-alert-outline","cloud-arrow-down","cloud-arrow-down-outline","cloud-arrow-left","cloud-arrow-left-outline","cloud-arrow-right","cloud-arrow-right-outline","cloud-arrow-up","cloud-arrow-up-outline","cloud-braces","cloud-cancel","cloud-cancel-outline","cloud-check","cloud-check-outline","cloud-check-variant","cloud-check-variant-outline","cloud-circle","cloud-circle-outline","cloud-clock","cloud-clock-outline","cloud-cog","cloud-cog-outline","cloud-download","cloud-download-outline","cloud-key","cloud-key-outline","cloud-lock","cloud-lock-open","cloud-lock-open-outline","cloud-lock-outline","cloud-minus","cloud-minus-outline","cloud-off","cloud-off-outline","cloud-outline","cloud-percent","cloud-percent-outline","cloud-plus","cloud-plus-outline","cloud-print","cloud-print-outline","cloud-question","cloud-question-outline","cloud-refresh","cloud-refresh-outline","cloud-refresh-variant","cloud-refresh-variant-outline","cloud-remove","cloud-remove-outline","cloud-search","cloud-search-outline","cloud-sync","cloud-sync-outline","cloud-tags","cloud-upload","cloud-upload-outline","clouds","clover","clover-outline","coach-lamp","coach-lamp-variant","coat-rack","code-array","code-block-braces","code-block-brackets","code-block-parentheses","code-block-tags","code-braces","code-braces-box","code-brackets","code-equal","code-greater-than","code-greater-than-or-equal","code-json","code-less-than","code-less-than-or-equal","code-not-equal","code-not-equal-variant","code-parentheses","code-parentheses-box","code-string","code-tags","code-tags-check","codepen","coffee","coffee-maker","coffee-maker-check","coffee-maker-check-outline","coffee-maker-outline","coffee-off","coffee-off-outline","coffee-outline","coffee-to-go","coffee-to-go-outline","coffin","cog","cog-box","cog-clockwise","cog-counterclockwise","cog-off","cog-off-outline","cog-outline","cog-pause","cog-pause-outline","cog-play","cog-play-outline","cog-refresh","cog-refresh-outline","cog-stop","cog-stop-outline","cog-sync","cog-sync-outline","cog-transfer","cog-transfer-outline","cogs","collage","collapse-all","collapse-all-outline","color-helper","comma","comma-box","comma-box-outline","comma-circle","comma-circle-outline","comment","comment-account","comment-account-outline","comment-alert","comment-alert-outline","comment-arrow-left","comment-arrow-left-outline","comment-arrow-right","comment-arrow-right-outline","comment-bookmark","comment-bookmark-outline","comment-check","comment-check-outline","comment-edit","comment-edit-outline","comment-eye","comment-eye-outline","comment-flash","comment-flash-outline","comment-minus","comment-minus-outline","comment-multiple","comment-multiple-outline","comment-off","comment-off-outline","comment-outline","comment-plus","comment-plus-outline","comment-processing","comment-processing-outline","comment-question","comment-question-outline","comment-quote","comment-quote-outline","comment-remove","comment-remove-outline","comment-search","comment-search-outline","comment-text","comment-text-multiple","comment-text-multiple-outline","comment-text-outline","compare","compare-horizontal","compare-remove","compare-vertical","compass","compass-off","compass-off-outline","compass-outline","compass-rose","compost","concourse-ci","cone","cone-off","connection","console","console-line","console-network","console-network-outline","consolidate","contactless-payment","contactless-payment-circle","contactless-payment-circle-outline","contacts","contacts-outline","contain","contain-end","contain-start","content-copy","content-cut","content-duplicate","content-paste","content-save","content-save-alert","content-save-alert-outline","content-save-all","content-save-all-outline","content-save-check","content-save-check-outline","content-save-cog","content-save-cog-outline","content-save-edit","content-save-edit-outline","content-save-minus","content-save-minus-outline","content-save-move","content-save-move-outline","content-save-off","content-save-off-outline","content-save-outline","content-save-plus","content-save-plus-outline","content-save-settings","content-save-settings-outline","contrast","contrast-box","contrast-circle","controller","controller-classic","controller-classic-outline","controller-off","controller-xbox","cookie","cookie-alert","cookie-alert-outline","cookie-check","cookie-check-outline","cookie-clock","cookie-clock-outline","cookie-cog","cookie-cog-outline","cookie-edit","cookie-edit-outline","cookie-lock","cookie-lock-outline","cookie-minus","cookie-minus-outline","cookie-off","cookie-off-outline","cookie-outline","cookie-plus","cookie-plus-outline","cookie-refresh","cookie-refresh-outline","cookie-remove","cookie-remove-outline","cookie-settings","cookie-settings-outline","coolant-temperature","copyleft","copyright","cordova","corn","corn-off","cosine-wave","counter","countertop","countertop-outline","cow","cow-off","cpu-32-bit","cpu-64-bit","cradle","cradle-outline","crane","creation","creation-outline","creative-commons","credit-card","credit-card-check","credit-card-check-outline","credit-card-chip","credit-card-chip-outline","credit-card-clock","credit-card-clock-outline","credit-card-edit","credit-card-edit-outline","credit-card-fast","credit-card-fast-outline","credit-card-lock","credit-card-lock-outline","credit-card-marker","credit-card-marker-outline","credit-card-minus","credit-card-minus-outline","credit-card-multiple","credit-card-multiple-outline","credit-card-off","credit-card-off-outline","credit-card-outline","credit-card-plus","credit-card-plus-outline","credit-card-refresh","credit-card-refresh-outline","credit-card-refund","credit-card-refund-outline","credit-card-remove","credit-card-remove-outline","credit-card-scan","credit-card-scan-outline","credit-card-search","credit-card-search-outline","credit-card-settings","credit-card-settings-outline","credit-card-sync","credit-card-sync-outline","credit-card-wireless","credit-card-wireless-off","credit-card-wireless-off-outline","credit-card-wireless-outline","cricket","crop","crop-free","crop-landscape","crop-portrait","crop-rotate","crop-square","cross","cross-bolnisi","cross-celtic","cross-outline","crosshairs","crosshairs-gps","crosshairs-off","crosshairs-question","crowd","crown","crown-circle","crown-circle-outline","crown-outline","cryengine","crystal-ball","cube","cube-off","cube-off-outline","cube-outline","cube-scan","cube-send","cube-unfolded","cup","cup-off","cup-off-outline","cup-outline","cup-water","cupboard","cupboard-outline","cupcake","curling","currency-bdt","currency-brl","currency-btc","currency-chf","currency-cny","currency-eth","currency-eur","currency-eur-off","currency-fra","currency-gbp","currency-ils","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-mnt","currency-ngn","currency-php","currency-rial","currency-rub","currency-rupee","currency-sign","currency-thb","currency-try","currency-twd","currency-uah","currency-usd","currency-usd-circle","currency-usd-circle-outline","currency-usd-off","current-ac","current-dc","cursor-default","cursor-default-click","cursor-default-click-outline","cursor-default-gesture","cursor-default-gesture-outline","cursor-default-outline","cursor-move","cursor-pointer","cursor-text","curtains","curtains-closed","cylinder","cylinder-off","dance-ballroom","dance-pole","data","data-matrix","data-matrix-edit","data-matrix-minus","data-matrix-plus","data-matrix-remove","data-matrix-scan","database","database-alert","database-alert-outline","database-arrow-down","database-arrow-down-outline","database-arrow-left","database-arrow-left-outline","database-arrow-right","database-arrow-right-outline","database-arrow-up","database-arrow-up-outline","database-check","database-check-outline","database-clock","database-clock-outline","database-cog","database-cog-outline","database-edit","database-edit-outline","database-export","database-export-outline","database-eye","database-eye-off","database-eye-off-outline","database-eye-outline","database-import","database-import-outline","database-lock","database-lock-outline","database-marker","database-marker-outline","database-minus","database-minus-outline","database-off","database-off-outline","database-outline","database-plus","database-plus-outline","database-refresh","database-refresh-outline","database-remove","database-remove-outline","database-search","database-search-outline","database-settings","database-settings-outline","database-sync","database-sync-outline","death-star","death-star-variant","deathly-hallows","debian","debug-step-into","debug-step-out","debug-step-over","decagram","decagram-outline","decimal","decimal-comma","decimal-comma-decrease","decimal-comma-increase","decimal-decrease","decimal-increase","delete","delete-alert","delete-alert-outline","delete-circle","delete-circle-outline","delete-clock","delete-clock-outline","delete-empty","delete-empty-outline","delete-forever","delete-forever-outline","delete-off","delete-off-outline","delete-outline","delete-restore","delete-sweep","delete-sweep-outline","delete-variant","delta","desk","desk-lamp","desk-lamp-off","desk-lamp-on","deskphone","desktop-classic","desktop-mac","desktop-mac-dashboard","desktop-tower","desktop-tower-monitor","details","dev-to","developer-board","deviantart","devices","dharmachakra","diabetes","dialpad","diameter","diameter-outline","diameter-variant","diamond","diamond-outline","diamond-stone","diaper-outline","dice","dice-1","dice-1-outline","dice-2","dice-2-outline","dice-3","dice-3-outline","dice-4","dice-4-outline","dice-5","dice-5-outline","dice-6","dice-6-outline","dice-d10","dice-d10-outline","dice-d12","dice-d12-outline","dice-d20","dice-d20-outline","dice-d4","dice-d4-outline","dice-d6","dice-d6-outline","dice-d8","dice-d8-outline","dice-multiple","dice-multiple-outline","digital-ocean","dip-switch","directions","directions-fork","disc","disc-alert","disc-player","discord","dishwasher","dishwasher-alert","dishwasher-off","disk","disk-alert","disk-player","disqus","disqus-outline","distribute-horizontal-center","distribute-horizontal-left","distribute-horizontal-right","distribute-vertical-bottom","distribute-vertical-center","distribute-vertical-top","diversify","diving","diving-flippers","diving-helmet","diving-scuba","diving-scuba-flag","diving-scuba-mask","diving-scuba-tank","diving-scuba-tank-multiple","diving-snorkel","division","division-box","dlna","dna","dns","dns-outline","do-not-disturb","dock-bottom","dock-left","dock-right","dock-top","dock-window","docker","doctor","document","dog","dog-service","dog-side","dog-side-off","dolby","dolly","dolphin","domain","domain-off","domain-plus","domain-remove","domain-switch","dome-light","domino-mask","donkey","door","door-closed","door-closed-cancel","door-closed-lock","door-open","door-sliding","door-sliding-lock","door-sliding-open","doorbell","doorbell-video","dot-net","dots-circle","dots-grid","dots-hexagon","dots-horizontal","dots-horizontal-circle","dots-horizontal-circle-outline","dots-square","dots-triangle","dots-vertical","dots-vertical-circle","dots-vertical-circle-outline","douban","download","download-box","download-box-outline","download-circle","download-circle-outline","download-lock","download-lock-outline","download-multiple","download-multiple-outline","download-network","download-network-outline","download-off","download-off-outline","download-outline","drag","drag-horizontal","drag-horizontal-variant","drag-variant","drag-vertical","drag-vertical-variant","drama-masks","draw","draw-pen","drawing","drawing-box","dresser","dresser-outline","dribbble","dribbble-box","drone","dropbox","drupal","duck","dumbbell","dump-truck","ear-hearing","ear-hearing-loop","ear-hearing-off","earbuds","earbuds-off","earbuds-off-outline","earbuds-outline","earth","earth-arrow-down","earth-arrow-left","earth-arrow-right","earth-arrow-up","earth-box","earth-box-minus","earth-box-off","earth-box-plus","earth-box-remove","earth-minus","earth-off","earth-plus","earth-remove","ebay","egg","egg-easter","egg-fried","egg-off","egg-off-outline","egg-outline","eiffel-tower","eight-track","eject","eject-circle","eject-circle-outline","eject-outline","electric-switch","electric-switch-closed","electron-framework","elephant","elevation-decline","elevation-rise","elevator","elevator-down","elevator-passenger","elevator-passenger-off","elevator-passenger-off-outline","elevator-passenger-outline","elevator-up","ellipse","ellipse-outline","email","email-alert","email-alert-outline","email-arrow-left","email-arrow-left-outline","email-arrow-right","email-arrow-right-outline","email-box","email-check","email-check-outline","email-edit","email-edit-outline","email-fast","email-fast-outline","email-heart-outline","email-lock","email-lock-outline","email-mark-as-unread","email-minus","email-minus-outline","email-multiple","email-multiple-outline","email-newsletter","email-off","email-off-outline","email-open","email-open-heart-outline","email-open-multiple","email-open-multiple-outline","email-open-outline","email-outline","email-plus","email-plus-outline","email-remove","email-remove-outline","email-seal","email-seal-outline","email-search","email-search-outline","email-sync","email-sync-outline","email-variant","ember","emby","emoticon","emoticon-angry","emoticon-angry-outline","emoticon-confused","emoticon-confused-outline","emoticon-cool","emoticon-cool-outline","emoticon-cry","emoticon-cry-outline","emoticon-dead","emoticon-dead-outline","emoticon-devil","emoticon-devil-outline","emoticon-excited","emoticon-excited-outline","emoticon-frown","emoticon-frown-outline","emoticon-happy","emoticon-happy-outline","emoticon-kiss","emoticon-kiss-outline","emoticon-lol","emoticon-lol-outline","emoticon-minus","emoticon-minus-outline","emoticon-neutral","emoticon-neutral-outline","emoticon-outline","emoticon-plus","emoticon-plus-outline","emoticon-poop","emoticon-poop-outline","emoticon-remove","emoticon-remove-outline","emoticon-sad","emoticon-sad-outline","emoticon-sick","emoticon-sick-outline","emoticon-tongue","emoticon-tongue-outline","emoticon-wink","emoticon-wink-outline","engine","engine-off","engine-off-outline","engine-outline","epsilon","equal","equal-box","equalizer","equalizer-outline","eraser","eraser-variant","escalator","escalator-box","escalator-down","escalator-up","eslint","et","ethereum","ethernet","ethernet-cable","ethernet-cable-off","ethernet-off","etsy","ev-plug-ccs1","ev-plug-ccs2","ev-plug-chademo","ev-plug-tesla","ev-plug-type1","ev-plug-type2","ev-station","eventbrite","evernote","excavator","exclamation","exclamation-thick","exit-run","exit-to-app","expand-all","expand-all-outline","expansion-card","expansion-card-variant","exponent","exponent-box","export","export-variant","eye","eye-arrow-left","eye-arrow-left-outline","eye-arrow-right","eye-arrow-right-outline","eye-check","eye-check-outline","eye-circle","eye-circle-outline","eye-closed","eye-lock","eye-lock-open","eye-lock-open-outline","eye-lock-outline","eye-minus","eye-minus-outline","eye-off","eye-off-outline","eye-outline","eye-plus","eye-plus-outline","eye-refresh","eye-refresh-outline","eye-remove","eye-remove-outline","eye-settings","eye-settings-outline","eyedropper","eyedropper-minus","eyedropper-off","eyedropper-plus","eyedropper-remove","eyedropper-variant","face-agent","face-man","face-man-outline","face-man-profile","face-man-shimmer","face-man-shimmer-outline","face-mask","face-mask-outline","face-recognition","face-woman","face-woman-outline","face-woman-profile","face-woman-shimmer","face-woman-shimmer-outline","facebook","facebook-box","facebook-gaming","facebook-messenger","facebook-workplace","factory","family-tree","fan","fan-alert","fan-auto","fan-chevron-down","fan-chevron-up","fan-clock","fan-minus","fan-off","fan-plus","fan-remove","fan-speed-1","fan-speed-2","fan-speed-3","fast-forward","fast-forward-10","fast-forward-15","fast-forward-30","fast-forward-45","fast-forward-5","fast-forward-60","fast-forward-outline","faucet","faucet-variant","fax","feather","feature-search","feature-search-outline","fedora","fence","fence-electric","fencing","ferris-wheel","ferry","file","file-account","file-account-outline","file-alert","file-alert-outline","file-arrow-left-right","file-arrow-left-right-outline","file-arrow-up-down","file-arrow-up-down-outline","file-cabinet","file-cad","file-cad-box","file-cancel","file-cancel-outline","file-certificate","file-certificate-outline","file-chart","file-chart-check","file-chart-check-outline","file-chart-outline","file-check","file-check-outline","file-clock","file-clock-outline","file-cloud","file-cloud-outline","file-code","file-code-outline","file-cog","file-cog-outline","file-compare","file-delimited","file-delimited-outline","file-document","file-document-alert","file-document-alert-outline","file-document-arrow-right","file-document-arrow-right-outline","file-document-check","file-document-check-outline","file-document-edit","file-document-edit-outline","file-document-minus","file-document-minus-outline","file-document-multiple","file-document-multiple-outline","file-document-outline","file-document-plus","file-document-plus-outline","file-document-refresh","file-document-refresh-outline","file-document-remove","file-document-remove-outline","file-download","file-download-outline","file-edit","file-edit-outline","file-excel","file-excel-box","file-excel-box-outline","file-excel-outline","file-export","file-export-outline","file-eye","file-eye-outline","file-find","file-find-outline","file-gif-box","file-hidden","file-image","file-image-box","file-image-marker","file-image-marker-outline","file-image-minus","file-image-minus-outline","file-image-outline","file-image-plus","file-image-plus-outline","file-image-remove","file-image-remove-outline","file-import","file-import-outline","file-jpg-box","file-key","file-key-outline","file-link","file-link-outline","file-lock","file-lock-open","file-lock-open-outline","file-lock-outline","file-marker","file-marker-outline","file-minus","file-minus-outline","file-move","file-move-outline","file-multiple","file-multiple-outline","file-music","file-music-outline","file-outline","file-pdf","file-pdf-box","file-pdf-box-outline","file-pdf-outline","file-percent","file-percent-outline","file-phone","file-phone-outline","file-plus","file-plus-outline","file-png-box","file-powerpoint","file-powerpoint-box","file-powerpoint-box-outline","file-powerpoint-outline","file-presentation-box","file-question","file-question-outline","file-refresh","file-refresh-outline","file-remove","file-remove-outline","file-replace","file-replace-outline","file-restore","file-restore-outline","file-rotate-left","file-rotate-left-outline","file-rotate-right","file-rotate-right-outline","file-search","file-search-outline","file-send","file-send-outline","file-settings","file-settings-outline","file-sign","file-star","file-star-four-points","file-star-four-points-outline","file-star-outline","file-swap","file-swap-outline","file-sync","file-sync-outline","file-table","file-table-box","file-table-box-multiple","file-table-box-multiple-outline","file-table-box-outline","file-table-outline","file-tree","file-tree-outline","file-undo","file-undo-outline","file-upload","file-upload-outline","file-video","file-video-outline","file-word","file-word-box","file-word-box-outline","file-word-outline","file-xml","file-xml-box","fill","film","filmstrip","filmstrip-box","filmstrip-box-multiple","filmstrip-off","filter","filter-check","filter-check-outline","filter-cog","filter-cog-outline","filter-menu","filter-menu-outline","filter-minus","filter-minus-outline","filter-multiple","filter-multiple-outline","filter-off","filter-off-outline","filter-outline","filter-plus","filter-plus-outline","filter-remove","filter-remove-outline","filter-settings","filter-settings-outline","filter-variant","filter-variant-minus","filter-variant-plus","filter-variant-remove","finance","find-replace","fingerprint","fingerprint-off","fire","fire-alert","fire-circle","fire-extinguisher","fire-hydrant","fire-hydrant-alert","fire-hydrant-off","fire-off","fire-station","fire-truck","firebase","firefox","fireplace","fireplace-off","firewire","firework","firework-off","fish","fish-off","fishbowl","fishbowl-outline","fit-to-page","fit-to-page-outline","fit-to-screen","fit-to-screen-outline","flag","flag-checkered","flag-checkered-variant","flag-minus","flag-minus-outline","flag-off","flag-off-outline","flag-outline","flag-outline-variant","flag-plus","flag-plus-outline","flag-remove","flag-remove-outline","flag-triangle","flag-variant","flag-variant-minus","flag-variant-minus-outline","flag-variant-off","flag-variant-off-outline","flag-variant-outline","flag-variant-plus","flag-variant-plus-outline","flag-variant-remove","flag-variant-remove-outline","flare","flash","flash-alert","flash-alert-outline","flash-auto","flash-off","flash-off-outline","flash-outline","flash-red-eye","flash-triangle","flash-triangle-outline","flashlight","flashlight-off","flask","flask-empty","flask-empty-minus","flask-empty-minus-outline","flask-empty-off","flask-empty-off-outline","flask-empty-outline","flask-empty-plus","flask-empty-plus-outline","flask-empty-remove","flask-empty-remove-outline","flask-minus","flask-minus-outline","flask-off","flask-off-outline","flask-outline","flask-plus","flask-plus-outline","flask-remove","flask-remove-outline","flask-round-bottom","flask-round-bottom-empty","flask-round-bottom-empty-outline","flask-round-bottom-outline","flattr","fleur-de-lis","flickr","flickr-after","flickr-before","flip-horizontal","flip-to-back","flip-to-front","flip-vertical","floor-1","floor-2","floor-3","floor-a","floor-b","floor-g","floor-l","floor-lamp","floor-lamp-dual","floor-lamp-dual-outline","floor-lamp-outline","floor-lamp-torchiere","floor-lamp-torchiere-outline","floor-lamp-torchiere-variant","floor-lamp-torchiere-variant-outline","floor-plan","floppy","floppy-variant","flower","flower-outline","flower-pollen","flower-pollen-outline","flower-poppy","flower-tulip","flower-tulip-outline","focus-auto","focus-field","focus-field-horizontal","focus-field-vertical","folder","folder-account","folder-account-outline","folder-alert","folder-alert-outline","folder-arrow-down","folder-arrow-down-outline","folder-arrow-left","folder-arrow-left-outline","folder-arrow-left-right","folder-arrow-left-right-outline","folder-arrow-right","folder-arrow-right-outline","folder-arrow-up","folder-arrow-up-down","folder-arrow-up-down-outline","folder-arrow-up-outline","folder-cancel","folder-cancel-outline","folder-check","folder-check-outline","folder-clock","folder-clock-outline","folder-cog","folder-cog-outline","folder-download","folder-download-outline","folder-edit","folder-edit-outline","folder-eye","folder-eye-outline","folder-file","folder-file-outline","folder-google-drive","folder-heart","folder-heart-outline","folder-hidden","folder-home","folder-home-outline","folder-image","folder-information","folder-information-outline","folder-key","folder-key-network","folder-key-network-outline","folder-key-outline","folder-lock","folder-lock-open","folder-lock-open-outline","folder-lock-outline","folder-marker","folder-marker-outline","folder-minus","folder-minus-outline","folder-move","folder-move-outline","folder-multiple","folder-multiple-image","folder-multiple-outline","folder-multiple-plus","folder-multiple-plus-outline","folder-music","folder-music-outline","folder-network","folder-network-outline","folder-off","folder-off-outline","folder-open","folder-open-outline","folder-outline","folder-outline-lock","folder-play","folder-play-outline","folder-plus","folder-plus-outline","folder-pound","folder-pound-outline","folder-question","folder-question-outline","folder-refresh","folder-refresh-outline","folder-remove","folder-remove-outline","folder-search","folder-search-outline","folder-settings","folder-settings-outline","folder-star","folder-star-multiple","folder-star-multiple-outline","folder-star-outline","folder-swap","folder-swap-outline","folder-sync","folder-sync-outline","folder-table","folder-table-outline","folder-text","folder-text-outline","folder-upload","folder-upload-outline","folder-wrench","folder-wrench-outline","folder-zip","folder-zip-outline","font-awesome","food","food-apple","food-apple-outline","food-croissant","food-drumstick","food-drumstick-off","food-drumstick-off-outline","food-drumstick-outline","food-fork-drink","food-halal","food-hot-dog","food-kosher","food-off","food-off-outline","food-outline","food-steak","food-steak-off","food-takeout-box","food-takeout-box-outline","food-turkey","food-variant","food-variant-off","foot-print","football","football-australian","football-helmet","footer","forest","forest-outline","forklift","form-dropdown","form-select","form-textarea","form-textbox","form-textbox-lock","form-textbox-password","format-align-bottom","format-align-center","format-align-justify","format-align-left","format-align-middle","format-align-right","format-align-top","format-annotation-minus","format-annotation-plus","format-bold","format-clear","format-color","format-color-fill","format-color-highlight","format-color-marker-cancel","format-color-text","format-columns","format-float-center","format-float-left","format-float-none","format-float-right","format-font","format-font-size-decrease","format-font-size-increase","format-header-1","format-header-2","format-header-3","format-header-4","format-header-5","format-header-6","format-header-decrease","format-header-down","format-header-equal","format-header-increase","format-header-pound","format-header-up","format-horizontal-align-center","format-horizontal-align-left","format-horizontal-align-right","format-indent-decrease","format-indent-increase","format-italic","format-letter-case","format-letter-case-lower","format-letter-case-upper","format-letter-ends-with","format-letter-matches","format-letter-spacing","format-letter-spacing-variant","format-letter-starts-with","format-line-height","format-line-spacing","format-line-style","format-line-weight","format-list-bulleted","format-list-bulleted-square","format-list-bulleted-triangle","format-list-bulleted-type","format-list-checkbox","format-list-checks","format-list-group","format-list-group-plus","format-list-numbered","format-list-numbered-rtl","format-list-text","format-list-triangle","format-overline","format-page-break","format-page-split","format-paint","format-paragraph","format-paragraph-spacing","format-pilcrow","format-pilcrow-arrow-left","format-pilcrow-arrow-right","format-quote-close","format-quote-close-outline","format-quote-open","format-quote-open-outline","format-rotate-90","format-section","format-size","format-strikethrough","format-strikethrough-variant","format-subscript","format-superscript","format-text","format-text-rotation-angle-down","format-text-rotation-angle-up","format-text-rotation-down","format-text-rotation-down-vertical","format-text-rotation-none","format-text-rotation-up","format-text-rotation-vertical","format-text-variant","format-text-variant-outline","format-text-wrapping-clip","format-text-wrapping-overflow","format-text-wrapping-wrap","format-textbox","format-title","format-underline","format-underline-wavy","format-vertical-align-bottom","format-vertical-align-center","format-vertical-align-top","format-wrap-inline","format-wrap-square","format-wrap-tight","format-wrap-top-bottom","forum","forum-minus","forum-minus-outline","forum-outline","forum-plus","forum-plus-outline","forum-remove","forum-remove-outline","forward","forwardburger","fountain","fountain-pen","fountain-pen-tip","foursquare","fraction-one-half","freebsd","french-fries","frequently-asked-questions","fridge","fridge-alert","fridge-alert-outline","fridge-bottom","fridge-industrial","fridge-industrial-alert","fridge-industrial-alert-outline","fridge-industrial-off","fridge-industrial-off-outline","fridge-industrial-outline","fridge-off","fridge-off-outline","fridge-outline","fridge-top","fridge-variant","fridge-variant-alert","fridge-variant-alert-outline","fridge-variant-off","fridge-variant-off-outline","fridge-variant-outline","fruit-cherries","fruit-cherries-off","fruit-citrus","fruit-citrus-off","fruit-grapes","fruit-grapes-outline","fruit-pear","fruit-pineapple","fruit-watermelon","fuel","fuel-cell","fullscreen","fullscreen-exit","function","function-variant","furigana-horizontal","furigana-vertical","fuse","fuse-alert","fuse-blade","fuse-off","gamepad","gamepad-circle","gamepad-circle-down","gamepad-circle-left","gamepad-circle-outline","gamepad-circle-right","gamepad-circle-up","gamepad-down","gamepad-left","gamepad-outline","gamepad-right","gamepad-round","gamepad-round-down","gamepad-round-left","gamepad-round-outline","gamepad-round-right","gamepad-round-up","gamepad-square","gamepad-square-outline","gamepad-up","gamepad-variant","gamepad-variant-outline","gamma","gantry-crane","garage","garage-alert","garage-alert-variant","garage-lock","garage-open","garage-open-variant","garage-variant","garage-variant-lock","gas-burner","gas-cylinder","gas-station","gas-station-in-use","gas-station-in-use-outline","gas-station-off","gas-station-off-outline","gas-station-outline","gate","gate-alert","gate-and","gate-arrow-left","gate-arrow-right","gate-buffer","gate-nand","gate-nor","gate-not","gate-open","gate-or","gate-xnor","gate-xor","gatsby","gauge","gauge-empty","gauge-full","gauge-low","gavel","gender-female","gender-male","gender-male-female","gender-male-female-variant","gender-non-binary","gender-transgender","generator-mobile","generator-portable","generator-stationary","gentoo","gesture","gesture-double-tap","gesture-pinch","gesture-spread","gesture-swipe","gesture-swipe-down","gesture-swipe-horizontal","gesture-swipe-left","gesture-swipe-right","gesture-swipe-up","gesture-swipe-vertical","gesture-tap","gesture-tap-box","gesture-tap-button","gesture-tap-hold","gesture-two-double-tap","gesture-two-tap","ghost","ghost-off","ghost-off-outline","ghost-outline","gif","gift","gift-off","gift-off-outline","gift-open","gift-open-outline","gift-outline","git","github","github-box","github-face","gitlab","glass-cocktail","glass-cocktail-off","glass-flute","glass-fragile","glass-mug","glass-mug-off","glass-mug-variant","glass-mug-variant-off","glass-pint-outline","glass-stange","glass-tulip","glass-wine","glassdoor","glasses","globe-light","globe-light-outline","globe-model","gmail","gnome","go-kart","go-kart-track","gog","gold","golf","golf-cart","golf-tee","gondola","goodreads","google","google-ads","google-allo","google-analytics","google-assistant","google-cardboard","google-chrome","google-circles","google-circles-communities","google-circles-extended","google-circles-group","google-classroom","google-cloud","google-downasaur","google-drive","google-earth","google-fit","google-glass","google-hangouts","google-home","google-keep","google-lens","google-maps","google-my-business","google-nearby","google-pages","google-photos","google-physical-web","google-play","google-plus","google-plus-box","google-podcast","google-spreadsheet","google-street-view","google-translate","google-wallet","gradient-horizontal","gradient-vertical","grain","graph","graph-outline","graphql","grass","grave-stone","grease-pencil","greater-than","greater-than-or-equal","greenhouse","grid","grid-large","grid-off","grill","grill-outline","group","guitar-acoustic","guitar-electric","guitar-pick","guitar-pick-outline","guy-fawkes-mask","gymnastics","hail","hair-dryer","hair-dryer-outline","halloween","hamburger","hamburger-check","hamburger-minus","hamburger-off","hamburger-plus","hamburger-remove","hammer","hammer-screwdriver","hammer-sickle","hammer-wrench","hand-back-left","hand-back-left-off","hand-back-left-off-outline","hand-back-left-outline","hand-back-right","hand-back-right-off","hand-back-right-off-outline","hand-back-right-outline","hand-clap","hand-clap-off","hand-coin","hand-coin-outline","hand-cycle","hand-extended","hand-extended-outline","hand-front-left","hand-front-left-outline","hand-front-right","hand-front-right-outline","hand-heart","hand-heart-outline","hand-left","hand-okay","hand-peace","hand-peace-variant","hand-pointing-down","hand-pointing-left","hand-pointing-right","hand-pointing-up","hand-right","hand-saw","hand-wash","hand-wash-outline","hand-water","hand-wave","hand-wave-outline","handball","handcuffs","hands-pray","handshake","handshake-outline","hanger","hangouts","hard-hat","harddisk","harddisk-plus","harddisk-remove","hat-fedora","hazard-lights","hdmi-port","hdr","hdr-off","head","head-alert","head-alert-outline","head-check","head-check-outline","head-cog","head-cog-outline","head-dots-horizontal","head-dots-horizontal-outline","head-flash","head-flash-outline","head-heart","head-heart-outline","head-lightbulb","head-lightbulb-outline","head-minus","head-minus-outline","head-outline","head-plus","head-plus-outline","head-question","head-question-outline","head-remove","head-remove-outline","head-snowflake","head-snowflake-outline","head-sync","head-sync-outline","headphones","headphones-bluetooth","headphones-box","headphones-off","headphones-settings","headset","headset-dock","headset-off","heart","heart-box","heart-box-outline","heart-broken","heart-broken-outline","heart-circle","heart-circle-outline","heart-cog","heart-cog-outline","heart-flash","heart-half","heart-half-full","heart-half-outline","heart-minus","heart-minus-outline","heart-multiple","heart-multiple-outline","heart-off","heart-off-outline","heart-outline","heart-plus","heart-plus-outline","heart-pulse","heart-remove","heart-remove-outline","heart-search","heart-settings","heart-settings-outline","heat-pump","heat-pump-outline","heat-wave","heating-coil","helicopter","help","help-box","help-box-multiple","help-box-multiple-outline","help-box-outline","help-circle","help-circle-outline","help-network","help-network-outline","help-rhombus","help-rhombus-outline","hexadecimal","hexagon","hexagon-multiple","hexagon-multiple-outline","hexagon-outline","hexagon-slice-1","hexagon-slice-2","hexagon-slice-3","hexagon-slice-4","hexagon-slice-5","hexagon-slice-6","hexagram","hexagram-outline","high-definition","high-definition-box","highway","hiking","history","hockey-puck","hockey-sticks","hololens","home","home-account","home-alert","home-alert-outline","home-analytics","home-assistant","home-automation","home-battery","home-battery-outline","home-circle","home-circle-outline","home-city","home-city-outline","home-clock","home-clock-outline","home-currency-usd","home-edit","home-edit-outline","home-export-outline","home-flood","home-floor-0","home-floor-1","home-floor-2","home-floor-3","home-floor-a","home-floor-b","home-floor-g","home-floor-l","home-floor-negative-1","home-group","home-group-minus","home-group-plus","home-group-remove","home-heart","home-import-outline","home-lightbulb","home-lightbulb-outline","home-lightning-bolt","home-lightning-bolt-outline","home-lock","home-lock-open","home-map-marker","home-minus","home-minus-outline","home-modern","home-off","home-off-outline","home-outline","home-percent","home-percent-outline","home-plus","home-plus-outline","home-remove","home-remove-outline","home-roof","home-search","home-search-outline","home-silo","home-silo-outline","home-sound-in","home-sound-in-outline","home-sound-out","home-sound-out-outline","home-switch","home-switch-outline","home-thermometer","home-thermometer-outline","home-variant","home-variant-outline","hook","hook-off","hoop-house","hops","horizontal-rotate-clockwise","horizontal-rotate-counterclockwise","horse","horse-human","horse-variant","horse-variant-fast","horseshoe","hospital","hospital-box","hospital-box-outline","hospital-building","hospital-marker","hot-tub","hours-12","hours-24","houzz","houzz-box","hub","hub-outline","hubspot","hulu","human","human-baby-changing-table","human-cane","human-capacity-decrease","human-capacity-increase","human-child","human-dolly","human-edit","human-female","human-female-boy","human-female-dance","human-female-female","human-female-female-child","human-female-girl","human-greeting","human-greeting-proximity","human-greeting-variant","human-handsdown","human-handsup","human-male","human-male-board","human-male-board-poll","human-male-boy","human-male-child","human-male-female","human-male-female-child","human-male-girl","human-male-height","human-male-height-variant","human-male-male","human-male-male-child","human-non-binary","human-pregnant","human-queue","human-scooter","human-walker","human-wheelchair","human-white-cane","humble-bundle","hurricane","hvac","hvac-off","hydraulic-oil-level","hydraulic-oil-temperature","hydro-power","hydrogen-station","ice-cream","ice-cream-off","ice-pop","id-card","identifier","ideogram-cjk","ideogram-cjk-variant","image","image-album","image-area","image-area-close","image-auto-adjust","image-broken","image-broken-variant","image-check","image-check-outline","image-edit","image-edit-outline","image-filter-black-white","image-filter-center-focus","image-filter-center-focus-strong","image-filter-center-focus-strong-outline","image-filter-center-focus-weak","image-filter-drama","image-filter-drama-outline","image-filter-frames","image-filter-hdr","image-filter-hdr-outline","image-filter-none","image-filter-tilt-shift","image-filter-vintage","image-frame","image-lock","image-lock-outline","image-marker","image-marker-outline","image-minus","image-minus-outline","image-move","image-multiple","image-multiple-outline","image-off","image-off-outline","image-outline","image-plus","image-plus-outline","image-refresh","image-refresh-outline","image-remove","image-remove-outline","image-search","image-search-outline","image-size-select-actual","image-size-select-large","image-size-select-small","image-sync","image-sync-outline","image-text","import","inbox","inbox-arrow-down","inbox-arrow-down-outline","inbox-arrow-up","inbox-arrow-up-outline","inbox-full","inbox-full-outline","inbox-multiple","inbox-multiple-outline","inbox-outline","inbox-remove","inbox-remove-outline","incognito","incognito-circle","incognito-circle-off","incognito-off","indent","induction","infinity","information","information-box","information-box-outline","information-off","information-off-outline","information-outline","information-slab-box","information-slab-box-outline","information-slab-circle","information-slab-circle-outline","information-slab-symbol","information-symbol","information-variant","information-variant-box","information-variant-box-outline","information-variant-circle","information-variant-circle-outline","instagram","instapaper","instrument-triangle","integrated-circuit-chip","invert-colors","invert-colors-off","invoice","invoice-arrow-left","invoice-arrow-left-outline","invoice-arrow-right","invoice-arrow-right-outline","invoice-check","invoice-check-outline","invoice-clock","invoice-clock-outline","invoice-edit","invoice-edit-outline","invoice-export-outline","invoice-fast","invoice-fast-outline","invoice-import","invoice-import-outline","invoice-list","invoice-list-outline","invoice-minus","invoice-minus-outline","invoice-multiple","invoice-multiple-outline","invoice-outline","invoice-plus","invoice-plus-outline","invoice-remove","invoice-remove-outline","invoice-send","invoice-send-outline","invoice-text","invoice-text-arrow-left","invoice-text-arrow-left-outline","invoice-text-arrow-right","invoice-text-arrow-right-outline","invoice-text-check","invoice-text-check-outline","invoice-text-clock","invoice-text-clock-outline","invoice-text-edit","invoice-text-edit-outline","invoice-text-fast","invoice-text-fast-outline","invoice-text-minus","invoice-text-minus-outline","invoice-text-multiple","invoice-text-multiple-outline","invoice-text-outline","invoice-text-plus","invoice-text-plus-outline","invoice-text-remove","invoice-text-remove-outline","invoice-text-send","invoice-text-send-outline","iobroker","ip","ip-network","ip-network-outline","ip-outline","ipod","iron","iron-board","iron-outline","island","island-variant","itunes","iv-bag","jabber","jeepney","jellyfish","jellyfish-outline","jira","jquery","jsfiddle","jump-rope","kabaddi","kangaroo","karate","kayaking","keg","kettle","kettle-alert","kettle-alert-outline","kettle-off","kettle-off-outline","kettle-outline","kettle-pour-over","kettle-steam","kettle-steam-outline","kettlebell","key","key-alert","key-alert-outline","key-arrow-right","key-chain","key-chain-variant","key-change","key-link","key-minus","key-outline","key-plus","key-remove","key-star","key-variant","key-wireless","keyboard","keyboard-backspace","keyboard-caps","keyboard-close","keyboard-close-outline","keyboard-esc","keyboard-f1","keyboard-f10","keyboard-f11","keyboard-f12","keyboard-f2","keyboard-f3","keyboard-f4","keyboard-f5","keyboard-f6","keyboard-f7","keyboard-f8","keyboard-f9","keyboard-off","keyboard-off-outline","keyboard-outline","keyboard-return","keyboard-settings","keyboard-settings-outline","keyboard-space","keyboard-tab","keyboard-tab-reverse","keyboard-variant","khanda","kickstarter","kite","kite-outline","kitesurfing","klingon","knife","knife-military","knob","koala","kodi","kubernetes","label","label-multiple","label-multiple-outline","label-off","label-off-outline","label-outline","label-percent","label-percent-outline","label-variant","label-variant-outline","ladder","ladybug","lambda","lamp","lamp-outline","lamps","lamps-outline","lan","lan-check","lan-connect","lan-disconnect","lan-pending","land-fields","land-plots","land-plots-circle","land-plots-circle-variant","land-plots-marker","land-rows-horizontal","land-rows-vertical","landslide","landslide-outline","language-c","language-cpp","language-csharp","language-css3","language-fortran","language-go","language-haskell","language-html5","language-java","language-javascript","language-jsx","language-kotlin","language-lua","language-markdown","language-markdown-outline","language-php","language-python","language-python-text","language-r","language-ruby","language-ruby-on-rails","language-rust","language-swift","language-typescript","language-xaml","laptop","laptop-account","laptop-chromebook","laptop-mac","laptop-off","laptop-windows","laravel","laser-pointer","lasso","lastfm","lastpass","latitude","launch","lava-lamp","layers","layers-edit","layers-minus","layers-off","layers-off-outline","layers-outline","layers-plus","layers-remove","layers-search","layers-search-outline","layers-triple","layers-triple-outline","lead-pencil","leaf","leaf-circle","leaf-circle-outline","leaf-maple","leaf-maple-off","leaf-off","leak","leak-off","lectern","led-off","led-on","led-outline","led-strip","led-strip-variant","led-strip-variant-off","led-variant-off","led-variant-on","led-variant-outline","leek","less-than","less-than-or-equal","library","library-books","library-outline","library-shelves","license","lifebuoy","light-flood-down","light-flood-up","light-recessed","light-switch","light-switch-off","lightbulb","lightbulb-alert","lightbulb-alert-outline","lightbulb-auto","lightbulb-auto-outline","lightbulb-cfl","lightbulb-cfl-off","lightbulb-cfl-spiral","lightbulb-cfl-spiral-off","lightbulb-fluorescent-tube","lightbulb-fluorescent-tube-outline","lightbulb-group","lightbulb-group-off","lightbulb-group-off-outline","lightbulb-group-outline","lightbulb-multiple","lightbulb-multiple-off","lightbulb-multiple-off-outline","lightbulb-multiple-outline","lightbulb-night","lightbulb-night-outline","lightbulb-off","lightbulb-off-outline","lightbulb-on","lightbulb-on-10","lightbulb-on-20","lightbulb-on-30","lightbulb-on-40","lightbulb-on-50","lightbulb-on-60","lightbulb-on-70","lightbulb-on-80","lightbulb-on-90","lightbulb-on-outline","lightbulb-outline","lightbulb-question","lightbulb-question-outline","lightbulb-spot","lightbulb-spot-off","lightbulb-variant","lightbulb-variant-outline","lighthouse","lighthouse-on","lightning-bolt","lightning-bolt-circle","lightning-bolt-outline","line-scan","lingerie","link","link-box","link-box-outline","link-box-variant","link-box-variant-outline","link-circle","link-circle-outline","link-edit","link-lock","link-off","link-plus","link-variant","link-variant-minus","link-variant-off","link-variant-plus","link-variant-remove","linkedin","linode","linux","linux-mint","lipstick","liquid-spot","liquor","list-box","list-box-outline","list-status","litecoin","loading","location-enter","location-exit","lock","lock-alert","lock-alert-outline","lock-check","lock-check-outline","lock-clock","lock-minus","lock-minus-outline","lock-off","lock-off-outline","lock-open","lock-open-alert","lock-open-alert-outline","lock-open-check","lock-open-check-outline","lock-open-minus","lock-open-minus-outline","lock-open-outline","lock-open-plus","lock-open-plus-outline","lock-open-remove","lock-open-remove-outline","lock-open-variant","lock-open-variant-outline","lock-outline","lock-pattern","lock-percent","lock-percent-open","lock-percent-open-outline","lock-percent-open-variant","lock-percent-open-variant-outline","lock-percent-outline","lock-plus","lock-plus-outline","lock-question","lock-remove","lock-remove-outline","lock-reset","lock-smart","locker","locker-multiple","login","login-variant","logout","logout-variant","longitude","looks","lotion","lotion-outline","lotion-plus","lotion-plus-outline","loupe","lumx","lungs","lyft","mace","magazine-pistol","magazine-rifle","magic-staff","magnet","magnet-on","magnify","magnify-close","magnify-expand","magnify-minus","magnify-minus-cursor","magnify-minus-outline","magnify-plus","magnify-plus-cursor","magnify-plus-outline","magnify-remove-cursor","magnify-remove-outline","magnify-scan","mail","mail-ru","mailbox","mailbox-open","mailbox-open-outline","mailbox-open-up","mailbox-open-up-outline","mailbox-outline","mailbox-up","mailbox-up-outline","manjaro","map","map-check","map-check-outline","map-clock","map-clock-outline","map-legend","map-marker","map-marker-account","map-marker-account-outline","map-marker-alert","map-marker-alert-outline","map-marker-check","map-marker-check-outline","map-marker-circle","map-marker-distance","map-marker-down","map-marker-left","map-marker-left-outline","map-marker-minus","map-marker-minus-outline","map-marker-multiple","map-marker-multiple-outline","map-marker-off","map-marker-off-outline","map-marker-outline","map-marker-path","map-marker-plus","map-marker-plus-outline","map-marker-question","map-marker-question-outline","map-marker-radius","map-marker-radius-outline","map-marker-remove","map-marker-remove-outline","map-marker-remove-variant","map-marker-right","map-marker-right-outline","map-marker-star","map-marker-star-outline","map-marker-up","map-minus","map-outline","map-plus","map-search","map-search-outline","mapbox","margin","marker","marker-cancel","marker-check","mastodon","mastodon-variant","material-design","material-ui","math-compass","math-cos","math-integral","math-integral-box","math-log","math-norm","math-norm-box","math-sin","math-tan","matrix","maxcdn","medal","medal-outline","medical-bag","medical-cotton-swab","medication","medication-outline","meditation","medium","meetup","memory","memory-arrow-down","menorah","menorah-fire","menu","menu-close","menu-down","menu-down-outline","menu-left","menu-left-outline","menu-open","menu-right","menu-right-outline","menu-swap","menu-swap-outline","menu-up","menu-up-outline","merge","message","message-alert","message-alert-outline","message-arrow-left","message-arrow-left-outline","message-arrow-right","message-arrow-right-outline","message-badge","message-badge-outline","message-bookmark","message-bookmark-outline","message-bulleted","message-bulleted-off","message-check","message-check-outline","message-cog","message-cog-outline","message-draw","message-fast","message-fast-outline","message-flash","message-flash-outline","message-image","message-image-outline","message-lock","message-lock-outline","message-minus","message-minus-outline","message-off","message-off-outline","message-outline","message-plus","message-plus-outline","message-processing","message-processing-outline","message-question","message-question-outline","message-reply","message-reply-outline","message-reply-text","message-reply-text-outline","message-settings","message-settings-outline","message-star","message-star-outline","message-text","message-text-clock","message-text-clock-outline","message-text-fast","message-text-fast-outline","message-text-lock","message-text-lock-outline","message-text-outline","message-video","meteor","meter-electric","meter-electric-outline","meter-gas","meter-gas-outline","metronome","metronome-tick","micro-sd","microphone","microphone-message","microphone-message-off","microphone-minus","microphone-off","microphone-outline","microphone-plus","microphone-question","microphone-question-outline","microphone-settings","microphone-variant","microphone-variant-off","microscope","microsoft","microsoft-access","microsoft-azure","microsoft-azure-devops","microsoft-bing","microsoft-dynamics-365","microsoft-edge","microsoft-edge-legacy","microsoft-excel","microsoft-internet-explorer","microsoft-office","microsoft-onedrive","microsoft-onenote","microsoft-outlook","microsoft-powerpoint","microsoft-sharepoint","microsoft-teams","microsoft-visual-studio","microsoft-visual-studio-code","microsoft-windows","microsoft-windows-classic","microsoft-word","microsoft-xbox","microsoft-xbox-controller","microsoft-xbox-controller-battery-alert","microsoft-xbox-controller-battery-charging","microsoft-xbox-controller-battery-empty","microsoft-xbox-controller-battery-full","microsoft-xbox-controller-battery-low","microsoft-xbox-controller-battery-medium","microsoft-xbox-controller-battery-unknown","microsoft-xbox-controller-menu","microsoft-xbox-controller-off","microsoft-xbox-controller-view","microsoft-yammer","microwave","microwave-off","middleware","middleware-outline","midi","midi-input","midi-port","mine","minecraft","mini-sd","minidisc","minus","minus-box","minus-box-multiple","minus-box-multiple-outline","minus-box-outline","minus-circle","minus-circle-multiple","minus-circle-multiple-outline","minus-circle-off","minus-circle-off-outline","minus-circle-outline","minus-network","minus-network-outline","minus-thick","mirror","mirror-rectangle","mirror-variant","mixcloud","mixed-martial-arts","mixed-reality","mixer","molecule","molecule-co","molecule-co2","monitor","monitor-account","monitor-arrow-down","monitor-arrow-down-variant","monitor-cellphone","monitor-cellphone-star","monitor-dashboard","monitor-edit","monitor-eye","monitor-lock","monitor-multiple","monitor-off","monitor-screenshot","monitor-share","monitor-shimmer","monitor-small","monitor-speaker","monitor-speaker-off","monitor-star","monitor-vertical","moon-first-quarter","moon-full","moon-last-quarter","moon-new","moon-waning-crescent","moon-waning-gibbous","moon-waxing-crescent","moon-waxing-gibbous","moped","moped-electric","moped-electric-outline","moped-outline","more","mortar-pestle","mortar-pestle-plus","mosque","mosque-outline","mother-heart","mother-nurse","motion","motion-outline","motion-pause","motion-pause-outline","motion-play","motion-play-outline","motion-sensor","motion-sensor-off","motorbike","motorbike-electric","motorbike-off","mouse","mouse-bluetooth","mouse-left-click","mouse-left-click-outline","mouse-move-down","mouse-move-up","mouse-move-vertical","mouse-off","mouse-outline","mouse-right-click","mouse-right-click-outline","mouse-scroll-wheel","mouse-variant","mouse-variant-off","move-resize","move-resize-variant","movie","movie-check","movie-check-outline","movie-cog","movie-cog-outline","movie-edit","movie-edit-outline","movie-filter","movie-filter-outline","movie-minus","movie-minus-outline","movie-off","movie-off-outline","movie-open","movie-open-check","movie-open-check-outline","movie-open-cog","movie-open-cog-outline","movie-open-edit","movie-open-edit-outline","movie-open-minus","movie-open-minus-outline","movie-open-off","movie-open-off-outline","movie-open-outline","movie-open-play","movie-open-play-outline","movie-open-plus","movie-open-plus-outline","movie-open-remove","movie-open-remove-outline","movie-open-settings","movie-open-settings-outline","movie-open-star","movie-open-star-outline","movie-outline","movie-play","movie-play-outline","movie-plus","movie-plus-outline","movie-remove","movie-remove-outline","movie-roll","movie-search","movie-search-outline","movie-settings","movie-settings-outline","movie-star","movie-star-outline","mower","mower-bag","mower-bag-on","mower-on","muffin","multicast","multimedia","multiplication","multiplication-box","mushroom","mushroom-off","mushroom-off-outline","mushroom-outline","music","music-accidental-double-flat","music-accidental-double-sharp","music-accidental-flat","music-accidental-natural","music-accidental-sharp","music-box","music-box-multiple","music-box-multiple-outline","music-box-outline","music-circle","music-circle-outline","music-clef-alto","music-clef-bass","music-clef-treble","music-note","music-note-bluetooth","music-note-bluetooth-off","music-note-eighth","music-note-eighth-dotted","music-note-half","music-note-half-dotted","music-note-minus","music-note-off","music-note-off-outline","music-note-outline","music-note-plus","music-note-quarter","music-note-quarter-dotted","music-note-sixteenth","music-note-sixteenth-dotted","music-note-whole","music-note-whole-dotted","music-off","music-rest-eighth","music-rest-half","music-rest-quarter","music-rest-sixteenth","music-rest-whole","mustache","nail","nas","nativescript","nature","nature-outline","nature-people","nature-people-outline","navigation","navigation-outline","navigation-variant","navigation-variant-outline","near-me","necklace","needle","needle-off","nest-thermostat","netflix","network","network-off","network-off-outline","network-outline","network-pos","network-strength-1","network-strength-1-alert","network-strength-2","network-strength-2-alert","network-strength-3","network-strength-3-alert","network-strength-4","network-strength-4-alert","network-strength-4-cog","network-strength-alert","network-strength-alert-outline","network-strength-off","network-strength-off-outline","network-strength-outline","new-box","newspaper","newspaper-check","newspaper-minus","newspaper-plus","newspaper-remove","newspaper-variant","newspaper-variant-multiple","newspaper-variant-multiple-outline","newspaper-variant-outline","nfc","nfc-off","nfc-search-variant","nfc-tap","nfc-variant","nfc-variant-off","ninja","nintendo-game-boy","nintendo-switch","nintendo-wii","nintendo-wiiu","nix","nodejs","noodles","not-equal","not-equal-variant","note","note-alert","note-alert-outline","note-check","note-check-outline","note-edit","note-edit-outline","note-minus","note-minus-outline","note-multiple","note-multiple-outline","note-off","note-off-outline","note-outline","note-plus","note-plus-outline","note-remove","note-remove-outline","note-search","note-search-outline","note-text","note-text-outline","notebook","notebook-check","notebook-check-outline","notebook-edit","notebook-edit-outline","notebook-heart","notebook-heart-outline","notebook-minus","notebook-minus-outline","notebook-multiple","notebook-outline","notebook-plus","notebook-plus-outline","notebook-remove","notebook-remove-outline","notification-clear-all","npm","npm-variant","npm-variant-outline","nuke","null","numeric","numeric-0","numeric-0-box","numeric-0-box-multiple","numeric-0-box-multiple-outline","numeric-0-box-outline","numeric-0-circle","numeric-0-circle-outline","numeric-1","numeric-1-box","numeric-1-box-multiple","numeric-1-box-multiple-outline","numeric-1-box-outline","numeric-1-circle","numeric-1-circle-outline","numeric-10","numeric-10-box","numeric-10-box-multiple","numeric-10-box-multiple-outline","numeric-10-box-outline","numeric-10-circle","numeric-10-circle-outline","numeric-2","numeric-2-box","numeric-2-box-multiple","numeric-2-box-multiple-outline","numeric-2-box-outline","numeric-2-circle","numeric-2-circle-outline","numeric-3","numeric-3-box","numeric-3-box-multiple","numeric-3-box-multiple-outline","numeric-3-box-outline","numeric-3-circle","numeric-3-circle-outline","numeric-4","numeric-4-box","numeric-4-box-multiple","numeric-4-box-multiple-outline","numeric-4-box-outline","numeric-4-circle","numeric-4-circle-outline","numeric-5","numeric-5-box","numeric-5-box-multiple","numeric-5-box-multiple-outline","numeric-5-box-outline","numeric-5-circle","numeric-5-circle-outline","numeric-6","numeric-6-box","numeric-6-box-multiple","numeric-6-box-multiple-outline","numeric-6-box-outline","numeric-6-circle","numeric-6-circle-outline","numeric-7","numeric-7-box","numeric-7-box-multiple","numeric-7-box-multiple-outline","numeric-7-box-outline","numeric-7-circle","numeric-7-circle-outline","numeric-8","numeric-8-box","numeric-8-box-multiple","numeric-8-box-multiple-outline","numeric-8-box-outline","numeric-8-circle","numeric-8-circle-outline","numeric-9","numeric-9-box","numeric-9-box-multiple","numeric-9-box-multiple-outline","numeric-9-box-outline","numeric-9-circle","numeric-9-circle-outline","numeric-9-plus","numeric-9-plus-box","numeric-9-plus-box-multiple","numeric-9-plus-box-multiple-outline","numeric-9-plus-box-outline","numeric-9-plus-circle","numeric-9-plus-circle-outline","numeric-negative-1","numeric-off","numeric-positive-1","nut","nutrition","nuxt","oar","ocarina","oci","ocr","octagon","octagon-outline","octagram","octagram-edit","octagram-edit-outline","octagram-minus","octagram-minus-outline","octagram-outline","octagram-plus","octagram-plus-outline","octahedron","octahedron-off","odnoklassniki","offer","office-building","office-building-cog","office-building-cog-outline","office-building-marker","office-building-marker-outline","office-building-minus","office-building-minus-outline","office-building-outline","office-building-plus","office-building-plus-outline","office-building-remove","office-building-remove-outline","oil","oil-lamp","oil-level","oil-temperature","om","omega","one-up","onedrive","onenote","onepassword","opacity","open-in-app","open-in-new","open-source-initiative","openid","opera","orbit","orbit-variant","order-alphabetical-ascending","order-alphabetical-descending","order-bool-ascending","order-bool-ascending-variant","order-bool-descending","order-bool-descending-variant","order-numeric-ascending","order-numeric-descending","origin","ornament","ornament-variant","outbox","outdent","outdoor-lamp","outlook","overscan","owl","pac-man","package","package-check","package-down","package-up","package-variant","package-variant-closed","package-variant-closed-check","package-variant-closed-minus","package-variant-closed-plus","package-variant-closed-remove","package-variant-minus","package-variant-plus","package-variant-remove","page-first","page-last","page-layout-body","page-layout-footer","page-layout-header","page-layout-header-footer","page-layout-sidebar-left","page-layout-sidebar-right","page-next","page-next-outline","page-previous","page-previous-outline","pail","pail-minus","pail-minus-outline","pail-off","pail-off-outline","pail-outline","pail-plus","pail-plus-outline","pail-remove","pail-remove-outline","palette","palette-advanced","palette-outline","palette-swatch","palette-swatch-outline","palette-swatch-variant","palm-tree","pan","pan-bottom-left","pan-bottom-right","pan-down","pan-horizontal","pan-left","pan-right","pan-top-left","pan-top-right","pan-up","pan-vertical","panda","pandora","panorama","panorama-fisheye","panorama-horizontal","panorama-horizontal-outline","panorama-outline","panorama-sphere","panorama-sphere-outline","panorama-variant","panorama-variant-outline","panorama-vertical","panorama-vertical-outline","panorama-wide-angle","panorama-wide-angle-outline","paper-cut-vertical","paper-roll","paper-roll-outline","paperclip","paperclip-check","paperclip-lock","paperclip-minus","paperclip-off","paperclip-plus","paperclip-remove","parachute","parachute-outline","paragliding","parking","party-popper","passport","passport-alert","passport-biometric","passport-cancel","passport-check","passport-minus","passport-plus","passport-remove","pasta","patio-heater","patreon","pause","pause-box","pause-box-outline","pause-circle","pause-circle-outline","pause-octagon","pause-octagon-outline","paw","paw-off","paw-off-outline","paw-outline","paypal","peace","peanut","peanut-off","peanut-off-outline","peanut-outline","pen","pen-lock","pen-minus","pen-off","pen-plus","pen-remove","pencil","pencil-box","pencil-box-multiple","pencil-box-multiple-outline","pencil-box-outline","pencil-circle","pencil-circle-outline","pencil-lock","pencil-lock-outline","pencil-minus","pencil-minus-outline","pencil-off","pencil-off-outline","pencil-outline","pencil-plus","pencil-plus-outline","pencil-remove","pencil-remove-outline","pencil-ruler","pencil-ruler-outline","penguin","pentagon","pentagon-outline","pentagram","percent","percent-box","percent-box-outline","percent-circle","percent-circle-outline","percent-outline","periodic-table","periscope","perspective-less","perspective-more","ph","phone","phone-alert","phone-alert-outline","phone-bluetooth","phone-bluetooth-outline","phone-cancel","phone-cancel-outline","phone-check","phone-check-outline","phone-classic","phone-classic-off","phone-clock","phone-dial","phone-dial-outline","phone-forward","phone-forward-outline","phone-hangup","phone-hangup-outline","phone-in-talk","phone-in-talk-outline","phone-incoming","phone-incoming-outgoing","phone-incoming-outgoing-outline","phone-incoming-outline","phone-lock","phone-lock-outline","phone-log","phone-log-outline","phone-message","phone-message-outline","phone-minus","phone-minus-outline","phone-missed","phone-missed-outline","phone-off","phone-off-outline","phone-outgoing","phone-outgoing-outline","phone-outline","phone-paused","phone-paused-outline","phone-plus","phone-plus-outline","phone-refresh","phone-refresh-outline","phone-remove","phone-remove-outline","phone-return","phone-return-outline","phone-ring","phone-ring-outline","phone-rotate-landscape","phone-rotate-portrait","phone-settings","phone-settings-outline","phone-sync","phone-sync-outline","phone-voip","pi","pi-box","pi-hole","piano","piano-off","pickaxe","picture-in-picture-bottom-right","picture-in-picture-bottom-right-outline","picture-in-picture-top-right","picture-in-picture-top-right-outline","pier","pier-crane","pig","pig-variant","pig-variant-outline","piggy-bank","piggy-bank-outline","pill","pill-multiple","pill-off","pillar","pin","pin-off","pin-off-outline","pin-outline","pine-tree","pine-tree-box","pine-tree-fire","pine-tree-variant","pine-tree-variant-outline","pinterest","pinterest-box","pinwheel","pinwheel-outline","pipe","pipe-disconnected","pipe-leak","pipe-valve","pipe-wrench","pirate","pistol","piston","pitchfork","pizza","plane-car","plane-train","play","play-box","play-box-edit-outline","play-box-lock","play-box-lock-open","play-box-lock-open-outline","play-box-lock-outline","play-box-multiple","play-box-multiple-outline","play-box-outline","play-circle","play-circle-outline","play-network","play-network-outline","play-outline","play-pause","play-protected-content","play-speed","playlist-check","playlist-edit","playlist-minus","playlist-music","playlist-music-outline","playlist-play","playlist-plus","playlist-remove","playlist-star","plex","pliers","plus","plus-box","plus-box-multiple","plus-box-multiple-outline","plus-box-outline","plus-circle","plus-circle-multiple","plus-circle-multiple-outline","plus-circle-outline","plus-lock","plus-lock-open","plus-minus","plus-minus-box","plus-minus-variant","plus-network","plus-network-outline","plus-outline","plus-thick","pocket","podcast","podium","podium-bronze","podium-gold","podium-silver","point-of-sale","pokeball","pokemon-go","poker-chip","polaroid","police-badge","police-badge-outline","police-station","poll","polo","polymer","pool","pool-thermometer","popcorn","post","post-lamp","post-outline","postage-stamp","pot","pot-mix","pot-mix-outline","pot-outline","pot-steam","pot-steam-outline","pound","pound-box","pound-box-outline","power","power-cycle","power-off","power-on","power-plug","power-plug-battery","power-plug-battery-outline","power-plug-off","power-plug-off-outline","power-plug-outline","power-settings","power-sleep","power-socket","power-socket-au","power-socket-ch","power-socket-de","power-socket-eu","power-socket-fr","power-socket-it","power-socket-jp","power-socket-uk","power-socket-us","power-standby","powershell","prescription","presentation","presentation-play","pretzel","prezi","printer","printer-3d","printer-3d-nozzle","printer-3d-nozzle-alert","printer-3d-nozzle-alert-outline","printer-3d-nozzle-heat","printer-3d-nozzle-heat-outline","printer-3d-nozzle-off","printer-3d-nozzle-off-outline","printer-3d-nozzle-outline","printer-3d-off","printer-alert","printer-check","printer-eye","printer-off","printer-off-outline","printer-outline","printer-pos","printer-pos-alert","printer-pos-alert-outline","printer-pos-cancel","printer-pos-cancel-outline","printer-pos-check","printer-pos-check-outline","printer-pos-cog","printer-pos-cog-outline","printer-pos-edit","printer-pos-edit-outline","printer-pos-minus","printer-pos-minus-outline","printer-pos-network","printer-pos-network-outline","printer-pos-off","printer-pos-off-outline","printer-pos-outline","printer-pos-pause","printer-pos-pause-outline","printer-pos-play","printer-pos-play-outline","printer-pos-plus","printer-pos-plus-outline","printer-pos-refresh","printer-pos-refresh-outline","printer-pos-remove","printer-pos-remove-outline","printer-pos-star","printer-pos-star-outline","printer-pos-stop","printer-pos-stop-outline","printer-pos-sync","printer-pos-sync-outline","printer-pos-wrench","printer-pos-wrench-outline","printer-search","printer-settings","printer-wireless","priority-high","priority-low","professional-hexagon","progress-alert","progress-check","progress-clock","progress-close","progress-download","progress-helper","progress-pencil","progress-question","progress-star","progress-star-four-points","progress-tag","progress-upload","progress-wrench","projector","projector-off","projector-screen","projector-screen-off","projector-screen-off-outline","projector-screen-outline","projector-screen-variant","projector-screen-variant-off","projector-screen-variant-off-outline","projector-screen-variant-outline","propane-tank","propane-tank-outline","protocol","publish","publish-off","pulse","pump","pump-off","pumpkin","purse","purse-outline","puzzle","puzzle-check","puzzle-check-outline","puzzle-edit","puzzle-edit-outline","puzzle-heart","puzzle-heart-outline","puzzle-minus","puzzle-minus-outline","puzzle-outline","puzzle-plus","puzzle-plus-outline","puzzle-remove","puzzle-remove-outline","puzzle-star","puzzle-star-outline","pyramid","pyramid-off","qi","qqchat","qrcode","qrcode-edit","qrcode-minus","qrcode-plus","qrcode-remove","qrcode-scan","quadcopter","quality-high","quality-low","quality-medium","queue-first-in-last-out","quick-reply","quicktime","quora","rabbit","rabbit-variant","rabbit-variant-outline","racing-helmet","racquetball","radar","radiator","radiator-disabled","radiator-off","radio","radio-am","radio-fm","radio-handheld","radio-off","radio-tower","radioactive","radioactive-circle","radioactive-circle-outline","radioactive-off","radiobox-blank","radiobox-indeterminate-variant","radiobox-marked","radiology-box","radiology-box-outline","radius","radius-outline","railroad-light","rake","raspberry-pi","raw","raw-off","ray-end","ray-end-arrow","ray-start","ray-start-arrow","ray-start-end","ray-start-vertex-end","ray-vertex","razor-double-edge","razor-single-edge","rdio","react","read","receipt","receipt-clock","receipt-clock-outline","receipt-outline","receipt-send","receipt-send-outline","receipt-text","receipt-text-arrow-left","receipt-text-arrow-left-outline","receipt-text-arrow-right","receipt-text-arrow-right-outline","receipt-text-check","receipt-text-check-outline","receipt-text-clock","receipt-text-clock-outline","receipt-text-edit","receipt-text-edit-outline","receipt-text-minus","receipt-text-minus-outline","receipt-text-outline","receipt-text-plus","receipt-text-plus-outline","receipt-text-remove","receipt-text-remove-outline","receipt-text-send","receipt-text-send-outline","record","record-circle","record-circle-outline","record-player","record-rec","rectangle","rectangle-outline","recycle","recycle-variant","reddit","redhat","redo","redo-variant","reflect-horizontal","reflect-vertical","refresh","refresh-auto","refresh-circle","regex","registered-trademark","reiterate","relation-many-to-many","relation-many-to-one","relation-many-to-one-or-many","relation-many-to-only-one","relation-many-to-zero-or-many","relation-many-to-zero-or-one","relation-one-or-many-to-many","relation-one-or-many-to-one","relation-one-or-many-to-one-or-many","relation-one-or-many-to-only-one","relation-one-or-many-to-zero-or-many","relation-one-or-many-to-zero-or-one","relation-one-to-many","relation-one-to-one","relation-one-to-one-or-many","relation-one-to-only-one","relation-one-to-zero-or-many","relation-one-to-zero-or-one","relation-only-one-to-many","relation-only-one-to-one","relation-only-one-to-one-or-many","relation-only-one-to-only-one","relation-only-one-to-zero-or-many","relation-only-one-to-zero-or-one","relation-zero-or-many-to-many","relation-zero-or-many-to-one","relation-zero-or-many-to-one-or-many","relation-zero-or-many-to-only-one","relation-zero-or-many-to-zero-or-many","relation-zero-or-many-to-zero-or-one","relation-zero-or-one-to-many","relation-zero-or-one-to-one","relation-zero-or-one-to-one-or-many","relation-zero-or-one-to-only-one","relation-zero-or-one-to-zero-or-many","relation-zero-or-one-to-zero-or-one","relative-scale","reload","reload-alert","reminder","remote","remote-desktop","remote-off","remote-tv","remote-tv-off","rename","rename-box","rename-box-outline","rename-outline","reorder-horizontal","reorder-vertical","repeat","repeat-off","repeat-once","repeat-variant","replay","reply","reply-all","reply-all-outline","reply-circle","reply-outline","reproduction","resistor","resistor-nodes","resize","resize-bottom-right","responsive","restart","restart-alert","restart-off","restore","restore-alert","rewind","rewind-10","rewind-15","rewind-30","rewind-45","rewind-5","rewind-60","rewind-outline","rhombus","rhombus-medium","rhombus-medium-outline","rhombus-outline","rhombus-split","rhombus-split-outline","ribbon","rice","rickshaw","rickshaw-electric","ring","rivet","road","road-variant","robber","robot","robot-angry","robot-angry-outline","robot-confused","robot-confused-outline","robot-dead","robot-dead-outline","robot-excited","robot-excited-outline","robot-happy","robot-happy-outline","robot-industrial","robot-industrial-outline","robot-love","robot-love-outline","robot-mower","robot-mower-outline","robot-off","robot-off-outline","robot-outline","robot-vacuum","robot-vacuum-alert","robot-vacuum-off","robot-vacuum-variant","robot-vacuum-variant-alert","robot-vacuum-variant-off","rocket","rocket-launch","rocket-launch-outline","rocket-outline","rodent","roller-shade","roller-shade-closed","roller-skate","roller-skate-off","rollerblade","rollerblade-off","rollupjs","rolodex","rolodex-outline","roman-numeral-1","roman-numeral-10","roman-numeral-2","roman-numeral-3","roman-numeral-4","roman-numeral-5","roman-numeral-6","roman-numeral-7","roman-numeral-8","roman-numeral-9","room-service","room-service-outline","rotate-360","rotate-3d","rotate-3d-variant","rotate-left","rotate-left-variant","rotate-orbit","rotate-right","rotate-right-variant","rounded-corner","router","router-network","router-network-wireless","router-wireless","router-wireless-off","router-wireless-settings","routes","routes-clock","rowing","rss","rss-box","rss-off","rug","rugby","ruler","ruler-square","ruler-square-compass","run","run-fast","rv-truck","sack","sack-outline","sack-percent","safe","safe-square","safe-square-outline","safety-goggles","safety-googles","sail-boat","sail-boat-sink","sale","sale-outline","salesforce","sass","satellite","satellite-uplink","satellite-variant","sausage","sausage-off","saw-blade","sawtooth-wave","saxophone","scale","scale-balance","scale-bathroom","scale-off","scale-unbalanced","scan-helper","scanner","scanner-off","scatter-plot","scatter-plot-outline","scent","scent-off","school","school-outline","scissors-cutting","scooter","scooter-electric","scoreboard","scoreboard-outline","screen-rotation","screen-rotation-lock","screw-flat-top","screw-lag","screw-machine-flat-top","screw-machine-round-top","screw-round-top","screwdriver","script","script-outline","script-text","script-text-key","script-text-key-outline","script-text-outline","script-text-play","script-text-play-outline","sd","seal","seal-variant","search-web","seat","seat-flat","seat-flat-angled","seat-individual-suite","seat-legroom-extra","seat-legroom-normal","seat-legroom-reduced","seat-outline","seat-passenger","seat-recline-extra","seat-recline-normal","seatbelt","security","security-close","security-network","seed","seed-off","seed-off-outline","seed-outline","seed-plus","seed-plus-outline","seesaw","segment","select","select-all","select-arrow-down","select-arrow-up","select-color","select-compare","select-drag","select-group","select-inverse","select-marker","select-multiple","select-multiple-marker","select-off","select-place","select-remove","select-search","selection","selection-drag","selection-ellipse","selection-ellipse-arrow-inside","selection-ellipse-remove","selection-lasso","selection-marker","selection-multiple","selection-multiple-marker","selection-off","selection-remove","selection-search","semantic-web","send","send-check","send-check-outline","send-circle","send-circle-outline","send-clock","send-clock-outline","send-lock","send-lock-outline","send-outline","send-variant","send-variant-clock","send-variant-clock-outline","send-variant-outline","serial-port","server","server-minus","server-minus-outline","server-network","server-network-off","server-network-outline","server-off","server-outline","server-plus","server-plus-outline","server-remove","server-security","set-all","set-center","set-center-right","set-left","set-left-center","set-left-right","set-merge","set-none","set-right","set-split","set-square","set-top-box","settings-helper","shaker","shaker-outline","shape","shape-circle-plus","shape-outline","shape-oval-plus","shape-plus","shape-plus-outline","shape-polygon-plus","shape-rectangle-plus","shape-square-plus","shape-square-rounded-plus","share","share-all","share-all-outline","share-circle","share-off","share-off-outline","share-outline","share-variant","share-variant-outline","shark","shark-fin","shark-fin-outline","shark-off","sheep","shield","shield-account","shield-account-outline","shield-account-variant","shield-account-variant-outline","shield-airplane","shield-airplane-outline","shield-alert","shield-alert-outline","shield-bug","shield-bug-outline","shield-car","shield-check","shield-check-outline","shield-cross","shield-cross-outline","shield-crown","shield-crown-outline","shield-edit","shield-edit-outline","shield-half","shield-half-full","shield-home","shield-home-outline","shield-key","shield-key-outline","shield-link-variant","shield-link-variant-outline","shield-lock","shield-lock-open","shield-lock-open-outline","shield-lock-outline","shield-moon","shield-moon-outline","shield-off","shield-off-outline","shield-outline","shield-plus","shield-plus-outline","shield-refresh","shield-refresh-outline","shield-remove","shield-remove-outline","shield-search","shield-star","shield-star-outline","shield-sun","shield-sun-outline","shield-sword","shield-sword-outline","shield-sync","shield-sync-outline","shimmer","ship-wheel","shipping-pallet","shoe-ballet","shoe-cleat","shoe-formal","shoe-heel","shoe-print","shoe-sneaker","shopify","shopping","shopping-music","shopping-outline","shopping-search","shopping-search-outline","shore","shovel","shovel-off","shower","shower-head","shredder","shuffle","shuffle-disabled","shuffle-variant","shuriken","sickle","sigma","sigma-lower","sign-caution","sign-direction","sign-direction-minus","sign-direction-plus","sign-direction-remove","sign-language","sign-language-outline","sign-pole","sign-real-estate","sign-text","sign-yield","signal","signal-2g","signal-3g","signal-4g","signal-5g","signal-cellular-1","signal-cellular-2","signal-cellular-3","signal-cellular-outline","signal-distance-variant","signal-hspa","signal-hspa-plus","signal-off","signal-variant","signature","signature-freehand","signature-image","signature-text","silo","silo-outline","silverware","silverware-clean","silverware-fork","silverware-fork-knife","silverware-spoon","silverware-variant","sim","sim-alert","sim-alert-outline","sim-off","sim-off-outline","sim-outline","simple-icons","sina-weibo","sine-wave","sitemap","sitemap-outline","size-l","size-m","size-s","size-xl","size-xs","size-xxl","size-xxs","size-xxxl","skate","skate-off","skateboard","skateboarding","skew-less","skew-more","ski","ski-cross-country","ski-water","skip-backward","skip-backward-outline","skip-forward","skip-forward-outline","skip-next","skip-next-circle","skip-next-circle-outline","skip-next-outline","skip-previous","skip-previous-circle","skip-previous-circle-outline","skip-previous-outline","skull","skull-crossbones","skull-crossbones-outline","skull-outline","skull-scan","skull-scan-outline","skype","skype-business","slack","slackware","slash-forward","slash-forward-box","sledding","sleep","sleep-off","slide","slope-downhill","slope-uphill","slot-machine","slot-machine-outline","smart-card","smart-card-off","smart-card-off-outline","smart-card-outline","smart-card-reader","smart-card-reader-outline","smog","smoke","smoke-detector","smoke-detector-alert","smoke-detector-alert-outline","smoke-detector-off","smoke-detector-off-outline","smoke-detector-outline","smoke-detector-variant","smoke-detector-variant-alert","smoke-detector-variant-off","smoking","smoking-off","smoking-pipe","smoking-pipe-off","snail","snake","snapchat","snowboard","snowflake","snowflake-alert","snowflake-check","snowflake-melt","snowflake-off","snowflake-thermometer","snowflake-variant","snowman","snowmobile","snowshoeing","soccer","soccer-field","social-distance-2-meters","social-distance-6-feet","sofa","sofa-outline","sofa-single","sofa-single-outline","solar-panel","solar-panel-large","solar-power","solar-power-variant","solar-power-variant-outline","soldering-iron","solid","sony-playstation","sort","sort-alphabetical-ascending","sort-alphabetical-ascending-variant","sort-alphabetical-descending","sort-alphabetical-descending-variant","sort-alphabetical-variant","sort-ascending","sort-bool-ascending","sort-bool-ascending-variant","sort-bool-descending","sort-bool-descending-variant","sort-calendar-ascending","sort-calendar-descending","sort-clock-ascending","sort-clock-ascending-outline","sort-clock-descending","sort-clock-descending-outline","sort-descending","sort-numeric-ascending","sort-numeric-ascending-variant","sort-numeric-descending","sort-numeric-descending-variant","sort-numeric-variant","sort-reverse-variant","sort-variant","sort-variant-lock","sort-variant-lock-open","sort-variant-off","sort-variant-remove","soundbar","soundcloud","source-branch","source-branch-check","source-branch-minus","source-branch-plus","source-branch-refresh","source-branch-remove","source-branch-sync","source-commit","source-commit-end","source-commit-end-local","source-commit-local","source-commit-next-local","source-commit-start","source-commit-start-next-local","source-fork","source-merge","source-pull","source-repository","source-repository-multiple","soy-sauce","soy-sauce-off","spa","spa-outline","space-invaders","space-station","spade","speaker","speaker-bluetooth","speaker-message","speaker-multiple","speaker-off","speaker-pause","speaker-play","speaker-stop","speaker-wireless","spear","speedometer","speedometer-medium","speedometer-slow","spellcheck","sphere","sphere-off","spider","spider-outline","spider-thread","spider-web","spirit-level","split-horizontal","split-vertical","spoon-sugar","spotify","spotlight","spotlight-beam","spray","spray-bottle","spreadsheet","sprinkler","sprinkler-fire","sprinkler-variant","sprout","sprout-outline","square","square-circle","square-circle-outline","square-edit-outline","square-inc","square-inc-cash","square-medium","square-medium-outline","square-off","square-off-outline","square-opacity","square-outline","square-root","square-root-box","square-rounded","square-rounded-badge","square-rounded-badge-outline","square-rounded-outline","square-small","square-wave","squeegee","ssh","stack-exchange","stack-overflow","stackpath","stadium","stadium-outline","stadium-variant","stairs","stairs-box","stairs-down","stairs-up","stamper","standard-definition","star","star-box","star-box-multiple","star-box-multiple-outline","star-box-outline","star-check","star-check-outline","star-circle","star-circle-outline","star-cog","star-cog-outline","star-crescent","star-david","star-face","star-four-points","star-four-points-box","star-four-points-box-outline","star-four-points-circle","star-four-points-circle-outline","star-four-points-outline","star-four-points-small","star-half","star-half-full","star-minus","star-minus-outline","star-off","star-off-outline","star-outline","star-plus","star-plus-outline","star-remove","star-remove-outline","star-settings","star-settings-outline","star-shooting","star-shooting-outline","star-three-points","star-three-points-outline","state-machine","steam","steam-box","steering","steering-off","step-backward","step-backward-2","step-forward","step-forward-2","stethoscope","sticker","sticker-alert","sticker-alert-outline","sticker-check","sticker-check-outline","sticker-circle-outline","sticker-emoji","sticker-minus","sticker-minus-outline","sticker-outline","sticker-plus","sticker-plus-outline","sticker-remove","sticker-remove-outline","sticker-text","sticker-text-outline","stocking","stomach","stool","stool-outline","stop","stop-circle","stop-circle-outline","storage-tank","storage-tank-outline","store","store-24-hour","store-alert","store-alert-outline","store-check","store-check-outline","store-clock","store-clock-outline","store-cog","store-cog-outline","store-edit","store-edit-outline","store-marker","store-marker-outline","store-minus","store-minus-outline","store-off","store-off-outline","store-outline","store-plus","store-plus-outline","store-remove","store-remove-outline","store-search","store-search-outline","store-settings","store-settings-outline","storefront","storefront-check","storefront-check-outline","storefront-edit","storefront-edit-outline","storefront-minus","storefront-minus-outline","storefront-outline","storefront-plus","storefront-plus-outline","storefront-remove","storefront-remove-outline","stove","strategy","strava","stretch-to-page","stretch-to-page-outline","string-lights","string-lights-off","subdirectory-arrow-left","subdirectory-arrow-right","submarine","subtitles","subtitles-outline","subway","subway-alert-variant","subway-variant","summit","sun-angle","sun-angle-outline","sun-clock","sun-clock-outline","sun-compass","sun-snowflake","sun-snowflake-variant","sun-thermometer","sun-thermometer-outline","sun-wireless","sun-wireless-outline","sunglasses","surfing","surround-sound","surround-sound-2-0","surround-sound-2-1","surround-sound-3-1","surround-sound-5-1","surround-sound-5-1-2","surround-sound-7-1","svg","swap-horizontal","swap-horizontal-bold","swap-horizontal-circle","swap-horizontal-circle-outline","swap-horizontal-hidden","swap-horizontal-variant","swap-vertical","swap-vertical-bold","swap-vertical-circle","swap-vertical-circle-outline","swap-vertical-variant","swim","switch","sword","sword-cross","syllabary-hangul","syllabary-hiragana","syllabary-katakana","syllabary-katakana-halfwidth","symbol","symfony","synagogue","synagogue-outline","sync","sync-alert","sync-circle","sync-off","tab","tab-minus","tab-plus","tab-remove","tab-search","tab-unselected","table","table-account","table-alert","table-arrow-down","table-arrow-left","table-arrow-right","table-arrow-up","table-border","table-cancel","table-chair","table-check","table-clock","table-cog","table-column","table-column-plus-after","table-column-plus-before","table-column-remove","table-column-width","table-edit","table-eye","table-eye-off","table-filter","table-furniture","table-headers-eye","table-headers-eye-off","table-heart","table-key","table-large","table-large-plus","table-large-remove","table-lock","table-merge-cells","table-minus","table-multiple","table-network","table-of-contents","table-off","table-picnic","table-pivot","table-plus","table-question","table-refresh","table-remove","table-row","table-row-height","table-row-plus-after","table-row-plus-before","table-row-remove","table-search","table-settings","table-split-cell","table-star","table-sync","table-tennis","tablet","tablet-android","tablet-cellphone","tablet-dashboard","tablet-ipad","taco","tag","tag-arrow-down","tag-arrow-down-outline","tag-arrow-left","tag-arrow-left-outline","tag-arrow-right","tag-arrow-right-outline","tag-arrow-up","tag-arrow-up-outline","tag-check","tag-check-outline","tag-edit","tag-edit-outline","tag-faces","tag-heart","tag-heart-outline","tag-hidden","tag-minus","tag-minus-outline","tag-multiple","tag-multiple-outline","tag-off","tag-off-outline","tag-outline","tag-plus","tag-plus-outline","tag-remove","tag-remove-outline","tag-search","tag-search-outline","tag-text","tag-text-outline","tailwind","tally-mark-1","tally-mark-2","tally-mark-3","tally-mark-4","tally-mark-5","tangram","tank","tanker-truck","tape-drive","tape-measure","target","target-account","target-variant","taxi","tea","tea-outline","teamspeak","teamviewer","teddy-bear","telegram","telescope","television","television-ambient-light","television-box","television-classic","television-classic-off","television-guide","television-off","television-pause","television-play","television-shimmer","television-speaker","television-speaker-off","television-stop","temperature-celsius","temperature-fahrenheit","temperature-kelvin","temple-buddhist","temple-buddhist-outline","temple-hindu","temple-hindu-outline","tennis","tennis-ball","tennis-ball-outline","tent","terraform","terrain","test-tube","test-tube-empty","test-tube-off","text","text-account","text-box","text-box-check","text-box-check-outline","text-box-edit","text-box-edit-outline","text-box-minus","text-box-minus-outline","text-box-multiple","text-box-multiple-outline","text-box-outline","text-box-plus","text-box-plus-outline","text-box-remove","text-box-remove-outline","text-box-search","text-box-search-outline","text-long","text-recognition","text-search","text-search-variant","text-shadow","text-short","texture","texture-box","theater","theme-light-dark","thermometer","thermometer-alert","thermometer-auto","thermometer-bluetooth","thermometer-check","thermometer-chevron-down","thermometer-chevron-up","thermometer-high","thermometer-lines","thermometer-low","thermometer-minus","thermometer-off","thermometer-plus","thermometer-probe","thermometer-probe-off","thermometer-water","thermostat","thermostat-auto","thermostat-box","thermostat-box-auto","thermostat-cog","thought-bubble","thought-bubble-outline","thumb-down","thumb-down-outline","thumb-up","thumb-up-outline","thumbs-up-down","thumbs-up-down-outline","ticket","ticket-account","ticket-confirmation","ticket-confirmation-outline","ticket-outline","ticket-percent","ticket-percent-outline","tie","tilde","tilde-off","timelapse","timeline","timeline-alert","timeline-alert-outline","timeline-check","timeline-check-outline","timeline-clock","timeline-clock-outline","timeline-minus","timeline-minus-outline","timeline-outline","timeline-plus","timeline-plus-outline","timeline-question","timeline-question-outline","timeline-remove","timeline-remove-outline","timeline-text","timeline-text-outline","timer","timer-10","timer-3","timer-alert","timer-alert-outline","timer-cancel","timer-cancel-outline","timer-check","timer-check-outline","timer-cog","timer-cog-outline","timer-edit","timer-edit-outline","timer-lock","timer-lock-open","timer-lock-open-outline","timer-lock-outline","timer-marker","timer-marker-outline","timer-minus","timer-minus-outline","timer-music","timer-music-outline","timer-off","timer-off-outline","timer-outline","timer-pause","timer-pause-outline","timer-play","timer-play-outline","timer-plus","timer-plus-outline","timer-refresh","timer-refresh-outline","timer-remove","timer-remove-outline","timer-sand","timer-sand-complete","timer-sand-empty","timer-sand-full","timer-sand-paused","timer-settings","timer-settings-outline","timer-star","timer-star-outline","timer-stop","timer-stop-outline","timer-sync","timer-sync-outline","timetable","tire","toaster","toaster-off","toaster-oven","toggle-switch","toggle-switch-off","toggle-switch-off-outline","toggle-switch-outline","toggle-switch-variant","toggle-switch-variant-off","toilet","toolbox","toolbox-outline","tools","tooltip","tooltip-account","tooltip-cellphone","tooltip-check","tooltip-check-outline","tooltip-edit","tooltip-edit-outline","tooltip-image","tooltip-image-outline","tooltip-minus","tooltip-minus-outline","tooltip-outline","tooltip-plus","tooltip-plus-outline","tooltip-question","tooltip-question-outline","tooltip-remove","tooltip-remove-outline","tooltip-text","tooltip-text-outline","tooth","tooth-outline","toothbrush","toothbrush-electric","toothbrush-paste","tor","torch","tortoise","toslink","touch-text-outline","tournament","tow-truck","tower-beach","tower-fire","town-hall","toy-brick","toy-brick-marker","toy-brick-marker-outline","toy-brick-minus","toy-brick-minus-outline","toy-brick-outline","toy-brick-plus","toy-brick-plus-outline","toy-brick-remove","toy-brick-remove-outline","toy-brick-search","toy-brick-search-outline","track-light","track-light-off","trackpad","trackpad-lock","tractor","tractor-variant","trademark","traffic-cone","traffic-light","traffic-light-outline","train","train-bus","train-car","train-car-autorack","train-car-box","train-car-box-full","train-car-box-open","train-car-caboose","train-car-centerbeam","train-car-centerbeam-full","train-car-container","train-car-flatbed","train-car-flatbed-car","train-car-flatbed-tank","train-car-gondola","train-car-gondola-full","train-car-hopper","train-car-hopper-covered","train-car-hopper-full","train-car-intermodal","train-car-passenger","train-car-passenger-door","train-car-passenger-door-open","train-car-passenger-variant","train-car-tank","train-variant","tram","tram-side","transcribe","transcribe-close","transfer","transfer-down","transfer-left","transfer-right","transfer-up","transit-connection","transit-connection-horizontal","transit-connection-variant","transit-detour","transit-skip","transit-transfer","transition","transition-masked","translate","translate-off","translate-variant","transmission-tower","transmission-tower-export","transmission-tower-import","transmission-tower-off","trash-can","trash-can-outline","tray","tray-alert","tray-arrow-down","tray-arrow-up","tray-full","tray-minus","tray-plus","tray-remove","treasure-chest","treasure-chest-outline","tree","tree-outline","trello","trending-down","trending-neutral","trending-up","triangle","triangle-down","triangle-down-outline","triangle-outline","triangle-small-down","triangle-small-up","triangle-wave","triforce","trophy","trophy-award","trophy-broken","trophy-outline","trophy-variant","trophy-variant-outline","truck","truck-alert","truck-alert-outline","truck-cargo-container","truck-check","truck-check-outline","truck-delivery","truck-delivery-outline","truck-fast","truck-fast-outline","truck-flatbed","truck-minus","truck-minus-outline","truck-off-road","truck-off-road-off","truck-outline","truck-plus","truck-plus-outline","truck-remove","truck-remove-outline","truck-snowflake","truck-trailer","trumpet","tshirt-crew","tshirt-crew-outline","tshirt-v","tshirt-v-outline","tsunami","tumble-dryer","tumble-dryer-alert","tumble-dryer-off","tumblr","tumblr-box","tumblr-reblog","tune","tune-variant","tune-vertical","tune-vertical-variant","tunnel","tunnel-outline","turbine","turkey","turnstile","turnstile-outline","turtle","twitch","twitter","twitter-box","twitter-circle","two-factor-authentication","typewriter","uber","ubisoft","ubuntu","ufo","ufo-outline","ultra-high-definition","umbraco","umbrella","umbrella-beach","umbrella-beach-outline","umbrella-closed","umbrella-closed-outline","umbrella-closed-variant","umbrella-outline","underwear-outline","undo","undo-variant","unfold-less-horizontal","unfold-less-vertical","unfold-more-horizontal","unfold-more-vertical","ungroup","unicode","unicorn","unicorn-variant","unicycle","unity","unreal","untappd","update","upload","upload-box","upload-box-outline","upload-circle","upload-circle-outline","upload-lock","upload-lock-outline","upload-multiple","upload-multiple-outline","upload-network","upload-network-outline","upload-off","upload-off-outline","upload-outline","usb","usb-c-port","usb-flash-drive","usb-flash-drive-outline","usb-port","vacuum","vacuum-outline","valve","valve-closed","valve-open","van-passenger","van-utility","vanish","vanish-quarter","vanity-light","variable","variable-box","vector-arrange-above","vector-arrange-below","vector-bezier","vector-circle","vector-circle-variant","vector-combine","vector-curve","vector-difference","vector-difference-ab","vector-difference-ba","vector-ellipse","vector-intersection","vector-line","vector-link","vector-point","vector-point-edit","vector-point-minus","vector-point-plus","vector-point-select","vector-polygon","vector-polygon-variant","vector-polyline","vector-polyline-edit","vector-polyline-minus","vector-polyline-plus","vector-polyline-remove","vector-radius","vector-rectangle","vector-selection","vector-square","vector-square-close","vector-square-edit","vector-square-minus","vector-square-open","vector-square-plus","vector-square-remove","vector-triangle","vector-union","venmo","vhs","vibrate","vibrate-off","video","video-2d","video-3d","video-3d-off","video-3d-variant","video-4k-box","video-account","video-box","video-box-off","video-check","video-check-outline","video-high-definition","video-image","video-input-antenna","video-input-component","video-input-hdmi","video-input-scart","video-input-svideo","video-marker","video-marker-outline","video-minus","video-minus-outline","video-off","video-off-outline","video-outline","video-plus","video-plus-outline","video-stabilization","video-standard-definition","video-switch","video-switch-outline","video-vintage","video-wireless","video-wireless-outline","view-agenda","view-agenda-outline","view-array","view-array-outline","view-carousel","view-carousel-outline","view-column","view-column-outline","view-comfy","view-comfy-outline","view-compact","view-compact-outline","view-dashboard","view-dashboard-edit","view-dashboard-edit-outline","view-dashboard-outline","view-dashboard-variant","view-dashboard-variant-outline","view-day","view-day-outline","view-gallery","view-gallery-outline","view-grid","view-grid-compact","view-grid-outline","view-grid-plus","view-grid-plus-outline","view-headline","view-list","view-list-outline","view-module","view-module-outline","view-parallel","view-parallel-outline","view-quilt","view-quilt-outline","view-sequential","view-sequential-outline","view-split-horizontal","view-split-vertical","view-stream","view-stream-outline","view-week","view-week-outline","vimeo","vine","violin","virtual-reality","virus","virus-off","virus-off-outline","virus-outline","vk","vk-box","vk-circle","vlc","voicemail","volcano","volcano-outline","volleyball","volume","volume-equal","volume-high","volume-low","volume-medium","volume-minus","volume-mute","volume-off","volume-plus","volume-source","volume-variant-off","volume-vibrate","vote","vote-outline","vpn","vuejs","vuetify","walk","wall","wall-fire","wall-sconce","wall-sconce-flat","wall-sconce-flat-outline","wall-sconce-flat-variant","wall-sconce-flat-variant-outline","wall-sconce-outline","wall-sconce-round","wall-sconce-round-outline","wall-sconce-round-variant","wall-sconce-round-variant-outline","wall-sconce-variant","wallet","wallet-bifold","wallet-bifold-outline","wallet-giftcard","wallet-membership","wallet-outline","wallet-plus","wallet-plus-outline","wallet-travel","wallpaper","wan","wardrobe","wardrobe-outline","warehouse","washing-machine","washing-machine-alert","washing-machine-off","watch","watch-export","watch-export-variant","watch-import","watch-import-variant","watch-variant","watch-vibrate","watch-vibrate-off","water","water-alert","water-alert-outline","water-boiler","water-boiler-alert","water-boiler-auto","water-boiler-off","water-check","water-check-outline","water-circle","water-minus","water-minus-outline","water-off","water-off-outline","water-opacity","water-outline","water-percent","water-percent-alert","water-plus","water-plus-outline","water-polo","water-pump","water-pump-off","water-remove","water-remove-outline","water-sync","water-thermometer","water-thermometer-outline","water-well","water-well-outline","waterfall","watering-can","watering-can-outline","watermark","wave","wave-arrow-down","wave-arrow-up","wave-undercurrent","waveform","waves","waves-arrow-left","waves-arrow-right","waves-arrow-up","waze","weather-cloudy","weather-cloudy-alert","weather-cloudy-arrow-right","weather-cloudy-clock","weather-dust","weather-fog","weather-hail","weather-hazy","weather-hurricane","weather-hurricane-outline","weather-lightning","weather-lightning-rainy","weather-moonset","weather-moonset-down","weather-moonset-up","weather-night","weather-night-partly-cloudy","weather-partly-cloudy","weather-partly-lightning","weather-partly-rainy","weather-partly-snowy","weather-partly-snowy-rainy","weather-pouring","weather-rainy","weather-snowy","weather-snowy-heavy","weather-snowy-rainy","weather-sunny","weather-sunny-alert","weather-sunny-off","weather-sunset","weather-sunset-down","weather-sunset-up","weather-tornado","weather-windy","weather-windy-variant","web","web-box","web-cancel","web-check","web-clock","web-minus","web-off","web-plus","web-refresh","web-remove","web-sync","webcam","webcam-off","webhook","webpack","webrtc","wechat","weight","weight-gram","weight-kilogram","weight-lifter","weight-pound","whatsapp","wheel-barrow","wheelchair","wheelchair-accessibility","whistle","whistle-outline","white-balance-auto","white-balance-incandescent","white-balance-iridescent","white-balance-sunny","widgets","widgets-outline","wifi","wifi-alert","wifi-arrow-down","wifi-arrow-left","wifi-arrow-left-right","wifi-arrow-right","wifi-arrow-up","wifi-arrow-up-down","wifi-cancel","wifi-check","wifi-cog","wifi-lock","wifi-lock-open","wifi-marker","wifi-minus","wifi-off","wifi-plus","wifi-refresh","wifi-remove","wifi-settings","wifi-star","wifi-strength-1","wifi-strength-1-alert","wifi-strength-1-lock","wifi-strength-1-lock-open","wifi-strength-2","wifi-strength-2-alert","wifi-strength-2-lock","wifi-strength-2-lock-open","wifi-strength-3","wifi-strength-3-alert","wifi-strength-3-lock","wifi-strength-3-lock-open","wifi-strength-4","wifi-strength-4-alert","wifi-strength-4-lock","wifi-strength-4-lock-open","wifi-strength-alert-outline","wifi-strength-lock-open-outline","wifi-strength-lock-outline","wifi-strength-off","wifi-strength-off-outline","wifi-strength-outline","wifi-sync","wikipedia","wind-power","wind-power-outline","wind-turbine","wind-turbine-alert","wind-turbine-check","window-close","window-closed","window-closed-variant","window-maximize","window-minimize","window-open","window-open-variant","window-restore","window-shutter","window-shutter-alert","window-shutter-auto","window-shutter-cog","window-shutter-open","window-shutter-settings","windsock","wiper","wiper-wash","wiper-wash-alert","wizard-hat","wordpress","wrap","wrap-disabled","wrench","wrench-check","wrench-check-outline","wrench-clock","wrench-clock-outline","wrench-cog","wrench-cog-outline","wrench-outline","wunderlist","xamarin","xamarin-outline","xda","xing","xing-circle","xml","xmpp","y-combinator","yahoo","yammer","yeast","yelp","yin-yang","yoga","youtube","youtube-gaming","youtube-studio","youtube-subscription","youtube-tv","yurt","z-wave","zend","zigbee","zip-box","zip-box-outline","zip-disk","zodiac-aquarius","zodiac-aries","zodiac-cancer","zodiac-capricorn","zodiac-gemini","zodiac-leo","zodiac-libra","zodiac-pisces","zodiac-sagittarius","zodiac-scorpio","zodiac-taurus","zodiac-virgo"]},{prefix:"ri",info:{name:"Remix Icon",total:2704,version:"4.0.0",author:{name:"Remix Design",url:"https://github.com/Remix-Design/RemixIcon"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/Remix-Design/RemixIcon/blob/master/License"},samples:["lock-2-line","mark-pen-fill","moon-line"],height:24,category:"General",palette:!1},icons:["24-hours-fill","24-hours-line","4k-fill","4k-line","a-b","account-box-fill","account-box-line","account-circle-fill","account-circle-line","account-pin-box-fill","account-pin-box-line","account-pin-circle-fill","account-pin-circle-line","add-box-fill","add-box-line","add-circle-fill","add-circle-line","add-fill","add-line","admin-fill","admin-line","advertisement-fill","advertisement-line","ai-generate","airplay-fill","airplay-line","alarm-fill","alarm-line","alarm-warning-fill","alarm-warning-line","album-fill","album-line","alert-fill","alert-line","aliens-fill","aliens-line","align-bottom","align-center","align-justify","align-left","align-right","align-top","align-vertically","alipay-fill","alipay-line","amazon-fill","amazon-line","anchor-fill","anchor-line","ancient-gate-fill","ancient-gate-line","ancient-pavilion-fill","ancient-pavilion-line","android-fill","android-line","angularjs-fill","angularjs-line","anticlockwise-2-fill","anticlockwise-2-line","anticlockwise-fill","anticlockwise-line","app-store-fill","app-store-line","apple-fill","apple-line","apps-2-fill","apps-2-line","apps-fill","apps-line","archive-2-fill","archive-2-line","archive-drawer-fill","archive-drawer-line","archive-fill","archive-line","archive-stack-fill","archive-stack-line","armchair-fill","armchair-line","arrow-down-circle-fill","arrow-down-circle-line","arrow-down-double-fill","arrow-down-double-line","arrow-down-fill","arrow-down-line","arrow-down-s-fill","arrow-down-s-line","arrow-drop-down-fill","arrow-drop-down-line","arrow-drop-left-fill","arrow-drop-left-line","arrow-drop-right-fill","arrow-drop-right-line","arrow-drop-up-fill","arrow-drop-up-line","arrow-go-back-fill","arrow-go-back-line","arrow-go-forward-fill","arrow-go-forward-line","arrow-left-circle-fill","arrow-left-circle-line","arrow-left-double-fill","arrow-left-double-line","arrow-left-down-fill","arrow-left-down-line","arrow-left-fill","arrow-left-line","arrow-left-right-fill","arrow-left-right-line","arrow-left-s-fill","arrow-left-s-line","arrow-left-up-fill","arrow-left-up-line","arrow-right-circle-fill","arrow-right-circle-line","arrow-right-double-fill","arrow-right-double-line","arrow-right-down-fill","arrow-right-down-line","arrow-right-fill","arrow-right-line","arrow-right-s-fill","arrow-right-s-line","arrow-right-up-fill","arrow-right-up-line","arrow-turn-back-fill","arrow-turn-back-line","arrow-turn-forward-fill","arrow-turn-forward-line","arrow-up-circle-fill","arrow-up-circle-line","arrow-up-double-fill","arrow-up-double-line","arrow-up-down-fill","arrow-up-down-line","arrow-up-fill","arrow-up-line","arrow-up-s-fill","arrow-up-s-line","artboard-2-fill","artboard-2-line","artboard-fill","artboard-line","article-fill","article-line","aspect-ratio-fill","aspect-ratio-line","asterisk","at-fill","at-line","attachment-2","attachment-fill","attachment-line","auction-fill","auction-line","award-fill","award-line","baidu-fill","baidu-line","ball-pen-fill","ball-pen-line","bank-card-2-fill","bank-card-2-line","bank-card-fill","bank-card-line","bank-fill","bank-line","bar-chart-2-fill","bar-chart-2-line","bar-chart-box-fill","bar-chart-box-line","bar-chart-fill","bar-chart-grouped-fill","bar-chart-grouped-line","bar-chart-horizontal-fill","bar-chart-horizontal-line","bar-chart-line","barcode-box-fill","barcode-box-line","barcode-fill","barcode-line","bard-fill","bard-line","barricade-fill","barricade-line","base-station-fill","base-station-line","basketball-fill","basketball-line","battery-2-charge-fill","battery-2-charge-line","battery-2-fill","battery-2-line","battery-charge-fill","battery-charge-line","battery-fill","battery-line","battery-low-fill","battery-low-line","battery-saver-fill","battery-saver-line","battery-share-fill","battery-share-line","bear-smile-fill","bear-smile-line","beer-fill","beer-line","behance-fill","behance-line","bell-fill","bell-line","bike-fill","bike-line","bilibili-fill","bilibili-line","bill-fill","bill-line","billiards-fill","billiards-line","bit-coin-fill","bit-coin-line","blaze-fill","blaze-line","blender-fill","blender-line","blogger-fill","blogger-line","bluetooth-connect-fill","bluetooth-connect-line","bluetooth-fill","bluetooth-line","blur-off-fill","blur-off-line","bnb-fill","bnb-line","body-scan-fill","body-scan-line","bold","book-2-fill","book-2-line","book-3-fill","book-3-line","book-fill","book-line","book-marked-fill","book-marked-line","book-open-fill","book-open-line","book-read-fill","book-read-line","booklet-fill","booklet-line","bookmark-2-fill","bookmark-2-line","bookmark-3-fill","bookmark-3-line","bookmark-fill","bookmark-line","bootstrap-fill","bootstrap-line","bowl-fill","bowl-line","box-1-fill","box-1-line","box-2-fill","box-2-line","box-3-fill","box-3-line","boxing-fill","boxing-line","braces-fill","braces-line","brackets-fill","brackets-line","brain-fill","brain-line","bread-fill","bread-line","briefcase-2-fill","briefcase-2-line","briefcase-3-fill","briefcase-3-line","briefcase-4-fill","briefcase-4-line","briefcase-5-fill","briefcase-5-line","briefcase-fill","briefcase-line","bring-forward","bring-to-front","broadcast-fill","broadcast-line","brush-2-fill","brush-2-line","brush-3-fill","brush-3-line","brush-4-fill","brush-4-line","brush-fill","brush-line","btc-fill","btc-line","bubble-chart-fill","bubble-chart-line","bug-2-fill","bug-2-line","bug-fill","bug-line","building-2-fill","building-2-line","building-3-fill","building-3-line","building-4-fill","building-4-line","building-fill","building-line","bus-2-fill","bus-2-line","bus-fill","bus-line","bus-wifi-fill","bus-wifi-line","cactus-fill","cactus-line","cake-2-fill","cake-2-line","cake-3-fill","cake-3-line","cake-fill","cake-line","calculator-fill","calculator-line","calendar-2-fill","calendar-2-line","calendar-check-fill","calendar-check-line","calendar-close-fill","calendar-close-line","calendar-event-fill","calendar-event-line","calendar-fill","calendar-line","calendar-schedule-fill","calendar-schedule-line","calendar-todo-fill","calendar-todo-line","calendar-view","camera-2-fill","camera-2-line","camera-3-fill","camera-3-line","camera-fill","camera-lens-fill","camera-lens-line","camera-line","camera-off-fill","camera-off-line","camera-switch-fill","camera-switch-line","candle-fill","candle-line","capsule-fill","capsule-line","car-fill","car-line","car-washing-fill","car-washing-line","caravan-fill","caravan-line","carousel-view","cash-fill","cash-line","cast-fill","cast-line","cellphone-fill","cellphone-line","celsius-fill","celsius-line","centos-fill","centos-line","character-recognition-fill","character-recognition-line","charging-pile-2-fill","charging-pile-2-line","charging-pile-fill","charging-pile-line","chat-1-fill","chat-1-line","chat-2-fill","chat-2-line","chat-3-fill","chat-3-line","chat-4-fill","chat-4-line","chat-check-fill","chat-check-line","chat-delete-fill","chat-delete-line","chat-download-fill","chat-download-line","chat-follow-up-fill","chat-follow-up-line","chat-forward-fill","chat-forward-line","chat-heart-fill","chat-heart-line","chat-history-fill","chat-history-line","chat-new-fill","chat-new-line","chat-off-fill","chat-off-line","chat-poll-fill","chat-poll-line","chat-private-fill","chat-private-line","chat-quote-fill","chat-quote-line","chat-settings-fill","chat-settings-line","chat-smile-2-fill","chat-smile-2-line","chat-smile-3-fill","chat-smile-3-line","chat-smile-fill","chat-smile-line","chat-thread-fill","chat-thread-line","chat-upload-fill","chat-upload-line","chat-voice-fill","chat-voice-line","check-double-fill","check-double-line","check-fill","check-line","checkbox-blank-circle-fill","checkbox-blank-circle-line","checkbox-blank-fill","checkbox-blank-line","checkbox-circle-fill","checkbox-circle-line","checkbox-fill","checkbox-indeterminate-fill","checkbox-indeterminate-line","checkbox-line","checkbox-multiple-blank-fill","checkbox-multiple-blank-line","checkbox-multiple-fill","checkbox-multiple-line","china-railway-fill","china-railway-line","chrome-fill","chrome-line","circle-fill","circle-line","clapperboard-fill","clapperboard-line","clipboard-fill","clipboard-line","clockwise-2-fill","clockwise-2-line","clockwise-fill","clockwise-line","close-circle-fill","close-circle-line","close-fill","close-line","closed-captioning-fill","closed-captioning-line","cloud-fill","cloud-line","cloud-off-fill","cloud-off-line","cloud-windy-fill","cloud-windy-line","cloudy-2-fill","cloudy-2-line","cloudy-fill","cloudy-line","code-block","code-box-fill","code-box-line","code-fill","code-line","code-s-fill","code-s-line","code-s-slash-fill","code-s-slash-line","code-view","codepen-fill","codepen-line","coin-fill","coin-line","coins-fill","coins-line","collage-fill","collage-line","color-filter-fill","color-filter-line","command-fill","command-line","community-fill","community-line","compass-2-fill","compass-2-line","compass-3-fill","compass-3-line","compass-4-fill","compass-4-line","compass-discover-fill","compass-discover-line","compass-fill","compass-line","compasses-2-fill","compasses-2-line","compasses-fill","compasses-line","computer-fill","computer-line","contacts-book-2-fill","contacts-book-2-line","contacts-book-3-fill","contacts-book-3-line","contacts-book-fill","contacts-book-line","contacts-book-upload-fill","contacts-book-upload-line","contacts-fill","contacts-line","contract-fill","contract-left-fill","contract-left-line","contract-left-right-fill","contract-left-right-line","contract-line","contract-right-fill","contract-right-line","contract-up-down-fill","contract-up-down-line","contrast-2-fill","contrast-2-line","contrast-drop-2-fill","contrast-drop-2-line","contrast-drop-fill","contrast-drop-line","contrast-fill","contrast-line","copilot-fill","copilot-line","copper-coin-fill","copper-coin-line","copper-diamond-fill","copper-diamond-line","copyleft-fill","copyleft-line","copyright-fill","copyright-line","coreos-fill","coreos-line","corner-down-left-fill","corner-down-left-line","corner-down-right-fill","corner-down-right-line","corner-left-down-fill","corner-left-down-line","corner-left-up-fill","corner-left-up-line","corner-right-down-fill","corner-right-down-line","corner-right-up-fill","corner-right-up-line","corner-up-left-double-fill","corner-up-left-double-line","corner-up-left-fill","corner-up-left-line","corner-up-right-double-fill","corner-up-right-double-line","corner-up-right-fill","corner-up-right-line","coupon-2-fill","coupon-2-line","coupon-3-fill","coupon-3-line","coupon-4-fill","coupon-4-line","coupon-5-fill","coupon-5-line","coupon-fill","coupon-line","cpu-fill","cpu-line","creative-commons-by-fill","creative-commons-by-line","creative-commons-fill","creative-commons-line","creative-commons-nc-fill","creative-commons-nc-line","creative-commons-nd-fill","creative-commons-nd-line","creative-commons-sa-fill","creative-commons-sa-line","creative-commons-zero-fill","creative-commons-zero-line","criminal-fill","criminal-line","crop-2-fill","crop-2-line","crop-fill","crop-line","cross-fill","cross-line","crosshair-2-fill","crosshair-2-line","crosshair-fill","crosshair-line","css3-fill","css3-line","cup-fill","cup-line","currency-fill","currency-line","cursor-fill","cursor-line","customer-service-2-fill","customer-service-2-line","customer-service-fill","customer-service-line","dashboard-2-fill","dashboard-2-line","dashboard-3-fill","dashboard-3-line","dashboard-fill","dashboard-line","database-2-fill","database-2-line","database-fill","database-line","delete-back-2-fill","delete-back-2-line","delete-back-fill","delete-back-line","delete-bin-2-fill","delete-bin-2-line","delete-bin-3-fill","delete-bin-3-line","delete-bin-4-fill","delete-bin-4-line","delete-bin-5-fill","delete-bin-5-line","delete-bin-6-fill","delete-bin-6-line","delete-bin-7-fill","delete-bin-7-line","delete-bin-fill","delete-bin-line","delete-column","delete-row","device-fill","device-line","device-recover-fill","device-recover-line","dice-1-fill","dice-1-line","dice-2-fill","dice-2-line","dice-3-fill","dice-3-line","dice-4-fill","dice-4-line","dice-5-fill","dice-5-line","dice-6-fill","dice-6-line","dice-fill","dice-line","dingding-fill","dingding-line","direction-fill","direction-line","disc-fill","disc-line","discord-fill","discord-line","discount-percent-fill","discount-percent-line","discuss-fill","discuss-line","dislike-fill","dislike-line","disqus-fill","disqus-line","divide-fill","divide-line","donut-chart-fill","donut-chart-line","door-closed-fill","door-closed-line","door-fill","door-line","door-lock-box-fill","door-lock-box-line","door-lock-fill","door-lock-line","door-open-fill","door-open-line","dossier-fill","dossier-line","douban-fill","douban-line","double-quotes-l","double-quotes-r","download-2-fill","download-2-line","download-cloud-2-fill","download-cloud-2-line","download-cloud-fill","download-cloud-line","download-fill","download-line","draft-fill","draft-line","drag-drop-fill","drag-drop-line","drag-move-2-fill","drag-move-2-line","drag-move-fill","drag-move-line","draggable","dribbble-fill","dribbble-line","drinks-2-fill","drinks-2-line","drinks-fill","drinks-line","drive-fill","drive-line","drizzle-fill","drizzle-line","drop-fill","drop-line","dropbox-fill","dropbox-line","dropdown-list","dual-sim-1-fill","dual-sim-1-line","dual-sim-2-fill","dual-sim-2-line","dv-fill","dv-line","dvd-fill","dvd-line","e-bike-2-fill","e-bike-2-line","e-bike-fill","e-bike-line","earth-fill","earth-line","earthquake-fill","earthquake-line","edge-fill","edge-line","edge-new-fill","edge-new-line","edit-2-fill","edit-2-line","edit-box-fill","edit-box-line","edit-circle-fill","edit-circle-line","edit-fill","edit-line","eject-fill","eject-line","emoji-sticker-fill","emoji-sticker-line","emotion-2-fill","emotion-2-line","emotion-fill","emotion-happy-fill","emotion-happy-line","emotion-laugh-fill","emotion-laugh-line","emotion-line","emotion-normal-fill","emotion-normal-line","emotion-sad-fill","emotion-sad-line","emotion-unhappy-fill","emotion-unhappy-line","empathize-fill","empathize-line","emphasis","emphasis-cn","english-input","equal-fill","equal-line","equalizer-2-fill","equalizer-2-line","equalizer-3-fill","equalizer-3-line","equalizer-fill","equalizer-line","eraser-fill","eraser-line","error-warning-fill","error-warning-line","eth-fill","eth-line","evernote-fill","evernote-line","exchange-2-fill","exchange-2-line","exchange-box-fill","exchange-box-line","exchange-cny-fill","exchange-cny-line","exchange-dollar-fill","exchange-dollar-line","exchange-fill","exchange-funds-fill","exchange-funds-line","exchange-line","expand-left-fill","expand-left-line","expand-left-right-fill","expand-left-right-line","expand-right-fill","expand-right-line","expand-up-down-fill","expand-up-down-line","export-fill","export-line","external-link-fill","external-link-line","eye-2-fill","eye-2-line","eye-close-fill","eye-close-line","eye-fill","eye-line","eye-off-fill","eye-off-line","facebook-box-fill","facebook-box-line","facebook-circle-fill","facebook-circle-line","facebook-fill","facebook-line","fahrenheit-fill","fahrenheit-line","feedback-fill","feedback-line","file-2-fill","file-2-line","file-3-fill","file-3-line","file-4-fill","file-4-line","file-add-fill","file-add-line","file-chart-2-fill","file-chart-2-line","file-chart-fill","file-chart-line","file-check-fill","file-check-line","file-close-fill","file-close-line","file-cloud-fill","file-cloud-line","file-code-fill","file-code-line","file-copy-2-fill","file-copy-2-line","file-copy-fill","file-copy-line","file-damage-fill","file-damage-line","file-download-fill","file-download-line","file-edit-fill","file-edit-line","file-excel-2-fill","file-excel-2-line","file-excel-fill","file-excel-line","file-fill","file-forbid-fill","file-forbid-line","file-gif-fill","file-gif-line","file-history-fill","file-history-line","file-hwp-fill","file-hwp-line","file-image-fill","file-image-line","file-info-fill","file-info-line","file-line","file-list-2-fill","file-list-2-line","file-list-3-fill","file-list-3-line","file-list-fill","file-list-line","file-lock-fill","file-lock-line","file-marked-fill","file-marked-line","file-music-fill","file-music-line","file-paper-2-fill","file-paper-2-line","file-paper-fill","file-paper-line","file-pdf-2-fill","file-pdf-2-line","file-pdf-fill","file-pdf-line","file-ppt-2-fill","file-ppt-2-line","file-ppt-fill","file-ppt-line","file-reduce-fill","file-reduce-line","file-search-fill","file-search-line","file-settings-fill","file-settings-line","file-shield-2-fill","file-shield-2-line","file-shield-fill","file-shield-line","file-shred-fill","file-shred-line","file-text-fill","file-text-line","file-transfer-fill","file-transfer-line","file-unknow-fill","file-unknow-line","file-upload-fill","file-upload-line","file-user-fill","file-user-line","file-video-fill","file-video-line","file-warning-fill","file-warning-line","file-word-2-fill","file-word-2-line","file-word-fill","file-word-line","file-zip-fill","file-zip-line","film-fill","film-line","filter-2-fill","filter-2-line","filter-3-fill","filter-3-line","filter-fill","filter-line","filter-off-fill","filter-off-line","find-replace-fill","find-replace-line","finder-fill","finder-line","fingerprint-2-fill","fingerprint-2-line","fingerprint-fill","fingerprint-line","fire-fill","fire-line","firefox-fill","firefox-line","first-aid-kit-fill","first-aid-kit-line","flag-2-fill","flag-2-line","flag-fill","flag-line","flashlight-fill","flashlight-line","flask-fill","flask-line","flickr-fill","flickr-line","flight-land-fill","flight-land-line","flight-takeoff-fill","flight-takeoff-line","flood-fill","flood-line","flow-chart","flower-fill","flower-line","flutter-fill","flutter-line","focus-2-fill","focus-2-line","focus-3-fill","focus-3-line","focus-fill","focus-line","focus-mode","foggy-fill","foggy-line","folder-2-fill","folder-2-line","folder-3-fill","folder-3-line","folder-4-fill","folder-4-line","folder-5-fill","folder-5-line","folder-6-fill","folder-6-line","folder-add-fill","folder-add-line","folder-chart-2-fill","folder-chart-2-line","folder-chart-fill","folder-chart-line","folder-check-fill","folder-check-line","folder-close-fill","folder-close-line","folder-cloud-fill","folder-cloud-line","folder-download-fill","folder-download-line","folder-fill","folder-forbid-fill","folder-forbid-line","folder-history-fill","folder-history-line","folder-image-fill","folder-image-line","folder-info-fill","folder-info-line","folder-keyhole-fill","folder-keyhole-line","folder-line","folder-lock-fill","folder-lock-line","folder-music-fill","folder-music-line","folder-open-fill","folder-open-line","folder-received-fill","folder-received-line","folder-reduce-fill","folder-reduce-line","folder-settings-fill","folder-settings-line","folder-shared-fill","folder-shared-line","folder-shield-2-fill","folder-shield-2-line","folder-shield-fill","folder-shield-line","folder-transfer-fill","folder-transfer-line","folder-unknow-fill","folder-unknow-line","folder-upload-fill","folder-upload-line","folder-user-fill","folder-user-line","folder-video-fill","folder-video-line","folder-warning-fill","folder-warning-line","folder-zip-fill","folder-zip-line","folders-fill","folders-line","font-color","font-family","font-mono","font-sans","font-sans-serif","font-size","font-size-2","football-fill","football-line","footprint-fill","footprint-line","forbid-2-fill","forbid-2-line","forbid-fill","forbid-line","format-clear","forward-10-fill","forward-10-line","forward-15-fill","forward-15-line","forward-30-fill","forward-30-line","forward-5-fill","forward-5-line","fridge-fill","fridge-line","fullscreen-exit-fill","fullscreen-exit-line","fullscreen-fill","fullscreen-line","function-fill","function-line","functions","funds-box-fill","funds-box-line","funds-fill","funds-line","gallery-fill","gallery-line","gallery-upload-fill","gallery-upload-line","gallery-view","gallery-view-2","game-fill","game-line","gamepad-fill","gamepad-line","gas-station-fill","gas-station-line","gatsby-fill","gatsby-line","genderless-fill","genderless-line","ghost-2-fill","ghost-2-line","ghost-fill","ghost-line","ghost-smile-fill","ghost-smile-line","gift-2-fill","gift-2-line","gift-fill","gift-line","git-branch-fill","git-branch-line","git-close-pull-request-fill","git-close-pull-request-line","git-commit-fill","git-commit-line","git-fork-fill","git-fork-line","git-merge-fill","git-merge-line","git-pull-request-fill","git-pull-request-line","git-repository-commits-fill","git-repository-commits-line","git-repository-fill","git-repository-line","git-repository-private-fill","git-repository-private-line","github-fill","github-line","gitlab-fill","gitlab-line","glasses-2-fill","glasses-2-line","glasses-fill","glasses-line","global-fill","global-line","globe-fill","globe-line","goblet-fill","goblet-line","goggles-fill","goggles-line","google-fill","google-line","google-play-fill","google-play-line","government-fill","government-line","gps-fill","gps-line","gradienter-fill","gradienter-line","graduation-cap-fill","graduation-cap-line","grid-fill","grid-line","group-2-fill","group-2-line","group-fill","group-line","guide-fill","guide-line","h-1","h-2","h-3","h-4","h-5","h-6","hail-fill","hail-line","hammer-fill","hammer-line","hand","hand-coin-fill","hand-coin-line","hand-heart-fill","hand-heart-line","hand-sanitizer-fill","hand-sanitizer-line","handbag-fill","handbag-line","hard-drive-2-fill","hard-drive-2-line","hard-drive-3-fill","hard-drive-3-line","hard-drive-fill","hard-drive-line","hashtag","haze-2-fill","haze-2-line","haze-fill","haze-line","hd-fill","hd-line","heading","headphone-fill","headphone-line","health-book-fill","health-book-line","heart-2-fill","heart-2-line","heart-3-fill","heart-3-line","heart-add-fill","heart-add-line","heart-fill","heart-line","heart-pulse-fill","heart-pulse-line","hearts-fill","hearts-line","heavy-showers-fill","heavy-showers-line","hexagon-fill","hexagon-line","history-fill","history-line","home-2-fill","home-2-line","home-3-fill","home-3-line","home-4-fill","home-4-line","home-5-fill","home-5-line","home-6-fill","home-6-line","home-7-fill","home-7-line","home-8-fill","home-8-line","home-fill","home-gear-fill","home-gear-line","home-heart-fill","home-heart-line","home-line","home-office-fill","home-office-line","home-smile-2-fill","home-smile-2-line","home-smile-fill","home-smile-line","home-wifi-fill","home-wifi-line","honor-of-kings-fill","honor-of-kings-line","honour-fill","honour-line","hospital-fill","hospital-line","hotel-bed-fill","hotel-bed-line","hotel-fill","hotel-line","hotspot-fill","hotspot-line","hourglass-2-fill","hourglass-2-line","hourglass-fill","hourglass-line","hq-fill","hq-line","html5-fill","html5-line","ie-fill","ie-line","image-2-fill","image-2-line","image-add-fill","image-add-line","image-circle-fill","image-circle-line","image-edit-fill","image-edit-line","image-fill","image-line","import-fill","import-line","inbox-2-fill","inbox-2-line","inbox-archive-fill","inbox-archive-line","inbox-fill","inbox-line","inbox-unarchive-fill","inbox-unarchive-line","increase-decrease-fill","increase-decrease-line","indent-decrease","indent-increase","indeterminate-circle-fill","indeterminate-circle-line","infinity-fill","infinity-line","info-i","information-2-fill","information-2-line","information-fill","information-line","infrared-thermometer-fill","infrared-thermometer-line","ink-bottle-fill","ink-bottle-line","input-cursor-move","input-field","input-method-fill","input-method-line","insert-column-left","insert-column-right","insert-row-bottom","insert-row-top","instagram-fill","instagram-line","install-fill","install-line","instance-fill","instance-line","invision-fill","invision-line","italic","javascript-fill","javascript-line","kakao-talk-fill","kakao-talk-line","kanban-view","kanban-view-2","key-2-fill","key-2-line","key-fill","key-line","keyboard-box-fill","keyboard-box-line","keyboard-fill","keyboard-line","keynote-fill","keynote-line","kick-fill","kick-line","knife-blood-fill","knife-blood-line","knife-fill","knife-line","landscape-fill","landscape-line","layout-2-fill","layout-2-line","layout-3-fill","layout-3-line","layout-4-fill","layout-4-line","layout-5-fill","layout-5-line","layout-6-fill","layout-6-line","layout-bottom-2-fill","layout-bottom-2-line","layout-bottom-fill","layout-bottom-line","layout-column-fill","layout-column-line","layout-fill","layout-grid-fill","layout-grid-line","layout-left-2-fill","layout-left-2-line","layout-left-fill","layout-left-line","layout-line","layout-masonry-fill","layout-masonry-line","layout-right-2-fill","layout-right-2-line","layout-right-fill","layout-right-line","layout-row-fill","layout-row-line","layout-top-2-fill","layout-top-2-line","layout-top-fill","layout-top-line","leaf-fill","leaf-line","lifebuoy-fill","lifebuoy-line","lightbulb-fill","lightbulb-flash-fill","lightbulb-flash-line","lightbulb-line","line-chart-fill","line-chart-line","line-fill","line-height","line-line","link","link-m","link-unlink","link-unlink-m","linkedin-box-fill","linkedin-box-line","linkedin-fill","linkedin-line","links-fill","links-line","list-check","list-check-2","list-check-3","list-indefinite","list-ordered","list-ordered-2","list-radio","list-settings-fill","list-settings-line","list-unordered","list-view","live-fill","live-line","loader-2-fill","loader-2-line","loader-3-fill","loader-3-line","loader-4-fill","loader-4-line","loader-5-fill","loader-5-line","loader-fill","loader-line","lock-2-fill","lock-2-line","lock-fill","lock-line","lock-password-fill","lock-password-line","lock-star-fill","lock-star-line","lock-unlock-fill","lock-unlock-line","login-box-fill","login-box-line","login-circle-fill","login-circle-line","logout-box-fill","logout-box-line","logout-box-r-fill","logout-box-r-line","logout-circle-fill","logout-circle-line","logout-circle-r-fill","logout-circle-r-line","loop-left-fill","loop-left-line","loop-right-fill","loop-right-line","luggage-cart-fill","luggage-cart-line","luggage-deposit-fill","luggage-deposit-line","lungs-fill","lungs-line","mac-fill","mac-line","macbook-fill","macbook-line","magic-fill","magic-line","mail-add-fill","mail-add-line","mail-check-fill","mail-check-line","mail-close-fill","mail-close-line","mail-download-fill","mail-download-line","mail-fill","mail-forbid-fill","mail-forbid-line","mail-line","mail-lock-fill","mail-lock-line","mail-open-fill","mail-open-line","mail-send-fill","mail-send-line","mail-settings-fill","mail-settings-line","mail-star-fill","mail-star-line","mail-unread-fill","mail-unread-line","mail-volume-fill","mail-volume-line","map-2-fill","map-2-line","map-fill","map-line","map-pin-2-fill","map-pin-2-line","map-pin-3-fill","map-pin-3-line","map-pin-4-fill","map-pin-4-line","map-pin-5-fill","map-pin-5-line","map-pin-add-fill","map-pin-add-line","map-pin-fill","map-pin-line","map-pin-range-fill","map-pin-range-line","map-pin-time-fill","map-pin-time-line","map-pin-user-fill","map-pin-user-line","mark-pen-fill","mark-pen-line","markdown-fill","markdown-line","markup-fill","markup-line","mastercard-fill","mastercard-line","mastodon-fill","mastodon-line","medal-2-fill","medal-2-line","medal-fill","medal-line","medicine-bottle-fill","medicine-bottle-line","medium-fill","medium-line","megaphone-fill","megaphone-line","memories-fill","memories-line","men-fill","men-line","mental-health-fill","mental-health-line","menu-2-fill","menu-2-line","menu-3-fill","menu-3-line","menu-4-fill","menu-4-line","menu-5-fill","menu-5-line","menu-add-fill","menu-add-line","menu-fill","menu-fold-fill","menu-fold-line","menu-line","menu-search-fill","menu-search-line","menu-unfold-fill","menu-unfold-line","merge-cells-horizontal","merge-cells-vertical","message-2-fill","message-2-line","message-3-fill","message-3-line","message-fill","message-line","messenger-fill","messenger-line","meta-fill","meta-line","meteor-fill","meteor-line","mic-2-fill","mic-2-line","mic-fill","mic-line","mic-off-fill","mic-off-line","mickey-fill","mickey-line","microscope-fill","microscope-line","microsoft-fill","microsoft-line","microsoft-loop-fill","microsoft-loop-line","mind-map","mini-program-fill","mini-program-line","mist-fill","mist-line","money-cny-box-fill","money-cny-box-line","money-cny-circle-fill","money-cny-circle-line","money-dollar-box-fill","money-dollar-box-line","money-dollar-circle-fill","money-dollar-circle-line","money-euro-box-fill","money-euro-box-line","money-euro-circle-fill","money-euro-circle-line","money-pound-box-fill","money-pound-box-line","money-pound-circle-fill","money-pound-circle-line","money-rupee-circle-fill","money-rupee-circle-line","moon-clear-fill","moon-clear-line","moon-cloudy-fill","moon-cloudy-line","moon-fill","moon-foggy-fill","moon-foggy-line","moon-line","more-2-fill","more-2-line","more-fill","more-line","motorbike-fill","motorbike-line","mouse-fill","mouse-line","movie-2-fill","movie-2-line","movie-fill","movie-line","music-2-fill","music-2-line","music-fill","music-line","mv-fill","mv-line","navigation-fill","navigation-line","netease-cloud-music-fill","netease-cloud-music-line","netflix-fill","netflix-line","news-fill","news-line","newspaper-fill","newspaper-line","nft-fill","nft-line","node-tree","notification-2-fill","notification-2-line","notification-3-fill","notification-3-line","notification-4-fill","notification-4-line","notification-badge-fill","notification-badge-line","notification-fill","notification-line","notification-off-fill","notification-off-line","notion-fill","notion-line","npmjs-fill","npmjs-line","number-0","number-1","number-2","number-3","number-4","number-5","number-6","number-7","number-8","number-9","numbers-fill","numbers-line","nurse-fill","nurse-line","octagon-fill","octagon-line","oil-fill","oil-line","omega","open-arm-fill","open-arm-line","open-source-fill","open-source-line","openai-fill","openai-line","openbase-fill","openbase-line","opera-fill","opera-line","order-play-fill","order-play-line","organization-chart","outlet-2-fill","outlet-2-line","outlet-fill","outlet-line","overline","p2p-fill","p2p-line","page-separator","pages-fill","pages-line","paint-brush-fill","paint-brush-line","paint-fill","paint-line","palette-fill","palette-line","pantone-fill","pantone-line","paragraph","parent-fill","parent-line","parentheses-fill","parentheses-line","parking-box-fill","parking-box-line","parking-fill","parking-line","pass-expired-fill","pass-expired-line","pass-pending-fill","pass-pending-line","pass-valid-fill","pass-valid-line","passport-fill","passport-line","patreon-fill","patreon-line","pause-circle-fill","pause-circle-line","pause-fill","pause-line","pause-mini-fill","pause-mini-line","paypal-fill","paypal-line","pen-nib-fill","pen-nib-line","pencil-fill","pencil-line","pencil-ruler-2-fill","pencil-ruler-2-line","pencil-ruler-fill","pencil-ruler-line","pentagon-fill","pentagon-line","percent-fill","percent-line","phone-camera-fill","phone-camera-line","phone-fill","phone-find-fill","phone-find-line","phone-line","phone-lock-fill","phone-lock-line","picture-in-picture-2-fill","picture-in-picture-2-line","picture-in-picture-exit-fill","picture-in-picture-exit-line","picture-in-picture-fill","picture-in-picture-line","pie-chart-2-fill","pie-chart-2-line","pie-chart-box-fill","pie-chart-box-line","pie-chart-fill","pie-chart-line","pin-distance-fill","pin-distance-line","ping-pong-fill","ping-pong-line","pinterest-fill","pinterest-line","pinyin-input","pixelfed-fill","pixelfed-line","plane-fill","plane-line","planet-fill","planet-line","plant-fill","plant-line","play-circle-fill","play-circle-line","play-fill","play-line","play-list-2-fill","play-list-2-line","play-list-add-fill","play-list-add-line","play-list-fill","play-list-line","play-mini-fill","play-mini-line","playstation-fill","playstation-line","plug-2-fill","plug-2-line","plug-fill","plug-line","polaroid-2-fill","polaroid-2-line","polaroid-fill","polaroid-line","police-car-fill","police-car-line","presentation-fill","presentation-line","price-tag-2-fill","price-tag-2-line","price-tag-3-fill","price-tag-3-line","price-tag-fill","price-tag-line","printer-cloud-fill","printer-cloud-line","printer-fill","printer-line","product-hunt-fill","product-hunt-line","profile-fill","profile-line","progress-1-fill","progress-1-line","progress-2-fill","progress-2-line","progress-3-fill","progress-3-line","progress-4-fill","progress-4-line","progress-5-fill","progress-5-line","progress-6-fill","progress-6-line","progress-7-fill","progress-7-line","progress-8-fill","progress-8-line","prohibited-fill","prohibited-line","projector-2-fill","projector-2-line","projector-fill","projector-line","psychotherapy-fill","psychotherapy-line","pulse-fill","pulse-line","pushpin-2-fill","pushpin-2-line","pushpin-fill","pushpin-line","puzzle-2-fill","puzzle-2-line","puzzle-fill","puzzle-line","qq-fill","qq-line","qr-code-fill","qr-code-line","qr-scan-2-fill","qr-scan-2-line","qr-scan-fill","qr-scan-line","question-answer-fill","question-answer-line","question-fill","question-line","question-mark","questionnaire-fill","questionnaire-line","quill-pen-fill","quill-pen-line","quote-text","radar-fill","radar-line","radio-2-fill","radio-2-line","radio-button-fill","radio-button-line","radio-fill","radio-line","rainbow-fill","rainbow-line","rainy-fill","rainy-line","ram-2-fill","ram-2-line","ram-fill","ram-line","reactjs-fill","reactjs-line","receipt-fill","receipt-line","record-circle-fill","record-circle-line","record-mail-fill","record-mail-line","rectangle-fill","rectangle-line","recycle-fill","recycle-line","red-packet-fill","red-packet-line","reddit-fill","reddit-line","refresh-fill","refresh-line","refund-2-fill","refund-2-line","refund-fill","refund-line","registered-fill","registered-line","remix-run-fill","remix-run-line","remixicon-fill","remixicon-line","remote-control-2-fill","remote-control-2-line","remote-control-fill","remote-control-line","repeat-2-fill","repeat-2-line","repeat-fill","repeat-line","repeat-one-fill","repeat-one-line","replay-10-fill","replay-10-line","replay-15-fill","replay-15-line","replay-30-fill","replay-30-line","replay-5-fill","replay-5-line","reply-all-fill","reply-all-line","reply-fill","reply-line","reserved-fill","reserved-line","rest-time-fill","rest-time-line","restart-fill","restart-line","restaurant-2-fill","restaurant-2-line","restaurant-fill","restaurant-line","rewind-fill","rewind-line","rewind-mini-fill","rewind-mini-line","rfid-fill","rfid-line","rhythm-fill","rhythm-line","riding-fill","riding-line","road-map-fill","road-map-line","roadster-fill","roadster-line","robot-2-fill","robot-2-line","robot-3-fill","robot-3-line","robot-fill","robot-line","rocket-2-fill","rocket-2-line","rocket-fill","rocket-line","rotate-lock-fill","rotate-lock-line","rounded-corner","route-fill","route-line","router-fill","router-line","rss-fill","rss-line","ruler-2-fill","ruler-2-line","ruler-fill","ruler-line","run-fill","run-line","safari-fill","safari-line","safe-2-fill","safe-2-line","safe-fill","safe-line","sailboat-fill","sailboat-line","save-2-fill","save-2-line","save-3-fill","save-3-line","save-fill","save-line","scales-2-fill","scales-2-line","scales-3-fill","scales-3-line","scales-fill","scales-line","scan-2-fill","scan-2-line","scan-fill","scan-line","school-fill","school-line","scissors-2-fill","scissors-2-line","scissors-cut-fill","scissors-cut-line","scissors-fill","scissors-line","screenshot-2-fill","screenshot-2-line","screenshot-fill","screenshot-line","sd-card-fill","sd-card-line","sd-card-mini-fill","sd-card-mini-line","search-2-fill","search-2-line","search-eye-fill","search-eye-line","search-fill","search-line","secure-payment-fill","secure-payment-line","seedling-fill","seedling-line","send-backward","send-plane-2-fill","send-plane-2-line","send-plane-fill","send-plane-line","send-to-back","sensor-fill","sensor-line","seo-fill","seo-line","separator","server-fill","server-line","service-fill","service-line","settings-2-fill","settings-2-line","settings-3-fill","settings-3-line","settings-4-fill","settings-4-line","settings-5-fill","settings-5-line","settings-6-fill","settings-6-line","settings-fill","settings-line","shadow-fill","shadow-line","shake-hands-fill","shake-hands-line","shape-2-fill","shape-2-line","shape-fill","shape-line","shapes-fill","shapes-line","share-2-fill","share-2-line","share-box-fill","share-box-line","share-circle-fill","share-circle-line","share-fill","share-forward-2-fill","share-forward-2-line","share-forward-box-fill","share-forward-box-line","share-forward-fill","share-forward-line","share-line","shield-check-fill","shield-check-line","shield-cross-fill","shield-cross-line","shield-fill","shield-flash-fill","shield-flash-line","shield-keyhole-fill","shield-keyhole-line","shield-line","shield-star-fill","shield-star-line","shield-user-fill","shield-user-line","shining-2-fill","shining-2-line","shining-fill","shining-line","ship-2-fill","ship-2-line","ship-fill","ship-line","shirt-fill","shirt-line","shopping-bag-2-fill","shopping-bag-2-line","shopping-bag-3-fill","shopping-bag-3-line","shopping-bag-fill","shopping-bag-line","shopping-basket-2-fill","shopping-basket-2-line","shopping-basket-fill","shopping-basket-line","shopping-cart-2-fill","shopping-cart-2-line","shopping-cart-fill","shopping-cart-line","showers-fill","showers-line","shuffle-fill","shuffle-line","shut-down-fill","shut-down-line","side-bar-fill","side-bar-line","sidebar-fold-fill","sidebar-fold-line","sidebar-unfold-fill","sidebar-unfold-line","signal-tower-fill","signal-tower-line","signal-wifi-1-fill","signal-wifi-1-line","signal-wifi-2-fill","signal-wifi-2-line","signal-wifi-3-fill","signal-wifi-3-line","signal-wifi-error-fill","signal-wifi-error-line","signal-wifi-fill","signal-wifi-line","signal-wifi-off-fill","signal-wifi-off-line","signpost-fill","signpost-line","sim-card-2-fill","sim-card-2-line","sim-card-fill","sim-card-line","single-quotes-l","single-quotes-r","sip-fill","sip-line","sketching","skip-back-fill","skip-back-line","skip-back-mini-fill","skip-back-mini-line","skip-down-fill","skip-down-line","skip-forward-fill","skip-forward-line","skip-forward-mini-fill","skip-forward-mini-line","skip-left-fill","skip-left-line","skip-right-fill","skip-right-line","skip-up-fill","skip-up-line","skull-2-fill","skull-2-line","skull-fill","skull-line","skype-fill","skype-line","slack-fill","slack-line","slash-commands","slash-commands-2","slice-fill","slice-line","slideshow-2-fill","slideshow-2-line","slideshow-3-fill","slideshow-3-line","slideshow-4-fill","slideshow-4-line","slideshow-fill","slideshow-line","slideshow-view","slow-down-fill","slow-down-line","smartphone-fill","smartphone-line","snapchat-fill","snapchat-line","snowy-fill","snowy-line","sofa-fill","sofa-line","sort-alphabet-asc","sort-alphabet-desc","sort-asc","sort-desc","sort-number-asc","sort-number-desc","sound-module-fill","sound-module-line","soundcloud-fill","soundcloud-line","space","space-ship-fill","space-ship-line","spam-2-fill","spam-2-line","spam-3-fill","spam-3-line","spam-fill","spam-line","sparkling-2-fill","sparkling-2-line","sparkling-fill","sparkling-line","speak-fill","speak-line","speaker-2-fill","speaker-2-line","speaker-3-fill","speaker-3-line","speaker-fill","speaker-line","spectrum-fill","spectrum-line","speed-fill","speed-line","speed-mini-fill","speed-mini-line","speed-up-fill","speed-up-line","split-cells-horizontal","split-cells-vertical","spotify-fill","spotify-line","spy-fill","spy-line","square-fill","square-line","stack-fill","stack-line","stack-overflow-fill","stack-overflow-line","stacked-view","stackshare-fill","stackshare-line","star-fill","star-half-fill","star-half-line","star-half-s-fill","star-half-s-line","star-line","star-s-fill","star-s-line","star-smile-fill","star-smile-line","steam-fill","steam-line","steering-2-fill","steering-2-line","steering-fill","steering-line","stethoscope-fill","stethoscope-line","sticky-note-2-fill","sticky-note-2-line","sticky-note-add-fill","sticky-note-add-line","sticky-note-fill","sticky-note-line","stock-fill","stock-line","stop-circle-fill","stop-circle-line","stop-fill","stop-line","stop-mini-fill","stop-mini-line","store-2-fill","store-2-line","store-3-fill","store-3-line","store-fill","store-line","strikethrough","strikethrough-2","subscript","subscript-2","subtract-fill","subtract-line","subway-fill","subway-line","subway-wifi-fill","subway-wifi-line","suitcase-2-fill","suitcase-2-line","suitcase-3-fill","suitcase-3-line","suitcase-fill","suitcase-line","sun-cloudy-fill","sun-cloudy-line","sun-fill","sun-foggy-fill","sun-foggy-line","sun-line","supabase-fill","supabase-line","superscript","superscript-2","surgical-mask-fill","surgical-mask-line","surround-sound-fill","surround-sound-line","survey-fill","survey-line","svelte-fill","svelte-line","swap-2-fill","swap-2-line","swap-3-fill","swap-3-line","swap-box-fill","swap-box-line","swap-fill","swap-line","switch-fill","switch-line","sword-fill","sword-line","syringe-fill","syringe-line","t-box-fill","t-box-line","t-shirt-2-fill","t-shirt-2-line","t-shirt-air-fill","t-shirt-air-line","t-shirt-fill","t-shirt-line","table-2","table-3","table-alt-fill","table-alt-line","table-fill","table-line","table-view","tablet-fill","tablet-line","takeaway-fill","takeaway-line","taobao-fill","taobao-line","tape-fill","tape-line","task-fill","task-line","taxi-fill","taxi-line","taxi-wifi-fill","taxi-wifi-line","team-fill","team-line","telegram-fill","telegram-line","temp-cold-fill","temp-cold-line","temp-hot-fill","temp-hot-line","tent-fill","tent-line","terminal-box-fill","terminal-box-line","terminal-fill","terminal-line","terminal-window-fill","terminal-window-line","test-tube-fill","test-tube-line","text","text-block","text-direction-l","text-direction-r","text-snippet","text-spacing","text-wrap","thermometer-fill","thermometer-line","threads-fill","threads-line","thumb-down-fill","thumb-down-line","thumb-up-fill","thumb-up-line","thunderstorms-fill","thunderstorms-line","ticket-2-fill","ticket-2-line","ticket-fill","ticket-line","tiktok-fill","tiktok-line","time-fill","time-line","time-zone-fill","time-zone-line","timeline-view","timer-2-fill","timer-2-line","timer-fill","timer-flash-fill","timer-flash-line","timer-line","todo-fill","todo-line","toggle-fill","toggle-line","token-swap-fill","token-swap-line","tools-fill","tools-line","tornado-fill","tornado-line","trademark-fill","trademark-line","traffic-light-fill","traffic-light-line","train-fill","train-line","train-wifi-fill","train-wifi-line","translate","translate-2","travesti-fill","travesti-line","treasure-map-fill","treasure-map-line","tree-fill","tree-line","trello-fill","trello-line","triangle-fill","triangle-line","trophy-fill","trophy-line","truck-fill","truck-line","tumblr-fill","tumblr-line","tv-2-fill","tv-2-line","tv-fill","tv-line","twitch-fill","twitch-line","twitter-fill","twitter-line","twitter-x-fill","twitter-x-line","typhoon-fill","typhoon-line","u-disk-fill","u-disk-line","ubuntu-fill","ubuntu-line","umbrella-fill","umbrella-line","underline","uninstall-fill","uninstall-line","unpin-fill","unpin-line","unsplash-fill","unsplash-line","upload-2-fill","upload-2-line","upload-cloud-2-fill","upload-cloud-2-line","upload-cloud-fill","upload-cloud-line","upload-fill","upload-line","usb-fill","usb-line","user-2-fill","user-2-line","user-3-fill","user-3-line","user-4-fill","user-4-line","user-5-fill","user-5-line","user-6-fill","user-6-line","user-add-fill","user-add-line","user-fill","user-follow-fill","user-follow-line","user-forbid-fill","user-forbid-line","user-heart-fill","user-heart-line","user-line","user-location-fill","user-location-line","user-received-2-fill","user-received-2-line","user-received-fill","user-received-line","user-search-fill","user-search-line","user-settings-fill","user-settings-line","user-shared-2-fill","user-shared-2-line","user-shared-fill","user-shared-line","user-smile-fill","user-smile-line","user-star-fill","user-star-line","user-unfollow-fill","user-unfollow-line","user-voice-fill","user-voice-line","verified-badge-fill","verified-badge-line","video-add-fill","video-add-line","video-chat-fill","video-chat-line","video-download-fill","video-download-line","video-fill","video-line","video-upload-fill","video-upload-line","vidicon-2-fill","vidicon-2-line","vidicon-fill","vidicon-line","vimeo-fill","vimeo-line","vip-crown-2-fill","vip-crown-2-line","vip-crown-fill","vip-crown-line","vip-diamond-fill","vip-diamond-line","vip-fill","vip-line","virus-fill","virus-line","visa-fill","visa-line","vk-fill","vk-line","voice-recognition-fill","voice-recognition-line","voiceprint-fill","voiceprint-line","volume-down-fill","volume-down-line","volume-mute-fill","volume-mute-line","volume-off-vibrate-fill","volume-off-vibrate-line","volume-up-fill","volume-up-line","volume-vibrate-fill","volume-vibrate-line","vuejs-fill","vuejs-line","walk-fill","walk-line","wallet-2-fill","wallet-2-line","wallet-3-fill","wallet-3-line","wallet-fill","wallet-line","water-flash-fill","water-flash-line","water-percent-fill","water-percent-line","webcam-fill","webcam-line","wechat-2-fill","wechat-2-line","wechat-channels-fill","wechat-channels-line","wechat-fill","wechat-line","wechat-pay-fill","wechat-pay-line","weibo-fill","weibo-line","whatsapp-fill","whatsapp-line","wheelchair-fill","wheelchair-line","wifi-fill","wifi-line","wifi-off-fill","wifi-off-line","window-2-fill","window-2-line","window-fill","window-line","windows-fill","windows-line","windy-fill","windy-line","wireless-charging-fill","wireless-charging-line","women-fill","women-line","wordpress-fill","wordpress-line","wubi-input","xbox-fill","xbox-line","xing-fill","xing-line","xrp-fill","xrp-line","xtz-fill","xtz-line","youtube-fill","youtube-line","yuque-fill","yuque-line","zcool-fill","zcool-line","zhihu-fill","zhihu-line","zoom-in-fill","zoom-in-line","zoom-out-fill","zoom-out-line","zzz-fill","zzz-line"]},{prefix:"logos",info:{name:"SVG Logos",total:1812,author:{name:"Gil Barbara",url:"https://github.com/gilbarbara/logos"},license:{title:"CC0",spdx:"CC0-1.0",url:"https://raw.githubusercontent.com/gilbarbara/logos/master/LICENSE.txt"},samples:["angular-icon","firefox","google-drive"],category:"Brands / Social",palette:!0},icons:["100tb","500px","6px","active-campaign","active-campaign-icon","admob","adobe-after-effects","adobe-animate","adobe-dreamweaver","adobe-illustrator","adobe-incopy","adobe-indesign","adobe-lightroom","adobe-photoshop","adobe-premiere","adobe-xd","adonisjs","adonisjs-icon","adroll","adyen","aerogear","aerospike","aerospike-icon","aha","ai","airbnb","airbnb-icon","airbrake","airflow","airflow-icon","airtable","aix","akamai","akka","alfresco","algolia","alpinejs","alpinejs-icon","altair","amazon-chime","amazon-connect","amd","amex","amex-digital","amp","amp-icon","ampersand","amplication","amplication-icon","amplitude","amplitude-icon","analog","android","android-icon","android-vertical","angellist","angular","angular-icon","ansible","ant-design","anthropic","anthropic-icon","apache","apache-camel","apache-cloudstack","apache-flink","apache-flink-icon","apache-spark","apache-superset","apache-superset-icon","api-ai","apiary","apigee","apitools","apollostack","apostrophe","appbase","appbaseio","appbaseio-icon","appcelerator","appcenter","appcenter-icon","appcircle","appcircle-icon","appcode","appdynamics","appdynamics-icon","appfog","apphub","appium","apple","apple-app-store","apple-pay","applitools","applitools-icon","appmaker","apportable","appsignal","appsignal-icon","apptentive","appveyor","appwrite","appwrite-icon","arangodb","arangodb-icon","arc","architect","architect-icon","archlinux","arduino","argo","argo-icon","arm","armory","armory-icon","asana","asana-icon","asciidoctor","assembla","assembla-icon","astro","astro-icon","astronomer","async-api","async-api-icon","atlassian","atom","atom-icon","atomic","atomic-icon","atomicojs","atomicojs-icon","aurelia","aurora","aurous","auth0","auth0-icon","authy","autocode","autoit","autoprefixer","ava","awesome","aws","aws-amplify","aws-api-gateway","aws-app-mesh","aws-appflow","aws-appsync","aws-athena","aws-aurora","aws-backup","aws-batch","aws-certificate-manager","aws-cloudformation","aws-cloudfront","aws-cloudsearch","aws-cloudtrail","aws-cloudwatch","aws-codebuild","aws-codecommit","aws-codedeploy","aws-codepipeline","aws-codestar","aws-cognito","aws-config","aws-documentdb","aws-dynamodb","aws-ec2","aws-ecs","aws-eks","aws-elastic-beanstalk","aws-elastic-cache","aws-elasticache","aws-elb","aws-eventbridge","aws-fargate","aws-glacier","aws-glue","aws-iam","aws-keyspaces","aws-kinesis","aws-kms","aws-lake-formation","aws-lambda","aws-lightsail","aws-mobilehub","aws-mq","aws-msk","aws-neptune","aws-open-search","aws-opsworks","aws-quicksight","aws-rds","aws-redshift","aws-route53","aws-s3","aws-secrets-manager","aws-ses","aws-shield","aws-sns","aws-sqs","aws-step-functions","aws-systems-manager","aws-timestream","aws-vpc","aws-waf","aws-xray","axios","azure","azure-icon","babel","backbone","backbone-icon","backerkit","baker-street","balena","bamboo","base","basecamp","basecamp-icon","basekit","baseline","bash","bash-icon","batch","beats","behance","bem","bem-2","bigpanda","bing","biomejs","bitballoon","bitbar","bitbucket","bitcoin","bitnami","bitrise","bitrise-icon","blender","blitzjs","blitzjs-icon","blocs","blogger","blossom","bluemix","blueprint","bluetooth","booqable","booqable-icon","bootstrap","bosun","botanalytics","bourbon","bower","bowtie","box","brackets","brainjs","branch","branch-icon","brandfolder","brandfolder-icon","brave","braze","braze-icon","broadcom","broadcom-icon","broccoli","brotli","browserify","browserify-icon","browserling","browserslist","browserstack","browsersync","brunch","bubble","bubble-icon","buck","buddy","buffer","bugherd","bugherd-icon","bugsee","bugsnag","bugsnag-icon","builder-io","builder-io-icon","buildkite","buildkite-icon","bulma","bun","bunny-net","bunny-net-icon","c","c-plusplus","c-sharp","cachet","caffe2","cakephp","cakephp-icon","calibre","calibre-icon","campaignmonitor","campaignmonitor-icon","campfire","canjs","capacitorjs","capacitorjs-icon","capistrano","carbide","cardano","cardano-icon","cassandra","celluloid","centos","centos-icon","certbot","ceylon","chai","chalk","changetip","chargebee","chargebee-icon","chartblocks","chef","chevereto","chroma","chromatic","chromatic-icon","chrome","chrome-web-store","cinder","circleci","cirrus","cirrus-ci","clickdeploy","clio-lang","clion","cljs","clojure","close","cloud9","cloudacademy","cloudacademy-icon","cloudant","cloudcraft","cloudera","cloudflare","cloudflare-icon","cloudflare-workers","cloudflare-workers-icon","cloudinary","cloudinary-icon","cloudlinux","clusterhq","cobalt","cockpit","cocoapods","coda","coda-icon","codacy","codebase","codebeat","codecademy","codeception","codeclimate","codeclimate-icon","codecov","codecov-icon","codefactor","codefactor-icon","codefund","codefund-icon","codeigniter","codeigniter-icon","codepen","codepen-icon","codepicnic","codepush","codersrank","codersrank-icon","coderwall","codesandbox","codesandbox-icon","codeschool","codesee","codesee-icon","codeship","codio","codium","codium-icon","codrops","coffeescript","commitizen","compass","component","componentkit","compose","compose-multiplatform","composer","conan-io","concourse","concrete5","concretecms","concretecms-icon","conda","confluence","consul","containership","contentful","convox","convox-icon","copyleft","copyleft-pirate","corda","cordova","coreos","coreos-icon","couchbase","couchdb","couchdb-icon","coursera","coveralls","coverity","cpanel","craft","craftcms","crashlytics","crateio","create-react-app","createjs","crittercism","cross-browser-testing","crossbrowsertesting","crossplane","crossplane-icon","crowdprocess","crucible","crystal","css-3","css-3-official","cssnext","cube","cube-icon","cucumber","curl","customerio","customerio-icon","cyclejs","cypress","cypress-icon","d3","dailydev","dailydev-icon","daisyui","danfo","dapulse","dart","dashlane","dashlane-icon","dat","data-station","database-labs","datadog","datadog-icon","datagrip","datasette","datasette-icon","dataspell","datocms","datocms-icon","dbt","dbt-icon","dcos","dcos-icon","debian","delicious","delicious-burger","delighted","delighted-icon","deno","dependabot","dependencyci","deploy","deployhq","deployhq-icon","deppbot","derby","descript","descript-icon","designernews","desk","dev","dev-icon","deviantart","deviantart-icon","dgraph","dgraph-icon","dialogflow","digital-ocean","digital-ocean-icon","dimer","dinersclub","discord","discord-icon","discourse","discourse-icon","discover","disqus","distelli","divshot","django","django-icon","dockbit","docker","docker-icon","doctrine","docusaurus","dojo","dojo-icon","dojo-toolkit","dolt","dotcloud","dotnet","doubleclick","dovetail","dovetail-icon","dreamfactory","dreamhost","dribbble","dribbble-icon","drift","drip","drizzle","drizzle-icon","drone","drone-icon","drools","drools-icon","dropbox","dropmark","dropzone","drupal","drupal-icon","duckduckgo","dynatrace","dynatrace-icon","dyndns","eager","ebanx","eclipse","eclipse-icon","ecma","edgedb","edgio","edgio-icon","editorconfig","effect","effect-icon","effector","egghead","elasticbox","elasticpath","elasticpath-icon","elasticsearch","electron","element","elemental-ui","elementary","eleventy","ello","elm","elm-classic","elo","emacs","emacs-classic","embedly","ember","ember-tomster","emmet","enact","engine-yard","engine-yard-icon","envato","envoy","envoy-icon","envoyer","envoyproxy","enyo","epsagon","epsagon-icon","eraser","eraser-icon","erlang","es6","esbuild","esdoc","eslint","eslint-old","eta","eta-icon","etcd","ethereum","ethereum-color","ethers","ethnio","eventbrite","eventbrite-icon","eventsentry","evergreen","evergreen-icon","expo","expo-icon","exponent","express","fabric","fabric-io","facebook","falcor","famous","fastapi","fastapi-icon","fastify","fastify-icon","fastlane","fastly","fauna","fauna-icon","feathersjs","fedora","fetch","ffmpeg","ffmpeg-icon","figma","firebase","firefox","flannel","flarum","flask","flat-ui","flattr","flattr-icon","fleep","flexible-gs","flickr","flickr-icon","flight","flocker","floodio","flow","flowxo","floydhub","flutter","flux","fluxxor","fly","fly-icon","flyjs","fogbugz","fogbugz-icon","fomo","fomo-icon","font-awesome","forest","forestadmin","forestadmin-icon","forever","formkeep","fortran","foundation","foundationdb","foundationdb-icon","framed","framer","framework7","framework7-icon","freebsd","freedcamp","freedcamp-icon","freedomdefined","fresh","frontapp","fsharp","fuchsia","galliumos","game-analytics","game-analytics-icon","ganache","ganache-icon","gatsby","gaugeio","geekbot","geetest","geetest-icon","get-satisfaction","getyourguide","ghost","giantswarm","gin","git","git-icon","gitboard","github","github-actions","github-copilot","github-icon","github-octocat","gitkraken","gitlab","gitter","gitup","glamorous","glamorous-icon","gleam","glimmerjs","glint","glitch","glitch-icon","gnome","gnome-icon","gnu","gnu-net","gnupg","gnupg-icon","go","gocd","godot","godot-icon","gohorse","goland","gomix","google","google-2014","google-360suite","google-admob","google-ads","google-adsense","google-adwords","google-analytics","google-bard","google-bard-icon","google-calendar","google-cloud","google-cloud-functions","google-cloud-platform","google-cloud-run","google-currents","google-data-studio","google-developers","google-developers-icon","google-domains","google-domains-icon","google-drive","google-fit","google-gemini","google-gmail","google-gsuite","google-home","google-icon","google-inbox","google-keep","google-maps","google-marketing-platform","google-meet","google-one","google-optimize","google-palm","google-pay","google-pay-icon","google-photos","google-play","google-play-console","google-play-console-icon","google-play-icon","google-plus","google-search-console","google-tag-manager","google-wallet","google-workspace","gopher","gordon","gradio","gradio-icon","gradle","grafana","grails","grammarly","grammarly-icon","grape","graphcool","graphene","graphql","gratipay","grav","gravatar","gravatar-icon","graylog","graylog-icon","greensock","greensock-icon","gridsome","gridsome-icon","grommet","groovehq","grove","growth-book","growth-book-icon","grpc","grunt","gulp","gunicorn","gunjs","gusto","gwt","hack","hacker-one","hadoop","haiku","haiku-icon","haml","hanami","handlebars","hapi","hardhat","hardhat-icon","harness","harness-icon","harrow","hashicorp","hashicorp-icon","hashnode","hashnode-icon","haskell","haskell-icon","hasura","hasura-icon","haxe","haxl","hbase","hcaptcha","hcaptcha-icon","headlessui","headlessui-icon","heap","heap-icon","helm","helpscout","helpscout-icon","hermes","heroku","heroku-icon","heroku-redis","heron","hexo","hhvm","hibernate","highcharts","hipchat","hipercard","hoa","homebrew","hono","hoodie","hookstate","hootsuite","hootsuite-icon","horizon","hosted-graphite","hostgator","hostgator-icon","hotjar","hotjar-icon","houndci","html-5","html5-boilerplate","httpie","httpie-icon","hubspot","hugging-face","hugging-face-icon","huggy","hugo","humongous","hyper","hyperapp","ibm","ieee","ietf","ifttt","imagemin","imba","imba-icon","immer","immer-icon","immutable","impala","importio","incident","incident-icon","infer","inferno","influxdb","influxdb-icon","ink","insomnia","instagram","instagram-icon","intel","intellij-idea","intercom","intercom-icon","internetexplorer","invision","invision-icon","io","ionic","ionic-icon","ios","iron","iron-icon","itsalive","itsalive-icon","jade","jamstack","jamstack-icon","jasmine","java","javascript","jcb","jekyll","jelastic","jelastic-icon","jenkins","jest","jetbrains","jetbrains-icon","jetbrains-space","jetbrains-space-icon","jfrog","jhipster","jhipster-icon","jira","joomla","jotai","jquery","jquery-mobile","jruby","jsbin","jscs","jsdelivr","jsdom","jsfiddle","json","json-ld","jspm","jss","juju","julia","jupyter","jwt","jwt-icon","kafka","kafka-icon","kaios","kallithea","karma","katalon","katalon-icon","kde","keen","kemal","keycdn","keycdn-icon","keydb","keydb-icon","keymetrics","keystonejs","khan-academy","khan-academy-icon","kibana","kickstarter","kickstarter-icon","kinto","kinto-icon","kinvey","kirby","kirby-icon","kissmetrics","kissmetrics-monochromatic","kitematic","kloudless","knex","knockout","koa","kong","kong-icon","kontena","kops","kore","koreio","kotlin","kotlin-icon","kraken","krakenjs","ktor","ktor-icon","kubernetes","kustomer","languagetool","laravel","lastfm","lateral","lateral-icon","launchdarkly","launchdarkly-icon","launchkit","launchrock","leaflet","leankit","leankit-icon","lerna","less","lets-cloud","letsencrypt","leveldb","lexical","lexical-icon","librato","liftweb","lighthouse","lightstep","lightstep-icon","lighttpd","linear","linear-icon","linkedin","linkedin-icon","linkerd","linode","linux-mint","linux-tux","lit","lit-icon","litmus","loader","locent","lodash","logentries","loggly","logmatic","logstash","lookback","looker","looker-icon","loom","loom-icon","loopback","loopback-icon","losant","lotus","lua","lucene","lucene-net","lumen","lynda","macos","macosx","madge","maestro","mageia","magento","magneto","mailchimp","mailchimp-freddie","maildeveloper","mailgun","mailgun-icon","mailjet","mailjet-icon","malinajs","mandrill","mandrill-shield","manifoldjs","manjaro","mantine","mantine-icon","mantl","manuscript","mapbox","mapbox-icon","maps-me","mapzen","mapzen-icon","mariadb","mariadb-icon","marionette","markdown","marko","marvel","mastercard","mastodon","mastodon-icon","material-ui","materializecss","matomo","matomo-icon","matplotlib","matplotlib-icon","matter","matter-icon","mattermost","mattermost-icon","mautic","mautic-icon","maven","maxcdn","mdn","mdx","meanio","medium","medium-icon","medusa","medusa-icon","meilisearch","memcached","memgraph","memsql","memsql-icon","mention","mercurial","mern","mesos","mesosphere","messenger","meta","meta-icon","metabase","metamask","metamask-icon","meteor","meteor-icon","micro","micro-icon","micro-python","microcosm","micron","micron-icon","microsoft","microsoft-azure","microsoft-edge","microsoft-icon","microsoft-onedrive","microsoft-power-bi","microsoft-teams","microsoft-windows","microsoft-windows-icon","mida","mida-icon","middleman","midjourney","milligram","million","million-icon","milvus","milvus-icon","mindsdb","mindsdb-icon","mint-lang","mio","mist","mistral-ai","mistral-ai-icon","mithril","mixmax","mixpanel","mlab","mobx","mocha","mockflow","mockflow-icon","modernizr","modulus","modx","modx-icon","moltin","moltin-icon","momentjs","monday","monday-icon","monero","mongodb","mongodb-icon","mongolab","mono","moon","mootools","morpheus","morpheus-icon","mozilla","mparticle","mparticle-icon","mps","mps-icon","msw","msw-icon","multipass","mysql","mysql-icon","myth","naiveui","namecheap","nanonets","nasm","nativescript","nats","nats-icon","neat","neo4j","neon","neon-icon","neonmetrics","neovim","nestjs","net","netbeans","netflix","netflix-icon","netlify","netlify-icon","netuitive","neverinstall","neverinstall-icon","new-relic","new-relic-icon","nextjs","nextjs-icon","nginx","ngrok","nhost","nhost-icon","nightwatch","nim-lang","nocodb","nodal","node-sass","nodebots","nodejitsu","nodejs","nodejs-icon","nodejs-icon-alt","nodemon","nodeos","nodewebkit","nomad","nomad-icon","notion","notion-icon","now","noysi","npm","npm-2","npm-icon","nuclide","numpy","nuodb","nuxt","nuxt-icon","nvidia","nvm","nx","oauth","observablehq","obsidian","obsidian-icon","ocaml","octodns","octopus-deploy","okta","okta-icon","olapic","olark","onesignal","opbeat","open-graph","open-zeppelin","open-zeppelin-icon","openai","openai-icon","openapi","openapi-icon","opencart","opencollective","opencv","openframeworks","opengl","openjs-foundation","openjs-foundation-icon","openlayers","opensearch","opensearch-icon","openshift","opensource","openstack","openstack-icon","opentelemetry","opentelemetry-icon","opera","opsee","opsgenie","opsmatic","optimizely","optimizely-icon","oracle","oreilly","origami","origin","oshw","osquery","otto","overloop","overloop-icon","p5js","packer","pagekit","pagekite","pagerduty","pagerduty-icon","panda","pandacss","pandacss-icon","pandas","pandas-icon","parcel","parcel-icon","parse","parsehub","partytown","partytown-icon","passbolt","passbolt-icon","passport","patreon","payload","paypal","peer5","pepperoni","percona","percy","percy-icon","perf-rocks","periscope","perl","phalcon","phoenix","phonegap","phonegap-bot","php","php-alt","phpstorm","picasa","pinecone","pinecone-icon","pingdom","pingy","pinia","pinterest","pipedream","pipedrive","pipefy","pivotal-tracker","pixate","pixelapse","pixijs","pkg","planetscale","planless","planless-icon","plasmic","plastic-scm","platformio","play","playwright","pluralsight","pluralsight-icon","pm2","pm2-icon","pnpm","pocket-base","podio","poeditor","polymer","positionly","postcss","postgraphile","postgresql","posthog","posthog-icon","postman","postman-icon","pouchdb","preact","precursor","prerender","prerender-icon","prestashop","presto","presto-icon","prettier","prisma","prismic","prismic-icon","processing","processwire","processwire-icon","productboard","productboard-icon","producteev","producthunt","progress","prometheus","promises","proofy","prospect","protoio","protonet","protractor","prott","pug","pulumi","pulumi-icon","pumpkindb","puppet","puppet-icon","puppeteer","puppy-linux","purescript","purescript-icon","pushbullet","pusher","pusher-icon","pwa","pycharm","pypi","pyscript","python","pytorch","pytorch-icon","pyup","q","qdrant","qdrant-icon","qlik","qordoba","qt","qualcomm","quarkus","quarkus-icon","quay","quobyte","quora","qwik","qwik-icon","r-lang","rabbitmq","rabbitmq-icon","rackspace","rackspace-icon","rails","ramda","raml","rancher","rancher-icon","randomcolor","raphael","raspberry-pi","rax","react","react-query","react-query-icon","react-router","react-spring","react-styleguidist","reactivex","realm","reapp","reasonml","reasonml-icon","recaptcha","recoil","recoil-icon","reddit","reddit-icon","redhat","redhat-icon","redis","redsmin","redspread","redux","redux-observable","redux-saga","redwoodjs","refactor","reindex","relay","release","remergr","remix","remix-icon","renovatebot","replay","replay-icon","replit","replit-icon","require","rescript","rescript-icon","rest","rest-li","rethinkdb","retool","retool-icon","riak","rider","riot","risingwave","risingwave-icon","rkt","rocket-chat","rocket-chat-icon","rocksdb","rocky-linux","rocky-linux-icon","rollbar","rollbar-icon","rollupjs","rome","rome-icon","ros","rsa","rsmq","rubocop","ruby","rubygems","rubymine","rum","run-above","runnable","runscope","rush","rush-icon","rust","rxdb","safari","sagui","sails","salesforce","saltstack","sameroom","samsung","sanity","sap","sass","sass-doc","saucelabs","scala","scaledrone","scaphold","scribd","scribd-icon","seaborn","seaborn-icon","section","section-icon","sectionio","segment","segment-icon","selenium","semantic-release","semantic-ui","semantic-web","semaphore","semaphoreci","sencha","sendgrid","sendgrid-icon","seneca","sensu","sensu-icon","sentry","sentry-icon","sequelize","serveless","serverless","sherlock","sherlock-icon","shields","shipit","shippable","shogun","shopify","shortcut","shortcut-icon","sidekick","sidekiq","sidekiq-icon","signal","sigstore","sigstore-icon","sinatra","singlestore","singlestore-icon","siphon","sitepoint","sk-hynix","skaffolder","sketch","sketchapp","skylight","skype","slack","slack-icon","slides","slim","smartling","smashingmagazine","snap-svg","snaplet","snaplet-icon","snowflake","snowflake-icon","snowpack","snupps","snyk","socket-io","solarwinds","solid","solidity","solidjs","solidjs-icon","solr","sonarcloud","sonarcloud-icon","sonarlint","sonarlint-icon","sonarqube","soundcloud","sourcegraph","sourcetrail","sourcetree","spark","sparkcentral","sparkpost","speakerdeck","speedcurve","spidermonkey","spidermonkey-icon","spinnaker","splunk","spotify","spotify-icon","spree","spring","spring-icon","sqldep","sqlite","square","squarespace","sst","sst-icon","stability-ai","stability-ai-icon","stackbit","stackbit-icon","stackblitz","stackblitz-icon","stackoverflow","stackoverflow-icon","stackshare","stacksmith","stash","stately","stately-icon","statuspage","stdlib","stdlib-icon","steam","steemit","stenciljs","stenciljs-icon","stepsize","stepsize-icon","steroids","stetho","stickermule","stigg","stigg-icon","stimulus","stimulus-icon","stitch","stoplight","stormpath","storyblocks","storyblocks-icon","storyblok","storyblok-icon","storybook","storybook-icon","strapi","strapi-icon","streamlit","strider","stripe","strongloop","struts","styleci","stylefmt","stylelint","stylis","stylus","stytch","sublimetext","sublimetext-icon","subversion","sugarss","supabase","supabase-icon","supergiant","supersonic","supertokens","supertokens-icon","supportkit","surge","surrealdb","surrealdb-icon","survicate","survicate-icon","suse","susy","svelte","svelte-icon","svelte-kit","svg","svgator","swagger","swc","swift","swiftype","swimm","swr","symfony","sysdig","sysdig-icon","t3","tableau","tableau-icon","taiga","tailwindcss","tailwindcss-icon","tapcart","tapcart-icon","targetprocess","taskade","taskade-icon","tastejs","tauri","tealium","teamcity","teamgrid","teamwork","teamwork-icon","tectonic","telegram","tensorflow","terminal","terraform","terraform-icon","terser","terser-icon","testcafe","testing-library","testlodge","testmunk","thimble","threejs","thymeleaf","thymeleaf-icon","tidal","tidal-icon","tiktok","tiktok-icon","titon","tnw","todoist","todoist-icon","todomvc","tomcat","toml","tor","tor-browser","torus","traackr","trac","trace","travis-ci","travis-ci-monochrome","treasuredata","treasuredata-icon","treehouse","treehouse-icon","trello","trpc","truffle","truffle-icon","tsmc","tsnode","tsu","tsuru","tumblr","tumblr-icon","tunein","tuple","turbopack","turbopack-icon","turborepo","turborepo-icon","turret","tutsplus","tutum","twilio","twilio-icon","twitch","twitter","typeform","typeform-icon","typeorm","typescript","typescript-icon","typescript-icon-round","typesense","typesense-icon","typo3","typo3-icon","ubuntu","udacity","udacity-icon","udemy","udemy-icon","uikit","umu","unbounce","unbounce-icon","undertow","unionpay","unitjs","unito","unito-icon","unity","unocss","unrealengine","unrealengine-icon","upcase","upstash","upstash-icon","upwork","user-testing","user-testing-icon","uservoice","uservoice-icon","uwsgi","v8","v8-ignition","v8-turbofan","vaadin","vaddy","vagrant","vagrant-icon","vault","vault-icon","vector","vector-timber","vercel","vercel-icon","verdaccio","verdaccio-icon","vernemq","victorops","vim","vimeo","vimeo-icon","vine","visa","visaelectron","visual-studio","visual-studio-code","visual-website-optimizer","vitejs","vitess","vitest","vivaldi","vivaldi-icon","vlang","void","vue","vuetifyjs","vueuse","vulkan","vultr","vultr-icon","vwo","w3c","waffle","waffle-icon","wagtail","wakatime","walkme","watchman","waypoint","waypoint-icon","wayscript","wayscript-icon","wearos","weave","web-dev","web-dev-icon","web-fundamentals","web3js","webassembly","webcomponents","webdriverio","webflow","webgpu","webhint","webhint-icon","webhooks","webix","webix-icon","webkit","webmin","webpack","webplatform","webrtc","websocket","webstorm","webtask","webtorrent","weebly","wercker","whalar","whalar-icon","whatsapp","whatsapp-icon","whatsapp-monochrome-icon","whatwg","wicket","wicket-icon","wifi","wildfly","windi-css","winglang","winglang-icon","wire","wiredtree","wix","wmr","woocommerce","woocommerce-icon","woopra","wordpress","wordpress-icon","wordpress-icon-alt","workboard","workos","workos-icon","workplace","workplace-icon","wpengine","wufoo","x-ray-goggles","xamarin","xampp","xata","xata-icon","xcart","xcode","xero","xplenty","xray-for-jira","xstate","xtend","xwiki","xwiki-icon","yahoo","yaml","yammer","yandex-ru","yarn","ycombinator","yeoman","yii","youtrack","youtube","youtube-icon","yugabyte","yugabyte-icon","zabbix","zapier","zapier-icon","zeit","zeit-icon","zend-framework","zendesk","zendesk-icon","zenhub","zenhub-icon","zeplin","zeroheight","zeroheight-icon","zest","zig","zigbee","zod","zoho","zoom","zoom-icon","zorin-os","zsh","zube","zulip","zulip-icon","zwave"]},{prefix:"twemoji",info:{name:"Twitter Emoji",total:3668,author:{name:"Twitter",url:"https://github.com/twitter/twemoji"},license:{title:"CC BY 4.0",spdx:"CC-BY-4.0",url:"https://creativecommons.org/licenses/by/4.0/"},samples:["anguished-face","duck","crossed-swords"],height:36,displayHeight:18,category:"Emoji",palette:!0},icons:["1st-place-medal","2nd-place-medal","3rd-place-medal","a-button-blood-type","ab-button-blood-type","abacus","accordion","adhesive-bandage","admission-tickets","adult","adult-dark-skin-tone","adult-light-skin-tone","adult-medium-dark-skin-tone","adult-medium-light-skin-tone","adult-medium-skin-tone","aerial-tramway","airplane","airplane-arrival","airplane-departure","alarm-clock","alembic","alien","alien-monster","ambulance","american-football","amphora","anatomical-heart","anchor","anger-symbol","angry-face","angry-face-with-horns","anguished-face","ant","antenna-bars","anxious-face-with-sweat","aquarius","aries","articulated-lorry","artist","artist-dark-skin-tone","artist-light-skin-tone","artist-medium-dark-skin-tone","artist-medium-light-skin-tone","artist-medium-skin-tone","artist-palette","astonished-face","astronaut","astronaut-dark-skin-tone","astronaut-light-skin-tone","astronaut-medium-dark-skin-tone","astronaut-medium-light-skin-tone","astronaut-medium-skin-tone","atm-sign","atom-symbol","auto-rickshaw","automobile","avocado","axe","b-button-blood-type","baby","baby-angel","baby-angel-dark-skin-tone","baby-angel-light-skin-tone","baby-angel-medium-dark-skin-tone","baby-angel-medium-light-skin-tone","baby-angel-medium-skin-tone","baby-bottle","baby-chick","baby-dark-skin-tone","baby-light-skin-tone","baby-medium-dark-skin-tone","baby-medium-light-skin-tone","baby-medium-skin-tone","baby-symbol","back-arrow","backhand-index-pointing-down","backhand-index-pointing-down-dark-skin-tone","backhand-index-pointing-down-light-skin-tone","backhand-index-pointing-down-medium-dark-skin-tone","backhand-index-pointing-down-medium-light-skin-tone","backhand-index-pointing-down-medium-skin-tone","backhand-index-pointing-left","backhand-index-pointing-left-dark-skin-tone","backhand-index-pointing-left-light-skin-tone","backhand-index-pointing-left-medium-dark-skin-tone","backhand-index-pointing-left-medium-light-skin-tone","backhand-index-pointing-left-medium-skin-tone","backhand-index-pointing-right","backhand-index-pointing-right-dark-skin-tone","backhand-index-pointing-right-light-skin-tone","backhand-index-pointing-right-medium-dark-skin-tone","backhand-index-pointing-right-medium-light-skin-tone","backhand-index-pointing-right-medium-skin-tone","backhand-index-pointing-up","backhand-index-pointing-up-dark-skin-tone","backhand-index-pointing-up-light-skin-tone","backhand-index-pointing-up-medium-dark-skin-tone","backhand-index-pointing-up-medium-light-skin-tone","backhand-index-pointing-up-medium-skin-tone","backpack","bacon","badger","badminton","bagel","baggage-claim","baguette-bread","balance-scale","bald","ballet-shoes","balloon","ballot-box-with-ballot","banana","banjo","bank","bar-chart","barber-pole","baseball","basket","basketball","bat","bathtub","battery","beach-with-umbrella","beaming-face-with-smiling-eyes","beans","bear","bearded-person","bearded-person-dark-skin-tone","bearded-person-light-skin-tone","bearded-person-medium-dark-skin-tone","bearded-person-medium-light-skin-tone","bearded-person-medium-skin-tone","beating-heart","beaver","bed","beer-mug","beetle","bell","bell-pepper","bell-with-slash","bellhop-bell","bento-box","beverage-box","bicycle","bikini","billed-cap","biohazard","bird","birthday-cake","bison","biting-lip","black-cat","black-circle","black-flag","black-heart","black-large-square","black-medium-small-square","black-medium-square","black-nib","black-small-square","black-square-button","blossom","blowfish","blue-book","blue-circle","blue-heart","blue-square","blueberries","boar","bomb","bone","bookmark","bookmark-tabs","books","boomerang","bottle-with-popping-cork","bouquet","bow-and-arrow","bowl-with-spoon","bowling","boxing-glove","boy","boy-dark-skin-tone","boy-light-skin-tone","boy-medium-dark-skin-tone","boy-medium-light-skin-tone","boy-medium-skin-tone","brain","bread","breast-feeding","breast-feeding-dark-skin-tone","breast-feeding-light-skin-tone","breast-feeding-medium-dark-skin-tone","breast-feeding-medium-light-skin-tone","breast-feeding-medium-skin-tone","brick","bridge-at-night","briefcase","briefs","bright-button","broccoli","broken-heart","broom","brown-circle","brown-heart","brown-square","bubble-tea","bubbles","bucket","bug","building-construction","bullet-train","bullseye","burrito","bus","bus-stop","bust-in-silhouette","busts-in-silhouette","butter","butterfly","cactus","calendar","call-me-hand","call-me-hand-dark-skin-tone","call-me-hand-light-skin-tone","call-me-hand-medium-dark-skin-tone","call-me-hand-medium-light-skin-tone","call-me-hand-medium-skin-tone","camel","camera","camera-with-flash","camping","cancer","candle","candy","canned-food","canoe","capricorn","card-file-box","card-index","card-index-dividers","carousel-horse","carp-streamer","carpentry-saw","carrot","castle","cat","cat-face","cat-with-tears-of-joy","cat-with-wry-smile","chains","chair","chart-decreasing","chart-increasing","chart-increasing-with-yen","check-box-with-check","check-mark","check-mark-button","cheese-wedge","chequered-flag","cherries","cherry-blossom","chess-pawn","chestnut","chicken","child","child-dark-skin-tone","child-light-skin-tone","child-medium-dark-skin-tone","child-medium-light-skin-tone","child-medium-skin-tone","children-crossing","chipmunk","chocolate-bar","chopsticks","christmas-tree","church","cigarette","cinema","circled-m","circus-tent","cityscape","cityscape-at-dusk","cl-button","clamp","clapper-board","clapping-hands","clapping-hands-dark-skin-tone","clapping-hands-light-skin-tone","clapping-hands-medium-dark-skin-tone","clapping-hands-medium-light-skin-tone","clapping-hands-medium-skin-tone","classical-building","clinking-beer-mugs","clinking-glasses","clipboard","clockwise-vertical-arrows","closed-book","closed-mailbox-with-lowered-flag","closed-mailbox-with-raised-flag","closed-umbrella","cloud","cloud-with-lightning","cloud-with-lightning-and-rain","cloud-with-rain","cloud-with-snow","clown-face","club-suit","clutch-bag","coat","cockroach","cocktail-glass","coconut","coffin","coin","cold-face","collision","comet","compass","computer-disk","computer-mouse","confetti-ball","confounded-face","confused-face","construction","construction-worker","construction-worker-dark-skin-tone","construction-worker-light-skin-tone","construction-worker-medium-dark-skin-tone","construction-worker-medium-light-skin-tone","construction-worker-medium-skin-tone","control-knobs","convenience-store","cook","cook-dark-skin-tone","cook-light-skin-tone","cook-medium-dark-skin-tone","cook-medium-light-skin-tone","cook-medium-skin-tone","cooked-rice","cookie","cooking","cool-button","copyright","coral","couch-and-lamp","counterclockwise-arrows-button","couple-with-heart","couple-with-heart-dark-skin-tone","couple-with-heart-light-skin-tone","couple-with-heart-man-man","couple-with-heart-man-man-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-light-skin-tone","couple-with-heart-man-man-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-medium-dark-skin-tone","couple-with-heart-medium-light-skin-tone","couple-with-heart-medium-skin-tone","couple-with-heart-person-person-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man","couple-with-heart-woman-man-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman","couple-with-heart-woman-woman-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-light-skin-tone","cow","cow-face","cowboy-hat-face","crab","crayon","credit-card","crescent-moon","cricket","cricket-game","crocodile","croissant","cross-mark","cross-mark-button","crossed-fingers","crossed-fingers-dark-skin-tone","crossed-fingers-light-skin-tone","crossed-fingers-medium-dark-skin-tone","crossed-fingers-medium-light-skin-tone","crossed-fingers-medium-skin-tone","crossed-flags","crossed-swords","crown","crutch","crying-cat","crying-face","crystal-ball","cucumber","cup-with-straw","cupcake","curling-stone","curly-haired","curly-loop","currency-exchange","curry-rice","custard","customs","cut-of-meat","cyclone","dagger","dango","dark-skin-tone","dashing-away","deaf-man","deaf-man-dark-skin-tone","deaf-man-light-skin-tone","deaf-man-medium-dark-skin-tone","deaf-man-medium-light-skin-tone","deaf-man-medium-skin-tone","deaf-person","deaf-person-dark-skin-tone","deaf-person-light-skin-tone","deaf-person-medium-dark-skin-tone","deaf-person-medium-light-skin-tone","deaf-person-medium-skin-tone","deaf-woman","deaf-woman-dark-skin-tone","deaf-woman-light-skin-tone","deaf-woman-medium-dark-skin-tone","deaf-woman-medium-light-skin-tone","deaf-woman-medium-skin-tone","deciduous-tree","deer","delivery-truck","department-store","derelict-house","desert","desert-island","desktop-computer","detective","detective-dark-skin-tone","detective-light-skin-tone","detective-medium-dark-skin-tone","detective-medium-light-skin-tone","detective-medium-skin-tone","diamond-suit","diamond-with-a-dot","dim-button","disappointed-face","disguised-face","divide","diving-mask","diya-lamp","dizzy","dna","dodo","dog","dog-face","dollar-banknote","dolphin","door","dotted-line-face","dotted-six-pointed-star","double-curly-loop","double-exclamation-mark","doughnut","dove","down-arrow","down-left-arrow","down-right-arrow","downcast-face-with-sweat","downwards-button","dragon","dragon-face","dress","drooling-face","drop-of-blood","droplet","drum","duck","dumpling","dvd","e-mail","eagle","ear","ear-dark-skin-tone","ear-light-skin-tone","ear-medium-dark-skin-tone","ear-medium-light-skin-tone","ear-medium-skin-tone","ear-of-corn","ear-with-hearing-aid","ear-with-hearing-aid-dark-skin-tone","ear-with-hearing-aid-light-skin-tone","ear-with-hearing-aid-medium-dark-skin-tone","ear-with-hearing-aid-medium-light-skin-tone","ear-with-hearing-aid-medium-skin-tone","egg","eggplant","eight-oclock","eight-pointed-star","eight-spoked-asterisk","eight-thirty","eject-button","electric-plug","elephant","elevator","eleven-oclock","eleven-thirty","elf","elf-dark-skin-tone","elf-light-skin-tone","elf-medium-dark-skin-tone","elf-medium-light-skin-tone","elf-medium-skin-tone","empty-nest","end-arrow","enraged-face","envelope","envelope-with-arrow","euro-banknote","evergreen-tree","ewe","exclamation-question-mark","exploding-head","expressionless-face","eye","eye-in-speech-bubble","eyes","face-blowing-a-kiss","face-exhaling","face-holding-back-tears","face-in-clouds","face-savoring-food","face-screaming-in-fear","face-vomiting","face-with-crossed-out-eyes","face-with-diagonal-mouth","face-with-hand-over-mouth","face-with-head-bandage","face-with-medical-mask","face-with-monocle","face-with-open-eyes-and-hand-over-mouth","face-with-open-mouth","face-with-peeking-eye","face-with-raised-eyebrow","face-with-rolling-eyes","face-with-spiral-eyes","face-with-steam-from-nose","face-with-symbols-on-mouth","face-with-tears-of-joy","face-with-thermometer","face-with-tongue","face-without-mouth","factory","factory-worker","factory-worker-dark-skin-tone","factory-worker-light-skin-tone","factory-worker-medium-dark-skin-tone","factory-worker-medium-light-skin-tone","factory-worker-medium-skin-tone","fairy","fairy-dark-skin-tone","fairy-light-skin-tone","fairy-medium-dark-skin-tone","fairy-medium-light-skin-tone","fairy-medium-skin-tone","falafel","fallen-leaf","family","family-man-boy","family-man-boy-boy","family-man-girl","family-man-girl-boy","family-man-girl-girl","family-man-man-boy","family-man-man-boy-boy","family-man-man-girl","family-man-man-girl-boy","family-man-man-girl-girl","family-man-woman-boy","family-man-woman-boy-boy","family-man-woman-girl","family-man-woman-girl-boy","family-man-woman-girl-girl","family-woman-boy","family-woman-boy-boy","family-woman-girl","family-woman-girl-boy","family-woman-girl-girl","family-woman-woman-boy","family-woman-woman-boy-boy","family-woman-woman-girl","family-woman-woman-girl-boy","family-woman-woman-girl-girl","farmer","farmer-dark-skin-tone","farmer-light-skin-tone","farmer-medium-dark-skin-tone","farmer-medium-light-skin-tone","farmer-medium-skin-tone","fast-down-button","fast-forward-button","fast-reverse-button","fast-up-button","fax-machine","fearful-face","feather","female-sign","ferris-wheel","ferry","field-hockey","file-cabinet","file-folder","film-frames","film-projector","fire","fire-engine","fire-extinguisher","firecracker","firefighter","firefighter-dark-skin-tone","firefighter-light-skin-tone","firefighter-medium-dark-skin-tone","firefighter-medium-light-skin-tone","firefighter-medium-skin-tone","fireworks","first-quarter-moon","first-quarter-moon-face","fish","fish-cake-with-swirl","fishing-pole","five-oclock","five-thirty","flag-afghanistan","flag-aland-islands","flag-albania","flag-algeria","flag-american-samoa","flag-andorra","flag-angola","flag-anguilla","flag-antarctica","flag-antigua-and-barbuda","flag-argentina","flag-armenia","flag-aruba","flag-ascension-island","flag-australia","flag-austria","flag-azerbaijan","flag-bahamas","flag-bahrain","flag-bangladesh","flag-barbados","flag-belarus","flag-belgium","flag-belize","flag-benin","flag-bermuda","flag-bhutan","flag-bolivia","flag-bosnia-and-herzegovina","flag-botswana","flag-bouvet-island","flag-brazil","flag-british-indian-ocean-territory","flag-british-virgin-islands","flag-brunei","flag-bulgaria","flag-burkina-faso","flag-burundi","flag-cambodia","flag-cameroon","flag-canada","flag-canary-islands","flag-cape-verde","flag-caribbean-netherlands","flag-cayman-islands","flag-central-african-republic","flag-ceuta-and-melilla","flag-chad","flag-chile","flag-china","flag-christmas-island","flag-clipperton-island","flag-cocos-keeling-islands","flag-colombia","flag-comoros","flag-congo-brazzaville","flag-congo-kinshasa","flag-cook-islands","flag-costa-rica","flag-cote-divoire","flag-croatia","flag-cuba","flag-curacao","flag-cyprus","flag-czechia","flag-denmark","flag-diego-garcia","flag-djibouti","flag-dominica","flag-dominican-republic","flag-ecuador","flag-egypt","flag-el-salvador","flag-england","flag-equatorial-guinea","flag-eritrea","flag-estonia","flag-eswatini","flag-ethiopia","flag-european-union","flag-falkland-islands","flag-faroe-islands","flag-fiji","flag-finland","flag-for-flag-afghanistan","flag-for-flag-albania","flag-for-flag-algeria","flag-for-flag-american-samoa","flag-for-flag-andorra","flag-for-flag-angola","flag-for-flag-antigua-and-barbuda","flag-for-flag-argentina","flag-for-flag-aruba","flag-for-flag-ascension-island","flag-for-flag-australia","flag-for-flag-azerbaijan","flag-for-flag-bahamas","flag-for-flag-bangladesh","flag-for-flag-barbados","flag-for-flag-belarus","flag-for-flag-belize","flag-for-flag-bermuda","flag-for-flag-bolivia","flag-for-flag-bosnia-and-herzegovina","flag-for-flag-brazil","flag-for-flag-british-indian-ocean-territory","flag-for-flag-burkina-faso","flag-for-flag-burundi","flag-for-flag-canary-islands","flag-for-flag-cape-verde","flag-for-flag-caribbean-netherlands","flag-for-flag-cayman-islands","flag-for-flag-central-african-republic","flag-for-flag-ceuta-and-melilla","flag-for-flag-china","flag-for-flag-christmas-island","flag-for-flag-cocos-keeling-islands","flag-for-flag-comoros","flag-for-flag-cook-islands","flag-for-flag-costa-rica","flag-for-flag-croatia","flag-for-flag-cuba","flag-for-flag-cyprus","flag-for-flag-djibouti","flag-for-flag-dominica","flag-for-flag-dominican-republic","flag-for-flag-ecuador","flag-for-flag-egypt","flag-for-flag-el-salvador","flag-for-flag-equatorial-guinea","flag-for-flag-eswatini","flag-for-flag-ethiopia","flag-for-flag-european-union","flag-for-flag-falkland-islands","flag-for-flag-fiji","flag-for-flag-french-guiana","flag-for-flag-french-polynesia","flag-for-flag-french-southern-territories","flag-for-flag-ghana","flag-for-flag-gibraltar","flag-for-flag-greenland","flag-for-flag-grenada","flag-for-flag-guam","flag-for-flag-guatemala","flag-for-flag-guinea-bissau","flag-for-flag-guyana","flag-for-flag-haiti","flag-for-flag-honduras","flag-for-flag-hong-kong-sar-china","flag-for-flag-india","flag-for-flag-isle-of-man","flag-for-flag-israel","flag-for-flag-japan","flag-for-flag-jersey","flag-for-flag-jordan","flag-for-flag-kazakhstan","flag-for-flag-kenya","flag-for-flag-kiribati","flag-for-flag-kosovo","flag-for-flag-laos","flag-for-flag-lebanon","flag-for-flag-liberia","flag-for-flag-liechtenstein","flag-for-flag-malawi","flag-for-flag-malaysia","flag-for-flag-malta","flag-for-flag-marshall-islands","flag-for-flag-mauritania","flag-for-flag-mayotte","flag-for-flag-mexico","flag-for-flag-micronesia","flag-for-flag-moldova","flag-for-flag-montserrat","flag-for-flag-morocco","flag-for-flag-mozambique","flag-for-flag-namibia","flag-for-flag-nauru","flag-for-flag-nepal","flag-for-flag-new-caledonia","flag-for-flag-new-zealand","flag-for-flag-nicaragua","flag-for-flag-niger","flag-for-flag-niue","flag-for-flag-northern-mariana-islands","flag-for-flag-pakistan","flag-for-flag-palau","flag-for-flag-panama","flag-for-flag-papua-new-guinea","flag-for-flag-paraguay","flag-for-flag-philippines","flag-for-flag-pitcairn-islands","flag-for-flag-puerto-rico","flag-for-flag-qatar","flag-for-flag-reunion","flag-for-flag-rwanda","flag-for-flag-samoa","flag-for-flag-sao-tome-and-principe","flag-for-flag-saudi-arabia","flag-for-flag-seychelles","flag-for-flag-singapore","flag-for-flag-sint-maarten","flag-for-flag-slovenia","flag-for-flag-solomon-islands","flag-for-flag-south-georgia-and-south-sandwich-islands","flag-for-flag-south-korea","flag-for-flag-south-sudan","flag-for-flag-sri-lanka","flag-for-flag-st-barthelemy","flag-for-flag-st-helena","flag-for-flag-st-kitts-and-nevis","flag-for-flag-st-lucia","flag-for-flag-st-pierre-and-miquelon","flag-for-flag-st-vincent-and-grenadines","flag-for-flag-syria","flag-for-flag-taiwan","flag-for-flag-timor-leste","flag-for-flag-tokelau","flag-for-flag-tristan-da-cunha","flag-for-flag-tunisia","flag-for-flag-turkmenistan","flag-for-flag-tuvalu","flag-for-flag-uganda","flag-for-flag-united-kingdom","flag-for-flag-united-nations","flag-for-flag-united-states","flag-for-flag-uruguay","flag-for-flag-us-virgin-islands","flag-for-flag-vanuatu","flag-for-flag-vatican-city","flag-for-flag-venezuela","flag-for-flag-wallis-and-futuna","flag-for-flag-western-sahara","flag-for-flag-zimbabwe","flag-france","flag-french-guiana","flag-french-polynesia","flag-french-southern-territories","flag-gabon","flag-gambia","flag-georgia","flag-germany","flag-ghana","flag-gibraltar","flag-greece","flag-greenland","flag-grenada","flag-guadeloupe","flag-guam","flag-guatemala","flag-guernsey","flag-guinea","flag-guinea-bissau","flag-guyana","flag-haiti","flag-heard-and-mcdonald-islands","flag-honduras","flag-hong-kong-sar-china","flag-hungary","flag-iceland","flag-in-hole","flag-india","flag-indonesia","flag-iran","flag-iraq","flag-ireland","flag-isle-of-man","flag-israel","flag-italy","flag-jamaica","flag-japan","flag-jersey","flag-jordan","flag-kazakhstan","flag-kenya","flag-kiribati","flag-kosovo","flag-kuwait","flag-kyrgyzstan","flag-laos","flag-latvia","flag-lebanon","flag-lesotho","flag-liberia","flag-libya","flag-liechtenstein","flag-lithuania","flag-luxembourg","flag-macao-sar-china","flag-madagascar","flag-malawi","flag-malaysia","flag-maldives","flag-mali","flag-malta","flag-marshall-islands","flag-martinique","flag-mauritania","flag-mauritius","flag-mayotte","flag-mexico","flag-micronesia","flag-moldova","flag-monaco","flag-mongolia","flag-montenegro","flag-montserrat","flag-morocco","flag-mozambique","flag-myanmar-burma","flag-namibia","flag-nauru","flag-nepal","flag-netherlands","flag-new-caledonia","flag-new-zealand","flag-nicaragua","flag-niger","flag-nigeria","flag-niue","flag-norfolk-island","flag-north-korea","flag-north-macedonia","flag-northern-mariana-islands","flag-norway","flag-oman","flag-pakistan","flag-palau","flag-palestinian-territories","flag-panama","flag-papua-new-guinea","flag-paraguay","flag-peru","flag-philippines","flag-pitcairn-islands","flag-poland","flag-portugal","flag-puerto-rico","flag-qatar","flag-reunion","flag-romania","flag-russia","flag-rwanda","flag-samoa","flag-san-marino","flag-sao-tome-and-principe","flag-saudi-arabia","flag-scotland","flag-senegal","flag-serbia","flag-seychelles","flag-sierra-leone","flag-singapore","flag-sint-maarten","flag-slovakia","flag-slovenia","flag-solomon-islands","flag-somalia","flag-south-africa","flag-south-georgia-and-south-sandwich-islands","flag-south-korea","flag-south-sudan","flag-spain","flag-sri-lanka","flag-st-barthelemy","flag-st-helena","flag-st-kitts-and-nevis","flag-st-lucia","flag-st-martin","flag-st-pierre-and-miquelon","flag-st-vincent-and-grenadines","flag-sudan","flag-suriname","flag-svalbard-and-jan-mayen","flag-sweden","flag-switzerland","flag-syria","flag-taiwan","flag-tajikistan","flag-tanzania","flag-thailand","flag-timor-leste","flag-togo","flag-tokelau","flag-tonga","flag-trinidad-and-tobago","flag-tristan-da-cunha","flag-tunisia","flag-turkiye","flag-turkmenistan","flag-turks-and-caicos-islands","flag-tuvalu","flag-uganda","flag-ukraine","flag-united-arab-emirates","flag-united-kingdom","flag-united-nations","flag-united-states","flag-uruguay","flag-us-outlying-islands","flag-us-virgin-islands","flag-uzbekistan","flag-vanuatu","flag-vatican-city","flag-venezuela","flag-vietnam","flag-wales","flag-wallis-and-futuna","flag-western-sahara","flag-yemen","flag-zambia","flag-zimbabwe","flamingo","flashlight","flat-shoe","flatbread","fleur-de-lis","flexed-biceps","flexed-biceps-dark-skin-tone","flexed-biceps-light-skin-tone","flexed-biceps-medium-dark-skin-tone","flexed-biceps-medium-light-skin-tone","flexed-biceps-medium-skin-tone","floppy-disk","flower-playing-cards","flushed-face","fly","flying-disc","flying-saucer","fog","foggy","folded-hands","folded-hands-dark-skin-tone","folded-hands-light-skin-tone","folded-hands-medium-dark-skin-tone","folded-hands-medium-light-skin-tone","folded-hands-medium-skin-tone","fondue","foot","foot-dark-skin-tone","foot-light-skin-tone","foot-medium-dark-skin-tone","foot-medium-light-skin-tone","foot-medium-skin-tone","footprints","fork-and-knife","fork-and-knife-with-plate","fortune-cookie","fountain","fountain-pen","four-leaf-clover","four-oclock","four-thirty","fox","framed-picture","free-button","french-fries","fried-shrimp","frog","front-facing-baby-chick","frowning-face","frowning-face-with-open-mouth","fuel-pump","full-moon","full-moon-face","funeral-urn","game-die","garlic","gear","gem-stone","gemini","genie","ghost","giraffe","girl","girl-dark-skin-tone","girl-light-skin-tone","girl-medium-dark-skin-tone","girl-medium-light-skin-tone","girl-medium-skin-tone","glass-of-milk","glasses","globe-showing-americas","globe-showing-asia-australia","globe-showing-europe-africa","globe-with-meridians","gloves","glowing-star","goal-net","goat","goblin","goggles","gorilla","graduation-cap","grapes","green-apple","green-book","green-circle","green-heart","green-salad","green-square","grimacing-face","grinning-cat","grinning-cat-with-smiling-eyes","grinning-face","grinning-face-with-big-eyes","grinning-face-with-smiling-eyes","grinning-face-with-sweat","grinning-squinting-face","growing-heart","guard","guard-dark-skin-tone","guard-light-skin-tone","guard-medium-dark-skin-tone","guard-medium-light-skin-tone","guard-medium-skin-tone","guide-dog","guitar","hamburger","hammer","hammer-and-pick","hammer-and-wrench","hamsa","hamster","hand-with-fingers-splayed","hand-with-fingers-splayed-dark-skin-tone","hand-with-fingers-splayed-light-skin-tone","hand-with-fingers-splayed-medium-dark-skin-tone","hand-with-fingers-splayed-medium-light-skin-tone","hand-with-fingers-splayed-medium-skin-tone","hand-with-index-finger-and-thumb-crossed","hand-with-index-finger-and-thumb-crossed-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-skin-tone","handbag","handshake","handshake-dark-skin-tone","handshake-dark-skin-tone-light-skin-tone","handshake-dark-skin-tone-medium-dark-skin-tone","handshake-dark-skin-tone-medium-light-skin-tone","handshake-dark-skin-tone-medium-skin-tone","handshake-light-skin-tone","handshake-light-skin-tone-dark-skin-tone","handshake-light-skin-tone-medium-dark-skin-tone","handshake-light-skin-tone-medium-light-skin-tone","handshake-light-skin-tone-medium-skin-tone","handshake-medium-dark-skin-tone","handshake-medium-dark-skin-tone-dark-skin-tone","handshake-medium-dark-skin-tone-light-skin-tone","handshake-medium-dark-skin-tone-medium-light-skin-tone","handshake-medium-dark-skin-tone-medium-skin-tone","handshake-medium-light-skin-tone","handshake-medium-light-skin-tone-dark-skin-tone","handshake-medium-light-skin-tone-light-skin-tone","handshake-medium-light-skin-tone-medium-dark-skin-tone","handshake-medium-light-skin-tone-medium-skin-tone","handshake-medium-skin-tone","handshake-medium-skin-tone-dark-skin-tone","handshake-medium-skin-tone-light-skin-tone","handshake-medium-skin-tone-medium-dark-skin-tone","handshake-medium-skin-tone-medium-light-skin-tone","hatching-chick","headphone","headstone","health-worker","health-worker-dark-skin-tone","health-worker-light-skin-tone","health-worker-medium-dark-skin-tone","health-worker-medium-light-skin-tone","health-worker-medium-skin-tone","hear-no-evil-monkey","heart-decoration","heart-exclamation","heart-hands","heart-hands-dark-skin-tone","heart-hands-light-skin-tone","heart-hands-medium-dark-skin-tone","heart-hands-medium-light-skin-tone","heart-hands-medium-skin-tone","heart-on-fire","heart-suit","heart-with-arrow","heart-with-ribbon","heavy-dollar-sign","heavy-equals-sign","hedgehog","helicopter","herb","hibiscus","high-heeled-shoe","high-speed-train","high-voltage","hiking-boot","hindu-temple","hippopotamus","hole","hollow-red-circle","honey-pot","honeybee","hook","horizontal-traffic-light","horse","horse-face","horse-racing","horse-racing-dark-skin-tone","horse-racing-light-skin-tone","horse-racing-medium-dark-skin-tone","horse-racing-medium-light-skin-tone","horse-racing-medium-skin-tone","hospital","hot-beverage","hot-dog","hot-face","hot-pepper","hot-springs","hotel","hourglass-done","hourglass-not-done","house","house-with-garden","houses","hugging-face","hundred-points","hushed-face","hut","ice","ice-cream","ice-hockey","ice-skate","id-button","identification-card","inbox-tray","incoming-envelope","index-pointing-at-the-viewer","index-pointing-at-the-viewer-dark-skin-tone","index-pointing-at-the-viewer-light-skin-tone","index-pointing-at-the-viewer-medium-dark-skin-tone","index-pointing-at-the-viewer-medium-light-skin-tone","index-pointing-at-the-viewer-medium-skin-tone","index-pointing-up","index-pointing-up-dark-skin-tone","index-pointing-up-light-skin-tone","index-pointing-up-medium-dark-skin-tone","index-pointing-up-medium-light-skin-tone","index-pointing-up-medium-skin-tone","infinity","information","input-latin-letters","input-latin-lowercase","input-latin-uppercase","input-numbers","input-symbols","jack-o-lantern","japanese-acceptable-button","japanese-application-button","japanese-bargain-button","japanese-castle","japanese-congratulations-button","japanese-discount-button","japanese-dolls","japanese-free-of-charge-button","japanese-here-button","japanese-monthly-amount-button","japanese-no-vacancy-button","japanese-not-free-of-charge-button","japanese-open-for-business-button","japanese-passing-grade-button","japanese-post-office","japanese-prohibited-button","japanese-reserved-button","japanese-secret-button","japanese-service-charge-button","japanese-symbol-for-beginner","japanese-vacancy-button","jar","jeans","joker","joystick","judge","judge-dark-skin-tone","judge-light-skin-tone","judge-medium-dark-skin-tone","judge-medium-light-skin-tone","judge-medium-skin-tone","kaaba","kangaroo","key","keyboard","keycap-0","keycap-1","keycap-10","keycap-2","keycap-3","keycap-4","keycap-5","keycap-6","keycap-7","keycap-8","keycap-9","keycap-asterisk","keycap-pound","kick-scooter","kimono","kiss","kiss-dark-skin-tone","kiss-light-skin-tone","kiss-man-man","kiss-man-man-dark-skin-tone","kiss-man-man-dark-skin-tone-light-skin-tone","kiss-man-man-dark-skin-tone-medium-dark-skin-tone","kiss-man-man-dark-skin-tone-medium-light-skin-tone","kiss-man-man-dark-skin-tone-medium-skin-tone","kiss-man-man-light-skin-tone","kiss-man-man-light-skin-tone-dark-skin-tone","kiss-man-man-light-skin-tone-medium-dark-skin-tone","kiss-man-man-light-skin-tone-medium-light-skin-tone","kiss-man-man-light-skin-tone-medium-skin-tone","kiss-man-man-medium-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-skin-tone","kiss-man-man-medium-light-skin-tone","kiss-man-man-medium-light-skin-tone-dark-skin-tone","kiss-man-man-medium-light-skin-tone-light-skin-tone","kiss-man-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-light-skin-tone-medium-skin-tone","kiss-man-man-medium-skin-tone","kiss-man-man-medium-skin-tone-dark-skin-tone","kiss-man-man-medium-skin-tone-light-skin-tone","kiss-man-man-medium-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-skin-tone-medium-light-skin-tone","kiss-mark","kiss-medium-dark-skin-tone","kiss-medium-light-skin-tone","kiss-medium-skin-tone","kiss-person-person-dark-skin-tone-light-skin-tone","kiss-person-person-dark-skin-tone-medium-dark-skin-tone","kiss-person-person-dark-skin-tone-medium-light-skin-tone","kiss-person-person-dark-skin-tone-medium-skin-tone","kiss-person-person-light-skin-tone-dark-skin-tone","kiss-person-person-light-skin-tone-medium-dark-skin-tone","kiss-person-person-light-skin-tone-medium-light-skin-tone","kiss-person-person-light-skin-tone-medium-skin-tone","kiss-person-person-medium-dark-skin-tone-dark-skin-tone","kiss-person-person-medium-dark-skin-tone-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-skin-tone","kiss-person-person-medium-light-skin-tone-dark-skin-tone","kiss-person-person-medium-light-skin-tone-light-skin-tone","kiss-person-person-medium-light-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-light-skin-tone-medium-skin-tone","kiss-person-person-medium-skin-tone-dark-skin-tone","kiss-person-person-medium-skin-tone-light-skin-tone","kiss-person-person-medium-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-skin-tone-medium-light-skin-tone","kiss-woman-man","kiss-woman-man-dark-skin-tone","kiss-woman-man-dark-skin-tone-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-dark-skin-tone","kiss-woman-man-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-skin-tone","kiss-woman-man-light-skin-tone","kiss-woman-man-light-skin-tone-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-light-skin-tone","kiss-woman-man-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-skin-tone","kiss-woman-man-medium-light-skin-tone","kiss-woman-man-medium-light-skin-tone-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-light-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-skin-tone","kiss-woman-man-medium-skin-tone-dark-skin-tone","kiss-woman-man-medium-skin-tone-light-skin-tone","kiss-woman-man-medium-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-skin-tone-medium-light-skin-tone","kiss-woman-woman","kiss-woman-woman-dark-skin-tone","kiss-woman-woman-dark-skin-tone-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-dark-skin-tone","kiss-woman-woman-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-skin-tone","kiss-woman-woman-light-skin-tone","kiss-woman-woman-light-skin-tone-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-light-skin-tone","kiss-woman-woman-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-skin-tone","kiss-woman-woman-medium-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-skin-tone","kiss-woman-woman-medium-skin-tone-dark-skin-tone","kiss-woman-woman-medium-skin-tone-light-skin-tone","kiss-woman-woman-medium-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-skin-tone-medium-light-skin-tone","kissing-cat","kissing-face","kissing-face-with-closed-eyes","kissing-face-with-smiling-eyes","kitchen-knife","kite","kiwi-fruit","knocked-out-face","knot","koala","lab-coat","label","lacrosse","ladder","lady-beetle","laptop","large-blue-diamond","large-orange-diamond","last-quarter-moon","last-quarter-moon-face","last-track-button","latin-cross","leaf-fluttering-in-wind","leafy-green","ledger","left-arrow","left-arrow-curving-right","left-facing-fist","left-facing-fist-dark-skin-tone","left-facing-fist-light-skin-tone","left-facing-fist-medium-dark-skin-tone","left-facing-fist-medium-light-skin-tone","left-facing-fist-medium-skin-tone","left-luggage","left-right-arrow","left-speech-bubble","leftwards-hand","leftwards-hand-dark-skin-tone","leftwards-hand-light-skin-tone","leftwards-hand-medium-dark-skin-tone","leftwards-hand-medium-light-skin-tone","leftwards-hand-medium-skin-tone","leg","leg-dark-skin-tone","leg-light-skin-tone","leg-medium-dark-skin-tone","leg-medium-light-skin-tone","leg-medium-skin-tone","lemon","leo","leopard","letter-a","letter-b","letter-c","letter-d","letter-e","letter-f","letter-g","letter-h","letter-i","letter-j","letter-k","letter-l","letter-m","letter-n","letter-o","letter-p","letter-q","letter-r","letter-s","letter-t","letter-u","letter-v","letter-w","letter-x","letter-y","letter-z","level-slider","libra","light-bulb","light-rail","light-skin-tone","link","linked-paperclips","lion","lipstick","litter-in-bin-sign","lizard","llama","lobster","locked","locked-with-key","locked-with-pen","locomotive","lollipop","long-drum","lotion-bottle","lotus","loudly-crying-face","loudspeaker","love-hotel","love-letter","love-you-gesture","love-you-gesture-dark-skin-tone","love-you-gesture-light-skin-tone","love-you-gesture-medium-dark-skin-tone","love-you-gesture-medium-light-skin-tone","love-you-gesture-medium-skin-tone","low-battery","luggage","lungs","lying-face","mage","mage-dark-skin-tone","mage-light-skin-tone","mage-medium-dark-skin-tone","mage-medium-light-skin-tone","mage-medium-skin-tone","magic-wand","magnet","magnifying-glass-tilted-left","magnifying-glass-tilted-right","mahjong-red-dragon","male-sign","mammoth","man","man-and-woman-holding-hands","man-artist","man-artist-dark-skin-tone","man-artist-light-skin-tone","man-artist-medium-dark-skin-tone","man-artist-medium-light-skin-tone","man-artist-medium-skin-tone","man-astronaut","man-astronaut-dark-skin-tone","man-astronaut-light-skin-tone","man-astronaut-medium-dark-skin-tone","man-astronaut-medium-light-skin-tone","man-astronaut-medium-skin-tone","man-bald","man-beard","man-biking","man-biking-dark-skin-tone","man-biking-light-skin-tone","man-biking-medium-dark-skin-tone","man-biking-medium-light-skin-tone","man-biking-medium-skin-tone","man-blond-hair","man-bouncing-ball","man-bouncing-ball-dark-skin-tone","man-bouncing-ball-light-skin-tone","man-bouncing-ball-medium-dark-skin-tone","man-bouncing-ball-medium-light-skin-tone","man-bouncing-ball-medium-skin-tone","man-bowing","man-bowing-dark-skin-tone","man-bowing-light-skin-tone","man-bowing-medium-dark-skin-tone","man-bowing-medium-light-skin-tone","man-bowing-medium-skin-tone","man-cartwheeling","man-cartwheeling-dark-skin-tone","man-cartwheeling-light-skin-tone","man-cartwheeling-medium-dark-skin-tone","man-cartwheeling-medium-light-skin-tone","man-cartwheeling-medium-skin-tone","man-climbing","man-climbing-dark-skin-tone","man-climbing-light-skin-tone","man-climbing-medium-dark-skin-tone","man-climbing-medium-light-skin-tone","man-climbing-medium-skin-tone","man-construction-worker","man-construction-worker-dark-skin-tone","man-construction-worker-light-skin-tone","man-construction-worker-medium-dark-skin-tone","man-construction-worker-medium-light-skin-tone","man-construction-worker-medium-skin-tone","man-cook","man-cook-dark-skin-tone","man-cook-light-skin-tone","man-cook-medium-dark-skin-tone","man-cook-medium-light-skin-tone","man-cook-medium-skin-tone","man-curly-hair","man-dancing","man-dancing-dark-skin-tone","man-dancing-light-skin-tone","man-dancing-medium-dark-skin-tone","man-dancing-medium-light-skin-tone","man-dancing-medium-skin-tone","man-dark-skin-tone","man-dark-skin-tone-bald","man-dark-skin-tone-beard","man-dark-skin-tone-blond-hair","man-dark-skin-tone-curly-hair","man-dark-skin-tone-red-hair","man-dark-skin-tone-white-hair","man-detective","man-detective-dark-skin-tone","man-detective-light-skin-tone","man-detective-medium-dark-skin-tone","man-detective-medium-light-skin-tone","man-detective-medium-skin-tone","man-elf","man-elf-dark-skin-tone","man-elf-light-skin-tone","man-elf-medium-dark-skin-tone","man-elf-medium-light-skin-tone","man-elf-medium-skin-tone","man-facepalming","man-facepalming-dark-skin-tone","man-facepalming-light-skin-tone","man-facepalming-medium-dark-skin-tone","man-facepalming-medium-light-skin-tone","man-facepalming-medium-skin-tone","man-factory-worker","man-factory-worker-dark-skin-tone","man-factory-worker-light-skin-tone","man-factory-worker-medium-dark-skin-tone","man-factory-worker-medium-light-skin-tone","man-factory-worker-medium-skin-tone","man-fairy","man-fairy-dark-skin-tone","man-fairy-light-skin-tone","man-fairy-medium-dark-skin-tone","man-fairy-medium-light-skin-tone","man-fairy-medium-skin-tone","man-farmer","man-farmer-dark-skin-tone","man-farmer-light-skin-tone","man-farmer-medium-dark-skin-tone","man-farmer-medium-light-skin-tone","man-farmer-medium-skin-tone","man-feeding-baby","man-feeding-baby-dark-skin-tone","man-feeding-baby-light-skin-tone","man-feeding-baby-medium-dark-skin-tone","man-feeding-baby-medium-light-skin-tone","man-feeding-baby-medium-skin-tone","man-firefighter","man-firefighter-dark-skin-tone","man-firefighter-light-skin-tone","man-firefighter-medium-dark-skin-tone","man-firefighter-medium-light-skin-tone","man-firefighter-medium-skin-tone","man-frowning","man-frowning-dark-skin-tone","man-frowning-light-skin-tone","man-frowning-medium-dark-skin-tone","man-frowning-medium-light-skin-tone","man-frowning-medium-skin-tone","man-genie","man-gesturing-no","man-gesturing-no-dark-skin-tone","man-gesturing-no-light-skin-tone","man-gesturing-no-medium-dark-skin-tone","man-gesturing-no-medium-light-skin-tone","man-gesturing-no-medium-skin-tone","man-gesturing-ok","man-gesturing-ok-dark-skin-tone","man-gesturing-ok-light-skin-tone","man-gesturing-ok-medium-dark-skin-tone","man-gesturing-ok-medium-light-skin-tone","man-gesturing-ok-medium-skin-tone","man-getting-haircut","man-getting-haircut-dark-skin-tone","man-getting-haircut-light-skin-tone","man-getting-haircut-medium-dark-skin-tone","man-getting-haircut-medium-light-skin-tone","man-getting-haircut-medium-skin-tone","man-getting-massage","man-getting-massage-dark-skin-tone","man-getting-massage-light-skin-tone","man-getting-massage-medium-dark-skin-tone","man-getting-massage-medium-light-skin-tone","man-getting-massage-medium-skin-tone","man-golfing","man-golfing-dark-skin-tone","man-golfing-light-skin-tone","man-golfing-medium-dark-skin-tone","man-golfing-medium-light-skin-tone","man-golfing-medium-skin-tone","man-guard","man-guard-dark-skin-tone","man-guard-light-skin-tone","man-guard-medium-dark-skin-tone","man-guard-medium-light-skin-tone","man-guard-medium-skin-tone","man-health-worker","man-health-worker-dark-skin-tone","man-health-worker-light-skin-tone","man-health-worker-medium-dark-skin-tone","man-health-worker-medium-light-skin-tone","man-health-worker-medium-skin-tone","man-in-lotus-position","man-in-lotus-position-dark-skin-tone","man-in-lotus-position-light-skin-tone","man-in-lotus-position-medium-dark-skin-tone","man-in-lotus-position-medium-light-skin-tone","man-in-lotus-position-medium-skin-tone","man-in-manual-wheelchair","man-in-manual-wheelchair-dark-skin-tone","man-in-manual-wheelchair-light-skin-tone","man-in-manual-wheelchair-medium-dark-skin-tone","man-in-manual-wheelchair-medium-light-skin-tone","man-in-manual-wheelchair-medium-skin-tone","man-in-motorized-wheelchair","man-in-motorized-wheelchair-dark-skin-tone","man-in-motorized-wheelchair-light-skin-tone","man-in-motorized-wheelchair-medium-dark-skin-tone","man-in-motorized-wheelchair-medium-light-skin-tone","man-in-motorized-wheelchair-medium-skin-tone","man-in-steamy-room","man-in-steamy-room-dark-skin-tone","man-in-steamy-room-light-skin-tone","man-in-steamy-room-medium-dark-skin-tone","man-in-steamy-room-medium-light-skin-tone","man-in-steamy-room-medium-skin-tone","man-in-suit-levitating","man-in-suit-levitating-dark-skin-tone","man-in-suit-levitating-light-skin-tone","man-in-suit-levitating-medium-dark-skin-tone","man-in-suit-levitating-medium-light-skin-tone","man-in-suit-levitating-medium-skin-tone","man-in-tuxedo","man-in-tuxedo-dark-skin-tone","man-in-tuxedo-light-skin-tone","man-in-tuxedo-medium-dark-skin-tone","man-in-tuxedo-medium-light-skin-tone","man-in-tuxedo-medium-skin-tone","man-judge","man-judge-dark-skin-tone","man-judge-light-skin-tone","man-judge-medium-dark-skin-tone","man-judge-medium-light-skin-tone","man-judge-medium-skin-tone","man-juggling","man-juggling-dark-skin-tone","man-juggling-light-skin-tone","man-juggling-medium-dark-skin-tone","man-juggling-medium-light-skin-tone","man-juggling-medium-skin-tone","man-kneeling","man-kneeling-dark-skin-tone","man-kneeling-light-skin-tone","man-kneeling-medium-dark-skin-tone","man-kneeling-medium-light-skin-tone","man-kneeling-medium-skin-tone","man-lifting-weights","man-lifting-weights-dark-skin-tone","man-lifting-weights-light-skin-tone","man-lifting-weights-medium-dark-skin-tone","man-lifting-weights-medium-light-skin-tone","man-lifting-weights-medium-skin-tone","man-light-skin-tone","man-light-skin-tone-bald","man-light-skin-tone-beard","man-light-skin-tone-blond-hair","man-light-skin-tone-curly-hair","man-light-skin-tone-red-hair","man-light-skin-tone-white-hair","man-mage","man-mage-dark-skin-tone","man-mage-light-skin-tone","man-mage-medium-dark-skin-tone","man-mage-medium-light-skin-tone","man-mage-medium-skin-tone","man-mechanic","man-mechanic-dark-skin-tone","man-mechanic-light-skin-tone","man-mechanic-medium-dark-skin-tone","man-mechanic-medium-light-skin-tone","man-mechanic-medium-skin-tone","man-medium-dark-skin-tone","man-medium-dark-skin-tone-bald","man-medium-dark-skin-tone-beard","man-medium-dark-skin-tone-blond-hair","man-medium-dark-skin-tone-curly-hair","man-medium-dark-skin-tone-red-hair","man-medium-dark-skin-tone-white-hair","man-medium-light-skin-tone","man-medium-light-skin-tone-bald","man-medium-light-skin-tone-beard","man-medium-light-skin-tone-blond-hair","man-medium-light-skin-tone-curly-hair","man-medium-light-skin-tone-red-hair","man-medium-light-skin-tone-white-hair","man-medium-skin-tone","man-medium-skin-tone-bald","man-medium-skin-tone-beard","man-medium-skin-tone-blond-hair","man-medium-skin-tone-curly-hair","man-medium-skin-tone-red-hair","man-medium-skin-tone-white-hair","man-mountain-biking","man-mountain-biking-dark-skin-tone","man-mountain-biking-light-skin-tone","man-mountain-biking-medium-dark-skin-tone","man-mountain-biking-medium-light-skin-tone","man-mountain-biking-medium-skin-tone","man-office-worker","man-office-worker-dark-skin-tone","man-office-worker-light-skin-tone","man-office-worker-medium-dark-skin-tone","man-office-worker-medium-light-skin-tone","man-office-worker-medium-skin-tone","man-pilot","man-pilot-dark-skin-tone","man-pilot-light-skin-tone","man-pilot-medium-dark-skin-tone","man-pilot-medium-light-skin-tone","man-pilot-medium-skin-tone","man-playing-handball","man-playing-handball-dark-skin-tone","man-playing-handball-light-skin-tone","man-playing-handball-medium-dark-skin-tone","man-playing-handball-medium-light-skin-tone","man-playing-handball-medium-skin-tone","man-playing-water-polo","man-playing-water-polo-dark-skin-tone","man-playing-water-polo-light-skin-tone","man-playing-water-polo-medium-dark-skin-tone","man-playing-water-polo-medium-light-skin-tone","man-playing-water-polo-medium-skin-tone","man-police-officer","man-police-officer-dark-skin-tone","man-police-officer-light-skin-tone","man-police-officer-medium-dark-skin-tone","man-police-officer-medium-light-skin-tone","man-police-officer-medium-skin-tone","man-pouting","man-pouting-dark-skin-tone","man-pouting-light-skin-tone","man-pouting-medium-dark-skin-tone","man-pouting-medium-light-skin-tone","man-pouting-medium-skin-tone","man-raising-hand","man-raising-hand-dark-skin-tone","man-raising-hand-light-skin-tone","man-raising-hand-medium-dark-skin-tone","man-raising-hand-medium-light-skin-tone","man-raising-hand-medium-skin-tone","man-red-hair","man-rowing-boat","man-rowing-boat-dark-skin-tone","man-rowing-boat-light-skin-tone","man-rowing-boat-medium-dark-skin-tone","man-rowing-boat-medium-light-skin-tone","man-rowing-boat-medium-skin-tone","man-running","man-running-dark-skin-tone","man-running-light-skin-tone","man-running-medium-dark-skin-tone","man-running-medium-light-skin-tone","man-running-medium-skin-tone","man-scientist","man-scientist-dark-skin-tone","man-scientist-light-skin-tone","man-scientist-medium-dark-skin-tone","man-scientist-medium-light-skin-tone","man-scientist-medium-skin-tone","man-shrugging","man-shrugging-dark-skin-tone","man-shrugging-light-skin-tone","man-shrugging-medium-dark-skin-tone","man-shrugging-medium-light-skin-tone","man-shrugging-medium-skin-tone","man-singer","man-singer-dark-skin-tone","man-singer-light-skin-tone","man-singer-medium-dark-skin-tone","man-singer-medium-light-skin-tone","man-singer-medium-skin-tone","man-standing","man-standing-dark-skin-tone","man-standing-light-skin-tone","man-standing-medium-dark-skin-tone","man-standing-medium-light-skin-tone","man-standing-medium-skin-tone","man-student","man-student-dark-skin-tone","man-student-light-skin-tone","man-student-medium-dark-skin-tone","man-student-medium-light-skin-tone","man-student-medium-skin-tone","man-superhero","man-superhero-dark-skin-tone","man-superhero-light-skin-tone","man-superhero-medium-dark-skin-tone","man-superhero-medium-light-skin-tone","man-superhero-medium-skin-tone","man-supervillain","man-supervillain-dark-skin-tone","man-supervillain-light-skin-tone","man-supervillain-medium-dark-skin-tone","man-supervillain-medium-light-skin-tone","man-supervillain-medium-skin-tone","man-surfing","man-surfing-dark-skin-tone","man-surfing-light-skin-tone","man-surfing-medium-dark-skin-tone","man-surfing-medium-light-skin-tone","man-surfing-medium-skin-tone","man-swimming","man-swimming-dark-skin-tone","man-swimming-light-skin-tone","man-swimming-medium-dark-skin-tone","man-swimming-medium-light-skin-tone","man-swimming-medium-skin-tone","man-teacher","man-teacher-dark-skin-tone","man-teacher-light-skin-tone","man-teacher-medium-dark-skin-tone","man-teacher-medium-light-skin-tone","man-teacher-medium-skin-tone","man-technologist","man-technologist-dark-skin-tone","man-technologist-light-skin-tone","man-technologist-medium-dark-skin-tone","man-technologist-medium-light-skin-tone","man-technologist-medium-skin-tone","man-tipping-hand","man-tipping-hand-dark-skin-tone","man-tipping-hand-light-skin-tone","man-tipping-hand-medium-dark-skin-tone","man-tipping-hand-medium-light-skin-tone","man-tipping-hand-medium-skin-tone","man-vampire","man-vampire-dark-skin-tone","man-vampire-light-skin-tone","man-vampire-medium-dark-skin-tone","man-vampire-medium-light-skin-tone","man-vampire-medium-skin-tone","man-walking","man-walking-dark-skin-tone","man-walking-light-skin-tone","man-walking-medium-dark-skin-tone","man-walking-medium-light-skin-tone","man-walking-medium-skin-tone","man-wearing-turban","man-wearing-turban-dark-skin-tone","man-wearing-turban-light-skin-tone","man-wearing-turban-medium-dark-skin-tone","man-wearing-turban-medium-light-skin-tone","man-wearing-turban-medium-skin-tone","man-white-hair","man-with-veil","man-with-veil-dark-skin-tone","man-with-veil-light-skin-tone","man-with-veil-medium-dark-skin-tone","man-with-veil-medium-light-skin-tone","man-with-veil-medium-skin-tone","man-with-white-cane","man-with-white-cane-dark-skin-tone","man-with-white-cane-light-skin-tone","man-with-white-cane-medium-dark-skin-tone","man-with-white-cane-medium-light-skin-tone","man-with-white-cane-medium-skin-tone","man-zombie","mango","mans-shoe","mantelpiece-clock","manual-wheelchair","map-of-japan","maple-leaf","martial-arts-uniform","mate","meat-on-bone","mechanic","mechanic-dark-skin-tone","mechanic-light-skin-tone","mechanic-medium-dark-skin-tone","mechanic-medium-light-skin-tone","mechanic-medium-skin-tone","mechanical-arm","mechanical-leg","medical-symbol","medium-dark-skin-tone","medium-light-skin-tone","medium-skin-tone","megaphone","melon","melting-face","memo","men-holding-hands","men-holding-hands-dark-skin-tone","men-holding-hands-dark-skin-tone-light-skin-tone","men-holding-hands-dark-skin-tone-medium-dark-skin-tone","men-holding-hands-dark-skin-tone-medium-light-skin-tone","men-holding-hands-dark-skin-tone-medium-skin-tone","men-holding-hands-light-skin-tone","men-holding-hands-light-skin-tone-dark-skin-tone","men-holding-hands-light-skin-tone-medium-dark-skin-tone","men-holding-hands-light-skin-tone-medium-light-skin-tone","men-holding-hands-light-skin-tone-medium-skin-tone","men-holding-hands-medium-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-skin-tone","men-holding-hands-medium-light-skin-tone","men-holding-hands-medium-light-skin-tone-dark-skin-tone","men-holding-hands-medium-light-skin-tone-light-skin-tone","men-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-light-skin-tone-medium-skin-tone","men-holding-hands-medium-skin-tone","men-holding-hands-medium-skin-tone-dark-skin-tone","men-holding-hands-medium-skin-tone-light-skin-tone","men-holding-hands-medium-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-skin-tone-medium-light-skin-tone","men-with-bunny-ears","men-wrestling","mending-heart","menorah","mens-room","mermaid","mermaid-dark-skin-tone","mermaid-light-skin-tone","mermaid-medium-dark-skin-tone","mermaid-medium-light-skin-tone","mermaid-medium-skin-tone","merman","merman-dark-skin-tone","merman-light-skin-tone","merman-medium-dark-skin-tone","merman-medium-light-skin-tone","merman-medium-skin-tone","merperson","merperson-dark-skin-tone","merperson-light-skin-tone","merperson-medium-dark-skin-tone","merperson-medium-light-skin-tone","merperson-medium-skin-tone","metro","microbe","microphone","microscope","middle-finger","middle-finger-dark-skin-tone","middle-finger-light-skin-tone","middle-finger-medium-dark-skin-tone","middle-finger-medium-light-skin-tone","middle-finger-medium-skin-tone","military-helmet","military-medal","milky-way","minibus","minus","mirror","mirror-ball","moai","mobile-phone","mobile-phone-off","mobile-phone-with-arrow","money-bag","money-mouth-face","money-with-wings","monkey","monkey-face","monorail","moon-cake","moon-viewing-ceremony","mosque","mosquito","motor-boat","motor-scooter","motorcycle","motorized-wheelchair","motorway","mount-fuji","mountain","mountain-cableway","mountain-railway","mouse","mouse-face","mouse-trap","mouth","movie-camera","mrs-claus","mrs-claus-dark-skin-tone","mrs-claus-light-skin-tone","mrs-claus-medium-dark-skin-tone","mrs-claus-medium-light-skin-tone","mrs-claus-medium-skin-tone","multiply","mushroom","musical-keyboard","musical-note","musical-notes","musical-score","muted-speaker","mx-claus","mx-claus-dark-skin-tone","mx-claus-light-skin-tone","mx-claus-medium-dark-skin-tone","mx-claus-medium-light-skin-tone","mx-claus-medium-skin-tone","nail-polish","nail-polish-dark-skin-tone","nail-polish-light-skin-tone","nail-polish-medium-dark-skin-tone","nail-polish-medium-light-skin-tone","nail-polish-medium-skin-tone","name-badge","national-park","nauseated-face","nazar-amulet","necktie","nerd-face","nest-with-eggs","nesting-dolls","neutral-face","new-button","new-moon","new-moon-face","newspaper","next-track-button","ng-button","night-with-stars","nine-oclock","nine-thirty","ninja","ninja-dark-skin-tone","ninja-light-skin-tone","ninja-medium-dark-skin-tone","ninja-medium-light-skin-tone","ninja-medium-skin-tone","no-bicycles","no-entry","no-littering","no-mobile-phones","no-one-under-eighteen","no-pedestrians","no-smoking","non-potable-water","nose","nose-dark-skin-tone","nose-light-skin-tone","nose-medium-dark-skin-tone","nose-medium-light-skin-tone","nose-medium-skin-tone","notebook","notebook-with-decorative-cover","nut-and-bolt","o-button-blood-type","octopus","oden","office-building","office-worker","office-worker-dark-skin-tone","office-worker-light-skin-tone","office-worker-medium-dark-skin-tone","office-worker-medium-light-skin-tone","office-worker-medium-skin-tone","ogre","oil-drum","ok-button","ok-hand","ok-hand-dark-skin-tone","ok-hand-light-skin-tone","ok-hand-medium-dark-skin-tone","ok-hand-medium-light-skin-tone","ok-hand-medium-skin-tone","old-key","old-man","old-man-dark-skin-tone","old-man-light-skin-tone","old-man-medium-dark-skin-tone","old-man-medium-light-skin-tone","old-man-medium-skin-tone","old-woman","old-woman-dark-skin-tone","old-woman-light-skin-tone","old-woman-medium-dark-skin-tone","old-woman-medium-light-skin-tone","old-woman-medium-skin-tone","older-adult","older-adult-dark-skin-tone","older-adult-light-skin-tone","older-adult-medium-dark-skin-tone","older-adult-medium-light-skin-tone","older-adult-medium-skin-tone","older-person","older-person-dark-skin-tone","older-person-light-skin-tone","older-person-medium-dark-skin-tone","older-person-medium-light-skin-tone","older-person-medium-skin-tone","olive","om","on-exclamation-arrow","oncoming-automobile","oncoming-bus","oncoming-fist","oncoming-fist-dark-skin-tone","oncoming-fist-light-skin-tone","oncoming-fist-medium-dark-skin-tone","oncoming-fist-medium-light-skin-tone","oncoming-fist-medium-skin-tone","oncoming-police-car","oncoming-taxi","one-oclock","one-piece-swimsuit","one-thirty","onion","open-book","open-file-folder","open-hands","open-hands-dark-skin-tone","open-hands-light-skin-tone","open-hands-medium-dark-skin-tone","open-hands-medium-light-skin-tone","open-hands-medium-skin-tone","open-mailbox-with-lowered-flag","open-mailbox-with-raised-flag","ophiuchus","optical-disk","orange-book","orange-circle","orange-heart","orange-square","orangutan","orthodox-cross","otter","outbox-tray","owl","ox","oyster","p-button","package","page-facing-up","page-with-curl","pager","paintbrush","palm-down-hand","palm-down-hand-dark-skin-tone","palm-down-hand-light-skin-tone","palm-down-hand-medium-dark-skin-tone","palm-down-hand-medium-light-skin-tone","palm-down-hand-medium-skin-tone","palm-tree","palm-up-hand","palm-up-hand-dark-skin-tone","palm-up-hand-light-skin-tone","palm-up-hand-medium-dark-skin-tone","palm-up-hand-medium-light-skin-tone","palm-up-hand-medium-skin-tone","palms-up-together","palms-up-together-dark-skin-tone","palms-up-together-light-skin-tone","palms-up-together-medium-dark-skin-tone","palms-up-together-medium-light-skin-tone","palms-up-together-medium-skin-tone","pancakes","panda","paperclip","parachute","parrot","part-alternation-mark","party-popper","partying-face","passenger-ship","passport-control","pause-button","paw-prints","peace-symbol","peach","peacock","peanuts","pear","pen","pencil","penguin","pensive-face","people-holding-hands","people-holding-hands-dark-skin-tone","people-holding-hands-dark-skin-tone-light-skin-tone","people-holding-hands-dark-skin-tone-medium-dark-skin-tone","people-holding-hands-dark-skin-tone-medium-light-skin-tone","people-holding-hands-dark-skin-tone-medium-skin-tone","people-holding-hands-light-skin-tone","people-holding-hands-light-skin-tone-dark-skin-tone","people-holding-hands-light-skin-tone-medium-dark-skin-tone","people-holding-hands-light-skin-tone-medium-light-skin-tone","people-holding-hands-light-skin-tone-medium-skin-tone","people-holding-hands-medium-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-skin-tone","people-holding-hands-medium-light-skin-tone","people-holding-hands-medium-light-skin-tone-dark-skin-tone","people-holding-hands-medium-light-skin-tone-light-skin-tone","people-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-light-skin-tone-medium-skin-tone","people-holding-hands-medium-skin-tone","people-holding-hands-medium-skin-tone-dark-skin-tone","people-holding-hands-medium-skin-tone-light-skin-tone","people-holding-hands-medium-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-skin-tone-medium-light-skin-tone","people-hugging","people-with-bunny-ears","people-wrestling","performing-arts","persevering-face","person","person-bald","person-beard","person-biking","person-biking-dark-skin-tone","person-biking-light-skin-tone","person-biking-medium-dark-skin-tone","person-biking-medium-light-skin-tone","person-biking-medium-skin-tone","person-blond-hair","person-bouncing-ball","person-bouncing-ball-dark-skin-tone","person-bouncing-ball-light-skin-tone","person-bouncing-ball-medium-dark-skin-tone","person-bouncing-ball-medium-light-skin-tone","person-bouncing-ball-medium-skin-tone","person-bowing","person-bowing-dark-skin-tone","person-bowing-light-skin-tone","person-bowing-medium-dark-skin-tone","person-bowing-medium-light-skin-tone","person-bowing-medium-skin-tone","person-cartwheeling","person-cartwheeling-dark-skin-tone","person-cartwheeling-light-skin-tone","person-cartwheeling-medium-dark-skin-tone","person-cartwheeling-medium-light-skin-tone","person-cartwheeling-medium-skin-tone","person-climbing","person-climbing-dark-skin-tone","person-climbing-light-skin-tone","person-climbing-medium-dark-skin-tone","person-climbing-medium-light-skin-tone","person-climbing-medium-skin-tone","person-curly-hair","person-dark-skin-tone","person-dark-skin-tone-bald","person-dark-skin-tone-beard","person-dark-skin-tone-blond-hair","person-dark-skin-tone-curly-hair","person-dark-skin-tone-red-hair","person-dark-skin-tone-white-hair","person-facepalming","person-facepalming-dark-skin-tone","person-facepalming-light-skin-tone","person-facepalming-medium-dark-skin-tone","person-facepalming-medium-light-skin-tone","person-facepalming-medium-skin-tone","person-feeding-baby","person-feeding-baby-dark-skin-tone","person-feeding-baby-light-skin-tone","person-feeding-baby-medium-dark-skin-tone","person-feeding-baby-medium-light-skin-tone","person-feeding-baby-medium-skin-tone","person-fencing","person-frowning","person-frowning-dark-skin-tone","person-frowning-light-skin-tone","person-frowning-medium-dark-skin-tone","person-frowning-medium-light-skin-tone","person-frowning-medium-skin-tone","person-gesturing-no","person-gesturing-no-dark-skin-tone","person-gesturing-no-light-skin-tone","person-gesturing-no-medium-dark-skin-tone","person-gesturing-no-medium-light-skin-tone","person-gesturing-no-medium-skin-tone","person-gesturing-ok","person-gesturing-ok-dark-skin-tone","person-gesturing-ok-light-skin-tone","person-gesturing-ok-medium-dark-skin-tone","person-gesturing-ok-medium-light-skin-tone","person-gesturing-ok-medium-skin-tone","person-getting-haircut","person-getting-haircut-dark-skin-tone","person-getting-haircut-light-skin-tone","person-getting-haircut-medium-dark-skin-tone","person-getting-haircut-medium-light-skin-tone","person-getting-haircut-medium-skin-tone","person-getting-massage","person-getting-massage-dark-skin-tone","person-getting-massage-light-skin-tone","person-getting-massage-medium-dark-skin-tone","person-getting-massage-medium-light-skin-tone","person-getting-massage-medium-skin-tone","person-golfing","person-golfing-dark-skin-tone","person-golfing-light-skin-tone","person-golfing-medium-dark-skin-tone","person-golfing-medium-light-skin-tone","person-golfing-medium-skin-tone","person-in-bed","person-in-bed-dark-skin-tone","person-in-bed-light-skin-tone","person-in-bed-medium-dark-skin-tone","person-in-bed-medium-light-skin-tone","person-in-bed-medium-skin-tone","person-in-lotus-position","person-in-lotus-position-dark-skin-tone","person-in-lotus-position-light-skin-tone","person-in-lotus-position-medium-dark-skin-tone","person-in-lotus-position-medium-light-skin-tone","person-in-lotus-position-medium-skin-tone","person-in-manual-wheelchair","person-in-manual-wheelchair-dark-skin-tone","person-in-manual-wheelchair-light-skin-tone","person-in-manual-wheelchair-medium-dark-skin-tone","person-in-manual-wheelchair-medium-light-skin-tone","person-in-manual-wheelchair-medium-skin-tone","person-in-motorized-wheelchair","person-in-motorized-wheelchair-dark-skin-tone","person-in-motorized-wheelchair-light-skin-tone","person-in-motorized-wheelchair-medium-dark-skin-tone","person-in-motorized-wheelchair-medium-light-skin-tone","person-in-motorized-wheelchair-medium-skin-tone","person-in-steamy-room","person-in-steamy-room-dark-skin-tone","person-in-steamy-room-light-skin-tone","person-in-steamy-room-medium-dark-skin-tone","person-in-steamy-room-medium-light-skin-tone","person-in-steamy-room-medium-skin-tone","person-in-suit-levitating","person-in-suit-levitating-dark-skin-tone","person-in-suit-levitating-light-skin-tone","person-in-suit-levitating-medium-dark-skin-tone","person-in-suit-levitating-medium-light-skin-tone","person-in-suit-levitating-medium-skin-tone","person-in-tuxedo","person-in-tuxedo-dark-skin-tone","person-in-tuxedo-light-skin-tone","person-in-tuxedo-medium-dark-skin-tone","person-in-tuxedo-medium-light-skin-tone","person-in-tuxedo-medium-skin-tone","person-juggling","person-juggling-dark-skin-tone","person-juggling-light-skin-tone","person-juggling-medium-dark-skin-tone","person-juggling-medium-light-skin-tone","person-juggling-medium-skin-tone","person-kneeling","person-kneeling-dark-skin-tone","person-kneeling-light-skin-tone","person-kneeling-medium-dark-skin-tone","person-kneeling-medium-light-skin-tone","person-kneeling-medium-skin-tone","person-lifting-weights","person-lifting-weights-dark-skin-tone","person-lifting-weights-light-skin-tone","person-lifting-weights-medium-dark-skin-tone","person-lifting-weights-medium-light-skin-tone","person-lifting-weights-medium-skin-tone","person-light-skin-tone","person-light-skin-tone-bald","person-light-skin-tone-beard","person-light-skin-tone-blond-hair","person-light-skin-tone-curly-hair","person-light-skin-tone-red-hair","person-light-skin-tone-white-hair","person-medium-dark-skin-tone","person-medium-dark-skin-tone-bald","person-medium-dark-skin-tone-beard","person-medium-dark-skin-tone-blond-hair","person-medium-dark-skin-tone-curly-hair","person-medium-dark-skin-tone-red-hair","person-medium-dark-skin-tone-white-hair","person-medium-light-skin-tone","person-medium-light-skin-tone-bald","person-medium-light-skin-tone-beard","person-medium-light-skin-tone-blond-hair","person-medium-light-skin-tone-curly-hair","person-medium-light-skin-tone-red-hair","person-medium-light-skin-tone-white-hair","person-medium-skin-tone","person-medium-skin-tone-bald","person-medium-skin-tone-beard","person-medium-skin-tone-blond-hair","person-medium-skin-tone-curly-hair","person-medium-skin-tone-red-hair","person-medium-skin-tone-white-hair","person-mountain-biking","person-mountain-biking-dark-skin-tone","person-mountain-biking-light-skin-tone","person-mountain-biking-medium-dark-skin-tone","person-mountain-biking-medium-light-skin-tone","person-mountain-biking-medium-skin-tone","person-playing-handball","person-playing-handball-dark-skin-tone","person-playing-handball-light-skin-tone","person-playing-handball-medium-dark-skin-tone","person-playing-handball-medium-light-skin-tone","person-playing-handball-medium-skin-tone","person-playing-water-polo","person-playing-water-polo-dark-skin-tone","person-playing-water-polo-light-skin-tone","person-playing-water-polo-medium-dark-skin-tone","person-playing-water-polo-medium-light-skin-tone","person-playing-water-polo-medium-skin-tone","person-pouting","person-pouting-dark-skin-tone","person-pouting-light-skin-tone","person-pouting-medium-dark-skin-tone","person-pouting-medium-light-skin-tone","person-pouting-medium-skin-tone","person-raising-hand","person-raising-hand-dark-skin-tone","person-raising-hand-light-skin-tone","person-raising-hand-medium-dark-skin-tone","person-raising-hand-medium-light-skin-tone","person-raising-hand-medium-skin-tone","person-red-hair","person-rowing-boat","person-rowing-boat-dark-skin-tone","person-rowing-boat-light-skin-tone","person-rowing-boat-medium-dark-skin-tone","person-rowing-boat-medium-light-skin-tone","person-rowing-boat-medium-skin-tone","person-running","person-running-dark-skin-tone","person-running-light-skin-tone","person-running-medium-dark-skin-tone","person-running-medium-light-skin-tone","person-running-medium-skin-tone","person-shrugging","person-shrugging-dark-skin-tone","person-shrugging-light-skin-tone","person-shrugging-medium-dark-skin-tone","person-shrugging-medium-light-skin-tone","person-shrugging-medium-skin-tone","person-standing","person-standing-dark-skin-tone","person-standing-light-skin-tone","person-standing-medium-dark-skin-tone","person-standing-medium-light-skin-tone","person-standing-medium-skin-tone","person-surfing","person-surfing-dark-skin-tone","person-surfing-light-skin-tone","person-surfing-medium-dark-skin-tone","person-surfing-medium-light-skin-tone","person-surfing-medium-skin-tone","person-swimming","person-swimming-dark-skin-tone","person-swimming-light-skin-tone","person-swimming-medium-dark-skin-tone","person-swimming-medium-light-skin-tone","person-swimming-medium-skin-tone","person-taking-bath","person-taking-bath-dark-skin-tone","person-taking-bath-light-skin-tone","person-taking-bath-medium-dark-skin-tone","person-taking-bath-medium-light-skin-tone","person-taking-bath-medium-skin-tone","person-tipping-hand","person-tipping-hand-dark-skin-tone","person-tipping-hand-light-skin-tone","person-tipping-hand-medium-dark-skin-tone","person-tipping-hand-medium-light-skin-tone","person-tipping-hand-medium-skin-tone","person-walking","person-walking-dark-skin-tone","person-walking-light-skin-tone","person-walking-medium-dark-skin-tone","person-walking-medium-light-skin-tone","person-walking-medium-skin-tone","person-wearing-turban","person-wearing-turban-dark-skin-tone","person-wearing-turban-light-skin-tone","person-wearing-turban-medium-dark-skin-tone","person-wearing-turban-medium-light-skin-tone","person-wearing-turban-medium-skin-tone","person-white-hair","person-with-crown","person-with-crown-dark-skin-tone","person-with-crown-light-skin-tone","person-with-crown-medium-dark-skin-tone","person-with-crown-medium-light-skin-tone","person-with-crown-medium-skin-tone","person-with-skullcap","person-with-skullcap-dark-skin-tone","person-with-skullcap-light-skin-tone","person-with-skullcap-medium-dark-skin-tone","person-with-skullcap-medium-light-skin-tone","person-with-skullcap-medium-skin-tone","person-with-veil","person-with-veil-dark-skin-tone","person-with-veil-light-skin-tone","person-with-veil-medium-dark-skin-tone","person-with-veil-medium-light-skin-tone","person-with-veil-medium-skin-tone","person-with-white-cane","person-with-white-cane-dark-skin-tone","person-with-white-cane-light-skin-tone","person-with-white-cane-medium-dark-skin-tone","person-with-white-cane-medium-light-skin-tone","person-with-white-cane-medium-skin-tone","petri-dish","pick","pickup-truck","pie","pig","pig-face","pig-nose","pile-of-poo","pill","pilot","pilot-dark-skin-tone","pilot-light-skin-tone","pilot-medium-dark-skin-tone","pilot-medium-light-skin-tone","pilot-medium-skin-tone","pinata","pinched-fingers","pinched-fingers-dark-skin-tone","pinched-fingers-light-skin-tone","pinched-fingers-medium-dark-skin-tone","pinched-fingers-medium-light-skin-tone","pinched-fingers-medium-skin-tone","pinching-hand","pinching-hand-dark-skin-tone","pinching-hand-light-skin-tone","pinching-hand-medium-dark-skin-tone","pinching-hand-medium-light-skin-tone","pinching-hand-medium-skin-tone","pine-decoration","pineapple","ping-pong","pirate-flag","pisces","pizza","placard","place-of-worship","play-button","play-or-pause-button","playground-slide","pleading-face","plunger","plus","polar-bear","police-car","police-car-light","police-officer","police-officer-dark-skin-tone","police-officer-light-skin-tone","police-officer-medium-dark-skin-tone","police-officer-medium-light-skin-tone","police-officer-medium-skin-tone","poodle","pool-8-ball","popcorn","post-office","postal-horn","postbox","pot-of-food","potable-water","potato","potted-plant","poultry-leg","pound-banknote","pouring-liquid","pouting-cat","prayer-beads","pregnant-man","pregnant-man-dark-skin-tone","pregnant-man-light-skin-tone","pregnant-man-medium-dark-skin-tone","pregnant-man-medium-light-skin-tone","pregnant-man-medium-skin-tone","pregnant-person","pregnant-person-dark-skin-tone","pregnant-person-light-skin-tone","pregnant-person-medium-dark-skin-tone","pregnant-person-medium-light-skin-tone","pregnant-person-medium-skin-tone","pregnant-woman","pregnant-woman-dark-skin-tone","pregnant-woman-light-skin-tone","pregnant-woman-medium-dark-skin-tone","pregnant-woman-medium-light-skin-tone","pregnant-woman-medium-skin-tone","pretzel","prince","prince-dark-skin-tone","prince-light-skin-tone","prince-medium-dark-skin-tone","prince-medium-light-skin-tone","prince-medium-skin-tone","princess","princess-dark-skin-tone","princess-light-skin-tone","princess-medium-dark-skin-tone","princess-medium-light-skin-tone","princess-medium-skin-tone","printer","prohibited","purple-circle","purple-heart","purple-square","purse","pushpin","puzzle-piece","rabbit","rabbit-face","raccoon","racing-car","radio","radio-button","radioactive","railway-car","railway-track","rainbow","rainbow-flag","raised-back-of-hand","raised-back-of-hand-dark-skin-tone","raised-back-of-hand-light-skin-tone","raised-back-of-hand-medium-dark-skin-tone","raised-back-of-hand-medium-light-skin-tone","raised-back-of-hand-medium-skin-tone","raised-fist","raised-fist-dark-skin-tone","raised-fist-light-skin-tone","raised-fist-medium-dark-skin-tone","raised-fist-medium-light-skin-tone","raised-fist-medium-skin-tone","raised-hand","raised-hand-dark-skin-tone","raised-hand-light-skin-tone","raised-hand-medium-dark-skin-tone","raised-hand-medium-light-skin-tone","raised-hand-medium-skin-tone","raising-hands","raising-hands-dark-skin-tone","raising-hands-light-skin-tone","raising-hands-medium-dark-skin-tone","raising-hands-medium-light-skin-tone","raising-hands-medium-skin-tone","ram","rat","razor","receipt","record-button","recycling-symbol","red-apple","red-circle","red-envelope","red-exclamation-mark","red-haired","red-heart","red-paper-lantern","red-question-mark","red-square","red-triangle-pointed-down","red-triangle-pointed-up","registered","relieved-face","reminder-ribbon","repeat-button","repeat-single-button","rescue-workers-helmet","restroom","reverse-button","revolving-hearts","rhinoceros","ribbon","rice-ball","rice-cracker","right-anger-bubble","right-arrow","right-arrow-curving-down","right-arrow-curving-left","right-arrow-curving-up","right-facing-fist","right-facing-fist-dark-skin-tone","right-facing-fist-light-skin-tone","right-facing-fist-medium-dark-skin-tone","right-facing-fist-medium-light-skin-tone","right-facing-fist-medium-skin-tone","rightwards-hand","rightwards-hand-dark-skin-tone","rightwards-hand-light-skin-tone","rightwards-hand-medium-dark-skin-tone","rightwards-hand-medium-light-skin-tone","rightwards-hand-medium-skin-tone","ring","ring-buoy","ringed-planet","roasted-sweet-potato","robot","rock","rocket","roll-of-paper","rolled-up-newspaper","roller-coaster","roller-skate","rolling-on-the-floor-laughing","rooster","rose","rosette","round-pushpin","rugby-football","running-shirt","running-shoe","sad-but-relieved-face","safety-pin","safety-vest","sagittarius","sailboat","sake","salt","saluting-face","sandwich","santa-claus","santa-claus-dark-skin-tone","santa-claus-light-skin-tone","santa-claus-medium-dark-skin-tone","santa-claus-medium-light-skin-tone","santa-claus-medium-skin-tone","sari","satellite","satellite-antenna","sauropod","saxophone","scarf","school","scientist","scientist-dark-skin-tone","scientist-light-skin-tone","scientist-medium-dark-skin-tone","scientist-medium-light-skin-tone","scientist-medium-skin-tone","scissors","scorpio","scorpion","screwdriver","scroll","seal","seat","see-no-evil-monkey","seedling","selfie","selfie-dark-skin-tone","selfie-light-skin-tone","selfie-medium-dark-skin-tone","selfie-medium-light-skin-tone","selfie-medium-skin-tone","service-dog","seven-oclock","seven-thirty","sewing-needle","shallow-pan-of-food","shamrock","shark","shaved-ice","sheaf-of-rice","shibuya-109-department-store","shield","shinto-shrine","ship","shooting-star","shopping-bags","shopping-cart","shortcake","shorts","shower","shrimp","shuffle-tracks-button","shushing-face","sign-of-the-horns","sign-of-the-horns-dark-skin-tone","sign-of-the-horns-light-skin-tone","sign-of-the-horns-medium-dark-skin-tone","sign-of-the-horns-medium-light-skin-tone","sign-of-the-horns-medium-skin-tone","singer","singer-dark-skin-tone","singer-light-skin-tone","singer-medium-dark-skin-tone","singer-medium-light-skin-tone","singer-medium-skin-tone","six-oclock","six-thirty","skateboard","skier","skier-dark-skin-tone","skier-light-skin-tone","skier-medium-dark-skin-tone","skier-medium-light-skin-tone","skier-medium-skin-tone","skis","skull","skull-and-crossbones","skunk","sled","sleeping-face","sleepy-face","slightly-frowning-face","slightly-smiling-face","slot-machine","sloth","small-airplane","small-blue-diamond","small-orange-diamond","smiling-cat-with-heart-eyes","smiling-face","smiling-face-with-halo","smiling-face-with-heart-eyes","smiling-face-with-hearts","smiling-face-with-horns","smiling-face-with-open-hands","smiling-face-with-smiling-eyes","smiling-face-with-sunglasses","smiling-face-with-tear","smirking-face","snail","snake","sneezing-face","snow-capped-mountain","snowboarder","snowboarder-dark-skin-tone","snowboarder-light-skin-tone","snowboarder-medium-dark-skin-tone","snowboarder-medium-light-skin-tone","snowboarder-medium-skin-tone","snowflake","snowman","snowman-without-snow","soap","soccer-ball","socks","soft-ice-cream","softball","soon-arrow","sos-button","spade-suit","spaghetti","sparkle","sparkler","sparkles","sparkling-heart","speak-no-evil-monkey","speaker-high-volume","speaker-low-volume","speaker-medium-volume","speaking-head","speech-balloon","speedboat","spider","spider-web","spiral-calendar","spiral-notepad","spiral-shell","sponge","spoon","sport-utility-vehicle","sports-medal","spouting-whale","squid","squinting-face-with-tongue","stadium","star","star-and-crescent","star-of-david","star-struck","station","statue-of-liberty","steaming-bowl","stethoscope","stop-button","stop-sign","stopwatch","straight-ruler","strawberry","student","student-dark-skin-tone","student-light-skin-tone","student-medium-dark-skin-tone","student-medium-light-skin-tone","student-medium-skin-tone","studio-microphone","stuffed-flatbread","sun","sun-behind-cloud","sun-behind-large-cloud","sun-behind-rain-cloud","sun-behind-small-cloud","sun-with-face","sunflower","sunglasses","sunrise","sunrise-over-mountains","sunset","superhero","superhero-dark-skin-tone","superhero-light-skin-tone","superhero-medium-dark-skin-tone","superhero-medium-light-skin-tone","superhero-medium-skin-tone","supervillain","supervillain-dark-skin-tone","supervillain-light-skin-tone","supervillain-medium-dark-skin-tone","supervillain-medium-light-skin-tone","supervillain-medium-skin-tone","sushi","suspension-railway","swan","sweat-droplets","synagogue","syringe","t-rex","t-shirt","taco","takeout-box","tamale","tanabata-tree","tangerine","taurus","taxi","teacher","teacher-dark-skin-tone","teacher-light-skin-tone","teacher-medium-dark-skin-tone","teacher-medium-light-skin-tone","teacher-medium-skin-tone","teacup-without-handle","teapot","tear-off-calendar","technologist","technologist-dark-skin-tone","technologist-light-skin-tone","technologist-medium-dark-skin-tone","technologist-medium-light-skin-tone","technologist-medium-skin-tone","teddy-bear","telephone","telephone-receiver","telescope","television","ten-oclock","ten-thirty","tennis","tent","test-tube","thermometer","thinking-face","thong-sandal","thought-balloon","thread","three-oclock","three-thirty","thumbs-down","thumbs-down-dark-skin-tone","thumbs-down-light-skin-tone","thumbs-down-medium-dark-skin-tone","thumbs-down-medium-light-skin-tone","thumbs-down-medium-skin-tone","thumbs-up","thumbs-up-dark-skin-tone","thumbs-up-light-skin-tone","thumbs-up-medium-dark-skin-tone","thumbs-up-medium-light-skin-tone","thumbs-up-medium-skin-tone","ticket","tiger","tiger-face","timer-clock","tired-face","toilet","tokyo-tower","tomato","tongue","toolbox","tooth","toothbrush","top-arrow","top-hat","tornado","trackball","tractor","trade-mark","train","tram","tram-car","transgender-flag","transgender-symbol","triangular-flag","triangular-ruler","trident-emblem","troll","trolleybus","trophy","tropical-drink","tropical-fish","trumpet","tulip","tumbler-glass","turkey","turtle","twelve-oclock","twelve-thirty","two-hearts","two-hump-camel","two-men-holding-hands","two-oclock","two-thirty","two-women-holding-hands","umbrella","umbrella-on-ground","umbrella-with-rain-drops","unamused-face","unicorn","unlocked","up-arrow","up-down-arrow","up-exclamation-button","up-left-arrow","up-right-arrow","upside-down-face","upwards-button","vampire","vampire-dark-skin-tone","vampire-light-skin-tone","vampire-medium-dark-skin-tone","vampire-medium-light-skin-tone","vampire-medium-skin-tone","vertical-traffic-light","vibration-mode","victory-hand","victory-hand-dark-skin-tone","victory-hand-light-skin-tone","victory-hand-medium-dark-skin-tone","victory-hand-medium-light-skin-tone","victory-hand-medium-skin-tone","video-camera","video-game","videocassette","violin","virgo","volcano","volleyball","vs-button","vulcan-salute","vulcan-salute-dark-skin-tone","vulcan-salute-light-skin-tone","vulcan-salute-medium-dark-skin-tone","vulcan-salute-medium-light-skin-tone","vulcan-salute-medium-skin-tone","waffle","waning-crescent-moon","waning-gibbous-moon","warning","wastebasket","watch","water-buffalo","water-closet","water-pistol","water-wave","watermelon","waving-hand","waving-hand-dark-skin-tone","waving-hand-light-skin-tone","waving-hand-medium-dark-skin-tone","waving-hand-medium-light-skin-tone","waving-hand-medium-skin-tone","wavy-dash","waxing-crescent-moon","waxing-gibbous-moon","weary-cat","weary-face","wedding","whale","wheel","wheel-of-dharma","wheelchair-symbol","white-cane","white-circle","white-exclamation-mark","white-flag","white-flower","white-haired","white-heart","white-large-square","white-medium-small-square","white-medium-square","white-question-mark","white-small-square","white-square-button","wilted-flower","wind-chime","wind-face","window","wine-glass","winking-face","winking-face-with-tongue","wolf","woman","woman-and-man-holding-hands","woman-and-man-holding-hands-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-light-skin-tone","woman-artist","woman-artist-dark-skin-tone","woman-artist-light-skin-tone","woman-artist-medium-dark-skin-tone","woman-artist-medium-light-skin-tone","woman-artist-medium-skin-tone","woman-astronaut","woman-astronaut-dark-skin-tone","woman-astronaut-light-skin-tone","woman-astronaut-medium-dark-skin-tone","woman-astronaut-medium-light-skin-tone","woman-astronaut-medium-skin-tone","woman-bald","woman-beard","woman-biking","woman-biking-dark-skin-tone","woman-biking-light-skin-tone","woman-biking-medium-dark-skin-tone","woman-biking-medium-light-skin-tone","woman-biking-medium-skin-tone","woman-blond-hair","woman-bouncing-ball","woman-bouncing-ball-dark-skin-tone","woman-bouncing-ball-light-skin-tone","woman-bouncing-ball-medium-dark-skin-tone","woman-bouncing-ball-medium-light-skin-tone","woman-bouncing-ball-medium-skin-tone","woman-bowing","woman-bowing-dark-skin-tone","woman-bowing-light-skin-tone","woman-bowing-medium-dark-skin-tone","woman-bowing-medium-light-skin-tone","woman-bowing-medium-skin-tone","woman-cartwheeling","woman-cartwheeling-dark-skin-tone","woman-cartwheeling-light-skin-tone","woman-cartwheeling-medium-dark-skin-tone","woman-cartwheeling-medium-light-skin-tone","woman-cartwheeling-medium-skin-tone","woman-climbing","woman-climbing-dark-skin-tone","woman-climbing-light-skin-tone","woman-climbing-medium-dark-skin-tone","woman-climbing-medium-light-skin-tone","woman-climbing-medium-skin-tone","woman-construction-worker","woman-construction-worker-dark-skin-tone","woman-construction-worker-light-skin-tone","woman-construction-worker-medium-dark-skin-tone","woman-construction-worker-medium-light-skin-tone","woman-construction-worker-medium-skin-tone","woman-cook","woman-cook-dark-skin-tone","woman-cook-light-skin-tone","woman-cook-medium-dark-skin-tone","woman-cook-medium-light-skin-tone","woman-cook-medium-skin-tone","woman-curly-hair","woman-dancing","woman-dancing-dark-skin-tone","woman-dancing-light-skin-tone","woman-dancing-medium-dark-skin-tone","woman-dancing-medium-light-skin-tone","woman-dancing-medium-skin-tone","woman-dark-skin-tone","woman-dark-skin-tone-bald","woman-dark-skin-tone-beard","woman-dark-skin-tone-blond-hair","woman-dark-skin-tone-curly-hair","woman-dark-skin-tone-red-hair","woman-dark-skin-tone-white-hair","woman-detective","woman-detective-dark-skin-tone","woman-detective-light-skin-tone","woman-detective-medium-dark-skin-tone","woman-detective-medium-light-skin-tone","woman-detective-medium-skin-tone","woman-elf","woman-elf-dark-skin-tone","woman-elf-light-skin-tone","woman-elf-medium-dark-skin-tone","woman-elf-medium-light-skin-tone","woman-elf-medium-skin-tone","woman-facepalming","woman-facepalming-dark-skin-tone","woman-facepalming-light-skin-tone","woman-facepalming-medium-dark-skin-tone","woman-facepalming-medium-light-skin-tone","woman-facepalming-medium-skin-tone","woman-factory-worker","woman-factory-worker-dark-skin-tone","woman-factory-worker-light-skin-tone","woman-factory-worker-medium-dark-skin-tone","woman-factory-worker-medium-light-skin-tone","woman-factory-worker-medium-skin-tone","woman-fairy","woman-fairy-dark-skin-tone","woman-fairy-light-skin-tone","woman-fairy-medium-dark-skin-tone","woman-fairy-medium-light-skin-tone","woman-fairy-medium-skin-tone","woman-farmer","woman-farmer-dark-skin-tone","woman-farmer-light-skin-tone","woman-farmer-medium-dark-skin-tone","woman-farmer-medium-light-skin-tone","woman-farmer-medium-skin-tone","woman-feeding-baby","woman-feeding-baby-dark-skin-tone","woman-feeding-baby-light-skin-tone","woman-feeding-baby-medium-dark-skin-tone","woman-feeding-baby-medium-light-skin-tone","woman-feeding-baby-medium-skin-tone","woman-firefighter","woman-firefighter-dark-skin-tone","woman-firefighter-light-skin-tone","woman-firefighter-medium-dark-skin-tone","woman-firefighter-medium-light-skin-tone","woman-firefighter-medium-skin-tone","woman-frowning","woman-frowning-dark-skin-tone","woman-frowning-light-skin-tone","woman-frowning-medium-dark-skin-tone","woman-frowning-medium-light-skin-tone","woman-frowning-medium-skin-tone","woman-genie","woman-gesturing-no","woman-gesturing-no-dark-skin-tone","woman-gesturing-no-light-skin-tone","woman-gesturing-no-medium-dark-skin-tone","woman-gesturing-no-medium-light-skin-tone","woman-gesturing-no-medium-skin-tone","woman-gesturing-ok","woman-gesturing-ok-dark-skin-tone","woman-gesturing-ok-light-skin-tone","woman-gesturing-ok-medium-dark-skin-tone","woman-gesturing-ok-medium-light-skin-tone","woman-gesturing-ok-medium-skin-tone","woman-getting-haircut","woman-getting-haircut-dark-skin-tone","woman-getting-haircut-light-skin-tone","woman-getting-haircut-medium-dark-skin-tone","woman-getting-haircut-medium-light-skin-tone","woman-getting-haircut-medium-skin-tone","woman-getting-massage","woman-getting-massage-dark-skin-tone","woman-getting-massage-light-skin-tone","woman-getting-massage-medium-dark-skin-tone","woman-getting-massage-medium-light-skin-tone","woman-getting-massage-medium-skin-tone","woman-golfing","woman-golfing-dark-skin-tone","woman-golfing-light-skin-tone","woman-golfing-medium-dark-skin-tone","woman-golfing-medium-light-skin-tone","woman-golfing-medium-skin-tone","woman-guard","woman-guard-dark-skin-tone","woman-guard-light-skin-tone","woman-guard-medium-dark-skin-tone","woman-guard-medium-light-skin-tone","woman-guard-medium-skin-tone","woman-health-worker","woman-health-worker-dark-skin-tone","woman-health-worker-light-skin-tone","woman-health-worker-medium-dark-skin-tone","woman-health-worker-medium-light-skin-tone","woman-health-worker-medium-skin-tone","woman-in-lotus-position","woman-in-lotus-position-dark-skin-tone","woman-in-lotus-position-light-skin-tone","woman-in-lotus-position-medium-dark-skin-tone","woman-in-lotus-position-medium-light-skin-tone","woman-in-lotus-position-medium-skin-tone","woman-in-manual-wheelchair","woman-in-manual-wheelchair-dark-skin-tone","woman-in-manual-wheelchair-light-skin-tone","woman-in-manual-wheelchair-medium-dark-skin-tone","woman-in-manual-wheelchair-medium-light-skin-tone","woman-in-manual-wheelchair-medium-skin-tone","woman-in-motorized-wheelchair","woman-in-motorized-wheelchair-dark-skin-tone","woman-in-motorized-wheelchair-light-skin-tone","woman-in-motorized-wheelchair-medium-dark-skin-tone","woman-in-motorized-wheelchair-medium-light-skin-tone","woman-in-motorized-wheelchair-medium-skin-tone","woman-in-steamy-room","woman-in-steamy-room-dark-skin-tone","woman-in-steamy-room-light-skin-tone","woman-in-steamy-room-medium-dark-skin-tone","woman-in-steamy-room-medium-light-skin-tone","woman-in-steamy-room-medium-skin-tone","woman-in-suit-levitating","woman-in-suit-levitating-dark-skin-tone","woman-in-suit-levitating-light-skin-tone","woman-in-suit-levitating-medium-dark-skin-tone","woman-in-suit-levitating-medium-light-skin-tone","woman-in-suit-levitating-medium-skin-tone","woman-in-tuxedo","woman-in-tuxedo-dark-skin-tone","woman-in-tuxedo-light-skin-tone","woman-in-tuxedo-medium-dark-skin-tone","woman-in-tuxedo-medium-light-skin-tone","woman-in-tuxedo-medium-skin-tone","woman-judge","woman-judge-dark-skin-tone","woman-judge-light-skin-tone","woman-judge-medium-dark-skin-tone","woman-judge-medium-light-skin-tone","woman-judge-medium-skin-tone","woman-juggling","woman-juggling-dark-skin-tone","woman-juggling-light-skin-tone","woman-juggling-medium-dark-skin-tone","woman-juggling-medium-light-skin-tone","woman-juggling-medium-skin-tone","woman-kneeling","woman-kneeling-dark-skin-tone","woman-kneeling-light-skin-tone","woman-kneeling-medium-dark-skin-tone","woman-kneeling-medium-light-skin-tone","woman-kneeling-medium-skin-tone","woman-lifting-weights","woman-lifting-weights-dark-skin-tone","woman-lifting-weights-light-skin-tone","woman-lifting-weights-medium-dark-skin-tone","woman-lifting-weights-medium-light-skin-tone","woman-lifting-weights-medium-skin-tone","woman-light-skin-tone","woman-light-skin-tone-bald","woman-light-skin-tone-beard","woman-light-skin-tone-blond-hair","woman-light-skin-tone-curly-hair","woman-light-skin-tone-red-hair","woman-light-skin-tone-white-hair","woman-mage","woman-mage-dark-skin-tone","woman-mage-light-skin-tone","woman-mage-medium-dark-skin-tone","woman-mage-medium-light-skin-tone","woman-mage-medium-skin-tone","woman-mechanic","woman-mechanic-dark-skin-tone","woman-mechanic-light-skin-tone","woman-mechanic-medium-dark-skin-tone","woman-mechanic-medium-light-skin-tone","woman-mechanic-medium-skin-tone","woman-medium-dark-skin-tone","woman-medium-dark-skin-tone-bald","woman-medium-dark-skin-tone-beard","woman-medium-dark-skin-tone-blond-hair","woman-medium-dark-skin-tone-curly-hair","woman-medium-dark-skin-tone-red-hair","woman-medium-dark-skin-tone-white-hair","woman-medium-light-skin-tone","woman-medium-light-skin-tone-bald","woman-medium-light-skin-tone-beard","woman-medium-light-skin-tone-blond-hair","woman-medium-light-skin-tone-curly-hair","woman-medium-light-skin-tone-red-hair","woman-medium-light-skin-tone-white-hair","woman-medium-skin-tone","woman-medium-skin-tone-bald","woman-medium-skin-tone-beard","woman-medium-skin-tone-blond-hair","woman-medium-skin-tone-curly-hair","woman-medium-skin-tone-red-hair","woman-medium-skin-tone-white-hair","woman-mountain-biking","woman-mountain-biking-dark-skin-tone","woman-mountain-biking-light-skin-tone","woman-mountain-biking-medium-dark-skin-tone","woman-mountain-biking-medium-light-skin-tone","woman-mountain-biking-medium-skin-tone","woman-office-worker","woman-office-worker-dark-skin-tone","woman-office-worker-light-skin-tone","woman-office-worker-medium-dark-skin-tone","woman-office-worker-medium-light-skin-tone","woman-office-worker-medium-skin-tone","woman-pilot","woman-pilot-dark-skin-tone","woman-pilot-light-skin-tone","woman-pilot-medium-dark-skin-tone","woman-pilot-medium-light-skin-tone","woman-pilot-medium-skin-tone","woman-playing-handball","woman-playing-handball-dark-skin-tone","woman-playing-handball-light-skin-tone","woman-playing-handball-medium-dark-skin-tone","woman-playing-handball-medium-light-skin-tone","woman-playing-handball-medium-skin-tone","woman-playing-water-polo","woman-playing-water-polo-dark-skin-tone","woman-playing-water-polo-light-skin-tone","woman-playing-water-polo-medium-dark-skin-tone","woman-playing-water-polo-medium-light-skin-tone","woman-playing-water-polo-medium-skin-tone","woman-police-officer","woman-police-officer-dark-skin-tone","woman-police-officer-light-skin-tone","woman-police-officer-medium-dark-skin-tone","woman-police-officer-medium-light-skin-tone","woman-police-officer-medium-skin-tone","woman-pouting","woman-pouting-dark-skin-tone","woman-pouting-light-skin-tone","woman-pouting-medium-dark-skin-tone","woman-pouting-medium-light-skin-tone","woman-pouting-medium-skin-tone","woman-raising-hand","woman-raising-hand-dark-skin-tone","woman-raising-hand-light-skin-tone","woman-raising-hand-medium-dark-skin-tone","woman-raising-hand-medium-light-skin-tone","woman-raising-hand-medium-skin-tone","woman-red-hair","woman-rowing-boat","woman-rowing-boat-dark-skin-tone","woman-rowing-boat-light-skin-tone","woman-rowing-boat-medium-dark-skin-tone","woman-rowing-boat-medium-light-skin-tone","woman-rowing-boat-medium-skin-tone","woman-running","woman-running-dark-skin-tone","woman-running-light-skin-tone","woman-running-medium-dark-skin-tone","woman-running-medium-light-skin-tone","woman-running-medium-skin-tone","woman-scientist","woman-scientist-dark-skin-tone","woman-scientist-light-skin-tone","woman-scientist-medium-dark-skin-tone","woman-scientist-medium-light-skin-tone","woman-scientist-medium-skin-tone","woman-shrugging","woman-shrugging-dark-skin-tone","woman-shrugging-light-skin-tone","woman-shrugging-medium-dark-skin-tone","woman-shrugging-medium-light-skin-tone","woman-shrugging-medium-skin-tone","woman-singer","woman-singer-dark-skin-tone","woman-singer-light-skin-tone","woman-singer-medium-dark-skin-tone","woman-singer-medium-light-skin-tone","woman-singer-medium-skin-tone","woman-standing","woman-standing-dark-skin-tone","woman-standing-light-skin-tone","woman-standing-medium-dark-skin-tone","woman-standing-medium-light-skin-tone","woman-standing-medium-skin-tone","woman-student","woman-student-dark-skin-tone","woman-student-light-skin-tone","woman-student-medium-dark-skin-tone","woman-student-medium-light-skin-tone","woman-student-medium-skin-tone","woman-superhero","woman-superhero-dark-skin-tone","woman-superhero-light-skin-tone","woman-superhero-medium-dark-skin-tone","woman-superhero-medium-light-skin-tone","woman-superhero-medium-skin-tone","woman-supervillain","woman-supervillain-dark-skin-tone","woman-supervillain-light-skin-tone","woman-supervillain-medium-dark-skin-tone","woman-supervillain-medium-light-skin-tone","woman-supervillain-medium-skin-tone","woman-surfing","woman-surfing-dark-skin-tone","woman-surfing-light-skin-tone","woman-surfing-medium-dark-skin-tone","woman-surfing-medium-light-skin-tone","woman-surfing-medium-skin-tone","woman-swimming","woman-swimming-dark-skin-tone","woman-swimming-light-skin-tone","woman-swimming-medium-dark-skin-tone","woman-swimming-medium-light-skin-tone","woman-swimming-medium-skin-tone","woman-teacher","woman-teacher-dark-skin-tone","woman-teacher-light-skin-tone","woman-teacher-medium-dark-skin-tone","woman-teacher-medium-light-skin-tone","woman-teacher-medium-skin-tone","woman-technologist","woman-technologist-dark-skin-tone","woman-technologist-light-skin-tone","woman-technologist-medium-dark-skin-tone","woman-technologist-medium-light-skin-tone","woman-technologist-medium-skin-tone","woman-tipping-hand","woman-tipping-hand-dark-skin-tone","woman-tipping-hand-light-skin-tone","woman-tipping-hand-medium-dark-skin-tone","woman-tipping-hand-medium-light-skin-tone","woman-tipping-hand-medium-skin-tone","woman-vampire","woman-vampire-dark-skin-tone","woman-vampire-light-skin-tone","woman-vampire-medium-dark-skin-tone","woman-vampire-medium-light-skin-tone","woman-vampire-medium-skin-tone","woman-walking","woman-walking-dark-skin-tone","woman-walking-light-skin-tone","woman-walking-medium-dark-skin-tone","woman-walking-medium-light-skin-tone","woman-walking-medium-skin-tone","woman-wearing-turban","woman-wearing-turban-dark-skin-tone","woman-wearing-turban-light-skin-tone","woman-wearing-turban-medium-dark-skin-tone","woman-wearing-turban-medium-light-skin-tone","woman-wearing-turban-medium-skin-tone","woman-white-hair","woman-with-headscarf","woman-with-headscarf-dark-skin-tone","woman-with-headscarf-light-skin-tone","woman-with-headscarf-medium-dark-skin-tone","woman-with-headscarf-medium-light-skin-tone","woman-with-headscarf-medium-skin-tone","woman-with-veil","woman-with-veil-dark-skin-tone","woman-with-veil-light-skin-tone","woman-with-veil-medium-dark-skin-tone","woman-with-veil-medium-light-skin-tone","woman-with-veil-medium-skin-tone","woman-with-white-cane","woman-with-white-cane-dark-skin-tone","woman-with-white-cane-light-skin-tone","woman-with-white-cane-medium-dark-skin-tone","woman-with-white-cane-medium-light-skin-tone","woman-with-white-cane-medium-skin-tone","woman-zombie","womans-boot","womans-clothes","womans-hat","womans-sandal","women-holding-hands","women-holding-hands-dark-skin-tone","women-holding-hands-dark-skin-tone-light-skin-tone","women-holding-hands-dark-skin-tone-medium-dark-skin-tone","women-holding-hands-dark-skin-tone-medium-light-skin-tone","women-holding-hands-dark-skin-tone-medium-skin-tone","women-holding-hands-light-skin-tone","women-holding-hands-light-skin-tone-dark-skin-tone","women-holding-hands-light-skin-tone-medium-dark-skin-tone","women-holding-hands-light-skin-tone-medium-light-skin-tone","women-holding-hands-light-skin-tone-medium-skin-tone","women-holding-hands-medium-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-skin-tone","women-holding-hands-medium-light-skin-tone","women-holding-hands-medium-light-skin-tone-dark-skin-tone","women-holding-hands-medium-light-skin-tone-light-skin-tone","women-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-light-skin-tone-medium-skin-tone","women-holding-hands-medium-skin-tone","women-holding-hands-medium-skin-tone-dark-skin-tone","women-holding-hands-medium-skin-tone-light-skin-tone","women-holding-hands-medium-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-skin-tone-medium-light-skin-tone","women-with-bunny-ears","women-wrestling","womens-room","wood","woozy-face","world-map","worm","worried-face","wrapped-gift","wrench","writing-hand","writing-hand-dark-skin-tone","writing-hand-light-skin-tone","writing-hand-medium-dark-skin-tone","writing-hand-medium-light-skin-tone","writing-hand-medium-skin-tone","x-ray","yarn","yawning-face","yellow-circle","yellow-heart","yellow-square","yen-banknote","yin-yang","yo-yo","zany-face","zebra","zipper-mouth-face","zombie","zzz"]},{prefix:"vscode-icons",info:{name:"VSCode Icons",total:1240,version:"12.6.0",author:{name:"Roberto Huertas",url:"https://github.com/vscode-icons/vscode-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE"},samples:["file-type-actionscript2","file-type-json","file-type-manifest"],height:32,displayHeight:16,category:"General",palette:!0},icons:["default-file","default-folder","default-folder-opened","default-root-folder","default-root-folder-opened","file-type-access","file-type-access2","file-type-actionscript","file-type-actionscript2","file-type-ada","file-type-advpl","file-type-affinitydesigner","file-type-affinityphoto","file-type-affinitypublisher","file-type-ai","file-type-ai2","file-type-al","file-type-al-dal","file-type-allcontributors","file-type-angular","file-type-ansible","file-type-antlr","file-type-anyscript","file-type-apache","file-type-apex","file-type-api-extractor","file-type-apib","file-type-apib2","file-type-apl","file-type-applescript","file-type-appscript","file-type-appsemble","file-type-appveyor","file-type-arduino","file-type-asciidoc","file-type-asp","file-type-aspx","file-type-assembly","file-type-astro","file-type-astroconfig","file-type-ats","file-type-audio","file-type-aurelia","file-type-autohotkey","file-type-autoit","file-type-avif","file-type-avro","file-type-awk","file-type-aws","file-type-azure","file-type-azurepipelines","file-type-babel","file-type-babel2","file-type-ballerina","file-type-bat","file-type-bats","file-type-bazaar","file-type-bazel","file-type-bazel-ignore","file-type-bazel-version","file-type-befunge","file-type-bicep","file-type-biml","file-type-binary","file-type-biome","file-type-bitbucketpipeline","file-type-bithound","file-type-blade","file-type-blitzbasic","file-type-bolt","file-type-bosque","file-type-bower","file-type-bower2","file-type-browserslist","file-type-buckbuild","file-type-buf","file-type-bun","file-type-bundler","file-type-bunfig","file-type-c","file-type-c-al","file-type-c2","file-type-c3","file-type-cabal","file-type-caddy","file-type-cake","file-type-cakephp","file-type-capacitor","file-type-cargo","file-type-casc","file-type-cddl","file-type-cert","file-type-ceylon","file-type-cf","file-type-cf2","file-type-cfc","file-type-cfc2","file-type-cfm","file-type-cfm2","file-type-cheader","file-type-chef","file-type-chef-cookbook","file-type-circleci","file-type-class","file-type-clojure","file-type-clojurescript","file-type-cloudfoundry","file-type-cmake","file-type-cobol","file-type-codacy","file-type-codeclimate","file-type-codecov","file-type-codekit","file-type-codeowners","file-type-codeql","file-type-coffeelint","file-type-coffeescript","file-type-commitizen","file-type-commitlint","file-type-compass","file-type-composer","file-type-conan","file-type-conda","file-type-config","file-type-confluence","file-type-coveralls","file-type-cpp","file-type-cpp2","file-type-cpp3","file-type-cppheader","file-type-crowdin","file-type-crystal","file-type-csharp","file-type-csharp2","file-type-cspell","file-type-csproj","file-type-css","file-type-csscomb","file-type-csslint","file-type-cssmap","file-type-cucumber","file-type-cuda","file-type-cvs","file-type-cypress","file-type-cypress-spec","file-type-cython","file-type-dal","file-type-darcs","file-type-dartlang","file-type-dartlang-generated","file-type-dartlang-ignore","file-type-datadog","file-type-db","file-type-delphi","file-type-deno","file-type-denoify","file-type-dependabot","file-type-dependencies","file-type-devcontainer","file-type-dhall","file-type-diff","file-type-django","file-type-dlang","file-type-docker","file-type-docker2","file-type-dockertest","file-type-dockertest2","file-type-docpad","file-type-docz","file-type-dojo","file-type-doppler","file-type-dotenv","file-type-dotjs","file-type-doxygen","file-type-drawio","file-type-drone","file-type-drools","file-type-dustjs","file-type-dvc","file-type-dylan","file-type-earthly","file-type-eas-metadata","file-type-edge","file-type-edge2","file-type-editorconfig","file-type-eex","file-type-ejs","file-type-elastic","file-type-elasticbeanstalk","file-type-eleventy","file-type-eleventy2","file-type-elixir","file-type-elm","file-type-elm2","file-type-emacs","file-type-ember","file-type-ensime","file-type-eps","file-type-erb","file-type-erlang","file-type-erlang2","file-type-esbuild","file-type-eslint","file-type-eslint2","file-type-esphome","file-type-excel","file-type-excel2","file-type-expo","file-type-falcon","file-type-fantasticon","file-type-fauna","file-type-favicon","file-type-fbx","file-type-firebase","file-type-firebasehosting","file-type-firestore","file-type-fitbit","file-type-fla","file-type-flareact","file-type-flash","file-type-floobits","file-type-flow","file-type-flutter","file-type-flutter-package","file-type-font","file-type-formkit","file-type-fortran","file-type-fossa","file-type-fossil","file-type-freemarker","file-type-fsharp","file-type-fsharp2","file-type-fsproj","file-type-fthtml","file-type-funding","file-type-fusebox","file-type-galen","file-type-galen2","file-type-gamemaker","file-type-gamemaker2","file-type-gamemaker81","file-type-gatsby","file-type-gcloud","file-type-gcode","file-type-gdscript","file-type-genstat","file-type-git","file-type-git2","file-type-gitlab","file-type-gitpod","file-type-glide","file-type-glitter","file-type-glsl","file-type-glyphs","file-type-gnu","file-type-gnuplot","file-type-go","file-type-go-aqua","file-type-go-black","file-type-go-fuchsia","file-type-go-gopher","file-type-go-lightblue","file-type-go-package","file-type-go-white","file-type-go-work","file-type-go-yellow","file-type-goctl","file-type-godot","file-type-gradle","file-type-gradle2","file-type-grain","file-type-graphql","file-type-graphql-config","file-type-graphviz","file-type-greenkeeper","file-type-gridsome","file-type-groovy","file-type-groovy2","file-type-grunt","file-type-gulp","file-type-haml","file-type-handlebars","file-type-handlebars2","file-type-harbour","file-type-hardhat","file-type-hashicorp","file-type-haskell","file-type-haskell2","file-type-haxe","file-type-haxecheckstyle","file-type-haxedevelop","file-type-helix","file-type-helm","file-type-hjson","file-type-hlsl","file-type-homeassistant","file-type-horusec","file-type-host","file-type-html","file-type-htmlhint","file-type-http","file-type-hunspell","file-type-husky","file-type-hy","file-type-hygen","file-type-hypr","file-type-icl","file-type-idris","file-type-idrisbin","file-type-idrispkg","file-type-image","file-type-imba","file-type-inc","file-type-infopath","file-type-informix","file-type-ini","file-type-ink","file-type-innosetup","file-type-io","file-type-iodine","file-type-ionic","file-type-jake","file-type-janet","file-type-jar","file-type-jasmine","file-type-java","file-type-jbuilder","file-type-jekyll","file-type-jenkins","file-type-jest","file-type-jest-snapshot","file-type-jinja","file-type-jpm","file-type-js","file-type-js-official","file-type-jsbeautify","file-type-jsconfig","file-type-jscpd","file-type-jshint","file-type-jsmap","file-type-json","file-type-json-official","file-type-json-schema","file-type-json2","file-type-json5","file-type-jsonld","file-type-jsonnet","file-type-jsp","file-type-jss","file-type-julia","file-type-julia2","file-type-jupyter","file-type-k","file-type-karma","file-type-key","file-type-kitchenci","file-type-kite","file-type-kivy","file-type-kos","file-type-kotlin","file-type-kusto","file-type-latino","file-type-layout","file-type-lerna","file-type-less","file-type-lex","file-type-license","file-type-licensebat","file-type-light-actionscript2","file-type-light-ada","file-type-light-apl","file-type-light-babel","file-type-light-babel2","file-type-light-cabal","file-type-light-circleci","file-type-light-cloudfoundry","file-type-light-codacy","file-type-light-codeclimate","file-type-light-codeowners","file-type-light-config","file-type-light-crystal","file-type-light-cypress","file-type-light-cypress-spec","file-type-light-db","file-type-light-deno","file-type-light-dhall","file-type-light-docpad","file-type-light-drone","file-type-light-eas-metadata","file-type-light-eleventy","file-type-light-eleventy2","file-type-light-esphome","file-type-light-expo","file-type-light-firebasehosting","file-type-light-fla","file-type-light-font","file-type-light-gamemaker2","file-type-light-gradle","file-type-light-hashicorp","file-type-light-hjson","file-type-light-ini","file-type-light-io","file-type-light-js","file-type-light-jsconfig","file-type-light-jsmap","file-type-light-json","file-type-light-json-schema","file-type-light-json5","file-type-light-jsonld","file-type-light-kite","file-type-light-lerna","file-type-light-mailing","file-type-light-mdx","file-type-light-mlang","file-type-light-mustache","file-type-light-netlify","file-type-light-next","file-type-light-nim","file-type-light-nx","file-type-light-objidconfig","file-type-light-openhab","file-type-light-pcl","file-type-light-pnpm","file-type-light-prettier","file-type-light-prisma","file-type-light-purescript","file-type-light-quasar","file-type-light-razzle","file-type-light-rehype","file-type-light-remark","file-type-light-replit","file-type-light-retext","file-type-light-rome","file-type-light-rubocop","file-type-light-rust","file-type-light-rust-toolchain","file-type-light-shaderlab","file-type-light-solidity","file-type-light-spin","file-type-light-stylelint","file-type-light-stylus","file-type-light-symfony","file-type-light-systemd","file-type-light-systemverilog","file-type-light-testcafe","file-type-light-testjs","file-type-light-tex","file-type-light-todo","file-type-light-toit","file-type-light-toml","file-type-light-tree","file-type-light-turbo","file-type-light-unibeautify","file-type-light-vash","file-type-light-vercel","file-type-light-vsix","file-type-light-vsixmanifest","file-type-light-xfl","file-type-light-yaml","file-type-light-zeit","file-type-lighthouse","file-type-lilypond","file-type-lime","file-type-lintstagedrc","file-type-liquid","file-type-lisp","file-type-livescript","file-type-lnk","file-type-locale","file-type-log","file-type-lolcode","file-type-lsl","file-type-lua","file-type-luau","file-type-lync","file-type-mailing","file-type-manifest","file-type-manifest-bak","file-type-manifest-skip","file-type-map","file-type-mariadb","file-type-markdown","file-type-markdownlint","file-type-markdownlint-ignore","file-type-marko","file-type-markojs","file-type-master-co","file-type-matlab","file-type-maven","file-type-maxscript","file-type-maya","file-type-mdx","file-type-mediawiki","file-type-mercurial","file-type-mermaid","file-type-meson","file-type-meteor","file-type-mjml","file-type-mlang","file-type-mocha","file-type-modernizr","file-type-mojo","file-type-mojolicious","file-type-moleculer","file-type-mondoo","file-type-mongo","file-type-monotone","file-type-motif","file-type-mson","file-type-mustache","file-type-mysql","file-type-ndst","file-type-nearly","file-type-nest-adapter-js","file-type-nest-adapter-ts","file-type-nest-controller-js","file-type-nest-controller-ts","file-type-nest-decorator-js","file-type-nest-decorator-ts","file-type-nest-filter-js","file-type-nest-filter-ts","file-type-nest-gateway-js","file-type-nest-gateway-ts","file-type-nest-guard-js","file-type-nest-guard-ts","file-type-nest-interceptor-js","file-type-nest-interceptor-ts","file-type-nest-middleware-js","file-type-nest-middleware-ts","file-type-nest-module-js","file-type-nest-module-ts","file-type-nest-pipe-js","file-type-nest-pipe-ts","file-type-nest-service-js","file-type-nest-service-ts","file-type-nestjs","file-type-netlify","file-type-next","file-type-ng-component-css","file-type-ng-component-dart","file-type-ng-component-html","file-type-ng-component-js","file-type-ng-component-js2","file-type-ng-component-less","file-type-ng-component-sass","file-type-ng-component-scss","file-type-ng-component-ts","file-type-ng-component-ts2","file-type-ng-controller-js","file-type-ng-controller-ts","file-type-ng-directive-dart","file-type-ng-directive-js","file-type-ng-directive-js2","file-type-ng-directive-ts","file-type-ng-directive-ts2","file-type-ng-guard-dart","file-type-ng-guard-js","file-type-ng-guard-ts","file-type-ng-interceptor-dart","file-type-ng-interceptor-js","file-type-ng-interceptor-ts","file-type-ng-module-dart","file-type-ng-module-js","file-type-ng-module-js2","file-type-ng-module-ts","file-type-ng-module-ts2","file-type-ng-pipe-dart","file-type-ng-pipe-js","file-type-ng-pipe-js2","file-type-ng-pipe-ts","file-type-ng-pipe-ts2","file-type-ng-routing-dart","file-type-ng-routing-js","file-type-ng-routing-js2","file-type-ng-routing-ts","file-type-ng-routing-ts2","file-type-ng-service-dart","file-type-ng-service-js","file-type-ng-service-js2","file-type-ng-service-ts","file-type-ng-service-ts2","file-type-ng-smart-component-dart","file-type-ng-smart-component-js","file-type-ng-smart-component-js2","file-type-ng-smart-component-ts","file-type-ng-smart-component-ts2","file-type-ng-tailwind","file-type-nginx","file-type-nim","file-type-nimble","file-type-ninja","file-type-nix","file-type-njsproj","file-type-noc","file-type-node","file-type-node2","file-type-nodemon","file-type-npm","file-type-nsi","file-type-nsri","file-type-nsri-integrity","file-type-nuget","file-type-numpy","file-type-nunjucks","file-type-nuxt","file-type-nx","file-type-nyc","file-type-objectivec","file-type-objectivecpp","file-type-objidconfig","file-type-ocaml","file-type-ocaml-intf","file-type-ogone","file-type-onenote","file-type-opencl","file-type-openhab","file-type-openscad","file-type-org","file-type-outlook","file-type-ovpn","file-type-package","file-type-paket","file-type-patch","file-type-pcl","file-type-pddl","file-type-pddl-happenings","file-type-pddl-plan","file-type-pdf2","file-type-peeky","file-type-perl","file-type-perl2","file-type-perl6","file-type-pgsql","file-type-photoshop","file-type-photoshop2","file-type-php","file-type-php2","file-type-php3","file-type-phpcsfixer","file-type-phpstan","file-type-phpunit","file-type-phraseapp","file-type-pine","file-type-pip","file-type-pipeline","file-type-plantuml","file-type-platformio","file-type-playwright","file-type-plsql","file-type-plsql-package","file-type-plsql-package-body","file-type-plsql-package-header","file-type-plsql-package-spec","file-type-pm2","file-type-pnpm","file-type-poedit","file-type-poetry","file-type-polymer","file-type-pony","file-type-postcss","file-type-postcssconfig","file-type-postman","file-type-powerpoint","file-type-powerpoint2","file-type-powershell","file-type-powershell-format","file-type-powershell-psd","file-type-powershell-psd2","file-type-powershell-psm","file-type-powershell-psm2","file-type-powershell-types","file-type-powershell2","file-type-preact","file-type-precommit","file-type-prettier","file-type-prisma","file-type-processinglang","file-type-procfile","file-type-progress","file-type-prolog","file-type-prometheus","file-type-protobuf","file-type-protractor","file-type-publiccode","file-type-publisher","file-type-pug","file-type-pulumi","file-type-puppet","file-type-purescript","file-type-pyret","file-type-python","file-type-pythowo","file-type-pytyped","file-type-pyup","file-type-q","file-type-qbs","file-type-qlikview","file-type-qml","file-type-qmldir","file-type-qsharp","file-type-quasar","file-type-r","file-type-racket","file-type-rails","file-type-rake","file-type-raml","file-type-razor","file-type-razzle","file-type-reactjs","file-type-reacttemplate","file-type-reactts","file-type-reason","file-type-red","file-type-registry","file-type-rego","file-type-rehype","file-type-remark","file-type-renovate","file-type-replit","file-type-rescript","file-type-rest","file-type-retext","file-type-rexx","file-type-riot","file-type-rmd","file-type-robotframework","file-type-robots","file-type-rollup","file-type-rome","file-type-ron","file-type-rproj","file-type-rspec","file-type-rubocop","file-type-ruby","file-type-rust","file-type-rust-toolchain","file-type-sails","file-type-saltstack","file-type-san","file-type-sapphire-framework-cli","file-type-sas","file-type-sass","file-type-sbt","file-type-scala","file-type-scilab","file-type-script","file-type-scss","file-type-scss2","file-type-sdlang","file-type-sentry","file-type-sequelize","file-type-serverless","file-type-shaderlab","file-type-shell","file-type-shuttle","file-type-silverstripe","file-type-sino","file-type-siyuan","file-type-sketch","file-type-skipper","file-type-slang","file-type-slashup","file-type-slice","file-type-slim","file-type-sln","file-type-sln2","file-type-smarty","file-type-snapcraft","file-type-snaplet","file-type-snort","file-type-snyk","file-type-solidarity","file-type-solidity","file-type-source","file-type-spacengine","file-type-sparql","file-type-spin","file-type-sqf","file-type-sql","file-type-sqlite","file-type-squirrel","file-type-sss","file-type-stan","file-type-stata","file-type-stencil","file-type-storyboard","file-type-storybook","file-type-stryker","file-type-stylable","file-type-style","file-type-styled","file-type-stylelint","file-type-stylish-haskell","file-type-stylus","file-type-sublime","file-type-subversion","file-type-svelte","file-type-svelteconfig","file-type-svg","file-type-swagger","file-type-swc","file-type-swift","file-type-swig","file-type-symfony","file-type-systemd","file-type-systemverilog","file-type-t4tt","file-type-tailwind","file-type-tamagui","file-type-taskfile","file-type-tauri","file-type-tcl","file-type-teal","file-type-tera","file-type-terraform","file-type-test","file-type-testcafe","file-type-testjs","file-type-testts","file-type-tex","file-type-text","file-type-textile","file-type-tfs","file-type-tiltfile","file-type-todo","file-type-toit","file-type-toml","file-type-tox","file-type-travis","file-type-tree","file-type-tres","file-type-truffle","file-type-trunk","file-type-tsbuildinfo","file-type-tscn","file-type-tsconfig","file-type-tsconfig-official","file-type-tslint","file-type-tt","file-type-ttcn","file-type-tuc","file-type-turbo","file-type-twig","file-type-typedoc","file-type-typescript","file-type-typescript-official","file-type-typescriptdef","file-type-typescriptdef-official","file-type-typo3","file-type-uiua","file-type-unibeautify","file-type-unison","file-type-unlicense","file-type-unocss","file-type-vagrant","file-type-vala","file-type-vanilla-extract","file-type-vapi","file-type-vapor","file-type-vash","file-type-vb","file-type-vba","file-type-vbhtml","file-type-vbproj","file-type-vcxproj","file-type-velocity","file-type-vercel","file-type-verilog","file-type-vhdl","file-type-video","file-type-view","file-type-vim","file-type-vite","file-type-vitest","file-type-vlang","file-type-volt","file-type-vscode","file-type-vscode-insiders","file-type-vscode-test","file-type-vscode2","file-type-vscode3","file-type-vsix","file-type-vsixmanifest","file-type-vue","file-type-vueconfig","file-type-wallaby","file-type-wally","file-type-wasm","file-type-watchmanconfig","file-type-wdio","file-type-webp","file-type-webpack","file-type-wenyan","file-type-wercker","file-type-wgsl","file-type-wikitext","file-type-windi","file-type-wolfram","file-type-word","file-type-word2","file-type-wpml","file-type-wurst","file-type-wxml","file-type-wxss","file-type-xcode","file-type-xfl","file-type-xib","file-type-xliff","file-type-xmake","file-type-xml","file-type-xquery","file-type-xsl","file-type-yacc","file-type-yaml","file-type-yamllint","file-type-yandex","file-type-yang","file-type-yarn","file-type-yeoman","file-type-zeit","file-type-zig","file-type-zip","file-type-zip2","folder-type-android","folder-type-android-opened","folder-type-api","folder-type-api-opened","folder-type-app","folder-type-app-opened","folder-type-arangodb","folder-type-arangodb-opened","folder-type-asset","folder-type-asset-opened","folder-type-audio","folder-type-audio-opened","folder-type-aurelia","folder-type-aurelia-opened","folder-type-aws","folder-type-aws-opened","folder-type-azure","folder-type-azure-opened","folder-type-azurepipelines","folder-type-azurepipelines-opened","folder-type-binary","folder-type-binary-opened","folder-type-bloc","folder-type-bloc-opened","folder-type-blueprint","folder-type-blueprint-opened","folder-type-bot","folder-type-bot-opened","folder-type-bower","folder-type-bower-opened","folder-type-buildkite","folder-type-buildkite-opened","folder-type-cake","folder-type-cake-opened","folder-type-certificate","folder-type-certificate-opened","folder-type-changesets","folder-type-changesets-opened","folder-type-chef","folder-type-chef-opened","folder-type-circleci","folder-type-circleci-opened","folder-type-cli","folder-type-cli-opened","folder-type-client","folder-type-client-opened","folder-type-cmake","folder-type-cmake-opened","folder-type-common","folder-type-common-opened","folder-type-component","folder-type-component-opened","folder-type-composer","folder-type-composer-opened","folder-type-config","folder-type-config-opened","folder-type-controller","folder-type-controller-opened","folder-type-coverage","folder-type-coverage-opened","folder-type-css","folder-type-css-opened","folder-type-cubit","folder-type-cubit-opened","folder-type-cypress","folder-type-cypress-opened","folder-type-dapr","folder-type-dapr-opened","folder-type-datadog","folder-type-datadog-opened","folder-type-db","folder-type-db-opened","folder-type-debian","folder-type-debian-opened","folder-type-dependabot","folder-type-dependabot-opened","folder-type-devcontainer","folder-type-devcontainer-opened","folder-type-dist","folder-type-dist-opened","folder-type-docker","folder-type-docker-opened","folder-type-docs","folder-type-docs-opened","folder-type-e2e","folder-type-e2e-opened","folder-type-elasticbeanstalk","folder-type-elasticbeanstalk-opened","folder-type-electron","folder-type-electron-opened","folder-type-expo","folder-type-expo-opened","folder-type-favicon","folder-type-favicon-opened","folder-type-flow","folder-type-flow-opened","folder-type-fonts","folder-type-fonts-opened","folder-type-gcp","folder-type-gcp-opened","folder-type-git","folder-type-git-opened","folder-type-github","folder-type-github-opened","folder-type-gitlab","folder-type-gitlab-opened","folder-type-gradle","folder-type-gradle-opened","folder-type-graphql","folder-type-graphql-opened","folder-type-grunt","folder-type-grunt-opened","folder-type-gulp","folder-type-gulp-opened","folder-type-haxelib","folder-type-haxelib-opened","folder-type-helper","folder-type-helper-opened","folder-type-hook","folder-type-hook-opened","folder-type-husky","folder-type-husky-opened","folder-type-idea","folder-type-idea-opened","folder-type-images","folder-type-images-opened","folder-type-include","folder-type-include-opened","folder-type-interfaces","folder-type-interfaces-opened","folder-type-ios","folder-type-ios-opened","folder-type-js","folder-type-js-opened","folder-type-json","folder-type-json-official","folder-type-json-official-opened","folder-type-json-opened","folder-type-kubernetes","folder-type-kubernetes-opened","folder-type-less","folder-type-less-opened","folder-type-library","folder-type-library-opened","folder-type-light-cypress","folder-type-light-cypress-opened","folder-type-light-electron","folder-type-light-electron-opened","folder-type-light-expo","folder-type-light-expo-opened","folder-type-light-fonts","folder-type-light-fonts-opened","folder-type-light-gradle","folder-type-light-gradle-opened","folder-type-light-meteor","folder-type-light-meteor-opened","folder-type-light-mysql","folder-type-light-mysql-opened","folder-type-light-node","folder-type-light-node-opened","folder-type-light-redux","folder-type-light-redux-opened","folder-type-light-sass","folder-type-light-sass-opened","folder-type-linux","folder-type-linux-opened","folder-type-locale","folder-type-locale-opened","folder-type-log","folder-type-log-opened","folder-type-macos","folder-type-macos-opened","folder-type-mariadb","folder-type-mariadb-opened","folder-type-maven","folder-type-maven-opened","folder-type-memcached","folder-type-memcached-opened","folder-type-meteor","folder-type-meteor-opened","folder-type-middleware","folder-type-middleware-opened","folder-type-minikube","folder-type-minikube-opened","folder-type-mjml","folder-type-mjml-opened","folder-type-mock","folder-type-mock-opened","folder-type-model","folder-type-model-opened","folder-type-module","folder-type-module-opened","folder-type-mojo","folder-type-mojo-opened","folder-type-mongodb","folder-type-mongodb-opened","folder-type-mysql","folder-type-mysql-opened","folder-type-next","folder-type-next-opened","folder-type-nginx","folder-type-nginx-opened","folder-type-nix","folder-type-nix-opened","folder-type-node","folder-type-node-opened","folder-type-notebooks","folder-type-notebooks-opened","folder-type-notification","folder-type-notification-opened","folder-type-nuget","folder-type-nuget-opened","folder-type-nuxt","folder-type-nuxt-opened","folder-type-package","folder-type-package-opened","folder-type-paket","folder-type-paket-opened","folder-type-php","folder-type-php-opened","folder-type-platformio","folder-type-platformio-opened","folder-type-plugin","folder-type-plugin-opened","folder-type-prisma","folder-type-prisma-opened","folder-type-private","folder-type-private-opened","folder-type-public","folder-type-public-opened","folder-type-python","folder-type-python-opened","folder-type-ravendb","folder-type-ravendb-opened","folder-type-redis","folder-type-redis-opened","folder-type-redux","folder-type-redux-opened","folder-type-route","folder-type-route-opened","folder-type-sass","folder-type-sass-opened","folder-type-script","folder-type-script-opened","folder-type-server","folder-type-server-opened","folder-type-services","folder-type-services-opened","folder-type-shared","folder-type-shared-opened","folder-type-snaplet","folder-type-snaplet-opened","folder-type-spin","folder-type-spin-opened","folder-type-src","folder-type-src-opened","folder-type-sso","folder-type-sso-opened","folder-type-story","folder-type-story-opened","folder-type-style","folder-type-style-opened","folder-type-svelte","folder-type-svelte-opened","folder-type-tauri","folder-type-tauri-opened","folder-type-temp","folder-type-temp-opened","folder-type-template","folder-type-template-opened","folder-type-test","folder-type-test-opened","folder-type-theme","folder-type-theme-opened","folder-type-tools","folder-type-tools-opened","folder-type-travis","folder-type-travis-opened","folder-type-trunk","folder-type-trunk-opened","folder-type-turbo","folder-type-turbo-opened","folder-type-typescript","folder-type-typescript-opened","folder-type-typings","folder-type-typings-opened","folder-type-typings2","folder-type-typings2-opened","folder-type-vagrant","folder-type-vagrant-opened","folder-type-vercel","folder-type-vercel-opened","folder-type-video","folder-type-video-opened","folder-type-view","folder-type-view-opened","folder-type-vs","folder-type-vs-opened","folder-type-vs2","folder-type-vs2-opened","folder-type-vscode","folder-type-vscode-opened","folder-type-vscode-test","folder-type-vscode-test-opened","folder-type-vscode-test2","folder-type-vscode-test2-opened","folder-type-vscode-test3","folder-type-vscode-test3-opened","folder-type-vscode2","folder-type-vscode2-opened","folder-type-vscode3","folder-type-vscode3-opened","folder-type-webpack","folder-type-webpack-opened","folder-type-windows","folder-type-windows-opened","folder-type-www","folder-type-www-opened","folder-type-yarn","folder-type-yarn-opened"]}];data.sort((xe,$e)=>xe.info.name.localeCompare($e.info.name));const app=createApp(_sfc_main);app.use(Gt$1,{distance:12});app.use(index$1);app.use(pinia);app.use(router);app.use(ui);directive(app);app.mount("#app");export{inject as $,createCommentVNode as A,plus_default as B,refresh_default as C,isRef as D,ElMessage as E,Fragment as F,nextTick as G,axios as H,api as I,question_filled_default as J,ApiUsre as K,useUserStore$1 as L,vShow as M,useRoute as N,useSlots as O,renderSlot as P,normalizeClass as Q,normalizeStyle$1 as R,onUnmounted as S,pushScopeId as T,popScopeId as U,ElInput as V,useAttrs$1 as W,mergeProps as X,Icon$1 as Y,watch as Z,_sfc_main$2v as _,onMounted as a,createApp as a$,onBeforeUnmount as a0,cloneVNode as a1,shallowRef as a2,Teleport as a3,h$5 as a4,__vitePreload as a5,getDefaultExportFromCjs as a6,provide as a7,toRef as a8,isVNode as a9,noop$1 as aA,toValue as aB,isClient as aC,isObject$4 as aD,tryOnScopeDispose as aE,createSingletonPromise as aF,getCurrentInstance as aG,BaseTransition as aH,BaseTransitionPropsValidators as aI,Comment$1 as aJ,DeprecationTypes as aK,EffectScope as aL,ErrorCodes as aM,ErrorTypeStrings as aN,ReactiveEffect as aO,Static as aP,Suspense as aQ,Text$2 as aR,TrackOpTypes as aS,TriggerOpTypes as aT,VueElement as aU,assertNumber as aV,callWithAsyncErrorHandling as aW,callWithErrorHandling as aX,camelize as aY,capitalize$1 as aZ,compatUtils as a_,useKeepAliveStore as aa,useMenuStore as ab,hotkeys as ac,Transition as ad,resolveDynamicComponent as ae,KeepAlive as af,TransitionGroup as ag,onBeforeUpdate as ah,eventBus as ai,resolveRoutePath as aj,he as ak,Ge$1 as al,vModelText as am,Je$1 as an,P$2 as ao,Ye$1 as ap,Se$1 as aq,cloneDeep as ar,index$1 as as,normalizeProps as at,guardReactiveProps as au,mergeModels as av,useModel as aw,Ve as ax,useTimeoutFn as ay,tryOnMounted as az,createVNode$1 as b,transformVNodeArgs as b$,createHydrationRenderer as b0,createPropsRestProxy as b1,createRenderer as b2,createSSRApp as b3,createSlots as b4,createStaticVNode as b5,customRef as b6,defineAsyncComponent as b7,defineCustomElement as b8,defineEmits as b9,onDeactivated as bA,onErrorCaptured as bB,onRenderTracked as bC,onRenderTriggered as bD,onScopeDispose as bE,onServerPrefetch as bF,onUpdated as bG,proxyRefs as bH,queuePostFlushCb as bI,readonly as bJ,registerRuntimeCompiler as bK,render$2 as bL,resolveFilter as bM,resolveTransitionHooks as bN,setBlockTracking as bO,setDevtoolsHook as bP,setTransitionHooks as bQ,shallowReactive as bR,shallowReadonly as bS,ssrContextKey as bT,ssrUtils as bU,stop$1 as bV,toHandlerKey as bW,toHandlers as bX,toRaw as bY,toRefs as bZ,toValue$1 as b_,defineExpose as ba,defineModel as bb,defineOptions as bc,defineProps as bd,defineSSRCustomElement as be,defineSlots as bf,devtools as bg,effect as bh,effectScope as bi,getCurrentScope as bj,getTransitionRawChildren as bk,handleError as bl,hasInjectionContext as bm,hydrate as bn,initCustomFormatter as bo,initDirectivesForSSR as bp,isMemoSame as bq,isProxy as br,isReactive as bs,isReadonly as bt,isRuntimeOnly as bu,isShallow as bv,markRaw as bw,mergeDefaults as bx,onActivated as by,onBeforeMount as bz,createElementBlock as c,triggerRef as c0,useCssModule as c1,useCssVars as c2,useSSRContext as c3,useTransitionState as c4,vModelCheckbox as c5,vModelDynamic as c6,vModelRadio as c7,vModelSelect as c8,version$1 as c9,_sfc_main$2x as cA,E$5 as cB,warn$2 as ca,watchEffect as cb,watchPostEffect as cc,watchSyncEffect as cd,withAsyncContext as ce,withDefaults as cf,withMemo as cg,withScopeId as ch,getAugmentedNamespace as ci,commonjsGlobal as cj,defineStore as ck,u$5 as cl,f$3 as cm,O$2 as cn,o$3 as co,A$4 as cp,T$3 as cq,u$7 as cr,I$4 as cs,o$2 as ct,T$4 as cu,t$7 as cv,i$5 as cw,P$4 as cx,N$7 as cy,globalSettingsDefault as cz,defineComponent as d,createBaseVNode as e,useRouter as f,openBlock as g,createTextVNode as h,unref as i,_sfc_main$2y as j,block0 as k,_export_sfc as l,reactive as m,resolveComponent as n,onBeforeRouteLeave as o,computed as p,resolveDirective as q,ref as r,renderList as s,toDisplayString as t,useSettingsStore as u,withKeys as v,withCtx as w,withModifiers as x,withDirectives as y,createBlock as z}; diff --git a/public/admin/assets/index-B-LUCRde.js.br b/public/admin/assets/index-B-LUCRde.js.br new file mode 100644 index 0000000..1eb5bde Binary files /dev/null and b/public/admin/assets/index-B-LUCRde.js.br differ diff --git a/public/admin/assets/index-B-LUCRde.js.gz b/public/admin/assets/index-B-LUCRde.js.gz new file mode 100644 index 0000000..84ffcf8 Binary files /dev/null and b/public/admin/assets/index-B-LUCRde.js.gz differ diff --git a/public/admin/assets/index-B45KfhSk.js b/public/admin/assets/index-B45KfhSk.js new file mode 100644 index 0000000..f23b504 --- /dev/null +++ b/public/admin/assets/index-B45KfhSk.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{E as S,s as o,t as $,b as t,L as l,i as x,c as W,j as R,f as V,k as r,q as U,a as v,r as u}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const m=1,b=2,p=263,k=3,c=264,s=265,Y=266,Z=4,w=5,_=6,h=7,X=8,j=9,f=10,G=11,g=12,E=13,I=14,N=15,F=16,C=17,L=18,A=19,H=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,yO=30,aO=31,zO=32,SO=33,PO=34,WO=35,eO=36,TO=37,sO=38,XO=39,dO=40,nO=41,qO=42,oO=43,tO=44,lO=45,xO=46,RO=47,VO=48,rO=49,UO=50,vO=51,uO=52,mO=53,bO=54,pO=55,kO=56,cO=57,YO=58,ZO=59,wO=60,_O=61,e=62,hO=63,jO=64,fO=65,GO={abstract:Z,and:w,array:_,as:h,true:X,false:X,break:j,case:f,catch:G,clone:g,const:E,continue:I,declare:F,default:N,do:C,echo:L,else:A,elseif:H,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:yO,fn:aO,for:zO,foreach:SO,from:PO,function:WO,global:eO,goto:TO,if:sO,implements:XO,include:dO,include_once:nO,instanceof:qO,insteadof:oO,interface:tO,list:lO,match:xO,namespace:RO,new:VO,null:rO,or:UO,print:vO,require:uO,require_once:mO,return:bO,switch:pO,throw:kO,trait:cO,try:YO,unset:ZO,use:wO,var:_O,public:e,private:e,protected:e,while:hO,xor:jO,yield:fO,__proto__:null};function d(O){let Q=GO[O.toLowerCase()];return Q??-1}function n(O){return O==9||O==10||O==13||O==32}function q(O){return O>=97&&O<=122||O>=65&&O<=90}function a(O){return O==95||O>=128||q(O)}function T(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const gO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},EO=new S(O=>{if(O.next==40){O.advance();let Q=0;for(;n(O.peek(Q));)Q++;let i="",y;for(;q(y=O.peek(Q));)i+=String.fromCharCode(y),Q++;for(;n(O.peek(Q));)Q++;O.peek(Q)==41&&gO[i.toLowerCase()]&&O.acceptToken(m)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let y=0;y<3;y++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!a(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!a(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let y=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(y){for(;O.next==32||O.next==9;)O.advance();let z=!0;for(let P=0;P{O.next<0&&O.acceptToken(Y)}),NO=new S((O,Q)=>{O.next==63&&Q.canShift(s)&&O.peek(1)==62&&O.acceptToken(s)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,y;for(;i<5&&(y=O.peek(i))>=48&&y<=55;)i++;return i}if(Q==120&&T(O.peek(2)))return T(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let y=O.peek(i);if(y==125)return i==2?0:i+1;if(!T(y))break}return 0}const CO=new S((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(a(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let y=FO(O);if(y){if(i)break;return O.acceptToken(k,y)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&a(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&a(O.peek(3)))&&Q.canShift(c))break;O.advance()}i&&O.acceptToken(p)}),LO=o({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,LogicOp:$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},HO=t.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{OS,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E}OOQS'#Ez'#EzOOQS'#Ib'#IbOM`QaO,5:wO*kQaO,5;nOOQS,5;p,5;pO*kQaO,5;pOMgQdO,5UQaO,5=hO!-eQ`O'#F}O!-jQdO'#IlO!&WQdO,5=iOOQ#u,5=j,5=jO!-uQ`O,5=lO!-xQ`O,5=mO!-}Q`O,5=nO!.YQdO,5=qOOQ#u,5=q,5=qO!.eQ`O,5=rO!.eQ`O,5=rO!.mQdO'#IwO!.{Q`O'#HXO!&WQdO,5=rO!/ZQ`O,5=rO!/fQdO'#IYO!&WQdO,5=vOOQ#u-E;_-E;_O!1RQ`O,5=kOOO#u,5:^,5:^O!1^O#|O,5:^OOO#u-E;^-E;^OOOO,5>p,5>pOOQ#y1G0S1G0SO!1fQ`O1G0XO*kQaO1G0XO!2xQ`O1G0pOOQS1G0p1G0pO!4[Q`O1G0pOOQS'#I_'#I_O*kQaO'#I_OOQS1G0q1G0qO!4cQ`O'#IaO!7lQ`O'#E}O!7yQaO'#EuOOQO'#Ia'#IaO!8TQ`O'#I`O!8]Q`O,5;_OOQS'#FQ'#FQOOQS1G1U1G1UO!8bQdO1G1]O!:dQdO1G1]O!wO#(fQaO'#HdO#(vQ`O,5>vOOQS1G0d1G0dO#)OQ`O1G0dO#)TQ`O'#I^O#*mQ`O'#I^O#*uQ`O,5;ROIbQaO,5;ROOQS1G0u1G0uPOQO'#E}'#E}O#+fQdO1G1RO0aQ`O'#HgO#-hQtO,5;cO#.YQaO1G0|OOQS,5;e,5;eO#0iQtO,5;gO#0vQdO1G0cO*kQaO1G0cO#2cQdO1G1YO#4OQdO1G1[OOQO,5<^,5<^O#4`Q`O'#HjO#4nQ`O,5?ROOQO1G1w1G1wO#4vQ`O,5?ZO!&WQdO1G3TO<_Q`O1G3TOOQ#u1G3U1G3UO#4{Q`O1G3YO!1RQ`O1G3VO#5WQ`O1G3VO#5]QpO'#FoO#5kQ`O'#FoO#5{Q`O'#FoO#6WQ`O'#FoO#6`Q`O'#FsO#6eQ`O'#FtOOQO'#If'#IfO#6lQ`O'#IeO#6tQ`O,5tOOQ#u1G3b1G3bOOQ#u1G3V1G3VO!-xQ`O1G3VO!1UQ`O1G3VOOO#u1G/x1G/xO*kQaO7+%sO#MuQdO7+%sOOQS7+&[7+&[O$ bQ`O,5>yO>UQaO,5;`O$ iQ`O,5;aO$#OQaO'#HfO$#YQ`O,5>zOOQS1G0y1G0yO$#bQ`O'#EYO$#gQ`O'#IXO$#oQ`O,5:sOOQS1G0e1G0eO$#tQ`O1G0eO$#yQ`O1G0iO9yQaO1G0iOOQO,5>O,5>OOOQO-E;b-E;bOOQS7+&O7+&OO>UQaO,5;SO$%`QaO'#HeO$%jQ`O,5>xOOQS1G0m1G0mO$%rQ`O1G0mOOQS,5>R,5>ROOQS-E;e-E;eO$%wQdO7+&hO$'yQtO1G1RO$(WQdO7+%}OOQS1G0i1G0iOOQO,5>U,5>UOOQO-E;h-E;hOOQ#u7+(o7+(oO!&WQdO7+(oOOQ#u7+(t7+(tO#KmQ`O7+(tO0aQ`O7+(tOOQ#u7+(q7+(qO!-xQ`O7+(qO!1UQ`O7+(qO!1RQ`O7+(qO$)sQ`O,5UQaO,5],5>]OOQS-E;o-E;oO$.iQdO7+'hO$.yQpO7+'hO$/RQdO'#IiOOQO,5dOOQ#u,5>d,5>dOOQ#u-E;v-E;vO$;lQaO7+(lO$cOOQS-E;u-E;uO!&WQdO7+(nO$=mQdO1G2TOOQS,5>[,5>[OOQS-E;n-E;nOOQ#u7+(r7+(rO$?nQ`O'#GQO$?uQ`O'#GQO$@ZQ`O'#HUOOQO'#Hy'#HyO$@`Q`O,5=oOOQ#u,5=o,5=oO$@gQpO7+(tOOQ#u7+(x7+(xO!&WQdO7+(xO$@rQdO,5>fOOQS-E;x-E;xO$AQQdO1G4}O$A]Q`O,5=tO$AbQ`O,5=tO$AmQ`O'#H{O$BRQ`O,5?dOOQS1G3_1G3_O#KrQ`O7+(xO$BZQdO,5=|OOQS-E;`-E;`O$CvQdO<Q,5>QOOQO-E;d-E;dO$8YQaO,5:tO$FxQaO'#HcO$GVQ`O,5>sOOQS1G0_1G0_OOQS7+&P7+&PO$G_Q`O7+&TO$HtQ`O1G0nO$JZQ`O,5>POOQO,5>P,5>POOQO-E;c-E;cOOQS7+&X7+&XOOQS7+&T7+&TOOQ#u<UQaO1G1uO$KsQ`O1G1uO$LOQ`O1G1yOOQO1G1y1G1yO$LTQ`O1G1uO$L]Q`O1G1uO$MrQ`O1G1zO>UQaO1G1zOOQO,5>V,5>VOOQO-E;i-E;iOOQS<`OOQ#u-E;r-E;rOhQaO<aOOQO-E;s-E;sO!&WQdO<g,5>gOOQO-E;y-E;yO!&WQdO<UQaO,5;TOOQ#uANAzANAzO#KmQ`OANAzOOQ#uANAwANAwO!-xQ`OANAwO%)vQ`O7+'aO>UQaO7+'aOOQO7+'e7+'eO%+]Q`O7+'aO%+hQ`O7+'eO>UQaO7+'fO%+mQ`O7+'fO%-SQ`O'#HlO%-bQ`O,5?SO%-bQ`O,5?SOOQO1G1{1G1{O$+qQpOAN@dOOQSAN@dAN@dO0aQ`OAN@dO%-jQtOANCgO%-xQ`OAN@dO*kQaOAN@nO%.QQdOAN@nO%.bQpOAN@nOOQS,5>X,5>XOOQS-E;k-E;kOOQO1G2U1G2UO!&WQdO1G2UO$/dQpO1G2UO<_Q`O1G2SO!.YQdO1G2WO!&WQdO1G2SOOQO1G2W1G2WOOQO1G2S1G2SO%.jQaO'#GSOOQO1G2X1G2XOOQSAN@oAN@oOOOQ<UQaO<W,5>WO%6wQ`O,5>WOOQO-E;j-E;jO%6|Q`O1G4nOOQSG26OG26OO$+qQpOG26OO0aQ`OG26OO%7UQdOG26YO*kQaOG26YOOQO7+'p7+'pO!&WQdO7+'pO!&WQdO7+'nOOQO7+'r7+'rOOQO7+'n7+'nO%7fQ`OLD+tO%8uQ`O'#E}O%9PQ`O'#IZO!&WQdO'#HrO%:|QaO,5^,5>^OOQP-E;p-E;pOOQO1G2Y1G2YOOQ#uLD,bLD,bOOQTG27RG27RO!&WQdOLD,xO!&WQdO<wO&EPQdO1G0cO#.YQaO1G0cO&F{QdO1G1YO&HwQdO1G1[O#.YQaO1G1|O#.YQaO7+%sO&JsQdO7+%sO&LoQdO7+%}O#.YQaO7+'hO&NkQdO7+'hO'!gQdO<lQdO,5>wO(@nQdO1G0cO'.QQaO1G0cO(BpQdO1G1YO(DrQdO1G1[O'.QQaO1G1|O'.QQaO7+%sO(FtQdO7+%sO(HvQdO7+%}O'.QQaO7+'hO(JxQdO7+'hO(LzQdO<wO*1sQaO'#HdO*2TQ`O,5>vO*2]QdO1G0cO9yQaO1G0cO*4XQdO1G1YO*6TQdO1G1[O9yQaO1G1|O>UQaO'#HwO*8PQ`O,5=[O*8XQaO'#HbO*8cQ`O,5>tO9yQaO7+%sO*8kQdO7+%sO*:gQ`O1G0iO>UQaO1G0iO*;|QdO7+%}O9yQaO7+'hO*=xQdO7+'hO*?tQ`O,5>cO*AZQ`O,5=|O*BpQdO<UQaO'#FeO>UQaO'#FfO>UQaO'#FgO>UQaO'#FhO>UQaO'#FhO>UQaO'#FkO+'XQaO'#FwO>UQaO'#GVO>UQaO'#GYO+'`QaO,5:mO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO+'gQ`O'#I]O$8YQaO'#EaO+)PQaOG26YO$8YQaO'#I]O+*{Q`O'#I[O++TQaO,5:wO>UQaO,5;nO>UQaO,5;pO++[Q`O,5UQaO1G0XO+9hQ`O1G1]O+;TQ`O1G1]O+]Q`O1G1]O+?xQ`O1G1]O+AeQ`O1G1]O+CQQ`O1G1]O+DmQ`O1G1]O+FYQ`O1G1]O+GuQ`O1G1]O+IbQ`O1G1]O+J}Q`O1G1]O+LjQ`O1G1]O+NVQ`O1G1]O, rQ`O1G1]O,#_Q`O1G0cO>UQaO1G0cO,$zQ`O1G1YO,&gQ`O1G1[O,(SQ`O1G1|O>UQaO1G1|O>UQaO7+%sO,([Q`O7+%sO,)wQ`O7+%}O>UQaO7+'hO,+dQ`O7+'hO,+lQ`O7+'hO,-XQpO7+'hO,-aQ`O<UQaO<UQaOAN@nO,0qQ`OAN@nO,2^QpOAN@nO,2fQ`OG26YO>UQaOG26YO,4RQ`OLD+tO,5nQaO,5:}O>UQaO1G0iO,5uQ`O'#I]O$8YQaO'#FeO$8YQaO'#FfO$8YQaO'#FgO$8YQaO'#FhO$8YQaO'#FhO+)PQaO'#FhO$8YQaO'#FkO,6SQaO'#FwO,6ZQaO'#FwO$8YQaO'#GVO+)PQaO'#GVO$8YQaO'#GYO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO,8YQ`O'#FlO>UQaO'#EaO>UQaO'#I]O,8bQaO,5:wO,8iQaO,5:wO$8YQaO,5;nO+)PQaO,5;nO$8YQaO,5;pO,:hQ`O,5wO-IcQ`O1G0cO-KOQ`O1G0cO$8YQaO1G0cO+)PQaO1G0cO-L_Q`O1G1YO-MzQ`O1G1YO. ZQ`O1G1[O$8YQaO1G1|O$8YQaO7+%sO+)PQaO7+%sO.!vQ`O7+%sO.$cQ`O7+%sO.%rQ`O7+%}O.'_Q`O7+%}O$8YQaO7+'hO.(nQ`O7+'hO.*ZQ`O<fQ`O,5>wO.@RQ`O1G1|O!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO.@ZQ`O7+'hO.@cQpO7+'hO.@kQpO<UO#X&PO~P>UO!o&SO!s&RO#b&RO~OPgOQ|OU^OW}O[8lOo=yOs#hOx8jOy8jO}`O!O]O!Q8pO!R}O!T8oO!U8kO!V8kO!Y8rO!c8iO!s&VO!y[O#U&WO#W_O#bhO#daO#ebO#peO$T8nO$]8mO$^8nO$aqO$z8qO${!OO$}}O%O}O%V|O'g{O~O!x'SP~PAOO!s&[O#b&[O~OT#TOz#RO!S#UO!b#VO!o!{O!v!yO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO~O!x&nO~PCqO!x'VX!}'VX#O'VX#X'VX!n'VXV'VX!q'VX#u'VX#w'VXw'VX~P&sO!y$hO#S&oO~Oo$mOs$lO~O!o&pO~O!}&sO#S;dO#U;cO!x'OP~P9yOT6iOz6gO!S6jO!b6kO!o!{O!v8sO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'PX#X'PX~O#O&tO~PGSO!}&wO#X'OX~O#X&yO~O!}'OO!x'QP~P9yO!n'PO~PCqO!m#oa!o#oa#S#oa#p#qX&s#oa!x#oa#O#oaw#oa~OT#oaz#oa!S#oa!b#oa!v#oa!y#oa#W#oa#`#oa#a#oa#s#oa#z#oa#{#oa#|#oa#}#oa$O#oa$Q#oa$R#oa$S#oa$T#oa$U#oa$V#oa$W#oa$z#oa!}#oa#X#oa!n#oaV#oa!q#oa#u#oa#w#oa~PIpO!s'RO~O!x'UO#l'SO~O!x'VX#l'VX#p#qX#S'VX#U'VX#b'VX!o'VX#O'VXw'VX!m'VX&s'VX~O#S'YO~P*kO!m$Xa&s$Xa!x$Xa!n$Xa~PCqO!m$Ya&s$Ya!x$Ya!n$Ya~PCqO!m$Za&s$Za!x$Za!n$Za~PCqO!m$[a&s$[a!x$[a!n$[a~PCqO!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO$z#dOT$[a!S$[a!b$[a!m$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a&s$[a!x$[a!n$[a~Oz#RO~PNyO!m$_a&s$_a!x$_a!n$_a~PCqO!y!}O!}$fX#X$fX~O!}'^O#X'ZX~O#X'`O~O!s$kO#S'aO~O]'cO~O!s'eO~O!s'fO~O$l'gO~O!`'mO#S'kO#U'lO#b'jO$drO!x'XP~P0aO!^'sO!oXO!q'rO~O!s'uO!y$hO~O!y$hO#S'wO~O!y$hO#S'yO~O#u'zO!m$sX!}$sX&s$sX~O!}'{O!m'bX&s'bX~O!m#cO&s#cO~O!q(PO#O(OO~O!m$ka&s$ka!x$ka!n$ka~PCqOl(ROw(SO!o(TO!y!}O~O!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO~OT$yaz$ya!S$ya!b$ya!m$ya!v$ya#S$ya#z$ya#{$ya#|$ya#}$ya$O$ya$Q$ya$R$ya$S$ya$T$ya$U$ya$V$ya$W$ya$z$ya&s$ya!x$ya!}$ya#O$ya#X$ya!n$ya!q$yaV$ya#u$ya#w$ya~P!'WO!m$|a&s$|a!x$|a!n$|a~PCqO#W([O#`(YO#a(YO&r(ZOR&gX!o&gX#b&gX#e&gX&q&gX'f&gX~O'f(_O~P8lO!q(`O~PhO!o(cO!q(dO~O!q(`O&s(gO~PhO!a(kO~O!m(lO~P9yOZ(wOn(xO~O!s(zO~OT6iOz6gO!S6jO!b6kO!v8sO!}({O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'jX&s'jX~P!'WO#u)PO~O!})QO!m'`X&s'`X~Ol(RO!o(TO~Ow(SO!o)WO!q)ZO~O!m#cO!oXO&s#cO~O!o%pO!s#yO~OV)aO!})_O!m'kX&s'kX~O])cOs)cO!s#gO#peO~O!o%pO!s#gO#p)hO~OT6iOz6gO!S6jO!b6kO!v8sO!})iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&|X&s&|X#O&|X~P!'WOl(ROw(SO!o(TO~O!i)oO&t)oO~OT8vOz8tO!S8wO!b8xO!q)pO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#X)rO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!n)rO~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'TX!}'TX~P!'WOT'VXz'VX!S'VX!b'VX!o'VX!v'VX!y'VX#S'VX#W'VX#`'VX#a'VX#p#qX#s'VX#z'VX#{'VX#|'VX#}'VX$O'VX$Q'VX$R'VX$S'VX$T'VX$U'VX$V'VX$W'VX$z'VX~O!q)tO!x'VX!}'VX~P!5xO!x#iX!}#iX~P>UO!})vO!x'SX~O!x)xO~O$z#dOT#yiz#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi$W#yi&s#yi!x#yi!}#yi#O#yi#X#yi!n#yi!q#yiV#yi#u#yi#w#yi~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi&s#yi!x#yi!n#yi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!b#VO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi~P!'WOz#RO$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi~P!'WO_)yO~P9yO!x)|O~O#S*PO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Ta#X#Ta#O#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'Pa#X'Pa#O'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WO#S#oO#U#nO!}&WX#X&WX~P9yO!}&wO#X'Oa~O#X*SO~OT6iOz6gO!S6jO!b6kO!v8sO!}*UO#O*TO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'QX~P!'WO!}*UO!x'QX~O!x*WO~O!m#oi!o#oi#S#oi#p#qX&s#oi!x#oi#O#oiw#oi~OT#oiz#oi!S#oi!b#oi!v#oi!y#oi#W#oi#`#oi#a#oi#s#oi#z#oi#{#oi#|#oi#}#oi$O#oi$Q#oi$R#oi$S#oi$T#oi$U#oi$V#oi$W#oi$z#oi!}#oi#X#oi!n#oiV#oi!q#oi#u#oi#w#oi~P#*zO#l'SO!x#ka#S#ka#U#ka#b#ka!o#ka#O#kaw#ka!m#ka&s#ka~OPgOQ|OU^OW}O[4OOo5xOs#hOx3zOy3zO}`O!O]O!Q2^O!R}O!T4UO!U3|O!V3|O!Y2`O!c3xO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4SO$]4QO$^4SO$aqO$z2_O${!OO$}}O%O}O%V|O'g{O~O#l#oa#U#oa#b#oa~PIpOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pi!S#Pi!b#Pi!m#Pi&s#Pi!x#Pi!n#Pi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#vi!S#vi!b#vi!m#vi&s#vi!x#vi!n#vi~P!'WO!m#xi&s#xi!x#xi!n#xi~PCqO!s#gO#peO!}&^X#X&^X~O!}'^O#X'Za~O!s'uO~Ow(SO!o)WO!q*fO~O!s*jO~O#S*lO#U*mO#b*kO#l'SO~O#S*lO#U*mO#b*kO$drO~P0aO#u*oO!x$cX!}$cX~O#U*mO#b*kO~O#b*pO~O#b*rO~P0aO!}*sO!x'XX~O!x*uO~O!y*wO~O!^*{O!oXO!q*zO~O!q*}O!o'ci!m'ci&s'ci~O!q+QO#O+PO~O#b$nO!m&eX!}&eX&s&eX~O!}'{O!m'ba&s'ba~OT$kiz$ki!S$ki!b$ki!m$ki!o$ki!v$ki!y$ki#S$ki#W$ki#`$ki#a$ki#s$ki#u#fa#w#fa#z$ki#{$ki#|$ki#}$ki$O$ki$Q$ki$R$ki$S$ki$T$ki$U$ki$V$ki$W$ki$z$ki&s$ki!x$ki!}$ki#O$ki#X$ki!n$ki!q$kiV$ki~OS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n+hO#b$nO$aqO$drO~P0aO!s+lO~O#W+nO#`+mO#a+mO~O!s+pO#b+pO$}+pO%T+oO~O!n+qO~PCqOc%XXd%XXh%XXj%XXf%XXg%XXe%XX~PhOc+uOd+sOP%WiQ%WiS%WiU%WiW%WiX%Wi[%Wi]%Wi^%Wi`%Wia%Wib%Wik%Wim%Wio%Wip%Wiq%Wis%Wit%Wiu%Wiv%Wix%Wiy%Wi|%Wi}%Wi!O%Wi!P%Wi!Q%Wi!R%Wi!T%Wi!U%Wi!V%Wi!W%Wi!X%Wi!Y%Wi!Z%Wi![%Wi!]%Wi!^%Wi!`%Wi!a%Wi!c%Wi!m%Wi!o%Wi!s%Wi!y%Wi#W%Wi#b%Wi#d%Wi#e%Wi#p%Wi$T%Wi$]%Wi$^%Wi$a%Wi$d%Wi$l%Wi$z%Wi${%Wi$}%Wi%O%Wi%V%Wi&p%Wi'g%Wi&t%Wi!n%Wih%Wij%Wif%Wig%WiY%Wi_%Wii%Wie%Wi~Oc+yOd+vOh+xO~OY+zO_+{O!n,OO~OY+zO_+{Oi%^X~Oi,QO~Oj,RO~O!m,TO~P9yO!m,VO~Of,WO~OT6iOV,XOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOg,YO~O!y,ZO~OZ(wOn(xOP%liQ%liS%liU%liW%liX%li[%li]%li^%li`%lia%lib%lik%lim%lio%lip%liq%lis%lit%liu%liv%lix%liy%li|%li}%li!O%li!P%li!Q%li!R%li!T%li!U%li!V%li!W%li!X%li!Y%li!Z%li![%li!]%li!^%li!`%li!a%li!c%li!m%li!o%li!s%li!y%li#W%li#b%li#d%li#e%li#p%li$T%li$]%li$^%li$a%li$d%li$l%li$z%li${%li$}%li%O%li%V%li&p%li'g%li&t%li!n%lic%lid%lih%lij%lif%lig%liY%li_%lii%lie%li~O#u,_O~O!}({O!m%da&s%da~O!x,bO~O!s%dO!m&dX!}&dX&s&dX~O!})QO!m'`a&s'`a~OS+^OY,iOm+^Os$aO!^+dO!_+^O!`+^O$aqO$drO~O!n,lO~P#JwO!o)WO~O!o%pO!s'RO~O!s#gO#peO!m&nX!}&nX&s&nX~O!})_O!m'ka&s'ka~O!s,rO~OV,sO!n%|X!}%|X~O!},uO!n'lX~O!n,wO~O!m&UX!}&UX&s&UX#O&UX~P9yO!})iO!m&|a&s&|a#O&|a~Oz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq&s!uq!x!uq!n!uq~P!'WO!n,|O~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#ia!}#ia~P!'WO!x&YX!}&YX~PAOO!})vO!x'Sa~O#O-QO~O!}-RO!n&{X~O!n-TO~O!x-UO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vi#X#Vi~P!'WO!x&XX!}&XX~P9yO!}*UO!x'Qa~O!x-[O~OT#jqz#jq!S#jq!b#jq!m#jq!v#jq#S#jq#u#jq#w#jq#z#jq#{#jq#|#jq#}#jq$O#jq$Q#jq$R#jq$S#jq$T#jq$U#jq$V#jq$W#jq$z#jq&s#jq!x#jq!}#jq#O#jq#X#jq!n#jq!q#jqV#jq~P!'WO#l#oi#U#oi#b#oi~P#*zOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pq!S#Pq!b#Pq!m#Pq&s#Pq!x#Pq!n#Pq~P!'WO#u-dO!x$ca!}$ca~O#U-fO#b-eO~O#b-gO~O#S-hO#U-fO#b-eO#l'SO~O#b-jO#l'SO~O#u-kO!x$ha!}$ha~O!`'mO#S'kO#U'lO#b'jO$drO!x&_X!}&_X~P0aO!}*sO!x'Xa~O!oXO#l'SO~O#S-pO#b-oO!x'[P~O!oXO!q-rO~O!q-uO!o'cq!m'cq&s'cq~O!^-wO!oXO!q-rO~O!q-{O#O-zO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$si!}$si&s$si~P!'WO!m$jq&s$jq!x$jq!n$jq~PCqO#O-zO#l'SO~O!}-|Ow']X!o']X!m']X&s']X~O#b$nO#l'SO~OS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO$drO~P0aOS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO~P0aOS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n.ZO#b$nO$aqO$drO~P0aO!s.^O~O!s._O#b._O$}._O%T+oO~O$}.`O~O#X.aO~Oc%Xad%Xah%Xaj%Xaf%Xag%Xae%Xa~PhOc.dOd+sOP%WqQ%WqS%WqU%WqW%WqX%Wq[%Wq]%Wq^%Wq`%Wqa%Wqb%Wqk%Wqm%Wqo%Wqp%Wqq%Wqs%Wqt%Wqu%Wqv%Wqx%Wqy%Wq|%Wq}%Wq!O%Wq!P%Wq!Q%Wq!R%Wq!T%Wq!U%Wq!V%Wq!W%Wq!X%Wq!Y%Wq!Z%Wq![%Wq!]%Wq!^%Wq!`%Wq!a%Wq!c%Wq!m%Wq!o%Wq!s%Wq!y%Wq#W%Wq#b%Wq#d%Wq#e%Wq#p%Wq$T%Wq$]%Wq$^%Wq$a%Wq$d%Wq$l%Wq$z%Wq${%Wq$}%Wq%O%Wq%V%Wq&p%Wq'g%Wq&t%Wq!n%Wqh%Wqj%Wqf%Wqg%WqY%Wq_%Wqi%Wqe%Wq~Oc.iOd+vOh.hO~O!q(`O~OP6]OQ|OU^OW}O[:fOo>ROs#hOx:dOy:dO}`O!O]O!Q:kO!R}O!T:jO!U:eO!V:eO!Y:oO!c8gO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:hO$]:gO$^:hO$aqO$z:mO${!OO$}}O%O}O%V|O'g{O~O!m.lO!q.lO~OY+zO_+{O!n.nO~OY+zO_+{Oi%^a~O!x.rO~P>UO!m.tO~O!m.tO~P9yOQ|OW}O!R}O$}}O%O}O%V|O'g{O~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&ka!}&ka&s&ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$qi!}$qi&s$qi~P!'WOS+^Om+^Os$aO!_+^O!`+^O$aqO$drO~OY/PO~P$?VOS+^Om+^Os$aO!_+^O!`+^O$aqO~O!s/QO~O!n/SO~P#JwOw(SO!o)WO#l'SO~OV/VO!m&na!}&na&s&na~O!})_O!m'ki&s'ki~O!s/XO~OV/YO!n%|a!}%|a~O]/[Os/[O!s#gO#peO!n&oX!}&oX~O!},uO!n'la~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&Ua!}&Ua&s&Ua#O&Ua~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy&s!uy!x!uy!n!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#hi!}#hi~P!'WO_)yO!n&VX!}&VX~P9yO!}-RO!n&{a~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vq#X#Vq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#[i!}#[i~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O/cO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x&Xa!}&Xa~P!'WO#u/iO!x$ci!}$ci~O#b/jO~O#U/lO#b/kO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$ci!}$ci~P!'WO#u/mO!x$hi!}$hi~O!}/oO!x'[X~O#b/qO~O!x/rO~O!oXO!q/uO~O#l'SO!o'cy!m'cy&s'cy~O!m$jy&s$jy!x$jy!n$jy~PCqO#O/xO#l'SO~O!s#gO#peOw&aX!o&aX!}&aX!m&aX&s&aX~O!}-|Ow']a!o']a!m']a&s']a~OU$PO]0QO!R$PO!s$OO!v#}O#b$nO#p2XO~P$?uO!m#cO!o0VO&s#cO~O#X0YO~Oh0_O~OT:tOz:pO!S:vO!b:xO!m0`O!q0`O!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO~P!'WOY%]a_%]a!n%]ai%]a~PhO!x0bO~O!x0bO~P>UO!m0dO~OT6iOz6gO!S6jO!b6kO!v8sO!x0fO#O0eO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WO!x0fO~O!x0gO#b0hO#l'SO~O!x0iO~O!s0jO~O!m#cO#u0lO&s#cO~O!s0mO~O!})_O!m'kq&s'kq~O!s0nO~OV0oO!n%}X!}%}X~OT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!n!|i!}!|i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cq!}$cq~P!'WO#u0vO!x$cq!}$cq~O#b0wO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hq!}$hq~P!'WO#S0zO#b0yO!x&`X!}&`X~O!}/oO!x'[a~O#l'SO!o'c!R!m'c!R&s'c!R~O!oXO!q1PO~O!m$j!R&s$j!R!x$j!R!n$j!R~PCqO#O1RO#l'SO~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1^O!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOh1_O~OY%[i_%[i!n%[ii%[i~PhOY%]i_%]i!n%]ii%]i~PhO!x1bO~O!x1bO~P>UO!x1eO~O!m#cO#u1iO&s#cO~O$}1jO%V1jO~O!s1kO~OV1lO!n%}a!}%}a~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#]i!}#]i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cy!}$cy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hy!}$hy~P!'WO#b1nO~O!}/oO!x'[i~O!m$j!Z&s$j!Z!x$j!Z!n$j!Z~PCqOT:uOz:qO!S:wO!b:yO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO~P!'WOV1uO{1tO~P!5xOV1uO{1tOT&}Xz&}X!S&}X!b&}X!o&}X!v&}X!y&}X#S&}X#W&}X#`&}X#a&}X#s&}X#u&}X#w&}X#z&}X#{&}X#|&}X#}&}X$O&}X$Q&}X$R&}X$S&}X$T&}X$U&}X$V&}X$W&}X$z&}X~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1xO!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOY%[q_%[q!n%[qi%[q~PhO!x1zO~O!x%gi~PCqOe1{O~O$}1|O%V1|O~O!s2OO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$c!R!}$c!R~P!'WO!m$j!c&s$j!c!x$j!c!n$j!c~PCqO!s2QO~O!`2SO!s2RO~O!s2VO!m$xi&s$xi~O!s'WO~O!s*]O~OT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$ka#u$ka#w$ka&s$ka!x$ka!n$ka!q$ka#X$ka!}$ka~P!'WO#S2]O~P*kO$l$tO~P#.YOT6iOz6gO!S6jO!b6kO!v8sO#O2[O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX&s'PX!x'PX!n'PX~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O3uO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'PX#X'PX#u'PX#w'PX!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~P!'WO#S3dO~P#.YOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Xa#u$Xa#w$Xa&s$Xa!x$Xa!n$Xa!q$Xa#X$Xa!}$Xa~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Ya#u$Ya#w$Ya&s$Ya!x$Ya!n$Ya!q$Ya#X$Ya!}$Ya~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Za#u$Za#w$Za&s$Za!x$Za!n$Za!q$Za#X$Za!}$Za~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$[a#u$[a#w$[a&s$[a!x$[a!n$[a!q$[a#X$[a!}$[a~P!'WOz2aO#u$[a#w$[a!q$[a#X$[a!}$[a~PNyOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$_a#u$_a#w$_a&s$_a!x$_a!n$_a!q$_a#X$_a!}$_a~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$|a#u$|a#w$|a&s$|a!x$|a!n$|a!q$|a#X$|a!}$|a~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#Ta#u#Ta#w#Ta&s#Ta!x#Ta!n#Ta!q#Ta#X#Ta!}#Ta~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m'Pa#u'Pa#w'Pa&s'Pa!x'Pa!n'Pa!q'Pa#X'Pa!}'Pa~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pi!S#Pi!b#Pi!m#Pi#u#Pi#w#Pi&s#Pi!x#Pi!n#Pi!q#Pi#X#Pi!}#Pi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#vi!S#vi!b#vi!m#vi#u#vi#w#vi&s#vi!x#vi!n#vi!q#vi#X#vi!}#vi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#xi#u#xi#w#xi&s#xi!x#xi!n#xi!q#xi#X#xi!}#xi~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq#u!uq#w!uq&s!uq!x!uq!n!uq!q!uq#X!uq!}!uq~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pq!S#Pq!b#Pq!m#Pq#u#Pq#w#Pq&s#Pq!x#Pq!n#Pq!q#Pq#X#Pq!}#Pq~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jq#u$jq#w$jq&s$jq!x$jq!n$jq!q$jq#X$jq!}$jq~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy#u!uy#w!uy&s!uy!x!uy!n!uy!q!uy#X!uy!}!uy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jy#u$jy#w$jy&s$jy!x$jy!n$jy!q$jy#X$jy!}$jy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!R#u$j!R#w$j!R&s$j!R!x$j!R!n$j!R!q$j!R#X$j!R!}$j!R~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!Z#u$j!Z#w$j!Z&s$j!Z!x$j!Z!n$j!Z!q$j!Z#X$j!Z!}$j!Z~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!c#u$j!c#w$j!c&s$j!c!x$j!c!n$j!c!q$j!c#X$j!c!}$j!c~P!'WOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S3vO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lO#u2uO#w2vO!q&zX#X&zX!}&zX~P0rOP6]OU^O[4POo8^Or2wOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S2tO#U2sO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!v#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX&s#xX!x#xX!n#xX!q#xX#X#xX!}#xX~P$;lOP6]OU^O[4POo8^Or4xOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S4uO#U4tO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!o#xX!v#xX!}#xX#O#xX#X#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!m#xX&s#xX!x#xX!n#xXV#xX!q#xX~P$;lO!q3PO~P>UO!q5}O#O3gO~OT8vOz8tO!S8wO!b8xO!q3hO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q6OO#O3kO~O!q6PO#O3oO~O#O3oO#l'SO~O#O3pO#l'SO~O#O3sO#l'SO~OP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$l$tO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S5eO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Xa#O$Xa#X$Xa#u$Xa#w$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Ya#O$Ya#X$Ya#u$Ya#w$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Za#O$Za#X$Za#u$Za#w$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$[a#O$[a#X$[a#u$[a#w$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz4dO!}$[a#O$[a#X$[a#u$[a#w$[aV$[a!q$[a~PNyOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$_a#O$_a#X$_a#u$_a#w$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$|a#O$|a#X$|a#u$|a#w$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#Ta#O#Ta#X#Ta#u#Ta#w#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'Pa#O'Pa#X'Pa#u'Pa#w'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi#u#Pi#w#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi#u#vi#w#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#xi#O#xi#X#xi#u#xi#w#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq#u!uq#w!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq#u#Pq#w#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jq#O$jq#X$jq#u$jq#w$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy#u!uy#w!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jy#O$jy#X$jy#u$jy#w$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!R#O$j!R#X$j!R#u$j!R#w$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!Z#O$j!Z#X$j!Z#u$j!Z#w$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!c#O$j!c#X$j!c#u$j!c#w$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S5wO~P#.YO!y$hO#S5{O~O!x4ZO#l'SO~O!y$hO#S5|O~OT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$ka#O$ka#X$ka#u$ka#w$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O5vO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!m'PX#u'PX#w'PX&s'PX!x'PX!n'PX!q'PX#X'PX!}'PX~P!'WO#u4vO#w4wO!}&zX#O&zX#X&zXV&zX!q&zX~P0rO!q5QO~P>UO!q8bO#O5hO~OT8vOz8tO!S8wO!b8xO!q5iO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q8cO#O5lO~O!q8dO#O5pO~O#O5pO#l'SO~O#O5qO#l'SO~O#O5tO#l'SO~O$l$tO~P9yOo5zOs$lO~O#S7oO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Xa#O$Xa#X$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Ya#O$Ya#X$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Za#O$Za#X$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$[a#O$[a#X$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz6gO!}$[a#O$[a#X$[aV$[a!q$[a~PNyOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$_a#O$_a#X$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$ka#O$ka#X$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$|a#O$|a#X$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7sO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'jX~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7uO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&|X~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WO#S7zO~P>UO!m#Ta&s#Ta!x#Ta!n#Ta~PCqO!m'Pa&s'Pa!x'Pa!n'Pa~PCqO#S;dO#U;cO!x&WX!}&WX~P9yO!}7lO!x'Oa~Oz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#xi#O#xi#X#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WO!}7sO!x%da~O!x&UX!}&UX~P>UO!}7uO!x&|a~Oz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vi!}#Vi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jq#O$jq#X$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&ka!}&ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&Ua!}&Ua~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vq!}#Vq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jy#O$jy#X$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!R#O$j!R#X$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!Z#O$j!Z#X$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!c#O$j!c#X$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S8[O~P9yO#O8ZO!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~PGSO!y$hO#S8`O~O!y$hO#S8aO~O#u6zO#w6{O!}&zX#O&zX#X&zXV&zX!q&zX~P0rOr6|O#S#oO#U#nO!}#xX#O#xX#X#xXV#xX!q#xX~P2yOr;iO#S9XO#U9VOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!n#xX!}#xX~P9yOr9WO#S9WO#U9WOT#xXz#xX!S#xX!b#xX!o#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX~P9yOr9]O#S;dO#U;cOT#xXz#xX!S#xX!b#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX#X#xX!x#xX!}#xX~P9yO$l$tO~P>UO!q7XO~P>UOT6iOz6gO!S6jO!b6kO!v8sO#O7iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'PX!}'PX~P!'WOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lO!}7lO!x'OX~O#S9yO~P>UOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Xa#X$Xa!x$Xa!}$Xa~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Ya#X$Ya!x$Ya!}$Ya~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Za#X$Za!x$Za!}$Za~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$[a#X$[a!x$[a!}$[a~P!'WOz8tO$z#dOT$[a!S$[a!b$[a!q$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a#X$[a!x$[a!}$[a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$_a#X$_a!x$_a!}$_a~P!'WO!q=dO#O7rO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$ka#X$ka!x$ka!}$ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$|a#X$|a!x$|a!}$|a~P!'WOT8vOz8tO!S8wO!b8xO!q7wO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi#X#yi!x#yi!}#yi~P!'WOz8tO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pi!S#Pi!b#Pi!q#Pi#X#Pi!x#Pi!}#Pi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#vi!S#vi!b#vi!q#vi#X#vi!x#vi!}#vi~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q#xi#X#xi!x#xi!}#xi~P!'WO!q=eO#O7|O~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uq!S!uq!b!uq!q!uq!v!uq#X!uq!x!uq!}!uq~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pq!S#Pq!b#Pq!q#Pq#X#Pq!x#Pq!}#Pq~P!'WO!q=iO#O8TO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jq#X$jq!x$jq!}$jq~P!'WO#O8TO#l'SO~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uy!S!uy!b!uy!q!uy!v!uy#X!uy!x!uy!}!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jy#X$jy!x$jy!}$jy~P!'WO#O8UO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!R#X$j!R!x$j!R!}$j!R~P!'WO#O8XO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!Z#X$j!Z!x$j!Z!}$j!Z~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!c#X$j!c!x$j!c!}$j!c~P!'WO#S:bO~P>UO#O:aO!q'PX!x'PX~PGSO$l$tO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$l$tO$z:nO${!OO~P$;lOo8_Os$lO~O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#S=UO#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOT6iOz6gO!S6jO!b6kO!v8sO#O=SO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O=RO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX!q'PX!n'PX!}'PX~P!'WOT&zXz&zX!S&zX!b&zX!o&zX!q&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX!}&zX~O#u9ZO#w9[O#X&zX!x&zX~P.8oO!y$hO#S=^O~O!q9hO~P>UO!y$hO#S=cO~O!q>OO#O9}O~OT8vOz8tO!S8wO!b8xO!q:OO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m#Ta!q#Ta!n#Ta!}#Ta~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m'Pa!q'Pa!n'Pa!}'Pa~P!'WO!q>PO#O:RO~O!q>QO#O:YO~O#O:YO#l'SO~O#O:ZO#l'SO~O#O:_O#l'SO~O#u;eO#w;gO!m&zX!n&zX~P.8oO#u;fO#w;hOT&zXz&zX!S&zX!b&zX!o&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX~O!q;tO~P>UO!q;uO~P>UO!q>XO#OYO#O9WO~OT8vOz8tO!S8wO!b8xO!qZO#O[O#O<{O~O#O<{O#l'SO~O#O9WO#l'SO~O#O<|O#l'SO~O#O=PO#l'SO~O!y$hO#S=|O~Oo=[Os$lO~O!y$hO#S=}O~O!y$hO#S>UO~O!y$hO#S>VO~O!y$hO#S>WO~Oo={Os$lO~Oo>TOs$lO~Oo>SOs$lO~O%O$U$}$d!d$V#b%V#e'g!s#d~",goto:"%&y'mPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'nP'uPP'{(OPPP(hP(OP(O*ZP*ZPP2W:j:mPP*Z:sBpPBsPBsPP:sCSCVCZ:s:sPPPC^PP:sK^!$S!$S:s!$WP!$W!$W!%UP!.]!7pP!?oP*ZP*Z*ZPPPPP!?rPPPPPPP*Z*Z*Z*ZPP*Z*ZP!E]!GRP!GV!Gy!GR!GR!HP*Z*ZP!HY!Hl!Ib!J`!Jd!J`!Jo!J}!J}!KV!KY!KY*ZPP*ZPP!K^#%[#%[#%`P#%fP(O#%j(O#&S#&V#&V#&](O#&`(O(O#&f#&i(O#&r#&u(O(O(O(O(O#&x(O(O(O(O(O(O(O(O(O#&{!KR(O(O#'_#'o#'r(O(OP#'u#'|#(S#(o#(y#)P#)Z#)b#)h#*d#4X#5T#5Z#5a#5k#5q#5w#6]#6c#6i#6o#6u#6{#7R#7]#7g#7m#7s#7}PPPPPPPP#8T#8X#8}#NO#NR#N]$(f$(r$)X$)_$)b$)e$)k$,X$5v$>_$>b$>h$>k$>n$>w$>{$?X$?k$Bk$CO$C{$K{PP%%y%%}%&Z%&p%&vQ!nQT!qV!rQUOR%x!mRVO}!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a|!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ%^!ZQ%g!aQ%l!eQ'd$dQ'q$iQ)[%kQ*y'tQ,](xU-n*v*x+OQ.W+cQ.{,[S/t-s-tQ0T.SS0}/s/wQ1V0RQ1o1OR2P1p0u!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3ZfPVX[_bgjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#}$R$S$U$h$y$}%P%R%S%T%U%c%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)_)c)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3scPVX[_bdegjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#{#}$R$S$U$h$y$}%P%R%S%T%U%c%m%n%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)^)_)c)g)h)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u,x-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2W2X2Y2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[0phPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0`0a0d0e0i0v1R1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uRS=p>S>VS=s>T>UR=t>WT'n$h*s!csPVXt!S!j!r!s!w$h$}%P%S%U'i(T(`)W*s+]+g+r+u,g,k.b.d.l0`0a0i1aQ$^rR*`'^Q*x'sQ-t*{R/w-wQ(W$tQ)U%hQ)n%vQ*i'fQ+k(XR-c*jQ(V$tQ)Y%jQ)m%vQ*e'eS*h'f)nS+j(W(XS-b*i*jQ.]+kQ/T,mQ/e-`R/g-cQ(U$tQ)T%hQ)V%iQ)l%vU*g'f)m)nU+i(V(W(XQ,f)UU-a*h*i*jS.[+j+kS/f-b-cQ0X.]R0t/gT+e(T+g[%e!_$b'c+a.R0QR,d)Qb$ov(T+[+]+`+g.P.Q0PR+T'{S+e(T+gT,j)W,kR0W.XT1[0V1]0w|PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[R2Y2X|tPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aW$`t'i+],gS'i$h*sS+](T+gT,g)W,kQ'_$^R*a'_Q*t'oR-m*tQ/p-oS0{/p0|R0|/qQ-}+XR/|-}Q+g(TR.Y+gS+`(T+gS,h)W,kQ.Q+]W.T+`,h.Q/OR/O,gQ)R%eR,e)RQ'|$oR+U'|Q1]0VR1w1]Q${{R(^${Q+t(aR.c+tQ+w(bR.g+wQ+}(cQ,P(dT.m+},PQ(|%`S,a(|7tR7t7VQ(y%^R,^(yQ,k)WR/R,kQ)`%oS,q)`/WR/W,rQ,v)dR/^,vT!uV!rj!iPVX!j!r!s!w(`+r.l0`0a1aQ%Q!SQ(a$}W(h%P%S%U0iQ.e+uQ0Z.bR0[.d|ZPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ#f[U#m_#s&wQ#wbQ$VkQ$WlQ$XmQ$YnQ$ZoQ$[pQ$sx^$uy2_4b6e8q:m:nQ$vzQ%W!WQ%Y!XQ%[!YW%`!]%R(l,VU%s!g&p-RQ%|!yQ&O!zQ&Q!{S&U!})v^&^#R2a4d6g8t:p:qQ&_#SQ&`#TQ&a#UQ&b#VQ&c#WQ&d#XQ&e#YQ&f#ZQ&g#[Q&h#]Q&i#^Q&j#_Q&k#`Q&l#aQ&m#bQ&u#nQ&v#oS&{#t'OQ'X$RQ'Z$SQ'[$UQ(]$yQ(p%TQ)q%}Q)s&SQ)u&WQ*O&tS*['U4ZQ*^'Y^*_2[3u5v8Z:a=R=SQ+S'zQ+V(OQ,`({Q,c)PQ,y)iQ,{)pQ,})tQ-V*PQ-W*TQ-X*U^-]2]3v5w8[:b=T=UQ-i*oQ-x+PQ.k+zQ.w,XQ/`-QQ/h-dQ/n-kQ/y-zQ0r/cQ0u/iQ0x/mQ1Q/xU1X0V1]9WQ1d0eQ1m0vQ1q1RQ2Z2^Q2qjQ2r3yQ2x3zQ2y3|Q2z4OQ2{4QQ2|4SQ2}4UQ3O2`Q3Q2bQ3R2cQ3S2dQ3T2eQ3U2fQ3V2gQ3W2hQ3X2iQ3Y2jQ3Z2kQ3[2lQ3]2mQ3^2nQ3_2oQ3`2pQ3a2sQ3b2tQ3c2uQ3e2vQ3f2wQ3i3PQ3j3dQ3l3gQ3m3hQ3n3kQ3q3oQ3r3pQ3t3sQ4Y4WQ4y3{Q4z3}Q4{4PQ4|4RQ4}4TQ5O4VQ5P4cQ5R4eQ5S4fQ5T4gQ5U4hQ5V4iQ5W4jQ5X4kQ5Y4lQ5Z4mQ5[4nQ5]4oQ5^4pQ5_4qQ5`4rQ5a4sQ5b4tQ5c4uQ5d4vQ5f4wQ5g4xQ5j5QQ5k5eQ5m5hQ5n5iQ5o5lQ5r5pQ5s5qQ5u5tQ6Q4aQ6R3xQ6V6TQ6}6^Q7O6_Q7P6`Q7Q6aQ7R6bQ7S6cQ7T6dQ7U6fU7V,T.t0dQ7W%cQ7Y6hQ7Z6iQ7[6jQ7]6kQ7^6lQ7_6mQ7`6nQ7a6oQ7b6pQ7c6qQ7d6rQ7e6sQ7f6tQ7g6uQ7h6vQ7j6xQ7k6yQ7n6zQ7p6{Q7q6|Q7x7XQ7y7iQ7{7oQ7}7rQ8O7sQ8P7uQ8Q7wQ8R7zQ8S7|Q8V8TQ8W8UQ8Y8XQ8]8fU9U#k&s7lQ9^8jQ9_8kQ9`8lQ9a8mQ9b8nQ9c8oQ9e8pQ9f8rQ9g8sQ9i8uQ9j8vQ9k8wQ9l8xQ9m8yQ9n8zQ9o8{Q9p8|Q9q8}Q9r9OQ9s9PQ9t9QQ9u9RQ9v9SQ9w9TQ9x9ZQ9z9[Q9{9]Q:P9hQ:Q9yQ:T9}Q:V:OQ:W:RQ:[:YQ:^:ZQ:`:_Q:c8iQ;j:dQ;k:eQ;l:fQ;m:gQ;n:hQ;o:iQ;p:jQ;q:kQ;r:lQ;s:oQ;v:rQ;w:sQ;x:tQ;y:uQ;z:vQ;{:wQ;|:xQ;}:yQOQ=h>PQ=j>QQ=u>XQ=v>YQ=w>ZR=x>[0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[S$]r'^Q%k!eS%o!f%rQ)b%pU+X(R(S+dQ,p)_Q,t)cQ/Z,uQ/{-|R0p/[|vPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a#U#i[bklmnopxyz!W!X!Y!{#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b$R$S$U$y%}&S'Y(O)p+P-z/x0e1R2[2]6x6yd+^(T)W+]+`+g,g,h,k.Q/O!t6w'U2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x;b3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O=z_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["isolate",-4,66,67,70,191,""],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[LO],skippedNodes:[0],repeatNodeCount:29,tokenData:"!F|_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9W!e!}!7z!}#O!;^#O#P!;z#P#Q!V<%lO8VR9WV&wP%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%VQQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV&wP%VQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRV<%l~8V~O8V~~%fR=OW&wPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!yQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!xU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY&wP$VQOY$zYZ%fZz$zz{@^{!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR@eW$WQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRAUY$TQ&wPOY$zYZ%fZ{$z{|At|!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRA{V$zQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRBiV!}Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_CXZ$TQ%TW&wPOY$zYZ%fZ}$z}!OAt!O!^$z!^!_%k!_!`6U!`!aCz!a;'S$z;'S;=`&W<%lO$zVDRV#`U&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVDo[&wP$UQOY$zYZ%fZ!O$z!O!PEe!P!Q$z!Q![Fs![!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVEjX&wPOY$zYZ%fZ!O$z!O!PFV!P!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVF^V#UU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRFz_&wP%OQOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#SJc#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zRHO]&wPOY$zYZ%fZ{$z{|Hw|}$z}!OHw!O!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRH|X&wPOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRIpZ&wP%OQOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_#R$z#R#SHw#S;'S$z;'S;=`&W<%lO$zRJhX&wPOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVK[[&wP$VQOY$zYZ%fZz$zz{LQ{!P$z!P!Q,o!Q!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVLVX&wPOYLQYZLrZzLQz{N_{!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQVLwT&wPOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMZTOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMmVOzMWz{Mj{!PMW!P!QNS!Q;'SMW;'S;=`NX<%lOMWUNXO!eUUN[P;=`<%lMWVNdZ&wPOYLQYZLrZzLQz{N_{!PLQ!P!Q! V!Q!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQV! ^V!eU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV! vZOYLQYZLrZzLQz{N_{!aLQ!a!bMW!b;'SLQ;'S;=`!!i<%l~LQ~OLQ~~%fV!!lP;=`<%lLQZ!!vm&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!d$z!d!e!&o!e!g$z!g!hGy!h!q$z!q!r!(a!r!z$z!z!{!){!{#R$z#R#S!%}#S#U$z#U#V!&o#V#X$z#X#YGy#Y#c$z#c#d!(a#d#l$z#l#m!){#m;'S$z;'S;=`&W<%lO$zZ!$xa&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#S!%}#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zZ!&SX&wPOY$zYZ%fZ!Q$z!Q![!$q![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!&tY&wPOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!'k[&wP$}YOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_#R$z#R#S!&o#S;'S$z;'S;=`&W<%lO$zZ!(fX&wPOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!)YZ&wP$}YOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_#R$z#R#S!(a#S;'S$z;'S;=`&W<%lO$zZ!*Q]&wPOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zZ!+Q_&wP$}YOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#R$z#R#S!){#S#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zR!,WX!qQ&wPOY$zYZ%fZ![$z![!]!,s!]!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!,zV#sQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!-hV!mU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!.S[$RQOY$zYZ%fZ!^$z!^!_!.x!_!`!/i!`!a*c!a!b!0]!b;'S$z;'S;=`&W<%l~$z~O$z~~%fR!/PW$SQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!/pX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a*c!a;'S$z;'S;=`&W<%lO$zP!0bR!iP!_!`!0k!r!s!0p#d#e!0pP!0pO!iPP!0sQ!j!k!0y#[#]!0yP!0|Q!r!s!0k#d#e!0kV!1ZX#uQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`!a!1v!a;'S$z;'S;=`&W<%lO$zV!1}V#OU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!2kX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`!3W!`!a!.x!a;'S$z;'S;=`&W<%lO$zR!3_V$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!3{[!vQ&wPOY$zYZ%fZ}$z}!O!4q!O!^$z!^!_%k!_!`$z!`!a!6P!a!b!6m!b;'S$z;'S;=`&W<%lO$zV!4vX&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a!5c!a;'S$z;'S;=`&W<%lO$zV!5jV#aU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!6WV!gU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!6tW#zQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!7eV$]Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!8Ra&wP!s^OY$zYZ%fZ!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$z_!9_e&wP!s^OY$zYZ%fZr$zrs!:psw$zwx8Vx!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$zR!:wV&wP'gQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!;eV#WU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!mZ!^!=u!^!_!@u!_#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%lO!=uR!>rV&wPO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?[VO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?tRO;'S!?X;'S;=`!?};=`O!?XQ!@QWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!?X<%lO!?XQ!@oO${QQ!@rP;=`<%l!?XR!@x]OY!=uYZ!>mZ!a!=u!a!b!?X!b#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%l~!=u~O!=u~~%fR!AvW&wPOY!=uYZ!>mZ!^!=u!^!_!@u!_;'S!=u;'S;=`!B`;=`<%l!?X<%lO!=uR!BcWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!=u<%lO!?XR!CSV${Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!ClP;=`<%l!=uV!CvV!oU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!DfY#}Q#lS&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[EO,CO,NO,0,1,2,3,IO],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(O,Q)=>d(O)<<1,external:d},{term:81,get:O=>AO[O]||-1}],tokenPrec:29354}),KO=l.define({name:"php",parser:HO.configure({props:[x.add({IfStatement:W({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:W({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),y=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:y?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":R({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:W({except:/^({|end(for|foreach|switch|while)\b)/})}),V.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":r,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function O$(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let y=U({matchClosingTags:!1});Q.push(y.support),i=y.language}return new v(KO.configure({wrap:i&&u(y=>y.type.isTop?{parser:i.parser,overlay:z=>z.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{O$ as php,KO as phpLanguage}; diff --git a/public/admin/assets/index-B45KfhSk.js.br b/public/admin/assets/index-B45KfhSk.js.br new file mode 100644 index 0000000..9939462 Binary files /dev/null and b/public/admin/assets/index-B45KfhSk.js.br differ diff --git a/public/admin/assets/index-B45KfhSk.js.gz b/public/admin/assets/index-B45KfhSk.js.gz new file mode 100644 index 0000000..48fa5d8 Binary files /dev/null and b/public/admin/assets/index-B45KfhSk.js.gz differ diff --git a/public/admin/assets/index-BBRC8Ph6.js b/public/admin/assets/index-BBRC8Ph6.js new file mode 100644 index 0000000..c3d4f0d --- /dev/null +++ b/public/admin/assets/index-BBRC8Ph6.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-kB9Wxvf5.js";import"./index-B-LUCRde.js";import"./index-D7iOBDDb.js";export{o as default}; diff --git a/public/admin/assets/index-BBRC8Ph6.js.br b/public/admin/assets/index-BBRC8Ph6.js.br new file mode 100644 index 0000000..98172ab Binary files /dev/null and b/public/admin/assets/index-BBRC8Ph6.js.br differ diff --git a/public/admin/assets/index-BBRC8Ph6.js.gz b/public/admin/assets/index-BBRC8Ph6.js.gz new file mode 100644 index 0000000..b66b1da Binary files /dev/null and b/public/admin/assets/index-BBRC8Ph6.js.gz differ diff --git a/public/admin/assets/index-BGXeITTy.js b/public/admin/assets/index-BGXeITTy.js new file mode 100644 index 0000000..1965259 --- /dev/null +++ b/public/admin/assets/index-BGXeITTy.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{o as W,p as u,L as T,s as b,t,i as y,j as v,f as k,a as _,b as R,g as Y,q as w,r as U,E as d}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const G=1,X=2,S=3,z=180,j=4,h=181,Z=5,E=182;function x(O){return O>=65&&O<=90||O>=97&&O<=122}const V=new d(O=>{let a=O.pos;for(;;){let{next:e}=O;if(e<0)break;if(e==123){let r=O.peek(1);if(r==123){if(O.pos>a)break;O.acceptToken(G,2);return}else if(r==37){if(O.pos>a)break;let $=2,i=2;for(;;){let n=O.peek($);if(n==32||n==10)++$;else if(n==35)for(++$;;){let Q=O.peek($);if(Q<0||Q==10)break;$++}else if(n==45&&i==2)i=++$;else{let Q=n==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(Q?S:X,i);return}}}}if(O.advance(),e==10)break}O.pos>a&&O.acceptToken(z)});function f(O,a,e){return new d(r=>{let $=r.pos;for(;;){let{next:i}=r;if(i==123&&r.peek(1)==37){let n=2;for(;;n++){let l=r.peek(n);if(l!=32&&l!=10)break}let Q="";for(;;n++){let l=r.peek(n);if(!x(l))break;Q+=String.fromCharCode(l)}if(Q==O){if(r.pos>$)break;r.acceptToken(e,2);break}}else if(i<0)break;if(r.advance(),i==10)break}r.pos>$&&r.acceptToken(a)})}const F=f("endcomment",E,Z),D=f("endraw",h,j),N={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:312,assign:316,capture:322,endcapture:326,increment:330,decrement:334},C={__proto__:null,if:82,endif:86,elsif:90,else:94,unless:100,endunless:104,case:110,endcase:114,when:118,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},I=R.deserialize({version:14,states:"GYQYOPOOOOOP'#F{'#F{OeOXO'#CdOsQWO'#CfO!bQ`O'#DQO#{OPO'#DTO$ZOPO'#D^O$iOPO'#DcO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G`'#G`OOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQO'#Cg'#CgO&`QpO,59QO&gQpO'#G^OsQWO'#CsOOQO'#G^'#G^OOOP,59l,59lO)PQWO,59lOsQWO,59pOsQWO,59tO)WQWO,59vOsQWO,59yOsQWO,5:OOsQWO,5:SO!]QWO,5:WO!]QWO,5:`O)]QWO,5:dO)bQWO,5:fO)gQWO,5:hO)lQWO,5:kO)qQWO,5:qOsQWO,5:vOsQWO,5:xOsQWO,5;OOsQWO,5;QOsQWO,5;TOsQWO,5;XOsQWO,5;ZO+QQWO,5;]O+XOPO'#CdOOOP,59o,59oO#{OPO,59oO+gQ`O'#DWOOOP,59x,59xO$ZOPO,59xO+lQ`O'#DaOOOP,59},59}O$iOPO,59}O+qQ`O'#DfOOOP,5:V,5:VO$wOPO,5:VO+vQ`O'#DqOOOP,5:_,5:_O%VOPO,5:_O+{Q`O'#DvOOOS'#GQ'#GQO,QOSO'#ERO,YOSO,5:jOOOQ'#GR'#GRO,_OQO'#EXO,gOQO,5:pOOOP,5;S,5;SO%oOPO,5;SO,lQ`O'#EkOOOP-E9x-E9xO,qQ!bO,59SOsQWO,59VOsQWO,59VO,vQWO'#C|OOQO'#F|'#F|O,{QWO1G.lOOOP1G.l1G.lOsQWO,59VOsQWO,59ZO-TQpO,59_O-fQpO1G/WOOOP1G/W1G/WO-wQpO1G/[O.YQpO1G/`OOOP1G/b1G/bO.kQpO1G/eO.|QpO1G/jO/pQpO1G/nO/wQWO1G/rO/|QWO1G/zOOOP1G0O1G0OOOOP1G0Q1G0QO0RQWO1G0SOOOS1G0V1G0VOOOQ1G0]1G0]O0^QpO1G0bO0eQpO1G0dO1PQpO1G0jO1bQpO1G0lO1sQpO1G0oO2UQpO1G0sO2gQpO1G0uO2xQWO'#EsO3PQWO'#ExO3WQWO'#FRO3_QWO'#FYO3fQWO'#F^O3mQWO'#FqOOQO'#Ga'#GaOOQO'#GT'#GTO3tQWO1G0wOsQWO'#EtOsQWO'#EyOsQWO'#E}OOQO'#FP'#FPOsQWO'#FSOsQWO'#FWO!]QWO'#FZO!]QWO'#F_OOQO'#Fc'#FcOOQO'#Fe'#FeO3{QWO'#FfOsQWO'#FhOsQWO'#FjOsQWO'#FmOsQWO'#FoOsQWO'#FrOsQWO'#FvOsQWO'#FxOOOP1G0w1G0wOOOP1G/Z1G/ZO4QQWO,59rOOOP1G/d1G/dO4VQWO,59{OOOP1G/i1G/iO4[QWO,5:QOOOP1G/q1G/qO4aQWO,5:]OOOP1G/y1G/yO4fQWO,5:bOOOS-E:O-E:OOOOP1G0U1G0UO4kQ`O'#ESOOOQ-E:P-E:POOOP1G0[1G0[O4pQ`O'#EYOOOP1G0n1G0nO4uQWO,5;VOOQO1G.n1G.nOOQO1G.q1G.qO7ZQpO1G.qOOQO'#DO'#DOO7eQWO,59hOOQO-E9z-E9zOOOP7+$W7+$WO9_QpO1G.qO9iQpO1G.uOsQWO1G.yOOOP7+$r7+$rOOOP7+$v7+$vOOOP7+$z7+$zOOOP7+%P7+%POOOP7+%U7+%UOsQWO'#F}OkQpO,5;eO@UQpO,5;iOBRQpO,5;nOClQpO,5;rOE_QWO,5;uOEdQWO,5;yOEiQWO,5dOOOPAN>dAN>dO!5aQWOAN>lOOOPAN>lAN>lO!5iQWOAN>tOOOPAN>tAN>tOsQWO1G0fO!]QWO1G0fO!5qQpO7+&{O!7QQpO7+'PO!8aQWO7+'WO!:TQWO,5N[O]||-1},{term:37,get:O=>C[O]||-1}],tokenPrec:0});function o(O,a){return O.split(" ").map(e=>({label:e,type:a}))}const m=o("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),P=o("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),q=o("empty forloop tablerowloop in with as contains","keyword"),L=o("first index index0 last length rindex","property"),A=o("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function B(O){var a;let{state:e,pos:r}=O,$=Y(e).resolveInner(r,-1).enterUnfinishedNodesBefore(r),i=((a=$.childBefore(r))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let n=O.matchBefore(/[\w\u00c0-\uffff]+$/);return n?{type:"expression",from:n.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function M(O,a,e,r){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="forloop")return $.length?[]:L;if(i.name=="tablerowloop")return $.length?[]:A;if(i.name=="VariableName"){$.unshift(O.sliceDoc(i.from,i.to));break}else if(i.name=="MemberExpression"){let n=i.getChild("PropertyName");n&&$.unshift(O.sliceDoc(n.from,n.to)),a=i}else return[]}return r?r($,O,e):[]}function H(O={}){let a=O.filters?O.filters.concat(m):m,e=O.tags?O.tags.concat(P):P,r=O.variables?O.variables.concat(q):q,{properties:$}=O;return i=>{var n;let Q=B(i);if(!Q)return null;let l=(n=Q.from)!==null&&n!==void 0?n:Q.node?Q.node.from:i.pos,s;return Q.type=="filter"?s=a:Q.type=="tag"?s=e:Q.type=="expression"?s=r:s=M(i.state,Q.target,i,$),s.length?{options:s,from:l,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const K=W.inputHandler.of((O,a,e,r)=>r!="%"||a!=e||O.state.doc.sliceString(a-1,e+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:u.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function c(O){return a=>{let e=O.test(a.textAfter);return a.lineIndent(a.node.from)+(e?0:a.unit)}}const J=T.define({name:"liquid",parser:I.configure({props:[b({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":t.keyword,"empty forloop tablerowloop":t.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":t.controlKeyword,"assign capture endcapture":t.definitionKeyword,contains:t.operatorKeyword,"render include":t.moduleKeyword,VariableName:t.variableName,TagName:t.tagName,FilterName:t.function(t.variableName),PropertyName:t.propertyName,CompareOp:t.compareOperator,AssignOp:t.definitionOperator,LogicOp:t.logicOperator,NumberLiteral:t.number,StringLiteral:t.string,BooleanLiteral:t.bool,InlineComment:t.lineComment,CommentText:t.blockComment,"{% %} {{ }}":t.brace,"( )":t.paren,".":t.derefOperator,", .. : |":t.punctuation}),y.add({Tag:v({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":c(/^\s*(\{%-?\s*)?end\w/),IfDirective:c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:c(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),k.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,e=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:e.name=="EndTag"?e.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),p=w();function g(O){return J.configure({wrap:U(a=>a.type.isTop?{parser:O.parser,overlay:e=>e.name=="Text"||e.name=="RawText"}:null)},"liquid")}const OO=g(p.language);function rO(O={}){let a=O.base||p,e=a.language==p.language?OO:g(a.language);return new _(e,[a.support,e.data.of({autocomplete:H(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),K])}export{K as closePercentBrace,rO as liquid,H as liquidCompletionSource,OO as liquidLanguage}; diff --git a/public/admin/assets/index-BGXeITTy.js.br b/public/admin/assets/index-BGXeITTy.js.br new file mode 100644 index 0000000..f75d0d1 Binary files /dev/null and b/public/admin/assets/index-BGXeITTy.js.br differ diff --git a/public/admin/assets/index-BGXeITTy.js.gz b/public/admin/assets/index-BGXeITTy.js.gz new file mode 100644 index 0000000..d5fe55a Binary files /dev/null and b/public/admin/assets/index-BGXeITTy.js.gz differ diff --git a/public/admin/assets/index-BNCI4yQq.js b/public/admin/assets/index-BNCI4yQq.js new file mode 100644 index 0000000..957cfc8 --- /dev/null +++ b/public/admin/assets/index-BNCI4yQq.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{C as A,E as k,s as Y,t as p,b as I,L as j,i as U,f as z,u as q,a as D,o as M,g as Z,p as B}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const _=1,F=2,J=3,H=4,L=5,K=35,ee=36,te=37,ne=11,Oe=13;function ae(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function re(e){return e==9||e==10||e==13||e==32}let X=null,Q=null,E=0;function b(e,t){let O=e.pos+t;if(Q==e&&E==O)return X;for(;re(e.peek(t));)t++;let n="";for(;;){let a=e.peek(t);if(!ae(a))break;n+=String.fromCharCode(a),t++}return Q=e,E=O,X=n||null}function x(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O{if(e.next==60){if(e.advance(),e.next==47){e.advance();let O=b(e,0);if(!O)return e.acceptToken(L);if(t.context&&O==t.context.name)return e.acceptToken(F);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(J,-2);e.acceptToken(H)}else if(e.next!=33&&e.next!=63)return e.acceptToken(_)}},{contextual:!0});function w(e,t){return new k(O=>{let n=0,a=t.charCodeAt(0);e:for(;!(O.next<0);O.advance(),n++)if(O.next==a){for(let l=1;l"),ie=w(ee,"?>"),ye=w(te,"]]>"),ge=Y({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),me=I.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[oe,se,ie,ye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function h(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function V(e,t){let O=t&&t.firstChild;return!O||O.name!="OpenTag"?"":h(e,O)}function $e(e,t,O){let n=t&&t.getChildren("Attribute").find(l=>l.from<=O&&l.to>=O),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function P(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ce(e,t){var O;let n=Z(e).resolveInner(t,-1),a=null;for(let l=n;!a&&l.parent;l=l.parent)(l.name=="OpenTag"||l.name=="CloseTag"||l.name=="SelfClosingTag"||l.name=="MismatchedCloseTag")&&(a=l);if(a&&(a.to>t||a.lastChild.type.isError)){let l=a.parent;if(n.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:l}:{type:"openTag",from:n.from,context:P(l)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:a};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:a};let s=n==a||n.name=="Attribute"?n.childBefore(t):n;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:P(l)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:l}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:a}:s?{type:"attrName",from:t,context:a}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(!((O=n.lastChild)===null||O===void 0)&&O.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:t,context:n.name=="Element"?n:P(n)}:null}class ue{constructor(t,O,n){this.attrs=O,this.attrValues=n,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const v=/^[:\-\.\w\u00b7-\uffff]*$/;function R(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function G(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let O=[],n=[],a=Object.create(null);for(let r of t){let m=R(r);O.push(m),r.global&&n.push(m),r.values&&(a[r.name]=r.values.map(G))}let l=[],s=[],S=Object.create(null);for(let r of e){let m=n,y=a;r.attributes&&(m=m.concat(r.attributes.map(o=>typeof o=="string"?O.find(f=>f.label==o)||{label:o,type:"property"}:(o.values&&(y==a&&(y=Object.create(y)),y[o.name]=o.values.map(G)),R(o)))));let u=new ue(r,m,y);S[u.name]=u,l.push(u),r.top&&s.push(u)}s.length||(s=l);for(let r=0;r{var m;let{doc:y}=r.state,u=ce(r.state,r.pos);if(!u||u.type=="tag"&&!r.explicit)return null;let{type:o,from:f,context:$}=u;if(o=="openTag"){let i=s,g=V(y,$);if(g){let c=S[g];i=(c==null?void 0:c.children)||l}return{from:f,options:i.map(c=>c.completion),validFor:v}}else if(o=="closeTag"){let i=V(y,$);return i?{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)==">"?1:0),options:[((m=S[i])===null||m===void 0?void 0:m.closeNameCompletion)||{label:i+">",type:"type"}],validFor:v}:null}else if(o=="attrName"){let i=S[h(y,$)];return{from:f,options:(i==null?void 0:i.attrs)||n,validFor:v}}else if(o=="attrValue"){let i=$e(y,$,f);if(!i)return null;let g=S[h(y,$)],c=((g==null?void 0:g.attrValues)||a)[i];return!c||!c.length?null:{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)=='"'?1:0),options:c,validFor:/^"[^"]*"?$/}}else if(o=="tag"){let i=V(y,$),g=S[i],c=[],d=$&&$.lastChild;i&&(!d||d.name!="CloseTag"||h(y,d)!=i)&&c.push(g?g.closeCompletion:{label:"",type:"type",boost:2});let C=c.concat(((g==null?void 0:g.children)||($?l:s)).map(T=>T.openCompletion));if($&&(g!=null&&g.text.length)){let T=$.firstChild;T.to>r.pos-20&&!/\S/.test(r.state.sliceDoc(T.to,r.pos))&&(C=C.concat(g.text))}return{from:f,options:C,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const W=j.define({name:"xml",parser:me.configure({props:[U.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),z.add({Element(e){let t=e.firstChild,O=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:O.name=="CloseTag"?O.from:e.to}}}),q.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function Ce(e={}){let t=[W.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(Se),new D(W,t)}function N(e,t,O=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,O)):""}const Se=M.inputHandler.of((e,t,O,n,a)=>{if(e.composing||e.state.readOnly||t!=O||n!=">"&&n!="/"||!W.isActiveAt(e.state,t,-1))return!1;let l=a(),{state:s}=l,S=s.changeByRange(r=>{var m,y,u;let{head:o}=r,f=s.doc.sliceString(o-1,o)==n,$=Z(s).resolveInner(o,-1),i;if(f&&n==">"&&$.name=="EndTag"){let g=$.parent;if(((y=(m=g.parent)===null||m===void 0?void 0:m.lastChild)===null||y===void 0?void 0:y.name)!="CloseTag"&&(i=N(s.doc,g.parent,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=``;return{range:r,changes:{from:o,to:c,insert:d}}}}else if(f&&n=="/"&&$.name=="StartCloseTag"){let g=$.parent;if($.from==o-2&&((u=g.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=N(s.doc,g,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=`${i}>`;return{range:B.cursor(o+d.length,-1),changes:{from:o,to:c,insert:d}}}}return{range:r}});return S.changes.empty?!1:(e.dispatch([l,s.update(S,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{Se as autoCloseTags,pe as completeFromSchema,Ce as xml,W as xmlLanguage}; diff --git a/public/admin/assets/index-BNCI4yQq.js.br b/public/admin/assets/index-BNCI4yQq.js.br new file mode 100644 index 0000000..344f04b Binary files /dev/null and b/public/admin/assets/index-BNCI4yQq.js.br differ diff --git a/public/admin/assets/index-BNCI4yQq.js.gz b/public/admin/assets/index-BNCI4yQq.js.gz new file mode 100644 index 0000000..17264d5 Binary files /dev/null and b/public/admin/assets/index-BNCI4yQq.js.gz differ diff --git a/public/admin/assets/index-BTK6Z_A_.js b/public/admin/assets/index-BTK6Z_A_.js new file mode 100644 index 0000000..7d812e4 --- /dev/null +++ b/public/admin/assets/index-BTK6Z_A_.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as C,N as S,u as y,aa as M,ab as x,p as V,Z as c,a as L,ac as a,S as $,n as A,g as n,c as B,e as i,b as o,Q as f,i as s,w as _,ad as D,z as m,y as N,M as R,ae as P,af as T,A as b,l as z}from"./index-B-LUCRde.js";import H from"./index-Cpibzrxv.js";import I from"./index-D15m5k9F.js";import K from"./index-BtV4tEHw.js";import E from"./index-C-NEQ-qC.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-BLF1xKsJ.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-C3EW_BoO.js";/* empty css */import Z from"./link-BWt2ASQg.js";import j from"./index-BjjDdbQo.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-BEkNPBKN.js";import{u as F}from"./useMainPage-DaitCM4q.js";import{u as G}from"./useMenu-B9ueoTu1.js";import"./index.vue_vue_type_script_setup_true_lang-DEZ4Pc0_.js";import"./rightSide.vue_vue_type_script_setup_true_lang-Fy5MVj_4.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js";import"./index.vue_vue_type_script_setup_true_lang--vRGEqGb.js";import"./HDropdown-DTfQxtss.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js";import"./use-resolve-button-type-BVUBWyWZ.js";import"./index.vue_vue_type_script_setup_true_lang-kB9Wxvf5.js";import"./index-D7iOBDDb.js";import"./index.vue_vue_type_script_setup_true_lang-yPWTj9re.js";import"./HKbd-vG5TE40y.js";import"./index.vue_vue_type_script_setup_true_lang-BX7HigS5.js";import"./index.vue_vue_type_script_setup_true_lang-BYv-_Pjb.js";import"./sub.vue_vue_type_script_setup_true_lang-JHc32bNx.js";import"./item.vue_vue_type_script_setup_true_lang-DaXPxrm0.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js";import"./index-CSu-2OAU.js";import"./index-CHxKnDgq.js";import"./leftSide.vue_vue_type_script_setup_true_lang-vuMi6OLa.js";import"./index-Bun7yaxh.js";import"./index-CHGE2DVJ.js";import"./item.vue_vue_type_script_setup_true_lang-v8FUh9Fm.js";import"./HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js";import"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";const J={class:"layout"},O={id:"app-main"},W={class:"wrapper"},X={class:"main-container"},Y={class:"main"},ee=C({name:"Layout",__name:"index",setup(oe){const p=S(),e=y(),v=M(),r=x(),h=F(),g=G(),l=V(()=>!!p.meta.link);return c(()=>e.settings.menu.subMenuCollapse,t=>{e.mode==="mobile"&&(t?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),c(()=>p.path,()=>{e.mode==="mobile"&&e.$patch(t=>{t.settings.menu.subMenuCollapse=!0})}),L(()=>{a("f5",t=>{e.settings.toolbar.pageReload&&(t.preventDefault(),h.reload())}),a("alt+`",t=>{e.settings.menu.enableHotkeys&&(t.preventDefault(),g.switchTo(r.actived+1{a.unbind("f5"),a.unbind("alt+`")}),(t,d)=>{const w=A("RouterView");return n(),B("div",J,[i("div",O,[o(H),i("div",W,[i("div",{class:f(["sidebar-container",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}])},[o(I),o(K)],2),i("div",{class:f(["sidebar-mask",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}]),onClick:d[0]||(d[0]=u=>s(e).toggleSidebarCollapse())},null,2),i("div",X,[o(E),i("div",Y,[o(w,null,{default:_(({Component:u,route:k})=>[o(D,{name:"slide-right",mode:"out-in",appear:""},{default:_(()=>[(n(),m(T,{include:s(v).list},[N((n(),m(P(u),{key:k.fullPath})),[[R,!s(l)]])],1032,["include"]))]),_:2},1024)]),_:1}),s(l)?(n(),m(Z,{key:0})):b("",!0)]),o(j)])])]),o(Q),o(U),b("",!0),o(q)])}}}),Ie=z(ee,[["__scopeId","data-v-8e390700"]]);export{Ie as default}; diff --git a/public/admin/assets/index-BTK6Z_A_.js.br b/public/admin/assets/index-BTK6Z_A_.js.br new file mode 100644 index 0000000..3b9a48c Binary files /dev/null and b/public/admin/assets/index-BTK6Z_A_.js.br differ diff --git a/public/admin/assets/index-BTK6Z_A_.js.gz b/public/admin/assets/index-BTK6Z_A_.js.gz new file mode 100644 index 0000000..f16f0fd Binary files /dev/null and b/public/admin/assets/index-BTK6Z_A_.js.gz differ diff --git a/public/admin/assets/index-BYt_SlCe.js b/public/admin/assets/index-BYt_SlCe.js new file mode 100644 index 0000000..c8cacad --- /dev/null +++ b/public/admin/assets/index-BYt_SlCe.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{s as X,t as O,b as e,L as r,i as s,c as $,h as S,j as l,f as Z,k as Y,a as t}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const n=X({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),o={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},c=e.deserialize({version:14,states:"#!tQ]QPOOQ$wQPOOO(_QQO'#H]O*cQQO'#CbOOQO'#Cb'#CbO*jQPO'#CaO*rOSO'#CpOOQO'#Hb'#HbOOQO'#Cu'#CuO,_QPO'#D_O,xQQO'#HlOOQO'#Hl'#HlO/^QQO'#HgO/eQQO'#HgOOQO'#Hg'#HgOOQO'#Hf'#HfO1iQPO'#DUO1vQPO'#GmO4nQPO'#D_O4uQPO'#DzO*jQPO'#E[O5hQPO'#E[OOQO'#DV'#DVO6vQQO'#H`O8}QQO'#EeO9UQPO'#EdO9ZQPO'#EfOOQO'#Ha'#HaO7^QQO'#HaO:^QQO'#FgO:eQPO'#EwO:jQPO'#E|O:jQPO'#FOOOQO'#H`'#H`OOQO'#HX'#HXOOQO'#Gg'#GgOOQO'#HW'#HWO;zQPO'#FhOOQO'#HV'#HVOOQO'#Gf'#GfQ]QPOOOOQO'#Hr'#HrOQQPO'#GYO>nQQO'#HhO?ZQQO'#CuO?bQPO'#HwO?pQPO'#D_O@`QPO'#DpO?eQPO'#DqO@jQPO'#HwO@{QPO'#DpOATQPO'#IQOAYQPO'#E`OOQO'#Hq'#HqOOQO'#Gl'#GlQ$wQPOOOAbQPO'#HrOOQO'#H]'#H]OCaQQO,58{OOQO'#HZ'#HZOOOO'#Gh'#GhOESOSO,59[OOQO,59[,59[OOQO'#Hh'#HhOEsQPO,59eOFuQPO,59yOOQO-E:e-E:eO*jQPO,58zOGiQPO,58zO*jQPO,5;|OGnQPO'#DQOGsQPO'#DQOOQO'#Gj'#GjOHsQQO,59jOOQO'#Dm'#DmOJ[QPO'#HtOJfQPO'#DlOJtQPO'#HsOJ|QPO,5<^OKRQPO,59^OKlQPO'#CxOOQO,59c,59cOKsQPO,59bOLOQQO'#H]OM}QQO'#CbO! |QPO'#D_O!#RQQO'#HlO!#cQQO,59pO!#jQPO'#DvO!#xQPO'#H{O!$QQPO,5:`O!$VQPO,5:`O!$mQPO,5;mO!$xQPO'#ISO!%TQPO,5;dO!%YQPO,5=XOOQO-E:k-E:kOOQO,5:f,5:fO!&pQPO,5:fO!&wQPO,5:vO?bQPO,5<^O*jQPO,5:vO^,5>^O!*TQPO,5:gO!*cQPO,5:qO!*kQPO,5:lO!*vQPO,5>ZO!#jQPO,5>ZO!&|QPO,59UO!+RQQO,58zO!+ZQQO,5;|O!+cQQO,5TQPO,5TQPO,5<|O!1}QPO,59jO!2[QPO'#HtO!2cQPO,59xO!2hQPO,5>cO?bQPO,59xO!2sQPO,5:[OAYQPO,5:zO!2{QPO'#DrO?eQPO'#DrO!3WQPO'#HxO!3`QPO,5:]O?bQPO,5>cO!'{QPO,5>cOATQPO,5>lOOQO,5:[,5:[O!$VQPO'#DtOOQO,5>l,5>lO!3eQPO'#EaOOQO,5:z,5:zO!6fQPO,5:zO!'{QPO'#DxOOQO-E:j-E:jOOQO,5:y,5:yO*jQPO,58}O!6kQPO'#ChOOQO1G.k1G.kOOOO-E:f-E:fOOQO1G.v1G.vO!+RQQO1G.fO*jQPO1G.fO!6uQQO1G1hOOQO,59l,59lO!6}QPO,59lOOQO-E:h-E:hO!7SQPO,5>`O!7kQPO,5:WO_OOQO1G1x1G1xOOQO1G.x1G.xO!8]QPO'#CyO!8{QPO'#HlO!9VQPO'#CzO!9eQPO'#HkO!9mQPO,59dOOQO1G.|1G.|OKsQPO1G.|O!:TQPO,59eO!:bQQO'#H]O!:sQQO'#CbOOQO,5:b,5:bOgOOQO1G/z1G/zO!nOOQO1G1O1G1OOOQO1G0Q1G0QO!=PQPO'#E]OOQO1G0b1G0bO!=pQPO1G1xO!&wQPO1G0bO!*TQPO1G0RO!*cQPO1G0]O!*kQPO1G0WOOQO1G/]1G/]O!=uQQO1G.pO9UQPO1G0jO*jQPO1G0jO<^QPO'#HoO!?iQQO1G.pOOQO1G.p1G.pO!?nQQO1G0iOOQO1G0l1G0lO!?uQPO1G0lO!@QQQO1G.oO!@hQQO'#HpO!@uQPO,59sO!BUQQO1G0pO!CmQQO1G0pO!D{QQO1G0pO!EYQQO1G0pO!F_QQO1G0pO!FuQQO1G0pO!GPQQO1G1PO!GWQQO'#HlOOQO1G0{1G0{O!HZQQO1G0}OOQO1G0}1G0}OOQO1G1n1G1nO!HqQPO'#D[O!'{QPO'#D|O!'{QPO'#D}OOQO1G0R1G0RO!HxQPO1G0RO!H}QPO1G0RO!IVQPO1G0RO!IbQPO'#EXOOQO1G0]1G0]O!IuQPO1G0]O!IzQPO'#ETO!'{QPO'#ESOOQO1G0W1G0WO!JtQPO1G0WO!JyQPO1G0WO!KRQPO'#EhO!KYQPO'#EhOOQO'#Gw'#GwO!KbQQO1G0mO!MRQQO1G3uO9UQPO1G3uO# QQPO'#FWOOQO1G.f1G.fOOQO1G1h1G1hO# XQPO1G1jOOQO1G1j1G1jO# dQQO1G1jO# lQPO1G1pOOQO1G1s1G1sO*zQPO'#D_O,xQQO,5TQPO'#G`OOQO1G2`1G2`O#/{QPO1G2hO#3yQPO,5>fOOQO1G/d1G/dOOQO1G3}1G3}O#4[QPO1G/dOOQO1G/v1G/vOOQO1G0f1G0fO!6fQPO1G0fOOQO,5:^,5:^O!'{QPO'#DsO#4aQPO,5:^O?eQPO'#GqO#4lQPO,5>dOOQO1G/w1G/wOATQPO'#HzO#4tQPO1G3}O?bQPO1G3}OOQO1G4W1G4WO!!mQPO'#DvO! |QPO'#D_OOQO,5:{,5:{O#5PQPO,5:{O#5PQPO,5:{O#5WQQO'#H`O#6fQQO'#HaO#6pQQO'#EbO#6{QPO'#EbO#7TQPO'#H}OOQO,5:d,5:dOOQO1G.i1G.iO#7`QQO'#EeO#7pQQO'#H_O#8QQPO'#FSOOQO'#H_'#H_O#8[QPO'#H_O#8yQPO'#IVO#9RQPO,59SOOQO7+$Q7+$QO!+RQQO7+$QOOQO7+'S7+'SOOQO1G/W1G/WO#9WQPO'#DoO#9bQQO'#HuOOQO'#Hu'#HuOOQO1G/r1G/rOOQO,5=Z,5=ZOOQO-E:m-E:mO#9rQWO,58{O#9yQPO,59fOOQO,59f,59fO!'{QPO'#HnOKWQPO'#GiO#:XQPO,5>VOOQO1G/O1G/OOOQO7+$h7+$hOOQO1G/{1G/{O#:aQQO1G/{OOQO1G/}1G/}O#:fQPO1G/{OOQO1G/|1G/|OZO#[OOQO1G/_1G/_O:jQPO7+&kO#XQPO'#IOO#>dQPO,5:sO?bQPO'#HwO!'{QPO'#HwO#>lQPO'#DpOOQO'#Gt'#GtO#>sQPO,5:oOOQO,5:o,5:oOOQO,5:n,5:nOOQO,5;S,5;SO#?mQQO,5;SO#?tQPO,5;SOOQO-E:u-E:uOOQO7+&X7+&XOOQO7+)a7+)aO#?{QQO7+)aOOQO'#G{'#G{O#AiQPO,5;rOOQO,5;r,5;rO#ApQPO'#FXO*jQPO'#FXO*jQPO'#FXO*jQPO'#FXO#BOQPO7+'UO#BTQPO7+'UOOQO7+'U7+'UO]QPO7+'[O#B`QPO1G1{O?bQPO1G1{O#BnQQO1G1wO!'tQPO1G1wO#BuQPO1G1wO#B|QQO7+'hOOQO'#HO'#HOO#CTQPO,5TQPO,5iO#JsQPO,59TO#JzQPO'#IUO#KSQPO,5;nO*jQPO'#GzO#KXQPO,5>qOOQO1G.n1G.nOOQO<Y,5>YOOQO,5=T,5=TOOQO-E:g-E:gO#KnQPO7+%gOOQO7+%g7+%gOOQO7+%i7+%iOOQO<jO$!iQPO'#EZOOQO1G0_1G0_O$!pQPO1G0_O?bQPO,5:pOOQO-E:r-E:rOOQO1G0Z1G0ZOOQO1G0n1G0nO$!uQQO1G0nOOQO<pOOQO1G1Y1G1YO$(XQPO'#FTOOQO,5=f,5=fOOQO-E:x-E:xO$(^QPO'#GnO$(kQPO,5>bOOQO1G/u1G/uOOQO<sAN>sO!HxQPOAN>sOOQOAN>xAN>xOOQOAN?[AN?[O9UQPOAN?[OOQO1G0`1G0`O$)SQPO1G0`OOQO,5=a,5=aOOQO-E:s-E:sO$)bQPO,5:uOOQO7+%y7+%yOOQO7+&Y7+&YOOQO1G1_1G1_O$)iQQO1G1_OOQO-E:z-E:zO$)qQQO'#IXO$)lQPO1G1_O$#[QPO1G1_O*jQPO1G1_OOQOAN@[AN@[O$)|QQO<sO$+fQPO7+&yO$+kQQO'#IYOOQOAN@mAN@mO$+vQQOAN@mOOQOAN@iAN@iO$+}QPOAN@iO$,SQQO<tOOQOG26XG26XOOQOG26TG26TOOQO<YOWiXuiX%|iX&OiX&QiX&^iX~OZ!aX~P>uOu#OO%|TO&O#SO&Q#SO~O%|TO~P3^Og^Oh^Ov#pO!u#rO!z#qO&^!hO&s#oO~O&O!cO&Q!dO~P?wOg^Oh^O%|TO&O!cO&Q!dO~O}cO!P%^O~OZ%_O~O}%aO!m%dO~O}cOg&fXh&fXv&fX!S&fX!T&fX!U&fX!V&fX!W&fX!X&fX!Y&fX!Z&fX!]&fX!^&fX!_&fX!u&fX!z&fX%|&fX&O&fX&Q&fX&^&fX&s&fX~OW%gOZ%hOgTahTa%|Ta&OTa&QTa~OvTa!STa!TTa!UTa!VTa!WTa!XTa!YTa!ZTa!]Ta!^Ta!_Ta!uTa!zTa#xTa#yTa$VTa$gTa&sTa&^TauTaYTaqTa|Ta!PTa~PBxO&V%kO&X!tO~Ou#OO%|TOqma&]maYma&mma!Pma~O&uma}ma!rma~PE[O!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO~Og!Rah!Rav!Ra!u!Ra!z!Ra$g!Ra&O!Ra&Q!Ra&s!Ra&^!Ra~PFQO#y%mO~Os%oO~Ou%pO%|TO~Ou#OO%|ra&Ora&Qra&uraYrawra&mra&pra!Pra&]raqra~OWra#_ra#ara#cra#dra#era#fra#gra#hra#jra#nra#qra&^ra#orasra|ra~PG{Ou#OO%|TOq&hX!P&hX!b&hX~OY&hX#o&hX~PIyO!b%sOq!`X!P!`XY!`X~Oq%tO!P&gX~O!P%vO~Ov%wO~Og^Oh^O%|0iO&O!wO&QWO&a%zO~O&]&_P~PKWO%|TO&O!wO&QWO~OW&PXYiXY!aXY&PXZ&PXq!aXu&PXwiX!b&PX#]&PX#_&PX#a&PX#c&PX#d&PX#e&PX#f&PX#g&PX#h&PX#j&PX#n&PX#q&PX&]&PX&^&PX&miX&m&PX&piX&uiX&u&PX&w!aX~P>uOWUXYUXY!aXY&[XZUXq!aXuUXw&[X!bUX#]UX#_UX#aUX#cUX#dUX#eUX#fUX#gUX#hUX#jUX#nUX#qUX&]UX&^UX&mUX&m&[X&p&[X&uUX&u&[X&w!aX~P>YOg^Oh^O%|TO&O!wO&QWOg!RXh!RX&O!RX&Q!RX~PFQOu#OOw&UO%|TO&O&RO&Q&QO&p&TO~OW#XOY&`X&m&`X&u&`X~P!!mOY&WO~P9`Og^Oh^O&O!wO&QWO~Oq&YOY&oX~OY&[O~Og^Oh^O%|TO&O!wO&QWOY&oP~PFQOY&aO&m&_O&u#vO~Oq&bO&w$WOY&vX~OY&dO~O%|TOg%aah%aav%aa!S%aa!T%aa!U%aa!V%aa!W%aa!X%aa!Y%aa!Z%aa!]%aa!^%aa!_%aa!u%aa!z%aa$g%aa&O%aa&Q%aa&s%aa&^%aa~O|&eO~P]O}&fO~Op&rOw&sO&OSO&Q!qO&^#YO~Oz&qO~P!&|Oz&uO&OSO&Q!qO&^#YO~OY&dP~P:jOg^Oh^O%|TO&O!wO&QWO~O}cO~P:jOW#XOu#OO%|TO&u&`X~O#q$TO!P#ra#_#ra#a#ra#c#ra#d#ra#e#ra#f#ra#g#ra#h#ra#j#ra#n#ra&]#ra&^#ra&m#raY#ra#o#ras#raq#ra|#ra~Oo'XO}'WO!r'YO&^!hO~O}'_O!r'YO~Oo'cO}'bO&^!hO~OZ#xOu'gO%|TO~OW%gO}'mO~OW%gO!P'oO~OW'pO!P'qO~O$g!WO&O0kO&Q0jO!P&dP~P/lO!P'|O#o'}O~P9`O}(OO~O$b(QO~O!P(RO~O!P(SO~O!P(TO~P9`O!P(VO~P9`OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQO%P(bO%T(cOZ$|a_$|a`$|aa$|ab$|ac$|ae$|ag$|ah$|ap$|av$|aw$|az$|a}$|a!P$|a!S$|a!T$|a!U$|a!V$|a!W$|a!X$|a!Y$|a!Z$|a![$|a!]$|a!^$|a!_$|a!u$|a!z$|a#e$|a#q$|a#s$|a#t$|a#x$|a#y$|a$V$|a$X$|a$_$|a$b$|a$d$|a$g$|a$k$|a$m$|a$r$|a$t$|a$v$|a$x$|a${$|a$}$|a%v$|a%|$|a&O$|a&Q$|a&W$|a&s$|a|$|a$`$|a$p$|a~O}ra!rra&}ra~PG{OZ%_O~PIyO!P(gO~O!m%dO}&ka!P&ka~O}cO!P(jO~Oo(nOq!fX&]!fX~Oq(pO&]&lX~O&](rO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op)OOv{Ow(}Oz!OO|(yO}cO!PvO![!`O!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&^#YO&sdO~PFQO}%aO~O})VOY&yP~P:jOW%gO!P)^O~Os)_O~Ou#OO%|TOq&ha!P&ha!b&haY&ha#o&ha~O})`O~P:jOq%tO!P&ga~Og^Oh^O%|0iO&O!wO&QWO~O&a)gO~P!7zOu#OO%|TOq&`X&]&`XY&`X&m&`X!P&`X~O}&`X!r&`X~P!8dOo)iOp)iOqnX&]nX~Oq)jO&]&_X~O&])lO~Ou#OOw)nO%|TO&OSO&Q!qO~OYma&mma&uma~P!9rOW&PXY!aXq!aXu!aX%|!aX~OWUXY!aXq!aXu!aX%|!aX~OW)qO~Ou#OO%|TO&O#SO&Q#SO&p)sO~Og^Oh^O%|TO&O!wO&QWO~PFQOq&YOY&oa~Ou#OO%|TO&O#SO&Q#SO&p&TO~OY)vO~OY)yO&m&_O~Oq&bOY&va~Og^Oh^Ov{O|*RO!u}O%|TO&O!wO&QWO&sdO~PFQO!P*SO~OW^iZ#XXu^i!P^i!b^i#]^i#_^i#a^i#c^i#d^i#e^i#f^i#g^i#h^i#j^i#n^i#q^i&]^i&^^i&m^i&u^iY^i#o^is^iq^i|^i~OW*cO~Os*dO~P9`Oz*eO&OSO&Q!qO~O!P]iY]i#o]is]iq]i|]i~P9`Oq*fOY&dX!P&dX~P9`OY*hO~O#q$TO!P#^i#_#^i#a#^i#c#^i#d#^i#e#^i#f#^i#j#^i#n#^i&]#^i&^#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#g$RO#h$RO~P!@zO#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#a#^i#c#^i#d#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#e$PO~P!B`O#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#c#^i#d#^i#n#^iY#^i#o#^is#^iq#^i|#^i~O#a#}O#e$PO&m#{O~P!CtO#e#^i~P!B`O#q$TO!P#^i#a#^i#c#^i#d#^i#e#^i#f#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#_#|O#g$RO#h$RO#j$VO&]#zO&^#zO~P!EaO#g#^i#h#^i~P!@zO#o*iO~P9`O#_&`X#a&`X#c&`X#d&`X#e&`X#f&`X#g&`X#h&`X#j&`X#n&`X#q&`X&^&`X#o&`Xs&`X|&`X~P!8dO!P#kiY#ki#o#kis#kiq#ki|#ki~P9`O|*lO~P$wO}'WO~O}'WO!r'YO~Oo'XO}'WO!r'YO~O%|TO&O#SO&Q#SO|&rP!P&rP~PFQO}'_O~Og^Oh^Ov{O|*yO!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQO}'bO~Oo'cO}'bO~Os*{O~P:jOu*}O%|TO~Ou'gO})`O%|TOW#Zi!P#Zi#_#Zi#a#Zi#c#Zi#d#Zi#e#Zi#f#Zi#g#Zi#h#Zi#j#Zi#n#Zi#q#Zi&]#Zi&^#Zi&m#Zi&u#ZiY#Zi#o#Zis#Ziq#Zi|#Zi~O}'WOW&ciu&ci!P&ci#_&ci#a&ci#c&ci#d&ci#e&ci#f&ci#g&ci#h&ci#j&ci#n&ci#q&ci&]&ci&^&ci&m&ci&u&ciY&ci#o&cis&ciq&ci|&ci~O#|+VO$O+WO$Q+WO$R+XO$S+YO~O|+UO~P!NoO$Y+ZO&OSO&Q!qO~OW+[O!P+]O~O$`+^OZ$^i_$^i`$^ia$^ib$^ic$^ie$^ig$^ih$^ip$^iv$^iw$^iz$^i}$^i!P$^i!S$^i!T$^i!U$^i!V$^i!W$^i!X$^i!Y$^i!Z$^i![$^i!]$^i!^$^i!_$^i!u$^i!z$^i#e$^i#q$^i#s$^i#t$^i#x$^i#y$^i$V$^i$X$^i$_$^i$b$^i$d$^i$g$^i$k$^i$m$^i$r$^i$t$^i$v$^i$x$^i${$^i$}$^i%v$^i%|$^i&O$^i&Q$^i&W$^i&s$^i|$^i$p$^i~Og^Oh^O$g#sO&O!wO&QWO~O!P+bO~P:jO!P+cO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!Z+hO![!`O!]yO!^yO!_yO!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$p+iO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&sdO~O|+gO~P#&ROW&PXY&PXZ&PXu&PX!P&PX&uiX&u&PX~P>uOWUXYUXZUXuUX!PUX&uUX&u&[X~P>YOW#tOu#uO&u#vO~OW&TXY%WXu&TX!P%WX&u&TX~OZ#XX~P#+WOY+oO!P+mO~O%P(bO%T(cOZ$|i_$|i`$|ia$|ib$|ic$|ie$|ig$|ih$|ip$|iv$|iw$|iz$|i}$|i!P$|i!S$|i!T$|i!U$|i!V$|i!W$|i!X$|i!Y$|i!Z$|i![$|i!]$|i!^$|i!_$|i!u$|i!z$|i#e$|i#q$|i#s$|i#t$|i#x$|i#y$|i$V$|i$X$|i$_$|i$b$|i$d$|i$g$|i$k$|i$m$|i$r$|i$t$|i$v$|i$x$|i${$|i$}$|i%v$|i%|$|i&O$|i&Q$|i&W$|i&s$|i|$|i$`$|i$p$|i~OZ+rO~O%P(bO%T(cOZ%Ui_%Ui`%Uia%Uib%Uic%Uie%Uig%Uih%Uip%Uiv%Uiw%Uiz%Ui}%Ui!P%Ui!S%Ui!T%Ui!U%Ui!V%Ui!W%Ui!X%Ui!Y%Ui!Z%Ui![%Ui!]%Ui!^%Ui!_%Ui!u%Ui!z%Ui#e%Ui#q%Ui#s%Ui#t%Ui#x%Ui#y%Ui$V%Ui$X%Ui$_%Ui$b%Ui$d%Ui$g%Ui$k%Ui$m%Ui$r%Ui$t%Ui$v%Ui$x%Ui${%Ui$}%Ui%v%Ui%|%Ui&O%Ui&Q%Ui&W%Ui&s%Ui|%Ui$`%Ui$p%Ui~Ou#OO%|TO}&na!P&na!m&na~O!P+xO~Oo(nOq!fa&]!fa~Oq(pO&]&la~O!m%dO}&ki!P&ki~O|,RO~P]OW,TO~P5oOW&TXu&TX#_&TX#a&TX#c&TX#d&TX#e&TX#f&TX#g&TX#h&TX#j&TX#n&TX#q&TX&]&TX&^&TX&m&TX&u&TX~OZ#xO!P&TX~P#5_OW$dOZ#xO&u#vO~Op,VOw,VO~Oq,WO}&qX!P&qX~O!b,YO#]#wOY&TXZ#XX~P#5_OY&RXq&RX|&RX!P&RX~P9`O})VO|&xP~P:jOY&RXg%ZXh%ZX%|%ZX&O%ZX&Q%ZXq&RX|&RX!P&RX~Oq,]OY&yX~OY,_O~O})`O|&jP~P:jOq&iX!P&iX|&iXY&iX~P9`O&aTa~PBxOo)iOp)iOqna&]na~Oq)jO&]&_a~OW,gO~Ow,hO~Ou#OO%|TO&O,lO&Q,kO~Og^Oh^Ov#pO!u#rO&O!wO&QWO&s#oO~Og^Oh^Ov{O|,qO!u}O%|TO&O!wO&QWO&sdO~PFQOw,|O&OSO&Q!qO&^#YO~Oq*fOY&da!P&da~O#_ma#ama#cma#dma#ema#fma#gma#hma#jma#nma#qma&^ma#omasma|ma~PE[O|-QO~P$wOZ#xO}'WOq!|X|!|X!P!|X~Oq-UO|&rX!P&rX~O|-XO!P-WO~O&^!hO~P4|Og^Oh^Ov{O|-]O!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQOs-^O~P9`Os-^O~P:jO}'WOW&cqu&cq!P&cq#_&cq#a&cq#c&cq#d&cq#e&cq#f&cq#g&cq#h&cq#j&cq#n&cq#q&cq&]&cq&^&cq&m&cq&u&cqY&cq#o&cqs&cqq&cq|&cq~O|-bO~P!NoO!W-fO#}-fO&OSO&Q!qO~O!P-iO~O$Y-jO&OSO&Q!qO~O!b%sO#o-lOq!`X!P!`X~O!P-nO~P9`O!P-nO~P:jO!P-qO~P9`O|-sO~P#&RO![$^O#o-tO~O!P-vO~O!b-wO~OY-zOZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOY-zO!P-{O~O%P(bO%T(cOZ%Uq_%Uq`%Uqa%Uqb%Uqc%Uqe%Uqg%Uqh%Uqp%Uqv%Uqw%Uqz%Uq}%Uq!P%Uq!S%Uq!T%Uq!U%Uq!V%Uq!W%Uq!X%Uq!Y%Uq!Z%Uq![%Uq!]%Uq!^%Uq!_%Uq!u%Uq!z%Uq#e%Uq#q%Uq#s%Uq#t%Uq#x%Uq#y%Uq$V%Uq$X%Uq$_%Uq$b%Uq$d%Uq$g%Uq$k%Uq$m%Uq$r%Uq$t%Uq$v%Uq$x%Uq${%Uq$}%Uq%v%Uq%|%Uq&O%Uq&Q%Uq&W%Uq&s%Uq|%Uq$`%Uq$p%Uq~Ou#OO%|TO}&ni!P&ni!m&ni~O&m&_Oq!ga&]!ga~O!m%dO}&kq!P&kq~O|.WO~P]Op.YOw&sOz&qO&OSO&Q!qO&^#YO~O!P.ZO~Oq,WO}&qa!P&qa~O})VO~P:jOq.aO|&xX~O|.cO~Oq,]OY&ya~Oq.gO|&jX~O|.iO~Ow.jO~Oq!aXu!aX!P!aX!b!aX%|!aX~OZ&PX~P#KsOZUX~P#KsO!P.kO~OZ.lO~OW^yZ#XXu^y!P^y!b^y#]^y#_^y#a^y#c^y#d^y#e^y#f^y#g^y#h^y#j^y#n^y#q^y&]^y&^^y&m^y&u^yY^y#o^ys^yq^y|^y~OY%_aq%_a!P%_a~P9`O!P#myY#my#o#mys#myq#my|#my~P9`O}'WOq!|a|!|a!P!|a~OZ#xO}'WOq!|a|!|a!P!|a~O%|TO&O#SO&Q#SOq%iX|%iX!P%iX~PFQOq-UO|&ra!P&ra~O|!}X~P$wO|.yO~Os.zO~P9`OW%gO!P.{O~OW%gO$P/QO&OSO&Q!qO!P&{P~OW%gO$T/RO~O!P/SO~O!b%sO#o/UOq!`X!P!`X~OY/WO~O!P/XO~P9`O#o/YO~P9`O!b/[O~OY/]OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOW#[Ou&ZX%|&ZX&O&ZX&Q&ZX&}&ZX~O&^#YO~P$%uOu#OO%|TO&}/_O&O%RX&Q%RX~O&m&_Oq!gi&]!gi~Op/cO&OSO&Q!qO~OW*cOZ#xO~O!P/eO~OY&RXq&RX~P9`O})VOq%mX|%mX~P:jOq.aO|&xa~O!b/hO~O})`Oq%bX|%bX~P:jOq.gO|&ja~OY/kO~O!P/lO~OZ/mO~O}'WOq!|i|!|i!P!|i~O|!}a~P$wOW%gO!P/qO~OW%gOq/rO!P&{X~OY/vO~P9`OY/xO~OY%Wq!P%Wq~P9`O&}/_O&O%Ra&Q%Ra~OY/}O~O!P0QO~Ou#OO!P0SO!Z0TO%|TO~OY0UO~Oq/rO!P&{a~O!P0XO~OW%gOq/rO!P&|X~OY0ZO~P9`OY0[O~OY%Wy!P%Wy~P9`Ou#OO%|TO&O%ta&Q%ta&}%ta~OY0]O~O!P0^O~Ou#OO!P0_O!Z0`O%|TO~OW%gOq%qa!P%qa~Oq/rO!P&|a~O!P0dO~Ou#OO!P0dO!Z0eO%|TO~O!P0fO~O!P0hO~O#o&PXY&PXs&PXq&PX|&PX~P&bO#oUXYUXsUXqUX|UX~P(fO`Q_P#f&Wc~",goto:"#)S&}PPPP'O'c*t-wP'cPP.].a/uPPPPP1aP2yPP4c7U9q<^kPPP>qPAXPPPBR2yPCzPPDuPElEtPPPPPPPPPPPPGPGhPJpJxKUKpKvK|MlMpMpMxPNX! a!!U!!`P!!u! aP!!{!#V! |!#fP!$V!$a!$g! a!$j!$pElEl!$t!%O!%R2y!&m2y2y!(fP.aP!(jP!)ZPPPPPP.aP.a!)w.aPP.aP.aPP.a!+]!+gPP!+m!+vPPPPPPPP'OP'OPP!+z!+z!,_!+zPP!+zP!+zP!,x!,{P!+z!-c!+zP!+zP!-f!-iP!+zP!+zP!+zP!+zP!+z!+zP!+zP!-mP!-s!-v!-|P!+z!.Y!.]P!.e!.w!2v!2|!3S!4Y!4`!4n!5t!5z!6Q!6[!6b!6h!6n!6t!6z!7Q!7W!7^!7d!7j!7p!7v!8Q!8W!8b!8hPPP!8n!+z!9cP!g!]!^!?w!^!_!@e!_!`!BO!`!a!Br!a!b!D`!b!c!EO!c!}!Kz!}#O!MW#O#P%Q#P#Q!Mt#Q#R!Nb#R#S4e#S#T%Q#T#o4e#o#p# U#p#q# r#q#r##[#r#s##x#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%QS%VV&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&XSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&XS%xZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&XS%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XZ*^Y%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XV+TX#sP&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QU+wV#_Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT,aXOY,|YZ%lZr,|rs3Ys#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T-PXOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT-qX&XSOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT.cVcPOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZT.}V&XSOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT/iW&XSOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0UWOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0sOcPP0vTOY0RYZ0RZ;'S0R;'S;=`1V<%lO0RP1YP;=`<%l0RT1`XOY,|YZ%lZr,|rs1{s#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T2QUcPOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZT2gVOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT3PP;=`<%l-lT3VP;=`<%l,|T3_VcPOY&ZYZ%lZr&Zrs3ts;'S&Z;'S;=`'`<%lO&ZT3yR&VSXY4SYZ4`pq4SP4VRXY4SYZ4`pq4SP4eO&WP_4la&OZ&XSOY%QYZ%lZr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o;'S%Q;'S;=`&s<%lO%QU5xX#gQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU6lV#]Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV7YZ&mR&XSOY%QYZ%lZr%Qrs%qsv%Qvw7{w!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU8SV#aQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT8nZ&XSOY9aYZ%lZr9ars:osw9awx%Qx#O9a#O#P;y#P;'S9a;'S;=`@z<%lO9aT9fX&XSOY%QYZ%lZr%Qrs%qsw%Qwx:Rx;'S%Q;'S;=`&s<%lO%QT:YVbP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT:rXOY&ZYZ%lZr&Zrs&ysw&Zwx;_x;'S&Z;'S;=`'`<%lO&ZT;dVbPOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT_YZ%lZr>_rs?Zsw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_T>bZOY_YZ%lZr>_rs@Psw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_P@SVOY@PZw@Pwx@ix#O@P#P;'S@P;'S;=`@n<%lO@PP@nObPP@qP;=`<%l@PT@wP;=`<%l>_T@}P;=`<%l9a_AXVZZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVAuVYR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBeX$YP&XS#fQOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVCXZ#eR&XSOY%QYZ%lZr%Qrs%qs{%Q{|Cz|!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVDRV#qR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVDoVqR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVE][#eR&XSOY%QYZ%lZr%Qrs%qs}%Q}!OCz!O!_%Q!_!`6e!`!aFR!a;'S%Q;'S;=`&s<%lO%QVFYV&wR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_FvZWY&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PGi!P!Q%Q!Q![Hw![;'S%Q;'S;=`&s<%lO%QVGnX&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PHZ!P;'S%Q;'S;=`&s<%lO%QVHbV&pR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTIOc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#R%Q#R#SNq#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTJbV&XS`POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTJ|]&XSOY%QYZ%lZr%Qrs%qs{%Q{|Ku|}%Q}!OKu!O!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTKzX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTLnc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![!f%Q!f!gJZ!g!h%Q!h!iJZ!i#R%Q#R#SMy#S#W%Q#W#XJZ#X#Y%Q#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTNOZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![#R%Q#R#SMy#S;'S%Q;'S;=`&s<%lO%QTNvZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![#R%Q#R#SNq#S;'S%Q;'S;=`&s<%lO%Q_! p]&XS#fQOY%QYZ%lZr%Qrs%qsz%Qz{!!i{!P%Q!P!Q!)[!Q!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%Q_!!nX&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!#`T&XSOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!#rTOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!$UVOz!#oz{!$R{!P!#o!P!Q!$k!Q;'S!#o;'S;=`!$p<%lO!#oZ!$pOQZZ!$sP;=`<%l!#o_!$yXOY!%fYZ!#ZZr!%frs!'psz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!%iXOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!&ZZ&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!'TV&XSQZOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!'mP;=`<%l!!i_!'sXOY!%fYZ!#ZZr!%frs!#osz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!(cZOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!)XP;=`<%l!%f_!)cV&XSPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!)}VPZOY!*dYZ%lZr!*drs!+Us;'S!*d;'S;=`!,X<%lO!*d_!*iVPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!+RP;=`<%l!)[_!+ZVPZOY!*dYZ%lZr!*drs!+ps;'S!*d;'S;=`!,X<%lO!*dZ!+uSPZOY!+pZ;'S!+p;'S;=`!,R<%lO!+pZ!,UP;=`<%l!+p_!,[P;=`<%l!*dT!,fu&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!d%Q!d!e!3a!e!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o!q%Q!q!r!5_!r!z%Q!z!{!7V!{#R%Q#R#S!2i#S#U%Q#U#V!3a#V#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a#c%Q#c#d!5_#d#l%Q#l#m!7V#m;'S%Q;'S;=`&s<%lO%QT!/Qa&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QT!0^i&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o#R%Q#R#S!2i#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!2SV&XS_POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT!2nZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!0V![#R%Q#R#S!2i#S;'S%Q;'S;=`&s<%lO%QT!3fY&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S;'S%Q;'S;=`&s<%lO%QT!4]`&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S!n%Q!n!o!1{!o#R%Q#R#S!3a#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!5dX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y;'S%Q;'S;=`&s<%lO%QT!6W_&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y!n%Q!n!o!1{!o#R%Q#R#S!5_#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!7[_&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!P!8Z!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i#T%Q#T#Z!:i#Z;'S%Q;'S;=`&s<%lO%QT!8`]&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i#T%Q#T#Z!9X#Z;'S%Q;'S;=`&s<%lO%QT!9^c&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i!r%Q!r!sJw!s#R%Q#R#S!8Z#S#T%Q#T#Z!9X#Z#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!:pi&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!<_!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i!n%Q!n!o!1{!o!r%Q!r!sJw!s#R%Q#R#S!=i#S#T%Q#T#Z!:i#Z#`%Q#`#a!1{#a#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!nX#oR&XSOY%QYZ%lZr%Qrs%qs![%Q![!]!?Z!];'S%Q;'S;=`&s<%lO%QV!?bV&uR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!@OV!PR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!@lY&^Z&XSOY%QYZ%lZr%Qrs%qs!^%Q!^!_!A[!_!`+p!`;'S%Q;'S;=`&s<%lO%QU!AcX#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV!BVX!bR&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QV!ByY&]R&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`!a!Ci!a;'S%Q;'S;=`&s<%lO%QU!CpY#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`!a!A[!a;'S%Q;'S;=`&s<%lO%Q_!DiV&aX#nQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!EVX%|Z&XSOY%QYZ%lZr%Qrs%qs#]%Q#]#^!Er#^;'S%Q;'S;=`&s<%lO%QV!EwX&XSOY%QYZ%lZr%Qrs%qs#b%Q#b#c!Fd#c;'S%Q;'S;=`&s<%lO%QV!FiX&XSOY%QYZ%lZr%Qrs%qs#h%Q#h#i!GU#i;'S%Q;'S;=`&s<%lO%QV!GZX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!Gv#Y;'S%Q;'S;=`&s<%lO%QV!G{X&XSOY%QYZ%lZr%Qrs%qs#f%Q#f#g!Hh#g;'S%Q;'S;=`&s<%lO%QV!HmX&XSOY%QYZ%lZr%Qrs%qs#Y%Q#Y#Z!IY#Z;'S%Q;'S;=`&s<%lO%QV!I_X&XSOY%QYZ%lZr%Qrs%qs#T%Q#T#U!Iz#U;'S%Q;'S;=`&s<%lO%QV!JPX&XSOY%QYZ%lZr%Qrs%qs#V%Q#V#W!Jl#W;'S%Q;'S;=`&s<%lO%QV!JqX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!K^#Y;'S%Q;'S;=`&s<%lO%QV!KeV&sR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!LRa&QZ&XSOY%QYZ%lZr%Qrs%qst%Qtu!Kzu!Q%Q!Q![!Kz![!c%Q!c!}!Kz!}#R%Q#R#S!Kz#S#T%Q#T#o!Kz#o;'S%Q;'S;=`&s<%lO%Q_!M_VuZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!M{VsR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!NiX#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV# ]V}R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_# {Z&}X#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`#p%Q#p#q#!n#q;'S%Q;'S;=`&s<%lO%QU#!uV#dQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##cV|R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$PV#tP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,193]},dynamicPrecedences:{27:1,231:-1,242:-1},specialized:[{term:230,get:Q=>o[Q]||-1}],tokenPrec:6995}),T=r.define({name:"java",parser:c.configure({props:[s.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:S,SwitchBlock:Q=>{let P=Q.textAfter,a=/^\s*\}/.test(P),i=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(a?0:i?1:2)*Q.unit},Block:l({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),Z.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":Y,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function f(){return new t(T)}export{f as java,T as javaLanguage}; diff --git a/public/admin/assets/index-BYt_SlCe.js.br b/public/admin/assets/index-BYt_SlCe.js.br new file mode 100644 index 0000000..94a07c2 Binary files /dev/null and b/public/admin/assets/index-BYt_SlCe.js.br differ diff --git a/public/admin/assets/index-BYt_SlCe.js.gz b/public/admin/assets/index-BYt_SlCe.js.gz new file mode 100644 index 0000000..942326e Binary files /dev/null and b/public/admin/assets/index-BYt_SlCe.js.gz differ diff --git a/public/admin/assets/index-B_suYy0E.js b/public/admin/assets/index-B_suYy0E.js new file mode 100644 index 0000000..78690b6 --- /dev/null +++ b/public/admin/assets/index-B_suYy0E.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-BEkNPBKN.js";import"./index-B-LUCRde.js";export{m as default}; diff --git a/public/admin/assets/index-B_suYy0E.js.br b/public/admin/assets/index-B_suYy0E.js.br new file mode 100644 index 0000000..c338078 Binary files /dev/null and b/public/admin/assets/index-B_suYy0E.js.br differ diff --git a/public/admin/assets/index-BbH5C_ds.js b/public/admin/assets/index-BbH5C_ds.js new file mode 100644 index 0000000..bd74c5f --- /dev/null +++ b/public/admin/assets/index-BbH5C_ds.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{s,t as r,b as n,L as o,i as P,c as a,f as i,k as Q,a as c}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const p=s({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,",":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),g=n.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[p],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),T=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=u(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function u(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const l=o.define({name:"json",parser:g.configure({props:[P.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":Q})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function f(){return new c(l)}export{f as json,l as jsonLanguage,T as jsonParseLinter}; diff --git a/public/admin/assets/index-BbH5C_ds.js.br b/public/admin/assets/index-BbH5C_ds.js.br new file mode 100644 index 0000000..1aa107d Binary files /dev/null and b/public/admin/assets/index-BbH5C_ds.js.br differ diff --git a/public/admin/assets/index-BbH5C_ds.js.gz b/public/admin/assets/index-BbH5C_ds.js.gz new file mode 100644 index 0000000..d51383c Binary files /dev/null and b/public/admin/assets/index-BbH5C_ds.js.gz differ diff --git a/public/admin/assets/index-BjjDdbQo.js b/public/admin/assets/index-BjjDdbQo.js new file mode 100644 index 0000000..6fb20c9 --- /dev/null +++ b/public/admin/assets/index-BjjDdbQo.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as c,u as p,i as e,g as s,c as o,b as g,t as a,A as i,F as _,j as h,T as y,U as d,e as m,l}from"./index-B-LUCRde.js";const u=n=>(y("data-v-3931a919"),n=n(),d(),n),f={key:0,class:"copyright"},k=u(()=>m("span",null,"Copyright",-1)),b={key:0},S=["href"],C={key:1},I={key:2,href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener"},v=c({name:"Copyright",__name:"index",setup(n){const t=p();return(x,w)=>{const r=h;return e(t).settings.copyright.enable?(s(),o("footer",f,[k,g(r,{name:"i-ri:copyright-line",size:18}),e(t).settings.copyright.dates?(s(),o("span",b,a(e(t).settings.copyright.dates),1)):i("",!0),e(t).settings.copyright.company?(s(),o(_,{key:1},[e(t).settings.copyright.website?(s(),o("a",{key:0,href:e(t).settings.copyright.website,target:"_blank",rel:"noopener"},a(e(t).settings.copyright.company),9,S)):(s(),o("span",C,a(e(t).settings.copyright.company),1))],64)):i("",!0),e(t).settings.copyright.beian?(s(),o("a",I,a(e(t).settings.copyright.beian),1)):i("",!0)])):i("",!0)}}}),N=l(v,[["__scopeId","data-v-3931a919"]]);export{N as default}; diff --git a/public/admin/assets/index-BjjDdbQo.js.br b/public/admin/assets/index-BjjDdbQo.js.br new file mode 100644 index 0000000..d488064 Binary files /dev/null and b/public/admin/assets/index-BjjDdbQo.js.br differ diff --git a/public/admin/assets/index-BjjDdbQo.js.gz b/public/admin/assets/index-BjjDdbQo.js.gz new file mode 100644 index 0000000..a3ec148 Binary files /dev/null and b/public/admin/assets/index-BjjDdbQo.js.gz differ diff --git a/public/admin/assets/index-BnpnP95_.js b/public/admin/assets/index-BnpnP95_.js new file mode 100644 index 0000000..d842d9c --- /dev/null +++ b/public/admin/assets/index-BnpnP95_.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +var w=Object.defineProperty;var _=(O,e,a)=>e in O?w(O,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):O[e]=a;var q=(O,e,a)=>(_(O,typeof e!="symbol"?e+"":e,a),a);import{C as L,E as k,s as B,t as P,b as M,L as E,i as j,j as D,f as A,k as H,a as N}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const f=63,p=64,u=1,I=2,y=3,F=4,Y=5,K=6,J=7,z=65,OO=66,eO=8,aO=9,rO=10,QO=11,PO=12,G=13,tO=19,oO=20,nO=29,sO=33,lO=34,fO=47,cO=0,T=1,g=2,d=3,x=4,i=class i{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}};q(i,"top",new i(null,-1,cO));let s=i;function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let t=O.peek(r);if(o(t)||t==-1)return a}}function m(O){return O==32||O==9}function o(O){return O==10||O==13}function V(O){return m(O)||o(O)}function l(O){return O<0||V(O)}const XO=new L({start:s.top,reduce(O,e){return O.type==d&&(e==oO||e==lO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Y)return new s(O,X(r,r.pos),g);if(e==f)return O.parent;if(e==tO||e==sO)return new s(O,0,d);if(e==G&&O.type==x)return O.parent;if(e==fO){let t=/[1-9]/.exec(r.read(r.pos,a.pos));if(t)return new s(O,O.depth+ +t[0],x)}return O},hash(O){return O.hash}});function c(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const dO=new k((O,e)=>{if(O.next==-1&&e.canShift(p))return O.acceptToken(p);let a=O.peek(-1);if((o(a)||a<0)&&e.context.type!=d){if(c(O,45))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(u,3);if(c(O,46))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(I,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(J));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?F:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?K:Y);else{let a=O.pos;for(;;)if(m(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)C(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(h(O,!0))break;return}else if(O.next==91||O.next==123){if(!iO(O))return;break}else{Z(O,!0,!1,0);break}for(;m(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(nO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?OO:z,a)}}},{contextual:!0});function SO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function U(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function W(O,e){return O.next==37?(O.advance(),U(O.next)&&O.advance(),U(O.next)&&O.advance(),!0):SO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function C(O){if(O.advance(),O.next==60){for(O.advance();;)if(!W(O,!0)){O.next==62&&O.advance();break}}else for(;W(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.tag)!="f";)O.advance()}function h(O,e){let a=O.next,r=!1,t=O.pos;for(O.advance();;){let Q=O.next;if(Q<0)break;if(O.advance(),Q==a)if(Q==39)if(O.next==39)O.advance();else break;else break;else if(Q==92&&a==34)O.next>=0&&O.advance();else if(o(Q)){if(e)return!1;r=!0}else if(e&&O.pos>=t+1024)return!1}return!r}function iO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!h(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||o(O.next))return!1;O.advance()}}const kO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":kO[O-33]}function b(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function Z(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&b(O.peek(1),a))O.advance();else return!1;let t=O.pos;for(;;){let Q=O.next,n=0,R=r+1;for(;V(Q);){if(o(Q)){if(e)return!1;R=0}else R++;Q=O.peek(++n)}if(!(Q>=0&&(Q==58?b(O.peek(n+1),a):Q==35?O.peek(n-1)!=32:b(Q,a)))||!a&&R<=r||R==0&&!a&&(c(O,45,n)||c(O,46,n)))break;if(e&&S(Q)=="f")return!1;for(let v=n;v>=0;v--)O.advance();if(e&&O.pos>t+1024)return!1}return!0}const bO=new k((O,e)=>{if(O.next==33)C(O),O.acceptToken(PO);else if(O.next==38||O.next==42){let a=O.next==38?rO:QO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(h(O,!1),O.acceptToken(aO)):Z(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(eO)}),gO=new k((O,e)=>{let a=e.context.type==x?e.context.depth:-1,r=O.pos;O:for(;;){let t=0,Q=O.next;for(;Q==32;)Q=O.peek(++t);if(!t&&(c(O,45,t)||c(O,46,t))||!o(Q)&&(a<0&&(a=Math.max(e.context.depth+1,t)),tYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:XO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[xO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[dO,RO,bO,gO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),$O=E.define({name:"yaml",parser:mO.configure({props:[j.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:D({closing:"}"}),FlowSequence:D({closing:"]"})}),A.add({"FlowMapping FlowSequence":H,"BlockSequence BlockMapping BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function UO(){return new N($O)}export{UO as yaml,$O as yamlLanguage}; diff --git a/public/admin/assets/index-BnpnP95_.js.br b/public/admin/assets/index-BnpnP95_.js.br new file mode 100644 index 0000000..d534b08 Binary files /dev/null and b/public/admin/assets/index-BnpnP95_.js.br differ diff --git a/public/admin/assets/index-BnpnP95_.js.gz b/public/admin/assets/index-BnpnP95_.js.gz new file mode 100644 index 0000000..fa6d8b3 Binary files /dev/null and b/public/admin/assets/index-BnpnP95_.js.gz differ diff --git a/public/admin/assets/index-BrKxlurX.js b/public/admin/assets/index-BrKxlurX.js new file mode 100644 index 0000000..cce2061 --- /dev/null +++ b/public/admin/assets/index-BrKxlurX.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-yPWTj9re.js";import"./HKbd-vG5TE40y.js";import"./index-B-LUCRde.js";export{o as default}; diff --git a/public/admin/assets/index-BrKxlurX.js.br b/public/admin/assets/index-BrKxlurX.js.br new file mode 100644 index 0000000..e1d7add Binary files /dev/null and b/public/admin/assets/index-BrKxlurX.js.br differ diff --git a/public/admin/assets/index-BrKxlurX.js.gz b/public/admin/assets/index-BrKxlurX.js.gz new file mode 100644 index 0000000..7836a78 Binary files /dev/null and b/public/admin/assets/index-BrKxlurX.js.gz differ diff --git a/public/admin/assets/index-BtV4tEHw.js b/public/admin/assets/index-BtV4tEHw.js new file mode 100644 index 0000000..d9b4a0b --- /dev/null +++ b/public/admin/assets/index-BtV4tEHw.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as M,N as C,u as k,ab as x,r as l,a as y,Z as B,g as r,c as i,b as u,i as e,Q as t,e as p,w as R,F as H,s as N,ag as T,y as S,M as w,A as $,j,l as z}from"./index-B-LUCRde.js";import{u as V}from"./index-D7iOBDDb.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-DEZ4Pc0_.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BYv-_Pjb.js";import"./sub.vue_vue_type_script_setup_true_lang-JHc32bNx.js";import"./item.vue_vue_type_script_setup_true_lang-DaXPxrm0.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js";const O=M({name:"SubSidebar",__name:"index",setup(q){const f=C(),s=k(),c=x(),n=l(),b=l(!1),g=l(!1);function d(){const o=n.value.scrollTop;b.value=o>0;const a=n.value.clientHeight,m=n.value.scrollHeight;g.value=Math.ceil(o+a){d();const{height:o}=V(h);B(()=>o.value,()=>{o.value>0&&d()},{immediate:!0})}),(o,a)=>{const m=j;return r(),i("div",{class:t(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}])},[u(E,{"show-logo":e(s).settings.menu.menuMode==="single",class:t(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single"}])},null,8,["show-logo","class"]),p("div",{ref_key:"subSidebarRef",ref:n,class:t(["sub-sidebar flex-1 transition-shadow-300",{"shadow-top":e(b),"shadow-bottom":e(g)}]),onScroll:d},[p("div",{ref_key:"menuRef",ref:h},[u(T,{name:"sub-sidebar"},{default:R(()=>[(r(!0),i(H,null,N(e(c).allMenus,(v,_)=>S((r(),i("div",{key:_},[u(F,{menu:v.children,value:e(f).meta.activeMenu||e(f).path,"default-openeds":e(c).defaultOpenedPaths,accordion:e(s).settings.menu.subMenuUniqueOpened,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,class:"menu"},null,8,["menu","value","default-openeds","accordion","collapse"])],512)),[[w,_===e(c).actived]])),128))]),_:1})],512)],34),e(s).mode==="pc"?(r(),i("div",{key:0,class:t(["relative flex items-center px-4 py-3",[e(s).settings.menu.subMenuCollapse?"justify-center":"justify-end"]])},[S(p("span",{class:t(["flex-center cursor-pointer rounded bg-stone-1 p-2 transition dark-bg-stone-9 hover-bg-stone-2 dark-hover-bg-stone-8",{"-rotate-z-180":e(s).settings.menu.subMenuCollapse}]),onClick:a[0]||(a[0]=v=>e(s).toggleSidebarCollapse())},[u(m,{name:"toolbar-collapse"})],2),[[w,e(s).settings.menu.enableSubMenuCollapseButton]])],2)):$("",!0)],2)}}}),U=z(O,[["__scopeId","data-v-61f98f34"]]);export{U as default}; diff --git a/public/admin/assets/index-BtV4tEHw.js.br b/public/admin/assets/index-BtV4tEHw.js.br new file mode 100644 index 0000000..8f7a623 Binary files /dev/null and b/public/admin/assets/index-BtV4tEHw.js.br differ diff --git a/public/admin/assets/index-BtV4tEHw.js.gz b/public/admin/assets/index-BtV4tEHw.js.gz new file mode 100644 index 0000000..5697ed3 Binary files /dev/null and b/public/admin/assets/index-BtV4tEHw.js.gz differ diff --git a/public/admin/assets/index-Bun7yaxh.js b/public/admin/assets/index-Bun7yaxh.js new file mode 100644 index 0000000..de4df55 --- /dev/null +++ b/public/admin/assets/index-Bun7yaxh.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as D,N as O,u as M,p as $,i as g,g as b,z as C,w as _,b as F,c as I,s as B,F as H,ag as L,A as V,h as U,t as z,l as G}from"./index-B-LUCRde.js";import q from"./index-CHGE2DVJ.js";import{_ as J}from"./item.vue_vue_type_script_setup_true_lang-v8FUh9Fm.js";function K(t){for(var a=[],e=0;e=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){d+=t[r++];continue}break}if(!d)throw new TypeError("Missing parameter name at ".concat(e));a.push({type:"NAME",index:e,value:d}),e=r;continue}if(u==="("){var f=1,o="",r=e+1;if(t[r]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(r));for(;r{const r=[];return e.settings.home.enable&&r.push({path:e.settings.home.fullPath,title:e.settings.home.title}),a.meta.breadcrumbNeste&&a.meta.breadcrumbNeste.forEach(i=>{i.hide===!1&&r.push({path:i.path,title:i.title})}),r});function d(r){return W(r)(a.params)}return(r,i)=>g(e).mode==="pc"&&g(e).settings.app.routeBaseOn!=="filesystem"?(b(),C(q,{key:0,class:"breadcrumb whitespace-nowrap px-2"},{default:_(()=>[F(L,{name:"breadcrumb"},{default:_(()=>[(b(!0),I(H,null,B(g(u),(f,o)=>(b(),C(J,{key:`${o}_${f.path}_${f.title}`,to:o[U(z(f.title),1)]),_:2},1032,["to"]))),128))]),_:1})]),_:1})):V("",!0)}}),re=G(j,[["__scopeId","data-v-3d594f3a"]]);export{re as default}; diff --git a/public/admin/assets/index-Bun7yaxh.js.br b/public/admin/assets/index-Bun7yaxh.js.br new file mode 100644 index 0000000..f8ba1c2 Binary files /dev/null and b/public/admin/assets/index-Bun7yaxh.js.br differ diff --git a/public/admin/assets/index-Bun7yaxh.js.gz b/public/admin/assets/index-Bun7yaxh.js.gz new file mode 100644 index 0000000..9907f0a Binary files /dev/null and b/public/admin/assets/index-Bun7yaxh.js.gz differ diff --git a/public/admin/assets/index-C-NEQ-qC.js b/public/admin/assets/index-C-NEQ-qC.js new file mode 100644 index 0000000..48a77c0 --- /dev/null +++ b/public/admin/assets/index-C-NEQ-qC.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import u from"./index-CSu-2OAU.js";import g from"./index-CHxKnDgq.js";import{d as h,u as f,p as c,r as p,a as _,S as y,Z as v,g as s,c as w,i as e,z as l,A as d,Q as S,l as T}from"./index-B-LUCRde.js";import"./index-D7iOBDDb.js";import"./useMainPage-DaitCM4q.js";import"./leftSide.vue_vue_type_script_setup_true_lang-vuMi6OLa.js";import"./index-Bun7yaxh.js";import"./index-CHGE2DVJ.js";import"./item.vue_vue_type_script_setup_true_lang-v8FUh9Fm.js";import"./rightSide.vue_vue_type_script_setup_true_lang-Fy5MVj_4.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js";import"./index.vue_vue_type_script_setup_true_lang--vRGEqGb.js";import"./HDropdown-DTfQxtss.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js";import"./use-resolve-button-type-BVUBWyWZ.js";import"./index.vue_vue_type_script_setup_true_lang-kB9Wxvf5.js";import"./index.vue_vue_type_script_setup_true_lang-yPWTj9re.js";import"./HKbd-vG5TE40y.js";import"./index.vue_vue_type_script_setup_true_lang-BX7HigS5.js";const k=h({name:"Topbar",__name:"index",setup(E){const t=f(),a=c(()=>!(t.settings.menu.menuMode==="head"&&(!t.settings.toolbar.breadcrumb||t.settings.app.routeBaseOn==="filesystem"))),n=p(0),m=p(!1),b=c(()=>{const o=t.settings.tabbar.enable?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-tabbar-height")):0,r=a.value?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-toolbar-height")):0;return o+r});_(()=>{window.addEventListener("scroll",i)}),y(()=>{window.removeEventListener("scroll",i)});function i(){n.value=(document.documentElement||document.body).scrollTop}return v(n,(o,r)=>{m.value=t.settings.topbar.mode==="sticky"&&o>r&&o>b.value}),(o,r)=>(s(),w("div",{class:S(["topbar-container",{"has-tabbar":e(t).settings.tabbar.enable,"has-toolbar":e(a),[`topbar-${e(t).settings.topbar.mode}`]:!0,shadow:e(n),hide:e(m)}]),"data-fixed-calc-width":""},[e(t).settings.tabbar.enable?(s(),l(u,{key:0})):d("",!0),e(a)?(s(),l(g,{key:1})):d("",!0)],2))}}),D=T(k,[["__scopeId","data-v-a6c8b676"]]);export{D as default}; diff --git a/public/admin/assets/index-C-NEQ-qC.js.br b/public/admin/assets/index-C-NEQ-qC.js.br new file mode 100644 index 0000000..5cecbb8 Binary files /dev/null and b/public/admin/assets/index-C-NEQ-qC.js.br differ diff --git a/public/admin/assets/index-C-NEQ-qC.js.gz b/public/admin/assets/index-C-NEQ-qC.js.gz new file mode 100644 index 0000000..cf2a9ea Binary files /dev/null and b/public/admin/assets/index-C-NEQ-qC.js.gz differ diff --git a/public/admin/assets/index-C2MdtKFl.js b/public/admin/assets/index-C2MdtKFl.js new file mode 100644 index 0000000..047b8ae --- /dev/null +++ b/public/admin/assets/index-C2MdtKFl.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BX7HigS5.js";import"./index-B-LUCRde.js";import"./useMainPage-DaitCM4q.js";export{o as default}; diff --git a/public/admin/assets/index-C2MdtKFl.js.br b/public/admin/assets/index-C2MdtKFl.js.br new file mode 100644 index 0000000..01ff23c Binary files /dev/null and b/public/admin/assets/index-C2MdtKFl.js.br differ diff --git a/public/admin/assets/index-C2MdtKFl.js.gz b/public/admin/assets/index-C2MdtKFl.js.gz new file mode 100644 index 0000000..9160646 Binary files /dev/null and b/public/admin/assets/index-C2MdtKFl.js.gz differ diff --git a/public/admin/assets/index-C2snIYBf.js b/public/admin/assets/index-C2snIYBf.js new file mode 100644 index 0000000..4076d37 --- /dev/null +++ b/public/admin/assets/index-C2snIYBf.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as I,N as P,u as B,ab as N,r as T,Z as x,a as D,ai as J,g,z,b4 as O,i as t,w as u,b as i,h as r,e as s,c as v,A as V,Q as U,D as R,cz as j,j as L,_ as E,cA as Q,T as Z,U as F,as as G,l as K}from"./index-B-LUCRde.js";import{_ as W}from"./HInput.vue_vue_type_script_setup_true_lang-BN3RLyWq.js";import{_ as X}from"./HCheckList.vue_vue_type_script_setup_true_lang-DNeoHT7d.js";import{_ as Y}from"./HToggle.vue_vue_type_script_setup_true_lang-BxYM26NJ.js";import{_ as ee}from"./HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js";import{_ as te}from"./HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js";import{a as se}from"./index-D7iOBDDb.js";/* empty css */import"./use-resolve-button-type-BVUBWyWZ.js";const n=f=>(Z("data-v-55eb7634"),f=f(),F(),f),le=n(()=>s("div",{class:"rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose"},[s("p",{class:"my-1"}," 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),s("p",{class:"my-1"}," 注意:在生产环境中应关闭该模块。 ")],-1)),oe=n(()=>s("div",{class:"divider"}," 颜色主题风格 ",-1)),ie={class:"flex items-center justify-center pb-4"},ne={key:0,class:"divider"},ae={key:1,class:"menu-mode"},de=n(()=>s("div",{class:"mode-container"},null,-1)),ue=[de],me=n(()=>s("div",{class:"mode-container"},null,-1)),ce=[me],re=n(()=>s("div",{class:"mode-container"},null,-1)),ge=[re],_e=n(()=>s("div",{class:"divider"}," 导航栏 ",-1)),be={class:"setting-item"},pe={class:"label"},ve={class:"setting-item"},Ve={class:"label"},fe={class:"setting-item"},he=n(()=>s("div",{class:"label"}," 次导航是否折叠 ",-1)),ye={key:2,class:"setting-item"},Ue=n(()=>s("div",{class:"label"}," 显示次导航折叠按钮 ",-1)),Se={class:"setting-item"},ke=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),xe=n(()=>s("div",{class:"divider"}," 顶栏 ",-1)),Me={class:"setting-item"},Ce=n(()=>s("div",{class:"label"}," 模式 ",-1)),He=n(()=>s("div",{class:"divider"}," 标签栏 ",-1)),qe={class:"setting-item"},$e=n(()=>s("div",{class:"label"}," 是否启用 ",-1)),we={class:"setting-item"},Ae=n(()=>s("div",{class:"label"}," 是否显示图标 ",-1)),Ie={class:"setting-item"},Pe=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Be=n(()=>s("div",{class:"divider"}," 工具栏 ",-1)),Ne={key:3,class:"setting-item"},Te=n(()=>s("div",{class:"label"}," 面包屑导航 ",-1)),De={class:"setting-item"},Je={class:"label"},ze={key:4,class:"setting-item"},Oe=n(()=>s("div",{class:"label"}," 全屏 ",-1)),Re={class:"setting-item"},je={class:"label"},Le={class:"setting-item"},Ee={class:"label"},Qe=n(()=>s("div",{class:"divider"}," 页面 ",-1)),Ze={class:"setting-item"},Fe=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Ge=n(()=>s("div",{class:"divider"}," 导航搜索 ",-1)),Ke={class:"setting-item"},We=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Xe=n(()=>s("div",{class:"divider"}," 底部版权 ",-1)),Ye={class:"setting-item"},et=n(()=>s("div",{class:"label"}," 是否启用 ",-1)),tt={class:"setting-item"},st=n(()=>s("div",{class:"label"}," 日期 ",-1)),lt={class:"setting-item"},ot=n(()=>s("div",{class:"label"}," 公司 ",-1)),it={class:"setting-item"},nt=n(()=>s("div",{class:"label"}," 网址 ",-1)),at={class:"setting-item"},dt=n(()=>s("div",{class:"label"}," 备案 ",-1)),ut=n(()=>s("div",{class:"divider"}," 主页 ",-1)),mt={class:"setting-item"},ct={class:"label"},rt={class:"setting-item"},gt={class:"label"},_t=n(()=>s("div",{class:"divider"}," 其它 ",-1)),bt={class:"setting-item"},pt=n(()=>s("div",{class:"label"}," 是否启用权限 ",-1)),vt={class:"setting-item"},Vt={class:"label"},ft={class:"setting-item"},ht={class:"label"},yt=I({name:"AppSetting",__name:"index",setup(f){const M=P(),e=B(),S=N(),_=T(!1);x(()=>e.settings.menu.menuMode,c=>{c==="single"?S.setActived(0):S.setActived(M.fullPath)}),D(()=>{J.on("global-app-setting-toggle",()=>{_.value=!_.value})});const{copy:C,copied:H,isSupported:q}=se();x(H,c=>{c&&G.success("复制成功,请粘贴到 src/settings.ts 文件中!",{zIndex:2e3})});function h(c){return typeof c=="object"&&!Array.isArray(c)}function k(c,l){if(!h(c)||!h(l))return l;const b={};for(const d in l){const m=c[d],a=l[d];if(JSON.stringify(m)!==JSON.stringify(a))if(h(m)&&h(a)){const y=k(m,a);Object.keys(y).length>0&&(b[d]=y)}else b[d]=a}return b}function $(){C(JSON.stringify(k(j,e.settings),null,2))}return(c,l)=>{const b=te,d=ee,m=L,a=Y,y=X,p=W,w=E,A=Q;return g(),z(A,{modelValue:t(_),"onUpdate:modelValue":l[30]||(l[30]=o=>R(_)?_.value=o:null),title:"应用配置"},O({default:u(()=>[le,oe,s("div",ie,[i(b,{modelValue:t(e).settings.app.colorScheme,"onUpdate:modelValue":l[0]||(l[0]=o=>t(e).settings.app.colorScheme=o),options:[{icon:"i-ri:sun-line",label:"明亮",value:"light"},{icon:"i-ri:moon-line",label:"暗黑",value:"dark"},{icon:"i-codicon:color-mode",label:"系统",value:""}],class:"w-60"},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ne," 导航栏模式 ")):V("",!0),t(e).mode==="pc"?(g(),v("div",ae,[i(d,{text:"侧边栏模式 (含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-side",{active:t(e).settings.menu.menuMode==="side"}]),onClick:l[1]||(l[1]=o=>t(e).settings.menu.menuMode="side")},ue,2)]),_:1}),i(d,{text:"顶部模式",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-head",{active:t(e).settings.menu.menuMode==="head"}]),onClick:l[2]||(l[2]=o=>t(e).settings.menu.menuMode="head")},ce,2)]),_:1}),i(d,{text:"侧边栏模式 (不含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-single",{active:t(e).settings.menu.menuMode==="single"}]),onClick:l[3]||(l[3]=o=>t(e).settings.menu.menuMode="single")},ge,2)]),_:1})])):V("",!0),_e,s("div",be,[s("div",pe,[r(" 主导航切换跳转 "),i(d,{text:"开启该功能后,切换主导航时,页面自动跳转至该主导航下,次导航里第一个导航"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.menu.switchMainMenuAndPageJump,"onUpdate:modelValue":l[4]||(l[4]=o=>t(e).settings.menu.switchMainMenuAndPageJump=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),s("div",ve,[s("div",Ve,[r(" 次导航保持展开一个 "),i(d,{text:"开启该功能后,次导航只保持单个菜单的展开"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.menu.subMenuUniqueOpened,"onUpdate:modelValue":l[5]||(l[5]=o=>t(e).settings.menu.subMenuUniqueOpened=o)},null,8,["modelValue"])]),s("div",fe,[he,i(a,{modelValue:t(e).settings.menu.subMenuCollapse,"onUpdate:modelValue":l[6]||(l[6]=o=>t(e).settings.menu.subMenuCollapse=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ye,[Ue,i(a,{modelValue:t(e).settings.menu.enableSubMenuCollapseButton,"onUpdate:modelValue":l[7]||(l[7]=o=>t(e).settings.menu.enableSubMenuCollapseButton=o)},null,8,["modelValue"])])):V("",!0),s("div",Se,[ke,i(a,{modelValue:t(e).settings.menu.enableHotkeys,"onUpdate:modelValue":l[8]||(l[8]=o=>t(e).settings.menu.enableHotkeys=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),xe,s("div",Me,[Ce,i(y,{modelValue:t(e).settings.topbar.mode,"onUpdate:modelValue":l[9]||(l[9]=o=>t(e).settings.topbar.mode=o),options:[{label:"静止",value:"static"},{label:"固定",value:"fixed"},{label:"粘性",value:"sticky"}]},null,8,["modelValue"])]),s("div",null,[He,s("div",qe,[$e,i(a,{modelValue:t(e).settings.tabbar.enable,"onUpdate:modelValue":l[10]||(l[10]=o=>t(e).settings.tabbar.enable=o)},null,8,["modelValue"])]),s("div",we,[Ae,i(a,{modelValue:t(e).settings.tabbar.enableIcon,"onUpdate:modelValue":l[11]||(l[11]=o=>t(e).settings.tabbar.enableIcon=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])]),s("div",Ie,[Pe,i(a,{modelValue:t(e).settings.tabbar.enableHotkeys,"onUpdate:modelValue":l[12]||(l[12]=o=>t(e).settings.tabbar.enableHotkeys=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])])]),Be,t(e).mode==="pc"?(g(),v("div",Ne,[Te,i(a,{modelValue:t(e).settings.toolbar.breadcrumb,"onUpdate:modelValue":l[13]||(l[13]=o=>t(e).settings.toolbar.breadcrumb=o)},null,8,["modelValue"])])):V("",!0),s("div",De,[s("div",Je,[r(" 导航搜索 "),i(d,{text:"对导航进行快捷搜索"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.navSearch,"onUpdate:modelValue":l[14]||(l[14]=o=>t(e).settings.toolbar.navSearch=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ze,[Oe,i(a,{modelValue:t(e).settings.toolbar.fullscreen,"onUpdate:modelValue":l[15]||(l[15]=o=>t(e).settings.toolbar.fullscreen=o)},null,8,["modelValue"])])):V("",!0),s("div",Re,[s("div",je,[r(" 页面刷新 "),i(d,{text:"使用框架内提供的刷新功能进行页面刷新"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.pageReload,"onUpdate:modelValue":l[16]||(l[16]=o=>t(e).settings.toolbar.pageReload=o)},null,8,["modelValue"])]),s("div",Le,[s("div",Ee,[r(" 颜色主题 "),i(d,{text:"开启后可在明亮/暗黑模式中切换"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.colorScheme,"onUpdate:modelValue":l[17]||(l[17]=o=>t(e).settings.toolbar.colorScheme=o)},null,8,["modelValue"])]),Qe,s("div",Ze,[Fe,i(a,{modelValue:t(e).settings.mainPage.enableHotkeys,"onUpdate:modelValue":l[18]||(l[18]=o=>t(e).settings.mainPage.enableHotkeys=o)},null,8,["modelValue"])]),Ge,s("div",Ke,[We,i(a,{modelValue:t(e).settings.navSearch.enableHotkeys,"onUpdate:modelValue":l[19]||(l[19]=o=>t(e).settings.navSearch.enableHotkeys=o),disabled:!t(e).settings.toolbar.navSearch},null,8,["modelValue","disabled"])]),Xe,s("div",Ye,[et,i(a,{modelValue:t(e).settings.copyright.enable,"onUpdate:modelValue":l[20]||(l[20]=o=>t(e).settings.copyright.enable=o)},null,8,["modelValue"])]),s("div",tt,[st,i(p,{modelValue:t(e).settings.copyright.dates,"onUpdate:modelValue":l[21]||(l[21]=o=>t(e).settings.copyright.dates=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",lt,[ot,i(p,{modelValue:t(e).settings.copyright.company,"onUpdate:modelValue":l[22]||(l[22]=o=>t(e).settings.copyright.company=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",it,[nt,i(p,{modelValue:t(e).settings.copyright.website,"onUpdate:modelValue":l[23]||(l[23]=o=>t(e).settings.copyright.website=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",at,[dt,i(p,{modelValue:t(e).settings.copyright.beian,"onUpdate:modelValue":l[24]||(l[24]=o=>t(e).settings.copyright.beian=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),ut,s("div",mt,[s("div",ct,[r(" 是否启用 "),i(d,{text:"该功能开启时,登录成功默认进入主页,反之则默认进入导航栏里第一个导航页面"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.home.enable,"onUpdate:modelValue":l[25]||(l[25]=o=>t(e).settings.home.enable=o)},null,8,["modelValue"])]),s("div",rt,[s("div",gt,[r(" 主页名称 "),i(d,{text:"开启国际化时,该设置无效"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(p,{modelValue:t(e).settings.home.title,"onUpdate:modelValue":l[26]||(l[26]=o=>t(e).settings.home.title=o)},null,8,["modelValue"])]),_t,s("div",bt,[pt,i(a,{modelValue:t(e).settings.app.enablePermission,"onUpdate:modelValue":l[27]||(l[27]=o=>t(e).settings.app.enablePermission=o)},null,8,["modelValue"])]),s("div",vt,[s("div",Vt,[r(" 载入进度条 "),i(d,{text:"该功能开启时,跳转路由会看到页面顶部有进度条"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.app.enableProgress,"onUpdate:modelValue":l[28]||(l[28]=o=>t(e).settings.app.enableProgress=o)},null,8,["modelValue"])]),s("div",ft,[s("div",ht,[r(" 动态标题 "),i(d,{text:"该功能开启时,页面标题会显示当前路由标题,格式为“页面标题 - 网站名称”;关闭时则显示网站名称,网站名称在项目根目录下 .env.* 文件里配置"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.app.enableDynamicTitle,"onUpdate:modelValue":l[29]||(l[29]=o=>t(e).settings.app.enableDynamicTitle=o)},null,8,["modelValue"])])]),_:2},[t(q)?{name:"footer",fn:u(()=>[i(w,{block:"",onClick:$},{default:u(()=>[i(m,{name:"i-ep:document-copy"}),r(" 复制配置 ")]),_:1})]),key:"0"}:void 0]),1032,["modelValue"])}}}),wt=K(yt,[["__scopeId","data-v-55eb7634"]]);export{wt as default}; diff --git a/public/admin/assets/index-C2snIYBf.js.br b/public/admin/assets/index-C2snIYBf.js.br new file mode 100644 index 0000000..eacbb1b Binary files /dev/null and b/public/admin/assets/index-C2snIYBf.js.br differ diff --git a/public/admin/assets/index-C2snIYBf.js.gz b/public/admin/assets/index-C2snIYBf.js.gz new file mode 100644 index 0000000..9bc5385 Binary files /dev/null and b/public/admin/assets/index-C2snIYBf.js.gz differ diff --git a/public/admin/assets/index-CHGE2DVJ.js b/public/admin/assets/index-CHGE2DVJ.js new file mode 100644 index 0000000..1e54fd5 --- /dev/null +++ b/public/admin/assets/index-CHGE2DVJ.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{l as t,g as s,c,P as r}from"./index-B-LUCRde.js";const n={},o={class:"flex items-center text-sm"};function a(e,d){return s(),c("div",o,[r(e.$slots,"default",{},void 0,!0)])}const l=t(n,[["render",a],["__scopeId","data-v-57b61e27"]]);export{l as default}; diff --git a/public/admin/assets/index-CHGE2DVJ.js.br b/public/admin/assets/index-CHGE2DVJ.js.br new file mode 100644 index 0000000..5cb221c Binary files /dev/null and b/public/admin/assets/index-CHGE2DVJ.js.br differ diff --git a/public/admin/assets/index-CHGE2DVJ.js.gz b/public/admin/assets/index-CHGE2DVJ.js.gz new file mode 100644 index 0000000..6d56c89 Binary files /dev/null and b/public/admin/assets/index-CHGE2DVJ.js.gz differ diff --git a/public/admin/assets/index-CHxKnDgq.js b/public/admin/assets/index-CHxKnDgq.js new file mode 100644 index 0000000..ceb1353 --- /dev/null +++ b/public/admin/assets/index-CHxKnDgq.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as o,u as i,g as r,c as a,e,b as t,y as n,M as m,i as c,l as p}from"./index-B-LUCRde.js";import{_ as l}from"./leftSide.vue_vue_type_script_setup_true_lang-vuMi6OLa.js";import{_}from"./rightSide.vue_vue_type_script_setup_true_lang-Fy5MVj_4.js";import"./index-Bun7yaxh.js";import"./index-CHGE2DVJ.js";import"./item.vue_vue_type_script_setup_true_lang-v8FUh9Fm.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js";import"./index.vue_vue_type_script_setup_true_lang--vRGEqGb.js";import"./HDropdown-DTfQxtss.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js";import"./use-resolve-button-type-BVUBWyWZ.js";import"./index.vue_vue_type_script_setup_true_lang-kB9Wxvf5.js";import"./index-D7iOBDDb.js";import"./index.vue_vue_type_script_setup_true_lang-yPWTj9re.js";import"./HKbd-vG5TE40y.js";import"./index.vue_vue_type_script_setup_true_lang-BX7HigS5.js";import"./useMainPage-DaitCM4q.js";const d={class:"toolbar-container flex items-center justify-between"},f={class:"h-full flex items-center of-hidden pl-2 pr-16",style:{"mask-image":"linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent)"}},u={class:"h-full flex items-center px-2"},h=o({name:"Toolbar",__name:"index",setup(x){const s=i();return(g,b)=>(r(),a("div",d,[e("div",f,[t(l)]),n(e("div",u,[t(_)],512),[[m,["side","single"].includes(c(s).settings.menu.menuMode)]])]))}}),z=p(h,[["__scopeId","data-v-6a8fd0ab"]]);export{z as default}; diff --git a/public/admin/assets/index-CHxKnDgq.js.br b/public/admin/assets/index-CHxKnDgq.js.br new file mode 100644 index 0000000..c54d85d Binary files /dev/null and b/public/admin/assets/index-CHxKnDgq.js.br differ diff --git a/public/admin/assets/index-CHxKnDgq.js.gz b/public/admin/assets/index-CHxKnDgq.js.gz new file mode 100644 index 0000000..df5e45f Binary files /dev/null and b/public/admin/assets/index-CHxKnDgq.js.gz differ diff --git a/public/admin/assets/index-CL6GQ5ac.js b/public/admin/assets/index-CL6GQ5ac.js new file mode 100644 index 0000000..66cf398 --- /dev/null +++ b/public/admin/assets/index-CL6GQ5ac.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{a as _}from"./config-BBuBLjtx.js";import{d as V,m as j,r as i,a as q,n as o,g as B,c as E,b as e,w as s,e as u,h as N,E as m,k as f}from"./index-B-LUCRde.js";const A={class:"flex justify-between"},O=u("b",null,"模型系统消息预设",-1),R=V({__name:"index",setup(U){const a=j({systemPreMessage:""}),d=i({systemPreMessage:[{required:!0,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),l=i();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(a,t.data)}function p(){var t;(t=l.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(a)}),m.success("变更配置信息成功")}catch{}r()}else m.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return q(()=>{r()}),(t,n)=>{const c=o("el-alert"),y=v,b=o("el-button"),x=o("el-input"),w=o("el-form-item"),h=o("el-col"),C=o("el-row"),M=o("el-form"),P=o("el-card");return B(),E("div",null,[e(y,null,{default:s(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(P,{style:{margin:"20px"}},{header:s(()=>[u("div",A,[O,e(b,{class:"button",text:"",onClick:p},{default:s(()=>[N(" 保存设置 ")]),_:1})])]),default:s(()=>[e(M,{ref_key:"formRef",ref:l,rules:d.value,model:a,"label-width":"140px"},{default:s(()=>[e(C,null,{default:s(()=>[e(h,{xs:24,md:20,lg:15,xl:12},{default:s(()=>[e(w,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:s(()=>[e(x,{modelValue:a.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=k=>a.systemPreMessage=k),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof f=="function"&&f(R);export{R as default}; diff --git a/public/admin/assets/index-CL6GQ5ac.js.br b/public/admin/assets/index-CL6GQ5ac.js.br new file mode 100644 index 0000000..6195fbd Binary files /dev/null and b/public/admin/assets/index-CL6GQ5ac.js.br differ diff --git a/public/admin/assets/index-CL6GQ5ac.js.gz b/public/admin/assets/index-CL6GQ5ac.js.gz new file mode 100644 index 0000000..e509819 Binary files /dev/null and b/public/admin/assets/index-CL6GQ5ac.js.gz differ diff --git a/public/admin/assets/index-CO1i_WBs.js b/public/admin/assets/index-CO1i_WBs.js new file mode 100644 index 0000000..5ab4d56 --- /dev/null +++ b/public/admin/assets/index-CO1i_WBs.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{s as r,t as O,L as i,i as n,c as $,f as y,k as P,n as X,a as m,b as c,E as S}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const s=110,l=1,f=2,t=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(f,1)}}),d=new S(T=>{if(t.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(s)}}),Z=new S(T=>{if(t.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=r({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=c.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQO'#EP'#EPO2tQWO,5:iO2yQWO,5:iOOQO'#ES'#ESO3RQWO,5:lO3WQ!fO,5:rO3iQ`O'#EkO.pQ`O,5;oOOQO,5:|,5:|O3zQWO,5:tOOQO,5:},5:}O4XQWO,5;]OOQO-E8a-E8aOOQP1G.m1G.mOOQP'#Ce'#CeO5RQaO,5;OOOQP'#Df'#DfOOQO-E8b-E8bOOQO1G.h1G.hO(QQWO1G.hO5fQWO1G.hO5nQeO1G.oO.cQ[O1G.oOOQP1G/a1G/aO6{QpO1G/dO7fQaO1G/gO8cQaO1G/iO9`QaO1G/jO:]Q!fO'#FOO:yQ!fO'#ExOOQO'#FO'#FOOOQO,5;i,5;iO<^QWO,5;iOWQWO1G/rO>]Q!fO'#DnO>qQWO,5:ZO>vQ!fO,5:_OOQO'#DP'#DPO'bQWO,5:]O?XQWO'#DwOOQS,5:b,5:bO?`QWO,5:dO'bQWO'#EiO?gQWO,5;mO*bQWO,5:`OOQO1G0P1G0PO?uQ!fO,5:^O@aQ!fO,59cOOQS,59e,59eO(QQWO,59iOOQS,59n,59nO@rQWO,59pOOQO1G0R1G0RO@yQ#tO,59rOARQ!fO,59lOOQO1G0T1G0TOBrQWO1G0TOBwQWO'#ETOOQO1G0W1G0WOOQO1G0^1G0^OOQO,5;V,5;VOOQO-E8i-E8iOCVQ!fO1G0bOCvQWO1G0`O%kQWO'#E_O$RQWO'#E`OEZQWO'#E^OOQO1G0b1G0bPEkQWO'#EcOUAN>UO!!RQWO,5;QOOQO-E8d-E8dO!!]QWOAN>dOOQS<S![;'S%T;'S;=`%f<%lO%Tm>ZY#m]|`Oy%Tz!Q%T!Q![>S![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%Tm?OY|`Oy%Tz{%T{|?n|}%T}!O?n!O!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm?sU|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@^U#m]|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@w[#m]|`Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TbAtS#xQ|`Oy%Tz;'S%T;'S;=`%f<%lO%TkBVScZOy%Tz;'S%T;'S;=`%f<%lO%TmBhXrWOy%Tz}%T}!OCT!O!P=k!P!Q%T!Q![@p![;'S%T;'S;=`%f<%lO%TmCYW|`Oy%Tz!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%TmCy[f]|`Oy%Tz}%T}!OCr!O!Q%T!Q![Cr![!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%ToDtW#iROy%Tz!O%T!O!PE^!P!Q%T!Q![>S![;'S%T;'S;=`%f<%lO%TlEcU|`Oy%Tz!O%T!O!PEu!P;'S%T;'S;=`%f<%lO%TlE|S#s[|`Oy%Tz;'S%T;'S;=`%f<%lO%T~F_VrWOy%Tz{Ft{!P%T!P!QIl!Q;'S%T;'S;=`%f<%lO%T~FyU|`OyFtyzG]z{Hd{;'SFt;'S;=`If<%lOFt~G`TOzG]z{Go{;'SG];'S;=`H^<%lOG]~GrVOzG]z{Go{!PG]!P!QHX!Q;'SG];'S;=`H^<%lOG]~H^OR~~HaP;=`<%lG]~HiW|`OyFtyzG]z{Hd{!PFt!P!QIR!Q;'SFt;'S;=`If<%lOFt~IYS|`R~Oy%Tz;'S%T;'S;=`%f<%lO%T~IiP;=`<%lFt~IsV|`S~OYIlYZ%TZyIlyzJYz;'SIl;'S;=`Jq<%lOIl~J_SS~OYJYZ;'SJY;'S;=`Jk<%lOJY~JnP;=`<%lJY~JtP;=`<%lIlmJ|[#m]Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TkKwU^ZOy%Tz![%T![!]LZ!];'S%T;'S;=`%f<%lO%TcLbS_R|`Oy%Tz;'S%T;'S;=`%f<%lO%TkLsS!ZZOy%Tz;'S%T;'S;=`%f<%lO%ThMUUrWOy%Tz!_%T!_!`Mh!`;'S%T;'S;=`%f<%lO%ThMoS|`rWOy%Tz;'S%T;'S;=`%f<%lO%TlNSW!SSrWOy%Tz!^%T!^!_Mh!_!`%T!`!aMh!a;'S%T;'S;=`%f<%lO%TjNsV!UQrWOy%Tz!_%T!_!`Mh!`!a! Y!a;'S%T;'S;=`%f<%lO%Tb! aS!UQ|`Oy%Tz;'S%T;'S;=`%f<%lO%To! rYg]Oy%Tz!b%T!b!c!!b!c!}!#R!}#T%T#T#o!#R#o#p!$O#p;'S%T;'S;=`%f<%lO%Tm!!iWg]|`Oy%Tz!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%Tm!#Y[g]|`Oy%Tz}%T}!O!#R!O!Q%T!Q![!#R![!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%To!$TW|`Oy%Tz!c%T!c!}!$m!}#T%T#T#o!$m#o;'S%T;'S;=`%f<%lO%To!$r^|`Oy%Tz}%T}!O!$m!O!Q%T!Q![!$m![!c%T!c!}!$m!}#T%T#T#o!$m#o#q%T#q#r!%n#r;'S%T;'S;=`%f<%lO%To!%uSp_|`Oy%Tz;'S%T;'S;=`%f<%lO%To!&W[#h_Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%To!'T[#h_|`Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%Tk!(OSyZOy%Tz;'S%T;'S;=`%f<%lO%Tm!(aSw]Oy%Tz;'S%T;'S;=`%f<%lO%Td!(pUOy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tk!)XS!^ZOy%Tz;'S%T;'S;=`%f<%lO%Tk!)jS!]ZOy%Tz;'S%T;'S;=`%f<%lO%To!){Y#oQOr%Trs!*ksw%Twx!.wxy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tm!*pZ|`OY!*kYZ%TZr!*krs!+csy!*kyz!+vz#O!*k#O#P!-j#P;'S!*k;'S;=`!.q<%lO!*km!+jSo]|`Oy%Tz;'S%T;'S;=`%f<%lO%T]!+yWOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d<%lO!+v]!,hOo]]!,kRO;'S!+v;'S;=`!,t;=`O!+v]!,wXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+vm!-oU|`Oy!*kyz!+vz;'S!*k;'S;=`!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=i.define({name:"less",parser:g.configure({props:[n.add({Declaration:$()}),y.add({Block:P})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=X(T=>T.name=="VariableName"||T.name=="AtKeyword");function G(){return new m(o,o.data.of({autocomplete:u}))}export{G as less,u as lessCompletionSource,o as lessLanguage}; diff --git a/public/admin/assets/index-CO1i_WBs.js.br b/public/admin/assets/index-CO1i_WBs.js.br new file mode 100644 index 0000000..ce55f83 Binary files /dev/null and b/public/admin/assets/index-CO1i_WBs.js.br differ diff --git a/public/admin/assets/index-CO1i_WBs.js.gz b/public/admin/assets/index-CO1i_WBs.js.gz new file mode 100644 index 0000000..1d1c05c Binary files /dev/null and b/public/admin/assets/index-CO1i_WBs.js.gz differ diff --git a/public/admin/assets/index-CSu-2OAU.js b/public/admin/assets/index-CSu-2OAU.js new file mode 100644 index 0000000..466fa09 --- /dev/null +++ b/public/admin/assets/index-CSu-2OAU.js @@ -0,0 +1,12 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{aH as At,aI as Ft,aJ as Lt,aK as zt,aL as Dt,aM as $t,aN as Kt,F as je,af as Ut,aO as Yt,aP as Gt,aQ as Xt,a3 as Zt,aR as qt,aS as Qt,ad as Jt,ag as He,aT as en,aU as tn,aV as nn,aW as on,aX as an,aY as ln,aZ as sn,a1 as rn,a_ as un,p as Ae,a$ as cn,z as Fe,A as Me,c as re,e as ue,b0 as dn,b1 as fn,b2 as mn,b3 as pn,b4 as vn,b5 as hn,h as Le,b as Ie,b6 as bn,b7 as Cn,d as ze,b8 as kn,b9 as xn,ba as gn,bb as yn,bc as Sn,bd as Mn,be as In,bf as Bn,bg as wn,bh as Pn,bi as Rn,aG as Wn,bj as En,bk as On,au as Nn,a4 as Tn,bl as _n,bm as Vn,bn as jn,bo as Hn,bp as An,$ as Fn,bq as Ln,br as zn,bs as Dn,bt as $n,D as Kn,bu as Un,bv as Yn,a9 as Gn,bw as Xn,bx as Zn,av as qn,X as Qn,G as Jn,Q as De,at as eo,R as to,by as no,bz as oo,a0 as ao,ah as $e,bA as lo,bB as so,a as Ke,bC as io,bD as ro,bE as uo,bF as co,S as Ue,bG as fo,g as se,U as Ye,a7 as mo,bH as po,T as Ge,bI as vo,m as ho,bJ as bo,r as me,bK as Co,bL as ko,s as Xe,P as xo,n as go,q as yo,ae as So,bM as Mo,bN as Io,bO as Bo,bP as wo,bQ as Po,bR as Ro,bS as Wo,a2 as Ze,bT as Eo,bU as Oo,bV as No,t as Be,bW as To,bX as _o,bY as Vo,a8 as jo,bZ as Ho,b_ as Ao,b$ as Fo,c0 as Lo,i as le,W as zo,c1 as Do,c2 as $o,aw as Ko,c3 as Uo,O as Yo,c4 as Go,c5 as Xo,c6 as Zo,c7 as qo,c8 as Qo,am as Jo,M as qe,c9 as ea,ca as ta,Z as Qe,cb as na,cc as oa,cd as aa,ce as la,w as Je,cf as sa,y as et,v as ia,cg as ra,x as we,ch as ua,ci as ca,cj as da,a6 as fa,ck as ma,aa as pa,N as tt,f as nt,as as Pe,u as va,ac as Ve,j as ha,l as ba}from"./index-B-LUCRde.js";import{b as Ca}from"./index-D7iOBDDb.js";import{u as ka}from"./useMainPage-DaitCM4q.js";/** +* vue v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const xa=()=>{},ga=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:At,BaseTransitionPropsValidators:Ft,Comment:Lt,DeprecationTypes:zt,EffectScope:Dt,ErrorCodes:$t,ErrorTypeStrings:Kt,Fragment:je,KeepAlive:Ut,ReactiveEffect:Yt,Static:Gt,Suspense:Xt,Teleport:Zt,Text:qt,TrackOpTypes:Qt,Transition:Jt,TransitionGroup:He,TriggerOpTypes:en,VueElement:tn,assertNumber:nn,callWithAsyncErrorHandling:on,callWithErrorHandling:an,camelize:ln,capitalize:sn,cloneVNode:rn,compatUtils:un,compile:xa,computed:Ae,createApp:cn,createBlock:Fe,createCommentVNode:Me,createElementBlock:re,createElementVNode:ue,createHydrationRenderer:dn,createPropsRestProxy:fn,createRenderer:mn,createSSRApp:pn,createSlots:vn,createStaticVNode:hn,createTextVNode:Le,createVNode:Ie,customRef:bn,defineAsyncComponent:Cn,defineComponent:ze,defineCustomElement:kn,defineEmits:xn,defineExpose:gn,defineModel:yn,defineOptions:Sn,defineProps:Mn,defineSSRCustomElement:In,defineSlots:Bn,devtools:wn,effect:Pn,effectScope:Rn,getCurrentInstance:Wn,getCurrentScope:En,getTransitionRawChildren:On,guardReactiveProps:Nn,h:Tn,handleError:_n,hasInjectionContext:Vn,hydrate:jn,initCustomFormatter:Hn,initDirectivesForSSR:An,inject:Fn,isMemoSame:Ln,isProxy:zn,isReactive:Dn,isReadonly:$n,isRef:Kn,isRuntimeOnly:Un,isShallow:Yn,isVNode:Gn,markRaw:Xn,mergeDefaults:Zn,mergeModels:qn,mergeProps:Qn,nextTick:Jn,normalizeClass:De,normalizeProps:eo,normalizeStyle:to,onActivated:no,onBeforeMount:oo,onBeforeUnmount:ao,onBeforeUpdate:$e,onDeactivated:lo,onErrorCaptured:so,onMounted:Ke,onRenderTracked:io,onRenderTriggered:ro,onScopeDispose:uo,onServerPrefetch:co,onUnmounted:Ue,onUpdated:fo,openBlock:se,popScopeId:Ye,provide:mo,proxyRefs:po,pushScopeId:Ge,queuePostFlushCb:vo,reactive:ho,readonly:bo,ref:me,registerRuntimeCompiler:Co,render:ko,renderList:Xe,renderSlot:xo,resolveComponent:go,resolveDirective:yo,resolveDynamicComponent:So,resolveFilter:Mo,resolveTransitionHooks:Io,setBlockTracking:Bo,setDevtoolsHook:wo,setTransitionHooks:Po,shallowReactive:Ro,shallowReadonly:Wo,shallowRef:Ze,ssrContextKey:Eo,ssrUtils:Oo,stop:No,toDisplayString:Be,toHandlerKey:To,toHandlers:_o,toRaw:Vo,toRef:jo,toRefs:Ho,toValue:Ao,transformVNodeArgs:Fo,triggerRef:Lo,unref:le,useAttrs:zo,useCssModule:Do,useCssVars:$o,useModel:Ko,useSSRContext:Uo,useSlots:Yo,useTransitionState:Go,vModelCheckbox:Xo,vModelDynamic:Zo,vModelRadio:qo,vModelSelect:Qo,vModelText:Jo,vShow:qe,version:ea,warn:ta,watch:Qe,watchEffect:na,watchPostEffect:oa,watchSyncEffect:aa,withAsyncContext:la,withCtx:Je,withDefaults:sa,withDirectives:et,withKeys:ia,withMemo:ra,withModifiers:we,withScopeId:ua},Symbol.toStringTag,{value:"Module"}));var Re={exports:{}};const ya=ca(ga);(function(q,M){(function(l,e){e(M,ya)})(da,function(l,e){let P=null;function L(){return P!==null}function ne(t){P&&D(),P=t}function ae(t){t===P&&(P=null)}function D(){P&&(P.closeMenu(),P=null)}const k={defaultDirection:"br",defaultMinWidth:100,defaultMaxWidth:600,defaultZindex:100,defaultAdjustPadding:{x:0,y:10}};function R(t,n){let r=t.offsetTop;return t.offsetParent!=null&&t.offsetParent!=n&&(r-=t.offsetParent.scrollTop,r+=R(t.offsetParent,n)),r}function f(t,n){let r=t.offsetLeft;return t.offsetParent!=null&&t.offsetParent!=n&&(r-=t.offsetParent.scrollLeft,r+=f(t.offsetParent,n)),r}function V(t,n,r,p){return{x:f(t,p)+n,y:R(t,p)+r}}const x="mx-menu-default-container",a="mx-menu-container-";let m=0;function u(t){const{getContainer:n,zIndex:r}=t;if(n){const g=typeof n=="function"?n():n;if(g){let I=g.getAttribute("id");return I||(I=a+m++,g.setAttribute("id",I)),{eleId:I,container:g,isNew:!1}}}let p=document.getElementById(x);return p||(p=document.createElement("div"),p.setAttribute("id",x),p.setAttribute("class","mx-menu-ghost-host fullscreen"),document.body.appendChild(p)),p.style.zIndex=(r==null?void 0:r.toString())||k.defaultZindex.toString(),{eleId:x,container:p,isNew:!0}}function h(t){return typeof t=="number"?`${t}px`:t}const v=e.defineComponent({props:{vnode:{type:null},data:{type:null,default:null}},setup(t){const{vnode:n,data:r}=e.toRefs(t);return()=>typeof n.value=="function"?n.value(r.value):n.value}}),S=(t,n)=>{const r=t.__vccOpts||t;for(const[p,g]of n)r[p]=g;return r},Q={},oe={class:"mx-checked-mark","aria-hidden":"true",viewBox:"0 0 1024 1024"},lt=[e.createElementVNode("path",{d:"M129.3,428.6L52,512l345,372.5l575-620.8l-69.5-75L400.4,718.2L129.3,428.6z"},null,-1)];function st(t,n){return e.openBlock(),e.createElementBlock("svg",oe,lt)}const it=S(Q,[["render",st]]),rt={},ut={class:"mx-right-arrow","aria-hidden":"true",viewBox:"0 0 1024 1024"},ct=[e.createElementVNode("path",{d:"M307.018 49.445c11.517 0 23.032 4.394 31.819 13.18L756.404 480.18c8.439 8.438 13.181 19.885 13.181 31.82s-4.741 23.38-13.181 31.82L338.838 961.376c-17.574 17.573-46.065 17.573-63.64-0.001-17.573-17.573-17.573-46.065 0.001-63.64L660.944 512 275.198 126.265c-17.574-17.573-17.574-46.066-0.001-63.64C283.985 53.839 295.501 49.445 307.018 49.445z"},null,-1)];function dt(t,n){return e.openBlock(),e.createElementBlock("svg",ut,ct)}const We=S(rt,[["render",dt]]),ft={class:"mx-item-row"},mt=["xlink:href"],pt={key:1,class:"label"},vt={class:"mx-item-row"},ht={class:"mx-shortcut"},pe=e.defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},customRender:{type:Function,default:null},customClass:{type:String,default:""},clickHandler:{type:Function,default:null},label:{type:[String,Object,Function],default:""},icon:{type:[String,Object,Function],default:""},iconFontClass:{type:String,default:"iconfont"},checked:{type:Boolean,default:!1},shortcut:{type:String,default:""},svgIcon:{type:String,default:""},svgProps:{type:Object,default:null},preserveIconWidth:{type:Boolean,default:!0},showRightArrow:{type:Boolean,default:!1},hasChildren:{type:Boolean,default:!1},clickClose:{type:Boolean,default:!0},clickableWhenHasChildren:{type:Boolean,default:!1},rawMenuItem:{type:Object,default:void 0}},emits:["click","subMenuOpen","subMenuClose"],setup(t,{expose:n,emit:r}){const p=t,g=r,{clickHandler:I,clickClose:s,clickableWhenHasChildren:H,disabled:E,hidden:b,label:o,icon:z,iconFontClass:F,showRightArrow:G,shortcut:j,hasChildren:B}=e.toRefs(p),w=e.ref(!1),C=e.ref(!1),d=e.ref(),y=e.inject("globalOptions"),O=e.inject("globalHasSlot"),c=e.inject("globalRenderSlot"),A=e.inject("globalCloseMenu"),_=e.inject("menuContext"),$={showSubMenu:()=>w.value?(_.markActiveMenuItem($,!0),!0):B.value?(J(),!0):!1,isDisabledOrHidden:()=>E.value||b.value,getElement:()=>d.value,focus:()=>C.value=!0,blur:()=>C.value=!1,click:X};e.onMounted(()=>{_.isMenuItemDataCollectedFlag()?e.nextTick(()=>{let W=0;const Z=_.getElement();if(Z){let ee=0;for(let N=0;N{_.removeChildMenuItem($)});function X(W){if(!E.value){if(W){const Z=W.target;if(Z.classList.contains("mx-context-no-clickable")||y.value.ignoreClickClassName&&Z.classList.contains(y.value.ignoreClickClassName))return;if(y.value.clickCloseClassName&&Z.classList.contains(y.value.clickCloseClassName)){W.stopPropagation(),A(p.rawMenuItem);return}}B.value?H.value?(typeof I.value=="function"&&I.value(W),g("click",W)):w.value||J():(typeof I.value=="function"&&I.value(W),g("click",W),s.value&&A(p.rawMenuItem))}}function J(W){C.value=!1,_.checkCloseOtherSubMenuTimeOut()||_.closeOtherSubMenu(),E.value||(_.markActiveMenuItem($),B.value&&(W||_.markThisOpenedByKeyBoard(),_.addOpenedSubMenu(()=>{C.value=!1,w.value=!1,g("subMenuClose")}),w.value=!0,g("subMenuOpen")))}function Y(){return{disabled:E.value,label:o.value,icon:z.value,iconFontClass:F.value,showRightArrow:G.value,clickClose:s.value,clickableWhenHasChildren:H.value,shortcut:j.value,theme:y.value.theme,isOpen:w,hasChildren:B,onClick:X,onMouseEnter:J,closeMenu:A}}return n({showSubMenu:w,keyBoardFocusMenu:C}),(W,Z)=>e.unref(b)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mx-context-menu-item-wrapper",ref_key:"menuItemRef",ref:d,"data-type":"ContextMenuItem"},[e.unref(O)("itemRender")?(e.openBlock(),e.createBlock(e.unref(v),{key:0,vnode:()=>e.unref(c)("itemRender",Y())},null,8,["vnode"])):t.customRender?(e.openBlock(),e.createBlock(e.unref(v),{key:1,vnode:t.customRender,data:Y()},null,8,["vnode","data"])):(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["mx-context-menu-item",e.unref(E)?"disabled":"",C.value?"keyboard-focus":"",t.customClass?" "+t.customClass:"",w.value?"open":""]),onClick:X,onMouseenter:J},[e.renderSlot(W.$slots,"default",{},()=>[e.createElementVNode("div",ft,[e.createElementVNode("div",{class:e.normalizeClass(["mx-icon-placeholder",t.preserveIconWidth?"preserve-width":""])},[e.renderSlot(W.$slots,"icon",{},()=>[e.unref(O)("itemIconRender")?(e.openBlock(),e.createBlock(e.unref(v),{key:0,vnode:()=>e.unref(c)("itemIconRender",Y())},null,8,["vnode"])):typeof t.svgIcon=="string"&&t.svgIcon?(e.openBlock(),e.createElementBlock("svg",e.mergeProps({key:1,class:"icon svg"},t.svgProps),[e.createElementVNode("use",{"xlink:href":t.svgIcon},null,8,mt)],16)):typeof e.unref(z)!="string"?(e.openBlock(),e.createBlock(e.unref(v),{key:2,vnode:e.unref(z),data:e.unref(z)},null,8,["vnode","data"])):typeof e.unref(z)=="string"&&e.unref(z)!==""?(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(e.unref(z)+" icon "+e.unref(F)+" "+e.unref(y).iconFontClass)},null,2)):e.createCommentVNode("",!0)]),t.checked?e.renderSlot(W.$slots,"check",{key:0},()=>[e.unref(O)("itemCheckRender")?(e.openBlock(),e.createBlock(e.unref(v),{key:0,vnode:()=>e.unref(c)("itemCheckRender",Y())},null,8,["vnode"])):e.createCommentVNode("",!0),e.createVNode(it)]):e.createCommentVNode("",!0)],2),e.renderSlot(W.$slots,"label",{},()=>[e.unref(O)("itemLabelRender")?(e.openBlock(),e.createBlock(e.unref(v),{key:0,vnode:()=>e.unref(c)("itemLabelRender",Y())},null,8,["vnode"])):typeof e.unref(o)=="string"?(e.openBlock(),e.createElementBlock("span",pt,e.toDisplayString(e.unref(o)),1)):(e.openBlock(),e.createBlock(e.unref(v),{key:2,vnode:e.unref(o),data:e.unref(o)},null,8,["vnode","data"]))])]),e.createElementVNode("div",vt,[e.unref(j)?e.renderSlot(W.$slots,"shortcut",{key:0},()=>[e.unref(O)("itemShortcutRender")?(e.openBlock(),e.createBlock(e.unref(v),{key:0,vnode:()=>e.unref(c)("itemShortcutRender",Y())},null,8,["vnode"])):e.createCommentVNode("",!0),e.createElementVNode("span",ht,e.toDisplayString(e.unref(j)),1)]):e.createCommentVNode("",!0),e.unref(G)?e.renderSlot(W.$slots,"rightArrow",{key:1},()=>[e.unref(O)("itemRightArrowRender")?(e.openBlock(),e.createBlock(e.unref(v),{key:0,vnode:()=>e.unref(c)("itemRightArrowRender",Y())},null,8,["vnode"])):e.createCommentVNode("",!0),e.createVNode(We)]):e.createCommentVNode("",!0)])])],34)),e.unref(y).menuTransitionProps?(e.openBlock(),e.createBlock(e.Transition,e.normalizeProps(e.mergeProps({key:3},e.unref(y).menuTransitionProps)),{default:e.withCtx(()=>[w.value?e.renderSlot(W.$slots,"submenu",{key:0}):e.createCommentVNode("",!0)]),_:3},16)):w.value?e.renderSlot(W.$slots,"submenu",{key:4}):e.createCommentVNode("",!0)],512))}}),bt=e.defineComponent({name:"ContextMenuSperator",components:{VNodeRender:v},setup(){const t=e.inject("globalHasSlot"),n=e.inject("globalRenderSlot");return{globalHasSlot:t,globalRenderSlot:n}}}),Ct={key:1,class:"mx-context-menu-item-sperator mx-context-no-clickable"};function kt(t,n,r,p,g,I){const s=e.resolveComponent("VNodeRender");return t.globalHasSlot("separatorRender")?(e.openBlock(),e.createBlock(s,{key:0,vnode:()=>t.globalRenderSlot("separatorRender",{})},null,8,["vnode"])):(e.openBlock(),e.createElementBlock("div",Ct))}const ve=S(bt,[["render",kt]]),xt=e.defineComponent({name:"ContextSubMenu",components:{ContextMenuItem:pe,ContextMenuSeparator:ve,ContextMenuIconRight:We},props:{items:{type:Object,default:null},maxWidth:{type:[String,Number],default:0},minWidth:{type:[String,Number],default:0},adjustPosition:{type:Boolean,default:!0},direction:{type:String,default:"br"}},setup(t){const n=e.inject("menuContext"),r=e.inject("globalOptions"),p=e.inject("globalHasSlot"),g=e.inject("globalRenderSlot"),{zIndex:I,getParentWidth:s,getParentHeight:H}=n,{adjustPosition:E}=e.toRefs(t),b=e.ref(),o=e.ref(),z=e.ref(),F=[],G=e.inject("globalSetCurrentSubMenu"),j=[];let B=null,w=0;function C(){B&&B.blur()}function d(i,T){if(i){for(let K=T!==void 0?T:0;K=0;K--)if(!j[K].isDisabledOrHidden()){y(K);break}}function y(i){if(B&&C(),i!==void 0&&(B=j[Math.max(0,Math.min(i,j.length-1))]),!!B&&(B.focus(),ee.value)){const T=B.getElement();T&&(X.value=Math.min(Math.max(-J.value,-T.offsetTop-T.offsetHeight+te.value),0))}}function O(){G(c)}const c={isTopLevel:()=>n.getParentContext()===null,closeSelfAndActiveParent:()=>{const i=$.getParentContext();if(i){i.closeOtherSubMenu();const T=i.getSubMenuInstanceContext();if(T)return T.focusCurrentItem(),!0}return!1},closeCurrentSubMenu:()=>{var i;return(i=$.getParentContext())==null?void 0:i.closeOtherSubMenu()},moveCurrentItemFirst:()=>d(!0),moveCurrentItemLast:()=>d(!1),moveCurrentItemDown:()=>d(!0,B?j.indexOf(B)+1:0),moveCurrentItemUp:()=>d(!1,B?j.indexOf(B)-1:0),focusCurrentItem:()=>y(),openCurrentItemSubMenu:()=>B?B==null?void 0:B.showSubMenu():!1,triggerCurrentItemClick:i=>B==null?void 0:B.click(i)};let A=!1,_=!1;const $={zIndex:I+1,container:n.container,adjustPadding:r.value.adjustPadding||k.defaultAdjustPadding,getParentWidth:()=>{var i;return((i=b.value)==null?void 0:i.offsetWidth)||0},getParentHeight:()=>{var i;return((i=b.value)==null?void 0:i.offsetHeight)||0},getParentX:()=>N.value.x,getParentY:()=>N.value.y,getParentAbsX:()=>b.value?f(b.value,n.container):0,getParentAbsY:()=>b.value?R(b.value,n.container):0,getPositon:()=>[0,0],addOpenedSubMenu(i){F.push(i)},closeOtherSubMenu(){F.forEach(i=>i()),F.splice(0,F.length),G(c)},checkCloseOtherSubMenuTimeOut(){return w?(clearTimeout(w),w=0,!0):!1},closeOtherSubMenuWithTimeOut(){w=setTimeout(()=>{w=0,this.closeOtherSubMenu()},200)},addChildMenuItem:(i,T)=>{T===void 0?j.push(i):j.splice(T,0,i)},removeChildMenuItem:i=>{j.splice(j.indexOf(i),1)},markActiveMenuItem:(i,T=!1)=>{C(),B=i,T&&y()},markThisOpenedByKeyBoard:()=>{A=!0},isOpenedByKeyBoardFlag:()=>A?(A=!1,!0):!1,isMenuItemDataCollectedFlag:()=>_,getElement:()=>b.value||null,getParentContext:()=>n,getSubMenuInstanceContext:()=>c};e.provide("menuContext",$);const X=e.ref(0),J=e.ref(0);function Y(i){i?X.value=Math.min(Math.max(X.value-50,-J.value),0):X.value=Math.min(X.value+50,0)}function W(i){i.preventDefault(),i.stopPropagation(),Y(i.deltaY>0)}function Z(i){r.value.mouseScroll&&(i.preventDefault(),i.stopPropagation(),Y(i.deltaY>0))}const ee=e.ref(!1),N=e.ref({x:0,y:0}),te=e.ref(0);return e.onMounted(()=>{const i=n.getPositon();N.value={x:i[0]??r.value.xOffset??0,y:i[1]??r.value.yOffset??0},G(c),e.nextTick(()=>{var T,K;const U=b.value;if(U&&o.value){const{container:ie}=n,xe=(s==null?void 0:s())??0,Tt=(H==null?void 0:H())??0,be=typeof n.adjustPadding=="number"?n.adjustPadding:((T=n.adjustPadding)==null?void 0:T.x)??0,Ce=typeof n.adjustPadding=="number"?n.adjustPadding:((K=n.adjustPadding)==null?void 0:K.y)??0,ce=Tt>0?Ce:0,_t=document.documentElement.scrollHeight,Vt=document.documentElement.scrollWidth,jt=Math.min(Vt,ie.offsetWidth),ge=Math.min(_t,ie.offsetHeight);let ye=f(U,ie),Se=R(U,ie);t.direction.includes("l")?N.value.x-=U.offsetWidth+be:t.direction.includes("r")?N.value.x+=xe+be:(N.value.x+=xe/2,N.value.x-=(U.offsetWidth+be)/2),t.direction.includes("t")?N.value.y-=U.offsetHeight+Ce*2:t.direction.includes("b")?N.value.y-=Ce:N.value.y-=(U.offsetHeight+Ce)/2,E.value&&e.nextTick(()=>{ye=f(U,ie),Se=R(U,ie);const Ht=ye+U.offsetWidth-jt,_e=Se+U.offsetHeight+ce*2-ge;if(ee.value=_e>0,J.value=U.offsetHeight-ge+ce*2,Ht>0){const de=xe+U.offsetWidth-be,fe=ye;de>fe?N.value.x-=fe:N.value.x-=de}if(ee.value){const de=_e,fe=Se;de>fe?N.value.y-=fe-ce:N.value.y-=de-ce,te.value=ge-ce*2}else te.value=0})}U==null||U.focus({preventScroll:!0}),n.isOpenedByKeyBoardFlag()&&d(!0),_=!0})}),{menu:b,scroll:o,options:r,zIndex:I,constOptions:k,scrollValue:X,upScrollButton:z,overflow:ee,position:N,scrollHeight:J,maxHeight:te,globalHasSlot:p,globalRenderSlot:g,onScroll:Y,onSubMenuBodyClick:O,onMouseWhell:Z,onMouseWhellMx:W,solveNumberOrStringSize:h}}}),gt={key:0,class:"mx-context-menu-updown placeholder"},yt={key:1,class:"mx-context-menu-updown placeholder"},St={class:"mx-context-menu-scroll",ref:"scroll"};function Mt(t,n,r,p,g,I){const s=e.resolveComponent("ContextMenuSeparator"),H=e.resolveComponent("ContextSubMenu",!0),E=e.resolveComponent("ContextMenuItem"),b=e.resolveComponent("ContextMenuIconRight");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["mx-context-menu",t.options.customClass?t.options.customClass:"",t.options.theme??""]),style:e.normalizeStyle({maxWidth:t.maxWidth?t.solveNumberOrStringSize(t.maxWidth):`${t.constOptions.defaultMaxWidth}px`,minWidth:t.minWidth?t.solveNumberOrStringSize(t.minWidth):`${t.constOptions.defaultMinWidth}px`,maxHeight:t.overflow&&t.maxHeight>0?`${t.maxHeight}px`:void 0,zIndex:t.zIndex,left:`${t.position.x}px`,top:`${t.position.y}px`}),"data-type":"ContextSubMenu",onClick:n[4]||(n[4]=(...o)=>t.onSubMenuBodyClick&&t.onSubMenuBodyClick(...o)),onWheel:n[5]||(n[5]=(...o)=>t.onMouseWhell&&t.onMouseWhell(...o))},[e.createElementVNode("div",{class:e.normalizeClass(["mx-context-menu-items"]),ref:"menu",style:e.normalizeStyle({top:`${t.scrollValue}px`})},[e.renderSlot(t.$slots,"default",{},()=>[t.overflow&&t.options.updownButtonSpaceholder?(e.openBlock(),e.createElementBlock("div",gt)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(o,z)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:z},[o.hidden!==!0&&o.divided==="up"?(e.openBlock(),e.createBlock(s,{key:0})):e.createCommentVNode("",!0),o.hidden!==!0&&o.divided==="self"?(e.openBlock(),e.createBlock(s,{key:1})):(e.openBlock(),e.createBlock(E,{key:2,clickHandler:o.onClick?F=>o.onClick(F):void 0,disabled:o.disabled,hidden:o.hidden,icon:o.icon,iconFontClass:o.iconFontClass,svgIcon:o.svgIcon,svgProps:o.svgProps,label:o.label,customRender:o.customRender,customClass:o.customClass,checked:o.checked,shortcut:o.shortcut,clickClose:o.clickClose,clickableWhenHasChildren:o.clickableWhenHasChildren,preserveIconWidth:o.preserveIconWidth!==void 0?o.preserveIconWidth:t.options.preserveIconWidth,showRightArrow:o.children&&o.children.length>0,hasChildren:o.children&&o.children.length>0,rawMenuItem:o,onSubMenuOpen:o.onSubMenuOpen,onSubMenuClose:o.onSubMenuClose},e.createSlots({_:2},[o.children&&o.children.length>0?{name:"submenu",fn:e.withCtx(()=>[e.createVNode(H,{items:o.children,maxWidth:o.maxWidth,minWidth:o.minWidth,adjustPosition:o.adjustSubMenuPosition!==void 0?o.adjustSubMenuPosition:t.options.adjustPosition,direction:o.direction!==void 0?o.direction:t.options.direction},null,8,["items","maxWidth","minWidth","adjustPosition","direction"])]),key:"0"}:void 0]),1032,["clickHandler","disabled","hidden","icon","iconFontClass","svgIcon","svgProps","label","customRender","customClass","checked","shortcut","clickClose","clickableWhenHasChildren","preserveIconWidth","showRightArrow","hasChildren","rawMenuItem","onSubMenuOpen","onSubMenuClose"])),o.hidden!==!0&&(o.divided==="down"||o.divided===!0)?(e.openBlock(),e.createBlock(s,{key:3})):e.createCommentVNode("",!0)],64))),128)),t.overflow&&t.options.updownButtonSpaceholder?(e.openBlock(),e.createElementBlock("div",yt)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",St,[e.withDirectives(e.createElementVNode("div",{ref:"upScrollButton",class:e.normalizeClass("mx-context-menu-updown mx-context-no-clickable up"+(t.overflow&&t.scrollValue<0?"":" disabled")),onClick:n[0]||(n[0]=o=>t.onScroll(!1)),onWheel:n[1]||(n[1]=(...o)=>t.onMouseWhellMx&&t.onMouseWhellMx(...o))},[e.createVNode(b)],34),[[e.vShow,t.overflow]]),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass("mx-context-menu-updown mx-context-no-clickable down"+(t.overflow&&t.scrollValue>-t.scrollHeight?"":" disabled")),onClick:n[2]||(n[2]=o=>t.onScroll(!0)),onWheel:n[3]||(n[3]=(...o)=>t.onMouseWhellMx&&t.onMouseWhellMx(...o))},[e.createVNode(b)],34),[[e.vShow,t.overflow]])],512)],38)}const he=S(xt,[["render",Mt]]),It={class:"mx-menu-ghost-host"},Ee=e.defineComponent({__name:"ContextSubMenuWrapper",props:{options:{type:Object,default:null},show:{type:Object,default:null},container:{type:Object,default:null},isFullScreenContainer:{type:Boolean,default:!0}},emits:["close","closeAnimFinished"],setup(t,{expose:n,emit:r}){const p=t,g=r,I=e.useSlots(),{options:s,show:H,container:E}=e.toRefs(p);e.onMounted(()=>{H.value&&z()}),e.onBeforeUnmount(()=>{B()}),e.watch(H,c=>{c?z():(ae(b),B())});const b={closeMenu:F,isClosed:G};let o=!1;function z(){j(),ne(b)}function F(c){o=!0,g("close",c),s.value.menuTransitionProps||g("closeAnimFinished"),ae(b)}function G(){return o}function j(){setTimeout(()=>{document.addEventListener("click",y,!0),document.addEventListener("contextmenu",y,!0),document.addEventListener("scroll",d,!0),!p.isFullScreenContainer&&E.value&&E.value.addEventListener("scroll",d,!0),s.value.keyboardControl!==!1&&document.addEventListener("keydown",C)},50)}function B(){document.removeEventListener("contextmenu",y,!0),document.removeEventListener("click",y,!0),document.removeEventListener("scroll",d,!0),!p.isFullScreenContainer&&E.value&&E.value.removeEventListener("scroll",d,!0),s.value.keyboardControl!==!1&&document.removeEventListener("keydown",C)}const w=e.ref();e.provide("globalSetCurrentSubMenu",c=>w.value=c);function C(c){var A,_,$,X,J,Y,W,Z,ee,N,te,i,T;let K=!0;switch(c.key){case"Escape":{((A=w.value)==null?void 0:A.isTopLevel())===!1?(_=w.value)==null||_.closeCurrentSubMenu():F();break}case"ArrowDown":($=w.value)==null||$.moveCurrentItemDown();break;case"ArrowUp":(X=w.value)==null||X.moveCurrentItemUp();break;case"Home":(J=w.value)==null||J.moveCurrentItemFirst();break;case"End":(Y=w.value)==null||Y.moveCurrentItemLast();break;case"ArrowLeft":{(W=w.value)!=null&&W.closeSelfAndActiveParent()||(ee=(Z=s.value).onKeyFocusMoveLeft)==null||ee.call(Z);break}case"ArrowRight":(N=w.value)!=null&&N.openCurrentItemSubMenu()||(i=(te=s.value).onKeyFocusMoveRight)==null||i.call(te);break;case"Enter":(T=w.value)==null||T.triggerCurrentItemClick(c);break;default:K=!1;break}K&&w.value&&(c.stopPropagation(),c.preventDefault())}function d(){s.value.closeWhenScroll!==!1&&F()}function y(c){O(c.target,c)}function O(c,A){for(var _,$;c;){if(c.classList&&c.classList.contains("mx-menu-host"))return;c=c.parentNode}s.value.clickCloseOnOutside!==!1?(B(),F()):($=(_=s.value).onClickOnOutside)==null||$.call(_,A)}return e.provide("globalOptions",s),e.provide("globalCloseMenu",F),e.provide("globalIsFullScreenContainer",p.isFullScreenContainer),e.provide("globalHasSlot",c=>I[c]!==void 0),e.provide("globalRenderSlot",(c,A)=>e.renderSlot(I,c,{...A},()=>[e.h("span","Render slot failed")],!1)),e.provide("menuContext",{zIndex:s.value.zIndex||k.defaultZindex,container:E.value,adjustPadding:{x:0,y:0},getParentAbsY:()=>s.value.x,getParentAbsX:()=>s.value.y,getParentX:()=>0,getParentY:()=>0,getParentWidth:()=>0,getParentHeight:()=>0,getPositon:()=>[s.value.x,s.value.y],closeOtherSubMenuWithTimeOut:()=>{},checkCloseOtherSubMenuTimeOut:()=>!1,addOpenedSubMenu:()=>{},closeOtherSubMenu:()=>{},getParentContext:()=>null,getSubMenuInstanceContext:()=>null,getElement:()=>null,addChildMenuItem:()=>{},removeChildMenuItem:()=>{},markActiveMenuItem:()=>{},markThisOpenedByKeyBoard:()=>{},isOpenedByKeyBoardFlag:()=>!1,isMenuItemDataCollectedFlag:()=>!1}),n(b),(c,A)=>(e.openBlock(),e.createElementBlock("div",It,[e.unref(s).menuTransitionProps?(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({key:0,appear:""},e.unref(s).menuTransitionProps,{onAfterLeave:A[0]||(A[0]=_=>g("closeAnimFinished"))}),{default:e.withCtx(()=>[e.unref(H)?(e.openBlock(),e.createBlock(he,{key:0,class:"mx-menu-host",items:e.unref(s).items,adjustPosition:e.unref(s).adjustPosition,maxWidth:e.unref(s).maxWidth||e.unref(k).defaultMaxWidth,minWidth:e.unref(s).minWidth||e.unref(k).defaultMinWidth,direction:e.unref(s).direction||e.unref(k).defaultDirection},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},8,["items","adjustPosition","maxWidth","minWidth","direction"])):e.createCommentVNode("",!0)]),_:3},16)):e.unref(H)?(e.openBlock(),e.createBlock(he,{key:1,class:"mx-menu-host",items:e.unref(s).items,adjustPosition:e.unref(s).adjustPosition,maxWidth:e.unref(s).maxWidth||e.unref(k).defaultMaxWidth,minWidth:e.unref(s).minWidth||e.unref(k).defaultMinWidth,direction:e.unref(s).direction||e.unref(k).defaultDirection},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},8,["items","adjustPosition","maxWidth","minWidth","direction"])):e.createCommentVNode("",!0)]))}}),Oe=e.defineComponent({name:"ContextMenu",emits:["update:show","close"],props:{options:{type:Object,default:null},show:{type:Boolean,default:!1}},setup(t,n){const{options:r,show:p}=e.toRefs(t);return n.expose({closeMenu:()=>n.emit("update:show",!1),isClosed:()=>!p.value}),()=>{const{isNew:g,container:I,eleId:s}=u(r.value);return[e.h(e.Teleport,{to:`#${s}`},[e.h(Ee,{options:r,show:p,container:I,isFullScreenContainer:!g,onClose:H=>{var E,b;n.emit("update:show",!1),n.emit("close"),(b=(E=r.value).onClose)==null||b.call(E,H)}},n.slots)])]}}}),Ne=e.defineComponent({name:"ContextMenuGroup",props:{disabled:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},clickHandler:{type:Function,default:null},label:{type:String,default:""},icon:{type:String,default:""},iconFontClass:{type:String,default:"iconfont"},checked:{type:Boolean,default:!1},shortcut:{type:String,default:""},svgIcon:{type:String,default:""},svgProps:{type:Object,default:null},preserveIconWidth:{type:Boolean,default:!0},showRightArrow:{type:Boolean,default:!1},clickClose:{type:Boolean,default:!0},adjustSubMenuPosition:{type:Boolean,default:void 0},maxWidth:{type:[String,Number],default:0},minWidth:{type:[String,Number],default:0}},setup(t,n){const r=e.inject("globalOptions"),{adjustSubMenuPosition:p,maxWidth:g,minWidth:I}=e.toRefs(t),s=typeof p.value<"u"?p.value:r.value.adjustPosition;return()=>e.h(pe,{...t,showRightArrow:!0,maxWidth:void 0,minWidth:void 0,adjustSubMenuPosition:void 0,hasChildren:typeof n.slots.default!==void 0},n.slots.default?{submenu:()=>e.h(he,{maxWidth:g.value,minWidth:I.value,adjustPosition:s},{default:n.slots.default})}:void 0)}});function Bt(t,n,r,p){const g=e.ref(!0),I=e.h(Ee,{options:t,show:g,container:n,isFullScreenContainer:!r,onCloseAnimFinished:()=>{e.render(null,n)},onClose:s=>{var H;(H=t.onClose)==null||H.call(t,s),g.value=!1}},p);return e.render(I,n),I.component}function Te(t,n){const r=u(t);return Bt(t,r.container,r.isNew,n).exposed}const ke={install(t){t.config.globalProperties.$contextmenu=Te,t.component("ContextMenu",Oe),t.component("ContextMenuItem",pe),t.component("ContextMenuGroup",Ne),t.component("ContextMenuSperator",ve),t.component("ContextMenuSeparator",ve),t.component("ContextSubMenu",he)},showContextMenu(t,n){return Te(t,n)},isAnyContextMenuOpen(){return L()},closeContextMenu:D,transformMenuPosition:V},wt={},Pt={class:"mx-menu-bar-icon-menu",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"},Rt=[e.createElementVNode("path",{d:"M133.310936 296.552327l757.206115 0c19.781623 0 35.950949-16.169326 35.950949-35.950949 0-19.781623-15.997312-35.950949-35.950949-35.950949L133.310936 224.650428c-19.781623 0-35.950949 16.169326-35.950949 35.950949C97.359987 280.383 113.529313 296.552327 133.310936 296.552327z"},null,-1),e.createElementVNode("path",{d:"M890.51705 476.135058 133.310936 476.135058c-19.781623 0-35.950949 16.169326-35.950949 35.950949 0 19.781623 16.169326 35.950949 35.950949 35.950949l757.206115 0c19.781623 0 35.950949-16.169326 35.950949-35.950949C926.467999 492.304384 910.298673 476.135058 890.51705 476.135058z"},null,-1),e.createElementVNode("path",{d:"M890.51705 727.447673 133.310936 727.447673c-19.781623 0-35.950949 15.997312-35.950949 35.950949s16.169326 35.950949 35.950949 35.950949l757.206115 0c19.781623 0 35.950949-15.997312 35.950949-35.950949S910.298673 727.447673 890.51705 727.447673z"},null,-1)];function Wt(t,n){return e.openBlock(),e.createElementBlock("svg",Pt,Rt)}const Et=S(wt,[["render",Wt]]),Ot=["onClick","onMouseenter"],Nt=e.defineComponent({__name:"MenuBar",props:{options:{type:Object,default:null}},setup(t){const n=t,r=e.ref(),p=e.ref(!1),g=e.ref([]),I=e.ref(null);function s(){p.value=!0}function H(){p.value=!1}e.onMounted(()=>{g.value=n.options.items||[]}),e.watch(()=>n.options,()=>{g.value=n.options.items||[]});let E=null,b=-1;function o(){b0?b--:b=g.value.length-1,G(b,g.value[b])}function F(C){const d=n.options.barPopDirection??"bl";let y=0,O=0;return d.startsWith("b")?O=R(C)+C.offsetHeight:d.startsWith("t")?O=R(C):O=R(C)+C.offsetHeight/2,d.endsWith("l")?y=f(C):d.startsWith("r")?y=f(C)+C.offsetWidth:y=f(C)+C.offsetWidth/2,{x:y,y:O}}function G(C,d){var y;if(b=C,!d.children)return;E&&(E.closeMenu(),E=null,p.value=!0),I.value=d;const O=(y=r.value)==null?void 0:y.children[C];if(O){const{x:c,y:A}=F(O);E=ke.showContextMenu({...n.options,items:d.children,x:c,y:A,onKeyFocusMoveLeft(){z()},onKeyFocusMoveRight(){o()},onClose(){I.value==d&&(p.value=!1,I.value=null)}})}}function j(){b=0;const C=r.value;if(C){const{x:d,y}=F(C);E=ke.showContextMenu({...n.options,x:d,y})}}function B(C,d){d?(p.value=!0,G(C,d),d.onClick&&(d.clickableWhenHasChildren===!0&&d.children&&d.children.length>0||!d.children||d.children.length===0)&&d.onClick()):j()}function w(C,d){p.value&&G(C,d)}return(C,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["mx-menu-bar",t.options.theme??"",t.options.mini?"mini":""]),onFocus:s,onBlur:H},[e.renderSlot(C.$slots,"prefix"),t.options.mini?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"menuBarContent",ref:r,class:"mx-menu-bar-content"},[e.createElementVNode("div",{class:"mx-menu-bar-item",onClick:d[0]||(d[0]=y=>B(0,null))},[e.createVNode(Et)])],512)):(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"menuBarContent",ref:r,class:"mx-menu-bar-content"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(y,O)=>(e.openBlock(),e.createElementBlock("div",{key:O,class:e.normalizeClass(["mx-menu-bar-item",y==I.value?"active":""]),onClick:c=>B(O,y),onMouseenter:c=>w(O,y)},e.toDisplayString(y.label),43,Ot))),128))],512)),e.renderSlot(C.$slots,"suffix")],34))}});l.ContextMenu=Oe,l.ContextMenuGroup=Ne,l.ContextMenuItem=pe,l.ContextMenuSeparator=ve,l.MenuBar=Nt,l.default=ke,Object.defineProperties(l,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})})(Re,Re.exports);var Sa=Re.exports;const Ma=fa(Sa),Ia=ma("tabbar",()=>{const q=pa(),M=me([]),l=me(-1);async function e(k){var x,a,m;const R=[];k.matched.forEach((u,h)=>{var v;h>0&&(v=u.components)!=null&&v.default.name&&R.push(u.components.default.name)});const f=(x=k.matched.at(-1))==null?void 0:x.meta,V=k.fullPath;if(k.name!=="reload"&&!M.value.find(h=>h.routeName?h.routeName===k.name:h.tabId===V)){const h={tabId:V,fullPath:k.fullPath,routeName:k.name,title:typeof(f==null?void 0:f.title)=="function"?f.title():f==null?void 0:f.title,icon:(f==null?void 0:f.icon)??((m=(a=f==null?void 0:f.breadcrumbNeste)==null?void 0:a.findLast(v=>v.icon))==null?void 0:m.icon),name:R};l.value>=0?(M.value.splice(l.value+1,0,h),l.value=-1):M.value.push(h)}}function P(k){const R=[],f=[];M.value.forEach(x=>{x.tabId===k?f.push(...x.name):R.push(...x.name)});const V=[];f.forEach(x=>{R.includes(x)||V.push(x)}),q.remove(V),M.value=M.value.filter(x=>x.tabId!==k)}function L(k){const R=[],f=[];M.value.forEach(x=>{x.tabId!==k?f.push(...x.name):R.push(...x.name)});const V=[];f.forEach(x=>{R.includes(x)||V.push(x)}),q.remove(V),M.value=M.value.filter(x=>x.tabId===k)}function ne(k){const R=M.value.findIndex(a=>a.tabId===k),f=[],V=[];M.value.forEach((a,m)=>{m{f.includes(a)||x.push(a)}),q.remove(x),M.value=M.value.filter((a,m)=>m>=R)}function ae(k){const R=M.value.findIndex(a=>a.tabId===k),f=[],V=[];M.value.forEach((a,m)=>{m>R?V.push(...a.name):f.push(...a.name)});const x=[];V.forEach(a=>{f.includes(a)||x.push(a)}),q.remove(x),M.value=M.value.filter((a,m)=>m<=R)}function D(){M.value=[]}return{list:M,leaveIndex:l,add:e,remove:P,removeOtherSide:L,removeLeftSide:ne,removeRightSide:ae,clean:D}}),ot=Ia;function Ba(){const q=tt(),M=nt(),l=ot();function e(){return q.fullPath}function P(a){const m=l.list.findIndex(u=>u.tabId===e());l.$patch({leaveIndex:m}),M.push(a)}function L(a){const m=e();M.go(a),l.remove(m)}function ne(a){const m=e();M.push(a).then(()=>{l.remove(m)})}function ae(a=e()){const m=e();if(l.list.some(u=>u.tabId===a))if(l.list.length>1)if(a===m){const u=l.list.findIndex(h=>h.tabId===a);uh.tabId===a);M.push(l.list[u].fullPath)}l.removeOtherSide(a)}function k(a=e()){const m=e();if(a!==m){const u=l.list.findIndex(v=>v.tabId===a);l.list.findIndex(v=>v.tabId===m)v.tabId===a);l.list.findIndex(v=>v.tabId===m)>u&&M.push(l.list[u].fullPath)}l.removeRightSide(a)}function f(a=e()){return l.list.some(m=>m.tabId!==a)}function V(a=e()){var u;let m=!0;if(a===((u=l.list[0])==null?void 0:u.tabId))m=!1;else{const h=l.list.findIndex(v=>v.tabId===a);m=l.list.some((v,S)=>Sv.tabId===a);m=l.list.some((v,S)=>S>=h&&v.tabId!==a)}return m}return{getId:e,open:P,go:L,close:ne,closeById:ae,closeOtherSide:D,closeLeftSide:k,closeRightSide:R,checkCloseOtherSide:f,checkCloseLeftSide:V,checkCloseRightSide:x}}const at=q=>(Ge("data-v-39d55a7e"),q=q(),Ye(),q),wa={class:"tabbar-container"},Pa=["data-index","title","onClick","onContextmenu"],Ra=at(()=>ue("div",{class:"tab-dividers"},null,-1)),Wa=at(()=>ue("div",{class:"tab-background"},null,-1)),Ea={class:"tab-content"},Oa=["onClick"],Na=ze({name:"Tabbar",__name:"index",setup(q){const M=tt(),l=nt(),e=va(),P=ot(),L=Ba(),ne=ka(),ae=Ca({reactive:!0}),D=Ae(()=>L.getId()),k=me(),R=me(),f=Ze([]);$e(()=>{f.value=[]}),Qe(()=>M,u=>{e.settings.tabbar.enable&&P.add(u).then(()=>{const h=P.list.findIndex(v=>v.tabId===D.value);h!==-1&&(a(f.value[h].offsetLeft),V())})},{immediate:!0,deep:!0});function V(){R.value.$el.clientWidth>k.value.clientWidth&&localStorage.getItem("tabbarScrollTip")===void 0&&(localStorage.setItem("tabbarScrollTip",""),Pe.info("标签栏数量超过展示区域范围,可以将鼠标移到标签栏上,通过鼠标滚轮滑动浏览",{title:"温馨提示",duration:5e3,closable:!0,zIndex:2e3}))}function x(u){k.value.scrollBy({left:u.deltaY||u.detail})}function a(u){k.value.scrollTo({left:u-50,behavior:"smooth"})}function m(u,h){u.preventDefault(),Ma.showContextMenu({x:u.x,y:u.y,zIndex:1050,iconFontClass:"",customClass:"tabbar-contextmenu",items:[{label:"重新加载",icon:"i-ri:refresh-line",disabled:h.tabId!==D.value,onClick:()=>ne.reload()},{label:"关闭标签页",icon:"i-ri:close-line",disabled:P.list.length<=1,divided:!0,onClick:()=>{L.closeById(h.tabId)}},{label:"关闭其他标签页",disabled:!L.checkCloseOtherSide(h.tabId),onClick:()=>{L.closeOtherSide(h.tabId)}},{label:"关闭左侧标签页",disabled:!L.checkCloseLeftSide(h.tabId),onClick:()=>{L.closeLeftSide(h.tabId)}},{label:"关闭右侧标签页",disabled:!L.checkCloseRightSide(h.tabId),onClick:()=>{L.closeRightSide(h.tabId)}}]})}return Ke(()=>{Ve("alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0",(u,h)=>{var v,S;if(e.settings.tabbar.enable&&e.settings.tabbar.enableHotkeys)switch(u.preventDefault(),h.key){case"alt+left":if(P.list[0].tabId!==D.value){const Q=P.list.findIndex(oe=>oe.tabId===D.value);l.push(P.list[Q-1].fullPath)}break;case"alt+right":if(((v=P.list.at(-1))==null?void 0:v.tabId)!==D.value){const Q=P.list.findIndex(oe=>oe.tabId===D.value);l.push(P.list[Q+1].fullPath)}break;case"alt+w":L.closeById(D.value);break;case"alt+1":case"alt+2":case"alt+3":case"alt+4":case"alt+5":case"alt+6":case"alt+7":case"alt+8":case"alt+9":{const Q=Number(h.key.split("+")[1]);(S=P.list[Q-1])!=null&&S.fullPath&&l.push(P.list[Q-1].fullPath);break}case"alt+0":l.push(P.list[P.list.length-1].fullPath);break}})}),Ue(()=>{Ve.unbind("alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0")}),(u,h)=>{const v=ha;return se(),re("div",wa,[ue("div",{ref_key:"tabsRef",ref:k,class:"tabs",onWheel:we(x,["prevent"])},[Ie(He,{ref_key:"tabContainerRef",ref:R,name:"tabbar",tag:"div",class:"tab-container"},{default:Je(()=>[(se(!0),re(je,null,Xe(le(P).list,(S,Q)=>(se(),re("div",{key:S.tabId,ref_for:!0,ref_key:"tabRef",ref:f,"data-index":Q,class:De(["tab",{actived:S.tabId===le(D)}]),title:typeof(S==null?void 0:S.title)=="function"?S.title():S.title,onClick:oe=>le(l).push(S.fullPath),onContextmenu:oe=>m(oe,S)},[Ra,Wa,ue("div",Ea,[(se(),re("div",{key:S.tabId,class:"title"},[le(e).settings.tabbar.enableIcon&&S.icon?(se(),Fe(v,{key:0,name:S.icon,class:"icon"},null,8,["name"])):Me("",!0),Le(" "+Be(typeof(S==null?void 0:S.title)=="function"?S.title():S.title),1)])),le(P).list.length>1?(se(),re("div",{key:0,class:"action-icon",onClick:we(oe=>le(L).closeById(S.tabId),["stop"])},[Ie(v,{name:"i-ri:close-fill"})],8,Oa)):Me("",!0),et(ue("div",{class:"hotkey-number"},Be(Q+1),513),[[qe,le(ae).alt&&Q<9]])])],42,Pa))),128))]),_:1},512)],544)])}}}),ja=ba(Na,[["__scopeId","data-v-39d55a7e"]]);export{ja as default}; diff --git a/public/admin/assets/index-CSu-2OAU.js.br b/public/admin/assets/index-CSu-2OAU.js.br new file mode 100644 index 0000000..d358f26 Binary files /dev/null and b/public/admin/assets/index-CSu-2OAU.js.br differ diff --git a/public/admin/assets/index-CSu-2OAU.js.gz b/public/admin/assets/index-CSu-2OAU.js.gz new file mode 100644 index 0000000..808e681 Binary files /dev/null and b/public/admin/assets/index-CSu-2OAU.js.gz differ diff --git a/public/admin/assets/index-CWXaTskp.js b/public/admin/assets/index-CWXaTskp.js new file mode 100644 index 0000000..b3939cb --- /dev/null +++ b/public/admin/assets/index-CWXaTskp.js @@ -0,0 +1,14 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{E as s,C as R,s as Y,t as O,b as x,l as w,m as X,g as d,L as k,i as h,c as l,h as f,j as u,f as y,k as g,a as j,d as U,e as G,I as b,N as Z}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new s((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new R({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=Y({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=x.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#FnOOQO'#Fn'#FnO9QQQO'#G^QOQQOOO&]QROOO9XQQO'#C`O9^QSO'#CdO9lQQO'#C}O9tQQO'#DSO9yQQO'#D[O:kQQO'#CsO:pQQO'#DhO:uQQO'#EeO:}QQO'#EiO;VQQO'#EoO;_QQO'#EuOPQSO7+%hOOQP7+%h7+%hO4cQQO7+%hOOQP1G0Q1G0QO!>^QQO1G0QOOQP1G0U1G0UO!>fQQO1G0UOF|QQO1G0UOOQO,5nAN>nO4cQQOAN>nO!IsQSOAN>nOOQP<nQQO'#FrOOQO,5vAN>vO!LtQQOAN>vP.hQQO'#F|OOQPG25XG25XO!LyQQOG25bO!MOQQO'#FPOOQPG25bG25bO!MZQQOG25bOOQPLD)tLD)tOOQPG24bG24bO!JqQQOLD*|O!9OQQO'#GQO!McQQO,5;kOOQP,5;k,5;kO?tQQO'#FQO!MnQQO'#FQO!MsQQOLD*|OOQP!$'Nh!$'NhOOQO,5VO^!hOh!POr-TOw}O!P-_O!Q-`O!W-^O!]-eO%O!eO%Y!fO~OZ!sO~O^#uO~O!P$xO~On!lO#W%]aV%]a^%]ah%]ar%]aw%]a!P%]a!Q%]a!W%]a!]%]a#T%]a$w%]a%O%]a%Y%]au%]a~O]${O^#QO~OZ#RO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O]$|O!|,WO~PBROj!qOn%QO!QnOi%cP~P*aO!V%WO!|#`O~PBRO!V%YO~OV!}O[oO^YOaoOdoOh!POjcOr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~Oi%dX#p%dX#q%dX~PDQOi%]O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-QO!WaO!]!QO!phO!qhO%O+{O%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^%aO%O%_O~O!QnO!a%cO~P*aO!QnOn$mX#T$mX#U$mXV$mX$w$mX!a$mX~P*aOn#TO#T%ea#U%eaV%ea$w%ea!a%ea~O]%fO~PF|OV#ga$w#ga~PDTO[%sO~OZ#rO[#qO]%vO%O#oO~O^!hOh!POn%zOr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO]%[P~O^&OOh!POr!jOw}O!P!OO!Q!kO!WaO!]!QO%Y!fO^%ZXj%ZX~O%O%}O~PKfOjcO^qa]qanqa!Vqa~O^#uO!W&SO~O^!hOh!POr-TOw}O{&WO!P-_O!Q-`O!W-^O!]-eO%O,xO%Y!fO~Oi&^O~PL{O^!hOh!POr!jOw}O!Q!kO!WaO!]!QO%O!eO%Y!fO~O!P#hO~PMwOi&eO%O,yO%Y!fO~O#T&gOV#ZX$w#ZX~P?tO]&kO%O#oO~O^!hOh!POr-TOw}O!P-_O!Q-`O!]-eO%O!eO%Y!fO~O!W&lO#T&mO~P! _O]&qO%O#oO~O#T&sOV#eX$w#eX~P?tO]&vO%O#oO~OjeX~P$XOjcO!|,XO~P2gOn!lO#W&yO#W%]X~O^#VOn#TO!Q#cO!W#SO!|,XO#R#dO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]OV`X#T%eX#U%eX~OZ&zOj$`O$w`X~P!#cOi'OO#p'PO#q'QO~OZ#ROjcO~P!#cO#T'TO#U#iO~O#W'UO~OV'WO!QnO~P*aOV'XO~OjcO~O!|#`OV#za$w#za~PBROi'[O#p']O#q'^O~On#TO!|#`OV%eX$w%eX!a%eX~PBRO!|#`OV$Za$w$Za~PBRO${$rO$|$rO$}'`O~O]${O~O%O!eO]%ZXn%ZX!V%ZX~PKfO!|#`Oi!_Xn!_X!a!`X~PBROi!_Xn!_X!a!`X~O!a'aO~On'bOi%cX~Oi'dO~On'eO!V%bX!a%bX~O!V'gO~O]'jOn'kO!|,YO~PBROn'nO!V'mO!a'oO!|#`O~PBRO!QnO!V'qO!a'rO~P*aO!|#`On$ma#T$ma#U$maV$ma$w$ma!a$ma~PBRO]'sOu'tO~O%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi!|!xi#R!xi#T!xi#U!xi$w!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~O!V!xii!xi!a!xi~P!+YO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi!V!xii!xi!a!xi~O!|!xi~P!-TO!|#`O~P!-TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%q!xi~O!|#`O!V!xii!xi!a!xi~P!/VO!|#`OV#Pi$w#Pi!a#Pi~PBRO]'uOn'wOu'vO~OZ#rO[#qO]'zO%O#oO~Ou'|O~P?tOn'}O]%[X~O](PO~OZeX^mX^!TXj!TX!W!TX~OjcOV$]i$w$]i~O%`(ZOV%^X$w%^Xn%^X!V%^X~Oi(`O~PL{O[(aO!W!tOVlX$wlX~On(bO~P?tO[(aOVlX$wlX~Oi(hO%O,yO%Y!fO~O!V(iO~O#T(kO~O](nO%O#oO~O[oO^YOaoOdoOh!POr!pOu-bOw}O!P!OO!QnO!V-UO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O+zO~P!4vO](sO%O#oO~O#T(tOV#ea$w#ea~O](xO%O#oO~O#k(yOV#ii$w#ii~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-PO!WaO!]!QO!phO!qhO%O+xO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^(|O%O%_O~O#p%dP#q%dP~P/uOi)PO#p'PO#q'QO~O!a)RO~O!QnO#y)VO~P*aOV)WO!|#`O~PBROj#wa~P;_OV)WO!QnO~P*aOi)]O#p']O#q'^O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O,eO~P!:lO!a)bO~Oj!qO!QnO~P*aOj!qO!QnOi%ca~P*aOn)iOi%ca~O!V%ba!a%ba~P?tOn)lO!V%ba!a%ba~O])nO~O])oO~O!V)pO~O!QnO!V)rO!a)sO~P*aO!V)rO!a)sO!|#`O~PBRO])uOn)vO~O])wOn)xO~O^!hOh!POr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO~O]%[a~P!>nOn)|O]%[a~O]${O]tXntX~OjcOV$^q$w$^q~On*PO{&WO~P?tOn*SO!V%rX~O!V*UO~OjcOV$]q$w$]q~O%`(ZOV|a$w|an|a!V|a~O[*]OVla$wla~O[*]O!W!tOVla$wla~On*PO{&WO!W*`O^%WXj%WX~P! _OjcO#j!UO~OjcO!|,XO~PBROZ*dO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O!|#`O~P!BoO#^*eO~P?tO!a*fO~Oj$`O!|,XO~P!BoO#W*hO~Oj#wi~P;_OV*kO!|#`O~PBROn#TO!Q#cO!|#`O!a$QX#T%eX~PBRO#T*lO~O#W*lO~O!a*mO~O!|#`Oi!_in!_i~PBRO!|#`Oi!bXn!bX!a!cX~PBROi!bXn!bX!a!cX~O!a*nO~Oj!qO!QnOi%ci~P*aO!V%bi!a%bi~P?tO!V*qO!a*rO!|#`O~PBRO!V*qO!|#`O~PBRO]*tO~O]*uO~O]*uOu*vO~O]%[i~P!>nO%O!eO!V%ra~On*|O!V%ra~O[+OOVli$wli~O%O+yO~P!4vO#k+QOV#iy$w#iy~O^+RO%O%_O~O]+SO~O!|,XOj#xq~PBROj#wq~P;_O!V+ZO!|#`O~PBRO]+[On+]O~O%O!eO!V%ri~O^#QOn'eO!V%bX~O#^+`O~P?tOj+aO~O^#VO!W#SO!|#`O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~OZ+cO~P!JvO!|#`O!a$Qi~PBRO!|#`Oi!bin!bi~PBRO!V+dO!|#`O~PBRO]+eO~O]+fO~Oi+iO#p+jO#q+kO~O^+lO%O%_O~Oi+pO#p+jO#q+kO~O!a+rO~O#^+sO~P?tO!a+tO~O]+uO~OZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXVeXneX!QeX#ReX#TeX#UeX$weX~O]eX]!TX!VeXieX!aeX~P!NUOjeX~P!NUOZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXn!TX!VeX~O]eX!V!TX~P#!gOh!TXr!TXw!TX{!TX!P!TX!Q!TX!]!TX%O!TX%Y!TX~P#!gOZeX^eX^!TXj!TXneX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeX~O]eXueX~P#$xO]$mXn$mXu$mX~PF|Oj$mXn$mX~P!7`On+|O]%eau%ea~On+}Oj%ea~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-OO!WaO!]!QO!phO!qhO%O+yO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~OZeX]!TX^UXhUXnUXn!TXrUXuUXwUX!PUX!QUX!WUX!W!TX!]UX%OUX%YUX~OnUX!QeX!aeX#TeX#WUX~P#$xOn+|O!|,YO]%eXu%eX~PBROn+}O!|,XOj%eX~PBRO^&OOV%ZXj%ZX$w%ZX]%ZXn%ZX!V%ZXu%ZX%`%ZX#T%ZX[%ZX!a%ZX~P?wO!|,YO]$man$mau$ma~PBRO!|,XOj$man$ma~PBRO%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~Oj!xi~P!+YOn!xiu!xi~P#,hO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%p!xi%q!xi~O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xij!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi~O!|!xi~P#/_On!xiu!xi~P#.TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi%p!xi%q!xi~O!|,WO~P#1^O!|,XO~P#/_O!|,YOn!xiu!xi~P#1^O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OZ!xi]!xi^!xi!W!xi%q!xi~O!|,WO~P#3QO!|,XOj!xi~P!/VO!|,YOn!xiu!xi~P#3QO!|,XOj#Pi~PBROV!TXZeX^mX!W!TX$w!TX~O%`!TX~P#5RO[!TXhmXnmXrmXwmX!PmX!QmX!WmX!]mX%OmX%YmX~P#5ROn#TO!Q,aO!|,XO#R#dOj`X#T%eX#U%eX~PBRO[oO^YOaoOdoOh!POr!pOw}O!P#hO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!Q-OO%O+yO~P#6{O!Q-PO%O+xO~P#6{O!Q-QO%O+{O~P#6{O#T,bO#U,bO~O#W,cO~O^!hOh!POr-TOw}O!P-_O!Q-WO!W-^O!]-eO%O!eO%Y!fO~O^!hOh!POr-TOw}O!Q-`O!W-^O!]-eO%O!eO%Y!fO~O!P-VO~P#9zO%O+wO~P!4vO!P-XO~O!V-YO!|#`O~PBRO!V-ZO~O!V-[O~O!W-dO~OP%ka%Oa~",goto:"!FW%sPP%tP%wP%zP'SP'XPPPP'`'cP'u'uP)w'u-_PPP0j0m0qP1V4b1VP7s8WP1VP8a8d8hP8p8w1VPP1V8{<`?vPPCY-_-_-_PCdCuCxPC{DQ'u'uDV'uES'u'u'u'uGUIW'uPPJR'uJUMjMjMj'u! r! r!#SP!$`!%d!&d'cP'cPP'cP!&yP!'V!'^!&yP!'a!'h!'n!'w!&yP!'z!(R!&y!(U!(fPP!&yP!(x!)UPP!&y!)Y!)c!&yP!)g!)gP!&yP!&yP!)j!)m!&v!&yP!&yPPP!&yP!&yP!)q!)q!)w!)}!*U!*[!*d!*j!*p!*w!*}!+T!+Z!.q!.x!/O!/X!/m!/s!/z!0Q!0W!0^!0d!0jPPPPPPPPP!0p!1f!1k!1{!2kPP!7P!:^P!>u!?Z!?_!@Z!@fP!@p!D_!Df!Di!DuPPPPPPPPPPPP!FSR!aPRyO!WXOScw!R!T!U!W#O#k#n#u$R$X&O&j&u&|'W'Y']'})W)|*k*w+gQ#pzU#r{#s%uQ#x|U$T!S$U&pQ$^!VQ$y!lR)U'RVROS#nQ#t{T%t#s%uR#t{qrOScw!U!V!W#O#k#n&|'W'Y)W*k+g%PoOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%O]OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^#u!iW^!O!h!t!z#e#h#u#v#y#|#}$P$Q$T$W$v$x%W%Y%a%x%y&O&S&W&]&`&b&d&m'e'|'}(S([(c(i(o(|)l)|*P*Q*S*p*w*|+R+^+j+l,h-U-V-W-X-Y-Z-[-]-_-d'cbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR$O!PT&c#}&dW%`#R&z*d+cQ&Q#vS&V#y&]S&`#}&dR*Y(b'cZOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d%fWOSWYacmnw!O!U!V!W!X!Z!_!q!z#O#Q#S#T#V#^#_#`#a#b#c#h#i#j#k#n#v#|$f$v$x%W%Y%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(i(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S&b#}&d!{-]!h!t#e#u#y$P$Q$T$W%a%x%y&O&W&]&`&m'e'|'}(S([(c(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-dQ#v|S$v!j!pU&P#v$v,hZ,h#x&Q&U&V-TS%{#u&OV){'})|*wR#z}T&[#y&]]&X#y&](S([(o*QZ&Z#y&](S(o*QT([&Y(]'s_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d'r_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!w^'bbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&a#}&dR(d&bS!u]fX!x`&_(e(oQ!r[Q%O!qQ)d'aU)f'b)i*oR+X*nR%R!qR%P!qV)h'b)i*oV)g'b)i*odtOScw#O#k#n&|'Y+gQ$h!WQ&R#wQ&w$[S'S$c$iQ(V&TQ*O(RQ*V(WQ*b(yQ*c(zR+_+Q%PfOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%PgOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^!q#Weg!o!y$[$_$c$j$m$q$}%^%b%d%m'V'p(z({)S)Y)^)c)e)q)t*i*s+T+V+W+Y,f,g,i,j,w,z-aR#fh#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z[,V%^,f,i,p,s,v`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q!Y#^e!y$j$m$q$}%b%d%i%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aY,Q!o,k,n,q,tl,R$[$_$c(z)S*i,g,j,l,o,r,u,w,z_,S%^,f,i,m,p,s,v!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z],V%^,f,i,p,s,v!S#ae!y$j$m$q$}%b%d%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aS,Z!o,tf,[$[$_$c(z)S*i,g,j,u,w,zX,]%^,f,i,v!Q#be!y$j$m$q$}%b%d%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aQ,^!od,_$[$_$c(z)S*i,g,j,w,zV,`%^,f,iprOScw!U!V!W#O#k#n&|'W'Y)W*k+gR)a']etOScw#O#k#n&|'Y+gQ$S!RT&i$R&jR$S!RQ$V!ST&o$U&pQ&U#xR&m$TS(T&S&lV*{*S*|+^R$V!SQ$Y!TT&t$X&uR$Y!TdsOScw#O#k#n&|'Y+gT$p![!]dtOScw#O#k#n&|'Y+gQ*b(yR+_+QQ$a!VQ&{$_Q)T'RR*g)ST&|$`&}Q+b+SQ+m+fR+v+uT+g+a+hR$i!WR$l!YT'Y$k'ZXuOSw#nQ$s!`R'_$sSSO#nR!dSQ%u#sR'y%uUwOS#nR#mwQ&d#}R(g&dQ(c&`R*Z(cS!mX$^R$z!mQ(O%{R)}(OQ&]#yR(_&]Q(]&YR*X(]'r^OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!v^S'f%T+PR)m'fQ'c%RR)j'cW#Oc&|'Y+gR%[#O^#Ue$[$_$c$m)^,zU%e#U,O,PQ,O,fR,P,gQ&j$RR(m&jS*Q(S(oR*y*QQ*T(TR*}*TQ&p$UR(r&pQ&u$XR(w&uQ&}$`R)O&}Q+h+aR+o+hQ'Z$kR)['ZQ!cRQ#luQ#nyQ%Z!|Q&x$]Q'R$bQ'x%tQ(^&[Q(f&cQ(l&iQ(q&oR(v&tVxOS#nWuOSw#nY!|c#O&|'Y+gR%r#kdtOScw#O#k#n&|'Y+gQ$]!UQ$b!VQ$g!WQ)X'WQ*j)WR+U*kdeOScw#O#k#n&|'Y+gQ!oYQ!ya`#gmn,{,|,}-O-P-QQ$[!UQ$_!VQ$c!WQ$j!Xd$m!Z#i#j&g&s'P'T'U(k(tQ$q!_Q$}!qQ%^#QQ%b#SQ%d#TW%h#^,Q,R,SQ%i#_Q%j#`Q%k#aQ%l#bQ%m#cQ'V$fQ'p%cQ(z&xQ({&yQ)S'RQ)Y'XQ)^']Q)c'aU)e'b)i*oQ)q'oQ)t'rQ*i)VQ*s)sQ+T*hQ+V*lQ+W*nQ+Y*rS,f#V'wS,g,b,cQ,i+|Q,j+}Q,k,TQ,l,UQ,m,VQ,n,WQ,o,XQ,p,YQ,q,ZQ,r,[Q,s,]Q,t,^Q,u,_Q,v,`Q,w,aU,z'W)W*kV-a&l*`-^#bZW!O!h!t!z#e#h#u#v#y#|$P$Q$T$W$v$x%W%Y%a%x%y&O&W&]&`&m'e'|'}(S([(c(i(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-d%P[OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^$zdOSacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S!gW-]Q!nYS#{!O-_Q$u!hS%T!t+jS%X!z-UQ%n#e[%o#h#|$x-V-W-XW%w#u'})|*wU&P#v$v,h[&X#y&](S([(o*QQ&f$PQ&h$QQ&n$TQ&r$WS'h%W-YS'i%Y-ZW'l%a(|+R+lS'{%x%yQ(Q&OQ(Y&WQ(d&`Q(p&mU)k'e)l*pQ)z'|Q*[(cS*^(i-[Q+P*`R-c-dS#w|!pS$w!j-TQ&T#xQ(R&QQ(W&UR(X&VT%|#u&OhqOScw!U!V#O#k#n&|'Y+gU$Q!R$R&jU$W!T$X&uQ$e!WY%y#u&O'})|*wQ)`']V-S'W)W*kS&[#y&]S*R(S(oR*z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!Q![*`#R#S+w~*WP!O!P*Z~*`Ou~Q*eTaQ!Q![*`!g!h*t#R#S+w#X#Y*t#]#^+rQ*wS{|+T}!O+T!Q![+^#R#S+lQ+WQ!Q![+^#R#S+lQ+cRaQ!Q![+^#R#S+l#]#^+rQ+oP!Q![+^Q+wOaQQ+zP!Q![*`~,SR%k~z{,]!P!Q,b!_!`&X~,bO$z~~,gSP~OY,bZ;'S,b;'S;=`,s<%lO,b~,vP;=`<%l,bQ-O[aQ!O!P*`!Q![-t!d!e.c!g!h*t!q!r/Z!z!{/x#R#S.]#U#V.c#X#Y*t#]#^+r#c#d/Z#l#m/xQ-yUaQ!O!P*`!Q![-t!g!h*t#R#S.]#X#Y*t#]#^+rQ.`P!Q![-tQ.fR!Q!R.o!R!S.o#R#S/QQ.tSaQ!Q!R.o!R!S.o#R#S/Q#]#^+rQ/TQ!Q!R.o!R!S.oQ/^Q!Q!Y/d#R#S/rQ/iRaQ!Q!Y/d#R#S/r#]#^+rQ/uP!Q!Y/dQ/{T!O!P0[!Q![1c!c!i1c#R#S2Q#T#Z1cQ0_S!Q![0k!c!i0k#R#S1V#T#Z0kQ0pVaQ!Q![0k!c!i0k!r!s*t#R#S1V#T#Z0k#]#^+r#d#e*tQ1YR!Q![0k!c!i0k#T#Z0kQ1hWaQ!O!P0k!Q![1c!c!i1c!r!s*t#R#S2Q#T#Z1c#]#^+r#d#e*tQ2TR!Q![1c!c!i1c#T#Z1c~2cP!a~!_!`2f~2kO#W~~2pOV~~2uR!|S}!O3O!^!_3T!_!`$S~3TO!Q~~3YP%m~!_!`&X~3bP#T~!_!`$S~3jQ!|S!_!`$S!`!a3p~3uP%n~!_!`&X~3}V%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~4gP;=`<%l3x~4oO!W~~4tO!V~~4yP%i~!_!`&X~5RV%O~!Q![5h!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new w("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { + \${} +}`,{label:"select",detail:"statement",type:"keyword"}),X("case ${}:\n${}",{label:"case",type:"keyword"}),X("switch ${} {\n ${}\n}",{label:"switch",detail:"statement",type:"keyword"}),X("switch ${}.(${type}) {\n ${}\n}",{label:"switch",detail:"type statement",type:"keyword"}),X("if ${} {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),X(`if \${} { + \${} +} else { + \${} +}`,{label:"if",detail:"/ else block",type:"keyword"}),X('import ${name} "${module}"\n${}',{label:"import",detail:"declaration",type:"keyword"})],S=new Z,T=new Set(["SourceFile","Block","FunctionDecl","MethodDecl","FunctionLiteral","ForStatement","SwitchStatement","TypeSwitchStatement","IfStatement"]);function o(Q,e){return(n,a)=>{O:for(let t=n.node.firstChild,c=0,i=null;;){for(;!t;){if(!c)break O;c--,t=i.nextSibling,i=i.parent}e&&t.name==e||t.name=="SpecList"?(c++,i=t,t=t.firstChild):(t.name=="DefName"&&a(t,Q),t=t.nextSibling)}return!0}}const cO={FunctionDecl:o("function"),VarDecl:o("var","VarSpec"),ConstDecl:o("constant","ConstSpec"),TypeDecl:o("type","TypeSpec"),ImportDecl:o("constant","ImportSpec"),Parameter:o("var"),__proto__:null};function m(Q,e){let n=S.get(e);if(n)return n;let a=[],t=!0;function c(i,P){let V=Q.sliceString(i.from,i.to);a.push({label:V,type:P})}return e.cursor(b.IncludeAnonymous).iterate(i=>{if(t)t=!1;else if(i.name){let P=cO[i.name];if(P&&P(i,c)||T.has(i.name))return!1}else if(i.to-i.from>8192){for(let P of m(Q,i.node))a.push(P);return!1}}),S.set(e,a),a}const p=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,W=["String","LineComment","BlockComment","DefName","LabelName","FieldName",".","?."],rO=Q=>{let e=d(Q.state).resolveInner(Q.pos,-1);if(W.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&p.test(Q.state.sliceDoc(e.from,e.to));if(!n&&!Q.explicit)return null;let a=[];for(let t=e;t;t=t.parent)T.has(t.name)&&(a=a.concat(m(Q.state.doc,t)));return{options:a,from:n?e.from:Q.pos,validFor:p}},r=k.define({name:"go",parser:PO.configure({props:[h.add({IfStatement:l({except:/^\s*({|else\b)/}),LabeledStatement:f,"SwitchBlock SelectBlock":Q=>{let e=Q.textAfter,n=/^\s*\}/.test(e),a=/^\s*(case|default)\b/.test(e);return Q.baseIndent+(n||a?0:Q.unit)},Block:u({closing:"}"}),BlockComment:()=>null,Statement:l({except:/^{/})}),y.add({"Block SwitchBlock SelectBlock LiteralValue InterfaceType StructType SpecList":g,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case\b|default\b|\})$/}});let lO=Q=>({label:Q,type:"keyword"});const $O="interface struct chan map package go return break continue goto fallthrough else defer range true false nil".split(" ").map(lO);function WO(){let Q=oO.concat($O);return new j(r,[r.data.of({autocomplete:U(W,G(Q))}),r.data.of({autocomplete:rO})])}export{WO as go,r as goLanguage,rO as localCompletionSource,oO as snippets}; diff --git a/public/admin/assets/index-CWXaTskp.js.br b/public/admin/assets/index-CWXaTskp.js.br new file mode 100644 index 0000000..146fea6 Binary files /dev/null and b/public/admin/assets/index-CWXaTskp.js.br differ diff --git a/public/admin/assets/index-CWXaTskp.js.gz b/public/admin/assets/index-CWXaTskp.js.gz new file mode 100644 index 0000000..0f357e1 Binary files /dev/null and b/public/admin/assets/index-CWXaTskp.js.gz differ diff --git a/public/admin/assets/index-CZpxhGPJ.js b/public/admin/assets/index-CZpxhGPJ.js new file mode 100644 index 0000000..97951d6 --- /dev/null +++ b/public/admin/assets/index-CZpxhGPJ.js @@ -0,0 +1,10 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{E as P,C as G,s as k,t as i,b as E,g as _,d as U,L as z,i as j,j as $,f as A,k as F,a as I,I as N,e as C,N as D,m as S}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const L=1,m=206,y=207,H=208,c=209,J=210,B=211,M=212,K=2,OO=213,rO=214,oO=3,aO=215,iO=216,eO=4,QO=217,xO=218,SO=5,sO=219,TO=26,tO=27,nO=51,PO=52,lO=57,pO=58,$O=59,qO=61,XO=62,wO=63,dO=64,YO=65,cO=67,ZO=256,fO=74,bO=275,vO=120,mO=138,yO=159,RO=160,uO=163,T=10,t=13,d=32,l=9,Y=35,WO=40,VO=46,Z=123,R=39,u=34,gO=92,hO=new Set([tO,nO,PO,bO,cO,mO,pO,$O,ZO,dO,YO,fO,XO,wO,yO,RO,uO,vO]);function q(O){return O==T||O==t}const GO=new P((O,r)=>{let o;if(O.next<0)O.acceptToken(B);else if(r.context.depth<0)q(O.next)&&O.acceptToken(J,1);else if(((o=O.peek(-1))<0||q(o))&&r.canShift(c)){let a=0;for(;O.next==d||O.next==l;)O.advance(),a++;(O.next==T||O.next==t||O.next==Y)&&O.acceptToken(c,-a)}else q(O.next)&&O.acceptToken(H,1)},{contextual:!0}),kO=new P((O,r)=>{let o=r.context.depth;if(o<0)return;let a=O.peek(-1);if(a==T||a==t){let e=0,Q=0;for(;;){if(O.next==d)e++;else if(O.next==l)e+=8-e%8;else break;O.advance(),Q++}e!=o&&O.next!=T&&O.next!=t&&O.next!=Y&&(e{for(let r=0;r<5;r++){if(O.next!="print".charCodeAt(r))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let r=0;;r++){let o=O.peek(r);if(!(o==d||o==l)){o!=WO&&o!=VO&&o!=T&&o!=t&&o!=Y&&O.acceptToken(L);return}}});function p(O,r,o,a,e){return new P(Q=>{let x=Q.pos;for(;!(Q.next<0);)if(Q.next==Z)if(Q.peek(1)==Z)Q.advance(2);else{if(Q.pos==x){Q.acceptToken(a,1);return}break}else if(Q.next==gO)Q.advance(),Q.next>=0&&Q.advance();else if(Q.next==O&&(r==1||Q.peek(1)==O&&Q.peek(2)==O)){if(Q.pos==x){Q.acceptToken(e,r);return}break}else Q.advance();Q.pos>x&&Q.acceptToken(o)})}const jO=p(R,1,M,K,OO),AO=p(u,1,rO,oO,aO),FO=p(R,3,iO,eO,QO),IO=p(u,3,xO,SO,sO),NO=k({'async "*" "**" FormatConversion FormatSpec':i.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":i.controlKeyword,"in not and or is del":i.operatorKeyword,"from def class global nonlocal lambda":i.definitionKeyword,import:i.moduleKeyword,"with as print":i.keyword,Boolean:i.bool,None:i.null,VariableName:i.variableName,"CallExpression/VariableName":i.function(i.variableName),"FunctionDefinition/VariableName":i.function(i.definition(i.variableName)),"ClassDefinition/VariableName":i.definition(i.className),PropertyName:i.propertyName,"CallExpression/MemberExpression/PropertyName":i.function(i.propertyName),Comment:i.lineComment,Number:i.number,String:i.string,FormatString:i.special(i.string),UpdateOp:i.updateOperator,"ArithOp!":i.arithmeticOperator,BitOp:i.bitwiseOperator,CompareOp:i.compareOperator,AssignOp:i.definitionOperator,Ellipsis:i.punctuation,At:i.meta,"( )":i.paren,"[ ]":i.squareBracket,"{ }":i.brace,".":i.derefOperator,", ;":i.separator}),CO={__proto__:null,await:48,or:58,and:60,in:64,not:66,is:68,if:74,else:76,lambda:80,yield:98,from:100,async:106,for:108,None:178,True:180,False:180,del:194,pass:198,break:202,continue:206,return:210,raise:218,import:222,as:224,global:228,nonlocal:230,assert:234,type:239,elif:252,while:256,try:262,except:264,finally:266,with:270,def:274,class:284,match:295,case:301},DO=E.deserialize({version:14,states:"#)WO`Q#yOOP$bOSOOO%kQ&nO'#HhOOQS'#Cq'#CqOOQS'#Cr'#CrO'ZQ#xO'#CpO(|Q&nO'#HgOOQS'#Hh'#HhOOQS'#DW'#DWOOQS'#Hg'#HgO)jQ#xO'#DaO)}Q#xO'#DhO*_Q#xO'#DlOOQS'#Dw'#DwO*rO,UO'#DwO*zO7[O'#DwO+SOWO'#DxO+_O`O'#DxO+jOpO'#DxO+uO!bO'#DxO-wQ&nO'#HXOOQS'#HX'#HXO'ZQ#xO'#HWO/ZQ&nO'#HWOOQS'#Ej'#EjO/rQ#xO'#EkOOQS'#HV'#HVO/|Q#xO'#HUOOQV'#HU'#HUO0XQ#xO'#FbOOQS'#Gj'#GjO0^Q#xO'#FaOOQV'#I_'#I_OOQV'#HT'#HTOOQV'#Fy'#FyQ`Q#yOOO'ZQ#xO'#CsO0lQ#xO'#DPO0sQ#xO'#DTO1RQ#xO'#HlO1cQ&nO'#E_O'ZQ#xO'#E`OOQS'#Eb'#EbOOQS'#Ed'#EdOOQS'#Ef'#EfO1wQ#xO'#EhO2_Q#xO'#ElO0XQ#xO'#EnO2rQ&nO'#EnO0XQ#xO'#EqO/rQ#xO'#EtO0XQ#xO'#EvO/rQ#xO'#E|O/rQ#xO'#FPO2}Q#xO'#FRO3UQ#xO'#FWO3aQ#xO'#FSO/rQ#xO'#FWO0XQ#xO'#FYO0XQ#xO'#F_O3fQ#xO'#FdP3mO#xO'#HSPOOO)CBv)CBvOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Ck'#CkOOQS'#Cl'#ClOOQS'#Cn'#CnO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO3xQ#xO'#DqOOQS,5:[,5:[O4]Q#xO'#HvOOQS,5:_,5:_O4jQMlO,5:_O4oQ&nO,59[O0lQ#xO,59dO0lQ#xO,59dO0lQ#xO,59dO7_Q#xO,59dO7dQ#xO,59dO7kQ#xO,59lO7rQ#xO'#HgO8xQ#xO'#HfOOQS'#Hf'#HfOOQS'#D^'#D^O9aQ#xO,59cO'ZQ#xO,59cO9oQ#xO,59cOOQS,59{,59{O9tQ#xO,5:TO'ZQ#xO,5:TOOQS,5:S,5:SO:SQ#xO,5:SO:XQ#xO,5:ZO'ZQ#xO,5:ZO'ZQ#xO,5:XOOQS,5:W,5:WO:jQ#xO,5:WO:oQ#xO,5:YOOOO'#GR'#GRO:tO,UO,5:cOOQS,5:c,5:cOOOO'#GS'#GSO:|O7[O,5:cO;UQ#xO'#DyOOOW'#GT'#GTO;fOWO,5:dOOQS,5:d,5:dO;UQ#xO'#EPOOO`'#GW'#GWO;qO`O,5:dO;UQ#xO'#EROOOp'#GX'#GXO;|OpO,5:dO;UQ#xO'#ETOOO!b'#GY'#GYOWOOQS,5>W,5>WO/rQ#xO'#EZOOQS'#E['#E[OGZQ#xO'#G]OGkQ#xO,59OOGkQ#xO,59OO)pQ#xO,5:wOGyQ&nO'#HoOOQS,5:z,5:zOOQS,5;S,5;SOH^Q#xO,5;WOHoQ#xO,5;YOOQS'#G`'#G`OH}Q&nO,5;YOI]Q#xO,5;YOIbQ#xO'#I]OOQS,5;],5;]OIpQ#xO'#IXOOQS,5;`,5;`OJRQ#xO,5;bO3aQ#xO,5;hO3aQ#xO,5;kOJZQ&nO'#I`O'ZQ#xO'#I`OJeQ#xO,5;mO2}Q#xO,5;mO/rQ#xO,5;rO0XQ#xO,5;tOJjQ#yO'#E}OKvQ#{O,5;nO! [Q#xO'#IaO3aQ#xO,5;rO! gQ#xO,5;tO! oQ#xO,5;yO! zQ&nO,5bOOQS'#Du'#DuOOQS1G/y1G/yOOQS1G/O1G/OO!-uQ&nO1G/OO!-|Q&nO1G/OO0lQ#xO1G/OO!.iQ#xO1G/WOOQS'#D]'#D]O/rQ#xO,59vOOQS1G.}1G.}O!.pQ#xO1G/gO!/QQ#xO1G/gO!/YQ#xO1G/hO'ZQ#xO'#HnO!/_Q#xO'#HnO!/dQ&nO1G.}O!/tQ#xO,59kO!0zQ#xO,5>^O!1[Q#xO,5>^O!1dQ#xO1G/oO!1iQ&nO1G/oOOQS1G/n1G/nO!1yQ#xO,5>XO!2pQ#xO,5>XO/rQ#xO1G/sO!3_Q#xO1G/uO!3dQ&nO1G/uO!3tQ&nO1G/sOOQS1G/r1G/rOOQS1G/t1G/tOOOO-E:P-E:POOQS1G/}1G/}OOOO-E:Q-E:QO!4UQ#xO'#IRO/rQ#xO'#IRO!4gQ#xO,5:eOOOW-E:R-E:ROOQS1G0O1G0OO!4uQ#xO,5:kOOO`-E:U-E:UO!5TQ#xO,5:mOOOp-E:V-E:VO!5cQ#xO,5:oOOO!b-E:W-E:WOOQS-E:X-E:XO!5qQ!LUO1G3^O!6bQ&nO1G3^O'ZQ#xO,5tOOQS1G1h1G1hO!7bQ#xO1G1hOOQS'#DX'#DXO/rQ#xO,5>TOOQS,5>T,5>TO!7gQ#xO'#FzO!7rQ#xO,59qO!7zQ#xO1G/ZO!8UQ&nO,5>XOOQS1G3r1G3rOOQS,5:u,5:uO!8uQ#xO'#HWOOQS,5ZO!9vQ#xO,5>ZO/rQ#xO1G0rO/rQ#xO1G0rO0XQ#xO1G0tOOQS-E:^-E:^O!:XQ#xO1G0tO!:dQ#xO1G0tO!:iQ#xO,5>wO!:wQ#xO,5>wO!;VQ#xO,5>sO!;mQ#xO,5>sO!zO!CZQ#xO,5>zO!CcQ&nO,5>zO/rQ#xO1G1XO!CmQ#xO1G1XO3aQ#xO1G1^O! gQ#xO1G1`OOQV,5;i,5;iO!CrQ#zO,5;iO!CwQ#{O1G1YO!G]Q#xO'#GgO3aQ#xO1G1YO3aQ#xO1G1YO!GmQ#xO,5>{O!GzQ#xO,5>{O0XQ#xO,5>{OOQV1G1^1G1^O!HSQ#xO'#F[O!HeQMlO1G1`O!HmQ#xO1G1`OOQV1G1e1G1eO3aQ#xO1G1eO!HrQ#xO1G1eO!HzQ#xO'#FfOOQV1G1j1G1jO! zQ&nO1G1jPOOO1G3Y1G3YP!IPOSO1G3YOOQS,5>a,5>aOOQS'#Dr'#DrO/rQ#xO,5>aO!IUQ#xO,5>`O!IiQ#xO,5>`OOQS1G/w1G/wO!IqQ#xO,5>cO!JRQ#xO,5>cO!JZQ#xO,5>cO!JnQ#xO,5>cO!KOQ#xO,5>cOOQS1G3|1G3|OOQS7+$j7+$jO!7zQ#xO7+$rO!LqQ#xO1G/OO!LxQ#xO1G/OOOQS1G/b1G/bOOQS,5YO'ZQ#xO,5>YOOQS7+$i7+$iO!MfQ#xO7+%RO!MnQ#xO7+%SO!MsQ#xO1G3xOOQS7+%Z7+%ZO!NTQ#xO1G3xO!N]Q#xO7+%ZOOQS,5mO##cQ#xO,5>mO##cQ#xO,5>mOOQS'#Dz'#DzO##tO$ISO'#D|O#$PO#tO'#ISOOOW1G0P1G0PO#$UQ#xO1G0PO#$^Q#xO1G0POOQS'#EQ'#EQOOO`1G0V1G0VO#$iQ#xO1G0VO#$qQ#xO1G0VOOQS'#ES'#ESOOOp1G0X1G0XO#$|Q#xO1G0XO#%UQ#xO1G0XOOQS'#EU'#EUOOO!b1G0Z1G0ZO#%aQ#xO1G0ZO#%iQ#xO1G0ZO#%tQ!LUO7+(xO#&eQ&nO1G2bP#'OQ#xO'#G[OOQS,5n,5>nOOOW7+%k7+%kO#;yQ#xO7+%kOOO`7+%q7+%qO#vO#=xQ#xO,5>vO0XQ#xO,5>vO#>ZQ#xO,5>uOOQS<`Q#xO,5>xO#>nQ#xO,5>xOOQS1G1O1G1OOOQS<vQ&nO1G2lP#?QQ#xO'#GfO#?XQ#xO7+*QO#?cQ#{O<}O#F{Q#xO,5>}OOQS,5>},5>}O#GWQ#xO,5>|O#GiQ#xO,5>|OOQS1G1b1G1bOOQS,5;x,5;xOOQV<XAN>XO#JxQ#xO<eAN>eO/rQ#xO1G2UO#KYQ&nO1G2UP#KdQ#xO'#GOOOQS1G2[1G2[P#KqQ#xO'#GUO#LOQ#xO7+)sO#LiQ#xO,5:iOOOO-E:T-E:TOOOW<[OOQSANBfANBfOOOO7+%o7+%oO$.WQ#xO7+%oOOQS7+(R7+(RO$.`Q#xO<kPP>n?`?cPP'f'fPP?{PP'f'fPP'f'f'f'f'f@P@y'fP@|PASE^H}IRPIUIlIpIsIwIzJOJRJV'fPPPJYJc'^P'^'^P'^P'^P'^P'^P'^'^'^P'^PP'^PP'^P'^PJiJuJ}PKUK[PKUPKUKUPPPKUPMjPMsM}NTMjPKUN^PKUPNeNkPNo! T! r!!]NoNo!!c!!pNoNoNoNo!#U!#[!#_!#d!#g!#q!#w!$T!$g!$m!$w!$}!%k!%q!%w!%}!&X!&_!&e!&k!&q!&w!'Z!'e!'k!'q!'w!(R!(X!(_!(e!(k!(u!({!)V!)]!)f!)l!){!*T!*_!*fPPPPPPPPPPPPPPPPP!*l!*o!*u!+O!+Y!+ePPPPPPPPPPPP!0[!1p!5s!9WPP!9`!9r!9{!:t!:k!:}!;T!;W!;Z!;^!;f!V!>]!>f!>i!>l!>r!>x!?O!?RP!?Z!?d!@`!@c]jOs#v$w*`,p(TeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o}!hQ#r$P$b$q$}%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!P!iQ#r$P$b$q$}%S%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!R!jQ#r$P$b$q$}%S%T%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!T!kQ#r$P$b$q$}%S%T%U%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!V!lQ#r$P$b$q$}%S%T%U%V%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!X!mQ#r$P$b$q$}%S%T%U%V%W%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!]!mQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d(TTOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o&iVOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1o%sXOYZ[isw}!O!S!U!V!Z!n!p#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$VvQ0X/fR1l1n'zeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oW#ym!P!Q$hW$Rv&q/f1nQ$j!RQ$n!TQ${![Q$|!]W%Z!n(O+O-WS&p$S$TQ'e$vQ)b&jQ)p'QU)q'S)r)sU)t'U)u,ZW){'Y,^-z.vQ*l'nW*m'p-P._/OQ,])zS-O*n*oY-t,U-u.s.t/lQ-w,WQ.U,tQ.Y,wQ.|.Wl/R.c/X/Y/[/w/y0O0g0l0q0v1R1W1ZQ/k.rQ0P/ZQ0^/qQ0i/{U0|0r1P1XX1S0w1T1[1]R&o$R!_!|YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WR%k!{Q#QYQ&W#cQ&Z#gQ&]#jQ&_#mQ&x$^Q&{$aR-l+tT/e.j0p![!oQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dQ&m#zQ't$|R*x'uR'}%ZQ%d!rR0[/o(SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oS#pd#q!P/V.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1](SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oT#pd#qT#d`#eR)Q&Wy(}&W&Z&]&_)P)Q)T)U)X)Y)])^+y+{+},P-l.p.q/jT+u(|+vR.q-lT#ha#iR)U&ZT#kb#lR)Y&]T#nc#oR)^&_Q$`xQ,]){R,}*mX$^x$_$`&zQ'[$nQ'r${Q'u$|R*_'eQ)|'YV-y,^-z.vZlOs$w*`,pXpOs*`,pQ$x!YQ']$oQ'^$pQ'o$zQ's$|Q*]'dQ*d'iQ*g'jQ*h'kQ*u'qS*w't'uQ,d*RQ,f*SQ,g*TQ,k*ZS,m*^*vQ,q*bQ,r*cS,s*e*fQ-T*xQ-|,cQ-},eQ.P,lS.Q,n,oQ.V,uQ.X,vQ.w.OQ.y.RQ.z.TQ.{.UQ/m.xQ/n.|Q0T/_R0o0UWpOs*`,pR#|oQ'q${S*^'e'rR,o*_Q,|*mR.],}Q*v'qQ,n*^R.R,oZnOos*`,pQ'w$}R*z'xT.a-U.bu/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1Zt/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZQ0P/ZX1S0w1T1[1]!P/U.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1]Q/t/TR0c/ug/w/W/x0_0f0k0y0{0}1Y1^1_u/].c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZX/r/R/]0^0|R0`/qV1O0r1P1XR0U/_QsOS$Os,pR,p*`Q&r$UR)g&rS%z#W$WS(p%z(sT(s%}&tQ%n#OQ%u#SW(b%n%u(g(kQ(g%rR(k%wQ&}$bR)m&}Q(v&OQ+g(qT+m(v+gQ(P%]R+P(PS(S%`%aY+T(S+U-^.h/cU+U(T(U(VU-^+V+W+XS.h-_-`R/c.iQ#_^R&R#_Q#b_R&T#bQ#e`R&X#eQ(y&US+r(y+sR+s(zQ+v(|R-m+vQ#iaR&[#iQ#lbR&^#lQ#ocR&`#oQ#qdR&a#qQ#tgQ&c#rW&f#t&c)j,RQ)j&wR,R1dQ$_xS&y$_&zR&z$`Q'X$lR)y'XQ&k#yR)c&kQ$h!QR'R$hQ,V)qS-v,V.uR.u-wQ'V$jR)v'VQ,_)|R-{,_Q#wkR&h#wQ*Q']R,b*QQ'`$qS*X'`*YR*Y'aQ'h$xR*a'hQ'm$yS*k'm,zR,z*lQ-Q*qR.`-QWoOs*`,pR#{oQ.b-UR/P.bd/x/W0_0f0k0y0{0}1Y1^1_R0e/xU/p/R0^0|R0]/pQ0x0kS1U0x1VR1V0yS0s0_0`R1Q0sQ/z/WR0h/zR!`PXrOs*`,pWqOs*`,pR'f$wYkOs$w*`,pR&g#v[xOs#v$w*`,pR&x$^&hQOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1oQ!sTQ#rfQ$PtU$by%p(eS$q!W$tQ$}!^Q%S!hQ%T!iQ%U!jQ%V!kQ%W!lQ%X!mQ%r#PQ%w#TQ%}#XQ&O#YQ&t$XQ'a$rQ'x%OQ)`&dU)k&|)l,SW*U'_*W,i,jQ+Z(_Q+d(nQ,h*VQ-g+lQ0n0SR1d1iQ#OYQ#SZQ$o!UQ$p!VQ%`!pQ(V%a^(^%m%t(a(i+]+`+b^+Q(R+S-[-].g/b0WQ+W(TQ+X(UQ,e*RQ-Z+RQ-_+VQ.e-XQ.f-YQ.i-`Q/`.dR0V/a[gOs#v$w*`,p!^!{YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WQ#W[Q#uiS$Ww}Q$e!OW$l!S$a'b*[S$y!Z$uW%Y!n(O+O-WY&U#c#g#j#m+t`&e#s&b)_)a)i,Q-r1hQ&u$YQ&v$[Q&w$^Q'{%[Q(]%kW(m%y(o+e+iQ(q%{Q(z&VQ)e&oS)h&s1fQ)n'OQ)o'PU)w'W)x,[Q*O'ZQ*e'iY*i'l*j,x,y.ZQ*|'}S+Y(Y1gW+k(u+f-d-hW+o(x+q-j-kQ,a*PQ,u*fQ-S*tQ-i+pQ-s,TQ.[,|Q.m-fR.}.]hUOs#s#v$w&b&s(Y)_)a*`,p%Y!zYZ[iw}!O!S!U!V!Z!n!p#c#g#j#m$Y$[$^$a$u%[%a%k%m%t%y%{&V&o'O'P'W'Z'b'i'l'}(O(R(T(U(a(i(o(u(x)i)x*P*R*[*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$QuW%e!t!x1a1kQ%f!uQ%g!vQ%i!yQ%s1`S(X%h1eQ(Z1bQ([1cQ-a+^Q.l-bS/d.j0pR1m1oU$Uv/f1nR)f&q[hOs#v$w*`,pa!}Y#c#g#j#m$^$a+tQ#][Q$ZwR$d}Q%o#OQ%v#SQ%|#WQ'{%YQ(h%rQ(l%wQ(t%}Q(w&OQ+h(qQ-V*|Q.k-aQ/h.lR0Y/gQ$cyQ(d%pR+_(eQ/g.jR0z0pR#VZR#[[R%_!nQ%]!nV*}(O+O-W!]!qQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dR%b!pQ&W#cQ&Z#gQ&]#jQ&_#mR-l+tQ)O&WQ)S&ZQ)W&]Q)[&_S+x)P)QS+z)T)US+|)X)YS,O)])^Q-n+yQ-o+{Q-p+}Q-q,PQ.o-lS/i.p.qR0Z/jQ$m!SQ&{$aQ*Z'bR,l*[Q#zmQ$f!PQ$i!QR'T$hQ)p'SR,Y)sQ)p'SQ,X)rR,Y)sR$k!RR)}'YXqOs*`,pQ$s!WR'c$tQ$z!ZR'd$uR*s'pQ*q'pV.^-P._/OQ/_.cQ/|/XR/}/YU/W.c/X/YQ0R/[Q0_/qQ0d/wU0f/y0g0vQ0k0OQ0y0lQ0{0qU0}0r1P1XQ1Y1RQ1^1WR1_1ZR0Q/ZR0a/q",nodeNames:"⚠ print { { { { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:288,context:UO,nodeProps:[["isolate",-8,6,73,74,75,79,81,83,85,""],["group",-15,8,93,95,96,98,100,102,104,106,107,108,110,113,116,118,"Statement Statement",-22,10,20,23,27,42,51,52,58,59,62,63,64,65,66,69,72,73,74,87,88,89,90,"Expression",-10,122,124,127,129,130,134,136,141,143,146,"Statement",-9,151,152,155,156,158,159,160,161,162,"Pattern"],["openedBy",25,"(",56,"[",60,"{"],["closedBy",26,")",57,"]",61,"}"]],propSources:[NO],skippedNodes:[0,6],repeatNodeCount:38,tokenData:"%-W#sR!`OX%TXY=|Y[%T[]=|]p%Tpq=|qr@_rsDOst!+|tu%Tuv!Nnvw#!|wx#$Wxy#:Uyz#;Yz{#<^{|#>x|}#@S}!O#AW!O!P#Ci!P!Q#N_!Q!R$!y!R![$&w![!]$1e!]!^$3s!^!_$4w!_!`$7c!`!a$8m!a!b%T!b!c$;U!c!d$W!e!h$W#V#Y$Q<%lO$Xc&w!b&oS&rW%u!TOX%TXY=|Y[%T[]=|]p%Tpq=|qr%Trs&Vsw%Twx/Xx#O%T#O#P?d#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#s?i[&w!bOY%TYZ=|Z]%T]^=|^#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=P;=`<%l8^<%lO%T!q@hd&w!b&oS&rWOr%Trs&Vsw%Twx/Xx!_%T!_!`Av!`#O%T#O#P7o#P#T%T#T#UBz#U#f%T#f#gBz#g#hBz#h#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qBR]oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qCV]!oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cDXa&w!b&oS&msOYE^YZ%TZ]E^]^%T^rE^rs!)|swE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cEia&w!b&oS&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cFw]&w!b&oS&msOr%Trs'Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cGya&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxIOx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cIXa&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxJ^x#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#_Jg_&w!b&rW&msOYJ^YZ1XZ]J^]^1X^rJ^rsKfs#OJ^#O#PL`#P#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`!!o<%lOJ^#_KmZ&w!b&msOr1Xrs2ys#O1X#O#P3q#P#o1X#o#p4`#p#q1X#q#r4`#r;'S1X;'S;=`7i<%lO1X#_LeW&w!bO#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`! r;=`<%lL}<%lOJ^{MUZ&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l<%lOL}{M|V&msOr4`rs5ds#O4`#O#P5y#P;'S4`;'S;=`6t<%lO4`{NfRO;'SL};'S;=`No;=`OL}{Nv[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lL}<%lOL}{! oP;=`<%lL}#_! y[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lJ^<%lOL}#_!!rP;=`<%lJ^#c!!zW&w!bO#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!(q;=`<%l!#d<%lOE^!P!#m]&oS&rW&msOY!#dYZ8^Z]!#d]^8^^r!#drs!$fsw!#dwx!%Yx#O!#d#O#P!'Y#P;'S!#d;'S;=`!(k<%lO!#d!P!$mX&oS&msOr8^rs9rsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`^s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!>e_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!?ds#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!?k_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!3`s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!@q[U!T&w!bOY!=UYZ1XZ]!=U]^1X^#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!Ec;=`<%l4`<%lO!=U!]!AnZU!T&rWOY!AgYZ4`Z]!Ag]^4`^r!Agrs!Bas#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!BfZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!CXs#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!C^ZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!4Ys#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!DUWU!TOY!AgYZ4`Z]!Ag]^4`^;'S!Ag;'S;=`!Dn;=`<%l4`<%lO!Ag!]!DsW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!Ag<%lO4`!]!E`P;=`<%l!Ag#o!EhW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!=U<%lO4`#o!FTP;=`<%l!=U#s!F_[U!T&w!bOY!+|YZ%TZ]!+|]^%T^#o!+|#o#p!GT#p#q!+|#q#r!GT#r;'S!+|;'S;=`!Mq;=`<%l8^<%lO!+|!a!G^]U!T&oS&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!H^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!IVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!I^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!5wsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!J^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!KVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!K^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!Agx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!L[WU!TOY!GTYZ8^Z]!GT]^8^^;'S!GT;'S;=`!Lt;=`<%l8^<%lO!GT!a!L{Y&oS&rWOr8^rs9Qsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`Q<%lO$TP;=`<%l$ei&w!b&oS&rW&l`&XsOr%Trs$@Ssw%Twx$C`x!Q%T!Q![$Q<%lO$Q<%lO$Q<%lO$Q<%lO$Q<%lO$CO[O]||-1}],tokenPrec:7500}),f=new D,W=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function n(O){return(r,o,a)=>{if(a)return!1;let e=r.node.getChild("VariableName");return e&&o(e,O),!0}}const LO={FunctionDefinition:n("function"),ClassDefinition:n("class"),ForStatement(O,r,o){if(o){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")r(a,"variable");else if(a.name=="in")break}},ImportStatement(O,r){var o,a;let{node:e}=O,Q=((o=e.firstChild)===null||o===void 0?void 0:o.name)=="from";for(let x=e.getChild("import");x;x=x.nextSibling)x.name=="VariableName"&&((a=x.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&r(x,Q?"variable":"namespace")},AssignStatement(O,r){for(let o=O.node.firstChild;o;o=o.nextSibling)if(o.name=="VariableName")r(o,"variable");else if(o.name==":"||o.name=="AssignOp")break},ParamList(O,r){for(let o=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!o||!/\*|AssignOp/.test(o.name))&&r(a,"variable"),o=a},CapturePattern:n("variable"),AsPattern:n("variable"),__proto__:null};function V(O,r){let o=f.get(r);if(o)return o;let a=[],e=!0;function Q(x,s){let h=O.sliceString(x.from,x.to);a.push({label:h,type:s})}return r.cursor(N.IncludeAnonymous).iterate(x=>{if(x.name){let s=LO[x.name];if(s&&s(x,Q,e)||!e&&W.has(x.name))return!1;e=!1}else if(x.to-x.from>8192){for(let s of V(O,x.node))a.push(s);return!1}}),f.set(r,a),a}const b=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,g=["String","FormatString","Comment","PropertyName"];function HO(O){let r=_(O.state).resolveInner(O.pos,-1);if(g.indexOf(r.name)>-1)return null;let o=r.name=="VariableName"||r.to-r.from<20&&b.test(O.state.sliceDoc(r.from,r.to));if(!o&&!O.explicit)return null;let a=[];for(let e=r;e;e=e.parent)W.has(e.name)&&(a=a.concat(V(O.state.doc,e)));return{options:a,from:o?r.from:O.pos,validFor:b}}const JO=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),BO=[S("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),S("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),S("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),S("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),S(`if \${}: + +`,{label:"if",detail:"block",type:"keyword"}),S("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),S("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),S("import ${module}",{label:"import",detail:"statement",type:"keyword"}),S("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],MO=U(g,C(JO.concat(BO)));function v(O,r){let o=O.baseIndentFor(r),a=O.lineAt(O.pos,-1),e=a.from+a.text.length;return/^\s*($|#)/.test(a.text)&&O.node.too?null:o+O.unit}const X=z.define({name:"python",parser:DO.configure({props:[j.add({Body:O=>{var r;return(r=v(O,O.node))!==null&&r!==void 0?r:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except |finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":$({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":$({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":$({closing:"]"}),"String FormatString":()=>null,Script:O=>{if(O.pos+/\s*/.exec(O.textAfter)[0].length>=O.node.to){let r=null;for(let o=O.node,a=o.to;o=o.lastChild,!(!o||o.to!=a);)o.type.name=="Body"&&(r=o);if(r){let o=v(O,r);if(o!=null)return o}}return O.continue()}}),A.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":F,Body:(O,r)=>({from:O.from+1,to:O.to-(O.to==r.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function ar(){return new I(X,[X.data.of({autocomplete:HO}),X.data.of({autocomplete:MO})])}export{MO as globalCompletion,HO as localCompletionSource,ar as python,X as pythonLanguage}; diff --git a/public/admin/assets/index-CZpxhGPJ.js.br b/public/admin/assets/index-CZpxhGPJ.js.br new file mode 100644 index 0000000..6684f84 Binary files /dev/null and b/public/admin/assets/index-CZpxhGPJ.js.br differ diff --git a/public/admin/assets/index-CZpxhGPJ.js.gz b/public/admin/assets/index-CZpxhGPJ.js.gz new file mode 100644 index 0000000..caa0f5b Binary files /dev/null and b/public/admin/assets/index-CZpxhGPJ.js.gz differ diff --git a/public/admin/assets/index-CmltU4uk.js b/public/admin/assets/index-CmltU4uk.js new file mode 100644 index 0000000..5cf4090 --- /dev/null +++ b/public/admin/assets/index-CmltU4uk.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-C3EW_BoO.js";import"./HDialog.vue_vue_type_script_setup_true_lang-rGjjjLRL.js";import"./index-B-LUCRde.js";import"./HKbd-vG5TE40y.js";export{o as default}; diff --git a/public/admin/assets/index-CmltU4uk.js.br b/public/admin/assets/index-CmltU4uk.js.br new file mode 100644 index 0000000..5461f7e Binary files /dev/null and b/public/admin/assets/index-CmltU4uk.js.br differ diff --git a/public/admin/assets/index-CmltU4uk.js.gz b/public/admin/assets/index-CmltU4uk.js.gz new file mode 100644 index 0000000..f81589e Binary files /dev/null and b/public/admin/assets/index-CmltU4uk.js.gz differ diff --git a/public/admin/assets/index-Cpibzrxv.js b/public/admin/assets/index-Cpibzrxv.js new file mode 100644 index 0000000..cf18574 --- /dev/null +++ b/public/admin/assets/index-Cpibzrxv.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as C,u as M,ab as B,r as $,g as t,z as y,w as j,i as a,c as r,e as o,b as x,x as z,F as N,s as V,A as c,ad as F,Q as k,t as H,j as I,l as L}from"./index-B-LUCRde.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang-DEZ4Pc0_.js";import{_ as T}from"./rightSide.vue_vue_type_script_setup_true_lang-Fy5MVj_4.js";import{u as Y}from"./useMenu-B9ueoTu1.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BMmZXJAy.js";import"./index.vue_vue_type_script_setup_true_lang--vRGEqGb.js";import"./HDropdown-DTfQxtss.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js";import"./use-resolve-button-type-BVUBWyWZ.js";import"./index.vue_vue_type_script_setup_true_lang-kB9Wxvf5.js";import"./index-D7iOBDDb.js";import"./index.vue_vue_type_script_setup_true_lang-yPWTj9re.js";import"./HKbd-vG5TE40y.js";import"./index.vue_vue_type_script_setup_true_lang-BX7HigS5.js";import"./useMainPage-DaitCM4q.js";const A={key:0},D={class:"header-container"},E={class:"menu flex of-hidden transition-all"},Q=["title","onClick"],W={class:"inline-flex flex-1 items-center justify-center gap-1"},q={class:"w-full flex-1 truncate text-sm transition-height transition-opacity transition-width"},G=C({name:"LayoutHeader",__name:"index",setup(J){const l=M(),i=B(),{switchTo:w}=Y(),m=$();function S(n){(n.deltaY||n.detail!==0)&&m.value.scrollBy({left:(n.deltaY||n.detail)>0?50:-50})}return(n,K)=>{const b=I;return t(),y(F,{name:"header"},{default:j(()=>[a(l).mode==="pc"&&a(l).settings.menu.menuMode==="head"?(t(),r("header",A,[o("div",D,[x(R,{class:"title"}),o("div",{ref_key:"menuRef",ref:m,class:"menu-container",onWheel:z(S,["prevent"])},[o("div",E,[(t(!0),r(N,null,V(a(i).allMenus,(e,s)=>{var u,d,f,p,_,h,v,g;return t(),r("div",{key:s,class:k(["menu-item relative transition-all",{active:s===a(i).actived}])},[e.children&&e.children.length!==0?(t(),r("div",{key:0,class:k(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-3 text-[var(--g-header-menu-color)] transition-all hover-bg-[var(--g-header-menu-hover-bg)] hover-text-[var(--g-header-menu-hover-color)]",{"text-[var(--g-header-menu-active-color)]! bg-[var(--g-header-menu-active-bg)]!":s===a(i).actived}]),title:typeof((u=e.meta)==null?void 0:u.title)=="function"?(d=e.meta)==null?void 0:d.title():(f=e.meta)==null?void 0:f.title,onClick:O=>a(w)(s)},[o("div",W,[(p=e.meta)!=null&&p.icon?(t(),y(b,{key:0,name:(_=e.meta)==null?void 0:_.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),o("span",q,H(typeof((h=e.meta)==null?void 0:h.title)=="function"?(v=e.meta)==null?void 0:v.title():(g=e.meta)==null?void 0:g.title),1)])],10,Q)):c("",!0)],2)}),128))])],544),x(T)])])):c("",!0)]),_:1})}}}),ue=L(G,[["__scopeId","data-v-98464ad0"]]);export{ue as default}; diff --git a/public/admin/assets/index-Cpibzrxv.js.br b/public/admin/assets/index-Cpibzrxv.js.br new file mode 100644 index 0000000..3879f95 Binary files /dev/null and b/public/admin/assets/index-Cpibzrxv.js.br differ diff --git a/public/admin/assets/index-Cpibzrxv.js.gz b/public/admin/assets/index-Cpibzrxv.js.gz new file mode 100644 index 0000000..48edfca Binary files /dev/null and b/public/admin/assets/index-Cpibzrxv.js.gz differ diff --git a/public/admin/assets/index-Cv693YZc.js b/public/admin/assets/index-Cv693YZc.js new file mode 100644 index 0000000..10e6984 --- /dev/null +++ b/public/admin/assets/index-Cv693YZc.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{s as p,t as e,L as u,a as l,b as m,l as r,q as b,r as n,v as S}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const c=m.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=S.parser.configure({top:"SingleExpression"}),o=c.configure({props:[p({Text:e.content,Is:e.definitionOperator,AttributeName:e.attributeName,VueAttributeName:e.keyword,Identifier:e.variableName,"AttributeValue ScriptAttributeValue":e.attributeValue,Entity:e.character,"{{ }}":e.brace,"@ :":e.punctuation})]}),s={parser:P},Q=o.configure({wrap:n((O,t)=>O.name=="InterpolationContent"?s:null)}),g=o.configure({wrap:n((O,t)=>O.name=="AttributeScript"?s:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=b();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,t){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(t.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function d(O={}){let t=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof u))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new l(t.language==a.language?T:i(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{d as vue,T as vueLanguage}; diff --git a/public/admin/assets/index-Cv693YZc.js.br b/public/admin/assets/index-Cv693YZc.js.br new file mode 100644 index 0000000..f7e7abe Binary files /dev/null and b/public/admin/assets/index-Cv693YZc.js.br differ diff --git a/public/admin/assets/index-Cv693YZc.js.gz b/public/admin/assets/index-Cv693YZc.js.gz new file mode 100644 index 0000000..5fcbed6 Binary files /dev/null and b/public/admin/assets/index-Cv693YZc.js.gz differ diff --git a/public/admin/assets/index-CyUQOSLA.css b/public/admin/assets/index-CyUQOSLA.css new file mode 100644 index 0000000..a063750 --- /dev/null +++ b/public/admin/assets/index-CyUQOSLA.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.sub-sidebar-container[data-v-61f98f34]{position:absolute;top:0;bottom:0;left:0;display:flex;flex-direction:column;width:var(--g-sub-sidebar-width);background-color:var(--g-sub-sidebar-bg);transition:background-color .3s,left .3s,width .3s}.sub-sidebar-container.is-collapse[data-v-61f98f34]{width:var(--g-sub-sidebar-collapse-width)}.sub-sidebar-container.is-collapse .sidebar-logo[data-v-61f98f34]:not(.sidebar-logo-bg){display:none}.sub-sidebar-container.is-collapse .sidebar-logo[data-v-61f98f34] span{display:none}.sub-sidebar-container .sidebar-logo[data-v-61f98f34]{background-color:var(--g-sub-sidebar-bg);transition:background-color .3s}.sub-sidebar-container .sidebar-logo.sidebar-logo-bg[data-v-61f98f34]{background-color:var(--g-sub-sidebar-logo-bg)}.sub-sidebar-container .sidebar-logo.sidebar-logo-bg[data-v-61f98f34] span{color:var(--g-sub-sidebar-logo-color)}.sub-sidebar-container .sub-sidebar[data-v-61f98f34]{overflow:hidden auto;overscroll-behavior:contain;scrollbar-width:none}.sub-sidebar-container .sub-sidebar[data-v-61f98f34]::-webkit-scrollbar{display:none}.sub-sidebar-container .sub-sidebar.shadow-top[data-v-61f98f34]{box-shadow:inset 0 10px 10px -10px var(--g-box-shadow-color),inset 0 0 0 transparent}.sub-sidebar-container .sub-sidebar.shadow-bottom[data-v-61f98f34]{box-shadow:inset 0 0 0 transparent,inset 0 -10px 10px -10px var(--g-box-shadow-color)}.sub-sidebar-container .sub-sidebar.shadow-top.shadow-bottom[data-v-61f98f34]{box-shadow:inset 0 10px 10px -10px var(--g-box-shadow-color),inset 0 -10px 10px -10px var(--g-box-shadow-color)}.sub-sidebar-container .menu[data-v-61f98f34]{width:100%}.sub-sidebar-enter-active[data-v-61f98f34]{transition:.2s}.sub-sidebar-enter-from[data-v-61f98f34],.sub-sidebar-leave-active[data-v-61f98f34]{opacity:0;transform:translateY(30px) skewY(10deg)}.sub-sidebar-leave-active[data-v-61f98f34]{position:absolute} diff --git a/public/admin/assets/index-CyUQOSLA.css.br b/public/admin/assets/index-CyUQOSLA.css.br new file mode 100644 index 0000000..d896694 Binary files /dev/null and b/public/admin/assets/index-CyUQOSLA.css.br differ diff --git a/public/admin/assets/index-CyUQOSLA.css.gz b/public/admin/assets/index-CyUQOSLA.css.gz new file mode 100644 index 0000000..2d3b84d Binary files /dev/null and b/public/admin/assets/index-CyUQOSLA.css.gz differ diff --git a/public/admin/assets/index-D15m5k9F.js b/public/admin/assets/index-D15m5k9F.js new file mode 100644 index 0000000..597537f --- /dev/null +++ b/public/admin/assets/index-D15m5k9F.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as y,u as k,ab as w,g as a,z as v,w as S,i as t,c as s,b as M,e as r,F as C,s as B,A as c,ad as j,Q as h,t as z,j as N,l as V}from"./index-B-LUCRde.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-DEZ4Pc0_.js";import{u as F}from"./useMenu-B9ueoTu1.js";const I={key:0,class:"main-sidebar-container"},T={class:"menu flex flex-col of-hidden transition-all"},A=["title","onClick"],D={class:"w-full inline-flex flex-1 flex-col items-center justify-center gap-[2px]"},E={class:"w-full flex-1 truncate text-center text-sm transition-height transition-opacity transition-width"},L=y({name:"MainSidebar",__name:"index",setup(Q){const i=k(),o=w(),{switchTo:b}=F();return(q,G)=>{const x=N;return a(),v(j,{name:"main-sidebar"},{default:S(()=>[t(i).settings.menu.menuMode==="side"||t(i).mode==="mobile"&&t(i).settings.menu.menuMode!=="single"?(a(),s("div",I,[M($,{"show-title":!1,class:"sidebar-logo"}),r("div",T,[(a(!0),s(C,null,B(t(o).allMenus,(e,n)=>{var l,m,u,d,f,_,g,p;return a(),s("div",{key:n,class:h(["menu-item relative transition-all",{active:n===t(o).actived}])},[e.children&&e.children.length!==0?(a(),s("div",{key:0,class:h(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 py-4 text-[var(--g-main-sidebar-menu-color)] transition-all hover-bg-[var(--g-main-sidebar-menu-hover-bg)] hover-text-[var(--g-main-sidebar-menu-hover-color)] px-2!",{"text-[var(--g-main-sidebar-menu-active-color)]! bg-[var(--g-main-sidebar-menu-active-bg)]!":n===t(o).actived}]),title:typeof((l=e.meta)==null?void 0:l.title)=="function"?(m=e.meta)==null?void 0:m.title():(u=e.meta)==null?void 0:u.title,onClick:H=>t(b)(n)},[r("div",D,[(d=e.meta)!=null&&d.icon?(a(),v(x,{key:0,name:(f=e.meta)==null?void 0:f.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),r("span",E,z(typeof((_=e.meta)==null?void 0:_.title)=="function"?(g=e.meta)==null?void 0:g.title():(p=e.meta)==null?void 0:p.title),1)])],10,A)):c("",!0)],2)}),128))])])):c("",!0)]),_:1})}}}),P=V(L,[["__scopeId","data-v-74880cce"]]);export{P as default}; diff --git a/public/admin/assets/index-D15m5k9F.js.br b/public/admin/assets/index-D15m5k9F.js.br new file mode 100644 index 0000000..4f61e54 Binary files /dev/null and b/public/admin/assets/index-D15m5k9F.js.br differ diff --git a/public/admin/assets/index-D15m5k9F.js.gz b/public/admin/assets/index-D15m5k9F.js.gz new file mode 100644 index 0000000..a779850 Binary files /dev/null and b/public/admin/assets/index-D15m5k9F.js.gz differ diff --git a/public/admin/assets/index-D1D3E1Dq.js b/public/admin/assets/index-D1D3E1Dq.js new file mode 100644 index 0000000..acfe24b --- /dev/null +++ b/public/admin/assets/index-D1D3E1Dq.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{L as O,i as r,j as b,f as s,k as t,s as a,t as e,a as P,b as n}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=O.define({name:"wast",parser:i.configure({props:[r.add({App:b({closing:")",align:!1})}),s.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),a({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function c(){return new P(Q)}export{c as wast,Q as wastLanguage}; diff --git a/public/admin/assets/index-D1D3E1Dq.js.br b/public/admin/assets/index-D1D3E1Dq.js.br new file mode 100644 index 0000000..35c4782 Binary files /dev/null and b/public/admin/assets/index-D1D3E1Dq.js.br differ diff --git a/public/admin/assets/index-D1D3E1Dq.js.gz b/public/admin/assets/index-D1D3E1Dq.js.gz new file mode 100644 index 0000000..7df86d4 Binary files /dev/null and b/public/admin/assets/index-D1D3E1Dq.js.gz differ diff --git a/public/admin/assets/index-D4nnD7rC.css b/public/admin/assets/index-D4nnD7rC.css new file mode 100644 index 0000000..fada351 --- /dev/null +++ b/public/admin/assets/index-D4nnD7rC.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +[data-v-57b61e27] .breadcrumb-item:first-child .separator{display:none}[data-v-57b61e27] .breadcrumb-item:last-child .text{opacity:1} diff --git a/public/admin/assets/index-D4nnD7rC.css.br b/public/admin/assets/index-D4nnD7rC.css.br new file mode 100644 index 0000000..a94b0fe Binary files /dev/null and b/public/admin/assets/index-D4nnD7rC.css.br differ diff --git a/public/admin/assets/index-D4nnD7rC.css.gz b/public/admin/assets/index-D4nnD7rC.css.gz new file mode 100644 index 0000000..4126f15 Binary files /dev/null and b/public/admin/assets/index-D4nnD7rC.css.gz differ diff --git a/public/admin/assets/index-c70323db.js b/public/admin/assets/index-D6H5J095.js similarity index 93% rename from public/admin/assets/index-c70323db.js rename to public/admin/assets/index-D6H5J095.js index 56821ec..55db181 100644 --- a/public/admin/assets/index-c70323db.js +++ b/public/admin/assets/index-D6H5J095.js @@ -2,9 +2,8 @@ /** * 由 Fantastic-admin 提供技术支持 * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin + * https://fantastic-admin.github.io */ - -import{i as te,c as ae,f as re,s as ne,t as i,L as ie,a as se,E as oe,b as le,d as ce,e as de,g as me}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const ue=36,B=1,fe=2,v=3,S=4,pe=5,ge=6,he=7,_e=8,be=9,ve=10,ye=11,ke=12,Oe=13,xe=14,we=15,Qe=16,Se=17,X=18,Ce=19,$=20,E=21,R=22,Pe=23,qe=24;function P(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Te(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function p(t,e,r){for(let a=!1;;){if(t.next<0)return;if(t.next==e&&!a){t.advance();return}a=r&&!a&&t.next==92,t.advance()}}function Ue(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function ze(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),a=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==a&&t.peek(1)==39){t.advance(2);return}t.advance()}}function A(t,e){for(;!(t.next!=95&&!P(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),p(t,e,!1)}else A(t)}function j(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function D(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function I(t){for(;!(t.next<0||t.next==10);)t.advance()}function f(t,e){for(let r=0;r=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Te(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function p(t,e,r){for(let a=!1;;){if(t.next<0)return;if(t.next==e&&!a){t.advance();return}a=r&&!a&&t.next==92,t.advance()}}function Ue(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function ze(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),a=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==a&&t.peek(1)==39){t.advance(2);return}t.advance()}}function A(t,e){for(;!(t.next!=95&&!P(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),p(t,e,!1)}else A(t)}function j(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function D(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function I(t){for(;!(t.next<0||t.next==10);)t.advance()}function f(t,e){for(let r=0;r!=&|~^/",specialVar:"?",identifierQuotes:'"',words:W(h,g)};function Be(t,e,r,a){let n={};for(let s in q)n[s]=(t.hasOwnProperty(s)?t:q)[s];return e&&(n.words=W(e,r||"",a)),n}function K(t){return new oe(e=>{var r;let{next:a}=e;if(e.advance(),f(a,C)){for(;f(e.next,C);)e.advance();e.acceptToken(ue)}else if(a==36&&e.next==36&&t.doubleDollarQuotedStrings)Ue(e),e.acceptToken(v);else if(a==39||a==34&&t.doubleQuotedStrings)p(e,a,t.backslashEscapes),e.acceptToken(v);else if(a==35&&t.hashComments||a==47&&e.next==47&&t.slashComments)I(e),e.acceptToken(B);else if(a==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))I(e),e.acceptToken(B);else if(a==47&&e.next==42){e.advance();for(let n=1;;){let s=e.next;if(e.next<0)break;if(e.advance(),s==42&&e.next==47){if(n--,e.advance(),!n)break}else s==47&&e.next==42&&(n++,e.advance())}e.acceptToken(fe)}else if((a==101||a==69)&&e.next==39)e.advance(),p(e,39,!0);else if((a==110||a==78)&&e.next==39&&t.charSetCasts)e.advance(),p(e,39,t.backslashEscapes),e.acceptToken(v);else if(a==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),p(e,39,t.backslashEscapes),e.acceptToken(v);break}if(!P(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(a==113||a==81)&&e.next==39&&e.peek(1)>0&&!f(e.peek(1),C)){let n=e.peek(1);e.advance(2),ze(e,n),e.acceptToken(v)}else if(a==40)e.acceptToken(he);else if(a==41)e.acceptToken(_e);else if(a==123)e.acceptToken(be);else if(a==125)e.acceptToken(ve);else if(a==91)e.acceptToken(ye);else if(a==93)e.acceptToken(ke);else if(a==59)e.acceptToken(Oe);else if(t.unquotedBitLiterals&&a==48&&e.next==98)e.advance(),j(e),e.acceptToken(R);else if((a==98||a==66)&&(e.next==39||e.next==34)){const n=e.next;e.advance(),t.treatBitsAsBytes?(p(e,n,t.backslashEscapes),e.acceptToken(Pe)):(j(e,n),e.acceptToken(R))}else if(a==48&&(e.next==120||e.next==88)||(a==120||a==88)&&e.next==39){let n=e.next==39;for(e.advance();Te(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(S)}else if(a==46&&e.next>=48&&e.next<=57)D(e,!0),e.acceptToken(S);else if(a==46)e.acceptToken(xe);else if(a>=48&&a<=57)D(e,!1),e.acceptToken(S);else if(f(a,t.operatorChars)){for(;f(e.next,t.operatorChars);)e.advance();e.acceptToken(we)}else if(f(a,t.specialVar))e.next==a&&e.advance(),Le(e),e.acceptToken(Se);else if(f(a,t.identifierQuotes))p(e,a,!1),e.acceptToken(Ce);else if(a==58||a==44)e.acceptToken(Qe);else if(P(a)){let n=A(e,String.fromCharCode(a));e.acceptToken(e.next==46||e.peek(-n.length-1)==46?X:(r=t.words[n.toLowerCase()])!==null&&r!==void 0?r:X)}})}const M=K(q),Xe=le.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,M],topRules:{Script:[0,25]},tokenPrec:0});function T(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function y(t,e){let r=t.sliceString(e.from,e.to),a=/^([`'"])(.*)\1$/.exec(r);return a?a[2]:r}function w(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function Re(t,e){if(e.name=="CompositeIdentifier"){let r=[];for(let a=e.firstChild;a;a=a.nextSibling)w(a)&&r.push(y(t,a));return r}return[y(t,e)]}function Z(t,e){for(let r=[];;){if(!e||e.name!=".")return r;let a=T(e);if(!w(a))return r;r.unshift(y(t,a)),e=T(a)}}function je(t,e){let r=me(t).resolveInner(e,-1),a=Ie(t.doc,r);return r.name=="Identifier"||r.name=="QuotedIdentifier"||r.name=="Keyword"?{from:r.from,quoted:r.name=="QuotedIdentifier"?t.doc.sliceString(r.from,r.from+1):null,parents:Z(t.doc,T(r)),aliases:a}:r.name=="."?{from:e,quoted:null,parents:Z(t.doc,r),aliases:a}:{from:e,quoted:null,parents:[],empty:!0,aliases:a}}const De=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function Ie(t,e){let r;for(let n=e;!r;n=n.parent){if(!n)return null;n.name=="Statement"&&(r=n)}let a=null;for(let n=r.firstChild,s=!1,c=null;n;n=n.nextSibling){let l=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,o=null;if(!s)s=l=="from";else if(l=="as"&&c&&w(n.nextSibling))o=y(t,n.nextSibling);else{if(l&&De.has(l))break;c&&w(n)&&(o=y(t,n))}o&&(a||(a=Object.create(null)),a[o]=Re(t,c)),c=/Identifier$/.test(n.name)?n:null}return a}function Ze(t,e){return t?e.map(r=>Object.assign(Object.assign({},r),{label:r.label[0]==t?r.label:t+r.label+t,apply:void 0})):e}const Ne=/^\w*$/,Ve=/^[`'"]?\w*[`'"]?$/;function N(t){return t.self&&typeof t.self.label=="string"}class U{constructor(e){this.idQuote=e,this.list=[],this.children=void 0}child(e){let r=this.children||(this.children=Object.create(null)),a=r[e];return a||(e&&!this.list.some(n=>n.label==e)&&this.list.push(V(e,"type",this.idQuote)),r[e]=new U(this.idQuote))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let r=this.list.findIndex(a=>a.label==e.label);r>-1?this.list[r]=e:this.list.push(e)}addCompletions(e){for(let r of e)this.addCompletion(typeof r=="string"?V(r,"property",this.idQuote):r)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):N(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let r of Object.keys(e)){let a=e[r],n=null,s=r.replace(/\\?\./g,l=>l=="."?"\0":l).split("\0"),c=this;N(a)&&(n=a.self,a=a.children);for(let l=0;l{let{parents:b,from:H,quoted:k,empty:J,aliases:O}=je(u.state,u.pos);if(J&&!u.explicit)return null;O&&b.length==1&&(b=O[b[0]]||b);let d=o;for(let x of b){for(;!d.children||!d.children[x];)if(d==o)d=_;else if(d==_&&a)d=d.child(a);else return null;let L=d.maybeChild(x);if(!L)return null;d=L}let ee=k&&u.state.sliceDoc(u.pos,u.pos+1)==k,Q=d.list;return d==o&&O&&(Q=Q.concat(Object.keys(O).map(x=>({label:x,type:"constant"})))),{from:H,to:ee?u.pos+1:void 0,options:Ze(k,Q),validFor:k?Ve:Ne}}}function Ee(t,e){let r=Object.keys(t).map(a=>({label:e?a.toUpperCase():a,type:t[a]==E?"type":t[a]==$?"keyword":"variable",boost:-1}));return ce(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],de(r))}let Ae=Xe.configure({props:[te.add({Statement:ae()}),re.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),ne({Keyword:i.keyword,Type:i.typeName,Builtin:i.standard(i.name),Bits:i.number,Bytes:i.string,Bool:i.bool,Null:i.null,Number:i.number,String:i.string,Identifier:i.name,QuotedIdentifier:i.special(i.string),SpecialVar:i.special(i.name),LineComment:i.lineComment,BlockComment:i.blockComment,Operator:i.operator,"Semi Punctuation":i.punctuation,"( )":i.paren,"{ }":i.brace,"[ ]":i.squareBracket})]});class m{constructor(e,r,a){this.dialect=e,this.language=r,this.spec=a}get extension(){return this.language.extension}static define(e){let r=Be(e,e.keywords,e.types,e.builtin),a=ie.define({name:"sql",parser:Ae.configure({tokenizers:[{from:M,to:K(r)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new m(r,a,e)}}function We(t,e=!1){return Ee(t.dialect.words,e)}function Ke(t,e=!1){return t.language.data.of({autocomplete:We(t,e)})}function Me(t){return t.schema?$e(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||z):()=>null}function Fe(t){return t.schema?(t.dialect||z).language.data.of({autocomplete:Me(t)}):[]}function et(t={}){let e=t.dialect||z;return new se(e.language,[Fe(t),Ke(e,!!t.upperCaseKeywords)])}const z=m.define({}),tt=m.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:h+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:g+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),F="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",G=g+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",Y="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",at=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:h+"group_concat "+F,types:G,builtin:Y}),rt=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:h+"always generated groupby_concat hard persistent shutdown soft virtual "+F,types:G,builtin:Y}),nt=m.define({keywords:h+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:g+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),it=m.define({keywords:h+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:g+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),st=m.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:g+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),ot=m.define({keywords:h+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:g+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});export{st as Cassandra,nt as MSSQL,rt as MariaSQL,at as MySQL,ot as PLSQL,tt as PostgreSQL,m as SQLDialect,it as SQLite,z as StandardSQL,Ke as keywordCompletion,We as keywordCompletionSource,Fe as schemaCompletion,Me as schemaCompletionSource,et as sql}; diff --git a/public/admin/assets/index-D6H5J095.js.br b/public/admin/assets/index-D6H5J095.js.br new file mode 100644 index 0000000..9ee5b91 Binary files /dev/null and b/public/admin/assets/index-D6H5J095.js.br differ diff --git a/public/admin/assets/index-D6H5J095.js.gz b/public/admin/assets/index-D6H5J095.js.gz new file mode 100644 index 0000000..ca55dc3 Binary files /dev/null and b/public/admin/assets/index-D6H5J095.js.gz differ diff --git a/public/admin/assets/index-D7Yis3F9.js b/public/admin/assets/index-D7Yis3F9.js new file mode 100644 index 0000000..7f0602e --- /dev/null +++ b/public/admin/assets/index-D7Yis3F9.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-DEZ4Pc0_.js";import"./index-B-LUCRde.js";export{m as default}; diff --git a/public/admin/assets/index-D7Yis3F9.js.br b/public/admin/assets/index-D7Yis3F9.js.br new file mode 100644 index 0000000..5f33c06 Binary files /dev/null and b/public/admin/assets/index-D7Yis3F9.js.br differ diff --git a/public/admin/assets/index-D7iOBDDb.js b/public/admin/assets/index-D7iOBDDb.js new file mode 100644 index 0000000..4ed60e7 --- /dev/null +++ b/public/admin/assets/index-D7iOBDDb.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{p as b,r as E,ay as P,az as T,Z as A,aA as W,m as B,aB as R,aC as _,aD as H,aE as z,a as I,aF as K,aG as V}from"./index-B-LUCRde.js";function S(o){var l;const e=R(o);return(l=e==null?void 0:e.$el)!=null?l:e}const k=_?window:void 0,j=_?window.document:void 0,D=_?window.navigator:void 0;function F(...o){let l,e,v,a;if(typeof o[0]=="string"||Array.isArray(o[0])?([e,v,a]=o,l=k):[l,e,v,a]=o,!l)return W;Array.isArray(e)||(e=[e]),Array.isArray(v)||(v=[v]);const s=[],u=()=>{s.forEach(d=>d()),s.length=0},r=(d,t,m,h)=>(d.addEventListener(t,m,h),()=>d.removeEventListener(t,m,h)),f=A(()=>[S(l),R(a)],([d,t])=>{if(u(),!d)return;const m=H(t)?{...t}:t;s.push(...e.flatMap(h=>v.map(y=>r(d,h,y,m))))},{immediate:!0,flush:"post"}),p=()=>{f(),u()};return z(p),p}function G(){const o=E(!1),l=V();return l&&I(()=>{o.value=!0},l),o}function M(o){const l=G();return b(()=>(l.value,!!o()))}function O(o,l={}){const{controls:e=!1,navigator:v=D}=l,a=M(()=>v&&"permissions"in v);let s;const u=typeof o=="string"?{name:o}:o,r=E(),f=()=>{s&&(r.value=s.state)},p=K(async()=>{if(a.value){if(!s)try{s=await v.permissions.query(u),F(s,"change",f),f()}catch{r.value="prompt"}return s}});return p(),e?{state:r,isSupported:a,query:p}:r}function U(o={}){const{navigator:l=D,read:e=!1,source:v,copiedDuring:a=1500,legacy:s=!1}=o,u=M(()=>l&&"clipboard"in l),r=O("clipboard-read"),f=O("clipboard-write"),p=b(()=>u.value||s),d=E(""),t=E(!1),m=P(()=>t.value=!1,a);function h(){u.value&&n(r.value)?l.clipboard.readText().then(w=>{d.value=w}):d.value=c()}p.value&&e&&F(["copy","cut"],h);async function y(w=R(v)){p.value&&w!=null&&(u.value&&n(f.value)?await l.clipboard.writeText(w):i(w),d.value=w,t.value=!0,m.start())}function i(w){const g=document.createElement("textarea");g.value=w??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function c(){var w,g,x;return(x=(g=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:g.toString())!=null?x:""}function n(w){return w==="granted"||w==="prompt"}return{isSupported:p,text:d,copied:t,copy:y}}function N(o,l,e={}){const{window:v=k,...a}=e;let s;const u=M(()=>v&&"ResizeObserver"in v),r=()=>{s&&(s.disconnect(),s=void 0)},f=b(()=>Array.isArray(o)?o.map(t=>S(t)):[S(o)]),p=A(f,t=>{if(r(),u.value&&v){s=new ResizeObserver(l);for(const m of t)m&&s.observe(m,a)}},{immediate:!0,flush:"post"}),d=()=>{r(),p()};return z(d),{isSupported:u,stop:d}}function Z(o,l={width:0,height:0},e={}){const{window:v=k,box:a="content-box"}=e,s=b(()=>{var t,m;return(m=(t=S(o))==null?void 0:t.namespaceURI)==null?void 0:m.includes("svg")}),u=E(l.width),r=E(l.height),{stop:f}=N(o,([t])=>{const m=a==="border-box"?t.borderBoxSize:a==="content-box"?t.contentBoxSize:t.devicePixelContentBoxSize;if(v&&s.value){const h=S(o);if(h){const y=h.getBoundingClientRect();u.value=y.width,r.value=y.height}}else if(m){const h=Array.isArray(m)?m:[m];u.value=h.reduce((y,{inlineSize:i})=>y+i,0),r.value=h.reduce((y,{blockSize:i})=>y+i,0)}else u.value=t.contentRect.width,r.value=t.contentRect.height},e);T(()=>{const t=S(o);t&&(u.value="offsetWidth"in t?t.offsetWidth:l.width,r.value="offsetHeight"in t?t.offsetHeight:l.height)});const p=A(()=>S(o),t=>{u.value=t?l.width:0,r.value=t?l.height:0});function d(){f(),p()}return{width:u,height:r,stop:d}}const L=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Q(o,l={}){const{document:e=j,autoExit:v=!1}=l,a=b(()=>{var n;return(n=S(o))!=null?n:e==null?void 0:e.querySelector("html")}),s=E(!1),u=b(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),r=b(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),f=b(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(n=>e&&n in e||a.value&&n in a.value)),p=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(n=>e&&n in e),d=M(()=>a.value&&e&&u.value!==void 0&&r.value!==void 0&&f.value!==void 0),t=()=>p?(e==null?void 0:e[p])===a.value:!1,m=()=>{if(f.value){if(e&&e[f.value]!=null)return e[f.value];{const n=a.value;if((n==null?void 0:n[f.value])!=null)return!!n[f.value]}}return!1};async function h(){if(!(!d.value||!s.value)){if(r.value)if((e==null?void 0:e[r.value])!=null)await e[r.value]();else{const n=a.value;(n==null?void 0:n[r.value])!=null&&await n[r.value]()}s.value=!1}}async function y(){if(!d.value||s.value)return;m()&&await h();const n=a.value;u.value&&(n==null?void 0:n[u.value])!=null&&(await n[u.value](),s.value=!0)}async function i(){await(s.value?h():y())}const c=()=>{const n=m();(!n||n&&t())&&(s.value=n)};return F(e,L,c,!1),F(()=>S(a),L,c,!1),v&&z(h),{isSupported:d,isFullscreen:s,enter:y,exit:h,toggle:i}}const $={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function X(o={}){const{reactive:l=!1,target:e=k,aliasMap:v=$,passive:a=!0,onEventFired:s=W}=o,u=B(new Set),r={toJSON(){return{}},current:u},f=l?B(r):r,p=new Set,d=new Set;function t(i,c){i in f&&(l?f[i]=c:f[i].value=c)}function m(){u.clear();for(const i of d)t(i,!1)}function h(i,c){var n,w;const g=(n=i.key)==null?void 0:n.toLowerCase(),q=[(w=i.code)==null?void 0:w.toLowerCase(),g].filter(Boolean);g&&(c?u.add(g):u.delete(g));for(const C of q)d.add(C),t(C,c);g==="meta"&&!c?(p.forEach(C=>{u.delete(C),t(C,!1)}),p.clear()):typeof i.getModifierState=="function"&&i.getModifierState("Meta")&&c&&[...u,...q].forEach(C=>p.add(C))}F(e,"keydown",i=>(h(i,!0),s(i)),{passive:a}),F(e,"keyup",i=>(h(i,!1),s(i)),{passive:a}),F("blur",m,{passive:!0}),F("focus",m,{passive:!0});const y=new Proxy(f,{get(i,c,n){if(typeof c!="string")return Reflect.get(i,c,n);if(c=c.toLowerCase(),c in v&&(c=v[c]),!(c in f))if(/[+_-]/.test(c)){const g=c.split(/[+_-]/g).map(x=>x.trim());f[c]=b(()=>g.every(x=>R(y[x])))}else f[c]=E(!1);const w=Reflect.get(i,c,n);return l?R(w):w}});return y}export{U as a,X as b,Q as c,Z as u}; diff --git a/public/admin/assets/index-D7iOBDDb.js.br b/public/admin/assets/index-D7iOBDDb.js.br new file mode 100644 index 0000000..3c23fc3 Binary files /dev/null and b/public/admin/assets/index-D7iOBDDb.js.br differ diff --git a/public/admin/assets/index-D7iOBDDb.js.gz b/public/admin/assets/index-D7iOBDDb.js.gz new file mode 100644 index 0000000..0d4d311 Binary files /dev/null and b/public/admin/assets/index-D7iOBDDb.js.gz differ diff --git a/public/admin/assets/index-D9XTqpwG.css b/public/admin/assets/index-D9XTqpwG.css new file mode 100644 index 0000000..9c58dab --- /dev/null +++ b/public/admin/assets/index-D9XTqpwG.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +:root{--mx-menu-backgroud: #fff;--mx-menu-hover-backgroud: #f1f1f1;--mx-menu-active-backgroud: #dfdfdf;--mx-menu-open-backgroud: #f1f1f1;--mx-menu-open-hover-backgroud: #f1f1f1;--mx-menu-divider: #f0f0f0;--mx-menu-text: #2e2e2e;--mx-menu-hover-text: #2e2e2e;--mx-menu-active-text: #2e2e2e;--mx-menu-open-text: #2e2e2e;--mx-menu-open-hover-text: #2e2e2e;--mx-menu-disabled-text: #c9c8c8;--mx-menu-icon-size: 16px;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-shortcut-backgroud: #ebebeb;--mx-menu-shortcut-backgroud-hover:#ebebeb;--mx-menu-shortcut-backgroud-active:#ebebeb;--mx-menu-shortcut-backgroud-open:#ebebeb;--mx-menu-shortcut-backgroud-disabled:#fdfdfd;--mx-menu-shortcut-text: #424242;--mx-menu-shortcut-text-hover: #424242;--mx-menu-shortcut-text-active: #424242;--mx-menu-shortcut-text-open: #424242;--mx-menu-shortcut-text-disabled: #a5a5a5;--mx-menu-focus-color: #0085f1;--mx-menu-placeholder-width: 24px}.mx-context-menu{pointer-events:all;display:inline-block;overflow:visible;position:absolute;background-color:var(--mx-menu-backgroud);border-radius:var(--mx-menu-backgroud-radius);padding:12px 0;box-shadow:0 10px 40px 10px var(--mx-menu-shadow-color);opacity:1;transition:opacity .2s ease-in-out}.mx-context-menu-items{position:relative;overflow:visible}.mx-context-menu-scroll{position:absolute;top:0;left:0;right:0;bottom:1px;pointer-events:none}.mx-context-menu-updown{pointer-events:all;position:absolute;left:0;right:0;height:15px;border-radius:10px;background-color:var(--mx-menu-backgroud);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.mx-context-menu-updown.placeholder{position:relative;cursor:default}.mx-context-menu-updown.disabled{color:var(--mx-menu-disabled-text);cursor:default}.mx-context-menu-updown.disabled .mx-right-arrow{fill:var(--mx-menu-disabled-text)}.mx-context-menu-updown:hover:not(.disabled){background-color:var(--mx-menu-hover-backgroud)}.mx-context-menu-updown:active{background-color:var(--mx-menu-active-backgroud)}.mx-context-menu-updown.up{top:0}.mx-context-menu-updown.up .mx-right-arrow{transform:translate(-50%) rotate(270deg)}.mx-context-menu-updown.down{bottom:-1px}.mx-context-menu-updown.down .mx-right-arrow{transform:translate(-50%) rotate(90deg)}.mx-context-menu-updown .mx-right-arrow{display:inline-block;position:absolute;height:12px;left:50%;top:0;padding:0}.mx-context-menu-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative;padding:6px 15px;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:visible;white-space:nowrap;text-overflow:ellipsis;color:var(--mx-menu-text)}.mx-context-menu-item .mx-right-arrow,.mx-context-menu-item .mx-checked-mark{fill:var(--mx-menu-text)}.mx-context-menu-item:hover{background-color:var(--mx-menu-hover-backgroud);color:var(--mx-menu-hover-text)}.mx-context-menu-item:hover .mx-right-arrow,.mx-context-menu-item:hover .mx-checked-mark{fill:var(--mx-menu-hover-text)}.mx-context-menu-item:hover .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-hover);color:var(--mx-menu-shortcut-text-hover)}.mx-context-menu-item:active{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text)}.mx-context-menu-item:active .mx-right-arrow,.mx-context-menu-item:active .mx-checked-mark{fill:var(--mx-menu-active-text)}.mx-context-menu-item:active .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-active);color:var(--mx-menu-shortcut-text-active)}.mx-context-menu-item.open{background-color:var(--mx-menu-open-backgroud);color:var(--mx-menu-open-text)}.mx-context-menu-item.open:hover{background-color:var(--mx-menu-open-hover-backgroud);color:var(--mx-menu-open-hover-text)}.mx-context-menu-item.open .mx-right-arrow,.mx-context-menu-item.open .mx-checked-mark{fill:var(--mx-menu-open-text)}.mx-context-menu-item.open .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-open);color:var(--mx-menu-shortcut-text-open)}.mx-context-menu-item.keyboard-focus{background-color:var(--mx-menu-active-backgroud);outline:2px solid var(--mx-menu-focus-color)}.mx-context-menu-item.disabled{color:var(--mx-menu-disabled-text);cursor:not-allowed}.mx-context-menu-item.disabled:hover,.mx-context-menu-item.disabled:active{background-color:transparent}.mx-context-menu-item.disabled .mx-right-arrow,.mx-context-menu-item.disabled .mx-checked-mark{fill:var(--mx-menu-disabled-text)}.mx-context-menu-item.disabled .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-disabled);color:var(--mx-menu-shortcut-text-second)}.mx-context-menu-item .mx-item-row{display:flex;flex-direction:row;align-items:center;max-width:100%}.mx-context-menu-item .mx-icon-placeholder{position:relative;display:flex;flex-direction:row;align-items:center;height:auto;overflow:hidden}.mx-context-menu-item .mx-icon-placeholder.preserve-width{width:var(--mx-menu-placeholder-width)}.mx-context-menu-item .icon{display:inline-block;font-size:var(--mx-menu-icon-size)}.mx-context-menu-item .icon.svg{width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-context-menu-item .label{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-inline-end:16px}.mx-context-menu-item-wrapper{position:relative}.mx-context-menu-item-sperator{display:block;padding:5px 0;background-color:var(--mx-menu-backgroud)}.mx-context-menu-item-sperator:after{display:block;content:"";background-color:var(--mx-menu-divider);height:1px}.mx-right-arrow{width:14px;height:14px}.mx-checked-mark{width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-shortcut{position:relative;justify-self:flex-end;font-size:11.5px;padding:2px 4px;background-color:var(--mx-menu-shortcut-backgroud);color:var(--mx-menu-shortcut-text)}.mx-menu-bar.dark,.mx-context-menu.dark{--mx-menu-backgroud: #303031;--mx-menu-hover-backgroud: #636363;--mx-menu-active-backgroud: #555555;--mx-menu-open-backgroud: #636363;--mx-menu-open-hover-backgroud: #636363;--mx-menu-divider: #464646;--mx-menu-text: #ffffff;--mx-menu-hover-text: #ffffff;--mx-menu-active-text: #ffffff;--mx-menu-open-text: #ffffff;--mx-menu-open-hover-text: #ffffff;--mx-menu-disabled-text: #9c9c9c;--mx-menu-shadow-color: rgba(51, 51, 51, .2);--mx-menu-shortcut-backgroud: #505050;--mx-menu-shortcut-backgroud-hover:#505050;--mx-menu-shortcut-backgroud-active:#505050;--mx-menu-shortcut-backgroud-open:#505050;--mx-menu-shortcut-backgroud-disabled:#444444;--mx-menu-shortcut-text: #f1f1f1;--mx-menu-shortcut-text-hover: #ffffff;--mx-menu-shortcut-text-active: #ffffff;--mx-menu-shortcut-text-open: #ffffff;--mx-menu-shortcut-text-disabled: #9d9d9d}.mx-menu-bar.flat,.mx-context-menu.flat{border-radius:0;padding:7px 0;box-shadow:0 1px 2px 1px var(--mx-menu-shadow-color)}.mx-menu-bar.flat .mx-context-menu-item,.mx-context-menu.flat .mx-context-menu-item{padding:3px 12px}.mx-menu-bar.win10,.mx-context-menu.win10{border-radius:0;padding:8px 0;border:1px solid var(--mx-menu-border-color);box-shadow:2px 2px 1px 0 var(--mx-menu-shadow-color)}.mx-menu-bar.win10,.mx-context-menu.win10{--mx-menu-backgroud: #eeeeee;--mx-menu-hover-backgroud: #d8d8d8;--mx-menu-active-backgroud: #dfdfdf;--mx-menu-open-backgroud: #f1f1f1;--mx-menu-open-hover-backgroud: #d8d8d8;--mx-menu-divider: #aaaaaa;--mx-menu-border-color: #b1b1b1;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover: transparent;--mx-menu-shortcut-backgroud-active: transparent;--mx-menu-shortcut-backgroud-open: transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #272727;--mx-menu-shortcut-text-hover: #272727;--mx-menu-shortcut-text-active: #272727;--mx-menu-shortcut-text-open: #272727;--mx-menu-shortcut-text-disabled: #6b6b6b}.mx-menu-bar.win10 .mx-context-menu-item,.mx-context-menu.win10 .mx-context-menu-item{padding:2px 4px;margin:0 4px}.mx-menu-bar.win10 .mx-context-menu-item-sperator,.mx-context-menu.win10 .mx-context-menu-item-sperator{margin:0 4px}.mx-menu-bar.win10.dark,.mx-context-menu.win10.dark{--mx-menu-backgroud: #303031;--mx-menu-hover-backgroud: #636363;--mx-menu-active-backgroud: #555555;--mx-menu-open-backgroud: #636363;--mx-menu-open-hover-backgroud: #636363;--mx-menu-divider: #808080;--mx-menu-border-color: #656565;--mx-menu-shortcut-backgroud: #505050;--mx-menu-shortcut-backgroud-hover:#505050;--mx-menu-shortcut-backgroud-active:#505050;--mx-menu-shortcut-backgroud-open:#505050;--mx-menu-shortcut-backgroud-disabled:#444444;--mx-menu-shortcut-text: #f1f1f1;--mx-menu-shortcut-text-hover: #ffffff;--mx-menu-shortcut-text-active: #ffffff;--mx-menu-shortcut-text-open: #ffffff;--mx-menu-shortcut-text-disabled: #9d9d9d;padding:8px 0}.mx-menu-bar.win10.dark .mx-context-menu-item,.mx-context-menu.win10.dark .mx-context-menu-item{padding:6px 12px;margin:0}.mx-menu-bar.win10.dark .mx-context-menu-item-sperator,.mx-context-menu.win10.dark .mx-context-menu-item-sperator{margin:0 7px}.mx-menu-bar.mac,.mx-context-menu.mac{padding:8px 0;box-shadow:0 5px 7px 1px var(--mx-menu-shadow-color);border:1px solid var(--mx-menu-border-color)}.mx-menu-bar.mac,.mx-context-menu.mac{--mx-menu-backgroud: #ececec;--mx-menu-hover-backgroud: #0165e1;--mx-menu-active-backgroud: #0165e1;--mx-menu-open-backgroud: #858585;--mx-menu-open-hover-backgroud: #0165e1;--mx-menu-divider: #d2d2d2;--mx-menu-text: #232323;--mx-menu-hover-text: #fff;--mx-menu-active-text: #fff;--mx-menu-open-text: #fff;--mx-menu-open-hover-text: #fff;--mx-menu-disabled-text: #bbbbbb;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover:transparent;--mx-menu-shortcut-backgroud-active:transparent;--mx-menu-shortcut-backgroud-open:transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #424242;--mx-menu-shortcut-text-hover: #fff;--mx-menu-shortcut-text-active: #fff;--mx-menu-shortcut-text-open: #fff;--mx-menu-shortcut-text-disabled: #a5a5a5;--mx-menu-focus-color: transparent;--mx-menu-border-color: #bbbbbb}.mx-menu-bar.mac.dark,.mx-context-menu.mac.dark{--mx-menu-backgroud: #333333;--mx-menu-hover-backgroud: #0153d2;--mx-menu-active-backgroud: #0153d2;--mx-menu-open-hover-backgroud: #0153d2;--mx-menu-open-backgroud: #414346;--mx-menu-divider: #575757;--mx-menu-text: #dcdcdc;--mx-menu-hover-text: #fff;--mx-menu-active-text: #fff;--mx-menu-open-text: #fff;--mx-menu-open-hover-text: #fff;--mx-menu-disabled-text: #6a6a6a;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover:transparent;--mx-menu-shortcut-backgroud-active:transparent;--mx-menu-shortcut-backgroud-open:transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #dadada;--mx-menu-shortcut-text-hover: #fff;--mx-menu-shortcut-text-active: #fff;--mx-menu-shortcut-text-open: #fff;--mx-menu-shortcut-text-disabled: #6a6a6a;--mx-menu-focus-color: transparent;--mx-menu-border-color: #222}.mx-menu-bar.mac .mx-context-menu-item,.mx-context-menu.mac .mx-context-menu-item{border-radius:5px;margin:0 6px;padding:3px 6px}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text);outline:none}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-right-arrow,.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-checked-mark,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-right-arrow,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-checked-mark{fill:var(--mx-menu-active-text)}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-shortcut,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-active);color:var(--mx-menu-shortcut-text-active)}.mx-menu-bar.mac .mx-context-menu-item-sperator,.mx-context-menu.mac .mx-context-menu-item-sperator{margin:0 12px}.mx-menu-ghost-host{position:absolute;left:0;bottom:0;right:0;top:0;overflow:hidden;pointer-events:none}.mx-menu-ghost-host.fullscreen{position:fixed}.mx-menu-bar{flex:1;display:flex;flex-direction:row;align-items:center;background-color:var(--mx-menu-backgroud);padding:5px 0}.mx-menu-bar.mini{flex-grow:0}.mx-menu-bar .mx-menu-bar-content{display:flex;flex-direction:row;align-items:center}.mx-menu-bar .mx-menu-bar-item{padding:2px 8px;border-radius:5px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--mx-menu-backgroud);color:var(--mx-menu-text)}.mx-menu-bar .mx-menu-bar-item:hover{background-color:var(--mx-menu-hover-backgroud);color:var(--mx-menu-hover-text)}.mx-menu-bar .mx-menu-bar-item:hover .mx-menu-bar-icon-menu{fill:var(--mx-menu-hover-text)}.mx-menu-bar .mx-menu-bar-item:active,.mx-menu-bar .mx-menu-bar-item.active{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text)}.mx-menu-bar .mx-menu-bar-item:active .mx-menu-bar-icon-menu,.mx-menu-bar .mx-menu-bar-item.active .mx-menu-bar-icon-menu{fill:var(--mx-menu-active-text)}.mx-menu-bar .mx-menu-bar-icon-menu{fill:var(--mx-menu-text);width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-menu-bar.flat .mx-menu-bar-item{border-radius:0}.tabbar-contextmenu{z-index:1000}.tabbar-contextmenu .mx-context-menu{position:fixed;--un-shadow:var(--un-shadow-inset) 0 25px 50px -12px var(--un-shadow-color, rgb(0 0 0 / .25));--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(231 229 228 / var(--un-ring-opacity));background-color:var(--g-container-bg)}.dark .tabbar-contextmenu .mx-context-menu{--un-ring-opacity:1;--un-ring-color:rgb(68 64 60 / var(--un-ring-opacity))}.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item{transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item:not(.disabled):hover{cursor:pointer;--un-bg-opacity:1;background-color:rgb(245 245 244 / var(--un-bg-opacity))}.dark .tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item:not(.disabled):hover{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item span,.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item .icon{color:initial}.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item.disabled span,.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item.disabled .icon{opacity:.25}.tabbar-contextmenu .mx-context-menu .mx-context-menu-item-sperator{background-color:var(--g-container-bg)}.tabbar-contextmenu .mx-context-menu .mx-context-menu-item-sperator:after{--un-bg-opacity:1;background-color:rgb(231 229 228 / var(--un-bg-opacity))}.dark .tabbar-contextmenu .mx-context-menu .mx-context-menu-item-sperator:after{--un-bg-opacity:1;background-color:rgb(68 64 60 / var(--un-bg-opacity))}.tabbar-container[data-v-39d55a7e]{position:relative;height:var(--g-tabbar-height);background-color:var(--g-bg);transition:background-color .3s}.tabbar-container .tabs[data-v-39d55a7e]{position:absolute;right:0;left:0;overflow-y:hidden;white-space:nowrap;scrollbar-width:none}.tabbar-container .tabs[data-v-39d55a7e]::-webkit-scrollbar{display:none}.tabbar-container .tabs .tab-container[data-v-39d55a7e]{display:inline-block}.tabbar-container .tabs .tab-container .tab[data-v-39d55a7e]{position:relative;display:inline-block;width:150px;height:var(--g-tabbar-height);font-size:14px;line-height:calc(var(--g-tabbar-height) - 2px);vertical-align:bottom;pointer-events:none;cursor:pointer}.tabbar-container .tabs .tab-container .tab[data-v-39d55a7e]:not(.actived):hover{z-index:3}.tabbar-container .tabs .tab-container .tab[data-v-39d55a7e]:not(.actived):hover:before,.tabbar-container .tabs .tab-container .tab[data-v-39d55a7e]:not(.actived):hover:after{content:none}.tabbar-container .tabs .tab-container .tab:not(.actived):hover+.tab .tab-dividers[data-v-39d55a7e]:before{opacity:0}.tabbar-container .tabs .tab-container .tab:not(.actived):hover .tab-content .title[data-v-39d55a7e],.tabbar-container .tabs .tab-container .tab:not(.actived):hover .tab-content .action-icon[data-v-39d55a7e]{color:var(--g-tabbar-tab-hover-color)}.tabbar-container .tabs .tab-container .tab:not(.actived):hover .tab-background[data-v-39d55a7e]{background-color:var(--g-tabbar-tab-hover-bg)}.tabbar-container .tabs .tab-container .tab[data-v-39d55a7e] *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.tabbar-container .tabs .tab-container .tab.actived[data-v-39d55a7e]{z-index:5}.tabbar-container .tabs .tab-container .tab.actived[data-v-39d55a7e]:before,.tabbar-container .tabs .tab-container .tab.actived[data-v-39d55a7e]:after{content:none}.tabbar-container .tabs .tab-container .tab.actived+.tab .tab-dividers[data-v-39d55a7e]:before{opacity:0}.tabbar-container .tabs .tab-container .tab.actived .tab-content .title[data-v-39d55a7e],.tabbar-container .tabs .tab-container .tab.actived .tab-content .action-icon[data-v-39d55a7e]{color:var(--g-tabbar-tab-active-color)}.tabbar-container .tabs .tab-container .tab.actived .tab-background[data-v-39d55a7e]{background-color:var(--g-container-bg)}.tabbar-container .tabs .tab-container .tab .tab-dividers[data-v-39d55a7e]{position:absolute;top:50%;right:-1px;left:-1px;z-index:0;height:14px;transform:translateY(-50%)}.tabbar-container .tabs .tab-container .tab .tab-dividers[data-v-39d55a7e]:before{position:absolute;top:0;bottom:0;left:1px;display:block;width:1px;content:"";background-color:var(--g-tabbar-dividers-bg);opacity:1;transition:opacity .2s ease,background-color .3s}.tabbar-container .tabs .tab-container .tab:first-child .tab-dividers[data-v-39d55a7e]:before{opacity:0}.tabbar-container .tabs .tab-container .tab .tab-background[data-v-39d55a7e]{position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;pointer-events:none;transition:opacity .3s,background-color .3s}.tabbar-container .tabs .tab-container .tab .tab-content[data-v-39d55a7e]{display:flex;width:100%;height:100%;pointer-events:all}.tabbar-container .tabs .tab-container .tab .tab-content .title[data-v-39d55a7e]{display:flex;flex:1;gap:5px;align-items:center;height:100%;padding:0 10px;margin-right:10px;overflow:hidden;color:var(--g-tabbar-tab-color);white-space:nowrap;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 20px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 20px),transparent);transition:margin-right .3s}.tabbar-container .tabs .tab-container .tab .tab-content .title[data-v-39d55a7e]:has(+.action-icon){margin-right:28px}.tabbar-container .tabs .tab-container .tab .tab-content .title .icon[data-v-39d55a7e]{flex-shrink:0}.tabbar-container .tabs .tab-container .tab .tab-content .action-icon[data-v-39d55a7e]{position:absolute;top:50%;right:.5em;z-index:10;display:flex;align-items:center;justify-content:center;width:1.5em;height:1.5em;font-size:12px;color:var(--g-tabbar-tab-color);border-radius:50%;transform:translateY(-50%)}.tabbar-container .tabs .tab-container .tab .tab-content .action-icon[data-v-39d55a7e]:hover{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(214 211 209 / var(--un-ring-opacity));background-color:var(--g-bg)}.dark .tabbar-container .tabs .tab-container .tab .tab-content .action-icon[data-v-39d55a7e]:hover{--un-ring-opacity:1;--un-ring-color:rgb(68 64 60 / var(--un-ring-opacity))}.tabbar-container .tabs .tab-container .tab .tab-content .hotkey-number[data-v-39d55a7e]{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(214 211 209 / var(--un-ring-opacity));position:absolute;top:50%;right:.5em;z-index:10;display:flex;align-items:center;justify-content:center;width:1.5em;height:1.5em;font-size:12px;color:var(--g-tabbar-tab-color);background-color:var(--g-bg);border-radius:50%;transform:translateY(-50%)}.dark .tabbar-container .tabs .tab-container .tab .tab-content .hotkey-number[data-v-39d55a7e]{--un-ring-opacity:1;--un-ring-color:rgb(68 64 60 / var(--un-ring-opacity))}.tabs .tabbar-move[data-v-39d55a7e],.tabs .tabbar-enter-active[data-v-39d55a7e],.tabs .tabbar-leave-active[data-v-39d55a7e]{transition:all .3s}.tabs .tabbar-enter-from[data-v-39d55a7e],.tabs .tabbar-leave-to[data-v-39d55a7e]{opacity:0;transform:translateY(30px)}.tabs .tabbar-leave-active[data-v-39d55a7e]{position:absolute!important} diff --git a/public/admin/assets/index-D9XTqpwG.css.br b/public/admin/assets/index-D9XTqpwG.css.br new file mode 100644 index 0000000..f56b698 Binary files /dev/null and b/public/admin/assets/index-D9XTqpwG.css.br differ diff --git a/public/admin/assets/index-D9XTqpwG.css.gz b/public/admin/assets/index-D9XTqpwG.css.gz new file mode 100644 index 0000000..ad5ff81 Binary files /dev/null and b/public/admin/assets/index-D9XTqpwG.css.gz differ diff --git a/public/admin/assets/index-DARZUbFw.css b/public/admin/assets/index-DARZUbFw.css new file mode 100644 index 0000000..f06f7d0 --- /dev/null +++ b/public/admin/assets/index-DARZUbFw.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.topbar-container[data-v-a6c8b676]{position:absolute;top:0;z-index:999;display:flex;flex-direction:column;box-shadow:0 1px 0 0 var(--g-border-color);transition:width .3s,top .3s,transform .3s,box-shadow .3s}.topbar-container.topbar-fixed[data-v-a6c8b676],.topbar-container.topbar-sticky[data-v-a6c8b676]{position:fixed}.topbar-container.topbar-fixed.shadow[data-v-a6c8b676],.topbar-container.topbar-sticky.shadow[data-v-a6c8b676]{box-shadow:0 10px 10px -10px var(--g-box-shadow-color)}.topbar-container.topbar-sticky.hide[data-v-a6c8b676]{top:calc((var(--g-tabbar-height) + var(--g-toolbar-height)) * -1)!important} diff --git a/public/admin/assets/index-DARZUbFw.css.br b/public/admin/assets/index-DARZUbFw.css.br new file mode 100644 index 0000000..74facc5 Binary files /dev/null and b/public/admin/assets/index-DARZUbFw.css.br differ diff --git a/public/admin/assets/index-DARZUbFw.css.gz b/public/admin/assets/index-DARZUbFw.css.gz new file mode 100644 index 0000000..05cc4e8 Binary files /dev/null and b/public/admin/assets/index-DARZUbFw.css.gz differ diff --git a/public/admin/assets/index-DHciQHYz.js b/public/admin/assets/index-DHciQHYz.js new file mode 100644 index 0000000..06a32e9 --- /dev/null +++ b/public/admin/assets/index-DHciQHYz.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{s as q,t as r,v as i,L as P,a as g,b as c,q as R,r as l,E as p}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const b=1,$=33,m=34,v=35,x=36,W=new p(O=>{let t=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>t&&O.acceptToken(b)});function n(O,t,a){return new p(e=>{let u=e.pos;for(;e.next!=O&&e.next>=0&&(a||e.next!=38&&(e.next!=123||e.peek(1)!=123));)e.advance();e.pos>u&&e.acceptToken(t)})}const d=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),A=c.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,t)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?w:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=R();function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,t){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(t.read(O.from,O.to))?N:null;case"Text":return E}return null}function _(O={}){let t=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof P))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new g(t.language==s.language?k:S(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{_ as angular,k as angularLanguage}; diff --git a/public/admin/assets/index-DHciQHYz.js.br b/public/admin/assets/index-DHciQHYz.js.br new file mode 100644 index 0000000..faa8065 Binary files /dev/null and b/public/admin/assets/index-DHciQHYz.js.br differ diff --git a/public/admin/assets/index-DHciQHYz.js.gz b/public/admin/assets/index-DHciQHYz.js.gz new file mode 100644 index 0000000..a9e2211 Binary files /dev/null and b/public/admin/assets/index-DHciQHYz.js.gz differ diff --git a/public/admin/assets/index-DLgR7VQ5.css b/public/admin/assets/index-DLgR7VQ5.css new file mode 100644 index 0000000..4acdcf1 --- /dev/null +++ b/public/admin/assets/index-DLgR7VQ5.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.copyright[data-v-3931a919]{margin-top:1rem;margin-bottom:1rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;--un-text-opacity:1;color:rgb(120 113 108 / var(--un-text-opacity))}.copyright span[data-v-3931a919],.copyright a[data-v-3931a919]{padding-left:.25rem;padding-right:.25rem}.copyright a[data-v-3931a919]{text-align:center;--un-text-opacity:1;color:rgb(120 113 108 / var(--un-text-opacity));text-decoration:none;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.copyright a[data-v-3931a919]:hover{--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity))}.dark .copyright a[data-v-3931a919]:hover{--un-text-opacity:1;color:rgb(246 246 246 / var(--un-text-opacity))} diff --git a/public/admin/assets/index-DLgR7VQ5.css.br b/public/admin/assets/index-DLgR7VQ5.css.br new file mode 100644 index 0000000..21099a3 Binary files /dev/null and b/public/admin/assets/index-DLgR7VQ5.css.br differ diff --git a/public/admin/assets/index-DLgR7VQ5.css.gz b/public/admin/assets/index-DLgR7VQ5.css.gz new file mode 100644 index 0000000..a819ddd Binary files /dev/null and b/public/admin/assets/index-DLgR7VQ5.css.gz differ diff --git a/public/admin/assets/index-DiTAFdcL.css b/public/admin/assets/index-DiTAFdcL.css new file mode 100644 index 0000000..eb0c162 --- /dev/null +++ b/public/admin/assets/index-DiTAFdcL.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.prompt,.answer{width:100%;max-height:80px;overflow:hidden;text-overflow:ellipsis;white-space:normal;cursor:pointer}.answer_container{max-height:500px;overflow:overlay} diff --git a/public/admin/assets/index-DiTAFdcL.css.br b/public/admin/assets/index-DiTAFdcL.css.br new file mode 100644 index 0000000..5289d6c Binary files /dev/null and b/public/admin/assets/index-DiTAFdcL.css.br differ diff --git a/public/admin/assets/index-DiTAFdcL.css.gz b/public/admin/assets/index-DiTAFdcL.css.gz new file mode 100644 index 0000000..d197b76 Binary files /dev/null and b/public/admin/assets/index-DiTAFdcL.css.gz differ diff --git a/public/admin/assets/index-DmWzF287.js b/public/admin/assets/index-DmWzF287.js new file mode 100644 index 0000000..55d4831 --- /dev/null +++ b/public/admin/assets/index-DmWzF287.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BLF1xKsJ.js";import"./HKbd-vG5TE40y.js";import"./index-B-LUCRde.js";import"./index-CHGE2DVJ.js";import"./item.vue_vue_type_script_setup_true_lang-v8FUh9Fm.js";export{o as default}; diff --git a/public/admin/assets/index-DmWzF287.js.br b/public/admin/assets/index-DmWzF287.js.br new file mode 100644 index 0000000..50ebc9d Binary files /dev/null and b/public/admin/assets/index-DmWzF287.js.br differ diff --git a/public/admin/assets/index-DmWzF287.js.gz b/public/admin/assets/index-DmWzF287.js.gz new file mode 100644 index 0000000..dfe720d Binary files /dev/null and b/public/admin/assets/index-DmWzF287.js.gz differ diff --git a/public/admin/assets/index-DoMEixLv.css b/public/admin/assets/index-DoMEixLv.css new file mode 100644 index 0000000..b824bbc --- /dev/null +++ b/public/admin/assets/index-DoMEixLv.css @@ -0,0 +1,16 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +@charset "UTF-8";.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:rgba(0,0,0,.8);color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:rgba(0,0,0,.8)}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px rgba(0,0,0,.1)}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}.m-message-container{position:fixed;z-index:1010;pointer-events:none;display:flex;flex-direction:column;box-sizing:border-box;padding:15px;background-color:rgba(255,255,255,0);transition:all 1s ease-in-out}.m-message-container.is-top-left,.m-message-container.is-top-center,.m-message-container.is-top-right{width:100%;top:0;left:0}.m-message-container.is-top-left{align-items:flex-start}.m-message-container.is-top-center{align-items:center}.m-message-container.is-top-right{align-items:flex-end}.m-message-container.is-center{width:100%;height:100%;left:0;top:0;align-items:center;justify-content:center}.m-message-container.is-bottom-left,.m-message-container.is-bottom-center,.m-message-container.is-bottom-right{bottom:0;left:0;width:100%;justify-content:flex-end}.m-message-container.is-bottom-left{align-items:flex-start}.m-message-container.is-bottom-center{align-items:center}.m-message-container.is-bottom-right{align-items:flex-end}.m-message-container.has-mask{background-color:rgba(255,255,255,.3);width:100%;height:100%;pointer-events:all}.m-message-wrapper{display:inline-block;max-width:500px}.m-message-wrapper+.m-message-wrapper{margin-top:15px}.m-message-wrapper:before,.m-message-wrapper:after{content:"";clear:both;display:table}.m-message{display:flex;align-items:center;padding:10px;font-size:14px;overflow:hidden;border-radius:4px;box-sizing:border-box;box-shadow:0 1px 8px rgba(0,0,0,.15);background:#fff;pointer-events:all;position:relative;min-width:150px}.m-message-icons{float:left;box-sizing:border-box;margin-right:10px}.m-message--title{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-message-content{box-sizing:border-box;overflow:auto;width:100%}.m-message--description{line-height:1.6;color:#0e1921}.m-message--title+.m-message--description{margin-top:5px}.m-message--icon{width:25px;height:25px;vertical-align:middle;display:inline-block;border-radius:50%}.m-message--control{position:relative;height:100%;align-self:flex-start;white-space:nowrap;margin-right:-5px;margin-left:10px;margin-top:3px}.m-message--button{border:none;outline:none;background:none;cursor:pointer;font-size:15px;color:#646464;font-weight:600;padding:0;width:20px;height:20px;line-height:20px;text-align:center;vertical-align:middle}.m-message--button:hover{color:#f56c6c}.m-message--arrow-down.is-collapsed{transform:rotate(90deg)}.m-message-fade-enter-active{animation:m-message-fade-in-down .3s}.m-message-fade-leave-active{animation:m-message-fade-out .3s}@keyframes m-message-fade-in-down{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes m-message-fade-out{0%{opacity:1;margin-top:0}to{opacity:0;margin-top:-45px}}/*! + * OverlayScrollbars + * Version: 2.8.3 + * + * Copyright (c) Rene Haas | KingSora. + * https://github.com/KingSora + * + * Released under the MIT license. + */.os-size-observer,.os-size-observer-listener{scroll-behavior:auto!important;direction:inherit;pointer-events:none;overflow:hidden;visibility:hidden;box-sizing:border-box}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;left:0;top:0}.os-size-observer{z-index:-1;contain:strict;display:flex;flex-direction:row;flex-wrap:nowrap;padding:inherit;border:inherit;box-sizing:inherit;margin:-133px;top:0;right:0;bottom:0;left:0;transform:scale(.1)}.os-size-observer:before{content:"";flex:none;box-sizing:inherit;padding:10px;width:10px;height:10px}.os-size-observer-appear{animation:os-size-observer-appear-animation 1ms forwards}.os-size-observer-listener{box-sizing:border-box;position:relative;flex:auto;padding:inherit;border:inherit;margin:-133px;transform:scale(10)}.os-size-observer-listener.ltr{margin-right:-266px;margin-left:0}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{display:block;position:relative;padding:inherit;border:inherit;box-sizing:content-box;flex:auto}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{right:0;bottom:0;overflow:hidden;direction:ltr;flex:none}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{flex:none;box-sizing:border-box;position:relative;max-width:0px;max-height:1px;padding:0;margin:0;border:none;overflow:hidden;z-index:-1;height:0;top:calc(100% + 1px);contain:strict}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}[data-overlayscrollbars-initialize],[data-overlayscrollbars-viewport~=scrollbarHidden]{scrollbar-width:none!important}[data-overlayscrollbars-initialize]::-webkit-scrollbar,[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;display:none!important;width:0!important;height:0!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body){overflow:auto}html[data-overlayscrollbars-body]{overflow:hidden}html[data-overlayscrollbars-body],html[data-overlayscrollbars-body]>body{width:100%;height:100%;margin:0}html[data-overlayscrollbars-body]>body{overflow:visible;margin:0}[data-overlayscrollbars]{position:relative}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{display:flex;align-items:stretch!important;flex-direction:row!important;flex-wrap:nowrap!important;scroll-behavior:auto!important}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){box-sizing:inherit;position:relative;flex:auto!important;height:auto;width:100%;min-width:0;padding:0;margin:0;border:none;z-index:0}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){--os-vaw: 0;--os-vah: 0;outline:none}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]):focus{outline:none}[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]:before{content:"";position:absolute;pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah)}[data-overlayscrollbars],[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]{overflow:hidden!important}[data-overlayscrollbars~=noClipping],[data-overlayscrollbars-padding~=noClipping]{overflow:visible!important}[data-overlayscrollbars-viewport~=measuring]{overflow:hidden!important;scroll-behavior:auto!important;scroll-snap-type:none!important}[data-overlayscrollbars-viewport~=overflowXVisible]:not([data-overlayscrollbars-viewport~=measuring]){overflow-x:visible!important}[data-overlayscrollbars-viewport~=overflowXHidden]{overflow-x:hidden!important}[data-overlayscrollbars-viewport~=overflowXScroll]{overflow-x:scroll!important}[data-overlayscrollbars-viewport~=overflowYVisible]:not([data-overlayscrollbars-viewport~=measuring]){overflow-y:visible!important}[data-overlayscrollbars-viewport~=overflowYHidden]{overflow-y:hidden!important}[data-overlayscrollbars-viewport~=overflowYScroll]{overflow-y:scroll!important}[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId){font-size:0!important;line-height:0!important}[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId):before,[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId):after,[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)>*{display:none!important;position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}[data-overlayscrollbars-viewport~=scrollbarPressed]{scroll-behavior:auto!important;scroll-snap-type:none!important}[data-overlayscrollbars-content]{box-sizing:inherit}[data-overlayscrollbars-contents]:not(#osFakeId):not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]){display:contents}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]{display:grid;grid-template:1fr/1fr}[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding],[data-overlayscrollbars-grid]>[data-overlayscrollbars-viewport],[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding]>[data-overlayscrollbars-viewport]{height:auto!important;width:auto!important}.os-scrollbar{contain:size layout;contain:size layout style;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;pointer-events:none;position:absolute;opacity:0;visibility:hidden}body>.os-scrollbar{position:fixed;z-index:99999}.os-scrollbar-transitionless{transition:none}.os-scrollbar-track{position:relative;padding:0!important;border:none!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{right:auto;left:0}.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden{opacity:0;visibility:hidden}.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important;transition:none!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0;left:0}.os-scrollbar-vertical .os-scrollbar-handle{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal .os-scrollbar-handle,.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{right:auto;left:0}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}@media print{.os-scrollbar{display:none}}.os-scrollbar{--os-size: 0;--os-padding-perpendicular: 0;--os-padding-axis: 0;--os-track-border-radius: 0;--os-track-bg: none;--os-track-bg-hover: none;--os-track-bg-active: none;--os-track-border: none;--os-track-border-hover: none;--os-track-border-active: none;--os-handle-border-radius: 0;--os-handle-bg: none;--os-handle-bg-hover: none;--os-handle-bg-active: none;--os-handle-border: none;--os-handle-border-hover: none;--os-handle-border-active: none;--os-handle-min-size: 33px;--os-handle-max-size: none;--os-handle-perpendicular-size: 100%;--os-handle-perpendicular-size-hover: 100%;--os-handle-perpendicular-size-active: 100%;--os-handle-interactive-area-offset: 0}.os-scrollbar .os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar .os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar .os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar .os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar .os-scrollbar-handle:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;display:block}.os-scrollbar .os-scrollbar-handle:hover{border:var(--os-handle-border-hover);background:var(--os-handle-bg-hover)}.os-scrollbar .os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size);height:var(--os-size)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size);right:0}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis) var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);left:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars-viewport~=measuring]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;--os-size: 10px;--os-padding-perpendicular: 2px;--os-padding-axis: 2px;--os-track-border-radius: 10px;--os-handle-interactive-area-offset: 4px;--os-handle-border-radius: 10px}.os-theme-dark{--os-handle-bg: rgba(0, 0, 0, .44);--os-handle-bg-hover: rgba(0, 0, 0, .55);--os-handle-bg-active: rgba(0, 0, 0, .66)}.os-theme-light{--os-handle-bg: rgba(255, 255, 255, .44);--os-handle-bg-hover: rgba(255, 255, 255, .55);--os-handle-bg-active: rgba(255, 255, 255, .66)}#nprogress{pointer-events:none}#nprogress .bar{position:fixed;top:0;left:0;z-index:2000;width:100%;height:2px;background:rgb(var(--ui-primary))}#nprogress .peg{position:absolute;right:0;display:block;width:100px;height:100%;box-shadow:0 0 10px rgb(var(--ui-primary)),0 0 5px rgb(var(--ui-primary));opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{position:fixed;top:11px;right:14px;z-index:2000;display:block}#nprogress .spinner .spinner-icon{box-sizing:border-box;width:18px;height:18px;border:solid 2px transparent;border-top-color:rgb(var(--ui-primary));border-left-color:rgb(var(--ui-primary));border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{position:relative;overflow:hidden}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#chat[data-v-c51b6157],#baidu[data-v-c51b6157]{width:100%;height:350px;margin-top:18px}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;display:inline-flex;height:1em;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-alert-border-radius-base);box-sizing:border-box;display:flex;margin:0;opacity:1;overflow:hidden;padding:var(--el-alert-padding);position:relative;transition:opacity var(--el-transition-duration-fast);width:100%}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color)}.el-alert--success.is-light,.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color)}.el-alert--info.is-light,.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color)}.el-alert--warning.is-light,.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color)}.el-alert--error.is-light,.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:flex;flex-direction:column;gap:4px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);margin-right:8px;width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);margin-right:12px;width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{cursor:pointer;font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;right:16px;top:12px}.el-alert .el-alert__close-btn.is-customed{font-size:var(--el-alert-close-customed-font-size);font-style:normal;line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;flex-shrink:0;overflow:auto;width:var(--el-aside-width,300px)}.el-autocomplete{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;position:relative;width:var(--el-input-width)}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);line-height:34px;list-style:none;margin:0;overflow:hidden;padding:0 20px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{color:var(--el-text-color-secondary);font-size:20px;height:100px;line-height:100px;text-align:center}.el-autocomplete-suggestion.is-loading li:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-small:24px;--el-avatar-size:40px;align-items:center;background:var(--el-avatar-bg-color);box-sizing:border-box;color:var(--el-avatar-text-color);display:inline-flex;font-size:var(--el-avatar-text-size);height:var(--el-avatar-size);justify-content:center;overflow:hidden;text-align:center;width:var(--el-avatar-size)}.el-avatar>img{display:block;height:100%;width:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;transition:var(--el-transition-color)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{content:"";display:table}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-color-info);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;padding:8px 15px;text-align:center;transition:.1s;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);height:var(--el-button-size);padding:12px 19px}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;height:var(--el-button-size);padding:5px 11px}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-calendar{--el-calendar-border:var(--el-table-border,1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{border-bottom:var(--el-calendar-header-border-bottom);display:flex;justify-content:space-between;padding:12px 20px}.el-calendar__title{align-self:center;color:var(--el-text-color)}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);font-weight:400;padding:12px 0}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);transition:background-color var(--el-transition-duration-fast) ease;vertical-align:top}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{background-color:var(--el-calendar-selected-bg-color);cursor:pointer}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank);background-color:var(--el-card-bg-color);border:1px solid var(--el-card-border-color);border-radius:var(--el-card-border-radius);color:var(--el-text-color-primary);overflow:hidden;transition:var(--el-transition-duration)}.el-card.is-always-shadow{box-shadow:var(--el-box-shadow-light)}.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-card__body{padding:var(--el-card-padding)}.el-card__footer{border-top:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;transition:var(--el-transition-duration-fast);width:100%}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31,45,61,.11);--el-carousel-arrow-hover-background:rgba(31,45,61,.23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{list-style:none;margin:0;padding:0;position:absolute;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical)*2);position:static;text-align:center;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels{left:0;right:0;text-align:center;transform:none}.el-carousel__indicators--labels .el-carousel__button{color:#000;font-size:12px;height:auto;padding:2px 18px;width:auto}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#fff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%) translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%) translate(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);display:flex;font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{border-right:var(--el-cascader-menu-border);box-sizing:border-box;color:var(--el-cascader-menu-text-color);min-width:180px}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{box-sizing:border-box;list-style:none;margin:0;min-height:100%;padding:6px 0;position:relative}.el-cascader-menu__hover-zone{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.el-cascader-menu__empty-text{align-items:center;color:var(--el-cascader-color-empty);display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{align-items:center;display:flex;height:34px;line-height:34px;outline:none;padding:0 30px 0 20px;position:relative}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{left:10px;position:absolute}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-cascader-node>.el-checkbox{margin-right:0}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;font-size:var(--el-font-size-base);line-height:32px;outline:none;position:relative;vertical-align:middle}.el-cascader:not(.is-disabled):hover .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset;cursor:pointer}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{cursor:pointer;text-overflow:ellipsis}.el-cascader .el-input .el-input__suffix-inner .el-icon{height:calc(100% - 2px)}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{font-size:14px;transition:transform var(--el-transition-duration)}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader.is-disabled .el-cascader__label{color:var(--el-disabled-text-color);z-index:calc(var(--el-index-normal) + 1)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill);border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__tags{box-sizing:border-box;display:flex;flex-wrap:wrap;left:0;line-height:normal;position:absolute;right:30px;text-align:left;top:50%;transform:translateY(-50%)}.el-cascader__tags .el-tag{align-items:center;background:var(--el-cascader-tag-background);display:inline-flex;margin:2px 0 2px 6px;max-width:100%;text-overflow:ellipsis}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{align-items:center;background:var(--el-fill-color);display:inline-flex;margin:2px 0 2px 6px;max-width:100%;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{color:var(--el-cascader-menu-text-color);font-size:var(--el-font-size-base);margin:0;max-height:204px;padding:6px 0;text-align:center}.el-cascader__suggestion-item{align-items:center;cursor:pointer;display:flex;height:34px;justify-content:space-between;outline:none;padding:0 15px;text-align:left}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{background:transparent;border:none;box-sizing:border-box;color:var(--el-cascader-menu-text-color);flex:1;height:24px;margin:2px 0 2px 11px;min-width:60px;outline:none;padding:0}.el-cascader__search-input::placeholder{color:transparent}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:700;line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all)}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.is-checked.el-check-tag--primary{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.is-checked.el-check-tag--primary:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.is-checked.el-check-tag--success{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.is-checked.el-check-tag--success:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.is-checked.el-check-tag--warning{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.is-checked.el-check-tag--warning:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.is-checked.el-check-tag--danger{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.is-checked.el-check-tag--danger:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.is-checked.el-check-tag--error{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.is-checked.el-check-tag--error:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.is-checked.el-check-tag--info{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.is-checked.el-check-tag--info:hover{background-color:var(--el-color-info-light-7)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left-color:transparent;border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:none;padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7);color:var(--el-checkbox-button-checked-text-color)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-bottom-left-radius:var(--el-border-radius-base);border-left:var(--el-border);border-top-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:inline-flex;outline:none;position:relative;white-space:nowrap}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid transparent;border-left:0;border-top:0;box-sizing:content-box;content:"";height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);transform-origin:center;transition:transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-bottom:1px solid var(--el-collapse-border-color);border-top:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{align-items:center;background-color:var(--el-collapse-header-bg-color);border:none;border-bottom:1px solid var(--el-collapse-border-color);color:var(--el-collapse-header-text-color);cursor:pointer;display:flex;font-size:var(--el-collapse-header-font-size);font-weight:500;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);outline:none;padding:0;transition:border-bottom-color var(--el-transition-duration);width:100%}.el-collapse-item__arrow{font-weight:300;margin:0 8px 0 auto;transition:transform var(--el-transition-duration)}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{background-color:var(--el-collapse-content-bg-color);border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;overflow:hidden;will-change:height}.el-collapse-item__content{color:var(--el-collapse-content-text-color);font-size:var(--el-collapse-content-font-size);line-height:1.7692307692;padding-bottom:25px}.el-collapse-item:last-child{margin-bottom:-1px}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{border-radius:4px;cursor:pointer;height:20px;margin:0 0 8px 8px;width:20px}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector>div{border-radius:3px;display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:red;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{height:180px;position:relative;width:280px}.el-color-svpanel__black,.el-color-svpanel__white{bottom:0;left:0;position:absolute;right:0;top:0}.el-color-svpanel__white{background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}.el-color-svpanel__black{background:linear-gradient(0deg,#000,rgba(0,0,0,0))}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:head;height:4px;transform:translate(-2px,-2px);width:4px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,rgba(255,255,255,0) 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{clear:both;content:"";display:table}.el-color-dropdown__btns{margin-top:12px;text-align:right}.el-color-dropdown__value{color:#000;float:left;font-size:12px;line-height:26px;width:160px}.el-color-picker{display:inline-block;line-height:normal;outline:none;position:relative}.el-color-picker:hover:not(.is-disabled,.is-focused) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--large{height:40px}.el-color-picker--large .el-color-picker__trigger{height:40px;width:40px}.el-color-picker--large .el-color-picker__mask{height:38px;width:38px}.el-color-picker--small{height:24px}.el-color-picker--small .el-color-picker__trigger{height:24px;width:24px}.el-color-picker--small .el-color-picker__mask{height:22px;width:22px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__mask{background-color:rgba(255,255,255,.7);border-radius:4px;cursor:not-allowed;height:30px;left:1px;position:absolute;top:1px;width:30px;z-index:1}.el-color-picker__trigger{align-items:center;border:1px solid var(--el-border-color);border-radius:4px;box-sizing:border-box;cursor:pointer;display:inline-flex;font-size:0;height:32px;justify-content:center;padding:4px;position:relative;width:32px}.el-color-picker__color{border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);box-sizing:border-box;display:block;height:100%;position:relative;text-align:center;width:100%}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{align-items:center;color:#fff;display:inline-flex;font-size:12px;justify-content:center}.el-color-picker__panel{background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light);box-sizing:content-box;padding:6px;position:absolute;z-index:10}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333333}.el-container{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;cursor:pointer;height:30px;padding:4px 0;position:relative;text-align:center;width:32px}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;display:block;height:24px;left:50%;line-height:24px;margin:0 auto;position:absolute;transform:translate(-50%);width:24px}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed;opacity:1}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);border-radius:15px;color:#fff}.el-date-table td.week{color:var(--el-datepicker-header-text-color);font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{border-bottom:1px solid var(--el-border-color-lighter);color:var(--el-datepicker-header-text-color);font-weight:400;padding:5px}.el-month-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-month-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-month-table td div{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:54px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td.start-date div{border-bottom-left-radius:24px;border-top-left-radius:24px;margin-left:3px}.el-month-table td.end-date div{border-bottom-right-radius:24px;border-top-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) div{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .cell{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-year-table td div{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:54px}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) div{border-radius:24px;margin-left:3px;margin-right:3px}.el-year-table td.current:not(.disabled) .cell{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{display:inline-block;max-height:192px;overflow:auto;position:relative;vertical-align:top;width:50%}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;overflow:hidden;text-align:center}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;height:30px;left:0;line-height:30px;position:absolute;text-align:center;width:100%;z-index:var(--el-index-normal)}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{list-style:none;margin:0}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;height:80px;width:100%}.el-time-spinner__item{color:var(--el-text-color-regular);font-size:12px;height:32px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;position:relative;text-align:left;vertical-align:middle}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{height:var(--el-input-height,var(--el-component-size));width:var(--el-date-editor-width)}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .clear-icon,.el-date-editor .close-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{color:var(--el-text-color-placeholder);float:left;font-size:14px;height:inherit}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-text-color-regular);display:inline-block;font-size:var(--el-font-size-base);height:30px;line-height:30px;margin:0;outline:none;padding:0;text-align:center;width:39%}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{align-items:center;color:var(--el-text-color-primary);display:inline-flex;flex:1;font-size:14px;height:100%;justify-content:center;margin:0;overflow-wrap:break-word;padding:0 5px}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);cursor:pointer;font-size:14px;height:inherit;width:unset}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{align-items:center;display:inline-flex;padding:0 10px}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{font-size:14px;height:38px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{font-size:12px;height:22px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);color:var(--el-text-color-regular);line-height:30px}.el-picker-panel .el-time-panel{background-color:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{clear:both;content:"";display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{background-color:var(--el-bg-color-overlay);border-top:1px solid var(--el-datepicker-inner-border-color);font-size:0;padding:4px 12px;position:relative;text-align:right}.el-picker-panel__shortcut{background-color:transparent;border:0;color:var(--el-datepicker-text-color);cursor:pointer;display:block;font-size:14px;line-height:28px;outline:none;padding-left:12px;text-align:left;width:100%}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{background-color:transparent;border:1px solid var(--el-fill-color-darker);border-radius:2px;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:24px;outline:none;padding:0 20px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{background:transparent;border:0;color:var(--el-datepicker-icon-color);cursor:pointer;font-size:12px;margin-top:8px;outline:none}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{background-color:var(--el-bg-color-overlay);border-right:1px solid var(--el-datepicker-inner-border-color);bottom:0;box-sizing:border-box;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{border-bottom:1px solid var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{cursor:pointer;float:left;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{height:28px;position:relative;text-align:center}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{box-sizing:border-box;float:left;margin:0;padding:16px;width:50%}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-range-picker__time-header>.el-icon-arrow-right{color:var(--el-datepicker-icon-color);display:table-cell;font-size:20px;vertical-align:middle}.el-date-range-picker__time-picker-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{background:#fff;position:absolute;right:0;top:13px;z-index:1}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{overflow:visible;width:354px}.el-time-range-picker__content{padding:10px;position:relative;text-align:center;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;display:inline-block;margin:0;padding:4px 7px 7px;width:50%}.el-time-range-picker__header{font-size:14px;margin-bottom:5px;text-align:center}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{border-radius:2px;box-sizing:content-box;left:0;position:relative;-webkit-user-select:none;user-select:none;width:180px;z-index:var(--el-index-top)}.el-time-panel__content{font-size:0;overflow:hidden;position:relative}.el-time-panel__content:after,.el-time-panel__content:before{box-sizing:border-box;content:"";height:32px;left:0;margin-top:-16px;padding-top:6px;position:absolute;right:0;text-align:left;top:50%;z-index:-1}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{border-bottom:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));box-sizing:border-box;height:36px;line-height:25px;padding:4px;text-align:right}.el-time-panel__btn{background-color:transparent;border:none;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:28px;margin:0 5px;outline:none;padding:0 5px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.el-descriptions__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;font-size:14px;font-weight:400;line-height:23px;text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{background:var(--el-descriptions-item-bordered-label-background);color:var(--el-text-color-regular);font-weight:700}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-small);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;position:absolute;transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{flex:1;font-size:1rem;line-height:inherit;margin:0}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{opacity:0}.el-drawer-fade-enter-to,.el-drawer-fade-leave-from{opacity:1}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{align-items:center;border-left:none;display:inline-flex;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{font-size:12px;line-height:20px;padding:2px 12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-empty-padding);text-align:center}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;vertical-align:top;width:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:100%;vertical-align:top;width:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height);padding:var(--el-footer-padding)}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--label-left .el-form-item__label{justify-content:flex-start}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;text-align:left}.el-form--inline .el-form-item{display:inline-flex;margin-right:32px;vertical-align:middle}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{line-height:22px;margin-bottom:12px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{line-height:22px;margin-bottom:8px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{line-height:20px;margin-bottom:4px}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label{align-items:flex-start;box-sizing:border-box;color:var(--el-text-color-regular);display:inline-flex;flex:0 0 auto;font-size:var(--el-form-label-font-size);height:32px;justify-content:flex-end;line-height:32px;padding:0 12px 0 0}.el-form-item__content{align-items:center;display:flex;flex:1;flex-wrap:wrap;font-size:var(--font-size);line-height:32px;min-width:0;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;left:0;line-height:1;padding-top:2px;position:absolute;top:100%}.el-form-item__error--inline{display:inline-block;left:auto;margin-left:10px;position:relative;top:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{color:var(--el-color-danger);content:"*";margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{color:var(--el-color-danger);content:"*";margin-left:4px}.el-form-item.is-error .el-input__wrapper,.el-form-item.is-error .el-input__wrapper.is-focus,.el-form-item.is-error .el-input__wrapper:focus,.el-form-item.is-error .el-input__wrapper:hover,.el-form-item.is-error .el-select__wrapper,.el-form-item.is-error .el-select__wrapper.is-focus,.el-form-item.is-error .el-select__wrapper:focus,.el-form-item.is-error .el-select__wrapper:hover,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner.is-focus,.el-form-item.is-error .el-textarea__inner:focus,.el-form-item.is-error .el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px transparent}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-header{--el-header-padding:0 20px;--el-header-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-header-height);padding:var(--el-header-padding)}.el-image-viewer__wrapper{bottom:0;left:0;position:fixed;right:0;top:0}.el-image-viewer__btn{align-items:center;border-radius:50%;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;opacity:.8;position:absolute;-webkit-user-select:none;user-select:none;z-index:1}.el-image-viewer__btn .el-icon{cursor:pointer;font-size:inherit}.el-image-viewer__close{font-size:40px;height:40px;right:40px;top:40px;width:40px}.el-image-viewer__canvas{align-items:center;display:flex;height:100%;justify-content:center;position:static;-webkit-user-select:none;user-select:none;width:100%}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;bottom:30px;height:44px;left:50%;padding:0 23px;transform:translate(-50%);width:282px}.el-image-viewer__actions__inner{align-items:center;color:#fff;cursor:default;display:flex;font-size:23px;height:100%;justify-content:space-around;width:100%}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;top:50%;transform:translateY(-50%);width:44px}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__close{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;width:44px}.el-image-viewer__mask{background:#000;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{height:100%;width:100%}.el-image{display:inline-block;overflow:hidden;position:relative}.el-image__inner{opacity:1;vertical-align:top}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{left:0;position:absolute;top:0}.el-image__error,.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{align-items:center;color:var(--el-text-color-placeholder);display:flex;font-size:14px;justify-content:center;vertical-align:middle}.el-image__preview{cursor:pointer}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-input-number{display:inline-flex;line-height:30px;position:relative;width:150px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;line-height:1;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number__decrease,.el-input-number__increase{align-items:center;background:var(--el-fill-color-light);bottom:1px;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:13px;height:auto;justify-content:center;position:absolute;top:1px;-webkit-user-select:none;user-select:none;width:32px;z-index:1}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{border-left:var(--el-border);border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{line-height:38px;width:180px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{font-size:14px;width:40px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{line-height:22px;width:120px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{font-size:12px;width:24px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-bottom:var(--el-border);border-radius:0 var(--el-border-radius-base) 0 0;bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;border-right:none;left:auto;right:1px;top:auto}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);align-items:center;color:var(--el-link-text-color);cursor:pointer;display:inline-flex;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link.is-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default:after{border-color:var(--el-link-hover-text-color)}.el-link__inner{align-items:center;display:inline-flex;justify-content:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--primary:after{border-color:var(--el-link-text-color)}.el-link.el-link--primary.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--success:after{border-color:var(--el-link-text-color)}.el-link.el-link--success.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--warning:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--danger:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--error:after{border-color:var(--el-link-text-color)}.el-link.el-link--error.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.el-link--info:after{border-color:var(--el-link-text-color)}.el-link.el-link--info.is-underline:hover:after{border-color:var(--el-link-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{background-color:var(--el-mask-color);bottom:0;left:0;margin:0;position:absolute;right:0;top:0;transition:opacity var(--el-transition-duration);z-index:2000}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;box-sizing:border-box;display:block;flex:1;flex-basis:auto;overflow:auto;padding:var(--el-main-padding)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-hover-text-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.el-overlay.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input{border-color:var(--el-color-error)}.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;left:50%;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;top:20px;transform:translate(-50%);transition:opacity var(--el-transition-duration),transform .4s,top .4s;width:fit-content}.el-message.is-center{justify-content:center}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:700;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{align-items:center;display:flex;justify-content:space-between;line-height:24px}.el-page-header__left{align-items:center;display:flex;margin-right:40px;position:relative}.el-page-header__back{align-items:center;cursor:pointer;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-item-gap:16px;align-items:center;color:var(--el-pagination-text-color);display:flex;font-size:var(--el-pagination-font-size);font-weight:400;white-space:nowrap}.el-pagination .el-input__inner{-moz-appearance:textfield;text-align:center}.el-pagination .el-select{width:128px}.el-pagination button{align-items:center;background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;display:flex;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pagination button *{pointer-events:none}.el-pagination button:focus{outline:none}.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination button.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination button.is-disabled,.el-pagination button:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pagination button:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{color:var(--el-text-color-regular);font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{align-items:center;color:var(--el-text-color-regular);display:flex;font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{box-sizing:border-box;text-align:center}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{align-items:center;display:flex;flex:1;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{background-color:var(--el-disabled-bg-color);color:var(--el-text-color-placeholder)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{background-color:var(--el-fill-color-dark);color:var(--el-text-color-secondary)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{font-size:var(--el-pagination-font-size-small);height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;user-select:none}.el-pager,.el-pager li{align-items:center;display:flex}.el-pager li{background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li.is-disabled,.el-pager li:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{margin-top:8px;text-align:right}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{align-items:center;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{animation:indeterminate 3s infinite;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light)}.el-radio-button,.el-radio-button__inner{display:inline-block;outline:none;position:relative}.el-radio-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left:0;border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));line-height:1;margin:0;padding:8px 15px;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:checked+.el-radio-button__inner{background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary));color:var(--el-radio-button-checked-text-color,var(--el-color-white))}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));border-radius:var(--el-border-radius-base);box-shadow:none;outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2}.el-radio-button__original-radio:disabled+.el-radio-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{align-items:center;display:inline-flex;flex-wrap:wrap;font-size:0}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-radio-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-radio-font-weight);height:32px;margin-right:32px;outline:none;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{cursor:pointer;display:inline-flex;outline:none;position:relative;vertical-align:middle;white-space:nowrap}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{background:var(--el-color-primary);border-color:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{background-color:var(--el-radio-input-bg-color);border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--el-radio-input-height);position:relative;width:var(--el-radio-input-width)}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{background-color:var(--el-color-white);border-radius:var(--el-radio-input-border-radius);content:"";height:4px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in;width:4px}.el-radio__original{bottom:0;left:0;margin:0;opacity:0;outline:none;position:absolute;right:0;top:0;z-index:-1}.el-radio__original:focus-visible+.el-radio__inner{border-radius:var(--el-radio-input-border-radius);outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{height:12px;width:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary);align-items:center;display:inline-flex;height:32px}.el-rate:active,.el-rate:focus{outline:none}.el-rate__item{color:var(--el-rate-void-color);cursor:pointer;display:inline-block;font-size:0;line-height:normal;position:relative;vertical-align:middle}.el-rate .el-rate__icon{display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);position:relative;transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{left:0;position:absolute;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;overflow:hidden}.el-rate__decimal,.el-rate__decimal--box{left:0;position:absolute;top:0}.el-rate__text{color:var(--el-rate-text-color);font-size:var(--el-rate-font-size);vertical-align:middle}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{color:var(--el-rate-disabled-void-color);cursor:auto}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-result-padding);text-align:center}.el-result__icon svg{height:var(--el-result-icon-font-size);width:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{color:var(--el-text-color-primary);font-size:var(--el-result-title-font-size);line-height:1.3;margin:0}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1.3;margin:0}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary);height:100%;overflow:hidden;position:relative}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));border-radius:inherit;cursor:pointer;display:block;height:0;opacity:var(--el-scrollbar-opacity,.3);position:relative;transition:var(--el-transition-duration) background-color;width:0}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{border-radius:4px;bottom:2px;position:absolute;right:2px;z-index:1}.el-scrollbar__bar.is-vertical{top:2px;width:6px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty,.el-select-dropdown__loading{color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0;text-align:center}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:6px 0}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);height:34px;line-height:34px;overflow:hidden;padding:0 32px 0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{background-color:unset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;position:absolute;right:20px;top:50%;transform:translateY(-50%);width:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{color:var(--el-color-info);font-size:12px;line-height:34px;padding-left:20px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px;--el-select-width:100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;gap:6px;line-height:24px;min-height:32px;padding:4px 12px;position:relative;text-align:left;transition:var(--el-transition-duration)}.el-select__wrapper:hover{box-shadow:0 0 0 1px var(--el-text-color) inset}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{background-color:var(--el-fill-color-light);box-shadow:0 0 0 1px var(--el-select-disabled-border) inset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag{cursor:not-allowed}.el-select__prefix,.el-select__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;gap:6px}.el-select__caret{color:var(--el-select-input-color);cursor:pointer;font-size:var(--el-select-input-font-size);transform:rotate(0);transition:var(--el-transition-duration)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__selection{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{border-color:transparent;cursor:pointer}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.el-select__tags-text{line-height:normal}.el-select__placeholder,.el-select__tags-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{color:var(--el-input-text-color,var(--el-text-color-regular));position:absolute;top:50%;transform:translateY(-50%);width:100%}.el-select__placeholder.is-transparent{color:var(--el-text-color-placeholder);-webkit-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select__input-wrapper{max-width:100%}.el-select__input-wrapper.is-hidden{opacity:0;position:absolute}.el-select__input{-webkit-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-select-multiple-input-color);font-family:inherit;font-size:inherit;height:24px;max-width:100%;outline:none;padding:0}.el-select__input.is-disabled{cursor:not-allowed}.el-select__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-select--large .el-select__wrapper{font-size:14px;gap:6px;line-height:24px;min-height:40px;padding:8px 16px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{font-size:12px;gap:4px;line-height:20px;min-height:24px;padding:2px 8px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);display:inline-block;height:16px;width:100%}.el-skeleton__circle{border-radius:50%;height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);width:var(--el-skeleton-circle-size)}.el-skeleton__button{border-radius:4px;height:40px;width:64px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{height:var(--el-font-size-small);width:100%}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{align-items:center;border-radius:0;display:flex;justify-content:center;width:unset}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:22%;width:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{animation:el-skeleton-loading 1.4s ease infinite;background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px;align-items:center;display:flex;height:32px;width:100%}.el-slider__runway{background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;height:var(--el-slider-height);position:relative}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover,.el-slider__runway.is-disabled .el-slider__button.dragging{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{background-color:var(--el-slider-main-bg-color);border-bottom-left-radius:var(--el-slider-border-radius);border-top-left-radius:var(--el-slider-border-radius);height:var(--el-slider-height);position:absolute}.el-slider__button-wrapper{background-color:transparent;height:var(--el-slider-button-wrapper-size);line-height:normal;outline:none;position:absolute;text-align:center;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);-webkit-user-select:none;user-select:none;width:var(--el-slider-button-wrapper-size);z-index:1}.el-slider__button-wrapper:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{background-color:var(--el-color-white);border:2px solid var(--el-slider-main-bg-color);border-radius:50%;box-sizing:border-box;display:inline-block;height:var(--el-slider-button-size);transition:var(--el-transition-duration-fast);-webkit-user-select:none;user-select:none;vertical-align:middle;width:var(--el-slider-button-size)}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{background-color:var(--el-slider-stop-bg-color);border-radius:var(--el-border-radius-circle);height:var(--el-slider-height);position:absolute;transform:translate(-50%);width:var(--el-slider-height)}.el-slider__marks{height:100%;left:12px;top:0;width:18px}.el-slider__marks-text{color:var(--el-color-info);font-size:14px;margin-top:15px;position:absolute;transform:translate(-50%);white-space:pre}.el-slider.is-vertical{display:inline-flex;flex:0;height:100%;position:relative;width:auto}.el-slider.is-vertical .el-slider__runway{height:100%;margin:0 16px;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__bar{border-radius:0 0 3px 3px;height:auto;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__button-wrapper{left:var(--el-slider-button-wrapper-offset);top:auto;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{left:15px;margin-top:0;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{white-space:nowrap;width:100%}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;height:50px;width:50px}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(1turn)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-grow:0;flex-shrink:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{border-color:var(--el-text-color-primary);color:var(--el-text-color-primary)}.el-step__head.is-wait{border-color:var(--el-text-color-placeholder);color:var(--el-text-color-placeholder)}.el-step__head.is-success{border-color:var(--el-color-success);color:var(--el-color-success)}.el-step__head.is-error{border-color:var(--el-color-danger);color:var(--el-color-danger)}.el-step__head.is-finish{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-step__icon{align-items:center;background:var(--el-bg-color);box-sizing:border-box;display:inline-flex;font-size:14px;height:24px;justify-content:center;position:relative;transition:.15s ease-out;width:24px;z-index:1}.el-step__icon.is-text{border:2px solid;border-color:inherit;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{color:inherit;display:inline-block;font-weight:700;line-height:1;text-align:center;-webkit-user-select:none;user-select:none}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{background-color:var(--el-text-color-placeholder);border-color:inherit;position:absolute}.el-step__line-inner{border:1px solid;border-color:inherit;box-sizing:border-box;display:block;height:0;transition:.15s ease-out;width:0}.el-step__main{text-align:left;white-space:normal}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{font-size:12px;font-weight:400;line-height:20px;margin-top:-5px;padding-right:10%}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;left:0;right:0;top:11px}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{bottom:0;left:11px;top:0;width:2px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{align-items:center;display:flex}.el-step.is-simple .el-step__head{font-size:0;padding-right:10px;width:auto}.el-step.is-simple .el-step__icon{background:transparent;font-size:12px;height:16px;width:16px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{align-items:stretch;display:flex;flex-grow:1;position:relative}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;overflow-wrap:break-word}.el-step.is-simple .el-step__arrow{align-items:center;display:flex;flex-grow:1;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{background:var(--el-text-color-placeholder);content:"";display:inline-block;height:15px;position:absolute;width:1px}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);align-items:center;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;transition:var(--el-transition-duration-fast);vertical-align:middle}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{align-items:center;display:flex;height:16px;justify-content:center;overflow:hidden;padding:0 4px 0 18px;transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{color:var(--el-color-white);font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:flex;height:16px;justify-content:center;left:1px;position:absolute;transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#fff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;padding:0 10px}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:transparent;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:none}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{align-items:center;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-bg-color);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,.15);--el-table-index:var(--el-index-normal);background-color:var(--el-table-bg-color);box-sizing:border-box;color:var(--el-table-text-color);font-size:14px;height:fit-content;max-width:100%;overflow:hidden;position:relative;width:100%}.el-table__inner-wrapper{display:flex;flex-direction:column;height:100%;position:relative}.el-table__inner-wrapper:before{bottom:0;height:1px;left:0;width:100%}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{align-items:center;display:flex;justify-content:center;left:0;min-height:60px;position:sticky;text-align:center;width:100%}.el-table__empty-text{color:var(--el-text-color-secondary);line-height:60px;width:50%}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;user-select:none}.el-table__expand-icon{color:var(--el-text-color-regular);cursor:pointer;font-size:12px;height:20px;position:relative;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;min-width:0;padding:8px 0;position:relative;text-align:left;text-overflow:ellipsis;vertical-align:middle;z-index:var(--el-table-index)}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{border-bottom-width:0;border-right-width:0;padding:0;width:15px}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;line-height:23px;overflow:hidden;overflow-wrap:break-word;padding:0 12px;text-overflow:ellipsis;white-space:normal}.el-table .cell.el-tooltip{min-width:50px;white-space:nowrap}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:14px}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{background:#ff4d51;border-radius:50%;content:"";display:inline-block;height:8px;margin-right:5px;vertical-align:middle;width:8px}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{background-color:var(--el-table-border-color);content:"";position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{height:1px;left:0;top:0;width:100%;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{height:100%;left:0;top:-1px;width:1px}.el-table--border:after{height:100%;right:0;top:-1px;width:1px}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background:inherit;position:sticky!important;z-index:calc(var(--el-table-index) + 1)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{bottom:-1px;box-shadow:none;content:"";overflow-x:hidden;overflow-y:hidden;pointer-events:none;position:absolute;top:0;touch-action:none;width:10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{box-shadow:none;right:-10px}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{background:#fff;position:sticky!important;right:0;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{border-collapse:separate;table-layout:fixed}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{align-items:center;display:inline-flex;height:23px}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{flex:1;overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{align-items:center;cursor:pointer;display:inline-flex;flex-direction:column;height:14px;overflow:initial;position:relative;vertical-align:middle;width:24px}.el-table .sort-caret{border:5px solid transparent;height:0;left:7px;position:absolute;width:0}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{position:absolute;visibility:hidden;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{bottom:0;position:sticky;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{border-left:var(--el-table-border);bottom:0;left:200px;position:absolute;top:0;width:0;z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{cursor:pointer;display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{height:100%;top:0;width:1px}.el-table__border-bottom-patch,.el-table__border-left-patch{background-color:var(--el-table-border-color);left:0;position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table__border-bottom-patch{height:1px}.el-table__border-right-patch{background-color:var(--el-table-border-color);height:100%;position:absolute;top:0;width:1px;z-index:calc(var(--el-table-index) + 2)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;height:12px;line-height:12px;margin-right:8px;text-align:center;width:12px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-bg-color);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,.15);--el-table-index:var(--el-index-normal);font-size:14px}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);box-shadow:2px 0 4px rgba(0,0,0,.06);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);box-shadow:-2px 0 4px rgba(0,0,0,.06);display:flex;flex-direction:column-reverse;overflow:hidden;position:absolute;right:0;top:0}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{overflow:hidden;position:relative}.el-table-v2__footer{bottom:0;overflow:hidden;right:0}.el-table-v2__empty,.el-table-v2__footer,.el-table-v2__overlay{left:0;position:absolute}.el-table-v2__overlay{bottom:0;right:0;top:0;z-index:9999}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{align-items:center;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);display:flex;font-weight:700;height:100%;overflow:hidden;padding:0 8px;-webkit-user-select:none;user-select:none}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{display:none;opacity:.6;transition:opacity,display var(--el-transition-duration)}.el-table-v2__sort-icon.is-sorting{display:block;opacity:1}.el-table-v2__row{align-items:center;border-bottom:var(--el-table-border);display:flex;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{cursor:pointer;margin:0 4px;-webkit-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px}.el-tabs__header{margin:0 0 15px;padding:0;position:relative}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.el-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;float:right;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__nav-wrap{margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2):not(.is-active).is-closable:hover{padding-left:13px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child:not(.is-active).is-closable:hover{padding-right:13px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary);align-items:center;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);border-radius:var(--el-tag-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--el-tag-text-color);display:inline-flex;font-size:var(--el-tag-font-size);height:24px;justify-content:center;line-height:1;padding:0 9px;vertical-align:middle;white-space:nowrap;--el-icon-size:14px}.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);flex-shrink:0}.el-tag .el-tag__close:hover{background-color:var(--el-tag-hover-color);color:var(--el-color-white)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3);--el-tag-text-color:var(--el-color-white)}.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info,.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning{--el-tag-text-color:var(--el-color-white)}.el-tag--plain{--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary);--el-tag-bg-color:var(--el-fill-color-blank)}.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{height:32px;padding:0 11px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{height:20px;padding:0 7px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);align-self:center;color:var(--el-text-color);font-size:var(--el-text-font-size);margin:0;overflow-wrap:break-word;padding:0}.el-text.is-truncated{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-text.is-line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{margin:0;max-height:200px}.time-select-item{font-size:14px;line-height:20px;padding:8px 10px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{padding-left:28px;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;left:4px;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{align-items:center;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);left:-1px;width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);left:-2px;width:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{align-items:center;display:flex;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-tooltip-v2__content{--el-tooltip-v2-padding:5px 10px;--el-tooltip-v2-border-radius:4px;--el-tooltip-v2-border-color:var(--el-border-color);background-color:var(--el-color-white);border:1px solid var(--el-border-color);border-radius:var(--el-tooltip-v2-border-radius);color:var(--el-color-black);padding:var(--el-tooltip-v2-padding)}.el-tooltip-v2__arrow{color:var(--el-color-white);height:var(--el-tooltip-v2-arrow-height);left:var(--el-tooltip-v2-arrow-x);pointer-events:none;position:absolute;top:var(--el-tooltip-v2-arrow-y);width:var(--el-tooltip-v2-arrow-width)}.el-tooltip-v2__arrow:before{border:var(--el-tooltip-v2-arrow-border-width) solid transparent;content:"";height:0;position:absolute;width:0}.el-tooltip-v2__arrow:after{border:var(--el-tooltip-v2-arrow-border-width) solid transparent;content:"";height:0;position:absolute;width:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow{bottom:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:before{border-bottom:0;border-top-color:var(--el-color-white);border-top-width:var(--el-tooltip-v2-arrow-border-width);top:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:after{border-bottom:0;border-top-color:var(--el-border-color);border-top-width:var(--el-tooltip-v2-arrow-border-width);top:100%;z-index:-1}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow{top:0}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:before{border-bottom-color:var(--el-color-white);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:after{border-bottom-color:var(--el-border-color);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:100%;z-index:-1}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow{right:0}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:before{border-left-color:var(--el-color-white);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:after{border-left-color:var(--el-border-color);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:100%;z-index:-1}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow{left:0}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:before{border-left:0;border-right-color:var(--el-color-white);border-right-width:var(--el-tooltip-v2-arrow-border-width);right:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:after{border-left:0;border-right-color:var(--el-border-color);border-right-width:var(--el-tooltip-v2-arrow-border-width);right:100%;z-index:-1}.el-tooltip-v2__content.is-dark{--el-tooltip-v2-border-color:transparent;color:var(--el-color-white)}.el-tooltip-v2__content.is-dark,.el-tooltip-v2__content.is-dark .el-tooltip-v2__arrow{background-color:var(--el-color-black);border-color:transparent}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;padding:0 30px;vertical-align:middle}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{background:var(--el-bg-color-overlay);box-sizing:border-box;display:inline-block;max-height:100%;overflow:hidden;position:relative;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width)}.el-transfer-panel__body{border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);height:var(--el-transfer-panel-body-height);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{box-sizing:border-box;height:var(--el-transfer-panel-body-height);list-style:none;margin:0;overflow:auto;padding:6px 0}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{display:block!important;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular)}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{box-sizing:border-box;display:block;line-height:var(--el-transfer-item-height);overflow:hidden;padding-left:22px;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{box-sizing:border-box;padding:15px;text-align:center}.el-transfer-panel__filter .el-input__inner{border-radius:calc(var(--el-transfer-filter-height)/2);box-sizing:border-box;display:inline-block;font-size:12px;height:var(--el-transfer-filter-height);width:100%}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{align-items:center;background:var(--el-transfer-panel-header-bg-color);border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black);display:flex;height:var(--el-transfer-panel-header-height);margin:0;padding-left:15px}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;display:flex;position:relative;width:100%}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{color:var(--el-text-color-primary);font-size:16px;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{color:var(--el-text-color-secondary);font-size:12px;font-weight:400;position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0)}.el-transfer-panel .el-transfer-panel__footer{background:var(--el-bg-color-overlay);border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);height:var(--el-transfer-panel-footer-height);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{color:var(--el-text-color-secondary);height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);margin:0;padding:6px 15px 0;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{border-radius:3px;height:14px;width:14px}.el-transfer-panel .el-checkbox__inner:after{height:6px;left:4px;width:3px}.el-tree{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder);background:var(--el-fill-color-blank);color:var(--el-tree-text-color);cursor:default;font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{height:100%;min-height:60px;position:relative;text-align:center;width:100%}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;left:0;position:absolute;right:0}.el-tree-node{outline:none;white-space:nowrap}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height:var(--el-tree-node-content-height);align-items:center;cursor:pointer;display:flex;height:var(--el-tree-node-content-height)}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{color:var(--el-tree-expand-icon-color);cursor:pointer;font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{color:var(--el-tree-expand-icon-color);font-size:var(--el-font-size-base);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:transparent;overflow:hidden}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;flex:1;height:20px;line-height:20px;padding-left:0}.el-upload{--el-upload-dragger-padding-horizontal:40px;--el-upload-dragger-padding-vertical:10px;align-items:center;cursor:pointer;display:inline-flex;justify-content:center;outline:none}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);font-size:12px;margin-top:7px}.el-upload iframe{filter:alpha(opacity=0);left:0;opacity:0;position:absolute;top:0;z-index:-1}.el-upload--picture-card{--el-upload-picture-card-size:148px;align-items:center;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:var(--el-upload-picture-card-size);justify-content:center;vertical-align:top;width:var(--el-upload-picture-card-size)}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;cursor:pointer;overflow:hidden;padding:var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);position:relative;text-align:center}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);font-size:67px;line-height:50px;margin-bottom:16px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary);padding:calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px)}.el-upload-list{list-style:none;margin:10px 0 0;padding:0;position:relative}.el-upload-list__item{border-radius:4px;box-sizing:border-box;color:var(--el-text-color-regular);font-size:14px;margin-bottom:5px;position:relative;transition:all .5s cubic-bezier(.55,0,.1,1);width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{color:var(--el-text-color-regular);cursor:pointer;display:none;opacity:.75;position:absolute;right:5px;top:50%;transform:translateY(-50%);transition:opacity var(--el-transition-duration)}.el-upload-list__item .el-icon--close:hover{color:var(--el-color-primary);opacity:1}.el-upload-list__item .el-icon--close-tip{color:var(--el-color-primary);cursor:pointer;display:none;font-size:12px;font-style:normal;opacity:1;position:absolute;right:5px;top:1px}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;flex-direction:column;justify-content:center;margin-left:4px;width:calc(100% - 30px)}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{align-items:center;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);padding:0 4px;text-align:center;transition:color var(--el-transition-duration)}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{align-items:center;display:none;height:100%;justify-content:center;line-height:inherit;position:absolute;right:5px;top:0;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{color:var(--el-text-color-regular);display:none;font-size:12px;position:absolute;right:10px;top:0}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size:148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:inline-flex;height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;overflow:hidden;padding:0;width:var(--el-upload-list-picture-card-size)}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:block;opacity:0}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{height:100%;object-fit:contain;width:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{align-items:center;background-color:var(--el-overlay-color-lighter);color:#fff;cursor:default;display:inline-flex;font-size:20px;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity var(--el-transition-duration);width:100%}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:1rem}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{color:inherit;font-size:inherit;position:static}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{bottom:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:flex;margin-top:10px;overflow:hidden;padding:10px;z-index:0}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{display:inline-flex;opacity:0}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{align-items:center;background-color:var(--el-color-white);display:inline-flex;height:70px;justify-content:center;object-fit:contain;position:relative;width:70px;z-index:1}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);height:26px;position:absolute;right:-17px;text-align:center;top:-7px;transform:rotate(45deg);width:46px}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{cursor:default;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:10}.el-upload-cover:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;height:100%;width:100%}.el-upload-cover__label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-cover__label i{color:#fff;font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-cover__progress{display:inline-block;position:static;vertical-align:middle;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{height:100%;left:0;position:absolute;top:0;width:100%}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);bottom:0;height:100%;left:0;position:absolute;text-align:center;width:100%}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;display:inline-block;font-size:14px;margin-top:60px;transition:var(--el-transition-md-fade);vertical-align:middle}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{background-color:#fff;bottom:0;color:var(--el-text-color-primary);font-size:14px;font-weight:400;height:36px;left:0;line-height:36px;margin:0;overflow:hidden;padding:0 10px;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper:hover .el-virtual-scrollbar,.el-vl__wrapper.always-on .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;z-index:2000}.el-popper.is-dark{background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary);color:var(--el-bg-color)}.el-popper.is-dark .el-popper__arrow:before{background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light .el-popper__arrow:before{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";height:10px;position:absolute;transform:rotate(45deg);width:10px;z-index:-1}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent!important;border-top-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{color:var(--el-statistic-title-color);font-size:var(--el-statistic-title-font-size);font-weight:var(--el-statistic-title-font-weight);line-height:20px;margin-bottom:4px}.el-statistic__content{color:var(--el-statistic-content-color);font-size:var(--el-statistic-content-font-size);font-weight:var(--el-statistic-content-font-weight)}.el-statistic__value{display:inline-block}.el-statistic__prefix{display:inline-block;margin-right:4px}.el-statistic__suffix{display:inline-block;margin-left:4px}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:transparent;border-right-color:transparent}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:transparent;border-left-color:transparent}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:rgba(255,255,255,.15)}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);border-radius:4px;opacity:0;position:absolute;z-index:0}.el-anchor.el-anchor--vertical .el-anchor__marker{height:14px;left:0;top:8px;transition:top .25s ease-in-out,opacity .25s;width:4px}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{background-color:rgba(5,5,5,.06);content:"";height:100%;left:0;position:absolute;width:2px}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{bottom:0;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;width:20px}.el-anchor.el-anchor--horizontal .el-anchor__list{display:flex;padding-bottom:4px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{background-color:rgba(5,5,5,.06);bottom:0;content:"";height:2px;position:absolute;width:100%}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{display:flex;flex-direction:column;overflow:hidden}.el-anchor__link{color:var(--el-anchor-color);cursor:pointer;font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);max-width:100%;outline:none;overflow:hidden;padding:4px 0;text-decoration:none;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap}.el-anchor__link:focus,.el-anchor__link:hover{color:var(--el-anchor-color)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);align-items:stretch;background:var(--el-segmented-bg-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-segmented-color);display:inline-flex;font-size:14px;min-height:32px;padding:var(--el-segmented-padding)}.el-segmented__group{align-items:stretch;display:flex;position:relative;width:100%}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);height:100%;left:0;pointer-events:none;position:absolute;top:0;transition:all .3s;width:10px}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{border-radius:inherit;content:"";top:0;right:0;bottom:0;left:0;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute}.el-segmented__item{align-items:center;border-radius:calc(var(--el-border-radius-base) - 2px);cursor:pointer;display:flex;flex:1;padding:0 11px}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{background:var(--el-segmented-item-hover-bg-color);color:var(--el-segmented-item-hover-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{color:var(--el-segmented-item-disabled-color);cursor:not-allowed}.el-segmented__item-input{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.el-segmented__item-label{flex:1;line-height:normal;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:color .3s;white-space:nowrap;z-index:1}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);font-size:16px;min-height:40px}.el-segmented--large .el-segmented__item,.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented__item{padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:14px;min-height:24px}.el-segmented--small .el-segmented__item,.el-segmented--small .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 3px)}.el-segmented--small .el-segmented__item{padding:0 7px}html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:#3375b9;--el-color-primary-light-5:#2a598a;--el-color-primary-light-7:#213d5b;--el-color-primary-light-8:#1d3043;--el-color-primary-light-9:#18222c;--el-color-primary-dark-2:#66b1ff;--el-color-success:#67c23a;--el-color-success-light-3:#4e8e2f;--el-color-success-light-5:#3e6b27;--el-color-success-light-7:#2d481f;--el-color-success-light-8:#25371c;--el-color-success-light-9:#1c2518;--el-color-success-dark-2:#85ce61;--el-color-warning:#e6a23c;--el-color-warning-light-3:#a77730;--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:#533f20;--el-color-warning-light-8:#3e301c;--el-color-warning-light-9:#292218;--el-color-warning-dark-2:#ebb563;--el-color-danger:#f56c6c;--el-color-danger-light-3:#b25252;--el-color-danger-light-5:#854040;--el-color-danger-light-7:#582e2e;--el-color-danger-light-8:#412626;--el-color-danger-light-9:#2b1d1d;--el-color-danger-dark-2:#f78989;--el-color-error:#f56c6c;--el-color-error-light-3:#b25252;--el-color-error-light-5:#854040;--el-color-error-light-7:#582e2e;--el-color-error-light-8:#412626;--el-color-error-light-9:#2b1d1d;--el-color-error-dark-2:#f78989;--el-color-info:#909399;--el-color-info-light-3:#6b6d71;--el-color-info-light-5:#525457;--el-color-info-light-7:#393a3c;--el-color-info-light-8:#2d2d2f;--el-color-info-light-9:#202121;--el-color-info-dark-2:#a6a9ad;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.36),0px 8px 20px rgba(0,0,0,.72);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.72);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.72);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.72),0px 12px 32px #000000,0px 8px 16px -8px #000000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#E5EAF3;--el-text-color-regular:#CFD3DC;--el-text-color-secondary:#A3A6AD;--el-text-color-placeholder:#8D9095;--el-text-color-disabled:#6C6E72;--el-border-color-darker:#636466;--el-border-color-dark:#58585B;--el-border-color:#4C4D4F;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2B2B2C;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393A;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1D1D1D;--el-fill-color-extra-light:#191919;--el-fill-color-blank:transparent;--el-mask-color:rgba(0,0,0,.8);--el-mask-color-extra-light:rgba(0,0,0,.3)}html.dark .el-button{--el-button-disabled-text-color:rgba(255,255,255,.5)}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }*,:before,:after{color-scheme:light;--ui-primary:15 15 15;--ui-text:252 252 252;--g-bg:#f2f2f2;--g-container-bg:#fff;--g-border-color:#f2f2f2;--g-header-bg:#fff;--g-header-color:#0f0f0f;--g-header-menu-color:#0f0f0f;--g-header-menu-hover-bg:#dde1e3;--g-header-menu-hover-color:#0f0f0f;--g-header-menu-active-bg:#0f0f0f;--g-header-menu-active-color:#fff;--g-main-sidebar-bg:#f2f2f2;--g-main-sidebar-menu-color:#0f0f0f;--g-main-sidebar-menu-hover-bg:#dde1e3;--g-main-sidebar-menu-hover-color:#0f0f0f;--g-main-sidebar-menu-active-bg:#0f0f0f;--g-main-sidebar-menu-active-color:#fff;--g-sub-sidebar-bg:#fff;--g-sub-sidebar-logo-bg:#0f0f0f;--g-sub-sidebar-logo-color:#fff;--g-sub-sidebar-menu-color:#0f0f0f;--g-sub-sidebar-menu-hover-bg:#dde1e3;--g-sub-sidebar-menu-hover-color:#0f0f0f;--g-sub-sidebar-menu-active-bg:#0f0f0f;--g-sub-sidebar-menu-active-color:#fff;--g-tabbar-dividers-bg:#a3a3a3;--g-tabbar-tab-color:#a3a3a3;--g-tabbar-tab-hover-bg:#e5e5e5;--g-tabbar-tab-hover-color:#0f0f0f;--g-tabbar-tab-active-color:#0f0f0f}::backdrop{color-scheme:light;--ui-primary:15 15 15;--ui-text:252 252 252;--g-bg:#f2f2f2;--g-container-bg:#fff;--g-border-color:#f2f2f2;--g-header-bg:#fff;--g-header-color:#0f0f0f;--g-header-menu-color:#0f0f0f;--g-header-menu-hover-bg:#dde1e3;--g-header-menu-hover-color:#0f0f0f;--g-header-menu-active-bg:#0f0f0f;--g-header-menu-active-color:#fff;--g-main-sidebar-bg:#f2f2f2;--g-main-sidebar-menu-color:#0f0f0f;--g-main-sidebar-menu-hover-bg:#dde1e3;--g-main-sidebar-menu-hover-color:#0f0f0f;--g-main-sidebar-menu-active-bg:#0f0f0f;--g-main-sidebar-menu-active-color:#fff;--g-sub-sidebar-bg:#fff;--g-sub-sidebar-logo-bg:#0f0f0f;--g-sub-sidebar-logo-color:#fff;--g-sub-sidebar-menu-color:#0f0f0f;--g-sub-sidebar-menu-hover-bg:#dde1e3;--g-sub-sidebar-menu-hover-color:#0f0f0f;--g-sub-sidebar-menu-active-bg:#0f0f0f;--g-sub-sidebar-menu-active-color:#fff;--g-tabbar-dividers-bg:#a3a3a3;--g-tabbar-tab-color:#a3a3a3;--g-tabbar-tab-hover-bg:#e5e5e5;--g-tabbar-tab-hover-color:#0f0f0f;--g-tabbar-tab-active-color:#0f0f0f}html.dark,html.dark *,html.dark :before,html.dark :after{color-scheme:dark;--ui-primary:229 229 229;--ui-text:15 15 15;--g-bg:#0a0a0a;--g-container-bg:#141414;--g-border-color:#15191e;--g-header-bg:#141414;--g-header-color:#e5e5e5;--g-header-menu-color:#a8a29e;--g-header-menu-hover-bg:#141414;--g-header-menu-hover-color:#e5e5e5;--g-header-menu-active-bg:#e5e5e5;--g-header-menu-active-color:#0a0a0a;--g-main-sidebar-bg:#0a0a0a;--g-main-sidebar-menu-color:#a8a29e;--g-main-sidebar-menu-hover-bg:#141414;--g-main-sidebar-menu-hover-color:#e5e5e5;--g-main-sidebar-menu-active-bg:#e5e5e5;--g-main-sidebar-menu-active-color:#0a0a0a;--g-sub-sidebar-bg:#141414;--g-sub-sidebar-logo-bg:#0f0f0f;--g-sub-sidebar-logo-color:#e5e5e5;--g-sub-sidebar-menu-color:#a8a29e;--g-sub-sidebar-menu-hover-bg:#0a0a0a;--g-sub-sidebar-menu-hover-color:#e5e5e5;--g-sub-sidebar-menu-active-bg:#e5e5e5;--g-sub-sidebar-menu-active-color:#0a0a0a;--g-tabbar-dividers-bg:#a8a29e;--g-tabbar-tab-color:#a8a29e;--g-tabbar-tab-hover-bg:#1b1b1b;--g-tabbar-tab-hover-color:#e5e5e5;--g-tabbar-tab-active-color:#e5e5e5}html.dark ::backdrop{color-scheme:dark;--ui-primary:229 229 229;--ui-text:15 15 15;--g-bg:#0a0a0a;--g-container-bg:#141414;--g-border-color:#15191e;--g-header-bg:#141414;--g-header-color:#e5e5e5;--g-header-menu-color:#a8a29e;--g-header-menu-hover-bg:#141414;--g-header-menu-hover-color:#e5e5e5;--g-header-menu-active-bg:#e5e5e5;--g-header-menu-active-color:#0a0a0a;--g-main-sidebar-bg:#0a0a0a;--g-main-sidebar-menu-color:#a8a29e;--g-main-sidebar-menu-hover-bg:#141414;--g-main-sidebar-menu-hover-color:#e5e5e5;--g-main-sidebar-menu-active-bg:#e5e5e5;--g-main-sidebar-menu-active-color:#0a0a0a;--g-sub-sidebar-bg:#141414;--g-sub-sidebar-logo-bg:#0f0f0f;--g-sub-sidebar-logo-color:#e5e5e5;--g-sub-sidebar-menu-color:#a8a29e;--g-sub-sidebar-menu-hover-bg:#0a0a0a;--g-sub-sidebar-menu-hover-color:#e5e5e5;--g-sub-sidebar-menu-active-bg:#e5e5e5;--g-sub-sidebar-menu-active-color:#0a0a0a;--g-tabbar-dividers-bg:#a8a29e;--g-tabbar-tab-color:#a8a29e;--g-tabbar-tab-hover-bg:#1b1b1b;--g-tabbar-tab-hover-color:#e5e5e5;--g-tabbar-tab-active-color:#e5e5e5}.i-ant-design\:caret-down-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ant-design\:caret-up-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-carbon\:chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-carbon\:close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.414 16L24 9.414L22.586 8L16 14.586L9.414 8L8 9.414L14.586 16L8 22.586L9.414 24L16 17.414L22.586 24L24 22.586z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-carbon\:user-avatar-filled-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 8a5 5 0 1 0 5 5a5 5 0 0 0-5-5'/%3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14.016 14.016 0 0 0 16 2m7.993 22.926A5 5 0 0 0 19 20h-6a5 5 0 0 0-4.992 4.926a12 12 0 1 1 15.985 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-codicon\:color-mode{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13V2a6 6 0 1 1 0 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ep\:arrow-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M831.872 340.864L512 652.672L192.128 340.864a30.59 30.59 0 0 0-42.752 0a29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728a30.59 30.59 0 0 0-42.752 0z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ep\:caret-bottom{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m192 384l320 384l320-384z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ep\:document-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ep\:search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-icon-park-outline\:to-top-one{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 48 48' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='m12 33l12-12l12 12M12 13h24'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-icon-park-twotone\:planet{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 48 48' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cdefs%3E%3Cmask id='ipTPlanet0'%3E%3Cg fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='4'%3E%3Cpath fill='%23555' d='M24 40c8.837 0 16-7.163 16-16S32.837 8 24 8S8 15.163 8 24s7.163 16 16 16Z'/%3E%3Cpath stroke-linecap='round' d='M37.564 15.51c4.22.368 7.115 1.662 7.686 3.796c1.144 4.268-7.443 10.277-19.18 13.421c-11.736 3.145-22.177 2.235-23.32-2.033c-.6-2.236 1.472-4.95 5.269-7.48'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Cpath fill='currentColor' d='M0 0h48v48H0z' mask='url(%23ipTPlanet0)'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-iconoir\:refresh-double{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M21.168 8A10 10 0 0 0 12 2c-5.185 0-9.45 3.947-9.95 9'/%3E%3Cpath d='M17 8h4.4a.6.6 0 0 0 .6-.6V3M2.881 16c1.544 3.532 5.068 6 9.168 6c5.186 0 9.45-3.947 9.951-9'/%3E%3Cpath d='M7.05 16h-4.4a.6.6 0 0 0-.6.6V21'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ion\:md-return-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M432.8 136v96H122.3l84.4-86.2-33.2-33.8L32 256l141.5 144 33.2-33.8-84.4-86.2H480V136h-47.2z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:close-fill,.i-ri\:close-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 10.587l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.415 1.414l-4.95-4.95l-4.949 4.95l-1.414-1.415l4.95-4.95l-4.95-4.95L7.05 5.638z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:copyright-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16.288 9.428A4.999 4.999 0 0 0 7 12a4.999 4.999 0 0 0 9.288 2.572l-1.715-1.028A3 3 0 1 1 12 9c1.093 0 2.05.584 2.573 1.457zM22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10s10-4.48 10-10M4 12c0-4.42 3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:external-link-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm11-3v9l-3.794-3.793l-5.999 6l-1.414-1.414l5.999-6L12 3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:file-text-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 8v12.993A1 1 0 0 1 20.007 22H3.993A.993.993 0 0 1 3 21.008V2.992C3 2.455 3.449 2 4.002 2h10.995zm-2 1h-5V4H5v16h14zM8 7h3v2H8zm0 4h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:fullscreen-exit-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18 7h4v2h-6V3h2zM8 9H2V7h4V3h2zm10 8v4h-2v-6h6v2zM8 15v6H6v-4H2v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:fullscreen-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8 3v2H4v4H2V3zM2 21v-6h2v4h4v2zm20 0h-6v-2h4v-4h2zm0-12h-2V5h-4V3h6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:moon-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2h.1A6.98 6.98 0 0 0 10 7m-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938A7.999 7.999 0 0 0 4 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:question-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m-1-5h2v2h-2zm2-1.645V14h-2v-1.5a1 1 0 0 1 1-1a1.5 1.5 0 1 0-1.471-1.794l-1.962-.393A3.501 3.501 0 1 1 13 13.355'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:refresh-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:search-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m18.031 16.617l4.283 4.282l-1.415 1.415l-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9s9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617m-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.867-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7a6.977 6.977 0 0 0 4.875-1.975z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-ri\:sun-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12m0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-tabler\:mood-empty{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m6-2h.01M15 10h.01M9 15h6'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.i-uiw\:setting-o{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 20 20' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11.078 0c.294 0 .557.183.656.457l.706 1.957c.253.063.47.126.654.192c.201.072.46.181.78.33l1.644-.87a.702.702 0 0 1 .832.131l1.446 1.495c.192.199.246.49.138.744l-.771 1.807c.128.235.23.436.308.604c.084.183.188.435.312.76l1.797.77c.27.115.437.385.419.674l-.132 2.075a.69.69 0 0 1-.46.605l-1.702.605c-.049.235-.1.436-.154.606a8.79 8.79 0 0 1-.298.774l.855 1.89a.683.683 0 0 1-.168.793l-1.626 1.452a.703.703 0 0 1-.796.096l-1.676-.888a7.23 7.23 0 0 1-.81.367l-.732.274l-.65 1.8a.696.696 0 0 1-.64.457L9.11 20a.697.697 0 0 1-.669-.447l-.766-2.027a14.625 14.625 0 0 1-.776-.29a9.987 9.987 0 0 1-.618-.293l-1.9.812a.702.702 0 0 1-.755-.133L2.22 16.303a.683.683 0 0 1-.155-.783l.817-1.78a9.517 9.517 0 0 1-.302-.644a14.395 14.395 0 0 1-.3-.811L.49 11.74a.69.69 0 0 1-.49-.683l.07-1.921a.688.688 0 0 1 .392-.594L2.34 7.64c.087-.319.163-.567.23-.748a8.99 8.99 0 0 1 .314-.712L2.07 4.46a.683.683 0 0 1 .15-.79l1.404-1.326a.702.702 0 0 1 .75-.138l1.898.784c.21-.14.4-.253.572-.344c.205-.109.479-.223.824-.346l.66-1.841A.696.696 0 0 1 8.984 0zm-.49 1.377H9.475L8.87 3.071a.693.693 0 0 1-.434.423c-.436.145-.751.27-.935.367c-.195.103-.444.26-.74.47a.703.703 0 0 1-.673.074l-1.83-.755l-.713.674l.743 1.57a.68.68 0 0 1-.006.597c-.2.401-.335.697-.403.879a10.31 10.31 0 0 0-.27.922a.69.69 0 0 1-.37.45l-1.79.859l-.036.98l1.62.492c.215.065.385.23.456.442c.16.48.288.834.38 1.056a10 10 0 0 0 .404.827a.68.68 0 0 1 .019.606l-.751 1.638l.711.668l1.782-.762a.703.703 0 0 1 .603.024c.365.192.637.325.809.398c.175.073.51.195.996.361a.693.693 0 0 1 .424.41l.708 1.871l.926-.02l.597-1.654a.692.692 0 0 1 .409-.413l1.037-.388c.262-.097.58-.25.951-.46a.703.703 0 0 1 .674-.008l1.577.835l.887-.791L15.856 14a.681.681 0 0 1-.001-.56c.182-.407.305-.714.367-.91c.061-.192.124-.469.185-.825a.69.69 0 0 1 .451-.533l1.648-.585l.072-1.14l-1.62-.694a.692.692 0 0 1-.377-.394a15.337 15.337 0 0 0-.378-.944a11.01 11.01 0 0 0-.42-.794a.682.682 0 0 1-.035-.606l.725-1.7l-.764-.79l-1.488.788a.703.703 0 0 1-.633.013a11.296 11.296 0 0 0-.968-.426a7.185 7.185 0 0 0-.857-.23a.694.694 0 0 1-.508-.441zm-.564 4.264c2.435 0 4.41 1.953 4.41 4.361c0 2.408-1.975 4.36-4.41 4.36c-2.436 0-4.41-1.952-4.41-4.36c0-2.408 1.974-4.36 4.41-4.36m0 1.378c-1.667 0-3.018 1.335-3.018 2.983c0 1.648 1.351 2.984 3.018 2.984c1.666 0 3.017-1.336 3.017-2.984s-1.35-2.983-3.017-2.983'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}[i-ant-design\:caret-up-filled~="default:"]:default{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em}.flex-center,[flex-center=""],[flex~=center]{display:flex;align-items:center;justify-content:center}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed,[fixed=""]{position:fixed}.relative,[relative=""]{position:relative}.sticky{position:sticky}.before\:absolute:before{position:absolute}.after\:absolute:after{position:absolute}.static{position:static}.inset-0{top:0;right:0;bottom:0;left:0}.end-0{inset-inline-end:0}.inset-y-0{top:0;bottom:0}.bottom-2,.inset-b-2{bottom:.5rem}.inset-l-5\.5{left:1.375rem}.inset-l-8{left:2rem}.inset-r-2,.right-2{right:.5rem}.inset-t-2,.top-2{top:.5rem}.inset-t-4\.5,.top-4\.5{top:1.125rem}.-top-\[1\.5px\]{top:-1.5px}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-\[50\%\]{left:50%}.left-2{left:.5rem}.left-4\.5{left:1.125rem}.right-4{right:1rem}.top-\[50\%\]{top:50%}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.z-1000{z-index:1000}.z-2000{z-index:2000}.z-3000{z-index:3000}.z-4{z-index:4}.grid{display:grid}[rows~="1"]{grid-template-rows:repeat(1,minmax(0,1fr))}[rows~="10"]{grid-template-rows:repeat(10,minmax(0,1fr))}[rows~="12"]{grid-template-rows:repeat(12,minmax(0,1fr))}[rows~="3"]{grid-template-rows:repeat(3,minmax(0,1fr))}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}[rows~="5"]{grid-template-rows:repeat(5,minmax(0,1fr))}[rows~="6"]{grid-template-rows:repeat(6,minmax(0,1fr))}[rows~="8"]{grid-template-rows:repeat(8,minmax(0,1fr))}.m-0,[m-0=""]{margin:0}.m-2,[m-2=""]{margin:.5rem}.m-3{margin:.75rem}.m-4{margin:1rem}.mx-0{margin-left:0;margin-right:0}.mx-12{margin-left:3rem;margin-right:3rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-5{margin-left:1.25rem}.ml-a{margin-left:auto}.mr-\[4px\]{margin-right:4px}.mr-3{margin-right:.75rem}.mr-5{margin-right:1.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-5,[mt-5=""]{margin-top:1.25rem}.last\:mr-0:last-child{margin-right:0}.inline{display:inline}.block,[block=""]{display:block}.inline-block{display:inline-block}.hidden{display:none}.empty-hidden:empty{display:none}[size~="120"]{width:30rem;height:30rem}[size~="14"]{width:3.5rem;height:3.5rem}[size~="18"]{width:4.5rem;height:4.5rem}[size~="20"]{width:5rem;height:5rem}[size~="24"]{width:6rem;height:6rem}[size~="40"]{width:10rem;height:10rem}.h-\[1em\]{height:1em}.h-\[24px\]{height:24px}.h-\[30px\]{height:30px}.h-\[80px\]{height:80px}.h-\[var\(--g-sidebar-logo-height\)\]{height:var(--g-sidebar-logo-height)}.h-0{height:0}.h-10{height:2.5rem}.h-12{height:3rem}.h-1px{height:1px}.h-2,.h2{height:.5rem}.h-3,.h3{height:.75rem}.h-4{height:1rem}.h-5,.h5{height:1.25rem}.h-6{height:1.5rem}.h-full{height:100%}.h1{height:.25rem}.max-h-\[90vh\]{max-height:90vh}.max-h-4\/5{max-height:80%}.max-h-60{max-height:15rem}.max-w-\[300px\]{max-width:300px}.max-w-md,[max-w-md=""]{max-width:28rem}.min-h-\[60vh\]{min-height:60vh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.min-w-\[24px\]{min-width:24px}.min-w-\[40vw\]{min-width:40vw}.w-\[10px\]{width:10px}.w-\[1em\]{width:1em}.w-\[200px\]{width:200px}.w-\[24px\]{width:24px}.w-\[30px\]{width:30px}.w-\[64px\]{width:64px}.w-0{width:0}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-60{width:15rem}.w-auto{width:auto}.w-full,[w-full=""]{width:100%}.w-inherit{width:inherit}.w-screen,[w-screen=""]{width:100vw}.before\:h-\[1\.5px\]:before{height:1.5px}.before\:w-\[6px\]:before{width:6px}.after\:h-\[1\.5px\]:after{height:1.5px}.after\:w-\[6px\]:after{width:6px}.flex,[flex=""],[flex~="~"]{display:flex}.flex-inline,.inline-flex{display:inline-flex}.flex-\[1_1_70\%\]{flex:1 1 70%}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.basis-16,[basis-16=""]{flex-basis:4rem}.flex-row\!{flex-direction:row!important}.flex-col,[flex-col=""],[flex~=col]{flex-direction:column}.flex-wrap{flex-wrap:wrap}.-translate-x-50\%{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-full{--un-translate-x:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-50\%{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-0{--un-translate-x:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-4{--un-translate-x:1rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-5{--un-translate-x:1.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-full{--un-translate-x:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-0{--un-translate-y:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-4{--un-translate-y:1rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.before\:-translate-x-\[2px\]:before{--un-translate-x:-2px;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.before\:-translate-y-\[1px\]:before{--un-translate-y:-1px;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.after\:-translate-y-\[1px\]:after{--un-translate-y:-1px;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.after\:translate-x-\[2px\]:after{--un-translate-x:2px;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-rotate-90{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:-90deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.before\:-rotate-45:before{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:-45deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.before\:rotate-45:before{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:45deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.after\:-rotate-45:after{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:-45deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.after\:rotate-45:after{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:45deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-rotate-z-180{--un-rotate:0;--un-rotate-z:-180deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-120,.group:hover .group-hover-scale-120{--un-scale-x:1.2;--un-scale-y:1.2;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-default{cursor:default}.cursor-help{cursor:help}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.disabled-cursor-not-allowed:disabled{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.scroll-py-1{scroll-padding-top:.25rem;scroll-padding-bottom:.25rem}.list-none{list-style-type:none}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center,[flex~=items-center],[items-center=""]{align-items:center}.justify-end,[flex~=justify-end]{justify-content:flex-end}[justify-end~="default:"]:default{justify-content:flex-end}.justify-center{justify-content:center}.justify-between,[flex~=justify-between]{justify-content:space-between}.gap-\[12px\]{gap:12px}.gap-\[2px\]{gap:2px}.gap-1{gap:.25rem}.gap-1\!{gap:.25rem!important}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.of-hidden,.overflow-hidden{overflow:hidden}.of-y-hidden,[of-y-hidden=""]{overflow-y:hidden}.overflow-y-auto,[overflow-y-auto=""]{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[truncate~="default:"]:default{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.break-keep{word-break:keep-all}.b,.border,[border=""]{border-width:1px}.border-0,.border-size-0{border-width:0px}.border-2{border-width:2px}.border-b,.border-b-1,[border-b~="~"]{border-bottom-width:1px}.border-l,[border-l~="~"]{border-left-width:1px}.border-t,[border-t~="~"]{border-top-width:1px}.last-b-b-size-0:last-child{border-bottom-width:0px}.border-transparent{border-color:transparent}.border-ui-primary{--un-border-opacity:1;border-color:rgb(var(--ui-primary) / var(--un-border-opacity))}.b-b-stone-2,[border-b~=stone-2]{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(231 229 228 / var(--un-border-bottom-opacity))}.border-b-\[var\(--g-bg\)\]{border-bottom-color:var(--g-bg)}.dark .dark-b-b-stone-7{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(68 64 60 / var(--un-border-bottom-opacity))}[border-b~="stone/15"]{border-bottom-color:rgba(168,162,158,.15)}[border-l~=stone-2]{--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgb(231 229 228 / var(--un-border-left-opacity))}[border-t~=stone-2]{--un-border-opacity:1;--un-border-top-opacity:var(--un-border-opacity);border-top-color:rgb(231 229 228 / var(--un-border-top-opacity))}[border-t~="stone/15"]{border-top-color:rgba(168,162,158,.15)}.rounded,[rounded=""]{border-radius:.25rem}.rounded-2,.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-bl-1{border-bottom-left-radius:.25rem}.rounded-br-1{border-bottom-right-radius:.25rem}.rounded-tl-1{border-top-left-radius:.25rem}.rounded-tr-1{border-top-right-radius:.25rem}.border-dashed{border-style:dashed}.b-b-solid,.border-b-solid,[border-b~=solid]{border-bottom-style:solid}[border-l~=solid]{border-left-style:solid}[border-t~=solid]{border-top-style:solid}.bg-\[var\(--g-container-bg\)\]{background-color:var(--g-container-bg)}.bg-\[var\(--g-header-menu-active-bg\)\]\!{background-color:var(--g-header-menu-active-bg)!important}.bg-\[var\(--g-main-sidebar-menu-active-bg\)\]\!{background-color:var(--g-main-sidebar-menu-active-bg)!important}.bg-\[var\(--g-sub-sidebar-bg\)\]{background-color:var(--g-sub-sidebar-bg)}.bg-\[var\(--g-sub-sidebar-menu-active-bg\)\]\!{background-color:var(--g-sub-sidebar-menu-active-bg)!important}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246 / var(--un-bg-opacity))}.bg-gray-50{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity))}.bg-inherit{background-color:inherit}.bg-rose\/20{background-color:rgba(251,113,133,.2)}.bg-stone-1,[bg-stone-1=""]{--un-bg-opacity:1;background-color:rgb(245 245 244 / var(--un-bg-opacity))}.bg-stone-2,[bg-stone-2=""]{--un-bg-opacity:1;background-color:rgb(231 229 228 / var(--un-bg-opacity))}.bg-stone-2\/40{background-color:rgba(231,229,228,.4)}.bg-stone-2\/75,.bg-stone-200\/75{background-color:rgba(231,229,228,.75)}.bg-stone-3{--un-bg-opacity:1;background-color:rgb(214 211 209 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-ui-primary{--un-bg-opacity:1;background-color:rgb(var(--ui-primary) / var(--un-bg-opacity))}.bg-ui-primary\/20{background-color:rgb(var(--ui-primary) / .2)}.bg-ui-primary\/60{background-color:rgb(var(--ui-primary) / .6)}.bg-white,[bg-white=""]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark-bg-dark{--un-bg-opacity:1;background-color:rgb(34 34 34 / var(--un-bg-opacity))}.dark .dark-bg-dark-9{--un-bg-opacity:1;background-color:rgb(15 15 15 / var(--un-bg-opacity))}.dark .dark-bg-stone-6{--un-bg-opacity:1;background-color:rgb(87 83 78 / var(--un-bg-opacity))}.dark .dark-bg-stone-7,.dark [dark-bg-stone-7=""]{--un-bg-opacity:1;background-color:rgb(68 64 60 / var(--un-bg-opacity))}.dark .dark-bg-stone-7\/40{background-color:rgba(68,64,60,.4)}.dark .dark-bg-stone-8,.dark [dark-bg-stone-8=""]{--un-bg-opacity:1;background-color:rgb(41 37 36 / var(--un-bg-opacity))}.dark .dark-bg-stone-8\/75{background-color:rgba(41,37,36,.75)}.dark .dark-bg-stone-9,.dark [dark-bg-stone-9=""]{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.dark .dark-hover-bg-dark\/50:hover{background-color:rgba(34,34,34,.5)}.dark .dark-hover-bg-stone-8:hover{--un-bg-opacity:1;background-color:rgb(41 37 36 / var(--un-bg-opacity))}.dark .dark-hover-bg-stone-9:hover{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.dark .dark-hover-not-disabled-bg-stone-9:not(:disabled):hover{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.dark .dark-hover-not-disabled-bg-ui-primary\/10:not(:disabled):hover{background-color:rgb(var(--ui-primary) / .1)}.hover-bg-\[var\(--g-header-menu-hover-bg\)\]:hover{background-color:var(--g-header-menu-hover-bg)}.hover-bg-\[var\(--g-main-sidebar-menu-hover-bg\)\]:hover{background-color:var(--g-main-sidebar-menu-hover-bg)}.hover-bg-\[var\(--g-sub-sidebar-menu-hover-bg\)\]:hover{background-color:var(--g-sub-sidebar-menu-hover-bg)}.hover-bg-stone-1:hover{--un-bg-opacity:1;background-color:rgb(245 245 244 / var(--un-bg-opacity))}.hover-bg-stone-2:hover{--un-bg-opacity:1;background-color:rgb(231 229 228 / var(--un-bg-opacity))}.hover-bg-ui-primary\/75:hover{background-color:rgb(var(--ui-primary) / .75)}.hover-not-disabled-bg-stone-1:not(:disabled):hover{--un-bg-opacity:1;background-color:rgb(245 245 244 / var(--un-bg-opacity))}.hover-not-disabled-bg-ui-primary:not(:disabled):hover{--un-bg-opacity:1;background-color:rgb(var(--ui-primary) / var(--un-bg-opacity))}.hover-not-disabled-bg-ui-primary\/10:not(:disabled):hover{background-color:rgb(var(--ui-primary) / .1)}[hover-bg-stone-2=""]:hover{--un-bg-opacity:1;background-color:rgb(231 229 228 / var(--un-bg-opacity))}.disabled-bg-ui-primary\/90:disabled{background-color:rgb(var(--ui-primary) / .9)}.before\:bg-current:before{background-color:currentColor}.after\:bg-current:after{background-color:currentColor}.from-transparent{--un-gradient-from-position:0%;--un-gradient-from:transparent var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgb(255 255 255 / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.to-\[var\(--g-container-bg\)\]{--un-gradient-to-position:100%;--un-gradient-to:var(--g-container-bg) var(--un-gradient-to-position)}.bg-gradient-to-b{--un-gradient-shape:to bottom;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient))}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-1{padding:.25rem}.p-2,[p-2=""]{padding:.5rem}.p-4,[p-4=""]{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px,.px-4,[px-4=""]{padding-left:1rem;padding-right:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\!{padding-left:.5rem!important;padding-right:.5rem!important}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3,[px-3=""]{padding-left:.75rem;padding-right:.75rem}.px-3\!{padding-left:.75rem!important;padding-right:.75rem!important}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2,[py-2=""]{padding-top:.5rem;padding-bottom:.5rem}.py-3,[py-3=""]{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6,[py-6=""]{padding-top:1.5rem;padding-bottom:1.5rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pe-2\.5{padding-inline-end:.625rem}.pe-9{padding-inline-end:2.25rem}.pl-0{padding-left:0}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pr-16{padding-right:4rem}.pt-10{padding-top:2.5rem}.text-center{text-align:center}.text-left{text-align:left}.vertical-middle{vertical-align:middle}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[300px\]{font-size:300px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-6,[text-6=""]{font-size:1.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-base,[text-base=""]{font-size:1rem;line-height:1.5rem}.text-lg,[text-lg=""]{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-sm\/6{font-size:.875rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}[text-xs~="default:"]:default{font-size:.75rem;line-height:1rem}.dark .dark-text-dark,.text-dark,[text-dark=""],.group:hover .group-hover-text-dark{--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity))}.dark .dark-text-stone-3{--un-text-opacity:1;color:rgb(214 211 209 / var(--un-text-opacity))}.dark .dark-text-white,.dark [dark-text-white=""],.text-white,.dark .group:hover .dark-group-hover-text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-\[var\(--g-header-menu-active-color\)\]\!{color:var(--g-header-menu-active-color)!important}.text-\[var\(--g-header-menu-color\)\]{color:var(--g-header-menu-color)}.text-\[var\(--g-main-sidebar-menu-active-color\)\]\!{color:var(--g-main-sidebar-menu-active-color)!important}.text-\[var\(--g-main-sidebar-menu-color\)\]{color:var(--g-main-sidebar-menu-color)}.text-\[var\(--g-sub-sidebar-menu-active-color\)\]\!{color:var(--g-sub-sidebar-menu-active-color)!important}.text-\[var\(--g-sub-sidebar-menu-color\)\]{color:var(--g-sub-sidebar-menu-color)}.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-gray-900{--un-text-opacity:1;color:rgb(17 24 39 / var(--un-text-opacity))}.text-orange{--un-text-opacity:1;color:rgb(251 146 60 / var(--un-text-opacity))}.text-stone-5,[text-stone-5=""]{--un-text-opacity:1;color:rgb(120 113 108 / var(--un-text-opacity))}.text-stone-7{--un-text-opacity:1;color:rgb(68 64 60 / var(--un-text-opacity))}.text-ui-primary{--un-text-opacity:1;color:rgb(var(--ui-primary) / var(--un-text-opacity))}.text-ui-primary\/80{color:rgb(var(--ui-primary) / .8)}.text-ui-text{--un-text-opacity:1;color:rgb(var(--ui-text) / var(--un-text-opacity))}.dark .dark-hover-text-light:hover{--un-text-opacity:1;color:rgb(246 246 246 / var(--un-text-opacity))}.hover-not-disabled-text-ui-text:not(:disabled):hover{--un-text-opacity:1;color:rgb(var(--ui-text) / var(--un-text-opacity))}.hover-text-\[var\(--g-header-menu-hover-color\)\]:hover{color:var(--g-header-menu-hover-color)}.hover-text-\[var\(--g-main-sidebar-menu-hover-color\)\]:hover{color:var(--g-main-sidebar-menu-hover-color)}.hover-text-\[var\(--g-sub-sidebar-menu-hover-color\)\]:hover{color:var(--g-sub-sidebar-menu-hover-color)}.hover-text-dark:hover{--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity))}.c-rose{--un-text-opacity:1;color:rgb(251 113 133 / var(--un-text-opacity))}.text-inherit{color:inherit}.font-500,.font-medium{font-weight:500}.font-bold{font-weight:700}.leading-\[1em\]{line-height:1em}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.no-underline{text-decoration:none}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.op-30{opacity:.3}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.hover-op-100:hover,.hover-opacity-100:hover{opacity:1}.disabled-opacity-50:disabled{opacity:.5}.disabled-opacity-75:disabled{opacity:.75}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-2xl{--un-shadow:var(--un-shadow-inset) 0 25px 50px -12px var(--un-shadow-color, rgb(0 0 0 / .25));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-xl{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible-outline-0:focus-visible{outline-width:0px}.outline,[outline=""]{outline-style:solid}.focus-outline-none:focus{outline:2px solid transparent;outline-offset:2px}[focus-outline-none=""]:focus{outline:2px solid transparent;outline-offset:2px}.ring-0{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.ring-1{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.ring-2{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.hover-ring-1:hover{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-ring-2:focus{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible-ring-2:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible-ring-offset-2:focus-visible{--un-ring-offset-width:2px}.dark .dark-ring-stone-7{--un-ring-opacity:1;--un-ring-color:rgb(68 64 60 / var(--un-ring-opacity))}.dark .dark-ring-stone-8{--un-ring-opacity:1;--un-ring-color:rgb(41 37 36 / var(--un-ring-opacity))}.ring-stone-2{--un-ring-opacity:1;--un-ring-color:rgb(231 229 228 / var(--un-ring-opacity))}.ring-stone-3{--un-ring-opacity:1;--un-ring-color:rgb(214 211 209 / var(--un-ring-opacity))}.ring-ui-primary{--un-ring-opacity:1;--un-ring-color:rgb(var(--ui-primary) / var(--un-ring-opacity))}.focus-ring-ui-primary:focus{--un-ring-opacity:1;--un-ring-color:rgb(var(--ui-primary) / var(--un-ring-opacity))}.dark .dark-focus-visible-ring-offset-gray-900:focus-visible{--un-ring-offset-opacity:1;--un-ring-offset-color:rgb(17 24 39 / var(--un-ring-offset-opacity))}.focus-visible-ring-offset-white:focus-visible{--un-ring-offset-opacity:1;--un-ring-offset-color:rgb(255 255 255 / var(--un-ring-offset-opacity))}.ring-inset{--un-ring-inset:inset}.focus-visible-ring-inset:focus-visible{--un-ring-inset:inset}.backdrop-blur-sm{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition,[transition=""]{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-background-color{transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-background-color-300{transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.transition-border-color-300{transition-property:border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.transition-height{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow-300{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.before\:transition-transform-200:before{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.after\:transition-transform-200:after{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}[delay~="0"]{transition-delay:0s}[delay~="200"]{transition-delay:.2s}[delay~="500"]{transition-delay:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.content-empty{content:""}.before\:content-empty:before{content:""}.after\:content-empty:after{content:""}.dark .dark-placeholder-stone-5::-moz-placeholder{--un-placeholder-opacity:1;color:rgb(120 113 108 / var(--un-placeholder-opacity))}.dark .dark-placeholder-stone-5::placeholder{--un-placeholder-opacity:1;color:rgb(120 113 108 / var(--un-placeholder-opacity))}.placeholder-stone-4::-moz-placeholder{--un-placeholder-opacity:1;color:rgb(168 162 158 / var(--un-placeholder-opacity))}.placeholder-stone-4::placeholder{--un-placeholder-opacity:1;color:rgb(168 162 158 / var(--un-placeholder-opacity))}@media (min-width: 640px){.sm-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.lg-my-8{margin-top:2rem;margin-bottom:2rem}.lg-max-w-2xl{max-width:42rem}.lg-max-w-lg{max-width:32rem}.lg-w-48{width:12rem}.lg-flex-row{flex-direction:row}.lg-translate-y-0{--un-translate-y:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lg-scale-100{--un-scale-x:1;--un-scale-y:1;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lg-scale-95{--un-scale-x:.95;--un-scale-y:.95;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.lg-items-center{align-items:center}.lg-gap-12{gap:3rem}.lg-text-\[400px\]{font-size:400px}}:root{--g-header-height: 60px;--g-main-sidebar-width: 80px;--g-sub-sidebar-width: 220px;--g-sub-sidebar-collapse-width: 64px;--g-sidebar-logo-height: 50px;--g-tabbar-height: 50px;--g-toolbar-height: 50px}:root{--g-box-shadow-color: rgb(0 0 0 / 12%)}:root::view-transition-old(root),:root::view-transition-new(root){mix-blend-mode:normal;animation:none}:root::view-transition-old(root){z-index:1}:root::view-transition-new(root){z-index:9999}:root.dark{--g-box-shadow-color: rgb(0 0 0 / 72%)}:root.dark::view-transition-old(root){z-index:9999}:root.dark::view-transition-new(root){z-index:1}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4);background-clip:padding-box;border:3px solid transparent;border-radius:6px}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.5)}::-webkit-scrollbar-track{background-color:transparent}html,body{height:100%}body{box-sizing:border-box;margin:0;font-family:Lato,PingFang SC,Microsoft YaHei,sans-serif;background-color:var(--g-container-bg);-webkit-tap-highlight-color:transparent}body.overflow-hidden{overflow:hidden}*{box-sizing:inherit}[data-fixed-calc-width]{position:fixed;right:0;left:50%;width:calc(100% - var(--g-main-sidebar-actual-width) - var(--g-sub-sidebar-actual-width));transform:translate(-50%) translate(calc(var(--g-main-sidebar-actual-width) / 2)) translate(calc(var(--g-sub-sidebar-actual-width) / 2))}[data-mode=mobile] [data-fixed-calc-width]{width:100%!important;transform:translate(-50%)!important}textarea{font-family:inherit}.v-popper--theme-dropdown,.v-popper--theme-tooltip{display:inline-flex}.v-popper--theme-dropdown .v-popper__inner,.v-popper--theme-tooltip .v-popper__inner{border-width:1px;border-color:rgba(168,162,158,.2);border-radius:.25rem;border-style:solid;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));font-size:.75rem;line-height:1rem;--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity));font-weight:400;--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(229 231 235 / var(--un-ring-opacity));box-shadow:0 6px 30px rgba(0,0,0,.1)}.dark .v-popper--theme-dropdown .v-popper__inner,.dark .v-popper--theme-tooltip .v-popper__inner{--un-bg-opacity:1;background-color:rgb(41 37 36 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(31 41 55 / var(--un-ring-opacity))}.v-popper--theme-tooltip .v-popper__arrow-inner,.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .v-popper--theme-tooltip .v-popper__arrow-inner,.dark .v-popper--theme-dropdown .v-popper__arrow-inner{--un-border-opacity:1;border-color:rgb(41 37 36 / var(--un-border-opacity))}.v-popper--theme-tooltip .v-popper__arrow-outer,.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:rgba(168,162,158,.2)}.v-popper--theme-tooltip.v-popper--shown,.v-popper--theme-tooltip.v-popper--shown *{transition:none!important}[data-overlayscrollbars-contents]{overscroll-behavior:contain} diff --git a/public/admin/assets/index-DoMEixLv.css.br b/public/admin/assets/index-DoMEixLv.css.br new file mode 100644 index 0000000..528b7e1 Binary files /dev/null and b/public/admin/assets/index-DoMEixLv.css.br differ diff --git a/public/admin/assets/index-DoMEixLv.css.gz b/public/admin/assets/index-DoMEixLv.css.gz new file mode 100644 index 0000000..2eba01b Binary files /dev/null and b/public/admin/assets/index-DoMEixLv.css.gz differ diff --git a/public/admin/assets/index-Dw8pX3Wj.js b/public/admin/assets/index-Dw8pX3Wj.js new file mode 100644 index 0000000..18bc3ed --- /dev/null +++ b/public/admin/assets/index-Dw8pX3Wj.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BYv-_Pjb.js";import"./sub.vue_vue_type_script_setup_true_lang-JHc32bNx.js";import"./index-B-LUCRde.js";import"./item.vue_vue_type_script_setup_true_lang-DaXPxrm0.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-KLGAyf4z.js";export{o as default}; diff --git a/public/admin/assets/index-Dw8pX3Wj.js.br b/public/admin/assets/index-Dw8pX3Wj.js.br new file mode 100644 index 0000000..4a2bde8 --- /dev/null +++ b/public/admin/assets/index-Dw8pX3Wj.js.br @@ -0,0 +1 @@ +=a0WfwF$"BԢv9KEva<[)@NJ+2QlS{(tu]*$Q/[pnUίzyl+>O4]b /I \ No newline at end of file diff --git a/public/admin/assets/index-Dw8pX3Wj.js.gz b/public/admin/assets/index-Dw8pX3Wj.js.gz new file mode 100644 index 0000000..92e4439 Binary files /dev/null and b/public/admin/assets/index-Dw8pX3Wj.js.gz differ diff --git a/public/admin/assets/index-HxeUcFuX.js b/public/admin/assets/index-HxeUcFuX.js new file mode 100644 index 0000000..e3aeb32 --- /dev/null +++ b/public/admin/assets/index-HxeUcFuX.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{d as ce,r as f,m as x,a as fe,n as r,q as _e,g as w,c as z,b as l,w as t,F as H,s as K,i as k,h as u,y as be,z as j,t as b,e as I,K as U,E as D,k as G}from"./index-B-LUCRde.js";import{n as J}from"./index-J5zVJPyL.js";import{u as Q}from"./utcformatTime-Bq4gDWNx.js";const ge=I("div",{class:"flex items-center gap-4"},"用户信息列表",-1),we={class:"input-with-text"},ve={class:"input-with-text"},Ce={class:"input-with-text"},ye=ce({__name:"index",setup(he){const A=f(),R=f(0),y=f(!1),h=f(!1),v=f(!1),M=f(0),S=f(),g=x({status:"0",id:0}),p=x({model3Count:0,model4Count:0,drawMjCount:0}),i=x({username:"",email:"",status:"",phone:"",page:1,size:15}),W={0:"Inactive",1:"Active",2:"Banned",3:"Suspended"},X=x({model3Count:[{required:!0,message:"请填写调整的基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写调整的高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写调整的绘画积分额度",trigger:"blur"}]}),q=f([]);async function _(){try{h.value=!0;const n=await U.queryAllUser(i),{rows:a,count:C}=n.data;h.value=!1,R.value=C,q.value=a}catch{h.value=!1}}function Z(n){y.value=!0,g.status=n.status.toString(),g.id=n.id}function E(n){v.value=!0,M.value=n.id}async function ee(){(await U.updateUserStatus(g)).success&&D({type:"success",message:"变更用户状态成功!"}),y.value=!1,_()}function le(n){n==null||n.resetFields(),_()}async function te(n){const{id:a,email:C}=n;(await U.resetUserPassword({id:a})).success&&D({type:"success",message:`重置用户[${C}密码为初始密码为[123456]完成!`})}function ae(n){M.value=0,n==null||n.resetFields()}async function ne(n){n==null||n.validate(async a=>{a&&(await U.sendUserCrami({...p,userId:M.value}),D.success("调整成功!"),v.value=!1,_())})}return fe(()=>_()),(n,a)=>{const C=me,V=r("el-input"),d=r("el-form-item"),P=r("el-option"),B=r("el-select"),m=r("el-button"),T=r("el-form"),L=pe,oe=r("el-avatar"),o=r("el-table-column"),F=r("el-tag"),se=r("el-popconfirm"),ue=r("el-table"),re=r("el-pagination"),ie=r("el-row"),N=r("el-dialog"),$=r("el-input-number"),de=_e("loading");return w(),z("div",null,[l(C,null,{title:t(()=>[ge]),_:1}),l(L,null,{default:t(()=>[l(T,{ref_key:"formRef",ref:A,inline:!0,model:i},{default:t(()=>[l(d,{label:"用户名称",prop:"username"},{default:t(()=>[l(V,{modelValue:i.username,"onUpdate:modelValue":a[0]||(a[0]=e=>i.username=e),placeholder:"用户姓名[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户邮箱",prop:"email"},{default:t(()=>[l(V,{modelValue:i.email,"onUpdate:modelValue":a[1]||(a[1]=e=>i.email=e),placeholder:"用户邮箱[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"手机号码",prop:"phone"},{default:t(()=>[l(V,{modelValue:i.phone,"onUpdate:modelValue":a[2]||(a[2]=e=>i.phone=e),placeholder:"手机号码[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户状态",prop:"status"},{default:t(()=>[l(B,{modelValue:i.status,"onUpdate:modelValue":a[3]||(a[3]=e=>i.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(H,null,K(k(J),e=>(w(),j(P,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(m,{type:"primary",onClick:_},{default:t(()=>[u(" 查询 ")]),_:1}),l(m,{onClick:a[4]||(a[4]=e=>le(A.value))},{default:t(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(L,{style:{width:"100%"}},{default:t(()=>[be((w(),j(ue,{border:"",data:q.value,style:{width:"100%"},size:"large"},{default:t(()=>[l(o,{prop:"avatar",label:"用户头像",fixed:"",width:"120"},{default:t(e=>[l(oe,{src:e.row.avatar},null,8,["src"])]),_:1}),l(o,{fixed:"",prop:"username",label:"用户名称",width:"150"}),l(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),l(o,{prop:"phone",label:"用户手机号",width:"250",align:"left"},{default:t(e=>{var s;return[u(b(((s=e.row)==null?void 0:s.phone)||"未绑定手机号"),1)]}),_:1}),l(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[l(F,{type:"success"},{default:t(()=>[u(b(W[e.status]),1)]),_:2},1024)]),_:1}),l(o,{prop:"balanceInfo.model3Count",label:"基础模型",width:"120",align:"center"}),l(o,{prop:"balanceInfo.model4Count",label:"高级模型",width:"120",align:"center"}),l(o,{prop:"balanceInfo.drawMjCount",label:"绘画余额",width:"120",align:"center"}),u("expirationTime "),l(o,{prop:"balanceInfo.drawMjCount",label:"会员到期时间",width:"170",align:"center"},{default:t(e=>[l(F,{type:"success"},{default:t(()=>{var s,c,Y,O;return[u(b((c=(s=e.row)==null?void 0:s.balanceInfo)!=null&&c.expirationTime?k(Q)(new Date((O=(Y=e.row)==null?void 0:Y.balanceInfo)==null?void 0:O.expirationTime).toString()):"非会员"),1)]}),_:2},1024)]),_:1}),l(o,{prop:"balanceInfo.memberModel3Count",label:"基础模型[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.memberModel4Count",label:"高级模型[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.memberDrawMjCount",label:"绘画余额[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.useModel3Count",label:"已用基础模型",width:"160",align:"center"},{default:t(e=>{var s,c;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useModel3Count)||0}次 | ${((c=e.row.balanceInfo)==null?void 0:c.useModel3Token)||0} Token`),1)]}),_:1}),l(o,{prop:"balanceInfo.useModel4Count",label:"已用高级模型",width:"160",align:"center"},{default:t(e=>{var s,c;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useModel4Count)||0}次 | ${((c=e.row.balanceInfo)==null?void 0:c.useModel4Token)||0} Token`),1)]}),_:1}),l(o,{prop:"balanceInfo.useDrawMjToken",label:"已用绘画积分",width:"160",align:"center"},{default:t(e=>{var s;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useDrawMjToken)||0} Token`),1)]}),_:1}),l(o,{prop:"createdAt",label:"注册时间",width:"200",align:"center"},{default:t(e=>[u(b(k(Q)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),l(o,{fixed:"right",label:"操作",width:"250",align:"center"},{default:t(e=>[l(m,{link:"",type:"primary",size:"small",onClick:s=>Z(e.row)},{default:t(()=>[u(" 修改状态 ")]),_:2},1032,["onClick"]),l(se,{title:"确认重置此用户密码为【123456】?","confirm-button-text":"确认重置",onConfirm:s=>te(e.row)},{reference:t(()=>[l(m,{link:"",type:"danger"},{default:t(()=>[u(" 重置密码 ")]),_:1})]),_:2},1032,["onConfirm"]),l(m,{link:"",type:"primary",size:"small",onClick:s=>E(e.row)},{default:t(()=>[u(" 调整积分 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[de,h.value]]),l(ie,{class:"mt-5 flex justify-end"},{default:t(()=>[l(re,{"current-page":i.page,"onUpdate:currentPage":a[5]||(a[5]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[6]||(a[6]=e=>i.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:R.value,onSizeChange:_,onCurrentChange:_},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(N,{modelValue:y.value,"onUpdate:modelValue":a[8]||(a[8]=e=>y.value=e),title:"变更用户状态",width:"500px"},{default:t(()=>[l(T,{model:g,inline:!0},{default:t(()=>[l(d,{label:"用户状态","label-width":"90px"},{default:t(()=>[l(B,{modelValue:g.status,"onUpdate:modelValue":a[7]||(a[7]=e=>g.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(H,null,K(k(J),e=>(w(),j(P,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(m,{type:"primary",onClick:ee},{default:t(()=>[u(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),l(N,{modelValue:v.value,"onUpdate:modelValue":a[14]||(a[14]=e=>v.value=e),title:"调整用户积分(赠送/扣除)",width:"450px",onClose:a[15]||(a[15]=e=>ae(S.value))},{footer:t(()=>[l(m,{onClick:a[12]||(a[12]=e=>v.value=!1)},{default:t(()=>[u(" 取消 ")]),_:1}),l(m,{type:"primary",onClick:a[13]||(a[13]=e=>ne(S.value))},{default:t(()=>[u(" 确认调整 ")]),_:1})]),default:t(()=>[l(T,{ref_key:"cramiRef",ref:S,model:p,rules:X,"label-width":"100px"},{default:t(()=>[l(d,{label:"基础积分",prop:"modelLimits"},{default:t(()=>[I("div",we,[l($,{modelValue:p.model3Count,"onUpdate:modelValue":a[9]||(a[9]=e=>p.model3Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"高级积分",prop:"modelLimits"},{default:t(()=>[I("div",ve,[l($,{modelValue:p.model4Count,"onUpdate:modelValue":a[10]||(a[10]=e=>p.model4Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"绘画积分",prop:"modelLimits"},{default:t(()=>[I("div",Ce,[l($,{modelValue:p.drawMjCount,"onUpdate:modelValue":a[11]||(a[11]=e=>p.drawMjCount=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}});typeof G=="function"&&G(ye);export{ye as default}; diff --git a/public/admin/assets/index-HxeUcFuX.js.br b/public/admin/assets/index-HxeUcFuX.js.br new file mode 100644 index 0000000..548cd72 Binary files /dev/null and b/public/admin/assets/index-HxeUcFuX.js.br differ diff --git a/public/admin/assets/index-HxeUcFuX.js.gz b/public/admin/assets/index-HxeUcFuX.js.gz new file mode 100644 index 0000000..3be48a8 Binary files /dev/null and b/public/admin/assets/index-HxeUcFuX.js.gz differ diff --git a/public/admin/assets/index-J5zVJPyL.js b/public/admin/assets/index-J5zVJPyL.js new file mode 100644 index 0000000..bced763 --- /dev/null +++ b/public/admin/assets/index-J5zVJPyL.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +const l=[{value:0,label:"待激活"},{value:1,label:"正常"},{value:2,label:"已封禁"},{value:3,label:"黑名单"}],a={0:"待激活",1:"正常",2:"已封禁",3:"黑名单"},e={0:"info",1:"success",2:"danger",3:"danger"},u={1:"注册赠送",2:"受邀请赠送",3:"邀请人赠送",4:"购买套餐赠送",5:"管理员赠送",6:"扫码支付",7:"绘画失败退款",8:"签到奖励"},t=[{value:1,label:"注册赠送"},{value:2,label:"受邀请赠送"},{value:3,label:"邀请人赠送"},{value:4,label:"购买套餐赠送"},{value:5,label:"管理员赠送"},{value:6,label:"扫码支付"},{value:7,label:"绘画失败退款"},{value:8,label:"签到奖励"}],o={0:"关闭",1:"开启"},s=[{value:0,label:"禁用"},{value:1,label:"启动"}],b=[{value:0,label:"未使用"},{value:1,label:"已使用"}],n=[{value:0,label:"未推荐"},{value:1,label:"已推荐"}],v=[{value:0,label:"禁用"},{value:1,label:"启用"},{value:3,label:"待审核"},{value:4,label:"拒绝共享"},{value:5,label:"通过共享"}],T=[{value:"0",label:"未启用"},{value:"1",label:"已启用"}],c=[{value:0,label:"待审核"},{value:1,label:"已通过"},{value:-1,label:"已拒绝"}],S=[{value:0,label:"未推荐"},{value:1,label:"已推荐"}],p=[{value:1,label:"支付宝"},{value:2,label:"微信"}],_=[{value:1,label:"正在排队"},{value:2,label:"正在绘制"},{value:3,label:"绘制完成"},{value:4,label:"绘制失败"},{value:5,label:"绘制超时"}],r={"-1":"欠费锁定",0:"未启用",1:"已启用",3:"待审核",4:"拒绝共享",5:"通过共享"},i=["gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125","gpt-3.5-turbo-instruct","gpt-4","gpt-4o","gpt-4o-2024-05-13","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-all","claude-2","claude-3-sonnet-20240229","claude-3-opus-20240229","claude-3-haiku-20240307","claude-3-5-sonnet-20240620","gemini-pro","gemini-pro-vision","gemini-pro-1.5","ERNIE-Bot","ERNIE-Bot-4","ERNIE-3.5-8K","ERNIE-Bot-turbo","qwen-turbo","qwen-plus","qwen-max","qwen-max-1201","qwen-max-longcontext","hunyuan","chatglm_turbo","chatglm_pro","chatglm_std","chatglm_lite","glm-3-turbo","glm-4","glm-4v","Baichuan2-53B","Baichuan2-Turbo","Baichuan2-Turbo-192k","yi-34b-chat-0205","yi-34b-chat-200k","yi-vl-plus","360GPT_S2_V9","SparkDesk","SparkDesk-v1.1","SparkDesk-v2.1","SparkDesk-v3.1","SparkDesk-v3.5","deepseek-chat","deepseek-coder","moonshot-v1-8k","moonshot-v1-32k","moonshot-v1-128k","dall-e-3","midjourney","luma-video","tts-1","gpts","stable-diffusion","suno-v3"],E=[{value:"midjourney",label:"Midjourney"},{value:"stable-diffusion",label:"Stable-Diffusion"},{value:"dall-e-3",label:"Dall-e-3"}],g=[{value:0,label:"未支付"},{value:1,label:"已支付"},{value:2,label:"支付失败"},{value:3,label:"支付超时"}],m={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},A=[{value:"epay",label:"易支付"},{value:"hupi",label:"虎皮椒"},{value:"wechat",label:"微信支付"},{value:"mpay",label:"码支付"},{value:"ltzf",label:"蓝兔支付"}],O={epay:"易支付",hupi:"虎皮椒",wechat:"微信支付",mpay:"码支付",ltzf:"蓝兔支付"},P=[{value:1,label:"等待中"},{value:2,label:"绘制中"},{value:3,label:"绘制完成"},{value:4,label:"绘制失败"},{value:5,label:"绘制超时"}],k=[{value:"百度云检测",label:"百度云检测"},{value:"自定义检测",label:"自定义检测"}],I=[{value:1,label:"基础对话"},{value:2,label:"创意模型"},{value:3,label:"特殊模型"}],h={1:"基础对话",2:"创意模型",3:"特殊模型"},d={1:["gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125","gpt-3.5-turbo-instruct","gpt-4","gpt-4o","gpt-4o-2024-05-13","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-all","claude-2","claude-3-sonnet-20240229","claude-3-opus-20240229","claude-3-haiku-20240307","claude-3-5-sonnet-20240620","gemini-pro","gemini-pro-vision","gemini-pro-1.5","ERNIE-Bot","ERNIE-Bot-4","ERNIE-3.5-8K","ERNIE-Bot-turbo","qwen-turbo","qwen-plus","qwen-max","qwen-max-1201","qwen-max-longcontext","hunyuan","chatglm_turbo","chatglm_pro","chatglm_std","chatglm_lite","glm-3-turbo","glm-4","glm-4v","Baichuan2-53B","Baichuan2-Turbo","Baichuan2-Turbo-192k","yi-34b-chat-0205","yi-34b-chat-200k","yi-vl-plus","360GPT_S2_V9","SparkDesk","SparkDesk-v1.1","SparkDesk-v2.1","SparkDesk-v3.1","SparkDesk-v3.5","deepseek-chat","deepseek-coder","moonshot-v1-8k","moonshot-v1-32k","moonshot-v1-128k"],2:["dall-e-3","midjourney","stable-diffusion","suno-v3","luma-video"],3:["tts-1","gpts"]},N=[{value:1,label:"普通积分"},{value:2,label:"高级积分"},{value:3,label:"绘画积分"}];export{b as C,E as D,v as E,o as I,i as M,c as O,A as P,r as Q,n as R,k as T,e as U,_ as W,P as a,S as b,I as c,T as d,h as e,N as f,d as g,g as h,O as i,m as j,s as k,p as l,a as m,l as n,t as o,u as p}; diff --git a/public/admin/assets/index-J5zVJPyL.js.br b/public/admin/assets/index-J5zVJPyL.js.br new file mode 100644 index 0000000..71841d1 Binary files /dev/null and b/public/admin/assets/index-J5zVJPyL.js.br differ diff --git a/public/admin/assets/index-J5zVJPyL.js.gz b/public/admin/assets/index-J5zVJPyL.js.gz new file mode 100644 index 0000000..78d8595 Binary files /dev/null and b/public/admin/assets/index-J5zVJPyL.js.gz differ diff --git a/public/admin/assets/index-KzA8AQdP.css b/public/admin/assets/index-KzA8AQdP.css new file mode 100644 index 0000000..7c6d205 --- /dev/null +++ b/public/admin/assets/index-KzA8AQdP.css @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +.breadcrumb-enter-active[data-v-3d594f3a]{transition:transform .3s,opacity .3s}.breadcrumb-enter-from[data-v-3d594f3a]{opacity:0;transform:translate(30px) skew(-50deg)} diff --git a/public/admin/assets/index-KzA8AQdP.css.br b/public/admin/assets/index-KzA8AQdP.css.br new file mode 100644 index 0000000..6119e37 Binary files /dev/null and b/public/admin/assets/index-KzA8AQdP.css.br differ diff --git a/public/admin/assets/index-KzA8AQdP.css.gz b/public/admin/assets/index-KzA8AQdP.css.gz new file mode 100644 index 0000000..3496aa8 Binary files /dev/null and b/public/admin/assets/index-KzA8AQdP.css.gz differ diff --git a/public/admin/assets/index-Sv6TNBZz.js b/public/admin/assets/index-Sv6TNBZz.js new file mode 100644 index 0000000..2c3d486 --- /dev/null +++ b/public/admin/assets/index-Sv6TNBZz.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang--vRGEqGb.js";import"./HDropdown-DTfQxtss.js";import"./index-B-LUCRde.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BRyk7LRP.js";import"./use-resolve-button-type-BVUBWyWZ.js";export{o as default}; diff --git a/public/admin/assets/index-Sv6TNBZz.js.br b/public/admin/assets/index-Sv6TNBZz.js.br new file mode 100644 index 0000000..01b4843 --- /dev/null +++ b/public/admin/assets/index-Sv6TNBZz.js.br @@ -0,0 +1 @@ + øq-VE'w %I%|h$/ $s;33^Pz}ŽmԽ}ibAxxx;(MBTLv 80BFMcm罷9 %B.~Y.+5 \ No newline at end of file diff --git a/public/admin/assets/index-Sv6TNBZz.js.gz b/public/admin/assets/index-Sv6TNBZz.js.gz new file mode 100644 index 0000000..c4b4982 Binary files /dev/null and b/public/admin/assets/index-Sv6TNBZz.js.gz differ diff --git a/public/admin/assets/index-WiumSo-4.js b/public/admin/assets/index-WiumSo-4.js new file mode 100644 index 0000000..c6eb8d4 --- /dev/null +++ b/public/admin/assets/index-WiumSo-4.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{E as o,C as G,s as u,t as $,b as V,L as x,f as z,k as _,i as Y,c as v,n as b,a as E}from"./notice-BYvwXXls.js";import"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import"./index-B-LUCRde.js";import"./config-BBuBLjtx.js";const w=150,P=151,C=152,N=1,I=2,f=3,F=153,D=154,p=4,L=5,K=155,k=156,Z=157,s=158,j=6,W=7,A=8,B=9,S=0,i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],J=58,H=40,h=95,M=91,l=45,OO=46,y=35,$O=37,T=123,eO=125,r=47,c=42,R=10,q=61,aO=43,QO=38;function d(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function U(O){return O>=48&&O<=57}function m(O){let e;return O.next==r&&((e=O.peek(1))==r||e==c)}const nO=new o((O,e)=>{if(e.dialectEnabled(S)){let a;if(O.next<0&&e.canShift(Z))O.acceptToken(Z);else if(((a=O.peek(-1))==R||a<0)&&e.canShift(k)){let Q=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),Q++;O.next==R||m(O)?O.acceptToken(k,-Q):Q&&O.acceptToken(s)}else if(O.next==R)O.acceptToken(K,1);else if(i.includes(O.next)){for(O.advance();O.next!=R&&i.includes(O.next);)O.advance();O.acceptToken(s)}}else{let a=0;for(;i.includes(O.next);)O.advance(),a++;a&&O.acceptToken(s)}},{contextual:!0}),tO=new o((O,e)=>{if(m(O)){if(O.advance(),e.dialectEnabled(S)){let a=-1;for(let Q=1;;Q++){let n=O.peek(-Q-1);if(n==R||n<0){a=Q+1;break}else if(!i.includes(n))break}if(a>-1){let Q=O.next==c,n=0;for(O.advance();O.next>=0;)if(O.next==R){O.advance();let t=0;for(;O.next!=R&&i.includes(O.next);)t++,O.advance();if(t=0;)O.advance();O.acceptToken(j)}else{for(O.advance();O.next>=0;){let{next:a}=O;if(O.advance(),a==c&&O.next==r){O.advance();break}}O.acceptToken(W)}}}),RO=new o((O,e)=>{(O.next==aO||O.next==q)&&e.dialectEnabled(S)&&O.acceptToken(O.next==q?A:B,1)}),iO=new o((O,e)=>{if(!e.dialectEnabled(S))return;let a=e.context.depth;if(O.next<0&&a){O.acceptToken(P);return}if(O.peek(-1)==R){let n=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),n++;n!=a&&O.next!=R&&!m(O)&&(n{for(let a=!1,Q=0,n=0;;n++){let{next:t}=O;if(d(t)||t==l||t==h||a&&U(t))!a&&(t!=l||n>0)&&(a=!0),Q===n&&t==l&&Q++,O.advance();else if(t==y&&O.peek(1)==T){O.acceptToken(L,2);break}else{a&&O.acceptToken(t==H?F:Q==2&&e.canShift(p)?p:D);break}}}),lO=new o(O=>{if(O.next==eO){for(O.advance();d(O.next)||O.next==l||O.next==h||U(O.next);)O.advance();O.next==y&&O.peek(1)==T?O.acceptToken(I,2):O.acceptToken(N)}}),rO=new o(O=>{if(i.includes(O.peek(-1))){let{next:e}=O;(d(e)||e==h||e==y||e==OO||e==M||e==J||e==l||e==QO)&&O.acceptToken(C)}}),dO=new o(O=>{if(!i.includes(O.peek(-1))){let{next:e}=O;if(e==$O&&(O.advance(),O.acceptToken(f)),d(e)){do O.advance();while(d(O.next));O.acceptToken(f)}}});function g(O,e){this.parent=O,this.depth=e,this.hash=(O?O.hash+O.hash<<8:0)+e+(e<<4)}const cO=new g(null,0),SO=new G({start:cO,shift(O,e,a,Q){return e==w?new g(O,a.pos-Q.pos):e==P?O.parent:O},hash(O){return O.hash}}),sO=u({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":$.definitionKeyword,"Keyword selector":$.keyword,ControlKeyword:$.controlKeyword,NamespaceName:$.namespace,KeyframeName:$.labelName,TagName:$.tagName,"ClassName Suffix":$.className,PseudoClassName:$.constant($.className),IdName:$.labelName,"FeatureName PropertyName":$.propertyName,AttributeName:$.attributeName,NumberLiteral:$.number,KeywordQuery:$.keyword,UnaryQueryOp:$.operatorKeyword,"CallTag ValueName":$.atom,VariableName:$.variableName,SassVariableName:$.special($.variableName),Callee:$.operatorKeyword,Unit:$.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":$.definitionOperator,MatchOp:$.compareOperator,"ChildOp SiblingOp, LogicOp":$.logicOperator,BinOp:$.arithmeticOperator,"Important Global Default":$.modifier,Comment:$.blockComment,LineComment:$.lineComment,ColorLiteral:$.color,"ParenthesizedContent StringLiteral":$.string,"InterpolationStart InterpolationContinue InterpolationEnd":$.meta,': "..."':$.punctuation,"PseudoOp #":$.derefOperator,"; ,":$.separator,"( )":$.paren,"[ ]":$.squareBracket,"{ }":$.brace}),PO={__proto__:null,not:62,only:62,using:173,as:183,with:187,without:187,hide:201,show:201,from:224,to:226,if:239,through:245,in:251},XO={__proto__:null,url:80,"url-prefix":80,domain:80,regexp:80,lang:94,"nth-child":94,"nth-last-child":94,"nth-of-type":94,"nth-last-of-type":94,dir:94,"host-context":94,selector:166},hO={__proto__:null,"@import":150,"@include":170,"@mixin":176,"@function":176,"@use":180,"@extend":190,"@at-root":194,"@forward":198,"@media":204,"@charset":208,"@namespace":212,"@keyframes":218,"@supports":230,"@if":234,"@else":236,"@for":242,"@each":248,"@while":254,"@debug":258,"@warn":258,"@error":258,"@return":258},yO=V.deserialize({version:14,states:"KOQ`Q+tOOO#cQ+tOOP#jOpOOOOQ#U'#Ch'#ChO#oQ(pO'#CjOOQ#U'#Ci'#CiO%[Q)QO'#FtO%oQ.jO'#CnO&gQ#dO'#DWO'^Q(pO'#CgO'eQ)OO'#DYO'pQ#dO'#DaO'uQ#dO'#DeOOQ#U'#Ft'#FtO'zQ(pO'#FtO(RQ(nO'#DpO%oQ.jO'#DwO%oQ.jO'#ESO%oQ.jO'#EVO%oQ.jO'#EXO(WQ)OO'#E^O(uQ)OO'#E`O%oQ.jO'#EbO)SQ)OO'#EeO%oQ.jO'#EgO)nQ)OO'#EiO)yQ#dO'#ElO*OQ)OO'#ErO*dQ)OO'#FSOOQ&Z'#Fs'#FsOOQ&Y'#FV'#FVO*nQ(nO'#FVQ`Q+tOOO%oQ.jO'#EtO*yQ(nO'#ExO+OQ)OO'#E{O%oQ.jO'#FOO%oQ.jO'#FQOOQ&Z'#F^'#F^O+WQ+uO'#F|O+eQ(oO'#F|QOQ#SOOP+yO#SO'#FrPOOO)CAg)CAgOOQ#U'#Cm'#CmOOQ#U,59W,59WOOQ#i'#Cp'#CpO%oQ.jO'#CsO,XQ.wO'#CuO.tQ.^O,59YO%oQ.jO'#CzOOQ#S'#DO'#DOO/VQ(nO'#DTOOQ#i'#Fv'#FvO/[Q(nO'#C}OOQ#U'#DX'#DXOOQ#U,59r,59rO&gQ#dO,59rO/aQ)OO,59tO'pQ#dO,59{O'uQ#dO,5:PO(WQ)OO,5:TO(WQ)OO,5:VO(WQ)OO,5:WO(WQ)OO'#F]O/lQ(nO,59RO/wQ+tO'#DnO0OQ#TO'#DnOOQ&Z,59R,59ROOQ#U'#D['#D[OOQ#S'#D_'#D_OOQ#U,59t,59tO0TQ(nO,59tO0YQ(nO,59tOOQ#U'#Dc'#DcOOQ#U,59{,59{OOQ#S'#Dg'#DgO0_Q9`O,5:PO0gQ.jO,5:[O0qQ.jO,5:cO1jQ.jO,5:nO1wQ.YO,5:qO2YQ.jO,5:sOOQ#U'#Cj'#CjO3RQ(pO,5:xO3`Q(pO,5:zOOQ&Z,5:z,5:zO3gQ)OO,5:zO3lQ.jO,5:|OOQ#S'#Dz'#DzO4[Q)OO'#EPO4cQ(nO'#GOO*OQ)OO'#EOO4wQ(nO'#EQOOQ#S'#GP'#GPO/oQ(nO,5;PO2`Q.YO,5;ROOQ#d'#Ek'#EkO*nQ(nO,5;TO4|Q)OO,5;TOOQ#S'#En'#EnO5UQ(nO,5;WO5ZQ(nO,5;^O5fQ(nO,5;nOOQ&Z'#F}'#F}OOQ&Y,5;q,5;qOOQ&Y-E9T-E9TO1wQ.YO,5;`O5tQ)OO,5;dO5yQ)OO'#GRO6RQ)OO,5;gO1wQ.YO,5;jO2`Q.YO,5;lOOQ&Z-E9[-E9[O6WQ(oO,5^Q(pO,5;wOOQ#S-E9Z-E9ZOOQ&Z1G.m1G.mO>kQ(nO,5:YO>pQ+uO,5:YO>wQ)OO'#D`O?OQ.jO'#D^OOQ#U1G/k1G/kO%oQ.jO1G/kO?VQ.kO1G/vOOQ#T1G/v1G/vO*nQ(nO1G/}O@SQ+uO'#F}OOQ&Z1G0Y1G0YO/[Q(nO1G0YOOQ&Z1G0]1G0]OOQ&Z1G0_1G0_O/[Q(nO1G0_OBlQ)OO1G0_OOQ&Z1G0d1G0dOOQ&Z1G0f1G0fOBtQ)OO1G0fOByQ(nO1G0fOCOQ)OO1G0hOOQ&Z1G0h1G0hOC^Q.jO'#FbOCnQ#dO1G0hOCsQ(nO'#DzODOQ(nO,5:gODTQ(nO,5:kO*OQ)OO,5:iOD]Q)OO'#FaODpQ(nO,5]AN>]O!/jQ(pO,5;vOOQ#S-E9Y-E9YO!/tQ.jO,5;uOOQ#S-E9X-E9XO*nQ(nOAN?PO!0OQ(nOAN?WO/oQ(nOAN?WO!0WQ.jO,5;}OOQ#d-E9a-E9aOCOQ)OOAN?YOOQ&ZAN?YAN?YOOQ#S<[z{>a{|>z|}Cm}!ODO!O!PDm!P!Q;h!Q![FW![!]GR!]!^G}!^!_H`!_!`Hw!`!aI`!a!b#r!b!cJa!c!}#r!}#OKy#O#P#r#P#QL[#Q#RLm#R#T#r#T#UMS#U#c#r#c#dNe#d#o#r#o#pNz#p#qLm#q#r! ]#r#s! n#s;'S#r;'S;=`!!V<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSyWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSyWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UyWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUyWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UyWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUyWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UyWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUyWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!hQyWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UyWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUyWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*`UyWOy$Rz#U$R#U#V*r#V;'S$R;'S;=`$d<%lO$RY*wUyWOy$Rz#T$R#T#U+Z#U;'S$R;'S;=`$d<%lO$RY+`UyWOy$Rz#`$R#`#a+r#a;'S$R;'S;=`$d<%lO$RY+yS!gQyWOy$Rz;'S$R;'S;=`$d<%lO$RY,[UyWOy$Rz#a$R#a#b,n#b;'S$R;'S;=`$d<%lO$RY,sUyWOy$Rz#d$R#d#e-V#e;'S$R;'S;=`$d<%lO$RY-[UyWOy$Rz#c$R#c#d-n#d;'S$R;'S;=`$d<%lO$RY-sUyWOy$Rz#f$R#f#g.V#g;'S$R;'S;=`$d<%lO$RY.[UyWOy$Rz#h$R#h#i.n#i;'S$R;'S;=`$d<%lO$RY.sUyWOy$Rz#T$R#T#U/V#U;'S$R;'S;=`$d<%lO$RY/[UyWOy$Rz#b$R#b#c/n#c;'S$R;'S;=`$d<%lO$RY/sUyWOy$Rz#h$R#h#i0V#i;'S$R;'S;=`$d<%lO$RY0^S!fQyWOy$Rz;'S$R;'S;=`$d<%lO$R~0mWOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W<%lO0j~1[Oj~~1_RO;'S0j;'S;=`1h;=`O0j~1kXOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W;=`<%l0j<%lO0j~2ZP;=`<%l0jZ2cY!UPOy$Rz!Q$R!Q![3R![!c$R!c!i3R!i#T$R#T#Z3R#Z;'S$R;'S;=`$d<%lO$RY3WYyWOy$Rz!Q$R!Q![3v![!c$R!c!i3v!i#T$R#T#Z3v#Z;'S$R;'S;=`$d<%lO$RY3{YyWOy$Rz!Q$R!Q![4k![!c$R!c!i4k!i#T$R#T#Z4k#Z;'S$R;'S;=`$d<%lO$RY4rYhQyWOy$Rz!Q$R!Q![5b![!c$R!c!i5b!i#T$R#T#Z5b#Z;'S$R;'S;=`$d<%lO$RY5iYhQyWOy$Rz!Q$R!Q![6X![!c$R!c!i6X!i#T$R#T#Z6X#Z;'S$R;'S;=`$d<%lO$RY6^YyWOy$Rz!Q$R!Q![6|![!c$R!c!i6|!i#T$R#T#Z6|#Z;'S$R;'S;=`$d<%lO$RY7TYhQyWOy$Rz!Q$R!Q![7s![!c$R!c!i7s!i#T$R#T#Z7s#Z;'S$R;'S;=`$d<%lO$RY7xYyWOy$Rz!Q$R!Q![8h![!c$R!c!i8h!i#T$R#T#Z8h#Z;'S$R;'S;=`$d<%lO$RY8oShQyWOy$Rz;'S$R;'S;=`$d<%lO$R_9O`Oy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!_$R!_!`;T!`!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$RZ:X^yWcROy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$R[;[S![SyWOy$Rz;'S$R;'S;=`$d<%lO$RY;mSlQOy$Rz;'S$R;'S;=`$d<%lO$RZOSfROy$Rz;'S$R;'S;=`$d<%lO$R~>aOe~_>hU$iPlQOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZ?RWlQ!aPOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZ?pUyWOy$Rz!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RZ@ZYyW$kROy$Rz!Q$R!Q![@S![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZAOYyWOy$Rz{$R{|An|}$R}!OAn!O!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZAsUyWOy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZB^UyW$kROy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZBw[yW$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZCrSvROy$Rz;'S$R;'S;=`$d<%lO$RZDTWlQOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZDrW$lROy$Rz!O$R!O!PE[!P!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RYEaUyWOy$Rz!O$R!O!PEs!P;'S$R;'S;=`$d<%lO$RYEzSuQyWOy$Rz;'S$R;'S;=`$d<%lO$RZF][$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZGWUtROy$Rz![$R![!]Gj!];'S$R;'S;=`$d<%lO$RXGqS}PyWOy$Rz;'S$R;'S;=`$d<%lO$RZHSS!iROy$Rz;'S$R;'S;=`$d<%lO$RYHeUlQOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$R^H|U![SOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$RZIgV!^PlQOy$Rz!_$R!_!`%c!`!aI|!a;'S$R;'S;=`$d<%lO$RXJTS!^PyWOy$Rz;'S$R;'S;=`$d<%lO$RXJdWOy$Rz!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXKT[!lPyWOy$Rz}$R}!OJ|!O!Q$R!Q![J|![!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXLOS!YPOy$Rz;'S$R;'S;=`$d<%lO$R^LaS!WUOy$Rz;'S$R;'S;=`$d<%lO$R[LpUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZMVUOy$Rz#b$R#b#cMi#c;'S$R;'S;=`$d<%lO$RZMnUyWOy$Rz#W$R#W#XNQ#X;'S$R;'S;=`$d<%lO$RZNXSmRyWOy$Rz;'S$R;'S;=`$d<%lO$RZNhUOy$Rz#f$R#f#gNQ#g;'S$R;'S;=`$d<%lO$RZ! PS!cROy$Rz;'S$R;'S;=`$d<%lO$RZ! bS!jROy$Rz;'S$R;'S;=`$d<%lO$R]! sU!aPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!!YP;=`<%l#r",tokenizers:[iO,rO,lO,dO,oO,nO,tO,RO,0,1,2,3],topRules:{StyleSheet:[0,10],Styles:[1,131]},dialects:{indented:0},specialized:[{term:154,get:O=>PO[O]||-1},{term:153,get:O=>XO[O]||-1},{term:74,get:O=>hO[O]||-1}],tokenPrec:2863}),X=x.define({name:"sass",parser:yO.configure({props:[z.add({Block:_,Comment(O,e){return{from:O.from+2,to:e.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),Y.add({Declaration:v()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),mO=X.configure({dialect:"indented",props:[Y.add({"Block RuleSet":O=>O.baseIndent+O.unit}),z.add({Block:O=>({from:O.from,to:O.to})})]}),fO=b(O=>O.name=="VariableName"||O.name=="SassVariableName");function WO(O){return new E(O!=null&&O.indented?mO:X,X.data.of({autocomplete:fO}))}export{WO as sass,fO as sassCompletionSource,X as sassLanguage}; diff --git a/public/admin/assets/index-WiumSo-4.js.br b/public/admin/assets/index-WiumSo-4.js.br new file mode 100644 index 0000000..c842a37 Binary files /dev/null and b/public/admin/assets/index-WiumSo-4.js.br differ diff --git a/public/admin/assets/index-WiumSo-4.js.gz b/public/admin/assets/index-WiumSo-4.js.gz new file mode 100644 index 0000000..e9bd088 Binary files /dev/null and b/public/admin/assets/index-WiumSo-4.js.gz differ diff --git a/public/admin/assets/index-ab2aba6b.js b/public/admin/assets/index-ab2aba6b.js deleted file mode 100644 index c50bdb7..0000000 --- a/public/admin/assets/index-ab2aba6b.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as Q,j as te,y as se,$ as ae,A as le,r as m,a0 as ne,B as oe,C as A,x as ue,M as D,D as h,a1 as J,h as H,o as b,c as R,a as i,m as z,e as n,f as u,b as p,V as re,k as x,l as k,t as B,J as O,S as F,U as G,G as q,_ as ce,I as ie,n as fe}from"./index-e656eb90.js";const de={class:"container"},pe={key:0,class:"tips"},ve={class:"tip"},he={class:"tip"},_e={class:"tip"},ge={class:"tip"},ye=["onClick","onMouseover"],me={class:"info"},be={class:"title"},ke={class:"breadcrumb"},Se={class:"path"},we=Q({name:"Search"}),Ce=Q({...we,setup(Re){const W=te(),_=se(),X=ae(),Y=le(),g=m(!1),f=m(""),L=m([]),r=m(-1),$=m(),S=m(),w=m([]);function Z(s){return w.value.push(s)}ne(()=>{w.value=[]});const C=oe(()=>{let s=[];return s=L.value.filter(e=>{let l=!1;return e.title&&(typeof e.title=="function"?e.title().includes(f.value)&&(l=!0):e.title.includes(f.value)&&(l=!0)),e.path.includes(f.value)&&(l=!0),e.breadcrumb.some(a=>{let t=!1;return a&&(typeof a=="function"?a().includes(f.value)&&(t=!0):a.includes(f.value)&&(t=!0)),t})&&(l=!0),l}),s});A(()=>g.value,s=>{s?(document.body.classList.add("hidden"),S.value.scrollTop=0,h("up",V),h("down",E),h("enter",I),setTimeout(()=>{$.value.focus()},500)):(document.body.classList.remove("hidden"),h.unbind("up",V),h.unbind("down",E),h.unbind("enter",I),setTimeout(()=>{f.value="",r.value=-1},500))}),A(()=>C.value,()=>{r.value=-1,w.value=[],M()}),ue(()=>{D.on("global-search-toggle",()=>{g.value=!g.value}),h("alt+s",s=>{_.settings.navSearch.enable&&_.settings.navSearch.enableHotkeys&&(s.preventDefault(),g.value=!0)}),h("esc",s=>{_.settings.navSearch.enable&&_.settings.navSearch.enableHotkeys&&(s.preventDefault(),g.value=!1)}),_.settings.app.routeBaseOn!=="filesystem"?X.routes.forEach(s=>{s.children&&U(s.children)}):Y.menus.forEach(s=>{N(s.children)})});function P(s){var l;let e=!0;return(l=s.children)!=null&&l.every(a=>{var t;return((t=a.meta)==null?void 0:t.sidebar)===!1})&&(e=!1),e}function U(s,e,l,a){s.forEach(t=>{var c,o,v,d,y,j,K;if(((c=t.meta)==null?void 0:c.sidebar)!==!1){const T=J(a)||[];t.children&&P(t)?(T.push((o=t.meta)==null?void 0:o.title),U(t.children,e?[e,t.path].join("/"):t.path,((v=t.meta)==null?void 0:v.icon)??l,T)):(T.push((d=t.meta)==null?void 0:d.title),L.value.push({path:e?[e,t.path].join("/"):t.path,icon:((y=t.meta)==null?void 0:y.icon)??l,title:(j=t.meta)==null?void 0:j.title,link:(K=t.meta)==null?void 0:K.link,breadcrumb:T}))}})}function N(s,e,l){s.forEach(a=>{var c,o,v,d,y;const t=J(l)||[];a.children&&a.children.length>0?(t.push((c=a.meta)==null?void 0:c.title),N(a.children,((o=a.meta)==null?void 0:o.icon)??e,t)):(t.push((v=a.meta)==null?void 0:v.title),L.value.push({icon:((d=a.meta)==null?void 0:d.icon)??e,title:(y=a.meta)==null?void 0:y.title,path:a.path,breadcrumb:t}))})}function V(){C.value.length&&(r.value-=1,r.value<0&&(r.value=C.value.length-1),M())}function E(){C.value.length&&(r.value+=1,r.value>C.value.length-1&&(r.value=0),M())}function I(){r.value!==-1&&w.value[r.value].click()}function M(){let s=0;if(r.value!==-1){s=S.value.scrollTop;const e=w.value[r.value].offsetTop,l=w.value[r.value].clientHeight,a=S.value.scrollTop,t=S.value.clientHeight;e+l>a+t?s=e+l-t:e<=a&&(s=e)}S.value.scrollTo({top:s})}function ee(s,e){e?window.open(e,"_blank"):W.push(s)}return(s,e)=>{const l=ce,a=H("el-icon"),t=H("el-input"),c=H("el-tag");return b(),R("div",{id:"search",class:q({searching:p(g)}),onClick:e[3]||(e[3]=o=>p(g)&&p(D).emit("global-search-toggle"))},[i("div",de,[i("div",{class:"search-box",onClick:e[2]||(e[2]=z(()=>{},["stop"]))},[n(t,{ref_key:"searchInputRef",ref:$,modelValue:p(f),"onUpdate:modelValue":e[0]||(e[0]=o=>re(f)?f.value=o:null),placeholder:"搜索页面,支持标题、URL模糊查询",clearable:"",onKeydown:[e[1]||(e[1]=x(o=>p(D).emit("global-search-toggle"),["esc"])),x(z(V,["prevent"]),["up"]),x(z(E,["prevent"]),["down"]),x(z(I,["prevent"]),["enter"])]},{prefix:u(()=>[n(a,null,{default:u(()=>[n(l,{name:"ep:search"})]),_:1})]),_:1},8,["modelValue","onKeydown"]),p(_).mode==="pc"?(b(),R("div",pe,[i("div",ve,[n(c,{type:"info",size:"large"},{default:u(()=>[k(B(p(_).os==="mac"?"⌥":"Alt")+" + S ",1)]),_:1}),n(c,{type:"info",size:"large"},{default:u(()=>[k(" 唤醒搜索面板 ")]),_:1})]),i("div",he,[n(c,{type:"info",size:"large"},{default:u(()=>[n(a,null,{default:u(()=>[n(l,{name:"search-up"})]),_:1})]),_:1}),n(c,{type:"info",size:"large"},{default:u(()=>[n(a,null,{default:u(()=>[n(l,{name:"search-down"})]),_:1})]),_:1}),n(c,{type:"info",size:"large"},{default:u(()=>[k(" 切换搜索结果 ")]),_:1})]),i("div",_e,[n(c,{type:"info",size:"large"},{default:u(()=>[n(a,null,{default:u(()=>[n(l,{name:"search-enter"})]),_:1})]),_:1}),n(c,{type:"info",size:"large"},{default:u(()=>[k(" 访问页面 ")]),_:1})]),i("div",ge,[n(c,{type:"info",size:"large"},{default:u(()=>[k(" ESC ")]),_:1}),n(c,{type:"info",size:"large"},{default:u(()=>[k(" 退出 ")]),_:1})])])):O("",!0)]),i("div",{ref_key:"searchResultRef",ref:S,class:"result"},[(b(!0),R(F,null,G(p(C),(o,v)=>(b(),R("a",{key:o.path,ref_for:!0,ref:Z,class:q(["item",{actived:v===p(r)}]),onClick:d=>ee(o.path,o.link),onMouseover:d=>r.value=v},[n(a,{class:"icon"},{default:u(()=>[o.icon?(b(),ie(l,{key:0,name:o.icon},null,8,["name"])):O("",!0)]),_:2},1024),i("div",me,[i("div",be,B(o.title??"[ 无标题 ]"),1),i("div",ke,[(b(!0),R(F,null,G(o.breadcrumb,(d,y)=>(b(),R("span",{key:y},[k(B(d??"[ 无标题 ]")+" ",1),n(a,null,{default:u(()=>[n(l,{name:"ep:arrow-right"})]),_:1})]))),128))]),i("div",Se,B(o.path),1)])],42,ye))),128))],512)])],2)}}});const ze=fe(Ce,[["__scopeId","data-v-7119310d"]]);export{ze as default}; diff --git a/public/admin/assets/index-ab9ad404.js b/public/admin/assets/index-ab9ad404.js deleted file mode 100644 index e0d8933..0000000 --- a/public/admin/assets/index-ab9ad404.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as D}from"./index-fd8a5577.js";import{a as c}from"./config-e611a8d0.js";import{d as q,Q as v,r as _,x as U,h as d,o as w,c as z,e,f as l,a as g,l as S,E as j,q as I}from"./index-e656eb90.js";const k={class:"flex justify-between"},G=g("b",null,"MJ参数设置",-1),R=q({__name:"index",setup(N){const t=v({mjId:"",mjApplicationId:"",mjGuildId:"",mjChannelId:"",mjSessionId:"",mjVersion:"",mjAuthorization:"",mjRateLimit:""}),b=_({mjApplicationId:[{required:!0,trigger:"blur",message:"请填写应用ID"}],mjGuildId:[{required:!0,trigger:"blur",message:"请填写工会ID"}],mjChannelId:[{required:!0,trigger:"blur",message:"请填写通道ID"}],mjSessionId:[{required:!0,trigger:"blur",message:"请填写绘画ID"}],mjVersion:[{required:!0,trigger:"blur",message:"请填写版本ID"}],mjId:[{required:!0,trigger:"blur",message:"请填写基础ID"}],mjAuthorization:[{required:!0,trigger:"blur",message:"请填写授权令牌"}]}),s=_();async function p(){const n=await c.queryConfig({keys:["mjApplicationId","mjGuildId","mjChannelId","mjId","mjSessionId","mjVersion","mjAuthorization","mjRateLimit"]});Object.assign(t,n.data)}function V(){var n;(n=s.value)==null||n.validate(async o=>{if(o){try{await c.setConfig({settings:x(t)}),j.success("变更配置信息成功")}catch{}p()}else j.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return U(()=>{p()}),(n,o)=>{const f=d("el-alert"),h=D,C=d("el-button"),r=d("el-input"),u=d("el-form-item"),m=d("el-col"),i=d("el-row"),A=d("el-form"),y=d("el-card");return w(),z("div",null,[e(h,null,{default:l(()=>[e(f,{closable:!1,"show-icon":"",title:"MJ参数说明",description:"详细配置请参考说明文档、当前暂未开放卡池、单个账号并发默认为三、如果您是更高的等级账号请在.env文件下添加 CONCURRENCY=3 此环境变量修改并发数、我们会为您默认开启队列、人数超过限制将需要进行排队!",type:"success"})]),_:1}),e(y,{style:{margin:"20px"}},{header:l(()=>[g("div",k,[G,e(C,{class:"button",text:"",onClick:V},{default:l(()=>[S(" 保存设置 ")]),_:1})])]),default:l(()=>[e(A,{ref_key:"formRef",ref:s,rules:b.value,model:t,"label-width":"130px"},{default:l(()=>[e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"id",prop:"mjId"},{default:l(()=>[e(r,{modelValue:t.mjId,"onUpdate:modelValue":o[0]||(o[0]=a=>t.mjId=a),placeholder:"请填写ID信息",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"guildId",prop:"mjGuildId"},{default:l(()=>[e(r,{modelValue:t.mjGuildId,"onUpdate:modelValue":o[1]||(o[1]=a=>t.mjGuildId=a),placeholder:"请填写工会ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"channelId",prop:"mjChannelId"},{default:l(()=>[e(r,{modelValue:t.mjChannelId,"onUpdate:modelValue":o[2]||(o[2]=a=>t.mjChannelId=a),placeholder:"请填写通道ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"sessionId",prop:"mjSessionId"},{default:l(()=>[e(r,{modelValue:t.mjSessionId,"onUpdate:modelValue":o[3]||(o[3]=a=>t.mjSessionId=a),placeholder:"请填写会话ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"version",prop:"mjVersion"},{default:l(()=>[e(r,{modelValue:t.mjVersion,"onUpdate:modelValue":o[4]||(o[4]=a=>t.mjVersion=a),placeholder:"请填写版本信息",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"authorization",prop:"mjAuthorization"},{default:l(()=>[e(r,{modelValue:t.mjAuthorization,"onUpdate:modelValue":o[5]||(o[5]=a=>t.mjAuthorization=a),placeholder:"请填写授权令牌",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"applicationId",prop:"mjApplicationId"},{default:l(()=>[e(r,{modelValue:t.mjApplicationId,"onUpdate:modelValue":o[6]||(o[6]=a=>t.mjApplicationId=a),placeholder:"请填写应用程序ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof I=="function"&&I(R);export{R as default}; diff --git a/public/admin/assets/index-ac6fd7bf.css b/public/admin/assets/index-ac6fd7bf.css deleted file mode 100644 index 920e5d1..0000000 --- a/public/admin/assets/index-ac6fd7bf.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -[data-v-a9cfdc56] .el-menu-item,[data-v-a9cfdc56] .el-menu-item span.title,[data-v-a9cfdc56] .el-sub-menu__title,[data-v-a9cfdc56] .el-sub-menu__title span.title{flex:1;vertical-align:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-a9cfdc56] .el-menu-item{display:flex;align-items:center;justify-content:center}[data-v-a9cfdc56] .el-sub-menu .title-icon,[data-v-a9cfdc56] .el-menu-item .title-icon{width:20px;font-size:20px;vertical-align:-.25em;transition:transform .3s;color:unset}[data-v-a9cfdc56] .el-sub-menu .title-icon+.title,[data-v-a9cfdc56] .el-menu-item .title-icon+.title{margin-left:10px}[data-v-a9cfdc56] .el-sub-menu:hover>.title-icon,[data-v-a9cfdc56] .el-sub-menu .el-sub-menu__title:hover>.title-icon,[data-v-a9cfdc56] .el-menu-item:hover>.title-icon,[data-v-a9cfdc56] .el-menu-item .el-sub-menu__title:hover>.title-icon{transform:scale(1.2)}a[data-v-a9cfdc56]{cursor:pointer;color:inherit;text-decoration:none}.el-sub-menu__title>.badge-dot[data-v-a9cfdc56]{right:40px}.el-sub-menu__title>.badge-text[data-v-a9cfdc56]{right:40px}.el-menu--inline{background-color:var(--g-sub-sidebar-menu-bg)!important}.el-menu--inline .el-menu-item,.el-menu--inline .el-sub-menu>.el-sub-menu__title{color:var(--g-sub-sidebar-menu-color);background-color:var(--g-sub-sidebar-menu-bg)!important}.el-menu--inline .el-menu-item:hover,.el-menu--inline .el-sub-menu>.el-sub-menu__title:hover{color:var(--g-sub-sidebar-menu-hover-color)!important;background-color:var(--g-sub-sidebar-menu-hover-bg)!important}.el-menu-item,.el-sub-menu__title{color:var(--g-sub-sidebar-menu-color)!important;background:transparent!important}.el-menu-item:hover,.el-sub-menu__title:hover{color:var(--g-sub-sidebar-menu-hover-color)!important;background-color:var(--g-sub-sidebar-menu-hover-bg)!important}.el-menu-item.is-active,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title,.el-sub-menu .el-menu--inline .el-menu-item.is-active{color:var(--g-sub-sidebar-menu-active-color)!important;background-color:var(--g-sub-sidebar-menu-active-bg)!important}.el-menu-item.is-active .icon,.el-menu-item.is-active .el-sub-menu__icon-arrow,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title .icon,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-sub-menu .el-menu--inline .el-menu-item.is-active .icon,.el-sub-menu .el-menu--inline .el-menu-item.is-active .el-sub-menu__icon-arrow{color:unset} diff --git a/public/admin/assets/index-ae3f9f06.js b/public/admin/assets/index-ae3f9f06.js deleted file mode 100644 index aedd24d..0000000 --- a/public/admin/assets/index-ae3f9f06.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as h,g as x,y as A,z as L,A as D,B as $,C as b,x as H,D as r,F as I,h as u,o as n,c as g,a,e as o,G as v,b as t,H as T,I as l,J as d,f as c,T as V,w as z,v as K,K as N,L as P,M as R,_ as E,n as F}from"./index-e656eb90.js";import{_ as G}from"./index-726fcaec.js";import J from"./link-885b9ecb.js";import U from"./index-67c7447d.js";import j from"./index-d1fde25b.js";import q from"./index-d2ace44b.js";import O from"./index-41c34c90.js";import Q from"./index-ab2aba6b.js";import W from"./index-dd83f076.js";import X from"./index-c0099047.js";import{u as Y}from"./index-ae957cc8.js";import{u as Z}from"./useMenu-e606149a.js";import"./config-e611a8d0.js";import"./index-fd8a5577.js";import"./index-9f94fa8a.js";import"./index-8847c619.js";import"./index-c0974f86.js";const ee={class:"layout"},te={id:"app-main"},oe={class:"wrapper"},se={class:"main"},ne={key:0},ae=h({name:"Layout"}),ie=h({...ae,setup(re){const _=x(),e=A(),k=L(),m=D(),f=$(()=>!!_.meta.link);return b(()=>e.settings.menu.subMenuCollapse,s=>{e.mode==="mobile"&&(s?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),b(()=>_.path,()=>{e.mode==="mobile"&&e.$patch(s=>{s.settings.menu.subMenuCollapse=!0})}),H(()=>{r("f5",s=>{e.settings.toolbar.enablePageReload&&(s.preventDefault(),Y().reload())}),r("alt+`",s=>{e.settings.menu.enableHotkeys&&(s.preventDefault(),Z().switchTo(m.actived+1{r.unbind("f5"),r.unbind("alt+`")}),(s,i)=>{const y=u("router-view"),S=G,C=u("el-backtop"),w=E,M=u("el-icon");return n(),g("div",ee,[a("div",te,[o(U),a("div",oe,[a("div",{class:v(["sidebar-container",{show:t(e).mode==="mobile"&&!t(e).settings.menu.subMenuCollapse}])},[o(j),o(q)],2),a("div",{class:v(["sidebar-mask",{show:t(e).mode==="mobile"&&!t(e).settings.menu.subMenuCollapse}]),onClick:i[0]||(i[0]=p=>t(e).toggleSidebarCollapse())},null,2),a("div",{class:"main-container",style:T({"padding-bottom":s.$route.meta.paddingBottom})},[t(e).settings.menu.menuMode==="head"&&!t(e).settings.menu.enableSubMenuCollapseButton&&!t(e).settings.breadcrumb.enable?d("",!0):(n(),l(O,{key:0})),a("div",se,[o(y,null,{default:c(({Component:p,route:B})=>[o(V,{name:"main",mode:"out-in",appear:""},{default:c(()=>[(n(),l(P,{include:t(k).list},[z((n(),l(N(p),{key:B.fullPath})),[[K,!t(f)]])],1032,["include"]))]),_:2},1024)]),_:1}),t(f)?(n(),l(J,{key:0})):d("",!0)]),o(S)],4)]),o(C,{right:20,bottom:20,title:"回到顶部"})]),o(Q),o(W),t(e).settings.app.enableAppSetting?(n(),g("div",ne,[o(M,{class:"app-setting",onClick:i[1]||(i[1]=p=>t(R).emit("global-app-setting-toggle"))},{default:c(()=>[o(w,{name:"ep:setting"})]),_:1}),o(X)])):d("",!0)])}}});const Me=F(ie,[["__scopeId","data-v-096f3f7e"]]);export{Me as default}; diff --git a/public/admin/assets/index-ae5a13a3.js b/public/admin/assets/index-ae5a13a3.js deleted file mode 100644 index eb57763..0000000 --- a/public/admin/assets/index-ae5a13a3.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{_ as V}from"./index-fd8a5577.js";import{a as _}from"./config-e611a8d0.js";import{d as k,Q as q,r as i,x as j,h as o,o as B,c as E,e,f as s,a as f,l as N,E as m,q as u}from"./index-e656eb90.js";const A={class:"flex justify-between"},O=f("b",null,"模型系统消息预设",-1),R=k({__name:"index",setup(U){const l=q({systemPreMessage:""}),d=i({systemPreMessage:[{required:!0,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),a=i();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(l,t.data)}function p(){var t;(t=a.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(l)}),m.success("变更配置信息成功")}catch{}r()}else m.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return j(()=>{r()}),(t,n)=>{const c=o("el-alert"),y=V,b=o("el-button"),x=o("el-input"),h=o("el-form-item"),w=o("el-col"),C=o("el-row"),M=o("el-form"),P=o("el-card");return B(),E("div",null,[e(y,null,{default:s(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(P,{style:{margin:"20px"}},{header:s(()=>[f("div",A,[O,e(b,{class:"button",text:"",onClick:p},{default:s(()=>[N(" 保存设置 ")]),_:1})])]),default:s(()=>[e(M,{ref_key:"formRef",ref:a,rules:d.value,model:l,"label-width":"140px"},{default:s(()=>[e(C,null,{default:s(()=>[e(w,{xs:24,md:20,lg:15,xl:12},{default:s(()=>[e(h,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:s(()=>[e(x,{modelValue:l.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=v=>l.systemPreMessage=v),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof u=="function"&&u(R);export{R as default}; diff --git a/public/admin/assets/index-ae957cc8.js b/public/admin/assets/index-ae957cc8.js deleted file mode 100644 index 959cc55..0000000 --- a/public/admin/assets/index-ae957cc8.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{a3 as j,d as x,j as z,y as F,u as M,h as u,o as l,c as d,a as k,b as e,M as v,e as t,f as o,J as c,w as y,v as S,I as w,l as i,t as C,_ as D,n as I}from"./index-e656eb90.js";import{a as O}from"./index-c0974f86.js";function R(){function g(){j.push({name:"reload"})}return{reload:g}}const A={class:"tools"},E={class:"buttons"},J={class:"user-wrapper"},U=x({name:"Tools"}),q=x({...U,setup(g){const p=z(),n=F(),f=M(),B=R(),{isFullscreen:N,toggle:h}=O();function T(b){switch(b){case"home":p.push({name:"home"});break;case"setting":p.push({name:"personalSetting"});break;case"hotkeys":v.emit("global-hotkeys-intro-toggle");break;case"logout":f.logout().then(()=>{p.push({name:"login"})});break}}return(b,s)=>{const a=D,r=u("el-icon"),$=u("el-avatar"),m=u("el-dropdown-item"),P=u("el-dropdown-menu"),V=u("el-dropdown");return l(),d("div",A,[k("div",E,[e(n).settings.navSearch.enable?(l(),d("span",{key:0,class:"item",onClick:s[0]||(s[0]=_=>e(v).emit("global-search-toggle"))},[t(r,null,{default:o(()=>[t(a,{name:"ep:search"})]),_:1})])):c("",!0),e(n).mode==="pc"&&e(n).settings.toolbar.enableFullscreen?(l(),d("span",{key:1,class:"item",onClick:s[1]||(s[1]=(..._)=>e(h)&&e(h)(..._))},[t(r,null,{default:o(()=>[t(a,{name:e(N)?"fullscreen-exit":"fullscreen"},null,8,["name"])]),_:1})])):c("",!0),e(n).settings.toolbar.enablePageReload?(l(),d("span",{key:2,class:"item",onClick:s[2]||(s[2]=_=>e(B).reload())},[t(r,null,{default:o(()=>[t(a,{name:"ep:refresh-right"})]),_:1})])):c("",!0),e(n).settings.toolbar.enableColorScheme?(l(),d("span",{key:3,class:"item",onClick:s[3]||(s[3]=_=>e(n).setColorScheme(e(n).settings.app.colorScheme==="dark"?"light":"dark"))},[t(r,null,{default:o(()=>[y(t(a,{name:"ep:sunny"},null,512),[[S,e(n).settings.app.colorScheme==="light"]]),y(t(a,{name:"ep:moon"},null,512),[[S,e(n).settings.app.colorScheme==="dark"]])]),_:1})])):c("",!0)]),t(V,{class:"user-container",size:"default",onCommand:T},{dropdown:o(()=>[t(P,{class:"user-dropdown"},{default:o(()=>[e(n).settings.home.enable?(l(),w(m,{key:0,command:"home"},{default:o(()=>[i(C(e(n).settings.home.title),1)]),_:1})):c("",!0),t(m,{command:"setting"},{default:o(()=>[i(" 个人设置 ")]),_:1}),e(n).mode==="pc"?(l(),w(m,{key:1,divided:"",command:"hotkeys"},{default:o(()=>[i(" 快捷键介绍 ")]),_:1})):c("",!0),t(m,{divided:"",command:"logout"},{default:o(()=>[i(" 退出登录 ")]),_:1})]),_:1})]),default:o(()=>[k("div",J,[t($,{size:"small"},{default:o(()=>[t(r,null,{default:o(()=>[t(a,{name:"ep:user-filled"})]),_:1})]),_:1}),i(" "+C(`${e(f).username||"Nine Ai"} `)+" ",1),t(r,null,{default:o(()=>[t(a,{name:"ep:caret-bottom"})]),_:1})])]),_:1})])}}});const G=I(q,[["__scopeId","data-v-ad60bb95"]]),L=Object.freeze(Object.defineProperty({__proto__:null,default:G},Symbol.toStringTag,{value:"Module"}));export{G as T,L as i,R as u}; diff --git a/public/admin/assets/index-c0099047.js b/public/admin/assets/index-c0099047.js deleted file mode 100644 index e4ef94c..0000000 --- a/public/admin/assets/index-c0099047.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as q,g as E,y as F,A as H,r as J,C,x as R,M as O,h as g,o as r,c as h,e,a2 as T,b as l,f as a,l as i,a as o,G as U,I as w,J as f,V as D,_ as G,p as j,i as K,E as L,n as Q}from"./index-e656eb90.js";import{u as W}from"./index-c0974f86.js";const u=y=>(j("data-v-d5267795"),y=y(),K(),y),X={class:"color-scheme"},Y={key:1,class:"menu-mode"},Z=u(()=>o("div",{class:"mode-container"},null,-1)),ee=u(()=>o("div",{class:"mode-container"},null,-1)),te=u(()=>o("div",{class:"mode-container"},null,-1)),le={class:"setting-item"},se={class:"label"},ne={class:"setting-item"},oe={class:"label"},ae={class:"setting-item"},ie=u(()=>o("div",{class:"label"}," 次导航是否折叠 ",-1)),de={key:2,class:"setting-item"},ue=u(()=>o("div",{class:"label"}," 显示次导航折叠按钮 ",-1)),me={class:"setting-item"},pe=u(()=>o("div",{class:"label"}," 是否启用快捷键 ",-1)),ce={class:"setting-item"},_e=u(()=>o("div",{class:"label"}," 模式 ",-1)),ge={key:3,class:"setting-item"},re={class:"label"},be={class:"setting-item"},fe={class:"label"},ve={class:"setting-item"},Ve={class:"label"},he={key:5,class:"setting-item"},ye=u(()=>o("div",{class:"label"}," 是否启用 ",-1)),Se={class:"setting-item"},Ue={class:"label"},ke={class:"setting-item"},Me=u(()=>o("div",{class:"label"}," 是否启用快捷键 ",-1)),Ce={class:"setting-item"},we=u(()=>o("div",{class:"label"}," 是否启用 ",-1)),qe={class:"setting-item"},ze=u(()=>o("div",{class:"label"}," 日期 ",-1)),Pe={class:"setting-item"},xe=u(()=>o("div",{class:"label"}," 公司 ",-1)),Ae={class:"setting-item"},Be=u(()=>o("div",{class:"label"}," 网址 ",-1)),Ie={class:"setting-item"},Ne=u(()=>o("div",{class:"label"}," 备案 ",-1)),$e={class:"setting-item"},Ee={class:"label"},Fe={class:"setting-item"},He=u(()=>o("div",{class:"label"}," 主页名称 ",-1)),Je={class:"setting-item"},Re={class:"label"},Oe={class:"setting-item"},Te=u(()=>o("div",{class:"label"}," 是否启用权限 ",-1)),De={class:"setting-item"},Ge={class:"label"},je={class:"setting-item"},Ke={class:"label"},Le=q({name:"AppSetting"}),Qe=q({...Le,setup(y){const z=E(),t=F(),k=H(),v=J(!1);C(()=>t.settings.menu.menuMode,S=>{S==="single"?k.setActived(0):k.setActived(z.fullPath)}),R(()=>{O.on("global-app-setting-toggle",()=>{v.value=!v.value})});const{copy:P,copied:x,isSupported:A}=W();C(x,S=>{S&&L.success("复制成功,请粘贴到 src/settings.ts 文件中!")});function B(){P(JSON.stringify(t.settings,null,2))}return(S,s)=>{const I=g("el-alert"),_=g("el-divider"),m=G,p=g("el-icon"),c=g("el-tooltip"),d=g("el-switch"),b=g("el-radio-button"),M=g("el-radio-group"),V=g("el-input"),N=g("el-button"),$=g("el-drawer");return r(),h("div",null,[e($,{modelValue:l(v),"onUpdate:modelValue":s[27]||(s[27]=n=>D(v)?v.value=n:null),title:"应用配置",direction:"rtl",size:360},T({default:a(()=>[e(I,{title:"应用配置可实时预览效果,但只是临时生效,要想真正作用于项目,可以点击下方的“复制配置”按钮,并将配置粘贴到 src/settings.ts 文件中。同时建议在生产环境隐藏应用配置功能。",type:"error",closable:!1}),e(_,null,{default:a(()=>[i("颜色主题")]),_:1}),o("div",X,[o("div",{class:U(["switch",l(t).settings.app.colorScheme]),onClick:s[0]||(s[0]=n=>l(t).settings.app.colorScheme=l(t).settings.app.colorScheme==="dark"?"light":"dark")},[e(p,{class:"icon"},{default:a(()=>[e(m,{name:l(t).settings.app.colorScheme==="light"?"ep:sunny":"ep:moon"},null,8,["name"])]),_:1})],2)]),l(t).mode==="pc"?(r(),w(_,{key:0},{default:a(()=>[i(" 导航栏模式 ")]),_:1})):f("",!0),l(t).mode==="pc"?(r(),h("div",Y,[e(c,{content:"侧边栏模式(含主导航)",placement:"top","show-after":500},{default:a(()=>[o("div",{class:U(["mode mode-side",{active:l(t).settings.menu.menuMode==="side"}]),onClick:s[1]||(s[1]=n=>l(t).settings.menu.menuMode="side")},[Z,e(p,null,{default:a(()=>[e(m,{name:"ep:check"})]),_:1})],2)]),_:1}),e(c,{content:"顶部模式",placement:"top","show-after":500},{default:a(()=>[o("div",{class:U(["mode mode-head",{active:l(t).settings.menu.menuMode==="head"}]),onClick:s[2]||(s[2]=n=>l(t).settings.menu.menuMode="head")},[ee,e(p,null,{default:a(()=>[e(m,{name:"ep:check"})]),_:1})],2)]),_:1}),e(c,{content:"侧边栏模式(不含主导航)",placement:"top","show-after":500},{default:a(()=>[o("div",{class:U(["mode mode-single",{active:l(t).settings.menu.menuMode==="single"}]),onClick:s[3]||(s[3]=n=>l(t).settings.menu.menuMode="single")},[te,e(p,null,{default:a(()=>[e(m,{name:"ep:check"})]),_:1})],2)]),_:1})])):f("",!0),e(_,null,{default:a(()=>[i("导航栏")]),_:1}),o("div",le,[o("div",se,[i(" 主导航切换跳转 "),e(c,{content:"开启该功能后,切换主导航时,页面自动跳转至该主导航下,次导航里第一个导航",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.menu.switchMainMenuAndPageJump,"onUpdate:modelValue":s[4]||(s[4]=n=>l(t).settings.menu.switchMainMenuAndPageJump=n),disabled:["single"].includes(l(t).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),o("div",ne,[o("div",oe,[i(" 次导航保持展开一个 "),e(c,{content:"开启该功能后,次导航只保持单个菜单的展开",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.menu.subMenuUniqueOpened,"onUpdate:modelValue":s[5]||(s[5]=n=>l(t).settings.menu.subMenuUniqueOpened=n)},null,8,["modelValue"])]),o("div",ae,[ie,e(d,{modelValue:l(t).settings.menu.subMenuCollapse,"onUpdate:modelValue":s[6]||(s[6]=n=>l(t).settings.menu.subMenuCollapse=n)},null,8,["modelValue"])]),l(t).mode==="pc"?(r(),h("div",de,[ue,e(d,{modelValue:l(t).settings.menu.enableSubMenuCollapseButton,"onUpdate:modelValue":s[7]||(s[7]=n=>l(t).settings.menu.enableSubMenuCollapseButton=n)},null,8,["modelValue"])])):f("",!0),o("div",me,[pe,e(d,{modelValue:l(t).settings.menu.enableHotkeys,"onUpdate:modelValue":s[8]||(s[8]=n=>l(t).settings.menu.enableHotkeys=n),disabled:["single"].includes(l(t).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),e(_,null,{default:a(()=>[i("顶栏")]),_:1}),o("div",ce,[_e,e(M,{modelValue:l(t).settings.topbar.mode,"onUpdate:modelValue":s[9]||(s[9]=n=>l(t).settings.topbar.mode=n),size:"small"},{default:a(()=>[e(b,{label:"static"},{default:a(()=>[i(" 静止 ")]),_:1}),e(b,{label:"fixed"},{default:a(()=>[i(" 固定 ")]),_:1}),e(b,{label:"sticky"},{default:a(()=>[i(" 粘性 ")]),_:1})]),_:1},8,["modelValue"])]),e(_,null,{default:a(()=>[i("工具栏")]),_:1}),l(t).mode==="pc"?(r(),h("div",ge,[o("div",re,[i(" 全屏 "),e(c,{content:"该功能使用场景极少,用户习惯于通过窗口“最大化”功能来扩大显示区域,以显示更多内容,并且使用 F11 键也可以进入全屏效果",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.toolbar.enableFullscreen,"onUpdate:modelValue":s[10]||(s[10]=n=>l(t).settings.toolbar.enableFullscreen=n)},null,8,["modelValue"])])):f("",!0),o("div",be,[o("div",fe,[i(" 页面刷新 "),e(c,{content:"开启时会阻止原生 F5 键刷新功能,并采用框架提供的刷新模式进行页面刷新",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.toolbar.enablePageReload,"onUpdate:modelValue":s[11]||(s[11]=n=>l(t).settings.toolbar.enablePageReload=n)},null,8,["modelValue"])]),o("div",ve,[o("div",Ve,[i(" 颜色主题 "),e(c,{content:"开启后可在明亮/暗黑模式中切换",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.toolbar.enableColorScheme,"onUpdate:modelValue":s[12]||(s[12]=n=>l(t).settings.toolbar.enableColorScheme=n)},null,8,["modelValue"])]),l(t).mode==="pc"?(r(),w(_,{key:4},{default:a(()=>[i(" 面包屑导航 ")]),_:1})):f("",!0),l(t).mode==="pc"?(r(),h("div",he,[ye,e(d,{modelValue:l(t).settings.breadcrumb.enable,"onUpdate:modelValue":s[13]||(s[13]=n=>l(t).settings.breadcrumb.enable=n)},null,8,["modelValue"])])):f("",!0),e(_,null,{default:a(()=>[i("导航搜索")]),_:1}),o("div",Se,[o("div",Ue,[i(" 是否启用 "),e(c,{content:"对导航进行快捷搜索",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.navSearch.enable,"onUpdate:modelValue":s[14]||(s[14]=n=>l(t).settings.navSearch.enable=n)},null,8,["modelValue"])]),o("div",ke,[Me,e(d,{modelValue:l(t).settings.navSearch.enableHotkeys,"onUpdate:modelValue":s[15]||(s[15]=n=>l(t).settings.navSearch.enableHotkeys=n),disabled:!l(t).settings.navSearch.enable},null,8,["modelValue","disabled"])]),e(_,null,{default:a(()=>[i("底部版权")]),_:1}),o("div",Ce,[we,e(d,{modelValue:l(t).settings.copyright.enable,"onUpdate:modelValue":s[16]||(s[16]=n=>l(t).settings.copyright.enable=n)},null,8,["modelValue"])]),o("div",qe,[ze,e(V,{modelValue:l(t).settings.copyright.dates,"onUpdate:modelValue":s[17]||(s[17]=n=>l(t).settings.copyright.dates=n),size:"small",disabled:!l(t).settings.copyright.enable},null,8,["modelValue","disabled"])]),o("div",Pe,[xe,e(V,{modelValue:l(t).settings.copyright.company,"onUpdate:modelValue":s[18]||(s[18]=n=>l(t).settings.copyright.company=n),size:"small",disabled:!l(t).settings.copyright.enable},null,8,["modelValue","disabled"])]),o("div",Ae,[Be,e(V,{modelValue:l(t).settings.copyright.website,"onUpdate:modelValue":s[19]||(s[19]=n=>l(t).settings.copyright.website=n),size:"small",disabled:!l(t).settings.copyright.enable},null,8,["modelValue","disabled"])]),o("div",Ie,[Ne,e(V,{modelValue:l(t).settings.copyright.beian,"onUpdate:modelValue":s[20]||(s[20]=n=>l(t).settings.copyright.beian=n),size:"small",disabled:!l(t).settings.copyright.enable},null,8,["modelValue","disabled"])]),e(_,null,{default:a(()=>[i("主页")]),_:1}),o("div",$e,[o("div",Ee,[i(" 是否开启 "),e(c,{content:"该功能开启时,登录成功默认进入主页,反之则默认进入导航栏里第一个导航页面",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.home.enable,"onUpdate:modelValue":s[21]||(s[21]=n=>l(t).settings.home.enable=n)},null,8,["modelValue"])]),o("div",Fe,[He,e(V,{modelValue:l(t).settings.home.title,"onUpdate:modelValue":s[22]||(s[22]=n=>l(t).settings.home.title=n),size:"small"},null,8,["modelValue"])]),e(_,null,{default:a(()=>[i("其它")]),_:1}),o("div",Je,[o("div",Re,[i(" 组件尺寸 "),e(c,{content:"全局设置 Element Plus 组件的默认尺寸大小",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(M,{modelValue:l(t).settings.app.elementSize,"onUpdate:modelValue":s[23]||(s[23]=n=>l(t).settings.app.elementSize=n),size:"small"},{default:a(()=>[e(b,{label:"large"},{default:a(()=>[i(" 较大 ")]),_:1}),e(b,{label:"default"},{default:a(()=>[i(" 默认 ")]),_:1}),e(b,{label:"small"},{default:a(()=>[i(" 稍小 ")]),_:1})]),_:1},8,["modelValue"])]),o("div",Oe,[Te,e(d,{modelValue:l(t).settings.app.enablePermission,"onUpdate:modelValue":s[24]||(s[24]=n=>l(t).settings.app.enablePermission=n)},null,8,["modelValue"])]),o("div",De,[o("div",Ge,[i(" 载入进度条 "),e(c,{content:"该功能开启时,跳转路由会看到页面顶部有进度条",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.app.enableProgress,"onUpdate:modelValue":s[25]||(s[25]=n=>l(t).settings.app.enableProgress=n)},null,8,["modelValue"])]),o("div",je,[o("div",Ke,[i(" 动态标题 "),e(c,{content:"该功能开启时,页面标题会显示当前路由标题,格式为“页面标题 - 网站名称”;关闭时则显示网站名称,网站名称在项目根目录下 .env.* 文件里配置",placement:"top"},{default:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:question-filled"})]),_:1})]),_:1})]),e(d,{modelValue:l(t).settings.app.enableDynamicTitle,"onUpdate:modelValue":s[26]||(s[26]=n=>l(t).settings.app.enableDynamicTitle=n)},null,8,["modelValue"])])]),_:2},[l(A)?{name:"footer",fn:a(()=>[e(N,{type:"primary",onClick:B},{icon:a(()=>[e(p,null,{default:a(()=>[e(m,{name:"ep:document-copy"})]),_:1})]),default:a(()=>[i(" 复制配置 ")]),_:1})]),key:"0"}:void 0]),1032,["modelValue"])])}}});const Ye=Q(Qe,[["__scopeId","data-v-d5267795"]]);export{Ye as default}; diff --git a/public/admin/assets/index-c0974f86.js b/public/admin/assets/index-c0974f86.js deleted file mode 100644 index 73cc7bb..0000000 --- a/public/admin/assets/index-c0974f86.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{B as g,r as F,a5 as _,a6 as x,a7 as C,a8 as T,C as B,a9 as L,aa as R,x as W,ab as D,ac as I}from"./index-e656eb90.js";function h(a){var t;const e=x(a);return(t=e==null?void 0:e.$el)!=null?t:e}const O=C?window:void 0,P=C?window.document:void 0,z=C?window.navigator:void 0;function S(...a){let t,e,i,l;if(typeof a[0]=="string"||Array.isArray(a[0])?([e,i,l]=a,t=O):[t,e,i,l]=a,!t)return T;Array.isArray(e)||(e=[e]),Array.isArray(i)||(i=[i]);const u=[],c=()=>{u.forEach(r=>r()),u.length=0},s=(r,d,m,p)=>(r.addEventListener(d,m,p),()=>r.removeEventListener(d,m,p)),f=B(()=>[h(t),x(l)],([r,d])=>{if(c(),!r)return;const m=L(d)?{...d}:d;u.push(...e.flatMap(p=>i.map(y=>s(r,p,y,m))))},{immediate:!0,flush:"post"}),v=()=>{f(),c()};return R(v),v}function V(){const a=F(!1),t=I();return t&&W(()=>{a.value=!0},t),a}function k(a){const t=V();return g(()=>(t.value,!!a()))}function M(a,t={}){const{controls:e=!1,navigator:i=z}=t,l=k(()=>i&&"permissions"in i);let u;const c=typeof a=="string"?{name:a}:a,s=F(),f=()=>{u&&(s.value=u.state)},v=D(async()=>{if(l.value){if(!u)try{u=await i.permissions.query(c),S(u,"change",f),f()}catch{s.value="prompt"}return u}});return v(),e?{state:s,isSupported:l,query:v}:s}function H(a={}){const{navigator:t=z,read:e=!1,source:i,copiedDuring:l=1500,legacy:u=!1}=a,c=k(()=>t&&"clipboard"in t),s=M("clipboard-read"),f=M("clipboard-write"),v=g(()=>c.value||u),r=F(""),d=F(!1),m=_(()=>d.value=!1,l);function p(){c.value&&n(s.value)?t.clipboard.readText().then(o=>{r.value=o}):r.value=b()}v.value&&e&&S(["copy","cut"],p);async function y(o=x(i)){v.value&&o!=null&&(c.value&&n(f.value)?await t.clipboard.writeText(o):E(o),r.value=o,d.value=!0,m.start())}function E(o){const w=document.createElement("textarea");w.value=o??"",w.style.position="absolute",w.style.opacity="0",document.body.appendChild(w),w.select(),document.execCommand("copy"),w.remove()}function b(){var o,w,q;return(q=(w=(o=document==null?void 0:document.getSelection)==null?void 0:o.call(document))==null?void 0:w.toString())!=null?q:""}function n(o){return o==="granted"||o==="prompt"}return{isSupported:v,text:r,copied:d,copy:y}}const A=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function N(a,t={}){const{document:e=P,autoExit:i=!1}=t,l=g(()=>{var n;return(n=h(a))!=null?n:e==null?void 0:e.querySelector("html")}),u=F(!1),c=g(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(n=>e&&n in e||l.value&&n in l.value)),s=g(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(n=>e&&n in e||l.value&&n in l.value)),f=g(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(n=>e&&n in e||l.value&&n in l.value)),v=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(n=>e&&n in e),r=k(()=>l.value&&e&&c.value!==void 0&&s.value!==void 0&&f.value!==void 0),d=()=>v?(e==null?void 0:e[v])===l.value:!1,m=()=>{if(f.value){if(e&&e[f.value]!=null)return e[f.value];{const n=l.value;if((n==null?void 0:n[f.value])!=null)return!!n[f.value]}}return!1};async function p(){if(!(!r.value||!u.value)){if(s.value)if((e==null?void 0:e[s.value])!=null)await e[s.value]();else{const n=l.value;(n==null?void 0:n[s.value])!=null&&await n[s.value]()}u.value=!1}}async function y(){if(!r.value||u.value)return;m()&&await p();const n=l.value;c.value&&(n==null?void 0:n[c.value])!=null&&(await n[c.value](),u.value=!0)}async function E(){await(u.value?p():y())}const b=()=>{const n=m();(!n||n&&d())&&(u.value=n)};return S(e,A,b,!1),S(()=>h(l),A,b,!1),i&&R(p),{isSupported:r,isFullscreen:u,enter:y,exit:p,toggle:E}}export{N as a,H as u}; diff --git a/public/admin/assets/index-cajWEQAp.js b/public/admin/assets/index-cajWEQAp.js new file mode 100644 index 0000000..f700c90 --- /dev/null +++ b/public/admin/assets/index-cajWEQAp.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-DgN2PCOq.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-CA9axw0k.js";import{I as x,d as W,r as p,m as X,a as Z,n,q as E,g as u,c as b,b as e,w as l,F as P,s as I,i as s,h as c,y as ee,z as v,t as k,e as te,K as le,E as z,k as N}from"./index-B-LUCRde.js";import{P as ae,h as oe,i as re,j as ne}from"./index-J5zVJPyL.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";const O={queryAllOrder:_=>x.get("order/queryAll",{params:_}),deleteOrder:_=>x.post("order/delete",_),deleteNotPay:()=>x.post("order/deleteNotPay")},ie=te("div",{class:"flex items-center gap-4"},"订单列表",-1),ue=W({__name:"index",setup(_){const m=p(!1),g=p(!1),V=p([]),C=p(),S=p(0),T=p(0),o=X({userId:"",platform:"",status:"",page:1,size:15}),U=p([]);async function d(){m.value=!0;try{const r=await O.queryAllOrder(o);m.value=!1;const{rows:a,count:h,total_price:f}=r.data;S.value=h,U.value=a,T.value=f}catch{m.value=!1}}async function Y(r){const a=await le.queryAllUser({size:30,username:r});V.value=a.data.rows}function q(r){r==null||r.resetFields(),d()}async function L(r){const{orderId:a}=r;await O.deleteOrder({orderId:a}),z.success("删除订单完成!"),d()}async function F(){g.value=!0;try{await O.deleteNotPay(),z.success("删除未支付订单完成!"),await d(),g.value=!1}catch{z.error("删除未支付订单失败!"),g.value=!1}}return Z(()=>{d()}),(r,a)=>{const h=Q,f=n("el-option"),A=n("el-select"),w=n("el-form-item"),y=n("el-button"),D=n("el-popconfirm"),R=n("el-form"),j=n("el-statistic"),M=J,i=n("el-table-column"),B=n("el-tag"),$=n("el-table"),H=n("el-pagination"),K=n("el-row"),G=E("loading");return u(),b("div",null,[e(h,null,{title:l(()=>[ie]),_:1}),e(M,{class:"flex items-start justify-between"},{default:l(()=>[e(R,{ref_key:"formRef",ref:C,inline:!0,model:o},{default:l(()=>[e(w,{label:"用户名称",prop:"userId"},{default:l(()=>[e(A,{modelValue:o.userId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.userId=t),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":Y,style:{width:"180px"}},{default:l(()=>[(u(!0),b(P,null,I(s(V),t=>(u(),v(f,{key:t.id,label:t.username,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付平台",prop:"platform"},{default:l(()=>[e(A,{modelValue:o.platform,"onUpdate:modelValue":a[1]||(a[1]=t=>o.platform=t),clearable:"",placeholder:"请选择支付平台","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(ae),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付状态",prop:"status"},{default:l(()=>[e(A,{modelValue:o.status,"onUpdate:modelValue":a[2]||(a[2]=t=>o.status=t),clearable:"",placeholder:"请选择支付状态","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(oe),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,null,{default:l(()=>[e(y,{type:"primary",onClick:d},{default:l(()=>[c(" 查询 ")]),_:1}),e(y,{onClick:a[3]||(a[3]=t=>q(s(C)))},{default:l(()=>[c(" 重置 ")]),_:1}),e(D,{title:"确认删除所有未支付订单么?",onConfirm:F},{reference:l(()=>[e(y,{type:"danger"},{default:l(()=>[c(" 删除所有未支付订单 ")]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),e(j,{title:"累计已支付订单金额",value:s(T)},null,8,["value"])]),_:1}),e(M,{style:{width:"100%"}},{default:l(()=>[ee((u(),v($,{border:"",data:s(U),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[e(i,{fixed:"",prop:"orderId",label:"订单ID",width:"315"}),e(i,{prop:"userInfo.username",label:"用户名称",width:"180"}),e(i,{prop:"userInfo.email",label:"用户邮箱",width:"200"}),e(i,{prop:"goodsInfo.name",label:"套餐名称",width:"140"}),e(i,{prop:"price",label:"商品单价",width:"110"}),e(i,{prop:"count",label:"购买数量",width:"90",align:"center"}),e(i,{prop:"total",label:"订单总价",width:"90",align:"center"}),e(i,{prop:"total",label:"支付平台",width:"90",align:"center"},{default:l(t=>[c(k(s(re)[t.row.payPlatform]),1)]),_:1}),e(i,{prop:"status",label:"支付状态",width:"90",align:"center"},{default:l(t=>[e(B,{type:t.row.status===1?"success":"warning"},{default:l(()=>[c(k(s(ne)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(i,{prop:"createdAt",label:"订单时间",width:"200",fixed:"right"},{default:l(t=>[c(k(s(se)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(i,{fixed:"right",label:"操作"},{default:l(t=>[e(D,{title:"确认删除此订单么、删除订单不可恢复?",width:"400","icon-color":"red",onConfirm:de=>L(t.row)},{reference:l(()=>[e(y,{link:"",type:"danger",size:"small",loading:s(g)},{default:l(()=>[c(" 删除订单 ")]),_:1},8,["loading"])]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[G,s(m)]]),e(K,{class:"mt-5 flex justify-end"},{default:l(()=>[e(H,{"current-page":o.page,"onUpdate:currentPage":a[4]||(a[4]=t=>o.page=t),"page-size":o.size,"onUpdate:pageSize":a[5]||(a[5]=t=>o.size=t),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:s(S),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof N=="function"&&N(ue);export{ue as default}; diff --git a/public/admin/assets/index-cajWEQAp.js.br b/public/admin/assets/index-cajWEQAp.js.br new file mode 100644 index 0000000..8362cba Binary files /dev/null and b/public/admin/assets/index-cajWEQAp.js.br differ diff --git a/public/admin/assets/index-cajWEQAp.js.gz b/public/admin/assets/index-cajWEQAp.js.gz new file mode 100644 index 0000000..f048b1a Binary files /dev/null and b/public/admin/assets/index-cajWEQAp.js.gz differ diff --git a/public/admin/assets/index-d1fde25b.js b/public/admin/assets/index-d1fde25b.js deleted file mode 100644 index eaa7bf1..0000000 --- a/public/admin/assets/index-d1fde25b.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as g,y as k,A as b,h as y,o as t,I as d,f as u,b as s,c as n,e as m,a as p,S as f,U as C,J as c,T as M,G as x,t as B,_ as w,n as N}from"./index-e656eb90.js";import T from"./index-9f94fa8a.js";import{u as V}from"./useMenu-e606149a.js";const I={key:0,class:"main-sidebar-container"},L={class:"nav"},$=["title","onClick"],z=g({name:"MainSidebar"}),A=g({...z,setup(D){const a=k(),i=b(),{switchTo:v}=V();return(E,F)=>{const h=w,S=y("el-icon");return t(),d(M,{name:"main-sidebar"},{default:u(()=>[s(a).settings.menu.menuMode==="side"||s(a).mode==="mobile"&&s(a).settings.menu.menuMode!=="single"?(t(),n("div",I,[m(T,{"show-title":!1,class:"sidebar-logo"}),p("div",L,[(t(!0),n(f,null,C(s(i).allMenus,(e,o)=>{var l,r,_;return t(),n(f,null,[e.children&&e.children.length!==0?(t(),n("div",{key:o,class:x(["item",{active:o===s(i).actived}]),title:((l=e.meta)==null?void 0:l.title)??"[ 无标题 ]",onClick:G=>s(v)(o)},[(r=e.meta)!=null&&r.icon?(t(),d(S,{key:0},{default:u(()=>[m(h,{name:e.meta.icon},null,8,["name"])]),_:2},1024)):c("",!0),p("span",null,B(((_=e.meta)==null?void 0:_.title)??"[ 无标题 ]"),1)],10,$)):c("",!0)],64)}),256))])])):c("",!0)]),_:1})}}});const q=N(A,[["__scopeId","data-v-27edc889"]]);export{q as default}; diff --git a/public/admin/assets/index-d2ace44b.js b/public/admin/assets/index-d2ace44b.js deleted file mode 100644 index 53145aa..0000000 --- a/public/admin/assets/index-d2ace44b.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as g,y as h,A as S,B as M,r as v,h as C,b as e,o as t,c as o,e as l,G as u,f as d,Z as y,S as p,U as k,J as m,I as q,n as w}from"./index-e656eb90.js";import x from"./index-9f94fa8a.js";import B from"./index-8847c619.js";const I=g({name:"SubSidebar"}),T=g({...I,setup(G){const s=h(),i=S();M(()=>s.settings.app.colorScheme==="dark"?"https://public-1300678944.cos.ap-shanghai.myqcloud.com/ai/f6d0d3596.png":"https://public-1300678944.cos.ap-shanghai.myqcloud.com/blog/1681895253740image.png");const c=v(0);function b(a){c.value=a.target.scrollTop}return(a,L)=>{const _=C("el-menu");return["side","head","single"].includes(e(s).settings.menu.menuMode)||e(s).mode==="mobile"?(t(),o("div",{key:0,class:u(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}]),onScroll:b},[l(x,{"show-logo":e(s).settings.menu.menuMode==="single",class:u(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single",shadow:e(c)}])},null,8,["show-logo","class"]),l(_,{"unique-opened":e(s).settings.menu.subMenuUniqueOpened,"default-openeds":e(i).defaultOpenedPaths,"default-active":a.$route.meta.activeMenu||a.$route.path,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,"collapse-transition":!1,class:u({"is-collapse-without-logo":e(s).settings.menu.menuMode!=="single"&&e(s).settings.menu.subMenuCollapse})},{default:d(()=>[l(y,{name:"sub-sidebar"},{default:d(()=>[(t(!0),o(p,null,k(e(i).sidebarMenus,(n,f)=>{var r;return t(),o(p,null,[((r=n.meta)==null?void 0:r.sidebar)!==!1?(t(),q(B,{key:n.path||f,item:n,"base-path":n.path},null,8,["item","base-path"])):m("",!0)],64)}),256))]),_:1})]),_:1},8,["unique-opened","default-openeds","default-active","collapse","class"])],34)):m("",!0)}}});const V=w(T,[["__scopeId","data-v-859c71ea"]]);export{V as default}; diff --git a/public/admin/assets/index-d5406c70.js b/public/admin/assets/index-d5406c70.js deleted file mode 100644 index 273faf3..0000000 --- a/public/admin/assets/index-d5406c70.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -const l=[{value:0,label:"待激活"},{value:1,label:"正常"},{value:2,label:"已封禁"},{value:3,label:"黑名单"}],a={0:"待激活",1:"正常",2:"已封禁",3:"黑名单"},e={0:"info",1:"success",2:"danger",3:"danger"},t={1:"注册赠送",2:"受邀请赠送",3:"邀请人赠送",4:"购买套餐赠送",5:"管理员赠送",6:"扫码支付",7:"绘画失败退款",8:"签到奖励"},u=[{value:1,label:"注册赠送"},{value:2,label:"受邀请赠送"},{value:3,label:"邀请人赠送"},{value:4,label:"购买套餐赠送"},{value:5,label:"管理员赠送"},{value:6,label:"扫码支付"},{value:7,label:"绘画失败退款"},{value:8,label:"签到奖励"}],s={0:"关闭",1:"开启"},b={0:"danger",1:"success"},o=[{value:0,label:"禁用"},{value:1,label:"启动"}],v=[{value:0,label:"未使用"},{value:1,label:"已使用"}],n=[{value:0,label:"未推荐"},{value:1,label:"已推荐"}],S=[{value:0,label:"禁用"},{value:1,label:"启用"},{value:3,label:"待审核"},{value:4,label:"拒绝共享"},{value:5,label:"通过共享"}],T=[{value:"0",label:"未启用"},{value:"1",label:"已启用"}],_=[{value:0,label:"待审核"},{value:1,label:"已通过"},{value:-1,label:"已拒绝"}],p=[{value:0,label:"未推荐"},{value:1,label:"已推荐"}],c=[{value:1,label:"支付宝"},{value:2,label:"微信"}],r=[{value:1,label:"正在排队"},{value:2,label:"正在绘制"},{value:3,label:"绘制完成"},{value:4,label:"绘制失败"},{value:5,label:"绘制超时"}],g={0:"danger",1:"success"},E={"-1":"欠费锁定",0:"未启用",1:"已启用",3:"待审核",4:"拒绝共享",5:"通过共享"},A=["gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k","gpt-3.5-turbo-0125","gpt-3.5-turbo-instruct","gpt-4","gpt-4-0613","gpt-4-32k","gpt-4-32k-0613","gpt-4-1106-preview","gpt-4-vision-preview","gpt-4-all","gpt-4-0125-preview","gpt-4-turbo-preview","dall-e-3","midjourney","claude-2.0","claude-2.1","claude-3-sonnet-20240229","claude-3-opus-20240229","claude-3-haiku-20240307","gemini-pro","ERNIE-Bot","ERNIE-Bot-4","ERNIE-3.5-8K","ERNIE-Bot-turbo","qwen-turbo","qwen-plus","qwen-max","qwen-max-1201","qwen-max-longcontext","hunyuan","chatglm_turbo","chatglm_pro","chatglm_std","chatglm_lite","glm-3-turbo","glm-4","glm-4v","360GPT_S2_V9","SparkDesk","SparkDesk-v1.1","SparkDesk-v2.1","SparkDesk-v3.1","SparkDesk-v3.5","tts-1","gpts","stable-diffusion","suno-v2","suno-v3"],P=[{value:"midjourney",label:"Midjourney"},{value:"stable-diffusion",label:"Stable-Diffusion"},{value:"dall-e-3",label:"Dall-e-3"}],i=[{value:0,label:"未支付"},{value:1,label:"已支付"},{value:2,label:"支付失败"},{value:3,label:"支付超时"}],I={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},O=[{value:"epay",label:"易支付"},{value:"hupi",label:"虎皮椒"},{value:"wechat",label:"微信支付"},{value:"mpay",label:"码支付"},{value:"ltzf",label:"蓝兔支付"}],m={epay:"易支付",hupi:"虎皮椒",wechat:"微信支付",mpay:"码支付",ltzf:"蓝兔支付"},R=[{value:1,label:"等待中"},{value:2,label:"绘制中"},{value:3,label:"绘制完成"},{value:4,label:"绘制失败"},{value:5,label:"绘制超时"}],k=[{value:"system",label:"系统"},{value:"user",label:"用户"}],N={1:"排队中",2:"绘制中",3:"绘制完成",4:"绘制失败",5:"绘制超时"},D=[{value:"百度云检测",label:"百度云检测"},{value:"自定义检测",label:"自定义检测"}],d=[{value:1,label:"基础对话"},{value:2,label:"创意模型"},{value:3,label:"特殊模型"}],M={1:"基础对话",2:"创意模型",3:"特殊模型"},U={1:["gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k","gpt-3.5-turbo-0125","gpt-3.5-turbo-instruct","gpt-4","gpt-4-0613","gpt-4-32k","gpt-4-32k-0613","gpt-4-1106-preview","gpt-4-vision-preview","gpt-4-all","gpt-4-0125-preview","gpt-4-turbo-preview","claude-2.0","claude-2.1","claude-3-sonnet-20240229","claude-3-opus-20240229","claude-3-haiku-20240307","gemini-pro","gemini-pro-vision","ERNIE-Bot","ERNIE-Bot-4","ERNIE-3.5-8K","ERNIE-Bot-turbo","qwen-turbo","qwen-plus","qwen-max","qwen-max-1201","qwen-max-longcontext","hunyuan","chatglm_turbo","chatglm_pro","chatglm_std","chatglm_lite","glm-3-turbo","glm-4","glm-4v","360GPT_S2_V9","SparkDesk","SparkDesk-v1.1","SparkDesk-v2.1","SparkDesk-v3.1","SparkDesk-v3.5"],2:["dall-e-3","midjourney","stable-diffusion","suno-v2","suno-v3"],3:["tts-1","gpts"]},w=[{value:1,label:"普通积分"},{value:2,label:"高级积分"},{value:3,label:"绘画积分"}];export{k as A,v as C,P as D,S as E,b as I,A as M,_ as O,O as P,E as Q,n as R,D as T,e as U,r as W,R as a,T as b,g as c,p as d,N as e,U as f,d as g,M as h,w as i,i as j,m as k,I as l,o as m,s as n,c as o,a as p,l as q,u as r,t as s}; diff --git a/public/admin/assets/index-dbf182a3.js b/public/admin/assets/index-dbf182a3.js deleted file mode 100644 index e7418e9..0000000 --- a/public/admin/assets/index-dbf182a3.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{s as r,t as O,L as i,i as n,c as $,f as y,k as P,l as X,a as m,b as c,E as S}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const s=110,l=1,f=2,t=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(f,1)}}),d=new S(T=>{if(t.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(s)}}),Z=new S(T=>{if(t.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=r({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=c.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQO'#EP'#EPO2tQWO,5:iO2yQWO,5:iOOQO'#ES'#ESO3RQWO,5:lO3WQ!fO,5:rO3iQ`O'#EkO.pQ`O,5;oOOQO,5:|,5:|O3zQWO,5:tOOQO,5:},5:}O4XQWO,5;]OOQO-E8a-E8aOOQP1G.m1G.mOOQP'#Ce'#CeO5RQaO,5;OOOQP'#Df'#DfOOQO-E8b-E8bOOQO1G.h1G.hO(QQWO1G.hO5fQWO1G.hO5nQeO1G.oO.cQ[O1G.oOOQP1G/a1G/aO6{QpO1G/dO7fQaO1G/gO8cQaO1G/iO9`QaO1G/jO:]Q!fO'#FOO:yQ!fO'#ExOOQO'#FO'#FOOOQO,5;i,5;iO<^QWO,5;iOWQWO1G/rO>]Q!fO'#DnO>qQWO,5:ZO>vQ!fO,5:_OOQO'#DP'#DPO'bQWO,5:]O?XQWO'#DwOOQS,5:b,5:bO?`QWO,5:dO'bQWO'#EiO?gQWO,5;mO*bQWO,5:`OOQO1G0P1G0PO?uQ!fO,5:^O@aQ!fO,59cOOQS,59e,59eO(QQWO,59iOOQS,59n,59nO@rQWO,59pOOQO1G0R1G0RO@yQ#tO,59rOARQ!fO,59lOOQO1G0T1G0TOBrQWO1G0TOBwQWO'#ETOOQO1G0W1G0WOOQO1G0^1G0^OOQO,5;V,5;VOOQO-E8i-E8iOCVQ!fO1G0bOCvQWO1G0`O%kQWO'#E_O$RQWO'#E`OEZQWO'#E^OOQO1G0b1G0bPEkQWO'#EcOUAN>UO!!RQWO,5;QOOQO-E8d-E8dO!!]QWOAN>dOOQS<S![;'S%T;'S;=`%f<%lO%Tm>ZY#m]|`Oy%Tz!Q%T!Q![>S![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%Tm?OY|`Oy%Tz{%T{|?n|}%T}!O?n!O!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm?sU|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@^U#m]|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@w[#m]|`Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TbAtS#xQ|`Oy%Tz;'S%T;'S;=`%f<%lO%TkBVScZOy%Tz;'S%T;'S;=`%f<%lO%TmBhXrWOy%Tz}%T}!OCT!O!P=k!P!Q%T!Q![@p![;'S%T;'S;=`%f<%lO%TmCYW|`Oy%Tz!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%TmCy[f]|`Oy%Tz}%T}!OCr!O!Q%T!Q![Cr![!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%ToDtW#iROy%Tz!O%T!O!PE^!P!Q%T!Q![>S![;'S%T;'S;=`%f<%lO%TlEcU|`Oy%Tz!O%T!O!PEu!P;'S%T;'S;=`%f<%lO%TlE|S#s[|`Oy%Tz;'S%T;'S;=`%f<%lO%T~F_VrWOy%Tz{Ft{!P%T!P!QIl!Q;'S%T;'S;=`%f<%lO%T~FyU|`OyFtyzG]z{Hd{;'SFt;'S;=`If<%lOFt~G`TOzG]z{Go{;'SG];'S;=`H^<%lOG]~GrVOzG]z{Go{!PG]!P!QHX!Q;'SG];'S;=`H^<%lOG]~H^OR~~HaP;=`<%lG]~HiW|`OyFtyzG]z{Hd{!PFt!P!QIR!Q;'SFt;'S;=`If<%lOFt~IYS|`R~Oy%Tz;'S%T;'S;=`%f<%lO%T~IiP;=`<%lFt~IsV|`S~OYIlYZ%TZyIlyzJYz;'SIl;'S;=`Jq<%lOIl~J_SS~OYJYZ;'SJY;'S;=`Jk<%lOJY~JnP;=`<%lJY~JtP;=`<%lIlmJ|[#m]Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TkKwU^ZOy%Tz![%T![!]LZ!];'S%T;'S;=`%f<%lO%TcLbS_R|`Oy%Tz;'S%T;'S;=`%f<%lO%TkLsS!ZZOy%Tz;'S%T;'S;=`%f<%lO%ThMUUrWOy%Tz!_%T!_!`Mh!`;'S%T;'S;=`%f<%lO%ThMoS|`rWOy%Tz;'S%T;'S;=`%f<%lO%TlNSW!SSrWOy%Tz!^%T!^!_Mh!_!`%T!`!aMh!a;'S%T;'S;=`%f<%lO%TjNsV!UQrWOy%Tz!_%T!_!`Mh!`!a! Y!a;'S%T;'S;=`%f<%lO%Tb! aS!UQ|`Oy%Tz;'S%T;'S;=`%f<%lO%To! rYg]Oy%Tz!b%T!b!c!!b!c!}!#R!}#T%T#T#o!#R#o#p!$O#p;'S%T;'S;=`%f<%lO%Tm!!iWg]|`Oy%Tz!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%Tm!#Y[g]|`Oy%Tz}%T}!O!#R!O!Q%T!Q![!#R![!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%To!$TW|`Oy%Tz!c%T!c!}!$m!}#T%T#T#o!$m#o;'S%T;'S;=`%f<%lO%To!$r^|`Oy%Tz}%T}!O!$m!O!Q%T!Q![!$m![!c%T!c!}!$m!}#T%T#T#o!$m#o#q%T#q#r!%n#r;'S%T;'S;=`%f<%lO%To!%uSp_|`Oy%Tz;'S%T;'S;=`%f<%lO%To!&W[#h_Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%To!'T[#h_|`Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%Tk!(OSyZOy%Tz;'S%T;'S;=`%f<%lO%Tm!(aSw]Oy%Tz;'S%T;'S;=`%f<%lO%Td!(pUOy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tk!)XS!^ZOy%Tz;'S%T;'S;=`%f<%lO%Tk!)jS!]ZOy%Tz;'S%T;'S;=`%f<%lO%To!){Y#oQOr%Trs!*ksw%Twx!.wxy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tm!*pZ|`OY!*kYZ%TZr!*krs!+csy!*kyz!+vz#O!*k#O#P!-j#P;'S!*k;'S;=`!.q<%lO!*km!+jSo]|`Oy%Tz;'S%T;'S;=`%f<%lO%T]!+yWOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d<%lO!+v]!,hOo]]!,kRO;'S!+v;'S;=`!,t;=`O!+v]!,wXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+vm!-oU|`Oy!*kyz!+vz;'S!*k;'S;=`!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=i.define({name:"less",parser:g.configure({props:[n.add({Declaration:$()}),y.add({Block:P})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=X(T=>T.name=="VariableName"||T.name=="AtKeyword");function G(){return new m(o,o.data.of({autocomplete:u}))}export{G as less,u as lessCompletionSource,o as lessLanguage}; diff --git a/public/admin/assets/index-dd83f076.js b/public/admin/assets/index-dd83f076.js deleted file mode 100644 index c104802..0000000 --- a/public/admin/assets/index-dd83f076.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{d as g,r as v,y as b,x as y,M as k,h as l,o as r,c as x,e as n,f as s,l as c,t as d,b as e,I as u,J as m,V as S,n as V}from"./index-e656eb90.js";const h=g({__name:"index",setup(w){const o=v(!1),t=b();return y(()=>{k.on("global-hotkeys-intro-toggle",()=>{o.value=!o.value})}),(B,i)=>{const a=l("el-descriptions-item"),_=l("el-descriptions"),p=l("el-drawer");return r(),x("div",null,[n(p,{modelValue:e(o),"onUpdate:modelValue":i[0]||(i[0]=f=>S(o)?o.value=f:null),title:"快捷键介绍",direction:"rtl",size:360},{default:s(()=>[n(_,{title:"全局",column:1,border:""},{default:s(()=>[n(a,{label:"查看系统信息"},{default:s(()=>[c(d(e(t).os==="mac"?"⌥":"Alt")+" + I ",1)]),_:1}),e(t).settings.navSearch.enable&&e(t).settings.navSearch.enableHotkeys?(r(),u(a,{key:0,label:"唤起导航搜索"},{default:s(()=>[c(d(e(t).os==="mac"?"⌥":"Alt")+" + S ",1)]),_:1})):m("",!0)]),_:1}),e(t).settings.menu.enableHotkeys&&["side","head"].includes(e(t).settings.menu.menuMode)?(r(),u(_,{key:0,title:"主导航",column:1,border:""},{default:s(()=>[n(a,{label:"激活下一个主导航"},{default:s(()=>[c(d(e(t).os==="mac"?"⌥":"Alt")+" + ` ",1)]),_:1})]),_:1})):m("",!0)]),_:1},8,["modelValue"])])}}});const I=V(h,[["__scopeId","data-v-59fcc97e"]]);export{I as default}; diff --git a/public/admin/assets/index-e00796d2.css b/public/admin/assets/index-e00796d2.css deleted file mode 100644 index abe4dbe..0000000 --- a/public/admin/assets/index-e00796d2.css +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -[data-v-d5267795] .el-drawer__header{margin-bottom:initial;padding-bottom:20px;border-bottom:1px solid var(--el-border-color)}[data-v-d5267795] .el-drawer__footer{padding:20px;border-top:1px solid var(--el-border-color);transition:var(--el-transition-border)}[data-v-d5267795] .el-drawer__footer .el-button{width:100%}[data-v-d5267795] .el-divider{margin:36px 0 24px}.color-scheme[data-v-d5267795]{display:flex;align-items:center;justify-content:center;padding-bottom:10px}.color-scheme .switch[data-v-d5267795]{width:50px;height:30px;border-radius:15px;cursor:pointer;background-color:var(--el-fill-color-darker);transition:background-color .3s}.color-scheme .switch.dark .icon[data-v-d5267795]{margin-left:23px}.color-scheme .switch .icon[data-v-d5267795]{margin:3px;padding:5px;font-size:24px;border-radius:50%;background-color:var(--el-fill-color-lighter);transition:margin-left .3s,background-color .3s}.menu-mode[data-v-d5267795]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;padding-bottom:10px}.menu-mode .mode[data-v-d5267795]{position:relative;width:80px;height:55px;margin:10px;border-radius:5px;overflow:hidden;cursor:pointer;background-color:var(--g-app-bg);box-shadow:0 0 5px 1px var(--el-border-color-lighter);transition:.2s}.menu-mode .mode[data-v-d5267795]:hover{box-shadow:0 0 5px 1px var(--el-border-color-darker)}.menu-mode .mode.active[data-v-d5267795]{box-shadow:0 0 0 2px var(--el-color-primary)}.menu-mode .mode[data-v-d5267795]:before,.menu-mode .mode[data-v-d5267795]:after,.menu-mode .mode .mode-container[data-v-d5267795]{pointer-events:none;position:absolute;border-radius:3px}.menu-mode .mode .mode-container[data-v-d5267795]:before{content:"";position:absolute;width:100%;height:100%;background-color:var(--g-sub-sidebar-menu-active-bg);opacity:.2}.menu-mode .mode-side[data-v-d5267795]:before{content:"";top:5px;left:5px;bottom:5px;width:10px;background-color:var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode-side[data-v-d5267795]:after{content:"";top:5px;left:20px;bottom:5px;width:15px;background-color:var(--g-sub-sidebar-menu-active-bg);opacity:.5}.menu-mode .mode-side .mode-container[data-v-d5267795]{top:5px;right:5px;bottom:5px;left:40px;border:1px dashed var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode-head[data-v-d5267795]:before{content:"";top:5px;left:5px;right:5px;height:10px;background-color:var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode-head[data-v-d5267795]:after{content:"";top:20px;left:5px;bottom:5px;width:15px;background-color:var(--g-sub-sidebar-menu-active-bg);opacity:.5}.menu-mode .mode-head .mode-container[data-v-d5267795]{top:20px;right:5px;bottom:5px;left:25px;border:1px dashed var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode-single[data-v-d5267795]:before{content:"";position:absolute;top:5px;left:5px;bottom:5px;width:15px;background-color:var(--g-sub-sidebar-menu-active-bg);opacity:.5}.menu-mode .mode-single .mode-container[data-v-d5267795]{top:5px;right:5px;bottom:5px;left:25px;border:1px dashed var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode i[data-v-d5267795]{position:absolute;right:10px;bottom:10px;display:none}.menu-mode .mode.active i[data-v-d5267795]{display:block;color:var(--el-color-primary)}.setting-item[data-v-d5267795]{display:flex;align-items:center;justify-content:space-between;margin:5px 0;padding:5px 10px;border-radius:5px;transition:all .3s}.setting-item[data-v-d5267795]:hover{background:var(--el-fill-color)}.setting-item .label[data-v-d5267795]{font-size:14px;color:var(--el-text-color-regular);display:flex;align-items:center}.setting-item .label i[data-v-d5267795]{margin-left:4px;font-size:17px;color:var(--el-color-warning);cursor:help}.setting-item .el-switch[data-v-d5267795]{height:auto}.setting-item .el-input[data-v-d5267795]{width:150px} diff --git a/public/admin/assets/index-e4ec44af.js b/public/admin/assets/index-e4ec44af.js deleted file mode 100644 index 7304df6..0000000 --- a/public/admin/assets/index-e4ec44af.js +++ /dev/null @@ -1,9 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -import{E as Y,s as S,t as Q,b as l,L as o,i as n,c as i,h as s,j as W,f as c,k as f,a as x}from"./notice-6fc93963.js";import"./index-fd8a5577.js";import"./index-e656eb90.js";import"./config-e611a8d0.js";const r=1,Z=2,V=3,u=82,p=76,w=117,q=85,T=97,y=122,z=65,b=90,j=95,a=48,P=34,v=40,U=41,d=32,t=62,_=new Y(O=>{if(O.next==p||O.next==q?O.advance():O.next==w&&(O.advance(),O.next==a+8&&O.advance()),O.next!=u||(O.advance(),O.next!=P))return;O.advance();let e="";for(;O.next!=v;){if(O.next==d||O.next<=13||O.next==U)return;e+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(r);if(O.next==U){let $=!0;for(let X=0;$&&X{if(O.next==t)O.peek(1)==t&&O.acceptToken(Z,1);else{let e=!1,$=0;for(;;$++){if(O.next>=z&&O.next<=b)e=!0;else{if(O.next>=T&&O.next<=y)return;if(O.next!=j&&!(O.next>=a&&O.next<=a+9))break}O.advance()}e&&$>1&&O.acceptToken(V)}},{extend:!0}),g=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":Q.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":Q.modifier,"if else switch for while do case default return break continue goto throw try catch":Q.controlKeyword,"co_return co_yield co_await":Q.controlKeyword,"new sizeof delete static_assert":Q.operatorKeyword,"NULL nullptr":Q.null,this:Q.self,"True False":Q.bool,"TypeSize PrimitiveType":Q.standard(Q.typeName),TypeIdentifier:Q.typeName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),"ModuleName/Identifier":Q.namespace,PartitionName:Q.labelName,StatementIdentifier:Q.labelName,"Identifier DestructorName":Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),"CallExpression/ScopedIdentifier/Identifier":Q.function(Q.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":Q.function(Q.definition(Q.variableName)),NamespaceIdentifier:Q.namespace,OperatorName:Q.operator,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,"RawString SystemLibString":Q.special(Q.string),CharLiteral:Q.character,EscapeSequence:Q.escape,"UserDefinedLiteral/Identifier":Q.literal,PreProcArg:Q.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":Q.processingInstruction,MacroName:Q.special(Q.name),"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"< >":Q.angleBracket,". ->":Q.derefOperator,", ;":Q.separator}),R={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,constinit:80,consteval:82,struct:86,__declspec:90,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:784,true:784,FALSE:786,false:786,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},h={__proto__:null,"<":131},k={__proto__:null,">":135},G={__proto__:null,operator:388,new:576,delete:582},E=l.deserialize({version:14,states:"$:|Q!QQVOOP'gOUOOO(XOWO'#CdO,RQUO'#CgO,]QUO'#FjO-sQbO'#CwO.UQUO'#CwO0TQUO'#KZO0[QUO'#CvO0gOpO'#DvO0oQ!dO'#D]OOQR'#JO'#JOO5XQVO'#GUO5fQUO'#JVOOQQ'#JV'#JVO8zQUO'#KmO{QVO'#E^O?]QUO'#E^OOQQ'#Ed'#EdOOQQ'#Ee'#EeO?bQVO'#EfO@XQVO'#EiOBUQUO'#FPOBvQUO'#FhOOQR'#Fj'#FjOB{QUO'#FjOOQR'#LQ'#LQOOQR'#LP'#LPOETQVO'#KQOFxQUO'#LVOGVQUO'#KqOGkQUO'#LVOH]QUO'#LXOOQR'#HU'#HUOOQR'#HV'#HVOOQR'#HW'#HWOOQR'#K|'#K|OOQR'#J_'#J_Q!QQVOOOHkQVO'#FOOIWQUO'#EhOI_QUOOOKZQVO'#HgOKkQUO'#HgONVQUO'#KqONaQUO'#KqOOQQ'#Kq'#KqO!!_QUO'#KqOOQQ'#Jq'#JqO!!lQUO'#HxOOQQ'#KZ'#KZO!&^QUO'#KZO!&zQUO'#KQO!(zQVO'#I]O!(zQVO'#I`OCQQUO'#KQOOQQ'#Ip'#IpOOQQ'#KQ'#KQO!,}QUO'#KZOOQR'#KY'#KYO!-UQUO'#DYO!/mQUO'#KnOOQQ'#Kn'#KnO!/tQUO'#KnO!/{QUO'#ETO!0QQUO'#EWO!0VQUO'#FRO8zQUO'#FPO!QQVO'#F^O!0[Q#vO'#F`O!0gQUO'#FkO!0oQUO'#FpO!0tQVO'#FrO!0oQUO'#FuO!3sQUO'#FvO!3xQVO'#FxO!4SQUO'#FzO!4XQUO'#F|O!4^QUO'#GOO!4cQVO'#GQO!(zQVO'#GSO!4jQUO'#GpO!4xQUO'#GYO!(zQVO'#FeO!6VQUO'#FeO!6[QVO'#G`O!6cQUO'#GaO!6nQUO'#GnO!6sQUO'#GrO!6xQUO'#GzO!7jQ&lO'#HiO!:mQUO'#GuO!:}QUO'#HXO!;YQUO'#HZO!;bQUO'#DWO!;bQUO'#HuO!;bQUO'#HvO!;yQUO'#HwO!<[QUO'#H|O!=PQUO'#H}O!>uQVO'#IbO!(zQVO'#IdO!?PQUO'#IgO!?WQVO'#IjP!@}{,UO'#CbP!6n{,UO'#CbP!AY{7[O'#CbP!6n{,UO'#CbP!A_{,UO'#CbP!AjOSO'#IzPOOO)CEn)CEnOOOO'#I|'#I|O!AtOWO,59OOOQR,59O,59OO!(zQVO,59UOOQQ,59W,59WO!(zQVO,5;ROOQR,5qOOQR'#IX'#IXOOQR'#IY'#IYOOQR'#IZ'#IZOOQR'#I['#I[O!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!DOQVO,5>zOOQQ,5?W,5?WO!EqQVO'#ChO!IjQUO'#CyOOQQ,59c,59cOOQQ,59b,59bOOQQ,5<},5<}O!IwQ&lO,5=mO!?PQUO,5?RO!LkQVO,5?UO!LrQbO,59cO!L}QVO'#FYOOQQ,5?P,5?PO!M_QVO,59VO!MfO`O,5:bO!MkQbO'#D^O!M|QbO'#K^O!N[QbO,59wO!NdQbO'#CwO!NuQUO'#CwO!NzQUO'#KZO# UQUO'#CvOOQR-E<|-E<|O# aQUO,5AoO# hQVO'#EfO@XQVO'#EiOBUQUO,5;kOOQR,5l,5>lO#3gQUO'#CgO#4]QUO,5>pO#6OQUO'#IeOOQR'#I}'#I}O#6WQUO,5:xO#6tQUO,5:xO#7eQUO,5:xO#8YQUO'#CtO!0QQUO'#ClOOQQ'#JW'#JWO#6tQUO,5:xO#8bQUO,5;QO!4xQUO'#C}O#9kQUO,5;QO#9pQUO,5>QO#:|QUO'#C}O#;dQUO,5>{O#;iQUO'#KwO#}QUO'#L[O#?UQUO,5>UO#?ZQbO'#CwO#?fQUO'#GcO#?kQUO'#E^O#@[QUO,5;kO#@sQUO'#K}O#@{QUO,5;rOKkQUO'#HfOBUQUO'#HgO#AQQUO'#KqO!6nQUO'#HjO#AxQUO'#CtO!0tQVO,5PO$(WQUO'#E[O$(eQUO,5>ROOQQ,5>S,5>SO$,RQVO'#C{OOQQ-E=o-E=oOOQQ,5>d,5>dOOQQ,59`,59`O$,]QUO,5>wO$.]QUO,5>zO!6nQUO,59tO$.pQUO,5;qO$.}QUO,5<{O!0QQUO,5:oOOQQ,5:r,5:rO$/YQUO,5;mO$/_QUO'#KmOBUQUO,5;kOOQR,5;x,5;xO$0OQUO'#FbO$0^QUO'#FbO$0cQUO,5;zO$3|QVO'#FmO!0tQVO,5eQUO,5pQUO,5=[O$>uQUO,5=[O!4xQUO,5}QUO,5uQUO,5<{O$DQQUO,5<{O$D]QUO,5=YO!(zQVO,5=^O!(zQVO,5=fO#NeQUO,5=mOOQQ,5>T,5>TO$FbQUO,5>TO$FlQUO,5>TO$FqQUO,5>TO$FvQUO,5>TO!6nQUO,5>TO$HtQUO'#KZO$H{QUO,5=oO$IWQUO,5=aOKkQUO,5=oO$JQQUO,5=sOOQR,5=s,5=sO$JYQUO,5=sO$LeQVO'#H[OOQQ,5=u,5=uO!;]QUO,5=uO%#`QUO'#KjO%#gQUO'#K[O%#{QUO'#KjO%$VQUO'#DyO%$hQUO'#D|O%'eQUO'#K[OOQQ'#K['#K[O%)WQUO'#K[O%#gQUO'#K[O%)]QUO'#K[OOQQ,59r,59rOOQQ,5>a,5>aOOQQ,5>b,5>bO%)eQUO'#HzO%)mQUO,5>cOOQQ,5>c,5>cO%-XQUO,5>cO%-dQUO,5>hO%1OQVO,5>iO%1VQUO,5>|O# hQVO'#EfO%4]QUO,5>|OOQQ,5>|,5>|O%4|QUO,5?OO%7QQUO,5?RO!<[QUO,5?RO%8|QUO,5?UO%sQUO1G0mOOQQ1G0m1G0mO%@PQUO'#CoO%B`QbO'#CwO%BkQUO'#CrO%BpQUO'#CrO%BuQUO1G.tO#AxQUO'#CqOOQQ1G.t1G.tO%DxQUO1G4]O%FOQUO1G4^O%GqQUO1G4^O%IdQUO1G4^O%KVQUO1G4^O%LxQUO1G4^O%NkQUO1G4^O&!^QUO1G4^O&$PQUO1G4^O&%rQUO1G4^O&'eQUO1G4^O&)WQUO1G4^O&*yQUO'#KPO&,SQUO'#KPO&,[QUO,59SOOQQ,5=P,5=PO&.dQUO,5=PO&.nQUO,5=PO&.sQUO,5=PO&.xQUO,5=PO!6nQUO,5=PO#NeQUO1G3XO&/SQUO1G4mO!<[QUO1G4mO&1OQUO1G4pO&2qQVO1G4pOOQQ1G.}1G.}OOQQ1G.|1G.|OOQQ1G2i1G2iO!IwQ&lO1G3XO&2xQUO'#LOO@XQVO'#EiO&4RQUO'#F]OOQQ'#Ja'#JaO&4WQUO'#FZO&4cQUO'#LOO&4kQUO,5;tO&4pQUO1G.qOOQQ1G.q1G.qOOQR1G/|1G/|O&6cQ!dO'#JPO&6hQbO,59xO&8yQ!eO'#D`O&9QQ!dO'#JRO&9VQbO,5@xO&9VQbO,5@xOOQR1G/c1G/cO&9bQbO1G/cO&9gQ&lO'#GeO&:eQbO,59cOOQR1G7Z1G7ZO#@[QUO1G1VO&:pQUO1G1^OBUQUO1G1VO&=RQUO'#CyO#*wQbO,59cO&@tQUO1G6sOOQR-E<{-E<{O&BWQUO1G0dO#6WQUO1G0dOOQQ-E=U-E=UO#6tQUO1G0dOOQQ1G0l1G0lO&B{QUO,59iOOQQ1G3l1G3lO&CcQUO,59iO&CyQUO,59iO!M_QVO1G4gO!(zQVO'#JYO&DeQUO,5AcOOQQ1G0o1G0oO!(zQVO1G0oO!6nQUO'#JnO&DmQUO,5AvOOQQ1G3p1G3pOOQR1G1V1G1VO&HjQVO'#FOO!M_QVO,5;sOOQQ,5;s,5;sOBUQUO'#JcO&JfQUO,5AiO&JnQVO'#E[OOQR1G1^1G1^O&M]QUO'#L[OOQR1G1n1G1nOOQR-E=f-E=fOOQR1G7]1G7]O#DhQUO1G7]OGVQUO1G7]O#DhQUO1G7_OOQR1G7_1G7_O&MeQUO'#G}O&MmQUO'#LWOOQQ,5=h,5=hO&M{QUO,5=jO&NQQUO,5=kOOQR1G7`1G7`O#EfQVO1G7`O&NVQUO1G7`O' ]QVO,5=kOOQR1G1U1G1UO$.vQUO'#E]O'!RQUO'#E]OOQQ'#Ky'#KyO'!lQUO'#KxO'!wQUO,5;UO'#PQUO'#ElO'#dQUO'#ElO'#wQUO'#EtOOQQ'#J['#J[O'#|QUO,5;cO'$sQUO,5;cO'%nQUO,5;dO'&tQVO,5;dOOQQ,5;d,5;dO''OQVO,5;dO'&tQVO,5;dO''VQUO,5;bO'(SQUO,5;eO'(_QUO'#KpO'(gQUO,5:vO'(lQUO,5;fOOQQ1G0n1G0nOOQQ'#J]'#J]O''VQUO,5;bO!4xQUO'#E}OOQQ,5;b,5;bO')gQUO'#E`O'+aQUO'#E{OHrQUO1G0nO'+fQUO'#EbOOQQ'#JX'#JXO'-OQUO'#KrOOQQ'#Kr'#KrO'-xQUO1G0eO'.pQUO1G3kO'/vQVO1G3kOOQQ1G3k1G3kO'0QQVO1G3kO'0XQUO'#L_O'1eQUO'#KXO'1sQUO'#KWO'2OQUO,59gO'2WQUO1G/`O'2]QUO'#FPOOQR1G1]1G1]OOQR1G2g1G2gO$>uQUO1G2gO'2gQUO1G2gO'2rQUO1G0ZOOQR'#J`'#J`O'2wQVO1G1XO'8pQUO'#FTO'8uQUO1G1VO!6nQUO'#JdO'9TQUO,5;|O$0^QUO,5;|OOQQ'#Fc'#FcOOQQ,5;|,5;|O'9cQUO1G1fOOQR1G1f1G1fO'9kQUO,5}QUO1G2`OOQQ'#Cu'#CuO'CzQUO'#G[O'DuQUO'#G[O'DzQUO'#LRO'EYQUO'#G_OOQQ'#LS'#LSO'EhQUO1G2`O'EmQVO1G1kO'HOQVO'#GUOBUQUO'#FWOOQR'#Je'#JeO'EmQVO1G1kO'HYQUO'#FvOOQR1G2f1G2fO'H_QUO1G2gO'HdQUO'#JgO'2gQUO1G2gO!(zQVO1G2tO'HlQUO1G2xO'IuQUO1G3QO'J{QUO1G3XOOQQ1G3o1G3oO'KaQUO1G3oOOQR1G3Z1G3ZO'KfQUO'#KZO'2]QUO'#LTOGkQUO'#LVOOQR'#Gy'#GyO#DhQUO'#LXOOQR'#HQ'#HQO'KpQUO'#GvO'#wQUO'#GuOOQR1G2{1G2{O'LmQUO1G2{O'MdQUO1G3ZO'MoQUO1G3_O'MtQUO1G3_OOQR1G3_1G3_O'M|QUO'#H]OOQR'#H]'#H]O( VQUO'#H]O!(zQVO'#H`O!(zQVO'#H_OOQR'#LZ'#LZO( [QUO'#LZOOQR'#Jk'#JkO( aQVO,5=vOOQQ,5=v,5=vO( hQUO'#H^O( pQUO'#HZOOQQ1G3a1G3aO( zQUO,5@vOOQQ,5@v,5@vO%)WQUO,5@vO%)]QUO,5@vO%$VQUO,5:eO(%iQUO'#KkO(%wQUO'#KkOOQQ,5:e,5:eOOQQ'#JS'#JSO(&SQUO'#D}O(&^QUO'#KqOGkQUO'#LVO('YQUO'#D}OOQQ'#Hp'#HpOOQQ'#Hr'#HrOOQQ'#Hs'#HsOOQQ'#Kl'#KlOOQQ'#JU'#JUO('dQUO,5:hOOQQ,5:h,5:hO((aQUO'#LVO((nQUO'#HtO()UQUO,5@vO()]QUO'#H{O()hQUO'#L^O()pQUO,5>fO()uQUO'#L]OOQQ1G3}1G3}O(-lQUO1G3}O(-sQUO1G3}O(-zQUO1G4TO(/QQUO1G4TO(/VQUO,5A|O!6nQUO1G4hO!(zQVO'#IiOOQQ1G4m1G4mO(/[QUO1G4mO(1_QVO1G4pPOOO1G.h1G.hP!A_{,UO1G.hP(3_QUO'#LeP(3j{,UO1G.hP(3o{7[O1G.hPO{O-E=s-E=sPOOO,5A},5A}P(3w{,UO,5A}POOO1G5Q1G5QO!(zQVO7+$[O(3|QUO'#CyOOQQ,59^,59^O(4XQbO,59cO(4dQbO,59^OOQQ,59],59]OOQQ7+)w7+)wO!M_QVO'#JtO(4oQUO,5@kOOQQ1G.n1G.nOOQQ1G2k1G2kO(4wQUO1G2kO(4|QUO7+(sOOQQ7+*X7+*XO(7bQUO7+*XO(7iQUO7+*XO(1_QVO7+*[O#NeQUO7+(sO(7vQVO'#JbO(8ZQUO,5AjO(8cQUO,5;vOOQQ'#Co'#CoOOQQ,5;w,5;wO!(zQVO'#F[OOQQ-E=_-E=_O!M_QVO,5;uOOQQ1G1`1G1`OOQQ,5?k,5?kOOQQ-E<}-E<}OOQR'#Dg'#DgOOQR'#Di'#DiOOQR'#Dl'#DlO(9lQ!eO'#K_O(9sQMkO'#K_O(9zQ!eO'#K_OOQR'#K_'#K_OOQR'#JQ'#JQO(:RQ!eO,59zOOQQ,59z,59zO(:YQbO,5?mOOQQ-E=P-E=PO(:hQbO1G6dOOQR7+$}7+$}OOQR7+&q7+&qOOQR7+&x7+&xO'8uQUO7+&qO(:sQUO7+&OO#6WQUO7+&OO(;hQUO1G/TO(]QUO,5?tOOQQ-E=W-E=WO(?fQUO7+&ZOOQQ,5@Y,5@YOOQQ-E=l-E=lO(?kQUO'#LOO@XQVO'#EiO(@wQUO1G1_OOQQ1G1_1G1_O(BQQUO,5?}OOQQ,5?},5?}OOQQ-E=a-E=aO(BfQUO'#KpOOQR7+,w7+,wO#DhQUO7+,wOOQR7+,y7+,yO(BsQUO,5=iO#DsQUO'#JjO(CUQUO,5ArOOQR1G3U1G3UOOQR1G3V1G3VO(CdQUO7+,zOOQR7+,z7+,zO(E[QUO,5:wO(FyQUO'#EwO!(zQVO,5;VO(GlQUO,5:wO(GvQUO'#EpO(HXQUO'#EzOOQQ,5;Z,5;ZO#K]QVO'#ExO(HoQUO,5:wO(HvQUO'#EyO#GgQUO'#JZO(J`QUO,5AdOOQQ1G0p1G0pO(JkQUO,5;WO!<[QUO,5;^O(KUQUO,5;_O(KdQUO,5;WO(MvQUO,5;`OOQQ-E=Y-E=YO(NOQUO1G0}OOQQ1G1O1G1OO(NyQUO1G1OO)!PQVO1G1OO)!WQVO1G1OO)!bQUO1G0|OOQQ1G0|1G0|OOQQ1G1P1G1PO)#_QUO'#JoO)#iQUO,5A[OOQQ1G0b1G0bOOQQ-E=Z-E=ZO)#qQUO,5;iO!<[QUO,5;iO)$nQVO,5:zO)$uQUO,5;gO$ mQUO7+&YOOQQ7+&Y7+&YO!(zQVO'#EfO)$|QUO,5:|OOQQ'#Ks'#KsOOQQ-E=V-E=VOOQQ,5A^,5A^OOQQ'#Jl'#JlO)(qQUO7+&PPOQQ7+&P7+&POOQQ7+)V7+)VO))iQUO7+)VO)*oQVO7+)VOOQQ,5>m,5>mO$)YQVO'#JsO)*vQUO,5@rOOQQ1G/R1G/ROOQQ7+$z7+$zO)+RQUO7+(RO)+WQUO7+(ROOQR7+(R7+(RO$>uQUO7+(ROOQQ7+%u7+%uOOQR-E=^-E=^O!0VQUO,5;oOOQQ,5@O,5@OOOQQ-E=b-E=bO$0^QUO1G1hOOQQ1G1h1G1hOOQR7+'Q7+'QOOQR1G1s1G1sOBUQUO,5;rO)+tQUO,5hQUO,5}QUO7+(dO)?SQVO7+(dOOQQ7+(l7+(lOOQQ7+)Z7+)ZO)?[QUO'#KjO)?fQUO'#KjOOQR,5=b,5=bO)?sQUO,5=bO!;bQUO,5=bO!;bQUO,5=bO!;bQUO,5=bOOQR7+(g7+(gOOQR7+(u7+(uOOQR7+(y7+(yOOQR,5=w,5=wO)?xQUO,5=zO)AOQUO,5=yOOQR,5Au,5AuOOQR-E=i-E=iOOQQ1G3b1G3bO)BUQUO,5=xO)BZQVO'#EfOOQQ1G6b1G6bO%)WQUO1G6bO%)]QUO1G6bOOQQ1G0P1G0POOQQ-E=Q-E=QO)DrQUO,5AVO(%iQUO'#JTO)D}QUO,5AVO)D}QUO,5AVO)EVQUO,5:iO8zQUO,5:iOOQQ,5>],5>]O)EaQUO,5AqO)EhQUO'#EVO)FrQUO'#EVO)G]QUO,5:iO)GgQUO'#HlO)GgQUO'#HmOOQQ'#Ko'#KoO)HUQUO'#KoO!(zQVO'#HnOOQQ,5:i,5:iO)HvQUO,5:iO!M_QVO,5:iOOQQ-E=S-E=SOOQQ1G0S1G0SOOQQ,5>`,5>`O)H{QUO1G6bO!(zQVO,5>gO)LjQUO'#JrO)LuQUO,5AxOOQQ1G4Q1G4QO)L}QUO,5AwOOQQ,5Aw,5AwOOQQ7+)i7+)iO*!lQUO7+)iOOQQ7+)o7+)oO*'kQVO1G7hO*)mQUO7+*SO*)rQUO,5?TO**xQUO7+*[POOO7+$S7+$SP*,kQUO'#LfP*,sQUO,5BPP*,x{,UO7+$SPOOO1G7i1G7iO*,}QUO<XQUO7+&jO*?_QVO7+&jOOQQ7+&h7+&hOOQQ,5@Z,5@ZOOQQ-E=m-E=mO*@ZQUO1G1TO*@eQUO1G1TO*AOQUO1G0fOOQQ1G0f1G0fO*BUQUO'#K{O*B^QUO1G1ROOQQ<uQUO<VO)GgQUO'#JpO*NQQUO1G0TO*NcQVO1G0TOOQQ1G3u1G3uO*NjQUO,5>WO*NuQUO,5>XO+ dQUO,5>YO+!jQUO1G0TO%)]QUO7++|O+#pQUO1G4ROOQQ,5@^,5@^OOQQ-E=p-E=pOOQQ<n,5>nO+/iQUOANAXOOQRANAXANAXO+/nQUO7+'`OOQRAN@cAN@cO+0zQVOAN@nO+1RQUOAN@nO!0tQVOAN@nO+2[QUOAN@nO+2aQUOAN@}O+2lQUOAN@}O+3rQUOAN@}OOQRAN@nAN@nO!M_QVOAN@}OOQRANAOANAOO+3wQUO7+'|O)7VQUO7+'|OOQQ7+(O7+(OO+4YQUO7+(OO+5`QVO7+(OO+5gQVO7+'hO+5nQUOANAjOOQR7+(h7+(hOOQR7+)P7+)PO+5sQUO7+)PO+5xQUO7+)POOQQ<= h<= hO+6QQUO7+,]O+6YQUO1G5ZOOQQ1G5Z1G5ZO+6eQUO7+%oOOQQ7+%o7+%oO+6vQUO7+%oO*NcQVO7+%oOOQQ7+)a7+)aO+6{QUO7+%oO+8RQUO7+%oO!M_QVO7+%oO+8]QUO1G0]O*LkQUO1G0]O)EhQUO1G0]OOQQ1G0a1G0aO+8zQUO1G3qO+:QQVO1G3qOOQQ1G3q1G3qO+:[QVO1G3qO+:cQUO,5@[OOQQ-E=n-E=nOOQQ1G3r1G3rO%)WQUO<= hOOQQ7+*Z7+*ZPOQQ,5@b,5@bPOQQ-E=t-E=tOOQQ1G/}1G/}OOQQ,5?x,5?xOOQQ-E=[-E=[OOQRG26sG26sO+:zQUOG26YO!0tQVOG26YO+QQUO<uAN>uO+BpQUOAN>uO+CvQUOAN>uO!M_QVOAN>uO+C{QUO<nQUO'#KZO,?OQUO'#CyO,?^QbO,59cO,6VQUO7+&OO,OP>i>{?aFXMX!&]!,sP!3m!4b!5VP!5qPPPPPPPP!6[P!7tPP!9V!:oP!:uPPPPPP!:xP!:xPP!:xPPPPPPPPP!;U!>lP!>oPP!?]!@QPPPPP!@UP>l!AgPP>l!Cn!Eo!E}!Gd!ITP!I`P!Io!Io!MP#!`##v#'S#*^!Eo#*hPP!Eo#*o#*u#*h#*h#*xP#*|#+k#+k#+k#+k!ITP#,U#,g#.|P#/bP#0}P#1R#1Z#2O#2Z#4i#4q#4q#1RP#1RP#4x#5OP#5YPP#5u#6d#7U#5uP#7v#8SP#5uP#5uPP#5u#5uP#5uP#5uP#5uP#5uP#5uP#5uP#8V#5Y#8sP#9YP#9o#9o#9o#9o#9|#1RP#:d#?`#?}PPPPPPPP#@uP#ATP#ATP#Aa#Dn#9OPP#@}#EQP#Ee#Ep#Ev#Ev#@}#FlP#1R#1R#1R#1R#1RP!Io#GW#G_#G_#G_#Gc!Ly#Gm!Ly#Gq!E}!E}!E}#Gt#L^!E}>l>l>l$#V!@Q!@Q!@Q!@Q!@Q!@Q!6[!6[!6[$#jP$%V$%e!6[$%kPP!6[$'y$'|#@l$(P:t7j$+V$-Q$.q$0a7jPP7j$2T7jP7j7jP7jP$5Z7jP7jPP7j$5gPPPPPPPPP*[P$8o$8u$;^$=d$=j$>Q$>[$>g$>v$>|$@[$AZ$Ab$Ai$Ao$Aw$BR$BX$Bd$Bj$Bs$B{$CW$C^$Ch$Cn$Cx$DP$D`$Df$DlP$Dr$Dz$ER$Ea$F}$GT$GZ$Gb$GkPPPPPPPP$Gq$GuPPPPP$Nw$'y$Nz%$S%&[P%&i%&lPPPPPPPPPP%&x%'{%(R%(V%)|%+Z%+|%,T%.d%.jPPP%.t%/P%/S%/Y%0a%0d%0n%0x%0|%2Q%2s%2y#@uP%3d%3t%3w%4X%4e%4i%4o%4u$'y$'|$'|%4x%4{P%5V%5YR#cP'`mO[aefwx{!W!X!g!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&S&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*q*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0h0{1Q1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fU%om%p7QQ&m!`Q(j#]d0P)}/|/}0O0R4}5O5P5S8QR7Q3Tb}Oaewx{!g&S*q&v$i[!W!X!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0{1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fS%`f0h#d%jgnp|#O$g$|$}%S%d%h%i%w&s't'u(Q*Y*`*b*t+],l,v-_-p-w.f.m.o0]0y0z1O1S2_2j5a6g;W;X;Y;`;a;b;o;p;q;r;v;w;x;y MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec ) Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:425,nodeProps:[["group",-35,1,8,11,14,15,16,18,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,17,24,25,26,42,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""]],propSources:[g],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,347,348],repeatNodeCount:41,tokenData:"&*r7ZR!UOX$eXY({YZ.gZ]$e]^+P^p$epq({qr.}rs0}st2ktu$euv!7dvw!9bwx!;exy!O{|!?R|}!AV}!O!BQ!O!P!DX!P!Q#+y!Q!R#Az!R![$(x![!]$Ag!]!^$Cc!^!_$D^!_!`%1W!`!a%2X!a!b%5_!b!c$e!c!n%6Y!n!o%7q!o!w%6Y!w!x%7q!x!}%6Y!}#O%:n#O#P%u#Y#]4Y#]#^NZ#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e4eb)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#o4Y#o;'S$e;'S;=`(u<%lO$e4e5xd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#X4Y#X#Y7W#Y#o4Y#o;'S$e;'S;=`(u<%lO$e4e7cd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#Y4Y#Y#Z8q#Z#o4Y#o;'S$e;'S;=`(u<%lO$e4e8|d)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#]4Y#]#^:[#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e:gd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#b4Y#b#c;u#c#o4Y#o;'S$e;'S;=`(u<%lO$e4e][)S,g)ZW(pQ%Z!b'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!?`^)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|!@[|!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!@gY)ZW!X-y(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!AbY!h,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!B__)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox}$e}!O!@[!O!_$e!_!`!8g!`!a!C^!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!CiY(x-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Dd^)ZW(pQ'f&j(w,gOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!E`!P!Q$e!Q![!GY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Ei[)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!F_!P#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!FjY)X,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]!Gen)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Icx!Q$e!Q![!GY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2T!IjY(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![!JY![#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O2T!Jcn(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Icx!Q(O!Q![!JY![!g(O!g!h!La!h!i##`!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#X(O#X#Y!La#Y#Z##`#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ljl(pQ!i,g'f&jOY(OZr(Ors%}s{(O{|!Nb|}(O}!O!Nb!O!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ni^(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![# e![!c(O!c!i# e!i#O(O#O#P&f#P#T(O#T#Z# e#Z;'S(O;'S;=`(o<%lO(O2T# nj(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Nbx!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T##id(pQ!i,g'f&jOY(OZr(Ors%}s!h(O!h!i##`!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#Y(O#Y#Z##`#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2]#%Sn)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|#'Q|}$e}!O#'Q!O!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#'Z`)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![#(]![!c$e!c!i#(]!i#O$e#O#P&f#P#T$e#T#Z#(]#Z;'S$e;'S;=`(u<%lO$e2]#(hj)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Nbx!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#*ef)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox!h$e!h!i#*Y!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#Y$e#Y#Z#*Y#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e7Z#,W`)ZW(pQ%Z!b![,g'f&jOY$eZr$ers%^sw$ewx(Oxz$ez{#-Y{!P$e!P!Q#:s!Q!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#-c])ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y1e#._TOz#.[z{#.n{;'S#.[;'S;=`#/]<%lO#.[1e#.qVOz#.[z{#.n{!P#.[!P!Q#/W!Q;'S#.[;'S;=`#/]<%lO#.[1e#/]OT1e1e#/`P;=`<%l#.[7X#/jZ)ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7P#0bX'f&jOY#0]YZ#.[Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1SZ'f&jOY#0]YZ#.[Zz#0]z{#0}{!P#0]!P!Q#1u!Q#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1|UT1e'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}7P#2eZ'f&jOY#0]YZ#0]Z]#0]]^#3W^z#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3]X'f&jOY#0]YZ#0]Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3{P;=`<%l#0]7X#4V])ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{!P#/c!P!Q#5O!Q#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7X#5XW)ZWT1e'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^7X#5tP;=`<%l#/c7R#6OZ(pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#6x](pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{!P#5w!P!Q#7q!Q#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#7zW(pQT1e'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O7R#8gP;=`<%l#5w7Z#8s_)ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{!P#-Y!P!Q#9r!Q#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y7Z#9}Y)ZW(pQT1e'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#:pP;=`<%l#-Y7Z#;OY)ZW(pQS1e'f&jOY#:sZr#:srs#;nsw#:swx#@{x#O#:s#O#P#[<%lO#b#P;'S#[<%lO#[<%lO#_P;=`<%l#i]S1e'f&jOY#b#P#b#[<%lO#[<%lO#b#P#b#[<%lO#t!R![$2V![!c$e!c!i$2V!i#O$e#O#P&f#P#T$e#T#Z$2V#Z;'S$e;'S;=`(u<%lO$e2]$?Pv)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx$4lx!O$e!O!P$ m!P!Q$e!Q![$2V![!c$e!c!g$2V!g!h$:p!h!i$2V!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#U$2V#U#V$2V#V#X$2V#X#Y$:p#Y#Z$2V#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j#l$e#l#m$0z#m;'S$e;'S;=`(u<%lO$e4e$Ar[(v-X)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox![$e![!]$Bh!]#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3s$BsYl-})ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]$CnY)W,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7V$Dk_p,g%]!b)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!^$Ej!^!_%+w!_!`%.U!`!a%0]!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej*[$Es])ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ejp$FoTO!`$Fl!`!a$GO!a;'S$Fl;'S;=`$GT<%lO$Flp$GTO$Wpp$GWP;=`<%l$Fl*Y$GbZ)ZW'f&jOY$GZYZ$FlZw$GZwx$HTx!`$GZ!`!a%(U!a#O$GZ#O#P$Ib#P;'S$GZ;'S;=`%(y<%lO$GZ*Q$HYX'f&jOY$HTYZ$FlZ!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q$IOU$WpY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}*Q$Ig['f&jOY$HTYZ$HTZ]$HT]^$J]^!`$HT!`!a$NO!a#O$HT#O#P%&n#P;'S$HT;'S;=`%'f;=`<%l%$z<%lO$HT*Q$JbX'f&jOY$HTYZ$J}Z!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT'[$KSX'f&jOY$J}YZ$FlZ!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$KvU$Wp'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}'[$L_Z'f&jOY$J}YZ$J}Z]$J}]^$MQ^!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MVX'f&jOY$J}YZ$J}Z!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MuP;=`<%l$J}*Q$M{P;=`<%l$HT*Q$NVW$Wp'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`$NtW'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`% eUY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%})`% |Y'f&jOY$NoYZ$NoZ]$No]^%!l^#O$No#O#P%#d#P;'S$No;'S;=`%$[;=`<%l%$z<%lO$No)`%!qX'f&jOY$NoYZ%}Z!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%#aP;=`<%l$No)`%#iZ'f&jOY$NoYZ%}Z]$No]^%!l^!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%$_XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$No<%lO%$z#t%$}WOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h<%lO%$z#t%%lOY#t#t%%oRO;'S%$z;'S;=`%%x;=`O%$z#t%%{XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l%$z<%lO%$z#t%&kP;=`<%l%$z*Q%&sZ'f&jOY$HTYZ$J}Z]$HT]^$J]^!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q%'iXOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$HT<%lO%$z*Y%(aW$WpY#t)ZW'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^*Y%(|P;=`<%l$GZ*S%)WZ(pQ'f&jOY%)PYZ$FlZr%)Prs$HTs!`%)P!`!a%)y!a#O%)P#O#P$Ib#P;'S%)P;'S;=`%*n<%lO%)P*S%*UW$WpY#t(pQ'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O*S%*qP;=`<%l%)P*[%+RY$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e*[%+tP;=`<%l$Ej7V%,U^)ZW(pQ%[!b!f,g'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!_$Ej!_!`%-Q!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%-]]!g-y)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%.c]%]!b!b,g)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%/[!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%/mY%]!b!b,g$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e)j%0hYY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%1c[)j!c)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`0Q!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%2f]%]!b)ZW(pQ!d,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`%3_!`!a%4[!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%3lY%]!b!b,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%4i[)ZW(pQ%[!b!f,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%5jY(uP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z%6ib)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e7Z%8Qb)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e5P%9cW)ZW(o/]'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^2T%:UW(pQ)Y,g'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O3o%:yZ!V-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!}$e!}#O%;l#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%;wY)PP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e4e%[Z]%=q]^%?Z^!Q%=q!Q![%?w![!w%=q!w!x%AX!x#O%=q#O#P%H_#P#i%=q#i#j%Ds#j#l%=q#l#m%IR#m;'S%=q;'S;=`%Kt<%lO%=q&t%=xUXY'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}4e%>e[XY(n.o'f&jOX%}XY-OYZ*[Z]%}]^-O^p%}pq-Oq#O%}#O#P,^#P;'S%};'S;=`'r<%lO%}4e%?bVXY'f&jOY%}YZ-OZ#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@OWXY'f&jOY%}Z!Q%}!Q![%@h![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@oWXY'f&jOY%}Z!Q%}!Q![%=q![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%A^['f&jOY%}Z!Q%}!Q![%BS![!c%}!c!i%BS!i#O%}#O#P&f#P#T%}#T#Z%BS#Z;'S%};'S;=`'r<%lO%}&t%BX['f&jOY%}Z!Q%}!Q![%B}![!c%}!c!i%B}!i#O%}#O#P&f#P#T%}#T#Z%B}#Z;'S%};'S;=`'r<%lO%}&t%CS['f&jOY%}Z!Q%}!Q![%Cx![!c%}!c!i%Cx!i#O%}#O#P&f#P#T%}#T#Z%Cx#Z;'S%};'S;=`'r<%lO%}&t%C}['f&jOY%}Z!Q%}!Q![%Ds![!c%}!c!i%Ds!i#O%}#O#P&f#P#T%}#T#Z%Ds#Z;'S%};'S;=`'r<%lO%}&t%Dx['f&jOY%}Z!Q%}!Q![%En![!c%}!c!i%En!i#O%}#O#P&f#P#T%}#T#Z%En#Z;'S%};'S;=`'r<%lO%}&t%Es['f&jOY%}Z!Q%}!Q![%Fi![!c%}!c!i%Fi!i#O%}#O#P&f#P#T%}#T#Z%Fi#Z;'S%};'S;=`'r<%lO%}&t%Fn['f&jOY%}Z!Q%}!Q![%Gd![!c%}!c!i%Gd!i#O%}#O#P&f#P#T%}#T#Z%Gd#Z;'S%};'S;=`'r<%lO%}&t%Gi['f&jOY%}Z!Q%}!Q![%=q![!c%}!c!i%=q!i#O%}#O#P&f#P#T%}#T#Z%=q#Z;'S%};'S;=`'r<%lO%}&t%HfXXY'f&jOY%}YZ%}Z]%}]^'W^#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%IW['f&jOY%}Z!Q%}!Q![%I|![!c%}!c!i%I|!i#O%}#O#P&f#P#T%}#T#Z%I|#Z;'S%};'S;=`'r<%lO%}&t%JR['f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KO[XY'f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KwP;=`<%l%=q2a%LVZ!W,V)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P#Q%Lx#Q;'S$e;'S;=`(u<%lO$e'Y%MTY)]d)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%NQ[)ZW(pQ%[!b'f&j!_,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z& Vd)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q!Y%6Y!Y!Z%7q!Z![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e2]&!pY!T,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o&#m^)ZW(pQ%[!b'f&j!^,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P#p$e#p#q&$i#q;'S$e;'S;=`(u<%lO$e3o&$vY)T,g%^!b)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e'V&%qY!Ua)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e(]&&nc)ZW(pQ%[!b'RP'f&jOX$eXY&'yZp$epq&'yqr$ers%^sw$ewx(Ox!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e&y&(Sc)ZW(pQ'f&jOX$eXY&'yZp$epq&'yqr$ers%^sw$ewx(Ox!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e&y&)jb)ZW(pQdT'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![&)_![!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e",tokenizers:[_,m,0,1,2,3,4,5,6,7,8,9],topRules:{Program:[0,307]},dynamicPrecedences:{87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,365:3,417:1,418:3,419:1,420:1},specialized:[{term:356,get:O=>R[O]||-1},{term:32,get:O=>h[O]||-1},{term:66,get:O=>k[O]||-1},{term:363,get:O=>G[O]||-1}],tokenPrec:24891}),C=o.define({name:"cpp",parser:E.configure({props:[n.add({IfStatement:i({except:/^\s*({|else\b)/}),TryStatement:i({except:/^\s*({|catch)\b/}),LabeledStatement:s,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:W({closing:"}"}),Statement:i({except:/^{/})}),c.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":f,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function N(){return new x(C)}export{N as cpp,C as cppLanguage}; diff --git a/public/admin/assets/index-e656eb90.js b/public/admin/assets/index-e656eb90.js deleted file mode 100644 index 2ee9dd2..0000000 --- a/public/admin/assets/index-e656eb90.js +++ /dev/null @@ -1,1438 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * Gitee https://gitee.com/hooray/fantastic-admin - * Github https://github.com/hooray/fantastic-admin - */ - -(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const y of document.querySelectorAll('link[rel="modulepreload"]'))g(y);new MutationObserver(y=>{for(const L of y)if(L.type==="childList")for(const $ of L.addedNodes)$.tagName==="LINK"&&$.rel==="modulepreload"&&g($)}).observe(document,{childList:!0,subtree:!0});function n(y){const L={};return y.integrity&&(L.integrity=y.integrity),y.referrerPolicy&&(L.referrerPolicy=y.referrerPolicy),y.crossOrigin==="use-credentials"?L.credentials="include":y.crossOrigin==="anonymous"?L.credentials="omit":L.credentials="same-origin",L}function g(y){if(y.ep)return;y.ep=!0;const L=n(y);fetch(y.href,L)}})();const FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=t=>getComputedStyle(t).position==="fixed"?!1:t.offsetParent!==null,obtainAllFocusableElements$1=t=>Array.from(t.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(r=>isFocusable(r)&&isVisible(r)),isFocusable=t=>{if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return!(t.type==="hidden"||t.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(t,r,...n){let g;r.includes("mouse")||r.includes("click")?g="MouseEvents":r.includes("key")?g="KeyboardEvent":g="HTMLEvents";const y=document.createEvent(g);return y.initEvent(r,...n),t.dispatchEvent(y),t},isLeaf=t=>!t.getAttribute("aria-owns"),getSibling=(t,r,n)=>{const{parentNode:g}=t;if(!g)return null;const y=g.querySelectorAll(n),L=Array.prototype.indexOf.call(y,t);return y[L+r]||null},focusNode=t=>{t&&(t.focus(),!isLeaf(t)&&t.click())},composeEventHandlers=(t,r,{checkForDefaultPrevented:n=!0}={})=>y=>{const L=t==null?void 0:t(y);if(n===!1||!L)return r==null?void 0:r(y)},whenMouse=t=>r=>r.pointerType==="mouse"?t(r):void 0;/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function makeMap(t,r){const n=new Set(t.split(","));return r?g=>n.has(g.toLowerCase()):g=>n.has(g)}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),isModelListener=t=>t.startsWith("onUpdate:"),extend$2=Object.assign,remove=(t,r)=>{const n=t.indexOf(r);n>-1&&t.splice(n,1)},hasOwnProperty$f=Object.prototype.hasOwnProperty,hasOwn$1=(t,r)=>hasOwnProperty$f.call(t,r),isArray$6=Array.isArray,isMap$2=t=>toTypeString(t)==="[object Map]",isSet$2=t=>toTypeString(t)==="[object Set]",isDate$1=t=>toTypeString(t)==="[object Date]",isRegExp$2=t=>toTypeString(t)==="[object RegExp]",isFunction$4=t=>typeof t=="function",isString$3=t=>typeof t=="string",isSymbol$1=t=>typeof t=="symbol",isObject$7=t=>t!==null&&typeof t=="object",isPromise=t=>(isObject$7(t)||isFunction$4(t))&&isFunction$4(t.then)&&isFunction$4(t.catch),objectToString$1=Object.prototype.toString,toTypeString=t=>objectToString$1.call(t),toRawType=t=>toTypeString(t).slice(8,-1),isPlainObject$3=t=>toTypeString(t)==="[object Object]",isIntegerKey=t=>isString$3(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=t=>{const r=Object.create(null);return n=>r[n]||(r[n]=t(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(t=>t.replace(camelizeRE,(r,n)=>n?n.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(t=>t.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(t=>t.charAt(0).toUpperCase()+t.slice(1)),toHandlerKey=cacheStringFunction(t=>t?`on${capitalize$1(t)}`:""),hasChanged=(t,r)=>!Object.is(t,r),invokeArrayFns=(t,r)=>{for(let n=0;n{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:n})},looseToNumber=t=>{const r=parseFloat(t);return isNaN(r)?t:r},toNumber$1=t=>{const r=isString$3(t)?Number(t):NaN;return isNaN(r)?t:r};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function normalizeStyle$1(t){if(isArray$6(t)){const r={};for(let n=0;n{if(n){const g=n.split(propertyDelimiterRE);g.length>1&&(r[g[0].trim()]=g[1].trim())}}),r}function normalizeClass(t){let r="";if(isString$3(t))r=t;else if(isArray$6(t))for(let n=0;nlooseEqual(n,r))}const toDisplayString=t=>isString$3(t)?t:t==null?"":isArray$6(t)||isObject$7(t)&&(t.toString===objectToString$1||!isFunction$4(t.toString))?JSON.stringify(t,replacer,2):String(t),replacer=(t,r)=>r&&r.__v_isRef?replacer(t,r.value):isMap$2(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((n,[g,y],L)=>(n[stringifySymbol(g,L)+" =>"]=y,n),{})}:isSet$2(r)?{[`Set(${r.size})`]:[...r.values()].map(n=>stringifySymbol(n))}:isSymbol$1(r)?stringifySymbol(r):isObject$7(r)&&!isArray$6(r)&&!isPlainObject$3(r)?String(r):r,stringifySymbol=(t,r="")=>{var n;return isSymbol$1(t)?`Symbol(${(n=t.description)!=null?n:r})`:t};/** -* @vue/reactivity v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let activeEffectScope;class EffectScope{constructor(r=!1){this.detached=r,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!r&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(r){if(this._active){const n=activeEffectScope;try{return activeEffectScope=this,r()}finally{activeEffectScope=n}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(r){if(this._active){let n,g;for(n=0,g=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=4}set dirty(r){this._dirtyLevel=r?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let r=shouldTrack,n=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=n,shouldTrack=r}}stop(){var r;this.active&&(preCleanupEffect(this),postCleanupEffect(this),(r=this.onStop)==null||r.call(this),this.active=!1)}}function triggerComputed(t){return t.value}function preCleanupEffect(t){t._trackId++,t._depsLength=0}function postCleanupEffect(t){if(t.deps.length>t._depsLength){for(let r=t._depsLength;r{const n=new Map;return n.cleanup=t,n.computed=r,n},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(t,r,n){if(shouldTrack&&activeEffect){let g=targetMap.get(t);g||targetMap.set(t,g=new Map);let y=g.get(n);y||g.set(n,y=createDep(()=>g.delete(n))),trackEffect(activeEffect,y)}}function trigger$3(t,r,n,g,y,L){const $=targetMap.get(t);if(!$)return;let V=[];if(r==="clear")V=[...$.values()];else if(n==="length"&&isArray$6(t)){const z=Number(g);$.forEach((j,re)=>{(re==="length"||!isSymbol$1(re)&&re>=z)&&V.push(j)})}else switch(n!==void 0&&V.push($.get(n)),r){case"add":isArray$6(t)?isIntegerKey(n)&&V.push($.get("length")):(V.push($.get(ITERATE_KEY)),isMap$2(t)&&V.push($.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$6(t)||(V.push($.get(ITERATE_KEY)),isMap$2(t)&&V.push($.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$2(t)&&V.push($.get(ITERATE_KEY));break}pauseScheduling();for(const z of V)z&&triggerEffects(z,4);resetScheduling()}function getDepFromReactive(t,r){var n;return(n=targetMap.get(t))==null?void 0:n.get(r)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(isSymbol$1)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...n){const g=toRaw(this);for(let L=0,$=this.length;L<$;L++)track(g,"get",L+"");const y=g[r](...n);return y===-1||y===!1?g[r](...n.map(toRaw)):y}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...n){pauseTracking(),pauseScheduling();const g=toRaw(this)[r].apply(this,n);return resetScheduling(),resetTracking(),g}}),t}function hasOwnProperty$e(t){const r=toRaw(this);return track(r,"has",t),r.hasOwnProperty(t)}class BaseReactiveHandler{constructor(r=!1,n=!1){this._isReadonly=r,this._isShallow=n}get(r,n,g){const y=this._isReadonly,L=this._isShallow;if(n==="__v_isReactive")return!y;if(n==="__v_isReadonly")return y;if(n==="__v_isShallow")return L;if(n==="__v_raw")return g===(y?L?shallowReadonlyMap:readonlyMap:L?shallowReactiveMap:reactiveMap).get(r)||Object.getPrototypeOf(r)===Object.getPrototypeOf(g)?r:void 0;const $=isArray$6(r);if(!y){if($&&hasOwn$1(arrayInstrumentations,n))return Reflect.get(arrayInstrumentations,n,g);if(n==="hasOwnProperty")return hasOwnProperty$e}const V=Reflect.get(r,n,g);return(isSymbol$1(n)?builtInSymbols.has(n):isNonTrackableKeys(n))||(y||track(r,"get",n),L)?V:isRef(V)?$&&isIntegerKey(n)?V:V.value:isObject$7(V)?y?readonly(V):reactive(V):V}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(r=!1){super(!1,r)}set(r,n,g,y){let L=r[n];if(!this._isShallow){const z=isReadonly(L);if(!isShallow(g)&&!isReadonly(g)&&(L=toRaw(L),g=toRaw(g)),!isArray$6(r)&&isRef(L)&&!isRef(g))return z?!1:(L.value=g,!0)}const $=isArray$6(r)&&isIntegerKey(n)?Number(n)t,getProto=t=>Reflect.getPrototypeOf(t);function get$2(t,r,n=!1,g=!1){t=t.__v_raw;const y=toRaw(t),L=toRaw(r);n||(hasChanged(r,L)&&track(y,"get",r),track(y,"get",L));const{has:$}=getProto(y),V=g?toShallow:n?toReadonly:toReactive;if($.call(y,r))return V(t.get(r));if($.call(y,L))return V(t.get(L));t!==y&&t.get(r)}function has$2(t,r=!1){const n=this.__v_raw,g=toRaw(n),y=toRaw(t);return r||(hasChanged(t,y)&&track(g,"has",t),track(g,"has",y)),t===y?n.has(t):n.has(t)||n.has(y)}function size(t,r=!1){return t=t.__v_raw,!r&&track(toRaw(t),"iterate",ITERATE_KEY),Reflect.get(t,"size",t)}function add$1(t){t=toRaw(t);const r=toRaw(this);return getProto(r).has.call(r,t)||(r.add(t),trigger$3(r,"add",t,t)),this}function set$3(t,r){r=toRaw(r);const n=toRaw(this),{has:g,get:y}=getProto(n);let L=g.call(n,t);L||(t=toRaw(t),L=g.call(n,t));const $=y.call(n,t);return n.set(t,r),L?hasChanged(r,$)&&trigger$3(n,"set",t,r):trigger$3(n,"add",t,r),this}function deleteEntry(t){const r=toRaw(this),{has:n,get:g}=getProto(r);let y=n.call(r,t);y||(t=toRaw(t),y=n.call(r,t)),g&&g.call(r,t);const L=r.delete(t);return y&&trigger$3(r,"delete",t,void 0),L}function clear$2(){const t=toRaw(this),r=t.size!==0,n=t.clear();return r&&trigger$3(t,"clear",void 0,void 0),n}function createForEach(t,r){return function(g,y){const L=this,$=L.__v_raw,V=toRaw($),z=r?toShallow:t?toReadonly:toReactive;return!t&&track(V,"iterate",ITERATE_KEY),$.forEach((j,re)=>g.call(y,z(j),z(re),L))}}function createIterableMethod(t,r,n){return function(...g){const y=this.__v_raw,L=toRaw(y),$=isMap$2(L),V=t==="entries"||t===Symbol.iterator&&$,z=t==="keys"&&$,j=y[t](...g),re=n?toShallow:r?toReadonly:toReactive;return!r&&track(L,"iterate",z?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:ae,done:oe}=j.next();return oe?{value:ae,done:oe}:{value:V?[re(ae[0]),re(ae[1])]:re(ae),done:oe}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(t){return function(...r){return t==="delete"?!1:t==="clear"?void 0:this}}function createInstrumentations(){const t={get(L){return get$2(this,L)},get size(){return size(this)},has:has$2,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!1)},r={get(L){return get$2(this,L,!1,!0)},get size(){return size(this)},has:has$2,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!0)},n={get(L){return get$2(this,L,!0)},get size(){return size(this,!0)},has(L){return has$2.call(this,L,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},g={get(L){return get$2(this,L,!0,!0)},get size(){return size(this,!0)},has(L){return has$2.call(this,L,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(L=>{t[L]=createIterableMethod(L,!1,!1),n[L]=createIterableMethod(L,!0,!1),r[L]=createIterableMethod(L,!1,!0),g[L]=createIterableMethod(L,!0,!0)}),[t,n,r,g]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(t,r){const n=r?t?shallowReadonlyInstrumentations:shallowInstrumentations:t?readonlyInstrumentations:mutableInstrumentations;return(g,y,L)=>y==="__v_isReactive"?!t:y==="__v_isReadonly"?t:y==="__v_raw"?g:Reflect.get(hasOwn$1(n,y)&&y in g?n:g,y,L)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(t){return t.__v_skip||!Object.isExtensible(t)?0:targetTypeMap(toRawType(t))}function reactive(t){return isReadonly(t)?t:createReactiveObject(t,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(t){return createReactiveObject(t,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(t){return createReactiveObject(t,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject(t,r,n,g,y){if(!isObject$7(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const L=y.get(t);if(L)return L;const $=getTargetType(t);if($===0)return t;const V=new Proxy(t,$===2?g:n);return y.set(t,V),V}function isReactive(t){return isReadonly(t)?isReactive(t.__v_raw):!!(t&&t.__v_isReactive)}function isReadonly(t){return!!(t&&t.__v_isReadonly)}function isShallow(t){return!!(t&&t.__v_isShallow)}function isProxy(t){return isReactive(t)||isReadonly(t)}function toRaw(t){const r=t&&t.__v_raw;return r?toRaw(r):t}function markRaw(t){return Object.isExtensible(t)&&def(t,"__v_skip",!0),t}const toReactive=t=>isObject$7(t)?reactive(t):t,toReadonly=t=>isObject$7(t)?readonly(t):t;class ComputedRefImpl{constructor(r,n,g,y){this.getter=r,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>r(this._value),()=>triggerRefValue(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!y,this.__v_isReadonly=g}get value(){const r=toRaw(this);return(!r._cacheable||r.effect.dirty)&&hasChanged(r._value,r._value=r.effect.run())&&triggerRefValue(r,4),trackRefValue(r),r.effect._dirtyLevel>=2&&triggerRefValue(r,2),r._value}set value(r){this._setter(r)}get _dirty(){return this.effect.dirty}set _dirty(r){this.effect.dirty=r}}function computed$1(t,r,n=!1){let g,y;const L=isFunction$4(t);return L?(g=t,y=NOOP):(g=t.get,y=t.set),new ComputedRefImpl(g,y,L||!y,n)}function trackRefValue(t){var r;shouldTrack&&activeEffect&&(t=toRaw(t),trackEffect(activeEffect,(r=t.dep)!=null?r:t.dep=createDep(()=>t.dep=void 0,t instanceof ComputedRefImpl?t:void 0)))}function triggerRefValue(t,r=4,n){t=toRaw(t);const g=t.dep;g&&triggerEffects(g,r)}function isRef(t){return!!(t&&t.__v_isRef===!0)}function ref(t){return createRef(t,!1)}function shallowRef(t){return createRef(t,!0)}function createRef(t,r){return isRef(t)?t:new RefImpl(t,r)}class RefImpl{constructor(r,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?r:toRaw(r),this._value=n?r:toReactive(r)}get value(){return trackRefValue(this),this._value}set value(r){const n=this.__v_isShallow||isShallow(r)||isReadonly(r);r=n?r:toRaw(r),hasChanged(r,this._rawValue)&&(this._rawValue=r,this._value=n?r:toReactive(r),triggerRefValue(this,4))}}function triggerRef(t){triggerRefValue(t,4)}function unref(t){return isRef(t)?t.value:t}const shallowUnwrapHandlers={get:(t,r,n)=>unref(Reflect.get(t,r,n)),set:(t,r,n,g)=>{const y=t[r];return isRef(y)&&!isRef(n)?(y.value=n,!0):Reflect.set(t,r,n,g)}};function proxyRefs(t){return isReactive(t)?t:new Proxy(t,shallowUnwrapHandlers)}function toRefs(t){const r=isArray$6(t)?new Array(t.length):{};for(const n in t)r[n]=propertyToRef(t,n);return r}class ObjectRefImpl{constructor(r,n,g){this._object=r,this._key=n,this._defaultValue=g,this.__v_isRef=!0}get value(){const r=this._object[this._key];return r===void 0?this._defaultValue:r}set value(r){this._object[this._key]=r}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(r){this._getter=r,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef(t,r,n){return isRef(t)?t:isFunction$4(t)?new GetterRefImpl(t):isObject$7(t)&&arguments.length>1?propertyToRef(t,r,n):ref(t)}function propertyToRef(t,r,n){const g=t[r];return isRef(g)?g:new ObjectRefImpl(t,r,n)}/** -* @vue/runtime-core v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const stack=[];function warn$1(t,...r){pauseTracking();const n=stack.length?stack[stack.length-1].component:null,g=n&&n.appContext.config.warnHandler,y=getComponentTrace();if(g)callWithErrorHandling(g,n,11,[t+r.map(L=>{var $,V;return(V=($=L.toString)==null?void 0:$.call(L))!=null?V:JSON.stringify(L)}).join(""),n&&n.proxy,y.map(({vnode:L})=>`at <${formatComponentName(n,L.type)}>`).join(` -`),y]);else{const L=[`[Vue warn]: ${t}`,...r];y.length&&L.push(` -`,...formatTrace(y)),console.warn(...L)}resetTracking()}function getComponentTrace(){let t=stack[stack.length-1];if(!t)return[];const r=[];for(;t;){const n=r[0];n&&n.vnode===t?n.recurseCount++:r.push({vnode:t,recurseCount:0});const g=t.component&&t.component.parent;t=g&&g.vnode}return r}function formatTrace(t){const r=[];return t.forEach((n,g)=>{r.push(...g===0?[]:[` -`],...formatTraceEntry(n))}),r}function formatTraceEntry({vnode:t,recurseCount:r}){const n=r>0?`... (${r} recursive calls)`:"",g=t.component?t.component.parent==null:!1,y=` at <${formatComponentName(t.component,t.type,g)}`,L=">"+n;return t.props?[y,...formatProps(t.props),L]:[y+L]}function formatProps(t){const r=[],n=Object.keys(t);return n.slice(0,3).forEach(g=>{r.push(...formatProp(g,t[g]))}),n.length>3&&r.push(" ..."),r}function formatProp(t,r,n){return isString$3(r)?(r=JSON.stringify(r),n?r:[`${t}=${r}`]):typeof r=="number"||typeof r=="boolean"||r==null?n?r:[`${t}=${r}`]:isRef(r)?(r=formatProp(t,toRaw(r.value),!0),n?r:[`${t}=Ref<`,r,">"]):isFunction$4(r)?[`${t}=fn${r.name?`<${r.name}>`:""}`]:(r=toRaw(r),n?r:[`${t}=`,r])}function callWithErrorHandling(t,r,n,g){try{return g?t(...g):t()}catch(y){handleError(y,r,n)}}function callWithAsyncErrorHandling(t,r,n,g){if(isFunction$4(t)){const L=callWithErrorHandling(t,r,n,g);return L&&isPromise(L)&&L.catch($=>{handleError($,r,n)}),L}const y=[];for(let L=0;L>>1,y=queue[g],L=getId$1(y);LflushIndex&&queue.splice(r,1)}function queuePostFlushCb(t){isArray$6(t)?pendingPostFlushCbs.push(...t):(!activePostFlushCbs||!activePostFlushCbs.includes(t,t.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(t),queueFlush()}function flushPreFlushCbs(t,r,n=isFlushing?flushIndex+1:0){for(;ngetId$1(n)-getId$1(g));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...r);return}for(activePostFlushCbs=r,postFlushIndex=0;postFlushIndext.id==null?1/0:t.id,comparator=(t,r)=>{const n=getId$1(t)-getId$1(r);if(n===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return n};function flushJobs(t){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);const r=NOOP;try{for(flushIndex=0;flushIndexisString$3(ie)?ie.trim():ie)),ae&&(y=n.map(looseToNumber))}let V,z=g[V=toHandlerKey(r)]||g[V=toHandlerKey(camelize(r))];!z&&L&&(z=g[V=toHandlerKey(hyphenate(r))]),z&&callWithAsyncErrorHandling(z,t,6,y);const j=g[V+"Once"];if(j){if(!t.emitted)t.emitted={};else if(t.emitted[V])return;t.emitted[V]=!0,callWithAsyncErrorHandling(j,t,6,y)}}function normalizeEmitsOptions(t,r,n=!1){const g=r.emitsCache,y=g.get(t);if(y!==void 0)return y;const L=t.emits;let $={},V=!1;if(!isFunction$4(t)){const z=j=>{const re=normalizeEmitsOptions(j,r,!0);re&&(V=!0,extend$2($,re))};!n&&r.mixins.length&&r.mixins.forEach(z),t.extends&&z(t.extends),t.mixins&&t.mixins.forEach(z)}return!L&&!V?(isObject$7(t)&&g.set(t,null),null):(isArray$6(L)?L.forEach(z=>$[z]=null):extend$2($,L),isObject$7(t)&&g.set(t,$),$)}function isEmitListener(t,r){return!t||!isOn(r)?!1:(r=r.slice(2).replace(/Once$/,""),hasOwn$1(t,r[0].toLowerCase()+r.slice(1))||hasOwn$1(t,hyphenate(r))||hasOwn$1(t,r))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(t){const r=currentRenderingInstance;return currentRenderingInstance=t,currentScopeId=t&&t.type.__scopeId||null,r}function pushScopeId(t){currentScopeId=t}function popScopeId(){currentScopeId=null}function withCtx(t,r=currentRenderingInstance,n){if(!r||t._n)return t;const g=(...y)=>{g._d&&setBlockTracking(-1);const L=setCurrentRenderingInstance(r);let $;try{$=t(...y)}finally{setCurrentRenderingInstance(L),g._d&&setBlockTracking(1)}return $};return g._n=!0,g._c=!0,g._d=!0,g}function markAttrsAccessed(){}function renderComponentRoot(t){const{type:r,vnode:n,proxy:g,withProxy:y,props:L,propsOptions:[$],slots:V,attrs:z,emit:j,render:re,renderCache:ae,data:oe,setupState:ie,ctx:le,inheritAttrs:ue}=t;let de,pe;const he=setCurrentRenderingInstance(t);try{if(n.shapeFlag&4){const Ce=y||g,$e=Ce;de=normalizeVNode(re.call($e,Ce,ae,L,ie,oe,le)),pe=z}else{const Ce=r;de=normalizeVNode(Ce.length>1?Ce(L,{attrs:z,slots:V,emit:j}):Ce(L,null)),pe=r.props?z:getFunctionalFallthrough(z)}}catch(Ce){blockStack.length=0,handleError(Ce,t,1),de=createVNode$1(Comment)}let _e=de;if(pe&&ue!==!1){const Ce=Object.keys(pe),{shapeFlag:$e}=_e;Ce.length&&$e&7&&($&&Ce.some(isModelListener)&&(pe=filterModelListeners(pe,$)),_e=cloneVNode(_e,pe))}return n.dirs&&(_e=cloneVNode(_e),_e.dirs=_e.dirs?_e.dirs.concat(n.dirs):n.dirs),n.transition&&(_e.transition=n.transition),de=_e,setCurrentRenderingInstance(he),de}const getFunctionalFallthrough=t=>{let r;for(const n in t)(n==="class"||n==="style"||isOn(n))&&((r||(r={}))[n]=t[n]);return r},filterModelListeners=(t,r)=>{const n={};for(const g in t)(!isModelListener(g)||!(g.slice(9)in r))&&(n[g]=t[g]);return n};function shouldUpdateComponent(t,r,n){const{props:g,children:y,component:L}=t,{props:$,children:V,patchFlag:z}=r,j=L.emitsOptions;if(r.dirs||r.transition)return!0;if(n&&z>=0){if(z&1024)return!0;if(z&16)return g?hasPropsChanged(g,$,j):!!$;if(z&8){const re=r.dynamicProps;for(let ae=0;aet.__isSuspense;function queueEffectWithSuspense(t,r){r&&r.pendingBranch?isArray$6(t)?r.effects.push(...t):r.effects.push(t):queuePostFlushCb(t)}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(t,r){return doWatch(t,null,r)}const INITIAL_WATCHER_VALUE={};function watch(t,r,n){return doWatch(t,r,n)}function doWatch(t,r,{immediate:n,deep:g,flush:y,once:L,onTrack:$,onTrigger:V}=EMPTY_OBJ$1){if(r&&L){const xe=r;r=(...Ie)=>{xe(...Ie),$e()}}const z=currentInstance,j=xe=>g===!0?xe:traverse(xe,g===!1?1:void 0);let re,ae=!1,oe=!1;if(isRef(t)?(re=()=>t.value,ae=isShallow(t)):isReactive(t)?(re=()=>j(t),ae=!0):isArray$6(t)?(oe=!0,ae=t.some(xe=>isReactive(xe)||isShallow(xe)),re=()=>t.map(xe=>{if(isRef(xe))return xe.value;if(isReactive(xe))return j(xe);if(isFunction$4(xe))return callWithErrorHandling(xe,z,2)})):isFunction$4(t)?r?re=()=>callWithErrorHandling(t,z,2):re=()=>(ie&&ie(),callWithAsyncErrorHandling(t,z,3,[le])):re=NOOP,r&&g){const xe=re;re=()=>traverse(xe())}let ie,le=xe=>{ie=_e.onStop=()=>{callWithErrorHandling(xe,z,4),ie=_e.onStop=void 0}},ue;if(isInSSRComponentSetup)if(le=NOOP,r?n&&callWithAsyncErrorHandling(r,z,3,[re(),oe?[]:void 0,le]):re(),y==="sync"){const xe=useSSRContext();ue=xe.__watcherHandles||(xe.__watcherHandles=[])}else return NOOP;let de=oe?new Array(t.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const pe=()=>{if(!(!_e.active||!_e.dirty))if(r){const xe=_e.run();(g||ae||(oe?xe.some((Ie,Ne)=>hasChanged(Ie,de[Ne])):hasChanged(xe,de)))&&(ie&&ie(),callWithAsyncErrorHandling(r,z,3,[xe,de===INITIAL_WATCHER_VALUE?void 0:oe&&de[0]===INITIAL_WATCHER_VALUE?[]:de,le]),de=xe)}else _e.run()};pe.allowRecurse=!!r;let he;y==="sync"?he=pe:y==="post"?he=()=>queuePostRenderEffect(pe,z&&z.suspense):(pe.pre=!0,z&&(pe.id=z.uid),he=()=>queueJob(pe));const _e=new ReactiveEffect(re,NOOP,he),Ce=getCurrentScope(),$e=()=>{_e.stop(),Ce&&remove(Ce.effects,_e)};return r?n?pe():de=_e.run():y==="post"?queuePostRenderEffect(_e.run.bind(_e),z&&z.suspense):_e.run(),ue&&ue.push($e),$e}function instanceWatch(t,r,n){const g=this.proxy,y=isString$3(t)?t.includes(".")?createPathGetter(g,t):()=>g[t]:t.bind(g,g);let L;isFunction$4(r)?L=r:(L=r.handler,n=r);const $=setCurrentInstance(this),V=doWatch(y,L.bind(g),n);return $(),V}function createPathGetter(t,r){const n=r.split(".");return()=>{let g=t;for(let y=0;y0){if(n>=r)return t;n++}if(g=g||new Set,g.has(t))return t;if(g.add(t),isRef(t))traverse(t.value,r,n,g);else if(isArray$6(t))for(let y=0;y{traverse(y,r,n,g)});else if(isPlainObject$3(t))for(const y in t)traverse(t[y],r,n,g);return t}function withDirectives(t,r){if(currentRenderingInstance===null)return t;const n=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,g=t.dirs||(t.dirs=[]);for(let y=0;y{t.isMounted=!0}),onBeforeUnmount(()=>{t.isUnmounting=!0}),t}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(t,{slots:r}){const n=getCurrentInstance(),g=useTransitionState();return()=>{const y=r.default&&getTransitionRawChildren(r.default(),!0);if(!y||!y.length)return;let L=y[0];if(y.length>1){for(const oe of y)if(oe.type!==Comment){L=oe;break}}const $=toRaw(t),{mode:V}=$;if(g.isLeaving)return emptyPlaceholder(L);const z=getKeepAliveChild(L);if(!z)return emptyPlaceholder(L);const j=resolveTransitionHooks(z,$,g,n);setTransitionHooks(z,j);const re=n.subTree,ae=re&&getKeepAliveChild(re);if(ae&&ae.type!==Comment&&!isSameVNodeType(z,ae)){const oe=resolveTransitionHooks(ae,$,g,n);if(setTransitionHooks(ae,oe),V==="out-in")return g.isLeaving=!0,oe.afterLeave=()=>{g.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},emptyPlaceholder(L);V==="in-out"&&z.type!==Comment&&(oe.delayLeave=(ie,le,ue)=>{const de=getLeavingNodesForType(g,ae);de[String(ae.key)]=ae,ie[leaveCbKey]=()=>{le(),ie[leaveCbKey]=void 0,delete j.delayedLeave},j.delayedLeave=ue})}return L}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(t,r){const{leavingVNodes:n}=t;let g=n.get(r.type);return g||(g=Object.create(null),n.set(r.type,g)),g}function resolveTransitionHooks(t,r,n,g){const{appear:y,mode:L,persisted:$=!1,onBeforeEnter:V,onEnter:z,onAfterEnter:j,onEnterCancelled:re,onBeforeLeave:ae,onLeave:oe,onAfterLeave:ie,onLeaveCancelled:le,onBeforeAppear:ue,onAppear:de,onAfterAppear:pe,onAppearCancelled:he}=r,_e=String(t.key),Ce=getLeavingNodesForType(n,t),$e=(Ne,ze)=>{Ne&&callWithAsyncErrorHandling(Ne,g,9,ze)},xe=(Ne,ze)=>{const Fe=ze[1];$e(Ne,ze),isArray$6(Ne)?Ne.every(qe=>qe.length<=1)&&Fe():Ne.length<=1&&Fe()},Ie={mode:L,persisted:$,beforeEnter(Ne){let ze=V;if(!n.isMounted)if(y)ze=ue||V;else return;Ne[leaveCbKey]&&Ne[leaveCbKey](!0);const Fe=Ce[_e];Fe&&isSameVNodeType(t,Fe)&&Fe.el[leaveCbKey]&&Fe.el[leaveCbKey](),$e(ze,[Ne])},enter(Ne){let ze=z,Fe=j,qe=re;if(!n.isMounted)if(y)ze=de||z,Fe=pe||j,qe=he||re;else return;let Et=!1;const kt=Ne[enterCbKey$1]=Lt=>{Et||(Et=!0,Lt?$e(qe,[Ne]):$e(Fe,[Ne]),Ie.delayedLeave&&Ie.delayedLeave(),Ne[enterCbKey$1]=void 0)};ze?xe(ze,[Ne,kt]):kt()},leave(Ne,ze){const Fe=String(t.key);if(Ne[enterCbKey$1]&&Ne[enterCbKey$1](!0),n.isUnmounting)return ze();$e(ae,[Ne]);let qe=!1;const Et=Ne[leaveCbKey]=kt=>{qe||(qe=!0,ze(),kt?$e(le,[Ne]):$e(ie,[Ne]),Ne[leaveCbKey]=void 0,Ce[Fe]===t&&delete Ce[Fe])};Ce[Fe]=t,oe?xe(oe,[Ne,Et]):Et()},clone(Ne){return resolveTransitionHooks(Ne,r,n,g)}};return Ie}function emptyPlaceholder(t){if(isKeepAlive(t))return t=cloneVNode(t),t.children=null,t}function getKeepAliveChild(t){return isKeepAlive(t)?t.children?t.children[0]:void 0:t}function setTransitionHooks(t,r){t.shapeFlag&6&&t.component?setTransitionHooks(t.component.subTree,r):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function getTransitionRawChildren(t,r=!1,n){let g=[],y=0;for(let L=0;L1)for(let L=0;Lextend$2({name:t.name},r,{setup:t}))():t}const isAsyncWrapper=t=>!!t.type.__asyncLoader,isKeepAlive=t=>t.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:r}){const n=getCurrentInstance(),g=n.ctx;if(!g.renderer)return()=>{const he=r.default&&r.default();return he&&he.length===1?he[0]:he};const y=new Map,L=new Set;let $=null;const V=n.suspense,{renderer:{p:z,m:j,um:re,o:{createElement:ae}}}=g,oe=ae("div");g.activate=(he,_e,Ce,$e,xe)=>{const Ie=he.component;j(he,_e,Ce,0,V),z(Ie.vnode,he,_e,Ce,Ie,V,$e,he.slotScopeIds,xe),queuePostRenderEffect(()=>{Ie.isDeactivated=!1,Ie.a&&invokeArrayFns(Ie.a);const Ne=he.props&&he.props.onVnodeMounted;Ne&&invokeVNodeHook(Ne,Ie.parent,he)},V)},g.deactivate=he=>{const _e=he.component;j(he,oe,null,1,V),queuePostRenderEffect(()=>{_e.da&&invokeArrayFns(_e.da);const Ce=he.props&&he.props.onVnodeUnmounted;Ce&&invokeVNodeHook(Ce,_e.parent,he),_e.isDeactivated=!0},V)};function ie(he){resetShapeFlag(he),re(he,n,V,!0)}function le(he){y.forEach((_e,Ce)=>{const $e=getComponentName(_e.type);$e&&(!he||!he($e))&&ue(Ce)})}function ue(he){const _e=y.get(he);!$||!isSameVNodeType(_e,$)?ie(_e):$&&resetShapeFlag($),y.delete(he),L.delete(he)}watch(()=>[t.include,t.exclude],([he,_e])=>{he&&le(Ce=>matches(he,Ce)),_e&&le(Ce=>!matches(_e,Ce))},{flush:"post",deep:!0});let de=null;const pe=()=>{de!=null&&y.set(de,getInnerChild(n.subTree))};return onMounted(pe),onUpdated(pe),onBeforeUnmount(()=>{y.forEach(he=>{const{subTree:_e,suspense:Ce}=n,$e=getInnerChild(_e);if(he.type===$e.type&&he.key===$e.key){resetShapeFlag($e);const xe=$e.component.da;xe&&queuePostRenderEffect(xe,Ce);return}ie(he)})}),()=>{if(de=null,!r.default)return null;const he=r.default(),_e=he[0];if(he.length>1)return $=null,he;if(!isVNode(_e)||!(_e.shapeFlag&4)&&!(_e.shapeFlag&128))return $=null,_e;let Ce=getInnerChild(_e);const $e=Ce.type,xe=getComponentName(isAsyncWrapper(Ce)?Ce.type.__asyncResolved||{}:$e),{include:Ie,exclude:Ne,max:ze}=t;if(Ie&&(!xe||!matches(Ie,xe))||Ne&&xe&&matches(Ne,xe))return $=Ce,_e;const Fe=Ce.key==null?$e:Ce.key,qe=y.get(Fe);return Ce.el&&(Ce=cloneVNode(Ce),_e.shapeFlag&128&&(_e.ssContent=Ce)),de=Fe,qe?(Ce.el=qe.el,Ce.component=qe.component,Ce.transition&&setTransitionHooks(Ce,Ce.transition),Ce.shapeFlag|=512,L.delete(Fe),L.add(Fe)):(L.add(Fe),ze&&L.size>parseInt(ze,10)&&ue(L.values().next().value)),Ce.shapeFlag|=256,$=Ce,isSuspense(_e.type)?_e:Ce}}},KeepAlive=KeepAliveImpl;function matches(t,r){return isArray$6(t)?t.some(n=>matches(n,r)):isString$3(t)?t.split(",").includes(r):isRegExp$2(t)?t.test(r):!1}function onActivated(t,r){registerKeepAliveHook(t,"a",r)}function onDeactivated(t,r){registerKeepAliveHook(t,"da",r)}function registerKeepAliveHook(t,r,n=currentInstance){const g=t.__wdc||(t.__wdc=()=>{let y=n;for(;y;){if(y.isDeactivated)return;y=y.parent}return t()});if(injectHook(r,g,n),n){let y=n.parent;for(;y&&y.parent;)isKeepAlive(y.parent.vnode)&&injectToKeepAliveRoot(g,r,n,y),y=y.parent}}function injectToKeepAliveRoot(t,r,n,g){const y=injectHook(r,t,g,!0);onUnmounted(()=>{remove(g[r],y)},n)}function resetShapeFlag(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function getInnerChild(t){return t.shapeFlag&128?t.ssContent:t}function injectHook(t,r,n=currentInstance,g=!1){if(n){const y=n[t]||(n[t]=[]),L=r.__weh||(r.__weh=(...$)=>{if(n.isUnmounted)return;pauseTracking();const V=setCurrentInstance(n),z=callWithAsyncErrorHandling(r,n,t,$);return V(),resetTracking(),z});return g?y.unshift(L):y.push(L),L}}const createHook=t=>(r,n=currentInstance)=>(!isInSSRComponentSetup||t==="sp")&&injectHook(t,(...g)=>r(...g),n),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(t,r=currentInstance){injectHook("ec",t,r)}function renderList(t,r,n,g){let y;const L=n&&n[g];if(isArray$6(t)||isString$3(t)){y=new Array(t.length);for(let $=0,V=t.length;$r($,V,void 0,L&&L[V]));else{const $=Object.keys(t);y=new Array($.length);for(let V=0,z=$.length;V{const L=g.fn(...y);return L&&(L.key=g.key),L}:g.fn)}return t}function renderSlot(t,r,n={},g,y){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return r!=="default"&&(n.name=r),createVNode$1("slot",n,g&&g());let L=t[r];L&&L._c&&(L._d=!1),openBlock();const $=L&&ensureValidVNode(L(n)),V=createBlock(Fragment,{key:n.key||$&&$.key||`_${r}`},$||(g?g():[]),$&&t._===1?64:-2);return!y&&V.scopeId&&(V.slotScopeIds=[V.scopeId+"-s"]),L&&L._c&&(L._d=!0),V}function ensureValidVNode(t){return t.some(r=>isVNode(r)?!(r.type===Comment||r.type===Fragment&&!ensureValidVNode(r.children)):!0)?t:null}function toHandlers(t,r){const n={};for(const g in t)n[r&&/[A-Z]/.test(g)?`on:${g}`:toHandlerKey(g)]=t[g];return n}const getPublicInstance=t=>t?isStatefulComponent(t)?getExposeProxy(t)||t.proxy:getPublicInstance(t.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>getPublicInstance(t.parent),$root:t=>getPublicInstance(t.root),$emit:t=>t.emit,$options:t=>resolveMergedOptions(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,queueJob(t.update)}),$nextTick:t=>t.n||(t.n=nextTick.bind(t.proxy)),$watch:t=>instanceWatch.bind(t)}),hasSetupBinding=(t,r)=>t!==EMPTY_OBJ$1&&!t.__isScriptSetup&&hasOwn$1(t,r),PublicInstanceProxyHandlers={get({_:t},r){const{ctx:n,setupState:g,data:y,props:L,accessCache:$,type:V,appContext:z}=t;let j;if(r[0]!=="$"){const ie=$[r];if(ie!==void 0)switch(ie){case 1:return g[r];case 2:return y[r];case 4:return n[r];case 3:return L[r]}else{if(hasSetupBinding(g,r))return $[r]=1,g[r];if(y!==EMPTY_OBJ$1&&hasOwn$1(y,r))return $[r]=2,y[r];if((j=t.propsOptions[0])&&hasOwn$1(j,r))return $[r]=3,L[r];if(n!==EMPTY_OBJ$1&&hasOwn$1(n,r))return $[r]=4,n[r];shouldCacheAccess&&($[r]=0)}}const re=publicPropertiesMap[r];let ae,oe;if(re)return r==="$attrs"&&track(t,"get",r),re(t);if((ae=V.__cssModules)&&(ae=ae[r]))return ae;if(n!==EMPTY_OBJ$1&&hasOwn$1(n,r))return $[r]=4,n[r];if(oe=z.config.globalProperties,hasOwn$1(oe,r))return oe[r]},set({_:t},r,n){const{data:g,setupState:y,ctx:L}=t;return hasSetupBinding(y,r)?(y[r]=n,!0):g!==EMPTY_OBJ$1&&hasOwn$1(g,r)?(g[r]=n,!0):hasOwn$1(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(L[r]=n,!0)},has({_:{data:t,setupState:r,accessCache:n,ctx:g,appContext:y,propsOptions:L}},$){let V;return!!n[$]||t!==EMPTY_OBJ$1&&hasOwn$1(t,$)||hasSetupBinding(r,$)||(V=L[0])&&hasOwn$1(V,$)||hasOwn$1(g,$)||hasOwn$1(publicPropertiesMap,$)||hasOwn$1(y.config.globalProperties,$)},defineProperty(t,r,n){return n.get!=null?t._.accessCache[r]=0:hasOwn$1(n,"value")&&this.set(t,r,n.value,null),Reflect.defineProperty(t,r,n)}};function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const t=getCurrentInstance();return t.setupContext||(t.setupContext=createSetupContext(t))}function normalizePropsOrEmits(t){return isArray$6(t)?t.reduce((r,n)=>(r[n]=null,r),{}):t}let shouldCacheAccess=!0;function applyOptions(t){const r=resolveMergedOptions(t),n=t.proxy,g=t.ctx;shouldCacheAccess=!1,r.beforeCreate&&callHook$1(r.beforeCreate,t,"bc");const{data:y,computed:L,methods:$,watch:V,provide:z,inject:j,created:re,beforeMount:ae,mounted:oe,beforeUpdate:ie,updated:le,activated:ue,deactivated:de,beforeDestroy:pe,beforeUnmount:he,destroyed:_e,unmounted:Ce,render:$e,renderTracked:xe,renderTriggered:Ie,errorCaptured:Ne,serverPrefetch:ze,expose:Fe,inheritAttrs:qe,components:Et,directives:kt,filters:Lt}=r;if(j&&resolveInjections(j,g,null),$)for(const At in $){const hn=$[At];isFunction$4(hn)&&(g[At]=hn.bind(n))}if(y){const At=y.call(n,n);isObject$7(At)&&(t.data=reactive(At))}if(shouldCacheAccess=!0,L)for(const At in L){const hn=L[At],bn=isFunction$4(hn)?hn.bind(n,n):isFunction$4(hn.get)?hn.get.bind(n,n):NOOP,Cn=!isFunction$4(hn)&&isFunction$4(hn.set)?hn.set.bind(n):NOOP,Tn=computed({get:bn,set:Cn});Object.defineProperty(g,At,{enumerable:!0,configurable:!0,get:()=>Tn.value,set:xn=>Tn.value=xn})}if(V)for(const At in V)createWatcher(V[At],g,n,At);if(z){const At=isFunction$4(z)?z.call(n):z;Reflect.ownKeys(At).forEach(hn=>{provide(hn,At[hn])})}re&&callHook$1(re,t,"c");function jt(At,hn){isArray$6(hn)?hn.forEach(bn=>At(bn.bind(n))):hn&&At(hn.bind(n))}if(jt(onBeforeMount,ae),jt(onMounted,oe),jt(onBeforeUpdate,ie),jt(onUpdated,le),jt(onActivated,ue),jt(onDeactivated,de),jt(onErrorCaptured,Ne),jt(onRenderTracked,xe),jt(onRenderTriggered,Ie),jt(onBeforeUnmount,he),jt(onUnmounted,Ce),jt(onServerPrefetch,ze),isArray$6(Fe))if(Fe.length){const At=t.exposed||(t.exposed={});Fe.forEach(hn=>{Object.defineProperty(At,hn,{get:()=>n[hn],set:bn=>n[hn]=bn})})}else t.exposed||(t.exposed={});$e&&t.render===NOOP&&(t.render=$e),qe!=null&&(t.inheritAttrs=qe),Et&&(t.components=Et),kt&&(t.directives=kt)}function resolveInjections(t,r,n=NOOP){isArray$6(t)&&(t=normalizeInject(t));for(const g in t){const y=t[g];let L;isObject$7(y)?"default"in y?L=inject(y.from||g,y.default,!0):L=inject(y.from||g):L=inject(y),isRef(L)?Object.defineProperty(r,g,{enumerable:!0,configurable:!0,get:()=>L.value,set:$=>L.value=$}):r[g]=L}}function callHook$1(t,r,n){callWithAsyncErrorHandling(isArray$6(t)?t.map(g=>g.bind(r.proxy)):t.bind(r.proxy),r,n)}function createWatcher(t,r,n,g){const y=g.includes(".")?createPathGetter(n,g):()=>n[g];if(isString$3(t)){const L=r[t];isFunction$4(L)&&watch(y,L)}else if(isFunction$4(t))watch(y,t.bind(n));else if(isObject$7(t))if(isArray$6(t))t.forEach(L=>createWatcher(L,r,n,g));else{const L=isFunction$4(t.handler)?t.handler.bind(n):r[t.handler];isFunction$4(L)&&watch(y,L,t)}}function resolveMergedOptions(t){const r=t.type,{mixins:n,extends:g}=r,{mixins:y,optionsCache:L,config:{optionMergeStrategies:$}}=t.appContext,V=L.get(r);let z;return V?z=V:!y.length&&!n&&!g?z=r:(z={},y.length&&y.forEach(j=>mergeOptions$2(z,j,$,!0)),mergeOptions$2(z,r,$)),isObject$7(r)&&L.set(r,z),z}function mergeOptions$2(t,r,n,g=!1){const{mixins:y,extends:L}=r;L&&mergeOptions$2(t,L,n,!0),y&&y.forEach($=>mergeOptions$2(t,$,n,!0));for(const $ in r)if(!(g&&$==="expose")){const V=internalOptionMergeStrats[$]||n&&n[$];t[$]=V?V(t[$],r[$]):r[$]}return t}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(t,r){return r?t?function(){return extend$2(isFunction$4(t)?t.call(this,this):t,isFunction$4(r)?r.call(this,this):r)}:r:t}function mergeInject(t,r){return mergeObjectOptions(normalizeInject(t),normalizeInject(r))}function normalizeInject(t){if(isArray$6(t)){const r={};for(let n=0;n1)return n&&isFunction$4(r)?r.call(g&&g.proxy):r}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps$1(t,r,n,g=!1){const y={},L={};def(L,InternalObjectKey,1),t.propsDefaults=Object.create(null),setFullProps(t,r,y,L);for(const $ in t.propsOptions[0])$ in y||(y[$]=void 0);n?t.props=g?y:shallowReactive(y):t.type.props?t.props=y:t.props=L,t.attrs=L}function updateProps$2(t,r,n,g){const{props:y,attrs:L,vnode:{patchFlag:$}}=t,V=toRaw(y),[z]=t.propsOptions;let j=!1;if((g||$>0)&&!($&16)){if($&8){const re=t.vnode.dynamicProps;for(let ae=0;ae{z=!0;const[oe,ie]=normalizePropsOptions(ae,r,!0);extend$2($,oe),ie&&V.push(...ie)};!n&&r.mixins.length&&r.mixins.forEach(re),t.extends&&re(t.extends),t.mixins&&t.mixins.forEach(re)}if(!L&&!z)return isObject$7(t)&&g.set(t,EMPTY_ARR),EMPTY_ARR;if(isArray$6(L))for(let re=0;re-1,ie[1]=ue<0||le-1||hasOwn$1(ie,"default"))&&V.push(ae)}}}const j=[$,V];return isObject$7(t)&&g.set(t,j),j}function validatePropName(t){return t[0]!=="$"&&!isReservedProp(t)}function getType(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function isSameType(t,r){return getType(t)===getType(r)}function getTypeIndex(t,r){return isArray$6(r)?r.findIndex(n=>isSameType(n,t)):isFunction$4(r)&&isSameType(r,t)?0:-1}const isInternalKey=t=>t[0]==="_"||t==="$stable",normalizeSlotValue=t=>isArray$6(t)?t.map(normalizeVNode):[normalizeVNode(t)],normalizeSlot$1=(t,r,n)=>{if(r._n)return r;const g=withCtx((...y)=>normalizeSlotValue(r(...y)),n);return g._c=!1,g},normalizeObjectSlots=(t,r,n)=>{const g=t._ctx;for(const y in t){if(isInternalKey(y))continue;const L=t[y];if(isFunction$4(L))r[y]=normalizeSlot$1(y,L,g);else if(L!=null){const $=normalizeSlotValue(L);r[y]=()=>$}}},normalizeVNodeSlots=(t,r)=>{const n=normalizeSlotValue(r);t.slots.default=()=>n},initSlots=(t,r)=>{if(t.vnode.shapeFlag&32){const n=r._;n?(t.slots=toRaw(r),def(r,"_",n)):normalizeObjectSlots(r,t.slots={})}else t.slots={},r&&normalizeVNodeSlots(t,r);def(t.slots,InternalObjectKey,1)},updateSlots=(t,r,n)=>{const{vnode:g,slots:y}=t;let L=!0,$=EMPTY_OBJ$1;if(g.shapeFlag&32){const V=r._;V?n&&V===1?L=!1:(extend$2(y,r),!n&&V===1&&delete y._):(L=!r.$stable,normalizeObjectSlots(r,y)),$=r}else r&&(normalizeVNodeSlots(t,r),$={default:1});if(L)for(const V in y)!isInternalKey(V)&&$[V]==null&&delete y[V]};function setRef(t,r,n,g,y=!1){if(isArray$6(t)){t.forEach((oe,ie)=>setRef(oe,r&&(isArray$6(r)?r[ie]:r),n,g,y));return}if(isAsyncWrapper(g)&&!y)return;const L=g.shapeFlag&4?getExposeProxy(g.component)||g.component.proxy:g.el,$=y?null:L,{i:V,r:z}=t,j=r&&r.r,re=V.refs===EMPTY_OBJ$1?V.refs={}:V.refs,ae=V.setupState;if(j!=null&&j!==z&&(isString$3(j)?(re[j]=null,hasOwn$1(ae,j)&&(ae[j]=null)):isRef(j)&&(j.value=null)),isFunction$4(z))callWithErrorHandling(z,V,12,[$,re]);else{const oe=isString$3(z),ie=isRef(z);if(oe||ie){const le=()=>{if(t.f){const ue=oe?hasOwn$1(ae,z)?ae[z]:re[z]:z.value;y?isArray$6(ue)&&remove(ue,L):isArray$6(ue)?ue.includes(L)||ue.push(L):oe?(re[z]=[L],hasOwn$1(ae,z)&&(ae[z]=re[z])):(z.value=[L],t.k&&(re[t.k]=z.value))}else oe?(re[z]=$,hasOwn$1(ae,z)&&(ae[z]=$)):ie&&(z.value=$,t.k&&(re[t.k]=$))};$?(le.id=-1,queuePostRenderEffect(le,n)):le()}}}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(t){return baseCreateRenderer(t)}function baseCreateRenderer(t,r){const n=getGlobalThis();n.__VUE__=!0;const{insert:g,remove:y,patchProp:L,createElement:$,createText:V,createComment:z,setText:j,setElementText:re,parentNode:ae,nextSibling:oe,setScopeId:ie=NOOP,insertStaticContent:le}=t,ue=($n,Pn,Bn,Un=null,Fn=null,cr=null,ur=void 0,vr=null,Yn=!!Pn.dynamicChildren)=>{if($n===Pn)return;$n&&!isSameVNodeType($n,Pn)&&(Un=In($n),xn($n,Fn,cr,!0),$n=null),Pn.patchFlag===-2&&(Yn=!1,Pn.dynamicChildren=null);const{type:gr,ref:lr,shapeFlag:er}=Pn;switch(gr){case Text$2:de($n,Pn,Bn,Un);break;case Comment:pe($n,Pn,Bn,Un);break;case Static:$n==null&&he(Pn,Bn,Un,ur);break;case Fragment:Et($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn);break;default:er&1?$e($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn):er&6?kt($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn):(er&64||er&128)&&gr.process($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn,zn)}lr!=null&&Fn&&setRef(lr,$n&&$n.ref,cr,Pn||$n,!Pn)},de=($n,Pn,Bn,Un)=>{if($n==null)g(Pn.el=V(Pn.children),Bn,Un);else{const Fn=Pn.el=$n.el;Pn.children!==$n.children&&j(Fn,Pn.children)}},pe=($n,Pn,Bn,Un)=>{$n==null?g(Pn.el=z(Pn.children||""),Bn,Un):Pn.el=$n.el},he=($n,Pn,Bn,Un)=>{[$n.el,$n.anchor]=le($n.children,Pn,Bn,Un,$n.el,$n.anchor)},_e=({el:$n,anchor:Pn},Bn,Un)=>{let Fn;for(;$n&&$n!==Pn;)Fn=oe($n),g($n,Bn,Un),$n=Fn;g(Pn,Bn,Un)},Ce=({el:$n,anchor:Pn})=>{let Bn;for(;$n&&$n!==Pn;)Bn=oe($n),y($n),$n=Bn;y(Pn)},$e=($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn)=>{Pn.type==="svg"?ur="svg":Pn.type==="math"&&(ur="mathml"),$n==null?xe(Pn,Bn,Un,Fn,cr,ur,vr,Yn):ze($n,Pn,Fn,cr,ur,vr,Yn)},xe=($n,Pn,Bn,Un,Fn,cr,ur,vr)=>{let Yn,gr;const{props:lr,shapeFlag:er,transition:br,dirs:wr}=$n;if(Yn=$n.el=$($n.type,cr,lr&&lr.is,lr),er&8?re(Yn,$n.children):er&16&&Ne($n.children,Yn,null,Un,Fn,resolveChildrenNamespace($n,cr),ur,vr),wr&&invokeDirectiveHook($n,null,Un,"created"),Ie(Yn,$n,$n.scopeId,ur,Un),lr){for(const Mr in lr)Mr!=="value"&&!isReservedProp(Mr)&&L(Yn,Mr,null,lr[Mr],cr,$n.children,Un,Fn,Rn);"value"in lr&&L(Yn,"value",null,lr.value,cr),(gr=lr.onVnodeBeforeMount)&&invokeVNodeHook(gr,Un,$n)}wr&&invokeDirectiveHook($n,null,Un,"beforeMount");const $r=needTransition(Fn,br);$r&&br.beforeEnter(Yn),g(Yn,Pn,Bn),((gr=lr&&lr.onVnodeMounted)||$r||wr)&&queuePostRenderEffect(()=>{gr&&invokeVNodeHook(gr,Un,$n),$r&&br.enter(Yn),wr&&invokeDirectiveHook($n,null,Un,"mounted")},Fn)},Ie=($n,Pn,Bn,Un,Fn)=>{if(Bn&&ie($n,Bn),Un)for(let cr=0;cr{for(let gr=Yn;gr<$n.length;gr++){const lr=$n[gr]=vr?cloneIfMounted($n[gr]):normalizeVNode($n[gr]);ue(null,lr,Pn,Bn,Un,Fn,cr,ur,vr)}},ze=($n,Pn,Bn,Un,Fn,cr,ur)=>{const vr=Pn.el=$n.el;let{patchFlag:Yn,dynamicChildren:gr,dirs:lr}=Pn;Yn|=$n.patchFlag&16;const er=$n.props||EMPTY_OBJ$1,br=Pn.props||EMPTY_OBJ$1;let wr;if(Bn&&toggleRecurse(Bn,!1),(wr=br.onVnodeBeforeUpdate)&&invokeVNodeHook(wr,Bn,Pn,$n),lr&&invokeDirectiveHook(Pn,$n,Bn,"beforeUpdate"),Bn&&toggleRecurse(Bn,!0),gr?Fe($n.dynamicChildren,gr,vr,Bn,Un,resolveChildrenNamespace(Pn,Fn),cr):ur||hn($n,Pn,vr,null,Bn,Un,resolveChildrenNamespace(Pn,Fn),cr,!1),Yn>0){if(Yn&16)qe(vr,Pn,er,br,Bn,Un,Fn);else if(Yn&2&&er.class!==br.class&&L(vr,"class",null,br.class,Fn),Yn&4&&L(vr,"style",er.style,br.style,Fn),Yn&8){const $r=Pn.dynamicProps;for(let Mr=0;Mr<$r.length;Mr++){const Cr=$r[Mr],xr=er[Cr],or=br[Cr];(or!==xr||Cr==="value")&&L(vr,Cr,xr,or,Fn,$n.children,Bn,Un,Rn)}}Yn&1&&$n.children!==Pn.children&&re(vr,Pn.children)}else!ur&&gr==null&&qe(vr,Pn,er,br,Bn,Un,Fn);((wr=br.onVnodeUpdated)||lr)&&queuePostRenderEffect(()=>{wr&&invokeVNodeHook(wr,Bn,Pn,$n),lr&&invokeDirectiveHook(Pn,$n,Bn,"updated")},Un)},Fe=($n,Pn,Bn,Un,Fn,cr,ur)=>{for(let vr=0;vr{if(Bn!==Un){if(Bn!==EMPTY_OBJ$1)for(const vr in Bn)!isReservedProp(vr)&&!(vr in Un)&&L($n,vr,Bn[vr],null,ur,Pn.children,Fn,cr,Rn);for(const vr in Un){if(isReservedProp(vr))continue;const Yn=Un[vr],gr=Bn[vr];Yn!==gr&&vr!=="value"&&L($n,vr,gr,Yn,ur,Pn.children,Fn,cr,Rn)}"value"in Un&&L($n,"value",Bn.value,Un.value,ur)}},Et=($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn)=>{const gr=Pn.el=$n?$n.el:V(""),lr=Pn.anchor=$n?$n.anchor:V("");let{patchFlag:er,dynamicChildren:br,slotScopeIds:wr}=Pn;wr&&(vr=vr?vr.concat(wr):wr),$n==null?(g(gr,Bn,Un),g(lr,Bn,Un),Ne(Pn.children||[],Bn,lr,Fn,cr,ur,vr,Yn)):er>0&&er&64&&br&&$n.dynamicChildren?(Fe($n.dynamicChildren,br,Bn,Fn,cr,ur,vr),(Pn.key!=null||Fn&&Pn===Fn.subTree)&&traverseStaticChildren($n,Pn,!0)):hn($n,Pn,Bn,lr,Fn,cr,ur,vr,Yn)},kt=($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn)=>{Pn.slotScopeIds=vr,$n==null?Pn.shapeFlag&512?Fn.ctx.activate(Pn,Bn,Un,ur,Yn):Lt(Pn,Bn,Un,Fn,cr,ur,Yn):vn($n,Pn,Yn)},Lt=($n,Pn,Bn,Un,Fn,cr,ur)=>{const vr=$n.component=createComponentInstance($n,Un,Fn);if(isKeepAlive($n)&&(vr.ctx.renderer=zn),setupComponent(vr),vr.asyncDep){if(Fn&&Fn.registerDep(vr,jt),!$n.el){const Yn=vr.subTree=createVNode$1(Comment);pe(null,Yn,Pn,Bn)}}else jt(vr,$n,Pn,Bn,Fn,cr,ur)},vn=($n,Pn,Bn)=>{const Un=Pn.component=$n.component;if(shouldUpdateComponent($n,Pn,Bn))if(Un.asyncDep&&!Un.asyncResolved){At(Un,Pn,Bn);return}else Un.next=Pn,invalidateJob(Un.update),Un.effect.dirty=!0,Un.update();else Pn.el=$n.el,Un.vnode=Pn},jt=($n,Pn,Bn,Un,Fn,cr,ur)=>{const vr=()=>{if($n.isMounted){let{next:lr,bu:er,u:br,parent:wr,vnode:$r}=$n;{const Dn=locateNonHydratedAsyncRoot($n);if(Dn){lr&&(lr.el=$r.el,At($n,lr,ur)),Dn.asyncDep.then(()=>{$n.isUnmounted||vr()});return}}let Mr=lr,Cr;toggleRecurse($n,!1),lr?(lr.el=$r.el,At($n,lr,ur)):lr=$r,er&&invokeArrayFns(er),(Cr=lr.props&&lr.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Cr,wr,lr,$r),toggleRecurse($n,!0);const xr=renderComponentRoot($n),or=$n.subTree;$n.subTree=xr,ue(or,xr,ae(or.el),In(or),$n,Fn,cr),lr.el=xr.el,Mr===null&&updateHOCHostEl($n,xr.el),br&&queuePostRenderEffect(br,Fn),(Cr=lr.props&&lr.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Cr,wr,lr,$r),Fn)}else{let lr;const{el:er,props:br}=Pn,{bm:wr,m:$r,parent:Mr}=$n,Cr=isAsyncWrapper(Pn);if(toggleRecurse($n,!1),wr&&invokeArrayFns(wr),!Cr&&(lr=br&&br.onVnodeBeforeMount)&&invokeVNodeHook(lr,Mr,Pn),toggleRecurse($n,!0),er&&tr){const xr=()=>{$n.subTree=renderComponentRoot($n),tr(er,$n.subTree,$n,Fn,null)};Cr?Pn.type.__asyncLoader().then(()=>!$n.isUnmounted&&xr()):xr()}else{const xr=$n.subTree=renderComponentRoot($n);ue(null,xr,Bn,Un,$n,Fn,cr),Pn.el=xr.el}if($r&&queuePostRenderEffect($r,Fn),!Cr&&(lr=br&&br.onVnodeMounted)){const xr=Pn;queuePostRenderEffect(()=>invokeVNodeHook(lr,Mr,xr),Fn)}(Pn.shapeFlag&256||Mr&&isAsyncWrapper(Mr.vnode)&&Mr.vnode.shapeFlag&256)&&$n.a&&queuePostRenderEffect($n.a,Fn),$n.isMounted=!0,Pn=Bn=Un=null}},Yn=$n.effect=new ReactiveEffect(vr,NOOP,()=>queueJob(gr),$n.scope),gr=$n.update=()=>{Yn.dirty&&Yn.run()};gr.id=$n.uid,toggleRecurse($n,!0),gr()},At=($n,Pn,Bn)=>{Pn.component=$n;const Un=$n.vnode.props;$n.vnode=Pn,$n.next=null,updateProps$2($n,Pn.props,Un,Bn),updateSlots($n,Pn.children,Bn),pauseTracking(),flushPreFlushCbs($n),resetTracking()},hn=($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn=!1)=>{const gr=$n&&$n.children,lr=$n?$n.shapeFlag:0,er=Pn.children,{patchFlag:br,shapeFlag:wr}=Pn;if(br>0){if(br&128){Cn(gr,er,Bn,Un,Fn,cr,ur,vr,Yn);return}else if(br&256){bn(gr,er,Bn,Un,Fn,cr,ur,vr,Yn);return}}wr&8?(lr&16&&Rn(gr,Fn,cr),er!==gr&&re(Bn,er)):lr&16?wr&16?Cn(gr,er,Bn,Un,Fn,cr,ur,vr,Yn):Rn(gr,Fn,cr,!0):(lr&8&&re(Bn,""),wr&16&&Ne(er,Bn,Un,Fn,cr,ur,vr,Yn))},bn=($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn)=>{$n=$n||EMPTY_ARR,Pn=Pn||EMPTY_ARR;const gr=$n.length,lr=Pn.length,er=Math.min(gr,lr);let br;for(br=0;brlr?Rn($n,Fn,cr,!0,!1,er):Ne(Pn,Bn,Un,Fn,cr,ur,vr,Yn,er)},Cn=($n,Pn,Bn,Un,Fn,cr,ur,vr,Yn)=>{let gr=0;const lr=Pn.length;let er=$n.length-1,br=lr-1;for(;gr<=er&&gr<=br;){const wr=$n[gr],$r=Pn[gr]=Yn?cloneIfMounted(Pn[gr]):normalizeVNode(Pn[gr]);if(isSameVNodeType(wr,$r))ue(wr,$r,Bn,null,Fn,cr,ur,vr,Yn);else break;gr++}for(;gr<=er&&gr<=br;){const wr=$n[er],$r=Pn[br]=Yn?cloneIfMounted(Pn[br]):normalizeVNode(Pn[br]);if(isSameVNodeType(wr,$r))ue(wr,$r,Bn,null,Fn,cr,ur,vr,Yn);else break;er--,br--}if(gr>er){if(gr<=br){const wr=br+1,$r=wrbr)for(;gr<=er;)xn($n[gr],Fn,cr,!0),gr++;else{const wr=gr,$r=gr,Mr=new Map;for(gr=$r;gr<=br;gr++){const Pr=Pn[gr]=Yn?cloneIfMounted(Pn[gr]):normalizeVNode(Pn[gr]);Pr.key!=null&&Mr.set(Pr.key,gr)}let Cr,xr=0;const or=br-$r+1;let Dn=!1,Hn=0;const Wn=new Array(or);for(gr=0;gr=or){xn(Pr,Fn,cr,!0);continue}let ir;if(Pr.key!=null)ir=Mr.get(Pr.key);else for(Cr=$r;Cr<=br;Cr++)if(Wn[Cr-$r]===0&&isSameVNodeType(Pr,Pn[Cr])){ir=Cr;break}ir===void 0?xn(Pr,Fn,cr,!0):(Wn[ir-$r]=gr+1,ir>=Hn?Hn=ir:Dn=!0,ue(Pr,Pn[ir],Bn,null,Fn,cr,ur,vr,Yn),xr++)}const pr=Dn?getSequence(Wn):EMPTY_ARR;for(Cr=pr.length-1,gr=or-1;gr>=0;gr--){const Pr=$r+gr,ir=Pn[Pr],Er=Pr+1{const{el:cr,type:ur,transition:vr,children:Yn,shapeFlag:gr}=$n;if(gr&6){Tn($n.component.subTree,Pn,Bn,Un);return}if(gr&128){$n.suspense.move(Pn,Bn,Un);return}if(gr&64){ur.move($n,Pn,Bn,zn);return}if(ur===Fragment){g(cr,Pn,Bn);for(let er=0;ervr.enter(cr),Fn);else{const{leave:er,delayLeave:br,afterLeave:wr}=vr,$r=()=>g(cr,Pn,Bn),Mr=()=>{er(cr,()=>{$r(),wr&&wr()})};br?br(cr,$r,Mr):Mr()}else g(cr,Pn,Bn)},xn=($n,Pn,Bn,Un=!1,Fn=!1)=>{const{type:cr,props:ur,ref:vr,children:Yn,dynamicChildren:gr,shapeFlag:lr,patchFlag:er,dirs:br}=$n;if(vr!=null&&setRef(vr,null,Bn,$n,!0),lr&256){Pn.ctx.deactivate($n);return}const wr=lr&1&&br,$r=!isAsyncWrapper($n);let Mr;if($r&&(Mr=ur&&ur.onVnodeBeforeUnmount)&&invokeVNodeHook(Mr,Pn,$n),lr&6)On($n.component,Bn,Un);else{if(lr&128){$n.suspense.unmount(Bn,Un);return}wr&&invokeDirectiveHook($n,null,Pn,"beforeUnmount"),lr&64?$n.type.remove($n,Pn,Bn,Fn,zn,Un):gr&&(cr!==Fragment||er>0&&er&64)?Rn(gr,Pn,Bn,!1,!0):(cr===Fragment&&er&384||!Fn&&lr&16)&&Rn(Yn,Pn,Bn),Un&&En($n)}($r&&(Mr=ur&&ur.onVnodeUnmounted)||wr)&&queuePostRenderEffect(()=>{Mr&&invokeVNodeHook(Mr,Pn,$n),wr&&invokeDirectiveHook($n,null,Pn,"unmounted")},Bn)},En=$n=>{const{type:Pn,el:Bn,anchor:Un,transition:Fn}=$n;if(Pn===Fragment){kn(Bn,Un);return}if(Pn===Static){Ce($n);return}const cr=()=>{y(Bn),Fn&&!Fn.persisted&&Fn.afterLeave&&Fn.afterLeave()};if($n.shapeFlag&1&&Fn&&!Fn.persisted){const{leave:ur,delayLeave:vr}=Fn,Yn=()=>ur(Bn,cr);vr?vr($n.el,cr,Yn):Yn()}else cr()},kn=($n,Pn)=>{let Bn;for(;$n!==Pn;)Bn=oe($n),y($n),$n=Bn;y(Pn)},On=($n,Pn,Bn)=>{const{bum:Un,scope:Fn,update:cr,subTree:ur,um:vr}=$n;Un&&invokeArrayFns(Un),Fn.stop(),cr&&(cr.active=!1,xn(ur,$n,Pn,Bn)),vr&&queuePostRenderEffect(vr,Pn),queuePostRenderEffect(()=>{$n.isUnmounted=!0},Pn),Pn&&Pn.pendingBranch&&!Pn.isUnmounted&&$n.asyncDep&&!$n.asyncResolved&&$n.suspenseId===Pn.pendingId&&(Pn.deps--,Pn.deps===0&&Pn.resolve())},Rn=($n,Pn,Bn,Un=!1,Fn=!1,cr=0)=>{for(let ur=cr;ur<$n.length;ur++)xn($n[ur],Pn,Bn,Un,Fn)},In=$n=>$n.shapeFlag&6?In($n.component.subTree):$n.shapeFlag&128?$n.suspense.next():oe($n.anchor||$n.el);let Mn=!1;const Vn=($n,Pn,Bn)=>{$n==null?Pn._vnode&&xn(Pn._vnode,null,null,!0):ue(Pn._vnode||null,$n,Pn,null,null,null,Bn),Mn||(Mn=!0,flushPreFlushCbs(),flushPostFlushCbs(),Mn=!1),Pn._vnode=$n},zn={p:ue,um:xn,m:Tn,r:En,mt:Lt,mc:Ne,pc:hn,pbc:Fe,n:In,o:t};let Jn,tr;return r&&([Jn,tr]=r(zn)),{render:Vn,hydrate:Jn,createApp:createAppAPI(Vn,Jn)}}function resolveChildrenNamespace({type:t,props:r},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&r&&r.encoding&&r.encoding.includes("html")?void 0:n}function toggleRecurse({effect:t,update:r},n){t.allowRecurse=r.allowRecurse=n}function needTransition(t,r){return(!t||t&&!t.pendingBranch)&&r&&!r.persisted}function traverseStaticChildren(t,r,n=!1){const g=t.children,y=r.children;if(isArray$6(g)&&isArray$6(y))for(let L=0;L>1,t[n[V]]0&&(r[g]=n[L-1]),n[L]=g)}}for(L=n.length,$=n[L-1];L-- >0;)n[L]=$,$=r[$];return n}function locateNonHydratedAsyncRoot(t){const r=t.subTree.component;if(r)return r.asyncDep&&!r.asyncResolved?r:locateNonHydratedAsyncRoot(r)}const isTeleport=t=>t.__isTeleport,isTeleportDisabled=t=>t&&(t.disabled||t.disabled===""),isTargetSVG=t=>typeof SVGElement<"u"&&t instanceof SVGElement,isTargetMathML=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,resolveTarget=(t,r)=>{const n=t&&t.to;return isString$3(n)?r?r(n):null:n},TeleportImpl={name:"Teleport",__isTeleport:!0,process(t,r,n,g,y,L,$,V,z,j){const{mc:re,pc:ae,pbc:oe,o:{insert:ie,querySelector:le,createText:ue,createComment:de}}=j,pe=isTeleportDisabled(r.props);let{shapeFlag:he,children:_e,dynamicChildren:Ce}=r;if(t==null){const $e=r.el=ue(""),xe=r.anchor=ue("");ie($e,n,g),ie(xe,n,g);const Ie=r.target=resolveTarget(r.props,le),Ne=r.targetAnchor=ue("");Ie&&(ie(Ne,Ie),$==="svg"||isTargetSVG(Ie)?$="svg":($==="mathml"||isTargetMathML(Ie))&&($="mathml"));const ze=(Fe,qe)=>{he&16&&re(_e,Fe,qe,y,L,$,V,z)};pe?ze(n,xe):Ie&&ze(Ie,Ne)}else{r.el=t.el;const $e=r.anchor=t.anchor,xe=r.target=t.target,Ie=r.targetAnchor=t.targetAnchor,Ne=isTeleportDisabled(t.props),ze=Ne?n:xe,Fe=Ne?$e:Ie;if($==="svg"||isTargetSVG(xe)?$="svg":($==="mathml"||isTargetMathML(xe))&&($="mathml"),Ce?(oe(t.dynamicChildren,Ce,ze,y,L,$,V),traverseStaticChildren(t,r,!0)):z||ae(t,r,ze,Fe,y,L,$,V,!1),pe)Ne?r.props&&t.props&&r.props.to!==t.props.to&&(r.props.to=t.props.to):moveTeleport(r,n,$e,j,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const qe=r.target=resolveTarget(r.props,le);qe&&moveTeleport(r,qe,null,j,0)}else Ne&&moveTeleport(r,xe,Ie,j,1)}updateCssVars(r)},remove(t,r,n,g,{um:y,o:{remove:L}},$){const{shapeFlag:V,children:z,anchor:j,targetAnchor:re,target:ae,props:oe}=t;if(ae&&L(re),$&&L(j),V&16){const ie=$||!isTeleportDisabled(oe);for(let le=0;le0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(t),t}function createElementBlock(t,r,n,g,y,L){return setupBlock(createBaseVNode(t,r,n,g,y,L,!0))}function createBlock(t,r,n,g,y){return setupBlock(createVNode$1(t,r,n,g,y,!0))}function isVNode(t){return t?t.__v_isVNode===!0:!1}function isSameVNodeType(t,r){return t.type===r.type&&t.key===r.key}const InternalObjectKey="__vInternal",normalizeKey=({key:t})=>t??null,normalizeRef=({ref:t,ref_key:r,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?isString$3(t)||isRef(t)||isFunction$4(t)?{i:currentRenderingInstance,r:t,k:r,f:!!n}:t:null);function createBaseVNode(t,r=null,n=null,g=0,y=null,L=t===Fragment?0:1,$=!1,V=!1){const z={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&normalizeKey(r),ref:r&&normalizeRef(r),scopeId:currentScopeId,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:L,patchFlag:g,dynamicProps:y,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return V?(normalizeChildren(z,n),L&128&&t.normalize(z)):n&&(z.shapeFlag|=isString$3(n)?8:16),isBlockTreeEnabled>0&&!$&¤tBlock&&(z.patchFlag>0||L&6)&&z.patchFlag!==32&¤tBlock.push(z),z}const createVNode$1=_createVNode;function _createVNode(t,r=null,n=null,g=0,y=null,L=!1){if((!t||t===NULL_DYNAMIC_COMPONENT)&&(t=Comment),isVNode(t)){const V=cloneVNode(t,r,!0);return n&&normalizeChildren(V,n),isBlockTreeEnabled>0&&!L&¤tBlock&&(V.shapeFlag&6?currentBlock[currentBlock.indexOf(t)]=V:currentBlock.push(V)),V.patchFlag|=-2,V}if(isClassComponent(t)&&(t=t.__vccOpts),r){r=guardReactiveProps(r);let{class:V,style:z}=r;V&&!isString$3(V)&&(r.class=normalizeClass(V)),isObject$7(z)&&(isProxy(z)&&!isArray$6(z)&&(z=extend$2({},z)),r.style=normalizeStyle$1(z))}const $=isString$3(t)?1:isSuspense(t)?128:isTeleport(t)?64:isObject$7(t)?4:isFunction$4(t)?2:0;return createBaseVNode(t,r,n,g,y,$,L,!0)}function guardReactiveProps(t){return t?isProxy(t)||InternalObjectKey in t?extend$2({},t):t:null}function cloneVNode(t,r,n=!1){const{props:g,ref:y,patchFlag:L,children:$}=t,V=r?mergeProps(g||{},r):g;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:V,key:V&&normalizeKey(V),ref:r&&r.ref?n&&y?isArray$6(y)?y.concat(normalizeRef(r)):[y,normalizeRef(r)]:normalizeRef(r):y,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:$,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Fragment?L===-1?16:L|16:L,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&cloneVNode(t.ssContent),ssFallback:t.ssFallback&&cloneVNode(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function createTextVNode(t=" ",r=0){return createVNode$1(Text$2,null,t,r)}function createCommentVNode(t="",r=!1){return r?(openBlock(),createBlock(Comment,null,t)):createVNode$1(Comment,null,t)}function normalizeVNode(t){return t==null||typeof t=="boolean"?createVNode$1(Comment):isArray$6(t)?createVNode$1(Fragment,null,t.slice()):typeof t=="object"?cloneIfMounted(t):createVNode$1(Text$2,null,String(t))}function cloneIfMounted(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:cloneVNode(t)}function normalizeChildren(t,r){let n=0;const{shapeFlag:g}=t;if(r==null)r=null;else if(isArray$6(r))n=16;else if(typeof r=="object")if(g&65){const y=r.default;y&&(y._c&&(y._d=!1),normalizeChildren(t,y()),y._c&&(y._d=!0));return}else{n=32;const y=r._;!y&&!(InternalObjectKey in r)?r._ctx=currentRenderingInstance:y===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else isFunction$4(r)?(r={default:r,_ctx:currentRenderingInstance},n=32):(r=String(r),g&64?(n=16,r=[createTextVNode(r)]):n=8);t.children=r,t.shapeFlag|=n}function mergeProps(...t){const r={};for(let n=0;ncurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const t=getGlobalThis(),r=(n,g)=>{let y;return(y=t[n])||(y=t[n]=[]),y.push(g),L=>{y.length>1?y.forEach($=>$(L)):y[0](L)}};internalSetCurrentInstance=r("__VUE_INSTANCE_SETTERS__",n=>currentInstance=n),setInSSRSetupState=r("__VUE_SSR_SETTERS__",n=>isInSSRComponentSetup=n)}const setCurrentInstance=t=>{const r=currentInstance;return internalSetCurrentInstance(t),t.scope.on(),()=>{t.scope.off(),internalSetCurrentInstance(r)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(t){return t.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(t,r=!1){r&&setInSSRSetupState(r);const{props:n,children:g}=t.vnode,y=isStatefulComponent(t);initProps$1(t,n,y,r),initSlots(t,g);const L=y?setupStatefulComponent(t,r):void 0;return r&&setInSSRSetupState(!1),L}function setupStatefulComponent(t,r){const n=t.type;t.accessCache=Object.create(null),t.proxy=markRaw(new Proxy(t.ctx,PublicInstanceProxyHandlers));const{setup:g}=n;if(g){const y=t.setupContext=g.length>1?createSetupContext(t):null,L=setCurrentInstance(t);pauseTracking();const $=callWithErrorHandling(g,t,0,[t.props,y]);if(resetTracking(),L(),isPromise($)){if($.then(unsetCurrentInstance,unsetCurrentInstance),r)return $.then(V=>{handleSetupResult(t,V,r)}).catch(V=>{handleError(V,t,0)});t.asyncDep=$}else handleSetupResult(t,$,r)}else finishComponentSetup(t,r)}function handleSetupResult(t,r,n){isFunction$4(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:isObject$7(r)&&(t.setupState=proxyRefs(r)),finishComponentSetup(t,n)}let compile;function finishComponentSetup(t,r,n){const g=t.type;if(!t.render){if(!r&&compile&&!g.render){const y=g.template||resolveMergedOptions(t).template;if(y){const{isCustomElement:L,compilerOptions:$}=t.appContext.config,{delimiters:V,compilerOptions:z}=g,j=extend$2(extend$2({isCustomElement:L,delimiters:V},$),z);g.render=compile(y,j)}}t.render=g.render||NOOP}{const y=setCurrentInstance(t);pauseTracking();try{applyOptions(t)}finally{resetTracking(),y()}}}function getAttrsProxy(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(r,n){return track(t,"get","$attrs"),r[n]}}))}function createSetupContext(t){const r=n=>{t.exposed=n||{}};return{get attrs(){return getAttrsProxy(t)},slots:t.slots,emit:t.emit,expose:r}}function getExposeProxy(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(proxyRefs(markRaw(t.exposed)),{get(r,n){if(n in r)return r[n];if(n in publicPropertiesMap)return publicPropertiesMap[n](t)},has(r,n){return n in r||n in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=t=>t.replace(classifyRE,r=>r.toUpperCase()).replace(/[-_]/g,"");function getComponentName(t,r=!0){return isFunction$4(t)?t.displayName||t.name:t.name||r&&t.__name}function formatComponentName(t,r,n=!1){let g=getComponentName(r);if(!g&&r.__file){const y=r.__file.match(/([^/\\]+)\.\w+$/);y&&(g=y[1])}if(!g&&t&&t.parent){const y=L=>{for(const $ in L)if(L[$]===r)return $};g=y(t.components||t.parent.type.components)||y(t.appContext.components)}return g?classify(g):n?"App":"Anonymous"}function isClassComponent(t){return isFunction$4(t)&&"__vccOpts"in t}const computed=(t,r)=>computed$1(t,r,isInSSRComponentSetup);function h$1(t,r,n){const g=arguments.length;return g===2?isObject$7(r)&&!isArray$6(r)?isVNode(r)?createVNode$1(t,null,[r]):createVNode$1(t,r):createVNode$1(t,null,r):(g>3?n=Array.prototype.slice.call(arguments,2):g===3&&isVNode(n)&&(n=[n]),createVNode$1(t,r,n))}const version$1="3.4.21",warn$2=NOOP;/** -* @vue/runtime-dom v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(t,r,n)=>{r.insertBefore(t,n||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,n,g)=>{const y=r==="svg"?doc.createElementNS(svgNS,t):r==="mathml"?doc.createElementNS(mathmlNS,t):doc.createElement(t,n?{is:n}:void 0);return t==="select"&&g&&g.multiple!=null&&y.setAttribute("multiple",g.multiple),y},createText:t=>doc.createTextNode(t),createComment:t=>doc.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>doc.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,n,g,y,L){const $=n?n.previousSibling:r.lastChild;if(y&&(y===L||y.nextSibling))for(;r.insertBefore(y.cloneNode(!0),n),!(y===L||!(y=y.nextSibling)););else{templateContainer.innerHTML=g==="svg"?`${t}`:g==="mathml"?`${t}`:t;const V=templateContainer.content;if(g==="svg"||g==="mathml"){const z=V.firstChild;for(;z.firstChild;)V.appendChild(z.firstChild);V.removeChild(z)}r.insertBefore(V,n)}return[$?$.nextSibling:r.firstChild,n?n.previousSibling:r.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(t,{slots:r})=>h$1(BaseTransition,resolveTransitionProps(t),r);Transition.displayName="Transition";const DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition.props=extend$2({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(t,r=[])=>{isArray$6(t)?t.forEach(n=>n(...r)):t&&t(...r)},hasExplicitCallback=t=>t?isArray$6(t)?t.some(r=>r.length>1):t.length>1:!1;function resolveTransitionProps(t){const r={};for(const Et in t)Et in DOMTransitionPropsValidators||(r[Et]=t[Et]);if(t.css===!1)return r;const{name:n="v",type:g,duration:y,enterFromClass:L=`${n}-enter-from`,enterActiveClass:$=`${n}-enter-active`,enterToClass:V=`${n}-enter-to`,appearFromClass:z=L,appearActiveClass:j=$,appearToClass:re=V,leaveFromClass:ae=`${n}-leave-from`,leaveActiveClass:oe=`${n}-leave-active`,leaveToClass:ie=`${n}-leave-to`}=t,le=normalizeDuration(y),ue=le&&le[0],de=le&&le[1],{onBeforeEnter:pe,onEnter:he,onEnterCancelled:_e,onLeave:Ce,onLeaveCancelled:$e,onBeforeAppear:xe=pe,onAppear:Ie=he,onAppearCancelled:Ne=_e}=r,ze=(Et,kt,Lt)=>{removeTransitionClass(Et,kt?re:V),removeTransitionClass(Et,kt?j:$),Lt&&Lt()},Fe=(Et,kt)=>{Et._isLeaving=!1,removeTransitionClass(Et,ae),removeTransitionClass(Et,ie),removeTransitionClass(Et,oe),kt&&kt()},qe=Et=>(kt,Lt)=>{const vn=Et?Ie:he,jt=()=>ze(kt,Et,Lt);callHook(vn,[kt,jt]),nextFrame(()=>{removeTransitionClass(kt,Et?z:L),addTransitionClass(kt,Et?re:V),hasExplicitCallback(vn)||whenTransitionEnds(kt,g,ue,jt)})};return extend$2(r,{onBeforeEnter(Et){callHook(pe,[Et]),addTransitionClass(Et,L),addTransitionClass(Et,$)},onBeforeAppear(Et){callHook(xe,[Et]),addTransitionClass(Et,z),addTransitionClass(Et,j)},onEnter:qe(!1),onAppear:qe(!0),onLeave(Et,kt){Et._isLeaving=!0;const Lt=()=>Fe(Et,kt);addTransitionClass(Et,ae),forceReflow(),addTransitionClass(Et,oe),nextFrame(()=>{Et._isLeaving&&(removeTransitionClass(Et,ae),addTransitionClass(Et,ie),hasExplicitCallback(Ce)||whenTransitionEnds(Et,g,de,Lt))}),callHook(Ce,[Et,Lt])},onEnterCancelled(Et){ze(Et,!1),callHook(_e,[Et])},onAppearCancelled(Et){ze(Et,!0),callHook(Ne,[Et])},onLeaveCancelled(Et){Fe(Et),callHook($e,[Et])}})}function normalizeDuration(t){if(t==null)return null;if(isObject$7(t))return[NumberOf(t.enter),NumberOf(t.leave)];{const r=NumberOf(t);return[r,r]}}function NumberOf(t){return toNumber$1(t)}function addTransitionClass(t,r){r.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[vtcKey]||(t[vtcKey]=new Set)).add(r)}function removeTransitionClass(t,r){r.split(/\s+/).forEach(g=>g&&t.classList.remove(g));const n=t[vtcKey];n&&(n.delete(r),n.size||(t[vtcKey]=void 0))}function nextFrame(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let endId=0;function whenTransitionEnds(t,r,n,g){const y=t._endId=++endId,L=()=>{y===t._endId&&g()};if(n)return setTimeout(L,n);const{type:$,timeout:V,propCount:z}=getTransitionInfo(t,r);if(!$)return g();const j=$+"end";let re=0;const ae=()=>{t.removeEventListener(j,oe),L()},oe=ie=>{ie.target===t&&++re>=z&&ae()};setTimeout(()=>{re(n[le]||"").split(", "),y=g(`${TRANSITION}Delay`),L=g(`${TRANSITION}Duration`),$=getTimeout(y,L),V=g(`${ANIMATION}Delay`),z=g(`${ANIMATION}Duration`),j=getTimeout(V,z);let re=null,ae=0,oe=0;r===TRANSITION?$>0&&(re=TRANSITION,ae=$,oe=L.length):r===ANIMATION?j>0&&(re=ANIMATION,ae=j,oe=z.length):(ae=Math.max($,j),re=ae>0?$>j?TRANSITION:ANIMATION:null,oe=re?re===TRANSITION?L.length:z.length:0);const ie=re===TRANSITION&&/\b(transform|all)(,|$)/.test(g(`${TRANSITION}Property`).toString());return{type:re,timeout:ae,propCount:oe,hasTransform:ie}}function getTimeout(t,r){for(;t.lengthtoMs(n)+toMs(t[g])))}function toMs(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(t,r,n){const g=t[vtcKey];g&&(r=(r?[r,...g]:[...g]).join(" ")),r==null?t.removeAttribute("class"):n?t.setAttribute("class",r):t.className=r}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(t,{value:r},{transition:n}){t[vShowOriginalDisplay]=t.style.display==="none"?"":t.style.display,n&&r?n.beforeEnter(t):setDisplay(t,r)},mounted(t,{value:r},{transition:n}){n&&r&&n.enter(t)},updated(t,{value:r,oldValue:n},{transition:g}){!r!=!n&&(g?r?(g.beforeEnter(t),setDisplay(t,!0),g.enter(t)):g.leave(t,()=>{setDisplay(t,!1)}):setDisplay(t,r))},beforeUnmount(t,{value:r}){setDisplay(t,r)}};function setDisplay(t,r){t.style.display=r?t[vShowOriginalDisplay]:"none",t[vShowHidden]=!r}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(t,r,n){const g=t.style,y=isString$3(n);let L=!1;if(n&&!y){if(r)if(isString$3(r))for(const $ of r.split(";")){const V=$.slice(0,$.indexOf(":")).trim();n[V]==null&&setStyle(g,V,"")}else for(const $ in r)n[$]==null&&setStyle(g,$,"");for(const $ in n)$==="display"&&(L=!0),setStyle(g,$,n[$])}else if(y){if(r!==n){const $=g[CSS_VAR_TEXT];$&&(n+=";"+$),g.cssText=n,L=displayRE.test(n)}}else r&&t.removeAttribute("style");vShowOriginalDisplay in t&&(t[vShowOriginalDisplay]=L?g.display:"",t[vShowHidden]&&(g.display="none"))}const importantRE=/\s*!important$/;function setStyle(t,r,n){if(isArray$6(n))n.forEach(g=>setStyle(t,r,g));else if(n==null&&(n=""),r.startsWith("--"))t.setProperty(r,n);else{const g=autoPrefix(t,r);importantRE.test(n)?t.setProperty(hyphenate(g),n.replace(importantRE,""),"important"):t[g]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(t,r){const n=prefixCache[r];if(n)return n;let g=camelize(r);if(g!=="filter"&&g in t)return prefixCache[r]=g;g=capitalize$1(g);for(let y=0;ycachedNow||(p$1.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(t,r){const n=g=>{if(!g._vts)g._vts=Date.now();else if(g._vts<=n.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(g,n.value),r,5,[g])};return n.value=t,n.attached=getNow(),n}function patchStopImmediatePropagation(t,r){if(isArray$6(r)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},r.map(g=>y=>!y._stopped&&g&&g(y))}else return r}const isNativeOn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,patchProp=(t,r,n,g,y,L,$,V,z)=>{const j=y==="svg";r==="class"?patchClass(t,g,j):r==="style"?patchStyle(t,n,g):isOn(r)?isModelListener(r)||patchEvent(t,r,n,g,$):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):shouldSetAsProp(t,r,g,j))?patchDOMProp(t,r,g,L,$,V,z):(r==="true-value"?t._trueValue=g:r==="false-value"&&(t._falseValue=g),patchAttr(t,r,g,j))};function shouldSetAsProp(t,r,n,g){if(g)return!!(r==="innerHTML"||r==="textContent"||r in t&&isNativeOn(r)&&isFunction$4(n));if(r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA")return!1;if(r==="width"||r==="height"){const y=t.tagName;if(y==="IMG"||y==="VIDEO"||y==="CANVAS"||y==="SOURCE")return!1}return isNativeOn(r)&&isString$3(n)?!1:r in t}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(t,{slots:r}){const n=getCurrentInstance(),g=useTransitionState();let y,L;return onUpdated(()=>{if(!y.length)return;const $=t.moveClass||`${t.name||"v"}-move`;if(!hasCSSTransform(y[0].el,n.vnode.el,$))return;y.forEach(callPendingCbs),y.forEach(recordPosition);const V=y.filter(applyTranslation);forceReflow(),V.forEach(z=>{const j=z.el,re=j.style;addTransitionClass(j,$),re.transform=re.webkitTransform=re.transitionDuration="";const ae=j[moveCbKey]=oe=>{oe&&oe.target!==j||(!oe||/transform$/.test(oe.propertyName))&&(j.removeEventListener("transitionend",ae),j[moveCbKey]=null,removeTransitionClass(j,$))};j.addEventListener("transitionend",ae)})}),()=>{const $=toRaw(t),V=resolveTransitionProps($);let z=$.tag||Fragment;y=L,L=r.default?getTransitionRawChildren(r.default()):[];for(let j=0;jdelete t.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(t){const r=t.el;r[moveCbKey]&&r[moveCbKey](),r[enterCbKey]&&r[enterCbKey]()}function recordPosition(t){newPositionMap.set(t,t.el.getBoundingClientRect())}function applyTranslation(t){const r=positionMap.get(t),n=newPositionMap.get(t),g=r.left-n.left,y=r.top-n.top;if(g||y){const L=t.el.style;return L.transform=L.webkitTransform=`translate(${g}px,${y}px)`,L.transitionDuration="0s",t}}function hasCSSTransform(t,r,n){const g=t.cloneNode(),y=t[vtcKey];y&&y.forEach(V=>{V.split(/\s+/).forEach(z=>z&&g.classList.remove(z))}),n.split(/\s+/).forEach(V=>V&&g.classList.add(V)),g.style.display="none";const L=r.nodeType===1?r:r.parentNode;L.appendChild(g);const{hasTransform:$}=getTransitionInfo(g);return L.removeChild(g),$}const getModelAssigner=t=>{const r=t.props["onUpdate:modelValue"]||!1;return isArray$6(r)?n=>invokeArrayFns(r,n):r};function onCompositionStart(t){t.target.composing=!0}function onCompositionEnd(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(t,{modifiers:{lazy:r,trim:n,number:g}},y){t[assignKey]=getModelAssigner(y);const L=g||y.props&&y.props.type==="number";addEventListener$1(t,r?"change":"input",$=>{if($.target.composing)return;let V=t.value;n&&(V=V.trim()),L&&(V=looseToNumber(V)),t[assignKey](V)}),n&&addEventListener$1(t,"change",()=>{t.value=t.value.trim()}),r||(addEventListener$1(t,"compositionstart",onCompositionStart),addEventListener$1(t,"compositionend",onCompositionEnd),addEventListener$1(t,"change",onCompositionEnd))},mounted(t,{value:r}){t.value=r??""},beforeUpdate(t,{value:r,modifiers:{lazy:n,trim:g,number:y}},L){if(t[assignKey]=getModelAssigner(L),t.composing)return;const $=y||t.type==="number"?looseToNumber(t.value):t.value,V=r??"";$!==V&&(document.activeElement===t&&t.type!=="range"&&(n||g&&t.value.trim()===V)||(t.value=V))}},vModelCheckbox={deep:!0,created(t,r,n){t[assignKey]=getModelAssigner(n),addEventListener$1(t,"change",()=>{const g=t._modelValue,y=getValue$2(t),L=t.checked,$=t[assignKey];if(isArray$6(g)){const V=looseIndexOf(g,y),z=V!==-1;if(L&&!z)$(g.concat(y));else if(!L&&z){const j=[...g];j.splice(V,1),$(j)}}else if(isSet$2(g)){const V=new Set(g);L?V.add(y):V.delete(y),$(V)}else $(getCheckboxValue(t,L))})},mounted:setChecked,beforeUpdate(t,r,n){t[assignKey]=getModelAssigner(n),setChecked(t,r,n)}};function setChecked(t,{value:r,oldValue:n},g){t._modelValue=r,isArray$6(r)?t.checked=looseIndexOf(r,g.props.value)>-1:isSet$2(r)?t.checked=r.has(g.props.value):r!==n&&(t.checked=looseEqual(r,getCheckboxValue(t,!0)))}const vModelRadio={created(t,{value:r},n){t.checked=looseEqual(r,n.props.value),t[assignKey]=getModelAssigner(n),addEventListener$1(t,"change",()=>{t[assignKey](getValue$2(t))})},beforeUpdate(t,{value:r,oldValue:n},g){t[assignKey]=getModelAssigner(g),r!==n&&(t.checked=looseEqual(r,g.props.value))}};function getValue$2(t){return"_value"in t?t._value:t.value}function getCheckboxValue(t,r){const n=r?"_trueValue":"_falseValue";return n in t?t[n]:r}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>systemModifiers.some(n=>t[`${n}Key`]&&!r.includes(n))},withModifiers=(t,r)=>{const n=t._withMods||(t._withMods={}),g=r.join(".");return n[g]||(n[g]=(y,...L)=>{for(let $=0;${const n=t._withKeys||(t._withKeys={}),g=r.join(".");return n[g]||(n[g]=y=>{if(!("key"in y))return;const L=hyphenate(y.key);if(r.some($=>$===L||keyNames[$]===L))return t(y)})},rendererOptions=extend$2({patchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const render$2=(...t)=>{ensureRenderer().render(...t)},createApp=(...t)=>{const r=ensureRenderer().createApp(...t),{mount:n}=r;return r.mount=g=>{const y=normalizeContainer(g);if(!y)return;const L=r._component;!isFunction$4(L)&&!L.render&&!L.template&&(L.template=y.innerHTML),y.innerHTML="";const $=n(y,!1,resolveRootNamespace(y));return y instanceof Element&&(y.removeAttribute("v-cloak"),y.setAttribute("data-v-app","")),$},r};function resolveRootNamespace(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function normalizeContainer(t){return isString$3(t)?document.querySelector(t):t}var isVue2=!1,__defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(t,r,n)=>r in t?__defProp$9(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,__spreadValues$9=(t,r)=>{for(var n in r||(r={}))__hasOwnProp$b.call(r,n)&&__defNormalProp$9(t,n,r[n]);if(__getOwnPropSymbols$b)for(var n of __getOwnPropSymbols$b(r))__propIsEnum$b.call(r,n)&&__defNormalProp$9(t,n,r[n]);return t},__spreadProps$6=(t,r)=>__defProps$6(t,__getOwnPropDescs$6(r));function computedEager(t,r){var n;const g=shallowRef();return watchEffect(()=>{g.value=t()},__spreadProps$6(__spreadValues$9({},r),{flush:(n=r==null?void 0:r.flush)!=null?n:"sync"})),readonly(g)}var _a$1;const isClient$1=typeof window<"u",isDef$1=t=>typeof t<"u",isFunction$3=t=>typeof t=="function",isString$2=t=>typeof t=="string",noop$6=()=>{},isIOS=isClient$1&&((_a$1=window==null?void 0:window.navigator)==null?void 0:_a$1.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(t){return typeof t=="function"?t():unref(t)}function createFilterWrapper(t,r){function n(...g){return new Promise((y,L)=>{Promise.resolve(t(()=>r.apply(this,g),{fn:r,thisArg:this,args:g})).then(y).catch(L)})}return n}function debounceFilter(t,r={}){let n,g,y=noop$6;const L=V=>{clearTimeout(V),y(),y=noop$6};return V=>{const z=resolveUnref(t),j=resolveUnref(r.maxWait);return n&&L(n),z<=0||j!==void 0&&j<=0?(g&&(L(g),g=null),Promise.resolve(V())):new Promise((re,ae)=>{y=r.rejectOnCancel?ae:re,j&&!g&&(g=setTimeout(()=>{n&&L(n),g=null,re(V())},j)),n=setTimeout(()=>{g&&L(g),g=null,re(V())},z)})}}function throttleFilter(t,r=!0,n=!0,g=!1){let y=0,L,$=!0,V=noop$6,z;const j=()=>{L&&(clearTimeout(L),L=void 0,V(),V=noop$6)};return ae=>{const oe=resolveUnref(t),ie=Date.now()-y,le=()=>z=ae();return j(),oe<=0?(y=Date.now(),le()):(ie>oe&&(n||!$)?(y=Date.now(),le()):r&&(z=new Promise((ue,de)=>{V=g?de:ue,L=setTimeout(()=>{y=Date.now(),$=!0,ue(le()),j()},Math.max(0,oe-ie))})),!n&&!L&&(L=setTimeout(()=>$=!0,oe)),$=!1,z)}}function identity$2(t){return t}function tryOnScopeDispose$1(t){return getCurrentScope()?(onScopeDispose(t),!0):!1}function useDebounceFn(t,r=200,n={}){return createFilterWrapper(debounceFilter(r,n),t)}function refDebounced(t,r=200,n={}){const g=ref(t.value),y=useDebounceFn(()=>{g.value=t.value},r,n);return watch(t,()=>y()),g}function useThrottleFn(t,r=200,n=!1,g=!0,y=!1){return createFilterWrapper(throttleFilter(r,n,g,y),t)}function tryOnMounted(t,r=!0){getCurrentInstance()?onMounted(t):r?t():nextTick(t)}function useTimeoutFn$1(t,r,n={}){const{immediate:g=!0}=n,y=ref(!1);let L=null;function $(){L&&(clearTimeout(L),L=null)}function V(){y.value=!1,$()}function z(...j){$(),y.value=!0,L=setTimeout(()=>{y.value=!1,L=null,t(...j)},resolveUnref(r))}return g&&(y.value=!0,isClient$1&&z()),tryOnScopeDispose$1(V),{isPending:readonly(y),start:z,stop:V}}function unrefElement(t){var r;const n=resolveUnref(t);return(r=n==null?void 0:n.$el)!=null?r:n}const defaultWindow=isClient$1?window:void 0,defaultDocument=isClient$1?window.document:void 0;function useEventListener(...t){let r,n,g,y;if(isString$2(t[0])||Array.isArray(t[0])?([n,g,y]=t,r=defaultWindow):[r,n,g,y]=t,!r)return noop$6;Array.isArray(n)||(n=[n]),Array.isArray(g)||(g=[g]);const L=[],$=()=>{L.forEach(re=>re()),L.length=0},V=(re,ae,oe,ie)=>(re.addEventListener(ae,oe,ie),()=>re.removeEventListener(ae,oe,ie)),z=watch(()=>[unrefElement(r),resolveUnref(y)],([re,ae])=>{$(),re&&L.push(...n.flatMap(oe=>g.map(ie=>V(re,oe,ie,ae))))},{immediate:!0,flush:"post"}),j=()=>{z(),$()};return tryOnScopeDispose$1(j),j}let _iOSWorkaround=!1;function onClickOutside(t,r,n={}){const{window:g=defaultWindow,ignore:y=[],capture:L=!0,detectIframe:$=!1}=n;if(!g)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(g.document.body.children).forEach(oe=>oe.addEventListener("click",noop$6)));let V=!0;const z=oe=>y.some(ie=>{if(typeof ie=="string")return Array.from(g.document.querySelectorAll(ie)).some(le=>le===oe.target||oe.composedPath().includes(le));{const le=unrefElement(ie);return le&&(oe.target===le||oe.composedPath().includes(le))}}),re=[useEventListener(g,"click",oe=>{const ie=unrefElement(t);if(!(!ie||ie===oe.target||oe.composedPath().includes(ie))){if(oe.detail===0&&(V=!z(oe)),!V){V=!0;return}r(oe)}},{passive:!0,capture:L}),useEventListener(g,"pointerdown",oe=>{const ie=unrefElement(t);ie&&(V=!oe.composedPath().includes(ie)&&!z(oe))},{passive:!0}),$&&useEventListener(g,"blur",oe=>{var ie;const le=unrefElement(t);((ie=g.document.activeElement)==null?void 0:ie.tagName)==="IFRAME"&&!(le!=null&&le.contains(g.document.activeElement))&&r(oe)})].filter(Boolean);return()=>re.forEach(oe=>oe())}function useSupported(t,r=!1){const n=ref(),g=()=>n.value=!!t();return g(),tryOnMounted(g,r),n}function cloneFnJSON(t){return JSON.parse(JSON.stringify(t))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global$1[globalKey]=_global$1[globalKey]||{};function useCssVar(t,r,{window:n=defaultWindow,initialValue:g=""}={}){const y=ref(g),L=computed(()=>{var $;return unrefElement(r)||(($=n==null?void 0:n.document)==null?void 0:$.documentElement)});return watch([L,()=>resolveUnref(t)],([$,V])=>{var z;if($&&n){const j=(z=n.getComputedStyle($).getPropertyValue(V))==null?void 0:z.trim();y.value=j||g}},{immediate:!0}),watch(y,$=>{var V;(V=L.value)!=null&&V.style&&L.value.style.setProperty(resolveUnref(t),$)}),y}function useDocumentVisibility({document:t=defaultDocument}={}){if(!t)return ref("visible");const r=ref(t.visibilityState);return useEventListener(t,"visibilitychange",()=>{r.value=t.visibilityState}),r}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(t,r)=>{var n={};for(var g in t)__hasOwnProp$g.call(t,g)&&r.indexOf(g)<0&&(n[g]=t[g]);if(t!=null&&__getOwnPropSymbols$g)for(var g of __getOwnPropSymbols$g(t))r.indexOf(g)<0&&__propIsEnum$g.call(t,g)&&(n[g]=t[g]);return n};function useResizeObserver(t,r,n={}){const g=n,{window:y=defaultWindow}=g,L=__objRest$2(g,["window"]);let $;const V=useSupported(()=>y&&"ResizeObserver"in y),z=()=>{$&&($.disconnect(),$=void 0)},j=watch(()=>unrefElement(t),ae=>{z(),V.value&&y&&ae&&($=new ResizeObserver(r),$.observe(ae,L))},{immediate:!0,flush:"post"}),re=()=>{z(),j()};return tryOnScopeDispose$1(re),{isSupported:V,stop:re}}function useElementBounding(t,r={}){const{reset:n=!0,windowResize:g=!0,windowScroll:y=!0,immediate:L=!0}=r,$=ref(0),V=ref(0),z=ref(0),j=ref(0),re=ref(0),ae=ref(0),oe=ref(0),ie=ref(0);function le(){const ue=unrefElement(t);if(!ue){n&&($.value=0,V.value=0,z.value=0,j.value=0,re.value=0,ae.value=0,oe.value=0,ie.value=0);return}const de=ue.getBoundingClientRect();$.value=de.height,V.value=de.bottom,z.value=de.left,j.value=de.right,re.value=de.top,ae.value=de.width,oe.value=de.x,ie.value=de.y}return useResizeObserver(t,le),watch(()=>unrefElement(t),ue=>!ue&&le()),y&&useEventListener("scroll",le,{capture:!0,passive:!0}),g&&useEventListener("resize",le,{passive:!0}),tryOnMounted(()=>{L&&le()}),{height:$,bottom:V,left:z,right:j,top:re,width:ae,x:oe,y:ie,update:le}}var SwipeDirection;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(t,r,n)=>r in t?__defProp(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,__spreadValues=(t,r)=>{for(var n in r||(r={}))__hasOwnProp.call(r,n)&&__defNormalProp(t,n,r[n]);if(__getOwnPropSymbols)for(var n of __getOwnPropSymbols(r))__propIsEnum.call(r,n)&&__defNormalProp(t,n,r[n]);return t};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity$2},_TransitionPresets);function useVModel(t,r,n,g={}){var y,L,$;const{clone:V=!1,passive:z=!1,eventName:j,deep:re=!1,defaultValue:ae}=g,oe=getCurrentInstance(),ie=n||(oe==null?void 0:oe.emit)||((y=oe==null?void 0:oe.$emit)==null?void 0:y.bind(oe))||(($=(L=oe==null?void 0:oe.proxy)==null?void 0:L.$emit)==null?void 0:$.bind(oe==null?void 0:oe.proxy));let le=j;r||(r="modelValue"),le=j||le||`update:${r.toString()}`;const ue=pe=>V?isFunction$3(V)?V(pe):cloneFnJSON(pe):pe,de=()=>isDef$1(t[r])?ue(t[r]):ae;if(z){const pe=de(),he=ref(pe);return watch(()=>t[r],_e=>he.value=ue(_e)),watch(he,_e=>{(_e!==t[r]||re)&&ie(le,_e)},{deep:re}),he}else return computed({get(){return de()},set(pe){ie(le,pe)}})}function useWindowFocus({window:t=defaultWindow}={}){if(!t)return ref(!1);const r=ref(t.document.hasFocus());return useEventListener(t,"blur",()=>{r.value=!1}),useEventListener(t,"focus",()=>{r.value=!0}),r}function useWindowSize(t={}){const{window:r=defaultWindow,initialWidth:n=1/0,initialHeight:g=1/0,listenOrientation:y=!0,includeScrollbar:L=!0}=t,$=ref(n),V=ref(g),z=()=>{r&&(L?($.value=r.innerWidth,V.value=r.innerHeight):($.value=r.document.documentElement.clientWidth,V.value=r.document.documentElement.clientHeight))};return z(),tryOnMounted(z),useEventListener("resize",z,{passive:!0}),y&&useEventListener("orientationchange",z,{passive:!0}),{width:$,height:V}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=(t,r)=>{if(!isClient$1||!t||!r)return!1;const n=t.getBoundingClientRect();let g;return r instanceof Element?g=r.getBoundingClientRect():g={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.topg.top&&n.right>g.left&&n.left{let r=0,n=t;for(;n;)r+=n.offsetTop,n=n.offsetParent;return r},getOffsetTopDistance=(t,r)=>Math.abs(getOffsetTop(t)-getOffsetTop(r)),getClientXY=t=>{let r,n;return t.type==="touchend"?(n=t.changedTouches[0].clientY,r=t.changedTouches[0].clientX):t.type.startsWith("touch")?(n=t.touches[0].clientY,r=t.touches[0].clientX):(n=t.clientY,r=t.clientX),{clientX:r,clientY:n}};var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")();const root$1=root;var Symbol$2=root$1.Symbol;const Symbol$3=Symbol$2;var objectProto$f=Object.prototype,hasOwnProperty$d=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$3?Symbol$3.toStringTag:void 0;function getRawTag(t){var r=hasOwnProperty$d.call(t,symToStringTag$1),n=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var g=!0}catch{}var y=nativeObjectToString$1.call(t);return g&&(r?t[symToStringTag$1]=n:delete t[symToStringTag$1]),y}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(t){return nativeObjectToString.call(t)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$3?Symbol$3.toStringTag:void 0;function baseGetTag(t){return t==null?t===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(t)?getRawTag(t):objectToString(t)}function isObjectLike(t){return t!=null&&typeof t=="object"}var symbolTag$3="[object Symbol]";function isSymbol(t){return typeof t=="symbol"||isObjectLike(t)&&baseGetTag(t)==symbolTag$3}function arrayMap(t,r){for(var n=-1,g=t==null?0:t.length,y=Array(g);++n0){if(++r>=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}function constant(t){return function(){return t}}var defineProperty=function(){try{var t=getNative(Object,"defineProperty");return t({},"",{}),t}catch{}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function(t,r){return defineProperty$1(t,"toString",{configurable:!0,enumerable:!1,value:constant(r),writable:!0})}:identity$1;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach(t,r){for(var n=-1,g=t==null?0:t.length;++n-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(t,r){var n=typeof t;return r=r??MAX_SAFE_INTEGER$2,!!r&&(n=="number"||n!="symbol"&&reIsUint.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=MAX_SAFE_INTEGER$1}function isArrayLike$1(t){return t!=null&&isLength(t.length)&&!isFunction$2(t)}function isIterateeCall(t,r,n){if(!isObject$6(n))return!1;var g=typeof r;return(g=="number"?isArrayLike$1(n)&&isIndex(r,n.length):g=="string"&&r in n)?eq(n[r],t):!1}function createAssigner(t){return baseRest(function(r,n){var g=-1,y=n.length,L=y>1?n[y-1]:void 0,$=y>2?n[2]:void 0;for(L=t.length>3&&typeof L=="function"?(y--,L):void 0,$&&isIterateeCall(n[0],n[1],$)&&(L=y<3?void 0:L,y=1),r=Object(r);++g-1}function listCacheSet$1(t,r){var n=this.__data__,g=assocIndexOf(n,t);return g<0?(++this.size,n.push([t,r])):n[g][1]=r,this}function ListCache(t){var r=-1,n=t==null?0:t.length;for(this.clear();++r0&&n(V)?r>1?baseFlatten(V,r-1,n,g,y):arrayPush(y,V):g||(y[y.length]=V)}return y}function flatten(t){var r=t==null?0:t.length;return r?baseFlatten(t,1):[]}function flatRest(t){return setToString$1(overRest(t,void 0,flatten),t+"")}var getPrototype=overArg(Object.getPrototypeOf,Object);const getPrototype$1=getPrototype;var objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(t){if(!isObjectLike(t)||baseGetTag(t)!=objectTag$3)return!1;var r=getPrototype$1(t);if(r===null)return!0;var n=hasOwnProperty$4.call(r,"constructor")&&r.constructor;return typeof n=="function"&&n instanceof n&&funcToString.call(n)==objectCtorString}function castArray$1(){if(!arguments.length)return[];var t=arguments[0];return isArray$5(t)?t:[t]}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}function stackGet(t){return this.__data__.get(t)}function stackHas(t){return this.__data__.has(t)}var LARGE_ARRAY_SIZE$1=200;function stackSet(t,r){var n=this.__data__;if(n instanceof ListCache){var g=n.__data__;if(!Map$2||g.lengthV))return!1;var j=L.get(t),re=L.get(r);if(j&&re)return j==r&&re==t;var ae=-1,oe=!0,ie=n&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(L.set(t,r),L.set(r,t);++ae=r||Ie<0||ae&&Ne>=L}function pe(){var xe=now$1();if(de(xe))return he(xe);V=setTimeout(pe,ue(xe))}function he(xe){return V=void 0,oe&&g?ie(xe):(g=y=void 0,$)}function _e(){V!==void 0&&clearTimeout(V),j=0,g=z=y=V=void 0}function Ce(){return V===void 0?$:he(now$1())}function $e(){var xe=now$1(),Ie=de(xe);if(g=arguments,y=this,z=xe,Ie){if(V===void 0)return le(z);if(ae)return clearTimeout(V),V=setTimeout(pe,r),ie(z)}return V===void 0&&(V=setTimeout(pe,r)),$}return $e.cancel=_e,$e.flush=Ce,$e}function assignMergeValue(t,r,n){(n!==void 0&&!eq(t[r],n)||n===void 0&&!(r in t))&&baseAssignValue(t,r,n)}function isArrayLikeObject(t){return isObjectLike(t)&&isArrayLike$1(t)}function safeGet(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}function toPlainObject(t){return copyObject(t,keysIn(t))}function baseMergeDeep(t,r,n,g,y,L,$){var V=safeGet(t,n),z=safeGet(r,n),j=$.get(z);if(j){assignMergeValue(t,n,j);return}var re=L?L(V,z,n+"",t,r,$):void 0,ae=re===void 0;if(ae){var oe=isArray$5(z),ie=!oe&&isBuffer$2(z),le=!oe&&!ie&&isTypedArray$3(z);re=z,oe||ie||le?isArray$5(V)?re=V:isArrayLikeObject(V)?re=copyArray(V):ie?(ae=!1,re=cloneBuffer(z,!0)):le?(ae=!1,re=cloneTypedArray(z,!0)):re=[]:isPlainObject$2(z)||isArguments$1(z)?(re=V,isArguments$1(V)?re=toPlainObject(V):(!isObject$6(V)||isFunction$2(V))&&(re=initCloneObject(z))):ae=!1}ae&&($.set(z,re),y(re,z,g,L,$),$.delete(z)),assignMergeValue(t,n,re)}function baseMerge(t,r,n,g,y){t!==r&&baseFor$1(r,function(L,$){if(y||(y=new Stack),isObject$6(L))baseMergeDeep(t,r,$,n,baseMerge,g,y);else{var V=g?g(safeGet(t,$),L,$+"",t,r,y):void 0;V===void 0&&(V=L),assignMergeValue(t,$,V)}},keysIn)}function customDefaultsMerge(t,r,n,g,y,L){return isObject$6(t)&&isObject$6(r)&&(L.set(r,t),baseMerge(t,r,void 0,customDefaultsMerge,L),L.delete(r)),t}var mergeWith=createAssigner(function(t,r,n,g){baseMerge(t,r,n,g)});const mergeWith$1=mergeWith;var defaultsDeep=baseRest(function(t){return t.push(void 0,customDefaultsMerge),apply(mergeWith$1,void 0,t)});const defaultsDeep$1=defaultsDeep;function arrayIncludesWith(t,r,n){for(var g=-1,y=t==null?0:t.length;++g=LARGE_ARRAY_SIZE){var j=r?null:createSet$1(t);if(j)return setToArray(j);$=!1,y=cacheHas,z=new SetCache}else z=r?[]:V;e:for(;++gt===void 0,isBoolean$1=t=>typeof t=="boolean",isNumber$2=t=>typeof t=="number",isEmpty=t=>!t&&t!==0||isArray$6(t)&&t.length===0||isObject$7(t)&&!Object.keys(t).length,isElement$1=t=>typeof Element>"u"?!1:t instanceof Element,isPropAbsent=t=>isNil(t),isStringNumber=t=>isString$3(t)?!Number.isNaN(Number(t)):!1,escapeStringRegexp=(t="")=>t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=t=>capitalize$1(t),keysOf=t=>Object.keys(t),entriesOf=t=>Object.entries(t),getProp=(t,r,n)=>({get value(){return get$1(t,r,n)},set value(g){set$2(t,r,g)}});class ElementPlusError extends Error{constructor(r){super(r),this.name="ElementPlusError"}}function throwError$1(t,r){throw new ElementPlusError(`[${t}] ${r}`)}function debugWarn(t,r){}const classNameToArray=(t="")=>t.split(" ").filter(r=>!!r.trim()),hasClass=(t,r)=>{if(!t||!r)return!1;if(r.includes(" "))throw new Error("className should not contain space.");return t.classList.contains(r)},addClass=(t,r)=>{!t||!r.trim()||t.classList.add(...classNameToArray(r))},removeClass=(t,r)=>{!t||!r.trim()||t.classList.remove(...classNameToArray(r))},getStyle$1=(t,r)=>{var n;if(!isClient$1||!t||!r)return"";let g=camelize(r);g==="float"&&(g="cssFloat");try{const y=t.style[g];if(y)return y;const L=(n=document.defaultView)==null?void 0:n.getComputedStyle(t,"");return L?L[g]:""}catch{return t.style[g]}};function addUnit(t,r="px"){if(!t)return"";if(isNumber$2(t)||isStringNumber(t))return`${t}${r}`;if(isString$3(t))return t}const isScroll=(t,r)=>{if(!isClient$1)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(r)],g=getStyle$1(t,n);return["scroll","auto","overlay"].some(y=>g.includes(y))},getScrollContainer=(t,r)=>{if(!isClient$1)return;let n=t;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(isScroll(n,r))return n;n=n.parentNode}return n};let scrollBarWidth;const getScrollBarWidth=t=>{var r;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const n=document.createElement("div");n.className=`${t}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const g=n.offsetWidth;n.style.overflow="scroll";const y=document.createElement("div");y.style.width="100%",n.appendChild(y);const L=y.offsetWidth;return(r=n.parentNode)==null||r.removeChild(n),scrollBarWidth=g-L,scrollBarWidth};function scrollIntoView(t,r){if(!isClient$1)return;if(!r){t.scrollTop=0;return}const n=[];let g=r.offsetParent;for(;g!==null&&t!==g&&t.contains(g);)n.push(g),g=g.offsetParent;const y=r.offsetTop+n.reduce((z,j)=>z+j.offsetTop,0),L=y+r.offsetHeight,$=t.scrollTop,V=$+t.clientHeight;y<$?t.scrollTop=y:L>V&&(t.scrollTop=L-t.clientHeight)}/*! Element Plus Icons Vue v2.3.1 */var add_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"AddLocation",__name:"add-location",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),add_location_default=add_location_vue_vue_type_script_setup_true_lang_default,aim_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Aim",__name:"aim",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),aim_default=aim_vue_vue_type_script_setup_true_lang_default,alarm_clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"AlarmClock",__name:"alarm-clock",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),alarm_clock_default=alarm_clock_vue_vue_type_script_setup_true_lang_default,apple_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Apple",__name:"apple",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}}),apple_default=apple_vue_vue_type_script_setup_true_lang_default,arrow_down_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDownBold",__name:"arrow-down-bold",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}}),arrow_down_bold_default=arrow_down_bold_vue_vue_type_script_setup_true_lang_default,arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}}),arrow_left_bold_default=arrow_left_bold_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRightBold",__name:"arrow-right-bold",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}}),arrow_right_bold_default=arrow_right_bold_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),arrow_up_bold_default=arrow_up_bold_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,avatar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Avatar",__name:"avatar",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),avatar_default=avatar_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),back_default=back_vue_vue_type_script_setup_true_lang_default,baseball_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Baseball",__name:"baseball",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),createBaseVNode("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}}),baseball_default=baseball_vue_vue_type_script_setup_true_lang_default,basketball_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Basketball",__name:"basketball",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),basketball_default=basketball_vue_vue_type_script_setup_true_lang_default,bell_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BellFilled",__name:"bell-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),bell_filled_default=bell_filled_vue_vue_type_script_setup_true_lang_default,bell_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bell",__name:"bell",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),createBaseVNode("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),createBaseVNode("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),bell_default=bell_vue_vue_type_script_setup_true_lang_default,bicycle_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bicycle",__name:"bicycle",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),createBaseVNode("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),createBaseVNode("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),createBaseVNode("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),bicycle_default=bicycle_vue_vue_type_script_setup_true_lang_default,bottom_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BottomLeft",__name:"bottom-left",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}}),bottom_left_default=bottom_left_vue_vue_type_script_setup_true_lang_default,bottom_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BottomRight",__name:"bottom-right",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),createBaseVNode("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),bottom_right_default=bottom_right_vue_vue_type_script_setup_true_lang_default,bottom_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bottom",__name:"bottom",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),bottom_default=bottom_vue_vue_type_script_setup_true_lang_default,bowl_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bowl",__name:"bowl",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),bowl_default=bowl_vue_vue_type_script_setup_true_lang_default,box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Box",__name:"box",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),createBaseVNode("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),createBaseVNode("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),box_default=box_vue_vue_type_script_setup_true_lang_default,briefcase_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Briefcase",__name:"briefcase",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),briefcase_default=briefcase_vue_vue_type_script_setup_true_lang_default,brush_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BrushFilled",__name:"brush-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),brush_filled_default=brush_filled_vue_vue_type_script_setup_true_lang_default,brush_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Brush",__name:"brush",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}}),brush_default=brush_vue_vue_type_script_setup_true_lang_default,burger_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Burger",__name:"burger",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),burger_default=burger_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,camera_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CameraFilled",__name:"camera-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),camera_filled_default=camera_filled_vue_vue_type_script_setup_true_lang_default,camera_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Camera",__name:"camera",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),camera_default=camera_vue_vue_type_script_setup_true_lang_default,caret_bottom_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretBottom",__name:"caret-bottom",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),caret_bottom_default=caret_bottom_vue_vue_type_script_setup_true_lang_default,caret_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretLeft",__name:"caret-left",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),caret_left_default=caret_left_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,cellphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cellphone",__name:"cellphone",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),cellphone_default=cellphone_vue_vue_type_script_setup_true_lang_default,chat_dot_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),chat_dot_round_default=chat_dot_round_vue_vue_type_script_setup_true_lang_default,chat_dot_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatDotSquare",__name:"chat-dot-square",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}}),chat_dot_square_default=chat_dot_square_vue_vue_type_script_setup_true_lang_default,chat_line_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatLineRound",__name:"chat-line-round",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),chat_line_round_default=chat_line_round_vue_vue_type_script_setup_true_lang_default,chat_line_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatLineSquare",__name:"chat-line-square",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),createBaseVNode("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),chat_line_square_default=chat_line_square_vue_vue_type_script_setup_true_lang_default,chat_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatRound",__name:"chat-round",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),chat_round_default=chat_round_vue_vue_type_script_setup_true_lang_default,chat_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatSquare",__name:"chat-square",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),chat_square_default=chat_square_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),check_default=check_vue_vue_type_script_setup_true_lang_default,checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Checked",__name:"checked",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),checked_default=checked_vue_vue_type_script_setup_true_lang_default,cherry_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cherry",__name:"cherry",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),cherry_default=cherry_vue_vue_type_script_setup_true_lang_default,chicken_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Chicken",__name:"chicken",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}}),chicken_default=chicken_vue_vue_type_script_setup_true_lang_default,chrome_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChromeFilled",__name:"chrome-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),createBaseVNode("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),createBaseVNode("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}}),chrome_filled_default=chrome_filled_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,circle_plus_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}}),circle_plus_filled_default=circle_plus_filled_vue_vue_type_script_setup_true_lang_default,circle_plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CirclePlus",__name:"circle-plus",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_plus_default=circle_plus_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CloseBold",__name:"close-bold",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}}),close_bold_default=close_bold_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),close_default=close_vue_vue_type_script_setup_true_lang_default,cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cloudy",__name:"cloudy",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),cloudy_default=cloudy_vue_vue_type_script_setup_true_lang_default,coffee_cup_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CoffeeCup",__name:"coffee-cup",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),coffee_cup_default=coffee_cup_vue_vue_type_script_setup_true_lang_default,coffee_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coffee",__name:"coffee",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}}),coffee_default=coffee_vue_vue_type_script_setup_true_lang_default,coin_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coin",__name:"coin",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),createBaseVNode("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),coin_default=coin_vue_vue_type_script_setup_true_lang_default,cold_drink_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ColdDrink",__name:"cold-drink",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),cold_drink_default=cold_drink_vue_vue_type_script_setup_true_lang_default,collection_tag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CollectionTag",__name:"collection-tag",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),collection_tag_default=collection_tag_vue_vue_type_script_setup_true_lang_default,collection_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Collection",__name:"collection",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),createBaseVNode("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),collection_default=collection_vue_vue_type_script_setup_true_lang_default,comment_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Comment",__name:"comment",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),comment_default=comment_vue_vue_type_script_setup_true_lang_default,compass_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Compass",__name:"compass",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),compass_default=compass_vue_vue_type_script_setup_true_lang_default,connection_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Connection",__name:"connection",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),connection_default=connection_vue_vue_type_script_setup_true_lang_default,coordinate_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coordinate",__name:"coordinate",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),createBaseVNode("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),coordinate_default=coordinate_vue_vue_type_script_setup_true_lang_default,copy_document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CopyDocument",__name:"copy-document",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),copy_document_default=copy_document_vue_vue_type_script_setup_true_lang_default,cpu_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cpu",__name:"cpu",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),cpu_default=cpu_vue_vue_type_script_setup_true_lang_default,credit_card_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CreditCard",__name:"credit-card",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),credit_card_default=credit_card_vue_vue_type_script_setup_true_lang_default,crop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Crop",__name:"crop",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),crop_default=crop_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,d_caret_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DCaret",__name:"d-caret",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),d_caret_default=d_caret_vue_vue_type_script_setup_true_lang_default,data_analysis_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataAnalysis",__name:"data-analysis",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),data_analysis_default=data_analysis_vue_vue_type_script_setup_true_lang_default,data_board_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataBoard",__name:"data-board",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),createBaseVNode("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),createBaseVNode("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),data_board_default=data_board_vue_vue_type_script_setup_true_lang_default,data_line_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataLine",__name:"data-line",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),data_line_default=data_line_vue_vue_type_script_setup_true_lang_default,delete_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DeleteFilled",__name:"delete-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),delete_filled_default=delete_filled_vue_vue_type_script_setup_true_lang_default,delete_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DeleteLocation",__name:"delete-location",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),delete_location_default=delete_location_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,dessert_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Dessert",__name:"dessert",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),dessert_default=dessert_vue_vue_type_script_setup_true_lang_default,discount_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Discount",__name:"discount",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),discount_default=discount_vue_vue_type_script_setup_true_lang_default,dish_dot_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DishDot",__name:"dish-dot",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),dish_dot_default=dish_dot_vue_vue_type_script_setup_true_lang_default,dish_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Dish",__name:"dish",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),dish_default=dish_vue_vue_type_script_setup_true_lang_default,document_add_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentAdd",__name:"document-add",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),document_add_default=document_add_vue_vue_type_script_setup_true_lang_default,document_checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentChecked",__name:"document-checked",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),document_checked_default=document_checked_vue_vue_type_script_setup_true_lang_default,document_copy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentCopy",__name:"document-copy",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),document_copy_default=document_copy_vue_vue_type_script_setup_true_lang_default,document_delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentDelete",__name:"document-delete",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}}),document_delete_default=document_delete_vue_vue_type_script_setup_true_lang_default,document_remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentRemove",__name:"document-remove",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),document_remove_default=document_remove_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=document_vue_vue_type_script_setup_true_lang_default,download_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Download",__name:"download",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),download_default=download_vue_vue_type_script_setup_true_lang_default,drizzling_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Drizzling",__name:"drizzling",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),drizzling_default=drizzling_vue_vue_type_script_setup_true_lang_default,edit_pen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"EditPen",__name:"edit-pen",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}}),edit_pen_default=edit_pen_vue_vue_type_script_setup_true_lang_default,edit_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Edit",__name:"edit",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),createBaseVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),edit_default=edit_vue_vue_type_script_setup_true_lang_default,eleme_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ElemeFilled",__name:"eleme-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),eleme_filled_default=eleme_filled_vue_vue_type_script_setup_true_lang_default,eleme_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Eleme",__name:"eleme",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}}),eleme_default=eleme_vue_vue_type_script_setup_true_lang_default,element_plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ElementPlus",__name:"element-plus",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}}),element_plus_default=element_plus_vue_vue_type_script_setup_true_lang_default,expand_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Expand",__name:"expand",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),expand_default=expand_vue_vue_type_script_setup_true_lang_default,failed_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Failed",__name:"failed",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),failed_default=failed_vue_vue_type_script_setup_true_lang_default,female_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Female",__name:"female",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),female_default=female_vue_vue_type_script_setup_true_lang_default,files_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Files",__name:"files",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),files_default=files_vue_vue_type_script_setup_true_lang_default,film_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Film",__name:"film",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),film_default=film_vue_vue_type_script_setup_true_lang_default,filter_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Filter",__name:"filter",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),filter_default=filter_vue_vue_type_script_setup_true_lang_default,finished_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Finished",__name:"finished",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),finished_default=finished_vue_vue_type_script_setup_true_lang_default,first_aid_kit_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FirstAidKit",__name:"first-aid-kit",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),first_aid_kit_default=first_aid_kit_vue_vue_type_script_setup_true_lang_default,flag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Flag",__name:"flag",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),flag_default=flag_vue_vue_type_script_setup_true_lang_default,fold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Fold",__name:"fold",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),fold_default=fold_vue_vue_type_script_setup_true_lang_default,folder_add_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderAdd",__name:"folder-add",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),folder_add_default=folder_add_vue_vue_type_script_setup_true_lang_default,folder_checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderChecked",__name:"folder-checked",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),folder_checked_default=folder_checked_vue_vue_type_script_setup_true_lang_default,folder_delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderDelete",__name:"folder-delete",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),folder_delete_default=folder_delete_vue_vue_type_script_setup_true_lang_default,folder_opened_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderOpened",__name:"folder-opened",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),folder_opened_default=folder_opened_vue_vue_type_script_setup_true_lang_default,folder_remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderRemove",__name:"folder-remove",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),folder_remove_default=folder_remove_vue_vue_type_script_setup_true_lang_default,folder_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Folder",__name:"folder",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),folder_default=folder_vue_vue_type_script_setup_true_lang_default,food_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Food",__name:"food",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),food_default=food_vue_vue_type_script_setup_true_lang_default,football_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Football",__name:"football",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),football_default=football_vue_vue_type_script_setup_true_lang_default,fork_spoon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ForkSpoon",__name:"fork-spoon",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),fork_spoon_default=fork_spoon_vue_vue_type_script_setup_true_lang_default,fries_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Fries",__name:"fries",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),fries_default=fries_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,goblet_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletFull",__name:"goblet-full",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),goblet_full_default=goblet_full_vue_vue_type_script_setup_true_lang_default,goblet_square_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletSquareFull",__name:"goblet-square-full",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),goblet_square_full_default=goblet_square_full_vue_vue_type_script_setup_true_lang_default,goblet_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletSquare",__name:"goblet-square",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),goblet_square_default=goblet_square_vue_vue_type_script_setup_true_lang_default,goblet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Goblet",__name:"goblet",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),goblet_default=goblet_vue_vue_type_script_setup_true_lang_default,gold_medal_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GoldMedal",__name:"gold-medal",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),createBaseVNode("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),gold_medal_default=gold_medal_vue_vue_type_script_setup_true_lang_default,goods_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GoodsFilled",__name:"goods-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),goods_filled_default=goods_filled_vue_vue_type_script_setup_true_lang_default,goods_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Goods",__name:"goods",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),goods_default=goods_vue_vue_type_script_setup_true_lang_default,grape_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Grape",__name:"grape",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),grape_default=grape_vue_vue_type_script_setup_true_lang_default,grid_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Grid",__name:"grid",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),grid_default=grid_vue_vue_type_script_setup_true_lang_default,guide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Guide",__name:"guide",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),createBaseVNode("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),guide_default=guide_vue_vue_type_script_setup_true_lang_default,handbag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Handbag",__name:"handbag",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),handbag_default=handbag_vue_vue_type_script_setup_true_lang_default,headset_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Headset",__name:"headset",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),headset_default=headset_vue_vue_type_script_setup_true_lang_default,help_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HelpFilled",__name:"help-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}}),help_filled_default=help_filled_vue_vue_type_script_setup_true_lang_default,help_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Help",__name:"help",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),help_default=help_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,histogram_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Histogram",__name:"histogram",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),histogram_default=histogram_vue_vue_type_script_setup_true_lang_default,home_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HomeFilled",__name:"home-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),home_filled_default=home_filled_vue_vue_type_script_setup_true_lang_default,hot_water_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HotWater",__name:"hot-water",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}}),hot_water_default=hot_water_vue_vue_type_script_setup_true_lang_default,house_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"House",__name:"house",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),house_default=house_vue_vue_type_script_setup_true_lang_default,ice_cream_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCreamRound",__name:"ice-cream-round",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}}),ice_cream_round_default=ice_cream_round_vue_vue_type_script_setup_true_lang_default,ice_cream_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCreamSquare",__name:"ice-cream-square",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),ice_cream_square_default=ice_cream_square_vue_vue_type_script_setup_true_lang_default,ice_cream_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCream",__name:"ice-cream",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),ice_cream_default=ice_cream_vue_vue_type_script_setup_true_lang_default,ice_drink_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceDrink",__name:"ice-drink",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),ice_drink_default=ice_drink_vue_vue_type_script_setup_true_lang_default,ice_tea_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceTea",__name:"ice-tea",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),ice_tea_default=ice_tea_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,iphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Iphone",__name:"iphone",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),iphone_default=iphone_vue_vue_type_script_setup_true_lang_default,key_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Key",__name:"key",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),key_default=key_vue_vue_type_script_setup_true_lang_default,knife_fork_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"KnifeFork",__name:"knife-fork",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}}),knife_fork_default=knife_fork_vue_vue_type_script_setup_true_lang_default,lightning_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lightning",__name:"lightning",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),createBaseVNode("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),lightning_default=lightning_vue_vue_type_script_setup_true_lang_default,link_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Link",__name:"link",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),link_default=link_vue_vue_type_script_setup_true_lang_default,list_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"List",__name:"list",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),list_default=list_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,location_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"LocationFilled",__name:"location-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),location_filled_default=location_filled_vue_vue_type_script_setup_true_lang_default,location_information_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"LocationInformation",__name:"location-information",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),location_information_default=location_information_vue_vue_type_script_setup_true_lang_default,location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Location",__name:"location",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),location_default=location_vue_vue_type_script_setup_true_lang_default,lock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lock",__name:"lock",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),lock_default=lock_vue_vue_type_script_setup_true_lang_default,lollipop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lollipop",__name:"lollipop",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),lollipop_default=lollipop_vue_vue_type_script_setup_true_lang_default,magic_stick_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MagicStick",__name:"magic-stick",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),magic_stick_default=magic_stick_vue_vue_type_script_setup_true_lang_default,magnet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Magnet",__name:"magnet",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),magnet_default=magnet_vue_vue_type_script_setup_true_lang_default,male_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Male",__name:"male",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),createBaseVNode("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),createBaseVNode("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),male_default=male_vue_vue_type_script_setup_true_lang_default,management_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Management",__name:"management",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),management_default=management_vue_vue_type_script_setup_true_lang_default,map_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MapLocation",__name:"map-location",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),map_location_default=map_location_vue_vue_type_script_setup_true_lang_default,medal_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Medal",__name:"medal",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),medal_default=medal_vue_vue_type_script_setup_true_lang_default,memo_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Memo",__name:"memo",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),createBaseVNode("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),memo_default=memo_vue_vue_type_script_setup_true_lang_default,menu_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Menu",__name:"menu",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),menu_default=menu_vue_vue_type_script_setup_true_lang_default,message_box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MessageBox",__name:"message-box",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}}),message_box_default=message_box_vue_vue_type_script_setup_true_lang_default,message_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Message",__name:"message",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),createBaseVNode("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}}),message_default=message_vue_vue_type_script_setup_true_lang_default,mic_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mic",__name:"mic",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),mic_default=mic_vue_vue_type_script_setup_true_lang_default,microphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Microphone",__name:"microphone",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),microphone_default=microphone_vue_vue_type_script_setup_true_lang_default,milk_tea_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MilkTea",__name:"milk-tea",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),milk_tea_default=milk_tea_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,money_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Money",__name:"money",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),createBaseVNode("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),createBaseVNode("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),money_default=money_vue_vue_type_script_setup_true_lang_default,monitor_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Monitor",__name:"monitor",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),monitor_default=monitor_vue_vue_type_script_setup_true_lang_default,moon_night_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoonNight",__name:"moon-night",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),createBaseVNode("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),moon_night_default=moon_night_vue_vue_type_script_setup_true_lang_default,moon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Moon",__name:"moon",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),moon_default=moon_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=more_vue_vue_type_script_setup_true_lang_default,mostly_cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MostlyCloudy",__name:"mostly-cloudy",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),mostly_cloudy_default=mostly_cloudy_vue_vue_type_script_setup_true_lang_default,mouse_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mouse",__name:"mouse",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),mouse_default=mouse_vue_vue_type_script_setup_true_lang_default,mug_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mug",__name:"mug",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),mug_default=mug_vue_vue_type_script_setup_true_lang_default,mute_notification_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MuteNotification",__name:"mute-notification",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),createBaseVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),mute_notification_default=mute_notification_vue_vue_type_script_setup_true_lang_default,mute_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mute",__name:"mute",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),createBaseVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),mute_default=mute_vue_vue_type_script_setup_true_lang_default,no_smoking_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"NoSmoking",__name:"no-smoking",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),no_smoking_default=no_smoking_vue_vue_type_script_setup_true_lang_default,notebook_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Notebook",__name:"notebook",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),notebook_default=notebook_vue_vue_type_script_setup_true_lang_default,notification_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Notification",__name:"notification",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),createBaseVNode("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),notification_default=notification_vue_vue_type_script_setup_true_lang_default,odometer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Odometer",__name:"odometer",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),createBaseVNode("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),odometer_default=odometer_vue_vue_type_script_setup_true_lang_default,office_building_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"OfficeBuilding",__name:"office-building",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),createBaseVNode("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),office_building_default=office_building_vue_vue_type_script_setup_true_lang_default,open_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Open",__name:"open",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),open_default=open_vue_vue_type_script_setup_true_lang_default,operation_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Operation",__name:"operation",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),operation_default=operation_vue_vue_type_script_setup_true_lang_default,opportunity_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Opportunity",__name:"opportunity",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),opportunity_default=opportunity_vue_vue_type_script_setup_true_lang_default,orange_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Orange",__name:"orange",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),orange_default=orange_vue_vue_type_script_setup_true_lang_default,paperclip_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Paperclip",__name:"paperclip",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}}),paperclip_default=paperclip_vue_vue_type_script_setup_true_lang_default,partly_cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PartlyCloudy",__name:"partly-cloudy",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),createBaseVNode("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}}),partly_cloudy_default=partly_cloudy_vue_vue_type_script_setup_true_lang_default,pear_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pear",__name:"pear",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),pear_default=pear_vue_vue_type_script_setup_true_lang_default,phone_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PhoneFilled",__name:"phone-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}}),phone_filled_default=phone_filled_vue_vue_type_script_setup_true_lang_default,phone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Phone",__name:"phone",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),phone_default=phone_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,picture_rounded_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureRounded",__name:"picture-rounded",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),createBaseVNode("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),picture_rounded_default=picture_rounded_vue_vue_type_script_setup_true_lang_default,picture_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Picture",__name:"picture",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),picture_default=picture_vue_vue_type_script_setup_true_lang_default,pie_chart_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PieChart",__name:"pie-chart",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),createBaseVNode("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),pie_chart_default=pie_chart_vue_vue_type_script_setup_true_lang_default,place_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Place",__name:"place",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),place_default=place_vue_vue_type_script_setup_true_lang_default,platform_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Platform",__name:"platform",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),platform_default=platform_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,pointer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pointer",__name:"pointer",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}}),pointer_default=pointer_vue_vue_type_script_setup_true_lang_default,position_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Position",__name:"position",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}}),position_default=position_vue_vue_type_script_setup_true_lang_default,postcard_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Postcard",__name:"postcard",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),postcard_default=postcard_vue_vue_type_script_setup_true_lang_default,pouring_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pouring",__name:"pouring",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),pouring_default=pouring_vue_vue_type_script_setup_true_lang_default,present_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Present",__name:"present",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),createBaseVNode("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),present_default=present_vue_vue_type_script_setup_true_lang_default,price_tag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PriceTag",__name:"price-tag",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),price_tag_default=price_tag_vue_vue_type_script_setup_true_lang_default,printer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Printer",__name:"printer",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),printer_default=printer_vue_vue_type_script_setup_true_lang_default,promotion_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Promotion",__name:"promotion",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),promotion_default=promotion_vue_vue_type_script_setup_true_lang_default,quartz_watch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuartzWatch",__name:"quartz-watch",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),createBaseVNode("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),quartz_watch_default=quartz_watch_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,rank_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Rank",__name:"rank",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}}),rank_default=rank_vue_vue_type_script_setup_true_lang_default,reading_lamp_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ReadingLamp",__name:"reading-lamp",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),createBaseVNode("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),reading_lamp_default=reading_lamp_vue_vue_type_script_setup_true_lang_default,reading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Reading",__name:"reading",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),reading_default=reading_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,refresh_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refresh",__name:"refresh",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),refresh_default=refresh_vue_vue_type_script_setup_true_lang_default,refrigerator_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refrigerator",__name:"refrigerator",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),refrigerator_default=refrigerator_vue_vue_type_script_setup_true_lang_default,remove_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RemoveFilled",__name:"remove-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),remove_filled_default=remove_filled_vue_vue_type_script_setup_true_lang_default,remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Remove",__name:"remove",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),remove_default=remove_vue_vue_type_script_setup_true_lang_default,right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Right",__name:"right",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),right_default=right_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,school_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"School",__name:"school",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),school_default=school_vue_vue_type_script_setup_true_lang_default,scissor_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Scissor",__name:"scissor",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),scissor_default=scissor_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),search_default=search_vue_vue_type_script_setup_true_lang_default,select_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Select",__name:"select",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}}),select_default=select_vue_vue_type_script_setup_true_lang_default,sell_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sell",__name:"sell",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}}),sell_default=sell_vue_vue_type_script_setup_true_lang_default,semi_select_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SemiSelect",__name:"semi-select",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),semi_select_default=semi_select_vue_vue_type_script_setup_true_lang_default,service_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Service",__name:"service",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),service_default=service_vue_vue_type_script_setup_true_lang_default,set_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SetUp",__name:"set-up",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),createBaseVNode("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),set_up_default=set_up_vue_vue_type_script_setup_true_lang_default,setting_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Setting",__name:"setting",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),setting_default=setting_vue_vue_type_script_setup_true_lang_default,share_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Share",__name:"share",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),share_default=share_vue_vue_type_script_setup_true_lang_default,ship_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Ship",__name:"ship",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}}),ship_default=ship_vue_vue_type_script_setup_true_lang_default,shop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Shop",__name:"shop",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),shop_default=shop_vue_vue_type_script_setup_true_lang_default,shopping_bag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingBag",__name:"shopping-bag",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),createBaseVNode("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),shopping_bag_default=shopping_bag_vue_vue_type_script_setup_true_lang_default,shopping_cart_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),createBaseVNode("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}}),shopping_cart_full_default=shopping_cart_full_vue_vue_type_script_setup_true_lang_default,shopping_cart_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingCart",__name:"shopping-cart",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}}),shopping_cart_default=shopping_cart_vue_vue_type_script_setup_true_lang_default,shopping_trolley_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingTrolley",__name:"shopping-trolley",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),shopping_trolley_default=shopping_trolley_vue_vue_type_script_setup_true_lang_default,smoking_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Smoking",__name:"smoking",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),smoking_default=smoking_vue_vue_type_script_setup_true_lang_default,soccer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Soccer",__name:"soccer",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}}),soccer_default=soccer_vue_vue_type_script_setup_true_lang_default,sold_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SoldOut",__name:"sold-out",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),sold_out_default=sold_out_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,sort_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sort",__name:"sort",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}}),sort_default=sort_vue_vue_type_script_setup_true_lang_default,stamp_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Stamp",__name:"stamp",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),stamp_default=stamp_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=star_vue_vue_type_script_setup_true_lang_default,stopwatch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Stopwatch",__name:"stopwatch",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),stopwatch_default=stopwatch_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,sugar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sugar",__name:"sugar",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),sugar_default=sugar_vue_vue_type_script_setup_true_lang_default,suitcase_line_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuitcaseLine",__name:"suitcase-line",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),suitcase_line_default=suitcase_line_vue_vue_type_script_setup_true_lang_default,suitcase_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Suitcase",__name:"suitcase",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),suitcase_default=suitcase_vue_vue_type_script_setup_true_lang_default,sunny_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunny",__name:"sunny",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),sunny_default=sunny_vue_vue_type_script_setup_true_lang_default,sunrise_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunrise",__name:"sunrise",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),sunrise_default=sunrise_vue_vue_type_script_setup_true_lang_default,sunset_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunset",__name:"sunset",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),sunset_default=sunset_vue_vue_type_script_setup_true_lang_default,switch_button_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SwitchButton",__name:"switch-button",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),switch_button_default=switch_button_vue_vue_type_script_setup_true_lang_default,switch_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SwitchFilled",__name:"switch-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}}),switch_filled_default=switch_filled_vue_vue_type_script_setup_true_lang_default,switch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Switch",__name:"switch",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),switch_default=switch_vue_vue_type_script_setup_true_lang_default,takeaway_box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TakeawayBox",__name:"takeaway-box",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),takeaway_box_default=takeaway_box_vue_vue_type_script_setup_true_lang_default,ticket_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Ticket",__name:"ticket",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),ticket_default=ticket_vue_vue_type_script_setup_true_lang_default,tickets_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Tickets",__name:"tickets",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),tickets_default=tickets_vue_vue_type_script_setup_true_lang_default,timer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Timer",__name:"timer",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),timer_default=timer_vue_vue_type_script_setup_true_lang_default,toilet_paper_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ToiletPaper",__name:"toilet-paper",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),createBaseVNode("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),toilet_paper_default=toilet_paper_vue_vue_type_script_setup_true_lang_default,tools_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Tools",__name:"tools",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),tools_default=tools_vue_vue_type_script_setup_true_lang_default,top_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TopLeft",__name:"top-left",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}}),top_left_default=top_left_vue_vue_type_script_setup_true_lang_default,top_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TopRight",__name:"top-right",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}}),top_right_default=top_right_vue_vue_type_script_setup_true_lang_default,top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Top",__name:"top",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),top_default=top_vue_vue_type_script_setup_true_lang_default,trend_charts_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TrendCharts",__name:"trend-charts",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),trend_charts_default=trend_charts_vue_vue_type_script_setup_true_lang_default,trophy_base_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TrophyBase",__name:"trophy-base",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}}),trophy_base_default=trophy_base_vue_vue_type_script_setup_true_lang_default,trophy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Trophy",__name:"trophy",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),trophy_default=trophy_vue_vue_type_script_setup_true_lang_default,turn_off_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TurnOff",__name:"turn-off",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),turn_off_default=turn_off_vue_vue_type_script_setup_true_lang_default,umbrella_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Umbrella",__name:"umbrella",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),umbrella_default=umbrella_vue_vue_type_script_setup_true_lang_default,unlock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Unlock",__name:"unlock",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),unlock_default=unlock_vue_vue_type_script_setup_true_lang_default,upload_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"UploadFilled",__name:"upload-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),upload_filled_default=upload_filled_vue_vue_type_script_setup_true_lang_default,upload_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Upload",__name:"upload",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),upload_default=upload_vue_vue_type_script_setup_true_lang_default,user_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"UserFilled",__name:"user-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),user_filled_default=user_filled_vue_vue_type_script_setup_true_lang_default,user_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"User",__name:"user",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),user_default=user_vue_vue_type_script_setup_true_lang_default,van_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Van",__name:"van",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),van_default=van_vue_vue_type_script_setup_true_lang_default,video_camera_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoCameraFilled",__name:"video-camera-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),video_camera_filled_default=video_camera_filled_vue_vue_type_script_setup_true_lang_default,video_camera_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoCamera",__name:"video-camera",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),video_camera_default=video_camera_vue_vue_type_script_setup_true_lang_default,video_pause_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoPause",__name:"video-pause",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),video_pause_default=video_pause_vue_vue_type_script_setup_true_lang_default,video_play_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoPlay",__name:"video-play",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),video_play_default=video_play_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=view_vue_vue_type_script_setup_true_lang_default,wallet_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WalletFilled",__name:"wallet-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),wallet_filled_default=wallet_filled_vue_vue_type_script_setup_true_lang_default,wallet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Wallet",__name:"wallet",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),createBaseVNode("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),wallet_default=wallet_vue_vue_type_script_setup_true_lang_default,warn_triangle_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),warn_triangle_filled_default=warn_triangle_filled_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,warning_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Warning",__name:"warning",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),warning_default=warning_vue_vue_type_script_setup_true_lang_default,watch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Watch",__name:"watch",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),watch_default=watch_vue_vue_type_script_setup_true_lang_default,watermelon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Watermelon",__name:"watermelon",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}}),watermelon_default=watermelon_vue_vue_type_script_setup_true_lang_default,wind_power_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WindPower",__name:"wind-power",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),wind_power_default=wind_power_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(t){return(r,n)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;const ElementPlusIconsVue=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:add_location_default,Aim:aim_default,AlarmClock:alarm_clock_default,Apple:apple_default,ArrowDown:arrow_down_default,ArrowDownBold:arrow_down_bold_default,ArrowLeft:arrow_left_default,ArrowLeftBold:arrow_left_bold_default,ArrowRight:arrow_right_default,ArrowRightBold:arrow_right_bold_default,ArrowUp:arrow_up_default,ArrowUpBold:arrow_up_bold_default,Avatar:avatar_default,Back:back_default,Baseball:baseball_default,Basketball:basketball_default,Bell:bell_default,BellFilled:bell_filled_default,Bicycle:bicycle_default,Bottom:bottom_default,BottomLeft:bottom_left_default,BottomRight:bottom_right_default,Bowl:bowl_default,Box:box_default,Briefcase:briefcase_default,Brush:brush_default,BrushFilled:brush_filled_default,Burger:burger_default,Calendar:calendar_default,Camera:camera_default,CameraFilled:camera_filled_default,CaretBottom:caret_bottom_default,CaretLeft:caret_left_default,CaretRight:caret_right_default,CaretTop:caret_top_default,Cellphone:cellphone_default,ChatDotRound:chat_dot_round_default,ChatDotSquare:chat_dot_square_default,ChatLineRound:chat_line_round_default,ChatLineSquare:chat_line_square_default,ChatRound:chat_round_default,ChatSquare:chat_square_default,Check:check_default,Checked:checked_default,Cherry:cherry_default,Chicken:chicken_default,ChromeFilled:chrome_filled_default,CircleCheck:circle_check_default,CircleCheckFilled:circle_check_filled_default,CircleClose:circle_close_default,CircleCloseFilled:circle_close_filled_default,CirclePlus:circle_plus_default,CirclePlusFilled:circle_plus_filled_default,Clock:clock_default,Close:close_default,CloseBold:close_bold_default,Cloudy:cloudy_default,Coffee:coffee_default,CoffeeCup:coffee_cup_default,Coin:coin_default,ColdDrink:cold_drink_default,Collection:collection_default,CollectionTag:collection_tag_default,Comment:comment_default,Compass:compass_default,Connection:connection_default,Coordinate:coordinate_default,CopyDocument:copy_document_default,Cpu:cpu_default,CreditCard:credit_card_default,Crop:crop_default,DArrowLeft:d_arrow_left_default,DArrowRight:d_arrow_right_default,DCaret:d_caret_default,DataAnalysis:data_analysis_default,DataBoard:data_board_default,DataLine:data_line_default,Delete:delete_default,DeleteFilled:delete_filled_default,DeleteLocation:delete_location_default,Dessert:dessert_default,Discount:discount_default,Dish:dish_default,DishDot:dish_dot_default,Document:document_default,DocumentAdd:document_add_default,DocumentChecked:document_checked_default,DocumentCopy:document_copy_default,DocumentDelete:document_delete_default,DocumentRemove:document_remove_default,Download:download_default,Drizzling:drizzling_default,Edit:edit_default,EditPen:edit_pen_default,Eleme:eleme_default,ElemeFilled:eleme_filled_default,ElementPlus:element_plus_default,Expand:expand_default,Failed:failed_default,Female:female_default,Files:files_default,Film:film_default,Filter:filter_default,Finished:finished_default,FirstAidKit:first_aid_kit_default,Flag:flag_default,Fold:fold_default,Folder:folder_default,FolderAdd:folder_add_default,FolderChecked:folder_checked_default,FolderDelete:folder_delete_default,FolderOpened:folder_opened_default,FolderRemove:folder_remove_default,Food:food_default,Football:football_default,ForkSpoon:fork_spoon_default,Fries:fries_default,FullScreen:full_screen_default,Goblet:goblet_default,GobletFull:goblet_full_default,GobletSquare:goblet_square_default,GobletSquareFull:goblet_square_full_default,GoldMedal:gold_medal_default,Goods:goods_default,GoodsFilled:goods_filled_default,Grape:grape_default,Grid:grid_default,Guide:guide_default,Handbag:handbag_default,Headset:headset_default,Help:help_default,HelpFilled:help_filled_default,Hide:hide_default,Histogram:histogram_default,HomeFilled:home_filled_default,HotWater:hot_water_default,House:house_default,IceCream:ice_cream_default,IceCreamRound:ice_cream_round_default,IceCreamSquare:ice_cream_square_default,IceDrink:ice_drink_default,IceTea:ice_tea_default,InfoFilled:info_filled_default,Iphone:iphone_default,Key:key_default,KnifeFork:knife_fork_default,Lightning:lightning_default,Link:link_default,List:list_default,Loading:loading_default,Location:location_default,LocationFilled:location_filled_default,LocationInformation:location_information_default,Lock:lock_default,Lollipop:lollipop_default,MagicStick:magic_stick_default,Magnet:magnet_default,Male:male_default,Management:management_default,MapLocation:map_location_default,Medal:medal_default,Memo:memo_default,Menu:menu_default,Message:message_default,MessageBox:message_box_default,Mic:mic_default,Microphone:microphone_default,MilkTea:milk_tea_default,Minus:minus_default,Money:money_default,Monitor:monitor_default,Moon:moon_default,MoonNight:moon_night_default,More:more_default,MoreFilled:more_filled_default,MostlyCloudy:mostly_cloudy_default,Mouse:mouse_default,Mug:mug_default,Mute:mute_default,MuteNotification:mute_notification_default,NoSmoking:no_smoking_default,Notebook:notebook_default,Notification:notification_default,Odometer:odometer_default,OfficeBuilding:office_building_default,Open:open_default,Operation:operation_default,Opportunity:opportunity_default,Orange:orange_default,Paperclip:paperclip_default,PartlyCloudy:partly_cloudy_default,Pear:pear_default,Phone:phone_default,PhoneFilled:phone_filled_default,Picture:picture_default,PictureFilled:picture_filled_default,PictureRounded:picture_rounded_default,PieChart:pie_chart_default,Place:place_default,Platform:platform_default,Plus:plus_default,Pointer:pointer_default,Position:position_default,Postcard:postcard_default,Pouring:pouring_default,Present:present_default,PriceTag:price_tag_default,Printer:printer_default,Promotion:promotion_default,QuartzWatch:quartz_watch_default,QuestionFilled:question_filled_default,Rank:rank_default,Reading:reading_default,ReadingLamp:reading_lamp_default,Refresh:refresh_default,RefreshLeft:refresh_left_default,RefreshRight:refresh_right_default,Refrigerator:refrigerator_default,Remove:remove_default,RemoveFilled:remove_filled_default,Right:right_default,ScaleToOriginal:scale_to_original_default,School:school_default,Scissor:scissor_default,Search:search_default,Select:select_default,Sell:sell_default,SemiSelect:semi_select_default,Service:service_default,SetUp:set_up_default,Setting:setting_default,Share:share_default,Ship:ship_default,Shop:shop_default,ShoppingBag:shopping_bag_default,ShoppingCart:shopping_cart_default,ShoppingCartFull:shopping_cart_full_default,ShoppingTrolley:shopping_trolley_default,Smoking:smoking_default,Soccer:soccer_default,SoldOut:sold_out_default,Sort:sort_default,SortDown:sort_down_default,SortUp:sort_up_default,Stamp:stamp_default,Star:star_default,StarFilled:star_filled_default,Stopwatch:stopwatch_default,SuccessFilled:success_filled_default,Sugar:sugar_default,Suitcase:suitcase_default,SuitcaseLine:suitcase_line_default,Sunny:sunny_default,Sunrise:sunrise_default,Sunset:sunset_default,Switch:switch_default,SwitchButton:switch_button_default,SwitchFilled:switch_filled_default,TakeawayBox:takeaway_box_default,Ticket:ticket_default,Tickets:tickets_default,Timer:timer_default,ToiletPaper:toilet_paper_default,Tools:tools_default,Top:top_default,TopLeft:top_left_default,TopRight:top_right_default,TrendCharts:trend_charts_default,Trophy:trophy_default,TrophyBase:trophy_base_default,TurnOff:turn_off_default,Umbrella:umbrella_default,Unlock:unlock_default,Upload:upload_default,UploadFilled:upload_filled_default,User:user_default,UserFilled:user_filled_default,Van:van_default,VideoCamera:video_camera_default,VideoCameraFilled:video_camera_filled_default,VideoPause:video_pause_default,VideoPlay:video_play_default,View:view_default,Wallet:wallet_default,WalletFilled:wallet_filled_default,WarnTriangleFilled:warn_triangle_filled_default,Warning:warning_default,WarningFilled:warning_filled_default,Watch:watch_default,Watermelon:watermelon_default,WindPower:wind_power_default,ZoomIn:zoom_in_default,ZoomOut:zoom_out_default},Symbol.toStringTag,{value:"Module"})),epPropKey="__epPropKey",definePropType=t=>t,isEpProp=t=>isObject$7(t)&&!!t[epPropKey],buildProp=(t,r)=>{if(!isObject$7(t)||isEpProp(t))return t;const{values:n,required:g,default:y,type:L,validator:$}=t,z={type:L,required:!!g,validator:n||$?j=>{let re=!1,ae=[];if(n&&(ae=Array.from(n),hasOwn$1(t,"default")&&ae.push(y),re||(re=ae.includes(j))),$&&(re||(re=$(j))),!re&&ae.length>0){const oe=[...new Set(ae)].map(ie=>JSON.stringify(ie)).join(", ");warn$2(`Invalid prop: validation failed${r?` for prop "${r}"`:""}. Expected one of [${oe}], got value ${JSON.stringify(j)}.`)}return re}:void 0,[epPropKey]:!0};return hasOwn$1(t,"default")&&(z.default=y),z},buildProps=t=>fromPairs(Object.entries(t).map(([r,n])=>[r,buildProp(n,r)])),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},withInstall=(t,r)=>{if(t.install=n=>{for(const g of[t,...Object.values(r??{})])n.component(g.name,g)},r)for(const[n,g]of Object.entries(r))t[n]=g;return t},withInstallFunction=(t,r)=>(t.install=n=>{t._context=n._context,n.config.globalProperties[r]=t},t),withInstallDirective=(t,r)=>(t.install=n=>{n.directive(r,t)},t),withNoopInstall=t=>(t.install=NOOP,t),composeRefs=(...t)=>r=>{t.forEach(n=>{isFunction$4(n)?n(r):n.value=r})},EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},datePickTypes=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",INSTALLED_KEY=Symbol("INSTALLED_KEY"),componentSizes=["","default","small","large"],componentSizeMap={large:40,default:32,small:24},getComponentSize=t=>componentSizeMap[t||"default"],isValidComponentSize=t=>["",...componentSizes].includes(t);var PatchFlags=(t=>(t[t.TEXT=1]="TEXT",t[t.CLASS=2]="CLASS",t[t.STYLE=4]="STYLE",t[t.PROPS=8]="PROPS",t[t.FULL_PROPS=16]="FULL_PROPS",t[t.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",t[t.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",t[t.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",t[t.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",t[t.NEED_PATCH=512]="NEED_PATCH",t[t.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",t[t.HOISTED=-1]="HOISTED",t[t.BAIL=-2]="BAIL",t))(PatchFlags||{});function isFragment(t){return isVNode(t)&&t.type===Fragment}function isComment(t){return isVNode(t)&&t.type===Comment}function isValidElementNode(t){return isVNode(t)&&!isFragment(t)&&!isComment(t)}const getNormalizedProps=t=>{if(!isVNode(t))return{};const r=t.props||{},n=(isVNode(t.type)?t.type.props:void 0)||{},g={};return Object.keys(n).forEach(y=>{hasOwn$1(n[y],"default")&&(g[y]=n[y].default)}),Object.keys(r).forEach(y=>{g[camelize(y)]=r[y]}),g},ensureOnlyChild=t=>{if(!isArray$6(t)||t.length>1)throw new Error("expect to receive a single Vue element child");return t[0]},flattedChildren=t=>{const r=isArray$6(t)?t:[t],n=[];return r.forEach(g=>{var y;isArray$6(g)?n.push(...flattedChildren(g)):isVNode(g)&&isArray$6(g.children)?n.push(...flattedChildren(g.children)):(n.push(g),isVNode(g)&&((y=g.component)!=null&&y.subTree)&&n.push(...flattedChildren(g.component.subTree)))}),n},unique=t=>[...new Set(t)],castArray=t=>!t&&t!==0?[]:Array.isArray(t)?t:[t],isKorean=t=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t),rAF=t=>isClient$1?window.requestAnimationFrame(t):setTimeout(t,16),cAF=t=>isClient$1?window.cancelAnimationFrame(t):clearTimeout(t),generateId=()=>Math.floor(Math.random()*1e4),mutable=t=>t,DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(t={})=>{const{excludeListeners:r=!1,excludeKeys:n}=t,g=computed(()=>((n==null?void 0:n.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),y=getCurrentInstance();return computed(y?()=>{var L;return fromPairs(Object.entries((L=y.proxy)==null?void 0:L.$attrs).filter(([$])=>!g.value.includes($)&&!(r&&LISTENER_PREFIX.test($))))}:()=>({}))},useDeprecated=({from:t,replacement:r,scope:n,version:g,ref:y,type:L="API"},$)=>{watch(()=>unref($),V=>{},{immediate:!0})},useDraggable=(t,r,n)=>{let g={offsetX:0,offsetY:0};const y=V=>{const z=V.clientX,j=V.clientY,{offsetX:re,offsetY:ae}=g,oe=t.value.getBoundingClientRect(),ie=oe.left,le=oe.top,ue=oe.width,de=oe.height,pe=document.documentElement.clientWidth,he=document.documentElement.clientHeight,_e=-ie+re,Ce=-le+ae,$e=pe-ie-ue+re,xe=he-le-de+ae,Ie=ze=>{const Fe=Math.min(Math.max(re+ze.clientX-z,_e),$e),qe=Math.min(Math.max(ae+ze.clientY-j,Ce),xe);g={offsetX:Fe,offsetY:qe},t.value.style.transform=`translate(${addUnit(Fe)}, ${addUnit(qe)})`},Ne=()=>{document.removeEventListener("mousemove",Ie),document.removeEventListener("mouseup",Ne)};document.addEventListener("mousemove",Ie),document.addEventListener("mouseup",Ne)},L=()=>{r.value&&t.value&&r.value.addEventListener("mousedown",y)},$=()=>{r.value&&t.value&&r.value.removeEventListener("mousedown",y)};onMounted(()=>{watchEffect(()=>{n.value?L():$()})}),onBeforeUnmount(()=>{$()})},useFocus=t=>({focus:()=>{var r,n;(n=(r=t.value)==null?void 0:r.focus)==null||n.call(r)}});var English={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const buildTranslator=t=>(r,n)=>translate$1(r,n,unref(t)),translate$1=(t,r,n)=>get$1(n,t,t).replace(/\{(\w+)\}/g,(g,y)=>{var L;return`${(L=r==null?void 0:r[y])!=null?L:`{${y}}`}`}),buildLocaleContext=t=>{const r=computed(()=>unref(t).name),n=isRef(t)?t:ref(t);return{lang:r,locale:n,t:buildTranslator(t)}},localeContextKey=Symbol("localeContextKey"),useLocale=t=>{const r=t||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>r.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(t,r,n,g,y)=>{let L=`${t}-${r}`;return n&&(L+=`-${n}`),g&&(L+=`__${g}`),y&&(L+=`--${y}`),L},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=t=>{const r=t||inject(namespaceContextKey,ref(defaultNamespace));return computed(()=>unref(r)||defaultNamespace)},useNamespace=(t,r)=>{const n=useGetDerivedNamespace(r);return{namespace:n,b:(ue="")=>_bem(n.value,t,ue,"",""),e:ue=>ue?_bem(n.value,t,"",ue,""):"",m:ue=>ue?_bem(n.value,t,"","",ue):"",be:(ue,de)=>ue&&de?_bem(n.value,t,ue,de,""):"",em:(ue,de)=>ue&&de?_bem(n.value,t,"",ue,de):"",bm:(ue,de)=>ue&&de?_bem(n.value,t,ue,"",de):"",bem:(ue,de,pe)=>ue&&de&&pe?_bem(n.value,t,ue,de,pe):"",is:(ue,...de)=>{const pe=de.length>=1?de[0]:!0;return ue&&pe?`${statePrefix}${ue}`:""},cssVar:ue=>{const de={};for(const pe in ue)ue[pe]&&(de[`--${n.value}-${pe}`]=ue[pe]);return de},cssVarName:ue=>`--${n.value}-${ue}`,cssVarBlock:ue=>{const de={};for(const pe in ue)ue[pe]&&(de[`--${n.value}-${t}-${pe}`]=ue[pe]);return de},cssVarBlockName:ue=>`--${n.value}-${t}-${ue}`}},useLockscreen=(t,r={})=>{isRef(t)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const n=r.ns||useNamespace("popup"),g=computed$1(()=>n.bm("parent","hidden"));if(!isClient$1||hasClass(document.body,g.value))return;let y=0,L=!1,$="0";const V=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,g.value),L&&document&&(document.body.style.width=$)},200)};watch(t,z=>{if(!z){V();return}L=!hasClass(document.body,g.value),L&&($=document.body.style.width),y=getScrollBarWidth(n.namespace.value);const j=document.documentElement.clientHeight0&&(j||re==="scroll")&&L&&(document.body.style.width=`calc(100% - ${y}px)`),addClass(document.body,g.value)}),onScopeDispose(()=>V())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=t=>{const r=`update:${t}`,n=`onUpdate:${t}`,g=[r],y={[t]:_prop,[n]:_event};return{useModelToggle:({indicator:$,toggleReason:V,shouldHideWhenRouteChanges:z,shouldProceed:j,onShow:re,onHide:ae})=>{const oe=getCurrentInstance(),{emit:ie}=oe,le=oe.props,ue=computed(()=>isFunction$4(le[n])),de=computed(()=>le[t]===null),pe=Ie=>{$.value!==!0&&($.value=!0,V&&(V.value=Ie),isFunction$4(re)&&re(Ie))},he=Ie=>{$.value!==!1&&($.value=!1,V&&(V.value=Ie),isFunction$4(ae)&&ae(Ie))},_e=Ie=>{if(le.disabled===!0||isFunction$4(j)&&!j())return;const Ne=ue.value&&isClient$1;Ne&&ie(r,!0),(de.value||!Ne)&&pe(Ie)},Ce=Ie=>{if(le.disabled===!0||!isClient$1)return;const Ne=ue.value&&isClient$1;Ne&&ie(r,!1),(de.value||!Ne)&&he(Ie)},$e=Ie=>{isBoolean$1(Ie)&&(le.disabled&&Ie?ue.value&&ie(r,!1):$.value!==Ie&&(Ie?pe():he()))},xe=()=>{$.value?Ce():_e()};return watch(()=>le[t],$e),z&&oe.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...oe.proxy.$route}),()=>{z.value&&$.value&&Ce()}),onMounted(()=>{$e(le[t])}),{hide:Ce,show:_e,toggle:xe,hasUpdateHandler:ue}},useModelToggleProps:y,useModelToggleEmits:g}};createModelToggleComposable("modelValue");const useProp=t=>{const r=getCurrentInstance();return computed(()=>{var n,g;return(g=(n=r==null?void 0:r.proxy)==null?void 0:n.$props)==null?void 0:g[t]})};var E$1="top",R="bottom",W="right",P$1="left",me="auto",G=[E$1,R,W,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(t,r){return t.concat([r+"-"+U$1,r+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(t,r){return t.concat([r,r+"-"+U$1,r+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt$1="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt$1];function C(t){return t?(t.nodeName||"").toLowerCase():null}function H(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function Q(t){var r=H(t).Element;return t instanceof r||t instanceof Element}function B(t){var r=H(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function Pe(t){if(typeof ShadowRoot>"u")return!1;var r=H(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function Mt(t){var r=t.state;Object.keys(r.elements).forEach(function(n){var g=r.styles[n]||{},y=r.attributes[n]||{},L=r.elements[n];!B(L)||!C(L)||(Object.assign(L.style,g),Object.keys(y).forEach(function($){var V=y[$];V===!1?L.removeAttribute($):L.setAttribute($,V===!0?"":V)}))})}function Rt(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow),function(){Object.keys(r.elements).forEach(function(g){var y=r.elements[g],L=r.attributes[g]||{},$=Object.keys(r.styles.hasOwnProperty(g)?r.styles[g]:n[g]),V=$.reduce(function(z,j){return z[j]="",z},{});!B(y)||!C(y)||(Object.assign(y.style,V),Object.keys(L).forEach(function(z){y.removeAttribute(z)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(t){return t.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(t,r){r===void 0&&(r=!1);var n=t.getBoundingClientRect(),g=1,y=1;if(B(t)&&r){var L=t.offsetHeight,$=t.offsetWidth;$>0&&(g=Z(n.width)/$||1),L>0&&(y=Z(n.height)/L||1)}return{width:n.width/g,height:n.height/y,top:n.top/y,right:n.right/g,bottom:n.bottom/y,left:n.left/g,x:n.left/g,y:n.top/y}}function ke(t){var r=ee(t),n=t.offsetWidth,g=t.offsetHeight;return Math.abs(r.width-n)<=1&&(n=r.width),Math.abs(r.height-g)<=1&&(g=r.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:g}}function it(t,r){var n=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(n&&Pe(n)){var g=r;do{if(g&&t.isSameNode(g))return!0;g=g.parentNode||g.host}while(g)}return!1}function N$1(t){return H(t).getComputedStyle(t)}function Wt(t){return["table","td","th"].indexOf(C(t))>=0}function I$1(t){return((Q(t)?t.ownerDocument:t.document)||window.document).documentElement}function ge(t){return C(t)==="html"?t:t.assignedSlot||t.parentNode||(Pe(t)?t.host:null)||I$1(t)}function at(t){return!B(t)||N$1(t).position==="fixed"?null:t.offsetParent}function Bt(t){var r=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&B(t)){var g=N$1(t);if(g.position==="fixed")return null}var y=ge(t);for(Pe(y)&&(y=y.host);B(y)&&["html","body"].indexOf(C(y))<0;){var L=N$1(y);if(L.transform!=="none"||L.perspective!=="none"||L.contain==="paint"||["transform","perspective"].indexOf(L.willChange)!==-1||r&&L.willChange==="filter"||r&&L.filter&&L.filter!=="none")return y;y=y.parentNode}return null}function se(t){for(var r=H(t),n=at(t);n&&Wt(n)&&N$1(n).position==="static";)n=at(n);return n&&(C(n)==="html"||C(n)==="body"&&N$1(n).position==="static")?r:n||Bt(t)||r}function Le(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function fe(t,r,n){return X$1(t,ve(r,n))}function St(t,r,n){var g=fe(t,r,n);return g>n?n:g}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(t){return Object.assign({},st(),t)}function ct(t,r){return r.reduce(function(n,g){return n[g]=t,n},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ft(typeof t!="number"?t:ct(t,G))};function Ht(t){var r,n=t.state,g=t.name,y=t.options,L=n.elements.arrow,$=n.modifiersData.popperOffsets,V=q(n.placement),z=Le(V),j=[P$1,W].indexOf(V)>=0,re=j?"height":"width";if(!(!L||!$)){var ae=Tt(y.padding,n),oe=ke(L),ie=z==="y"?E$1:P$1,le=z==="y"?R:W,ue=n.rects.reference[re]+n.rects.reference[z]-$[z]-n.rects.popper[re],de=$[z]-n.rects.reference[z],pe=se(L),he=pe?z==="y"?pe.clientHeight||0:pe.clientWidth||0:0,_e=ue/2-de/2,Ce=ae[ie],$e=he-oe[re]-ae[le],xe=he/2-oe[re]/2+_e,Ie=fe(Ce,xe,$e),Ne=z;n.modifiersData[g]=(r={},r[Ne]=Ie,r.centerOffset=Ie-xe,r)}}function Ct(t){var r=t.state,n=t.options,g=n.element,y=g===void 0?"[data-popper-arrow]":g;y!=null&&(typeof y=="string"&&(y=r.elements.popper.querySelector(y),!y)||!it(r.elements.popper,y)||(r.elements.arrow=y))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(t){return t.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(t){var r=t.x,n=t.y,g=window,y=g.devicePixelRatio||1;return{x:Z(r*y)/y||0,y:Z(n*y)/y||0}}function ut(t){var r,n=t.popper,g=t.popperRect,y=t.placement,L=t.variation,$=t.offsets,V=t.position,z=t.gpuAcceleration,j=t.adaptive,re=t.roundOffsets,ae=t.isFixed,oe=$.x,ie=oe===void 0?0:oe,le=$.y,ue=le===void 0?0:le,de=typeof re=="function"?re({x:ie,y:ue}):{x:ie,y:ue};ie=de.x,ue=de.y;var pe=$.hasOwnProperty("x"),he=$.hasOwnProperty("y"),_e=P$1,Ce=E$1,$e=window;if(j){var xe=se(n),Ie="clientHeight",Ne="clientWidth";if(xe===H(n)&&(xe=I$1(n),N$1(xe).position!=="static"&&V==="absolute"&&(Ie="scrollHeight",Ne="scrollWidth")),xe=xe,y===E$1||(y===P$1||y===W)&&L===J){Ce=R;var ze=ae&&xe===$e&&$e.visualViewport?$e.visualViewport.height:xe[Ie];ue-=ze-g.height,ue*=z?1:-1}if(y===P$1||(y===E$1||y===R)&&L===J){_e=W;var Fe=ae&&xe===$e&&$e.visualViewport?$e.visualViewport.width:xe[Ne];ie-=Fe-g.width,ie*=z?1:-1}}var qe=Object.assign({position:V},j&&qt),Et=re===!0?Vt({x:ie,y:ue}):{x:ie,y:ue};if(ie=Et.x,ue=Et.y,z){var kt;return Object.assign({},qe,(kt={},kt[Ce]=he?"0":"",kt[_e]=pe?"0":"",kt.transform=($e.devicePixelRatio||1)<=1?"translate("+ie+"px, "+ue+"px)":"translate3d("+ie+"px, "+ue+"px, 0)",kt))}return Object.assign({},qe,(r={},r[Ce]=he?ue+"px":"",r[_e]=pe?ie+"px":"",r.transform="",r))}function Nt(t){var r=t.state,n=t.options,g=n.gpuAcceleration,y=g===void 0?!0:g,L=n.adaptive,$=L===void 0?!0:L,V=n.roundOffsets,z=V===void 0?!0:V,j={placement:q(r.placement),variation:te(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:y,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,ut(Object.assign({},j,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:$,roundOffsets:z})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,ut(Object.assign({},j,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:z})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(t){var r=t.state,n=t.instance,g=t.options,y=g.scroll,L=y===void 0?!0:y,$=g.resize,V=$===void 0?!0:$,z=H(r.elements.popper),j=[].concat(r.scrollParents.reference,r.scrollParents.popper);return L&&j.forEach(function(re){re.addEventListener("scroll",n.update,ye)}),V&&z.addEventListener("resize",n.update,ye),function(){L&&j.forEach(function(re){re.removeEventListener("scroll",n.update,ye)}),V&&z.removeEventListener("resize",n.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(t){return t.replace(/left|right|bottom|top/g,function(r){return _t[r]})}var zt={start:"end",end:"start"};function lt$1(t){return t.replace(/start|end/g,function(r){return zt[r]})}function We(t){var r=H(t),n=r.pageXOffset,g=r.pageYOffset;return{scrollLeft:n,scrollTop:g}}function Be(t){return ee(I$1(t)).left+We(t).scrollLeft}function Ft(t){var r=H(t),n=I$1(t),g=r.visualViewport,y=n.clientWidth,L=n.clientHeight,$=0,V=0;return g&&(y=g.width,L=g.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||($=g.offsetLeft,V=g.offsetTop)),{width:y,height:L,x:$+Be(t),y:V}}function Ut(t){var r,n=I$1(t),g=We(t),y=(r=t.ownerDocument)==null?void 0:r.body,L=X$1(n.scrollWidth,n.clientWidth,y?y.scrollWidth:0,y?y.clientWidth:0),$=X$1(n.scrollHeight,n.clientHeight,y?y.scrollHeight:0,y?y.clientHeight:0),V=-g.scrollLeft+Be(t),z=-g.scrollTop;return N$1(y||n).direction==="rtl"&&(V+=X$1(n.clientWidth,y?y.clientWidth:0)-L),{width:L,height:$,x:V,y:z}}function Se(t){var r=N$1(t),n=r.overflow,g=r.overflowX,y=r.overflowY;return/auto|scroll|overlay|hidden/.test(n+y+g)}function dt(t){return["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:B(t)&&Se(t)?t:dt(ge(t))}function ce(t,r){var n;r===void 0&&(r=[]);var g=dt(t),y=g===((n=t.ownerDocument)==null?void 0:n.body),L=H(g),$=y?[L].concat(L.visualViewport||[],Se(g)?g:[]):g,V=r.concat($);return y?V:V.concat(ce(ge($)))}function Te(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Xt(t){var r=ee(t);return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function ht(t,r){return r===je?Te(Ft(t)):Q(r)?Xt(r):Te(Ut(I$1(t)))}function Yt(t){var r=ce(ge(t)),n=["absolute","fixed"].indexOf(N$1(t).position)>=0,g=n&&B(t)?se(t):t;return Q(g)?r.filter(function(y){return Q(y)&&it(y,g)&&C(y)!=="body"}):[]}function Gt(t,r,n){var g=r==="clippingParents"?Yt(t):[].concat(r),y=[].concat(g,[n]),L=y[0],$=y.reduce(function(V,z){var j=ht(t,z);return V.top=X$1(j.top,V.top),V.right=ve(j.right,V.right),V.bottom=ve(j.bottom,V.bottom),V.left=X$1(j.left,V.left),V},ht(t,L));return $.width=$.right-$.left,$.height=$.bottom-$.top,$.x=$.left,$.y=$.top,$}function mt(t){var r=t.reference,n=t.element,g=t.placement,y=g?q(g):null,L=g?te(g):null,$=r.x+r.width/2-n.width/2,V=r.y+r.height/2-n.height/2,z;switch(y){case E$1:z={x:$,y:r.y-n.height};break;case R:z={x:$,y:r.y+r.height};break;case W:z={x:r.x+r.width,y:V};break;case P$1:z={x:r.x-n.width,y:V};break;default:z={x:r.x,y:r.y}}var j=y?Le(y):null;if(j!=null){var re=j==="y"?"height":"width";switch(L){case U$1:z[j]=z[j]-(r[re]/2-n[re]/2);break;case J:z[j]=z[j]+(r[re]/2-n[re]/2);break}}return z}function ne(t,r){r===void 0&&(r={});var n=r,g=n.placement,y=g===void 0?t.placement:g,L=n.boundary,$=L===void 0?Xe:L,V=n.rootBoundary,z=V===void 0?je:V,j=n.elementContext,re=j===void 0?K:j,ae=n.altBoundary,oe=ae===void 0?!1:ae,ie=n.padding,le=ie===void 0?0:ie,ue=ft(typeof le!="number"?le:ct(le,G)),de=re===K?Ye:K,pe=t.rects.popper,he=t.elements[oe?de:re],_e=Gt(Q(he)?he:he.contextElement||I$1(t.elements.popper),$,z),Ce=ee(t.elements.reference),$e=mt({reference:Ce,element:pe,strategy:"absolute",placement:y}),xe=Te(Object.assign({},pe,$e)),Ie=re===K?xe:Ce,Ne={top:_e.top-Ie.top+ue.top,bottom:Ie.bottom-_e.bottom+ue.bottom,left:_e.left-Ie.left+ue.left,right:Ie.right-_e.right+ue.right},ze=t.modifiersData.offset;if(re===K&&ze){var Fe=ze[y];Object.keys(Ne).forEach(function(qe){var Et=[W,R].indexOf(qe)>=0?1:-1,kt=[E$1,R].indexOf(qe)>=0?"y":"x";Ne[qe]+=Fe[kt]*Et})}return Ne}function Jt(t,r){r===void 0&&(r={});var n=r,g=n.placement,y=n.boundary,L=n.rootBoundary,$=n.padding,V=n.flipVariations,z=n.allowedAutoPlacements,j=z===void 0?Ee:z,re=te(g),ae=re?V?De:De.filter(function(le){return te(le)===re}):G,oe=ae.filter(function(le){return j.indexOf(le)>=0});oe.length===0&&(oe=ae);var ie=oe.reduce(function(le,ue){return le[ue]=ne(t,{placement:ue,boundary:y,rootBoundary:L,padding:$})[q(ue)],le},{});return Object.keys(ie).sort(function(le,ue){return ie[le]-ie[ue]})}function Kt(t){if(q(t)===me)return[];var r=be(t);return[lt$1(t),r,lt$1(r)]}function Qt(t){var r=t.state,n=t.options,g=t.name;if(!r.modifiersData[g]._skip){for(var y=n.mainAxis,L=y===void 0?!0:y,$=n.altAxis,V=$===void 0?!0:$,z=n.fallbackPlacements,j=n.padding,re=n.boundary,ae=n.rootBoundary,oe=n.altBoundary,ie=n.flipVariations,le=ie===void 0?!0:ie,ue=n.allowedAutoPlacements,de=r.options.placement,pe=q(de),he=pe===de,_e=z||(he||!le?[be(de)]:Kt(de)),Ce=[de].concat(_e).reduce(function(kn,On){return kn.concat(q(On)===me?Jt(r,{placement:On,boundary:re,rootBoundary:ae,padding:j,flipVariations:le,allowedAutoPlacements:ue}):On)},[]),$e=r.rects.reference,xe=r.rects.popper,Ie=new Map,Ne=!0,ze=Ce[0],Fe=0;Fe=0,vn=Lt?"width":"height",jt=ne(r,{placement:qe,boundary:re,rootBoundary:ae,altBoundary:oe,padding:j}),At=Lt?kt?W:P$1:kt?R:E$1;$e[vn]>xe[vn]&&(At=be(At));var hn=be(At),bn=[];if(L&&bn.push(jt[Et]<=0),V&&bn.push(jt[At]<=0,jt[hn]<=0),bn.every(function(kn){return kn})){ze=qe,Ne=!1;break}Ie.set(qe,bn)}if(Ne)for(var Cn=le?3:1,Tn=function(kn){var On=Ce.find(function(Rn){var In=Ie.get(Rn);if(In)return In.slice(0,kn).every(function(Mn){return Mn})});if(On)return ze=On,"break"},xn=Cn;xn>0;xn--){var En=Tn(xn);if(En==="break")break}r.placement!==ze&&(r.modifiersData[g]._skip=!0,r.placement=ze,r.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(t,r,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-r.height-n.y,right:t.right-r.width+n.x,bottom:t.bottom-r.height+n.y,left:t.left-r.width-n.x}}function yt(t){return[E$1,W,R,P$1].some(function(r){return t[r]>=0})}function Zt(t){var r=t.state,n=t.name,g=r.rects.reference,y=r.rects.popper,L=r.modifiersData.preventOverflow,$=ne(r,{elementContext:"reference"}),V=ne(r,{altBoundary:!0}),z=gt($,g),j=gt(V,y,L),re=yt(z),ae=yt(j);r.modifiersData[n]={referenceClippingOffsets:z,popperEscapeOffsets:j,isReferenceHidden:re,hasPopperEscaped:ae},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":re,"data-popper-escaped":ae})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(t,r,n){var g=q(t),y=[P$1,E$1].indexOf(g)>=0?-1:1,L=typeof n=="function"?n(Object.assign({},r,{placement:t})):n,$=L[0],V=L[1];return $=$||0,V=(V||0)*y,[P$1,W].indexOf(g)>=0?{x:V,y:$}:{x:$,y:V}}function tn(t){var r=t.state,n=t.options,g=t.name,y=n.offset,L=y===void 0?[0,0]:y,$=Ee.reduce(function(re,ae){return re[ae]=en(ae,r.rects,L),re},{}),V=$[r.placement],z=V.x,j=V.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=z,r.modifiersData.popperOffsets.y+=j),r.modifiersData[g]=$}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(t){var r=t.state,n=t.name;r.modifiersData[n]=mt({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(t){return t==="x"?"y":"x"}function on(t){var r=t.state,n=t.options,g=t.name,y=n.mainAxis,L=y===void 0?!0:y,$=n.altAxis,V=$===void 0?!1:$,z=n.boundary,j=n.rootBoundary,re=n.altBoundary,ae=n.padding,oe=n.tether,ie=oe===void 0?!0:oe,le=n.tetherOffset,ue=le===void 0?0:le,de=ne(r,{boundary:z,rootBoundary:j,padding:ae,altBoundary:re}),pe=q(r.placement),he=te(r.placement),_e=!he,Ce=Le(pe),$e=rn(Ce),xe=r.modifiersData.popperOffsets,Ie=r.rects.reference,Ne=r.rects.popper,ze=typeof ue=="function"?ue(Object.assign({},r.rects,{placement:r.placement})):ue,Fe=typeof ze=="number"?{mainAxis:ze,altAxis:ze}:Object.assign({mainAxis:0,altAxis:0},ze),qe=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,Et={x:0,y:0};if(xe){if(L){var kt,Lt=Ce==="y"?E$1:P$1,vn=Ce==="y"?R:W,jt=Ce==="y"?"height":"width",At=xe[Ce],hn=At+de[Lt],bn=At-de[vn],Cn=ie?-Ne[jt]/2:0,Tn=he===U$1?Ie[jt]:Ne[jt],xn=he===U$1?-Ne[jt]:-Ie[jt],En=r.elements.arrow,kn=ie&&En?ke(En):{width:0,height:0},On=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:st(),Rn=On[Lt],In=On[vn],Mn=fe(0,Ie[jt],kn[jt]),Vn=_e?Ie[jt]/2-Cn-Mn-Rn-Fe.mainAxis:Tn-Mn-Rn-Fe.mainAxis,zn=_e?-Ie[jt]/2+Cn+Mn+In+Fe.mainAxis:xn+Mn+In+Fe.mainAxis,Jn=r.elements.arrow&&se(r.elements.arrow),tr=Jn?Ce==="y"?Jn.clientTop||0:Jn.clientLeft||0:0,$n=(kt=qe==null?void 0:qe[Ce])!=null?kt:0,Pn=At+Vn-$n-tr,Bn=At+zn-$n,Un=fe(ie?ve(hn,Pn):hn,At,ie?X$1(bn,Bn):bn);xe[Ce]=Un,Et[Ce]=Un-At}if(V){var Fn,cr=Ce==="x"?E$1:P$1,ur=Ce==="x"?R:W,vr=xe[$e],Yn=$e==="y"?"height":"width",gr=vr+de[cr],lr=vr-de[ur],er=[E$1,P$1].indexOf(pe)!==-1,br=(Fn=qe==null?void 0:qe[$e])!=null?Fn:0,wr=er?gr:vr-Ie[Yn]-Ne[Yn]-br+Fe.altAxis,$r=er?vr+Ie[Yn]+Ne[Yn]-br-Fe.altAxis:lr,Mr=ie&&er?St(wr,vr,$r):fe(ie?wr:gr,vr,ie?$r:lr);xe[$e]=Mr,Et[$e]=Mr-vr}r.modifiersData[g]=Et}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function sn(t){return t===H(t)||!B(t)?We(t):an(t)}function fn(t){var r=t.getBoundingClientRect(),n=Z(r.width)/t.offsetWidth||1,g=Z(r.height)/t.offsetHeight||1;return n!==1||g!==1}function cn(t,r,n){n===void 0&&(n=!1);var g=B(r),y=B(r)&&fn(r),L=I$1(r),$=ee(t,y),V={scrollLeft:0,scrollTop:0},z={x:0,y:0};return(g||!g&&!n)&&((C(r)!=="body"||Se(L))&&(V=sn(r)),B(r)?(z=ee(r,!0),z.x+=r.clientLeft,z.y+=r.clientTop):L&&(z.x=Be(L))),{x:$.left+V.scrollLeft-z.x,y:$.top+V.scrollTop-z.y,width:$.width,height:$.height}}function pn(t){var r=new Map,n=new Set,g=[];t.forEach(function(L){r.set(L.name,L)});function y(L){n.add(L.name);var $=[].concat(L.requires||[],L.requiresIfExists||[]);$.forEach(function(V){if(!n.has(V)){var z=r.get(V);z&&y(z)}}),g.push(L)}return t.forEach(function(L){n.has(L.name)||y(L)}),g}function un(t){var r=pn(t);return ot.reduce(function(n,g){return n.concat(r.filter(function(y){return y.phase===g}))},[])}function ln(t){var r;return function(){return r||(r=new Promise(function(n){Promise.resolve().then(function(){r=void 0,n(t())})})),r}}function dn(t){var r=t.reduce(function(n,g){var y=n[g.name];return n[g.name]=y?Object.assign({},y,g,{options:Object.assign({},y.options,g.options),data:Object.assign({},y.data,g.data)}):g,n},{});return Object.keys(r).map(function(n){return r[n]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var t=arguments.length,r=new Array(t),n=0;n{const g={name:"updateState",enabled:!0,phase:"write",fn:({state:z})=>{const j=deriveState(z);Object.assign($.value,j)},requires:["computeStyles"]},y=computed(()=>{const{onFirstUpdate:z,placement:j,strategy:re,modifiers:ae}=unref(n);return{onFirstUpdate:z,placement:j||"bottom",strategy:re||"absolute",modifiers:[...ae||[],g,{name:"applyStyles",enabled:!1}]}}),L=shallowRef(),$=ref({styles:{popper:{position:unref(y).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),V=()=>{L.value&&(L.value.destroy(),L.value=void 0)};return watch(y,z=>{const j=unref(L);j&&j.setOptions(z)},{deep:!0}),watch([t,r],([z,j])=>{V(),!(!z||!j)&&(L.value=yn(z,j,unref(y)))}),onBeforeUnmount(()=>{V()}),{state:computed(()=>{var z;return{...((z=unref(L))==null?void 0:z.state)||{}}}),styles:computed(()=>unref($).styles),attributes:computed(()=>unref($).attributes),update:()=>{var z;return(z=unref(L))==null?void 0:z.update()},forceUpdate:()=>{var z;return(z=unref(L))==null?void 0:z.forceUpdate()},instanceRef:computed(()=>unref(L))}};function deriveState(t){const r=Object.keys(t.elements),n=fromPairs(r.map(y=>[y,t.styles[y]||{}])),g=fromPairs(r.map(y=>[y,t.attributes[y]]));return{styles:n,attributes:g}}const useRestoreActive=(t,r)=>{let n;watch(()=>t.value,g=>{var y,L;g?(n=document.activeElement,isRef(r)&&((L=(y=r.value).focus)==null||L.call(y))):n.focus()})},useSameTarget=t=>{if(!t)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let r=!1,n=!1;return{onClick:$=>{r&&n&&t($),r=n=!1},onMousedown:$=>{r=$.target===$.currentTarget},onMouseup:$=>{n=$.target===$.currentTarget}}},useThrottleRender=(t,r=0)=>{if(r===0)return t;const n=ref(!1);let g=0;const y=()=>{g&&clearTimeout(g),g=window.setTimeout(()=>{n.value=t.value},r)};return onMounted(y),watch(()=>t.value,L=>{L?y():n.value=L}),n};function useTimeout(){let t;const r=(g,y)=>{n(),t=window.setTimeout(g,y)},n=()=>window.clearTimeout(t);return tryOnScopeDispose$1(()=>n()),{registerTimeout:r,cancelTimeout:n}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=t=>{const r=useIdInjection(),n=useGetDerivedNamespace();return computed(()=>unref(t)||`${n.value}-id-${r.prefix}-${r.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=t=>{const r=t;r.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(n=>n(r))},useEscapeKeydown=t=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push(t)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(r=>r!==t),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const t=useGetDerivedNamespace(),r=useIdInjection(),n=computed(()=>`${t.value}-popper-container-${r.prefix}`),g=computed(()=>`#${n.value}`);return{id:n,selector:g}},createContainer=t=>{const r=document.createElement("div");return r.id=t,document.body.appendChild(r),r},usePopperContainer=()=>{const{id:t,selector:r}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&!cachedContainer&&!document.body.querySelector(r.value)&&(cachedContainer=createContainer(t.value))}),{id:t,selector:r}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:t,hideAfter:r,autoClose:n,open:g,close:y})=>{const{registerTimeout:L}=useTimeout(),{registerTimeout:$,cancelTimeout:V}=useTimeout();return{onOpen:re=>{L(()=>{g(re);const ae=unref(n);isNumber$2(ae)&&ae>0&&$(()=>{y(re)},ae)},unref(t))},onClose:re=>{V(),L(()=>{y(re)},unref(r))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=t=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:n=>{t.value=n}})},useForwardRefDirective=t=>({mounted(r){t(r)},updated(r){t(r)},unmounted(){t(null)}}),zIndex=ref(0),defaultInitialZIndex=2e3,zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=t=>{const r=t||inject(zIndexContextKey,void 0),n=computed(()=>{const L=unref(r);return isNumber$2(L)?L:defaultInitialZIndex}),g=computed(()=>n.value+zIndex.value);return{initialZIndex:n,currentZIndex:g,nextZIndex:()=>(zIndex.value++,g.value)}},min$3=Math.min,max$3=Math.max,round$4=Math.round,createCoords=t=>({x:t,y:t});function clamp$1(t,r,n){return max$3(t,min$3(r,n))}function evaluate(t,r){return typeof t=="function"?t(r):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return t==="x"?"y":"x"}function getAxisLength(t){return t==="y"?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return typeof t!="number"?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function computeCoordsFromPlacement(t,r,n){let{reference:g,floating:y}=t;const L=getSideAxis(r),$=getAlignmentAxis(r),V=getAxisLength($),z=getSide(r),j=L==="y",re=g.x+g.width/2-y.width/2,ae=g.y+g.height/2-y.height/2,oe=g[V]/2-y[V]/2;let ie;switch(z){case"top":ie={x:re,y:g.y-y.height};break;case"bottom":ie={x:re,y:g.y+g.height};break;case"right":ie={x:g.x+g.width,y:ae};break;case"left":ie={x:g.x-y.width,y:ae};break;default:ie={x:g.x,y:g.y}}switch(getAlignment(r)){case"start":ie[$]-=oe*(n&&j?-1:1);break;case"end":ie[$]+=oe*(n&&j?-1:1);break}return ie}const computePosition$1=async(t,r,n)=>{const{placement:g="bottom",strategy:y="absolute",middleware:L=[],platform:$}=n,V=L.filter(Boolean),z=await($.isRTL==null?void 0:$.isRTL(r));let j=await $.getElementRects({reference:t,floating:r,strategy:y}),{x:re,y:ae}=computeCoordsFromPlacement(j,g,z),oe=g,ie={},le=0;for(let ue=0;ue({name:"arrow",options:t,async fn(r){const{x:n,y:g,placement:y,rects:L,platform:$,elements:V,middlewareData:z}=r,{element:j,padding:re=0}=evaluate(t,r)||{};if(j==null)return{};const ae=getPaddingObject(re),oe={x:n,y:g},ie=getAlignmentAxis(y),le=getAxisLength(ie),ue=await $.getDimensions(j),de=ie==="y",pe=de?"top":"left",he=de?"bottom":"right",_e=de?"clientHeight":"clientWidth",Ce=L.reference[le]+L.reference[ie]-oe[ie]-L.floating[le],$e=oe[ie]-L.reference[ie],xe=await($.getOffsetParent==null?void 0:$.getOffsetParent(j));let Ie=xe?xe[_e]:0;(!Ie||!await($.isElement==null?void 0:$.isElement(xe)))&&(Ie=V.floating[_e]||L.floating[le]);const Ne=Ce/2-$e/2,ze=Ie/2-ue[le]/2-1,Fe=min$3(ae[pe],ze),qe=min$3(ae[he],ze),Et=Fe,kt=Ie-ue[le]-qe,Lt=Ie/2-ue[le]/2+Ne,vn=clamp$1(Et,Lt,kt),jt=!z.arrow&&getAlignment(y)!=null&&Lt!==vn&&L.reference[le]/2-(Lt"u"?!1:t instanceof ShadowRoot||t instanceof getWindow(t).ShadowRoot}function isOverflowElement(t){const{overflow:r,overflowX:n,overflowY:g,display:y}=getComputedStyle$2(t);return/auto|scroll|overlay|hidden|clip/.test(r+g+n)&&!["inline","contents"].includes(y)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const r=isWebKit(),n=getComputedStyle$2(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!r&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!r&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(g=>(n.willChange||"").includes(g))||["paint","layout","strict","content"].some(g=>(n.contain||"").includes(g))}function getContainingBlock(t){let r=getParentNode(t);for(;isHTMLElement(r)&&!isLastTraversableNode(r);){if(isContainingBlock(r))return r;r=getParentNode(r)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName(t))}function getComputedStyle$2(t){return getWindow(t).getComputedStyle(t)}function getNodeScroll(t){return isElement(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getParentNode(t){if(getNodeName(t)==="html")return t;const r=t.assignedSlot||t.parentNode||isShadowRoot(t)&&t.host||getDocumentElement(t);return isShadowRoot(r)?r.host:r}function getNearestOverflowAncestor(t){const r=getParentNode(t);return isLastTraversableNode(r)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement(r)&&isOverflowElement(r)?r:getNearestOverflowAncestor(r)}function getOverflowAncestors(t,r,n){var g;r===void 0&&(r=[]),n===void 0&&(n=!0);const y=getNearestOverflowAncestor(t),L=y===((g=t.ownerDocument)==null?void 0:g.body),$=getWindow(y);return L?r.concat($,$.visualViewport||[],isOverflowElement(y)?y:[],$.frameElement&&n?getOverflowAncestors($.frameElement):[]):r.concat(y,getOverflowAncestors(y,[],n))}function getCssDimensions(t){const r=getComputedStyle$2(t);let n=parseFloat(r.width)||0,g=parseFloat(r.height)||0;const y=isHTMLElement(t),L=y?t.offsetWidth:n,$=y?t.offsetHeight:g,V=round$4(n)!==L||round$4(g)!==$;return V&&(n=L,g=$),{width:n,height:g,$:V}}function unwrapElement(t){return isElement(t)?t:t.contextElement}function getScale(t){const r=unwrapElement(t);if(!isHTMLElement(r))return createCoords(1);const n=r.getBoundingClientRect(),{width:g,height:y,$:L}=getCssDimensions(r);let $=(L?round$4(n.width):n.width)/g,V=(L?round$4(n.height):n.height)/y;return(!$||!Number.isFinite($))&&($=1),(!V||!Number.isFinite(V))&&(V=1),{x:$,y:V}}const noOffsets=createCoords(0);function getVisualOffsets(t){const r=getWindow(t);return!isWebKit()||!r.visualViewport?noOffsets:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function shouldAddVisualOffsets(t,r,n){return r===void 0&&(r=!1),!n||r&&n!==getWindow(t)?!1:r}function getBoundingClientRect(t,r,n,g){r===void 0&&(r=!1),n===void 0&&(n=!1);const y=t.getBoundingClientRect(),L=unwrapElement(t);let $=createCoords(1);r&&(g?isElement(g)&&($=getScale(g)):$=getScale(t));const V=shouldAddVisualOffsets(L,n,g)?getVisualOffsets(L):createCoords(0);let z=(y.left+V.x)/$.x,j=(y.top+V.y)/$.y,re=y.width/$.x,ae=y.height/$.y;if(L){const oe=getWindow(L),ie=g&&isElement(g)?getWindow(g):g;let le=oe,ue=le.frameElement;for(;ue&&g&&ie!==le;){const de=getScale(ue),pe=ue.getBoundingClientRect(),he=getComputedStyle$2(ue),_e=pe.left+(ue.clientLeft+parseFloat(he.paddingLeft))*de.x,Ce=pe.top+(ue.clientTop+parseFloat(he.paddingTop))*de.y;z*=de.x,j*=de.y,re*=de.x,ae*=de.y,z+=_e,j+=Ce,le=getWindow(ue),ue=le.frameElement}}return rectToClientRect({width:re,height:ae,x:z,y:j})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(t){return topLayerSelectors.some(r=>{try{return t.matches(r)}catch{return!1}})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:r,rect:n,offsetParent:g,strategy:y}=t;const L=y==="fixed",$=getDocumentElement(g),V=r?isTopLayer(r.floating):!1;if(g===$||V&&L)return n;let z={scrollLeft:0,scrollTop:0},j=createCoords(1);const re=createCoords(0),ae=isHTMLElement(g);if((ae||!ae&&!L)&&((getNodeName(g)!=="body"||isOverflowElement($))&&(z=getNodeScroll(g)),isHTMLElement(g))){const oe=getBoundingClientRect(g);j=getScale(g),re.x=oe.x+g.clientLeft,re.y=oe.y+g.clientTop}return{width:n.width*j.x,height:n.height*j.y,x:n.x*j.x-z.scrollLeft*j.x+re.x,y:n.y*j.y-z.scrollTop*j.y+re.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getNodeScroll(t).scrollLeft}function getDocumentRect(t){const r=getDocumentElement(t),n=getNodeScroll(t),g=t.ownerDocument.body,y=max$3(r.scrollWidth,r.clientWidth,g.scrollWidth,g.clientWidth),L=max$3(r.scrollHeight,r.clientHeight,g.scrollHeight,g.clientHeight);let $=-n.scrollLeft+getWindowScrollBarX(t);const V=-n.scrollTop;return getComputedStyle$2(g).direction==="rtl"&&($+=max$3(r.clientWidth,g.clientWidth)-y),{width:y,height:L,x:$,y:V}}function getViewportRect(t,r){const n=getWindow(t),g=getDocumentElement(t),y=n.visualViewport;let L=g.clientWidth,$=g.clientHeight,V=0,z=0;if(y){L=y.width,$=y.height;const j=isWebKit();(!j||j&&r==="fixed")&&(V=y.offsetLeft,z=y.offsetTop)}return{width:L,height:$,x:V,y:z}}function getInnerBoundingClientRect(t,r){const n=getBoundingClientRect(t,!0,r==="fixed"),g=n.top+t.clientTop,y=n.left+t.clientLeft,L=isHTMLElement(t)?getScale(t):createCoords(1),$=t.clientWidth*L.x,V=t.clientHeight*L.y,z=y*L.x,j=g*L.y;return{width:$,height:V,x:z,y:j}}function getClientRectFromClippingAncestor(t,r,n){let g;if(r==="viewport")g=getViewportRect(t,n);else if(r==="document")g=getDocumentRect(getDocumentElement(t));else if(isElement(r))g=getInnerBoundingClientRect(r,n);else{const y=getVisualOffsets(t);g={...r,x:r.x-y.x,y:r.y-y.y}}return rectToClientRect(g)}function hasFixedPositionAncestor(t,r){const n=getParentNode(t);return n===r||!isElement(n)||isLastTraversableNode(n)?!1:getComputedStyle$2(n).position==="fixed"||hasFixedPositionAncestor(n,r)}function getClippingElementAncestors(t,r){const n=r.get(t);if(n)return n;let g=getOverflowAncestors(t,[],!1).filter(V=>isElement(V)&&getNodeName(V)!=="body"),y=null;const L=getComputedStyle$2(t).position==="fixed";let $=L?getParentNode(t):t;for(;isElement($)&&!isLastTraversableNode($);){const V=getComputedStyle$2($),z=isContainingBlock($);!z&&V.position==="fixed"&&(y=null),(L?!z&&!y:!z&&V.position==="static"&&!!y&&["absolute","fixed"].includes(y.position)||isOverflowElement($)&&!z&&hasFixedPositionAncestor(t,$))?g=g.filter(re=>re!==$):y=V,$=getParentNode($)}return r.set(t,g),g}function getClippingRect(t){let{element:r,boundary:n,rootBoundary:g,strategy:y}=t;const $=[...n==="clippingAncestors"?getClippingElementAncestors(r,this._c):[].concat(n),g],V=$[0],z=$.reduce((j,re)=>{const ae=getClientRectFromClippingAncestor(r,re,y);return j.top=max$3(ae.top,j.top),j.right=min$3(ae.right,j.right),j.bottom=min$3(ae.bottom,j.bottom),j.left=max$3(ae.left,j.left),j},getClientRectFromClippingAncestor(r,V,y));return{width:z.right-z.left,height:z.bottom-z.top,x:z.left,y:z.top}}function getDimensions(t){const{width:r,height:n}=getCssDimensions(t);return{width:r,height:n}}function getRectRelativeToOffsetParent(t,r,n){const g=isHTMLElement(r),y=getDocumentElement(r),L=n==="fixed",$=getBoundingClientRect(t,!0,L,r);let V={scrollLeft:0,scrollTop:0};const z=createCoords(0);if(g||!g&&!L)if((getNodeName(r)!=="body"||isOverflowElement(y))&&(V=getNodeScroll(r)),g){const ae=getBoundingClientRect(r,!0,L,r);z.x=ae.x+r.clientLeft,z.y=ae.y+r.clientTop}else y&&(z.x=getWindowScrollBarX(y));const j=$.left+V.scrollLeft-z.x,re=$.top+V.scrollTop-z.y;return{x:j,y:re,width:$.width,height:$.height}}function getTrueOffsetParent(t,r){return!isHTMLElement(t)||getComputedStyle$2(t).position==="fixed"?null:r?r(t):t.offsetParent}function getOffsetParent(t,r){const n=getWindow(t);if(!isHTMLElement(t)||isTopLayer(t))return n;let g=getTrueOffsetParent(t,r);for(;g&&isTableElement(g)&&getComputedStyle$2(g).position==="static";)g=getTrueOffsetParent(g,r);return g&&(getNodeName(g)==="html"||getNodeName(g)==="body"&&getComputedStyle$2(g).position==="static"&&!isContainingBlock(g))?n:g||getContainingBlock(t)||n}const getElementRects=async function(t){const r=this.getOffsetParent||getOffsetParent,n=this.getDimensions;return{reference:getRectRelativeToOffsetParent(t.reference,await r(t.floating),t.strategy),floating:{x:0,y:0,...await n(t.floating)}}};function isRTL$1(t){return getComputedStyle$2(t).direction==="rtl"}const platform$3={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL:isRTL$1},arrow=arrow$1,computePosition=(t,r,n)=>{const g=new Map,y={platform:platform$3,...n},L={...y.platform,_c:g};return computePosition$1(t,r,{...y,platform:L})};buildProps({});const unrefReference=t=>{if(!isClient$1)return;if(!t)return t;const r=unrefElement(t);return r||(isRef(t)?r:t)},useFloating=({middleware:t,placement:r,strategy:n})=>{const g=ref(),y=ref(),L=ref(),$=ref(),V=ref({}),z={x:L,y:$,placement:r,strategy:n,middlewareData:V},j=async()=>{if(!isClient$1)return;const re=unrefReference(g),ae=unrefElement(y);if(!re||!ae)return;const oe=await computePosition(re,ae,{placement:unref(r),strategy:unref(n),middleware:unref(t)});keysOf(z).forEach(ie=>{z[ie].value=oe[ie]})};return onMounted(()=>{watchEffect(()=>{j()})}),{...z,update:j,referenceRef:g,contentRef:y}},arrowMiddleware=({arrowRef:t,padding:r})=>({name:"arrow",options:{element:t,padding:r},fn(n){const g=unref(t);return g?arrow({element:g,padding:r}).fn(n):{}}});function useCursor(t){const r=ref();function n(){if(t.value==null)return;const{selectionStart:y,selectionEnd:L,value:$}=t.value;if(y==null||L==null)return;const V=$.slice(0,Math.max(0,y)),z=$.slice(Math.max(0,L));r.value={selectionStart:y,selectionEnd:L,value:$,beforeTxt:V,afterTxt:z}}function g(){if(t.value==null||r.value==null)return;const{value:y}=t.value,{beforeTxt:L,afterTxt:$,selectionStart:V}=r.value;if(L==null||$==null||V==null)return;let z=y.length;if(y.endsWith($))z=y.length-$.length;else if(y.startsWith(L))z=L.length;else{const j=L[V-1],re=y.indexOf(j,V-1);re!==-1&&(z=re+1)}t.value.setSelectionRange(z,z)}return[n,g]}const getOrderedChildren=(t,r,n)=>flattedChildren(t.subTree).filter(L=>{var $;return isVNode(L)&&(($=L.type)==null?void 0:$.name)===r&&!!L.component}).map(L=>L.component.uid).map(L=>n[L]).filter(L=>!!L),useOrderedChildren=(t,r)=>{const n={},g=shallowRef([]);return{children:g,addChild:$=>{n[$.uid]=$,g.value=getOrderedChildren(t,r,n)},removeChild:$=>{delete n[$],g.value=g.value.filter(V=>V.uid!==$)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const t=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(t.size)||"")},configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(t,r=void 0){const n=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return t?computed(()=>{var g,y;return(y=(g=n.value)==null?void 0:g[t])!=null?y:r}):n}function useGlobalComponentSettings(t,r){const n=useGlobalConfig(),g=useNamespace(t,computed(()=>{var V;return((V=n.value)==null?void 0:V.namespace)||defaultNamespace})),y=useLocale(computed(()=>{var V;return(V=n.value)==null?void 0:V.locale})),L=useZIndex(computed(()=>{var V;return((V=n.value)==null?void 0:V.zIndex)||defaultInitialZIndex})),$=computed(()=>{var V;return unref(r)||((V=n.value)==null?void 0:V.size)||""});return provideGlobalConfig(computed(()=>unref(n)||{})),{ns:g,locale:y,zIndex:L,size:$}}const provideGlobalConfig=(t,r,n=!1)=>{var g;const y=!!getCurrentInstance(),L=y?useGlobalConfig():void 0,$=(g=r==null?void 0:r.provide)!=null?g:y?provide:void 0;if(!$)return;const V=computed(()=>{const z=unref(t);return L!=null&&L.value?mergeConfig$1(L.value,z):z});return $(configProviderContextKey,V),$(localeContextKey,computed(()=>V.value.locale)),$(namespaceContextKey,computed(()=>V.value.namespace)),$(zIndexContextKey,computed(()=>V.value.zIndex)),$(SIZE_INJECTION_KEY,{size:computed(()=>V.value.size||"")}),(n||!globalConfig.value)&&(globalConfig.value=V.value),V},mergeConfig$1=(t,r)=>{var n;const g=[...new Set([...keysOf(t),...keysOf(r)])],y={};for(const L of g)y[L]=(n=r[L])!=null?n:t[L];return y},configProviderProps=buildProps({a11y:{type:Boolean,default:!0},locale:{type:definePropType(Object)},size:useSizeProp,button:{type:definePropType(Object)},experimentalFeatures:{type:definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(t,{slots:r}){watch(()=>t.message,g=>{Object.assign(messageConfig,g??{})},{immediate:!0,deep:!0});const n=provideGlobalConfig(t);return()=>renderSlot(r,"default",{config:n==null?void 0:n.value})}}),ElConfigProvider=withInstall(ConfigProvider),version="2.3.4",makeInstaller=(t=[])=>({version,install:(n,g)=>{n[INSTALLED_KEY]||(n[INSTALLED_KEY]=!0,t.forEach(y=>n.use(y)),g&&provideGlobalConfig(g,n,!0))}}),affixProps=buildProps({zIndex:{type:definePropType([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),affixEmits={scroll:({scrollTop:t,fixed:r})=>isNumber$2(t)&&isBoolean$1(r),[CHANGE_EVENT]:t=>isBoolean$1(t)};var _export_sfc$1=(t,r)=>{const n=t.__vccOpts||t;for(const[g,y]of r)n[g]=y;return n};const COMPONENT_NAME$n="ElAffix",__default__$1D=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2n=defineComponent({...__default__$1D,props:affixProps,emits:affixEmits,setup(t,{expose:r,emit:n}){const g=t,y=useNamespace("affix"),L=shallowRef(),$=shallowRef(),V=shallowRef(),{height:z}=useWindowSize(),{height:j,width:re,top:ae,bottom:oe,update:ie}=useElementBounding($,{windowScroll:!1}),le=useElementBounding(L),ue=ref(!1),de=ref(0),pe=ref(0),he=computed(()=>({height:ue.value?`${j.value}px`:"",width:ue.value?`${re.value}px`:""})),_e=computed(()=>{if(!ue.value)return{};const xe=g.offset?addUnit(g.offset):0;return{height:`${j.value}px`,width:`${re.value}px`,top:g.position==="top"?xe:"",bottom:g.position==="bottom"?xe:"",transform:pe.value?`translateY(${pe.value}px)`:"",zIndex:g.zIndex}}),Ce=()=>{if(V.value)if(de.value=V.value instanceof Window?document.documentElement.scrollTop:V.value.scrollTop||0,g.position==="top")if(g.target){const xe=le.bottom.value-g.offset-j.value;ue.value=g.offset>ae.value&&le.bottom.value>0,pe.value=xe<0?xe:0}else ue.value=g.offset>ae.value;else if(g.target){const xe=z.value-le.top.value-g.offset-j.value;ue.value=z.value-g.offsetle.top.value,pe.value=xe<0?-xe:0}else ue.value=z.value-g.offset{ie(),n("scroll",{scrollTop:de.value,fixed:ue.value})};return watch(ue,xe=>n("change",xe)),onMounted(()=>{var xe;g.target?(L.value=(xe=document.querySelector(g.target))!=null?xe:void 0,L.value||throwError$1(COMPONENT_NAME$n,`Target is not existed: ${g.target}`)):L.value=document.documentElement,V.value=getScrollContainer($.value,!0),ie()}),useEventListener(V,"scroll",$e),watchEffect(Ce),r({update:Ce,updateRoot:ie}),(xe,Ie)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:$,class:normalizeClass(unref(y).b()),style:normalizeStyle$1(unref(he))},[createBaseVNode("div",{class:normalizeClass({[unref(y).m("fixed")]:ue.value}),style:normalizeStyle$1(unref(_e))},[renderSlot(xe.$slots,"default")],6)],6))}});var Affix=_export_sfc$1(_sfc_main$2n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1C=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2m=defineComponent({...__default__$1C,props:iconProps,setup(t){const r=t,n=useNamespace("icon"),g=computed(()=>{const{size:y,color:L}=r;return!y&&!L?{}:{fontSize:isUndefined$1(y)?void 0:addUnit(y),"--color":L}});return(y,L)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(n).b(),style:unref(g)},y.$attrs),[renderSlot(y.$slots,"default")],16))}});var Icon$1=_export_sfc$1(_sfc_main$2m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ElIcon=withInstall(Icon$1),alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:t=>t instanceof MouseEvent},__default__$1B=defineComponent({name:"ElAlert"}),_sfc_main$2l=defineComponent({...__default__$1B,props:alertProps,emits:alertEmits,setup(t,{emit:r}){const n=t,{Close:g}=TypeComponents,y=useSlots(),L=useNamespace("alert"),$=ref(!0),V=computed(()=>TypeComponentsMap[n.type]),z=computed(()=>[L.e("icon"),{[L.is("big")]:!!n.description||!!y.default}]),j=computed(()=>({[L.is("bold")]:n.description||y.default})),re=ae=>{$.value=!1,r("close",ae)};return(ae,oe)=>(openBlock(),createBlock(Transition,{name:unref(L).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(L).b(),unref(L).m(ae.type),unref(L).is("center",ae.center),unref(L).is(ae.effect)]),role:"alert"},[ae.showIcon&&unref(V)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(z))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(V))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(L).e("content"))},[ae.title||ae.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(L).e("title"),unref(j)])},[renderSlot(ae.$slots,"title",{},()=>[createTextVNode(toDisplayString(ae.title),1)])],2)):createCommentVNode("v-if",!0),ae.$slots.default||ae.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(L).e("description"))},[renderSlot(ae.$slots,"default",{},()=>[createTextVNode(toDisplayString(ae.description),1)])],2)):createCommentVNode("v-if",!0),ae.closable?(openBlock(),createElementBlock(Fragment,{key:2},[ae.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(L).e("close-btn"),unref(L).is("customed")]),onClick:re},toDisplayString(ae.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(L).e("close-btn")),onClick:re},{default:withCtx(()=>[createVNode$1(unref(g))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,$.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$2l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(t,r={})=>{const n=ref(void 0),g=r.prop?n:useProp("size"),y=r.global?n:useGlobalSize(),L=r.form?{size:void 0}:inject(formContextKey,void 0),$=r.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>g.value||unref(t)||($==null?void 0:$.size)||(L==null?void 0:L.size)||y.value||"")},useFormDisabled=t=>{const r=useProp("disabled"),n=inject(formContextKey,void 0);return computed(()=>r.value||unref(t)||(n==null?void 0:n.disabled)||!1)},useFormItem=()=>{const t=inject(formContextKey,void 0),r=inject(formItemContextKey,void 0);return{form:t,formItem:r}},useFormItemInputId=(t,{formItemContext:r,disableIdGeneration:n,disableIdManagement:g})=>{n||(n=ref(!1)),g||(g=ref(!1));const y=ref();let L;const $=computed(()=>{var V;return!!(!t.label&&r&&r.inputIds&&((V=r.inputIds)==null?void 0:V.length)<=1)});return onMounted(()=>{L=watch([toRef(t,"id"),n],([V,z])=>{const j=V??(z?void 0:useId().value);j!==y.value&&(r!=null&&r.removeInputId&&(y.value&&r.removeInputId(y.value),!(g!=null&&g.value)&&!z&&j&&r.addInputId(j)),y.value=j)},{immediate:!0})}),onUnmounted(()=>{L&&L(),r!=null&&r.removeInputId&&y.value&&r.removeInputId(y.value)}),{isLabeledByFormItem:$,inputId:y}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(t,r,n)=>(isArray$6(t)||isString$3(t))&&isBoolean$1(r)&&isString$3(n)};function useFormLabelWidth(){const t=ref([]),r=computed(()=>{if(!t.value.length)return"0";const L=Math.max(...t.value);return L?`${L}px`:""});function n(L){const $=t.value.indexOf(L);return $===-1&&r.value,$}function g(L,$){if(L&&$){const V=n($);t.value.splice(V,1,L)}else L&&t.value.push(L)}function y(L){const $=n(L);$>-1&&t.value.splice($,1)}return{autoLabelWidth:r,registerLabelWidth:g,deregisterLabelWidth:y}}const filterFields=(t,r)=>{const n=castArray$1(r);return n.length>0?t.filter(g=>g.prop&&n.includes(g.prop)):t},COMPONENT_NAME$m="ElForm",__default__$1A=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2k=defineComponent({...__default__$1A,props:formProps,emits:formEmits,setup(t,{expose:r,emit:n}){const g=t,y=[],L=useFormSize(),$=useNamespace("form"),V=computed(()=>{const{labelPosition:he,inline:_e}=g;return[$.b(),$.m(L.value||"default"),{[$.m(`label-${he}`)]:he,[$.m("inline")]:_e}]}),z=he=>{y.push(he)},j=he=>{he.prop&&y.splice(y.indexOf(he),1)},re=(he=[])=>{g.model&&filterFields(y,he).forEach(_e=>_e.resetField())},ae=(he=[])=>{filterFields(y,he).forEach(_e=>_e.clearValidate())},oe=computed(()=>!!g.model),ie=he=>{if(y.length===0)return[];const _e=filterFields(y,he);return _e.length?_e:[]},le=async he=>de(void 0,he),ue=async(he=[])=>{if(!oe.value)return!1;const _e=ie(he);if(_e.length===0)return!0;let Ce={};for(const $e of _e)try{await $e.validate("")}catch(xe){Ce={...Ce,...xe}}return Object.keys(Ce).length===0?!0:Promise.reject(Ce)},de=async(he=[],_e)=>{const Ce=!isFunction$4(_e);try{const $e=await ue(he);return $e===!0&&(_e==null||_e($e)),$e}catch($e){if($e instanceof Error)throw $e;const xe=$e;return g.scrollToError&&pe(Object.keys(xe)[0]),_e==null||_e(!1,xe),Ce&&Promise.reject(xe)}},pe=he=>{var _e;const Ce=filterFields(y,he)[0];Ce&&((_e=Ce.$el)==null||_e.scrollIntoView(g.scrollIntoViewOptions))};return watch(()=>g.rules,()=>{g.validateOnRuleChange&&le().catch(he=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(g),emit:n,resetFields:re,clearValidate:ae,validateField:de,addField:z,removeField:j,...useFormLabelWidth()})),r({validate:le,validateField:de,resetFields:re,clearValidate:ae,scrollToField:pe}),(he,_e)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(V))},[renderSlot(he.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$2k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function _extends(){return _extends=Object.assign?Object.assign.bind():function(t){for(var r=1;r"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(t,r,n){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(y,L,$){var V=[null];V.push.apply(V,L);var z=Function.bind.apply(y,V),j=new z;return $&&_setPrototypeOf(j,$.prototype),j},_construct.apply(null,arguments)}function _isNativeFunction(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _wrapNativeSuper(t){var r=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(g){if(g===null||!_isNativeFunction(g))return g;if(typeof g!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(g))return r.get(g);r.set(g,y)}function y(){return _construct(g,arguments,_getPrototypeOf(this).constructor)}return y.prototype=Object.create(g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(y,g)},_wrapNativeSuper(t)}var formatRegExp=/%[sdj%]/g,warning=function(){};typeof process<"u"&&process.env;function convertFieldsError(t){if(!t||!t.length)return null;var r={};return t.forEach(function(n){var g=n.field;r[g]=r[g]||[],r[g].push(n)}),r}function format$1(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),g=1;g=L)return V;switch(V){case"%s":return String(n[y++]);case"%d":return Number(n[y++]);case"%j":try{return JSON.stringify(n[y++])}catch{return"[Circular]"}break;default:return V}});return $}return t}function isNativeStringType(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function isEmptyValue$1(t,r){return!!(t==null||r==="array"&&Array.isArray(t)&&!t.length||isNativeStringType(r)&&typeof t=="string"&&!t)}function asyncParallelArray(t,r,n){var g=[],y=0,L=t.length;function $(V){g.push.apply(g,V||[]),y++,y===L&&n(g)}t.forEach(function(V){r(V,$)})}function asyncSerialArray(t,r,n){var g=0,y=t.length;function L($){if($&&$.length){n($);return}var V=g;g=g+1,V()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types={integer:function(r){return types.number(r)&&parseInt(r,10)===r},float:function(r){return types.number(r)&&!types.integer(r)},array:function(r){return Array.isArray(r)},regexp:function(r){if(r instanceof RegExp)return!0;try{return!!new RegExp(r)}catch{return!1}},date:function(r){return typeof r.getTime=="function"&&typeof r.getMonth=="function"&&typeof r.getYear=="function"&&!isNaN(r.getTime())},number:function(r){return isNaN(r)?!1:typeof r=="number"},object:function(r){return typeof r=="object"&&!types.array(r)},method:function(r){return typeof r=="function"},email:function(r){return typeof r=="string"&&r.length<=320&&!!r.match(pattern$2.email)},url:function(r){return typeof r=="string"&&r.length<=2048&&!!r.match(getUrlRegex())},hex:function(r){return typeof r=="string"&&!!r.match(pattern$2.hex)}},type$1=function(r,n,g,y,L){if(r.required&&n===void 0){required$1(r,n,g,y,L);return}var $=["integer","float","array","regexp","object","method","email","number","date","url","hex"],V=r.type;$.indexOf(V)>-1?types[V](n)||y.push(format$1(L.messages.types[V],r.fullField,r.type)):V&&typeof n!==r.type&&y.push(format$1(L.messages.types[V],r.fullField,r.type))},range=function(r,n,g,y,L){var $=typeof r.len=="number",V=typeof r.min=="number",z=typeof r.max=="number",j=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=n,ae=null,oe=typeof n=="number",ie=typeof n=="string",le=Array.isArray(n);if(oe?ae="number":ie?ae="string":le&&(ae="array"),!ae)return!1;le&&(re=n.length),ie&&(re=n.replace(j,"_").length),$?re!==r.len&&y.push(format$1(L.messages[ae].len,r.fullField,r.len)):V&&!z&&rer.max?y.push(format$1(L.messages[ae].max,r.fullField,r.max)):V&&z&&(rer.max)&&y.push(format$1(L.messages[ae].range,r.fullField,r.min,r.max))},ENUM$1="enum",enumerable$1=function(r,n,g,y,L){r[ENUM$1]=Array.isArray(r[ENUM$1])?r[ENUM$1]:[],r[ENUM$1].indexOf(n)===-1&&y.push(format$1(L.messages[ENUM$1],r.fullField,r[ENUM$1].join(", ")))},pattern$1=function(r,n,g,y,L){if(r.pattern){if(r.pattern instanceof RegExp)r.pattern.lastIndex=0,r.pattern.test(n)||y.push(format$1(L.messages.pattern.mismatch,r.fullField,n,r.pattern));else if(typeof r.pattern=="string"){var $=new RegExp(r.pattern);$.test(n)||y.push(format$1(L.messages.pattern.mismatch,r.fullField,n,r.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n,"string")&&!r.required)return g();rules.required(r,n,y,$,L,"string"),isEmptyValue$1(n,"string")||(rules.type(r,n,y,$,L),rules.range(r,n,y,$,L),rules.pattern(r,n,y,$,L),r.whitespace===!0&&rules.whitespace(r,n,y,$,L))}g($)},method=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L),n!==void 0&&rules.type(r,n,y,$,L)}g($)},number=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(n===""&&(n=void 0),isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L),n!==void 0&&(rules.type(r,n,y,$,L),rules.range(r,n,y,$,L))}g($)},_boolean=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L),n!==void 0&&rules.type(r,n,y,$,L)}g($)},regexp$1=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L),isEmptyValue$1(n)||rules.type(r,n,y,$,L)}g($)},integer=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L),n!==void 0&&(rules.type(r,n,y,$,L),rules.range(r,n,y,$,L))}g($)},floatFn=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L),n!==void 0&&(rules.type(r,n,y,$,L),rules.range(r,n,y,$,L))}g($)},array=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(n==null&&!r.required)return g();rules.required(r,n,y,$,L,"array"),n!=null&&(rules.type(r,n,y,$,L),rules.range(r,n,y,$,L))}g($)},object=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L),n!==void 0&&rules.type(r,n,y,$,L)}g($)},ENUM="enum",enumerable=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L),n!==void 0&&rules[ENUM](r,n,y,$,L)}g($)},pattern=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n,"string")&&!r.required)return g();rules.required(r,n,y,$,L),isEmptyValue$1(n,"string")||rules.pattern(r,n,y,$,L)}g($)},date$1=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n,"date")&&!r.required)return g();if(rules.required(r,n,y,$,L),!isEmptyValue$1(n,"date")){var z;n instanceof Date?z=n:z=new Date(n),rules.type(r,z,y,$,L),z&&rules.range(r,z.getTime(),y,$,L)}}g($)},required=function(r,n,g,y,L){var $=[],V=Array.isArray(n)?"array":typeof n;rules.required(r,n,y,$,L,V),g($)},type=function(r,n,g,y,L){var $=r.type,V=[],z=r.required||!r.required&&y.hasOwnProperty(r.field);if(z){if(isEmptyValue$1(n,$)&&!r.required)return g();rules.required(r,n,y,V,L,$),isEmptyValue$1(n,$)||rules.type(r,n,y,V,L)}g(V)},any=function(r,n,g,y,L){var $=[],V=r.required||!r.required&&y.hasOwnProperty(r.field);if(V){if(isEmptyValue$1(n)&&!r.required)return g();rules.required(r,n,y,$,L)}g($)},validators$2={string,method,number,boolean:_boolean,regexp:regexp$1,integer,float:floatFn,array,object,enum:enumerable,pattern,date:date$1,url:type,hex:type,email:type,required,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var r=JSON.parse(JSON.stringify(this));return r.clone=this.clone,r}}}var messages=newMessages(),Schema=function(){function t(n){this.rules=null,this._messages=messages,this.define(n)}var r=t.prototype;return r.define=function(g){var y=this;if(!g)throw new Error("Cannot configure a schema with no rules");if(typeof g!="object"||Array.isArray(g))throw new Error("Rules must be an object");this.rules={},Object.keys(g).forEach(function(L){var $=g[L];y.rules[L]=Array.isArray($)?$:[$]})},r.messages=function(g){return g&&(this._messages=deepMerge(newMessages(),g)),this._messages},r.validate=function(g,y,L){var $=this;y===void 0&&(y={}),L===void 0&&(L=function(){});var V=g,z=y,j=L;if(typeof z=="function"&&(j=z,z={}),!this.rules||Object.keys(this.rules).length===0)return j&&j(null,V),Promise.resolve(V);function re(ue){var de=[],pe={};function he(Ce){if(Array.isArray(Ce)){var $e;de=($e=de).concat.apply($e,Ce)}else de.push(Ce)}for(var _e=0;_e");const y=useNamespace("form"),L=ref(),$=ref(0),V=()=>{var re;if((re=L.value)!=null&&re.firstElementChild){const ae=window.getComputedStyle(L.value.firstElementChild).width;return Math.ceil(Number.parseFloat(ae))}else return 0},z=(re="update")=>{nextTick(()=>{r.default&&t.isAutoWidth&&(re==="update"?$.value=V():re==="remove"&&(n==null||n.deregisterLabelWidth($.value)))})},j=()=>z("update");return onMounted(()=>{j()}),onBeforeUnmount(()=>{z("remove")}),onUpdated(()=>j()),watch($,(re,ae)=>{t.updateAll&&(n==null||n.registerLabelWidth(re,ae))}),useResizeObserver(computed(()=>{var re,ae;return(ae=(re=L.value)==null?void 0:re.firstElementChild)!=null?ae:null}),j),()=>{var re,ae;if(!r)return null;const{isAutoWidth:oe}=t;if(oe){const ie=n==null?void 0:n.autoLabelWidth,le=g==null?void 0:g.hasLabel,ue={};if(le&&ie&&ie!=="auto"){const de=Math.max(0,Number.parseInt(ie,10)-$.value),pe=n.labelPosition==="left"?"marginRight":"marginLeft";de&&(ue[pe]=`${de}px`)}return createVNode$1("div",{ref:L,class:[y.be("item","label-wrap")],style:ue},[(re=r.default)==null?void 0:re.call(r)])}else return createVNode$1(Fragment,{ref:L},[(ae=r.default)==null?void 0:ae.call(r)])}}});const _hoisted_1$15=["role","aria-labelledby"],__default__$1z=defineComponent({name:"ElFormItem"}),_sfc_main$2j=defineComponent({...__default__$1z,props:formItemProps,setup(t,{expose:r}){const n=t,g=useSlots(),y=inject(formContextKey,void 0),L=inject(formItemContextKey,void 0),$=useFormSize(void 0,{formItem:!1}),V=useNamespace("form-item"),z=useId().value,j=ref([]),re=ref(""),ae=refDebounced(re,100),oe=ref(""),ie=ref();let le,ue=!1;const de=computed(()=>{if((y==null?void 0:y.labelPosition)==="top")return{};const In=addUnit(n.labelWidth||(y==null?void 0:y.labelWidth)||"");return In?{width:In}:{}}),pe=computed(()=>{if((y==null?void 0:y.labelPosition)==="top"||y!=null&&y.inline)return{};if(!n.label&&!n.labelWidth&&ze)return{};const In=addUnit(n.labelWidth||(y==null?void 0:y.labelWidth)||"");return!n.label&&!g.label?{marginLeft:In}:{}}),he=computed(()=>[V.b(),V.m($.value),V.is("error",re.value==="error"),V.is("validating",re.value==="validating"),V.is("success",re.value==="success"),V.is("required",Lt.value||n.required),V.is("no-asterisk",y==null?void 0:y.hideRequiredAsterisk),(y==null?void 0:y.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[V.m("feedback")]:y==null?void 0:y.statusIcon}]),_e=computed(()=>isBoolean$1(n.inlineMessage)?n.inlineMessage:(y==null?void 0:y.inlineMessage)||!1),Ce=computed(()=>[V.e("error"),{[V.em("error","inline")]:_e.value}]),$e=computed(()=>n.prop?isString$3(n.prop)?n.prop:n.prop.join("."):""),xe=computed(()=>!!(n.label||g.label)),Ie=computed(()=>n.for||j.value.length===1?j.value[0]:void 0),Ne=computed(()=>!Ie.value&&xe.value),ze=!!L,Fe=computed(()=>{const In=y==null?void 0:y.model;if(!(!In||!n.prop))return getProp(In,n.prop).value}),qe=computed(()=>{const{required:In}=n,Mn=[];n.rules&&Mn.push(...castArray$1(n.rules));const Vn=y==null?void 0:y.rules;if(Vn&&n.prop){const zn=getProp(Vn,n.prop).value;zn&&Mn.push(...castArray$1(zn))}if(In!==void 0){const zn=Mn.map((Jn,tr)=>[Jn,tr]).filter(([Jn])=>Object.keys(Jn).includes("required"));if(zn.length>0)for(const[Jn,tr]of zn)Jn.required!==In&&(Mn[tr]={...Jn,required:In});else Mn.push({required:In})}return Mn}),Et=computed(()=>qe.value.length>0),kt=In=>qe.value.filter(Vn=>!Vn.trigger||!In?!0:Array.isArray(Vn.trigger)?Vn.trigger.includes(In):Vn.trigger===In).map(({trigger:Vn,...zn})=>zn),Lt=computed(()=>qe.value.some(In=>In.required)),vn=computed(()=>{var In;return ae.value==="error"&&n.showMessage&&((In=y==null?void 0:y.showMessage)!=null?In:!0)}),jt=computed(()=>`${n.label||""}${(y==null?void 0:y.labelSuffix)||""}`),At=In=>{re.value=In},hn=In=>{var Mn,Vn;const{errors:zn,fields:Jn}=In;(!zn||!Jn)&&console.error(In),At("error"),oe.value=zn?(Vn=(Mn=zn==null?void 0:zn[0])==null?void 0:Mn.message)!=null?Vn:`${n.prop} is required`:"",y==null||y.emit("validate",n.prop,!1,oe.value)},bn=()=>{At("success"),y==null||y.emit("validate",n.prop,!0,"")},Cn=async In=>{const Mn=$e.value;return new Schema({[Mn]:In}).validate({[Mn]:Fe.value},{firstFields:!0}).then(()=>(bn(),!0)).catch(zn=>(hn(zn),Promise.reject(zn)))},Tn=async(In,Mn)=>{if(ue||!n.prop)return!1;const Vn=isFunction$4(Mn);if(!Et.value)return Mn==null||Mn(!1),!1;const zn=kt(In);return zn.length===0?(Mn==null||Mn(!0),!0):(At("validating"),Cn(zn).then(()=>(Mn==null||Mn(!0),!0)).catch(Jn=>{const{fields:tr}=Jn;return Mn==null||Mn(!1,tr),Vn?!1:Promise.reject(tr)}))},xn=()=>{At(""),oe.value="",ue=!1},En=async()=>{const In=y==null?void 0:y.model;if(!In||!n.prop)return;const Mn=getProp(In,n.prop);ue=!0,Mn.value=clone$5(le),await nextTick(),xn(),ue=!1},kn=In=>{j.value.includes(In)||j.value.push(In)},On=In=>{j.value=j.value.filter(Mn=>Mn!==In)};watch(()=>n.error,In=>{oe.value=In||"",At(In?"error":"")},{immediate:!0}),watch(()=>n.validateStatus,In=>At(In||""));const Rn=reactive({...toRefs(n),$el:ie,size:$,validateState:re,labelId:z,inputIds:j,isGroup:Ne,hasLabel:xe,addInputId:kn,removeInputId:On,resetField:En,clearValidate:xn,validate:Tn});return provide(formItemContextKey,Rn),onMounted(()=>{n.prop&&(y==null||y.addField(Rn),le=clone$5(Fe.value))}),onBeforeUnmount(()=>{y==null||y.removeField(Rn)}),r({size:$,validateMessage:oe,validateState:re,validate:Tn,clearValidate:xn,resetField:En}),(In,Mn)=>{var Vn;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:ie,class:normalizeClass(unref(he)),role:unref(Ne)?"group":void 0,"aria-labelledby":unref(Ne)?unref(z):void 0},[createVNode$1(unref(FormLabelWrap),{"is-auto-width":unref(de).width==="auto","update-all":((Vn=unref(y))==null?void 0:Vn.labelWidth)==="auto"},{default:withCtx(()=>[unref(xe)?(openBlock(),createBlock(resolveDynamicComponent(unref(Ie)?"label":"div"),{key:0,id:unref(z),for:unref(Ie),class:normalizeClass(unref(V).e("label")),style:normalizeStyle$1(unref(de))},{default:withCtx(()=>[renderSlot(In.$slots,"label",{label:unref(jt)},()=>[createTextVNode(toDisplayString(unref(jt)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(V).e("content")),style:normalizeStyle$1(unref(pe))},[renderSlot(In.$slots,"default"),createVNode$1(TransitionGroup,{name:`${unref(V).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(vn)?renderSlot(In.$slots,"error",{key:0,error:oe.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Ce))},toDisplayString(oe.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$15)}}});var FormItem=_export_sfc$1(_sfc_main$2j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem);let hiddenTextarea;const HIDDEN_STYLE=` - height:0 !important; - visibility:hidden !important; - ${isFirefox()?"":"overflow:hidden !important;"} - position:absolute !important; - z-index:-1000 !important; - top:0 !important; - right:0 !important; -`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(t){const r=window.getComputedStyle(t),n=r.getPropertyValue("box-sizing"),g=Number.parseFloat(r.getPropertyValue("padding-bottom"))+Number.parseFloat(r.getPropertyValue("padding-top")),y=Number.parseFloat(r.getPropertyValue("border-bottom-width"))+Number.parseFloat(r.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map($=>`${$}:${r.getPropertyValue($)}`).join(";"),paddingSize:g,borderSize:y,boxSizing:n}}function calcTextareaHeight(t,r=1,n){var g;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:y,borderSize:L,boxSizing:$,contextStyle:V}=calculateNodeStyling(t);hiddenTextarea.setAttribute("style",`${V};${HIDDEN_STYLE}`),hiddenTextarea.value=t.value||t.placeholder||"";let z=hiddenTextarea.scrollHeight;const j={};$==="border-box"?z=z+L:$==="content-box"&&(z=z-y),hiddenTextarea.value="";const re=hiddenTextarea.scrollHeight-y;if(isNumber$2(r)){let ae=re*r;$==="border-box"&&(ae=ae+y+L),z=Math.max(ae,z),j.minHeight=`${ae}px`}if(isNumber$2(n)){let ae=re*n;$==="border-box"&&(ae=ae+y+L),z=Math.min(ae,z)}return j.height=`${z}px`,(g=hiddenTextarea.parentNode)==null||g.removeChild(hiddenTextarea),hiddenTextarea=void 0,j}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})}}),inputEmits={[UPDATE_MODEL_EVENT]:t=>isString$3(t),input:t=>isString$3(t),change:t=>isString$3(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,mouseleave:t=>t instanceof MouseEvent,mouseenter:t=>t instanceof MouseEvent,keydown:t=>t instanceof Event,compositionstart:t=>t instanceof CompositionEvent,compositionupdate:t=>t instanceof CompositionEvent,compositionend:t=>t instanceof CompositionEvent},_hoisted_1$14=["role"],_hoisted_2$I=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],_hoisted_3$n=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],__default__$1y=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2i=defineComponent({...__default__$1y,props:inputProps,emits:inputEmits,setup(t,{expose:r,emit:n}){const g=t,y=useAttrs$1(),L=useSlots(),$=computed(()=>{const er={};return g.containerRole==="combobox"&&(er["aria-haspopup"]=y["aria-haspopup"],er["aria-owns"]=y["aria-owns"],er["aria-expanded"]=y["aria-expanded"]),er}),V=computed(()=>[g.type==="textarea"?de.b():ue.b(),ue.m(ie.value),ue.is("disabled",le.value),ue.is("exceed",Tn.value),{[ue.b("group")]:L.prepend||L.append,[ue.bm("group","append")]:L.append,[ue.bm("group","prepend")]:L.prepend,[ue.m("prefix")]:L.prefix||g.prefixIcon,[ue.m("suffix")]:L.suffix||g.suffixIcon||g.clearable||g.showPassword,[ue.bm("suffix","password-clear")]:At.value&&hn.value},y.class]),z=computed(()=>[ue.e("wrapper"),ue.is("focus",_e.value)]),j=useAttrs({excludeKeys:computed(()=>Object.keys($.value))}),{form:re,formItem:ae}=useFormItem(),{inputId:oe}=useFormItemInputId(g,{formItemContext:ae}),ie=useFormSize(),le=useFormDisabled(),ue=useNamespace("input"),de=useNamespace("textarea"),pe=shallowRef(),he=shallowRef(),_e=ref(!1),Ce=ref(!1),$e=ref(!1),xe=ref(!1),Ie=ref(),Ne=shallowRef(g.inputStyle),ze=computed(()=>pe.value||he.value),Fe=computed(()=>{var er;return(er=re==null?void 0:re.statusIcon)!=null?er:!1}),qe=computed(()=>(ae==null?void 0:ae.validateState)||""),Et=computed(()=>qe.value&&ValidateComponentsMap[qe.value]),kt=computed(()=>xe.value?view_default:hide_default),Lt=computed(()=>[y.style,g.inputStyle]),vn=computed(()=>[g.inputStyle,Ne.value,{resize:g.resize}]),jt=computed(()=>isNil(g.modelValue)?"":String(g.modelValue)),At=computed(()=>g.clearable&&!le.value&&!g.readonly&&!!jt.value&&(_e.value||Ce.value)),hn=computed(()=>g.showPassword&&!le.value&&!g.readonly&&!!jt.value&&(!!jt.value||_e.value)),bn=computed(()=>g.showWordLimit&&!!j.value.maxlength&&(g.type==="text"||g.type==="textarea")&&!le.value&&!g.readonly&&!g.showPassword),Cn=computed(()=>jt.value.length),Tn=computed(()=>!!bn.value&&Cn.value>Number(j.value.maxlength)),xn=computed(()=>!!L.suffix||!!g.suffixIcon||At.value||g.showPassword||bn.value||!!qe.value&&Fe.value),[En,kn]=useCursor(pe);useResizeObserver(he,er=>{if(In(),!bn.value||g.resize!=="both")return;const br=er[0],{width:wr}=br.contentRect;Ie.value={right:`calc(100% - ${wr+15+6}px)`}});const On=()=>{const{type:er,autosize:br}=g;if(!(!isClient$1||er!=="textarea"||!he.value))if(br){const wr=isObject$7(br)?br.minRows:void 0,$r=isObject$7(br)?br.maxRows:void 0,Mr=calcTextareaHeight(he.value,wr,$r);Ne.value={overflowY:"hidden",...Mr},nextTick(()=>{he.value.offsetHeight,Ne.value=Mr})}else Ne.value={minHeight:calcTextareaHeight(he.value).minHeight}},In=(er=>{let br=!1;return()=>{var wr;if(br||!g.autosize)return;((wr=he.value)==null?void 0:wr.offsetParent)===null||(er(),br=!0)}})(On),Mn=()=>{const er=ze.value;!er||er.value===jt.value||(er.value=jt.value)},Vn=async er=>{En();let{value:br}=er.target;if(g.formatter&&(br=g.parser?g.parser(br):br,br=g.formatter(br)),!$e.value){if(br===jt.value){Mn();return}n(UPDATE_MODEL_EVENT,br),n("input",br),await nextTick(),Mn(),kn()}},zn=er=>{n("change",er.target.value)},Jn=er=>{n("compositionstart",er),$e.value=!0},tr=er=>{var br;n("compositionupdate",er);const wr=(br=er.target)==null?void 0:br.value,$r=wr[wr.length-1]||"";$e.value=!isKorean($r)},$n=er=>{n("compositionend",er),$e.value&&($e.value=!1,Vn(er))},Pn=()=>{xe.value=!xe.value,Bn()},Bn=async()=>{var er;await nextTick(),(er=ze.value)==null||er.focus()},Un=()=>{var er;return(er=ze.value)==null?void 0:er.blur()},Fn=er=>{_e.value=!0,n("focus",er)},cr=er=>{var br;_e.value=!1,n("blur",er),g.validateEvent&&((br=ae==null?void 0:ae.validate)==null||br.call(ae,"blur").catch(wr=>void 0))},ur=er=>{Ce.value=!1,n("mouseleave",er)},vr=er=>{Ce.value=!0,n("mouseenter",er)},Yn=er=>{n("keydown",er)},gr=()=>{var er;(er=ze.value)==null||er.select()},lr=()=>{n(UPDATE_MODEL_EVENT,""),n("change",""),n("clear"),n("input","")};return watch(()=>g.modelValue,()=>{var er;nextTick(()=>On()),g.validateEvent&&((er=ae==null?void 0:ae.validate)==null||er.call(ae,"change").catch(br=>void 0))}),watch(jt,()=>Mn()),watch(()=>g.type,async()=>{await nextTick(),Mn(),On()}),onMounted(()=>{!g.formatter&&g.parser,Mn(),nextTick(On)}),r({input:pe,textarea:he,ref:ze,textareaStyle:vn,autosize:toRef(g,"autosize"),focus:Bn,blur:Un,select:gr,clear:lr,resizeTextarea:On}),(er,br)=>withDirectives((openBlock(),createElementBlock("div",mergeProps(unref($),{class:unref(V),style:unref(Lt),role:er.containerRole,onMouseenter:vr,onMouseleave:ur}),[createCommentVNode(" input "),er.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),er.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).be("group","prepend"))},[renderSlot(er.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(z))},[createCommentVNode(" prefix slot "),er.$slots.prefix||er.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(ue).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(ue).e("prefix-inner")),onClick:Bn},[renderSlot(er.$slots,"prefix"),er.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(er.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(oe),ref_key:"input",ref:pe,class:unref(ue).e("inner")},unref(j),{type:er.showPassword?xe.value?"text":"password":er.type,disabled:unref(le),formatter:er.formatter,parser:er.parser,readonly:er.readonly,autocomplete:er.autocomplete,tabindex:er.tabindex,"aria-label":er.label,placeholder:er.placeholder,style:er.inputStyle,form:g.form,onCompositionstart:Jn,onCompositionupdate:tr,onCompositionend:$n,onInput:Vn,onFocus:Fn,onBlur:cr,onChange:zn,onKeydown:Yn}),null,16,_hoisted_2$I),createCommentVNode(" suffix slot "),unref(xn)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(ue).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(ue).e("suffix-inner")),onClick:Bn},[!unref(At)||!unref(hn)||!unref(bn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(er.$slots,"suffix"),er.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(er.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(At)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ue).e("icon"),unref(ue).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:lr},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(hn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(ue).e("icon"),unref(ue).e("password")]),onClick:Pn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(kt))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(bn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(ue).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(ue).e("count-inner"))},toDisplayString(unref(Cn))+" / "+toDisplayString(unref(j).maxlength),3)],2)):createCommentVNode("v-if",!0),unref(qe)&&unref(Et)&&unref(Fe)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(ue).e("icon"),unref(ue).e("validateIcon"),unref(ue).is("loading",unref(qe)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Et))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),er.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ue).be("group","append"))},[renderSlot(er.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(oe),ref_key:"textarea",ref:he,class:unref(de).e("inner")},unref(j),{tabindex:er.tabindex,disabled:unref(le),readonly:er.readonly,autocomplete:er.autocomplete,style:unref(vn),"aria-label":er.label,placeholder:er.placeholder,form:g.form,onCompositionstart:Jn,onCompositionupdate:tr,onCompositionend:$n,onInput:Vn,onFocus:Fn,onBlur:cr,onChange:zn,onKeydown:Yn}),null,16,_hoisted_3$n),unref(bn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1(Ie.value),class:normalizeClass(unref(ue).e("count"))},toDisplayString(unref(Cn))+" / "+toDisplayString(unref(j).maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$14)),[[vShow,er.type!=="hidden"]])}});var Input=_export_sfc$1(_sfc_main$2i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},renderThumbStyle$1=({move:t,size:r,bar:n})=>({[n.size]:r,transform:`translate${n.axis}(${t}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2h=defineComponent({__name:"thumb",props:thumbProps,setup(t){const r=t,n=inject(scrollbarContextKey),g=useNamespace("scrollbar");n||throwError$1(COMPONENT_NAME$k,"can not inject scrollbar context");const y=ref(),L=ref(),$=ref({}),V=ref(!1);let z=!1,j=!1,re=isClient$1?document.onselectstart:null;const ae=computed(()=>BAR_MAP[r.vertical?"vertical":"horizontal"]),oe=computed(()=>renderThumbStyle$1({size:r.size,move:r.move,bar:ae.value})),ie=computed(()=>y.value[ae.value.offset]**2/n.wrapElement[ae.value.scrollSize]/r.ratio/L.value[ae.value.offset]),le=xe=>{var Ie;if(xe.stopPropagation(),xe.ctrlKey||[1,2].includes(xe.button))return;(Ie=window.getSelection())==null||Ie.removeAllRanges(),de(xe);const Ne=xe.currentTarget;Ne&&($.value[ae.value.axis]=Ne[ae.value.offset]-(xe[ae.value.client]-Ne.getBoundingClientRect()[ae.value.direction]))},ue=xe=>{if(!L.value||!y.value||!n.wrapElement)return;const Ie=Math.abs(xe.target.getBoundingClientRect()[ae.value.direction]-xe[ae.value.client]),Ne=L.value[ae.value.offset]/2,ze=(Ie-Ne)*100*ie.value/y.value[ae.value.offset];n.wrapElement[ae.value.scroll]=ze*n.wrapElement[ae.value.scrollSize]/100},de=xe=>{xe.stopImmediatePropagation(),z=!0,document.addEventListener("mousemove",pe),document.addEventListener("mouseup",he),re=document.onselectstart,document.onselectstart=()=>!1},pe=xe=>{if(!y.value||!L.value||z===!1)return;const Ie=$.value[ae.value.axis];if(!Ie)return;const Ne=(y.value.getBoundingClientRect()[ae.value.direction]-xe[ae.value.client])*-1,ze=L.value[ae.value.offset]-Ie,Fe=(Ne-ze)*100*ie.value/y.value[ae.value.offset];n.wrapElement[ae.value.scroll]=Fe*n.wrapElement[ae.value.scrollSize]/100},he=()=>{z=!1,$.value[ae.value.axis]=0,document.removeEventListener("mousemove",pe),document.removeEventListener("mouseup",he),$e(),j&&(V.value=!1)},_e=()=>{j=!1,V.value=!!r.size},Ce=()=>{j=!0,V.value=z};onBeforeUnmount(()=>{$e(),document.removeEventListener("mouseup",he)});const $e=()=>{document.onselectstart!==re&&(document.onselectstart=re)};return useEventListener(toRef(n,"scrollbarElement"),"mousemove",_e),useEventListener(toRef(n,"scrollbarElement"),"mouseleave",Ce),(xe,Ie)=>(openBlock(),createBlock(Transition,{name:unref(g).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:y,class:normalizeClass([unref(g).e("bar"),unref(g).is(unref(ae).key)]),onMousedown:ue},[createBaseVNode("div",{ref_key:"thumb",ref:L,class:normalizeClass(unref(g).e("thumb")),style:normalizeStyle$1(unref(oe)),onMousedown:le},null,38)],34),[[vShow,xe.always||V.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$2h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),_sfc_main$2g=defineComponent({__name:"bar",props:barProps,setup(t,{expose:r}){const n=t,g=ref(0),y=ref(0);return r({handleScroll:$=>{if($){const V=$.offsetHeight-GAP,z=$.offsetWidth-GAP;y.value=$.scrollTop*100/V*n.ratioY,g.value=$.scrollLeft*100/z*n.ratioX}}}),($,V)=>(openBlock(),createElementBlock(Fragment,null,[createVNode$1(Thumb,{move:g.value,ratio:$.ratioX,size:$.width,always:$.always},null,8,["move","ratio","size","always"]),createVNode$1(Thumb,{move:y.value,ratio:$.ratioY,size:$.height,vertical:"",always:$.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$2g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20}}),scrollbarEmits={scroll:({scrollTop:t,scrollLeft:r})=>[t,r].every(isNumber$2)},COMPONENT_NAME$j="ElScrollbar",__default__$1x=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2f=defineComponent({...__default__$1x,props:scrollbarProps,emits:scrollbarEmits,setup(t,{expose:r,emit:n}){const g=t,y=useNamespace("scrollbar");let L,$;const V=ref(),z=ref(),j=ref(),re=ref("0"),ae=ref("0"),oe=ref(),ie=ref(1),le=ref(1),ue=computed(()=>{const Ie={};return g.height&&(Ie.height=addUnit(g.height)),g.maxHeight&&(Ie.maxHeight=addUnit(g.maxHeight)),[g.wrapStyle,Ie]}),de=computed(()=>[g.wrapClass,y.e("wrap"),{[y.em("wrap","hidden-default")]:!g.native}]),pe=computed(()=>[y.e("view"),g.viewClass]),he=()=>{var Ie;z.value&&((Ie=oe.value)==null||Ie.handleScroll(z.value),n("scroll",{scrollTop:z.value.scrollTop,scrollLeft:z.value.scrollLeft}))};function _e(Ie,Ne){isObject$7(Ie)?z.value.scrollTo(Ie):isNumber$2(Ie)&&isNumber$2(Ne)&&z.value.scrollTo(Ie,Ne)}const Ce=Ie=>{isNumber$2(Ie)&&(z.value.scrollTop=Ie)},$e=Ie=>{isNumber$2(Ie)&&(z.value.scrollLeft=Ie)},xe=()=>{if(!z.value)return;const Ie=z.value.offsetHeight-GAP,Ne=z.value.offsetWidth-GAP,ze=Ie**2/z.value.scrollHeight,Fe=Ne**2/z.value.scrollWidth,qe=Math.max(ze,g.minSize),Et=Math.max(Fe,g.minSize);ie.value=ze/(Ie-ze)/(qe/(Ie-qe)),le.value=Fe/(Ne-Fe)/(Et/(Ne-Et)),ae.value=qe+GAPg.noresize,Ie=>{Ie?(L==null||L(),$==null||$()):({stop:L}=useResizeObserver(j,xe),$=useEventListener("resize",xe))},{immediate:!0}),watch(()=>[g.maxHeight,g.height],()=>{g.native||nextTick(()=>{var Ie;xe(),z.value&&((Ie=oe.value)==null||Ie.handleScroll(z.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:V,wrapElement:z})),onMounted(()=>{g.native||nextTick(()=>{xe()})}),onUpdated(()=>xe()),r({wrapRef:z,update:xe,scrollTo:_e,setScrollTop:Ce,setScrollLeft:$e,handleScroll:he}),(Ie,Ne)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:V,class:normalizeClass(unref(y).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:z,class:normalizeClass(unref(de)),style:normalizeStyle$1(unref(ue)),onScroll:he},[(openBlock(),createBlock(resolveDynamicComponent(Ie.tag),{ref_key:"resizeRef",ref:j,class:normalizeClass(unref(pe)),style:normalizeStyle$1(Ie.viewStyle)},{default:withCtx(()=>[renderSlot(Ie.$slots,"default")]),_:3},8,["class","style"]))],38),Ie.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:oe,height:ae.value,width:re.value,always:Ie.always,"ratio-x":le.value,"ratio-y":ie.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$2f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$1w=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2e=defineComponent({...__default__$1w,props:popperProps,setup(t,{expose:r}){const n=t,g=ref(),y=ref(),L=ref(),$=ref(),V=computed(()=>n.role),z={triggerRef:g,popperInstanceRef:y,contentRef:L,referenceRef:$,role:V};return r(z),provide(POPPER_INJECTION_KEY,z),(j,re)=>renderSlot(j.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$2e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1v=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2d=defineComponent({...__default__$1v,props:popperArrowProps,setup(t,{expose:r}){const n=t,g=useNamespace("popper"),{arrowOffset:y,arrowRef:L,arrowStyle:$}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>n.arrowOffset,V=>{y.value=V}),onBeforeUnmount(()=>{L.value=void 0}),r({arrowRef:L}),(V,z)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:L,class:normalizeClass(unref(g).e("arrow")),style:normalizeStyle$1(unref($)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$2d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(t,{slots:r,attrs:n}){var g;const y=inject(FORWARD_REF_INJECTION_KEY),L=useForwardRefDirective((g=y==null?void 0:y.setForwardRef)!=null?g:NOOP);return()=>{var $;const V=($=r.default)==null?void 0:$.call(r,n);if(!V||V.length>1)return null;const z=findFirstLegitChild(V);return z?withDirectives(cloneVNode(z,n),[[L]]):null}}});function findFirstLegitChild(t){if(!t)return null;const r=t;for(const n of r){if(isObject$7(n))switch(n.type){case Comment:continue;case Text$2:case"svg":return wrapTextContent(n);case Fragment:return findFirstLegitChild(n.children);default:return n}return wrapTextContent(n)}return null}function wrapTextContent(t){const r=useNamespace("only-child");return createVNode$1("span",{class:r.e("content")},[t])}const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),__default__$1u=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$2c=defineComponent({...__default__$1u,props:popperTriggerProps,setup(t,{expose:r}){const n=t,{role:g,triggerRef:y}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(y);const L=computed(()=>V.value?n.id:void 0),$=computed(()=>{if(g&&g.value==="tooltip")return n.open&&n.id?n.id:void 0}),V=computed(()=>{if(g&&g.value!=="tooltip")return g.value}),z=computed(()=>V.value?`${n.open}`:void 0);let j;return onMounted(()=>{watch(()=>n.virtualRef,re=>{re&&(y.value=unrefElement(re))},{immediate:!0}),watch(y,(re,ae)=>{j==null||j(),j=void 0,isElement$1(re)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(oe=>{var ie;const le=n[oe];le&&(re.addEventListener(oe.slice(2).toLowerCase(),le),(ie=ae==null?void 0:ae.removeEventListener)==null||ie.call(ae,oe.slice(2).toLowerCase(),le))}),j=watch([L,$,V,z],oe=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((ie,le)=>{isNil(oe[le])?re.removeAttribute(ie):re.setAttribute(ie,oe[le])})},{immediate:!0})),isElement$1(ae)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(oe=>ae.removeAttribute(oe))},{immediate:!0})}),onBeforeUnmount(()=>{j==null||j(),j=void 0}),r({triggerRef:y}),(re,ae)=>re.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},re.$attrs,{"aria-controls":unref(L),"aria-describedby":unref($),"aria-expanded":unref(z),"aria-haspopup":unref(V)}),{default:withCtx(()=>[renderSlot(re.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$2c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref(),lastUserFocusTimestamp=ref(0),lastAutomatedFocusTimestamp=ref(0);let focusReasonUserCount=0;const obtainAllFocusableElements=t=>{const r=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:g=>{const y=g.tagName==="INPUT"&&g.type==="hidden";return g.disabled||g.hidden||y?NodeFilter.FILTER_SKIP:g.tabIndex>=0||g===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)r.push(n.currentNode);return r},getVisibleElement=(t,r)=>{for(const n of t)if(!isHidden(n,r))return n},isHidden=(t,r)=>{if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(r&&t===r)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1},getEdges=t=>{const r=obtainAllFocusableElements(t),n=getVisibleElement(r,t),g=getVisibleElement(r.reverse(),t);return[n,g]},isSelectable=t=>t instanceof HTMLInputElement&&"select"in t,tryFocus=(t,r)=>{if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),t!==n&&isSelectable(t)&&r&&t.select()}};function removeFromStack(t,r){const n=[...t],g=t.indexOf(r);return g!==-1&&n.splice(g,1),n}const createFocusableStack=()=>{let t=[];return{push:g=>{const y=t[0];y&&g!==y&&y.pause(),t=removeFromStack(t,g),t.unshift(g)},remove:g=>{var y,L;t=removeFromStack(t,g),(L=(y=t[0])==null?void 0:y.resume)==null||L.call(y)}}},focusFirstDescendant=(t,r=!1)=>{const n=document.activeElement;for(const g of t)if(tryFocus(g,r),document.activeElement!==n)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=t=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:t}),_sfc_main$2b=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{emit:r}){const n=ref();let g,y;const{focusReason:L}=useFocusReason();useEscapeKeydown(le=>{t.trapped&&!$.paused&&r("release-requested",le)});const $={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},V=le=>{if(!t.loop&&!t.trapped||$.paused)return;const{key:ue,altKey:de,ctrlKey:pe,metaKey:he,currentTarget:_e,shiftKey:Ce}=le,{loop:$e}=t,xe=ue===EVENT_CODE.tab&&!de&&!pe&&!he,Ie=document.activeElement;if(xe&&Ie){const Ne=_e,[ze,Fe]=getEdges(Ne);if(ze&&Fe){if(!Ce&&Ie===Fe){const Et=createFocusOutPreventedEvent({focusReason:L.value});r("focusout-prevented",Et),Et.defaultPrevented||(le.preventDefault(),$e&&tryFocus(ze,!0))}else if(Ce&&[ze,Ne].includes(Ie)){const Et=createFocusOutPreventedEvent({focusReason:L.value});r("focusout-prevented",Et),Et.defaultPrevented||(le.preventDefault(),$e&&tryFocus(Fe,!0))}}else if(Ie===Ne){const Et=createFocusOutPreventedEvent({focusReason:L.value});r("focusout-prevented",Et),Et.defaultPrevented||le.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:n,onKeydown:V}),watch(()=>t.focusTrapEl,le=>{le&&(n.value=le)},{immediate:!0}),watch([n],([le],[ue])=>{le&&(le.addEventListener("keydown",V),le.addEventListener("focusin",re),le.addEventListener("focusout",ae)),ue&&(ue.removeEventListener("keydown",V),ue.removeEventListener("focusin",re),ue.removeEventListener("focusout",ae))});const z=le=>{r(ON_TRAP_FOCUS_EVT,le)},j=le=>r(ON_RELEASE_FOCUS_EVT,le),re=le=>{const ue=unref(n);if(!ue)return;const de=le.target,pe=le.relatedTarget,he=de&&ue.contains(de);t.trapped||pe&&ue.contains(pe)||(g=pe),he&&r("focusin",le),!$.paused&&t.trapped&&(he?y=de:tryFocus(y,!0))},ae=le=>{const ue=unref(n);if(!($.paused||!ue))if(t.trapped){const de=le.relatedTarget;!isNil(de)&&!ue.contains(de)&&setTimeout(()=>{if(!$.paused&&t.trapped){const pe=createFocusOutPreventedEvent({focusReason:L.value});r("focusout-prevented",pe),pe.defaultPrevented||tryFocus(y,!0)}},0)}else{const de=le.target;de&&ue.contains(de)||r("focusout",le)}};async function oe(){await nextTick();const le=unref(n);if(le){focusableStack.push($);const ue=le.contains(document.activeElement)?g:document.activeElement;if(g=ue,!le.contains(ue)){const pe=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);le.addEventListener(FOCUS_AFTER_TRAPPED,z),le.dispatchEvent(pe),pe.defaultPrevented||nextTick(()=>{let he=t.focusStartEl;isString$3(he)||(tryFocus(he),document.activeElement!==he&&(he="first")),he==="first"&&focusFirstDescendant(obtainAllFocusableElements(le),!0),(document.activeElement===ue||he==="container")&&tryFocus(le)})}}}function ie(){const le=unref(n);if(le){le.removeEventListener(FOCUS_AFTER_TRAPPED,z);const ue=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:L.value}});le.addEventListener(FOCUS_AFTER_RELEASED,j),le.dispatchEvent(ue),!ue.defaultPrevented&&(L.value=="keyboard"||!isFocusCausedByUserEvent()||le.contains(document.activeElement))&&tryFocus(g??document.body),le.removeEventListener(FOCUS_AFTER_RELEASED,z),focusableStack.remove($)}}return onMounted(()=>{t.trapped&&oe(),watch(()=>t.trapped,le=>{le?oe():ie()})}),onBeforeUnmount(()=>{t.trapped&&ie()}),{onKeydown:V}}});function _sfc_render$v(t,r,n,g,y,L){return renderSlot(t.$slots,"default",{handleKeydown:t.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$2b,[["render",_sfc_render$v],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),popperContentEmits={mouseenter:t=>t instanceof MouseEvent,mouseleave:t=>t instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(t,r=[])=>{const{placement:n,strategy:g,popperOptions:y}=t,L={placement:n,strategy:g,...y,modifiers:[...genModifiers(t),...r]};return deriveExtraModifiers(L,y==null?void 0:y.modifiers),L},unwrapMeasurableEl=t=>{if(isClient$1)return unrefElement(t)};function genModifiers(t){const{offset:r,gpuAcceleration:n,fallbackPlacements:g}=t;return[{name:"offset",options:{offset:[0,r??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:g}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function deriveExtraModifiers(t,r){r&&(t.modifiers=[...t.modifiers,...r??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=t=>{const{popperInstanceRef:r,contentRef:n,triggerRef:g,role:y}=inject(POPPER_INJECTION_KEY,void 0),L=ref(),$=ref(),V=computed(()=>({name:"eventListeners",enabled:!!t.visible})),z=computed(()=>{var pe;const he=unref(L),_e=(pe=unref($))!=null?pe:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(he),options:{element:he,padding:_e}}}),j=computed(()=>({onFirstUpdate:()=>{le()},...buildPopperOptions(t,[unref(z),unref(V)])})),re=computed(()=>unwrapMeasurableEl(t.referenceEl)||unref(g)),{attributes:ae,state:oe,styles:ie,update:le,forceUpdate:ue,instanceRef:de}=usePopper(re,n,j);return watch(de,pe=>r.value=pe),onMounted(()=>{watch(()=>{var pe;return(pe=unref(re))==null?void 0:pe.getBoundingClientRect()},()=>{le()})}),{attributes:ae,arrowRef:L,contentRef:n,instanceRef:de,state:oe,styles:ie,role:y,forceUpdate:ue,update:le}},usePopperContentDOM=(t,{attributes:r,styles:n,role:g})=>{const{nextZIndex:y}=useZIndex(),L=useNamespace("popper"),$=computed(()=>unref(r).popper),V=ref(t.zIndex||y()),z=computed(()=>[L.b(),L.is("pure",t.pure),L.is(t.effect),t.popperClass]),j=computed(()=>[{zIndex:unref(V)},t.popperStyle||{},unref(n).popper]),re=computed(()=>g.value==="dialog"?"false":void 0),ae=computed(()=>unref(n).arrow||{});return{ariaModal:re,arrowStyle:ae,contentAttrs:$,contentClass:z,contentStyle:j,contentZIndex:V,updateZIndex:()=>{V.value=t.zIndex||y()}}},usePopperContentFocusTrap=(t,r)=>{const n=ref(!1),g=ref();return{focusStartRef:g,trapped:n,onFocusAfterReleased:j=>{var re;((re=j.detail)==null?void 0:re.focusReason)!=="pointer"&&(g.value="first",r("blur"))},onFocusAfterTrapped:()=>{r("focus")},onFocusInTrap:j=>{t.visible&&!n.value&&(j.target&&(g.value=j.target),n.value=!0)},onFocusoutPrevented:j=>{t.trapping||(j.detail.focusReason==="pointer"&&j.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,r("close")}}},__default__$1t=defineComponent({name:"ElPopperContent"}),_sfc_main$2a=defineComponent({...__default__$1t,props:popperContentProps,emits:popperContentEmits,setup(t,{expose:r,emit:n}){const g=t,{focusStartRef:y,trapped:L,onFocusAfterReleased:$,onFocusAfterTrapped:V,onFocusInTrap:z,onFocusoutPrevented:j,onReleaseRequested:re}=usePopperContentFocusTrap(g,n),{attributes:ae,arrowRef:oe,contentRef:ie,styles:le,instanceRef:ue,role:de,update:pe}=usePopperContent(g),{ariaModal:he,arrowStyle:_e,contentAttrs:Ce,contentClass:$e,contentStyle:xe,updateZIndex:Ie}=usePopperContentDOM(g,{styles:le,attributes:ae,role:de}),Ne=inject(formItemContextKey,void 0),ze=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:_e,arrowRef:oe,arrowOffset:ze}),Ne&&(Ne.addInputId||Ne.removeInputId)&&provide(formItemContextKey,{...Ne,addInputId:NOOP,removeInputId:NOOP});let Fe;const qe=(kt=!0)=>{pe(),kt&&Ie()},Et=()=>{qe(!1),g.visible&&g.focusOnShow?L.value=!0:g.visible===!1&&(L.value=!1)};return onMounted(()=>{watch(()=>g.triggerTargetEl,(kt,Lt)=>{Fe==null||Fe(),Fe=void 0;const vn=unref(kt||ie.value),jt=unref(Lt||ie.value);isElement$1(vn)&&(Fe=watch([de,()=>g.ariaLabel,he,()=>g.id],At=>{["role","aria-label","aria-modal","id"].forEach((hn,bn)=>{isNil(At[bn])?vn.removeAttribute(hn):vn.setAttribute(hn,At[bn])})},{immediate:!0})),jt!==vn&&isElement$1(jt)&&["role","aria-label","aria-modal","id"].forEach(At=>{jt.removeAttribute(At)})},{immediate:!0}),watch(()=>g.visible,Et,{immediate:!0})}),onBeforeUnmount(()=>{Fe==null||Fe(),Fe=void 0}),r({popperContentRef:ie,popperInstanceRef:ue,updatePopper:qe,contentStyle:xe}),(kt,Lt)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:ie},unref(Ce),{style:unref(xe),class:unref($e),tabindex:"-1",onMouseenter:Lt[0]||(Lt[0]=vn=>kt.$emit("mouseenter",vn)),onMouseleave:Lt[1]||(Lt[1]=vn=>kt.$emit("mouseleave",vn))}),[createVNode$1(unref(ElFocusTrap),{trapped:unref(L),"trap-on-focus-in":!0,"focus-trap-el":unref(ie),"focus-start-el":unref(y),onFocusAfterTrapped:unref(V),onFocusAfterReleased:unref($),onFocusin:unref(z),onFocusoutPrevented:unref(j),onReleaseRequested:unref(re)},{default:withCtx(()=>[renderSlot(kt.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$2a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(t,r)=>isArray$6(t)?t.includes(r):t===r,whenTrigger=(t,r,n)=>g=>{isTriggerType(unref(t),r)&&n(g)},__default__$1s=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$29=defineComponent({...__default__$1s,props:useTooltipTriggerProps,setup(t,{expose:r}){const n=t,g=useNamespace("tooltip"),{controlled:y,id:L,open:$,onOpen:V,onClose:z,onToggle:j}=inject(TOOLTIP_INJECTION_KEY,void 0),re=ref(null),ae=()=>{if(unref(y)||n.disabled)return!0},oe=toRef(n,"trigger"),ie=composeEventHandlers(ae,whenTrigger(oe,"hover",V)),le=composeEventHandlers(ae,whenTrigger(oe,"hover",z)),ue=composeEventHandlers(ae,whenTrigger(oe,"click",Ce=>{Ce.button===0&&j(Ce)})),de=composeEventHandlers(ae,whenTrigger(oe,"focus",V)),pe=composeEventHandlers(ae,whenTrigger(oe,"focus",z)),he=composeEventHandlers(ae,whenTrigger(oe,"contextmenu",Ce=>{Ce.preventDefault(),j(Ce)})),_e=composeEventHandlers(ae,Ce=>{const{code:$e}=Ce;n.triggerKeys.includes($e)&&(Ce.preventDefault(),j(Ce))});return r({triggerRef:re}),(Ce,$e)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(L),"virtual-ref":Ce.virtualRef,open:unref($),"virtual-triggering":Ce.virtualTriggering,class:normalizeClass(unref(g).e("trigger")),onBlur:unref(pe),onClick:unref(ue),onContextmenu:unref(he),onFocus:unref(de),onMouseenter:unref(ie),onMouseleave:unref(le),onKeydown:unref(_e)},{default:withCtx(()=>[renderSlot(Ce.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$29,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const __default__$1r=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$28=defineComponent({...__default__$1r,props:useTooltipContentProps,setup(t,{expose:r}){const n=t,{selector:g}=usePopperContainerId(),y=useNamespace("tooltip"),L=ref(null),$=ref(!1),{controlled:V,id:z,open:j,trigger:re,onClose:ae,onOpen:oe,onShow:ie,onHide:le,onBeforeShow:ue,onBeforeHide:de}=inject(TOOLTIP_INJECTION_KEY,void 0),pe=computed(()=>n.transition||`${y.namespace.value}-fade-in-linear`),he=computed(()=>n.persistent);onBeforeUnmount(()=>{$.value=!0});const _e=computed(()=>unref(he)?!0:unref(j)),Ce=computed(()=>n.disabled?!1:unref(j)),$e=computed(()=>n.appendTo||g.value),xe=computed(()=>{var At;return(At=n.style)!=null?At:{}}),Ie=computed(()=>!unref(j)),Ne=()=>{le()},ze=()=>{if(unref(V))return!0},Fe=composeEventHandlers(ze,()=>{n.enterable&&unref(re)==="hover"&&oe()}),qe=composeEventHandlers(ze,()=>{unref(re)==="hover"&&ae()}),Et=()=>{var At,hn;(hn=(At=L.value)==null?void 0:At.updatePopper)==null||hn.call(At),ue==null||ue()},kt=()=>{de==null||de()},Lt=()=>{ie(),jt=onClickOutside(computed(()=>{var At;return(At=L.value)==null?void 0:At.popperContentRef}),()=>{if(unref(V))return;unref(re)!=="hover"&&ae()})},vn=()=>{n.virtualTriggering||ae()};let jt;return watch(()=>unref(j),At=>{At||jt==null||jt()},{flush:"post"}),watch(()=>n.content,()=>{var At,hn;(hn=(At=L.value)==null?void 0:At.updatePopper)==null||hn.call(At)}),r({contentRef:L}),(At,hn)=>(openBlock(),createBlock(Teleport,{disabled:!At.teleported,to:unref($e)},[createVNode$1(Transition,{name:unref(pe),onAfterLeave:Ne,onBeforeEnter:Et,onAfterEnter:Lt,onBeforeLeave:kt},{default:withCtx(()=>[unref(_e)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(z),ref_key:"contentRef",ref:L},At.$attrs,{"aria-label":At.ariaLabel,"aria-hidden":unref(Ie),"boundaries-padding":At.boundariesPadding,"fallback-placements":At.fallbackPlacements,"gpu-acceleration":At.gpuAcceleration,offset:At.offset,placement:At.placement,"popper-options":At.popperOptions,strategy:At.strategy,effect:At.effect,enterable:At.enterable,pure:At.pure,"popper-class":At.popperClass,"popper-style":[At.popperStyle,unref(xe)],"reference-el":At.referenceEl,"trigger-target-el":At.triggerTargetEl,visible:unref(Ce),"z-index":At.zIndex,onMouseenter:unref(Fe),onMouseleave:unref(qe),onBlur:vn,onClose:unref(ae)}),{default:withCtx(()=>[$.value?createCommentVNode("v-if",!0):renderSlot(At.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(Ce)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$28,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const _hoisted_1$13=["innerHTML"],_hoisted_2$H={key:1},__default__$1q=defineComponent({name:"ElTooltip"}),_sfc_main$27=defineComponent({...__default__$1q,props:useTooltipProps,emits:tooltipEmits,setup(t,{expose:r,emit:n}){const g=t;usePopperContainer();const y=useId(),L=ref(),$=ref(),V=()=>{var pe;const he=unref(L);he&&((pe=he.popperInstanceRef)==null||pe.update())},z=ref(!1),j=ref(),{show:re,hide:ae,hasUpdateHandler:oe}=useTooltipModelToggle({indicator:z,toggleReason:j}),{onOpen:ie,onClose:le}=useDelayedToggle({showAfter:toRef(g,"showAfter"),hideAfter:toRef(g,"hideAfter"),autoClose:toRef(g,"autoClose"),open:re,close:ae}),ue=computed(()=>isBoolean$1(g.visible)&&!oe.value);provide(TOOLTIP_INJECTION_KEY,{controlled:ue,id:y,open:readonly(z),trigger:toRef(g,"trigger"),onOpen:pe=>{ie(pe)},onClose:pe=>{le(pe)},onToggle:pe=>{unref(z)?le(pe):ie(pe)},onShow:()=>{n("show",j.value)},onHide:()=>{n("hide",j.value)},onBeforeShow:()=>{n("before-show",j.value)},onBeforeHide:()=>{n("before-hide",j.value)},updatePopper:V}),watch(()=>g.disabled,pe=>{pe&&z.value&&(z.value=!1)});const de=()=>{var pe,he;const _e=(he=(pe=$.value)==null?void 0:pe.contentRef)==null?void 0:he.popperContentRef;return _e&&_e.contains(document.activeElement)};return onDeactivated(()=>z.value&&ae()),r({popperRef:L,contentRef:$,isFocusInsideContent:de,updatePopper:V,onOpen:ie,onClose:le,hide:ae}),(pe,he)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:L,role:pe.role},{default:withCtx(()=>[createVNode$1(ElTooltipTrigger,{disabled:pe.disabled,trigger:pe.trigger,"trigger-keys":pe.triggerKeys,"virtual-ref":pe.virtualRef,"virtual-triggering":pe.virtualTriggering},{default:withCtx(()=>[pe.$slots.default?renderSlot(pe.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode$1(ElTooltipContent,{ref_key:"contentRef",ref:$,"aria-label":pe.ariaLabel,"boundaries-padding":pe.boundariesPadding,content:pe.content,disabled:pe.disabled,effect:pe.effect,enterable:pe.enterable,"fallback-placements":pe.fallbackPlacements,"hide-after":pe.hideAfter,"gpu-acceleration":pe.gpuAcceleration,offset:pe.offset,persistent:pe.persistent,"popper-class":pe.popperClass,"popper-style":pe.popperStyle,placement:pe.placement,"popper-options":pe.popperOptions,pure:pe.pure,"raw-content":pe.rawContent,"reference-el":pe.referenceEl,"trigger-target-el":pe.triggerTargetEl,"show-after":pe.showAfter,strategy:pe.strategy,teleported:pe.teleported,transition:pe.transition,"virtual-triggering":pe.virtualTriggering,"z-index":pe.zIndex,"append-to":pe.appendTo},{default:withCtx(()=>[renderSlot(pe.$slots,"content",{},()=>[pe.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:pe.content},null,8,_hoisted_1$13)):(openBlock(),createElementBlock("span",_hoisted_2$H,toDisplayString(pe.content),1))]),pe.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":pe.arrowOffset},null,8,["arrow-offset"])):createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc$1(_sfc_main$27,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),autocompleteProps=buildProps({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:definePropType(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:definePropType([Function,Array]),default:NOOP},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},label:{type:String},teleported:useTooltipContentProps.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String}),autocompleteEmits={[UPDATE_MODEL_EVENT]:t=>isString$3(t),[INPUT_EVENT]:t=>isString$3(t),[CHANGE_EVENT]:t=>isString$3(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,select:t=>isObject$7(t)},_hoisted_1$12=["aria-expanded","aria-owns"],_hoisted_2$G={key:0},_hoisted_3$m=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1p=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$26=defineComponent({...__default__$1p,props:autocompleteProps,emits:autocompleteEmits,setup(t,{expose:r,emit:n}){const g=t,y=useAttrs(),L=useAttrs$1(),$=useFormDisabled(),V=useNamespace("autocomplete"),z=ref(),j=ref(),re=ref(),ae=ref();let oe=!1,ie=!1;const le=ref([]),ue=ref(-1),de=ref(""),pe=ref(!1),he=ref(!1),_e=ref(!1),Ce=computed(()=>V.b(String(generateId()))),$e=computed(()=>L.style),xe=computed(()=>(le.value.length>0||_e.value)&&pe.value),Ie=computed(()=>!g.hideLoading&&_e.value),Ne=computed(()=>z.value?Array.from(z.value.$el.querySelectorAll("input")):[]),ze=async()=>{await nextTick(),xe.value&&(de.value=`${z.value.$el.offsetWidth}px`)},Fe=()=>{ue.value=-1},Et=debounce(async Rn=>{if(he.value)return;const In=Mn=>{_e.value=!1,!he.value&&(isArray$6(Mn)?(le.value=Mn,ue.value=g.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(_e.value=!0,isArray$6(g.fetchSuggestions))In(g.fetchSuggestions);else{const Mn=await g.fetchSuggestions(Rn,In);isArray$6(Mn)&&In(Mn)}},g.debounce),kt=Rn=>{const In=!!Rn;if(n(INPUT_EVENT,Rn),n(UPDATE_MODEL_EVENT,Rn),he.value=!1,pe.value||(pe.value=In),!g.triggerOnFocus&&!Rn){he.value=!0,le.value=[];return}Et(Rn)},Lt=Rn=>{var In;$.value||(((In=Rn.target)==null?void 0:In.tagName)!=="INPUT"||Ne.value.includes(document.activeElement))&&(pe.value=!0)},vn=Rn=>{n(CHANGE_EVENT,Rn)},jt=Rn=>{ie?ie=!1:(pe.value=!0,n("focus",Rn),g.triggerOnFocus&&!oe&&Et(String(g.modelValue)))},At=Rn=>{setTimeout(()=>{var In;if((In=re.value)!=null&&In.isFocusInsideContent()){ie=!0;return}pe.value&&Tn(),n("blur",Rn)})},hn=()=>{pe.value=!1,n(UPDATE_MODEL_EVENT,""),n("clear")},bn=async()=>{xe.value&&ue.value>=0&&ue.value{xe.value&&(Rn.preventDefault(),Rn.stopPropagation(),Tn())},Tn=()=>{pe.value=!1},xn=()=>{var Rn;(Rn=z.value)==null||Rn.focus()},En=()=>{var Rn;(Rn=z.value)==null||Rn.blur()},kn=async Rn=>{n(INPUT_EVENT,Rn[g.valueKey]),n(UPDATE_MODEL_EVENT,Rn[g.valueKey]),n("select",Rn),le.value=[],ue.value=-1},On=Rn=>{if(!xe.value||_e.value)return;if(Rn<0){ue.value=-1;return}Rn>=le.value.length&&(Rn=le.value.length-1);const In=j.value.querySelector(`.${V.be("suggestion","wrap")}`),Vn=In.querySelectorAll(`.${V.be("suggestion","list")} li`)[Rn],zn=In.scrollTop,{offsetTop:Jn,scrollHeight:tr}=Vn;Jn+tr>zn+In.clientHeight&&(In.scrollTop+=tr),Jn{xe.value&&Tn()}),onMounted(()=>{z.value.ref.setAttribute("role","textbox"),z.value.ref.setAttribute("aria-autocomplete","list"),z.value.ref.setAttribute("aria-controls","id"),z.value.ref.setAttribute("aria-activedescendant",`${Ce.value}-item-${ue.value}`),oe=z.value.ref.hasAttribute("readonly")}),r({highlightedIndex:ue,activated:pe,loading:_e,inputRef:z,popperRef:re,suggestions:le,handleSelect:kn,handleKeyEnter:bn,focus:xn,blur:En,close:Tn,highlight:On}),(Rn,In)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:re,visible:unref(xe),placement:Rn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(V).e("popper"),Rn.popperClass],teleported:Rn.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(V).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:ze,onHide:Fe},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:j,class:normalizeClass([unref(V).b("suggestion"),unref(V).is("loading",unref(Ie))]),style:normalizeStyle$1({[Rn.fitInputWidth?"width":"minWidth"]:de.value,outline:"none"}),role:"region"},[createVNode$1(unref(ElScrollbar),{id:unref(Ce),tag:"ul","wrap-class":unref(V).be("suggestion","wrap"),"view-class":unref(V).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(Ie)?(openBlock(),createElementBlock("li",_hoisted_2$G,[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(V).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(le.value,(Mn,Vn)=>(openBlock(),createElementBlock("li",{id:`${unref(Ce)}-item-${Vn}`,key:Vn,class:normalizeClass({highlighted:ue.value===Vn}),role:"option","aria-selected":ue.value===Vn,onClick:zn=>kn(Mn)},[renderSlot(Rn.$slots,"default",{item:Mn},()=>[createTextVNode(toDisplayString(Mn[Rn.valueKey]),1)])],10,_hoisted_3$m))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:ae,class:normalizeClass([unref(V).b(),Rn.$attrs.class]),style:normalizeStyle$1(unref($e)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref(xe),"aria-owns":unref(Ce)},[createVNode$1(unref(ElInput),mergeProps({ref_key:"inputRef",ref:z},unref(y),{clearable:Rn.clearable,disabled:unref($),name:Rn.name,"model-value":Rn.modelValue,onInput:kt,onChange:vn,onFocus:jt,onBlur:At,onClear:hn,onKeydown:[In[0]||(In[0]=withKeys(withModifiers(Mn=>On(ue.value-1),["prevent"]),["up"])),In[1]||(In[1]=withKeys(withModifiers(Mn=>On(ue.value+1),["prevent"]),["down"])),withKeys(bn,["enter"]),withKeys(Tn,["tab"]),withKeys(Cn,["esc"])],onMousedown:Lt}),createSlots({_:2},[Rn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(Rn.$slots,"prepend")])}:void 0,Rn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(Rn.$slots,"append")])}:void 0,Rn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Rn.$slots,"prefix")])}:void 0,Rn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Rn.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","onKeydown"])],14,_hoisted_1$12)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$1(_sfc_main$26,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:t=>isNumber$2(t)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:iconPropType},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:definePropType(String),default:"cover"}}),avatarEmits={error:t=>t instanceof Event},_hoisted_1$11=["src","alt","srcset"],__default__$1o=defineComponent({name:"ElAvatar"}),_sfc_main$25=defineComponent({...__default__$1o,props:avatarProps,emits:avatarEmits,setup(t,{emit:r}){const n=t,g=useNamespace("avatar"),y=ref(!1),L=computed(()=>{const{size:j,icon:re,shape:ae}=n,oe=[g.b()];return isString$3(j)&&oe.push(g.m(j)),re&&oe.push(g.m("icon")),ae&&oe.push(g.m(ae)),oe}),$=computed(()=>{const{size:j}=n;return isNumber$2(j)?g.cssVarBlock({size:addUnit(j)||""}):void 0}),V=computed(()=>({objectFit:n.fit}));watch(()=>n.src,()=>y.value=!1);function z(j){y.value=!0,r("error",j)}return(j,re)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(L)),style:normalizeStyle$1(unref($))},[(j.src||j.srcSet)&&!y.value?(openBlock(),createElementBlock("img",{key:0,src:j.src,alt:j.alt,srcset:j.srcSet,style:normalizeStyle$1(unref(V)),onError:z},null,44,_hoisted_1$11)):j.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(j.icon)))]),_:1})):renderSlot(j.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$25,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const ElAvatar=withInstall(Avatar),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:t=>t instanceof MouseEvent},useBackTop=(t,r,n)=>{const g=shallowRef(),y=shallowRef(),L=ref(!1),$=()=>{g.value&&(L.value=g.value.scrollTop>=t.visibilityHeight)},V=j=>{var re;(re=g.value)==null||re.scrollTo({top:0,behavior:"smooth"}),r("click",j)},z=useThrottleFn($,300,!0);return useEventListener(y,"scroll",z),onMounted(()=>{var j;y.value=document,g.value=document.documentElement,t.target&&(g.value=(j=document.querySelector(t.target))!=null?j:void 0,g.value||throwError$1(n,`target does not exist: ${t.target}`),y.value=g.value)}),{visible:L,handleClick:V}},COMPONENT_NAME$h="ElBacktop",__default__$1n=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$24=defineComponent({...__default__$1n,props:backtopProps,emits:backtopEmits,setup(t,{emit:r}){const n=t,g=useNamespace("backtop"),{handleClick:y,visible:L}=useBackTop(n,r,COMPONENT_NAME$h),$=computed(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(V,z)=>(openBlock(),createBlock(Transition,{name:`${unref(g).namespace.value}-fade-in`},{default:withCtx(()=>[unref(L)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref($)),class:normalizeClass(unref(g).b()),onClick:z[0]||(z[0]=withModifiers((...j)=>unref(y)&&unref(y)(...j),["stop"]))},[renderSlot(V.$slots,"default",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(g).e("icon"))},{default:withCtx(()=>[createVNode$1(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc$1(_sfc_main$24,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const ElBacktop=withInstall(Backtop),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),_hoisted_1$10=["textContent"],__default__$1m=defineComponent({name:"ElBadge"}),_sfc_main$23=defineComponent({...__default__$1m,props:badgeProps,setup(t,{expose:r}){const n=t,g=useNamespace("badge"),y=computed(()=>n.isDot?"":isNumber$2(n.value)&&isNumber$2(n.max)?n.max(openBlock(),createElementBlock("div",{class:normalizeClass(unref(g).b())},[renderSlot(L.$slots,"default"),createVNode$1(Transition,{name:`${unref(g).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(g).e("content"),unref(g).em("content",L.type),unref(g).is("fixed",!!L.$slots.default),unref(g).is("dot",L.isDot)]),textContent:toDisplayString(unref(y))},null,10,_hoisted_1$10),[[vShow,!L.hidden&&(unref(y)||L.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$23,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),__default__$1l=defineComponent({name:"ElBreadcrumb"}),_sfc_main$22=defineComponent({...__default__$1l,props:breadcrumbProps,setup(t){const r=t,n=useNamespace("breadcrumb"),g=ref();return provide(breadcrumbKey,r),onMounted(()=>{const y=g.value.querySelectorAll(`.${n.e("item")}`);y.length&&y[y.length-1].setAttribute("aria-current","page")}),(y,L)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:g,class:normalizeClass(unref(n).b()),"aria-label":"Breadcrumb",role:"navigation"},[renderSlot(y.$slots,"default")],2))}});var Breadcrumb$2=_export_sfc$1(_sfc_main$22,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:{type:Boolean,default:!1}}),__default__$1k=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$21=defineComponent({...__default__$1k,props:breadcrumbItemProps,setup(t){const r=t,n=getCurrentInstance(),g=inject(breadcrumbKey,void 0),y=useNamespace("breadcrumb"),{separator:L,separatorIcon:$}=toRefs(g),V=n.appContext.config.globalProperties.$router,z=ref(),j=()=>{!r.to||!V||(r.replace?V.replace(r.to):V.push(r.to))};return(re,ae)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(y).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:z,class:normalizeClass([unref(y).e("inner"),unref(y).is("link",!!re.to)]),role:"link",onClick:j},[renderSlot(re.$slots,"default")],2),unref($)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(y).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref($))))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(y).e("separator")),role:"presentation"},toDisplayString(unref(L)),3))],2))}});var BreadcrumbItem=_export_sfc$1(_sfc_main$21,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb$2,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(t,r)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>t.type==="text"));const n=inject(buttonGroupContextKey,void 0),g=useGlobalConfig("button"),{form:y}=useFormItem(),L=useFormSize(computed(()=>n==null?void 0:n.size)),$=useFormDisabled(),V=ref(),z=useSlots(),j=computed(()=>t.type||(n==null?void 0:n.type)||""),re=computed(()=>{var le,ue,de;return(de=(ue=t.autoInsertSpace)!=null?ue:(le=g.value)==null?void 0:le.autoInsertSpace)!=null?de:!1}),ae=computed(()=>t.tag==="button"?{ariaDisabled:$.value||t.loading,disabled:$.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),oe=computed(()=>{var le;const ue=(le=z.default)==null?void 0:le.call(z);if(re.value&&(ue==null?void 0:ue.length)===1){const de=ue[0];if((de==null?void 0:de.type)===Text$2){const pe=de.children;return/^\p{Unified_Ideograph}{2}$/u.test(pe.trim())}}return!1});return{_disabled:$,_size:L,_type:j,_ref:V,_props:ae,shouldAddSpace:oe,handleClick:le=>{t.nativeType==="reset"&&(y==null||y.resetFields()),r("click",le)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:t=>t instanceof MouseEvent};function bound01$1(t,r){isOnePointZero$1(t)&&(t="100%");var n=isPercentage$1(t);return t=r===360?t:Math.min(r,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*r),10)/100),Math.abs(t-r)<1e-6?1:(r===360?t=(t<0?t%r+r:t%r)/parseFloat(String(r)):t=t%r/parseFloat(String(r)),t)}function clamp01(t){return Math.min(1,Math.max(0,t))}function isOnePointZero$1(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function isPercentage$1(t){return typeof t=="string"&&t.indexOf("%")!==-1}function boundAlpha(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function convertToPercentage(t){return t<=1?"".concat(Number(t)*100,"%"):t}function pad2(t){return t.length===1?"0"+t:String(t)}function rgbToRgb(t,r,n){return{r:bound01$1(t,255)*255,g:bound01$1(r,255)*255,b:bound01$1(n,255)*255}}function rgbToHsl(t,r,n){t=bound01$1(t,255),r=bound01$1(r,255),n=bound01$1(n,255);var g=Math.max(t,r,n),y=Math.min(t,r,n),L=0,$=0,V=(g+y)/2;if(g===y)$=0,L=0;else{var z=g-y;switch($=V>.5?z/(2-g-y):z/(g+y),g){case t:L=(r-n)/z+(r1&&(n-=1),n<1/6?t+(r-t)*(6*n):n<1/2?r:n<2/3?t+(r-t)*(2/3-n)*6:t}function hslToRgb(t,r,n){var g,y,L;if(t=bound01$1(t,360),r=bound01$1(r,100),n=bound01$1(n,100),r===0)y=n,L=n,g=n;else{var $=n<.5?n*(1+r):n+r-n*r,V=2*n-$;g=hue2rgb(V,$,t+1/3),y=hue2rgb(V,$,t),L=hue2rgb(V,$,t-1/3)}return{r:g*255,g:y*255,b:L*255}}function rgbToHsv(t,r,n){t=bound01$1(t,255),r=bound01$1(r,255),n=bound01$1(n,255);var g=Math.max(t,r,n),y=Math.min(t,r,n),L=0,$=g,V=g-y,z=g===0?0:V/g;if(g===y)L=0;else{switch(g){case t:L=(r-n)/V+(r>16,g:(t&65280)>>8,b:t&255}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(t){var r={r:0,g:0,b:0},n=1,g=null,y=null,L=null,$=!1,V=!1;return typeof t=="string"&&(t=stringInputToObject(t)),typeof t=="object"&&(isValidCSSUnit(t.r)&&isValidCSSUnit(t.g)&&isValidCSSUnit(t.b)?(r=rgbToRgb(t.r,t.g,t.b),$=!0,V=String(t.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(t.h)&&isValidCSSUnit(t.s)&&isValidCSSUnit(t.v)?(g=convertToPercentage(t.s),y=convertToPercentage(t.v),r=hsvToRgb(t.h,g,y),$=!0,V="hsv"):isValidCSSUnit(t.h)&&isValidCSSUnit(t.s)&&isValidCSSUnit(t.l)&&(g=convertToPercentage(t.s),L=convertToPercentage(t.l),r=hslToRgb(t.h,g,L),$=!0,V="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=boundAlpha(n),{ok:$,format:t.format||V,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:n}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var r=!1;if(names[t])t=names[t],r=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=matchers.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=matchers.rgba.exec(t),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=matchers.hsl.exec(t),n?{h:n[1],s:n[2],l:n[3]}:(n=matchers.hsla.exec(t),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=matchers.hsv.exec(t),n?{h:n[1],s:n[2],v:n[3]}:(n=matchers.hsva.exec(t),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=matchers.hex8.exec(t),n?{r:parseIntFromHex(n[1]),g:parseIntFromHex(n[2]),b:parseIntFromHex(n[3]),a:convertHexToDecimal(n[4]),format:r?"name":"hex8"}:(n=matchers.hex6.exec(t),n?{r:parseIntFromHex(n[1]),g:parseIntFromHex(n[2]),b:parseIntFromHex(n[3]),format:r?"name":"hex"}:(n=matchers.hex4.exec(t),n?{r:parseIntFromHex(n[1]+n[1]),g:parseIntFromHex(n[2]+n[2]),b:parseIntFromHex(n[3]+n[3]),a:convertHexToDecimal(n[4]+n[4]),format:r?"name":"hex8"}:(n=matchers.hex3.exec(t),n?{r:parseIntFromHex(n[1]+n[1]),g:parseIntFromHex(n[2]+n[2]),b:parseIntFromHex(n[3]+n[3]),format:r?"name":"hex"}:!1)))))))))}function isValidCSSUnit(t){return!!matchers.CSS_UNIT.exec(String(t))}var TinyColor=function(){function t(r,n){r===void 0&&(r=""),n===void 0&&(n={});var g;if(r instanceof t)return r;typeof r=="number"&&(r=numberInputToObject(r)),this.originalInput=r;var y=inputToRGB(r);this.originalInput=r,this.r=y.r,this.g=y.g,this.b=y.b,this.a=y.a,this.roundA=Math.round(100*this.a)/100,this.format=(g=n.format)!==null&&g!==void 0?g:y.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=y.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},t.prototype.getLuminance=function(){var r=this.toRgb(),n,g,y,L=r.r/255,$=r.g/255,V=r.b/255;return L<=.03928?n=L/12.92:n=Math.pow((L+.055)/1.055,2.4),$<=.03928?g=$/12.92:g=Math.pow(($+.055)/1.055,2.4),V<=.03928?y=V/12.92:y=Math.pow((V+.055)/1.055,2.4),.2126*n+.7152*g+.0722*y},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(r){return this.a=boundAlpha(r),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var r=this.toHsl().s;return r===0},t.prototype.toHsv=function(){var r=rgbToHsv(this.r,this.g,this.b);return{h:r.h*360,s:r.s,v:r.v,a:this.a}},t.prototype.toHsvString=function(){var r=rgbToHsv(this.r,this.g,this.b),n=Math.round(r.h*360),g=Math.round(r.s*100),y=Math.round(r.v*100);return this.a===1?"hsv(".concat(n,", ").concat(g,"%, ").concat(y,"%)"):"hsva(".concat(n,", ").concat(g,"%, ").concat(y,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var r=rgbToHsl(this.r,this.g,this.b);return{h:r.h*360,s:r.s,l:r.l,a:this.a}},t.prototype.toHslString=function(){var r=rgbToHsl(this.r,this.g,this.b),n=Math.round(r.h*360),g=Math.round(r.s*100),y=Math.round(r.l*100);return this.a===1?"hsl(".concat(n,", ").concat(g,"%, ").concat(y,"%)"):"hsla(".concat(n,", ").concat(g,"%, ").concat(y,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(r){return r===void 0&&(r=!1),rgbToHex(this.r,this.g,this.b,r)},t.prototype.toHexString=function(r){return r===void 0&&(r=!1),"#"+this.toHex(r)},t.prototype.toHex8=function(r){return r===void 0&&(r=!1),rgbaToHex(this.r,this.g,this.b,this.a,r)},t.prototype.toHex8String=function(r){return r===void 0&&(r=!1),"#"+this.toHex8(r)},t.prototype.toHexShortString=function(r){return r===void 0&&(r=!1),this.a===1?this.toHexString(r):this.toHex8String(r)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var r=Math.round(this.r),n=Math.round(this.g),g=Math.round(this.b);return this.a===1?"rgb(".concat(r,", ").concat(n,", ").concat(g,")"):"rgba(".concat(r,", ").concat(n,", ").concat(g,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var r=function(n){return"".concat(Math.round(bound01$1(n,255)*100),"%")};return{r:r(this.r),g:r(this.g),b:r(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var r=function(n){return Math.round(bound01$1(n,255)*100)};return this.a===1?"rgb(".concat(r(this.r),"%, ").concat(r(this.g),"%, ").concat(r(this.b),"%)"):"rgba(".concat(r(this.r),"%, ").concat(r(this.g),"%, ").concat(r(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var r="#"+rgbToHex(this.r,this.g,this.b,!1),n=0,g=Object.entries(names);n=0,L=!n&&y&&(r.startsWith("hex")||r==="name");return L?r==="name"&&this.a===0?this.toName():this.toRgbString():(r==="rgb"&&(g=this.toRgbString()),r==="prgb"&&(g=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(g=this.toHexString()),r==="hex3"&&(g=this.toHexString(!0)),r==="hex4"&&(g=this.toHex8String(!0)),r==="hex8"&&(g=this.toHex8String()),r==="name"&&(g=this.toName()),r==="hsl"&&(g=this.toHslString()),r==="hsv"&&(g=this.toHsvString()),g||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(r){r===void 0&&(r=10);var n=this.toHsl();return n.l+=r/100,n.l=clamp01(n.l),new t(n)},t.prototype.brighten=function(r){r===void 0&&(r=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(r/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(r/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(r/100)))),new t(n)},t.prototype.darken=function(r){r===void 0&&(r=10);var n=this.toHsl();return n.l-=r/100,n.l=clamp01(n.l),new t(n)},t.prototype.tint=function(r){return r===void 0&&(r=10),this.mix("white",r)},t.prototype.shade=function(r){return r===void 0&&(r=10),this.mix("black",r)},t.prototype.desaturate=function(r){r===void 0&&(r=10);var n=this.toHsl();return n.s-=r/100,n.s=clamp01(n.s),new t(n)},t.prototype.saturate=function(r){r===void 0&&(r=10);var n=this.toHsl();return n.s+=r/100,n.s=clamp01(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(r){var n=this.toHsl(),g=(n.h+r)%360;return n.h=g<0?360+g:g,new t(n)},t.prototype.mix=function(r,n){n===void 0&&(n=50);var g=this.toRgb(),y=new t(r).toRgb(),L=n/100,$={r:(y.r-g.r)*L+g.r,g:(y.g-g.g)*L+g.g,b:(y.b-g.b)*L+g.b,a:(y.a-g.a)*L+g.a};return new t($)},t.prototype.analogous=function(r,n){r===void 0&&(r=6),n===void 0&&(n=30);var g=this.toHsl(),y=360/n,L=[this];for(g.h=(g.h-(y*r>>1)+720)%360;--r;)g.h=(g.h+y)%360,L.push(new t(g));return L},t.prototype.complement=function(){var r=this.toHsl();return r.h=(r.h+180)%360,new t(r)},t.prototype.monochromatic=function(r){r===void 0&&(r=6);for(var n=this.toHsv(),g=n.h,y=n.s,L=n.v,$=[],V=1/r;r--;)$.push(new t({h:g,s:y,v:L})),L=(L+V)%1;return $},t.prototype.splitcomplement=function(){var r=this.toHsl(),n=r.h;return[this,new t({h:(n+72)%360,s:r.s,l:r.l}),new t({h:(n+216)%360,s:r.s,l:r.l})]},t.prototype.onBackground=function(r){var n=this.toRgb(),g=new t(r).toRgb(),y=n.a+g.a*(1-n.a);return new t({r:(n.r*n.a+g.r*g.a*(1-n.a))/y,g:(n.g*n.a+g.g*g.a*(1-n.a))/y,b:(n.b*n.a+g.b*g.a*(1-n.a))/y,a:y})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(r){for(var n=this.toHsl(),g=n.h,y=[this],L=360/r,$=1;${let g={};const y=t.color;if(y){const L=new TinyColor(y),$=t.dark?L.tint(20).toString():darken(L,20);if(t.plain)g=n.cssVarBlock({"bg-color":t.dark?darken(L,90):L.tint(90).toString(),"text-color":y,"border-color":t.dark?darken(L,50):L.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":y,"hover-border-color":y,"active-bg-color":$,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":$}),r.value&&(g[n.cssVarBlockName("disabled-bg-color")]=t.dark?darken(L,90):L.tint(90).toString(),g[n.cssVarBlockName("disabled-text-color")]=t.dark?darken(L,50):L.tint(50).toString(),g[n.cssVarBlockName("disabled-border-color")]=t.dark?darken(L,80):L.tint(80).toString());else{const V=t.dark?darken(L,30):L.tint(30).toString(),z=L.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(g=n.cssVarBlock({"bg-color":y,"text-color":z,"border-color":y,"hover-bg-color":V,"hover-text-color":z,"hover-border-color":V,"active-bg-color":$,"active-border-color":$}),r.value){const j=t.dark?darken(L,50):L.tint(50).toString();g[n.cssVarBlockName("disabled-bg-color")]=j,g[n.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,g[n.cssVarBlockName("disabled-border-color")]=j}}}return g})}const __default__$1j=defineComponent({name:"ElButton"}),_sfc_main$20=defineComponent({...__default__$1j,props:buttonProps,emits:buttonEmits,setup(t,{expose:r,emit:n}){const g=t,y=useButtonCustomStyle(g),L=useNamespace("button"),{_ref:$,_size:V,_type:z,_disabled:j,_props:re,shouldAddSpace:ae,handleClick:oe}=useButton(g,n);return r({ref:$,size:V,type:z,disabled:j,shouldAddSpace:ae}),(ie,le)=>(openBlock(),createBlock(resolveDynamicComponent(ie.tag),mergeProps({ref_key:"_ref",ref:$},unref(re),{class:[unref(L).b(),unref(L).m(unref(z)),unref(L).m(unref(V)),unref(L).is("disabled",unref(j)),unref(L).is("loading",ie.loading),unref(L).is("plain",ie.plain),unref(L).is("round",ie.round),unref(L).is("circle",ie.circle),unref(L).is("text",ie.text),unref(L).is("link",ie.link),unref(L).is("has-bg",ie.bg)],style:unref(y),onClick:unref(oe)}),{default:withCtx(()=>[ie.loading?(openBlock(),createElementBlock(Fragment,{key:0},[ie.$slots.loading?renderSlot(ie.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(L).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ie.loadingIcon)))]),_:1},8,["class"]))],64)):ie.icon||ie.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[ie.icon?(openBlock(),createBlock(resolveDynamicComponent(ie.icon),{key:0})):renderSlot(ie.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),ie.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(L).em("text","expand")]:unref(ae)})},[renderSlot(ie.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$20,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1i=defineComponent({name:"ElButtonGroup"}),_sfc_main$1$=defineComponent({...__default__$1i,props:buttonGroupProps,setup(t){const r=t;provide(buttonGroupContextKey,reactive({size:toRef(r,"size"),type:toRef(r,"type")}));const n=useNamespace("button");return(g,y)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(n).b("group")}`)},[renderSlot(g.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$1$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getAugmentedNamespace(t){if(t.__esModule)return t;var r=t.default;if(typeof r=="function"){var n=function g(){return this instanceof g?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};n.prototype=r.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(g){var y=Object.getOwnPropertyDescriptor(t,g);Object.defineProperty(n,g,y.get?y:{enumerable:!0,get:function(){return t[g]}})}),n}var dayjs_min={exports:{}};(function(t,r){(function(n,g){t.exports=g()})(commonjsGlobal,function(){var n=1e3,g=6e4,y=36e5,L="millisecond",$="second",V="minute",z="hour",j="day",re="week",ae="month",oe="quarter",ie="year",le="date",ue="Invalid Date",de=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,pe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,he={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Lt){var vn=["th","st","nd","rd"],jt=Lt%100;return"["+Lt+(vn[(jt-20)%10]||vn[jt]||vn[0])+"]"}},_e=function(Lt,vn,jt){var At=String(Lt);return!At||At.length>=vn?Lt:""+Array(vn+1-At.length).join(jt)+Lt},Ce={s:_e,z:function(Lt){var vn=-Lt.utcOffset(),jt=Math.abs(vn),At=Math.floor(jt/60),hn=jt%60;return(vn<=0?"+":"-")+_e(At,2,"0")+":"+_e(hn,2,"0")},m:function Lt(vn,jt){if(vn.date()1)return Lt(Cn[0])}else{var Tn=vn.name;xe[Tn]=vn,hn=Tn}return!At&&hn&&($e=hn),hn||!At&&$e},Fe=function(Lt,vn){if(Ne(Lt))return Lt.clone();var jt=typeof vn=="object"?vn:{};return jt.date=Lt,jt.args=arguments,new Et(jt)},qe=Ce;qe.l=ze,qe.i=Ne,qe.w=function(Lt,vn){return Fe(Lt,{locale:vn.$L,utc:vn.$u,x:vn.$x,$offset:vn.$offset})};var Et=function(){function Lt(jt){this.$L=ze(jt.locale,null,!0),this.parse(jt),this.$x=this.$x||jt.x||{},this[Ie]=!0}var vn=Lt.prototype;return vn.parse=function(jt){this.$d=function(At){var hn=At.date,bn=At.utc;if(hn===null)return new Date(NaN);if(qe.u(hn))return new Date;if(hn instanceof Date)return new Date(hn);if(typeof hn=="string"&&!/Z$/i.test(hn)){var Cn=hn.match(de);if(Cn){var Tn=Cn[2]-1||0,xn=(Cn[7]||"0").substring(0,3);return bn?new Date(Date.UTC(Cn[1],Tn,Cn[3]||1,Cn[4]||0,Cn[5]||0,Cn[6]||0,xn)):new Date(Cn[1],Tn,Cn[3]||1,Cn[4]||0,Cn[5]||0,Cn[6]||0,xn)}}return new Date(hn)}(jt),this.init()},vn.init=function(){var jt=this.$d;this.$y=jt.getFullYear(),this.$M=jt.getMonth(),this.$D=jt.getDate(),this.$W=jt.getDay(),this.$H=jt.getHours(),this.$m=jt.getMinutes(),this.$s=jt.getSeconds(),this.$ms=jt.getMilliseconds()},vn.$utils=function(){return qe},vn.isValid=function(){return this.$d.toString()!==ue},vn.isSame=function(jt,At){var hn=Fe(jt);return this.startOf(At)<=hn&&hn<=this.endOf(At)},vn.isAfter=function(jt,At){return Fe(jt)68?1900:2e3)},j=function(ue){return function(de){this[ue]=+de}},re=[/[+-]\d\d:?(\d\d)?|Z/,function(ue){(this.zone||(this.zone={})).offset=function(de){if(!de||de==="Z")return 0;var pe=de.match(/([+-]|\d\d)/g),he=60*pe[1]+(+pe[2]||0);return he===0?0:pe[0]==="+"?-he:he}(ue)}],ae=function(ue){var de=V[ue];return de&&(de.indexOf?de:de.s.concat(de.f))},oe=function(ue,de){var pe,he=V.meridiem;if(he){for(var _e=1;_e<=24;_e+=1)if(ue.indexOf(he(_e,0,de))>-1){pe=_e>12;break}}else pe=ue===(de?"pm":"PM");return pe},ie={A:[$,function(ue){this.afternoon=oe(ue,!1)}],a:[$,function(ue){this.afternoon=oe(ue,!0)}],S:[/\d/,function(ue){this.milliseconds=100*+ue}],SS:[y,function(ue){this.milliseconds=10*+ue}],SSS:[/\d{3}/,function(ue){this.milliseconds=+ue}],s:[L,j("seconds")],ss:[L,j("seconds")],m:[L,j("minutes")],mm:[L,j("minutes")],H:[L,j("hours")],h:[L,j("hours")],HH:[L,j("hours")],hh:[L,j("hours")],D:[L,j("day")],DD:[y,j("day")],Do:[$,function(ue){var de=V.ordinal,pe=ue.match(/\d+/);if(this.day=pe[0],de)for(var he=1;he<=31;he+=1)de(he).replace(/\[|\]/g,"")===ue&&(this.day=he)}],M:[L,j("month")],MM:[y,j("month")],MMM:[$,function(ue){var de=ae("months"),pe=(ae("monthsShort")||de.map(function(he){return he.slice(0,3)})).indexOf(ue)+1;if(pe<1)throw new Error;this.month=pe%12||pe}],MMMM:[$,function(ue){var de=ae("months").indexOf(ue)+1;if(de<1)throw new Error;this.month=de%12||de}],Y:[/[+-]?\d+/,j("year")],YY:[y,function(ue){this.year=z(ue)}],YYYY:[/\d{4}/,j("year")],Z:re,ZZ:re};function le(ue){var de,pe;de=ue,pe=V&&V.formats;for(var he=(ue=de.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(ze,Fe,qe){var Et=qe&&qe.toUpperCase();return Fe||pe[qe]||n[qe]||pe[Et].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(kt,Lt,vn){return Lt||vn.slice(1)})})).match(g),_e=he.length,Ce=0;Ce<_e;Ce+=1){var $e=he[Ce],xe=ie[$e],Ie=xe&&xe[0],Ne=xe&&xe[1];he[Ce]=Ne?{regex:Ie,parser:Ne}:$e.replace(/^\[|\]$/g,"")}return function(ze){for(var Fe={},qe=0,Et=0;qe<_e;qe+=1){var kt=he[qe];if(typeof kt=="string")Et+=kt.length;else{var Lt=kt.regex,vn=kt.parser,jt=ze.slice(Et),At=Lt.exec(jt)[0];vn.call(Fe,At),ze=ze.replace(At,"")}}return function(hn){var bn=hn.afternoon;if(bn!==void 0){var Cn=hn.hours;bn?Cn<12&&(hn.hours+=12):Cn===12&&(hn.hours=0),delete hn.afternoon}}(Fe),Fe}}return function(ue,de,pe){pe.p.customParseFormat=!0,ue&&ue.parseTwoDigitYear&&(z=ue.parseTwoDigitYear);var he=de.prototype,_e=he.parse;he.parse=function(Ce){var $e=Ce.date,xe=Ce.utc,Ie=Ce.args;this.$u=xe;var Ne=Ie[1];if(typeof Ne=="string"){var ze=Ie[2]===!0,Fe=Ie[3]===!0,qe=ze||Fe,Et=Ie[2];Fe&&(Et=Ie[2]),V=this.$locale(),!ze&&Et&&(V=pe.Ls[Et]),this.$d=function(jt,At,hn){try{if(["x","X"].indexOf(At)>-1)return new Date((At==="X"?1e3:1)*jt);var bn=le(At)(jt),Cn=bn.year,Tn=bn.month,xn=bn.day,En=bn.hours,kn=bn.minutes,On=bn.seconds,Rn=bn.milliseconds,In=bn.zone,Mn=new Date,Vn=xn||(Cn||Tn?1:Mn.getDate()),zn=Cn||Mn.getFullYear(),Jn=0;Cn&&!Tn||(Jn=Tn>0?Tn-1:Mn.getMonth());var tr=En||0,$n=kn||0,Pn=On||0,Bn=Rn||0;return In?new Date(Date.UTC(zn,Jn,Vn,tr,$n,Pn,Bn+60*In.offset*1e3)):hn?new Date(Date.UTC(zn,Jn,Vn,tr,$n,Pn,Bn)):new Date(zn,Jn,Vn,tr,$n,Pn,Bn)}catch{return new Date("")}}($e,Ne,xe),this.init(),Et&&Et!==!0&&(this.$L=this.locale(Et).$L),qe&&$e!=this.format(Ne)&&(this.$d=new Date("")),V={}}else if(Ne instanceof Array)for(var kt=Ne.length,Lt=1;Lt<=kt;Lt+=1){Ie[1]=Ne[Lt-1];var vn=pe.apply(this,Ie);if(vn.isValid()){this.$d=vn.$d,this.$L=vn.$L,this.init();break}Lt===kt&&(this.$d=new Date(""))}else _e.call(this,Ce)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports),timeUnits$2=["hours","minutes","seconds"],DEFAULT_FORMATS_TIME="HH:mm:ss",DEFAULT_FORMATS_DATE="YYYY-MM-DD",DEFAULT_FORMATS_DATEPICKER={date:DEFAULT_FORMATS_DATE,dates:DEFAULT_FORMATS_DATE,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},buildTimeList=(t,r)=>[t>0?t-1:void 0,t,tArray.from(Array.from({length:t}).keys()),extractDateFormat=t=>t.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=t=>t.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(t,r){const n=isDate$1(t),g=isDate$1(r);return n&&g?t.getTime()===r.getTime():!n&&!g?t===r:!1},valueEquals=function(t,r){const n=isArray$6(t),g=isArray$6(r);return n&&g?t.length!==r.length?!1:t.every((y,L)=>dateEquals(y,r[L])):!n&&!g?dateEquals(t,r):!1},parseDate$1=function(t,r,n){const g=isEmpty(r)||r==="x"?dayjs(t).locale(n):dayjs(t,r).locale(n);return g.isValid()?g:void 0},formatter=function(t,r,n){return isEmpty(r)?t:r==="x"?+t:dayjs(t).locale(n).format(r)},makeList=(t,r)=>{var n;const g=[],y=r==null?void 0:r();for(let L=0;L({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:{type:Boolean,default:!1},...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean}),_hoisted_1$$=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$F=["id","name","placeholder","value","disabled","readonly"],__default__$1h=defineComponent({name:"Picker"}),_sfc_main$1_=defineComponent({...__default__$1h,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(t,{expose:r,emit:n}){const g=t,{lang:y}=useLocale(),L=useNamespace("date"),$=useNamespace("input"),V=useNamespace("range"),{form:z,formItem:j}=useFormItem(),re=inject("ElPopperOptions",{}),ae=ref(),oe=ref(),ie=ref(!1),le=ref(!1),ue=ref(null);let de=!1,pe=!1;watch(ie,Dn=>{Dn?nextTick(()=>{Dn&&(ue.value=g.modelValue)}):(Fn.value=null,nextTick(()=>{he(g.modelValue)}))});const he=(Dn,Hn)=>{(Hn||!valueEquals(Dn,ue.value))&&(n("change",Dn),g.validateEvent&&(j==null||j.validate("change").catch(Wn=>void 0)))},_e=Dn=>{if(!valueEquals(g.modelValue,Dn)){let Hn;isArray$6(Dn)?Hn=Dn.map(Wn=>formatter(Wn,g.valueFormat,y.value)):Dn&&(Hn=formatter(Dn,g.valueFormat,y.value)),n("update:modelValue",Dn&&Hn,y.value)}},Ce=Dn=>{n("keydown",Dn)},$e=computed(()=>{if(oe.value){const Dn=$n.value?oe.value:oe.value.$el;return Array.from(Dn.querySelectorAll("input"))}return[]}),xe=(Dn,Hn,Wn)=>{const pr=$e.value;pr.length&&(!Wn||Wn==="min"?(pr[0].setSelectionRange(Dn,Hn),pr[0].focus()):Wn==="max"&&(pr[1].setSelectionRange(Dn,Hn),pr[1].focus()))},Ie=()=>{vn(!0,!0),nextTick(()=>{pe=!1})},Ne=(Dn="",Hn=!1)=>{Hn||(pe=!0),ie.value=Hn;let Wn;isArray$6(Dn)?Wn=Dn.map(pr=>pr.toDate()):Wn=Dn&&Dn.toDate(),Fn.value=null,_e(Wn)},ze=()=>{le.value=!0},Fe=()=>{n("visible-change",!0)},qe=Dn=>{(Dn==null?void 0:Dn.key)===EVENT_CODE.esc&&vn(!0,!0)},Et=()=>{le.value=!1,ie.value=!1,pe=!1,n("visible-change",!1)},kt=()=>{ie.value=!0},Lt=()=>{ie.value=!1},vn=(Dn=!0,Hn=!1)=>{pe=Hn;const[Wn,pr]=unref($e);let Pr=Wn;!Dn&&$n.value&&(Pr=pr),Pr&&Pr.focus()},jt=Dn=>{g.readonly||bn.value||ie.value||pe||(ie.value=!0,n("focus",Dn))};let At;const hn=Dn=>{const Hn=async()=>{setTimeout(()=>{var Wn;At===Hn&&(!((Wn=ae.value)!=null&&Wn.isFocusInsideContent()&&!de)&&$e.value.filter(pr=>pr.contains(document.activeElement)).length===0&&(cr(),ie.value=!1,n("blur",Dn),g.validateEvent&&(j==null||j.validate("blur").catch(pr=>void 0))),de=!1)},0)};At=Hn,Hn()},bn=computed(()=>g.disabled||(z==null?void 0:z.disabled)),Cn=computed(()=>{let Dn;if(Mn.value?Mr.value.getDefaultValue&&(Dn=Mr.value.getDefaultValue()):isArray$6(g.modelValue)?Dn=g.modelValue.map(Hn=>parseDate$1(Hn,g.valueFormat,y.value)):Dn=parseDate$1(g.modelValue,g.valueFormat,y.value),Mr.value.getRangeAvailableTime){const Hn=Mr.value.getRangeAvailableTime(Dn);isEqual$1(Hn,Dn)||(Dn=Hn,_e(isArray$6(Dn)?Dn.map(Wn=>Wn.toDate()):Dn.toDate()))}return isArray$6(Dn)&&Dn.some(Hn=>!Hn)&&(Dn=[]),Dn}),Tn=computed(()=>{if(!Mr.value.panelReady)return"";const Dn=vr(Cn.value);return isArray$6(Fn.value)?[Fn.value[0]||Dn&&Dn[0]||"",Fn.value[1]||Dn&&Dn[1]||""]:Fn.value!==null?Fn.value:!En.value&&Mn.value||!ie.value&&Mn.value?"":Dn?kn.value?Dn.join(", "):Dn:""}),xn=computed(()=>g.type.includes("time")),En=computed(()=>g.type.startsWith("time")),kn=computed(()=>g.type==="dates"),On=computed(()=>g.prefixIcon||(xn.value?clock_default:calendar_default)),Rn=ref(!1),In=Dn=>{g.readonly||bn.value||Rn.value&&(Dn.stopPropagation(),Ie(),_e(null),he(null,!0),Rn.value=!1,ie.value=!1,Mr.value.handleClear&&Mr.value.handleClear())},Mn=computed(()=>{const{modelValue:Dn}=g;return!Dn||isArray$6(Dn)&&!Dn.filter(Boolean).length}),Vn=async Dn=>{var Hn;g.readonly||bn.value||(((Hn=Dn.target)==null?void 0:Hn.tagName)!=="INPUT"||$e.value.includes(document.activeElement))&&(ie.value=!0)},zn=()=>{g.readonly||bn.value||!Mn.value&&g.clearable&&(Rn.value=!0)},Jn=()=>{Rn.value=!1},tr=Dn=>{var Hn;g.readonly||bn.value||(((Hn=Dn.touches[0].target)==null?void 0:Hn.tagName)!=="INPUT"||$e.value.includes(document.activeElement))&&(ie.value=!0)},$n=computed(()=>g.type.includes("range")),Pn=useFormSize(),Bn=computed(()=>{var Dn,Hn;return(Hn=(Dn=unref(ae))==null?void 0:Dn.popperRef)==null?void 0:Hn.contentRef}),Un=computed(()=>{var Dn;return unref($n)?unref(oe):(Dn=unref(oe))==null?void 0:Dn.$el});onClickOutside(Un,Dn=>{const Hn=unref(Bn),Wn=unref(Un);Hn&&(Dn.target===Hn||Dn.composedPath().includes(Hn))||Dn.target===Wn||Dn.composedPath().includes(Wn)||(ie.value=!1)});const Fn=ref(null),cr=()=>{if(Fn.value){const Dn=ur(Tn.value);Dn&&Yn(Dn)&&(_e(isArray$6(Dn)?Dn.map(Hn=>Hn.toDate()):Dn.toDate()),Fn.value=null)}Fn.value===""&&(_e(null),he(null),Fn.value=null)},ur=Dn=>Dn?Mr.value.parseUserInput(Dn):null,vr=Dn=>Dn?Mr.value.formatToString(Dn):null,Yn=Dn=>Mr.value.isValidValue(Dn),gr=async Dn=>{if(g.readonly||bn.value)return;const{code:Hn}=Dn;if(Ce(Dn),Hn===EVENT_CODE.esc){ie.value===!0&&(ie.value=!1,Dn.preventDefault(),Dn.stopPropagation());return}if(Hn===EVENT_CODE.down&&(Mr.value.handleFocusPicker&&(Dn.preventDefault(),Dn.stopPropagation()),ie.value===!1&&(ie.value=!0,await nextTick()),Mr.value.handleFocusPicker)){Mr.value.handleFocusPicker();return}if(Hn===EVENT_CODE.tab){de=!0;return}if(Hn===EVENT_CODE.enter||Hn===EVENT_CODE.numpadEnter){(Fn.value===null||Fn.value===""||Yn(ur(Tn.value)))&&(cr(),ie.value=!1),Dn.stopPropagation();return}if(Fn.value){Dn.stopPropagation();return}Mr.value.handleKeydownInput&&Mr.value.handleKeydownInput(Dn)},lr=Dn=>{Fn.value=Dn,ie.value||(ie.value=!0)},er=Dn=>{const Hn=Dn.target;Fn.value?Fn.value=[Hn.value,Fn.value[1]]:Fn.value=[Hn.value,null]},br=Dn=>{const Hn=Dn.target;Fn.value?Fn.value=[Fn.value[0],Hn.value]:Fn.value=[null,Hn.value]},wr=()=>{var Dn;const Hn=Fn.value,Wn=ur(Hn&&Hn[0]),pr=unref(Cn);if(Wn&&Wn.isValid()){Fn.value=[vr(Wn),((Dn=Tn.value)==null?void 0:Dn[1])||null];const Pr=[Wn,pr&&(pr[1]||null)];Yn(Pr)&&(_e(Pr),Fn.value=null)}},$r=()=>{var Dn;const Hn=unref(Fn),Wn=ur(Hn&&Hn[1]),pr=unref(Cn);if(Wn&&Wn.isValid()){Fn.value=[((Dn=unref(Tn))==null?void 0:Dn[0])||null,vr(Wn)];const Pr=[pr&&pr[0],Wn];Yn(Pr)&&(_e(Pr),Fn.value=null)}},Mr=ref({}),Cr=Dn=>{Mr.value[Dn[0]]=Dn[1],Mr.value.panelReady=!0},xr=Dn=>{n("calendar-change",Dn)},or=(Dn,Hn,Wn)=>{n("panel-change",Dn,Hn,Wn)};return provide("EP_PICKER_BASE",{props:g}),r({focus:vn,handleFocusInput:jt,handleBlurInput:hn,handleOpen:kt,handleClose:Lt,onPick:Ne}),(Dn,Hn)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:ae,visible:ie.value,effect:"light",pure:"",trigger:"click"},Dn.$attrs,{role:"dialog",teleported:"",transition:`${unref(L).namespace.value}-zoom-in-top`,"popper-class":[`${unref(L).namespace.value}-picker__popper`,Dn.popperClass],"popper-options":unref(re),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:ze,onShow:Fe,onHide:Et}),{default:withCtx(()=>[unref($n)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:oe,class:normalizeClass([unref(L).b("editor"),unref(L).bm("editor",Dn.type),unref($).e("wrapper"),unref(L).is("disabled",unref(bn)),unref(L).is("active",ie.value),unref(V).b("editor"),unref(Pn)?unref(V).bm("editor",unref(Pn)):"",Dn.$attrs.class]),style:normalizeStyle$1(Dn.$attrs.style),onClick:jt,onMouseenter:zn,onMouseleave:Jn,onTouchstart:tr,onKeydown:gr},[unref(On)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref($).e("icon"),unref(V).e("icon")]),onMousedown:withModifiers(Vn,["prevent"]),onTouchstart:tr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(On))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:Dn.id&&Dn.id[0],autocomplete:"off",name:Dn.name&&Dn.name[0],placeholder:Dn.startPlaceholder,value:unref(Tn)&&unref(Tn)[0],disabled:unref(bn),readonly:!Dn.editable||Dn.readonly,class:normalizeClass(unref(V).b("input")),onMousedown:Vn,onInput:er,onChange:wr,onFocus:jt,onBlur:hn},null,42,_hoisted_1$$),renderSlot(Dn.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(V).b("separator"))},toDisplayString(Dn.rangeSeparator),3)]),createBaseVNode("input",{id:Dn.id&&Dn.id[1],autocomplete:"off",name:Dn.name&&Dn.name[1],placeholder:Dn.endPlaceholder,value:unref(Tn)&&unref(Tn)[1],disabled:unref(bn),readonly:!Dn.editable||Dn.readonly,class:normalizeClass(unref(V).b("input")),onMousedown:Vn,onFocus:jt,onBlur:hn,onInput:br,onChange:$r},null,42,_hoisted_2$F),Dn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref($).e("icon"),unref(V).e("close-icon"),{[unref(V).e("close-icon--hidden")]:!Rn.value}]),onClick:In},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Dn.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:Dn.id,ref_key:"inputRef",ref:oe,"container-role":"combobox","model-value":unref(Tn),name:Dn.name,size:unref(Pn),disabled:unref(bn),placeholder:Dn.placeholder,class:normalizeClass([unref(L).b("editor"),unref(L).bm("editor",Dn.type),Dn.$attrs.class]),style:normalizeStyle$1(Dn.$attrs.style),readonly:!Dn.editable||Dn.readonly||unref(kn)||Dn.type==="week",label:Dn.label,tabindex:Dn.tabindex,"validate-event":!1,onInput:lr,onFocus:jt,onBlur:hn,onKeydown:gr,onChange:cr,onMousedown:Vn,onMouseenter:zn,onMouseleave:Jn,onTouchstart:tr,onClick:Hn[0]||(Hn[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(On)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref($).e("icon")),onMousedown:withModifiers(Vn,["prevent"]),onTouchstart:tr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(On))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[Rn.value&&Dn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref($).e("icon")} clear-icon`),onClick:withModifiers(In,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Dn.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onKeydown"]))]),content:withCtx(()=>[renderSlot(Dn.$slots,"default",{visible:ie.value,actualVisible:le.value,parsedValue:unref(Cn),format:Dn.format,unlinkPanels:Dn.unlinkPanels,type:Dn.type,defaultValue:Dn.defaultValue,onPick:Ne,onSelectRange:xe,onSetPickerOption:Cr,onCalendarChange:xr,onPanelChange:or,onKeydown:qe,onMousedown:Hn[1]||(Hn[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$1(_sfc_main$1_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:t,getAvailableMinutes:r,getAvailableSeconds:n})=>{const g=($,V,z,j)=>{const re={hour:t,minute:r,second:n};let ae=$;return["hour","minute","second"].forEach(oe=>{if(re[oe]){let ie;const le=re[oe];switch(oe){case"minute":{ie=le(ae.hour(),V,j);break}case"second":{ie=le(ae.hour(),ae.minute(),V,j);break}default:{ie=le(V,j);break}}if(ie!=null&&ie.length&&!ie.includes(ae[oe]())){const ue=z?0:ie.length-1;ae=ae[oe](ie[ue])}}}),ae},y={};return{timePickerOptions:y,getAvailableTime:g,onSetOption:([$,V])=>{y[$]=V}}},makeAvailableArr=t=>{const r=(g,y)=>g||y,n=g=>g!==!0;return t.map(r).filter(n)},getTimeLists=(t,r,n)=>({getHoursList:($,V)=>makeList(24,t&&(()=>t==null?void 0:t($,V))),getMinutesList:($,V,z)=>makeList(60,r&&(()=>r==null?void 0:r($,V,z))),getSecondsList:($,V,z,j)=>makeList(60,n&&(()=>n==null?void 0:n($,V,z,j)))}),buildAvailableTimeSlotGetter=(t,r,n)=>{const{getHoursList:g,getMinutesList:y,getSecondsList:L}=getTimeLists(t,r,n);return{getAvailableHours:(j,re)=>makeAvailableArr(g(j,re)),getAvailableMinutes:(j,re,ae)=>makeAvailableArr(y(j,re,ae)),getAvailableSeconds:(j,re,ae,oe)=>makeAvailableArr(L(j,re,ae,oe))}},useOldValue=t=>{const r=ref(t.parsedValue);return watch(()=>t.visible,n=>{n||(r.value=t.parsedValue)}),r},nodeList=new Map;let startClick;isClient$1&&(document.addEventListener("mousedown",t=>startClick=t),document.addEventListener("mouseup",t=>{for(const r of nodeList.values())for(const{documentHandler:n}of r)n(t,startClick)}));function createDocumentHandler(t,r){let n=[];return Array.isArray(r.arg)?n=r.arg:isElement$1(r.arg)&&n.push(r.arg),function(g,y){const L=r.instance.popperRef,$=g.target,V=y==null?void 0:y.target,z=!r||!r.instance,j=!$||!V,re=t.contains($)||t.contains(V),ae=t===$,oe=n.length&&n.some(le=>le==null?void 0:le.contains($))||n.length&&n.includes(V),ie=L&&(L.contains($)||L.contains(V));z||j||re||ae||oe||ie||r.value(g,y)}}const ClickOutside={beforeMount(t,r){nodeList.has(t)||nodeList.set(t,[]),nodeList.get(t).push({documentHandler:createDocumentHandler(t,r),bindingFn:r.value})},updated(t,r){nodeList.has(t)||nodeList.set(t,[]);const n=nodeList.get(t),g=n.findIndex(L=>L.bindingFn===r.oldValue),y={documentHandler:createDocumentHandler(t,r),bindingFn:r.value};g>=0?n.splice(g,1,y):n.push(y)},unmounted(t){nodeList.delete(t)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(t,r){const n=r.value,{interval:g=REPEAT_INTERVAL,delay:y=REPEAT_DELAY}=isFunction$4(n)?{}:n;let L,$;const V=()=>isFunction$4(n)?n():n.handler(),z=()=>{$&&(clearTimeout($),$=void 0),L&&(clearInterval(L),L=void 0)};t.addEventListener("mousedown",j=>{j.button===0&&(z(),V(),document.addEventListener("mouseup",()=>z(),{once:!0}),$=setTimeout(()=>{L=setInterval(()=>{V()},g)},y))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=t=>{if(FOCUS_STACK.length===0)return;const r=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(r.length>0&&t.code===EVENT_CODE.tab){if(r.length===1){t.preventDefault(),document.activeElement!==r[0]&&r[0].focus();return}const n=t.shiftKey,g=t.target===r[0],y=t.target===r[r.length-1];g&&n&&(t.preventDefault(),r[r.length-1].focus()),y&&!n&&(t.preventDefault(),r[0].focus())}},TrapFocus={beforeMount(t){t[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(t),FOCUS_STACK.push(t),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(t){nextTick(()=>{t[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(t)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v=!1,o,f,s,u,d,N,l,p,m$1,w,D,x,E,M,F;function a(){if(!v){v=!0;var t=navigator.userAgent,r=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),n=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(x=/\b(iPhone|iP[ao]d)/.exec(t),E=/\b(iP[ao]d)/.exec(t),w=/Android/i.exec(t),M=/FBAN\/\w+;/i.exec(t),F=/Mobile/i.exec(t),D=!!/Win64/.exec(t),r){o=r[1]?parseFloat(r[1]):r[5]?parseFloat(r[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(t);N=g?parseFloat(g[1])+4:o,f=r[2]?parseFloat(r[2]):NaN,s=r[3]?parseFloat(r[3]):NaN,u=r[4]?parseFloat(r[4]):NaN,u?(r=/(?:Chrome\/(\d+\.\d+))/.exec(t),d=r&&r[1]?parseFloat(r[1]):NaN):d=NaN}else o=f=s=d=u=NaN;if(n){if(n[1]){var y=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);l=y?parseFloat(y[1].replace("_",".")):!0}else l=!1;p=!!n[2],m$1=!!n[3]}else l=p=m$1=!1}}var _={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||N>o},ie64:function(){return _.ie()&&D},firefox:function(){return a()||f},opera:function(){return a()||s},webkit:function(){return a()||u},safari:function(){return _.webkit()},chrome:function(){return a()||d},windows:function(){return a()||p},osx:function(){return a()||l},linux:function(){return a()||m$1},iphone:function(){return a()||x},mobile:function(){return a()||x||E||w||F},nativeApp:function(){return a()||M},android:function(){return a()||w},ipad:function(){return a()||E}},A=_,c=!!(typeof window<"u"&&window.document&&window.document.createElement),U={canUseDOM:c,canUseWorkers:typeof Worker<"u",canUseEventListeners:c&&!!(window.addEventListener||window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c},h=U,X;h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S(t,r){if(!h.canUseDOM||r&&!("addEventListener"in document))return!1;var n="on"+t,g=n in document;if(!g){var y=document.createElement("div");y.setAttribute(n,"return;"),g=typeof y[n]=="function"}return!g&&X&&t==="wheel"&&(g=document.implementation.hasFeature("Events.wheel","3.0")),g}var b=S,O=10,I=40,P=800;function T(t){var r=0,n=0,g=0,y=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(r=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(r=n,n=0),g=r*O,y=n*O,"deltaY"in t&&(y=t.deltaY),"deltaX"in t&&(g=t.deltaX),(g||y)&&t.deltaMode&&(t.deltaMode==1?(g*=I,y*=I):(g*=P,y*=P)),g&&!r&&(r=g<1?-1:1),y&&!n&&(n=y<1?-1:1),{spinX:r,spinY:n,pixelX:g,pixelY:y}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b("wheel")?"wheel":"mousewheel"};var Y=T;/** -* Checks if an event is supported in the current execution environment. -* -* NOTE: This will not work correctly for non-generic events such as `change`, -* `reset`, `load`, `error`, and `select`. -* -* Borrows from Modernizr. -* -* @param {string} eventNameSuffix Event name, e.g. "click". -* @param {?boolean} capture Check if the capture phase is supported. -* @return {boolean} True if the event is supported. -* @internal -* @license Modernizr 3.0.0pre (Custom Build) | MIT -*/const mousewheel=function(t,r){if(t&&t.addEventListener){const n=function(g){const y=Y(g);r&&Reflect.apply(r,this,[g,y])};t.addEventListener("wheel",n,{passive:!0})}},Mousewheel={beforeMount(t,r){mousewheel(t,r.value)}},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),_hoisted_1$_=["onClick"],_hoisted_2$E=["onMouseenter"],_sfc_main$1Z=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(t,{emit:r}){const n=t,g=useNamespace("time"),{getHoursList:y,getMinutesList:L,getSecondsList:$}=getTimeLists(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let V=!1;const z=ref(),j=ref(),re=ref(),ae=ref(),oe={hours:j,minutes:re,seconds:ae},ie=computed(()=>n.showSeconds?timeUnits$2:timeUnits$2.slice(0,2)),le=computed(()=>{const{spinnerDate:bn}=n,Cn=bn.hour(),Tn=bn.minute(),xn=bn.second();return{hours:Cn,minutes:Tn,seconds:xn}}),ue=computed(()=>{const{hours:bn,minutes:Cn}=unref(le);return{hours:y(n.role),minutes:L(bn,n.role),seconds:$(bn,Cn,n.role)}}),de=computed(()=>{const{hours:bn,minutes:Cn,seconds:Tn}=unref(le);return{hours:buildTimeList(bn,23),minutes:buildTimeList(Cn,59),seconds:buildTimeList(Tn,59)}}),pe=debounce(bn=>{V=!1,Ce(bn)},200),he=bn=>{if(!!!n.amPmMode)return"";const Tn=n.amPmMode==="A";let xn=bn<12?" am":" pm";return Tn&&(xn=xn.toUpperCase()),xn},_e=bn=>{let Cn;switch(bn){case"hours":Cn=[0,2];break;case"minutes":Cn=[3,5];break;case"seconds":Cn=[6,8];break}const[Tn,xn]=Cn;r("select-range",Tn,xn),z.value=bn},Ce=bn=>{Ie(bn,unref(le)[bn])},$e=()=>{Ce("hours"),Ce("minutes"),Ce("seconds")},xe=bn=>bn.querySelector(`.${g.namespace.value}-scrollbar__wrap`),Ie=(bn,Cn)=>{if(n.arrowControl)return;const Tn=unref(oe[bn]);Tn&&Tn.$el&&(xe(Tn.$el).scrollTop=Math.max(0,Cn*Ne(bn)))},Ne=bn=>{const Cn=unref(oe[bn]);return(Cn==null?void 0:Cn.$el.querySelector("li").offsetHeight)||0},ze=()=>{qe(1)},Fe=()=>{qe(-1)},qe=bn=>{z.value||_e("hours");const Cn=z.value,Tn=unref(le)[Cn],xn=z.value==="hours"?24:60,En=Et(Cn,Tn,bn,xn);kt(Cn,En),Ie(Cn,En),nextTick(()=>_e(Cn))},Et=(bn,Cn,Tn,xn)=>{let En=(Cn+Tn+xn)%xn;const kn=unref(ue)[bn];for(;kn[En]&&En!==Cn;)En=(En+Tn+xn)%xn;return En},kt=(bn,Cn)=>{if(unref(ue)[bn][Cn])return;const{hours:En,minutes:kn,seconds:On}=unref(le);let Rn;switch(bn){case"hours":Rn=n.spinnerDate.hour(Cn).minute(kn).second(On);break;case"minutes":Rn=n.spinnerDate.hour(En).minute(Cn).second(On);break;case"seconds":Rn=n.spinnerDate.hour(En).minute(kn).second(Cn);break}r("change",Rn)},Lt=(bn,{value:Cn,disabled:Tn})=>{Tn||(kt(bn,Cn),_e(bn),Ie(bn,Cn))},vn=bn=>{V=!0,pe(bn);const Cn=Math.min(Math.round((xe(unref(oe[bn]).$el).scrollTop-(jt(bn)*.5-10)/Ne(bn)+3)/Ne(bn)),bn==="hours"?23:59);kt(bn,Cn)},jt=bn=>unref(oe[bn]).$el.offsetHeight,At=()=>{const bn=Cn=>{const Tn=unref(oe[Cn]);Tn&&Tn.$el&&(xe(Tn.$el).onscroll=()=>{vn(Cn)})};bn("hours"),bn("minutes"),bn("seconds")};onMounted(()=>{nextTick(()=>{!n.arrowControl&&At(),$e(),n.role==="start"&&_e("hours")})});const hn=(bn,Cn)=>{oe[Cn].value=bn};return r("set-option",[`${n.role}_scrollDown`,qe]),r("set-option",[`${n.role}_emitSelectRange`,_e]),watch(()=>n.spinnerDate,()=>{V||$e()}),(bn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(g).b("spinner"),{"has-seconds":bn.showSeconds}])},[bn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(ie),Tn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Tn,ref_for:!0,ref:xn=>hn(xn,Tn),class:normalizeClass(unref(g).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(g).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:xn=>_e(Tn),onMousemove:xn=>Ce(Tn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ue)[Tn],(xn,En)=>(openBlock(),createElementBlock("li",{key:En,class:normalizeClass([unref(g).be("spinner","item"),unref(g).is("active",En===unref(le)[Tn]),unref(g).is("disabled",xn)]),onClick:kn=>Lt(Tn,{value:En,disabled:xn})},[Tn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(bn.amPmMode?En%12||12:En)).slice(-2))+toDisplayString(he(En)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+En).slice(-2)),1)],64))],10,_hoisted_1$_))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),bn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(ie),Tn=>(openBlock(),createElementBlock("div",{key:Tn,class:normalizeClass([unref(g).be("spinner","wrapper"),unref(g).is("arrow")]),onMouseenter:xn=>_e(Tn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(g).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Fe]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(g).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),ze]]),createBaseVNode("ul",{class:normalizeClass(unref(g).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(de)[Tn],(xn,En)=>(openBlock(),createElementBlock("li",{key:En,class:normalizeClass([unref(g).be("spinner","item"),unref(g).is("active",xn===unref(le)[Tn]),unref(g).is("disabled",unref(ue)[Tn][xn])])},[typeof xn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Tn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(bn.amPmMode?xn%12||12:xn)).slice(-2))+toDisplayString(he(xn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+xn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$E))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$1(_sfc_main$1Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const _sfc_main$1Y=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(t,{emit:r}){const n=t,g=inject("EP_PICKER_BASE"),{arrowControl:y,disabledHours:L,disabledMinutes:$,disabledSeconds:V,defaultValue:z}=g.props,{getAvailableHours:j,getAvailableMinutes:re,getAvailableSeconds:ae}=buildAvailableTimeSlotGetter(L,$,V),oe=useNamespace("time"),{t:ie,lang:le}=useLocale(),ue=ref([0,2]),de=useOldValue(n),pe=computed(()=>isUndefined$1(n.actualVisible)?`${oe.namespace.value}-zoom-in-top`:""),he=computed(()=>n.format.includes("ss")),_e=computed(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),Ce=hn=>{const bn=dayjs(hn).locale(le.value),Cn=Lt(bn);return bn.isSame(Cn)},$e=()=>{r("pick",de.value,!1)},xe=(hn=!1,bn=!1)=>{bn||r("pick",n.parsedValue,hn)},Ie=hn=>{if(!n.visible)return;const bn=Lt(hn).millisecond(0);r("pick",bn,!0)},Ne=(hn,bn)=>{r("select-range",hn,bn),ue.value=[hn,bn]},ze=hn=>{const bn=[0,3].concat(he.value?[6]:[]),Cn=["hours","minutes"].concat(he.value?["seconds"]:[]),xn=(bn.indexOf(ue.value[0])+hn+bn.length)%bn.length;qe.start_emitSelectRange(Cn[xn])},Fe=hn=>{const bn=hn.code,{left:Cn,right:Tn,up:xn,down:En}=EVENT_CODE;if([Cn,Tn].includes(bn)){ze(bn===Cn?-1:1),hn.preventDefault();return}if([xn,En].includes(bn)){const kn=bn===xn?-1:1;qe.start_scrollDown(kn),hn.preventDefault();return}},{timePickerOptions:qe,onSetOption:Et,getAvailableTime:kt}=useTimePanel({getAvailableHours:j,getAvailableMinutes:re,getAvailableSeconds:ae}),Lt=hn=>kt(hn,n.datetimeRole||"",!0),vn=hn=>hn?dayjs(hn,n.format).locale(le.value):null,jt=hn=>hn?hn.format(n.format):null,At=()=>dayjs(z).locale(le.value);return r("set-picker-option",["isValidValue",Ce]),r("set-picker-option",["formatToString",jt]),r("set-picker-option",["parseUserInput",vn]),r("set-picker-option",["handleKeydownInput",Fe]),r("set-picker-option",["getRangeAvailableTime",Lt]),r("set-picker-option",["getDefaultValue",At]),(hn,bn)=>(openBlock(),createBlock(Transition,{name:unref(pe)},{default:withCtx(()=>[hn.actualVisible||hn.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(oe).be("panel","content"),{"has-seconds":unref(he)}])},[createVNode$1(TimeSpinner,{ref:"spinner",role:hn.datetimeRole||"start","arrow-control":unref(y),"show-seconds":unref(he),"am-pm-mode":unref(_e),"spinner-date":hn.parsedValue,"disabled-hours":unref(L),"disabled-minutes":unref($),"disabled-seconds":unref(V),onChange:Ie,onSetOption:unref(Et),onSelectRange:Ne},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),createBaseVNode("div",{class:normalizeClass(unref(oe).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(oe).be("panel","btn"),"cancel"]),onClick:$e},toDisplayString(unref(ie)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(oe).be("panel","btn"),"confirm"]),onClick:bn[0]||(bn[0]=Cn=>xe())},toDisplayString(unref(ie)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$1(_sfc_main$1Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$Z=["disabled"],_sfc_main$1X=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(t,{emit:r}){const n=t,g=(Vn,zn)=>{const Jn=[];for(let tr=Vn;tr<=zn;tr++)Jn.push(tr);return Jn},{t:y,lang:L}=useLocale(),$=useNamespace("time"),V=useNamespace("picker"),z=inject("EP_PICKER_BASE"),{arrowControl:j,disabledHours:re,disabledMinutes:ae,disabledSeconds:oe,defaultValue:ie}=z.props,le=computed(()=>n.parsedValue[0]),ue=computed(()=>n.parsedValue[1]),de=useOldValue(n),pe=()=>{r("pick",de.value,!1)},he=computed(()=>n.format.includes("ss")),_e=computed(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),Ce=(Vn=!1)=>{r("pick",[le.value,ue.value],Vn)},$e=Vn=>{Ne(Vn.millisecond(0),ue.value)},xe=Vn=>{Ne(le.value,Vn.millisecond(0))},Ie=Vn=>{const zn=Vn.map(tr=>dayjs(tr).locale(L.value)),Jn=bn(zn);return zn[0].isSame(Jn[0])&&zn[1].isSame(Jn[1])},Ne=(Vn,zn)=>{r("pick",[Vn,zn],!0)},ze=computed(()=>le.value>ue.value),Fe=ref([0,2]),qe=(Vn,zn)=>{r("select-range",Vn,zn,"min"),Fe.value=[Vn,zn]},Et=computed(()=>he.value?11:8),kt=(Vn,zn)=>{r("select-range",Vn,zn,"max");const Jn=unref(Et);Fe.value=[Vn+Jn,zn+Jn]},Lt=Vn=>{const zn=he.value?[0,3,6,11,14,17]:[0,3,8,11],Jn=["hours","minutes"].concat(he.value?["seconds"]:[]),$n=(zn.indexOf(Fe.value[0])+Vn+zn.length)%zn.length,Pn=zn.length/2;$n{const zn=Vn.code,{left:Jn,right:tr,up:$n,down:Pn}=EVENT_CODE;if([Jn,tr].includes(zn)){Lt(zn===Jn?-1:1),Vn.preventDefault();return}if([$n,Pn].includes(zn)){const Bn=zn===$n?-1:1,Un=Fe.value[0]{const Jn=re?re(Vn):[],tr=Vn==="start",Pn=(zn||(tr?ue.value:le.value)).hour(),Bn=tr?g(Pn+1,23):g(0,Pn-1);return union$1(Jn,Bn)},At=(Vn,zn,Jn)=>{const tr=ae?ae(Vn,zn):[],$n=zn==="start",Pn=Jn||($n?ue.value:le.value),Bn=Pn.hour();if(Vn!==Bn)return tr;const Un=Pn.minute(),Fn=$n?g(Un+1,59):g(0,Un-1);return union$1(tr,Fn)},hn=(Vn,zn,Jn,tr)=>{const $n=oe?oe(Vn,zn,Jn):[],Pn=Jn==="start",Bn=tr||(Pn?ue.value:le.value),Un=Bn.hour(),Fn=Bn.minute();if(Vn!==Un||zn!==Fn)return $n;const cr=Bn.second(),ur=Pn?g(cr+1,59):g(0,cr-1);return union$1($n,ur)},bn=([Vn,zn])=>[kn(Vn,"start",!0,zn),kn(zn,"end",!1,Vn)],{getAvailableHours:Cn,getAvailableMinutes:Tn,getAvailableSeconds:xn}=buildAvailableTimeSlotGetter(jt,At,hn),{timePickerOptions:En,getAvailableTime:kn,onSetOption:On}=useTimePanel({getAvailableHours:Cn,getAvailableMinutes:Tn,getAvailableSeconds:xn}),Rn=Vn=>Vn?isArray$6(Vn)?Vn.map(zn=>dayjs(zn,n.format).locale(L.value)):dayjs(Vn,n.format).locale(L.value):null,In=Vn=>Vn?isArray$6(Vn)?Vn.map(zn=>zn.format(n.format)):Vn.format(n.format):null,Mn=()=>{if(isArray$6(ie))return ie.map(zn=>dayjs(zn).locale(L.value));const Vn=dayjs(ie).locale(L.value);return[Vn,Vn.add(60,"m")]};return r("set-picker-option",["formatToString",In]),r("set-picker-option",["parseUserInput",Rn]),r("set-picker-option",["isValidValue",Ie]),r("set-picker-option",["handleKeydownInput",vn]),r("set-picker-option",["getDefaultValue",Mn]),r("set-picker-option",["getRangeAvailableTime",bn]),(Vn,zn)=>Vn.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref($).b("range-picker"),unref(V).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref($).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref($).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref($).be("range-picker","header"))},toDisplayString(unref(y)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass([unref($).be("range-picker","body"),unref($).be("panel","content"),unref($).is("arrow",unref(j)),{"has-seconds":unref(he)}])},[createVNode$1(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(he),"am-pm-mode":unref(_e),"arrow-control":unref(j),"spinner-date":unref(le),"disabled-hours":jt,"disabled-minutes":At,"disabled-seconds":hn,onChange:$e,onSetOption:unref(On),onSelectRange:qe},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref($).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref($).be("range-picker","header"))},toDisplayString(unref(y)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass([unref($).be("range-picker","body"),unref($).be("panel","content"),unref($).is("arrow",unref(j)),{"has-seconds":unref(he)}])},[createVNode$1(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(he),"am-pm-mode":unref(_e),"arrow-control":unref(j),"spinner-date":unref(ue),"disabled-hours":jt,"disabled-minutes":At,"disabled-seconds":hn,onChange:xe,onSetOption:unref(On),onSelectRange:kt},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref($).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref($).be("panel","btn"),"cancel"]),onClick:zn[0]||(zn[0]=Jn=>pe())},toDisplayString(unref(y)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref($).be("panel","btn"),"confirm"]),disabled:unref(ze),onClick:zn[1]||(zn[1]=Jn=>Ce())},toDisplayString(unref(y)("el.datepicker.confirm")),11,_hoisted_1$Z)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$1(_sfc_main$1X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,r){const n=ref(),[g,y]=t.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],L=$=>r.emit("update:modelValue",$);return provide("ElPopperOptions",t.popperOptions),r.expose({focus:$=>{var V;(V=n.value)==null||V.handleFocusInput($)},blur:$=>{var V;(V=n.value)==null||V.handleBlurInput($)},handleOpen:()=>{var $;($=n.value)==null||$.handleOpen()},handleClose:()=>{var $;($=n.value)==null||$.handleClose()}}),()=>{var $;const V=($=t.format)!=null?$:DEFAULT_FORMATS_TIME;return createVNode$1(CommonPicker,mergeProps(t,{ref:n,type:g,format:V,"onUpdate:modelValue":L}),{default:z=>createVNode$1(y,z,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=t=>{t.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(t,r)=>{const n=t.subtract(1,"month").endOf("month").date();return rangeArr(r).map((g,y)=>n-(r-y-1))},getMonthDays=t=>{const r=t.daysInMonth();return rangeArr(r).map((n,g)=>g+1)},toNestedArr=t=>rangeArr(t.length/7).map(r=>{const n=r*7;return t.slice(n,n+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:t=>isObject$7(t)};var localeData$1={exports:{}};(function(t,r){(function(n,g){t.exports=g()})(commonjsGlobal,function(){return function(n,g,y){var L=g.prototype,$=function(ae){return ae&&(ae.indexOf?ae:ae.s)},V=function(ae,oe,ie,le,ue){var de=ae.name?ae:ae.$locale(),pe=$(de[oe]),he=$(de[ie]),_e=pe||he.map(function($e){return $e.slice(0,le)});if(!ue)return _e;var Ce=de.weekStart;return _e.map(function($e,xe){return _e[(xe+(Ce||0))%7]})},z=function(){return y.Ls[y.locale()]},j=function(ae,oe){return ae.formats[oe]||function(ie){return ie.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(le,ue,de){return ue||de.slice(1)})}(ae.formats[oe.toUpperCase()])},re=function(){var ae=this;return{months:function(oe){return oe?oe.format("MMMM"):V(ae,"months")},monthsShort:function(oe){return oe?oe.format("MMM"):V(ae,"monthsShort","months",3)},firstDayOfWeek:function(){return ae.$locale().weekStart||0},weekdays:function(oe){return oe?oe.format("dddd"):V(ae,"weekdays")},weekdaysMin:function(oe){return oe?oe.format("dd"):V(ae,"weekdaysMin","weekdays",2)},weekdaysShort:function(oe){return oe?oe.format("ddd"):V(ae,"weekdaysShort","weekdays",3)},longDateFormat:function(oe){return j(ae.$locale(),oe)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};L.localeData=function(){return re.bind(this)()},y.localeData=function(){var ae=z();return{firstDayOfWeek:function(){return ae.weekStart||0},weekdays:function(){return y.weekdays()},weekdaysShort:function(){return y.weekdaysShort()},weekdaysMin:function(){return y.weekdaysMin()},months:function(){return y.months()},monthsShort:function(){return y.monthsShort()},longDateFormat:function(oe){return j(ae,oe)},meridiem:ae.meridiem,ordinal:ae.ordinal}},y.months=function(){return V(z(),"months")},y.monthsShort=function(){return V(z(),"monthsShort","months",3)},y.weekdays=function(ae){return V(z(),"weekdays",null,null,ae)},y.weekdaysShort=function(ae){return V(z(),"weekdaysShort","weekdays",3,ae)},y.weekdaysMin=function(ae){return V(z(),"weekdaysMin","weekdays",2,ae)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(t,r)=>{dayjs.extend(localeData);const n=dayjs.localeData().firstDayOfWeek(),{t:g,lang:y}=useLocale(),L=dayjs().locale(y.value),$=computed(()=>!!t.range&&!!t.range.length),V=computed(()=>{let oe=[];if($.value){const[ie,le]=t.range,ue=rangeArr(le.date()-ie.date()+1).map(he=>({text:ie.date()+he,type:"current"}));let de=ue.length%7;de=de===0?0:7-de;const pe=rangeArr(de).map((he,_e)=>({text:_e+1,type:"next"}));oe=ue.concat(pe)}else{const ie=t.date.startOf("month").day(),le=getPrevMonthLastDays(t.date,(ie-n+7)%7).map(he=>({text:he,type:"prev"})),ue=getMonthDays(t.date).map(he=>({text:he,type:"current"}));oe=[...le,...ue];const de=7-(oe.length%7||7),pe=rangeArr(de).map((he,_e)=>({text:_e+1,type:"next"}));oe=oe.concat(pe)}return toNestedArr(oe)}),z=computed(()=>{const oe=n;return oe===0?WEEK_DAYS.map(ie=>g(`el.datepicker.weeks.${ie}`)):WEEK_DAYS.slice(oe).concat(WEEK_DAYS.slice(0,oe)).map(ie=>g(`el.datepicker.weeks.${ie}`))}),j=(oe,ie)=>{switch(ie){case"prev":return t.date.startOf("month").subtract(1,"month").date(oe);case"next":return t.date.startOf("month").add(1,"month").date(oe);case"current":return t.date.date(oe)}};return{now:L,isInRange:$,rows:V,weekDays:z,getFormattedDate:j,handlePickDay:({text:oe,type:ie})=>{const le=j(oe,ie);r("pick",le)},getSlotData:({text:oe,type:ie})=>{const le=j(oe,ie);return{isSelected:le.isSame(t.selectedDay),type:`${ie}-month`,day:le.format("YYYY-MM-DD"),date:le.toDate()}}}},_hoisted_1$Y={key:0},_hoisted_2$D=["onClick"],__default__$1g=defineComponent({name:"DateTable"}),_sfc_main$1W=defineComponent({...__default__$1g,props:dateTableProps,emits:dateTableEmits,setup(t,{expose:r,emit:n}){const g=t,{isInRange:y,now:L,rows:$,weekDays:V,getFormattedDate:z,handlePickDay:j,getSlotData:re}=useDateTable(g,n),ae=useNamespace("calendar-table"),oe=useNamespace("calendar-day"),ie=({text:le,type:ue})=>{const de=[ue];if(ue==="current"){const pe=z(le,ue);pe.isSame(g.selectedDay,"day")&&de.push(oe.is("selected")),pe.isSame(L,"day")&&de.push(oe.is("today"))}return de};return r({getFormattedDate:z}),(le,ue)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(ae).b(),unref(ae).is("range",unref(y))]),cellspacing:"0",cellpadding:"0"},[le.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$Y,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(V),de=>(openBlock(),createElementBlock("th",{key:de},toDisplayString(de),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref($),(de,pe)=>(openBlock(),createElementBlock("tr",{key:pe,class:normalizeClass({[unref(ae).e("row")]:!0,[unref(ae).em("row","hide-border")]:pe===0&&le.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(de,(he,_e)=>(openBlock(),createElementBlock("td",{key:_e,class:normalizeClass(ie(he)),onClick:Ce=>unref(j)(he)},[createBaseVNode("div",{class:normalizeClass(unref(oe).b())},[renderSlot(le.$slots,"date-cell",{data:unref(re)(he)},()=>[createBaseVNode("span",null,toDisplayString(he.text),1)])],2)],10,_hoisted_2$D))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$1(_sfc_main$1W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const adjacentMonth=(t,r)=>{const n=t.endOf("month"),g=r.startOf("month"),L=n.isSame(g,"week")?g.add(1,"week"):g;return[[t,n],[L.startOf("week"),r]]},threeConsecutiveMonth=(t,r)=>{const n=t.endOf("month"),g=t.add(1,"month").startOf("month"),y=n.isSame(g,"week")?g.add(1,"week"):g,L=y.endOf("month"),$=r.startOf("month"),V=L.isSame($,"week")?$.add(1,"week"):$;return[[t,n],[y.startOf("week"),L],[V.startOf("week"),r]]},useCalendar=(t,r,n)=>{const g=useSlots(),{lang:y}=useLocale(),L=ref(),$=dayjs().locale(y.value),V=computed({get(){return t.modelValue?j.value:L.value},set(pe){if(!pe)return;L.value=pe;const he=pe.toDate();r(INPUT_EVENT,he),r(UPDATE_MODEL_EVENT,he)}}),z=computed(()=>{if(!t.range)return[];const pe=t.range.map(Ce=>dayjs(Ce).locale(y.value)),[he,_e]=pe;return he.isAfter(_e)?[]:he.isSame(_e,"month")?le(he,_e):he.add(1,"month").month()!==_e.month()?[]:le(he,_e)}),j=computed(()=>t.modelValue?dayjs(t.modelValue).locale(y.value):V.value||(z.value.length?z.value[0][0]:$)),re=computed(()=>j.value.subtract(1,"month").date(1)),ae=computed(()=>j.value.add(1,"month").date(1)),oe=computed(()=>j.value.subtract(1,"year").date(1)),ie=computed(()=>j.value.add(1,"year").date(1)),le=(pe,he)=>{const _e=pe.startOf("week"),Ce=he.endOf("week"),$e=_e.get("month"),xe=Ce.get("month");return $e===xe?[[_e,Ce]]:($e+1)%12===xe?adjacentMonth(_e,Ce):$e+2===xe||($e+1)%11===xe?threeConsecutiveMonth(_e,Ce):[]},ue=pe=>{V.value=pe},de=pe=>{const _e={"prev-month":re.value,"next-month":ae.value,"prev-year":oe.value,"next-year":ie.value,today:$}[pe];_e.isSame(j.value,"day")||ue(_e)};return useDeprecated({from:'"dateCell"',replacement:'"date-cell"',scope:"ElCalendar",version:"2.3.0",ref:"https://element-plus.org/en-US/component/calendar.html#slots",type:"Slot"},computed(()=>!!g.dateCell)),{calculateValidatedDateRange:le,date:j,realSelectedDay:V,pickDay:ue,selectDate:de,validatedRange:z}},isValidRange$1=t=>isArray$6(t)&&t.length===2&&t.every(r=>isDate$1(r)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:t=>isDate$1(t),[INPUT_EVENT]:t=>isDate$1(t)},COMPONENT_NAME$g="ElCalendar",__default__$1f=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1V=defineComponent({...__default__$1f,props:calendarProps,emits:calendarEmits,setup(t,{expose:r,emit:n}){const g=t,y=useNamespace("calendar"),{calculateValidatedDateRange:L,date:$,pickDay:V,realSelectedDay:z,selectDate:j,validatedRange:re}=useCalendar(g,n),{t:ae}=useLocale(),oe=computed(()=>{const ie=`el.datepicker.month${$.value.format("M")}`;return`${$.value.year()} ${ae("el.datepicker.year")} ${ae(ie)}`});return r({selectedDay:z,pickDay:V,selectDate:j,calculateValidatedDateRange:L}),(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(y).b())},[createBaseVNode("div",{class:normalizeClass(unref(y).e("header"))},[renderSlot(ie.$slots,"header",{date:unref(oe)},()=>[createBaseVNode("div",{class:normalizeClass(unref(y).e("title"))},toDisplayString(unref(oe)),3),unref(re).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).e("button-group"))},[createVNode$1(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode$1(unref(ElButton),{size:"small",onClick:le[0]||(le[0]=ue=>unref(j)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(ae)("el.datepicker.prevMonth")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:le[1]||(le[1]=ue=>unref(j)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(ae)("el.datepicker.today")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:le[2]||(le[2]=ue=>unref(j)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(ae)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(re).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).e("body"))},[createVNode$1(DateTable$1,{date:unref($),"selected-day":unref(z),onPick:unref(V)},createSlots({_:2},[ie.$slots["date-cell"]||ie.$slots.dateCell?{name:"date-cell",fn:withCtx(ue=>[ie.$slots["date-cell"]?renderSlot(ie.$slots,"date-cell",normalizeProps(mergeProps({key:0},ue))):renderSlot(ie.$slots,"dateCell",normalizeProps(mergeProps({key:1},ue)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(y).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(re),(ue,de)=>(openBlock(),createBlock(DateTable$1,{key:de,date:ue[0],"selected-day":unref(z),range:ue,"hide-header":de!==0,onPick:unref(V)},createSlots({_:2},[ie.$slots["date-cell"]||ie.$slots.dateCell?{name:"date-cell",fn:withCtx(pe=>[ie.$slots["date-cell"]?renderSlot(ie.$slots,"date-cell",normalizeProps(mergeProps({key:0},pe))):renderSlot(ie.$slots,"dateCell",normalizeProps(mergeProps({key:1},pe)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar$2=_export_sfc$1(_sfc_main$1V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const ElCalendar=withInstall(Calendar$2),cardProps=buildProps({header:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1e=defineComponent({name:"ElCard"}),_sfc_main$1U=defineComponent({...__default__$1e,props:cardProps,setup(t){const r=useNamespace("card");return(n,g)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).b(),unref(r).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("header"))},[renderSlot(n.$slots,"header",{},()=>[createTextVNode(toDisplayString(n.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(r).e("body")),style:normalizeStyle$1(n.bodyStyle)},[renderSlot(n.$slots,"default")],6)],2))}});var Card=_export_sfc$1(_sfc_main$1U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const ElCard=withInstall(Card),carouselProps=buildProps({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0}}),carouselEmits={change:(t,r)=>[t,r].every(isNumber$2)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=(t,r,n)=>{const{children:g,addChild:y,removeChild:L}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),$=ref(-1),V=ref(null),z=ref(!1),j=ref(),re=computed(()=>t.arrow!=="never"&&!unref(ie)),ae=computed(()=>g.value.some(jt=>jt.props.label.toString().length>0)),oe=computed(()=>t.type==="card"),ie=computed(()=>t.direction==="vertical"),le=throttle$2(jt=>{_e(jt)},THROTTLE_TIME,{trailing:!0}),ue=throttle$2(jt=>{qe(jt)},THROTTLE_TIME);function de(){V.value&&(clearInterval(V.value),V.value=null)}function pe(){t.interval<=0||!t.autoplay||V.value||(V.value=setInterval(()=>he(),t.interval))}const he=()=>{$.valueCn.props.name===jt);bn.length>0&&(jt=g.value.indexOf(bn[0]))}if(jt=Number(jt),Number.isNaN(jt)||jt!==Math.floor(jt))return;const At=g.value.length,hn=$.value;jt<0?$.value=t.loop?At-1:0:jt>=At?$.value=t.loop?0:At-1:$.value=jt,hn===$.value&&Ce(hn),Lt()}function Ce(jt){g.value.forEach((At,hn)=>{At.translateItem(hn,$.value,jt)})}function $e(jt,At){var hn,bn,Cn,Tn;const xn=unref(g),En=xn.length;if(En===0||!jt.states.inStage)return!1;const kn=At+1,On=At-1,Rn=En-1,In=xn[Rn].states.active,Mn=xn[0].states.active,Vn=(bn=(hn=xn[kn])==null?void 0:hn.states)==null?void 0:bn.active,zn=(Tn=(Cn=xn[On])==null?void 0:Cn.states)==null?void 0:Tn.active;return At===Rn&&Mn||Vn?"left":At===0&&In||zn?"right":!1}function xe(){z.value=!0,t.pauseOnHover&&de()}function Ie(){z.value=!1,pe()}function Ne(jt){unref(ie)||g.value.forEach((At,hn)=>{jt===$e(At,hn)&&(At.states.hover=!0)})}function ze(){unref(ie)||g.value.forEach(jt=>{jt.states.hover=!1})}function Fe(jt){$.value=jt}function qe(jt){t.trigger==="hover"&&jt!==$.value&&($.value=jt)}function Et(){_e($.value-1)}function kt(){_e($.value+1)}function Lt(){de(),pe()}watch(()=>$.value,(jt,At)=>{Ce(At),At>-1&&r("change",jt,At)}),watch(()=>t.autoplay,jt=>{jt?pe():de()}),watch(()=>t.loop,()=>{_e($.value)}),watch(()=>t.interval,()=>{Lt()}),watch(()=>g.value,()=>{g.value.length>0&&_e(t.initialIndex)});const vn=shallowRef();return onMounted(()=>{vn.value=useResizeObserver(j.value,()=>{Ce()}),pe()}),onBeforeUnmount(()=>{de(),j.value&&vn.value&&vn.value.stop()}),provide(carouselContextKey,{root:j,isCardType:oe,isVertical:ie,items:g,loop:t.loop,addItem:y,removeItem:L,setActiveItem:_e}),{root:j,activeIndex:$,arrowDisplay:re,hasLabel:ae,hover:z,isCardType:oe,items:g,handleButtonEnter:Ne,handleButtonLeave:ze,handleIndicatorClick:Fe,handleMouseEnter:xe,handleMouseLeave:Ie,setActiveItem:_e,prev:Et,next:kt,throttledArrowClick:le,throttledIndicatorHover:ue}},_hoisted_1$X=["onMouseenter","onClick"],_hoisted_2$C={key:0},COMPONENT_NAME$f="ElCarousel",__default__$1d=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1T=defineComponent({...__default__$1d,props:carouselProps,emits:carouselEmits,setup(t,{expose:r,emit:n}){const g=t,{root:y,activeIndex:L,arrowDisplay:$,hasLabel:V,hover:z,isCardType:j,items:re,handleButtonEnter:ae,handleButtonLeave:oe,handleIndicatorClick:ie,handleMouseEnter:le,handleMouseLeave:ue,setActiveItem:de,prev:pe,next:he,throttledArrowClick:_e,throttledIndicatorHover:Ce}=useCarousel(g,n),$e=useNamespace("carousel"),xe=computed(()=>{const Ne=[$e.b(),$e.m(g.direction)];return unref(j)&&Ne.push($e.m("card")),Ne}),Ie=computed(()=>{const Ne=[$e.e("indicators"),$e.em("indicators",g.direction)];return unref(V)&&Ne.push($e.em("indicators","labels")),(g.indicatorPosition==="outside"||unref(j))&&Ne.push($e.em("indicators","outside")),Ne});return r({setActiveItem:de,prev:pe,next:he}),(Ne,ze)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:y,class:normalizeClass(unref(xe)),onMouseenter:ze[6]||(ze[6]=withModifiers((...Fe)=>unref(le)&&unref(le)(...Fe),["stop"])),onMouseleave:ze[7]||(ze[7]=withModifiers((...Fe)=>unref(ue)&&unref(ue)(...Fe),["stop"]))},[createBaseVNode("div",{class:normalizeClass(unref($e).e("container")),style:normalizeStyle$1({height:Ne.height})},[unref($)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref($e).e("arrow"),unref($e).em("arrow","left")]),onMouseenter:ze[0]||(ze[0]=Fe=>unref(ae)("left")),onMouseleave:ze[1]||(ze[1]=(...Fe)=>unref(oe)&&unref(oe)(...Fe)),onClick:ze[2]||(ze[2]=withModifiers(Fe=>unref(_e)(unref(L)-1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],34),[[vShow,(Ne.arrow==="always"||unref(z))&&(g.loop||unref(L)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref($)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref($e).e("arrow"),unref($e).em("arrow","right")]),onMouseenter:ze[3]||(ze[3]=Fe=>unref(ae)("right")),onMouseleave:ze[4]||(ze[4]=(...Fe)=>unref(oe)&&unref(oe)(...Fe)),onClick:ze[5]||(ze[5]=withModifiers(Fe=>unref(_e)(unref(L)+1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],34),[[vShow,(Ne.arrow==="always"||unref(z))&&(g.loop||unref(L)(openBlock(),createElementBlock("li",{key:qe,class:normalizeClass([unref($e).e("indicator"),unref($e).em("indicator",Ne.direction),unref($e).is("active",qe===unref(L))]),onMouseenter:Et=>unref(Ce)(qe),onClick:withModifiers(Et=>unref(ie)(qe),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref($e).e("button"))},[unref(V)?(openBlock(),createElementBlock("span",_hoisted_2$C,toDisplayString(Fe.props.label),1)):createCommentVNode("v-if",!0)],2)],42,_hoisted_1$X))),128))],2)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$1(_sfc_main$1T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=(t,r)=>{const n=inject(carouselContextKey),g=getCurrentInstance(),y=.83,L=ref(!1),$=ref(0),V=ref(1),z=ref(!1),j=ref(!1),re=ref(!1),ae=ref(!1),{isCardType:oe,isVertical:ie}=n;function le(_e,Ce,$e){const xe=$e-1,Ie=Ce-1,Ne=Ce+1,ze=$e/2;return Ce===0&&_e===xe?-1:Ce===xe&&_e===0?$e:_e=ze?$e+1:_e>Ne&&_e-Ce>=ze?-2:_e}function ue(_e,Ce){var $e;const xe=(($e=n.root.value)==null?void 0:$e.offsetWidth)||0;return re.value?xe*((2-y)*(_e-Ce)+1)/4:_e{var xe;const Ie=unref(oe),Ne=(xe=n.items.value.length)!=null?xe:Number.NaN,ze=_e===Ce;!Ie&&!isUndefined$1($e)&&(ae.value=ze||_e===$e),!ze&&Ne>2&&n.loop&&(_e=le(_e,Ce,Ne));const Fe=unref(ie);z.value=ze,Ie?(re.value=Math.round(Math.abs(_e-Ce))<=1,$.value=ue(_e,Ce),V.value=unref(z)?1:y):$.value=de(_e,Ce,Fe),j.value=!0};function he(){if(n&&unref(oe)){const _e=n.items.value.findIndex(({uid:Ce})=>Ce===g.uid);n.setActiveItem(_e)}}return onMounted(()=>{n.addItem({props:t,states:reactive({hover:L,translate:$,scale:V,active:z,ready:j,inStage:re,animating:ae}),uid:g.uid,translateItem:pe})}),onUnmounted(()=>{n.removeItem(g.uid)}),{active:z,animating:ae,hover:L,inStage:re,isVertical:ie,translate:$,isCardType:oe,scale:V,ready:j,handleItemClick:he}},__default__$1c=defineComponent({name:"ElCarouselItem"}),_sfc_main$1S=defineComponent({...__default__$1c,props:carouselItemProps,setup(t){const r=t,n=useNamespace("carousel"),{active:g,animating:y,hover:L,inStage:$,isVertical:V,translate:z,isCardType:j,scale:re,ready:ae,handleItemClick:oe}=useCarouselItem(r),ie=computed(()=>{const ue=`${`translate${unref(V)?"Y":"X"}`}(${unref(z)}px)`,de=`scale(${unref(re)})`;return{transform:[ue,de].join(" ")}});return(le,ue)=>withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass([unref(n).e("item"),unref(n).is("active",unref(g)),unref(n).is("in-stage",unref($)),unref(n).is("hover",unref(L)),unref(n).is("animating",unref(y)),{[unref(n).em("item","card")]:unref(j)}]),style:normalizeStyle$1(unref(ie)),onClick:ue[0]||(ue[0]=(...de)=>unref(oe)&&unref(oe)(...de))},[unref(j)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("mask"))},null,2)),[[vShow,!unref(g)]]):createCommentVNode("v-if",!0),renderSlot(le.$slots,"default")],6)),[[vShow,unref(ae)]])}});var CarouselItem=_export_sfc$1(_sfc_main$1S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},checkboxEmits={[UPDATE_MODEL_EVENT]:t=>isString$3(t)||isNumber$2(t)||isBoolean$1(t),change:t=>isString$3(t)||isNumber$2(t)||isBoolean$1(t)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:t,isChecked:r})=>{const n=inject(checkboxGroupContextKey,void 0),g=computed(()=>{var L,$;const V=(L=n==null?void 0:n.max)==null?void 0:L.value,z=($=n==null?void 0:n.min)==null?void 0:$.value;return!isUndefined$1(V)&&t.value.length>=V&&!r.value||!isUndefined$1(z)&&t.value.length<=z&&r.value});return{isDisabled:useFormDisabled(computed(()=>(n==null?void 0:n.disabled.value)||g.value)),isLimitDisabled:g}},useCheckboxEvent=(t,{model:r,isLimitExceeded:n,hasOwnLabel:g,isDisabled:y,isLabeledByFormItem:L})=>{const $=inject(checkboxGroupContextKey,void 0),{formItem:V}=useFormItem(),{emit:z}=getCurrentInstance();function j(le){var ue,de;return le===t.trueLabel||le===!0?(ue=t.trueLabel)!=null?ue:!0:(de=t.falseLabel)!=null?de:!1}function re(le,ue){z("change",j(le),ue)}function ae(le){if(n.value)return;const ue=le.target;z("change",j(ue.checked),le)}async function oe(le){n.value||!g.value&&!y.value&&L.value&&(le.composedPath().some(pe=>pe.tagName==="LABEL")||(r.value=j([!1,t.falseLabel].includes(r.value)),await nextTick(),re(r.value,le)))}const ie=computed(()=>($==null?void 0:$.validateEvent)||t.validateEvent);return watch(()=>t.modelValue,()=>{ie.value&&(V==null||V.validate("change").catch(le=>void 0))}),{handleChange:ae,onClickRoot:oe}},useCheckboxModel=t=>{const r=ref(!1),{emit:n}=getCurrentInstance(),g=inject(checkboxGroupContextKey,void 0),y=computed(()=>isUndefined$1(g)===!1),L=ref(!1);return{model:computed({get(){var V,z;return y.value?(V=g==null?void 0:g.modelValue)==null?void 0:V.value:(z=t.modelValue)!=null?z:r.value},set(V){var z,j;y.value&&isArray$6(V)?(L.value=((z=g==null?void 0:g.max)==null?void 0:z.value)!==void 0&&V.length>(g==null?void 0:g.max.value),L.value===!1&&((j=g==null?void 0:g.changeEvent)==null||j.call(g,V))):(n(UPDATE_MODEL_EVENT,V),r.value=V)}}),isGroup:y,isLimitExceeded:L}},useCheckboxStatus=(t,r,{model:n})=>{const g=inject(checkboxGroupContextKey,void 0),y=ref(!1),L=computed(()=>{const j=n.value;return isBoolean$1(j)?j:isArray$6(j)?isObject$7(t.label)?j.map(toRaw).some(re=>isEqual$1(re,t.label)):j.map(toRaw).includes(t.label):j!=null?j===t.trueLabel:!!j}),$=useFormSize(computed(()=>{var j;return(j=g==null?void 0:g.size)==null?void 0:j.value}),{prop:!0}),V=useFormSize(computed(()=>{var j;return(j=g==null?void 0:g.size)==null?void 0:j.value})),z=computed(()=>!!(r.default||t.label));return{checkboxButtonSize:$,isChecked:L,isFocused:y,checkboxSize:V,hasOwnLabel:z}},setStoreValue=(t,{model:r})=>{function n(){isArray$6(r.value)&&!r.value.includes(t.label)?r.value.push(t.label):r.value=t.trueLabel||!0}t.checked&&n()},useCheckbox=(t,r)=>{const{formItem:n}=useFormItem(),{model:g,isGroup:y,isLimitExceeded:L}=useCheckboxModel(t),{isFocused:$,isChecked:V,checkboxButtonSize:z,checkboxSize:j,hasOwnLabel:re}=useCheckboxStatus(t,r,{model:g}),{isDisabled:ae}=useCheckboxDisabled({model:g,isChecked:V}),{inputId:oe,isLabeledByFormItem:ie}=useFormItemInputId(t,{formItemContext:n,disableIdGeneration:re,disableIdManagement:y}),{handleChange:le,onClickRoot:ue}=useCheckboxEvent(t,{model:g,isLimitExceeded:L,hasOwnLabel:re,isDisabled:ae,isLabeledByFormItem:ie});return setStoreValue(t,{model:g}),{inputId:oe,isLabeledByFormItem:ie,isChecked:V,isDisabled:ae,isFocused:$,checkboxButtonSize:z,checkboxSize:j,hasOwnLabel:re,model:g,handleChange:le,onClickRoot:ue}},_hoisted_1$W=["tabindex","role","aria-checked"],_hoisted_2$B=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],_hoisted_3$l=["id","aria-hidden","disabled","value","name","tabindex"],__default__$1b=defineComponent({name:"ElCheckbox"}),_sfc_main$1R=defineComponent({...__default__$1b,props:checkboxProps,emits:checkboxEmits,setup(t){const r=t,n=useSlots(),{inputId:g,isLabeledByFormItem:y,isChecked:L,isDisabled:$,isFocused:V,checkboxSize:z,hasOwnLabel:j,model:re,handleChange:ae,onClickRoot:oe}=useCheckbox(r,n),ie=useNamespace("checkbox"),le=computed(()=>[ie.b(),ie.m(z.value),ie.is("disabled",$.value),ie.is("bordered",r.border),ie.is("checked",L.value)]),ue=computed(()=>[ie.e("input"),ie.is("disabled",$.value),ie.is("checked",L.value),ie.is("indeterminate",r.indeterminate),ie.is("focus",V.value)]);return(de,pe)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(j)&&unref(y)?"span":"label"),{class:normalizeClass(unref(le)),"aria-controls":de.indeterminate?de.controls:null,onClick:unref(oe)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(ue)),tabindex:de.indeterminate?0:void 0,role:de.indeterminate?"checkbox":void 0,"aria-checked":de.indeterminate?"mixed":void 0},[de.trueLabel||de.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(g),"onUpdate:modelValue":pe[0]||(pe[0]=he=>isRef(re)?re.value=he:null),class:normalizeClass(unref(ie).e("original")),type:"checkbox","aria-hidden":de.indeterminate?"true":"false",name:de.name,tabindex:de.tabindex,disabled:unref($),"true-value":de.trueLabel,"false-value":de.falseLabel,onChange:pe[1]||(pe[1]=(...he)=>unref(ae)&&unref(ae)(...he)),onFocus:pe[2]||(pe[2]=he=>V.value=!0),onBlur:pe[3]||(pe[3]=he=>V.value=!1)},null,42,_hoisted_2$B)),[[vModelCheckbox,unref(re)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(g),"onUpdate:modelValue":pe[4]||(pe[4]=he=>isRef(re)?re.value=he:null),class:normalizeClass(unref(ie).e("original")),type:"checkbox","aria-hidden":de.indeterminate?"true":"false",disabled:unref($),value:de.label,name:de.name,tabindex:de.tabindex,onChange:pe[5]||(pe[5]=(...he)=>unref(ae)&&unref(ae)(...he)),onFocus:pe[6]||(pe[6]=he=>V.value=!0),onBlur:pe[7]||(pe[7]=he=>V.value=!1)},null,42,_hoisted_3$l)),[[vModelCheckbox,unref(re)]]),createBaseVNode("span",{class:normalizeClass(unref(ie).e("inner"))},null,2)],10,_hoisted_1$W),unref(j)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(ie).e("label"))},[renderSlot(de.$slots,"default"),de.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(de.label),1)],64))],2)):createCommentVNode("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc$1(_sfc_main$1R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const _hoisted_1$V=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$A=["name","tabindex","disabled","value"],__default__$1a=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1Q=defineComponent({...__default__$1a,props:checkboxProps,emits:checkboxEmits,setup(t){const r=t,n=useSlots(),{isFocused:g,isChecked:y,isDisabled:L,checkboxButtonSize:$,model:V,handleChange:z}=useCheckbox(r,n),j=inject(checkboxGroupContextKey,void 0),re=useNamespace("checkbox"),ae=computed(()=>{var ie,le,ue,de;const pe=(le=(ie=j==null?void 0:j.fill)==null?void 0:ie.value)!=null?le:"";return{backgroundColor:pe,borderColor:pe,color:(de=(ue=j==null?void 0:j.textColor)==null?void 0:ue.value)!=null?de:"",boxShadow:pe?`-1px 0 0 0 ${pe}`:void 0}}),oe=computed(()=>[re.b("button"),re.bm("button",$.value),re.is("disabled",L.value),re.is("checked",y.value),re.is("focus",g.value)]);return(ie,le)=>(openBlock(),createElementBlock("label",{class:normalizeClass(unref(oe))},[ie.trueLabel||ie.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":le[0]||(le[0]=ue=>isRef(V)?V.value=ue:null),class:normalizeClass(unref(re).be("button","original")),type:"checkbox",name:ie.name,tabindex:ie.tabindex,disabled:unref(L),"true-value":ie.trueLabel,"false-value":ie.falseLabel,onChange:le[1]||(le[1]=(...ue)=>unref(z)&&unref(z)(...ue)),onFocus:le[2]||(le[2]=ue=>g.value=!0),onBlur:le[3]||(le[3]=ue=>g.value=!1)},null,42,_hoisted_1$V)),[[vModelCheckbox,unref(V)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":le[4]||(le[4]=ue=>isRef(V)?V.value=ue:null),class:normalizeClass(unref(re).be("button","original")),type:"checkbox",name:ie.name,tabindex:ie.tabindex,disabled:unref(L),value:ie.label,onChange:le[5]||(le[5]=(...ue)=>unref(z)&&unref(z)(...ue)),onFocus:le[6]||(le[6]=ue=>g.value=!0),onBlur:le[7]||(le[7]=ue=>g.value=!1)},null,42,_hoisted_2$A)),[[vModelCheckbox,unref(V)]]),ie.$slots.default||ie.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(re).be("button","inner")),style:normalizeStyle$1(unref(y)?unref(ae):void 0)},[renderSlot(ie.$slots,"default",{},()=>[createTextVNode(toDisplayString(ie.label),1)])],6)):createCommentVNode("v-if",!0)],2))}});var CheckboxButton=_export_sfc$1(_sfc_main$1Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:useSizeProp,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:t=>isArray$6(t),change:t=>isArray$6(t)},__default__$19=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1P=defineComponent({...__default__$19,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(t,{emit:r}){const n=t,g=useNamespace("checkbox"),{formItem:y}=useFormItem(),{inputId:L,isLabeledByFormItem:$}=useFormItemInputId(n,{formItemContext:y}),V=async j=>{r(UPDATE_MODEL_EVENT,j),await nextTick(),r("change",j)},z=computed({get(){return n.modelValue},set(j){V(j)}});return provide(checkboxGroupContextKey,{...pick$1(toRefs(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:z,changeEvent:V}),watch(()=>n.modelValue,()=>{n.validateEvent&&(y==null||y.validate("change").catch(j=>void 0))}),(j,re)=>{var ae;return openBlock(),createBlock(resolveDynamicComponent(j.tag),{id:unref(L),class:normalizeClass(unref(g).b("group")),role:"group","aria-label":unref($)?void 0:j.label||"checkbox-group","aria-labelledby":unref($)?(ae=unref(y))==null?void 0:ae.labelId:void 0},{default:withCtx(()=>[renderSlot(j.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc$1(_sfc_main$1P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton,CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),radioProps=buildProps({...radioPropsBase,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:t=>isString$3(t)||isNumber$2(t)||isBoolean$1(t),[CHANGE_EVENT]:t=>isString$3(t)||isNumber$2(t)||isBoolean$1(t)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(t,r)=>{const n=ref(),g=inject(radioGroupKey,void 0),y=computed(()=>!!g),L=computed({get(){return y.value?g.modelValue:t.modelValue},set(re){y.value?g.changeEvent(re):r&&r(UPDATE_MODEL_EVENT,re),n.value.checked=t.modelValue===t.label}}),$=useFormSize(computed(()=>g==null?void 0:g.size)),V=useFormDisabled(computed(()=>g==null?void 0:g.disabled)),z=ref(!1),j=computed(()=>V.value||y.value&&L.value!==t.label?-1:0);return{radioRef:n,isGroup:y,radioGroup:g,focus:z,size:$,disabled:V,tabIndex:j,modelValue:L}},_hoisted_1$U=["value","name","disabled"],__default__$18=defineComponent({name:"ElRadio"}),_sfc_main$1O=defineComponent({...__default__$18,props:radioProps,emits:radioEmits,setup(t,{emit:r}){const n=t,g=useNamespace("radio"),{radioRef:y,radioGroup:L,focus:$,size:V,disabled:z,modelValue:j}=useRadio(n,r);function re(){nextTick(()=>r("change",j.value))}return(ae,oe)=>{var ie;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(g).b(),unref(g).is("disabled",unref(z)),unref(g).is("focus",unref($)),unref(g).is("bordered",ae.border),unref(g).is("checked",unref(j)===ae.label),unref(g).m(unref(V))])},[createBaseVNode("span",{class:normalizeClass([unref(g).e("input"),unref(g).is("disabled",unref(z)),unref(g).is("checked",unref(j)===ae.label)])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:y,"onUpdate:modelValue":oe[0]||(oe[0]=le=>isRef(j)?j.value=le:null),class:normalizeClass(unref(g).e("original")),value:ae.label,name:ae.name||((ie=unref(L))==null?void 0:ie.name),disabled:unref(z),type:"radio",onFocus:oe[1]||(oe[1]=le=>$.value=!0),onBlur:oe[2]||(oe[2]=le=>$.value=!1),onChange:re},null,42,_hoisted_1$U),[[vModelRadio,unref(j)]]),createBaseVNode("span",{class:normalizeClass(unref(g).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(g).e("label")),onKeydown:oe[3]||(oe[3]=withModifiers(()=>{},["stop"]))},[renderSlot(ae.$slots,"default",{},()=>[createTextVNode(toDisplayString(ae.label),1)])],34)],2)}}});var Radio=_export_sfc$1(_sfc_main$1O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase,name:{type:String,default:""}}),_hoisted_1$T=["value","name","disabled"],__default__$17=defineComponent({name:"ElRadioButton"}),_sfc_main$1N=defineComponent({...__default__$17,props:radioButtonProps,setup(t){const r=t,n=useNamespace("radio"),{radioRef:g,focus:y,size:L,disabled:$,modelValue:V,radioGroup:z}=useRadio(r),j=computed(()=>({backgroundColor:(z==null?void 0:z.fill)||"",borderColor:(z==null?void 0:z.fill)||"",boxShadow:z!=null&&z.fill?`-1px 0 0 0 ${z.fill}`:"",color:(z==null?void 0:z.textColor)||""}));return(re,ae)=>{var oe;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(n).b("button"),unref(n).is("active",unref(V)===re.label),unref(n).is("disabled",unref($)),unref(n).is("focus",unref(y)),unref(n).bm("button",unref(L))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:g,"onUpdate:modelValue":ae[0]||(ae[0]=ie=>isRef(V)?V.value=ie:null),class:normalizeClass(unref(n).be("button","original-radio")),value:re.label,type:"radio",name:re.name||((oe=unref(z))==null?void 0:oe.name),disabled:unref($),onFocus:ae[1]||(ae[1]=ie=>y.value=!0),onBlur:ae[2]||(ae[2]=ie=>y.value=!1)},null,42,_hoisted_1$T),[[vModelRadio,unref(V)]]),createBaseVNode("span",{class:normalizeClass(unref(n).be("button","inner")),style:normalizeStyle$1(unref(V)===re.label?unref(j):{}),onKeydown:ae[3]||(ae[3]=withModifiers(()=>{},["stop"]))},[renderSlot(re.$slots,"default",{},()=>[createTextVNode(toDisplayString(re.label),1)])],38)],2)}}});var RadioButton=_export_sfc$1(_sfc_main$1N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),radioGroupEmits=radioEmits,_hoisted_1$S=["id","aria-label","aria-labelledby"],__default__$16=defineComponent({name:"ElRadioGroup"}),_sfc_main$1M=defineComponent({...__default__$16,props:radioGroupProps,emits:radioGroupEmits,setup(t,{emit:r}){const n=t,g=useNamespace("radio"),y=useId(),L=ref(),{formItem:$}=useFormItem(),{inputId:V,isLabeledByFormItem:z}=useFormItemInputId(n,{formItemContext:$}),j=ae=>{r(UPDATE_MODEL_EVENT,ae),nextTick(()=>r("change",ae))};onMounted(()=>{const ae=L.value.querySelectorAll("[type=radio]"),oe=ae[0];!Array.from(ae).some(ie=>ie.checked)&&oe&&(oe.tabIndex=0)});const re=computed(()=>n.name||y.value);return provide(radioGroupKey,reactive({...toRefs(n),changeEvent:j,name:re})),watch(()=>n.modelValue,()=>{n.validateEvent&&($==null||$.validate("change").catch(ae=>void 0))}),(ae,oe)=>(openBlock(),createElementBlock("div",{id:unref(V),ref_key:"radioGroupRef",ref:L,class:normalizeClass(unref(g).b("group")),role:"radiogroup","aria-label":unref(z)?void 0:ae.label||"radio-group","aria-labelledby":unref(z)?unref($).labelId:void 0},[renderSlot(ae.$slots,"default")],10,_hoisted_1$S))}});var RadioGroup=_export_sfc$1(_sfc_main$1M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const ElRadio=withInstall(Radio,{RadioButton,RadioGroup}),ElRadioGroup=withNoopInstall(RadioGroup),ElRadioButton=withNoopInstall(RadioButton);var NodeContent$1=defineComponent({name:"NodeContent",setup(){return{ns:useNamespace("cascader-node")}},render(){const{ns:t}=this,{node:r,panel:n}=this.$parent,{data:g,label:y}=r,{renderLabelFn:L}=n;return h$1("span",{class:t.e("label")},L?L({node:r,data:g}):y)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1L=defineComponent({name:"ElCascaderNode",components:{ElCheckbox,ElRadio,NodeContent:NodeContent$1,ElIcon,Check:check_default,Loading:loading_default,ArrowRight:arrow_right_default},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(t,{emit:r}){const n=inject(CASCADER_PANEL_INJECTION_KEY),g=useNamespace("cascader-node"),y=computed(()=>n.isHoverMenu),L=computed(()=>n.config.multiple),$=computed(()=>n.config.checkStrictly),V=computed(()=>{var xe;return(xe=n.checkedNodes[0])==null?void 0:xe.uid}),z=computed(()=>t.node.isDisabled),j=computed(()=>t.node.isLeaf),re=computed(()=>$.value&&!j.value||!z.value),ae=computed(()=>ie(n.expandingNode)),oe=computed(()=>$.value&&n.checkedNodes.some(ie)),ie=xe=>{var Ie;const{level:Ne,uid:ze}=t.node;return((Ie=xe==null?void 0:xe.pathNodes[Ne-1])==null?void 0:Ie.uid)===ze},le=()=>{ae.value||n.expandNode(t.node)},ue=xe=>{const{node:Ie}=t;xe!==Ie.checked&&n.handleCheckChange(Ie,xe)},de=()=>{n.lazyLoad(t.node,()=>{j.value||le()})},pe=xe=>{y.value&&(he(),!j.value&&r("expand",xe))},he=()=>{const{node:xe}=t;!re.value||xe.loading||(xe.loaded?le():de())},_e=()=>{y.value&&!j.value||(j.value&&!z.value&&!$.value&&!L.value?$e(!0):he())},Ce=xe=>{$.value?(ue(xe),t.node.loaded&&le()):$e(xe)},$e=xe=>{t.node.loaded?(ue(xe),!$.value&&le()):de()};return{panel:n,isHoverMenu:y,multiple:L,checkStrictly:$,checkedNodeId:V,isDisabled:z,isLeaf:j,expandable:re,inExpandingPath:ae,inCheckedPath:oe,ns:g,handleHoverExpand:pe,handleExpand:he,handleClick:_e,handleCheck:$e,handleSelectCheck:Ce}}}),_hoisted_1$R=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$z=createBaseVNode("span",null,null,-1);function _sfc_render$u(t,r,n,g,y,L){const $=resolveComponent("el-checkbox"),V=resolveComponent("el-radio"),z=resolveComponent("check"),j=resolveComponent("el-icon"),re=resolveComponent("node-content"),ae=resolveComponent("loading"),oe=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${t.menuId}-${t.node.uid}`,role:"menuitem","aria-haspopup":!t.isLeaf,"aria-owns":t.isLeaf?null:t.menuId,"aria-expanded":t.inExpandingPath,tabindex:t.expandable?-1:void 0,class:normalizeClass([t.ns.b(),t.ns.is("selectable",t.checkStrictly),t.ns.is("active",t.node.checked),t.ns.is("disabled",!t.expandable),t.inExpandingPath&&"in-active-path",t.inCheckedPath&&"in-checked-path"]),onMouseenter:r[2]||(r[2]=(...ie)=>t.handleHoverExpand&&t.handleHoverExpand(...ie)),onFocus:r[3]||(r[3]=(...ie)=>t.handleHoverExpand&&t.handleHoverExpand(...ie)),onClick:r[4]||(r[4]=(...ie)=>t.handleClick&&t.handleClick(...ie))},[createCommentVNode(" prefix "),t.multiple?(openBlock(),createBlock($,{key:0,"model-value":t.node.checked,indeterminate:t.node.indeterminate,disabled:t.isDisabled,onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":t.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):t.checkStrictly?(openBlock(),createBlock(V,{key:1,"model-value":t.checkedNodeId,label:t.node.uid,disabled:t.isDisabled,"onUpdate:modelValue":t.handleSelectCheck,onClick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createCommentVNode(` - Add an empty element to avoid render label, - do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 - `),_hoisted_2$z]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):t.isLeaf&&t.node.checked?(openBlock(),createBlock(j,{key:2,class:normalizeClass(t.ns.e("prefix"))},{default:withCtx(()=>[createVNode$1(z)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode$1(re),createCommentVNode(" postfix "),t.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[t.node.loading?(openBlock(),createBlock(j,{key:0,class:normalizeClass([t.ns.is("loading"),t.ns.e("postfix")])},{default:withCtx(()=>[createVNode$1(ae)]),_:1},8,["class"])):(openBlock(),createBlock(j,{key:1,class:normalizeClass(["arrow-right",t.ns.e("postfix")])},{default:withCtx(()=>[createVNode$1(oe)]),_:1},8,["class"]))],64))],42,_hoisted_1$R)}var ElCascaderNode=_export_sfc$1(_sfc_main$1L,[["render",_sfc_render$u],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const _sfc_main$1K=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(t){const r=getCurrentInstance(),n=useNamespace("cascader-menu"),{t:g}=useLocale(),y=generateId();let L=null,$=null;const V=inject(CASCADER_PANEL_INJECTION_KEY),z=ref(null),j=computed(()=>!t.nodes.length),re=computed(()=>!V.initialLoaded),ae=computed(()=>`cascader-menu-${y}-${t.index}`),oe=de=>{L=de.target},ie=de=>{if(!(!V.isHoverMenu||!L||!z.value))if(L.contains(de.target)){le();const pe=r.vnode.el,{left:he}=pe.getBoundingClientRect(),{offsetWidth:_e,offsetHeight:Ce}=pe,$e=de.clientX-he,xe=L.offsetTop,Ie=xe+L.offsetHeight;z.value.innerHTML=` - - - `}else $||($=window.setTimeout(ue,V.config.hoverThreshold))},le=()=>{$&&(clearTimeout($),$=null)},ue=()=>{z.value&&(z.value.innerHTML="",le())};return{ns:n,panel:V,hoverZone:z,isEmpty:j,isLoading:re,menuId:ae,t:g,handleExpand:oe,handleMouseMove:ie,clearHoverZone:ue}}});function _sfc_render$t(t,r,n,g,y,L){const $=resolveComponent("el-cascader-node"),V=resolveComponent("loading"),z=resolveComponent("el-icon"),j=resolveComponent("el-scrollbar");return openBlock(),createBlock(j,{key:t.menuId,tag:"ul",role:"menu",class:normalizeClass(t.ns.b()),"wrap-class":t.ns.e("wrap"),"view-class":[t.ns.e("list"),t.ns.is("empty",t.isEmpty)],onMousemove:t.handleMouseMove,onMouseleave:t.clearHoverZone},{default:withCtx(()=>{var re;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.nodes,ae=>(openBlock(),createBlock($,{key:ae.uid,node:ae,"menu-id":t.menuId,onExpand:t.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),t.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(t.ns.e("empty-text"))},[createVNode$1(z,{size:"14",class:normalizeClass(t.ns.is("loading"))},{default:withCtx(()=>[createVNode$1(V)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(t.t("el.cascader.loading")),1)],2)):t.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(t.ns.e("empty-text"))},toDisplayString(t.t("el.cascader.noData")),3)):(re=t.panel)!=null&&re.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(t.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$1K,[["render",_sfc_render$t],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);let uid=0;const calculatePathNodes=t=>{const r=[t];let{parent:n}=t;for(;n;)r.unshift(n),n=n.parent;return r};let Node$2=class Ul{constructor(r,n,g,y=!1){this.data=r,this.config=n,this.parent=g,this.root=y,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:L,label:$,children:V}=n,z=r[V],j=calculatePathNodes(this);this.level=y?0:g?g.level+1:1,this.value=r[L],this.label=r[$],this.pathNodes=j,this.pathValues=j.map(re=>re.value),this.pathLabels=j.map(re=>re.label),this.childrenData=z,this.children=(z||[]).map(re=>new Ul(re,n,this)),this.loaded=!n.lazy||this.isLeaf||!isEmpty(z)}get isDisabled(){const{data:r,parent:n,config:g}=this,{disabled:y,checkStrictly:L}=g;return(isFunction$4(y)?y(r,this):!!r[y])||!L&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:r,config:n,childrenData:g,loaded:y}=this,{lazy:L,leaf:$}=n,V=isFunction$4($)?$(r,this):r[$];return isUndefined$1(V)?L&&!y?!1:!(Array.isArray(g)&&g.length):!!V}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(r){const{childrenData:n,children:g}=this,y=new Ul(r,this.config,this);return Array.isArray(n)?n.push(r):this.childrenData=[r],g.push(y),y}calcText(r,n){const g=r?this.pathLabels.join(n):this.label;return this.text=g,g}broadcast(r,...n){const g=`onParent${capitalize(r)}`;this.children.forEach(y=>{y&&(y.broadcast(r,...n),y[g]&&y[g](...n))})}emit(r,...n){const{parent:g}=this,y=`onChild${capitalize(r)}`;g&&(g[y]&&g[y](...n),g.emit(r,...n))}onParentCheck(r){this.isDisabled||this.setCheckState(r)}onChildCheck(){const{children:r}=this,n=r.filter(y=>!y.isDisabled),g=n.length?n.every(y=>y.checked):!1;this.setCheckState(g)}setCheckState(r){const n=this.children.length,g=this.children.reduce((y,L)=>{const $=L.checked?1:L.indeterminate?.5:0;return y+$},0);this.checked=this.loaded&&this.children.filter(y=>!y.isDisabled).every(y=>y.loaded&&y.checked)&&r,this.indeterminate=this.loaded&&g!==n&&g>0}doCheck(r){if(this.checked===r)return;const{checkStrictly:n,multiple:g}=this.config;n||!g?this.checked=r:(this.broadcast("check",r),this.setCheckState(r),this.emit("check"))}};const flatNodes=(t,r)=>t.reduce((n,g)=>(g.isLeaf?n.push(g):(!r&&n.push(g),n=n.concat(flatNodes(g.children,r))),n),[]);class Store{constructor(r,n){this.config=n;const g=(r||[]).map(y=>new Node$2(y,this.config));this.nodes=g,this.allNodes=flatNodes(g,!1),this.leafNodes=flatNodes(g,!0)}getNodes(){return this.nodes}getFlattedNodes(r){return r?this.leafNodes:this.allNodes}appendNode(r,n){const g=n?n.appendChild(r):new Node$2(r,this.config);n||this.nodes.push(g),this.allNodes.push(g),g.isLeaf&&this.leafNodes.push(g)}appendNodes(r,n){r.forEach(g=>this.appendNode(g,n))}getNodeByValue(r,n=!1){return!r&&r!==0?null:this.getFlattedNodes(n).find(y=>isEqual$1(y.value,r)||isEqual$1(y.pathValues,r))||null}getSameNode(r){return r&&this.getFlattedNodes(!1).find(({value:g,level:y})=>isEqual$1(r.value,g)&&r.level===y)||null}}const CommonProps=buildProps({modelValue:{type:definePropType([Number,String,Array])},options:{type:definePropType(Array),default:()=>[]},props:{type:definePropType(Object),default:()=>({})}}),DefaultProps={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:NOOP,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},useCascaderConfig=t=>computed(()=>({...DefaultProps,...t.props})),getMenuIndex=t=>{if(!t)return 0;const r=t.id.split("-");return Number(r[r.length-2])},checkNode=t=>{if(!t)return;const r=t.querySelector("input");r?r.click():isLeaf(t)&&t.click()},sortByOriginalOrder=(t,r)=>{const n=r.slice(0),g=n.map(L=>L.uid),y=t.reduce((L,$)=>{const V=g.indexOf($.uid);return V>-1&&(L.push($),n.splice(V,1),g.splice(V,1)),L},[]);return y.push(...n),y},_sfc_main$1J=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(t,{emit:r,slots:n}){let g=!1;const y=useNamespace("cascader"),L=useCascaderConfig(t);let $=null;const V=ref(!0),z=ref([]),j=ref(null),re=ref([]),ae=ref(null),oe=ref([]),ie=computed(()=>L.value.expandTrigger==="hover"),le=computed(()=>t.renderLabel||n.default),ue=()=>{const{options:Et}=t,kt=L.value;g=!1,$=new Store(Et,kt),re.value=[$.getNodes()],kt.lazy&&isEmpty(t.options)?(V.value=!1,de(void 0,Lt=>{Lt&&($=new Store(Lt,kt),re.value=[$.getNodes()]),V.value=!0,Ne(!1,!0)})):Ne(!1,!0)},de=(Et,kt)=>{const Lt=L.value;Et=Et||new Node$2({},Lt,void 0,!0),Et.loading=!0;const vn=jt=>{const At=Et,hn=At.root?null:At;jt&&($==null||$.appendNodes(jt,hn)),At.loading=!1,At.loaded=!0,At.childrenData=At.childrenData||[],kt&&kt(jt)};Lt.lazyLoad(Et,vn)},pe=(Et,kt)=>{var Lt;const{level:vn}=Et,jt=re.value.slice(0,vn);let At;Et.isLeaf?At=Et.pathNodes[vn-2]:(At=Et,jt.push(Et.children)),((Lt=ae.value)==null?void 0:Lt.uid)!==(At==null?void 0:At.uid)&&(ae.value=Et,re.value=jt,!kt&&r("expand-change",(Et==null?void 0:Et.pathValues)||[]))},he=(Et,kt,Lt=!0)=>{const{checkStrictly:vn,multiple:jt}=L.value,At=oe.value[0];g=!0,!jt&&(At==null||At.doCheck(!1)),Et.doCheck(kt),Ie(),Lt&&!jt&&!vn&&r("close"),!Lt&&!jt&&!vn&&_e(Et)},_e=Et=>{Et&&(Et=Et.parent,_e(Et),Et&&pe(Et))},Ce=Et=>$==null?void 0:$.getFlattedNodes(Et),$e=Et=>{var kt;return(kt=Ce(Et))==null?void 0:kt.filter(Lt=>Lt.checked!==!1)},xe=()=>{oe.value.forEach(Et=>Et.doCheck(!1)),Ie(),re.value=re.value.slice(0,1),ae.value=null,r("expand-change",[])},Ie=()=>{var Et;const{checkStrictly:kt,multiple:Lt}=L.value,vn=oe.value,jt=$e(!kt),At=sortByOriginalOrder(vn,jt),hn=At.map(bn=>bn.valueByOption);oe.value=At,j.value=Lt?hn:(Et=hn[0])!=null?Et:null},Ne=(Et=!1,kt=!1)=>{const{modelValue:Lt}=t,{lazy:vn,multiple:jt,checkStrictly:At}=L.value,hn=!At;if(!(!V.value||g||!kt&&isEqual$1(Lt,j.value)))if(vn&&!Et){const Cn=unique(flattenDeep(castArray(Lt))).map(Tn=>$==null?void 0:$.getNodeByValue(Tn)).filter(Tn=>!!Tn&&!Tn.loaded&&!Tn.loading);Cn.length?Cn.forEach(Tn=>{de(Tn,()=>Ne(!1,kt))}):Ne(!0,kt)}else{const bn=jt?castArray(Lt):[Lt],Cn=unique(bn.map(Tn=>$==null?void 0:$.getNodeByValue(Tn,hn)));ze(Cn,kt),j.value=cloneDeep(Lt)}},ze=(Et,kt=!0)=>{const{checkStrictly:Lt}=L.value,vn=oe.value,jt=Et.filter(bn=>!!bn&&(Lt||bn.isLeaf)),At=$==null?void 0:$.getSameNode(ae.value),hn=kt&&At||jt[0];hn?hn.pathNodes.forEach(bn=>pe(bn,!0)):ae.value=null,vn.forEach(bn=>bn.doCheck(!1)),jt.forEach(bn=>bn.doCheck(!0)),oe.value=jt,nextTick(Fe)},Fe=()=>{isClient$1&&z.value.forEach(Et=>{const kt=Et==null?void 0:Et.$el;if(kt){const Lt=kt.querySelector(`.${y.namespace.value}-scrollbar__wrap`),vn=kt.querySelector(`.${y.b("node")}.${y.is("active")}`)||kt.querySelector(`.${y.b("node")}.in-active-path`);scrollIntoView(Lt,vn)}})},qe=Et=>{const kt=Et.target,{code:Lt}=Et;switch(Lt){case EVENT_CODE.up:case EVENT_CODE.down:{Et.preventDefault();const vn=Lt===EVENT_CODE.up?-1:1;focusNode(getSibling(kt,vn,`.${y.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{Et.preventDefault();const vn=z.value[getMenuIndex(kt)-1],jt=vn==null?void 0:vn.$el.querySelector(`.${y.b("node")}[aria-expanded="true"]`);focusNode(jt);break}case EVENT_CODE.right:{Et.preventDefault();const vn=z.value[getMenuIndex(kt)+1],jt=vn==null?void 0:vn.$el.querySelector(`.${y.b("node")}[tabindex="-1"]`);focusNode(jt);break}case EVENT_CODE.enter:checkNode(kt);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:L,expandingNode:ae,checkedNodes:oe,isHoverMenu:ie,initialLoaded:V,renderLabelFn:le,lazyLoad:de,expandNode:pe,handleCheckChange:he})),watch([L,()=>t.options],ue,{deep:!0,immediate:!0}),watch(()=>t.modelValue,()=>{g=!1,Ne()},{deep:!0}),watch(()=>j.value,Et=>{isEqual$1(Et,t.modelValue)||(r(UPDATE_MODEL_EVENT,Et),r(CHANGE_EVENT,Et))}),onBeforeUpdate(()=>z.value=[]),onMounted(()=>!isEmpty(t.modelValue)&&Ne()),{ns:y,menuList:z,menus:re,checkedNodes:oe,handleKeyDown:qe,handleCheckChange:he,getFlattedNodes:Ce,getCheckedNodes:$e,clearCheckedNodes:xe,calculateCheckedValue:Ie,scrollToExpandingNode:Fe}}});function _sfc_render$s(t,r,n,g,y,L){const $=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b("panel"),t.ns.is("bordered",t.border)]),onKeydown:r[0]||(r[0]=(...V)=>t.handleKeyDown&&t.handleKeyDown(...V))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.menus,(V,z)=>(openBlock(),createBlock($,{key:z,ref_for:!0,ref:j=>t.menuList[z]=j,index:z,nodes:[...V]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$1(_sfc_main$1J,[["render",_sfc_render$s],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);CascaderPanel.install=t=>{t.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({closable:Boolean,type:{type:String,values:["success","info","warning","danger",""],default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,values:componentSizes,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:t=>t instanceof MouseEvent,click:t=>t instanceof MouseEvent},__default__$15=defineComponent({name:"ElTag"}),_sfc_main$1I=defineComponent({...__default__$15,props:tagProps,emits:tagEmits,setup(t,{emit:r}){const n=t,g=useFormSize(),y=useNamespace("tag"),L=computed(()=>{const{type:z,hit:j,effect:re,closable:ae,round:oe}=n;return[y.b(),y.is("closable",ae),y.m(z),y.m(g.value),y.m(re),y.is("hit",j),y.is("round",oe)]}),$=z=>{r("close",z)},V=z=>{r("click",z)};return(z,j)=>z.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(L)),style:normalizeStyle$1({backgroundColor:z.color}),onClick:V},[createBaseVNode("span",{class:normalizeClass(unref(y).e("content"))},[renderSlot(z.$slots,"default")],2),z.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(y).e("close")),onClick:withModifiers($,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(y).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(L)),style:normalizeStyle$1({backgroundColor:z.color}),onClick:V},[createBaseVNode("span",{class:normalizeClass(unref(y).e("content"))},[renderSlot(z.$slots,"default")],2),z.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(y).e("close")),onClick:withModifiers($,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc$1(_sfc_main$1I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(t,r)=>t.text.includes(r)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),cascaderEmits={[UPDATE_MODEL_EVENT]:t=>!!t||t===null,[CHANGE_EVENT]:t=>!!t||t===null,focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,visibleChange:t=>isBoolean$1(t),expandChange:t=>!!t,removeTag:t=>!!t},_hoisted_1$Q={key:0},_hoisted_2$y=["placeholder","onKeydown"],_hoisted_3$k=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$14=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1H=defineComponent({...__default__$14,props:cascaderProps,emits:cascaderEmits,setup(t,{expose:r,emit:n}){const g=t,y={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:or})=>{const{modifiersData:Dn,placement:Hn}=or;["right","left","bottom","top"].includes(Hn)||(Dn.arrow.x=35)},requires:["arrow"]}]},L=useAttrs$1();let $=0,V=0;const z=useNamespace("cascader"),j=useNamespace("input"),{t:re}=useLocale(),{form:ae,formItem:oe}=useFormItem(),ie=ref(null),le=ref(null),ue=ref(null),de=ref(null),pe=ref(null),he=ref(!1),_e=ref(!1),Ce=ref(!1),$e=ref(!1),xe=ref(""),Ie=ref(""),Ne=ref([]),ze=ref([]),Fe=ref([]),qe=ref(!1),Et=computed(()=>L.style),kt=computed(()=>g.disabled||(ae==null?void 0:ae.disabled)),Lt=computed(()=>g.placeholder||re("el.cascader.placeholder")),vn=computed(()=>Ie.value||Ne.value.length>0||qe.value?"":Lt.value),jt=useFormSize(),At=computed(()=>["small"].includes(jt.value)?"small":"default"),hn=computed(()=>!!g.props.multiple),bn=computed(()=>!g.filterable||hn.value),Cn=computed(()=>hn.value?Ie.value:xe.value),Tn=computed(()=>{var or;return((or=de.value)==null?void 0:or.checkedNodes)||[]}),xn=computed(()=>!g.clearable||kt.value||Ce.value||!_e.value?!1:!!Tn.value.length),En=computed(()=>{const{showAllLevels:or,separator:Dn}=g,Hn=Tn.value;return Hn.length?hn.value?"":Hn[0].calcText(or,Dn):""}),kn=computed({get(){return cloneDeep(g.modelValue)},set(or){n(UPDATE_MODEL_EVENT,or),n(CHANGE_EVENT,or),g.validateEvent&&(oe==null||oe.validate("change").catch(Dn=>void 0))}}),On=computed(()=>[z.b(),z.m(jt.value),z.is("disabled",kt.value),L.class]),Rn=computed(()=>[j.e("icon"),"icon-arrow-down",z.is("reverse",he.value)]),In=computed(()=>z.is("focus",he.value||$e.value)),Mn=computed(()=>{var or,Dn;return(Dn=(or=ie.value)==null?void 0:or.popperRef)==null?void 0:Dn.contentRef}),Vn=or=>{var Dn,Hn,Wn;kt.value||(or=or??!he.value,or!==he.value&&(he.value=or,(Hn=(Dn=le.value)==null?void 0:Dn.input)==null||Hn.setAttribute("aria-expanded",`${or}`),or?(zn(),nextTick((Wn=de.value)==null?void 0:Wn.scrollToExpandingNode)):g.filterable&&lr(),n("visibleChange",or)))},zn=()=>{nextTick(()=>{var or;(or=ie.value)==null||or.updatePopper()})},Jn=()=>{Ce.value=!1},tr=or=>{const{showAllLevels:Dn,separator:Hn}=g;return{node:or,key:or.uid,text:or.calcText(Dn,Hn),hitState:!1,closable:!kt.value&&!or.isDisabled,isCollapseTag:!1}},$n=or=>{var Dn;const Hn=or.node;Hn.doCheck(!1),(Dn=de.value)==null||Dn.calculateCheckedValue(),n("removeTag",Hn.valueByOption)},Pn=()=>{if(!hn.value)return;const or=Tn.value,Dn=[],Hn=[];if(or.forEach(Wn=>Hn.push(tr(Wn))),ze.value=Hn,or.length){const[Wn,...pr]=or,Pr=pr.length;Dn.push(tr(Wn)),Pr&&(g.collapseTags?Dn.push({key:-1,text:`+ ${Pr}`,closable:!1,isCollapseTag:!0}):pr.forEach(ir=>Dn.push(tr(ir))))}Ne.value=Dn},Bn=()=>{var or,Dn;const{filterMethod:Hn,showAllLevels:Wn,separator:pr}=g,Pr=(Dn=(or=de.value)==null?void 0:or.getFlattedNodes(!g.props.checkStrictly))==null?void 0:Dn.filter(ir=>ir.isDisabled?!1:(ir.calcText(Wn,pr),Hn(ir,Cn.value)));hn.value&&(Ne.value.forEach(ir=>{ir.hitState=!1}),ze.value.forEach(ir=>{ir.hitState=!1})),Ce.value=!0,Fe.value=Pr,zn()},Un=()=>{var or;let Dn;Ce.value&&pe.value?Dn=pe.value.$el.querySelector(`.${z.e("suggestion-item")}`):Dn=(or=de.value)==null?void 0:or.$el.querySelector(`.${z.b("node")}[tabindex="-1"]`),Dn&&(Dn.focus(),!Ce.value&&Dn.click())},Fn=()=>{var or,Dn;const Hn=(or=le.value)==null?void 0:or.input,Wn=ue.value,pr=(Dn=pe.value)==null?void 0:Dn.$el;if(!(!isClient$1||!Hn)){if(pr){const Pr=pr.querySelector(`.${z.e("suggestion-list")}`);Pr.style.minWidth=`${Hn.offsetWidth}px`}if(Wn){const{offsetHeight:Pr}=Wn,ir=Ne.value.length>0?`${Math.max(Pr+6,$)}px`:`${$}px`;Hn.style.height=ir,zn()}}},cr=or=>{var Dn;return(Dn=de.value)==null?void 0:Dn.getCheckedNodes(or)},ur=or=>{zn(),n("expandChange",or)},vr=or=>{var Dn;const Hn=(Dn=or.target)==null?void 0:Dn.value;if(or.type==="compositionend")qe.value=!1,nextTick(()=>xr(Hn));else{const Wn=Hn[Hn.length-1]||"";qe.value=!isKorean(Wn)}},Yn=or=>{if(!qe.value)switch(or.code){case EVENT_CODE.enter:Vn();break;case EVENT_CODE.down:Vn(!0),nextTick(Un),or.preventDefault();break;case EVENT_CODE.esc:he.value===!0&&(or.preventDefault(),or.stopPropagation(),Vn(!1));break;case EVENT_CODE.tab:Vn(!1);break}},gr=()=>{var or;(or=de.value)==null||or.clearCheckedNodes(),!he.value&&g.filterable&&lr(),Vn(!1)},lr=()=>{const{value:or}=En;xe.value=or,Ie.value=or},er=or=>{var Dn,Hn;const{checked:Wn}=or;hn.value?(Dn=de.value)==null||Dn.handleCheckChange(or,!Wn,!1):(!Wn&&((Hn=de.value)==null||Hn.handleCheckChange(or,!0,!1)),Vn(!1))},br=or=>{const Dn=or.target,{code:Hn}=or;switch(Hn){case EVENT_CODE.up:case EVENT_CODE.down:{const Wn=Hn===EVENT_CODE.up?-1:1;focusNode(getSibling(Dn,Wn,`.${z.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:Dn.click();break}},wr=()=>{const or=Ne.value,Dn=or[or.length-1];V=Ie.value?0:V+1,!(!Dn||!V||g.collapseTags&&or.length>1)&&(Dn.hitState?$n(Dn):Dn.hitState=!0)},$r=or=>{const Dn=or.target,Hn=z.e("search-input");Dn.className===Hn&&($e.value=!0),n("focus",or)},Mr=or=>{$e.value=!1,n("blur",or)},Cr=debounce(()=>{const{value:or}=Cn;if(!or)return;const Dn=g.beforeFilter(or);isPromise(Dn)?Dn.then(Bn).catch(()=>{}):Dn!==!1?Bn():Jn()},g.debounce),xr=(or,Dn)=>{!he.value&&Vn(!0),!(Dn!=null&&Dn.isComposing)&&(or?Cr():Jn())};return watch(Ce,zn),watch([Tn,kt],Pn),watch(Ne,()=>{nextTick(()=>Fn())}),watch(En,lr,{immediate:!0}),onMounted(()=>{const or=le.value.input,Dn=Number.parseFloat(useCssVar(j.cssVarName("input-height"),or).value)-2;$=or.offsetHeight||Dn,useResizeObserver(or,Fn)}),r({getCheckedNodes:cr,cascaderPanelRef:de,togglePopperVisible:Vn,contentRef:Mn}),(or,Dn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:ie,visible:he.value,teleported:or.teleported,"popper-class":[unref(z).e("dropdown"),or.popperClass],"popper-options":y,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref(z).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:Jn},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(On)),style:normalizeStyle$1(unref(Et)),onClick:Dn[5]||(Dn[5]=()=>Vn(unref(bn)?void 0:!0)),onKeydown:Yn,onMouseenter:Dn[6]||(Dn[6]=Hn=>_e.value=!0),onMouseleave:Dn[7]||(Dn[7]=Hn=>_e.value=!1)},[createVNode$1(unref(ElInput),{ref_key:"input",ref:le,modelValue:xe.value,"onUpdate:modelValue":Dn[1]||(Dn[1]=Hn=>xe.value=Hn),placeholder:unref(vn),readonly:unref(bn),disabled:unref(kt),"validate-event":!1,size:unref(jt),class:normalizeClass(unref(In)),tabindex:unref(hn)&&or.filterable&&!unref(kt)?-1:void 0,onCompositionstart:vr,onCompositionupdate:vr,onCompositionend:vr,onFocus:$r,onBlur:Mr,onInput:xr},{suffix:withCtx(()=>[unref(xn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(j).e("icon"),"icon-circle-close"]),onClick:withModifiers(gr,["stop"])},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(Rn)),onClick:Dn[0]||(Dn[0]=withModifiers(Hn=>Vn(),["stop"]))},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(hn)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:ue,class:normalizeClass(unref(z).e("tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ne.value,Hn=>(openBlock(),createBlock(unref(ElTag),{key:Hn.key,type:or.tagType,size:unref(At),hit:Hn.hitState,closable:Hn.closable,"disable-transitions":"",onClose:Wn=>$n(Hn)},{default:withCtx(()=>[Hn.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$Q,toDisplayString(Hn.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:he.value||!or.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(Hn.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(z).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(ze.value.slice(1),(Wn,pr)=>(openBlock(),createElementBlock("div",{key:pr,class:normalizeClass(unref(z).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:Wn.key,class:"in-tooltip",type:or.tagType,size:unref(At),hit:Wn.hitState,closable:Wn.closable,"disable-transitions":"",onClose:Pr=>$n(Wn)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(Wn.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),or.filterable&&!unref(kt)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Dn[2]||(Dn[2]=Hn=>Ie.value=Hn),type:"text",class:normalizeClass(unref(z).e("search-input")),placeholder:unref(En)?"":unref(Lt),onInput:Dn[3]||(Dn[3]=Hn=>xr(Ie.value,Hn)),onClick:Dn[4]||(Dn[4]=withModifiers(Hn=>Vn(!0),["stop"])),onKeydown:withKeys(wr,["delete"]),onCompositionstart:vr,onCompositionupdate:vr,onCompositionend:vr,onFocus:$r,onBlur:Mr},null,42,_hoisted_2$y)),[[vModelText,Ie.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>Vn(!1),unref(Mn)]])]),content:withCtx(()=>[withDirectives(createVNode$1(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:de,modelValue:unref(kn),"onUpdate:modelValue":Dn[8]||(Dn[8]=Hn=>isRef(kn)?kn.value=Hn:null),options:or.options,props:g.props,border:!1,"render-label":or.$slots.default,onExpandChange:ur,onClose:Dn[9]||(Dn[9]=Hn=>or.$nextTick(()=>Vn(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!Ce.value]]),or.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:pe,tag:"ul",class:normalizeClass(unref(z).e("suggestion-panel")),"view-class":unref(z).e("suggestion-list"),onKeydown:br},{default:withCtx(()=>[Fe.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(Fe.value,Hn=>(openBlock(),createElementBlock("li",{key:Hn.uid,class:normalizeClass([unref(z).e("suggestion-item"),unref(z).is("checked",Hn.checked)]),tabindex:-1,onClick:Wn=>er(Hn)},[createBaseVNode("span",null,toDisplayString(Hn.text),1),Hn.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$k))),128)):renderSlot(or.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(z).e("empty-text"))},toDisplayString(unref(re)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,Ce.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc$1(_sfc_main$1H,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);Cascader.install=t=>{t.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1}}),checkTagEmits={"update:checked":t=>isBoolean$1(t),[CHANGE_EVENT]:t=>isBoolean$1(t)},__default__$13=defineComponent({name:"ElCheckTag"}),_sfc_main$1G=defineComponent({...__default__$13,props:checkTagProps,emits:checkTagEmits,setup(t,{emit:r}){const n=t,g=useNamespace("check-tag"),y=()=>{const L=!n.checked;r(CHANGE_EVENT,L),r("update:checked",L)};return(L,$)=>(openBlock(),createElementBlock("span",{class:normalizeClass([unref(g).b(),unref(g).is("checked",L.checked)]),onClick:y},[renderSlot(L.$slots,"default")],2))}});var CheckTag=_export_sfc$1(_sfc_main$1G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),rowContextKey=Symbol("rowContextKey"),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign,default:"top"}}),__default__$12=defineComponent({name:"ElRow"}),_sfc_main$1F=defineComponent({...__default__$12,props:rowProps,setup(t){const r=t,n=useNamespace("row"),g=computed(()=>r.gutter);provide(rowContextKey,{gutter:g});const y=computed(()=>{const $={};return r.gutter&&($.marginRight=$.marginLeft=`-${r.gutter/2}px`),$}),L=computed(()=>[n.b(),n.is(`justify-${r.justify}`,r.justify!=="start"),n.is(`align-${r.align}`,r.align!=="top")]);return($,V)=>(openBlock(),createBlock(resolveDynamicComponent($.tag),{class:normalizeClass(unref(L)),style:normalizeStyle$1(unref(y))},{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$1F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const ElRow=withInstall(Row),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),__default__$11=defineComponent({name:"ElCol"}),_sfc_main$1E=defineComponent({...__default__$11,props:colProps,setup(t){const r=t,{gutter:n}=inject(rowContextKey,{gutter:computed(()=>0)}),g=useNamespace("col"),y=computed(()=>{const $={};return n.value&&($.paddingLeft=$.paddingRight=`${n.value/2}px`),$}),L=computed(()=>{const $=[];return["span","offset","pull","push"].forEach(j=>{const re=r[j];isNumber$2(re)&&(j==="span"?$.push(g.b(`${r[j]}`)):re>0&&$.push(g.b(`${j}-${r[j]}`)))}),["xs","sm","md","lg","xl"].forEach(j=>{isNumber$2(r[j])?$.push(g.b(`${j}-${r[j]}`)):isObject$7(r[j])&&Object.entries(r[j]).forEach(([re,ae])=>{$.push(re!=="span"?g.b(`${j}-${re}-${ae}`):g.b(`${j}-${ae}`))})}),n.value&&$.push(g.is("guttered")),[g.b(),$]});return($,V)=>(openBlock(),createBlock(resolveDynamicComponent($.tag),{class:normalizeClass(unref(L)),style:normalizeStyle$1(unref(y))},{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$1E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=t=>typeof isNumber$2(t),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(t,r)=>{const n=ref(castArray$1(t.modelValue)),g=L=>{n.value=L;const $=t.accordion?n.value[0]:n.value;r(UPDATE_MODEL_EVENT,$),r(CHANGE_EVENT,$)},y=L=>{if(t.accordion)g([n.value[0]===L?"":L]);else{const $=[...n.value],V=$.indexOf(L);V>-1?$.splice(V,1):$.push(L),g($)}};return watch(()=>t.modelValue,()=>n.value=castArray$1(t.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:n,handleItemClick:y}),{activeNames:n,setActiveNames:g}},useCollapseDOM=()=>{const t=useNamespace("collapse");return{rootKls:computed(()=>t.b())}},__default__$10=defineComponent({name:"ElCollapse"}),_sfc_main$1D=defineComponent({...__default__$10,props:collapseProps,emits:collapseEmits,setup(t,{expose:r,emit:n}){const g=t,{activeNames:y,setActiveNames:L}=useCollapse(g,n),{rootKls:$}=useCollapseDOM();return r({activeNames:y,setActiveNames:L}),(V,z)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref($)),role:"tablist","aria-multiselectable":"true"},[renderSlot(V.$slots,"default")],2))}});var Collapse=_export_sfc$1(_sfc_main$1D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const __default__$$=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1C=defineComponent({...__default__$$,setup(t){const r=useNamespace("collapse-transition"),n={beforeEnter(g){g.dataset||(g.dataset={}),g.dataset.oldPaddingTop=g.style.paddingTop,g.dataset.oldPaddingBottom=g.style.paddingBottom,g.style.maxHeight=0,g.style.paddingTop=0,g.style.paddingBottom=0},enter(g){g.dataset.oldOverflow=g.style.overflow,g.scrollHeight!==0?(g.style.maxHeight=`${g.scrollHeight}px`,g.style.paddingTop=g.dataset.oldPaddingTop,g.style.paddingBottom=g.dataset.oldPaddingBottom):(g.style.maxHeight=0,g.style.paddingTop=g.dataset.oldPaddingTop,g.style.paddingBottom=g.dataset.oldPaddingBottom),g.style.overflow="hidden"},afterEnter(g){g.style.maxHeight="",g.style.overflow=g.dataset.oldOverflow},beforeLeave(g){g.dataset||(g.dataset={}),g.dataset.oldPaddingTop=g.style.paddingTop,g.dataset.oldPaddingBottom=g.style.paddingBottom,g.dataset.oldOverflow=g.style.overflow,g.style.maxHeight=`${g.scrollHeight}px`,g.style.overflow="hidden"},leave(g){g.scrollHeight!==0&&(g.style.maxHeight=0,g.style.paddingTop=0,g.style.paddingBottom=0)},afterLeave(g){g.style.maxHeight="",g.style.overflow=g.dataset.oldOverflow,g.style.paddingTop=g.dataset.oldPaddingTop,g.style.paddingBottom=g.dataset.oldPaddingBottom}};return(g,y)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(r).b()},toHandlers(n)),{default:withCtx(()=>[renderSlot(g.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$1C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);CollapseTransition.install=t=>{t.component(CollapseTransition.name,CollapseTransition)};const _CollapseTransition=CollapseTransition,ElCollapseTransition=_CollapseTransition,collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:()=>generateId()},disabled:Boolean}),useCollapseItem=t=>{const r=inject(collapseContextKey),n=ref(!1),g=ref(!1),y=ref(generateId()),L=computed(()=>r==null?void 0:r.activeNames.value.includes(t.name));return{focusing:n,id:y,isActive:L,handleFocus:()=>{setTimeout(()=>{g.value?g.value=!1:n.value=!0},50)},handleHeaderClick:()=>{t.disabled||(r==null||r.handleItemClick(t.name),n.value=!1,g.value=!0)},handleEnterClick:()=>{r==null||r.handleItemClick(t.name)}}},useCollapseItemDOM=(t,{focusing:r,isActive:n,id:g})=>{const y=useNamespace("collapse"),L=computed(()=>[y.b("item"),y.is("active",unref(n)),y.is("disabled",t.disabled)]),$=computed(()=>[y.be("item","header"),y.is("active",unref(n)),{focusing:unref(r)&&!t.disabled}]),V=computed(()=>[y.be("item","arrow"),y.is("active",unref(n))]),z=computed(()=>y.be("item","wrap")),j=computed(()=>y.be("item","content")),re=computed(()=>y.b(`content-${unref(g)}`)),ae=computed(()=>y.b(`head-${unref(g)}`));return{arrowKls:V,headKls:$,rootKls:L,itemWrapperKls:z,itemContentKls:j,scopedContentId:re,scopedHeadId:ae}},_hoisted_1$P=["aria-expanded","aria-controls","aria-describedby"],_hoisted_2$x=["id","tabindex"],_hoisted_3$j=["id","aria-hidden","aria-labelledby"],__default__$_=defineComponent({name:"ElCollapseItem"}),_sfc_main$1B=defineComponent({...__default__$_,props:collapseItemProps,setup(t,{expose:r}){const n=t,{focusing:g,id:y,isActive:L,handleFocus:$,handleHeaderClick:V,handleEnterClick:z}=useCollapseItem(n),{arrowKls:j,headKls:re,rootKls:ae,itemWrapperKls:oe,itemContentKls:ie,scopedContentId:le,scopedHeadId:ue}=useCollapseItemDOM(n,{focusing:g,isActive:L,id:y});return r({isActive:L}),(de,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ae))},[createBaseVNode("div",{role:"tab","aria-expanded":unref(L),"aria-controls":unref(le),"aria-describedby":unref(le)},[createBaseVNode("div",{id:unref(ue),class:normalizeClass(unref(re)),role:"button",tabindex:de.disabled?-1:0,onClick:pe[0]||(pe[0]=(...he)=>unref(V)&&unref(V)(...he)),onKeypress:pe[1]||(pe[1]=withKeys(withModifiers((...he)=>unref(z)&&unref(z)(...he),["stop","prevent"]),["space","enter"])),onFocus:pe[2]||(pe[2]=(...he)=>unref($)&&unref($)(...he)),onBlur:pe[3]||(pe[3]=he=>g.value=!1)},[renderSlot(de.$slots,"title",{},()=>[createTextVNode(toDisplayString(de.title),1)]),createVNode$1(unref(ElIcon),{class:normalizeClass(unref(j))},{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_2$x)],8,_hoisted_1$P),createVNode$1(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(le),class:normalizeClass(unref(oe)),role:"tabpanel","aria-hidden":!unref(L),"aria-labelledby":unref(ue)},[createBaseVNode("div",{class:normalizeClass(unref(ie))},[renderSlot(de.$slots,"default")],2)],10,_hoisted_3$j),[[vShow,unref(L)]])]),_:3})],2))}});var CollapseItem=_export_sfc$1(_sfc_main$1B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(t,r){if(!isClient$1)return;const n=function(L){var $;($=r.drag)==null||$.call(r,L)},g=function(L){var $;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",g),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",g),document.onselectstart=null,document.ondragstart=null,isDragging=!1,($=r.end)==null||$.call(r,L)},y=function(L){var $;isDragging||(L.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",g),document.addEventListener("touchmove",n),document.addEventListener("touchend",g),isDragging=!0,($=r.start)==null||$.call(r,L))};t.addEventListener("mousedown",y),t.addEventListener("touchstart",y)}const useAlphaSlider=t=>{const r=getCurrentInstance(),n=shallowRef(),g=shallowRef();function y($){$.target!==n.value&&L($)}function L($){if(!g.value||!n.value)return;const z=r.vnode.el.getBoundingClientRect(),{clientX:j,clientY:re}=getClientXY($);if(t.vertical){let ae=re-z.top;ae=Math.max(n.value.offsetHeight/2,ae),ae=Math.min(ae,z.height-n.value.offsetHeight/2),t.color.set("alpha",Math.round((ae-n.value.offsetHeight/2)/(z.height-n.value.offsetHeight)*100))}else{let ae=j-z.left;ae=Math.max(n.value.offsetWidth/2,ae),ae=Math.min(ae,z.width-n.value.offsetWidth/2),t.color.set("alpha",Math.round((ae-n.value.offsetWidth/2)/(z.width-n.value.offsetWidth)*100))}}return{thumb:n,bar:g,handleDrag:L,handleClick:y}},useAlphaSliderDOM=(t,{bar:r,thumb:n,handleDrag:g})=>{const y=getCurrentInstance(),L=useNamespace("color-alpha-slider"),$=ref(0),V=ref(0),z=ref();function j(){if(!n.value||t.vertical)return 0;const he=y.vnode.el,_e=t.color.get("alpha");return he?Math.round(_e*(he.offsetWidth-n.value.offsetWidth/2)/100):0}function re(){if(!n.value)return 0;const he=y.vnode.el;if(!t.vertical)return 0;const _e=t.color.get("alpha");return he?Math.round(_e*(he.offsetHeight-n.value.offsetHeight/2)/100):0}function ae(){if(t.color&&t.color.value){const{r:he,g:_e,b:Ce}=t.color.toRgb();return`linear-gradient(to right, rgba(${he}, ${_e}, ${Ce}, 0) 0%, rgba(${he}, ${_e}, ${Ce}, 1) 100%)`}return""}function oe(){$.value=j(),V.value=re(),z.value=ae()}onMounted(()=>{if(!r.value||!n.value)return;const he={drag:_e=>{g(_e)},end:_e=>{g(_e)}};draggable(r.value,he),draggable(n.value,he),oe()}),watch(()=>t.color.get("alpha"),()=>oe()),watch(()=>t.color.value,()=>oe());const ie=computed(()=>[L.b(),L.is("vertical",t.vertical)]),le=computed(()=>L.e("bar")),ue=computed(()=>L.e("thumb")),de=computed(()=>({background:z.value})),pe=computed(()=>({left:addUnit($.value),top:addUnit(V.value)}));return{rootKls:ie,barKls:le,barStyle:de,thumbKls:ue,thumbStyle:pe,update:oe}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$Z=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1A=defineComponent({...__default__$Z,props:alphaSliderProps,setup(t,{expose:r}){const n=t,{bar:g,thumb:y,handleDrag:L,handleClick:$}=useAlphaSlider(n),{rootKls:V,barKls:z,barStyle:j,thumbKls:re,thumbStyle:ae,update:oe}=useAlphaSliderDOM(n,{bar:g,thumb:y,handleDrag:L});return r({update:oe,bar:g,thumb:y}),(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(V))},[createBaseVNode("div",{ref_key:"bar",ref:g,class:normalizeClass(unref(z)),style:normalizeStyle$1(unref(j)),onClick:le[0]||(le[0]=(...ue)=>unref($)&&unref($)(...ue))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:y,class:normalizeClass(unref(re)),style:normalizeStyle$1(unref(ae))},null,6)],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$1A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const _sfc_main$1z=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(t){const r=useNamespace("color-hue-slider"),n=getCurrentInstance(),g=ref(),y=ref(),L=ref(0),$=ref(0),V=computed(()=>t.color.get("hue"));watch(()=>V.value,()=>{oe()});function z(ie){ie.target!==g.value&&j(ie)}function j(ie){if(!y.value||!g.value)return;const ue=n.vnode.el.getBoundingClientRect(),{clientX:de,clientY:pe}=getClientXY(ie);let he;if(t.vertical){let _e=pe-ue.top;_e=Math.min(_e,ue.height-g.value.offsetHeight/2),_e=Math.max(g.value.offsetHeight/2,_e),he=Math.round((_e-g.value.offsetHeight/2)/(ue.height-g.value.offsetHeight)*360)}else{let _e=de-ue.left;_e=Math.min(_e,ue.width-g.value.offsetWidth/2),_e=Math.max(g.value.offsetWidth/2,_e),he=Math.round((_e-g.value.offsetWidth/2)/(ue.width-g.value.offsetWidth)*360)}t.color.set("hue",he)}function re(){if(!g.value)return 0;const ie=n.vnode.el;if(t.vertical)return 0;const le=t.color.get("hue");return ie?Math.round(le*(ie.offsetWidth-g.value.offsetWidth/2)/360):0}function ae(){if(!g.value)return 0;const ie=n.vnode.el;if(!t.vertical)return 0;const le=t.color.get("hue");return ie?Math.round(le*(ie.offsetHeight-g.value.offsetHeight/2)/360):0}function oe(){L.value=re(),$.value=ae()}return onMounted(()=>{if(!y.value||!g.value)return;const ie={drag:le=>{j(le)},end:le=>{j(le)}};draggable(y.value,ie),draggable(g.value,ie),oe()}),{bar:y,thumb:g,thumbLeft:L,thumbTop:$,hueValue:V,handleClick:z,update:oe,ns:r}}});function _sfc_render$r(t,r,n,g,y,L){return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b(),t.ns.is("vertical",t.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(t.ns.e("bar")),onClick:r[0]||(r[0]=(...$)=>t.handleClick&&t.handleClick(...$))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass(t.ns.e("thumb")),style:normalizeStyle$1({left:t.thumbLeft+"px",top:t.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$1z,[["render",_sfc_render$r],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0}}),colorPickerEmits={[UPDATE_MODEL_EVENT]:t=>isString$3(t)||isNil(t),[CHANGE_EVENT]:t=>isString$3(t)||isNil(t),activeChange:t=>isString$3(t)||isNil(t)},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(t,r,n){return[t,r*n/((t=(2-r)*n)<1?t:2-t)||0,t/2]},isOnePointZero=function(t){return typeof t=="string"&&t.includes(".")&&Number.parseFloat(t)===1},isPercentage=function(t){return typeof t=="string"&&t.includes("%")},bound01=function(t,r){isOnePointZero(t)&&(t="100%");const n=isPercentage(t);return t=Math.min(r,Math.max(0,Number.parseFloat(`${t}`))),n&&(t=Number.parseInt(`${t*r}`,10)/100),Math.abs(t-r)<1e-6?1:t%r/Number.parseFloat(r)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=t=>{t=Math.min(Math.round(t),255);const r=Math.floor(t/16),n=t%16;return`${INT_HEX_MAP[r]||r}${INT_HEX_MAP[n]||n}`},toHex=function({r:t,g:r,b:n}){return Number.isNaN(+t)||Number.isNaN(+r)||Number.isNaN(+n)?"":`#${hexOne(t)}${hexOne(r)}${hexOne(n)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(t){return t.length===2?(HEX_INT_MAP[t[0].toUpperCase()]||+t[0])*16+(HEX_INT_MAP[t[1].toUpperCase()]||+t[1]):HEX_INT_MAP[t[1].toUpperCase()]||+t[1]},hsl2hsv=function(t,r,n){r=r/100,n=n/100;let g=r;const y=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,g*=y<=1?y:2-y;const L=(n+r)/2,$=n===0?2*g/(y+g):2*r/(n+r);return{h:t,s:$*100,v:L*100}},rgb2hsv=(t,r,n)=>{t=bound01(t,255),r=bound01(r,255),n=bound01(n,255);const g=Math.max(t,r,n),y=Math.min(t,r,n);let L;const $=g,V=g-y,z=g===0?0:V/g;if(g===y)L=0;else{switch(g){case t:{L=(r-n)/V+(r{this._hue=Math.max(0,Math.min(360,g)),this._saturation=Math.max(0,Math.min(100,y)),this._value=Math.max(0,Math.min(100,L)),this.doOnChange()};if(r.includes("hsl")){const g=r.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(y=>y!=="").map((y,L)=>L>2?Number.parseFloat(y):Number.parseInt(y,10));if(g.length===4?this._alpha=Number.parseFloat(g[3])*100:g.length===3&&(this._alpha=100),g.length>=3){const{h:y,s:L,v:$}=hsl2hsv(g[0],g[1],g[2]);n(y,L,$)}}else if(r.includes("hsv")){const g=r.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(y=>y!=="").map((y,L)=>L>2?Number.parseFloat(y):Number.parseInt(y,10));g.length===4?this._alpha=Number.parseFloat(g[3])*100:g.length===3&&(this._alpha=100),g.length>=3&&n(g[0],g[1],g[2])}else if(r.includes("rgb")){const g=r.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(y=>y!=="").map((y,L)=>L>2?Number.parseFloat(y):Number.parseInt(y,10));if(g.length===4?this._alpha=Number.parseFloat(g[3])*100:g.length===3&&(this._alpha=100),g.length>=3){const{h:y,s:L,v:$}=rgb2hsv(g[0],g[1],g[2]);n(y,L,$)}}else if(r.includes("#")){const g=r.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(g))return;let y,L,$;g.length===3?(y=parseHexChannel(g[0]+g[0]),L=parseHexChannel(g[1]+g[1]),$=parseHexChannel(g[2]+g[2])):(g.length===6||g.length===8)&&(y=parseHexChannel(g.slice(0,2)),L=parseHexChannel(g.slice(2,4)),$=parseHexChannel(g.slice(4,6))),g.length===8?this._alpha=parseHexChannel(g.slice(6))/255*100:(g.length===3||g.length===6)&&(this._alpha=100);const{h:V,s:z,v:j}=rgb2hsv(y,L,$);n(V,z,j)}}compare(r){return Math.abs(r._hue-this._hue)<2&&Math.abs(r._saturation-this._saturation)<1&&Math.abs(r._value-this._value)<1&&Math.abs(r._alpha-this._alpha)<1}doOnChange(){const{_hue:r,_saturation:n,_value:g,_alpha:y,format:L}=this;if(this.enableAlpha)switch(L){case"hsl":{const $=hsv2hsl(r,n/100,g/100);this.value=`hsla(${r}, ${Math.round($[1]*100)}%, ${Math.round($[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${r}, ${Math.round(n)}%, ${Math.round(g)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb(r,n,g))}${hexOne(y*255/100)}`;break}default:{const{r:$,g:V,b:z}=hsv2rgb(r,n,g);this.value=`rgba(${$}, ${V}, ${z}, ${this.get("alpha")/100})`}}else switch(L){case"hsl":{const $=hsv2hsl(r,n/100,g/100);this.value=`hsl(${r}, ${Math.round($[1]*100)}%, ${Math.round($[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${r}, ${Math.round(n)}%, ${Math.round(g)}%)`;break}case"rgb":{const{r:$,g:V,b:z}=hsv2rgb(r,n,g);this.value=`rgb(${$}, ${V}, ${z})`;break}default:this.value=toHex(hsv2rgb(r,n,g))}}}const _sfc_main$1y=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(t){const r=useNamespace("color-predefine"),{currentColor:n}=inject(colorPickerContextKey),g=ref(L(t.colors,t.color));watch(()=>n.value,$=>{const V=new Color;V.fromString($),g.value.forEach(z=>{z.selected=V.compare(z)})}),watchEffect(()=>{g.value=L(t.colors,t.color)});function y($){t.color.fromString(t.colors[$])}function L($,V){return $.map(z=>{const j=new Color;return j.enableAlpha=!0,j.format="rgba",j.fromString(z),j.selected=j.value===V.value,j})}return{rgbaColors:g,handleSelect:y,ns:r}}}),_hoisted_1$O=["onClick"];function _sfc_render$q(t,r,n,g,y,L){return openBlock(),createElementBlock("div",{class:normalizeClass(t.ns.b())},[createBaseVNode("div",{class:normalizeClass(t.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.rgbaColors,($,V)=>(openBlock(),createElementBlock("div",{key:t.colors[V],class:normalizeClass([t.ns.e("color-selector"),t.ns.is("alpha",$._alpha<100),{selected:$.selected}]),onClick:z=>t.handleSelect(V)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:$.value})},null,4)],10,_hoisted_1$O))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$1y,[["render",_sfc_render$q],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const _sfc_main$1x=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(t){const r=useNamespace("color-svpanel"),n=getCurrentInstance(),g=ref(0),y=ref(0),L=ref("hsl(0, 100%, 50%)"),$=computed(()=>{const j=t.color.get("hue"),re=t.color.get("value");return{hue:j,value:re}});function V(){const j=t.color.get("saturation"),re=t.color.get("value"),ae=n.vnode.el,{clientWidth:oe,clientHeight:ie}=ae;y.value=j*oe/100,g.value=(100-re)*ie/100,L.value=`hsl(${t.color.get("hue")}, 100%, 50%)`}function z(j){const ae=n.vnode.el.getBoundingClientRect(),{clientX:oe,clientY:ie}=getClientXY(j);let le=oe-ae.left,ue=ie-ae.top;le=Math.max(0,le),le=Math.min(le,ae.width),ue=Math.max(0,ue),ue=Math.min(ue,ae.height),y.value=le,g.value=ue,t.color.set({saturation:le/ae.width*100,value:100-ue/ae.height*100})}return watch(()=>$.value,()=>{V()}),onMounted(()=>{draggable(n.vnode.el,{drag:j=>{z(j)},end:j=>{z(j)}}),V()}),{cursorTop:g,cursorLeft:y,background:L,colorValue:$,handleDrag:z,update:V,ns:r}}}),_hoisted_1$N=createBaseVNode("div",null,null,-1),_hoisted_2$w=[_hoisted_1$N];function _sfc_render$p(t,r,n,g,y,L){return openBlock(),createElementBlock("div",{class:normalizeClass(t.ns.b()),style:normalizeStyle$1({backgroundColor:t.background})},[createBaseVNode("div",{class:normalizeClass(t.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(t.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(t.ns.e("cursor")),style:normalizeStyle$1({top:t.cursorTop+"px",left:t.cursorLeft+"px"})},_hoisted_2$w,6)],6)}var SvPanel=_export_sfc$1(_sfc_main$1x,[["render",_sfc_render$p],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const _hoisted_1$M=["id","aria-label","aria-labelledby","aria-description","tabindex","onKeydown"],__default__$Y=defineComponent({name:"ElColorPicker"}),_sfc_main$1w=defineComponent({...__default__$Y,props:colorPickerProps,emits:colorPickerEmits,setup(t,{expose:r,emit:n}){const g=t,{t:y}=useLocale(),L=useNamespace("color"),{formItem:$}=useFormItem(),V=useFormSize(),z=useFormDisabled(),{inputId:j,isLabeledByFormItem:re}=useFormItemInputId(g,{formItemContext:$}),ae=ref(),oe=ref(),ie=ref(),le=ref();let ue=!0;const de=reactive(new Color({enableAlpha:g.showAlpha,format:g.colorFormat||"",value:g.modelValue})),pe=ref(!1),he=ref(!1),_e=ref(""),Ce=computed(()=>!g.modelValue&&!he.value?"transparent":ze(de,g.showAlpha)),$e=computed(()=>!g.modelValue&&!he.value?"":de.value),xe=computed(()=>re.value?void 0:g.label||y("el.colorpicker.defaultLabel")),Ie=computed(()=>re.value?$==null?void 0:$.labelId:void 0),Ne=computed(()=>[L.b("picker"),L.is("disabled",z.value),L.bm("picker",V.value)]);function ze(bn,Cn){if(!(bn instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:Tn,g:xn,b:En}=bn.toRgb();return Cn?`rgba(${Tn}, ${xn}, ${En}, ${bn.get("alpha")/100})`:`rgb(${Tn}, ${xn}, ${En})`}function Fe(bn){pe.value=bn}const qe=debounce(Fe,100);function Et(){z.value||Fe(!0)}function kt(){qe(!1),Lt()}function Lt(){nextTick(()=>{g.modelValue?de.fromString(g.modelValue):(de.value="",nextTick(()=>{he.value=!1}))})}function vn(){z.value||qe(!pe.value)}function jt(){de.fromString(_e.value)}function At(){const bn=de.value;n(UPDATE_MODEL_EVENT,bn),n("change",bn),g.validateEvent&&($==null||$.validate("change").catch(Cn=>void 0)),qe(!1),nextTick(()=>{const Cn=new Color({enableAlpha:g.showAlpha,format:g.colorFormat||"",value:g.modelValue});de.compare(Cn)||Lt()})}function hn(){qe(!1),n(UPDATE_MODEL_EVENT,null),n("change",null),g.modelValue!==null&&g.validateEvent&&($==null||$.validate("change").catch(bn=>void 0)),Lt()}return onMounted(()=>{g.modelValue&&(_e.value=$e.value)}),watch(()=>g.modelValue,bn=>{bn?bn&&bn!==de.value&&(ue=!1,de.fromString(bn)):he.value=!1}),watch(()=>$e.value,bn=>{_e.value=bn,ue&&n("activeChange",bn),ue=!0}),watch(()=>de.value,()=>{!g.modelValue&&!he.value&&(he.value=!0)}),watch(()=>pe.value,()=>{nextTick(()=>{var bn,Cn,Tn;(bn=ae.value)==null||bn.update(),(Cn=oe.value)==null||Cn.update(),(Tn=ie.value)==null||Tn.update()})}),provide(colorPickerContextKey,{currentColor:$e}),r({color:de,show:Et,hide:kt}),(bn,Cn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:le,visible:pe.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(L).be("picker","panel"),unref(L).b("dropdown"),bn.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${unref(L).namespace.value}-zoom-in-top`,persistent:""},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",null,[createBaseVNode("div",{class:normalizeClass(unref(L).be("dropdown","main-wrapper"))},[createVNode$1(HueSlider,{ref_key:"hue",ref:ae,class:"hue-slider",color:unref(de),vertical:""},null,8,["color"]),createVNode$1(SvPanel,{ref:"svPanel",color:unref(de)},null,8,["color"])],2),bn.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:ie,color:unref(de)},null,8,["color"])):createCommentVNode("v-if",!0),bn.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref(de),colors:bn.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(L).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(L).be("dropdown","value"))},[createVNode$1(unref(ElInput),{modelValue:_e.value,"onUpdate:modelValue":Cn[0]||(Cn[0]=Tn=>_e.value=Tn),"validate-event":!1,size:"small",onKeyup:withKeys(jt,["enter"]),onBlur:jt},null,8,["modelValue","onKeyup"])],2),createVNode$1(unref(ElButton),{class:normalizeClass(unref(L).be("dropdown","link-btn")),text:"",size:"small",onClick:hn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(y)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(L).be("dropdown","btn")),onClick:At},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(y)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)])),[[unref(ClickOutside),kt]])]),default:withCtx(()=>[createBaseVNode("div",{id:unref(j),class:normalizeClass(unref(Ne)),role:"button","aria-label":unref(xe),"aria-labelledby":unref(Ie),"aria-description":unref(y)("el.colorpicker.description",{color:bn.modelValue||""}),tabindex:bn.tabindex,onKeydown:withKeys(vn,["enter"])},[unref(z)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(L).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(L).be("picker","trigger")),onClick:vn},[createBaseVNode("span",{class:normalizeClass([unref(L).be("picker","color"),unref(L).is("alpha",bn.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(L).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(Ce)})},[withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(L).be("picker","icon"),unref(L).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,bn.modelValue||he.value]]),!bn.modelValue&&!he.value?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(L).be("picker","empty"),unref(L).is("icon-close")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)],2)],2)],42,_hoisted_1$M)]),_:1},8,["visible","popper-class","transition"]))}});var ColorPicker=_export_sfc$1(_sfc_main$1w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),__default__$X=defineComponent({name:"ElContainer"}),_sfc_main$1v=defineComponent({...__default__$X,props:{direction:{type:String}},setup(t){const r=t,n=useSlots(),g=useNamespace("container"),y=computed(()=>r.direction==="vertical"?!0:r.direction==="horizontal"?!1:n&&n.default?n.default().some($=>{const V=$.type.name;return V==="ElHeader"||V==="ElFooter"}):!1);return(L,$)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(g).b(),unref(g).is("vertical",unref(y))])},[renderSlot(L.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$1v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const __default__$W=defineComponent({name:"ElAside"}),_sfc_main$1u=defineComponent({...__default__$W,props:{width:{type:String,default:null}},setup(t){const r=t,n=useNamespace("aside"),g=computed(()=>r.width?n.cssVarBlock({width:r.width}):{});return(y,L)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(g))},[renderSlot(y.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$1u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const __default__$V=defineComponent({name:"ElFooter"}),_sfc_main$1t=defineComponent({...__default__$V,props:{height:{type:String,default:null}},setup(t){const r=t,n=useNamespace("footer"),g=computed(()=>r.height?n.cssVarBlock({height:r.height}):{});return(y,L)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(g))},[renderSlot(y.$slots,"default")],6))}});var Footer$2=_export_sfc$1(_sfc_main$1t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const __default__$U=defineComponent({name:"ElHeader"}),_sfc_main$1s=defineComponent({...__default__$U,props:{height:{type:String,default:null}},setup(t){const r=t,n=useNamespace("header"),g=computed(()=>r.height?n.cssVarBlock({height:r.height}):{});return(y,L)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(g))},[renderSlot(y.$slots,"default")],6))}});var Header=_export_sfc$1(_sfc_main$1s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const __default__$T=defineComponent({name:"ElMain"}),_sfc_main$1r=defineComponent({...__default__$T,setup(t){const r=useNamespace("main");return(n,g)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(r).b())},[renderSlot(n.$slots,"default")],2))}});var Main=_export_sfc$1(_sfc_main$1r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer:Footer$2,Header,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$2),ElHeader=withNoopInstall(Header),ElMain=withNoopInstall(Main);var advancedFormat$1={exports:{}};(function(t,r){(function(n,g){t.exports=g()})(commonjsGlobal,function(){return function(n,g){var y=g.prototype,L=y.format;y.format=function($){var V=this,z=this.$locale();if(!this.isValid())return L.bind(this)($);var j=this.$utils(),re=($||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(ae){switch(ae){case"Q":return Math.ceil((V.$M+1)/3);case"Do":return z.ordinal(V.$D);case"gggg":return V.weekYear();case"GGGG":return V.isoWeekYear();case"wo":return z.ordinal(V.week(),"W");case"w":case"ww":return j.s(V.week(),ae==="w"?1:2,"0");case"W":case"WW":return j.s(V.isoWeek(),ae==="W"?1:2,"0");case"k":case"kk":return j.s(String(V.$H===0?24:V.$H),ae==="k"?1:2,"0");case"X":return Math.floor(V.$d.getTime()/1e3);case"x":return V.$d.getTime();case"z":return"["+V.offsetName()+"]";case"zzz":return"["+V.offsetName("long")+"]";default:return ae}});return L.bind(this)(re)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(t,r){(function(n,g){t.exports=g()})(commonjsGlobal,function(){var n="week",g="year";return function(y,L,$){var V=L.prototype;V.week=function(z){if(z===void 0&&(z=null),z!==null)return this.add(7*(z-this.week()),"day");var j=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var re=$(this).startOf(g).add(1,g).date(j),ae=$(this).endOf(n);if(re.isBefore(ae))return 1}var oe=$(this).startOf(g).date(j).startOf(n).subtract(1,"millisecond"),ie=this.diff(oe,n,!0);return ie<0?$(this).startOf("week").week():Math.ceil(ie)},V.weeks=function(z){return z===void 0&&(z=null),this.week(z)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(t,r){(function(n,g){t.exports=g()})(commonjsGlobal,function(){return function(n,g){g.prototype.weekYear=function(){var y=this.month(),L=this.week(),$=this.year();return L===1&&y===11?$+1:y===0&&L>=52?$-1:$}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(t,r){(function(n,g){t.exports=g()})(commonjsGlobal,function(){return function(n,g,y){g.prototype.dayOfYear=function(L){var $=Math.round((y(this).startOf("day")-y(this).startOf("year"))/864e5)+1;return L==null?$:this.add(L-$,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(t,r){(function(n,g){t.exports=g()})(commonjsGlobal,function(){return function(n,g){g.prototype.isSameOrAfter=function(y,L){return this.isSame(y,L)||this.isAfter(y,L)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(t,r){(function(n,g){t.exports=g()})(commonjsGlobal,function(){return function(n,g){g.prototype.isSameOrBefore=function(y,L){return this.isSame(y,L)||this.isBefore(y,L)}}})})(isSameOrBefore$1);var isSameOrBeforeExports=isSameOrBefore$1.exports;const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({...timePickerDefaultProps,type:{type:definePropType(String),default:"date"}}),selectionModes=["date","dates","year","month","week","range"],datePickerSharedProps=buildProps({disabledDate:{type:definePropType(Function)},date:{type:definePropType(Object),required:!0},minDate:{type:definePropType(Object)},maxDate:{type:definePropType(Object)},parsedValue:{type:definePropType([Object,Array])},rangeState:{type:definePropType(Object),default:()=>({endDate:null,selecting:!1})}}),panelSharedProps=buildProps({type:{type:definePropType(String),required:!0,values:datePickTypes}}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=t=>({type:String,values:selectionModes,default:t}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),basicDateTableProps=buildProps({...datePickerSharedProps,cellClassName:{type:definePropType(Function)},showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),isValidRange=t=>{if(!isArray$6(t))return!1;const[r,n]=t;return dayjs.isDayjs(r)&&dayjs.isDayjs(n)&&r.isSameOrBefore(n)},getDefaultValue=(t,{lang:r,unit:n,unlinkPanels:g})=>{let y;if(isArray$6(t)){let[L,$]=t.map(V=>dayjs(V).locale(r));return g||($=L.add(1,n)),[L,$]}else t?y=dayjs(t):y=dayjs();return y=y.locale(r),[y,y.add(1,n)]},buildPickerTable=(t,r,{columnIndexOffset:n,startDate:g,nextEndDate:y,now:L,unit:$,relativeDateGetter:V,setCellMetadata:z,setRowMetadata:j})=>{for(let re=0;re{const{cell:g}=t;if(n.default){const y=n.default(g).filter(L=>L.patchFlag!==-2&&L.type.toString()!=="Symbol(Comment)");if(y.length)return y}return createVNode$1("div",{class:r.b()},[createVNode$1("span",{class:r.e("text")},[g==null?void 0:g.text])])}}});const _hoisted_1$L=["aria-label","onMousedown"],_hoisted_2$v={key:0,scope:"col"},_hoisted_3$i=["aria-label"],_hoisted_4$d=["aria-current","aria-selected","tabindex"],_sfc_main$1q=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:["changerange","pick","select"],setup(t,{expose:r,emit:n}){const g=t,y=useNamespace("date-table"),{t:L,lang:$}=useLocale(),V=ref(),z=ref(),j=ref(),re=ref(),ae=ref([[],[],[],[],[],[]]);let oe=!1;const ie=g.date.$locale().weekStart||7,le=g.date.locale("en").localeData().weekdaysShort().map(xn=>xn.toLowerCase()),ue=computed(()=>ie>3?7-ie:-ie),de=computed(()=>{const xn=g.date.startOf("month");return xn.subtract(xn.day()||7,"day")}),pe=computed(()=>le.concat(le).slice(ie,ie+7)),he=computed(()=>flatten(Ne.value).some(xn=>xn.isCurrent)),_e=computed(()=>{const xn=g.date.startOf("month"),En=xn.day()||7,kn=xn.daysInMonth(),On=xn.subtract(1,"month").daysInMonth();return{startOfMonthDay:En,dateCountOfMonth:kn,dateCountOfLastMonth:On}}),Ce=computed(()=>g.selectionMode==="dates"?castArray(g.parsedValue):[]),$e=(xn,{count:En,rowIndex:kn,columnIndex:On})=>{const{startOfMonthDay:Rn,dateCountOfMonth:In,dateCountOfLastMonth:Mn}=unref(_e),Vn=unref(ue);if(kn>=0&&kn<=1){const zn=Rn+Vn<0?7+Rn+Vn:Rn+Vn;if(On+kn*7>=zn)return xn.text=En,!0;xn.text=Mn-(zn-On%7)+1+kn*7,xn.type="prev-month"}else return En<=In?xn.text=En:(xn.text=En-In,xn.type="next-month"),!0;return!1},xe=(xn,{columnIndex:En,rowIndex:kn},On)=>{const{disabledDate:Rn,cellClassName:In}=g,Mn=unref(Ce),Vn=$e(xn,{count:On,rowIndex:kn,columnIndex:En}),zn=xn.dayjs.toDate();return xn.selected=Mn.find(Jn=>Jn.valueOf()===xn.dayjs.valueOf()),xn.isSelected=!!xn.selected,xn.isCurrent=qe(xn),xn.disabled=Rn==null?void 0:Rn(zn),xn.customClass=In==null?void 0:In(zn),Vn},Ie=xn=>{if(g.selectionMode==="week"){const[En,kn]=g.showWeekNumber?[1,7]:[0,6],On=Tn(xn[En+1]);xn[En].inRange=On,xn[En].start=On,xn[kn].inRange=On,xn[kn].end=On}},Ne=computed(()=>{const{minDate:xn,maxDate:En,rangeState:kn,showWeekNumber:On}=g,Rn=ue.value,In=ae.value,Mn="day";let Vn=1;if(On)for(let zn=0;zn<6;zn++)In[zn][0]||(In[zn][0]={type:"week",text:de.value.add(zn*7+1,Mn).week()});return buildPickerTable({row:6,column:7},In,{startDate:xn,columnIndexOffset:On?1:0,nextEndDate:kn.endDate||En||kn.selecting&&xn||null,now:dayjs().locale(unref($)).startOf(Mn),unit:Mn,relativeDateGetter:zn=>de.value.add(zn-Rn,Mn),setCellMetadata:(...zn)=>{xe(...zn,Vn)&&(Vn+=1)},setRowMetadata:Ie}),In});watch(()=>g.date,async()=>{var xn,En;(xn=V.value)!=null&&xn.contains(document.activeElement)&&(await nextTick(),(En=z.value)==null||En.focus())});const ze=async()=>{var xn;(xn=z.value)==null||xn.focus()},Fe=(xn="")=>["normal","today"].includes(xn),qe=xn=>g.selectionMode==="date"&&Fe(xn.type)&&Et(xn,g.parsedValue),Et=(xn,En)=>En?dayjs(En).locale($.value).isSame(g.date.date(Number(xn.text)),"day"):!1,kt=xn=>{const En=[];return Fe(xn.type)&&!xn.disabled?(En.push("available"),xn.type==="today"&&En.push("today")):En.push(xn.type),qe(xn)&&En.push("current"),xn.inRange&&(Fe(xn.type)||g.selectionMode==="week")&&(En.push("in-range"),xn.start&&En.push("start-date"),xn.end&&En.push("end-date")),xn.disabled&&En.push("disabled"),xn.selected&&En.push("selected"),xn.customClass&&En.push(xn.customClass),En.join(" ")},Lt=(xn,En)=>{const kn=xn*7+(En-(g.showWeekNumber?1:0))-ue.value;return de.value.add(kn,"day")},vn=xn=>{var En;if(!g.rangeState.selecting)return;let kn=xn.target;if(kn.tagName==="SPAN"&&(kn=(En=kn.parentNode)==null?void 0:En.parentNode),kn.tagName==="DIV"&&(kn=kn.parentNode),kn.tagName!=="TD")return;const On=kn.parentNode.rowIndex-1,Rn=kn.cellIndex;Ne.value[On][Rn].disabled||(On!==j.value||Rn!==re.value)&&(j.value=On,re.value=Rn,n("changerange",{selecting:!0,endDate:Lt(On,Rn)}))},jt=xn=>!he.value&&(xn==null?void 0:xn.text)===1&&xn.type==="normal"||xn.isCurrent,At=xn=>{oe||he.value||g.selectionMode!=="date"||Cn(xn,!0)},hn=xn=>{xn.target.closest("td")&&(oe=!0)},bn=xn=>{xn.target.closest("td")&&(oe=!1)},Cn=(xn,En=!1)=>{const kn=xn.target.closest("td");if(!kn)return;const On=kn.parentNode.rowIndex-1,Rn=kn.cellIndex,In=Ne.value[On][Rn];if(In.disabled||In.type==="week")return;const Mn=Lt(On,Rn);if(g.selectionMode==="range")!g.rangeState.selecting||!g.minDate?(n("pick",{minDate:Mn,maxDate:null}),n("select",!0)):(Mn>=g.minDate?n("pick",{minDate:g.minDate,maxDate:Mn}):n("pick",{minDate:Mn,maxDate:g.minDate}),n("select",!1));else if(g.selectionMode==="date")n("pick",Mn,En);else if(g.selectionMode==="week"){const Vn=Mn.week(),zn=`${Mn.year()}w${Vn}`;n("pick",{year:Mn.year(),week:Vn,value:zn,date:Mn.startOf("week")})}else if(g.selectionMode==="dates"){const Vn=In.selected?castArray(g.parsedValue).filter(zn=>(zn==null?void 0:zn.valueOf())!==Mn.valueOf()):castArray(g.parsedValue).concat([Mn]);n("pick",Vn)}},Tn=xn=>{if(g.selectionMode!=="week")return!1;let En=g.date.startOf("day");if(xn.type==="prev-month"&&(En=En.subtract(1,"month")),xn.type==="next-month"&&(En=En.add(1,"month")),En=En.date(Number.parseInt(xn.text,10)),g.parsedValue&&!Array.isArray(g.parsedValue)){const kn=(g.parsedValue.day()-ie+7)%7-1;return g.parsedValue.subtract(kn,"day").isSame(En,"day")}return!1};return r({focus:ze}),(xn,En)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(L)("el.datepicker.dateTablePrompt"),cellspacing:"0",cellpadding:"0",class:normalizeClass([unref(y).b(),{"is-week-mode":xn.selectionMode==="week"}]),onClick:Cn,onMousemove:vn,onMousedown:withModifiers(hn,["prevent"]),onMouseup:bn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:V},[createBaseVNode("tr",null,[xn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$v,toDisplayString(unref(L)("el.datepicker.week")),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(pe),(kn,On)=>(openBlock(),createElementBlock("th",{key:On,scope:"col","aria-label":unref(L)("el.datepicker.weeksFull."+kn)},toDisplayString(unref(L)("el.datepicker.weeks."+kn)),9,_hoisted_3$i))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ne),(kn,On)=>(openBlock(),createElementBlock("tr",{key:On,class:normalizeClass([unref(y).e("row"),{current:Tn(kn[1])}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(kn,(Rn,In)=>(openBlock(),createElementBlock("td",{key:`${On}.${In}`,ref_for:!0,ref:Mn=>jt(Rn)&&(z.value=Mn),class:normalizeClass(kt(Rn)),"aria-current":Rn.isCurrent?"date":void 0,"aria-selected":Rn.isCurrent,tabindex:jt(Rn)?0:-1,onFocus:At},[createVNode$1(unref(ElDatePickerCell),{cell:Rn},null,8,["cell"])],42,_hoisted_4$d))),128))],2))),128))],512)],42,_hoisted_1$L))}});var DateTable=_export_sfc$1(_sfc_main$1q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$K=["aria-label"],_hoisted_2$u=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$h={class:"cell"},_sfc_main$1p=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(t,{expose:r,emit:n}){const g=t,y=(Ce,$e,xe)=>{const Ie=dayjs().locale(xe).startOf("month").month($e).year(Ce),Ne=Ie.daysInMonth();return rangeArr(Ne).map(ze=>Ie.add(ze,"day").toDate())},L=useNamespace("month-table"),{t:$,lang:V}=useLocale(),z=ref(),j=ref(),re=ref(g.date.locale("en").localeData().monthsShort().map(Ce=>Ce.toLowerCase())),ae=ref([[],[],[]]),oe=ref(),ie=ref(),le=computed(()=>{var Ce,$e;const xe=ae.value,Ie=dayjs().locale(V.value).startOf("month");for(let Ne=0;Ne<3;Ne++){const ze=xe[Ne];for(let Fe=0;Fe<4;Fe++){const qe=ze[Fe]||(ze[Fe]={row:Ne,column:Fe,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});qe.type="normal";const Et=Ne*4+Fe,kt=g.date.startOf("year").month(Et),Lt=g.rangeState.endDate||g.maxDate||g.rangeState.selecting&&g.minDate||null;qe.inRange=!!(g.minDate&&kt.isSameOrAfter(g.minDate,"month")&&Lt&&kt.isSameOrBefore(Lt,"month"))||!!(g.minDate&&kt.isSameOrBefore(g.minDate,"month")&&Lt&&kt.isSameOrAfter(Lt,"month")),(Ce=g.minDate)!=null&&Ce.isSameOrAfter(Lt)?(qe.start=!!(Lt&&kt.isSame(Lt,"month")),qe.end=g.minDate&&kt.isSame(g.minDate,"month")):(qe.start=!!(g.minDate&&kt.isSame(g.minDate,"month")),qe.end=!!(Lt&&kt.isSame(Lt,"month"))),Ie.isSame(kt)&&(qe.type="today"),qe.text=Et,qe.disabled=(($e=g.disabledDate)==null?void 0:$e.call(g,kt.toDate()))||!1}}return xe}),ue=()=>{var Ce;(Ce=j.value)==null||Ce.focus()},de=Ce=>{const $e={},xe=g.date.year(),Ie=new Date,Ne=Ce.text;return $e.disabled=g.disabledDate?y(xe,Ne,V.value).every(g.disabledDate):!1,$e.current=castArray(g.parsedValue).findIndex(ze=>dayjs.isDayjs(ze)&&ze.year()===xe&&ze.month()===Ne)>=0,$e.today=Ie.getFullYear()===xe&&Ie.getMonth()===Ne,Ce.inRange&&($e["in-range"]=!0,Ce.start&&($e["start-date"]=!0),Ce.end&&($e["end-date"]=!0)),$e},pe=Ce=>{const $e=g.date.year(),xe=Ce.text;return castArray(g.date).findIndex(Ie=>Ie.year()===$e&&Ie.month()===xe)>=0},he=Ce=>{var $e;if(!g.rangeState.selecting)return;let xe=Ce.target;if(xe.tagName==="A"&&(xe=($e=xe.parentNode)==null?void 0:$e.parentNode),xe.tagName==="DIV"&&(xe=xe.parentNode),xe.tagName!=="TD")return;const Ie=xe.parentNode.rowIndex,Ne=xe.cellIndex;le.value[Ie][Ne].disabled||(Ie!==oe.value||Ne!==ie.value)&&(oe.value=Ie,ie.value=Ne,n("changerange",{selecting:!0,endDate:g.date.startOf("year").month(Ie*4+Ne)}))},_e=Ce=>{var $e;const xe=($e=Ce.target)==null?void 0:$e.closest("td");if((xe==null?void 0:xe.tagName)!=="TD"||hasClass(xe,"disabled"))return;const Ie=xe.cellIndex,ze=xe.parentNode.rowIndex*4+Ie,Fe=g.date.startOf("year").month(ze);g.selectionMode==="range"?g.rangeState.selecting?(g.minDate&&Fe>=g.minDate?n("pick",{minDate:g.minDate,maxDate:Fe}):n("pick",{minDate:Fe,maxDate:g.minDate}),n("select",!1)):(n("pick",{minDate:Fe,maxDate:null}),n("select",!0)):n("pick",ze)};return watch(()=>g.date,async()=>{var Ce,$e;(Ce=z.value)!=null&&Ce.contains(document.activeElement)&&(await nextTick(),($e=j.value)==null||$e.focus())}),r({focus:ue}),(Ce,$e)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref($)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(L).b()),onClick:_e,onMousemove:he},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:z},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(le),(xe,Ie)=>(openBlock(),createElementBlock("tr",{key:Ie},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe,(Ne,ze)=>(openBlock(),createElementBlock("td",{key:ze,ref_for:!0,ref:Fe=>pe(Ne)&&(j.value=Fe),class:normalizeClass(de(Ne)),"aria-selected":`${pe(Ne)}`,"aria-label":unref($)(`el.datepicker.month${+Ne.text+1}`),tabindex:pe(Ne)?0:-1,onKeydown:[withKeys(withModifiers(_e,["prevent","stop"]),["space"]),withKeys(withModifiers(_e,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$h,toDisplayString(unref($)("el.datepicker.months."+re.value[Ne.text])),1)])],42,_hoisted_2$u))),128))]))),128))],512)],42,_hoisted_1$K))}});var MonthTable=_export_sfc$1(_sfc_main$1p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const{date,disabledDate,parsedValue}=datePickerSharedProps,basicYearTableProps=buildProps({date,disabledDate,parsedValue}),_hoisted_1$J=["aria-label"],_hoisted_2$t=["aria-selected","tabindex","onKeydown"],_hoisted_3$g={class:"cell"},_hoisted_4$c={key:1},_sfc_main$1o=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(t,{expose:r,emit:n}){const g=t,y=(ue,de)=>{const pe=dayjs(String(ue)).locale(de).startOf("year"),_e=pe.endOf("year").dayOfYear();return rangeArr(_e).map(Ce=>pe.add(Ce,"day").toDate())},L=useNamespace("year-table"),{t:$,lang:V}=useLocale(),z=ref(),j=ref(),re=computed(()=>Math.floor(g.date.year()/10)*10),ae=()=>{var ue;(ue=j.value)==null||ue.focus()},oe=ue=>{const de={},pe=dayjs().locale(V.value);return de.disabled=g.disabledDate?y(ue,V.value).every(g.disabledDate):!1,de.current=castArray(g.parsedValue).findIndex(he=>he.year()===ue)>=0,de.today=pe.year()===ue,de},ie=ue=>ue===re.value&&g.date.year()re.value+9||castArray(g.date).findIndex(de=>de.year()===ue)>=0,le=ue=>{const pe=ue.target.closest("td");if(pe&&pe.textContent){if(hasClass(pe,"disabled"))return;const he=pe.textContent||pe.innerText;n("pick",Number(he))}};return watch(()=>g.date,async()=>{var ue,de;(ue=z.value)!=null&&ue.contains(document.activeElement)&&(await nextTick(),(de=j.value)==null||de.focus())}),r({focus:ae}),(ue,de)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref($)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(L).b()),onClick:le},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:z},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(pe,he)=>createBaseVNode("tr",{key:he},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(_e,Ce)=>(openBlock(),createElementBlock(Fragment,{key:he+"_"+Ce},[he*4+Ce<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:$e=>ie(unref(re)+he*4+Ce)&&(j.value=$e),class:normalizeClass(["available",oe(unref(re)+he*4+Ce)]),"aria-selected":`${ie(unref(re)+he*4+Ce)}`,tabindex:ie(unref(re)+he*4+Ce)?0:-1,onKeydown:[withKeys(withModifiers(le,["prevent","stop"]),["space"]),withKeys(withModifiers(le,["prevent","stop"]),["enter"])]},[createBaseVNode("span",_hoisted_3$g,toDisplayString(unref(re)+he*4+Ce),1)],42,_hoisted_2$t)):(openBlock(),createElementBlock("td",_hoisted_4$c))],64))),64))])),64))],512)],10,_hoisted_1$J))}});var YearTable=_export_sfc$1(_sfc_main$1o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const _hoisted_1$I=["onClick"],_hoisted_2$s=["aria-label"],_hoisted_3$f=["aria-label"],_hoisted_4$b=["aria-label"],_hoisted_5$8=["aria-label"],_sfc_main$1n=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(t,{emit:r}){const n=t,g=(Cr,xr,or)=>!0,y=useNamespace("picker-panel"),L=useNamespace("date-picker"),$=useAttrs$1(),V=useSlots(),{t:z,lang:j}=useLocale(),re=inject("EP_PICKER_BASE"),ae=inject(TOOLTIP_INJECTION_KEY),{shortcuts:oe,disabledDate:ie,cellClassName:le,defaultTime:ue,arrowControl:de}=re.props,pe=toRef(re.props,"defaultValue"),he=ref(),_e=ref(dayjs().locale(j.value)),Ce=ref(!1),$e=computed(()=>dayjs(ue).locale(j.value)),xe=computed(()=>_e.value.month()),Ie=computed(()=>_e.value.year()),Ne=ref([]),ze=ref(null),Fe=ref(null),qe=Cr=>Ne.value.length>0?g(Cr,Ne.value,n.format||"HH:mm:ss"):!0,Et=Cr=>ue&&!tr.value&&!Ce.value?$e.value.year(Cr.year()).month(Cr.month()).date(Cr.date()):Rn.value?Cr.millisecond(0):Cr.startOf("day"),kt=(Cr,...xr)=>{if(!Cr)r("pick",Cr,...xr);else if(isArray$6(Cr)){const or=Cr.map(Et);r("pick",or,...xr)}else r("pick",Et(Cr),...xr);ze.value=null,Fe.value=null,Ce.value=!1},Lt=(Cr,xr)=>{if(Cn.value==="date"){Cr=Cr;let or=n.parsedValue?n.parsedValue.year(Cr.year()).month(Cr.month()).date(Cr.date()):Cr;qe(or)||(or=Ne.value[0][0].year(Cr.year()).month(Cr.month()).date(Cr.date())),_e.value=or,kt(or,Rn.value||xr)}else Cn.value==="week"?kt(Cr.date):Cn.value==="dates"&&kt(Cr,!0)},vn=Cr=>{const xr=Cr?"add":"subtract";_e.value=_e.value[xr](1,"month"),Mr("month")},jt=Cr=>{const xr=_e.value,or=Cr?"add":"subtract";_e.value=At.value==="year"?xr[or](10,"year"):xr[or](1,"year"),Mr("year")},At=ref("date"),hn=computed(()=>{const Cr=z("el.datepicker.year");if(At.value==="year"){const xr=Math.floor(Ie.value/10)*10;return Cr?`${xr} ${Cr} - ${xr+9} ${Cr}`:`${xr} - ${xr+9}`}return`${Ie.value} ${Cr}`}),bn=Cr=>{const xr=isFunction$4(Cr.value)?Cr.value():Cr.value;if(xr){kt(dayjs(xr).locale(j.value));return}Cr.onClick&&Cr.onClick({attrs:$,slots:V,emit:r})},Cn=computed(()=>{const{type:Cr}=n;return["week","month","year","dates"].includes(Cr)?Cr:"date"}),Tn=computed(()=>Cn.value==="date"?At.value:Cn.value),xn=computed(()=>!!oe.length),En=async Cr=>{_e.value=_e.value.startOf("month").month(Cr),Cn.value==="month"?kt(_e.value,!1):(At.value="date",["month","year","date","week"].includes(Cn.value)&&(kt(_e.value,!0),await nextTick(),br())),Mr("month")},kn=async Cr=>{Cn.value==="year"?(_e.value=_e.value.startOf("year").year(Cr),kt(_e.value,!1)):(_e.value=_e.value.year(Cr),At.value="month",["month","year","date","week"].includes(Cn.value)&&(kt(_e.value,!0),await nextTick(),br())),Mr("year")},On=async Cr=>{At.value=Cr,await nextTick(),br()},Rn=computed(()=>n.type==="datetime"||n.type==="datetimerange"),In=computed(()=>Rn.value||Cn.value==="dates"),Mn=()=>{if(Cn.value==="dates")kt(n.parsedValue);else{let Cr=n.parsedValue;if(!Cr){const xr=dayjs(ue).locale(j.value),or=er();Cr=xr.year(or.year()).month(or.month()).date(or.date())}_e.value=Cr,kt(Cr)}},Vn=()=>{const xr=dayjs().locale(j.value).toDate();Ce.value=!0,(!ie||!ie(xr))&&qe(xr)&&(_e.value=dayjs().locale(j.value),kt(_e.value))},zn=computed(()=>extractTimeFormat(n.format)),Jn=computed(()=>extractDateFormat(n.format)),tr=computed(()=>{if(Fe.value)return Fe.value;if(!(!n.parsedValue&&!pe.value))return(n.parsedValue||_e.value).format(zn.value)}),$n=computed(()=>{if(ze.value)return ze.value;if(!(!n.parsedValue&&!pe.value))return(n.parsedValue||_e.value).format(Jn.value)}),Pn=ref(!1),Bn=()=>{Pn.value=!0},Un=()=>{Pn.value=!1},Fn=Cr=>({hour:Cr.hour(),minute:Cr.minute(),second:Cr.second(),year:Cr.year(),month:Cr.month(),date:Cr.date()}),cr=(Cr,xr,or)=>{const{hour:Dn,minute:Hn,second:Wn}=Fn(Cr),pr=n.parsedValue?n.parsedValue.hour(Dn).minute(Hn).second(Wn):Cr;_e.value=pr,kt(_e.value,!0),or||(Pn.value=xr)},ur=Cr=>{const xr=dayjs(Cr,zn.value).locale(j.value);if(xr.isValid()&&qe(xr)){const{year:or,month:Dn,date:Hn}=Fn(_e.value);_e.value=xr.year(or).month(Dn).date(Hn),Fe.value=null,Pn.value=!1,kt(_e.value,!0)}},vr=Cr=>{const xr=dayjs(Cr,Jn.value).locale(j.value);if(xr.isValid()){if(ie&&ie(xr.toDate()))return;const{hour:or,minute:Dn,second:Hn}=Fn(_e.value);_e.value=xr.hour(or).minute(Dn).second(Hn),ze.value=null,kt(_e.value,!0)}},Yn=Cr=>dayjs.isDayjs(Cr)&&Cr.isValid()&&(ie?!ie(Cr.toDate()):!0),gr=Cr=>Cn.value==="dates"?Cr.map(xr=>xr.format(n.format)):Cr.format(n.format),lr=Cr=>dayjs(Cr,n.format).locale(j.value),er=()=>{const Cr=dayjs(pe.value).locale(j.value);if(!pe.value){const xr=$e.value;return dayjs().hour(xr.hour()).minute(xr.minute()).second(xr.second()).locale(j.value)}return Cr},br=async()=>{var Cr;["week","month","year","date"].includes(Cn.value)&&((Cr=he.value)==null||Cr.focus(),Cn.value==="week"&&$r(EVENT_CODE.down))},wr=Cr=>{const{code:xr}=Cr;[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(xr)&&($r(xr),Cr.stopPropagation(),Cr.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(xr)&&ze.value===null&&Fe.value===null&&(Cr.preventDefault(),kt(_e.value,!1))},$r=Cr=>{var xr;const{up:or,down:Dn,left:Hn,right:Wn,home:pr,end:Pr,pageUp:ir,pageDown:Er}=EVENT_CODE,Kn={year:{[or]:-4,[Dn]:4,[Hn]:-1,[Wn]:1,offset:(ar,mr)=>ar.setFullYear(ar.getFullYear()+mr)},month:{[or]:-4,[Dn]:4,[Hn]:-1,[Wn]:1,offset:(ar,mr)=>ar.setMonth(ar.getMonth()+mr)},week:{[or]:-1,[Dn]:1,[Hn]:-1,[Wn]:1,offset:(ar,mr)=>ar.setDate(ar.getDate()+mr*7)},date:{[or]:-7,[Dn]:7,[Hn]:-1,[Wn]:1,[pr]:ar=>-ar.getDay(),[Pr]:ar=>-ar.getDay()+6,[ir]:ar=>-new Date(ar.getFullYear(),ar.getMonth(),0).getDate(),[Er]:ar=>new Date(ar.getFullYear(),ar.getMonth()+1,0).getDate(),offset:(ar,mr)=>ar.setDate(ar.getDate()+mr)}},Qn=_e.value.toDate();for(;Math.abs(_e.value.diff(Qn,"year",!0))<1;){const ar=Kn[Tn.value];if(!ar)return;if(ar.offset(Qn,isFunction$4(ar[Cr])?ar[Cr](Qn):(xr=ar[Cr])!=null?xr:0),ie&&ie(Qn))break;const mr=dayjs(Qn).locale(j.value);_e.value=mr,r("pick",mr,!0);break}},Mr=Cr=>{r("panel-change",_e.value.toDate(),Cr,At.value)};return watch(()=>Cn.value,Cr=>{if(["month","year"].includes(Cr)){At.value=Cr;return}At.value="date"},{immediate:!0}),watch(()=>At.value,()=>{ae==null||ae.updatePopper()}),watch(()=>pe.value,Cr=>{Cr&&(_e.value=er())},{immediate:!0}),watch(()=>n.parsedValue,Cr=>{if(Cr){if(Cn.value==="dates"||Array.isArray(Cr))return;_e.value=Cr}else _e.value=er()},{immediate:!0}),r("set-picker-option",["isValidValue",Yn]),r("set-picker-option",["formatToString",gr]),r("set-picker-option",["parseUserInput",lr]),r("set-picker-option",["handleFocusPicker",br]),(Cr,xr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(y).b(),unref(L).b(),{"has-sidebar":Cr.$slots.sidebar||unref(xn),"has-time":unref(Rn)}])},[createBaseVNode("div",{class:normalizeClass(unref(y).e("body-wrapper"))},[renderSlot(Cr.$slots,"sidebar",{class:normalizeClass(unref(y).e("sidebar"))}),unref(xn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(oe),(or,Dn)=>(openBlock(),createElementBlock("button",{key:Dn,type:"button",class:normalizeClass(unref(y).e("shortcut")),onClick:Hn=>bn(or)},toDisplayString(or.text),11,_hoisted_1$I))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(y).e("body"))},[unref(Rn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(L).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(L).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(z)("el.datepicker.selectDate"),"model-value":unref($n),size:"small","validate-event":!1,onInput:xr[0]||(xr[0]=or=>ze.value=or),onChange:vr},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(L).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(z)("el.datepicker.selectTime"),"model-value":unref(tr),size:"small","validate-event":!1,onFocus:Bn,onInput:xr[1]||(xr[1]=or=>Fe.value=or),onChange:ur},null,8,["placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:Pn.value,format:unref(zn),"time-arrow-control":unref(de),"parsed-value":_e.value,onPick:cr},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),Un]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(L).e("header"),(At.value==="year"||At.value==="month")&&unref(L).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(L).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(z)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(y).e("icon-btn")]),onClick:xr[2]||(xr[2]=or=>jt(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$s),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(z)("el.datepicker.prevMonth"),class:normalizeClass([unref(y).e("icon-btn"),"arrow-left"]),onClick:xr[3]||(xr[3]=or=>vn(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$f),[[vShow,At.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(L).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:xr[4]||(xr[4]=withKeys(or=>On("year"),["enter"])),onClick:xr[5]||(xr[5]=or=>On("year"))},toDisplayString(unref(hn)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(L).e("header-label"),{active:At.value==="month"}]),onKeydown:xr[6]||(xr[6]=withKeys(or=>On("month"),["enter"])),onClick:xr[7]||(xr[7]=or=>On("month"))},toDisplayString(unref(z)(`el.datepicker.month${unref(xe)+1}`)),35),[[vShow,At.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(L).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(z)("el.datepicker.nextMonth"),class:normalizeClass([unref(y).e("icon-btn"),"arrow-right"]),onClick:xr[8]||(xr[8]=or=>vn(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_4$b),[[vShow,At.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(z)("el.datepicker.nextYear"),class:normalizeClass([unref(y).e("icon-btn"),"d-arrow-right"]),onClick:xr[9]||(xr[9]=or=>jt(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$8)],2)],2),[[vShow,At.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(y).e("content")),onKeydown:wr},[At.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:he,"selection-mode":unref(Cn),date:_e.value,"parsed-value":Cr.parsedValue,"disabled-date":unref(ie),"cell-class-name":unref(le),onPick:Lt},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),At.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:he,date:_e.value,"disabled-date":unref(ie),"parsed-value":Cr.parsedValue,onPick:kn},null,8,["date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),At.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:he,date:_e.value,"parsed-value":Cr.parsedValue,"disabled-date":unref(ie),onPick:En},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(y).e("footer"))},[withDirectives(createVNode$1(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(y).e("link-btn")),onClick:Vn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(z)("el.datepicker.now")),1)]),_:1},8,["class"]),[[vShow,unref(Cn)!=="dates"]]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(y).e("link-btn")),onClick:Mn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(z)("el.datepicker.confirm")),1)]),_:1},8,["class"])],2),[[vShow,unref(In)&&At.value==="date"]])],2))}});var DatePickPanel=_export_sfc$1(_sfc_main$1n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=t=>{const{emit:r}=getCurrentInstance(),n=useAttrs$1(),g=useSlots();return L=>{const $=isFunction$4(L.value)?L.value():L.value;if($){r("pick",[dayjs($[0]).locale(t.value),dayjs($[1]).locale(t.value)]);return}L.onClick&&L.onClick({attrs:n,slots:g,emit:r})}},useRangePicker=(t,{defaultValue:r,leftDate:n,rightDate:g,unit:y,onParsedValueChanged:L})=>{const{emit:$}=getCurrentInstance(),{pickerNs:V}=inject(ROOT_PICKER_INJECTION_KEY),z=useNamespace("date-range-picker"),{t:j,lang:re}=useLocale(),ae=useShortcut(re),oe=ref(),ie=ref(),le=ref({endDate:null,selecting:!1}),ue=_e=>{le.value=_e},de=(_e=!1)=>{const Ce=unref(oe),$e=unref(ie);isValidRange([Ce,$e])&&$("pick",[Ce,$e],_e)},pe=_e=>{le.value.selecting=_e,_e||(le.value.endDate=null)},he=()=>{const[_e,Ce]=getDefaultValue(unref(r),{lang:unref(re),unit:y,unlinkPanels:t.unlinkPanels});oe.value=void 0,ie.value=void 0,n.value=_e,g.value=Ce};return watch(r,_e=>{_e&&he()},{immediate:!0}),watch(()=>t.parsedValue,_e=>{if(isArray$6(_e)&&_e.length===2){const[Ce,$e]=_e;oe.value=Ce,n.value=Ce,ie.value=$e,L(unref(oe),unref(ie))}else he()},{immediate:!0}),{minDate:oe,maxDate:ie,rangeState:le,lang:re,ppNs:V,drpNs:z,handleChangeRange:ue,handleRangeConfirm:de,handleShortcutClick:ae,onSelect:pe,t:j}},_hoisted_1$H=["onClick"],_hoisted_2$r=["disabled"],_hoisted_3$e=["disabled"],_hoisted_4$a=["disabled"],_hoisted_5$7=["disabled"],unit$1="month",_sfc_main$1m=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(t,{emit:r}){const n=t,g=inject("EP_PICKER_BASE"),{disabledDate:y,cellClassName:L,format:$,defaultTime:V,arrowControl:z,clearable:j}=g.props,re=toRef(g.props,"shortcuts"),ae=toRef(g.props,"defaultValue"),{lang:oe}=useLocale(),ie=ref(dayjs().locale(oe.value)),le=ref(dayjs().locale(oe.value).add(1,unit$1)),{minDate:ue,maxDate:de,rangeState:pe,ppNs:he,drpNs:_e,handleChangeRange:Ce,handleRangeConfirm:$e,handleShortcutClick:xe,onSelect:Ie,t:Ne}=useRangePicker(n,{defaultValue:ae,leftDate:ie,rightDate:le,unit:unit$1,onParsedValueChanged:Dn}),ze=ref({min:null,max:null}),Fe=ref({min:null,max:null}),qe=computed(()=>`${ie.value.year()} ${Ne("el.datepicker.year")} ${Ne(`el.datepicker.month${ie.value.month()+1}`)}`),Et=computed(()=>`${le.value.year()} ${Ne("el.datepicker.year")} ${Ne(`el.datepicker.month${le.value.month()+1}`)}`),kt=computed(()=>ie.value.year()),Lt=computed(()=>ie.value.month()),vn=computed(()=>le.value.year()),jt=computed(()=>le.value.month()),At=computed(()=>!!re.value.length),hn=computed(()=>ze.value.min!==null?ze.value.min:ue.value?ue.value.format(En.value):""),bn=computed(()=>ze.value.max!==null?ze.value.max:de.value||ue.value?(de.value||ue.value).format(En.value):""),Cn=computed(()=>Fe.value.min!==null?Fe.value.min:ue.value?ue.value.format(xn.value):""),Tn=computed(()=>Fe.value.max!==null?Fe.value.max:de.value||ue.value?(de.value||ue.value).format(xn.value):""),xn=computed(()=>extractTimeFormat($)),En=computed(()=>extractDateFormat($)),kn=()=>{ie.value=ie.value.subtract(1,"year"),n.unlinkPanels||(le.value=ie.value.add(1,"month")),tr("year")},On=()=>{ie.value=ie.value.subtract(1,"month"),n.unlinkPanels||(le.value=ie.value.add(1,"month")),tr("month")},Rn=()=>{n.unlinkPanels?le.value=le.value.add(1,"year"):(ie.value=ie.value.add(1,"year"),le.value=ie.value.add(1,"month")),tr("year")},In=()=>{n.unlinkPanels?le.value=le.value.add(1,"month"):(ie.value=ie.value.add(1,"month"),le.value=ie.value.add(1,"month")),tr("month")},Mn=()=>{ie.value=ie.value.add(1,"year"),tr("year")},Vn=()=>{ie.value=ie.value.add(1,"month"),tr("month")},zn=()=>{le.value=le.value.subtract(1,"year"),tr("year")},Jn=()=>{le.value=le.value.subtract(1,"month"),tr("month")},tr=Hn=>{r("panel-change",[ie.value.toDate(),le.value.toDate()],Hn)},$n=computed(()=>{const Hn=(Lt.value+1)%12,Wn=Lt.value+1>=12?1:0;return n.unlinkPanels&&new Date(kt.value+Wn,Hn)n.unlinkPanels&&vn.value*12+jt.value-(kt.value*12+Lt.value+1)>=12),Bn=computed(()=>!(ue.value&&de.value&&!pe.value.selecting&&isValidRange([ue.value,de.value]))),Un=computed(()=>n.type==="datetime"||n.type==="datetimerange"),Fn=(Hn,Wn)=>{if(Hn)return V?dayjs(V[Wn]||V).locale(oe.value).year(Hn.year()).month(Hn.month()).date(Hn.date()):Hn},cr=(Hn,Wn=!0)=>{const pr=Hn.minDate,Pr=Hn.maxDate,ir=Fn(pr,0),Er=Fn(Pr,1);de.value===Er&&ue.value===ir||(r("calendar-change",[pr.toDate(),Pr&&Pr.toDate()]),de.value=Er,ue.value=ir,!(!Wn||Un.value)&&$e())},ur=ref(!1),vr=ref(!1),Yn=()=>{ur.value=!1},gr=()=>{vr.value=!1},lr=(Hn,Wn)=>{ze.value[Wn]=Hn;const pr=dayjs(Hn,En.value).locale(oe.value);if(pr.isValid()){if(y&&y(pr.toDate()))return;Wn==="min"?(ie.value=pr,ue.value=(ue.value||ie.value).year(pr.year()).month(pr.month()).date(pr.date()),n.unlinkPanels||(le.value=pr.add(1,"month"),de.value=ue.value.add(1,"month"))):(le.value=pr,de.value=(de.value||le.value).year(pr.year()).month(pr.month()).date(pr.date()),n.unlinkPanels||(ie.value=pr.subtract(1,"month"),ue.value=de.value.subtract(1,"month")))}},er=(Hn,Wn)=>{ze.value[Wn]=null},br=(Hn,Wn)=>{Fe.value[Wn]=Hn;const pr=dayjs(Hn,xn.value).locale(oe.value);pr.isValid()&&(Wn==="min"?(ur.value=!0,ue.value=(ue.value||ie.value).hour(pr.hour()).minute(pr.minute()).second(pr.second()),(!de.value||de.value.isBefore(ue.value))&&(de.value=ue.value)):(vr.value=!0,de.value=(de.value||le.value).hour(pr.hour()).minute(pr.minute()).second(pr.second()),le.value=de.value,de.value&&de.value.isBefore(ue.value)&&(ue.value=de.value)))},wr=(Hn,Wn)=>{Fe.value[Wn]=null,Wn==="min"?(ie.value=ue.value,ur.value=!1):(le.value=de.value,vr.value=!1)},$r=(Hn,Wn,pr)=>{Fe.value.min||(Hn&&(ie.value=Hn,ue.value=(ue.value||ie.value).hour(Hn.hour()).minute(Hn.minute()).second(Hn.second())),pr||(ur.value=Wn),(!de.value||de.value.isBefore(ue.value))&&(de.value=ue.value,le.value=Hn))},Mr=(Hn,Wn,pr)=>{Fe.value.max||(Hn&&(le.value=Hn,de.value=(de.value||le.value).hour(Hn.hour()).minute(Hn.minute()).second(Hn.second())),pr||(vr.value=Wn),de.value&&de.value.isBefore(ue.value)&&(ue.value=de.value))},Cr=()=>{ie.value=getDefaultValue(unref(ae),{lang:unref(oe),unit:"month",unlinkPanels:n.unlinkPanels})[0],le.value=ie.value.add(1,"month"),r("pick",null)},xr=Hn=>isArray$6(Hn)?Hn.map(Wn=>Wn.format($)):Hn.format($),or=Hn=>isArray$6(Hn)?Hn.map(Wn=>dayjs(Wn,$).locale(oe.value)):dayjs(Hn,$).locale(oe.value);function Dn(Hn,Wn){if(n.unlinkPanels&&Wn){const pr=(Hn==null?void 0:Hn.year())||0,Pr=(Hn==null?void 0:Hn.month())||0,ir=Wn.year(),Er=Wn.month();le.value=pr===ir&&Pr===Er?Wn.add(1,unit$1):Wn}else le.value=ie.value.add(1,unit$1),Wn&&(le.value=le.value.hour(Wn.hour()).minute(Wn.minute()).second(Wn.second()))}return r("set-picker-option",["isValidValue",isValidRange]),r("set-picker-option",["parseUserInput",or]),r("set-picker-option",["formatToString",xr]),r("set-picker-option",["handleClear",Cr]),(Hn,Wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(he).b(),unref(_e).b(),{"has-sidebar":Hn.$slots.sidebar||unref(At),"has-time":unref(Un)}])},[createBaseVNode("div",{class:normalizeClass(unref(he).e("body-wrapper"))},[renderSlot(Hn.$slots,"sidebar",{class:normalizeClass(unref(he).e("sidebar"))}),unref(At)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(he).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(re),(pr,Pr)=>(openBlock(),createElementBlock("button",{key:Pr,type:"button",class:normalizeClass(unref(he).e("shortcut")),onClick:ir=>unref(xe)(pr)},toDisplayString(pr.text),11,_hoisted_1$H))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(he).e("body"))},[unref(Un)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(_e).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(_e).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(_e).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",disabled:unref(pe).selecting,placeholder:unref(Ne)("el.datepicker.startDate"),class:normalizeClass(unref(_e).e("editor")),"model-value":unref(hn),"validate-event":!1,onInput:Wn[0]||(Wn[0]=pr=>lr(pr,"min")),onChange:Wn[1]||(Wn[1]=pr=>er(pr,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(_e).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(_e).e("editor")),disabled:unref(pe).selecting,placeholder:unref(Ne)("el.datepicker.startTime"),"model-value":unref(Cn),"validate-event":!1,onFocus:Wn[2]||(Wn[2]=pr=>ur.value=!0),onInput:Wn[3]||(Wn[3]=pr=>br(pr,"min")),onChange:Wn[4]||(Wn[4]=pr=>wr(pr,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:ur.value,format:unref(xn),"datetime-role":"start","time-arrow-control":unref(z),"parsed-value":ie.value,onPick:$r},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),Yn]])],2),createBaseVNode("span",null,[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(_e).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(_e).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(_e).e("editor")),disabled:unref(pe).selecting,placeholder:unref(Ne)("el.datepicker.endDate"),"model-value":unref(bn),readonly:!unref(ue),"validate-event":!1,onInput:Wn[5]||(Wn[5]=pr=>lr(pr,"max")),onChange:Wn[6]||(Wn[6]=pr=>er(pr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(_e).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(_e).e("editor")),disabled:unref(pe).selecting,placeholder:unref(Ne)("el.datepicker.endTime"),"model-value":unref(Tn),readonly:!unref(ue),"validate-event":!1,onFocus:Wn[7]||(Wn[7]=pr=>unref(ue)&&(vr.value=!0)),onInput:Wn[8]||(Wn[8]=pr=>br(pr,"max")),onChange:Wn[9]||(Wn[9]=pr=>wr(pr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode$1(unref(TimePickPanel),{"datetime-role":"end",visible:vr.value,format:unref(xn),"time-arrow-control":unref(z),"parsed-value":le.value,onPick:Mr},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),gr]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(he).e("content"),unref(_e).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(_e).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(he).e("icon-btn"),"d-arrow-left"]),onClick:kn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(he).e("icon-btn"),"arrow-left"]),onClick:On},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],2),Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Pn),class:normalizeClass([[unref(he).e("icon-btn"),{"is-disabled":!unref(Pn)}],"d-arrow-right"]),onClick:Mn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref($n),class:normalizeClass([[unref(he).e("icon-btn"),{"is-disabled":!unref($n)}],"arrow-right"]),onClick:Vn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_3$e)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(qe)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:ie.value,"min-date":unref(ue),"max-date":unref(de),"range-state":unref(pe),"disabled-date":unref(y),"cell-class-name":unref(L),onChangerange:unref(Ce),onPick:cr,onSelect:unref(Ie)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(he).e("content"),unref(_e).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(_e).e("header"))},[Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Pn),class:normalizeClass([[unref(he).e("icon-btn"),{"is-disabled":!unref(Pn)}],"d-arrow-left"]),onClick:zn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_4$a)):createCommentVNode("v-if",!0),Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref($n),class:normalizeClass([[unref(he).e("icon-btn"),{"is-disabled":!unref($n)}],"arrow-left"]),onClick:Jn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_5$7)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(he).e("icon-btn"),"d-arrow-right"]),onClick:Rn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(he).e("icon-btn"),"arrow-right"]),onClick:In},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString(unref(Et)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:le.value,"min-date":unref(ue),"max-date":unref(de),"range-state":unref(pe),"disabled-date":unref(y),"cell-class-name":unref(L),onChangerange:unref(Ce),onPick:cr,onSelect:unref(Ie)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(Un)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(he).e("footer"))},[unref(j)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(he).e("link-btn")),onClick:Cr},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ne)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(he).e("link-btn")),disabled:unref(Bn),onClick:Wn[10]||(Wn[10]=pr=>unref($e)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ne)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$1(_sfc_main$1m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option"],useMonthRangeHeader=({unlinkPanels:t,leftDate:r,rightDate:n})=>{const{t:g}=useLocale(),y=()=>{r.value=r.value.subtract(1,"year"),t.value||(n.value=n.value.subtract(1,"year"))},L=()=>{t.value||(r.value=r.value.add(1,"year")),n.value=n.value.add(1,"year")},$=()=>{r.value=r.value.add(1,"year")},V=()=>{n.value=n.value.subtract(1,"year")},z=computed(()=>`${r.value.year()} ${g("el.datepicker.year")}`),j=computed(()=>`${n.value.year()} ${g("el.datepicker.year")}`),re=computed(()=>r.value.year()),ae=computed(()=>n.value.year()===r.value.year()?r.value.year()+1:n.value.year());return{leftPrevYear:y,rightNextYear:L,leftNextYear:$,rightPrevYear:V,leftLabel:z,rightLabel:j,leftYear:re,rightYear:ae}},_hoisted_1$G=["onClick"],_hoisted_2$q=["disabled"],_hoisted_3$d=["disabled"],unit="year",__default__$S=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1l=defineComponent({...__default__$S,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(t,{emit:r}){const n=t,{lang:g}=useLocale(),y=inject("EP_PICKER_BASE"),{shortcuts:L,disabledDate:$,format:V}=y.props,z=toRef(y.props,"defaultValue"),j=ref(dayjs().locale(g.value)),re=ref(dayjs().locale(g.value).add(1,unit)),{minDate:ae,maxDate:oe,rangeState:ie,ppNs:le,drpNs:ue,handleChangeRange:de,handleRangeConfirm:pe,handleShortcutClick:he,onSelect:_e}=useRangePicker(n,{defaultValue:z,leftDate:j,rightDate:re,unit,onParsedValueChanged:jt}),Ce=computed(()=>!!L.length),{leftPrevYear:$e,rightNextYear:xe,leftNextYear:Ie,rightPrevYear:Ne,leftLabel:ze,rightLabel:Fe,leftYear:qe,rightYear:Et}=useMonthRangeHeader({unlinkPanels:toRef(n,"unlinkPanels"),leftDate:j,rightDate:re}),kt=computed(()=>n.unlinkPanels&&Et.value>qe.value+1),Lt=(At,hn=!0)=>{const bn=At.minDate,Cn=At.maxDate;oe.value===Cn&&ae.value===bn||(oe.value=Cn,ae.value=bn,hn&&pe())},vn=At=>At.map(hn=>hn.format(V));function jt(At,hn){if(n.unlinkPanels&&hn){const bn=(At==null?void 0:At.year())||0,Cn=hn.year();re.value=bn===Cn?hn.add(1,unit):hn}else re.value=j.value.add(1,unit)}return r("set-picker-option",["formatToString",vn]),(At,hn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b(),unref(ue).b(),{"has-sidebar":!!At.$slots.sidebar||unref(Ce)}])},[createBaseVNode("div",{class:normalizeClass(unref(le).e("body-wrapper"))},[renderSlot(At.$slots,"sidebar",{class:normalizeClass(unref(le).e("sidebar"))}),unref(Ce)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(L),(bn,Cn)=>(openBlock(),createElementBlock("button",{key:Cn,type:"button",class:normalizeClass(unref(le).e("shortcut")),onClick:Tn=>unref(he)(bn)},toDisplayString(bn.text),11,_hoisted_1$G))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(le).e("content"),unref(ue).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(le).e("icon-btn"),"d-arrow-left"]),onClick:hn[0]||(hn[0]=(...bn)=>unref($e)&&unref($e)(...bn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],2),At.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(kt),class:normalizeClass([[unref(le).e("icon-btn"),{[unref(le).is("disabled")]:!unref(kt)}],"d-arrow-right"]),onClick:hn[1]||(hn[1]=(...bn)=>unref(Ie)&&unref(Ie)(...bn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$q)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(ze)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:j.value,"min-date":unref(ae),"max-date":unref(oe),"range-state":unref(ie),"disabled-date":unref($),onChangerange:unref(de),onPick:Lt,onSelect:unref(_e)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(le).e("content"),unref(ue).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(ue).e("header"))},[At.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(kt),class:normalizeClass([[unref(le).e("icon-btn"),{"is-disabled":!unref(kt)}],"d-arrow-left"]),onClick:hn[2]||(hn[2]=(...bn)=>unref(Ne)&&unref(Ne)(...bn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$d)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(le).e("icon-btn"),"d-arrow-right"]),onClick:hn[3]||(hn[3]=(...bn)=>unref(xe)&&unref(xe)(...bn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString(unref(Fe)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:re.value,"min-date":unref(ae),"max-date":unref(oe),"range-state":unref(ie),"disabled-date":unref($),onChangerange:unref(de),onPick:Lt,onSelect:unref(_e)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc$1(_sfc_main$1l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);const getPanel=function(t){switch(t){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;default:return DatePickPanel}};dayjs.extend(localeData);dayjs.extend(advancedFormat);dayjs.extend(customParseFormat);dayjs.extend(weekOfYear);dayjs.extend(weekYear);dayjs.extend(dayOfYear);dayjs.extend(isSameOrAfter);dayjs.extend(isSameOrBefore);var DatePicker=defineComponent({name:"ElDatePicker",install:null,props:datePickerProps,emits:["update:modelValue"],setup(t,{expose:r,emit:n,slots:g}){const y=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef(t,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:g,pickerNs:y});const L=ref();r({focus:(z=!0)=>{var j;(j=L.value)==null||j.focus(z)},handleOpen:()=>{var z;(z=L.value)==null||z.handleOpen()},handleClose:()=>{var z;(z=L.value)==null||z.handleClose()}});const V=z=>{n("update:modelValue",z)};return()=>{var z;const j=(z=t.format)!=null?z:DEFAULT_FORMATS_DATEPICKER[t.type]||DEFAULT_FORMATS_DATE,re=getPanel(t.type);return createVNode$1(CommonPicker,mergeProps(t,{format:j,type:t.type,ref:L,"onUpdate:modelValue":V}),{default:ae=>createVNode$1(re,ae,null),"range-separator":g["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=t=>{t.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var t,r,n,g,y,L;const $=getNormalizedProps(this.cell),{border:V,direction:z}=this.descriptions,j=z==="vertical",re=((n=(r=(t=this.cell)==null?void 0:t.children)==null?void 0:r.label)==null?void 0:n.call(r))||$.label,ae=(L=(y=(g=this.cell)==null?void 0:g.children)==null?void 0:y.default)==null?void 0:L.call(y),oe=$.span,ie=$.align?`is-${$.align}`:"",le=$.labelAlign?`is-${$.labelAlign}`:ie,ue=$.className,de=$.labelClassName,pe={width:addUnit($.width),minWidth:addUnit($.minWidth)},he=useNamespace("descriptions");switch(this.type){case"label":return h$1(this.tag,{style:pe,class:[he.e("cell"),he.e("label"),he.is("bordered-label",V),he.is("vertical-label",j),le,de],colSpan:j?oe:1},re);case"content":return h$1(this.tag,{style:pe,class:[he.e("cell"),he.e("content"),he.is("bordered-content",V),he.is("vertical-content",j),ie,ue],colSpan:j?oe:oe*2-1},ae);default:return h$1("td",{style:pe,class:[he.e("cell"),ie],colSpan:oe},[isNil(re)?void 0:h$1("span",{class:[he.e("label"),de]},re),h$1("span",{class:[he.e("content"),ue]},ae)])}}});const descriptionsRowProps=buildProps({row:{type:Array,default:()=>[]}}),_hoisted_1$F={key:1},__default__$R=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1k=defineComponent({...__default__$R,props:descriptionsRowProps,setup(t){const r=inject(descriptionsKey,{});return(n,g)=>unref(r).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.row,(y,L)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${L}`,cell:y,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.row,(y,L)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${L}`,cell:y,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$F,[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.row,(y,L)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${L}`},[unref(r).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(unref(ElDescriptionsCell),{cell:y,tag:"td",type:"label"},null,8,["cell"]),createVNode$1(unref(ElDescriptionsCell),{cell:y,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:y,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$1(_sfc_main$1k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const descriptionProps=buildProps({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""}}),__default__$Q=defineComponent({name:"ElDescriptions"}),_sfc_main$1j=defineComponent({...__default__$Q,props:descriptionProps,setup(t){const r=t,n=useNamespace("descriptions"),g=useFormSize(),y=useSlots();provide(descriptionsKey,r);const L=computed(()=>[n.b(),n.m(g.value)]),$=(z,j,re,ae=!1)=>(z.props||(z.props={}),j>re&&(z.props.span=re),ae&&(z.props.span=j),z),V=()=>{var z;const j=flattedChildren((z=y.default)==null?void 0:z.call(y)).filter(le=>{var ue;return((ue=le==null?void 0:le.type)==null?void 0:ue.name)==="ElDescriptionsItem"}),re=[];let ae=[],oe=r.column,ie=0;return j.forEach((le,ue)=>{var de;const pe=((de=le.props)==null?void 0:de.span)||1;if(ueoe?oe:pe),ue===j.length-1){const he=r.column-ie%r.column;ae.push($(le,he,oe,!0)),re.push(ae);return}pe(openBlock(),createElementBlock("div",{class:normalizeClass(unref(L))},[z.title||z.extra||z.$slots.title||z.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(n).e("title"))},[renderSlot(z.$slots,"title",{},()=>[createTextVNode(toDisplayString(z.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(n).e("extra"))},[renderSlot(z.$slots,"extra",{},()=>[createTextVNode(toDisplayString(z.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(n).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(n).e("table"),unref(n).is("bordered",z.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(V(),(re,ae)=>(openBlock(),createBlock(ElDescriptionsRow,{key:ae,row:re},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$1(_sfc_main$1j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]),DescriptionsItem=defineComponent({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const ElDescriptions=withInstall(Descriptions,{DescriptionsItem}),ElDescriptionsItem=withNoopInstall(DescriptionsItem),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:t=>t instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(t,{slots:r,emit:n}){const g=useNamespace(BLOCK),y=z=>{n("click",z)},{onClick:L,onMousedown:$,onMouseup:V}=useSameTarget(t.customMaskEvent?void 0:y);return()=>t.mask?createVNode$1("div",{class:[g.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:L,onMousedown:$,onMouseup:V},[renderSlot(r,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$1("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(r,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:{type:Boolean,default:!1},alignCenter:{type:Boolean,default:!1},closeIcon:{type:iconPropType},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),dialogContentEmits={close:()=>!0},_hoisted_1$E=["aria-label"],_hoisted_2$p=["id"],__default__$P=defineComponent({name:"ElDialogContent"}),_sfc_main$1i=defineComponent({...__default__$P,props:dialogContentProps,emits:dialogContentEmits,setup(t){const r=t,{t:n}=useLocale(),{Close:g}=CloseComponents,{dialogRef:y,headerRef:L,bodyId:$,ns:V,style:z}=inject(dialogInjectionKey),{focusTrapRef:j}=inject(FOCUS_TRAP_INJECTION_KEY),re=composeRefs(j,y),ae=computed(()=>r.draggable);return useDraggable(y,L,ae),(oe,ie)=>(openBlock(),createElementBlock("div",{ref:unref(re),class:normalizeClass([unref(V).b(),unref(V).is("fullscreen",oe.fullscreen),unref(V).is("draggable",unref(ae)),unref(V).is("align-center",oe.alignCenter),{[unref(V).m("center")]:oe.center},oe.customClass]),style:normalizeStyle$1(unref(z)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:L,class:normalizeClass(unref(V).e("header"))},[renderSlot(oe.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(V).e("title"))},toDisplayString(oe.title),3)]),oe.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(n)("el.dialog.close"),class:normalizeClass(unref(V).e("headerbtn")),type:"button",onClick:ie[0]||(ie[0]=le=>oe.$emit("close"))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(V).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.closeIcon||unref(g))))]),_:1},8,["class"])],10,_hoisted_1$E)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref($),class:normalizeClass(unref(V).e("body"))},[renderSlot(oe.$slots,"default")],10,_hoisted_2$p),oe.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(V).e("footer"))},[renderSlot(oe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$1(_sfc_main$1i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:{type:Boolean,default:!1},beforeClose:{type:definePropType(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,default:!1},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:t=>isBoolean$1(t),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=(t,r)=>{const g=getCurrentInstance().emit,{nextZIndex:y}=useZIndex();let L="";const $=useId(),V=useId(),z=ref(!1),j=ref(!1),re=ref(!1),ae=ref(t.zIndex||y());let oe,ie;const le=useGlobalConfig("namespace",defaultNamespace),ue=computed(()=>{const Lt={},vn=`--${le.value}-dialog`;return t.fullscreen||(t.top&&(Lt[`${vn}-margin-top`]=t.top),t.width&&(Lt[`${vn}-width`]=addUnit(t.width))),Lt}),de=computed(()=>t.alignCenter?{display:"flex"}:{});function pe(){g("opened")}function he(){g("closed"),g(UPDATE_MODEL_EVENT,!1),t.destroyOnClose&&(re.value=!1)}function _e(){g("close")}function Ce(){ie==null||ie(),oe==null||oe(),t.openDelay&&t.openDelay>0?{stop:oe}=useTimeoutFn$1(()=>Ne(),t.openDelay):Ne()}function $e(){oe==null||oe(),ie==null||ie(),t.closeDelay&&t.closeDelay>0?{stop:ie}=useTimeoutFn$1(()=>ze(),t.closeDelay):ze()}function xe(){function Lt(vn){vn||(j.value=!0,z.value=!1)}t.beforeClose?t.beforeClose(Lt):$e()}function Ie(){t.closeOnClickModal&&xe()}function Ne(){isClient$1&&(z.value=!0)}function ze(){z.value=!1}function Fe(){g("openAutoFocus")}function qe(){g("closeAutoFocus")}function Et(Lt){var vn;((vn=Lt.detail)==null?void 0:vn.focusReason)==="pointer"&&Lt.preventDefault()}t.lockScroll&&useLockscreen(z);function kt(){t.closeOnPressEscape&&xe()}return watch(()=>t.modelValue,Lt=>{Lt?(j.value=!1,Ce(),re.value=!0,ae.value=t.zIndex?ae.value++:y(),nextTick(()=>{g("open"),r.value&&(r.value.scrollTop=0)})):z.value&&$e()}),watch(()=>t.fullscreen,Lt=>{r.value&&(Lt?(L=r.value.style.transform,r.value.style.transform=""):r.value.style.transform=L)}),onMounted(()=>{t.modelValue&&(z.value=!0,re.value=!0,Ce())}),{afterEnter:pe,afterLeave:he,beforeLeave:_e,handleClose:xe,onModalClick:Ie,close:$e,doClose:ze,onOpenAutoFocus:Fe,onCloseAutoFocus:qe,onCloseRequested:kt,onFocusoutPrevented:Et,titleId:$,bodyId:V,closed:j,style:ue,overlayDialogStyle:de,rendered:re,visible:z,zIndex:ae}},_hoisted_1$D=["aria-label","aria-labelledby","aria-describedby"],__default__$O=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1h=defineComponent({...__default__$O,props:dialogProps,emits:dialogEmits,setup(t,{expose:r}){const n=t,g=useSlots();useDeprecated({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},computed(()=>!!g.title)),useDeprecated({scope:"el-dialog",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/dialog.html#attributes",type:"Attribute"},computed(()=>!!n.customClass));const y=useNamespace("dialog"),L=ref(),$=ref(),V=ref(),{visible:z,titleId:j,bodyId:re,style:ae,overlayDialogStyle:oe,rendered:ie,zIndex:le,afterEnter:ue,afterLeave:de,beforeLeave:pe,handleClose:he,onModalClick:_e,onOpenAutoFocus:Ce,onCloseAutoFocus:$e,onCloseRequested:xe,onFocusoutPrevented:Ie}=useDialog(n,L);provide(dialogInjectionKey,{dialogRef:L,headerRef:$,bodyId:re,ns:y,rendered:ie,style:ae});const Ne=useSameTarget(_e),ze=computed(()=>n.draggable&&!n.fullscreen);return r({visible:z,dialogContentRef:V}),(Fe,qe)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!Fe.appendToBody},[createVNode$1(Transition,{name:"dialog-fade",onAfterEnter:unref(ue),onAfterLeave:unref(de),onBeforeLeave:unref(pe),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{"custom-mask-event":"",mask:Fe.modal,"overlay-class":Fe.modalClass,"z-index":unref(le)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":Fe.title||void 0,"aria-labelledby":Fe.title?void 0:unref(j),"aria-describedby":unref(re),class:normalizeClass(`${unref(y).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(oe)),onClick:qe[0]||(qe[0]=(...Et)=>unref(Ne).onClick&&unref(Ne).onClick(...Et)),onMousedown:qe[1]||(qe[1]=(...Et)=>unref(Ne).onMousedown&&unref(Ne).onMousedown(...Et)),onMouseup:qe[2]||(qe[2]=(...Et)=>unref(Ne).onMouseup&&unref(Ne).onMouseup(...Et))},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(z),"focus-start-el":"container",onFocusAfterTrapped:unref(Ce),onFocusAfterReleased:unref($e),onFocusoutPrevented:unref(Ie),onReleaseRequested:unref(xe)},{default:withCtx(()=>[unref(ie)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:V},Fe.$attrs,{"custom-class":Fe.customClass,center:Fe.center,"align-center":Fe.alignCenter,"close-icon":Fe.closeIcon,draggable:unref(ze),fullscreen:Fe.fullscreen,"show-close":Fe.showClose,title:Fe.title,onClose:unref(he)}),createSlots({header:withCtx(()=>[Fe.$slots.title?renderSlot(Fe.$slots,"title",{key:1}):renderSlot(Fe.$slots,"header",{key:0,close:unref(he),titleId:unref(j),titleClass:unref(y).e("title")})]),default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:2},[Fe.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(Fe.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$D)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(z)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Dialog=_export_sfc$1(_sfc_main$1h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const ElDialog=withInstall(Dialog),dividerProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:definePropType(String),default:"solid"}}),__default__$N=defineComponent({name:"ElDivider"}),_sfc_main$1g=defineComponent({...__default__$N,props:dividerProps,setup(t){const r=t,n=useNamespace("divider"),g=computed(()=>n.cssVar({"border-style":r.borderStyle}));return(y,L)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(n).b(),unref(n).m(y.direction)]),style:normalizeStyle$1(unref(g)),role:"separator"},[y.$slots.default&&y.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(n).e("text"),unref(n).is(y.contentPosition)])},[renderSlot(y.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$1(_sfc_main$1g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const ElDivider=withInstall(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0}}),drawerEmits=dialogEmits,_sfc_main$1f=defineComponent({name:"ElDrawer",components:{ElOverlay,ElFocusTrap,ElIcon,Close:close_default},inheritAttrs:!1,props:drawerProps,emits:drawerEmits,setup(t,{slots:r}){useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},computed(()=>!!r.title)),useDeprecated({scope:"el-drawer",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/drawer.html#attributes",type:"Attribute"},computed(()=>!!t.customClass));const n=ref(),g=ref(),y=useNamespace("drawer"),{t:L}=useLocale(),$=computed(()=>t.direction==="rtl"||t.direction==="ltr"),V=computed(()=>addUnit(t.size));return{...useDialog(t,n),drawerRef:n,focusStartRef:g,isHorizontal:$,drawerSize:V,ns:y,t:L}}}),_hoisted_1$C=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$o=["id"],_hoisted_3$c=["aria-label"],_hoisted_4$9=["id"];function _sfc_render$o(t,r,n,g,y,L){const $=resolveComponent("close"),V=resolveComponent("el-icon"),z=resolveComponent("el-focus-trap"),j=resolveComponent("el-overlay");return openBlock(),createBlock(Teleport,{to:"body",disabled:!t.appendToBody},[createVNode$1(Transition,{name:t.ns.b("fade"),onAfterEnter:t.afterEnter,onAfterLeave:t.afterLeave,onBeforeLeave:t.beforeLeave,persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(j,{mask:t.modal,"overlay-class":t.modalClass,"z-index":t.zIndex,onClick:t.onModalClick},{default:withCtx(()=>[createVNode$1(z,{loop:"",trapped:t.visible,"focus-trap-el":t.drawerRef,"focus-start-el":t.focusStartRef,onReleaseRequested:t.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref:"drawerRef","aria-modal":"true","aria-label":t.title||void 0,"aria-labelledby":t.title?void 0:t.titleId,"aria-describedby":t.bodyId},t.$attrs,{class:[t.ns.b(),t.direction,t.visible&&"open",t.customClass],style:t.isHorizontal?"width: "+t.drawerSize:"height: "+t.drawerSize,role:"dialog",onClick:r[1]||(r[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref:"focusStartRef",class:normalizeClass(t.ns.e("sr-focus")),tabindex:"-1"},null,2),t.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass(t.ns.e("header"))},[t.$slots.title?renderSlot(t.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(t.$slots,"header",{key:0,close:t.handleClose,titleId:t.titleId,titleClass:t.ns.e("title")},()=>[t.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:t.titleId,role:"heading",class:normalizeClass(t.ns.e("title"))},toDisplayString(t.title),11,_hoisted_2$o))]),t.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":t.t("el.drawer.close"),class:normalizeClass(t.ns.e("close-btn")),type:"button",onClick:r[0]||(r[0]=(...re)=>t.handleClose&&t.handleClose(...re))},[createVNode$1(V,{class:normalizeClass(t.ns.e("close"))},{default:withCtx(()=>[createVNode$1($)]),_:1},8,["class"])],10,_hoisted_3$c)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),t.rendered?(openBlock(),createElementBlock("div",{key:1,id:t.bodyId,class:normalizeClass(t.ns.e("body"))},[renderSlot(t.$slots,"default")],10,_hoisted_4$9)):createCommentVNode("v-if",!0),t.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(t.ns.e("footer"))},[renderSlot(t.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$C)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,t.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var Drawer=_export_sfc$1(_sfc_main$1f,[["render",_sfc_render$o],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1e=defineComponent({inheritAttrs:!1});function _sfc_render$n(t,r,n,g,y,L){return renderSlot(t.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$1e,[["render",_sfc_render$n],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _sfc_main$1d=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$m(t,r,n,g,y,L){return renderSlot(t.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$1d,[["render",_sfc_render$m],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=t=>{const r=`El${t}Collection`,n=`${r}Item`,g=Symbol(r),y=Symbol(n),L={...Collection,name:r,setup(){const V=ref(null),z=new Map;provide(g,{itemMap:z,getItems:()=>{const re=unref(V);if(!re)return[];const ae=Array.from(re.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...z.values()].sort((ie,le)=>ae.indexOf(ie.ref)-ae.indexOf(le.ref))},collectionRef:V})}},$={...CollectionItem,name:n,setup(V,{attrs:z}){const j=ref(null),re=inject(g,void 0);provide(y,{collectionItemRef:j}),onMounted(()=>{const ae=unref(j);ae&&re.itemMap.set(ae,{ref:ae,...z})}),onBeforeUnmount(()=>{const ae=unref(j);re.itemMap.delete(ae)})}};return{COLLECTION_INJECTION_KEY:g,COLLECTION_ITEM_INJECTION_KEY:y,ElCollection:L,ElCollectionItem:$}},rovingFocusGroupProps=buildProps({style:{type:definePropType([String,Array,Object])},currentTabId:{type:definePropType(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:definePropType(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:ElCollection$1,ElCollectionItem:ElCollectionItem$1,COLLECTION_INJECTION_KEY:COLLECTION_INJECTION_KEY$1,COLLECTION_ITEM_INJECTION_KEY:COLLECTION_ITEM_INJECTION_KEY$1}=createCollectionWithScope("RovingFocusGroup"),ROVING_FOCUS_GROUP_INJECTION_KEY=Symbol("elRovingFocusGroup"),ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY=Symbol("elRovingFocusGroupItem"),MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},getDirectionAwareKey=(t,r)=>{if(r!=="rtl")return t;switch(t){case EVENT_CODE.right:return EVENT_CODE.left;case EVENT_CODE.left:return EVENT_CODE.right;default:return t}},getFocusIntent=(t,r,n)=>{const g=getDirectionAwareKey(t.key,n);if(!(r==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(g))&&!(r==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(g)))return MAP_KEY_TO_FOCUS_INTENT[g]},reorderArray=(t,r)=>t.map((n,g)=>t[(g+r)%t.length]),focusFirst=t=>{const{activeElement:r}=document;for(const n of t)if(n===r||(n.focus(),r!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1c=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(t,{emit:r}){var n;const g=ref((n=t.currentTabId||t.defaultCurrentTabId)!=null?n:null),y=ref(!1),L=ref(!1),$=ref(null),{getItems:V}=inject(COLLECTION_INJECTION_KEY$1,void 0),z=computed(()=>[{outline:"none"},t.style]),j=ue=>{r(CURRENT_TAB_ID_CHANGE_EVT,ue)},re=()=>{y.value=!0},ae=composeEventHandlers(ue=>{var de;(de=t.onMousedown)==null||de.call(t,ue)},()=>{L.value=!0}),oe=composeEventHandlers(ue=>{var de;(de=t.onFocus)==null||de.call(t,ue)},ue=>{const de=!unref(L),{target:pe,currentTarget:he}=ue;if(pe===he&&de&&!unref(y)){const _e=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(he==null||he.dispatchEvent(_e),!_e.defaultPrevented){const Ce=V().filter(ze=>ze.focusable),$e=Ce.find(ze=>ze.active),xe=Ce.find(ze=>ze.id===unref(g)),Ne=[$e,xe,...Ce].filter(Boolean).map(ze=>ze.ref);focusFirst(Ne)}}L.value=!1}),ie=composeEventHandlers(ue=>{var de;(de=t.onBlur)==null||de.call(t,ue)},()=>{y.value=!1}),le=(...ue)=>{r("entryFocus",...ue)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(g),loop:toRef(t,"loop"),tabIndex:computed(()=>unref(y)?-1:0),rovingFocusGroupRef:$,rovingFocusGroupRootStyle:z,orientation:toRef(t,"orientation"),dir:toRef(t,"dir"),onItemFocus:j,onItemShiftTab:re,onBlur:ie,onFocus:oe,onMousedown:ae}),watch(()=>t.currentTabId,ue=>{g.value=ue??null}),useEventListener($,ENTRY_FOCUS_EVT,le)}});function _sfc_render$l(t,r,n,g,y,L){return renderSlot(t.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$l],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const _sfc_main$1b=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$k(t,r,n,g,y,L){const $=resolveComponent("el-roving-focus-group-impl"),V=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(V,null,{default:withCtx(()=>[createVNode$1($,normalizeProps(guardReactiveProps(t.$attrs)),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$k],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const _sfc_main$1a=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(t,{emit:r}){const{currentTabbedId:n,loop:g,onItemFocus:y,onItemShiftTab:L}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:$}=inject(COLLECTION_INJECTION_KEY$1,void 0),V=useId(),z=ref(null),j=composeEventHandlers(ie=>{r("mousedown",ie)},ie=>{t.focusable?y(unref(V)):ie.preventDefault()}),re=composeEventHandlers(ie=>{r("focus",ie)},()=>{y(unref(V))}),ae=composeEventHandlers(ie=>{r("keydown",ie)},ie=>{const{key:le,shiftKey:ue,target:de,currentTarget:pe}=ie;if(le===EVENT_CODE.tab&&ue){L();return}if(de!==pe)return;const he=getFocusIntent(ie);if(he){ie.preventDefault();let Ce=$().filter($e=>$e.focusable).map($e=>$e.ref);switch(he){case"last":{Ce.reverse();break}case"prev":case"next":{he==="prev"&&Ce.reverse();const $e=Ce.indexOf(pe);Ce=g.value?reorderArray(Ce,$e+1):Ce.slice($e+1);break}}nextTick(()=>{focusFirst(Ce)})}}),oe=computed(()=>n.value===unref(V));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:z,tabIndex:computed(()=>unref(oe)?0:-1),handleMousedown:j,handleFocus:re,handleKeydown:ae}),{id:V,handleKeydown:ae,handleFocus:re,handleMousedown:j}}});function _sfc_render$j(t,r,n,g,y,L){const $=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock($,{id:t.id,focusable:t.focusable,active:t.active},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc$1(_sfc_main$1a,[["render",_sfc_render$j],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const dropdownProps=buildProps({trigger:useTooltipTriggerProps.trigger,effect:{...useTooltipContentProps.effect,default:"light"},type:{type:definePropType(String)},placement:{type:definePropType(String),default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:definePropType([Number,String]),default:0},maxHeight:{type:definePropType([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported}),dropdownItemProps=buildProps({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:iconPropType}}),dropdownMenuProps=buildProps({onKeydown:{type:definePropType(Function)}}),FIRST_KEYS=[EVENT_CODE.down,EVENT_CODE.pageDown,EVENT_CODE.home],LAST_KEYS=[EVENT_CODE.up,EVENT_CODE.pageUp,EVENT_CODE.end],FIRST_LAST_KEYS=[...FIRST_KEYS,...LAST_KEYS],{ElCollection,ElCollectionItem,COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("Dropdown"),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$19=defineComponent({name:"ElDropdown",components:{ElButton,ElButtonGroup,ElScrollbar,ElDropdownCollection:ElCollection,ElTooltip,ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup(t,{emit:r}){const n=getCurrentInstance(),g=useNamespace("dropdown"),{t:y}=useLocale(),L=ref(),$=ref(),V=ref(null),z=ref(null),j=ref(null),re=ref(null),ae=ref(!1),oe=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],ie=computed(()=>({maxHeight:addUnit(t.maxHeight)})),le=computed(()=>[g.m(Ce.value)]),ue=useId().value,de=computed(()=>t.id||ue);watch([L,toRef(t,"trigger")],([jt,At],[hn])=>{var bn,Cn,Tn;const xn=isArray$6(At)?At:[At];(bn=hn==null?void 0:hn.$el)!=null&&bn.removeEventListener&&hn.$el.removeEventListener("pointerenter",xe),(Cn=jt==null?void 0:jt.$el)!=null&&Cn.removeEventListener&&jt.$el.removeEventListener("pointerenter",xe),(Tn=jt==null?void 0:jt.$el)!=null&&Tn.addEventListener&&xn.includes("hover")&&jt.$el.addEventListener("pointerenter",xe)},{immediate:!0}),onBeforeUnmount(()=>{var jt,At;(At=(jt=L.value)==null?void 0:jt.$el)!=null&&At.removeEventListener&&L.value.$el.removeEventListener("pointerenter",xe)});function pe(){he()}function he(){var jt;(jt=V.value)==null||jt.onClose()}function _e(){var jt;(jt=V.value)==null||jt.onOpen()}const Ce=useFormSize();function $e(...jt){r("command",...jt)}function xe(){var jt,At;(At=(jt=L.value)==null?void 0:jt.$el)==null||At.focus()}function Ie(){}function Ne(){const jt=unref(z);jt==null||jt.focus(),re.value=null}function ze(jt){re.value=jt}function Fe(jt){ae.value||(jt.preventDefault(),jt.stopImmediatePropagation())}function qe(){r("visible-change",!0)}function Et(jt){(jt==null?void 0:jt.type)==="keydown"&&z.value.focus()}function kt(){r("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:z,role:computed(()=>t.role),triggerId:de,isUsingKeyboard:ae,onItemEnter:Ie,onItemLeave:Ne}),provide("elDropdown",{instance:n,dropdownSize:Ce,handleClick:pe,commandHandler:$e,trigger:toRef(t,"trigger"),hideOnClick:toRef(t,"hideOnClick")}),{t:y,ns:g,scrollbar:j,wrapStyle:ie,dropdownTriggerKls:le,dropdownSize:Ce,triggerId:de,triggerKeys:oe,currentTabId:re,handleCurrentTabIdChange:ze,handlerMainButtonClick:jt=>{r("click",jt)},handleEntryFocus:Fe,handleClose:he,handleOpen:_e,handleBeforeShowTooltip:qe,handleShowTooltip:Et,handleBeforeHideTooltip:kt,onFocusAfterTrapped:jt=>{var At,hn;jt.preventDefault(),(hn=(At=z.value)==null?void 0:At.focus)==null||hn.call(At,{preventScroll:!0})},popperRef:V,contentRef:z,triggeringElementRef:L,referenceElementRef:$}}});function _sfc_render$i(t,r,n,g,y,L){var $;const V=resolveComponent("el-dropdown-collection"),z=resolveComponent("el-roving-focus-group"),j=resolveComponent("el-scrollbar"),re=resolveComponent("el-only-child"),ae=resolveComponent("el-tooltip"),oe=resolveComponent("el-button"),ie=resolveComponent("arrow-down"),le=resolveComponent("el-icon"),ue=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b(),t.ns.is("disabled",t.disabled)])},[createVNode$1(ae,{ref:"popperRef",role:t.role,effect:t.effect,"fallback-placements":["bottom","top"],"popper-options":t.popperOptions,"gpu-acceleration":!1,"hide-after":t.trigger==="hover"?t.hideTimeout:0,"manual-mode":!0,placement:t.placement,"popper-class":[t.ns.e("popper"),t.popperClass],"reference-element":($=t.referenceElementRef)==null?void 0:$.$el,trigger:t.trigger,"trigger-keys":t.triggerKeys,"trigger-target-el":t.contentRef,"show-after":t.trigger==="hover"?t.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":t.triggeringElementRef,"virtual-triggering":t.splitButton,disabled:t.disabled,transition:`${t.ns.namespace.value}-zoom-in-top`,teleported:t.teleported,pure:"",persistent:"",onBeforeShow:t.handleBeforeShowTooltip,onShow:t.handleShowTooltip,onBeforeHide:t.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode$1(j,{ref:"scrollbar","wrap-style":t.wrapStyle,tag:"div","view-class":t.ns.e("list")},{default:withCtx(()=>[createVNode$1(z,{loop:t.loop,"current-tab-id":t.currentTabId,orientation:"horizontal",onCurrentTabIdChange:t.handleCurrentTabIdChange,onEntryFocus:t.handleEntryFocus},{default:withCtx(()=>[createVNode$1(V,null,{default:withCtx(()=>[renderSlot(t.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[t.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode$1(re,{id:t.triggerId,ref:"triggeringElementRef",role:"button",tabindex:t.tabindex},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),t.splitButton?(openBlock(),createBlock(ue,{key:0},{default:withCtx(()=>[createVNode$1(oe,mergeProps({ref:"referenceElementRef"},t.buttonProps,{size:t.dropdownSize,type:t.type,disabled:t.disabled,tabindex:t.tabindex,onClick:t.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode$1(oe,mergeProps({id:t.triggerId,ref:"triggeringElementRef"},t.buttonProps,{role:"button",size:t.dropdownSize,type:t.type,class:t.ns.e("caret-button"),disabled:t.disabled,tabindex:t.tabindex,"aria-label":t.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode$1(le,{class:normalizeClass(t.ns.e("icon"))},{default:withCtx(()=>[createVNode$1(ie)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc$1(_sfc_main$19,[["render",_sfc_render$i],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const _sfc_main$18=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(t,{emit:r}){const n=useNamespace("dropdown"),{role:g}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:y}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:L}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:$,tabIndex:V,handleFocus:z,handleKeydown:j,handleMousedown:re}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),ae=composeRefs(y,L,$),oe=computed(()=>g.value==="menu"?"menuitem":g.value==="navigation"?"link":"button"),ie=composeEventHandlers(le=>{const{code:ue}=le;if(ue===EVENT_CODE.enter||ue===EVENT_CODE.space)return le.preventDefault(),le.stopImmediatePropagation(),r("clickimpl",le),!0},j);return{ns:n,itemRef:ae,dataset:{[COLLECTION_ITEM_SIGN]:""},role:oe,tabIndex:V,handleFocus:z,handleKeydown:ie,handleMousedown:re}}}),_hoisted_1$B=["aria-disabled","tabindex","role"];function _sfc_render$h(t,r,n,g,y,L){const $=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[t.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:t.ns.bem("menu","item","divided")},t.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:t.itemRef},{...t.dataset,...t.$attrs},{"aria-disabled":t.disabled,class:[t.ns.be("menu","item"),t.ns.is("disabled",t.disabled)],tabindex:t.tabIndex,role:t.role,onClick:r[0]||(r[0]=V=>t.$emit("clickimpl",V)),onFocus:r[1]||(r[1]=(...V)=>t.handleFocus&&t.handleFocus(...V)),onKeydown:r[2]||(r[2]=withModifiers((...V)=>t.handleKeydown&&t.handleKeydown(...V),["self"])),onMousedown:r[3]||(r[3]=(...V)=>t.handleMousedown&&t.handleMousedown(...V)),onPointermove:r[4]||(r[4]=V=>t.$emit("pointermove",V)),onPointerleave:r[5]||(r[5]=V=>t.$emit("pointerleave",V))}),[t.icon?(openBlock(),createBlock($,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(t.$slots,"default")],16,_hoisted_1$B)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$18,[["render",_sfc_render$h],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const useDropdown=()=>{const t=inject("elDropdown",{}),r=computed(()=>t==null?void 0:t.dropdownSize);return{elDropdown:t,_elDropdownSize:r}},_sfc_main$17=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(t,{emit:r,attrs:n}){const{elDropdown:g}=useDropdown(),y=getCurrentInstance(),L=ref(null),$=computed(()=>{var ie,le;return(le=(ie=unref(L))==null?void 0:ie.textContent)!=null?le:""}),{onItemEnter:V,onItemLeave:z}=inject(DROPDOWN_INJECTION_KEY,void 0),j=composeEventHandlers(ie=>(r("pointermove",ie),ie.defaultPrevented),whenMouse(ie=>{if(t.disabled){z(ie);return}const le=ie.currentTarget;le===document.activeElement||le.contains(document.activeElement)||(V(ie),ie.defaultPrevented||le==null||le.focus())})),re=composeEventHandlers(ie=>(r("pointerleave",ie),ie.defaultPrevented),whenMouse(ie=>{z(ie)})),ae=composeEventHandlers(ie=>{if(!t.disabled)return r("click",ie),ie.type!=="keydown"&&ie.defaultPrevented},ie=>{var le,ue,de;if(t.disabled){ie.stopImmediatePropagation();return}(le=g==null?void 0:g.hideOnClick)!=null&&le.value&&((ue=g.handleClick)==null||ue.call(g)),(de=g.commandHandler)==null||de.call(g,t.command,y,ie)}),oe=computed(()=>({...t,...n}));return{handleClick:ae,handlePointerMove:j,handlePointerLeave:re,textContent:$,propsAndAttrs:oe}}});function _sfc_render$g(t,r,n,g,y,L){var $;const V=resolveComponent("el-dropdown-item-impl"),z=resolveComponent("el-roving-focus-item"),j=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(j,{disabled:t.disabled,"text-value":($=t.textValue)!=null?$:t.textContent},{default:withCtx(()=>[createVNode$1(z,{focusable:!t.disabled},{default:withCtx(()=>[createVNode$1(V,mergeProps(t.propsAndAttrs,{onPointerleave:t.handlePointerLeave,onPointermove:t.handlePointerMove,onClickimpl:t.handleClick}),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc$1(_sfc_main$17,[["render",_sfc_render$g],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const _sfc_main$16=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(t){const r=useNamespace("dropdown"),{_elDropdownSize:n}=useDropdown(),g=n.value,{focusTrapRef:y,onKeydown:L}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:$,role:V,triggerId:z}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:j,getItems:re}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:ae,rovingFocusGroupRootStyle:oe,tabIndex:ie,onBlur:le,onFocus:ue,onMousedown:de}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:pe}=inject(COLLECTION_INJECTION_KEY$1,void 0),he=computed(()=>[r.b("menu"),r.bm("menu",g==null?void 0:g.value)]),_e=composeRefs($,j,y,ae,pe),Ce=composeEventHandlers(xe=>{var Ie;(Ie=t.onKeydown)==null||Ie.call(t,xe)},xe=>{const{currentTarget:Ie,code:Ne,target:ze}=xe;if(Ie.contains(ze),EVENT_CODE.tab===Ne&&xe.stopImmediatePropagation(),xe.preventDefault(),ze!==unref($)||!FIRST_LAST_KEYS.includes(Ne))return;const qe=re().filter(Et=>!Et.disabled).map(Et=>Et.ref);LAST_KEYS.includes(Ne)&&qe.reverse(),focusFirst(qe)});return{size:g,rovingFocusGroupRootStyle:oe,tabIndex:ie,dropdownKls:he,role:V,triggerId:z,dropdownListWrapperRef:_e,handleKeydown:xe=>{Ce(xe),L(xe)},onBlur:le,onFocus:ue,onMousedown:de}}}),_hoisted_1$A=["role","aria-labelledby"];function _sfc_render$f(t,r,n,g,y,L){return openBlock(),createElementBlock("ul",{ref:t.dropdownListWrapperRef,class:normalizeClass(t.dropdownKls),style:normalizeStyle$1(t.rovingFocusGroupRootStyle),tabindex:-1,role:t.role,"aria-labelledby":t.triggerId,onBlur:r[0]||(r[0]=(...$)=>t.onBlur&&t.onBlur(...$)),onFocus:r[1]||(r[1]=(...$)=>t.onFocus&&t.onFocus(...$)),onKeydown:r[2]||(r[2]=withModifiers((...$)=>t.handleKeydown&&t.handleKeydown(...$),["self"])),onMousedown:r[3]||(r[3]=withModifiers((...$)=>t.onMousedown&&t.onMousedown(...$),["self"]))},[renderSlot(t.$slots,"default")],46,_hoisted_1$A)}var DropdownMenu=_export_sfc$1(_sfc_main$16,[["render",_sfc_render$f],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$z={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_hoisted_2$n=["id"],_hoisted_3$b=["stop-color"],_hoisted_4$8=["stop-color"],_hoisted_5$6=["id"],_hoisted_6$2=["stop-color"],_hoisted_7$1=["stop-color"],_hoisted_8$1=["id"],_hoisted_9$1={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10$1={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},_hoisted_11$1={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},_hoisted_12$1=["fill"],_hoisted_13$1=["fill"],_hoisted_14$1={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},_hoisted_15$1=["fill"],_hoisted_16$1=["fill"],_hoisted_17$1=["fill"],_hoisted_18$1=["fill"],_hoisted_19$1=["fill"],_hoisted_20$1={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},_hoisted_21$1=["fill","xlink:href"],_hoisted_22$1=["fill","mask"],_hoisted_23$1=["fill"],__default__$M=defineComponent({name:"ImgEmpty"}),_sfc_main$15=defineComponent({...__default__$M,setup(t){const r=useNamespace("empty"),n=useId();return(g,y)=>(openBlock(),createElementBlock("svg",_hoisted_1$z,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$b),createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$8)],8,_hoisted_2$n),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$2),createBaseVNode("stop",{"stop-color":`var(${unref(r).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7$1)],8,_hoisted_5$6),createBaseVNode("rect",{id:`path-3-${unref(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8$1)]),createBaseVNode("g",_hoisted_9$1,[createBaseVNode("g",_hoisted_10$1,[createBaseVNode("g",_hoisted_11$1,[createBaseVNode("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${unref(r).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12$1),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref(r).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,_hoisted_13$1),createBaseVNode("g",_hoisted_14$1,[createBaseVNode("polygon",{id:"Rectangle-Copy-10",fill:`var(${unref(r).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,_hoisted_15$1),createBaseVNode("polygon",{id:"Rectangle-Copy-11",fill:`var(${unref(r).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16$1),createBaseVNode("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${unref(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,_hoisted_17$1),createBaseVNode("polygon",{id:"Rectangle-Copy-13",fill:`var(${unref(r).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,_hoisted_18$1)]),createBaseVNode("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${unref(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19$1),createBaseVNode("g",_hoisted_20$1,[createBaseVNode("use",{id:"Mask",fill:`var(${unref(r).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(n)}`},null,8,_hoisted_21$1),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref(r).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,_hoisted_22$1)]),createBaseVNode("polygon",{id:"Rectangle-Copy-18",fill:`var(${unref(r).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,_hoisted_23$1)])])])]))}});var ImgEmpty=_export_sfc$1(_sfc_main$15,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$y=["src"],_hoisted_2$m={key:1},__default__$L=defineComponent({name:"ElEmpty"}),_sfc_main$14=defineComponent({...__default__$L,props:emptyProps,setup(t){const r=t,{t:n}=useLocale(),g=useNamespace("empty"),y=computed(()=>r.description||n("el.table.emptyText")),L=computed(()=>({width:addUnit(r.imageSize)}));return($,V)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(g).b())},[createBaseVNode("div",{class:normalizeClass(unref(g).e("image")),style:normalizeStyle$1(unref(L))},[$.image?(openBlock(),createElementBlock("img",{key:0,src:$.image,ondragstart:"return false"},null,8,_hoisted_1$y)):renderSlot($.$slots,"image",{key:1},()=>[createVNode$1(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(g).e("description"))},[$.$slots.description?renderSlot($.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$m,toDisplayString(unref(y)),1))],2),$.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(g).e("bottom"))},[renderSlot($.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$1(_sfc_main$14,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const ElEmpty=withInstall(Empty),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:{type:Boolean,default:!1},teleported:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2}}),imageViewerEmits={close:()=>!0,switch:t=>isNumber$2(t)},_hoisted_1$x=["src"],__default__$K=defineComponent({name:"ElImageViewer"}),_sfc_main$13=defineComponent({...__default__$K,props:imageViewerProps,emits:imageViewerEmits,setup(t,{expose:r,emit:n}){const g=t,y={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:L}=useLocale(),$=useNamespace("image-viewer"),{nextZIndex:V}=useZIndex(),z=ref(),j=ref([]),re=effectScope(),ae=ref(!0),oe=ref(g.initialIndex),ie=shallowRef(y.CONTAIN),le=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),ue=computed(()=>{const{urlList:At}=g;return At.length<=1}),de=computed(()=>oe.value===0),pe=computed(()=>oe.value===g.urlList.length-1),he=computed(()=>g.urlList[oe.value]),_e=computed(()=>{const{scale:At,deg:hn,offsetX:bn,offsetY:Cn,enableTransition:Tn}=le.value;let xn=bn/At,En=Cn/At;switch(hn%360){case 90:case-270:[xn,En]=[En,-xn];break;case 180:case-180:[xn,En]=[-xn,-En];break;case 270:case-90:[xn,En]=[-En,xn];break}const kn={transform:`scale(${At}) rotate(${hn}deg) translate(${xn}px, ${En}px)`,transition:Tn?"transform .3s":""};return ie.value.name===y.CONTAIN.name&&(kn.maxWidth=kn.maxHeight="100%"),kn}),Ce=computed(()=>isNumber$2(g.zIndex)?g.zIndex:V());function $e(){Ie(),n("close")}function xe(){const At=throttle$2(bn=>{switch(bn.code){case EVENT_CODE.esc:g.closeOnPressEscape&&$e();break;case EVENT_CODE.space:Et();break;case EVENT_CODE.left:Lt();break;case EVENT_CODE.up:jt("zoomIn");break;case EVENT_CODE.right:vn();break;case EVENT_CODE.down:jt("zoomOut");break}}),hn=throttle$2(bn=>{const Cn=bn.deltaY||bn.deltaX;jt(Cn<0?"zoomIn":"zoomOut",{zoomRate:g.zoomRate,enableTransition:!1})});re.run(()=>{useEventListener(document,"keydown",At),useEventListener(document,"wheel",hn)})}function Ie(){re.stop()}function Ne(){ae.value=!1}function ze(At){ae.value=!1,At.target.alt=L("el.image.error")}function Fe(At){if(ae.value||At.button!==0||!z.value)return;le.value.enableTransition=!1;const{offsetX:hn,offsetY:bn}=le.value,Cn=At.pageX,Tn=At.pageY,xn=throttle$2(kn=>{le.value={...le.value,offsetX:hn+kn.pageX-Cn,offsetY:bn+kn.pageY-Tn}}),En=useEventListener(document,"mousemove",xn);useEventListener(document,"mouseup",()=>{En()}),At.preventDefault()}function qe(){le.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Et(){if(ae.value)return;const At=keysOf(y),hn=Object.values(y),bn=ie.value.name,Tn=(hn.findIndex(xn=>xn.name===bn)+1)%At.length;ie.value=y[At[Tn]],qe()}function kt(At){const hn=g.urlList.length;oe.value=(At+hn)%hn}function Lt(){de.value&&!g.infinite||kt(oe.value-1)}function vn(){pe.value&&!g.infinite||kt(oe.value+1)}function jt(At,hn={}){if(ae.value)return;const{zoomRate:bn,rotateDeg:Cn,enableTransition:Tn}={zoomRate:g.zoomRate,rotateDeg:90,enableTransition:!0,...hn};switch(At){case"zoomOut":le.value.scale>.2&&(le.value.scale=Number.parseFloat((le.value.scale/bn).toFixed(3)));break;case"zoomIn":le.value.scale<7&&(le.value.scale=Number.parseFloat((le.value.scale*bn).toFixed(3)));break;case"clockwise":le.value.deg+=Cn;break;case"anticlockwise":le.value.deg-=Cn;break}le.value.enableTransition=Tn}return watch(he,()=>{nextTick(()=>{const At=j.value[0];At!=null&&At.complete||(ae.value=!0)})}),watch(oe,At=>{qe(),n("switch",At)}),onMounted(()=>{var At,hn;xe(),(hn=(At=z.value)==null?void 0:At.focus)==null||hn.call(At)}),r({setActiveItem:kt}),(At,hn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!At.teleported},[createVNode$1(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:z,tabindex:-1,class:normalizeClass(unref($).e("wrapper")),style:normalizeStyle$1({zIndex:unref(Ce)})},[createBaseVNode("div",{class:normalizeClass(unref($).e("mask")),onClick:hn[0]||(hn[0]=withModifiers(bn=>At.hideOnClickModal&&$e(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref($).e("btn"),unref($).e("close")]),onClick:$e},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(ue)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass([unref($).e("btn"),unref($).e("prev"),unref($).is("disabled",!At.infinite&&unref(de))]),onClick:Lt},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass([unref($).e("btn"),unref($).e("next"),unref($).is("disabled",!At.infinite&&unref(pe))]),onClick:vn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref($).e("btn"),unref($).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref($).e("actions__inner"))},[createVNode$1(unref(ElIcon),{onClick:hn[1]||(hn[1]=bn=>jt("zoomOut"))},{default:withCtx(()=>[createVNode$1(unref(zoom_out_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:hn[2]||(hn[2]=bn=>jt("zoomIn"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref($).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Et},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ie).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref($).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:hn[3]||(hn[3]=bn=>jt("anticlockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_left_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:hn[4]||(hn[4]=bn=>jt("clockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref($).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(At.urlList,(bn,Cn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:Tn=>j.value[Cn]=Tn,key:bn,src:bn,style:normalizeStyle$1(unref(_e)),class:normalizeClass(unref($).e("img")),onLoad:Ne,onError:ze,onMousedown:Fe},null,46,_hoisted_1$x)),[[vShow,Cn===oe.value]])),128))],2),renderSlot(At.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$1(_sfc_main$13,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:{type:Boolean,default:!1},src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:{type:Boolean,default:!1},scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:{type:Boolean,default:!1},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2}}),imageEmits={load:t=>t instanceof Event,error:t=>t instanceof Event,switch:t=>isNumber$2(t),close:()=>!0,show:()=>!0},_hoisted_1$w=["src","loading"],_hoisted_2$l={key:0},__default__$J=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$12=defineComponent({...__default__$J,props:imageProps,emits:imageEmits,setup(t,{emit:r}){const n=t;let g="";const{t:y}=useLocale(),L=useNamespace("image"),$=useAttrs$1(),V=useAttrs(),z=ref(),j=ref(!1),re=ref(!0),ae=ref(!1),oe=ref(),ie=ref(),le=isClient$1&&"loading"in HTMLImageElement.prototype;let ue,de;const pe=computed(()=>$.style),he=computed(()=>{const{fit:At}=n;return isClient$1&&At?{objectFit:At}:{}}),_e=computed(()=>{const{previewSrcList:At}=n;return Array.isArray(At)&&At.length>0}),Ce=computed(()=>{const{previewSrcList:At,initialIndex:hn}=n;let bn=hn;return hn>At.length-1&&(bn=0),bn}),$e=computed(()=>n.loading==="eager"?!1:!le&&n.loading==="lazy"||n.lazy),xe=()=>{isClient$1&&(re.value=!0,j.value=!1,z.value=n.src)};function Ie(At){re.value=!1,j.value=!1,r("load",At)}function Ne(At){re.value=!1,j.value=!0,r("error",At)}function ze(){isInContainer(oe.value,ie.value)&&(xe(),Et())}const Fe=useThrottleFn(ze,200);async function qe(){var At;if(!isClient$1)return;await nextTick();const{scrollContainer:hn}=n;isElement$1(hn)?ie.value=hn:isString$3(hn)&&hn!==""?ie.value=(At=document.querySelector(hn))!=null?At:void 0:oe.value&&(ie.value=getScrollContainer(oe.value)),ie.value&&(ue=useEventListener(ie,"scroll",Fe),setTimeout(()=>ze(),100))}function Et(){!isClient$1||!ie.value||!Fe||(ue==null||ue(),ie.value=void 0)}function kt(At){if(At.ctrlKey){if(At.deltaY<0)return At.preventDefault(),!1;if(At.deltaY>0)return At.preventDefault(),!1}}function Lt(){_e.value&&(de=useEventListener("wheel",kt,{passive:!1}),g=document.body.style.overflow,document.body.style.overflow="hidden",ae.value=!0,r("show"))}function vn(){de==null||de(),document.body.style.overflow=g,ae.value=!1,r("close")}function jt(At){r("switch",At)}return watch(()=>n.src,()=>{$e.value?(re.value=!0,j.value=!1,Et(),qe()):xe()}),onMounted(()=>{$e.value?qe():xe()}),(At,hn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:oe,class:normalizeClass([unref(L).b(),At.$attrs.class]),style:normalizeStyle$1(unref(pe))},[j.value?renderSlot(At.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(L).e("error"))},toDisplayString(unref(y)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[z.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(V),{src:z.value,loading:At.loading,style:unref(he),class:[unref(L).e("inner"),unref(_e)&&unref(L).e("preview"),re.value&&unref(L).is("loading")],onClick:Lt,onLoad:Ie,onError:Ne}),null,16,_hoisted_1$w)):createCommentVNode("v-if",!0),re.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(L).e("wrapper"))},[renderSlot(At.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(L).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),unref(_e)?(openBlock(),createElementBlock(Fragment,{key:2},[ae.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":At.zIndex,"initial-index":unref(Ce),infinite:At.infinite,"zoom-rate":At.zoomRate,"url-list":At.previewSrcList,"hide-on-click-modal":At.hideOnClickModal,teleported:At.previewTeleported,"close-on-press-escape":At.closeOnPressEscape,onClose:vn,onSwitch:jt},{default:withCtx(()=>[At.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$l,[renderSlot(At.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],6))}});var Image$1=_export_sfc$1(_sfc_main$12,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const ElImage=withInstall(Image$1),inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:t=>t===null||isNumber$2(t)||["min","max"].includes(t),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:t=>t>=0&&t===Number.parseInt(`${t}`,10)},validateEvent:{type:Boolean,default:!0}}),inputNumberEmits={[CHANGE_EVENT]:(t,r)=>r!==t,blur:t=>t instanceof FocusEvent,focus:t=>t instanceof FocusEvent,[INPUT_EVENT]:t=>isNumber$2(t)||isNil(t),[UPDATE_MODEL_EVENT]:t=>isNumber$2(t)||isNil(t)},_hoisted_1$v=["aria-label","onKeydown"],_hoisted_2$k=["aria-label","onKeydown"],__default__$I=defineComponent({name:"ElInputNumber"}),_sfc_main$11=defineComponent({...__default__$I,props:inputNumberProps,emits:inputNumberEmits,setup(t,{expose:r,emit:n}){const g=t,{t:y}=useLocale(),L=useNamespace("input-number"),$=ref(),V=reactive({currentValue:g.modelValue,userInput:null}),{formItem:z}=useFormItem(),j=computed(()=>isNumber$2(g.modelValue)&&g.modelValue<=g.min),re=computed(()=>isNumber$2(g.modelValue)&&g.modelValue>=g.max),ae=computed(()=>{const kt=pe(g.step);return isUndefined$1(g.precision)?Math.max(pe(g.modelValue),kt):(kt>g.precision,g.precision)}),oe=computed(()=>g.controls&&g.controlsPosition==="right"),ie=useFormSize(),le=useFormDisabled(),ue=computed(()=>{if(V.userInput!==null)return V.userInput;let kt=V.currentValue;if(isNil(kt))return"";if(isNumber$2(kt)){if(Number.isNaN(kt))return"";isUndefined$1(g.precision)||(kt=kt.toFixed(g.precision))}return kt}),de=(kt,Lt)=>{if(isUndefined$1(Lt)&&(Lt=ae.value),Lt===0)return Math.round(kt);let vn=String(kt);const jt=vn.indexOf(".");if(jt===-1||!vn.replace(".","").split("")[jt+Lt])return kt;const bn=vn.length;return vn.charAt(bn-1)==="5"&&(vn=`${vn.slice(0,Math.max(0,bn-1))}6`),Number.parseFloat(Number(vn).toFixed(Lt))},pe=kt=>{if(isNil(kt))return 0;const Lt=kt.toString(),vn=Lt.indexOf(".");let jt=0;return vn!==-1&&(jt=Lt.length-vn-1),jt},he=(kt,Lt=1)=>isNumber$2(kt)?de(kt+g.step*Lt):V.currentValue,_e=()=>{if(g.readonly||le.value||re.value)return;const kt=Number(ue.value)||0,Lt=he(kt);xe(Lt),n(INPUT_EVENT,V.currentValue)},Ce=()=>{if(g.readonly||le.value||j.value)return;const kt=Number(ue.value)||0,Lt=he(kt,-1);xe(Lt),n(INPUT_EVENT,V.currentValue)},$e=(kt,Lt)=>{const{max:vn,min:jt,step:At,precision:hn,stepStrictly:bn,valueOnClear:Cn}=g;let Tn=Number(kt);if(isNil(kt)||Number.isNaN(Tn))return null;if(kt===""){if(Cn===null)return null;Tn=isString$3(Cn)?{min:jt,max:vn}[Cn]:Cn}return bn&&(Tn=de(Math.round(Tn/At)*At,hn)),isUndefined$1(hn)||(Tn=de(Tn,hn)),(Tn>vn||Tnvn?vn:jt,Lt&&n(UPDATE_MODEL_EVENT,Tn)),Tn},xe=(kt,Lt=!0)=>{var vn;const jt=V.currentValue,At=$e(kt);if(!Lt){n(UPDATE_MODEL_EVENT,At);return}jt!==At&&(V.userInput=null,n(UPDATE_MODEL_EVENT,At),n(CHANGE_EVENT,At,jt),g.validateEvent&&((vn=z==null?void 0:z.validate)==null||vn.call(z,"change").catch(hn=>void 0)),V.currentValue=At)},Ie=kt=>{V.userInput=kt;const Lt=kt===""?null:Number(kt);n(INPUT_EVENT,Lt),xe(Lt,!1)},Ne=kt=>{const Lt=kt!==""?Number(kt):"";(isNumber$2(Lt)&&!Number.isNaN(Lt)||kt==="")&&xe(Lt),V.userInput=null},ze=()=>{var kt,Lt;(Lt=(kt=$.value)==null?void 0:kt.focus)==null||Lt.call(kt)},Fe=()=>{var kt,Lt;(Lt=(kt=$.value)==null?void 0:kt.blur)==null||Lt.call(kt)},qe=kt=>{n("focus",kt)},Et=kt=>{var Lt;n("blur",kt),g.validateEvent&&((Lt=z==null?void 0:z.validate)==null||Lt.call(z,"blur").catch(vn=>void 0))};return watch(()=>g.modelValue,kt=>{const Lt=$e(V.userInput),vn=$e(kt,!0);!isNumber$2(Lt)&&(!Lt||Lt!==vn)&&(V.currentValue=vn,V.userInput=null)},{immediate:!0}),onMounted(()=>{var kt;const{min:Lt,max:vn,modelValue:jt}=g,At=(kt=$.value)==null?void 0:kt.input;if(At.setAttribute("role","spinbutton"),Number.isFinite(vn)?At.setAttribute("aria-valuemax",String(vn)):At.removeAttribute("aria-valuemax"),Number.isFinite(Lt)?At.setAttribute("aria-valuemin",String(Lt)):At.removeAttribute("aria-valuemin"),At.setAttribute("aria-valuenow",String(V.currentValue)),At.setAttribute("aria-disabled",String(le.value)),!isNumber$2(jt)&&jt!=null){let hn=Number(jt);Number.isNaN(hn)&&(hn=null),n(UPDATE_MODEL_EVENT,hn)}}),onUpdated(()=>{var kt;const Lt=(kt=$.value)==null?void 0:kt.input;Lt==null||Lt.setAttribute("aria-valuenow",`${V.currentValue}`)}),r({focus:ze,blur:Fe}),(kt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(L).b(),unref(L).m(unref(ie)),unref(L).is("disabled",unref(le)),unref(L).is("without-controls",!kt.controls),unref(L).is("controls-right",unref(oe))]),onDragstart:Lt[1]||(Lt[1]=withModifiers(()=>{},["prevent"]))},[kt.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(y)("el.inputNumber.decrease"),class:normalizeClass([unref(L).e("decrease"),unref(L).is("disabled",unref(j))]),onKeydown:withKeys(Ce,["enter"])},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(oe)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})],42,_hoisted_1$v)),[[unref(vRepeatClick),Ce]]):createCommentVNode("v-if",!0),kt.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(y)("el.inputNumber.increase"),class:normalizeClass([unref(L).e("increase"),unref(L).is("disabled",unref(re))]),onKeydown:withKeys(_e,["enter"])},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(oe)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})],42,_hoisted_2$k)),[[unref(vRepeatClick),_e]]):createCommentVNode("v-if",!0),createVNode$1(unref(ElInput),{id:kt.id,ref_key:"input",ref:$,type:"number",step:kt.step,"model-value":unref(ue),placeholder:kt.placeholder,readonly:kt.readonly,disabled:unref(le),size:unref(ie),max:kt.max,min:kt.min,name:kt.name,label:kt.label,"validate-event":!1,onWheel:Lt[0]||(Lt[0]=withModifiers(()=>{},["prevent"])),onKeydown:[withKeys(withModifiers(_e,["prevent"]),["up"]),withKeys(withModifiers(Ce,["prevent"]),["down"])],onBlur:Et,onFocus:qe,onInput:Ie,onChange:Ne},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var InputNumber=_export_sfc$1(_sfc_main$11,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},icon:{type:iconPropType}}),linkEmits={click:t=>t instanceof MouseEvent},_hoisted_1$u=["href"],__default__$H=defineComponent({name:"ElLink"}),_sfc_main$10=defineComponent({...__default__$H,props:linkProps,emits:linkEmits,setup(t,{emit:r}){const n=t,g=useNamespace("link"),y=computed(()=>[g.b(),g.m(n.type),g.is("disabled",n.disabled),g.is("underline",n.underline&&!n.disabled)]);function L($){n.disabled||r("click",$)}return($,V)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(y)),href:$.disabled||!$.href?void 0:$.href,onClick:L},[$.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.icon)))]),_:1})):createCommentVNode("v-if",!0),$.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(g).e("inner"))},[renderSlot($.$slots,"default")],2)):createCommentVNode("v-if",!0),$.$slots.icon?renderSlot($.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$u))}});var Link=_export_sfc$1(_sfc_main$10,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor(r,n){this.parent=r,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(r){r===this.subMenuItems.length?r=0:r<0&&(r=this.subMenuItems.length-1),this.subMenuItems[r].focus(),this.subIndex=r}addListeners(){const r=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",g=>{let y=!1;switch(g.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),y=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),y=!0;break}case EVENT_CODE.tab:{triggerEvent(r,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{y=!0,g.currentTarget.click();break}}return y&&(g.preventDefault(),g.stopPropagation()),!1})})}},MenuItem$1=class{constructor(r,n){this.domNode=r,this.submenu=null,this.submenu=null,this.init(n)}init(r){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${r}-menu`);n&&(this.submenu=new SubMenu$1(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",r=>{let n=!1;switch(r.code){case EVENT_CODE.down:{triggerEvent(r.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case EVENT_CODE.up:{triggerEvent(r.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case EVENT_CODE.tab:{triggerEvent(r.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{n=!0,r.currentTarget.click();break}}n&&r.preventDefault()})}},Menu$1=class{constructor(r,n){this.domNode=r,this.init(n)}init(r){const n=this.domNode.childNodes;Array.from(n).forEach(g=>{g.nodeType===1&&new MenuItem$1(g,r)})}};const _sfc_main$$=defineComponent({name:"ElMenuCollapseTransition",setup(){const t=useNamespace("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,g){addClass(n,`${t.namespace.value}-opacity-transition`),n.style.opacity="1",g()},onAfterEnter(n){removeClass(n,`${t.namespace.value}-opacity-transition`),n.style.opacity=""},onBeforeLeave(n){n.dataset||(n.dataset={}),hasClass(n,t.m("collapse"))?(removeClass(n,t.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),addClass(n,t.m("collapse"))):(addClass(n,t.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),removeClass(n,t.m("collapse"))),n.style.width=`${n.scrollWidth}px`,n.style.overflow="hidden"},onLeave(n){addClass(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function _sfc_render$e(t,r,n,g,y,L){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},t.listeners),{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc$1(_sfc_main$$,[["render",_sfc_render$e],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function useMenu(t,r){const n=computed(()=>{let y=t.parent;const L=[r.value];for(;y.type.name!=="ElMenu";)y.props.index&&L.unshift(y.props.index),y=y.parent;return L});return{parentMenu:computed(()=>{let y=t.parent;for(;y&&!["ElMenu","ElSubMenu"].includes(y.type.name);)y=y.parent;return y}),indexPath:n}}function useMenuColor(t){return computed(()=>{const n=t.backgroundColor;return n?new TinyColor(n).shade(20).toString():""})}const useMenuCssVar=(t,r)=>{const n=useNamespace("menu");return computed(()=>n.cssVarBlock({"text-color":t.textColor||"","hover-text-color":t.textColor||"","bg-color":t.backgroundColor||"","hover-bg-color":useMenuColor(t).value||"","active-color":t.activeTextColor||"",level:`${r}`}))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},teleported:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6},expandCloseIcon:{type:iconPropType},expandOpenIcon:{type:iconPropType},collapseCloseIcon:{type:iconPropType},collapseOpenIcon:{type:iconPropType}}),COMPONENT_NAME$c="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$c,props:subMenuProps,setup(t,{slots:r,expose:n}){useDeprecated({from:"popper-append-to-body",replacement:"teleported",scope:COMPONENT_NAME$c,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},computed(()=>t.popperAppendToBody!==void 0));const g=getCurrentInstance(),{indexPath:y,parentMenu:L}=useMenu(g,computed(()=>t.index)),$=useNamespace("menu"),V=useNamespace("sub-menu"),z=inject("rootMenu");z||throwError$1(COMPONENT_NAME$c,"can not inject root menu");const j=inject(`subMenu:${L.value.uid}`);j||throwError$1(COMPONENT_NAME$c,"can not inject sub menu");const re=ref({}),ae=ref({});let oe;const ie=ref(!1),le=ref(),ue=ref(null),de=computed(()=>qe.value==="horizontal"&&he.value?"bottom-start":"right-start"),pe=computed(()=>qe.value==="horizontal"&&he.value||qe.value==="vertical"&&!z.props.collapse?t.expandCloseIcon&&t.expandOpenIcon?xe.value?t.expandOpenIcon:t.expandCloseIcon:arrow_down_default:t.collapseCloseIcon&&t.collapseOpenIcon?xe.value?t.collapseOpenIcon:t.collapseCloseIcon:arrow_right_default),he=computed(()=>j.level===0),_e=computed(()=>{var Cn;const Tn=(Cn=t.teleported)!=null?Cn:t.popperAppendToBody;return Tn===void 0?he.value:Tn}),Ce=computed(()=>z.props.collapse?`${$.namespace.value}-zoom-in-left`:`${$.namespace.value}-zoom-in-top`),$e=computed(()=>qe.value==="horizontal"&&he.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","left-start","bottom-start","bottom-end","top-start","top-end"]),xe=computed(()=>z.openedMenus.includes(t.index)),Ie=computed(()=>{let Cn=!1;return Object.values(re.value).forEach(Tn=>{Tn.active&&(Cn=!0)}),Object.values(ae.value).forEach(Tn=>{Tn.active&&(Cn=!0)}),Cn}),Ne=computed(()=>z.props.backgroundColor||""),ze=computed(()=>z.props.activeTextColor||""),Fe=computed(()=>z.props.textColor||""),qe=computed(()=>z.props.mode),Et=reactive({index:t.index,indexPath:y,active:Ie}),kt=useMenuCssVar(z.props,j.level+1),Lt=computed(()=>qe.value!=="horizontal"?{color:Fe.value}:{borderBottomColor:Ie.value?z.props.activeTextColor?ze.value:"":"transparent",color:Ie.value?ze.value:Fe.value}),vn=()=>{var Cn,Tn,xn;return(xn=(Tn=(Cn=ue.value)==null?void 0:Cn.popperRef)==null?void 0:Tn.popperInstanceRef)==null?void 0:xn.destroy()},jt=Cn=>{Cn||vn()},At=()=>{z.props.menuTrigger==="hover"&&z.props.mode==="horizontal"||z.props.collapse&&z.props.mode==="vertical"||t.disabled||z.handleSubMenuClick({index:t.index,indexPath:y.value,active:Ie.value})},hn=(Cn,Tn=t.showTimeout)=>{var xn;Cn.type!=="focus"&&(z.props.menuTrigger==="click"&&z.props.mode==="horizontal"||!z.props.collapse&&z.props.mode==="vertical"||t.disabled||(j.mouseInChild.value=!0,oe==null||oe(),{stop:oe}=useTimeoutFn$1(()=>{z.openMenu(t.index,y.value)},Tn),_e.value&&((xn=L.value.vnode.el)==null||xn.dispatchEvent(new MouseEvent("mouseenter")))))},bn=(Cn=!1)=>{var Tn,xn;z.props.menuTrigger==="click"&&z.props.mode==="horizontal"||!z.props.collapse&&z.props.mode==="vertical"||(oe==null||oe(),j.mouseInChild.value=!1,{stop:oe}=useTimeoutFn$1(()=>!ie.value&&z.closeMenu(t.index,y.value),t.hideTimeout),_e.value&&Cn&&((Tn=g.parent)==null?void 0:Tn.type.name)==="ElSubMenu"&&((xn=j.handleMouseleave)==null||xn.call(j,!0)))};watch(()=>z.props.collapse,Cn=>jt(!!Cn));{const Cn=xn=>{ae.value[xn.index]=xn},Tn=xn=>{delete ae.value[xn.index]};provide(`subMenu:${g.uid}`,{addSubMenu:Cn,removeSubMenu:Tn,handleMouseleave:bn,mouseInChild:ie,level:j.level+1})}return n({opened:xe}),onMounted(()=>{z.addSubMenu(Et),j.addSubMenu(Et)}),onBeforeUnmount(()=>{j.removeSubMenu(Et),z.removeSubMenu(Et)}),()=>{var Cn;const Tn=[(Cn=r.title)==null?void 0:Cn.call(r),h$1(ElIcon,{class:V.e("icon-arrow"),style:{transform:xe.value?t.expandCloseIcon&&t.expandOpenIcon||t.collapseCloseIcon&&t.collapseOpenIcon&&z.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$3(pe.value)?h$1(g.appContext.components[pe.value]):h$1(pe.value)})],xn=z.isMenuPopup?h$1(ElTooltip,{ref:ue,visible:xe.value,effect:"light",pure:!0,offset:t.popperOffset,showArrow:!1,persistent:!0,popperClass:t.popperClass,placement:de.value,teleported:_e.value,fallbackPlacements:$e.value,transition:Ce.value,gpuAcceleration:!1},{content:()=>{var En;return h$1("div",{class:[$.m(qe.value),$.m("popup-container"),t.popperClass],onMouseenter:kn=>hn(kn,100),onMouseleave:()=>bn(!0),onFocus:kn=>hn(kn,100)},[h$1("ul",{class:[$.b(),$.m("popup"),$.m(`popup-${de.value}`)],style:kt.value},[(En=r.default)==null?void 0:En.call(r)])])},default:()=>h$1("div",{class:V.e("title"),style:[Lt.value,{backgroundColor:Ne.value}],onClick:At},Tn)}):h$1(Fragment,{},[h$1("div",{class:V.e("title"),style:[Lt.value,{backgroundColor:Ne.value}],ref:le,onClick:At},Tn),h$1(_CollapseTransition,{},{default:()=>{var En;return withDirectives(h$1("ul",{role:"menu",class:[$.b(),$.m("inline")],style:kt.value},[(En=r.default)==null?void 0:En.call(r)]),[[vShow,xe.value]])}})]);return h$1("li",{class:[V.b(),V.is("active",Ie.value),V.is("opened",xe.value),V.is("disabled",t.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:xe.value,onMouseenter:hn,onMouseleave:()=>bn(!0),onFocus:hn},[xn])}}});const menuProps=buildProps({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:definePropType(Array),default:()=>mutable([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperEffect:{type:String,values:["dark","light"],default:"dark"}}),checkIndexPath=t=>Array.isArray(t)&&t.every(r=>isString$3(r)),menuEmits={close:(t,r)=>isString$3(t)&&checkIndexPath(r),open:(t,r)=>isString$3(t)&&checkIndexPath(r),select:(t,r,n,g)=>isString$3(t)&&checkIndexPath(r)&&isObject$7(n)&&(g===void 0||g instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(t,{emit:r,slots:n,expose:g}){const y=getCurrentInstance(),L=y.appContext.config.globalProperties.$router,$=ref(),V=useNamespace("menu"),z=useNamespace("sub-menu"),j=ref(-1),re=ref(t.defaultOpeneds&&!t.collapse?t.defaultOpeneds.slice(0):[]),ae=ref(t.defaultActive),oe=ref({}),ie=ref({}),le=computed(()=>t.mode==="horizontal"||t.mode==="vertical"&&t.collapse),ue=()=>{const qe=ae.value&&oe.value[ae.value];if(!qe||t.mode==="horizontal"||t.collapse)return;qe.indexPath.forEach(kt=>{const Lt=ie.value[kt];Lt&&de(kt,Lt.indexPath)})},de=(qe,Et)=>{re.value.includes(qe)||(t.uniqueOpened&&(re.value=re.value.filter(kt=>Et.includes(kt))),re.value.push(qe),r("open",qe,Et))},pe=qe=>{const Et=re.value.indexOf(qe);Et!==-1&&re.value.splice(Et,1)},he=(qe,Et)=>{pe(qe),r("close",qe,Et)},_e=({index:qe,indexPath:Et})=>{re.value.includes(qe)?he(qe,Et):de(qe,Et)},Ce=qe=>{(t.mode==="horizontal"||t.collapse)&&(re.value=[]);const{index:Et,indexPath:kt}=qe;if(!(isNil(Et)||isNil(kt)))if(t.router&&L){const Lt=qe.route||Et,vn=L.push(Lt).then(jt=>(jt||(ae.value=Et),jt));r("select",Et,kt,{index:Et,indexPath:kt,route:Lt},vn)}else ae.value=Et,r("select",Et,kt,{index:Et,indexPath:kt})},$e=qe=>{const Et=oe.value,kt=Et[qe]||ae.value&&Et[ae.value]||Et[t.defaultActive];kt?ae.value=kt.index:ae.value=qe},xe=()=>{var qe,Et;if(!$.value)return-1;const kt=Array.from((Et=(qe=$.value)==null?void 0:qe.childNodes)!=null?Et:[]).filter(Cn=>Cn.nodeName!=="#text"||Cn.nodeValue),Lt=64,vn=Number.parseInt(getComputedStyle($.value).paddingLeft,10),jt=Number.parseInt(getComputedStyle($.value).paddingRight,10),At=$.value.clientWidth-vn-jt;let hn=0,bn=0;return kt.forEach((Cn,Tn)=>{hn+=Cn.offsetWidth||0,hn<=At-Lt&&(bn=Tn+1)}),bn===kt.length?-1:bn},Ie=(qe,Et=33.34)=>{let kt;return()=>{kt&&clearTimeout(kt),kt=setTimeout(()=>{qe()},Et)}};let Ne=!0;const ze=()=>{const qe=()=>{j.value=-1,nextTick(()=>{j.value=xe()})};Ne?qe():Ie(qe)(),Ne=!1};watch(()=>t.defaultActive,qe=>{oe.value[qe]||(ae.value=""),$e(qe)}),watch(()=>t.collapse,qe=>{qe&&(re.value=[])}),watch(oe.value,ue);let Fe;watchEffect(()=>{t.mode==="horizontal"&&t.ellipsis?Fe=useResizeObserver($,ze).stop:Fe==null||Fe()});{const qe=vn=>{ie.value[vn.index]=vn},Et=vn=>{delete ie.value[vn.index]};provide("rootMenu",reactive({props:t,openedMenus:re,items:oe,subMenus:ie,activeIndex:ae,isMenuPopup:le,addMenuItem:vn=>{oe.value[vn.index]=vn},removeMenuItem:vn=>{delete oe.value[vn.index]},addSubMenu:qe,removeSubMenu:Et,openMenu:de,closeMenu:he,handleMenuItemClick:Ce,handleSubMenuClick:_e})),provide(`subMenu:${y.uid}`,{addSubMenu:qe,removeSubMenu:Et,mouseInChild:ref(!1),level:0})}return onMounted(()=>{t.mode==="horizontal"&&new Menu$1(y.vnode.el,V.namespace.value)}),g({open:Et=>{const{indexPath:kt}=ie.value[Et];kt.forEach(Lt=>de(Lt,kt))},close:pe,handleResize:ze}),()=>{var qe,Et;let kt=(Et=(qe=n.default)==null?void 0:qe.call(n))!=null?Et:[];const Lt=[];if(t.mode==="horizontal"&&$.value){const At=flattedChildren(kt),hn=j.value===-1?At:At.slice(0,j.value),bn=j.value===-1?[]:At.slice(j.value);bn!=null&&bn.length&&t.ellipsis&&(kt=hn,Lt.push(h$1(SubMenu,{index:"sub-menu-more",class:z.e("hide-arrow")},{title:()=>h$1(ElIcon,{class:z.e("icon-more")},{default:()=>h$1(more_default)}),default:()=>bn})))}const vn=useMenuCssVar(t,0),jt=h$1("ul",{key:String(t.collapse),role:"menubar",ref:$,style:vn.value,class:{[V.b()]:!0,[V.m(t.mode)]:!0,[V.m("collapse")]:t.collapse}},[...kt,...Lt]);return t.collapseTransition&&t.mode==="vertical"?h$1(ElMenuCollapseTransition,()=>jt):jt}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:t=>isString$3(t.index)&&Array.isArray(t.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$_=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(t,{emit:r}){const n=getCurrentInstance(),g=inject("rootMenu"),y=useNamespace("menu"),L=useNamespace("menu-item");g||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:$,indexPath:V}=useMenu(n,toRef(t,"index")),z=inject(`subMenu:${$.value.uid}`);z||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const j=computed(()=>t.index===g.activeIndex),re=reactive({index:t.index,indexPath:V,active:j}),ae=()=>{t.disabled||(g.handleMenuItemClick({index:t.index,indexPath:V.value,route:t.route}),r("click",re))};return onMounted(()=>{z.addSubMenu(re),g.addMenuItem(re)}),onBeforeUnmount(()=>{z.removeSubMenu(re),g.removeMenuItem(re)}),{parentMenu:$,rootMenu:g,active:j,nsMenu:y,nsMenuItem:L,handleClick:ae}}});function _sfc_render$d(t,r,n,g,y,L){const $=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([t.nsMenuItem.b(),t.nsMenuItem.is("active",t.active),t.nsMenuItem.is("disabled",t.disabled)]),role:"menuitem",tabindex:"-1",onClick:r[0]||(r[0]=(...V)=>t.handleClick&&t.handleClick(...V))},[t.parentMenu.type.name==="ElMenu"&&t.rootMenu.props.collapse&&t.$slots.title?(openBlock(),createBlock($,{key:0,effect:t.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot(t.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(t.nsMenu.be("tooltip","trigger"))},[renderSlot(t.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(t.$slots,"default"),renderSlot(t.$slots,"title")],64))],2)}var MenuItem=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$d],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME$a="ElMenuItemGroup",_sfc_main$Z=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$c(t,r,n,g,y,L){return openBlock(),createElementBlock("li",{class:normalizeClass(t.ns.b())},[createBaseVNode("div",{class:normalizeClass(t.ns.e("title"))},[t.$slots.title?renderSlot(t.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(t.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(t.$slots,"default")])],2)}var MenuItemGroup=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$c],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const ElMenu=withInstall(Menu,{MenuItem,MenuItemGroup,SubMenu}),ElMenuItem=withNoopInstall(MenuItem),ElMenuItemGroup=withNoopInstall(MenuItemGroup),ElSubMenu=withNoopInstall(SubMenu),pageHeaderProps=buildProps({icon:{type:iconPropType,default:()=>back_default},title:String,content:{type:String,default:""}}),pageHeaderEmits={back:()=>!0},_hoisted_1$t=["aria-label"],__default__$G=defineComponent({name:"ElPageHeader"}),_sfc_main$Y=defineComponent({...__default__$G,props:pageHeaderProps,emits:pageHeaderEmits,setup(t,{emit:r}){const n=useSlots(),{t:g}=useLocale(),y=useNamespace("page-header"),L=computed(()=>[y.b(),{[y.m("has-breadcrumb")]:!!n.breadcrumb,[y.m("has-extra")]:!!n.extra,[y.is("contentful")]:!!n.default}]);function $(){r("back")}return(V,z)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(L))},[V.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).e("breadcrumb"))},[renderSlot(V.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(y).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(y).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(y).e("back")),role:"button",tabindex:"0",onClick:$},[V.icon||V.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":V.title||unref(g)("el.pageHeader.title"),class:normalizeClass(unref(y).e("icon"))},[renderSlot(V.$slots,"icon",{},()=>[V.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(V.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$t)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(y).e("title"))},[renderSlot(V.$slots,"title",{},()=>[createTextVNode(toDisplayString(V.title||unref(g)("el.pageHeader.title")),1)])],2)],2),createVNode$1(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(y).e("content"))},[renderSlot(V.$slots,"content",{},()=>[createTextVNode(toDisplayString(V.content),1)])],2)],2),V.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).e("extra"))},[renderSlot(V.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),V.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(y).e("main"))},[renderSlot(V.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$1(_sfc_main$Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const ElPageHeader=withInstall(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:t=>t instanceof MouseEvent},_hoisted_1$s=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$F=defineComponent({name:"ElPaginationPrev"}),_sfc_main$X=defineComponent({...__default__$F,props:paginationPrevProps,emits:paginationPrevEmits,setup(t){const r=t,{t:n}=useLocale(),g=computed(()=>r.disabled||r.currentPage<=1);return(y,L)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(g),"aria-label":y.prevText||unref(n)("el.pagination.prev"),"aria-disabled":unref(g),onClick:L[0]||(L[0]=$=>y.$emit("click",$))},[y.prevText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString(y.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(y.prevIcon)))]),_:1}))],8,_hoisted_1$s))}});var Prev=_export_sfc$1(_sfc_main$X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),_hoisted_1$r=["disabled","aria-label","aria-disabled"],_hoisted_2$i={key:0},__default__$E=defineComponent({name:"ElPaginationNext"}),_sfc_main$W=defineComponent({...__default__$E,props:paginationNextProps,emits:["click"],setup(t){const r=t,{t:n}=useLocale(),g=computed(()=>r.disabled||r.currentPage===r.pageCount||r.pageCount===0);return(y,L)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(g),"aria-label":y.nextText||unref(n)("el.pagination.next"),"aria-disabled":unref(g),onClick:L[0]||(L[0]=$=>y.$emit("click",$))},[y.nextText?(openBlock(),createElementBlock("span",_hoisted_2$i,toDisplayString(y.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(y.nextIcon)))]),_:1}))],8,_hoisted_1$r))}});var Next=_export_sfc$1(_sfc_main$W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption$1(t,r){const n=inject(selectKey),g=inject(selectGroupKey,{disabled:!1}),y=computed(()=>Object.prototype.toString.call(t.value).toLowerCase()==="[object object]"),L=computed(()=>n.props.multiple?ae(n.props.modelValue,t.value):oe(t.value,n.props.modelValue)),$=computed(()=>{if(n.props.multiple){const ue=n.props.modelValue||[];return!L.value&&ue.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),V=computed(()=>t.label||(y.value?"":t.value)),z=computed(()=>t.value||t.label||""),j=computed(()=>t.disabled||r.groupDisabled||$.value),re=getCurrentInstance(),ae=(ue=[],de)=>{if(y.value){const pe=n.props.valueKey;return ue&&ue.some(he=>toRaw(get$1(he,pe))===get$1(de,pe))}else return ue&&ue.includes(de)},oe=(ue,de)=>{if(y.value){const{valueKey:pe}=n.props;return get$1(ue,pe)===get$1(de,pe)}else return ue===de},ie=()=>{!t.disabled&&!g.disabled&&(n.hoverIndex=n.optionsArray.indexOf(re.proxy))};watch(()=>V.value,()=>{!t.created&&!n.props.remote&&n.setSelected()}),watch(()=>t.value,(ue,de)=>{const{remote:pe,valueKey:he}=n.props;if(Object.is(ue,de)||(n.onOptionDestroy(de,re.proxy),n.onOptionCreate(re.proxy)),!t.created&&!pe){if(he&&typeof ue=="object"&&typeof de=="object"&&ue[he]===de[he])return;n.setSelected()}}),watch(()=>g.disabled,()=>{r.groupDisabled=g.disabled},{immediate:!0});const{queryChange:le}=toRaw(n);return watch(le,ue=>{const{query:de}=unref(ue),pe=new RegExp(escapeStringRegexp(de),"i");r.visible=pe.test(V.value)||t.created,r.visible||n.filteredOptionsCount--},{immediate:!0}),{select:n,currentLabel:V,currentValue:z,itemSelected:L,isDisabled:j,hoverItem:ie}}const _sfc_main$V=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(t){const r=useNamespace("select"),n=reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:g,itemSelected:y,isDisabled:L,select:$,hoverItem:V}=useOption$1(t,n),{visible:z,hover:j}=toRefs(n),re=getCurrentInstance().proxy;$.onOptionCreate(re),onBeforeUnmount(()=>{const oe=re.value,{selected:ie}=$,ue=($.props.multiple?ie:[ie]).some(de=>de.value===re.value);nextTick(()=>{$.cachedOptions.get(oe)===re&&!ue&&$.cachedOptions.delete(oe)}),$.onOptionDestroy(oe,re)});function ae(){t.disabled!==!0&&n.groupDisabled!==!0&&$.handleOptionSelect(re,!0)}return{ns:r,currentLabel:g,itemSelected:y,isDisabled:L,select:$,hoverItem:V,visible:z,hover:j,selectOptionClick:ae,states:n}}});function _sfc_render$b(t,r,n,g,y,L){return withDirectives((openBlock(),createElementBlock("li",{class:normalizeClass([t.ns.be("dropdown","item"),t.ns.is("disabled",t.isDisabled),{selected:t.itemSelected,hover:t.hover}]),onMouseenter:r[0]||(r[0]=(...$)=>t.hoverItem&&t.hoverItem(...$)),onClick:r[1]||(r[1]=withModifiers((...$)=>t.selectOptionClick&&t.selectOptionClick(...$),["stop"]))},[renderSlot(t.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(t.currentLabel),1)])],34)),[[vShow,t.visible]])}var Option=_export_sfc$1(_sfc_main$V,[["render",_sfc_render$b],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const _sfc_main$U=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const t=inject(selectKey),r=useNamespace("select"),n=computed(()=>t.props.popperClass),g=computed(()=>t.props.multiple),y=computed(()=>t.props.fitInputWidth),L=ref("");function $(){var V;L.value=`${(V=t.selectWrapper)==null?void 0:V.offsetWidth}px`}return onMounted(()=>{$(),useResizeObserver(t.selectWrapper,$)}),{ns:r,minWidth:L,popperClass:n,isMultiple:g,isFitInputWidth:y}}});function _sfc_render$a(t,r,n,g,y,L){return openBlock(),createElementBlock("div",{class:normalizeClass([t.ns.b("dropdown"),t.ns.is("multiple",t.isMultiple),t.popperClass]),style:normalizeStyle$1({[t.isFitInputWidth?"width":"minWidth"]:t.minWidth})},[renderSlot(t.$slots,"default")],6)}var ElSelectMenu$1=_export_sfc$1(_sfc_main$U,[["render",_sfc_render$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function useSelectStates(t){const{t:r}=useLocale();return reactive({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:t.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:r("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,prefixWidth:11,tagInMultiLine:!1,mouseEnter:!1})}const useSelect$2=(t,r,n)=>{const{t:g}=useLocale(),y=useNamespace("select");useDeprecated({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},computed(()=>t.suffixTransition===!1));const L=ref(null),$=ref(null),V=ref(null),z=ref(null),j=ref(null),re=ref(null),ae=ref(null),oe=ref(-1),ie=shallowRef({query:""}),le=shallowRef(""),ue=ref([]);let de=0;const{form:pe,formItem:he}=useFormItem(),_e=computed(()=>!t.filterable||t.multiple||!r.visible),Ce=computed(()=>t.disabled||(pe==null?void 0:pe.disabled)),$e=computed(()=>{const ir=t.multiple?Array.isArray(t.modelValue)&&t.modelValue.length>0:t.modelValue!==void 0&&t.modelValue!==null&&t.modelValue!=="";return t.clearable&&!Ce.value&&r.inputHovering&&ir}),xe=computed(()=>t.remote&&t.filterable&&!t.remoteShowSuffix?"":t.suffixIcon),Ie=computed(()=>y.is("reverse",xe.value&&r.visible&&t.suffixTransition)),Ne=computed(()=>t.remote?300:0),ze=computed(()=>t.loading?t.loadingText||g("el.select.loading"):t.remote&&r.query===""&&r.options.size===0?!1:t.filterable&&r.query&&r.options.size>0&&r.filteredOptionsCount===0?t.noMatchText||g("el.select.noMatch"):r.options.size===0?t.noDataText||g("el.select.noData"):null),Fe=computed(()=>{const ir=Array.from(r.options.values()),Er=[];return ue.value.forEach(Kn=>{const Qn=ir.findIndex(ar=>ar.currentLabel===Kn);Qn>-1&&Er.push(ir[Qn])}),Er.length?Er:ir}),qe=computed(()=>Array.from(r.cachedOptions.values())),Et=computed(()=>{const ir=Fe.value.filter(Er=>!Er.created).some(Er=>Er.currentLabel===r.query);return t.filterable&&t.allowCreate&&r.query!==""&&!ir}),kt=useFormSize(),Lt=computed(()=>["small"].includes(kt.value)?"small":"default"),vn=computed({get(){return r.visible&&ze.value!==!1},set(ir){r.visible=ir}});watch([()=>Ce.value,()=>kt.value,()=>pe==null?void 0:pe.size],()=>{nextTick(()=>{jt()})}),watch(()=>t.placeholder,ir=>{r.cachedPlaceHolder=r.currentPlaceholder=ir}),watch(()=>t.modelValue,(ir,Er)=>{t.multiple&&(jt(),ir&&ir.length>0||$.value&&r.query!==""?r.currentPlaceholder="":r.currentPlaceholder=r.cachedPlaceHolder,t.filterable&&!t.reserveKeyword&&(r.query="",At(r.query))),Cn(),t.filterable&&!t.multiple&&(r.inputLength=20),!isEqual$1(ir,Er)&&t.validateEvent&&(he==null||he.validate("change").catch(Kn=>void 0))},{flush:"post",deep:!0}),watch(()=>r.visible,ir=>{var Er,Kn,Qn,ar,mr;ir?((Kn=(Er=z.value)==null?void 0:Er.updatePopper)==null||Kn.call(Er),t.filterable&&(r.filteredOptionsCount=r.optionsCount,r.query=t.remote?"":r.selectedLabel,(ar=(Qn=V.value)==null?void 0:Qn.focus)==null||ar.call(Qn),t.multiple?(mr=$.value)==null||mr.focus():r.selectedLabel&&(r.currentPlaceholder=`${r.selectedLabel}`,r.selectedLabel=""),At(r.query),!t.multiple&&!t.remote&&(ie.value.query="",triggerRef(ie),triggerRef(le)))):(t.filterable&&(isFunction$4(t.filterMethod)&&t.filterMethod(""),isFunction$4(t.remoteMethod)&&t.remoteMethod("")),$.value&&$.value.blur(),r.query="",r.previousQuery=null,r.selectedLabel="",r.inputLength=20,r.menuVisibleOnFocus=!1,xn(),nextTick(()=>{$.value&&$.value.value===""&&r.selected.length===0&&(r.currentPlaceholder=r.cachedPlaceHolder)}),t.multiple||(r.selected&&(t.filterable&&t.allowCreate&&r.createdSelected&&r.createdLabel?r.selectedLabel=r.createdLabel:r.selectedLabel=r.selected.currentLabel,t.filterable&&(r.query=r.selectedLabel)),t.filterable&&(r.currentPlaceholder=r.cachedPlaceHolder))),n.emit("visible-change",ir)}),watch(()=>r.options.entries(),()=>{var ir,Er,Kn;if(!isClient$1)return;(Er=(ir=z.value)==null?void 0:ir.updatePopper)==null||Er.call(ir),t.multiple&&jt();const Qn=((Kn=re.value)==null?void 0:Kn.querySelectorAll("input"))||[];Array.from(Qn).includes(document.activeElement)||Cn(),t.defaultFirstOption&&(t.filterable||t.remote)&&r.filteredOptionsCount&&bn()},{flush:"post"}),watch(()=>r.hoverIndex,ir=>{isNumber$2(ir)&&ir>-1?oe.value=Fe.value[ir]||{}:oe.value={},Fe.value.forEach(Er=>{Er.hover=oe.value===Er})});const jt=()=>{nextTick(()=>{var ir,Er;if(!L.value)return;const Kn=L.value.$el.querySelector("input");de=de||(Kn.clientHeight>0?Kn.clientHeight+2:0);const Qn=j.value,ar=getComponentSize(kt.value||(pe==null?void 0:pe.size)),mr=kt.value||ar===de||de<=0?ar:de;!(Kn.offsetParent===null)&&(Kn.style.height=`${(r.selected.length===0?mr:Math.max(Qn?Qn.clientHeight+(Qn.clientHeight>mr?6:0):0,mr))-2}px`),r.tagInMultiLine=Number.parseFloat(Kn.style.height)>=mr,r.visible&&ze.value!==!1&&((Er=(ir=z.value)==null?void 0:ir.updatePopper)==null||Er.call(ir))})},At=async ir=>{if(!(r.previousQuery===ir||r.isOnComposition)){if(r.previousQuery===null&&(isFunction$4(t.filterMethod)||isFunction$4(t.remoteMethod))){r.previousQuery=ir;return}r.previousQuery=ir,nextTick(()=>{var Er,Kn;r.visible&&((Kn=(Er=z.value)==null?void 0:Er.updatePopper)==null||Kn.call(Er))}),r.hoverIndex=-1,t.multiple&&t.filterable&&nextTick(()=>{const Er=$.value.value.length*15+20;r.inputLength=t.collapseTags?Math.min(50,Er):Er,hn(),jt()}),t.remote&&isFunction$4(t.remoteMethod)?(r.hoverIndex=-1,t.remoteMethod(ir)):isFunction$4(t.filterMethod)?(t.filterMethod(ir),triggerRef(le)):(r.filteredOptionsCount=r.optionsCount,ie.value.query=ir,triggerRef(ie),triggerRef(le)),t.defaultFirstOption&&(t.filterable||t.remote)&&r.filteredOptionsCount&&(await nextTick(),bn())}},hn=()=>{r.currentPlaceholder!==""&&(r.currentPlaceholder=$.value.value?"":r.cachedPlaceHolder)},bn=()=>{const ir=Fe.value.filter(Qn=>Qn.visible&&!Qn.disabled&&!Qn.states.groupDisabled),Er=ir.find(Qn=>Qn.created),Kn=ir[0];r.hoverIndex=$n(Fe.value,Er||Kn)},Cn=()=>{var ir;if(t.multiple)r.selectedLabel="";else{const Kn=Tn(t.modelValue);(ir=Kn.props)!=null&&ir.created?(r.createdLabel=Kn.props.value,r.createdSelected=!0):r.createdSelected=!1,r.selectedLabel=Kn.currentLabel,r.selected=Kn,t.filterable&&(r.query=r.selectedLabel);return}const Er=[];Array.isArray(t.modelValue)&&t.modelValue.forEach(Kn=>{Er.push(Tn(Kn))}),r.selected=Er,nextTick(()=>{jt()})},Tn=ir=>{let Er;const Kn=toRawType(ir).toLowerCase()==="object",Qn=toRawType(ir).toLowerCase()==="null",ar=toRawType(ir).toLowerCase()==="undefined";for(let hr=r.cachedOptions.size-1;hr>=0;hr--){const Ar=qe.value[hr];if(Kn?get$1(Ar.value,t.valueKey)===get$1(ir,t.valueKey):Ar.value===ir){Er={value:ir,currentLabel:Ar.currentLabel,isDisabled:Ar.isDisabled};break}}if(Er)return Er;const mr=Kn?ir.label:!Qn&&!ar?ir:"",kr={value:ir,currentLabel:mr};return t.multiple&&(kr.hitState=!1),kr},xn=()=>{setTimeout(()=>{const ir=t.valueKey;t.multiple?r.selected.length>0?r.hoverIndex=Math.min.apply(null,r.selected.map(Er=>Fe.value.findIndex(Kn=>get$1(Kn,ir)===get$1(Er,ir)))):r.hoverIndex=-1:r.hoverIndex=Fe.value.findIndex(Er=>xr(Er)===xr(r.selected))},300)},En=()=>{var ir,Er;kn(),(Er=(ir=z.value)==null?void 0:ir.updatePopper)==null||Er.call(ir),t.multiple&&jt()},kn=()=>{var ir;r.inputWidth=(ir=L.value)==null?void 0:ir.$el.offsetWidth},On=()=>{t.filterable&&r.query!==r.selectedLabel&&(r.query=r.selectedLabel,At(r.query))},Rn=debounce(()=>{On()},Ne.value),In=debounce(ir=>{At(ir.target.value)},Ne.value),Mn=ir=>{isEqual$1(t.modelValue,ir)||n.emit(CHANGE_EVENT,ir)},Vn=ir=>{if(ir.code!==EVENT_CODE.delete){if(ir.target.value.length<=0&&!ur()){const Er=t.modelValue.slice();Er.pop(),n.emit(UPDATE_MODEL_EVENT,Er),Mn(Er)}ir.target.value.length===1&&t.modelValue.length===0&&(r.currentPlaceholder=r.cachedPlaceHolder)}},zn=(ir,Er)=>{const Kn=r.selected.indexOf(Er);if(Kn>-1&&!Ce.value){const Qn=t.modelValue.slice();Qn.splice(Kn,1),n.emit(UPDATE_MODEL_EVENT,Qn),Mn(Qn),n.emit("remove-tag",Er.value)}ir.stopPropagation()},Jn=ir=>{ir.stopPropagation();const Er=t.multiple?[]:"";if(!isString$3(Er))for(const Kn of r.selected)Kn.isDisabled&&Er.push(Kn.value);n.emit(UPDATE_MODEL_EVENT,Er),Mn(Er),r.hoverIndex=-1,r.visible=!1,n.emit("clear")},tr=(ir,Er)=>{var Kn;if(t.multiple){const Qn=(t.modelValue||[]).slice(),ar=$n(Qn,ir.value);ar>-1?Qn.splice(ar,1):(t.multipleLimit<=0||Qn.length{Bn(ir)})},$n=(ir=[],Er)=>{if(!isObject$7(Er))return ir.indexOf(Er);const Kn=t.valueKey;let Qn=-1;return ir.some((ar,mr)=>toRaw(get$1(ar,Kn))===get$1(Er,Kn)?(Qn=mr,!0):!1),Qn},Pn=()=>{r.softFocus=!0;const ir=$.value||L.value;ir&&(ir==null||ir.focus())},Bn=ir=>{var Er,Kn,Qn,ar,mr;const kr=Array.isArray(ir)?ir[0]:ir;let hr=null;if(kr!=null&&kr.value){const Ar=Fe.value.filter(Gr=>Gr.value===kr.value);Ar.length>0&&(hr=Ar[0].$el)}if(z.value&&hr){const Ar=(ar=(Qn=(Kn=(Er=z.value)==null?void 0:Er.popperRef)==null?void 0:Kn.contentRef)==null?void 0:Qn.querySelector)==null?void 0:ar.call(Qn,`.${y.be("dropdown","wrap")}`);Ar&&scrollIntoView(Ar,hr)}(mr=ae.value)==null||mr.handleScroll()},Un=ir=>{r.optionsCount++,r.filteredOptionsCount++,r.options.set(ir.value,ir),r.cachedOptions.set(ir.value,ir)},Fn=(ir,Er)=>{r.options.get(ir)===Er&&(r.optionsCount--,r.filteredOptionsCount--,r.options.delete(ir))},cr=ir=>{ir.code!==EVENT_CODE.backspace&&ur(!1),r.inputLength=$.value.value.length*15+20,jt()},ur=ir=>{if(!Array.isArray(r.selected))return;const Er=r.selected[r.selected.length-1];if(Er)return ir===!0||ir===!1?(Er.hitState=ir,ir):(Er.hitState=!Er.hitState,Er.hitState)},vr=ir=>{const Er=ir.target.value;if(ir.type==="compositionend")r.isOnComposition=!1,nextTick(()=>At(Er));else{const Kn=Er[Er.length-1]||"";r.isOnComposition=!isKorean(Kn)}},Yn=()=>{nextTick(()=>Bn(r.selected))},gr=ir=>{r.softFocus?r.softFocus=!1:((t.automaticDropdown||t.filterable)&&(t.filterable&&!r.visible&&(r.menuVisibleOnFocus=!0),r.visible=!0),n.emit("focus",ir))},lr=()=>{var ir,Er,Kn;r.visible=!1,(ir=L.value)==null||ir.blur(),(Kn=(Er=V.value)==null?void 0:Er.blur)==null||Kn.call(Er)},er=ir=>{nextTick(()=>{r.isSilentBlur?r.isSilentBlur=!1:n.emit("blur",ir)}),r.softFocus=!1},br=ir=>{Jn(ir)},wr=()=>{r.visible=!1},$r=ir=>{r.visible&&(ir.preventDefault(),ir.stopPropagation(),r.visible=!1)},Mr=ir=>{var Er;ir&&!r.mouseEnter||Ce.value||(r.menuVisibleOnFocus?r.menuVisibleOnFocus=!1:(!z.value||!z.value.isFocusInsideContent())&&(r.visible=!r.visible),r.visible&&((Er=$.value||L.value)==null||Er.focus()))},Cr=()=>{r.visible?Fe.value[r.hoverIndex]&&tr(Fe.value[r.hoverIndex],void 0):Mr()},xr=ir=>isObject$7(ir.value)?get$1(ir.value,t.valueKey):ir.value,or=computed(()=>Fe.value.filter(ir=>ir.visible).every(ir=>ir.disabled)),Dn=computed(()=>r.selected.slice(0,t.maxCollapseTags)),Hn=computed(()=>r.selected.slice(t.maxCollapseTags)),Wn=ir=>{if(!r.visible){r.visible=!0;return}if(!(r.options.size===0||r.filteredOptionsCount===0)&&!r.isOnComposition&&!or.value){ir==="next"?(r.hoverIndex++,r.hoverIndex===r.options.size&&(r.hoverIndex=0)):ir==="prev"&&(r.hoverIndex--,r.hoverIndex<0&&(r.hoverIndex=r.options.size-1));const Er=Fe.value[r.hoverIndex];(Er.disabled===!0||Er.states.groupDisabled===!0||!Er.visible)&&Wn(ir),nextTick(()=>Bn(oe.value))}};return{optionList:ue,optionsArray:Fe,selectSize:kt,handleResize:En,debouncedOnInputChange:Rn,debouncedQueryChange:In,deletePrevTag:Vn,deleteTag:zn,deleteSelected:Jn,handleOptionSelect:tr,scrollToOption:Bn,readonly:_e,resetInputHeight:jt,showClose:$e,iconComponent:xe,iconReverse:Ie,showNewOption:Et,collapseTagSize:Lt,setSelected:Cn,managePlaceholder:hn,selectDisabled:Ce,emptyText:ze,toggleLastOptionHitState:ur,resetInputState:cr,handleComposition:vr,onOptionCreate:Un,onOptionDestroy:Fn,handleMenuEnter:Yn,handleFocus:gr,blur:lr,handleBlur:er,handleClearClick:br,handleClose:wr,handleKeydownEscape:$r,toggleMenu:Mr,selectOption:Cr,getValueKey:xr,navigateOptions:Wn,dropMenuVisible:vn,queryChange:ie,groupQueryChange:le,showTagList:Dn,collapseTagList:Hn,reference:L,input:$,iOSInput:V,tooltipRef:z,tags:j,selectWrapper:re,scrollbar:ae,handleMouseEnter:()=>{r.mouseEnter=!0},handleMouseLeave:()=>{r.mouseEnter=!1}}};var ElOptions=defineComponent({name:"ElOptions",emits:["update-options"],setup(t,{slots:r,emit:n}){let g=[];function y(L,$){if(L.length!==$.length)return!1;for(const[V]of L.entries())if(L[V]!=$[V])return!1;return!0}return()=>{var L,$;const V=(L=r.default)==null?void 0:L.call(r),z=[];function j(re){Array.isArray(re)&&re.forEach(ae=>{var oe,ie,le,ue;const de=(oe=(ae==null?void 0:ae.type)||{})==null?void 0:oe.name;de==="ElOptionGroup"?j(!isString$3(ae.children)&&!Array.isArray(ae.children)&&isFunction$4((ie=ae.children)==null?void 0:ie.default)?(le=ae.children)==null?void 0:le.default():ae.children):de==="ElOption"?z.push((ue=ae.props)==null?void 0:ue.label):Array.isArray(ae.children)&&j(ae.children)})}return V.length&&j(($=V[0])==null?void 0:$.children),y(z,g)||(g=z,n("update-options",z)),V}}});const COMPONENT_NAME$9="ElSelect",_sfc_main$T=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElInput,ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:isValidComponentSize},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:{type:Boolean,default:!1},suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:Ee,default:"bottom-start"}},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(t,r){const n=useNamespace("select"),g=useNamespace("input"),{t:y}=useLocale(),L=useSelectStates(t),{optionList:$,optionsArray:V,selectSize:z,readonly:j,handleResize:re,collapseTagSize:ae,debouncedOnInputChange:oe,debouncedQueryChange:ie,deletePrevTag:le,deleteTag:ue,deleteSelected:de,handleOptionSelect:pe,scrollToOption:he,setSelected:_e,resetInputHeight:Ce,managePlaceholder:$e,showClose:xe,selectDisabled:Ie,iconComponent:Ne,iconReverse:ze,showNewOption:Fe,emptyText:qe,toggleLastOptionHitState:Et,resetInputState:kt,handleComposition:Lt,onOptionCreate:vn,onOptionDestroy:jt,handleMenuEnter:At,handleFocus:hn,blur:bn,handleBlur:Cn,handleClearClick:Tn,handleClose:xn,handleKeydownEscape:En,toggleMenu:kn,selectOption:On,getValueKey:Rn,navigateOptions:In,dropMenuVisible:Mn,reference:Vn,input:zn,iOSInput:Jn,tooltipRef:tr,tags:$n,selectWrapper:Pn,scrollbar:Bn,queryChange:Un,groupQueryChange:Fn,handleMouseEnter:cr,handleMouseLeave:ur,showTagList:vr,collapseTagList:Yn}=useSelect$2(t,L,r),{focus:gr}=useFocus(Vn),{inputWidth:lr,selected:er,inputLength:br,filteredOptionsCount:wr,visible:$r,softFocus:Mr,selectedLabel:Cr,hoverIndex:xr,query:or,inputHovering:Dn,currentPlaceholder:Hn,menuVisibleOnFocus:Wn,isOnComposition:pr,isSilentBlur:Pr,options:ir,cachedOptions:Er,optionsCount:Kn,prefixWidth:Qn,tagInMultiLine:ar}=toRefs(L),mr=computed(()=>{const qr=[n.b()],ta=unref(z);return ta&&qr.push(n.m(ta)),t.disabled&&qr.push(n.m("disabled")),qr}),kr=computed(()=>({maxWidth:`${unref(lr)-32}px`,width:"100%"})),hr=computed(()=>({maxWidth:`${unref(lr)>123?unref(lr)-123:unref(lr)-75}px`}));provide(selectKey,reactive({props:t,options:ir,optionsArray:V,cachedOptions:Er,optionsCount:Kn,filteredOptionsCount:wr,hoverIndex:xr,handleOptionSelect:pe,onOptionCreate:vn,onOptionDestroy:jt,selectWrapper:Pn,selected:er,setSelected:_e,queryChange:Un,groupQueryChange:Fn})),onMounted(()=>{L.cachedPlaceHolder=Hn.value=t.placeholder||(()=>y("el.select.placeholder")),t.multiple&&Array.isArray(t.modelValue)&&t.modelValue.length>0&&(Hn.value=""),useResizeObserver(Pn,re),t.remote&&t.multiple&&Ce(),nextTick(()=>{const qr=Vn.value&&Vn.value.$el;if(qr&&(lr.value=qr.getBoundingClientRect().width,r.slots.prefix)){const ta=qr.querySelector(`.${g.e("prefix")}`);Qn.value=Math.max(ta.getBoundingClientRect().width+5,30)}}),_e()}),t.multiple&&!Array.isArray(t.modelValue)&&r.emit(UPDATE_MODEL_EVENT,[]),!t.multiple&&Array.isArray(t.modelValue)&&r.emit(UPDATE_MODEL_EVENT,"");const Ar=computed(()=>{var qr,ta;return(ta=(qr=tr.value)==null?void 0:qr.popperRef)==null?void 0:ta.contentRef});return{isIOS,onOptionsRendered:qr=>{$.value=qr},tagInMultiLine:ar,prefixWidth:Qn,selectSize:z,readonly:j,handleResize:re,collapseTagSize:ae,debouncedOnInputChange:oe,debouncedQueryChange:ie,deletePrevTag:le,deleteTag:ue,deleteSelected:de,handleOptionSelect:pe,scrollToOption:he,inputWidth:lr,selected:er,inputLength:br,filteredOptionsCount:wr,visible:$r,softFocus:Mr,selectedLabel:Cr,hoverIndex:xr,query:or,inputHovering:Dn,currentPlaceholder:Hn,menuVisibleOnFocus:Wn,isOnComposition:pr,isSilentBlur:Pr,options:ir,resetInputHeight:Ce,managePlaceholder:$e,showClose:xe,selectDisabled:Ie,iconComponent:Ne,iconReverse:ze,showNewOption:Fe,emptyText:qe,toggleLastOptionHitState:Et,resetInputState:kt,handleComposition:Lt,handleMenuEnter:At,handleFocus:hn,blur:bn,handleBlur:Cn,handleClearClick:Tn,handleClose:xn,handleKeydownEscape:En,toggleMenu:kn,selectOption:On,getValueKey:Rn,navigateOptions:In,dropMenuVisible:Mn,focus:gr,reference:Vn,input:zn,iOSInput:Jn,tooltipRef:tr,popperPaneRef:Ar,tags:$n,selectWrapper:Pn,scrollbar:Bn,wrapperKls:mr,selectTagsStyle:kr,nsSelect:n,tagTextStyle:hr,handleMouseEnter:cr,handleMouseLeave:ur,showTagList:vr,collapseTagList:Yn}}}),_hoisted_1$q=["disabled","autocomplete"],_hoisted_2$h=["disabled"],_hoisted_3$a={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function _sfc_render$9(t,r,n,g,y,L){const $=resolveComponent("el-tag"),V=resolveComponent("el-tooltip"),z=resolveComponent("el-icon"),j=resolveComponent("el-input"),re=resolveComponent("el-option"),ae=resolveComponent("el-options"),oe=resolveComponent("el-scrollbar"),ie=resolveComponent("el-select-menu"),le=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectWrapper",class:normalizeClass(t.wrapperKls),onMouseenter:r[21]||(r[21]=(...ue)=>t.handleMouseEnter&&t.handleMouseEnter(...ue)),onMouseleave:r[22]||(r[22]=(...ue)=>t.handleMouseLeave&&t.handleMouseLeave(...ue)),onClick:r[23]||(r[23]=withModifiers((...ue)=>t.toggleMenu&&t.toggleMenu(...ue),["stop"]))},[createVNode$1(V,{ref:"tooltipRef",visible:t.dropMenuVisible,placement:t.placement,teleported:t.teleported,"popper-class":[t.nsSelect.e("popper"),t.popperClass],"popper-options":t.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:t.effect,pure:"",trigger:"click",transition:`${t.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:t.persistent,onShow:t.handleMenuEnter},{default:withCtx(()=>[createBaseVNode("div",{class:"select-trigger",onMouseenter:r[19]||(r[19]=ue=>t.inputHovering=!0),onMouseleave:r[20]||(r[20]=ue=>t.inputHovering=!1)},[t.multiple?(openBlock(),createElementBlock("div",{key:0,ref:"tags",class:normalizeClass([t.nsSelect.e("tags"),t.nsSelect.is("disabled",t.selectDisabled)]),style:normalizeStyle$1(t.selectTagsStyle)},[t.collapseTags&&t.selected.length?(openBlock(),createBlock(Transition,{key:0,onAfterLeave:t.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass([t.nsSelect.b("tags-wrapper"),{"has-prefix":t.prefixWidth&&t.selected.length}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.showTagList,ue=>(openBlock(),createBlock($,{key:t.getValueKey(ue),closable:!t.selectDisabled&&!ue.isDisabled,size:t.collapseTagSize,hit:ue.hitState,type:t.tagType,"disable-transitions":"",onClose:de=>t.deleteTag(de,ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1(t.tagTextStyle)},toDisplayString(ue.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),t.selected.length>t.maxCollapseTags?(openBlock(),createBlock($,{key:0,closable:!1,size:t.collapseTagSize,type:t.tagType,"disable-transitions":""},{default:withCtx(()=>[t.collapseTagsTooltip?(openBlock(),createBlock(V,{key:0,disabled:t.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom",teleported:t.teleported},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text"))},"+ "+toDisplayString(t.selected.length-t.maxCollapseTags),3)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(t.nsSelect.e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.collapseTagList,ue=>(openBlock(),createElementBlock("div",{key:t.getValueKey(ue),class:normalizeClass(t.nsSelect.e("collapse-tag"))},[createVNode$1($,{class:"in-tooltip",closable:!t.selectDisabled&&!ue.isDisabled,size:t.collapseTagSize,hit:ue.hitState,type:t.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:de=>t.deleteTag(de,ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:t.inputWidth-75+"px"})},toDisplayString(ue.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(t.nsSelect.e("tags-text"))},"+ "+toDisplayString(t.selected.length-t.maxCollapseTags),3))]),_:1},8,["size","type"])):createCommentVNode("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):createCommentVNode("v-if",!0),t.collapseTags?createCommentVNode("v-if",!0):(openBlock(),createBlock(Transition,{key:1,onAfterLeave:t.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass([t.nsSelect.b("tags-wrapper"),{"has-prefix":t.prefixWidth&&t.selected.length}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.selected,ue=>(openBlock(),createBlock($,{key:t.getValueKey(ue),closable:!t.selectDisabled&&!ue.isDisabled,size:t.collapseTagSize,hit:ue.hitState,type:t.tagType,"disable-transitions":"",onClose:de=>t.deleteTag(de,ue)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelect.e("tags-text")),style:normalizeStyle$1({maxWidth:t.inputWidth-75+"px"})},toDisplayString(ue.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),t.filterable?withDirectives((openBlock(),createElementBlock("input",{key:2,ref:"input","onUpdate:modelValue":r[0]||(r[0]=ue=>t.query=ue),type:"text",class:normalizeClass([t.nsSelect.e("input"),t.nsSelect.is(t.selectSize),t.nsSelect.is("disabled",t.selectDisabled)]),disabled:t.selectDisabled,autocomplete:t.autocomplete,style:normalizeStyle$1({marginLeft:t.prefixWidth&&!t.selected.length||t.tagInMultiLine?`${t.prefixWidth}px`:"",flexGrow:1,width:`${t.inputLength/(t.inputWidth-32)}%`,maxWidth:`${t.inputWidth-42}px`}),onFocus:r[1]||(r[1]=(...ue)=>t.handleFocus&&t.handleFocus(...ue)),onBlur:r[2]||(r[2]=(...ue)=>t.handleBlur&&t.handleBlur(...ue)),onKeyup:r[3]||(r[3]=(...ue)=>t.managePlaceholder&&t.managePlaceholder(...ue)),onKeydown:[r[4]||(r[4]=(...ue)=>t.resetInputState&&t.resetInputState(...ue)),r[5]||(r[5]=withKeys(withModifiers(ue=>t.navigateOptions("next"),["prevent"]),["down"])),r[6]||(r[6]=withKeys(withModifiers(ue=>t.navigateOptions("prev"),["prevent"]),["up"])),r[7]||(r[7]=withKeys((...ue)=>t.handleKeydownEscape&&t.handleKeydownEscape(...ue),["esc"])),r[8]||(r[8]=withKeys(withModifiers((...ue)=>t.selectOption&&t.selectOption(...ue),["stop","prevent"]),["enter"])),r[9]||(r[9]=withKeys((...ue)=>t.deletePrevTag&&t.deletePrevTag(...ue),["delete"])),r[10]||(r[10]=withKeys(ue=>t.visible=!1,["tab"]))],onCompositionstart:r[11]||(r[11]=(...ue)=>t.handleComposition&&t.handleComposition(...ue)),onCompositionupdate:r[12]||(r[12]=(...ue)=>t.handleComposition&&t.handleComposition(...ue)),onCompositionend:r[13]||(r[13]=(...ue)=>t.handleComposition&&t.handleComposition(...ue)),onInput:r[14]||(r[14]=(...ue)=>t.debouncedQueryChange&&t.debouncedQueryChange(...ue))},null,46,_hoisted_1$q)),[[vModelText,t.query]]):createCommentVNode("v-if",!0)],6)):createCommentVNode("v-if",!0),createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),t.isIOS&&!t.multiple&&t.filterable&&t.readonly?(openBlock(),createElementBlock("input",{key:1,ref:"iOSInput",class:normalizeClass([t.nsSelect.e("input"),t.nsSelect.is(t.selectSize),t.nsSelect.em("input","iOS")]),disabled:t.selectDisabled,type:"text"},null,10,_hoisted_2$h)):createCommentVNode("v-if",!0),createVNode$1(j,{id:t.id,ref:"reference",modelValue:t.selectedLabel,"onUpdate:modelValue":r[15]||(r[15]=ue=>t.selectedLabel=ue),type:"text",placeholder:typeof t.currentPlaceholder=="function"?t.currentPlaceholder():t.currentPlaceholder,name:t.name,autocomplete:t.autocomplete,size:t.selectSize,disabled:t.selectDisabled,readonly:t.readonly,"validate-event":!1,class:normalizeClass([t.nsSelect.is("focus",t.visible)]),tabindex:t.multiple&&t.filterable?-1:void 0,onFocus:t.handleFocus,onBlur:t.handleBlur,onInput:t.debouncedOnInputChange,onPaste:t.debouncedOnInputChange,onCompositionstart:t.handleComposition,onCompositionupdate:t.handleComposition,onCompositionend:t.handleComposition,onKeydown:[r[16]||(r[16]=withKeys(withModifiers(ue=>t.navigateOptions("next"),["stop","prevent"]),["down"])),r[17]||(r[17]=withKeys(withModifiers(ue=>t.navigateOptions("prev"),["stop","prevent"]),["up"])),withKeys(withModifiers(t.selectOption,["stop","prevent"]),["enter"]),withKeys(t.handleKeydownEscape,["esc"]),r[18]||(r[18]=withKeys(ue=>t.visible=!1,["tab"]))]},createSlots({suffix:withCtx(()=>[t.iconComponent&&!t.showClose?(openBlock(),createBlock(z,{key:0,class:normalizeClass([t.nsSelect.e("caret"),t.nsSelect.e("icon"),t.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),t.showClose&&t.clearIcon?(openBlock(),createBlock(z,{key:1,class:normalizeClass([t.nsSelect.e("caret"),t.nsSelect.e("icon")]),onClick:t.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:2},[t.$slots.prefix?{name:"prefix",fn:withCtx(()=>[createBaseVNode("div",_hoisted_3$a,[renderSlot(t.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]),content:withCtx(()=>[createVNode$1(ie,null,{default:withCtx(()=>[withDirectives(createVNode$1(oe,{ref:"scrollbar",tag:"ul","wrap-class":t.nsSelect.be("dropdown","wrap"),"view-class":t.nsSelect.be("dropdown","list"),class:normalizeClass([t.nsSelect.is("empty",!t.allowCreate&&!!t.query&&t.filteredOptionsCount===0)])},{default:withCtx(()=>[t.showNewOption?(openBlock(),createBlock(re,{key:0,value:t.query,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode$1(ae,{onUpdateOptions:t.onOptionsRendered},{default:withCtx(()=>[renderSlot(t.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["wrap-class","view-class","class"]),[[vShow,t.options.size>0&&!t.loading]]),t.emptyText&&(!t.allowCreate||t.loading||t.allowCreate&&t.options.size===0)?(openBlock(),createElementBlock(Fragment,{key:0},[t.$slots.empty?renderSlot(t.$slots,"empty",{key:0}):(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(t.nsSelect.be("dropdown","empty"))},toDisplayString(t.emptyText),3))],64)):createCommentVNode("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[le,t.handleClose,t.popperPaneRef]])}var Select$1=_export_sfc$1(_sfc_main$T,[["render",_sfc_render$9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const _sfc_main$S=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(t){const r=useNamespace("select"),n=ref(!0),g=getCurrentInstance(),y=ref([]);provide(selectGroupKey,reactive({...toRefs(t)}));const L=inject(selectKey);onMounted(()=>{y.value=$(g.subTree)});const $=z=>{const j=[];return Array.isArray(z.children)&&z.children.forEach(re=>{var ae;re.type&&re.type.name==="ElOption"&&re.component&&re.component.proxy?j.push(re.component.proxy):(ae=re.children)!=null&&ae.length&&j.push(...$(re))}),j},{groupQueryChange:V}=toRaw(L);return watch(V,()=>{n.value=y.value.some(z=>z.visible===!0)},{flush:"post"}),{visible:n,ns:r}}});function _sfc_render$8(t,r,n,g,y,L){return withDirectives((openBlock(),createElementBlock("ul",{class:normalizeClass(t.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(t.ns.be("group","title"))},toDisplayString(t.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(t.ns.b("group"))},[renderSlot(t.$slots,"default")],2)])],2)),[[vShow,t.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$S,[["render",_sfc_render$8],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const ElSelect=withInstall(Select$1,{Option,OptionGroup}),ElOption=withNoopInstall(Option),ElOptionGroup=withNoopInstall(OptionGroup),usePagination=()=>inject(elPaginationKey,{}),paginationSizesProps=buildProps({pageSize:{type:Number,required:!0},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,size:{type:String,values:componentSizes}}),__default__$D=defineComponent({name:"ElPaginationSizes"}),_sfc_main$R=defineComponent({...__default__$D,props:paginationSizesProps,emits:["page-size-change"],setup(t,{emit:r}){const n=t,{t:g}=useLocale(),y=useNamespace("pagination"),L=usePagination(),$=ref(n.pageSize);watch(()=>n.pageSizes,(j,re)=>{if(!isEqual$1(j,re)&&Array.isArray(j)){const ae=j.includes(n.pageSize)?n.pageSize:n.pageSizes[0];r("page-size-change",ae)}}),watch(()=>n.pageSize,j=>{$.value=j});const V=computed(()=>n.pageSizes);function z(j){var re;j!==$.value&&($.value=j,(re=L.handleSizeChange)==null||re.call(L,Number(j)))}return(j,re)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(y).e("sizes"))},[createVNode$1(unref(ElSelect),{"model-value":$.value,disabled:j.disabled,"popper-class":j.popperClass,size:j.size,"validate-event":!1,onChange:z},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(V),ae=>(openBlock(),createBlock(unref(ElOption),{key:ae,value:ae,label:ae+unref(g)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size"])],2))}});var Sizes=_export_sfc$1(_sfc_main$R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$p=["disabled"],__default__$C=defineComponent({name:"ElPaginationJumper"}),_sfc_main$Q=defineComponent({...__default__$C,props:paginationJumperProps,setup(t){const{t:r}=useLocale(),n=useNamespace("pagination"),{pageCount:g,disabled:y,currentPage:L,changeEvent:$}=usePagination(),V=ref(),z=computed(()=>{var ae;return(ae=V.value)!=null?ae:L==null?void 0:L.value});function j(ae){V.value=ae?+ae:""}function re(ae){ae=Math.trunc(+ae),$==null||$(ae),V.value=void 0}return(ae,oe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(n).e("jump")),disabled:unref(y)},[createBaseVNode("span",{class:normalizeClass([unref(n).e("goto")])},toDisplayString(unref(r)("el.pagination.goto")),3),createVNode$1(unref(ElInput),{size:ae.size,class:normalizeClass([unref(n).e("editor"),unref(n).is("in-pagination")]),min:1,max:unref(g),disabled:unref(y),"model-value":unref(z),"validate-event":!1,label:unref(r)("el.pagination.page"),type:"number","onUpdate:modelValue":j,onChange:re},null,8,["size","class","max","disabled","model-value","label"]),createBaseVNode("span",{class:normalizeClass([unref(n).e("classifier")])},toDisplayString(unref(r)("el.pagination.pageClassifier")),3)],10,_hoisted_1$p))}});var Jumper=_export_sfc$1(_sfc_main$Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$o=["disabled"],__default__$B=defineComponent({name:"ElPaginationTotal"}),_sfc_main$P=defineComponent({...__default__$B,props:paginationTotalProps,setup(t){const{t:r}=useLocale(),n=useNamespace("pagination"),{disabled:g}=usePagination();return(y,L)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(n).e("total")),disabled:unref(g)},toDisplayString(unref(r)("el.pagination.total",{total:y.total})),11,_hoisted_1$o))}});var Total=_export_sfc$1(_sfc_main$P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$n=["onKeyup"],_hoisted_2$g=["aria-current","aria-label","tabindex"],_hoisted_3$9=["tabindex","aria-label"],_hoisted_4$7=["aria-current","aria-label","tabindex"],_hoisted_5$5=["tabindex","aria-label"],_hoisted_6$1=["aria-current","aria-label","tabindex"],__default__$A=defineComponent({name:"ElPaginationPager"}),_sfc_main$O=defineComponent({...__default__$A,props:paginationPagerProps,emits:["change"],setup(t,{emit:r}){const n=t,g=useNamespace("pager"),y=useNamespace("icon"),{t:L}=useLocale(),$=ref(!1),V=ref(!1),z=ref(!1),j=ref(!1),re=ref(!1),ae=ref(!1),oe=computed(()=>{const he=n.pagerCount,_e=(he-1)/2,Ce=Number(n.currentPage),$e=Number(n.pageCount);let xe=!1,Ie=!1;$e>he&&(Ce>he-_e&&(xe=!0),Ce<$e-_e&&(Ie=!0));const Ne=[];if(xe&&!Ie){const ze=$e-(he-2);for(let Fe=ze;Fe<$e;Fe++)Ne.push(Fe)}else if(!xe&&Ie)for(let ze=2;zen.disabled?-1:0);watchEffect(()=>{const he=(n.pagerCount-1)/2;$.value=!1,V.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-he&&($.value=!0),n.currentPage$e&&(Ce=$e)),Ce!==xe&&r("change",Ce)}return(he,_e)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(g).b()),onClick:pe,onKeyup:withKeys(de,["enter"])},[he.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(g).is("active",he.currentPage===1),unref(g).is("disabled",he.disabled)],"number"]),"aria-current":he.currentPage===1,"aria-label":unref(L)("el.pagination.currentPage",{pager:1}),tabindex:unref(ie)}," 1 ",10,_hoisted_2$g)):createCommentVNode("v-if",!0),$.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(["more","btn-quickprev",unref(y).b(),unref(g).is("disabled",he.disabled)]),tabindex:unref(ie),"aria-label":unref(L)("el.pagination.prevPages",{pager:he.pagerCount-2}),onMouseenter:_e[0]||(_e[0]=Ce=>le(!0)),onMouseleave:_e[1]||(_e[1]=Ce=>z.value=!1),onFocus:_e[2]||(_e[2]=Ce=>ue(!0)),onBlur:_e[3]||(_e[3]=Ce=>re.value=!1)},[(z.value||re.value)&&!he.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$9)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(oe),Ce=>(openBlock(),createElementBlock("li",{key:Ce,class:normalizeClass([[unref(g).is("active",he.currentPage===Ce),unref(g).is("disabled",he.disabled)],"number"]),"aria-current":he.currentPage===Ce,"aria-label":unref(L)("el.pagination.currentPage",{pager:Ce}),tabindex:unref(ie)},toDisplayString(Ce),11,_hoisted_4$7))),128)),V.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(["more","btn-quicknext",unref(y).b(),unref(g).is("disabled",he.disabled)]),tabindex:unref(ie),"aria-label":unref(L)("el.pagination.nextPages",{pager:he.pagerCount-2}),onMouseenter:_e[4]||(_e[4]=Ce=>le()),onMouseleave:_e[5]||(_e[5]=Ce=>j.value=!1),onFocus:_e[6]||(_e[6]=Ce=>ue()),onBlur:_e[7]||(_e[7]=Ce=>ae.value=!1)},[(j.value||ae.value)&&!he.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$5)):createCommentVNode("v-if",!0),he.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(g).is("active",he.currentPage===he.pageCount),unref(g).is("disabled",he.disabled)],"number"]),"aria-current":he.currentPage===he.pageCount,"aria-label":unref(L)("el.pagination.currentPage",{pager:he.pageCount}),tabindex:unref(ie)},toDisplayString(he.pageCount),11,_hoisted_6$1)):createCommentVNode("v-if",!0)],42,_hoisted_1$n))}});var Pager=_export_sfc$1(_sfc_main$O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const isAbsent=t=>typeof t!="number",paginationProps=buildProps({total:Number,pageSize:Number,defaultPageSize:Number,currentPage:Number,defaultCurrentPage:Number,pageCount:Number,pagerCount:{type:Number,validator:t=>isNumber$2(t)&&Math.trunc(t)===t&&t>4&&t<22&&t%2===1,default:7},layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":t=>isNumber$2(t),"update:page-size":t=>isNumber$2(t),"size-change":t=>isNumber$2(t),"current-change":t=>isNumber$2(t),"prev-click":t=>isNumber$2(t),"next-click":t=>isNumber$2(t)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(t,{emit:r,slots:n}){const{t:g}=useLocale(),y=useNamespace("pagination"),L=getCurrentInstance().vnode.props||{},$="onUpdate:currentPage"in L||"onUpdate:current-page"in L||"onCurrentChange"in L,V="onUpdate:pageSize"in L||"onUpdate:page-size"in L||"onSizeChange"in L,z=computed(()=>{if(isAbsent(t.total)&&isAbsent(t.pageCount)||!isAbsent(t.currentPage)&&!$)return!1;if(t.layout.includes("sizes")){if(isAbsent(t.pageCount)){if(!isAbsent(t.total)&&!isAbsent(t.pageSize)&&!V)return!1}else if(!V)return!1}return!0}),j=ref(isAbsent(t.defaultPageSize)?10:t.defaultPageSize),re=ref(isAbsent(t.defaultCurrentPage)?1:t.defaultCurrentPage),ae=computed({get(){return isAbsent(t.pageSize)?j.value:t.pageSize},set(_e){isAbsent(t.pageSize)&&(j.value=_e),V&&(r("update:page-size",_e),r("size-change",_e))}}),oe=computed(()=>{let _e=0;return isAbsent(t.pageCount)?isAbsent(t.total)||(_e=Math.max(1,Math.ceil(t.total/ae.value))):_e=t.pageCount,_e}),ie=computed({get(){return isAbsent(t.currentPage)?re.value:t.currentPage},set(_e){let Ce=_e;_e<1?Ce=1:_e>oe.value&&(Ce=oe.value),isAbsent(t.currentPage)&&(re.value=Ce),$&&(r("update:current-page",Ce),r("current-change",Ce))}});watch(oe,_e=>{ie.value>_e&&(ie.value=_e)});function le(_e){ie.value=_e}function ue(_e){ae.value=_e;const Ce=oe.value;ie.value>Ce&&(ie.value=Ce)}function de(){t.disabled||(ie.value-=1,r("prev-click",ie.value))}function pe(){t.disabled||(ie.value+=1,r("next-click",ie.value))}function he(_e,Ce){_e&&(_e.props||(_e.props={}),_e.props.class=[_e.props.class,Ce].join(" "))}return provide(elPaginationKey,{pageCount:oe,disabled:computed(()=>t.disabled),currentPage:ie,changeEvent:le,handleSizeChange:ue}),()=>{var _e,Ce;if(!z.value)return g("el.pagination.deprecationWarning"),null;if(!t.layout||t.hideOnSinglePage&&oe.value<=1)return null;const $e=[],xe=[],Ie=h$1("div",{class:y.e("rightwrapper")},xe),Ne={prev:h$1(Prev,{disabled:t.disabled,currentPage:ie.value,prevText:t.prevText,prevIcon:t.prevIcon,onClick:de}),jumper:h$1(Jumper,{size:t.small?"small":"default"}),pager:h$1(Pager,{currentPage:ie.value,pageCount:oe.value,pagerCount:t.pagerCount,onChange:le,disabled:t.disabled}),next:h$1(Next,{disabled:t.disabled,currentPage:ie.value,pageCount:oe.value,nextText:t.nextText,nextIcon:t.nextIcon,onClick:pe}),sizes:h$1(Sizes,{pageSize:ae.value,pageSizes:t.pageSizes,popperClass:t.popperClass,disabled:t.disabled,size:t.small?"small":"default"}),slot:(Ce=(_e=n==null?void 0:n.default)==null?void 0:_e.call(n))!=null?Ce:null,total:h$1(Total,{total:isAbsent(t.total)?0:t.total})},ze=t.layout.split(",").map(qe=>qe.trim());let Fe=!1;return ze.forEach(qe=>{if(qe==="->"){Fe=!0;return}Fe?xe.push(Ne[qe]):$e.push(Ne[qe])}),he($e[0],y.is("first")),he($e[$e.length-1],y.is("last")),Fe&&xe.length>0&&(he(xe[0],y.is("first")),he(xe[xe.length-1],y.is("last")),$e.push(Ie)),h$1("div",{class:[y.b(),y.is("background",t.background),{[y.m("small")]:t.small}]},$e)}}});const ElPagination=withInstall(Pagination),popconfirmProps=buildProps({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:buttonTypes,default:"primary"},cancelButtonType:{type:String,values:buttonTypes,default:"text"},icon:{type:iconPropType,default:()=>question_filled_default},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:useTooltipContentProps.teleported,persistent:useTooltipContentProps.persistent,width:{type:[String,Number],default:150}}),popconfirmEmits={confirm:t=>t instanceof MouseEvent,cancel:t=>t instanceof MouseEvent},__default__$z=defineComponent({name:"ElPopconfirm"}),_sfc_main$N=defineComponent({...__default__$z,props:popconfirmProps,emits:popconfirmEmits,setup(t,{emit:r}){const n=t,{t:g}=useLocale(),y=useNamespace("popconfirm"),L=ref(),$=()=>{var oe,ie;(ie=(oe=L.value)==null?void 0:oe.onClose)==null||ie.call(oe)},V=computed(()=>({width:addUnit(n.width)})),z=oe=>{r("confirm",oe),$()},j=oe=>{r("cancel",oe),$()},re=computed(()=>n.confirmButtonText||g("el.popconfirm.confirmButtonText")),ae=computed(()=>n.cancelButtonText||g("el.popconfirm.cancelButtonText"));return(oe,ie)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:L,trigger:"click",effect:"light"},oe.$attrs,{"popper-class":`${unref(y).namespace.value}-popover`,"popper-style":unref(V),teleported:oe.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":oe.hideAfter,persistent:oe.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(y).b())},[createBaseVNode("div",{class:normalizeClass(unref(y).e("main"))},[!oe.hideIcon&&oe.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(y).e("icon")),style:normalizeStyle$1({color:oe.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString(oe.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(y).e("action"))},[createVNode$1(unref(ElButton),{size:"small",type:oe.cancelButtonType==="text"?"":oe.cancelButtonType,text:oe.cancelButtonType==="text",onClick:j},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(ae)),1)]),_:1},8,["type","text"]),createVNode$1(unref(ElButton),{size:"small",type:oe.confirmButtonType==="text"?"":oe.confirmButtonType,text:oe.confirmButtonType==="text",onClick:z},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(re)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[oe.$slots.reference?renderSlot(oe.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc$1(_sfc_main$N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,placement:dropdownProps.placement,disabled:useTooltipTriggerProps.disabled,visible:useTooltipContentProps.visible,transition:useTooltipContentProps.transition,popperOptions:dropdownProps.popperOptions,tabindex:dropdownProps.tabindex,content:useTooltipContentProps.content,popperStyle:useTooltipContentProps.popperStyle,popperClass:useTooltipContentProps.popperClass,enterable:{...useTooltipContentProps.enterable,default:!0},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),popoverEmits={"update:visible":t=>isBoolean$1(t),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$y=defineComponent({name:"ElPopover"}),_sfc_main$M=defineComponent({...__default__$y,props:popoverProps,emits:popoverEmits,setup(t,{expose:r,emit:n}){const g=t,y=computed(()=>g[updateEventKeyRaw]),L=useNamespace("popover"),$=ref(),V=computed(()=>{var de;return(de=unref($))==null?void 0:de.popperRef}),z=computed(()=>[{width:addUnit(g.width)},g.popperStyle]),j=computed(()=>[L.b(),g.popperClass,{[L.m("plain")]:!!g.content}]),re=computed(()=>g.transition===`${L.namespace.value}-fade-in-linear`),ae=()=>{var de;(de=$.value)==null||de.hide()},oe=()=>{n("before-enter")},ie=()=>{n("before-leave")},le=()=>{n("after-enter")},ue=()=>{n("update:visible",!1),n("after-leave")};return r({popperRef:V,hide:ae}),(de,pe)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:$},de.$attrs,{trigger:de.trigger,placement:de.placement,disabled:de.disabled,visible:de.visible,transition:de.transition,"popper-options":de.popperOptions,tabindex:de.tabindex,content:de.content,offset:de.offset,"show-after":de.showAfter,"hide-after":de.hideAfter,"auto-close":de.autoClose,"show-arrow":de.showArrow,"aria-label":de.title,effect:de.effect,enterable:de.enterable,"popper-class":unref(j),"popper-style":unref(z),teleported:de.teleported,persistent:de.persistent,"gpu-acceleration":unref(re),"onUpdate:visible":unref(y),onBeforeShow:oe,onBeforeHide:ie,onShow:le,onHide:ue}),{content:withCtx(()=>[de.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(L).e("title")),role:"title"},toDisplayString(de.title),3)):createCommentVNode("v-if",!0),renderSlot(de.$slots,"default",{},()=>[createTextVNode(toDisplayString(de.content),1)])]),default:withCtx(()=>[de.$slots.reference?renderSlot(de.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc$1(_sfc_main$M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const attachEvents=(t,r)=>{const n=r.arg||r.value,g=n==null?void 0:n.popperRef;g&&(g.triggerRef=t)};var PopoverDirective={mounted(t,r){attachEvents(t,r)},updated(t,r){attachEvents(t,r)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:t=>t>=0&&t<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:t=>`${t}%`}}),_hoisted_1$m=["aria-valuenow"],_hoisted_2$f={viewBox:"0 0 100 100"},_hoisted_3$8=["d","stroke","stroke-width"],_hoisted_4$6=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$4={key:0},__default__$x=defineComponent({name:"ElProgress"}),_sfc_main$L=defineComponent({...__default__$x,props:progressProps,setup(t){const r=t,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},g=useNamespace("progress"),y=computed(()=>({width:`${r.percentage}%`,animationDuration:`${r.duration}s`,backgroundColor:he(r.percentage)})),L=computed(()=>(r.strokeWidth/r.width*100).toFixed(1)),$=computed(()=>["circle","dashboard"].includes(r.type)?Number.parseInt(`${50-Number.parseFloat(L.value)/2}`,10):0),V=computed(()=>{const _e=$.value,Ce=r.type==="dashboard";return` - M 50 50 - m 0 ${Ce?"":"-"}${_e} - a ${_e} ${_e} 0 1 1 0 ${Ce?"-":""}${_e*2} - a ${_e} ${_e} 0 1 1 0 ${Ce?"":"-"}${_e*2} - `}),z=computed(()=>2*Math.PI*$.value),j=computed(()=>r.type==="dashboard"?.75:1),re=computed(()=>`${-1*z.value*(1-j.value)/2}px`),ae=computed(()=>({strokeDasharray:`${z.value*j.value}px, ${z.value}px`,strokeDashoffset:re.value})),oe=computed(()=>({strokeDasharray:`${z.value*j.value*(r.percentage/100)}px, ${z.value}px`,strokeDashoffset:re.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),ie=computed(()=>{let _e;return r.color?_e=he(r.percentage):_e=n[r.status]||n.default,_e}),le=computed(()=>r.status==="warning"?warning_filled_default:r.type==="line"?r.status==="success"?circle_check_default:circle_close_default:r.status==="success"?check_default:close_default),ue=computed(()=>r.type==="line"?12+r.strokeWidth*.4:r.width*.111111+2),de=computed(()=>r.format(r.percentage));function pe(_e){const Ce=100/_e.length;return _e.map((xe,Ie)=>isString$3(xe)?{color:xe,percentage:(Ie+1)*Ce}:xe).sort((xe,Ie)=>xe.percentage-Ie.percentage)}const he=_e=>{var Ce;const{color:$e}=r;if(isFunction$4($e))return $e(_e);if(isString$3($e))return $e;{const xe=pe($e);for(const Ie of xe)if(Ie.percentage>_e)return Ie.color;return(Ce=xe[xe.length-1])==null?void 0:Ce.color}};return(_e,Ce)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(g).b(),unref(g).m(_e.type),unref(g).is(_e.status),{[unref(g).m("without-text")]:!_e.showText,[unref(g).m("text-inside")]:_e.textInside}]),role:"progressbar","aria-valuenow":_e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[_e.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(g).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(g).be("bar","outer")),style:normalizeStyle$1({height:`${_e.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(g).be("bar","inner"),{[unref(g).bem("bar","inner","indeterminate")]:_e.indeterminate},{[unref(g).bem("bar","inner","striped")]:_e.striped},{[unref(g).bem("bar","inner","striped-flow")]:_e.stripedFlow}]),style:normalizeStyle$1(unref(y))},[(_e.showText||_e.$slots.default)&&_e.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(g).be("bar","innerText"))},[renderSlot(_e.$slots,"default",{percentage:_e.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(de)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(g).b("circle")),style:normalizeStyle$1({height:`${_e.width}px`,width:`${_e.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$f,[createBaseVNode("path",{class:normalizeClass(unref(g).be("circle","track")),d:unref(V),stroke:`var(${unref(g).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-width":unref(L),fill:"none",style:normalizeStyle$1(unref(ae))},null,14,_hoisted_3$8),createBaseVNode("path",{class:normalizeClass(unref(g).be("circle","path")),d:unref(V),stroke:unref(ie),fill:"none",opacity:_e.percentage?1:0,"stroke-linecap":_e.strokeLinecap,"stroke-width":unref(L),style:normalizeStyle$1(unref(oe))},null,14,_hoisted_4$6)]))],6)),(_e.showText||_e.$slots.default)&&!_e.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(g).e("text")),style:normalizeStyle$1({fontSize:`${unref(ue)}px`})},[renderSlot(_e.$slots,"default",{percentage:_e.percentage},()=>[_e.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(le))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$4,toDisplayString(unref(de)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$m))}});var Progress=_export_sfc$1(_sfc_main$L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()=>mutable(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:definePropType([Array,Object]),default:()=>[star_filled_default,star_filled_default,star_filled_default]},voidIcon:{type:iconPropType,default:()=>star_default},disabledVoidIcon:{type:iconPropType,default:()=>star_filled_default},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:definePropType(Array),default:()=>mutable(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:useSizeProp,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1}}),rateEmits={[CHANGE_EVENT]:t=>isNumber$2(t),[UPDATE_MODEL_EVENT]:t=>isNumber$2(t)},_hoisted_1$l=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$e=["onMousemove","onClick"],__default__$w=defineComponent({name:"ElRate"}),_sfc_main$K=defineComponent({...__default__$w,props:rateProps,emits:rateEmits,setup(t,{expose:r,emit:n}){const g=t;function y(jt,At){const hn=Tn=>isObject$7(Tn),bn=Object.keys(At).map(Tn=>+Tn).filter(Tn=>{const xn=At[Tn];return(hn(xn)?xn.excluded:!1)?jtTn-xn),Cn=At[bn[0]];return hn(Cn)&&Cn.value||Cn}const L=inject(formContextKey,void 0),$=inject(formItemContextKey,void 0),V=useFormSize(),z=useNamespace("rate"),{inputId:j,isLabeledByFormItem:re}=useFormItemInputId(g,{formItemContext:$}),ae=ref(g.modelValue),oe=ref(-1),ie=ref(!0),le=computed(()=>[z.b(),z.m(V.value)]),ue=computed(()=>g.disabled||(L==null?void 0:L.disabled)),de=computed(()=>z.cssVarBlock({"void-color":g.voidColor,"disabled-void-color":g.disabledVoidColor,"fill-color":Ce.value})),pe=computed(()=>{let jt="";return g.showScore?jt=g.scoreTemplate.replace(/\{\s*value\s*\}/,ue.value?`${g.modelValue}`:`${ae.value}`):g.showText&&(jt=g.texts[Math.ceil(ae.value)-1]),jt}),he=computed(()=>g.modelValue*100-Math.floor(g.modelValue)*100),_e=computed(()=>isArray$6(g.colors)?{[g.lowThreshold]:g.colors[0],[g.highThreshold]:{value:g.colors[1],excluded:!0},[g.max]:g.colors[2]}:g.colors),Ce=computed(()=>{const jt=y(ae.value,_e.value);return isObject$7(jt)?"":jt}),$e=computed(()=>{let jt="";return ue.value?jt=`${he.value}%`:g.allowHalf&&(jt="50%"),{color:Ce.value,width:jt}}),xe=computed(()=>{let jt=isArray$6(g.icons)?[...g.icons]:{...g.icons};return jt=markRaw(jt),isArray$6(jt)?{[g.lowThreshold]:jt[0],[g.highThreshold]:{value:jt[1],excluded:!0},[g.max]:jt[2]}:jt}),Ie=computed(()=>y(g.modelValue,xe.value)),Ne=computed(()=>ue.value?isString$3(g.disabledVoidIcon)?g.disabledVoidIcon:markRaw(g.disabledVoidIcon):isString$3(g.voidIcon)?g.voidIcon:markRaw(g.voidIcon)),ze=computed(()=>y(ae.value,xe.value));function Fe(jt){const At=ue.value&&he.value>0&&jt-1g.modelValue,hn=g.allowHalf&&ie.value&&jt-.5<=ae.value&&jt>ae.value;return At||hn}function qe(jt){g.clearable&&jt===g.modelValue&&(jt=0),n(UPDATE_MODEL_EVENT,jt),g.modelValue!==jt&&n("change",jt)}function Et(jt){ue.value||(g.allowHalf&&ie.value?qe(ae.value):qe(jt))}function kt(jt){if(ue.value)return;let At=ae.value;const hn=jt.code;return hn===EVENT_CODE.up||hn===EVENT_CODE.right?(g.allowHalf?At+=.5:At+=1,jt.stopPropagation(),jt.preventDefault()):(hn===EVENT_CODE.left||hn===EVENT_CODE.down)&&(g.allowHalf?At-=.5:At-=1,jt.stopPropagation(),jt.preventDefault()),At=At<0?0:At,At=At>g.max?g.max:At,n(UPDATE_MODEL_EVENT,At),n("change",At),At}function Lt(jt,At){if(!ue.value){if(g.allowHalf&&At){let hn=At.target;hasClass(hn,z.e("item"))&&(hn=hn.querySelector(`.${z.e("icon")}`)),(hn.clientWidth===0||hasClass(hn,z.e("decimal")))&&(hn=hn.parentNode),ie.value=At.offsetX*2<=hn.clientWidth,ae.value=ie.value?jt-.5:jt}else ae.value=jt;oe.value=jt}}function vn(){ue.value||(g.allowHalf&&(ie.value=g.modelValue!==Math.floor(g.modelValue)),ae.value=g.modelValue,oe.value=-1)}return watch(()=>g.modelValue,jt=>{ae.value=jt,ie.value=g.modelValue!==Math.floor(g.modelValue)}),g.modelValue||n(UPDATE_MODEL_EVENT,0),r({setCurrentValue:Lt,resetCurrentValue:vn}),(jt,At)=>{var hn;return openBlock(),createElementBlock("div",{id:unref(j),class:normalizeClass([unref(le),unref(z).is("disabled",unref(ue))]),role:"slider","aria-label":unref(re)?void 0:jt.label||"rating","aria-labelledby":unref(re)?(hn=unref($))==null?void 0:hn.labelId:void 0,"aria-valuenow":ae.value,"aria-valuetext":unref(pe)||void 0,"aria-valuemin":"0","aria-valuemax":jt.max,tabindex:"0",style:normalizeStyle$1(unref(de)),onKeydown:kt},[(openBlock(!0),createElementBlock(Fragment,null,renderList(jt.max,(bn,Cn)=>(openBlock(),createElementBlock("span",{key:Cn,class:normalizeClass(unref(z).e("item")),onMousemove:Tn=>Lt(bn,Tn),onMouseleave:vn,onClick:Tn=>Et(bn)},[createVNode$1(unref(ElIcon),{class:normalizeClass([unref(z).e("icon"),{hover:oe.value===bn},unref(z).is("active",bn<=ae.value)])},{default:withCtx(()=>[Fe(bn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(ze)),null,null,512)),[[vShow,bn<=ae.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Ne)),null,null,512)),[[vShow,!(bn<=ae.value)]])],64)),Fe(bn)?(openBlock(),createBlock(unref(ElIcon),{key:1,style:normalizeStyle$1(unref($e)),class:normalizeClass([unref(z).e("icon"),unref(z).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ie))))]),_:1},8,["style","class"])):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$e))),128)),jt.showText||jt.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(z).e("text"))},toDisplayString(unref(pe)),3)):createCommentVNode("v-if",!0)],46,_hoisted_1$l)}}});var Rate=_export_sfc$1(_sfc_main$K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const ElRate=withInstall(Rate),IconMap={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},IconComponentMap={[IconMap.success]:circle_check_filled_default,[IconMap.warning]:warning_filled_default,[IconMap.error]:circle_close_filled_default,[IconMap.info]:info_filled_default},resultProps=buildProps({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),__default__$v=defineComponent({name:"ElResult"}),_sfc_main$J=defineComponent({...__default__$v,props:resultProps,setup(t){const r=t,n=useNamespace("result"),g=computed(()=>{const y=r.icon,L=y&&IconMap[y]?IconMap[y]:"icon-info",$=IconComponentMap[L]||IconComponentMap["icon-info"];return{class:L,component:$}});return(y,L)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(n).b())},[createBaseVNode("div",{class:normalizeClass(unref(n).e("icon"))},[renderSlot(y.$slots,"icon",{},()=>[unref(g).component?(openBlock(),createBlock(resolveDynamicComponent(unref(g).component),{key:0,class:normalizeClass(unref(g).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),y.title||y.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("title"))},[renderSlot(y.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString(y.title),1)])],2)):createCommentVNode("v-if",!0),y.subTitle||y.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(n).e("subtitle"))},[renderSlot(y.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString(y.subTitle),1)])],2)):createCommentVNode("v-if",!0),y.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(n).e("extra"))},[renderSlot(y.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$1(_sfc_main$J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const ElResult=withInstall(Result);var safeIsNaN=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function isEqual(t,r){return!!(t===r||safeIsNaN(t)&&safeIsNaN(r))}function areInputsEqual(t,r){if(t.length!==r.length)return!1;for(var n=0;n{const r=getCurrentInstance().proxy.$props;return computed(()=>{const n=(g,y,L)=>({});return r.perfMode?memoize(n):memoizeOne(n)})},DEFAULT_DYNAMIC_LIST_ITEM_SIZE=50,ITEM_RENDER_EVT="itemRendered",SCROLL_EVT="scroll",FORWARD="forward",BACKWARD="backward",AUTO_ALIGNMENT="auto",SMART_ALIGNMENT="smart",START_ALIGNMENT="start",CENTERED_ALIGNMENT="center",END_ALIGNMENT="end",HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL$1]:"left",[VERTICAL$1]:"top"},SCROLLBAR_MIN_SIZE=20,LayoutKeys={[HORIZONTAL$1]:"deltaX",[VERTICAL$1]:"deltaY"},useWheel=({atEndEdge:t,atStartEdge:r,layout:n},g)=>{let y,L=0;const $=z=>z<0&&r.value||z>0&&t.value;return{hasReachedEdge:$,onWheel:z=>{cAF(y);const j=z[LayoutKeys[n.value]];$(L)&&$(L+j)||(L+=j,isFirefox()||z.preventDefault(),y=rAF(()=>{g(L),L=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total=buildProp({type:Number,required:!0}),layout$4=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL$1}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:definePropType([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),virtualizedListProps=buildProps({cache,estimatedItemSize,layout:layout$4,initScrollOffset,total,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:t,rowIndex:r})=>`${r}:${t}`},rowCache:cache,rowHeight:itemSize$1,totalColumn:total,totalRow:total,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout:layout$4,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(t,r)=>tt===LTR||t===RTL||t===HORIZONTAL$1,isRTL=t=>t===RTL;let cachedRTLResult=null;function getRTLOffsetType(t=!1){if(cachedRTLResult===null||t){const r=document.createElement("div"),n=r.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const g=document.createElement("div"),y=g.style;return y.width="100px",y.height="100px",r.appendChild(g),document.body.appendChild(r),r.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:(r.scrollLeft=1,r.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild(r),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:t,size:r,bar:n},g){const y={},L=`translate${n.axis}(${t}px)`;return y[n.size]=r,y.transform=L,y.msTransform=L,y.webkitTransform=L,g==="horizontal"?y.height="100%":y.width="100%",y}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(t,{emit:r}){const n=computed(()=>t.startGap+t.endGap),g=useNamespace("virtual-scrollbar"),y=useNamespace("scrollbar"),L=ref(),$=ref();let V=null,z=null;const j=reactive({isDragging:!1,traveled:0}),re=computed(()=>BAR_MAP[t.layout]),ae=computed(()=>t.clientSize-unref(n)),oe=computed(()=>({position:"absolute",width:`${HORIZONTAL$1===t.layout?ae.value:t.scrollbarSize}px`,height:`${HORIZONTAL$1===t.layout?t.scrollbarSize:ae.value}px`,[ScrollbarDirKey[t.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),ie=computed(()=>{const xe=t.ratio,Ie=t.clientSize;if(xe>=100)return Number.POSITIVE_INFINITY;if(xe>=50)return xe*Ie/100;const Ne=Ie/3;return Math.floor(Math.min(Math.max(xe*Ie,SCROLLBAR_MIN_SIZE),Ne))}),le=computed(()=>{if(!Number.isFinite(ie.value))return{display:"none"};const xe=`${ie.value}px`;return renderThumbStyle({bar:re.value,size:xe,move:j.traveled},t.layout)}),ue=computed(()=>Math.floor(t.clientSize-ie.value-unref(n))),de=()=>{window.addEventListener("mousemove",Ce),window.addEventListener("mouseup",_e);const xe=unref($);xe&&(z=document.onselectstart,document.onselectstart=()=>!1,xe.addEventListener("touchmove",Ce),xe.addEventListener("touchend",_e))},pe=()=>{window.removeEventListener("mousemove",Ce),window.removeEventListener("mouseup",_e),document.onselectstart=z,z=null;const xe=unref($);xe&&(xe.removeEventListener("touchmove",Ce),xe.removeEventListener("touchend",_e))},he=xe=>{xe.stopImmediatePropagation(),!(xe.ctrlKey||[1,2].includes(xe.button))&&(j.isDragging=!0,j[re.value.axis]=xe.currentTarget[re.value.offset]-(xe[re.value.client]-xe.currentTarget.getBoundingClientRect()[re.value.direction]),r("start-move"),de())},_e=()=>{j.isDragging=!1,j[re.value.axis]=0,r("stop-move"),pe()},Ce=xe=>{const{isDragging:Ie}=j;if(!Ie||!$.value||!L.value)return;const Ne=j[re.value.axis];if(!Ne)return;cAF(V);const ze=(L.value.getBoundingClientRect()[re.value.direction]-xe[re.value.client])*-1,Fe=$.value[re.value.offset]-Ne,qe=ze-Fe;V=rAF(()=>{j.traveled=Math.max(t.startGap,Math.min(qe,ue.value)),r("scroll",qe,ue.value)})},$e=xe=>{const Ie=Math.abs(xe.target.getBoundingClientRect()[re.value.direction]-xe[re.value.client]),Ne=$.value[re.value.offset]/2,ze=Ie-Ne;j.traveled=Math.max(0,Math.min(ze,ue.value)),r("scroll",ze,ue.value)};return watch(()=>t.scrollFrom,xe=>{j.isDragging||(j.traveled=Math.ceil(xe*ue.value))}),onBeforeUnmount(()=>{pe()}),()=>h$1("div",{role:"presentation",ref:L,class:[g.b(),t.class,(t.alwaysOn||j.isDragging)&&"always-on"],style:oe.value,onMousedown:withModifiers($e,["stop","prevent"]),onTouchstartPrevent:he},h$1("div",{ref:$,class:y.e("thumb"),style:le.value,onMousedown:he},[]))}}),createList$2=({name:t,getOffset:r,getItemSize:n,getItemOffset:g,getEstimatedTotalSize:y,getStartIndexForOffset:L,getStopIndexForStartIndex:$,initCache:V,clearCache:z,validateProps:j})=>defineComponent({name:t??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(re,{emit:ae,expose:oe}){j(re);const ie=getCurrentInstance(),le=useNamespace("vl"),ue=ref(V(re,ie)),de=useCache(),pe=ref(),he=ref(),_e=ref(),Ce=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$2(re.initScrollOffset)?re.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:re.scrollbarAlwaysOn}),$e=computed(()=>{const{total:En,cache:kn}=re,{isScrolling:On,scrollDir:Rn,scrollOffset:In}=unref(Ce);if(En===0)return[0,0,0,0];const Mn=L(re,In,unref(ue)),Vn=$(re,Mn,In,unref(ue)),zn=!On||Rn===BACKWARD?Math.max(1,kn):1,Jn=!On||Rn===FORWARD?Math.max(1,kn):1;return[Math.max(0,Mn-zn),Math.max(0,Math.min(En-1,Vn+Jn)),Mn,Vn]}),xe=computed(()=>y(re,unref(ue))),Ie=computed(()=>isHorizontal(re.layout)),Ne=computed(()=>[{position:"relative",[`overflow-${Ie.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:re.direction,height:isNumber$2(re.height)?`${re.height}px`:re.height,width:isNumber$2(re.width)?`${re.width}px`:re.width},re.style]),ze=computed(()=>{const En=unref(xe),kn=unref(Ie);return{height:kn?"100%":`${En}px`,pointerEvents:unref(Ce).isScrolling?"none":void 0,width:kn?`${En}px`:"100%"}}),Fe=computed(()=>Ie.value?re.width:re.height),{onWheel:qe}=useWheel({atStartEdge:computed(()=>Ce.value.scrollOffset<=0),atEndEdge:computed(()=>Ce.value.scrollOffset>=xe.value),layout:computed(()=>re.layout)},En=>{var kn,On;(On=(kn=_e.value).onMouseUp)==null||On.call(kn),At(Math.min(Ce.value.scrollOffset+En,xe.value-Fe.value))}),Et=()=>{const{total:En}=re;if(En>0){const[In,Mn,Vn,zn]=unref($e);ae(ITEM_RENDER_EVT,In,Mn,Vn,zn)}const{scrollDir:kn,scrollOffset:On,updateRequested:Rn}=unref(Ce);ae(SCROLL_EVT,kn,On,Rn)},kt=En=>{const{clientHeight:kn,scrollHeight:On,scrollTop:Rn}=En.currentTarget,In=unref(Ce);if(In.scrollOffset===Rn)return;const Mn=Math.max(0,Math.min(Rn,On-kn));Ce.value={...In,isScrolling:!0,scrollDir:getScrollDir(In.scrollOffset,Mn),scrollOffset:Mn,updateRequested:!1},nextTick(Cn)},Lt=En=>{const{clientWidth:kn,scrollLeft:On,scrollWidth:Rn}=En.currentTarget,In=unref(Ce);if(In.scrollOffset===On)return;const{direction:Mn}=re;let Vn=On;if(Mn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Vn=-On;break}case RTL_OFFSET_POS_DESC:{Vn=Rn-kn-On;break}}Vn=Math.max(0,Math.min(Vn,Rn-kn)),Ce.value={...In,isScrolling:!0,scrollDir:getScrollDir(In.scrollOffset,Vn),scrollOffset:Vn,updateRequested:!1},nextTick(Cn)},vn=En=>{unref(Ie)?Lt(En):kt(En),Et()},jt=(En,kn)=>{const On=(xe.value-Fe.value)/kn*En;At(Math.min(xe.value-Fe.value,On))},At=En=>{En=Math.max(En,0),En!==unref(Ce).scrollOffset&&(Ce.value={...unref(Ce),scrollOffset:En,scrollDir:getScrollDir(unref(Ce).scrollOffset,En),updateRequested:!0},nextTick(Cn))},hn=(En,kn=AUTO_ALIGNMENT)=>{const{scrollOffset:On}=unref(Ce);En=Math.max(0,Math.min(En,re.total-1)),At(r(re,En,kn,On,unref(ue)))},bn=En=>{const{direction:kn,itemSize:On,layout:Rn}=re,In=de.value(z&&On,z&&Rn,z&&kn);let Mn;if(hasOwn$1(In,String(En)))Mn=In[En];else{const Vn=g(re,En,unref(ue)),zn=n(re,En,unref(ue)),Jn=unref(Ie),tr=kn===RTL,$n=Jn?Vn:0;In[En]=Mn={position:"absolute",left:tr?void 0:`${$n}px`,right:tr?`${$n}px`:void 0,top:Jn?0:`${Vn}px`,height:Jn?"100%":`${zn}px`,width:Jn?`${zn}px`:"100%"}}return Mn},Cn=()=>{Ce.value.isScrolling=!1,nextTick(()=>{de.value(-1,null,null)})},Tn=()=>{const En=pe.value;En&&(En.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:En}=re,kn=unref(pe);isNumber$2(En)&&kn&&(unref(Ie)?kn.scrollLeft=En:kn.scrollTop=En),Et()}),onUpdated(()=>{const{direction:En,layout:kn}=re,{scrollOffset:On,updateRequested:Rn}=unref(Ce),In=unref(pe);if(Rn&&In)if(kn===HORIZONTAL$1)if(En===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{In.scrollLeft=-On;break}case RTL_OFFSET_POS_ASC:{In.scrollLeft=On;break}default:{const{clientWidth:Mn,scrollWidth:Vn}=In;In.scrollLeft=Vn-Mn-On;break}}else In.scrollLeft=On;else In.scrollTop=On});const xn={ns:le,clientSize:Fe,estimatedTotalSize:xe,windowStyle:Ne,windowRef:pe,innerRef:he,innerStyle:ze,itemsToRender:$e,scrollbarRef:_e,states:Ce,getItemStyle:bn,onScroll:vn,onScrollbarScroll:jt,onWheel:qe,scrollTo:At,scrollToItem:hn,resetScrollTop:Tn};return oe({windowRef:pe,innerRef:he,getItemStyleCache:de,scrollTo:At,scrollToItem:hn,resetScrollTop:Tn,states:Ce}),xn},render(re){var ae;const{$slots:oe,className:ie,clientSize:le,containerElement:ue,data:de,getItemStyle:pe,innerElement:he,itemsToRender:_e,innerStyle:Ce,layout:$e,total:xe,onScroll:Ie,onScrollbarScroll:Ne,onWheel:ze,states:Fe,useIsScrolling:qe,windowStyle:Et,ns:kt}=re,[Lt,vn]=_e,jt=resolveDynamicComponent(ue),At=resolveDynamicComponent(he),hn=[];if(xe>0)for(let xn=Lt;xn<=vn;xn++)hn.push((ae=oe.default)==null?void 0:ae.call(oe,{data:de,key:xn,index:xn,isScrolling:qe?Fe.isScrolling:void 0,style:pe(xn)}));const bn=[h$1(At,{style:Ce,ref:"innerRef"},isString$3(At)?hn:{default:()=>hn})],Cn=h$1(ScrollBar,{ref:"scrollbarRef",clientSize:le,layout:$e,onScroll:Ne,ratio:le*100/this.estimatedTotalSize,scrollFrom:Fe.scrollOffset/(this.estimatedTotalSize-le),total:xe}),Tn=h$1(jt,{class:[kt.e("window"),ie],style:Et,onScroll:Ie,onWheel:ze,ref:"windowRef",key:0},isString$3(jt)?[bn]:{default:()=>[bn]});return h$1("div",{key:0,class:[kt.e("wrapper"),Fe.scrollbarAlwaysOn?"always-on":""]},[Tn,Cn])}}),FixedSizeList=createList$2({name:"ElFixedSizeList",getItemOffset:({itemSize:t},r)=>r*t,getItemSize:({itemSize:t})=>t,getEstimatedTotalSize:({total:t,itemSize:r})=>r*t,getOffset:({height:t,total:r,itemSize:n,layout:g,width:y},L,$,V)=>{const z=isHorizontal(g)?y:t,j=Math.max(0,r*n-z),re=Math.min(j,L*n),ae=Math.max(0,(L+1)*n-z);switch($===SMART_ALIGNMENT&&(V>=ae-z&&V<=re+z?$=AUTO_ALIGNMENT:$=CENTERED_ALIGNMENT),$){case START_ALIGNMENT:return re;case END_ALIGNMENT:return ae;case CENTERED_ALIGNMENT:{const oe=Math.round(ae+(re-ae)/2);return oej+Math.floor(z/2)?j:oe}case AUTO_ALIGNMENT:default:return V>=ae&&V<=re?V:VMath.max(0,Math.min(t-1,Math.floor(n/r))),getStopIndexForStartIndex:({height:t,total:r,itemSize:n,layout:g,width:y},L,$)=>{const V=L*n,z=isHorizontal(g)?y:t,j=Math.ceil((z+$-V)/n);return Math.max(0,Math.min(r-1,L+j-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(t,r,n)=>{const{itemSize:g}=t,{items:y,lastVisitedIndex:L}=n;if(r>L){let $=0;if(L>=0){const V=y[L];$=V.offset+V.size}for(let V=L+1;V<=r;V++){const z=g(V);y[V]={offset:$,size:z},$+=z}n.lastVisitedIndex=r}return y[r]},findItem$1=(t,r,n)=>{const{items:g,lastVisitedIndex:y}=r;return(y>0?g[y].offset:0)>=n?bs$1(t,r,0,y,n):es$1(t,r,Math.max(0,y),n)},bs$1=(t,r,n,g,y)=>{for(;n<=g;){const L=n+Math.floor((g-n)/2),$=getItemFromCache$1(t,L,r).offset;if($===y)return L;$y&&(g=L-1)}return Math.max(0,n-1)},es$1=(t,r,n,g)=>{const{total:y}=t;let L=1;for(;n{let y=0;if(g>=t&&(g=t-1),g>=0){const V=r[g];y=V.offset+V.size}const $=(t-g-1)*n;return y+$},DynamicSizeList=createList$2({name:"ElDynamicSizeList",getItemOffset:(t,r,n)=>getItemFromCache$1(t,r,n).offset,getItemSize:(t,r,{items:n})=>n[r].size,getEstimatedTotalSize,getOffset:(t,r,n,g,y)=>{const{height:L,layout:$,width:V}=t,z=isHorizontal($)?V:L,j=getItemFromCache$1(t,r,y),re=getEstimatedTotalSize(t,y),ae=Math.max(0,Math.min(re-z,j.offset)),oe=Math.max(0,j.offset-z+j.size);switch(n===SMART_ALIGNMENT&&(g>=oe-z&&g<=ae+z?n=AUTO_ALIGNMENT:n=CENTERED_ALIGNMENT),n){case START_ALIGNMENT:return ae;case END_ALIGNMENT:return oe;case CENTERED_ALIGNMENT:return Math.round(oe+(ae-oe)/2);case AUTO_ALIGNMENT:default:return g>=oe&&g<=ae?g:gfindItem$1(t,n,r),getStopIndexForStartIndex:(t,r,n,g)=>{const{height:y,total:L,layout:$,width:V}=t,z=isHorizontal($)?V:y,j=getItemFromCache$1(t,r,g),re=n+z;let ae=j.offset+j.size,oe=r;for(;oe{var L,$;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,g-1),(L=r.exposed)==null||L.getItemStyleCache(-1),y&&(($=r.proxy)==null||$.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:t})=>{}}),useGridWheel=({atXEndEdge:t,atXStartEdge:r,atYEndEdge:n,atYStartEdge:g},y)=>{let L=null,$=0,V=0;const z=(re,ae)=>{const oe=re<=0&&r.value||re>=0&&t.value,ie=ae<=0&&g.value||ae>=0&&n.value;return oe&&ie};return{hasReachedEdge:z,onWheel:re=>{cAF(L);let ae=re.deltaX,oe=re.deltaY;Math.abs(ae)>Math.abs(oe)?oe=0:ae=0,re.shiftKey&&oe!==0&&(ae=oe,oe=0),!(z($,V)&&z($+ae,V+oe))&&($+=ae,V+=oe,re.preventDefault(),L=rAF(()=>{y($,V),$=0,V=0}))}}},createGrid=({name:t,clearCache:r,getColumnPosition:n,getColumnStartIndexForOffset:g,getColumnStopIndexForStartIndex:y,getEstimatedTotalHeight:L,getEstimatedTotalWidth:$,getColumnOffset:V,getRowOffset:z,getRowPosition:j,getRowStartIndexForOffset:re,getRowStopIndexForStartIndex:ae,initCache:oe,injectToInstance:ie,validateProps:le})=>defineComponent({name:t??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(ue,{emit:de,expose:pe,slots:he}){const _e=useNamespace("vl");le(ue);const Ce=getCurrentInstance(),$e=ref(oe(ue,Ce));ie==null||ie(Ce,$e);const xe=ref(),Ie=ref(),Ne=ref(),ze=ref(null),Fe=ref({isScrolling:!1,scrollLeft:isNumber$2(ue.initScrollLeft)?ue.initScrollLeft:0,scrollTop:isNumber$2(ue.initScrollTop)?ue.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),qe=useCache(),Et=computed(()=>Number.parseInt(`${ue.height}`,10)),kt=computed(()=>Number.parseInt(`${ue.width}`,10)),Lt=computed(()=>{const{totalColumn:Fn,totalRow:cr,columnCache:ur}=ue,{isScrolling:vr,xAxisScrollDir:Yn,scrollLeft:gr}=unref(Fe);if(Fn===0||cr===0)return[0,0,0,0];const lr=g(ue,gr,unref($e)),er=y(ue,lr,gr,unref($e)),br=!vr||Yn===BACKWARD?Math.max(1,ur):1,wr=!vr||Yn===FORWARD?Math.max(1,ur):1;return[Math.max(0,lr-br),Math.max(0,Math.min(Fn-1,er+wr)),lr,er]}),vn=computed(()=>{const{totalColumn:Fn,totalRow:cr,rowCache:ur}=ue,{isScrolling:vr,yAxisScrollDir:Yn,scrollTop:gr}=unref(Fe);if(Fn===0||cr===0)return[0,0,0,0];const lr=re(ue,gr,unref($e)),er=ae(ue,lr,gr,unref($e)),br=!vr||Yn===BACKWARD?Math.max(1,ur):1,wr=!vr||Yn===FORWARD?Math.max(1,ur):1;return[Math.max(0,lr-br),Math.max(0,Math.min(cr-1,er+wr)),lr,er]}),jt=computed(()=>L(ue,unref($e))),At=computed(()=>$(ue,unref($e))),hn=computed(()=>{var Fn;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:ue.direction,height:isNumber$2(ue.height)?`${ue.height}px`:ue.height,width:isNumber$2(ue.width)?`${ue.width}px`:ue.width},(Fn=ue.style)!=null?Fn:{}]}),bn=computed(()=>{const Fn=`${unref(At)}px`;return{height:`${unref(jt)}px`,pointerEvents:unref(Fe).isScrolling?"none":void 0,width:Fn}}),Cn=()=>{const{totalColumn:Fn,totalRow:cr}=ue;if(Fn>0&&cr>0){const[er,br,wr,$r]=unref(Lt),[Mr,Cr,xr,or]=unref(vn);de(ITEM_RENDER_EVT,{columnCacheStart:er,columnCacheEnd:br,rowCacheStart:Mr,rowCacheEnd:Cr,columnVisibleStart:wr,columnVisibleEnd:$r,rowVisibleStart:xr,rowVisibleEnd:or})}const{scrollLeft:ur,scrollTop:vr,updateRequested:Yn,xAxisScrollDir:gr,yAxisScrollDir:lr}=unref(Fe);de(SCROLL_EVT,{xAxisScrollDir:gr,scrollLeft:ur,yAxisScrollDir:lr,scrollTop:vr,updateRequested:Yn})},Tn=Fn=>{const{clientHeight:cr,clientWidth:ur,scrollHeight:vr,scrollLeft:Yn,scrollTop:gr,scrollWidth:lr}=Fn.currentTarget,er=unref(Fe);if(er.scrollTop===gr&&er.scrollLeft===Yn)return;let br=Yn;if(isRTL(ue.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:br=-Yn;break;case RTL_OFFSET_POS_DESC:br=lr-ur-Yn;break}Fe.value={...er,isScrolling:!0,scrollLeft:br,scrollTop:Math.max(0,Math.min(gr,vr-cr)),updateRequested:!0,xAxisScrollDir:getScrollDir(er.scrollLeft,br),yAxisScrollDir:getScrollDir(er.scrollTop,gr)},nextTick(()=>Mn()),Vn(),Cn()},xn=(Fn,cr)=>{const ur=unref(Et),vr=(jt.value-ur)/cr*Fn;On({scrollTop:Math.min(jt.value-ur,vr)})},En=(Fn,cr)=>{const ur=unref(kt),vr=(At.value-ur)/cr*Fn;On({scrollLeft:Math.min(At.value-ur,vr)})},{onWheel:kn}=useGridWheel({atXStartEdge:computed(()=>Fe.value.scrollLeft<=0),atXEndEdge:computed(()=>Fe.value.scrollLeft>=At.value-unref(kt)),atYStartEdge:computed(()=>Fe.value.scrollTop<=0),atYEndEdge:computed(()=>Fe.value.scrollTop>=jt.value-unref(Et))},(Fn,cr)=>{var ur,vr,Yn,gr;(vr=(ur=Ie.value)==null?void 0:ur.onMouseUp)==null||vr.call(ur),(gr=(Yn=Ie.value)==null?void 0:Yn.onMouseUp)==null||gr.call(Yn);const lr=unref(kt),er=unref(Et);On({scrollLeft:Math.min(Fe.value.scrollLeft+Fn,At.value-lr),scrollTop:Math.min(Fe.value.scrollTop+cr,jt.value-er)})}),On=({scrollLeft:Fn=Fe.value.scrollLeft,scrollTop:cr=Fe.value.scrollTop})=>{Fn=Math.max(Fn,0),cr=Math.max(cr,0);const ur=unref(Fe);cr===ur.scrollTop&&Fn===ur.scrollLeft||(Fe.value={...ur,xAxisScrollDir:getScrollDir(ur.scrollLeft,Fn),yAxisScrollDir:getScrollDir(ur.scrollTop,cr),scrollLeft:Fn,scrollTop:cr,updateRequested:!0},nextTick(()=>Mn()),Vn(),Cn())},Rn=(Fn=0,cr=0,ur=AUTO_ALIGNMENT)=>{const vr=unref(Fe);cr=Math.max(0,Math.min(cr,ue.totalColumn-1)),Fn=Math.max(0,Math.min(Fn,ue.totalRow-1));const Yn=getScrollBarWidth(_e.namespace.value),gr=unref($e),lr=L(ue,gr),er=$(ue,gr);On({scrollLeft:V(ue,cr,ur,vr.scrollLeft,gr,er>ue.width?Yn:0),scrollTop:z(ue,Fn,ur,vr.scrollTop,gr,lr>ue.height?Yn:0)})},In=(Fn,cr)=>{const{columnWidth:ur,direction:vr,rowHeight:Yn}=ue,gr=qe.value(r&&ur,r&&Yn,r&&vr),lr=`${Fn},${cr}`;if(hasOwn$1(gr,lr))return gr[lr];{const[,er]=n(ue,cr,unref($e)),br=unref($e),wr=isRTL(vr),[$r,Mr]=j(ue,Fn,br),[Cr]=n(ue,cr,br);return gr[lr]={position:"absolute",left:wr?void 0:`${er}px`,right:wr?`${er}px`:void 0,top:`${Mr}px`,height:`${$r}px`,width:`${Cr}px`},gr[lr]}},Mn=()=>{Fe.value.isScrolling=!1,nextTick(()=>{qe.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:Fn,initScrollTop:cr}=ue,ur=unref(xe);ur&&(isNumber$2(Fn)&&(ur.scrollLeft=Fn),isNumber$2(cr)&&(ur.scrollTop=cr)),Cn()});const Vn=()=>{const{direction:Fn}=ue,{scrollLeft:cr,scrollTop:ur,updateRequested:vr}=unref(Fe),Yn=unref(xe);if(vr&&Yn){if(Fn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Yn.scrollLeft=-cr;break}case RTL_OFFSET_POS_ASC:{Yn.scrollLeft=cr;break}default:{const{clientWidth:gr,scrollWidth:lr}=Yn;Yn.scrollLeft=lr-gr-cr;break}}else Yn.scrollLeft=Math.max(0,cr);Yn.scrollTop=Math.max(0,ur)}},{resetAfterColumnIndex:zn,resetAfterRowIndex:Jn,resetAfter:tr}=Ce.proxy;pe({windowRef:xe,innerRef:ze,getItemStyleCache:qe,scrollTo:On,scrollToItem:Rn,states:Fe,resetAfterColumnIndex:zn,resetAfterRowIndex:Jn,resetAfter:tr});const $n=()=>{const{scrollbarAlwaysOn:Fn,scrollbarStartGap:cr,scrollbarEndGap:ur,totalColumn:vr,totalRow:Yn}=ue,gr=unref(kt),lr=unref(Et),er=unref(At),br=unref(jt),{scrollLeft:wr,scrollTop:$r}=unref(Fe),Mr=h$1(ScrollBar,{ref:Ie,alwaysOn:Fn,startGap:cr,endGap:ur,class:_e.e("horizontal"),clientSize:gr,layout:"horizontal",onScroll:En,ratio:gr*100/er,scrollFrom:wr/(er-gr),total:Yn,visible:!0}),Cr=h$1(ScrollBar,{ref:Ne,alwaysOn:Fn,startGap:cr,endGap:ur,class:_e.e("vertical"),clientSize:lr,layout:"vertical",onScroll:xn,ratio:lr*100/br,scrollFrom:$r/(br-lr),total:vr,visible:!0});return{horizontalScrollbar:Mr,verticalScrollbar:Cr}},Pn=()=>{var Fn;const[cr,ur]=unref(Lt),[vr,Yn]=unref(vn),{data:gr,totalColumn:lr,totalRow:er,useIsScrolling:br,itemKey:wr}=ue,$r=[];if(er>0&&lr>0)for(let Mr=vr;Mr<=Yn;Mr++)for(let Cr=cr;Cr<=ur;Cr++)$r.push((Fn=he.default)==null?void 0:Fn.call(he,{columnIndex:Cr,data:gr,key:wr({columnIndex:Cr,data:gr,rowIndex:Mr}),isScrolling:br?unref(Fe).isScrolling:void 0,style:In(Mr,Cr),rowIndex:Mr}));return $r},Bn=()=>{const Fn=resolveDynamicComponent(ue.innerElement),cr=Pn();return[h$1(Fn,{style:unref(bn),ref:ze},isString$3(Fn)?cr:{default:()=>cr})]};return()=>{const Fn=resolveDynamicComponent(ue.containerElement),{horizontalScrollbar:cr,verticalScrollbar:ur}=$n(),vr=Bn();return h$1("div",{key:0,class:_e.e("wrapper"),role:ue.role},[h$1(Fn,{class:ue.className,style:unref(hn),onScroll:Tn,onWheel:kn,ref:xe},isString$3(Fn)?vr:{default:()=>vr}),cr,ur])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:t},r)=>[t,r*t],getRowPosition:({rowHeight:t},r)=>[t,r*t],getEstimatedTotalHeight:({totalRow:t,rowHeight:r})=>r*t,getEstimatedTotalWidth:({totalColumn:t,columnWidth:r})=>r*t,getColumnOffset:({totalColumn:t,columnWidth:r,width:n},g,y,L,$,V)=>{n=Number(n);const z=Math.max(0,t*r-n),j=Math.min(z,g*r),re=Math.max(0,g*r-n+V+r);switch(y==="smart"&&(L>=re-n&&L<=j+n?y=AUTO_ALIGNMENT:y=CENTERED_ALIGNMENT),y){case START_ALIGNMENT:return j;case END_ALIGNMENT:return re;case CENTERED_ALIGNMENT:{const ae=Math.round(re+(j-re)/2);return aez+Math.floor(n/2)?z:ae}case AUTO_ALIGNMENT:default:return L>=re&&L<=j?L:re>j||L{r=Number(r);const z=Math.max(0,n*t-r),j=Math.min(z,g*t),re=Math.max(0,g*t-r+V+t);switch(y===SMART_ALIGNMENT&&(L>=re-r&&L<=j+r?y=AUTO_ALIGNMENT:y=CENTERED_ALIGNMENT),y){case START_ALIGNMENT:return j;case END_ALIGNMENT:return re;case CENTERED_ALIGNMENT:{const ae=Math.round(re+(j-re)/2);return aez+Math.floor(r/2)?z:ae}case AUTO_ALIGNMENT:default:return L>=re&&L<=j?L:re>j||LMath.max(0,Math.min(r-1,Math.floor(n/t))),getColumnStopIndexForStartIndex:({columnWidth:t,totalColumn:r,width:n},g,y)=>{const L=g*t,$=Math.ceil((n+y-L)/t);return Math.max(0,Math.min(r-1,g+$-1))},getRowStartIndexForOffset:({rowHeight:t,totalRow:r},n)=>Math.max(0,Math.min(r-1,Math.floor(n/t))),getRowStopIndexForStartIndex:({rowHeight:t,totalRow:r,height:n},g,y)=>{const L=g*t,$=Math.ceil((n+y-L)/t);return Math.max(0,Math.min(r-1,g+$-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:t,rowHeight:r})=>{}}),{max:max$2,min:min$2,floor}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(t,r,n,g)=>{const[y,L,$]=[n[g],t[ACCESS_SIZER_KEY_MAP[g]],n[ACCESS_LAST_VISITED_KEY_MAP[g]]];if(r>$){let V=0;if($>=0){const z=y[$];V=z.offset+z.size}for(let z=$+1;z<=r;z++){const j=L(z);y[z]={offset:V,size:j},V+=j}n[ACCESS_LAST_VISITED_KEY_MAP[g]]=r}return y[r]},bs=(t,r,n,g,y,L)=>{for(;n<=g;){const $=n+floor((g-n)/2),V=getItemFromCache(t,$,r,L).offset;if(V===y)return $;V{const L=y==="column"?t.totalColumn:t.totalRow;let $=1;for(;n{const[y,L]=[r[g],r[ACCESS_LAST_VISITED_KEY_MAP[g]]];return(L>0?y[L].offset:0)>=n?bs(t,r,0,L,n,g):es(t,r,max$2(0,L),n,g)},getEstimatedTotalHeight=({totalRow:t},{estimatedRowHeight:r,lastVisitedRowIndex:n,row:g})=>{let y=0;if(n>=t&&(n=t-1),n>=0){const V=g[n];y=V.offset+V.size}const $=(t-n-1)*r;return y+$},getEstimatedTotalWidth=({totalColumn:t},{column:r,estimatedColumnWidth:n,lastVisitedColumnIndex:g})=>{let y=0;if(g>t&&(g=t-1),g>=0){const V=r[g];y=V.offset+V.size}const $=(t-g-1)*n;return y+$},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(t,r,n,g,y,L,$)=>{const[V,z]=[L==="row"?t.height:t.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[L]],j=getItemFromCache(t,r,y,L),re=z(t,y),ae=max$2(0,min$2(re-V,j.offset)),oe=max$2(0,j.offset-V+$+j.size);switch(n===SMART_ALIGNMENT&&(g>=oe-V&&g<=ae+V?n=AUTO_ALIGNMENT:n=CENTERED_ALIGNMENT),n){case START_ALIGNMENT:return ae;case END_ALIGNMENT:return oe;case CENTERED_ALIGNMENT:return Math.round(oe+(ae-oe)/2);case AUTO_ALIGNMENT:default:return g>=oe&&g<=ae?g:oe>ae||g{const g=getItemFromCache(t,r,n,"column");return[g.size,g.offset]},getRowPosition:(t,r,n)=>{const g=getItemFromCache(t,r,n,"row");return[g.size,g.offset]},getColumnOffset:(t,r,n,g,y,L)=>getOffset$1(t,r,n,g,y,"column",L),getRowOffset:(t,r,n,g,y,L)=>getOffset$1(t,r,n,g,y,"row",L),getColumnStartIndexForOffset:(t,r,n)=>findItem(t,n,r,"column"),getColumnStopIndexForStartIndex:(t,r,n,g)=>{const y=getItemFromCache(t,r,g,"column"),L=n+t.width;let $=y.offset+y.size,V=r;for(;VfindItem(t,n,r,"row"),getRowStopIndexForStartIndex:(t,r,n,g)=>{const{totalRow:y,height:L}=t,$=getItemFromCache(t,r,g,"row"),V=n+L;let z=$.size+$.offset,j=r;for(;j{const n=({columnIndex:L,rowIndex:$},V)=>{var z,j;V=isUndefined$1(V)?!0:V,isNumber$2(L)&&(r.value.lastVisitedColumnIndex=Math.min(r.value.lastVisitedColumnIndex,L-1)),isNumber$2($)&&(r.value.lastVisitedRowIndex=Math.min(r.value.lastVisitedRowIndex,$-1)),(z=t.exposed)==null||z.getItemStyleCache.value(-1,null,null),V&&((j=t.proxy)==null||j.$forceUpdate())},g=(L,$)=>{n({columnIndex:L},$)},y=(L,$)=>{n({rowIndex:L},$)};Object.assign(t.proxy,{resetAfterColumnIndex:g,resetAfterRowIndex:y,resetAfter:n})},initCache:({estimatedColumnWidth:t=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:r=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:t,estimatedRowHeight:r,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:t,rowHeight:r})=>{}}),_sfc_main$I=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$7(t,r,n,g,y,L){return t.item.isTitle?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(t.ns.be("group","title")),style:normalizeStyle$1([t.style,{lineHeight:`${t.height}px`}])},toDisplayString(t.item.label),7)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(t.ns.be("group","split")),style:normalizeStyle$1(t.style)},[createBaseVNode("span",{class:normalizeClass(t.ns.be("group","split-dash")),style:normalizeStyle$1({top:`${t.height/2}px`})},null,6)],6))}var GroupItem=_export_sfc$1(_sfc_main$I,[["render",_sfc_render$7],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function useOption(t,{emit:r}){return{hoverItem:()=>{t.disabled||r("hover",t.index)},selectOptionClick:()=>{t.disabled||r("select",t.item,t.index)}}}const SelectProps={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object],default:circle_close_default},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:[Array,String,Number,Boolean,Object],multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:Array,required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String,validator:isValidComponentSize},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"}},OptionProps={data:Array,disabled:Boolean,hovering:Boolean,item:Object,index:Number,style:Object,selected:Boolean,created:Boolean},_sfc_main$H=defineComponent({props:OptionProps,emits:["select","hover"],setup(t,{emit:r}){const n=useNamespace("select"),{hoverItem:g,selectOptionClick:y}=useOption(t,{emit:r});return{ns:n,hoverItem:g,selectOptionClick:y}}}),_hoisted_1$k=["aria-selected"];function _sfc_render$6(t,r,n,g,y,L){return openBlock(),createElementBlock("li",{"aria-selected":t.selected,style:normalizeStyle$1(t.style),class:normalizeClass([t.ns.be("dropdown","option-item"),t.ns.is("selected",t.selected),t.ns.is("disabled",t.disabled),t.ns.is("created",t.created),{hover:t.hovering}]),onMouseenter:r[0]||(r[0]=(...$)=>t.hoverItem&&t.hoverItem(...$)),onClick:r[1]||(r[1]=withModifiers((...$)=>t.selectOptionClick&&t.selectOptionClick(...$),["stop"]))},[renderSlot(t.$slots,"default",{item:t.item,index:t.index,disabled:t.disabled},()=>[createBaseVNode("span",null,toDisplayString(t.item.label),1)])],46,_hoisted_1$k)}var OptionItem=_export_sfc$1(_sfc_main$H,[["render",_sfc_render$6],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]);const selectV2InjectionKey=Symbol("ElSelectV2Injection");var ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(t,{slots:r,expose:n}){const g=inject(selectV2InjectionKey),y=useNamespace("select"),L=ref([]),$=ref(),V=computed(()=>t.data.length);watch(()=>V.value,()=>{var Ne,ze;(ze=(Ne=g.popper.value).updatePopper)==null||ze.call(Ne)});const z=computed(()=>isUndefined$1(g.props.estimatedOptionHeight)),j=computed(()=>z.value?{itemSize:g.props.itemHeight}:{estimatedSize:g.props.estimatedOptionHeight,itemSize:Ne=>L.value[Ne]}),re=(Ne=[],ze)=>{const{props:{valueKey:Fe}}=g;return isObject$7(ze)?Ne&&Ne.some(qe=>get$1(qe,Fe)===get$1(ze,Fe)):Ne.includes(ze)},ae=(Ne,ze)=>{if(isObject$7(ze)){const{valueKey:Fe}=g.props;return get$1(Ne,Fe)===get$1(ze,Fe)}else return Ne===ze},oe=(Ne,ze)=>{const{valueKey:Fe}=g.props;return g.props.multiple?re(Ne,get$1(ze,Fe)):ae(Ne,get$1(ze,Fe))},ie=(Ne,ze)=>{const{disabled:Fe,multiple:qe,multipleLimit:Et}=g.props;return Fe||!ze&&(qe?Et>0&&Ne.length>=Et:!1)},le=Ne=>t.hoveringIndex===Ne;n({listRef:$,isSized:z,isItemDisabled:ie,isItemHovering:le,isItemSelected:oe,scrollToItem:Ne=>{const ze=$.value;ze&&ze.scrollToItem(Ne)},resetScrollTop:()=>{const Ne=$.value;Ne&&Ne.resetScrollTop()}});const pe=Ne=>{const{index:ze,data:Fe,style:qe}=Ne,Et=unref(z),{itemSize:kt,estimatedSize:Lt}=unref(j),{modelValue:vn}=g.props,{onSelect:jt,onHover:At}=g,hn=Fe[ze];if(hn.type==="Group")return createVNode$1(GroupItem,{item:hn,style:qe,height:Et?kt:Lt},null);const bn=oe(vn,hn),Cn=ie(vn,bn),Tn=le(ze);return createVNode$1(OptionItem,mergeProps(Ne,{selected:bn,disabled:hn.disabled||Cn,created:!!hn.created,hovering:Tn,item:hn,onSelect:jt,onHover:At}),{default:xn=>{var En;return((En=r.default)==null?void 0:En.call(r,xn))||createVNode$1("span",null,[hn.label])}})},{onKeyboardNavigate:he,onKeyboardSelect:_e}=g,Ce=()=>{he("forward")},$e=()=>{he("backward")},xe=()=>{g.expanded=!1},Ie=Ne=>{const{code:ze}=Ne,{tab:Fe,esc:qe,down:Et,up:kt,enter:Lt}=EVENT_CODE;switch(ze!==Fe&&(Ne.preventDefault(),Ne.stopPropagation()),ze){case Fe:case qe:{xe();break}case Et:{Ce();break}case kt:{$e();break}case Lt:{_e();break}}};return()=>{var Ne;const{data:ze,width:Fe}=t,{height:qe,multiple:Et,scrollbarAlwaysOn:kt}=g.props;if(ze.length===0)return createVNode$1("div",{class:y.b("dropdown"),style:{width:`${Fe}px`}},[(Ne=r.empty)==null?void 0:Ne.call(r)]);const Lt=unref(z)?FixedSizeList:DynamicSizeList;return createVNode$1("div",{class:[y.b("dropdown"),y.is("multiple",Et)]},[createVNode$1(Lt,mergeProps({ref:$},unref(j),{className:y.be("dropdown","list"),scrollbarAlwaysOn:kt,data:ze,height:qe,width:Fe,total:ze.length,onKeydown:Ie}),{default:vn=>createVNode$1(pe,vn,null)})])}}});function useAllowCreate(t,r){const n=ref(0),g=ref(null),y=computed(()=>t.allowCreate&&t.filterable);function L(re){const ae=oe=>oe.value===re;return t.options&&t.options.some(ae)||r.createdOptions.some(ae)}function $(re){y.value&&(t.multiple&&re.created?n.value++:g.value=re)}function V(re){if(y.value)if(re&&re.length>0&&!L(re)){const ae={value:re,label:re,created:!0,disabled:!1};r.createdOptions.length>=n.value?r.createdOptions[n.value]=ae:r.createdOptions.push(ae)}else if(t.multiple)r.createdOptions.length=n.value;else{const ae=g.value;r.createdOptions.length=0,ae&&ae.created&&r.createdOptions.push(ae)}}function z(re){if(!y.value||!re||!re.created||re.created&&t.reserveKeyword&&r.inputValue===re.label)return;const ae=r.createdOptions.findIndex(oe=>oe.value===re.value);~ae&&(r.createdOptions.splice(ae,1),n.value--)}function j(){y.value&&(r.createdOptions.length=0,n.value=0)}return{createNewOption:V,removeNewOption:z,selectNewOption:$,clearAllNewOption:j}}const flattenOptions=t=>{const r=[];return t.forEach(n=>{isArray$6(n.options)?(r.push({label:n.label,isTitle:!0,type:"Group"}),n.options.forEach(g=>{r.push(g)}),r.push({type:"Group"})):r.push(n)}),r};function useInput(t){const r=ref(!1);return{handleCompositionStart:()=>{r.value=!0},handleCompositionUpdate:L=>{const $=L.target.value,V=$[$.length-1]||"";r.value=!isKorean(V)},handleCompositionEnd:L=>{r.value&&(r.value=!1,isFunction$4(t)&&t(L))}}}const DEFAULT_INPUT_PLACEHOLDER="",MINIMUM_INPUT_WIDTH=11,TAG_BASE_WIDTH={larget:51,default:42,small:33},useSelect$1=(t,r)=>{const{t:n}=useLocale(),g=useNamespace("select-v2"),y=useNamespace("input"),{form:L,formItem:$}=useFormItem(),V=reactive({inputValue:DEFAULT_INPUT_PLACEHOLDER,displayInputValue:DEFAULT_INPUT_PLACEHOLDER,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:void 0,query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),z=ref(-1),j=ref(-1),re=ref(null),ae=ref(null),oe=ref(null),ie=ref(null),le=ref(null),ue=ref(null),de=ref(null),pe=ref(!1),he=computed(()=>t.disabled||(L==null?void 0:L.disabled)),_e=computed(()=>{const hr=Et.value.length*34;return hr>t.height?t.height:hr}),Ce=computed(()=>!isNil(t.modelValue)),$e=computed(()=>{const hr=t.multiple?Array.isArray(t.modelValue)&&t.modelValue.length>0:Ce.value;return t.clearable&&!he.value&&V.comboBoxHovering&&hr}),xe=computed(()=>t.remote&&t.filterable?"":arrow_up_default),Ie=computed(()=>xe.value&&g.is("reverse",pe.value)),Ne=computed(()=>($==null?void 0:$.validateState)||""),ze=computed(()=>ValidateComponentsMap[Ne.value]),Fe=computed(()=>t.remote?300:0),qe=computed(()=>{const hr=Et.value;return t.loading?t.loadingText||n("el.select.loading"):t.remote&&V.inputValue===""&&hr.length===0?!1:t.filterable&&V.inputValue&&hr.length>0?t.noMatchText||n("el.select.noMatch"):hr.length===0?t.noDataText||n("el.select.noData"):null}),Et=computed(()=>{const hr=Ar=>{const Gr=V.inputValue,qr=new RegExp(escapeStringRegexp(Gr),"i");return Gr?qr.test(Ar.label||""):!0};return t.loading?[]:flattenOptions(t.options.concat(V.createdOptions).map(Ar=>{if(isArray$6(Ar.options)){const Gr=Ar.options.filter(hr);if(Gr.length>0)return{...Ar,options:Gr}}else if(t.remote||hr(Ar))return Ar;return null}).filter(Ar=>Ar!==null))}),kt=computed(()=>Et.value.every(hr=>hr.disabled)),Lt=useFormSize(),vn=computed(()=>Lt.value==="small"?"small":"default"),jt=computed(()=>{const hr=ue.value,Ar=vn.value||"default",Gr=hr?Number.parseInt(getComputedStyle(hr).paddingLeft):0,qr=hr?Number.parseInt(getComputedStyle(hr).paddingRight):0;return V.selectWidth-qr-Gr-TAG_BASE_WIDTH[Ar]}),At=()=>{var hr;j.value=((hr=le.value)==null?void 0:hr.offsetWidth)||200},hn=computed(()=>({width:`${V.calculatedWidth===0?MINIMUM_INPUT_WIDTH:Math.ceil(V.calculatedWidth)+MINIMUM_INPUT_WIDTH}px`})),bn=computed(()=>isArray$6(t.modelValue)?t.modelValue.length===0&&!V.displayInputValue:t.filterable?V.displayInputValue.length===0:!0),Cn=computed(()=>{const hr=t.placeholder||n("el.select.placeholder");return t.multiple||isNil(t.modelValue)?hr:V.selectedLabel}),Tn=computed(()=>{var hr,Ar;return(Ar=(hr=ie.value)==null?void 0:hr.popperRef)==null?void 0:Ar.contentRef}),xn=computed(()=>{if(t.multiple){const hr=t.modelValue.length;if(t.modelValue.length>0)return Et.value.findIndex(Ar=>Ar.value===t.modelValue[hr-1])}else if(t.modelValue)return Et.value.findIndex(hr=>hr.value===t.modelValue);return-1}),En=computed({get(){return pe.value&&qe.value!==!1},set(hr){pe.value=hr}}),kn=computed(()=>V.cachedOptions.slice(0,t.maxCollapseTags)),On=computed(()=>V.cachedOptions.slice(t.maxCollapseTags)),{createNewOption:Rn,removeNewOption:In,selectNewOption:Mn,clearAllNewOption:Vn}=useAllowCreate(t,V),{handleCompositionStart:zn,handleCompositionUpdate:Jn,handleCompositionEnd:tr}=useInput(hr=>Kn(hr)),$n=()=>{var hr,Ar,Gr;(Ar=(hr=ae.value)==null?void 0:hr.focus)==null||Ar.call(hr),(Gr=ie.value)==null||Gr.updatePopper()},Pn=()=>{if(!t.automaticDropdown&&!he.value)return V.isComposing&&(V.softFocus=!0),nextTick(()=>{var hr,Ar;pe.value=!pe.value,(Ar=(hr=ae.value)==null?void 0:hr.focus)==null||Ar.call(hr)})},Bn=()=>(t.filterable&&V.inputValue!==V.selectedLabel&&(V.query=V.selectedLabel),Fn(V.inputValue),nextTick(()=>{Rn(V.inputValue)})),Un=debounce(Bn,Fe.value),Fn=hr=>{V.previousQuery!==hr&&(V.previousQuery=hr,t.filterable&&isFunction$4(t.filterMethod)?t.filterMethod(hr):t.filterable&&t.remote&&isFunction$4(t.remoteMethod)&&t.remoteMethod(hr))},cr=hr=>{isEqual$1(t.modelValue,hr)||r(CHANGE_EVENT,hr)},ur=hr=>{r(UPDATE_MODEL_EVENT,hr),cr(hr),V.previousValue=hr==null?void 0:hr.toString()},vr=(hr=[],Ar)=>{if(!isObject$7(Ar))return hr.indexOf(Ar);const Gr=t.valueKey;let qr=-1;return hr.some((ta,Pa)=>get$1(ta,Gr)===get$1(Ar,Gr)?(qr=Pa,!0):!1),qr},Yn=hr=>isObject$7(hr)?get$1(hr,t.valueKey):hr,gr=hr=>isObject$7(hr)?hr.label:hr,lr=()=>nextTick(()=>{var hr,Ar;if(!ae.value)return;const Gr=ue.value;le.value.height=Gr.offsetHeight,pe.value&&qe.value!==!1&&((Ar=(hr=ie.value)==null?void 0:hr.updatePopper)==null||Ar.call(hr))}),er=()=>{var hr,Ar;if(br(),At(),(Ar=(hr=ie.value)==null?void 0:hr.updatePopper)==null||Ar.call(hr),t.multiple)return lr()},br=()=>{const hr=ue.value;hr&&(V.selectWidth=hr.getBoundingClientRect().width)},wr=(hr,Ar,Gr=!0)=>{var qr,ta;if(t.multiple){let Pa=t.modelValue.slice();const Ga=vr(Pa,Yn(hr));Ga>-1?(Pa=[...Pa.slice(0,Ga),...Pa.slice(Ga+1)],V.cachedOptions.splice(Ga,1),In(hr)):(t.multipleLimit<=0||Pa.length{const{valueKey:Gr}=t,qr=t.modelValue.indexOf(get$1(Ar,Gr));if(qr>-1&&!he.value){const ta=[...t.modelValue.slice(0,qr),...t.modelValue.slice(qr+1)];return V.cachedOptions.splice(qr,1),ur(ta),r("remove-tag",get$1(Ar,Gr)),V.softFocus=!0,In(Ar),nextTick($n)}hr.stopPropagation()},Mr=hr=>{const Ar=V.isComposing;V.isComposing=!0,V.softFocus?V.softFocus=!1:Ar||r("focus",hr)},Cr=hr=>(V.softFocus=!1,nextTick(()=>{var Ar,Gr;(Gr=(Ar=ae.value)==null?void 0:Ar.blur)==null||Gr.call(Ar),de.value&&(V.calculatedWidth=de.value.getBoundingClientRect().width),V.isSilentBlur?V.isSilentBlur=!1:V.isComposing&&r("blur",hr),V.isComposing=!1})),xr=()=>{V.displayInputValue.length>0?Hn(""):pe.value=!1},or=hr=>{if(V.displayInputValue.length===0){hr.preventDefault();const Ar=t.modelValue.slice();Ar.pop(),In(V.cachedOptions.pop()),ur(Ar)}},Dn=()=>{let hr;return isArray$6(t.modelValue)?hr=[]:hr=void 0,V.softFocus=!0,t.multiple?V.cachedOptions=[]:V.selectedLabel="",pe.value=!1,ur(hr),r("clear"),Vn(),nextTick($n)},Hn=hr=>{V.displayInputValue=hr,V.inputValue=hr},Wn=(hr,Ar=void 0)=>{const Gr=Et.value;if(!["forward","backward"].includes(hr)||he.value||Gr.length<=0||kt.value)return;if(!pe.value)return Pn();Ar===void 0&&(Ar=V.hoveringIndex);let qr=-1;hr==="forward"?(qr=Ar+1,qr>=Gr.length&&(qr=0)):hr==="backward"&&(qr=Ar-1,(qr<0||qr>=Gr.length)&&(qr=Gr.length-1));const ta=Gr[qr];if(ta.disabled||ta.type==="Group")return Wn(hr,qr);Pr(qr),mr(qr)},pr=()=>{if(pe.value)~V.hoveringIndex&&Et.value[V.hoveringIndex]&&wr(Et.value[V.hoveringIndex],V.hoveringIndex,!1);else return Pn()},Pr=hr=>{V.hoveringIndex=hr},ir=()=>{V.hoveringIndex=-1},Er=()=>{var hr;const Ar=ae.value;Ar&&((hr=Ar.focus)==null||hr.call(Ar))},Kn=hr=>{const Ar=hr.target.value;if(Hn(Ar),V.displayInputValue.length>0&&!pe.value&&(pe.value=!0),V.calculatedWidth=de.value.getBoundingClientRect().width,t.multiple&&lr(),t.remote)Un();else return Bn()},Qn=()=>(pe.value=!1,Cr()),ar=()=>(V.inputValue=V.displayInputValue,nextTick(()=>{~xn.value&&(Pr(xn.value),mr(V.hoveringIndex))})),mr=hr=>{oe.value.scrollToItem(hr)},kr=()=>{if(ir(),t.multiple)if(t.modelValue.length>0){let hr=!1;V.cachedOptions.length=0,V.previousValue=t.modelValue.toString(),t.modelValue.forEach(Ar=>{const Gr=Et.value.findIndex(qr=>Yn(qr)===Ar);~Gr&&(V.cachedOptions.push(Et.value[Gr]),hr||Pr(Gr),hr=!0)})}else V.cachedOptions=[],V.previousValue=void 0;else if(Ce.value){V.previousValue=t.modelValue;const hr=Et.value,Ar=hr.findIndex(Gr=>Yn(Gr)===Yn(t.modelValue));~Ar?(V.selectedLabel=hr[Ar].label,Pr(Ar)):V.selectedLabel=`${t.modelValue}`}else V.selectedLabel="",V.previousValue=void 0;Vn(),At()};return watch(pe,hr=>{var Ar,Gr;r("visible-change",hr),hr?(Gr=(Ar=ie.value).update)==null||Gr.call(Ar):(V.displayInputValue="",V.previousQuery=null,Rn(""))}),watch(()=>t.modelValue,(hr,Ar)=>{var Gr;(!hr||hr.toString()!==V.previousValue)&&kr(),!isEqual$1(hr,Ar)&&t.validateEvent&&((Gr=$==null?void 0:$.validate)==null||Gr.call($,"change").catch(qr=>void 0))},{deep:!0}),watch(()=>t.options,()=>{const hr=ae.value;(!hr||hr&&document.activeElement!==hr)&&kr()},{deep:!0}),watch(Et,()=>nextTick(oe.value.resetScrollTop)),watch(()=>En.value,hr=>{hr||ir()}),onMounted(()=>{kr()}),useResizeObserver(le,er),{collapseTagSize:vn,currentPlaceholder:Cn,expanded:pe,emptyText:qe,popupHeight:_e,debounce:Fe,filteredOptions:Et,iconComponent:xe,iconReverse:Ie,inputWrapperStyle:hn,popperSize:j,dropdownMenuVisible:En,hasModelValue:Ce,shouldShowPlaceholder:bn,selectDisabled:he,selectSize:Lt,showClearBtn:$e,states:V,tagMaxWidth:jt,nsSelectV2:g,nsInput:y,calculatorRef:de,controlRef:re,inputRef:ae,menuRef:oe,popper:ie,selectRef:le,selectionRef:ue,popperRef:Tn,validateState:Ne,validateIcon:ze,showTagList:kn,collapseTagList:On,debouncedOnInputChange:Un,deleteTag:$r,getLabel:gr,getValueKey:Yn,handleBlur:Cr,handleClear:Dn,handleClickOutside:Qn,handleDel:or,handleEsc:xr,handleFocus:Mr,handleMenuEnter:ar,handleResize:er,toggleMenu:Pn,scrollTo:mr,onInput:Kn,onKeyboardNavigate:Wn,onKeyboardSelect:pr,onSelect:wr,onHover:Pr,onUpdateInputValue:Hn,handleCompositionStart:zn,handleCompositionEnd:tr,handleCompositionUpdate:Jn}},_sfc_main$G=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside,ModelText:vModelText},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(t,{emit:r}){const n=computed(()=>{const{modelValue:y,multiple:L}=t,$=L?[]:void 0;return isArray$6(y)?L?y:$:L?$:y}),g=useSelect$1(reactive({...toRefs(t),modelValue:n}),r);return provide(selectV2InjectionKey,{props:reactive({...toRefs(t),height:g.popupHeight,modelValue:n}),popper:g.popper,onSelect:g.onSelect,onHover:g.onHover,onKeyboardNavigate:g.onKeyboardNavigate,onKeyboardSelect:g.onKeyboardSelect}),{...g,modelValue:n}}}),_hoisted_1$j={key:0},_hoisted_2$d=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],_hoisted_3$7=["textContent"],_hoisted_4$5=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],_hoisted_5$3=["textContent"];function _sfc_render$5(t,r,n,g,y,L){const $=resolveComponent("el-tag"),V=resolveComponent("el-tooltip"),z=resolveComponent("el-icon"),j=resolveComponent("el-select-menu"),re=resolveDirective("model-text"),ae=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([t.nsSelectV2.b(),t.nsSelectV2.m(t.selectSize)]),onClick:r[24]||(r[24]=withModifiers((...oe)=>t.toggleMenu&&t.toggleMenu(...oe),["stop"])),onMouseenter:r[25]||(r[25]=oe=>t.states.comboBoxHovering=!0),onMouseleave:r[26]||(r[26]=oe=>t.states.comboBoxHovering=!1)},[createVNode$1(V,{ref:"popper",visible:t.dropdownMenuVisible,teleported:t.teleported,"popper-class":[t.nsSelectV2.e("popper"),t.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":t.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:t.effect,placement:t.placement,pure:"",transition:`${t.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:t.persistent,onBeforeShow:t.handleMenuEnter,onHide:r[23]||(r[23]=oe=>t.states.inputValue=t.states.displayInputValue)},{default:withCtx(()=>[createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([t.nsSelectV2.e("wrapper"),t.nsSelectV2.is("focused",t.states.isComposing||t.expanded),t.nsSelectV2.is("hovering",t.states.comboBoxHovering),t.nsSelectV2.is("filterable",t.filterable),t.nsSelectV2.is("disabled",t.selectDisabled)])},[t.$slots.prefix?(openBlock(),createElementBlock("div",_hoisted_1$j,[renderSlot(t.$slots,"prefix")])):createCommentVNode("v-if",!0),t.multiple?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(t.nsSelectV2.e("selection"))},[t.collapseTags&&t.modelValue.length>0?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.showTagList,oe=>(openBlock(),createElementBlock("div",{key:t.getValueKey(oe),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode$1($,{closable:!t.selectDisabled&&!(oe!=null&&oe.disable),size:t.collapseTagSize,type:"info","disable-transitions":"",onClose:ie=>t.deleteTag(ie,oe)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString(oe==null?void 0:oe.label),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass(t.nsSelectV2.e("selected-item"))},[t.modelValue.length>t.maxCollapseTags?(openBlock(),createBlock($,{key:0,closable:!1,size:t.collapseTagSize,type:"info","disable-transitions":""},{default:withCtx(()=>[t.collapseTagsTooltip?(openBlock(),createBlock(V,{key:0,disabled:t.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom",teleported:!1},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},"+ "+toDisplayString(t.modelValue.length-t.maxCollapseTags),7)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(t.nsSelectV2.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.collapseTagList,oe=>(openBlock(),createElementBlock("div",{key:t.getValueKey(oe),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode$1($,{closable:!t.selectDisabled&&!oe.disabled,size:t.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:ie=>t.deleteTag(ie,oe)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString(t.getLabel(oe)),7)]),_:2},1032,["closable","size","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},"+ "+toDisplayString(t.modelValue.length-t.maxCollapseTags),7))]),_:1},8,["size"])):createCommentVNode("v-if",!0)],2)],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(t.states.cachedOptions,oe=>(openBlock(),createElementBlock("div",{key:t.getValueKey(oe),class:normalizeClass(t.nsSelectV2.e("selected-item"))},[createVNode$1($,{closable:!t.selectDisabled&&!oe.disabled,size:t.collapseTagSize,type:"info","disable-transitions":"",onClose:ie=>t.deleteTag(ie,oe)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("tags-text")),style:normalizeStyle$1({maxWidth:`${t.tagMaxWidth}px`})},toDisplayString(t.getLabel(oe)),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass([t.nsSelectV2.e("selected-item"),t.nsSelectV2.e("input-wrapper")]),style:normalizeStyle$1(t.inputWrapperStyle)},[withDirectives(createBaseVNode("input",{id:t.id,ref:"inputRef",autocomplete:t.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":t.expanded,"aria-labelledby":t.label,class:normalizeClass([t.nsSelectV2.is(t.selectSize),t.nsSelectV2.e("combobox-input")]),disabled:t.disabled,role:"combobox",readonly:!t.filterable,spellcheck:"false",type:"text",name:t.name,unselectable:t.expanded?"on":void 0,"onUpdate:modelValue":r[0]||(r[0]=(...oe)=>t.onUpdateInputValue&&t.onUpdateInputValue(...oe)),onFocus:r[1]||(r[1]=(...oe)=>t.handleFocus&&t.handleFocus(...oe)),onBlur:r[2]||(r[2]=(...oe)=>t.handleBlur&&t.handleBlur(...oe)),onInput:r[3]||(r[3]=(...oe)=>t.onInput&&t.onInput(...oe)),onCompositionstart:r[4]||(r[4]=(...oe)=>t.handleCompositionStart&&t.handleCompositionStart(...oe)),onCompositionupdate:r[5]||(r[5]=(...oe)=>t.handleCompositionUpdate&&t.handleCompositionUpdate(...oe)),onCompositionend:r[6]||(r[6]=(...oe)=>t.handleCompositionEnd&&t.handleCompositionEnd(...oe)),onKeydown:[r[7]||(r[7]=withKeys(withModifiers(oe=>t.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),r[8]||(r[8]=withKeys(withModifiers(oe=>t.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),r[9]||(r[9]=withKeys(withModifiers((...oe)=>t.onKeyboardSelect&&t.onKeyboardSelect(...oe),["stop","prevent"]),["enter"])),r[10]||(r[10]=withKeys(withModifiers((...oe)=>t.handleEsc&&t.handleEsc(...oe),["stop","prevent"]),["esc"])),r[11]||(r[11]=withKeys(withModifiers((...oe)=>t.handleDel&&t.handleDel(...oe),["stop"]),["delete"]))]},null,42,_hoisted_2$d),[[re,t.states.displayInputValue]]),t.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(t.nsSelectV2.e("input-calculator")),textContent:toDisplayString(t.states.displayInputValue)},null,10,_hoisted_3$7)):createCommentVNode("v-if",!0)],6)],2)):(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",{class:normalizeClass([t.nsSelectV2.e("selected-item"),t.nsSelectV2.e("input-wrapper")])},[withDirectives(createBaseVNode("input",{id:t.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":t.label,"aria-expanded":t.expanded,autocapitalize:"off",autocomplete:t.autocomplete,class:normalizeClass(t.nsSelectV2.e("combobox-input")),disabled:t.disabled,name:t.name,role:"combobox",readonly:!t.filterable,spellcheck:"false",type:"text",unselectable:t.expanded?"on":void 0,onCompositionstart:r[12]||(r[12]=(...oe)=>t.handleCompositionStart&&t.handleCompositionStart(...oe)),onCompositionupdate:r[13]||(r[13]=(...oe)=>t.handleCompositionUpdate&&t.handleCompositionUpdate(...oe)),onCompositionend:r[14]||(r[14]=(...oe)=>t.handleCompositionEnd&&t.handleCompositionEnd(...oe)),onFocus:r[15]||(r[15]=(...oe)=>t.handleFocus&&t.handleFocus(...oe)),onBlur:r[16]||(r[16]=(...oe)=>t.handleBlur&&t.handleBlur(...oe)),onInput:r[17]||(r[17]=(...oe)=>t.onInput&&t.onInput(...oe)),onKeydown:[r[18]||(r[18]=withKeys(withModifiers(oe=>t.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),r[19]||(r[19]=withKeys(withModifiers(oe=>t.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),r[20]||(r[20]=withKeys(withModifiers((...oe)=>t.onKeyboardSelect&&t.onKeyboardSelect(...oe),["stop","prevent"]),["enter"])),r[21]||(r[21]=withKeys(withModifiers((...oe)=>t.handleEsc&&t.handleEsc(...oe),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":r[22]||(r[22]=(...oe)=>t.onUpdateInputValue&&t.onUpdateInputValue(...oe))},null,42,_hoisted_4$5),[[re,t.states.displayInputValue]])],2),t.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass([t.nsSelectV2.e("selected-item"),t.nsSelectV2.e("input-calculator")]),textContent:toDisplayString(t.states.displayInputValue)},null,10,_hoisted_5$3)):createCommentVNode("v-if",!0)],64)),t.shouldShowPlaceholder?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass([t.nsSelectV2.e("placeholder"),t.nsSelectV2.is("transparent",t.multiple?t.modelValue.length===0:!t.hasModelValue)])},toDisplayString(t.currentPlaceholder),3)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(t.nsSelectV2.e("suffix"))},[t.iconComponent?withDirectives((openBlock(),createBlock(z,{key:0,class:normalizeClass([t.nsSelectV2.e("caret"),t.nsInput.e("icon"),t.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])),[[vShow,!t.showClearBtn]]):createCommentVNode("v-if",!0),t.showClearBtn&&t.clearIcon?(openBlock(),createBlock(z,{key:1,class:normalizeClass([t.nsSelectV2.e("caret"),t.nsInput.e("icon")]),onClick:withModifiers(t.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),t.validateState&&t.validateIcon?(openBlock(),createBlock(z,{key:2,class:normalizeClass([t.nsInput.e("icon"),t.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode$1(j,{ref:"menuRef",data:t.filteredOptions,width:t.popperSize,"hovering-index":t.states.hoveringIndex,"scrollbar-always-on":t.scrollbarAlwaysOn},{default:withCtx(oe=>[renderSlot(t.$slots,"default",normalizeProps(guardReactiveProps(oe)))]),empty:withCtx(()=>[renderSlot(t.$slots,"empty",{},()=>[createBaseVNode("p",{class:normalizeClass(t.nsSelectV2.e("empty"))},toDisplayString(t.emptyText?t.emptyText:""),3)])]),_:3},8,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","effect","placement","transition","persistent","onBeforeShow"])],34)),[[ae,t.handleClickOutside,t.popperRef]])}var Select=_export_sfc$1(_sfc_main$G,[["render",_sfc_render$5],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);Select.install=t=>{t.component(Select.name,Select)};const _Select=Select,ElSelectV2=_Select,skeletonProps=buildProps({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),__default__$u=defineComponent({name:"ElSkeletonItem"}),_sfc_main$F=defineComponent({...__default__$u,props:skeletonItemProps,setup(t){const r=useNamespace("skeleton");return(n,g)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).e("item"),unref(r).e(n.variant)])},[n.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$1(_sfc_main$F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const __default__$t=defineComponent({name:"ElSkeleton"}),_sfc_main$E=defineComponent({...__default__$t,props:skeletonProps,setup(t,{expose:r}){const n=t,g=useNamespace("skeleton"),y=useThrottleRender(toRef(n,"loading"),n.throttle);return r({uiLoading:y}),(L,$)=>unref(y)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(g).b(),unref(g).is("animated",L.animated)]},L.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(L.count,V=>(openBlock(),createElementBlock(Fragment,{key:V},[L.loading?renderSlot(L.$slots,"template",{key:V},()=>[createVNode$1(SkeletonItem,{class:normalizeClass(unref(g).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(L.rows,z=>(openBlock(),createBlock(SkeletonItem,{key:z,class:normalizeClass([unref(g).e("paragraph"),unref(g).is("last",z===L.rows&&L.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(L.$slots,"default",normalizeProps(mergeProps({key:1},L.$attrs)))}});var Skeleton=_export_sfc$1(_sfc_main$E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton,{SkeletonItem}),ElSkeletonItem=withNoopInstall(SkeletonItem),sliderContextKey=Symbol("sliderContextKey"),sliderProps=buildProps({modelValue:{type:definePropType([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:useSizeProp,inputSize:useSizeProp,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:definePropType(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:definePropType(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ee,default:"top"},marks:{type:definePropType(Object)},validateEvent:{type:Boolean,default:!0}}),isValidValue$1=t=>isNumber$2(t)||isArray$6(t)&&t.every(isNumber$2),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=(t,r,n)=>{const g=ref();return onMounted(async()=>{t.range?(Array.isArray(t.modelValue)?(r.firstValue=Math.max(t.min,t.modelValue[0]),r.secondValue=Math.min(t.max,t.modelValue[1])):(r.firstValue=t.min,r.secondValue=t.max),r.oldValue=[r.firstValue,r.secondValue]):(typeof t.modelValue!="number"||Number.isNaN(t.modelValue)?r.firstValue=t.min:r.firstValue=Math.min(t.max,Math.max(t.min,t.modelValue)),r.oldValue=r.firstValue),useEventListener(window,"resize",n),await nextTick(),n()}),{sliderWrapper:g}},useMarks=t=>computed(()=>t.marks?Object.keys(t.marks).map(Number.parseFloat).sort((n,g)=>n-g).filter(n=>n<=t.max&&n>=t.min).map(n=>({point:n,position:(n-t.min)*100/(t.max-t.min),mark:t.marks[n]})):[]),useSlide=(t,r,n)=>{const{form:g,formItem:y}=useFormItem(),L=shallowRef(),$=ref(),V=ref(),z={firstButton:$,secondButton:V},j=computed(()=>t.disabled||(g==null?void 0:g.disabled)||!1),re=computed(()=>Math.min(r.firstValue,r.secondValue)),ae=computed(()=>Math.max(r.firstValue,r.secondValue)),oe=computed(()=>t.range?`${100*(ae.value-re.value)/(t.max-t.min)}%`:`${100*(r.firstValue-t.min)/(t.max-t.min)}%`),ie=computed(()=>t.range?`${100*(re.value-t.min)/(t.max-t.min)}%`:"0%"),le=computed(()=>t.vertical?{height:t.height}:{}),ue=computed(()=>t.vertical?{height:oe.value,bottom:ie.value}:{width:oe.value,left:ie.value}),de=()=>{L.value&&(r.sliderSize=L.value[`client${t.vertical?"Height":"Width"}`])},pe=qe=>{const Et=t.min+qe*(t.max-t.min)/100;if(!t.range)return $;let kt;return Math.abs(re.value-Et)r.secondValue?"firstButton":"secondButton",z[kt]},he=qe=>{const Et=pe(qe);return Et.value.setPosition(qe),Et},_e=qe=>{r.firstValue=qe,$e(t.range?[re.value,ae.value]:qe)},Ce=qe=>{r.secondValue=qe,t.range&&$e([re.value,ae.value])},$e=qe=>{n(UPDATE_MODEL_EVENT,qe),n(INPUT_EVENT,qe)},xe=async()=>{await nextTick(),n(CHANGE_EVENT,t.range?[re.value,ae.value]:t.modelValue)},Ie=qe=>{var Et,kt,Lt,vn,jt,At;if(j.value||r.dragging)return;de();let hn=0;if(t.vertical){const bn=(Lt=(kt=(Et=qe.touches)==null?void 0:Et.item(0))==null?void 0:kt.clientY)!=null?Lt:qe.clientY;hn=(L.value.getBoundingClientRect().bottom-bn)/r.sliderSize*100}else{const bn=(At=(jt=(vn=qe.touches)==null?void 0:vn.item(0))==null?void 0:jt.clientX)!=null?At:qe.clientX,Cn=L.value.getBoundingClientRect().left;hn=(bn-Cn)/r.sliderSize*100}if(!(hn<0||hn>100))return he(hn)};return{elFormItem:y,slider:L,firstButton:$,secondButton:V,sliderDisabled:j,minValue:re,maxValue:ae,runwayStyle:le,barStyle:ue,resetSize:de,setPosition:he,emitChange:xe,onSliderWrapperPrevent:qe=>{var Et,kt;((Et=z.firstButton.value)!=null&&Et.dragging||(kt=z.secondButton.value)!=null&&kt.dragging)&&qe.preventDefault()},onSliderClick:qe=>{Ie(qe)&&xe()},onSliderDown:async qe=>{const Et=Ie(qe);Et&&(await nextTick(),Et.value.onButtonDown(qe))},setFirstValue:_e,setSecondValue:Ce}},{left,down,right,up,home,end:end$1,pageUp,pageDown}=EVENT_CODE,useTooltip=(t,r,n)=>{const g=ref(),y=ref(!1),L=computed(()=>r.value instanceof Function),$=computed(()=>L.value&&r.value(t.modelValue)||t.modelValue),V=debounce(()=>{n.value&&(y.value=!0)},50),z=debounce(()=>{n.value&&(y.value=!1)},50);return{tooltip:g,tooltipVisible:y,formatValue:$,displayTooltip:V,hideTooltip:z}},useSliderButton=(t,r,n)=>{const{disabled:g,min:y,max:L,step:$,showTooltip:V,precision:z,sliderSize:j,formatTooltip:re,emitChange:ae,resetSize:oe,updateDragging:ie}=inject(sliderContextKey),{tooltip:le,tooltipVisible:ue,formatValue:de,displayTooltip:pe,hideTooltip:he}=useTooltip(t,re,V),_e=ref(),Ce=computed(()=>`${(t.modelValue-y.value)/(L.value-y.value)*100}%`),$e=computed(()=>t.vertical?{bottom:Ce.value}:{left:Ce.value}),xe=()=>{r.hovering=!0,pe()},Ie=()=>{r.hovering=!1,r.dragging||he()},Ne=xn=>{g.value||(xn.preventDefault(),hn(xn),window.addEventListener("mousemove",bn),window.addEventListener("touchmove",bn),window.addEventListener("mouseup",Cn),window.addEventListener("touchend",Cn),window.addEventListener("contextmenu",Cn),_e.value.focus())},ze=xn=>{g.value||(r.newPosition=Number.parseFloat(Ce.value)+xn/(L.value-y.value)*100,Tn(r.newPosition),ae())},Fe=()=>{ze(-$.value)},qe=()=>{ze($.value)},Et=()=>{ze(-$.value*4)},kt=()=>{ze($.value*4)},Lt=()=>{g.value||(Tn(0),ae())},vn=()=>{g.value||(Tn(100),ae())},jt=xn=>{let En=!0;[left,down].includes(xn.key)?Fe():[right,up].includes(xn.key)?qe():xn.key===home?Lt():xn.key===end$1?vn():xn.key===pageDown?Et():xn.key===pageUp?kt():En=!1,En&&xn.preventDefault()},At=xn=>{let En,kn;return xn.type.startsWith("touch")?(kn=xn.touches[0].clientY,En=xn.touches[0].clientX):(kn=xn.clientY,En=xn.clientX),{clientX:En,clientY:kn}},hn=xn=>{r.dragging=!0,r.isClick=!0;const{clientX:En,clientY:kn}=At(xn);t.vertical?r.startY=kn:r.startX=En,r.startPosition=Number.parseFloat(Ce.value),r.newPosition=r.startPosition},bn=xn=>{if(r.dragging){r.isClick=!1,pe(),oe();let En;const{clientX:kn,clientY:On}=At(xn);t.vertical?(r.currentY=On,En=(r.startY-r.currentY)/j.value*100):(r.currentX=kn,En=(r.currentX-r.startX)/j.value*100),r.newPosition=r.startPosition+En,Tn(r.newPosition)}},Cn=()=>{r.dragging&&(setTimeout(()=>{r.dragging=!1,r.hovering||he(),r.isClick||Tn(r.newPosition),ae()},0),window.removeEventListener("mousemove",bn),window.removeEventListener("touchmove",bn),window.removeEventListener("mouseup",Cn),window.removeEventListener("touchend",Cn),window.removeEventListener("contextmenu",Cn))},Tn=async xn=>{if(xn===null||Number.isNaN(+xn))return;xn<0?xn=0:xn>100&&(xn=100);const En=100/((L.value-y.value)/$.value);let On=Math.round(xn/En)*En*(L.value-y.value)*.01+y.value;On=Number.parseFloat(On.toFixed(z.value)),On!==t.modelValue&&n(UPDATE_MODEL_EVENT,On),!r.dragging&&t.modelValue!==r.oldValue&&(r.oldValue=t.modelValue),await nextTick(),r.dragging&&pe(),le.value.updatePopper()};return watch(()=>r.dragging,xn=>{ie(xn)}),{disabled:g,button:_e,tooltip:le,tooltipVisible:ue,showTooltip:V,wrapperStyle:$e,formatValue:de,handleMouseEnter:xe,handleMouseLeave:Ie,onButtonDown:Ne,onKeyDown:jt,setPosition:Tn}},useStops=(t,r,n,g)=>({stops:computed(()=>{if(!t.showStops||t.min>t.max)return[];if(t.step===0)return[];const $=(t.max-t.min)/t.step,V=100*t.step/(t.max-t.min),z=Array.from({length:$-1}).map((j,re)=>(re+1)*V);return t.range?z.filter(j=>j<100*(n.value-t.min)/(t.max-t.min)||j>100*(g.value-t.min)/(t.max-t.min)):z.filter(j=>j>100*(r.firstValue-t.min)/(t.max-t.min))}),getStopStyle:$=>t.vertical?{bottom:`${$}%`}:{left:`${$}%`}}),useWatch=(t,r,n,g,y,L)=>{const $=j=>{y(UPDATE_MODEL_EVENT,j),y(INPUT_EVENT,j)},V=()=>t.range?![n.value,g.value].every((j,re)=>j===r.oldValue[re]):t.modelValue!==r.oldValue,z=()=>{var j,re;t.min>t.max&&throwError$1("Slider","min should not be greater than max.");const ae=t.modelValue;t.range&&Array.isArray(ae)?ae[1]t.max?$([t.max,t.max]):ae[0]t.max?$([ae[0],t.max]):(r.firstValue=ae[0],r.secondValue=ae[1],V()&&(t.validateEvent&&((j=L==null?void 0:L.validate)==null||j.call(L,"change").catch(oe=>void 0)),r.oldValue=ae.slice())):!t.range&&typeof ae=="number"&&!Number.isNaN(ae)&&(aet.max?$(t.max):(r.firstValue=ae,V()&&(t.validateEvent&&((re=L==null?void 0:L.validate)==null||re.call(L,"change").catch(oe=>void 0)),r.oldValue=ae)))};z(),watch(()=>r.dragging,j=>{j||z()}),watch(()=>t.modelValue,(j,re)=>{r.dragging||Array.isArray(j)&&Array.isArray(re)&&j.every((ae,oe)=>ae===re[oe])&&r.firstValue===j[0]&&r.secondValue===j[1]||z()},{deep:!0}),watch(()=>[t.min,t.max],()=>{z()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:t=>isNumber$2(t)},_hoisted_1$i=["tabindex"],__default__$s=defineComponent({name:"ElSliderButton"}),_sfc_main$D=defineComponent({...__default__$s,props:sliderButtonProps,emits:sliderButtonEmits,setup(t,{expose:r,emit:n}){const g=t,y=useNamespace("slider"),L=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:g.modelValue}),{disabled:$,button:V,tooltip:z,showTooltip:j,tooltipVisible:re,wrapperStyle:ae,formatValue:oe,handleMouseEnter:ie,handleMouseLeave:le,onButtonDown:ue,onKeyDown:de,setPosition:pe}=useSliderButton(g,L,n),{hovering:he,dragging:_e}=toRefs(L);return r({onButtonDown:ue,onKeyDown:de,setPosition:pe,hovering:he,dragging:_e}),(Ce,$e)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:V,class:normalizeClass([unref(y).e("button-wrapper"),{hover:unref(he),dragging:unref(_e)}]),style:normalizeStyle$1(unref(ae)),tabindex:unref($)?-1:0,onMouseenter:$e[0]||($e[0]=(...xe)=>unref(ie)&&unref(ie)(...xe)),onMouseleave:$e[1]||($e[1]=(...xe)=>unref(le)&&unref(le)(...xe)),onMousedown:$e[2]||($e[2]=(...xe)=>unref(ue)&&unref(ue)(...xe)),onTouchstart:$e[3]||($e[3]=(...xe)=>unref(ue)&&unref(ue)(...xe)),onFocus:$e[4]||($e[4]=(...xe)=>unref(ie)&&unref(ie)(...xe)),onBlur:$e[5]||($e[5]=(...xe)=>unref(le)&&unref(le)(...xe)),onKeydown:$e[6]||($e[6]=(...xe)=>unref(de)&&unref(de)(...xe))},[createVNode$1(unref(ElTooltip),{ref_key:"tooltip",ref:z,visible:unref(re),placement:Ce.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":Ce.tooltipClass,disabled:!unref(j),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString(unref(oe)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(y).e("button"),{hover:unref(he),dragging:unref(_e)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$i))}});var SliderButton=_export_sfc$1(_sfc_main$D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(t){const r=useNamespace("slider"),n=computed(()=>isString$3(t.mark)?t.mark:t.mark.label),g=computed(()=>isString$3(t.mark)?void 0:t.mark.style);return()=>h$1("div",{class:r.e("marks-text"),style:g.value},n.value)}});const _hoisted_1$h=["id","role","aria-label","aria-labelledby"],_hoisted_2$c={key:1},__default__$r=defineComponent({name:"ElSlider"}),_sfc_main$C=defineComponent({...__default__$r,props:sliderProps,emits:sliderEmits,setup(t,{expose:r,emit:n}){const g=t,y=useNamespace("slider"),{t:L}=useLocale(),$=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:V,slider:z,firstButton:j,secondButton:re,sliderDisabled:ae,minValue:oe,maxValue:ie,runwayStyle:le,barStyle:ue,resetSize:de,emitChange:pe,onSliderWrapperPrevent:he,onSliderClick:_e,onSliderDown:Ce,setFirstValue:$e,setSecondValue:xe}=useSlide(g,$,n),{stops:Ie,getStopStyle:Ne}=useStops(g,$,oe,ie),{inputId:ze,isLabeledByFormItem:Fe}=useFormItemInputId(g,{formItemContext:V}),qe=useFormSize(),Et=computed(()=>g.inputSize||qe.value),kt=computed(()=>g.label||L("el.slider.defaultLabel",{min:g.min,max:g.max})),Lt=computed(()=>g.range?g.rangeStartLabel||L("el.slider.defaultRangeStartLabel"):kt.value),vn=computed(()=>g.formatValueText?g.formatValueText(xn.value):`${xn.value}`),jt=computed(()=>g.rangeEndLabel||L("el.slider.defaultRangeEndLabel")),At=computed(()=>g.formatValueText?g.formatValueText(En.value):`${En.value}`),hn=computed(()=>[y.b(),y.m(qe.value),y.is("vertical",g.vertical),{[y.m("with-input")]:g.showInput}]),bn=useMarks(g);useWatch(g,$,oe,ie,n,V);const Cn=computed(()=>{const Rn=[g.min,g.max,g.step].map(In=>{const Mn=`${In}`.split(".")[1];return Mn?Mn.length:0});return Math.max.apply(null,Rn)}),{sliderWrapper:Tn}=useLifecycle(g,$,de),{firstValue:xn,secondValue:En,sliderSize:kn}=toRefs($),On=Rn=>{$.dragging=Rn};return provide(sliderContextKey,{...toRefs(g),sliderSize:kn,disabled:ae,precision:Cn,emitChange:pe,resetSize:de,updateDragging:On}),r({onSliderClick:_e}),(Rn,In)=>{var Mn,Vn;return openBlock(),createElementBlock("div",{id:Rn.range?unref(ze):void 0,ref_key:"sliderWrapper",ref:Tn,class:normalizeClass(unref(hn)),role:Rn.range?"group":void 0,"aria-label":Rn.range&&!unref(Fe)?unref(kt):void 0,"aria-labelledby":Rn.range&&unref(Fe)?(Mn=unref(V))==null?void 0:Mn.labelId:void 0,onTouchstart:In[2]||(In[2]=(...zn)=>unref(he)&&unref(he)(...zn)),onTouchmove:In[3]||(In[3]=(...zn)=>unref(he)&&unref(he)(...zn))},[createBaseVNode("div",{ref_key:"slider",ref:z,class:normalizeClass([unref(y).e("runway"),{"show-input":Rn.showInput&&!Rn.range},unref(y).is("disabled",unref(ae))]),style:normalizeStyle$1(unref(le)),onMousedown:In[0]||(In[0]=(...zn)=>unref(Ce)&&unref(Ce)(...zn)),onTouchstart:In[1]||(In[1]=(...zn)=>unref(Ce)&&unref(Ce)(...zn))},[createBaseVNode("div",{class:normalizeClass(unref(y).e("bar")),style:normalizeStyle$1(unref(ue))},null,6),createVNode$1(SliderButton,{id:Rn.range?void 0:unref(ze),ref_key:"firstButton",ref:j,"model-value":unref(xn),vertical:Rn.vertical,"tooltip-class":Rn.tooltipClass,placement:Rn.placement,role:"slider","aria-label":Rn.range||!unref(Fe)?unref(Lt):void 0,"aria-labelledby":!Rn.range&&unref(Fe)?(Vn=unref(V))==null?void 0:Vn.labelId:void 0,"aria-valuemin":Rn.min,"aria-valuemax":Rn.range?unref(En):Rn.max,"aria-valuenow":unref(xn),"aria-valuetext":unref(vn),"aria-orientation":Rn.vertical?"vertical":"horizontal","aria-disabled":unref(ae),"onUpdate:modelValue":unref($e)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),Rn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:re,"model-value":unref(En),vertical:Rn.vertical,"tooltip-class":Rn.tooltipClass,placement:Rn.placement,role:"slider","aria-label":unref(jt),"aria-valuemin":unref(xn),"aria-valuemax":Rn.max,"aria-valuenow":unref(En),"aria-valuetext":unref(At),"aria-orientation":Rn.vertical?"vertical":"horizontal","aria-disabled":unref(ae),"onUpdate:modelValue":unref(xe)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):createCommentVNode("v-if",!0),Rn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),(zn,Jn)=>(openBlock(),createElementBlock("div",{key:Jn,class:normalizeClass(unref(y).e("stop")),style:normalizeStyle$1(unref(Ne)(zn))},null,6))),128))])):createCommentVNode("v-if",!0),unref(bn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(zn,Jn)=>(openBlock(),createElementBlock("div",{key:Jn,style:normalizeStyle$1(unref(Ne)(zn.position)),class:normalizeClass([unref(y).e("stop"),unref(y).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(y).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(zn,Jn)=>(openBlock(),createBlock(unref(SliderMarker),{key:Jn,mark:zn.mark,style:normalizeStyle$1(unref(Ne)(zn.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),Rn.showInput&&!Rn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(xn),class:normalizeClass(unref(y).e("input")),step:Rn.step,disabled:unref(ae),controls:Rn.showInputControls,min:Rn.min,max:Rn.max,debounce:Rn.debounce,size:unref(Et),"onUpdate:modelValue":unref($e),onChange:unref(pe)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$h)}}});var Slider=_export_sfc$1(_sfc_main$C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(t,{slots:r}){const n=useNamespace("space"),g=computed(()=>`${t.prefixCls||n.b()}__item`);return()=>h$1("div",{class:g.value},renderSlot(r,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(t){const r=useNamespace("space"),n=computed(()=>[r.b(),r.m(t.direction),t.class]),g=ref(0),y=ref(0),L=computed(()=>{const V=t.wrap||t.fill?{flexWrap:"wrap",marginBottom:`-${y.value}px`}:{},z={alignItems:t.alignment};return[V,z,t.style]}),$=computed(()=>{const V={paddingBottom:`${y.value}px`,marginRight:`${g.value}px`},z=t.fill?{flexGrow:1,minWidth:`${t.fillRatio}%`}:{};return[V,z]});return watchEffect(()=>{const{size:V="small",wrap:z,direction:j,fill:re}=t;if(isArray$6(V)){const[ae=0,oe=0]=V;g.value=ae,y.value=oe}else{let ae;isNumber$2(V)?ae=V:ae=SIZE_MAP[V||"small"]||SIZE_MAP.small,(z||re)&&j==="horizontal"?g.value=y.value=ae:j==="horizontal"?(g.value=ae,y.value=0):(y.value=ae,g.value=0)}}),{classes:n,containerStyle:L,itemStyle:$}}const spaceProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:definePropType([String,Object,Array]),default:""},style:{type:definePropType([String,Array,Object]),default:""},alignment:{type:definePropType(String),default:"center"},prefixCls:{type:String},spacer:{type:definePropType([Object,String,Number,Array]),default:null,validator:t=>isVNode(t)||isNumber$2(t)||isString$3(t)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:t=>isNumber$2(t)||isArray$6(t)&&t.length===2&&t.every(isNumber$2)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(t,{slots:r}){const{classes:n,containerStyle:g,itemStyle:y}=useSpace(t);function L($,V="",z=[]){const{prefixCls:j}=t;return $.forEach((re,ae)=>{isFragment(re)?isArray$6(re.children)&&re.children.forEach((oe,ie)=>{isFragment(oe)&&isArray$6(oe.children)?L(oe.children,`${V+ie}-`,z):z.push(createVNode$1(SpaceItem,{style:y.value,prefixCls:j,key:`nested-${V+ie}`},{default:()=>[oe]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(re)&&z.push(createVNode$1(SpaceItem,{style:y.value,prefixCls:j,key:`LoopKey${V+ae}`},{default:()=>[re]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),z}return()=>{var $;const{spacer:V,direction:z}=t,j=renderSlot(r,"default",{key:0},()=>[]);if((($=j.children)!=null?$:[]).length===0)return null;if(isArray$6(j.children)){let re=L(j.children);if(V){const ae=re.length-1;re=re.reduce((oe,ie,le)=>{const ue=[...oe,ie];return le!==ae&&ue.push(createVNode$1("span",{style:[y.value,z==="vertical"?"width: 100%":null],key:le},[isVNode(V)?V:createTextVNode(V,PatchFlags.TEXT)],PatchFlags.STYLE)),ue},[])}return createVNode$1("div",{class:n.value,style:g.value},re,PatchFlags.STYLE|PatchFlags.CLASS)}return j.children}}}),ElSpace=withInstall(Space),statisticProps=buildProps({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:definePropType([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:definePropType([String,Object,Array])}}),__default__$q=defineComponent({name:"ElStatistic"}),_sfc_main$B=defineComponent({...__default__$q,props:statisticProps,setup(t,{expose:r}){const n=t,g=useNamespace("statistic"),y=computed(()=>{const{value:L,formatter:$,precision:V,decimalSeparator:z,groupSeparator:j}=n;if(isFunction$4($))return $(L);if(!isNumber$2(L))return L;let[re,ae=""]=String(L).split(".");return ae=ae.padEnd(V,"0").slice(0,V>0?V:0),re=re.replace(/\B(?=(\d{3})+(?!\d))/g,j),[re,ae].join(ae?z:"")});return r({displayValue:y}),(L,$)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(g).b())},[L.$slots.title||L.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(g).e("head"))},[renderSlot(L.$slots,"title",{},()=>[createTextVNode(toDisplayString(L.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(g).e("content"))},[L.$slots.prefix||L.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(g).e("prefix"))},[renderSlot(L.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString(L.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(g).e("number")),style:normalizeStyle$1(L.valueStyle)},toDisplayString(unref(y)),7),L.$slots.suffix||L.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(g).e("suffix"))},[renderSlot(L.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString(L.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$1(_sfc_main$B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);const ElStatistic=withInstall(Statistic),countdownProps=buildProps({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:definePropType([Number,Object]),default:0},valueStyle:{type:definePropType([String,Object,Array])}}),countdownEmits={finish:()=>!0,[CHANGE_EVENT]:t=>isNumber$2(t)},timeUnits$1=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],getTime$1=t=>isNumber$2(t)?new Date(t).getTime():t.valueOf(),formatTime$1=(t,r)=>{let n=t;const g=/\[([^\]]*)]/g;return timeUnits$1.reduce((L,[$,V])=>{const z=new RegExp(`${$}+(?![^\\[\\]]*\\])`,"g");if(z.test(L)){const j=Math.floor(n/V);return n-=j*V,L.replace(z,re=>String(j).padStart(re.length,"0"))}return L},r).replace(g,"$1")},__default__$p=defineComponent({name:"ElCountdown"}),_sfc_main$A=defineComponent({...__default__$p,props:countdownProps,emits:countdownEmits,setup(t,{expose:r,emit:n}){const g=t;let y;const L=ref(getTime$1(g.value)-Date.now()),$=computed(()=>formatTime$1(L.value,g.format)),V=re=>formatTime$1(re,g.format),z=()=>{y&&(cAF(y),y=void 0)},j=()=>{const re=getTime$1(g.value),ae=()=>{let oe=re-Date.now();n("change",oe),oe<=0?(oe=0,z(),n("finish")):y=rAF(ae),L.value=oe};y=rAF(ae)};return watch(()=>[g.value,g.format],()=>{z(),j()},{immediate:!0}),onBeforeUnmount(()=>{z()}),r({displayValue:$}),(re,ae)=>(openBlock(),createBlock(unref(ElStatistic),{value:L.value,title:re.title,prefix:re.prefix,suffix:re.suffix,"value-style":re.valueStyle,formatter:V},createSlots({_:2},[renderList(re.$slots,(oe,ie)=>({name:ie,fn:withCtx(()=>[renderSlot(re.$slots,ie)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$1(_sfc_main$A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/countdown/src/countdown.vue"]]);const ElCountdown=withInstall(Countdown),stepsProps=buildProps({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),stepsEmits={[CHANGE_EVENT]:(t,r)=>[t,r].every(isNumber$2)},__default__$o=defineComponent({name:"ElSteps"}),_sfc_main$z=defineComponent({...__default__$o,props:stepsProps,emits:stepsEmits,setup(t,{emit:r}){const n=t,g=useNamespace("steps"),y=ref([]);return watch(y,()=>{y.value.forEach((L,$)=>{L.setIndex($)})}),provide("ElSteps",{props:n,steps:y}),watch(()=>n.active,(L,$)=>{r(CHANGE_EVENT,L,$)}),(L,$)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(g).b(),unref(g).m(L.simple?"simple":L.direction)])},[renderSlot(L.$slots,"default")],2))}});var Steps=_export_sfc$1(_sfc_main$z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/steps.vue"]]);const stepProps=buildProps({title:{type:String,default:""},icon:{type:iconPropType},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),__default__$n=defineComponent({name:"ElStep"}),_sfc_main$y=defineComponent({...__default__$n,props:stepProps,setup(t){const r=t,n=useNamespace("step"),g=ref(-1),y=ref({}),L=ref(""),$=inject("ElSteps"),V=getCurrentInstance();onMounted(()=>{watch([()=>$.props.active,()=>$.props.processStatus,()=>$.props.finishStatus],([$e])=>{_e($e)},{immediate:!0})}),onBeforeUnmount(()=>{$.steps.value=$.steps.value.filter($e=>$e.uid!==(V==null?void 0:V.uid))});const z=computed(()=>r.status||L.value),j=computed(()=>{const $e=$.steps.value[g.value-1];return $e?$e.currentStatus:"wait"}),re=computed(()=>$.props.alignCenter),ae=computed(()=>$.props.direction==="vertical"),oe=computed(()=>$.props.simple),ie=computed(()=>$.steps.value.length),le=computed(()=>{var $e;return(($e=$.steps.value[ie.value-1])==null?void 0:$e.uid)===(V==null?void 0:V.uid)}),ue=computed(()=>oe.value?"":$.props.space),de=computed(()=>{const $e={flexBasis:isNumber$2(ue.value)?`${ue.value}px`:ue.value?ue.value:`${100/(ie.value-(re.value?0:1))}%`};return ae.value||le.value&&($e.maxWidth=`${100/ie.value}%`),$e}),pe=$e=>{g.value=$e},he=$e=>{const xe=$e==="wait",Ie={transitionDelay:`${xe?"-":""}${150*g.value}ms`},Ne=$e===$.props.processStatus||xe?0:100;Ie.borderWidth=Ne&&!oe.value?"1px":0,Ie[$.props.direction==="vertical"?"height":"width"]=`${Ne}%`,y.value=Ie},_e=$e=>{$e>g.value?L.value=$.props.finishStatus:$e===g.value&&j.value!=="error"?L.value=$.props.processStatus:L.value="wait";const xe=$.steps.value[g.value-1];xe&&xe.calcProgress(L.value)},Ce=reactive({uid:computed(()=>V==null?void 0:V.uid),currentStatus:z,setIndex:pe,calcProgress:he});return $.steps.value=[...$.steps.value,Ce],($e,xe)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(de)),class:normalizeClass([unref(n).b(),unref(n).is(unref(oe)?"simple":unref($).props.direction),unref(n).is("flex",unref(le)&&!unref(ue)&&!unref(re)),unref(n).is("center",unref(re)&&!unref(ae)&&!unref(oe))])},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(n).e("head"),unref(n).is(unref(z))])},[unref(oe)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(n).e("line-inner")),style:normalizeStyle$1(y.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(n).e("icon"),unref(n).is($e.icon||$e.$slots.icon?"icon":"text")])},[renderSlot($e.$slots,"icon",{},()=>[$e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(n).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($e.icon)))]),_:1},8,["class"])):unref(z)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(n).e("icon-inner"),unref(n).is("status")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):unref(z)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(n).e("icon-inner"),unref(n).is("status")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])):unref(oe)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(n).e("icon-inner"))},toDisplayString(g.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(n).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(n).e("title"),unref(n).is(unref(z))])},[renderSlot($e.$slots,"title",{},()=>[createTextVNode(toDisplayString($e.title),1)])],2),unref(oe)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(n).e("description"),unref(n).is(unref(z))])},[renderSlot($e.$slots,"description",{},()=>[createTextVNode(toDisplayString($e.description),1)])],2))],2)],6))}});var Step=_export_sfc$1(_sfc_main$y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String,loading:{type:Boolean,default:!1},beforeChange:{type:definePropType(Function)},size:{type:String,validator:isValidComponentSize},tabindex:{type:[String,Number]}}),switchEmits={[UPDATE_MODEL_EVENT]:t=>isBoolean$1(t)||isString$3(t)||isNumber$2(t),[CHANGE_EVENT]:t=>isBoolean$1(t)||isString$3(t)||isNumber$2(t),[INPUT_EVENT]:t=>isBoolean$1(t)||isString$3(t)||isNumber$2(t)},_hoisted_1$g=["onClick"],_hoisted_2$b=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$6=["aria-hidden"],_hoisted_4$4=["aria-hidden"],_hoisted_5$2=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$m=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$x=defineComponent({...__default__$m,props:switchProps,emits:switchEmits,setup(t,{expose:r,emit:n}){const g=t,y=getCurrentInstance(),{formItem:L}=useFormItem(),$=useFormSize(),V=useNamespace("switch");useDeprecated({from:'"value"',replacement:'"model-value" or "v-model"',scope:COMPONENT_NAME$8,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},computed(()=>{var $e;return!!(($e=y.vnode.props)!=null&&$e.value)}));const{inputId:z}=useFormItemInputId(g,{formItemContext:L}),j=useFormDisabled(computed(()=>g.loading)),re=ref(g.modelValue!==!1),ae=ref(),oe=ref(),ie=computed(()=>[V.b(),V.m($.value),V.is("disabled",j.value),V.is("checked",de.value)]),le=computed(()=>({width:addUnit(g.width)}));watch(()=>g.modelValue,()=>{re.value=!0}),watch(()=>g.value,()=>{re.value=!1});const ue=computed(()=>re.value?g.modelValue:g.value),de=computed(()=>ue.value===g.activeValue);[g.activeValue,g.inactiveValue].includes(ue.value)||(n(UPDATE_MODEL_EVENT,g.inactiveValue),n(CHANGE_EVENT,g.inactiveValue),n(INPUT_EVENT,g.inactiveValue)),watch(de,$e=>{var xe;ae.value.checked=$e,g.validateEvent&&((xe=L==null?void 0:L.validate)==null||xe.call(L,"change").catch(Ie=>void 0))});const pe=()=>{const $e=de.value?g.inactiveValue:g.activeValue;n(UPDATE_MODEL_EVENT,$e),n(CHANGE_EVENT,$e),n(INPUT_EVENT,$e),nextTick(()=>{ae.value.checked=de.value})},he=()=>{if(j.value)return;const{beforeChange:$e}=g;if(!$e){pe();return}const xe=$e();[isPromise(xe),isBoolean$1(xe)].includes(!0)||throwError$1(COMPONENT_NAME$8,"beforeChange must return type `Promise` or `boolean`"),isPromise(xe)?xe.then(Ne=>{Ne&&pe()}).catch(Ne=>{}):xe&&pe()},_e=computed(()=>V.cssVarBlock({...g.activeColor?{"on-color":g.activeColor}:null,...g.inactiveColor?{"off-color":g.inactiveColor}:null,...g.borderColor?{"border-color":g.borderColor}:null})),Ce=()=>{var $e,xe;(xe=($e=ae.value)==null?void 0:$e.focus)==null||xe.call($e)};return onMounted(()=>{ae.value.checked=de.value}),r({focus:Ce,checked:de}),($e,xe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ie)),style:normalizeStyle$1(unref(_e)),onClick:withModifiers(he,["prevent"])},[createBaseVNode("input",{id:unref(z),ref_key:"input",ref:ae,class:normalizeClass(unref(V).e("input")),type:"checkbox",role:"switch","aria-checked":unref(de),"aria-disabled":unref(j),name:$e.name,"true-value":$e.activeValue,"false-value":$e.inactiveValue,disabled:unref(j),tabindex:$e.tabindex,onChange:pe,onKeydown:withKeys(he,["enter"])},null,42,_hoisted_2$b),!$e.inlinePrompt&&($e.inactiveIcon||$e.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(V).e("label"),unref(V).em("label","left"),unref(V).is("active",!unref(de))])},[$e.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($e.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!$e.inactiveIcon&&$e.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(de)},toDisplayString($e.inactiveText),9,_hoisted_3$6)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:oe,class:normalizeClass(unref(V).e("core")),style:normalizeStyle$1(unref(le))},[$e.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("inner"))},[$e.activeIcon||$e.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(V).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(de)?$e.activeIcon:$e.inactiveIcon)))]),_:1},8,["class"])):$e.activeText||$e.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(V).is("text")),"aria-hidden":!unref(de)},toDisplayString(unref(de)?$e.activeText:$e.inactiveText),11,_hoisted_4$4)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(V).e("action"))},[$e.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(V).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],6),!$e.inlinePrompt&&($e.activeIcon||$e.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass([unref(V).e("label"),unref(V).em("label","right"),unref(V).is("active",unref(de))])},[$e.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($e.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!$e.activeIcon&&$e.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(de)},toDisplayString($e.activeText),9,_hoisted_5$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],14,_hoisted_1$g))}});var Switch=_export_sfc$1(_sfc_main$x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const ElSwitch=withInstall(Switch);/*! - * escape-html - * Copyright(c) 2012-2013 TJ Holowaychuk - * Copyright(c) 2015 Andreas Lubbe - * Copyright(c) 2015 Tiancheng "Timothy" Gu - * MIT Licensed - */var matchHtmlRegExp=/["'&<>]/,escapeHtml_1=escapeHtml;function escapeHtml(t){var r=""+t,n=matchHtmlRegExp.exec(r);if(!n)return r;var g,y="",L=0,$=0;for(L=n.index;Ltypeof j=="string"?get$1(V,j):j(V,z,t))):(r!=="$key"&&isObject$7(V)&&"$value"in V&&(V=V.$value),[isObject$7(V)?get$1(V,r):V])},$=function(V,z){if(g)return g(V.value,z.value);for(let j=0,re=V.key.length;jz.key[j])return 1}return 0};return t.map((V,z)=>({value:V,index:z,key:L?L(V,z):null})).sort((V,z)=>{let j=$(V,z);return j||(j=V.index-z.index),j*+n}).map(V=>V.value)},getColumnById=function(t,r){let n=null;return t.columns.forEach(g=>{g.id===r&&(n=g)}),n},getColumnByKey=function(t,r){let n=null;for(let g=0;g{if(!t)throw new Error("Row is required when get row identity");if(typeof r=="string"){if(!r.includes("."))return`${t[r]}`;const n=r.split(".");let g=t;for(const y of n)g=g[y];return`${g}`}else if(typeof r=="function")return r.call(null,t)},getKeysMap=function(t,r){const n={};return(t||[]).forEach((g,y)=>{n[getRowIdentity(g,r)]={row:g,index:y}}),n};function mergeOptions$1(t,r){const n={};let g;for(g in t)n[g]=t[g];for(g in r)if(hasOwn$1(r,g)){const y=r[g];typeof y<"u"&&(n[g]=y)}return n}function parseWidth(t){return t===""||t!==void 0&&(t=Number.parseInt(t,10),Number.isNaN(t)&&(t="")),t}function parseMinWidth(t){return t===""||t!==void 0&&(t=parseWidth(t),Number.isNaN(t)&&(t=80)),t}function parseHeight(t){return typeof t=="number"?t:typeof t=="string"?/^\d+(?:px)?$/.test(t)?Number.parseInt(t,10):t:null}function compose(...t){return t.length===0?r=>r:t.length===1?t[0]:t.reduce((r,n)=>(...g)=>r(n(...g)))}function toggleRowStatus(t,r,n){let g=!1;const y=t.indexOf(r),L=y!==-1,$=V=>{V==="add"?t.push(r):t.splice(y,1),g=!0,isArray$6(r.children)&&r.children.forEach(z=>{toggleRowStatus(t,z,n??!L)})};return isBoolean$1(n)?n&&!L?$("add"):!n&&L&&$("remove"):$(L?"remove":"add"),g}function walkTreeNode(t,r,n="children",g="hasChildren"){const y=$=>!(Array.isArray($)&&$.length);function L($,V,z){r($,V,z),V.forEach(j=>{if(j[g]){r(j,null,z+1);return}const re=j[n];y(re)||L(j,re,z+1)})}t.forEach($=>{if($[g]){r($,null,0);return}const V=$[n];y(V)||L($,V,0)})}let removePopper;function createTablePopper(t,r,n,g,y){y=merge$3({enterable:!0,showArrow:!0},y);const L=t==null?void 0:t.dataset.prefix,$=t==null?void 0:t.querySelector(`.${L}-scrollbar__wrap`);function V(){const de=y.effect==="light",pe=document.createElement("div");return pe.className=[`${L}-popper`,de?"is-light":"is-dark",y.popperClass||""].join(" "),n=escapeHtml$1(n),pe.innerHTML=n,pe.style.zIndex=String(g()),t==null||t.appendChild(pe),pe}function z(){const de=document.createElement("div");return de.className=`${L}-popper__arrow`,de}function j(){re&&re.update()}removePopper==null||removePopper(),removePopper=()=>{try{re&&re.destroy(),ie&&(t==null||t.removeChild(ie)),r.removeEventListener("mouseenter",ae),r.removeEventListener("mouseleave",oe),$==null||$.removeEventListener("scroll",removePopper),removePopper=void 0}catch{}};let re=null,ae=j,oe=removePopper;y.enterable&&({onOpen:ae,onClose:oe}=useDelayedToggle({showAfter:y.showAfter,hideAfter:y.hideAfter,open:j,close:removePopper}));const ie=V();ie.onmouseenter=ae,ie.onmouseleave=oe;const le=[];if(y.offset&&le.push({name:"offset",options:{offset:[0,y.offset]}}),y.showArrow){const de=ie.appendChild(z());le.push({name:"arrow",options:{element:de,padding:10}})}const ue=y.popperOptions||{};return re=yn(r,ie,{placement:y.placement||"top",strategy:"fixed",...ue,modifiers:ue.modifiers?le.concat(ue.modifiers):le}),r.addEventListener("mouseenter",ae),r.addEventListener("mouseleave",oe),$==null||$.addEventListener("scroll",removePopper),re}function getCurrentColumns(t){return t.children?flatMap(t.children,getCurrentColumns):[t]}function getColSpan(t,r){return t+r.colSpan}const isFixedColumn=(t,r,n,g)=>{let y=0,L=t;const $=n.states.columns.value;if(g){const z=getCurrentColumns(g[t]);y=$.slice(0,$.indexOf(z[0])).reduce(getColSpan,0),L=y+z.reduce(getColSpan,0)-1}else y=t;let V;switch(r){case"left":L=$.length-n.states.rightFixedLeafColumnsLength.value&&(V="right");break;default:L=$.length-n.states.rightFixedLeafColumnsLength.value&&(V="right")}return V?{direction:V,start:y,after:L}:{}},getFixedColumnsClass=(t,r,n,g,y,L=0)=>{const $=[],{direction:V,start:z,after:j}=isFixedColumn(r,n,g,y);if(V){const re=V==="left";$.push(`${t}-fixed-column--${V}`),re&&j+L===g.states.fixedLeafColumnsLength.value-1?$.push("is-last-column"):!re&&z-L===g.states.columns.value.length-g.states.rightFixedLeafColumnsLength.value&&$.push("is-first-column")}return $};function getOffset(t,r){return t+(r.realWidth===null||Number.isNaN(r.realWidth)?Number(r.width):r.realWidth)}const getFixedColumnOffset=(t,r,n,g)=>{const{direction:y,start:L=0,after:$=0}=isFixedColumn(t,r,n,g);if(!y)return;const V={},z=y==="left",j=n.states.columns.value;return z?V.left=j.slice(0,L).reduce(getOffset,0):V.right=j.slice($+1).reverse().reduce(getOffset,0),V},ensurePosition=(t,r)=>{t&&(Number.isNaN(t[r])||(t[r]=`${t[r]}px`))};function useExpand(t){const r=getCurrentInstance(),n=ref(!1),g=ref([]);return{updateExpandRows:()=>{const z=t.data.value||[],j=t.rowKey.value;if(n.value)g.value=z.slice();else if(j){const re=getKeysMap(g.value,j);g.value=z.reduce((ae,oe)=>{const ie=getRowIdentity(oe,j);return re[ie]&&ae.push(oe),ae},[])}else g.value=[]},toggleRowExpansion:(z,j)=>{toggleRowStatus(g.value,z,j)&&r.emit("expand-change",z,g.value.slice())},setExpandRowKeys:z=>{r.store.assertRowKey();const j=t.data.value||[],re=t.rowKey.value,ae=getKeysMap(j,re);g.value=z.reduce((oe,ie)=>{const le=ae[ie];return le&&oe.push(le.row),oe},[])},isRowExpanded:z=>{const j=t.rowKey.value;return j?!!getKeysMap(g.value,j)[getRowIdentity(z,j)]:g.value.includes(z)},states:{expandRows:g,defaultExpandAll:n}}}function useCurrent(t){const r=getCurrentInstance(),n=ref(null),g=ref(null),y=j=>{r.store.assertRowKey(),n.value=j,$(j)},L=()=>{n.value=null},$=j=>{const{data:re,rowKey:ae}=t;let oe=null;ae.value&&(oe=(unref(re)||[]).find(ie=>getRowIdentity(ie,ae.value)===j)),g.value=oe,r.emit("current-change",g.value,null)};return{setCurrentRowKey:y,restoreCurrentRowKey:L,setCurrentRowByKey:$,updateCurrentRow:j=>{const re=g.value;if(j&&j!==re){g.value=j,r.emit("current-change",g.value,re);return}!j&&re&&(g.value=null,r.emit("current-change",null,re))},updateCurrentRowData:()=>{const j=t.rowKey.value,re=t.data.value||[],ae=g.value;if(!re.includes(ae)&&ae){if(j){const oe=getRowIdentity(ae,j);$(oe)}else g.value=null;g.value===null&&r.emit("current-change",null,ae)}else n.value&&($(n.value),L())},states:{_currentRowKey:n,currentRow:g}}}function useTree$2(t){const r=ref([]),n=ref({}),g=ref(16),y=ref(!1),L=ref({}),$=ref("hasChildren"),V=ref("children"),z=getCurrentInstance(),j=computed(()=>{if(!t.rowKey.value)return{};const pe=t.data.value||[];return ae(pe)}),re=computed(()=>{const pe=t.rowKey.value,he=Object.keys(L.value),_e={};return he.length&&he.forEach(Ce=>{if(L.value[Ce].length){const $e={children:[]};L.value[Ce].forEach(xe=>{const Ie=getRowIdentity(xe,pe);$e.children.push(Ie),xe[$.value]&&!_e[Ie]&&(_e[Ie]={children:[]})}),_e[Ce]=$e}}),_e}),ae=pe=>{const he=t.rowKey.value,_e={};return walkTreeNode(pe,(Ce,$e,xe)=>{const Ie=getRowIdentity(Ce,he);Array.isArray($e)?_e[Ie]={children:$e.map(Ne=>getRowIdentity(Ne,he)),level:xe}:y.value&&(_e[Ie]={children:[],lazy:!0,level:xe})},V.value,$.value),_e},oe=(pe=!1,he=(_e=>(_e=z.store)==null?void 0:_e.states.defaultExpandAll.value)())=>{var _e;const Ce=j.value,$e=re.value,xe=Object.keys(Ce),Ie={};if(xe.length){const Ne=unref(n),ze=[],Fe=(Et,kt)=>{if(pe)return r.value?he||r.value.includes(kt):!!(he||Et!=null&&Et.expanded);{const Lt=he||r.value&&r.value.includes(kt);return!!(Et!=null&&Et.expanded||Lt)}};xe.forEach(Et=>{const kt=Ne[Et],Lt={...Ce[Et]};if(Lt.expanded=Fe(kt,Et),Lt.lazy){const{loaded:vn=!1,loading:jt=!1}=kt||{};Lt.loaded=!!vn,Lt.loading=!!jt,ze.push(Et)}Ie[Et]=Lt});const qe=Object.keys($e);y.value&&qe.length&&ze.length&&qe.forEach(Et=>{const kt=Ne[Et],Lt=$e[Et].children;if(ze.includes(Et)){if(Ie[Et].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Ie[Et].children=Lt}else{const{loaded:vn=!1,loading:jt=!1}=kt||{};Ie[Et]={lazy:!0,loaded:!!vn,loading:!!jt,expanded:Fe(kt,Et),children:Lt,level:""}}})}n.value=Ie,(_e=z.store)==null||_e.updateTableScrollY()};watch(()=>r.value,()=>{oe(!0)}),watch(()=>j.value,()=>{oe()}),watch(()=>re.value,()=>{oe()});const ie=pe=>{r.value=pe,oe()},le=(pe,he)=>{z.store.assertRowKey();const _e=t.rowKey.value,Ce=getRowIdentity(pe,_e),$e=Ce&&n.value[Ce];if(Ce&&$e&&"expanded"in $e){const xe=$e.expanded;he=typeof he>"u"?!$e.expanded:he,n.value[Ce].expanded=he,xe!==he&&z.emit("expand-change",pe,he),z.store.updateTableScrollY()}},ue=pe=>{z.store.assertRowKey();const he=t.rowKey.value,_e=getRowIdentity(pe,he),Ce=n.value[_e];y.value&&Ce&&"loaded"in Ce&&!Ce.loaded?de(pe,_e,Ce):le(pe,void 0)},de=(pe,he,_e)=>{const{load:Ce}=z.props;Ce&&!n.value[he].loaded&&(n.value[he].loading=!0,Ce(pe,_e,$e=>{if(!Array.isArray($e))throw new TypeError("[ElTable] data must be an array");n.value[he].loading=!1,n.value[he].loaded=!0,n.value[he].expanded=!0,$e.length&&(L.value[he]=$e),z.emit("expand-change",pe,!0)}))};return{loadData:de,loadOrToggle:ue,toggleTreeExpansion:le,updateTreeExpandKeys:ie,updateTreeData:oe,normalize:ae,states:{expandRowKeys:r,treeData:n,indent:g,lazy:y,lazyTreeNodeMap:L,lazyColumnIdentifier:$,childrenColumnName:V}}}const sortData=(t,r)=>{const n=r.sortingColumn;return!n||typeof n.sortable=="string"?t:orderBy(t,r.sortProp,r.sortOrder,n.sortMethod,n.sortBy)},doFlattenColumns=t=>{const r=[];return t.forEach(n=>{n.children?r.push.apply(r,doFlattenColumns(n.children)):r.push(n)}),r};function useWatcher$1(){var t;const r=getCurrentInstance(),{size:n}=toRefs((t=r.proxy)==null?void 0:t.$props),g=ref(null),y=ref([]),L=ref([]),$=ref(!1),V=ref([]),z=ref([]),j=ref([]),re=ref([]),ae=ref([]),oe=ref([]),ie=ref([]),le=ref([]),ue=[],de=ref(0),pe=ref(0),he=ref(0),_e=ref(!1),Ce=ref([]),$e=ref(!1),xe=ref(!1),Ie=ref(null),Ne=ref({}),ze=ref(null),Fe=ref(null),qe=ref(null),Et=ref(null),kt=ref(null);watch(y,()=>r.state&&At(!1),{deep:!0});const Lt=()=>{if(!g.value)throw new Error("[ElTable] prop row-key is required")},vn=xr=>{var or;(or=xr.children)==null||or.forEach(Dn=>{Dn.fixed=xr.fixed,vn(Dn)})},jt=()=>{V.value.forEach(Wn=>{vn(Wn)}),re.value=V.value.filter(Wn=>Wn.fixed===!0||Wn.fixed==="left"),ae.value=V.value.filter(Wn=>Wn.fixed==="right"),re.value.length>0&&V.value[0]&&V.value[0].type==="selection"&&!V.value[0].fixed&&(V.value[0].fixed=!0,re.value.unshift(V.value[0]));const xr=V.value.filter(Wn=>!Wn.fixed);z.value=[].concat(re.value).concat(xr).concat(ae.value);const or=doFlattenColumns(xr),Dn=doFlattenColumns(re.value),Hn=doFlattenColumns(ae.value);de.value=or.length,pe.value=Dn.length,he.value=Hn.length,j.value=[].concat(Dn).concat(or).concat(Hn),$.value=re.value.length>0||ae.value.length>0},At=(xr,or=!1)=>{xr&&jt(),or?r.state.doLayout():r.state.debouncedUpdateLayout()},hn=xr=>Ce.value.includes(xr),bn=()=>{_e.value=!1,Ce.value.length&&(Ce.value=[],r.emit("selection-change",[]))},Cn=()=>{let xr;if(g.value){xr=[];const or=getKeysMap(Ce.value,g.value),Dn=getKeysMap(y.value,g.value);for(const Hn in or)hasOwn$1(or,Hn)&&!Dn[Hn]&&xr.push(or[Hn].row)}else xr=Ce.value.filter(or=>!y.value.includes(or));if(xr.length){const or=Ce.value.filter(Dn=>!xr.includes(Dn));Ce.value=or,r.emit("selection-change",or.slice())}},Tn=()=>(Ce.value||[]).slice(),xn=(xr,or=void 0,Dn=!0)=>{if(toggleRowStatus(Ce.value,xr,or)){const Wn=(Ce.value||[]).slice();Dn&&r.emit("select",Wn,xr),r.emit("selection-change",Wn)}},En=()=>{var xr,or;const Dn=xe.value?!_e.value:!(_e.value||Ce.value.length);_e.value=Dn;let Hn=!1,Wn=0;const pr=(or=(xr=r==null?void 0:r.store)==null?void 0:xr.states)==null?void 0:or.rowKey.value;y.value.forEach((Pr,ir)=>{const Er=ir+Wn;Ie.value?Ie.value.call(null,Pr,Er)&&toggleRowStatus(Ce.value,Pr,Dn)&&(Hn=!0):toggleRowStatus(Ce.value,Pr,Dn)&&(Hn=!0),Wn+=Rn(getRowIdentity(Pr,pr))}),Hn&&r.emit("selection-change",Ce.value?Ce.value.slice():[]),r.emit("select-all",Ce.value)},kn=()=>{const xr=getKeysMap(Ce.value,g.value);y.value.forEach(or=>{const Dn=getRowIdentity(or,g.value),Hn=xr[Dn];Hn&&(Ce.value[Hn.index]=or)})},On=()=>{var xr,or,Dn;if(((xr=y.value)==null?void 0:xr.length)===0){_e.value=!1;return}let Hn;g.value&&(Hn=getKeysMap(Ce.value,g.value));const Wn=function(Er){return Hn?!!Hn[getRowIdentity(Er,g.value)]:Ce.value.includes(Er)};let pr=!0,Pr=0,ir=0;for(let Er=0,Kn=(y.value||[]).length;Er{var or;if(!r||!r.store)return 0;const{treeData:Dn}=r.store.states;let Hn=0;const Wn=(or=Dn.value[xr])==null?void 0:or.children;return Wn&&(Hn+=Wn.length,Wn.forEach(pr=>{Hn+=Rn(pr)})),Hn},In=(xr,or)=>{Array.isArray(xr)||(xr=[xr]);const Dn={};return xr.forEach(Hn=>{Ne.value[Hn.id]=or,Dn[Hn.columnKey||Hn.id]=or}),Dn},Mn=(xr,or,Dn)=>{Fe.value&&Fe.value!==xr&&(Fe.value.order=null),Fe.value=xr,qe.value=or,Et.value=Dn},Vn=()=>{let xr=unref(L);Object.keys(Ne.value).forEach(or=>{const Dn=Ne.value[or];if(!Dn||Dn.length===0)return;const Hn=getColumnById({columns:j.value},or);Hn&&Hn.filterMethod&&(xr=xr.filter(Wn=>Dn.some(pr=>Hn.filterMethod.call(null,pr,Wn,Hn))))}),ze.value=xr},zn=()=>{y.value=sortData(ze.value,{sortingColumn:Fe.value,sortProp:qe.value,sortOrder:Et.value})},Jn=(xr=void 0)=>{xr&&xr.filter||Vn(),zn()},tr=xr=>{const{tableHeaderRef:or}=r.refs;if(!or)return;const Dn=Object.assign({},or.filterPanels),Hn=Object.keys(Dn);if(Hn.length)if(typeof xr=="string"&&(xr=[xr]),Array.isArray(xr)){const Wn=xr.map(pr=>getColumnByKey({columns:j.value},pr));Hn.forEach(pr=>{const Pr=Wn.find(ir=>ir.id===pr);Pr&&(Pr.filteredValue=[])}),r.store.commit("filterChange",{column:Wn,values:[],silent:!0,multi:!0})}else Hn.forEach(Wn=>{const pr=j.value.find(Pr=>Pr.id===Wn);pr&&(pr.filteredValue=[])}),Ne.value={},r.store.commit("filterChange",{column:{},values:[],silent:!0})},$n=()=>{Fe.value&&(Mn(null,null,null),r.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Pn,toggleRowExpansion:Bn,updateExpandRows:Un,states:Fn,isRowExpanded:cr}=useExpand({data:y,rowKey:g}),{updateTreeExpandKeys:ur,toggleTreeExpansion:vr,updateTreeData:Yn,loadOrToggle:gr,states:lr}=useTree$2({data:y,rowKey:g}),{updateCurrentRowData:er,updateCurrentRow:br,setCurrentRowKey:wr,states:$r}=useCurrent({data:y,rowKey:g});return{assertRowKey:Lt,updateColumns:jt,scheduleLayout:At,isSelected:hn,clearSelection:bn,cleanSelection:Cn,getSelectionRows:Tn,toggleRowSelection:xn,_toggleAllSelection:En,toggleAllSelection:null,updateSelectionByRowKey:kn,updateAllSelected:On,updateFilters:In,updateCurrentRow:br,updateSort:Mn,execFilter:Vn,execSort:zn,execQuery:Jn,clearFilter:tr,clearSort:$n,toggleRowExpansion:Bn,setExpandRowKeysAdapter:xr=>{Pn(xr),ur(xr)},setCurrentRowKey:wr,toggleRowExpansionAdapter:(xr,or)=>{j.value.some(({type:Hn})=>Hn==="expand")?Bn(xr,or):vr(xr,or)},isRowExpanded:cr,updateExpandRows:Un,updateCurrentRowData:er,loadOrToggle:gr,updateTreeData:Yn,states:{tableSize:n,rowKey:g,data:y,_data:L,isComplex:$,_columns:V,originColumns:z,columns:j,fixedColumns:re,rightFixedColumns:ae,leafColumns:oe,fixedLeafColumns:ie,rightFixedLeafColumns:le,updateOrderFns:ue,leafColumnsLength:de,fixedLeafColumnsLength:pe,rightFixedLeafColumnsLength:he,isAllSelected:_e,selection:Ce,reserveSelection:$e,selectOnIndeterminate:xe,selectable:Ie,filters:Ne,filteredData:ze,sortingColumn:Fe,sortProp:qe,sortOrder:Et,hoverRow:kt,...Fn,...lr,...$r}}}function replaceColumn(t,r){return t.map(n=>{var g;return n.id===r.id?r:((g=n.children)!=null&&g.length&&(n.children=replaceColumn(n.children,r)),n)})}function sortColumn(t){t.forEach(r=>{var n,g;r.no=(n=r.getColumnIndex)==null?void 0:n.call(r),(g=r.children)!=null&&g.length&&sortColumn(r.children)}),t.sort((r,n)=>r.no-n.no)}function useStore(){const t=getCurrentInstance(),r=useWatcher$1();return{ns:useNamespace("table"),...r,mutations:{setData($,V){const z=unref($._data)!==V;$.data.value=V,$._data.value=V,t.store.execQuery(),t.store.updateCurrentRowData(),t.store.updateExpandRows(),t.store.updateTreeData(t.store.states.defaultExpandAll.value),unref($.reserveSelection)?(t.store.assertRowKey(),t.store.updateSelectionByRowKey()):z?t.store.clearSelection():t.store.cleanSelection(),t.store.updateAllSelected(),t.$ready&&t.store.scheduleLayout()},insertColumn($,V,z,j){const re=unref($._columns);let ae=[];z?(z&&!z.children&&(z.children=[]),z.children.push(V),ae=replaceColumn(re,z)):(re.push(V),ae=re),sortColumn(ae),$._columns.value=ae,$.updateOrderFns.push(j),V.type==="selection"&&($.selectable.value=V.selectable,$.reserveSelection.value=V.reserveSelection),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},updateColumnOrder($,V){var z;((z=V.getColumnIndex)==null?void 0:z.call(V))!==V.no&&(sortColumn($._columns.value),t.$ready&&t.store.updateColumns())},removeColumn($,V,z,j){const re=unref($._columns)||[];if(z)z.children.splice(z.children.findIndex(oe=>oe.id===V.id),1),nextTick(()=>{var oe;((oe=z.children)==null?void 0:oe.length)===0&&delete z.children}),$._columns.value=replaceColumn(re,z);else{const oe=re.indexOf(V);oe>-1&&(re.splice(oe,1),$._columns.value=re)}const ae=$.updateOrderFns.indexOf(j);ae>-1&&$.updateOrderFns.splice(ae,1),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},sort($,V){const{prop:z,order:j,init:re}=V;if(z){const ae=unref($.columns).find(oe=>oe.property===z);ae&&(ae.order=j,t.store.updateSort(ae,z,j),t.store.commit("changeSortCondition",{init:re}))}},changeSortCondition($,V){const{sortingColumn:z,sortProp:j,sortOrder:re}=$,ae=unref(z),oe=unref(j),ie=unref(re);ie===null&&($.sortingColumn.value=null,$.sortProp.value=null);const le={filter:!0};t.store.execQuery(le),(!V||!(V.silent||V.init))&&t.emit("sort-change",{column:ae,prop:oe,order:ie}),t.store.updateTableScrollY()},filterChange($,V){const{column:z,values:j,silent:re}=V,ae=t.store.updateFilters(z,j);t.store.execQuery(),re||t.emit("filter-change",ae),t.store.updateTableScrollY()},toggleAllSelection(){t.store.toggleAllSelection()},rowSelectedChanged($,V){t.store.toggleRowSelection(V),t.store.updateAllSelected()},setHoverRow($,V){$.hoverRow.value=V},setCurrentRow($,V){t.store.updateCurrentRow(V)}},commit:function($,...V){const z=t.store.mutations;if(z[$])z[$].apply(t,[t.store.states].concat(V));else throw new Error(`Action not found: ${$}`)},updateTableScrollY:function(){nextTick(()=>t.layout.updateScrollY.apply(t.layout))}}}const InitialStateMap={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"}};function createStore(t,r){if(!t)throw new Error("Table is required.");const n=useStore();return n.toggleAllSelection=debounce(n._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(g=>{handleValue(getArrKeysValue(r,g),g,n)}),proxyTableProps(n,r),n}function proxyTableProps(t,r){Object.keys(InitialStateMap).forEach(n=>{watch(()=>getArrKeysValue(r,n),g=>{handleValue(g,n,t)})})}function handleValue(t,r,n){let g=t,y=InitialStateMap[r];typeof InitialStateMap[r]=="object"&&(y=y.key,g=g||InitialStateMap[r].default),n.states[y].value=g}function getArrKeysValue(t,r){if(r.includes(".")){const n=r.split(".");let g=t;return n.forEach(y=>{g=g[y]}),g}else return t[r]}class TableLayout{constructor(r){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=ref(null),this.scrollX=ref(!1),this.scrollY=ref(!1),this.bodyWidth=ref(null),this.fixedWidth=ref(null),this.rightFixedWidth=ref(null),this.gutterWidth=0;for(const n in r)hasOwn$1(r,n)&&(isRef(this[n])?this[n].value=r[n]:this[n]=r[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(n!=null&&n.wrapRef)){let g=!0;const y=this.scrollY.value;return g=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=g,y!==g}return!1}setHeight(r,n="height"){if(!isClient$1)return;const g=this.table.vnode.el;if(r=parseHeight(r),this.height.value=Number(r),!g&&(r||r===0))return nextTick(()=>this.setHeight(r,n));typeof r=="number"?(g.style[n]=`${r}px`,this.updateElsHeight()):typeof r=="string"&&(g.style[n]=r,this.updateElsHeight())}setMaxHeight(r){this.setHeight(r,"max-height")}getFlattenColumns(){const r=[];return this.table.store.states.columns.value.forEach(g=>{g.isColumnGroup?r.push.apply(r,g.columns):r.push(g)}),r}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(r){if(!r)return!0;let n=r;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const r=this.fit,n=this.table.vnode.el.clientWidth;let g=0;const y=this.getFlattenColumns(),L=y.filter(z=>typeof z.width!="number");if(y.forEach(z=>{typeof z.width=="number"&&z.realWidth&&(z.realWidth=null)}),L.length>0&&r){if(y.forEach(z=>{g+=Number(z.width||z.minWidth||80)}),g<=n){this.scrollX.value=!1;const z=n-g;if(L.length===1)L[0].realWidth=Number(L[0].minWidth||80)+z;else{const j=L.reduce((oe,ie)=>oe+Number(ie.minWidth||80),0),re=z/j;let ae=0;L.forEach((oe,ie)=>{if(ie===0)return;const le=Math.floor(Number(oe.minWidth||80)*re);ae+=le,oe.realWidth=Number(oe.minWidth||80)+le}),L[0].realWidth=Number(L[0].minWidth||80)+z-ae}}else this.scrollX.value=!0,L.forEach(z=>{z.realWidth=Number(z.minWidth)});this.bodyWidth.value=Math.max(g,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else y.forEach(z=>{!z.width&&!z.minWidth?z.realWidth=80:z.realWidth=Number(z.width||z.minWidth),g+=z.realWidth}),this.scrollX.value=g>n,this.bodyWidth.value=g;const $=this.store.states.fixedColumns.value;if($.length>0){let z=0;$.forEach(j=>{z+=Number(j.realWidth||j.width)}),this.fixedWidth.value=z}const V=this.store.states.rightFixedColumns.value;if(V.length>0){let z=0;V.forEach(j=>{z+=Number(j.realWidth||j.width)}),this.rightFixedWidth.value=z}this.notifyObservers("columns")}addObserver(r){this.observers.push(r)}removeObserver(r){const n=this.observers.indexOf(r);n!==-1&&this.observers.splice(n,1)}notifyObservers(r){this.observers.forEach(g=>{var y,L;switch(r){case"columns":(y=g.state)==null||y.onColumnsChange(this);break;case"scrollable":(L=g.state)==null||L.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${r}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$w=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox,ElCheckboxGroup,ElScrollbar,ElTooltip,ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},directives:{ClickOutside},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(t){const r=getCurrentInstance(),{t:n}=useLocale(),g=useNamespace("table-filter"),y=r==null?void 0:r.parent;y.filterPanels.value[t.column.id]||(y.filterPanels.value[t.column.id]=r);const L=ref(!1),$=ref(null),V=computed(()=>t.column&&t.column.filters),z=computed({get:()=>{var Ce;return(((Ce=t.column)==null?void 0:Ce.filteredValue)||[])[0]},set:Ce=>{j.value&&(typeof Ce<"u"&&Ce!==null?j.value.splice(0,1,Ce):j.value.splice(0,1))}}),j=computed({get(){return t.column?t.column.filteredValue||[]:[]},set(Ce){t.column&&t.upDataColumn("filteredValue",Ce)}}),re=computed(()=>t.column?t.column.filterMultiple:!0),ae=Ce=>Ce.value===z.value,oe=()=>{L.value=!1},ie=Ce=>{Ce.stopPropagation(),L.value=!L.value},le=()=>{L.value=!1},ue=()=>{he(j.value),oe()},de=()=>{j.value=[],he(j.value),oe()},pe=Ce=>{z.value=Ce,he(typeof Ce<"u"&&Ce!==null?j.value:[]),oe()},he=Ce=>{t.store.commit("filterChange",{column:t.column,values:Ce}),t.store.updateAllSelected()};watch(L,Ce=>{t.column&&t.upDataColumn("filterOpened",Ce)},{immediate:!0});const _e=computed(()=>{var Ce,$e;return($e=(Ce=$.value)==null?void 0:Ce.popperRef)==null?void 0:$e.contentRef});return{tooltipVisible:L,multiple:re,filteredValue:j,filterValue:z,filters:V,handleConfirm:ue,handleReset:de,handleSelect:pe,isActive:ae,t:n,ns:g,showFilterPanel:ie,hideFilterPanel:le,popperPaneRef:_e,tooltip:$}}}),_hoisted_1$f={key:0},_hoisted_2$a=["disabled"],_hoisted_3$5=["label","onClick"];function _sfc_render$4(t,r,n,g,y,L){const $=resolveComponent("el-checkbox"),V=resolveComponent("el-checkbox-group"),z=resolveComponent("el-scrollbar"),j=resolveComponent("arrow-up"),re=resolveComponent("arrow-down"),ae=resolveComponent("el-icon"),oe=resolveComponent("el-tooltip"),ie=resolveDirective("click-outside");return openBlock(),createBlock(oe,{ref:"tooltip",visible:t.tooltipVisible,offset:0,placement:t.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":t.ns.b(),persistent:""},{content:withCtx(()=>[t.multiple?(openBlock(),createElementBlock("div",_hoisted_1$f,[createBaseVNode("div",{class:normalizeClass(t.ns.e("content"))},[createVNode$1(z,{"wrap-class":t.ns.e("wrap")},{default:withCtx(()=>[createVNode$1(V,{modelValue:t.filteredValue,"onUpdate:modelValue":r[0]||(r[0]=le=>t.filteredValue=le),class:normalizeClass(t.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filters,le=>(openBlock(),createBlock($,{key:le.value,label:le.value},{default:withCtx(()=>[createTextVNode(toDisplayString(le.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(t.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[t.ns.is("disabled")]:t.filteredValue.length===0}),disabled:t.filteredValue.length===0,type:"button",onClick:r[1]||(r[1]=(...le)=>t.handleConfirm&&t.handleConfirm(...le))},toDisplayString(t.t("el.table.confirmFilter")),11,_hoisted_2$a),createBaseVNode("button",{type:"button",onClick:r[2]||(r[2]=(...le)=>t.handleReset&&t.handleReset(...le))},toDisplayString(t.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(t.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([t.ns.e("list-item"),{[t.ns.is("active")]:t.filterValue===void 0||t.filterValue===null}]),onClick:r[3]||(r[3]=le=>t.handleSelect(null))},toDisplayString(t.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.filters,le=>(openBlock(),createElementBlock("li",{key:le.value,class:normalizeClass([t.ns.e("list-item"),t.ns.is("active",t.isActive(le))]),label:le.value,onClick:ue=>t.handleSelect(le.value)},toDisplayString(le.text),11,_hoisted_3$5))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${t.ns.namespace.value}-table__column-filter-trigger`,`${t.ns.namespace.value}-none-outline`]),onClick:r[4]||(r[4]=(...le)=>t.showFilterPanel&&t.showFilterPanel(...le))},[createVNode$1(ae,null,{default:withCtx(()=>[t.column.filterOpened?(openBlock(),createBlock(j,{key:0})):(openBlock(),createBlock(re,{key:1}))]),_:1})],2)),[[ie,t.hideFilterPanel,t.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$1(_sfc_main$w,[["render",_sfc_render$4],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function useLayoutObserver(t){const r=getCurrentInstance();onBeforeMount(()=>{n.value.addObserver(r)}),onMounted(()=>{g(n.value),y(n.value)}),onUpdated(()=>{g(n.value),y(n.value)}),onUnmounted(()=>{n.value.removeObserver(r)});const n=computed(()=>{const L=t.layout;if(!L)throw new Error("Can not find table layout.");return L}),g=L=>{var $;const V=(($=t.vnode.el)==null?void 0:$.querySelectorAll("colgroup > col"))||[];if(!V.length)return;const z=L.getFlattenColumns(),j={};z.forEach(re=>{j[re.id]=re});for(let re=0,ae=V.length;re{var $,V;const z=(($=t.vnode.el)==null?void 0:$.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let re=0,ae=z.length;re{ue.stopPropagation()},L=(ue,de)=>{!de.filters&&de.sortable?le(ue,de,!1):de.filterable&&!de.sortable&&y(ue),g==null||g.emit("header-click",de,ue)},$=(ue,de)=>{g==null||g.emit("header-contextmenu",de,ue)},V=ref(null),z=ref(!1),j=ref({}),re=(ue,de)=>{if(isClient$1&&!(de.children&&de.children.length>0)&&V.value&&t.border){z.value=!0;const pe=g;r("set-drag-visible",!0);const _e=(pe==null?void 0:pe.vnode.el).getBoundingClientRect().left,Ce=n.vnode.el.querySelector(`th.${de.id}`),$e=Ce.getBoundingClientRect(),xe=$e.left-_e+30;addClass(Ce,"noclick"),j.value={startMouseLeft:ue.clientX,startLeft:$e.right-_e,startColumnLeft:$e.left-_e,tableLeft:_e};const Ie=pe==null?void 0:pe.refs.resizeProxy;Ie.style.left=`${j.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const Ne=Fe=>{const qe=Fe.clientX-j.value.startMouseLeft,Et=j.value.startLeft+qe;Ie.style.left=`${Math.max(xe,Et)}px`},ze=()=>{if(z.value){const{startColumnLeft:Fe,startLeft:qe}=j.value,kt=Number.parseInt(Ie.style.left,10)-Fe;de.width=de.realWidth=kt,pe==null||pe.emit("header-dragend",de.width,qe-Fe,de,ue),requestAnimationFrame(()=>{t.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",z.value=!1,V.value=null,j.value={},r("set-drag-visible",!1)}document.removeEventListener("mousemove",Ne),document.removeEventListener("mouseup",ze),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(Ce,"noclick")},0)};document.addEventListener("mousemove",Ne),document.addEventListener("mouseup",ze)}},ae=(ue,de)=>{var pe;if(de.children&&de.children.length>0)return;const he=(pe=ue.target)==null?void 0:pe.closest("th");if(!(!de||!de.resizable)&&!z.value&&t.border){const _e=he.getBoundingClientRect(),Ce=document.body.style;_e.width>12&&_e.right-ue.pageX<8?(Ce.cursor="col-resize",hasClass(he,"is-sortable")&&(he.style.cursor="col-resize"),V.value=de):z.value||(Ce.cursor="",hasClass(he,"is-sortable")&&(he.style.cursor="pointer"),V.value=null)}},oe=()=>{isClient$1&&(document.body.style.cursor="")},ie=({order:ue,sortOrders:de})=>{if(ue==="")return de[0];const pe=de.indexOf(ue||null);return de[pe>de.length-2?0:pe+1]},le=(ue,de,pe)=>{var he;ue.stopPropagation();const _e=de.order===pe?null:pe||ie(de),Ce=(he=ue.target)==null?void 0:he.closest("th");if(Ce&&hasClass(Ce,"noclick")){removeClass(Ce,"noclick");return}if(!de.sortable)return;const $e=t.store.states;let xe=$e.sortProp.value,Ie;const Ne=$e.sortingColumn.value;(Ne!==de||Ne===de&&Ne.order===null)&&(Ne&&(Ne.order=null),$e.sortingColumn.value=de,xe=de.property),_e?Ie=de.order=_e:Ie=de.order=null,$e.sortProp.value=xe,$e.sortOrder.value=Ie,g==null||g.store.commit("changeSortCondition")};return{handleHeaderClick:L,handleHeaderContextMenu:$,handleMouseDown:re,handleMouseMove:ae,handleMouseOut:oe,handleSortClick:le,handleFilterClick:y}}function useStyle$2(t){const r=inject(TABLE_INJECTION_KEY),n=useNamespace("table");return{getHeaderRowStyle:V=>{const z=r==null?void 0:r.props.headerRowStyle;return typeof z=="function"?z.call(null,{rowIndex:V}):z},getHeaderRowClass:V=>{const z=[],j=r==null?void 0:r.props.headerRowClassName;return typeof j=="string"?z.push(j):typeof j=="function"&&z.push(j.call(null,{rowIndex:V})),z.join(" ")},getHeaderCellStyle:(V,z,j,re)=>{var ae;let oe=(ae=r==null?void 0:r.props.headerCellStyle)!=null?ae:{};typeof oe=="function"&&(oe=oe.call(null,{rowIndex:V,columnIndex:z,row:j,column:re}));const ie=getFixedColumnOffset(z,re.fixed,t.store,j);return ensurePosition(ie,"left"),ensurePosition(ie,"right"),Object.assign({},oe,ie)},getHeaderCellClass:(V,z,j,re)=>{const ae=getFixedColumnsClass(n.b(),z,re.fixed,t.store,j),oe=[re.id,re.order,re.headerAlign,re.className,re.labelClassName,...ae];re.children||oe.push("is-leaf"),re.sortable&&oe.push("is-sortable");const ie=r==null?void 0:r.props.headerCellClassName;return typeof ie=="string"?oe.push(ie):typeof ie=="function"&&oe.push(ie.call(null,{rowIndex:V,columnIndex:z,row:j,column:re})),oe.push(n.e("cell")),oe.filter(le=>!!le).join(" ")}}}const getAllColumns=t=>{const r=[];return t.forEach(n=>{n.children?(r.push(n),r.push.apply(r,getAllColumns(n.children))):r.push(n)}),r},convertToRows=t=>{let r=1;const n=(L,$)=>{if($&&(L.level=$.level+1,r{n(z,L),V+=z.colSpan}),L.colSpan=V}else L.colSpan=1};t.forEach(L=>{L.level=1,n(L,void 0)});const g=[];for(let L=0;L{L.children?(L.rowSpan=1,L.children.forEach($=>$.isSubColumn=!0)):L.rowSpan=r-L.level+1,g[L.level-1].push(L)}),g};function useUtils$1(t){const r=inject(TABLE_INJECTION_KEY),n=computed(()=>convertToRows(t.store.states.originColumns.value));return{isGroup:computed(()=>{const L=n.value.length>1;return L&&r&&(r.state.isGroup.value=!0),L}),toggleAllSelection:L=>{L.stopPropagation(),r==null||r.store.commit("toggleAllSelection")},columnRows:n}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t,{emit:r}){const n=getCurrentInstance(),g=inject(TABLE_INJECTION_KEY),y=useNamespace("table"),L=ref({}),{onColumnsChange:$,onScrollableChange:V}=useLayoutObserver(g);onMounted(async()=>{await nextTick(),await nextTick();const{prop:xe,order:Ie}=t.defaultSort;g==null||g.store.commit("sort",{prop:xe,order:Ie,init:!0})});const{handleHeaderClick:z,handleHeaderContextMenu:j,handleMouseDown:re,handleMouseMove:ae,handleMouseOut:oe,handleSortClick:ie,handleFilterClick:le}=useEvent(t,r),{getHeaderRowStyle:ue,getHeaderRowClass:de,getHeaderCellStyle:pe,getHeaderCellClass:he}=useStyle$2(t),{isGroup:_e,toggleAllSelection:Ce,columnRows:$e}=useUtils$1(t);return n.state={onColumnsChange:$,onScrollableChange:V},n.filterPanels=L,{ns:y,filterPanels:L,onColumnsChange:$,onScrollableChange:V,columnRows:$e,getHeaderRowClass:de,getHeaderRowStyle:ue,getHeaderCellClass:he,getHeaderCellStyle:pe,handleHeaderClick:z,handleHeaderContextMenu:j,handleMouseDown:re,handleMouseMove:ae,handleMouseOut:oe,handleSortClick:ie,handleFilterClick:le,isGroup:_e,toggleAllSelection:Ce}},render(){const{ns:t,isGroup:r,columnRows:n,getHeaderCellStyle:g,getHeaderCellClass:y,getHeaderRowClass:L,getHeaderRowStyle:$,handleHeaderClick:V,handleHeaderContextMenu:z,handleMouseDown:j,handleMouseMove:re,handleSortClick:ae,handleMouseOut:oe,store:ie,$parent:le}=this;let ue=1;return h$1("thead",{class:{[t.is("group")]:r}},n.map((de,pe)=>h$1("tr",{class:L(pe),key:pe,style:$(pe)},de.map((he,_e)=>(he.rowSpan>ue&&(ue=he.rowSpan),h$1("th",{class:y(pe,_e,de,he),colspan:he.colSpan,key:`${he.id}-thead`,rowspan:he.rowSpan,style:g(pe,_e,de,he),onClick:Ce=>V(Ce,he),onContextmenu:Ce=>z(Ce,he),onMousedown:Ce=>j(Ce,he),onMousemove:Ce=>re(Ce,he),onMouseout:oe},[h$1("div",{class:["cell",he.filteredValue&&he.filteredValue.length>0?"highlight":""]},[he.renderHeader?he.renderHeader({column:he,$index:_e,store:ie,_self:le}):he.label,he.sortable&&h$1("span",{onClick:Ce=>ae(Ce,he),class:"caret-wrapper"},[h$1("i",{onClick:Ce=>ae(Ce,he,"ascending"),class:"sort-caret ascending"}),h$1("i",{onClick:Ce=>ae(Ce,he,"descending"),class:"sort-caret descending"})]),he.filterable&&h$1(FilterPanel,{store:ie,placement:he.filterPlacement||"bottom-start",column:he,upDataColumn:(Ce,$e)=>{he[Ce]=$e}})])]))))))}});function useEvents(t){const r=inject(TABLE_INJECTION_KEY),n=ref(""),g=ref(h$1("div")),{nextZIndex:y}=useZIndex(),L=(ie,le,ue)=>{var de;const pe=r,he=getCell(ie);let _e;const Ce=(de=pe==null?void 0:pe.vnode.el)==null?void 0:de.dataset.prefix;he&&(_e=getColumnByCell({columns:t.store.states.columns.value},he,Ce),_e&&(pe==null||pe.emit(`cell-${ue}`,le,_e,he,ie))),pe==null||pe.emit(`row-${ue}`,le,_e,ie)},$=(ie,le)=>{L(ie,le,"dblclick")},V=(ie,le)=>{t.store.commit("setCurrentRow",le),L(ie,le,"click")},z=(ie,le)=>{L(ie,le,"contextmenu")},j=debounce(ie=>{t.store.commit("setHoverRow",ie)},30),re=debounce(()=>{t.store.commit("setHoverRow",null)},30);return{handleDoubleClick:$,handleClick:V,handleContextMenu:z,handleMouseEnter:j,handleMouseLeave:re,handleCellMouseEnter:(ie,le,ue)=>{var de;const pe=r,he=getCell(ie),_e=(de=pe==null?void 0:pe.vnode.el)==null?void 0:de.dataset.prefix;if(he){const Ne=getColumnByCell({columns:t.store.states.columns.value},he,_e),ze=pe.hoverState={cell:he,column:Ne,row:le};pe==null||pe.emit("cell-mouse-enter",ze.row,ze.column,ze.cell,ie)}if(!ue)return;const Ce=ie.target.querySelector(".cell");if(!(hasClass(Ce,`${_e}-tooltip`)&&Ce.childNodes.length))return;const $e=document.createRange();$e.setStart(Ce,0),$e.setEnd(Ce,Ce.childNodes.length);const xe=Math.round($e.getBoundingClientRect().width),Ie=(Number.parseInt(getStyle$1(Ce,"paddingLeft"),10)||0)+(Number.parseInt(getStyle$1(Ce,"paddingRight"),10)||0);(xe+Ie>Ce.offsetWidth||Ce.scrollWidth>Ce.offsetWidth)&&createTablePopper(r==null?void 0:r.refs.tableWrapper,he,he.innerText||he.textContent,y,ue)},handleCellMouseLeave:ie=>{if(!getCell(ie))return;const ue=r==null?void 0:r.hoverState;r==null||r.emit("cell-mouse-leave",ue==null?void 0:ue.row,ue==null?void 0:ue.column,ue==null?void 0:ue.cell,ie)},tooltipContent:n,tooltipTrigger:g}}function useStyles$1(t){const r=inject(TABLE_INJECTION_KEY),n=useNamespace("table");return{getRowStyle:(j,re)=>{const ae=r==null?void 0:r.props.rowStyle;return typeof ae=="function"?ae.call(null,{row:j,rowIndex:re}):ae||null},getRowClass:(j,re)=>{const ae=[n.e("row")];r!=null&&r.props.highlightCurrentRow&&j===t.store.states.currentRow.value&&ae.push("current-row"),t.stripe&&re%2===1&&ae.push(n.em("row","striped"));const oe=r==null?void 0:r.props.rowClassName;return typeof oe=="string"?ae.push(oe):typeof oe=="function"&&ae.push(oe.call(null,{row:j,rowIndex:re})),ae},getCellStyle:(j,re,ae,oe)=>{const ie=r==null?void 0:r.props.cellStyle;let le=ie??{};typeof ie=="function"&&(le=ie.call(null,{rowIndex:j,columnIndex:re,row:ae,column:oe}));const ue=getFixedColumnOffset(re,t==null?void 0:t.fixed,t.store);return ensurePosition(ue,"left"),ensurePosition(ue,"right"),Object.assign({},le,ue)},getCellClass:(j,re,ae,oe,ie)=>{const le=getFixedColumnsClass(n.b(),re,t==null?void 0:t.fixed,t.store,void 0,ie),ue=[oe.id,oe.align,oe.className,...le],de=r==null?void 0:r.props.cellClassName;return typeof de=="string"?ue.push(de):typeof de=="function"&&ue.push(de.call(null,{rowIndex:j,columnIndex:re,row:ae,column:oe})),ue.push(n.e("cell")),ue.filter(pe=>!!pe).join(" ")},getSpan:(j,re,ae,oe)=>{let ie=1,le=1;const ue=r==null?void 0:r.props.spanMethod;if(typeof ue=="function"){const de=ue({row:j,column:re,rowIndex:ae,columnIndex:oe});Array.isArray(de)?(ie=de[0],le=de[1]):typeof de=="object"&&(ie=de.rowspan,le=de.colspan)}return{rowspan:ie,colspan:le}},getColspanRealWidth:(j,re,ae)=>{if(re<1)return j[ae].realWidth;const oe=j.map(({realWidth:ie,width:le})=>ie||le).slice(ae,ae+re);return Number(oe.reduce((ie,le)=>Number(ie)+Number(le),-1))}}}function useRender$1(t){const r=inject(TABLE_INJECTION_KEY),n=useNamespace("table"),{handleDoubleClick:g,handleClick:y,handleContextMenu:L,handleMouseEnter:$,handleMouseLeave:V,handleCellMouseEnter:z,handleCellMouseLeave:j,tooltipContent:re,tooltipTrigger:ae}=useEvents(t),{getRowStyle:oe,getRowClass:ie,getCellStyle:le,getCellClass:ue,getSpan:de,getColspanRealWidth:pe}=useStyles$1(t),he=computed(()=>t.store.states.columns.value.findIndex(({type:Ie})=>Ie==="default")),_e=(Ie,Ne)=>{const ze=r.props.rowKey;return ze?getRowIdentity(Ie,ze):Ne},Ce=(Ie,Ne,ze,Fe=!1)=>{const{tooltipEffect:qe,tooltipOptions:Et,store:kt}=t,{indent:Lt,columns:vn}=kt.states,jt=ie(Ie,Ne);let At=!0;return ze&&(jt.push(n.em("row",`level-${ze.level}`)),At=ze.display),h$1("tr",{style:[At?null:{display:"none"},oe(Ie,Ne)],class:jt,key:_e(Ie,Ne),onDblclick:bn=>g(bn,Ie),onClick:bn=>y(bn,Ie),onContextmenu:bn=>L(bn,Ie),onMouseenter:()=>$(Ne),onMouseleave:V},vn.value.map((bn,Cn)=>{const{rowspan:Tn,colspan:xn}=de(Ie,bn,Ne,Cn);if(!Tn||!xn)return null;const En={...bn};En.realWidth=pe(vn.value,xn,Cn);const kn={store:t.store,_self:t.context||r,column:En,row:Ie,$index:Ne,cellIndex:Cn,expanded:Fe};Cn===he.value&&ze&&(kn.treeNode={indent:ze.level*Lt.value,level:ze.level},typeof ze.expanded=="boolean"&&(kn.treeNode.expanded=ze.expanded,"loading"in ze&&(kn.treeNode.loading=ze.loading),"noLazyChildren"in ze&&(kn.treeNode.noLazyChildren=ze.noLazyChildren)));const On=`${Ne},${Cn}`,Rn=En.columnKey||En.rawColumnKey||"",In=$e(Cn,bn,kn),Mn=bn.showOverflowTooltip&&merge$3({effect:qe},Et,bn.showOverflowTooltip);return h$1("td",{style:le(Ne,Cn,Ie,bn),class:ue(Ne,Cn,Ie,bn,xn-1),key:`${Rn}${On}`,rowspan:Tn,colspan:xn,onMouseenter:Vn=>z(Vn,Ie,Mn),onMouseleave:j},[In])}))},$e=(Ie,Ne,ze)=>Ne.renderCell(ze);return{wrappedRowRender:(Ie,Ne)=>{const ze=t.store,{isRowExpanded:Fe,assertRowKey:qe}=ze,{treeData:Et,lazyTreeNodeMap:kt,childrenColumnName:Lt,rowKey:vn}=ze.states,jt=ze.states.columns.value;if(jt.some(({type:hn})=>hn==="expand")){const hn=Fe(Ie),bn=Ce(Ie,Ne,void 0,hn),Cn=r.renderExpanded;return hn?Cn?[[bn,h$1("tr",{key:`expanded-row__${bn.key}`},[h$1("td",{colspan:jt.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[Cn({row:Ie,$index:Ne,store:ze,expanded:hn})])])]]:(console.error("[Element Error]renderExpanded is required."),bn):[[bn]]}else if(Object.keys(Et.value).length){qe();const hn=getRowIdentity(Ie,vn.value);let bn=Et.value[hn],Cn=null;bn&&(Cn={expanded:bn.expanded,level:bn.level,display:!0},typeof bn.lazy=="boolean"&&(typeof bn.loaded=="boolean"&&bn.loaded&&(Cn.noLazyChildren=!(bn.children&&bn.children.length)),Cn.loading=bn.loading));const Tn=[Ce(Ie,Ne,Cn)];if(bn){let xn=0;const En=(On,Rn)=>{On&&On.length&&Rn&&On.forEach(In=>{const Mn={display:Rn.display&&Rn.expanded,level:Rn.level+1,expanded:!1,noLazyChildren:!1,loading:!1},Vn=getRowIdentity(In,vn.value);if(Vn==null)throw new Error("For nested data item, row-key is required.");if(bn={...Et.value[Vn]},bn&&(Mn.expanded=bn.expanded,bn.level=bn.level||Mn.level,bn.display=!!(bn.expanded&&Mn.display),typeof bn.lazy=="boolean"&&(typeof bn.loaded=="boolean"&&bn.loaded&&(Mn.noLazyChildren=!(bn.children&&bn.children.length)),Mn.loading=bn.loading)),xn++,Tn.push(Ce(In,Ne+xn,Mn)),bn){const zn=kt.value[Vn]||In[Lt.value];En(zn,bn)}})};bn.display=!0;const kn=kt.value[hn]||Ie[Lt.value];En(kn,bn)}return Tn}else return Ce(Ie,Ne,void 0)},tooltipContent:re,tooltipTrigger:ae}}const defaultProps$2={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var TableBody=defineComponent({name:"ElTableBody",props:defaultProps$2,setup(t){const r=getCurrentInstance(),n=inject(TABLE_INJECTION_KEY),g=useNamespace("table"),{wrappedRowRender:y,tooltipContent:L,tooltipTrigger:$}=useRender$1(t),{onColumnsChange:V,onScrollableChange:z}=useLayoutObserver(n);return watch(t.store.states.hoverRow,(j,re)=>{if(!t.store.states.isComplex.value||!isClient$1)return;let ae=window.requestAnimationFrame;ae||(ae=oe=>window.setTimeout(oe,16)),ae(()=>{const oe=r==null?void 0:r.vnode.el,ie=Array.from((oe==null?void 0:oe.children)||[]).filter(de=>de==null?void 0:de.classList.contains(`${g.e("row")}`)),le=ie[re],ue=ie[j];le&&removeClass(le,"hover-row"),ue&&addClass(ue,"hover-row")})}),onUnmounted(()=>{var j;(j=removePopper)==null||j()}),{ns:g,onColumnsChange:V,onScrollableChange:z,wrappedRowRender:y,tooltipContent:L,tooltipTrigger:$}},render(){const{wrappedRowRender:t,store:r}=this,n=r.states.data.value||[];return h$1("tbody",{},[n.reduce((g,y)=>g.concat(t(y,g.length)),[])])}});function hColgroup(t){const r=t.tableLayout==="auto";let n=t.columns||[];r&&n.every(y=>y.width===void 0)&&(n=[]);const g=y=>{const L={key:`${t.tableLayout}_${y.id}`,style:{},name:void 0};return r?L.style={width:`${y.width}px`}:L.name=y.id,L};return h$1("colgroup",{},n.map(y=>h$1("col",g(y))))}hColgroup.props=["columns","tableLayout"];function useMapState(){const t=inject(TABLE_INJECTION_KEY),r=t==null?void 0:t.store,n=computed(()=>r.states.fixedLeafColumnsLength.value),g=computed(()=>r.states.rightFixedColumns.value.length),y=computed(()=>r.states.columns.value.length),L=computed(()=>r.states.fixedColumns.value.length),$=computed(()=>r.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:g,columnsCount:y,leftFixedCount:L,rightFixedCount:$,columns:r.states.columns}}function useStyle$1(t){const{columns:r}=useMapState(),n=useNamespace("table");return{getCellClasses:(L,$)=>{const V=L[$],z=[n.e("cell"),V.id,V.align,V.labelClassName,...getFixedColumnsClass(n.b(),$,V.fixed,t.store)];return V.className&&z.push(V.className),V.children||z.push(n.is("leaf")),z},getCellStyles:(L,$)=>{const V=getFixedColumnOffset($,L.fixed,t.store);return ensurePosition(V,"left"),ensurePosition(V,"right"),V},columns:r}}var TableFooter=defineComponent({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t){const{getCellClasses:r,getCellStyles:n,columns:g}=useStyle$1(t);return{ns:useNamespace("table"),getCellClasses:r,getCellStyles:n,columns:g}},render(){const{columns:t,getCellStyles:r,getCellClasses:n,summaryMethod:g,sumText:y,ns:L}=this,$=this.store.states.data.value;let V=[];return g?V=g({columns:t,data:$}):t.forEach((z,j)=>{if(j===0){V[j]=y;return}const re=$.map(le=>Number(le[z.property])),ae=[];let oe=!0;re.forEach(le=>{if(!Number.isNaN(+le)){oe=!1;const ue=`${le}`.split(".")[1];ae.push(ue?ue.length:0)}});const ie=Math.max.apply(null,ae);oe?V[j]="":V[j]=re.reduce((le,ue)=>{const de=Number(ue);return Number.isNaN(+de)?le:Number.parseFloat((le+ue).toFixed(Math.min(ie,20)))},0)}),h$1("table",{class:L.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[hColgroup({columns:t}),h$1("tbody",[h$1("tr",{},[...t.map((z,j)=>h$1("td",{key:j,colspan:z.colSpan,rowspan:z.rowSpan,class:n(t,j),style:r(z,j)},[h$1("div",{class:["cell",z.labelClassName]},[V[j]])]))])])])}});function useUtils(t){return{setCurrentRow:re=>{t.commit("setCurrentRow",re)},getSelectionRows:()=>t.getSelectionRows(),toggleRowSelection:(re,ae)=>{t.toggleRowSelection(re,ae,!1),t.updateAllSelected()},clearSelection:()=>{t.clearSelection()},clearFilter:re=>{t.clearFilter(re)},toggleAllSelection:()=>{t.commit("toggleAllSelection")},toggleRowExpansion:(re,ae)=>{t.toggleRowExpansionAdapter(re,ae)},clearSort:()=>{t.clearSort()},sort:(re,ae)=>{t.commit("sort",{prop:re,order:ae})}}}function useStyle(t,r,n,g){const y=ref(!1),L=ref(null),$=ref(!1),V=hn=>{$.value=hn},z=ref({width:null,height:null,headerHeight:null}),j=ref(!1),re={display:"inline-block",verticalAlign:"middle"},ae=ref(),oe=ref(0),ie=ref(0),le=ref(0),ue=ref(0);watchEffect(()=>{r.setHeight(t.height)}),watchEffect(()=>{r.setMaxHeight(t.maxHeight)}),watch(()=>[t.currentRowKey,n.states.rowKey],([hn,bn])=>{!unref(bn)||!unref(hn)||n.setCurrentRowKey(`${hn}`)},{immediate:!0}),watch(()=>t.data,hn=>{g.store.commit("setData",hn)},{immediate:!0,deep:!0}),watchEffect(()=>{t.expandRowKeys&&n.setExpandRowKeysAdapter(t.expandRowKeys)});const de=()=>{g.store.commit("setHoverRow",null),g.hoverState&&(g.hoverState=null)},pe=(hn,bn)=>{const{pixelX:Cn,pixelY:Tn}=bn;Math.abs(Cn)>=Math.abs(Tn)&&(g.refs.bodyWrapper.scrollLeft+=bn.pixelX/5)},he=computed(()=>t.height||t.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),_e=computed(()=>({width:r.bodyWidth.value?`${r.bodyWidth.value}px`:""})),Ce=()=>{he.value&&r.updateElsHeight(),r.updateColumnsWidth(),requestAnimationFrame(Ne)};onMounted(async()=>{await nextTick(),n.updateColumns(),ze(),requestAnimationFrame(Ce);const hn=g.vnode.el,bn=g.refs.headerWrapper;t.flexible&&hn&&hn.parentElement&&(hn.parentElement.style.minWidth="0"),z.value={width:ae.value=hn.offsetWidth,height:hn.offsetHeight,headerHeight:t.showHeader&&bn?bn.offsetHeight:null},n.states.columns.value.forEach(Cn=>{Cn.filteredValue&&Cn.filteredValue.length&&g.store.commit("filterChange",{column:Cn,values:Cn.filteredValue,silent:!0})}),g.$ready=!0});const $e=(hn,bn)=>{if(!hn)return;const Cn=Array.from(hn.classList).filter(Tn=>!Tn.startsWith("is-scrolling-"));Cn.push(r.scrollX.value?bn:"is-scrolling-none"),hn.className=Cn.join(" ")},xe=hn=>{const{tableWrapper:bn}=g.refs;$e(bn,hn)},Ie=hn=>{const{tableWrapper:bn}=g.refs;return!!(bn&&bn.classList.contains(hn))},Ne=function(){if(!g.refs.scrollBarRef)return;if(!r.scrollX.value){const On="is-scrolling-none";Ie(On)||xe(On);return}const hn=g.refs.scrollBarRef.wrapRef;if(!hn)return;const{scrollLeft:bn,offsetWidth:Cn,scrollWidth:Tn}=hn,{headerWrapper:xn,footerWrapper:En}=g.refs;xn&&(xn.scrollLeft=bn),En&&(En.scrollLeft=bn);const kn=Tn-Cn-1;bn>=kn?xe("is-scrolling-right"):xe(bn===0?"is-scrolling-left":"is-scrolling-middle")},ze=()=>{g.refs.scrollBarRef&&(g.refs.scrollBarRef.wrapRef&&useEventListener(g.refs.scrollBarRef.wrapRef,"scroll",Ne,{passive:!0}),t.fit?useResizeObserver(g.vnode.el,Fe):useEventListener(window,"resize",Fe),useResizeObserver(g.refs.bodyWrapper,()=>{var hn,bn;Fe(),(bn=(hn=g.refs)==null?void 0:hn.scrollBarRef)==null||bn.update()}))},Fe=()=>{var hn,bn,Cn;const Tn=g.vnode.el;if(!g.$ready||!Tn)return;let xn=!1;const{width:En,height:kn,headerHeight:On}=z.value,Rn=ae.value=Tn.offsetWidth;En!==Rn&&(xn=!0);const In=Tn.offsetHeight;(t.height||he.value)&&kn!==In&&(xn=!0);const Mn=t.tableLayout==="fixed"?g.refs.headerWrapper:(hn=g.refs.tableHeaderRef)==null?void 0:hn.$el;t.showHeader&&(Mn==null?void 0:Mn.offsetHeight)!==On&&(xn=!0),oe.value=((bn=g.refs.tableWrapper)==null?void 0:bn.scrollHeight)||0,le.value=(Mn==null?void 0:Mn.scrollHeight)||0,ue.value=((Cn=g.refs.footerWrapper)==null?void 0:Cn.offsetHeight)||0,ie.value=oe.value-le.value-ue.value,xn&&(z.value={width:Rn,height:In,headerHeight:t.showHeader&&(Mn==null?void 0:Mn.offsetHeight)||0},Ce())},qe=useFormSize(),Et=computed(()=>{const{bodyWidth:hn,scrollY:bn,gutterWidth:Cn}=r;return hn.value?`${hn.value-(bn.value?Cn:0)}px`:""}),kt=computed(()=>t.maxHeight?"fixed":t.tableLayout),Lt=computed(()=>{if(t.data&&t.data.length)return null;let hn="100%";t.height&&ie.value&&(hn=`${ie.value}px`);const bn=ae.value;return{width:bn?`${bn}px`:"",height:hn}}),vn=computed(()=>t.height?{height:Number.isNaN(Number(t.height))?t.height:`${t.height}px`}:t.maxHeight?{maxHeight:Number.isNaN(Number(t.maxHeight))?t.maxHeight:`${t.maxHeight}px`}:{}),jt=computed(()=>{if(t.height)return{height:"100%"};if(t.maxHeight){if(Number.isNaN(Number(t.maxHeight)))return{maxHeight:`calc(${t.maxHeight} - ${le.value+ue.value}px)`};{const hn=t.maxHeight;if(oe.value>=Number(hn))return{maxHeight:`${oe.value-le.value-ue.value}px`}}}return{}});return{isHidden:y,renderExpanded:L,setDragVisible:V,isGroup:j,handleMouseLeave:de,handleHeaderFooterMousewheel:pe,tableSize:qe,emptyBlockStyle:Lt,handleFixedMousewheel:(hn,bn)=>{const Cn=g.refs.bodyWrapper;if(Math.abs(bn.spinY)>0){const Tn=Cn.scrollTop;bn.pixelY<0&&Tn!==0&&hn.preventDefault(),bn.pixelY>0&&Cn.scrollHeight-Cn.clientHeight>Tn&&hn.preventDefault(),Cn.scrollTop+=Math.ceil(bn.pixelY/5)}else Cn.scrollLeft+=Math.ceil(bn.pixelX/5)},resizeProxyVisible:$,bodyWidth:Et,resizeState:z,doLayout:Ce,tableBodyStyles:_e,tableLayout:kt,scrollbarViewStyle:re,tableInnerStyle:vn,scrollbarStyle:jt}}function useKeyRender(t){const r=ref(),n=()=>{const y=t.vnode.el.querySelector(".hidden-columns"),L={childList:!0,subtree:!0},$=t.store.states.updateOrderFns;r.value=new MutationObserver(()=>{$.forEach(V=>V())}),r.value.observe(y,L)};onMounted(()=>{n()}),onUnmounted(()=>{var g;(g=r.value)==null||g.disconnect()})}var defaultProps$1={data:{type:Array,default:()=>[]},size:useSizeProp,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean};const useScrollbar$1=()=>{const t=ref(),r=(L,$)=>{const V=t.value;V&&V.scrollTo(L,$)},n=(L,$)=>{const V=t.value;V&&isNumber$2($)&&["Top","Left"].includes(L)&&V[`setScroll${L}`]($)};return{scrollBarRef:t,scrollTo:r,setScrollTop:L=>n("Top",L),setScrollLeft:L=>n("Left",L)}};let tableIdSeed=1;const _sfc_main$v=defineComponent({name:"ElTable",directives:{Mousewheel},components:{TableHeader,TableBody,TableFooter,ElScrollbar,hColgroup},props:defaultProps$1,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(t){const{t:r}=useLocale(),n=useNamespace("table"),g=getCurrentInstance();provide(TABLE_INJECTION_KEY,g);const y=createStore(g,t);g.store=y;const L=new TableLayout({store:g.store,table:g,fit:t.fit,showHeader:t.showHeader});g.layout=L;const $=computed(()=>(y.states.data.value||[]).length===0),{setCurrentRow:V,getSelectionRows:z,toggleRowSelection:j,clearSelection:re,clearFilter:ae,toggleAllSelection:oe,toggleRowExpansion:ie,clearSort:le,sort:ue}=useUtils(y),{isHidden:de,renderExpanded:pe,setDragVisible:he,isGroup:_e,handleMouseLeave:Ce,handleHeaderFooterMousewheel:$e,tableSize:xe,emptyBlockStyle:Ie,handleFixedMousewheel:Ne,resizeProxyVisible:ze,bodyWidth:Fe,resizeState:qe,doLayout:Et,tableBodyStyles:kt,tableLayout:Lt,scrollbarViewStyle:vn,tableInnerStyle:jt,scrollbarStyle:At}=useStyle(t,L,y,g),{scrollBarRef:hn,scrollTo:bn,setScrollLeft:Cn,setScrollTop:Tn}=useScrollbar$1(),xn=debounce(Et,50),En=`${n.namespace.value}-table_${tableIdSeed++}`;g.tableId=En,g.state={isGroup:_e,resizeState:qe,doLayout:Et,debouncedUpdateLayout:xn};const kn=computed(()=>t.sumText||r("el.table.sumText")),On=computed(()=>t.emptyText||r("el.table.emptyText"));return useKeyRender(g),{ns:n,layout:L,store:y,handleHeaderFooterMousewheel:$e,handleMouseLeave:Ce,tableId:En,tableSize:xe,isHidden:de,isEmpty:$,renderExpanded:pe,resizeProxyVisible:ze,resizeState:qe,isGroup:_e,bodyWidth:Fe,tableBodyStyles:kt,emptyBlockStyle:Ie,debouncedUpdateLayout:xn,handleFixedMousewheel:Ne,setCurrentRow:V,getSelectionRows:z,toggleRowSelection:j,clearSelection:re,clearFilter:ae,toggleAllSelection:oe,toggleRowExpansion:ie,clearSort:le,doLayout:Et,sort:ue,t:r,setDragVisible:he,context:g,computedSumText:kn,computedEmptyText:On,tableLayout:Lt,scrollbarViewStyle:vn,tableInnerStyle:jt,scrollbarStyle:At,scrollBarRef:hn,scrollTo:bn,setScrollLeft:Cn,setScrollTop:Tn}}}),_hoisted_1$e=["data-prefix"],_hoisted_2$9={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$3(t,r,n,g,y,L){const $=resolveComponent("hColgroup"),V=resolveComponent("table-header"),z=resolveComponent("table-body"),j=resolveComponent("el-scrollbar"),re=resolveComponent("table-footer"),ae=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[t.ns.m("fit")]:t.fit,[t.ns.m("striped")]:t.stripe,[t.ns.m("border")]:t.border||t.isGroup,[t.ns.m("hidden")]:t.isHidden,[t.ns.m("group")]:t.isGroup,[t.ns.m("fluid-height")]:t.maxHeight,[t.ns.m("scrollable-x")]:t.layout.scrollX.value,[t.ns.m("scrollable-y")]:t.layout.scrollY.value,[t.ns.m("enable-row-hover")]:!t.store.states.isComplex.value,[t.ns.m("enable-row-transition")]:(t.store.states.data.value||[]).length!==0&&(t.store.states.data.value||[]).length<100,"has-footer":t.showSummary},t.ns.m(t.tableSize),t.className,t.ns.b(),t.ns.m(`layout-${t.tableLayout}`)]),style:normalizeStyle$1(t.style),"data-prefix":t.ns.namespace.value,onMouseleave:r[0]||(r[0]=(...oe)=>t.handleMouseLeave&&t.handleMouseLeave(...oe))},[createBaseVNode("div",{class:normalizeClass(t.ns.e("inner-wrapper")),style:normalizeStyle$1(t.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$9,[renderSlot(t.$slots,"default")],512),t.showHeader&&t.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(t.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(t.ns.e("header")),style:normalizeStyle$1(t.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode$1($,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),createVNode$1(V,{ref:"tableHeaderRef",border:t.border,"default-sort":t.defaultSort,store:t.store,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[ae,t.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(t.ns.e("body-wrapper"))},[createVNode$1(j,{ref:"scrollBarRef","view-style":t.scrollbarViewStyle,"wrap-style":t.scrollbarStyle,always:t.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(t.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:t.bodyWidth,tableLayout:t.tableLayout})},[createVNode$1($,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),t.showHeader&&t.tableLayout==="auto"?(openBlock(),createBlock(V,{key:0,ref:"tableHeaderRef",border:t.border,"default-sort":t.defaultSort,store:t.store,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode$1(z,{context:t.context,highlight:t.highlightCurrentRow,"row-class-name":t.rowClassName,"tooltip-effect":t.tooltipEffect,"tooltip-options":t.tooltipOptions,"row-style":t.rowStyle,store:t.store,stripe:t.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"])],6),t.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(t.emptyBlockStyle),class:normalizeClass(t.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(t.ns.e("empty-text"))},[renderSlot(t.$slots,"empty",{},()=>[createTextVNode(toDisplayString(t.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),t.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(t.ns.e("append-wrapper"))},[renderSlot(t.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),t.showSummary?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(t.ns.e("footer-wrapper"))},[createVNode$1(re,{border:t.border,"default-sort":t.defaultSort,store:t.store,style:normalizeStyle$1(t.tableBodyStyles),"sum-text":t.computedSumText,"summary-method":t.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[vShow,!t.isEmpty],[ae,t.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),t.border||t.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(t.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(t.ns.e("column-resize-proxy"))},null,2),[[vShow,t.resizeProxyVisible]])],46,_hoisted_1$e)}var Table=_export_sfc$1(_sfc_main$v,[["render",_sfc_render$3],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const defaultClassNames={selection:"table-column--selection",expand:"table__expand-column"},cellStarts={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},getDefaultClassName=t=>defaultClassNames[t]||"",cellForced={selection:{renderHeader({store:t}){function r(){return t.states.data.value&&t.states.data.value.length===0}return h$1(ElCheckbox,{disabled:r(),size:t.states.tableSize.value,indeterminate:t.states.selection.value.length>0&&!t.states.isAllSelected.value,"onUpdate:modelValue":t.toggleAllSelection,modelValue:t.states.isAllSelected.value})},renderCell({row:t,column:r,store:n,$index:g}){return h$1(ElCheckbox,{disabled:r.selectable?!r.selectable.call(null,t,g):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",t)},onClick:y=>y.stopPropagation(),modelValue:n.isSelected(t)})},sortable:!1,resizable:!1},index:{renderHeader({column:t}){return t.label||"#"},renderCell({column:t,$index:r}){let n=r+1;const g=t.index;return typeof g=="number"?n=r+g:typeof g=="function"&&(n=g(r)),h$1("div",{},[n])},sortable:!1},expand:{renderHeader({column:t}){return t.label||""},renderCell({row:t,store:r,expanded:n}){const{ns:g}=r,y=[g.e("expand-icon")];return n&&y.push(g.em("expand-icon","expanded")),h$1("div",{class:y,onClick:function($){$.stopPropagation(),r.toggleRowExpansion(t)}},{default:()=>[h$1(ElIcon,null,{default:()=>[h$1(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:t,column:r,$index:n}){var g;const y=r.property,L=y&&getProp(t,y).value;return r&&r.formatter?r.formatter(t,r,L,n):((g=L==null?void 0:L.toString)==null?void 0:g.call(L))||""}function treeCellPrefix({row:t,treeNode:r,store:n},g=!1){const{ns:y}=n;if(!r)return g?[h$1("span",{class:y.e("placeholder")})]:null;const L=[],$=function(V){V.stopPropagation(),!r.loading&&n.loadOrToggle(t)};if(r.indent&&L.push(h$1("span",{class:y.e("indent"),style:{"padding-left":`${r.indent}px`}})),typeof r.expanded=="boolean"&&!r.noLazyChildren){const V=[y.e("expand-icon"),r.expanded?y.em("expand-icon","expanded"):""];let z=arrow_right_default;r.loading&&(z=loading_default),L.push(h$1("div",{class:V,onClick:$},{default:()=>[h$1(ElIcon,{class:{[y.is("loading")]:r.loading}},{default:()=>[h$1(z)]})]}))}else L.push(h$1("span",{class:y.e("placeholder")}));return L}function getAllAliases(t,r){return t.reduce((n,g)=>(n[g]=g,n),r)}function useWatcher(t,r){const n=getCurrentInstance();return{registerComplexWatchers:()=>{const L=["fixed"],$={realWidth:"width",realMinWidth:"minWidth"},V=getAllAliases(L,$);Object.keys(V).forEach(z=>{const j=$[z];hasOwn$1(r,j)&&watch(()=>r[j],re=>{let ae=re;j==="width"&&z==="realWidth"&&(ae=parseWidth(re)),j==="minWidth"&&z==="realMinWidth"&&(ae=parseMinWidth(re)),n.columnConfig.value[j]=ae,n.columnConfig.value[z]=ae;const oe=j==="fixed";t.value.store.scheduleLayout(oe)})})},registerNormalWatchers:()=>{const L=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],$={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},V=getAllAliases(L,$);Object.keys(V).forEach(z=>{const j=$[z];hasOwn$1(r,j)&&watch(()=>r[j],re=>{n.columnConfig.value[z]=re})})}}}function useRender(t,r,n){const g=getCurrentInstance(),y=ref(""),L=ref(!1),$=ref(),V=ref(),z=useNamespace("table");watchEffect(()=>{$.value=t.align?`is-${t.align}`:null,$.value}),watchEffect(()=>{V.value=t.headerAlign?`is-${t.headerAlign}`:$.value,V.value});const j=computed(()=>{let Ce=g.vnode.vParent||g.parent;for(;Ce&&!Ce.tableId&&!Ce.columnId;)Ce=Ce.vnode.vParent||Ce.parent;return Ce}),re=computed(()=>{const{store:Ce}=g.parent;if(!Ce)return!1;const{treeData:$e}=Ce.states,xe=$e.value;return xe&&Object.keys(xe).length>0}),ae=ref(parseWidth(t.width)),oe=ref(parseMinWidth(t.minWidth)),ie=Ce=>(ae.value&&(Ce.width=ae.value),oe.value&&(Ce.minWidth=oe.value),!ae.value&&oe.value&&(Ce.width=void 0),Ce.minWidth||(Ce.minWidth=80),Ce.realWidth=Number(Ce.width===void 0?Ce.minWidth:Ce.width),Ce),le=Ce=>{const $e=Ce.type,xe=cellForced[$e]||{};Object.keys(xe).forEach(Ne=>{const ze=xe[Ne];Ne!=="className"&&ze!==void 0&&(Ce[Ne]=ze)});const Ie=getDefaultClassName($e);if(Ie){const Ne=`${unref(z.namespace)}-${Ie}`;Ce.className=Ce.className?`${Ce.className} ${Ne}`:Ne}return Ce},ue=Ce=>{Array.isArray(Ce)?Ce.forEach(xe=>$e(xe)):$e(Ce);function $e(xe){var Ie;((Ie=xe==null?void 0:xe.type)==null?void 0:Ie.name)==="ElTableColumn"&&(xe.vParent=g)}};return{columnId:y,realAlign:$,isSubColumn:L,realHeaderAlign:V,columnOrTableParent:j,setColumnWidth:ie,setColumnForcedProps:le,setColumnRenders:Ce=>{t.renderHeader||Ce.type!=="selection"&&(Ce.renderHeader=xe=>{g.columnConfig.value.label;const Ie=r.header;return Ie?Ie(xe):Ce.label});let $e=Ce.renderCell;return Ce.type==="expand"?(Ce.renderCell=xe=>h$1("div",{class:"cell"},[$e(xe)]),n.value.renderExpanded=xe=>r.default?r.default(xe):r.default):($e=$e||defaultRenderCell,Ce.renderCell=xe=>{let Ie=null;if(r.default){const kt=r.default(xe);Ie=kt.some(Lt=>Lt.type!==Comment)?kt:$e(xe)}else Ie=$e(xe);const{columns:Ne}=n.value.store.states,ze=Ne.value.findIndex(kt=>kt.type==="default"),Fe=re.value&&xe.cellIndex===ze,qe=treeCellPrefix(xe,Fe),Et={class:"cell",style:{}};return Ce.showOverflowTooltip&&(Et.class=`${Et.class} ${unref(z.namespace)}-tooltip`,Et.style={width:`${(xe.column.realWidth||Number(xe.column.width))-1}px`}),ue(Ie),h$1("div",Et,[qe,Ie])}),Ce},getPropsData:(...Ce)=>Ce.reduce(($e,xe)=>(Array.isArray(xe)&&xe.forEach(Ie=>{$e[Ie]=t[Ie]}),$e),{}),getColumnElIndex:(Ce,$e)=>Array.prototype.indexOf.call(Ce,$e),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",g.columnConfig.value)}}}var defaultProps={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:[Boolean,Object],fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:t=>t.every(r=>["ascending","descending",null].includes(r))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup(t,{slots:r}){const n=getCurrentInstance(),g=ref({}),y=computed(()=>{let _e=n.parent;for(;_e&&!_e.tableId;)_e=_e.parent;return _e}),{registerNormalWatchers:L,registerComplexWatchers:$}=useWatcher(y,t),{columnId:V,isSubColumn:z,realHeaderAlign:j,columnOrTableParent:re,setColumnWidth:ae,setColumnForcedProps:oe,setColumnRenders:ie,getPropsData:le,getColumnElIndex:ue,realAlign:de,updateColumnOrder:pe}=useRender(t,r,y),he=re.value;V.value=`${he.tableId||he.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{z.value=y.value!==he;const _e=t.type||"default",Ce=t.sortable===""?!0:t.sortable,$e={...cellStarts[_e],id:V.value,type:_e,property:t.prop||t.property,align:de,headerAlign:j,showOverflowTooltip:t.showOverflowTooltip,filterable:t.filters||t.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:Ce,index:t.index,rawColumnKey:n.vnode.key};let Fe=le(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);Fe=mergeOptions$1($e,Fe),Fe=compose(ie,ae,oe)(Fe),g.value=Fe,L(),$()}),onMounted(()=>{var _e;const Ce=re.value,$e=z.value?Ce.vnode.el.children:(_e=Ce.refs.hiddenColumns)==null?void 0:_e.children,xe=()=>ue($e||[],n.vnode.el);g.value.getColumnIndex=xe,xe()>-1&&y.value.store.commit("insertColumn",g.value,z.value?Ce.columnConfig.value:null,pe)}),onBeforeUnmount(()=>{y.value.store.commit("removeColumn",g.value,z.value?he.columnConfig.value:null,pe)}),n.columnId=V.value,n.columnConfig=g},render(){var t,r,n;try{const g=(r=(t=this.$slots).default)==null?void 0:r.call(t,{row:{},column:{},$index:-1}),y=[];if(Array.isArray(g))for(const $ of g)((n=$.type)==null?void 0:n.name)==="ElTableColumn"||$.shapeFlag&2?y.push($):$.type===Fragment&&Array.isArray($.children)&&$.children.forEach(V=>{(V==null?void 0:V.patchFlag)!==1024&&!isString$3(V==null?void 0:V.children)&&y.push(V)});return h$1("div",y)}catch{return h$1("div",[])}}});const ElTable=withInstall(Table,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(t=>(t.ASC="asc",t.DESC="desc",t))(SortOrder||{}),Alignment=(t=>(t.CENTER="center",t.RIGHT="right",t))(Alignment||{}),FixedDir=(t=>(t.LEFT="left",t.RIGHT="right",t))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(t,r,n)=>{var g;const y={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:t.flexGrow||0,flexShrink:t.flexShrink||1}};n||(y.flexShrink=1);const L={...(g=t.style)!=null?g:{},...y,flexBasis:"auto",width:t.width};return r||(t.maxWidth&&(L.maxWidth=t.maxWidth),t.minWidth&&(L.minWidth=t.minWidth)),L};function useColumns(t,r,n){const g=computed(()=>unref(r).filter(ue=>!ue.hidden)),y=computed(()=>unref(g).filter(ue=>ue.fixed==="left"||ue.fixed===!0)),L=computed(()=>unref(g).filter(ue=>ue.fixed==="right")),$=computed(()=>unref(g).filter(ue=>!ue.fixed)),V=computed(()=>{const ue=[];return unref(y).forEach(de=>{ue.push({...de,placeholderSign})}),unref($).forEach(de=>{ue.push(de)}),unref(L).forEach(de=>{ue.push({...de,placeholderSign})}),ue}),z=computed(()=>unref(y).length||unref(L).length),j=computed(()=>unref(r).reduce((de,pe)=>(de[pe.key]=calcColumnStyle(pe,unref(n),t.fixed),de),{})),re=computed(()=>unref(g).reduce((ue,de)=>ue+de.width,0)),ae=ue=>unref(r).find(de=>de.key===ue),oe=ue=>unref(j)[ue],ie=(ue,de)=>{ue.width=de};function le(ue){var de;const{key:pe}=ue.currentTarget.dataset;if(!pe)return;const{sortState:he,sortBy:_e}=t;let Ce=SortOrder.ASC;isObject$7(he)?Ce=oppositeOrderMap[he[pe]]:Ce=oppositeOrderMap[_e.order],(de=t.onColumnSort)==null||de.call(t,{column:ae(pe),key:pe,order:Ce})}return{columns:r,columnsStyles:j,columnsTotalWidth:re,fixedColumnsOnLeft:y,fixedColumnsOnRight:L,hasFixedColumns:z,mainColumns:V,normalColumns:$,visibleColumns:g,getColumn:ae,getColumnStyle:oe,updateColumnWidth:ie,onColumnSorted:le}}const useScrollbar=(t,{mainTableRef:r,leftTableRef:n,rightTableRef:g,onMaybeEndReached:y})=>{const L=ref({scrollLeft:0,scrollTop:0});function $(ie){var le,ue,de;const{scrollTop:pe}=ie;(le=r.value)==null||le.scrollTo(ie),(ue=n.value)==null||ue.scrollToTop(pe),(de=g.value)==null||de.scrollToTop(pe)}function V(ie){L.value=ie,$(ie)}function z(ie){L.value.scrollTop=ie,$(unref(L))}function j(ie){var le,ue;L.value.scrollLeft=ie,(ue=(le=r.value)==null?void 0:le.scrollTo)==null||ue.call(le,unref(L))}function re(ie){var le;V(ie),(le=t.onScroll)==null||le.call(t,ie)}function ae({scrollTop:ie}){const{scrollTop:le}=unref(L);ie!==le&&z(ie)}function oe(ie,le="auto"){var ue;(ue=r.value)==null||ue.scrollToRow(ie,le)}return watch(()=>unref(L).scrollTop,(ie,le)=>{ie>le&&y()}),{scrollPos:L,scrollTo:V,scrollToLeft:j,scrollToTop:z,scrollToRow:oe,onScroll:re,onVerticalScroll:ae}},useRow=(t,{mainTableRef:r,leftTableRef:n,rightTableRef:g})=>{const y=getCurrentInstance(),{emit:L}=y,$=shallowRef(!1),V=shallowRef(null),z=ref(t.defaultExpandedRowKeys||[]),j=ref(-1),re=shallowRef(null),ae=ref({}),oe=ref({}),ie=shallowRef({}),le=shallowRef({}),ue=shallowRef({}),de=computed(()=>isNumber$2(t.estimatedRowHeight));function pe(Ne){var ze;(ze=t.onRowsRendered)==null||ze.call(t,Ne),Ne.rowCacheEnd>unref(j)&&(j.value=Ne.rowCacheEnd)}function he({hovered:Ne,rowKey:ze}){V.value=Ne?ze:null}function _e({expanded:Ne,rowData:ze,rowIndex:Fe,rowKey:qe}){var Et,kt;const Lt=[...unref(z)],vn=Lt.indexOf(qe);Ne?vn===-1&&Lt.push(qe):vn>-1&&Lt.splice(vn,1),z.value=Lt,L("update:expandedRowKeys",Lt),(Et=t.onRowExpand)==null||Et.call(t,{expanded:Ne,rowData:ze,rowIndex:Fe,rowKey:qe}),(kt=t.onExpandedRowsChange)==null||kt.call(t,Lt)}const Ce=debounce(()=>{var Ne,ze,Fe,qe;$.value=!0,ae.value={...unref(ae),...unref(oe)},$e(unref(re),!1),oe.value={},re.value=null,(Ne=r.value)==null||Ne.forceUpdate(),(ze=n.value)==null||ze.forceUpdate(),(Fe=g.value)==null||Fe.forceUpdate(),(qe=y.proxy)==null||qe.$forceUpdate(),$.value=!1},0);function $e(Ne,ze=!1){unref(de)&&[r,n,g].forEach(Fe=>{const qe=unref(Fe);qe&&qe.resetAfterRowIndex(Ne,ze)})}function xe(Ne,ze,Fe){const qe=unref(re);(qe===null||qe>Fe)&&(re.value=Fe),oe.value[Ne]=ze}function Ie({rowKey:Ne,height:ze,rowIndex:Fe},qe){qe?qe===FixedDir.RIGHT?ue.value[Ne]=ze:ie.value[Ne]=ze:le.value[Ne]=ze;const Et=Math.max(...[ie,ue,le].map(kt=>kt.value[Ne]||0));unref(ae)[Ne]!==Et&&(xe(Ne,Et,Fe),Ce())}return{hoveringRowKey:V,expandedRowKeys:z,lastRenderedRowIndex:j,isDynamic:de,isResetting:$,rowHeights:ae,resetAfterIndex:$e,onRowExpanded:_e,onRowHovered:he,onRowsRendered:pe,onRowHeightChange:Ie}},useData=(t,{expandedRowKeys:r,lastRenderedRowIndex:n,resetAfterIndex:g})=>{const y=ref({}),L=computed(()=>{const V={},{data:z,rowKey:j}=t,re=unref(r);if(!re||!re.length)return z;const ae=[],oe=new Set;re.forEach(le=>oe.add(le));let ie=z.slice();for(ie.forEach(le=>V[le[j]]=0);ie.length>0;){const le=ie.shift();ae.push(le),oe.has(le[j])&&Array.isArray(le.children)&&le.children.length>0&&(ie=[...le.children,...ie],le.children.forEach(ue=>V[ue[j]]=V[le[j]]+1))}return y.value=V,ae}),$=computed(()=>{const{data:V,expandColumnKey:z}=t;return z?unref(L):V});return watch($,(V,z)=>{V!==z&&(n.value=-1,g(0,!0))}),{data:$,depthMap:y}},sumReducer=(t,r)=>t+r,sum$1=t=>isArray$6(t)?t.reduce(sumReducer,0):t,tryCall=(t,r,n={})=>isFunction$4(t)?t(r):t??n,enforceUnit=t=>(["width","maxWidth","minWidth","height"].forEach(r=>{t[r]=addUnit(t[r])}),t),componentToSlot=t=>isVNode(t)?r=>h$1(t,r):t,useStyles=(t,{columnsTotalWidth:r,data:n,fixedColumnsOnLeft:g,fixedColumnsOnRight:y})=>{const L=computed(()=>{const{fixed:_e,width:Ce,vScrollbarSize:$e}=t,xe=Ce-$e;return _e?Math.max(Math.round(unref(r)),xe):xe}),$=computed(()=>unref(L)+(t.fixed?t.vScrollbarSize:0)),V=computed(()=>{const{height:_e=0,maxHeight:Ce=0,footerHeight:$e,hScrollbarSize:xe}=t;if(Ce>0){const Ie=unref(le),Ne=unref(z),Fe=unref(ie)+Ie+Ne+xe;return Math.min(Fe,Ce-$e)}return _e-$e}),z=computed(()=>{const{rowHeight:_e,estimatedRowHeight:Ce}=t,$e=unref(n);return isNumber$2(Ce)?$e.length*Ce:$e.length*_e}),j=computed(()=>{const{maxHeight:_e}=t,Ce=unref(V);if(isNumber$2(_e)&&_e>0)return Ce;const $e=unref(z)+unref(ie)+unref(le);return Math.min(Ce,$e)}),re=_e=>_e.width,ae=computed(()=>sum$1(unref(g).map(re))),oe=computed(()=>sum$1(unref(y).map(re))),ie=computed(()=>sum$1(t.headerHeight)),le=computed(()=>{var _e;return(((_e=t.fixedData)==null?void 0:_e.length)||0)*t.rowHeight}),ue=computed(()=>unref(V)-unref(ie)-unref(le)),de=computed(()=>{const{style:_e={},height:Ce,width:$e}=t;return enforceUnit({..._e,height:Ce,width:$e})}),pe=computed(()=>enforceUnit({height:t.footerHeight})),he=computed(()=>({top:addUnit(unref(ie)),bottom:addUnit(t.footerHeight),width:addUnit(t.width)}));return{bodyWidth:L,fixedTableHeight:j,mainTableHeight:V,leftTableWidth:ae,rightTableWidth:oe,headerWidth:$,rowsHeight:z,windowHeight:ue,footerHeight:pe,emptyStyle:he,rootStyle:de,headerHeight:ie}},useAutoResize=t=>{const r=ref(),n=ref(0),g=ref(0);let y;return onMounted(()=>{y=useResizeObserver(r,([L])=>{const{width:$,height:V}=L.contentRect,{paddingLeft:z,paddingRight:j,paddingTop:re,paddingBottom:ae}=getComputedStyle(L.target),oe=Number.parseInt(z)||0,ie=Number.parseInt(j)||0,le=Number.parseInt(re)||0,ue=Number.parseInt(ae)||0;n.value=$-oe-ie,g.value=V-le-ue}).stop}),onBeforeUnmount(()=>{y==null||y()}),watch([n,g],([L,$])=>{var V;(V=t.onResize)==null||V.call(t,{width:L,height:$})}),{sizer:r,width:n,height:g}};function useTable(t){const r=ref(),n=ref(),g=ref(),{columns:y,columnsStyles:L,columnsTotalWidth:$,fixedColumnsOnLeft:V,fixedColumnsOnRight:z,hasFixedColumns:j,mainColumns:re,onColumnSorted:ae}=useColumns(t,toRef(t,"columns"),toRef(t,"fixed")),{scrollTo:oe,scrollToLeft:ie,scrollToTop:le,scrollToRow:ue,onScroll:de,onVerticalScroll:pe,scrollPos:he}=useScrollbar(t,{mainTableRef:r,leftTableRef:n,rightTableRef:g,onMaybeEndReached:tr}),{expandedRowKeys:_e,hoveringRowKey:Ce,lastRenderedRowIndex:$e,isDynamic:xe,isResetting:Ie,rowHeights:Ne,resetAfterIndex:ze,onRowExpanded:Fe,onRowHeightChange:qe,onRowHovered:Et,onRowsRendered:kt}=useRow(t,{mainTableRef:r,leftTableRef:n,rightTableRef:g}),{data:Lt,depthMap:vn}=useData(t,{expandedRowKeys:_e,lastRenderedRowIndex:$e,resetAfterIndex:ze}),{bodyWidth:jt,fixedTableHeight:At,mainTableHeight:hn,leftTableWidth:bn,rightTableWidth:Cn,headerWidth:Tn,rowsHeight:xn,windowHeight:En,footerHeight:kn,emptyStyle:On,rootStyle:Rn,headerHeight:In}=useStyles(t,{columnsTotalWidth:$,data:Lt,fixedColumnsOnLeft:V,fixedColumnsOnRight:z}),Mn=shallowRef(!1),Vn=ref(),zn=computed(()=>{const $n=unref(Lt).length===0;return isArray$6(t.fixedData)?t.fixedData.length===0&&$n:$n});function Jn($n){const{estimatedRowHeight:Pn,rowHeight:Bn,rowKey:Un}=t;return Pn?unref(Ne)[unref(Lt)[$n][Un]]||Pn:Bn}function tr(){const{onEndReached:$n}=t;if(!$n)return;const{scrollTop:Pn}=unref(he),Bn=unref(xn),Un=unref(En),Fn=Bn-(Pn+Un)+t.hScrollbarSize;unref($e)>=0&&Bn===Pn+unref(hn)-unref(In)&&$n(Fn)}return watch(()=>t.expandedRowKeys,$n=>_e.value=$n,{deep:!0}),{columns:y,containerRef:Vn,mainTableRef:r,leftTableRef:n,rightTableRef:g,isDynamic:xe,isResetting:Ie,isScrolling:Mn,hoveringRowKey:Ce,hasFixedColumns:j,columnsStyles:L,columnsTotalWidth:$,data:Lt,expandedRowKeys:_e,depthMap:vn,fixedColumnsOnLeft:V,fixedColumnsOnRight:z,mainColumns:re,bodyWidth:jt,emptyStyle:On,rootStyle:Rn,headerWidth:Tn,footerHeight:kn,mainTableHeight:hn,fixedTableHeight:At,leftTableWidth:bn,rightTableWidth:Cn,showEmpty:zn,getRowHeight:Jn,onColumnSorted:ae,onRowHovered:Et,onRowExpanded:Fe,onRowsRendered:kt,onRowHeightChange:qe,scrollTo:oe,scrollToLeft:ie,scrollToTop:le,scrollToRow:ue,onScroll:de,onVerticalScroll:pe}}const TableV2InjectionKey=Symbol("tableV2"),classType=String,columns={type:definePropType(Array),required:!0},fixedDataType={type:definePropType(Array)},dataType={...fixedDataType,required:!0},expandColumnKey=String,expandKeys={type:definePropType(Array),default:()=>mutable([])},requiredNumber={type:Number,required:!0},rowKey={type:definePropType([String,Number,Symbol]),default:"id"},styleType={type:definePropType(Object)},tableV2RowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,expandColumnKey,estimatedRowHeight:{...virtualizedGridProps.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:definePropType(Function)},onRowHover:{type:definePropType(Function)},onRowHeightChange:{type:definePropType(Function)},rowData:{type:definePropType(Object),required:!0},rowEventHandlers:{type:definePropType(Object)},rowIndex:{type:Number,required:!0},rowKey,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,columns,fixedHeaderData:{type:definePropType(Array)},headerData:{type:definePropType(Array),required:!0},headerHeight:{type:definePropType([Number,Array]),default:50},rowWidth:requiredNumberType,rowHeight:{type:Number,default:50},height:requiredNumberType,width:requiredNumberType}),tableV2GridProps=buildProps({columns,data:dataType,fixedData:fixedDataType,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,width:requiredNumber,height:requiredNumber,headerWidth:requiredNumber,headerHeight:tableV2HeaderProps.headerHeight,bodyWidth:requiredNumber,rowHeight:requiredNumber,cache:virtualizedListProps.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:virtualizedGridProps.scrollbarAlwaysOn,scrollbarStartGap:virtualizedGridProps.scrollbarStartGap,scrollbarEndGap:virtualizedGridProps.scrollbarEndGap,class:classType,style:styleType,containerStyle:styleType,getRowHeight:{type:definePropType(Function),required:!0},rowKey:tableV2RowProps.rowKey,onRowsRendered:{type:definePropType(Function)},onScroll:{type:definePropType(Function)}}),tableV2Props=buildProps({cache:tableV2GridProps.cache,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,rowKey,headerClass:{type:definePropType([String,Function])},headerProps:{type:definePropType([Object,Function])},headerCellProps:{type:definePropType([Object,Function])},headerHeight:tableV2HeaderProps.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:definePropType([String,Function])},rowProps:{type:definePropType([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:definePropType([Object,Function])},columns,data:dataType,dataGetter:{type:definePropType(Function)},fixedData:fixedDataType,expandColumnKey:tableV2RowProps.expandColumnKey,expandedRowKeys:expandKeys,defaultExpandedRowKeys:expandKeys,class:classType,fixed:Boolean,style:{type:definePropType(Object)},width:requiredNumber,height:requiredNumber,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:virtualizedGridProps.hScrollbarSize,vScrollbarSize:virtualizedGridProps.vScrollbarSize,scrollbarAlwaysOn:virtualizedScrollbarProps.alwaysOn,sortBy:{type:definePropType(Object),default:()=>({})},sortState:{type:definePropType(Object),default:void 0},onColumnSort:{type:definePropType(Function)},onExpandedRowsChange:{type:definePropType(Function)},onEndReached:{type:definePropType(Function)},onRowExpand:tableV2RowProps.onRowExpand,onScroll:tableV2GridProps.onScroll,onRowsRendered:tableV2GridProps.onRowsRendered,rowEventHandlers:tableV2RowProps.rowEventHandlers}),TableV2Cell=(t,{slots:r})=>{var n;const{cellData:g,style:y}=t,L=((n=g==null?void 0:g.toString)==null?void 0:n.call(g))||"";return createVNode$1("div",{class:t.class,title:L,style:y},[r.default?r.default(t):L])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(t,{slots:r})=>{var n,g;return r.default?r.default(t):createVNode$1("div",{class:t.class,title:(n=t.column)==null?void 0:n.title},[(g=t.column)==null?void 0:g.title])};HeaderCell.displayName="ElTableV2HeaderCell";HeaderCell.inheritAttrs=!1;const tableV2HeaderRowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup(t,{slots:r}){return()=>{const{columns:n,columnsStyles:g,headerIndex:y,style:L}=t;let $=n.map((V,z)=>r.cell({columns:n,column:V,columnIndex:z,headerIndex:y,style:g[V.key]}));return r.header&&($=r.header({cells:$.map(V=>isArray$6(V)&&V.length===1?V[0]:V),columns:n,headerIndex:y})),createVNode$1("div",{class:t.class,style:L,role:"row"},[$])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(t,{slots:r,expose:n}){const g=useNamespace("table-v2"),y=ref(),L=computed(()=>enforceUnit({width:t.width,height:t.height})),$=computed(()=>enforceUnit({width:t.rowWidth,height:t.height})),V=computed(()=>castArray$1(unref(t.headerHeight))),z=ae=>{const oe=unref(y);nextTick(()=>{oe!=null&&oe.scroll&&oe.scroll({left:ae})})},j=()=>{const ae=g.e("fixed-header-row"),{columns:oe,fixedHeaderData:ie,rowHeight:le}=t;return ie==null?void 0:ie.map((ue,de)=>{var pe;const he=enforceUnit({height:le,width:"100%"});return(pe=r.fixed)==null?void 0:pe.call(r,{class:ae,columns:oe,rowData:ue,rowIndex:-(de+1),style:he})})},re=()=>{const ae=g.e("dynamic-header-row"),{columns:oe}=t;return unref(V).map((ie,le)=>{var ue;const de=enforceUnit({width:"100%",height:ie});return(ue=r.dynamic)==null?void 0:ue.call(r,{class:ae,columns:oe,headerIndex:le,style:de})})};return n({scrollToLeft:z}),()=>{if(!(t.height<=0))return createVNode$1("div",{ref:y,class:t.class,style:unref(L),role:"rowgroup"},[createVNode$1("div",{style:unref($),class:g.e("header")},[re(),j()])])}}}),useTableRow=t=>{const{isScrolling:r}=inject(TableV2InjectionKey),n=ref(!1),g=ref(),y=computed(()=>isNumber$2(t.estimatedRowHeight)&&t.rowIndex>=0),L=(z=!1)=>{const j=unref(g);if(!j)return;const{columns:re,onRowHeightChange:ae,rowKey:oe,rowIndex:ie,style:le}=t,{height:ue}=j.getBoundingClientRect();n.value=!0,nextTick(()=>{if(z||ue!==Number.parseInt(le.height)){const de=re[0],pe=(de==null?void 0:de.placeholderSign)===placeholderSign;ae==null||ae({rowKey:oe,height:ue,rowIndex:ie},de&&!pe&&de.fixed)}})},$=computed(()=>{const{rowData:z,rowIndex:j,rowKey:re,onRowHover:ae}=t,oe=t.rowEventHandlers||{},ie={};return Object.entries(oe).forEach(([le,ue])=>{isFunction$4(ue)&&(ie[le]=de=>{ue({event:de,rowData:z,rowIndex:j,rowKey:re})})}),ae&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:le,hovered:ue})=>{const de=ie[le];ie[le]=pe=>{ae({event:pe,hovered:ue,rowData:z,rowIndex:j,rowKey:re}),de==null||de(pe)}}),ie}),V=z=>{const{onRowExpand:j,rowData:re,rowIndex:ae,rowKey:oe}=t;j==null||j({expanded:z,rowData:re,rowIndex:ae,rowKey:oe})};return onMounted(()=>{unref(y)&&L(!0)}),{isScrolling:r,measurable:y,measured:n,rowRef:g,eventHandlers:$,onExpand:V}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(t,{expose:r,slots:n,attrs:g}){const{eventHandlers:y,isScrolling:L,measurable:$,measured:V,rowRef:z,onExpand:j}=useTableRow(t);return r({onExpand:j}),()=>{const{columns:re,columnsStyles:ae,expandColumnKey:oe,depth:ie,rowData:le,rowIndex:ue,style:de}=t;let pe=re.map((he,_e)=>{const Ce=isArray$6(le.children)&&le.children.length>0&&he.key===oe;return n.cell({column:he,columns:re,columnIndex:_e,depth:ie,style:ae[he.key],rowData:le,rowIndex:ue,isScrolling:unref(L),expandIconProps:Ce?{rowData:le,rowIndex:ue,onExpand:j}:void 0})});if(n.row&&(pe=n.row({cells:pe.map(he=>isArray$6(he)&&he.length===1?he[0]:he),style:de,columns:re,depth:ie,rowData:le,rowIndex:ue,isScrolling:unref(L)})),unref($)){const{height:he,..._e}=de||{},Ce=unref(V);return createVNode$1("div",mergeProps({ref:z,class:t.class,style:Ce?de:_e,role:"row"},g,unref(y)),[pe])}return createVNode$1("div",mergeProps(g,{ref:z,class:t.class,style:de,role:"row"},unref(y)),[pe])}}}),SortIcon=t=>{const{sortOrder:r}=t;return createVNode$1(ElIcon,{size:14,class:t.class},{default:()=>[r===SortOrder.ASC?createVNode$1(sort_up_default,null,null):createVNode$1(sort_down_default,null,null)]})},ExpandIcon=t=>{const{expanded:r,expandable:n,onExpand:g,style:y,size:L}=t,$={onClick:n?()=>g(!r):void 0,class:t.class};return createVNode$1(ElIcon,mergeProps($,{size:L,style:y}),{default:()=>[createVNode$1(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=t=>{const r=ref(),n=ref(),g=computed(()=>{const{data:ue,rowHeight:de,estimatedRowHeight:pe}=t;if(!pe)return ue.length*de}),y=computed(()=>{const{fixedData:ue,rowHeight:de}=t;return((ue==null?void 0:ue.length)||0)*de}),L=computed(()=>sum$1(t.headerHeight)),$=computed(()=>{const{height:ue}=t;return Math.max(0,ue-unref(L)-unref(y))}),V=computed(()=>unref(L)+unref(y)>0),z=({data:ue,rowIndex:de})=>ue[de][t.rowKey];function j({rowCacheStart:ue,rowCacheEnd:de,rowVisibleStart:pe,rowVisibleEnd:he}){var _e;(_e=t.onRowsRendered)==null||_e.call(t,{rowCacheStart:ue,rowCacheEnd:de,rowVisibleStart:pe,rowVisibleEnd:he})}function re(ue,de){var pe;(pe=n.value)==null||pe.resetAfterRowIndex(ue,de)}function ae(ue,de){const pe=unref(r),he=unref(n);!pe||!he||(isObject$7(ue)?(pe.scrollToLeft(ue.scrollLeft),he.scrollTo(ue)):(pe.scrollToLeft(ue),he.scrollTo({scrollLeft:ue,scrollTop:de})))}function oe(ue){var de;(de=unref(n))==null||de.scrollTo({scrollTop:ue})}function ie(ue,de){var pe;(pe=unref(n))==null||pe.scrollToItem(ue,1,de)}function le(){var ue,de;(ue=unref(n))==null||ue.$forceUpdate(),(de=unref(r))==null||de.$forceUpdate()}return{bodyRef:n,forceUpdate:le,fixedRowHeight:y,gridHeight:$,hasHeader:V,headerHeight:L,headerRef:r,totalHeight:g,itemKey:z,onItemRendered:j,resetAfterRowIndex:re,scrollTo:ae,scrollToTop:oe,scrollToRow:ie}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(t,{slots:r,expose:n}){const{ns:g}=inject(TableV2InjectionKey),{bodyRef:y,fixedRowHeight:L,gridHeight:$,hasHeader:V,headerRef:z,headerHeight:j,totalHeight:re,forceUpdate:ae,itemKey:oe,onItemRendered:ie,resetAfterRowIndex:le,scrollTo:ue,scrollToTop:de,scrollToRow:pe}=useTableGrid(t);n({forceUpdate:ae,totalHeight:re,scrollTo:ue,scrollToTop:de,scrollToRow:pe,resetAfterRowIndex:le});const he=()=>t.bodyWidth;return()=>{const{cache:_e,columns:Ce,data:$e,fixedData:xe,useIsScrolling:Ie,scrollbarAlwaysOn:Ne,scrollbarEndGap:ze,scrollbarStartGap:Fe,style:qe,rowHeight:Et,bodyWidth:kt,estimatedRowHeight:Lt,headerWidth:vn,height:jt,width:At,getRowHeight:hn,onScroll:bn}=t,Cn=isNumber$2(Lt),Tn=Cn?DynamicSizeGrid:FixedSizeGrid,xn=unref(j);return createVNode$1("div",{role:"table",class:[g.e("table"),t.class],style:qe},[createVNode$1(Tn,{ref:y,data:$e,useIsScrolling:Ie,itemKey:oe,columnCache:0,columnWidth:Cn?he:kt,totalColumn:1,totalRow:$e.length,rowCache:_e,rowHeight:Cn?hn:Et,width:At,height:unref($),class:g.e("body"),role:"rowgroup",scrollbarStartGap:Fe,scrollbarEndGap:ze,scrollbarAlwaysOn:Ne,onScroll:bn,onItemRendered:ie,perfMode:!1},{default:En=>{var kn;const On=$e[En.rowIndex];return(kn=r.row)==null?void 0:kn.call(r,{...En,columns:Ce,rowData:On})}}),unref(V)&&createVNode$1(TableV2Header,{ref:z,class:g.e("header-wrapper"),columns:Ce,headerData:$e,headerHeight:t.headerHeight,fixedHeaderData:xe,rowWidth:vn,rowHeight:Et,width:At,height:Math.min(xn+unref(L),jt)},{dynamic:r.header,fixed:r.row})])}}});function _isSlot$5(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode(t)}const MainTable=(t,{slots:r})=>{const{mainTableRef:n,...g}=t;return createVNode$1(TableGrid,mergeProps({ref:n},g),_isSlot$5(r)?r:{default:()=>[r]})};function _isSlot$4(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode(t)}const LeftTable$1=(t,{slots:r})=>{if(!t.columns.length)return;const{leftTableRef:n,...g}=t;return createVNode$1(TableGrid,mergeProps({ref:n},g),_isSlot$4(r)?r:{default:()=>[r]})};function _isSlot$3(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode(t)}const LeftTable=(t,{slots:r})=>{if(!t.columns.length)return;const{rightTableRef:n,...g}=t;return createVNode$1(TableGrid,mergeProps({ref:n},g),_isSlot$3(r)?r:{default:()=>[r]})};function _isSlot$2(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode(t)}const RowRenderer=(t,{slots:r})=>{const{columns:n,columnsStyles:g,depthMap:y,expandColumnKey:L,expandedRowKeys:$,estimatedRowHeight:V,hasFixedColumns:z,hoveringRowKey:j,rowData:re,rowIndex:ae,style:oe,isScrolling:ie,rowProps:le,rowClass:ue,rowKey:de,rowEventHandlers:pe,ns:he,onRowHovered:_e,onRowExpanded:Ce}=t,$e=tryCall(ue,{columns:n,rowData:re,rowIndex:ae},""),xe=tryCall(le,{columns:n,rowData:re,rowIndex:ae}),Ie=re[de],Ne=y[Ie]||0,ze=!!L,Fe=ae<0,qe=[he.e("row"),$e,{[he.e(`row-depth-${Ne}`)]:ze&&ae>=0,[he.is("expanded")]:ze&&$.includes(Ie),[he.is("hovered")]:!ie&&Ie===j,[he.is("fixed")]:!Ne&&Fe,[he.is("customized")]:!!r.row}],Et=z?_e:void 0,kt={...xe,columns:n,columnsStyles:g,class:qe,depth:Ne,expandColumnKey:L,estimatedRowHeight:Fe?void 0:V,isScrolling:ie,rowIndex:ae,rowData:re,rowKey:Ie,rowEventHandlers:pe,style:oe};return createVNode$1(TableV2Row,mergeProps(kt,{onRowHover:Et,onRowExpand:Ce}),_isSlot$2(r)?r:{default:()=>[r]})},CellRenderer=({columns:t,column:r,columnIndex:n,depth:g,expandIconProps:y,isScrolling:L,rowData:$,rowIndex:V,style:z,expandedRowKeys:j,ns:re,cellProps:ae,expandColumnKey:oe,indentSize:ie,iconSize:le,rowKey:ue},{slots:de})=>{const pe=enforceUnit(z);if(r.placeholderSign===placeholderSign)return createVNode$1("div",{class:re.em("row-cell","placeholder"),style:pe},null);const{cellRenderer:he,dataKey:_e,dataGetter:Ce}=r,xe=componentToSlot(he)||de.default||(jt=>createVNode$1(TableV2Cell,jt,null)),Ie=isFunction$4(Ce)?Ce({columns:t,column:r,columnIndex:n,rowData:$,rowIndex:V}):get$1($,_e??""),Ne=tryCall(ae,{cellData:Ie,columns:t,column:r,columnIndex:n,rowIndex:V,rowData:$}),ze={class:re.e("cell-text"),columns:t,column:r,columnIndex:n,cellData:Ie,isScrolling:L,rowData:$,rowIndex:V},Fe=xe(ze),qe=[re.e("row-cell"),r.class,r.align===Alignment.CENTER&&re.is("align-center"),r.align===Alignment.RIGHT&&re.is("align-right")],Et=V>=0&&r.key===oe,kt=V>=0&&j.includes($[ue]);let Lt;const vn=`margin-inline-start: ${g*ie}px;`;return Et&&(isObject$7(y)?Lt=createVNode$1(ExpandIcon,mergeProps(y,{class:[re.e("expand-icon"),re.is("expanded",kt)],size:le,expanded:kt,style:vn,expandable:!0}),null):Lt=createVNode$1("div",{style:[vn,`width: ${le}px; height: ${le}px;`].join(" ")},null)),createVNode$1("div",mergeProps({class:qe,style:pe},Ne,{role:"cell"}),[Lt,Fe])};CellRenderer.inheritAttrs=!1;function _isSlot$1(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode(t)}const HeaderRenderer=({columns:t,columnsStyles:r,headerIndex:n,style:g,headerClass:y,headerProps:L,ns:$},{slots:V})=>{const z={columns:t,headerIndex:n},j=[$.e("header-row"),tryCall(y,z,""),{[$.is("customized")]:!!V.header}],re={...tryCall(L,z),columnsStyles:r,class:j,columns:t,headerIndex:n,style:g};return createVNode$1(TableV2HeaderRow,re,_isSlot$1(V)?V:{default:()=>[V]})},HeaderCellRenderer=(t,{slots:r})=>{const{column:n,ns:g,style:y,onColumnSorted:L}=t,$=enforceUnit(y);if(n.placeholderSign===placeholderSign)return createVNode$1("div",{class:g.em("header-row-cell","placeholder"),style:$},null);const{headerCellRenderer:V,headerClass:z,sortable:j}=n,re={...t,class:g.e("header-cell-text")},oe=(componentToSlot(V)||r.default||(Ce=>createVNode$1(HeaderCell,Ce,null)))(re),{sortBy:ie,sortState:le,headerCellProps:ue}=t;let de,pe;if(le){const Ce=le[n.key];de=!!oppositeOrderMap[Ce],pe=de?Ce:SortOrder.ASC}else de=n.key===ie.key,pe=de?ie.order:SortOrder.ASC;const he=[g.e("header-cell"),tryCall(z,t,""),n.align===Alignment.CENTER&&g.is("align-center"),n.align===Alignment.RIGHT&&g.is("align-right"),j&&g.is("sortable")],_e={...tryCall(ue,t),onClick:n.sortable?L:void 0,class:he,style:$,"data-key":n.key};return createVNode$1("div",mergeProps(_e,{role:"columnheader"}),[oe,j&&createVNode$1(SortIcon,{class:[g.e("sort-icon"),de&&g.is("sorting")],sortOrder:pe},null)])},Footer$1=(t,{slots:r})=>{var n;return createVNode$1("div",{class:t.class,style:t.style},[(n=r.default)==null?void 0:n.call(r)])};Footer$1.displayName="ElTableV2Footer";const Footer=(t,{slots:r})=>createVNode$1("div",{class:t.class,style:t.style},[r.default?r.default():createVNode$1(ElEmpty,null,null)]);Footer.displayName="ElTableV2Empty";const Overlay=(t,{slots:r})=>{var n;return createVNode$1("div",{class:t.class,style:t.style},[(n=r.default)==null?void 0:n.call(r)])};Overlay.displayName="ElTableV2Overlay";function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!isVNode(t)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(t,{slots:r,expose:n}){const g=useNamespace("table-v2"),{columnsStyles:y,fixedColumnsOnLeft:L,fixedColumnsOnRight:$,mainColumns:V,mainTableHeight:z,fixedTableHeight:j,leftTableWidth:re,rightTableWidth:ae,data:oe,depthMap:ie,expandedRowKeys:le,hasFixedColumns:ue,hoveringRowKey:de,mainTableRef:pe,leftTableRef:he,rightTableRef:_e,isDynamic:Ce,isResetting:$e,isScrolling:xe,bodyWidth:Ie,emptyStyle:Ne,rootStyle:ze,headerWidth:Fe,footerHeight:qe,showEmpty:Et,scrollTo:kt,scrollToLeft:Lt,scrollToTop:vn,scrollToRow:jt,getRowHeight:At,onColumnSorted:hn,onRowHeightChange:bn,onRowHovered:Cn,onRowExpanded:Tn,onRowsRendered:xn,onScroll:En,onVerticalScroll:kn}=useTable(t);return n({scrollTo:kt,scrollToLeft:Lt,scrollToTop:vn,scrollToRow:jt}),provide(TableV2InjectionKey,{ns:g,isResetting:$e,hoveringRowKey:de,isScrolling:xe}),()=>{const{cache:On,cellProps:Rn,estimatedRowHeight:In,expandColumnKey:Mn,fixedData:Vn,headerHeight:zn,headerClass:Jn,headerProps:tr,headerCellProps:$n,sortBy:Pn,sortState:Bn,rowHeight:Un,rowClass:Fn,rowEventHandlers:cr,rowKey:ur,rowProps:vr,scrollbarAlwaysOn:Yn,indentSize:gr,iconSize:lr,useIsScrolling:er,vScrollbarSize:br,width:wr}=t,$r=unref(oe),Mr={cache:On,class:g.e("main"),columns:unref(V),data:$r,fixedData:Vn,estimatedRowHeight:In,bodyWidth:unref(Ie),headerHeight:zn,headerWidth:unref(Fe),height:unref(z),mainTableRef:pe,rowKey:ur,rowHeight:Un,scrollbarAlwaysOn:Yn,scrollbarStartGap:2,scrollbarEndGap:br,useIsScrolling:er,width:wr,getRowHeight:At,onRowsRendered:xn,onScroll:En},Cr=unref(re),xr=unref(j),or={cache:On,class:g.e("left"),columns:unref(L),data:$r,estimatedRowHeight:In,leftTableRef:he,rowHeight:Un,bodyWidth:Cr,headerWidth:Cr,headerHeight:zn,height:xr,rowKey:ur,scrollbarAlwaysOn:Yn,scrollbarStartGap:2,scrollbarEndGap:br,useIsScrolling:er,width:Cr,getRowHeight:At,onScroll:kn},Hn=unref(ae)+br,Wn={cache:On,class:g.e("right"),columns:unref($),data:$r,estimatedRowHeight:In,rightTableRef:_e,rowHeight:Un,bodyWidth:Hn,headerWidth:Hn,headerHeight:zn,height:xr,rowKey:ur,scrollbarAlwaysOn:Yn,scrollbarStartGap:2,scrollbarEndGap:br,width:Hn,style:`--${unref(g.namespace)}-table-scrollbar-size: ${br}px`,useIsScrolling:er,getRowHeight:At,onScroll:kn},pr=unref(y),Pr={ns:g,depthMap:unref(ie),columnsStyles:pr,expandColumnKey:Mn,expandedRowKeys:unref(le),estimatedRowHeight:In,hasFixedColumns:unref(ue),hoveringRowKey:unref(de),rowProps:vr,rowClass:Fn,rowKey:ur,rowEventHandlers:cr,onRowHovered:Cn,onRowExpanded:Tn,onRowHeightChange:bn},ir={cellProps:Rn,expandColumnKey:Mn,indentSize:gr,iconSize:lr,rowKey:ur,expandedRowKeys:unref(le),ns:g},Er={ns:g,headerClass:Jn,headerProps:tr,columnsStyles:pr},Kn={ns:g,sortBy:Pn,sortState:Bn,headerCellProps:$n,onColumnSorted:hn},Qn={row:kr=>createVNode$1(RowRenderer,mergeProps(kr,Pr),{row:r.row,cell:hr=>{let Ar;return r.cell?createVNode$1(CellRenderer,mergeProps(hr,ir,{style:pr[hr.column.key]}),_isSlot(Ar=r.cell(hr))?Ar:{default:()=>[Ar]}):createVNode$1(CellRenderer,mergeProps(hr,ir,{style:pr[hr.column.key]}),null)}}),header:kr=>createVNode$1(HeaderRenderer,mergeProps(kr,Er),{header:r.header,cell:hr=>{let Ar;return r["header-cell"]?createVNode$1(HeaderCellRenderer,mergeProps(hr,Kn,{style:pr[hr.column.key]}),_isSlot(Ar=r["header-cell"](hr))?Ar:{default:()=>[Ar]}):createVNode$1(HeaderCellRenderer,mergeProps(hr,Kn,{style:pr[hr.column.key]}),null)}})},ar=[t.class,g.b(),g.e("root"),{[g.is("dynamic")]:unref(Ce)}],mr={class:g.e("footer"),style:unref(qe)};return createVNode$1("div",{class:ar,style:unref(ze)},[createVNode$1(MainTable,Mr,_isSlot(Qn)?Qn:{default:()=>[Qn]}),createVNode$1(LeftTable$1,or,_isSlot(Qn)?Qn:{default:()=>[Qn]}),createVNode$1(LeftTable,Wn,_isSlot(Qn)?Qn:{default:()=>[Qn]}),r.footer&&createVNode$1(Footer$1,mr,{default:r.footer}),unref(Et)&&createVNode$1(Footer,{class:g.e("empty"),style:unref(Ne)},{default:r.empty}),r.overlay&&createVNode$1(Overlay,{class:g.e("overlay")},{default:r.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(t,{slots:r}){const n=useNamespace("auto-resizer"),{height:g,width:y,sizer:L}=useAutoResize(t),$={width:"100%",height:"100%"};return()=>{var V;return createVNode$1("div",{ref:L,class:n.b(),style:$},[(V=r.default)==null?void 0:V.call(r,{height:g.value,width:y.value})])}}}),ElTableV2=withInstall(TableV2),ElAutoResizer=withInstall(AutoResizer),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$l=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$u=defineComponent({...__default__$l,props:tabBarProps,setup(t,{expose:r}){const n=t,g=getCurrentInstance(),y=inject(tabsRootContextKey);y||throwError$1(COMPONENT_NAME$3,"");const L=useNamespace("tabs"),$=ref(),V=ref(),z=()=>{let re=0,ae=0;const oe=["top","bottom"].includes(y.props.tabPosition)?"width":"height",ie=oe==="width"?"x":"y",le=ie==="x"?"left":"top";return n.tabs.every(ue=>{var de,pe;const he=(pe=(de=g.parent)==null?void 0:de.refs)==null?void 0:pe[`tab-${ue.uid}`];if(!he)return!1;if(!ue.active)return!0;re=he[`offset${capitalize(le)}`],ae=he[`client${capitalize(oe)}`];const _e=window.getComputedStyle(he);return oe==="width"&&(n.tabs.length>1&&(ae-=Number.parseFloat(_e.paddingLeft)+Number.parseFloat(_e.paddingRight)),re+=Number.parseFloat(_e.paddingLeft)),!1}),{[oe]:`${ae}px`,transform:`translate${capitalize(ie)}(${re}px)`}},j=()=>V.value=z();return watch(()=>n.tabs,async()=>{await nextTick(),j()},{immediate:!0}),useResizeObserver($,()=>j()),r({ref:$,update:j}),(re,ae)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:$,class:normalizeClass([unref(L).e("active-bar"),unref(L).is(unref(y).props.tabPosition)]),style:normalizeStyle$1(V.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(t,r,n)=>n instanceof Event,tabRemove:(t,r)=>r instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(t,{expose:r,emit:n}){const g=getCurrentInstance(),y=inject(tabsRootContextKey);y||throwError$1(COMPONENT_NAME$2,"");const L=useNamespace("tabs"),$=useDocumentVisibility(),V=useWindowFocus(),z=ref(),j=ref(),re=ref(),ae=ref(),oe=ref(!1),ie=ref(0),le=ref(!1),ue=ref(!0),de=computed(()=>["top","bottom"].includes(y.props.tabPosition)?"width":"height"),pe=computed(()=>({transform:`translate${de.value==="width"?"X":"Y"}(-${ie.value}px)`})),he=()=>{if(!z.value)return;const ze=z.value[`offset${capitalize(de.value)}`],Fe=ie.value;if(!Fe)return;const qe=Fe>ze?Fe-ze:0;ie.value=qe},_e=()=>{if(!z.value||!j.value)return;const ze=j.value[`offset${capitalize(de.value)}`],Fe=z.value[`offset${capitalize(de.value)}`],qe=ie.value;if(ze-qe<=Fe)return;const Et=ze-qe>Fe*2?qe+Fe:ze-Fe;ie.value=Et},Ce=async()=>{const ze=j.value;if(!oe.value||!re.value||!z.value||!ze)return;await nextTick();const Fe=re.value.querySelector(".is-active");if(!Fe)return;const qe=z.value,Et=["top","bottom"].includes(y.props.tabPosition),kt=Fe.getBoundingClientRect(),Lt=qe.getBoundingClientRect(),vn=Et?ze.offsetWidth-Lt.width:ze.offsetHeight-Lt.height,jt=ie.value;let At=jt;Et?(kt.leftLt.right&&(At=jt+kt.right-Lt.right)):(kt.topLt.bottom&&(At=jt+(kt.bottom-Lt.bottom))),At=Math.max(At,0),ie.value=Math.min(At,vn)},$e=()=>{var ze;if(!j.value||!z.value)return;t.stretch&&((ze=ae.value)==null||ze.update());const Fe=j.value[`offset${capitalize(de.value)}`],qe=z.value[`offset${capitalize(de.value)}`],Et=ie.value;qe0&&(ie.value=0))},xe=ze=>{const Fe=ze.code,{up:qe,down:Et,left:kt,right:Lt}=EVENT_CODE;if(![qe,Et,kt,Lt].includes(Fe))return;const vn=Array.from(ze.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),jt=vn.indexOf(ze.target);let At;Fe===kt||Fe===qe?jt===0?At=vn.length-1:At=jt-1:jt{ue.value&&(le.value=!0)},Ne=()=>le.value=!1;return watch($,ze=>{ze==="hidden"?ue.value=!1:ze==="visible"&&setTimeout(()=>ue.value=!0,50)}),watch(V,ze=>{ze?setTimeout(()=>ue.value=!0,50):ue.value=!1}),useResizeObserver(re,$e),onMounted(()=>setTimeout(()=>Ce(),0)),onUpdated(()=>$e()),r({scrollToActiveTab:Ce,removeFocus:Ne}),watch(()=>t.panes,()=>g.update(),{flush:"post",deep:!0}),()=>{const ze=oe.value?[createVNode$1("span",{class:[L.e("nav-prev"),L.is("disabled",!oe.value.prev)],onClick:he},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_left_default,null,null)]})]),createVNode$1("span",{class:[L.e("nav-next"),L.is("disabled",!oe.value.next)],onClick:_e},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_right_default,null,null)]})])]:null,Fe=t.panes.map((qe,Et)=>{var kt,Lt,vn,jt;const At=qe.uid,hn=qe.props.disabled,bn=(Lt=(kt=qe.props.name)!=null?kt:qe.index)!=null?Lt:`${Et}`,Cn=!hn&&(qe.isClosable||t.editable);qe.index=`${Et}`;const Tn=Cn?createVNode$1(ElIcon,{class:"is-icon-close",onClick:kn=>n("tabRemove",qe,kn)},{default:()=>[createVNode$1(close_default,null,null)]}):null,xn=((jt=(vn=qe.slots).label)==null?void 0:jt.call(vn))||qe.props.label,En=!hn&&qe.active?0:-1;return createVNode$1("div",{ref:`tab-${At}`,class:[L.e("item"),L.is(y.props.tabPosition),L.is("active",qe.active),L.is("disabled",hn),L.is("closable",Cn),L.is("focus",le.value)],id:`tab-${bn}`,key:`tab-${At}`,"aria-controls":`pane-${bn}`,role:"tab","aria-selected":qe.active,tabindex:En,onFocus:()=>Ie(),onBlur:()=>Ne(),onClick:kn=>{Ne(),n("tabClick",qe,bn,kn)},onKeydown:kn=>{Cn&&(kn.code===EVENT_CODE.delete||kn.code===EVENT_CODE.backspace)&&n("tabRemove",qe,kn)}},[xn,Tn])});return createVNode$1("div",{ref:re,class:[L.e("nav-wrap"),L.is("scrollable",!!oe.value),L.is(y.props.tabPosition)]},[ze,createVNode$1("div",{class:L.e("nav-scroll"),ref:z},[createVNode$1("div",{class:[L.e("nav"),L.is(y.props.tabPosition),L.is("stretch",t.stretch&&["top","bottom"].includes(y.props.tabPosition))],ref:j,style:pe.value,role:"tablist",onKeydown:xe},[t.type?null:createVNode$1(TabBar,{ref:ae,tabs:[...t.panes]},null),Fe])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number]},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=t=>isString$3(t)||isNumber$2(t),tabsEmits={[UPDATE_MODEL_EVENT]:t=>isPaneName(t),tabClick:(t,r)=>r instanceof Event,tabChange:t=>isPaneName(t),edit:(t,r)=>["remove","add"].includes(r),tabRemove:t=>isPaneName(t),tabAdd:()=>!0};var Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(t,{emit:r,slots:n,expose:g}){var y,L;const $=useNamespace("tabs"),{children:V,addChild:z,removeChild:j}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),re=ref(),ae=ref((L=(y=t.modelValue)!=null?y:t.activeName)!=null?L:"0"),oe=pe=>{ae.value=pe,r(UPDATE_MODEL_EVENT,pe),r("tabChange",pe)},ie=async pe=>{var he,_e,Ce;if(!(ae.value===pe||isUndefined$1(pe)))try{await((he=t.beforeLeave)==null?void 0:he.call(t,pe,ae.value))!==!1&&(oe(pe),(Ce=(_e=re.value)==null?void 0:_e.removeFocus)==null||Ce.call(_e))}catch{}},le=(pe,he,_e)=>{pe.props.disabled||(ie(he),r("tabClick",pe,_e))},ue=(pe,he)=>{pe.props.disabled||isUndefined$1(pe.props.name)||(he.stopPropagation(),r("edit",pe.props.name,"remove"),r("tabRemove",pe.props.name))},de=()=>{r("edit",void 0,"add"),r("tabAdd")};return useDeprecated({from:'"activeName"',replacement:'"model-value" or "v-model"',scope:"ElTabs",version:"2.3.0",ref:"https://element-plus.org/en-US/component/tabs.html#attributes",type:"Attribute"},computed(()=>!!t.activeName)),watch(()=>t.activeName,pe=>ie(pe)),watch(()=>t.modelValue,pe=>ie(pe)),watch(ae,async()=>{var pe;await nextTick(),(pe=re.value)==null||pe.scrollToActiveTab()}),provide(tabsRootContextKey,{props:t,currentName:ae,registerPane:z,unregisterPane:j}),g({currentName:ae}),()=>{const pe=t.editable||t.addable?createVNode$1("span",{class:$.e("new-tab"),tabindex:"0",onClick:de,onKeydown:Ce=>{Ce.code===EVENT_CODE.enter&&de()}},[createVNode$1(ElIcon,{class:$.is("icon-plus")},{default:()=>[createVNode$1(plus_default,null,null)]})]):null,he=createVNode$1("div",{class:[$.e("header"),$.is(t.tabPosition)]},[pe,createVNode$1(TabNav,{ref:re,currentName:ae.value,editable:t.editable,type:t.type,panes:V.value,stretch:t.stretch,onTabClick:le,onTabRemove:ue},null)]),_e=createVNode$1("div",{class:$.e("content")},[renderSlot(n,"default")]);return createVNode$1("div",{class:[$.b(),$.m(t.tabPosition),{[$.m("card")]:t.type==="card",[$.m("border-card")]:t.type==="border-card"}]},[...t.tabPosition!=="bottom"?[he,_e]:[_e,he]])}}});const tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$d=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$k=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$t=defineComponent({...__default__$k,props:tabPaneProps,setup(t){const r=t,n=getCurrentInstance(),g=useSlots(),y=inject(tabsRootContextKey);y||throwError$1(COMPONENT_NAME$1,"usage: ");const L=useNamespace("tab-pane"),$=ref(),V=computed(()=>r.closable||y.props.closable),z=computedEager(()=>{var ie;return y.currentName.value===((ie=r.name)!=null?ie:$.value)}),j=ref(z.value),re=computed(()=>{var ie;return(ie=r.name)!=null?ie:$.value}),ae=computedEager(()=>!r.lazy||j.value||z.value);watch(z,ie=>{ie&&(j.value=!0)});const oe=reactive({uid:n.uid,slots:g,props:r,paneName:re,active:z,index:$,isClosable:V});return onMounted(()=>{y.registerPane(oe)}),onUnmounted(()=>{y.unregisterPane(oe.uid)}),(ie,le)=>unref(ae)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(re)}`,class:normalizeClass(unref(L).b()),role:"tabpanel","aria-hidden":!unref(z),"aria-labelledby":`tab-${unref(re)}`},[renderSlot(ie.$slots,"default")],10,_hoisted_1$d)),[[vShow,unref(z)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:{type:Boolean},tag:{type:String,default:"span"}}),__default__$j=defineComponent({name:"ElText"}),_sfc_main$s=defineComponent({...__default__$j,props:textProps,setup(t){const r=t,n=useFormSize(),g=useNamespace("text"),y=computed(()=>[g.b(),g.m(r.type),g.m(n.value),g.is("truncated",r.truncated)]);return(L,$)=>(openBlock(),createBlock(resolveDynamicComponent(L.tag),{class:normalizeClass(unref(y))},{default:withCtx(()=>[renderSlot(L.$slots,"default")]),_:3},8,["class"]))}});var Text$1=_export_sfc$1(_sfc_main$s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const ElText=withInstall(Text$1),timeSelectProps=buildProps({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:useSizeProp,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default}}),parseTime=t=>{const r=(t||"").split(":");if(r.length>=2){let n=Number.parseInt(r[0],10);const g=Number.parseInt(r[1],10),y=t.toUpperCase();return y.includes("AM")&&n===12?n=0:y.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:g}}return null},compareTime=(t,r)=>{const n=parseTime(t);if(!n)return-1;const g=parseTime(r);if(!g)return-1;const y=n.minutes+n.hours*60,L=g.minutes+g.hours*60;return y===L?0:y>L?1:-1},padTime=t=>`${t}`.padStart(2,"0"),formatTime=t=>`${padTime(t.hours)}:${padTime(t.minutes)}`,nextTime=(t,r)=>{const n=parseTime(t);if(!n)return"";const g=parseTime(r);if(!g)return"";const y={hours:n.hours,minutes:n.minutes};return y.minutes+=g.minutes,y.hours+=g.hours,y.hours+=Math.floor(y.minutes/60),y.minutes=y.minutes%60,formatTime(y)},__default__$i=defineComponent({name:"ElTimeSelect"}),_sfc_main$r=defineComponent({...__default__$i,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(t,{expose:r}){const n=t;dayjs.extend(customParseFormat);const{Option:g}=ElSelect,y=useNamespace("input"),L=ref(),$=useFormDisabled(),V=computed(()=>n.modelValue),z=computed(()=>{const de=parseTime(n.start);return de?formatTime(de):null}),j=computed(()=>{const de=parseTime(n.end);return de?formatTime(de):null}),re=computed(()=>{const de=parseTime(n.step);return de?formatTime(de):null}),ae=computed(()=>{const de=parseTime(n.minTime||"");return de?formatTime(de):null}),oe=computed(()=>{const de=parseTime(n.maxTime||"");return de?formatTime(de):null}),ie=computed(()=>{const de=[];if(n.start&&n.end&&n.step){let pe=z.value,he;for(;pe&&j.value&&compareTime(pe,j.value)<=0;)he=dayjs(pe,"HH:mm").format(n.format),de.push({value:he,disabled:compareTime(pe,ae.value||"-1:-1")<=0||compareTime(pe,oe.value||"100:100")>=0}),pe=nextTime(pe,re.value)}return de});return r({blur:()=>{var de,pe;(pe=(de=L.value)==null?void 0:de.blur)==null||pe.call(de)},focus:()=>{var de,pe;(pe=(de=L.value)==null?void 0:de.focus)==null||pe.call(de)}}),(de,pe)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:L,"model-value":unref(V),disabled:unref($),clearable:de.clearable,"clear-icon":de.clearIcon,size:de.size,effect:de.effect,placeholder:de.placeholder,"default-first-option":"",filterable:de.editable,"onUpdate:modelValue":pe[0]||(pe[0]=he=>de.$emit("update:modelValue",he)),onChange:pe[1]||(pe[1]=he=>de.$emit("change",he)),onBlur:pe[2]||(pe[2]=he=>de.$emit("blur",he)),onFocus:pe[3]||(pe[3]=he=>de.$emit("focus",he))},{prefix:withCtx(()=>[de.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(y).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(de.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ie),he=>(openBlock(),createBlock(unref(g),{key:he.value,label:he.value,value:he.value,disabled:he.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable"]))}});var TimeSelect=_export_sfc$1(_sfc_main$r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);TimeSelect.install=t=>{t.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup(t,{slots:r}){const n=useNamespace("timeline");return provide("timeline",r),()=>h$1("ul",{class:[n.b()]},[renderSlot(r,"default")])}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:iconPropType},hollow:{type:Boolean,default:!1}}),__default__$h=defineComponent({name:"ElTimelineItem"}),_sfc_main$q=defineComponent({...__default__$h,props:timelineItemProps,setup(t){const r=useNamespace("timeline-item");return(n,g)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(r).b(),{[unref(r).e("center")]:n.center}])},[createBaseVNode("div",{class:normalizeClass(unref(r).e("tail"))},null,2),n.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(r).e("node"),unref(r).em("node",n.size||""),unref(r).em("node",n.type||""),unref(r).is("hollow",n.hollow)]),style:normalizeStyle$1({backgroundColor:n.color})},[n.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(r).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),n.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(r).e("dot"))},[renderSlot(n.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(r).e("wrapper"))},[!n.hideTimestamp&&n.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(r).e("timestamp"),unref(r).is("top")])},toDisplayString(n.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(r).e("content"))},[renderSlot(n.$slots,"default")],2),!n.hideTimestamp&&n.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(r).e("timestamp"),unref(r).is("bottom")])},toDisplayString(n.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$1(_sfc_main$q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(t=>(t.top="top",t.bottom="bottom",t.left="left",t.right="right",t))(TooltipV2Sides||{});const tooltipV2Sides=Object.values(TooltipV2Sides),tooltipV2ArrowProps=buildProps({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:definePropType(Object),default:null}}),tooltipV2ArrowSpecialProps=buildProps({side:{type:definePropType(String),values:tooltipV2Sides,required:!0}}),tooltipV2Strategies=["absolute","fixed"],tooltipV2Placements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tooltipV2ContentProps=buildProps({ariaLabel:String,arrowPadding:{type:definePropType(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:definePropType(String),values:tooltipV2Placements,default:"bottom"},reference:{type:definePropType(Object),default:null},offset:{type:Number,default:8},strategy:{type:definePropType(String),values:tooltipV2Strategies,default:"absolute"},showArrow:{type:Boolean,default:!1}}),tooltipV2RootProps=buildProps({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:definePropType(Function)},"onUpdate:open":{type:definePropType(Function)}}),EventHandler={type:definePropType(Function)},tooltipV2TriggerProps=buildProps({onBlur:EventHandler,onClick:EventHandler,onFocus:EventHandler,onMouseDown:EventHandler,onMouseEnter:EventHandler,onMouseLeave:EventHandler}),tooltipV2Props=buildProps({...tooltipV2RootProps,...tooltipV2ArrowProps,...tooltipV2TriggerProps,...tooltipV2ContentProps,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:definePropType(Object),default:null},teleported:Boolean,to:{type:definePropType(String),default:"body"}}),tooltipV2RootKey=Symbol("tooltipV2"),tooltipV2ContentKey=Symbol("tooltipV2Content"),TOOLTIP_V2_OPEN="tooltip_v2.open",__default__$g=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$p=defineComponent({...__default__$g,props:tooltipV2RootProps,setup(t,{expose:r}){const n=t,g=ref(n.defaultOpen),y=ref(null),L=computed({get:()=>isPropAbsent(n.open)?g.value:n.open,set:de=>{var pe;g.value=de,(pe=n["onUpdate:open"])==null||pe.call(n,de)}}),$=computed(()=>isNumber$2(n.delayDuration)&&n.delayDuration>0),{start:V,stop:z}=useTimeoutFn$1(()=>{L.value=!0},computed(()=>n.delayDuration),{immediate:!1}),j=useNamespace("tooltip-v2"),re=useId(),ae=()=>{z(),L.value=!0},oe=()=>{unref($)?V():ae()},ie=ae,le=()=>{z(),L.value=!1};return watch(L,de=>{var pe;de&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),ie()),(pe=n.onOpenChange)==null||pe.call(n,de)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,le)}),onBeforeUnmount(()=>{z(),document.removeEventListener(TOOLTIP_V2_OPEN,le)}),provide(tooltipV2RootKey,{contentId:re,triggerRef:y,ns:j,onClose:le,onDelayOpen:oe,onOpen:ie}),r({onOpen:ie,onClose:le}),(de,pe)=>renderSlot(de.$slots,"default",{open:unref(L)})}});var TooltipV2Root=_export_sfc$1(_sfc_main$p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const __default__$f=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$o=defineComponent({...__default__$f,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(t){const r=t,{ns:n}=inject(tooltipV2RootKey),{arrowRef:g}=inject(tooltipV2ContentKey),y=computed(()=>{const{style:L,width:$,height:V}=r,z=n.namespace.value;return{[`--${z}-tooltip-v2-arrow-width`]:`${$}px`,[`--${z}-tooltip-v2-arrow-height`]:`${V}px`,[`--${z}-tooltip-v2-arrow-border-width`]:`${$/2}px`,[`--${z}-tooltip-v2-arrow-cover-width`]:$/2-1,...L||{}}});return(L,$)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:g,style:normalizeStyle$1(unref(y)),class:normalizeClass(unref(n).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$1(_sfc_main$o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/arrow.vue"]]);const visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$e=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$n=defineComponent({...__default__$e,props:visualHiddenProps,setup(t){const r=t,n=computed(()=>[r.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(g,y)=>(openBlock(),createElementBlock("span",mergeProps(g.$attrs,{style:unref(n)}),[renderSlot(g.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$1(_sfc_main$n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const _hoisted_1$c=["data-side"],__default__$d=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$m=defineComponent({...__default__$d,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(t){const r=t,{triggerRef:n,contentId:g}=inject(tooltipV2RootKey),y=ref(r.placement),L=ref(r.strategy),$=ref(null),{referenceRef:V,contentRef:z,middlewareData:j,x:re,y:ae,update:oe}=useFloating({placement:y,strategy:L,middleware:computed(()=>{const _e=[offset(r.offset)];return r.showArrow&&_e.push(arrowMiddleware({arrowRef:$})),_e})}),ie=useZIndex().nextZIndex(),le=useNamespace("tooltip-v2"),ue=computed(()=>y.value.split("-")[0]),de=computed(()=>({position:unref(L),top:`${unref(ae)||0}px`,left:`${unref(re)||0}px`,zIndex:ie})),pe=computed(()=>{if(!r.showArrow)return{};const{arrow:_e}=unref(j);return{[`--${le.namespace.value}-tooltip-v2-arrow-x`]:`${_e==null?void 0:_e.x}px`||"",[`--${le.namespace.value}-tooltip-v2-arrow-y`]:`${_e==null?void 0:_e.y}px`||""}}),he=computed(()=>[le.e("content"),le.is("dark",r.effect==="dark"),le.is(unref(L)),r.contentClass]);return watch($,()=>oe()),watch(()=>r.placement,_e=>y.value=_e),onMounted(()=>{watch(()=>r.reference||n.value,_e=>{V.value=_e||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:$}),(_e,Ce)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:z,style:normalizeStyle$1(unref(de)),"data-tooltip-v2-root":""},[_e.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(ue),class:normalizeClass(unref(he))},[renderSlot(_e.$slots,"default",{contentStyle:unref(de),contentClass:unref(he)}),createVNode$1(unref(ElVisuallyHidden),{id:unref(g),role:"tooltip"},{default:withCtx(()=>[_e.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_e.ariaLabel),1)],64)):renderSlot(_e.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(_e.$slots,"arrow",{style:normalizeStyle$1(unref(pe)),side:unref(ue)})],10,_hoisted_1$c))],4))}});var TooltipV2Content=_export_sfc$1(_sfc_main$m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup(t,{slots:r}){const n=ref(),g=composeRefs(n,y=>{y?t.setRef(y.nextElementSibling):t.setRef(null)});return()=>{var y;const[L]=((y=r.default)==null?void 0:y.call(r))||[],$=t.onlyChild?ensureOnlyChild(L.children):L.children;return createVNode$1(Fragment,{ref:g},[$])}}});const __default__$c=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$l=defineComponent({...__default__$c,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(t){const r=t,{onClose:n,onOpen:g,onDelayOpen:y,triggerRef:L,contentId:$}=inject(tooltipV2RootKey);let V=!1;const z=he=>{L.value=he},j=()=>{V=!1},re=composeEventHandlers(r.onMouseEnter,y),ae=composeEventHandlers(r.onMouseLeave,n),oe=composeEventHandlers(r.onMouseDown,()=>{n(),V=!0,document.addEventListener("mouseup",j,{once:!0})}),ie=composeEventHandlers(r.onFocus,()=>{V||g()}),le=composeEventHandlers(r.onBlur,n),ue=composeEventHandlers(r.onClick,he=>{he.detail===0&&n()}),de={blur:le,click:ue,focus:ie,mousedown:oe,mouseenter:re,mouseleave:ae},pe=(he,_e,Ce)=>{he&&Object.entries(_e).forEach(([$e,xe])=>{he[Ce]($e,xe)})};return watch(L,(he,_e)=>{pe(he,de,"addEventListener"),pe(_e,de,"removeEventListener"),he&&he.setAttribute("aria-describedby",$.value)}),onBeforeUnmount(()=>{pe(L.value,de,"removeEventListener"),document.removeEventListener("mouseup",j)}),(he,_e)=>he.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":z,"only-child":""},{default:withCtx(()=>[renderSlot(he.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:L},he.$attrs),[renderSlot(he.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$1(_sfc_main$l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const __default__$b=defineComponent({name:"ElTooltipV2"}),_sfc_main$k=defineComponent({...__default__$b,props:tooltipV2Props,setup(t){const n=toRefs(t),g=reactive(pick$1(n,Object.keys(tooltipV2ArrowProps))),y=reactive(pick$1(n,Object.keys(tooltipV2ContentProps))),L=reactive(pick$1(n,Object.keys(tooltipV2RootProps))),$=reactive(pick$1(n,Object.keys(tooltipV2TriggerProps)));return(V,z)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(L)),{default:withCtx(({open:j})=>[createVNode$1(TooltipV2Trigger,mergeProps($,{nowrap:""}),{default:withCtx(()=>[renderSlot(V.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:V.to,disabled:!V.teleported},[V.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},V.transitionProps)),{default:withCtx(()=>[V.alwaysOn||j?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},y)),{arrow:withCtx(({style:re,side:ae})=>[V.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},g,{style:re,side:ae}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(V.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[V.alwaysOn||j?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},y)),{arrow:withCtx(({style:re,side:ae})=>[V.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},g,{style:re,side:ae}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(V.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$1(_sfc_main$k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/tooltip.vue"]]);const ElTooltipV2=withInstall(TooltipV2),LEFT_CHECK_CHANGE_EVENT="left-check-change",RIGHT_CHECK_CHANGE_EVENT="right-check-change",transferProps=buildProps({data:{type:definePropType(Array),default:()=>[]},titles:{type:definePropType(Array),default:()=>[]},buttonTexts:{type:definePropType(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:definePropType(Function)},leftDefaultChecked:{type:definePropType(Array),default:()=>[]},rightDefaultChecked:{type:definePropType(Array),default:()=>[]},renderContent:{type:definePropType(Function)},modelValue:{type:definePropType(Array),default:()=>[]},format:{type:definePropType(Object),default:()=>({})},filterable:Boolean,props:{type:definePropType(Object),default:()=>mutable({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),transferCheckedChangeFn=(t,r)=>[t,r].every(isArray$6)||isArray$6(t)&&isNil(r),transferEmits={[CHANGE_EVENT]:(t,r,n)=>[t,n].every(isArray$6)&&["left","right"].includes(r),[UPDATE_MODEL_EVENT]:t=>isArray$6(t),[LEFT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn,[RIGHT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn},CHECKED_CHANGE_EVENT="checked-change",transferPanelProps=buildProps({data:transferProps.data,optionRender:{type:definePropType(Function)},placeholder:String,title:String,filterable:Boolean,format:transferProps.format,filterMethod:transferProps.filterMethod,defaultChecked:transferProps.leftDefaultChecked,props:transferProps.props}),transferPanelEmits={[CHECKED_CHANGE_EVENT]:transferCheckedChangeFn},usePropsAlias=t=>{const r={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...r,...t.props}))},useCheck$1=(t,r,n)=>{const g=usePropsAlias(t),y=computed(()=>t.data.filter(re=>isFunction$4(t.filterMethod)?t.filterMethod(r.query,re):String(re[g.value.label]||re[g.value.key]).toLowerCase().includes(r.query.toLowerCase()))),L=computed(()=>y.value.filter(re=>!re[g.value.disabled])),$=computed(()=>{const re=r.checked.length,ae=t.data.length,{noChecked:oe,hasChecked:ie}=t.format;return oe&&ie?re>0?ie.replace(/\${checked}/g,re.toString()).replace(/\${total}/g,ae.toString()):oe.replace(/\${total}/g,ae.toString()):`${re}/${ae}`}),V=computed(()=>{const re=r.checked.length;return re>0&&re{const re=L.value.map(ae=>ae[g.value.key]);r.allChecked=re.length>0&&re.every(ae=>r.checked.includes(ae))},j=re=>{r.checked=re?L.value.map(ae=>ae[g.value.key]):[]};return watch(()=>r.checked,(re,ae)=>{if(z(),r.checkChangeByUser){const oe=re.concat(ae).filter(ie=>!re.includes(ie)||!ae.includes(ie));n(CHECKED_CHANGE_EVENT,re,oe)}else n(CHECKED_CHANGE_EVENT,re),r.checkChangeByUser=!0}),watch(L,()=>{z()}),watch(()=>t.data,()=>{const re=[],ae=y.value.map(oe=>oe[g.value.key]);r.checked.forEach(oe=>{ae.includes(oe)&&re.push(oe)}),r.checkChangeByUser=!1,r.checked=re}),watch(()=>t.defaultChecked,(re,ae)=>{if(ae&&re.length===ae.length&&re.every(le=>ae.includes(le)))return;const oe=[],ie=L.value.map(le=>le[g.value.key]);re.forEach(le=>{ie.includes(le)&&oe.push(le)}),r.checkChangeByUser=!1,r.checked=oe},{immediate:!0}),{filteredData:y,checkableData:L,checkedSummary:$,isIndeterminate:V,updateAllChecked:z,handleAllCheckedChange:j}},useCheckedChange=(t,r)=>({onSourceCheckedChange:(y,L)=>{t.leftChecked=y,L&&r(LEFT_CHECK_CHANGE_EVENT,y,L)},onTargetCheckedChange:(y,L)=>{t.rightChecked=y,L&&r(RIGHT_CHECK_CHANGE_EVENT,y,L)}}),useComputedData=t=>{const r=usePropsAlias(t),n=computed(()=>t.data.reduce((L,$)=>(L[$[r.value.key]]=$)&&L,{})),g=computed(()=>t.data.filter(L=>!t.modelValue.includes(L[r.value.key]))),y=computed(()=>t.targetOrder==="original"?t.data.filter(L=>t.modelValue.includes(L[r.value.key])):t.modelValue.reduce((L,$)=>{const V=n.value[$];return V&&L.push(V),L},[]));return{sourceData:g,targetData:y}},useMove=(t,r,n)=>{const g=usePropsAlias(t),y=(V,z,j)=>{n(UPDATE_MODEL_EVENT,V),n(CHANGE_EVENT,V,z,j)};return{addToLeft:()=>{const V=t.modelValue.slice();r.rightChecked.forEach(z=>{const j=V.indexOf(z);j>-1&&V.splice(j,1)}),y(V,"left",r.rightChecked)},addToRight:()=>{let V=t.modelValue.slice();const z=t.data.filter(j=>{const re=j[g.value.key];return r.leftChecked.includes(re)&&!t.modelValue.includes(re)}).map(j=>j[g.value.key]);V=t.targetOrder==="unshift"?z.concat(V):V.concat(z),t.targetOrder==="original"&&(V=t.data.filter(j=>V.includes(j[g.value.key])).map(j=>j[g.value.key])),y(V,"right",r.leftChecked)}}},__default__$a=defineComponent({name:"ElTransferPanel"}),_sfc_main$j=defineComponent({...__default__$a,props:transferPanelProps,emits:transferPanelEmits,setup(t,{expose:r,emit:n}){const g=t,y=useSlots(),L=({option:_e})=>_e,{t:$}=useLocale(),V=useNamespace("transfer"),z=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),j=usePropsAlias(g),{filteredData:re,checkedSummary:ae,isIndeterminate:oe,handleAllCheckedChange:ie}=useCheck$1(g,z,n),le=computed(()=>!isEmpty(z.query)&&isEmpty(re.value)),ue=computed(()=>!isEmpty(y.default()[0].children)),{checked:de,allChecked:pe,query:he}=toRefs(z);return r({query:he}),(_e,Ce)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(V).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(V).be("panel","header"))},[createVNode$1(unref(ElCheckbox),{modelValue:unref(pe),"onUpdate:modelValue":Ce[0]||(Ce[0]=$e=>isRef(pe)?pe.value=$e:null),indeterminate:unref(oe),"validate-event":!1,onChange:unref(ie)},{default:withCtx(()=>[createTextVNode(toDisplayString(_e.title)+" ",1),createBaseVNode("span",null,toDisplayString(unref(ae)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(V).be("panel","body"),unref(V).is("with-footer",unref(ue))])},[_e.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(he),"onUpdate:modelValue":Ce[1]||(Ce[1]=$e=>isRef(he)?he.value=$e:null),class:normalizeClass(unref(V).be("panel","filter")),size:"default",placeholder:_e.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElCheckboxGroup$1),{modelValue:unref(de),"onUpdate:modelValue":Ce[2]||(Ce[2]=$e=>isRef(de)?de.value=$e:null),"validate-event":!1,class:normalizeClass([unref(V).is("filterable",_e.filterable),unref(V).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(re),$e=>(openBlock(),createBlock(unref(ElCheckbox),{key:$e[unref(j).key],class:normalizeClass(unref(V).be("panel","item")),label:$e[unref(j).key],disabled:$e[unref(j).disabled],"validate-event":!1},{default:withCtx(()=>{var xe;return[createVNode$1(L,{option:(xe=_e.optionRender)==null?void 0:xe.call(_e,$e)},null,8,["option"])]}),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(le)&&!unref(isEmpty)(_e.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(V).be("panel","empty"))},toDisplayString(unref(le)?unref($)("el.transfer.noMatch"):unref($)("el.transfer.noData")),3),[[vShow,unref(le)||unref(isEmpty)(_e.data)]])],2),unref(ue)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(V).be("panel","footer"))},[renderSlot(_e.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$1(_sfc_main$j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const _hoisted_1$b={key:0},_hoisted_2$8={key:0},__default__$9=defineComponent({name:"ElTransfer"}),_sfc_main$i=defineComponent({...__default__$9,props:transferProps,emits:transferEmits,setup(t,{expose:r,emit:n}){const g=t,y=useSlots(),{t:L}=useLocale(),$=useNamespace("transfer"),{formItem:V}=useFormItem(),z=reactive({leftChecked:[],rightChecked:[]}),j=usePropsAlias(g),{sourceData:re,targetData:ae}=useComputedData(g),{onSourceCheckedChange:oe,onTargetCheckedChange:ie}=useCheckedChange(z,n),{addToLeft:le,addToRight:ue}=useMove(g,z,n),de=ref(),pe=ref(),he=Ne=>{switch(Ne){case"left":de.value.query="";break;case"right":pe.value.query="";break}},_e=computed(()=>g.buttonTexts.length===2),Ce=computed(()=>g.titles[0]||L("el.transfer.titles.0")),$e=computed(()=>g.titles[1]||L("el.transfer.titles.1")),xe=computed(()=>g.filterPlaceholder||L("el.transfer.filterPlaceholder"));watch(()=>g.modelValue,()=>{var Ne;g.validateEvent&&((Ne=V==null?void 0:V.validate)==null||Ne.call(V,"change").catch(ze=>void 0))});const Ie=computed(()=>Ne=>g.renderContent?g.renderContent(h$1,Ne):y.default?y.default({option:Ne}):h$1("span",Ne[j.value.label]||Ne[j.value.key]));return r({clearQuery:he,leftPanel:de,rightPanel:pe}),(Ne,ze)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref($).b())},[createVNode$1(TransferPanel,{ref_key:"leftPanel",ref:de,data:unref(re),"option-render":unref(Ie),placeholder:unref(xe),title:unref(Ce),filterable:Ne.filterable,format:Ne.format,"filter-method":Ne.filterMethod,"default-checked":Ne.leftDefaultChecked,props:g.props,onCheckedChange:unref(oe)},{default:withCtx(()=>[renderSlot(Ne.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref($).e("buttons"))},[createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref($).e("button"),unref($).is("with-texts",unref(_e))]),disabled:unref(isEmpty)(z.rightChecked),onClick:unref(le)},{default:withCtx(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1}),unref(isUndefined$1)(Ne.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$b,toDisplayString(Ne.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref($).e("button"),unref($).is("with-texts",unref(_e))]),disabled:unref(isEmpty)(z.leftChecked),onClick:unref(ue)},{default:withCtx(()=>[unref(isUndefined$1)(Ne.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$8,toDisplayString(Ne.buttonTexts[1]),1)),createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode$1(TransferPanel,{ref_key:"rightPanel",ref:pe,data:unref(ae),"option-render":unref(Ie),placeholder:unref(xe),filterable:Ne.filterable,format:Ne.format,"filter-method":Ne.filterMethod,title:unref($e),"default-checked":Ne.rightDefaultChecked,props:g.props,onCheckedChange:unref(ie)},{default:withCtx(()=>[renderSlot(Ne.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc$1(_sfc_main$i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(t,r){!r||r[NODE_KEY]||Object.defineProperty(r,NODE_KEY,{value:t.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function(t,r){return t?r[t]:r[NODE_KEY]},handleCurrentChange=(t,r,n)=>{const g=t.value.currentNode;n();const y=t.value.currentNode;g!==y&&r("current-change",y?y.data:null,y)},getChildState=t=>{let r=!0,n=!0,g=!0;for(let y=0,L=t.length;y"u"){const L=g[r];return L===void 0?"":L}};let nodeIdSeed=0,Node$1=class xl{constructor(r){this.id=nodeIdSeed++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in r)hasOwn$1(r,n)&&(this[n]=r[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const r=this.store;if(!r)throw new Error("[Node]store is required!");r.registerNode(this);const n=r.props;if(n&&typeof n.isLeaf<"u"){const L=getPropertyFromData(this,"isLeaf");typeof L=="boolean"&&(this.isLeafByUser=L)}if(r.lazy!==!0&&this.data?(this.setData(this.data),r.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&r.lazy&&r.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const g=r.defaultExpandedKeys,y=r.key;y&&g&&g.includes(this.key)&&this.expand(null,r.autoExpandParent),y&&r.currentNodeKey!==void 0&&this.key===r.currentNodeKey&&(r.currentNode=this,r.currentNode.isCurrent=!0),r.lazy&&r._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(r){Array.isArray(r)||markNodeData(this,r),this.data=r,this.childNodes=[];let n;this.level===0&&Array.isArray(this.data)?n=this.data:n=getPropertyFromData(this,"children")||[];for(let g=0,y=n.length;g-1)return r.childNodes[n+1]}return null}get previousSibling(){const r=this.parent;if(r){const n=r.childNodes.indexOf(this);if(n>-1)return n>0?r.childNodes[n-1]:null}return null}contains(r,n=!0){return(this.childNodes||[]).some(g=>g===r||n&&g.contains(r))}remove(){const r=this.parent;r&&r.removeChild(this)}insertChild(r,n,g){if(!r)throw new Error("InsertChild error: child is required.");if(!(r instanceof xl)){if(!g){const y=this.getChildren(!0);y.includes(r.data)||(typeof n>"u"||n<0?y.push(r.data):y.splice(n,0,r.data))}Object.assign(r,{parent:this,store:this.store}),r=reactive(new xl(r)),r instanceof xl&&r.initialize()}r.level=this.level+1,typeof n>"u"||n<0?this.childNodes.push(r):this.childNodes.splice(n,0,r),this.updateLeafState()}insertBefore(r,n){let g;n&&(g=this.childNodes.indexOf(n)),this.insertChild(r,g)}insertAfter(r,n){let g;n&&(g=this.childNodes.indexOf(n),g!==-1&&(g+=1)),this.insertChild(r,g)}removeChild(r){const n=this.getChildren()||[],g=n.indexOf(r.data);g>-1&&n.splice(g,1);const y=this.childNodes.indexOf(r);y>-1&&(this.store&&this.store.deregisterNode(r),r.parent=null,this.childNodes.splice(y,1)),this.updateLeafState()}removeChildByData(r){let n=null;for(let g=0;g{if(n){let y=this.parent;for(;y.level>0;)y.expanded=!0,y=y.parent}this.expanded=!0,r&&r(),this.childNodes.forEach(y=>{y.canFocus=!0})};this.shouldLoadData()?this.loadData(y=>{Array.isArray(y)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),g())}):g()}doCreateChildren(r,n={}){r.forEach(g=>{this.insertChild(Object.assign({data:g},n),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(r=>{r.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const r=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!r||r.length===0;return}this.isLeaf=!1}setChecked(r,n,g,y){if(this.indeterminate=r==="half",this.checked=r===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:$,allWithoutDisable:V}=getChildState(this.childNodes);!this.isLeaf&&!$&&V&&(this.checked=!1,r=!1);const z=()=>{if(n){const j=this.childNodes;for(let oe=0,ie=j.length;oe{z(),reInitChecked(this)},{checked:r!==!1});return}else z()}const L=this.parent;!L||L.level===0||g||reInitChecked(L)}getChildren(r=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const g=this.store.props;let y="children";return g&&(y=g.children||"children"),n[y]===void 0&&(n[y]=null),r&&!n[y]&&(n[y]=[]),n[y]}updateChildren(){const r=this.getChildren()||[],n=this.childNodes.map(L=>L.data),g={},y=[];r.forEach((L,$)=>{const V=L[NODE_KEY];!!V&&n.findIndex(j=>j[NODE_KEY]===V)>=0?g[V]={index:$,data:L}:y.push({index:$,data:L})}),this.store.lazy||n.forEach(L=>{g[L[NODE_KEY]]||this.removeChildByData(L)}),y.forEach(({index:L,data:$})=>{this.insertChild({data:$},L)}),this.updateLeafState()}loadData(r,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const g=y=>{this.childNodes=[],this.doCreateChildren(y,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),r&&r.call(this,y)};this.store.load(this,g)}else r&&r.call(this)}};class TreeStore{constructor(r){this.currentNode=null,this.currentNodeKey=null;for(const n in r)hasOwn$1(r,n)&&(this[n]=r[n]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const r=this.load;r(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(r){const n=this.filterNodeMethod,g=this.lazy,y=function(L){const $=L.root?L.root.childNodes:L.childNodes;if($.forEach(V=>{V.visible=n.call(V,r,V.data,V),y(V)}),!L.visible&&$.length){let V=!0;V=!$.some(z=>z.visible),L.root?L.root.visible=V===!1:L.visible=V===!1}r&&L.visible&&!L.isLeaf&&!g&&L.expand()};y(this)}setData(r){r!==this.root.data?(this.root.setData(r),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(r){if(r instanceof Node$1)return r;const n=isObject$7(r)?getNodeKey(this.key,r):r;return this.nodesMap[n]||null}insertBefore(r,n){const g=this.getNode(n);g.parent.insertBefore({data:r},g)}insertAfter(r,n){const g=this.getNode(n);g.parent.insertAfter({data:r},g)}remove(r){const n=this.getNode(r);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(r,n){const g=n?this.getNode(n):this.root;g&&g.insertChild({data:r})}_initDefaultCheckedNodes(){const r=this.defaultCheckedKeys||[],n=this.nodesMap;r.forEach(g=>{const y=n[g];y&&y.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(r){(this.defaultCheckedKeys||[]).includes(r.key)&&r.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(r){r!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=r,this._initDefaultCheckedNodes())}registerNode(r){const n=this.key;!r||!r.data||(n?r.key!==void 0&&(this.nodesMap[r.key]=r):this.nodesMap[r.id]=r)}deregisterNode(r){!this.key||!r||!r.data||(r.childNodes.forEach(g=>{this.deregisterNode(g)}),delete this.nodesMap[r.key])}getCheckedNodes(r=!1,n=!1){const g=[],y=function(L){(L.root?L.root.childNodes:L.childNodes).forEach(V=>{(V.checked||n&&V.indeterminate)&&(!r||r&&V.isLeaf)&&g.push(V.data),y(V)})};return y(this),g}getCheckedKeys(r=!1){return this.getCheckedNodes(r).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const r=[],n=function(g){(g.root?g.root.childNodes:g.childNodes).forEach(L=>{L.indeterminate&&r.push(L.data),n(L)})};return n(this),r}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(r=>(r||{})[this.key])}_getAllNodes(){const r=[],n=this.nodesMap;for(const g in n)hasOwn$1(n,g)&&r.push(n[g]);return r}updateChildren(r,n){const g=this.nodesMap[r];if(!g)return;const y=g.childNodes;for(let L=y.length-1;L>=0;L--){const $=y[L];this.remove($.data)}for(let L=0,$=n.length;L<$;L++){const V=n[L];this.append(V,g.data)}}_setCheckedKeys(r,n=!1,g){const y=this._getAllNodes().sort((V,z)=>z.level-V.level),L=Object.create(null),$=Object.keys(g);y.forEach(V=>V.setChecked(!1,!1));for(let V=0,z=y.length;V0;)L[oe.data[r]]=!0,oe=oe.parent;if(j.isLeaf||this.checkStrictly){j.setChecked(!0,!1);continue}if(j.setChecked(!0,!0),n){j.setChecked(!1,!1);const ie=function(le){le.childNodes.forEach(de=>{de.isLeaf||de.setChecked(!1,!1),ie(de)})};ie(j)}}}setCheckedNodes(r,n=!1){const g=this.key,y={};r.forEach(L=>{y[(L||{})[g]]=!0}),this._setCheckedKeys(g,n,y)}setCheckedKeys(r,n=!1){this.defaultCheckedKeys=r;const g=this.key,y={};r.forEach(L=>{y[L]=!0}),this._setCheckedKeys(g,n,y)}setDefaultExpandedKeys(r){r=r||[],this.defaultExpandedKeys=r,r.forEach(n=>{const g=this.getNode(n);g&&g.expand(null,this.autoExpandParent)})}setChecked(r,n,g){const y=this.getNode(r);y&&y.setChecked(!!n,g)}getCurrentNode(){return this.currentNode}setCurrentNode(r){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=r,this.currentNode.isCurrent=!0}setUserCurrentNode(r,n=!0){const g=r[this.key],y=this.nodesMap[g];this.setCurrentNode(y),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(r,n=!0){if(r==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const g=this.getNode(r);g&&(this.setCurrentNode(g),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$h=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(t){const r=useNamespace("tree"),n=inject("NodeInstance"),g=inject("RootTree");return()=>{const y=t.node,{data:L,store:$}=y;return t.renderContent?t.renderContent(h$1,{_self:n,node:y,data:L,store:$}):g.ctx.slots.default?g.ctx.slots.default({node:y,data:L}):h$1("span",{class:r.be("node","label")},[y.label])}}});var NodeContent=_export_sfc$1(_sfc_main$h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function useNodeExpandEventBroadcast(t){const r=inject("TreeNodeMap",null),n={treeNodeExpand:g=>{t.node!==g&&t.node.collapse()},children:[]};return r&&r.children.push(n),provide("TreeNodeMap",n),{broadcastExpanded:g=>{if(t.accordion)for(const y of n.children)y.treeNodeExpand(g)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:t,ctx:r,el$:n,dropIndicator$:g,store:y}){const L=useNamespace("tree"),$=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:re,treeNode:ae})=>{if(typeof t.allowDrag=="function"&&!t.allowDrag(ae.node))return re.preventDefault(),!1;re.dataTransfer.effectAllowed="move";try{re.dataTransfer.setData("text/plain","")}catch{}$.value.draggingNode=ae,r.emit("node-drag-start",ae.node,re)},treeNodeDragOver:({event:re,treeNode:ae})=>{const oe=ae,ie=$.value.dropNode;ie&&ie!==oe&&removeClass(ie.$el,L.is("drop-inner"));const le=$.value.draggingNode;if(!le||!oe)return;let ue=!0,de=!0,pe=!0,he=!0;typeof t.allowDrop=="function"&&(ue=t.allowDrop(le.node,oe.node,"prev"),he=de=t.allowDrop(le.node,oe.node,"inner"),pe=t.allowDrop(le.node,oe.node,"next")),re.dataTransfer.dropEffect=de||ue||pe?"move":"none",(ue||de||pe)&&ie!==oe&&(ie&&r.emit("node-drag-leave",le.node,ie.node,re),r.emit("node-drag-enter",le.node,oe.node,re)),(ue||de||pe)&&($.value.dropNode=oe),oe.node.nextSibling===le.node&&(pe=!1),oe.node.previousSibling===le.node&&(ue=!1),oe.node.contains(le.node,!1)&&(de=!1),(le.node===oe.node||le.node.contains(oe.node))&&(ue=!1,de=!1,pe=!1);const _e=oe.$el.getBoundingClientRect(),Ce=n.value.getBoundingClientRect();let $e;const xe=ue?de?.25:pe?.45:1:-1,Ie=pe?de?.75:ue?.55:0:1;let Ne=-9999;const ze=re.clientY-_e.top;ze<_e.height*xe?$e="before":ze>_e.height*Ie?$e="after":de?$e="inner":$e="none";const Fe=oe.$el.querySelector(`.${L.be("node","expand-icon")}`).getBoundingClientRect(),qe=g.value;$e==="before"?Ne=Fe.top-Ce.top:$e==="after"&&(Ne=Fe.bottom-Ce.top),qe.style.top=`${Ne}px`,qe.style.left=`${Fe.right-Ce.left}px`,$e==="inner"?addClass(oe.$el,L.is("drop-inner")):removeClass(oe.$el,L.is("drop-inner")),$.value.showDropIndicator=$e==="before"||$e==="after",$.value.allowDrop=$.value.showDropIndicator||he,$.value.dropType=$e,r.emit("node-drag-over",le.node,oe.node,re)},treeNodeDragEnd:re=>{const{draggingNode:ae,dropType:oe,dropNode:ie}=$.value;if(re.preventDefault(),re.dataTransfer.dropEffect="move",ae&&ie){const le={data:ae.node.data};oe!=="none"&&ae.node.remove(),oe==="before"?ie.node.parent.insertBefore(le,ie.node):oe==="after"?ie.node.parent.insertAfter(le,ie.node):oe==="inner"&&ie.node.insertChild(le),oe!=="none"&&y.value.registerNode(le),removeClass(ie.$el,L.is("drop-inner")),r.emit("node-drag-end",ae.node,ie.node,oe,re),oe!=="none"&&r.emit("node-drop",ae.node,ie.node,oe,re)}ae&&!ie&&r.emit("node-drag-end",ae.node,null,oe,re),$.value.showDropIndicator=!1,$.value.draggingNode=null,$.value.dropNode=null,$.value.allowDrop=!0}}),{dragState:$}}const _sfc_main$g=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:_CollapseTransition,ElCheckbox,NodeContent,ElIcon,Loading:loading_default},props:{node:{type:Node$1,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(t,r){const n=useNamespace("tree"),{broadcastExpanded:g}=useNodeExpandEventBroadcast(t),y=inject("RootTree"),L=ref(!1),$=ref(!1),V=ref(null),z=ref(null),j=ref(null),re=inject(dragEventsKey),ae=getCurrentInstance();provide("NodeInstance",ae),t.node.expanded&&(L.value=!0,$.value=!0);const oe=y.props.children||"children";watch(()=>{const ze=t.node.data[oe];return ze&&[...ze]},()=>{t.node.updateChildren()}),watch(()=>t.node.indeterminate,ze=>{ue(t.node.checked,ze)}),watch(()=>t.node.checked,ze=>{ue(ze,t.node.indeterminate)}),watch(()=>t.node.expanded,ze=>{nextTick(()=>L.value=ze),ze&&($.value=!0)});const ie=ze=>getNodeKey(y.props.nodeKey,ze.data),le=ze=>{const Fe=t.props.class;if(!Fe)return{};let qe;if(isFunction$4(Fe)){const{data:Et}=ze;qe=Fe(Et,ze)}else qe=Fe;return isString$3(qe)?{[qe]:!0}:qe},ue=(ze,Fe)=>{(V.value!==ze||z.value!==Fe)&&y.ctx.emit("check-change",t.node.data,ze,Fe),V.value=ze,z.value=Fe},de=ze=>{handleCurrentChange(y.store,y.ctx.emit,()=>y.store.value.setCurrentNode(t.node)),y.currentNode.value=t.node,y.props.expandOnClickNode&&he(),y.props.checkOnClickNode&&!t.node.disabled&&_e(null,{target:{checked:!t.node.checked}}),y.ctx.emit("node-click",t.node.data,t.node,ae,ze)},pe=ze=>{y.instance.vnode.props.onNodeContextmenu&&(ze.stopPropagation(),ze.preventDefault()),y.ctx.emit("node-contextmenu",ze,t.node.data,t.node,ae)},he=()=>{t.node.isLeaf||(L.value?(y.ctx.emit("node-collapse",t.node.data,t.node,ae),t.node.collapse()):(t.node.expand(),r.emit("node-expand",t.node.data,t.node,ae)))},_e=(ze,Fe)=>{t.node.setChecked(Fe.target.checked,!y.props.checkStrictly),nextTick(()=>{const qe=y.store.value;y.ctx.emit("check",t.node.data,{checkedNodes:qe.getCheckedNodes(),checkedKeys:qe.getCheckedKeys(),halfCheckedNodes:qe.getHalfCheckedNodes(),halfCheckedKeys:qe.getHalfCheckedKeys()})})};return{ns:n,node$:j,tree:y,expanded:L,childNodeRendered:$,oldChecked:V,oldIndeterminate:z,getNodeKey:ie,getNodeClass:le,handleSelectChange:ue,handleClick:de,handleContextMenu:pe,handleExpandIconClick:he,handleCheckChange:_e,handleChildNodeExpand:(ze,Fe,qe)=>{g(Fe),y.ctx.emit("node-expand",ze,Fe,qe)},handleDragStart:ze=>{y.props.draggable&&re.treeNodeDragStart({event:ze,treeNode:t})},handleDragOver:ze=>{ze.preventDefault(),y.props.draggable&&re.treeNodeDragOver({event:ze,treeNode:{$el:j.value,node:t.node}})},handleDrop:ze=>{ze.preventDefault()},handleDragEnd:ze=>{y.props.draggable&&re.treeNodeDragEnd(ze)},CaretRight:caret_right_default}}}),_hoisted_1$a=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$7=["aria-expanded"];function _sfc_render$2(t,r,n,g,y,L){const $=resolveComponent("el-icon"),V=resolveComponent("el-checkbox"),z=resolveComponent("loading"),j=resolveComponent("node-content"),re=resolveComponent("el-tree-node"),ae=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([t.ns.b("node"),t.ns.is("expanded",t.expanded),t.ns.is("current",t.node.isCurrent),t.ns.is("hidden",!t.node.visible),t.ns.is("focusable",!t.node.disabled),t.ns.is("checked",!t.node.disabled&&t.node.checked),t.getNodeClass(t.node)]),role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.node.disabled,"aria-checked":t.node.checked,draggable:t.tree.props.draggable,"data-key":t.getNodeKey(t.node),onClick:r[1]||(r[1]=withModifiers((...oe)=>t.handleClick&&t.handleClick(...oe),["stop"])),onContextmenu:r[2]||(r[2]=(...oe)=>t.handleContextMenu&&t.handleContextMenu(...oe)),onDragstart:r[3]||(r[3]=withModifiers((...oe)=>t.handleDragStart&&t.handleDragStart(...oe),["stop"])),onDragover:r[4]||(r[4]=withModifiers((...oe)=>t.handleDragOver&&t.handleDragOver(...oe),["stop"])),onDragend:r[5]||(r[5]=withModifiers((...oe)=>t.handleDragEnd&&t.handleDragEnd(...oe),["stop"])),onDrop:r[6]||(r[6]=withModifiers((...oe)=>t.handleDrop&&t.handleDrop(...oe),["stop"]))},[createBaseVNode("div",{class:normalizeClass(t.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(t.node.level-1)*t.tree.props.indent+"px"})},[t.tree.props.icon||t.CaretRight?(openBlock(),createBlock($,{key:0,class:normalizeClass([t.ns.be("node","expand-icon"),t.ns.is("leaf",t.node.isLeaf),{expanded:!t.node.isLeaf&&t.expanded}]),onClick:withModifiers(t.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.tree.props.icon||t.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),t.showCheckbox?(openBlock(),createBlock(V,{key:1,"model-value":t.node.checked,indeterminate:t.node.indeterminate,disabled:!!t.node.disabled,onClick:r[0]||(r[0]=withModifiers(()=>{},["stop"])),onChange:t.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),t.node.loading?(openBlock(),createBlock($,{key:2,class:normalizeClass([t.ns.be("node","loading-icon"),t.ns.is("loading")])},{default:withCtx(()=>[createVNode$1(z)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(j,{node:t.node,"render-content":t.renderContent},null,8,["node","render-content"])],6),createVNode$1(ae,null,{default:withCtx(()=>[!t.renderAfterExpand||t.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(t.ns.be("node","children")),role:"group","aria-expanded":t.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.node.childNodes,oe=>(openBlock(),createBlock(re,{key:t.getNodeKey(oe),"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,node:oe,accordion:t.accordion,props:t.props,onNodeExpand:t.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$7)),[[vShow,t.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$a)),[[vShow,t.node.visible]])}var ElTreeNode$1=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$2],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function useKeydown({el$:t},r){const n=useNamespace("tree"),g=shallowRef([]),y=shallowRef([]);onMounted(()=>{$()}),onUpdated(()=>{g.value=Array.from(t.value.querySelectorAll("[role=treeitem]")),y.value=Array.from(t.value.querySelectorAll("input[type=checkbox]"))}),watch(y,V=>{V.forEach(z=>{z.setAttribute("tabindex","-1")})}),useEventListener(t,"keydown",V=>{const z=V.target;if(!z.className.includes(n.b("node")))return;const j=V.code;g.value=Array.from(t.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));const re=g.value.indexOf(z);let ae;if([EVENT_CODE.up,EVENT_CODE.down].includes(j)){if(V.preventDefault(),j===EVENT_CODE.up){ae=re===-1?0:re!==0?re-1:g.value.length-1;const ie=ae;for(;!r.value.getNode(g.value[ae].dataset.key).canFocus;){if(ae--,ae===ie){ae=-1;break}ae<0&&(ae=g.value.length-1)}}else{ae=re===-1?0:re=g.value.length&&(ae=0)}}ae!==-1&&g.value[ae].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(j)&&(V.preventDefault(),z.click());const oe=z.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(j)&&oe&&(V.preventDefault(),oe.click())});const $=()=>{var V;g.value=Array.from(t.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),y.value=Array.from(t.value.querySelectorAll("input[type=checkbox]"));const z=t.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(z.length){z[0].setAttribute("tabindex","0");return}(V=g.value[0])==null||V.setAttribute("tabindex","0")}}const _sfc_main$f=defineComponent({name:"ElTree",components:{ElTreeNode:ElTreeNode$1},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:iconPropType}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(t,r){const{t:n}=useLocale(),g=useNamespace("tree"),y=ref(new TreeStore({key:t.nodeKey,data:t.data,lazy:t.lazy,props:t.props,load:t.load,currentNodeKey:t.currentNodeKey,checkStrictly:t.checkStrictly,checkDescendants:t.checkDescendants,defaultCheckedKeys:t.defaultCheckedKeys,defaultExpandedKeys:t.defaultExpandedKeys,autoExpandParent:t.autoExpandParent,defaultExpandAll:t.defaultExpandAll,filterNodeMethod:t.filterNodeMethod}));y.value.initialize();const L=ref(y.value.root),$=ref(null),V=ref(null),z=ref(null),{broadcastExpanded:j}=useNodeExpandEventBroadcast(t),{dragState:re}=useDragNodeHandler({props:t,ctx:r,el$:V,dropIndicator$:z,store:y});useKeydown({el$:V},y);const ae=computed(()=>{const{childNodes:At}=L.value;return!At||At.length===0||At.every(({visible:hn})=>!hn)});watch(()=>t.currentNodeKey,At=>{y.value.setCurrentNodeKey(At)}),watch(()=>t.defaultCheckedKeys,At=>{y.value.setDefaultCheckedKey(At)}),watch(()=>t.defaultExpandedKeys,At=>{y.value.setDefaultExpandedKeys(At)}),watch(()=>t.data,At=>{y.value.setData(At)},{deep:!0}),watch(()=>t.checkStrictly,At=>{y.value.checkStrictly=At});const oe=At=>{if(!t.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");y.value.filter(At)},ie=At=>getNodeKey(t.nodeKey,At.data),le=At=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const hn=y.value.getNode(At);if(!hn)return[];const bn=[hn.data];let Cn=hn.parent;for(;Cn&&Cn!==L.value;)bn.push(Cn.data),Cn=Cn.parent;return bn.reverse()},ue=(At,hn)=>y.value.getCheckedNodes(At,hn),de=At=>y.value.getCheckedKeys(At),pe=()=>{const At=y.value.getCurrentNode();return At?At.data:null},he=()=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const At=pe();return At?At[t.nodeKey]:null},_e=(At,hn)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");y.value.setCheckedNodes(At,hn)},Ce=(At,hn)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");y.value.setCheckedKeys(At,hn)},$e=(At,hn,bn)=>{y.value.setChecked(At,hn,bn)},xe=()=>y.value.getHalfCheckedNodes(),Ie=()=>y.value.getHalfCheckedKeys(),Ne=(At,hn=!0)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(y,r.emit,()=>y.value.setUserCurrentNode(At,hn))},ze=(At,hn=!0)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(y,r.emit,()=>y.value.setCurrentNodeKey(At,hn))},Fe=At=>y.value.getNode(At),qe=At=>{y.value.remove(At)},Et=(At,hn)=>{y.value.append(At,hn)},kt=(At,hn)=>{y.value.insertBefore(At,hn)},Lt=(At,hn)=>{y.value.insertAfter(At,hn)},vn=(At,hn,bn)=>{j(hn),r.emit("node-expand",At,hn,bn)},jt=(At,hn)=>{if(!t.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");y.value.updateChildren(At,hn)};return provide("RootTree",{ctx:r,props:t,store:y,root:L,currentNode:$,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:g,store:y,root:L,currentNode:$,dragState:re,el$:V,dropIndicator$:z,isEmpty:ae,filter:oe,getNodeKey:ie,getNodePath:le,getCheckedNodes:ue,getCheckedKeys:de,getCurrentNode:pe,getCurrentKey:he,setCheckedNodes:_e,setCheckedKeys:Ce,setChecked:$e,getHalfCheckedNodes:xe,getHalfCheckedKeys:Ie,setCurrentNode:Ne,setCurrentKey:ze,t:n,getNode:Fe,remove:qe,append:Et,insertBefore:kt,insertAfter:Lt,handleNodeExpand:vn,updateKeyChildren:jt}}});function _sfc_render$1(t,r,n,g,y,L){const $=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([t.ns.b(),t.ns.is("dragging",!!t.dragState.draggingNode),t.ns.is("drop-not-allow",!t.dragState.allowDrop),t.ns.is("drop-inner",t.dragState.dropType==="inner"),{[t.ns.m("highlight-current")]:t.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.root.childNodes,V=>(openBlock(),createBlock($,{key:t.getNodeKey(V),node:V,props:t.props,accordion:t.accordion,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,"render-content":t.renderContent,onNodeExpand:t.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),t.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(t.ns.e("empty-block"))},[renderSlot(t.$slots,"empty",{},()=>{var V;return[createBaseVNode("span",{class:normalizeClass(t.ns.e("empty-text"))},toDisplayString((V=t.emptyText)!=null?V:t.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(t.ns.e("drop-indicator"))},null,2),[[vShow,t.dragState.showDropIndicator]])],2)}var Tree$2=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$1],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);Tree$2.install=t=>{t.component(Tree$2.name,Tree$2)};const _Tree=Tree$2,ElTree=_Tree,useSelect=(t,{attrs:r},{tree:n,key:g})=>{const y=useNamespace("tree-select"),L={...pick$1(toRefs(t),Object.keys(ElSelect.props)),...r,valueKey:g,popperClass:computed(()=>{const $=[y.e("popper")];return t.popperClass&&$.push(t.popperClass),$.join(" ")}),filterMethod:($="")=>{t.filterMethod&&t.filterMethod($),nextTick(()=>{var V;(V=n.value)==null||V.filter($)})},onVisibleChange:$=>{var V;(V=r.onVisibleChange)==null||V.call(r,$),t.filterable&&$&&L.filterMethod()}};return L},component=defineComponent({extends:ElOption,setup(t,r){const n=ElOption.setup(t,r);delete n.selectOptionClick;const g=getCurrentInstance().proxy;return nextTick(()=>{n.select.cachedOptions.get(g.value)||n.select.onOptionCreate(g)}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(t){return t||t===0}function isValidArray(t){return Array.isArray(t)&&t.length}function toValidArray(t){return Array.isArray(t)?t:isValidValue(t)?[t]:[]}function treeFind(t,r,n,g,y){for(let L=0;L{watch(()=>t.modelValue,()=>{t.showCheckbox&&nextTick(()=>{const ae=L.value;ae&&!isEqual$1(ae.getCheckedKeys(),toValidArray(t.modelValue))&&ae.setCheckedKeys(toValidArray(t.modelValue))})},{immediate:!0,deep:!0});const V=computed(()=>({value:$.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...t.props})),z=(ae,oe)=>{var ie;const le=V.value[ae];return isFunction$4(le)?le(oe,(ie=L.value)==null?void 0:ie.getNode(z("value",oe))):oe[le]},j=toValidArray(t.modelValue).map(ae=>treeFind(t.data||[],oe=>z("value",oe)===ae,oe=>z("children",oe),(oe,ie,le,ue)=>ue&&z("value",ue))).filter(ae=>isValidValue(ae)),re=computed(()=>{if(!t.renderAfterExpand&&!t.lazy)return[];const ae=[];return treeEach(t.data.concat(t.cacheData),oe=>{const ie=z("value",oe);ae.push({value:ie,currentLabel:z("label",oe),isDisabled:z("disabled",oe)})},oe=>z("children",oe)),ae});return{...pick$1(toRefs(t),Object.keys(_Tree.props)),...r,nodeKey:$,expandOnClickNode:computed(()=>!t.checkStrictly&&t.expandOnClickNode),defaultExpandedKeys:computed(()=>t.defaultExpandedKeys?t.defaultExpandedKeys.concat(j):j),renderContent:(ae,{node:oe,data:ie,store:le})=>ae(component,{value:z("value",ie),label:z("label",ie),disabled:z("disabled",ie)},t.renderContent?()=>t.renderContent(ae,{node:oe,data:ie,store:le}):n.default?()=>n.default({node:oe,data:ie,store:le}):void 0),filterNodeMethod:(ae,oe,ie)=>{var le;return t.filterNodeMethod?t.filterNodeMethod(ae,oe,ie):ae?(le=z("label",oe))==null?void 0:le.includes(ae):!0},onNodeClick:(ae,oe,ie)=>{var le,ue,de;if((le=r.onNodeClick)==null||le.call(r,ae,oe,ie),!(t.showCheckbox&&t.checkOnClickNode))if(!t.showCheckbox&&(t.checkStrictly||oe.isLeaf)){if(!z("disabled",ae)){const pe=(ue=y.value)==null?void 0:ue.options.get(z("value",ae));(de=y.value)==null||de.handleOptionSelect(pe,!0)}}else t.expandOnClickNode&&ie.proxy.handleExpandIconClick()},onCheck:(ae,oe)=>{var ie;(ie=r.onCheck)==null||ie.call(r,ae,oe);const le=z("value",ae);if(t.checkStrictly)g(UPDATE_MODEL_EVENT,t.multiple?oe.checkedKeys:oe.checkedKeys.includes(le)?le:void 0);else if(t.multiple)g(UPDATE_MODEL_EVENT,L.value.getCheckedKeys(!0));else{const ue=treeFind([ae],he=>!isValidArray(z("children",he))&&!z("disabled",he),he=>z("children",he)),de=ue?z("value",ue):void 0,pe=isValidValue(t.modelValue)&&!!treeFind([ae],he=>z("value",he)===t.modelValue,he=>z("children",he));g(UPDATE_MODEL_EVENT,de===t.modelValue||pe?void 0:de)}},cacheOptions:re}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(t){const r=inject(selectKey);return watch(()=>t.data,()=>{var n;t.data.forEach(y=>{r.cachedOptions.has(y.value)||r.cachedOptions.set(y.value,y)});const g=((n=r.selectWrapper)==null?void 0:n.querySelectorAll("input"))||[];Array.from(g).includes(document.activeElement)||r.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$e=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(t,r){const{slots:n,expose:g}=r,y=ref(),L=ref(),$=computed(()=>t.nodeKey||t.valueKey||"value"),V=useSelect(t,r,{select:y,tree:L,key:$}),{cacheOptions:z,...j}=useTree$1(t,r,{select:y,tree:L,key:$}),re=reactive({});return g(re),onMounted(()=>{Object.assign(re,{...pick$1(L.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick$1(y.value,["focus","blur"])})}),()=>h$1(ElSelect,reactive({...V,ref:ae=>y.value=ae}),{...n,default:()=>[h$1(CacheOptions,{data:z.value}),h$1(_Tree,reactive({...j,ref:ae=>L.value=ae}))]})}});var TreeSelect=_export_sfc$1(_sfc_main$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);TreeSelect.install=t=>{t.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(t=>(t.KEY="id",t.LABEL="label",t.CHILDREN="children",t.DISABLED="disabled",t))(TreeOptionsEnum||{}),SetOperationEnum=(t=>(t.ADD="add",t.DELETE="delete",t))(SetOperationEnum||{});const itemSize={type:Number,default:26},treeProps=buildProps({data:{type:definePropType(Array),default:()=>mutable([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:definePropType(Object),default:()=>mutable({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:definePropType(Array),default:()=>mutable([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:definePropType(Array),default:()=>mutable([])},indent:{type:Number,default:16},itemSize,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:definePropType([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:definePropType(Function)},perfMode:{type:Boolean,default:!0}}),treeNodeProps=buildProps({node:{type:definePropType(Object),default:()=>mutable(EMPTY_NODE)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",NODE_EXPAND="node-expand",NODE_COLLAPSE="node-collapse",CURRENT_CHANGE="current-change",NODE_CHECK="check",NODE_CHECK_CHANGE="check-change",NODE_CONTEXTMENU="node-contextmenu",treeEmits={[NODE_CLICK]:(t,r,n)=>t&&r&&n,[NODE_EXPAND]:(t,r)=>t&&r,[NODE_COLLAPSE]:(t,r)=>t&&r,[CURRENT_CHANGE]:(t,r)=>t&&r,[NODE_CHECK]:(t,r)=>t&&r,[NODE_CHECK_CHANGE]:(t,r)=>t&&typeof r=="boolean",[NODE_CONTEXTMENU]:(t,r,n)=>t&&r&&n},treeNodeEmits={click:(t,r)=>!!(t&&r),toggle:t=>!!t,check:(t,r)=>t&&typeof r=="boolean"};function useCheck(t,r){const n=ref(new Set),g=ref(new Set),{emit:y}=getCurrentInstance();watch([()=>r.value,()=>t.defaultCheckedKeys],()=>nextTick(()=>{he(t.defaultCheckedKeys)}),{immediate:!0});const L=()=>{if(!r.value||!t.showCheckbox||t.checkStrictly)return;const{levelTreeNodeMap:_e,maxLevel:Ce}=r.value,$e=n.value,xe=new Set;for(let Ie=Ce-1;Ie>=1;--Ie){const Ne=_e.get(Ie);Ne&&Ne.forEach(ze=>{const Fe=ze.children;if(Fe){let qe=!0,Et=!1;for(const kt of Fe){const Lt=kt.key;if($e.has(Lt))Et=!0;else if(xe.has(Lt)){qe=!1,Et=!0;break}else qe=!1}qe?$e.add(ze.key):Et?(xe.add(ze.key),$e.delete(ze.key)):($e.delete(ze.key),xe.delete(ze.key))}})}g.value=xe},$=_e=>n.value.has(_e.key),V=_e=>g.value.has(_e.key),z=(_e,Ce,$e=!0)=>{const xe=n.value,Ie=(Ne,ze)=>{xe[ze?SetOperationEnum.ADD:SetOperationEnum.DELETE](Ne.key);const Fe=Ne.children;!t.checkStrictly&&Fe&&Fe.forEach(qe=>{qe.disabled||Ie(qe,ze)})};Ie(_e,Ce),L(),$e&&j(_e,Ce)},j=(_e,Ce)=>{const{checkedNodes:$e,checkedKeys:xe}=le(),{halfCheckedNodes:Ie,halfCheckedKeys:Ne}=ue();y(NODE_CHECK,_e.data,{checkedKeys:xe,checkedNodes:$e,halfCheckedKeys:Ne,halfCheckedNodes:Ie}),y(NODE_CHECK_CHANGE,_e.data,Ce)};function re(_e=!1){return le(_e).checkedKeys}function ae(_e=!1){return le(_e).checkedNodes}function oe(){return ue().halfCheckedKeys}function ie(){return ue().halfCheckedNodes}function le(_e=!1){const Ce=[],$e=[];if(r!=null&&r.value&&t.showCheckbox){const{treeNodeMap:xe}=r.value;n.value.forEach(Ie=>{const Ne=xe.get(Ie);Ne&&(!_e||_e&&Ne.isLeaf)&&($e.push(Ie),Ce.push(Ne.data))})}return{checkedKeys:$e,checkedNodes:Ce}}function ue(){const _e=[],Ce=[];if(r!=null&&r.value&&t.showCheckbox){const{treeNodeMap:$e}=r.value;g.value.forEach(xe=>{const Ie=$e.get(xe);Ie&&(Ce.push(xe),_e.push(Ie.data))})}return{halfCheckedNodes:_e,halfCheckedKeys:Ce}}function de(_e){n.value.clear(),g.value.clear(),he(_e)}function pe(_e,Ce){if(r!=null&&r.value&&t.showCheckbox){const $e=r.value.treeNodeMap.get(_e);$e&&z($e,Ce,!1)}}function he(_e){if(r!=null&&r.value){const{treeNodeMap:Ce}=r.value;if(t.showCheckbox&&Ce&&_e)for(const $e of _e){const xe=Ce.get($e);xe&&!$(xe)&&z(xe,!0,!1)}}}return{updateCheckedKeys:L,toggleCheckbox:z,isChecked:$,isIndeterminate:V,getCheckedKeys:re,getCheckedNodes:ae,getHalfCheckedKeys:oe,getHalfCheckedNodes:ie,setChecked:pe,setCheckedKeys:de}}function useFilter(t,r){const n=ref(new Set([])),g=ref(new Set([])),y=computed(()=>isFunction$4(t.filterMethod));function L(V){var z;if(!y.value)return;const j=new Set,re=g.value,ae=n.value,oe=[],ie=((z=r.value)==null?void 0:z.treeNodes)||[],le=t.filterMethod;ae.clear();function ue(de){de.forEach(pe=>{oe.push(pe),le!=null&&le(V,pe.data)?oe.forEach(_e=>{j.add(_e.key)}):pe.isLeaf&&ae.add(pe.key);const he=pe.children;if(he&&ue(he),!pe.isLeaf){if(!j.has(pe.key))ae.add(pe.key);else if(he){let _e=!0;for(const Ce of he)if(!ae.has(Ce.key)){_e=!1;break}_e?re.add(pe.key):re.delete(pe.key)}}oe.pop()})}return ue(ie),j}function $(V){return g.value.has(V.key)}return{hiddenExpandIconKeySet:g,hiddenNodeKeySet:n,doFilter:L,isForceHiddenExpandIcon:$}}function useTree(t,r){const n=ref(new Set(t.defaultExpandedKeys)),g=ref(),y=shallowRef();watch(()=>t.currentNodeKey,Mn=>{g.value=Mn},{immediate:!0}),watch(()=>t.data,Mn=>{Rn(Mn)},{immediate:!0});const{isIndeterminate:L,isChecked:$,toggleCheckbox:V,getCheckedKeys:z,getCheckedNodes:j,getHalfCheckedKeys:re,getHalfCheckedNodes:ae,setChecked:oe,setCheckedKeys:ie}=useCheck(t,y),{doFilter:le,hiddenNodeKeySet:ue,isForceHiddenExpandIcon:de}=useFilter(t,y),pe=computed(()=>{var Mn;return((Mn=t.props)==null?void 0:Mn.value)||TreeOptionsEnum.KEY}),he=computed(()=>{var Mn;return((Mn=t.props)==null?void 0:Mn.children)||TreeOptionsEnum.CHILDREN}),_e=computed(()=>{var Mn;return((Mn=t.props)==null?void 0:Mn.disabled)||TreeOptionsEnum.DISABLED}),Ce=computed(()=>{var Mn;return((Mn=t.props)==null?void 0:Mn.label)||TreeOptionsEnum.LABEL}),$e=computed(()=>{const Mn=n.value,Vn=ue.value,zn=[],Jn=y.value&&y.value.treeNodes||[];function tr(){const $n=[];for(let Pn=Jn.length-1;Pn>=0;--Pn)$n.push(Jn[Pn]);for(;$n.length;){const Pn=$n.pop();if(Pn&&(Vn.has(Pn.key)||zn.push(Pn),Mn.has(Pn.key))){const Bn=Pn.children;if(Bn){const Un=Bn.length;for(let Fn=Un-1;Fn>=0;--Fn)$n.push(Bn[Fn])}}}}return tr(),zn}),xe=computed(()=>$e.value.length>0);function Ie(Mn){const Vn=new Map,zn=new Map;let Jn=1;function tr(Pn,Bn=1,Un=void 0){var Fn;const cr=[];for(const ur of Pn){const vr=Fe(ur),Yn={level:Bn,key:vr,data:ur};Yn.label=Et(ur),Yn.parent=Un;const gr=ze(ur);Yn.disabled=qe(ur),Yn.isLeaf=!gr||gr.length===0,gr&&gr.length&&(Yn.children=tr(gr,Bn+1,Yn)),cr.push(Yn),Vn.set(vr,Yn),zn.has(Bn)||zn.set(Bn,[]),(Fn=zn.get(Bn))==null||Fn.push(Yn)}return Bn>Jn&&(Jn=Bn),cr}const $n=tr(Mn);return{treeNodeMap:Vn,levelTreeNodeMap:zn,maxLevel:Jn,treeNodes:$n}}function Ne(Mn){const Vn=le(Mn);Vn&&(n.value=Vn)}function ze(Mn){return Mn[he.value]}function Fe(Mn){return Mn?Mn[pe.value]:""}function qe(Mn){return Mn[_e.value]}function Et(Mn){return Mn[Ce.value]}function kt(Mn){n.value.has(Mn.key)?bn(Mn):hn(Mn)}function Lt(Mn){n.value=new Set(Mn)}function vn(Mn,Vn){r(NODE_CLICK,Mn.data,Mn,Vn),jt(Mn),t.expandOnClickNode&&kt(Mn),t.showCheckbox&&t.checkOnClickNode&&!Mn.disabled&&V(Mn,!$(Mn),!0)}function jt(Mn){xn(Mn)||(g.value=Mn.key,r(CURRENT_CHANGE,Mn.data,Mn))}function At(Mn,Vn){V(Mn,Vn)}function hn(Mn){const Vn=n.value;if(y.value&&t.accordion){const{treeNodeMap:zn}=y.value;Vn.forEach(Jn=>{const tr=zn.get(Jn);Mn&&Mn.level===(tr==null?void 0:tr.level)&&Vn.delete(Jn)})}Vn.add(Mn.key),r(NODE_EXPAND,Mn.data,Mn)}function bn(Mn){n.value.delete(Mn.key),r(NODE_COLLAPSE,Mn.data,Mn)}function Cn(Mn){return n.value.has(Mn.key)}function Tn(Mn){return!!Mn.disabled}function xn(Mn){const Vn=g.value;return!!Vn&&Vn===Mn.key}function En(){var Mn,Vn;if(g.value)return(Vn=(Mn=y.value)==null?void 0:Mn.treeNodeMap.get(g.value))==null?void 0:Vn.data}function kn(){return g.value}function On(Mn){g.value=Mn}function Rn(Mn){nextTick(()=>y.value=Ie(Mn))}function In(Mn){var Vn;const zn=isObject$7(Mn)?Fe(Mn):Mn;return(Vn=y.value)==null?void 0:Vn.treeNodeMap.get(zn)}return{tree:y,flattenTree:$e,isNotEmpty:xe,getKey:Fe,getChildren:ze,toggleExpand:kt,toggleCheckbox:V,isExpanded:Cn,isChecked:$,isIndeterminate:L,isDisabled:Tn,isCurrent:xn,isForceHiddenExpandIcon:de,handleNodeClick:vn,handleNodeCheck:At,getCurrentNode:En,getCurrentKey:kn,setCurrentKey:On,getCheckedKeys:z,getCheckedNodes:j,getHalfCheckedKeys:re,getHalfCheckedNodes:ae,setChecked:oe,setCheckedKeys:ie,filter:Ne,setData:Rn,getNode:In,expandNode:hn,collapseNode:bn,setExpandedKeys:Lt}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(t){const r=inject(ROOT_TREE_INJECTION_KEY),n=useNamespace("tree");return()=>{const g=t.node,{data:y}=g;return r!=null&&r.ctx.slots.default?r.ctx.slots.default({node:g,data:y}):h$1("span",{class:n.be("node","label")},[g==null?void 0:g.label])}}});const _hoisted_1$9=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$8=defineComponent({name:"ElTreeNode"}),_sfc_main$d=defineComponent({...__default__$8,props:treeNodeProps,emits:treeNodeEmits,setup(t,{emit:r}){const n=t,g=inject(ROOT_TREE_INJECTION_KEY),y=useNamespace("tree"),L=computed(()=>{var ae;return(ae=g==null?void 0:g.props.indent)!=null?ae:16}),$=computed(()=>{var ae;return(ae=g==null?void 0:g.props.icon)!=null?ae:caret_right_default}),V=ae=>{r("click",n.node,ae)},z=()=>{r("toggle",n.node)},j=ae=>{r("check",n.node,ae)},re=ae=>{var oe,ie,le,ue;(le=(ie=(oe=g==null?void 0:g.instance)==null?void 0:oe.vnode)==null?void 0:ie.props)!=null&&le.onNodeContextmenu&&(ae.stopPropagation(),ae.preventDefault()),g==null||g.ctx.emit(NODE_CONTEXTMENU,ae,(ue=n.node)==null?void 0:ue.data,n.node)};return(ae,oe)=>{var ie,le,ue;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(y).b("node"),unref(y).is("expanded",ae.expanded),unref(y).is("current",ae.current),unref(y).is("focusable",!ae.disabled),unref(y).is("checked",!ae.disabled&&ae.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":ae.expanded,"aria-disabled":ae.disabled,"aria-checked":ae.checked,"data-key":(ie=ae.node)==null?void 0:ie.key,onClick:withModifiers(V,["stop"]),onContextmenu:re},[createBaseVNode("div",{class:normalizeClass(unref(y).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(ae.node.level-1)*unref(L)}px`,height:ae.itemSize+"px"})},[unref($)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(y).is("leaf",!!((le=ae.node)!=null&&le.isLeaf)),unref(y).is("hidden",ae.hiddenExpandIcon),{expanded:!((ue=ae.node)!=null&&ue.isLeaf)&&ae.expanded},unref(y).be("node","expand-icon")]),onClick:withModifiers(z,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref($))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),ae.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":ae.checked,indeterminate:ae.indeterminate,disabled:ae.disabled,onChange:j,onClick:oe[0]||(oe[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElNodeContent),{node:ae.node},null,8,["node"])],6)],42,_hoisted_1$9)}}});var ElTreeNode=_export_sfc$1(_sfc_main$d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const __default__$7=defineComponent({name:"ElTreeV2"}),_sfc_main$c=defineComponent({...__default__$7,props:treeProps,emits:treeEmits,setup(t,{expose:r,emit:n}){const g=t,y=useSlots(),L=computed(()=>g.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:n,slots:y},props:g,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:$}=useLocale(),V=useNamespace("tree"),{flattenTree:z,isNotEmpty:j,toggleExpand:re,isExpanded:ae,isIndeterminate:oe,isChecked:ie,isDisabled:le,isCurrent:ue,isForceHiddenExpandIcon:de,handleNodeClick:pe,handleNodeCheck:he,toggleCheckbox:_e,getCurrentNode:Ce,getCurrentKey:$e,setCurrentKey:xe,getCheckedKeys:Ie,getCheckedNodes:Ne,getHalfCheckedKeys:ze,getHalfCheckedNodes:Fe,setChecked:qe,setCheckedKeys:Et,filter:kt,setData:Lt,getNode:vn,expandNode:jt,collapseNode:At,setExpandedKeys:hn}=useTree(g,n);return r({toggleCheckbox:_e,getCurrentNode:Ce,getCurrentKey:$e,setCurrentKey:xe,getCheckedKeys:Ie,getCheckedNodes:Ne,getHalfCheckedKeys:ze,getHalfCheckedNodes:Fe,setChecked:qe,setCheckedKeys:Et,filter:kt,setData:Lt,getNode:vn,expandNode:jt,collapseNode:At,setExpandedKeys:hn}),(bn,Cn)=>{var Tn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b(),{[unref(V).m("highlight-current")]:bn.highlightCurrent}]),role:"tree"},[unref(j)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(V).b("virtual-list"),data:unref(z),total:unref(z).length,height:bn.height,"item-size":unref(L),"perf-mode":bn.perfMode},{default:withCtx(({data:xn,index:En,style:kn})=>[(openBlock(),createBlock(ElTreeNode,{key:xn[En].key,style:normalizeStyle$1(kn),node:xn[En],expanded:unref(ae)(xn[En]),"show-checkbox":bn.showCheckbox,checked:unref(ie)(xn[En]),indeterminate:unref(oe)(xn[En]),"item-size":unref(L),disabled:unref(le)(xn[En]),current:unref(ue)(xn[En]),"hidden-expand-icon":unref(de)(xn[En]),onClick:unref(pe),onToggle:unref(re),onCheck:unref(he)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(V).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(V).e("empty-text"))},toDisplayString((Tn=bn.emptyText)!=null?Tn:unref($)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$1(_sfc_main$c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor(r,n,g,y){super(r),this.name="UploadAjaxError",this.status=n,this.method=g,this.url=y}}function getError(t,r,n){let g;return n.response?g=`${n.response.error||n.response}`:n.responseText?g=`${n.responseText}`:g=`fail to ${r.method} ${t} ${n.status}`,new UploadAjaxError(g,n.status,r.method,t)}function getBody(t){const r=t.responseText||t.response;if(!r)return r;try{return JSON.parse(r)}catch{return r}}const ajaxUpload=t=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$2,"XMLHttpRequest is undefined");const r=new XMLHttpRequest,n=t.action;r.upload&&r.upload.addEventListener("progress",L=>{const $=L;$.percent=L.total>0?L.loaded/L.total*100:0,t.onProgress($)});const g=new FormData;if(t.data)for(const[L,$]of Object.entries(t.data))Array.isArray($)?g.append(L,...$):g.append(L,$);g.append(t.filename,t.file,t.file.name),r.addEventListener("error",()=>{t.onError(getError(n,t,r))}),r.addEventListener("load",()=>{if(r.status<200||r.status>=300)return t.onError(getError(n,t,r));t.onSuccess(getBody(r))}),r.open(t.method,n,!0),t.withCredentials&&"withCredentials"in r&&(r.withCredentials=!0);const y=t.headers||{};if(y instanceof Headers)y.forEach((L,$)=>r.setRequestHeader($,L));else for(const[L,$]of Object.entries(y))isNil($)||r.setRequestHeader(L,String($));return r.send(g),r},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:Object,default:()=>mutable({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},type:{type:String,default:"select"},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"}}),uploadListEmits={remove:t=>!!t},_hoisted_1$8=["onKeydown"],_hoisted_2$6=["src"],_hoisted_3$4=["onClick"],_hoisted_4$3=["onClick"],_hoisted_5$1=["onClick"],__default__$6=defineComponent({name:"ElUploadList"}),_sfc_main$b=defineComponent({...__default__$6,props:uploadListProps,emits:uploadListEmits,setup(t,{emit:r}){const{t:n}=useLocale(),g=useNamespace("upload"),y=useNamespace("icon"),L=useNamespace("list"),$=useFormDisabled(),V=ref(!1),z=j=>{r("remove",j)};return(j,re)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass([unref(g).b("list"),unref(g).bm("list",j.listType),unref(g).is("disabled",unref($))]),name:unref(L).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(j.files,ae=>(openBlock(),createElementBlock("li",{key:ae.uid||ae.name,class:normalizeClass([unref(g).be("list","item"),unref(g).is(ae.status),{focusing:V.value}]),tabindex:"0",onKeydown:withKeys(oe=>!unref($)&&z(ae),["delete"]),onFocus:re[0]||(re[0]=oe=>V.value=!0),onBlur:re[1]||(re[1]=oe=>V.value=!1),onClick:re[2]||(re[2]=oe=>V.value=!1)},[renderSlot(j.$slots,"default",{file:ae},()=>[j.listType==="picture"||ae.status!=="uploading"&&j.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(g).be("list","item-thumbnail")),src:ae.url,alt:""},null,10,_hoisted_2$6)):createCommentVNode("v-if",!0),ae.status==="uploading"||j.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(g).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(g).be("list","item-name")),onClick:withModifiers(oe=>j.handlePreview(ae),["prevent"])},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(y).m("document"))},{default:withCtx(()=>[createVNode$1(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(g).be("list","item-file-name"))},toDisplayString(ae.name),3)],10,_hoisted_3$4),ae.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:j.listType==="picture-card"?"circle":"line","stroke-width":j.listType==="picture-card"?6:2,percentage:Number(ae.percentage),style:normalizeStyle$1(j.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(g).be("list","item-status-label"))},[j.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(y).m("upload-success"),unref(y).m("circle-check")])},{default:withCtx(()=>[createVNode$1(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(j.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(y).m("upload-success"),unref(y).m("check")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref($)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(y).m("close")),onClick:oe=>z(ae)},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref($)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(y).m("close-tip"))},toDisplayString(unref(n)("el.upload.deleteTip")),3)),j.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(g).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(g).be("list","item-preview")),onClick:oe=>j.handlePreview(ae)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(y).m("zoom-in"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_4$3),unref($)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(g).be("list","item-delete")),onClick:oe=>z(ae)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(y).m("delete"))},{default:withCtx(()=>[createVNode$1(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_5$1))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$8))),128)),renderSlot(j.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:t=>isArray$6(t)},_hoisted_1$7=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$5=defineComponent({name:COMPONENT_NAME}),_sfc_main$a=defineComponent({...__default__$5,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(t,{emit:r}){const n=inject(uploadContextKey);n||throwError$1(COMPONENT_NAME,"usage: ");const g=useNamespace("upload"),y=ref(!1),L=useFormDisabled(),$=z=>{if(L.value)return;y.value=!1,z.stopPropagation();const j=Array.from(z.dataTransfer.files),re=n.accept.value;if(!re){r("file",j);return}const ae=j.filter(oe=>{const{type:ie,name:le}=oe,ue=le.includes(".")?`.${le.split(".").pop()}`:"",de=ie.replace(/\/.*$/,"");return re.split(",").map(pe=>pe.trim()).filter(pe=>pe).some(pe=>pe.startsWith(".")?ue===pe:/\/\*$/.test(pe)?de===pe.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(pe)?ie===pe:!1)});r("file",ae)},V=()=>{L.value||(y.value=!0)};return(z,j)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(g).b("dragger"),unref(g).is("dragover",y.value)]),onDrop:withModifiers($,["prevent"]),onDragover:withModifiers(V,["prevent"]),onDragleave:j[0]||(j[0]=withModifiers(re=>y.value=!1,["prevent"]))},[renderSlot(z.$slots,"default")],42,_hoisted_1$7))}});var UploadDragger=_export_sfc$1(_sfc_main$a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),_hoisted_1$6=["onKeydown"],_hoisted_2$5=["name","multiple","accept"],__default__$4=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$9=defineComponent({...__default__$4,props:uploadContentProps,setup(t,{expose:r}){const n=t,g=useNamespace("upload"),y=useFormDisabled(),L=shallowRef({}),$=shallowRef(),V=le=>{if(le.length===0)return;const{autoUpload:ue,limit:de,fileList:pe,multiple:he,onStart:_e,onExceed:Ce}=n;if(de&&pe.length+le.length>de){Ce(le,pe);return}he||(le=le.slice(0,1));for(const $e of le){const xe=$e;xe.uid=genFileId(),_e(xe),ue&&z(xe)}},z=async le=>{if($.value.value="",!n.beforeUpload)return j(le);let ue,de={};try{const he=n.beforeUpload(le);de=isObject$7(n.data)?cloneDeep(n.data):n.data,ue=await he}catch{ue=!1}if(ue===!1){n.onRemove(le);return}let pe=le;ue instanceof Blob&&(ue instanceof File?pe=ue:pe=new File([ue],le.name,{type:le.type})),j(Object.assign(pe,{uid:le.uid}),de)},j=(le,ue)=>{const{headers:de,data:pe,method:he,withCredentials:_e,name:Ce,action:$e,onProgress:xe,onSuccess:Ie,onError:Ne,httpRequest:ze}=n,{uid:Fe}=le,qe={headers:de||{},withCredentials:_e,file:le,data:ue??pe,method:he,filename:Ce,action:$e,onProgress:kt=>{xe(kt,le)},onSuccess:kt=>{Ie(kt,le),delete L.value[Fe]},onError:kt=>{Ne(kt,le),delete L.value[Fe]}},Et=ze(qe);L.value[Fe]=Et,Et instanceof Promise&&Et.then(qe.onSuccess,qe.onError)},re=le=>{const ue=le.target.files;ue&&V(Array.from(ue))},ae=()=>{y.value||($.value.value="",$.value.click())},oe=()=>{ae()};return r({abort:le=>{entriesOf(L.value).filter(le?([de])=>String(le.uid)===de:()=>!0).forEach(([de,pe])=>{pe instanceof XMLHttpRequest&&pe.abort(),delete L.value[de]})},upload:z}),(le,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(g).b(),unref(g).m(le.listType),unref(g).is("drag",le.drag)]),tabindex:"0",onClick:ae,onKeydown:withKeys(withModifiers(oe,["self"]),["enter","space"])},[le.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(y),onFile:V},{default:withCtx(()=>[renderSlot(le.$slots,"default")]),_:3},8,["disabled"])):renderSlot(le.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:$,class:normalizeClass(unref(g).e("input")),name:le.name,multiple:le.multiple,accept:le.accept,type:"file",onChange:re,onClick:ue[0]||(ue[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$5)],42,_hoisted_1$6))}});var UploadContent=_export_sfc$1(_sfc_main$9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const SCOPE$1="ElUpload",revokeObjectURL=t=>{var r;(r=t.url)!=null&&r.startsWith("blob:")&&URL.revokeObjectURL(t.url)},useHandlers=(t,r)=>{const n=useVModel(t,"fileList",void 0,{passive:!0}),g=oe=>n.value.find(ie=>ie.uid===oe.uid);function y(oe){var ie;(ie=r.value)==null||ie.abort(oe)}function L(oe=["ready","uploading","success","fail"]){n.value=n.value.filter(ie=>!oe.includes(ie.status))}const $=(oe,ie)=>{const le=g(ie);le&&(console.error(oe),le.status="fail",n.value.splice(n.value.indexOf(le),1),t.onError(oe,le,n.value),t.onChange(le,n.value))},V=(oe,ie)=>{const le=g(ie);le&&(t.onProgress(oe,le,n.value),le.status="uploading",le.percentage=Math.round(oe.percent))},z=(oe,ie)=>{const le=g(ie);le&&(le.status="success",le.response=oe,t.onSuccess(oe,le,n.value),t.onChange(le,n.value))},j=oe=>{isNil(oe.uid)&&(oe.uid=genFileId());const ie={name:oe.name,percentage:0,status:"ready",size:oe.size,raw:oe,uid:oe.uid};if(t.listType==="picture-card"||t.listType==="picture")try{ie.url=URL.createObjectURL(oe)}catch(le){le.message,t.onError(le,ie,n.value)}n.value=[...n.value,ie],t.onChange(ie,n.value)},re=async oe=>{const ie=oe instanceof File?g(oe):oe;ie||throwError$1(SCOPE$1,"file to be removed not found");const le=ue=>{y(ue);const de=n.value;de.splice(de.indexOf(ue),1),t.onRemove(ue,de),revokeObjectURL(ue)};t.beforeRemove?await t.beforeRemove(ie,n.value)!==!1&&le(ie):le(ie)};function ae(){n.value.filter(({status:oe})=>oe==="ready").forEach(({raw:oe})=>{var ie;return oe&&((ie=r.value)==null?void 0:ie.upload(oe))})}return watch(()=>t.listType,oe=>{oe!=="picture-card"&&oe!=="picture"||(n.value=n.value.map(ie=>{const{raw:le,url:ue}=ie;if(!ue&&le)try{ie.url=URL.createObjectURL(le)}catch(de){t.onError(de,ie,n.value)}return ie}))}),watch(n,oe=>{for(const ie of oe)ie.uid||(ie.uid=genFileId()),ie.status||(ie.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:y,clearFiles:L,handleError:$,handleProgress:V,handleStart:j,handleSuccess:z,handleRemove:re,submit:ae}},__default__$3=defineComponent({name:"ElUpload"}),_sfc_main$8=defineComponent({...__default__$3,props:uploadProps,setup(t,{expose:r}){const n=t,g=useSlots(),y=useFormDisabled(),L=shallowRef(),{abort:$,submit:V,clearFiles:z,uploadFiles:j,handleStart:re,handleError:ae,handleRemove:oe,handleSuccess:ie,handleProgress:le}=useHandlers(n,L),ue=computed(()=>n.listType==="picture-card"),de=computed(()=>({...n,fileList:j.value,onStart:re,onProgress:le,onSuccess:ie,onError:ae,onRemove:oe}));return onBeforeUnmount(()=>{j.value.forEach(({url:pe})=>{pe!=null&&pe.startsWith("blob:")&&URL.revokeObjectURL(pe)})}),provide(uploadContextKey,{accept:toRef(n,"accept")}),r({abort:$,submit:V,clearFiles:z,handleStart:re,handleRemove:oe}),(pe,he)=>(openBlock(),createElementBlock("div",null,[unref(ue)&&pe.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(y),"list-type":pe.listType,files:unref(j),"handle-preview":pe.onPreview,onRemove:unref(oe)},createSlots({append:withCtx(()=>[createVNode$1(UploadContent,mergeProps({ref_key:"uploadRef",ref:L},unref(de)),{default:withCtx(()=>[unref(g).trigger?renderSlot(pe.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!unref(g).trigger&&unref(g).default?renderSlot(pe.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[pe.$slots.file?{name:"default",fn:withCtx(({file:_e})=>[renderSlot(pe.$slots,"file",{file:_e})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(ue)||unref(ue)&&!pe.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:L},unref(de)),{default:withCtx(()=>[unref(g).trigger?renderSlot(pe.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!unref(g).trigger&&unref(g).default?renderSlot(pe.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),pe.$slots.trigger?renderSlot(pe.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(pe.$slots,"tip"),!unref(ue)&&pe.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(y),"list-type":pe.listType,files:unref(j),"handle-preview":pe.onPreview,onRemove:unref(oe)},createSlots({_:2},[pe.$slots.file?{name:"default",fn:withCtx(({file:_e})=>[renderSlot(pe.$slots,"file",{file:_e})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const ElUpload=withInstall(Upload);var Components=[ElAffix,ElAlert,ElAutocomplete,ElAutoResizer,ElAvatar,ElBacktop,ElBadge,ElBreadcrumb,ElBreadcrumbItem,ElButton,ElButtonGroup$1,ElCalendar,ElCard,ElCarousel,ElCarouselItem,ElCascader,ElCascaderPanel,ElCheckTag,ElCheckbox,ElCheckboxButton,ElCheckboxGroup$1,ElCol,ElCollapse,ElCollapseItem,ElCollapseTransition,ElColorPicker,ElConfigProvider,ElContainer,ElAside,ElFooter,ElHeader,ElMain,ElDatePicker,ElDescriptions,ElDescriptionsItem,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElEmpty,ElForm,ElFormItem,ElIcon,ElImage,ElImageViewer,ElInput,ElInputNumber,ElLink,ElMenu,ElMenuItem,ElMenuItemGroup,ElSubMenu,ElPageHeader,ElPagination,ElPopconfirm,ElPopover,ElPopper,ElProgress,ElRadio,ElRadioButton,ElRadioGroup,ElRate,ElResult,ElRow,ElScrollbar,ElSelect,ElOption,ElOptionGroup,ElSelectV2,ElSkeleton,ElSkeletonItem,ElSlider,ElSpace,ElStatistic,ElCountdown,ElSteps,ElStep,ElSwitch,ElTable,ElTableColumn,ElTableV2,ElTabs,ElTabPane,ElTag,ElText,ElTimePicker,ElTimeSelect,ElTimeline,ElTimelineItem,ElTooltip,ElTooltipV2,ElTransfer,ElTree,ElTreeSelect,ElTreeV2,ElUpload];const SCOPE="ElInfiniteScroll",CHECK_INTERVAL=50,DEFAULT_DELAY=200,DEFAULT_DISTANCE=0,attributes={delay:{type:Number,default:DEFAULT_DELAY},distance:{type:Number,default:DEFAULT_DISTANCE},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},getScrollOptions=(t,r)=>Object.entries(attributes).reduce((n,[g,y])=>{var L,$;const{type:V,default:z}=y,j=t.getAttribute(`infinite-scroll-${g}`);let re=($=(L=r[j])!=null?L:j)!=null?$:z;return re=re==="false"?!1:re,re=V(re),n[g]=Number.isNaN(re)?z:re,n},{}),destroyObserver=t=>{const{observer:r}=t[SCOPE];r&&(r.disconnect(),delete t[SCOPE].observer)},handleScroll=(t,r)=>{const{container:n,containerEl:g,instance:y,observer:L,lastScrollTop:$}=t[SCOPE],{disabled:V,distance:z}=getScrollOptions(t,y),{clientHeight:j,scrollHeight:re,scrollTop:ae}=g,oe=ae-$;if(t[SCOPE].lastScrollTop=ae,L||V||oe<0)return;let ie=!1;if(n===t)ie=re-(j+ae)<=z;else{const{clientTop:le,scrollHeight:ue}=t,de=getOffsetTopDistance(t,g);ie=ae+j>=de+le+ue-z}ie&&r.call(y)};function checkFull(t,r){const{containerEl:n,instance:g}=t[SCOPE],{disabled:y}=getScrollOptions(t,g);y||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?r.call(g):destroyObserver(t))}const InfiniteScroll={async mounted(t,r){const{instance:n,value:g}=r;isFunction$4(g)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:y,immediate:L}=getScrollOptions(t,n),$=getScrollContainer(t,!0),V=$===window?document.documentElement:$,z=throttle$2(handleScroll.bind(null,t,g),y);if($){if(t[SCOPE]={instance:n,container:$,containerEl:V,delay:y,cb:g,onScroll:z,lastScrollTop:V.scrollTop},L){const j=new MutationObserver(throttle$2(checkFull.bind(null,t,g),CHECK_INTERVAL));t[SCOPE].observer=j,j.observe(t,{childList:!0,subtree:!0}),checkFull(t,g)}$.addEventListener("scroll",z)}},unmounted(t){const{container:r,onScroll:n}=t[SCOPE];r==null||r.removeEventListener("scroll",n),destroyObserver(t)},async updated(t){if(!t[SCOPE])await nextTick();else{const{containerEl:r,cb:n,observer:g}=t[SCOPE];r.clientHeight&&g&&checkFull(t,n)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=t=>{t.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(t){let r;const n=ref(!1),g=reactive({...t,originalPosition:"",originalOverflow:"",visible:!1});function y(oe){g.text=oe}function L(){const oe=g.parent,ie=ae.ns;if(!oe.vLoadingAddClassList){let le=oe.getAttribute("loading-number");le=Number.parseInt(le)-1,le?oe.setAttribute("loading-number",le.toString()):(removeClass(oe,ie.bm("parent","relative")),oe.removeAttribute("loading-number")),removeClass(oe,ie.bm("parent","hidden"))}$(),re.unmount()}function $(){var oe,ie;(ie=(oe=ae.$el)==null?void 0:oe.parentNode)==null||ie.removeChild(ae.$el)}function V(){var oe;t.beforeClose&&!t.beforeClose()||(n.value=!0,clearTimeout(r),r=window.setTimeout(z,400),g.visible=!1,(oe=t.closed)==null||oe.call(t))}function z(){if(!n.value)return;const oe=g.parent;n.value=!1,oe.vLoadingAddClassList=void 0,L()}const re=createApp(defineComponent({name:"ElLoading",setup(oe,{expose:ie}){const{ns:le,zIndex:ue}=useGlobalComponentSettings("loading");return ie({ns:le,zIndex:ue}),()=>{const de=g.spinner||g.svg,pe=h$1("svg",{class:"circular",viewBox:g.svgViewBox?g.svgViewBox:"0 0 50 50",...de?{innerHTML:de}:{}},[h$1("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),he=g.text?h$1("p",{class:le.b("text")},[g.text]):void 0;return h$1(Transition,{name:le.b("fade"),onAfterLeave:z},{default:withCtx(()=>[withDirectives(createVNode$1("div",{style:{backgroundColor:g.background||""},class:[le.b("mask"),g.customClass,g.fullscreen?"is-fullscreen":""]},[h$1("div",{class:le.b("spinner")},[pe,he])]),[[vShow,g.visible]])])})}}})),ae=re.mount(document.createElement("div"));return{...toRefs(g),setText:y,removeElLoadingChild:$,close:V,handleAfterLeave:z,vm:ae,get $el(){return ae.$el}}}let fullscreenInstance;const Loading=function(t={}){if(!isClient$1)return;const r=resolveOptions(t);if(r.fullscreen&&fullscreenInstance)return fullscreenInstance;const n=createLoadingComponent({...r,closed:()=>{var y;(y=r.closed)==null||y.call(r),r.fullscreen&&(fullscreenInstance=void 0)}});addStyle(r,r.parent,n),addClassList(r,r.parent,n),r.parent.vLoadingAddClassList=()=>addClassList(r,r.parent,n);let g=r.parent.getAttribute("loading-number");return g?g=`${Number.parseInt(g)+1}`:g="1",r.parent.setAttribute("loading-number",g),r.parent.appendChild(n.$el),nextTick(()=>n.visible.value=r.visible),r.fullscreen&&(fullscreenInstance=n),n},resolveOptions=t=>{var r,n,g,y;let L;return isString$3(t.target)?L=(r=document.querySelector(t.target))!=null?r:document.body:L=t.target||document.body,{parent:L===document.body||t.body?document.body:L,background:t.background||"",svg:t.svg||"",svgViewBox:t.svgViewBox||"",spinner:t.spinner||!1,text:t.text||"",fullscreen:L===document.body&&((n=t.fullscreen)!=null?n:!0),lock:(g=t.lock)!=null?g:!1,customClass:t.customClass||"",visible:(y=t.visible)!=null?y:!0,target:L}},addStyle=async(t,r,n)=>{const{nextZIndex:g}=n.vm.zIndex,y={};if(t.fullscreen)n.originalPosition.value=getStyle$1(document.body,"position"),n.originalOverflow.value=getStyle$1(document.body,"overflow"),y.zIndex=g();else if(t.parent===document.body){n.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const L of["top","left"]){const $=L==="top"?"scrollTop":"scrollLeft";y[L]=`${t.target.getBoundingClientRect()[L]+document.body[$]+document.documentElement[$]-Number.parseInt(getStyle$1(document.body,`margin-${L}`),10)}px`}for(const L of["height","width"])y[L]=`${t.target.getBoundingClientRect()[L]}px`}else n.originalPosition.value=getStyle$1(r,"position");for(const[L,$]of Object.entries(y))n.$el.style[L]=$},addClassList=(t,r,n)=>{const g=n.vm.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?removeClass(r,g.bm("parent","relative")):addClass(r,g.bm("parent","relative")),t.fullscreen&&t.lock?addClass(r,g.bm("parent","hidden")):removeClass(r,g.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=(t,r)=>{var n,g,y,L;const $=r.instance,V=oe=>isObject$7(r.value)?r.value[oe]:void 0,z=oe=>{const ie=isString$3(oe)&&($==null?void 0:$[oe])||oe;return ie&&ref(ie)},j=oe=>z(V(oe)||t.getAttribute(`element-loading-${hyphenate(oe)}`)),re=(n=V("fullscreen"))!=null?n:r.modifiers.fullscreen,ae={text:j("text"),svg:j("svg"),svgViewBox:j("svgViewBox"),spinner:j("spinner"),background:j("background"),customClass:j("customClass"),fullscreen:re,target:(g=V("target"))!=null?g:re?void 0:t,body:(y=V("body"))!=null?y:r.modifiers.body,lock:(L=V("lock"))!=null?L:r.modifiers.lock};t[INSTANCE_KEY]={options:ae,instance:Loading(ae)}},updateOptions=(t,r)=>{for(const n of Object.keys(r))isRef(r[n])&&(r[n].value=t[n])},vLoading={mounted(t,r){r.value&&createInstance$1(t,r)},updated(t,r){const n=t[INSTANCE_KEY];r.oldValue!==r.value&&(r.value&&!r.oldValue?createInstance$1(t,r):r.value&&r.oldValue?isObject$7(r.value)&&updateOptions(r.value,n.options):n==null||n.instance.close())},unmounted(t){var r;(r=t[INSTANCE_KEY])==null||r.instance.close()}},ElLoading={install(t){t.directive("loading",vLoading),t.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient$1?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),required:!1},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances$2=shallowReactive([]),getInstance=t=>{const r=instances$2.findIndex(y=>y.id===t),n=instances$2[r];let g;return r>0&&(g=instances$2[r-1]),{current:n,prev:g}},getLastOffset=t=>{const{prev:r}=getInstance(t);return r?r.vm.exposed.bottom.value:0},getOffsetOrSpace=(t,r)=>instances$2.findIndex(g=>g.id===t)>0?20:r,_hoisted_1$5=["id"],_hoisted_2$4=["innerHTML"],__default__$2=defineComponent({name:"ElMessage"}),_sfc_main$7=defineComponent({...__default__$2,props:messageProps,emits:messageEmits,setup(t,{expose:r}){const n=t,{Close:g}=TypeComponents,{ns:y,zIndex:L}=useGlobalComponentSettings("message"),{currentZIndex:$,nextZIndex:V}=L,z=ref(),j=ref(!1),re=ref(0);let ae;const oe=computed(()=>n.type?n.type==="error"?"danger":n.type:"info"),ie=computed(()=>{const Ie=n.type;return{[y.bm("icon",Ie)]:Ie&&TypeComponentsMap[Ie]}}),le=computed(()=>n.icon||TypeComponentsMap[n.type]||""),ue=computed(()=>getLastOffset(n.id)),de=computed(()=>getOffsetOrSpace(n.id,n.offset)+ue.value),pe=computed(()=>re.value+de.value),he=computed(()=>({top:`${de.value}px`,zIndex:$.value}));function _e(){n.duration!==0&&({stop:ae}=useTimeoutFn$1(()=>{$e()},n.duration))}function Ce(){ae==null||ae()}function $e(){j.value=!1}function xe({code:Ie}){Ie===EVENT_CODE.esc&&$e()}return onMounted(()=>{_e(),V(),j.value=!0}),watch(()=>n.repeatNum,()=>{Ce(),_e()}),useEventListener(document,"keydown",xe),useResizeObserver(z,()=>{re.value=z.value.getBoundingClientRect().height}),r({visible:j,bottom:pe,close:$e}),(Ie,Ne)=>(openBlock(),createBlock(Transition,{name:unref(y).b("fade"),onBeforeLeave:Ie.onClose,onAfterLeave:Ne[0]||(Ne[0]=ze=>Ie.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Ie.id,ref_key:"messageRef",ref:z,class:normalizeClass([unref(y).b(),{[unref(y).m(Ie.type)]:Ie.type&&!Ie.icon},unref(y).is("center",Ie.center),unref(y).is("closable",Ie.showClose),Ie.customClass]),style:normalizeStyle$1(unref(he)),role:"alert",onMouseenter:Ce,onMouseleave:_e},[Ie.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Ie.repeatNum,type:unref(oe),class:normalizeClass(unref(y).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(le)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(y).e("icon"),unref(ie)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(le))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(Ie.$slots,"default",{},()=>[Ie.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(y).e("content")),innerHTML:Ie.message},null,10,_hoisted_2$4)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(y).e("content"))},toDisplayString(Ie.message),3))]),Ie.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(y).e("closeBtn")),onClick:withModifiers($e,["stop"])},{default:withCtx(()=>[createVNode$1(unref(g))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$5),[[vShow,j.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let seed$1=1;const normalizeOptions=t=>{const r=!t||isString$3(t)||isVNode(t)||isFunction$4(t)?{message:t}:t,n={...messageDefaults,...r};if(!n.appendTo)n.appendTo=document.body;else if(isString$3(n.appendTo)){let g=document.querySelector(n.appendTo);isElement$1(g)||(g=document.body),n.appendTo=g}return n},closeMessage=t=>{const r=instances$2.indexOf(t);if(r===-1)return;instances$2.splice(r,1);const{handler:n}=t;n.close()},createMessage=({appendTo:t,...r},n)=>{const g=`message_${seed$1++}`,y=r.onClose,L=document.createElement("div"),$={...r,id:g,onClose:()=>{y==null||y(),closeMessage(re)},onDestroy:()=>{render$2(null,L)}},V=createVNode$1(MessageConstructor,$,isFunction$4($.message)||isVNode($.message)?{default:isFunction$4($.message)?$.message:()=>$.message}:null);V.appContext=n||message._context,render$2(V,L),t.appendChild(L.firstElementChild);const z=V.component,re={id:g,vnode:V,vm:z,handler:{close:()=>{z.exposed.visible.value=!1}},props:V.component.props};return re},message=(t={},r)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$2(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const n=normalizeOptions(t);if(n.grouping&&instances$2.length){const y=instances$2.find(({vnode:L})=>{var $;return(($=L.props)==null?void 0:$.message)===n.message});if(y)return y.props.repeatNum+=1,y.props.type=n.type,y.handler}const g=createMessage(n,r);return instances$2.push(g),g.handler};messageTypes.forEach(t=>{message[t]=(r={},n)=>{const g=normalizeOptions(r);return message({...g,type:t},n)}});function closeAll$1(t){for(const r of instances$2)(!t||t===r.props.type)&&r.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$message"),_sfc_main$6=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(t,{emit:r}){const{locale:n,zIndex:g,ns:y,size:L}=useGlobalComponentSettings("message-box",computed(()=>t.buttonSize)),{t:$}=n,{nextZIndex:V}=g,z=ref(!1),j=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:V()}),re=computed(()=>{const vn=j.type;return{[y.bm("icon",vn)]:vn&&TypeComponentsMap[vn]}}),ae=useId(),oe=useId(),ie=computed(()=>j.icon||TypeComponentsMap[j.type]||""),le=computed(()=>!!j.message),ue=ref(),de=ref(),pe=ref(),he=ref(),_e=ref(),Ce=computed(()=>j.confirmButtonClass);watch(()=>j.inputValue,async vn=>{await nextTick(),t.boxType==="prompt"&&vn!==null&&qe()},{immediate:!0}),watch(()=>z.value,vn=>{var jt,At;vn&&(t.boxType!=="prompt"&&(j.autofocus?pe.value=(At=(jt=_e.value)==null?void 0:jt.$el)!=null?At:ue.value:pe.value=ue.value),j.zIndex=V()),t.boxType==="prompt"&&(vn?nextTick().then(()=>{var hn;he.value&&he.value.$el&&(j.autofocus?pe.value=(hn=Et())!=null?hn:ue.value:pe.value=ue.value)}):(j.editorErrorMessage="",j.validateError=!1))});const $e=computed(()=>t.draggable);useDraggable(ue,de,$e),onMounted(async()=>{await nextTick(),t.closeOnHashChange&&window.addEventListener("hashchange",xe)}),onBeforeUnmount(()=>{t.closeOnHashChange&&window.removeEventListener("hashchange",xe)});function xe(){z.value&&(z.value=!1,nextTick(()=>{j.action&&r("action",j.action)}))}const Ie=()=>{t.closeOnClickModal&&Fe(j.distinguishCancelAndClose?"close":"cancel")},Ne=useSameTarget(Ie),ze=vn=>{if(j.inputType!=="textarea")return vn.preventDefault(),Fe("confirm")},Fe=vn=>{var jt;t.boxType==="prompt"&&vn==="confirm"&&!qe()||(j.action=vn,j.beforeClose?(jt=j.beforeClose)==null||jt.call(j,vn,j,xe):xe())},qe=()=>{if(t.boxType==="prompt"){const vn=j.inputPattern;if(vn&&!vn.test(j.inputValue||""))return j.editorErrorMessage=j.inputErrorMessage||$("el.messagebox.error"),j.validateError=!0,!1;const jt=j.inputValidator;if(typeof jt=="function"){const At=jt(j.inputValue);if(At===!1)return j.editorErrorMessage=j.inputErrorMessage||$("el.messagebox.error"),j.validateError=!0,!1;if(typeof At=="string")return j.editorErrorMessage=At,j.validateError=!0,!1}}return j.editorErrorMessage="",j.validateError=!1,!0},Et=()=>{const vn=he.value.$refs;return vn.input||vn.textarea},kt=()=>{Fe("close")},Lt=()=>{t.closeOnPressEscape&&kt()};return t.lockScroll&&useLockscreen(z),useRestoreActive(z),{...toRefs(j),ns:y,overlayEvent:Ne,visible:z,hasMessage:le,typeClass:re,contentId:ae,inputId:oe,btnSize:L,iconComponent:ie,confirmButtonClasses:Ce,rootRef:ue,focusStartRef:pe,headerRef:de,inputRef:he,confirmRef:_e,doClose:xe,handleClose:kt,onCloseRequested:Lt,handleWrapperClick:Ie,handleInputEnter:ze,handleAction:Fe,t:$}}}),_hoisted_1$4=["aria-label","aria-describedby"],_hoisted_2$3=["aria-label"],_hoisted_3$3=["id"];function _sfc_render(t,r,n,g,y,L){const $=resolveComponent("el-icon"),V=resolveComponent("close"),z=resolveComponent("el-input"),j=resolveComponent("el-button"),re=resolveComponent("el-focus-trap"),ae=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:r[11]||(r[11]=oe=>t.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(ae,{"z-index":t.zIndex,"overlay-class":[t.ns.is("message-box"),t.modalClass],mask:t.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":t.title,"aria-modal":"true","aria-describedby":t.showInput?void 0:t.contentId,class:normalizeClass(`${t.ns.namespace.value}-overlay-message-box`),onClick:r[8]||(r[8]=(...oe)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...oe)),onMousedown:r[9]||(r[9]=(...oe)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...oe)),onMouseup:r[10]||(r[10]=(...oe)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...oe))},[createVNode$1(re,{loop:"",trapped:t.visible,"focus-trap-el":t.rootRef,"focus-start-el":t.focusStartRef,onReleaseRequested:t.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([t.ns.b(),t.customClass,t.ns.is("draggable",t.draggable),{[t.ns.m("center")]:t.center}]),style:normalizeStyle$1(t.customStyle),tabindex:"-1",onClick:r[7]||(r[7]=withModifiers(()=>{},["stop"]))},[t.title!==null&&t.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass(t.ns.e("header"))},[createBaseVNode("div",{class:normalizeClass(t.ns.e("title"))},[t.iconComponent&&t.center?(openBlock(),createBlock($,{key:0,class:normalizeClass([t.ns.e("status"),t.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(t.title),1)],2),t.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(t.ns.e("headerbtn")),"aria-label":t.t("el.messagebox.close"),onClick:r[0]||(r[0]=oe=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),onKeydown:r[1]||(r[1]=withKeys(withModifiers(oe=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode$1($,{class:normalizeClass(t.ns.e("close"))},{default:withCtx(()=>[createVNode$1(V)]),_:1},8,["class"])],42,_hoisted_2$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:t.contentId,class:normalizeClass(t.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(t.ns.e("container"))},[t.iconComponent&&!t.center&&t.hasMessage?(openBlock(),createBlock($,{key:0,class:normalizeClass([t.ns.e("status"),t.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),t.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(t.ns.e("message"))},[renderSlot(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(t.showInput?"label":"p"),{key:1,for:t.showInput?t.inputId:void 0,innerHTML:t.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(t.showInput?"label":"p"),{key:0,for:t.showInput?t.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(t.dangerouslyUseHTMLString?"":t.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(t.ns.e("input"))},[createVNode$1(z,{id:t.inputId,ref:"inputRef",modelValue:t.inputValue,"onUpdate:modelValue":r[2]||(r[2]=oe=>t.inputValue=oe),type:t.inputType,placeholder:t.inputPlaceholder,"aria-invalid":t.validateError,class:normalizeClass({invalid:t.validateError}),onKeydown:withKeys(t.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(t.ns.e("errormsg")),style:normalizeStyle$1({visibility:t.editorErrorMessage?"visible":"hidden"})},toDisplayString(t.editorErrorMessage),7)],2),[[vShow,t.showInput]])],10,_hoisted_3$3),createBaseVNode("div",{class:normalizeClass(t.ns.e("btns"))},[t.showCancelButton?(openBlock(),createBlock(j,{key:0,loading:t.cancelButtonLoading,class:normalizeClass([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:r[3]||(r[3]=oe=>t.handleAction("cancel")),onKeydown:r[4]||(r[4]=withKeys(withModifiers(oe=>t.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(t.cancelButtonText||t.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(j,{ref:"confirmRef",type:"primary",loading:t.confirmButtonLoading,class:normalizeClass([t.confirmButtonClasses]),round:t.roundButton,disabled:t.confirmButtonDisabled,size:t.btnSize,onClick:r[5]||(r[5]=oe=>t.handleAction("confirm")),onKeydown:r[6]||(r[6]=withKeys(withModifiers(oe=>t.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(t.confirmButtonText||t.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,t.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$4)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,t.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$1(_sfc_main$6,[["render",_sfc_render],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const messageInstance=new Map,getAppendToElement=t=>{let r=document.body;return t.appendTo&&(isString$3(t.appendTo)&&(r=document.querySelector(t.appendTo)),isElement$1(t.appendTo)&&(r=t.appendTo),isElement$1(r)||(r=document.body)),r},initInstance=(t,r,n=null)=>{const g=createVNode$1(MessageBoxConstructor,t,isFunction$4(t.message)||isVNode(t.message)?{default:isFunction$4(t.message)?t.message:()=>t.message}:null);return g.appContext=n,render$2(g,r),getAppendToElement(t).appendChild(r.firstElementChild),g.component},genContainer=()=>document.createElement("div"),showMessage=(t,r)=>{const n=genContainer();t.onVanish=()=>{render$2(null,n),messageInstance.delete(y)},t.onAction=L=>{const $=messageInstance.get(y);let V;t.showInput?V={value:y.inputValue,action:L}:V=L,t.callback?t.callback(V,g.proxy):L==="cancel"||L==="close"?t.distinguishCancelAndClose&&L!=="cancel"?$.reject("close"):$.reject("cancel"):$.resolve(V)};const g=initInstance(t,n,r),y=g.proxy;for(const L in t)hasOwn$1(t,L)&&!hasOwn$1(y.$props,L)&&(y[L]=t[L]);return y.visible=!0,y};function MessageBox(t,r=null){if(!isClient$1)return Promise.reject();let n;return isString$3(t)||isVNode(t)?t={message:t}:n=t.callback,new Promise((g,y)=>{const L=showMessage(t,r??MessageBox._context);messageInstance.set(L,{options:t,callback:n,resolve:g,reject:y})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(t=>{MessageBox[t]=messageBoxFactory(t)});function messageBoxFactory(t){return(r,n,g,y)=>{let L="";return isObject$7(n)?(g=n,L=""):isUndefined$1(n)?L="":L=n,MessageBox(Object.assign({title:L,message:r,type:"",...MESSAGE_BOX_DEFAULT_OPTS[t]},g,{boxType:t}),y)}}MessageBox.close=()=>{messageInstance.forEach((t,r)=>{r.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=t=>{_MessageBox._context=t._context,t.config.globalProperties.$msgbox=_MessageBox,t.config.globalProperties.$messageBox=_MessageBox,t.config.globalProperties.$alert=_MessageBox.alert,t.config.globalProperties.$confirm=_MessageBox.confirm,t.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:{type:Number,default:0}}),notificationEmits={destroy:()=>!0},_hoisted_1$3=["id"],_hoisted_2$2=["textContent"],_hoisted_3$2={key:0},_hoisted_4$2=["innerHTML"],__default__$1=defineComponent({name:"ElNotification"}),_sfc_main$5=defineComponent({...__default__$1,props:notificationProps,emits:notificationEmits,setup(t,{expose:r}){const n=t,{ns:g,zIndex:y}=useGlobalComponentSettings("notification"),{nextZIndex:L,currentZIndex:$}=y,{Close:V}=CloseComponents,z=ref(!1);let j;const re=computed(()=>{const _e=n.type;return _e&&TypeComponentsMap[n.type]?g.m(_e):""}),ae=computed(()=>n.type&&TypeComponentsMap[n.type]||n.icon),oe=computed(()=>n.position.endsWith("right")?"right":"left"),ie=computed(()=>n.position.startsWith("top")?"top":"bottom"),le=computed(()=>({[ie.value]:`${n.offset}px`,zIndex:$.value}));function ue(){n.duration>0&&({stop:j}=useTimeoutFn$1(()=>{z.value&&pe()},n.duration))}function de(){j==null||j()}function pe(){z.value=!1}function he({code:_e}){_e===EVENT_CODE.delete||_e===EVENT_CODE.backspace?de():_e===EVENT_CODE.esc?z.value&&pe():ue()}return onMounted(()=>{ue(),L(),z.value=!0}),useEventListener(document,"keydown",he),r({visible:z,close:pe}),(_e,Ce)=>(openBlock(),createBlock(Transition,{name:unref(g).b("fade"),onBeforeLeave:_e.onClose,onAfterLeave:Ce[1]||(Ce[1]=$e=>_e.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:_e.id,class:normalizeClass([unref(g).b(),_e.customClass,unref(oe)]),style:normalizeStyle$1(unref(le)),role:"alert",onMouseenter:de,onMouseleave:ue,onClick:Ce[0]||(Ce[0]=(...$e)=>_e.onClick&&_e.onClick(...$e))},[unref(ae)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(g).e("icon"),unref(re)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ae))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(g).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(g).e("title")),textContent:toDisplayString(_e.title)},null,10,_hoisted_2$2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(g).e("content")),style:normalizeStyle$1(_e.title?void 0:{margin:0})},[renderSlot(_e.$slots,"default",{},()=>[_e.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:_e.message},null,8,_hoisted_4$2)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$2,toDisplayString(_e.message),1))])],6),[[vShow,_e.message]]),_e.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(g).e("closeBtn")),onClick:withModifiers(pe,["stop"])},{default:withCtx(()=>[createVNode$1(unref(V))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$3),[[vShow,z.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$5,[["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(t={},r=null){if(!isClient$1)return{close:()=>{}};(typeof t=="string"||isVNode(t))&&(t={message:t});const n=t.position||"top-right";let g=t.offset||0;notifications[n].forEach(({vm:re})=>{var ae;g+=(((ae=re.el)==null?void 0:ae.offsetHeight)||0)+GAP_SIZE}),g+=GAP_SIZE;const y=`notification_${seed++}`,L=t.onClose,$={...t,offset:g,id:y,onClose:()=>{close(y,n,L)}};let V=document.body;isElement$1(t.appendTo)?V=t.appendTo:isString$3(t.appendTo)&&(V=document.querySelector(t.appendTo)),isElement$1(V)||(V=document.body);const z=document.createElement("div"),j=createVNode$1(NotificationConstructor,$,isVNode($.message)?{default:()=>$.message}:null);return j.appContext=r??notify._context,j.props.onDestroy=()=>{render$2(null,z)},render$2(j,z),notifications[n].push({vm:j}),V.appendChild(z.firstElementChild),{close:()=>{j.component.exposed.visible.value=!1}}};notificationTypes.forEach(t=>{notify[t]=(r={})=>((typeof r=="string"||isVNode(r))&&(r={message:r}),notify({...r,type:t}))});function close(t,r,n){const g=notifications[r],y=g.findIndex(({vm:j})=>{var re;return((re=j.component)==null?void 0:re.props.id)===t});if(y===-1)return;const{vm:L}=g[y];if(!L)return;n==null||n(L);const $=L.el.offsetHeight,V=r.split("-")[0];g.splice(y,1);const z=g.length;if(!(z<1))for(let j=y;j{r.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]);function mitt(t){return{all:t=t||new Map,on:function(r,n){var g=t.get(r);g?g.push(n):t.set(r,[n])},off:function(r,n){var g=t.get(r);g&&(n?g.splice(g.indexOf(n)>>>0,1):t.set(r,[]))},emit:function(r,n){var g=t.get(r);g&&g.slice().map(function(y){y(n)}),(g=t.get("*"))&&g.slice().map(function(y){y(r,n)})}}}const eventBus=mitt(),_sfc_main$4=defineComponent({__name:"index",setup(t){const r=ref(!1),{pkg:n,lastBuildTime:g}={pkg:{version:"3.3.0",dependencies:{"@element-plus/icons-vue":"^2.1.0","@types/marked":"^4.0.8","@vueuse/core":"^10.0.2","@vueuse/integrations":"^10.0.2",axios:"^1.3.6",dayjs:"^1.11.7",echarts:"^5.4.2","element-plus":"2.3.4",eruda:"^3.0.0","highlight.js":"^11.7.0","hotkeys-js":"^3.10.2","lodash-es":"^4.17.21",marked:"^4.3.0","md-editor-v3":"^3.0.0",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0","path-browserify":"^1.0.1","path-to-regexp":"^6.2.1",pinia:"^2.0.35",postcss:"^8.4.23",qs:"^6.11.1","resize-observer-polyfill":"^1.5.1",tailwindcss:"^3.3.1",vconsole:"^3.15.0",vue:"^3.2.47","vue-echarts":"^6.5.4","vue-router":"^4.1.6"},devDependencies:{"@iconify-json/ep":"^1.1.10","@iconify/vue":"^4.1.1","@types/nprogress":"^0.2.0","@types/path-browserify":"^1.0.0","@types/qs":"^6.9.7","@vitejs/plugin-vue":"^4.1.0","@vitejs/plugin-vue-jsx":"^3.0.1",autoprefixer:"^10.4.14",bumpp:"^9.1.0",esno:"^0.16.3","fs-extra":"^11.1.1","http-server":"^14.1.1","npm-run-all":"^4.1.5",plop:"^3.1.2","postcss-html":"^1.5.0",sass:"^1.62.0",stylelint:"^15.5.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^8.0.0","stylelint-config-standard-vue":"^1.0.0","stylelint-scss":"^4.6.0","stylelint-stylistic":"^0.4.0",svgo:"^3.0.2",terser:"^5.17.1",typescript:"^5.0.4","unplugin-auto-import":"^0.15.3","unplugin-vue-components":"^0.24.1","unplugin-vue-setup-extend-plus":"^1.0.0",vite:"^4.3.1","vite-plugin-banner":"^0.7.0","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"^2.9.8","vite-plugin-pages":"^0.29.0","vite-plugin-spritesmith":"^0.1.1","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-inspector":"^3.4.0","vite-plugin-vue-meta-layouts":"^0.2.2","vue-tsc":"^1.4.2"}},lastBuildTime:"2024-04-20 16:52:28"};return onMounted(()=>{eventBus.on("global-system-info-toggle",()=>{r.value=!r.value})}),(y,L)=>{const $=resolveComponent("el-descriptions-item"),V=resolveComponent("el-descriptions"),z=resolveComponent("el-drawer");return openBlock(),createElementBlock("div",null,[createVNode$1(z,{modelValue:unref(r),"onUpdate:modelValue":L[0]||(L[0]=j=>isRef(r)?r.value=j:null),title:"系统信息",direction:"rtl",size:360},{default:withCtx(()=>[createVNode$1(V,{direction:"vertical",column:1,border:""},{default:withCtx(()=>[createVNode$1($,{label:"版本号",align:"center"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(n).version),1)]),_:1}),createVNode$1($,{label:"最后编译时间",align:"center"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(g)),1)]),_:1})]),_:1}),createVNode$1(V,{title:"生产环境依赖",column:1,size:"small",border:""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(n).dependencies,(j,re)=>(openBlock(),createBlock($,{key:re,label:re},{default:withCtx(()=>[createTextVNode(toDisplayString(j),1)]),_:2},1032,["label"]))),128))]),_:1}),createVNode$1(V,{title:"开发环境依赖",column:1,size:"small",border:""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(n).devDependencies,(j,re)=>(openBlock(),createBlock($,{key:re,label:re},{default:withCtx(()=>[createTextVNode(toDisplayString(j),1)]),_:2},1032,["label"]))),128))]),_:1})]),_:1},8,["modelValue"])])}}}),index_vue_vue_type_style_index_0_scoped_d4bf3ff1_lang="",_export_sfc=(t,r)=>{const n=t.__vccOpts||t;for(const[g,y]of r)n[g]=y;return n},__unplugin_components_1=_export_sfc(_sfc_main$4,[["__scopeId","data-v-d4bf3ff1"]]),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(t,r,n,g="")=>{const y=t.split(":");if(t.slice(0,1)==="@"){if(y.length<2||y.length>3)return null;g=y.shift().slice(1)}if(y.length>3||!y.length)return null;if(y.length>1){const V=y.pop(),z=y.pop(),j={provider:y.length>0?y[0]:g,prefix:z,name:V};return r&&!validateIconName(j)?null:j}const L=y[0],$=L.split("-");if($.length>1){const V={provider:g,prefix:$.shift(),name:$.join("-")};return r&&!validateIconName(V)?null:V}if(n&&g===""){const V={provider:g,prefix:"",name:L};return r&&!validateIconName(V,n)?null:V}return null},validateIconName=(t,r)=>t?!!((t.provider===""||t.provider.match(matchIconName))&&(r&&t.prefix===""||t.prefix.match(matchIconName))&&t.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(t,r){const n={};!t.hFlip!=!r.hFlip&&(n.hFlip=!0),!t.vFlip!=!r.vFlip&&(n.vFlip=!0);const g=((t.rotate||0)+(r.rotate||0))%4;return g&&(n.rotate=g),n}function mergeIconData(t,r){const n=mergeIconTransformations(t,r);for(const g in defaultExtendedIconProps)g in defaultIconTransformations?g in t&&!(g in n)&&(n[g]=defaultIconTransformations[g]):g in r?n[g]=r[g]:g in t&&(n[g]=t[g]);return n}function getIconsTree(t,r){const n=t.icons,g=t.aliases||Object.create(null),y=Object.create(null);function L($){if(n[$])return y[$]=[];if(!($ in y)){y[$]=null;const V=g[$]&&g[$].parent,z=V&&L(V);z&&(y[$]=[V].concat(z))}return y[$]}return(r||Object.keys(n).concat(Object.keys(g))).forEach(L),y}function internalGetIconData(t,r,n){const g=t.icons,y=t.aliases||Object.create(null);let L={};function $(V){L=mergeIconData(g[V]||y[V],L)}return $(r),n.forEach($),mergeIconData(t,L)}function parseIconSet(t,r){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(y=>{r(y,null),n.push(y)});const g=getIconsTree(t);for(const y in g){const L=g[y];L&&(r(y,internalGetIconData(t,y,L)),n.push(y))}return n}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(t,r){for(const n in r)if(n in t&&typeof t[n]!=typeof r[n])return!1;return!0}function quicklyValidateIconSet(t){if(typeof t!="object"||t===null)return null;const r=t;if(typeof r.prefix!="string"||!t.icons||typeof t.icons!="object"||!checkOptionalProps(t,optionalPropertyDefaults))return null;const n=r.icons;for(const y in n){const L=n[y];if(!y.match(matchIconName)||typeof L.body!="string"||!checkOptionalProps(L,defaultExtendedIconProps))return null}const g=r.aliases||Object.create(null);for(const y in g){const L=g[y],$=L.parent;if(!y.match(matchIconName)||typeof $!="string"||!n[$]&&!g[$]||!checkOptionalProps(L,defaultExtendedIconProps))return null}return r}const dataStorage=Object.create(null);function newStorage(t,r){return{provider:t,prefix:r,icons:Object.create(null),missing:new Set}}function getStorage(t,r){const n=dataStorage[t]||(dataStorage[t]=Object.create(null));return n[r]||(n[r]=newStorage(t,r))}function addIconSet(t,r){return quicklyValidateIconSet(r)?parseIconSet(r,(n,g)=>{g?t.icons[n]=g:t.missing.add(n)}):[]}function addIconToStorage(t,r,n){try{if(typeof n.body=="string")return t.icons[r]={...n},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(t){return typeof t=="boolean"&&(simpleNames=t),simpleNames}function getIconData(t){const r=typeof t=="string"?stringToIcon(t,!0,simpleNames):t;if(r){const n=getStorage(r.provider,r.prefix),g=r.name;return n.icons[g]||(n.missing.has(g)?null:void 0)}}function addIcon(t,r){const n=stringToIcon(t,!0,simpleNames);if(!n)return!1;const g=getStorage(n.provider,n.prefix);return addIconToStorage(g,n.name,r)}function addCollection(t,r){if(typeof t!="object")return!1;if(typeof r!="string"&&(r=t.provider||""),simpleNames&&!r&&!t.prefix){let y=!1;return quicklyValidateIconSet(t)&&(t.prefix="",parseIconSet(t,(L,$)=>{$&&addIcon(L,$)&&(y=!0)})),y}const n=t.prefix;if(!validateIconName({provider:r,prefix:n,name:"a"}))return!1;const g=getStorage(r,n);return!!addIconSet(g,t)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(t,r,n){if(r===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*r*n)/n;if(typeof t!="string")return t;const g=t.split(unitsSplit);if(g===null||!g.length)return t;const y=[];let L=g.shift(),$=unitsTest.test(L);for(;;){if($){const V=parseFloat(L);isNaN(V)?y.push(L):y.push(Math.ceil(V*r*n)/n)}else y.push(L);if(L=g.shift(),L===void 0)return y.join("");$=!$}}const isUnsetKeyword=t=>t==="unset"||t==="undefined"||t==="none";function iconToSVG(t,r){const n={...defaultIconProps,...t},g={...defaultIconCustomisations,...r},y={left:n.left,top:n.top,width:n.width,height:n.height};let L=n.body;[n,g].forEach(le=>{const ue=[],de=le.hFlip,pe=le.vFlip;let he=le.rotate;de?pe?he+=2:(ue.push("translate("+(y.width+y.left).toString()+" "+(0-y.top).toString()+")"),ue.push("scale(-1 1)"),y.top=y.left=0):pe&&(ue.push("translate("+(0-y.left).toString()+" "+(y.height+y.top).toString()+")"),ue.push("scale(1 -1)"),y.top=y.left=0);let _e;switch(he<0&&(he-=Math.floor(he/4)*4),he=he%4,he){case 1:_e=y.height/2+y.top,ue.unshift("rotate(90 "+_e.toString()+" "+_e.toString()+")");break;case 2:ue.unshift("rotate(180 "+(y.width/2+y.left).toString()+" "+(y.height/2+y.top).toString()+")");break;case 3:_e=y.width/2+y.left,ue.unshift("rotate(-90 "+_e.toString()+" "+_e.toString()+")");break}he%2===1&&(y.left!==y.top&&(_e=y.left,y.left=y.top,y.top=_e),y.width!==y.height&&(_e=y.width,y.width=y.height,y.height=_e)),ue.length&&(L=''+L+"")});const $=g.width,V=g.height,z=y.width,j=y.height;let re,ae;$===null?(ae=V===null?"1em":V==="auto"?j:V,re=calculateSize(ae,z/j)):(re=$==="auto"?z:$,ae=V===null?calculateSize(re,j/z):V==="auto"?j:V);const oe={},ie=(le,ue)=>{isUnsetKeyword(ue)||(oe[le]=ue.toString())};return ie("width",re),ie("height",ae),oe.viewBox=y.left.toString()+" "+y.top.toString()+" "+z.toString()+" "+j.toString(),{attributes:oe,body:L}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(t,r=randomPrefix){const n=[];let g;for(;g=regex.exec(t);)n.push(g[1]);if(!n.length)return t;const y="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(L=>{const $=typeof r=="function"?r(L):r+(counter++).toString(),V=L.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+V+')([")]|\\.[a-z])',"g"),"$1"+$+y+"$3")}),t=t.replace(new RegExp(y,"g"),""),t}const storage$1=Object.create(null);function setAPIModule(t,r){storage$1[t]=r}function getAPIModule(t){return storage$1[t]||storage$1[""]}function createAPIConfig(t){let r;if(typeof t.resources=="string")r=[t.resources];else if(r=t.resources,!(r instanceof Array)||!r.length)return null;return{resources:r,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(t,r){const n=createAPIConfig(r);return n===null?!1:(configStorage[t]=n,!0)}function getAPIConfig(t){return configStorage[t]}const detectFetch=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let fetchModule=detectFetch();function calculateMaxLength(t,r){const n=getAPIConfig(t);if(!n)return 0;let g;if(!n.maxURL)g=0;else{let y=0;n.resources.forEach($=>{y=Math.max(y,$.length)});const L=r+".json?icons=";g=n.maxURL-y-n.path.length-L.length}return g}function shouldAbort(t){return t===404}const prepare$1=(t,r,n)=>{const g=[],y=calculateMaxLength(t,r),L="icons";let $={type:L,provider:t,prefix:r,icons:[]},V=0;return n.forEach((z,j)=>{V+=z.length+1,V>=y&&j>0&&(g.push($),$={type:L,provider:t,prefix:r,icons:[]},V=z.length),$.icons.push(z)}),g.push($),g};function getPath(t){if(typeof t=="string"){const r=getAPIConfig(t);if(r)return r.path}return"/"}const send=(t,r,n)=>{if(!fetchModule){n("abort",424);return}let g=getPath(r.provider);switch(r.type){case"icons":{const L=r.prefix,V=r.icons.join(","),z=new URLSearchParams({icons:V});g+=L+".json?"+z.toString();break}case"custom":{const L=r.uri;g+=L.slice(0,1)==="/"?L.slice(1):L;break}default:n("abort",400);return}let y=503;fetchModule(t+g).then(L=>{const $=L.status;if($!==200){setTimeout(()=>{n(shouldAbort($)?"abort":"next",$)});return}return y=501,L.json()}).then(L=>{if(typeof L!="object"||L===null){setTimeout(()=>{L===404?n("abort",L):n("next",y)});return}setTimeout(()=>{n("success",L)})}).catch(()=>{n("next",y)})},fetchAPIModule={prepare:prepare$1,send};function sortIcons(t){const r={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((y,L)=>y.provider!==L.provider?y.provider.localeCompare(L.provider):y.prefix!==L.prefix?y.prefix.localeCompare(L.prefix):y.name.localeCompare(L.name));let g={provider:"",prefix:"",name:""};return t.forEach(y=>{if(g.name===y.name&&g.prefix===y.prefix&&g.provider===y.provider)return;g=y;const L=y.provider,$=y.prefix,V=y.name,z=n[L]||(n[L]=Object.create(null)),j=z[$]||(z[$]=getStorage(L,$));let re;V in j.icons?re=r.loaded:$===""||j.missing.has(V)?re=r.missing:re=r.pending;const ae={provider:L,prefix:$,name:V};re.push(ae)}),r}function removeCallback(t,r){t.forEach(n=>{const g=n.loaderCallbacks;g&&(n.loaderCallbacks=g.filter(y=>y.id!==r))})}function updateCallbacks(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const r=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!r.length)return;let n=!1;const g=t.provider,y=t.prefix;r.forEach(L=>{const $=L.icons,V=$.pending.length;$.pending=$.pending.filter(z=>{if(z.prefix!==y)return!0;const j=z.name;if(t.icons[j])$.loaded.push({provider:g,prefix:y,name:j});else if(t.missing.has(j))$.missing.push({provider:g,prefix:y,name:j});else return n=!0,!0;return!1}),$.pending.length!==V&&(n||removeCallback([t],L.id),L.callback($.loaded.slice(0),$.missing.slice(0),$.pending.slice(0),L.abort))})}))}let idCounter=0;function storeCallback(t,r,n){const g=idCounter++,y=removeCallback.bind(null,n,g);if(!r.pending.length)return y;const L={id:g,icons:r,callback:t,abort:y};return n.forEach($=>{($.loaderCallbacks||($.loaderCallbacks=[])).push(L)}),y}function listToIcons(t,r=!0,n=!1){const g=[];return t.forEach(y=>{const L=typeof y=="string"?stringToIcon(y,r,n):y;L&&g.push(L)}),g}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(t,r,n,g){const y=t.resources.length,L=t.random?Math.floor(Math.random()*y):t.index;let $;if(t.random){let xe=t.resources.slice(0);for($=[];xe.length>1;){const Ie=Math.floor(Math.random()*xe.length);$.push(xe[Ie]),xe=xe.slice(0,Ie).concat(xe.slice(Ie+1))}$=$.concat(xe)}else $=t.resources.slice(L).concat(t.resources.slice(0,L));const V=Date.now();let z="pending",j=0,re,ae=null,oe=[],ie=[];typeof g=="function"&&ie.push(g);function le(){ae&&(clearTimeout(ae),ae=null)}function ue(){z==="pending"&&(z="aborted"),le(),oe.forEach(xe=>{xe.status==="pending"&&(xe.status="aborted")}),oe=[]}function de(xe,Ie){Ie&&(ie=[]),typeof xe=="function"&&ie.push(xe)}function pe(){return{startTime:V,payload:r,status:z,queriesSent:j,queriesPending:oe.length,subscribe:de,abort:ue}}function he(){z="failed",ie.forEach(xe=>{xe(void 0,re)})}function _e(){oe.forEach(xe=>{xe.status==="pending"&&(xe.status="aborted")}),oe=[]}function Ce(xe,Ie,Ne){const ze=Ie!=="success";switch(oe=oe.filter(Fe=>Fe!==xe),z){case"pending":break;case"failed":if(ze||!t.dataAfterTimeout)return;break;default:return}if(Ie==="abort"){re=Ne,he();return}if(ze){re=Ne,oe.length||($.length?$e():he());return}if(le(),_e(),!t.random){const Fe=t.resources.indexOf(xe.resource);Fe!==-1&&Fe!==t.index&&(t.index=Fe)}z="completed",ie.forEach(Fe=>{Fe(Ne)})}function $e(){if(z!=="pending")return;le();const xe=$.shift();if(xe===void 0){if(oe.length){ae=setTimeout(()=>{le(),z==="pending"&&(_e(),he())},t.timeout);return}he();return}const Ie={status:"pending",resource:xe,callback:(Ne,ze)=>{Ce(Ie,Ne,ze)}};oe.push(Ie),j++,ae=setTimeout($e,t.rotate),n(xe,r,Ie.callback)}return setTimeout($e),pe}function initRedundancy(t){const r={...defaultConfig,...t};let n=[];function g(){n=n.filter(V=>V().status==="pending")}function y(V,z,j){const re=sendQuery(r,V,z,(ae,oe)=>{g(),j&&j(ae,oe)});return n.push(re),re}function L(V){return n.find(z=>V(z))||null}return{query:y,find:L,setIndex:V=>{r.index=V},getIndex:()=>r.index,cleanup:g}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(t){if(!redundancyCache[t]){const r=getAPIConfig(t);if(!r)return;const n=initRedundancy(r),g={config:r,redundancy:n};redundancyCache[t]=g}return redundancyCache[t]}function sendAPIQuery(t,r,n){let g,y;if(typeof t=="string"){const L=getAPIModule(t);if(!L)return n(void 0,424),emptyCallback$1;y=L.send;const $=getRedundancyCache(t);$&&(g=$.redundancy)}else{const L=createAPIConfig(t);if(L){g=initRedundancy(L);const $=t.resources?t.resources[0]:"",V=getAPIModule($);V&&(y=V.send)}}return!g||!y?(n(void 0,424),emptyCallback$1):g.query(r,y,n)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(t,r){try{return t.getItem(r)}catch{}}function setStoredItem(t,r,n){try{return t.setItem(r,n),!0}catch{}}function removeStoredItem(t,r){try{t.removeItem(r)}catch{}}function setBrowserStorageItemsCount(t,r){return setStoredItem(t,browserCacheCountKey,r.toString())}function getBrowserStorageItemsCount(t){return parseInt(getStoredItem(t,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(t){browserStorageStatus=t}let _window=typeof window>"u"?{}:window;function getBrowserStorage(t){const r=t+"Storage";try{if(_window&&_window[r]&&typeof _window[r].length=="number")return _window[r]}catch{}browserStorageConfig[t]=!1}function iterateBrowserStorage(t,r){const n=getBrowserStorage(t);if(!n)return;const g=getStoredItem(n,browserCacheVersionKey);if(g!==browserCacheVersion){if(g){const V=getBrowserStorageItemsCount(n);for(let z=0;z{const z=browserCachePrefix+V.toString(),j=getStoredItem(n,z);if(typeof j=="string"){try{const re=JSON.parse(j);if(typeof re=="object"&&typeof re.cached=="number"&&re.cached>y&&typeof re.provider=="string"&&typeof re.data=="object"&&typeof re.data.prefix=="string"&&r(re,V))return!0}catch{}removeStoredItem(n,z)}};let $=getBrowserStorageItemsCount(n);for(let V=$-1;V>=0;V--)L(V)||(V===$-1?($--,setBrowserStorageItemsCount(n,$)):browserStorageEmptyItems[t].add(V))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const t in browserStorageConfig)iterateBrowserStorage(t,r=>{const n=r.data,g=r.provider,y=n.prefix,L=getStorage(g,y);if(!addIconSet(L,n).length)return!1;const $=n.lastModified||-1;return L.lastModifiedCached=L.lastModifiedCached?Math.min(L.lastModifiedCached,$):$,!0})}}function updateLastModified(t,r){const n=t.lastModifiedCached;if(n&&n>=r)return n===r;if(t.lastModifiedCached=r,n)for(const g in browserStorageConfig)iterateBrowserStorage(g,y=>{const L=y.data;return y.provider!==t.provider||L.prefix!==t.prefix||L.lastModified===r});return!0}function storeInBrowserStorage(t,r){browserStorageStatus||initBrowserStorage();function n(g){let y;if(!browserStorageConfig[g]||!(y=getBrowserStorage(g)))return;const L=browserStorageEmptyItems[g];let $;if(L.size)L.delete($=Array.from(L).shift());else if($=getBrowserStorageItemsCount(y),!setBrowserStorageItemsCount(y,$+1))return;const V={cached:Math.floor(Date.now()/browserStorageHour),provider:t.provider,data:r};return setStoredItem(y,browserCachePrefix+$.toString(),JSON.stringify(V))}r.lastModified&&!updateLastModified(t,r.lastModified)||Object.keys(r.icons).length&&(r.not_found&&(r=Object.assign({},r),delete r.not_found),n("local")||n("session"))}function emptyCallback(){}function loadedNewIcons(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,updateCallbacks(t)}))}function loadNewIcons(t,r){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(r).sort():t.iconsToLoad=r,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:g}=t,y=t.iconsToLoad;delete t.iconsToLoad;let L;if(!y||!(L=getAPIModule(n)))return;L.prepare(n,g,y).forEach(V=>{sendAPIQuery(n,V,z=>{if(typeof z!="object")V.icons.forEach(j=>{t.missing.add(j)});else try{const j=addIconSet(t,z);if(!j.length)return;const re=t.pendingIcons;re&&j.forEach(ae=>{re.delete(ae)}),storeInBrowserStorage(t,z)}catch(j){console.error(j)}loadedNewIcons(t)})})}))}const loadIcons=(t,r)=>{const n=listToIcons(t,!0,allowSimpleNames()),g=sortIcons(n);if(!g.pending.length){let z=!0;return r&&setTimeout(()=>{z&&r(g.loaded,g.missing,g.pending,emptyCallback)}),()=>{z=!1}}const y=Object.create(null),L=[];let $,V;return g.pending.forEach(z=>{const{provider:j,prefix:re}=z;if(re===V&&j===$)return;$=j,V=re,L.push(getStorage(j,re));const ae=y[j]||(y[j]=Object.create(null));ae[re]||(ae[re]=[])}),g.pending.forEach(z=>{const{provider:j,prefix:re,name:ae}=z,oe=getStorage(j,re),ie=oe.pendingIcons||(oe.pendingIcons=new Set);ie.has(ae)||(ie.add(ae),y[j][re].push(ae))}),L.forEach(z=>{const{provider:j,prefix:re}=z;y[j][re].length&&loadNewIcons(z,y[j][re])}),r?storeCallback(r,g,L):emptyCallback};function mergeCustomisations(t,r){const n={...t};for(const g in r){const y=r[g],L=typeof y;g in defaultIconSizeCustomisations?(y===null||y&&(L==="string"||L==="number"))&&(n[g]=y):L===typeof n[g]&&(n[g]=g==="rotate"?y%4:y)}return n}const separator=/[\s,]+/;function flipFromString(t,r){r.split(separator).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function rotateFromString(t,r=0){const n=t.replace(/^-?[0-9.]*/,"");function g(y){for(;y<0;)y+=4;return y%4}if(n===""){const y=parseInt(t);return isNaN(y)?0:g(y)}else if(n!==t){let y=0;switch(n){case"%":y=25;break;case"deg":y=90}if(y){let L=parseFloat(t.slice(0,t.length-n.length));return isNaN(L)?0:(L=L/y,L%1===0?g(L):0)}}return r}function iconToHTML(t,r){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const g in r)n+=" "+g+'="'+r[g]+'"';return'"+t+""}function encodeSVGforURL(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function svgToData(t){return"data:image/svg+xml,"+encodeSVGforURL(t)}function svgToURL(t){return'url("'+svgToData(t)+'")'}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={webkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const t in propsToAddTo){const r=propsToAddTo[t];for(const n in propsToAdd)r[t+n]=propsToAdd[n]}const customisationAliases={};["horizontal","vertical"].forEach(t=>{const r=t.slice(0,1)+"Flip";customisationAliases[t+"-flip"]=r,customisationAliases[t.slice(0,1)+"-flip"]=r,customisationAliases[t+"Flip"]=r});function fixSize(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const render$1=(t,r)=>{const n=mergeCustomisations(defaultExtendedIconCustomisations,r),g={...svgDefaults},y=r.mode||"svg",L={},$=r.style,V=typeof $=="object"&&!($ instanceof Array)?$:{};for(let ue in r){const de=r[ue];if(de!==void 0)switch(ue){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[ue]=de===!0||de==="true"||de===1;break;case"flip":typeof de=="string"&&flipFromString(n,de);break;case"color":L.color=de;break;case"rotate":typeof de=="string"?n[ue]=rotateFromString(de):typeof de=="number"&&(n[ue]=de);break;case"ariaHidden":case"aria-hidden":de!==!0&&de!=="true"&&delete g["aria-hidden"];break;default:{const pe=customisationAliases[ue];pe?(de===!0||de==="true"||de===1)&&(n[pe]=!0):defaultExtendedIconCustomisations[ue]===void 0&&(g[ue]=de)}}}const z=iconToSVG(t,n),j=z.attributes;if(n.inline&&(L.verticalAlign="-0.125em"),y==="svg"){g.style={...L,...V},Object.assign(g,j);let ue=0,de=r.id;return typeof de=="string"&&(de=de.replace(/-/g,"_")),g.innerHTML=replaceIDs(z.body,de?()=>de+"ID"+ue++:"iconifyVue"),h$1("svg",g)}const{body:re,width:ae,height:oe}=t,ie=y==="mask"||(y==="bg"?!1:re.indexOf("currentColor")!==-1),le=iconToHTML(re,{...j,width:ae+"",height:oe+""});return g.style={...L,"--svg":svgToURL(le),width:fixSize(j.width),height:fixSize(j.height),...commonProps,...ie?monotoneProps:coloredProps,...V},h$1("span",g)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const t=window;if(t.IconifyPreload!==void 0){const r=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof r=="object"&&r!==null&&(r instanceof Array?r:[r]).forEach(g=>{try{(typeof g!="object"||g===null||g instanceof Array||typeof g.icons!="object"||typeof g.prefix!="string"||!addCollection(g))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const r=t.IconifyProviders;if(typeof r=="object"&&r!==null)for(let n in r){const g="IconifyProviders["+n+"] is invalid.";try{const y=r[n];if(typeof y!="object"||!y||y.resources===void 0)continue;addAPIProvider(n,y)||console.error(g)}catch{console.error(g)}}}}const emptyIcon={...defaultIconProps,body:""},Icon=defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,r){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let n;if(typeof t!="string"||(n=stringToIcon(t,!1,!0))===null)return this.abortLoading(),null;const g=getIconData(n);if(!g)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",g!==null&&(this._loadingIcon={name:t,abort:loadIcons([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,r&&r(t));const y=["iconify"];return n.prefix!==""&&y.push("iconify--"+n.prefix),n.provider!==""&&y.push("iconify--"+n.provider),{data:g,classes:y}}},render(){this.counter;const t=this.$attrs,r=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!r)return render$1(emptyIcon,t);let n=t;return r.classes&&(n={...t,class:(typeof t.class=="string"?t.class+" ":"")+r.classes.join(" ")}),render$1({...defaultIconProps,...r.data},n)}}),_hoisted_1$2=["xlink:href"],__default__=defineComponent({name:"SvgIcon"}),_sfc_main$3=defineComponent({...__default__,props:{name:{type:String,required:!0},flip:{type:String,default:""},rotate:{type:Number,default:0}},setup(t){const r=t,n=computed(()=>{const g=[];if(r.flip!=="")switch(r.flip){case"horizontal":g.push("rotateY(180deg)");break;case"vertical":g.push("rotateX(180deg)");break;case"both":g.push("rotateX(180deg)"),g.push("rotateY(180deg)");break}return r.rotate!==0&&g.push(`rotate(${r.rotate}deg)`),`transform: ${g.join(" ")};`});return(g,y)=>t.name.indexOf("ep:")===0?(openBlock(),createBlock(unref(Icon),{key:0,icon:t.name,style:normalizeStyle$1(unref(n))},null,8,["icon","style"])):(openBlock(),createElementBlock("svg",{key:1,style:normalizeStyle$1(unref(n)),"aria-hidden":"true"},[createBaseVNode("use",{"xlink:href":`#icon-${t.name}`},null,8,_hoisted_1$2)],4))}});/*! - * vue-router v4.3.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const isBrowser$1=typeof document<"u";function isESModule(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const assign$1=Object.assign;function applyToParams(t,r){const n={};for(const g in r){const y=r[g];n[g]=isArray$3(y)?y.map(t):t(y)}return n}const noop$4=()=>{},isArray$3=Array.isArray,HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(t){return encodeURI(""+t).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(t){return commonEncode(t).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(t){return commonEncode(t).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(t){return encodeQueryValue(t).replace(EQUAL_RE,"%3D")}function encodePath(t){return commonEncode(t).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(t){return t==null?"":encodePath(t).replace(SLASH_RE,"%2F")}function decode$1(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=t=>t.replace(TRAILING_SLASH_RE,"");function parseURL(t,r,n="/"){let g,y={},L="",$="";const V=r.indexOf("#");let z=r.indexOf("?");return V=0&&(z=-1),z>-1&&(g=r.slice(0,z),L=r.slice(z+1,V>-1?V:r.length),y=t(L)),V>-1&&(g=g||r.slice(0,V),$=r.slice(V,r.length)),g=resolveRelativePath(g??r,n),{fullPath:g+(L&&"?")+L+$,path:g,query:y,hash:decode$1($)}}function stringifyURL(t,r){const n=r.query?t(r.query):"";return r.path+(n&&"?")+n+(r.hash||"")}function stripBase(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function isSameRouteLocation(t,r,n){const g=r.matched.length-1,y=n.matched.length-1;return g>-1&&g===y&&isSameRouteRecord(r.matched[g],n.matched[y])&&isSameRouteLocationParams(r.params,n.params)&&t(r.query)===t(n.query)&&r.hash===n.hash}function isSameRouteRecord(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function isSameRouteLocationParams(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const n in t)if(!isSameRouteLocationParamsValue(t[n],r[n]))return!1;return!0}function isSameRouteLocationParamsValue(t,r){return isArray$3(t)?isEquivalentArray(t,r):isArray$3(r)?isEquivalentArray(r,t):t===r}function isEquivalentArray(t,r){return isArray$3(r)?t.length===r.length&&t.every((n,g)=>n===r[g]):t.length===1&&t[0]===r}function resolveRelativePath(t,r){if(t.startsWith("/"))return t;if(!t)return r;const n=r.split("/"),g=t.split("/"),y=g[g.length-1];(y===".."||y===".")&&g.push("");let L=n.length-1,$,V;for($=0;$1&&L--;else break;return n.slice(0,L).join("/")+"/"+g.slice($).join("/")}var NavigationType;(function(t){t.pop="pop",t.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(t){t.back="back",t.forward="forward",t.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(t){if(!t)if(isBrowser$1){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),removeTrailingSlash(t)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(t,r){return t.replace(BEFORE_HASH_RE,"#")+r}function getElementPosition(t,r){const n=document.documentElement.getBoundingClientRect(),g=t.getBoundingClientRect();return{behavior:r.behavior,left:g.left-n.left-(r.left||0),top:g.top-n.top-(r.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(t){let r;if("el"in t){const n=t.el,g=typeof n=="string"&&n.startsWith("#"),y=typeof n=="string"?g?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!y)return;r=getElementPosition(y,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function getScrollKey(t,r){return(history.state?history.state.position-r:-1)+t}const scrollPositions=new Map;function saveScrollPosition(t,r){scrollPositions.set(t,r)}function getSavedScrollPosition(t){const r=scrollPositions.get(t);return scrollPositions.delete(t),r}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(t,r){const{pathname:n,search:g,hash:y}=r,L=t.indexOf("#");if(L>-1){let V=y.includes(t.slice(L))?t.slice(L).length:1,z=y.slice(V);return z[0]!=="/"&&(z="/"+z),stripBase(z,"")}return stripBase(n,t)+g+y}function useHistoryListeners(t,r,n,g){let y=[],L=[],$=null;const V=({state:oe})=>{const ie=createCurrentLocation(t,location),le=n.value,ue=r.value;let de=0;if(oe){if(n.value=ie,r.value=oe,$&&$===le){$=null;return}de=ue?oe.position-ue.position:0}else g(ie);y.forEach(pe=>{pe(n.value,le,{delta:de,type:NavigationType.pop,direction:de?de>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function z(){$=n.value}function j(oe){y.push(oe);const ie=()=>{const le=y.indexOf(oe);le>-1&&y.splice(le,1)};return L.push(ie),ie}function re(){const{history:oe}=window;oe.state&&oe.replaceState(assign$1({},oe.state,{scroll:computeScrollPosition()}),"")}function ae(){for(const oe of L)oe();L=[],window.removeEventListener("popstate",V),window.removeEventListener("beforeunload",re)}return window.addEventListener("popstate",V),window.addEventListener("beforeunload",re,{passive:!0}),{pauseListeners:z,listen:j,destroy:ae}}function buildState(t,r,n,g=!1,y=!1){return{back:t,current:r,forward:n,replaced:g,position:window.history.length,scroll:y?computeScrollPosition():null}}function useHistoryStateNavigation(t){const{history:r,location:n}=window,g={value:createCurrentLocation(t,n)},y={value:r.state};y.value||L(g.value,{back:null,current:g.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function L(z,j,re){const ae=t.indexOf("#"),oe=ae>-1?(n.host&&document.querySelector("base")?t:t.slice(ae))+z:createBaseLocation()+t+z;try{r[re?"replaceState":"pushState"](j,"",oe),y.value=j}catch(ie){console.error(ie),n[re?"replace":"assign"](oe)}}function $(z,j){const re=assign$1({},r.state,buildState(y.value.back,z,y.value.forward,!0),j,{position:y.value.position});L(z,re,!0),g.value=z}function V(z,j){const re=assign$1({},y.value,r.state,{forward:z,scroll:computeScrollPosition()});L(re.current,re,!0);const ae=assign$1({},buildState(g.value,z,null),{position:re.position+1},j);L(z,ae,!1),g.value=z}return{location:g,state:y,push:V,replace:$}}function createWebHistory(t){t=normalizeBase(t);const r=useHistoryStateNavigation(t),n=useHistoryListeners(t,r.state,r.location,r.replace);function g(L,$=!0){$||n.pauseListeners(),history.go(L)}const y=assign$1({location:"",base:t,go:g,createHref:createHref.bind(null,t)},r,n);return Object.defineProperty(y,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(y,"state",{enumerable:!0,get:()=>r.state.value}),y}function createWebHashHistory(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),createWebHistory(t)}function isRouteLocation(t){return typeof t=="string"||t&&typeof t=="object"}function isRouteName(t){return typeof t=="string"||typeof t=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(t,r){return assign$1(new Error,{type:t,[NavigationFailureSymbol]:!0},r)}function isNavigationFailure(t,r){return t instanceof Error&&NavigationFailureSymbol in t&&(r==null||!!(t.type&r))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(t,r){const n=assign$1({},BASE_PATH_PARSER_OPTIONS,r),g=[];let y=n.start?"^":"";const L=[];for(const j of t){const re=j.length?[]:[90];n.strict&&!j.length&&(y+="/");for(let ae=0;aer.length?r.length===1&&r[0]===40+40?1:-1:0}function comparePathParserScore(t,r){let n=0;const g=t.score,y=r.score;for(;n0&&r[r.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(t){if(!t)return[[]];if(t==="/")return[[ROOT_TOKEN]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(ie){throw new Error(`ERR (${n})/"${j}": ${ie}`)}let n=0,g=n;const y=[];let L;function $(){L&&y.push(L),L=[]}let V=0,z,j="",re="";function ae(){j&&(n===0?L.push({type:0,value:j}):n===1||n===2||n===3?(L.length>1&&(z==="*"||z==="+")&&r(`A repeatable param (${j}) must be alone in its segment. eg: '/:ids+.`),L.push({type:1,value:j,regexp:re,repeatable:z==="*"||z==="+",optional:z==="*"||z==="?"})):r("Invalid state to consume buffer"),j="")}function oe(){j+=z}for(;V{$(he)}:noop$4}function $(re){if(isRouteName(re)){const ae=g.get(re);ae&&(g.delete(re),n.splice(n.indexOf(ae),1),ae.children.forEach($),ae.alias.forEach($))}else{const ae=n.indexOf(re);ae>-1&&(n.splice(ae,1),re.record.name&&g.delete(re.record.name),re.children.forEach($),re.alias.forEach($))}}function V(){return n}function z(re){let ae=0;for(;ae=0&&(re.record.path!==n[ae].record.path||!isRecordChildOf(re,n[ae]));)ae++;n.splice(ae,0,re),re.record.name&&!isAliasRecord(re)&&g.set(re.record.name,re)}function j(re,ae){let oe,ie={},le,ue;if("name"in re&&re.name){if(oe=g.get(re.name),!oe)throw createRouterError(1,{location:re});ue=oe.record.name,ie=assign$1(paramsFromLocation(ae.params,oe.keys.filter(he=>!he.optional).concat(oe.parent?oe.parent.keys.filter(he=>he.optional):[]).map(he=>he.name)),re.params&¶msFromLocation(re.params,oe.keys.map(he=>he.name))),le=oe.stringify(ie)}else if(re.path!=null)le=re.path,oe=n.find(he=>he.re.test(le)),oe&&(ie=oe.parse(le),ue=oe.record.name);else{if(oe=ae.name?g.get(ae.name):n.find(he=>he.re.test(ae.path)),!oe)throw createRouterError(1,{location:re,currentLocation:ae});ue=oe.record.name,ie=assign$1({},ae.params,re.params),le=oe.stringify(ie)}const de=[];let pe=oe;for(;pe;)de.unshift(pe.record),pe=pe.parent;return{name:ue,path:le,params:ie,matched:de,meta:mergeMetaFields(de)}}return t.forEach(re=>L(re)),{addRoute:L,resolve:j,removeRoute:$,getRoutes:V,getRecordMatcher:y}}function paramsFromLocation(t,r){const n={};for(const g of r)g in t&&(n[g]=t[g]);return n}function normalizeRouteRecord(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:normalizeRecordProps(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function normalizeRecordProps(t){const r={},n=t.props||!1;if("component"in t)r.default=n;else for(const g in t.components)r[g]=typeof n=="object"?n[g]:n;return r}function isAliasRecord(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function mergeMetaFields(t){return t.reduce((r,n)=>assign$1(r,n.meta),{})}function mergeOptions(t,r){const n={};for(const g in t)n[g]=g in r?r[g]:t[g];return n}function isRecordChildOf(t,r){return r.children.some(n=>n===t||isRecordChildOf(t,n))}function parseQuery(t){const r={};if(t===""||t==="?")return r;const g=(t[0]==="?"?t.slice(1):t).split("&");for(let y=0;yL&&encodeQueryValue(L)):[g&&encodeQueryValue(g)]).forEach(L=>{L!==void 0&&(r+=(r.length?"&":"")+n,L!=null&&(r+="="+L))})}return r}function normalizeQuery(t){const r={};for(const n in t){const g=t[n];g!==void 0&&(r[n]=isArray$3(g)?g.map(y=>y==null?null:""+y):g==null?g:""+g)}return r}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let t=[];function r(g){return t.push(g),()=>{const y=t.indexOf(g);y>-1&&t.splice(y,1)}}function n(){t=[]}return{add:r,list:()=>t.slice(),reset:n}}function registerGuard(t,r,n){const g=()=>{t[r].delete(n)};onUnmounted(g),onDeactivated(g),onActivated(()=>{t[r].add(n)}),t[r].add(n)}function onBeforeRouteLeave(t){const r=inject(matchedRouteKey,{}).value;r&®isterGuard(r,"leaveGuards",t)}function guardToPromiseFn(t,r,n,g,y,L=$=>$()){const $=g&&(g.enterCallbacks[y]=g.enterCallbacks[y]||[]);return()=>new Promise((V,z)=>{const j=oe=>{oe===!1?z(createRouterError(4,{from:n,to:r})):oe instanceof Error?z(oe):isRouteLocation(oe)?z(createRouterError(2,{from:r,to:oe})):($&&g.enterCallbacks[y]===$&&typeof oe=="function"&&$.push(oe),V())},re=L(()=>t.call(g&&g.instances[y],r,n,j));let ae=Promise.resolve(re);t.length<3&&(ae=ae.then(j)),ae.catch(oe=>z(oe))})}function extractComponentsGuards(t,r,n,g,y=L=>L()){const L=[];for(const $ of t)for(const V in $.components){let z=$.components[V];if(!(r!=="beforeRouteEnter"&&!$.instances[V]))if(isRouteComponent(z)){const re=(z.__vccOpts||z)[r];re&&L.push(guardToPromiseFn(re,n,g,$,V,y))}else{let j=z();L.push(()=>j.then(re=>{if(!re)return Promise.reject(new Error(`Couldn't resolve component "${V}" at "${$.path}"`));const ae=isESModule(re)?re.default:re;$.components[V]=ae;const ie=(ae.__vccOpts||ae)[r];return ie&&guardToPromiseFn(ie,n,g,$,V,y)()}))}}return L}function isRouteComponent(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function useLink(t){const r=inject(routerKey),n=inject(routeLocationKey),g=computed(()=>r.resolve(unref(t.to))),y=computed(()=>{const{matched:z}=g.value,{length:j}=z,re=z[j-1],ae=n.matched;if(!re||!ae.length)return-1;const oe=ae.findIndex(isSameRouteRecord.bind(null,re));if(oe>-1)return oe;const ie=getOriginalPath(z[j-2]);return j>1&&getOriginalPath(re)===ie&&ae[ae.length-1].path!==ie?ae.findIndex(isSameRouteRecord.bind(null,z[j-2])):oe}),L=computed(()=>y.value>-1&&includesParams(n.params,g.value.params)),$=computed(()=>y.value>-1&&y.value===n.matched.length-1&&isSameRouteLocationParams(n.params,g.value.params));function V(z={}){return guardEvent(z)?r[unref(t.replace)?"replace":"push"](unref(t.to)).catch(noop$4):Promise.resolve()}return{route:g,href:computed(()=>g.value.href),isActive:L,isExactActive:$,navigate:V}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(t,{slots:r}){const n=reactive(useLink(t)),{options:g}=inject(routerKey),y=computed(()=>({[getLinkClass(t.activeClass,g.linkActiveClass,"router-link-active")]:n.isActive,[getLinkClass(t.exactActiveClass,g.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const L=r.default&&r.default(n);return t.custom?L:h$1("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:y.value},L)}}}),RouterLink=RouterLinkImpl;function guardEvent(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function includesParams(t,r){for(const n in r){const g=r[n],y=t[n];if(typeof g=="string"){if(g!==y)return!1}else if(!isArray$3(y)||y.length!==g.length||g.some((L,$)=>L!==y[$]))return!1}return!0}function getOriginalPath(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const getLinkClass=(t,r,n)=>t??r??n,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:n}){const g=inject(routerViewLocationKey),y=computed(()=>t.route||g.value),L=inject(viewDepthKey,0),$=computed(()=>{let j=unref(L);const{matched:re}=y.value;let ae;for(;(ae=re[j])&&!ae.components;)j++;return j}),V=computed(()=>y.value.matched[$.value]);provide(viewDepthKey,computed(()=>$.value+1)),provide(matchedRouteKey,V),provide(routerViewLocationKey,y);const z=ref();return watch(()=>[z.value,V.value,t.name],([j,re,ae],[oe,ie,le])=>{re&&(re.instances[ae]=j,ie&&ie!==re&&j&&j===oe&&(re.leaveGuards.size||(re.leaveGuards=ie.leaveGuards),re.updateGuards.size||(re.updateGuards=ie.updateGuards))),j&&re&&(!ie||!isSameRouteRecord(re,ie)||!oe)&&(re.enterCallbacks[ae]||[]).forEach(ue=>ue(j))},{flush:"post"}),()=>{const j=y.value,re=t.name,ae=V.value,oe=ae&&ae.components[re];if(!oe)return normalizeSlot(n.default,{Component:oe,route:j});const ie=ae.props[re],le=ie?ie===!0?j.params:typeof ie=="function"?ie(j):ie:null,de=h$1(oe,assign$1({},le,r,{onVnodeUnmounted:pe=>{pe.component.isUnmounted&&(ae.instances[re]=null)},ref:z}));return normalizeSlot(n.default,{Component:de,route:j})||de}}});function normalizeSlot(t,r){if(!t)return null;const n=t(r);return n.length===1?n[0]:n}const RouterView=RouterViewImpl;function createRouter(t){const r=createRouterMatcher(t.routes,t),n=t.parseQuery||parseQuery,g=t.stringifyQuery||stringifyQuery,y=t.history,L=useCallbacks(),$=useCallbacks(),V=useCallbacks(),z=shallowRef(START_LOCATION_NORMALIZED);let j=START_LOCATION_NORMALIZED;isBrowser$1&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const re=applyToParams.bind(null,In=>""+In),ae=applyToParams.bind(null,encodeParam),oe=applyToParams.bind(null,decode$1);function ie(In,Mn){let Vn,zn;return isRouteName(In)?(Vn=r.getRecordMatcher(In),zn=Mn):zn=In,r.addRoute(zn,Vn)}function le(In){const Mn=r.getRecordMatcher(In);Mn&&r.removeRoute(Mn)}function ue(){return r.getRoutes().map(In=>In.record)}function de(In){return!!r.getRecordMatcher(In)}function pe(In,Mn){if(Mn=assign$1({},Mn||z.value),typeof In=="string"){const Pn=parseURL(n,In,Mn.path),Bn=r.resolve({path:Pn.path},Mn),Un=y.createHref(Pn.fullPath);return assign$1(Pn,Bn,{params:oe(Bn.params),hash:decode$1(Pn.hash),redirectedFrom:void 0,href:Un})}let Vn;if(In.path!=null)Vn=assign$1({},In,{path:parseURL(n,In.path,Mn.path).path});else{const Pn=assign$1({},In.params);for(const Bn in Pn)Pn[Bn]==null&&delete Pn[Bn];Vn=assign$1({},In,{params:ae(Pn)}),Mn.params=ae(Mn.params)}const zn=r.resolve(Vn,Mn),Jn=In.hash||"";zn.params=re(oe(zn.params));const tr=stringifyURL(g,assign$1({},In,{hash:encodeHash(Jn),path:zn.path})),$n=y.createHref(tr);return assign$1({fullPath:tr,hash:Jn,query:g===stringifyQuery?normalizeQuery(In.query):In.query||{}},zn,{redirectedFrom:void 0,href:$n})}function he(In){return typeof In=="string"?parseURL(n,In,z.value.path):assign$1({},In)}function _e(In,Mn){if(j!==In)return createRouterError(8,{from:Mn,to:In})}function Ce(In){return Ie(In)}function $e(In){return Ce(assign$1(he(In),{replace:!0}))}function xe(In){const Mn=In.matched[In.matched.length-1];if(Mn&&Mn.redirect){const{redirect:Vn}=Mn;let zn=typeof Vn=="function"?Vn(In):Vn;return typeof zn=="string"&&(zn=zn.includes("?")||zn.includes("#")?zn=he(zn):{path:zn},zn.params={}),assign$1({query:In.query,hash:In.hash,params:zn.path!=null?{}:In.params},zn)}}function Ie(In,Mn){const Vn=j=pe(In),zn=z.value,Jn=In.state,tr=In.force,$n=In.replace===!0,Pn=xe(Vn);if(Pn)return Ie(assign$1(he(Pn),{state:typeof Pn=="object"?assign$1({},Jn,Pn.state):Jn,force:tr,replace:$n}),Mn||Vn);const Bn=Vn;Bn.redirectedFrom=Mn;let Un;return!tr&&isSameRouteLocation(g,zn,Vn)&&(Un=createRouterError(16,{to:Bn,from:zn}),Tn(zn,zn,!0,!1)),(Un?Promise.resolve(Un):Fe(Bn,zn)).catch(Fn=>isNavigationFailure(Fn)?isNavigationFailure(Fn,2)?Fn:Cn(Fn):hn(Fn,Bn,zn)).then(Fn=>{if(Fn){if(isNavigationFailure(Fn,2))return Ie(assign$1({replace:$n},he(Fn.to),{state:typeof Fn.to=="object"?assign$1({},Jn,Fn.to.state):Jn,force:tr}),Mn||Bn)}else Fn=Et(Bn,zn,!0,$n,Jn);return qe(Bn,zn,Fn),Fn})}function Ne(In,Mn){const Vn=_e(In,Mn);return Vn?Promise.reject(Vn):Promise.resolve()}function ze(In){const Mn=kn.values().next().value;return Mn&&typeof Mn.runWithContext=="function"?Mn.runWithContext(In):In()}function Fe(In,Mn){let Vn;const[zn,Jn,tr]=extractChangingRecords(In,Mn);Vn=extractComponentsGuards(zn.reverse(),"beforeRouteLeave",In,Mn);for(const Pn of zn)Pn.leaveGuards.forEach(Bn=>{Vn.push(guardToPromiseFn(Bn,In,Mn))});const $n=Ne.bind(null,In,Mn);return Vn.push($n),Rn(Vn).then(()=>{Vn=[];for(const Pn of L.list())Vn.push(guardToPromiseFn(Pn,In,Mn));return Vn.push($n),Rn(Vn)}).then(()=>{Vn=extractComponentsGuards(Jn,"beforeRouteUpdate",In,Mn);for(const Pn of Jn)Pn.updateGuards.forEach(Bn=>{Vn.push(guardToPromiseFn(Bn,In,Mn))});return Vn.push($n),Rn(Vn)}).then(()=>{Vn=[];for(const Pn of tr)if(Pn.beforeEnter)if(isArray$3(Pn.beforeEnter))for(const Bn of Pn.beforeEnter)Vn.push(guardToPromiseFn(Bn,In,Mn));else Vn.push(guardToPromiseFn(Pn.beforeEnter,In,Mn));return Vn.push($n),Rn(Vn)}).then(()=>(In.matched.forEach(Pn=>Pn.enterCallbacks={}),Vn=extractComponentsGuards(tr,"beforeRouteEnter",In,Mn,ze),Vn.push($n),Rn(Vn))).then(()=>{Vn=[];for(const Pn of $.list())Vn.push(guardToPromiseFn(Pn,In,Mn));return Vn.push($n),Rn(Vn)}).catch(Pn=>isNavigationFailure(Pn,8)?Pn:Promise.reject(Pn))}function qe(In,Mn,Vn){V.list().forEach(zn=>ze(()=>zn(In,Mn,Vn)))}function Et(In,Mn,Vn,zn,Jn){const tr=_e(In,Mn);if(tr)return tr;const $n=Mn===START_LOCATION_NORMALIZED,Pn=isBrowser$1?history.state:{};Vn&&(zn||$n?y.replace(In.fullPath,assign$1({scroll:$n&&Pn&&Pn.scroll},Jn)):y.push(In.fullPath,Jn)),z.value=In,Tn(In,Mn,Vn,$n),Cn()}let kt;function Lt(){kt||(kt=y.listen((In,Mn,Vn)=>{if(!On.listening)return;const zn=pe(In),Jn=xe(zn);if(Jn){Ie(assign$1(Jn,{replace:!0}),zn).catch(noop$4);return}j=zn;const tr=z.value;isBrowser$1&&saveScrollPosition(getScrollKey(tr.fullPath,Vn.delta),computeScrollPosition()),Fe(zn,tr).catch($n=>isNavigationFailure($n,12)?$n:isNavigationFailure($n,2)?(Ie($n.to,zn).then(Pn=>{isNavigationFailure(Pn,20)&&!Vn.delta&&Vn.type===NavigationType.pop&&y.go(-1,!1)}).catch(noop$4),Promise.reject()):(Vn.delta&&y.go(-Vn.delta,!1),hn($n,zn,tr))).then($n=>{$n=$n||Et(zn,tr,!1),$n&&(Vn.delta&&!isNavigationFailure($n,8)?y.go(-Vn.delta,!1):Vn.type===NavigationType.pop&&isNavigationFailure($n,20)&&y.go(-1,!1)),qe(zn,tr,$n)}).catch(noop$4)}))}let vn=useCallbacks(),jt=useCallbacks(),At;function hn(In,Mn,Vn){Cn(In);const zn=jt.list();return zn.length?zn.forEach(Jn=>Jn(In,Mn,Vn)):console.error(In),Promise.reject(In)}function bn(){return At&&z.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((In,Mn)=>{vn.add([In,Mn])})}function Cn(In){return At||(At=!In,Lt(),vn.list().forEach(([Mn,Vn])=>In?Vn(In):Mn()),vn.reset()),In}function Tn(In,Mn,Vn,zn){const{scrollBehavior:Jn}=t;if(!isBrowser$1||!Jn)return Promise.resolve();const tr=!Vn&&getSavedScrollPosition(getScrollKey(In.fullPath,0))||(zn||!Vn)&&history.state&&history.state.scroll||null;return nextTick().then(()=>Jn(In,Mn,tr)).then($n=>$n&&scrollToPosition($n)).catch($n=>hn($n,In,Mn))}const xn=In=>y.go(In);let En;const kn=new Set,On={currentRoute:z,listening:!0,addRoute:ie,removeRoute:le,hasRoute:de,getRoutes:ue,resolve:pe,options:t,push:Ce,replace:$e,go:xn,back:()=>xn(-1),forward:()=>xn(1),beforeEach:L.add,beforeResolve:$.add,afterEach:V.add,onError:jt.add,isReady:bn,install(In){const Mn=this;In.component("RouterLink",RouterLink),In.component("RouterView",RouterView),In.config.globalProperties.$router=Mn,Object.defineProperty(In.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(z)}),isBrowser$1&&!En&&z.value===START_LOCATION_NORMALIZED&&(En=!0,Ce(y.location).catch(Jn=>{}));const Vn={};for(const Jn in START_LOCATION_NORMALIZED)Object.defineProperty(Vn,Jn,{get:()=>z.value[Jn],enumerable:!0});In.provide(routerKey,Mn),In.provide(routeLocationKey,shallowReactive(Vn)),In.provide(routerViewLocationKey,z);const zn=In.unmount;kn.add(In),In.unmount=function(){kn.delete(In),kn.size<1&&(j=START_LOCATION_NORMALIZED,kt&&kt(),kt=null,z.value=START_LOCATION_NORMALIZED,En=!1,At=!1),zn()}}};function Rn(In){return In.reduce((Mn,Vn)=>Mn.then(()=>ze(Vn)),Promise.resolve())}return On}function extractChangingRecords(t,r){const n=[],g=[],y=[],L=Math.max(r.matched.length,t.matched.length);for(let $=0;$isSameRouteRecord(j,V))?g.push(V):n.push(V));const z=t.matched[$];z&&(r.matched.find(j=>isSameRouteRecord(j,z))||y.push(z))}return[n,g,y]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const _withScopeId$1=t=>(pushScopeId("data-v-ecebb21e"),t=t(),popScopeId(),t),_hoisted_1$1={class:"notallowed"},_hoisted_2$1={class:"content"},_hoisted_3$1=_withScopeId$1(()=>createBaseVNode("h1",null,"403",-1)),_hoisted_4$1=_withScopeId$1(()=>createBaseVNode("div",{class:"desc"}," 抱歉,你无权访问该页面 ",-1)),_sfc_main$2=defineComponent({__name:"index",setup(t){const r=useRouter(),n=ref({inter:NaN,countdown:5});onUnmounted(()=>{n.value.inter&&window.clearInterval(n.value.inter)}),onMounted(()=>{n.value.inter=window.setInterval(()=>{n.value.countdown--,n.value.countdown===0&&(n.value.inter&&window.clearInterval(n.value.inter),g())},1e3)});function g(){r.push("/")}return(y,L)=>{const $=_sfc_main$3,V=resolveComponent("el-button");return openBlock(),createElementBlock("div",_hoisted_1$1,[createVNode$1($,{name:"403",class:"icon"}),createBaseVNode("div",_hoisted_2$1,[_hoisted_3$1,_hoisted_4$1,createVNode$1(V,{type:"primary",onClick:g},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(n).countdown)+" 秒后,返回首页 ",1)]),_:1})])])}}}),index_vue_vue_type_style_index_0_scoped_ecebb21e_lang="",__unplugin_components_0=_export_sfc(_sfc_main$2,[["__scopeId","data-v-ecebb21e"]]);var eruda$1={exports:{}};/*! eruda v3.0.1 https://eruda.liriliri.io/ */(function(module,exports){(function(t,r){module.exports=r()})(self,function(){return function(){var __webpack_modules__={422:function(t,r,n){n.d(r,{Z:function(){return Mn}});var g=n(5671),y=n(3144),L=n(9340),$=n(2963),V=n(1120),z=n(2461),j=n.n(z),re=n(3990),ae=n.n(re),oe=n(6768),ie=n.n(oe),le=n(4331),ue=n.n(le),de=n(5610),pe=n.n(de),he=n(7483),_e=n.n(he),Ce=n(6341),$e=n.n(Ce),xe=n(3875),Ie=n.n(xe),Ne=n(6954),ze=n.n(Ne);n(9585);function Fe(zn){var Jn="luna-".concat(zn,"-");function tr($n){return j()(ue()($n).split(/\s+/),function(Pn){return $e()(Pn,Jn)?Pn:Pn.replace(/[\w-]+/,function(Bn){return"".concat(Jn).concat(Bn)})}).join(" ")}return function($n){if(/<[^>]*>/g.test($n))try{var Pn=_e().parse($n);return qe(Pn,function(Bn){Bn.attrs&&Bn.attrs.class&&(Bn.attrs.class=tr(Bn.attrs.class))}),_e().stringify(Pn)}catch{return tr($n)}return tr($n)}}function qe(zn,Jn){for(var tr=0,$n=zn.length;tr<$n;tr++){var Pn=zn[tr];Jn(Pn),Pn.content&&qe(Pn.content,Jn)}}pe();function Et(){var zn=ze()();return zn==="os x"?"mac":zn}var kt=n(1443),Lt=n.n(kt),vn=n(1512),jt=n.n(vn),At=n(3783),hn=n.n(At),bn=n(6329),Cn=n.n(bn),Tn=n(4193),xn=n.n(Tn),En=n(5852),kn=n.n(En);function On(zn){var Jn=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var tr,$n=(0,V.Z)(zn);if(Jn){var Pn=(0,V.Z)(this).constructor;tr=Reflect.construct($n,arguments,Pn)}else tr=$n.apply(this,arguments);return(0,$.Z)(this,tr)}}var Rn=function(zn){(0,L.Z)(tr,zn);var Jn=On(tr);function tr($n,Pn){var Bn,Un=Pn.compName,Fn=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,cr=Fn===void 0?"light":Fn;return(0,g.Z)(this,tr),(Bn=Jn.call(this)).subComponents=[],Bn.compName=Un,Bn.c=Fe(Un),Bn.options={},Bn.container=$n,Bn.$container=jt()($n),Bn.$container.addClass(["luna-".concat(Un),Bn.c("platform-".concat(Et()))]),Bn.on("optionChange",function(ur,vr,Yn){var gr=Bn.c;ur==="theme"&&(Bn.$container.rmClass(gr("theme-".concat(Yn))).addClass(gr("theme-".concat(vr))),hn()(Bn.subComponents,function(lr){return lr.setOption("theme",vr)}))}),Bn.setOption("theme",cr),Bn}return(0,y.Z)(tr,[{key:"destroy",value:function(){this.destroySubComponents();var $n=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass($n("platform-".concat(Et()))).rmClass($n("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function($n,Pn){var Bn=this,Un=this.options,Fn={};typeof $n=="string"?Fn[$n]=Pn:Fn=$n,hn()(Fn,function(cr,ur){var vr=Un[ur];Un[ur]=cr,Bn.emit("optionChange",ur,cr,vr)})}},{key:"getOption",value:function($n){return this.options[$n]}},{key:"addSubComponent",value:function($n){$n.setOption("theme",this.options.theme),this.subComponents.push($n)}},{key:"removeSubComponent",value:function($n){kn()(this.subComponents,function(Pn){return Pn===$n})}},{key:"destroySubComponents",value:function(){hn()(this.subComponents,function($n){return $n.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function($n){var Pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};xn()($n,Pn),Cn()(this.options,$n)}},{key:"find",value:function($n){return this.$container.find(this.c($n))}}]),tr}(Lt());function In(zn){var Jn=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var tr,$n=(0,V.Z)(zn);if(Jn){var Pn=(0,V.Z)(this).constructor;tr=Reflect.construct($n,arguments,Pn)}else tr=$n.apply(this,arguments);return(0,$.Z)(this,tr)}}t=n.hmd(t);var Mn=function(zn){(0,L.Z)(tr,zn);var Jn=In(tr);function tr($n){var Pn,Bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,g.Z)(this,tr),(Pn=Jn.call(this,$n,{compName:"box-model"})).initOptions(Bn),Pn.options.element&&Pn.render(),Pn.bindEvent(),Pn}return(0,y.Z)(tr,[{key:"bindEvent",value:function(){var $n=this;this.on("optionChange",function(Pn){Pn==="element"&&$n.render()})}},{key:"render",value:function(){var $n=this.c,Pn=this.getBoxModelData();this.$container.html(['
    '),Pn.position?'
    '):"",Pn.position?'
    position
    ').concat(Pn.position.top,'

    ').concat(Pn.position.left,"
    "):"",'
    '),'
    margin
    ').concat(Pn.margin.top,'

    ').concat(Pn.margin.left,"
    "),'
    '),'
    border
    ').concat(Pn.border.top,'

    ').concat(Pn.border.left,"
    "),'
    '),'
    padding
    ').concat(Pn.padding.top,'

    ').concat(Pn.padding.left,"
    "),'
    '),"".concat(Pn.content.width," × ").concat(Pn.content.height,""),"
    ",'
    ').concat(Pn.padding.right,'

    ').concat(Pn.padding.bottom,"
    "),"
    ",'
    ').concat(Pn.border.right,'

    ').concat(Pn.border.bottom,"
    "),"
    ",'
    ').concat(Pn.margin.right,'

    ').concat(Pn.margin.bottom,"
    "),"
    ",Pn.position?'
    ').concat(Pn.position.right,'

    ').concat(Pn.position.bottom,"
    "):"",Pn.position?"
    ":"","
    "].join(""))}},{key:"getBoxModelData",value:function(){var $n=this.options.element,Pn=window.getComputedStyle($n);function Bn(Fn){var cr=["top","left","right","bottom"];return Fn!=="position"&&(cr=j()(cr,function(ur){return"".concat(Fn,"-").concat(ur)})),Fn==="border"&&(cr=j()(cr,function(ur){return"".concat(ur,"-width")})),{top:Vn(Pn[cr[0]],Fn),left:Vn(Pn[cr[1]],Fn),right:Vn(Pn[cr[2]],Fn),bottom:Vn(Pn[cr[3]],Fn)}}var Un={margin:Bn("margin"),border:Bn("border"),padding:Bn("padding"),content:{width:Vn(Pn.width),height:Vn(Pn.height)}};return Pn.position!=="static"&&(Un.position=Bn("position")),Un}}]),tr}(Rn);function Vn(zn,Jn){if(ae()(zn))return zn;if(!ie()(zn))return"‒";var tr,$n=(tr=zn,Ie()(tr.replace("px","")));return isNaN($n)?zn:Jn==="position"?$n:$n===0?"‒":$n}(function(zn,Jn){try{zn.exports=Jn,zn.exports.default=Jn}catch{}})(t,Mn)},8816:function(t,r,n){n.d(r,{Z:function(){return Ui}});var g=n(168),y=n(181);function L(fa,La){return function(sa){if(Array.isArray(sa))return sa}(fa)||function(sa,Xn){var Zn=sa==null?null:typeof Symbol<"u"&&sa[Symbol.iterator]||sa["@@iterator"];if(Zn!=null){var Sr,Lr,Jr,Hr,na=[],ra=!0,xa=!1;try{if(Jr=(Zn=Zn.call(sa)).next,Xn===0){if(Object(Zn)!==Zn)return;ra=!1}else for(;!(ra=(Sr=Jr.call(Zn)).done)&&(na.push(Sr.value),na.length!==Xn);ra=!0);}catch(Ua){xa=!0,Lr=Ua}finally{try{if(!ra&&Zn.return!=null&&(Hr=Zn.return(),Object(Hr)!==Hr))return}finally{if(xa)throw Lr}}return na}}(fa,La)||(0,y.Z)(fa,La)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var $=n(5671),V=n(3144),z=n(1752),j=n(9340),re=n(2963),ae=n(1120),oe=n(7326),ie=n(8901),le=n.n(ie),ue=n(3367),de=n.n(ue),pe=n(6341),he=n.n(pe),_e=n(6930),Ce=n.n(_e),$e=n(4187),xe=n.n($e),Ie=n(3783),Ne=n.n(Ie),ze=n(4858),Fe=n.n(ze),qe=n(8887),Et=n.n(qe),kt=n(7756),Lt=n.n(kt),vn=n(3023),jt=n.n(vn);function At(fa){return fa.constructor&&fa.constructor.name?fa.constructor.name:jt()({}.toString.call(fa).replace(/(\[object )|]/g,""))}var hn=n(2461),bn=n.n(hn),Cn=n(4331),Tn=n.n(Cn),xn=n(5610),En=n.n(xn),kn=n(7483),On=n.n(kn),Rn=n(3990),In=n.n(Rn),Mn=n(3875),Vn=n.n(Mn),zn=n(6954),Jn=n.n(zn),tr=n(9585),$n=n.n(tr);function Pn(fa){var La="luna-".concat(fa,"-");function sa(Xn){return bn()(Tn()(Xn).split(/\s+/),function(Zn){return he()(Zn,La)?Zn:Zn.replace(/[\w-]+/,function(Sr){return"".concat(La).concat(Sr)})}).join(" ")}return function(Xn){if(/<[^>]*>/g.test(Xn))try{var Zn=On().parse(Xn);return Bn(Zn,function(Sr){Sr.attrs&&Sr.attrs.class&&(Sr.attrs.class=sa(Sr.attrs.class))}),On().stringify(Zn)}catch{return sa(Xn)}return sa(Xn)}}function Bn(fa,La){for(var sa=0,Xn=fa.length;sa1&&arguments[1]!==void 0?arguments[1]:{},Xn=sa.topObj,Zn=sa.level,Sr=Zn===void 0?0:Zn,Lr=sa.getterVal,Jr=Lr!==void 0&&Lr,Hr=sa.unenumerable,na=Hr===void 0||Hr,ra="",xa="",Ua=[],Xa=[],lo="";Xn=Xn||fa;var To={getterVal:Jr,unenumerable:na,level:Sr+1},Va=Sr===0,ho=''),Oo=''),wo=''),mi=''),Oi=''),gi=''),oi=function(vo){return le()(vo).replace(/\\n/g,"↵").replace(/\\f|\\r|\\t/g,"").replace(/\\/g,"")},jo="";function no(vo){return vo=de()(vo),he()(cr,vo)||Ce()(vo,"Array[")?gi+oi(vo)+jo:(vo.length>100&&(vo=Lt()(vo,100,{separator:" ",ellipsis:"…"})),mi+oi('"'.concat(vo,'"'))+jo)}function ii(vo){if(La>5)lo=", …";else{var Ri=function(Ki){return ho+oi(Ki)+jo}(vr(vo));if(!Jr){var us=Object.getOwnPropertyDescriptor(fa,vo);if(us&&us.get)return Ua.push("".concat(Ri,": ").concat(no("(...)"))),void La++}Ua.push("".concat(Ri,": ").concat(Fn(Xn[vo],To))),La++}}try{xa={}.toString.call(fa)}catch{xa="[object Object]"}var ci,Ti=xa=="[object Array]",Ai=xa=="[object Object]",Zo=xa=="[object Number]",_i=xa=="[object RegExp]",$i=xa=="[object Symbol]",Xo=xa=="[object Function]",ki=xa=="[object Boolean]";if(xa=="[object String]")ra=no(vr(fa));else if(_i)ci=vr(fa.toString()),ra=mi+ci+jo;else if(Xo)ra=no("ƒ");else if(Ti)if(Va){ra="[";var Wi=fa.length,Di="";Wi>100&&(Wi=100,Di=", …");for(var yi=0;yi"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sa,Xn=(0,ae.Z)(fa);if(La){var Zn=(0,ae.Z)(this).constructor;sa=Reflect.construct(Xn,arguments,Zn)}else sa=Xn.apply(this,arguments);return(0,re.Z)(this,sa)}}var ns=/https?:\/\/([0-9.\-A-Za-z]+)(?::(\d+))?\/[A-Z.a-z0-9/]*\.js/g,Fi={comment:"",string:"",number:"",keyword:"",operator:""},ys=function(fa){(0,j.Z)(sa,fa);var La=zi(sa);function sa(Xn,Zn){var Sr,Lr=Zn.type,Jr=Lr===void 0?"log":Lr,Hr=Zn.args,na=Hr===void 0?[]:Hr,ra=Zn.id,xa=Zn.group,Ua=Zn.targetGroup,Xa=Zn.header,lo=Zn.ignoreFilter,To=lo!==void 0&&lo,Va=Zn.accessGetter,ho=Zn.unenumerable,Oo=Zn.lazyEvaluation;(0,$.Z)(this,sa),(Sr=La.call(this)).container=ia()("div"),Sr.count=1,Sr.width=0,Sr.height=0,Sr.isHidden=!1,Sr.columns=[],Sr.elements={},Sr.objects={},Sr.console=Xn,Sr.type=Jr,Sr.group=xa,Sr.targetGroup=Ua,Sr.args=na,Sr.id=ra,Sr.header=Xa,Sr.ignoreFilter=To,Sr.collapsed=!1,Sr.container.log=(0,oe.Z)(Sr),Sr.height=0,Sr.width=0,Sr.$container=ka()(Sr.container),Sr.accessGetter=Va,Sr.unenumerable=ho,Sr.lazyEvaluation=Oo;var wo="info";switch(Jr){case"debug":wo="verbose";break;case"error":wo="error";break;case"warn":wo="warning"}return Sr.level=wo,Sr.resizeSensor=new(wr())(Sr.container),Sr.onResize=Kr()(function(){$n()(Sr.container)?Sr.isHidden=!0:(Sr.isHidden||Sr.updateSize(!1),Sr.isHidden=!1)},16),Sr.formatMsg(),Sr.group&&Sr.checkGroup(),Sr.bindEvent(),Sr}return(0,V.Z)(sa,[{key:"checkGroup",value:function(){for(var Xn=this.group,Zn=!1;Xn;){if(Xn.collapsed){Zn=!0;break}Xn=Xn.parent}return Zn!==this.collapsed&&(this.collapsed=Zn,!0)}},{key:"updateIcon",value:function(Xn){var Zn=this.console.c;return this.$container.find(Zn(".icon-container")).find(Zn(".icon")).rmAttr("class").addClass([Zn("icon"),Zn("icon-".concat(Xn))]),this}},{key:"addCount",value:function(){this.count++;var Xn=this.$container,Zn=this.count,Sr=this.console.c,Lr=Xn.find(Sr(".count-container")),Jr=Xn.find(Sr(".icon-container")),Hr=Lr.find(Sr(".count"));return Zn===2&&Lr.rmClass(Sr("hidden")),Hr.text(de()(Zn)),Jr.addClass(Sr("hidden")),this}},{key:"groupEnd",value:function(){var Xn=this.$container,Zn=this.console.c;return Xn.find(".".concat(Zn("nesting-level"),":not(.").concat(Zn("group-closed"),")")).last().addClass(Zn("group-closed")),this}},{key:"updateTime",value:function(Xn){var Zn=this.$container.find(this.console.c(".time-container"));return this.header&&(Zn.find("span").eq(0).text(Xn),this.header.time=Xn),this}},{key:"isAttached",value:function(){return!!this.container.parentNode}},{key:"isSimple",value:function(){return!zo()(this.args,function(Xn){return Mr()(Xn)})}},{key:"updateSize",value:function(){var Xn=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],Zn=this.container.getBoundingClientRect(),Sr=Zn.width,Lr=Zn.height-1;this.height!==Lr&&(this.height=Lr,Xn||this.emit("updateHeight")),this.width!==Sr&&(this.width=Sr)}},{key:"html",value:function(){return this.container.outerHTML}},{key:"text",value:function(){return this.content.textContent||""}},{key:"select",value:function(){this.$container.addClass(this.console.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.console.c("selected"))}},{key:"copy",value:function(){var Xn=this.args,Zn="";Ne()(Xn,function(Sr,Lr){Lr!==0&&(Zn+=" "),Mr()(Sr)?Zn+=Ta()(Sr):Zn+=de()(Sr)}),da()(Zn)}},{key:"bindEvent",value:function(){var Xn=this,Zn=this.console.c,Sr=this;this.resizeSensor.addListener(this.onResize),this.$container.on("click",Zn(".dom-viewer"),function(Lr){return Lr.stopPropagation()}).on("click",Zn(".preview"),function(Lr){Lr.stopPropagation();var Jr=ka()(this).find(Zn(".preview-icon-container")).find(Zn(".icon")),Hr="caret-down";Jr.hasClass(Zn("icon-caret-down"))&&(Hr="caret-right"),Jr.rmAttr("class").addClass([Zn("icon"),Zn("icon-".concat(Hr))]),Sr.renderObjectViewer(this)}).on("click",function(){return Xn.click()})}},{key:"renderEl",value:function(){var Xn=this.elements,Zn=this.console.c,Sr=this;this.$container.find(Zn(".dom-viewer")).each(function(){var Lr=ka()(this).data("id");new er.Z(this,{node:Xn[Lr],theme:Sr.console.getOption("theme")})})}},{key:"renderObjectViewer",value:function(Xn){var Zn=this.console,Sr=this.unenumerable,Lr=this.accessGetter,Jr=this.lazyEvaluation,Hr=Zn.c,na=ka()(Xn),ra=na.data("id");if(ra){var xa=this.objects[ra],Ua=na.find(Hr(".json"));if(Ua.hasClass(Hr("hidden"))){if(Ua.data("init")!=="true"){if(Jr){var Xa=new gr.Z(Ua.get(0),{unenumerable:Sr,accessGetter:Lr});Xa.setOption("theme",Zn.getOption("theme")),Xa.set(xa)}else{var lo=new gr.q(Ua.get(0));lo.setOption("theme",Zn.getOption("theme")),lo.set(xa)}Ua.data("init","true")}Ua.rmClass(Hr("hidden"))}else Ua.addClass(Hr("hidden"))}}},{key:"renderTable",value:function(Xn){var Zn=this,Sr="__LunaConsoleValue",Lr=this.columns,Jr=this.$container,Hr=this.console,na=Hr.c,ra=Jr.find(na(".data-grid")),xa=Xn[0],Ua=new lr.Z(ra.get(0),{columns:mr()([{id:"(index)",title:"(index)",sortable:!0}],bn()(Lr,function(Xa){return{id:Xa,title:Xa===Sr?"Value":Xa,sortable:!0}})),theme:Hr.getOption("theme")});Ne()(xa,function(Xa,lo){var To={"(index)":de()(lo)};Lr.forEach(function(Va){Mr()(Xa)?To[Va]=Va===Sr?"":Zn.formatTableVal(Xa[Va]):Wn()(Xa)&&(To[Va]=Va===Sr?Zn.formatTableVal(Xa):"")}),Ua.append(To)})}},{key:"extractObj",value:function(Xn){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Sr=arguments.length>2?arguments[2]:void 0,Lr=this.accessGetter,Jr=this.unenumerable;Pr()(Zn,{accessGetter:Lr,unenumerable:Jr,symbol:Jr,timeout:1e3}),function(Hr,na,ra){var xa=Aa()(Hr,na);eo()(function(){return ra(xa)})}(Xn,Zn,function(Hr){return Sr(JSON.parse(Hr))})}},{key:"click",value:function(){var Xn=this.type,Zn=this.$container,Sr=this.console,Lr=Sr.c;switch(Xn){case"log":case"warn":case"info":case"debug":case"output":case"table":case"dir":break;case"group":case"groupCollapsed":Sr.toggleGroup(this);break;case"error":Zn.find(Lr(".stack")).toggleClass(Lr("hidden"))}}},{key:"formatMsg",value:function(){var Xn=this.args,Zn=this.type,Sr=this.id,Lr=this.header,Jr=this.group,Hr=this.console.c;Xn=zr()(Xn);var na,ra,xa="";switch(Zn!=="group"&&Zn!=="groupCollapsed"||Xn.length===0&&(Xn=["console.group"]),Zn){case"log":case"info":case"debug":xa=this.formatCommon(Xn);break;case"dir":xa=this.formatDir(Xn);break;case"warn":na="warn",xa=this.formatCommon(Xn);break;case"error":xr()(Xn[0])&&Xn.length!==1&&(Xn=this.substituteStr(Xn)),ra=Xn[0],na="error",ra=Dn()(ra)?ra:new Error(this.formatCommon(Xn)),xa=this.formatErr(ra);break;case"table":xa=this.formatTable(Xn);break;case"html":xa=Xn[0];break;case"input":xa=this.formatJs(Xn[0]),na="input";break;case"output":xa=this.formatCommon(Xn),na="output";break;case"groupCollapsed":xa=this.formatCommon(Xn),na="caret-right";break;case"group":xa=this.formatCommon(Xn),na="caret-down"}he()(["log","debug","warn"],Zn)&&this.isSimple()&&(xa=po()(xa,function(Ua){return'').concat(Ua,"")})),xa=this.render({msg:xa,type:Zn,icon:na,id:Sr,header:Lr,group:Jr}),this.$container.addClass("".concat(Hr("log-container"))).html(xa),Zn==="table"&&(Et()(this.columns)||this.renderTable(Xn)),Et()(this.elements)||this.renderEl(),this.$content=this.$container.find(Hr(".log-content")),this.content=this.$content.get(0)}},{key:"render",value:function(Xn){var Zn=this.console.c,Sr="",Lr="";if(Xn.group)for(var Jr=Xn.group.indentLevel,Hr=0;Hr');Xn.header&&(Sr+=Eo()(Yn||(Yn=(0,g.Z)([` -
    - `,` -
    - `," ",` -
    -
    `])),Zn("header"),Lr,Zn("time-from-container"),Xn.header.time,Xn.header.from));var na="";return Xn.icon&&(na='
    ')),Sr+=` -
    - `).concat(Lr,` - `).concat(na,` -
    -
    -
    -
    -
    ').concat(Xn.msg,`
    -
    -
    `)}},{key:"formatTable",value:function(Xn){var Zn=Xn[0],Sr=Xn[1],Lr=[];return xr()(Sr)&&(Sr=Ga()(Sr)),io()(Sr)||(Sr=null),Mr()(Zn)?(Ne()(Zn,function(Jr){Wn()(Jr)?Lr.push("__LunaConsoleValue"):Mr()(Jr)&&(Lr=Lr.concat(ba()(Jr)))}),(Lr=Ea()(Lr)).sort(),Sr&&(Lr=Lr.filter(function(Jr){return he()(Sr,Jr)})),Lr.length>20&&(Lr=Lr.slice(0,20)),Et()(Lr)?this.formatCommon(Xn):(this.columns=Lr,this.console.c('
    ')+this.formatPreview(Zn))):this.formatCommon(Xn)}},{key:"formatErr",value:function(Xn){var Zn=Xn.stack?Xn.stack.split(` -`):[],Sr="".concat(Xn.message||Zn[0],"
    ");return Zn=Zn.map(function(Lr){return le()(Lr)}),Sr+'
    ').concat(Zn.slice(1).join("
    "),"
    ").replace(ns,function(Lr){return'').concat(Lr,"")})}},{key:"formatCommon",value:function(Xn){var Zn=this.console.c,Sr=xr()(Xn[0])&&Xn.length!==1;Sr&&(Xn=this.substituteStr(Xn));for(var Lr=0,Jr=Xn.length;Lr').concat(le()(de()(Hr)),"
    "):Mr()(Hr)?Xn[Lr]=this.formatPreview(Hr):Gr()(Hr)?Xn[Lr]='undefined'):hr()(Hr)?Xn[Lr]='null'):In()(Hr)?Xn[Lr]='').concat(de()(Hr),""):typeof Hr=="bigint"?Xn[Lr]='').concat(de()(Hr),"n"):No()(Hr)?Xn[Lr]='').concat(de()(Hr),""):Vi()(Hr)?Xn[Lr]='').concat(le()(de()(Hr)),""):(Hr=de()(Hr),Lr===0&&Sr||(Hr=le()(Hr)),Hr.length>5e3&&(Hr=Lt()(Hr,5e3,{separator:" ",ellipsis:"…"})),Xn[Lr]=Hr)}return Xn.join(" ")}},{key:"formatDir",value:function(Xn){return Mr()(Xn[0])?this.formatPreview(Xn[0]):this.formatCommon(Xn)}},{key:"formatTableVal",value:function(Xn){var Zn=this.console.c;return Mr()(Xn)?"{…}":Wn()(Xn)?bo()('
    ').concat(Fn(Xn),"
    ")):de()(Xn)}},{key:"formatPreview",value:function(Xn){var Zn=this,Sr=this.console.c,Lr=ko()();this.lazyEvaluation?this.objects[Lr]=Xn:this.extractObj(Xn,{},function(na){Zn.objects[Lr]=na});var Jr=he()(["dir","table"],this.type),Hr=At(Xn);return Hr==="Array"&&Xn.length>1?(Hr="(".concat(Xn.length,")"),Jr&&(Hr="Array".concat(Hr))):Hr==="RegExp"?Hr=de()(Xn):Er()(Xn)&&(Hr=this.formatElName(Xn)),'
    ')+'
    ')+'
    ')+'')+'').concat(le()(Hr)," ")+'').concat(Jr?"":Fn(Xn,{getterVal:this.accessGetter,unenumerable:!1}),"")+"
    "+'
    ')}},{key:"substituteStr",value:function(Xn){var Zn=le()(Xn[0]),Sr=!1,Lr="";Xn.shift();for(var Jr=0,Hr=Zn.length;Jr"),Sr=!0,Lr+='');break;default:Jr--,Xn.unshift(ra),Lr+=na}}else Lr+=na}return Sr&&(Lr+=""),Xn.unshift(Lr),Xn}},{key:"formatJs",value:function(Xn){return'
    ').concat(this.console.c(Lo()(Xn,"js",Fi)),"
    ")}},{key:"formatFn",value:function(Xn){return'
    '.concat(this.formatJs(Xn.toString()),"
    ")}},{key:"formatElName",value:function(Xn){var Zn=Xn.id,Sr=Xn.className,Lr=Xn.tagName.toLowerCase();if(Zn!==""&&(Lr+="#".concat(Zn)),xr()(Sr)){var Jr="";Ne()(Sr.split(/\s+/g),function(Hr){Hr.trim()!==""&&(Jr+=".".concat(Hr))}),Lr+=Jr}return Lr}},{key:"formatEl",value:function(Xn){var Zn=ko()();return this.elements[Zn]=Xn,this.console.c('
    '))}}]),sa}(Vr());function Ni(fa){var La=(fa=Br()(fa)).split(";"),sa={};Ne()(La,function(Zn){if(he()(Zn,":")){var Sr=L(Zn.split(":"),2),Lr=Sr[0],Jr=Sr[1];sa[Tn()(Lr)]=Tn()(Jr)}}),sa.display="inline-block",sa["max-width"]="100%",delete sa.width,delete sa.height;var Xn="";return Ne()(sa,function(Zn,Sr){Xn+="".concat(Sr,":").concat(Zn,";")}),Xn}var ws=n(1194),rs=n.n(ws),Cs=n(8847),hi=n.n(Cs),as=n(6329),os=n.n(as),Ss=n(9001),vi=n.n(Ss),xs=n(9702),Es=n.n(xs),is=n(2439),Go=n.n(is),Ts=n(8933),qa=n.n(Ts),xi=n(4407),ai=n.n(xi),Hi=n(5852),di=n.n(Hi);function ss(fa){var La=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sa,Xn=(0,ae.Z)(fa);if(La){var Zn=(0,ae.Z)(this).constructor;sa=Reflect.construct(Xn,arguments,Zn)}else sa=Xn.apply(this,arguments);return(0,re.Z)(this,sa)}}var Ei,As=function(fa){(0,j.Z)(sa,fa);var La=ss(sa);function sa(Xn,Zn){var Sr,Lr,Jr=Zn.compName,Hr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,na=Hr===void 0?"light":Hr;return(0,$.Z)(this,sa),(Sr=La.call(this)).subComponents=[],Sr.compName=Jr,Sr.c=Pn(Jr),Sr.options={},Sr.container=Xn,Sr.$container=ka()(Xn),Sr.$container.addClass(["luna-".concat(Jr),Sr.c("platform-".concat((Lr=Jn()(),Lr==="os x"?"mac":Lr)))]),Sr.on("optionChange",function(ra,xa,Ua){var Xa=Sr.c;ra==="theme"&&(Sr.$container.rmClass(Xa("theme-".concat(Ua))).addClass(Xa("theme-".concat(xa))),Ne()(Sr.subComponents,function(lo){return lo.setOption("theme",xa)}))}),Sr.setOption("theme",na),Sr}return(0,V.Z)(sa,[{key:"destroy",value:function(){var Xn=this;this.destroySubComponents();var Zn=this.$container,Sr=Zn.attr("class");Ne()(Sr.split(/\s+/),function(Lr){Ce()(Lr,"luna-".concat(Xn.compName))&&Zn.rmClass(Lr)}),Zn.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Xn,Zn){var Sr=this,Lr=this.options,Jr={};typeof Xn=="string"?Jr[Xn]=Zn:Jr=Xn,Ne()(Jr,function(Hr,na){var ra=Lr[na];Lr[na]=Hr,Sr.emit("optionChange",na,Hr,ra)})}},{key:"getOption",value:function(Xn){return this.options[Xn]}},{key:"addSubComponent",value:function(Xn){Xn.setOption("theme",this.options.theme),this.subComponents.push(Xn)}},{key:"removeSubComponent",value:function(Xn){di()(this.subComponents,function(Zn){return Zn===Xn})}},{key:"destroySubComponents",value:function(){Ne()(this.subComponents,function(Xn){return Xn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Xn){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Pr()(Xn,Zn),os()(this.options,Xn)}},{key:"find",value:function(Xn){return this.$container.find(this.c(Xn))}}]),sa}(Vr()),$s=n(1571),Gi=n.n($s);function ks(fa){var La=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sa,Xn=(0,ae.Z)(fa);if(La){var Zn=(0,ae.Z)(this).constructor;sa=Reflect.construct(Xn,arguments,Zn)}else sa=Xn.apply(this,arguments);return(0,re.Z)(this,sa)}}t=n.hmd(t);var ji=navigator.userAgent,ls=ji.indexOf("Android")>-1||ji.indexOf("Adr")>-1,Ms=0,Ui=function(fa){(0,j.Z)(sa,fa);var La=ks(sa);function sa(Xn){var Zn,Sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,$.Z)(this,sa),(Zn=La.call(this,Xn,{compName:"console"},Sr)).spaceHeight=0,Zn.topSpaceHeight=0,Zn.bottomSpaceHeight=0,Zn.lastScrollTop=0,Zn.lastTimestamp=0,Zn.speedToleranceFactor=100,Zn.maxSpeedTolerance=2e3,Zn.minSpeedTolerance=100,Zn.logs=[],Zn.displayLogs=[],Zn.timer={},Zn.counter={},Zn.asyncList=[],Zn.asyncTimer=null,Zn.isAtBottom=!0,Zn.groupStack=new(vi()),Zn.selectedLog=null,Zn.onScroll=function(){var Lr=Zn.container,Jr=Lr.scrollHeight,Hr=Lr.offsetHeight,na=Lr.scrollTop;if(!(na<=0||Hr+na>Jr)){var ra=!1;(Jr===Hr||na===Jr-Hr)&&(ra=!0),Zn.isAtBottom=ra;var xa=Zn.lastScrollTop,Ua=Zn.lastTimestamp,Xa=hi()(),lo=Xa-Ua,To=na-xa,Va=Math.abs(To/lo)*Zn.speedToleranceFactor;lo>1e3&&(Va=1e3),Va>Zn.maxSpeedTolerance&&(Va=Zn.maxSpeedTolerance),Vana+Hr+Oo||Zn.renderViewport({topTolerance:2*ho,bottomTolerance:2*Oo})}},Zn.initTpl(),Zn.initOptions(Sr,{maxNum:0,asyncRender:!0,showHeader:!1,filter:"",level:["verbose","info","warning","error"],accessGetter:!1,unenumerable:!0,lazyEvaluation:!0}),Zn.$el=Zn.find(".logs"),Zn.el=Zn.$el.get(0),Zn.$fakeEl=Zn.find(".fake-logs"),Zn.fakeEl=Zn.$fakeEl.get(0),Zn.$space=Zn.find(".logs-space"),Zn.space=Zn.$space.get(0),ls&&(Zn.speedToleranceFactor=800,Zn.maxSpeedTolerance=3e3,Zn.minSpeedTolerance=800),Zn.resizeSensor=new(wr())(Xn),Zn.renderViewport=Go()(function(Lr){Zn._renderViewport(Lr)},16),Zn.global={copy:function(Lr){xr()(Lr)||(Lr=JSON.stringify(Lr,null,2)),da()(Lr)},$:function(Lr){return document.querySelector(Lr)},$$:function(Lr){return Ga()(document.querySelectorAll(Lr))},$x:function(Lr){return qa()(Lr)},clear:function(){Zn.clear()},dir:function(Lr){Zn.dir(Lr)},table:function(Lr,Jr){Zn.table(Lr,Jr)},keys:ba()},Zn.bindEvent(),Zn}return(0,V.Z)(sa,[{key:"setGlobal",value:function(Xn,Zn){this.global[Xn]=Zn}},{key:"destroy",value:function(){this.$container.off("scroll",this.onScroll),this.resizeSensor.destroy(),(0,z.Z)((0,ae.Z)(sa.prototype),"destroy",this).call(this)}},{key:"count",value:function(){var Xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",Zn=this.counter;Gr()(Zn[Xn])?Zn[Xn]=1:Zn[Xn]++,this.info("".concat(Xn,": ").concat(Zn[Xn]))}},{key:"countReset",value:function(){var Xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.counter[Xn]=0}},{key:"assert",value:function(){for(var Xn=arguments.length,Zn=new Array(Xn),Sr=0;Sr0&&arguments[0]!==void 0?arguments[0]:"default";if(this.timer[Xn])return this.insert("warn",["Timer '".concat(Xn,"' already exists")]);this.timer[Xn]=rs()()}},{key:"timeLog",value:function(){var Xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",Zn=this.timer[Xn];if(!Zn)return this.insert("warn",["Timer '".concat(Xn,"' does not exist")]);this.info("".concat(Xn,": ").concat(rs()()-Zn,"ms"))}},{key:"timeEnd",value:function(){var Xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.timeLog(Xn),delete this.timer[Xn]}},{key:"clear",value:function(){var Xn=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.logs=[],this.displayLogs=[],this.selectLog(null),this.lastLog=void 0,this.counter={},this.timer={},this.groupStack=new(vi()),this.asyncList=[],this.asyncTimer&&(clearTimeout(this.asyncTimer),this.asyncTimer=null),Xn?this.render():this.insert("log",["%cConsole was cleared","color:#808080;font-style:italic;"])}},{key:"info",value:function(){for(var Xn=arguments.length,Zn=new Array(Xn),Sr=0;Sr0&&(Lr.group=na.peek()),os()(Lr,{id:++Ms,accessGetter:Ua,unenumerable:Xa,lazyEvaluation:lo}),Lr.type==="group"||Lr.type==="groupCollapsed"){var To={id:ko()("group"),collapsed:!1,parent:na.peek(),indentLevel:na.size+1};Lr.type==="groupCollapsed"&&(To.collapsed=!0),Lr.targetGroup=To,na.push(To)}var Va=new ys(this,Lr);Va.on("updateHeight",function(){Jr.isAtBottom=!1,Jr.renderViewport()});var ho=this.lastLog;if(ho&&!he()(["html","group","groupCollapsed"],Va.type)&&ho.type===Va.type&&Va.isSimple()&&ho.text()===Va.text()?(ho.addCount(),Va.header&&ho.updateTime(Va.header.time),Va=ho,this.detachLog(ho)):(Hr.push(Va),this.lastLog=Va),xa!==0&&Hr.length>xa){var Oo=Hr[0];this.detachLog(Oo),Hr.shift()}this.attachLog(Va),this.emit("insert",Va)}},{key:"updateTopSpace",value:function(Xn){this.topSpaceHeight=Xn,this.el.style.top=Xn+"px"}},{key:"updateBottomSpace",value:function(Xn){this.bottomSpaceHeight=Xn}},{key:"updateSpace",value:function(Xn){this.spaceHeight!==Xn&&(this.spaceHeight=Xn,this.space.style.height=Xn+"px")}},{key:"detachLog",value:function(Xn){var Zn=this.displayLogs,Sr=Zn.indexOf(Xn);Sr>-1&&(Zn.splice(Sr,1),this.renderViewport())}},{key:"attachLog",value:function(Xn){if(this.filterLog(Xn)&&!Xn.collapsed){var Zn=this.displayLogs;if(Zn.length===0)return Zn.push(Xn),void this.renderViewport();var Sr=Es()(Zn);if(Xn.id>Sr.id)return Zn.push(Xn),void this.renderViewport();for(var Lr,Jr=0,Hr=Zn.length-1,na=0;Jr<=Hr;){if((Lr=Zn[na=Jr+Math.floor((Hr-Jr)/2)]).id===Xn.id)return;Lr.id0&&arguments[0]!==void 0?arguments[0]:20,Sr=this.asyncList;this.asyncTimer||(this.asyncTimer=setTimeout(function(){Xn.asyncTimer=null;var Lr,Jr,Hr=!1,na=Sr.length;na<1e3?(Jr=200,Lr=400):na<5e3?(Jr=500,Lr=800):na<1e4?(Jr=800,Lr=1e3):na<25e3?(Jr=1e3,Lr=1200):na<5e4?(Jr=1500,Lr=1500):(Jr=2e3,Lr=2500),Jr>na&&(Jr=na,Hr=!0);for(var ra=0;ra0&&na.length>Hr&&(Xn.logs=na.slice(na.length-Hr),Xn.render());break;case"filter":Xn.render();break;case"level":Xn.options.level=Ga()(Hr),Xn.render()}}),this.$container.on("scroll",this.onScroll)}},{key:"_renderViewport",value:function(){var Xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Zn=Xn.topTolerance,Sr=Zn===void 0?500:Zn,Lr=Xn.bottomTolerance,Jr=Lr===void 0?500:Lr,Hr=this.el,na=this.container,ra=this.space;if(!$n()(na)){for(var xa=na.scrollTop,Ua=na.offsetHeight,Xa=ra.getBoundingClientRect().width,lo=xa-Sr,To=xa+Ua+Jr,Va=this.displayLogs,ho=0,Oo=0,wo=0,mi=Va.length,Oi=this.fakeEl,gi=document.createDocumentFragment(),oi=[],jo=0;jo0){Oi.appendChild(gi);for(var ci=0,Ti=oi.length;ciTo?Oo+=Xo:wo+Xo>lo?Ai.appendChild($i):wo -
    -
    - - `])))))}}]),sa}(As),Ps=function(){return ai()("HH:MM:ss ")};function Li(){for(var fa=new Error,La="",sa=fa.stack?fa.stack.split(` -`):"",Xn=0,Zn=sa.length;Xn-1&&Xn]*>/g.test(zr))try{var Wr=Ne().parse(zr);return jt(Wr,function(Br){Br.attrs&&Br.attrs.class&&(Br.attrs.class=ca(Br.attrs.class))}),Ne().stringify(Wr)}catch{return ca(zr)}return ca(zr)}}function jt(wa,Ea){for(var ca=0,zr=wa.length;ca"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ca,zr=(0,re.Z)(wa);if(Ea){var Wr=(0,re.Z)(this).constructor;ca=Reflect.construct(zr,arguments,Wr)}else ca=zr.apply(this,arguments);return(0,j.Z)(this,ca)}}var Un,Fn=function(wa){(0,z.Z)(ca,wa);var Ea=Bn(ca);function ca(zr,Wr){var Br,fr,ba=Wr.compName,Na=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,ka=Na===void 0?"light":Na;return(0,y.Z)(this,ca),(Br=Ea.call(this)).subComponents=[],Br.compName=ba,Br.c=vn(ba),Br.options={},Br.container=zr,Br.$container=oe()(zr),Br.$container.addClass(["luna-".concat(ba),Br.c("platform-".concat((fr=Lt()(),fr==="os x"?"mac":fr)))]),Br.on("optionChange",function(ua,ia,Xr){var Vr=Br.c;ua==="theme"&&(Br.$container.rmClass(Vr("theme-".concat(Xr))).addClass(Vr("theme-".concat(ia))),Rn()(Br.subComponents,function(Fr){return Fr.setOption("theme",ia)}))}),Br.setOption("theme",ka),Br}return(0,L.Z)(ca,[{key:"destroy",value:function(){var zr=this;this.destroySubComponents();var Wr=this.$container,Br=Wr.attr("class");Rn()(Br.split(/\s+/),function(fr){Pn()(fr,"luna-".concat(zr.compName))&&Wr.rmClass(fr)}),Wr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(zr,Wr){var Br=this,fr=this.options,ba={};typeof zr=="string"?ba[zr]=Wr:ba=zr,Rn()(ba,function(Na,ka){var ua=fr[ka];fr[ka]=Na,Br.emit("optionChange",ka,Na,ua)})}},{key:"getOption",value:function(zr){return this.options[zr]}},{key:"addSubComponent",value:function(zr){zr.setOption("theme",this.options.theme),this.subComponents.push(zr)}},{key:"removeSubComponent",value:function(zr){tr()(this.subComponents,function(Wr){return Wr===zr})}},{key:"destroySubComponents",value:function(){Rn()(this.subComponents,function(zr){return zr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(zr){var Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};zn()(zr,Wr),Mn()(this.options,zr)}},{key:"find",value:function(zr){return this.$container.find(this.c(zr))}}]),ca}(de()),cr=n(8901),ur=n.n(cr),vr=n(8613),Yn=n.n(vr),gr=n(3367),lr=n.n(gr),er=n(9833),br=n.n(er),wr=n(1286),$r=n.n(wr),Mr=n(242),Cr=n.n(Mr),xr=n(2439),or=n.n(xr),Dn=n(6156),Hn=n.n(Dn),Wn=n(4777),pr=n.n(Wn),Pr=n(1754),ir=n.n(Pr),Er=n(6768),Kn=n.n(Er),Qn=n(3063),ar=n.n(Qn),mr=n(9882),kr=n.n(mr),hr=n(9853),Ar=n.n(hr),Gr=n(6435),qr=n.n(Gr);function ta(wa){var Ea=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ca,zr=(0,re.Z)(wa);if(Ea){var Wr=(0,re.Z)(this).constructor;ca=Reflect.construct(zr,arguments,Wr)}else ca=zr.apply(this,arguments);return(0,j.Z)(this,ca)}}t=n.hmd(t);var Pa=oe()(document),Ga=function(wa){(0,z.Z)(ca,wa);var Ea=ta(ca);function ca(zr,Wr){var Br;(0,y.Z)(this,ca),(Br=Ea.call(this,zr,{compName:"data-grid"},Wr)).resizeIdx=0,Br.resizeStartX=0,Br.resizeStartLeft=0,Br.resizeDeltaX=0,Br.nodes=[],Br.colWidthsInitialized=!1,Br.colMap={},Br.selectedNode=null,Br.isAscending=!0,Br.colWidths=[],Br.onResizeColMove=function(ua){var ia=(0,$.Z)(Br),Xr=ia.resizeIdx,Vr=ia.$resizers,Fr=ia.colWidths,Kr=ia.$colgroup,Sa=En("x",ua=ua.origEvent)-Br.resizeStartX,Ta=Fr[Xr],ya=Fr[Xr+1],da=qr()(24-Ta,0),Ma=Ar()(ya-24,0);Sa=kr()(Sa,da,Ma),Kr.each(function(){var Ia=oe()(this).find("col");Ia.eq(Xr).css("width",Ta+Sa+"px"),Ia.eq(Xr+1).css("width",ya-Sa+"px")}),Br.resizeDeltaX=Sa;var Aa=Br.resizeStartLeft+Sa;Vr.eq(Xr).css("left","".concat(Aa,"px"))},Br.onResizeColEnd=function(ua){Br.onResizeColMove(ua);var ia=(0,$.Z)(Br),Xr=ia.c,Vr=ia.colWidths,Fr=ia.resizeIdx,Kr=ia.resizeDeltaX,Sa=Br.options.columns,Ta=Sa[Fr],ya=Sa[Fr+1],da=Vr[Fr]+Kr,Ma=da+(Vr[Fr+1]-Kr),Aa=Ta.weight+ya.weight,Ia=Aa*(da/Ma),eo=Aa-Ia;Ta.weight=Ia,ya.weight=eo,Br.applyColWeights(),oe()(document.body).rmClass(Xr("resizing")),Pa.off(xn("move"),Br.onResizeColMove),Pa.off(xn("end"),Br.onResizeColEnd)},Br.$container.attr("tabindex","0"),Br.resizeSensor=new(Cr())(zr),Br.onResize=or()(function(){Br.updateHeight(),Br.updateWeights()},16),Wr.height&&(Wr.maxHeight=Wr.height,Wr.minHeight=Wr.height),Br.initOptions(Wr,{minHeight:41,maxHeight:1/0,filter:""});var fr=Br.options,ba=fr.columns,Na=fr.minHeight,ka=fr.maxHeight;return Rn()(ba,function(ua){zn()(ua,{sortable:!1}),Br.colMap[ua.id]=ua}),ka-1&&(zr.detach(),Wr.splice(Br,1),zr===this.selectedNode&&this.selectNode(Wr[Br]||Wr[Br-1]||null),this.updateHeight())}},{key:"append",value:function(zr,Wr){var Br=new to(this,zr,Wr);return this.nodes.push(Br),this.sortId?this.sortNodes(this.sortId,this.isAscending):this.filterNode(Br)&&(this.tableBody.insertBefore(Br.container,this.fillerRow),this.updateHeight()),Br}},{key:"clear",value:function(){Rn()(this.nodes,function(zr){return zr.detach()}),this.nodes=[],this.selectNode(null),this.updateHeight()}},{key:"updateHeight",value:function(){var zr=this.$fillerRow,Wr=this.c,Br=this.$container,fr=this.options,ba=fr.maxHeight,Na=fr.minHeight;this.$dataContainer.css({height:"auto"});var ka=this.$headerRow.offset().height+kn(Br.css("border-top-width"))+kn(Br.css("border-bottom-width"));(Na-=ka)<0&&(Na=0),ba-=ka;var ua=this.$dataContainer.find(Wr(".node")),ia=ua.length,Xr=0;ia>0&&(Xr=ua.offset().height*ia),Xr>Na?zr.hide():zr.show(),Xr=ba&&(Xr=ba),this.$dataContainer.css({height:Xr})}},{key:"selectNode",value:function(zr){var Wr;(Hn()(zr)||zr!=null&&zr.selectable)&&(this.selectedNode&&(this.selectedNode.deselect(),this.selectedNode=null),Hn()(zr)?this.emit("deselect"):(this.selectedNode=zr,(Wr=this.selectedNode)===null||Wr===void 0||Wr.select(),this.emit("select",zr)))}},{key:"onResizeColStart",value:function(zr){var Wr=this.c,Br=this.resizeIdx,fr=this.$resizers;zr.stopPropagation(),zr.preventDefault(),zr=zr.origEvent,this.resizeStartX=En("x",zr),this.resizeStartLeft=kn(fr.eq(Br).css("left")),oe()(document.body).addClass(Wr("resizing")),Pa.on(xn("move"),this.onResizeColMove),Pa.on(xn("end"),this.onResizeColEnd)}},{key:"bindEvent",value:function(){var zr=this,Wr=this.c,Br=this.$headerRow,fr=this.$tableBody,ba=this.$resizers;this.resizeSensor.addListener(this.onResize);var Na=this;fr.on("click",Wr(".node"),function(){Na.selectNode(this.dataGridNode)}),Br.on("click",Wr(".sortable"),function(ka){ka.stopPropagation();var ua=oe()(this),ia=ua.data("id"),Xr=ua.data("order")!=="descending";ua.data("order",Xr?"descending":"ascending"),Na.sortNodes(ia,Xr),Br.find("th").each(function(){var Vr=oe()(this);Vr.data("id")!==ia&&Vr.rmAttr("data-order")})}),ba.on(xn("start"),function(ka){var ua=oe()(this);Na.resizeIdx=Et()(ua.data("idx")),Na.onResizeColStart(ka)}),this.on("optionChange",function(ka){switch(ka){case"minHeight":case"maxHeight":zr.updateHeight();break;case"filter":zr.renderData()}})}},{key:"sortNodes",value:function(zr,Wr){var Br=this.colMap[zr].comparator||io;this.nodes.sort(function(fr,ba){var Na=fr.data[zr],ka=ba.data[zr];return br()(Na)&&(Na=Na.innerText),br()(ka)&&(ka=ka.innerText),Wr?Br(Na,ka):Br(ka,Na)}),this.renderData(),this.sortId=zr,this.isAscending=Wr}},{key:"updateWeights",value:function(){var zr=this.container,Wr=this.$headerRow,Br=this.options.columns,fr=zr.offsetWidth;if(!this.colWidthsInitialized&&fr){for(var ba=0,Na=Br.length;ba'),this.colWidths[Vr]=Kr}Wr.html(ua),this.positionResizers()}}},{key:"positionResizers",value:function(){for(var zr=this.colWidths,Wr=[],Br=zr.length-1,fr=0;fr').concat(ba,"")):Wr+="".concat(ba,""),Br+=""}),this.$headerRow.html(Wr),this.$fillerRow.html(Br)}},{key:"renderResizers",value:function(){for(var zr="",Wr=this.options.columns.length-1,Br=0;Br'));this.$container.append(zr),this.$resizers=this.find(".resizer")}},{key:"initTpl",value:function(){this.$container.html(this.c(le()(Un||(Un=(0,g.Z)([` -
    - - - - - -
    -
    -
    - - - - - -
    -
    - `])))))}}]),ca}(Fn),to=function(){function wa(Ea,ca){var zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{selectable:!1};(0,y.Z)(this,wa),this.container=Yn()("tr"),this.selectable=!1,this.container.dataGridNode=this,this.$container=oe()(this.container),this.$container.addClass(Ea.c("node")),this.dataGrid=Ea,this.data=ca,zr.selectable&&(this.selectable=zr.selectable),this.render()}return(0,L.Z)(wa,[{key:"text",value:function(){return this.$container.text()}},{key:"detach",value:function(){this.$container.remove()}},{key:"select",value:function(){this.$container.addClass(this.dataGrid.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.dataGrid.c("selected"))}},{key:"render",value:function(){var Ea=this.data,ca=this.$container,zr=this.container,Wr=this.dataGrid.getOption("columns");ca.html(""),Rn()(Wr,function(Br){var fr=Yn()("td"),ba=Ea[Br.id];$r()(ba)||(br()(ba)?fr.appendChild(ba):fr.innerText=lr()(ba)),zr.appendChild(fr)})}}]),wa}();function io(wa,Ea){if(wa=lr()(wa),Ea=lr()(Ea),Pn()(wa,"_")&&!Pn()(Ea,"_"))return 1;if(Pn()(Ea,"_")&&!Pn()(wa,"_"))return-1;for(var ca,zr,Wr,Br,fr=/^\d+|^\D+/;;){if(!wa)return Ea?-1:0;if(!Ea)return 1;if(ca=wa.match(fr)[0],zr=Ea.match(fr)[0],Wr=!isNaN(ca),Br=!isNaN(zr),Wr&&!Br)return-1;if(Br&&!Wr)return 1;if(Wr&&Br){var ba=ca-zr;if(ba)return ba;if(ca.length!==zr.length)return+ca||+zr?zr.length-ca.length:ca.length-zr.length}else if(ca!==zr)return ca]*>/g.test(Wn))try{var pr=xe().parse(Wn);return Et(pr,function(Pr){Pr.attrs&&Pr.attrs.class&&(Pr.attrs.class=Hn(Pr.attrs.class))}),xe().stringify(pr)}catch{return Hn(Wn)}return Hn(Wn)}}function Et(or,Dn){for(var Hn=0,Wn=or.length;Hn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Hn,Wn=(0,re.Z)(or);if(Dn){var pr=(0,re.Z)(this).constructor;Hn=Reflect.construct(Wn,arguments,pr)}else Hn=Wn.apply(this,arguments);return(0,j.Z)(this,Hn)}}var kn,On=function(or){(0,z.Z)(Hn,or);var Dn=En(Hn);function Hn(Wn,pr){var Pr,ir=pr.compName,Er=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Kn=Er===void 0?"light":Er;return(0,L.Z)(this,Hn),(Pr=Dn.call(this)).subComponents=[],Pr.compName=ir,Pr.c=qe(ir),Pr.options={},Pr.container=Wn,Pr.$container=le()(Wn),Pr.$container.addClass(["luna-".concat(ir),Pr.c("platform-".concat(Lt()))]),Pr.on("optionChange",function(Qn,ar,mr){var kr=Pr.c;Qn==="theme"&&(Pr.$container.rmClass(kr("theme-".concat(mr))).addClass(kr("theme-".concat(ar))),jt()(Pr.subComponents,function(hr){return hr.setOption("theme",ar)}))}),Pr.setOption("theme",Kn),Pr}return(0,$.Z)(Hn,[{key:"destroy",value:function(){this.destroySubComponents();var Wn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Wn("platform-".concat(Lt()))).rmClass(Wn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Wn,pr){var Pr=this,ir=this.options,Er={};typeof Wn=="string"?Er[Wn]=pr:Er=Wn,jt()(Er,function(Kn,Qn){var ar=ir[Qn];ir[Qn]=Kn,Pr.emit("optionChange",Qn,Kn,ar)})}},{key:"getOption",value:function(Wn){return this.options[Wn]}},{key:"addSubComponent",value:function(Wn){Wn.setOption("theme",this.options.theme),this.subComponents.push(Wn)}},{key:"removeSubComponent",value:function(Wn){xn()(this.subComponents,function(pr){return pr===Wn})}},{key:"destroySubComponents",value:function(){jt()(this.subComponents,function(Wn){return Wn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Wn){var pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Cn()(Wn,pr),hn()(this.options,Wn)}},{key:"find",value:function(Wn){return this.$container.find(this.c(Wn))}}]),Hn}(oe()),Rn=n(8613),In=n.n(Rn),Mn=n(5972),Vn=n.n(Mn),zn=n(1907),Jn=n.n(zn),tr=n(1352),$n=n.n(tr),Pn=n(2289),Bn=n.n(Pn),Un=n(3651),Fn=n.n(Un),cr=n(7756),ur=n.n(cr),vr=n(8901),Yn=n.n(vr),gr=n(1672),lr=n.n(gr);function er(or,Dn){var Hn=Object.keys(or);if(Object.getOwnPropertySymbols){var Wn=Object.getOwnPropertySymbols(or);Dn&&(Wn=Wn.filter(function(pr){return Object.getOwnPropertyDescriptor(or,pr).enumerable})),Hn.push.apply(Hn,Wn)}return Hn}function br(or){for(var Dn=1;Dn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Hn,Wn=(0,re.Z)(or);if(Dn){var pr=(0,re.Z)(this).constructor;Hn=Reflect.construct(Wn,arguments,pr)}else Hn=Wn.apply(this,arguments);return(0,j.Z)(this,Hn)}}t=n.hmd(t);var $r={comment:"",string:"",number:"",keyword:"",operator:""},Mr=function(or){(0,z.Z)(Hn,or);var Dn=wr(Hn);function Hn(Wn){var pr,Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,L.Z)(this,Hn),(pr=Dn.call(this,Wn,{compName:"dom-viewer"},Pr)).isExpanded=!1,pr.childNodes=[],pr.childNodeDomViewers=[],pr.toggle=function(){pr.isExpanded?pr.collapse():pr.expand()},pr.initOptions(Pr,{node:document.documentElement,parent:null,isEndTag:!1,rootContainer:Wn,rootDomViewer:(0,V.Z)(pr),ignore:function(){return!1}}),pr.initTpl(),pr.bindEvent(),pr.options.isEndTag||pr.initObserver(),pr}return(0,$.Z)(Hn,[{key:"select",value:function(Wn){var pr=this.c,Pr=this.options;if(!Wn||Wn&&Pr.node===Wn)return this.$tag.hasClass(pr("selected"))?void 0:(le()(this.options.rootContainer).find(pr(".selected")).rmClass(pr("selected")).rmAttr("tabindex"),this.$tag.attr("tabindex","0").get(0).focus(),this.$tag.addClass(pr("selected")),void Pr.rootDomViewer.emit("select",Pr.node));if(Wn.nodeType===Node.ELEMENT_NODE)for(var ir=Wn,Er=Wn.parentElement;Er;){if(Er===Pr.node){this.expand(),this.childNodeDomViewers[this.childNodes.indexOf(ir)].select(Wn);break}ir=Er,Er=Er.parentElement}}},{key:"attach",value:function(){this.container.appendChild(this.$tag.get(0)),this.$children&&this.container.appendChild(this.$children.get(0))}},{key:"isAttached",value:function(){return!!this.$tag.get(0).parentNode}},{key:"detach",value:function(){this.$tag.remove(),this.$children&&this.$children.remove()}},{key:"expand",value:function(){this.isExpandable()&&!this.isExpanded&&(this.isExpanded=!0,this.renderExpandTag(),this.renderChildNodes())}},{key:"collapse",value:function(){this.isExpandable()&&this.isExpanded&&(this.isExpanded=!1,this.renderCollapseTag())}},{key:"destroy",value:function(){var Wn=this.c;this.$tag.hasClass(Wn("selected"))&&this.options.rootDomViewer.emit("deselect"),this.detach(),this.observer&&this.observer.disconnect(),this.destroySubComponents(),this.options.rootDomViewer===this&&this.$container.rmClass("luna-dom-viewer").rmClass(Wn("platform-".concat(Lt()))).rmClass(Wn("theme-".concat(this.options.theme))),this.emit("destroy"),this.removeAllListeners()}},{key:"renderExpandTag",value:function(){var Wn=this.$tag,pr=this.c,Pr=this.options.node;Wn.html(this.renderHtmlTag(br(br({},Cr(Pr)),{},{hasTail:!1,hasToggleButton:!0}))),Wn.addClass(pr("expanded")),this.$children.rmClass(pr("hidden"))}},{key:"renderCollapseTag",value:function(){var Wn=this.$tag,pr=this.c,Pr=this.options.node;this.$children.addClass(pr("hidden")),this.$tag.html(this.renderHtmlTag(br(br({},Cr(Pr)),{},{hasTail:!0,hasToggleButton:!0}))),Wn.rmClass(pr("expanded"))}},{key:"initObserver",value:function(){var Wn=this;this.observer=new(Bn())(function(pr){jt()(pr,function(Pr){Wn.handleMutation(Pr)})}),this.observer.observe(this.options.node,{attributes:!0,childList:!0,characterData:!0})}},{key:"handleMutation",value:function(Wn){var pr=this.$tag,Pr=this.c,ir=this.options,Er=ir.node,Kn=ir.ignore;if(Ne()(["attributes","childList"],Wn.type)){if(Wn.type==="childList"){if(lr()(Wn.addedNodes,Kn)&&lr()(Wn.removedNodes,Kn))return;this.renderChildNodes()}this.isExpandable()?this.isExpanded?this.renderExpandTag():this.renderCollapseTag():(this.$children.addClass(Pr("hidden")),pr.html(this.renderHtmlTag(br(br({},Cr(Er)),{},{hasTail:!1}))))}else Wn.type==="characterData"&&(Er.nodeType===Node.TEXT_NODE?pr.html(this.renderTextNode(Er)):Er.nodeType===Node.COMMENT_NODE&&pr.html(this.renderHtmlComment(Er.nodeValue)))}},{key:"bindEvent",value:function(){var Wn=this,pr=this.c,Pr=this.$tag;this.options.node.nodeType===Node.ELEMENT_NODE&&Pr.on("click",pr(".toggle"),function(ir){ir.stopPropagation(),Wn.toggle()}),kt?Pr.on("click",function(){return Wn.select()}):Pr.on("mousedown",function(){return Wn.select()})}},{key:"isExpandable",value:function(){return this.options.node.nodeType===Node.ELEMENT_NODE&&this.getChildNodes().length>0}},{key:"getChildNodes",value:function(){var Wn=this.options,pr=Wn.rootContainer,Pr=Wn.ignore,ir=this.options.node,Er=$n()(ir.childNodes);return Er=Vn()(Er,function(Kn){if(Kn.nodeType===Node.TEXT_NODE||Kn.nodeType===Node.COMMENT_NODE){var Qn=Kn.nodeValue;if(he()(Qn)==="")return!1}return Kn!==pr&&!Pr(Kn)})}},{key:"initTpl",value:function(){var Wn=this.container,pr=this.c,Pr=this.options,ir=Pr.node,Er=Pr.isEndTag,Kn=le()(In()("li"));if(Kn.addClass(pr("tree-item")),this.$tag=Kn,Er)Kn.html(pr('</'.concat(ir.tagName.toLocaleLowerCase(),'>')));else if(ir.nodeType===Node.ELEMENT_NODE){var Qn=this.isExpandable(),ar=br(br({},Cr(ir)),{},{hasTail:Qn,hasToggleButton:Qn});Kn.html(this.renderHtmlTag(ar))}else if(ir.nodeType===Node.TEXT_NODE)Kn.html(this.renderTextNode(ir));else{if(ir.nodeType!==Node.COMMENT_NODE)return;var mr=ir.nodeValue;if(mr.trim()==="")return;Kn.html(this.renderHtmlComment(mr))}if(Wn.appendChild(Kn.get(0)),ir.nodeType===ir.ELEMENT_NODE){var kr=le()(In()("ul"));kr.addClass([pr("children"),pr("hidden")]),Wn.appendChild(kr.get(0)),this.$children=kr}}},{key:"renderChildNodes",value:function(){var Wn=this,pr=this.options.node,Pr=this.options,ir=Pr.rootContainer,Er=Pr.ignore,Kn=Pr.rootDomViewer,Qn=this.$children.get(0),ar=this.childNodes,mr=this.childNodeDomViewers;jt()(mr,function(Ar){Ar.detach(),Wn.removeSubComponent(Ar)}),this.endTagDomViewer&&this.endTagDomViewer.detach();var kr=this.getChildNodes();this.childNodes=kr;var hr=[];this.childNodeDomViewers=hr,jt()(kr,function(Ar,Gr){var qr,ta=ar.indexOf(Ar);(qr=ta>-1?mr[ta]:new Hn(Qn,{node:Ar,parent:Wn,rootContainer:ir,rootDomViewer:Kn,ignore:Er})).attach(),hr[Gr]=qr,Wn.addSubComponent(qr)}),jt()(mr,function(Ar){Ar.isAttached()||Ar.destroy()}),pr&&(this.endTagDomViewer?this.endTagDomViewer.attach():(this.endTagDomViewer=new Hn(Qn,{node:pr,parent:this,isEndTag:!0,rootContainer:ir,rootDomViewer:Kn,ignore:Er}),this.addSubComponent(this.endTagDomViewer)))}},{key:"renderHtmlTag",value:function(Wn){var pr=de()(Wn.attributes,function(Er){var Kn=Er.name,Qn=Er.value,ar=Er.isLink;return` - `.concat(Yn()(Kn),"").concat(Qn?'="').concat(Yn()(Qn),'"'):"","")}).join(""),Pr="";Wn.hasTail?Pr="".concat(Wn.hasTail?"…":"",'</').concat(Wn.tagName,">"):this.isExpandable()||(Pr='</'.concat(Wn.tagName,">"));var ir="";return Wn.hasToggleButton&&(ir='
    '),this.c(Jn()(kn||(kn=(0,g.Z)([` - `,` - <`,"",">",` - `])),ir,Wn.tagName,pr,Pr))}},{key:"renderTextNode",value:function(Wn){var pr=this.c,Pr=Wn.nodeValue,ir=Wn.parentElement,Er='',Kn='';if(ir&&Pr.length<1e4){if(ir.tagName==="STYLE")return pr("".concat(Er).concat(Fn()(Pr,"css",$r)).concat(Kn));if(ir.tagName==="SCRIPT")return pr("".concat(Er).concat(Fn()(Pr,"js",$r)).concat(Kn))}return pr('"'.concat(Er).concat(Yn()(ur()(Pr,1e4,{separator:" ",ellipsis:"…"}))).concat(Kn,'"'))}},{key:"renderHtmlComment",value:function(Wn){return this.c('<!-- '.concat(Yn()(Wn),' -->'))}}]),Hn}(On);function Cr(or){var Dn={tagName:"",attributes:[]};Dn.tagName=or.tagName.toLocaleLowerCase();var Hn=[];return jt()(or.attributes,function(Wn){var pr=Wn.name,Pr=Wn.value;Hn.push({name:pr,value:Pr,isLink:xr(or,pr)})}),Dn.attributes=Hn,Dn}function xr(or,Dn){var Hn=or.tagName;return(Hn==="SCRIPT"||Hn==="IMAGE"||Hn==="VIDEO"||Hn==="AUDIO")&&Dn==="src"||Hn==="LINK"&&Dn==="href"}(function(or,Dn){try{or.exports=Dn,or.exports.default=Dn}catch{}})(t,Mr)},129:function(t,r,n){n.d(r,{Z:function(){return Pn}});var g=n(907),y=n(181);function L(vr){return function(Yn){if(Array.isArray(Yn))return(0,g.Z)(Yn)}(vr)||function(Yn){if(typeof Symbol<"u"&&Yn[Symbol.iterator]!=null||Yn["@@iterator"]!=null)return Array.from(Yn)}(vr)||(0,y.Z)(vr)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var $=n(168),V=n(5671),z=n(3144),j=n(7326),re=n(1752),ae=n(9340),oe=n(2963),ie=n(1120),le=n(1443),ue=n.n(le),de=n(1512),pe=n.n(de),he=n(2461),_e=n.n(he),Ce=n(4331),$e=n.n(Ce),xe=n(5610),Ie=n.n(xe),Ne=n(7483),ze=n.n(Ne),Fe=(n(3990),n(6341)),qe=n.n(Fe),Et=(n(3875),n(6954)),kt=n.n(Et);n(9585);function Lt(vr){var Yn="luna-".concat(vr,"-");function gr(lr){return _e()($e()(lr).split(/\s+/),function(er){return qe()(er,Yn)?er:er.replace(/[\w-]+/,function(br){return"".concat(Yn).concat(br)})}).join(" ")}return function(lr){if(/<[^>]*>/g.test(lr))try{var er=ze().parse(lr);return vn(er,function(br){br.attrs&&br.attrs.class&&(br.attrs.class=gr(br.attrs.class))}),ze().stringify(er)}catch{return gr(lr)}return gr(lr)}}function vn(vr,Yn){for(var gr=0,lr=vr.length;gr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var gr,lr=(0,ie.Z)(vr);if(Yn){var er=(0,ie.Z)(this).constructor;gr=Reflect.construct(lr,arguments,er)}else gr=lr.apply(this,arguments);return(0,oe.Z)(this,gr)}}var In,Mn=function(vr){(0,ae.Z)(gr,vr);var Yn=Rn(gr);function gr(lr,er){var br,wr,$r=er.compName,Mr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Cr=Mr===void 0?"light":Mr;return(0,V.Z)(this,gr),(br=Yn.call(this)).subComponents=[],br.compName=$r,br.c=Lt($r),br.options={},br.container=lr,br.$container=pe()(lr),br.$container.addClass(["luna-".concat($r),br.c("platform-".concat((wr=kt()(),wr==="os x"?"mac":wr)))]),br.on("optionChange",function(xr,or,Dn){var Hn=br.c;xr==="theme"&&(br.$container.rmClass(Hn("theme-".concat(Dn))).addClass(Hn("theme-".concat(or))),At()(br.subComponents,function(Wn){return Wn.setOption("theme",or)}))}),br.setOption("theme",Cr),br}return(0,z.Z)(gr,[{key:"destroy",value:function(){var lr=this;this.destroySubComponents();var er=this.$container,br=er.attr("class");At()(br.split(/\s+/),function(wr){On()(wr,"luna-".concat(lr.compName))&&er.rmClass(wr)}),er.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(lr,er){var br=this,wr=this.options,$r={};typeof lr=="string"?$r[lr]=er:$r=lr,At()($r,function(Mr,Cr){var xr=wr[Cr];wr[Cr]=Mr,br.emit("optionChange",Cr,Mr,xr)})}},{key:"getOption",value:function(lr){return this.options[lr]}},{key:"addSubComponent",value:function(lr){lr.setOption("theme",this.options.theme),this.subComponents.push(lr)}},{key:"removeSubComponent",value:function(lr){En()(this.subComponents,function(er){return er===lr})}},{key:"destroySubComponents",value:function(){At()(this.subComponents,function(lr){return lr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(lr){var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Tn()(lr,er),bn()(this.options,lr)}},{key:"find",value:function(lr){return this.$container.find(this.c(lr))}}]),gr}(ue()),Vn=n(1907),zn=n.n(Vn),Jn=n(8613),tr=n.n(Jn);function $n(vr){var Yn=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var gr,lr=(0,ie.Z)(vr);if(Yn){var er=(0,ie.Z)(this).constructor;gr=Reflect.construct(lr,arguments,er)}else gr=lr.apply(this,arguments);return(0,oe.Z)(this,gr)}}t=n.hmd(t);var Pn=function(vr){(0,ae.Z)(gr,vr);var Yn=$n(gr);function gr(lr){var er,br=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,V.Z)(this,gr),(er=Yn.call(this,lr,{compName:"modal"},br)).render=function(){var wr=(0,j.Z)(er),$r=wr.options,Mr=wr.c,Cr=wr.$body;$r.title?(Cr.rmClass(Mr("no-title")),er.$title.text($r.title)):Cr.addClass(Mr("no-title")),$r.footer?(Cr.rmClass(Mr("no-footer")),er.$footer.html("").append($r.footer)):Cr.addClass(Mr("no-footer")),$r.showClose?er.$close.show():er.$close.hide(),er.$body.css("width",$r.width+"px"),er.$content.html("").append($r.content)},er.hide(),er.initOptions(br,{title:"",content:"",footer:"",showClose:!0,width:ur()}),er.initTpl(),er.$title=er.find(".title"),er.$content=er.find(".content"),er.$body=er.find(".body"),er.$footer=er.find(".footer"),er.$close=er.find(".icon-close"),er.bindEvent(),er}return(0,z.Z)(gr,[{key:"show",value:function(){this.render(),this.$container.rmClass(this.c("hidden"))}},{key:"hide",value:function(){this.$container.addClass(this.c("hidden"))}},{key:"destroy",value:function(){(0,re.Z)((0,ie.Z)(gr.prototype),"destroy",this).call(this),this.$container.rmClass(this.c("hidden"))}},{key:"bindEvent",value:function(){var lr=this;this.$body.on("click",this.c(".icon-close"),function(){return lr.hide()}),this.on("optionChange",this.render)}},{key:"initTpl",value:function(){this.$container.html(this.c(zn()(In||(In=(0,$.Z)([` -
    - -
    -
    - -
    - `])))))}}],[{key:"alert",value:function(lr){var er=Fn(),br=er.c;er.setOption({title:"",content:lr,width:ur(),footer:cr({OK:{type:"primary",onclick:function(){er.hide()}}},br)}),er.show()}},{key:"confirm",value:function(lr){return new Promise(function(er){var br=Fn(),wr=br.c;br.setOption({title:"",content:lr,width:ur(),footer:cr({Cancel:{type:"secondary",onclick:function(){br.hide(),er(!1)}},OK:{type:"primary",onclick:function(){br.hide(),er(!0)}}},wr)}),br.show()})}},{key:"prompt",value:function(){var lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(br){var wr=Fn(),$r=wr.c,Mr=tr()("input"+$r(".input"),{value:er});function Cr(){wr.hide(),br(Mr.value)}pe()(Mr).on("keypress",function(or){(or=or.origEvent).key==="Enter"&&Cr()}),wr.setOption({title:lr,content:Mr,width:ur(),footer:cr({Cancel:{type:"secondary",onclick:function(){wr.hide(),br(null)}},OK:{type:"primary",onclick:Cr}},$r)}),wr.show();var xr=Mr.value.length;Mr.setSelectionRange(xr,xr),Mr.focus()})}},{key:"setContainer",value:function(lr){Un=lr}}]),gr}(Mn),Bn=null,Un=null;function Fn(){return Un||(Un=tr()("div"),document.body.append(Un)),Bn||(Bn=new Pn(Un,{showClose:!1})),Bn}function cr(vr,Yn){var gr=_e()(vr,function(lr,er){return tr()(Yn(".button")+Yn("."+lr.type),{onclick:lr.onclick},er)});return tr().apply(void 0,[Yn(".button-group"),{}].concat(L(gr)))}function ur(){return window.innerWidth<500?window.innerWidth-32:500}(function(vr,Yn){try{vr.exports=Yn,vr.exports.default=Yn}catch{}})(t,Pn)},8299:function(t,r,n){n.d(r,{q:function(){return fr},Z:function(){return ka}});var g=n(1002),y=n(5671),L=n(3144),$=n(7326),V=n(1752),z=n(9340),j=n(2963),re=n(1120),ae=n(415),oe=n.n(ae),ie=n(3990),le=n.n(ie),ue=n(4696),de=n.n(ue),pe=n(3063),he=n.n(pe),_e=n(5166),Ce=n.n(_e),$e=n(6472),xe=n.n($e),Ie=n(3023),Ne=n.n(Ie),ze=n(2533),Fe=n.n(ze),qe=n(3783),Et=n.n(qe),kt=n(300),Lt=n.n(kt),vn=n(4321),jt=n.n(vn),At=n(3085),hn=n.n(At),bn=n(1512),Cn=n.n(bn),Tn=n(801),xn=n.n(Tn),En=n(7756),kn=n.n(En),On=n(6768),Rn=n.n(On),In=n(1116),Mn=n.n(In),Vn=n(5972),zn=n.n(Vn),Jn=n(996),tr=n.n(Jn),$n=n(3367),Pn=n.n($n),Bn=n(1214),Un=n.n(Bn),Fn=n(6339),cr=n.n(Fn),ur=n(6329),vr=n.n(ur),Yn=function(){function ua(){(0,y.Z)(this,ua),this.id=0,this.visited=[]}return(0,L.Z)(ua,[{key:"set",value:function(ia,Xr){var Vr=this.visited,Fr=this.id,Kr={id:Fr,val:ia};return vr()(Kr,Xr),Vr.push(Kr),this.id++,Fr}},{key:"get",value:function(ia){for(var Xr=this.visited,Vr=0,Fr=Xr.length;Vr500&&(ua=ua.slice(0,500)+"..."),"ƒ "+lr()(function(ia){var Xr=ia.match(Mr);return Xr?Xr[0]:ia}(ua).replace("function",""))}var Mr=/function(.*?)\((.*?)\)/,Cr=n(6930),xr=n.n(Cr),or=n(5229),Dn=n.n(or),Hn=n(3875),Wn=n.n(Hn),pr=n(9433),Pr=n.n(pr),ir=n(1443),Er=n.n(ir),Kn=n(2461),Qn=n.n(Kn),ar=n(5610),mr=n.n(ar),kr=n(7483),hr=n.n(kr),Ar=n(6341),Gr=n.n(Ar),qr=n(6954),ta=n.n(qr);n(9585);function Pa(ua){var ia="luna-".concat(ua,"-");function Xr(Vr){return Qn()(lr()(Vr).split(/\s+/),function(Fr){return Gr()(Fr,ia)?Fr:Fr.replace(/[\w-]+/,function(Kr){return"".concat(ia).concat(Kr)})}).join(" ")}return function(Vr){if(/<[^>]*>/g.test(Vr))try{var Fr=hr().parse(Vr);return Ga(Fr,function(Kr){Kr.attrs&&Kr.attrs.class&&(Kr.attrs.class=Xr(Kr.attrs.class))}),hr().stringify(Fr)}catch{return Xr(Vr)}return Xr(Vr)}}function Ga(ua,ia){for(var Xr=0,Vr=ua.length;Xr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Xr,Vr=(0,re.Z)(ua);if(ia){var Fr=(0,re.Z)(this).constructor;Xr=Reflect.construct(Vr,arguments,Fr)}else Xr=Vr.apply(this,arguments);return(0,j.Z)(this,Xr)}}var Wr=function(ua){(0,z.Z)(Xr,ua);var ia=zr(Xr);function Xr(Vr,Fr){var Kr,Sa=Fr.compName,Ta=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,ya=Ta===void 0?"light":Ta;return(0,y.Z)(this,Xr),(Kr=ia.call(this)).subComponents=[],Kr.compName=Sa,Kr.c=Pa(Sa),Kr.options={},Kr.container=Vr,Kr.$container=Cn()(Vr),Kr.$container.addClass(["luna-".concat(Sa),Kr.c("platform-".concat(to()))]),Kr.on("optionChange",function(da,Ma,Aa){var Ia=Kr.c;da==="theme"&&(Kr.$container.rmClass(Ia("theme-".concat(Aa))).addClass(Ia("theme-".concat(Ma))),Et()(Kr.subComponents,function(eo){return eo.setOption("theme",Ma)}))}),Kr.setOption("theme",ya),Kr}return(0,L.Z)(Xr,[{key:"destroy",value:function(){this.destroySubComponents();var Vr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Vr("platform-".concat(to()))).rmClass(Vr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Vr,Fr){var Kr=this,Sa=this.options,Ta={};typeof Vr=="string"?Ta[Vr]=Fr:Ta=Vr,Et()(Ta,function(ya,da){var Ma=Sa[da];Sa[da]=ya,Kr.emit("optionChange",da,ya,Ma)})}},{key:"getOption",value:function(Vr){return this.options[Vr]}},{key:"addSubComponent",value:function(Vr){Vr.setOption("theme",this.options.theme),this.subComponents.push(Vr)}},{key:"removeSubComponent",value:function(Vr){ca()(this.subComponents,function(Fr){return Fr===Vr})}},{key:"destroySubComponents",value:function(){Et()(this.subComponents,function(Vr){return Vr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Vr){var Fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};wa()(Vr,Fr),vr()(this.options,Vr)}},{key:"find",value:function(Vr){return this.$container.find(this.c(Vr))}}]),Xr}(Er());function Br(ua){var ia=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Xr,Vr=(0,re.Z)(ua);if(ia){var Fr=(0,re.Z)(this).constructor;Xr=Reflect.construct(Vr,arguments,Fr)}else Xr=Vr.apply(this,arguments);return(0,j.Z)(this,Xr)}}var fr=function(ua){(0,z.Z)(Xr,ua);var ia=Br(Xr);function Xr(Vr){var Fr;return(0,y.Z)(this,Xr),(Fr=ia.call(this,Vr,{compName:"object-viewer"})).onItemClick=function(Kr){var Sa=(0,$.Z)(Fr),Ta=Sa.map,ya=Sa.c,da=Cn()(Kr.curTarget),Ma=da.data("object-id"),Aa=da.find("span").eq(0);if(!da.data("first-level")&&(Ma&&(da.find("ul").html(Fr.objToHtml(Ta[Ma],!1)),da.rmAttr("data-object-id")),Kr.stopImmediatePropagation(),Aa.hasClass(ya("expanded")))){var Ia=da.find("ul").eq(0);Aa.hasClass(ya("collapsed"))?(Aa.rmClass(ya("collapsed")),Ia.show()):(Aa.addClass(ya("collapsed")),Ia.hide()),Fr.emit("change")}},Fr.bindEvent(),Fr}return(0,L.Z)(Xr,[{key:"set",value:function(Vr){Rn()(Vr)&&(Vr=JSON.parse(Vr)),this.data={id:Dn()("json"),enumerable:{0:Vr}},this.map={},ba(this.map,this.data),this.render()}},{key:"destroy",value:function(){(0,V.Z)((0,re.Z)(Xr.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(Vr,Fr){var Kr=this,Sa="";return Et()(["enumerable","unenumerable","symbol"],function(Ta){if(Vr[Ta]){var ya=Fe()(Vr[Ta]);cr()(ya);for(var da=0,Ma=ya.length;da3&&arguments[3]!==void 0&&arguments[3],Ta=this.c,ya=(0,g.Z)(Fr);if(Fr===null)return"
  • ".concat(so(Vr),'null
  • ');if(le()(Fr)||de()(Fr))return"
  • ".concat(so(Vr),'').concat(wr(Fr),"
  • ");if(Fr.type==="RegExp"&&(ya="regexp"),Fr.type==="Number"&&(ya="number"),Fr.type==="Number"||Fr.type==="RegExp")return"
  • ".concat(so(Vr),'').concat(wr(Fr.value),"
  • ");if(Fr.type==="Undefined"||Fr.type==="Symbol")return"
  • ".concat(so(Vr),'').concat(he()(Fr.type),"
  • ");if(Fr==="(...)")return"
  • ".concat(so(Vr),'').concat(Fr,"
  • ");if(Ce()(Fr)){var da=Fr.id,Ma=Fr.reference,Aa=function(po){var yo=po.type,Lo=po.value;if(yo)return yo==="Function"?$r(Lo):yo==="Array"&&po.unenumerable?"Array(".concat(po.unenumerable.length,")"):po.type}(Fr)||Ne()(ya),Ia=Sa?"":''),eo="
  • ").concat(Ia).concat(so(Vr),'').concat(Sa?"":Aa,'
      ");return Sa&&(eo+=this.objToHtml(this.map[da])),eo+'
  • ')}function so(po){if(Sa||Ce()(Fr)&&Fr.jsonSplitArr)return"";var yo=Ta("key");return Kr==="unenumerable"||Kr==="symbol"?yo=Ta("key-lighter"):Kr==="proto"&&(yo=Ta("key-special")),'').concat(wr(po),": ")}return Rn()(Fr)&&Fr.length>1e4&&(Fr=kn()(Fr,50,{separator:" ",ellipsis:"…"})),"
  • ".concat(so(Vr),'"').concat(wr(Fr),'"
  • ')}},{key:"render",value:function(){var Vr=this.map[this.data.id];this.$container.html(this.objToHtml(Vr,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),Xr}(Wr);function ba(ua,ia){var Xr=ia.id;if(Xr||Xr===0){if(ia.type&&xr()(ia.type,"Array")&&ia.enumerable){var Vr=function(ya,da,Ma){var Aa=[],Ia={};return Et()(ya.enumerable,function(eo,so){var po=Wn()(so);Pr()(po)?Ia[so]=eo:Aa[po]=eo}),Aa.enumerable=Ia,Aa.type=Ma,Aa.id=da,ya.unenumerable&&(Aa.unenumerable=ya.unenumerable),ya.symbol&&(Aa.symbol=ya.symbol),ya.proto&&(Aa.proto=ya.proto),Aa}(ia,Xr,ia.type);Vr.length>100&&(ia=function(ya){var da=0,Ma={};Et()(tr()(ya,100),function(Ia){var eo={},so=da;eo.type="["+so,eo.enumerable={},Et()(Ia,function(yo){eo.enumerable[da]=yo,da+=1});var po=da-1;eo.type+=(po-so>0?" … "+po:"")+"]",eo.id=Dn()("json"),eo.jsonSplitArr=!0,Ma[da]=eo});var Aa={};return Aa.enumerable=Ma,Aa.id=ya.id,Aa.type=ya.type,ya.unenumerable&&(Aa.unenumerable=ya.unenumerable),ya.symbol&&(Aa.symbol=ya.symbol),ya.proto&&(Aa.proto=ya.proto),Aa}(Vr))}ua[Xr]=ia;var Fr=[];Et()(["enumerable","unenumerable","symbol"],function(ya){if(ia[ya])for(var da in ia[ya])Fr.push(ia[ya][da])}),ia.proto&&Fr.push(ia.proto);for(var Kr=0,Sa=Fr.length;Kr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Xr,Vr=(0,re.Z)(ua);if(ia){var Fr=(0,re.Z)(this).constructor;Xr=Reflect.construct(Vr,arguments,Fr)}else Xr=Vr.apply(this,arguments);return(0,j.Z)(this,Xr)}}t=n.hmd(t);var ka=function(ua){(0,z.Z)(Xr,ua);var ia=Na(Xr);function Xr(Vr){var Fr,Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,y.Z)(this,Xr),(Fr=ia.call(this,Vr,{compName:"object-viewer"})).onItemClick=function(Sa){var Ta=(0,$.Z)(Fr),ya=Ta.map,da=Ta.c,Ma=Cn()(Sa.curTarget),Aa=Ma.data("object-id"),Ia=Ma.find("span").eq(0);if(!Ma.data("first-level")&&(Aa&&(Ma.find("ul").html(Fr.objToHtml(ya[Aa],!1)),Ma.rmAttr("data-object-id")),Sa.stopImmediatePropagation(),Ia.hasClass(da("expanded")))){var eo=Ma.find("ul").eq(0);Ia.hasClass(da("collapsed"))?(Ia.rmClass(da("collapsed")),eo.show()):(Ia.addClass(da("collapsed")),eo.hide()),Fr.emit("change")}},Fr.initOptions(Kr,{unenumerable:!1,accessGetter:!1}),Fr.bindEvent(),Fr}return(0,L.Z)(Xr,[{key:"set",value:function(Vr){this.data=[Vr],this.visitor=new Yn,this.map={},this.render()}},{key:"destroy",value:function(){(0,V.Z)((0,re.Z)(Xr.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(Vr,Fr){var Kr=this,Sa=this.visitor,Ta=Vr,ya=!1,da=Sa.get(Vr);da&&da.self&&(Ta=da.self);var Ma="",Aa=["enumerable"],Ia=Fe()(Vr),eo=[],so=[],po=[],yo={};if(this.options.unenumerable&&!Fr&&(Aa.push("unenumerable"),Aa.push("symbol"),eo=xn()(Mn()(Vr,{prototype:!1,unenumerable:!0}),Ia),so=zn()(Mn()(Vr,{prototype:!1,symbol:!0}),function(Eo){return(0,g.Z)(Eo)==="symbol"})),xe()(Vr)&&Vr.length>100){Aa.unshift("virtual"),ya=!0;var Lo=0,Io={};Et()(tr()(Vr,100),function(Eo){var ni=Object.create(null),bo=Lo,ri="["+bo;Et()(Eo,function(Ho){ni[Lo]=Ho,Io[Lo]=!0,Lo++});var ko=Lo-1;yo[ri+=(ko-bo>0?" … "+ko:"")+"]"]=ni}),po=Fe()(yo),Ia=zn()(Ia,function(Eo){return!Io[Eo]})}Et()(Aa,function(Eo){var ni=[];ni=Eo==="symbol"?so:Eo==="unenumerable"?eo:Eo==="virtual"?po:Ia,ya||cr()(ni);for(var bo=0,ri=ni.length;bo4&&arguments[4]!==void 0&&arguments[4],ya=this.visitor,da=this.c,Ma=(0,g.Z)(Kr),Aa=hn()(Kr,!1);if(Sa==="virtual"&&(Aa=Vr),Kr===null)return"
  • ".concat(Io(Vr),'null
  • ');if(le()(Kr)||de()(Kr))return"
  • ".concat(Io(Vr),'').concat(wr(Kr),"
  • ");if(Aa==="RegExp"&&(Ma="regexp"),Aa==="Number"&&(Ma="number"),Aa==="Undefined"||Aa==="Symbol")return"
  • ".concat(Io(Vr),'').concat(he()(Aa),"
  • ");if(Kr==="(...)")return"
  • ".concat(Io(Vr),'').concat(Kr,"
  • ");if(Ce()(Kr)){var Ia,eo=ya.get(Kr);if(eo)Ia=eo.id;else{var so={};Sa==="proto"&&(so.self=Fr),Ia=ya.set(Kr,so),this.map[Ia]=Kr}var po="Object";po=Ma==="regexp"?'').concat(wr(Kr)):wr(function(zo,Fo){if(Fo)return Fo==="Function"?$r(Lt()(zo)):Fo==="Array"?"Array(".concat(zo.length,")"):Fo}(Kr,Aa)||Ne()(Ma));var yo=Ta?"":''),Lo="
  • ").concat(yo).concat(Io(Vr),'').concat(Ta?"":po,'
      ");return Ta&&(Lo+=this.objToHtml(Kr)),Lo+'
  • ')}function Io(zo){if(Ta||Ce()(Kr)&&Sa==="virtual")return"";var Fo=da("key");return Sa==="unenumerable"||Sa==="symbol"?Fo=da("key-lighter"):Sa==="proto"&&(Fo=da("key-special")),'').concat(wr(zo),": ")}return Rn()(Kr)&&Kr.length>1e4&&(Kr=kn()(Kr,50,{separator:" ",ellipsis:"…"})),"
  • ".concat(Io(Vr),'"').concat(wr(Kr),'"
  • ')}},{key:"render",value:function(){this.$container.html(this.objToHtml(this.data,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),Xr}(Wr);ka.Static=fr,function(ua,ia){try{ua.exports=ia,ua.exports.default=ia}catch{}}(t,ka)},8692:function(t,r,n){n.d(r,{Z:function(){return $r}});var g=n(7326),y=n(5671),L=n(3144),$=n(9340),V=n(2963),z=n(1120),j=n(1512),re=n.n(j),ae=n(8613),oe=n.n(ae),ie=n(8901),le=n.n(ie),ue=n(5229),de=n.n(ue),pe=n(5166),he=n.n(pe),_e=n(4193),Ce=n.n(_e),$e=n(2461),xe=n.n($e),Ie=n(3875),Ne=n.n(Ie),ze=n(3367),Fe=n.n(ze),qe=n(4777),Et=n.n(qe),kt=n(9702),Lt=n.n(kt),vn=n(1754),jt=n.n(vn),At=n(6768),hn=n.n(At),bn=n(4331),Cn=n.n(bn),Tn=n(6341),xn=n.n(Tn),En=n(3063),kn=n.n(En),On=n(6156),Rn=n.n(On),In=n(3783),Mn=n.n(In),Vn=n(1443),zn=n.n(Vn),Jn=n(5610),tr=n.n(Jn),$n=n(7483),Pn=n.n($n),Bn=(n(3990),n(6954)),Un=n.n(Bn);n(9585);function Fn(ir){var Er="luna-".concat(ir,"-");function Kn(Qn){return xe()(Cn()(Qn).split(/\s+/),function(ar){return xn()(ar,Er)?ar:ar.replace(/[\w-]+/,function(mr){return"".concat(Er).concat(mr)})}).join(" ")}return function(Qn){if(/<[^>]*>/g.test(Qn))try{var ar=Pn().parse(Qn);return cr(ar,function(mr){mr.attrs&&mr.attrs.class&&(mr.attrs.class=Kn(mr.attrs.class))}),Pn().stringify(ar)}catch{return Kn(Qn)}return Kn(Qn)}}function cr(ir,Er){for(var Kn=0,Qn=ir.length;Kn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Kn,Qn=(0,z.Z)(ir);if(Er){var ar=(0,z.Z)(this).constructor;Kn=Reflect.construct(Qn,arguments,ar)}else Kn=Qn.apply(this,arguments);return(0,V.Z)(this,Kn)}}var br=function(ir){(0,$.Z)(Kn,ir);var Er=er(Kn);function Kn(Qn,ar){var mr,kr=ar.compName,hr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Ar=hr===void 0?"light":hr;return(0,y.Z)(this,Kn),(mr=Er.call(this)).subComponents=[],mr.compName=kr,mr.c=Fn(kr),mr.options={},mr.container=Qn,mr.$container=re()(Qn),mr.$container.addClass(["luna-".concat(kr),mr.c("platform-".concat(ur()))]),mr.on("optionChange",function(Gr,qr,ta){var Pa=mr.c;Gr==="theme"&&(mr.$container.rmClass(Pa("theme-".concat(ta))).addClass(Pa("theme-".concat(qr))),Mn()(mr.subComponents,function(Ga){return Ga.setOption("theme",qr)}))}),mr.setOption("theme",Ar),mr}return(0,L.Z)(Kn,[{key:"destroy",value:function(){this.destroySubComponents();var Qn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Qn("platform-".concat(ur()))).rmClass(Qn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Qn,ar){var mr=this,kr=this.options,hr={};typeof Qn=="string"?hr[Qn]=ar:hr=Qn,Mn()(hr,function(Ar,Gr){var qr=kr[Gr];kr[Gr]=Ar,mr.emit("optionChange",Gr,Ar,qr)})}},{key:"getOption",value:function(Qn){return this.options[Qn]}},{key:"addSubComponent",value:function(Qn){Qn.setOption("theme",this.options.theme),this.subComponents.push(Qn)}},{key:"removeSubComponent",value:function(Qn){lr()(this.subComponents,function(ar){return ar===Qn})}},{key:"destroySubComponents",value:function(){Mn()(this.subComponents,function(Qn){return Qn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Qn){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ce()(Qn,ar),Yn()(this.options,Qn)}},{key:"find",value:function(Qn){return this.$container.find(this.c(Qn))}}]),Kn}(zn());function wr(ir){var Er=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Kn,Qn=(0,z.Z)(ir);if(Er){var ar=(0,z.Z)(this).constructor;Kn=Reflect.construct(Qn,arguments,ar)}else Kn=Qn.apply(this,arguments);return(0,V.Z)(this,Kn)}}t=n.hmd(t);var $r=function(ir){(0,$.Z)(Kn,ir);var Er=wr(Kn);function Kn(Qn){var ar,mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,y.Z)(this,Kn),(ar=Er.call(this,Qn,{compName:"setting"},mr)).items=[],ar.selectedItem=null,ar.initOptions(mr,{separatorCollapse:!0,filter:""}),ar.bindEvent(),ar}return(0,L.Z)(Kn,[{key:"appendTitle",value:function(Qn){var ar=new Cr(this,Qn);return this.append(ar),ar}},{key:"appendSeparator",value:function(){var Qn=this.items,ar=this.options.separatorCollapse,mr=Lt()(Qn);if(ar&&mr instanceof xr)return mr;var kr=new xr(this);return this.append(kr),kr}},{key:"appendNumber",value:function(Qn,ar,mr,kr,hr){he()(kr)&&(hr=kr,kr="");var Ar=new Dn(this,Qn,ar,mr,kr,hr);return this.append(Ar),Ar}},{key:"appendButton",value:function(Qn,ar,mr){Et()(ar)&&(mr=ar,ar="");var kr=new Pr(this,Qn,ar,mr);return this.append(kr),kr}},{key:"appendInput",value:function(Qn,ar,mr){var kr=new or(this,Qn,ar,mr,arguments.length>3&&arguments[3]!==void 0?arguments[3]:"");return this.append(kr),kr}},{key:"appendCheckbox",value:function(Qn,ar,mr,kr){kr||(kr=mr,mr="");var hr=new Wn(this,Qn,ar,mr,kr);return this.append(hr),hr}},{key:"appendSelect",value:function(Qn,ar,mr,kr,hr){he()(kr)&&(hr=kr,kr="");var Ar=new pr(this,Qn,ar,mr,kr,hr);return this.append(Ar),Ar}},{key:"remove",value:function(Qn){var ar=this.items,mr=ar.indexOf(Qn);mr>-1&&(Qn.detach(),ar.splice(mr,1),Qn===this.selectedItem&&this.selectItem(null))}},{key:"clear",value:function(){Mn()(this.items,function(Qn){return Qn.detach()}),this.items=[],this.selectItem(null)}},{key:"selectItem",value:function(Qn){var ar;this.selectedItem&&(this.selectedItem.deselect(),this.selectedItem=null),Rn()(Qn)||(this.selectedItem=Qn,(ar=this.selectedItem)===null||ar===void 0||ar.select())}},{key:"renderSettings",value:function(){var Qn=this,ar=this.items;Mn()(ar,function(mr){return mr.detach()}),Mn()(ar,function(mr){Qn.filterItem(mr)&&Qn.$container.append(mr.container)})}},{key:"bindEvent",value:function(){var Qn=this,ar=this.c;this.on("optionChange",function(kr){kr==="filter"&&Qn.renderSettings()});var mr=this;this.$container.on("click",ar(".item"),function(){mr.selectItem(this.settingItem)})}},{key:"filterItem",value:function(Qn){var ar=this.options.filter;if(ar){if(Et()(ar))return ar(Qn);if(jt()(ar))return ar.test(Qn.text());if(hn()(ar)&&(ar=Cn()(ar)))return xn()(kn()(Qn.text()),kn()(ar))}return!0}},{key:"append",value:function(Qn){this.items.push(Qn),this.filterItem(Qn)&&this.$container.append(Qn.container)}}]),Kn}(br),Mr=function(){function ir(Er,Kn,Qn,ar){(0,y.Z)(this,ir),this.container=oe()("div",{tabindex:"0"}),this.setting=Er,this.container.settingItem=this,this.$container=re()(this.container),this.$container.addClass(Er.c("item")).addClass(Er.c("item-".concat(ar))),this.key=Kn,this.value=Qn}return(0,L.Z)(ir,[{key:"select",value:function(){this.$container.addClass(this.setting.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.setting.c("selected"))}},{key:"detach",value:function(){this.$container.remove()}},{key:"text",value:function(){return this.$container.text()}},{key:"onChange",value:function(Er){this.setting.emit("change",this.key,Er,this.value),this.value=Er}}]),ir}(),Cr=function(ir){(0,$.Z)(Kn,ir);var Er=wr(Kn);function Kn(Qn,ar){var mr;return(0,y.Z)(this,Kn),(mr=Er.call(this,Qn,"","","title")).$container.text(ar),mr}return(0,L.Z)(Kn)}(Mr),xr=function(ir){(0,$.Z)(Kn,ir);var Er=wr(Kn);function Kn(Qn){return(0,y.Z)(this,Kn),Er.call(this,Qn,"","","separator")}return(0,L.Z)(Kn)}(Mr),or=function(ir){(0,$.Z)(Kn,ir);var Er=wr(Kn);function Kn(Qn,ar,mr,kr,hr){var Ar;(0,y.Z)(this,Kn),Ar=Er.call(this,Qn,ar,mr,"input");var Gr=Qn.c;Ar.$container.html('
    ').concat(le()(kr),`
    -
    ').concat(hr,`
    -
    - -
    `));var qr=Ar.$container.find("input");return qr.val(mr),qr.on("change",function(){return Ar.onChange(qr.val())}),Ar}return(0,L.Z)(Kn)}(Mr),Dn=function(ir){(0,$.Z)(Kn,ir);var Er=wr(Kn);function Kn(Qn,ar,mr,kr,hr){var Ar,Gr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};(0,y.Z)(this,Kn),Ar=Er.call(this,Qn,ar,mr,"number"),Ce()(Gr,{min:0,max:10,step:1});var qr=(0,g.Z)(Ar).$container,ta=Qn.c,Pa=!!Gr.range;delete Gr.range;var Ga=Gr.min,to=Gr.max,io='");Pa&&(io="".concat(Ga,'
    -
    -
    -
    -
    -
    - `).concat(io,` -
    ').concat(mr,"/").concat(to)),qr.html('
    ').concat(le()(kr),`
    -
    ').concat(hr,`
    -
    ').concat(io,"
    "));var wa=qr.find(ta(".value")),Ea=qr.find("input"),ca=qr.find(ta(".range-track-progress"));return Ea.val(Fe()(mr)),Ea.on("change",function(){var zr=Ne()(Ea.val());Ar.onChange(zr)}),Ea.on("input",function(){var zr=Ne()(Ea.val());ca.css("width",Hn(zr,Ga,to)+"%"),wa.text(Fe()(zr))}),Ar}return(0,L.Z)(Kn)}(Mr),Hn=function(ir,Er,Kn){return((ir-Er)/(Kn-Er)*100).toFixed(2)},Wn=function(ir){(0,$.Z)(Kn,ir);var Er=wr(Kn);function Kn(Qn,ar,mr,kr,hr){var Ar;(0,y.Z)(this,Kn),Ar=Er.call(this,Qn,ar,mr,"checkbox");var Gr=Qn.c,qr=de()(Qn.c("checkbox-"));Ar.$container.html('
    ').concat(le()(kr),`
    -
    - - -
    `));var ta=Ar.$container.find("input"),Pa=ta.get(0);return Pa.checked=mr,ta.on("change",function(){return Ar.onChange(Pa.checked)}),Ar}return(0,L.Z)(Kn)}(Mr),pr=function(ir){(0,$.Z)(Kn,ir);var Er=wr(Kn);function Kn(Qn,ar,mr,kr,hr,Ar){var Gr;(0,y.Z)(this,Kn),Gr=Er.call(this,Qn,ar,mr,"select");var qr=Qn.c;Gr.$container.html('
    ').concat(le()(kr),`
    -
    ').concat(hr,`
    -
    -
    - -
    -
    `));var ta=Gr.$container.find("select");return ta.on("change",function(){return Gr.onChange(ta.val())}),Gr}return(0,L.Z)(Kn)}(Mr),Pr=function(ir){(0,$.Z)(Kn,ir);var Er=wr(Kn);function Kn(Qn,ar,mr,kr){var hr;return(0,y.Z)(this,Kn),mr||(mr=ar,ar=""),(hr=Er.call(this,Qn,"","","button")).$container.html(Qn.c('
    '.concat(le()(ar),`
    -
    - -
    `))),hr.$container.find("button").on("click",kr),hr}return(0,L.Z)(Kn)}(Mr);(function(ir,Er){try{ir.exports=Er,ir.exports.default=Er}catch{}})(t,$r)},7638:function(t,r,n){n.d(r,{Z:function(){return Jn}});var g=n(168),y=n(5671),L=n(3144),$=n(9340),V=n(2963),z=n(1120),j=n(1443),re=n.n(j),ae=n(1512),oe=n.n(ae),ie=n(2461),le=n.n(ie),ue=n(4331),de=n.n(ue),pe=n(5610),he=n.n(pe),_e=n(7483),Ce=n.n(_e),$e=n(3990),xe=n.n($e),Ie=n(6341),Ne=n.n(Ie),ze=(n(3875),n(6954)),Fe=n.n(ze);n(9585);function qe(tr){var $n="luna-".concat(tr,"-");function Pn(Bn){return le()(de()(Bn).split(/\s+/),function(Un){return Ne()(Un,$n)?Un:Un.replace(/[\w-]+/,function(Fn){return"".concat($n).concat(Fn)})}).join(" ")}return function(Bn){if(/<[^>]*>/g.test(Bn))try{var Un=Ce().parse(Bn);return Et(Un,function(Fn){Fn.attrs&&Fn.attrs.class&&(Fn.attrs.class=Pn(Fn.attrs.class))}),Ce().stringify(Un)}catch{return Pn(Bn)}return Pn(Bn)}}function Et(tr,$n){for(var Pn=0,Bn=tr.length;Pn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Pn,Bn=(0,z.Z)(tr);if($n){var Un=(0,z.Z)(this).constructor;Pn=Reflect.construct(Bn,arguments,Un)}else Pn=Bn.apply(this,arguments);return(0,V.Z)(this,Pn)}}var kn,On=function(tr){(0,$.Z)(Pn,tr);var $n=En(Pn);function Pn(Bn,Un){var Fn,cr=Un.compName,ur=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,vr=ur===void 0?"light":ur;return(0,y.Z)(this,Pn),(Fn=$n.call(this)).subComponents=[],Fn.compName=cr,Fn.c=qe(cr),Fn.options={},Fn.container=Bn,Fn.$container=oe()(Bn),Fn.$container.addClass(["luna-".concat(cr),Fn.c("platform-".concat(Lt()))]),Fn.on("optionChange",function(Yn,gr,lr){var er=Fn.c;Yn==="theme"&&(Fn.$container.rmClass(er("theme-".concat(lr))).addClass(er("theme-".concat(gr))),jt()(Fn.subComponents,function(br){return br.setOption("theme",gr)}))}),Fn.setOption("theme",vr),Fn}return(0,L.Z)(Pn,[{key:"destroy",value:function(){this.destroySubComponents();var Bn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Bn("platform-".concat(Lt()))).rmClass(Bn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Bn,Un){var Fn=this,cr=this.options,ur={};typeof Bn=="string"?ur[Bn]=Un:ur=Bn,jt()(ur,function(vr,Yn){var gr=cr[Yn];cr[Yn]=vr,Fn.emit("optionChange",Yn,vr,gr)})}},{key:"getOption",value:function(Bn){return this.options[Bn]}},{key:"addSubComponent",value:function(Bn){Bn.setOption("theme",this.options.theme),this.subComponents.push(Bn)}},{key:"removeSubComponent",value:function(Bn){xn()(this.subComponents,function(Un){return Un===Bn})}},{key:"destroySubComponents",value:function(){jt()(this.subComponents,function(Bn){return Bn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Bn){var Un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Cn()(Bn,Un),hn()(this.options,Bn)}},{key:"find",value:function(Bn){return this.$container.find(this.c(Bn))}}]),Pn}(re()),Rn=n(1907),In=n.n(Rn),Mn=n(8901),Vn=n.n(Mn);function zn(tr){var $n=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Pn,Bn=(0,z.Z)(tr);if($n){var Un=(0,z.Z)(this).constructor;Pn=Reflect.construct(Bn,arguments,Un)}else Pn=Bn.apply(this,arguments);return(0,V.Z)(this,Pn)}}t=n.hmd(t);var Jn=function(tr){(0,$.Z)(Pn,tr);var $n=zn(Pn);function Pn(Bn){var Un,Fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,y.Z)(this,Pn),(Un=$n.call(this,Bn,{compName:"tab"},Fn)).initOptions(Fn,{height:30}),Un.initTpl(),Un.$tabs=Un.find(".tabs"),Un.tabs=Un.$tabs.get(0),Un.$slider=Un.find(".slider"),Un.bindEvent(),Un.updateHeight(),Un}return(0,L.Z)(Pn,[{key:"length",get:function(){return this.$tabs.find(this.c(".item")).length}},{key:"insert",value:function(Bn,Un){var Fn=this.c,cr=this.$tabs,ur=this.options.height-1,vr=cr.find(Fn(".item")),Yn=vr.length,gr='
    ').concat(Vn()(Un.title),"
    ");Bn>Yn-1?cr.append(gr):vr.eq(Bn).before(gr),this.updateSlider()}},{key:"append",value:function(Bn){this.insert(this.length,Bn)}},{key:"remove",value:function(Bn){var Un=this.c,Fn=this;this.$tabs.find(Un(".item")).each(function(){var cr=oe()(this);if(cr.data("id")===Bn){if(cr.hasClass(Un("selected")))if(Fn.length>0){var ur=Fn.$tabs.find(Un(".item")).eq(0).data("id");Fn.select(ur)}else Fn.emit("deselect");cr.remove()}}),this.updateSlider()}},{key:"select",value:function(Bn){var Un=this.c,Fn=this;this.$tabs.find(Un(".item")).each(function(){var cr=oe()(this);cr.data("id")===Bn?(cr.addClass(Un("selected")),Fn.updateSlider(),Fn.scrollToSelected(),Fn.emit("select",Bn)):cr.rmClass(Un("selected"))})}},{key:"scrollToSelected",value:function(){var Bn,Un=this.$tabs,Fn=this.tabs,cr=this.c,ur=Un.find(cr(".selected")).get(0),vr=ur.offsetLeft,Yn=ur.offsetWidth,gr=Fn.offsetWidth,lr=Fn.scrollLeft;vrgr+lr&&(Bn=vr+Yn-gr),xe()(Bn)&&(Fn.scrollLeft=Bn)}},{key:"hideScrollbar",value:function(){var Bn=this.$tabs;if(getComputedStyle(this.tabs,"::-webkit-scrollbar").display!=="none"){var Un=function(){if(xe()(kt))return kt;if(!document)return 16;var Fn=document.createElement("div"),cr=document.createElement("div");Fn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),cr.setAttribute("style","height: 200px"),Fn.appendChild(cr);var ur=document.body||document.documentElement;return ur.appendChild(Fn),kt=Fn.offsetWidth-Fn.clientWidth,ur.removeChild(Fn),kt}();Bn.css("height",this.options.height-1+Un+"px")}}},{key:"updateSlider",value:function(){var Bn=this.$slider,Un=this.$tabs,Fn=this.c,cr=Un.find(Fn(".selected")).get(0);cr?Bn.css({width:cr.offsetWidth,left:cr.offsetLeft-Un.get(0).scrollLeft}):Bn.css({width:0})}},{key:"updateHeight",value:function(){var Bn=this.options.height,Un=Bn-1;this.find(".tabs-container").css("height",Bn+"px"),this.find(".item").css({height:Un,lineHeight:Un}),this.hideScrollbar()}},{key:"bindEvent",value:function(){var Bn=this,Un=this.tabs,Fn=this.c;this.on("optionChange",function(ur){ur==="height"&&Bn.updateHeight()});var cr=this;this.$tabs.on("wheel",function(ur){ur.preventDefault(),Un.scrollLeft+=ur.origEvent.deltaY}).on("click",Fn(".item"),function(){var ur=oe()(this);cr.select(ur.data("id"))}).on("scroll",function(){Bn.updateSlider()})}},{key:"initTpl",value:function(){this.$container.html(this.c(In()(kn||(kn=(0,g.Z)([` -
    -
    -
    -
    - `])))))}}]),Pn}(On);(function(tr,$n){try{tr.exports=$n,tr.exports.default=$n}catch{}})(t,Jn)},7049:function(t,r,n){n.d(r,{Z:function(){return Yn}});var g=n(5671),y=n(3144),L=n(7326),$=n(1752),V=n(9340),z=n(2963),j=n(1120),re=n(1443),ae=n.n(re),oe=n(1512),ie=n.n(oe),le=n(2461),ue=n.n(le),de=n(4331),pe=n.n(de),he=n(5610),_e=n.n(he),Ce=n(7483),$e=n.n(Ce),xe=(n(3990),n(6341)),Ie=n.n(xe),Ne=(n(3875),n(6954)),ze=n.n(Ne);n(9585);function Fe(lr){var er="luna-".concat(lr,"-");function br(wr){return ue()(pe()(wr).split(/\s+/),function($r){return Ie()($r,er)?$r:$r.replace(/[\w-]+/,function(Mr){return"".concat(er).concat(Mr)})}).join(" ")}return function(wr){if(/<[^>]*>/g.test(wr))try{var $r=$e().parse(wr);return qe($r,function(Mr){Mr.attrs&&Mr.attrs.class&&(Mr.attrs.class=br(Mr.attrs.class))}),$e().stringify($r)}catch{return br(wr)}return br(wr)}}function qe(lr,er){for(var br=0,wr=lr.length;br"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var br,wr=(0,j.Z)(lr);if(er){var $r=(0,j.Z)(this).constructor;br=Reflect.construct(wr,arguments,$r)}else br=wr.apply(this,arguments);return(0,z.Z)(this,br)}}var En=function(lr){(0,V.Z)(br,lr);var er=xn(br);function br(wr,$r){var Mr,Cr=$r.compName,xr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,or=xr===void 0?"light":xr;return(0,g.Z)(this,br),(Mr=er.call(this)).subComponents=[],Mr.compName=Cr,Mr.c=Fe(Cr),Mr.options={},Mr.container=wr,Mr.$container=ie()(wr),Mr.$container.addClass(["luna-".concat(Cr),Mr.c("platform-".concat(kt()))]),Mr.on("optionChange",function(Dn,Hn,Wn){var pr=Mr.c;Dn==="theme"&&(Mr.$container.rmClass(pr("theme-".concat(Wn))).addClass(pr("theme-".concat(Hn))),vn()(Mr.subComponents,function(Pr){return Pr.setOption("theme",Hn)}))}),Mr.setOption("theme",or),Mr}return(0,y.Z)(br,[{key:"destroy",value:function(){this.destroySubComponents();var wr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(wr("platform-".concat(kt()))).rmClass(wr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(wr,$r){var Mr=this,Cr=this.options,xr={};typeof wr=="string"?xr[wr]=$r:xr=wr,vn()(xr,function(or,Dn){var Hn=Cr[Dn];Cr[Dn]=or,Mr.emit("optionChange",Dn,or,Hn)})}},{key:"getOption",value:function(wr){return this.options[wr]}},{key:"addSubComponent",value:function(wr){wr.setOption("theme",this.options.theme),this.subComponents.push(wr)}},{key:"removeSubComponent",value:function(wr){Tn()(this.subComponents,function($r){return $r===wr})}},{key:"destroySubComponents",value:function(){vn()(this.subComponents,function(wr){return wr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(wr){var $r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};bn()(wr,$r),At()(this.options,wr)}},{key:"find",value:function(wr){return this.$container.find(this.c(wr))}}]),br}(ae()),kn=n(9702),On=n.n(kn),Rn=n(8887),In=n.n(Rn),Mn=n(2439),Vn=n.n(Mn),zn=n(6049),Jn=n.n(zn),tr=n(2327),$n=n.n(tr),Pn=n(8901),Bn=n.n(Pn),Un=n(7387),Fn=n.n(Un),cr=n(6677),ur=n.n(cr);function vr(lr){var er=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var br,wr=(0,j.Z)(lr);if(er){var $r=(0,j.Z)(this).constructor;br=Reflect.construct(wr,arguments,$r)}else br=wr.apply(this,arguments);return(0,z.Z)(this,br)}}t=n.hmd(t);var Yn=function(lr){(0,V.Z)(br,lr);var er=vr(br);function br(wr){var $r,Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,g.Z)(this,br),($r=er.call(this,wr,{compName:"text-viewer"},Mr)).lineNum=0,$r.copy=function(){var Cr=(0,L.Z)($r).c,xr=$r.options,or=xr.text,Dn=xr.escape;$n()(Dn?or:Fn()(ur()(or)));var Hn=$r.$copy.find(Cr(".icon"));Hn.addClass(Cr("icon-check")).rmClass(Cr("icon-copy")),setTimeout(function(){Hn.rmClass(Cr("icon-check")).addClass(Cr("icon-copy"))},1e3)},$r._updateCopyPos=function(){var Cr=(0,L.Z)($r).container;$r.$copy.css({top:Cr.scrollTop+5,right:5-Cr.scrollLeft})},$r.initOptions(Mr,{text:"",escape:!0,showLineNumbers:!0,wrapLongLines:!0,maxHeight:1/0}),$r.render=Vn()(function(){return $r._render()},16),$r.updateCopyPos=Jn()(function(){return $r._updateCopyPos()},300),$r.initTpl(),$r.$text=$r.find(".text"),$r.$copy=$r.find(".copy"),Et&&$r.$copy.css("opacity","1"),$r.options.text&&$r.render(),$r.bindEvent(),$r.updateHeight(),$r}return(0,y.Z)(br,[{key:"append",value:function(wr){var $r=this,Mr=this.options,Cr=this.$copy,xr=this.c,or=this.$text,Dn=Mr.showLineNumbers;if(this.options.text+=wr,!Dn)return this.$text.append(Mr.escape?Bn()(wr):wr);var Hn=function(pr){return pr.length===0?[]:pr.split(gr)}(wr);In()(Hn)&&(Hn=[" "]),pe()(On()(Hn))||Hn.pop();var Wn="";vn()(Hn,function(pr,Pr){$r.lineNum+=1,Wn+='
    ').concat($r.lineNum,'
    ').concat(Mr.escape?Bn()(pr):pr||" ","
    ")}),or.find(xr(".table")).append(Wn),Cr.hide(),or.offset().height>40&&Cr.show(),this.updateCopyPos()}},{key:"destroy",value:function(){this.$container.off("scroll",this.updateCopyPos),(0,$.Z)((0,j.Z)(br.prototype),"destroy",this).call(this)}},{key:"updateHeight",value:function(){var wr=this.options.maxHeight;wr>0&&wr!==1/0?this.$text.css("max-height",wr):this.$text.css("max-height","none")}},{key:"initTpl",value:function(){this.$container.html(this.c('
    '))}},{key:"bindEvent",value:function(){var wr=this;this.on("optionChange",function($r){$r==="maxHeight"?wr.updateHeight():wr.render()}),this.$container.on("scroll",this.updateCopyPos),this.$copy.on("click",this.copy)}},{key:"_render",value:function(){var wr=this.c,$r=this.$text,Mr=this.options,Cr=Mr.text,xr=Mr.wrapLongLines,or=Mr.showLineNumbers;xr?$r.addClass(wr("wrap-long-lines")):$r.rmClass(wr("wrap-long-lines")),or?$r.addClass(wr("line-numbers")):$r.rmClass(wr("line-numbers")),$r.html('
    ')),this.lineNum=0,this.options.text="",this.append(Cr)}}]),br}(En),gr=/\r\n|\r|\n/g;(function(lr,er){try{lr.exports=er,lr.exports.default=er}catch{}})(t,Yn)},6672:function(t,r,n){n.d(r,{Z:function(){return Gl}});var g={};n.r(g),n.d(g,{classPrefix:function(){return fr},drag:function(){return Fr},escapeJsonStr:function(){return io},evalCss:function(){return Br},eventClient:function(){return Kr},eventPage:function(){return Sa},getFileName:function(){return Ea},hasSafeArea:function(){return to},isChobitsuEl:function(){return Wr},isErudaEl:function(){return zr},pxToNum:function(){return ca},safeStorage:function(){return wa}});var y=n(5671),L=n(3144),$=n(7326),V=n(9340),z=n(2963),j=n(1120),re=n(4942),ae=n(1443),oe=n.n(ae),ie=new(oe());ie.ADD="ADD",ie.SHOW="SHOW",ie.SCALE="SCALE";var le=ie,ue=n(1752),de=n(7496),pe=n.n(de)()({init:function(sr){this._$el=sr},show:function(){return this._$el.show(),this},hide:function(){return this._$el.hide(),this},destroy:function(){this._$el.remove()}}),he=n(1512),_e=n.n(he),Ce=n(125),$e=n.n(Ce),xe=n(5229),Ie=n.n(xe),Ne=n(3783),ze=n.n(Ne),Fe=n(5972),qe=n.n(Fe),Et=n(6768),kt=n.n(Et),Lt=n(6341),vn=n.n(Lt),jt=n(4675),At=n.n(jt),hn=n(3367),bn=n.n(hn),Cn=n(2533),Tn=n.n(Cn),xn=n(7622),En=n.n(xn),kn=n(4193),On=n.n(kn),Rn=n(6329),In=n.n(Rn),Mn=n(6472),Vn=n.n(Mn),zn=["background","foreground","selectForeground","accent","highlight","border","primary","contrast","varColor","stringColor","keywordColor","numberColor","operatorColor","linkColor","textColor","tagNameColor","functionColor","attributeNameColor","commentColor"],Jn=zn.length;function tr(sr){for(var rr={},qn=0;qn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var wr=function(sr){(0,V.Z)(qn,sr);var rr=br(qn);function qn(){var Sn;return(0,y.Z)(this,qn),(Sn=rr.call(this))._style=lr(n(8011)),Sn.name="settings",Sn._settings=[],Sn}return(0,L.Z)(qn,[{key:"init",value:function(Sn){(0,ue.Z)((0,j.Z)(qn.prototype),"init",this).call(this,Sn),this._setting=new er.Z(Sn.get(0)),this._bindEvent()}},{key:"remove",value:function(Sn,Nn){var jn=this;if(kt()(Sn)){var _r=this;this._$el.find(".luna-setting-item-title").each(function(){_e()(this).text()===Sn&&_r._setting.remove(this.settingItem)})}else this._settings=qe()(this._settings,function(Nr){return Nr.config!==Sn||Nr.key!==Nn||(jn._setting.remove(Nr.item),!1)});return this._cleanSeparator(),this}},{key:"destroy",value:function(){this._setting.destroy(),(0,ue.Z)((0,j.Z)(qn.prototype),"destroy",this).call(this),lr.remove(this._style)}},{key:"clear",value:function(){this._settings=[],this._setting.clear()}},{key:"switch",value:function(Sn,Nn,jn){var _r=this._genId(),Nr=this._setting.appendCheckbox(_r,!!Sn.get(Nn),jn);return this._settings.push({config:Sn,key:Nn,id:_r,item:Nr}),this}},{key:"select",value:function(Sn,Nn,jn,_r){var Nr=this._genId(),Rr={};ze()(_r,function(Qr){return Rr[Qr]=Qr});var Ur=this._setting.appendSelect(Nr,Sn.get(Nn),"",jn,Rr);return this._settings.push({config:Sn,key:Nn,id:Nr,item:Ur}),this}},{key:"range",value:function(Sn,Nn,jn,_r){var Nr=_r.min,Rr=Nr===void 0?0:Nr,Ur=_r.max,Qr=Ur===void 0?1:Ur,pa=_r.step,Ha=pa===void 0?.1:pa,ro=this._genId(),mo=this._setting.appendNumber(ro,Sn.get(Nn),jn,{max:Qr,min:Rr,step:Ha,range:!0});return this._settings.push({config:Sn,key:Nn,min:Rr,max:Qr,step:Ha,id:ro,item:mo}),this}},{key:"button",value:function(Sn,Nn){return this._setting.appendButton(Sn,Nn),this}},{key:"separator",value:function(){return this._setting.appendSeparator(),this}},{key:"text",value:function(Sn){return this._setting.appendTitle(Sn),this}},{key:"_cleanSeparator",value:function(){var Sn=At()(this._$el.get(0).children);function Nn(Nr){return vn()(Nr.getAttribute("class"),"luna-setting-item-separator")}for(var jn=0,_r=Sn.length;jn<_r-1;jn++)Nn(Sn[jn])&&Nn(Sn[jn+1])&&_e()(Sn[jn]).remove()}},{key:"_genId",value:function(){return Ie()("eruda-settings")}},{key:"_getSetting",value:function(Sn){var Nn;return ze()(this._settings,function(jn){jn.id===Sn&&(Nn=jn)}),Nn}},{key:"_bindEvent",value:function(){var Sn=this;this._setting.on("change",function(Nn,jn){var _r=Sn._getSetting(Nn);_r.config.set(_r.key,jn)})}}],[{key:"createCfg",value:function(Sn,Nn){return new($e())("eruda-"+Sn,Nn)}}]),qn}(pe),$r=n(6837),Mr=n.n($r),Cr=n(442),xr=n.n(Cr),or=n(6334),Dn=n.n(or),Hn=n(4187),Wn=n.n(Hn),pr=n(1286),Pr=n.n(pr),ir=n(9702),Er=n.n(ir),Kn=n(2461),Qn=n.n(Kn),ar=n(5026),mr=n.n(ar),kr=n(5610),hr=n.n(kr),Ar=n(3875),Gr=n.n(Ar),qr=n(4331),ta=n.n(qr),Pa=n(7483),Ga=n.n(Pa);function to(){var sr=!1,rr=document.createElement("div");if(CSS.supports("padding-bottom: env(safe-area-inset-bottom)")?(rr.style.paddingBottom="env(safe-area-inset-bottom)",sr=!0):CSS.supports("padding-bottom: constant(safe-area-inset-bottom)")&&(rr.style.paddingBottom="constant(safe-area-inset-bottom)",sr=!0),sr){document.body.appendChild(rr);var qn=parseInt(window.getComputedStyle(rr).paddingBottom);if(document.body.removeChild(rr),qn>0)return!0}return!1}function io(sr){return Wn()(sr).replace(/\\'/g,"'").replace(/\t/g,"\\t")}function wa(sr,rr){var qn;switch(Pr()(rr)&&(rr=!0),sr){case"local":qn=window.localStorage;break;case"session":qn=window.sessionStorage}try{var Sn="test-localStorage-"+Date.now();qn.setItem(Sn,Sn);var Nn=qn.getItem(Sn);if(qn.removeItem(Sn),Nn!==Sn)throw new Error}catch{return rr?mr():void 0}return qn}function Ea(sr){var rr=Er()(sr.split("/"));return rr===""&&(rr=(sr=new(Dn())(sr)).hostname),rr}function ca(sr){return Gr()(sr.replace("px",""))}function zr(sr){for(;sr;){if(sr.id==="eruda")return!0;sr=sr.parentNode}return!1}function Wr(sr){for(;sr;){var rr="";if(sr.getAttribute&&(rr=sr.getAttribute("class")||""),vn()(rr,"__chobitsu-hide__"))return!0;sr=sr.parentNode}return!1}var Br=lr;function fr(sr){if(/<[^>]*>/g.test(sr))try{var rr=Ga().parse(sr);return ba(rr,function(qn){qn.attrs&&qn.attrs.class&&(qn.attrs.class=Na(qn.attrs.class))}),Ga().stringify(rr)}catch{return Na(sr)}return Na(sr)}function ba(sr,rr){for(var qn=0,Sn=sr.length;qn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var ya,da=_e()(document),Ma=function(sr){(0,V.Z)(qn,sr);var rr=Ta(qn);function qn(Sn){var Nn;return(0,y.Z)(this,qn),Nn=rr.call(this),(0,re.Z)((0,$.Z)(Nn),"_onDragStart",function(jn){var _r=Nn._$el;_r.addClass(fr("active")),Nn._isClick=!0,jn=jn.origEvent,Nn._startX=Kr("x",jn),Nn._oldX=ca(_r.css("left")),Nn._oldY=ca(_r.css("top")),Nn._startY=Kr("y",jn),da.on(Fr("move"),Nn._onDragMove),da.on(Fr("end"),Nn._onDragEnd)}),(0,re.Z)((0,$.Z)(Nn),"_onDragMove",function(jn){var _r=Nn._$el.get(0).offsetWidth,Nr=Nn._$container.get(0).offsetWidth,Rr=Nn._$container.get(0).offsetHeight,Ur=Kr("x",jn=jn.origEvent)-Nn._startX,Qr=Kr("y",jn)-Nn._startY;(Math.abs(Ur)>3||Math.abs(Qr)>3)&&(Nn._isClick=!1);var pa=Nn._oldX+Ur,Ha=Nn._oldY+Qr;pa<0?pa=0:pa>Nr-_r&&(pa=Nr-_r),Ha<0?Ha=0:Ha>Rr-_r&&(Ha=Rr-_r),Nn._$el.css({left:pa,top:Ha})}),(0,re.Z)((0,$.Z)(Nn),"_onDragEnd",function(jn){var _r=Nn._$el;Nn._isClick&&Nn.emit("click"),Nn._onDragMove(jn),da.off(Fr("move"),Nn._onDragMove),da.off(Fr("end"),Nn._onDragEnd);var Nr=Nn.config;Nr.get("rememberPos")&&Nr.set("pos",{x:ca(_r.css("left")),y:ca(_r.css("top"))}),_r.rmClass("eruda-active")}),Nn._style=lr(n(9195)),Nn._$container=Sn,Nn._initTpl(),Nn._bindEvent(),Nn._registerListener(),Nn}return(0,L.Z)(qn,[{key:"hide",value:function(){this._$el.hide()}},{key:"show",value:function(){this._$el.show()}},{key:"setPos",value:function(Sn){this._isOutOfRange(Sn)&&(Sn=this._getDefPos()),this._$el.css({left:Sn.x,top:Sn.y}),this.config.set("pos",Sn)}},{key:"getPos",value:function(){return this.config.get("pos")}},{key:"destroy",value:function(){lr.remove(this._style),this._unregisterListener(),this._$el.remove()}},{key:"_isOutOfRange",value:function(Sn){Sn=Sn||this.config.get("pos");var Nn=this._getDefPos();return Sn.x>Nn.x+10||Sn.x<0||Sn.y<0||Sn.y>Nn.y+10}},{key:"_registerListener",value:function(){var Sn=this;this._scaleListener=function(){return Mr()(function(){Sn._isOutOfRange()&&Sn._resetPos()})},le.on(le.SCALE,this._scaleListener)}},{key:"_unregisterListener",value:function(){le.off(le.SCALE,this._scaleListener)}},{key:"_initTpl",value:function(){var Sn=this._$container;Sn.append(fr('
    ')),this._$el=Sn.find(".eruda-entry-btn")}},{key:"_resetPos",value:function(Sn){var Nn=this.config,jn=Nn.get("pos"),_r=this._getDefPos();Nn.get("rememberPos")&&!Sn||(jn=_r),this.setPos(jn)}},{key:"_bindEvent",value:function(){var Sn=this;this._$el.on(Fr("start"),this._onDragStart),xr().on("change",function(){return Sn._resetPos(!0)}),window.addEventListener("resize",function(){return Sn._resetPos()})}},{key:"initCfg",value:function(Sn){var Nn=this.config=wr.createCfg("entry-button",{rememberPos:!0,pos:this._getDefPos()});Sn.switch(Nn,"rememberPos","Remember Entry Button Position"),this._resetPos()}},{key:"_getDefPos",value:function(){var Sn=this._$el.get(0).offsetWidth+10;return{x:window.innerWidth-Sn,y:window.innerHeight-Sn}}}]),qn}(oe()),Aa=n(4989),Ia=ya=new(n.n(Aa)())("[Eruda]","warn");ya.formatter=function(sr,rr){return rr.unshift(this.name),rr};var eo=n(3990),so=n.n(eo),po=n(2520),yo=n.n(po),Lo=n(6930),Io=n.n(Lo),zo=n(4270),Fo=n.n(zo),Eo=n(6093),ni=n.n(Eo),bo=n(129),ri=n(7638);function ko(sr){var rr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var Ho=function(sr){(0,V.Z)(qn,sr);var rr=ko(qn);function qn(Sn){var Nn,jn=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).defaults,_r=jn===void 0?{}:jn;return(0,y.Z)(this,qn),Nn=rr.call(this),(0,re.Z)((0,$.Z)(Nn),"_checkSafeArea",function(){var Nr=(0,$.Z)(Nn).$container;to()?Nr.addClass(fr("safe-area")):Nr.rmClass(fr("safe-area"))}),(0,re.Z)((0,$.Z)(Nn),"_updateTabHeight",function(Nr){Nn._tab.setOption("height",40*Nr),Mr()(function(){Nn._tab.updateSlider()})}),Nn._defCfg=In()({transparency:1,displaySize:80,theme:yo()()?"Dark":"Light"},_r),Nn._style=lr(n(13)),Nn.$container=Sn,Nn._isShow=!1,Nn._opacity=1,Nn._tools={},Nn._isResizing=!1,Nn._resizeTimer=null,Nn._resizeStartY=0,Nn._resizeStartSize=0,Nn._initTpl(),Nn._initTab(),Nn._initNotification(),Nn._initModal(),Fo()(function(){return Nn._checkSafeArea()}),Nn._bindEvent(),Nn}return(0,L.Z)(qn,[{key:"show",value:function(){var Sn=this;return this._isShow=!0,this._$el.show(),this._tab.updateSlider(),setTimeout(function(){Sn._$el.css("opacity",Sn._opacity)},50),this.emit("show"),this}},{key:"hide",value:function(){var Sn=this;return this._isShow=!1,this.emit("hide"),this._$el.css({opacity:0}),setTimeout(function(){return Sn._$el.hide()},300),this}},{key:"toggle",value:function(){return this._isShow?this.hide():this.show()}},{key:"add",value:function(Sn){var Nn=this._tab;if(!(Sn instanceof pe)){var jn=new pe,_r=jn.init,Nr=jn.show,Rr=jn.hide,Ur=jn.destroy;On()(Sn,{init:_r,show:Nr,hide:Rr,destroy:Ur})}var Qr=Sn.name;return Qr?(Qr=Qr.toLowerCase(),this._tools[Qr]?Ia.warn("Tool ".concat(Qr," already exists")):(this._$tools.prepend('
    ')),Sn.init(this._$tools.find(".".concat(fr(Qr),".").concat(fr("tool"))),this),Sn.active=!1,this._tools[Qr]=Sn,Qr==="settings"?Nn.append({id:Qr,title:Qr}):Nn.insert(Nn.length-1,{id:Qr,title:Qr}),this)):Ia.error("You must specify a name for a tool")}},{key:"remove",value:function(Sn){var Nn=this._tools;if(!Nn[Sn])return Ia.warn("Tool ".concat(Sn," doesn't exist"));this._tab.remove(Sn);var jn=Nn[Sn];if(delete Nn[Sn],jn.active){var _r=Tn()(Nn);_r.length>0&&this.showTool(Nn[Er()(_r)].name)}return jn.destroy(),this}},{key:"removeAll",value:function(){var Sn=this;return ze()(this._tools,function(Nn){return Sn.remove(Nn.name)}),this}},{key:"get",value:function(Sn){var Nn=this._tools[Sn];if(Nn)return Nn}},{key:"showTool",value:function(Sn){if(this._curTool===Sn)return this;this._curTool=Sn;var Nn=this._tools,jn=Nn[Sn];if(jn){var _r={};return ze()(Nn,function(Nr){Nr.active&&(_r=Nr,Nr.active=!1,Nr.hide())}),jn.active=!0,jn.show(),this._tab.select(Sn),this.emit("showTool",Sn,_r),this}}},{key:"initCfg",value:function(Sn){var Nn=this,jn=this.config=wr.createCfg("dev-tools",this._defCfg);this._setTransparency(jn.get("transparency")),this._setDisplaySize(jn.get("displaySize")),this._setTheme(jn.get("theme")),jn.on("change",function(_r,Nr){switch(_r){case"transparency":return Nn._setTransparency(Nr);case"displaySize":return Nn._setDisplaySize(Nr);case"theme":return Nn._setTheme(Nr)}}),Sn.separator().select(jn,"theme","Theme",Tn()(lr.getThemes())).range(jn,"transparency","Transparency",{min:.2,max:1,step:.01}).range(jn,"displaySize","Display Size",{min:40,max:100,step:1}).button("Restore defaults and reload",function(){var _r=wa("local"),Nr=JSON.parse(JSON.stringify(_r));ze()(Nr,function(Rr,Ur){kt()(Rr)&&Io()(Ur,"eruda")&&_r.removeItem(Ur)}),window.location.reload()}).separator()}},{key:"notify",value:function(Sn,Nn){this._notification.notify(Sn,Nn)}},{key:"destroy",value:function(){lr.remove(this._style),this.removeAll(),this._tab.destroy(),this._$el.remove(),window.removeEventListener("resize",this._checkSafeArea),le.off(le.SCALE,this._updateTabHeight)}},{key:"_setTheme",value:function(Sn){var Nn=this.$container;(function(jn){return vn()(Bn,jn)})(Sn)?Nn.addClass(fr("dark")):Nn.rmClass(fr("dark")),lr.setTheme(Sn)}},{key:"_setTransparency",value:function(Sn){so()(Sn)&&(this._opacity=Sn,this._isShow&&this._$el.css({opacity:Sn}))}},{key:"_setDisplaySize",value:function(Sn){so()(Sn)&&this._$el.css({height:Sn+"%"})}},{key:"_initTpl",value:function(){var Sn=this.$container;Sn.append(fr(` -
    -
    -
    -
    -
    - -
    - `)),this._$el=Sn.find(fr(".dev-tools")),this._$tools=this._$el.find(fr(".tools"))}},{key:"_initTab",value:function(){var Sn=this;this._tab=new ri.Z(this._$el.find(fr(".tab")).get(0),{height:40}),this._tab.on("select",function(Nn){return Sn.showTool(Nn)})}},{key:"_initNotification",value:function(){this._notification=new(ni())(this._$el.find(fr(".notification")).get(0),{position:{x:"center",y:"top"}})}},{key:"_initModal",value:function(){bo.Z.setContainer(this._$el.find(fr(".modal")).get(0))}},{key:"_bindEvent",value:function(){var Sn=this,Nn=this._$el.find(fr(".resizer")),jn=this._$el.find(fr(".nav-bar")),_r=_e()(document),Nr=function(Ur){if(Sn._isResizing){Ur.preventDefault(),Ur.stopPropagation(),Ur=Ur.origEvent;var Qr=(Sn._resizeStartY-Kr("y",Ur))/window.innerHeight*100,pa=Sn._resizeStartSize+Qr;pa<40?pa=40:pa>100&&(pa=100),Sn.config.set("displaySize",Gr()(pa.toFixed(2)))}},Rr=function Ur(){clearTimeout(Sn._resizeTimer),Sn._isResizing=!1,Nn.css("height",10),_r.off(Fr("move"),Nr),_r.off(Fr("end"),Ur)};Nn.css("height",10),Nn.on(Fr("start"),function(Ur){Ur.preventDefault(),Ur.stopPropagation(),Ur=Ur.origEvent,Sn._isResizing=!0,Sn._resizeStartSize=Sn.config.get("displaySize"),Sn._resizeStartY=Kr("y",Ur),Nn.css("height","100%"),_r.on(Fr("move"),Nr),_r.on(Fr("end"),Rr)}),jn.on("contextmenu",function(Ur){return Ur.preventDefault()}),this.$container.on("click",function(Ur){return Ur.stopPropagation()}),window.addEventListener("resize",this._checkSafeArea),le.on(le.SCALE,this._updateTabHeight)}}]),qn}(oe()),No=n(1214),Si=n.n(No),Vi=n(4777),ja=n.n(Vi),ts=n(1754),zi=n.n(ts),ns=n(5484),Fi=n.n(ns),ys=n(3023),Ni=n.n(ys),ws=n(9585),rs=n.n(ws),Cs=n(6156),hi=n.n(Cs),as=n(8816);function os(sr){var rr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}Fi().start();var Ss=function(sr){(0,V.Z)(qn,sr);var rr=os(qn);function qn(){var Sn,Nn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).name,jn=Nn===void 0?"console":Nn;return(0,y.Z)(this,qn),Sn=rr.call(this),(0,re.Z)((0,$.Z)(Sn),"_handleShow",function(){rs()(Sn._$el.get(0))||Sn._logger.renderViewport()}),(0,re.Z)((0,$.Z)(Sn),"_handleErr",function(_r){Sn._logger.error(_r)}),oe().mixin((0,$.Z)(Sn)),Sn.name=jn,Sn._selectedLog=null,Sn}return(0,L.Z)(qn,[{key:"init",value:function(Sn,Nn){(0,ue.Z)((0,j.Z)(qn.prototype),"init",this).call(this,Sn),this._container=Nn,this._appendTpl(),this._initCfg(),this._initLogger(),this._exposeLogger(),this._bindEvent()}},{key:"show",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"show",this).call(this),this._handleShow()}},{key:"overrideConsole",value:function(){var Sn=this,Nn=this._origConsole={},jn=window.console;return vi.forEach(function(_r){var Nr=Nn[_r]=Si();jn[_r]&&(Nr=Nn[_r]=jn[_r].bind(jn)),jn[_r]=function(){Sn[_r].apply(Sn,arguments),Nr.apply(void 0,arguments)}}),this}},{key:"setGlobal",value:function(Sn,Nn){this._logger.setGlobal(Sn,Nn)}},{key:"restoreConsole",value:function(){var Sn=this;return this._origConsole?(vi.forEach(function(Nn){return window.console[Nn]=Sn._origConsole[Nn]}),delete this._origConsole,this):this}},{key:"catchGlobalErr",value:function(){return Fi().addListener(this._handleErr),this}},{key:"ignoreGlobalErr",value:function(){return Fi().rmListener(this._handleErr),this}},{key:"filter",value:function(Sn){var Nn=this._$filterText,jn=this._logger;kt()(Sn)?(Nn.text(Sn),jn.setOption("filter",ta()(Sn))):zi()(Sn)?(Nn.text(bn()(Sn)),jn.setOption("filter",Sn)):ja()(Sn)&&(Nn.text("ƒ"),jn.setOption("filter",Sn))}},{key:"destroy",value:function(){this._logger.destroy(),(0,ue.Z)((0,j.Z)(qn.prototype),"destroy",this).call(this),this._container.off("show",this._handleShow),this._style&&lr.remove(this._style),this.ignoreGlobalErr(),this.restoreConsole(),this._rmCfg()}},{key:"_enableJsExecution",value:function(Sn){var Nn=this._$el,jn=Nn.find(fr(".js-input"));Sn?(jn.show(),Nn.rmClass(fr("js-input-hidden"))):(jn.hide(),Nn.addClass(fr("js-input-hidden")))}},{key:"_appendTpl",value:function(){var Sn=this._$el;this._style=lr(n(3191)),Sn.append(fr(` -
    - - All - Info - Warning - Error - - - -
    -
    -
    -
    -
    Cancel
    -
    Execute
    -
    - - -
    - `));var Nn=Sn.find(fr(".js-input")),jn=Nn.find("textarea"),_r=Nn.find(fr(".buttons"));In()(this,{_$control:Sn.find(fr(".control")),_$logs:Sn.find(fr(".logs-container")),_$inputContainer:Nn,_$input:jn,_$inputBtns:_r,_$filterText:Sn.find(fr(".filter-text"))})}},{key:"_initLogger",value:function(){var Sn=this.config,Nn=Sn.get("maxLogNum");Nn=Nn==="infinite"?0:+Nn;var jn=this._$control.find(fr(".level")),_r=new as.Z(this._$logs.get(0),{asyncRender:Sn.get("asyncRender"),maxNum:Nn,showHeader:Sn.get("displayExtraInfo"),unenumerable:Sn.get("displayUnenumerable"),accessGetter:Sn.get("displayGetterVal"),lazyEvaluation:Sn.get("lazyEvaluation")});_r.on("optionChange",function(Nr,Rr){Nr==="level"&&jn.each(function(){var Ur=_e()(this),Qr=Ur.data("level");Ur[Qr===Rr||Qr==="all"&&Vn()(Rr)?"addClass":"rmClass"](fr("active"))})}),Sn.get("overrideConsole")&&this.overrideConsole(),this._logger=_r}},{key:"_exposeLogger",value:function(){var Sn=this,Nn=this._logger;["html"].concat(vi).forEach(function(jn){return Sn[jn]=function(){for(var _r=arguments.length,Nr=new Array(_r),Rr=0;Rr<_r;Rr++)Nr[Rr]=arguments[Rr];return Nn[jn].apply(Nn,Nr),Sn.emit.apply(Sn,[jn].concat(Nr)),Sn}})}},{key:"_bindEvent",value:function(){var Sn=this,Nn=this._container,jn=this._$input,_r=this._$inputBtns,Nr=this._$control,Rr=this._logger,Ur=this.config;Nr.on("click",fr(".clear-console"),function(){return Rr.clear(!0)}).on("click",fr(".level"),function(){var Qr=_e()(this).data("level");Qr==="all"&&(Qr=["verbose","info","warning","error"]),Rr.setOption("level",Qr)}).on("click",fr(".filter"),function(){bo.Z.prompt("Filter").then(function(Qr){hi()(Qr)||Sn.filter(Qr)})}).on("click",fr(".copy"),function(){Sn._selectedLog.copy(),Nn.notify("Copied")}),_r.on("click",fr(".cancel"),function(){return Sn._hideInput()}).on("click",fr(".execute"),function(){var Qr=jn.val().trim();Qr!==""&&(Rr.evaluate(Qr),jn.val("").get(0).blur(),Sn._hideInput())}),jn.on("focusin",function(){return Sn._showInput()}),Rr.on("insert",function(Qr){Qr.type==="error"&&Ur.get("displayIfErr")&&Nn.showTool("console").show()}),Rr.on("select",function(Qr){Sn._selectedLog=Qr,Nr.find(fr(".icon-copy")).rmClass(fr("icon-disabled"))}),Rr.on("deselect",function(){Sn._selectedLog=null,Nr.find(fr(".icon-copy")).addClass(fr("icon-disabled"))}),Nn.on("show",this._handleShow)}},{key:"_hideInput",value:function(){this._$inputContainer.rmClass(fr("active")),this._$inputBtns.css("display","none")}},{key:"_showInput",value:function(){this._$inputContainer.addClass(fr("active")),this._$inputBtns.css("display","flex")}},{key:"_rmCfg",value:function(){var Sn=this.config,Nn=this._container.get("settings");Nn&&Nn.remove(Sn,"asyncRender").remove(Sn,"jsExecution").remove(Sn,"catchGlobalErr").remove(Sn,"overrideConsole").remove(Sn,"displayExtraInfo").remove(Sn,"displayUnenumerable").remove(Sn,"displayGetterVal").remove(Sn,"lazyEvaluation").remove(Sn,"displayIfErr").remove(Sn,"maxLogNum").remove(Ni()(this.name))}},{key:"_initCfg",value:function(){var Sn=this,Nn=this._container,jn=this.config=wr.createCfg(this.name,{asyncRender:!0,catchGlobalErr:!0,jsExecution:!0,overrideConsole:!0,displayExtraInfo:!1,displayUnenumerable:!0,displayGetterVal:!0,lazyEvaluation:!0,displayIfErr:!1,maxLogNum:"infinite"});this._enableJsExecution(jn.get("jsExecution")),jn.get("catchGlobalErr")&&this.catchGlobalErr(),jn.on("change",function(Nr,Rr){var Ur=Sn._logger;switch(Nr){case"asyncRender":return Ur.setOption("asyncRender",Rr);case"jsExecution":return Sn._enableJsExecution(Rr);case"catchGlobalErr":return Rr?Sn.catchGlobalErr():Sn.ignoreGlobalErr();case"overrideConsole":return Rr?Sn.overrideConsole():Sn.restoreConsole();case"maxLogNum":return Ur.setOption("maxNum",Rr==="infinite"?0:+Rr);case"displayExtraInfo":return Ur.setOption("showHeader",Rr);case"displayUnenumerable":return Ur.setOption("unenumerable",Rr);case"displayGetterVal":return Ur.setOption("accessGetter",Rr);case"lazyEvaluation":return Ur.setOption("lazyEvaluation",Rr)}});var _r=Nn.get("settings");_r&&_r.text(Ni()(this.name)).switch(jn,"asyncRender","Asynchronous Rendering").switch(jn,"jsExecution","Enable JavaScript Execution").switch(jn,"catchGlobalErr","Catch Global Errors").switch(jn,"overrideConsole","Override Console").switch(jn,"displayIfErr","Auto Display If Error Occurs").switch(jn,"displayExtraInfo","Display Extra Information").switch(jn,"displayUnenumerable","Display Unenumerable Properties").switch(jn,"displayGetterVal","Access Getter Value").switch(jn,"lazyEvaluation","Lazy Evaluation").select(jn,"maxLogNum","Max Log Number",["infinite","250","125","100","50","10"]).separator()}}]),qn}(pe),vi=["log","error","info","warn","dir","time","timeLog","timeEnd","clear","table","assert","count","countReset","debug","group","groupCollapsed","groupEnd"],xs=n(4677),Es=n.n(xs),is=n(8887),Go=n.n(is),Ts=n(8901),qa=n.n(Ts),xi=n(2327),ai=n.n(xi),Hi=n(4219),di=n.n(Hi),ss=n(7756),Ei=n.n(ss);function As(sr){var rr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var $s=function(sr){(0,V.Z)(qn,sr);var rr=As(qn);function qn(Sn,Nn){var jn;return(0,y.Z)(this,qn),jn=rr.call(this),(0,re.Z)((0,$.Z)(jn),"_copyRes",function(){var _r=jn._detailData,Nr="".concat(_r.method," ").concat(_r.url," ").concat(_r.status,` -`);Go()(_r.data)||(Nr+=` -Request Data - -`,Nr+="".concat(_r.data,` -`)),Go()(_r.reqHeaders)||(Nr+=` -Request Headers - -`,ze()(_r.reqHeaders,function(Rr,Ur){return Nr+="".concat(Ur,": ").concat(Rr,` -`)})),Go()(_r.resHeaders)||(Nr+=` -Response Headers - -`,ze()(_r.resHeaders,function(Rr,Ur){return Nr+="".concat(Ur,": ").concat(Rr,` -`)})),_r.resTxt&&(Nr+=` -`.concat(_r.resTxt,` -`)),ai()(Nr),jn._devtools.notify("Copied")}),jn._$container=Sn,jn._devtools=Nn,jn._detailData={},jn._bindEvent(),jn}return(0,L.Z)(qn,[{key:"show",value:function(Sn){Sn.resTxt&&ta()(Sn.resTxt)===""&&delete Sn.resTxt,Go()(Sn.resHeaders)&&delete Sn.resHeaders,Go()(Sn.reqHeaders)&&delete Sn.reqHeaders;var Nn="";Sn.data&&(Nn='
    ').concat(qa()(Sn.data),"
    "));var jn="Empty";Sn.reqHeaders&&(jn=Qn()(Sn.reqHeaders,function(Qr,pa){return` - ').concat(qa()(pa),` - `).concat(qa()(Qr),` - `)}).join(""));var _r="Empty";Sn.resHeaders&&(_r=Qn()(Sn.resHeaders,function(Qr,pa){return` - ').concat(qa()(pa),` - `).concat(qa()(Qr),` - `)}).join(""));var Nr="";if(Sn.resTxt){var Rr=Sn.resTxt;Rr.length>Gi&&(Rr=Ei()(Rr,Gi)),Nr='
    ').concat(qa()(Rr),"
    ")}var Ur='
    - - - ').concat(qa()(Sn.url),` - -
    -
    - `).concat(Nn,` -
    -

    Response Headers

    - - - `).concat(_r,` - -
    -
    -
    -

    Request Headers

    - - - `).concat(jn,` - -
    -
    - `).concat(Nr,` -
    `);this._$container.html(Ur).show(),this._detailData=Sn}},{key:"hide",value:function(){this._$container.hide(),this.emit("hide")}},{key:"_bindEvent",value:function(){var Sn=this,Nn=this._devtools;this._$container.on("click",fr(".back"),function(){return Sn.hide()}).on("click",fr(".copy-res"),this._copyRes).on("click",fr(".http .response"),function(){var _r=Sn._detailData,Nr=_r.resTxt;if(di()(Nr))return jn("object",Nr);switch(_r.subType){case"css":return jn("css",Nr);case"html":return jn("html",Nr);case"javascript":return jn("js",Nr);case"json":return jn("object",Nr)}return _r.type==="image"?jn("img",_r.url):void 0});var jn=function(_r,Nr){var Rr=Nn.get("sources");Rr&&(Rr.set(_r,Nr),Nn.showTool("sources"))}}}]),qn}(oe()),Gi=1e5,ks=n(2439),ji=n.n(ks),ls=n(9143),Ms=n.n(ls),Ui=n(2139),Ps=n(8689),Li=n(7935),fa=n(9119);function La(sr,rr){var qn=Object.keys(sr);if(Object.getOwnPropertySymbols){var Sn=Object.getOwnPropertySymbols(sr);rr&&(Sn=Sn.filter(function(Nn){return Object.getOwnPropertyDescriptor(sr,Nn).enumerable})),qn.push.apply(qn,Sn)}return qn}function sa(sr){for(var rr=1;rr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var To=function(sr){(0,V.Z)(qn,sr);var rr=lo(qn);function qn(){var Sn;return(0,y.Z)(this,qn),Sn=rr.call(this),(0,re.Z)((0,$.Z)(Sn),"_reqWillBeSent",function(Nn){if(Sn._isRecording){var jn,_r={name:Ea(Nn.request.url),url:Nn.request.url,status:"pending",type:"unknown",subType:"unknown",size:0,data:Nn.request.postData,method:Nn.request.method,startTime:1e3*Nn.timestamp,time:0,resTxt:"",done:!1,reqHeaders:Nn.request.headers||{},resHeaders:{}};_r.render=function(){var Nr={name:_r.name,method:_r.method,status:_r.status,type:_r.subType,size:_r.size,time:_r.displayTime};jn?(jn.data=Nr,jn.render()):(jn=Sn._requestDataGrid.append(Nr,{selectable:!0}),_e()(jn.container).data("id",Nn.requestId)),_r.hasErr&&_e()(jn.container).addClass(fr("request-error"))},_r.render(),Sn._requests[Nn.requestId]=_r}}),(0,re.Z)((0,$.Z)(Sn),"_resReceivedExtraInfo",function(Nn){var jn=Sn._requests[Nn.requestId];Sn._isRecording&&jn&&(jn.resHeaders=Nn.headers,Sn._updateType(jn),jn.render())}),(0,re.Z)((0,$.Z)(Sn),"_resReceived",function(Nn){var jn=Sn._requests[Nn.requestId];if(Sn._isRecording&&jn){var _r=Nn.response,Nr=_r.status,Rr=_r.headers;jn.status=Nr,(Nr<200||Nr>=300)&&(jn.hasErr=!0),Rr&&(jn.resHeaders=Rr,Sn._updateType(jn)),jn.render()}}),(0,re.Z)((0,$.Z)(Sn),"_loadingFinished",function(Nn){var jn=Sn._requests[Nn.requestId];if(Sn._isRecording&&jn){var _r=1e3*Nn.timestamp;jn.time=_r-jn.startTime,jn.displayTime=Es()(jn.time),jn.size=Nn.encodedDataLength,jn.done=!0,jn.resTxt=Zn.domain("Network").getResponseBody({requestId:Nn.requestId}).body,jn.render()}}),(0,re.Z)((0,$.Z)(Sn),"_copyCurl",function(){var Nn=Sn._selectedRequest;ai()(function(jn){var _r=xa()();_r==="windows"&&(_r="win");var Nr=[],Rr=Xa()(["accept-encoding","host","method","path","scheme","version"]),Ur=_r==="win"?function(Wo){var gs=/[\r\n]/.test(Wo)?'^"':'"';return gs+Wo.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/[^a-zA-Z0-9\s_\-:=+~'\/.',?;()*`&]/g,"^$&").replace(/%(?=[a-zA-Z0-9_])/g,"%^").replace(/\r?\n/g,`^ - -`)+gs}:function(Wo){return/[\0-\x1F\x7F-\x9F!]|\'/.test(Wo)?"$'"+Wo.replace(/\\/g,"\\\\").replace(/\'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\0-\x1F\x7F-\x9F!]/g,function(gs){for(var Qi=gs.charCodeAt(0).toString(16);Qi.length<4;)Qi="0"+Qi;return"\\u"+Qi})+"'":"'"+Wo+"'"};Nr.push(Ur(jn.url()).replace(/[[{}\]]/g,"\\$&"));var Qr="GET",pa=[],Ha=jn.requestFormData();Ha&&(pa.push("--data-raw "+Ur(Ha)),Rr["content-length"]=!0,Qr="POST"),jn.requestMethod!==Qr&&Nr.push("-X "+Ur(jn.requestMethod));for(var ro=jn.requestHeaders(),mo=0;mo=3?_r==="win"?` ^ - `:` \\ - `:" ")}({requestMethod:Nn.method,url:function(){return Nn.url},requestFormData:function(){return Nn.data},requestHeaders:function(){var jn=Nn.reqHeaders||{};return In()(jn,{"User-Agent":navigator.userAgent,Referer:location.href}),Qn()(jn,function(_r,Nr){return{name:Nr,value:_r}})}})),Sn._container.notify("Copied")}),(0,re.Z)((0,$.Z)(Sn),"_toggleRecording",function(){Sn._$control.find(fr(".record")).toggleClass(fr("recording")),Sn._isRecording=!Sn._isRecording}),(0,re.Z)((0,$.Z)(Sn),"_showDetail",function(){Sn._selectedRequest&&(Sn._splitMode&&Sn._$network.css("width","50%"),Sn._detail.show(Sn._selectedRequest))}),(0,re.Z)((0,$.Z)(Sn),"_updateScale",function(Nn){Sn._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Nn,"px)"))}),Sn._style=lr(n(3180)),Sn.name="network",Sn._requests={},Sn._selectedRequest=null,Sn._isRecording=!0,Sn}return(0,L.Z)(qn,[{key:"init",value:function(Sn,Nn){(0,ue.Z)((0,j.Z)(qn.prototype),"init",this).call(this,Sn),this._container=Nn,this._initTpl(),this._detail=new $s(this._$detail,Nn),this._splitMediaQuery=new(na())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._requestDataGrid=new Sr.Z(this._$requests.get(0),{columns:[{id:"name",title:"Name",sortable:!0,weight:30},{id:"method",title:"Method",sortable:!0,weight:14},{id:"status",title:"Status",sortable:!0,weight:14},{id:"type",title:"Type",sortable:!0,weight:14},{id:"size",title:"Size",sortable:!0,weight:14},{id:"time",title:"Time",sortable:!0,weight:14}]}),this._resizeSensor=new(Jr())(Sn.get(0)),this._bindEvent()}},{key:"show",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"show",this).call(this),this._updateDataGridHeight()}},{key:"clear",value:function(){this._requests={},this._requestDataGrid.clear()}},{key:"requests",value:function(){var Sn=[];return ze()(this._requests,function(Nn){Sn.push(Nn)}),Sn}},{key:"_updateDataGridHeight",value:function(){var Sn=this._$el.offset().height-this._$control.offset().height;this._requestDataGrid.setOption({minHeight:Sn,maxHeight:Sn})}},{key:"_updateType",value:function(Sn){var Nn=function(Nr){if(!Nr)return"unknown";var Rr=Nr.split(";")[0].split("/");return{type:Rr[0],subType:Er()(Rr)}}(Sn.resHeaders["content-type"]||""),jn=Nn.type,_r=Nn.subType;Sn.type=jn,Sn.subType=_r}},{key:"_updateButtons",value:function(){var Sn=this._$control,Nn=Sn.find(fr(".show-detail")),jn=Sn.find(fr(".copy-curl")),_r=fr("icon-disabled");Nn.addClass(_r),jn.addClass(_r),this._selectedRequest&&(Nn.rmClass(_r),jn.rmClass(_r))}},{key:"_bindEvent",value:function(){var Sn=this,Nn=this._$control,jn=this._$filterText,_r=this._requestDataGrid,Nr=this;Nn.on("click",fr(".clear-request"),function(){return Sn.clear()}).on("click",fr(".show-detail"),this._showDetail).on("click",fr(".copy-curl"),this._copyCurl).on("click",fr(".record"),this._toggleRecording).on("click",fr(".filter"),function(){bo.Z.prompt("Filter").then(function(Ur){hi()(Ur)||(jn.text(Ur),_r.setOption("filter",ta()(Ur)))})}),_r.on("select",function(Ur){var Qr=_e()(Ur.container).data("id"),pa=Nr._requests[Qr];Sn._selectedRequest=pa,Sn._updateButtons(),Sn._splitMode&&Sn._showDetail()}),_r.on("deselect",function(){Sn._selectedRequest=null,Sn._updateButtons(),Sn._detail.hide()}),this._resizeSensor.addListener(ji()(function(){return Sn._updateDataGridHeight()},15)),this._splitMediaQuery.on("match",function(){Sn._detail.hide(),Sn._splitMode=!0}),this._splitMediaQuery.on("unmatch",function(){Sn._detail.hide(),Sn._splitMode=!1}),this._detail.on("hide",function(){Sn._splitMode&&Sn._$network.css("width","100%")}),Zn.domain("Network").enable();var Rr=Zn.domain("Network");Rr.on("requestWillBeSent",this._reqWillBeSent),Rr.on("responseReceivedExtraInfo",this._resReceivedExtraInfo),Rr.on("responseReceived",this._resReceived),Rr.on("loadingFinished",this._loadingFinished),le.on(le.SCALE,this._updateScale)}},{key:"destroy",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"destroy",this).call(this),this._resizeSensor.destroy(),lr.remove(this._style),this._splitMediaQuery.removeAllListeners();var Sn=Zn.domain("Network");Sn.off("requestWillBeSent",this._reqWillBeSent),Sn.off("responseReceivedExtraInfo",this._resReceivedExtraInfo),Sn.off("responseReceived",this._resReceived),Sn.off("loadingFinished",this._loadingFinished),le.off(le.SCALE,this._updateScale)}},{key:"_initTpl",value:function(){var Sn=this._$el;Sn.html(fr(`
    -
    - - - - - - -
    -
    -
    -
    `)),this._$network=Sn.find(fr(".network")),this._$detail=Sn.find(fr(".detail")),this._$requests=Sn.find(fr(".requests")),this._$control=Sn.find(fr(".control")),this._$filterText=Sn.find(fr(".filter-text"))}}]),qn}(pe),Va=n(9833),ho=n.n(Va),Oo=n(9956),wo=n.n(Oo),mi=n(8209),Oi=n(3063),gi=n.n(Oi),oi=n(3487),jo=n.n(oi),no=n(42),ii=n.n(no),ci=n(4696),Ti=n.n(ci),Ai=n(7653),Zo=n.n(Ai),_i=n(8613),$i=n.n(_i),Xo=n(2289),ki=n.n(Xo),Wi=n(3629),Di=n.n(Wi);function yi(sr){for(var rr={},qn=0,Sn=sr.length;qnUr?Ur:Rr,pa=0;paUr?1:Rr(rr=js(rr))?1:sr1&&arguments[1]!==void 0?arguments[1]:{}).noAttr,qn=rr!==void 0&&rr;if(sr.nodeType===Node.TEXT_NODE)return'(text)');if(sr.nodeType===Node.COMMENT_NODE)return'');var Sn=sr.id,Nn=sr.className,jn=sr.attributes,_r=''.concat(sr.tagName.toLowerCase(),"");if(Sn!==""&&(_r+='#'.concat(Sn,"")),kt()(Nn)){var Nr="";ze()(Nn.split(/\s+/g),function(Rr){Rr.trim()!==""&&(Nr+=".".concat(Rr))}),_r+=''.concat(Nr,"")}return qn||ze()(jn,function(Rr){var Ur=Rr.name;Ur!=="id"&&Ur!=="class"&&Ur!=="style"&&(_r+=' '.concat(Ur,'="').concat(Rr.value,'"'))}),_r}var El=function(){function sr(rr,qn){var Sn=this;(0,y.Z)(this,sr),(0,re.Z)(this,"hide",function(){Sn._$container.hide(),Sn._disableObserver(),Zn.domain("Overlay").hideHighlight()}),this._$container=rr,this._devtools=qn,this._curEl=document.documentElement,this._bindEvent(),this._initObserver(),this._initCfg(),this._initTpl()}return(0,L.Z)(sr,[{key:"show",value:function(rr){this._curEl=rr,this._rmDefComputedStyle=!0,this._computedStyleSearchKeyword="",this._enableObserver(),this._render();var qn=Zn.domain("DOM").getNodeId({node:rr}).nodeId;Zn.domain("Overlay").highlightNode({nodeId:qn,highlightConfig:{showInfo:!0,contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}})}},{key:"destroy",value:function(){this._disableObserver(),this.restoreEventTarget(),this._rmCfg()}},{key:"overrideEventTarget",value:function(){var rr=Ls(),qn=this._origAddEvent=rr.addEventListener,Sn=this._origRmEvent=rr.removeEventListener;rr.addEventListener=function(Nn,jn,_r){(function(Nr,Rr,Ur){var Qr=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!(!ho()(Nr)||!ja()(Ur)||!Ti()(Qr))){var pa=Nr.erudaEvents=Nr.erudaEvents||{};pa[Rr]=pa[Rr]||[],pa[Rr].push({listener:Ur,listenerStr:Ur.toString(),useCapture:Qr})}})(this,Nn,jn,_r),qn.apply(this,arguments)},rr.removeEventListener=function(Nn,jn,_r){(function(Nr,Rr,Ur){var Qr=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!(!ho()(Nr)||!ja()(Ur)||!Ti()(Qr))){var pa=Nr.erudaEvents;if(!(!pa||!pa[Rr])){for(var Ha=pa[Rr],ro=0,mo=Ha.length;ro - - - - -
    -
    -
    -
    -
    -
    `);rr.html(qn),this._$elementName=rr.find(fr(".element-name")),this._$attributes=rr.find(fr(".attributes")),this._$styles=rr.find(fr(".styles")),this._$listeners=rr.find(fr(".listeners")),this._$computedStyle=rr.find(fr(".computed-style"));var Sn=$i()("div");this._$boxModel=_e()(Sn),this._boxModel=new Us.Z(Sn)}},{key:"_toggleAllComputedStyle",value:function(){this._rmDefComputedStyle=!this._rmDefComputedStyle,this._render()}},{key:"_render",value:function(){var rr=this._getData(this._curEl),qn=this._$attributes,Sn=this._$elementName,Nn=this._$styles,jn=this._$computedStyle,_r=this._$listeners;Sn.html(rr.name);var Nr="Empty";Go()(rr.attributes)||(Nr=Qn()(rr.attributes,function(ro){var mo=ro.name,Co=ro.value;return` - ').concat(qa()(mo),` - ').concat(Co,` - `)}).join("")),Nr=`

    Attributes

    -
    - - - `).concat(Nr,` - -
    -
    `),qn.html(Nr);var Rr="";if(Go()(rr.styles))Nn.hide();else{var Ur=Qn()(rr.styles,function(ro){var mo=ro.selectorText,Co=ro.style;return Co=Qn()(Co,function(Uo,Wo){return'
    ').concat(qa()(Wo),": ").concat(Uo,";
    ")}).join(""),'
    -
    `).concat(qa()(mo),` {
    - `).concat(Co,` -
    }
    -
    `)}).join("");Rr=`

    Styles

    -
    - `).concat(Ur,` -
    `),Nn.html(Rr).show()}var Qr="";if(rr.computedStyle){var pa=fr(`
    - -
    `);rr.rmDefComputedStyle&&(pa=fr(`
    - -
    `)),Qr=`

    - Computed Style - `.concat(pa,` -
    - -
    - `).concat(rr.computedStyleSearchKeyword?'
    ').concat(qa()(rr.computedStyleSearchKeyword),"
    "):"",` -

    -
    -
    - - - `).concat(Qn()(rr.computedStyle,function(ro,mo){return` - - - `)}).join(""),` - -
    ').concat(qa()(mo),``).concat(ro,`
    -
    `),jn.html(Qr).show(),this._boxModel.setOption("element",this._curEl),jn.find(fr(".box-model")).append(this._$boxModel.get(0))}else jn.text("").hide();var Ha="";rr.listeners?(Ha=Qn()(rr.listeners,function(ro,mo){return ro=Qn()(ro,function(Co){var Uo=Co.useCapture,Wo=Co.listenerStr;return"
  • ").concat(qa()(Wo),"
  • ")}).join(""),'
    -
    ').concat(qa()(mo),`
    -
      - `).concat(ro,` -
    -
    `)}).join(""),Ha=`

    Event Listeners

    -
    - `).concat(Ha,` -
    `),_r.html(Ha).show()):_r.hide(),this._$container.show()}},{key:"_getData",value:function(rr){var qn={},Sn=new us(rr),Nn=rr.className,jn=rr.id,_r=rr.attributes,Nr=rr.tagName;qn.computedStyleSearchKeyword=this._computedStyleSearchKeyword,qn.attributes=bi(_r),qn.name=Ws({tagName:Nr,id:jn,className:Nn,attributes:_r});var Rr=rr.erudaEvents;if(Rr&&Tn()(Rr).length!==0&&(qn.listeners=Rr),Ns(Nr))return qn;var Ur=Sn.getComputedStyle(),Qr=Sn.getMatchedCSSRules();Qr.unshift(function(Ha){for(var ro={selectorText:"element.style",style:{}},mo=0,Co=Ha.length;mo
    $&').replace(fs,function(rr,qn){return'url("'.concat(wi(qn),'")')})}var Is=["script","style","meta","title","link","head"],Ns=function(sr){return Is.indexOf(sr.toLowerCase())>-1},wi=function(sr){return'').concat(sr,"")},Ls=function(){return Zo()(window,"EventTarget.prototype")||window.Node.prototype};function Ks(sr){var rr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var Ys=function(sr){(0,V.Z)(qn,sr);var rr=Ks(qn);function qn(){var Sn;return(0,y.Z)(this,qn),Sn=rr.call(this),(0,re.Z)((0,$.Z)(Sn),"_showDetail",function(){Sn._isShow&&Sn._curNode&&(Sn._curNode.nodeType===Node.ELEMENT_NODE?Sn._detail.show(Sn._curNode):Sn._detail.show(Sn._curNode.parentNode))}),(0,re.Z)((0,$.Z)(Sn),"_back",function(){if(Sn._curNode!==Sn._htmlEl){for(var Nn=Sn._curParentQueue,jn=Nn.shift();!Os(jn);)jn=Nn.shift();Sn.set(jn)}}),(0,re.Z)((0,$.Z)(Sn),"_updateScale",function(Nn){Sn._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Nn,"px)"))}),(0,re.Z)((0,$.Z)(Sn),"_deleteNode",function(){var Nn=Sn._curNode;Nn.parentNode&&Nn.parentNode.removeChild(Nn)}),(0,re.Z)((0,$.Z)(Sn),"_copyNode",function(){var Nn=Sn._curNode;Nn.nodeType===Node.ELEMENT_NODE?ai()(Nn.outerHTML):ai()(Nn.nodeValue),Sn._container.notify("Copied")}),(0,re.Z)((0,$.Z)(Sn),"_toggleSelect",function(){Sn._$el.find(fr(".select")).toggleClass(fr("active")),Sn._selectElement=!Sn._selectElement,Sn._selectElement?(Zn.domain("Overlay").setInspectMode({mode:"searchForNode",highlightConfig:{showInfo:!wo()(),showRulers:!1,showAccessibilityInfo:!wo()(),showExtensionLines:!1,contrastAlgorithm:"aa",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}}),Sn._container.hide()):(Zn.domain("Overlay").setInspectMode({mode:"none"}),Zn.domain("Overlay").hideHighlight())}),(0,re.Z)((0,$.Z)(Sn),"_inspectNodeRequested",function(Nn){var jn=Nn.backendNodeId;Sn._container.show(),Sn._toggleSelect();var _r=Zn.domain("DOM").getNode({nodeId:jn}).node;Sn.select(_r)}),(0,re.Z)((0,$.Z)(Sn),"_setNode",function(Nn){if(Nn!==Sn._curNode){Sn._curNode=Nn,Sn._renderCrumbs();for(var jn=[],_r=Nn.parentNode;_r;)jn.push(_r),_r=_r.parentNode;Sn._curParentQueue=jn,Sn._splitMode&&Sn._showDetail(),Sn._updateButtons(),Sn._updateHistory()}}),Sn._style=lr(n(5896)),Sn.name="elements",Sn._selectElement=!1,Sn._observeElement=!0,Sn._history=[],oe().mixin((0,$.Z)(Sn)),Sn}return(0,L.Z)(qn,[{key:"init",value:function(Sn,Nn){var jn=this;(0,ue.Z)((0,j.Z)(qn.prototype),"init",this).call(this,Sn),this._container=Nn,this._initTpl(),this._htmlEl=document.documentElement,this._detail=new El(this._$detail,Nn),this.config=this._detail.config,this._splitMediaQuery=new(na())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._domViewer=new mi.Z(this._$domViewer.get(0),{node:this._htmlEl,ignore:function(_r){return zr(_r)||Wr(_r)}}),this._domViewer.expand(),this._bindEvent(),Zn.domain("Overlay").enable(),Mr()(function(){return jn._updateHistory()})}},{key:"show",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"show",this).call(this),this._isShow=!0,this._curNode?this._splitMode&&this._showDetail():this.select(document.body)}},{key:"hide",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"hide",this).call(this),this._isShow=!1,Zn.domain("Overlay").hideHighlight()}},{key:"set",value:function(Sn){return this.select(Sn)}},{key:"select",value:function(Sn){return this._domViewer.select(Sn),this._setNode(Sn),this.emit("change",Sn),this}},{key:"destroy",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"destroy",this).call(this),le.off(le.SCALE,this._updateScale),lr.remove(this._style),this._detail.destroy(),Zn.domain("Overlay").off("inspectNodeRequested",this._inspectNodeRequested),Zn.domain("Overlay").disable(),this._splitMediaQuery.removeAllListeners()}},{key:"_updateButtons",value:function(){var Sn=this._$control,Nn=Sn.find(fr(".show-detail")),jn=Sn.find(fr(".copy-node")),_r=Sn.find(fr(".delete-node")),Nr=fr("icon-disabled");Nn.addClass(Nr),jn.addClass(Nr),_r.addClass(Nr);var Rr=this._curNode;Rr&&(Rr!==document.documentElement&&Rr!==document.body&&_r.rmClass(Nr),jn.rmClass(Nr),Rr.nodeType===Node.ELEMENT_NODE&&Nn.rmClass(Nr))}},{key:"_initTpl",value:function(){var Sn=this._$el;Sn.html(fr(`
    -
    - - - - -
    -
    -
    -
    -
    -
    -
    `)),this._$detail=Sn.find(fr(".detail")),this._$domViewer=Sn.find(fr(".dom-viewer")),this._$control=Sn.find(fr(".control")),this._$crumbs=Sn.find(fr(".crumbs"))}},{key:"_renderCrumbs",value:function(){var Sn=function(jn){for(var _r=[],Nr=0;jn;)_r.push({text:Ws(jn,{noAttr:!0}),idx:Nr++}),jn=jn.parentElement;return _r.reverse()}(this._curNode),Nn="";Go()(Sn)||(Nn=Qn()(Sn,function(jn){var _r=jn.text,Nr=jn.idx;return'
  • ').concat(_r,"
  • ")}).join("")),this._$crumbs.html(Nn)}},{key:"_bindEvent",value:function(){var Sn=this,Nn=this;this._$el.on("click",fr(".crumb"),function(){for(var jn=Gr()(_e()(this).data("idx")),_r=Nn._curNode;jn--&&_r.parentElement;)_r=_r.parentElement;Os(_r)&&Nn.select(_r)}),this._$control.on("click",fr(".select"),this._toggleSelect).on("click",fr(".show-detail"),this._showDetail).on("click",fr(".copy-node"),this._copyNode).on("click",fr(".delete-node"),this._deleteNode),this._domViewer.on("select",this._setNode).on("deselect",this._back),Zn.domain("Overlay").on("inspectNodeRequested",this._inspectNodeRequested),this._splitMediaQuery.on("match",function(){Sn._splitMode=!0,Sn._showDetail()}),this._splitMediaQuery.on("unmatch",function(){Sn._splitMode=!1,Sn._detail.hide()}),le.on(le.SCALE,this._updateScale)}},{key:"_updateHistory",value:function(){var Sn=this._container.get("console");if(Sn){var Nn=this._history;Nn.unshift(this._curNode),Nn.length>5&&Nn.pop();for(var jn=0;jn<5;jn++)Sn.setGlobal("$".concat(jn),Nn[jn])}}}]),qn}(pe),Os=function(sr){return ho()(sr)&&sr.parentNode},qs=n(8847),Zs=n.n(qs),Tl=n(9622),Al=n.n(Tl),Yi=null,Xs=[{name:"Border All",fn:function(){if(Yi)return lr.remove(Yi),void(Yi=null);Yi=lr("* { outline: 2px dashed #707d8b; outline-offset: -3px; }",document.head)},desc:"Add color borders to all elements"},{name:"Refresh Page",fn:function(){var sr=new(Dn());sr.setQuery("timestamp",Zs()()),window.location.replace(sr.toString())},desc:"Add timestamp to url and refresh"},{name:"Search Text",fn:function(){bo.Z.prompt("Enter the text").then(function(sr){sr&&ta()(sr)!==""&&function(rr){var qn=document.body,Sn=new RegExp(rr,"ig");ps(qn,function(Nn){var jn=_e()(Nn);if(jn.hasClass("eruda-search-highlight-block"))return document.createTextNode(jn.text())}),ps(qn,function(Nn){if(Nn.nodeType===3){var jn=Nn.nodeValue;if((jn=jn.replace(Sn,function(Nr){return''.concat(Nr,"")}))!==Nn.nodeValue){var _r=_e()(document.createElement("div"));return _r.html(jn),_r.addClass("eruda-search-highlight-block"),_r.get(0)}}})}(sr)})},desc:"Highlight given text on page"},{name:"Edit Page",fn:function(){var sr=document.body;sr.contentEditable=sr.contentEditable!=="true"},desc:"Toggle body contentEditable"},{name:"Fit Screen",fn:function(){var sr=document.body,rr=document.documentElement,qn=_e()(sr);if(qn.data("scaled"))window.scrollTo(0,+qn.data("scaled")),qn.rmAttr("data-scaled"),qn.css("transform","none");else{var Sn=Math.max(sr.scrollHeight,sr.offsetHeight,rr.clientHeight,rr.scrollHeight,rr.offsetHeight),Nn=Math.max(document.documentElement.clientHeight,window.innerHeight||0),jn=Nn/Sn;qn.css("transform","scale(".concat(jn,")")),qn.data("scaled",window.scrollY),window.scrollTo(0,Sn/2-Nn/2)}},desc:"Scale down the whole page to fit screen"},{name:"Load Monitor Plugin",fn:function(){fi("monitor")},desc:"Display page fps and memory"},{name:"Load Features Plugin",fn:function(){fi("features")},desc:"Browser feature detections"},{name:"Load Timing Plugin",fn:function(){fi("timing")},desc:"Show performance and resource timing"},{name:"Load Code Plugin",fn:function(){fi("code")},desc:"Edit and run JavaScript"},{name:"Load Benchmark Plugin",fn:function(){fi("benchmark")},desc:"Run JavaScript benchmarks"},{name:"Load Geolocation Plugin",fn:function(){fi("geolocation")},desc:"Test geolocation"},{name:"Load Orientation Plugin",fn:function(){fi("orientation")},desc:"Test orientation api"},{name:"Load Touches Plugin",fn:function(){fi("touches")},desc:"Visualize screen touches"}];function ps(sr,rr){var qn=sr.childNodes;if(!zr(sr)){for(var Sn=0,Nn=qn.length;Sn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var el=function(sr){(0,V.Z)(qn,sr);var rr=Qs(qn);function qn(){var Sn;return(0,y.Z)(this,qn),(Sn=rr.call(this))._style=lr(n(5571)),Sn.name="snippets",Sn._snippets=[],Sn}return(0,L.Z)(qn,[{key:"init",value:function(Sn){(0,ue.Z)((0,j.Z)(qn.prototype),"init",this).call(this,Sn),this._bindEvent(),this._addDefSnippets()}},{key:"destroy",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"destroy",this).call(this),lr.remove(this._style)}},{key:"add",value:function(Sn,Nn,jn){return this._snippets.push({name:Sn,fn:Nn,desc:jn}),this._render(),this}},{key:"remove",value:function(Sn){return kl()(this._snippets,function(Nn){return Nn.name===Sn}),this._render(),this}},{key:"run",value:function(Sn){for(var Nn=this._snippets,jn=0,_r=Nn.length;jn<_r;jn++)Nn[jn].name===Sn&&this._run(jn);return this}},{key:"clear",value:function(){return this._snippets=[],this._render(),this}},{key:"_bindEvent",value:function(){var Sn=this;this._$el.on("click",".eruda-run",function(){var Nn=_e()(this).data("idx");Sn._run(Nn)})}},{key:"_run",value:function(Sn){this._snippets[Sn].fn.call(null)}},{key:"_addDefSnippets",value:function(){var Sn=this;ze()(Xs,function(Nn){Sn.add(Nn.name,Nn.fn,Nn.desc)})}},{key:"_render",value:function(){var Sn=Qn()(this._snippets,function(Nn,jn){return'
    -

    ').concat(qa()(Nn.name),` -
    - -
    -

    -
    - `).concat(qa()(Nn.desc),` -
    -
    `)}).join("");this._renderHtml(Sn)}},{key:"_renderHtml",value:function(Sn){Sn!==this._lastHtml&&(this._lastHtml=Sn,this._$el.html(Sn))}}]),qn}(pe),tl=n(4224),nl=n.n(tl),Ml=n(8991),rl=n.n(Ml),Pl=n(1352),Ds=n.n(Pl),Il=n(8099),Nl=n.n(Il),Rs=function(){function sr(rr,qn,Sn,Nn){var jn=this;(0,y.Z)(this,sr),(0,re.Z)(this,"_updateGridHeight",function(_r){jn._dataGrid.setOption({minHeight:60*_r,maxHeight:223*_r})}),this._type=Nn,this._$container=rr,this._devtools=qn,this._resources=Sn,this._selectedItem=null,this._storeData=[],this._initTpl(),this._dataGrid=new Sr.Z(this._$dataGrid.get(0),{columns:[{id:"key",title:"Key",weight:30},{id:"value",title:"Value",weight:90}],minHeight:60,maxHeight:223}),this._bindEvent()}return(0,L.Z)(sr,[{key:"destroy",value:function(){le.off(le.SCALE,this._updateGridHeight)}},{key:"refresh",value:function(){var rr=this._dataGrid;this._refreshStorage(),rr.clear(),ze()(this._storeData,function(qn){var Sn=qn.key,Nn=qn.val;rr.append({key:Sn,value:Nn},{selectable:!0})})}},{key:"_refreshStorage",value:function(){var rr=this._resources,qn=wa(this._type,!1);if(qn){var Sn=[];qn=JSON.parse(JSON.stringify(qn)),ze()(qn,function(Nn,jn){kt()(Nn)&&(rr.config.get("hideErudaSetting")&&(Io()(jn,"eruda")||jn==="active-eruda")||Sn.push({key:jn,val:Ei()(Nn,200)}))}),this._storeData=Sn}}},{key:"_updateButtons",value:function(){var rr=this._$container,qn=rr.find(fr(".show-detail")),Sn=rr.find(fr(".delete-storage")),Nn=rr.find(fr(".copy-storage")),jn=fr("btn-disabled");qn.addClass(jn),Sn.addClass(jn),Nn.addClass(jn),this._selectedItem&&(qn.rmClass(jn),Sn.rmClass(jn),Nn.rmClass(jn))}},{key:"_initTpl",value:function(){var rr=this._$container,qn=this._type;rr.html(fr(`

    - `.concat(qn==="local"?"Local":"Session",` Storage -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -

    -
    `))),this._$dataGrid=rr.find(fr(".data-grid")),this._$filterText=rr.find(fr(".filter-text"))}},{key:"_getVal",value:function(rr){return this._type==="local"?localStorage.getItem(rr):sessionStorage.getItem(rr)}},{key:"_bindEvent",value:function(){var rr=this,qn=this._type,Sn=this._devtools;function Nn(jn,_r){var Nr=Sn.get("sources");if(Nr)return Nr.set(jn,_r),Sn.showTool("sources"),!0}this._$container.on("click",fr(".refresh-storage"),function(){Sn.notify("Refreshed"),rr.refresh()}).on("click",fr(".clear-storage"),function(){ze()(rr._storeData,function(jn){qn==="local"?localStorage.removeItem(jn.key):sessionStorage.removeItem(jn.key)}),rr.refresh()}).on("click",fr(".show-detail"),function(){var jn=rr._selectedItem,_r=rr._getVal(jn);try{Nn("object",JSON.parse(_r))}catch{Nn("raw",_r)}}).on("click",fr(".copy-storage"),function(){var jn=rr._selectedItem;ai()(rr._getVal(jn)),Sn.notify("Copied")}).on("click",fr(".filter"),function(){bo.Z.prompt("Filter").then(function(jn){hi()(jn)||(jn=ta()(jn),rr._$filterText.text(jn),rr._dataGrid.setOption("filter",jn))})}).on("click",fr(".delete-storage"),function(){var jn=rr._selectedItem;qn==="local"?localStorage.removeItem(jn):sessionStorage.removeItem(jn),rr.refresh()}),this._dataGrid.on("select",function(jn){rr._selectedItem=jn.data.key,rr._updateButtons()}).on("deselect",function(){rr._selectedItem=null,rr._updateButtons()}),le.on(le.SCALE,this._updateGridHeight)}}]),sr}();function hs(sr,rr){sr.rmClass(fr("ok")).rmClass(fr("danger")).rmClass(fr("warn")).addClass(fr(rr))}function vs(sr,rr){if(rr===0)return"";var qn=0,Sn=0;switch(sr){case"cookie":qn=30,Sn=60;break;case"script":qn=5,Sn=10;break;case"stylesheet":qn=4,Sn=8;break;case"image":qn=50,Sn=100}return rr>=Sn?"danger":rr>=qn?"warn":"ok"}var ms=function(){function sr(rr,qn){(0,y.Z)(this,sr),this._$container=rr,this._devtools=qn,this._selectedItem=null,this._initTpl(),this._dataGrid=new Sr.Z(this._$dataGrid.get(0),{columns:[{id:"key",title:"Key",weight:30},{id:"value",title:"Value",weight:90}],minHeight:60,maxHeight:223}),this._bindEvent()}return(0,L.Z)(sr,[{key:"refresh",value:function(){var rr=this._$container,qn=this._dataGrid,Sn=Zn.domain("Network").getCookies().cookies,Nn=Qn()(Sn,function(jn){return{key:jn.name,val:jn.value}});qn.clear(),ze()(Nn,function(jn){var _r=jn.key,Nr=jn.val;qn.append({key:_r,value:Nr},{selectable:!0})}),hs(rr,vs("cookie",Nn.length))}},{key:"_initTpl",value:function(){var rr=this._$container;rr.html(fr(`

    - Cookie - -
    - -
    - - - -
    - -
    -
    -

    -
    `)),this._$dataGrid=rr.find(fr(".data-grid")),this._$filterText=rr.find(fr(".filter-text"))}},{key:"_updateButtons",value:function(){var rr=this._$container,qn=rr.find(fr(".show-detail")),Sn=rr.find(fr(".delete-cookie")),Nn=rr.find(fr(".copy-cookie")),jn=fr("btn-disabled");qn.addClass(jn),Sn.addClass(jn),Nn.addClass(jn),this._selectedItem&&(qn.rmClass(jn),Sn.rmClass(jn),Nn.rmClass(jn))}},{key:"_getVal",value:function(rr){for(var qn=Zn.domain("Network").getCookies().cookies,Sn=0,Nn=qn.length;Sn=sr.length?{done:!0}:{done:!1,value:sr[Sn++]}},e:function(Rr){throw Rr},f:Nn}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var jn,_r=!0,Nr=!1;return{s:function(){qn=qn.call(sr)},n:function(){var Rr=qn.next();return _r=Rr.done,Rr},e:function(Rr){Nr=!0,jn=Rr},f:function(){try{_r||qn.return==null||qn.return()}finally{if(Nr)throw jn}}}}function Zi(sr,rr){(rr==null||rr>sr.length)&&(rr=sr.length);for(var qn=0,Sn=new Array(rr);qn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var Bs=function(sr){(0,V.Z)(qn,sr);var rr=Xi(qn);function qn(){var Sn;return(0,y.Z)(this,qn),(Sn=rr.call(this))._style=lr(n(2488)),Sn.name="resources",Sn._hideErudaSetting=!1,Sn._observeElement=!0,Sn}return(0,L.Z)(qn,[{key:"init",value:function(Sn,Nn){(0,ue.Z)((0,j.Z)(qn.prototype),"init",this).call(this,Sn),this._container=Nn,this._initTpl(),this._localStorage=new Rs(this._$localStorage,Nn,this,"local"),this._sessionStorage=new Rs(this._$sessionStorage,Nn,this,"session"),this._cookie=new ms(this._$cookie,Nn),this._bindEvent(),this._initObserver(),this._initCfg()}},{key:"refresh",value:function(){return this.refreshLocalStorage().refreshSessionStorage().refreshCookie().refreshScript().refreshStylesheet().refreshIframe().refreshImage()}},{key:"destroy",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"destroy",this).call(this),this._localStorage.destroy(),this._sessionStorage.destroy(),this._disableObserver(),lr.remove(this._style),this._rmCfg()}},{key:"refreshScript",value:function(){var Sn=[];_e()("script").each(function(){var Rr=this.src;Rr!==""&&Sn.push(Rr)});var Nn=vs("script",(Sn=ii()(Sn)).length),jn="
  • Empty
  • ";Go()(Sn)||(jn=Qn()(Sn,function(Rr){return Rr=qa()(Rr),'
  • ').concat(Rr,"
  • ")}).join(""));var _r='

    - Script -
    - -
    -

    -
      - `).concat(jn,` -
    `),Nr=this._$script;return hs(Nr,Nn),Nr.html(_r),this}},{key:"refreshStylesheet",value:function(){var Sn=[];_e()("link").each(function(){this.rel==="stylesheet"&&Sn.push(this.href)});var Nn=vs("stylesheet",(Sn=ii()(Sn)).length),jn="
  • Empty
  • ";Go()(Sn)||(jn=Qn()(Sn,function(Rr){return Rr=qa()(Rr),'
  • ').concat(Rr,"
  • ")}).join(""));var _r='

    - Stylesheet -
    - -
    -

    -
      - `).concat(jn,` -
    `),Nr=this._$stylesheet;return hs(Nr,Nn),Nr.html(_r),this}},{key:"refreshIframe",value:function(){var Sn=[];_e()("iframe").each(function(){var _r=_e()(this).attr("src");_r&&Sn.push(_r)}),Sn=ii()(Sn);var Nn="
  • Empty
  • ";Go()(Sn)||(Nn=Qn()(Sn,function(_r){return _r=qa()(_r),'
  • ').concat(_r,"
  • ")}).join(""));var jn='

    - Iframe -
    - -
    -

    -
      - `).concat(Nn,` -
    `);return this._$iframe.html(jn),this}},{key:"refreshLocalStorage",value:function(){return this._localStorage.refresh(),this}},{key:"refreshSessionStorage",value:function(){return this._sessionStorage.refresh(),this}},{key:"refreshCookie",value:function(){return this._cookie.refresh(),this}},{key:"refreshImage",value:function(){var Sn=[],Nn=this._performance=window.webkitPerformance||window.performance;Nn&&Nn.getEntries?this._performance.getEntries().forEach(function(Ur){if(Ur.initiatorType==="img"||Mi(Ur.name)){if(vn()(Ur.name,"exclude=true"))return;Sn.push(Ur.name)}}):_e()("img").each(function(){var Ur=_e()(this),Qr=Ur.attr("src");Ur.data("exclude")!=="true"&&Sn.push(Qr)}),(Sn=ii()(Sn)).sort();var jn=vs("image",Sn.length),_r="
  • Empty
  • ";Go()(Sn)||(_r=Qn()(Sn,function(Ur){return'
  • - -
  • `)}).join(""));var Nr='

    - Image -
    - -
    -

    -
      - `).concat(_r,` -
    `),Rr=this._$image;return hs(Rr,jn),Rr.html(Nr),this}},{key:"show",value:function(){return(0,ue.Z)((0,j.Z)(qn.prototype),"show",this).call(this),this._observeElement&&this._enableObserver(),this.refresh()}},{key:"hide",value:function(){return this._disableObserver(),(0,ue.Z)((0,j.Z)(qn.prototype),"hide",this).call(this)}},{key:"_initTpl",value:function(){var Sn=this._$el;Sn.html(fr(`
    -
    - -
    -
    -
    -
    `)),this._$localStorage=Sn.find(fr(".local-storage")),this._$sessionStorage=Sn.find(fr(".session-storage")),this._$cookie=Sn.find(fr(".cookie")),this._$script=Sn.find(fr(".script")),this._$stylesheet=Sn.find(fr(".stylesheet")),this._$iframe=Sn.find(fr(".iframe")),this._$image=Sn.find(fr(".image"))}},{key:"_bindEvent",value:function(){var Sn=this,Nn=this._$el,jn=this._container;function _r(Rr,Ur){var Qr=jn.get("sources");if(Qr)return Qr.set(Rr,Ur),jn.showTool("sources"),!0}function Nr(Rr){return function(Ur){if(jn.get("sources")){Ur.preventDefault();var Qr=_e()(this).attr("href");Rr!=="iframe"&&nl()(location.href,Qr)?rl()({url:Qr,success:function(pa){_r(Rr,pa)},dataType:"raw"}):_r("iframe",Qr)}}}Nn.on("click",".eruda-refresh-script",function(){jn.notify("Refreshed"),Sn.refreshScript()}).on("click",".eruda-refresh-stylesheet",function(){jn.notify("Refreshed"),Sn.refreshStylesheet()}).on("click",".eruda-refresh-iframe",function(){jn.notify("Refreshed"),Sn.refreshIframe()}).on("click",".eruda-refresh-image",function(){jn.notify("Refreshed"),Sn.refreshImage()}).on("click",".eruda-img-link",function(){_r("img",_e()(this).attr("src"))}).on("click",".eruda-css-link",Nr("css")).on("click",".eruda-js-link",Nr("js")).on("click",".eruda-iframe-link",Nr("iframe"))}},{key:"_rmCfg",value:function(){var Sn=this.config,Nn=this._container.get("settings");Nn&&Nn.remove(Sn,"hideErudaSetting").remove(Sn,"observeElement").remove("Resources")}},{key:"_initCfg",value:function(){var Sn=this,Nn=this.config=wr.createCfg("resources",{hideErudaSetting:!0,observeElement:!0});Nn.get("hideErudaSetting")&&(this._hideErudaSetting=!0),Nn.get("observeElement")||(this._observeElement=!1),Nn.on("change",function(jn,_r){switch(jn){case"hideErudaSetting":return void(Sn._hideErudaSetting=_r);case"observeElement":return Sn._observeElement=_r,_r?Sn._enableObserver():Sn._disableObserver()}}),this._container.get("settings").text("Resources").switch(Nn,"hideErudaSetting","Hide Eruda Setting").switch(Nn,"observeElement","Auto Refresh Elements").separator()}},{key:"_initObserver",value:function(){var Sn=this;this._observer=new(ki())(function(Nn){ze()(Nn,function(jn){Sn._handleMutation(jn)})})}},{key:"_handleMutation",value:function(Sn){var Nn=this;if(!zr(Sn.target)){var jn=function(Ur){var Qr=function(pa){return pa.tagName?pa.tagName.toLowerCase():""}(Ur);switch(Qr){case"script":Nn.refreshScript();break;case"img":Nn.refreshImage();break;case"link":Nn.refreshStylesheet()}};if(Sn.type==="attributes")jn(Sn.target);else if(Sn.type==="childList"){jn(Sn.target);var _r,Nr=Ds()(Sn.addedNodes),Rr=qi(Nr=Nl()(Nr,Ds()(Sn.removedNodes)));try{for(Rr.s();!(_r=Rr.n()).done;)jn(_r.value)}catch(Ur){Rr.e(Ur)}finally{Rr.f()}}}}},{key:"_enableObserver",value:function(){this._observer.observe(document.documentElement,{attributes:!0,childList:!0,subtree:!0})}},{key:"_disableObserver",value:function(){this._observer.disconnect()}}]),qn}(pe),Vs=/\.(jpeg|jpg|gif|png)$/,Mi=function(sr){return Vs.test(sr)},al=n(4541),zs=n.n(al),Fs=zs()(),ol=[{name:"Location",val:function(){return qa()(location.href)}},{name:"User Agent",val:navigator.userAgent},{name:"Device",val:["",'"),""),""),"
    screen'.concat(screen.width," * ").concat(screen.height,"
    viewport".concat(window.innerWidth," * ").concat(window.innerHeight,"
    pixel ratio".concat(window.devicePixelRatio,"
    "].join("")},{name:"System",val:["",'"),""),"
    os'.concat(xa()(),"
    browser".concat(Fs.name+" "+Fs.version,"
    "].join("")},{name:"About",val:'Eruda v3.0.1'},{name:"Backers",val:function(){return'')}}],il=n(550),sl=n.n(il);function Ll(sr){var rr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var Ol=function(sr){(0,V.Z)(qn,sr);var rr=Ll(qn);function qn(){var Sn;return(0,y.Z)(this,qn),(Sn=rr.call(this))._style=lr(n(879)),Sn.name="info",Sn._infos=[],Sn}return(0,L.Z)(qn,[{key:"init",value:function(Sn,Nn){(0,ue.Z)((0,j.Z)(qn.prototype),"init",this).call(this,Sn),this._container=Nn,this._addDefInfo(),this._bindEvent()}},{key:"destroy",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"destroy",this).call(this),lr.remove(this._style)}},{key:"add",value:function(Sn,Nn){var jn=this._infos,_r=!1;return ze()(jn,function(Nr){Sn===Nr.name&&(Nr.val=Nn,_r=!0)}),_r||jn.push({name:Sn,val:Nn}),this._render(),this}},{key:"get",value:function(Sn){var Nn,jn=this._infos;return Pr()(Sn)?sl()(jn):(ze()(jn,function(_r){Sn===_r.name&&(Nn=_r.val)}),Nn)}},{key:"remove",value:function(Sn){for(var Nn=this._infos,jn=Nn.length-1;jn>=0;jn--)Nn[jn].name===Sn&&Nn.splice(jn,1);return this._render(),this}},{key:"clear",value:function(){return this._infos=[],this._render(),this}},{key:"_addDefInfo",value:function(){var Sn=this;ze()(ol,function(Nn){return Sn.add(Nn.name,Nn.val)})}},{key:"_render",value:function(){var Sn=[];ze()(this._infos,function(jn){var _r=jn.name,Nr=jn.val;ja()(Nr)&&(Nr=Nr()),Sn.push({name:_r,val:Nr})});var Nn="
      ".concat(Qn()(Sn,function(jn){return'
    • ').concat(qa()(jn.name),'

      ').concat(jn.val,"
    • ")}).join(""),"
    ");this._renderHtml(Nn)}},{key:"_bindEvent",value:function(){var Sn=this._container;this._$el.on("click",fr(".copy"),function(){var Nn=_e()(this).parent().parent(),jn=Nn.find(fr(".title")).text(),_r=Nn.find(fr(".content")).text();ai()("".concat(jn,": ").concat(_r)),Sn.notify("Copied")})}},{key:"_renderHtml",value:function(Sn){Sn!==this._lastHtml&&(this._lastHtml=Sn,this._$el.html(Sn))}}]),qn}(pe),ll=n(8299),ul=n(8368),cl=n.n(ul),Dl=n(3651),Rl=n.n(Dl),Hs=n(7049);function dl(sr){var rr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var qn,Sn=(0,j.Z)(sr);if(rr){var Nn=(0,j.Z)(this).constructor;qn=Reflect.construct(Sn,arguments,Nn)}else qn=Sn.apply(this,arguments);return(0,z.Z)(this,qn)}}var fl=function(sr){(0,V.Z)(qn,sr);var rr=dl(qn);function qn(){var Sn;return(0,y.Z)(this,qn),(Sn=rr.call(this))._style=lr(n(1344)),Sn.name="sources",Sn._showLineNum=!0,Sn}return(0,L.Z)(qn,[{key:"init",value:function(Sn,Nn){(0,ue.Z)((0,j.Z)(qn.prototype),"init",this).call(this,Sn),this._container=Nn,this._bindEvent(),this._initCfg()}},{key:"destroy",value:function(){(0,ue.Z)((0,j.Z)(qn.prototype),"destroy",this).call(this),lr.remove(this._style),this._rmCfg()}},{key:"set",value:function(Sn,Nn){if(Sn==="img"){this._isFetchingData=!0;var jn=new Image,_r=this;return jn.onload=function(){_r._isFetchingData=!1,_r._data={type:"img",val:{width:this.width,height:this.height,src:Nn}},_r._render()},jn.onerror=function(){_r._isFetchingData=!1},void(jn.src=Nn)}return this._data={type:Sn,val:Nn},this._render(),this}},{key:"show",value:function(){return(0,ue.Z)((0,j.Z)(qn.prototype),"show",this).call(this),this._data||this._isFetchingData||this._renderDef(),this}},{key:"_renderDef",value:function(){var Sn=this;if(this._html)return this._data={type:"html",val:this._html},this._render();this._isGettingHtml||(this._isGettingHtml=!0,rl()({url:location.href,success:function(Nn){return Sn._html=Nn},error:function(){return Sn._html="Sorry, unable to fetch source code:("},complete:function(){Sn._isGettingHtml=!1,Sn._renderDef()},dataType:"raw"}))}},{key:"_bindEvent",value:function(){var Sn=this;this._container.on("showTool",function(Nn,jn){Nn!==Sn.name&&jn.name===Sn.name&&delete Sn._data})}},{key:"_rmCfg",value:function(){var Sn=this.config,Nn=this._container.get("settings");Nn&&Nn.remove(Sn,"showLineNum").remove("Sources")}},{key:"_initCfg",value:function(){var Sn=this,Nn=this.config=wr.createCfg("sources",{showLineNum:!0});Nn.get("showLineNum")||(this._showLineNum=!1),Nn.on("change",function(jn,_r){jn!=="showLineNum"||(Sn._showLineNum=_r)}),this._container.get("settings").text("Sources").switch(Nn,"showLineNum","Show Line Numbers").separator()}},{key:"_render",value:function(){switch(this._isInit=!0,this._data.type){case"html":case"js":case"css":return this._renderCode();case"img":return this._renderImg();case"object":return this._renderObj();case"raw":return this._renderRaw();case"iframe":return this._renderIframe()}}},{key:"_renderImg",value:function(){var Sn=this._data.val,Nn=Sn.width,jn=Sn.height,_r=Sn.src;this._renderHtml('
    -
    ').concat(qa()(_r),`
    -
    - -
    -
    ').concat(qa()(Nn)," × ").concat(qa()(jn),`
    -
    `))}},{key:"_renderCode",value:function(){var Sn=this._data;this._renderHtml('
    '),!1);var Nn=Sn.val,jn=Sn.val.length;jn>Ji&&(Nn=Ei()(Nn,Ji)),jn'),!1);var Sn=this._data.val;try{kt()(Sn)&&(Sn=JSON.parse(Sn))}catch{}new ll.Z(this._$el.find(".eruda-json").get(0),{unenumerable:!0,accessGetter:!0}).set(Sn)}},{key:"_renderRaw",value:function(){var Sn=this._data;this._renderHtml('
    -
    -
    `));var Nn=Sn.val,jn=this._$el.find(fr(".raw")).get(0);Nn.length>Ji&&(Nn=Ei()(Nn,Ji)),new Hs.Z(jn,{text:Nn,wrapLongLines:!0,showLineNumbers:Nn.length'))}},{key:"_renderHtml",value:function(Sn){var Nn=this;(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])&&Sn===this._lastHtml||(this._lastHtml=Sn,this._$el.html(Sn),setTimeout(function(){return Nn._$el.get(0).scrollTop=0},0))}}]),qn}(pe),Bl=3e4,pl=8e4,Ji=1e5,Vl=n(5166),zl=n.n(Vl),Fl=n(3514),Hl=n.n(Fl),Gl={init:function(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},rr=sr.container,qn=sr.tool,Sn=sr.autoScale,Nn=Sn===void 0||Sn,jn=sr.useShadowDom,_r=jn===void 0||jn,Nr=sr.defaults,Rr=Nr===void 0?{}:Nr;this._isInit||(this._isInit=!0,this._scale=1,this._initContainer(rr,_r),this._initStyle(),this._initDevTools(Rr),this._initEntryBtn(),this._initSettings(),this._initTools(qn),this._registerListener(),Nn&&this._autoScale())},_isInit:!1,version:"3.0.1",util:g,chobitsu:Zn,Tool:pe,Console:Ss,Elements:Ys,Network:To,Sources:fl,Resources:Bs,Info:Ol,Snippets:el,Settings:wr,get:function(sr){if(this._checkInit()){if(sr==="entryBtn")return this._entryBtn;var rr=this._devTools;return sr?rr.get(sr):rr}},add:function(sr){if(this._checkInit())return ja()(sr)&&(sr=sr(this)),this._devTools.add(sr),this},remove:function(sr){return this._devTools.remove(sr),this},show:function(sr){if(this._checkInit()){var rr=this._devTools;return sr?rr.showTool(sr):rr.show(),this}},hide:function(){if(this._checkInit())return this._devTools.hide(),this},destroy:function(){this._devTools.destroy(),delete this._devTools,this._entryBtn.destroy(),delete this._entryBtn,this._unregisterListener(),_e()(this._container).remove(),lr.clear(),this._isInit=!1,this._container=null,this._shadowRoot=null},scale:function(sr){return so()(sr)?(this._scale=sr,le.emit(le.SCALE,sr),this):this._scale},position:function(sr){var rr=this._entryBtn;return zl()(sr)?(rr.setPos(sr),this):rr.getPos()},_autoScale:function(){wo()()&&this.scale(1/Hl()())},_registerListener:function(){var sr=this;this._addListener=function(){return sr.add.apply(sr,arguments)},this._showListener=function(){return sr.show.apply(sr,arguments)},le.on(le.ADD,this._addListener),le.on(le.SHOW,this._showListener),le.on(le.SCALE,lr.setScale)},_unregisterListener:function(){le.off(le.ADD,this._addListener),le.off(le.SHOW,this._showListener),le.off(le.SCALE,lr.setScale)},_checkInit:function(){return this._isInit||Ia.error('Please call "eruda.init()" first'),this._isInit},_initContainer:function(sr,rr){var qn,Sn;sr||(sr=document.createElement("div"),document.documentElement.appendChild(sr)),sr.id="eruda",sr.style.all="initial",this._container=sr,rr&&(sr.attachShadow?qn=sr.attachShadow({mode:"open"}):sr.createShadowRoot&&(qn=sr.createShadowRoot()),qn&&(lr.container=document.head,lr(n(5357)+n(9327)+n(4821)+n(8903)+n(5777)),Sn=document.createElement("div"),qn.appendChild(Sn),this._shadowRoot=qn)),this._shadowRoot||(Sn=document.createElement("div"),sr.appendChild(Sn)),In()(Sn,{className:"eruda-container __chobitsu-hide__",contentEditable:!1}),zs()().name==="ios"&&Sn.setAttribute("ontouchstart",""),this._$el=_e()(Sn)},_initDevTools:function(sr){this._devTools=new Ho(this._$el,{defaults:sr})},_initStyle:function(){var sr="eruda-style-container",rr=this._$el;this._shadowRoot?(lr.container=this._shadowRoot,lr(":host { all: initial }")):(rr.append('
    ')),lr.container=rr.find(".".concat(sr)).get(0)),lr(n(8020)+n(4821)+n(9327)+n(7591)+n(4987)+n(8903)+n(5512)+n(2156)+n(5777)+n(7871)+n(6833)+n(8516)+n(5357))},_initEntryBtn:function(){var sr=this;this._entryBtn=new Ma(this._$el),this._entryBtn.on("click",function(){return sr._devTools.toggle()})},_initSettings:function(){var sr=this._devTools,rr=new wr;sr.add(rr),this._entryBtn.initCfg(rr),sr.initCfg(rr)},_initTools:function(){var sr=this,rr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["console","elements","network","resources","sources","info","snippets"];rr=Ds()(rr);var qn=this._devTools;rr.forEach(function(Sn){var Nn=sr[Ni()(Sn)];try{Nn&&qn.add(new Nn)}catch(jn){Mr()(function(){Ia.error("Something wrong when initializing tool ".concat(Sn,":"),jn.message)})}}),qn.showTool(rr[0]||"settings")}}},2027:function(t,r,n){var g=n(6672).Z;t.exports=g,t.exports.default=g},6610:function(t,r,n){n.r(r),r.default={}},9143:function(t,r,n){var g=this&&this.__awaiter||function(ie,le,ue,de){return new(ue||(ue=Promise))(function(pe,he){function _e(xe){try{$e(de.next(xe))}catch(Ie){he(Ie)}}function Ce(xe){try{$e(de.throw(xe))}catch(Ie){he(Ie)}}function $e(xe){var Ie;xe.done?pe(xe.value):(Ie=xe.value,Ie instanceof ue?Ie:new ue(function(Ne){Ne(Ie)})).then(_e,Ce)}$e((de=de.apply(ie,le||[])).next())})},y=this&&this.__generator||function(ie,le){var ue,de,pe,he,_e={label:0,sent:function(){if(1&pe[0])throw pe[1];return pe[1]},trys:[],ops:[]};return he={next:Ce(0),throw:Ce(1),return:Ce(2)},typeof Symbol=="function"&&(he[Symbol.iterator]=function(){return this}),he;function Ce($e){return function(xe){return function(Ie){if(ue)throw new TypeError("Generator is already executing.");for(;_e;)try{if(ue=1,de&&(pe=2&Ie[0]?de.return:Ie[0]?de.throw||((pe=de.return)&&pe.call(de),0):de.next)&&!(pe=pe.call(de,Ie[1])).done)return pe;switch(de=0,pe&&(Ie=[2&Ie[0],pe.value]),Ie[0]){case 0:case 1:pe=Ie;break;case 4:return _e.label++,{value:Ie[1],done:!1};case 5:_e.label++,de=Ie[1],Ie=[0];continue;case 7:Ie=_e.ops.pop(),_e.trys.pop();continue;default:if(pe=_e.trys,!((pe=pe.length>0&&pe[pe.length-1])||Ie[0]!==6&&Ie[0]!==2)){_e=0;continue}if(Ie[0]===3&&(!pe||Ie[1]>pe[0]&&Ie[1]",vn))return void jt.push(hn);var Tn=[];Ce.default(hn.attributes,function(kn){var On=kn.name,Rn=kn.value;return Tn.push(On,Rn)});for(var xn=0,En=Tn.length;xn",ue.default.parse(vn)[0].attrs))},r.setAttributeValue=function(Lt){var vn=Lt.nodeId,jt=Lt.name,At=Lt.value;j.getNode(vn).setAttribute(jt,At)};var Et=[];function kt(Lt,vn){for(var jt=z.filterNodes(Lt.childNodes),At=0,hn=jt.length;At5&&Et.pop();for(var jt=0;jt<5;jt++)Ne.setGlobal("$"+jt,Et[jt])},r.setNodeValue=function(Lt){var vn=Lt.nodeId,jt=Lt.value;j.getNode(vn).nodeValue=jt},r.setOuterHTML=function(Lt){var vn=Lt.nodeId,jt=Lt.outerHTML;j.getNode(vn).outerHTML=jt},r.getDOMNodeId=function(Lt){var vn=Lt.node;return{nodeId:z.getOrCreateNodeId(vn)}},r.getDOMNode=function(Lt){var vn=Lt.nodeId;return{node:j.getNode(vn)}},ae.default.on("attributes",function(Lt,vn){var jt=j.getNodeId(Lt);if(jt){var At=Lt.getAttribute(vn);ie.default(At)?V.default.trigger("DOM.attributeRemoved",{nodeId:jt,name:vn}):V.default.trigger("DOM.attributeModified",{nodeId:jt,name:vn,value:At})}}),ae.default.on("childList",function(Lt,vn,jt){var At=j.getNodeId(Lt);if(At){if(vn=z.filterNodes(vn),jt=z.filterNodes(jt),!le.default(vn)){kn();for(var hn=0,bn=vn.length;hn0||qe)&&(Ne.children=de(_e,xe)),Ne}function de(_e,Ce){var $e=pe(_e.childNodes);return y.default($e,function(xe){return ue(xe,{depth:Ce-1})})}function pe(_e){return L.default(_e,function(Ce){return he(Ce)})}function he(_e){if(_e.nodeType===1){var Ce=_e.getAttribute("class")||"";if(z.default(Ce,"__chobitsu-hide__")||z.default(Ce,"html2canvas-container"))return!1}var $e=!(_e.nodeType===3&&V.default(_e.nodeValue||"")==="");return $e&&_e.parentNode?he(_e.parentNode):$e}r.getOrCreateNodeId=le,r.clear=function(){ae.clear(),oe.clear()},r.getNodeId=function(_e){return oe.get(_e)},r.wrap=ue,r.getChildNodes=de,r.getPreviousNode=function(_e){var Ce=_e.previousSibling;if(Ce){for(;!he(Ce)&&Ce.previousSibling;)Ce=Ce.previousSibling;return Ce&&he(Ce)?Ce:void 0}},r.filterNodes=pe,r.isValidNode=he,r.getNode=function(_e){var Ce=ae.get(_e);if(!Ce||Ce.nodeType===10)throw re.createErr(-32e3,"Could not find node with given id");return Ce}},7923:function(t,r,n){var g=this&&this.__importDefault||function(Cn){return Cn&&Cn.__esModule?Cn:{default:Cn}};Object.defineProperty(r,"__esModule",{value:!0}),r.getProperties=r.releaseObj=r.getObj=r.wrap=r.clear=void 0;var y=g(n(3367)),L=g(n(6156)),$=g(n(6472)),V=g(n(4777)),z=g(n(9833)),j=g(n(2749)),re=g(n(3708)),ae=g(n(7470)),oe=g(n(1754)),ie=g(n(3085)),le=g(n(2533)),ue=g(n(300)),de=g(n(1116)),pe=g(n(8740)),he=g(n(415)),_e=g(n(9804)),Ce=g(n(6257)),$e=new Map,xe=new Map,Ie=new Map,Ne=new Map,ze=1;function Fe(Cn,Tn){var xn=xe.get(Cn);return xn||(xn=JSON.stringify({injectedScriptId:0,id:ze++}),xe.set(Cn,xn),$e.set(xn,Cn),Ie.set(xn,Tn),xn)}function qe(Cn,Tn){var xn=Tn===void 0?{}:Tn,En=xn.generatePreview,kn=En!==void 0&&En,On=xn.self,Rn=On===void 0?Cn:On,In=At(Cn),Mn=In.type,Vn=In.subtype;return Mn==="undefined"?In:Mn==="string"||Mn==="boolean"||Vn==="null"?(In.value=Cn,In):(In.description=jt(Cn,Rn),Mn==="number"?(In.value=Cn,In):Mn==="symbol"?(In.objectId=Fe(Cn,Rn),In):(In.className=Mn==="function"?"Function":Vn==="array"?"Array":Vn==="map"?"Map":Vn==="set"?"Set":Vn==="regexp"?"RegExp":Vn==="error"?Cn.name:ie.default(Cn,!1),kn&&(In.preview=Lt(Cn,Rn)),In.objectId=Fe(Cn,Rn),In))}function Et(Cn){return $e.get(Cn)}r.clear=function(){$e.clear(),xe.clear(),Ie.clear()},r.wrap=qe,r.getObj=Et,r.releaseObj=function(Cn){var Tn=Et(Cn);xe.delete(Tn),Ie.delete(Cn),$e.delete(Cn)},r.getProperties=function(Cn){for(var Tn=Cn.accessorPropertiesOnly,xn=Cn.objectId,En=Cn.ownProperties,kn=Cn.generatePreview,On=[],Rn={prototype:!En,unenumerable:!0,symbol:!Tn},In=$e.get(xn),Mn=Ie.get(xn),Vn=de.default(In,Rn),zn=he.default(In),Jn=0,tr=Vn.length;Jnkt&&(Rn=kt,En=!0);for(var In=0;Inkt){En=!0;break}Vn.push({key:Lt(Jn),value:Lt(Cn.get(Jn))}),In++,Jn=zn.next().value}xn.entries=Vn}else if(ae.default(Cn)){var tr=[],$n=(In=0,Cn.keys());for(Jn=$n.next().value;Jn;){if(In>kt){En=!0;break}tr.push({value:Lt(Jn)}),In++,Jn=$n.next().value}xn.entries=tr}return xn.overflow=En,xn}function vn(Cn,Tn){var xn=At(Tn);xn.name=Cn;var En,kn=xn.subtype;return En=xn.type==="object"?kn==="null"?"null":kn==="array"?"Array("+Tn.length+")":kn==="map"?"Map("+Tn.size+")":kn==="set"?"Set("+Tn.size+")":ie.default(Tn,!1):y.default(Tn),xn.value=En,xn}function jt(Cn,Tn){Tn===void 0&&(Tn=Cn);var xn=At(Cn),En=xn.type,kn=xn.subtype;return En==="string"?Cn:En==="number"||En==="symbol"?y.default(Cn):En==="function"?ue.default(Cn):kn==="array"?"Array("+Cn.length+")":kn==="map"?"Map("+Tn.size+")":kn==="set"?"Set("+Tn.size+")":kn==="regexp"?y.default(Cn):kn==="error"?Cn.stack:kn==="internal#entry"?Cn.name?'{"'+y.default(Cn.name)+'" => "'+y.default(Cn.value)+'"}':'"'+y.default(Cn.value)+'"':ie.default(Cn,!1)}function At(Cn){var Tn=typeof Cn,xn="object";if(Cn instanceof hn)xn="internal#entry";else if(L.default(Cn))xn="null";else if($.default(Cn))xn="array";else if(oe.default(Cn))xn="regexp";else if(j.default(Cn))xn="error";else if(re.default(Cn))xn="map";else if(ae.default(Cn))xn="set";else try{z.default(Cn)&&(xn="node")}catch{}return{type:Tn,subtype:xn}}var hn=function(Cn,Tn){Tn&&(this.name=Tn),this.value=Cn};function bn(Cn){return Cn instanceof hn||!!(Cn[0]&&Cn[0]instanceof hn)}},2636:function(t,r,n){var g,y=this&&this.__extends||(g=function(kt,Lt){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(vn,jt){vn.__proto__=jt}||function(vn,jt){for(var At in jt)jt.hasOwnProperty(At)&&(vn[At]=jt[At])},g(kt,Lt)},function(kt,Lt){function vn(){this.constructor=kt}g(kt,Lt),kt.prototype=Lt===null?Object.create(Lt):(vn.prototype=Lt.prototype,new vn)}),L=this&&this.__importDefault||function(kt){return kt&&kt.__esModule?kt:{default:kt}};Object.defineProperty(r,"__esModule",{value:!0}),r.fullUrl=r.FetchRequest=r.XhrRequest=void 0;var $=L(n(1443)),V=L(n(6768)),z=L(n(9702)),j=L(n(6334)),re=L(n(8887)),ae=L(n(4331)),oe=L(n(8847)),ie=L(n(3783)),le=L(n(6930)),ue=L(n(3875)),de=n(316),pe=function(kt){function Lt(vn,jt,At){var hn=kt.call(this)||this;return hn.xhr=vn,hn.reqHeaders={},hn.method=jt,hn.url=Ne(At),hn.id=de.createId(),hn}return y(Lt,kt),Lt.prototype.toJSON=function(){return{method:this.method,url:this.url,id:this.id}},Lt.prototype.handleSend=function(vn){V.default(vn)||(vn=""),vn={name:ze(this.url),url:this.url,data:vn,time:oe.default(),reqHeaders:this.reqHeaders,method:this.method},re.default(this.reqHeaders)||(vn.reqHeaders=this.reqHeaders),this.emit("send",this.id,vn)},Lt.prototype.handleReqHeadersSet=function(vn,jt){vn&&jt&&(this.reqHeaders[vn]=jt)},Lt.prototype.handleHeadersReceived=function(){var vn=this.xhr,jt=Fe(vn.getResponseHeader("Content-Type")||"");this.emit("headersReceived",this.id,{type:jt.type,subType:jt.subType,size:xe(vn,!0,this.url),time:oe.default(),resHeaders:$e(vn)})},Lt.prototype.handleDone=function(){var vn,jt,At,hn=this,bn=this.xhr,Cn=bn.responseType,Tn="",xn=function(){hn.emit("done",hn.id,{status:bn.status,size:xe(bn,!1,hn.url),time:oe.default(),resTxt:Tn})},En=Fe(bn.getResponseHeader("Content-Type")||"");Cn!=="blob"||En.type!=="text"&&En.subType!=="javascript"&&En.subType!=="json"?(Cn!==""&&Cn!=="text"||(Tn=bn.responseText),Cn==="json"&&(Tn=JSON.stringify(bn.response)),xn()):(vn=bn.response,jt=function(kn,On){On&&(Tn=On),xn()},(At=new FileReader).onload=function(){jt(null,At.result)},At.onerror=function(kn){jt(kn)},At.readAsText(vn))},Lt}($.default);r.XhrRequest=pe;var he=function(kt){function Lt(vn,jt){jt===void 0&&(jt={});var At=kt.call(this)||this;return vn instanceof window.Request&&(vn=vn.url),At.url=Ne(vn),At.id=de.createId(),At.options=jt,At.reqHeaders=jt.headers||{},At.method=jt.method||"GET",At}return y(Lt,kt),Lt.prototype.send=function(vn){var jt=this,At=this.options,hn=V.default(At.body)?At.body:"";this.emit("send",this.id,{name:ze(this.url),url:this.url,data:hn,reqHeaders:this.reqHeaders,time:oe.default(),method:this.method}),vn.then(function(bn){var Cn=Fe((bn=bn.clone()).headers.get("Content-Type"));return bn.text().then(function(Tn){var xn={type:Cn.type,subType:Cn.subType,time:oe.default(),size:_e(bn,Tn),resTxt:Tn,resHeaders:Ce(bn),status:bn.status};re.default(jt.reqHeaders)||(xn.reqHeaders=jt.reqHeaders),jt.emit("done",jt.id,xn)}),bn})},Lt}($.default);function _e(kt,Lt){var vn=kt.headers.get("Content-length");return vn?ue.default(vn):Et(Lt)}function Ce(kt){var Lt={};return kt.headers.forEach(function(vn,jt){return Lt[jt]=vn}),Lt}function $e(kt){var Lt=kt.getAllResponseHeaders().split(` -`),vn={};return ie.default(Lt,function(jt){if((jt=ae.default(jt))!==""){var At=jt.split(":",2),hn=At[0],bn=At[1];vn[hn]=ae.default(bn)}}),vn}function xe(kt,Lt,vn){var jt=0;function At(){if(!Lt){var hn=kt.responseType,bn="";hn!==""&&hn!=="text"||(bn=kt.responseText),bn&&(jt=Et(bn))}}if(function(hn){return!le.default(hn,qe)}(vn))At();else try{jt=ue.default(kt.getResponseHeader("Content-Length"))}catch{At()}return jt===0&&At(),jt}r.FetchRequest=he;var Ie=document.createElement("a");function Ne(kt){return Ie.href=kt,Ie.protocol+"//"+Ie.host+Ie.pathname+Ie.search+Ie.hash}function ze(kt){var Lt=z.default(kt.split("/"));return Lt.indexOf("?")>-1&&(Lt=ae.default(Lt.split("?")[0])),Lt===""&&(Lt=new j.default(kt).hostname),Lt}function Fe(kt){if(!kt)return{type:"unknown",subType:"unknown"};var Lt=kt.split(";")[0].split("/");return{type:Lt[0],subType:z.default(Lt)}}r.fullUrl=Ne;var qe=window.location.origin;function Et(kt){var Lt=encodeURIComponent(kt).match(/%[89ABab]/g);return kt.length+(Lt?Lt.length:0)}},316:function(t,r,n){var g,y=this&&this.__extends||(g=function(he,_e){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ce,$e){Ce.__proto__=$e}||function(Ce,$e){for(var xe in $e)$e.hasOwnProperty(xe)&&(Ce[xe]=$e[xe])},g(he,_e)},function(he,_e){function Ce(){this.constructor=he}g(he,_e),he.prototype=_e===null?Object.create(_e):(Ce.prototype=_e.prototype,new Ce)}),L=this&&this.__awaiter||function(he,_e,Ce,$e){return new(Ce||(Ce=Promise))(function(xe,Ie){function Ne(qe){try{Fe($e.next(qe))}catch(Et){Ie(Et)}}function ze(qe){try{Fe($e.throw(qe))}catch(Et){Ie(Et)}}function Fe(qe){var Et;qe.done?xe(qe.value):(Et=qe.value,Et instanceof Ce?Et:new Ce(function(kt){kt(Et)})).then(Ne,ze)}Fe(($e=$e.apply(he,_e||[])).next())})},$=this&&this.__generator||function(he,_e){var Ce,$e,xe,Ie,Ne={label:0,sent:function(){if(1&xe[0])throw xe[1];return xe[1]},trys:[],ops:[]};return Ie={next:ze(0),throw:ze(1),return:ze(2)},typeof Symbol=="function"&&(Ie[Symbol.iterator]=function(){return this}),Ie;function ze(Fe){return function(qe){return function(Et){if(Ce)throw new TypeError("Generator is already executing.");for(;Ne;)try{if(Ce=1,$e&&(xe=2&Et[0]?$e.return:Et[0]?$e.throw||((xe=$e.return)&&xe.call($e),0):$e.next)&&!(xe=xe.call($e,Et[1])).done)return xe;switch($e=0,xe&&(Et=[2&Et[0],xe.value]),Et[0]){case 0:case 1:xe=Et;break;case 4:return Ne.label++,{value:Et[1],done:!1};case 5:Ne.label++,$e=Et[1],Et=[0];continue;case 7:Et=Ne.ops.pop(),Ne.trys.pop();continue;default:if(xe=Ne.trys,!((xe=xe.length>0&&xe[xe.length-1])||Et[0]!==6&&Et[0]!==2)){Ne=0;continue}if(Et[0]===3&&(!xe||Et[1]>xe[0]&&Et[1]*{vertical-align:top}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#5e5e5e}.luna-console-log-item .luna-console-log-content .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:#0d22aa}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#881391}.luna-console-log-item .luna-console-data-grid,.luna-console-log-item .luna-console-dom-viewer{white-space:initial}.luna-console-log-item.luna-console-error{z-index:50;background:#fff0f0;color:red;border-top:1px solid #ffd6d6;border-bottom:1px solid #ffd6d6}.luna-console-log-item.luna-console-error .luna-console-stack{padding-left:1.2em;white-space:nowrap}.luna-console-log-item.luna-console-error .luna-console-count{background:red}.luna-console-log-item.luna-console-debug{z-index:20}.luna-console-log-item.luna-console-input{border-bottom-color:transparent}.luna-console-log-item.luna-console-warn{z-index:40;color:#5c5c00;background:#fffbe5;border-top:1px solid #fff5c2;border-bottom:1px solid #fff5c2}.luna-console-log-item.luna-console-warn .luna-console-count{background:#e8a400}.luna-console-log-item.luna-console-info{z-index:30}.luna-console-log-item.luna-console-group,.luna-console-log-item.luna-console-groupCollapsed{font-weight:700}.luna-console-preview{display:inline-block}.luna-console-preview .luna-console-preview-container{display:flex;align-items:center}.luna-console-preview .luna-console-json{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-left:12px}.luna-console-preview .luna-console-preview-icon-container{display:block}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon{position:relative;font-size:12px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-down{top:2px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-right{top:1px}.luna-console-preview .luna-console-preview-content-container{word-break:break-all}.luna-console-preview .luna-console-descriptor,.luna-console-preview .luna-console-object-preview{font-style:italic}.luna-console-preview .luna-console-key{color:#881391}.luna-console-preview .luna-console-number{color:#1c00cf}.luna-console-preview .luna-console-null{color:#5e5e5e}.luna-console-preview .luna-console-string{color:#c41a16}.luna-console-preview .luna-console-boolean{color:#0d22aa}.luna-console-preview .luna-console-special{color:#5e5e5e}.luna-console-theme-dark{color-scheme:dark}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item{background:#29323d}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#4173b4}.luna-console-theme-dark .luna-console-log-item{color:#a5a5a5;border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-keyword{color:#e36eec}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-operator{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-comment{color:#747474}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-log-item.luna-console-error{background:#290000;color:#ff8080;border-top-color:#5c0000;border-bottom-color:#5c0000}.luna-console-theme-dark .luna-console-log-item.luna-console-error .luna-console-count{background:#ff8080}.luna-console-theme-dark .luna-console-log-item.luna-console-warn{color:#ffcb6b;background:#332a00;border-top-color:#650;border-bottom-color:#650}.luna-console-theme-dark .luna-console-log-item .luna-console-count{background:#42597f;color:#949494}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-boolean,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#e36eec}.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-right{color:#9aa0a6}.luna-console-theme-dark .luna-console-header{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level{border-right-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level::before{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-preview .luna-console-key{color:#e36eec}.luna-console-theme-dark .luna-console-preview .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-null{color:#7f7f7f}.luna-console-theme-dark .luna-console-preview .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-preview .luna-console-boolean{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-special{color:#7f7f7f}`,""]),t.exports=r},4987:function(t,r,n){(r=n(3645)(!1)).push([t.id,'.luna-data-grid{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;font-size:12px;border:1px solid #ccc;overflow:hidden;outline:0}.luna-data-grid.luna-data-grid-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-data-grid.luna-data-grid-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-data-grid .luna-data-grid-hidden,.luna-data-grid.luna-data-grid-hidden{display:none}.luna-data-grid .luna-data-grid-invisible,.luna-data-grid.luna-data-grid-invisible{visibility:hidden}.luna-data-grid *{box-sizing:border-box}.luna-data-grid.luna-data-grid-theme-dark{color:#a5a5a5;background-color:#242424}.luna-data-grid.luna-data-grid-theme-dark{color:#a5a5a5;background:#242424;border-color:#3d3d3d}.luna-data-grid table{width:100%;height:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.luna-data-grid td,.luna-data-grid th{padding:1px 4px;border-left:1px solid #ccc;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.luna-data-grid td:first-child,.luna-data-grid th:first-child{border-left:none}.luna-data-grid th{font-weight:400;border-bottom:1px solid #ccc;text-align:left;background:#f3f3f3}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{background:#e6e6e6}.luna-data-grid td{height:20px;cursor:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-data-grid:focus .luna-data-grid-node.luna-data-grid-selected{color:#fff;background:#1a73e8}.luna-data-grid:focus.luna-data-grid-theme-dark .luna-data-grid-node.luna-data-grid-selected{background:#0e639c}.luna-data-grid-data-container,.luna-data-grid-header-container{overflow:hidden}.luna-data-grid-header-container{height:21px}.luna-data-grid-data-container{overflow-y:auto}.luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#ddd}.luna-data-grid-data-container tr:nth-child(even){background:#f2f7fd}.luna-data-grid-filler-row td{height:auto}.luna-data-grid-resizer{position:absolute;top:0;bottom:0;width:5px;z-index:500;touch-action:none;cursor:col-resize}.luna-data-grid-resizing{cursor:col-resize!important}.luna-data-grid-resizing .luna-data-grid *{cursor:col-resize!important}.luna-data-grid-theme-dark{color-scheme:dark}.luna-data-grid-theme-dark td,.luna-data-grid-theme-dark th{border-color:#3d3d3d}.luna-data-grid-theme-dark th{background:#292a2d}.luna-data-grid-theme-dark th.luna-data-grid-sortable:hover{background:#303030}.luna-data-grid-theme-dark .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#393939}.luna-data-grid-theme-dark .luna-data-grid-data-container tr:nth-child(even){background:#0b2544}',""]),t.exports=r},8903:function(t,r,n){(r=n(3645)(!1)).push([t.id,"@font-face{font-family:luna-dom-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAASgAAsAAAAAB4QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFwAAACMIRYl8k9TLzIAAAFkAAAAPQAAAFZLxUkaY21hcAAAAaQAAADHAAACWBcU1KRnbHlmAAACbAAAAC4AAAAwabU7V2hlYWQAAAKcAAAALwAAADZzjr4faGhlYQAAAswAAAAYAAAAJAFyANdobXR4AAAC5AAAABAAAAA4AZAAAGxvY2EAAAL0AAAAEAAAAB4AnACQbWF4cAAAAwQAAAAfAAAAIAEZAA9uYW1lAAADJAAAASkAAAIWm5e+CnBvc3QAAARQAAAATgAAAG5m1cqleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiC2AdNMDGwMckCSGyzHCuSxA2kuIJ+HgReoggtJnANMcwJFGRmYAXZLBkt4nGNgZJBlnMDAysDAUMfQAyRloHQCAyeDMQMDEwMrMwNWEJDmmsJwgEH3IxPDCSBXCEwyMDCCCABbzwhtAAAAeJy1kksKwjAQhr/0oX0JLlyIZ9BDCQXtRkEEwQO56uV6Av0nmZWI4MIJX2H+JvNIBiiBXGxFAWEkYPaQGqKe00S94C5/xVJKwY49PQNnLly5Tdnzqb9JPXByNUT13YKipLVm4wvmilvR0ilfrboKFsy0N9OB2Yco32z+437SLVTQdo05dUksgF8z/8+6+B3dU2m67YR1u3fsLXtH7egtEq04OhZpcKzbk1OLs2NzcXE0F3rNhOW9ObqbKSRsVqYsQfYC6fYeiQB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOLeSTNM4/ltvjJwM5wACkRxPt7XgKCBYCXDMiDJwcAE4gAAQEgKxAB4nGNgZGBgOMHAACdXMjAyoAI+ADixAkp4nGNgAIITUEwCAABMyAGReJxjYAACHgYJ7BAADsoBLXicY2BkYGDgY2BmANEMDExAzAWEDAz/wXwGAAomASkAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxk0KgCAUAOE3/adlJ/FQgqBuFETw+i2kTd9mRiYZvv4ZJmYWVjZ2Dk4UmosbwyPK1Vq69aVnPbamEBuOSqFj8WQSgUgTeQGPtA2iAAA=') format('woff')}[class*=' luna-dom-viewer-icon-'],[class^=luna-dom-viewer-icon-]{display:inline-block;font-family:luna-dom-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-dom-viewer-icon-arrow-down:before{content:'\\f101'}.luna-dom-viewer-icon-arrow-right:before{content:'\\f102'}.luna-dom-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:0 0;overflow-x:hidden;word-wrap:break-word;padding:0 0 0 12px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;cursor:default;list-style:none}.luna-dom-viewer.luna-dom-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-viewer.luna-dom-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-viewer .luna-dom-viewer-hidden,.luna-dom-viewer.luna-dom-viewer-hidden{display:none}.luna-dom-viewer .luna-dom-viewer-invisible,.luna-dom-viewer.luna-dom-viewer-invisible{visibility:hidden}.luna-dom-viewer *{box-sizing:border-box}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#a5a5a5;background-color:#242424}.luna-dom-viewer ul{list-style:none}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#e8eaed}.luna-dom-viewer-toggle{min-width:12px;margin-left:-12px}.luna-dom-viewer-icon-arrow-down,.luna-dom-viewer-icon-arrow-right{position:absolute!important;font-size:12px!important}.luna-dom-viewer-tree-item{line-height:16px;min-height:16px;position:relative;z-index:10;outline:0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection,.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{display:block}.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#f2f7fd}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#e0e0e0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#cfe8fc}.luna-dom-viewer-tree-item .luna-dom-viewer-icon-arrow-down{display:none}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-arrow-down{display:inline-block}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-arrow-right{display:none}.luna-dom-viewer-html-tag{color:#881280}.luna-dom-viewer-tag-name{color:#881280}.luna-dom-viewer-attribute-name{color:#994500}.luna-dom-viewer-attribute-value{color:#1a1aa6}.luna-dom-viewer-attribute-value.luna-dom-viewer-attribute-underline{text-decoration:underline}.luna-dom-viewer-html-comment{color:#236e25}.luna-dom-viewer-selection{position:absolute;display:none;left:-10000px;right:-10000px;top:0;bottom:0;z-index:-1}.luna-dom-viewer-children{margin:0;overflow-x:visible;overflow-y:visible;padding-left:15px}.luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#881280}.luna-dom-viewer-text-node .luna-dom-viewer-number{color:#1c00cf}.luna-dom-viewer-text-node .luna-dom-viewer-operator{color:grey}.luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#236e25}.luna-dom-viewer-text-node .luna-dom-viewer-string{color:#1a1aa6}.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-arrow-down,.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-arrow-right{color:#9aa0a6}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-tag,.luna-dom-viewer-theme-dark .luna-dom-viewer-tag-name{color:#5db0d7}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-name{color:#9bbbdc}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-value{color:#f29766}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-comment{color:#898989}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#083c69}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#454545}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#073d69}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#e36eec}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-number{color:#9980ff}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:#7f7f7f}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#747474}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-string{color:#f29766}",""]),t.exports=r},5512:function(t,r,n){(r=n(3645)(!1)).push([t.id,`@font-face{font-family:luna-modal-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAQwAAsAAAAABpQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAEkAAABoILgliE9TLzIAAAFUAAAAPQAAAFZL+0kZY21hcAAAAZQAAACBAAAB3sqmCy5nbHlmAAACGAAAAC0AAAA0Ftcaz2hlYWQAAAJIAAAALgAAADZzhL4YaGhlYQAAAngAAAAYAAAAJAFoANBobXR4AAACkAAAAA8AAAAcAMgAAGxvY2EAAAKgAAAADgAAABAATgBObWF4cAAAArAAAAAfAAAAIAESABhuYW1lAAAC0AAAASkAAAIWm5e+CnBvc3QAAAP8AAAAMQAAAEOplauDeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiCWgNIsQMzKwAykWRnYgGxGBiYAk+wFgwAAAHicY2BkkGWcwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAIfkjI8MJIFcITDIwMIIIAGAqCKIAAAB4nM2RQQqDQAxFXxyVUsST9DhduBd3ggsv0JX39QT6kwYED1D6hzeQD0nmM0ADFPESNdiG4frItfALz/Br3qp7HlS0jEzMLKy7HYf8e33J1HMdortoWuPzreUX8p2hEikj9f+oi3vIyl86JpWYEvfnxH9sSTzPmijXbl+wE7urE5sAAAB4nGNgZACB+UDIzcBgrs6uzi7OLm4ubq4+j1tfn1tPD0xOhjGAJAMDAKekBtMAAAB4nGNgZGBgAGLPuE0l8fw2Xxm4GU4ABaI4H+9rQNBAMB8IGRg4GJhAHAA5KgqUAAB4nGNgZGBgOMHAACfnMzAyoAJ2ADfsAjl4nGNgAIITDFgBABIUAMkAeJxjYAACKQQEAAO4AJ0AAHicY2BkYGBgZ+BhANEMDExAzAWEDAz/wXwGAApKASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxjYGKAABiNDtgZmRiZGVkYWRnZGNkZORhYk3Pyi1MZkxlzGPMZixlTGRgANIEEbAAAAA==') format('woff')}[class*=' luna-modal-icon-'],[class^=luna-modal-icon-]{display:inline-block;font-family:luna-modal-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-modal-icon-close:before{content:'\\f101'}.luna-modal{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center}.luna-modal.luna-modal-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-modal.luna-modal-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-modal .luna-modal-hidden,.luna-modal.luna-modal-hidden{display:none}.luna-modal .luna-modal-invisible,.luna-modal.luna-modal-invisible{visibility:hidden}.luna-modal *{box-sizing:border-box}.luna-modal.luna-modal-theme-dark{color:#a5a5a5;background-color:#242424}.luna-modal-icon-close{position:absolute;right:16px;top:18px;cursor:pointer;font-size:20px}.luna-modal-body{position:relative;background:#fff;max-height:100%;display:flex;flex-direction:column;border-radius:4px}.luna-modal-body.luna-modal-no-title{position:static}.luna-modal-body.luna-modal-no-title .luna-modal-title{display:none}.luna-modal-body.luna-modal-no-title .luna-modal-icon-close{color:#fff}.luna-modal-body.luna-modal-no-footer .luna-modal-footer{display:none}.luna-modal-hidden{display:none}.luna-modal-title{padding:16px;padding-right:36px;padding-bottom:0;font-size:18px;height:46px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-modal-content{padding:16px;overflow-y:auto}.luna-modal-footer{padding:12px}.luna-modal-button-group{display:flex;justify-content:flex-end}.luna-modal-button{padding:0 12px;background:#e9ecef;cursor:default;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 4px;font-size:12px;border-radius:4px;overflow:hidden;height:28px;line-height:28px}.luna-modal-button:active::before{background:#1a73e8;content:"";opacity:.4;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.luna-modal-button.luna-modal-secondary{color:#1a73e8;border:1px solid #ccc;background:#fff}.luna-modal-button.luna-modal-primary{color:#fff;background:#1a73e8}.luna-modal-input{box-sizing:border-box;outline:0;width:100%;font-size:16px;padding:6px 12px;border:1px solid #ccc;-webkit-appearance:none;-moz-appearance:none}.luna-modal-theme-dark{color:#a5a5a5}.luna-modal-theme-dark .luna-modal-body{background:#242424}`,""]),t.exports=r},7591:function(t,r,n){(r=n(3645)(!1)).push([t.id,".luna-notification{position:fixed;top:0;left:0;width:100%;height:100%;padding:20px;box-sizing:border-box;pointer-events:none;display:flex;flex-direction:column;font-size:14px;font-family:Arial,Helvetica,sans-serif}.luna-notification-item{display:flex;box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1);padding:10px 16px;color:#333;background:#fff}.luna-notification-lower{margin-top:16px}.luna-notification-upper{margin-bottom:16px}.luna-notification-theme-dark .luna-notification-item{box-shadow:0 2px 2px 0 rgba(255,255,255,.07),0 1px 5px 0 rgba(255,255,255,.1);color:#a5a5a5;background:#242424}",""]),t.exports=r},4821:function(t,r,n){(r=n(3645)(!1)).push([t.id,"@font-face{font-family:luna-object-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS8AAsAAAAAB7QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAGEAAACMISgl+k9TLzIAAAFsAAAAPQAAAFZLxUkWY21hcAAAAawAAADWAAACdBU42qdnbHlmAAAChAAAAC4AAAAwabU7V2hlYWQAAAK0AAAALwAAADZzjr4faGhlYQAAAuQAAAAYAAAAJAFyANlobXR4AAAC/AAAABAAAABAAZAAAGxvY2EAAAMMAAAAEAAAACIAtACobWF4cAAAAxwAAAAfAAAAIAEbAA9uYW1lAAADPAAAASkAAAIWm5e+CnBvc3QAAARoAAAAUwAAAHZW8MNZeJxNjTsOQFAQRc/z/+sV1mABohKV0gZeJRJR2X9cT4RJZu7nFIMBMjoGvHGaF6rdngcNAc/c/O/Nvq2W5E1igdNE2zv1iGh1c5FQPlYXUlJRyxt9+/pUKadQa/AveGEGZQAAAHicY2BkkGScwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAQfcjE8MJIFcITDIwMIIIAFqDCGkAAAB4nM2STQ4BQRCFv54ZP8MwFhYW4gQcShBsSERi50BWDuFCcwJedddKRGKnOt8k9aanqudVAy0gF3NRQLgTsLhJDVHP6UW94Kp8zEhKwYIlG/YcOXHm0mTPp96aumLLwdUQ1fcIqmJrwpSZL+iqak5JmyE1Ayr1bdGhr/2ZPmp/qPQtuj/uJzqQl+pfDyypesQD6AT/ElV8PjyrMccT9rdLR3PUFBI227VTio1jbm6dodg5VnPvmAsHxzofHfmi+Sbs/pwdWcXFkWdNSNg9arIE2QufuSCyAAB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOINe2b6x/PbfGXgZjgBFIjifLyvAUEDwUqGZUCSg4EJxAEAUn4LLAB4nGNgZGBgOMHAACdXMjAyoAIBADizAkx4nGNgAIITUEwGAABZUAGReJxjYAACHgYJ3BAAE94BXXicY2BkYGAQYGBmANEMDExAzAWEDAz/wXwGAApcASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxjkOgCAUANE/uOOGB+FQBIjaaEJIuL6FsfE1M6Lk9fXPoKioaWjp6BnQjEzMLKwYNtHepZhtuMs1vpvO/ch4HIlIxhK4KVyc7BwiD8nvDlkA') format('woff')}[class*=' luna-object-viewer-icon-'],[class^=luna-object-viewer-icon-]{display:inline-block;font-family:luna-object-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-object-viewer-icon-caret-down:before{content:'\\f101'}.luna-object-viewer-icon-caret-right:before{content:'\\f102'}.luna-object-viewer{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;cursor:default;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.2;min-height:100%;color:#333;list-style:none!important}.luna-object-viewer ul{list-style:none!important;padding:0!important;padding-left:12px!important;margin:0!important}.luna-object-viewer li{position:relative;white-space:nowrap;line-height:16px;min-height:16px}.luna-object-viewer>li>.luna-object-viewer-key{display:none}.luna-object-viewer span{position:static!important}.luna-object-viewer li .luna-object-viewer-collapsed~.luna-object-viewer-close:before{color:#999}.luna-object-viewer-array .luna-object-viewer-object .luna-object-viewer-key{display:inline}.luna-object-viewer-null{color:#5e5e5e}.luna-object-viewer-regexp,.luna-object-viewer-string{color:#c41a16}.luna-object-viewer-number{color:#1c00cf}.luna-object-viewer-boolean{color:#0d22aa}.luna-object-viewer-special{color:#5e5e5e}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:#881391}.luna-object-viewer-key-lighter{opacity:.6}.luna-object-viewer-key-special{color:#5e5e5e}.luna-object-viewer-collapsed .luna-object-viewer-icon,.luna-object-viewer-expanded .luna-object-viewer-icon{position:absolute!important;left:-12px;color:#727272;font-size:12px}.luna-object-viewer-icon-caret-right{top:0}.luna-object-viewer-icon-caret-down{top:1px}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-down{display:inline}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-right{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-down{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-right{display:inline}.luna-object-viewer-hidden~ul{display:none}.luna-object-viewer-theme-dark{color:#fff}.luna-object-viewer-theme-dark .luna-object-viewer-null,.luna-object-viewer-theme-dark .luna-object-viewer-special{color:#a1a1a1}.luna-object-viewer-theme-dark .luna-object-viewer-regexp,.luna-object-viewer-theme-dark .luna-object-viewer-string{color:#f28b54}.luna-object-viewer-theme-dark .luna-object-viewer-boolean,.luna-object-viewer-theme-dark .luna-object-viewer-number{color:#9980ff}.luna-object-viewer-theme-dark .luna-object-viewer-key,.luna-object-viewer-theme-dark .luna-object-viewer-key-lighter{color:#5db0d7}",""]),t.exports=r},7871:function(t,r,n){(r=n(3645)(!1)).push([t.id,`.luna-setting{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;min-width:320px}.luna-setting.luna-setting-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-setting.luna-setting-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-setting .luna-setting-hidden,.luna-setting.luna-setting-hidden{display:none}.luna-setting .luna-setting-invisible,.luna-setting.luna-setting-invisible{visibility:hidden}.luna-setting *{box-sizing:border-box}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:#f3f3f3}.luna-setting-item.luna-setting-selected:focus{outline:1px solid #1a73e8}.luna-setting-item .luna-setting-title{line-height:1.4em;font-weight:600}.luna-setting-item .luna-setting-description{line-height:1.4em}.luna-setting-item .luna-setting-description *{margin:0}.luna-setting-item .luna-setting-description strong{font-weight:600}.luna-setting-item .luna-setting-description a{background-color:transparent;color:#0969da;text-decoration:none}.luna-setting-item .luna-setting-control,.luna-setting-item .luna-setting-description{font-size:12px}.luna-setting-item .luna-setting-description{margin-bottom:8px}.luna-setting-item .luna-setting-control{display:flex;align-items:center}.luna-setting-item-button,.luna-setting-item-checkbox,.luna-setting-item-input,.luna-setting-item-number,.luna-setting-item-select,.luna-setting-item-title{padding:10px}.luna-setting-item-title{font-size:18px;font-weight:600}.luna-setting-item-input input{-webkit-tap-highlight-color:transparent;color:#333;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;outline:0;padding:2px 8px;border-radius:0;font-size:14px;background:#fff;width:100%}.luna-setting-item-number input[type=number]{-webkit-tap-highlight-color:transparent;color:#333;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;outline:0;padding:2px 8px;border-radius:0;font-size:14px;background:#fff;width:200px;padding:2px}.luna-setting-item-number .luna-setting-range-container{flex:2;position:relative;top:1px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track{height:4px;width:100%;padding:0 10px;position:absolute;left:0;top:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#ccc;border-radius:2px;overflow:hidden;width:100%;height:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{height:100%;background:#1a73e8;width:50%}.luna-setting-item-number .luna-setting-range-container input{-webkit-appearance:none;background:0 0;height:4px;width:100%;position:relative;top:-3px;margin:0 auto;outline:0;border-radius:2px}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{-webkit-appearance:none;position:relative;top:0;z-index:1;width:16px;border:none;height:16px;border-radius:10px;border:1px solid #ccc;background:radial-gradient(circle at center,#eee 0,#eee 15%,#fff 22%,#fff 100%)}.luna-setting-item-checkbox input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;border:1px solid #ccc;border-radius:0;position:relative;outline:0;margin-left:0;margin-right:8px;transition:background-color .1s;align-self:flex-start;flex-shrink:0}.luna-setting-item-checkbox input:checked{background-color:#1a73e8;border-color:#1a73e8}.luna-setting-item-checkbox input:checked:after{content:"";width:100%;height:100%;position:absolute;left:0;top:0;background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjZmZmZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgdmVyc2lvbj0iMS4xIiB4PSIwcHgiIHk9IjBweCI+PHRpdGxlPmljb25fYnlfUG9zaGx5YWtvdjEwPC90aXRsZT48ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz48ZyBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsPSIjZmZmZmZmIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNi4wMDAwMDAsIDI2LjAwMDAwMCkiPjxwYXRoIGQ9Ik0xNy45OTk5ODc4LDMyLjQgTDEwLjk5OTk4NzgsMjUuNCBDMTAuMjI2Nzg5MSwyNC42MjY4MDE0IDguOTczMTg2NDQsMjQuNjI2ODAxNCA4LjE5OTk4Nzc5LDI1LjQgTDguMTk5OTg3NzksMjUuNCBDNy40MjY3ODkxNCwyNi4xNzMxOTg2IDcuNDI2Nzg5MTQsMjcuNDI2ODAxNCA4LjE5OTk4Nzc5LDI4LjIgTDE2LjU4NTc3NDIsMzYuNTg1Nzg2NCBDMTcuMzY2ODIyOCwzNy4zNjY4MzUgMTguNjMzMTUyOCwzNy4zNjY4MzUgMTkuNDE0MjAxNCwzNi41ODU3ODY0IEw0MC41OTk5ODc4LDE1LjQgQzQxLjM3MzE4NjQsMTQuNjI2ODAxNCA0MS4zNzMxODY0LDEzLjM3MzE5ODYgNDAuNTk5OTg3OCwxMi42IEw0MC41OTk5ODc4LDEyLjYgQzM5LjgyNjc4OTEsMTEuODI2ODAxNCAzOC41NzMxODY0LDExLjgyNjgwMTQgMzcuNzk5OTg3OCwxMi42IEwxNy45OTk5ODc4LDMyLjQgWiI+PC9wYXRoPjwvZz48L2c+PC9nPjwvc3ZnPg==);background-size:30px;background-repeat:no-repeat;background-position:center}.luna-setting-item-checkbox label{-webkit-tap-highlight-color:transparent}.luna-setting-item-checkbox label *{margin:0}.luna-setting-item-select .luna-setting-select{position:relative}.luna-setting-item-select .luna-setting-select select{margin:0;font-size:14px;background:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;padding:2px 8px;padding-right:18px;outline:0;color:#333;border-radius:0;-webkit-tap-highlight-color:transparent}.luna-setting-item-select .luna-setting-select:after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #333;position:absolute;top:0;bottom:0;right:6px;margin:auto;pointer-events:none}.luna-setting-item-select .luna-setting-select select{width:300px}.luna-setting-item-button button{-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #ccc;padding:2px 8px;color:#1a73e8;font-size:14px;border-radius:2px}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:#f3f3f3}.luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-item-separator{border-bottom:1px solid #ccc}.luna-setting-theme-dark{color-scheme:dark;color:#a5a5a5;background:#242424}.luna-setting-theme-dark .luna-setting-item.luna-setting-selected,.luna-setting-theme-dark .luna-setting-item:hover{background:#292a2d}.luna-setting-theme-dark .luna-setting-item .luna-setting-description a{background-color:transparent;color:#58a6ff}.luna-setting-theme-dark .luna-setting-item-separator{border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-input input{background:#3d3d3d;border-color:#3d3d3d;color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-checkbox input{border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select select{color:#a5a5a5;border-color:#3d3d3d;background:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select:after{border-top-color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-button button{background:#242424;border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-button button:active,.luna-setting-theme-dark .luna-setting-item-button button:hover{background:#292a2d}.luna-setting-theme-dark .luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-theme-dark .luna-setting-item-number input[type=number]{background:#3d3d3d;border-color:#3d3d3d;color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:#3d3d3d;background:radial-gradient(circle at center,#aaa 0,#aaa 15%,#ccc 22%,#ccc 100%)}`,""]),t.exports=r},2156:function(t,r,n){(r=n(3645)(!1)).push([t.id,".luna-tab{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;overflow:hidden;width:100%}.luna-tab.luna-tab-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-tab.luna-tab-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-tab .luna-tab-hidden,.luna-tab.luna-tab-hidden{display:none}.luna-tab .luna-tab-invisible,.luna-tab.luna-tab-invisible{visibility:hidden}.luna-tab *{box-sizing:border-box}.luna-tab.luna-tab-theme-dark{color:#a5a5a5;background-color:#242424}.luna-tab-tabs-container{border-bottom:1px solid #ccc}.luna-tab-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;width:100%;height:100%;font-size:0;white-space:nowrap}.luna-tab-tabs::-webkit-scrollbar{display:none;width:0;height:0}.luna-tab-item{cursor:pointer;display:inline-block;padding:0 10px;font-size:12px;text-align:center;text-transform:capitalize}.luna-tab-item:hover{background:#f3f3f3}.luna-tab-slider{transition:left .3s,width .3s;height:1px;background:#1a73e8;position:absolute;bottom:0;left:0}",""]),t.exports=r},5777:function(t,r,n){(r=n(3645)(!1)).push([t.id,"@font-face{font-family:luna-text-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS0AAsAAAAAB2QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFQAAAB0INElr09TLzIAAAFcAAAAPQAAAFZL+0klY21hcAAAAZwAAACfAAACEAEewxRnbHlmAAACPAAAAIYAAACkNSDggmhlYWQAAALEAAAALgAAADZzrb4oaGhlYQAAAvQAAAAWAAAAJAGRANNobXR4AAADDAAAABAAAAAoAZAAAGxvY2EAAAMcAAAAEAAAABYBWgFIbWF4cAAAAywAAAAdAAAAIAEXADtuYW1lAAADTAAAASkAAAIWm5e+CnBvc3QAAAR4AAAAOwAAAFJIWdOleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBWAdNMDGwMQkAWK1CGlYEZyGMCstiBMpxAUUYGZgDbGgXDeJxjYGTQYJzAwMrAwFDH0AMkZaB0AgMngzEDAxMDKzMDVhCQ5prCcIAh+SMTwwkgVwhMMjAwgggAY84IrgAAAHicvZFLCsMwDERHzsdJ6aL0HD1VQiDQRbIN9Axd9aI+QTpjq5Bdd5F4Bo1lybIBNAAq8iA1YB8YZG+qlvUKl6zXGBjf6MofMWHGEyu2FPb9oCxULCtHs3yy+J2urg1rtojo0HM/MKnFGabOGlbdYvdT+1N6/7drXl8e6Vajo3efHP3b7HAUvntBMy1OJKujMTeHNZMV9McpFBC+tLgY4QB4nGNgZACBEwzrGdgZGOwZxdnVDdXNPfKEGlhchO0KhZtZ3IQYmMFq1jCsZpBi0GLQY2AwNzGzZjQSk2UUYdNmVFID8UyVRUXYlNRMlVGlTM1FjU3tmZkTmVhYmFRBhHwoCyuzKgtTIjMzWJg3ZClIGMRlZQmVB7GhMixM0aGhQIsB52sTqgAAeJxjYGRgYADi2JNxkvH8Nl8ZuBlOAAWiOB/va0DQQHCCYT2Q5GBgAnEANJ0KnQAAeJxjYGRgYDjBwIBEMjKgAi4AOvoCZQAAeJxjYACCE1CMBwAAM7gBkXicY2AAAiGGIFQIABXIAqN4nGNgZGBg4GLQZ2BmAAEmMI8LSP4H8xkADjQBUwAAAHicZZA9bsJAFITHYEgCUoIUKSmzVQoimZ+SA0BPQZfCmLUxsr3WekGiywlyhBwhp4hyghwoY/NoYC0/fzNv3u7KAAb4hYd6ebhtar1auKE6cZv0IOyTn4U76ONFuEt/KNzDG6bCfTzinTt4/h2dAUrhFu7xIdym/ynsk7+EO3jCt3CX/o9wDyv8Cffx6g3TyBSxKdxSJ/sstGd5/q60rVJTqEkwPlsLXWgbOr1R66OqDsnUuVjF1uRqzq7OMqNKa3Y6csHWuXI2GsXiB5HJkSKCQYG4qQ5LaCTYI0MIe9W91CumLSr6tVaYIMD4KrVgqmiSIZXGhsk1jqwVDjxtStcxrfhazuSkucxq3iQjK/7vurejE9EPsG2mSsww4hNf5IPmDvk/PRFeqAAAAHicXcU7CsAgFEXBe4x/l/kQBAtt3X0KSZNpRk7X91/F8eAJRBKZQqUp2Og2va19MAadyWJzpBd4kgcWAA==') format('woff')}[class*=' luna-text-viewer-icon-'],[class^=luna-text-viewer-icon-]{display:inline-block;font-family:luna-text-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-text-viewer-icon-check:before{content:'\\f101'}.luna-text-viewer-icon-copy:before{content:'\\f102'}.luna-text-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;padding:0;unicode-bidi:embed;position:relative;overflow:auto;border:1px solid #ccc}.luna-text-viewer.luna-text-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-text-viewer.luna-text-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-text-viewer .luna-text-viewer-hidden,.luna-text-viewer.luna-text-viewer-hidden{display:none}.luna-text-viewer .luna-text-viewer-invisible,.luna-text-viewer.luna-text-viewer-invisible{visibility:hidden}.luna-text-viewer *{box-sizing:border-box}.luna-text-viewer.luna-text-viewer-theme-dark{color:#d9d9d9;border-color:#3d3d3d;background:#242424}.luna-text-viewer:hover .luna-text-viewer-copy{opacity:1}.luna-text-viewer-table{display:table}.luna-text-viewer-table .luna-text-viewer-line-number,.luna-text-viewer-table .luna-text-viewer-line-text{padding:0}.luna-text-viewer-table-row{display:table-row}.luna-text-viewer-line-number{display:table-cell;padding:0 3px 0 8px!important;text-align:right;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #ccc}.luna-text-viewer-line-text{display:table-cell;padding-left:4px!important;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer-copy{background:#fff;opacity:0;position:absolute;right:5px;top:5px;border:1px solid #ccc;border-radius:4px;width:25px;height:25px;text-align:center;line-height:25px;cursor:pointer;transition:opacity .3s,top .3s}.luna-text-viewer-copy .luna-text-viewer-icon-check{color:#188037}.luna-text-viewer-text{padding:4px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;box-sizing:border-box;white-space:pre;display:block}.luna-text-viewer-text.luna-text-viewer-line-numbers{padding:0}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines{white-space:pre-wrap}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines .luna-text-viewer-line-text{word-break:break-all}.luna-text-viewer-theme-dark{color-scheme:dark}.luna-text-viewer-theme-dark .luna-text-viewer-copy,.luna-text-viewer-theme-dark .luna-text-viewer-line-number{border-color:#3d3d3d}.luna-text-viewer-theme-dark .luna-text-viewer-copy .luna-text-viewer-icon-check{color:#81c995}.luna-text-viewer-theme-dark .luna-text-viewer-copy{background-color:#242424}",""]),t.exports=r},5357:function(t,r,n){(r=n(3645)(!1)).push([t.id,"@font-face{font-family:eruda-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAA6UAAsAAAAAGvAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAARoAAAHeLjoycE9TLzIAAAIkAAAAPwAAAFZWm1KoY21hcAAAAmQAAAFdAAADwhPu1O9nbHlmAAADxAAAB+wAAA9I7RPQpGhlYWQAAAuwAAAAMQAAADZ26MSyaGhlYQAAC+QAAAAdAAAAJAgEBC9obXR4AAAMBAAAAB0AAACwXAv//GxvY2EAAAwkAAAAOwAAAFpuVmoybWF4cAAADGAAAAAfAAAAIAE9AQ1uYW1lAAAMgAAAASkAAAIWm5e+CnBvc3QAAA2sAAAA5QAAAU4VMmUJeJxNkD1Ow0AQhb9NHGISCH9RiB0cErCNHRrqFFSIyqKiQHSpEFJERUnBCTgPZ+AEHIe34wDe1f69efPezOKAHldc07q5re4ZrFevL8QE1MPHm3e3fn5aEf6+FAvsDHHuTUoxd7zzwSdffLulq9wjLbaYau8TacZMONE554xzZsrtNfBEzFOhbSmOyTmga0ikvRR/37RSsSMyDukYPjWdgGOtsSK55Y/k0Bf/ksK0MrbFr70idsVZKNPnDcSay3umd2TISCvWTJSxI78lFQ/C+qbv/Zo9tNXDP55ZL7k0Q90u5F5XX0qrYx16btccCtXg/ULrKzGFuqY9rUTMhf3fkCNj+MxUnsM/frr5Qx+ZbH4vVQ0F5Q/ZQBvxAAB4nGNgZJJgnMDAysDA1Mt0hoGBoR9CM75mMGLkAIoysDIzYAUBaa4pDAcYdD+KsIC4MSxMDIxAGoQZALgnCOUAeJy1011SGlEQhuF3BFHxD5UUyr8gIJIsiiKJsSqJlrHKsJssKFeuxF6Bfj3dF96aqhzqoZnDzJyG8w2wCVTko1SheKLAx1/NFuV8hXo5X+WPjht6+fmfWHLDHQ+srfnykjMrvnPPoxXlzNtRlFc26HLBZblal1N9ntBnwIgx5/SYMaWt78+YM6TDgitduaEVq+q0xhbb7KifPQ441N2OOOaEJh9oaYka7xvdd57vQz1P+oPR+Bx6s2lbrc6H0Flc/cO9/sfY87fiOY8u8X0J/muX6VRW6UI+p4l8SX35mgZynUbyLY3lJukf0e6HnvxIM/mZpnKb2nKXvM/7dCa/0lwe0lAeU0d+p4Wsk3bBiuDptY2A10rw9Fo1eOJtM/iTYLWA162A1+2A152A13rwJ8R2g++AJaUU2w/KK3YQlFzsMCjDWCMozdhRUK6x46CEYydBWceagdYraihRngAAAHic7RdbbBxX9Z57Z2d2d2ZndryzM7ve9ax3NztjO/bann0lTuW16zoBJSWJ7Zg83NiUJCQ1Ik2ikKQJNC9FFQqVEG0RVLQoSpEKH2klqgpEIyWAUMRTNBJC/PUDhETgiwhQd8y5s1s7oqr624/srO6ce89zzjn3nHsJEPwxyn5GVEJKBTcCdc80pAiYhkjfNWL+NnhLdTKqfxVOqJlxFX6E84wb86/6X4+5GRLw0/vsOgkREoFGBFx62P/uFviBP78FWrC02d/r79vcpmMl+k2uBwwJxIILTrVeyXsmK8krRLb5YGqUaCb9ksYnMuBqMtnRcY6V1nidml6texaY9CxSRm3TtKNIjcxrUjhEWKD3OnuNJEgPKSG/I6nUpo06fxwXH8lmEoyDFQIVyrROs7254z990rj0u2PLez47WqG1yu69V7ZdfDxU9He4C6P+v+HN+vlnD9Uou0Zp+NnfvveT/XL0kbGFxT/u37tx7CTdeuGlKfiibcMr/gt9qfyu05e4+YEdb7A3iEVG0ArdEAvDIPHBqTbB7bgCDA0sdH0x3/nEHDT4YFJi9siz74iaOBkK3ZyRTRXwE+FGG15BeA0Pf14hqinP3AyFJnHhnVm5xzThmNSBNFjDdvwzw75GFJIlvWhZ1UHlYlI3zIputa3CSduiRF7P09e9on+jODpanPOKsJMDOPV2wU7/BqsVPcQ2ix41X/8ARKpbfhPVtHNgik1hXAhIlmQ1rIbbcCVIzN/7+65794KRTc13IBwJXVkhRACBkAEyhVyiBqJbRn81YRjKUDfRN9xHpoVBt0xJRZ+iS4ehZFg2utJrjCO2GrAUAizcj+c3pXpiXVQwThZmdNrbrx+hAjtjbhSF5FPyKSsqmGraWKYCbfl97vMLi79fXHje7XsAhBsoo0P35fyMPpCj+lM0FDptJexuYzl82upRufxlKgrTh/+fOwBXc+Jt9jZJBTnxUbH/yGT5j4jRT2pB9O1oO/oi3FyD2/ggU14LY/j5RuHTJIZf5LR/WVmbaB2CT6xdQa4KwJZIHPfyMFoWRNSmQZDLlJVpdRw8GwwVWEGlScOGijdOq2VKyfHDB7/d1/+d37zXeT/dXG42l7/Kh2a20pd0JpxsxTVNt8KWyuu/94Ujr+7uvFpvQXP5PCfEAU4l+6pZZ9Ix3eqGqmsGrvok28V+zi6TKEYyi/Udt0MNavkkJC1e+vQA1tGqil6EV93j/UBbY0AXm/2Vku+z53x/8MDT5879U9Nb4Cqq/yf/WEjReiECfS9+C2f/6umFS/77q3t7kp0nGu8DTrFTQrwG1KtsoHVXlnXL0qMKHTRpGbaJlt7aoVsSbO3aQFb5L7MTJElIwrBMvnWxQteCEl2QREn8Ci/Ef9i7u1IT6tX5Pb/ePV+rUXKEL3DMkUPzc6OeNzo3/6C8K2QdrzVlKAYyHhBcxGgUyoCRqXimJZXYwYO1y1tWxQWKLkyfunpqevrU5vJs4SQ02JUDw94qMlC6maORJpc9AR/Sm7C4cK7S4MoL/FNqFYy+Nw5VbpIoWaWXP0atf+fj1Lb36w12h6SxShIouuNQw+TCVDNsWvHqDStpNUoFnobUs6mhUvpmn+r2VxaeuXjmCc974vSjm44OxfytrXeH5iaKxYm5fXMThcLEHLwcGzq66dHTnObMxWcWKv2u2tfa1ipMzu7rEM5OFshqLfsFu4R9thszrVjAUoHFgH98DxRreb3CK74rMTh/bWmJTq9Pd0nCZOvsbfrYrVsTty9cOPc5Or2U6spq8rXbrbNAL9yeuHWLYuEnEiErK0JIAPIN8kNyl9wn/yUt7mioN6GGTi1jDQrypNPRxQ+8zREatnUsVtgbcDHAaZA0rc6TxOIWLPFVXLDbvYRT45CDSnBOqFhee4aTcWw8gapGnS+Z+EYrOuqh825jrY5WSVwPDSewh/OWqYueCJQFEjhELTdgcdEODjUCo5yge7lcAlJxRSgceyZyu5LFfqnaeldKlsyunnK6N6LEaUSqTSndgpZK7jC7NZaR7LGcGhXwgMNC+WFt0MxEomZcECQ9EY4JkgAQDilSNKnGuxXJ0u2hdG9YUZkiZcfWpaOWkUv0G6IaCseVVH81o0dEEClKGokassX0hKSk44PxBGOS4E8cmNk+OMSY5+2cXfz8zI4hrG4jI9tnFpW/hqKx7PCnH1O7wpFkqeANT4IUVhopPTUwnNJxzSlUzLASV+4YfUIkpoQFTYvoMUFkJgtJ/Z6VEIyymx4usdCW5CuDc9s+dZDm6GeiejTl1jN6VFKUdMHMlUIWzaQEOdyrKHIsL0VZJB0TE1rUlLvCo71yPKya3dW+ONBQRBajUdPuKoXFsBAOiYoUdx7JtSXlU3ZJNAW1O+4ktBCFqBjLJhMW97JgyonISE5kVIJQJJ6tO6nueCJj1TV/D6uMzu06tH/H44NlRr3RnbNPLu7cXh75sWOklURzi5ZI9dgqG6tuEAf0bkWX0/0j6S6+RjfaYiQsbkKHhuNdms6kUExWZNGSlJgzkjIGjPK61KjLxOvGc/1/27r9KOQe7omHe+LhnvjQnmArLTyHMYHiPbGbFLEL4Q1BxOsiHrfy2HIBz67BXQbPsVbB4TNDZP/wF4x63cAxUl/PRtbXI61f2QM2/iuZUqleKr3ABp1Mxnn/rjvpOJN0b9K2k/73+Xi/VHOcGl4qyf8AzjWNo3icY2BkYGAA4uhnXafj+W2+MnCzgASiOB/va4DR///+/8/CysIElOBgAJEMAHS2DWQAAAB4nGNgZGBgYQABFtb/f///ZWFlYGRABToAW+YEPQAAAHicY2BgYGAhiP//J6wGCbNCMcP/vwxUBgDl4QRhAAAAeJxjYAACBQYThiCGAoYtjAyMZowBjPuYuJjCmBYxvWNWYXZhzmFewfyIRYUliPUOexr7EmIhAF3rF0sAeJxjYGRgYNBhZGRgZwABJiDmAkIGhv9gPgMADcIBTAB4nGWQPW7CQBSEx2BIAlKCFCkps1UKIpmfkgNAT0GXwpi1MbK91npBossJcoQcIaeIcoIcKGPzaGAtP38zb97uygAG+IWHenm4bWq9WrihOnGb9CDsk5+FO+jjRbhLfyjcwxumwn084p07eP4dnQFK4Rbu8SHcpv8p7JO/hDt4wrdwl/6PcA8r/An38eoN08gUsSncUif7LLRnef6utK1SU6hJMD5bC11oGzq9Ueujqg7J1LlYxdbkas6uzjKjSmt2OnLB1rlyNhrF4geRyZEigkGBuKkOS2gk2CNDCHvVvdQrpi0q+rVWmCDA+Cq1YKpokiGVxobJNY6sFQ48bUrXMa34Ws7kpLnMat4kIyv+77q3oxPRD7BtpkrMMOITX+SD5g75Pz0RXqgAAAB4nG2MyW6DQBiD+RKYpKT7vqf7Gg55pNHwEyJNGDSMRHj70nKtD7Zly45G0YA0+h8LRoyJSVBMmLJDyoxd9tjngEOOOOaEU84454JLrrjmhlvuuGfOA4888cwLr7zxzgeffPHNgixKtfeuzawUYTZYv16VITXaS8hy11azwf7FibGi/dS4Te2laWLj6k7lYiVIIv3aK9nWusqng2TLsXR900m2VMXaBvFxbXWnvBjn84mXor8pk54kqKa/NmUvVkyIg3NW/VK2jFvtKzQeR0uGRSgIrFlRYsip2FDT0LGNoh/MCkh9AAAA') format('woff')}[class*=' _icon-'],[class^='_icon-']{display:inline-block;font-family:eruda-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._icon-arrow-left:before{content:'\\f101'}._icon-arrow-right:before{content:'\\f102'}._icon-caret-down:before{content:'\\f103'}._icon-caret-right:before{content:'\\f104'}._icon-clear:before{content:'\\f105'}._icon-compress:before{content:'\\f106'}._icon-copy:before{content:'\\f107'}._icon-delete:before{content:'\\f108'}._icon-error:before{content:'\\f109'}._icon-expand:before{content:'\\f10a'}._icon-eye:before{content:'\\f10b'}._icon-filter:before{content:'\\f10c'}._icon-play:before{content:'\\f10d'}._icon-record:before{content:'\\f10e'}._icon-refresh:before{content:'\\f10f'}._icon-reset:before{content:'\\f110'}._icon-search:before{content:'\\f111'}._icon-select:before{content:'\\f112'}._icon-tool:before{content:'\\f113'}._icon-warn:before{content:'\\f114'}",""]),t.exports=r},3645:function(t){t.exports=function(r){var n=[];return n.toString=function(){return this.map(function(g){var y=function(L,$){var V=L[1]||"",z=L[3];if(!z)return V;if($&&typeof btoa=="function"){var j=(ae=z,oe=btoa(unescape(encodeURIComponent(JSON.stringify(ae)))),ie="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(oe),"/*# ".concat(ie," */")),re=z.sources.map(function(le){return"/*# sourceURL=".concat(z.sourceRoot||"").concat(le," */")});return[V].concat(re).concat([j]).join(` -`)}var ae,oe,ie;return[V].join(` -`)}(g,r);return g[2]?"@media ".concat(g[2]," {").concat(y,"}"):y}).join("")},n.i=function(g,y,L){typeof g=="string"&&(g=[[null,g,""]]);var $={};if(L)for(var V=0;V-1&&ae[j].splice(oe,1),this}},once:function(j,re){return this.on(j,V(re)),this},emit:function(j){var re=this;if(y(this._events,j)){var ae=$(arguments,1),oe=z(this._events[j]);return L(oe,function(ie){return ie.apply(re,ae)},this),this}},removeAllListeners:function(j){return j?delete this._events[j]:this._events={},this}},{mixin:function(j){L(["on","off","once","emit","removeAllListeners"],function(re){j[re]=r.prototype[re]}),j._events=j._events||{}}}),t.exports=r},9640:function(t,r,n){var g=n(7496),y=n(4454),L=n(6472),$=n(3783),V=n(2533);r=g({initialize:function(z){L(z)?(this.size=z.length,$(z,function(j,re){this[j]=re},this)):(this.size=V(z).length,$(z,function(j,re){this[re]=j},this)),y(this)}}),t.exports=r},125:function(t,r,n){var g=n(5128),y=n(615),L=n(8887),$=n(4400),V=n(4193),z=n(5166),j=y("local");r=g.extend({initialize:function(re,ae){this._name=re,ae=ae||{};var oe=j.getItem(re);try{oe=JSON.parse(oe)}catch{oe={}}z(oe)||(oe={}),ae=V(oe,ae),this.callSuper(g,"initialize",[ae])},save:function(re){if(L(re))return j.removeItem(this._name);j.setItem(this._name,$(re))}}),t.exports=r},4989:function(t,r,n){var g=n(1443),y=n(9640),L=n(1352),$=n(1286),V=n(4675),z=n(6768),j=n(3990);r=g.extend({initialize:function(re,ae){this.name=re,this.setLevel($(ae)?r.level.DEBUG:ae),this.callSuper(g,"initialize",arguments)},setLevel:function(re){return z(re)?((re=r.level[re.toUpperCase()])&&(this._level=re),this):(j(re)&&(this._level=re),this)},getLevel:function(){return this._level},formatter:function(re,ae){return ae},trace:function(){return this._log("trace",arguments)},debug:function(){return this._log("debug",arguments)},info:function(){return this._log("info",arguments)},warn:function(){return this._log("warn",arguments)},error:function(){return this._log("error",arguments)},_log:function(re,ae){return(ae=L(ae)).length===0?this:(this.emit("all",re,V(ae)),r.level[re.toUpperCase()]-1&&this._listeners.splice(z,1)},rmAllListeners:function(){this._listeners=[]},emit:function(){var V=this,z=$(arguments),j=y(this._listeners);L(j,function(re){return re.apply(V,z)},this)}},{mixin:function(V){L(["addListener","rmListener","emit","rmAllListeners"],function(z){V[z]=r.prototype[z]}),V._listeners=V._listeners||[]}}),t.exports=r},9001:function(t,r,n){var g=n(7496),y=n(1527);r=g({initialize:function(){this.clear()},clear:function(){this._items=[],this.size=0},push:function(L){return this._items.push(L),++this.size},pop:function(){if(this.size)return this.size--,this._items.pop()},peek:function(){return this._items[this.size-1]},forEach:function(L,$){$=arguments.length>1?$:this;for(var V=this._items,z=this.size-1,j=0;z>=0;z--,j++)L.call($,V[z],j,this)},toArr:function(){return y(this._items)}}),t.exports=r},5128:function(t,r,n){var g=n(1443),y=n(6768),L=n(5166),$=n(3783),V=n(1352);r=g.extend({initialize:function(z){this.callSuper(g,"initialize",arguments),this._data=z||{},this.save(this._data)},set:function(z,j){var re;y(z)?(re={})[z]=j:L(z)&&(re=z);var ae=this;$(re,function(oe,ie){var le=ae._data[ie];ae._data[ie]=oe,ae.emit("change",ie,oe,le)}),this.save(this._data)},get:function(z){var j=this._data;if(y(z))return j[z];var re={};return $(z,function(ae){re[ae]=j[ae]}),re},remove:function(z){z=V(z);var j=this._data;$(z,function(re){delete j[re]}),this.save(j)},clear:function(){this._data={},this.save(this._data)},each:function(z){$(this._data,z)},save:function(z){this._data=z}}),t.exports=r},6334:function(t,r,n){var g=n(7496),y=n(6329),L=n(4331),$=n(1745),V=n(8887),z=n(3783),j=n(6472),re=n(1352),ae=n(2727),oe=n(5166),ie=n(3367);r=g({className:"Url",initialize:function(pe){!pe&&ae&&(pe=window.location.href),y(this,r.parse(pe||""))},setQuery:function(pe,he){var _e=this.query;return oe(pe)?z(pe,function(Ce,$e){_e[$e]=ie(Ce)}):_e[pe]=ie(he),this},rmQuery:function(pe){var he=this.query;return j(pe)||(pe=re(pe)),z(pe,function(_e){delete he[_e]}),this},toString:function(){return r.stringify(this)}},{parse:function(pe){var he={protocol:"",auth:"",hostname:"",hash:"",query:{},port:"",pathname:"",slashes:!1},_e=L(pe),Ce=!1,$e=_e.match(le);if($e&&($e=$e[0],he.protocol=$e.toLowerCase(),_e=_e.substr($e.length)),$e&&(Ce=_e.substr(0,2)==="//")&&(_e=_e.slice(2),he.slashes=!0),Ce){for(var xe=_e,Ie=-1,Ne=0,ze=de.length;Ne-1&&(xe=_e.slice(0,Ie),_e=_e.slice(Ie));var qe=xe.lastIndexOf("@");qe!==-1&&(he.auth=decodeURIComponent(xe.slice(0,qe)),xe=xe.slice(qe+1)),he.hostname=xe;var Et=xe.match(ue);Et&&((Et=Et[0])!==":"&&(he.port=Et.substr(1)),he.hostname=xe.substr(0,xe.length-Et.length))}var kt=_e.indexOf("#");kt!==-1&&(he.hash=_e.substr(kt),_e=_e.slice(0,kt));var Lt=_e.indexOf("?");return Lt!==-1&&(he.query=$.parse(_e.substr(Lt+1)),_e=_e.slice(0,Lt)),he.pathname=_e||"/",he},stringify:function(pe){var he=pe.protocol+(pe.slashes?"//":"")+(pe.auth?encodeURIComponent(pe.auth)+"@":"")+pe.hostname+(pe.port?":"+pe.port:"")+pe.pathname;return V(pe.query)||(he+="?"+$.stringify(pe.query)),pe.hash&&(he+=pe.hash),he}});var le=/^([a-z0-9.+-]+:)/i,ue=/:[0-9]*$/,de=["/","?","#"];t.exports=r},8991:function(t,r,n){var g=n(4777),y=n(1214),L=n(4193),$=n(5166),V=n(1745);function z(j,re,ae,oe){return g(re)&&(oe=ae,ae=re,re={}),{url:j,data:re,success:ae,dataType:oe}}(r=function(j){L(j,r.setting);var re,ae=j.type,oe=j.url,ie=j.data,le=j.dataType,ue=j.success,de=j.error,pe=j.timeout,he=j.complete,_e=j.xhr();return _e.onreadystatechange=function(){if(_e.readyState===4){var Ce;clearTimeout(re);var $e=_e.status;if($e>=200&&$e<300||$e===304){Ce=_e.responseText,le==="xml"&&(Ce=_e.responseXML);try{le==="json"&&(Ce=JSON.parse(Ce))}catch{}ue(Ce,_e)}else de(_e);he(_e)}},ae==="GET"?(ie=V.stringify(ie))&&(oe+=oe.indexOf("?")>-1?"&"+ie:"?"+ie):j.contentType==="application/x-www-form-urlencoded"?$(ie)&&(ie=V.stringify(ie)):j.contentType==="application/json"&&$(ie)&&(ie=JSON.stringify(ie)),_e.open(ae,oe,!0),_e.setRequestHeader("Content-Type",j.contentType),pe>0&&(re=setTimeout(function(){_e.onreadystatechange=y,_e.abort(),de(_e,"timeout"),he(_e)},pe)),_e.send(ae==="GET"?null:ie),_e}).setting={type:"GET",success:y,error:y,complete:y,dataType:"json",contentType:"application/x-www-form-urlencoded",data:{},xhr:function(){return new XMLHttpRequest},timeout:0},r.get=function(){return r(z.apply(null,arguments))},r.post=function(){var j=z.apply(null,arguments);return j.type="POST",r(j)},t.exports=r},1116:function(t,r,n){var g=n(2533),y=n(415),L=n(42),$=Object.getOwnPropertyNames,V=Object.getOwnPropertySymbols;r=function(z){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},re=j.prototype,ae=re===void 0||re,oe=j.unenumerable,ie=oe!==void 0&&oe,le=j.symbol,ue=le!==void 0&&le,de=[];if((ie||ue)&&$){var pe=g;ie&&$&&(pe=$);do de=de.concat(pe(z)),ue&&V&&(de=de.concat(V(z)));while(ae&&(z=y(z))&&z!==Object.prototype);de=L(de)}else if(ae)for(var he in z)de.push(he);else de=g(z);return de},t.exports=r},7913:function(t,r,n){var g=n(3783),y=n(1286),L=n(4777);r=function($,V){y(V)&&(V=!0);var z=L(V),j={};return g($,function(re){j[re]=z?V(re):V}),j},t.exports=r},3901:function(t,r){r={encode:function($){var V,z,j=[],re=$.length,ae=re%3;re-=ae;for(var oe=0;oe>18&63]+g[V>>12&63]+g[V>>6&63]+g[63&V]));return re=$.length,ae===1?(z=$[re-1],j.push(g[z>>2]),j.push(g[z<<4&63]),j.push("==")):ae===2&&(z=($[re-2]<<8)+$[re-1],j.push(g[z>>10]),j.push(g[z>>4&63]),j.push(g[z<<2&63]),j.push("=")),j.join("")},decode:function($){var V=$.length,z=0;$[V-2]==="="?z=2:$[V-1]==="="&&(z=1);var j,re,ae,oe,ie,le,ue,de=new Array(3*V/4-z);for(V=z>0?V-4:V,j=0,re=0;j>16&255,de[re++]=pe>>8&255,de[re++]=255&pe}return z===2?(ue=n[$.charCodeAt(j)]<<2|n[$.charCodeAt(j+1)]>>4,de[re++]=255&ue):z===1&&(ue=n[$.charCodeAt(j)]<<10|n[$.charCodeAt(j+1)]<<4|n[$.charCodeAt(j+2)]>>2,de[re++]=ue>>8&255,de[re++]=255&ue),de}};for(var n=[],g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,L=g.length;y0&&(y=g.apply(this,arguments)),n<=1&&(g=null),y}},t.exports=r},7494:function(t,r,n){var g=n(8935);function y(L,$){this[$]=L.replace(/\w/,function(V){return V.toUpperCase()})}r=function(L){var $=g(L),V=$[0];return $.shift(),$.forEach(y,$),V+=$.join("")},t.exports=r},1694:function(t,r,n){var g=n(6257),y=n(6472);r=function(V,z){if(y(V))return V;if(z&&g(z,V))return[V];var j=[];return V.replace(L,function(re,ae,oe,ie){j.push(oe?ie.replace($,"$1"):ae||re)}),j};var L=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$=/\\(\\)?/g;t.exports=r},996:function(t,r){r=function(n,g){var y=[];g=g||1;for(var L=0,$=Math.ceil(n.length/g);L<$;L++){var V=L*g,z=V+g;y.push(n.slice(V,z))}return y},t.exports=r},9882:function(t,r,n){var g=n(1286);r=function(y,L,$){return g($)&&($=L,L=void 0),!g(L)&&y$?$:y},t.exports=r},4675:function(t,r,n){var g=n(5166),y=n(6472),L=n(6329);r=function($){return g($)?y($)?$.slice():L({},$):$},t.exports=r},550:function(t,r,n){var g=n(5166),y=n(4777),L=n(6472),$=n(8820);r=function(V){return L(V)?V.map(function(z){return r(z)}):g(V)&&!y(V)?$(V,function(z){return r(z)}):V},t.exports=r},8099:function(t,r,n){var g=n(1352);r=function(){for(var y=g(arguments),L=[],$=0,V=y.length;$-1:(L(V)||(V=$(V)),g(V,z)>=0)},t.exports=r},1792:function(t,r,n){var g=n(6768),y=n(3901),L=n(385),$=n(6472),V=n(2349),z=n(3085),j=n(3063);(r=function(re,ae){var oe;if(ae=j(ae),g(re))oe=new Uint8Array(y.decode(re));else if(L(re))re=re.slice(0),oe=new Uint8Array(re);else if($(re))oe=new Uint8Array(re);else if(z(re)==="uint8array")oe=re.slice(0);else if(V(re)){oe=new Uint8Array(re.length);for(var ie=0;ie0?"-":"+")+V(100*Math.floor(Math.abs(Fe)/60)+Math.abs(Fe)%60,4),S:["th","st","nd","rd"][he%10>3?0:(he%100-he%10!=10)*he%10]};return ie.replace(z,function(Et){return Et in qe?qe[Et]:Et.slice(1,Et.length-1)})};var V=function(oe){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return $(L(oe),ie,"0")},z=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,j=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,re=/\d/,ae=/[^-+\dA-Z]/g;r.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},r.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},t.exports=r},6049:function(t,r){r=function(n,g,y){var L;return function(){var $=this,V=arguments;y||clearTimeout(L),y&&L||(L=setTimeout(function(){L=null,n.apply($,V)},g))}},t.exports=r},1420:function(t,r,n){var g=n(3783),y=n(8166),L=n(2461),$=n(5742);function V(j){return+("0x"+j)}r=function(j){try{return decodeURIComponent(j)}catch{var re=j.match(z);return re&&g(re,function(oe){j=j.replace(oe,function(ie){ie=ie.split("%").slice(1);var le=L(ie,V);return ie=y.encode(le),ie=$.decode(ie,!0),ie}(oe))}),j}};var z=/(%[a-f0-9]{2})+/gi;t.exports=r},4193:function(t,r,n){r=n(4427)(n(1116),!0),t.exports=r},9803:function(t,r,n){var g=n(1694),y=n(6768),L=n(5166),$=n(3783);function V(z,j,re){for(var ae=g(j,z),oe=ae.pop();j=ae.shift();)z[j]||(z[j]={}),z=z[j];Object.defineProperty(z,oe,re)}r=function(z,j,re){return y(j)?V(z,j,re):L(j)&&$(j,function(ae,oe){V(z,oe,ae)}),z},t.exports=r},2443:function(t,r,n){var g=n(7496),y=n(6341);function L(){return!0}function $(){return!1}function V(j){var re,ae=this.events[j.type],oe=z.call(this,j,ae);j=new r.Event(j);for(var ie,le,ue=0;(le=oe[ue++])&&!j.isPropagationStopped();)for(j.curTarget=le.el,ie=0;(re=le.handlers[ie++])&&!j.isImmediatePropagationStopped();)re.handler.apply(le.el,[j])===!1&&(j.preventDefault(),j.stopPropagation())}function z(j,re){var ae,oe,ie,le,ue=j.target,de=[],pe=re.delegateCount;if(ue.nodeType)for(;ue!==this;ue=ue.parentNode||this){for(oe=[],le=0;le-1)return y(re.substring(oe+ae.length,re.indexOf(".",oe)))}t.exports=r},6954:function(t,r,n){var g=n(2727);r=function(y){if(y=(y=y||(g?navigator.userAgent:"")).toLowerCase(),L("windows phone"))return"windows phone";if(L("win"))return"windows";if(L("android"))return"android";if(L("ipad")||L("iphone")||L("ipod"))return"ios";if(L("mac"))return"os x";if(L("linux"))return"linux";function L($){return y.indexOf($)>-1}return"unknown"},t.exports=r},801:function(t,r,n){var g=n(1137),y=n(288),L=n(5972),$=n(6341);r=g(function(V,z){return z=y(z),L(V,function(j){return!$(z,j)})}),t.exports=r},3783:function(t,r,n){var g=n(1369),y=n(2533),L=n(3955);r=function($,V,z){var j,re;if(V=L(V,z),g($))for(j=0,re=$.length;j=0&&n.indexOf(g,y)===y},t.exports=r},8901:function(t,r,n){var g=n(2533),y=(r=function(j){return $.test(j)?j.replace(V,z):j}).map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},L="(?:"+g(y).join("|")+")",$=new RegExp(L),V=new RegExp(L,"g"),z=function(j){return y[j]};t.exports=r},4187:function(t,r,n){var g=n(3367);r=function(L){return g(L).replace(y,function($){switch($){case'"':case"'":case"\\":return"\\"+$;case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}})};var y=/["'\\\n\r\u2028\u2029]/g;t.exports=r},2337:function(t,r){r=function(n){return n.replace(/\W/g,"\\$&")},t.exports=r},642:function(t,r){r=function(n){var g=document.createElement("style");return g.textContent=n,g.type="text/css",document.head.appendChild(g),g},t.exports=r},1672:function(t,r,n){var g=n(2838),y=n(1369),L=n(2533);r=function($,V,z){V=g(V,z);for(var j=!y($)&&L($),re=(j||$).length,ae=0;ae[\]\u2100-\uFFFF(),]*/gi;t.exports=r},5972:function(t,r,n){var g=n(2838),y=n(3783);r=function(L,$,V){var z=[];return $=g($,V),y(L,function(j,re,ae){$(j,re,ae)&&z.push(j)}),z},t.exports=r},2244:function(t,r,n){var g=n(2267),y=n(4072),L=n(1369),$=n(1286);r=function(V,z,j){var re=(L(V)?y:g)(V,z,j);if(!$(re)&&re!==-1)return V[re]},t.exports=r},4072:function(t,r,n){var g=n(2838);r=function(y,L,$,V){V=V||1,L=g(L,$);for(var z=y.length,j=V>0?0:z-1;j>=0&&j2?oe-2:0),le=2;le>>4).toString(16)),L.push((15&z).toString(16))}return L.join("")},decode:function(y){var L=[],$=y.length;g($)&&$--;for(var V=0;V<$;V+=2)L.push(parseInt(y.substr(V,2),16));return L}},t.exports=r},3651:function(t,r,n){var g=n(3783),y=n(4193);r=function(V){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"js",j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};y(j,L),V=V.replace(//g,">"),z=$[z];var re=0,ae=[];g(z,function(ie){ie.language&&(V=V.replace(ie.re,function(le,ue){return ue?(ae[re++]=r(ue,ie.language,j),le.replace(ue,"___subtmpl"+(re-1)+"___")):le}))}),g(z,function(ie,le){$[ie.language]||(V=V.replace(ie.re,"___"+le+"___$1___end"+le+"___"))});var oe=[];return V=V.replace(/___(?!subtmpl)\w+?___/g,function(ie){var le=ie.substr(3,3)==="end",ue=(le?ie.substr(6):ie.substr(3)).replace(/_/g,""),de=oe.length>0?oe[oe.length-1]:null;return!le&&(de==null||ue==de||de!=null&&z[de]&&z[de].embed!=null&&z[de].embed.indexOf(ue)>-1)?(oe.push(ue),ie):le&&ue==de?(oe.pop(),ie):""}),g(z,function(ie,le){var ue=j[ie.style]?' style="'.concat(j[ie.style],'"'):"";V=V.replace(new RegExp("___end"+le+"___","g"),"
    ").replace(new RegExp("___"+le+"___","g"),'"))}),g(z,function(ie){ie.language&&(V=V.replace(/___subtmpl\d+___/g,function(le){var ue=parseInt(le.replace(/___subtmpl(\d+)___/,"$1"),10);return ae[ue]}))}),V};var L={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},$={js:{comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|<|>|\||\?|\.)/g,style:"operator"}}};$.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:$.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}},$.css={comment:$.js.comment,string:$.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}},t.exports=r},5925:function(t,r){r=function(g){var y,L,$,V=g[0]/360,z=g[1]/100,j=g[2]/100,re=[];if(g[3]&&(re[3]=g[3]),z===0)return $=n(255*j),re[0]=re[1]=re[2]=$,re;for(var ae=2*j-(y=j<.5?j*(1+z):j+z-j*z),oe=0;oe<3;oe++)(L=V+.3333333333333333*-(oe-1))<0&&L++,L>1&&L--,$=6*L<1?ae+6*(y-ae)*L:2*L<1?y:3*L<2?ae+(y-ae)*(.6666666666666666-L)*6:ae,re[oe]=n(255*$);return re};var n=Math.round;t.exports=r},7483:function(t,r,n){var g=n(8702),y=n(9001),L=n(6472),$=n(3783),V=n(6768),z=n(8820),j=function(ae){return ae.replace(/"/g,'"')},re=function(ae){return ae.replace(/"/g,""")};r={parse:function(ae){var oe=[],ie=new y;return g(ae,{start:function(le,ue){ue=z(ue,function(de){return j(de)}),ie.push({tag:le,attrs:ue})},end:function(){var le=ie.pop();if(ie.size){var ue=ie.peek();L(ue.content)||(ue.content=[]),ue.content.push(le)}else oe.push(le)},comment:function(le){var ue=""),de=ie.peek();de?(de.content||(de.content=[]),de.content.push(ue)):oe.push(ue)},text:function(le){var ue=ie.peek();ue?(ue.content||(ue.content=[]),ue.content.push(le)):oe.push(le)}}),oe},stringify:function ae(oe){var ie="";return L(oe)?$(oe,function(le){return ie+=ae(le)}):V(oe)?ie=oe:(ie+="<".concat(oe.tag),$(oe.attrs,function(le,ue){return ie+=" ".concat(ue,'="').concat(re(le),'"')}),ie+=">",oe.content&&(ie+=ae(oe.content)),ie+="")),ie}},t.exports=r},6362:function(t,r){r=function(n){return n},t.exports=r},496:function(t,r){r=function(n,g,y){return Array.prototype.indexOf.call(n,g,y)},t.exports=r},5022:function(t,r,n){var g=n(1662);r=function(y,L){y.prototype=g(L.prototype)},t.exports=r},7190:function(t,r,n){var g=n(3783);r=function(y){var L={};return g(y,function($,V){L[$]=V}),L},t.exports=r},7403:function(t,r,n){var g=n(106);r=function(y){return g(y)==="[object Arguments]"},t.exports=r},6472:function(t,r,n){var g=n(106);r=Array.isArray?Array.isArray:function(y){return g(y)==="[object Array]"},t.exports=r},385:function(t,r,n){var g=n(106);r=function(y){return g(y)==="[object ArrayBuffer]"},t.exports=r},1369:function(t,r,n){var g=n(3990),y=n(4777),L=Math.pow(2,53)-1;r=function($){if(!$)return!1;var V=$.length;return g(V)&&V>=0&&V<=L&&!y($)},t.exports=r},4696:function(t,r){r=function(n){return n===!0||n===!1},t.exports=r},2727:function(t,r){r=typeof window=="object"&&typeof document=="object"&&document.nodeType===9,t.exports=r},2349:function(t,r,n){var g=n(4777);r=function(y){return y!=null&&(!!y._isBuffer||y.constructor&&g(y.constructor.isBuffer)&&y.constructor.isBuffer(y))},t.exports=r},2520:function(t,r,n){var g=new(n(2765))("(prefers-color-scheme: dark)");r=function(){return g.isMatch()},t.exports=r},2106:function(t,r,n){var g=n(106);r=function(y){return g(y)==="[object Date]"},t.exports=r},9833:function(t,r){r=function(n){return!(!n||n.nodeType!==1)},t.exports=r},8887:function(t,r,n){var g=n(1369),y=n(6472),L=n(6768),$=n(7403),V=n(2533);r=function(z){return z==null||(g(z)&&(y(z)||L(z)||$(z))?z.length===0:V(z).length===0)},t.exports=r},2749:function(t,r,n){var g=n(106);r=function(y){return g(y)==="[object Error]"},t.exports=r},4777:function(t,r,n){var g=n(106);r=function(y){var L=g(y);return L==="[object Function]"||L==="[object GeneratorFunction]"||L==="[object AsyncFunction]"},t.exports=r},9585:function(t,r,n){var g=n(5610),y=g.getComputedStyle,L=g.document;function $(V,z){return V.rightz.right||V.bottomz.bottom}r=function(V){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=z.display,re=j===void 0||j,ae=z.visibility,oe=ae!==void 0&&ae,ie=z.opacity,le=ie!==void 0&&ie,ue=z.size,de=ue!==void 0&&ue,pe=z.viewport,he=pe!==void 0&&pe,_e=z.overflow,Ce=_e!==void 0&&_e,$e=y(V);if(re){var xe=V.tagName;if(xe==="BODY"||xe==="HTML"||$e.position==="fixed"){if($e.display==="none")return!0;for(var Ie=V;Ie=Ie.parentElement;)if(y(Ie).display==="none")return!0}else if(V.offsetParent===null)return!0}if(oe&&$e.visibility==="hidden")return!0;if(le){if($e.opacity==="0")return!0;for(var Ne=V;Ne=Ne.parentElement;)if(y(Ne).opacity==="0")return!0}var ze=V.getBoundingClientRect();if(de&&(ze.width===0||ze.height===0))return!0;if(he)return $(ze,{top:0,left:0,right:L.documentElement.clientWidth,bottom:L.documentElement.clientHeight});if(Ce)for(var Fe=V;Fe=Fe.parentElement;){var qe=y(Fe).overflow;if((qe==="scroll"||qe==="hidden")&&$(ze,Fe.getBoundingClientRect()))return!0}return!1},t.exports=r},2246:function(t,r,n){var g=n(3990);r=function(y){return g(y)&&y%1==0},t.exports=r},4219:function(t,r){r=function(n){try{return JSON.parse(n),!0}catch{return!1}},t.exports=r},3708:function(t,r,n){var g=n(106);r=function(y){return g(y)==="[object Map]"},t.exports=r},7949:function(t,r,n){var g=n(2533);r=function(y,L){var $=g(L),V=$.length;if(y==null)return!V;y=Object(y);for(var z=0;z1&&arguments[1]!==void 0?arguments[1]:r.defComparator,y=0,L=n.length;y0)return!1;return!0},r.defComparator=function(n,g){return ng?1:0},t.exports=r},6768:function(t,r,n){var g=n(106);r=function(y){return g(y)==="[object String]"},t.exports=r},9804:function(t,r){r=function(n){return typeof n=="symbol"},t.exports=r},1286:function(t,r){r=function(n){return n===void 0},t.exports=r},7622:function(t,r,n){var g=n(8935);r=function(y){return g(y).join("-")},t.exports=r},2533:function(t,r,n){var g=n(6257);r=Object.keys?Object.keys:function(y){var L=[];for(var $ in y)g(y,$)&&L.push($);return L},t.exports=r},9702:function(t,r){r=function(n){var g=n?n.length:0;if(g)return n[g-1]},t.exports=r},3988:function(t,r,n){var g=n(2581),y=n(3783),L=n(2337);function $(V){return''+V+""}r=function(V,z){z=z||$;var j=g(V);return y(j,function(re){V=V.replace(new RegExp(L(re),"g"),z)}),V},t.exports=r},9622:function(t,r){r=function(n,g){var y=document.createElement("script");y.src=n,y.onload=function(){var L=y.readyState&&y.readyState!="complete"&&y.readyState!="loaded";g&&g(!L)},y.onerror=function(){g(!1)},document.body.appendChild(y)},t.exports=r},3063:function(t,r,n){var g=n(3367);r=function(y){return g(y).toLocaleLowerCase()},t.exports=r},5351:function(t,r,n){var g=n(4552),y=n(3367);r=function(L,$,V){var z=(L=y(L)).length;return V=V||" ",z<$&&(L=(g(V,$-z)+L).slice(-$)),L},t.exports=r},7767:function(t,r){var n=/^\s+/;r=function(g,y){if(y==null)return g.trimLeft?g.trimLeft():g.replace(n,"");for(var L,$,V=0,z=g.length,j=y.length,re=!0;re&&V=z?"":g.substr(V,z)},t.exports=r},2461:function(t,r,n){var g=n(2838),y=n(2533),L=n(1369);r=function($,V,z){V=g(V,z);for(var j=!L($)&&y($),re=(j||$).length,ae=Array(re),oe=0;oeg&&(g=n[y]);return g},t.exports=r},5026:function(t,r,n){var g=n(2533);r={getItem:function(j){return(L[j]?y[j]:this[j])||null},setItem:function(j,re){L[j]?y[j]=re:this[j]=re},removeItem:function(j){L[j]?delete y[j]:delete this[j]},key:function(j){var re=$();return j>=0&&j=L[$[oe]]){ae=$[oe];break}return+(re/L[ae]).toFixed(2)+ae};var L={ms:1,s:1e3};L.m=60*L.s,L.h=60*L.m,L.d=24*L.h,L.y=365.25*L.d;var $=["y","d","h","m","s"],V=/^((?:\d+)?\.?\d+) *(s|m|h|d|y)?$/;t.exports=r},6339:function(t,r,n){var g=n(6930),y=n(5610),L=n(3367);function $(V,z){if(V=L(V),z=L(z),g(V,"_")&&!g(z,"_"))return 1;if(g(z,"_")&&!g(V,"_"))return-1;for(var j,re,ae,oe,ie=/^\d+|^\D+/;;){if(!V)return z?-1:0;if(!z)return 1;if(j=V.match(ie)[0],re=z.match(ie)[0],ae=!y.isNaN(j),oe=!y.isNaN(re),ae&&!oe)return-1;if(oe&&!ae)return 1;if(ae&&oe){var le=j-re;if(le)return le;if(j.length!==re.length)return+j||+re?re.length-j.length:j.length-re.length}else if(j!==re)return jwindow.innerHeight?"landscape":"portrait"}},g.mixin(r),window.addEventListener("orientationchange",function(){setTimeout(function(){r.emit("change",r.get())},200)},!1),t.exports=r},8702:function(t,r,n){var g=n(9702),y=n(7913),L=n(6930),$=n(3063);r=function(oe,ie){for(var le,ue=[],de=oe;oe;){if(le=!0,g(ue)&&ae[g(ue)]){var pe=new RegExp("]*>")).exec(oe);if(pe){var he=oe.substring(0,pe.index);oe=oe.substring(pe.index+pe[0].length),he&&ie.text&&ie.text(he)}Fe("",g(ue))}else{if(L(oe,"");_e>=0&&(ie.comment&&ie.comment(oe.substring(4,_e)),oe=oe.substring(_e+3),le=!1)}else if(L(oe,"=0&&ue[kt]!==Et;kt--);else kt=0;if(kt>=0){for(var Lt=ue.length-1;Lt>=kt;Lt--)ie.end&&ie.end(ue[Lt]);ue.length=kt}}Fe()};var V=/^\s]+))?)*)\s*(\/?)>/i,z=/^<\/([-A-Za-z0-9_]+)[^>]*>/,j=/^<([-A-Za-z0-9_]+)((?:\s+[-A-Za-z0-9_:@.]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,re=/([-A-Za-z0-9_:@.]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,ae=y("script,style".split(","));t.exports=r},4198:function(t,r,n){var g=n(1137),y=n(1352);r=g(function(L,$){return function(){var V=[];return V=(V=V.concat($)).concat(y(arguments)),L.apply(this,V)}}),t.exports=r},1194:function(t,r,n){var g,y=n(8847),L=n(5610),$=L.performance,V=L.process;if($&&$.now)r=function(){return $.now()};else if(V&&V.hrtime){var z=function(){var j=V.hrtime();return 1e9*j[0]+j[1]};g=z()-1e9*V.uptime(),r=function(){return(z()-g)/1e6}}else g=y(),r=function(){return y()-g};t.exports=r},3487:function(t,r,n){var g=n(6768),y=n(6472),L=n(6341),$=n(3783);r=function(V,z,j){if(g(z)&&(z=[z]),y(z)){var re=z;z=function(ie,le){return L(re,le)}}var ae={},oe=function(ie,le){z(ie,le)&&(ae[le]=ie)};return j&&(oe=function(ie,le){z(ie,le)||(ae[le]=ie)}),$(V,oe),ae},t.exports=r},747:function(t,r,n){var g=n(1475),y=n(7494),L=n(3023),$=n(6257),V=n(7622);(r=g(function(ae){if(ae=ae.replace(j,""),ae=y(ae),$(re,ae))return ae;for(var oe=z.length;oe--;){var ie=z[oe]+L(ae);if($(re,ie))return ie}return ae})).dash=g(function(ae){var oe=r(ae);return(j.test(oe)?"-":"")+V(oe)});var z=["O","ms","Moz","Webkit"],j=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,re=document.createElement("p").style;t.exports=r},2994:function(t,r,n){var g=n(6472),y=n(7653);r=function(L){return g(L)?function(V){return y(V,L)}:($=L,function(V){return V==null?void 0:V[$]});var $},t.exports=r},1745:function(t,r,n){var g=n(4331),y=n(3783),L=n(1286),$=n(6472),V=n(2461),z=n(8887),j=n(5972),re=n(5166);r={parse:function(oe){var ie={};return oe=g(oe).replace(ae,""),y(oe.split("&"),function(le){var ue=le.split("="),de=ue.shift(),pe=ue.length>0?ue.join("="):null;de=decodeURIComponent(de),pe=decodeURIComponent(pe),L(ie[de])?ie[de]=pe:$(ie[de])?ie[de].push(pe):ie[de]=[ie[de],pe]}),ie},stringify:function(oe,ie){return j(V(oe,function(le,ue){return re(le)&&z(le)?"":$(le)?r.stringify(le,ue):encodeURIComponent(ie||ue)+"="+encodeURIComponent(le)}),function(le){return le.length>0}).join("&")}};var ae=/^(\?|#|&)/g;t.exports=r},1571:function(t,r,n){var g,y,L=n(8847),$=n(2727),V=0;if($){g=window.requestAnimationFrame,y=window.cancelAnimationFrame;for(var z=["ms","moz","webkit","o"],j=0,re=z.length;j0;)1&g&&(y+=n),g>>=1,n+=n;return y},t.exports=r},8368:function(t,r,n){var g=n(2337);r=function(y,L,$){return y.replace(new RegExp(g(L),"g"),$)},t.exports=r},1137:function(t,r){r=function(n,g){return g=g==null?n.length-1:+g,function(){var y,L=Math.max(arguments.length-g,0),$=new Array(L);for(y=0;y=0;ie--){var le=j[ie];if(le!==""){if(pe({domain:ae=ae===""?le:le+"."+ae,path:L="/"})||pe({domain:ae}))return;for(var ue=0;ue=0;)for(z=!1,y=-1,L=n.charAt($);++y=0?n.substring(0,$+1):""},t.exports=r},2838:function(t,r,n){var g=n(4777),y=n(5166),L=n(6472),$=n(3955),V=n(4491),z=n(6362),j=n(2994);r=function(re,ae,oe){return re==null?z:g(re)?$(re,ae,oe):y(re)&&!L(re)?V(re):j(re)},t.exports=r},7653:function(t,r,n){var g=n(1286),y=n(1694);r=function(L,$){var V;for(V=($=y($,L)).shift();!g(V);){if((L=L[V])==null)return;V=$.shift()}return L},t.exports=r},8079:function(t,r,n){var g=n(1694),y=n(1286),L=n(3367),$=n(9804),V=n(6768);r=function(z,j,re){var ae,oe=(j=g(j,z)).pop();for(ae=j.shift();!y(ae);){if(V(ae)||$(ae)||(ae=L(ae)),ae==="__proto__"||ae==="constructor"||ae==="prototype")return;z[ae]||(z[ae]={}),z=z[ae],ae=j.shift()}z[oe]=re},t.exports=r},615:function(t,r,n){var g=n(5026);r=function(y){var L;switch(y=y||"local"){case"local":L=window.localStorage;break;case"session":L=window.sessionStorage}try{var $="test-localStorage-"+Date.now();L.setItem($,$);var V=L.getItem($);if(L.removeItem($),V!==$)throw new Error}catch{return g}return L},t.exports=r},4224:function(t,r,n){var g=n(6334);r=function(y,L){return y=new g(y),L=new g(L),y.port=0|y.port||(y.protocol==="https"?443:80),L.port=0|L.port||(L.protocol==="https"?443:80),y.protocol===L.protocol&&y.hostname===L.hostname&&y.port===L.port},t.exports=r},9677:function(t,r){r=function(n,g,y){var L=n.length;g=g==null?0:g<0?Math.max(L+g,0):Math.min(g,L),y=y==null?L:y<0?Math.max(L+y,0):Math.min(y,L);for(var $=[];g1&&arguments[1]!==void 0?arguments[1]:{};y(re,z);var ae=re.deep,oe=re.comparator,ie=[],le=[];return function ue(de){var pe,he=ie.indexOf(de);if(he>-1)return le[he];if($(de)){pe=[],ie.push(de),le.push(pe);for(var _e=0,Ce=de.length;_e0){var ue=ae.indexOf(this);ue>-1?(ae.splice(ue+1),oe.splice(ue,1/0,ie)):(ae.push(this),oe.push(ie));var de=ae.indexOf(le);de>-1&&(le=ae[0]===le?"[Circular ~]":"[Circular ~."+oe.slice(0,de).join(".")+"]")}else ae.push(le);return z(le)||V(le)?le="["+y(g(le))+" "+L(le)+"]":$(le)&&(le=null),le}),re);var ae,oe},t.exports=r},9963:function(t,r,n){var g=n(4187),y=n(3085),L=n(3367),$=n(4858),V=n(300),z=n(2533),j=n(3783),re=n(7496),ae=n(415),oe=n(801),ie=n(6329),le=n(4321),ue=n(5972),de=n(8847),pe=n(1116),he=n(6341),_e=n(5166),Ce=n(9537),$e=n(1662),xe=n(6930),Ie=n(8079),Ne=n(9803),ze=n(3487),Fe=n(1369);function qe(hn,bn,Cn,Tn){var xn=[];return j(bn,function(En){var kn,On=Object.getOwnPropertyDescriptor(Cn,En),Rn=On&&On.get,In=On&&On.set;if(!Tn.accessGetter&&Rn)kn="(...)";else try{if(kn=Cn[En],he(Tn.ignore,kn))return;le(kn)&&kn.catch(function(){})}catch(Mn){kn=Mn.message}xn.push("".concat(Et(En),":").concat(r(kn,Tn))),Rn&&xn.push("".concat(Et("get "+L(En)),":").concat(r(On.get,Tn))),In&&xn.push("".concat(Et("set "+L(En)),":").concat(r(On.set,Tn)))}),'"'.concat(hn,'":{')+xn.join(",")+"}"}function Et(hn){return'"'.concat(Lt(hn),'"')}function kt(hn){return'"'.concat(Lt(L(hn)),'"')}function Lt(hn){return g(hn).replace(/\\'/g,"'").replace(/\t/g,"\\t")}r=function(hn){var bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Cn=bn.self,Tn=bn.startTime,xn=Tn===void 0?de():Tn,En=bn.timeout,kn=En===void 0?0:En,On=bn.depth,Rn=On===void 0?0:On,In=bn.curDepth,Mn=In===void 0?1:In,Vn=bn.visitor,zn=Vn===void 0?new vn:Vn,Jn=bn.unenumerable,tr=Jn!==void 0&&Jn,$n=bn.symbol,Pn=$n!==void 0&&$n,Bn=bn.accessGetter,Un=Bn!==void 0&&Bn,Fn=bn.ignore,cr=Fn===void 0?[]:Fn,ur="",vr={visitor:zn,unenumerable:tr,symbol:Pn,accessGetter:Un,depth:Rn,curDepth:Mn+1,timeout:kn,startTime:xn,ignore:cr},Yn=y(hn,!1);if(Yn==="String")ur=kt(hn);else if(Yn==="Number")ur=L(hn),$(ur,"Infinity")&&(ur='{"value":"'.concat(ur,'","type":"Number"}'));else if(Yn==="NaN")ur='{"value":"NaN","type":"Number"}';else if(Yn==="Boolean")ur=hn?"true":"false";else if(Yn==="Null")ur="null";else if(Yn==="Undefined")ur='{"type":"Undefined"}';else if(Yn==="Symbol"){var gr="Symbol";try{gr=L(hn)}catch{}ur='{"value":'.concat(kt(gr),',"type":"Symbol"}')}else{if(kn&&de()-xn>kn)return kt("Timeout");if(Rn&&Mn>Rn)return kt("{...}");ur="{";var lr,er=[],br=zn.get(hn);if(br?(lr=br.id,er.push('"reference":'.concat(lr))):(lr=zn.set(hn),er.push('"id":'.concat(lr))),er.push('"type":"'.concat(Yn,'"')),$(Yn,"Function")?er.push('"value":'.concat(kt(V(hn)))):Yn==="RegExp"&&er.push('"value":'.concat(kt(hn))),!br){var wr=z(hn);if(wr.length&&er.push(qe("enumerable",wr,Cn||hn,vr)),tr){var $r=oe(pe(hn,{prototype:!1,unenumerable:!0}),wr);$r.length&&er.push(qe("unenumerable",$r,Cn||hn,vr))}if(Pn){var Mr=ue(pe(hn,{prototype:!1,symbol:!0}),function(or){return typeof or=="symbol"});Mr.length&&er.push(qe("symbol",Mr,Cn||hn,vr))}var Cr=ae(hn);if(Cr&&!he(cr,Cr)){var xr='"proto":'.concat(r(Cr,ie(vr,{self:Cn||hn})));er.push(xr)}}ur+=er.join(",")+"}"}return ur};var vn=re({initialize:function(){this.id=1,this.visited=[]},set:function(hn){var bn=this.visited,Cn=this.id,Tn={id:Cn,val:hn};return bn.push(Tn),this.id++,Cn},get:function(hn){for(var bn=this.visited,Cn=0,Tn=bn.length;Cn]*>/g;r=function(g){return g.replace(n,"")},t.exports=r},1907:function(t,r,n){var g=n(6768),y=n(1352),L=n(6435),$=n(2461),V=n(4331);r=function(j){g(j)&&(j=y(j));for(var re="",ae=arguments.length,oe=new Array(ae>1?ae-1:0),ie=1;ie0?L.apply(null,pe):0;return V($(de,function(xe){return xe[0]===" "?xe.slice($e):xe}).join(` -`))};var z=/^(\s+)\S+/;t.exports=r},2439:function(t,r,n){var g=n(6049);r=function(y,L){return g(y,L,!0)},t.exports=r},1352:function(t,r,n){var g=n(1369),y=n(2461),L=n(6472),$=n(6768);r=function(V){return V?L(V)?V:g(V)&&!$(V)?y(V):[V]:[]},t.exports=r},3474:function(t,r,n){var g=n(6768);r=function(y){return g(y)?(y=y.toLowerCase())!=="0"&&y!==""&&y!=="false":!!y},t.exports=r},4891:function(t,r){var n=document;if(r=function(y){var L=n.createElement("body");return L.innerHTML=y,L.childNodes[0]},n.createRange&&n.body){var g=n.createRange();g.selectNode(n.body),g.createContextualFragment&&(r=function(y){return g.createContextualFragment(y).childNodes[0]})}t.exports=r},9296:function(t,r,n){var g=n(3875);r=function(y){return y?(y=g(y))-y%1:y===0?y:0},t.exports=r},3875:function(t,r,n){var g=n(3990),y=n(5166),L=n(4777),$=n(6768);r=function(V){if(g(V))return V;if(y(V)){var z=L(V.valueOf)?V.valueOf():V;V=y(z)?z+"":z}return $(V)?+V:V===0?V:+V},t.exports=r},300:function(t,r,n){var g=n(2763);r=function(L){if(g(L))return"";try{return y.call(L)}catch{}try{return L+""}catch{}return""};var y=Function.prototype.toString;t.exports=r},3367:function(t,r){r=function(n){return n==null?"":n.toString()},t.exports=r},4331:function(t,r,n){var g=n(7767),y=n(3597);r=function(L,$){return $==null&&L.trim?L.trim():g(y(L,$),$)},t.exports=r},7756:function(t,r,n){var g=n(4193),y=n(1286);r=function($,V){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g(z,L);var j=z.ellipsis,re=z.separator;if(V>$.length)return $;var ae=V-j.length;if(ae<1)return j;var oe=$.slice(0,ae);if(y(re))return oe+j;if($.indexOf(re,ae)!==ae){var ie=oe.lastIndexOf(re);ie>-1&&(oe=oe.slice(0,ie))}return oe+j};var L={ellipsis:"..."};t.exports=r},3085:function(t,r,n){var g=n(106),y=n(9433),L=n(3063),$=n(2349);r=function(z){var j,re=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return z===null&&(j="Null"),z===void 0&&(j="Undefined"),y(z)&&(j="NaN"),$(z)&&(j="Buffer"),j||(j=g(z).match(V))&&(j=j[1]),j?re?L(j):j:""};var V=/^\[object\s+(.*?)]$/;t.exports=r},8166:function(t,r,n){var g=n(996),y=n(2461);r={encode:function(L){return L.length<32768?String.fromCodePoint.apply(String,L):y(g(L,32767),function($){return String.fromCodePoint.apply(String,$)}).join("")},decode:function(L){for(var $=[],V=0,z=L.length;V=55296&&j<=56319&&V>6*pe)+he);pe>0;)_e+=oe(128|63&de>>6*(pe-1)),pe--;return _e}function le(de){for(;;){if(L>=$&&j){if(de)return ue();throw new Error("Invalid byte index")}if(L===$)return!1;var pe=y[L];if(L++,j){if(peae){if(de)return L--,ue();throw new Error("Invalid continuation byte")}if(re=128,ae=191,V=V<<6|63&pe,++z===j){var he=V;return V=0,j=0,z=0,he}}else{if(!(128&pe))return pe;if((224&pe)==192)j=1,V=31&pe;else if((240&pe)==224)pe===224&&(re=160),pe===237&&(ae=159),j=2,V=15&pe;else{if((248&pe)!=240){if(de)return ue();throw new Error("Invalid UTF-8 detected")}pe===240&&(re=144),pe===244&&(ae=143),j=3,V=7&pe}}}}function ue(){var de=L-z-1;return L=de+1,V=0,j=0,z=0,re=128,ae=191,y[de]}t.exports=r},5936:function(t,r,n){var g=n(3366);r=function(){var $=g(16);return $[6]=15&$[6]|64,$[8]=63&$[8]|128,y[$[0]]+y[$[1]]+y[$[2]]+y[$[3]]+"-"+y[$[4]]+y[$[5]]+"-"+y[$[6]]+y[$[7]]+"-"+y[$[8]]+y[$[9]]+"-"+y[$[10]]+y[$[11]]+y[$[12]]+y[$[13]]+y[$[14]]+y[$[15]]};for(var y=[],L=0;L<256;L++)y[L]=(L+256).toString(16).substr(1);t.exports=r},2578:function(t,r,n){var g=n(3783);r=function(y){var L=[];return g(y,function($){L.push($)}),L},t.exports=r},3514:function(t,r,n){var g=n(8573),y=n(9882),L=n(4331),$=n(3783),V=n(2461),z=n(9433);r=function(){var j=g("viewport");if(!j)return 1;j=V(j.split(","),function(le){return L(le)});var re=.25,ae=5,oe=1;$(j,function(le){var ue=(le=le.split("="))[0];le=le[1],ue==="initial-scale"&&(oe=+le),ue==="maximum-scale"&&(ae=+le),ue==="minimum-scale"&&(re=+le)});var ie=y(oe,re,ae);return z(ie)?1:ie},t.exports=r},8933:function(t,r){r=function(n){for(var g=[],y=document.evaluate(n,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),L=0;L=kt.length&&(kt=void 0),{value:kt&&kt[jt++],done:!kt}}};throw new TypeError(Lt?"Object is not iterable.":"Symbol.iterator is not defined.")},V=this&&this.__importDefault||function(kt){return kt&&kt.__esModule?kt:{default:kt}};Object.defineProperty(r,"__esModule",{value:!0});var z=V(n(1160)),j=n(7669),re=n(2062),ae=V(n(242)),oe=V(n(2439)),ie=V(n(3063)),le=V(n(3783)),ue=V(n(3009)),de=V(n(5044)),pe=V(n(4502)),he=V(n(6329)),_e=V(n(7494)),Ce=V(n(6341)),$e=V(n(3875)),xe=V(n(3577)),Ie=V(n(6768));n(8169);var Ne=function(kt){function Lt(vn,jt){jt===void 0&&(jt={});var At=kt.call(this,vn,{compName:"dom-highlighter"},jt)||this;return At.overlay=new j.HighlightOverlay(window),At.reset=function(){var hn=document.documentElement.clientWidth,bn=document.documentElement.clientHeight;At.overlay.reset({viewportSize:{width:hn,height:bn},deviceScaleFactor:1,pageScaleFactor:1,pageZoomFactor:1,emulationScaleFactor:1,scrollX:window.scrollX,scrollY:window.scrollY})},At.initOptions(jt,{showRulers:!1,showExtensionLines:!1,showInfo:!0,showStyles:!0,showAccessibilityInfo:!0,colorFormat:"hex",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)",monitorResize:!0}),At.overlay.setContainer(vn),At.overlay.setPlatform("mac"),At.redraw=(0,oe.default)(function(){At.reset(),At.draw()},16),At.redraw(),At.bindEvent(),At}return y(Lt,kt),Lt.prototype.highlight=function(vn,jt){jt&&(0,he.default)(this.options,jt),this.target=vn,vn instanceof HTMLElement&&this.options.monitorResize&&(this.resizeSensor&&this.resizeSensor.destroy(),this.resizeSensor=new ae.default(vn),this.resizeSensor.addListener(this.redraw)),this.redraw()},Lt.prototype.hide=function(){this.target=null,this.redraw()},Lt.prototype.intercept=function(vn){this.interceptor=vn},Lt.prototype.destroy=function(){window.removeEventListener("resize",this.redraw),window.removeEventListener("scroll",this.redraw),this.resizeSensor&&this.resizeSensor.destroy(),kt.prototype.destroy.call(this)},Lt.prototype.draw=function(){var vn=this.target;vn&&(vn instanceof Text?this.drawText(vn):this.drawElement(vn))},Lt.prototype.drawText=function(vn){var jt=this.options,At=document.createRange();At.selectNode(vn);var hn=At.getBoundingClientRect(),bn=hn.left,Cn=hn.top,Tn=hn.width,xn=hn.height;At.detach();var En={paths:[{path:this.rectToPath({left:bn,top:Cn,width:Tn,height:xn}),fillColor:qe(jt.contentColor),name:"content"}],showExtensionLines:jt.showExtensionLines,showRulers:jt.showRulers};jt.showInfo&&(En.elementInfo={tagName:"#text",nodeWidth:Tn,nodeHeight:xn}),this.overlay.drawHighlight(En)},Lt.prototype.drawElement=function(vn){var jt={paths:this.getPaths(vn),showExtensionLines:this.options.showExtensionLines,showRulers:this.options.showRulers,colorFormat:this.options.colorFormat};if(this.options.showInfo&&(jt.elementInfo=this.getElementInfo(vn)),this.interceptor){var At=this.interceptor(jt);At&&(jt=At)}this.overlay.drawHighlight(jt)},Lt.prototype.getPaths=function(vn){var jt=this.options,At=window.getComputedStyle(vn),hn=vn.getBoundingClientRect(),bn=hn.left,Cn=hn.top,Tn=hn.width,xn=hn.height,En=function(Un){return(0,re.pxToNum)(At.getPropertyValue(Un))},kn=En("margin-left"),On=En("margin-right"),Rn=En("margin-top"),In=En("margin-bottom"),Mn=En("border-left-width"),Vn=En("border-right-width"),zn=En("border-top-width"),Jn=En("border-bottom-width"),tr=En("padding-left"),$n=En("padding-right"),Pn=En("padding-top"),Bn=En("padding-bottom");return[{path:this.rectToPath({left:bn+Mn+tr,top:Cn+zn+Pn,width:Tn-Mn-tr-Vn-$n,height:xn-zn-Pn-Jn-Bn}),fillColor:qe(jt.contentColor),name:"content"},{path:this.rectToPath({left:bn+Mn,top:Cn+zn,width:Tn-Mn-Vn,height:xn-zn-Jn}),fillColor:qe(jt.paddingColor),name:"padding"},{path:this.rectToPath({left:bn,top:Cn,width:Tn,height:xn}),fillColor:qe(jt.borderColor),name:"border"},{path:this.rectToPath({left:bn-kn,top:Cn-Rn,width:Tn+kn+On,height:xn+Rn+In}),fillColor:qe(jt.marginColor),name:"margin"}]},Lt.prototype.getElementInfo=function(vn){var jt=vn.getBoundingClientRect(),At=jt.width,hn=jt.height,bn=vn.getAttribute("class")||"";bn=bn.split(/\s+/).map(function(Tn){return"."+Tn}).join("");var Cn={tagName:(0,ie.default)(vn.tagName),className:bn,idValue:vn.id,nodeWidth:At,nodeHeight:hn};return this.options.showStyles&&(Cn.style=this.getStyles(vn)),this.options.showAccessibilityInfo&&(0,he.default)(Cn,this.getAccessibilityInfo(vn)),Cn},Lt.prototype.getStyles=function(vn){for(var jt=window.getComputedStyle(vn),At=!1,hn=vn.childNodes,bn=0,Cn=hn.length;bn-1)},Lt.prototype.getAccessibleNameAndRole=function(vn){var jt=vn.getAttribute("labelledby")||vn.getAttribute("aria-label"),At=vn.getAttribute("role"),hn=(0,ie.default)(vn.tagName);return xe.default.forEach(function(bn){var Cn,Tn;if(!At){var xn=bn[0],En=bn[2];if(xn===hn){if(En)try{for(var kn=$(En),On=kn.next();!On.done;On=kn.next()){var Rn=On.value;if(vn.getAttribute(Rn[0])!==Rn[1])return}}catch(In){Cn={error:In}}finally{try{On&&!On.done&&(Tn=kn.return)&&Tn.call(kn)}finally{if(Cn)throw Cn.error}}At=bn[1]}}}),{accessibleName:jt||vn.getAttribute("title")||"",accessibleRole:At||"generic"}},Lt.prototype.bindEvent=function(){var vn=this;window.addEventListener("resize",this.redraw),window.addEventListener("scroll",this.redraw),this.on("optionChange",function(){return vn.redraw()})},Lt.prototype.rectToPath=function(vn){var jt=vn.left,At=vn.top,hn=vn.width,bn=vn.height,Cn=[];return Cn.push("M",jt,At),Cn.push("L",jt+hn,At),Cn.push("L",jt+hn,At+bn),Cn.push("L",jt,At+bn),Cn.push("Z"),Cn},Lt}(z.default);r.default=Ne,t.exports=Ne,t.exports.default=Ne;var ze=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,Fe=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/;function qe(kt){return(0,Ie.default)(kt)?kt:kt.a?"rgba(".concat(kt.r,", ").concat(kt.g,", ").concat(kt.b,", ").concat(kt.a,")"):"rgb(".concat(kt.r,", ").concat(kt.g,", ").concat(kt.b,")")}function Et(kt,Lt,vn){vn===void 0&&(vn=!1);var jt={};return(0,le.default)(Lt,function(At){var hn,bn=kt[At==="text-opacity"?"color":At];bn&&(hn=bn,(ze.test(hn)||Fe.test(hn))&&(bn=function(Cn){var Tn=ue.default.parse(Cn),xn=Tn.val[3]||1;return Tn.val=Tn.val.slice(0,3),Tn.val.push(Math.round(255*xn)),"#"+(0,pe.default)(de.default.encode(Tn.val))}(bn),At==="text-opacity"&&(bn=bn.slice(7),bn=de.default.decode(bn)[0]/255)),vn&&(At=(0,_e.default)(At)),jt[At]=bn)}),jt}},9706:function(t,r){var n=this&&this.__read||function(qe,Et){var kt=typeof Symbol=="function"&&qe[Symbol.iterator];if(!kt)return qe;var Lt,vn,jt=kt.call(qe),At=[];try{for(;(Et===void 0||Et-- >0)&&!(Lt=jt.next()).done;)At.push(Lt.value)}catch(hn){vn={error:hn}}finally{try{Lt&&!Lt.done&&(kt=jt.return)&&kt.call(jt)}finally{if(vn)throw vn.error}}return At},g=this&&this.__values||function(qe){var Et=typeof Symbol=="function"&&Symbol.iterator,kt=Et&&qe[Et],Lt=0;if(kt)return kt.call(qe);if(qe&&typeof qe.length=="number")return{next:function(){return qe&&Lt>=qe.length&&(qe=void 0),{value:qe&&qe[Lt++],done:!qe}}};throw new TypeError(Et?"Object is not iterable.":"Symbol.iterator is not defined.")};function y(qe,Et){var kt=qe[3];return[(1-kt)*Et[0]+kt*qe[0],(1-kt)*Et[1]+kt*qe[1],(1-kt)*Et[2]+kt*qe[2],kt+Et[3]*(1-kt)]}function L(qe){var Et=n(qe,3),kt=Et[0],Lt=Et[1],vn=Et[2];return .2126*(kt<=.03928?kt/12.92:Math.pow((kt+.055)/1.055,2.4))+.7152*(Lt<=.03928?Lt/12.92:Math.pow((Lt+.055)/1.055,2.4))+.0722*(vn<=.03928?vn/12.92:Math.pow((vn+.055)/1.055,2.4))}Object.defineProperty(r,"__esModule",{value:!0}),r.getContrastThreshold=r.isLargeFont=r.getAPCAThreshold=r.desiredLuminanceAPCA=r.contrastRatioByLuminanceAPCA=r.contrastRatioAPCA=r.luminanceAPCA=r.contrastRatio=r.luminance=r.rgbaToHsla=r.blendColors=void 0,r.blendColors=y,r.rgbaToHsla=function(qe){var Et=n(qe,4),kt=Et[0],Lt=Et[1],vn=Et[2],jt=Et[3],At=Math.max(kt,Lt,vn),hn=Math.min(kt,Lt,vn),bn=At-hn,Cn=At+hn,Tn=.5*Cn;return[hn===At?0:kt===At?(.16666666666666666*(Lt-vn)/bn+1)%1:Lt===At?.16666666666666666*(vn-kt)/bn+.3333333333333333:.16666666666666666*(kt-Lt)/bn+.6666666666666666,Tn===0||Tn===1?0:Tn<=.5?bn/Cn:bn/(2-Cn),Tn,jt]},r.luminance=L,r.contrastRatio=function(qe,Et){var kt=L(y(qe,Et)),Lt=L(Et);return(Math.max(kt,Lt)+.05)/(Math.min(kt,Lt)+.05)};var $=2.4,V=.55,z=.58,j=.62,re=.57,ae=.03,oe=1.45,ie=1.25,le=1.25,ue=5e-4,de=.078,pe=12.82051282051282,he=.06,_e=.001;function Ce(qe){var Et=n(qe,3),kt=Et[0],Lt=Et[1],vn=Et[2];return .2126729*Math.pow(kt,$)+.7151522*Math.pow(Lt,$)+.072175*Math.pow(vn,$)}function $e(qe){return qe>ae?qe:qe+Math.pow(ae-qe,oe)}function xe(qe,Et){if(qe=$e(qe),Et=$e(Et),Math.abs(qe-Et)=qe?(kt=(Math.pow(Et,V)-Math.pow(qe,z))*ie)<_e?0:kt-_e?0:kt>-de?kt-kt*pe*he:kt+he)}r.luminanceAPCA=Ce,r.contrastRatioAPCA=function(qe,Et){return xe(Ce(qe),Ce(Et))},r.contrastRatioByLuminanceAPCA=xe,r.desiredLuminanceAPCA=function(qe,Et,kt){function Lt(){return kt?Math.pow(Math.abs(Math.pow(qe,j)-(-Et-he)/le),1/re):Math.pow(Math.abs(Math.pow(qe,V)-(Et+he)/ie),1/z)}qe=$e(qe),Et/=100;var vn=Lt();return(vn<0||vn>1)&&(kt=!kt,vn=Lt()),vn};var Ie=[[12,-1,-1,-1,-1,100,90,80,-1,-1],[14,-1,-1,-1,100,90,80,60,60,-1],[16,-1,-1,100,90,80,60,55,50,50],[18,-1,-1,90,80,60,55,50,40,40],[24,-1,100,80,60,55,50,40,38,35],[30,-1,90,70,55,50,40,38,35,40],[36,-1,80,60,50,40,38,35,30,25],[48,100,70,55,40,38,35,30,25,20],[60,90,60,50,38,35,30,25,20,20],[72,80,55,40,35,30,25,20,20,20],[96,70,50,35,30,25,20,20,20,20],[120,60,40,30,25,20,20,20,20,20]];function Ne(qe,Et){var kt=72*parseFloat(qe.replace("px",""))/96;return["bold","bolder","600","700","800","900"].indexOf(Et)!==-1?kt>=14:kt>=18}Ie.reverse(),r.getAPCAThreshold=function(qe,Et){var kt,Lt,vn,jt,At=parseFloat(qe.replace("px","")),hn=parseFloat(Et);try{for(var bn=g(Ie),Cn=bn.next();!Cn.done;Cn=bn.next()){var Tn=n(Cn.value),xn=Tn[0],En=Tn.slice(1);if(At>=xn)try{for(var kn=(vn=void 0,g([900,800,700,600,500,400,300,200,100].entries())),On=kn.next();!On.done;On=kn.next()){var Rn=n(On.value,2),In=Rn[0];if(hn>=Rn[1]){var Mn=En[En.length-1-In];return Mn===-1?null:Mn}}}catch(Vn){vn={error:Vn}}finally{try{On&&!On.done&&(jt=kn.return)&&jt.call(kn)}finally{if(vn)throw vn.error}}}}catch(Vn){kt={error:Vn}}finally{try{Cn&&!Cn.done&&(Lt=bn.return)&&Lt.call(bn)}finally{if(kt)throw kt.error}}return null},r.isLargeFont=Ne;var ze={aa:3,aaa:4.5},Fe={aa:4.5,aaa:7};r.getContrastThreshold=function(qe,Et){return Ne(qe,Et)?ze:Fe}},9434:function(t,r){var n=this&&this.__values||function(j){var re=typeof Symbol=="function"&&Symbol.iterator,ae=re&&j[re],oe=0;if(ae)return ae.call(j);if(j&&typeof j.length=="number")return{next:function(){return j&&oe>=j.length&&(j=void 0),{value:j&&j[oe++],done:!j}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")},g=this&&this.__read||function(j,re){var ae=typeof Symbol=="function"&&j[Symbol.iterator];if(!ae)return j;var oe,ie,le=ae.call(j),ue=[];try{for(;(re===void 0||re-- >0)&&!(oe=le.next()).done;)ue.push(oe.value)}catch(de){ie={error:de}}finally{try{oe&&!oe.done&&(ae=le.return)&&ae.call(le)}finally{if(ie)throw ie.error}}return ue},y=this&&this.__spreadArray||function(j,re,ae){if(ae||arguments.length===2)for(var oe,ie=0,le=re.length;ieae&&(j=ae),j},r.adoptStyleSheet=z},1521:function(t,r,n){var g=this&&this.__values||function(pe){var he=typeof Symbol=="function"&&Symbol.iterator,_e=he&&pe[he],Ce=0;if(_e)return _e.call(pe);if(pe&&typeof pe.length=="number")return{next:function(){return pe&&Ce>=pe.length&&(pe=void 0),{value:pe&&pe[Ce++],done:!pe}}};throw new TypeError(he?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(pe,he){var _e=typeof Symbol=="function"&&pe[Symbol.iterator];if(!_e)return pe;var Ce,$e,xe=_e.call(pe),Ie=[];try{for(;(he===void 0||he-- >0)&&!(Ce=xe.next()).done;)Ie.push(Ce.value)}catch(Ne){$e={error:Ne}}finally{try{Ce&&!Ce.done&&(_e=xe.return)&&_e.call(xe)}finally{if($e)throw $e.error}}return Ie},L=this&&this.__spreadArray||function(pe,he,_e){if(_e||arguments.length===2)for(var Ce,$e=0,xe=he.length;$eEn&&Rnkn,Vn=jt-xn;Vn=(0,z.constrainNumber)(Vn,Cn,qe-At-Cn);var zn=Fe.minY-bn-hn,Jn=!0;zn<0?(zn=Math.min(Et-hn,Fe.maxY+bn),Jn=!1):Fe.minY>Et&&(zn=Et-bn-hn);var tr=Vn>=Fe.minX&&Vn+At<=Fe.maxX&&zn>=Fe.minY&&zn+hn<=Fe.maxY,$n=VnFe.minX&&znFe.minY;if($n&&!tr)return void(Lt.style.display="none");if(Lt.style.top=zn+"px",Lt.style.left=Vn+"px",!Mn){var Pn=(0,z.createChild)(Lt,"div","tooltip-arrow");Pn.style.clipPath=Jn?"polygon(0 0, 100% 0, 50% 100%)":"polygon(50% 0, 0 100%, 100% 100%)",Pn.style.top=(Jn?hn-1:-bn)+"px",Pn.style.left=jt-Vn+"px"}}(this.tooltip,pe.elementInfo,pe.colorFormat,he,this.canvasWidth,this.canvasHeight)),this.context.restore(),{bounds:he}},de.prototype.drawAxis=function(pe,he,_e){pe.save();var Ce=this.pageZoomFactor*this.pageScaleFactor*this.emulationScaleFactor,$e=this.scrollX*this.pageScaleFactor,xe=this.scrollY*this.pageScaleFactor;function Ie(At){return Math.round(At*Ce)}function Ne(At){return Math.round(At/Ce)}var ze=this.canvasWidth/Ce,Fe=this.canvasHeight/Ce,qe=50;pe.save(),pe.fillStyle=ie,_e?pe.fillRect(0,Ie(Fe)-15,Ie(ze),Ie(Fe)):pe.fillRect(0,0,Ie(ze),15),pe.globalCompositeOperation="destination-out",pe.fillStyle="red",he?pe.fillRect(Ie(ze)-15,0,Ie(ze),Ie(Fe)):pe.fillRect(0,0,15,Ie(Fe)),pe.restore(),pe.fillStyle=ie,he?pe.fillRect(Ie(ze)-15,0,Ie(ze),Ie(Fe)):pe.fillRect(0,0,15,Ie(Fe)),pe.lineWidth=1,pe.strokeStyle=oe,pe.fillStyle=oe,pe.save(),pe.translate(-$e,.5-xe);for(var Et=Fe+Ne(xe),kt=100;kt]*>/g.test($e))try{var xe=V.default.parse($e);return ie(xe,function(Ie){Ie.attrs&&Ie.attrs.class&&(Ie.attrs.class=Ce(Ie.attrs.class))}),V.default.stringify(xe)}catch{return Ce($e)}return Ce($e)}};var le,ue="ontouchstart"in $.default,de={start:"touchstart",move:"touchmove",end:"touchend"},pe={start:"mousedown",move:"mousemove",end:"mouseup"};r.drag=function(he){return ue?de[he]:pe[he]},r.eventClient=function(he,_e){var Ce=he==="x"?"clientX":"clientY";return _e[Ce]?_e[Ce]:_e.changedTouches?_e.changedTouches[0][Ce]:0},r.eventPage=function(he,_e){var Ce=he==="x"?"pageX":"pageY";return _e[Ce]?_e[Ce]:_e.changedTouches?_e.changedTouches[0][Ce]:0},r.measuredScrollbarWidth=function(){if((0,z.default)(le))return le;if(!document)return 16;var he=document.createElement("div"),_e=document.createElement("div");return he.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),_e.setAttribute("style","height: 200px"),he.appendChild(_e),document.body.appendChild(he),le=he.offsetWidth-he.clientWidth,document.body.removeChild(he),le},r.hasVerticalScrollbar=function(he){return he.scrollHeight>he.offsetHeight},r.executeAfterTransition=function(he,_e){if((0,oe.default)(he))return _e();var Ce=function($e){$e.target===he&&(he.removeEventListener("transitionend",Ce),_e())};he.addEventListener("transitionend",Ce)},r.pxToNum=function(he){return(0,re.default)(he.replace("px",""))},r.getPlatform=function(){var he=(0,ae.default)();return he==="os x"?"mac":he},r.resetCanvasSize=function(he){he.width=Math.round(he.offsetWidth*window.devicePixelRatio),he.height=Math.round(he.offsetHeight*window.devicePixelRatio)}},6093:function(t,r,n){var g,y=this&&this.__extends||(g=function(oe,ie){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ue){le.__proto__=ue}||function(le,ue){for(var de in ue)Object.prototype.hasOwnProperty.call(ue,de)&&(le[de]=ue[de])},g(oe,ie)},function(oe,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");function le(){this.constructor=oe}g(oe,ie),oe.prototype=ie===null?Object.create(ie):(le.prototype=ie.prototype,new le)}),L=this&&this.__importDefault||function(oe){return oe&&oe.__esModule?oe:{default:oe}};Object.defineProperty(r,"__esModule",{value:!0});var $=L(n(1512)),V=L(n(5229)),z=L(n(2244)),j=L(n(8613)),re=function(oe){function ie(le,ue){ue===void 0&&(ue={});var de=oe.call(this,le,{compName:"notification"},ue)||this;return de.notifications=[],de.initOptions(ue,{position:{x:"right",y:"bottom"},duration:2e3}),de.initTpl(),de}return y(ie,oe),ie.prototype.notify=function(le,ue){var de=this;ue===void 0&&(ue={duration:this.options.duration});var pe=new ae(this,le);this.notifications.push(pe),this.add(pe),setTimeout(function(){return de.remove(pe.id)},ue.duration)},ie.prototype.dismissAll=function(){for(var le=this.notifications,ue=le[0];ue;)this.remove(ue.id),ue=le[0]},ie.prototype.add=function(le){this.container.appendChild(le.container)},ie.prototype.remove=function(le){var ue=this.notifications,de=(0,z.default)(ue,function(he){return he.id===le});if(de){de.destroy();var pe=ue.indexOf(de);ue.splice(pe,1)}},ie.prototype.initTpl=function(){var le=this.$container,ue=this.options.position,de=ue.x,pe=ue.y,he="flex-end",_e="flex-end";switch(de){case"center":_e="center";break;case"left":_e="flex-start"}pe==="top"&&(he="flex-start"),le.attr("style","justify-content: ".concat(he,"; align-items: ").concat(_e))},ie}(L(n(5404)).default);r.default=re;var ae=function(){function oe(ie,le){this.container=(0,j.default)("div"),this.$container=(0,$.default)(this.container),this.notification=ie,this.content=le,this.id=(0,V.default)("luna-notification-"),this.$container.attr({id:this.id,class:ie.c("item ".concat(ie.getOption("position").y==="bottom"?"lower":"upper"))}),this.initTpl()}return oe.prototype.destroy=function(){this.$container.remove()},oe.prototype.initTpl=function(){this.$container.html(this.notification.c('
    '.concat(this.content,"
    ")))},oe}();t.exports=re,t.exports.default=re},5404:function(t,r,n){var g,y=this&&this.__extends||(g=function(le,ue){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,pe){de.__proto__=pe}||function(de,pe){for(var he in pe)Object.prototype.hasOwnProperty.call(pe,he)&&(de[he]=pe[he])},g(le,ue)},function(le,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");function de(){this.constructor=le}g(le,ue),le.prototype=ue===null?Object.create(ue):(de.prototype=ue.prototype,new de)}),L=this&&this.__importDefault||function(le){return le&&le.__esModule?le:{default:le}};Object.defineProperty(r,"__esModule",{value:!0});var $=L(n(1443)),V=L(n(1512)),z=n(164),j=L(n(3783)),re=L(n(6329)),ae=L(n(4193)),oe=L(n(5852)),ie=function(le){function ue(de,pe,he){var _e=pe.compName,Ce=(he===void 0?{}:he).theme,$e=Ce===void 0?"light":Ce,xe=le.call(this)||this;return xe.subComponents=[],xe.compName=_e,xe.c=(0,z.classPrefix)(_e),xe.options={},xe.container=de,xe.$container=(0,V.default)(de),xe.$container.addClass(["luna-".concat(_e),xe.c("platform-".concat((0,z.getPlatform)()))]),xe.on("optionChange",function(Ie,Ne,ze){var Fe=xe.c;Ie==="theme"&&(xe.$container.rmClass(Fe("theme-".concat(ze))).addClass(Fe("theme-".concat(Ne))),(0,j.default)(xe.subComponents,function(qe){return qe.setOption("theme",Ne)}))}),xe.setOption("theme",$e),xe}return y(ue,le),ue.prototype.destroy=function(){this.destroySubComponents();var de=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(de("platform-".concat((0,z.getPlatform)()))).rmClass(de("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()},ue.prototype.setOption=function(de,pe){var he=this,_e=this.options,Ce={};typeof de=="string"?Ce[de]=pe:Ce=de,(0,j.default)(Ce,function($e,xe){var Ie=_e[xe];_e[xe]=$e,he.emit("optionChange",xe,$e,Ie)})},ue.prototype.getOption=function(de){return this.options[de]},ue.prototype.addSubComponent=function(de){de.setOption("theme",this.options.theme),this.subComponents.push(de)},ue.prototype.removeSubComponent=function(de){(0,oe.default)(this.subComponents,function(pe){return pe===de})},ue.prototype.destroySubComponents=function(){(0,j.default)(this.subComponents,function(de){return de.destroy()}),this.subComponents=[]},ue.prototype.initOptions=function(de,pe){pe===void 0&&(pe={}),(0,ae.default)(de,pe),(0,re.default)(this.options,de)},ue.prototype.find=function(de){return this.$container.find(this.c(de))},ue}($.default);r.default=ie},164:function(t,r,n){var g=this&&this.__importDefault||function(he){return he&&he.__esModule?he:{default:he}};Object.defineProperty(r,"__esModule",{value:!0}),r.resetCanvasSize=r.getPlatform=r.pxToNum=r.executeAfterTransition=r.hasVerticalScrollbar=r.measuredScrollbarWidth=r.eventClient=r.drag=r.classPrefix=void 0;var y=g(n(2461)),L=g(n(4331)),$=g(n(5610)),V=g(n(7483)),z=g(n(3990)),j=g(n(6341)),re=g(n(3875)),ae=g(n(6954)),oe=g(n(9585));function ie(he,_e){for(var Ce=0,$e=he.length;Ce<$e;Ce++){var xe=he[Ce];_e(xe),xe.content&&ie(xe.content,_e)}}r.classPrefix=function(he){var _e="luna-".concat(he,"-");function Ce($e){return(0,y.default)((0,L.default)($e).split(/\s+/),function(xe){return(0,j.default)(xe,_e)?xe:xe.replace(/[\w-]+/,function(Ie){return"".concat(_e).concat(Ie)})}).join(" ")}return function($e){if(/<[^>]*>/g.test($e))try{var xe=V.default.parse($e);return ie(xe,function(Ie){Ie.attrs&&Ie.attrs.class&&(Ie.attrs.class=Ce(Ie.attrs.class))}),V.default.stringify(xe)}catch{return Ce($e)}return Ce($e)}};var le,ue="ontouchstart"in $.default,de={start:"touchstart",move:"touchmove",end:"touchend"},pe={start:"mousedown",move:"mousemove",end:"mouseup"};r.drag=function(he){return ue?de[he]:pe[he]},r.eventClient=function(he,_e){var Ce=he==="x"?"clientX":"clientY";return _e[Ce]?_e[Ce]:_e.changedTouches?_e.changedTouches[0][Ce]:0},r.measuredScrollbarWidth=function(){if((0,z.default)(le))return le;if(!document)return 16;var he=document.createElement("div"),_e=document.createElement("div");return he.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),_e.setAttribute("style","height: 200px"),he.appendChild(_e),document.body.appendChild(he),le=he.offsetWidth-he.clientWidth,document.body.removeChild(he),le},r.hasVerticalScrollbar=function(he){return he.scrollHeight>he.offsetHeight},r.executeAfterTransition=function(he,_e){if((0,oe.default)(he))return _e();var Ce=function($e){$e.target===he&&(he.removeEventListener("transitionend",Ce),_e())};he.addEventListener("transitionend",Ce)},r.pxToNum=function(he){return(0,re.default)(he.replace("px",""))},r.getPlatform=function(){var he=(0,ae.default)();return he==="os x"?"mac":he},r.resetCanvasSize=function(he){he.width=Math.round(he.offsetWidth*window.devicePixelRatio),he.height=Math.round(he.offsetHeight*window.devicePixelRatio)}},8169:function(t,r,n){n.r(r),n.d(r,{default:function(){return de}});var g={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},y=/([astvzqmhlc])([^astvzqmhlc]*)/gi,L=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi,$=function(pe){var he=[],_e=String(pe).trim();return _e[0]!=="M"&&_e[0]!=="m"||_e.replace(y,function(Ce,$e,xe){var Ie=$e.toLowerCase(),Ne=function(Fe){var qe=Fe.match(L);return qe?qe.map(Number):[]}(xe),ze=$e;if(Ie==="m"&&Ne.length>2&&(he.push([ze].concat(Ne.splice(0,2))),Ie="l",ze=ze==="m"?"l":"L"),Ne.length=g[Ie]&&Ne.length&&g[Ie];)he.push([ze].concat(Ne.splice(0,g[Ie])));return""}),he};function V(pe,he){for(var _e=0;_epe.length)&&(he=pe.length);for(var _e=0,Ce=new Array(he);_e1&&(kn*=jt=Math.sqrt(jt),On*=jt),At=kn*kn*On*On,hn=kn*kn*Lt.y*Lt.y+On*On*Lt.x*Lt.x,oe(Vn={x:kn*Lt.y/On,y:-On*Lt.x/kn},Et!==qe?Math.sqrt((At-hn)/hn)||0:-Math.sqrt((At-hn)/hn)||0),Fe=Math.atan2((Lt.y-Vn.y)/On,(Lt.x-Vn.x)/kn),ze=Math.atan2(-(Lt.y+Vn.y)/On,-(Lt.x+Vn.x)/kn),ae(Vn,vn),Bn=Vn,Un=(kt.x+ur.x)/2,Fn=(kt.y+ur.y)/2,Bn.x+=Un,Bn.y+=Fn,Ie.save(),Ie.translate(Vn.x,Vn.y),Ie.rotate(vn),Ie.scale(kn,On),Ie.arc(0,0,1,Fe,ze,!Et),Ie.restore();break;case"C":zn=Yn[3],Jn=Yn[4],bn=Yn[5],Tn=Yn[6],Ie.bezierCurveTo(Yn[1],Yn[2],zn,Jn,bn,Tn);break;case"c":Ie.bezierCurveTo(Yn[1]+bn,Yn[2]+Tn,Yn[3]+bn,Yn[4]+Tn,Yn[5]+bn,Yn[6]+Tn),zn=Yn[3]+bn,Jn=Yn[4]+Tn,bn+=Yn[5],Tn+=Yn[6];break;case"S":zn!==null&&Jn!==null||(zn=bn,Jn=Tn),Ie.bezierCurveTo(2*bn-zn,2*Tn-Jn,Yn[1],Yn[2],Yn[3],Yn[4]),zn=Yn[1],Jn=Yn[2],bn=Yn[3],Tn=Yn[4];break;case"s":zn!==null&&Jn!==null||(zn=bn,Jn=Tn),Ie.bezierCurveTo(2*bn-zn,2*Tn-Jn,Yn[1]+bn,Yn[2]+Tn,Yn[3]+bn,Yn[4]+Tn),zn=Yn[1]+bn,Jn=Yn[2]+Tn,bn+=Yn[3],Tn+=Yn[4];break;case"Q":tr=Yn[1],$n=Yn[2],bn=Yn[3],Tn=Yn[4],Ie.quadraticCurveTo(tr,$n,bn,Tn);break;case"q":tr=Yn[1]+bn,$n=Yn[2]+Tn,bn+=Yn[3],Tn+=Yn[4],Ie.quadraticCurveTo(tr,$n,bn,Tn);break;case"T":tr!==null&&$n!==null||(tr=bn,$n=Tn),tr=2*bn-tr,$n=2*Tn-$n,bn=Yn[1],Tn=Yn[2],Ie.quadraticCurveTo(tr,$n,bn,Tn);break;case"t":tr!==null&&$n!==null||(tr=bn,$n=Tn),tr=2*bn-tr,$n=2*Tn-$n,bn+=Yn[1],Tn+=Yn[2],Ie.quadraticCurveTo(tr,$n,bn,Tn);break;case"z":case"Z":bn=cr.x,Tn=cr.y,cr=void 0,Ie.closePath();break;case"AC":bn=Yn[1],Tn=Yn[2],En=Yn[3],Fe=Yn[4],ze=Yn[5],Pn=Yn[6],Ie.arc(bn,Tn,En,Fe,ze,Pn);break;case"AT":Cn=Yn[1],xn=Yn[2],bn=Yn[3],Tn=Yn[4],En=Yn[5],Ie.arcTo(Cn,xn,bn,Tn,En);break;case"E":bn=Yn[1],Tn=Yn[2],kn=Yn[3],On=Yn[4],vn=Yn[5],Fe=Yn[6],ze=Yn[7],Pn=Yn[8],Ie.save(),Ie.translate(bn,Tn),Ie.rotate(vn),Ie.scale(kn,On),Ie.arc(0,0,1,Fe,ze,Pn),Ie.restore();break;case"R":bn=Yn[1],Tn=Yn[2],Rn=Yn[3],In=Yn[4],cr={x:bn,y:Tn},Ie.rect(bn,Tn,Rn,In)}ur.x=bn,ur.y=Tn}}},le=$,ue=ie;typeof window<"u"&&ue(window);var de={path2dPolyfill:ue,parsePath:le}},2777:function(t){t.exports=`.luna-dom-highlighter{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100000;pointer-events:none;font-size:13px}.luna-dom-highlighter-fill{position:absolute;top:0;right:0;bottom:0;left:0}.luna-dom-highlighter-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-highlighter-platform-mac{color:#303942;font-family:'.SFNSDisplay-Regular','Helvetica Neue','Lucida Grande',sans-serif}.luna-dom-highlighter-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-highlighter-px{color:gray}#luna-dom-highlighter-element-title{position:absolute;z-index:10}.luna-dom-highlighter-tooltip-content{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#fff;padding:5px 8px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;min-width:100px;max-width:min(300px,100% - 4px);z-index:2;background-clip:padding-box;will-change:transform;text-rendering:optimizeLegibility;pointer-events:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}.luna-dom-highlighter-tooltip-content .luna-dom-highlighter-tooltip-arrow{background:#fff;width:15px;height:8px;position:absolute}.luna-dom-highlighter-element-info-section{margin-top:12px;margin-bottom:6px}.luna-dom-highlighter-section-name{color:#333;font-weight:500;font-size:10px;text-transform:uppercase;letter-spacing:.05em;line-height:12px}.luna-dom-highlighter-element-info{display:flex;flex-direction:column}.luna-dom-highlighter-element-info-header{display:flex;align-items:center}.luna-dom-highlighter-element-info-body{display:flex;flex-direction:column;padding-top:2px;margin-top:2px}.luna-dom-highlighter-element-info-row{display:flex;line-height:19px}.luna-dom-highlighter-separator-container{display:flex;align-items:center;flex:auto;margin-left:7px}.luna-dom-highlighter-separator{border-top:1px solid #ddd;width:100%}.luna-dom-highlighter-element-info-name{flex-shrink:0;color:#666}.luna-dom-highlighter-element-info-gap{flex:auto}.luna-dom-highlighter-element-info-value-color{display:flex;color:#303942;margin-left:10px;align-items:baseline}.luna-dom-highlighter-a11y-icon{width:16px;height:16px;background-repeat:no-repeat;display:inline-block}.luna-dom-highlighter-element-info-value-contrast{display:flex;align-items:center;text-align:right;color:#303942;margin-left:10px}.luna-dom-highlighter-element-info-value-contrast .luna-dom-highlighter-a11y-icon{margin-left:8px}.luna-dom-highlighter-element-info-value-icon{display:flex;align-items:center}.luna-dom-highlighter-element-info-value-text{text-align:right;color:#303942;margin-left:10px;align-items:baseline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-dom-highlighter-color-swatch{display:flex;margin-right:2px;width:10px;height:10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);line-height:10px}.luna-dom-highlighter-color-swatch-inner{flex:auto;border:1px solid #808002}.luna-dom-highlighter-element-layout-type{margin-right:10px;width:16px;height:16px}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-grid{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-flex{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-element-description{flex:1 1;font-weight:700;word-wrap:break-word;word-break:break-all}.luna-dom-highlighter-dimensions{color:#737373;text-align:right;margin-left:10px}.luna-dom-highlighter-material-node-width{margin-right:2px}.luna-dom-highlighter-material-node-height{margin-left:2px}.luna-dom-highlighter-material-tag-name{color:#881280}.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id{color:#1a1aa6}.luna-dom-highlighter-contrast-text{width:16px;height:16px;text-align:center;line-height:16px;margin-right:8px;border:1px solid #000;padding:0 1px}.luna-dom-highlighter-a11y-icon-not-ok{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-a11y-icon-warning{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-a11y-icon-ok{background-image:url('data:image/svg+xml,')}@media (forced-colors:active){:root,body{background-color:transparent;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content{border-color:Highlight;background-color:canvas;color:text;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content::after{background-color:Highlight}.luna-dom-highlighter-color-swatch-inner,.luna-dom-highlighter-contrast-text,.luna-dom-highlighter-separator{border-color:Highlight}.luna-dom-highlighter-section-name{color:Highlight}.luna-dom-highlighter-dimensions,.luna-dom-highlighter-element-info-name,.luna-dom-highlighter-element-info-value-color,.luna-dom-highlighter-element-info-value-contrast,.luna-dom-highlighter-element-info-value-icon,.luna-dom-highlighter-element-info-value-text,.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id,.luna-dom-highlighter-material-tag-name{color:canvastext}} - -/*# sourceMappingURL=luna-dom-highlighter.css.map*/`},907:function(t,r,n){function g(y,L){(L==null||L>y.length)&&(L=y.length);for(var $=0,V=new Array(L);$le;)if((ae=oe[le++])!=ae)return!0}else for(;ie>le;le++)if((V||le in oe)&&oe[le]===j)return V||le||0;return!V&&-1}};t.exports={includes:$(!0),indexOf:$(!1)}},4805:function(t,r,n){var g=n(2938),y=n(7386),L=n(5044),$=n(1324),V=n(1825),z=n(4822),j=y([].push),re=function(ae){var oe=ae==1,ie=ae==2,le=ae==3,ue=ae==4,de=ae==6,pe=ae==7,he=ae==5||de;return function(_e,Ce,$e,xe){for(var Ie,Ne,ze=$(_e),Fe=L(ze),qe=g(Ce,$e),Et=V(Fe),kt=0,Lt=xe||z,vn=oe?Lt(_e,Et):ie||pe?Lt(_e,0):void 0;Et>kt;kt++)if((he||kt in Fe)&&(Ne=qe(Ie=Fe[kt],kt,ze),ae))if(oe)vn[kt]=Ne;else if(Ne)switch(ae){case 3:return!0;case 5:return Ie;case 6:return kt;case 2:j(vn,Ie)}else switch(ae){case 4:return!1;case 7:j(vn,Ie)}return de?-1:le||ue?ue:vn}};t.exports={forEach:re(0),map:re(1),filter:re(2),some:re(3),every:re(4),find:re(5),findIndex:re(6),filterReject:re(7)}},9269:function(t,r,n){var g=n(6544),y=n(3649),L=n(4061),$=y("species");t.exports=function(V){return L>=51||!g(function(){var z=[];return(z.constructor={})[$]=function(){return{foo:1}},z[V](Boolean).foo!==1})}},4546:function(t,r,n){var g=n(7583),y=n(6782),L=n(1825),$=n(5999),V=g.Array,z=Math.max;t.exports=function(j,re,ae){for(var oe=L(j),ie=y(re,oe),le=y(ae===void 0?oe:ae,oe),ue=V(z(le-ie,0)),de=0;ie0&&g[0]<4?1:+(g[0]+g[1])),!y&&$&&(!(g=$.match(/Edge\/(\d+)/))||g[1]>=74)&&(g=$.match(/Chrome\/(\d+)/))&&(y=+g[1]),t.exports=y},5690:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1178:function(t,r,n){var g=n(6544),y=n(4677);t.exports=!g(function(){var L=Error("a");return!("stack"in L)||(Object.defineProperty(L,"stack",y(1,7)),L.stack!==7)})},7263:function(t,r,n){var g=n(7583),y=n(6683).f,L=n(57),$=n(1270),V=n(460),z=n(3478),j=n(4451);t.exports=function(re,ae){var oe,ie,le,ue,de,pe=re.target,he=re.global,_e=re.stat;if(oe=he?g:_e?g[pe]||V(pe,{}):(g[pe]||{}).prototype)for(ie in ae){if(ue=ae[ie],le=re.noTargetGet?(de=y(oe,ie))&&de.value:oe[ie],!j(he?ie:pe+(_e?".":"#")+ie,re.forced)&&le!==void 0){if(typeof ue==typeof le)continue;z(ue,le)}(re.sham||le&&le.sham)&&L(ue,"sham",!0),$(oe,ie,ue,re)}}},6544:function(t){t.exports=function(r){try{return!!r()}catch{return!0}}},1611:function(t,r,n){var g=n(8987),y=Function.prototype,L=y.apply,$=y.call;t.exports=typeof Reflect=="object"&&Reflect.apply||(g?$.bind(L):function(){return $.apply(L,arguments)})},2938:function(t,r,n){var g=n(7386),y=n(8257),L=n(8987),$=g(g.bind);t.exports=function(V,z){return y(V),z===void 0?V:L?$(V,z):function(){return V.apply(z,arguments)}}},8987:function(t,r,n){var g=n(6544);t.exports=!g(function(){var y=(function(){}).bind();return typeof y!="function"||y.hasOwnProperty("prototype")})},8262:function(t,r,n){var g=n(8987),y=Function.prototype.call;t.exports=g?y.bind(y):function(){return y.apply(y,arguments)}},4340:function(t,r,n){var g=n(8494),y=n(2870),L=Function.prototype,$=g&&Object.getOwnPropertyDescriptor,V=y(L,"name"),z=V&&(function(){}).name==="something",j=V&&(!g||g&&$(L,"name").configurable);t.exports={EXISTS:V,PROPER:z,CONFIGURABLE:j}},7386:function(t,r,n){var g=n(8987),y=Function.prototype,L=y.bind,$=y.call,V=g&&L.bind($,$);t.exports=g?function(z){return z&&V(z)}:function(z){return z&&function(){return $.apply(z,arguments)}}},5897:function(t,r,n){var g=n(7583),y=n(9212),L=function($){return y($)?$:void 0};t.exports=function($,V){return arguments.length<2?L(g[$]):g[$]&&g[$][V]}},8272:function(t,r,n){var g=n(3058),y=n(911),L=n(339),$=n(3649)("iterator");t.exports=function(V){if(V!=null)return y(V,$)||y(V,"@@iterator")||L[g(V)]}},6307:function(t,r,n){var g=n(7583),y=n(8262),L=n(8257),$=n(2569),V=n(5637),z=n(8272),j=g.TypeError;t.exports=function(re,ae){var oe=arguments.length<2?z(re):ae;if(L(oe))return $(y(oe,re));throw j(V(re)+" is not iterable")}},911:function(t,r,n){var g=n(8257);t.exports=function(y,L){var $=y[L];return $==null?void 0:g($)}},7583:function(t,r,n){var g=function(y){return y&&y.Math==Math&&y};t.exports=g(typeof globalThis=="object"&&globalThis)||g(typeof window=="object"&&window)||g(typeof self=="object"&&self)||g(typeof n.g=="object"&&n.g)||function(){return this}()||Function("return this")()},2870:function(t,r,n){var g=n(7386),y=n(1324),L=g({}.hasOwnProperty);t.exports=Object.hasOwn||function($,V){return L(y($),V)}},4639:function(t){t.exports={}},2716:function(t,r,n){var g=n(7583);t.exports=function(y,L){var $=g.console;$&&$.error&&(arguments.length==1?$.error(y):$.error(y,L))}},482:function(t,r,n){var g=n(5897);t.exports=g("document","documentElement")},275:function(t,r,n){var g=n(8494),y=n(6544),L=n(6668);t.exports=!g&&!y(function(){return Object.defineProperty(L("div"),"a",{get:function(){return 7}}).a!=7})},5044:function(t,r,n){var g=n(7583),y=n(7386),L=n(6544),$=n(9624),V=g.Object,z=y("".split);t.exports=L(function(){return!V("z").propertyIsEnumerable(0)})?function(j){return $(j)=="String"?z(j,""):V(j)}:V},9734:function(t,r,n){var g=n(7386),y=n(9212),L=n(1314),$=g(Function.toString);y(L.inspectSource)||(L.inspectSource=function(V){return $(V)}),t.exports=L.inspectSource},4402:function(t,r,n){var g=n(794),y=n(57);t.exports=function(L,$){g($)&&"cause"in $&&y(L,"cause",$.cause)}},2743:function(t,r,n){var g,y,L,$=n(9491),V=n(7583),z=n(7386),j=n(794),re=n(57),ae=n(2870),oe=n(1314),ie=n(9137),le=n(4639),ue="Object already initialized",de=V.TypeError,pe=V.WeakMap;if($||oe.state){var he=oe.state||(oe.state=new pe),_e=z(he.get),Ce=z(he.has),$e=z(he.set);g=function(Ie,Ne){if(Ce(he,Ie))throw new de(ue);return Ne.facade=Ie,$e(he,Ie,Ne),Ne},y=function(Ie){return _e(he,Ie)||{}},L=function(Ie){return Ce(he,Ie)}}else{var xe=ie("state");le[xe]=!0,g=function(Ie,Ne){if(ae(Ie,xe))throw new de(ue);return Ne.facade=Ie,re(Ie,xe,Ne),Ne},y=function(Ie){return ae(Ie,xe)?Ie[xe]:{}},L=function(Ie){return ae(Ie,xe)}}t.exports={set:g,get:y,has:L,enforce:function(Ie){return L(Ie)?y(Ie):g(Ie,{})},getterFor:function(Ie){return function(Ne){var ze;if(!j(Ne)||(ze=y(Ne)).type!==Ie)throw de("Incompatible receiver, "+Ie+" required");return ze}}}},114:function(t,r,n){var g=n(3649),y=n(339),L=g("iterator"),$=Array.prototype;t.exports=function(V){return V!==void 0&&(y.Array===V||$[L]===V)}},4521:function(t,r,n){var g=n(9624);t.exports=Array.isArray||function(y){return g(y)=="Array"}},9212:function(t){t.exports=function(r){return typeof r=="function"}},2097:function(t,r,n){var g=n(7386),y=n(6544),L=n(9212),$=n(3058),V=n(5897),z=n(9734),j=function(){},re=[],ae=V("Reflect","construct"),oe=/^\s*(?:class|function)\b/,ie=g(oe.exec),le=!oe.exec(j),ue=function(pe){if(!L(pe))return!1;try{return ae(j,re,pe),!0}catch{return!1}},de=function(pe){if(!L(pe))return!1;switch($(pe)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return le||!!ie(oe,z(pe))}catch{return!0}};de.sham=!0,t.exports=!ae||y(function(){var pe;return ue(ue.call)||!ue(Object)||!ue(function(){pe=!0})||pe})?de:ue},4451:function(t,r,n){var g=n(6544),y=n(9212),L=/#|\.prototype\./,$=function(ae,oe){var ie=z[V(ae)];return ie==re||ie!=j&&(y(oe)?g(oe):!!oe)},V=$.normalize=function(ae){return String(ae).replace(L,".").toLowerCase()},z=$.data={},j=$.NATIVE="N",re=$.POLYFILL="P";t.exports=$},794:function(t,r,n){var g=n(9212);t.exports=function(y){return typeof y=="object"?y!==null:g(y)}},6268:function(t){t.exports=!1},5871:function(t,r,n){var g=n(7583),y=n(5897),L=n(9212),$=n(2447),V=n(7786),z=g.Object;t.exports=V?function(j){return typeof j=="symbol"}:function(j){var re=y("Symbol");return L(re)&&$(re.prototype,z(j))}},4026:function(t,r,n){var g=n(7583),y=n(2938),L=n(8262),$=n(2569),V=n(5637),z=n(114),j=n(1825),re=n(2447),ae=n(6307),oe=n(8272),ie=n(7093),le=g.TypeError,ue=function(pe,he){this.stopped=pe,this.result=he},de=ue.prototype;t.exports=function(pe,he,_e){var Ce,$e,xe,Ie,Ne,ze,Fe,qe=_e&&_e.that,Et=!(!_e||!_e.AS_ENTRIES),kt=!(!_e||!_e.IS_ITERATOR),Lt=!(!_e||!_e.INTERRUPTED),vn=y(he,qe),jt=function(hn){return Ce&&ie(Ce,"normal",hn),new ue(!0,hn)},At=function(hn){return Et?($(hn),Lt?vn(hn[0],hn[1],jt):vn(hn[0],hn[1])):Lt?vn(hn,jt):vn(hn)};if(kt)Ce=pe;else{if(!($e=oe(pe)))throw le(V(pe)+" is not iterable");if(z($e)){for(xe=0,Ie=j(pe);Ie>xe;xe++)if((Ne=At(pe[xe]))&&re(de,Ne))return Ne;return new ue(!1)}Ce=ae(pe,$e)}for(ze=Ce.next;!(Fe=L(ze,Ce)).done;){try{Ne=At(Fe.value)}catch(hn){ie(Ce,"throw",hn)}if(typeof Ne=="object"&&Ne&&re(de,Ne))return Ne}return new ue(!1)}},7093:function(t,r,n){var g=n(8262),y=n(2569),L=n(911);t.exports=function($,V,z){var j,re;y($);try{if(!(j=L($,"return"))){if(V==="throw")throw z;return z}j=g(j,$)}catch(ae){re=!0,j=ae}if(V==="throw")throw z;if(re)throw j;return y(j),z}},2365:function(t,r,n){var g,y,L,$=n(6544),V=n(9212),z=n(3590),j=n(729),re=n(1270),ae=n(3649),oe=n(6268),ie=ae("iterator"),le=!1;[].keys&&("next"in(L=[].keys())?(y=j(j(L)))!==Object.prototype&&(g=y):le=!0),g==null||$(function(){var ue={};return g[ie].call(ue)!==ue})?g={}:oe&&(g=z(g)),V(g[ie])||re(g,ie,function(){return this}),t.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:le}},339:function(t){t.exports={}},1825:function(t,r,n){var g=n(97);t.exports=function(y){return g(y.length)}},2095:function(t,r,n){var g,y,L,$,V,z,j,re,ae=n(7583),oe=n(2938),ie=n(6683).f,le=n(8117).set,ue=n(7020),de=n(3256),pe=n(6846),he=n(5354),_e=ae.MutationObserver||ae.WebKitMutationObserver,Ce=ae.document,$e=ae.process,xe=ae.Promise,Ie=ie(ae,"queueMicrotask"),Ne=Ie&&Ie.value;Ne||(g=function(){var ze,Fe;for(he&&(ze=$e.domain)&&ze.exit();y;){Fe=y.fn,y=y.next;try{Fe()}catch(qe){throw y?$():L=void 0,qe}}L=void 0,ze&&ze.enter()},ue||he||pe||!_e||!Ce?!de&&xe&&xe.resolve?((j=xe.resolve(void 0)).constructor=xe,re=oe(j.then,j),$=function(){re(g)}):he?$=function(){$e.nextTick(g)}:(le=oe(le,ae),$=function(){le(g)}):(V=!0,z=Ce.createTextNode(""),new _e(g).observe(z,{characterData:!0}),$=function(){z.data=V=!V})),t.exports=Ne||function(ze){var Fe={fn:ze,next:void 0};L&&(L.next=Fe),y||(y=Fe,$()),L=Fe}},783:function(t,r,n){var g=n(7583);t.exports=g.Promise},8640:function(t,r,n){var g=n(4061),y=n(6544);t.exports=!!Object.getOwnPropertySymbols&&!y(function(){var L=Symbol();return!String(L)||!(Object(L)instanceof Symbol)||!Symbol.sham&&g&&g<41})},9491:function(t,r,n){var g=n(7583),y=n(9212),L=n(9734),$=g.WeakMap;t.exports=y($)&&/native code/.test(L($))},5084:function(t,r,n){var g=n(8257),y=function(L){var $,V;this.promise=new L(function(z,j){if($!==void 0||V!==void 0)throw TypeError("Bad Promise constructor");$=z,V=j}),this.resolve=g($),this.reject=g(V)};t.exports.f=function(L){return new y(L)}},2764:function(t,r,n){var g=n(8320);t.exports=function(y,L){return y===void 0?arguments.length<2?"":L:g(y)}},3590:function(t,r,n){var g,y=n(2569),L=n(8728),$=n(5690),V=n(4639),z=n(482),j=n(6668),re=n(9137),ae=re("IE_PROTO"),oe=function(){},ie=function(de){return" + - AIWeb-Admin - - + + + + + AIWeb + +
    -
    -
    AI Web Admin
    +
    +
    +
    +
    +
    +
    +
    载入中
    为了您的体验,推荐使用以下浏览器
    @@ -37,7 +48,6 @@ document.getElementById('browser-upgrade').style.display = 'block' } - - \ No newline at end of file + diff --git a/public/admin/index.html.br b/public/admin/index.html.br new file mode 100644 index 0000000..e4876f1 Binary files /dev/null and b/public/admin/index.html.br differ diff --git a/public/admin/index.html.gz b/public/admin/index.html.gz new file mode 100644 index 0000000..ed8f931 Binary files /dev/null and b/public/admin/index.html.gz differ diff --git a/public/admin/loading.css b/public/admin/loading.css old mode 100644 new mode 100755 index 276eb9d..f9a8a12 --- a/public/admin/loading.css +++ b/public/admin/loading.css @@ -4,71 +4,89 @@ .fantastic-admin-home { position: absolute; - z-index: 10000; top: 0; left: 0; - height: 100%; - width: 100%; + z-index: 10000; display: flex; + flex-direction: column; align-items: center; justify-content: center; - flex-direction: column; - user-select: none; + width: 100%; + height: 100%; color: #736477; + user-select: none; background-color: snow; } .fantastic-admin-home .loading { - --r1: 154%; - --r2: 68.5%; - - width: 60px; - height: 60px; - border-radius: 50%; - background: - radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #269af2 80%) center left, - radial-gradient(var(--r1) var(--r2) at bottom, #269af2 79.5%, #0000 80%) center center, - radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #269af2 80%) center right, - #ccc; - background-size: 50.5% 220%; - background-position: -100% 0%, 0% 0%, 100% 0%; - background-repeat: no-repeat; - animation: p9 2s infinite linear; + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; } -@keyframes p9 { - 33% { background-position: 0% 33%, 100% 33%, 200% 33%; } - 66% { background-position: -100% 66%, 0% 66%, 100% 66%; } - 100% { background-position: 0% 100%, 100% 100%, 200% 100%; } +.fantastic-admin-home .loading .square { + display: flex; + align-items: center; + justify-content: center; + width: 20px; + height: 20px; +} + +.fantastic-admin-home .loading .square::before { + width: 10px; + height: 10px; + content: ""; + border: 3px solid #8c858f; + border-radius: 15%; + animation: square-to-dot-animation 2s linear infinite; +} + +.fantastic-admin-home .loading .square:nth-child(1)::before { + animation-delay: calc(150ms * 1); +} + +.fantastic-admin-home .loading .square:nth-child(2)::before { + animation-delay: calc(150ms * 2); +} + +.fantastic-admin-home .loading .square:nth-child(3)::before { + animation-delay: calc(150ms * 3); +} + +.fantastic-admin-home .loading .square:nth-child(4)::before { + animation-delay: calc(150ms * 4); } @keyframes square-to-dot-animation { 15%, 25% { - border-radius: 100%; width: 0; height: 0; margin: 5px; border-width: 5px; + border-radius: 100%; } 40% { - border-radius: 15%; width: 10px; height: 10px; margin: initial; border-width: 3px; + border-radius: 15%; } } .fantastic-admin-home .text { position: relative; - font-size: 24px; margin-top: 20px; + font-size: 24px; } .fantastic-admin-home .text::after { - content: "…"; position: absolute; padding-left: 5px; + content: "…"; } diff --git a/public/admin/loading.css.br b/public/admin/loading.css.br new file mode 100644 index 0000000..786ae12 Binary files /dev/null and b/public/admin/loading.css.br differ diff --git a/public/admin/loading.css.gz b/public/admin/loading.css.gz new file mode 100644 index 0000000..5862aa6 Binary files /dev/null and b/public/admin/loading.css.gz differ diff --git a/public/assets/Add-1eab33c9.js b/public/assets/Add-1eab33c9.js deleted file mode 100644 index 38458d2..0000000 --- a/public/assets/Add-1eab33c9.js +++ /dev/null @@ -1 +0,0 @@ -import{g as e,v as o}from"./index-2efe4620.js";const r=e({name:"Add",render(){return o("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}});export{r as A}; diff --git a/public/assets/Close-d2230b2f.js b/public/assets/Close-d2230b2f.js new file mode 100644 index 0000000..4079354 --- /dev/null +++ b/public/assets/Close-d2230b2f.js @@ -0,0 +1 @@ +import{I as o}from"./menu-19bde8fc.js";import{X as t}from"./vue-10b4afc0.js";const r=o("close",!1,function(e){return t("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[t("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});export{r as C}; diff --git a/public/assets/FormItem-6d94e26d.js b/public/assets/FormItem-6d94e26d.js deleted file mode 100644 index 26b4e8a..0000000 --- a/public/assets/FormItem-6d94e26d.js +++ /dev/null @@ -1,802 +0,0 @@ -import{aK as me,I as Lr,w as nt,m as Gt,r as W,br as Ir,c0 as Kr,c1 as jr,C as He,c2 as Ur,B as Qe,g as oe,v as s,u as Ne,j as _n,k as y,l as We,aT as Ue,t as re,c3 as ct,A as J,c as Z,a as C,b as j,d as he,a2 as it,i as Tn,e as Nn,bZ as Ae,h as Ce,c4 as Dr,b6 as Pt,a5 as de,n as ut,c5 as kt,a9 as En,aa as Bn,c6 as Ln,D as It,c7 as qr,c8 as In,c9 as Kn,Y as Xt,ca as Rt,a3 as lt,cb as Vr,bV as jn,aN as ht,y as Zt,O as dt,bH as je,q as Hr,cc as Un,cd as Wr,ce as Gr,ap as Xr,aj as mt,bT as Zr,a7 as Tt,bh as Pe,ao as rn,ba as Dn,cf as Yr,cg as qn,bc as Vn,V as Jr,x as Qr,z as eo,T as Yt,ch as Ct,a1 as to,bI as Hn,ci as gt,bd as no,bb as ro,cj as oo,ck as ao,f as Wn,cl as io,a6 as vt,cm as St,ab as Gn,M as lo,cn as so,co,cp as uo,cq as on,cr as fo,cs as ho,ct as Ft,be as vo,cu as po,cv as mo,cw as go,L as bo}from"./index-2efe4620.js";import{N as an,C as yo}from"./Input-4816b01d.js";import{c as Jt,a as xo,b as wo,h as tt,m as ln,N as ko,V as Ro,d as Co}from"./Select-b45c26f7.js";function dn(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}function Xn(e){return t=>{t?e.value=t.$el:e.value=null}}function So(e,t,n){var r;const o=me(e,null);if(o===null)return;const a=(r=Lr())===null||r===void 0?void 0:r.proxy;nt(n,i),i(n.value),Gt(()=>{i(void 0,n.value)});function i(c,f){if(!o)return;const p=o[t];f!==void 0&&l(p,f),c!==void 0&&d(p,c)}function l(c,f){c[f]||(c[f]=[]),c[f].splice(c[f].findIndex(p=>p===a),1)}function d(c,f){c[f]||(c[f]=[]),~c[f].findIndex(p=>p===a)||c[f].push(a)}}function Po(e,t,n){if(!t)return e;const r=W(e.value);let o=null;return nt(e,a=>{o!==null&&window.clearTimeout(o),a===!0?n&&!n.value?r.value=!0:o=window.setTimeout(()=>{r.value=!0},t):r.value=!1}),r}function Fo(e={},t){const n=Ir({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:r,keyup:o}=e,a=d=>{switch(d.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0;break}r!==void 0&&Object.keys(r).forEach(c=>{if(c!==d.key)return;const f=r[c];if(typeof f=="function")f(d);else{const{stop:p=!1,prevent:g=!1}=f;p&&d.stopPropagation(),g&&d.preventDefault(),f.handler(d)}})},i=d=>{switch(d.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1;break}o!==void 0&&Object.keys(o).forEach(c=>{if(c!==d.key)return;const f=o[c];if(typeof f=="function")f(d);else{const{stop:p=!1,prevent:g=!1}=f;p&&d.stopPropagation(),g&&d.preventDefault(),f.handler(d)}})},l=()=>{(t===void 0||t.value)&&(Qe("keydown",document,a),Qe("keyup",document,i)),t!==void 0&&nt(t,d=>{d?(Qe("keydown",document,a),Qe("keyup",document,i)):(He("keydown",document,a),He("keyup",document,i))})};return Kr()?(jr(l),Gt(()=>{(t===void 0||t.value)&&(He("keydown",document,a),He("keyup",document,i))})):l(),Ur(n)}const zo=oe({name:"ArrowDown",render(){return s("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},s("g",{"fill-rule":"nonzero"},s("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}}),sn=oe({name:"Backward",render(){return s("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),cn=oe({name:"FastBackward",render(){return s("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},s("g",{fill:"currentColor","fill-rule":"nonzero"},s("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),un=oe({name:"FastForward",render(){return s("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},s("g",{fill:"currentColor","fill-rule":"nonzero"},s("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),Oo=oe({name:"Filter",render(){return s("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},s("g",{"fill-rule":"nonzero"},s("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),fn=oe({name:"Forward",render(){return s("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),hn=oe({name:"More",render(){return s("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},s("g",{fill:"currentColor","fill-rule":"nonzero"},s("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),Mo=s("svg",{viewBox:"0 0 64 64",class:"check-icon"},s("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),$o=s("svg",{viewBox:"0 0 100 100",class:"line-icon"},s("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),Zn=ct("n-checkbox-group"),Ao={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},_o=oe({name:"CheckboxGroup",props:Ao,setup(e){const{mergedClsPrefixRef:t}=Ne(e),n=_n(e),{mergedSizeRef:r,mergedDisabledRef:o}=n,a=W(e.defaultValue),i=y(()=>e.value),l=We(i,a),d=y(()=>{var p;return((p=l.value)===null||p===void 0?void 0:p.length)||0}),c=y(()=>Array.isArray(l.value)?new Set(l.value):new Set);function f(p,g){const{nTriggerFormInput:b,nTriggerFormChange:u}=n,{onChange:h,"onUpdate:value":v,onUpdateValue:m}=e;if(Array.isArray(l.value)){const S=Array.from(l.value),R=S.findIndex(L=>L===g);p?~R||(S.push(g),m&&J(m,S,{actionType:"check",value:g}),v&&J(v,S,{actionType:"check",value:g}),b(),u(),a.value=S,h&&J(h,S)):~R&&(S.splice(R,1),m&&J(m,S,{actionType:"uncheck",value:g}),v&&J(v,S,{actionType:"uncheck",value:g}),h&&J(h,S),a.value=S,b(),u())}else p?(m&&J(m,[g],{actionType:"check",value:g}),v&&J(v,[g],{actionType:"check",value:g}),h&&J(h,[g]),a.value=[g],b(),u()):(m&&J(m,[],{actionType:"uncheck",value:g}),v&&J(v,[],{actionType:"uncheck",value:g}),h&&J(h,[]),a.value=[],b(),u())}return Ue(Zn,{checkedCountRef:d,maxRef:re(e,"max"),minRef:re(e,"min"),valueSetRef:c,disabledRef:o,mergedSizeRef:r,toggleCheckbox:f}),{mergedClsPrefix:t}},render(){return s("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),To=Z([C("checkbox",` - font-size: var(--n-font-size); - outline: none; - cursor: pointer; - display: inline-flex; - flex-wrap: nowrap; - align-items: flex-start; - word-break: break-word; - line-height: var(--n-size); - --n-merged-color-table: var(--n-color-table); - `,[j("show-label","line-height: var(--n-label-line-height);"),Z("&:hover",[C("checkbox-box",[he("border","border: var(--n-border-checked);")])]),Z("&:focus:not(:active)",[C("checkbox-box",[he("border",` - border: var(--n-border-focus); - box-shadow: var(--n-box-shadow-focus); - `)])]),j("inside-table",[C("checkbox-box",` - background-color: var(--n-merged-color-table); - `)]),j("checked",[C("checkbox-box",` - background-color: var(--n-color-checked); - `,[C("checkbox-icon",[Z(".check-icon",` - opacity: 1; - transform: scale(1); - `)])])]),j("indeterminate",[C("checkbox-box",[C("checkbox-icon",[Z(".check-icon",` - opacity: 0; - transform: scale(.5); - `),Z(".line-icon",` - opacity: 1; - transform: scale(1); - `)])])]),j("checked, indeterminate",[Z("&:focus:not(:active)",[C("checkbox-box",[he("border",` - border: var(--n-border-checked); - box-shadow: var(--n-box-shadow-focus); - `)])]),C("checkbox-box",` - background-color: var(--n-color-checked); - border-left: 0; - border-top: 0; - `,[he("border",{border:"var(--n-border-checked)"})])]),j("disabled",{cursor:"not-allowed"},[j("checked",[C("checkbox-box",` - background-color: var(--n-color-disabled-checked); - `,[he("border",{border:"var(--n-border-disabled-checked)"}),C("checkbox-icon",[Z(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),C("checkbox-box",` - background-color: var(--n-color-disabled); - `,[he("border",` - border: var(--n-border-disabled); - `),C("checkbox-icon",[Z(".check-icon, .line-icon",` - fill: var(--n-check-mark-color-disabled); - `)])]),he("label",` - color: var(--n-text-color-disabled); - `)]),C("checkbox-box-wrapper",` - position: relative; - width: var(--n-size); - flex-shrink: 0; - flex-grow: 0; - user-select: none; - -webkit-user-select: none; - `),C("checkbox-box",` - position: absolute; - left: 0; - top: 50%; - transform: translateY(-50%); - height: var(--n-size); - width: var(--n-size); - display: inline-block; - box-sizing: border-box; - border-radius: var(--n-border-radius); - background-color: var(--n-color); - transition: background-color 0.3s var(--n-bezier); - `,[he("border",` - transition: - border-color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier); - border-radius: inherit; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - border: var(--n-border); - `),C("checkbox-icon",` - display: flex; - align-items: center; - justify-content: center; - position: absolute; - left: 1px; - right: 1px; - top: 1px; - bottom: 1px; - `,[Z(".check-icon, .line-icon",` - width: 100%; - fill: var(--n-check-mark-color); - opacity: 0; - transform: scale(0.5); - transform-origin: center; - transition: - fill 0.3s var(--n-bezier), - transform 0.3s var(--n-bezier), - opacity 0.3s var(--n-bezier), - border-color 0.3s var(--n-bezier); - `),it({left:"1px",top:"1px"})])]),he("label",` - color: var(--n-text-color); - transition: color .3s var(--n-bezier); - user-select: none; - -webkit-user-select: none; - padding: var(--n-label-padding); - font-weight: var(--n-label-font-weight); - `,[Z("&:empty",{display:"none"})])]),Tn(C("checkbox",` - --n-merged-color-table: var(--n-color-table-modal); - `)),Nn(C("checkbox",` - --n-merged-color-table: var(--n-color-table-popover); - `))]),No=Object.assign(Object.assign({},Ce.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),Qt=oe({name:"Checkbox",props:No,setup(e){const t=W(null),{mergedClsPrefixRef:n,inlineThemeDisabled:r,mergedRtlRef:o}=Ne(e),a=_n(e,{mergedSize(k){const{size:N}=e;if(N!==void 0)return N;if(d){const{value:O}=d.mergedSizeRef;if(O!==void 0)return O}if(k){const{mergedSize:O}=k;if(O!==void 0)return O.value}return"medium"},mergedDisabled(k){const{disabled:N}=e;if(N!==void 0)return N;if(d){if(d.disabledRef.value)return!0;const{maxRef:{value:O},checkedCountRef:z}=d;if(O!==void 0&&z.value>=O&&!g.value)return!0;const{minRef:{value:A}}=d;if(A!==void 0&&z.value<=A&&g.value)return!0}return k?k.disabled.value:!1}}),{mergedDisabledRef:i,mergedSizeRef:l}=a,d=me(Zn,null),c=W(e.defaultChecked),f=re(e,"checked"),p=We(f,c),g=Ae(()=>{if(d){const k=d.valueSetRef.value;return k&&e.value!==void 0?k.has(e.value):!1}else return p.value===e.checkedValue}),b=Ce("Checkbox","-checkbox",To,Dr,e,n);function u(k){if(d&&e.value!==void 0)d.toggleCheckbox(!g.value,e.value);else{const{onChange:N,"onUpdate:checked":O,onUpdateChecked:z}=e,{nTriggerFormInput:A,nTriggerFormChange:H}=a,x=g.value?e.uncheckedValue:e.checkedValue;O&&J(O,x,k),z&&J(z,x,k),N&&J(N,x,k),A(),H(),c.value=x}}function h(k){i.value||u(k)}function v(k){if(!i.value)switch(k.key){case" ":case"Enter":u(k)}}function m(k){switch(k.key){case" ":k.preventDefault()}}const S={focus:()=>{var k;(k=t.value)===null||k===void 0||k.focus()},blur:()=>{var k;(k=t.value)===null||k===void 0||k.blur()}},R=Pt("Checkbox",o,n),L=y(()=>{const{value:k}=l,{common:{cubicBezierEaseInOut:N},self:{borderRadius:O,color:z,colorChecked:A,colorDisabled:H,colorTableHeader:x,colorTableHeaderModal:_,colorTableHeaderPopover:w,checkMarkColor:M,checkMarkColorDisabled:I,border:B,borderFocus:X,borderDisabled:ne,borderChecked:te,boxShadowFocus:F,textColor:T,textColorDisabled:U,checkMarkColorDisabledChecked:E,colorDisabledChecked:V,borderDisabledChecked:ce,labelPadding:Y,labelLineHeight:se,labelFontWeight:P,[de("fontSize",k)]:D,[de("size",k)]:Q}}=b.value;return{"--n-label-line-height":se,"--n-label-font-weight":P,"--n-size":Q,"--n-bezier":N,"--n-border-radius":O,"--n-border":B,"--n-border-checked":te,"--n-border-focus":X,"--n-border-disabled":ne,"--n-border-disabled-checked":ce,"--n-box-shadow-focus":F,"--n-color":z,"--n-color-checked":A,"--n-color-table":x,"--n-color-table-modal":_,"--n-color-table-popover":w,"--n-color-disabled":H,"--n-color-disabled-checked":V,"--n-text-color":T,"--n-text-color-disabled":U,"--n-check-mark-color":M,"--n-check-mark-color-disabled":I,"--n-check-mark-color-disabled-checked":E,"--n-font-size":D,"--n-label-padding":Y}}),$=r?ut("checkbox",y(()=>l.value[0]),L,e):void 0;return Object.assign(a,S,{rtlEnabled:R,selfRef:t,mergedClsPrefix:n,mergedDisabled:i,renderedChecked:g,mergedTheme:b,labelId:kt(),handleClick:h,handleKeyUp:v,handleKeyDown:m,cssVars:r?void 0:L,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:r,indeterminate:o,privateInsideTable:a,cssVars:i,labelId:l,label:d,mergedClsPrefix:c,focusable:f,handleKeyUp:p,handleKeyDown:g,handleClick:b}=this;(e=this.onRender)===null||e===void 0||e.call(this);const u=En(t.default,h=>d||h?s("span",{class:`${c}-checkbox__label`,id:l},d||h):null);return s("div",{ref:"selfRef",class:[`${c}-checkbox`,this.themeClass,this.rtlEnabled&&`${c}-checkbox--rtl`,n&&`${c}-checkbox--checked`,r&&`${c}-checkbox--disabled`,o&&`${c}-checkbox--indeterminate`,a&&`${c}-checkbox--inside-table`,u&&`${c}-checkbox--show-label`],tabindex:r||!f?void 0:0,role:"checkbox","aria-checked":o?"mixed":n,"aria-labelledby":l,style:i,onKeyup:p,onKeydown:g,onClick:b,onMousedown:()=>{Qe("selectstart",window,h=>{h.preventDefault()},{once:!0})}},s("div",{class:`${c}-checkbox-box-wrapper`}," ",s("div",{class:`${c}-checkbox-box`},s(Bn,null,{default:()=>this.indeterminate?s("div",{key:"indeterminate",class:`${c}-checkbox-icon`},$o):s("div",{key:"check",class:`${c}-checkbox-icon`},Mo)}),s("div",{class:`${c}-checkbox-box__border`}))),u)}}),Yn=ct("n-popselect"),Eo=C("popselect-menu",` - box-shadow: var(--n-menu-box-shadow); -`),en={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},vn=qr(en),Bo=oe({name:"PopselectPanel",props:en,setup(e){const t=me(Yn),{mergedClsPrefixRef:n,inlineThemeDisabled:r}=Ne(e),o=Ce("Popselect","-pop-select",Eo,Ln,t.props,n),a=y(()=>Jt(e.options,wo("value","children")));function i(g,b){const{onUpdateValue:u,"onUpdate:value":h,onChange:v}=e;u&&J(u,g,b),h&&J(h,g,b),v&&J(v,g,b)}function l(g){c(g.key)}function d(g){!tt(g,"action")&&!tt(g,"empty")&&!tt(g,"header")&&g.preventDefault()}function c(g){const{value:{getNode:b}}=a;if(e.multiple)if(Array.isArray(e.value)){const u=[],h=[];let v=!0;e.value.forEach(m=>{if(m===g){v=!1;return}const S=b(m);S&&(u.push(S.key),h.push(S.rawNode))}),v&&(u.push(g),h.push(b(g).rawNode)),i(u,h)}else{const u=b(g);u&&i([g],[u.rawNode])}else if(e.value===g&&e.cancelable)i(null,null);else{const u=b(g);u&&i(g,u.rawNode);const{"onUpdate:show":h,onUpdateShow:v}=t.props;h&&J(h,!1),v&&J(v,!1),t.setShow(!1)}It(()=>{t.syncPosition()})}nt(re(e,"options"),()=>{It(()=>{t.syncPosition()})});const f=y(()=>{const{self:{menuBoxShadow:g}}=o.value;return{"--n-menu-box-shadow":g}}),p=r?ut("select",void 0,f,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:a,handleToggle:l,handleMenuMousedown:d,cssVars:r?void 0:f,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),s(xo,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,n;return((n=(t=this.$slots).header)===null||n===void 0?void 0:n.call(t))||[]},action:()=>{var t,n;return((n=(t=this.$slots).action)===null||n===void 0?void 0:n.call(t))||[]},empty:()=>{var t,n;return((n=(t=this.$slots).empty)===null||n===void 0?void 0:n.call(t))||[]}})}}),Lo=Object.assign(Object.assign(Object.assign(Object.assign({},Ce.props),Kn(Rt,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Rt.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),en),Io=oe({name:"Popselect",props:Lo,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=Ne(e),n=Ce("Popselect","-popselect",void 0,Ln,e,t),r=W(null);function o(){var l;(l=r.value)===null||l===void 0||l.syncPosition()}function a(l){var d;(d=r.value)===null||d===void 0||d.setShow(l)}return Ue(Yn,{props:e,mergedThemeRef:n,syncPosition:o,setShow:a}),Object.assign(Object.assign({},{syncPosition:o,setShow:a}),{popoverInstRef:r,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(n,r,o,a,i)=>{const{$attrs:l}=this;return s(Bo,Object.assign({},l,{class:[l.class,n],style:[l.style,...o]},In(this.$props,vn),{ref:Xn(r),onMouseenter:ln([a,l.onMouseenter]),onMouseleave:ln([i,l.onMouseleave])}),{header:()=>{var d,c;return(c=(d=this.$slots).header)===null||c===void 0?void 0:c.call(d)},action:()=>{var d,c;return(c=(d=this.$slots).action)===null||c===void 0?void 0:c.call(d)},empty:()=>{var d,c;return(c=(d=this.$slots).empty)===null||c===void 0?void 0:c.call(d)}})}};return s(Xt,Object.assign({},Kn(this.$props,vn),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,r;return(r=(n=this.$slots).default)===null||r===void 0?void 0:r.call(n)}})}}),Jn=e=>{var t;if(!e)return 10;const{defaultPageSize:n}=e;if(n!==void 0)return n;const r=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof r=="number"?r:(r==null?void 0:r.value)||10};function Ko(e,t,n,r){let o=!1,a=!1,i=1,l=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:i,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:i,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const d=1,c=t;let f=e,p=e;const g=(n-5)/2;p+=Math.ceil(g),p=Math.min(Math.max(p,d+n-3),c-2),f-=Math.floor(g),f=Math.max(Math.min(f,c-n+3),d+2);let b=!1,u=!1;f>d+2&&(b=!0),p=d+1&&h.push({type:"page",label:d+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===d+1});for(let v=f;v<=p;++v)h.push({type:"page",label:v,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===v});return u?(a=!0,l=p+1,h.push({type:"fast-forward",active:!1,label:void 0,options:r?pn(p+1,c-1):null})):p===c-2&&h[h.length-1].label!==c-1&&h.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:c-1,active:e===c-1}),h[h.length-1].label!==c&&h.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:c,active:e===c}),{hasFastBackward:o,hasFastForward:a,fastBackwardTo:i,fastForwardTo:l,items:h}}function pn(e,t){const n=[];for(let r=e;r<=t;++r)n.push({label:`${r}`,value:r});return n}const mn=` - background: var(--n-item-color-hover); - color: var(--n-item-text-color-hover); - border: var(--n-item-border-hover); -`,gn=[j("button",` - background: var(--n-button-color-hover); - border: var(--n-button-border-hover); - color: var(--n-button-icon-color-hover); - `)],jo=C("pagination",` - display: flex; - vertical-align: middle; - font-size: var(--n-item-font-size); - flex-wrap: nowrap; -`,[C("pagination-prefix",` - display: flex; - align-items: center; - margin: var(--n-prefix-margin); - `),C("pagination-suffix",` - display: flex; - align-items: center; - margin: var(--n-suffix-margin); - `),Z("> *:not(:first-child)",` - margin: var(--n-item-margin); - `),C("select",` - width: var(--n-select-width); - `),Z("&.transition-disabled",[C("pagination-item","transition: none!important;")]),C("pagination-quick-jumper",` - white-space: nowrap; - display: flex; - color: var(--n-jumper-text-color); - transition: color .3s var(--n-bezier); - align-items: center; - font-size: var(--n-jumper-font-size); - `,[C("input",` - margin: var(--n-input-margin); - width: var(--n-input-width); - `)]),C("pagination-item",` - position: relative; - cursor: pointer; - user-select: none; - -webkit-user-select: none; - display: flex; - align-items: center; - justify-content: center; - box-sizing: border-box; - min-width: var(--n-item-size); - height: var(--n-item-size); - padding: var(--n-item-padding); - background-color: var(--n-item-color); - color: var(--n-item-text-color); - border-radius: var(--n-item-border-radius); - border: var(--n-item-border); - fill: var(--n-button-icon-color); - transition: - color .3s var(--n-bezier), - border-color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - fill .3s var(--n-bezier); - `,[j("button",` - background: var(--n-button-color); - color: var(--n-button-icon-color); - border: var(--n-button-border); - padding: 0; - `,[C("base-icon",` - font-size: var(--n-button-icon-size); - `)]),lt("disabled",[j("hover",mn,gn),Z("&:hover",mn,gn),Z("&:active",` - background: var(--n-item-color-pressed); - color: var(--n-item-text-color-pressed); - border: var(--n-item-border-pressed); - `,[j("button",` - background: var(--n-button-color-pressed); - border: var(--n-button-border-pressed); - color: var(--n-button-icon-color-pressed); - `)]),j("active",` - background: var(--n-item-color-active); - color: var(--n-item-text-color-active); - border: var(--n-item-border-active); - `,[Z("&:hover",` - background: var(--n-item-color-active-hover); - `)])]),j("disabled",` - cursor: not-allowed; - color: var(--n-item-text-color-disabled); - `,[j("active, button",` - background-color: var(--n-item-color-disabled); - border: var(--n-item-border-disabled); - `)])]),j("disabled",` - cursor: not-allowed; - `,[C("pagination-quick-jumper",` - color: var(--n-jumper-text-color-disabled); - `)]),j("simple",` - display: flex; - align-items: center; - flex-wrap: nowrap; - `,[C("pagination-quick-jumper",[C("input",` - margin: 0; - `)])])]),Uo=Object.assign(Object.assign({},Ce.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Hr.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),Do=oe({name:"Pagination",props:Uo,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:r,mergedRtlRef:o}=Ne(e),a=Ce("Pagination","-pagination",jo,Vr,e,n),{localeRef:i}=jn("Pagination"),l=W(null),d=W(e.defaultPage),c=W(Jn(e)),f=We(re(e,"page"),d),p=We(re(e,"pageSize"),c),g=y(()=>{const{itemCount:P}=e;if(P!==void 0)return Math.max(1,Math.ceil(P/p.value));const{pageCount:D}=e;return D!==void 0?Math.max(D,1):1}),b=W("");ht(()=>{e.simple,b.value=String(f.value)});const u=W(!1),h=W(!1),v=W(!1),m=W(!1),S=()=>{e.disabled||(u.value=!0,M())},R=()=>{e.disabled||(u.value=!1,M())},L=()=>{h.value=!0,M()},$=()=>{h.value=!1,M()},k=P=>{I(P)},N=y(()=>Ko(f.value,g.value,e.pageSlot,e.showQuickJumpDropdown));ht(()=>{N.value.hasFastBackward?N.value.hasFastForward||(u.value=!1,v.value=!1):(h.value=!1,m.value=!1)});const O=y(()=>{const P=i.value.selectionSuffix;return e.pageSizes.map(D=>typeof D=="number"?{label:`${D} / ${P}`,value:D}:D)}),z=y(()=>{var P,D;return((D=(P=t==null?void 0:t.value)===null||P===void 0?void 0:P.Pagination)===null||D===void 0?void 0:D.inputSize)||dn(e.size)}),A=y(()=>{var P,D;return((D=(P=t==null?void 0:t.value)===null||P===void 0?void 0:P.Pagination)===null||D===void 0?void 0:D.selectSize)||dn(e.size)}),H=y(()=>(f.value-1)*p.value),x=y(()=>{const P=f.value*p.value-1,{itemCount:D}=e;return D!==void 0&&P>D-1?D-1:P}),_=y(()=>{const{itemCount:P}=e;return P!==void 0?P:(e.pageCount||1)*p.value}),w=Pt("Pagination",o,n),M=()=>{It(()=>{var P;const{value:D}=l;D&&(D.classList.add("transition-disabled"),(P=l.value)===null||P===void 0||P.offsetWidth,D.classList.remove("transition-disabled"))})};function I(P){if(P===f.value)return;const{"onUpdate:page":D,onUpdatePage:Q,onChange:ae,simple:K}=e;D&&J(D,P),Q&&J(Q,P),ae&&J(ae,P),d.value=P,K&&(b.value=String(P))}function B(P){if(P===p.value)return;const{"onUpdate:pageSize":D,onUpdatePageSize:Q,onPageSizeChange:ae}=e;D&&J(D,P),Q&&J(Q,P),ae&&J(ae,P),c.value=P,g.value{f.value,p.value,M()});const Y=y(()=>{const{size:P}=e,{self:{buttonBorder:D,buttonBorderHover:Q,buttonBorderPressed:ae,buttonIconColor:K,buttonIconColorHover:ie,buttonIconColorPressed:Me,itemTextColor:we,itemTextColorHover:xe,itemTextColorPressed:Ge,itemTextColorActive:Xe,itemTextColorDisabled:Fe,itemColor:ze,itemColorHover:De,itemColorPressed:Ve,itemColorActive:Ze,itemColorActiveHover:rt,itemColorDisabled:Be,itemBorder:ye,itemBorderHover:Le,itemBorderPressed:Ie,itemBorderActive:q,itemBorderDisabled:ee,itemBorderRadius:ve,jumperTextColor:G,jumperTextColorDisabled:fe,buttonColor:ke,buttonColorHover:ue,buttonColorPressed:pe,[de("itemPadding",P)]:ge,[de("itemMargin",P)]:$e,[de("inputWidth",P)]:Ye,[de("selectWidth",P)]:Ke,[de("inputMargin",P)]:qe,[de("selectMargin",P)]:Je,[de("jumperFontSize",P)]:_e,[de("prefixMargin",P)]:ot,[de("suffixMargin",P)]:Re,[de("itemSize",P)]:Se,[de("buttonIconSize",P)]:Ot,[de("itemFontSize",P)]:Mt,[`${de("itemMargin",P)}Rtl`]:$t,[`${de("inputMargin",P)}Rtl`]:At},common:{cubicBezierEaseInOut:_t}}=a.value;return{"--n-prefix-margin":ot,"--n-suffix-margin":Re,"--n-item-font-size":Mt,"--n-select-width":Ke,"--n-select-margin":Je,"--n-input-width":Ye,"--n-input-margin":qe,"--n-input-margin-rtl":At,"--n-item-size":Se,"--n-item-text-color":we,"--n-item-text-color-disabled":Fe,"--n-item-text-color-hover":xe,"--n-item-text-color-active":Xe,"--n-item-text-color-pressed":Ge,"--n-item-color":ze,"--n-item-color-hover":De,"--n-item-color-disabled":Be,"--n-item-color-active":Ze,"--n-item-color-active-hover":rt,"--n-item-color-pressed":Ve,"--n-item-border":ye,"--n-item-border-hover":Le,"--n-item-border-disabled":ee,"--n-item-border-active":q,"--n-item-border-pressed":Ie,"--n-item-padding":ge,"--n-item-border-radius":ve,"--n-bezier":_t,"--n-jumper-font-size":_e,"--n-jumper-text-color":G,"--n-jumper-text-color-disabled":fe,"--n-item-margin":$e,"--n-item-margin-rtl":$t,"--n-button-icon-size":Ot,"--n-button-icon-color":K,"--n-button-icon-color-hover":ie,"--n-button-icon-color-pressed":Me,"--n-button-color-hover":ue,"--n-button-color":ke,"--n-button-color-pressed":pe,"--n-button-border":D,"--n-button-border-hover":Q,"--n-button-border-pressed":ae}}),se=r?ut("pagination",y(()=>{let P="";const{size:D}=e;return P+=D[0],P}),Y,e):void 0;return{rtlEnabled:w,mergedClsPrefix:n,locale:i,selfRef:l,mergedPage:f,pageItems:y(()=>N.value.items),mergedItemCount:_,jumperValue:b,pageSizeOptions:O,mergedPageSize:p,inputSize:z,selectSize:A,mergedTheme:a,mergedPageCount:g,startIndex:H,endIndex:x,showFastForwardMenu:v,showFastBackwardMenu:m,fastForwardActive:u,fastBackwardActive:h,handleMenuSelect:k,handleFastForwardMouseenter:S,handleFastForwardMouseleave:R,handleFastBackwardMouseenter:L,handleFastBackwardMouseleave:$,handleJumperInput:ce,handleBackwardClick:ne,handleForwardClick:X,handlePageItemClick:V,handleSizePickerChange:T,handleQuickJumperChange:E,cssVars:r?void 0:Y,themeClass:se==null?void 0:se.themeClass,onRender:se==null?void 0:se.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:n,cssVars:r,mergedPage:o,mergedPageCount:a,pageItems:i,showSizePicker:l,showQuickJumper:d,mergedTheme:c,locale:f,inputSize:p,selectSize:g,mergedPageSize:b,pageSizeOptions:u,jumperValue:h,simple:v,prev:m,next:S,prefix:R,suffix:L,label:$,goto:k,handleJumperInput:N,handleSizePickerChange:O,handleBackwardClick:z,handlePageItemClick:A,handleForwardClick:H,handleQuickJumperChange:x,onRender:_}=this;_==null||_();const w=e.prefix||R,M=e.suffix||L,I=m||e.prev,B=S||e.next,X=$||e.label;return s("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,v&&`${t}-pagination--simple`],style:r},w?s("div",{class:`${t}-pagination-prefix`},w({page:o,pageSize:b,pageCount:a,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(ne=>{switch(ne){case"pages":return s(dt,null,s("div",{class:[`${t}-pagination-item`,!I&&`${t}-pagination-item--button`,(o<=1||o>a||n)&&`${t}-pagination-item--disabled`],onClick:z},I?I({page:o,pageSize:b,pageCount:a,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):s(je,{clsPrefix:t},{default:()=>this.rtlEnabled?s(fn,null):s(sn,null)})),v?s(dt,null,s("div",{class:`${t}-pagination-quick-jumper`},s(an,{value:h,onUpdateValue:N,size:p,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:x}))," / ",a):i.map((te,F)=>{let T,U,E;const{type:V}=te;switch(V){case"page":const Y=te.label;X?T=X({type:"page",node:Y,active:te.active}):T=Y;break;case"fast-forward":const se=this.fastForwardActive?s(je,{clsPrefix:t},{default:()=>this.rtlEnabled?s(cn,null):s(un,null)}):s(je,{clsPrefix:t},{default:()=>s(hn,null)});X?T=X({type:"fast-forward",node:se,active:this.fastForwardActive||this.showFastForwardMenu}):T=se,U=this.handleFastForwardMouseenter,E=this.handleFastForwardMouseleave;break;case"fast-backward":const P=this.fastBackwardActive?s(je,{clsPrefix:t},{default:()=>this.rtlEnabled?s(un,null):s(cn,null)}):s(je,{clsPrefix:t},{default:()=>s(hn,null)});X?T=X({type:"fast-backward",node:P,active:this.fastBackwardActive||this.showFastBackwardMenu}):T=P,U=this.handleFastBackwardMouseenter,E=this.handleFastBackwardMouseleave;break}const ce=s("div",{key:F,class:[`${t}-pagination-item`,te.active&&`${t}-pagination-item--active`,V!=="page"&&(V==="fast-backward"&&this.showFastBackwardMenu||V==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,V==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{A(te)},onMouseenter:U,onMouseleave:E},T);if(V==="page"&&!te.mayBeFastBackward&&!te.mayBeFastForward)return ce;{const Y=te.type==="page"?te.mayBeFastBackward?"fast-backward":"fast-forward":te.type;return te.type!=="page"&&!te.options?ce:s(Io,{to:this.to,key:Y,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:c.peers.Popselect,themeOverrides:c.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:V==="page"?!1:V==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:se=>{V!=="page"&&(se?V==="fast-backward"?this.showFastBackwardMenu=se:this.showFastForwardMenu=se:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:te.type!=="page"&&te.options?te.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ce})}}),s("div",{class:[`${t}-pagination-item`,!B&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:o<1||o>=a||n}],onClick:H},B?B({page:o,pageSize:b,pageCount:a,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):s(je,{clsPrefix:t},{default:()=>this.rtlEnabled?s(sn,null):s(fn,null)})));case"size-picker":return!v&&l?s(ko,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:g,options:u,value:b,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:O})):null;case"quick-jumper":return!v&&d?s("div",{class:`${t}-pagination-quick-jumper`},k?k():Zt(this.$slots.goto,()=>[f.goto]),s(an,{value:h,onUpdateValue:N,size:p,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:x})):null;default:return null}}),M?s("div",{class:`${t}-pagination-suffix`},M({page:o,pageSize:b,pageCount:a,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),Qn=C("ellipsis",{overflow:"hidden"},[lt("line-clamp",` - white-space: nowrap; - display: inline-block; - vertical-align: bottom; - max-width: 100%; - `),j("line-clamp",` - display: -webkit-inline-box; - -webkit-box-orient: vertical; - `),j("cursor-pointer",` - cursor: pointer; - `)]);function Kt(e){return`${e}-ellipsis--line-clamp`}function jt(e,t){return`${e}-ellipsis--cursor-${t}`}const er=Object.assign(Object.assign({},Ce.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),tn=oe({name:"Ellipsis",inheritAttrs:!1,props:er,setup(e,{slots:t,attrs:n}){const r=Un(),o=Ce("Ellipsis","-ellipsis",Qn,Wr,e,r),a=W(null),i=W(null),l=W(null),d=W(!1),c=y(()=>{const{lineClamp:v}=e,{value:m}=d;return v!==void 0?{textOverflow:"","-webkit-line-clamp":m?"":v}:{textOverflow:m?"":"ellipsis","-webkit-line-clamp":""}});function f(){let v=!1;const{value:m}=d;if(m)return!0;const{value:S}=a;if(S){const{lineClamp:R}=e;if(b(S),R!==void 0)v=S.scrollHeight<=S.offsetHeight;else{const{value:L}=i;L&&(v=L.getBoundingClientRect().width<=S.getBoundingClientRect().width)}u(S,v)}return v}const p=y(()=>e.expandTrigger==="click"?()=>{var v;const{value:m}=d;m&&((v=l.value)===null||v===void 0||v.setShow(!1)),d.value=!m}:void 0);Gr(()=>{var v;e.tooltip&&((v=l.value)===null||v===void 0||v.setShow(!1))});const g=()=>s("span",Object.assign({},mt(n,{class:[`${r.value}-ellipsis`,e.lineClamp!==void 0?Kt(r.value):void 0,e.expandTrigger==="click"?jt(r.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:p.value,onMouseenter:e.expandTrigger==="click"?f:void 0}),e.lineClamp?t:s("span",{ref:"triggerInnerRef"},t));function b(v){if(!v)return;const m=c.value,S=Kt(r.value);e.lineClamp!==void 0?h(v,S,"add"):h(v,S,"remove");for(const R in m)v.style[R]!==m[R]&&(v.style[R]=m[R])}function u(v,m){const S=jt(r.value,"pointer");e.expandTrigger==="click"&&!m?h(v,S,"add"):h(v,S,"remove")}function h(v,m,S){S==="add"?v.classList.contains(m)||v.classList.add(m):v.classList.contains(m)&&v.classList.remove(m)}return{mergedTheme:o,triggerRef:a,triggerInnerRef:i,tooltipRef:l,handleClick:p,renderTrigger:g,getTooltipDisabled:f}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:r}=this;if(t){const{mergedTheme:o}=this;return s(Xr,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:o.peers.Tooltip,themeOverrides:o.peerOverrides.Tooltip}),{trigger:n,default:(e=r.tooltip)!==null&&e!==void 0?e:r.default})}else return n()}}),qo=oe({name:"PerformantEllipsis",props:er,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const r=W(!1),o=Un();return Zr("-ellipsis",Qn,o),{mouseEntered:r,renderTrigger:()=>{const{lineClamp:i}=e,l=o.value;return s("span",Object.assign({},mt(t,{class:[`${l}-ellipsis`,i!==void 0?Kt(l):void 0,e.expandTrigger==="click"?jt(l,"pointer"):void 0],style:i===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":i}}),{onMouseenter:()=>{r.value=!0}}),i?n:s("span",null,n))}}},render(){return this.mouseEntered?s(tn,mt({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),Vo=oe({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),Ho=Object.assign(Object.assign({},Ce.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),Ee=ct("n-data-table"),Wo=oe({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=Ne(),{mergedSortStateRef:n,mergedClsPrefixRef:r}=me(Ee),o=y(()=>n.value.find(d=>d.columnKey===e.column.key)),a=y(()=>o.value!==void 0),i=y(()=>{const{value:d}=o;return d&&a.value?d.order:!1}),l=y(()=>{var d,c;return((c=(d=t==null?void 0:t.value)===null||d===void 0?void 0:d.DataTable)===null||c===void 0?void 0:c.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:r,active:a,mergedSortOrder:i,mergedRenderSorter:l}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:r}=this.column;return e?s(Vo,{render:e,order:t}):s("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},r?r({order:t}):s(je,{clsPrefix:n},{default:()=>s(zo,null)}))}}),Go=oe({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}}),tr=40,nr=40;function bn(e){if(e.type==="selection")return e.width===void 0?tr:Tt(e.width);if(e.type==="expand")return e.width===void 0?nr:Tt(e.width);if(!("children"in e))return typeof e.width=="string"?Tt(e.width):e.width}function Xo(e){var t,n;if(e.type==="selection")return Pe((t=e.width)!==null&&t!==void 0?t:tr);if(e.type==="expand")return Pe((n=e.width)!==null&&n!==void 0?n:nr);if(!("children"in e))return Pe(e.width)}function Te(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function yn(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function Zo(e){return e==="ascend"?1:e==="descend"?-1:0}function Yo(e,t,n){return n!==void 0&&(e=Math.min(e,typeof n=="number"?n:parseFloat(n))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function Jo(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=Xo(e),{minWidth:r,maxWidth:o}=e;return{width:n,minWidth:Pe(r)||n,maxWidth:Pe(o)}}function Qo(e,t,n){return typeof n=="function"?n(e,t):n||""}function Nt(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function Et(e){return"children"in e?!1:!!e.sorter}function rr(e){return"children"in e&&e.children.length?!1:!!e.resizable}function xn(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function wn(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function ea(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:wn(!1)}:Object.assign(Object.assign({},t),{order:wn(t.order)})}function or(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function ta(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function na(e,t){const n=e.filter(a=>a.type!=="expand"&&a.type!=="selection"),r=n.map(a=>a.title).join(","),o=t.map(a=>n.map(i=>ta(a[i.key])).join(","));return[r,...o].join(` -`)}const ra=oe({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=Ne(e),r=Pt("DataTable",n,t),{mergedClsPrefixRef:o,mergedThemeRef:a,localeRef:i}=me(Ee),l=W(e.value),d=y(()=>{const{value:u}=l;return Array.isArray(u)?u:null}),c=y(()=>{const{value:u}=l;return Nt(e.column)?Array.isArray(u)&&u.length&&u[0]||null:Array.isArray(u)?null:u});function f(u){e.onChange(u)}function p(u){e.multiple&&Array.isArray(u)?l.value=u:Nt(e.column)&&!Array.isArray(u)?l.value=[u]:l.value=u}function g(){f(l.value),e.onConfirm()}function b(){e.multiple||Nt(e.column)?f([]):f(null),e.onClear()}return{mergedClsPrefix:o,rtlEnabled:r,mergedTheme:a,locale:i,checkboxGroupValue:d,radioGroupValue:c,handleChange:p,handleConfirmClick:g,handleClearClick:b}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return s("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},s(Dn,null,{default:()=>{const{checkboxGroupValue:r,handleChange:o}=this;return this.multiple?s(_o,{value:r,class:`${n}-data-table-filter-menu__group`,onUpdateValue:o},{default:()=>this.options.map(a=>s(Qt,{key:a.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:a.value},{default:()=>a.label}))}):s(Yr,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(a=>s(qn,{key:a.value,value:a.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>a.label}))})}}),s("div",{class:`${n}-data-table-filter-menu__action`},s(rn,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),s(rn,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function oa(e,t,n){const r=Object.assign({},e);return r[t]=n,r}const aa=oe({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=Ne(),{mergedThemeRef:n,mergedClsPrefixRef:r,mergedFilterStateRef:o,filterMenuCssVarsRef:a,paginationBehaviorOnFilterRef:i,doUpdatePage:l,doUpdateFilters:d}=me(Ee),c=W(!1),f=o,p=y(()=>e.column.filterMultiple!==!1),g=y(()=>{const S=f.value[e.column.key];if(S===void 0){const{value:R}=p;return R?[]:null}return S}),b=y(()=>{const{value:S}=g;return Array.isArray(S)?S.length>0:S!==null}),u=y(()=>{var S,R;return((R=(S=t==null?void 0:t.value)===null||S===void 0?void 0:S.DataTable)===null||R===void 0?void 0:R.renderFilter)||e.column.renderFilter});function h(S){const R=oa(f.value,e.column.key,S);d(R,e.column),i.value==="first"&&l(1)}function v(){c.value=!1}function m(){c.value=!1}return{mergedTheme:n,mergedClsPrefix:r,active:b,showPopover:c,mergedRenderFilter:u,filterMultiple:p,mergedFilterValue:g,filterMenuCssVars:a,handleFilterChange:h,handleFilterMenuConfirm:m,handleFilterMenuCancel:v}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n}=this;return s(Xt,{show:this.showPopover,onUpdateShow:r=>this.showPopover=r,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom",style:{padding:0}},{trigger:()=>{const{mergedRenderFilter:r}=this;if(r)return s(Go,{"data-data-table-filter":!0,render:r,active:this.active,show:this.showPopover});const{renderFilterIcon:o}=this.column;return s("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},o?o({active:this.active,show:this.showPopover}):s(je,{clsPrefix:t},{default:()=>s(Oo,null)}))},default:()=>{const{renderFilterMenu:r}=this.column;return r?r({hide:n}):s(ra,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),ia=oe({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=me(Ee),n=W(!1);let r=0;function o(d){return d.clientX}function a(d){var c;d.preventDefault();const f=n.value;r=o(d),n.value=!0,f||(Qe("mousemove",window,i),Qe("mouseup",window,l),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function i(d){var c;(c=e.onResize)===null||c===void 0||c.call(e,o(d)-r)}function l(){var d;n.value=!1,(d=e.onResizeEnd)===null||d===void 0||d.call(e),He("mousemove",window,i),He("mouseup",window,l)}return Gt(()=>{He("mousemove",window,i),He("mouseup",window,l)}),{mergedClsPrefix:t,active:n,handleMousedown:a}},render(){const{mergedClsPrefix:e}=this;return s("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),ar=oe({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return s("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),nn=ct("n-dropdown-menu"),zt=ct("n-dropdown"),kn=ct("n-dropdown-option");function Ut(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function la(e){return e.type==="group"}function ir(e){return e.type==="divider"}function da(e){return e.type==="render"}const lr=oe({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=me(zt),{hoverKeyRef:n,keyboardKeyRef:r,lastToggledSubmenuKeyRef:o,pendingKeyPathRef:a,activeKeyPathRef:i,animatedRef:l,mergedShowRef:d,renderLabelRef:c,renderIconRef:f,labelFieldRef:p,childrenFieldRef:g,renderOptionRef:b,nodePropsRef:u,menuPropsRef:h}=t,v=me(kn,null),m=me(nn),S=me(Vn),R=y(()=>e.tmNode.rawNode),L=y(()=>{const{value:B}=g;return Ut(e.tmNode.rawNode,B)}),$=y(()=>{const{disabled:B}=e.tmNode;return B}),k=y(()=>{if(!L.value)return!1;const{key:B,disabled:X}=e.tmNode;if(X)return!1;const{value:ne}=n,{value:te}=r,{value:F}=o,{value:T}=a;return ne!==null?T.includes(B):te!==null?T.includes(B)&&T[T.length-1]!==B:F!==null?T.includes(B):!1}),N=y(()=>r.value===null&&!l.value),O=Po(k,300,N),z=y(()=>!!(v!=null&&v.enteringSubmenuRef.value)),A=W(!1);Ue(kn,{enteringSubmenuRef:A});function H(){A.value=!0}function x(){A.value=!1}function _(){const{parentKey:B,tmNode:X}=e;X.disabled||d.value&&(o.value=B,r.value=null,n.value=X.key)}function w(){const{tmNode:B}=e;B.disabled||d.value&&n.value!==B.key&&_()}function M(B){if(e.tmNode.disabled||!d.value)return;const{relatedTarget:X}=B;X&&!tt({target:X},"dropdownOption")&&!tt({target:X},"scrollbarRail")&&(n.value=null)}function I(){const{value:B}=L,{tmNode:X}=e;d.value&&!B&&!X.disabled&&(t.doSelect(X.key,X.rawNode),t.doUpdateShow(!1))}return{labelField:p,renderLabel:c,renderIcon:f,siblingHasIcon:m.showIconRef,siblingHasSubmenu:m.hasSubmenuRef,menuProps:h,popoverBody:S,animated:l,mergedShowSubmenu:y(()=>O.value&&!z.value),rawNode:R,hasSubmenu:L,pending:Ae(()=>{const{value:B}=a,{key:X}=e.tmNode;return B.includes(X)}),childActive:Ae(()=>{const{value:B}=i,{key:X}=e.tmNode,ne=B.findIndex(te=>X===te);return ne===-1?!1:ne{const{value:B}=i,{key:X}=e.tmNode,ne=B.findIndex(te=>X===te);return ne===-1?!1:ne===B.length-1}),mergedDisabled:$,renderOption:b,nodeProps:u,handleClick:I,handleMouseMove:w,handleMouseEnter:_,handleMouseLeave:M,handleSubmenuBeforeEnter:H,handleSubmenuAfterEnter:x}},render(){var e,t;const{animated:n,rawNode:r,mergedShowSubmenu:o,clsPrefix:a,siblingHasIcon:i,siblingHasSubmenu:l,renderLabel:d,renderIcon:c,renderOption:f,nodeProps:p,props:g,scrollable:b}=this;let u=null;if(o){const S=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,r,r.children);u=s(dr,Object.assign({},S,{clsPrefix:a,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const h={class:[`${a}-dropdown-option-body`,this.pending&&`${a}-dropdown-option-body--pending`,this.active&&`${a}-dropdown-option-body--active`,this.childActive&&`${a}-dropdown-option-body--child-active`,this.mergedDisabled&&`${a}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},v=p==null?void 0:p(r),m=s("div",Object.assign({class:[`${a}-dropdown-option`,v==null?void 0:v.class],"data-dropdown-option":!0},v),s("div",mt(h,g),[s("div",{class:[`${a}-dropdown-option-body__prefix`,i&&`${a}-dropdown-option-body__prefix--show-icon`]},[c?c(r):Ct(r.icon)]),s("div",{"data-dropdown-option":!0,class:`${a}-dropdown-option-body__label`},d?d(r):Ct((t=r[this.labelField])!==null&&t!==void 0?t:r.title)),s("div",{"data-dropdown-option":!0,class:[`${a}-dropdown-option-body__suffix`,l&&`${a}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?s(to,null,{default:()=>s(Hn,null)}):null)]),this.hasSubmenu?s(Jr,null,{default:()=>[s(Qr,null,{default:()=>s("div",{class:`${a}-dropdown-offset-container`},s(eo,{show:this.mergedShowSubmenu,placement:this.placement,to:b&&this.popoverBody||void 0,teleportDisabled:!b},{default:()=>s("div",{class:`${a}-dropdown-menu-wrapper`},n?s(Yt,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>u}):u)}))})]}):null);return f?f({node:m,option:r}):m}}),sa=oe({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=me(nn),{renderLabelRef:n,labelFieldRef:r,nodePropsRef:o,renderOptionRef:a}=me(zt);return{labelField:r,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:o,renderOption:a}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:r,nodeProps:o,renderLabel:a,renderOption:i}=this,{rawNode:l}=this.tmNode,d=s("div",Object.assign({class:`${t}-dropdown-option`},o==null?void 0:o(l)),s("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},s("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,r&&`${t}-dropdown-option-body__prefix--show-icon`]},Ct(l.icon)),s("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},a?a(l):Ct((e=l.title)!==null&&e!==void 0?e:l[this.labelField])),s("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return i?i({node:d,option:l}):d}}),ca=oe({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:r}=e;return s(dt,null,s(sa,{clsPrefix:n,tmNode:e,key:e.key}),r==null?void 0:r.map(o=>{const{rawNode:a}=o;return a.show===!1?null:ir(a)?s(ar,{clsPrefix:n,key:o.key}):o.isGroup?(gt("dropdown","`group` node is not allowed to be put in `group` node."),null):s(lr,{clsPrefix:n,tmNode:o,parentKey:t,key:o.key})}))}}),ua=oe({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return s("div",t,[e==null?void 0:e()])}}),dr=oe({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=me(zt);Ue(nn,{showIconRef:y(()=>{const o=t.value;return e.tmNodes.some(a=>{var i;if(a.isGroup)return(i=a.children)===null||i===void 0?void 0:i.some(({rawNode:d})=>o?o(d):d.icon);const{rawNode:l}=a;return o?o(l):l.icon})}),hasSubmenuRef:y(()=>{const{value:o}=n;return e.tmNodes.some(a=>{var i;if(a.isGroup)return(i=a.children)===null||i===void 0?void 0:i.some(({rawNode:d})=>Ut(d,o));const{rawNode:l}=a;return Ut(l,o)})})});const r=W(null);return Ue(no,null),Ue(ro,null),Ue(Vn,r),{bodyRef:r}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,r=this.tmNodes.map(o=>{const{rawNode:a}=o;return a.show===!1?null:da(a)?s(ua,{tmNode:o,key:o.key}):ir(a)?s(ar,{clsPrefix:t,key:o.key}):la(a)?s(ca,{clsPrefix:t,tmNode:o,parentKey:e,key:o.key}):s(lr,{clsPrefix:t,tmNode:o,parentKey:e,key:o.key,props:a.props,scrollable:n})});return s("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?s(ao,{contentClass:`${t}-dropdown-menu__content`},{default:()=>r}):r,this.showArrow?oo({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),fa=C("dropdown-menu",` - transform-origin: var(--v-transform-origin); - background-color: var(--n-color); - border-radius: var(--n-border-radius); - box-shadow: var(--n-box-shadow); - position: relative; - transition: - background-color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier); -`,[Wn(),C("dropdown-option",` - position: relative; - `,[Z("a",` - text-decoration: none; - color: inherit; - outline: none; - `,[Z("&::before",` - content: ""; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - `)]),C("dropdown-option-body",` - display: flex; - cursor: pointer; - position: relative; - height: var(--n-option-height); - line-height: var(--n-option-height); - font-size: var(--n-font-size); - color: var(--n-option-text-color); - transition: color .3s var(--n-bezier); - `,[Z("&::before",` - content: ""; - position: absolute; - top: 0; - bottom: 0; - left: 4px; - right: 4px; - transition: background-color .3s var(--n-bezier); - border-radius: var(--n-border-radius); - `),lt("disabled",[j("pending",` - color: var(--n-option-text-color-hover); - `,[he("prefix, suffix",` - color: var(--n-option-text-color-hover); - `),Z("&::before","background-color: var(--n-option-color-hover);")]),j("active",` - color: var(--n-option-text-color-active); - `,[he("prefix, suffix",` - color: var(--n-option-text-color-active); - `),Z("&::before","background-color: var(--n-option-color-active);")]),j("child-active",` - color: var(--n-option-text-color-child-active); - `,[he("prefix, suffix",` - color: var(--n-option-text-color-child-active); - `)])]),j("disabled",` - cursor: not-allowed; - opacity: var(--n-option-opacity-disabled); - `),j("group",` - font-size: calc(var(--n-font-size) - 1px); - color: var(--n-group-header-text-color); - `,[he("prefix",` - width: calc(var(--n-option-prefix-width) / 2); - `,[j("show-icon",` - width: calc(var(--n-option-icon-prefix-width) / 2); - `)])]),he("prefix",` - width: var(--n-option-prefix-width); - display: flex; - justify-content: center; - align-items: center; - color: var(--n-prefix-color); - transition: color .3s var(--n-bezier); - z-index: 1; - `,[j("show-icon",` - width: var(--n-option-icon-prefix-width); - `),C("icon",` - font-size: var(--n-option-icon-size); - `)]),he("label",` - white-space: nowrap; - flex: 1; - z-index: 1; - `),he("suffix",` - box-sizing: border-box; - flex-grow: 0; - flex-shrink: 0; - display: flex; - justify-content: flex-end; - align-items: center; - min-width: var(--n-option-suffix-width); - padding: 0 8px; - transition: color .3s var(--n-bezier); - color: var(--n-suffix-color); - z-index: 1; - `,[j("has-submenu",` - width: var(--n-option-icon-suffix-width); - `),C("icon",` - font-size: var(--n-option-icon-size); - `)]),C("dropdown-menu","pointer-events: all;")]),C("dropdown-offset-container",` - pointer-events: none; - position: absolute; - left: 0; - right: 0; - top: -4px; - bottom: -4px; - `)]),C("dropdown-divider",` - transition: background-color .3s var(--n-bezier); - background-color: var(--n-divider-color); - height: 1px; - margin: 4px 0; - `),C("dropdown-menu-wrapper",` - transform-origin: var(--v-transform-origin); - width: fit-content; - `),Z(">",[C("scrollbar",` - height: inherit; - max-height: inherit; - `)]),lt("scrollable",` - padding: var(--n-padding); - `),j("scrollable",[he("content",` - padding: var(--n-padding); - `)])]),ha={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},va=Object.keys(Rt),pa=Object.assign(Object.assign(Object.assign({},Rt),ha),Ce.props),ma=oe({name:"Dropdown",inheritAttrs:!1,props:pa,setup(e){const t=W(!1),n=We(re(e,"show"),t),r=y(()=>{const{keyField:x,childrenField:_}=e;return Jt(e.options,{getKey(w){return w[x]},getDisabled(w){return w.disabled===!0},getIgnored(w){return w.type==="divider"||w.type==="render"},getChildren(w){return w[_]}})}),o=y(()=>r.value.treeNodes),a=W(null),i=W(null),l=W(null),d=y(()=>{var x,_,w;return(w=(_=(x=a.value)!==null&&x!==void 0?x:i.value)!==null&&_!==void 0?_:l.value)!==null&&w!==void 0?w:null}),c=y(()=>r.value.getPath(d.value).keyPath),f=y(()=>r.value.getPath(e.value).keyPath),p=Ae(()=>e.keyboard&&n.value);Fo({keydown:{ArrowUp:{prevent:!0,handler:$},ArrowRight:{prevent:!0,handler:L},ArrowDown:{prevent:!0,handler:k},ArrowLeft:{prevent:!0,handler:R},Enter:{prevent:!0,handler:N},Escape:S}},p);const{mergedClsPrefixRef:g,inlineThemeDisabled:b}=Ne(e),u=Ce("Dropdown","-dropdown",fa,io,e,g);Ue(zt,{labelFieldRef:re(e,"labelField"),childrenFieldRef:re(e,"childrenField"),renderLabelRef:re(e,"renderLabel"),renderIconRef:re(e,"renderIcon"),hoverKeyRef:a,keyboardKeyRef:i,lastToggledSubmenuKeyRef:l,pendingKeyPathRef:c,activeKeyPathRef:f,animatedRef:re(e,"animated"),mergedShowRef:n,nodePropsRef:re(e,"nodeProps"),renderOptionRef:re(e,"renderOption"),menuPropsRef:re(e,"menuProps"),doSelect:h,doUpdateShow:v}),nt(n,x=>{!e.animated&&!x&&m()});function h(x,_){const{onSelect:w}=e;w&&J(w,x,_)}function v(x){const{"onUpdate:show":_,onUpdateShow:w}=e;_&&J(_,x),w&&J(w,x),t.value=x}function m(){a.value=null,i.value=null,l.value=null}function S(){v(!1)}function R(){z("left")}function L(){z("right")}function $(){z("up")}function k(){z("down")}function N(){const x=O();x!=null&&x.isLeaf&&n.value&&(h(x.key,x.rawNode),v(!1))}function O(){var x;const{value:_}=r,{value:w}=d;return!_||w===null?null:(x=_.getNode(w))!==null&&x!==void 0?x:null}function z(x){const{value:_}=d,{value:{getFirstAvailableNode:w}}=r;let M=null;if(_===null){const I=w();I!==null&&(M=I.key)}else{const I=O();if(I){let B;switch(x){case"down":B=I.getNext();break;case"up":B=I.getPrev();break;case"right":B=I.getChild();break;case"left":B=I.getParent();break}B&&(M=B.key)}}M!==null&&(a.value=null,i.value=M)}const A=y(()=>{const{size:x,inverted:_}=e,{common:{cubicBezierEaseInOut:w},self:M}=u.value,{padding:I,dividerColor:B,borderRadius:X,optionOpacityDisabled:ne,[de("optionIconSuffixWidth",x)]:te,[de("optionSuffixWidth",x)]:F,[de("optionIconPrefixWidth",x)]:T,[de("optionPrefixWidth",x)]:U,[de("fontSize",x)]:E,[de("optionHeight",x)]:V,[de("optionIconSize",x)]:ce}=M,Y={"--n-bezier":w,"--n-font-size":E,"--n-padding":I,"--n-border-radius":X,"--n-option-height":V,"--n-option-prefix-width":U,"--n-option-icon-prefix-width":T,"--n-option-suffix-width":F,"--n-option-icon-suffix-width":te,"--n-option-icon-size":ce,"--n-divider-color":B,"--n-option-opacity-disabled":ne};return _?(Y["--n-color"]=M.colorInverted,Y["--n-option-color-hover"]=M.optionColorHoverInverted,Y["--n-option-color-active"]=M.optionColorActiveInverted,Y["--n-option-text-color"]=M.optionTextColorInverted,Y["--n-option-text-color-hover"]=M.optionTextColorHoverInverted,Y["--n-option-text-color-active"]=M.optionTextColorActiveInverted,Y["--n-option-text-color-child-active"]=M.optionTextColorChildActiveInverted,Y["--n-prefix-color"]=M.prefixColorInverted,Y["--n-suffix-color"]=M.suffixColorInverted,Y["--n-group-header-text-color"]=M.groupHeaderTextColorInverted):(Y["--n-color"]=M.color,Y["--n-option-color-hover"]=M.optionColorHover,Y["--n-option-color-active"]=M.optionColorActive,Y["--n-option-text-color"]=M.optionTextColor,Y["--n-option-text-color-hover"]=M.optionTextColorHover,Y["--n-option-text-color-active"]=M.optionTextColorActive,Y["--n-option-text-color-child-active"]=M.optionTextColorChildActive,Y["--n-prefix-color"]=M.prefixColor,Y["--n-suffix-color"]=M.suffixColor,Y["--n-group-header-text-color"]=M.groupHeaderTextColor),Y}),H=b?ut("dropdown",y(()=>`${e.size[0]}${e.inverted?"i":""}`),A,e):void 0;return{mergedClsPrefix:g,mergedTheme:u,tmNodes:o,mergedShow:n,handleAfterLeave:()=>{e.animated&&m()},doUpdateShow:v,cssVars:b?void 0:A,themeClass:H==null?void 0:H.themeClass,onRender:H==null?void 0:H.onRender}},render(){const e=(r,o,a,i,l)=>{var d;const{mergedClsPrefix:c,menuProps:f}=this;(d=this.onRender)===null||d===void 0||d.call(this);const p=(f==null?void 0:f(void 0,this.tmNodes.map(b=>b.rawNode)))||{},g={ref:Xn(o),class:[r,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[...a,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:i,onMouseleave:l};return s(dr,mt(this.$attrs,g,p))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return s(Xt,Object.assign({},In(this.$props,va),n),{trigger:()=>{var r,o;return(o=(r=this.$slots).default)===null||o===void 0?void 0:o.call(r)}})}}),sr="_n_all__",cr="_n_none__";function ga(e,t,n,r){return e?o=>{for(const a of e)switch(o){case sr:n(!0);return;case cr:r(!0);return;default:if(typeof a=="object"&&a.key===o){a.onSelect(t.value);return}}}:()=>{}}function ba(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:sr};case"none":return{label:t.uncheckTableAll,key:cr};default:return n}}):[]}const ya=oe({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:r,rawPaginatedDataRef:o,doCheckAll:a,doUncheckAll:i}=me(Ee),l=y(()=>ga(r.value,o,a,i)),d=y(()=>ba(r.value,n.value));return()=>{var c,f,p,g;const{clsPrefix:b}=e;return s(ma,{theme:(f=(c=t.theme)===null||c===void 0?void 0:c.peers)===null||f===void 0?void 0:f.Dropdown,themeOverrides:(g=(p=t.themeOverrides)===null||p===void 0?void 0:p.peers)===null||g===void 0?void 0:g.Dropdown,options:d.value,onSelect:l.value},{default:()=>s(je,{clsPrefix:b,class:`${b}-data-table-check-extra`},{default:()=>s(yo,null)})})}}});function Bt(e){return typeof e.title=="function"?e.title(e):e.title}const ur=oe({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:r,mergedCurrentPageRef:o,allRowsCheckedRef:a,someRowsCheckedRef:i,rowsRef:l,colsRef:d,mergedThemeRef:c,checkOptionsRef:f,mergedSortStateRef:p,componentId:g,mergedTableLayoutRef:b,headerCheckboxDisabledRef:u,onUnstableColumnResize:h,doUpdateResizableWidth:v,handleTableHeaderScroll:m,deriveNextSorter:S,doUncheckAll:R,doCheckAll:L}=me(Ee),$=W({});function k(x){const _=$.value[x];return _==null?void 0:_.getBoundingClientRect().width}function N(){a.value?R():L()}function O(x,_){if(tt(x,"dataTableFilter")||tt(x,"dataTableResizable")||!Et(_))return;const w=p.value.find(I=>I.columnKey===_.key)||null,M=ea(_,w);S(M)}const z=new Map;function A(x){z.set(x.key,k(x.key))}function H(x,_){const w=z.get(x.key);if(w===void 0)return;const M=w+_,I=Yo(M,x.minWidth,x.maxWidth);h(M,I,x,k),v(x,I)}return{cellElsRef:$,componentId:g,mergedSortState:p,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:r,currentPage:o,allRowsChecked:a,someRowsChecked:i,rows:l,cols:d,mergedTheme:c,checkOptions:f,mergedTableLayout:b,headerCheckboxDisabled:u,handleCheckboxUpdateChecked:N,handleColHeaderClick:O,handleTableHeaderScroll:m,handleColumnResizeStart:A,handleColumnResize:H}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:r,currentPage:o,allRowsChecked:a,someRowsChecked:i,rows:l,cols:d,mergedTheme:c,checkOptions:f,componentId:p,discrete:g,mergedTableLayout:b,headerCheckboxDisabled:u,mergedSortState:h,handleColHeaderClick:v,handleCheckboxUpdateChecked:m,handleColumnResizeStart:S,handleColumnResize:R}=this,L=s("thead",{class:`${t}-data-table-thead`,"data-n-id":p},l.map(N=>s("tr",{class:`${t}-data-table-tr`},N.map(({column:O,colSpan:z,rowSpan:A,isLast:H})=>{var x,_;const w=Te(O),{ellipsis:M}=O,I=()=>O.type==="selection"?O.multiple!==!1?s(dt,null,s(Qt,{key:o,privateInsideTable:!0,checked:a,indeterminate:i,disabled:u,onUpdateChecked:m}),f?s(ya,{clsPrefix:t}):null):null:s(dt,null,s("div",{class:`${t}-data-table-th__title-wrapper`},s("div",{class:`${t}-data-table-th__title`},M===!0||M&&!M.tooltip?s("div",{class:`${t}-data-table-th__ellipsis`},Bt(O)):M&&typeof M=="object"?s(tn,Object.assign({},M,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Bt(O)}):Bt(O)),Et(O)?s(Wo,{column:O}):null),xn(O)?s(aa,{column:O,options:O.filterOptions}):null,rr(O)?s(ia,{onResizeStart:()=>{S(O)},onResize:ne=>{R(O,ne)}}):null),B=w in n,X=w in r;return s("th",{ref:ne=>e[w]=ne,key:w,style:{textAlign:O.titleAlign||O.align,left:vt((x=n[w])===null||x===void 0?void 0:x.start),right:vt((_=r[w])===null||_===void 0?void 0:_.start)},colspan:z,rowspan:A,"data-col-key":w,class:[`${t}-data-table-th`,(B||X)&&`${t}-data-table-th--fixed-${B?"left":"right"}`,{[`${t}-data-table-th--hover`]:or(O,h),[`${t}-data-table-th--filterable`]:xn(O),[`${t}-data-table-th--sortable`]:Et(O),[`${t}-data-table-th--selection`]:O.type==="selection",[`${t}-data-table-th--last`]:H},O.className],onClick:O.type!=="selection"&&O.type!=="expand"&&!("children"in O)?ne=>{v(ne,O)}:void 0},I())}))));if(!g)return L;const{handleTableHeaderScroll:$,scrollX:k}=this;return s("div",{class:`${t}-data-table-base-table-header`,onScroll:$},s("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:Pe(k),tableLayout:b}},s("colgroup",null,d.map(N=>s("col",{key:N.key,style:N.style}))),L))}}),xa=oe({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:r,renderCell:o}=this;let a;const{render:i,key:l,ellipsis:d}=n;if(i&&!t?a=i(r,this.index):t?a=(e=r[l])===null||e===void 0?void 0:e.value:a=o?o(St(r,l),r,n):St(r,l),d)if(typeof d=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?s(qo,Object.assign({},d,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>a}):s(tn,Object.assign({},d,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>a})}else return s("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},a);return a}}),Rn=oe({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return s("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},s(Bn,null,{default:()=>this.loading?s(Gn,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):s(je,{clsPrefix:e,key:"base-icon"},{default:()=>s(Hn,null)})}))}}),wa=oe({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=me(Ee);return()=>{const{rowKey:r}=e;return s(Qt,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(r),checked:t.value.has(r),onUpdateChecked:e.onUpdateChecked})}}}),ka=oe({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:n}=me(Ee);return()=>{const{rowKey:r}=e;return s(qn,{name:n,disabled:e.disabled,checked:t.value.has(r),onUpdateChecked:e.onUpdateChecked})}}});function Ra(e,t){const n=[];function r(o,a){o.forEach(i=>{i.children&&t.has(i.key)?(n.push({tmNode:i,striped:!1,key:i.key,index:a}),r(i.children,a)):n.push({key:i.key,tmNode:i,striped:!1,index:a})})}return e.forEach(o=>{n.push(o);const{children:a}=o.tmNode;a&&t.has(o.key)&&r(a,o.index)}),n}const Ca=oe({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:r,onMouseleave:o}=this;return s("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:r,onMouseleave:o},s("colgroup",null,n.map(a=>s("col",{key:a.key,style:a.style}))),s("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),Sa=oe({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:r,mergedClsPrefixRef:o,mergedThemeRef:a,scrollXRef:i,colsRef:l,paginatedDataRef:d,rawPaginatedDataRef:c,fixedColumnLeftMapRef:f,fixedColumnRightMapRef:p,mergedCurrentPageRef:g,rowClassNameRef:b,leftActiveFixedColKeyRef:u,leftActiveFixedChildrenColKeysRef:h,rightActiveFixedColKeyRef:v,rightActiveFixedChildrenColKeysRef:m,renderExpandRef:S,hoverKeyRef:R,summaryRef:L,mergedSortStateRef:$,virtualScrollRef:k,componentId:N,mergedTableLayoutRef:O,childTriggerColIndexRef:z,indentRef:A,rowPropsRef:H,maxHeightRef:x,stripedRef:_,loadingRef:w,onLoadRef:M,loadingKeySetRef:I,expandableRef:B,stickyExpandedRowsRef:X,renderExpandIconRef:ne,summaryPlacementRef:te,treeMateRef:F,scrollbarPropsRef:T,setHeaderScrollLeft:U,doUpdateExpandedRowKeys:E,handleTableBodyScroll:V,doCheck:ce,doUncheck:Y,renderCell:se}=me(Ee),P=W(null),D=W(null),Q=W(null),ae=Ae(()=>d.value.length===0),K=Ae(()=>e.showHeader||!ae.value),ie=Ae(()=>e.showHeader||ae.value);let Me="";const we=y(()=>new Set(r.value));function xe(q){var ee;return(ee=F.value.getNode(q))===null||ee===void 0?void 0:ee.rawNode}function Ge(q,ee,ve){const G=xe(q.key);if(!G){gt("data-table",`fail to get row data with key ${q.key}`);return}if(ve){const fe=d.value.findIndex(ke=>ke.key===Me);if(fe!==-1){const ke=d.value.findIndex($e=>$e.key===q.key),ue=Math.min(fe,ke),pe=Math.max(fe,ke),ge=[];d.value.slice(ue,pe+1).forEach($e=>{$e.disabled||ge.push($e.key)}),ee?ce(ge,!1,G):Y(ge,G),Me=q.key;return}}ee?ce(q.key,!1,G):Y(q.key,G),Me=q.key}function Xe(q){const ee=xe(q.key);if(!ee){gt("data-table",`fail to get row data with key ${q.key}`);return}ce(q.key,!0,ee)}function Fe(){if(!K.value){const{value:ee}=Q;return ee||null}if(k.value)return Ve();const{value:q}=P;return q?q.containerRef:null}function ze(q,ee){var ve;if(I.value.has(q))return;const{value:G}=r,fe=G.indexOf(q),ke=Array.from(G);~fe?(ke.splice(fe,1),E(ke)):ee&&!ee.isLeaf&&!ee.shallowLoaded?(I.value.add(q),(ve=M.value)===null||ve===void 0||ve.call(M,ee.rawNode).then(()=>{const{value:ue}=r,pe=Array.from(ue);~pe.indexOf(q)||pe.push(q),E(pe)}).finally(()=>{I.value.delete(q)})):(ke.push(q),E(ke))}function De(){R.value=null}function Ve(){const{value:q}=D;return(q==null?void 0:q.listElRef)||null}function Ze(){const{value:q}=D;return(q==null?void 0:q.itemsElRef)||null}function rt(q){var ee;V(q),(ee=P.value)===null||ee===void 0||ee.sync()}function Be(q){var ee;const{onResize:ve}=e;ve&&ve(q),(ee=P.value)===null||ee===void 0||ee.sync()}const ye={getScrollContainer:Fe,scrollTo(q,ee){var ve,G;k.value?(ve=D.value)===null||ve===void 0||ve.scrollTo(q,ee):(G=P.value)===null||G===void 0||G.scrollTo(q,ee)}},Le=Z([({props:q})=>{const ee=G=>G===null?null:Z(`[data-n-id="${q.componentId}"] [data-col-key="${G}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),ve=G=>G===null?null:Z(`[data-n-id="${q.componentId}"] [data-col-key="${G}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return Z([ee(q.leftActiveFixedColKey),ve(q.rightActiveFixedColKey),q.leftActiveFixedChildrenColKeys.map(G=>ee(G)),q.rightActiveFixedChildrenColKeys.map(G=>ve(G))])}]);let Ie=!1;return ht(()=>{const{value:q}=u,{value:ee}=h,{value:ve}=v,{value:G}=m;if(!Ie&&q===null&&ve===null)return;const fe={leftActiveFixedColKey:q,leftActiveFixedChildrenColKeys:ee,rightActiveFixedColKey:ve,rightActiveFixedChildrenColKeys:G,componentId:N};Le.mount({id:`n-${N}`,force:!0,props:fe,anchorMetaName:co}),Ie=!0}),lo(()=>{Le.unmount({id:`n-${N}`})}),Object.assign({bodyWidth:n,summaryPlacement:te,dataTableSlots:t,componentId:N,scrollbarInstRef:P,virtualListRef:D,emptyElRef:Q,summary:L,mergedClsPrefix:o,mergedTheme:a,scrollX:i,cols:l,loading:w,bodyShowHeaderOnly:ie,shouldDisplaySomeTablePart:K,empty:ae,paginatedDataAndInfo:y(()=>{const{value:q}=_;let ee=!1;return{data:d.value.map(q?(G,fe)=>(G.isLeaf||(ee=!0),{tmNode:G,key:G.key,striped:fe%2===1,index:fe}):(G,fe)=>(G.isLeaf||(ee=!0),{tmNode:G,key:G.key,striped:!1,index:fe})),hasChildren:ee}}),rawPaginatedData:c,fixedColumnLeftMap:f,fixedColumnRightMap:p,currentPage:g,rowClassName:b,renderExpand:S,mergedExpandedRowKeySet:we,hoverKey:R,mergedSortState:$,virtualScroll:k,mergedTableLayout:O,childTriggerColIndex:z,indent:A,rowProps:H,maxHeight:x,loadingKeySet:I,expandable:B,stickyExpandedRows:X,renderExpandIcon:ne,scrollbarProps:T,setHeaderScrollLeft:U,handleVirtualListScroll:rt,handleVirtualListResize:Be,handleMouseleaveTable:De,virtualListContainer:Ve,virtualListContent:Ze,handleTableBodyScroll:V,handleCheckboxUpdateChecked:Ge,handleRadioUpdateChecked:Xe,handleUpdateExpanded:ze,renderCell:se},ye)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:r,maxHeight:o,mergedTableLayout:a,flexHeight:i,loadingKeySet:l,onResize:d,setHeaderScrollLeft:c}=this,f=t!==void 0||o!==void 0||i,p=!f&&a==="auto",g=t!==void 0||p,b={minWidth:Pe(t)||"100%"};t&&(b.width="100%");const u=s(Dn,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:f||p,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:b,container:r?this.virtualListContainer:void 0,content:r?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:g,onScroll:r?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:d}),{default:()=>{const h={},v={},{cols:m,paginatedDataAndInfo:S,mergedTheme:R,fixedColumnLeftMap:L,fixedColumnRightMap:$,currentPage:k,rowClassName:N,mergedSortState:O,mergedExpandedRowKeySet:z,stickyExpandedRows:A,componentId:H,childTriggerColIndex:x,expandable:_,rowProps:w,handleMouseleaveTable:M,renderExpand:I,summary:B,handleCheckboxUpdateChecked:X,handleRadioUpdateChecked:ne,handleUpdateExpanded:te}=this,{length:F}=m;let T;const{data:U,hasChildren:E}=S,V=E?Ra(U,z):U;if(B){const K=B(this.rawPaginatedData);if(Array.isArray(K)){const ie=K.map((Me,we)=>({isSummaryRow:!0,key:`__n_summary__${we}`,tmNode:{rawNode:Me,disabled:!0},index:-1}));T=this.summaryPlacement==="top"?[...ie,...V]:[...V,...ie]}else{const ie={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:K,disabled:!0},index:-1};T=this.summaryPlacement==="top"?[ie,...V]:[...V,ie]}}else T=V;const ce=E?{width:vt(this.indent)}:void 0,Y=[];T.forEach(K=>{I&&z.has(K.key)&&(!_||_(K.tmNode.rawNode))?Y.push(K,{isExpandedRow:!0,key:`${K.key}-expand`,tmNode:K.tmNode,index:K.index}):Y.push(K)});const{length:se}=Y,P={};U.forEach(({tmNode:K},ie)=>{P[ie]=K.key});const D=A?this.bodyWidth:null,Q=D===null?void 0:`${D}px`,ae=(K,ie,Me)=>{const{index:we}=K;if("isExpandedRow"in K){const{tmNode:{key:Be,rawNode:ye}}=K;return s("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${Be}__expand`},s("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,ie+1===se&&`${n}-data-table-td--last-row`],colspan:F},A?s("div",{class:`${n}-data-table-expand`,style:{width:Q}},I(ye,we)):I(ye,we)))}const xe="isSummaryRow"in K,Ge=!xe&&K.striped,{tmNode:Xe,key:Fe}=K,{rawNode:ze}=Xe,De=z.has(Fe),Ve=w?w(ze,we):void 0,Ze=typeof N=="string"?N:Qo(ze,we,N);return s("tr",Object.assign({onMouseenter:()=>{this.hoverKey=Fe},key:Fe,class:[`${n}-data-table-tr`,xe&&`${n}-data-table-tr--summary`,Ge&&`${n}-data-table-tr--striped`,De&&`${n}-data-table-tr--expanded`,Ze]},Ve),m.map((Be,ye)=>{var Le,Ie,q,ee,ve;if(ie in h){const Re=h[ie],Se=Re.indexOf(ye);if(~Se)return Re.splice(Se,1),null}const{column:G}=Be,fe=Te(Be),{rowSpan:ke,colSpan:ue}=G,pe=xe?((Le=K.tmNode.rawNode[fe])===null||Le===void 0?void 0:Le.colSpan)||1:ue?ue(ze,we):1,ge=xe?((Ie=K.tmNode.rawNode[fe])===null||Ie===void 0?void 0:Ie.rowSpan)||1:ke?ke(ze,we):1,$e=ye+pe===F,Ye=ie+ge===se,Ke=ge>1;if(Ke&&(v[ie]={[ye]:[]}),pe>1||Ke)for(let Re=ie;Re{te(Fe,K.tmNode)}})]:null,G.type==="selection"?xe?null:G.multiple===!1?s(ka,{key:k,rowKey:Fe,disabled:K.tmNode.disabled,onUpdateChecked:()=>{ne(K.tmNode)}}):s(wa,{key:k,rowKey:Fe,disabled:K.tmNode.disabled,onUpdateChecked:(Re,Se)=>{X(K.tmNode,Re,Se.shiftKey)}}):G.type==="expand"?xe?null:!G.expandable||!((ve=G.expandable)===null||ve===void 0)&&ve.call(G,ze)?s(Rn,{clsPrefix:n,expanded:De,renderExpandIcon:this.renderExpandIcon,onClick:()=>{te(Fe,null)}}):null:s(xa,{clsPrefix:n,index:we,row:ze,column:G,isSummary:xe,mergedTheme:R,renderCell:this.renderCell}))}))};return r?s(Ro,{ref:"virtualListRef",items:Y,itemSize:28,visibleItemsTag:Ca,visibleItemsProps:{clsPrefix:n,id:H,cols:m,onMouseleave:M},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:b,itemResizable:!0},{default:({item:K,index:ie})=>ae(K,ie,!0)}):s("table",{class:`${n}-data-table-table`,onMouseleave:M,style:{tableLayout:this.mergedTableLayout}},s("colgroup",null,m.map(K=>s("col",{key:K.key,style:K.style}))),this.showHeader?s(ur,{discrete:!1}):null,this.empty?null:s("tbody",{"data-n-id":H,class:`${n}-data-table-tbody`},Y.map((K,ie)=>ae(K,ie,!1))))}});if(this.empty){const h=()=>s("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},Zt(this.dataTableSlots.empty,()=>[s(Co,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?s(dt,null,u,h()):s(so,{onResize:this.onResize},{default:h})}return u}}),Pa=oe({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:r,maxHeightRef:o,minHeightRef:a,flexHeightRef:i,syncScrollState:l}=me(Ee),d=W(null),c=W(null),f=W(null),p=W(!(n.value.length||t.value.length)),g=y(()=>({maxHeight:Pe(o.value),minHeight:Pe(a.value)}));function b(m){r.value=m.contentRect.width,l(),p.value||(p.value=!0)}function u(){const{value:m}=d;return m?m.$el:null}function h(){const{value:m}=c;return m?m.getScrollContainer():null}const v={getBodyElement:h,getHeaderElement:u,scrollTo(m,S){var R;(R=c.value)===null||R===void 0||R.scrollTo(m,S)}};return ht(()=>{const{value:m}=f;if(!m)return;const S=`${e.value}-data-table-base-table--transition-disabled`;p.value?setTimeout(()=>{m.classList.remove(S)},0):m.classList.add(S)}),Object.assign({maxHeight:o,mergedClsPrefix:e,selfElRef:f,headerInstRef:d,bodyInstRef:c,bodyStyle:g,flexHeight:i,handleBodyResize:b},v)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,r=t===void 0&&!n;return s("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},r?null:s(ur,{ref:"headerInstRef"}),s(Sa,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:r,flexHeight:n,onResize:this.handleBodyResize}))}});function Fa(e,t){const{paginatedDataRef:n,treeMateRef:r,selectionColumnRef:o}=t,a=W(e.defaultCheckedRowKeys),i=y(()=>{var $;const{checkedRowKeys:k}=e,N=k===void 0?a.value:k;return(($=o.value)===null||$===void 0?void 0:$.multiple)===!1?{checkedKeys:N.slice(0,1),indeterminateKeys:[]}:r.value.getCheckedKeys(N,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),l=y(()=>i.value.checkedKeys),d=y(()=>i.value.indeterminateKeys),c=y(()=>new Set(l.value)),f=y(()=>new Set(d.value)),p=y(()=>{const{value:$}=c;return n.value.reduce((k,N)=>{const{key:O,disabled:z}=N;return k+(!z&&$.has(O)?1:0)},0)}),g=y(()=>n.value.filter($=>$.disabled).length),b=y(()=>{const{length:$}=n.value,{value:k}=f;return p.value>0&&p.value<$-g.value||n.value.some(N=>k.has(N.key))}),u=y(()=>{const{length:$}=n.value;return p.value!==0&&p.value===$-g.value}),h=y(()=>n.value.length===0);function v($,k,N){const{"onUpdate:checkedRowKeys":O,onUpdateCheckedRowKeys:z,onCheckedRowKeysChange:A}=e,H=[],{value:{getNode:x}}=r;$.forEach(_=>{var w;const M=(w=x(_))===null||w===void 0?void 0:w.rawNode;H.push(M)}),O&&J(O,$,H,{row:k,action:N}),z&&J(z,$,H,{row:k,action:N}),A&&J(A,$,H,{row:k,action:N}),a.value=$}function m($,k=!1,N){if(!e.loading){if(k){v(Array.isArray($)?$.slice(0,1):[$],N,"check");return}v(r.value.check($,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,N,"check")}}function S($,k){e.loading||v(r.value.uncheck($,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,k,"uncheck")}function R($=!1){const{value:k}=o;if(!k||e.loading)return;const N=[];($?r.value.treeNodes:n.value).forEach(O=>{O.disabled||N.push(O.key)}),v(r.value.check(N,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function L($=!1){const{value:k}=o;if(!k||e.loading)return;const N=[];($?r.value.treeNodes:n.value).forEach(O=>{O.disabled||N.push(O.key)}),v(r.value.uncheck(N,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:l,mergedInderminateRowKeySetRef:f,someRowsCheckedRef:b,allRowsCheckedRef:u,headerCheckboxDisabledRef:h,doUpdateCheckedRowKeys:v,doCheckAll:R,doUncheckAll:L,doCheck:m,doUncheck:S}}function yt(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function za(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?Oa(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function Oa(e){return(t,n)=>{const r=t[e],o=n[e];return r==null?o==null?0:-1:o==null?1:typeof r=="number"&&typeof o=="number"?r-o:typeof r=="string"&&typeof o=="string"?r.localeCompare(o):0}}function Ma(e,{dataRelatedColsRef:t,filteredDataRef:n}){const r=[];t.value.forEach(b=>{var u;b.sorter!==void 0&&g(r,{columnKey:b.key,sorter:b.sorter,order:(u=b.defaultSortOrder)!==null&&u!==void 0?u:!1})});const o=W(r),a=y(()=>{const b=t.value.filter(v=>v.type!=="selection"&&v.sorter!==void 0&&(v.sortOrder==="ascend"||v.sortOrder==="descend"||v.sortOrder===!1)),u=b.filter(v=>v.sortOrder!==!1);if(u.length)return u.map(v=>({columnKey:v.key,order:v.sortOrder,sorter:v.sorter}));if(b.length)return[];const{value:h}=o;return Array.isArray(h)?h:h?[h]:[]}),i=y(()=>{const b=a.value.slice().sort((u,h)=>{const v=yt(u.sorter)||0;return(yt(h.sorter)||0)-v});return b.length?n.value.slice().sort((h,v)=>{let m=0;return b.some(S=>{const{columnKey:R,sorter:L,order:$}=S,k=za(L,R);return k&&$&&(m=k(h.rawNode,v.rawNode),m!==0)?(m=m*Zo($),!0):!1}),m}):n.value});function l(b){let u=a.value.slice();return b&&yt(b.sorter)!==!1?(u=u.filter(h=>yt(h.sorter)!==!1),g(u,b),u):b||null}function d(b){const u=l(b);c(u)}function c(b){const{"onUpdate:sorter":u,onUpdateSorter:h,onSorterChange:v}=e;u&&J(u,b),h&&J(h,b),v&&J(v,b),o.value=b}function f(b,u="ascend"){if(!b)p();else{const h=t.value.find(m=>m.type!=="selection"&&m.type!=="expand"&&m.key===b);if(!(h!=null&&h.sorter))return;const v=h.sorter;d({columnKey:b,sorter:v,order:u})}}function p(){c(null)}function g(b,u){const h=b.findIndex(v=>(u==null?void 0:u.columnKey)&&v.columnKey===u.columnKey);h!==void 0&&h>=0?b[h]=u:b.push(u)}return{clearSorter:p,sort:f,sortedDataRef:i,mergedSortStateRef:a,deriveNextSorter:d}}function $a(e,{dataRelatedColsRef:t}){const n=y(()=>{const F=T=>{for(let U=0;U{const{childrenKey:F}=e;return Jt(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:T=>T[F],getDisabled:T=>{var U,E;return!!(!((E=(U=n.value)===null||U===void 0?void 0:U.disabled)===null||E===void 0)&&E.call(U,T))}})}),o=Ae(()=>{const{columns:F}=e,{length:T}=F;let U=null;for(let E=0;E{const F=t.value.filter(E=>E.filterOptionValues!==void 0||E.filterOptionValue!==void 0),T={};return F.forEach(E=>{var V;E.type==="selection"||E.type==="expand"||(E.filterOptionValues===void 0?T[E.key]=(V=E.filterOptionValue)!==null&&V!==void 0?V:null:T[E.key]=E.filterOptionValues)}),Object.assign(yn(a.value),T)}),f=y(()=>{const F=c.value,{columns:T}=e;function U(ce){return(Y,se)=>!!~String(se[ce]).indexOf(String(Y))}const{value:{treeNodes:E}}=r,V=[];return T.forEach(ce=>{ce.type==="selection"||ce.type==="expand"||"children"in ce||V.push([ce.key,ce])}),E?E.filter(ce=>{const{rawNode:Y}=ce;for(const[se,P]of V){let D=F[se];if(D==null||(Array.isArray(D)||(D=[D]),!D.length))continue;const Q=P.filter==="default"?U(se):P.filter;if(P&&typeof Q=="function")if(P.filterMode==="and"){if(D.some(ae=>!Q(ae,Y)))return!1}else{if(D.some(ae=>Q(ae,Y)))continue;return!1}}return!0}):[]}),{sortedDataRef:p,deriveNextSorter:g,mergedSortStateRef:b,sort:u,clearSorter:h}=Ma(e,{dataRelatedColsRef:t,filteredDataRef:f});t.value.forEach(F=>{var T;if(F.filter){const U=F.defaultFilterOptionValues;F.filterMultiple?a.value[F.key]=U||[]:U!==void 0?a.value[F.key]=U===null?[]:U:a.value[F.key]=(T=F.defaultFilterOptionValue)!==null&&T!==void 0?T:null}});const v=y(()=>{const{pagination:F}=e;if(F!==!1)return F.page}),m=y(()=>{const{pagination:F}=e;if(F!==!1)return F.pageSize}),S=We(v,l),R=We(m,d),L=Ae(()=>{const F=S.value;return e.remote?F:Math.max(1,Math.min(Math.ceil(f.value.length/R.value),F))}),$=y(()=>{const{pagination:F}=e;if(F){const{pageCount:T}=F;if(T!==void 0)return T}}),k=y(()=>{if(e.remote)return r.value.treeNodes;if(!e.pagination)return p.value;const F=R.value,T=(L.value-1)*F;return p.value.slice(T,T+F)}),N=y(()=>k.value.map(F=>F.rawNode));function O(F){const{pagination:T}=e;if(T){const{onChange:U,"onUpdate:page":E,onUpdatePage:V}=T;U&&J(U,F),V&&J(V,F),E&&J(E,F),x(F)}}function z(F){const{pagination:T}=e;if(T){const{onPageSizeChange:U,"onUpdate:pageSize":E,onUpdatePageSize:V}=T;U&&J(U,F),V&&J(V,F),E&&J(E,F),_(F)}}const A=y(()=>{if(e.remote){const{pagination:F}=e;if(F){const{itemCount:T}=F;if(T!==void 0)return T}return}return f.value.length}),H=y(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":O,"onUpdate:pageSize":z,page:L.value,pageSize:R.value,pageCount:A.value===void 0?$.value:void 0,itemCount:A.value}));function x(F){const{"onUpdate:page":T,onPageChange:U,onUpdatePage:E}=e;E&&J(E,F),T&&J(T,F),U&&J(U,F),l.value=F}function _(F){const{"onUpdate:pageSize":T,onPageSizeChange:U,onUpdatePageSize:E}=e;U&&J(U,F),E&&J(E,F),T&&J(T,F),d.value=F}function w(F,T){const{onUpdateFilters:U,"onUpdate:filters":E,onFiltersChange:V}=e;U&&J(U,F,T),E&&J(E,F,T),V&&J(V,F,T),a.value=F}function M(F,T,U,E){var V;(V=e.onUnstableColumnResize)===null||V===void 0||V.call(e,F,T,U,E)}function I(F){x(F)}function B(){X()}function X(){ne({})}function ne(F){te(F)}function te(F){F?F&&(a.value=yn(F)):a.value={}}return{treeMateRef:r,mergedCurrentPageRef:L,mergedPaginationRef:H,paginatedDataRef:k,rawPaginatedDataRef:N,mergedFilterStateRef:c,mergedSortStateRef:b,hoverKeyRef:W(null),selectionColumnRef:n,childTriggerColIndexRef:o,doUpdateFilters:w,deriveNextSorter:g,doUpdatePageSize:_,doUpdatePage:x,onUnstableColumnResize:M,filter:te,filters:ne,clearFilter:B,clearFilters:X,clearSorter:h,page:I,sort:u}}function Aa(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:r}){let o=0;const a=W(),i=W(null),l=W([]),d=W(null),c=W([]),f=y(()=>Pe(e.scrollX)),p=y(()=>e.columns.filter(z=>z.fixed==="left")),g=y(()=>e.columns.filter(z=>z.fixed==="right")),b=y(()=>{const z={};let A=0;function H(x){x.forEach(_=>{const w={start:A,end:0};z[Te(_)]=w,"children"in _?(H(_.children),w.end=A):(A+=bn(_)||0,w.end=A)})}return H(p.value),z}),u=y(()=>{const z={};let A=0;function H(x){for(let _=x.length-1;_>=0;--_){const w=x[_],M={start:A,end:0};z[Te(w)]=M,"children"in w?(H(w.children),M.end=A):(A+=bn(w)||0,M.end=A)}}return H(g.value),z});function h(){var z,A;const{value:H}=p;let x=0;const{value:_}=b;let w=null;for(let M=0;M(((z=_[I])===null||z===void 0?void 0:z.start)||0)-x)w=I,x=((A=_[I])===null||A===void 0?void 0:A.end)||0;else break}i.value=w}function v(){l.value=[];let z=e.columns.find(A=>Te(A)===i.value);for(;z&&"children"in z;){const A=z.children.length;if(A===0)break;const H=z.children[A-1];l.value.push(Te(H)),z=H}}function m(){var z,A;const{value:H}=g,x=Number(e.scrollX),{value:_}=r;if(_===null)return;let w=0,M=null;const{value:I}=u;for(let B=H.length-1;B>=0;--B){const X=Te(H[B]);if(Math.round(o+(((z=I[X])===null||z===void 0?void 0:z.start)||0)+_-w)Te(A)===d.value);for(;z&&"children"in z&&z.children.length;){const A=z.children[0];c.value.push(Te(A)),z=A}}function R(){const z=t.value?t.value.getHeaderElement():null,A=t.value?t.value.getBodyElement():null;return{header:z,body:A}}function L(){const{body:z}=R();z&&(z.scrollTop=0)}function $(){a.value!=="body"?on(N):a.value=void 0}function k(z){var A;(A=e.onScroll)===null||A===void 0||A.call(e,z),a.value!=="head"?on(N):a.value=void 0}function N(){const{header:z,body:A}=R();if(!A)return;const{value:H}=r;if(H!==null){if(e.maxHeight||e.flexHeight){if(!z)return;const x=o-z.scrollLeft;a.value=x!==0?"head":"body",a.value==="head"?(o=z.scrollLeft,A.scrollLeft=o):(o=A.scrollLeft,z.scrollLeft=o)}else o=A.scrollLeft;h(),v(),m(),S()}}function O(z){const{header:A}=R();A&&(A.scrollLeft=z,N())}return nt(n,()=>{L()}),{styleScrollXRef:f,fixedColumnLeftMapRef:b,fixedColumnRightMapRef:u,leftFixedColumnsRef:p,rightFixedColumnsRef:g,leftActiveFixedColKeyRef:i,leftActiveFixedChildrenColKeysRef:l,rightActiveFixedColKeyRef:d,rightActiveFixedChildrenColKeysRef:c,syncScrollState:N,handleTableBodyScroll:k,handleTableHeaderScroll:$,setHeaderScrollLeft:O}}function _a(){const e=W({});function t(o){return e.value[o]}function n(o,a){rr(o)&&"key"in o&&(e.value[o.key]=a)}function r(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:r}}function Ta(e,t){const n=[],r=[],o=[],a=new WeakMap;let i=-1,l=0,d=!1;function c(g,b){b>i&&(n[b]=[],i=b);for(const u of g)if("children"in u)c(u.children,b+1);else{const h="key"in u?u.key:void 0;r.push({key:Te(u),style:Jo(u,h!==void 0?Pe(t(h)):void 0),column:u}),l+=1,d||(d=!!u.ellipsis),o.push(u)}}c(e,0);let f=0;function p(g,b){let u=0;g.forEach((h,v)=>{var m;if("children"in h){const S=f,R={column:h,colSpan:0,rowSpan:1,isLast:!1};p(h.children,b+1),h.children.forEach(L=>{var $,k;R.colSpan+=(k=($=a.get(L))===null||$===void 0?void 0:$.colSpan)!==null&&k!==void 0?k:0}),S+R.colSpan===l&&(R.isLast=!0),a.set(h,R),n[b].push(R)}else{if(f1&&(u=f+S);const R=f+S===l,L={column:h,colSpan:S,rowSpan:i-b+1,isLast:R};a.set(h,L),n[b].push(L),f+=1}})}return p(e,0),{hasEllipsis:d,rows:n,cols:r,dataRelatedCols:o}}function Na(e,t){const n=y(()=>Ta(e.columns,t));return{rowsRef:y(()=>n.value.rows),colsRef:y(()=>n.value.cols),hasEllipsisRef:y(()=>n.value.hasEllipsis),dataRelatedColsRef:y(()=>n.value.dataRelatedCols)}}function Ea(e,t){const n=Ae(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),r=Ae(()=>{let c;for(const f of e.columns)if(f.type==="expand"){c=f.expandable;break}return c}),o=W(e.defaultExpandAll?n!=null&&n.value?(()=>{const c=[];return t.value.treeNodes.forEach(f=>{var p;!((p=r.value)===null||p===void 0)&&p.call(r,f.rawNode)&&c.push(f.key)}),c})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),a=re(e,"expandedRowKeys"),i=re(e,"stickyExpandedRows"),l=We(a,o);function d(c){const{onUpdateExpandedRowKeys:f,"onUpdate:expandedRowKeys":p}=e;f&&J(f,c),p&&J(p,c),o.value=c}return{stickyExpandedRowsRef:i,mergedExpandedRowKeysRef:l,renderExpandRef:n,expandableRef:r,doUpdateExpandedRowKeys:d}}const Cn=La(),Ba=Z([C("data-table",` - width: 100%; - font-size: var(--n-font-size); - display: flex; - flex-direction: column; - position: relative; - --n-merged-th-color: var(--n-th-color); - --n-merged-td-color: var(--n-td-color); - --n-merged-border-color: var(--n-border-color); - --n-merged-th-color-hover: var(--n-th-color-hover); - --n-merged-td-color-hover: var(--n-td-color-hover); - --n-merged-td-color-striped: var(--n-td-color-striped); - `,[C("data-table-wrapper",` - flex-grow: 1; - display: flex; - flex-direction: column; - `),j("flex-height",[Z(">",[C("data-table-wrapper",[Z(">",[C("data-table-base-table",` - display: flex; - flex-direction: column; - flex-grow: 1; - `,[Z(">",[C("data-table-base-table-body","flex-basis: 0;",[Z("&:last-child","flex-grow: 1;")])])])])])])]),Z(">",[C("data-table-loading-wrapper",` - color: var(--n-loading-color); - font-size: var(--n-loading-size); - position: absolute; - left: 50%; - top: 50%; - transform: translateX(-50%) translateY(-50%); - transition: color .3s var(--n-bezier); - display: flex; - align-items: center; - justify-content: center; - `,[Wn({originalTransform:"translateX(-50%) translateY(-50%)"})])]),C("data-table-expand-placeholder",` - margin-right: 8px; - display: inline-block; - width: 16px; - height: 1px; - `),C("data-table-indent",` - display: inline-block; - height: 1px; - `),C("data-table-expand-trigger",` - display: inline-flex; - margin-right: 8px; - cursor: pointer; - font-size: 16px; - vertical-align: -0.2em; - position: relative; - width: 16px; - height: 16px; - color: var(--n-td-text-color); - transition: color .3s var(--n-bezier); - `,[j("expanded",[C("icon","transform: rotate(90deg);",[it({originalTransform:"rotate(90deg)"})]),C("base-icon","transform: rotate(90deg);",[it({originalTransform:"rotate(90deg)"})])]),C("base-loading",` - color: var(--n-loading-color); - transition: color .3s var(--n-bezier); - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - `,[it()]),C("icon",` - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - `,[it()]),C("base-icon",` - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - `,[it()])]),C("data-table-thead",` - transition: background-color .3s var(--n-bezier); - background-color: var(--n-merged-th-color); - `),C("data-table-tr",` - box-sizing: border-box; - background-clip: padding-box; - transition: background-color .3s var(--n-bezier); - `,[C("data-table-expand",` - position: sticky; - left: 0; - overflow: hidden; - margin: calc(var(--n-th-padding) * -1); - padding: var(--n-th-padding); - box-sizing: border-box; - `),j("striped","background-color: var(--n-merged-td-color-striped);",[C("data-table-td","background-color: var(--n-merged-td-color-striped);")]),lt("summary",[Z("&:hover","background-color: var(--n-merged-td-color-hover);",[Z(">",[C("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),C("data-table-th",` - padding: var(--n-th-padding); - position: relative; - text-align: start; - box-sizing: border-box; - background-color: var(--n-merged-th-color); - border-color: var(--n-merged-border-color); - border-bottom: 1px solid var(--n-merged-border-color); - color: var(--n-th-text-color); - transition: - border-color .3s var(--n-bezier), - color .3s var(--n-bezier), - background-color .3s var(--n-bezier); - font-weight: var(--n-th-font-weight); - `,[j("filterable",` - padding-right: 36px; - `,[j("sortable",` - padding-right: calc(var(--n-th-padding) + 36px); - `)]),Cn,j("selection",` - padding: 0; - text-align: center; - line-height: 0; - z-index: 3; - `),he("title-wrapper",` - display: flex; - align-items: center; - flex-wrap: nowrap; - max-width: 100%; - `,[he("title",` - flex: 1; - min-width: 0; - `)]),he("ellipsis",` - display: inline-block; - vertical-align: bottom; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - max-width: 100%; - `),j("hover",` - background-color: var(--n-merged-th-color-hover); - `),j("sortable",` - cursor: pointer; - `,[he("ellipsis",` - max-width: calc(100% - 18px); - `),Z("&:hover",` - background-color: var(--n-merged-th-color-hover); - `)]),C("data-table-sorter",` - height: var(--n-sorter-size); - width: var(--n-sorter-size); - margin-left: 4px; - position: relative; - display: inline-flex; - align-items: center; - justify-content: center; - vertical-align: -0.2em; - color: var(--n-th-icon-color); - transition: color .3s var(--n-bezier); - `,[C("base-icon","transition: transform .3s var(--n-bezier)"),j("desc",[C("base-icon",` - transform: rotate(0deg); - `)]),j("asc",[C("base-icon",` - transform: rotate(-180deg); - `)]),j("asc, desc",` - color: var(--n-th-icon-color-active); - `)]),C("data-table-resize-button",` - width: var(--n-resizable-container-size); - position: absolute; - top: 0; - right: calc(var(--n-resizable-container-size) / 2); - bottom: 0; - cursor: col-resize; - user-select: none; - `,[Z("&::after",` - width: var(--n-resizable-size); - height: 50%; - position: absolute; - top: 50%; - left: calc(var(--n-resizable-container-size) / 2); - bottom: 0; - background-color: var(--n-merged-border-color); - transform: translateY(-50%); - transition: background-color .3s var(--n-bezier); - z-index: 1; - content: ''; - `),j("active",[Z("&::after",` - background-color: var(--n-th-icon-color-active); - `)]),Z("&:hover::after",` - background-color: var(--n-th-icon-color-active); - `)]),C("data-table-filter",` - position: absolute; - z-index: auto; - right: 0; - width: 36px; - top: 0; - bottom: 0; - cursor: pointer; - display: flex; - justify-content: center; - align-items: center; - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - font-size: var(--n-filter-size); - color: var(--n-th-icon-color); - `,[Z("&:hover",` - background-color: var(--n-th-button-color-hover); - `),j("show",` - background-color: var(--n-th-button-color-hover); - `),j("active",` - background-color: var(--n-th-button-color-hover); - color: var(--n-th-icon-color-active); - `)])]),C("data-table-td",` - padding: var(--n-td-padding); - text-align: start; - box-sizing: border-box; - border: none; - background-color: var(--n-merged-td-color); - color: var(--n-td-text-color); - border-bottom: 1px solid var(--n-merged-border-color); - transition: - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier), - border-color .3s var(--n-bezier), - color .3s var(--n-bezier); - `,[j("expand",[C("data-table-expand-trigger",` - margin-right: 0; - `)]),j("last-row",` - border-bottom: 0 solid var(--n-merged-border-color); - `,[Z("&::after",` - bottom: 0 !important; - `),Z("&::before",` - bottom: 0 !important; - `)]),j("summary",` - background-color: var(--n-merged-th-color); - `),j("hover",` - background-color: var(--n-merged-td-color-hover); - `),he("ellipsis",` - display: inline-block; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - max-width: 100%; - vertical-align: bottom; - max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px); - `),j("selection, expand",` - text-align: center; - padding: 0; - line-height: 0; - `),Cn]),C("data-table-empty",` - box-sizing: border-box; - padding: var(--n-empty-padding); - flex-grow: 1; - flex-shrink: 0; - opacity: 1; - display: flex; - align-items: center; - justify-content: center; - transition: opacity .3s var(--n-bezier); - `,[j("hide",` - opacity: 0; - `)]),he("pagination",` - margin: var(--n-pagination-margin); - display: flex; - justify-content: flex-end; - `),C("data-table-wrapper",` - position: relative; - opacity: 1; - transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier); - border-top-left-radius: var(--n-border-radius); - border-top-right-radius: var(--n-border-radius); - line-height: var(--n-line-height); - `),j("loading",[C("data-table-wrapper",` - opacity: var(--n-opacity-loading); - pointer-events: none; - `)]),j("single-column",[C("data-table-td",` - border-bottom: 0 solid var(--n-merged-border-color); - `,[Z("&::after, &::before",` - bottom: 0 !important; - `)])]),lt("single-line",[C("data-table-th",` - border-right: 1px solid var(--n-merged-border-color); - `,[j("last",` - border-right: 0 solid var(--n-merged-border-color); - `)]),C("data-table-td",` - border-right: 1px solid var(--n-merged-border-color); - `,[j("last-col",` - border-right: 0 solid var(--n-merged-border-color); - `)])]),j("bordered",[C("data-table-wrapper",` - border: 1px solid var(--n-merged-border-color); - border-bottom-left-radius: var(--n-border-radius); - border-bottom-right-radius: var(--n-border-radius); - overflow: hidden; - `)]),C("data-table-base-table",[j("transition-disabled",[C("data-table-th",[Z("&::after, &::before","transition: none;")]),C("data-table-td",[Z("&::after, &::before","transition: none;")])])]),j("bottom-bordered",[C("data-table-td",[j("last-row",` - border-bottom: 1px solid var(--n-merged-border-color); - `)])]),C("data-table-table",` - font-variant-numeric: tabular-nums; - width: 100%; - word-break: break-word; - transition: background-color .3s var(--n-bezier); - border-collapse: separate; - border-spacing: 0; - background-color: var(--n-merged-td-color); - `),C("data-table-base-table-header",` - border-top-left-radius: calc(var(--n-border-radius) - 1px); - border-top-right-radius: calc(var(--n-border-radius) - 1px); - z-index: 3; - overflow: scroll; - flex-shrink: 0; - transition: border-color .3s var(--n-bezier); - scrollbar-width: none; - `,[Z("&::-webkit-scrollbar",` - width: 0; - height: 0; - `)]),C("data-table-check-extra",` - transition: color .3s var(--n-bezier); - color: var(--n-th-icon-color); - position: absolute; - font-size: 14px; - right: -4px; - top: 50%; - transform: translateY(-50%); - z-index: 1; - `)]),C("data-table-filter-menu",[C("scrollbar",` - max-height: 240px; - `),he("group",` - display: flex; - flex-direction: column; - padding: 12px 12px 0 12px; - `,[C("checkbox",` - margin-bottom: 12px; - margin-right: 0; - `),C("radio",` - margin-bottom: 12px; - margin-right: 0; - `)]),he("action",` - padding: var(--n-action-padding); - display: flex; - flex-wrap: nowrap; - justify-content: space-evenly; - border-top: 1px solid var(--n-action-divider-color); - `,[C("button",[Z("&:not(:last-child)",` - margin: var(--n-action-button-margin); - `),Z("&:last-child",` - margin-right: 0; - `)])]),C("divider",` - margin: 0 !important; - `)]),Tn(C("data-table",` - --n-merged-th-color: var(--n-th-color-modal); - --n-merged-td-color: var(--n-td-color-modal); - --n-merged-border-color: var(--n-border-color-modal); - --n-merged-th-color-hover: var(--n-th-color-hover-modal); - --n-merged-td-color-hover: var(--n-td-color-hover-modal); - --n-merged-td-color-striped: var(--n-td-color-striped-modal); - `)),Nn(C("data-table",` - --n-merged-th-color: var(--n-th-color-popover); - --n-merged-td-color: var(--n-td-color-popover); - --n-merged-border-color: var(--n-border-color-popover); - --n-merged-th-color-hover: var(--n-th-color-hover-popover); - --n-merged-td-color-hover: var(--n-td-color-hover-popover); - --n-merged-td-color-striped: var(--n-td-color-striped-popover); - `))]);function La(){return[j("fixed-left",` - left: 0; - position: sticky; - z-index: 2; - `,[Z("&::after",` - pointer-events: none; - content: ""; - width: 36px; - display: inline-block; - position: absolute; - top: 0; - bottom: -1px; - transition: box-shadow .2s var(--n-bezier); - right: -36px; - `)]),j("fixed-right",` - right: 0; - position: sticky; - z-index: 1; - `,[Z("&::before",` - pointer-events: none; - content: ""; - width: 36px; - display: inline-block; - position: absolute; - top: 0; - bottom: -1px; - transition: box-shadow .2s var(--n-bezier); - left: -36px; - `)])]}const Pi=oe({name:"DataTable",alias:["AdvancedTable"],props:Ho,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:r,inlineThemeDisabled:o,mergedRtlRef:a}=Ne(e),i=Pt("DataTable",a,r),l=y(()=>{const{bottomBordered:ue}=e;return n.value?!1:ue!==void 0?ue:!0}),d=Ce("DataTable","-data-table",Ba,fo,e,r),c=W(null),f=W(null),{getResizableWidth:p,clearResizableWidth:g,doUpdateResizableWidth:b}=_a(),{rowsRef:u,colsRef:h,dataRelatedColsRef:v,hasEllipsisRef:m}=Na(e,p),S=ue=>{const{fileName:pe="data.csv",keepOriginalData:ge=!1}=ue||{},$e=ge?e.data:k.value,Ye=na(e.columns,$e),Ke=new Blob([Ye],{type:"text/csv;charset=utf-8"}),qe=URL.createObjectURL(Ke);ho(qe,pe.endsWith(".csv")?pe:`${pe}.csv`),URL.revokeObjectURL(qe)},{treeMateRef:R,mergedCurrentPageRef:L,paginatedDataRef:$,rawPaginatedDataRef:k,selectionColumnRef:N,hoverKeyRef:O,mergedPaginationRef:z,mergedFilterStateRef:A,mergedSortStateRef:H,childTriggerColIndexRef:x,doUpdatePage:_,doUpdateFilters:w,onUnstableColumnResize:M,deriveNextSorter:I,filter:B,filters:X,clearFilter:ne,clearFilters:te,clearSorter:F,page:T,sort:U}=$a(e,{dataRelatedColsRef:v}),{doCheckAll:E,doUncheckAll:V,doCheck:ce,doUncheck:Y,headerCheckboxDisabledRef:se,someRowsCheckedRef:P,allRowsCheckedRef:D,mergedCheckedRowKeySetRef:Q,mergedInderminateRowKeySetRef:ae}=Fa(e,{selectionColumnRef:N,treeMateRef:R,paginatedDataRef:$}),{stickyExpandedRowsRef:K,mergedExpandedRowKeysRef:ie,renderExpandRef:Me,expandableRef:we,doUpdateExpandedRowKeys:xe}=Ea(e,R),{handleTableBodyScroll:Ge,handleTableHeaderScroll:Xe,syncScrollState:Fe,setHeaderScrollLeft:ze,leftActiveFixedColKeyRef:De,leftActiveFixedChildrenColKeysRef:Ve,rightActiveFixedColKeyRef:Ze,rightActiveFixedChildrenColKeysRef:rt,leftFixedColumnsRef:Be,rightFixedColumnsRef:ye,fixedColumnLeftMapRef:Le,fixedColumnRightMapRef:Ie}=Aa(e,{bodyWidthRef:c,mainTableInstRef:f,mergedCurrentPageRef:L}),{localeRef:q}=jn("DataTable"),ee=y(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||m.value?"fixed":e.tableLayout);Ue(Ee,{props:e,treeMateRef:R,renderExpandIconRef:re(e,"renderExpandIcon"),loadingKeySetRef:W(new Set),slots:t,indentRef:re(e,"indent"),childTriggerColIndexRef:x,bodyWidthRef:c,componentId:kt(),hoverKeyRef:O,mergedClsPrefixRef:r,mergedThemeRef:d,scrollXRef:y(()=>e.scrollX),rowsRef:u,colsRef:h,paginatedDataRef:$,leftActiveFixedColKeyRef:De,leftActiveFixedChildrenColKeysRef:Ve,rightActiveFixedColKeyRef:Ze,rightActiveFixedChildrenColKeysRef:rt,leftFixedColumnsRef:Be,rightFixedColumnsRef:ye,fixedColumnLeftMapRef:Le,fixedColumnRightMapRef:Ie,mergedCurrentPageRef:L,someRowsCheckedRef:P,allRowsCheckedRef:D,mergedSortStateRef:H,mergedFilterStateRef:A,loadingRef:re(e,"loading"),rowClassNameRef:re(e,"rowClassName"),mergedCheckedRowKeySetRef:Q,mergedExpandedRowKeysRef:ie,mergedInderminateRowKeySetRef:ae,localeRef:q,expandableRef:we,stickyExpandedRowsRef:K,rowKeyRef:re(e,"rowKey"),renderExpandRef:Me,summaryRef:re(e,"summary"),virtualScrollRef:re(e,"virtualScroll"),rowPropsRef:re(e,"rowProps"),stripedRef:re(e,"striped"),checkOptionsRef:y(()=>{const{value:ue}=N;return ue==null?void 0:ue.options}),rawPaginatedDataRef:k,filterMenuCssVarsRef:y(()=>{const{self:{actionDividerColor:ue,actionPadding:pe,actionButtonMargin:ge}}=d.value;return{"--n-action-padding":pe,"--n-action-button-margin":ge,"--n-action-divider-color":ue}}),onLoadRef:re(e,"onLoad"),mergedTableLayoutRef:ee,maxHeightRef:re(e,"maxHeight"),minHeightRef:re(e,"minHeight"),flexHeightRef:re(e,"flexHeight"),headerCheckboxDisabledRef:se,paginationBehaviorOnFilterRef:re(e,"paginationBehaviorOnFilter"),summaryPlacementRef:re(e,"summaryPlacement"),scrollbarPropsRef:re(e,"scrollbarProps"),syncScrollState:Fe,doUpdatePage:_,doUpdateFilters:w,getResizableWidth:p,onUnstableColumnResize:M,clearResizableWidth:g,doUpdateResizableWidth:b,deriveNextSorter:I,doCheck:ce,doUncheck:Y,doCheckAll:E,doUncheckAll:V,doUpdateExpandedRowKeys:xe,handleTableHeaderScroll:Xe,handleTableBodyScroll:Ge,setHeaderScrollLeft:ze,renderCell:re(e,"renderCell")});const ve={filter:B,filters:X,clearFilters:te,clearSorter:F,page:T,sort:U,clearFilter:ne,downloadCsv:S,scrollTo:(ue,pe)=>{var ge;(ge=f.value)===null||ge===void 0||ge.scrollTo(ue,pe)}},G=y(()=>{const{size:ue}=e,{common:{cubicBezierEaseInOut:pe},self:{borderColor:ge,tdColorHover:$e,thColor:Ye,thColorHover:Ke,tdColor:qe,tdTextColor:Je,thTextColor:_e,thFontWeight:ot,thButtonColorHover:Re,thIconColor:Se,thIconColorActive:Ot,filterSize:Mt,borderRadius:$t,lineHeight:At,tdColorModal:_t,thColorModal:hr,borderColorModal:vr,thColorHoverModal:pr,tdColorHoverModal:mr,borderColorPopover:gr,thColorPopover:br,tdColorPopover:yr,tdColorHoverPopover:xr,thColorHoverPopover:wr,paginationMargin:kr,emptyPadding:Rr,boxShadowAfter:Cr,boxShadowBefore:Sr,sorterSize:Pr,resizableContainerSize:Fr,resizableSize:zr,loadingColor:Or,loadingSize:Mr,opacityLoading:$r,tdColorStriped:Ar,tdColorStripedModal:_r,tdColorStripedPopover:Tr,[de("fontSize",ue)]:Nr,[de("thPadding",ue)]:Er,[de("tdPadding",ue)]:Br}}=d.value;return{"--n-font-size":Nr,"--n-th-padding":Er,"--n-td-padding":Br,"--n-bezier":pe,"--n-border-radius":$t,"--n-line-height":At,"--n-border-color":ge,"--n-border-color-modal":vr,"--n-border-color-popover":gr,"--n-th-color":Ye,"--n-th-color-hover":Ke,"--n-th-color-modal":hr,"--n-th-color-hover-modal":pr,"--n-th-color-popover":br,"--n-th-color-hover-popover":wr,"--n-td-color":qe,"--n-td-color-hover":$e,"--n-td-color-modal":_t,"--n-td-color-hover-modal":mr,"--n-td-color-popover":yr,"--n-td-color-hover-popover":xr,"--n-th-text-color":_e,"--n-td-text-color":Je,"--n-th-font-weight":ot,"--n-th-button-color-hover":Re,"--n-th-icon-color":Se,"--n-th-icon-color-active":Ot,"--n-filter-size":Mt,"--n-pagination-margin":kr,"--n-empty-padding":Rr,"--n-box-shadow-before":Sr,"--n-box-shadow-after":Cr,"--n-sorter-size":Pr,"--n-resizable-container-size":Fr,"--n-resizable-size":zr,"--n-loading-size":Mr,"--n-loading-color":Or,"--n-opacity-loading":$r,"--n-td-color-striped":Ar,"--n-td-color-striped-modal":_r,"--n-td-color-striped-popover":Tr}}),fe=o?ut("data-table",y(()=>e.size[0]),G,e):void 0,ke=y(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const ue=z.value,{pageCount:pe}=ue;return pe!==void 0?pe>1:ue.itemCount&&ue.pageSize&&ue.itemCount>ue.pageSize});return Object.assign({mainTableInstRef:f,mergedClsPrefix:r,rtlEnabled:i,mergedTheme:d,paginatedData:$,mergedBordered:n,mergedBottomBordered:l,mergedPagination:z,mergedShowPagination:ke,cssVars:o?void 0:G,themeClass:fe==null?void 0:fe.themeClass,onRender:fe==null?void 0:fe.onRender},ve)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:r,spinProps:o}=this;return n==null||n(),s("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},s("div",{class:`${e}-data-table-wrapper`},s(Pa,{ref:"mainTableInstRef"})),this.mergedShowPagination?s("div",{class:`${e}-data-table__pagination`},s(Do,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,s(Yt,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?s("div",{class:`${e}-data-table-loading-wrapper`},Zt(r.loading,()=>[s(Gn,Object.assign({clsPrefix:e,strokeWidth:20},o))])):null}))}});function et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function wt(e,t,n){return Ka()?wt=Reflect.construct.bind():wt=function(o,a,i){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(o,l),c=new d;return i&&bt(c,i.prototype),c},wt.apply(null,arguments)}function ja(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function qt(e){var t=typeof Map=="function"?new Map:void 0;return qt=function(r){if(r===null||!ja(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return wt(r,arguments,Dt(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),bt(o,r)},qt(e)}var Ua=/%[sdj%]/g,Da=function(){};typeof process<"u"&&process.env;function Vt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Oe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a)return l;switch(l){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return l}});return i}return e}function qa(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function be(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||qa(t)&&typeof e=="string"&&!e)}function Va(e,t,n){var r=[],o=0,a=e.length;function i(l){r.push.apply(r,l||[]),o++,o===a&&n(r)}e.forEach(function(l){t(l,i)})}function Sn(e,t,n){var r=0,o=e.length;function a(i){if(i&&i.length){n(i);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ft={integer:function(t){return ft.number(t)&&parseInt(t,10)===t},float:function(t){return ft.number(t)&&!ft.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!ft.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(On.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Ya())},hex:function(t){return typeof t=="string"&&!!t.match(On.hex)}},Ja=function(t,n,r,o,a){if(t.required&&n===void 0){fr(t,n,r,o,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?ft[l](n)||o.push(Oe(a.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(Oe(a.messages.types[l],t.fullField,t.type))},Qa=function(t,n,r,o,a){var i=typeof t.len=="number",l=typeof t.min=="number",d=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=n,p=null,g=typeof n=="number",b=typeof n=="string",u=Array.isArray(n);if(g?p="number":b?p="string":u&&(p="array"),!p)return!1;u&&(f=n.length),b&&(f=n.replace(c,"_").length),i?f!==t.len&&o.push(Oe(a.messages[p].len,t.fullField,t.len)):l&&!d&&ft.max?o.push(Oe(a.messages[p].max,t.fullField,t.max)):l&&d&&(ft.max)&&o.push(Oe(a.messages[p].range,t.fullField,t.min,t.max))},at="enum",ei=function(t,n,r,o,a){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(n)===-1&&o.push(Oe(a.messages[at],t.fullField,t[at].join(", ")))},ti=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Oe(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(Oe(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},le={required:fr,whitespace:Za,type:Ja,range:Qa,enum:ei,pattern:ti},ni=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n,"string")&&!t.required)return r();le.required(t,n,o,i,a,"string"),be(n,"string")||(le.type(t,n,o,i,a),le.range(t,n,o,i,a),le.pattern(t,n,o,i,a),t.whitespace===!0&&le.whitespace(t,n,o,i,a))}r(i)},ri=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n)&&!t.required)return r();le.required(t,n,o,i,a),n!==void 0&&le.type(t,n,o,i,a)}r(i)},oi=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),be(n)&&!t.required)return r();le.required(t,n,o,i,a),n!==void 0&&(le.type(t,n,o,i,a),le.range(t,n,o,i,a))}r(i)},ai=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n)&&!t.required)return r();le.required(t,n,o,i,a),n!==void 0&&le.type(t,n,o,i,a)}r(i)},ii=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n)&&!t.required)return r();le.required(t,n,o,i,a),be(n)||le.type(t,n,o,i,a)}r(i)},li=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n)&&!t.required)return r();le.required(t,n,o,i,a),n!==void 0&&(le.type(t,n,o,i,a),le.range(t,n,o,i,a))}r(i)},di=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n)&&!t.required)return r();le.required(t,n,o,i,a),n!==void 0&&(le.type(t,n,o,i,a),le.range(t,n,o,i,a))}r(i)},si=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();le.required(t,n,o,i,a,"array"),n!=null&&(le.type(t,n,o,i,a),le.range(t,n,o,i,a))}r(i)},ci=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n)&&!t.required)return r();le.required(t,n,o,i,a),n!==void 0&&le.type(t,n,o,i,a)}r(i)},ui="enum",fi=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n)&&!t.required)return r();le.required(t,n,o,i,a),n!==void 0&&le[ui](t,n,o,i,a)}r(i)},hi=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n,"string")&&!t.required)return r();le.required(t,n,o,i,a),be(n,"string")||le.pattern(t,n,o,i,a)}r(i)},vi=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n,"date")&&!t.required)return r();if(le.required(t,n,o,i,a),!be(n,"date")){var d;n instanceof Date?d=n:d=new Date(n),le.type(t,d,o,i,a),d&&le.range(t,d.getTime(),o,i,a)}}r(i)},pi=function(t,n,r,o,a){var i=[],l=Array.isArray(n)?"array":typeof n;le.required(t,n,o,i,a,l),r(i)},Lt=function(t,n,r,o,a){var i=t.type,l=[],d=t.required||!t.required&&o.hasOwnProperty(t.field);if(d){if(be(n,i)&&!t.required)return r();le.required(t,n,o,l,a,i),be(n,i)||le.type(t,n,o,l,a)}r(l)},mi=function(t,n,r,o,a){var i=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(be(n)&&!t.required)return r();le.required(t,n,o,i,a)}r(i)},pt={string:ni,method:ri,number:oi,boolean:ai,regexp:ii,integer:li,float:di,array:si,object:ci,enum:fi,pattern:hi,date:vi,url:Lt,hex:Lt,email:Lt,required:pi,any:mi};function Ht(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Wt=Ht(),st=function(){function e(n){this.rules=null,this._messages=Wt,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(a){var i=r[a];o.rules[a]=Array.isArray(i)?i:[i]})},t.messages=function(r){return r&&(this._messages=zn(Ht(),r)),this._messages},t.validate=function(r,o,a){var i=this;o===void 0&&(o={}),a===void 0&&(a=function(){});var l=r,d=o,c=a;if(typeof d=="function"&&(c=d,d={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,l),Promise.resolve(l);function f(h){var v=[],m={};function S(L){if(Array.isArray(L)){var $;v=($=v).concat.apply($,L)}else v.push(L)}for(var R=0;Re.size!==void 0?e.size:(t==null?void 0:t.props.size)!==void 0?t.props.size:"medium")}}function bi(e){const t=me(Ft,null),n=y(()=>{const{labelPlacement:u}=e;return u!==void 0?u:t!=null&&t.props.labelPlacement?t.props.labelPlacement:"top"}),r=y(()=>n.value==="left"&&(e.labelWidth==="auto"||(t==null?void 0:t.props.labelWidth)==="auto")),o=y(()=>{if(n.value==="top")return;const{labelWidth:u}=e;if(u!==void 0&&u!=="auto")return Pe(u);if(r.value){const h=t==null?void 0:t.maxChildLabelWidthRef.value;return h!==void 0?Pe(h):void 0}if((t==null?void 0:t.props.labelWidth)!==void 0)return Pe(t.props.labelWidth)}),a=y(()=>{const{labelAlign:u}=e;if(u)return u;if(t!=null&&t.props.labelAlign)return t.props.labelAlign}),i=y(()=>{var u;return[(u=e.labelProps)===null||u===void 0?void 0:u.style,e.labelStyle,{width:o.value}]}),l=y(()=>{const{showRequireMark:u}=e;return u!==void 0?u:t==null?void 0:t.props.showRequireMark}),d=y(()=>{const{requireMarkPlacement:u}=e;return u!==void 0?u:(t==null?void 0:t.props.requireMarkPlacement)||"right"}),c=W(!1),f=W(!1),p=y(()=>{const{validationStatus:u}=e;if(u!==void 0)return u;if(c.value)return"error";if(f.value)return"warning"}),g=y(()=>{const{showFeedback:u}=e;return u!==void 0?u:(t==null?void 0:t.props.showFeedback)!==void 0?t.props.showFeedback:!0}),b=y(()=>{const{showLabel:u}=e;return u!==void 0?u:(t==null?void 0:t.props.showLabel)!==void 0?t.props.showLabel:!0});return{validationErrored:c,validationWarned:f,mergedLabelStyle:i,mergedLabelPlacement:n,mergedLabelAlign:a,mergedShowRequireMark:l,mergedRequireMarkPlacement:d,mergedValidationStatus:p,mergedShowFeedback:g,mergedShowLabel:b,isAutoLabelWidth:r}}function yi(e){const t=me(Ft,null),n=y(()=>{const{rulePath:i}=e;if(i!==void 0)return i;const{path:l}=e;if(l!==void 0)return l}),r=y(()=>{const i=[],{rule:l}=e;if(l!==void 0&&(Array.isArray(l)?i.push(...l):i.push(l)),t){const{rules:d}=t.props,{value:c}=n;if(d!==void 0&&c!==void 0){const f=St(d,c);f!==void 0&&(Array.isArray(f)?i.push(...f):i.push(f))}}return i}),o=y(()=>r.value.some(i=>i.required)),a=y(()=>o.value||e.required);return{mergedRules:r,mergedRequired:a}}const{cubicBezierEaseInOut:Mn}=vo;function xi({name:e="fade-down",fromOffset:t="-4px",enterDuration:n=".3s",leaveDuration:r=".3s",enterCubicBezier:o=Mn,leaveCubicBezier:a=Mn}={}){return[Z(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0,transform:`translateY(${t})`}),Z(`&.${e}-transition-enter-to, &.${e}-transition-leave-from`,{opacity:1,transform:"translateY(0)"}),Z(`&.${e}-transition-leave-active`,{transition:`opacity ${r} ${a}, transform ${r} ${a}`}),Z(`&.${e}-transition-enter-active`,{transition:`opacity ${n} ${o}, transform ${n} ${o}`})]}const wi=C("form-item",` - display: grid; - line-height: var(--n-line-height); -`,[C("form-item-label",` - grid-area: label; - align-items: center; - line-height: 1.25; - text-align: var(--n-label-text-align); - font-size: var(--n-label-font-size); - min-height: var(--n-label-height); - padding: var(--n-label-padding); - color: var(--n-label-text-color); - transition: color .3s var(--n-bezier); - box-sizing: border-box; - font-weight: var(--n-label-font-weight); - `,[he("asterisk",` - white-space: nowrap; - user-select: none; - -webkit-user-select: none; - color: var(--n-asterisk-color); - transition: color .3s var(--n-bezier); - `),he("asterisk-placeholder",` - grid-area: mark; - user-select: none; - -webkit-user-select: none; - visibility: hidden; - `)]),C("form-item-blank",` - grid-area: blank; - min-height: var(--n-blank-height); - `),j("auto-label-width",[C("form-item-label","white-space: nowrap;")]),j("left-labelled",` - grid-template-areas: - "label blank" - "label feedback"; - grid-template-columns: auto minmax(0, 1fr); - grid-template-rows: auto 1fr; - align-items: flex-start; - `,[C("form-item-label",` - display: grid; - grid-template-columns: 1fr auto; - min-height: var(--n-blank-height); - height: auto; - box-sizing: border-box; - flex-shrink: 0; - flex-grow: 0; - `,[j("reverse-columns-space",` - grid-template-columns: auto 1fr; - `),j("left-mark",` - grid-template-areas: - "mark text" - ". text"; - `),j("right-mark",` - grid-template-areas: - "text mark" - "text ."; - `),j("right-hanging-mark",` - grid-template-areas: - "text mark" - "text ."; - `),he("text",` - grid-area: text; - `),he("asterisk",` - grid-area: mark; - align-self: end; - `)])]),j("top-labelled",` - grid-template-areas: - "label" - "blank" - "feedback"; - grid-template-rows: minmax(var(--n-label-height), auto) 1fr; - grid-template-columns: minmax(0, 100%); - `,[j("no-label",` - grid-template-areas: - "blank" - "feedback"; - grid-template-rows: 1fr; - `),C("form-item-label",` - display: flex; - align-items: flex-start; - justify-content: var(--n-label-text-align); - `)]),C("form-item-blank",` - box-sizing: border-box; - display: flex; - align-items: center; - position: relative; - `),C("form-item-feedback-wrapper",` - grid-area: feedback; - box-sizing: border-box; - min-height: var(--n-feedback-height); - font-size: var(--n-feedback-font-size); - line-height: 1.25; - transform-origin: top left; - `,[Z("&:not(:empty)",` - padding: var(--n-feedback-padding); - `),C("form-item-feedback",{transition:"color .3s var(--n-bezier)",color:"var(--n-feedback-text-color)"},[j("warning",{color:"var(--n-feedback-text-color-warning)"}),j("error",{color:"var(--n-feedback-text-color-error)"}),xi({fromOffset:"-3px",enterDuration:".3s",leaveDuration:".2s"})])])]);var $n=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(a){return a instanceof n?a:new n(function(i){i(a)})}return new(n||(n=Promise))(function(a,i){function l(f){try{c(r.next(f))}catch(p){i(p)}}function d(f){try{c(r.throw(f))}catch(p){i(p)}}function c(f){f.done?a(f.value):o(f.value).then(l,d)}c((r=r.apply(e,t||[])).next())})};const ki=Object.assign(Object.assign({},Ce.props),{label:String,labelWidth:[Number,String],labelStyle:[String,Object],labelAlign:String,labelPlacement:String,path:String,first:Boolean,rulePath:String,required:Boolean,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:void 0},rule:[Object,Array],size:String,ignorePathChange:Boolean,validationStatus:String,feedback:String,showLabel:{type:Boolean,default:void 0},labelProps:Object});function An(e,t){return(...n)=>{try{const r=e(...n);return!t&&(typeof r=="boolean"||r instanceof Error||Array.isArray(r))||r!=null&&r.then?r:(r===void 0||gt("form-item/validate",`You return a ${typeof r} typed value in the validator method, which is not recommended. Please use `+(t?"`Promise`":"`boolean`, `Error` or `Promise`")+" typed value instead."),!0)}catch(r){gt("form-item/validate","An error is catched in the validation, so the validation won't be done. Your callback in `validate` method of `n-form` or `n-form-item` won't be called in this validation."),console.error(r);return}}}const Fi=oe({name:"FormItem",props:ki,setup(e){So(po,"formItems",re(e,"path"));const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=Ne(e),r=me(Ft,null),o=gi(e),a=bi(e),{validationErrored:i,validationWarned:l}=a,{mergedRequired:d,mergedRules:c}=yi(e),{mergedSize:f}=o,{mergedLabelPlacement:p,mergedLabelAlign:g,mergedRequireMarkPlacement:b}=a,u=W([]),h=W(kt()),v=r?re(r.props,"disabled"):W(!1),m=Ce("Form","-form-item",wi,mo,e,t);nt(re(e,"path"),()=>{e.ignorePathChange||S()});function S(){u.value=[],i.value=!1,l.value=!1,e.feedback&&(h.value=kt())}function R(){O("blur")}function L(){O("change")}function $(){O("focus")}function k(){O("input")}function N(w,M){return $n(this,void 0,void 0,function*(){let I,B,X,ne;return typeof w=="string"?(I=w,B=M):w!==null&&typeof w=="object"&&(I=w.trigger,B=w.callback,X=w.shouldRuleBeApplied,ne=w.options),yield new Promise((te,F)=>{O(I,X,ne).then(({valid:T,errors:U,warnings:E})=>{T?(B&&B(void 0,{warnings:E}),te({warnings:E})):(B&&B(U,{warnings:E}),F(U))})})})}const O=(w=null,M=()=>!0,I={suppressWarning:!0})=>$n(this,void 0,void 0,function*(){const{path:B}=e;I?I.first||(I.first=e.first):I={};const{value:X}=c,ne=r?St(r.props.model,B||""):void 0,te={},F={},T=(w?X.filter(Q=>Array.isArray(Q.trigger)?Q.trigger.includes(w):Q.trigger===w):X).filter(M).map((Q,ae)=>{const K=Object.assign({},Q);if(K.validator&&(K.validator=An(K.validator,!1)),K.asyncValidator&&(K.asyncValidator=An(K.asyncValidator,!0)),K.renderMessage){const ie=`__renderMessage__${ae}`;F[ie]=K.message,K.message=ie,te[ie]=K.renderMessage}return K}),U=T.filter(Q=>Q.level!=="warning"),E=T.filter(Q=>Q.level==="warning"),V=B??"__n_no_path__",ce=new st({[V]:U}),Y=new st({[V]:E}),{validateMessages:se}=(r==null?void 0:r.props)||{};se&&(ce.messages(se),Y.messages(se));const P=Q=>{u.value=Q.map(ae=>{const K=(ae==null?void 0:ae.message)||"";return{key:K,render:()=>K.startsWith("__renderMessage__")?te[K]():K}}),Q.forEach(ae=>{var K;!((K=ae.message)===null||K===void 0)&&K.startsWith("__renderMessage__")&&(ae.message=F[ae.message])})},D={valid:!0,errors:void 0,warnings:void 0};if(U.length){const Q=yield new Promise(ae=>{ce.validate({[V]:ne},I,ae)});Q!=null&&Q.length&&(i.value=!0,D.valid=!1,D.errors=Q,P(Q))}if(E.length&&!D.errors){const Q=yield new Promise(ae=>{Y.validate({[V]:ne},I,ae)});Q!=null&&Q.length&&(P(Q),l.value=!0,D.warnings=Q)}return U.length+E.length>0&&!D.errors&&!D.warnings&&S(),D});Ue(go,{path:re(e,"path"),disabled:v,mergedSize:o.mergedSize,mergedValidationStatus:a.mergedValidationStatus,restoreValidation:S,handleContentBlur:R,handleContentChange:L,handleContentFocus:$,handleContentInput:k});const z={validate:N,restoreValidation:S,internalValidate:O},A=W(null);bo(()=>{if(!a.isAutoLabelWidth.value)return;const w=A.value;if(w!==null){const M=w.style.whiteSpace;w.style.whiteSpace="nowrap",w.style.width="",r==null||r.deriveMaxChildLabelWidth(Number(getComputedStyle(w).width.slice(0,-2))),w.style.whiteSpace=M}});const H=y(()=>{var w;const{value:M}=f,{value:I}=p,B=I==="top"?"vertical":"horizontal",{common:{cubicBezierEaseInOut:X},self:{labelTextColor:ne,asteriskColor:te,lineHeight:F,feedbackTextColor:T,feedbackTextColorWarning:U,feedbackTextColorError:E,feedbackPadding:V,labelFontWeight:ce,[de("labelHeight",M)]:Y,[de("blankHeight",M)]:se,[de("feedbackFontSize",M)]:P,[de("feedbackHeight",M)]:D,[de("labelPadding",B)]:Q,[de("labelTextAlign",B)]:ae,[de(de("labelFontSize",I),M)]:K}}=m.value;let ie=(w=g.value)!==null&&w!==void 0?w:ae;return I==="top"&&(ie=ie==="right"?"flex-end":"flex-start"),{"--n-bezier":X,"--n-line-height":F,"--n-blank-height":se,"--n-label-font-size":K,"--n-label-text-align":ie,"--n-label-height":Y,"--n-label-padding":Q,"--n-label-font-weight":ce,"--n-asterisk-color":te,"--n-label-text-color":ne,"--n-feedback-padding":V,"--n-feedback-font-size":P,"--n-feedback-height":D,"--n-feedback-text-color":T,"--n-feedback-text-color-warning":U,"--n-feedback-text-color-error":E}}),x=n?ut("form-item",y(()=>{var w;return`${f.value[0]}${p.value[0]}${((w=g.value)===null||w===void 0?void 0:w[0])||""}`}),H,e):void 0,_=y(()=>p.value==="left"&&b.value==="left"&&g.value==="left");return Object.assign(Object.assign(Object.assign(Object.assign({labelElementRef:A,mergedClsPrefix:t,mergedRequired:d,feedbackId:h,renderExplains:u,reverseColSpace:_},a),o),z),{cssVars:n?void 0:H,themeClass:x==null?void 0:x.themeClass,onRender:x==null?void 0:x.onRender})},render(){const{$slots:e,mergedClsPrefix:t,mergedShowLabel:n,mergedShowRequireMark:r,mergedRequireMarkPlacement:o,onRender:a}=this,i=r!==void 0?r:this.mergedRequired;a==null||a();const l=()=>{const d=this.$slots.label?this.$slots.label():this.label;if(!d)return null;const c=s("span",{class:`${t}-form-item-label__text`},d),f=i?s("span",{class:`${t}-form-item-label__asterisk`},o!=="left"?" *":"* "):o==="right-hanging"&&s("span",{class:`${t}-form-item-label__asterisk-placeholder`}," *"),{labelProps:p}=this;return s("label",Object.assign({},p,{class:[p==null?void 0:p.class,`${t}-form-item-label`,`${t}-form-item-label--${o}-mark`,this.reverseColSpace&&`${t}-form-item-label--reverse-columns-space`],style:this.mergedLabelStyle,ref:"labelElementRef"}),o==="left"?[f,c]:[c,f])};return s("div",{class:[`${t}-form-item`,this.themeClass,`${t}-form-item--${this.mergedSize}-size`,`${t}-form-item--${this.mergedLabelPlacement}-labelled`,this.isAutoLabelWidth&&`${t}-form-item--auto-label-width`,!n&&`${t}-form-item--no-label`],style:this.cssVars},n&&l(),s("div",{class:[`${t}-form-item-blank`,this.mergedValidationStatus&&`${t}-form-item-blank--${this.mergedValidationStatus}`]},e),this.mergedShowFeedback?s("div",{key:this.feedbackId,class:`${t}-form-item-feedback-wrapper`},s(Yt,{name:"fade-down-transition",mode:"out-in"},{default:()=>{const{mergedValidationStatus:d}=this;return En(e.feedback,c=>{var f;const{feedback:p}=this,g=c||p?s("div",{key:"__feedback__",class:`${t}-form-item-feedback__line`},c||p):this.renderExplains.length?(f=this.renderExplains)===null||f===void 0?void 0:f.map(({key:b,render:u})=>s("div",{key:b,class:`${t}-form-item-feedback__line`},u())):null;return g?d==="warning"?s("div",{key:"controlled-warning",class:`${t}-form-item-feedback ${t}-form-item-feedback--warning`},g):d==="error"?s("div",{key:"controlled-error",class:`${t}-form-item-feedback ${t}-form-item-feedback--error`},g):d==="success"?s("div",{key:"controlled-success",class:`${t}-form-item-feedback ${t}-form-item-feedback--success`},g):s("div",{key:"controlled-default",class:`${t}-form-item-feedback`},g):null})}})):null)}});export{Pi as N,Fi as a}; diff --git a/public/assets/Input-4816b01d.js b/public/assets/Input-4816b01d.js deleted file mode 100644 index c9f0345..0000000 --- a/public/assets/Input-4816b01d.js +++ /dev/null @@ -1,258 +0,0 @@ -import{g as E,v as n,cZ as lr,a as x,c as C,d as l,a2 as ir,bT as Ae,t as de,aa as sr,y as j,bH as oe,ab as cr,c3 as ur,r as w,w as fe,aK as dr,k as B,c_ as fr,b as z,a3 as K,u as hr,h as _e,bU as vr,c$ as pr,bV as gr,l as br,j as xr,bZ as me,L as mr,I as wr,aN as we,aT as yr,b6 as Cr,a5 as ue,cM as zr,n as Sr,a9 as Q,ba as Ar,O as _r,cn as Rr,D as ye,B as Ce,A as y,C as ze}from"./index-2efe4620.js";const Br=E({name:"Eye",render(){return n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},n("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),n("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),Fr=E({name:"EyeOff",render(){return n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},n("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),n("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),n("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),n("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),n("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),Pr=E({name:"ChevronDown",render(){return n("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),$r=lr("clear",n("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},n("g",{fill:"currentColor","fill-rule":"nonzero"},n("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),kr=x("base-clear",` - flex-shrink: 0; - height: 1em; - width: 1em; - position: relative; -`,[C(">",[l("clear",` - font-size: var(--n-clear-size); - height: 1em; - width: 1em; - cursor: pointer; - color: var(--n-clear-color); - transition: color .3s var(--n-bezier); - display: flex; - `,[C("&:hover",` - color: var(--n-clear-color-hover)!important; - `),C("&:active",` - color: var(--n-clear-color-pressed)!important; - `)]),l("placeholder",` - display: flex; - `),l("clear, placeholder",` - position: absolute; - left: 50%; - top: 50%; - transform: translateX(-50%) translateY(-50%); - `,[ir({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),he=E({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(r){return Ae("-base-clear",kr,de(r,"clsPrefix")),{handleMouseDown(v){v.preventDefault()}}},render(){const{clsPrefix:r}=this;return n("div",{class:`${r}-base-clear`},n(sr,null,{default:()=>{var v,t;return this.show?n("div",{key:"dismiss",class:`${r}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},j(this.$slots.icon,()=>[n(oe,{clsPrefix:r},{default:()=>n($r,null)})])):n("div",{key:"icon",class:`${r}-base-clear__placeholder`},(t=(v=this.$slots).placeholder)===null||t===void 0?void 0:t.call(v))}}))}}),Er=E({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(r,{slots:v}){return()=>{const{clsPrefix:t}=r;return n(cr,{clsPrefix:t,class:`${t}-base-suffix`,strokeWidth:24,scale:.85,show:r.loading},{default:()=>r.showArrow?n(he,{clsPrefix:t,show:r.showClear,onClear:r.onClear},{placeholder:()=>n(oe,{clsPrefix:t,class:`${t}-base-suffix__arrow`},{default:()=>j(v.default,()=>[n(Pr,null)])})}):null})}}}),Re=ur("n-input");function Tr(r){let v=0;for(const t of r)v++;return v}function ee(r){return r===""||r==null}function Ir(r){const v=w(null);function t(){const{value:b}=r;if(!(b!=null&&b.focus)){_();return}const{selectionStart:f,selectionEnd:s,value:u}=b;if(f==null||s==null){_();return}v.value={start:f,end:s,beforeText:u.slice(0,f),afterText:u.slice(s)}}function A(){var b;const{value:f}=v,{value:s}=r;if(!f||!s)return;const{value:u}=s,{start:c,beforeText:i,afterText:g}=f;let m=u.length;if(u.endsWith(g))m=u.length-g.length;else if(u.startsWith(i))m=i.length;else{const T=i[c-1],S=u.indexOf(T,c-1);S!==-1&&(m=S+1)}(b=s.setSelectionRange)===null||b===void 0||b.call(s,m,m)}function _(){v.value=null}return fe(r,_),{recordCursor:t,restoreCursor:A}}const Se=E({name:"InputWordCount",setup(r,{slots:v}){const{mergedValueRef:t,maxlengthRef:A,mergedClsPrefixRef:_,countGraphemesRef:b}=dr(Re),f=B(()=>{const{value:s}=t;return s===null||Array.isArray(s)?0:(b.value||Tr)(s)});return()=>{const{value:s}=A,{value:u}=t;return n("span",{class:`${_.value}-input-word-count`},fr(v.default,{value:u===null||Array.isArray(u)?"":u},()=>[s===void 0?f.value:`${f.value} / ${s}`]))}}}),Mr=x("input",` - max-width: 100%; - cursor: text; - line-height: 1.5; - z-index: auto; - outline: none; - box-sizing: border-box; - position: relative; - display: inline-flex; - border-radius: var(--n-border-radius); - background-color: var(--n-color); - transition: background-color .3s var(--n-bezier); - font-size: var(--n-font-size); - --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2); -`,[l("input, textarea",` - overflow: hidden; - flex-grow: 1; - position: relative; - `),l("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",` - box-sizing: border-box; - font-size: inherit; - line-height: 1.5; - font-family: inherit; - border: none; - outline: none; - background-color: #0000; - text-align: inherit; - transition: - -webkit-text-fill-color .3s var(--n-bezier), - caret-color .3s var(--n-bezier), - color .3s var(--n-bezier), - text-decoration-color .3s var(--n-bezier); - `),l("input-el, textarea-el",` - -webkit-appearance: none; - scrollbar-width: none; - width: 100%; - min-width: 0; - text-decoration-color: var(--n-text-decoration-color); - color: var(--n-text-color); - caret-color: var(--n-caret-color); - background-color: transparent; - `,[C("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` - width: 0; - height: 0; - display: none; - `),C("&::placeholder",` - color: #0000; - -webkit-text-fill-color: transparent !important; - `),C("&:-webkit-autofill ~",[l("placeholder","display: none;")])]),z("round",[K("textarea","border-radius: calc(var(--n-height) / 2);")]),l("placeholder",` - pointer-events: none; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - overflow: hidden; - color: var(--n-placeholder-color); - `,[C("span",` - width: 100%; - display: inline-block; - `)]),z("textarea",[l("placeholder","overflow: visible;")]),K("autosize","width: 100%;"),z("autosize",[l("textarea-el, input-el",` - position: absolute; - top: 0; - left: 0; - height: 100%; - `)]),x("input-wrapper",` - overflow: hidden; - display: inline-flex; - flex-grow: 1; - position: relative; - padding-left: var(--n-padding-left); - padding-right: var(--n-padding-right); - `),l("input-mirror",` - padding: 0; - height: var(--n-height); - line-height: var(--n-height); - overflow: hidden; - visibility: hidden; - position: static; - white-space: pre; - pointer-events: none; - `),l("input-el",` - padding: 0; - height: var(--n-height); - line-height: var(--n-height); - `,[C("&[type=password]::-ms-reveal","display: none;"),C("+",[l("placeholder",` - display: flex; - align-items: center; - `)])]),K("textarea",[l("placeholder","white-space: nowrap;")]),l("eye",` - display: flex; - align-items: center; - justify-content: center; - transition: color .3s var(--n-bezier); - `),z("textarea","width: 100%;",[x("input-word-count",` - position: absolute; - right: var(--n-padding-right); - bottom: var(--n-padding-vertical); - `),z("resizable",[x("input-wrapper",` - resize: vertical; - min-height: var(--n-height); - `)]),l("textarea-el, textarea-mirror, placeholder",` - height: 100%; - padding-left: 0; - padding-right: 0; - padding-top: var(--n-padding-vertical); - padding-bottom: var(--n-padding-vertical); - word-break: break-word; - display: inline-block; - vertical-align: bottom; - box-sizing: border-box; - line-height: var(--n-line-height-textarea); - margin: 0; - resize: none; - white-space: pre-wrap; - scroll-padding-block-end: var(--n-padding-vertical); - `),l("textarea-mirror",` - width: 100%; - pointer-events: none; - overflow: hidden; - visibility: hidden; - position: static; - white-space: pre-wrap; - overflow-wrap: break-word; - `)]),z("pair",[l("input-el, placeholder","text-align: center;"),l("separator",` - display: flex; - align-items: center; - transition: color .3s var(--n-bezier); - color: var(--n-text-color); - white-space: nowrap; - `,[x("icon",` - color: var(--n-icon-color); - `),x("base-icon",` - color: var(--n-icon-color); - `)])]),z("disabled",` - cursor: not-allowed; - background-color: var(--n-color-disabled); - `,[l("border","border: var(--n-border-disabled);"),l("input-el, textarea-el",` - cursor: not-allowed; - color: var(--n-text-color-disabled); - text-decoration-color: var(--n-text-color-disabled); - `),l("placeholder","color: var(--n-placeholder-color-disabled);"),l("separator","color: var(--n-text-color-disabled);",[x("icon",` - color: var(--n-icon-color-disabled); - `),x("base-icon",` - color: var(--n-icon-color-disabled); - `)]),x("input-word-count",` - color: var(--n-count-text-color-disabled); - `),l("suffix, prefix","color: var(--n-text-color-disabled);",[x("icon",` - color: var(--n-icon-color-disabled); - `),x("internal-icon",` - color: var(--n-icon-color-disabled); - `)])]),K("disabled",[l("eye",` - color: var(--n-icon-color); - cursor: pointer; - `,[C("&:hover",` - color: var(--n-icon-color-hover); - `),C("&:active",` - color: var(--n-icon-color-pressed); - `)]),C("&:hover",[l("state-border","border: var(--n-border-hover);")]),z("focus","background-color: var(--n-color-focus);",[l("state-border",` - border: var(--n-border-focus); - box-shadow: var(--n-box-shadow-focus); - `)])]),l("border, state-border",` - box-sizing: border-box; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - pointer-events: none; - border-radius: inherit; - border: var(--n-border); - transition: - box-shadow .3s var(--n-bezier), - border-color .3s var(--n-bezier); - `),l("state-border",` - border-color: #0000; - z-index: 1; - `),l("prefix","margin-right: 4px;"),l("suffix",` - margin-left: 4px; - `),l("suffix, prefix",` - transition: color .3s var(--n-bezier); - flex-wrap: nowrap; - flex-shrink: 0; - line-height: var(--n-height); - white-space: nowrap; - display: inline-flex; - align-items: center; - justify-content: center; - color: var(--n-suffix-text-color); - `,[x("base-loading",` - font-size: var(--n-icon-size); - margin: 0 2px; - color: var(--n-loading-color); - `),x("base-clear",` - font-size: var(--n-icon-size); - `,[l("placeholder",[x("base-icon",` - transition: color .3s var(--n-bezier); - color: var(--n-icon-color); - font-size: var(--n-icon-size); - `)])]),C(">",[x("icon",` - transition: color .3s var(--n-bezier); - color: var(--n-icon-color); - font-size: var(--n-icon-size); - `)]),x("base-icon",` - font-size: var(--n-icon-size); - `)]),x("input-word-count",` - pointer-events: none; - line-height: 1.5; - font-size: .85em; - color: var(--n-count-text-color); - transition: color .3s var(--n-bezier); - margin-left: 4px; - font-variant: tabular-nums; - `),["warning","error"].map(r=>z(`${r}-status`,[K("disabled",[x("base-loading",` - color: var(--n-loading-color-${r}) - `),l("input-el, textarea-el",` - caret-color: var(--n-caret-color-${r}); - `),l("state-border",` - border: var(--n-border-${r}); - `),C("&:hover",[l("state-border",` - border: var(--n-border-hover-${r}); - `)]),C("&:focus",` - background-color: var(--n-color-focus-${r}); - `,[l("state-border",` - box-shadow: var(--n-box-shadow-focus-${r}); - border: var(--n-border-focus-${r}); - `)]),z("focus",` - background-color: var(--n-color-focus-${r}); - `,[l("state-border",` - box-shadow: var(--n-box-shadow-focus-${r}); - border: var(--n-border-focus-${r}); - `)])])]))]),Dr=x("input",[z("disabled",[l("input-el, textarea-el",` - -webkit-text-fill-color: var(--n-text-color-disabled); - `)])]),Lr=Object.assign(Object.assign({},_e.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),Wr=E({name:"Input",props:Lr,setup(r){const{mergedClsPrefixRef:v,mergedBorderedRef:t,inlineThemeDisabled:A,mergedRtlRef:_}=hr(r),b=_e("Input","-input",Mr,vr,r,v);pr&&Ae("-input-safari",Dr,v);const f=w(null),s=w(null),u=w(null),c=w(null),i=w(null),g=w(null),m=w(null),T=Ir(m),S=w(null),{localeRef:Be}=gr("Input"),U=w(r.defaultValue),Fe=de(r,"value"),R=br(Fe,U),L=xr(r),{mergedSizeRef:re,mergedDisabledRef:I,mergedStatusRef:Pe}=L,M=w(!1),V=w(!1),F=w(!1),W=w(!1);let ne=null;const te=B(()=>{const{placeholder:e,pair:o}=r;return o?Array.isArray(e)?e:e===void 0?["",""]:[e,e]:e===void 0?[Be.value.placeholder]:[e]}),$e=B(()=>{const{value:e}=F,{value:o}=R,{value:a}=te;return!e&&(ee(o)||Array.isArray(o)&&ee(o[0]))&&a[0]}),ke=B(()=>{const{value:e}=F,{value:o}=R,{value:a}=te;return!e&&a[1]&&(ee(o)||Array.isArray(o)&&ee(o[1]))}),ae=me(()=>r.internalForceFocus||M.value),Ee=me(()=>{if(I.value||r.readonly||!r.clearable||!ae.value&&!V.value)return!1;const{value:e}=R,{value:o}=ae;return r.pair?!!(Array.isArray(e)&&(e[0]||e[1]))&&(V.value||o):!!e&&(V.value||o)}),le=B(()=>{const{showPasswordOn:e}=r;if(e)return e;if(r.showPasswordToggle)return"click"}),O=w(!1),Te=B(()=>{const{textDecoration:e}=r;return e?Array.isArray(e)?e.map(o=>({textDecoration:o})):[{textDecoration:e}]:["",""]}),ve=w(void 0),Ie=()=>{var e,o;if(r.type==="textarea"){const{autosize:a}=r;if(a&&(ve.value=(o=(e=S.value)===null||e===void 0?void 0:e.$el)===null||o===void 0?void 0:o.offsetWidth),!s.value||typeof a=="boolean")return;const{paddingTop:h,paddingBottom:p,lineHeight:d}=window.getComputedStyle(s.value),P=Number(h.slice(0,-2)),$=Number(p.slice(0,-2)),k=Number(d.slice(0,-2)),{value:N}=u;if(!N)return;if(a.minRows){const H=Math.max(a.minRows,1),ce=`${P+$+k*H}px`;N.style.minHeight=ce}if(a.maxRows){const H=`${P+$+k*a.maxRows}px`;N.style.maxHeight=H}}},Me=B(()=>{const{maxlength:e}=r;return e===void 0?void 0:Number(e)});mr(()=>{const{value:e}=R;Array.isArray(e)||se(e)});const De=wr().proxy;function G(e,o){const{onUpdateValue:a,"onUpdate:value":h,onInput:p}=r,{nTriggerFormInput:d}=L;a&&y(a,e,o),h&&y(h,e,o),p&&y(p,e,o),U.value=e,d()}function X(e,o){const{onChange:a}=r,{nTriggerFormChange:h}=L;a&&y(a,e,o),U.value=e,h()}function Le(e){const{onBlur:o}=r,{nTriggerFormBlur:a}=L;o&&y(o,e),a()}function Ve(e){const{onFocus:o}=r,{nTriggerFormFocus:a}=L;o&&y(o,e),a()}function We(e){const{onClear:o}=r;o&&y(o,e)}function Oe(e){const{onInputBlur:o}=r;o&&y(o,e)}function Ne(e){const{onInputFocus:o}=r;o&&y(o,e)}function He(){const{onDeactivate:e}=r;e&&y(e)}function Ke(){const{onActivate:e}=r;e&&y(e)}function je(e){const{onClick:o}=r;o&&y(o,e)}function Ue(e){const{onWrapperFocus:o}=r;o&&y(o,e)}function Ge(e){const{onWrapperBlur:o}=r;o&&y(o,e)}function Xe(){F.value=!0}function Ye(e){F.value=!1,e.target===g.value?Y(e,1):Y(e,0)}function Y(e,o=0,a="input"){const h=e.target.value;if(se(h),e instanceof InputEvent&&!e.isComposing&&(F.value=!1),r.type==="textarea"){const{value:d}=S;d&&d.syncUnifiedContainer()}if(ne=h,F.value)return;T.recordCursor();const p=Ze(h);if(p)if(!r.pair)a==="input"?G(h,{source:o}):X(h,{source:o});else{let{value:d}=R;Array.isArray(d)?d=[d[0],d[1]]:d=["",""],d[o]=h,a==="input"?G(d,{source:o}):X(d,{source:o})}De.$forceUpdate(),p||ye(T.restoreCursor)}function Ze(e){const{countGraphemes:o,maxlength:a,minlength:h}=r;if(o){let d;if(a!==void 0&&(d===void 0&&(d=o(e)),d>Number(a))||h!==void 0&&(d===void 0&&(d=o(e)),d{h.preventDefault(),ze("mouseup",document,o)};if(Ce("mouseup",document,o),le.value!=="mousedown")return;O.value=!0;const a=()=>{O.value=!1,ze("mouseup",document,a)};Ce("mouseup",document,a)}function co(e){r.onKeyup&&y(r.onKeyup,e)}function uo(e){switch(r.onKeydown&&y(r.onKeydown,e),e.key){case"Escape":ie();break;case"Enter":fo(e);break}}function fo(e){var o,a;if(r.passivelyActivated){const{value:h}=W;if(h){r.internalDeactivateOnEnter&&ie();return}e.preventDefault(),r.type==="textarea"?(o=s.value)===null||o===void 0||o.focus():(a=i.value)===null||a===void 0||a.focus()}}function ie(){r.passivelyActivated&&(W.value=!1,ye(()=>{var e;(e=f.value)===null||e===void 0||e.focus()}))}function ge(){var e,o,a;I.value||(r.passivelyActivated?(e=f.value)===null||e===void 0||e.focus():((o=s.value)===null||o===void 0||o.focus(),(a=i.value)===null||a===void 0||a.focus()))}function ho(){var e;!((e=f.value)===null||e===void 0)&&e.contains(document.activeElement)&&document.activeElement.blur()}function vo(){var e,o;(e=s.value)===null||e===void 0||e.select(),(o=i.value)===null||o===void 0||o.select()}function po(){I.value||(s.value?s.value.focus():i.value&&i.value.focus())}function go(){const{value:e}=f;e!=null&&e.contains(document.activeElement)&&e!==document.activeElement&&ie()}function bo(e){if(r.type==="textarea"){const{value:o}=s;o==null||o.scrollTo(e)}else{const{value:o}=i;o==null||o.scrollTo(e)}}function se(e){const{type:o,pair:a,autosize:h}=r;if(!a&&h)if(o==="textarea"){const{value:p}=u;p&&(p.textContent=(e??"")+`\r -`)}else{const{value:p}=c;p&&(e?p.textContent=e:p.innerHTML=" ")}}function xo(){Ie()}const be=w({top:"0"});function mo(e){var o;const{scrollTop:a}=e.target;be.value.top=`${-a}px`,(o=S.value)===null||o===void 0||o.syncUnifiedContainer()}let q=null;we(()=>{const{autosize:e,type:o}=r;e&&o==="textarea"?q=fe(R,a=>{!Array.isArray(a)&&a!==ne&&se(a)}):q==null||q()});let J=null;we(()=>{r.type==="textarea"?J=fe(R,e=>{var o;!Array.isArray(e)&&e!==ne&&((o=S.value)===null||o===void 0||o.syncUnifiedContainer())}):J==null||J()}),yr(Re,{mergedValueRef:R,maxlengthRef:Me,mergedClsPrefixRef:v,countGraphemesRef:de(r,"countGraphemes")});const wo={wrapperElRef:f,inputElRef:i,textareaElRef:s,isCompositing:F,clear:pe,focus:ge,blur:ho,select:vo,deactivate:go,activate:po,scrollTo:bo},yo=Cr("Input",_,v),xe=B(()=>{const{value:e}=re,{common:{cubicBezierEaseInOut:o},self:{color:a,borderRadius:h,textColor:p,caretColor:d,caretColorError:P,caretColorWarning:$,textDecorationColor:k,border:N,borderDisabled:H,borderHover:ce,borderFocus:Co,placeholderColor:zo,placeholderColorDisabled:So,lineHeightTextarea:Ao,colorDisabled:_o,colorFocus:Ro,textColorDisabled:Bo,boxShadowFocus:Fo,iconSize:Po,colorFocusWarning:$o,boxShadowFocusWarning:ko,borderWarning:Eo,borderFocusWarning:To,borderHoverWarning:Io,colorFocusError:Mo,boxShadowFocusError:Do,borderError:Lo,borderFocusError:Vo,borderHoverError:Wo,clearSize:Oo,clearColor:No,clearColorHover:Ho,clearColorPressed:Ko,iconColor:jo,iconColorDisabled:Uo,suffixTextColor:Go,countTextColor:Xo,countTextColorDisabled:Yo,iconColorHover:Zo,iconColorPressed:qo,loadingColor:Jo,loadingColorError:Qo,loadingColorWarning:er,[ue("padding",e)]:or,[ue("fontSize",e)]:rr,[ue("height",e)]:nr}}=b.value,{left:tr,right:ar}=zr(or);return{"--n-bezier":o,"--n-count-text-color":Xo,"--n-count-text-color-disabled":Yo,"--n-color":a,"--n-font-size":rr,"--n-border-radius":h,"--n-height":nr,"--n-padding-left":tr,"--n-padding-right":ar,"--n-text-color":p,"--n-caret-color":d,"--n-text-decoration-color":k,"--n-border":N,"--n-border-disabled":H,"--n-border-hover":ce,"--n-border-focus":Co,"--n-placeholder-color":zo,"--n-placeholder-color-disabled":So,"--n-icon-size":Po,"--n-line-height-textarea":Ao,"--n-color-disabled":_o,"--n-color-focus":Ro,"--n-text-color-disabled":Bo,"--n-box-shadow-focus":Fo,"--n-loading-color":Jo,"--n-caret-color-warning":$,"--n-color-focus-warning":$o,"--n-box-shadow-focus-warning":ko,"--n-border-warning":Eo,"--n-border-focus-warning":To,"--n-border-hover-warning":Io,"--n-loading-color-warning":er,"--n-caret-color-error":P,"--n-color-focus-error":Mo,"--n-box-shadow-focus-error":Do,"--n-border-error":Lo,"--n-border-focus-error":Vo,"--n-border-hover-error":Wo,"--n-loading-color-error":Qo,"--n-clear-color":No,"--n-clear-size":Oo,"--n-clear-color-hover":Ho,"--n-clear-color-pressed":Ko,"--n-icon-color":jo,"--n-icon-color-hover":Zo,"--n-icon-color-pressed":qo,"--n-icon-color-disabled":Uo,"--n-suffix-text-color":Go}}),D=A?Sr("input",B(()=>{const{value:e}=re;return e[0]}),xe,r):void 0;return Object.assign(Object.assign({},wo),{wrapperElRef:f,inputElRef:i,inputMirrorElRef:c,inputEl2Ref:g,textareaElRef:s,textareaMirrorElRef:u,textareaScrollbarInstRef:S,rtlEnabled:yo,uncontrolledValue:U,mergedValue:R,passwordVisible:O,mergedPlaceholder:te,showPlaceholder1:$e,showPlaceholder2:ke,mergedFocus:ae,isComposing:F,activated:W,showClearButton:Ee,mergedSize:re,mergedDisabled:I,textDecorationStyle:Te,mergedClsPrefix:v,mergedBordered:t,mergedShowPasswordOn:le,placeholderStyle:be,mergedStatus:Pe,textAreaScrollContainerWidth:ve,handleTextAreaScroll:mo,handleCompositionStart:Xe,handleCompositionEnd:Ye,handleInput:Y,handleInputBlur:qe,handleInputFocus:Je,handleWrapperBlur:Qe,handleWrapperFocus:eo,handleMouseEnter:ao,handleMouseLeave:lo,handleMouseDown:to,handleChange:oo,handleClick:ro,handleClear:no,handlePasswordToggleClick:io,handlePasswordToggleMousedown:so,handleWrapperKeydown:uo,handleWrapperKeyup:co,handleTextAreaMirrorResize:xo,getTextareaScrollContainer:()=>s.value,mergedTheme:b,cssVars:A?void 0:xe,themeClass:D==null?void 0:D.themeClass,onRender:D==null?void 0:D.onRender})},render(){var r,v;const{mergedClsPrefix:t,mergedStatus:A,themeClass:_,type:b,countGraphemes:f,onRender:s}=this,u=this.$slots;return s==null||s(),n("div",{ref:"wrapperElRef",class:[`${t}-input`,_,A&&`${t}-input--${A}-status`,{[`${t}-input--rtl`]:this.rtlEnabled,[`${t}-input--disabled`]:this.mergedDisabled,[`${t}-input--textarea`]:b==="textarea",[`${t}-input--resizable`]:this.resizable&&!this.autosize,[`${t}-input--autosize`]:this.autosize,[`${t}-input--round`]:this.round&&b!=="textarea",[`${t}-input--pair`]:this.pair,[`${t}-input--focus`]:this.mergedFocus,[`${t}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},n("div",{class:`${t}-input-wrapper`},Q(u.prefix,c=>c&&n("div",{class:`${t}-input__prefix`},c)),b==="textarea"?n(Ar,{ref:"textareaScrollbarInstRef",class:`${t}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,i;const{textAreaScrollContainerWidth:g}=this,m={width:this.autosize&&g&&`${g}px`};return n(_r,null,n("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${t}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:f?void 0:this.maxlength,minlength:f?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(i=this.inputProps)===null||i===void 0?void 0:i.style,m],onBlur:this.handleInputBlur,onFocus:T=>{this.handleInputFocus(T,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?n("div",{class:`${t}-input__placeholder`,style:[this.placeholderStyle,m],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?n(Rr,{onResize:this.handleTextAreaMirrorResize},{default:()=>n("div",{ref:"textareaMirrorElRef",class:`${t}-input__textarea-mirror`,key:"mirror"})}):null)}}):n("div",{class:`${t}-input__input`},n("input",Object.assign({type:b==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":b},this.inputProps,{ref:"inputElRef",class:[`${t}-input__input-el`,(r=this.inputProps)===null||r===void 0?void 0:r.class],style:[this.textDecorationStyle[0],(v=this.inputProps)===null||v===void 0?void 0:v.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:f?void 0:this.maxlength,minlength:f?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?n("div",{class:`${t}-input__placeholder`},n("span",null,this.mergedPlaceholder[0])):null,this.autosize?n("div",{class:`${t}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Q(u.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?n("div",{class:`${t}-input__suffix`},[Q(u["clear-icon-placeholder"],i=>(this.clearable||i)&&n(he,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>i,icon:()=>{var g,m;return(m=(g=this.$slots)["clear-icon"])===null||m===void 0?void 0:m.call(g)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?n(Er,{clsPrefix:t,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?n(Se,null,{default:i=>{var g;return(g=u.count)===null||g===void 0?void 0:g.call(u,i)}}):null,this.mergedShowPasswordOn&&this.type==="password"?n("div",{class:`${t}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?j(u["password-visible-icon"],()=>[n(oe,{clsPrefix:t},{default:()=>n(Br,null)})]):j(u["password-invisible-icon"],()=>[n(oe,{clsPrefix:t},{default:()=>n(Fr,null)})])):null]):null)),this.pair?n("span",{class:`${t}-input__separator`},j(u.separator,()=>[this.separator])):null,this.pair?n("div",{class:`${t}-input-wrapper`},n("div",{class:`${t}-input__input`},n("input",{ref:"inputEl2Ref",type:this.type,class:`${t}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:f?void 0:this.maxlength,minlength:f?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?n("div",{class:`${t}-input__placeholder`},n("span",null,this.mergedPlaceholder[1])):null),Q(u.suffix,c=>(this.clearable||c)&&n("div",{class:`${t}-input__suffix`},[this.clearable&&n(he,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var i;return(i=u["clear-icon"])===null||i===void 0?void 0:i.call(u)},placeholder:()=>{var i;return(i=u["clear-icon-placeholder"])===null||i===void 0?void 0:i.call(u)}}),c]))):null,this.mergedBordered?n("div",{class:`${t}-input__border`}):null,this.mergedBordered?n("div",{class:`${t}-input__state-border`}):null,this.showCount&&b==="textarea"?n(Se,null,{default:c=>{var i;const{renderCount:g}=this;return g?g(c):(i=u.count)===null||i===void 0?void 0:i.call(u,c)}}):null)}});export{Pr as C,Wr as N,Er as a}; diff --git a/public/assets/InputNumber-8169024b.js b/public/assets/InputNumber-8169024b.js deleted file mode 100644 index 29b1f15..0000000 --- a/public/assets/InputNumber-8169024b.js +++ /dev/null @@ -1,13 +0,0 @@ -import{g as re,v as u,c as Me,a as X,u as Se,h as le,bY as Te,bV as Pe,j as De,r as B,t as Fe,l as Ce,bZ as g,w as Oe,b6 as Ae,k as ke,b_ as Ue,a9 as Y,B as Z,y as q,bH as J,b$ as Q,A as I,D as _e}from"./index-2efe4620.js";import{N as $e}from"./Input-4816b01d.js";import{A as Ee}from"./Add-1eab33c9.js";const He=re({name:"Remove",render(){return u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` - fill: none; - stroke: currentColor; - stroke-linecap: round; - stroke-linejoin: round; - stroke-width: 32px; - `}))}});function je(n){return n==null||typeof n=="string"&&n.trim()===""?null:Number(n)}function Le(n){return n.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(n)||/^\.\d+$/.test(n))}function H(n){return n==null?!0:!Number.isNaN(n)}function ee(n,i){return n==null?"":i===void 0?String(n):n.toFixed(i)}function j(n){if(n===null)return null;if(typeof n=="number")return n;{const i=Number(n);return Number.isNaN(i)?null:i}}const ze=Me([X("input-number-suffix",` - display: inline-block; - margin-right: 10px; - `),X("input-number-prefix",` - display: inline-block; - margin-left: 10px; - `)]),ne=800,te=100,Ge=Object.assign(Object.assign({},le.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),Ye=re({name:"InputNumber",props:Ge,setup(n){const{mergedBorderedRef:i,mergedClsPrefixRef:p,mergedRtlRef:P}=Se(n),a=le("InputNumber","-input-number",ze,Te,n,p),{localeRef:v}=Pe("InputNumber"),R=De(n),{mergedSizeRef:ie,mergedDisabledRef:ue,mergedStatusRef:ae}=R,d=B(null),L=B(null),z=B(null),D=B(n.defaultValue),oe=Fe(n,"value"),f=Ce(oe,D),h=B(""),F=e=>{const t=String(e).split(".")[1];return t?t.length:0},se=e=>{const t=[n.min,n.max,n.step,e].map(r=>r===void 0?0:F(r));return Math.max(...t)},de=g(()=>{const{placeholder:e}=n;return e!==void 0?e:v.value.placeholder}),M=g(()=>{const e=j(n.step);return e!==null?e===0?1:Math.abs(e):1}),G=g(()=>{const e=j(n.min);return e!==null?e:null}),K=g(()=>{const e=j(n.max);return e!==null?e:null}),V=e=>{const{value:t}=f;if(e===t){b();return}const{"onUpdate:value":r,onUpdateValue:l,onChange:s}=n,{nTriggerFormInput:c,nTriggerFormChange:x}=R;s&&I(s,e),l&&I(l,e),r&&I(r,e),D.value=e,c(),x()},o=({offset:e,doUpdateIfValid:t,fixPrecision:r,isInputing:l})=>{const{value:s}=h;if(l&&Le(s))return!1;const c=(n.parse||je)(s);if(c===null)return t&&V(null),null;if(H(c)){const x=F(c),{precision:N}=n;if(N!==void 0&&N$){if(!t||l)return!1;m=$}if(E!==null&&m{const{value:e}=f;if(H(e)){const{format:t,precision:r}=n;t?h.value=t(e):e===null||r===void 0||F(e)>r?h.value=ee(e,void 0):h.value=ee(e,r)}else h.value=String(e)};b();const fe=g(()=>o({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),C=g(()=>{const{value:e}=f;if(n.validator&&e===null)return!1;const{value:t}=M;return o({offset:-t,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),O=g(()=>{const{value:e}=f;if(n.validator&&e===null)return!1;const{value:t}=M;return o({offset:+t,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function ce(e){const{onFocus:t}=n,{nTriggerFormFocus:r}=R;t&&I(t,e),r()}function me(e){var t,r;if(e.target===((t=d.value)===null||t===void 0?void 0:t.wrapperElRef))return;const l=o({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(l!==!1){const x=(r=d.value)===null||r===void 0?void 0:r.inputElRef;x&&(x.value=String(l||"")),f.value===l&&b()}else b();const{onBlur:s}=n,{nTriggerFormBlur:c}=R;s&&I(s,e),c(),_e(()=>{b()})}function ve(e){const{onClear:t}=n;t&&I(t,e)}function A(){const{value:e}=O;if(!e){_();return}const{value:t}=f;if(t===null)n.validator||V(W());else{const{value:r}=M;o({offset:r,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function k(){const{value:e}=C;if(!e){U();return}const{value:t}=f;if(t===null)n.validator||V(W());else{const{value:r}=M;o({offset:-r,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const he=ce,ge=me;function W(){if(n.validator)return null;const{value:e}=G,{value:t}=K;return e!==null?Math.max(0,e):t!==null?Math.min(0,t):0}function pe(e){ve(e),V(null)}function be(e){var t,r,l;!((t=z.value)===null||t===void 0)&&t.$el.contains(e.target)&&e.preventDefault(),!((r=L.value)===null||r===void 0)&&r.$el.contains(e.target)&&e.preventDefault(),(l=d.value)===null||l===void 0||l.activate()}let y=null,w=null,S=null;function U(){S&&(window.clearTimeout(S),S=null),y&&(window.clearInterval(y),y=null)}function _(){T&&(window.clearTimeout(T),T=null),w&&(window.clearInterval(w),w=null)}function xe(){U(),S=window.setTimeout(()=>{y=window.setInterval(()=>{k()},te)},ne),Z("mouseup",document,U,{once:!0})}let T=null;function Ie(){_(),T=window.setTimeout(()=>{w=window.setInterval(()=>{A()},te)},ne),Z("mouseup",document,_,{once:!0})}const Ve=()=>{w||A()},ye=()=>{y||k()};function we(e){var t,r;if(e.key==="Enter"){if(e.target===((t=d.value)===null||t===void 0?void 0:t.wrapperElRef))return;o({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((r=d.value)===null||r===void 0||r.deactivate())}else if(e.key==="ArrowUp"){if(!O.value||n.keyboard.ArrowUp===!1)return;e.preventDefault(),o({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&A()}else if(e.key==="ArrowDown"){if(!C.value||n.keyboard.ArrowDown===!1)return;e.preventDefault(),o({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&k()}}function Ne(e){h.value=e,n.updateValueOnInput&&!n.format&&!n.parse&&n.precision===void 0&&o({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}Oe(f,()=>{b()});const Be={focus:()=>{var e;return(e=d.value)===null||e===void 0?void 0:e.focus()},blur:()=>{var e;return(e=d.value)===null||e===void 0?void 0:e.blur()},select:()=>{var e;return(e=d.value)===null||e===void 0?void 0:e.select()}},Re=Ae("InputNumber",P,p);return Object.assign(Object.assign({},Be),{rtlEnabled:Re,inputInstRef:d,minusButtonInstRef:L,addButtonInstRef:z,mergedClsPrefix:p,mergedBordered:i,uncontrolledValue:D,mergedValue:f,mergedPlaceholder:de,displayedValueInvalid:fe,mergedSize:ie,mergedDisabled:ue,displayedValue:h,addable:O,minusable:C,mergedStatus:ae,handleFocus:he,handleBlur:ge,handleClear:pe,handleMouseDown:be,handleAddClick:Ve,handleMinusClick:ye,handleAddMousedown:Ie,handleMinusMousedown:xe,handleKeyDown:we,handleUpdateDisplayedValue:Ne,mergedTheme:a,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:ke(()=>{const{self:{iconColorDisabled:e}}=a.value,[t,r,l,s]=Ue(e);return{textColorTextDisabled:`rgb(${t}, ${r}, ${l})`,opacityDisabled:`${s}`}})})},render(){const{mergedClsPrefix:n,$slots:i}=this,p=()=>u(Q,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>q(i["minus-icon"],()=>[u(J,{clsPrefix:n},{default:()=>u(He,null)})])}),P=()=>u(Q,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>q(i["add-icon"],()=>[u(J,{clsPrefix:n},{default:()=>u(Ee,null)})])});return u("div",{class:[`${n}-input-number`,this.rtlEnabled&&`${n}-input-number--rtl`]},u($e,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var a;return this.showButton&&this.buttonPlacement==="both"?[p(),Y(i.prefix,v=>v?u("span",{class:`${n}-input-number-prefix`},v):null)]:(a=i.prefix)===null||a===void 0?void 0:a.call(i)},suffix:()=>{var a;return this.showButton?[Y(i.suffix,v=>v?u("span",{class:`${n}-input-number-suffix`},v):null),this.buttonPlacement==="right"?p():null,P()]:(a=i.suffix)===null||a===void 0?void 0:a.call(i)}}))}});export{Ye as N}; diff --git a/public/assets/LayoutSider-0c83106f.js b/public/assets/LayoutSider-0c83106f.js deleted file mode 100644 index 5f56ecf..0000000 --- a/public/assets/LayoutSider-0c83106f.js +++ /dev/null @@ -1,109 +0,0 @@ -import{a as n,b as d,d as l,c as f,g as C,v as a,bH as A,bI as F,h as P,aK as W,bJ as U,r as y,k as p,bh as x,l as H,t as _,bK as K,aT as V,bL as X,u as q,bM as D,n as J,ba as G,bN as Q,A as m}from"./index-2efe4620.js";const Z=n("layout-sider",` - flex-shrink: 0; - box-sizing: border-box; - position: relative; - z-index: 1; - color: var(--n-text-color); - transition: - color .3s var(--n-bezier), - border-color .3s var(--n-bezier), - min-width .3s var(--n-bezier), - max-width .3s var(--n-bezier), - transform .3s var(--n-bezier), - background-color .3s var(--n-bezier); - background-color: var(--n-color); - display: flex; - justify-content: flex-end; -`,[d("bordered",[l("border",` - content: ""; - position: absolute; - top: 0; - bottom: 0; - width: 1px; - background-color: var(--n-border-color); - transition: background-color .3s var(--n-bezier); - `)]),l("left-placement",[d("bordered",[l("border",` - right: 0; - `)])]),d("right-placement",` - justify-content: flex-start; - `,[d("bordered",[l("border",` - left: 0; - `)]),d("collapsed",[n("layout-toggle-button",[n("base-icon",` - transform: rotate(180deg); - `)]),n("layout-toggle-bar",[f("&:hover",[l("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),l("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),n("layout-toggle-button",` - left: 0; - transform: translateX(-50%) translateY(-50%); - `,[n("base-icon",` - transform: rotate(0); - `)]),n("layout-toggle-bar",` - left: -28px; - transform: rotate(180deg); - `,[f("&:hover",[l("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),l("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),d("collapsed",[n("layout-toggle-bar",[f("&:hover",[l("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),l("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),n("layout-toggle-button",[n("base-icon",` - transform: rotate(0); - `)])]),n("layout-toggle-button",` - transition: - color .3s var(--n-bezier), - right .3s var(--n-bezier), - left .3s var(--n-bezier), - border-color .3s var(--n-bezier), - background-color .3s var(--n-bezier); - cursor: pointer; - width: 24px; - height: 24px; - position: absolute; - top: 50%; - right: 0; - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - font-size: 18px; - color: var(--n-toggle-button-icon-color); - border: var(--n-toggle-button-border); - background-color: var(--n-toggle-button-color); - box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .06); - transform: translateX(50%) translateY(-50%); - z-index: 1; - `,[n("base-icon",` - transition: transform .3s var(--n-bezier); - transform: rotate(180deg); - `)]),n("layout-toggle-bar",` - cursor: pointer; - height: 72px; - width: 32px; - position: absolute; - top: calc(50% - 36px); - right: -28px; - `,[l("top, bottom",` - position: absolute; - width: 4px; - border-radius: 2px; - height: 38px; - left: 14px; - transition: - background-color .3s var(--n-bezier), - transform .3s var(--n-bezier); - `),l("bottom",` - position: absolute; - top: 34px; - `),f("&:hover",[l("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),l("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),l("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),f("&:hover",[l("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),l("border",` - position: absolute; - top: 0; - right: 0; - bottom: 0; - width: 1px; - transition: background-color .3s var(--n-bezier); - `),n("layout-sider-scroll-container",` - flex-grow: 1; - flex-shrink: 0; - box-sizing: border-box; - height: 100%; - opacity: 0; - transition: opacity .3s var(--n-bezier); - max-width: 100%; - `),d("show-content",[n("layout-sider-scroll-container",{opacity:1})]),d("absolute-positioned",` - position: absolute; - left: 0; - top: 0; - bottom: 0; - `)]),ee=C({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return a("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},a(A,{clsPrefix:e},{default:()=>a(F,null)}))}}),oe=C({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return a("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},a("div",{class:`${e}-layout-toggle-bar__top`}),a("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),te={position:Q,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},le=C({name:"LayoutSider",props:Object.assign(Object.assign({},P.props),te),setup(e){const s=W(U),i=y(null),b=y(null),$=p(()=>x(h.value?e.collapsedWidth:e.width)),I=p(()=>e.collapseMode!=="transform"?{}:{minWidth:x(e.width)}),j=p(()=>s?s.siderPlacement:"left"),S=y(e.defaultCollapsed),h=H(_(e,"collapsed"),S);function O(r,o){if(e.nativeScrollbar){const{value:t}=i;t&&(o===void 0?t.scrollTo(r):t.scrollTo(r,o))}else{const{value:t}=b;t&&t.scrollTo(r,o)}}function E(){const{"onUpdate:collapsed":r,onUpdateCollapsed:o,onExpand:t,onCollapse:v}=e,{value:u}=h;o&&m(o,!u),r&&m(r,!u),S.value=!u,u?t&&m(t):v&&m(v)}let T=0,k=0;const L=r=>{var o;const t=r.target;T=t.scrollLeft,k=t.scrollTop,(o=e.onScroll)===null||o===void 0||o.call(e,r)};K(()=>{if(e.nativeScrollbar){const r=i.value;r&&(r.scrollTop=k,r.scrollLeft=T)}}),V(X,{collapsedRef:h,collapseModeRef:_(e,"collapseMode")});const{mergedClsPrefixRef:z,inlineThemeDisabled:w}=q(e),B=P("Layout","-layout-sider",Z,D,e,z);function M(r){var o,t;r.propertyName==="max-width"&&(h.value?(o=e.onAfterLeave)===null||o===void 0||o.call(e):(t=e.onAfterEnter)===null||t===void 0||t.call(e))}const Y={scrollTo:O},R=p(()=>{const{common:{cubicBezierEaseInOut:r},self:o}=B.value,{siderToggleButtonColor:t,siderToggleButtonBorder:v,siderToggleBarColor:u,siderToggleBarColorHover:N}=o,c={"--n-bezier":r,"--n-toggle-button-color":t,"--n-toggle-button-border":v,"--n-toggle-bar-color":u,"--n-toggle-bar-color-hover":N};return e.inverted?(c["--n-color"]=o.siderColorInverted,c["--n-text-color"]=o.textColorInverted,c["--n-border-color"]=o.siderBorderColorInverted,c["--n-toggle-button-icon-color"]=o.siderToggleButtonIconColorInverted,c.__invertScrollbar=o.__invertScrollbar):(c["--n-color"]=o.siderColor,c["--n-text-color"]=o.textColor,c["--n-border-color"]=o.siderBorderColor,c["--n-toggle-button-icon-color"]=o.siderToggleButtonIconColor),c}),g=w?J("layout-sider",p(()=>e.inverted?"a":"b"),R,e):void 0;return Object.assign({scrollableElRef:i,scrollbarInstRef:b,mergedClsPrefix:z,mergedTheme:B,styleMaxWidth:$,mergedCollapsed:h,scrollContainerStyle:I,siderPlacement:j,handleNativeElScroll:L,handleTransitionend:M,handleTriggerClick:E,inlineThemeDisabled:w,cssVars:R,themeClass:g==null?void 0:g.themeClass,onRender:g==null?void 0:g.onRender},Y)},render(){var e;const{mergedClsPrefix:s,mergedCollapsed:i,showTrigger:b}=this;return(e=this.onRender)===null||e===void 0||e.call(this),a("aside",{class:[`${s}-layout-sider`,this.themeClass,`${s}-layout-sider--${this.position}-positioned`,`${s}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${s}-layout-sider--bordered`,i&&`${s}-layout-sider--collapsed`,(!i||this.showCollapsedContent)&&`${s}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:x(this.width)}]},this.nativeScrollbar?a("div",{class:[`${s}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):a(G,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),b?b==="bar"?a(oe,{clsPrefix:s,class:i?this.collapsedTriggerClass:this.triggerClass,style:i?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):a(ee,{clsPrefix:s,class:i?this.collapsedTriggerClass:this.triggerClass,style:i?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?a("div",{class:`${s}-layout-sider__border`}):null)}});export{le as N}; diff --git a/public/assets/Loading-05848be1.js b/public/assets/Loading-05848be1.js deleted file mode 100644 index a1a0624..0000000 --- a/public/assets/Loading-05848be1.js +++ /dev/null @@ -1 +0,0 @@ -import{g,ak as u,k as n,F as s,G as m,O as f,P as k,S as t,Z as d,N as p,E as o,ax as v}from"./index-2efe4620.js";const y={class:"loading-text"},b={key:0,class:"progress"},x={key:1,class:"progress"},h=g({__name:"Loading",props:{gap:{default:10},progress:{default:0},tips:{default:""},bgColor:{},words:{default:["L","O","A","D","I","N","G"]}},setup(l){const e=l,c=u(),i=n(()=>c.theme),_=n(()=>i.value==="dark"?"#fff":"#000");return(a,L)=>(o(),s("div",{class:"loading",style:p({background:e.bgColor})},[m("div",y,[(o(!0),s(f,null,k(e.words,r=>(o(),s("span",{key:r,style:p({margin:`0 ${e.gap}px`,color:_.value}),class:"loading-text-words"},t(r),5))),128))]),!a.tips&&e.progress?(o(),s("div",b," 绘制进度: "+t(e.progress)+"% ",1)):d("",!0),a.tips?(o(),s("div",x,t(e.tips),1)):d("",!0)],4))}});const S=v(h,[["__scopeId","data-v-07d64bb6"]]);export{S as L}; diff --git a/public/assets/Loading-fd6d8c86.css b/public/assets/Loading-fd6d8c86.css deleted file mode 100644 index 28e370d..0000000 --- a/public/assets/Loading-fd6d8c86.css +++ /dev/null @@ -1 +0,0 @@ -.loading[data-v-07d64bb6]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.progress[data-v-07d64bb6]{position:absolute;bottom:0;left:50%;transform:translate(-50%)}.loading-text[data-v-07d64bb6]{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;text-align:center;width:100%;height:110px;line-height:100px;z-index:1}.loading-text span[data-v-07d64bb6]{display:inline-block;margin:0 5px;color:#fff;font-family:Quattrocento Sans,sans-serif}.loading-text span[data-v-07d64bb6]:nth-child(1){filter:blur(0px);animation:blur-text-07d64bb6 1.5s 0s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(2){filter:blur(0px);animation:blur-text-07d64bb6 1.5s .2s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(3){filter:blur(0px);animation:blur-text-07d64bb6 1.5s .4s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(4){filter:blur(0px);animation:blur-text-07d64bb6 1.5s .6s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(5){filter:blur(0px);animation:blur-text-07d64bb6 1.5s .8s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(6){filter:blur(0px);animation:blur-text-07d64bb6 1.5s 1s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(7){filter:blur(0px);animation:blur-text-07d64bb6 1.5s 1.2s infinite linear alternate}@keyframes blur-text-07d64bb6{0%{filter:blur(0px)}to{filter:blur(4px)}} diff --git a/public/assets/Select-b45c26f7.js b/public/assets/Select-b45c26f7.js deleted file mode 100644 index d9471bf..0000000 --- a/public/assets/Select-b45c26f7.js +++ /dev/null @@ -1,339 +0,0 @@ -import{g as se,cD as Mt,cE as It,L as Be,cF as vn,ce as gn,k as L,r as _,bZ as je,a7 as dt,a6 as Ve,v as c,aj as pn,cn as bt,cG as He,cq as bn,D as ht,ae as mn,cH as mt,m as _t,a as D,d as W,c as ae,u as Ye,h as be,cI as yn,bV as At,aK as vt,cJ as wn,a5 as ve,n as Ze,bH as Bt,cK as gt,ch as Te,T as Et,b as le,a3 as ut,f as Nt,b6 as Lt,t as oe,cL as xn,w as Oe,cM as Ae,aT as yt,a9 as wt,ab as Cn,ba as Sn,y as Rn,cN as Tn,cO as On,aN as kn,cP as Fn,an as nt,Y as Pn,O as zn,cQ as Mn,l as xt,cR as In,j as _n,p as An,q as ct,V as Bn,x as En,z as Nn,ah as Ln,ai as $n,b7 as Ct,cS as Dn,cT as Kn,A as ue}from"./index-2efe4620.js";import{a as Vn}from"./Input-4816b01d.js";function Ge(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function St(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function ot(e){const t=e.filter(n=>n!==void 0);if(t.length!==0)return t.length===1?t[0]:n=>{e.forEach(o=>{o&&o(n)})}}function Rt(e){return e&-e}class Wn{constructor(t,n){this.l=t,this.min=n;const o=new Array(t+1);for(let l=0;ll)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let s=t*o;for(;t>0;)s+=n[t],t-=Rt(t);return s}getBound(t){let n=0,o=this.l;for(;o>n;){const l=Math.floor((n+o)/2),s=this.sum(l);if(s>t){o=l;continue}else if(s"u"?!1:(We===void 0&&("matchMedia"in window?We=window.matchMedia("(pointer:coarse)").matches:We=!1),We)}let it;function Tt(){return typeof document>"u"?1:(it===void 0&&(it="chrome"in window?window.devicePixelRatio:1),it)}const Hn=He(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[He("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[He("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Gn=se({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Mt();Hn.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:It,ssr:t}),Be(()=>{const{defaultScrollIndex:w,defaultScrollKey:R}=e;w!=null?v({index:w}):R!=null&&v({key:R})});let n=!1,o=!1;vn(()=>{if(n=!1,!o){o=!0;return}v({top:p.value,left:u})}),gn(()=>{n=!0,o||(o=!0)});const l=L(()=>{const w=new Map,{keyField:R}=e;return e.items.forEach((T,j)=>{w.set(T[R],j)}),w}),s=_(null),a=_(void 0),r=new Map,b=L(()=>{const{items:w,itemSize:R,keyField:T}=e,j=new Wn(w.length,R);return w.forEach((U,q)=>{const Y=U[T],Z=r.get(Y);Z!==void 0&&j.add(q,Z)}),j}),h=_(0);let u=0;const p=_(0),k=je(()=>Math.max(b.value.getBound(p.value-dt(e.paddingTop))-1,0)),M=L(()=>{const{value:w}=a;if(w===void 0)return[];const{items:R,itemSize:T}=e,j=k.value,U=Math.min(j+Math.ceil(w/T+1),R.length-1),q=[];for(let Y=j;Y<=U;++Y)q.push(R[Y]);return q}),v=(w,R)=>{if(typeof w=="number"){F(w,R,"auto");return}const{left:T,top:j,index:U,key:q,position:Y,behavior:Z,debounce:te=!0}=w;if(T!==void 0||j!==void 0)F(T,j,Z);else if(U!==void 0)O(U,Z,te);else if(q!==void 0){const ee=l.value.get(q);ee!==void 0&&O(ee,Z,te)}else Y==="bottom"?F(0,Number.MAX_SAFE_INTEGER,Z):Y==="top"&&F(0,0,Z)};let S,K=null;function O(w,R,T){const{value:j}=b,U=j.sum(w)+dt(e.paddingTop);if(!T)s.value.scrollTo({left:0,top:U,behavior:R});else{S=w,K!==null&&window.clearTimeout(K),K=window.setTimeout(()=>{S=void 0,K=null},16);const{scrollTop:q,offsetHeight:Y}=s.value;if(U>q){const Z=j.get(w);U+Z<=q+Y||s.value.scrollTo({left:0,top:U+Z-Y,behavior:R})}else s.value.scrollTo({left:0,top:U,behavior:R})}}function F(w,R,T){s.value.scrollTo({left:w,top:R,behavior:T})}function z(w,R){var T,j,U;if(n||e.ignoreItemResize||V(R.target))return;const{value:q}=b,Y=l.value.get(w),Z=q.get(Y),te=(U=(j=(T=R.borderBoxSize)===null||T===void 0?void 0:T[0])===null||j===void 0?void 0:j.blockSize)!==null&&U!==void 0?U:R.contentRect.height;if(te===Z)return;te-e.itemSize===0?r.delete(w):r.set(w,te-e.itemSize);const re=te-Z;if(re===0)return;q.add(Y,re);const d=s.value;if(d!=null){if(S===void 0){const y=q.sum(Y);d.scrollTop>y&&d.scrollBy(0,re)}else if(Yd.scrollTop+d.offsetHeight&&d.scrollBy(0,re)}G()}h.value++}const m=!jn();let x=!1;function I(w){var R;(R=e.onScroll)===null||R===void 0||R.call(e,w),(!m||!x)&&G()}function B(w){var R;if((R=e.onWheel)===null||R===void 0||R.call(e,w),m){const T=s.value;if(T!=null){if(w.deltaX===0&&(T.scrollTop===0&&w.deltaY<=0||T.scrollTop+T.offsetHeight>=T.scrollHeight&&w.deltaY>=0))return;w.preventDefault(),T.scrollTop+=w.deltaY/Tt(),T.scrollLeft+=w.deltaX/Tt(),G(),x=!0,bn(()=>{x=!1})}}}function H(w){if(n||V(w.target)||w.contentRect.height===a.value)return;a.value=w.contentRect.height;const{onResize:R}=e;R!==void 0&&R(w)}function G(){const{value:w}=s;w!=null&&(p.value=w.scrollTop,u=w.scrollLeft)}function V(w){let R=w;for(;R!==null;){if(R.style.display==="none")return!0;R=R.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:l,itemsStyle:L(()=>{const{itemResizable:w}=e,R=Ve(b.value.sum());return h.value,[e.itemsStyle,{boxSizing:"content-box",height:w?"":R,minHeight:w?R:"",paddingTop:Ve(e.paddingTop),paddingBottom:Ve(e.paddingBottom)}]}),visibleItemsStyle:L(()=>(h.value,{transform:`translateY(${Ve(b.value.sum(k.value))})`})),viewportItems:M,listElRef:s,itemsElRef:_(null),scrollTo:v,handleListResize:H,handleListScroll:I,handleListWheel:B,handleItemResize:z}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return c(bt,{onResize:this.handleListResize},{default:()=>{var l,s;return c("div",pn(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?c("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[c(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const r=a[t],b=n.get(r),h=this.$slots.default({item:a,index:b})[0];return e?c(bt,{key:r,onResize:u=>this.handleItemResize(r,u)},{default:()=>h}):(h.key=r,h)})})]):(s=(l=this.$slots).empty)===null||s===void 0?void 0:s.call(l)])}})}}),he="v-hidden",Un=He("[v-hidden]",{display:"none!important"}),Ot=se({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=_(null),o=_(null);function l(a){const{value:r}=n,{getCounter:b,getTail:h}=e;let u;if(b!==void 0?u=b():u=o.value,!r||!u)return;u.hasAttribute(he)&&u.removeAttribute(he);const{children:p}=r;if(a.showAllItemsBeforeCalculate)for(const z of p)z.hasAttribute(he)&&z.removeAttribute(he);const k=r.offsetWidth,M=[],v=t.tail?h==null?void 0:h():null;let S=v?v.offsetWidth:0,K=!1;const O=r.children.length-(t.tail?1:0);for(let z=0;zk){const{updateCounter:I}=e;for(let B=z;B>=0;--B){const H=O-1-B;I!==void 0?I(H):u.textContent=`${H}`;const G=u.offsetWidth;if(S-=M[B],S+G<=k||B===0){K=!0,z=B-1,v&&(z===-1?(v.style.maxWidth=`${k-G}px`,v.style.boxSizing="border-box"):v.style.maxWidth="");const{onUpdateCount:V}=e;V&&V(H);break}}}}const{onUpdateOverflow:F}=e;K?F!==void 0&&F(!0):(F!==void 0&&F(!1),u.setAttribute(he,""))}const s=Mt();return Un.mount({id:"vueuc/overflow",head:!0,anchorMetaName:It,ssr:s}),Be(()=>l({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:o,sync:l}},render(){const{$slots:e}=this;return ht(()=>this.sync({showAllItemsBeforeCalculate:!1})),c("div",{class:"v-overflow",ref:"selfRef"},[mn(e,"default"),e.counter?e.counter():c("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function $t(e,t){t&&(Be(()=>{const{value:n}=e;n&&mt.registerHandler(n,t)}),_t(()=>{const{value:n}=e;n&&mt.unregisterHandler(n)}))}const qn=se({name:"Checkmark",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},c("g",{fill:"none"},c("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),Yn=se({name:"Empty",render(){return c("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),c("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Zn=se({props:{onFocus:Function,onBlur:Function},setup(e){return()=>c("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}});function kt(e){return Array.isArray(e)?e:[e]}const ft={STOP:"STOP"};function Dt(e,t){const n=t(e);e.children!==void 0&&n!==ft.STOP&&e.children.forEach(o=>Dt(o,t))}function Xn(e,t={}){const{preserveGroup:n=!1}=t,o=[],l=n?a=>{a.isLeaf||(o.push(a.key),s(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),s(a.children))};function s(a){a.forEach(l)}return s(e),o}function Jn(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function Qn(e){return e.children}function eo(e){return e.key}function to(){return!1}function no(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function oo(e){return e.disabled===!0}function io(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function lt(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function rt(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function lo(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function ro(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function ao(e){return(e==null?void 0:e.type)==="group"}function so(e){const t=new Map;return e.forEach((n,o)=>{t.set(n.key,o)}),n=>{var o;return(o=t.get(n))!==null&&o!==void 0?o:null}}class uo extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function co(e,t,n,o){return Ue(t.concat(e),n,o,!1)}function fo(e,t){const n=new Set;return e.forEach(o=>{const l=t.treeNodeMap.get(o);if(l!==void 0){let s=l.parent;for(;s!==null&&!(s.disabled||n.has(s.key));)n.add(s.key),s=s.parent}}),n}function ho(e,t,n,o){const l=Ue(t,n,o,!1),s=Ue(e,n,o,!0),a=fo(e,n),r=[];return l.forEach(b=>{(s.has(b)||a.has(b))&&r.push(b)}),r.forEach(b=>l.delete(b)),l}function at(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:l,indeterminateKeys:s,cascade:a,leafOnly:r,checkStrategy:b,allowNotLoaded:h}=e;if(!a)return o!==void 0?{checkedKeys:lo(n,o),indeterminateKeys:Array.from(s)}:l!==void 0?{checkedKeys:ro(n,l),indeterminateKeys:Array.from(s)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(s)};const{levelTreeNodeMap:u}=t;let p;l!==void 0?p=ho(l,n,t,h):o!==void 0?p=co(o,n,t,h):p=Ue(n,t,h,!1);const k=b==="parent",M=b==="child"||r,v=p,S=new Set,K=Math.max.apply(null,Array.from(u.keys()));for(let O=K;O>=0;O-=1){const F=O===0,z=u.get(O);for(const m of z){if(m.isLeaf)continue;const{key:x,shallowLoaded:I}=m;if(M&&I&&m.children.forEach(V=>{!V.disabled&&!V.isLeaf&&V.shallowLoaded&&v.has(V.key)&&v.delete(V.key)}),m.disabled||!I)continue;let B=!0,H=!1,G=!0;for(const V of m.children){const w=V.key;if(!V.disabled){if(G&&(G=!1),v.has(w))H=!0;else if(S.has(w)){H=!0,B=!1;break}else if(B=!1,H)break}}B&&!G?(k&&m.children.forEach(V=>{!V.disabled&&v.has(V.key)&&v.delete(V.key)}),v.add(x)):H&&S.add(x),F&&M&&v.has(x)&&v.delete(x)}}return{checkedKeys:Array.from(v),indeterminateKeys:Array.from(S)}}function Ue(e,t,n,o){const{treeNodeMap:l,getChildren:s}=t,a=new Set,r=new Set(e);return e.forEach(b=>{const h=l.get(b);h!==void 0&&Dt(h,u=>{if(u.disabled)return ft.STOP;const{key:p}=u;if(!a.has(p)&&(a.add(p),r.add(p),io(u.rawNode,s))){if(o)return ft.STOP;if(!n)throw new uo}})}),r}function vo(e,{includeGroup:t=!1,includeSelf:n=!0},o){var l;const s=o.treeNodeMap;let a=e==null?null:(l=s.get(e))!==null&&l!==void 0?l:null;const r={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return r.treeNode=null,r;for(;a;)!a.ignored&&(t||!a.isGroup)&&r.treeNodePath.push(a),a=a.parent;return r.treeNodePath.reverse(),n||r.treeNodePath.pop(),r.keyPath=r.treeNodePath.map(b=>b.key),r}function go(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function po(e,t){const n=e.siblings,o=n.length,{index:l}=e;return t?n[(l+1)%o]:l===n.length-1?null:n[l+1]}function Ft(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const l=t==="prev"?bo:po,s={reverse:t==="prev"};let a=!1,r=null;function b(h){if(h!==null){if(h===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){r=e;return}}else if((!h.disabled||o)&&!h.ignored&&!h.isGroup){r=h;return}if(h.isGroup){const u=pt(h,s);u!==null?r=u:b(l(h,n))}else{const u=l(h,!1);if(u!==null)b(u);else{const p=mo(h);p!=null&&p.isGroup?b(l(p,n)):n&&b(l(h,!0))}}}}return b(e),r}function bo(e,t){const n=e.siblings,o=n.length,{index:l}=e;return t?n[(l-1+o)%o]:l===0?null:n[l-1]}function mo(e){return e.parent}function pt(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:l}=o,s=n?l-1:0,a=n?-1:l,r=n?-1:1;for(let b=s;b!==a;b+=r){const h=o[b];if(!h.disabled&&!h.ignored)if(h.isGroup){const u=pt(h,t);if(u!==null)return u}else return h}}return null}const yo={getChild(){return this.ignored?null:pt(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return Ft(this,"next",e)},getPrev(e={}){return Ft(this,"prev",e)}};function wo(e,t){const n=t?new Set(t):void 0,o=[];function l(s){s.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&l(a.children)})}return l(e),o}function xo(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function Kt(e,t,n,o,l,s=null,a=0){const r=[];return e.forEach((b,h)=>{var u;const p=Object.create(o);if(p.rawNode=b,p.siblings=r,p.level=a,p.index=h,p.isFirstChild=h===0,p.isLastChild=h+1===e.length,p.parent=s,!p.ignored){const k=l(b);Array.isArray(k)&&(p.children=Kt(k,t,n,o,l,p,a+1))}r.push(p),t.set(p.key,p),n.has(a)||n.set(a,[]),(u=n.get(a))===null||u===void 0||u.push(p)}),r}function Co(e,t={}){var n;const o=new Map,l=new Map,{getDisabled:s=oo,getIgnored:a=to,getIsGroup:r=ao,getKey:b=eo}=t,h=(n=t.getChildren)!==null&&n!==void 0?n:Qn,u=t.ignoreEmptyChildren?m=>{const x=h(m);return Array.isArray(x)?x.length?x:null:x}:h,p=Object.assign({get key(){return b(this.rawNode)},get disabled(){return s(this.rawNode)},get isGroup(){return r(this.rawNode)},get isLeaf(){return Jn(this.rawNode,u)},get shallowLoaded(){return no(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(m){return xo(this,m)}},yo),k=Kt(e,o,l,p,u);function M(m){if(m==null)return null;const x=o.get(m);return x&&!x.isGroup&&!x.ignored?x:null}function v(m){if(m==null)return null;const x=o.get(m);return x&&!x.ignored?x:null}function S(m,x){const I=v(m);return I?I.getPrev(x):null}function K(m,x){const I=v(m);return I?I.getNext(x):null}function O(m){const x=v(m);return x?x.getParent():null}function F(m){const x=v(m);return x?x.getChild():null}const z={treeNodes:k,treeNodeMap:o,levelTreeNodeMap:l,maxLevel:Math.max(...l.keys()),getChildren:u,getFlattenedNodes(m){return wo(k,m)},getNode:M,getPrev:S,getNext:K,getParent:O,getChild:F,getFirstAvailableNode(){return go(k)},getPath(m,x={}){return vo(m,x,z)},getCheckedKeys(m,x={}){const{cascade:I=!0,leafOnly:B=!1,checkStrategy:H="all",allowNotLoaded:G=!1}=x;return at({checkedKeys:lt(m),indeterminateKeys:rt(m),cascade:I,leafOnly:B,checkStrategy:H,allowNotLoaded:G},z)},check(m,x,I={}){const{cascade:B=!0,leafOnly:H=!1,checkStrategy:G="all",allowNotLoaded:V=!1}=I;return at({checkedKeys:lt(x),indeterminateKeys:rt(x),keysToCheck:m==null?[]:kt(m),cascade:B,leafOnly:H,checkStrategy:G,allowNotLoaded:V},z)},uncheck(m,x,I={}){const{cascade:B=!0,leafOnly:H=!1,checkStrategy:G="all",allowNotLoaded:V=!1}=I;return at({checkedKeys:lt(x),indeterminateKeys:rt(x),keysToUncheck:m==null?[]:kt(m),cascade:B,leafOnly:H,checkStrategy:G,allowNotLoaded:V},z)},getNonLeafKeys(m={}){return Xn(k,m)}};return z}const So=D("empty",` - display: flex; - flex-direction: column; - align-items: center; - font-size: var(--n-font-size); -`,[W("icon",` - width: var(--n-icon-size); - height: var(--n-icon-size); - font-size: var(--n-icon-size); - line-height: var(--n-icon-size); - color: var(--n-icon-color); - transition: - color .3s var(--n-bezier); - `,[ae("+",[W("description",` - margin-top: 8px; - `)])]),W("description",` - transition: color .3s var(--n-bezier); - color: var(--n-text-color); - `),W("extra",` - text-align: center; - transition: color .3s var(--n-bezier); - margin-top: 12px; - color: var(--n-extra-text-color); - `)]),Ro=Object.assign(Object.assign({},be.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),To=se({name:"Empty",props:Ro,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=Ye(e),o=be("Empty","-empty",So,yn,e,t),{localeRef:l}=At("Empty"),s=vt(wn,null),a=L(()=>{var u,p,k;return(u=e.description)!==null&&u!==void 0?u:(k=(p=s==null?void 0:s.mergedComponentPropsRef.value)===null||p===void 0?void 0:p.Empty)===null||k===void 0?void 0:k.description}),r=L(()=>{var u,p;return((p=(u=s==null?void 0:s.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||p===void 0?void 0:p.renderIcon)||(()=>c(Yn,null))}),b=L(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:p},self:{[ve("iconSize",u)]:k,[ve("fontSize",u)]:M,textColor:v,iconColor:S,extraTextColor:K}}=o.value;return{"--n-icon-size":k,"--n-font-size":M,"--n-bezier":p,"--n-text-color":v,"--n-icon-color":S,"--n-extra-text-color":K}}),h=n?Ze("empty",L(()=>{let u="";const{size:p}=e;return u+=p[0],u}),b,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:r,localizedDescription:L(()=>a.value||l.value.description),cssVars:n?void 0:b,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return n==null||n(),c("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?c("div",{class:`${t}-empty__icon`},e.icon?e.icon():c(Bt,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?c("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?c("div",{class:`${t}-empty__extra`},e.extra()):null)}});function Oo(e,t){return c(Et,{name:"fade-in-scale-up-transition"},{default:()=>e?c(Bt,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>c(qn)}):null})}const Pt=se({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:l,renderLabelRef:s,renderOptionRef:a,labelFieldRef:r,valueFieldRef:b,showCheckmarkRef:h,nodePropsRef:u,handleOptionClick:p,handleOptionMouseEnter:k}=vt(gt),M=je(()=>{const{value:O}=n;return O?e.tmNode.key===O.key:!1});function v(O){const{tmNode:F}=e;F.disabled||p(O,F)}function S(O){const{tmNode:F}=e;F.disabled||k(O,F)}function K(O){const{tmNode:F}=e,{value:z}=M;F.disabled||z||k(O,F)}return{multiple:o,isGrouped:je(()=>{const{tmNode:O}=e,{parent:F}=O;return F&&F.rawNode.type==="group"}),showCheckmark:h,nodeProps:u,isPending:M,isSelected:je(()=>{const{value:O}=t,{value:F}=o;if(O===null)return!1;const z=e.tmNode.rawNode[b.value];if(F){const{value:m}=l;return m.has(z)}else return O===z}),labelField:r,renderLabel:s,renderOption:a,handleMouseMove:K,handleMouseEnter:S,handleClick:v}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:l,showCheckmark:s,nodeProps:a,renderOption:r,renderLabel:b,handleClick:h,handleMouseEnter:u,handleMouseMove:p}=this,k=Oo(n,e),M=b?[b(t,n),s&&k]:[Te(t[this.labelField],t,n),s&&k],v=a==null?void 0:a(t),S=c("div",Object.assign({},v,{class:[`${e}-base-select-option`,t.class,v==null?void 0:v.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:l,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:s}],style:[(v==null?void 0:v.style)||"",t.style||""],onClick:ot([h,v==null?void 0:v.onClick]),onMouseenter:ot([u,v==null?void 0:v.onMouseenter]),onMousemove:ot([p,v==null?void 0:v.onMousemove])}),c("div",{class:`${e}-base-select-option__content`},M));return t.render?t.render({node:S,option:t,selected:n}):r?r({node:S,option:t,selected:n}):S}}),zt=se({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=vt(gt);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:l}}=this,s=o==null?void 0:o(l),a=t?t(l,!1):Te(l[this.labelField],l,!1),r=c("div",Object.assign({},s,{class:[`${e}-base-select-group-header`,s==null?void 0:s.class]}),a);return l.render?l.render({node:r,option:l}):n?n({node:r,option:l,selected:!1}):r}}),ko=D("base-select-menu",` - line-height: 1.5; - outline: none; - z-index: 0; - position: relative; - border-radius: var(--n-border-radius); - transition: - background-color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier); - background-color: var(--n-color); -`,[D("scrollbar",` - max-height: var(--n-height); - `),D("virtual-list",` - max-height: var(--n-height); - `),D("base-select-option",` - min-height: var(--n-option-height); - font-size: var(--n-option-font-size); - display: flex; - align-items: center; - `,[W("content",` - z-index: 1; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - `)]),D("base-select-group-header",` - min-height: var(--n-option-height); - font-size: .93em; - display: flex; - align-items: center; - `),D("base-select-menu-option-wrapper",` - position: relative; - width: 100%; - `),W("loading, empty",` - display: flex; - padding: 12px 32px; - flex: 1; - justify-content: center; - `),W("loading",` - color: var(--n-loading-color); - font-size: var(--n-loading-size); - `),W("header",` - padding: 8px var(--n-option-padding-left); - font-size: var(--n-option-font-size); - transition: - color .3s var(--n-bezier), - border-color .3s var(--n-bezier); - border-bottom: 1px solid var(--n-action-divider-color); - color: var(--n-action-text-color); - `),W("action",` - padding: 8px var(--n-option-padding-left); - font-size: var(--n-option-font-size); - transition: - color .3s var(--n-bezier), - border-color .3s var(--n-bezier); - border-top: 1px solid var(--n-action-divider-color); - color: var(--n-action-text-color); - `),D("base-select-group-header",` - position: relative; - cursor: default; - padding: var(--n-option-padding); - color: var(--n-group-header-text-color); - `),D("base-select-option",` - cursor: pointer; - position: relative; - padding: var(--n-option-padding); - transition: - color .3s var(--n-bezier), - opacity .3s var(--n-bezier); - box-sizing: border-box; - color: var(--n-option-text-color); - opacity: 1; - `,[le("show-checkmark",` - padding-right: calc(var(--n-option-padding-right) + 20px); - `),ae("&::before",` - content: ""; - position: absolute; - left: 4px; - right: 4px; - top: 0; - bottom: 0; - border-radius: var(--n-border-radius); - transition: background-color .3s var(--n-bezier); - `),ae("&:active",` - color: var(--n-option-text-color-pressed); - `),le("grouped",` - padding-left: calc(var(--n-option-padding-left) * 1.5); - `),le("pending",[ae("&::before",` - background-color: var(--n-option-color-pending); - `)]),le("selected",` - color: var(--n-option-text-color-active); - `,[ae("&::before",` - background-color: var(--n-option-color-active); - `),le("pending",[ae("&::before",` - background-color: var(--n-option-color-active-pending); - `)])]),le("disabled",` - cursor: not-allowed; - `,[ut("selected",` - color: var(--n-option-text-color-disabled); - `),le("selected",` - opacity: var(--n-option-opacity-disabled); - `)]),W("check",` - font-size: 16px; - position: absolute; - right: calc(var(--n-option-padding-right) - 4px); - top: calc(50% - 7px); - color: var(--n-option-check-color); - transition: color .3s var(--n-bezier); - `,[Nt({enterScale:"0.5"})])])]),Fo=se({name:"InternalSelectMenu",props:Object.assign(Object.assign({},be.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=Ye(e),o=Lt("InternalSelectMenu",n,t),l=be("InternalSelectMenu","-internal-select-menu",ko,xn,e,oe(e,"clsPrefix")),s=_(null),a=_(null),r=_(null),b=L(()=>e.treeMate.getFlattenedNodes()),h=L(()=>so(b.value)),u=_(null);function p(){const{treeMate:d}=e;let y=null;const{value:X}=e;X===null?y=d.getFirstAvailableNode():(e.multiple?y=d.getNode((X||[])[(X||[]).length-1]):y=d.getNode(X),(!y||y.disabled)&&(y=d.getFirstAvailableNode())),j(y||null)}function k(){const{value:d}=u;d&&!e.treeMate.getNode(d.key)&&(u.value=null)}let M;Oe(()=>e.show,d=>{d?M=Oe(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?p():k(),ht(U)):k()},{immediate:!0}):M==null||M()},{immediate:!0}),_t(()=>{M==null||M()});const v=L(()=>dt(l.value.self[ve("optionHeight",e.size)])),S=L(()=>Ae(l.value.self[ve("padding",e.size)])),K=L(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),O=L(()=>{const d=b.value;return d&&d.length===0});function F(d){const{onToggle:y}=e;y&&y(d)}function z(d){const{onScroll:y}=e;y&&y(d)}function m(d){var y;(y=r.value)===null||y===void 0||y.sync(),z(d)}function x(){var d;(d=r.value)===null||d===void 0||d.sync()}function I(){const{value:d}=u;return d||null}function B(d,y){y.disabled||j(y,!1)}function H(d,y){y.disabled||F(y)}function G(d){var y;Ge(d,"action")||(y=e.onKeyup)===null||y===void 0||y.call(e,d)}function V(d){var y;Ge(d,"action")||(y=e.onKeydown)===null||y===void 0||y.call(e,d)}function w(d){var y;(y=e.onMousedown)===null||y===void 0||y.call(e,d),!e.focusable&&d.preventDefault()}function R(){const{value:d}=u;d&&j(d.getNext({loop:!0}),!0)}function T(){const{value:d}=u;d&&j(d.getPrev({loop:!0}),!0)}function j(d,y=!1){u.value=d,y&&U()}function U(){var d,y;const X=u.value;if(!X)return;const ce=h.value(X.key);ce!==null&&(e.virtualScroll?(d=a.value)===null||d===void 0||d.scrollTo({index:ce}):(y=r.value)===null||y===void 0||y.scrollTo({index:ce,elSize:v.value}))}function q(d){var y,X;!((y=s.value)===null||y===void 0)&&y.contains(d.target)&&((X=e.onFocus)===null||X===void 0||X.call(e,d))}function Y(d){var y,X;!((y=s.value)===null||y===void 0)&&y.contains(d.relatedTarget)||(X=e.onBlur)===null||X===void 0||X.call(e,d)}yt(gt,{handleOptionMouseEnter:B,handleOptionClick:H,valueSetRef:K,pendingTmNodeRef:u,nodePropsRef:oe(e,"nodeProps"),showCheckmarkRef:oe(e,"showCheckmark"),multipleRef:oe(e,"multiple"),valueRef:oe(e,"value"),renderLabelRef:oe(e,"renderLabel"),renderOptionRef:oe(e,"renderOption"),labelFieldRef:oe(e,"labelField"),valueFieldRef:oe(e,"valueField")}),yt(Tn,s),Be(()=>{const{value:d}=r;d&&d.sync()});const Z=L(()=>{const{size:d}=e,{common:{cubicBezierEaseInOut:y},self:{height:X,borderRadius:ce,color:xe,groupHeaderTextColor:Ce,actionDividerColor:fe,optionTextColorPressed:ie,optionTextColor:Se,optionTextColorDisabled:ge,optionTextColorActive:ke,optionOpacityDisabled:Fe,optionCheckColor:Pe,actionTextColor:ze,optionColorPending:me,optionColorActive:ye,loadingColor:Me,loadingSize:Ie,optionColorActivePending:_e,[ve("optionFontSize",d)]:Re,[ve("optionHeight",d)]:we,[ve("optionPadding",d)]:ne}}=l.value;return{"--n-height":X,"--n-action-divider-color":fe,"--n-action-text-color":ze,"--n-bezier":y,"--n-border-radius":ce,"--n-color":xe,"--n-option-font-size":Re,"--n-group-header-text-color":Ce,"--n-option-check-color":Pe,"--n-option-color-pending":me,"--n-option-color-active":ye,"--n-option-color-active-pending":_e,"--n-option-height":we,"--n-option-opacity-disabled":Fe,"--n-option-text-color":Se,"--n-option-text-color-active":ke,"--n-option-text-color-disabled":ge,"--n-option-text-color-pressed":ie,"--n-option-padding":ne,"--n-option-padding-left":Ae(ne,"left"),"--n-option-padding-right":Ae(ne,"right"),"--n-loading-color":Me,"--n-loading-size":Ie}}),{inlineThemeDisabled:te}=e,ee=te?Ze("internal-select-menu",L(()=>e.size[0]),Z,e):void 0,re={selfRef:s,next:R,prev:T,getPendingTmNode:I};return $t(s,e.onResize),Object.assign({mergedTheme:l,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:r,itemSize:v,padding:S,flattenedNodes:b,empty:O,virtualListContainer(){const{value:d}=a;return d==null?void 0:d.listElRef},virtualListContent(){const{value:d}=a;return d==null?void 0:d.itemsElRef},doScroll:z,handleFocusin:q,handleFocusout:Y,handleKeyUp:G,handleKeyDown:V,handleMouseDown:w,handleVirtualListResize:x,handleVirtualListScroll:m,cssVars:te?void 0:Z,themeClass:ee==null?void 0:ee.themeClass,onRender:ee==null?void 0:ee.onRender},re)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:l,onRender:s}=this;return s==null||s(),c("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,l,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},wt(e.header,a=>a&&c("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?c("div",{class:`${n}-base-select-menu__loading`},c(Cn,{clsPrefix:n,strokeWidth:20})):this.empty?c("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},Rn(e.empty,()=>[c(To,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):c(Sn,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?c(Gn,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?c(zt,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:c(Pt,{clsPrefix:n,key:a.key,tmNode:a})}):c("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?c(zt,{key:a.key,clsPrefix:n,tmNode:a}):c(Pt,{clsPrefix:n,key:a.key,tmNode:a})))}),wt(e.action,a=>a&&[c("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),c(Zn,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),Po=ae([D("base-selection",` - --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left); - --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left); - position: relative; - z-index: auto; - box-shadow: none; - width: 100%; - max-width: 100%; - display: inline-block; - vertical-align: bottom; - border-radius: var(--n-border-radius); - min-height: var(--n-height); - line-height: 1.5; - font-size: var(--n-font-size); - `,[D("base-loading",` - color: var(--n-loading-color); - `),D("base-selection-tags","min-height: var(--n-height);"),W("border, state-border",` - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - pointer-events: none; - border: var(--n-border); - border-radius: inherit; - transition: - box-shadow .3s var(--n-bezier), - border-color .3s var(--n-bezier); - `),W("state-border",` - z-index: 1; - border-color: #0000; - `),D("base-suffix",` - cursor: pointer; - position: absolute; - top: 50%; - transform: translateY(-50%); - right: 10px; - `,[W("arrow",` - font-size: var(--n-arrow-size); - color: var(--n-arrow-color); - transition: color .3s var(--n-bezier); - `)]),D("base-selection-overlay",` - display: flex; - align-items: center; - white-space: nowrap; - pointer-events: none; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - padding: var(--n-padding-single); - transition: color .3s var(--n-bezier); - `,[W("wrapper",` - flex-basis: 0; - flex-grow: 1; - overflow: hidden; - text-overflow: ellipsis; - `)]),D("base-selection-placeholder",` - color: var(--n-placeholder-color); - `,[W("inner",` - max-width: 100%; - overflow: hidden; - `)]),D("base-selection-tags",` - cursor: pointer; - outline: none; - box-sizing: border-box; - position: relative; - z-index: auto; - display: flex; - padding: var(--n-padding-multiple); - flex-wrap: wrap; - align-items: center; - width: 100%; - vertical-align: bottom; - background-color: var(--n-color); - border-radius: inherit; - transition: - color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier); - `),D("base-selection-label",` - height: var(--n-height); - display: inline-flex; - width: 100%; - vertical-align: bottom; - cursor: pointer; - outline: none; - z-index: auto; - box-sizing: border-box; - position: relative; - transition: - color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier); - border-radius: inherit; - background-color: var(--n-color); - align-items: center; - `,[D("base-selection-input",` - font-size: inherit; - line-height: inherit; - outline: none; - cursor: pointer; - box-sizing: border-box; - border:none; - width: 100%; - padding: var(--n-padding-single); - background-color: #0000; - color: var(--n-text-color); - transition: color .3s var(--n-bezier); - caret-color: var(--n-caret-color); - `,[W("content",` - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - `)]),W("render-label",` - color: var(--n-text-color); - `)]),ut("disabled",[ae("&:hover",[W("state-border",` - box-shadow: var(--n-box-shadow-hover); - border: var(--n-border-hover); - `)]),le("focus",[W("state-border",` - box-shadow: var(--n-box-shadow-focus); - border: var(--n-border-focus); - `)]),le("active",[W("state-border",` - box-shadow: var(--n-box-shadow-active); - border: var(--n-border-active); - `),D("base-selection-label","background-color: var(--n-color-active);"),D("base-selection-tags","background-color: var(--n-color-active);")])]),le("disabled","cursor: not-allowed;",[W("arrow",` - color: var(--n-arrow-color-disabled); - `),D("base-selection-label",` - cursor: not-allowed; - background-color: var(--n-color-disabled); - `,[D("base-selection-input",` - cursor: not-allowed; - color: var(--n-text-color-disabled); - `),W("render-label",` - color: var(--n-text-color-disabled); - `)]),D("base-selection-tags",` - cursor: not-allowed; - background-color: var(--n-color-disabled); - `),D("base-selection-placeholder",` - cursor: not-allowed; - color: var(--n-placeholder-color-disabled); - `)]),D("base-selection-input-tag",` - height: calc(var(--n-height) - 6px); - line-height: calc(var(--n-height) - 6px); - outline: none; - display: none; - position: relative; - margin-bottom: 3px; - max-width: 100%; - vertical-align: bottom; - `,[W("input",` - font-size: inherit; - font-family: inherit; - min-width: 1px; - padding: 0; - background-color: #0000; - outline: none; - border: none; - max-width: 100%; - overflow: hidden; - width: 1em; - line-height: inherit; - cursor: pointer; - color: var(--n-text-color); - caret-color: var(--n-caret-color); - `),W("mirror",` - position: absolute; - left: 0; - top: 0; - white-space: pre; - visibility: hidden; - user-select: none; - -webkit-user-select: none; - opacity: 0; - `)]),["warning","error"].map(e=>le(`${e}-status`,[W("state-border",`border: var(--n-border-${e});`),ut("disabled",[ae("&:hover",[W("state-border",` - box-shadow: var(--n-box-shadow-hover-${e}); - border: var(--n-border-hover-${e}); - `)]),le("active",[W("state-border",` - box-shadow: var(--n-box-shadow-active-${e}); - border: var(--n-border-active-${e}); - `),D("base-selection-label",`background-color: var(--n-color-active-${e});`),D("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),le("focus",[W("state-border",` - box-shadow: var(--n-box-shadow-focus-${e}); - border: var(--n-border-focus-${e}); - `)])])]))]),D("base-selection-popover",` - margin-bottom: -3px; - display: flex; - flex-wrap: wrap; - margin-right: -8px; - `),D("base-selection-tag-wrapper",` - max-width: 100%; - display: inline-flex; - padding: 0 7px 3px 0; - `,[ae("&:last-child","padding-right: 0;"),D("tag",` - font-size: 14px; - max-width: 100%; - `,[W("content",` - line-height: 1.25; - text-overflow: ellipsis; - overflow: hidden; - `)])])]),zo=se({name:"InternalSelection",props:Object.assign(Object.assign({},be.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=Ye(e),o=Lt("InternalSelection",n,t),l=_(null),s=_(null),a=_(null),r=_(null),b=_(null),h=_(null),u=_(null),p=_(null),k=_(null),M=_(null),v=_(!1),S=_(!1),K=_(!1),O=be("InternalSelection","-internal-selection",Po,On,e,oe(e,"clsPrefix")),F=L(()=>e.clearable&&!e.disabled&&(K.value||e.active)),z=L(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Te(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),m=L(()=>{const f=e.selectedOption;if(f)return f[e.labelField]}),x=L(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function I(){var f;const{value:C}=l;if(C){const{value:J}=s;J&&(J.style.width=`${C.offsetWidth}px`,e.maxTagCount!=="responsive"&&((f=k.value)===null||f===void 0||f.sync({showAllItemsBeforeCalculate:!1})))}}function B(){const{value:f}=M;f&&(f.style.display="none")}function H(){const{value:f}=M;f&&(f.style.display="inline-block")}Oe(oe(e,"active"),f=>{f||B()}),Oe(oe(e,"pattern"),()=>{e.multiple&&ht(I)});function G(f){const{onFocus:C}=e;C&&C(f)}function V(f){const{onBlur:C}=e;C&&C(f)}function w(f){const{onDeleteOption:C}=e;C&&C(f)}function R(f){const{onClear:C}=e;C&&C(f)}function T(f){const{onPatternInput:C}=e;C&&C(f)}function j(f){var C;(!f.relatedTarget||!(!((C=a.value)===null||C===void 0)&&C.contains(f.relatedTarget)))&&G(f)}function U(f){var C;!((C=a.value)===null||C===void 0)&&C.contains(f.relatedTarget)||V(f)}function q(f){R(f)}function Y(){K.value=!0}function Z(){K.value=!1}function te(f){!e.active||!e.filterable||f.target!==s.value&&f.preventDefault()}function ee(f){w(f)}function re(f){if(f.key==="Backspace"&&!d.value&&!e.pattern.length){const{selectedOptions:C}=e;C!=null&&C.length&&ee(C[C.length-1])}}const d=_(!1);let y=null;function X(f){const{value:C}=l;if(C){const J=f.target.value;C.textContent=J,I()}e.ignoreComposition&&d.value?y=f:T(f)}function ce(){d.value=!0}function xe(){d.value=!1,e.ignoreComposition&&T(y),y=null}function Ce(f){var C;S.value=!0,(C=e.onPatternFocus)===null||C===void 0||C.call(e,f)}function fe(f){var C;S.value=!1,(C=e.onPatternBlur)===null||C===void 0||C.call(e,f)}function ie(){var f,C;if(e.filterable)S.value=!1,(f=h.value)===null||f===void 0||f.blur(),(C=s.value)===null||C===void 0||C.blur();else if(e.multiple){const{value:J}=r;J==null||J.blur()}else{const{value:J}=b;J==null||J.blur()}}function Se(){var f,C,J;e.filterable?(S.value=!1,(f=h.value)===null||f===void 0||f.focus()):e.multiple?(C=r.value)===null||C===void 0||C.focus():(J=b.value)===null||J===void 0||J.focus()}function ge(){const{value:f}=s;f&&(H(),f.focus())}function ke(){const{value:f}=s;f&&f.blur()}function Fe(f){const{value:C}=u;C&&C.setTextContent(`+${f}`)}function Pe(){const{value:f}=p;return f}function ze(){return s.value}let me=null;function ye(){me!==null&&window.clearTimeout(me)}function Me(){e.active||(ye(),me=window.setTimeout(()=>{x.value&&(v.value=!0)},100))}function Ie(){ye()}function _e(f){f||(ye(),v.value=!1)}Oe(x,f=>{f||(v.value=!1)}),Be(()=>{kn(()=>{const f=h.value;f&&(e.disabled?f.removeAttribute("tabindex"):f.tabIndex=S.value?-1:0)})}),$t(a,e.onResize);const{inlineThemeDisabled:Re}=e,we=L(()=>{const{size:f}=e,{common:{cubicBezierEaseInOut:C},self:{borderRadius:J,color:Xe,placeholderColor:Je,textColor:Ee,paddingSingle:Ne,paddingMultiple:Le,caretColor:Qe,colorDisabled:et,textColorDisabled:$e,placeholderColorDisabled:pe,colorActive:i,boxShadowFocus:g,boxShadowActive:P,boxShadowHover:$,border:E,borderFocus:A,borderHover:N,borderActive:Q,arrowColor:de,arrowColorDisabled:tt,loadingColor:Wt,colorActiveWarning:jt,boxShadowFocusWarning:Ht,boxShadowActiveWarning:Gt,boxShadowHoverWarning:Ut,borderWarning:qt,borderFocusWarning:Yt,borderHoverWarning:Zt,borderActiveWarning:Xt,colorActiveError:Jt,boxShadowFocusError:Qt,boxShadowActiveError:en,boxShadowHoverError:tn,borderError:nn,borderFocusError:on,borderHoverError:ln,borderActiveError:rn,clearColor:an,clearColorHover:sn,clearColorPressed:dn,clearSize:un,arrowSize:cn,[ve("height",f)]:fn,[ve("fontSize",f)]:hn}}=O.value,De=Ae(Ne),Ke=Ae(Le);return{"--n-bezier":C,"--n-border":E,"--n-border-active":Q,"--n-border-focus":A,"--n-border-hover":N,"--n-border-radius":J,"--n-box-shadow-active":P,"--n-box-shadow-focus":g,"--n-box-shadow-hover":$,"--n-caret-color":Qe,"--n-color":Xe,"--n-color-active":i,"--n-color-disabled":et,"--n-font-size":hn,"--n-height":fn,"--n-padding-single-top":De.top,"--n-padding-multiple-top":Ke.top,"--n-padding-single-right":De.right,"--n-padding-multiple-right":Ke.right,"--n-padding-single-left":De.left,"--n-padding-multiple-left":Ke.left,"--n-padding-single-bottom":De.bottom,"--n-padding-multiple-bottom":Ke.bottom,"--n-placeholder-color":Je,"--n-placeholder-color-disabled":pe,"--n-text-color":Ee,"--n-text-color-disabled":$e,"--n-arrow-color":de,"--n-arrow-color-disabled":tt,"--n-loading-color":Wt,"--n-color-active-warning":jt,"--n-box-shadow-focus-warning":Ht,"--n-box-shadow-active-warning":Gt,"--n-box-shadow-hover-warning":Ut,"--n-border-warning":qt,"--n-border-focus-warning":Yt,"--n-border-hover-warning":Zt,"--n-border-active-warning":Xt,"--n-color-active-error":Jt,"--n-box-shadow-focus-error":Qt,"--n-box-shadow-active-error":en,"--n-box-shadow-hover-error":tn,"--n-border-error":nn,"--n-border-focus-error":on,"--n-border-hover-error":ln,"--n-border-active-error":rn,"--n-clear-size":un,"--n-clear-color":an,"--n-clear-color-hover":sn,"--n-clear-color-pressed":dn,"--n-arrow-size":cn}}),ne=Re?Ze("internal-selection",L(()=>e.size[0]),we,e):void 0;return{mergedTheme:O,mergedClearable:F,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:S,filterablePlaceholder:z,label:m,selected:x,showTagsPanel:v,isComposing:d,counterRef:u,counterWrapperRef:p,patternInputMirrorRef:l,patternInputRef:s,selfRef:a,multipleElRef:r,singleElRef:b,patternInputWrapperRef:h,overflowRef:k,inputTagElRef:M,handleMouseDown:te,handleFocusin:j,handleClear:q,handleMouseEnter:Y,handleMouseLeave:Z,handleDeleteOption:ee,handlePatternKeyDown:re,handlePatternInputInput:X,handlePatternInputBlur:fe,handlePatternInputFocus:Ce,handleMouseEnterCounter:Me,handleMouseLeaveCounter:Ie,handleFocusout:U,handleCompositionEnd:xe,handleCompositionStart:ce,onPopoverUpdateShow:_e,focus:Se,focusInput:ge,blur:ie,blurInput:ke,updateCounter:Fe,getCounter:Pe,getTail:ze,renderLabel:e.renderLabel,cssVars:Re?void 0:we,themeClass:ne==null?void 0:ne.themeClass,onRender:ne==null?void 0:ne.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:l,maxTagCount:s,bordered:a,clsPrefix:r,ellipsisTagPopoverProps:b,onRender:h,renderTag:u,renderLabel:p}=this;h==null||h();const k=s==="responsive",M=typeof s=="number",v=k||M,S=c(Fn,null,{default:()=>c(Vn,{clsPrefix:r,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var O,F;return(F=(O=this.$slots).arrow)===null||F===void 0?void 0:F.call(O)}})});let K;if(t){const{labelField:O}=this,F=T=>c("div",{class:`${r}-base-selection-tag-wrapper`,key:T.value},u?u({option:T,handleClose:()=>{this.handleDeleteOption(T)}}):c(nt,{size:n,closable:!T.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(T)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>p?p(T,!0):Te(T[O],T,!0)})),z=()=>(M?this.selectedOptions.slice(0,s):this.selectedOptions).map(F),m=l?c("div",{class:`${r}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},c("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${r}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),c("span",{ref:"patternInputMirrorRef",class:`${r}-base-selection-input-tag__mirror`},this.pattern)):null,x=k?()=>c("div",{class:`${r}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},c(nt,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let I;if(M){const T=this.selectedOptions.length-s;T>0&&(I=c("div",{class:`${r}-base-selection-tag-wrapper`,key:"__counter__"},c(nt,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${T}`})))}const B=k?l?c(Ot,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:z,counter:x,tail:()=>m}):c(Ot,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:z,counter:x}):M&&I?z().concat(I):z(),H=v?()=>c("div",{class:`${r}-base-selection-popover`},k?z():this.selectedOptions.map(F)):void 0,G=v?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},b):null,w=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?c("div",{class:`${r}-base-selection-placeholder ${r}-base-selection-overlay`},c("div",{class:`${r}-base-selection-placeholder__inner`},this.placeholder)):null,R=l?c("div",{ref:"patternInputWrapperRef",class:`${r}-base-selection-tags`},B,k?null:m,S):c("div",{ref:"multipleElRef",class:`${r}-base-selection-tags`,tabindex:o?void 0:0},B,S);K=c(zn,null,v?c(Pn,Object.assign({},G,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>R,default:H}):R,w)}else if(l){const O=this.pattern||this.isComposing,F=this.active?!O:!this.selected,z=this.active?!1:this.selected;K=c("div",{ref:"patternInputWrapperRef",class:`${r}-base-selection-label`,title:this.patternInputFocused?void 0:St(this.label)},c("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${r}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),z?c("div",{class:`${r}-base-selection-label__render-label ${r}-base-selection-overlay`,key:"input"},c("div",{class:`${r}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):p?p(this.selectedOption,!0):Te(this.label,this.selectedOption,!0))):null,F?c("div",{class:`${r}-base-selection-placeholder ${r}-base-selection-overlay`,key:"placeholder"},c("div",{class:`${r}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,S)}else K=c("div",{ref:"singleElRef",class:`${r}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?c("div",{class:`${r}-base-selection-input`,title:St(this.label),key:"input"},c("div",{class:`${r}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):p?p(this.selectedOption,!0):Te(this.label,this.selectedOption,!0))):c("div",{class:`${r}-base-selection-placeholder ${r}-base-selection-overlay`,key:"placeholder"},c("div",{class:`${r}-base-selection-placeholder__inner`},this.placeholder)),S);return c("div",{ref:"selfRef",class:[`${r}-base-selection`,this.rtlEnabled&&`${r}-base-selection--rtl`,this.themeClass,e&&`${r}-base-selection--${e}-status`,{[`${r}-base-selection--active`]:this.active,[`${r}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${r}-base-selection--disabled`]:this.disabled,[`${r}-base-selection--multiple`]:this.multiple,[`${r}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},K,a?c("div",{class:`${r}-base-selection__border`}):null,a?c("div",{class:`${r}-base-selection__state-border`}):null)}});function qe(e){return e.type==="group"}function Vt(e){return e.type==="ignored"}function st(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function Mo(e,t){return{getIsGroup:qe,getIgnored:Vt,getKey(o){return qe(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function Io(e,t,n,o){if(!t)return e;function l(s){if(!Array.isArray(s))return[];const a=[];for(const r of s)if(qe(r)){const b=l(r[o]);b.length&&a.push(Object.assign({},r,{[o]:b}))}else{if(Vt(r))continue;t(n,r)&&a.push(r)}return a}return l(e)}function _o(e,t,n){const o=new Map;return e.forEach(l=>{qe(l)?l[n].forEach(s=>{o.set(s[t],s)}):o.set(l[t],l)}),o}const Ao=ae([D("select",` - z-index: auto; - outline: none; - width: 100%; - position: relative; - `),D("select-menu",` - margin: 4px 0; - box-shadow: var(--n-menu-box-shadow); - `,[Nt({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),Bo=Object.assign(Object.assign({},be.props),{to:ct.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Lo=se({name:"Select",props:Bo,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:l}=Ye(e),s=be("Select","-select",Ao,Mn,e,t),a=_(e.defaultValue),r=oe(e,"value"),b=xt(r,a),h=_(!1),u=_(""),p=L(()=>{const{valueField:i,childrenField:g}=e,P=Mo(i,g);return Co(R.value,P)}),k=L(()=>_o(V.value,e.valueField,e.childrenField)),M=_(!1),v=xt(oe(e,"show"),M),S=_(null),K=_(null),O=_(null),{localeRef:F}=At("Select"),z=L(()=>{var i;return(i=e.placeholder)!==null&&i!==void 0?i:F.value.placeholder}),m=In(e,["items","options"]),x=[],I=_([]),B=_([]),H=_(new Map),G=L(()=>{const{fallbackOption:i}=e;if(i===void 0){const{labelField:g,valueField:P}=e;return $=>({[g]:String($),[P]:$})}return i===!1?!1:g=>Object.assign(i(g),{value:g})}),V=L(()=>B.value.concat(I.value).concat(m.value)),w=L(()=>{const{filter:i}=e;if(i)return i;const{labelField:g,valueField:P}=e;return($,E)=>{if(!E)return!1;const A=E[g];if(typeof A=="string")return st($,A);const N=E[P];return typeof N=="string"?st($,N):typeof N=="number"?st($,String(N)):!1}}),R=L(()=>{if(e.remote)return m.value;{const{value:i}=V,{value:g}=u;return!g.length||!e.filterable?i:Io(i,w.value,g,e.childrenField)}});function T(i){const g=e.remote,{value:P}=H,{value:$}=k,{value:E}=G,A=[];return i.forEach(N=>{if($.has(N))A.push($.get(N));else if(g&&P.has(N))A.push(P.get(N));else if(E){const Q=E(N);Q&&A.push(Q)}}),A}const j=L(()=>{if(e.multiple){const{value:i}=b;return Array.isArray(i)?T(i):[]}return null}),U=L(()=>{const{value:i}=b;return!e.multiple&&!Array.isArray(i)?i===null?null:T([i])[0]||null:null}),q=_n(e),{mergedSizeRef:Y,mergedDisabledRef:Z,mergedStatusRef:te}=q;function ee(i,g){const{onChange:P,"onUpdate:value":$,onUpdateValue:E}=e,{nTriggerFormChange:A,nTriggerFormInput:N}=q;P&&ue(P,i,g),E&&ue(E,i,g),$&&ue($,i,g),a.value=i,A(),N()}function re(i){const{onBlur:g}=e,{nTriggerFormBlur:P}=q;g&&ue(g,i),P()}function d(){const{onClear:i}=e;i&&ue(i)}function y(i){const{onFocus:g,showOnFocus:P}=e,{nTriggerFormFocus:$}=q;g&&ue(g,i),$(),P&&fe()}function X(i){const{onSearch:g}=e;g&&ue(g,i)}function ce(i){const{onScroll:g}=e;g&&ue(g,i)}function xe(){var i;const{remote:g,multiple:P}=e;if(g){const{value:$}=H;if(P){const{valueField:E}=e;(i=j.value)===null||i===void 0||i.forEach(A=>{$.set(A[E],A)})}else{const E=U.value;E&&$.set(E[e.valueField],E)}}}function Ce(i){const{onUpdateShow:g,"onUpdate:show":P}=e;g&&ue(g,i),P&&ue(P,i),M.value=i}function fe(){Z.value||(Ce(!0),M.value=!0,e.filterable&&Le())}function ie(){Ce(!1)}function Se(){u.value="",B.value=x}const ge=_(!1);function ke(){e.filterable&&(ge.value=!0)}function Fe(){e.filterable&&(ge.value=!1,v.value||Se())}function Pe(){Z.value||(v.value?e.filterable?Le():ie():fe())}function ze(i){var g,P;!((P=(g=O.value)===null||g===void 0?void 0:g.selfRef)===null||P===void 0)&&P.contains(i.relatedTarget)||(h.value=!1,re(i),ie())}function me(i){y(i),h.value=!0}function ye(i){h.value=!0}function Me(i){var g;!((g=S.value)===null||g===void 0)&&g.$el.contains(i.relatedTarget)||(h.value=!1,re(i),ie())}function Ie(){var i;(i=S.value)===null||i===void 0||i.focus(),ie()}function _e(i){var g;v.value&&(!((g=S.value)===null||g===void 0)&&g.$el.contains(Dn(i))||ie())}function Re(i){if(!Array.isArray(i))return[];if(G.value)return Array.from(i);{const{remote:g}=e,{value:P}=k;if(g){const{value:$}=H;return i.filter(E=>P.has(E)||$.has(E))}else return i.filter($=>P.has($))}}function we(i){ne(i.rawNode)}function ne(i){if(Z.value)return;const{tag:g,remote:P,clearFilterAfterSelect:$,valueField:E}=e;if(g&&!P){const{value:A}=B,N=A[0]||null;if(N){const Q=I.value;Q.length?Q.push(N):I.value=[N],B.value=x}}if(P&&H.value.set(i[E],i),e.multiple){const A=Re(b.value),N=A.findIndex(Q=>Q===i[E]);if(~N){if(A.splice(N,1),g&&!P){const Q=f(i[E]);~Q&&(I.value.splice(Q,1),$&&(u.value=""))}}else A.push(i[E]),$&&(u.value="");ee(A,T(A))}else{if(g&&!P){const A=f(i[E]);~A?I.value=[I.value[A]]:I.value=x}Ne(),ie(),ee(i[E],i)}}function f(i){return I.value.findIndex(P=>P[e.valueField]===i)}function C(i){v.value||fe();const{value:g}=i.target;u.value=g;const{tag:P,remote:$}=e;if(X(g),P&&!$){if(!g){B.value=x;return}const{onCreate:E}=e,A=E?E(g):{[e.labelField]:g,[e.valueField]:g},{valueField:N,labelField:Q}=e;m.value.some(de=>de[N]===A[N]||de[Q]===A[Q])||I.value.some(de=>de[N]===A[N]||de[Q]===A[Q])?B.value=x:B.value=[A]}}function J(i){i.stopPropagation();const{multiple:g}=e;!g&&e.filterable&&ie(),d(),g?ee([],[]):ee(null,null)}function Xe(i){!Ge(i,"action")&&!Ge(i,"empty")&&i.preventDefault()}function Je(i){ce(i)}function Ee(i){var g,P,$,E,A;if(!e.keyboard){i.preventDefault();return}switch(i.key){case" ":if(e.filterable)break;i.preventDefault();case"Enter":if(!(!((g=S.value)===null||g===void 0)&&g.isComposing)){if(v.value){const N=(P=O.value)===null||P===void 0?void 0:P.getPendingTmNode();N?we(N):e.filterable||(ie(),Ne())}else if(fe(),e.tag&&ge.value){const N=B.value[0];if(N){const Q=N[e.valueField],{value:de}=b;e.multiple&&Array.isArray(de)&&de.some(tt=>tt===Q)||ne(N)}}}i.preventDefault();break;case"ArrowUp":if(i.preventDefault(),e.loading)return;v.value&&(($=O.value)===null||$===void 0||$.prev());break;case"ArrowDown":if(i.preventDefault(),e.loading)return;v.value?(E=O.value)===null||E===void 0||E.next():fe();break;case"Escape":v.value&&(Kn(i),ie()),(A=S.value)===null||A===void 0||A.focus();break}}function Ne(){var i;(i=S.value)===null||i===void 0||i.focus()}function Le(){var i;(i=S.value)===null||i===void 0||i.focusInput()}function Qe(){var i;v.value&&((i=K.value)===null||i===void 0||i.syncPosition())}xe(),Oe(oe(e,"options"),xe);const et={focus:()=>{var i;(i=S.value)===null||i===void 0||i.focus()},focusInput:()=>{var i;(i=S.value)===null||i===void 0||i.focusInput()},blur:()=>{var i;(i=S.value)===null||i===void 0||i.blur()},blurInput:()=>{var i;(i=S.value)===null||i===void 0||i.blurInput()}},$e=L(()=>{const{self:{menuBoxShadow:i}}=s.value;return{"--n-menu-box-shadow":i}}),pe=l?Ze("select",void 0,$e,e):void 0;return Object.assign(Object.assign({},et),{mergedStatus:te,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:p,isMounted:An(),triggerRef:S,menuRef:O,pattern:u,uncontrolledShow:M,mergedShow:v,adjustedTo:ct(e),uncontrolledValue:a,mergedValue:b,followerRef:K,localizedPlaceholder:z,selectedOption:U,selectedOptions:j,mergedSize:Y,mergedDisabled:Z,focused:h,activeWithoutMenuOpen:ge,inlineThemeDisabled:l,onTriggerInputFocus:ke,onTriggerInputBlur:Fe,handleTriggerOrMenuResize:Qe,handleMenuFocus:ye,handleMenuBlur:Me,handleMenuTabOut:Ie,handleTriggerClick:Pe,handleToggle:we,handleDeleteOption:ne,handlePatternInput:C,handleClear:J,handleTriggerBlur:ze,handleTriggerFocus:me,handleKeydown:Ee,handleMenuAfterLeave:Se,handleMenuClickOutside:_e,handleMenuScroll:Je,handleMenuKeydown:Ee,handleMenuMousedown:Xe,mergedTheme:s,cssVars:l?void 0:$e,themeClass:pe==null?void 0:pe.themeClass,onRender:pe==null?void 0:pe.onRender})},render(){return c("div",{class:`${this.mergedClsPrefix}-select`},c(Bn,null,{default:()=>[c(En,null,{default:()=>c(zo,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),c(Nn,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ct.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>c(Et,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),Ln(c(Fo,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(n=this.menuProps)===null||n===void 0?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var o,l;return[(l=(o=this.$slots).empty)===null||l===void 0?void 0:l.call(o)]},header:()=>{var o,l;return[(l=(o=this.$slots).header)===null||l===void 0?void 0:l.call(o)]},action:()=>{var o,l;return[(l=(o=this.$slots).action)===null||l===void 0?void 0:l.call(o)]}}),this.displayDirective==="show"?[[$n,this.mergedShow],[Ct,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Ct,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}});export{Lo as N,Gn as V,Fo as a,Mo as b,Co as c,To as d,Ge as h,ot as m}; diff --git a/public/assets/Tabs-d30e51ae.js b/public/assets/Tabs-d30e51ae.js deleted file mode 100644 index c26b77f..0000000 --- a/public/assets/Tabs-d30e51ae.js +++ /dev/null @@ -1,338 +0,0 @@ -import{g as Q,r as A,cD as pt,cE as vt,v as c,cG as xe,cU as ht,cV as Z,bR as gt,c3 as mt,aK as $e,bm as xt,k as J,aj as yt,O as wt,bH as St,ch as Ct,bn as Rt,c9 as Tt,a as r,b as i,c as S,d as E,a3 as zt,u as $t,h as Pe,cW as Pt,cR as ye,cX as re,l as Wt,w as ne,L as Lt,aT as _t,t as k,cY as At,aN as Et,a5 as j,cM as K,n as Bt,a9 as we,cn as oe,A as q,a7 as kt,D as ie,ah as jt,ai as It,aZ as Ot,b3 as Ht}from"./index-2efe4620.js";import{A as Ft}from"./Add-1eab33c9.js";const Dt=xe(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[xe("&::-webkit-scrollbar",{width:0,height:0})]),Mt=Q({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=A(null);function n(l){!(l.currentTarget.offsetWidth=n||R<0||W&&F>=x}function P(){var b=se();if($(b))return z(b);f=setTimeout(P,C(b))}function z(b){return f=void 0,L&&p?y(b):(p=l=void 0,v)}function H(){f!==void 0&&clearTimeout(f),h=0,p=m=l=f=void 0}function _(){return f===void 0?v:z(se())}function u(){var b=se(),R=$(b);if(p=arguments,l=this,m=b,R){if(f===void 0)return T(m);if(W)return clearTimeout(f),f=setTimeout(P,n),y(m)}return f===void 0&&(f=setTimeout(P,n)),v}return u.cancel=H,u.flush=_,u}var aa="Expected a function";function le(e,n,d){var p=!0,l=!0;if(typeof e!="function")throw new TypeError(aa);return Z(d)&&(p="leading"in d?!!d.leading:p,l="trailing"in d?!!d.trailing:l),ta(e,n,{leading:p,maxWait:n,trailing:l})}const be=mt("n-tabs"),We={tab:[String,Number,Object,Function],name:{type:[String,Number],required:!0},disabled:Boolean,displayDirective:{type:String,default:"if"},closable:{type:Boolean,default:void 0},tabProps:Object,label:[String,Number,Object,Function]},la=Q({__TAB_PANE__:!0,name:"TabPane",alias:["TabPanel"],props:We,setup(e){const n=$e(be,null);return n||xt("tab-pane","`n-tab-pane` must be placed inside `n-tabs`."),{style:n.paneStyleRef,class:n.paneClassRef,mergedClsPrefix:n.mergedClsPrefixRef}},render(){return c("div",{class:[`${this.mergedClsPrefix}-tab-pane`,this.class],style:this.style},this.$slots)}}),ra=Object.assign({internalLeftPadded:Boolean,internalAddable:Boolean,internalCreatedByPane:Boolean},Tt(We,["displayDirective"])),ce=Q({__TAB__:!0,inheritAttrs:!1,name:"Tab",props:ra,setup(e){const{mergedClsPrefixRef:n,valueRef:d,typeRef:p,closableRef:l,tabStyleRef:x,addTabStyleRef:v,tabClassRef:f,addTabClassRef:m,tabChangeIdRef:h,onBeforeLeaveRef:g,triggerRef:W,handleAdd:L,activateTab:y,handleClose:T}=$e(be);return{trigger:W,mergedClosable:J(()=>{if(e.internalAddable)return!1;const{closable:C}=e;return C===void 0?l.value:C}),style:x,addStyle:v,tabClass:f,addTabClass:m,clsPrefix:n,value:d,type:p,handleClose(C){C.stopPropagation(),!e.disabled&&T(e.name)},activateTab(){if(e.disabled)return;if(e.internalAddable){L();return}const{name:C}=e,$=++h.id;if(C!==d.value){const{value:P}=g;P?Promise.resolve(P(e.name,d.value)).then(z=>{z&&h.id===$&&y(C)}):y(C)}}}},render(){const{internalAddable:e,clsPrefix:n,name:d,disabled:p,label:l,tab:x,value:v,mergedClosable:f,trigger:m,$slots:{default:h}}=this,g=l??x;return c("div",{class:`${n}-tabs-tab-wrapper`},this.internalLeftPadded?c("div",{class:`${n}-tabs-tab-pad`}):null,c("div",Object.assign({key:d,"data-name":d,"data-disabled":p?!0:void 0},yt({class:[`${n}-tabs-tab`,v===d&&`${n}-tabs-tab--active`,p&&`${n}-tabs-tab--disabled`,f&&`${n}-tabs-tab--closable`,e&&`${n}-tabs-tab--addable`,e?this.addTabClass:this.tabClass],onClick:m==="click"?this.activateTab:void 0,onMouseenter:m==="hover"?this.activateTab:void 0,style:e?this.addStyle:this.style},this.internalCreatedByPane?this.tabProps||{}:this.$attrs)),c("span",{class:`${n}-tabs-tab__label`},e?c(wt,null,c("div",{class:`${n}-tabs-tab__height-placeholder`}," "),c(St,{clsPrefix:n},{default:()=>c(Ft,null)})):h?h():typeof g=="object"?g:Ct(g??d)),f&&this.type==="card"?c(Rt,{clsPrefix:n,class:`${n}-tabs-tab__close`,onClick:this.handleClose,disabled:p}):null))}}),na=r("tabs",` - box-sizing: border-box; - width: 100%; - display: flex; - flex-direction: column; - transition: - background-color .3s var(--n-bezier), - border-color .3s var(--n-bezier); -`,[i("segment-type",[r("tabs-rail",[S("&.transition-disabled",[r("tabs-capsule",` - transition: none; - `)])])]),i("top",[r("tab-pane",` - padding: var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left); - `)]),i("left",[r("tab-pane",` - padding: var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left) var(--n-pane-padding-top); - `)]),i("left, right",` - flex-direction: row; - `,[r("tabs-bar",` - width: 2px; - right: 0; - transition: - top .2s var(--n-bezier), - max-height .2s var(--n-bezier), - background-color .3s var(--n-bezier); - `),r("tabs-tab",` - padding: var(--n-tab-padding-vertical); - `)]),i("right",` - flex-direction: row-reverse; - `,[r("tab-pane",` - padding: var(--n-pane-padding-left) var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom); - `),r("tabs-bar",` - left: 0; - `)]),i("bottom",` - flex-direction: column-reverse; - justify-content: flex-end; - `,[r("tab-pane",` - padding: var(--n-pane-padding-bottom) var(--n-pane-padding-right) var(--n-pane-padding-top) var(--n-pane-padding-left); - `),r("tabs-bar",` - top: 0; - `)]),r("tabs-rail",` - padding: 3px; - border-radius: var(--n-tab-border-radius); - width: 100%; - background-color: var(--n-color-segment); - transition: background-color .3s var(--n-bezier); - display: flex; - align-items: center; - `,[r("tabs-capsule",` - border-radius: var(--n-tab-border-radius); - position: absolute; - pointer-events: none; - background-color: var(--n-tab-color-segment); - box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .08); - transition: transform 0.3s var(--n-bezier); - `),r("tabs-tab-wrapper",` - flex-basis: 0; - flex-grow: 1; - display: flex; - align-items: center; - justify-content: center; - `,[r("tabs-tab",` - overflow: hidden; - border-radius: var(--n-tab-border-radius); - width: 100%; - display: flex; - align-items: center; - justify-content: center; - `,[i("active",` - font-weight: var(--n-font-weight-strong); - color: var(--n-tab-text-color-active); - `),S("&:hover",` - color: var(--n-tab-text-color-hover); - `)])])]),i("flex",[r("tabs-nav",` - width: 100%; - position: relative; - `,[r("tabs-wrapper",` - width: 100%; - `,[r("tabs-tab",` - margin-right: 0; - `)])])]),r("tabs-nav",` - box-sizing: border-box; - line-height: 1.5; - display: flex; - transition: border-color .3s var(--n-bezier); - `,[E("prefix, suffix",` - display: flex; - align-items: center; - `),E("prefix","padding-right: 16px;"),E("suffix","padding-left: 16px;")]),i("top, bottom",[r("tabs-nav-scroll-wrapper",[S("&::before",` - top: 0; - bottom: 0; - left: 0; - width: 20px; - `),S("&::after",` - top: 0; - bottom: 0; - right: 0; - width: 20px; - `),i("shadow-start",[S("&::before",` - box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12); - `)]),i("shadow-end",[S("&::after",` - box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12); - `)])])]),i("left, right",[r("tabs-nav-scroll-content",` - flex-direction: column; - `),r("tabs-nav-scroll-wrapper",[S("&::before",` - top: 0; - left: 0; - right: 0; - height: 20px; - `),S("&::after",` - bottom: 0; - left: 0; - right: 0; - height: 20px; - `),i("shadow-start",[S("&::before",` - box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12); - `)]),i("shadow-end",[S("&::after",` - box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12); - `)])])]),r("tabs-nav-scroll-wrapper",` - flex: 1; - position: relative; - overflow: hidden; - `,[r("tabs-nav-y-scroll",` - height: 100%; - width: 100%; - overflow-y: auto; - scrollbar-width: none; - `,[S("&::-webkit-scrollbar",` - width: 0; - height: 0; - `)]),S("&::before, &::after",` - transition: box-shadow .3s var(--n-bezier); - pointer-events: none; - content: ""; - position: absolute; - z-index: 1; - `)]),r("tabs-nav-scroll-content",` - display: flex; - position: relative; - min-width: 100%; - min-height: 100%; - width: fit-content; - box-sizing: border-box; - `),r("tabs-wrapper",` - display: inline-flex; - flex-wrap: nowrap; - position: relative; - `),r("tabs-tab-wrapper",` - display: flex; - flex-wrap: nowrap; - flex-shrink: 0; - flex-grow: 0; - `),r("tabs-tab",` - cursor: pointer; - white-space: nowrap; - flex-wrap: nowrap; - display: inline-flex; - align-items: center; - color: var(--n-tab-text-color); - font-size: var(--n-tab-font-size); - background-clip: padding-box; - padding: var(--n-tab-padding); - transition: - box-shadow .3s var(--n-bezier), - color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - border-color .3s var(--n-bezier); - `,[i("disabled",{cursor:"not-allowed"}),E("close",` - margin-left: 6px; - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - `),E("label",` - display: flex; - align-items: center; - z-index: 1; - `)]),r("tabs-bar",` - position: absolute; - bottom: 0; - height: 2px; - border-radius: 1px; - background-color: var(--n-bar-color); - transition: - left .2s var(--n-bezier), - max-width .2s var(--n-bezier), - opacity .3s var(--n-bezier), - background-color .3s var(--n-bezier); - `,[S("&.transition-disabled",` - transition: none; - `),i("disabled",` - background-color: var(--n-tab-text-color-disabled) - `)]),r("tabs-pane-wrapper",` - position: relative; - overflow: hidden; - transition: max-height .2s var(--n-bezier); - `),r("tab-pane",` - color: var(--n-pane-text-color); - width: 100%; - transition: - color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - opacity .2s var(--n-bezier); - left: 0; - right: 0; - top: 0; - `,[S("&.next-transition-leave-active, &.prev-transition-leave-active, &.next-transition-enter-active, &.prev-transition-enter-active",` - transition: - color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - transform .2s var(--n-bezier), - opacity .2s var(--n-bezier); - `),S("&.next-transition-leave-active, &.prev-transition-leave-active",` - position: absolute; - `),S("&.next-transition-enter-from, &.prev-transition-leave-to",` - transform: translateX(32px); - opacity: 0; - `),S("&.next-transition-leave-to, &.prev-transition-enter-from",` - transform: translateX(-32px); - opacity: 0; - `),S("&.next-transition-leave-from, &.next-transition-enter-to, &.prev-transition-leave-from, &.prev-transition-enter-to",` - transform: translateX(0); - opacity: 1; - `)]),r("tabs-tab-pad",` - box-sizing: border-box; - width: var(--n-tab-gap); - flex-grow: 0; - flex-shrink: 0; - `),i("line-type, bar-type",[r("tabs-tab",` - font-weight: var(--n-tab-font-weight); - box-sizing: border-box; - vertical-align: bottom; - `,[S("&:hover",{color:"var(--n-tab-text-color-hover)"}),i("active",` - color: var(--n-tab-text-color-active); - font-weight: var(--n-tab-font-weight-active); - `),i("disabled",{color:"var(--n-tab-text-color-disabled)"})])]),r("tabs-nav",[i("line-type",[i("top",[E("prefix, suffix",` - border-bottom: 1px solid var(--n-tab-border-color); - `),r("tabs-nav-scroll-content",` - border-bottom: 1px solid var(--n-tab-border-color); - `),r("tabs-bar",` - bottom: -1px; - `)]),i("left",[E("prefix, suffix",` - border-right: 1px solid var(--n-tab-border-color); - `),r("tabs-nav-scroll-content",` - border-right: 1px solid var(--n-tab-border-color); - `),r("tabs-bar",` - right: -1px; - `)]),i("right",[E("prefix, suffix",` - border-left: 1px solid var(--n-tab-border-color); - `),r("tabs-nav-scroll-content",` - border-left: 1px solid var(--n-tab-border-color); - `),r("tabs-bar",` - left: -1px; - `)]),i("bottom",[E("prefix, suffix",` - border-top: 1px solid var(--n-tab-border-color); - `),r("tabs-nav-scroll-content",` - border-top: 1px solid var(--n-tab-border-color); - `),r("tabs-bar",` - top: -1px; - `)]),E("prefix, suffix",` - transition: border-color .3s var(--n-bezier); - `),r("tabs-nav-scroll-content",` - transition: border-color .3s var(--n-bezier); - `),r("tabs-bar",` - border-radius: 0; - `)]),i("card-type",[E("prefix, suffix",` - transition: border-color .3s var(--n-bezier); - border-bottom: 1px solid var(--n-tab-border-color); - `),r("tabs-pad",` - flex-grow: 1; - transition: border-color .3s var(--n-bezier); - `),r("tabs-tab-pad",` - transition: border-color .3s var(--n-bezier); - `),r("tabs-tab",` - font-weight: var(--n-tab-font-weight); - border: 1px solid var(--n-tab-border-color); - background-color: var(--n-tab-color); - box-sizing: border-box; - position: relative; - vertical-align: bottom; - display: flex; - justify-content: space-between; - font-size: var(--n-tab-font-size); - color: var(--n-tab-text-color); - `,[i("addable",` - padding-left: 8px; - padding-right: 8px; - font-size: 16px; - `,[E("height-placeholder",` - width: 0; - font-size: var(--n-tab-font-size); - `),zt("disabled",[S("&:hover",` - color: var(--n-tab-text-color-hover); - `)])]),i("closable","padding-right: 8px;"),i("active",` - background-color: #0000; - font-weight: var(--n-tab-font-weight-active); - color: var(--n-tab-text-color-active); - `),i("disabled","color: var(--n-tab-text-color-disabled);")]),r("tabs-scroll-padding","border-bottom: 1px solid var(--n-tab-border-color);")]),i("left, right",[r("tabs-wrapper",` - flex-direction: column; - `,[r("tabs-tab-wrapper",` - flex-direction: column; - `,[r("tabs-tab-pad",` - height: var(--n-tab-gap-vertical); - width: 100%; - `)])])]),i("top",[i("card-type",[r("tabs-tab",` - border-top-left-radius: var(--n-tab-border-radius); - border-top-right-radius: var(--n-tab-border-radius); - `,[i("active",` - border-bottom: 1px solid #0000; - `)]),r("tabs-tab-pad",` - border-bottom: 1px solid var(--n-tab-border-color); - `),r("tabs-pad",` - border-bottom: 1px solid var(--n-tab-border-color); - `)])]),i("left",[i("card-type",[r("tabs-tab",` - border-top-left-radius: var(--n-tab-border-radius); - border-bottom-left-radius: var(--n-tab-border-radius); - `,[i("active",` - border-right: 1px solid #0000; - `)]),r("tabs-tab-pad",` - border-right: 1px solid var(--n-tab-border-color); - `),r("tabs-pad",` - border-right: 1px solid var(--n-tab-border-color); - `)])]),i("right",[i("card-type",[r("tabs-tab",` - border-top-right-radius: var(--n-tab-border-radius); - border-bottom-right-radius: var(--n-tab-border-radius); - `,[i("active",` - border-left: 1px solid #0000; - `)]),r("tabs-tab-pad",` - border-left: 1px solid var(--n-tab-border-color); - `),r("tabs-pad",` - border-left: 1px solid var(--n-tab-border-color); - `)])]),i("bottom",[i("card-type",[r("tabs-tab",` - border-bottom-left-radius: var(--n-tab-border-radius); - border-bottom-right-radius: var(--n-tab-border-radius); - `,[i("active",` - border-top: 1px solid #0000; - `)]),r("tabs-tab-pad",` - border-top: 1px solid var(--n-tab-border-color); - `),r("tabs-pad",` - border-top: 1px solid var(--n-tab-border-color); - `)])])])]),oa=Object.assign(Object.assign({},Pe.props),{value:[String,Number],defaultValue:[String,Number],trigger:{type:String,default:"click"},type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},placement:{type:String,default:"top"},tabStyle:[String,Object],tabClass:String,addTabStyle:[String,Object],addTabClass:String,barWidth:Number,paneClass:String,paneStyle:[String,Object],paneWrapperClass:String,paneWrapperStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},animated:Boolean,onBeforeLeave:Function,onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]}),da=Q({name:"Tabs",props:oa,setup(e,{slots:n}){var d,p,l,x;const{mergedClsPrefixRef:v,inlineThemeDisabled:f}=$t(e),m=Pe("Tabs","-tabs",na,Pt,e,v),h=A(null),g=A(null),W=A(null),L=A(null),y=A(null),T=A(null),C=A(!0),$=A(!0),P=ye(e,["labelSize","size"]),z=ye(e,["activeName","value"]),H=A((p=(d=z.value)!==null&&d!==void 0?d:e.defaultValue)!==null&&p!==void 0?p:n.default?(x=(l=re(n.default())[0])===null||l===void 0?void 0:l.props)===null||x===void 0?void 0:x.name:null),_=Wt(z,H),u={id:0},b=J(()=>{if(!(!e.justifyContent||e.type==="card"))return{display:"flex",justifyContent:e.justifyContent}});ne(_,()=>{u.id=0,V(),ue()});function R(){var a;const{value:t}=_;return t===null?null:(a=h.value)===null||a===void 0?void 0:a.querySelector(`[data-name="${t}"]`)}function F(a){if(e.type==="card")return;const{value:t}=g;if(!t)return;const o=t.style.opacity==="0";if(a){const s=`${v.value}-tabs-bar--disabled`,{barWidth:w,placement:I}=e;if(a.dataset.disabled==="true"?t.classList.add(s):t.classList.remove(s),["top","bottom"].includes(I)){if(fe(["top","maxHeight","height"]),typeof w=="number"&&a.offsetWidth>=w){const B=Math.floor((a.offsetWidth-w)/2)+a.offsetLeft;t.style.left=`${B}px`,t.style.maxWidth=`${w}px`}else t.style.left=`${a.offsetLeft}px`,t.style.maxWidth=`${a.offsetWidth}px`;t.style.width="8192px",o&&(t.style.transition="none"),t.offsetWidth,o&&(t.style.transition="",t.style.opacity="1")}else{if(fe(["left","maxWidth","width"]),typeof w=="number"&&a.offsetHeight>=w){const B=Math.floor((a.offsetHeight-w)/2)+a.offsetTop;t.style.top=`${B}px`,t.style.maxHeight=`${w}px`}else t.style.top=`${a.offsetTop}px`,t.style.maxHeight=`${a.offsetHeight}px`;t.style.height="8192px",o&&(t.style.transition="none"),t.offsetHeight,o&&(t.style.transition="",t.style.opacity="1")}}}function N(){if(e.type==="card")return;const{value:a}=g;a&&(a.style.opacity="0")}function fe(a){const{value:t}=g;if(t)for(const o of a)t.style[o]=""}function V(){if(e.type==="card")return;const a=R();a?F(a):N()}function ue(a){var t;const o=(t=y.value)===null||t===void 0?void 0:t.$el;if(!o)return;const s=R();if(!s)return;const{scrollLeft:w,offsetWidth:I}=o,{offsetLeft:B,offsetWidth:G}=s;w>B?o.scrollTo({top:0,left:B,behavior:"smooth"}):B+G>w+I&&o.scrollTo({top:0,left:B+G-I,behavior:"smooth"})}const X=A(null);let ee=0,O=null;function Le(a){const t=X.value;if(t){ee=a.getBoundingClientRect().height;const o=`${ee}px`,s=()=>{t.style.height=o,t.style.maxHeight=o};O?(s(),O(),O=null):O=s}}function _e(a){const t=X.value;if(t){const o=a.getBoundingClientRect().height,s=()=>{document.body.offsetHeight,t.style.maxHeight=`${o}px`,t.style.height=`${Math.max(ee,o)}px`};O?(O(),O=null,s()):O=s}}function Ae(){const a=X.value;if(a){a.style.maxHeight="",a.style.height="";const{paneWrapperStyle:t}=e;if(typeof t=="string")a.style.cssText=t;else if(t){const{maxHeight:o,height:s}=t;o!==void 0&&(a.style.maxHeight=o),s!==void 0&&(a.style.height=s)}}}const pe={value:[]},ve=A("next");function Ee(a){const t=_.value;let o="next";for(const s of pe.value){if(s===t)break;if(s===a){o="prev";break}}ve.value=o,Be(a)}function Be(a){const{onActiveNameChange:t,onUpdateValue:o,"onUpdate:value":s}=e;t&&q(t,a),o&&q(o,a),s&&q(s,a),H.value=a}function ke(a){const{onClose:t}=e;t&&q(t,a)}function he(){const{value:a}=g;if(!a)return;const t="transition-disabled";a.classList.add(t),V(),a.classList.remove(t)}const D=A(null);function te({transitionDisabled:a}){const t=h.value;if(!t)return;a&&t.classList.add("transition-disabled");const o=R();o&&D.value&&(D.value.style.width=`${o.offsetWidth}px`,D.value.style.height=`${o.offsetHeight}px`,D.value.style.transform=`translateX(${o.offsetLeft-t.offsetLeft-kt(getComputedStyle(t).paddingLeft)}px)`,a&&D.value.offsetWidth),a&&t.classList.remove("transition-disabled")}ne([_],()=>{e.type==="segment"&&ie(()=>{te({transitionDisabled:!1})})}),Lt(()=>{e.type==="segment"&&te({transitionDisabled:!0})});let ge=0;function je(a){var t;if(a.contentRect.width===0&&a.contentRect.height===0||ge===a.contentRect.width)return;ge=a.contentRect.width;const{type:o}=e;if((o==="line"||o==="bar")&&he(),o!=="segment"){const{placement:s}=e;ae((s==="top"||s==="bottom"?(t=y.value)===null||t===void 0?void 0:t.$el:T.value)||null)}}const Ie=le(je,64);ne([()=>e.justifyContent,()=>e.size],()=>{ie(()=>{const{type:a}=e;(a==="line"||a==="bar")&&he()})});const U=A(!1);function Oe(a){var t;const{target:o,contentRect:{width:s}}=a,w=o.parentElement.offsetWidth;if(!U.value)wI.$el.offsetWidth&&(U.value=!1)}ae(((t=y.value)===null||t===void 0?void 0:t.$el)||null)}const He=le(Oe,64);function Fe(){const{onAdd:a}=e;a&&a(),ie(()=>{const t=R(),{value:o}=y;!t||!o||o.scrollTo({left:t.offsetLeft,top:0,behavior:"smooth"})})}function ae(a){if(!a)return;const{placement:t}=e;if(t==="top"||t==="bottom"){const{scrollLeft:o,scrollWidth:s,offsetWidth:w}=a;C.value=o<=0,$.value=o+w>=s}else{const{scrollTop:o,scrollHeight:s,offsetHeight:w}=a;C.value=o<=0,$.value=o+w>=s}}const De=le(a=>{ae(a.target)},64);_t(be,{triggerRef:k(e,"trigger"),tabStyleRef:k(e,"tabStyle"),tabClassRef:k(e,"tabClass"),addTabStyleRef:k(e,"addTabStyle"),addTabClassRef:k(e,"addTabClass"),paneClassRef:k(e,"paneClass"),paneStyleRef:k(e,"paneStyle"),mergedClsPrefixRef:v,typeRef:k(e,"type"),closableRef:k(e,"closable"),valueRef:_,tabChangeIdRef:u,onBeforeLeaveRef:k(e,"onBeforeLeave"),activateTab:Ee,handleClose:ke,handleAdd:Fe}),At(()=>{V(),ue()}),Et(()=>{const{value:a}=W;if(!a)return;const{value:t}=v,o=`${t}-tabs-nav-scroll-wrapper--shadow-start`,s=`${t}-tabs-nav-scroll-wrapper--shadow-end`;C.value?a.classList.remove(o):a.classList.add(o),$.value?a.classList.remove(s):a.classList.add(s)});const Me={syncBarPosition:()=>{V()}},Ne=()=>{te({transitionDisabled:!0})},me=J(()=>{const{value:a}=P,{type:t}=e,o={card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[t],s=`${a}${o}`,{self:{barColor:w,closeIconColor:I,closeIconColorHover:B,closeIconColorPressed:G,tabColor:Ve,tabBorderColor:Xe,paneTextColor:Ue,tabFontWeight:Ge,tabBorderRadius:Ye,tabFontWeightActive:Ke,colorSegment:qe,fontWeightStrong:Je,tabColorSegment:Ze,closeSize:Qe,closeIconSize:et,closeColorHover:tt,closeColorPressed:at,closeBorderRadius:rt,[j("panePadding",a)]:Y,[j("tabPadding",s)]:nt,[j("tabPaddingVertical",s)]:ot,[j("tabGap",s)]:it,[j("tabGap",`${s}Vertical`)]:st,[j("tabTextColor",t)]:lt,[j("tabTextColorActive",t)]:dt,[j("tabTextColorHover",t)]:ct,[j("tabTextColorDisabled",t)]:bt,[j("tabFontSize",a)]:ft},common:{cubicBezierEaseInOut:ut}}=m.value;return{"--n-bezier":ut,"--n-color-segment":qe,"--n-bar-color":w,"--n-tab-font-size":ft,"--n-tab-text-color":lt,"--n-tab-text-color-active":dt,"--n-tab-text-color-disabled":bt,"--n-tab-text-color-hover":ct,"--n-pane-text-color":Ue,"--n-tab-border-color":Xe,"--n-tab-border-radius":Ye,"--n-close-size":Qe,"--n-close-icon-size":et,"--n-close-color-hover":tt,"--n-close-color-pressed":at,"--n-close-border-radius":rt,"--n-close-icon-color":I,"--n-close-icon-color-hover":B,"--n-close-icon-color-pressed":G,"--n-tab-color":Ve,"--n-tab-font-weight":Ge,"--n-tab-font-weight-active":Ke,"--n-tab-padding":nt,"--n-tab-padding-vertical":ot,"--n-tab-gap":it,"--n-tab-gap-vertical":st,"--n-pane-padding-left":K(Y,"left"),"--n-pane-padding-right":K(Y,"right"),"--n-pane-padding-top":K(Y,"top"),"--n-pane-padding-bottom":K(Y,"bottom"),"--n-font-weight-strong":Je,"--n-tab-color-segment":Ze}}),M=f?Bt("tabs",J(()=>`${P.value[0]}${e.type[0]}`),me,e):void 0;return Object.assign({mergedClsPrefix:v,mergedValue:_,renderedNames:new Set,segmentCapsuleElRef:D,tabsPaneWrapperRef:X,tabsElRef:h,barElRef:g,addTabInstRef:L,xScrollInstRef:y,scrollWrapperElRef:W,addTabFixed:U,tabWrapperStyle:b,handleNavResize:Ie,mergedSize:P,handleScroll:De,handleTabsResize:He,cssVars:f?void 0:me,themeClass:M==null?void 0:M.themeClass,animationDirection:ve,renderNameListRef:pe,yScrollElRef:T,handleSegmentResize:Ne,onAnimationBeforeLeave:Le,onAnimationEnter:_e,onAnimationAfterEnter:Ae,onRender:M==null?void 0:M.onRender},Me)},render(){const{mergedClsPrefix:e,type:n,placement:d,addTabFixed:p,addable:l,mergedSize:x,renderNameListRef:v,onRender:f,paneWrapperClass:m,paneWrapperStyle:h,$slots:{default:g,prefix:W,suffix:L}}=this;f==null||f();const y=g?re(g()).filter(u=>u.type.__TAB_PANE__===!0):[],T=g?re(g()).filter(u=>u.type.__TAB__===!0):[],C=!T.length,$=n==="card",P=n==="segment",z=!$&&!P&&this.justifyContent;v.value=[];const H=()=>{const u=c("div",{style:this.tabWrapperStyle,class:[`${e}-tabs-wrapper`]},z?null:c("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}),C?y.map((b,R)=>(v.value.push(b.props.name),de(c(ce,Object.assign({},b.props,{internalCreatedByPane:!0,internalLeftPadded:R!==0&&(!z||z==="center"||z==="start"||z==="end")}),b.children?{default:b.children.tab}:void 0)))):T.map((b,R)=>(v.value.push(b.props.name),de(R!==0&&!z?ze(b):b))),!p&&l&&$?Te(l,(C?y.length:T.length)!==0):null,z?null:c("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}));return c("div",{ref:"tabsElRef",class:`${e}-tabs-nav-scroll-content`},$&&l?c(oe,{onResize:this.handleTabsResize},{default:()=>u}):u,$?c("div",{class:`${e}-tabs-pad`}):null,$?null:c("div",{ref:"barElRef",class:`${e}-tabs-bar`}))},_=P?"top":d;return c("div",{class:[`${e}-tabs`,this.themeClass,`${e}-tabs--${n}-type`,`${e}-tabs--${x}-size`,z&&`${e}-tabs--flex`,`${e}-tabs--${_}`],style:this.cssVars},c("div",{class:[`${e}-tabs-nav--${n}-type`,`${e}-tabs-nav--${_}`,`${e}-tabs-nav`]},we(W,u=>u&&c("div",{class:`${e}-tabs-nav__prefix`},u)),P?c(oe,{onResize:this.handleSegmentResize},{default:()=>c("div",{class:`${e}-tabs-rail`,ref:"tabsElRef"},c("div",{class:`${e}-tabs-capsule`,ref:"segmentCapsuleElRef"},c("div",{class:`${e}-tabs-wrapper`},c("div",{class:`${e}-tabs-tab`}))),C?y.map((u,b)=>(v.value.push(u.props.name),c(ce,Object.assign({},u.props,{internalCreatedByPane:!0,internalLeftPadded:b!==0}),u.children?{default:u.children.tab}:void 0))):T.map((u,b)=>(v.value.push(u.props.name),b===0?u:ze(u))))}):c(oe,{onResize:this.handleNavResize},{default:()=>c("div",{class:`${e}-tabs-nav-scroll-wrapper`,ref:"scrollWrapperElRef"},["top","bottom"].includes(_)?c(Mt,{ref:"xScrollInstRef",onScroll:this.handleScroll},{default:H}):c("div",{class:`${e}-tabs-nav-y-scroll`,onScroll:this.handleScroll,ref:"yScrollElRef"},H()))}),p&&l&&$?Te(l,!0):null,we(L,u=>u&&c("div",{class:`${e}-tabs-nav__suffix`},u))),C&&(this.animated&&(_==="top"||_==="bottom")?c("div",{ref:"tabsPaneWrapperRef",style:h,class:[`${e}-tabs-pane-wrapper`,m]},Re(y,this.mergedValue,this.renderedNames,this.onAnimationBeforeLeave,this.onAnimationEnter,this.onAnimationAfterEnter,this.animationDirection)):Re(y,this.mergedValue,this.renderedNames)))}});function Re(e,n,d,p,l,x,v){const f=[];return e.forEach(m=>{const{name:h,displayDirective:g,"display-directive":W}=m.props,L=T=>g===T||W===T,y=n===h;if(m.key!==void 0&&(m.key=h),y||L("show")||L("show:lazy")&&d.has(h)){d.has(h)||d.add(h);const T=!L("if");f.push(T?jt(m,[[It,y]]):m)}}),v?c(Ot,{name:`${v}-transition`,onBeforeLeave:p,onEnter:l,onAfterEnter:x},{default:()=>f}):f}function Te(e,n){return c(ce,{ref:"addTabInstRef",key:"__addable",name:"__addable",internalCreatedByPane:!0,internalAddable:!0,internalLeftPadded:n,disabled:typeof e=="object"&&e.disabled})}function ze(e){const n=Ht(e);return n.props?n.props.internalLeftPadded=!0:n.props={internalLeftPadded:!0},n}function de(e){return Array.isArray(e.dynamicProps)?e.dynamicProps.includes("internalLeftPadded")||e.dynamicProps.push("internalLeftPadded"):e.dynamicProps=["internalLeftPadded"],e}export{la as N,da as a,Ce as t}; diff --git a/public/assets/_plugin-vue_export-helper-c27b6911.js b/public/assets/_plugin-vue_export-helper-c27b6911.js new file mode 100644 index 0000000..718edd3 --- /dev/null +++ b/public/assets/_plugin-vue_export-helper-c27b6911.js @@ -0,0 +1 @@ +const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _}; diff --git a/public/assets/chat-7ac51a07.js b/public/assets/chat-7ac51a07.js deleted file mode 100644 index ede9d97..0000000 --- a/public/assets/chat-7ac51a07.js +++ /dev/null @@ -1,52 +0,0 @@ -import{aG as $e,Q as D,E as M,F as K,G as y,g as ut,aH as Nt,k as W,az as Ot,H as mn,X as w,O as ot,aI as ya,aJ as gS,aK as sm,J as En,w as mt,M as la,r as j,a0 as Q,af as Sn,Z as ne,aA as Me,S as X,N as mr,P as Ht,U as ue,ar as cm,R as ie,L as tr,aL as Lc,aM as lm,ah as dm,ai as mS,v as ES,_ as Na,aN as SS,am as Et,ap as Pl,K as um,aO as fS,aP as _m,ak as il,aQ as pm,T as da,aR as gm,aS as CS,D as ua,ay as mm,al as bS,aT as Em,aU as TS,aV as Ql,aW as Gl,at as hS,aX as vS}from"./index-2efe4620.js";import{L as RS}from"./Loading-05848be1.js";import{r as IS,b as yS,M as NS}from"./index.esm-75698fae.js";import{c as Sm}from"./index-c94da121.js";import{S as tn,g as rn,D as OS,b as _a,M as wr,_ as BS}from"./index.vue_vue_type_script_setup_true_lang-470ccb3e.js";import"./LayoutSider-0c83106f.js";function wn(t){return Object.prototype.toString.call(t)==="[object String]"}const wS=$e("calendar",!1,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M5 19H43V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V19Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M5 9C5 7.89543 5.89543 7 7 7H41C42.1046 7 43 7.89543 43 9V19H5V9Z",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M16 4V12",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M32 4V12",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M28 34H34",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M14 34H20",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M28 26H34",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M14 26H20",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),DS=$e("commodity",!1,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M9.78101 9.75193C9.90612 8.75107 10.7569 8 11.7656 8H36.2344C37.2431 8 38.0939 8.75107 38.219 9.75193L41.719 37.7519C41.8682 38.9456 40.9374 40 39.7344 40H8.26556C7.06257 40 6.1318 38.9456 6.28101 37.7519L9.78101 9.75193Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M15 18C15 18 17 22 24 22C31 22 33 18 33 18",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Oa=$e("copy",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),Ba=$e("delete",!1,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M9 10V44H39V10H9Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M20 20V33",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M28 20V33",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M4 10H44",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),LS=$e("earth",!1,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M4 24H44",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44C28.4183 44 32 35.0457 32 24C32 12.9543 28.4183 4 24 4C19.5817 4 16 12.9543 16 24C16 35.0457 19.5817 44 24 44Z",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M9.85791 10.1421C13.4772 13.7614 18.4772 16 24 16C29.5229 16 34.5229 13.7614 38.1422 10.1421",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M38.1422 37.8579C34.5229 34.2386 29.5229 32 24 32C18.4772 32 13.4772 34.2386 9.85791 37.8579",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),xS=$e("hamburger-button",!1,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M7.94971 11.9497H39.9497",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M7.94971 23.9497H39.9497",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M7.94971 35.9497H39.9497",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),MS=$e("link",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M24.7073 9.56521L9.85801 24.4145C6.34329 27.9292 6.34329 33.6277 9.85801 37.1424V37.1424C13.3727 40.6571 19.0712 40.6571 22.5859 37.1424L40.2636 19.4647C42.6067 17.1216 42.6067 13.3226 40.2636 10.9794V10.9794C37.9205 8.63628 34.1215 8.63628 31.7783 10.9794L14.1007 28.6571C12.9291 29.8287 12.9291 31.7282 14.1007 32.8997V32.8997C15.2722 34.0713 17.1717 34.0713 18.3433 32.8997L33.1925 18.0505",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),US=$e("loading-four",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),FS=$e("mindmap-map",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M26 24L42 24",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M26 38H42",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M26 10H42",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M18 24L6 24C6 24 7.65685 24 10 24M18 38C12 36 16 24 10 24M18 10C12 12 16 24 10 24",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Al=$e("pause-one",!1,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M19 18V30",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M29 18V30",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),ol=$e("refresh",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M42 8V24",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M6 24L6 40",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M42 24C42 14.0589 33.9411 6 24 6C18.9145 6 14.3216 8.10896 11.0481 11.5M6 24C6 33.9411 14.0589 42 24 42C28.8556 42 33.2622 40.0774 36.5 36.9519",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),kS=$e("right",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M19 12L31 24L19 36",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),sl=$e("rotation",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,"stroke-dasharray":"2 6"},null)])}),PS=$e("shuffle-one",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M40 33L44 37L40 41",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M40 7L44 11L40 15",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M44 11H37C29.8203 11 24 16.8203 24 24C24 31.1797 29.8203 37 37 37H44",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap},null),D("path",{d:"M4 37H11C18.1797 37 24 31.1797 24 24C24 16.8203 18.1797 11 11 11H4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap},null)])}),QS=$e("sun-one",!1,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M24 37C31.1797 37 37 31.1797 37 24C37 16.8203 31.1797 11 24 11C16.8203 11 11 16.8203 11 24C11 31.1797 16.8203 37 24 37Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M24 6C25.3807 6 26.5 4.88071 26.5 3.5C26.5 2.11929 25.3807 1 24 1C22.6193 1 21.5 2.11929 21.5 3.5C21.5 4.88071 22.6193 6 24 6Z",fill:t.colors[0]},null),D("path",{d:"M38.5 12C39.8807 12 41 10.8807 41 9.5C41 8.11929 39.8807 7 38.5 7C37.1193 7 36 8.11929 36 9.5C36 10.8807 37.1193 12 38.5 12Z",fill:t.colors[0]},null),D("path",{d:"M44.5 26.5C45.8807 26.5 47 25.3807 47 24C47 22.6193 45.8807 21.5 44.5 21.5C43.1193 21.5 42 22.6193 42 24C42 25.3807 43.1193 26.5 44.5 26.5Z",fill:t.colors[0]},null),D("path",{d:"M38.5 41C39.8807 41 41 39.8807 41 38.5C41 37.1193 39.8807 36 38.5 36C37.1193 36 36 37.1193 36 38.5C36 39.8807 37.1193 41 38.5 41Z",fill:t.colors[0]},null),D("path",{d:"M24 47C25.3807 47 26.5 45.8807 26.5 44.5C26.5 43.1193 25.3807 42 24 42C22.6193 42 21.5 43.1193 21.5 44.5C21.5 45.8807 22.6193 47 24 47Z",fill:t.colors[0]},null),D("path",{d:"M9.5 41C10.8807 41 12 39.8807 12 38.5C12 37.1193 10.8807 36 9.5 36C8.11929 36 7 37.1193 7 38.5C7 39.8807 8.11929 41 9.5 41Z",fill:t.colors[0]},null),D("path",{d:"M3.5 26.5C4.88071 26.5 6 25.3807 6 24C6 22.6193 4.88071 21.5 3.5 21.5C2.11929 21.5 1 22.6193 1 24C1 25.3807 2.11929 26.5 3.5 26.5Z",fill:t.colors[0]},null),D("path",{d:"M9.5 12C10.8807 12 12 10.8807 12 9.5C12 8.11929 10.8807 7 9.5 7C8.11929 7 7 8.11929 7 9.5C7 10.8807 8.11929 12 9.5 12Z",fill:t.colors[0]},null)])}),cl=$e("voice-message",!0,function(t){return D("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[D("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M17 25.8994C18.1046 25.8994 19 25.004 19 23.8994C19 22.7948 18.1046 21.8994 17 21.8994C15.8954 21.8994 15 22.7948 15 23.8994C15 25.004 15.8954 25.8994 17 25.8994Z",fill:t.colors[2]},null),D("path",{d:"M21.9497 28.8492C23.2165 27.5825 24 25.8325 24 23.8995C24 21.9665 23.2165 20.2165 21.9497 18.9497",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),D("path",{d:"M26.8994 33.799C29.4329 31.2655 30.9999 27.7655 30.9999 23.8995C30.9999 20.0335 29.4329 16.5335 26.8994 14",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])});function GS(t,e){return M(),K("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})])}function HS(t,e){return M(),K("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"})])}function YS(t,e){return M(),K("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"})])}function VS(t,e){return M(),K("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 7.5A2.25 2.25 0 0 1 7.5 5.25h9a2.25 2.25 0 0 1 2.25 2.25v9a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-9Z"})])}function KS(t,e){return M(),K("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})])}function Hl(t,e){return M(),K("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}/*! - * html2canvas 1.4.1 - * Copyright (c) 2022 Niklas von Hertzen - * Released under MIT License - *//*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var xc=function(t,e){return xc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},xc(t,e)};function St(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");xc(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Mc=function(){return Mc=Object.assign||function(e){for(var r,n=1,a=arguments.length;n0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=55296&&a<=56319&&r>10)+55296,A%1024+56320)),(a+1===r||n.length>16384)&&(i+=String.fromCharCode.apply(String,n),n.length=0)}return i},Yl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",WS=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ln=0;Ln"u"?[]:new Uint8Array(256);for(var xn=0;xn>4,l[a++]=(A&15)<<4|o>>2,l[a++]=(o&3)<<6|s&63;return c},$S=function(t){for(var e=t.length,r=[],n=0;n>_r,JS=1<<_r,Ci=JS-1,jS=1024>>_r,ef=fm+jS,tf=ef,rf=32,nf=tf+rf,af=65536>>ll,Af=1<=0){if(e<55296||e>56319&&e<=65535)return r=this.index[e>>_r],r=(r<>_r)],r=(r<>ll),r=this.index[r],r+=e>>_r&of,r=this.index[r],r=(r<"u"?[]:new Uint8Array(256);for(var Mn=0;MnWl?(a.push(!0),o-=Wl):a.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return n.push(A),r.push(kc);if(o===pf||o===Uc){if(A===0)return n.push(A),r.push(lr);var s=r[A-1];return Tf.indexOf(s)===-1?(n.push(n[A-1]),r.push(s)):(n.push(A),r.push(lr))}if(n.push(A),o===ff)return r.push(e==="strict"?Pc:ln);if(o===hm||o===Sf)return r.push(lr);if(o===Cf)return i>=131072&&i<=196605||i>=196608&&i<=262141?r.push(ln):r.push(lr);r.push(o)}),[n,r,a]},hi=function(t,e,r,n){var a=n[r];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var i=r;i<=n.length;){i++;var A=n[i];if(A===e)return!0;if(A!==Zt)break}if(a===Zt)for(var i=r;i>0;){i--;var o=n[i];if(Array.isArray(t)?t.indexOf(o)!==-1:t===o)for(var s=r;s<=n.length;){s++;var A=n[s];if(A===e)return!0;if(A!==Zt)break}if(o!==Zt)break}return!1},ed=function(t,e){for(var r=t;r>=0;){var n=e[r];if(n===Zt)r--;else return n}return 0},Rf=function(t,e,r,n,a){if(r[n]===0)return de;var i=n-1;if(Array.isArray(a)&&a[i]===!0)return de;var A=i-1,o=i+1,s=e[i],c=A>=0?e[A]:0,l=e[o];if(s===Cm&&l===bm)return de;if(Kc.indexOf(s)!==-1)return vm;if(Kc.indexOf(l)!==-1||Rm.indexOf(l)!==-1)return de;if(ed(i,e)===Tm)return Pn;if(Vc.get(t[i])===Uc||(s===Fn||s===kn)&&Vc.get(t[o])===Uc||s===zl||l===zl||s===$l||[Zt,Fc,$r].indexOf(s)===-1&&l===$l||[Un,Vr,Ef,br,Tr].indexOf(l)!==-1||ed(i,e)===Kr||hi(bi,Kr,i,e)||hi([Un,Vr],Pc,i,e)||hi(Xl,Xl,i,e))return de;if(s===Zt)return Pn;if(s===bi||l===bi)return de;if(l===kc||s===kc)return Pn;if([Fc,$r,Pc].indexOf(l)!==-1||s===mf||c===Hc&&hf.indexOf(s)!==-1||s===Tr&&l===Hc||l===Zl||Qt.indexOf(l)!==-1&&s===tt||Qt.indexOf(s)!==-1&&l===tt||s===Zr&&[ln,Fn,kn].indexOf(l)!==-1||[ln,Fn,kn].indexOf(s)!==-1&&l===Xr||Qt.indexOf(s)!==-1&&Jl.indexOf(l)!==-1||Jl.indexOf(s)!==-1&&Qt.indexOf(l)!==-1||[Zr,Xr].indexOf(s)!==-1&&(l===tt||[Kr,$r].indexOf(l)!==-1&&e[o+1]===tt)||[Kr,$r].indexOf(s)!==-1&&l===tt||s===tt&&[tt,Tr,br].indexOf(l)!==-1)return de;if([tt,Tr,br,Un,Vr].indexOf(l)!==-1)for(var d=i;d>=0;){var u=e[d];if(u===tt)return de;if([Tr,br].indexOf(u)!==-1)d--;else break}if([Zr,Xr].indexOf(l)!==-1)for(var d=[Un,Vr].indexOf(s)!==-1?A:i;d>=0;){var u=e[d];if(u===tt)return de;if([Tr,br].indexOf(u)!==-1)d--;else break}if(Yc===s&&[Yc,Aa,Qc,Gc].indexOf(l)!==-1||[Aa,Qc].indexOf(s)!==-1&&[Aa,oa].indexOf(l)!==-1||[oa,Gc].indexOf(s)!==-1&&l===oa||jl.indexOf(s)!==-1&&[Zl,Xr].indexOf(l)!==-1||jl.indexOf(l)!==-1&&s===Zr||Qt.indexOf(s)!==-1&&Qt.indexOf(l)!==-1||s===br&&Qt.indexOf(l)!==-1||Qt.concat(tt).indexOf(s)!==-1&&l===Kr&&bf.indexOf(t[o])===-1||Qt.concat(tt).indexOf(l)!==-1&&s===Vr)return de;if(s===Ti&&l===Ti){for(var _=r[i],p=1;_>0&&(_--,e[_]===Ti);)p++;if(p%2!==0)return de}return s===Fn&&l===kn?de:Pn},If=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var r=vf(t,e.lineBreak),n=r[0],a=r[1],i=r[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(a=a.map(function(o){return[tt,lr,hm].indexOf(o)!==-1?ln:o}));var A=e.wordBreak==="keep-all"?i.map(function(o,s){return o&&t[s]>=19968&&t[s]<=40959}):void 0;return[n,a,A]},yf=function(){function t(e,r,n,a){this.codePoints=e,this.required=r===vm,this.start=n,this.end=a}return t.prototype.slice=function(){return xe.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),Nf=function(t,e){var r=Da(t),n=If(r,e),a=n[0],i=n[1],A=n[2],o=r.length,s=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var l=de;c=Im&&t<=57},sC=function(t){return t>=55296&&t<=57343},hr=function(t){return ze(t)||t>=Om&&t<=wm||t>=ym&&t<=nC},cC=function(t){return t>=ym&&t<=iC},lC=function(t){return t>=Om&&t<=oC},dC=function(t){return cC(t)||lC(t)},uC=function(t){return t>=Wf},Vn=function(t){return t===pa||t===wf||t===Df},ga=function(t){return dC(t)||uC(t)||t===Uf},id=function(t){return ga(t)||ze(t)||t===et},_C=function(t){return t>=Zf&&t<=Jf||t===jf||t>=eC&&t<=tC||t===rC},$t=function(t,e){return t!==nn?!1:e!==pa},Kn=function(t,e,r){return t===et?ga(e)||$t(e,r):ga(t)?!0:!!(t===nn&&$t(t,e))},Ri=function(t,e,r){return t===dr||t===et?ze(e)?!0:e===dn&&ze(r):ze(t===dn?e:t)},pC=function(t){var e=0,r=1;(t[e]===dr||t[e]===et)&&(t[e]===et&&(r=-1),e++);for(var n=[];ze(t[e]);)n.push(t[e++]);var a=n.length?parseInt(xe.apply(void 0,n),10):0;t[e]===dn&&e++;for(var i=[];ze(t[e]);)i.push(t[e++]);var A=i.length,o=A?parseInt(xe.apply(void 0,i),10):0;(t[e]===Bm||t[e]===Nm)&&e++;var s=1;(t[e]===dr||t[e]===et)&&(t[e]===et&&(s=-1),e++);for(var c=[];ze(t[e]);)c.push(t[e++]);var l=c.length?parseInt(xe.apply(void 0,c),10):0;return r*(a+o*Math.pow(10,-A))*Math.pow(10,s*l)},gC={type:2},mC={type:3},EC={type:4},SC={type:13},fC={type:8},CC={type:21},bC={type:9},TC={type:10},hC={type:11},vC={type:12},RC={type:14},qn={type:23},IC={type:1},yC={type:25},NC={type:24},OC={type:26},BC={type:27},wC={type:28},DC={type:29},LC={type:31},qc={type:32},Dm=function(){function t(){this._value=[]}return t.prototype.write=function(e){this._value=this._value.concat(Da(e))},t.prototype.read=function(){for(var e=[],r=this.consumeToken();r!==qc;)e.push(r),r=this.consumeToken();return e},t.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Qn:return this.consumeStringToken(Qn);case Lf:var r=this.peekCodePoint(0),n=this.peekCodePoint(1),a=this.peekCodePoint(2);if(id(r)||$t(n,a)){var i=Kn(r,n,a)?Bf:Of,A=this.consumeName();return{type:5,value:A,flags:i}}break;case xf:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),SC;break;case Gn:return this.consumeStringToken(Gn);case Hn:return gC;case Wr:return mC;case vi:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),RC;break;case dr:if(Ri(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case zf:return EC;case et:var o=e,s=this.peekCodePoint(0),c=this.peekCodePoint(1);if(Ri(o,s,c))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Kn(o,s,c))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===et&&c===Pf)return this.consumeCodePoint(),this.consumeCodePoint(),NC;break;case dn:if(Ri(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case rd:if(this.peekCodePoint(0)===vi)for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(l===vi&&(l=this.consumeCodePoint(),l===rd))return this.consumeToken();if(l===Rt)return this.consumeToken()}break;case $f:return OC;case Xf:return BC;case kf:if(this.peekCodePoint(0)===Ff&&this.peekCodePoint(1)===et&&this.peekCodePoint(2)===et)return this.consumeCodePoint(),this.consumeCodePoint(),yC;break;case Qf:var d=this.peekCodePoint(0),u=this.peekCodePoint(1),_=this.peekCodePoint(2);if(Kn(d,u,_)){var A=this.consumeName();return{type:7,value:A}}break;case Gf:return wC;case nn:if($t(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case Hf:return DC;case Yf:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),fC;break;case Vf:return hC;case Kf:return vC;case aC:case AC:var p=this.peekCodePoint(0),g=this.peekCodePoint(1);return p===dr&&(hr(g)||g===Yn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case nd:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),bC;if(this.peekCodePoint(0)===nd)return this.consumeCodePoint(),CC;break;case qf:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),TC;break;case Rt:return qc}return Vn(e)?(this.consumeWhiteSpace(),LC):ze(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):ga(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:xe(e)}},t.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},t.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},t.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},t.prototype.consumeUnicodeRangeToken=function(){for(var e=[],r=this.consumeCodePoint();hr(r)&&e.length<6;)e.push(r),r=this.consumeCodePoint();for(var n=!1;r===Yn&&e.length<6;)e.push(r),r=this.consumeCodePoint(),n=!0;if(n){var a=parseInt(xe.apply(void 0,e.map(function(s){return s===Yn?Im:s})),16),i=parseInt(xe.apply(void 0,e.map(function(s){return s===Yn?wm:s})),16);return{type:30,start:a,end:i}}var A=parseInt(xe.apply(void 0,e),16);if(this.peekCodePoint(0)===et&&hr(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var o=[];hr(r)&&o.length<6;)o.push(r),r=this.consumeCodePoint();var i=parseInt(xe.apply(void 0,o),16);return{type:30,start:A,end:i}}else return{type:30,start:A,end:A}},t.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Hn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Hn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},t.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===Gn||r===Qn){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt||this.peekCodePoint(0)===Wr)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),qn)}for(;;){var a=this.consumeCodePoint();if(a===Rt||a===Wr)return{type:22,value:xe.apply(void 0,e)};if(Vn(a))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt||this.peekCodePoint(0)===Wr?(this.consumeCodePoint(),{type:22,value:xe.apply(void 0,e)}):(this.consumeBadUrlRemnants(),qn);if(a===Qn||a===Gn||a===Hn||_C(a))return this.consumeBadUrlRemnants(),qn;if(a===nn)if($t(a,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),qn;else e.push(a)}},t.prototype.consumeWhiteSpace=function(){for(;Vn(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Wr||e===Rt)return;$t(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(e){for(var r=5e4,n="";e>0;){var a=Math.min(r,e);n+=xe.apply(void 0,this._value.splice(0,a)),e-=a}return this._value.shift(),n},t.prototype.consumeStringToken=function(e){var r="",n=0;do{var a=this._value[n];if(a===Rt||a===void 0||a===e)return r+=this.consumeStringSlice(n),{type:0,value:r};if(a===pa)return this._value.splice(0,n),IC;if(a===nn){var i=this._value[n+1];i!==Rt&&i!==void 0&&(i===pa?(r+=this.consumeStringSlice(n),n=-1,this._value.shift()):$t(a,i)&&(r+=this.consumeStringSlice(n),r+=xe(this.consumeEscapedCodePoint()),n=-1))}n++}while(!0)},t.prototype.consumeNumber=function(){var e=[],r=fn,n=this.peekCodePoint(0);for((n===dr||n===et)&&e.push(this.consumeCodePoint());ze(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var a=this.peekCodePoint(1);if(n===dn&&ze(a))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),r=td;ze(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),a=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((n===Bm||n===Nm)&&((a===dr||a===et)&&ze(i)||ze(a)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),r=td;ze(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[pC(e),r]},t.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),r=e[0],n=e[1],a=this.peekCodePoint(0),i=this.peekCodePoint(1),A=this.peekCodePoint(2);if(Kn(a,i,A)){var o=this.consumeName();return{type:15,number:r,flags:n,unit:o}}return a===Mf?(this.consumeCodePoint(),{type:16,number:r,flags:n}):{type:17,number:r,flags:n}},t.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(hr(e)){for(var r=xe(e);hr(this.peekCodePoint(0))&&r.length<6;)r+=xe(this.consumeCodePoint());Vn(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(r,16);return n===0||sC(n)||n>1114111?ad:n}return e===Rt?ad:e},t.prototype.consumeName=function(){for(var e="";;){var r=this.consumeCodePoint();if(id(r))e+=xe(r);else if($t(r,this.peekCodePoint(0)))e+=xe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),e}},t}(),Lm=function(){function t(e){this._tokens=e}return t.create=function(e){var r=new Dm;return r.write(e),new t(r.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var r=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var e=[];;){var r=this.consumeComponentValue();if(r.type===32)return e;e.push(r),e.push()}},t.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},t.prototype.consumeSimpleBlock=function(e){for(var r={type:e,values:[]},n=this.consumeToken();;){if(n.type===32||MC(n,e))return r;this.reconsumeToken(n),r.values.push(this.consumeComponentValue()),n=this.consumeToken()}},t.prototype.consumeFunction=function(e){for(var r={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(n.type===32||n.type===3)return r;this.reconsumeToken(n),r.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?qc:e},t.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},t}(),Cn=function(t){return t.type===15},Fr=function(t){return t.type===17},Te=function(t){return t.type===20},xC=function(t){return t.type===0},Wc=function(t,e){return Te(t)&&t.value===e},xm=function(t){return t.type!==31},Mr=function(t){return t.type!==31&&t.type!==4},Bt=function(t){var e=[],r=[];return t.forEach(function(n){if(n.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(r),r=[];return}n.type!==31&&r.push(n)}),r.length&&e.push(r),e},MC=function(t,e){return e===11&&t.type===12||e===28&&t.type===29?!0:e===2&&t.type===3},ar=function(t){return t.type===17||t.type===15},Ue=function(t){return t.type===16||ar(t)},Mm=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},He={type:17,number:0,flags:fn},dl={type:16,number:50,flags:fn},Jt={type:16,number:100,flags:fn},Jr=function(t,e,r){var n=t[0],a=t[1];return[Re(n,e),Re(typeof a<"u"?a:n,r)]},Re=function(t,e){if(t.type===16)return t.number/100*e;if(Cn(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},Um="deg",Fm="grad",km="rad",Pm="turn",La={name:"angle",parse:function(t,e){if(e.type===15)switch(e.unit){case Um:return Math.PI*e.number/180;case Fm:return Math.PI/200*e.number;case km:return e.number;case Pm:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},Qm=function(t){return t.type===15&&(t.unit===Um||t.unit===Fm||t.unit===km||t.unit===Pm)},Gm=function(t){var e=t.filter(Te).map(function(r){return r.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[He,He];case"to top":case"bottom":return st(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[He,Jt];case"to right":case"left":return st(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Jt,Jt];case"to bottom":case"top":return st(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Jt,He];case"to left":case"right":return st(270)}return 0},st=function(t){return Math.PI*t/180},rr={name:"color",parse:function(t,e){if(e.type===18){var r=UC[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return r(t,e.values)}if(e.type===5){if(e.value.length===3){var n=e.value.substring(0,1),a=e.value.substring(1,2),i=e.value.substring(2,3);return jt(parseInt(n+n,16),parseInt(a+a,16),parseInt(i+i,16),1)}if(e.value.length===4){var n=e.value.substring(0,1),a=e.value.substring(1,2),i=e.value.substring(2,3),A=e.value.substring(3,4);return jt(parseInt(n+n,16),parseInt(a+a,16),parseInt(i+i,16),parseInt(A+A,16)/255)}if(e.value.length===6){var n=e.value.substring(0,2),a=e.value.substring(2,4),i=e.value.substring(4,6);return jt(parseInt(n,16),parseInt(a,16),parseInt(i,16),1)}if(e.value.length===8){var n=e.value.substring(0,2),a=e.value.substring(2,4),i=e.value.substring(4,6),A=e.value.substring(6,8);return jt(parseInt(n,16),parseInt(a,16),parseInt(i,16),parseInt(A,16)/255)}}if(e.type===20){var o=Yt[e.value.toUpperCase()];if(typeof o<"u")return o}return Yt.TRANSPARENT}},nr=function(t){return(255&t)===0},Qe=function(t){var e=255&t,r=255&t>>8,n=255&t>>16,a=255&t>>24;return e<255?"rgba("+a+","+n+","+r+","+e/255+")":"rgb("+a+","+n+","+r+")"},jt=function(t,e,r,n){return(t<<24|e<<16|r<<8|Math.round(n*255)<<0)>>>0},Ad=function(t,e){if(t.type===17)return t.number;if(t.type===16){var r=e===3?1:255;return e===3?t.number/100*r:Math.round(t.number/100*r)}return 0},od=function(t,e){var r=e.filter(Mr);if(r.length===3){var n=r.map(Ad),a=n[0],i=n[1],A=n[2];return jt(a,i,A,1)}if(r.length===4){var o=r.map(Ad),a=o[0],i=o[1],A=o[2],s=o[3];return jt(a,i,A,s)}return 0};function Ii(t,e,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(e-t)*r*6+t:r<1/2?e:r<2/3?(e-t)*6*(2/3-r)+t:t}var sd=function(t,e){var r=e.filter(Mr),n=r[0],a=r[1],i=r[2],A=r[3],o=(n.type===17?st(n.number):La.parse(t,n))/(Math.PI*2),s=Ue(a)?a.number/100:0,c=Ue(i)?i.number/100:0,l=typeof A<"u"&&Ue(A)?Re(A,1):1;if(s===0)return jt(c*255,c*255,c*255,1);var d=c<=.5?c*(s+1):c+s-c*s,u=c*2-d,_=Ii(u,d,o+1/3),p=Ii(u,d,o),g=Ii(u,d,o-1/3);return jt(_*255,p*255,g*255,l)},UC={hsl:sd,hsla:sd,rgb:od,rgba:od},an=function(t,e){return rr.parse(t,Lm.create(e).parseComponentValue())},Yt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},FC={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(r){if(Te(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},kC={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},xa=function(t,e){var r=rr.parse(t,e[0]),n=e[1];return n&&Ue(n)?{color:r,stop:n}:{color:r,stop:null}},cd=function(t,e){var r=t[0],n=t[t.length-1];r.stop===null&&(r.stop=He),n.stop===null&&(n.stop=Jt);for(var a=[],i=0,A=0;Ai?a.push(s):a.push(i),i=s}else a.push(null)}for(var c=null,A=0;AA.optimumDistance)?{optimumCorner:o,optimumDistance:l}:A},{optimumDistance:a?1/0:-1/0,optimumCorner:null}).optimumCorner},GC=function(t,e,r,n,a){var i=0,A=0;switch(t.size){case 0:t.shape===0?i=A=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-a)):t.shape===1&&(i=Math.min(Math.abs(e),Math.abs(e-n)),A=Math.min(Math.abs(r),Math.abs(r-a)));break;case 2:if(t.shape===0)i=A=Math.min(gt(e,r),gt(e,r-a),gt(e-n,r),gt(e-n,r-a));else if(t.shape===1){var o=Math.min(Math.abs(r),Math.abs(r-a))/Math.min(Math.abs(e),Math.abs(e-n)),s=ld(n,a,e,r,!0),c=s[0],l=s[1];i=gt(c-e,(l-r)/o),A=o*i}break;case 1:t.shape===0?i=A=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-a)):t.shape===1&&(i=Math.max(Math.abs(e),Math.abs(e-n)),A=Math.max(Math.abs(r),Math.abs(r-a)));break;case 3:if(t.shape===0)i=A=Math.max(gt(e,r),gt(e,r-a),gt(e-n,r),gt(e-n,r-a));else if(t.shape===1){var o=Math.max(Math.abs(r),Math.abs(r-a))/Math.max(Math.abs(e),Math.abs(e-n)),d=ld(n,a,e,r,!1),c=d[0],l=d[1];i=gt(c-e,(l-r)/o),A=o*i}break}return Array.isArray(t.size)&&(i=Re(t.size[0],n),A=t.size.length===2?Re(t.size[1],a):i),[i,A]},HC=function(t,e){var r=st(180),n=[];return Bt(e).forEach(function(a,i){if(i===0){var A=a[0];if(A.type===20&&A.value==="to"){r=Gm(a);return}else if(Qm(A)){r=La.parse(t,A);return}}var o=xa(t,a);n.push(o)}),{angle:r,stops:n,type:1}},Wn=function(t,e){var r=st(180),n=[];return Bt(e).forEach(function(a,i){if(i===0){var A=a[0];if(A.type===20&&["top","left","right","bottom"].indexOf(A.value)!==-1){r=Gm(a);return}else if(Qm(A)){r=(La.parse(t,A)+st(270))%st(360);return}}var o=xa(t,a);n.push(o)}),{angle:r,stops:n,type:1}},YC=function(t,e){var r=st(180),n=[],a=1,i=0,A=3,o=[];return Bt(e).forEach(function(s,c){var l=s[0];if(c===0){if(Te(l)&&l.value==="linear"){a=1;return}else if(Te(l)&&l.value==="radial"){a=2;return}}if(l.type===18){if(l.name==="from"){var d=rr.parse(t,l.values[0]);n.push({stop:He,color:d})}else if(l.name==="to"){var d=rr.parse(t,l.values[0]);n.push({stop:Jt,color:d})}else if(l.name==="color-stop"){var u=l.values.filter(Mr);if(u.length===2){var d=rr.parse(t,u[1]),_=u[0];Fr(_)&&n.push({stop:{type:16,number:_.number*100,flags:_.flags},color:d})}}}}),a===1?{angle:(r+st(180))%st(360),stops:n,type:a}:{size:A,shape:i,stops:n,position:o,type:a}},Hm="closest-side",Ym="farthest-side",Vm="closest-corner",Km="farthest-corner",qm="circle",Wm="ellipse",zm="cover",$m="contain",VC=function(t,e){var r=0,n=3,a=[],i=[];return Bt(e).forEach(function(A,o){var s=!0;if(o===0){var c=!1;s=A.reduce(function(d,u){if(c)if(Te(u))switch(u.value){case"center":return i.push(dl),d;case"top":case"left":return i.push(He),d;case"right":case"bottom":return i.push(Jt),d}else(Ue(u)||ar(u))&&i.push(u);else if(Te(u))switch(u.value){case qm:return r=0,!1;case Wm:return r=1,!1;case"at":return c=!0,!1;case Hm:return n=0,!1;case zm:case Ym:return n=1,!1;case $m:case Vm:return n=2,!1;case Km:return n=3,!1}else if(ar(u)||Ue(u))return Array.isArray(n)||(n=[]),n.push(u),!1;return d},s)}if(s){var l=xa(t,A);a.push(l)}}),{size:n,shape:r,stops:a,position:i,type:2}},zn=function(t,e){var r=0,n=3,a=[],i=[];return Bt(e).forEach(function(A,o){var s=!0;if(o===0?s=A.reduce(function(l,d){if(Te(d))switch(d.value){case"center":return i.push(dl),!1;case"top":case"left":return i.push(He),!1;case"right":case"bottom":return i.push(Jt),!1}else if(Ue(d)||ar(d))return i.push(d),!1;return l},s):o===1&&(s=A.reduce(function(l,d){if(Te(d))switch(d.value){case qm:return r=0,!1;case Wm:return r=1,!1;case $m:case Hm:return n=0,!1;case Ym:return n=1,!1;case Vm:return n=2,!1;case zm:case Km:return n=3,!1}else if(ar(d)||Ue(d))return Array.isArray(n)||(n=[]),n.push(d),!1;return l},s)),s){var c=xa(t,A);a.push(c)}}),{size:n,shape:r,stops:a,position:i,type:2}},KC=function(t){return t.type===1},qC=function(t){return t.type===2},ul={name:"image",parse:function(t,e){if(e.type===22){var r={url:e.value,type:0};return t.cache.addImage(e.value),r}if(e.type===18){var n=Xm[e.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(t,e.values)}throw new Error("Unsupported image type "+e.type)}};function WC(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Xm[t.name])}var Xm={"linear-gradient":HC,"-moz-linear-gradient":Wn,"-ms-linear-gradient":Wn,"-o-linear-gradient":Wn,"-webkit-linear-gradient":Wn,"radial-gradient":VC,"-moz-radial-gradient":zn,"-ms-radial-gradient":zn,"-o-radial-gradient":zn,"-webkit-radial-gradient":zn,"-webkit-gradient":YC},zC={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var r=e[0];return r.type===20&&r.value==="none"?[]:e.filter(function(n){return Mr(n)&&WC(n)}).map(function(n){return ul.parse(t,n)})}},$C={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(r){if(Te(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},XC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return Bt(e).map(function(r){return r.filter(Ue)}).map(Mm)}},ZC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return Bt(e).map(function(r){return r.filter(Te).map(function(n){return n.value}).join(" ")}).map(JC)}},JC=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Lr;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(Lr||(Lr={}));var jC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return Bt(e).map(function(r){return r.filter(eb)})}},eb=function(t){return Te(t)||Ue(t)},Ma=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},tb=Ma("top"),rb=Ma("right"),nb=Ma("bottom"),ab=Ma("left"),Ua=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(e,r){return Mm(r.filter(Ue))}}},ib=Ua("top-left"),Ab=Ua("top-right"),ob=Ua("bottom-right"),sb=Ua("bottom-left"),Fa=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},cb=Fa("top"),lb=Fa("right"),db=Fa("bottom"),ub=Fa("left"),ka=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,r){return Cn(r)?r.number:0}}},_b=ka("top"),pb=ka("right"),gb=ka("bottom"),mb=ka("left"),Eb={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Sb={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},fb={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(Te).reduce(function(r,n){return r|Cb(n.value)},0)}},Cb=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},bb={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Tb={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},ma;(function(t){t.NORMAL="normal",t.STRICT="strict"})(ma||(ma={}));var hb={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"strict":return ma.STRICT;case"normal":default:return ma.NORMAL}}},vb={name:"line-height",initialValue:"normal",prefix:!1,type:4},dd=function(t,e){return Te(t)&&t.value==="normal"?1.2*e:t.type===17?e*t.number:Ue(t)?Re(t,e):e},Rb={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return e.type===20&&e.value==="none"?null:ul.parse(t,e)}},Ib={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},zc={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Pa=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},yb=Pa("top"),Nb=Pa("right"),Ob=Pa("bottom"),Bb=Pa("left"),wb={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(Te).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Db={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},Qa=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Lb=Qa("top"),xb=Qa("right"),Mb=Qa("bottom"),Ub=Qa("left"),Fb={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},kb={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Pb={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&Wc(e[0],"none")?[]:Bt(e).map(function(r){for(var n={color:Yt.TRANSPARENT,offsetX:He,offsetY:He,blur:He},a=0,i=0;i"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return r(e.values)}return null}},Hb=function(t){var e=t.filter(function(r){return r.type===17}).map(function(r){return r.number});return e.length===6?e:null},Yb=function(t){var e=t.filter(function(s){return s.type===17}).map(function(s){return s.number}),r=e[0],n=e[1];e[2],e[3];var a=e[4],i=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var A=e[12],o=e[13];return e[14],e[15],e.length===16?[r,n,a,i,A,o]:null},Vb={matrix:Hb,matrix3d:Yb},ud={type:16,number:50,flags:fn},Kb=[ud,ud],qb={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,e){var r=e.filter(Ue);return r.length!==2?Kb:[r[0],r[1]]}},Wb={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},An;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(An||(An={}));var zb={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-all":return An.BREAK_ALL;case"keep-all":return An.KEEP_ALL;case"normal":default:return An.NORMAL}}},$b={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,e){if(e.type===20)return{auto:!0,order:0};if(Fr(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Zm={name:"time",parse:function(t,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},Xb={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,e){return Fr(e)?e.number:1}},Zb={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Jb={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,e){return e.filter(Te).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}},jb={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,e){var r=[],n=[];return e.forEach(function(a){switch(a.type){case 20:case 0:r.push(a.value);break;case 17:r.push(a.number.toString());break;case 4:n.push(r.join(" ")),r.length=0;break}}),r.length&&n.push(r.join(" ")),n.map(function(a){return a.indexOf(" ")===-1?a:"'"+a+"'"})}},eT={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},tT={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,e){if(Fr(e))return e.number;if(Te(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},rT={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.filter(Te).map(function(r){return r.value})}},nT={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Fe=function(t,e){return(t&e)!==0},aT={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var r=e[0];return r.type===20&&r.value==="none"?[]:e}},iT={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var r=e[0];if(r.type===20&&r.value==="none")return null;for(var n=[],a=e.filter(xm),i=0;i1?1:0],this.overflowWrap=z(e,Db,r.overflowWrap),this.paddingTop=z(e,Lb,r.paddingTop),this.paddingRight=z(e,xb,r.paddingRight),this.paddingBottom=z(e,Mb,r.paddingBottom),this.paddingLeft=z(e,Ub,r.paddingLeft),this.paintOrder=z(e,lT,r.paintOrder),this.position=z(e,kb,r.position),this.textAlign=z(e,Fb,r.textAlign),this.textDecorationColor=z(e,Zb,(n=r.textDecorationColor)!==null&&n!==void 0?n:r.color),this.textDecorationLine=z(e,Jb,(a=r.textDecorationLine)!==null&&a!==void 0?a:r.textDecoration),this.textShadow=z(e,Pb,r.textShadow),this.textTransform=z(e,Qb,r.textTransform),this.transform=z(e,Gb,r.transform),this.transformOrigin=z(e,qb,r.transformOrigin),this.visibility=z(e,Wb,r.visibility),this.webkitTextStrokeColor=z(e,dT,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=z(e,uT,r.webkitTextStrokeWidth),this.wordBreak=z(e,zb,r.wordBreak),this.zIndex=z(e,$b,r.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return nr(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return Fe(this.display,4)||Fe(this.display,33554432)||Fe(this.display,268435456)||Fe(this.display,536870912)||Fe(this.display,67108864)||Fe(this.display,134217728)},t}(),pT=function(){function t(e,r){this.content=z(e,aT,r.content),this.quotes=z(e,sT,r.quotes)}return t}(),pd=function(){function t(e,r){this.counterIncrement=z(e,iT,r.counterIncrement),this.counterReset=z(e,AT,r.counterReset)}return t}(),z=function(t,e,r){var n=new Dm,a=r!==null&&typeof r<"u"?r.toString():e.initialValue;n.write(a);var i=new Lm(n.read());switch(e.type){case 2:var A=i.parseComponentValue();return e.parse(t,Te(A)?A.value:e.initialValue);case 0:return e.parse(t,i.parseComponentValue());case 1:return e.parse(t,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(e.format){case"angle":return La.parse(t,i.parseComponentValue());case"color":return rr.parse(t,i.parseComponentValue());case"image":return ul.parse(t,i.parseComponentValue());case"length":var o=i.parseComponentValue();return ar(o)?o:He;case"length-percentage":var s=i.parseComponentValue();return Ue(s)?s:He;case"time":return Zm.parse(t,i.parseComponentValue())}break}},gT="data-html2canvas-debug",mT=function(t){var e=t.getAttribute(gT);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},$c=function(t,e){var r=mT(t);return r===1||e===r},wt=function(){function t(e,r){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,$c(r,3))debugger;this.styles=new _T(e,window.getComputedStyle(r,null)),Jc(r)&&(this.styles.animationDuration.some(function(n){return n>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=wa(this.context,r),$c(r,4)&&(this.flags|=16)}return t}(),ET="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",gd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var $n=0;$n>4,l[a++]=(A&15)<<4|o>>2,l[a++]=(o&3)<<6|s&63;return c},fT=function(t){for(var e=t.length,r=[],n=0;n>pr,TT=1<>pr,vT=Jm+hT,RT=vT,IT=32,yT=RT+IT,NT=65536>>_l,OT=1<=0){if(e<55296||e>56319&&e<=65535)return r=this.index[e>>pr],r=(r<>pr)],r=(r<>_l),r=this.index[r],r+=e>>pr&BT,r=this.index[r],r=(r<"u"?[]:new Uint8Array(256);for(var Xn=0;Xn=55296&&a<=56319&&r>10)+55296,A%1024+56320)),(a+1===r||n.length>16384)&&(i+=String.fromCharCode.apply(String,n),n.length=0)}return i},PT=DT(ET),it="×",xi="÷",QT=function(t){return PT.get(t)},GT=function(t,e,r){var n=r-2,a=e[n],i=e[r-1],A=e[r];if(i===Oi&&A===Bi)return it;if(i===Oi||i===Bi||i===Sd||A===Oi||A===Bi||A===Sd)return xi;if(i===Cd&&[Cd,wi,bd,Td].indexOf(A)!==-1||(i===bd||i===wi)&&(A===wi||A===Di)||(i===Td||i===Di)&&A===Di||A===hd||A===fd||A===UT||i===MT)return it;if(i===hd&&A===vd){for(;a===fd;)a=e[--n];if(a===vd)return it}if(i===Li&&A===Li){for(var o=0;a===Li;)o++,a=e[--n];if(o%2===0)return it}return xi},HT=function(t){var e=FT(t),r=e.length,n=0,a=0,i=e.map(QT);return{next:function(){if(n>=r)return{done:!0,value:null};for(var A=it;nA.x||l.y>A.y;return A=l,c===0?!0:d});return t.body.removeChild(e),o},qT=function(){return typeof new Image().crossOrigin<"u"},WT=function(){return typeof new XMLHttpRequest().responseType=="string"},zT=function(t){var e=new Image,r=t.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,";try{n.drawImage(e,0,0),r.toDataURL()}catch{return!1}return!0},Rd=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},$T=function(t){var e=t.createElement("canvas"),r=100;e.width=r,e.height=r;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var a=new Image,i=e.toDataURL();a.src=i;var A=Xc(r,r,0,0,a);return n.fillStyle="red",n.fillRect(0,0,r,r),Id(A).then(function(o){n.drawImage(o,0,0);var s=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var c=t.createElement("div");return c.style.backgroundImage="url("+i+")",c.style.height=r+"px",Rd(s)?Id(Xc(r,r,0,0,c)):Promise.reject(!1)}).then(function(o){return n.drawImage(o,0,0),Rd(n.getImageData(0,0,r,r).data)}).catch(function(){return!1})},Xc=function(t,e,r,n,a){var i="http://www.w3.org/2000/svg",A=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return A.setAttributeNS(null,"width",t.toString()),A.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",r.toString()),o.setAttributeNS(null,"y",n.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),A.appendChild(o),o.appendChild(a),A},Id=function(t){return new Promise(function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},Ge={get SUPPORT_RANGE_BOUNDS(){var t=VT(document);return Object.defineProperty(Ge,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=Ge.SUPPORT_RANGE_BOUNDS&&KT(document);return Object.defineProperty(Ge,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=zT(document);return Object.defineProperty(Ge,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?$T(document):Promise.resolve(!1);return Object.defineProperty(Ge,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=qT();return Object.defineProperty(Ge,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=WT();return Object.defineProperty(Ge,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ge,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ge,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},on=function(){function t(e,r){this.text=e,this.bounds=r}return t}(),XT=function(t,e,r,n){var a=jT(e,r),i=[],A=0;return a.forEach(function(o){if(r.textDecorationLine.length||o.trim().length>0)if(Ge.SUPPORT_RANGE_BOUNDS){var s=yd(n,A,o.length).getClientRects();if(s.length>1){var c=pl(o),l=0;c.forEach(function(u){i.push(new on(u,Vt.fromDOMRectList(t,yd(n,l+A,u.length).getClientRects()))),l+=u.length})}else i.push(new on(o,Vt.fromDOMRectList(t,s)))}else{var d=n.splitText(o.length);i.push(new on(o,ZT(t,n))),n=d}else Ge.SUPPORT_RANGE_BOUNDS||(n=n.splitText(o.length));A+=o.length}),i},ZT=function(t,e){var r=e.ownerDocument;if(r){var n=r.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var a=e.parentNode;if(a){a.replaceChild(n,e);var i=wa(t,n);return n.firstChild&&a.replaceChild(n.firstChild,n),i}}return Vt.EMPTY},yd=function(t,e,r){var n=t.ownerDocument;if(!n)throw new Error("Node has no owner document");var a=n.createRange();return a.setStart(t,e),a.setEnd(t,e+r),a},pl=function(t){if(Ge.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map(function(r){return r.segment})}return YT(t)},JT=function(t,e){if(Ge.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(t)).map(function(n){return n.segment})}return th(t,e)},jT=function(t,e){return e.letterSpacing!==0?pl(t):JT(t,e)},eh=[32,160,4961,65792,65793,4153,4241],th=function(t,e){for(var r=Nf(t,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),n=[],a,i=function(){if(a.value){var A=a.value.slice(),o=Da(A),s="";o.forEach(function(c){eh.indexOf(c)===-1?s+=xe(c):(s.length&&n.push(s),n.push(xe(c)),s="")}),s.length&&n.push(s)}};!(a=r.next()).done;)i();return n},rh=function(){function t(e,r,n){this.text=nh(r.data,n.textTransform),this.textBounds=XT(e,this.text,n,r)}return t}(),nh=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(ah,ih);case 2:return t.toUpperCase();default:return t}},ah=/(^|\s|:|-|\(|\))([a-z])/g,ih=function(t,e,r){return t.length>0?e+r.toUpperCase():t},jm=function(t){St(e,t);function e(r,n){var a=t.call(this,r,n)||this;return a.src=n.currentSrc||n.src,a.intrinsicWidth=n.naturalWidth,a.intrinsicHeight=n.naturalHeight,a.context.cache.addImage(a.src),a}return e}(wt),eE=function(t){St(e,t);function e(r,n){var a=t.call(this,r,n)||this;return a.canvas=n,a.intrinsicWidth=n.width,a.intrinsicHeight=n.height,a}return e}(wt),tE=function(t){St(e,t);function e(r,n){var a=t.call(this,r,n)||this,i=new XMLSerializer,A=wa(r,n);return n.setAttribute("width",A.width+"px"),n.setAttribute("height",A.height+"px"),a.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),a.intrinsicWidth=n.width.baseVal.value,a.intrinsicHeight=n.height.baseVal.value,a.context.cache.addImage(a.svg),a}return e}(wt),rE=function(t){St(e,t);function e(r,n){var a=t.call(this,r,n)||this;return a.value=n.value,a}return e}(wt),Zc=function(t){St(e,t);function e(r,n){var a=t.call(this,r,n)||this;return a.start=n.start,a.reversed=typeof n.reversed=="boolean"&&n.reversed===!0,a}return e}(wt),Ah=[{type:15,flags:0,unit:"px",number:3}],oh=[{type:16,flags:0,number:50}],sh=function(t){return t.width>t.height?new Vt(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width0)r.textNodes.push(new rh(t,a,r.styles));else if(Dr(a))if(uE(a)&&a.assignedNodes)a.assignedNodes().forEach(function(o){return sa(t,o,r,n)});else{var A=AE(t,a);A.styles.isVisible()&&(uh(a,A,n)?A.flags|=4:_h(A.styles)&&(A.flags|=2),dh.indexOf(a.tagName)!==-1&&(A.flags|=8),r.elements.push(A),a.slot,a.shadowRoot?sa(t,a.shadowRoot,A,n):!fa(a)&&!cE(a)&&!Ca(a)&&sa(t,a,A,n))}},AE=function(t,e){return jc(e)?new jm(t,e):lE(e)?new eE(t,e):cE(e)?new tE(t,e):ph(e)?new rE(t,e):gh(e)?new Zc(t,e):mh(e)?new gl(t,e):Ca(e)?new nE(t,e):fa(e)?new aE(t,e):dE(e)?new iE(t,e):new wt(t,e)},oE=function(t,e){var r=AE(t,e);return r.flags|=4,sa(t,e,r,r),r},uh=function(t,e,r){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||ml(t)&&r.styles.isTransparent()},_h=function(t){return t.isPositioned()||t.isFloating()},sE=function(t){return t.nodeType===Node.TEXT_NODE},Dr=function(t){return t.nodeType===Node.ELEMENT_NODE},Jc=function(t){return Dr(t)&&typeof t.style<"u"&&!ca(t)},ca=function(t){return typeof t.className=="object"},ph=function(t){return t.tagName==="LI"},gh=function(t){return t.tagName==="OL"},mh=function(t){return t.tagName==="INPUT"},Eh=function(t){return t.tagName==="HTML"},cE=function(t){return t.tagName==="svg"},ml=function(t){return t.tagName==="BODY"},lE=function(t){return t.tagName==="CANVAS"},Od=function(t){return t.tagName==="VIDEO"},jc=function(t){return t.tagName==="IMG"},dE=function(t){return t.tagName==="IFRAME"},Bd=function(t){return t.tagName==="STYLE"},Sh=function(t){return t.tagName==="SCRIPT"},fa=function(t){return t.tagName==="TEXTAREA"},Ca=function(t){return t.tagName==="SELECT"},uE=function(t){return t.tagName==="SLOT"},wd=function(t){return t.tagName.indexOf("-")>0},fh=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(e){var r=this.counters[e];return r&&r.length?r[r.length-1]:1},t.prototype.getCounterValues=function(e){var r=this.counters[e];return r||[]},t.prototype.pop=function(e){var r=this;e.forEach(function(n){return r.counters[n].pop()})},t.prototype.parse=function(e){var r=this,n=e.counterIncrement,a=e.counterReset,i=!0;n!==null&&n.forEach(function(o){var s=r.counters[o.counter];s&&o.increment!==0&&(i=!1,s.length||s.push(1),s[Math.max(0,s.length-1)]+=o.increment)});var A=[];return i&&a.forEach(function(o){var s=r.counters[o.counter];A.push(o.counter),s||(s=r.counters[o.counter]=[]),s.push(o.reset)}),A},t}(),Dd={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ld={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Ch={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},bh={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},vr=function(t,e,r,n,a,i){return tr?un(t,a,i.length>0):n.integers.reduce(function(A,o,s){for(;t>=o;)t-=o,A+=n.values[s];return A},"")+i},_E=function(t,e,r,n){var a="";do r||t--,a=n(t)+a,t/=e;while(t*e>=e);return a},Le=function(t,e,r,n,a){var i=r-e+1;return(t<0?"-":"")+(_E(Math.abs(t),i,n,function(A){return xe(Math.floor(A%i)+e)})+a)},sr=function(t,e,r){r===void 0&&(r=". ");var n=e.length;return _E(Math.abs(t),n,!1,function(a){return e[Math.floor(a%n)]})+r},Or=1,Wt=2,zt=4,en=8,Gt=function(t,e,r,n,a,i){if(t<-9999||t>9999)return un(t,4,a.length>0);var A=Math.abs(t),o=a;if(A===0)return e[0]+o;for(var s=0;A>0&&s<=4;s++){var c=A%10;c===0&&Fe(i,Or)&&o!==""?o=e[c]+o:c>1||c===1&&s===0||c===1&&s===1&&Fe(i,Wt)||c===1&&s===1&&Fe(i,zt)&&t>100||c===1&&s>1&&Fe(i,en)?o=e[c]+(s>0?r[s-1]:"")+o:c===1&&s>0&&(o=r[s-1]+o),A=Math.floor(A/10)}return(t<0?n:"")+o},xd="十百千萬",Md="拾佰仟萬",Ud="マイナス",Mi="마이너스",un=function(t,e,r){var n=r?". ":"",a=r?"、":"",i=r?", ":"",A=r?" ":"";switch(e){case 0:return"•"+A;case 1:return"◦"+A;case 2:return"◾"+A;case 5:var o=Le(t,48,57,!0,n);return o.length<4?"0"+o:o;case 4:return sr(t,"〇一二三四五六七八九",a);case 6:return vr(t,1,3999,Dd,3,n).toLowerCase();case 7:return vr(t,1,3999,Dd,3,n);case 8:return Le(t,945,969,!1,n);case 9:return Le(t,97,122,!1,n);case 10:return Le(t,65,90,!1,n);case 11:return Le(t,1632,1641,!0,n);case 12:case 49:return vr(t,1,9999,Ld,3,n);case 35:return vr(t,1,9999,Ld,3,n).toLowerCase();case 13:return Le(t,2534,2543,!0,n);case 14:case 30:return Le(t,6112,6121,!0,n);case 15:return sr(t,"子丑寅卯辰巳午未申酉戌亥",a);case 16:return sr(t,"甲乙丙丁戊己庚辛壬癸",a);case 17:case 48:return Gt(t,"零一二三四五六七八九",xd,"負",a,Wt|zt|en);case 47:return Gt(t,"零壹貳參肆伍陸柒捌玖",Md,"負",a,Or|Wt|zt|en);case 42:return Gt(t,"零一二三四五六七八九",xd,"负",a,Wt|zt|en);case 41:return Gt(t,"零壹贰叁肆伍陆柒捌玖",Md,"负",a,Or|Wt|zt|en);case 26:return Gt(t,"〇一二三四五六七八九","十百千万",Ud,a,0);case 25:return Gt(t,"零壱弐参四伍六七八九","拾百千万",Ud,a,Or|Wt|zt);case 31:return Gt(t,"영일이삼사오육칠팔구","십백천만",Mi,i,Or|Wt|zt);case 33:return Gt(t,"零一二三四五六七八九","十百千萬",Mi,i,0);case 32:return Gt(t,"零壹貳參四五六七八九","拾百千",Mi,i,Or|Wt|zt);case 18:return Le(t,2406,2415,!0,n);case 20:return vr(t,1,19999,bh,3,n);case 21:return Le(t,2790,2799,!0,n);case 22:return Le(t,2662,2671,!0,n);case 22:return vr(t,1,10999,Ch,3,n);case 23:return sr(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return sr(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Le(t,3302,3311,!0,n);case 28:return sr(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",a);case 29:return sr(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",a);case 34:return Le(t,3792,3801,!0,n);case 37:return Le(t,6160,6169,!0,n);case 38:return Le(t,4160,4169,!0,n);case 39:return Le(t,2918,2927,!0,n);case 40:return Le(t,1776,1785,!0,n);case 43:return Le(t,3046,3055,!0,n);case 44:return Le(t,3174,3183,!0,n);case 45:return Le(t,3664,3673,!0,n);case 46:return Le(t,3872,3881,!0,n);case 3:default:return Le(t,48,57,!0,n)}},pE="data-html2canvas-ignore",Fd=function(){function t(e,r,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=r,this.counters=new fh,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(e,r){var n=this,a=Th(e,r);if(!a.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,A=e.defaultView.pageYOffset,o=a.contentWindow,s=o.document,c=Rh(a).then(function(){return Xe(n,void 0,void 0,function(){var l,d;return We(this,function(u){switch(u.label){case 0:return this.scrolledElements.forEach(Oh),o&&(o.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==r.top||o.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-r.left,o.scrollY-r.top,0,0))),l=this.options.onclone,d=this.clonedReferenceElement,typeof d>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:s.fonts&&s.fonts.ready?[4,s.fonts.ready]:[3,2];case 1:u.sent(),u.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,vh(s)]:[3,4];case 3:u.sent(),u.label=4;case 4:return typeof l=="function"?[2,Promise.resolve().then(function(){return l(s,d)}).then(function(){return a})]:[2,a]}})})});return s.open(),s.write(yh(document.doctype)+""),Nh(this.referenceElement.ownerDocument,i,A),s.replaceChild(s.adoptNode(this.documentElement),s.documentElement),s.close(),c},t.prototype.createElementClone=function(e){if($c(e,2))debugger;if(lE(e))return this.createCanvasClone(e);if(Od(e))return this.createVideoClone(e);if(Bd(e))return this.createStyleClone(e);var r=e.cloneNode(!1);return jc(r)&&(jc(e)&&e.currentSrc&&e.currentSrc!==e.src&&(r.src=e.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),wd(r)?this.createCustomElementClone(r):r},t.prototype.createCustomElementClone=function(e){var r=document.createElement("html2canvascustomelement");return Ui(e.style,r),r},t.prototype.createStyleClone=function(e){try{var r=e.sheet;if(r&&r.cssRules){var n=[].slice.call(r.cssRules,0).reduce(function(i,A){return A&&typeof A.cssText=="string"?i+A.cssText:i},""),a=e.cloneNode(!1);return a.textContent=n,a}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return e.cloneNode(!1)},t.prototype.createCanvasClone=function(e){var r;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var a=e.cloneNode(!1);try{a.width=e.width,a.height=e.height;var i=e.getContext("2d"),A=a.getContext("2d");if(A)if(!this.options.allowTaint&&i)A.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var o=(r=e.getContext("webgl2"))!==null&&r!==void 0?r:e.getContext("webgl");if(o){var s=o.getContextAttributes();(s==null?void 0:s.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}A.drawImage(e,0,0)}return a}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return a},t.prototype.createVideoClone=function(e){var r=e.ownerDocument.createElement("canvas");r.width=e.offsetWidth,r.height=e.offsetHeight;var n=r.getContext("2d");try{return n&&(n.drawImage(e,0,0,r.width,r.height),this.options.allowTaint||n.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var a=e.ownerDocument.createElement("canvas");return a.width=e.offsetWidth,a.height=e.offsetHeight,a},t.prototype.appendChildNode=function(e,r,n){(!Dr(r)||!Sh(r)&&!r.hasAttribute(pE)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!Dr(r)||!Bd(r))&&e.appendChild(this.cloneNode(r,n))},t.prototype.cloneChildNodes=function(e,r,n){for(var a=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(Dr(i)&&uE(i)&&typeof i.assignedNodes=="function"){var A=i.assignedNodes();A.length&&A.forEach(function(o){return a.appendChildNode(r,o,n)})}else this.appendChildNode(r,i,n)},t.prototype.cloneNode=function(e,r){if(sE(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&Dr(e)&&(Jc(e)||ca(e))){var a=this.createElementClone(e);a.style.transitionProperty="none";var i=n.getComputedStyle(e),A=n.getComputedStyle(e,":before"),o=n.getComputedStyle(e,":after");this.referenceElement===e&&Jc(a)&&(this.clonedReferenceElement=a),ml(a)&&Dh(a);var s=this.counters.parse(new pd(this.context,i)),c=this.resolvePseudoContent(e,a,A,sn.BEFORE);wd(e)&&(r=!0),Od(e)||this.cloneChildNodes(e,a,r),c&&a.insertBefore(c,a.firstChild);var l=this.resolvePseudoContent(e,a,o,sn.AFTER);return l&&a.appendChild(l),this.counters.pop(s),(i&&(this.options.copyStyles||ca(e))&&!dE(e)||r)&&Ui(i,a),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([a,e.scrollLeft,e.scrollTop]),(fa(e)||Ca(e))&&(fa(a)||Ca(a))&&(a.value=e.value),a}return e.cloneNode(!1)},t.prototype.resolvePseudoContent=function(e,r,n,a){var i=this;if(n){var A=n.content,o=r.ownerDocument;if(!(!o||!A||A==="none"||A==="-moz-alt-content"||n.display==="none")){this.counters.parse(new pd(this.context,n));var s=new pT(this.context,n),c=o.createElement("html2canvaspseudoelement");Ui(n,c),s.content.forEach(function(d){if(d.type===0)c.appendChild(o.createTextNode(d.value));else if(d.type===22){var u=o.createElement("img");u.src=d.value,u.style.opacity="1",c.appendChild(u)}else if(d.type===18){if(d.name==="attr"){var _=d.values.filter(Te);_.length&&c.appendChild(o.createTextNode(e.getAttribute(_[0].value)||""))}else if(d.name==="counter"){var p=d.values.filter(Mr),g=p[0],S=p[1];if(g&&Te(g)){var E=i.counters.getCounterValue(g.value),f=S&&Te(S)?zc.parse(i.context,S.value):3;c.appendChild(o.createTextNode(un(E,f,!1)))}}else if(d.name==="counters"){var R=d.values.filter(Mr),g=R[0],h=R[1],S=R[2];if(g&&Te(g)){var I=i.counters.getCounterValues(g.value),m=S&&Te(S)?zc.parse(i.context,S.value):3,C=h&&h.type===0?h.value:"",T=I.map(function(O){return un(O,m,!1)}).join(C);c.appendChild(o.createTextNode(T))}}}else if(d.type===20)switch(d.value){case"open-quote":c.appendChild(o.createTextNode(_d(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(_d(s.quotes,--i.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(d.value))}}),c.className=el+" "+tl;var l=a===sn.BEFORE?" "+el:" "+tl;return ca(r)?r.className.baseValue+=l:r.className+=l,c}}},t.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},t}(),sn;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(sn||(sn={}));var Th=function(t,e){var r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=e.width.toString(),r.height=e.height.toString(),r.scrolling="no",r.setAttribute(pE,"true"),t.body.appendChild(r),r},hh=function(t){return new Promise(function(e){if(t.complete){e();return}if(!t.src){e();return}t.onload=e,t.onerror=e})},vh=function(t){return Promise.all([].slice.call(t.images,0).map(hh))},Rh=function(t){return new Promise(function(e,r){var n=t.contentWindow;if(!n)return r("No window assigned for iframe");var a=n.document;n.onload=t.onload=function(){n.onload=t.onload=null;var i=setInterval(function(){a.body.childNodes.length>0&&a.readyState==="complete"&&(clearInterval(i),e(t))},50)}})},Ih=["all","d","content"],Ui=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t.item(r);Ih.indexOf(n)===-1&&e.style.setProperty(n,t.getPropertyValue(n))}return e},yh=function(t){var e="";return t&&(e+=""),e},Nh=function(t,e,r){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||r!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,r)},Oh=function(t){var e=t[0],r=t[1],n=t[2];e.scrollLeft=r,e.scrollTop=n},Bh=":before",wh=":after",el="___html2canvas___pseudoelement_before",tl="___html2canvas___pseudoelement_after",kd=`{ - content: "" !important; - display: none !important; -}`,Dh=function(t){Lh(t,"."+el+Bh+kd+` - .`+tl+wh+kd)},Lh=function(t,e){var r=t.ownerDocument;if(r){var n=r.createElement("style");n.textContent=e,t.appendChild(n)}},gE=function(){function t(){}return t.getOrigin=function(e){var r=t._link;return r?(r.href=e,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),xh=function(){function t(e,r){this.context=e,this._options=r,this._cache={}}return t.prototype.addImage=function(e){var r=Promise.resolve();return this.has(e)||(ki(e)||kh(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),r},t.prototype.match=function(e){return this._cache[e]},t.prototype.loadImage=function(e){return Xe(this,void 0,void 0,function(){var r,n,a,i,A=this;return We(this,function(o){switch(o.label){case 0:return r=gE.isSameOrigin(e),n=!Fi(e)&&this._options.useCORS===!0&&Ge.SUPPORT_CORS_IMAGES&&!r,a=!Fi(e)&&!r&&!ki(e)&&typeof this._options.proxy=="string"&&Ge.SUPPORT_CORS_XHR&&!n,!r&&this._options.allowTaint===!1&&!Fi(e)&&!ki(e)&&!a&&!n?[2]:(i=e,a?[4,this.proxy(i)]:[3,2]);case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(s,c){var l=new Image;l.onload=function(){return s(l)},l.onerror=c,(Ph(i)||n)&&(l.crossOrigin="anonymous"),l.src=i,l.complete===!0&&setTimeout(function(){return s(l)},500),A._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+A._options.imageTimeout+"ms) loading image")},A._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},t.prototype.has=function(e){return typeof this._cache[e]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(e){var r=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var a=e.substring(0,256);return new Promise(function(i,A){var o=Ge.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(s.status===200)if(o==="text")i(s.response);else{var d=new FileReader;d.addEventListener("load",function(){return i(d.result)},!1),d.addEventListener("error",function(u){return A(u)},!1),d.readAsDataURL(s.response)}else A("Failed to proxy resource "+a+" with status code "+s.status)},s.onerror=A;var c=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+c+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&s instanceof XMLHttpRequest&&(s.responseType=o),r._options.imageTimeout){var l=r._options.imageTimeout;s.timeout=l,s.ontimeout=function(){return A("Timed out ("+l+"ms) proxying "+a)}}s.send()})},t}(),Mh=/^data:image\/svg\+xml/i,Uh=/^data:image\/.*;base64,/i,Fh=/^data:image\/.*/i,kh=function(t){return Ge.SUPPORT_SVG_DRAWING||!Qh(t)},Fi=function(t){return Fh.test(t)},Ph=function(t){return Uh.test(t)},ki=function(t){return t.substr(0,4)==="blob"},Qh=function(t){return t.substr(-3).toLowerCase()==="svg"||Mh.test(t)},q=function(){function t(e,r){this.type=0,this.x=e,this.y=r}return t.prototype.add=function(e,r){return new t(this.x+e,this.y+r)},t}(),Rr=function(t,e,r){return new q(t.x+(e.x-t.x)*r,t.y+(e.y-t.y)*r)},Zn=function(){function t(e,r,n,a){this.type=1,this.start=e,this.startControl=r,this.endControl=n,this.end=a}return t.prototype.subdivide=function(e,r){var n=Rr(this.start,this.startControl,e),a=Rr(this.startControl,this.endControl,e),i=Rr(this.endControl,this.end,e),A=Rr(n,a,e),o=Rr(a,i,e),s=Rr(A,o,e);return r?new t(this.start,n,A,s):new t(s,o,i,this.end)},t.prototype.add=function(e,r){return new t(this.start.add(e,r),this.startControl.add(e,r),this.endControl.add(e,r),this.end.add(e,r))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),At=function(t){return t.type===1},Gh=function(){function t(e){var r=e.styles,n=e.bounds,a=Jr(r.borderTopLeftRadius,n.width,n.height),i=a[0],A=a[1],o=Jr(r.borderTopRightRadius,n.width,n.height),s=o[0],c=o[1],l=Jr(r.borderBottomRightRadius,n.width,n.height),d=l[0],u=l[1],_=Jr(r.borderBottomLeftRadius,n.width,n.height),p=_[0],g=_[1],S=[];S.push((i+s)/n.width),S.push((p+d)/n.width),S.push((A+g)/n.height),S.push((c+u)/n.height);var E=Math.max.apply(Math,S);E>1&&(i/=E,A/=E,s/=E,c/=E,d/=E,u/=E,p/=E,g/=E);var f=n.width-s,R=n.height-u,h=n.width-d,I=n.height-g,m=r.borderTopWidth,C=r.borderRightWidth,T=r.borderBottomWidth,v=r.borderLeftWidth,L=Re(r.paddingTop,e.bounds.width),O=Re(r.paddingRight,e.bounds.width),G=Re(r.paddingBottom,e.bounds.width),H=Re(r.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||A>0?Oe(n.left+v/3,n.top+m/3,i-v/3,A-m/3,be.TOP_LEFT):new q(n.left+v/3,n.top+m/3),this.topRightBorderDoubleOuterBox=i>0||A>0?Oe(n.left+f,n.top+m/3,s-C/3,c-m/3,be.TOP_RIGHT):new q(n.left+n.width-C/3,n.top+m/3),this.bottomRightBorderDoubleOuterBox=d>0||u>0?Oe(n.left+h,n.top+R,d-C/3,u-T/3,be.BOTTOM_RIGHT):new q(n.left+n.width-C/3,n.top+n.height-T/3),this.bottomLeftBorderDoubleOuterBox=p>0||g>0?Oe(n.left+v/3,n.top+I,p-v/3,g-T/3,be.BOTTOM_LEFT):new q(n.left+v/3,n.top+n.height-T/3),this.topLeftBorderDoubleInnerBox=i>0||A>0?Oe(n.left+v*2/3,n.top+m*2/3,i-v*2/3,A-m*2/3,be.TOP_LEFT):new q(n.left+v*2/3,n.top+m*2/3),this.topRightBorderDoubleInnerBox=i>0||A>0?Oe(n.left+f,n.top+m*2/3,s-C*2/3,c-m*2/3,be.TOP_RIGHT):new q(n.left+n.width-C*2/3,n.top+m*2/3),this.bottomRightBorderDoubleInnerBox=d>0||u>0?Oe(n.left+h,n.top+R,d-C*2/3,u-T*2/3,be.BOTTOM_RIGHT):new q(n.left+n.width-C*2/3,n.top+n.height-T*2/3),this.bottomLeftBorderDoubleInnerBox=p>0||g>0?Oe(n.left+v*2/3,n.top+I,p-v*2/3,g-T*2/3,be.BOTTOM_LEFT):new q(n.left+v*2/3,n.top+n.height-T*2/3),this.topLeftBorderStroke=i>0||A>0?Oe(n.left+v/2,n.top+m/2,i-v/2,A-m/2,be.TOP_LEFT):new q(n.left+v/2,n.top+m/2),this.topRightBorderStroke=i>0||A>0?Oe(n.left+f,n.top+m/2,s-C/2,c-m/2,be.TOP_RIGHT):new q(n.left+n.width-C/2,n.top+m/2),this.bottomRightBorderStroke=d>0||u>0?Oe(n.left+h,n.top+R,d-C/2,u-T/2,be.BOTTOM_RIGHT):new q(n.left+n.width-C/2,n.top+n.height-T/2),this.bottomLeftBorderStroke=p>0||g>0?Oe(n.left+v/2,n.top+I,p-v/2,g-T/2,be.BOTTOM_LEFT):new q(n.left+v/2,n.top+n.height-T/2),this.topLeftBorderBox=i>0||A>0?Oe(n.left,n.top,i,A,be.TOP_LEFT):new q(n.left,n.top),this.topRightBorderBox=s>0||c>0?Oe(n.left+f,n.top,s,c,be.TOP_RIGHT):new q(n.left+n.width,n.top),this.bottomRightBorderBox=d>0||u>0?Oe(n.left+h,n.top+R,d,u,be.BOTTOM_RIGHT):new q(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=p>0||g>0?Oe(n.left,n.top+I,p,g,be.BOTTOM_LEFT):new q(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||A>0?Oe(n.left+v,n.top+m,Math.max(0,i-v),Math.max(0,A-m),be.TOP_LEFT):new q(n.left+v,n.top+m),this.topRightPaddingBox=s>0||c>0?Oe(n.left+Math.min(f,n.width-C),n.top+m,f>n.width+C?0:Math.max(0,s-C),Math.max(0,c-m),be.TOP_RIGHT):new q(n.left+n.width-C,n.top+m),this.bottomRightPaddingBox=d>0||u>0?Oe(n.left+Math.min(h,n.width-v),n.top+Math.min(R,n.height-T),Math.max(0,d-C),Math.max(0,u-T),be.BOTTOM_RIGHT):new q(n.left+n.width-C,n.top+n.height-T),this.bottomLeftPaddingBox=p>0||g>0?Oe(n.left+v,n.top+Math.min(I,n.height-T),Math.max(0,p-v),Math.max(0,g-T),be.BOTTOM_LEFT):new q(n.left+v,n.top+n.height-T),this.topLeftContentBox=i>0||A>0?Oe(n.left+v+H,n.top+m+L,Math.max(0,i-(v+H)),Math.max(0,A-(m+L)),be.TOP_LEFT):new q(n.left+v+H,n.top+m+L),this.topRightContentBox=s>0||c>0?Oe(n.left+Math.min(f,n.width+v+H),n.top+m+L,f>n.width+v+H?0:s-v+H,c-(m+L),be.TOP_RIGHT):new q(n.left+n.width-(C+O),n.top+m+L),this.bottomRightContentBox=d>0||u>0?Oe(n.left+Math.min(h,n.width-(v+H)),n.top+Math.min(R,n.height+m+L),Math.max(0,d-(C+O)),u-(T+G),be.BOTTOM_RIGHT):new q(n.left+n.width-(C+O),n.top+n.height-(T+G)),this.bottomLeftContentBox=p>0||g>0?Oe(n.left+v+H,n.top+I,Math.max(0,p-(v+H)),g-(T+G),be.BOTTOM_LEFT):new q(n.left+v+H,n.top+n.height-(T+G))}return t}(),be;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(be||(be={}));var Oe=function(t,e,r,n,a){var i=4*((Math.sqrt(2)-1)/3),A=r*i,o=n*i,s=t+r,c=e+n;switch(a){case be.TOP_LEFT:return new Zn(new q(t,c),new q(t,c-o),new q(s-A,e),new q(s,e));case be.TOP_RIGHT:return new Zn(new q(t,e),new q(t+A,e),new q(s,c-o),new q(s,c));case be.BOTTOM_RIGHT:return new Zn(new q(s,e),new q(s,e+o),new q(t+A,c),new q(t,c));case be.BOTTOM_LEFT:default:return new Zn(new q(s,c),new q(s-A,c),new q(t,e+o),new q(t,e))}},ba=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Hh=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Ta=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Yh=function(){function t(e,r,n){this.offsetX=e,this.offsetY=r,this.matrix=n,this.type=0,this.target=6}return t}(),Jn=function(){function t(e,r){this.path=e,this.target=r,this.type=1}return t}(),Vh=function(){function t(e){this.opacity=e,this.type=2,this.target=6}return t}(),Kh=function(t){return t.type===0},mE=function(t){return t.type===1},qh=function(t){return t.type===2},Pd=function(t,e){return t.length===e.length?t.some(function(r,n){return r===e[n]}):!1},Wh=function(t,e,r,n,a){return t.map(function(i,A){switch(A){case 0:return i.add(e,r);case 1:return i.add(e+n,r);case 2:return i.add(e+n,r+a);case 3:return i.add(e,r+a)}return i})},EE=function(){function t(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),SE=function(){function t(e,r){if(this.container=e,this.parent=r,this.effects=[],this.curves=new Gh(this.container),this.container.styles.opacity<1&&this.effects.push(new Vh(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,a=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new Yh(n,a,i))}if(this.container.styles.overflowX!==0){var A=ba(this.curves),o=Ta(this.curves);Pd(A,o)?this.effects.push(new Jn(A,6)):(this.effects.push(new Jn(A,2)),this.effects.push(new Jn(o,4)))}}return t.prototype.getEffects=function(e){for(var r=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,a=this.effects.slice(0);n;){var i=n.effects.filter(function(s){return!mE(s)});if(r||n.container.styles.position!==0||!n.parent){if(a.unshift.apply(a,i),r=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var A=ba(n.curves),o=Ta(n.curves);Pd(A,o)||a.unshift(new Jn(o,6))}}else a.unshift.apply(a,i);n=n.parent}return a.filter(function(s){return Fe(s.target,e)})},t}(),rl=function(t,e,r,n){t.container.elements.forEach(function(a){var i=Fe(a.flags,4),A=Fe(a.flags,2),o=new SE(a,t);Fe(a.styles.display,2048)&&n.push(o);var s=Fe(a.flags,8)?[]:n;if(i||A){var c=i||a.styles.isPositioned()?r:e,l=new EE(o);if(a.styles.isPositioned()||a.styles.opacity<1||a.styles.isTransformed()){var d=a.styles.zIndex.order;if(d<0){var u=0;c.negativeZIndex.some(function(p,g){return d>p.element.container.styles.zIndex.order?(u=g,!1):u>0}),c.negativeZIndex.splice(u,0,l)}else if(d>0){var _=0;c.positiveZIndex.some(function(p,g){return d>=p.element.container.styles.zIndex.order?(_=g+1,!1):_>0}),c.positiveZIndex.splice(_,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else a.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);rl(o,l,i?l:r,s)}else a.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),rl(o,e,r,s);Fe(a.flags,8)&&fE(a,s)})},fE=function(t,e){for(var r=t instanceof Zc?t.start:1,n=t instanceof Zc?t.reversed:!1,a=0;a"u"?t[0]:r},tv=function(t,e,r,n,a){var i=e[0],A=e[1],o=r[0],s=r[1];switch(t){case 2:return[new q(Math.round(n.left),Math.round(n.top+A)),new q(Math.round(n.left+n.width),Math.round(n.top+A)),new q(Math.round(n.left+n.width),Math.round(s+n.top+A)),new q(Math.round(n.left),Math.round(s+n.top+A))];case 3:return[new q(Math.round(n.left+i),Math.round(n.top)),new q(Math.round(n.left+i+o),Math.round(n.top)),new q(Math.round(n.left+i+o),Math.round(n.height+n.top)),new q(Math.round(n.left+i),Math.round(n.height+n.top))];case 1:return[new q(Math.round(n.left+i),Math.round(n.top+A)),new q(Math.round(n.left+i+o),Math.round(n.top+A)),new q(Math.round(n.left+i+o),Math.round(n.top+A+s)),new q(Math.round(n.left+i),Math.round(n.top+A+s))];default:return[new q(Math.round(a.left),Math.round(a.top)),new q(Math.round(a.left+a.width),Math.round(a.top)),new q(Math.round(a.left+a.width),Math.round(a.height+a.top)),new q(Math.round(a.left),Math.round(a.height+a.top))]}},rv="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Gd="Hidden Text",nv=function(){function t(e){this._data={},this._document=e}return t.prototype.parseMetrics=function(e,r){var n=this._document.createElement("div"),a=this._document.createElement("img"),i=this._document.createElement("span"),A=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=r,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",A.appendChild(n),a.src=rv,a.width=1,a.height=1,a.style.margin="0",a.style.padding="0",a.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=r,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Gd)),n.appendChild(i),n.appendChild(a);var o=a.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(Gd)),n.style.lineHeight="normal",a.style.verticalAlign="super";var s=a.offsetTop-n.offsetTop+2;return A.removeChild(n),{baseline:o,middle:s}},t.prototype.getMetrics=function(e,r){var n=e+" "+r;return typeof this._data[n]>"u"&&(this._data[n]=this.parseMetrics(e,r)),this._data[n]},t}(),bE=function(){function t(e,r){this.context=e,this.options=r}return t}(),av=1e4,iv=function(t){St(e,t);function e(r,n){var a=t.call(this,r,n)||this;return a._activeEffects=[],a.canvas=n.canvas?n.canvas:document.createElement("canvas"),a.ctx=a.canvas.getContext("2d"),n.canvas||(a.canvas.width=Math.floor(n.width*n.scale),a.canvas.height=Math.floor(n.height*n.scale),a.canvas.style.width=n.width+"px",a.canvas.style.height=n.height+"px"),a.fontMetrics=new nv(document),a.ctx.scale(a.options.scale,a.options.scale),a.ctx.translate(-n.x,-n.y),a.ctx.textBaseline="bottom",a._activeEffects=[],a.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),a}return e.prototype.applyEffects=function(r){for(var n=this;this._activeEffects.length;)this.popEffect();r.forEach(function(a){return n.applyEffect(a)})},e.prototype.applyEffect=function(r){this.ctx.save(),qh(r)&&(this.ctx.globalAlpha=r.opacity),Kh(r)&&(this.ctx.translate(r.offsetX,r.offsetY),this.ctx.transform(r.matrix[0],r.matrix[1],r.matrix[2],r.matrix[3],r.matrix[4],r.matrix[5]),this.ctx.translate(-r.offsetX,-r.offsetY)),mE(r)&&(this.path(r.path),this.ctx.clip()),this._activeEffects.push(r)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(r){return Xe(this,void 0,void 0,function(){var n;return We(this,function(a){switch(a.label){case 0:return n=r.element.container.styles,n.isVisible()?[4,this.renderStackContent(r)]:[3,2];case 1:a.sent(),a.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(r){return Xe(this,void 0,void 0,function(){return We(this,function(n){switch(n.label){case 0:if(Fe(r.container.flags,16))debugger;return r.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(r)]:[3,3];case 1:return n.sent(),[4,this.renderNodeContent(r)];case 2:n.sent(),n.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(r,n,a){var i=this;if(n===0)this.ctx.fillText(r.text,r.bounds.left,r.bounds.top+a);else{var A=pl(r.text);A.reduce(function(o,s){return i.ctx.fillText(s,o,r.bounds.top+a),o+i.ctx.measureText(s).width},r.bounds.left)}},e.prototype.createFontStyle=function(r){var n=r.fontVariant.filter(function(A){return A==="normal"||A==="small-caps"}).join(""),a=lv(r.fontFamily).join(", "),i=Cn(r.fontSize)?""+r.fontSize.number+r.fontSize.unit:r.fontSize.number+"px";return[[r.fontStyle,n,r.fontWeight,i,a].join(" "),a,i]},e.prototype.renderTextNode=function(r,n){return Xe(this,void 0,void 0,function(){var a,i,A,o,s,c,l,d,u=this;return We(this,function(_){return a=this.createFontStyle(n),i=a[0],A=a[1],o=a[2],this.ctx.font=i,this.ctx.direction=n.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(A,o),c=s.baseline,l=s.middle,d=n.paintOrder,r.textBounds.forEach(function(p){d.forEach(function(g){switch(g){case 0:u.ctx.fillStyle=Qe(n.color),u.renderTextWithLetterSpacing(p,n.letterSpacing,c);var S=n.textShadow;S.length&&p.text.trim().length&&(S.slice(0).reverse().forEach(function(E){u.ctx.shadowColor=Qe(E.color),u.ctx.shadowOffsetX=E.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=E.offsetY.number*u.options.scale,u.ctx.shadowBlur=E.blur.number,u.renderTextWithLetterSpacing(p,n.letterSpacing,c)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),n.textDecorationLine.length&&(u.ctx.fillStyle=Qe(n.textDecorationColor||n.color),n.textDecorationLine.forEach(function(E){switch(E){case 1:u.ctx.fillRect(p.bounds.left,Math.round(p.bounds.top+c),p.bounds.width,1);break;case 2:u.ctx.fillRect(p.bounds.left,Math.round(p.bounds.top),p.bounds.width,1);break;case 3:u.ctx.fillRect(p.bounds.left,Math.ceil(p.bounds.top+l),p.bounds.width,1);break}}));break;case 1:n.webkitTextStrokeWidth&&p.text.trim().length&&(u.ctx.strokeStyle=Qe(n.webkitTextStrokeColor),u.ctx.lineWidth=n.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(p.text,p.bounds.left,p.bounds.top+c)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(r,n,a){if(a&&r.intrinsicWidth>0&&r.intrinsicHeight>0){var i=ha(r),A=Ta(n);this.path(A),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(a,0,0,r.intrinsicWidth,r.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(r){return Xe(this,void 0,void 0,function(){var n,a,i,A,o,s,f,f,c,l,d,u,h,_,p,I,g,S,E,f,R,h,I;return We(this,function(m){switch(m.label){case 0:this.applyEffects(r.getEffects(4)),n=r.container,a=r.curves,i=n.styles,A=0,o=n.textNodes,m.label=1;case 1:return A0&&B>0&&(T=i.ctx.createPattern(I,"repeat"),i.renderRepeat(L,T,x,N))):qC(l)&&(v=Pi(r,n,[null,null,null]),L=v[0],O=v[1],G=v[2],H=v[3],B=v[4],k=l.position.length===0?[dl]:l.position,x=Re(k[0],H),N=Re(k[k.length-1],B),P=GC(l,x,N,H,B),Y=P[0],Z=P[1],Y>0&&Z>0&&(J=i.ctx.createRadialGradient(O+x,G+N,0,O+x,G+N,Y),cd(l.stops,Y*2).forEach(function(ce){return J.addColorStop(ce.stop,Qe(ce.color))}),i.path(L),i.ctx.fillStyle=J,Y!==Z?(_e=r.bounds.left+.5*r.bounds.width,le=r.bounds.top+.5*r.bounds.height,Ee=Z/Y,re=1/Ee,i.ctx.save(),i.ctx.translate(_e,le),i.ctx.transform(1,0,0,Ee,0,0),i.ctx.translate(-_e,-le),i.ctx.fillRect(O,re*(G-le)+le,H,B*re),i.ctx.restore()):i.ctx.fill())),se.label=6;case 6:return n--,[2]}})},i=this,A=0,o=r.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return A0?l.style!==2?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,o,r.curves,2)]:[3,11]):[3,13];case 4:return u.sent(),[3,11];case 5:return l.style!==3?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,o,r.curves,3)];case 6:return u.sent(),[3,11];case 7:return l.style!==4?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,o,r.curves)];case 8:return u.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,o,r.curves)];case 10:u.sent(),u.label=11;case 11:o++,u.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(r,n,a,i,A){return Xe(this,void 0,void 0,function(){var o,s,c,l,d,u,_,p,g,S,E,f,R,h,I,m,I,m;return We(this,function(C){return this.ctx.save(),o=Zh(i,a),s=Qd(i,a),A===2&&(this.path(s),this.ctx.clip()),At(s[0])?(c=s[0].start.x,l=s[0].start.y):(c=s[0].x,l=s[0].y),At(s[1])?(d=s[1].end.x,u=s[1].end.y):(d=s[1].x,u=s[1].y),a===0||a===2?_=Math.abs(c-d):_=Math.abs(l-u),this.ctx.beginPath(),A===3?this.formatPath(o):this.formatPath(s.slice(0,2)),p=n<3?n*3:n*2,g=n<3?n*2:n,A===3&&(p=n,g=n),S=!0,_<=p*2?S=!1:_<=p*2+g?(E=_/(2*p+g),p*=E,g*=E):(f=Math.floor((_+g)/(p+g)),R=(_-f*p)/(f-1),h=(_-(f+1)*p)/f,g=h<=0||Math.abs(g-R){var s,c,l,d,u,_,p,g,S,E,f,R,h;if((s=e.model)!=null&&s.includes("gpt"))return Sv;if((c=e.model)!=null&&c.includes("dall-e"))return fv;if((l=e.model)!=null&&l.includes("midjourney"))return bv;if((d=e.model)!=null&&d.includes("gemini"))return Cv;if((u=e.model)!=null&&u.includes("360"))return Tv;if((_=e.model)!=null&&_.includes("qwen"))return hv;if((p=e.model)!=null&&p.includes("ERNIE"))return vv;if((g=e.model)!=null&&g.includes("claude"))return Rv;if((S=e.model)!=null&&S.includes("hunyuan"))return Iv;if((E=e.model)!=null&&E.includes("SparkDesk"))return yv;if((f=e.model)!=null&&f.includes("glm"))return Nv;if((R=e.model)!=null&&R.includes("suno"))return Ov;if((h=e.model)!=null&&h.includes("stable-diffusion"))return Bv});Ot();const a=mn(),i=W(()=>a.userInfo.avatar),A=W(()=>{var c;return((c=o.value)==null?void 0:c.appLogo)||a.globalConfig.robotAvatar}),o=W(()=>r.groupList.find(s=>s.uuid===r.active));return(s,c)=>s.image?(M(),K(ot,{key:0},[w(wn)(i.value)&&i.value.length>0?(M(),K("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:i.value,alt:"User Avatar"},null,8,wv)):(M(),K("span",Dv,[D(w(KS),{class:"text-xs font-small leading-none text-white p-1"})]))],64)):(M(),K(ot,{key:1},[w(wn)(s.modelAvatar)&&s.modelAvatar.length>0?(M(),K("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:s.modelAvatar,alt:"Robot Avatar"},null,8,Lv)):w(wn)(A.value)&&A.value.length>0?(M(),K("img",{key:1,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:A.value,alt:"Robot Avatar"},null,8,xv)):n.value?(M(),K("img",{key:2,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:n.value,alt:"Robot Avatar"},null,8,Mv)):w(wn)(A.value)&&A.value.length>0?(M(),K("img",{key:3,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:A.value,alt:"Robot Avatar"},null,8,Uv)):(M(),K("span",Fv,[D(w(HS),{class:"text-xs font-small leading-none text-white p-1"})]))],64))}});var Qi=IS();function Hd(t,e){var r,n,a=t.posMax,i=!0,A=!0;return r=e>0?t.src.charCodeAt(e-1):-1,n=e+1<=a?t.src.charCodeAt(e+1):-1,(r===32||r===9||n>=48&&n<=57)&&(A=!1),(n===32||n===9)&&(i=!1),{can_open:i,can_close:A}}function Pv(t,e){var r,n,a,i,A;if(t.src[t.pos]!=="$")return!1;if(i=Hd(t,t.pos),!i.can_open)return e||(t.pending+="$"),t.pos+=1,!0;for(r=t.pos+1,n=r;(n=t.src.indexOf("$",n))!==-1;){for(A=n-1;t.src[A]==="\\";)A-=1;if((n-A)%2==1)break;n+=1}return n===-1?(e||(t.pending+="$"),t.pos=r,!0):n-r===0?(e||(t.pending+="$$"),t.pos=r+1,!0):(i=Hd(t,n),i.can_close?(e||(a=t.push("math_inline","math",0),a.markup="$",a.content=t.src.slice(r,n)),t.pos=n+1,!0):(e||(t.pending+="$"),t.pos=r,!0))}function Qv(t,e,r,n){var a,i,A,o,s=!1,c,l=t.bMarks[e]+t.tShift[e],d=t.eMarks[e];if(l+2>d||t.src.slice(l,l+2)!=="$$")return!1;if(l+=2,a=t.src.slice(l,d),n)return!0;for(a.trim().slice(-2)==="$$"&&(a=a.trim().slice(0,-2),s=!0),A=e;!s&&(A++,!(A>=r||(l=t.bMarks[A]+t.tShift[A],d=t.eMarks[A],l/g,">").replace(/"/g,""").replace(/'/g,"'")}var Gv=function(e,r){r=r||{},r.katex&&(Qi=r.katex),r.blockClass||(r.blockClass="");var n=function(o){r.displayMode=!1;try{return Qi.renderToString(o,r)}catch(s){return r.throwOnError&&console.log(s),`${ta(o)}`}},a=function(o,s){return n(o[s].content)},i=function(o){r.displayMode=!0;try{return`

    `+Qi.renderToString(o,r)+"

    "}catch(s){return r.throwOnError&&console.log(s),`

    ${ta(o)}

    `}},A=function(o,s){return i(o[s].content)+` -`};e.inline.ruler.after("escape","math_inline",Pv),e.block.ruler.after("blockquote","math_block",Qv,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=a,e.renderer.rules.math_block=A};const Ga=ya(Gv);function TE(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const r=t[e],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&TE(r)}),t}class Yd{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function hE(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function er(t,...e){const r=Object.create(null);for(const n in t)r[n]=t[n];return e.forEach(function(n){for(const a in n)r[a]=n[a]}),r}const Hv="",Vd=t=>!!t.scope,Yv=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const r=t.split(".");return[`${e}${r.shift()}`,...r.map((n,a)=>`${n}${"_".repeat(a+1)}`)].join(" ")}return`${e}${t}`};class Vv{constructor(e,r){this.buffer="",this.classPrefix=r.classPrefix,e.walk(this)}addText(e){this.buffer+=hE(e)}openNode(e){if(!Vd(e))return;const r=Yv(e.scope,{prefix:this.classPrefix});this.span(r)}closeNode(e){Vd(e)&&(this.buffer+=Hv)}value(){return this.buffer}span(e){this.buffer+=``}}const Kd=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class El{constructor(){this.rootNode=Kd(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const r=Kd({scope:e});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,r){return typeof r=="string"?e.addText(r):r.children&&(e.openNode(r),r.children.forEach(n=>this._walk(e,n)),e.closeNode(r)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(r=>typeof r=="string")?e.children=[e.children.join("")]:e.children.forEach(r=>{El._collapse(r)}))}}class Kv extends El{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,r){const n=e.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new Vv(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function _n(t){return t?typeof t=="string"?t:t.source:null}function vE(t){return Sr("(?=",t,")")}function qv(t){return Sr("(?:",t,")*")}function Wv(t){return Sr("(?:",t,")?")}function Sr(...t){return t.map(r=>_n(r)).join("")}function zv(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Sl(...t){return"("+(zv(t).capture?"":"?:")+t.map(n=>_n(n)).join("|")+")"}function RE(t){return new RegExp(t.toString()+"|").exec("").length-1}function $v(t,e){const r=t&&t.exec(e);return r&&r.index===0}const Xv=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function fl(t,{joinWith:e}){let r=0;return t.map(n=>{r+=1;const a=r;let i=_n(n),A="";for(;i.length>0;){const o=Xv.exec(i);if(!o){A+=i;break}A+=i.substring(0,o.index),i=i.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?A+="\\"+String(Number(o[1])+a):(A+=o[0],o[0]==="("&&r++)}return A}).map(n=>`(${n})`).join(e)}const Zv=/\b\B/,IE="[a-zA-Z]\\w*",Cl="[a-zA-Z_]\\w*",yE="\\b\\d+(\\.\\d+)?",NE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",OE="\\b(0b[01]+)",Jv="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",jv=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Sr(e,/.*\b/,t.binary,/\b.*/)),er({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},t)},pn={begin:"\\\\[\\s\\S]",relevance:0},eR={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[pn]},tR={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[pn]},rR={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ha=function(t,e,r={}){const n=er({scope:"comment",begin:t,end:e,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=Sl("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:Sr(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},nR=Ha("//","$"),aR=Ha("/\\*","\\*/"),iR=Ha("#","$"),AR={scope:"number",begin:yE,relevance:0},oR={scope:"number",begin:NE,relevance:0},sR={scope:"number",begin:OE,relevance:0},cR={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[pn,{begin:/\[/,end:/\]/,relevance:0,contains:[pn]}]},lR={scope:"title",begin:IE,relevance:0},dR={scope:"title",begin:Cl,relevance:0},uR={begin:"\\.\\s*"+Cl,relevance:0},_R=function(t){return Object.assign(t,{"on:begin":(e,r)=>{r.data._beginMatch=e[1]},"on:end":(e,r)=>{r.data._beginMatch!==e[1]&&r.ignoreMatch()}})};var ra=Object.freeze({__proto__:null,APOS_STRING_MODE:eR,BACKSLASH_ESCAPE:pn,BINARY_NUMBER_MODE:sR,BINARY_NUMBER_RE:OE,COMMENT:Ha,C_BLOCK_COMMENT_MODE:aR,C_LINE_COMMENT_MODE:nR,C_NUMBER_MODE:oR,C_NUMBER_RE:NE,END_SAME_AS_BEGIN:_R,HASH_COMMENT_MODE:iR,IDENT_RE:IE,MATCH_NOTHING_RE:Zv,METHOD_GUARD:uR,NUMBER_MODE:AR,NUMBER_RE:yE,PHRASAL_WORDS_MODE:rR,QUOTE_STRING_MODE:tR,REGEXP_MODE:cR,RE_STARTERS_RE:Jv,SHEBANG:jv,TITLE_MODE:lR,UNDERSCORE_IDENT_RE:Cl,UNDERSCORE_TITLE_MODE:dR});function pR(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function gR(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function mR(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=pR,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function ER(t,e){Array.isArray(t.illegal)&&(t.illegal=Sl(...t.illegal))}function SR(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function fR(t,e){t.relevance===void 0&&(t.relevance=1)}const CR=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},t);Object.keys(t).forEach(n=>{delete t[n]}),t.keywords=r.keywords,t.begin=Sr(r.beforeMatch,vE(r.begin)),t.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},t.relevance=0,delete r.beforeMatch},bR=["of","and","for","in","not","or","if","then","parent","list","value"],TR="keyword";function BE(t,e,r=TR){const n=Object.create(null);return typeof t=="string"?a(r,t.split(" ")):Array.isArray(t)?a(r,t):Object.keys(t).forEach(function(i){Object.assign(n,BE(t[i],e,i))}),n;function a(i,A){e&&(A=A.map(o=>o.toLowerCase())),A.forEach(function(o){const s=o.split("|");n[s[0]]=[i,hR(s[0],s[1])]})}}function hR(t,e){return e?Number(e):vR(t)?0:1}function vR(t){return bR.includes(t.toLowerCase())}const qd={},gr=t=>{console.error(t)},Wd=(t,...e)=>{console.log(`WARN: ${t}`,...e)},yr=(t,e)=>{qd[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),qd[`${t}/${e}`]=!0)},va=new Error;function wE(t,e,{key:r}){let n=0;const a=t[r],i={},A={};for(let o=1;o<=e.length;o++)A[o+n]=a[o],i[o+n]=!0,n+=RE(e[o-1]);t[r]=A,t[r]._emit=i,t[r]._multi=!0}function RR(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw gr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),va;if(typeof t.beginScope!="object"||t.beginScope===null)throw gr("beginScope must be object"),va;wE(t,t.begin,{key:"beginScope"}),t.begin=fl(t.begin,{joinWith:""})}}function IR(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw gr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),va;if(typeof t.endScope!="object"||t.endScope===null)throw gr("endScope must be object"),va;wE(t,t.end,{key:"endScope"}),t.end=fl(t.end,{joinWith:""})}}function yR(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function NR(t){yR(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),RR(t),IR(t)}function OR(t){function e(A,o){return new RegExp(_n(A),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(o?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,s){s.position=this.position++,this.matchIndexes[this.matchAt]=s,this.regexes.push([s,o]),this.matchAt+=RE(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(s=>s[1]);this.matcherRe=e(fl(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const s=this.matcherRe.exec(o);if(!s)return null;const c=s.findIndex((d,u)=>u>0&&d!==void 0),l=this.matchIndexes[c];return s.splice(0,c),Object.assign(s,l)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const s=new r;return this.rules.slice(o).forEach(([c,l])=>s.addRule(c,l)),s.compile(),this.multiRegexes[o]=s,s}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,s){this.rules.push([o,s]),s.type==="begin"&&this.count++}exec(o){const s=this.getMatcher(this.regexIndex);s.lastIndex=this.lastIndex;let c=s.exec(o);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const l=this.getMatcher(0);l.lastIndex=this.lastIndex+1,c=l.exec(o)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function a(A){const o=new n;return A.contains.forEach(s=>o.addRule(s.begin,{rule:s,type:"begin"})),A.terminatorEnd&&o.addRule(A.terminatorEnd,{type:"end"}),A.illegal&&o.addRule(A.illegal,{type:"illegal"}),o}function i(A,o){const s=A;if(A.isCompiled)return s;[gR,SR,NR,CR].forEach(l=>l(A,o)),t.compilerExtensions.forEach(l=>l(A,o)),A.__beforeBegin=null,[mR,ER,fR].forEach(l=>l(A,o)),A.isCompiled=!0;let c=null;return typeof A.keywords=="object"&&A.keywords.$pattern&&(A.keywords=Object.assign({},A.keywords),c=A.keywords.$pattern,delete A.keywords.$pattern),c=c||/\w+/,A.keywords&&(A.keywords=BE(A.keywords,t.case_insensitive)),s.keywordPatternRe=e(c,!0),o&&(A.begin||(A.begin=/\B|\b/),s.beginRe=e(s.begin),!A.end&&!A.endsWithParent&&(A.end=/\B|\b/),A.end&&(s.endRe=e(s.end)),s.terminatorEnd=_n(s.end)||"",A.endsWithParent&&o.terminatorEnd&&(s.terminatorEnd+=(A.end?"|":"")+o.terminatorEnd)),A.illegal&&(s.illegalRe=e(A.illegal)),A.contains||(A.contains=[]),A.contains=[].concat(...A.contains.map(function(l){return BR(l==="self"?A:l)})),A.contains.forEach(function(l){i(l,s)}),A.starts&&i(A.starts,o),s.matcher=a(s),s}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=er(t.classNameAliases||{}),i(t)}function DE(t){return t?t.endsWithParent||DE(t.starts):!1}function BR(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return er(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:DE(t)?er(t,{starts:t.starts?er(t.starts):null}):Object.isFrozen(t)?er(t):t}var wR="11.9.0";class DR extends Error{constructor(e,r){super(e),this.name="HTMLInjectionError",this.html=r}}const Gi=hE,zd=er,$d=Symbol("nomatch"),LR=7,LE=function(t){const e=Object.create(null),r=Object.create(null),n=[];let a=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",A={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Kv};function s(N){return o.noHighlightRe.test(N)}function c(N){let P=N.className+" ";P+=N.parentNode?N.parentNode.className:"";const Y=o.languageDetectRe.exec(P);if(Y){const Z=v(Y[1]);return Z||(Wd(i.replace("{}",Y[1])),Wd("Falling back to no-highlight mode for this block.",N)),Z?Y[1]:"no-highlight"}return P.split(/\s+/).find(Z=>s(Z)||v(Z))}function l(N,P,Y){let Z="",J="";typeof P=="object"?(Z=N,Y=P.ignoreIllegals,J=P.language):(yr("10.7.0","highlight(lang, code, ...args) has been deprecated."),yr("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),J=N,Z=P),Y===void 0&&(Y=!0);const _e={code:Z,language:J};k("before:highlight",_e);const le=_e.result?_e.result:d(_e.language,_e.code,Y);return le.code=_e.code,k("after:highlight",le),le}function d(N,P,Y,Z){const J=Object.create(null);function _e(V,$){return V.keywords[$]}function le(){if(!ee.keywords){Ie.addText(fe);return}let V=0;ee.keywordPatternRe.lastIndex=0;let $=ee.keywordPatternRe.exec(fe),te="";for(;$;){te+=fe.substring(V,$.index);const oe=Pe.case_insensitive?$[0].toLowerCase():$[0],we=_e(ee,oe);if(we){const[Ke,ir]=we;if(Ie.addText(te),te="",J[oe]=(J[oe]||0)+1,J[oe]<=LR&&(_t+=ir),Ke.startsWith("_"))te+=$[0];else{const nt=Pe.classNameAliases[Ke]||Ke;se($[0],nt)}}else te+=$[0];V=ee.keywordPatternRe.lastIndex,$=ee.keywordPatternRe.exec(fe)}te+=fe.substring(V),Ie.addText(te)}function Ee(){if(fe==="")return;let V=null;if(typeof ee.subLanguage=="string"){if(!e[ee.subLanguage]){Ie.addText(fe);return}V=d(ee.subLanguage,fe,!0,Mt[ee.subLanguage]),Mt[ee.subLanguage]=V._top}else V=_(fe,ee.subLanguage.length?ee.subLanguage:null);ee.relevance>0&&(_t+=V.relevance),Ie.__addSublanguage(V._emitter,V.language)}function re(){ee.subLanguage!=null?Ee():le(),fe=""}function se(V,$){V!==""&&(Ie.startScope($),Ie.addText(V),Ie.endScope())}function ce(V,$){let te=1;const oe=$.length-1;for(;te<=oe;){if(!V._emit[te]){te++;continue}const we=Pe.classNameAliases[V[te]]||V[te],Ke=$[te];we?se(Ke,we):(fe=Ke,le(),fe=""),te++}}function pe(V,$){return V.scope&&typeof V.scope=="string"&&Ie.openNode(Pe.classNameAliases[V.scope]||V.scope),V.beginScope&&(V.beginScope._wrap?(se(fe,Pe.classNameAliases[V.beginScope._wrap]||V.beginScope._wrap),fe=""):V.beginScope._multi&&(ce(V.beginScope,$),fe="")),ee=Object.create(V,{parent:{value:ee}}),ee}function he(V,$,te){let oe=$v(V.endRe,te);if(oe){if(V["on:end"]){const we=new Yd(V);V["on:end"]($,we),we.isMatchIgnored&&(oe=!1)}if(oe){for(;V.endsParent&&V.parent;)V=V.parent;return V}}if(V.endsWithParent)return he(V.parent,$,te)}function ye(V){return ee.matcher.regexIndex===0?(fe+=V[0],1):(Ve=!0,0)}function Ne(V){const $=V[0],te=V.rule,oe=new Yd(te),we=[te.__beforeBegin,te["on:begin"]];for(const Ke of we)if(Ke&&(Ke(V,oe),oe.isMatchIgnored))return ye($);return te.skip?fe+=$:(te.excludeBegin&&(fe+=$),re(),!te.returnBegin&&!te.excludeBegin&&(fe=$)),pe(te,V),te.returnBegin?0:$.length}function ke(V){const $=V[0],te=P.substring(V.index),oe=he(ee,V,te);if(!oe)return $d;const we=ee;ee.endScope&&ee.endScope._wrap?(re(),se($,ee.endScope._wrap)):ee.endScope&&ee.endScope._multi?(re(),ce(ee.endScope,V)):we.skip?fe+=$:(we.returnEnd||we.excludeEnd||(fe+=$),re(),we.excludeEnd&&(fe=$));do ee.scope&&Ie.closeNode(),!ee.skip&&!ee.subLanguage&&(_t+=ee.relevance),ee=ee.parent;while(ee!==oe.parent);return oe.starts&&pe(oe.starts,V),we.returnEnd?0:$.length}function De(){const V=[];for(let $=ee;$!==Pe;$=$.parent)$.scope&&V.unshift($.scope);V.forEach($=>Ie.openNode($))}let Se={};function xt(V,$){const te=$&&$[0];if(fe+=V,te==null)return re(),0;if(Se.type==="begin"&&$.type==="end"&&Se.index===$.index&&te===""){if(fe+=P.slice($.index,$.index+1),!a){const oe=new Error(`0 width match regex (${N})`);throw oe.languageName=N,oe.badRule=Se.rule,oe}return 1}if(Se=$,$.type==="begin")return Ne($);if($.type==="illegal"&&!Y){const oe=new Error('Illegal lexeme "'+te+'" for mode "'+(ee.scope||"")+'"');throw oe.mode=ee,oe}else if($.type==="end"){const oe=ke($);if(oe!==$d)return oe}if($.type==="illegal"&&te==="")return 1;if(Ye>1e5&&Ye>$.index*3)throw new Error("potential infinite loop, way more iterations than matches");return fe+=te,te.length}const Pe=v(N);if(!Pe)throw gr(i.replace("{}",N)),new Error('Unknown language: "'+N+'"');const Ct=OR(Pe);let bt="",ee=Z||Ct;const Mt={},Ie=new o.__emitter(o);De();let fe="",_t=0,Ze=0,Ye=0,Ve=!1;try{if(Pe.__emitTokens)Pe.__emitTokens(P,Ie);else{for(ee.matcher.considerAll();;){Ye++,Ve?Ve=!1:ee.matcher.considerAll(),ee.matcher.lastIndex=Ze;const V=ee.matcher.exec(P);if(!V)break;const $=P.substring(Ze,V.index),te=xt($,V);Ze=V.index+te}xt(P.substring(Ze))}return Ie.finalize(),bt=Ie.toHTML(),{language:N,value:bt,relevance:_t,illegal:!1,_emitter:Ie,_top:ee}}catch(V){if(V.message&&V.message.includes("Illegal"))return{language:N,value:Gi(P),illegal:!0,relevance:0,_illegalBy:{message:V.message,index:Ze,context:P.slice(Ze-100,Ze+100),mode:V.mode,resultSoFar:bt},_emitter:Ie};if(a)return{language:N,value:Gi(P),illegal:!1,relevance:0,errorRaised:V,_emitter:Ie,_top:ee};throw V}}function u(N){const P={value:Gi(N),illegal:!1,relevance:0,_top:A,_emitter:new o.__emitter(o)};return P._emitter.addText(N),P}function _(N,P){P=P||o.languages||Object.keys(e);const Y=u(N),Z=P.filter(v).filter(O).map(re=>d(re,N,!1));Z.unshift(Y);const J=Z.sort((re,se)=>{if(re.relevance!==se.relevance)return se.relevance-re.relevance;if(re.language&&se.language){if(v(re.language).supersetOf===se.language)return 1;if(v(se.language).supersetOf===re.language)return-1}return 0}),[_e,le]=J,Ee=_e;return Ee.secondBest=le,Ee}function p(N,P,Y){const Z=P&&r[P]||Y;N.classList.add("hljs"),N.classList.add(`language-${Z}`)}function g(N){let P=null;const Y=c(N);if(s(Y))return;if(k("before:highlightElement",{el:N,language:Y}),N.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",N);return}if(N.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(N)),o.throwUnescapedHTML))throw new DR("One of your code blocks includes unescaped HTML.",N.innerHTML);P=N;const Z=P.textContent,J=Y?l(Z,{language:Y,ignoreIllegals:!0}):_(Z);N.innerHTML=J.value,N.dataset.highlighted="yes",p(N,Y,J.language),N.result={language:J.language,re:J.relevance,relevance:J.relevance},J.secondBest&&(N.secondBest={language:J.secondBest.language,relevance:J.secondBest.relevance}),k("after:highlightElement",{el:N,result:J,text:Z})}function S(N){o=zd(o,N)}const E=()=>{h(),yr("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function f(){h(),yr("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let R=!1;function h(){if(document.readyState==="loading"){R=!0;return}document.querySelectorAll(o.cssSelector).forEach(g)}function I(){R&&h()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",I,!1);function m(N,P){let Y=null;try{Y=P(t)}catch(Z){if(gr("Language definition for '{}' could not be registered.".replace("{}",N)),a)gr(Z);else throw Z;Y=A}Y.name||(Y.name=N),e[N]=Y,Y.rawDefinition=P.bind(null,t),Y.aliases&&L(Y.aliases,{languageName:N})}function C(N){delete e[N];for(const P of Object.keys(r))r[P]===N&&delete r[P]}function T(){return Object.keys(e)}function v(N){return N=(N||"").toLowerCase(),e[N]||e[r[N]]}function L(N,{languageName:P}){typeof N=="string"&&(N=[N]),N.forEach(Y=>{r[Y.toLowerCase()]=P})}function O(N){const P=v(N);return P&&!P.disableAutodetect}function G(N){N["before:highlightBlock"]&&!N["before:highlightElement"]&&(N["before:highlightElement"]=P=>{N["before:highlightBlock"](Object.assign({block:P.el},P))}),N["after:highlightBlock"]&&!N["after:highlightElement"]&&(N["after:highlightElement"]=P=>{N["after:highlightBlock"](Object.assign({block:P.el},P))})}function H(N){G(N),n.push(N)}function B(N){const P=n.indexOf(N);P!==-1&&n.splice(P,1)}function k(N,P){const Y=N;n.forEach(function(Z){Z[Y]&&Z[Y](P)})}function x(N){return yr("10.7.0","highlightBlock will be removed entirely in v12.0"),yr("10.7.0","Please use highlightElement now."),g(N)}Object.assign(t,{highlight:l,highlightAuto:_,highlightAll:h,highlightElement:g,highlightBlock:x,configure:S,initHighlighting:E,initHighlightingOnLoad:f,registerLanguage:m,unregisterLanguage:C,listLanguages:T,getLanguage:v,registerAliases:L,autoDetection:O,inherit:zd,addPlugin:H,removePlugin:B}),t.debugMode=function(){a=!1},t.safeMode=function(){a=!0},t.versionString=wR,t.regex={concat:Sr,lookahead:vE,either:Sl,optional:Wv,anyNumberOfTimes:qv};for(const N in ra)typeof ra[N]=="object"&&TE(ra[N]);return Object.assign(t,ra),t},Ur=LE({});Ur.newInstance=()=>LE({});var xR=Ur;Ur.HighlightJS=Ur;Ur.default=Ur;var Hi,Xd;function MR(){if(Xd)return Hi;Xd=1;function t(e){const r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",i="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",s="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",c="разделительстраниц разделительстрок символтабуляции ",l="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",d="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",u="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",_=c+l+d+u,p="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",g="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",S="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",E="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",f="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",R="отображениевремениэлементовпланировщика ",h="типфайлаформатированногодокумента ",I="обходрезультатазапроса типзаписизапроса ",m="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",C="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",T="типизмеренияпостроителязапроса ",v="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",L="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",O="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",G="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",H="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",B="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",k="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",x="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",N="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",P="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",Y="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",Z=p+g+S+E+f+R+h+I+m+C+T+v+L+O+G+H+B+k+x+N+P+Y,le="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Ee="null истина ложь неопределено",re=e.inherit(e.NUMBER_MODE),se={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},ce={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},pe=e.inherit(e.C_LINE_COMMENT_MODE),he={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:r,keyword:i+s},contains:[pe]},ye={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ne={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:r,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:r,keyword:"знач",literal:Ee},contains:[re,se,ce]},pe]},e.inherit(e.TITLE_MODE,{begin:r})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:r,keyword:i,built_in:_,class:Z,type:le,literal:Ee},contains:[he,Ne,pe,ye,re,se,ce]}}return Hi=t,Hi}var Yi,Zd;function UR(){if(Zd)return Yi;Zd=1;function t(e){const r=e.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,a=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=e.COMMENT(/;/,/$/),A={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},o={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},s={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},l={scope:"attribute",match:r.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:a,contains:[{scope:"operator",match:/=\/?/},l,i,A,o,s,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Yi=t,Yi}var Vi,Jd;function FR(){if(Jd)return Vi;Jd=1;function t(e){const r=e.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:r.concat(/"/,r.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return Vi=t,Vi}var Ki,jd;function kR(){if(jd)return Ki;jd=1;function t(e){const r=e.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,a=r.concat(n,r.concat("(\\.",n,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,A={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,A]},{begin:r.concat(/:\s*/,i)}]},e.METHOD_GUARD],illegal:/#/}}return Ki=t,Ki}var qi,eu;function PR(){if(eu)return qi;eu=1;function t(e){const r="\\d(_|\\d)*",n="[eE][-+]?"+r,a=r+"(\\."+r+")?("+n+")?",i="\\w+",o="\\b("+(r+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+a+")",s="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,l=e.COMMENT("--","$"),d={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:s,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[l,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:o,relevance:0},{className:"symbol",begin:"'"+s},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[l,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},d,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},d]}}return qi=t,qi}var Wi,tu;function QR(){if(tu)return Wi;tu=1;function t(e){const r={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},a={className:"keyword",begin:"<",end:">",contains:[r,n]};return r.contains=[a],n.contains=[a],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},r,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return Wi=t,Wi}var zi,ru;function GR(){if(ru)return zi;ru=1;function t(e){const r={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},a={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[a,i,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",r]},a,n,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return zi=t,zi}var $i,nu;function HR(){if(nu)return $i;nu=1;function t(e){const r=e.regex,n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),a={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,n]},i=e.COMMENT(/--/,/$/),A=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),o=[i,A,e.HASH_COMMENT_MODE],s=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],c=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,e.C_NUMBER_MODE,{className:"built_in",begin:r.concat(/\b/,r.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:r.concat(/\b/,r.either(...s),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,a]},...o],illegal:/\/\/|->|=>|\[\[/}}return $i=t,$i}var Xi,au;function YR(){if(au)return Xi;au=1;function t(e){const r="[A-Za-z_][0-9A-Za-z_]*",n={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},a={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},A={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},o={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,A]};A.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,i,e.REGEXP_MODE];const s=A.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:r+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:r,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+r+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:r},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:s}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:r}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return Xi=t,Xi}var Zi,iu;function VR(){if(iu)return Zi;iu=1;function t(r){const n=r.regex,a=r.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",A="[a-zA-Z_]\\w*::",o="<[^<>]+>",s="(?!struct)("+i+"|"+n.optional(A)+"[a-zA-Z_]\\w*"+n.optional(o)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},r.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},_={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},r.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},a,r.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(A)+r.IDENT_RE,relevance:0},g=n.optional(A)+r.IDENT_RE+"\\s*\\(",S=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],E=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],f=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],R=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],m={type:E,keyword:S,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:f},C={className:"function.dispatch",relevance:0,keywords:{_hint:R},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,r.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},T=[C,_,c,a,r.C_BLOCK_COMMENT_MODE,u,d],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:m,contains:T.concat([{begin:/\(/,end:/\)/,keywords:m,contains:T.concat(["self"]),relevance:0}]),relevance:0},L={className:"function",begin:"("+s+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:m,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:m,relevance:0},{begin:g,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[a,r.C_BLOCK_COMMENT_MODE,d,u,c,{begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:["self",a,r.C_BLOCK_COMMENT_MODE,d,u,c]}]},c,a,r.C_BLOCK_COMMENT_MODE,_]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:m,illegal:"",keywords:m,contains:["self",c]},{begin:r.IDENT_RE+"::",keywords:m},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(r){const n={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},a=t(r),i=a.keywords;return i.type=[...i.type,...n.type],i.literal=[...i.literal,...n.literal],i.built_in=[...i.built_in,...n.built_in],i._hints=n._hints,a.name="Arduino",a.aliases=["ino"],a.supersetOf="cpp",a}return Zi=e,Zi}var Ji,Au;function KR(){if(Au)return Ji;Au=1;function t(e){const r={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},r,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return Ji=t,Ji}var ji,ou;function qR(){if(ou)return ji;ou=1;function t(e){const r=e.regex,n=r.concat(/[\p{L}_]/u,r.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},A={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(A,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[A,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[A,o,c,s]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:r.concat(/<\//,r.lookahead(r.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return ji=t,ji}var eA,su;function WR(){if(su)return eA;su=1;function t(e){const r=e.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},a=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:r.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],A=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:r.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],o={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},s={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},s,o,...a,...i,...A,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return eA=t,eA}var tA,cu;function zR(){if(cu)return tA;cu=1;function t(e){const r=e.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],a=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(a),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:r.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:r.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(a),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:r.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return tA=t,tA}var rA,lu;function $R(){if(lu)return rA;lu=1;function t(e){const r={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[r,e.inherit(e.QUOTE_STRING_MODE,{contains:[r]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return rA=t,rA}var nA,du;function XR(){if(du)return nA;du=1;function t(e){const r="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],a="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",A={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},o={begin:"\\$[A-z0-9_]+"},s={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},l={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[s,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},s,A]},d={className:"symbol",begin:"@[A-z0-9_]+"},u={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[o,s,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:r,built_in:i,literal:a},contains:[A,o,s,c,l,d,u]}}return nA=t,nA}var aA,uu;function ZR(){if(uu)return aA;uu=1;function t(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return aA=t,aA}var iA,_u;function JR(){if(_u)return iA;_u=1;function t(e){const r={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[r,a,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return iA=t,iA}var AA,pu;function jR(){if(pu)return AA;pu=1;function t(e){const r=e.UNDERSCORE_IDENT_RE,A={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},o={variants:[{match:[/(class|interface)\s+/,r,/\s+(extends|implements)\s+/,r]},{match:[/class\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:A};return{name:"X++",aliases:["x++"],keywords:A,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},o]}}return AA=t,AA}var oA,gu;function eI(){if(gu)return oA;gu=1;function t(e){const r=e.regex,n={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:r.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},A={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(o);const s={match:/\\"/},c={className:"string",begin:/'/,end:/'/},l={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],_=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),p={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],S=["true","false"],E={match:/(\/[a-z._-]+)+/},f=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],R=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],h=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],I=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:S,built_in:[...f,...R,"set","shopt",...h,...I]},contains:[_,e.SHEBANG(),p,d,e.HASH_COMMENT_MODE,A,E,o,s,c,l,n]}}return oA=t,oA}var sA,mu;function tI(){if(mu)return sA;mu=1;function t(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return sA=t,sA}var cA,Eu;function rI(){if(Eu)return cA;Eu=1;function t(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return cA=t,cA}var lA,Su;function nI(){if(Su)return lA;Su=1;function t(e){const r={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[r]},r]}}return lA=t,lA}var dA,fu;function aI(){if(fu)return dA;fu=1;function t(e){const r=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",A="<[^<>]+>",o="("+a+"|"+r.optional(i)+"[a-zA-Z_]\\w*"+r.optional(A)+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:r.optional(i)+e.IDENT_RE,relevance:0},p=r.optional(i)+e.IDENT_RE+"\\s*\\(",E={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},f=[u,s,n,e.C_BLOCK_COMMENT_MODE,d,l],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:f.concat([{begin:/\(/,end:/\)/,keywords:E,contains:f.concat(["self"]),relevance:0}]),relevance:0},h={begin:"("+o+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:E,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(_,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,d,s,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,d,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C",aliases:["h"],keywords:E,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:l,keywords:E}}}return dA=t,dA}var uA,Cu;function iI(){if(Cu)return uA;Cu=1;function t(e){const r=e.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],a="false true",i=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],A={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},l={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[A,o,e.NUMBER_MODE]},...i]},d=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],u={match:[/OBJECT/,/\s+/,r.either(...d),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:a},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},A,o,s,c,e.NUMBER_MODE,u,l]}}return uA=t,uA}var _A,bu;function AI(){if(bu)return _A;bu=1;function t(e){const r=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],a=["true","false"],i={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:r,type:n,literal:a},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},i]}}return _A=t,_A}var pA,Tu;function oI(){if(Tu)return pA;Tu=1;function t(e){const r=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],a=["doc","by","license","see","throws","tagged"],i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:r,relevance:10},A=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=A,{name:"Ceylon",keywords:{keyword:r.concat(n),meta:a},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(A)}}return pA=t,pA}var gA,hu;function sI(){if(hu)return gA;hu=1;function t(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return gA=t,gA}var mA,vu;function cI(){if(vu)return mA;vu=1;function t(e){const r="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+r+"]["+r+"0-9/;:$#]*",a="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:n,built_in:a+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},A={begin:n,relevance:0},o={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),d={scope:"punctuation",match:/,/,relevance:0},u=e.COMMENT(";","$",{relevance:0}),_={className:"literal",begin:/\b(true|false|nil)\b/},p={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},g={className:"symbol",begin:"[:]{1,2}"+n},S={begin:"\\(",end:"\\)"},E={endsWithParent:!0,relevance:0},f={keywords:i,className:"name",begin:n,relevance:0,starts:E},R=[d,S,s,c,l,u,g,p,o,_,A],h={beginKeywords:a,keywords:{$pattern:n,keyword:a},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(R)};return S.contains=[h,f,E],E.contains=R,p.contains=R,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[d,S,s,c,l,u,g,p,o,_]}}return mA=t,mA}var EA,Ru;function lI(){if(Ru)return EA;Ru=1;function t(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return EA=t,EA}var SA,Iu;function dI(){if(Iu)return SA;Iu=1;function t(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return SA=t,SA}var fA,yu;function uI(){if(yu)return fA;yu=1;const t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],n=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=[].concat(a,r,n);function A(o){const s=["npm","print"],c=["yes","no","on","off"],l=["then","unless","until","loop","by","when","and","or","is","isnt","not"],d=["var","const","let","function","static"],u=I=>m=>!I.includes(m),_={keyword:t.concat(l).filter(u(d)),literal:e.concat(c),built_in:i.concat(s)},p="[A-Za-z$_][0-9A-Za-z$_]*",g={className:"subst",begin:/#\{/,end:/\}/,keywords:_},S=[o.BINARY_NUMBER_MODE,o.inherit(o.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[o.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,g]},{begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,g]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[g,o.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+p},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];g.contains=S;const E=o.inherit(o.TITLE_MODE,{begin:p}),f="(\\(.*\\)\\s*)?\\B[-=]>",R={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(S)}]},h={variants:[{match:[/class\s+/,p,/\s+extends\s+/,p]},{match:[/class\s+/,p]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:_};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:_,illegal:/\/\*/,contains:[...S,o.COMMENT("###","###"),o.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+p+"\\s*=\\s*"+f,end:"[-=]>",returnBegin:!0,contains:[E,R]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:f,end:"[-=]>",returnBegin:!0,contains:[R]}]},h,{begin:p+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return fA=A,fA}var CA,Nu;function _I(){if(Nu)return CA;Nu=1;function t(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return CA=t,CA}var bA,Ou;function pI(){if(Ou)return bA;Ou=1;function t(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return bA=t,bA}var TA,Bu;function gI(){if(Bu)return TA;Bu=1;function t(e){const r=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",A="<[^<>]+>",o="(?!struct)("+a+"|"+r.optional(i)+"[a-zA-Z_]\\w*"+r.optional(A)+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:r.optional(i)+e.IDENT_RE,relevance:0},p=r.optional(i)+e.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],S=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],E=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],f=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],I={type:S,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:E},m={className:"function.dispatch",relevance:0,keywords:{_hint:f},begin:r.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,r.lookahead(/(<[^<>]+>|)\s*\(/))},C=[m,u,s,n,e.C_BLOCK_COMMENT_MODE,d,l],T={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:I,contains:C.concat([{begin:/\(/,end:/\)/,keywords:I,contains:C.concat(["self"]),relevance:0}]),relevance:0},v={className:"function",begin:"("+o+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:I,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:I,relevance:0},{begin:p,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,d,s,{begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,d,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:I,illegal:"",keywords:I,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:I},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return TA=t,TA}var hA,wu;function mI(){if(wu)return hA;wu=1;function t(e){const r="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",a="property rsc_defaults op_defaults",i="params meta operations op rule attributes utilization",A="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",o="number string",s="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:i+" "+A+" "+o,literal:s},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:r,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:a,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return hA=t,hA}var vA,Du;function EI(){if(Du)return vA;Du=1;function t(e){const r="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",a="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",A="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",o={$pattern:a,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},s={className:"subst",begin:/#\{/,end:/\}/,keywords:o},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},l={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:o};function d(f,R){const h=[{begin:f,end:R}];return h[0].contains=h,h}const u={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:d("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},_={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%q<",end:">",contains:d("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},p={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"%r\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%r<",end:">",contains:d("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},S={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},E=[l,u,_,g,p,S,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:A}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:A})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:A})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[u,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{begin:"\\b0x([A-Fa-f0-9_]+)"+r},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+r}],relevance:0}];return s.contains=E,l.contains=E.slice(1),{name:"Crystal",aliases:["cr"],keywords:o,contains:E}}return vA=t,vA}var RA,Lu;function SI(){if(Lu)return RA;Lu=1;function t(e){const r=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],A=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],o={keyword:i.concat(A),built_in:r,literal:a},s=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(l,{illegal:/\n/}),u={className:"subst",begin:/\{/,end:/\}/,keywords:o},_=e.inherit(u,{illegal:/\n/}),p={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,_]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]},S=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},_]});u.contains=[g,p,l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],_.contains=[S,p,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const E={variants:[g,p,l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},f={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},R=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",h={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},E,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},s,f,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,f,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+R+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,f],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[E,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},h]}}return RA=t,RA}var IA,xu;function fI(){if(xu)return IA;xu=1;function t(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return IA=t,IA}var yA,Mu;function CI(){if(Mu)return yA;Mu=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function A(o){const s=o.regex,c=t(o),l={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},d="and or not only",u=/@-?\w[\w]*(-\w+)*/,_="[a-zA-Z-][a-zA-Z0-9_-]*",p=[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,l,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+_,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+n.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...p,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:s.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:u},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:d,attribute:r.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return yA=A,yA}var NA,Uu;function bI(){if(Uu)return NA;Uu=1;function t(e){const r={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",a="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",A="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",o="0[xX]"+A,s="([eE][+-]?"+a+")",c="("+a+"(\\.\\d*|"+s+")|\\d+\\."+a+"|\\."+n+s+"?)",l="(0[xX]("+A+"\\."+A+"|\\.?"+A+")[pP][+-]?"+a+")",d="("+n+"|"+i+"|"+o+")",u="("+l+"|"+c+")",_=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,p={className:"number",begin:"\\b"+d+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},g={className:"number",begin:"\\b("+u+"([fF]|L|i|[fF]i|Li)?|"+d+"(i|[fF]i|Li))",relevance:0},S={className:"string",begin:"'("+_+"|.)",end:"'",illegal:"."},f={className:"string",begin:'"',contains:[{begin:_,relevance:0}],end:'"[cwd]?'},R={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},h={className:"string",begin:"`",end:"`[cwd]?"},I={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},m={className:"string",begin:'q"\\{',end:'\\}"'},C={className:"meta",begin:"^#!",end:"$",relevance:5},T={className:"meta",begin:"#(line)",end:"$",relevance:5},v={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},L=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:r,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,L,I,f,R,h,m,g,p,S,C,T,v]}}return NA=t,NA}var OA,Fu;function TI(){if(Fu)return OA;Fu=1;function t(e){const r=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},A={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:r.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},l={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(l,{contains:[]}),_=e.inherit(d,{contains:[]});l.contains.push(_),d.contains.push(u);let p=[n,c];return[l,d,u,_].forEach(E=>{E.contains=E.contains.concat(p)}),p=p.concat(l,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},n,A,l,d,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},i,a,c,o]}}return OA=t,OA}var BA,ku;function hI(){if(ku)return BA;ku=1;function t(e){const r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,r,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,r,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r,n]}]};n.contains=[e.C_NUMBER_MODE,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],A=i.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:i.concat(A).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return BA=t,BA}var wA,Pu;function vI(){if(Pu)return wA;Pu=1;function t(e){const r=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],a={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},A={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},o={className:"string",begin:/(#\d+)+/},s={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:[i,o,a].concat(n)},a].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:r,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,o,e.NUMBER_MODE,A,s,c,a].concat(n)}}return wA=t,wA}var DA,Qu;function RI(){if(Qu)return DA;Qu=1;function t(e){const r=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:r.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:r.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return DA=t,DA}var LA,Gu;function II(){if(Gu)return LA;Gu=1;function t(e){const r={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[r],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[r]}]}}return LA=t,LA}var xA,Hu;function yI(){if(Hu)return xA;Hu=1;function t(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return xA=t,xA}var MA,Yu;function NI(){if(Yu)return MA;Yu=1;function t(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},A={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},o={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},s={className:"params",relevance:0,begin:"<",end:">",contains:[n,i]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},l={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},d={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},u={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},_={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[l,i,A,o,c,u,d,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r,a,_,{begin:e.IDENT_RE+"::",keywords:""}]}}return kA=t,kA}var PA,Wu;function DI(){if(Wu)return PA;Wu=1;function t(e){const r="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:r}]}}return PA=t,PA}var QA,zu;function LI(){if(zu)return QA;zu=1;function t(e){const r=e.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[r,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[r,n,i]}}return QA=t,QA}var GA,$u;function xI(){if($u)return GA;$u=1;function t(e){const r=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",a="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",o={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},s={className:"subst",begin:/#\{/,end:/\}/,keywords:o},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},d={match:/\\[\s\S]/,scope:"char.escape",relevance:0},u=`[/|([{<"']`,_=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],p=m=>({scope:"char.escape",begin:r.concat(/\\/,m),relevance:0}),g={className:"string",begin:"~[a-z](?="+u+")",contains:_.map(m=>e.inherit(m,{contains:[p(m.end),d,s]}))},S={className:"string",begin:"~[A-Z](?="+u+")",contains:_.map(m=>e.inherit(m,{contains:[p(m.end)]}))},E={className:"regex",variants:[{begin:"~r(?="+u+")",contains:_.map(m=>e.inherit(m,{end:r.concat(m.end,/[uismxfU]{0,7}/),contains:[p(m.end),d,s]}))},{begin:"~R(?="+u+")",contains:_.map(m=>e.inherit(m,{end:r.concat(m.end,/[uismxfU]{0,7}/),contains:[p(m.end)]}))}]},f={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},R={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},h=e.inherit(R,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),I=[f,E,S,g,e.HASH_COMMENT_MODE,h,R,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[f,{begin:a}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return s.contains=I,{name:"Elixir",aliases:["ex","exs"],keywords:o,contains:I}}return GA=t,GA}var HA,Xu;function MI(){if(Xu)return HA;Xu=1;function t(e){const r={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},r]},i={begin:/\{/,end:/\}/,contains:a.contains},A={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[a,r],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[a,r],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,a,i,r]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,r]},{begin:"port",end:"$",keywords:"port",contains:[r]},A,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),r,{begin:"->|<-"}],illegal:/;/}}return HA=t,HA}var YA,Zu;function UI(){if(Zu)return YA;Zu=1;function t(e){const r=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=r.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=r.concat(a,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:r.concat(/<<[-~]?'?/,r.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,d]})]}]},_="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${_})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},S={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},C=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[S]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,l),relevance:0}].concat(c,l);d.contains=C,S.contains=C;const T="[>?]>",v="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",L="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",O=[{begin:/^\s*=>/,starts:{end:"$",contains:C}},{className:"meta.prompt",begin:"^("+T+"|"+v+"|"+L+")(?=[ ])",starts:{end:"$",keywords:o,contains:C}}];return l.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(O).concat(l).concat(C)}}return YA=t,YA}var VA,Ju;function FI(){if(Ju)return VA;Ju=1;function t(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return VA=t,VA}var KA,ju;function kI(){if(ju)return KA;ju=1;function t(e){const r=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:r.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return KA=t,KA}var qA,e_;function PI(){if(e_)return qA;e_=1;function t(e){const r="[a-z'][a-zA-Z0-9_']*",n="("+r+":"+r+"|"+r+")",a={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.COMMENT("%","$"),A={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+r+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},l={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},d={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},u={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},_={beginKeywords:"fun receive if try case",end:"end",keywords:a};_.contains=[i,o,e.inherit(e.APOS_STRING_MODE,{className:""}),_,s,e.QUOTE_STRING_MODE,A,c,l,d,u];const p=[i,o,_,s,e.QUOTE_STRING_MODE,A,c,l,d,u];s.contains[1].contains=p,c.contains=p,u.contains[1].contains=p;const g=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],S={className:"params",begin:"\\(",end:"\\)",contains:p};return{name:"Erlang",aliases:["erl"],keywords:a,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[S,e.inherit(e.TITLE_MODE,{begin:r})],starts:{end:";|\\.",keywords:a,contains:p}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:g.map(E=>`${E}|1.5`).join(" ")},contains:[S]},A,e.QUOTE_STRING_MODE,u,l,d,c,{begin:/\.$/}]}}return qA=t,qA}var WA,t_;function QI(){if(t_)return WA;t_=1;function t(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return WA=t,WA}var zA,r_;function GI(){if(r_)return zA;r_=1;function t(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return zA=t,zA}var $A,n_;function HI(){if(n_)return $A;n_=1;function t(e){const r={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,n,i,e.C_NUMBER_MODE]}}return $A=t,$A}var XA,a_;function YI(){if(a_)return XA;a_=1;function t(e){const r=e.regex,n={className:"params",begin:"\\(",end:"\\)"},a={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},i=/(_[a-z_\d]+)?/,A=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:r.concat(/\b\d+/,/\.(\d*)/,A,i)},{begin:r.concat(/\b\d+/,A,i)},{begin:r.concat(/\.\d+/,A,i)}],relevance:0},s={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[c,s,{begin:/^C\s*=(?!=)/,relevance:0},a,o]}}return XA=t,XA}var ZA,i_;function VI(){if(i_)return ZA;i_=1;function t(o){return new RegExp(o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(o){return o?typeof o=="string"?o:o.source:null}function r(o){return n("(?=",o,")")}function n(...o){return o.map(c=>e(c)).join("")}function a(o){const s=o[o.length-1];return typeof s=="object"&&s.constructor===Object?(o.splice(o.length-1,1),s):{}}function i(...o){return"("+(a(o).capture?"":"?:")+o.map(l=>e(l)).join("|")+")"}function A(o){const s=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],c={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},l=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],d=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],u=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],_=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],g={keyword:s,literal:d,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":u},E={variants:[o.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),o.C_LINE_COMMENT_MODE]},f=/[a-zA-Z_](\w|')*/,R={scope:"variable",begin:/``/,end:/``/},h=/\B('|\^)/,I={scope:"symbol",variants:[{match:n(h,/``.*?``/)},{match:n(h,o.UNDERSCORE_IDENT_RE)}],relevance:0},m=function({includeEqual:re}){let se;re?se="!%&*+-/<=>@^|~?":se="!%&*+-/<>@^|~?";const ce=Array.from(se),pe=n("[",...ce.map(t),"]"),he=i(pe,/\./),ye=n(he,r(he)),Ne=i(n(ye,he,"*"),n(pe,"+"));return{scope:"operator",match:i(Ne,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},C=m({includeEqual:!0}),T=m({includeEqual:!1}),v=function(re,se){return{begin:n(re,r(n(/\s*/,i(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:se,end:r(i(/\n/,/=/)),relevance:0,keywords:o.inherit(g,{type:_}),contains:[E,I,o.inherit(R,{scope:null}),T]}},L=v(/:/,"operator"),O=v(/\bof\b/,"keyword"),G={begin:[/(^|\s+)/,/type/,/\s+/,f],beginScope:{2:"keyword",4:"title.class"},end:r(/\(|=|$/),keywords:g,contains:[E,o.inherit(R,{scope:null}),I,{scope:"operator",match:/<|>/},L]},H={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},B={begin:[/^\s*/,n(/#/,i(...l)),/\b/],beginScope:{2:"meta"},end:r(/\s|$/)},k={variants:[o.BINARY_NUMBER_MODE,o.C_NUMBER_MODE]},x={scope:"string",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE]},N={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},o.BACKSLASH_ESCAPE]},P={scope:"string",begin:/"""/,end:/"""/,relevance:2},Y={scope:"subst",begin:/\{/,end:/\}/,keywords:g},Z={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},o.BACKSLASH_ESCAPE,Y]},J={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},o.BACKSLASH_ESCAPE,Y]},_e={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Y],relevance:2},le={scope:"string",match:n(/'/,i(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Y.contains=[J,Z,N,x,le,c,E,R,L,H,B,k,I,C],{name:"F#",aliases:["fs","f#"],keywords:g,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[c,{variants:[_e,J,Z,P,N,x,le]},E,R,G,{scope:"meta",begin:/\[\]/,relevance:2,contains:[R,P,N,x,le,k]},O,L,H,B,k,I,C]}}return ZA=A,ZA}var JA,A_;function KI(){if(A_)return JA;A_=1;function t(e){const r=e.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},a={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},A={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},o={begin:"/",end:"/",keywords:n,contains:[A,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},s=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[A,o,{className:"comment",begin:r.concat(s,r.anyNumberOfTimes(r.concat(/[ ]+/,s))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},a,i]},e.C_NUMBER_MODE,i]}}return JA=t,JA}var jA,o_;function qI(){if(o_)return jA;o_=1;function t(e){const r={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=e.COMMENT("@","@"),a={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},A=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,i]}],o={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},s=function(_,p,g){const S=e.inherit({className:"function",beginKeywords:_,end:p,excludeEnd:!0,contains:[].concat(A)},g||{});return S.contains.push(o),S.contains.push(e.C_NUMBER_MODE),S.contains.push(e.C_BLOCK_COMMENT_MODE),S.contains.push(n),S},c={className:"built_in",begin:"\\b("+r.built_in.split(" ").join("|")+")\\b"},l={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},d={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:r,relevance:0,contains:[{beginKeywords:r.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},u={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:r.built_in,literal:r.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,c,d,l,"self"]};return d.contains.push(u),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:r,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,l,a,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,u]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},d,i]}}return jA=t,jA}var eo,s_;function WI(){if(s_)return eo;s_=1;function t(e){const r="[A-Z_][A-Z0-9_.]*",n="%",a={$pattern:r,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},i={className:"meta",begin:"([O])([0-9]+)"},A=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),o=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),A,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[A],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:a,contains:[{className:"meta",begin:n},i].concat(o)}}return eo=t,eo}var to,c_;function zI(){if(c_)return to;c_=1;function t(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return to=t,to}var ro,l_;function $I(){if(l_)return ro;l_=1;function t(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return ro=t,ro}var no,d_;function XI(){if(d_)return no;d_=1;function t(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return no=t,no}var ao,u_;function ZI(){if(u_)return ao;u_=1;function t(e){const A={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:A,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return co=t,co}var lo,S_;function ny(){if(S_)return lo;S_=1;function t(e){const r=e.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},a={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},i=/""|"[^"]+"/,A=/''|'[^']+'/,o=/\[\]|\[[^\]]+\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,l=r.either(i,A,o,s),d=r.concat(r.optional(/\.|\.\/|\//),l,r.anyNumberOfTimes(r.concat(c,l))),u=r.concat("(",o,"|",s,")(?==)"),_={begin:d},p=e.inherit(_,{keywords:a}),g={begin:/\(/,end:/\)/},S={className:"attr",begin:u,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,p,g]}}},E={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},f={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,E,S,p,g],returnEnd:!0},R=e.inherit(_,{className:"name",keywords:n,starts:e.inherit(f,{end:/\)/})});g.contains=[R];const h=e.inherit(_,{keywords:n,className:"name",starts:e.inherit(f,{end:/\}\}/})}),I=e.inherit(_,{keywords:n,className:"name"}),m=e.inherit(_,{className:"name",keywords:n,starts:e.inherit(f,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[h],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[I]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[h]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[m]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[m]}]}}return lo=t,lo}var uo,f_;function ay(){if(f_)return uo;f_=1;function t(e){const r="([0-9]_*)+",n="([0-9a-fA-F]_*)+",a="([01]_*)+",i="([0-7]_*)+",c="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",l={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},d={className:"meta",begin:/\{-#/,end:/#-\}/},u={className:"meta",begin:"^#",end:"$"},_={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},p={begin:"\\(",end:"\\)",illegal:'"',contains:[d,u,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),l]},g={begin:/\{/,end:/\}/,contains:p.contains},S={className:"number",relevance:0,variants:[{match:`\\b(${r})(\\.(${r}))?([eE][+-]?(${r}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${r}))?\\b`},{match:`\\b0[oO](${i})\\b`},{match:`\\b0[bB](${a})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[p,l],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[p,l],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[_,p,l]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[d,_,p,g,l]},{beginKeywords:"default",end:"$",contains:[_,p,l]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,l]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[_,e.QUOTE_STRING_MODE,l]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},d,u,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,S,_,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${c}--+|--+(?!-)${c}`},l,{begin:"->|<-"}]}}return uo=t,uo}var _o,C_;function iy(){if(C_)return _o;C_=1;function t(e){const r="[a-zA-Z_$][a-zA-Z0-9_$]*",n=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:n,relevance:0},{className:"variable",begin:"\\$"+r},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return _o=t,_o}var po,b_;function Ay(){if(b_)return po;b_=1;function t(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return po=t,po}var go,T_;function oy(){if(T_)return go;T_=1;function t(e){const r=e.regex,n="HTTP/([32]|1\\.[01])",a=/[A-Za-z][A-Za-z0-9-]*/,i={className:"attribute",begin:r.concat("^",a,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},A=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:A}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:A}},e.inherit(i,{relevance:0})]}}return go=t,go}var mo,h_;function sy(){if(h_)return mo;h_=1;function t(e){const r="a-zA-Z_\\-!.?+*=<>&#'",n="["+r+"]["+r+"0-9/;:]*",a={$pattern:n,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",A={begin:n,relevance:0},o={className:"number",begin:i,relevance:0},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),l={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},d={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},u={className:"comment",begin:"\\^"+n},_=e.COMMENT("\\^\\{","\\}"),p={className:"symbol",begin:"[:]{1,2}"+n},g={begin:"\\(",end:"\\)"},S={endsWithParent:!0,relevance:0},E={className:"name",relevance:0,keywords:a,begin:n,starts:S},f=[g,s,u,_,c,p,d,o,l,A];return g.contains=[e.COMMENT("comment",""),E,S],S.contains=f,d.contains=f,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),g,s,u,_,c,p,d,o,l]}}return mo=t,mo}var Eo,v_;function cy(){if(v_)return Eo;v_=1;function t(e){const r="\\[",n="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:r,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:r,end:n,contains:["self"]}]}}return Eo=t,Eo}var So,R_;function ly(){if(R_)return So;R_=1;function t(e){const r=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},a=e.COMMENT();a.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},A={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[a,A,i,o,n,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,l=/"(\\"|[^"])*"/,d=/'[^']*'/,u=r.either(c,l,d),_=r.concat(u,"(\\s*\\.\\s*",u,")*",r.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[a,{className:"section",begin:/\[+/,end:/\]+/},{begin:_,className:"attr",starts:{end:/$/,contains:[a,s,A,i,o,n]}}]}}return So=t,So}var fo,I_;function dy(){if(I_)return fo;I_=1;function t(e){const r=e.regex,n={className:"params",begin:"\\(",end:"\\)"},a=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,A={className:"number",variants:[{begin:r.concat(/\b\d+/,/\.(\d*)/,i,a)},{begin:r.concat(/\b\d+/,i,a)},{begin:r.concat(/\.\d+/,i,a)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),A]}}return fo=t,fo}var Co,y_;function uy(){if(y_)return Co;y_=1;function t(e){const r="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",a="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",i="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",A="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",o="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",s="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",c="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",l="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",d="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",u="smHidden smMaximized smMinimized smNormal wmNo wmYes ",_="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",p="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",g="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",S="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",E="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",f="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",R="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",h="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",I="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",m="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",C="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",T="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",v="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",L="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",O="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",G="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",H="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",B="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",k="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",x="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",N="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",P="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",Y="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",Z="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",J="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",_e="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",le="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",Ee="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",re=i+A+o+s+c+l+d+u+_+p+g+S+E+f+R+h+I+m+C+T+v+L+O+G+H+B+k+x+N+P+Y+Z+J+_e+le+Ee,se="atUser atGroup atRole ",ce="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",pe="apBegin apEnd ",he="alLeft alRight ",ye="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",Ne="cirCommon cirRevoked ",ke="ctSignature ctEncode ctSignatureEncode ",De="clbUnchecked clbChecked clbGrayed ",Se="ceISB ceAlways ceNever ",xt="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Pe="cfInternal cfDisplay ",Ct="ciUnspecified ciWrite ciRead ",bt="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",ee="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",Mt="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",Ie="cltInternal cltPrimary cltGUI ",fe="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",_t="dssEdit dssInsert dssBrowse dssInActive ",Ze="dftDate dftShortDate dftDateTime dftTimeStamp ",Ye="dotDays dotHours dotMinutes dotSeconds ",Ve="dtkndLocal dtkndUTC ",V="arNone arView arEdit arFull ",$="ddaView ddaEdit ",te="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",oe="ecotFile ecotProcess ",we="eaGet eaCopy eaCreate eaCreateStandardRoute ",Ke="edltAll edltNothing edltQuery ",ir="essmText essmCard ",nt="esvtLast esvtLastActive esvtSpecified ",Tt="edsfExecutive edsfArchive ",Ar="edstSQLServer edstFile ",me="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",Ut="vsDefault vsDesign vsActive vsObsolete ",ht="etNone etCertificate etPassword etCertificatePassword ",Ft="ecException ecWarning ecInformation ",ei="estAll estApprovingOnly ",ti="evtLast evtLastActive evtQuery ",hn="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",vn="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",ri="grhAuto grhX1 grhX2 grhX3 ",Gr="hltText hltRTF hltHTML ",Rn="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",ni="im8bGrayscale im24bRGB im1bMonochrome ",ai="itBMP itJPEG itWMF itPNG ",ii="ikhInformation ikhWarning ikhError ikhNoIcon ",Ai="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",oi="isShow isHide isByUserSettings ",si="jkJob jkNotice jkControlJob ",ci="jtInner jtLeft jtRight jtFull jtCross ",li="lbpAbove lbpBelow lbpLeft lbpRight ",di="eltPerConnection eltPerUser ",ui="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",U="sfsItalic sfsStrikeout sfsNormal ",F="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",Ae="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",ge="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",ve="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",ae="rdWindow rdFile rdPrinter ",at="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",Kt="reOnChange reOnChangeValues ",fr="ttGlobal ttLocal ttUser ttSystem ",Je="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",vt="smSelect smLike smCard ",or="stNone stAuthenticating stApproving ",In="sctString sctStream ",_i="sstAnsiSort sstNaturalSort ",pi="svtEqual svtContain ",qt="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",gi="tarAbortByUser tarAbortByWorkflowException ",Be="tvtAllWords tvtExactPhrase tvtAnyWord ",qe="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",kt="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",pt="btAnd btDetailAnd btOr btNotOr btOnly ",je="vmView vmSelect vmNavigation ",yn="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Cr="wfatPrevious wfatNext wfatCancel wfatFinish ",Hr="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",Nn="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",Yr="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",Pt="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",mi="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",On="waAll waPerformers waManual ",Ei="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",wl="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",rS="wiLow wiNormal wiHigh ",nS="wrtSoft wrtHard ",aS="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",iS="wtmFull wtmFromCurrent wtmOnlyCurrent ",AS=se+ce+pe+he+ye+Ne+ke+De+Se+xt+Pe+Ct+bt+ee+Mt+Ie+fe+_t+Ze+Ye+Ve+V+$+te+oe+we+Ke+ir+nt+Tt+Ar+me+Ut+ht+Ft+ei+ti+hn+vn+ri+Gr+Rn+ni+ai+ii+Ai+oi+si+ci+li+di+ui+U+F+Ae+ge+ve+ae+at+Kt+fr+Je+vt+or+In+_i+pi+qt+gi+Be+qe+kt+pt+je+yn+Cr+Hr+Nn+Yr+Pt+mi+On+Ei+wl+rS+nS+aS+iS,oS="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",sS="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",cS="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",lS=re+AS,dS=sS,uS="null true false nil ",Dl={className:"number",begin:e.NUMBER_RE,relevance:0},Ll={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},xl={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},_S={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,xl]},pS={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,xl]},Ml={variants:[_S,pS]},Bn={$pattern:r,keyword:a,built_in:lS,class:dS,literal:uS},Si={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:Bn,relevance:0},Ul={className:"type",begin:":[ \\t]*("+cS.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Fl={className:"variable",keywords:Bn,begin:r,relevance:0,contains:[Ul,Si]},kl=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Bn,illegal:"\\$|\\?|%|,|;$|~|#|@|a(A,o,s-1))}function i(A){const o=A.regex,s="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=s+a("(?:<"+s+"~~~(?:\\s*,\\s*"+s+"~~~)*>)?",/~~~/g,2),p={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},g={className:"meta",begin:"@"+s,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},S={className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[A.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:p,illegal:/<\/|#/,contains:[A.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},A.C_LINE_COMMENT_MODE,A.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[A.BACKSLASH_ESCAPE]},A.APOS_STRING_MODE,A.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,s],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[o.concat(/(?!else)/,s),/\s+/,s,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,s],className:{1:"keyword",3:"title.class"},contains:[S,A.C_LINE_COMMENT_MODE,A.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",A.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:p,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[g,A.APOS_STRING_MODE,A.QUOTE_STRING_MODE,n,A.C_BLOCK_COMMENT_MODE]},A.C_LINE_COMMENT_MODE,A.C_BLOCK_COMMENT_MODE]},n,g]}}return bo=i,bo}var To,O_;function py(){if(O_)return To;O_=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],A=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],o=[].concat(i,n,a);function s(c){const l=c.regex,d=(ce,{after:pe})=>{const he="",end:""},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,g={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ce,pe)=>{const he=ce[0].length+ce.index,ye=ce.input[he];if(ye==="<"||ye===","){pe.ignoreMatch();return}ye===">"&&(d(ce,{after:he})||pe.ignoreMatch());let Ne;const ke=ce.input.substring(he);if(Ne=ke.match(/^\s*=/)){pe.ignoreMatch();return}if((Ne=ke.match(/^\s+extends\s+/))&&Ne.index===0){pe.ignoreMatch();return}}},S={$pattern:t,keyword:e,literal:r,built_in:o,"variable.language":A},E="[0-9](_?[0-9])*",f=`\\.(${E})`,R="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${R})((${f})|\\.)?|(${f}))[eE][+-]?(${E})\\b`},{begin:`\\b(${R})\\b((${f})\\b|\\.)?|(${f})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},I={className:"subst",begin:"\\$\\{",end:"\\}",keywords:S,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,I],subLanguage:"xml"}},C={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,I],subLanguage:"css"}},T={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,I],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,I]},O={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:u+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},G=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,m,C,T,v,{match:/\$\d+/},h];I.contains=G.concat({begin:/\{/,end:/\}/,keywords:S,contains:["self"].concat(G)});const H=[].concat(O,I.contains),B=H.concat([{begin:/\(/,end:/\)/,keywords:S,contains:["self"].concat(H)}]),k={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:B},x={variants:[{match:[/class/,/\s+/,u,/\s+/,/extends/,/\s+/,l.concat(u,"(",l.concat(/\./,u),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,u],scope:{1:"keyword",3:"title.class"}}]},N={relevance:0,match:l.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n,...a]}},P={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Y={variants:[{match:[/function/,/\s+/,u,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[k],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function J(ce){return l.concat("(?!",ce.join("|"),")")}const _e={match:l.concat(/\b/,J([...i,"super","import"]),u,l.lookahead(/\(/)),className:"title.function",relevance:0},le={begin:l.concat(/\./,l.lookahead(l.concat(u,/(?![0-9A-Za-z$_(])/))),end:u,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ee={match:[/get|set/,/\s+/,u,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},k]},re="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",se={match:[/const|var|let/,/\s+/,u,/\s*/,/=\s*/,/(async\s*)?/,l.lookahead(re)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[k]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:S,exports:{PARAMS_CONTAINS:B,CLASS_REFERENCE:N},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),P,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,m,C,T,v,O,{match:/\$\d+/},h,N,{className:"attr",begin:u+l.lookahead(":"),relevance:0},se,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[O,c.REGEXP_MODE,{className:"function",begin:re,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:B}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:p},{begin:g.begin,"on:begin":g.isTrulyOpeningTag,end:g.end}],subLanguage:"xml",contains:[{begin:g.begin,end:g.end,skip:!0,contains:["self"]}]}]},Y,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[k,c.inherit(c.TITLE_MODE,{begin:u,className:"title.function"})]},{match:/\.\.\./,relevance:0},le,{match:"\\$"+u,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[k]},_e,Z,x,Ee,{match:/\$[(.]/}]}}return To=s,To}var ho,B_;function gy(){if(B_)return ho;B_=1;function t(e){const n={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},a={className:"function",begin:/:[\w\-.]+/,relevance:0},i={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},A={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,A,a,i,n]}}return ho=t,ho}var vo,w_;function my(){if(w_)return vo;w_=1;function t(e){const r={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},a=["true","false","null"],i={scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",keywords:{literal:a},contains:[r,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return vo=t,vo}var Ro,D_;function Ey(){if(D_)return Ro;D_=1;function t(e){const r="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",A={$pattern:r,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},o={keywords:A,illegal:/<\//},s={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},l={className:"subst",begin:/\$\(/,end:/\)/,keywords:A},d={className:"variable",begin:"\\$"+r},u={className:"string",contains:[e.BACKSLASH_ESCAPE,l,d],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},_={className:"string",contains:[e.BACKSLASH_ESCAPE,l,d],begin:"`",end:"`"},p={className:"meta",begin:"@"+r},g={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return o.name="Julia",o.contains=[s,c,u,_,p,g,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],l.contains=o.contains,o}return Ro=t,Ro}var Io,L_;function Sy(){if(L_)return Io;L_=1;function t(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Io=t,Io}var yo,x_;function fy(){if(x_)return yo;x_=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,r="[0-9a-fA-F](_*[0-9a-fA-F])*",n={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${r})\\.?|(${r})?\\.(${r}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${r})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function a(i){const A={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},o={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},s={className:"symbol",begin:i.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[i.C_NUMBER_MODE]},l={className:"variable",begin:"\\$"+i.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[l,c]},{begin:"'",end:"'",illegal:/\n/,contains:[i.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,l,c]}]};c.contains.push(d);const u={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+i.UNDERSCORE_IDENT_RE+")?"},_={className:"meta",begin:"@"+i.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[i.inherit(d,{className:"string"}),"self"]}]},p=n,g=i.COMMENT("/\\*","\\*/",{contains:[i.C_BLOCK_COMMENT_MODE]}),S={variants:[{className:"type",begin:i.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},E=S;return E.variants[1].contains=[S],S.variants[1].contains=[E],{name:"Kotlin",aliases:["kt","kts"],keywords:A,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),i.C_LINE_COMMENT_MODE,g,o,s,u,_,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:A,relevance:5,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:A,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[S,i.C_LINE_COMMENT_MODE,g],relevance:0},i.C_LINE_COMMENT_MODE,g,u,_,d,i.C_NUMBER_MODE]},g]},{begin:[/class|interface|trait/,/\s+/,i.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},i.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},u,_]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},p]}}return yo=a,yo}var No,M_;function Cy(){if(M_)return No;M_=1;function t(e){const r="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={$pattern:r+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},A=e.COMMENT("",{relevance:0}),o={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[A]}},s={className:"meta",begin:"\\[/noprocess|"+n},c={className:"symbol",begin:"'"+r+"'"},l=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+r},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:r,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+r,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:r+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[A]}},o,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[A]}},o,s].concat(l)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(l)}}return No=t,No}var Oo,U_;function by(){if(U_)return Oo;U_=1;function t(e){const n=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(O=>O+"(?![a-zA-Z@:_])")),a=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(O=>O+"(?![a-zA-Z:_])").join("|")),i=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],A=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],o={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:n},{endsParent:!0,begin:a},{endsParent:!0,variants:A},{endsParent:!0,relevance:0,variants:i}]},s={className:"params",relevance:0,begin:/#+\d?/},c={variants:A},l={className:"built_in",relevance:0,begin:/[$&^_]/},d={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},u=e.COMMENT("%","$",{relevance:0}),_=[o,s,c,l,d,u],p={begin:/\{/,end:/\}/,relevance:0,contains:["self",..._]},g=e.inherit(p,{relevance:0,endsParent:!0,contains:[p,..._]}),S={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[p,..._]},E={begin:/\s+/,relevance:0},f=[g],R=[S],h=function(O,G){return{contains:[E],starts:{relevance:0,contains:O,starts:G}}},I=function(O,G){return{begin:"\\\\"+O+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+O},relevance:0,contains:[E],starts:G}},m=function(O,G){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+O+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},h(f,G))},C=(O="string")=>e.END_SAME_AS_BEGIN({className:O,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),T=function(O){return{className:"string",end:"(?=\\\\end\\{"+O+"\\})"}},v=(O="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:O,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),L=[...["verb","lstinline"].map(O=>I(O,{contains:[C()]})),I("mint",h(f,{contains:[C()]})),I("mintinline",h(f,{contains:[v(),C()]})),I("url",{contains:[v("link"),v("link")]}),I("hyperref",{contains:[v("link")]}),I("href",h(R,{contains:[v("link")]})),...[].concat(...["","\\*"].map(O=>[m("verbatim"+O,T("verbatim"+O)),m("filecontents"+O,h(f,T("filecontents"+O))),...["","B","L"].map(G=>m(G+"Verbatim"+O,h(R,T(G+"Verbatim"+O))))])),m("minted",h(R,h(f,T("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...L,..._]}}return Oo=t,Oo}var Bo,F_;function Ty(){if(F_)return Bo;F_=1;function t(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return Bo=t,Bo}var wo,k_;function hy(){if(k_)return wo;k_=1;function t(e){const r=/([A-Za-z_][A-Za-z_0-9]*)?/,a={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},i={match:[r,/(?=\()/],scope:{1:"keyword"},contains:[a]};return a.contains.unshift(i),{name:"Leaf",contains:[{match:[/#+/,r,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[a]},{match:[/#+/,r,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return wo=t,wo}var Do,P_;function vy(){if(P_)return Do;P_=1;const t=s=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:s.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:s.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),A=n.concat(a);function o(s){const c=t(s),l=A,d="and or not only",u="[\\w-]+",_="("+u+"|@\\{"+u+"\\})",p=[],g=[],S=function(O){return{className:"string",begin:"~?"+O+".*?"+O}},E=function(O,G,H){return{className:O,begin:G,relevance:H}},f={$pattern:/[a-z-]+/,keyword:d,attribute:r.join(" ")},R={begin:"\\(",end:"\\)",contains:g,keywords:f,relevance:0};g.push(s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,S("'"),S('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,R,E("variable","@@?"+u,10),E("variable","@\\{"+u+"\\}"),E("built_in","~?`[^`]*?`"),{className:"attribute",begin:u+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const h=g.concat({begin:/\{/,end:/\}/,contains:p}),I={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(g)},m={begin:_+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:g}}]},C={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:f,returnEnd:!0,contains:g,relevance:0}},T={className:"variable",variants:[{begin:"@"+u+"\\s*:",relevance:15},{begin:"@"+u}],starts:{end:"[;}]",returnEnd:!0,contains:h}},v={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:_,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,I,E("keyword","all\\b"),E("variable","@\\{"+u+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,E("selector-tag",_,0),E("selector-id","#"+_),E("selector-class","\\."+_,0),E("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:h},{begin:"!important"},c.FUNCTION_DISPATCH]},L={begin:u+`:(:)?(${l.join("|")})`,returnBegin:!0,contains:[v]};return p.push(s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,C,T,L,m,v,I,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:p}}return Do=o,Do}var Lo,Q_;function Ry(){if(Q_)return Lo;Q_=1;function t(e){const r="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",a="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},A={className:"number",variants:[{begin:a,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+a+" +"+a,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),c={begin:"\\*",end:"\\*"},l={className:"symbol",begin:"[:&]"+r},d={begin:r,relevance:0},u={begin:n},p={contains:[A,o,c,l,{begin:"\\(",end:"\\)",contains:["self",i,o,A,d]},d],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},g={variants:[{begin:"'"+r},{begin:"#'"+r+"(::"+r+")*"}]},S={begin:"\\(\\s*",end:"\\)"},E={endsWithParent:!0,relevance:0};return S.contains=[{className:"name",variants:[{begin:r,relevance:0},{begin:n}]},E],E.contains=[p,g,S,i,A,o,s,c,l,u,d],{name:"Lisp",illegal:/\S/,contains:[A,e.SHEBANG(),i,o,s,p,g,S,d]}}return Lo=t,Lo}var xo,G_;function Iy(){if(G_)return xo;G_=1;function t(e){const r={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],a=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[r,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[r,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,a],relevance:0},{beginKeywords:"command on",end:"$",contains:[r,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,a].concat(n),illegal:";$|^\\[|^=|&|\\{"}}return xo=t,xo}var Mo,H_;function yy(){if(H_)return Mo;H_=1;const t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],n=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=[].concat(a,r,n);function A(o){const s=["npm","print"],c=["yes","no","on","off","it","that","void"],l=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],d={keyword:t.concat(l),literal:e.concat(c),built_in:i.concat(s)},u="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",_=o.inherit(o.TITLE_MODE,{begin:u}),p={className:"subst",begin:/#\{/,end:/\}/,keywords:d},g={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:d},S=[o.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[o.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,p,g]},{begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,p,g]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[p,o.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+u},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];p.contains=S;const E={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(S)}]},f={begin:"(#=>|=>|\\|>>|-?->|!->)"},R={variants:[{match:[/class\s+/,u,/\s+extends\s+/,u]},{match:[/class\s+/,u]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:d};return{name:"LiveScript",aliases:["ls"],keywords:d,illegal:/\/\*/,contains:S.concat([o.COMMENT("\\/\\*","\\*\\/"),o.HASH_COMMENT_MODE,f,{className:"function",contains:[_,E],returnBegin:!0,variants:[{begin:"("+u+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+u+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+u+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},R,{begin:u+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Mo=A,Mo}var Uo,Y_;function Ny(){if(Y_)return Uo;Y_=1;function t(e){const r=e.regex,n=/([-a-zA-Z$._][\w$.-]*)/,a={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},A={className:"punctuation",relevance:0,begin:/,/},o={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},s={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},c={className:"variable",variants:[{begin:r.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},l={className:"title",variants:[{begin:r.concat(/@/,n)},{begin:/@\d+/},{begin:r.concat(/!/,n)},{begin:r.concat(/!\d+/,n)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[a,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},l,A,i,c,s,o]}}return Uo=t,Uo}var Fo,V_;function Oy(){if(V_)return Fo;V_=1;function t(e){const n={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},a={className:"number",relevance:0,begin:e.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},A={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[n,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},a,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},A,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return Fo=t,Fo}var ko,K_;function By(){if(K_)return ko;K_=1;function t(e){const r="\\[=*\\[",n="\\]=*\\]",a={begin:r,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+r+")","$"),e.COMMENT("--"+r,n,{contains:[a],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:r,end:n,contains:[a],relevance:5}])}}return ko=t,ko}var Po,q_;function wy(){if(q_)return Po;q_=1;function t(e){const r={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{g.has(C[0])||T.ignoreMatch()}},{className:"symbol",relevance:0,begin:p}]},E={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},f={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},R={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},h={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},I={className:"brace",relevance:0,begin:/[[\](){}]/},m={className:"message-name",relevance:0,begin:n.concat("::",p)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[r.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),R,h,m,S,E,r.QUOTE_STRING_MODE,_,f,I]}}return Qo=e,Qo}var Go,z_;function Ly(){if(z_)return Go;z_=1;function t(e){const r="('|\\.')+",n={relevance:0,contains:[{begin:r}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+r,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return Go=t,Go}var Ho,$_;function xy(){if($_)return Ho;$_=1;function t(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return Ho=t,Ho}var Yo,X_;function My(){if(X_)return Yo;X_=1;function t(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,e.C_BLOCK_COMMENT_MODE,a,e.NUMBER_MODE,i,A,{begin:/:-/},{begin:/\.$/}]}}return Vo=t,Vo}var Ko,J_;function Fy(){if(J_)return Ko;J_=1;function t(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return Ko=t,Ko}var qo,j_;function ky(){if(j_)return qo;j_=1;function t(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return qo=t,qo}var Wo,ep;function Py(){if(ep)return Wo;ep=1;function t(e){const r=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],a=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},A={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},o={begin:/->\{/,end:/\}/},s={variants:[{begin:/\$\d/},{begin:r.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,A,s],l=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(p,g,S="\\1")=>{const E=S==="\\1"?S:r.concat(S,g);return r.concat(r.concat("(?:",p,")"),g,/(?:\\.|[^\\\/])*?/,E,/(?:\\.|[^\\\/])*?/,S,a)},u=(p,g,S)=>r.concat(r.concat("(?:",p,")"),g,/(?:\\.|[^\\\/])*?/,S,a),_=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",r.either(...l,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:u("(?:m|qr)?",/\//,/\//)},{begin:u("m|qr",r.either(...l,{capture:!0}),/\1/)},{begin:u("m|qr",/\(/,/\)/)},{begin:u("m|qr",/\[/,/\]/)},{begin:u("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return A.contains=_,o.contains=_,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:_}}return Wo=t,Wo}var zo,tp;function Qy(){if(tp)return zo;tp=1;function t(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return zo=t,zo}var $o,rp;function Gy(){if(rp)return $o;rp=1;function t(e){const r={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},a={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),n,a,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,r]}}return $o=t,$o}var Xo,np;function Hy(){if(np)return Xo;np=1;function t(e){const r={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",a={className:"subst",begin:/#\{/,end:/\}/,keywords:r},i=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];a.contains=i;const A=e.inherit(e.TITLE_MODE,{begin:n}),o="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:r,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:r,illegal:/\/\*/,contains:i.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[A,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[A]},A]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Xo=t,Xo}var Zo,ap;function Yy(){if(ap)return Zo;ap=1;function t(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return Zo=t,Zo}var Jo,ip;function Vy(){if(ip)return Jo;ip=1;function t(e){const r={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},a={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},i={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),i,a,r,n]}}return Jo=t,Jo}var jo,Ap;function Ky(){if(Ap)return jo;Ap=1;function t(e){const r=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:r.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},i={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:i.contains,keywords:{section:"upstream location"}},{className:"section",begin:r.concat(e.UNDERSCORE_IDENT_RE+r.lookahead(/\s+\{/)),relevance:0},{begin:r.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:i}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return jo=t,jo}var es,op;function qy(){if(op)return es;op=1;function t(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return es=t,es}var ts,sp;function Wy(){if(sp)return ts;sp=1;function t(e){const r={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},n={className:"subst",begin:/\$\{/,end:/\}/,keywords:r},a={className:"char.escape",begin:/''\$/},i={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},A={className:"string",contains:[a,n],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},o=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,A,i];return n.contains=o,{name:"Nix",aliases:["nixos"],keywords:r,contains:o}}return ts=t,ts}var rs,cp;function zy(){if(cp)return rs;cp=1;function t(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return rs=t,rs}var ns,lp;function $y(){if(lp)return ns;lp=1;function t(e){const r=e.regex,n=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],a=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],i=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],A={className:"variable.constant",begin:r.concat(/\$/,r.either(...n))},o={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},s={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:!-]+\)/},l={className:"params",begin:r.either(...a)},d={className:"keyword",begin:r.concat(/!/,r.either(...i))},u={className:"char.escape",begin:/\$(\\[nrt]|\$)/},_={className:"title.function",begin:/\w+::\w+/},p={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[u,A,o,s,c]},g=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],S=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],E={match:[/Function/,/\s+/,r.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},R={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:g,literal:S},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),R,E,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},p,d,o,s,c,l,_,e.NUMBER_MODE]}}return ns=t,ns}var as,dp;function Xy(){if(dp)return as;dp=1;function t(e){const r={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,s={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:s,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return as=t,as}var is,up;function Zy(){if(up)return is;up=1;function t(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return is=t,is}var As,_p;function Jy(){if(_p)return As;_p=1;function t(e){const r={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),A={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},o={className:"params",begin:"\\(",end:"\\)",contains:["self",a,i,r,n]},s={begin:"[*!#%]",relevance:0},c={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[o,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,A,i,r,s,c]}}return As=t,As}var os,pp;function jy(){if(pp)return os;pp=1;function t(e){const r={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),a=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},A={className:"string",begin:"(#\\d+)+"},o={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:r,contains:[i,A]},n,a]},s={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:r,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[n,a,e.C_LINE_COMMENT_MODE,i,A,e.NUMBER_MODE,o,s]}}return os=t,os}var ss,gp;function eN(){if(gp)return ss;gp=1;function t(e){const r=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[r]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return ss=t,ss}var cs,mp;function tN(){if(mp)return cs;mp=1;function t(e){const r={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,r,n]}}return cs=t,cs}var ls,Ep;function rN(){if(Ep)return ls;Ep=1;function t(e){const r=e.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+n+"\\s*>>",A="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",o="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",s="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",c="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",l=c.trim().split(" ").map(function(S){return S.split("|")[0]}).join("|"),d="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",u="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",_="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",g="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(S){return S.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:A+s+o,built_in:d+u+_},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+g+")\\s*\\("},{begin:"\\.("+l+")\\b"},{begin:"\\b("+l+")\\s+PATH\\b",keywords:{keyword:"PATH",type:c.replace("PATH ","")}},{className:"type",begin:"\\b("+l+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:a,end:a,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}return ls=t,ls}var ds,Sp;function nN(){if(Sp)return ds;Sp=1;function t(e){const r=e.regex,n=/(?![A-Za-z0-9])(?![$])/,a=r.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=r.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),A={scope:"variable",match:"\\$+"+a},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(s),"on:begin":(B,k)=>{k.data._beginMatch=B[1]||B[2]},"on:end":(B,k)=>{k.data._beginMatch!==B[1]&&k.ignoreMatch()}},u=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),_=`[ -]`,p={scope:"string",variants:[l,c,d,u]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},S=["false","null","true"],E=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],f=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],h={keyword:E,literal:(B=>{const k=[];return B.forEach(x=>{k.push(x),x.toLowerCase()===x?k.push(x.toUpperCase()):k.push(x.toLowerCase())}),k})(S),built_in:f},I=B=>B.map(k=>k.replace(/\|\d+$/,"")),m={variants:[{match:[/new/,r.concat(_,"+"),r.concat("(?!",I(f).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},C=r.concat(a,"\\b(?!\\()"),T={variants:[{match:[r.concat(/::/,r.lookahead(/(?!class\b)/)),C],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,r.concat(/::/,r.lookahead(/(?!class\b)/)),C],scope:{1:"title.class",3:"variable.constant"}},{match:[i,r.concat("::",r.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},v={scope:"attr",match:r.concat(a,r.lookahead(":"),r.lookahead(/(?!::)/))},L={relevance:0,begin:/\(/,end:/\)/,keywords:h,contains:[v,A,T,e.C_BLOCK_COMMENT_MODE,p,g,m]},O={relevance:0,match:[/\b/,r.concat("(?!fn\\b|function\\b|",I(E).join("\\b|"),"|",I(f).join("\\b|"),"\\b)"),a,r.concat(_,"*"),r.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[L]};L.contains.push(O);const G=[v,T,e.C_BLOCK_COMMENT_MODE,p,g,m],H={begin:r.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:S,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:S,keyword:["new","array"]},contains:["self",...G]},...G,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:h,contains:[H,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},A,O,T,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},m,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:h,contains:["self",A,T,e.C_BLOCK_COMMENT_MODE,p,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,g]}}return ds=t,ds}var us,fp;function aN(){if(fp)return us;fp=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return us=t,us}var _s,Cp;function iN(){if(Cp)return _s;Cp=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return _s=t,_s}var ps,bp;function AN(){if(bp)return ps;bp=1;function t(e){const r={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},n={className:"string",begin:'"""',end:'"""',relevance:10},a={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},A={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},o={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:r,contains:[A,n,a,i,o,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return ps=t,ps}var gs,Tp;function oN(){if(Tp)return gs;Tp=1;function t(e){const r=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",a="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},A=/\w[\w\d]*((-)[\w\d]+)*/,o={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},l={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[o,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},d={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},u={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},_=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[u]}),p={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},g={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},S={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:A,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},E={begin:/using\s/,end:/$/,returnBegin:!0,contains:[l,d,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},f={variants:[{className:"operator",begin:"(".concat(a,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},R={className:"selector-tag",begin:/@\B/,relevance:0},h={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},I=[h,_,o,e.NUMBER_MODE,l,d,p,s,c,R],m={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",I,{begin:"("+r.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return h.contains.unshift(m),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:I.concat(g,S,E,f,m)}}return gs=t,gs}var ms,hp;function sN(){if(hp)return ms;hp=1;function t(e){const r=e.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],a=e.IDENT_RE,i={variants:[{match:r.concat(r.either(...n),r.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:r.concat(/\b(?!for|if|while)/,a,r.lookahead(/\s*\(/)),className:"title.function"}]},A={match:[/new\s+/,a],className:{1:"keyword",2:"class.title"}},o={relevance:0,match:[/\./,a],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,a]},{match:[/class/,/\s+/,a]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},c=["boolean","byte","char","color","double","float","int","long","short"],l=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...l],type:c},contains:[s,A,i,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return ms=t,ms}var Es,vp;function cN(){if(vp)return Es;vp=1;function t(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return Es=t,Es}var Ss,Rp;function lN(){if(Rp)return Ss;Rp=1;function t(e){const r={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},a={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},A={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},o={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},s={className:"string",begin:/0'(\\'|.)/},c={className:"string",begin:/0'\\s/},d=[r,n,a,{begin:/:-/},i,A,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,s,c,e.C_NUMBER_MODE];return a.contains=d,i.contains=d,{name:"Prolog",contains:d.concat([{begin:/\.$/}])}}return Ss=t,Ss}var fs,Ip;function dN(){if(Ip)return fs;Ip=1;function t(e){const r="[ \\t\\f]*",n="[ \\t\\f]+",a=r+"[:=]"+r,i=n,A="("+a+"|"+i+")",o="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:A,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:o+a},{begin:o+i}],contains:[{className:"attr",begin:o,endsParent:!0}],starts:s},{className:"attr",begin:o+r+"$"}]}}return fs=t,fs}var Cs,yp;function uN(){if(yp)return Cs;yp=1;function t(e){const r=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],a={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:r,type:n,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return Cs=t,Cs}var bs,Np;function _N(){if(Np)return bs;Np=1;function t(e){const r={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},n=e.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",i=e.inherit(e.TITLE_MODE,{begin:a}),A={className:"variable",begin:"\\$"+a},o={className:"string",contains:[e.BACKSLASH_ESCAPE,A],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,A,o,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:r,relevance:0,contains:[o,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},A]}],relevance:0}]}}return bs=t,bs}var Ts,Op;function pN(){if(Op)return Ts;Op=1;function t(e){const r={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},r,n]}}return Ts=t,Ts}var hs,Bp;function gN(){if(Bp)return hs;Bp=1;function t(e){const r=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,a=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:a,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},d={begin:/\{\{/,relevance:0},u={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,d,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,d,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,d,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,d,l]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},_="[0-9](_?[0-9])*",p=`(\\b(${_}))?\\.(${_})|\\b(${_})\\.`,g=`\\b|${a.join("|")}`,S={className:"number",relevance:0,variants:[{begin:`(\\b(${_})|(${p}))[eE][+-]?(${_})[jJ]?(?=${g})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${_})[jJ](?=${g})`}]},E={className:"comment",begin:r.lookahead(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},f={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",c,S,u,e.HASH_COMMENT_MODE]}]};return l.contains=[u,S,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|\?)|=>/,contains:[c,S,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},u,E,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[f]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[S,f,u]}]}}return hs=t,hs}var vs,wp;function mN(){if(wp)return vs;wp=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return vs=t,vs}var Rs,Dp;function EN(){if(Dp)return Rs;Dp=1;function t(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Rs=t,Rs}var Is,Lp;function SN(){if(Lp)return Is;Lp=1;function t(e){const r=e.regex,n={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},a="[a-zA-Z_][a-zA-Z0-9\\._]*",i={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},A={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:a,returnEnd:!1}},s={begin:a+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:a,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},c={begin:r.concat(a,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:a})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},A,i,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},o,s,c],illegal:/#/}}return Is=t,Is}var ys,xp;function fN(){if(xp)return ys;xp=1;function t(e){const r=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,a=r.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,A=r.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:r.lookahead(r.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,a]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,a]},{scope:{1:"punctuation",2:"number"},match:[A,a]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:A},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return ys=t,ys}var Ns,Mp;function CN(){if(Mp)return Ns;Mp=1;function t(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return Ns=t,Ns}var Os,Up;function bN(){if(Up)return Os;Up=1;function t(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),s,c,o,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[s,c,o,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+a.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+A.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return ws=t,ws}var Ds,Pp;function vN(){if(Pp)return Ds;Pp=1;function t(e){const r=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],a=["while","for","if","do","return","else","break","extern","continue"],i={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:a,built_in:r,type:n},illegal:""},n]}}return xs=t,xs}var Ms,Hp;function yN(){if(Hp)return Ms;Hp=1;function t(e){const r=e.regex,n=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],a=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],i=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:n},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+r.either(...i)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:r.either(...a)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return Ms=t,Ms}var Us,Yp;function NN(){if(Yp)return Us;Yp=1;function t(e){const r=e.regex,n={className:"meta",begin:"@[A-Za-z]+"},a={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},i={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,a]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[a],relevance:10}]},A={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},o={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[A,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[A,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:"function",beginKeywords:"def",end:r.lookahead(/[:={\[(\n;]/),contains:[o]},l={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},d={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},u=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],_={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,A,c,s,e.C_NUMBER_MODE,l,d,...u,_,n]}}return Us=t,Us}var Fs,Vp;function ON(){if(Vp)return Fs;Vp=1;function t(e){const r="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",a=n+"[+\\-]"+n+"i",i={$pattern:r,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},A={className:"literal",begin:"(#t|#f|#\\\\"+r+"|#\\\\.)"},o={className:"number",variants:[{begin:n,relevance:0},{begin:a,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},s=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],l={begin:r,relevance:0},d={className:"symbol",begin:"'"+r},u={endsWithParent:!0,relevance:0},_={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",A,s,o,l,d]}]},p={className:"name",relevance:0,begin:r,keywords:i},S={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[p,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[l]}]},p,u]};return u.contains=[A,o,s,l,d,_,S].concat(c),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),o,s,d,_,S].concat(c)}}return Fs=t,Fs}var ks,Kp;function BN(){if(Kp)return ks;Kp=1;function t(e){const r=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:r},e.COMMENT("//","$")].concat(r)}}return ks=t,ks}var Ps,qp;function wN(){if(qp)return Ps;qp=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function A(o){const s=t(o),c=a,l=n,d="@[a-z-]+",u="and or not only",p={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,s.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},s.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+l.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},p,{begin:/\(/,end:/\)/,contains:[s.CSS_NUMBER_MODE]},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[s.BLOCK_COMMENT,p,s.HEXCOLOR,s.CSS_NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,s.IMPORTANT,s.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:d,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:r.join(" ")},contains:[{begin:d,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},p,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,s.HEXCOLOR,s.CSS_NUMBER_MODE]},s.FUNCTION_DISPATCH]}}return Ps=A,Ps}var Qs,Wp;function DN(){if(Wp)return Qs;Wp=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Qs=t,Qs}var Gs,zp;function LN(){if(zp)return Gs;zp=1;function t(e){const r=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],a=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+a.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+r.join("|")+")\\s"},{begin:"\\s("+r.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: -]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return Gs=t,Gs}var Hs,$p;function xN(){if($p)return Hs;$p=1;function t(e){const r="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},a={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:r+":",relevance:0},e.C_NUMBER_MODE,a,n,{begin:"\\|[ ]*"+r+"([ ]+"+r+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+r}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,a]}]}}return Hs=t,Hs}var Ys,Xp;function MN(){if(Xp)return Ys;Xp=1;function t(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return Ys=t,Ys}var Vs,Zp;function UN(){if(Zp)return Vs;Zp=1;function t(e){const r={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},a={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],A=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],o=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:i,built_in:o,literal:A},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,r,n,a,s],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return Vs=t,Vs}var Ks,Jp;function FN(){if(Jp)return Ks;Jp=1;function t(e){const r=e.regex,n=e.COMMENT("--","$"),a={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},i={begin:/"/,end:/"/,contains:[{begin:/""/}]},A=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],d=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],u=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],_=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=d,g=[...l,...c].filter(h=>!d.includes(h)),S={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},E={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},f={begin:r.concat(/\b/,r.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function R(h,{exceptions:I,when:m}={}){const C=m;return I=I||[],h.map(T=>T.match(/\|\d+$/)||I.includes(T)?T:C(T)?`${T}|0`:T)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:R(g,{when:h=>h.length<3}),literal:A,type:s,built_in:u},contains:[{begin:r.either(..._),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:g.concat(_),literal:A,type:s}},{className:"type",begin:r.either(...o)},f,S,a,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,E]}}return Ks=t,Ks}var qs,jp;function kN(){if(jp)return qs;jp=1;function t(e){const r=e.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],a=["for","in","if","else","while","break","continue","return"],i=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],A=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],o=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],s=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),c={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},l=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:n,type:i,keyword:a,built_in:A},contains:[e.C_LINE_COMMENT_MODE,c,e.HASH_COMMENT_MODE,s,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:r.concat(/[<,]\s*/,r.either(...l),/\s*=/),keywords:l},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,r.either(...o),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:o,begin:r.concat(/\w*/,r.either(...o),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,r.concat(r.either(...o),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+r.either(...o)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:r.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return qs=t,qs}var Ws,eg;function PN(){if(eg)return Ws;eg=1;function t(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r -]*?"'`},{begin:`"[^\r -"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Ws=t,Ws}var zs,tg;function QN(){if(tg)return zs;tg=1;function t(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return zs=t,zs}var $s,rg;function GN(){if(rg)return $s;rg=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],n=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function A(o){const s=t(o),c="and or not only",l={className:"variable",begin:"\\$"+o.IDENT_RE},d=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],u="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,s.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+u,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+u,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+u,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+n.join("|")+")"+u},{className:"selector-pseudo",begin:"&?:(:)?("+a.join("|")+")"+u},s.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:c,attribute:r.join(" ")},contains:[s.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+d.join("|")+"))\\b"},l,s.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[s.HEXCOLOR,l,o.APOS_STRING_MODE,s.CSS_NUMBER_MODE,o.QUOTE_STRING_MODE]}]},s.CSS_VARIABLE,{className:"attribute",begin:"\\b("+i.join("|")+")\\b",starts:{end:/;|$/,contains:[s.HEXCOLOR,l,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,s.CSS_NUMBER_MODE,o.C_BLOCK_COMMENT_MODE,s.IMPORTANT,s.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},s.FUNCTION_DISPATCH]}}return $s=A,$s}var Xs,ng;function HN(){if(ng)return Xs;ng=1;function t(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ -(multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return Xs=t,Xs}var Zs,ag;function YN(){if(ag)return Zs;ag=1;function t(T){return T?typeof T=="string"?T:T.source:null}function e(T){return r("(?=",T,")")}function r(...T){return T.map(L=>t(L)).join("")}function n(T){const v=T[T.length-1];return typeof v=="object"&&v.constructor===Object?(T.splice(T.length-1,1),v):{}}function a(...T){return"("+(n(T).capture?"":"?:")+T.map(O=>t(O)).join("|")+")"}const i=T=>r(/\b/,T,/\w$/.test(T)?/\b/:/\B/),A=["Protocol","Type"].map(i),o=["init","self"].map(i),s=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],l=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],u=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],_=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],p=a(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=a(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),S=r(p,g,"*"),E=a(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),f=a(E,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),R=r(E,f,"*"),h=r(/[A-Z]/,f,"*"),I=["attached","autoclosure",r(/convention\(/,a("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",r(/objc\(/,R,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],m=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function C(T){const v={match:/\s+/,relevance:0},L=T.COMMENT("/\\*","\\*/",{contains:["self"]}),O=[T.C_LINE_COMMENT_MODE,L],G={match:[/\./,a(...A,...o)],className:{2:"keyword"}},H={match:r(/\./,a(...c)),relevance:0},B=c.filter(me=>typeof me=="string").concat(["_|0"]),k=c.filter(me=>typeof me!="string").concat(s).map(i),x={variants:[{className:"keyword",match:a(...k,...o)}]},N={$pattern:a(/\b\w+/,/#\w+/),keyword:B.concat(u),literal:l},P=[G,H,x],Y={match:r(/\./,a(..._)),relevance:0},Z={className:"built_in",match:r(/\b/,a(..._),/(?=\()/)},J=[Y,Z],_e={match:/->/,relevance:0},le={className:"operator",relevance:0,variants:[{match:S},{match:`\\.(\\.|${g})+`}]},Ee=[_e,le],re="([0-9]_*)+",se="([0-9a-fA-F]_*)+",ce={className:"number",relevance:0,variants:[{match:`\\b(${re})(\\.(${re}))?([eE][+-]?(${re}))?\\b`},{match:`\\b0x(${se})(\\.(${se}))?([pP][+-]?(${re}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},pe=(me="")=>({className:"subst",variants:[{match:r(/\\/,me,/[0\\tnr"']/)},{match:r(/\\/,me,/u\{[0-9a-fA-F]{1,8}\}/)}]}),he=(me="")=>({className:"subst",match:r(/\\/,me,/[\t ]*(?:[\r\n]|\r\n)/)}),ye=(me="")=>({className:"subst",label:"interpol",begin:r(/\\/,me,/\(/),end:/\)/}),Ne=(me="")=>({begin:r(me,/"""/),end:r(/"""/,me),contains:[pe(me),he(me),ye(me)]}),ke=(me="")=>({begin:r(me,/"/),end:r(/"/,me),contains:[pe(me),ye(me)]}),De={className:"string",variants:[Ne(),Ne("#"),Ne("##"),Ne("###"),ke(),ke("#"),ke("##"),ke("###")]},Se=[T.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[T.BACKSLASH_ESCAPE]}],xt={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Se},Pe=me=>{const Ut=r(me,/\//),ht=r(/\//,me);return{begin:Ut,end:ht,contains:[...Se,{scope:"comment",begin:`#(?!.*${ht})`,end:/$/}]}},Ct={scope:"regexp",variants:[Pe("###"),Pe("##"),Pe("#"),xt]},bt={match:r(/`/,R,/`/)},ee={className:"variable",match:/\$\d+/},Mt={className:"variable",match:`\\$${f}+`},Ie=[bt,ee,Mt],fe={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:m,contains:[...Ee,ce,De]}]}},_t={scope:"keyword",match:r(/@/,a(...I))},Ze={scope:"meta",match:r(/@/,R)},Ye=[fe,_t,Ze],Ve={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:r(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,f,"+")},{className:"type",match:h,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:r(/\s+&\s+/,e(h)),relevance:0}]},V={begin://,keywords:N,contains:[...O,...P,...Ye,_e,Ve]};Ve.contains.push(V);const $={match:r(R,/\s*:/),keywords:"_|0",relevance:0},te={begin:/\(/,end:/\)/,relevance:0,keywords:N,contains:["self",$,...O,Ct,...P,...J,...Ee,ce,De,...Ie,...Ye,Ve]},oe={begin://,keywords:"repeat each",contains:[...O,Ve]},we={begin:a(e(r(R,/\s*:/)),e(r(R,/\s+/,R,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:R}]},Ke={begin:/\(/,end:/\)/,keywords:N,contains:[we,...O,...P,...Ee,ce,De,...Ye,Ve,te],endsParent:!0,illegal:/["']/},ir={match:[/(func|macro)/,/\s+/,a(bt.match,R,S)],className:{1:"keyword",3:"title.function"},contains:[oe,Ke,v],illegal:[/\[/,/%/]},nt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[oe,Ke,v],illegal:/\[|%/},Tt={match:[/operator/,/\s+/,S],className:{1:"keyword",3:"title"}},Ar={begin:[/precedencegroup/,/\s+/,h],className:{1:"keyword",3:"title"},contains:[Ve],keywords:[...d,...l],end:/}/};for(const me of De.variants){const Ut=me.contains.find(Ft=>Ft.label==="interpol");Ut.keywords=N;const ht=[...P,...J,...Ee,ce,De,...Ie];Ut.contains=[...ht,{begin:/\(/,end:/\)/,contains:["self",...ht]}]}return{name:"Swift",keywords:N,contains:[...O,ir,nt,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:N,contains:[T.inherit(T.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...P]},Tt,Ar,{beginKeywords:"import",end:/$/,contains:[...O],relevance:0},Ct,...P,...J,...Ee,ce,De,...Ie,...Ye,Ve,te]}}return Zs=C,Zs}var Js,ig;function VN(){if(ig)return Js;ig=1;function t(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return Js=t,Js}var js,Ag;function KN(){if(Ag)return js;Ag=1;function t(e){const r="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},A={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},o=e.inherit(A,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",l="(\\.[0-9]*)?",d="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",u={className:"number",begin:"\\b"+s+c+l+d+"\\b"},_={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},p={begin:/\{/,end:/\}/,contains:[_],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[_],illegal:"\\n",relevance:0},S=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},u,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},p,g,A],E=[...S];return E.pop(),E.push(o),_.contains=E,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:S}}return js=t,js}var ec,og;function qN(){if(og)return ec;og=1;function t(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return ec=t,ec}var tc,sg;function WN(){if(sg)return tc;sg=1;function t(e){const r=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,a={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:r.concat(/\$/,r.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[a]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},a]}}return tc=t,tc}var rc,cg;function zN(){if(cg)return rc;cg=1;function t(e){const r=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:r,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...r,"set","list","map"]},end:">",contains:["self"]}]}}return rc=t,rc}var nc,lg;function $N(){if(lg)return nc;lg=1;function t(e){const r={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},a={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",r,n]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",r,e.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[a,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return nc=t,nc}var ac,dg;function XN(){if(dg)return ac;dg=1;function t(e){const r=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],a=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let i=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];i=i.concat(i.map(g=>`end${g}`));const A={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},o={scope:"number",match:/\d+/},s={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[A,o]},c={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[s]},l={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:a}]},d=(g,{relevance:S})=>({beginScope:{1:"template-tag",3:"name"},relevance:S||2,endScope:"template-tag",begin:[/\{%/,/\s*/,r.either(...g)],end:/%\}/,keywords:"in",contains:[l,c,A,o]}),u=/[a-z_]+/,_=d(i,{relevance:2}),p=d([u],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),_,p,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",l,c,A,o]}]}}return ac=t,ac}var ic,ug;function ZN(){if(ug)return ic;ug=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],A=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],o=[].concat(i,n,a);function s(l){const d=l.regex,u=(pe,{after:he})=>{const ye="",end:""},g=/<[A-Za-z0-9\\._:-]+\s*\/>/,S={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(pe,he)=>{const ye=pe[0].length+pe.index,Ne=pe.input[ye];if(Ne==="<"||Ne===","){he.ignoreMatch();return}Ne===">"&&(u(pe,{after:ye})||he.ignoreMatch());let ke;const De=pe.input.substring(ye);if(ke=De.match(/^\s*=/)){he.ignoreMatch();return}if((ke=De.match(/^\s+extends\s+/))&&ke.index===0){he.ignoreMatch();return}}},E={$pattern:t,keyword:e,literal:r,built_in:o,"variable.language":A},f="[0-9](_?[0-9])*",R=`\\.(${f})`,h="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",I={className:"number",variants:[{begin:`(\\b(${h})((${R})|\\.)?|(${R}))[eE][+-]?(${f})\\b`},{begin:`\\b(${h})\\b((${R})\\b|\\.)?|(${R})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},m={className:"subst",begin:"\\$\\{",end:"\\}",keywords:E,contains:[]},C={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},T={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,m],subLanguage:"css"}},v={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,m],subLanguage:"graphql"}},L={className:"string",begin:"`",end:"`",contains:[l.BACKSLASH_ESCAPE,m]},G={className:"comment",variants:[l.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:_+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),l.C_BLOCK_COMMENT_MODE,l.C_LINE_COMMENT_MODE]},H=[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,C,T,v,L,{match:/\$\d+/},I];m.contains=H.concat({begin:/\{/,end:/\}/,keywords:E,contains:["self"].concat(H)});const B=[].concat(G,m.contains),k=B.concat([{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(B)}]),x={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:k},N={variants:[{match:[/class/,/\s+/,_,/\s+/,/extends/,/\s+/,d.concat(_,"(",d.concat(/\./,_),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,_],scope:{1:"keyword",3:"title.class"}}]},P={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n,...a]}},Y={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Z={variants:[{match:[/function/,/\s+/,_,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[x],illegal:/%/},J={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _e(pe){return d.concat("(?!",pe.join("|"),")")}const le={match:d.concat(/\b/,_e([...i,"super","import"]),_,d.lookahead(/\(/)),className:"title.function",relevance:0},Ee={begin:d.concat(/\./,d.lookahead(d.concat(_,/(?![0-9A-Za-z$_(])/))),end:_,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,_,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},se="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",ce={match:[/const|var|let/,/\s+/,_,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(se)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:E,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:P},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),Y,l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,C,T,v,L,G,{match:/\$\d+/},I,P,{className:"attr",begin:_+d.lookahead(":"),relevance:0},ce,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[G,l.REGEXP_MODE,{className:"function",begin:se,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:g},{begin:S.begin,"on:begin":S.isTrulyOpeningTag,end:S.end}],subLanguage:"xml",contains:[{begin:S.begin,end:S.end,skip:!0,contains:["self"]}]}]},Z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,l.inherit(l.TITLE_MODE,{begin:_,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ee,{match:"\\$"+_,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},le,J,N,re,{match:/\$[(.]/}]}}function c(l){const d=s(l),u=t,_=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[d.exports.CLASS_REFERENCE]},g={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:_},contains:[d.exports.CLASS_REFERENCE]},S={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},E=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],f={$pattern:t,keyword:e.concat(E),literal:r,built_in:o.concat(_),"variable.language":A},R={className:"meta",begin:"@"+u},h=(m,C,T)=>{const v=m.contains.findIndex(L=>L.label===C);if(v===-1)throw new Error("can not find mode to replace");m.contains.splice(v,1,T)};Object.assign(d.keywords,f),d.exports.PARAMS_CONTAINS.push(R),d.contains=d.contains.concat([R,p,g]),h(d,"shebang",l.SHEBANG()),h(d,"use_strict",S);const I=d.contains.find(m=>m.label==="func.def");return I.relevance=0,Object.assign(d,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),d}return ic=c,ic}var Ac,_g;function JN(){if(_g)return Ac;_g=1;function t(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return Ac=t,Ac}var oc,pg;function jN(){if(pg)return oc;pg=1;function t(e){const r=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},a={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,A=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:r.concat(/# */,r.either(A,i),/ *#/)},{begin:r.concat(/# */,s,/ *#/)},{begin:r.concat(/# */,o,/ *#/)},{begin:r.concat(/# */,r.either(A,i),/ +/,r.either(o,s),/ *#/)}]},l={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},d={className:"label",begin:/^\w+:/},u=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),_=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,a,c,l,d,u,_,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[_]}]}}return oc=t,oc}var sc,gg;function eO(){if(gg)return sc;gg=1;function t(e){const r=e.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],a=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],i={begin:r.concat(r.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:a,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[i,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}return sc=t,sc}var cc,mg;function tO(){if(mg)return cc;mg=1;function t(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return cc=t,cc}var lc,Eg;function rO(){if(Eg)return lc;Eg=1;function t(e){const r=e.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},a=["__FILE__","__LINE__"],i=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:r.concat(/`/,r.either(...a))},{scope:"meta",begin:r.concat(/`/,r.either(...i)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:i}]}}return lc=t,lc}var dc,Sg;function nO(){if(Sg)return dc;Sg=1;function t(e){const r="\\d(_|\\d)*",n="[eE][-+]?"+r,a=r+"(\\."+r+")?("+n+")?",i="\\w+",o="\\b("+(r+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+a+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:o,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}return dc=t,dc}var uc,fg;function aO(){if(fg)return uc;fg=1;function t(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return uc=t,uc}var _c,Cg;function iO(){if(Cg)return _c;Cg=1;function t(e){e.regex;const r=e.COMMENT(/\(;/,/;\)/);r.contains.push("self");const n=e.COMMENT(/;;/,/$/),a=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},A={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},l={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:a},contains:[n,r,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},A,o,i,e.QUOTE_STRING_MODE,c,l,s]}}return _c=t,_c}var pc,bg;function AO(){if(bg)return pc;bg=1;function t(e){const r=e.regex,n=/[a-zA-Z]\w*/,a=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],i=["true","false","null"],A=["this","super"],o=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],s=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],c={relevance:0,match:r.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},l={match:r.concat(r.either(r.concat(/\b(?!(if|while|for|else|super)\b)/,n),r.either(...s)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},d={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},u={relevance:0,match:r.either(...s),className:"operator"},_={className:"string",begin:/"""/,end:/"""/},p={className:"property",begin:r.concat(/\./,r.lookahead(n)),end:n,excludeBegin:!0,relevance:0},g={relevance:0,match:r.concat(/\b_/,n),scope:"variable"},S={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:o}},E=e.C_NUMBER_MODE,f={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},R=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),h={scope:"subst",begin:/%\(/,end:/\)/,contains:[E,S,c,g,u]},I={scope:"string",begin:/"/,end:/"/,contains:[h,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};h.contains.push(I);const m=[...a,...A,...i],C={relevance:0,match:r.concat("\\b(?!",m.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:a,"variable.language":A,literal:i},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:i},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},E,I,_,R,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,S,d,f,l,c,u,g,p,C]}}return pc=t,pc}var gc,Tg;function oO(){if(Tg)return gc;Tg=1;function t(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return gc=t,gc}var mc,hg;function sO(){if(hg)return mc;hg=1;function t(e){const r=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],a=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],A={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:r,literal:["true","false","nil"],built_in:n.concat(a)},o={className:"string",begin:'"',end:'"',illegal:"\\n"},s={className:"string",begin:"'",end:"'",illegal:"\\n"},c={className:"string",begin:"<<",end:">>"},l={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},d={beginKeywords:"import",end:"$",keywords:A,contains:[o]},u={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:A}})]};return{name:"XL",aliases:["tao"],keywords:A,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,s,c,u,d,l,e.NUMBER_MODE]}}return mc=t,mc}var Ec,vg;function cO(){if(vg)return Ec;vg=1;function t(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Ec=t,Ec}var Sc,Rg;function lO(){if(Rg)return Sc;Rg=1;function t(e){const r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,a={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,r,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},r,a]}}return Sc=t,Sc}var b=xR;b.registerLanguage("1c",MR());b.registerLanguage("abnf",UR());b.registerLanguage("accesslog",FR());b.registerLanguage("actionscript",kR());b.registerLanguage("ada",PR());b.registerLanguage("angelscript",QR());b.registerLanguage("apache",GR());b.registerLanguage("applescript",HR());b.registerLanguage("arcade",YR());b.registerLanguage("arduino",VR());b.registerLanguage("armasm",KR());b.registerLanguage("xml",qR());b.registerLanguage("asciidoc",WR());b.registerLanguage("aspectj",zR());b.registerLanguage("autohotkey",$R());b.registerLanguage("autoit",XR());b.registerLanguage("avrasm",ZR());b.registerLanguage("awk",JR());b.registerLanguage("axapta",jR());b.registerLanguage("bash",eI());b.registerLanguage("basic",tI());b.registerLanguage("bnf",rI());b.registerLanguage("brainfuck",nI());b.registerLanguage("c",aI());b.registerLanguage("cal",iI());b.registerLanguage("capnproto",AI());b.registerLanguage("ceylon",oI());b.registerLanguage("clean",sI());b.registerLanguage("clojure",cI());b.registerLanguage("clojure-repl",lI());b.registerLanguage("cmake",dI());b.registerLanguage("coffeescript",uI());b.registerLanguage("coq",_I());b.registerLanguage("cos",pI());b.registerLanguage("cpp",gI());b.registerLanguage("crmsh",mI());b.registerLanguage("crystal",EI());b.registerLanguage("csharp",SI());b.registerLanguage("csp",fI());b.registerLanguage("css",CI());b.registerLanguage("d",bI());b.registerLanguage("markdown",TI());b.registerLanguage("dart",hI());b.registerLanguage("delphi",vI());b.registerLanguage("diff",RI());b.registerLanguage("django",II());b.registerLanguage("dns",yI());b.registerLanguage("dockerfile",NI());b.registerLanguage("dos",OI());b.registerLanguage("dsconfig",BI());b.registerLanguage("dts",wI());b.registerLanguage("dust",DI());b.registerLanguage("ebnf",LI());b.registerLanguage("elixir",xI());b.registerLanguage("elm",MI());b.registerLanguage("ruby",UI());b.registerLanguage("erb",FI());b.registerLanguage("erlang-repl",kI());b.registerLanguage("erlang",PI());b.registerLanguage("excel",QI());b.registerLanguage("fix",GI());b.registerLanguage("flix",HI());b.registerLanguage("fortran",YI());b.registerLanguage("fsharp",VI());b.registerLanguage("gams",KI());b.registerLanguage("gauss",qI());b.registerLanguage("gcode",WI());b.registerLanguage("gherkin",zI());b.registerLanguage("glsl",$I());b.registerLanguage("gml",XI());b.registerLanguage("go",ZI());b.registerLanguage("golo",JI());b.registerLanguage("gradle",jI());b.registerLanguage("graphql",ey());b.registerLanguage("groovy",ty());b.registerLanguage("haml",ry());b.registerLanguage("handlebars",ny());b.registerLanguage("haskell",ay());b.registerLanguage("haxe",iy());b.registerLanguage("hsp",Ay());b.registerLanguage("http",oy());b.registerLanguage("hy",sy());b.registerLanguage("inform7",cy());b.registerLanguage("ini",ly());b.registerLanguage("irpf90",dy());b.registerLanguage("isbl",uy());b.registerLanguage("java",_y());b.registerLanguage("javascript",py());b.registerLanguage("jboss-cli",gy());b.registerLanguage("json",my());b.registerLanguage("julia",Ey());b.registerLanguage("julia-repl",Sy());b.registerLanguage("kotlin",fy());b.registerLanguage("lasso",Cy());b.registerLanguage("latex",by());b.registerLanguage("ldif",Ty());b.registerLanguage("leaf",hy());b.registerLanguage("less",vy());b.registerLanguage("lisp",Ry());b.registerLanguage("livecodeserver",Iy());b.registerLanguage("livescript",yy());b.registerLanguage("llvm",Ny());b.registerLanguage("lsl",Oy());b.registerLanguage("lua",By());b.registerLanguage("makefile",wy());b.registerLanguage("mathematica",Dy());b.registerLanguage("matlab",Ly());b.registerLanguage("maxima",xy());b.registerLanguage("mel",My());b.registerLanguage("mercury",Uy());b.registerLanguage("mipsasm",Fy());b.registerLanguage("mizar",ky());b.registerLanguage("perl",Py());b.registerLanguage("mojolicious",Qy());b.registerLanguage("monkey",Gy());b.registerLanguage("moonscript",Hy());b.registerLanguage("n1ql",Yy());b.registerLanguage("nestedtext",Vy());b.registerLanguage("nginx",Ky());b.registerLanguage("nim",qy());b.registerLanguage("nix",Wy());b.registerLanguage("node-repl",zy());b.registerLanguage("nsis",$y());b.registerLanguage("objectivec",Xy());b.registerLanguage("ocaml",Zy());b.registerLanguage("openscad",Jy());b.registerLanguage("oxygene",jy());b.registerLanguage("parser3",eN());b.registerLanguage("pf",tN());b.registerLanguage("pgsql",rN());b.registerLanguage("php",nN());b.registerLanguage("php-template",aN());b.registerLanguage("plaintext",iN());b.registerLanguage("pony",AN());b.registerLanguage("powershell",oN());b.registerLanguage("processing",sN());b.registerLanguage("profile",cN());b.registerLanguage("prolog",lN());b.registerLanguage("properties",dN());b.registerLanguage("protobuf",uN());b.registerLanguage("puppet",_N());b.registerLanguage("purebasic",pN());b.registerLanguage("python",gN());b.registerLanguage("python-repl",mN());b.registerLanguage("q",EN());b.registerLanguage("qml",SN());b.registerLanguage("r",fN());b.registerLanguage("reasonml",CN());b.registerLanguage("rib",bN());b.registerLanguage("roboconf",TN());b.registerLanguage("routeros",hN());b.registerLanguage("rsl",vN());b.registerLanguage("ruleslanguage",RN());b.registerLanguage("rust",IN());b.registerLanguage("sas",yN());b.registerLanguage("scala",NN());b.registerLanguage("scheme",ON());b.registerLanguage("scilab",BN());b.registerLanguage("scss",wN());b.registerLanguage("shell",DN());b.registerLanguage("smali",LN());b.registerLanguage("smalltalk",xN());b.registerLanguage("sml",MN());b.registerLanguage("sqf",UN());b.registerLanguage("sql",FN());b.registerLanguage("stan",kN());b.registerLanguage("stata",PN());b.registerLanguage("step21",QN());b.registerLanguage("stylus",GN());b.registerLanguage("subunit",HN());b.registerLanguage("swift",YN());b.registerLanguage("taggerscript",VN());b.registerLanguage("yaml",KN());b.registerLanguage("tap",qN());b.registerLanguage("tcl",WN());b.registerLanguage("thrift",zN());b.registerLanguage("tp",$N());b.registerLanguage("twig",XN());b.registerLanguage("typescript",ZN());b.registerLanguage("vala",JN());b.registerLanguage("vbnet",jN());b.registerLanguage("vbscript",eO());b.registerLanguage("vbscript-html",tO());b.registerLanguage("verilog",rO());b.registerLanguage("vhdl",nO());b.registerLanguage("vim",aO());b.registerLanguage("wasm",iO());b.registerLanguage("wren",AO());b.registerLanguage("x86asm",oO());b.registerLanguage("xl",sO());b.registerLanguage("xquery",cO());b.registerLanguage("zephir",lO());b.HighlightJS=b;b.default=b;var dO=b;const lt=ya(dO);var Ce={};const uO="Á",_O="á",pO="Ă",gO="ă",mO="∾",EO="∿",SO="∾̳",fO="Â",CO="â",bO="´",TO="А",hO="а",vO="Æ",RO="æ",IO="⁡",yO="𝔄",NO="𝔞",OO="À",BO="à",wO="ℵ",DO="ℵ",LO="Α",xO="α",MO="Ā",UO="ā",FO="⨿",kO="&",PO="&",QO="⩕",GO="⩓",HO="∧",YO="⩜",VO="⩘",KO="⩚",qO="∠",WO="⦤",zO="∠",$O="⦨",XO="⦩",ZO="⦪",JO="⦫",jO="⦬",eB="⦭",tB="⦮",rB="⦯",nB="∡",aB="∟",iB="⊾",AB="⦝",oB="∢",sB="Å",cB="⍼",lB="Ą",dB="ą",uB="𝔸",_B="𝕒",pB="⩯",gB="≈",mB="⩰",EB="≊",SB="≋",fB="'",CB="⁡",bB="≈",TB="≊",hB="Å",vB="å",RB="𝒜",IB="𝒶",yB="≔",NB="*",OB="≈",BB="≍",wB="Ã",DB="ã",LB="Ä",xB="ä",MB="∳",UB="⨑",FB="≌",kB="϶",PB="‵",QB="∽",GB="⋍",HB="∖",YB="⫧",VB="⊽",KB="⌅",qB="⌆",WB="⌅",zB="⎵",$B="⎶",XB="≌",ZB="Б",JB="б",jB="„",ew="∵",tw="∵",rw="∵",nw="⦰",aw="϶",iw="ℬ",Aw="ℬ",ow="Β",sw="β",cw="ℶ",lw="≬",dw="𝔅",uw="𝔟",_w="⋂",pw="◯",gw="⋃",mw="⨀",Ew="⨁",Sw="⨂",fw="⨆",Cw="★",bw="▽",Tw="△",hw="⨄",vw="⋁",Rw="⋀",Iw="⤍",yw="⧫",Nw="▪",Ow="▴",Bw="▾",ww="◂",Dw="▸",Lw="␣",xw="▒",Mw="░",Uw="▓",Fw="█",kw="=⃥",Pw="≡⃥",Qw="⫭",Gw="⌐",Hw="𝔹",Yw="𝕓",Vw="⊥",Kw="⊥",qw="⋈",Ww="⧉",zw="┐",$w="╕",Xw="╖",Zw="╗",Jw="┌",jw="╒",eD="╓",tD="╔",rD="─",nD="═",aD="┬",iD="╤",AD="╥",oD="╦",sD="┴",cD="╧",lD="╨",dD="╩",uD="⊟",_D="⊞",pD="⊠",gD="┘",mD="╛",ED="╜",SD="╝",fD="└",CD="╘",bD="╙",TD="╚",hD="│",vD="║",RD="┼",ID="╪",yD="╫",ND="╬",OD="┤",BD="╡",wD="╢",DD="╣",LD="├",xD="╞",MD="╟",UD="╠",FD="‵",kD="˘",PD="˘",QD="¦",GD="𝒷",HD="ℬ",YD="⁏",VD="∽",KD="⋍",qD="⧅",WD="\\",zD="⟈",$D="•",XD="•",ZD="≎",JD="⪮",jD="≏",eL="≎",tL="≏",rL="Ć",nL="ć",aL="⩄",iL="⩉",AL="⩋",oL="∩",sL="⋒",cL="⩇",lL="⩀",dL="ⅅ",uL="∩︀",_L="⁁",pL="ˇ",gL="ℭ",mL="⩍",EL="Č",SL="č",fL="Ç",CL="ç",bL="Ĉ",TL="ĉ",hL="∰",vL="⩌",RL="⩐",IL="Ċ",yL="ċ",NL="¸",OL="¸",BL="⦲",wL="¢",DL="·",LL="·",xL="𝔠",ML="ℭ",UL="Ч",FL="ч",kL="✓",PL="✓",QL="Χ",GL="χ",HL="ˆ",YL="≗",VL="↺",KL="↻",qL="⊛",WL="⊚",zL="⊝",$L="⊙",XL="®",ZL="Ⓢ",JL="⊖",jL="⊕",ex="⊗",tx="○",rx="⧃",nx="≗",ax="⨐",ix="⫯",Ax="⧂",ox="∲",sx="”",cx="’",lx="♣",dx="♣",ux=":",_x="∷",px="⩴",gx="≔",mx="≔",Ex=",",Sx="@",fx="∁",Cx="∘",bx="∁",Tx="ℂ",hx="≅",vx="⩭",Rx="≡",Ix="∮",yx="∯",Nx="∮",Ox="𝕔",Bx="ℂ",wx="∐",Dx="∐",Lx="©",xx="©",Mx="℗",Ux="∳",Fx="↵",kx="✗",Px="⨯",Qx="𝒞",Gx="𝒸",Hx="⫏",Yx="⫑",Vx="⫐",Kx="⫒",qx="⋯",Wx="⤸",zx="⤵",$x="⋞",Xx="⋟",Zx="↶",Jx="⤽",jx="⩈",eM="⩆",tM="≍",rM="∪",nM="⋓",aM="⩊",iM="⊍",AM="⩅",oM="∪︀",sM="↷",cM="⤼",lM="⋞",dM="⋟",uM="⋎",_M="⋏",pM="¤",gM="↶",mM="↷",EM="⋎",SM="⋏",fM="∲",CM="∱",bM="⌭",TM="†",hM="‡",vM="ℸ",RM="↓",IM="↡",yM="⇓",NM="‐",OM="⫤",BM="⊣",wM="⤏",DM="˝",LM="Ď",xM="ď",MM="Д",UM="д",FM="‡",kM="⇊",PM="ⅅ",QM="ⅆ",GM="⤑",HM="⩷",YM="°",VM="∇",KM="Δ",qM="δ",WM="⦱",zM="⥿",$M="𝔇",XM="𝔡",ZM="⥥",JM="⇃",jM="⇂",eU="´",tU="˙",rU="˝",nU="`",aU="˜",iU="⋄",AU="⋄",oU="⋄",sU="♦",cU="♦",lU="¨",dU="ⅆ",uU="ϝ",_U="⋲",pU="÷",gU="÷",mU="⋇",EU="⋇",SU="Ђ",fU="ђ",CU="⌞",bU="⌍",TU="$",hU="𝔻",vU="𝕕",RU="¨",IU="˙",yU="⃜",NU="≐",OU="≑",BU="≐",wU="∸",DU="∔",LU="⊡",xU="⌆",MU="∯",UU="¨",FU="⇓",kU="⇐",PU="⇔",QU="⫤",GU="⟸",HU="⟺",YU="⟹",VU="⇒",KU="⊨",qU="⇑",WU="⇕",zU="∥",$U="⤓",XU="↓",ZU="↓",JU="⇓",jU="⇵",e0="̑",t0="⇊",r0="⇃",n0="⇂",a0="⥐",i0="⥞",A0="⥖",o0="↽",s0="⥟",c0="⥗",l0="⇁",d0="↧",u0="⊤",_0="⤐",p0="⌟",g0="⌌",m0="𝒟",E0="𝒹",S0="Ѕ",f0="ѕ",C0="⧶",b0="Đ",T0="đ",h0="⋱",v0="▿",R0="▾",I0="⇵",y0="⥯",N0="⦦",O0="Џ",B0="џ",w0="⟿",D0="É",L0="é",x0="⩮",M0="Ě",U0="ě",F0="Ê",k0="ê",P0="≖",Q0="≕",G0="Э",H0="э",Y0="⩷",V0="Ė",K0="ė",q0="≑",W0="ⅇ",z0="≒",$0="𝔈",X0="𝔢",Z0="⪚",J0="È",j0="è",eF="⪖",tF="⪘",rF="⪙",nF="∈",aF="⏧",iF="ℓ",AF="⪕",oF="⪗",sF="Ē",cF="ē",lF="∅",dF="∅",uF="◻",_F="∅",pF="▫",gF=" ",mF=" ",EF=" ",SF="Ŋ",fF="ŋ",CF=" ",bF="Ę",TF="ę",hF="𝔼",vF="𝕖",RF="⋕",IF="⧣",yF="⩱",NF="ε",OF="Ε",BF="ε",wF="ϵ",DF="≖",LF="≕",xF="≂",MF="⪖",UF="⪕",FF="⩵",kF="=",PF="≂",QF="≟",GF="⇌",HF="≡",YF="⩸",VF="⧥",KF="⥱",qF="≓",WF="ℯ",zF="ℰ",$F="≐",XF="⩳",ZF="≂",JF="Η",jF="η",ek="Ð",tk="ð",rk="Ë",nk="ë",ak="€",ik="!",Ak="∃",ok="∃",sk="ℰ",ck="ⅇ",lk="ⅇ",dk="≒",uk="Ф",_k="ф",pk="♀",gk="ffi",mk="ff",Ek="ffl",Sk="𝔉",fk="𝔣",Ck="fi",bk="◼",Tk="▪",hk="fj",vk="♭",Rk="fl",Ik="▱",yk="ƒ",Nk="𝔽",Ok="𝕗",Bk="∀",wk="∀",Dk="⋔",Lk="⫙",xk="ℱ",Mk="⨍",Uk="½",Fk="⅓",kk="¼",Pk="⅕",Qk="⅙",Gk="⅛",Hk="⅔",Yk="⅖",Vk="¾",Kk="⅗",qk="⅜",Wk="⅘",zk="⅚",$k="⅝",Xk="⅞",Zk="⁄",Jk="⌢",jk="𝒻",eP="ℱ",tP="ǵ",rP="Γ",nP="γ",aP="Ϝ",iP="ϝ",AP="⪆",oP="Ğ",sP="ğ",cP="Ģ",lP="Ĝ",dP="ĝ",uP="Г",_P="г",pP="Ġ",gP="ġ",mP="≥",EP="≧",SP="⪌",fP="⋛",CP="≥",bP="≧",TP="⩾",hP="⪩",vP="⩾",RP="⪀",IP="⪂",yP="⪄",NP="⋛︀",OP="⪔",BP="𝔊",wP="𝔤",DP="≫",LP="⋙",xP="⋙",MP="ℷ",UP="Ѓ",FP="ѓ",kP="⪥",PP="≷",QP="⪒",GP="⪤",HP="⪊",YP="⪊",VP="⪈",KP="≩",qP="⪈",WP="≩",zP="⋧",$P="𝔾",XP="𝕘",ZP="`",JP="≥",jP="⋛",eQ="≧",tQ="⪢",rQ="≷",nQ="⩾",aQ="≳",iQ="𝒢",AQ="ℊ",oQ="≳",sQ="⪎",cQ="⪐",lQ="⪧",dQ="⩺",uQ=">",_Q=">",pQ="≫",gQ="⋗",mQ="⦕",EQ="⩼",SQ="⪆",fQ="⥸",CQ="⋗",bQ="⋛",TQ="⪌",hQ="≷",vQ="≳",RQ="≩︀",IQ="≩︀",yQ="ˇ",NQ=" ",OQ="½",BQ="ℋ",wQ="Ъ",DQ="ъ",LQ="⥈",xQ="↔",MQ="⇔",UQ="↭",FQ="^",kQ="ℏ",PQ="Ĥ",QQ="ĥ",GQ="♥",HQ="♥",YQ="…",VQ="⊹",KQ="𝔥",qQ="ℌ",WQ="ℋ",zQ="⤥",$Q="⤦",XQ="⇿",ZQ="∻",JQ="↩",jQ="↪",e1="𝕙",t1="ℍ",r1="―",n1="─",a1="𝒽",i1="ℋ",A1="ℏ",o1="Ħ",s1="ħ",c1="≎",l1="≏",d1="⁃",u1="‐",_1="Í",p1="í",g1="⁣",m1="Î",E1="î",S1="И",f1="и",C1="İ",b1="Е",T1="е",h1="¡",v1="⇔",R1="𝔦",I1="ℑ",y1="Ì",N1="ì",O1="ⅈ",B1="⨌",w1="∭",D1="⧜",L1="℩",x1="IJ",M1="ij",U1="Ī",F1="ī",k1="ℑ",P1="ⅈ",Q1="ℐ",G1="ℑ",H1="ı",Y1="ℑ",V1="⊷",K1="Ƶ",q1="⇒",W1="℅",z1="∞",$1="⧝",X1="ı",Z1="⊺",J1="∫",j1="∬",eG="ℤ",tG="∫",rG="⊺",nG="⋂",aG="⨗",iG="⨼",AG="⁣",oG="⁢",sG="Ё",cG="ё",lG="Į",dG="į",uG="𝕀",_G="𝕚",pG="Ι",gG="ι",mG="⨼",EG="¿",SG="𝒾",fG="ℐ",CG="∈",bG="⋵",TG="⋹",hG="⋴",vG="⋳",RG="∈",IG="⁢",yG="Ĩ",NG="ĩ",OG="І",BG="і",wG="Ï",DG="ï",LG="Ĵ",xG="ĵ",MG="Й",UG="й",FG="𝔍",kG="𝔧",PG="ȷ",QG="𝕁",GG="𝕛",HG="𝒥",YG="𝒿",VG="Ј",KG="ј",qG="Є",WG="є",zG="Κ",$G="κ",XG="ϰ",ZG="Ķ",JG="ķ",jG="К",eH="к",tH="𝔎",rH="𝔨",nH="ĸ",aH="Х",iH="х",AH="Ќ",oH="ќ",sH="𝕂",cH="𝕜",lH="𝒦",dH="𝓀",uH="⇚",_H="Ĺ",pH="ĺ",gH="⦴",mH="ℒ",EH="Λ",SH="λ",fH="⟨",CH="⟪",bH="⦑",TH="⟨",hH="⪅",vH="ℒ",RH="«",IH="⇤",yH="⤟",NH="←",OH="↞",BH="⇐",wH="⤝",DH="↩",LH="↫",xH="⤹",MH="⥳",UH="↢",FH="⤙",kH="⤛",PH="⪫",QH="⪭",GH="⪭︀",HH="⤌",YH="⤎",VH="❲",KH="{",qH="[",WH="⦋",zH="⦏",$H="⦍",XH="Ľ",ZH="ľ",JH="Ļ",jH="ļ",e2="⌈",t2="{",r2="Л",n2="л",a2="⤶",i2="“",A2="„",o2="⥧",s2="⥋",c2="↲",l2="≤",d2="≦",u2="⟨",_2="⇤",p2="←",g2="←",m2="⇐",E2="⇆",S2="↢",f2="⌈",C2="⟦",b2="⥡",T2="⥙",h2="⇃",v2="⌊",R2="↽",I2="↼",y2="⇇",N2="↔",O2="↔",B2="⇔",w2="⇆",D2="⇋",L2="↭",x2="⥎",M2="↤",U2="⊣",F2="⥚",k2="⋋",P2="⧏",Q2="⊲",G2="⊴",H2="⥑",Y2="⥠",V2="⥘",K2="↿",q2="⥒",W2="↼",z2="⪋",$2="⋚",X2="≤",Z2="≦",J2="⩽",j2="⪨",eY="⩽",tY="⩿",rY="⪁",nY="⪃",aY="⋚︀",iY="⪓",AY="⪅",oY="⋖",sY="⋚",cY="⪋",lY="⋚",dY="≦",uY="≶",_Y="≶",pY="⪡",gY="≲",mY="⩽",EY="≲",SY="⥼",fY="⌊",CY="𝔏",bY="𝔩",TY="≶",hY="⪑",vY="⥢",RY="↽",IY="↼",yY="⥪",NY="▄",OY="Љ",BY="љ",wY="⇇",DY="≪",LY="⋘",xY="⌞",MY="⇚",UY="⥫",FY="◺",kY="Ŀ",PY="ŀ",QY="⎰",GY="⎰",HY="⪉",YY="⪉",VY="⪇",KY="≨",qY="⪇",WY="≨",zY="⋦",$Y="⟬",XY="⇽",ZY="⟦",JY="⟵",jY="⟵",eV="⟸",tV="⟷",rV="⟷",nV="⟺",aV="⟼",iV="⟶",AV="⟶",oV="⟹",sV="↫",cV="↬",lV="⦅",dV="𝕃",uV="𝕝",_V="⨭",pV="⨴",gV="∗",mV="_",EV="↙",SV="↘",fV="◊",CV="◊",bV="⧫",TV="(",hV="⦓",vV="⇆",RV="⌟",IV="⇋",yV="⥭",NV="‎",OV="⊿",BV="‹",wV="𝓁",DV="ℒ",LV="↰",xV="↰",MV="≲",UV="⪍",FV="⪏",kV="[",PV="‘",QV="‚",GV="Ł",HV="ł",YV="⪦",VV="⩹",KV="<",qV="<",WV="≪",zV="⋖",$V="⋋",XV="⋉",ZV="⥶",JV="⩻",jV="◃",eK="⊴",tK="◂",rK="⦖",nK="⥊",aK="⥦",iK="≨︀",AK="≨︀",oK="¯",sK="♂",cK="✠",lK="✠",dK="↦",uK="↦",_K="↧",pK="↤",gK="↥",mK="▮",EK="⨩",SK="М",fK="м",CK="—",bK="∺",TK="∡",hK=" ",vK="ℳ",RK="𝔐",IK="𝔪",yK="℧",NK="µ",OK="*",BK="⫰",wK="∣",DK="·",LK="⊟",xK="−",MK="∸",UK="⨪",FK="∓",kK="⫛",PK="…",QK="∓",GK="⊧",HK="𝕄",YK="𝕞",VK="∓",KK="𝓂",qK="ℳ",WK="∾",zK="Μ",$K="μ",XK="⊸",ZK="⊸",JK="∇",jK="Ń",e4="ń",t4="∠⃒",r4="≉",n4="⩰̸",a4="≋̸",i4="ʼn",A4="≉",o4="♮",s4="ℕ",c4="♮",l4=" ",d4="≎̸",u4="≏̸",_4="⩃",p4="Ň",g4="ň",m4="Ņ",E4="ņ",S4="≇",f4="⩭̸",C4="⩂",b4="Н",T4="н",h4="–",v4="⤤",R4="↗",I4="⇗",y4="↗",N4="≠",O4="≐̸",B4="​",w4="​",D4="​",L4="​",x4="≢",M4="⤨",U4="≂̸",F4="≫",k4="≪",P4=` -`,Q4="∄",G4="∄",H4="𝔑",Y4="𝔫",V4="≧̸",K4="≱",q4="≱",W4="≧̸",z4="⩾̸",$4="⩾̸",X4="⋙̸",Z4="≵",J4="≫⃒",j4="≯",eq="≯",tq="≫̸",rq="↮",nq="⇎",aq="⫲",iq="∋",Aq="⋼",oq="⋺",sq="∋",cq="Њ",lq="њ",dq="↚",uq="⇍",_q="‥",pq="≦̸",gq="≰",mq="↚",Eq="⇍",Sq="↮",fq="⇎",Cq="≰",bq="≦̸",Tq="⩽̸",hq="⩽̸",vq="≮",Rq="⋘̸",Iq="≴",yq="≪⃒",Nq="≮",Oq="⋪",Bq="⋬",wq="≪̸",Dq="∤",Lq="⁠",xq=" ",Mq="𝕟",Uq="ℕ",Fq="⫬",kq="¬",Pq="≢",Qq="≭",Gq="∦",Hq="∉",Yq="≠",Vq="≂̸",Kq="∄",qq="≯",Wq="≱",zq="≧̸",$q="≫̸",Xq="≹",Zq="⩾̸",Jq="≵",jq="≎̸",eW="≏̸",tW="∉",rW="⋵̸",nW="⋹̸",aW="∉",iW="⋷",AW="⋶",oW="⧏̸",sW="⋪",cW="⋬",lW="≮",dW="≰",uW="≸",_W="≪̸",pW="⩽̸",gW="≴",mW="⪢̸",EW="⪡̸",SW="∌",fW="∌",CW="⋾",bW="⋽",TW="⊀",hW="⪯̸",vW="⋠",RW="∌",IW="⧐̸",yW="⋫",NW="⋭",OW="⊏̸",BW="⋢",wW="⊐̸",DW="⋣",LW="⊂⃒",xW="⊈",MW="⊁",UW="⪰̸",FW="⋡",kW="≿̸",PW="⊃⃒",QW="⊉",GW="≁",HW="≄",YW="≇",VW="≉",KW="∤",qW="∦",WW="∦",zW="⫽⃥",$W="∂̸",XW="⨔",ZW="⊀",JW="⋠",jW="⊀",ez="⪯̸",tz="⪯̸",rz="⤳̸",nz="↛",az="⇏",iz="↝̸",Az="↛",oz="⇏",sz="⋫",cz="⋭",lz="⊁",dz="⋡",uz="⪰̸",_z="𝒩",pz="𝓃",gz="∤",mz="∦",Ez="≁",Sz="≄",fz="≄",Cz="∤",bz="∦",Tz="⋢",hz="⋣",vz="⊄",Rz="⫅̸",Iz="⊈",yz="⊂⃒",Nz="⊈",Oz="⫅̸",Bz="⊁",wz="⪰̸",Dz="⊅",Lz="⫆̸",xz="⊉",Mz="⊃⃒",Uz="⊉",Fz="⫆̸",kz="≹",Pz="Ñ",Qz="ñ",Gz="≸",Hz="⋪",Yz="⋬",Vz="⋫",Kz="⋭",qz="Ν",Wz="ν",zz="#",$z="№",Xz=" ",Zz="≍⃒",Jz="⊬",jz="⊭",e3="⊮",t3="⊯",r3="≥⃒",n3=">⃒",a3="⤄",i3="⧞",A3="⤂",o3="≤⃒",s3="<⃒",c3="⊴⃒",l3="⤃",d3="⊵⃒",u3="∼⃒",_3="⤣",p3="↖",g3="⇖",m3="↖",E3="⤧",S3="Ó",f3="ó",C3="⊛",b3="Ô",T3="ô",h3="⊚",v3="О",R3="о",I3="⊝",y3="Ő",N3="ő",O3="⨸",B3="⊙",w3="⦼",D3="Œ",L3="œ",x3="⦿",M3="𝔒",U3="𝔬",F3="˛",k3="Ò",P3="ò",Q3="⧁",G3="⦵",H3="Ω",Y3="∮",V3="↺",K3="⦾",q3="⦻",W3="‾",z3="⧀",$3="Ō",X3="ō",Z3="Ω",J3="ω",j3="Ο",e$="ο",t$="⦶",r$="⊖",n$="𝕆",a$="𝕠",i$="⦷",A$="“",o$="‘",s$="⦹",c$="⊕",l$="↻",d$="⩔",u$="∨",_$="⩝",p$="ℴ",g$="ℴ",m$="ª",E$="º",S$="⊶",f$="⩖",C$="⩗",b$="⩛",T$="Ⓢ",h$="𝒪",v$="ℴ",R$="Ø",I$="ø",y$="⊘",N$="Õ",O$="õ",B$="⨶",w$="⨷",D$="⊗",L$="Ö",x$="ö",M$="⌽",U$="‾",F$="⏞",k$="⎴",P$="⏜",Q$="¶",G$="∥",H$="∥",Y$="⫳",V$="⫽",K$="∂",q$="∂",W$="П",z$="п",$$="%",X$=".",Z$="‰",J$="⊥",j$="‱",e9="𝔓",t9="𝔭",r9="Φ",n9="φ",a9="ϕ",i9="ℳ",A9="☎",o9="Π",s9="π",c9="⋔",l9="ϖ",d9="ℏ",u9="ℎ",_9="ℏ",p9="⨣",g9="⊞",m9="⨢",E9="+",S9="∔",f9="⨥",C9="⩲",b9="±",T9="±",h9="⨦",v9="⨧",R9="±",I9="ℌ",y9="⨕",N9="𝕡",O9="ℙ",B9="£",w9="⪷",D9="⪻",L9="≺",x9="≼",M9="⪷",U9="≺",F9="≼",k9="≺",P9="⪯",Q9="≼",G9="≾",H9="⪯",Y9="⪹",V9="⪵",K9="⋨",q9="⪯",W9="⪳",z9="≾",$9="′",X9="″",Z9="ℙ",J9="⪹",j9="⪵",e8="⋨",t8="∏",r8="∏",n8="⌮",a8="⌒",i8="⌓",A8="∝",o8="∝",s8="∷",c8="∝",l8="≾",d8="⊰",u8="𝒫",_8="𝓅",p8="Ψ",g8="ψ",m8=" ",E8="𝔔",S8="𝔮",f8="⨌",C8="𝕢",b8="ℚ",T8="⁗",h8="𝒬",v8="𝓆",R8="ℍ",I8="⨖",y8="?",N8="≟",O8='"',B8='"',w8="⇛",D8="∽̱",L8="Ŕ",x8="ŕ",M8="√",U8="⦳",F8="⟩",k8="⟫",P8="⦒",Q8="⦥",G8="⟩",H8="»",Y8="⥵",V8="⇥",K8="⤠",q8="⤳",W8="→",z8="↠",$8="⇒",X8="⤞",Z8="↪",J8="↬",j8="⥅",e5="⥴",t5="⤖",r5="↣",n5="↝",a5="⤚",i5="⤜",A5="∶",o5="ℚ",s5="⤍",c5="⤏",l5="⤐",d5="❳",u5="}",_5="]",p5="⦌",g5="⦎",m5="⦐",E5="Ř",S5="ř",f5="Ŗ",C5="ŗ",b5="⌉",T5="}",h5="Р",v5="р",R5="⤷",I5="⥩",y5="”",N5="”",O5="↳",B5="ℜ",w5="ℛ",D5="ℜ",L5="ℝ",x5="ℜ",M5="▭",U5="®",F5="®",k5="∋",P5="⇋",Q5="⥯",G5="⥽",H5="⌋",Y5="𝔯",V5="ℜ",K5="⥤",q5="⇁",W5="⇀",z5="⥬",$5="Ρ",X5="ρ",Z5="ϱ",J5="⟩",j5="⇥",eX="→",tX="→",rX="⇒",nX="⇄",aX="↣",iX="⌉",AX="⟧",oX="⥝",sX="⥕",cX="⇂",lX="⌋",dX="⇁",uX="⇀",_X="⇄",pX="⇌",gX="⇉",mX="↝",EX="↦",SX="⊢",fX="⥛",CX="⋌",bX="⧐",TX="⊳",hX="⊵",vX="⥏",RX="⥜",IX="⥔",yX="↾",NX="⥓",OX="⇀",BX="˚",wX="≓",DX="⇄",LX="⇌",xX="‏",MX="⎱",UX="⎱",FX="⫮",kX="⟭",PX="⇾",QX="⟧",GX="⦆",HX="𝕣",YX="ℝ",VX="⨮",KX="⨵",qX="⥰",WX=")",zX="⦔",$X="⨒",XX="⇉",ZX="⇛",JX="›",jX="𝓇",eZ="ℛ",tZ="↱",rZ="↱",nZ="]",aZ="’",iZ="’",AZ="⋌",oZ="⋊",sZ="▹",cZ="⊵",lZ="▸",dZ="⧎",uZ="⧴",_Z="⥨",pZ="℞",gZ="Ś",mZ="ś",EZ="‚",SZ="⪸",fZ="Š",CZ="š",bZ="⪼",TZ="≻",hZ="≽",vZ="⪰",RZ="⪴",IZ="Ş",yZ="ş",NZ="Ŝ",OZ="ŝ",BZ="⪺",wZ="⪶",DZ="⋩",LZ="⨓",xZ="≿",MZ="С",UZ="с",FZ="⊡",kZ="⋅",PZ="⩦",QZ="⤥",GZ="↘",HZ="⇘",YZ="↘",VZ="§",KZ=";",qZ="⤩",WZ="∖",zZ="∖",$Z="✶",XZ="𝔖",ZZ="𝔰",JZ="⌢",jZ="♯",e6="Щ",t6="щ",r6="Ш",n6="ш",a6="↓",i6="←",A6="∣",o6="∥",s6="→",c6="↑",l6="­",d6="Σ",u6="σ",_6="ς",p6="ς",g6="∼",m6="⩪",E6="≃",S6="≃",f6="⪞",C6="⪠",b6="⪝",T6="⪟",h6="≆",v6="⨤",R6="⥲",I6="←",y6="∘",N6="∖",O6="⨳",B6="⧤",w6="∣",D6="⌣",L6="⪪",x6="⪬",M6="⪬︀",U6="Ь",F6="ь",k6="⌿",P6="⧄",Q6="/",G6="𝕊",H6="𝕤",Y6="♠",V6="♠",K6="∥",q6="⊓",W6="⊓︀",z6="⊔",$6="⊔︀",X6="√",Z6="⊏",J6="⊑",j6="⊏",eJ="⊑",tJ="⊐",rJ="⊒",nJ="⊐",aJ="⊒",iJ="□",AJ="□",oJ="⊓",sJ="⊏",cJ="⊑",lJ="⊐",dJ="⊒",uJ="⊔",_J="▪",pJ="□",gJ="▪",mJ="→",EJ="𝒮",SJ="𝓈",fJ="∖",CJ="⌣",bJ="⋆",TJ="⋆",hJ="☆",vJ="★",RJ="ϵ",IJ="ϕ",yJ="¯",NJ="⊂",OJ="⋐",BJ="⪽",wJ="⫅",DJ="⊆",LJ="⫃",xJ="⫁",MJ="⫋",UJ="⊊",FJ="⪿",kJ="⥹",PJ="⊂",QJ="⋐",GJ="⊆",HJ="⫅",YJ="⊆",VJ="⊊",KJ="⫋",qJ="⫇",WJ="⫕",zJ="⫓",$J="⪸",XJ="≻",ZJ="≽",JJ="≻",jJ="⪰",e7="≽",t7="≿",r7="⪰",n7="⪺",a7="⪶",i7="⋩",A7="≿",o7="∋",s7="∑",c7="∑",l7="♪",d7="¹",u7="²",_7="³",p7="⊃",g7="⋑",m7="⪾",E7="⫘",S7="⫆",f7="⊇",C7="⫄",b7="⊃",T7="⊇",h7="⟉",v7="⫗",R7="⥻",I7="⫂",y7="⫌",N7="⊋",O7="⫀",B7="⊃",w7="⋑",D7="⊇",L7="⫆",x7="⊋",M7="⫌",U7="⫈",F7="⫔",k7="⫖",P7="⤦",Q7="↙",G7="⇙",H7="↙",Y7="⤪",V7="ß",K7=" ",q7="⌖",W7="Τ",z7="τ",$7="⎴",X7="Ť",Z7="ť",J7="Ţ",j7="ţ",ej="Т",tj="т",rj="⃛",nj="⌕",aj="𝔗",ij="𝔱",Aj="∴",oj="∴",sj="∴",cj="Θ",lj="θ",dj="ϑ",uj="ϑ",_j="≈",pj="∼",gj="  ",mj=" ",Ej=" ",Sj="≈",fj="∼",Cj="Þ",bj="þ",Tj="˜",hj="∼",vj="≃",Rj="≅",Ij="≈",yj="⨱",Nj="⊠",Oj="×",Bj="⨰",wj="∭",Dj="⤨",Lj="⌶",xj="⫱",Mj="⊤",Uj="𝕋",Fj="𝕥",kj="⫚",Pj="⤩",Qj="‴",Gj="™",Hj="™",Yj="▵",Vj="▿",Kj="◃",qj="⊴",Wj="≜",zj="▹",$j="⊵",Xj="◬",Zj="≜",Jj="⨺",jj="⃛",eee="⨹",tee="⧍",ree="⨻",nee="⏢",aee="𝒯",iee="𝓉",Aee="Ц",oee="ц",see="Ћ",cee="ћ",lee="Ŧ",dee="ŧ",uee="≬",_ee="↞",pee="↠",gee="Ú",mee="ú",Eee="↑",See="↟",fee="⇑",Cee="⥉",bee="Ў",Tee="ў",hee="Ŭ",vee="ŭ",Ree="Û",Iee="û",yee="У",Nee="у",Oee="⇅",Bee="Ű",wee="ű",Dee="⥮",Lee="⥾",xee="𝔘",Mee="𝔲",Uee="Ù",Fee="ù",kee="⥣",Pee="↿",Qee="↾",Gee="▀",Hee="⌜",Yee="⌜",Vee="⌏",Kee="◸",qee="Ū",Wee="ū",zee="¨",$ee="_",Xee="⏟",Zee="⎵",Jee="⏝",jee="⋃",ete="⊎",tte="Ų",rte="ų",nte="𝕌",ate="𝕦",ite="⤒",Ate="↑",ote="↑",ste="⇑",cte="⇅",lte="↕",dte="↕",ute="⇕",_te="⥮",pte="↿",gte="↾",mte="⊎",Ete="↖",Ste="↗",fte="υ",Cte="ϒ",bte="ϒ",Tte="Υ",hte="υ",vte="↥",Rte="⊥",Ite="⇈",yte="⌝",Nte="⌝",Ote="⌎",Bte="Ů",wte="ů",Dte="◹",Lte="𝒰",xte="𝓊",Mte="⋰",Ute="Ũ",Fte="ũ",kte="▵",Pte="▴",Qte="⇈",Gte="Ü",Hte="ü",Yte="⦧",Vte="⦜",Kte="ϵ",qte="ϰ",Wte="∅",zte="ϕ",$te="ϖ",Xte="∝",Zte="↕",Jte="⇕",jte="ϱ",ere="ς",tre="⊊︀",rre="⫋︀",nre="⊋︀",are="⫌︀",ire="ϑ",Are="⊲",ore="⊳",sre="⫨",cre="⫫",lre="⫩",dre="В",ure="в",_re="⊢",pre="⊨",gre="⊩",mre="⊫",Ere="⫦",Sre="⊻",fre="∨",Cre="⋁",bre="≚",Tre="⋮",hre="|",vre="‖",Rre="|",Ire="‖",yre="∣",Nre="|",Ore="❘",Bre="≀",wre=" ",Dre="𝔙",Lre="𝔳",xre="⊲",Mre="⊂⃒",Ure="⊃⃒",Fre="𝕍",kre="𝕧",Pre="∝",Qre="⊳",Gre="𝒱",Hre="𝓋",Yre="⫋︀",Vre="⊊︀",Kre="⫌︀",qre="⊋︀",Wre="⊪",zre="⦚",$re="Ŵ",Xre="ŵ",Zre="⩟",Jre="∧",jre="⋀",ene="≙",tne="℘",rne="𝔚",nne="𝔴",ane="𝕎",ine="𝕨",Ane="℘",one="≀",sne="≀",cne="𝒲",lne="𝓌",dne="⋂",une="◯",_ne="⋃",pne="▽",gne="𝔛",mne="𝔵",Ene="⟷",Sne="⟺",fne="Ξ",Cne="ξ",bne="⟵",Tne="⟸",hne="⟼",vne="⋻",Rne="⨀",Ine="𝕏",yne="𝕩",Nne="⨁",One="⨂",Bne="⟶",wne="⟹",Dne="𝒳",Lne="𝓍",xne="⨆",Mne="⨄",Une="△",Fne="⋁",kne="⋀",Pne="Ý",Qne="ý",Gne="Я",Hne="я",Yne="Ŷ",Vne="ŷ",Kne="Ы",qne="ы",Wne="¥",zne="𝔜",$ne="𝔶",Xne="Ї",Zne="ї",Jne="𝕐",jne="𝕪",eae="𝒴",tae="𝓎",rae="Ю",nae="ю",aae="ÿ",iae="Ÿ",Aae="Ź",oae="ź",sae="Ž",cae="ž",lae="З",dae="з",uae="Ż",_ae="ż",pae="ℨ",gae="​",mae="Ζ",Eae="ζ",Sae="𝔷",fae="ℨ",Cae="Ж",bae="ж",Tae="⇝",hae="𝕫",vae="ℤ",Rae="𝒵",Iae="𝓏",yae="‍",Nae="‌",Oae={Aacute:uO,aacute:_O,Abreve:pO,abreve:gO,ac:mO,acd:EO,acE:SO,Acirc:fO,acirc:CO,acute:bO,Acy:TO,acy:hO,AElig:vO,aelig:RO,af:IO,Afr:yO,afr:NO,Agrave:OO,agrave:BO,alefsym:wO,aleph:DO,Alpha:LO,alpha:xO,Amacr:MO,amacr:UO,amalg:FO,amp:kO,AMP:PO,andand:QO,And:GO,and:HO,andd:YO,andslope:VO,andv:KO,ang:qO,ange:WO,angle:zO,angmsdaa:$O,angmsdab:XO,angmsdac:ZO,angmsdad:JO,angmsdae:jO,angmsdaf:eB,angmsdag:tB,angmsdah:rB,angmsd:nB,angrt:aB,angrtvb:iB,angrtvbd:AB,angsph:oB,angst:sB,angzarr:cB,Aogon:lB,aogon:dB,Aopf:uB,aopf:_B,apacir:pB,ap:gB,apE:mB,ape:EB,apid:SB,apos:fB,ApplyFunction:CB,approx:bB,approxeq:TB,Aring:hB,aring:vB,Ascr:RB,ascr:IB,Assign:yB,ast:NB,asymp:OB,asympeq:BB,Atilde:wB,atilde:DB,Auml:LB,auml:xB,awconint:MB,awint:UB,backcong:FB,backepsilon:kB,backprime:PB,backsim:QB,backsimeq:GB,Backslash:HB,Barv:YB,barvee:VB,barwed:KB,Barwed:qB,barwedge:WB,bbrk:zB,bbrktbrk:$B,bcong:XB,Bcy:ZB,bcy:JB,bdquo:jB,becaus:ew,because:tw,Because:rw,bemptyv:nw,bepsi:aw,bernou:iw,Bernoullis:Aw,Beta:ow,beta:sw,beth:cw,between:lw,Bfr:dw,bfr:uw,bigcap:_w,bigcirc:pw,bigcup:gw,bigodot:mw,bigoplus:Ew,bigotimes:Sw,bigsqcup:fw,bigstar:Cw,bigtriangledown:bw,bigtriangleup:Tw,biguplus:hw,bigvee:vw,bigwedge:Rw,bkarow:Iw,blacklozenge:yw,blacksquare:Nw,blacktriangle:Ow,blacktriangledown:Bw,blacktriangleleft:ww,blacktriangleright:Dw,blank:Lw,blk12:xw,blk14:Mw,blk34:Uw,block:Fw,bne:kw,bnequiv:Pw,bNot:Qw,bnot:Gw,Bopf:Hw,bopf:Yw,bot:Vw,bottom:Kw,bowtie:qw,boxbox:Ww,boxdl:zw,boxdL:$w,boxDl:Xw,boxDL:Zw,boxdr:Jw,boxdR:jw,boxDr:eD,boxDR:tD,boxh:rD,boxH:nD,boxhd:aD,boxHd:iD,boxhD:AD,boxHD:oD,boxhu:sD,boxHu:cD,boxhU:lD,boxHU:dD,boxminus:uD,boxplus:_D,boxtimes:pD,boxul:gD,boxuL:mD,boxUl:ED,boxUL:SD,boxur:fD,boxuR:CD,boxUr:bD,boxUR:TD,boxv:hD,boxV:vD,boxvh:RD,boxvH:ID,boxVh:yD,boxVH:ND,boxvl:OD,boxvL:BD,boxVl:wD,boxVL:DD,boxvr:LD,boxvR:xD,boxVr:MD,boxVR:UD,bprime:FD,breve:kD,Breve:PD,brvbar:QD,bscr:GD,Bscr:HD,bsemi:YD,bsim:VD,bsime:KD,bsolb:qD,bsol:WD,bsolhsub:zD,bull:$D,bullet:XD,bump:ZD,bumpE:JD,bumpe:jD,Bumpeq:eL,bumpeq:tL,Cacute:rL,cacute:nL,capand:aL,capbrcup:iL,capcap:AL,cap:oL,Cap:sL,capcup:cL,capdot:lL,CapitalDifferentialD:dL,caps:uL,caret:_L,caron:pL,Cayleys:gL,ccaps:mL,Ccaron:EL,ccaron:SL,Ccedil:fL,ccedil:CL,Ccirc:bL,ccirc:TL,Cconint:hL,ccups:vL,ccupssm:RL,Cdot:IL,cdot:yL,cedil:NL,Cedilla:OL,cemptyv:BL,cent:wL,centerdot:DL,CenterDot:LL,cfr:xL,Cfr:ML,CHcy:UL,chcy:FL,check:kL,checkmark:PL,Chi:QL,chi:GL,circ:HL,circeq:YL,circlearrowleft:VL,circlearrowright:KL,circledast:qL,circledcirc:WL,circleddash:zL,CircleDot:$L,circledR:XL,circledS:ZL,CircleMinus:JL,CirclePlus:jL,CircleTimes:ex,cir:tx,cirE:rx,cire:nx,cirfnint:ax,cirmid:ix,cirscir:Ax,ClockwiseContourIntegral:ox,CloseCurlyDoubleQuote:sx,CloseCurlyQuote:cx,clubs:lx,clubsuit:dx,colon:ux,Colon:_x,Colone:px,colone:gx,coloneq:mx,comma:Ex,commat:Sx,comp:fx,compfn:Cx,complement:bx,complexes:Tx,cong:hx,congdot:vx,Congruent:Rx,conint:Ix,Conint:yx,ContourIntegral:Nx,copf:Ox,Copf:Bx,coprod:wx,Coproduct:Dx,copy:Lx,COPY:xx,copysr:Mx,CounterClockwiseContourIntegral:Ux,crarr:Fx,cross:kx,Cross:Px,Cscr:Qx,cscr:Gx,csub:Hx,csube:Yx,csup:Vx,csupe:Kx,ctdot:qx,cudarrl:Wx,cudarrr:zx,cuepr:$x,cuesc:Xx,cularr:Zx,cularrp:Jx,cupbrcap:jx,cupcap:eM,CupCap:tM,cup:rM,Cup:nM,cupcup:aM,cupdot:iM,cupor:AM,cups:oM,curarr:sM,curarrm:cM,curlyeqprec:lM,curlyeqsucc:dM,curlyvee:uM,curlywedge:_M,curren:pM,curvearrowleft:gM,curvearrowright:mM,cuvee:EM,cuwed:SM,cwconint:fM,cwint:CM,cylcty:bM,dagger:TM,Dagger:hM,daleth:vM,darr:RM,Darr:IM,dArr:yM,dash:NM,Dashv:OM,dashv:BM,dbkarow:wM,dblac:DM,Dcaron:LM,dcaron:xM,Dcy:MM,dcy:UM,ddagger:FM,ddarr:kM,DD:PM,dd:QM,DDotrahd:GM,ddotseq:HM,deg:YM,Del:VM,Delta:KM,delta:qM,demptyv:WM,dfisht:zM,Dfr:$M,dfr:XM,dHar:ZM,dharl:JM,dharr:jM,DiacriticalAcute:eU,DiacriticalDot:tU,DiacriticalDoubleAcute:rU,DiacriticalGrave:nU,DiacriticalTilde:aU,diam:iU,diamond:AU,Diamond:oU,diamondsuit:sU,diams:cU,die:lU,DifferentialD:dU,digamma:uU,disin:_U,div:pU,divide:gU,divideontimes:mU,divonx:EU,DJcy:SU,djcy:fU,dlcorn:CU,dlcrop:bU,dollar:TU,Dopf:hU,dopf:vU,Dot:RU,dot:IU,DotDot:yU,doteq:NU,doteqdot:OU,DotEqual:BU,dotminus:wU,dotplus:DU,dotsquare:LU,doublebarwedge:xU,DoubleContourIntegral:MU,DoubleDot:UU,DoubleDownArrow:FU,DoubleLeftArrow:kU,DoubleLeftRightArrow:PU,DoubleLeftTee:QU,DoubleLongLeftArrow:GU,DoubleLongLeftRightArrow:HU,DoubleLongRightArrow:YU,DoubleRightArrow:VU,DoubleRightTee:KU,DoubleUpArrow:qU,DoubleUpDownArrow:WU,DoubleVerticalBar:zU,DownArrowBar:$U,downarrow:XU,DownArrow:ZU,Downarrow:JU,DownArrowUpArrow:jU,DownBreve:e0,downdownarrows:t0,downharpoonleft:r0,downharpoonright:n0,DownLeftRightVector:a0,DownLeftTeeVector:i0,DownLeftVectorBar:A0,DownLeftVector:o0,DownRightTeeVector:s0,DownRightVectorBar:c0,DownRightVector:l0,DownTeeArrow:d0,DownTee:u0,drbkarow:_0,drcorn:p0,drcrop:g0,Dscr:m0,dscr:E0,DScy:S0,dscy:f0,dsol:C0,Dstrok:b0,dstrok:T0,dtdot:h0,dtri:v0,dtrif:R0,duarr:I0,duhar:y0,dwangle:N0,DZcy:O0,dzcy:B0,dzigrarr:w0,Eacute:D0,eacute:L0,easter:x0,Ecaron:M0,ecaron:U0,Ecirc:F0,ecirc:k0,ecir:P0,ecolon:Q0,Ecy:G0,ecy:H0,eDDot:Y0,Edot:V0,edot:K0,eDot:q0,ee:W0,efDot:z0,Efr:$0,efr:X0,eg:Z0,Egrave:J0,egrave:j0,egs:eF,egsdot:tF,el:rF,Element:nF,elinters:aF,ell:iF,els:AF,elsdot:oF,Emacr:sF,emacr:cF,empty:lF,emptyset:dF,EmptySmallSquare:uF,emptyv:_F,EmptyVerySmallSquare:pF,emsp13:gF,emsp14:mF,emsp:EF,ENG:SF,eng:fF,ensp:CF,Eogon:bF,eogon:TF,Eopf:hF,eopf:vF,epar:RF,eparsl:IF,eplus:yF,epsi:NF,Epsilon:OF,epsilon:BF,epsiv:wF,eqcirc:DF,eqcolon:LF,eqsim:xF,eqslantgtr:MF,eqslantless:UF,Equal:FF,equals:kF,EqualTilde:PF,equest:QF,Equilibrium:GF,equiv:HF,equivDD:YF,eqvparsl:VF,erarr:KF,erDot:qF,escr:WF,Escr:zF,esdot:$F,Esim:XF,esim:ZF,Eta:JF,eta:jF,ETH:ek,eth:tk,Euml:rk,euml:nk,euro:ak,excl:ik,exist:Ak,Exists:ok,expectation:sk,exponentiale:ck,ExponentialE:lk,fallingdotseq:dk,Fcy:uk,fcy:_k,female:pk,ffilig:gk,fflig:mk,ffllig:Ek,Ffr:Sk,ffr:fk,filig:Ck,FilledSmallSquare:bk,FilledVerySmallSquare:Tk,fjlig:hk,flat:vk,fllig:Rk,fltns:Ik,fnof:yk,Fopf:Nk,fopf:Ok,forall:Bk,ForAll:wk,fork:Dk,forkv:Lk,Fouriertrf:xk,fpartint:Mk,frac12:Uk,frac13:Fk,frac14:kk,frac15:Pk,frac16:Qk,frac18:Gk,frac23:Hk,frac25:Yk,frac34:Vk,frac35:Kk,frac38:qk,frac45:Wk,frac56:zk,frac58:$k,frac78:Xk,frasl:Zk,frown:Jk,fscr:jk,Fscr:eP,gacute:tP,Gamma:rP,gamma:nP,Gammad:aP,gammad:iP,gap:AP,Gbreve:oP,gbreve:sP,Gcedil:cP,Gcirc:lP,gcirc:dP,Gcy:uP,gcy:_P,Gdot:pP,gdot:gP,ge:mP,gE:EP,gEl:SP,gel:fP,geq:CP,geqq:bP,geqslant:TP,gescc:hP,ges:vP,gesdot:RP,gesdoto:IP,gesdotol:yP,gesl:NP,gesles:OP,Gfr:BP,gfr:wP,gg:DP,Gg:LP,ggg:xP,gimel:MP,GJcy:UP,gjcy:FP,gla:kP,gl:PP,glE:QP,glj:GP,gnap:HP,gnapprox:YP,gne:VP,gnE:KP,gneq:qP,gneqq:WP,gnsim:zP,Gopf:$P,gopf:XP,grave:ZP,GreaterEqual:JP,GreaterEqualLess:jP,GreaterFullEqual:eQ,GreaterGreater:tQ,GreaterLess:rQ,GreaterSlantEqual:nQ,GreaterTilde:aQ,Gscr:iQ,gscr:AQ,gsim:oQ,gsime:sQ,gsiml:cQ,gtcc:lQ,gtcir:dQ,gt:uQ,GT:_Q,Gt:pQ,gtdot:gQ,gtlPar:mQ,gtquest:EQ,gtrapprox:SQ,gtrarr:fQ,gtrdot:CQ,gtreqless:bQ,gtreqqless:TQ,gtrless:hQ,gtrsim:vQ,gvertneqq:RQ,gvnE:IQ,Hacek:yQ,hairsp:NQ,half:OQ,hamilt:BQ,HARDcy:wQ,hardcy:DQ,harrcir:LQ,harr:xQ,hArr:MQ,harrw:UQ,Hat:FQ,hbar:kQ,Hcirc:PQ,hcirc:QQ,hearts:GQ,heartsuit:HQ,hellip:YQ,hercon:VQ,hfr:KQ,Hfr:qQ,HilbertSpace:WQ,hksearow:zQ,hkswarow:$Q,hoarr:XQ,homtht:ZQ,hookleftarrow:JQ,hookrightarrow:jQ,hopf:e1,Hopf:t1,horbar:r1,HorizontalLine:n1,hscr:a1,Hscr:i1,hslash:A1,Hstrok:o1,hstrok:s1,HumpDownHump:c1,HumpEqual:l1,hybull:d1,hyphen:u1,Iacute:_1,iacute:p1,ic:g1,Icirc:m1,icirc:E1,Icy:S1,icy:f1,Idot:C1,IEcy:b1,iecy:T1,iexcl:h1,iff:v1,ifr:R1,Ifr:I1,Igrave:y1,igrave:N1,ii:O1,iiiint:B1,iiint:w1,iinfin:D1,iiota:L1,IJlig:x1,ijlig:M1,Imacr:U1,imacr:F1,image:k1,ImaginaryI:P1,imagline:Q1,imagpart:G1,imath:H1,Im:Y1,imof:V1,imped:K1,Implies:q1,incare:W1,in:"∈",infin:z1,infintie:$1,inodot:X1,intcal:Z1,int:J1,Int:j1,integers:eG,Integral:tG,intercal:rG,Intersection:nG,intlarhk:aG,intprod:iG,InvisibleComma:AG,InvisibleTimes:oG,IOcy:sG,iocy:cG,Iogon:lG,iogon:dG,Iopf:uG,iopf:_G,Iota:pG,iota:gG,iprod:mG,iquest:EG,iscr:SG,Iscr:fG,isin:CG,isindot:bG,isinE:TG,isins:hG,isinsv:vG,isinv:RG,it:IG,Itilde:yG,itilde:NG,Iukcy:OG,iukcy:BG,Iuml:wG,iuml:DG,Jcirc:LG,jcirc:xG,Jcy:MG,jcy:UG,Jfr:FG,jfr:kG,jmath:PG,Jopf:QG,jopf:GG,Jscr:HG,jscr:YG,Jsercy:VG,jsercy:KG,Jukcy:qG,jukcy:WG,Kappa:zG,kappa:$G,kappav:XG,Kcedil:ZG,kcedil:JG,Kcy:jG,kcy:eH,Kfr:tH,kfr:rH,kgreen:nH,KHcy:aH,khcy:iH,KJcy:AH,kjcy:oH,Kopf:sH,kopf:cH,Kscr:lH,kscr:dH,lAarr:uH,Lacute:_H,lacute:pH,laemptyv:gH,lagran:mH,Lambda:EH,lambda:SH,lang:fH,Lang:CH,langd:bH,langle:TH,lap:hH,Laplacetrf:vH,laquo:RH,larrb:IH,larrbfs:yH,larr:NH,Larr:OH,lArr:BH,larrfs:wH,larrhk:DH,larrlp:LH,larrpl:xH,larrsim:MH,larrtl:UH,latail:FH,lAtail:kH,lat:PH,late:QH,lates:GH,lbarr:HH,lBarr:YH,lbbrk:VH,lbrace:KH,lbrack:qH,lbrke:WH,lbrksld:zH,lbrkslu:$H,Lcaron:XH,lcaron:ZH,Lcedil:JH,lcedil:jH,lceil:e2,lcub:t2,Lcy:r2,lcy:n2,ldca:a2,ldquo:i2,ldquor:A2,ldrdhar:o2,ldrushar:s2,ldsh:c2,le:l2,lE:d2,LeftAngleBracket:u2,LeftArrowBar:_2,leftarrow:p2,LeftArrow:g2,Leftarrow:m2,LeftArrowRightArrow:E2,leftarrowtail:S2,LeftCeiling:f2,LeftDoubleBracket:C2,LeftDownTeeVector:b2,LeftDownVectorBar:T2,LeftDownVector:h2,LeftFloor:v2,leftharpoondown:R2,leftharpoonup:I2,leftleftarrows:y2,leftrightarrow:N2,LeftRightArrow:O2,Leftrightarrow:B2,leftrightarrows:w2,leftrightharpoons:D2,leftrightsquigarrow:L2,LeftRightVector:x2,LeftTeeArrow:M2,LeftTee:U2,LeftTeeVector:F2,leftthreetimes:k2,LeftTriangleBar:P2,LeftTriangle:Q2,LeftTriangleEqual:G2,LeftUpDownVector:H2,LeftUpTeeVector:Y2,LeftUpVectorBar:V2,LeftUpVector:K2,LeftVectorBar:q2,LeftVector:W2,lEg:z2,leg:$2,leq:X2,leqq:Z2,leqslant:J2,lescc:j2,les:eY,lesdot:tY,lesdoto:rY,lesdotor:nY,lesg:aY,lesges:iY,lessapprox:AY,lessdot:oY,lesseqgtr:sY,lesseqqgtr:cY,LessEqualGreater:lY,LessFullEqual:dY,LessGreater:uY,lessgtr:_Y,LessLess:pY,lesssim:gY,LessSlantEqual:mY,LessTilde:EY,lfisht:SY,lfloor:fY,Lfr:CY,lfr:bY,lg:TY,lgE:hY,lHar:vY,lhard:RY,lharu:IY,lharul:yY,lhblk:NY,LJcy:OY,ljcy:BY,llarr:wY,ll:DY,Ll:LY,llcorner:xY,Lleftarrow:MY,llhard:UY,lltri:FY,Lmidot:kY,lmidot:PY,lmoustache:QY,lmoust:GY,lnap:HY,lnapprox:YY,lne:VY,lnE:KY,lneq:qY,lneqq:WY,lnsim:zY,loang:$Y,loarr:XY,lobrk:ZY,longleftarrow:JY,LongLeftArrow:jY,Longleftarrow:eV,longleftrightarrow:tV,LongLeftRightArrow:rV,Longleftrightarrow:nV,longmapsto:aV,longrightarrow:iV,LongRightArrow:AV,Longrightarrow:oV,looparrowleft:sV,looparrowright:cV,lopar:lV,Lopf:dV,lopf:uV,loplus:_V,lotimes:pV,lowast:gV,lowbar:mV,LowerLeftArrow:EV,LowerRightArrow:SV,loz:fV,lozenge:CV,lozf:bV,lpar:TV,lparlt:hV,lrarr:vV,lrcorner:RV,lrhar:IV,lrhard:yV,lrm:NV,lrtri:OV,lsaquo:BV,lscr:wV,Lscr:DV,lsh:LV,Lsh:xV,lsim:MV,lsime:UV,lsimg:FV,lsqb:kV,lsquo:PV,lsquor:QV,Lstrok:GV,lstrok:HV,ltcc:YV,ltcir:VV,lt:KV,LT:qV,Lt:WV,ltdot:zV,lthree:$V,ltimes:XV,ltlarr:ZV,ltquest:JV,ltri:jV,ltrie:eK,ltrif:tK,ltrPar:rK,lurdshar:nK,luruhar:aK,lvertneqq:iK,lvnE:AK,macr:oK,male:sK,malt:cK,maltese:lK,Map:"⤅",map:dK,mapsto:uK,mapstodown:_K,mapstoleft:pK,mapstoup:gK,marker:mK,mcomma:EK,Mcy:SK,mcy:fK,mdash:CK,mDDot:bK,measuredangle:TK,MediumSpace:hK,Mellintrf:vK,Mfr:RK,mfr:IK,mho:yK,micro:NK,midast:OK,midcir:BK,mid:wK,middot:DK,minusb:LK,minus:xK,minusd:MK,minusdu:UK,MinusPlus:FK,mlcp:kK,mldr:PK,mnplus:QK,models:GK,Mopf:HK,mopf:YK,mp:VK,mscr:KK,Mscr:qK,mstpos:WK,Mu:zK,mu:$K,multimap:XK,mumap:ZK,nabla:JK,Nacute:jK,nacute:e4,nang:t4,nap:r4,napE:n4,napid:a4,napos:i4,napprox:A4,natural:o4,naturals:s4,natur:c4,nbsp:l4,nbump:d4,nbumpe:u4,ncap:_4,Ncaron:p4,ncaron:g4,Ncedil:m4,ncedil:E4,ncong:S4,ncongdot:f4,ncup:C4,Ncy:b4,ncy:T4,ndash:h4,nearhk:v4,nearr:R4,neArr:I4,nearrow:y4,ne:N4,nedot:O4,NegativeMediumSpace:B4,NegativeThickSpace:w4,NegativeThinSpace:D4,NegativeVeryThinSpace:L4,nequiv:x4,nesear:M4,nesim:U4,NestedGreaterGreater:F4,NestedLessLess:k4,NewLine:P4,nexist:Q4,nexists:G4,Nfr:H4,nfr:Y4,ngE:V4,nge:K4,ngeq:q4,ngeqq:W4,ngeqslant:z4,nges:$4,nGg:X4,ngsim:Z4,nGt:J4,ngt:j4,ngtr:eq,nGtv:tq,nharr:rq,nhArr:nq,nhpar:aq,ni:iq,nis:Aq,nisd:oq,niv:sq,NJcy:cq,njcy:lq,nlarr:dq,nlArr:uq,nldr:_q,nlE:pq,nle:gq,nleftarrow:mq,nLeftarrow:Eq,nleftrightarrow:Sq,nLeftrightarrow:fq,nleq:Cq,nleqq:bq,nleqslant:Tq,nles:hq,nless:vq,nLl:Rq,nlsim:Iq,nLt:yq,nlt:Nq,nltri:Oq,nltrie:Bq,nLtv:wq,nmid:Dq,NoBreak:Lq,NonBreakingSpace:xq,nopf:Mq,Nopf:Uq,Not:Fq,not:kq,NotCongruent:Pq,NotCupCap:Qq,NotDoubleVerticalBar:Gq,NotElement:Hq,NotEqual:Yq,NotEqualTilde:Vq,NotExists:Kq,NotGreater:qq,NotGreaterEqual:Wq,NotGreaterFullEqual:zq,NotGreaterGreater:$q,NotGreaterLess:Xq,NotGreaterSlantEqual:Zq,NotGreaterTilde:Jq,NotHumpDownHump:jq,NotHumpEqual:eW,notin:tW,notindot:rW,notinE:nW,notinva:aW,notinvb:iW,notinvc:AW,NotLeftTriangleBar:oW,NotLeftTriangle:sW,NotLeftTriangleEqual:cW,NotLess:lW,NotLessEqual:dW,NotLessGreater:uW,NotLessLess:_W,NotLessSlantEqual:pW,NotLessTilde:gW,NotNestedGreaterGreater:mW,NotNestedLessLess:EW,notni:SW,notniva:fW,notnivb:CW,notnivc:bW,NotPrecedes:TW,NotPrecedesEqual:hW,NotPrecedesSlantEqual:vW,NotReverseElement:RW,NotRightTriangleBar:IW,NotRightTriangle:yW,NotRightTriangleEqual:NW,NotSquareSubset:OW,NotSquareSubsetEqual:BW,NotSquareSuperset:wW,NotSquareSupersetEqual:DW,NotSubset:LW,NotSubsetEqual:xW,NotSucceeds:MW,NotSucceedsEqual:UW,NotSucceedsSlantEqual:FW,NotSucceedsTilde:kW,NotSuperset:PW,NotSupersetEqual:QW,NotTilde:GW,NotTildeEqual:HW,NotTildeFullEqual:YW,NotTildeTilde:VW,NotVerticalBar:KW,nparallel:qW,npar:WW,nparsl:zW,npart:$W,npolint:XW,npr:ZW,nprcue:JW,nprec:jW,npreceq:ez,npre:tz,nrarrc:rz,nrarr:nz,nrArr:az,nrarrw:iz,nrightarrow:Az,nRightarrow:oz,nrtri:sz,nrtrie:cz,nsc:lz,nsccue:dz,nsce:uz,Nscr:_z,nscr:pz,nshortmid:gz,nshortparallel:mz,nsim:Ez,nsime:Sz,nsimeq:fz,nsmid:Cz,nspar:bz,nsqsube:Tz,nsqsupe:hz,nsub:vz,nsubE:Rz,nsube:Iz,nsubset:yz,nsubseteq:Nz,nsubseteqq:Oz,nsucc:Bz,nsucceq:wz,nsup:Dz,nsupE:Lz,nsupe:xz,nsupset:Mz,nsupseteq:Uz,nsupseteqq:Fz,ntgl:kz,Ntilde:Pz,ntilde:Qz,ntlg:Gz,ntriangleleft:Hz,ntrianglelefteq:Yz,ntriangleright:Vz,ntrianglerighteq:Kz,Nu:qz,nu:Wz,num:zz,numero:$z,numsp:Xz,nvap:Zz,nvdash:Jz,nvDash:jz,nVdash:e3,nVDash:t3,nvge:r3,nvgt:n3,nvHarr:a3,nvinfin:i3,nvlArr:A3,nvle:o3,nvlt:s3,nvltrie:c3,nvrArr:l3,nvrtrie:d3,nvsim:u3,nwarhk:_3,nwarr:p3,nwArr:g3,nwarrow:m3,nwnear:E3,Oacute:S3,oacute:f3,oast:C3,Ocirc:b3,ocirc:T3,ocir:h3,Ocy:v3,ocy:R3,odash:I3,Odblac:y3,odblac:N3,odiv:O3,odot:B3,odsold:w3,OElig:D3,oelig:L3,ofcir:x3,Ofr:M3,ofr:U3,ogon:F3,Ograve:k3,ograve:P3,ogt:Q3,ohbar:G3,ohm:H3,oint:Y3,olarr:V3,olcir:K3,olcross:q3,oline:W3,olt:z3,Omacr:$3,omacr:X3,Omega:Z3,omega:J3,Omicron:j3,omicron:e$,omid:t$,ominus:r$,Oopf:n$,oopf:a$,opar:i$,OpenCurlyDoubleQuote:A$,OpenCurlyQuote:o$,operp:s$,oplus:c$,orarr:l$,Or:d$,or:u$,ord:_$,order:p$,orderof:g$,ordf:m$,ordm:E$,origof:S$,oror:f$,orslope:C$,orv:b$,oS:T$,Oscr:h$,oscr:v$,Oslash:R$,oslash:I$,osol:y$,Otilde:N$,otilde:O$,otimesas:B$,Otimes:w$,otimes:D$,Ouml:L$,ouml:x$,ovbar:M$,OverBar:U$,OverBrace:F$,OverBracket:k$,OverParenthesis:P$,para:Q$,parallel:G$,par:H$,parsim:Y$,parsl:V$,part:K$,PartialD:q$,Pcy:W$,pcy:z$,percnt:$$,period:X$,permil:Z$,perp:J$,pertenk:j$,Pfr:e9,pfr:t9,Phi:r9,phi:n9,phiv:a9,phmmat:i9,phone:A9,Pi:o9,pi:s9,pitchfork:c9,piv:l9,planck:d9,planckh:u9,plankv:_9,plusacir:p9,plusb:g9,pluscir:m9,plus:E9,plusdo:S9,plusdu:f9,pluse:C9,PlusMinus:b9,plusmn:T9,plussim:h9,plustwo:v9,pm:R9,Poincareplane:I9,pointint:y9,popf:N9,Popf:O9,pound:B9,prap:w9,Pr:D9,pr:L9,prcue:x9,precapprox:M9,prec:U9,preccurlyeq:F9,Precedes:k9,PrecedesEqual:P9,PrecedesSlantEqual:Q9,PrecedesTilde:G9,preceq:H9,precnapprox:Y9,precneqq:V9,precnsim:K9,pre:q9,prE:W9,precsim:z9,prime:$9,Prime:X9,primes:Z9,prnap:J9,prnE:j9,prnsim:e8,prod:t8,Product:r8,profalar:n8,profline:a8,profsurf:i8,prop:A8,Proportional:o8,Proportion:s8,propto:c8,prsim:l8,prurel:d8,Pscr:u8,pscr:_8,Psi:p8,psi:g8,puncsp:m8,Qfr:E8,qfr:S8,qint:f8,qopf:C8,Qopf:b8,qprime:T8,Qscr:h8,qscr:v8,quaternions:R8,quatint:I8,quest:y8,questeq:N8,quot:O8,QUOT:B8,rAarr:w8,race:D8,Racute:L8,racute:x8,radic:M8,raemptyv:U8,rang:F8,Rang:k8,rangd:P8,range:Q8,rangle:G8,raquo:H8,rarrap:Y8,rarrb:V8,rarrbfs:K8,rarrc:q8,rarr:W8,Rarr:z8,rArr:$8,rarrfs:X8,rarrhk:Z8,rarrlp:J8,rarrpl:j8,rarrsim:e5,Rarrtl:t5,rarrtl:r5,rarrw:n5,ratail:a5,rAtail:i5,ratio:A5,rationals:o5,rbarr:s5,rBarr:c5,RBarr:l5,rbbrk:d5,rbrace:u5,rbrack:_5,rbrke:p5,rbrksld:g5,rbrkslu:m5,Rcaron:E5,rcaron:S5,Rcedil:f5,rcedil:C5,rceil:b5,rcub:T5,Rcy:h5,rcy:v5,rdca:R5,rdldhar:I5,rdquo:y5,rdquor:N5,rdsh:O5,real:B5,realine:w5,realpart:D5,reals:L5,Re:x5,rect:M5,reg:U5,REG:F5,ReverseElement:k5,ReverseEquilibrium:P5,ReverseUpEquilibrium:Q5,rfisht:G5,rfloor:H5,rfr:Y5,Rfr:V5,rHar:K5,rhard:q5,rharu:W5,rharul:z5,Rho:$5,rho:X5,rhov:Z5,RightAngleBracket:J5,RightArrowBar:j5,rightarrow:eX,RightArrow:tX,Rightarrow:rX,RightArrowLeftArrow:nX,rightarrowtail:aX,RightCeiling:iX,RightDoubleBracket:AX,RightDownTeeVector:oX,RightDownVectorBar:sX,RightDownVector:cX,RightFloor:lX,rightharpoondown:dX,rightharpoonup:uX,rightleftarrows:_X,rightleftharpoons:pX,rightrightarrows:gX,rightsquigarrow:mX,RightTeeArrow:EX,RightTee:SX,RightTeeVector:fX,rightthreetimes:CX,RightTriangleBar:bX,RightTriangle:TX,RightTriangleEqual:hX,RightUpDownVector:vX,RightUpTeeVector:RX,RightUpVectorBar:IX,RightUpVector:yX,RightVectorBar:NX,RightVector:OX,ring:BX,risingdotseq:wX,rlarr:DX,rlhar:LX,rlm:xX,rmoustache:MX,rmoust:UX,rnmid:FX,roang:kX,roarr:PX,robrk:QX,ropar:GX,ropf:HX,Ropf:YX,roplus:VX,rotimes:KX,RoundImplies:qX,rpar:WX,rpargt:zX,rppolint:$X,rrarr:XX,Rrightarrow:ZX,rsaquo:JX,rscr:jX,Rscr:eZ,rsh:tZ,Rsh:rZ,rsqb:nZ,rsquo:aZ,rsquor:iZ,rthree:AZ,rtimes:oZ,rtri:sZ,rtrie:cZ,rtrif:lZ,rtriltri:dZ,RuleDelayed:uZ,ruluhar:_Z,rx:pZ,Sacute:gZ,sacute:mZ,sbquo:EZ,scap:SZ,Scaron:fZ,scaron:CZ,Sc:bZ,sc:TZ,sccue:hZ,sce:vZ,scE:RZ,Scedil:IZ,scedil:yZ,Scirc:NZ,scirc:OZ,scnap:BZ,scnE:wZ,scnsim:DZ,scpolint:LZ,scsim:xZ,Scy:MZ,scy:UZ,sdotb:FZ,sdot:kZ,sdote:PZ,searhk:QZ,searr:GZ,seArr:HZ,searrow:YZ,sect:VZ,semi:KZ,seswar:qZ,setminus:WZ,setmn:zZ,sext:$Z,Sfr:XZ,sfr:ZZ,sfrown:JZ,sharp:jZ,SHCHcy:e6,shchcy:t6,SHcy:r6,shcy:n6,ShortDownArrow:a6,ShortLeftArrow:i6,shortmid:A6,shortparallel:o6,ShortRightArrow:s6,ShortUpArrow:c6,shy:l6,Sigma:d6,sigma:u6,sigmaf:_6,sigmav:p6,sim:g6,simdot:m6,sime:E6,simeq:S6,simg:f6,simgE:C6,siml:b6,simlE:T6,simne:h6,simplus:v6,simrarr:R6,slarr:I6,SmallCircle:y6,smallsetminus:N6,smashp:O6,smeparsl:B6,smid:w6,smile:D6,smt:L6,smte:x6,smtes:M6,SOFTcy:U6,softcy:F6,solbar:k6,solb:P6,sol:Q6,Sopf:G6,sopf:H6,spades:Y6,spadesuit:V6,spar:K6,sqcap:q6,sqcaps:W6,sqcup:z6,sqcups:$6,Sqrt:X6,sqsub:Z6,sqsube:J6,sqsubset:j6,sqsubseteq:eJ,sqsup:tJ,sqsupe:rJ,sqsupset:nJ,sqsupseteq:aJ,square:iJ,Square:AJ,SquareIntersection:oJ,SquareSubset:sJ,SquareSubsetEqual:cJ,SquareSuperset:lJ,SquareSupersetEqual:dJ,SquareUnion:uJ,squarf:_J,squ:pJ,squf:gJ,srarr:mJ,Sscr:EJ,sscr:SJ,ssetmn:fJ,ssmile:CJ,sstarf:bJ,Star:TJ,star:hJ,starf:vJ,straightepsilon:RJ,straightphi:IJ,strns:yJ,sub:NJ,Sub:OJ,subdot:BJ,subE:wJ,sube:DJ,subedot:LJ,submult:xJ,subnE:MJ,subne:UJ,subplus:FJ,subrarr:kJ,subset:PJ,Subset:QJ,subseteq:GJ,subseteqq:HJ,SubsetEqual:YJ,subsetneq:VJ,subsetneqq:KJ,subsim:qJ,subsub:WJ,subsup:zJ,succapprox:$J,succ:XJ,succcurlyeq:ZJ,Succeeds:JJ,SucceedsEqual:jJ,SucceedsSlantEqual:e7,SucceedsTilde:t7,succeq:r7,succnapprox:n7,succneqq:a7,succnsim:i7,succsim:A7,SuchThat:o7,sum:s7,Sum:c7,sung:l7,sup1:d7,sup2:u7,sup3:_7,sup:p7,Sup:g7,supdot:m7,supdsub:E7,supE:S7,supe:f7,supedot:C7,Superset:b7,SupersetEqual:T7,suphsol:h7,suphsub:v7,suplarr:R7,supmult:I7,supnE:y7,supne:N7,supplus:O7,supset:B7,Supset:w7,supseteq:D7,supseteqq:L7,supsetneq:x7,supsetneqq:M7,supsim:U7,supsub:F7,supsup:k7,swarhk:P7,swarr:Q7,swArr:G7,swarrow:H7,swnwar:Y7,szlig:V7,Tab:K7,target:q7,Tau:W7,tau:z7,tbrk:$7,Tcaron:X7,tcaron:Z7,Tcedil:J7,tcedil:j7,Tcy:ej,tcy:tj,tdot:rj,telrec:nj,Tfr:aj,tfr:ij,there4:Aj,therefore:oj,Therefore:sj,Theta:cj,theta:lj,thetasym:dj,thetav:uj,thickapprox:_j,thicksim:pj,ThickSpace:gj,ThinSpace:mj,thinsp:Ej,thkap:Sj,thksim:fj,THORN:Cj,thorn:bj,tilde:Tj,Tilde:hj,TildeEqual:vj,TildeFullEqual:Rj,TildeTilde:Ij,timesbar:yj,timesb:Nj,times:Oj,timesd:Bj,tint:wj,toea:Dj,topbot:Lj,topcir:xj,top:Mj,Topf:Uj,topf:Fj,topfork:kj,tosa:Pj,tprime:Qj,trade:Gj,TRADE:Hj,triangle:Yj,triangledown:Vj,triangleleft:Kj,trianglelefteq:qj,triangleq:Wj,triangleright:zj,trianglerighteq:$j,tridot:Xj,trie:Zj,triminus:Jj,TripleDot:jj,triplus:eee,trisb:tee,tritime:ree,trpezium:nee,Tscr:aee,tscr:iee,TScy:Aee,tscy:oee,TSHcy:see,tshcy:cee,Tstrok:lee,tstrok:dee,twixt:uee,twoheadleftarrow:_ee,twoheadrightarrow:pee,Uacute:gee,uacute:mee,uarr:Eee,Uarr:See,uArr:fee,Uarrocir:Cee,Ubrcy:bee,ubrcy:Tee,Ubreve:hee,ubreve:vee,Ucirc:Ree,ucirc:Iee,Ucy:yee,ucy:Nee,udarr:Oee,Udblac:Bee,udblac:wee,udhar:Dee,ufisht:Lee,Ufr:xee,ufr:Mee,Ugrave:Uee,ugrave:Fee,uHar:kee,uharl:Pee,uharr:Qee,uhblk:Gee,ulcorn:Hee,ulcorner:Yee,ulcrop:Vee,ultri:Kee,Umacr:qee,umacr:Wee,uml:zee,UnderBar:$ee,UnderBrace:Xee,UnderBracket:Zee,UnderParenthesis:Jee,Union:jee,UnionPlus:ete,Uogon:tte,uogon:rte,Uopf:nte,uopf:ate,UpArrowBar:ite,uparrow:Ate,UpArrow:ote,Uparrow:ste,UpArrowDownArrow:cte,updownarrow:lte,UpDownArrow:dte,Updownarrow:ute,UpEquilibrium:_te,upharpoonleft:pte,upharpoonright:gte,uplus:mte,UpperLeftArrow:Ete,UpperRightArrow:Ste,upsi:fte,Upsi:Cte,upsih:bte,Upsilon:Tte,upsilon:hte,UpTeeArrow:vte,UpTee:Rte,upuparrows:Ite,urcorn:yte,urcorner:Nte,urcrop:Ote,Uring:Bte,uring:wte,urtri:Dte,Uscr:Lte,uscr:xte,utdot:Mte,Utilde:Ute,utilde:Fte,utri:kte,utrif:Pte,uuarr:Qte,Uuml:Gte,uuml:Hte,uwangle:Yte,vangrt:Vte,varepsilon:Kte,varkappa:qte,varnothing:Wte,varphi:zte,varpi:$te,varpropto:Xte,varr:Zte,vArr:Jte,varrho:jte,varsigma:ere,varsubsetneq:tre,varsubsetneqq:rre,varsupsetneq:nre,varsupsetneqq:are,vartheta:ire,vartriangleleft:Are,vartriangleright:ore,vBar:sre,Vbar:cre,vBarv:lre,Vcy:dre,vcy:ure,vdash:_re,vDash:pre,Vdash:gre,VDash:mre,Vdashl:Ere,veebar:Sre,vee:fre,Vee:Cre,veeeq:bre,vellip:Tre,verbar:hre,Verbar:vre,vert:Rre,Vert:Ire,VerticalBar:yre,VerticalLine:Nre,VerticalSeparator:Ore,VerticalTilde:Bre,VeryThinSpace:wre,Vfr:Dre,vfr:Lre,vltri:xre,vnsub:Mre,vnsup:Ure,Vopf:Fre,vopf:kre,vprop:Pre,vrtri:Qre,Vscr:Gre,vscr:Hre,vsubnE:Yre,vsubne:Vre,vsupnE:Kre,vsupne:qre,Vvdash:Wre,vzigzag:zre,Wcirc:$re,wcirc:Xre,wedbar:Zre,wedge:Jre,Wedge:jre,wedgeq:ene,weierp:tne,Wfr:rne,wfr:nne,Wopf:ane,wopf:ine,wp:Ane,wr:one,wreath:sne,Wscr:cne,wscr:lne,xcap:dne,xcirc:une,xcup:_ne,xdtri:pne,Xfr:gne,xfr:mne,xharr:Ene,xhArr:Sne,Xi:fne,xi:Cne,xlarr:bne,xlArr:Tne,xmap:hne,xnis:vne,xodot:Rne,Xopf:Ine,xopf:yne,xoplus:Nne,xotime:One,xrarr:Bne,xrArr:wne,Xscr:Dne,xscr:Lne,xsqcup:xne,xuplus:Mne,xutri:Une,xvee:Fne,xwedge:kne,Yacute:Pne,yacute:Qne,YAcy:Gne,yacy:Hne,Ycirc:Yne,ycirc:Vne,Ycy:Kne,ycy:qne,yen:Wne,Yfr:zne,yfr:$ne,YIcy:Xne,yicy:Zne,Yopf:Jne,yopf:jne,Yscr:eae,yscr:tae,YUcy:rae,yucy:nae,yuml:aae,Yuml:iae,Zacute:Aae,zacute:oae,Zcaron:sae,zcaron:cae,Zcy:lae,zcy:dae,Zdot:uae,zdot:_ae,zeetrf:pae,ZeroWidthSpace:gae,Zeta:mae,zeta:Eae,zfr:Sae,Zfr:fae,ZHcy:Cae,zhcy:bae,zigrarr:Tae,zopf:hae,Zopf:vae,Zscr:Rae,zscr:Iae,zwj:yae,zwnj:Nae};var xE=Oae,bl=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,kr={},Ig={};function Bae(t){var e,r,n=Ig[t];if(n)return n;for(n=Ig[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(r=!0),o=Bae(e),n=0,a=t.length;n=55296&&i<=57343){if(i>=55296&&i<=56319&&n+1=56320&&A<=57343)){s+=encodeURIComponent(t[n]+t[n+1]),n++;continue}s+="%EF%BF%BD";continue}s+=encodeURIComponent(t[n])}return s}Ya.defaultChars=";/?:@&=+$,-_.!~*'()#";Ya.componentChars="-_.!~*'()";var wae=Ya,yg={};function Dae(t){var e,r,n=yg[t];if(n)return n;for(n=yg[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),n.push(r);for(e=0;e=55296&&l<=57343?d+="���":d+=String.fromCharCode(l),a+=6;continue}if((A&248)===240&&a+91114111?d+="����":(l-=65536,d+=String.fromCharCode(55296+(l>>10),56320+(l&1023))),a+=9;continue}d+="�"}return d})}Va.defaultChars=";/?:@&=+$,#";Va.componentChars="";var Lae=Va,xae=function(e){var r="";return r+=e.protocol||"",r+=e.slashes?"//":"",r+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?r+="["+e.hostname+"]":r+=e.hostname||"",r+=e.port?":"+e.port:"",r+=e.pathname||"",r+=e.search||"",r+=e.hash||"",r};function Ra(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Mae=/^([a-z0-9.+-]+:)/i,Uae=/:[0-9]*$/,Fae=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,kae=["<",">",'"',"`"," ","\r",` -`," "],Pae=["{","}","|","\\","^","`"].concat(kae),Qae=["'"].concat(Pae),Ng=["%","/","?",";","#"].concat(Qae),Og=["/","?","#"],Gae=255,Bg=/^[+a-z0-9A-Z_-]{0,63}$/,Hae=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,wg={javascript:!0,"javascript:":!0},Dg={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Yae(t,e){if(t&&t instanceof Ra)return t;var r=new Ra;return r.parse(t,e),r}Ra.prototype.parse=function(t,e){var r,n,a,i,A,o=t;if(o=o.trim(),!e&&t.split("#").length===1){var s=Fae.exec(o);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}var c=Mae.exec(o);if(c&&(c=c[0],a=c.toLowerCase(),this.protocol=c,o=o.substr(c.length)),(e||c||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(A=o.substr(0,2)==="//",A&&!(c&&wg[c])&&(o=o.substr(2),this.slashes=!0)),!wg[c]&&(A||c&&!Dg[c])){var l=-1;for(r=0;r127?E+="x":E+=S[f];if(!E.match(Bg)){var h=g.slice(0,r),I=g.slice(r+1),m=S.match(Hae);m&&(h.push(m[1]),I.unshift(m[2])),I.length&&(o=I.join(".")+o),this.hostname=h.join(".");break}}}}this.hostname.length>Gae&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var C=o.indexOf("#");C!==-1&&(this.hash=o.substr(C),o=o.slice(0,C));var T=o.indexOf("?");return T!==-1&&(this.search=o.substr(T),o=o.slice(0,T)),o&&(this.pathname=o),Dg[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ra.prototype.parseHost=function(t){var e=Uae.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var Vae=Yae;kr.encode=wae;kr.decode=Lae;kr.format=xae;kr.parse=Vae;var cr={},fc,Lg;function ME(){return Lg||(Lg=1,fc=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),fc}var Cc,xg;function UE(){return xg||(xg=1,Cc=/[\0-\x1F\x7F-\x9F]/),Cc}var bc,Mg;function Kae(){return Mg||(Mg=1,bc=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),bc}var Tc,Ug;function FE(){return Ug||(Ug=1,Tc=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Tc}var Fg;function qae(){return Fg||(Fg=1,cr.Any=ME(),cr.Cc=UE(),cr.Cf=Kae(),cr.P=bl,cr.Z=FE()),cr}(function(t){function e(B){return Object.prototype.toString.call(B)}function r(B){return e(B)==="[object String]"}var n=Object.prototype.hasOwnProperty;function a(B,k){return n.call(B,k)}function i(B){var k=Array.prototype.slice.call(arguments,1);return k.forEach(function(x){if(x){if(typeof x!="object")throw new TypeError(x+"must be object");Object.keys(x).forEach(function(N){B[N]=x[N]})}}),B}function A(B,k,x){return[].concat(B.slice(0,k),x,B.slice(k+1))}function o(B){return!(B>=55296&&B<=57343||B>=64976&&B<=65007||(B&65535)===65535||(B&65535)===65534||B>=0&&B<=8||B===11||B>=14&&B<=31||B>=127&&B<=159||B>1114111)}function s(B){if(B>65535){B-=65536;var k=55296+(B>>10),x=56320+(B&1023);return String.fromCharCode(k,x)}return String.fromCharCode(B)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+l.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,_=xE;function p(B,k){var x;return a(_,k)?_[k]:k.charCodeAt(0)===35&&u.test(k)&&(x=k[1].toLowerCase()==="x"?parseInt(k.slice(2),16):parseInt(k.slice(1),10),o(x))?s(x):B}function g(B){return B.indexOf("\\")<0?B:B.replace(c,"$1")}function S(B){return B.indexOf("\\")<0&&B.indexOf("&")<0?B:B.replace(d,function(k,x,N){return x||p(k,N)})}var E=/[&<>"]/,f=/[&<>"]/g,R={"&":"&","<":"<",">":">",'"':"""};function h(B){return R[B]}function I(B){return E.test(B)?B.replace(f,h):B}var m=/[.?*+^$[\]\\(){}|-]/g;function C(B){return B.replace(m,"\\$&")}function T(B){switch(B){case 9:case 32:return!0}return!1}function v(B){if(B>=8192&&B<=8202)return!0;switch(B){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var L=bl;function O(B){return L.test(B)}function G(B){switch(B){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function H(B){return B=B.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(B=B.replace(/ẞ/g,"ß")),B.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=kr,t.lib.ucmicro=qae(),t.assign=i,t.isString=r,t.has=a,t.unescapeMd=g,t.unescapeAll=S,t.isValidEntityCode=o,t.fromCodePoint=s,t.escapeHtml=I,t.arrayReplaceAt=A,t.isSpace=T,t.isWhiteSpace=v,t.isMdAsciiPunct=G,t.isPunctChar=O,t.escapeRE=C,t.normalizeReference=H})(Ce);var Ka={},Wae=function(e,r,n){var a,i,A,o,s=-1,c=e.posMax,l=e.pos;for(e.pos=r+1,a=1;e.pos32))return o;if(a===41){if(i===0)break;i--}A++}return r===A||i!==0||(o.str=kg(e.slice(r,A)),o.pos=A,o.ok=!0),o},$ae=Ce.unescapeAll,Xae=function(e,r,n){var a,i,A=0,o=r,s={ok:!1,pos:0,lines:0,str:""};if(o>=n||(i=e.charCodeAt(o),i!==34&&i!==39&&i!==40))return s;for(o++,i===40&&(i=41);o"+Er(i.content)+""};Dt.code_block=function(t,e,r,n,a){var i=t[e];return""+Er(t[e].content)+` -`};Dt.fence=function(t,e,r,n,a){var i=t[e],A=i.info?Jae(i.info).trim():"",o="",s="",c,l,d,u,_;return A&&(d=A.split(/(\s+)/g),o=d[0],s=d.slice(2).join("")),r.highlight?c=r.highlight(i.content,o,s)||Er(i.content):c=Er(i.content),c.indexOf(""+c+` -`):"
    "+c+`
    -`};Dt.image=function(t,e,r,n,a){var i=t[e];return i.attrs[i.attrIndex("alt")][1]=a.renderInlineAsText(i.children,r,n),a.renderToken(t,e,r)};Dt.hardbreak=function(t,e,r){return r.xhtmlOut?`
    -`:`
    -`};Dt.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?`
    -`:`
    -`:` -`};Dt.text=function(t,e){return Er(t[e].content)};Dt.html_block=function(t,e){return t[e].content};Dt.html_inline=function(t,e){return t[e].content};function Pr(){this.rules=Zae({},Dt)}Pr.prototype.renderAttrs=function(e){var r,n,a;if(!e.attrs)return"";for(a="",r=0,n=e.attrs.length;r -`:">",i)};Pr.prototype.renderInline=function(t,e,r){for(var n,a="",i=this.rules,A=0,o=t.length;A\s]/i.test(t)}function oie(t){return/^<\/a\s*>/i.test(t)}var sie=function(e){var r,n,a,i,A,o,s,c,l,d,u,_,p,g,S,E,f=e.tokens,R;if(e.md.options.linkify){for(n=0,a=f.length;n=0;r--){if(o=i[r],o.type==="link_close"){for(r--;i[r].level!==o.level&&i[r].type!=="link_open";)r--;continue}if(o.type==="html_inline"&&(Aie(o.content)&&p>0&&p--,oie(o.content)&&p++),!(p>0)&&o.type==="text"&&e.md.linkify.test(o.content)){for(l=o.content,R=e.md.linkify.match(l),s=[],_=o.level,u=0,R.length>0&&R[0].index===0&&r>0&&i[r-1].type==="text_special"&&(R=R.slice(1)),c=0;cu&&(A=new e.Token("text","",0),A.content=l.slice(u,d),A.level=_,s.push(A)),A=new e.Token("link_open","a",1),A.attrs=[["href",S]],A.level=_++,A.markup="linkify",A.info="auto",s.push(A),A=new e.Token("text","",0),A.content=E,A.level=_,s.push(A),A=new e.Token("link_close","a",-1),A.level=--_,A.markup="linkify",A.info="auto",s.push(A),u=R[c].lastIndex);u=0;e--)r=t[e],r.type==="text"&&!n&&(r.content=r.content.replace(lie,uie)),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}function pie(t){var e,r,n=0;for(e=t.length-1;e>=0;e--)r=t[e],r.type==="text"&&!n&&kE.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}var gie=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type==="inline"&&(cie.test(e.tokens[r].content)&&_ie(e.tokens[r].children),kE.test(e.tokens[r].content)&&pie(e.tokens[r].children))},Pg=Ce.isWhiteSpace,Qg=Ce.isPunctChar,Gg=Ce.isMdAsciiPunct,mie=/['"]/,Hg=/['"]/g,Yg="’";function na(t,e,r){return t.slice(0,e)+r+t.slice(e+1)}function Eie(t,e){var r,n,a,i,A,o,s,c,l,d,u,_,p,g,S,E,f,R,h,I,m;for(h=[],r=0;r=0&&!(h[f].level<=s);f--);if(h.length=f+1,n.type==="text"){a=n.content,A=0,o=a.length;e:for(;A=0)l=a.charCodeAt(i.index-1);else for(f=r-1;f>=0&&!(t[f].type==="softbreak"||t[f].type==="hardbreak");f--)if(t[f].content){l=t[f].content.charCodeAt(t[f].content.length-1);break}if(d=32,A=48&&l<=57&&(E=S=!1),S&&E&&(S=u,E=_),!S&&!E){R&&(n.content=na(n.content,i.index,Yg));continue}if(E){for(f=h.length-1;f>=0&&(c=h[f],!(h[f].level=0;r--)e.tokens[r].type!=="inline"||!mie.test(e.tokens[r].content)||Eie(e.tokens[r].children,e)},fie=function(e){var r,n,a,i,A,o,s=e.tokens;for(r=0,n=s.length;r=0&&(n=this.attrs[r][1]),n};Qr.prototype.attrJoin=function(e,r){var n=this.attrIndex(e);n<0?this.attrPush([e,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};var hl=Qr,Cie=hl;function PE(t,e,r){this.src=t,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=e}PE.prototype.Token=Cie;var bie=PE,Tie=Tl,hc=[["normalize",rie],["block",nie],["inline",aie],["linkify",sie],["replacements",gie],["smartquotes",Sie],["text_join",fie]];function vl(){this.ruler=new Tie;for(var t=0;tn||(l=r+1,e.sCount[l]=4||(o=e.bMarks[l]+e.tShift[l],o>=e.eMarks[l])||(I=e.src.charCodeAt(o++),I!==124&&I!==45&&I!==58)||o>=e.eMarks[l]||(m=e.src.charCodeAt(o++),m!==124&&m!==45&&m!==58&&!vc(m))||I===45&&vc(m))return!1;for(;o=4||(d=Vg(A),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u=d.length,u===0||u!==p.length))return!1;if(a)return!0;for(f=e.parentType,e.parentType="table",h=e.md.block.ruler.getRules("blockquote"),_=e.push("table_open","table",1),_.map=S=[r,0],_=e.push("thead_open","thead",1),_.map=[r,r+1],_=e.push("tr_open","tr",1),_.map=[r,r+1],s=0;s=4)break;for(d=Vg(A),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),l===r+2&&(_=e.push("tbody_open","tbody",1),_.map=E=[r+2,0]),_=e.push("tr_open","tr",1),_.map=[l,l+1],s=0;s=4){a++,i=a;continue}break}return e.line=i,A=e.push("code_block","code",0),A.content=e.getLines(r,i,4+e.blkIndent,!1)+` -`,A.map=[r,e.line],!0},Iie=function(e,r,n,a){var i,A,o,s,c,l,d,u=!1,_=e.bMarks[r]+e.tShift[r],p=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||_+3>p||(i=e.src.charCodeAt(_),i!==126&&i!==96)||(c=_,_=e.skipChars(_,i),A=_-c,A<3)||(d=e.src.slice(c,_),o=e.src.slice(_,p),i===96&&o.indexOf(String.fromCharCode(i))>=0))return!1;if(a)return!0;for(s=r;s++,!(s>=n||(_=c=e.bMarks[s]+e.tShift[s],p=e.eMarks[s],_=4)&&(_=e.skipChars(_,i),!(_-c=4||e.src.charCodeAt(L)!==62)return!1;if(a)return!0;for(p=[],g=[],f=[],R=[],m=e.md.block.ruler.getRules("blockquote"),E=e.parentType,e.parentType="blockquote",u=r;u=O));u++){if(e.src.charCodeAt(L++)===62&&!T){for(s=e.sCount[u]+1,e.src.charCodeAt(L)===32?(L++,s++,i=!1,h=!0):e.src.charCodeAt(L)===9?(h=!0,(e.bsCount[u]+s)%4===3?(L++,s++,i=!1):i=!0):h=!1,_=s,p.push(e.bMarks[u]),e.bMarks[u]=L;L=O,g.push(e.bsCount[u]),e.bsCount[u]=e.sCount[u]+1+(h?1:0),f.push(e.sCount[u]),e.sCount[u]=_-s,R.push(e.tShift[u]),e.tShift[u]=L-e.bMarks[u];continue}if(l)break;for(I=!1,o=0,c=m.length;o",C.map=d=[r,0],e.md.block.tokenize(e,r,u),C=e.push("blockquote_close","blockquote",-1),C.markup=">",e.lineMax=v,e.parentType=E,d[1]=e.line,o=0;o=4||(i=e.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(A=1;c=i||(r=t.src.charCodeAt(a++),r<48||r>57))return-1;for(;;){if(a>=i)return-1;if(r=t.src.charCodeAt(a++),r>=48&&r<=57){if(a-n>=10)return-1;continue}if(r===41||r===46)break;return-1}return a=4||e.listIndent>=0&&e.sCount[x]-e.listIndent>=4&&e.sCount[x]=e.blkIndent&&(N=!0),(L=qg(e,x))>=0){if(d=!0,G=e.bMarks[x]+e.tShift[x],E=Number(e.src.slice(G,L-1)),N&&E!==1)return!1}else if((L=Kg(e,x))>=0)d=!1;else return!1;if(N&&e.skipSpaces(L)>=e.eMarks[x])return!1;if(a)return!0;for(S=e.src.charCodeAt(L-1),g=e.tokens.length,d?(k=e.push("ordered_list_open","ol",1),E!==1&&(k.attrs=[["start",E]])):k=e.push("bullet_list_open","ul",1),k.map=p=[x,0],k.markup=String.fromCharCode(S),O=!1,B=e.md.block.ruler.getRules("list"),I=e.parentType,e.parentType="list";x=f?c=1:c=R-l,c>4&&(c=1),s=l+c,k=e.push("list_item_open","li",1),k.markup=String.fromCharCode(S),k.map=u=[x,0],d&&(k.info=e.src.slice(G,L-1)),T=e.tight,C=e.tShift[x],m=e.sCount[x],h=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=s,e.tight=!0,e.tShift[x]=A-e.bMarks[x],e.sCount[x]=R,A>=f&&e.isEmpty(x+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,x,n,!0),(!e.tight||O)&&(P=!1),O=e.line-x>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=h,e.tShift[x]=C,e.sCount[x]=m,e.tight=T,k=e.push("list_item_close","li",-1),k.markup=String.fromCharCode(S),x=e.line,u[1]=x,x>=n||e.sCount[x]=4)break;for(H=!1,o=0,_=B.length;o<_;o++)if(B[o](e,x,n,!0)){H=!0;break}if(H)break;if(d){if(L=qg(e,x),L<0)break;G=e.bMarks[x]+e.tShift[x]}else if(L=Kg(e,x),L<0)break;if(S!==e.src.charCodeAt(L-1))break}return d?k=e.push("ordered_list_close","ol",-1):k=e.push("bullet_list_close","ul",-1),k.markup=String.fromCharCode(S),p[1]=x,e.line=x,e.parentType=I,P&&wie(e,g),!0},Lie=Ce.normalizeReference,aa=Ce.isSpace,xie=function(e,r,n,a){var i,A,o,s,c,l,d,u,_,p,g,S,E,f,R,h,I=0,m=e.bMarks[r]+e.tShift[r],C=e.eMarks[r],T=r+1;if(e.sCount[r]-e.blkIndent>=4||e.src.charCodeAt(m)!==91)return!1;for(;++m3)&&!(e.sCount[T]<0)){for(f=!1,l=0,d=R.length;l"u"&&(e.env.references={}),typeof e.env.references[u]>"u"&&(e.env.references[u]={title:h,href:c}),e.parentType=p,e.line=r+I+1),!0)},Mie=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qa={},Uie="[a-zA-Z_:][a-zA-Z0-9:._-]*",Fie="[^\"'=<>`\\x00-\\x20]+",kie="'[^']*'",Pie='"[^"]*"',Qie="(?:"+Fie+"|"+kie+"|"+Pie+")",Gie="(?:\\s+"+Uie+"(?:\\s*=\\s*"+Qie+")?)",GE="<[A-Za-z][A-Za-z0-9\\-]*"+Gie+"*\\s*\\/?>",HE="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Hie="|",Yie="<[?][\\s\\S]*?[?]>",Vie="]*>",Kie="",qie=new RegExp("^(?:"+GE+"|"+HE+"|"+Hie+"|"+Yie+"|"+Vie+"|"+Kie+")"),Wie=new RegExp("^(?:"+GE+"|"+HE+")");qa.HTML_TAG_RE=qie;qa.HTML_OPEN_CLOSE_TAG_RE=Wie;var zie=Mie,$ie=qa.HTML_OPEN_CLOSE_TAG_RE,Nr=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp($ie.source+"\\s*$"),/^$/,!1]],Xie=function(e,r,n,a){var i,A,o,s,c=e.bMarks[r]+e.tShift[r],l=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(s=e.src.slice(c,l),i=0;i=4||(i=e.src.charCodeAt(c),i!==35||c>=l))return!1;for(A=1,i=e.src.charCodeAt(++c);i===35&&c6||cc&&Wg(e.src.charCodeAt(o-1))&&(l=o),e.line=r+1,s=e.push("heading_open","h"+String(A),1),s.markup="########".slice(0,A),s.map=[r,e.line],s=e.push("inline","",0),s.content=e.src.slice(c,l).trim(),s.map=[r,e.line],s.children=[],s=e.push("heading_close","h"+String(A),-1),s.markup="########".slice(0,A)),!0)},Jie=function(e,r,n){var a,i,A,o,s,c,l,d,u,_=r+1,p,g=e.md.block.ruler.getRules("paragraph");if(e.sCount[r]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";_3)){if(e.sCount[_]>=e.blkIndent&&(c=e.bMarks[_]+e.tShift[_],l=e.eMarks[_],c=l)))){d=u===61?1:2;break}if(!(e.sCount[_]<0)){for(i=!1,A=0,o=g.length;A3)&&!(e.sCount[l]<0)){for(i=!1,A=0,o=d.length;A0&&this.level++,this.tokens.push(n),n};Lt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Lt.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;er;)if(!Wa(this.src.charCodeAt(--e)))return e+1;return e};Lt.prototype.skipChars=function(e,r){for(var n=this.src.length;en;)if(r!==this.src.charCodeAt(--e))return e+1;return e};Lt.prototype.getLines=function(e,r,n,a){var i,A,o,s,c,l,d,u=e;if(e>=r)return"";for(l=new Array(r-e),i=0;un?l[i]=new Array(A-n+1).join(" ")+this.src.slice(s,c):l[i]=this.src.slice(s,c)}return l.join("")};Lt.prototype.Token=YE;var eAe=Lt,tAe=Tl,ia=[["table",vie,["paragraph","reference"]],["code",Rie],["fence",Iie,["paragraph","reference","blockquote","list"]],["blockquote",Nie,["paragraph","reference","blockquote","list"]],["hr",Bie,["paragraph","reference","blockquote","list"]],["list",Die,["paragraph","reference","blockquote"]],["reference",xie],["html_block",Xie,["paragraph","reference","blockquote"]],["heading",Zie,["paragraph","reference","blockquote"]],["lheading",Jie],["paragraph",jie]];function za(){this.ruler=new tAe;for(var t=0;t=r||t.sCount[s]=l){t.line=r;break}for(i=t.line,a=0;a=t.line)throw new Error("block rule didn't increment state.line");break}if(!n)throw new Error("none of the block rules matched");t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),s=t.line,s0||(n=e.pos,a=e.posMax,n+3>a)||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47||(i=e.pending.match(iAe),!i)||(A=i[1],o=e.md.linkify.matchAtStart(e.src.slice(n-A.length)),!o)||(s=o.url,s.length<=A.length)||(s=s.replace(/\*+$/,""),c=e.md.normalizeLink(s),!e.md.validateLink(c))?!1:(r||(e.pending=e.pending.slice(0,-A.length),l=e.push("link_open","a",1),l.attrs=[["href",c]],l.markup="linkify",l.info="auto",l=e.push("text","",0),l.content=e.md.normalizeLinkText(s),l=e.push("link_close","a",-1),l.markup="linkify",l.info="auto"),e.pos+=s.length-A.length,!0)},oAe=Ce.isSpace,sAe=function(e,r){var n,a,i,A=e.pos;if(e.src.charCodeAt(A)!==10)return!1;if(n=e.pending.length-1,a=e.posMax,!r)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(i=n-1;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(A++;A?@[]^_`{|}~-".split("").forEach(function(t){Rl[t.charCodeAt(0)]=1});var lAe=function(e,r){var n,a,i,A,o,s=e.pos,c=e.posMax;if(e.src.charCodeAt(s)!==92||(s++,s>=c))return!1;if(n=e.src.charCodeAt(s),n===10){for(r||e.push("hardbreak","br",0),s++;s=55296&&n<=56319&&s+1=56320&&a<=57343&&(A+=e.src[s+1],s++)),i="\\"+A,r||(o=e.push("text_special","",0),n<256&&Rl[n]!==0?o.content=A:o.content=i,o.markup=i,o.info="escape"),e.pos=s+1,!0},dAe=function(e,r){var n,a,i,A,o,s,c,l,d=e.pos,u=e.src.charCodeAt(d);if(u!==96)return!1;for(n=d,d++,a=e.posMax;d=0;r--)n=e[r],!(n.marker!==95&&n.marker!==42)&&n.end!==-1&&(a=e[n.end],o=r>0&&e[r-1].end===n.end+1&&e[r-1].marker===n.marker&&e[r-1].token===n.token-1&&e[n.end+1].token===a.token+1,A=String.fromCharCode(n.marker),i=t.tokens[n.token],i.type=o?"strong_open":"em_open",i.tag=o?"strong":"em",i.nesting=1,i.markup=o?A+A:A,i.content="",i=t.tokens[a.token],i.type=o?"strong_close":"em_close",i.tag=o?"strong":"em",i.nesting=-1,i.markup=o?A+A:A,i.content="",o&&(t.tokens[e[r-1].token].content="",t.tokens[e[n.end+1].token].content="",r--))}Xa.postProcess=function(e){var r,n=e.tokens_meta,a=e.tokens_meta.length;for(Xg(e,e.delimiters),r=0;r=g)return!1;if(S=s,c=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),c.ok){for(u=e.md.normalizeLink(c.str),e.md.validateLink(u)?s=c.pos:u="",S=s;s=g||e.src.charCodeAt(s)!==41)&&(E=!0),s++}if(E){if(typeof e.env.references>"u")return!1;if(s=0?i=e.src.slice(S,s++):s=A+1):s=A+1,i||(i=e.src.slice(o,A)),l=e.env.references[uAe(i)],!l)return e.pos=p,!1;u=l.href,_=l.title}return r||(e.pos=o,e.posMax=A,d=e.push("link_open","a",1),d.attrs=n=[["href",u]],_&&n.push(["title",_]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,d=e.push("link_close","a",-1)),e.pos=s,e.posMax=g,!0},pAe=Ce.normalizeReference,yc=Ce.isSpace,gAe=function(e,r){var n,a,i,A,o,s,c,l,d,u,_,p,g,S="",E=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(s=e.pos+2,o=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),o<0))return!1;if(c=o+1,c=f)return!1;for(g=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok&&(S=e.md.normalizeLink(d.str),e.md.validateLink(S)?c=d.pos:S=""),g=c;c=f||e.src.charCodeAt(c)!==41)return e.pos=E,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?A=e.src.slice(g,c++):c=o+1):c=o+1,A||(A=e.src.slice(s,o)),l=e.env.references[pAe(A)],!l)return e.pos=E,!1;S=l.href,u=l.title}return r||(i=e.src.slice(s,o),e.md.inline.parse(i,e.md,e.env,p=[]),_=e.push("image","img",0),_.attrs=n=[["src",S],["alt",""]],_.children=p,_.content=i,u&&n.push(["title",u])),e.pos=c,e.posMax=f,!0},mAe=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,EAe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,SAe=function(e,r){var n,a,i,A,o,s,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(o=e.pos,s=e.posMax;;){if(++c>=s||(A=e.src.charCodeAt(c),A===60))return!1;if(A===62)break}return n=e.src.slice(o+1,c),EAe.test(n)?(a=e.md.normalizeLink(n),e.md.validateLink(a)?(r||(i=e.push("link_open","a",1),i.attrs=[["href",a]],i.markup="autolink",i.info="auto",i=e.push("text","",0),i.content=e.md.normalizeLinkText(n),i=e.push("link_close","a",-1),i.markup="autolink",i.info="auto"),e.pos+=n.length+2,!0):!1):mAe.test(n)?(a=e.md.normalizeLink("mailto:"+n),e.md.validateLink(a)?(r||(i=e.push("link_open","a",1),i.attrs=[["href",a]],i.markup="autolink",i.info="auto",i=e.push("text","",0),i.content=e.md.normalizeLinkText(n),i=e.push("link_close","a",-1),i.markup="autolink",i.info="auto"),e.pos+=n.length+2,!0):!1):!1},fAe=qa.HTML_TAG_RE;function CAe(t){return/^\s]/i.test(t)}function bAe(t){return/^<\/a\s*>/i.test(t)}function TAe(t){var e=t|32;return e>=97&&e<=122}var hAe=function(e,r){var n,a,i,A,o=e.pos;return!e.md.options.html||(i=e.posMax,e.src.charCodeAt(o)!==60||o+2>=i)||(n=e.src.charCodeAt(o+1),n!==33&&n!==63&&n!==47&&!TAe(n))||(a=e.src.slice(o).match(fAe),!a)?!1:(r||(A=e.push("html_inline","",0),A.content=a[0],CAe(A.content)&&e.linkLevel++,bAe(A.content)&&e.linkLevel--),e.pos+=a[0].length,!0)},Zg=xE,vAe=Ce.has,RAe=Ce.isValidEntityCode,Jg=Ce.fromCodePoint,IAe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,yAe=/^&([a-z][a-z0-9]{1,31});/i,NAe=function(e,r){var n,a,i,A,o=e.pos,s=e.posMax;if(e.src.charCodeAt(o)!==38||o+1>=s)return!1;if(n=e.src.charCodeAt(o+1),n===35){if(i=e.src.slice(o).match(IAe),i)return r||(a=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),A=e.push("text_special","",0),A.content=RAe(a)?Jg(a):Jg(65533),A.markup=i[0],A.info="entity"),e.pos+=i[0].length,!0}else if(i=e.src.slice(o).match(yAe),i&&vAe(Zg,i[1]))return r||(A=e.push("text_special","",0),A.content=Zg[i[1]],A.markup=i[0],A.info="entity"),e.pos+=i[0].length,!0;return!1};function jg(t){var e,r,n,a,i,A,o,s,c={},l=t.length;if(l){var d=0,u=-2,_=[];for(e=0;ei;r-=_[r]+1)if(a=t[r],a.marker===n.marker&&a.open&&a.end<0&&(o=!1,(a.close||n.open)&&(a.length+n.length)%3===0&&(a.length%3!==0||n.length%3!==0)&&(o=!0),!o)){s=r>0&&!t[r-1].open?_[r-1]+1:0,_[e]=e-r+s,_[r]=s,n.open=!1,a.end=e,a.close=!1,A=-1,u=-2;break}A!==-1&&(c[n.marker][(n.open?3:0)+(n.length||0)%3]=A)}}}var OAe=function(e){var r,n=e.tokens_meta,a=e.tokens_meta.length;for(jg(e.delimiters),r=0;r0&&a++,i[r].type==="text"&&r+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],a={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(a),n};bn.prototype.scanDelims=function(t,e){var r=t,n,a,i,A,o,s,c,l,d,u=!0,_=!0,p=this.posMax,g=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;r=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,o[n]=t.pos};Tn.prototype.tokenize=function(t){for(var e,r,n,a=this.ruler.getRules(""),i=a.length,A=t.posMax,o=t.md.options.maxNesting;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=A)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Tn.prototype.parse=function(t,e,r,n){var a,i,A,o=new this.State(t,e,r,n);for(this.tokenize(o),i=this.ruler2.getRules(""),A=i.length,a=0;a|$))",e.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Bc}function nl(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(r){r&&Object.keys(r).forEach(function(n){t[n]=r[n]})}),t}function Za(t){return Object.prototype.toString.call(t)}function xAe(t){return Za(t)==="[object String]"}function MAe(t){return Za(t)==="[object Object]"}function UAe(t){return Za(t)==="[object RegExp]"}function im(t){return Za(t)==="[object Function]"}function FAe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var VE={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function kAe(t){return Object.keys(t||{}).reduce(function(e,r){return e||VE.hasOwnProperty(r)},!1)}var PAe={"http:":{validate:function(t,e,r){var n=t.slice(e);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){var n=t.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){var n=t.slice(e);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},QAe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",GAe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function HAe(t){t.__index__=-1,t.__text_cache__=""}function YAe(t){return function(e,r){var n=e.slice(r);return t.test(n)?n.match(t)[0].length:0}}function Am(){return function(t,e){e.normalize(t)}}function Ia(t){var e=t.re=LAe()(t.__opts__),r=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||r.push(QAe),r.push(e.src_xn),e.src_tlds=r.join("|");function n(o){return o.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");var a=[];t.__compiled__={};function i(o,s){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+s)}Object.keys(t.__schemas__).forEach(function(o){var s=t.__schemas__[o];if(s!==null){var c={validate:null,link:null};if(t.__compiled__[o]=c,MAe(s)){UAe(s.validate)?c.validate=YAe(s.validate):im(s.validate)?c.validate=s.validate:i(o,s),im(s.normalize)?c.normalize=s.normalize:s.normalize?i(o,s):c.normalize=Am();return}if(xAe(s)){a.push(o);return}i(o,s)}}),a.forEach(function(o){t.__compiled__[t.__schemas__[o]]&&(t.__compiled__[o].validate=t.__compiled__[t.__schemas__[o]].validate,t.__compiled__[o].normalize=t.__compiled__[t.__schemas__[o]].normalize)}),t.__compiled__[""]={validate:null,normalize:Am()};var A=Object.keys(t.__compiled__).filter(function(o){return o.length>0&&t.__compiled__[o]}).map(FAe).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+A+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+A+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),HAe(t)}function VAe(t,e){var r=t.__index__,n=t.__last_index__,a=t.__text_cache__.slice(r,n);this.schema=t.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=n+e,this.raw=a,this.text=a,this.url=a}function al(t,e){var r=new VAe(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function rt(t,e){if(!(this instanceof rt))return new rt(t,e);e||kAe(t)&&(e=t,t={}),this.__opts__=nl({},VE,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=nl({},PAe,t),this.__compiled__={},this.__tlds__=GAe,this.__tlds_replaced__=!1,this.re={},Ia(this)}rt.prototype.add=function(e,r){return this.__schemas__[e]=r,Ia(this),this};rt.prototype.set=function(e){return this.__opts__=nl(this.__opts__,e),this};rt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var r,n,a,i,A,o,s,c,l;if(this.re.schema_test.test(e)){for(s=this.re.schema_search,s.lastIndex=0;(r=s.exec(e))!==null;)if(i=this.testSchemaAt(e,r[2],s.lastIndex),i){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(a=e.match(this.re.email_fuzzy))!==null&&(A=a.index+a[1].length,o=a.index+a[0].length,(this.__index__<0||Athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=A,this.__last_index__=o))),this.__index__>=0};rt.prototype.pretest=function(e){return this.re.pretest.test(e)};rt.prototype.testSchemaAt=function(e,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(e,n,this):0};rt.prototype.match=function(e){var r=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(al(this,r)),r=this.__last_index__);for(var a=r?e.slice(r):e;this.test(a);)n.push(al(this,r)),a=a.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};rt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var r=this.re.schema_at_start.exec(e);if(!r)return null;var n=this.testSchemaAt(e,r[2],r[0].length);return n?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+n,al(this,0)):null};rt.prototype.tlds=function(e,r){return e=Array.isArray(e)?e:[e],r?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,a,i){return n!==i[a-1]}).reverse(),Ia(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Ia(this),this)};rt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};rt.prototype.onCompile=function(){};var KAe=rt;const xr=2147483647,It=36,yl=1,gn=26,qAe=38,WAe=700,KE=72,qE=128,WE="-",zAe=/^xn--/,$Ae=/[^\0-\x7F]/,XAe=/[\x2E\u3002\uFF0E\uFF61]/g,ZAe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},wc=It-yl,yt=Math.floor,Dc=String.fromCharCode;function Xt(t){throw new RangeError(ZAe[t])}function JAe(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}function zE(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(XAe,".");const a=t.split("."),i=JAe(a,e).join(".");return n+i}function Nl(t){const e=[];let r=0;const n=t.length;for(;r=55296&&a<=56319&&rString.fromCodePoint(...t),jAe=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:It},om=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},XE=function(t,e,r){let n=0;for(t=r?yt(t/WAe):t>>1,t+=yt(t/e);t>wc*gn>>1;n+=It)t=yt(t/wc);return yt(n+(wc+1)*t/(t+qAe))},Ol=function(t){const e=[],r=t.length;let n=0,a=qE,i=KE,A=t.lastIndexOf(WE);A<0&&(A=0);for(let o=0;o=128&&Xt("not-basic"),e.push(t.charCodeAt(o));for(let o=A>0?A+1:0;o=r&&Xt("invalid-input");const u=jAe(t.charCodeAt(o++));u>=It&&Xt("invalid-input"),u>yt((xr-n)/l)&&Xt("overflow"),n+=u*l;const _=d<=i?yl:d>=i+gn?gn:d-i;if(u<_)break;const p=It-_;l>yt(xr/p)&&Xt("overflow"),l*=p}const c=e.length+1;i=XE(n-s,c,s==0),yt(n/c)>xr-a&&Xt("overflow"),a+=yt(n/c),n%=c,e.splice(n++,0,a)}return String.fromCodePoint(...e)},Bl=function(t){const e=[];t=Nl(t);const r=t.length;let n=qE,a=0,i=KE;for(const s of t)s<128&&e.push(Dc(s));const A=e.length;let o=A;for(A&&e.push(WE);o=n&&lyt((xr-a)/c)&&Xt("overflow"),a+=(s-n)*c,n=s;for(const l of t)if(lxr&&Xt("overflow"),l===n){let d=a;for(let u=It;;u+=It){const _=u<=i?yl:u>=i+gn?gn:u-i;if(d<_)break;const p=d-_,g=It-_;e.push(Dc(om(_+p%g,0))),d=yt(p/g)}e.push(Dc(om(d,0))),i=XE(a,c,o===A),a=0,++o}++a,++n}return e.join("")},ZE=function(t){return zE(t,function(e){return zAe.test(e)?Ol(e.slice(4).toLowerCase()):e})},JE=function(t){return zE(t,function(e){return $Ae.test(e)?"xn--"+Bl(e):e})},eoe={version:"2.3.1",ucs2:{decode:Nl,encode:$E},decode:Ol,encode:Bl,toASCII:JE,toUnicode:ZE},toe=Object.freeze(Object.defineProperty({__proto__:null,decode:Ol,default:eoe,encode:Bl,toASCII:JE,toUnicode:ZE,ucs2decode:Nl,ucs2encode:$E},Symbol.toStringTag,{value:"Module"})),roe=gS(toe);var noe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},aoe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},ioe={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},cn=Ce,Aoe=Ka,ooe=jae,soe=hie,coe=rAe,loe=DAe,doe=KAe,ur=kr,jE=roe,uoe={default:noe,zero:aoe,commonmark:ioe},_oe=/^(vbscript|javascript|file|data):/,poe=/^data:image\/(gif|png|jpeg|webp);/;function goe(t){var e=t.trim().toLowerCase();return _oe.test(e)?!!poe.test(e):!0}var eS=["http:","https:","mailto:"];function moe(t){var e=ur.parse(t,!0);if(e.hostname&&(!e.protocol||eS.indexOf(e.protocol)>=0))try{e.hostname=jE.toASCII(e.hostname)}catch{}return ur.encode(ur.format(e))}function Eoe(t){var e=ur.parse(t,!0);if(e.hostname&&(!e.protocol||eS.indexOf(e.protocol)>=0))try{e.hostname=jE.toUnicode(e.hostname)}catch{}return ur.decode(ur.format(e),ur.decode.defaultChars+"%")}function dt(t,e){if(!(this instanceof dt))return new dt(t,e);e||cn.isString(t)||(e=t||{},t="default"),this.inline=new loe,this.block=new coe,this.core=new soe,this.renderer=new ooe,this.linkify=new doe,this.validateLink=goe,this.normalizeLink=moe,this.normalizeLinkText=Eoe,this.utils=cn,this.helpers=cn.assign({},Aoe),this.options={},this.configure(t),e&&this.set(e)}dt.prototype.set=function(t){return cn.assign(this.options,t),this};dt.prototype.configure=function(t){var e=this,r;if(cn.isString(t)&&(r=t,t=uoe[r],!t))throw new Error('Wrong `markdown-it` preset "'+r+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)}),this};dt.prototype.enable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(a){r=r.concat(this[a].ruler.enable(t,!0))},this),r=r.concat(this.inline.ruler2.enable(t,!0));var n=t.filter(function(a){return r.indexOf(a)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};dt.prototype.disable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(a){r=r.concat(this[a].ruler.disable(t,!0))},this),r=r.concat(this.inline.ruler2.disable(t,!0));var n=t.filter(function(a){return r.indexOf(a)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};dt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};dt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var r=new this.core.State(t,this,e);return this.core.process(r),r.tokens};dt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};dt.prototype.parseInline=function(t,e){var r=new this.core.State(t,this,e);return r.inlineMode=!0,this.core.process(r),r.tokens};dt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Soe=dt,foe=Soe;const Ja=ya(foe);function Coe(t,e){var r,n,a=t.attrs[t.attrIndex("href")][1];for(r=0;ri.fileInfo?i.fileInfo.split(","):[]);W(()=>{try{return JSON.parse(i.customId).buttons||[]}catch{return[]}});const i=t,A=r;En();const{isMobile:o}=Ot();let s;mt(()=>i.status,m=>{s!==void 0&&(clearInterval(s),s=void 0),m===2&&(s=window.setInterval(async()=>{await l.queryActiveChatLogList()},5e3))},{immediate:!0}),la(()=>{s!==void 0&&clearInterval(s)}),la(()=>{clearInterval(s)});const c=j(),l=Nt(),d=new Ja({linkify:!0,highlight(m,C){if(!!(C&<.getLanguage(C))){const v=C??"";return p(lt.highlight(m,{language:v}).value,v)}return p(lt.highlightAuto(m).value,"")}}),u=W(()=>i.fileInfo);d.use(ja,{attrs:{target:"_blank",rel:"noopener"}}),d.use(Ga,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const _=W(()=>{const m=i.text??"";return i.asRawText?m:d.render(m)});function p(m,C){return`
    ${C}${Q("chat.copyCode")}
    ${m}
    `}function g(){A("copy")}function S(){A("delete")}async function E(m){try{let C;C=JSON.parse(i.customId);const T=C.find(v=>v.customId.includes(`upsample::${m}`));if(T){const v=T.customId;await n({msg:Q("chat.enlargeImagePrefix")+m+Q("chat.enlargeImageSuffix"),action:"UPSCALE",drawId:i.drawId,customId:v,modelType:2,model:"midjourney",modelName:i.modelName})}else console.error("没有找到匹配的按钮")}catch{}}async function f(m){try{let C;C=JSON.parse(i.customId);const T=C.find(v=>v.customId.includes(`variation::${m}`));if(T){const v=T.customId;await n({msg:Q("chat.transformImagePrefix")+m+Q("chat.transformImageSuffix"),action:"UPSCALE",drawId:i.drawId,customId:v,modelType:2,model:"midjourney",modelName:i.modelName})}else console.error("没有找到匹配的按钮")}catch{}}async function R(m){try{let C;C=JSON.parse(i.customId);const T=C.find(v=>v.customId.includes(`Outpaint::${m}`));if(T){const v=T.customId;await n({msg:Q("chat.expandDrawing"),action:"UPSCALE",drawId:i.drawId,customId:v,modelType:2,model:"midjourney",modelName:i.modelName})}else console.error("没有找到匹配的按钮")}catch{}}async function h(m){try{let C;C=JSON.parse(i.customId);const T=C.find(v=>v.customId.includes(`${m}`));if(T){const v=T.customId;await n({msg:Q("chat.advancedTransform"),action:"UPSCALE",drawId:i.drawId,customId:v,modelType:2,model:"midjourney",modelName:i.modelName})}else console.error("没有找到匹配的按钮")}catch{}}async function I(m){try{let C;C=JSON.parse(i.customId);const T=C.find(v=>v.customId.includes(`pan_${m}`));if(T){const v=T.customId;await n({msg:Q("chat.translateImage"),action:"UPSCALE",drawId:i.drawId,customId:v,modelType:2,model:"midjourney",modelName:i.modelName})}else console.error("没有找到匹配的按钮")}catch{}}return e({textRef:c}),(m,C)=>{var v,L,O,G,H,B,k,x;const T=Sn("Button");return M(),K("div",hoe,[y("div",{ref_key:"textRef",ref:c,class:"leading-relaxed break-words"},[y("div",voe,[y("div",Roe,[m.status===2&&!_.value?(M(),K("span",Ioe)):ne("",!0),m.inversion?(M(),K("div",Boe,[y("div",{class:"whitespace-pre-wrap",textContent:X(_.value)},null,8,woe),ne("",!0)])):(M(),K("div",yoe,[y("div",Noe,[y("div",{class:Me(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":m.loading||!_.value}]),innerHTML:_.value},null,10,Ooe)])]))])])],512),y("div",Doe,[y("div",null,[y("div",null,[y("div",{class:"my-1 flex w-auto",style:mr({maxWidth:w(o)?"100%":"25rem"})},[!u.value&&(m.status===1||m.status===2)&&!m.inversion?(M(),K("div",Loe,[D(RS,{class:"text-black dark:text-white rounded-md",words:["绘","制","中"]})])):(M(),K("div",xoe,[(M(!0),K(ot,null,Ht(a.value,(N,P)=>(M(),ue(w(cm),{key:P,src:N,"preview-src":N,alt:"图片",class:"rounded-md flex mb-1 mr-4"},null,8,["src","preview-src"]))),128))]))],4),(v=m.model)!=null&&v.includes("midjourney")&&u.value&&m.status===3?(M(),K("div",Moe,[(L=m.customId)!=null&&L.includes("::upsample::1::")?(M(),K("div",Uoe,[y("div",Foe,[y("div",koe,[y("button",{onClick:C[0]||(C[0]=N=>E(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.U1")),1),y("button",{onClick:C[1]||(C[1]=N=>E(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.U2")),1),y("button",{onClick:C[2]||(C[2]=N=>E(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.U3")),1),y("button",{onClick:C[3]||(C[3]=N=>E(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.U4")),1)])])])):ne("",!0),(O=m.customId)!=null&&O.includes("::variation::1::")?(M(),K("div",Poe,[y("div",Qoe,[y("div",Goe,[y("button",{onClick:C[4]||(C[4]=N=>f(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.V1")),1),y("button",{onClick:C[5]||(C[5]=N=>f(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.V2")),1),y("button",{onClick:C[6]||(C[6]=N=>f(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.V3")),1),y("button",{onClick:C[7]||(C[7]=N=>f(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.V4")),1)])])])):ne("",!0),(G=m.customId)!=null&&G.includes("::pan_left::1::")?(M(),K("div",Hoe,[y("div",Yoe,[y("div",Voe,[y("button",{onClick:C[8]||(C[8]=N=>I("left")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.panLeft")),1),y("button",{onClick:C[9]||(C[9]=N=>I("right")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.panRight")),1),y("button",{onClick:C[10]||(C[10]=N=>I("up")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.panUp")),1),y("button",{onClick:C[11]||(C[11]=N=>I("down")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.panDown")),1)])])])):ne("",!0),y("div",Koe,[y("div",qoe,[y("div",Woe,[(H=m.customId)!=null&&H.includes("Outpaint::50")?(M(),K("button",{key:0,onClick:C[12]||(C[12]=N=>R(75)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.zoomIn15x")),1)):ne("",!0),(B=m.customId)!=null&&B.includes("Outpaint::50")?(M(),K("button",{key:1,onClick:C[13]||(C[13]=N=>R(50)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.zoomIn2x")),1)):ne("",!0),(k=m.customId)!=null&&k.includes("low_variation")?(M(),K("button",{key:2,onClick:C[14]||(C[14]=N=>h("low")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.minorTransform")),1)):ne("",!0),(x=m.customId)!=null&&x.includes("low_variation")?(M(),K("button",{key:3,onClick:C[15]||(C[15]=N=>h("high")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},X(w(Q)("chat.strongTransform")),1)):ne("",!0)])])])])):ne("",!0)])])]),y("div",zoe,[y("div",null,[y("div",$oe,[D(T,{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:g},{default:ie(()=>[D(w(Oa),{class:"flex mr-1"}),y("span",Xoe,X(w(Q)("chat.copy")),1)]),_:1}),D(T,{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:S},{default:ie(()=>[D(w(Ba),{class:"mr-1"}),y("span",Zoe,X(w(Q)("chat.delete")),1)]),_:1})])])])])}}});const joe={class:"flex flex-col group max-w-full"},ese={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},tse={class:"flex w-full relative"},rse=y("button",{class:"absolute top-0 right-0 py-1 px-2 text-gray-500 hover:text-gray-700 rounded bg-gray-50"}," 编辑 ",-1),nse={class:"mt-1 flex"},ase=y("span",{class:"flex text-sm"},"复制",-1),ise=y("span",{class:"flex text-sm"},"重新生成",-1),Ase=y("span",{class:"flex text-sm"},"删除",-1),ose={class:"flex text-sm"},sse=ut({__name:"MindMap",props:{chatId:{},inversion:{type:Boolean},error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{},isLastMessage:{type:Boolean}},emits:["regenerate","delete","copy"],setup(t,{expose:e,emit:r}){const n=new yS.Transformer,a=t,i=r,A=j(),{isMobile:o}=Ot(),s=j(),c=j(a.ttsUrl),l=j("paused");let d=null;tr(()=>{_=NS.create(A.value),u()});const u=()=>{const{root:v}=n.transform(a.text);_.setData(v),_.fit()};let _;const p=W(()=>l.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");async function g(){if(!(l.value==="loading"||l.value==="playing")){if(c.value){S(c.value);return}l.value="loading";try{const L=(await lm({chatId:a.chatId,prompt:a.text})).ttsUrl;if(L)c.value=L,S(L);else throw new Error("TTS URL is undefined")}catch(v){console.error("Error fetching TTS audio:",v),l.value="paused"}}}function S(v){d&&d.pause(),d=new Audio(v),d.play().then(()=>{l.value="playing"}).catch(L=>{console.error("Error playing audio:",L),l.value="paused"}),d.onended=()=>{l.value="paused",d=null}}function E(){d&&(d.pause(),l.value="paused")}function f(){l.value==="playing"?E():g()}const R=new Ja({linkify:!0,highlight(v,L){if(!!(L&<.getLanguage(L))){const G=L??"";return I(lt.highlight(v,{language:G}).value,G)}return I(lt.highlightAuto(v).value,"")}});R.renderer.rules.image=function(v,L,O,G,H){const B=v[L],k=B.attrGet("src"),x=B.attrGet("title"),N=B.content;return`${N}`};const h=W(()=>a.fileInfo);W(()=>h.value?/\.(jpg|jpeg|png|gif)$/i.test(h.value):!1),W(()=>h.value?/\.(mp4|avi|mov|wmv|flv)$/i.test(h.value):!1),R.use(ja,{attrs:{target:"_blank",rel:"noopener"}}),R.use(Ga,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"}),W(()=>["text-wrap","rounded-lg","min-w-12","text-gray-800",(o.value,"p-2"),(a.inversion,"max-w-full"),{"text-red-500":a.error}]),W(()=>{const v=a.text??"";return a.asRawText?v:R.render(v)}),Lc(u),Lc(u);function I(v,L){return`
    ${L}${Q("chat.copyCode")}
    ${v}
    `}function m(){i("regenerate")}function C(){i("copy")}function T(){i("delete")}return e({textRef:s}),(v,L)=>{const O=Sn("Button");return M(),K("div",joe,[y("div",ese,[y("div",tse,[(M(),K("svg",{ref_key:"svgRef",ref:A,class:"box-border w-[600px] h-[400px] border rounded-md",draggable:"false"},null,512)),rse])]),y("div",{class:Me(["flex transition-opacity duration-300 text-gray-700",p.value])},[y("div",null,[y("div",nse,[D(O,{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:C},{default:ie(()=>[D(w(Oa),{class:"flex mr-1"}),ase]),_:1}),v.inversion?(M(),ue(O,{key:0,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:m},{default:ie(()=>[D(w(ol),{class:"mr-1"}),ise]),_:1})):ne("",!0),D(O,{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:T},{default:ie(()=>[D(w(Ba),{class:"mr-1"}),Ase]),_:1}),v.inversion?ne("",!0):(M(),ue(O,{key:1,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:f},{default:ie(()=>[l.value==="paused"?(M(),ue(w(cl),{key:0,class:"flex mr-1"})):ne("",!0),l.value==="loading"?(M(),ue(w(sl),{key:1,class:"rotate-icon flex mr-1"})):l.value==="playing"?(M(),ue(w(Al),{key:2,class:"flex mr-1"})):ne("",!0),y("span",ose,X(l.value==="playing"?"暂停":l.value==="loading"?"加载中...":"朗读"),1)]),_:1}))])])],2)])}}});const cse={class:"flex flex-col group max-w-full"},lse={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},dse={key:0,class:"flex items-center justify-center ring-1 ring-inset ring-gray-200 dark:ring-gray-700 rounded-lg h-8 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700 mb-1 max-w-[100px]"},use={key:0,class:"flex flex-col items-start"},_se={class:"w-full"},pse={key:0,class:"loading-anchor"},gse=["innerHTML"],mse={key:1},Ese=["textContent"],Sse={key:1},fse={class:"mt-1 flex"},Cse={class:"flex text-sm"},bse={class:"flex text-sm"},Tse={class:"flex text-sm"},hse={class:"flex text-sm"},vse=ut({__name:"Text",props:{chatId:{},inversion:{type:Boolean},error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{},isLastMessage:{type:Boolean}},emits:["regenerate","delete","copy"],setup(t,{expose:e,emit:r}){const n=t,a=r,{isMobile:i}=Ot(),A=j(),o=j(n.ttsUrl),s=j("paused");let c=null;const l=W(()=>s.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");async function d(){if(!(s.value==="loading"||s.value==="playing")){if(o.value){u(o.value);return}s.value="loading";try{const T=(await lm({chatId:n.chatId,prompt:n.text})).ttsUrl;if(T)o.value=T,u(T);else throw new Error("TTS URL is undefined")}catch(C){console.error("Error fetching TTS audio:",C),s.value="paused"}}}function u(C){c&&c.pause(),c=new Audio(C),c.play().then(()=>{s.value="playing"}).catch(T=>{console.error("Error playing audio:",T),s.value="paused"}),c.onended=()=>{s.value="paused",c=null}}function _(){c&&(c.pause(),s.value="paused")}function p(){s.value==="playing"?_():d()}const g=new Ja({linkify:!0,highlight(C,T){if(!!(T&<.getLanguage(T))){const L=T??"";return R(lt.highlight(C,{language:L}).value,L)}return R(lt.highlightAuto(C).value,"")}});g.renderer.rules.image=function(C,T,v,L,O){const G=C[T],H=G.attrGet("src"),B=G.attrGet("title"),k=G.content;return`${k}`};const S=W(()=>n.fileInfo),E=W(()=>S.value?/\.(jpg|jpeg|png|gif|webp)$/i.test(S.value):!1);g.use(ja,{attrs:{target:"_blank",rel:"noopener"}}),g.use(Ga,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const f=W(()=>{const C=n.text??"";return n.asRawText?C:g.render(C)});function R(C,T){return`
    ${T}${Q("chat.copyCode")}
    ${C}
    `}function h(){a("regenerate")}function I(){a("copy")}function m(){a("delete")}return e({textRef:A}),(C,T)=>{const v=Sn("Button");return M(),K("div",cse,[y("div",lse,[S.value&&!E.value?(M(),K("div",dse,[y("span",null,X(w(Q)("chat.fileAnalysis")),1)])):ne("",!0),y("div",{ref_key:"textRef",ref:A,class:"leading-relaxed break-words"},[C.inversion?(M(),K("div",mse,[y("div",{class:"whitespace-pre-wrap",textContent:X(f.value)},null,8,Ese),ne("",!0)])):(M(),K("div",use,[y("div",_se,[C.loading&&!f.value?(M(),K("span",pse)):ne("",!0),y("div",{class:Me(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":C.loading||!f.value}]),innerHTML:f.value},null,10,gse)])]))],512),S.value&&E.value?(M(),K("div",Sse,[y("div",null,[y("div",{class:"my-1 flex w-auto",style:mr({maxWidth:w(i)?"100%":"25vw"})},[D(w(cm),{src:S.value,"preview-src":S.value,alt:"图片",class:"rounded-md flex mb-1 mr-4"},null,8,["src","preview-src"])],4)])])):ne("",!0)]),y("div",{class:Me(["flex transition-opacity duration-300 text-gray-700",l.value])},[y("div",null,[y("div",fse,[D(v,{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:I},{default:ie(()=>[D(w(Oa),{class:"flex mr-1"}),y("span",Cse,X(w(Q)("chat.copy")),1)]),_:1}),C.inversion?(M(),ue(v,{key:0,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:h},{default:ie(()=>[D(w(ol),{class:"mr-1"}),y("span",bse,X(w(Q)("chat.regenerate")),1)]),_:1})):ne("",!0),D(v,{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:m},{default:ie(()=>[D(w(Ba),{class:"mr-1"}),y("span",Tse,X(w(Q)("chat.delete")),1)]),_:1}),C.inversion?ne("",!0):(M(),ue(v,{key:1,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:p},{default:ie(()=>[s.value==="paused"?(M(),ue(w(cl),{key:0,class:"flex mr-1"})):ne("",!0),s.value==="loading"?(M(),ue(w(sl),{key:1,class:"rotate-icon flex mr-1"})):s.value==="playing"?(M(),ue(w(Al),{key:2,class:"flex mr-1"})):ne("",!0),y("span",hse,X(s.value==="playing"?w(Q)("chat.pause"):s.value==="loading"?w(Q)("chat.loading"):w(Q)("chat.readAloud")),1)]),_:1}))])])],2)])}}});const Rse={class:"flex flex-col group max-w-full"},Ise={class:"flex flex-col items-start"},yse=["src"],Nse={class:"w-full"},Ose={key:0,class:"loading-anchor"},Bse=["innerHTML"],wse={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},Dse={class:"mt-1 flex"},Lse={class:"flex text-sm"},xse={class:"flex text-sm"},Mse={class:"flex text-sm"},Use={class:"flex text-sm"},Fse=ut({__name:"Video",props:{inversion:{type:Boolean},error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},model:{},drawId:{},customId:{},modelName:{}},emits:["regenerate","delete","copy"],setup(t,{expose:e,emit:r}){const n=t,a=r,{isMobile:i}=Ot();let A;mt(()=>n.status,T=>{A!==void 0&&(clearInterval(A),A=void 0),T===2&&(A=window.setInterval(async()=>{await s.queryActiveChatLogList()},5e3))},{immediate:!0}),la(()=>{A!==void 0&&clearInterval(A)});const o=j(),s=Nt(),c=new Ja({linkify:!0,highlight(T,v){if(!!(v&<.getLanguage(v))){const O=v??"";return u(lt.highlight(T,{language:O}).value,O)}return u(lt.highlightAuto(T).value,"")}}),l=W(()=>n.fileInfo);c.use(ja,{attrs:{target:"_blank",rel:"noopener"}}),c.use(Ga,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const d=W(()=>{const T=n.text??"";return n.asRawText?T:c.render(T)});function u(T,v){return`
    ${v}${Q("chat.copyCode")}
    ${T}
    `}function _(){a("regenerate")}function p(){a("copy")}function g(){a("delete")}e({textRef:o});const S=j(n.ttsUrl),E=j("paused");let f=null;const R=W(()=>E.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");async function h(){if(!(E.value==="loading"||E.value==="playing")){if(S.value){I(S.value);return}E.value="loading";try{const v=(await fetchTtsAPIProces({chatId:n.chatId,prompt:n.text})).ttsUrl;if(v)S.value=v,I(v);else throw new Error("TTS URL is undefined")}catch(T){console.error("Error fetching TTS audio:",T),E.value="paused"}}}function I(T){f&&f.pause(),f=new Audio(T),f.play().then(()=>{E.value="playing"}).catch(v=>{console.error("Error playing audio:",v),E.value="paused"}),f.onended=()=>{E.value="paused",f=null}}function m(){f&&(f.pause(),E.value="paused")}function C(){E.value==="playing"?m():h()}return(T,v)=>{const L=Sn("Button");return M(),K("div",Rse,[y("div",{ref_key:"textRef",ref:o,class:"leading-relaxed break-words"},[y("div",Ise,[y("div",null,[dm((M(),K("div",{key:l.value},[y("video",{src:l.value,controls:"",class:"rounded-md flex",style:mr({maxWidth:w(i)?"90%":"30vw",maxHeight:w(i)?"":"40vh"})}," 您的浏览器不支持视频标签。 ",12,yse)])),[[mS,l.value]])]),y("div",Nse,[T.status===2&&!d.value?(M(),K("span",Ose)):ne("",!0),y("div",{class:Me(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":T.status===2||!d.value}]),innerHTML:d.value},null,10,Bse)])])],512),y("div",wse,[y("div",null,[y("div",null,[y("div",{class:"my-1 flex w-auto",style:mr({maxWidth:w(i)?"100%":"25rem"})},null,4)])])]),y("div",{class:Me(["flex transition-opacity duration-300 text-gray-700",R.value])},[y("div",null,[y("div",Dse,[D(L,{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:p},{default:ie(()=>[D(w(Oa),{class:"flex mr-1"}),y("span",Lse,X(w(Q)("chat.copy")),1)]),_:1}),T.inversion?(M(),ue(L,{key:0,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:_},{default:ie(()=>[D(w(ol),{class:"mr-1"}),y("span",xse,X(w(Q)("chat.regenerate")),1)]),_:1})):ne("",!0),D(L,{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:g},{default:ie(()=>[D(w(Ba),{class:"mr-1"}),y("span",Mse,X(w(Q)("chat.delete")),1)]),_:1}),T.inversion?ne("",!0):(M(),ue(L,{key:1,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:C},{default:ie(()=>[E.value==="paused"?(M(),ue(w(cl),{key:0,class:"flex mr-1"})):ne("",!0),E.value==="loading"?(M(),ue(w(sl),{key:1,class:"rotate-icon flex mr-1"})):E.value==="playing"?(M(),ue(w(Al),{key:2,class:"flex mr-1"})):ne("",!0),y("span",Use,X(E.value==="playing"?w(Q)("chat.pause"):E.value==="loading"?w(Q)("chat.loading"):w(Q)("chat.readAloud")),1)]),_:1}))])])],2)])}}});const kse=()=>({iconRender:e=>{const{color:r,fontSize:n,icon:a}=e,i={};return r&&(i.color=r),n&&(i.fontSize=`${n}px`),a||window.console.warn("iconRender: icon is required"),()=>ES(Na,{icon:a,style:i})}}),Pse={class:"flex items-center justify-center flex-shrink-0 mr-1"},Qse={class:"overflow-hidden text-sm items-start ml-1"},Gse={class:"mt-1"},Hse={key:0,class:"text-md text-gray-600 text-left font-bold"},Yse={key:1,class:"text-md font-bold text-left flex items-center text-gray-600"},Vse={class:"flex items-end gap-1 mt-2 flex-row"},Kse=ut({__name:"index",props:{chatId:{},dateTime:{},text:{},model:{},modelName:{},modelType:{},status:{},inversion:{type:Boolean},error:{type:Boolean},loading:{type:Boolean},fileInfo:{},ttsUrl:{},drawId:{},extend:{},customId:{},isLastMessage:{type:Boolean},modelAvatar:{},usingNetwork:{type:Boolean},pluginParam:{}},emits:["regenerate","delete"],setup(t,{emit:e}){const r=j({}),n=t,a=e,i=En();Ot();const{iconRender:A}=kse(),o=j(),s=j(n.inversion),c=j();W(()=>{const _=[{label:Q("chat.copy"),key:"copyText",icon:A({icon:"ri:file-copy-2-line"})},{label:Q("common.delete"),key:"delete",icon:A({icon:"ri:delete-bin-line"})}];return n.inversion||(_.unshift({label:s.value?Q("chat.preview"):Q("chat.showRawText"),key:"toggleRenderType",icon:A({icon:s.value?"ic:outline-code-off":"ic:outline-code"})}),_.unshift({label:Q("chat.regenerate"),key:"regenerate",icon:A({icon:"ri:restart-line"})})),_}),SS(()=>{if(n.pluginParam)try{r.value=JSON.parse(n.pluginParam)}catch(_){console.error("Failed to parse pluginParam:",_),r.value={}}});function l(){a("delete")}function d(){Sm({text:n.text??""}),n.text&&i.success("复制成功!")}function u(){var _;(_=c.value)==null||_.scrollIntoView(),a("regenerate")}return(_,p)=>(M(),K("div",null,[y("div",{ref_key:"messageRef",ref:c,class:"flex w-full mb-3 overflow-hidden items-start bg-white dark:bg-gray-900 flex-row'"},[y("div",Pse,[D(kv,{image:_.inversion,model:_.model,modelAvatar:_.modelAvatar,usingNetwork:_.usingNetwork},null,8,["image","model","modelAvatar","usingNetwork"])]),y("div",Qse,[y("div",Gse,[_.inversion?(M(),K("h3",Hse,X(w(Q)("chat.me")),1)):(M(),K("h3",Yse,[Et(X(_.modelName)+" ",1),r.value.usingNetwork?(M(),ue(w(Pl),{key:0,trigger:"hover",placement:"right"},{trigger:ie(()=>[D(w(LS),{size:"18",class:"ml-1 text-blue-300 dark:text-blue-600 cursor-pointer"})]),default:ie(()=>[Et(" "+X(w(Q)("chat.onlineSearch")),1)]),_:1})):ne("",!0),r.value.usingMindMap?(M(),ue(w(Pl),{key:1,trigger:"hover",placement:"right"},{trigger:ie(()=>[D(w(FS),{size:"18",class:"ml-1 text-primary-300 dark:text-primary-600 cursor-pointer"})]),default:ie(()=>[Et(" "+X(w(Q)("chat.mindMap")),1)]),_:1})):ne("",!0)]))]),y("div",Vse,[r.value.usingMindMap?(M(),ue(sse,{key:0,ref_key:"textRef",ref:o,inversion:_.inversion,drawId:_.drawId,extend:_.extend,customId:_.customId,error:_.error,text:_.text,modelType:_.modelType,fileInfo:_.fileInfo,ttsUrl:_.ttsUrl,model:_.model,modelName:_.modelName,loading:_.loading,status:_.status,"as-raw-text":s.value,onRegenerate:u,onCopy:d,onDelete:l},null,8,["inversion","drawId","extend","customId","error","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):_.model==="suno-v3"?(M(),ue(Fse,{key:1,ref_key:"textRef",ref:o,inversion:_.inversion,drawId:_.drawId,extend:_.extend,customId:_.customId,error:_.error,text:_.text,modelType:_.modelType,fileInfo:_.fileInfo,ttsUrl:_.ttsUrl,model:_.model,modelName:_.modelName,loading:_.loading,status:_.status,"as-raw-text":s.value,onRegenerate:u,onCopy:d,onDelete:l},null,8,["inversion","drawId","extend","customId","error","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):_.modelType===2?(M(),ue(Joe,{key:2,ref_key:"textRef",ref:o,inversion:_.inversion,drawId:_.drawId,extend:_.extend,customId:_.customId,error:_.error,text:_.text,modelType:_.modelType,fileInfo:_.fileInfo,ttsUrl:_.ttsUrl,model:_.model,modelName:_.modelName,loading:_.loading,status:_.status,"as-raw-text":s.value,onRegenerate:u,onCopy:d,onDelete:l},null,8,["inversion","drawId","extend","customId","error","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):(M(),ue(vse,{key:3,ref_key:"textRef",ref:o,modelName:_.modelName,chatId:_.chatId,inversion:_.inversion,error:_.error,text:_.text,modelType:_.modelType,fileInfo:_.fileInfo,ttsUrl:_.ttsUrl,model:_.model,loading:_.loading,"as-raw-text":s.value,isLastMessage:_.isLastMessage,onRegenerate:u,onCopy:d,onDelete:l},null,8,["modelName","chatId","inversion","error","text","modelType","fileInfo","ttsUrl","model","loading","as-raw-text","isLastMessage"]))])])],512)]))}}),qse=[{id:1,name:"私人助理",icon:"ri:ai-generate",childList:[{appId:0,prompt:"我希望你能担任英语翻译、拼写校对和修辞改进的角色。我会用任何语言和你交流,你会识别语言,将其翻译并用更为优美和精炼的英语回答我。请将我简单的词汇和句子替换成更为优美和高雅的表达方式,确保意思不变,但使其更具文学性。请仅回答更正和改进的部分,不要写解释。我的第一句话是“how are you ?”,请翻译它。",title:"英语翻译官"},{id:3,appId:0,prompt:"我想让你扮演一个心理学家。我会告诉你我的想法。我希望你能给我科学的建议,让我感觉更好。我的第一个想法,{ 在这里输入你的想法,如果你解释得更详细,我想你会得到更准确的答案。}",title:"心理学家"},{id:4,appId:0,prompt:"请确认我的以下请求。请您作为产品经理回复我。我将会提供一个主题,您将帮助我编写一份包括以下章节标题的PRD文档:主题、简介、问题陈述、目标与目的、用户故事、技术要求、收益、KPI指标、开发风险以及结论。在我要求具体主题、功能或开发的PRD之前,请不要先写任何一份PRD文档。",title:"产品经理"}]},{id:2,name:"轻松娱乐",icon:"ri:lightbulb-flash-line",childList:[{id:5,appId:0,prompt:"我要你做我的私人厨师。我会告诉你我的饮食偏好和过敏,你会建议我尝试的食谱。你应该只回复你推荐的食谱,别无其他。不要写解释。我的第一个请求是“我是一名素食主义者,我正在寻找健康的晚餐点子。”",title:"如何学做菜"},{id:6,appId:0,prompt:"我想让你做一个旅游指南。我会把我的位置写给你,你会推荐一个靠近我的位置的地方。在某些情况下,我还会告诉您我将访问的地方类型。您还会向我推荐靠近我的第一个位置的类似类型的地方。我的第一个建议请求是“我在上海,我只想参观博物馆。",title:"旅游攻略"},{id:7,appId:0,prompt:"如果你能穿越时空,你会去哪个时代?",title:"穿越时空"}]},{id:3,name:"AI百科",icon:"ri:book-mark-line",childList:[{id:8,appId:0,prompt:"解释一下量子力学是什么?",title:"量子力学"},{id:9,appId:0,prompt:"介绍一下人工智能的历史",title:"人工智能"},{id:10,appId:0,prompt:"讲解一下深度学习是如何工作的?",title:"深度学习"}]}],Wse={class:"mb-6 rounded px-4 py-2 text-center text-3xl font-bold text-primary-500"},zse={class:"w-full md:min-w-[450px]"},$se={class:"text-md text-center"},Xse={class:"line-clamp-1 break-all overflow-hidden"},Zse=["onClick"],Jse=["src"],jse={class:"line-clamp-1 break-all overflow-hidden"},ece={key:0,class:"mt-4 text-center text-sm text-neutral-400"},tce=ut({__name:"index",emits:["prompt"],setup(t,{emit:e}){var l;um();const r=e,n=mn(),a=Nt(),i=j([]);async function A(){const d=await fS();d!=null&&d.data&&(d!=null&&d.data.length)?i.value=d==null?void 0:d.data:i.value=qse}tr(()=>{A()});const o=((l=n.globalConfig)==null?void 0:l.siteName)||"AIWeb";async function s(d){const{appId:u,prompt:_,url:p}=d;if(p){window.open(p);return}if(u&&u>0)try{await a.addNewChatGroup(u),await a.queryMyGroup()}catch(g){console.error("路由跳转错误:",g)}else r("prompt",_)}const{isMobile:c}=Ot();return(d,u)=>{var _;return M(),K("div",{class:Me([[w(c)?"mt-2":"mt-28"],"rounded-md px-4 py-4"])},[y("h1",Wse,X(w(o)),1),y("div",zse,[y("div",{class:"grid grid-cols-3 gap-x-2 gap-y-3",style:mr({gridTemplateColumns:`repeat(${i.value.length}, minmax(0, 1fr))`})},[(M(!0),K(ot,null,Ht(i.value,p=>(M(),K("div",{class:"space-y-4",key:p.id},[y("h2",$se,[D(w(Na),{icon:p.icon,class:"mb-2 inline-block text-lg"},null,8,["icon"]),y("p",Xse,X(p.name),1)]),(M(!0),K(ot,null,Ht(p.childList,g=>(M(),K("div",{class:"space-y-e",key:g.id},[y("div",{onClick:S=>s(g),class:Me(["py-3 flex justify-center items-center rounded cursor-pointer select-none bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700",[w(c)?"px-2":"px-5"]])},[g.coverImg?(M(),K("img",{key:0,class:"w-4 mr-1",src:g.coverImg,alt:""},null,8,Jse)):ne("",!0),y("div",jse,X(g.title),1)],10,Zse)]))),128))]))),128))],4),(_=i.value)!=null&&_.length?(M(),K("div",ece,X(w(Q)("chat.selectAppOrTopic")),1)):ne("",!0)])],2)}}}),rce={key:0,class:"w-full mt-20 px-5"},nce={class:"flex"},ace={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},ice=["src"],Ace={class:"text-white text-sm md:text-lg"},oce={class:"flex flex-col"},sce={class:"css-0 mb-2 line-clamp-1 break-all text-lg font-semibold tracking-wide text-[#333] dark:text-[#ffffff]"},cce={class:"flex"},lce={class:"flex flex-col mt-16"},dce={class:"font-bold text-primary-500 mb-3"},uce={class:"flex-1 pl-2 pr-5 py-1"},_ce=["onClick"],pce=y("span",{class:"circle mr-4"},null,-1),gce={class:"flex-1 select-none text-left"},mce=ut({__name:"index",props:{appId:{}},emits:["prompt"],setup(t,{emit:e}){const r=j(null),n=t,a=e,i=async s=>{try{const c=await _m({id:s});r.value=c.data}catch(c){console.error("Failed to fetch app info",c)}};function A(s){a("prompt",s)}function o(){const s=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return s[Math.floor(Math.random()*s.length)]}return tr(()=>{n.appId&&i(n.appId)}),mt(()=>n.appId,s=>{s&&i(s)}),(s,c)=>{var l,d,u;return r.value?(M(),K("div",rce,[y("div",nce,[r.value.coverImg?(M(),K("div",ace,[y("img",{src:r.value.coverImg,class:"rounded-lg w-20 h-20 mr-5",alt:"app-image"},null,8,ice)])):(M(),K("div",{key:1,class:Me([o(),"flex-shrink-0 dark:ring-gray-400 rounded-lg w-20 h-20 flex items-center justify-center mr-5"])},[y("span",Ace,X(r.value.name.slice(0,4)),1)],2)),y("div",oce,[y("div",sce,X((l=r.value)==null?void 0:l.name),1),y("div",cce,[y("p",null,X((d=r.value)==null?void 0:d.des),1)])])]),y("div",lce,[y("span",dce,X(w(Q)("app.sampleTemplate")),1),y("div",uce,[(M(!0),K(ot,null,Ht((u=r.value)==null?void 0:u.demoData,(_,p)=>(M(),K("div",{key:p,class:"border dark:border-[#ffffff17] px-3 py-1 rounded-md mb-2 flex justify-between items-center cursor-pointer transition hover:border-[#5a91fc] hover:text-[#5a91fc]",onClick:g=>A(_)},[pce,y("div",gce,X(_),1),D(w(Na),{class:"w-6 text-xl",icon:"material-symbols:tips-and-updates-outline"})],8,_ce))),128))])])])):ne("",!0)}}}),Ece={class:"sticky top-0 left-0 right-0 z-30 border-b-gray-100 dark:border-neutral-800 bg-white dark:bg-gray-900 h-14"},Sce={class:"relative flex items-center justify-center min-w-0 h-full"},fce={class:"max-w-screen-4xl flex w-full h-full items-center px-4"},Cce={key:0,class:"flex items-center"},bce={class:"flex justify-between items-center h-full w-full"},Tce={class:"py-1"},hce={class:"py-1"},vce={class:"py-1"},Rce=["onClick"],Ice={href:"#",class:"flex items-center px-4 py-2 text-sm group-hover:bg-gray-100 dark:group-hover:bg-gray-700"},yce={class:"py-1"},Nce=ut({__name:"index",props:{usingContext:{type:Boolean}},emits:["export","toggleUsingContext","clear","scrollBtn"],setup(t,{emit:e}){const r=mn(),n=il(),a=Nt(),i=j([]),A=pm(),o=j(null);let s=j({}),c=j([]);W(()=>I());const l=W(()=>n.theme==="dark"),d=W(()=>n.siderCollapsed),u=W(()=>a.active),_=W(()=>r.isLogin);En(),W(()=>a.usingNetwork);const{isMobile:p}=Ot(),g=W(()=>a.getChatByGroupInfo()),S=W(()=>g!=null&&g.value?g.value.appId:0);mt(S,O=>{O?E(O):o.value=null},{immediate:!0});async function E(O){const G=await _m({id:O});o.value=G.data}const f=W(()=>{try{return JSON.parse(g.value.config)}catch{return{}}}),R=W(()=>{var O,G;return g.value.appId&&(((O=f.value.modelInfo)==null?void 0:O.isFixedModel)===1||((G=f.value.modelInfo)==null?void 0:G.isGPTs)===1)}),h=W(()=>{var O;return Number((O=r.globalConfig)==null?void 0:O.signInStatus)===1});function I(){const O=Nt();if(!O.activeConfig)return;const{modelInfo:G}=O.activeConfig;if(G)return`${G.modelName}`}function m(){n.setSiderCollapsed(!d.value)}function C(){const O=l.value?"light":"dark";n.setTheme(O)}async function T(O){const{modelInfo:G,fileInfo:H}=a.activeConfig,{isGPTs:B,isFixedModel:k,modelName:x,modelAvatar:N}=G,P={modelInfo:{keyType:O.keyType,modelName:g.value.appId?x:O.label,model:O.value,deductType:O.deductType,deduct:O.deduct,isFileUpload:O.isFileUpload,modelAvatar:N,isGPTs:B,isFixedModel:k},fileInfo:H||{}},Y={groupId:u.value,config:JSON.stringify(P)};await gm(Y),await a.queryMyGroup()}async function v(){try{const O=await CS();if(!O.success)return;const{modelMaps:G,modelTypeList:H}=O.data;s.value=G,c.value=H;const k=Object.values(G).flat().filter(x=>x.keyType!==3);i.value=k.map(x=>({label:x.modelName,value:x.model,deductType:x.deductType,keyType:x.keyType,deduct:x.deduct,isFileUpload:x.isFileUpload}))}catch(O){console.error("Error in queryModelsList:",O)}}function L(){if(!_.value){r.setLoginDialog(!0);return}A.updateSignInDialog(!0)}return tr(()=>{v()}),(O,G)=>(M(),K("header",Ece,[y("div",Sce,[y("div",fce,[w(p)?(M(),K("div",Cce,[y("button",{class:"flex items-center justify-center w-5 h-full dark:text-gray-400 text-gray-700",onClick:m},[D(w(kS),{theme:"outline",size:"24"})])])):ne("",!0),y("div",bce,[R.value?(M(),ue(w(rn),{key:0,as:"div",class:"relative flex-1 flex ele-drag items-center h-full dark:bg-gray-900"},{default:ie(()=>[y("div",null,[y("div",Tce,[D(w(tn),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-700"},{default:ie(()=>[Et(X(g.value.title),1)]),_:1})])])]),_:1})):(M(),ue(w(rn),{key:1,as:"div",class:"relative flex-1 flex ele-drag items-center h-full dark:bg-gray-900"},{default:ie(()=>[y("div",null,[y("div",hce,[D(w(tn),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-700"},{default:ie(()=>[Et(X(f.value.modelInfo.modelName)+" ",1),D(w(OS),{size:"18"})]),_:1})])]),D(da,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:ie(()=>[D(w(_a),{class:"absolute left-0 top-full z-10 origin-top-left divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:ie(()=>[y("div",vce,[(M(!0),K(ot,null,Ht(i.value,(H,B)=>(M(),ue(w(wr),{key:B},{default:ie(()=>[y("div",{class:"group",onClick:k=>T(H)},[y("a",Ice,X(H.label),1)],8,Rce)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})),D(w(rn),{as:"div",class:"relative inline-block text-left"},{default:ie(()=>[y("div",null,[D(w(tn),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-700"},{default:ie(()=>[D(w(xS),{size:"24"})]),_:1})]),D(da,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:ie(()=>[D(w(_a),{class:"absolute right-0 z-10 mt-2 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:ie(()=>[y("div",yce,[D(w(wr),null,{default:ie(({active:H})=>[y("a",{href:"#",class:Me([H?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:G[0]||(G[0]=B=>w(A).updateGoodsDialog(!0))},[D(w(DS),{theme:"outline",size:"16",class:"mr-2"}),Et(" "+X(w(Q)("chat.pointsMall")),1)],2)]),_:1}),D(w(wr),null,{default:ie(({active:H})=>[y("a",{href:"#",class:Me([H?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:C},[D(w(QS),{theme:"outline",size:"16",class:"mr-2"}),Et(" "+X(w(Q)("chat.toggleTheme")),1)],2)]),_:1}),h.value?(M(),ue(w(wr),{key:0},{default:ie(({active:H})=>[y("a",{href:"#",class:Me([H?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:L},[D(w(wS),{theme:"outline",size:"16",class:"mr-2"}),Et(" "+X(w(Q)("chat.signInReward")),1)],2)]),_:1})):ne("",!0)])]),_:1})]),_:1})]),_:1})])])])]))}});function Oce(){const t=Nt();return{addGroupChat:a=>{t.addGroupChat(a)},updateGroupChat:(a,i)=>{t.updateGroupChat(a,i)},updateGroupChatSome:(a,i)=>{t.updateGroupChatSome(a,i)}}}function Bce(){function t(){document.querySelectorAll(".code-block-wrapper").forEach(r=>{const n=r.querySelector(".code-block-header__copy"),a=r.querySelector(".code-block-body");n&&a&&n.addEventListener("click",()=>{var i;(i=navigator.clipboard)!=null&&i.writeText?navigator.clipboard.writeText(a.textContent??""):Sm({text:a.textContent??"",origin:!0})})})}tr(()=>t()),Lc(()=>t())}function wce(t,e){let r=!1;return function(){r||(t(),r=!0,setTimeout(()=>{r=!1},e))}}function Dce(){const t=j(null),e=async()=>{let i=0,A=Date.now();A-i>1e3&&(i=A,await ua(),t.value&&(t.value.scrollTop=t.value.scrollHeight))},r=async()=>{await ua(),t.value&&(t.value.scrollTop=0)},n=wce(a,100);async function a(){t.value&&t.value.scrollHeight-t.value.scrollTop-t.value.clientHeight<=300&&(t.value.scrollTop=t.value.scrollHeight)}return{scrollRef:t,scrollToBottom:e,scrollToTop:r,scrollToBottomIfAtBottom:n}}function Lce(){const t=En(),e=Nt(),r=W(()=>e.usingContext);function n(){e.setUsingContext(!r.value),r.value?t.success(Q("chat.turnOnContext")):t.warning(Q("chat.turnOffContext"))}return{usingContext:r,toggleUsingContext:n}}const xce={class:"h-full flex flex-col bg-white dark:bg-gray-900 pb-2"},Mce={class:"flex-1 overflow-hidden"},Uce={key:1,class:"flex justify-center items-center"},Fce={key:2},kce={class:"sticky bottom-0 left-0 flex justify-center mb-1 p-1"},Pce={class:"flex justify-between items-end w-full bg-transparent"},Qce={key:0,class:"flex flex-nowrap overflow-x-auto scrollbar-hide ml-2"},Gce=["onClick"],Hce=y("div",{class:"flex-1 bg-transparent"},null,-1),Yce=y("div",{class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},null,-1),Vce={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},Kce={class:"py-1"},qce=["onClick"],Wce={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},zce={class:"flex flex-1 justify-center"},$ce={class:"w-28"},Xce={class:"py-1"},Zce=["onClick"],Jce={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},jce={class:"flex flex-1 justify-center"},ele={class:"w-28"},tle={key:0,class:"self-start w-full"},rle={class:"px-2 flex items-center justify-start bg-gray-50 rounded-t-lg h-12 text-gray-700 dark:text-gray-400"},nle={class:"text-gray-500"},ale={key:1,class:"relative inline-block ml-2 mt-2 group"},ile=["src"],Ale={class:"flex justify-between flex-grow w-full py-2 px-2"},ole={class:"flex justify-start items-end"},sle={class:"flex flex-grow items-center justify-center"},cle=["placeholder"],lle={class:"flex justify-end items-end"},dle=["disabled"],ule={key:0,class:"w-full flex justify-center items-center py-1 text-sm text-gray-500"},_le={class:"transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 ml-2",href:"https://beian.miit.gov.cn",target:"_blank"},ple="1.5rem",gle=ut({__name:"chatBase",setup(t){const e=pm(),r=mn(),n=mm();let a=new AbortController;const i=bS(),A=En(),o=il(),s=j(),c=Nt(),l=j(!1),d=j(!0),u=j(!1),_=j(!0),{addGroupChat:p,updateGroupChat:g,updateGroupChatSome:S}=Oce(),E=W(()=>n.query.trade_status),f=W(()=>n.query.token);Bce();const R=W(()=>r.isLogin),{isMobile:h}=Ot(),{scrollRef:I,scrollToBottom:m,scrollToBottomIfAtBottom:C}=Dce(),{usingContext:T,toggleUsingContext:v}=Lce(),L=W(()=>c.usingNetwork),O=W(()=>c.chatList),G=j(null),H=j(!1),B=W(()=>r.globalConfig),k=W(()=>{var U,F;return((U=B.value)==null?void 0:U.companyName)&&((F=B.value)==null?void 0:F.filingNumber)}),x=W(()=>O.value.filter(U=>!U.inversion&&!U.error)),N=W(()=>{var F;const U=x.value.filter(Ae=>{var ge;return(ge=Ae.conversationOptions)==null?void 0:ge.parentMessageId});return(F=U[U.length-1])==null?void 0:F.conversationOptions});function P(U){const F=U.target||U,Ae=8;F.style.height="1.5rem";const ve=F.scrollHeight/F.value.split(` -`).length*Ae;F.style.height=Math.min(F.scrollHeight,ve)+"px"}tr(()=>{J.value&&(J.value.style.height=ple,P({target:J.value}))});const Y=j(""),Z=j(!1),J=j(null),_e=j(!0);j(null);const le=j("");j(null);const Ee=j(!1);j(!1);const re=j({size:"",style:""});j(),j(!1);const se=W(()=>c.active);j("default");const ce=j([{id:"default",title:Q("chat.square"),values:"1024x1024",aspectRatio:"1024 / 1024"},{id:"landscape",title:Q("chat.landscape"),values:"1792x1024",aspectRatio:"1792 / 1024"},{id:"portrait",title:Q("chat.portrait"),values:"1024x1792",aspectRatio:"1024 / 1792"}]),pe=j([{id:"square",title:Q("chat.square1"),values:"1:1",aspectRatio:"1 / 1"},{id:"illustration",title:Q("chat.illustration"),values:"4:3",aspectRatio:"4 / 3"},{id:"wallpaper",title:Q("chat.wallpaper"),values:"16:9",aspectRatio:"16 / 9"},{id:"media",title:Q("chat.media"),values:"3:4",aspectRatio:"3 / 4"},{id:"poster",title:Q("chat.poster"),values:"9:16",aspectRatio:"9 / 16"}]),he=j([{title:Q("chat.imageToImage"),values:"imageToImage"},{title:Q("chat.faceConsistency"),values:"faceConsistency"},{title:Q("chat.styleConsistency"),values:"styleConsistency"}]),ye=(U,F=16)=>{const[Ae,ge]=U.split(" / ").map(Number),ve=Ae/ge;return ge>Ae?{width:`${F*ve}px`,height:`${F}px`}:{width:`${F}px`,height:`${F/ve}px`}},Ne=j([]),ke=W(()=>c.active),De=W(()=>c.getChatByGroupInfo()),Se=W(()=>{var F;const U=(F=De.value)==null?void 0:F.config;if(!U)return console.error("config字符串未定义或为空"),{};try{return JSON.parse(U)}catch(Ae){return console.error("解析config字符串时出错:",Ae),{}}}),xt=W(()=>{var U,F;return String(((F=(U=Se==null?void 0:Se.value)==null?void 0:U.fileInfo)==null?void 0:F.fileParsing)||"")}),Pe=W(()=>{var U,F;return String(((F=(U=Se==null?void 0:Se.value)==null?void 0:U.fileInfo)==null?void 0:F.fileName)||"")}),Ct=W(()=>{var U,F;return String(((F=(U=Se==null?void 0:Se.value)==null?void 0:U.modelInfo)==null?void 0:F.model)??"")}),bt=W(()=>String(Se==null?void 0:Se.value.modelInfo.modelName)),ee=W(()=>Number(Se==null?void 0:Se.value.modelInfo.keyType)),Mt=W(()=>{var U,F;return Number((F=(U=Se==null?void 0:Se.value)==null?void 0:U.modelInfo)==null?void 0:F.isFileUpload)}),Ie=W(()=>{var U;return String(((U=Se==null?void 0:Se.value.modelInfo)==null?void 0:U.modelAvatar)||"")}),fe=W(()=>[1,2].includes(Mt.value)),_t=W(()=>Ct.value==="dall-e-3"),Ze=W(()=>Ct.value==="midjourney"),Ye=j(ce.value[0]);j(he.value[0]);function Ve(){var ge;const F=((ge=B.value)==null?void 0:ge.drawingStyles.split(",")).sort(()=>.5-Math.random()),Ae=h.value?3:5;Ne.value=F.slice(0,Ae)}tr(()=>{Ve()});function V(U){Y.value&&/,\s*$/.test(Y.value)?Y.value+=` ${U}`:Y.value?Y.value+=`, ${U}`:Y.value=`${U} ,`,J.value.focus(),J.value.scrollTop=J.value.scrollHeight}const $=W(()=>De!=null&&De.value?De.value.appId:0),te=j(""),oe=j(""),we=j(""),Ke=W(()=>e.clipboardText),ir=j("/api/upload/file");W(()=>{const U=Ye.value.values.split("x").map(Number),F=U[0],Ae=U[1];let ge={};return F>=Ae?ge={width:"100%",height:`${100*(Ae/F)}%`}:ge={height:"100%",width:`${100*(F/Ae)}%`},ge});const nt=j("");let Tt;mt(Ke,U=>{var F;Y.value=U,(F=J.value)==null||F.focus(),J.value.scrollTop=J.value.scrollHeight}),mt(ke,U=>{var F;U&&(_e.value=!0),J.value&&!h.value&&((F=J.value)==null||F.focus())},{immediate:!0}),mt(O,U=>{U.length!==0&&_e.value&&(_e.value=!1,m())},{immediate:!0}),mt(I,()=>{Ar()},{flush:"post"});function Ar(){const U=s.value.getBoundingClientRect();Ee.value=U.top{if(U.id==="custom"){const F=`${te.value}:${oe.value}`;Ye.value={...U,values:F,aspectRatio:`${te.value} / ${oe.value}`},re.value.size=F}else Ye.value=U,re.value.size=U.values};function Ut(U){Y.value=U,Ft()}function ht(){s.value.scrollIntoView({behavior:"smooth"})}async function Ft(U){if(c.groupList.length===0||Z.value||!d.value)return;let F="";U!==void 0&&typeof U=="number"&&(F=O.value[U].text??""),Rn({msg:F,action:"IMAGINE"})}async function ei(U){var ae;console.log("文件上传");const F=(ae=U==null?void 0:U.target)==null?void 0:ae.files[0];if(!F)return;let Ae=F.name;const ge=25,ve=Ae.split(".").pop();Ae.length>ge&&(Ae=Ae.substring(0,ge-ve.length-1)+"…."+ve),F.type.startsWith("image/")?(_.value=!1,hn(F),await Gr({fileName:Ae})):(_.value=!0,hn(F),await Gr({fileName:Ae}))}function ti(){G.value.click()}async function hn(U){Tt=U;const F=new FileReader;F.onload=Ae=>{var ge;nt.value=(ge=Ae.target)==null?void 0:ge.result},F.readAsDataURL(U)}async function vn(){console.log("清空文件"),nt.value="",await Gr({fileParsing:"",fileName:""}),Tt=null}async function ri(){var U;H.value=!0;try{const F=new FormData;Tt&&F.append("file",Tt);const Ae=await hS.post(ir.value,F,{headers:{"Content-Type":"multipart/form-data"}});return(U=Ae==null?void 0:Ae.data)==null?void 0:U.data}catch{return null}finally{H.value=!1,nt.value="",Tt=null}}async function Gr(U){const{modelInfo:F,fileInfo:Ae}=c.activeConfig,ge={modelInfo:{...F},fileInfo:{fileParsing:U.fileParsing!==void 0?U.fileParsing:Ae==null?void 0:Ae.fileParsing,fileName:U.fileName!==void 0?U.fileName:Ae==null?void 0:Ae.fileName}},ve={groupId:se.value,config:JSON.stringify(ge)};console.log("修改对话组模型配置"),await gm(ve),await c.queryMyGroup()}async function Rn(U){console.log("usingNetwork的值是:",L.value);const{msg:F,action:Ae,drawId:ge,customId:ve,model:ae,modelName:at,modelType:Kt}=U;let fr=null;console.log(),(nt.value||Tt)&&(console.log("正在检查是否需要上传文件或解析文件..."),Mt.value!==0&&(console.log("开始执行上传文件逻辑..."),fr=await ri(),console.log("开始执行文件解析逻辑..."),console.log("文件解析完成")));let Je=F||Y.value;if(le.value&&!Je.includes(le.value)&&(Je=`${le.value} -${Je}`),Z.value)return;a=new AbortController;const vt=ae||(c==null?void 0:c.activeModel),or=at||bt.value,In=Kt||ee.value;vt==="midjourney"&&re.value.size&&!Je.includes("--ar")&&(Je=`${Je} --ar ${re.value.size}`);const _i={usingNetwork:L.value},pi=JSON.stringify(_i);p({dateTime:new Date().toLocaleString(),text:Je,model:vt,modelName:or,modelType:In,inversion:!0,fileInfo:fr,error:!1,conversationOptions:null,requestOptions:{prompt:Je,options:null}}),m(),Z.value=!0,Y.value="",ua(()=>{J.value&&P(J.value)});let qt={groupId:+ke.value,usingNetwork:L.value,fileParsing:xt.value};N.value&&T.value&&!L.value&&(qt={...N.value,...qt}),p({dateTime:new Date().toLocaleString(),text:"",model:vt,modelName:or,modelType:In,loading:!0,inversion:!1,error:!1,conversationOptions:null,pluginParam:pi,status:2}),m();const gi=null;let Be=null;l.value=!0,e.updateIsChatIn(!0);try{await(async()=>{if(vt==="dall-e-3"||vt==="midjourney"||vt.includes("suno")||vt==="stable-diffusion"){const je=await Ql({prompt:Je,fileInfo:fr,model:vt,modelName:or,modelType:2,action:Ae,drawId:ge,customId:ve,options:qt,extraParam:re.value,signal:a.signal});if(je){const yn=je.modelName,Cr=je.model||null,Hr=je.drawId||null,Nn=je.customId||null,Yr=je.text,Pt=je.status,mi=je.fileInfo||null,On=je.userBalance||null,Ei=O.value.length-1;g(Ei,{text:Yr,model:Cr,modelType:2,modelName:yn,inversion:!1,drawId:Hr,customId:Nn,error:!1,loading:!1,fileInfo:mi,status:Pt}),m(),Object.keys(On).length&&r.updateUserBalance(On);return}else return}let kt="",pt=0;try{await Ql({model:Ct.value,modelName:or,modelType:ee.value,prompt:Je,fileInfo:fr,appId:De.value?De.value.appId:0,options:qt,signal:a.signal,onDownloadProgress:({event:je})=>{const Cr=je.target.responseText,Hr=Cr.substring(pt);pt=Cr.length,Hr.trim().split(` -`).forEach(Yr=>{try{const Pt=JSON.parse(Yr);Pt.userBalance&&r.updateUserBalance(Pt.userBalance),Pt.text&&(kt+=Pt.text)}catch{}}),g(O.value.length-1,{chatId:Be==null?void 0:Be.chatId,text:kt,modelType:1,modelName:or,error:!1,loading:!0,fileInfo:Be==null?void 0:Be.fileInfo,requestOptions:{prompt:Je,options:{...qt}}}),m()}})}catch{}finally{e.updateIsChatIn(!1),d.value=!0,S(O.value.length-1,{loading:!1})}})()}catch(qe){e.updateIsChatIn(!1),clearInterval(gi),l.value=!1,(qe.code===402||qe!=null&&qe.message.includes("余额不足")||qe!=null&&qe.message.includes("免费额度已经使用完毕"))&&(R.value?e.updateGoodsDialog(!0):r.setLoginDialog(!0));let kt=(qe==null?void 0:qe.message)??Q("common.wrong");if(kt==="Request failed with status code 401"&&(kt="非法操作、请先登录后再进行问答使用!"),qe!=null&&qe.message.includes("canceled")){S(O.value.length-1,{loading:!1}),C(),setTimeout(()=>{r.getUserBalance()},200);return}const pt=O.value[O.value.length-1];if(pt!=null&&pt.text&&pt.text!==""){S(O.value.length-1,{text:`${pt.text===""?"":pt.text} -[${kt}]`,error:!1,loading:!1});return}g(O.value.length-1,{chatId:Be==null?void 0:Be.chatId,ttsUrl:Be==null?void 0:Be.ttsUrl,status:Be==null?void 0:Be.status,dateTime:new Date().toLocaleString(),text:kt,inversion:!1,error:!0,loading:!1,fileInfo:Be==null?void 0:Be.fileInfo,pluginParam:Be==null?void 0:Be.pluginParam,conversationOptions:null,requestOptions:{prompt:Je,options:{...qt}}}),C()}finally{c.queryActiveChatLogList(),Z.value=!1,l.value=!1,d.value=!0,c.queryMyGroup(),m()}}async function ni(U){r.setToken(U),Gl.replace({name:"Chat",query:{}}),A.success("账户登录成功、开始体验吧!"),r.getUserInfo()}function ai(){E.value.toLowerCase().includes("success")?(A.success("感谢你的购买、祝您使用愉快~",{duration:5e3}),r.getUserInfo(),Gl.replace({name:"Chat",query:{}})):A.error("您还没有购买成功哦~")}function ii(){if(Z.value)return;const U=i.warning({title:Q("chat.exportImage"),content:Q("chat.exportImageConfirm"),positiveText:Q("common.yes"),negativeText:Q("common.no"),onPositiveClick:async()=>{try{U.loading=!0;const F=document.getElementById("image-wrapper"),ge=(await gv(F,{useCORS:!0})).toDataURL("image/png"),ve=document.createElement("a");ve.style.display="none",ve.href=ge,ve.setAttribute("download","chat-shot.png"),typeof ve.download>"u"&&ve.setAttribute("target","_blank"),document.body.appendChild(ve),ve.click(),document.body.removeChild(ve),window.URL.revokeObjectURL(ge),U.loading=!1,A.success(Q("chat.exportSuccess")),Promise.resolve()}catch{A.error(Q("chat.exportFailed"))}finally{U.loading=!1}}})}function Ai({chatId:U}){Z.value||i.warning({title:Q("chat.deleteMessage"),content:Q("chat.deleteMessageConfirm"),positiveText:Q("common.yes"),negativeText:Q("common.no"),onPositiveClick:()=>{c.deleteChatById(U)}})}function oi(){Z.value||i.warning({title:Q("chat.clearChat"),content:Q("chat.clearChatConfirm"),positiveText:Q("common.yes"),negativeText:Q("common.no"),onPositiveClick:async()=>{await c.clearChatByGroupId(),A.success("删除当前页面对话完成")}})}function si(U){h.value?U.key==="Enter"&&U.ctrlKey&&(U.preventDefault(),Ft()):U.key==="Enter"&&!U.shiftKey&&(U.preventDefault(),Ft())}function ci(){a.abort(),Z.value=!1,l.value=!1,d.value=!0}mt([te,oe],([U,F],[Ae,ge])=>{U&&F&&(U!==Ae||F!==ge)&&(me({id:"custom",title:`${U}:${F}`,values:`${U}:${F}`,aspectRatio:`${U} / ${F}`}),we.value=`${te.value} / ${oe.value}`)});const li=W(()=>h.value?Q("chat.placeholderMobile"):Q("chat.placeholder")),di=W(()=>Z.value||!Y.value||Y.value.trim()===""||!d.value);tr(async()=>{c.queryChatPre(),f.value&&ni(f.value),E.value&&ai(),R.value||r.setLoginDialog(!0),await ua(async()=>{var F;await c.queryActiveChatLogList(),m(),J.value&&!h.value&&((F=J.value)==null||F.focus())});const U=I.value;U&&U.addEventListener("scroll",()=>{Ar()})});const ui=W(()=>o.theme==="dark");return la(()=>{Z.value&&a.abort(),window.removeEventListener("scroll",Ar)}),Em("onConversation",Rn),(U,F)=>{var ge,ve;const Ae=Sn("Button");return M(),K("div",xce,[D(Nce,{"using-context":w(T),"dark-mode":ui.value,onExport:ii,onToggleUsingContext:w(v),onClear:oi,onScrollBtn:ht},null,8,["using-context","dark-mode","onToggleUsingContext"]),y("main",Mce,[y("div",{id:"scrollRef",ref_key:"scrollRef",ref:I,class:"relative h-full overflow-hidden overflow-y-auto scroll-smooth"},[y("div",{id:"image-wrapper",class:Me(["w-full m-auto dark:bg-gray-900 h-full mx-auto",[w(h)?"p-2":"p-12 w-full"]]),style:{maxWidth:"64rem"}},[!O.value.length&&!$.value?(M(),K("div",{key:0,class:Me(["flex justify-center items-center text-center",[w(h)?"h-full":"h-4/5 "]])},[D(tce,{onPrompt:Ut})],2)):ne("",!0),!O.value.length&&$.value?(M(),K("div",Uce,[D(mce,{appId:$.value,onPrompt:Ut},null,8,["appId"])])):ne("",!0),O.value.length?(M(),K("div",Fce,[(M(!0),K(ot,null,Ht(O.value,(ae,at)=>(M(),ue(w(Kse),{chatId:ae.chatId,"date-time":ae.dateTime,text:ae.text,model:ae.model,modelType:ae.modelType,modelName:ae.modelName,modelAvatar:Ie.value,status:ae.status,isLastMessage:at===ae.length-1,fileInfo:ae.fileInfo,ttsUrl:ae.ttsUrl,inversion:ae.inversion,error:ae.error,loading:ae.loading,drawId:ae.drawId,customId:ae.customId,usingNetwork:ae.usingNetwork,pluginParam:ae.pluginParam,onRegenerate:Kt=>Ft(at),onDelete:Kt=>Ai(ae)},null,8,["chatId","date-time","text","model","modelType","modelName","modelAvatar","status","isLastMessage","fileInfo","ttsUrl","inversion","error","loading","drawId","customId","usingNetwork","pluginParam","onRegenerate","onDelete"]))),256)),y("div",kce,[Ee.value?ne("",!0):(M(),ue(Ae,{key:0,class:"bg-white rounded-full p-1 ring-1 text-gray-700 ring-gray-200 dark:ring-gray-600 dark:bg-gray-800 dark:text-gray-500",onClick:ht},{default:ie(()=>[D(w(GS),{class:"h-5 w-5 font-bold"})]),_:1}))])])):ne("",!0),y("div",{ref_key:"bottomContainer",ref:s,class:"bottom"},null,512)],2)],512)]),y("footer",{class:Me(["flex flex-col items-center justify-center w-full",[w(h)?"px-2":"px-10 "]])},[y("div",{class:Me(["flex pb-2 justify-center w-full flex-col m-auto rounded-lg px-0 text-gray-900 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none",[w(h)?" mx-2":" pt-1 mx-10 "]]),style:{maxWidth:"64rem"}},[y("div",Pce,[_t.value||Ze.value?(M(),K("div",Qce,[(M(!0),K(ot,null,Ht(Ne.value,(ae,at)=>(M(),K("button",{key:at,onClick:Kt=>V(ae),class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 px-2 py-1 my-1 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-900 dark:hover:text-gray-400 whitespace-nowrap"},X(ae),9,Gce))),128)),y("button",{onClick:Ve,class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 px-2 py-2 my-1 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-900 dark:hover:text-gray-400"},[D(w(PS),{theme:"outline",size:"16",class:"my-4"})])])):ne("",!0),Hce,Yce,y("div",Vce,[_t.value?(M(),ue(w(rn),{key:0,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:ie(()=>[D(w(tn),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:ie(()=>[Et(X(w(Q)("chat.size")+Ye.value.title),1)]),_:1}),D(da,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:ie(()=>[D(w(_a),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:ie(()=>[y("div",Kce,[(M(!0),K(ot,null,Ht(ce.value,(ae,at)=>(M(),ue(w(wr),{key:at},{default:ie(()=>[y("div",{class:"group flex items-center",onClick:Kt=>me(ae)},[y("a",Wce,[y("div",zce,[y("div",{style:mr(ye(ae.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),y("div",$ce,X(ae.title),1)])],8,qce)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ne("",!0),Ze.value?(M(),ue(w(rn),{key:1,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:ie(()=>[D(w(tn),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:ie(()=>[Et(X(w(Q)("chat.size")+Ye.value.title),1)]),_:1}),D(da,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:ie(()=>[D(w(_a),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:ie(()=>[y("div",Xce,[(M(!0),K(ot,null,Ht(pe.value,(ae,at)=>(M(),ue(w(wr),{key:at},{default:ie(()=>[y("div",{class:"group flex items-center",onClick:Kt=>me(ae)},[y("a",Jce,[y("div",jce,[y("div",{style:mr(ye(ae.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),y("div",ele,X(ae.title),1)])],8,Zce)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ne("",!0)])])],2),y("div",{class:Me(["flex mb-2 w-full justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-primary-800 dark:ring-primary-800 dark:bg-gray-800",[w(h)?" mx-2":" mx-10 "]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[nt.value||xt.value?(M(),K("div",tle,[y("div",{class:"relative group",onMouseover:F[2]||(F[2]=ae=>u.value=!0),onMouseleave:F[3]||(F[3]=ae=>u.value=!1)},[_.value?(M(),K(ot,{key:0},[y("div",rle,[y("span",nle,X(Pe.value),1)]),y("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[0]||(F[0]=ae=>vn())},[D(w(Hl),{class:"rounded-full h-5 w-5"})])],64)):(M(),K("div",ale,[y("img",{src:nt.value,class:"max-h-16 border border-gray-300 rounded-lg",alt:"预览图片"},null,8,ile),y("div",{class:"absolute top-2 right-0 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[1]||(F[1]=ae=>vn())},[D(w(Hl),{class:"rounded-full h-5 w-5"})])]))],32)])):ne("",!0),y("div",Ale,[y("div",ole,[fe.value&&!H.value&&!H.value?(M(),ue(w(MS),{key:0,size:"24",class:"p-1 text-gray-400 dark:text-gray-600 dark:hover:text-gray-500",onClick:ti})):ne("",!0),H.value?(M(),ue(w(US),{key:1,size:"24",class:"p-1 rotate-icon text-gray-400 dark:text-gray-600 hover:text-gray-500"})):ne("",!0),y("input",{ref_key:"fileInput",ref:G,type:"file",class:"hidden",onChange:ei,accept:"image/*, application/pdf, text/plain, text/html, text/css, text/csv, application/xml, application/vnd.ms-excel, application/x-sh, application/javascript, application/xslt+xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document"},null,544)]),y("div",sle,[dm(y("textarea",{ref_key:"inputRef",ref:J,"onUpdate:modelValue":F[4]||(F[4]=ae=>Y.value=ae),placeholder:li.value,class:"w-full border-0 text-gray-800 placeholder:text-gray-400 dark:placeholder:text-gray-500 bg-transparent text-md leading-6 resize-none dark:text-gray-400 px-2",onInput:P,onKeypress:si,style:{maxHeight:"30vh",minHeight:"1.5rem"}},null,40,cle),[[TS,Y.value]])]),y("div",lle,[l.value?(M(),K("button",{key:1,type:"button",class:"rounded-md bg-primary-600 text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 hover:bg-primary-500 dark:bg-primary-900 hover:dark:border-primary-500 dark:hover:bg-primary-800 dark:text-gray-400",onClick:F[6]||(F[6]=ae=>ci())},[D(w(VS),{class:"h-4 w-4"})])):(M(),K("button",{key:0,type:"button",class:Me(["rounded-md text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 hover:bg-primary-500 dark:bg-primary-900 hover:dark:border-primary-500 dark:hover:bg-primary-800 dark:text-gray-400",{"bg-primary-600":Y.value,"bg-primary-200":!Y.value}]),disabled:di.value,onClick:F[5]||(F[5]=ae=>Ft())},[D(w(YS),{class:"h-4 w-4"})],10,dle))])])],2)],2),k.value&&!w(h)?(M(),K("div",ule,[Et(X(w(Q)("chat.generatedContentDisclaimer"))+" "+X((ge=B.value)==null?void 0:ge.companyName)+" ",1),y("a",_le,X((ve=B.value)==null?void 0:ve.filingNumber),1)])):ne("",!0)])}}});const mle={class:"w-full h-full flex justify-center items-center flex-col bg-white dark:bg-gray-900"},Ele={class:"mb-4 text-2xl font-bold mt-1"},Sle={class:"mb-6 text-base text-slate-500"},fle=ut({__name:"index",setup(t){const e=sm("createNewChatGroup",()=>Promise.resolve());return(r,n)=>(M(),K("div",mle,[D(w(Na),{icon:"tabler:message",class:"mb-4 inline-block text-6xl text-primary-600"}),y("h1",Ele,X(w(Q)("chat.chatDialogue")),1),y("p",Sle,X(w(Q)("chat.startNewConversationPrompt")),1),y("button",{onClick:n[0]||(n[0]=a=>w(e)()),class:"bg-primary-500 hover:bg-primary-600 dark:bg-gray-800 dark:hover:bg-gray-700 py-2 px-4 text-white rounded-md"},X(w(Q)("chat.newConversation")),1)]))}}),Cle={class:"h-full bg-white dark:bg-gray-900 transition-all"},ble={class:"w-full flex-1"},Ble=ut({__name:"chat",setup(t){const e=mm(),r=um(),n=il(),a=Nt(),i=mn(),{isMobile:A}=Ot(),o=W(()=>i.isLogin),s=W(()=>n.siderCollapsed),c=W(()=>a.groupList),l=W(()=>e.query.appId);mt(o,async(S,E)=>{S&&!E&&await a.queryMyGroup()});const d=W(()=>A.value?["rounded-none","shadow-none"]:["rounded-md","shadow-md","dark:border-neutral-800"]),u=W(()=>a.groupList.find(E=>E.uuid===a.active)),_=W(()=>u!=null&&u.value?u.value.appId:0),p=W(()=>["h-full",{"pl-[260px]":!A.value&&!s.value}]);async function g(S){try{if(S&&S>0)a.addNewChatGroup(S);else if(a.activeConfig&&a.activeConfig.modelInfo&&!_){const{modelInfo:E}=a.activeConfig,f={modelInfo:E};await a.addNewChatGroup(0,f)}else await a.addNewChatGroup();await a.queryMyGroup(),A.value&&n.setSiderCollapsed(!0)}catch(E){console.error(E)}}return Em("createNewChatGroup",g),mt(l,async(S,E)=>{if(S){const f=+S;r.replace({path:"/chat",query:{}}),g(f)}},{immediate:!0}),(S,E)=>(M(),K("div",Cle,[y("div",{class:Me(["h-full overflow-hidden",d.value])},[D(w(vS),{class:Me(["z-40 transition",p.value]),"has-sider":""},{default:ie(()=>[D(BS,{class:"h-full"}),y("div",ble,[c.value.length?ne("",!0):(M(),ue(fle,{key:0})),c.value.length?(M(),ue(gle,{key:1})):ne("",!0)])]),_:1},8,["class"])],2)]))}});export{Ble as default}; diff --git a/public/assets/chat-8fd922b8.css b/public/assets/chat-8fd922b8.css new file mode 100644 index 0000000..b73887e --- /dev/null +++ b/public/assets/chat-8fd922b8.css @@ -0,0 +1 @@ +@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.5);opacity:.5}}.breathing-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background-color:#000;animation:breathe 2s infinite}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}.loading-anchor:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;background-color:#000;border-radius:50%;animation:breathe 2s infinite ease-in-out;vertical-align:middle}.markdown-body{background-color:transparent;font-size:1rem;max-width:80vw}.markdown-body p{white-space:pre-wrap}.markdown-body ol{list-style-type:decimal}.markdown-body ul{list-style-type:disc}.markdown-body pre code,.markdown-body pre tt{line-height:1.65}.markdown-body .highlight pre,.markdown-body pre{background-color:#1f2937}.markdown-body code.hljs{padding:0}.markdown-body .code-block-wrapper{position:relative;padding-top:2rem;max-width:80vw;scrollbar-width:none;-ms-overflow-style:none}.markdown-body .code-block-wrapper::-webkit-scrollbar{display:none}.markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:space-between;align-items:center;color:#b3b3b3}.markdown-body .code-block-header__copy{cursor:pointer;margin-left:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.markdown-body .code-block-header__copy:hover{color:#65a665}.whitespace-pre-wrap{font-size:1rem}.rotate-icon{animation:rotateAnimation 3s linear infinite;transform-origin:center}@keyframes rotateAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::v-deep .rotate-icon{animation:rotateAnimation 1s linear infinite} diff --git a/public/assets/chat-8fd922b8.css.br b/public/assets/chat-8fd922b8.css.br new file mode 100644 index 0000000..03daf49 Binary files /dev/null and b/public/assets/chat-8fd922b8.css.br differ diff --git a/public/assets/chat-ba97c867.js b/public/assets/chat-ba97c867.js new file mode 100644 index 0000000..b64c7f5 --- /dev/null +++ b/public/assets/chat-ba97c867.js @@ -0,0 +1,29 @@ +import{w as Ze,a as Dt,t as X,G as $u,H as Cd,u as hd,I as Zu,A as Xu,J as Rd,e as vd,K as Ju,q as Nd,L as jo,M as es,o as ju}from"./index-d64a7cc4.js";import{u as ze}from"./useBasicLayout-a4f17bae.js";import{X as M,S as y,U as w,a3 as b,d as Ue,e as H,P as ep,M as O,F as De,c as rt,a as gt,w as Be,G as Ft,r as W,a5 as ee,a8 as Te,H as Ct,a6 as Qe,V as Ee,a4 as Z,f as Ve,y as Ad,k as qt,a7 as hn,Q as Id,a9 as tp,ab as np,v as rp,W as fe,n as It,z as wt,p as Od}from"./vue-10b4afc0.js";import{i as Rn,g as ap,e as Vt,t as yd,p as ip,d as op,Q as sp}from"./naive-ui-fedd20b1.js";import{r as lp,b as Dd,M as xd,t as cp,F as _p}from"./index-b71062e6.js";import{I as Fe,S as St,M as kt,b as Pt,g as ft}from"./menu-19bde8fc.js";import{C as Do}from"./Close-d2230b2f.js";import{_ as dp}from"./_plugin-vue_export-helper-c27b6911.js";import{c as Ld}from"./index-c94da121.js";import{_ as xo}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{D as up,_ as pp}from"./index.vue_vue_type_script_setup_true_lang-d25a7e27.js";import"./vueuse-motion-d4cdaf7b.js";function un(t){return Object.prototype.toString.call(t)==="[object String]"}const mp=Fe("check-one",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M16 24L22 30L34 18",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Ht=Fe("copy",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),zt=Fe("delete",!1,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M9 10V44H39V10H9Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M20 20V33",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M28 20V33",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M4 10H44",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),gp=Fe("download-one",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M11.6777 20.271C7.27476 21.3181 4 25.2766 4 30C4 35.5228 8.47715 40 14 40C14.9474 40 15.864 39.8683 16.7325 39.6221",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M36.0547 20.271C40.4577 21.3181 43.7324 25.2766 43.7324 30C43.7324 35.5228 39.2553 40 33.7324 40C32.785 40 31.8684 39.8683 30.9999 39.6221",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M36 20C36 13.3726 30.6274 8 24 8C17.3726 8 12 13.3726 12 20",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M17.0654 30.119L23.9999 37.0764L31.1318 30",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M24 20V33.5382",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Ep=Fe("edit-two",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),Sp=Fe("left",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M31 36L19 24L31 12",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),fp=Fe("link",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24.7073 9.56521L9.85801 24.4145C6.34329 27.9292 6.34329 33.6277 9.85801 37.1424V37.1424C13.3727 40.6571 19.0712 40.6571 22.5859 37.1424L40.2636 19.4647C42.6067 17.1216 42.6067 13.3226 40.2636 10.9794V10.9794C37.9205 8.63628 34.1215 8.63628 31.7783 10.9794L14.1007 28.6571C12.9291 29.8287 12.9291 31.7282 14.1007 32.8997V32.8997C15.2722 34.0713 17.1717 34.0713 18.3433 32.8997L33.1925 18.0505",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),bp=Fe("loading-four",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Tp=Fe("pause",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M16 12V36",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M32 12V36",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Cp=Fe("pause-one",!1,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M19 18V30",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M29 18V30",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),hp=Fe("play-one",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),Rp=Fe("refresh",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M42 8V24",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M6 24L6 40",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M42 24C42 14.0589 33.9411 6 24 6C18.9145 6 14.3216 8.10896 11.0481 11.5M6 24C6 33.9411 14.0589 42 24 42C28.8556 42 33.2622 40.0774 36.5 36.9519",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),vp=Fe("right",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M19 12L31 24L19 36",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Np=Fe("rotation",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,"stroke-dasharray":"2 6"},null)])}),Ap=Fe("shuffle-one",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M40 33L44 37L40 41",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M40 7L44 11L40 15",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M44 11H37C29.8203 11 24 16.8203 24 24C24 31.1797 29.8203 37 37 37H44",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap},null),M("path",{d:"M4 37H11C18.1797 37 24 31.1797 24 24C24 16.8203 18.1797 11 11 11H4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap},null)])}),Ip=Fe("voice-message",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M17 25.8994C18.1046 25.8994 19 25.004 19 23.8994C19 22.7948 18.1046 21.8994 17 21.8994C15.8954 21.8994 15 22.7948 15 23.8994C15 25.004 15.8954 25.8994 17 25.8994Z",fill:t.colors[2]},null),M("path",{d:"M21.9497 28.8492C23.2165 27.5825 24 25.8325 24 23.8995C24 21.9665 23.2165 20.2165 21.9497 18.9497",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M26.8994 33.799C29.4329 31.2655 30.9999 27.7655 30.9999 23.8995C30.9999 20.0335 29.4329 16.5335 26.8994 14",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])});function Op(t,e){return y(),w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})])}function yp(t,e){return y(),w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"})])}function Dp(t,e){return y(),w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 7.5A2.25 2.25 0 0 1 7.5 5.25h9a2.25 2.25 0 0 1 2.25 2.25v9a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-9Z"})])}function pn(t,e){return y(),w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}const xp=""+new URL("360logo-c09b4832.png",import.meta.url).href,Lp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjIzOjMyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz4QZKpRAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAlSSURBVGiB7VlrkFXFEf66e+ac+9hlAUUFUbBAJKJRAROUiKzxAUZUICqIG8QiVAwIVqICCSa4EcoNhRoQoyQVidb6QlF8giVYJWoMUdQEhSRGLYlRVpFll+U+zpnp/LhALqtZ7sol+bNf1al7qk9Pd3/3zPR0zwE60IEOdKAD/wdQOY2NvGBVVSrR/fsCqSAIhA2YA7DE79xb3+fhcvpqDVNOY2GYrgP8KIB7FCRa+PES1Vz56jv3LRuysZz+isHlMnTOFbNTzutlUvH2KRG1bPfewXkH7/Pw6q3P91h++VXryuavNcpi+OwLfs2J5iGr1eyc+fCyKxo8uRoPB+89nEbw3sHFfGwUy9nl8PdlKMvUIjnk5DiWnibV8hAAOPvRGo57biKf+BqRgScAQmLirssnTnx/CREpEYGZYIzCWCIWBjFBjVe1W+++Y/7gD9sVw4GSGD52aYLynTdaztQ8t3LiH/bIR1+yor9ER79NZJhFQAjAbMEUwhgBswEzg4xChAoyYZAQNNy5AeEnpy2qPTlfahwHPLVcxKMAjWPzyfpieRSn7/LOM/kY3sXwqoASVD28+n1sKBSqCu89FB5wdqBGVRe2J44DIvKNkXWdXWTryDSNWPvoTLdHfu7Y+werD8706hGrh6qCNAYQAeQLZHxBDgCquve+IDAgTS6YcdMrqVJjKXmNDBo2+0hxh/cmTSopAaTQPMbnseulV569+oM9et+Z+Lsw15i8w3uHCAoBwFCAFIQYUAuQoJCaFV4Lz4kUe9M1APKp3pTrNxvAjWUjMnRErc02p59X79PETVkAsCYNh9hp2PCtYt3Gxs+HJTTVJYb9m5gYngIIGRDnoGQgVqHMMGyhLBAhQICYBSQCZYCFobCG4a8qK5F81vzcO9Mfkp3nw3fnegA5w2Dj9fVnfuOKdcPK7Ws0pwO8NxBjABGABQqBEwOyIVgEHgwSA7EMZQMyBWJkuDAm33sK4C4tJT6ghKw1cOicQH3iY/VRVyL9FKlNfd5Yu7y5VAdfBdNqnxLJHr9ZKT9h0bz+6/c/Yj+L/eTqyazQu+BzXckrEGk3tBx79ylDp5W1RmsNbRkw30XJNaWSAPYztTR7RN84okkBBN7FgHfwyI7msPIwAFsPOOIvwdWzNiTIhVNItg5qz7g2icRxqsKwA8UMaARVAF4SUT7/4glnTTp+49p79lkfp190fUUyClMIOsMEIRErBASQwAQhiQTwqlBiSGJXdsWdUxpb+3SRUYb1ZDksG5EguWNjnAk3ADwQSihcFhxzP872rAbwfLE+xVXdKdf9LRdVJOOshXAKzAkwB0BWoBwUMpLAMX/yTQCvt/a5dOHXc9NnfXA7tPNPANSUSqTNNfLGi3V5STSPciQZIgaLgCmA+BDGpe889czrKor1X356zt9VaAnDgF0C4g3YCcQzxAtEGawCqLvnkd+e9wUSe9DpiB3ziMNB18x9vbosRADgzXW3/UusrmZmMBeaJSGBVT5WYzuptf4OfPBLx5xhJjAIzABBUZiXCqV8HkHD/Nbjam5YtjeWm689yceamc++R+21858tKbGUVKIkkrkJJPSZUADhACIWxB6MQ+cOOveadLHua8/VfkpB0xQhCxbdnd8VtDsckuYbHrt3xPvFY665eS1LfsDsYplNbnsA0Czl+0woG5GXX5i3ywX2V0xpgEOALUApMBJdQ9/v1tb61gSPg30DIYQyAUYB8VCKdxHrva31d27tPofjnnMm/+itwXtkt984yAnpTYyq+dfN/XS/G3fJRaNNbl1orHtXJACTBcHCkAHF4bgh597evVj3ucfG74RpuBCsMREBaqBQ523T5cvrh28v1v3eD1+qQFR1NcedEhR1W1z87NabjnxJJPsihw3X7S++dm1sQ4YvHEO+8lHxDAYVGiEKoNKywaaaTl371PV76/MLJ9RRvvHE9cmgy2BGAM+5TS7YesITD4zeq3Pl9D9RmOv2ILnKS5VT4CCjSH50hgmbXjVWYAyBtUsPpeA9Ah1T99Ne//xvsbWrjA+S0csiDBEL4QDMIawYBNL1pIC7DSjWfaJ+poadm8YqUQ5sfUyN44tJAID3XY5Qn76YiMGcA0hJ/CGrKd9rM2WP2ay5Xpt93OUFRBWscafuaAPt60fiyikGCQjZ3R3e7guB+Di18pyxC/ZZ+Cvrx30ICe7zEj325CPnv1X8bMr0Ncbm0w+RtwFIQezARCBNpknTfeGTfRFX9uW4qg+kaYvKZ22ewJTcjwwbdVtvyXSdKWxACjARlAggBjNBNX0MRb3GALiveJxL//lnpJVVX/hPdvY+SxCeQeKhRGDaPV1RqAaIPAAFSZRXu23EglmnZtqKr+Q1Muz8e+4P8l3GGxA8FRomEKsSeeFCqe4lavap93qufnB6S1u2aqa+JkGm+zuMin5iYwgLSAgsDDYx2DCIBGCDROd/rJMwd2btjIHals2S34j4w05gU9gXGArxDCV/c2yieoUHOAYbAVMJ3anrNo0o6MfsAQhUCUwAsQLsoeIB9iCOdmZ9w3cXzqhuk0S7iNjEjmUSdVoINSAAkWS32HDHratXTPxC4dcWaqa9UonI/BgovAEigEVA4rbBZCZByBGxV/YgadmycFZ1Qyl2SyYS242LrKu+ijU5wDuGSURTn2wnCQAIM/1vIYRHEeVAAJQdVBQq+TsXLTj8yfba24N27SMXjFk90mj4jHr9WMO/9tKwKmbTDKYkoP9JgAoL2EY8vnTKPlOiZsaqINEycBuRVjAHEJbCrm8zn3PFpiMX11Zn/ydELr683pjM0asMJY8DuQZAAHIgCIgYYIInRswENdmMJj7+9oqlF+UAYMLU33OIges43+30QvpmiDDURkC447IldQd2Wt+uI9PH758QXzJu1Zg4rqgGxYX+BAZEBCLZnTwZJA7MnX4hCEYAWAkACTd0oLqKIYUKunAiRIU6bJOa5q88pfbgoPXeE6a+cBTFPf5owuYBxqcyGnVbb5A4kSUqZChhsGisYcMpi2857oA/Nxy0Y/76JdVb1Ju/aL7TZPj0aGE6kU0ORjxICMQxlPNvIvjw7XL4K+uHntZg3j4upJ5vslpLRBCKAAQo5FxuUvls5B215+x3jygFB/VYBwAm/+D98ywdehqRUxIoC6kylOyONxbXHf30wfbfgQ50oAMdOKj4N8mAoUMloQFmAAAAAElFTkSuQmCC",Mp=""+new URL("baidulogo-bf43b354.png",import.meta.url).href,wp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjUxOjA3KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7/DjIoAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAi9SURBVGiB1VpbTFRLFl1Vpx8C4aUoPgINIeM4PoIQtWFABbwyMGqMMdFMzJj5NCSSCR/qXP24E03kyo+JwRjihziRZL6IhFG8t4nStjx8xEyPMTGKQgMC8hxx7Mc5p/Z8AOdSNo/u9l7xrqTTp/fZp2qvqr137arTDAuAiNjUJQcQAyAWgJWIFMYYALCpe9NgCB0041qfIQsA+AjgvwA0AGCMEebBnJ0KIayMsXUACgGUAtgIYAUA0ycG/JJ4D6ATQAuAWwCeMsZGQn5a1/VkIvonEQ0RkaCvA/8josdE9Aci4guSEELsIKIu+noIfAo/Ef1NCBEz30zkENHgYlsaAvxCiG9ptpnRNG0lCfrPYlsYBgK6rv9xcHCQAVPZhogYY+xPYPhdyIG0+DAzxs4lJiYmAVNEvF5vNGPsrwCURTUtTDDG1nHOs4EpIoqiFDDGUhbXrIgQBWAvETEOAJzzbxbZoIjBGNv54MEDxp1OJwfwG6Ivtcb9vGCMZVgsliU8PT3dyjlPYlP1xq8NjLHoNWvWLDVZrVaFMWb6nMauXbuGN2/eSLK4uDhUVFRg5vi8e/cO1dXVkl5sbCwqKirA+cKL9Rwgi8USa+KMK5CLvrDQ3d2NyspKCCFARJh2UU3TkJmZiV27dhlkEhIS4HK50NPTY+jquo4NGzagpLQELKx68ydwzs2cccYQXsUq4f79+1BVFYFAAKqqQtM0aJoGzjlOnDgBXdcNXZPJhJycHKiqaugCwPnz56GpWqQmgDHG+FRsREykqalJMnYaQggMDw/j0aNHhoxzjpKSEsxMLESEoaEhuN3uSE2YbPtzHu7t7YXT6ZzzvqIoaGpqkgzPzc3FqlWrpJj4+PEjnE4nhBAR2xIxESEEzp49C0WZuxggIty7d0+aMUVRcObMGYkcYww3b940XC0SREykr68PLS0tQW7yKbHOzk60trYavxljKCoqQmpqapBec3NzpOZETsTlckmuwBhDQkICysrKJDIWiwWnTp2C3+83ZFarFdu3b5fcy2w24+LFi5JeqOCcR0aEiNDQ0IBAIGDINE3DyZMnUVJSIrmSEAJ9fX148uSJ1HFxcXGQXm9vb8RBHxGRV69eob29XZIlJyejtLQUa9euxbrfrgsabYfDIenn5OQgJSVFmj2v1wuXy4VwyyUiiozIhQsXgmLBbrcjLi4OZrMZ31/4XpotIQTu3r0r6VssFpw7d07SIyLU19eHnb2EEOET8Xg8aGtrkzIM5xxFRUUGuU2bNmH9+vWSgZ2dnWhqapLa2rJlCzIyMiS9rq6uIL2FwBgLn0hbWxu8Xq/UiBACpaWlkqyosMhwLyKC2WzG6dOnpQGIjo7Gtm3bJDdUFAVVVVVQVTUsu8Im0tjYGBSk5eXliIqKkojs+maX5Ou6rmNsbCwo6Pft2ye1R0QYHh7Gs2fPfjkiPT09Qbk+Pj4eR48eNYrA6U9WVhaSkpKkWCIiOBwOiWBeXh5Wr14tzcr79+/R2toaVtCz0dHRxISEhLuMscz5FIUQKCsrw507d6QOkpKSsGfPHphMP+0Epqvdjo4OuN1uqZS32Wxobm429IkIjY2NOH78uNSfzWaDw+GA2WxeiAONjY1lhbwPefv2rbEIzjRsZGQEN27cCBo9xhh0Xcen+7XOzk7cd95HYVGhoVdQUACbzQaPx2O0M73Sl5SUhGQfJxHa9LW1tUFV1aANEBFB0zToui59NE2b1TUsFgu++/t30goeHR2NnJwcKIpiELdYLLh06VLIK31IMTKd3/1+f9iL1aeYXsGfPn1qyBRFwd69eyXyQgh4PB48f/48pHZNoexEXr16JRV+wGTGSUpKCmmLOjw8LKXd6arYbrcbM2C325Geno7u7m5jQfzw4QNcLheysrIWNnJkZCRRCPF0rnNJIQQdO3aMMjIyyGazkc1mo9TUVDp8+DD5fL6Qzjbr6uooJSXFeN5ms9GOHTtI0zSpH4fDQampqYZOWloa5efnS3qzmTg6OprJscC7jp6enqCV3Gw2Iy8vL5SMAgA4cOAAVq5cKcm6urpw+/Zt4zdjDNnZ2UhLSzNkRITu7m7cunVrwT74QpuZx48fY2JiQpL5/X4cOnQoKCPNBavVip07dkr6JpMJlZWV0goeFxeH7OxsmEwmQ1dRFFRXV0s12axEOOfzzsinRRxjDPv378eKFStCJsIYQ0FhgSTTdR1DQ0NBQX/w4EGoqgoiAmMMRIT+/n68ePFi3j5MNJkmZiXj8Xjw8OFDxMfHG9mEc47y8vKQCMxEQUEBEhISpCMjAGhvb8fWrVuNQcnNzUVGRgbGxsakI6OOjg5s3Lhx1sETuiCT3+8XAGatmxVFwdWrVyWZ1WpFenp6yLMxjZiYGFy/fh3j4+OSfOnSpVJbiqLgypUrGBgYmDznmrqVmJg4Z5+qpvrQ2tq6RFXVB/T1vmpbCMLtdq/i9fX1ASHEYFjD+xVBCDFeV1c3BgCYmJg4K4T4Vc6Iz+drDwQCk+9HBgYGwtuSfUXwer0/+ny+yVrryJEjj30+378X26hwIYR439/f/0NcXNzk693NmzcHXr9+fZGIwj9UWjyQz+d7/OzZMzcwVf3W1NSQ0+n818TExAN8ub9nfBZUVR2pr6//9uXLl++lG0VFRay2tnbj+Ph4G33lqVjTtPEnT578effu3XNuDFlNTU3myMjIPV3XQyttvyx0r9fb7XK5/lJQULBkpuFBR+mDg4NDHo/HwTnvT05OtlkslmUziX6uS4QJw81VVR1/+fLlPxoaGk5XVVX96HK5pHie0zC73W59+/btyqqqqt9v27atMDY2dq3Vak1SJo9F+HzP/gzGExEJVVUnvF6v58WLFw8vX77sePPmTWdMTMxES0tLUBzPa0xxcTHTdV3xeDyWZcuWWfPz85csX77cGhUVpei6PrnfX4gOzdLLtGyWb8WkkBBCHx8fV91ut8/tdvvMZnPAbrdrtbW1c56l/h8gg8dutwWvwQAAAABJRU5ErkJggg==",kp=""+new URL("dalle-4f19ad1c.png",import.meta.url).href,Pp=""+new URL("google-6f260bf3.gif",import.meta.url).href,Up="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjQ1OjA0KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz5FXAnGAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAfvSURBVFiF7ZhLcJPXFcd/59PLkizZBstGlvzA2MEaAwEMAfIitAkNSZmUNpOZpsx0aDrT7ttdp5t2uuy2M11k2kXSNp1mSJMhpC2T8JqA86QBYydWjB+yjS1jy5Jl2dKn73RhFYUOkhGkCQvOUt895/507r3/e+6Rvx+xuPvM+LoBbm73sCqxe1iV2F2KZb9DfzEQGwJqYeW/FCS4fSyhqoaaFqqDuOtE7OTSujBFapzUBFbua8Jq2knro1LTjNNXJLVM0tNMXyJ6TJdTXy2WGES+J+2PYzhQJTHEbFTNJbzrpGETviaq17Fum5z/rS7GwUBva2WlosvHsLNhv2x8BmC6j8/e0MSV4leHm44DrH9c7FXkMggYTswMiWEmP9KZfhbj6K3NVlm26tpp3YvhYPikfvY6S4kbvnobsHtkJT2OKswlcgvY3TRsoqFbkjGG39FYL2bmS8UybAR34K4ncYX+V8mli59cPtqfkNAu3GsQg/hlxs7qwlUsE5uLtZ3Sshd/M5FnxenTz/9BPnvnWILdSaCb1r1S34XAwFG9zmQ4qI/Q/Zz4mlCLxRkGjur4e6DFAHOf6+hZtv1IGrbQ+ZTMj+nUhTvGCkToeFLqI4gNIDNLYhTA5qBuA62PEdwuYrAwydULDL+jizMAIiDFnZRd4P3f6dYjEtpF5BDXBjCX7gArtJPIs+IJkJkjMaTBHlmeLxwufzObnhd/mOwCsXOM92piuMBRVUvrXrFXETun86OFUJZJ9LjWtIq/WZp2MHpWS85aHquunc2Hxenj2qdcfFmragj2oFZhgZx+XH7mhrj4siZjBQk1HDTvZuMhcfoQoeUhGT6p0ePkMgDpKWYG8DURfpDRs7eVLbubDU+Ks5rkWGFiZ/VNhkWPsaIRdhf+Zu47KHUdZK4RO6+BbvEF6XxaGu/n09d1ZoBcmvRVrBz+MGKUE4uSWDUt1K0HIXpck7Fy/8ywU9tGeDdNuyS/TPRNHTlFNo33pIZ2E9op/jDbfyxTn2jsHGJDLQwbho18pVgi+JqoqmNxhsmPyjE5vES+K8Ee7B5EsLtw+QUUJT3N4DGufqTND9LyiDTtlLUbyS9jOFhKYJnlwpbAsuFtQAxmP11FY7YewbKYvsjFlxTY/ANp+wbND8vFl3TifSyTZIy+vzLeq1t+KDWtiB9gbggtt+NLZ8vmEGB5oZwzkIwRfVMnPy7Qf/h7XbeNzqdk6xFp2snw2zobxVwiMcKZ32jrI7TvF28j1UE8ARbjJcPevAxUJbcI4A2sghU9Tqy3mNF8lvFeoscB1nSy7QXZ/LysvQ+xoXlGznDpz5qZxRdkw36xOSvEsvKkp1Xz1EewVxV+XBFAl5+quuLI/PJN3PNZzAwDrzJySpseoOen0nUIw47mifcxfELFINCNL1QhFkpynHQcu5u2x0QMgGSMwWNqOHj0l9L1Hdy1IlIyriqZhA68xulfq5Wj8ynxhwDUYvgk5iLeAP4QlIhQUiBS48T78Daw/pukJpjuwzIZeI2pT7TlEWnZK4Yduwub6ya+X1ydpTmWk3gCxZHmMvF+gj14G8Sw6U2PZMknRj7L0D81NYl7Dd3fl9ZHC/tjdpBLf9ILL+rsIEDHAcK7ixw2J+HddBwoFbVg6bgCDg+l8l3u8knHWZjEH6K6kc2HpXUv//6jJoYxl5i+xMyABnew5bBse0FCD/DJikAcpmGzGAbli2ZXNUA+p6VkohyWCHXtqEXmGjYnNS3s+bmMntGxd0lNYJmMnyd+UTsPSstD7PuVWIq5yNC/WJjQyLMl953NydqNohbp6ZIldTksw47DjZXjytssTGnzHhq3yIb90rCZifc01kt6GgyyKcxlbC7Ge3X8PIlhGreUPgsQ3I4nQOYaqYmSoloOy8pj5bHb0TxTF5gdpL5LNx4UfzOd35ZgD/E+DWwSz1quRfnsDU2NYa7ohWqpM+YP03FAUOaucL3mqQxLLZIx6rvwNmJzkksz+SHxy9rxpKzfhy9EdZNkU/T9RcfOFwsbf5iOpwVuKFABw44/zJbD4m8mm+Lzt7RMUb9KGRh7l/ou6iN4G1ipI8wMA0d18kPCe8Rc0pFThYeGGNS2EdpFeI84q0nGyK7semFF9tr2Udsu7joW4/T/TeeGys27CtbEB9r+hPhCdByQC38oasz8KMmYqhZS4qmnbZ+s24q3EbUYf4+Rk5ocAxAbrlqAYI9onvglom9p/HL5aVfDMpfoP6o7fiKhXTg88vGLmv3v5V0o4oTQA3QdEk89KxV93ysa7y++92tbcddi5ZjpZ/iUzlzGXO3ZszoWMHOZwTd1w7ek8X4e/oWMnGJ2UPPLGHaq19H8sAQiBREZ72XohC4ni75OL12HRGH4lF5+pYLeyepY+SxDJ8imtG2f+MN0P0c+K2YGmxN7FQi5NLFexs5oYuQGx6paNj5DbRuLcSY/qKyfc0vPVzPDyGni/VofIbhdattwVGNlyS3hcCM2zEVNT9/gUtfOfQcJdIuVY+Q0c1dKhC5hlfUgim42sPAE2P0z8axFDHJppvtIX8VepWs6pHY9CFaOoRP0v6q32Hq4U6zr5vLR8bQ0bMLbgPGF1GdTzI8xelrH3/9fAfsqsADDga8JX4jqRhxeUZPMnC5MMj/K0vztMHHnTUrAyjE/wvwIhg0xVEHzt9ow+j9iXTcrD19S+/Qu7TTfw6rE7mFVYncp1n8AuY1j3tEIhhEAAAAASUVORK5CYII=",Fp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDI0LTAzLTAxVDIzOjI4OjA2KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7ZULmeAAABgGlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kbtLA0EQhz8TJeKDCFqIWByiVkaiQtBGMEGiEERiBF9NcnkJeRx3ERFbwTagINr4KvQv0FawFgRFEcQ6taKNhnMuCSSImWVnv/3tzLA7C7ZQSk0bjW5IZ3J60O9VlpZXFEcBOw046cERVg1tan4+QF37epJYsQeXVat+3L/WGo0ZKjQ0C0+qmp4TnhEObOY0i/eFu9RkOCp8KTykywWFHy09UuaCxYky/1ish4I+sHUIK4kajtSwmtTTwvJy+tOpDbVyH+slbbHM4oKsfTJ7MQjix4vCLNP48DDChHgPLkYZlh118t2l/DmykquK19hCZ50ESXIMiboh1WOyxkWPyUixZfX/b1+N+NhouXqbF5reTPNjABx7UMyb5vepaRbPwP4KN5lqfvYExj9Fz1e1/mNw7sDVbVWLHMD1LnS/aGE9XJLsMm3xOLxfQPsydN5Dy2q5Z5Vzzp8htC1fdQeHRzAo8c61X+6PZ6+i2ytSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG40lEQVRYhe2YfUwTaRrAO1Om2FJLpR90+VQ+lNKCrCYnsNHdI2CODwO9k2zMsUpOkkW7uIkXD4/kIurqxXiinrInJqya09NdXTkO77SLfORidFUQIbdL+JAvO9BCO7TSznTaed/3/ujJms0GOvhxuwm/PyaTt5l5fvM87/vMO8UQQoIfH/j/W+CHWdTiw6IWHxa1+PDT16qvr3e73a9P5UUC1UIIXbx4ceXKla2trRDC1+r0v3gB0tXVJZfL5XL57t27IYSBX7gAeBRRq9XK5fLu7m6SJA0Gg9PpfH3J4qEVHBxcWVl57dq1K1euREVFZWZmkiQpEAhqa2vv3r3Lsuyr9OKVW6vVqlarEUIQwnPnziUkJJjNZpPJpFAoDAbD9PT0qyoiPy2fz6dQKHw+H0KIBaC29tN31qU/fTrS2Pj3UHmoTqe7f//+K5l2/LQQQtu3b+/v70cQAQSBe2b/+vXr3tbRjPvCxQs4jkul0nv37r28GW+tO3fuVP1+L4SQI/vH3ssaJsS/1YSU/Pp9r4/dtWvXhg0bEhMTTSbTS5rx1no2M7M2Wev6urN/xfKnwiCrTuSpVrz/tuT06T87nc7Vq1fX1dUlJSX19va+US2GYd7C8f6wiFERZn83xHeUcB3Hpr9SJ8Yv7evru3XrVkZGRmtra3x8vH8KLgze70Qcx3wCxDE2aYFYls8KJL4lmYQsxVVZHfZhRVlW1nsajYaiqNLS0tLS0oW/D/g+h9frDSWE0zuXckfEzs8w0IdxNmHnsFp3JD44NfzCpb92dD5MS0tzu906ne7Ro0cLm2QL2UEggPBYFmp80p8HcQqscUhd+Df8W2YJnrrp8KE/rU5Ji4yMfPz48fXr1wsKChaWLN5aEEKEIaEeC8rGuaXBx/4j/42Jm6Bj0fguH32Y9P7s8y8+37Nnz759+xISEvLy8s6ePbsALQzx/E5kaFq/SjrYLXJiop3/knwxKAZcpMD8OwFVEOah0775iy/qRnP7V3HxcWNjYx6PJywsbGZmRiQS8YrCO1uOZ9Pr31GOA1nx1eBrA6GQWSt8cpKg8lbYR3/R/aXO4R4ZGJm0Tn6003j+/HmxWLxt27arV6/yjcI7W8dqjjHK8xdstqfOEO5ZFiSrCCZCaxte++R2GO3WFyd41kyNW8c/2Fryy82/6unpYRgmNjaWJEmCIHiE4bVAOAjD39KE712F/yEJq6gUFVmF+fDdpDvl4tMfSw8019wFHtD7bW/GukwP41GpVAghAEBycvLY2NjrWolIIKCmpydZyglCRdYPhZYKiU+4buj68vEbQaHj2z41ZH+cjhFoxYrlk1MThIjIycnp6+vDcfzMmTMHDhzgVRY+RUSCw0ePHGn/0htcgD3BcOrfYpaULmEwDPchDkeYVr+qqKgoOzu7rGx7U9M/Ozo66uvri4uLY2JisrKySJKUSCQBhgoK/AmoaeqPn3wCZNJg72d7dxvz8o7K5aolYiIIw1ngo2naYrHc+EdTTs5GiqK6u7tTU1OFQmFLS0tPT8/MzIzFYomLiws4BYEBADAajTExMSdOnPB4PAAAAMBsB4cQ+s8hhC6X69KlS2azGT4HIdTW1uZwOFwul9VqDSRcoNlCCLEsOzAw4O9AszazTrMwDKPVaru6uhoaGiwWy8TExPDwMEmSdrvd4XAEBQWNjIxoNJq5w80/txBCFovFbDZPTk7abDar1Wq32+12O0VRLpeLpmmaphmG4TiOIAiJRCKTyZRKpUqlUiqVarVaqVSGhIRIpVKz2Ww0Gk+ePLl161Ycn2epBaQVHx9PEIRGo5FIJFKpVK1Wq1QqhUKhUCg0Go3/KJfLCYLAMOy7Wz8/hxC2tLTs2LGjurq6pKRk7nDfRZ2Xurq6srIyr9fLcdz3dgTwh+A4zv8rx3EAgIqKimXLlg0MDMyOz8v8fQshFB4efvny5TVr1hw/fnx2fGJiIjc3V6fTlZeXu1wu/6Db7TYajSkpKRs3bhwdHb1582ZGRgbLsuXl5QaDIT09va2t7RVki2XZpqamiIiI1tbWqakpvV5fVVXlcrmGh4ejo6Nramo4jtuyZUt+fr7FYrFarZs2bdq8ebPX6z116pRMJpNKpQ0NDQcPHtRqtTabrb29PTIysrGx0ePxzB13Li0IYWFhoV6v7+/v91fH6XQWFRUlJiYqFIrbt28DAPzqhw4dio6OjoqK2r9/P03T/vK1tbWFhIQkJycXFhY6HA6EEABgaGgoJSUlNzf3pbQ6OjooinpxEADQ3Nw8ODiInjcIP52dnQ8fPvzeHYaGhkwm04sdDiFEUdSDBw/m1uK9g3gz/PT/dnuTLGrxYVGLD4tafPiRav0X47gQyEklwQsAAAAASUVORK5CYII=",Bp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAD7NJREFUeF7tncuuHLcRhtl+CGXjjXYJ4Ky9tKRsrctSWdsvETiAJMABkn2QV4iWunjvo2eIn8cTsGc40zPTzSqSVcVL/wcwLGnYvBTrO38VyWFPDj9qFjh8/+rJXPlX7vh//3M4fLfR4KXMpcDDVdlp+nL199/dw/TLh+syaqPZZ8XTPoctO+orEC4ArDm8bMPXtR1BCRABHhFbA5BEM55hmA5vTo9ag5DY4xmadzM7nz68TX94308AEGL+uwSC8mkAQ1no/DkAWTHVDEVPCsGe7tWCDyEsg8Lc2weAhNx5X1BsIzVN7wDKxTy7B2ShFu3nEmVKkfr0rCx7h2WXgACKRFZ2nLPsChCAkQjGWvGdhWC7AOTw4tXb0wYdwigBRk77LbvIVYYG5ARG2K+Qcg3Us7TA4IoyJCAAowLDg4IyFCAAowIYt00OBsoQgCD5bgCMQUHpHpDD85e/Orc4Ldugr+y2SwOoSbeAIJzqCLuOQekOEIRTHYFx3dUud+a7AgSq0S0ci8NNfZ316gIQqMYAYNyoyfT549MeRtU8ICc4fCKOn9Es0EFu0jQgCKlGI2JlPI1D0iQgCKl2AEYnIVdzgCCk2h0cTSfwTQGCkGrHcIShNxZyNQMI4AAcZws0BEkTgAAOwHFngUYgqQ4I4AAcmxZoAJKqgOCgIeBgWOCh5qZiNUAAB8M1UCRYoBokVQABHPD8DAtUgcQcEMCR4Rp4pJqSmAICOODpAhYwVRIzQLBaJeAaqOJoAcPVLRNAAAc8W9wCRpCoAwI4xF0DFRoeS1EFBHDAl9UtoKwkaoAADnXXQAPBAofpqda7GvUAef7ygBmEBcwsoASJCiBYzjVzCzR0sYDK8q84IAit4LPVLKCQj4gCAjiquQYaVspHZAFB3gFHbcECgvmIGCDIO1rwDPThZAGxfEQEEIRWcMzmLCCUjxQDAjiacw10SDAfKQcErx+AQ7ZrgeJQqwgQqEe7noGenSxQGGqVAYJVK/hhBxaYPn/M9vPsB6EeHXgGuhgskB1qZQECOOB53Vkgc28kDxCEVt35BzrsslQkGRCoB1ytWwtkJOzpgEA9uvUPdNy51IQ9CRCoB1ysewskqkgaIFCP7v0DA0hTETYgUA+41jAWSFARPiBQj2H8Yx7IX19fxvPNN8c///bb5f//O/15rFGfR8PNRViAQD0G8RIPxRIMalgekvfvnRsRFqaK8ACBelCu1PbnqWDcjmZMUFj7IiQgUI+2fT/au1Iwbiv/73vn/H+j/DB212lAoB59uoM0HMEKXk1++nufNrnvNakiUUCgHp36gRYcI0JCqAgA6ZSBzW6nwuEVwa9ehZWsP59WtCi7jBNuRVUkDgjCK8pN2vrcO/c/fqb75J3bQ7G1OuXref3aOQqWQSCJLfluAoLwivaz5kp4OGJOnerQHDVKrbM5oznnImHWNiD4rnmLU7ndJ8qZcx2ZUpPcetuy7maYFQMEl0+3NYnx3nz6sP25hBNr11/b1hsqsgoIwqvas5XYfiz3kFqWjSmUBICJQ1Yovqoi64AgOVewv2KVsdzD71lIHRWJQfLileIATarmAQL1MJkM2Ua2wh8p9Qi9jSnVCCqyEmbdKQgAkfVd9dpiTiupHmEgWzCOAIi7/976PSBYvVL36bsGqP2GWI8eP3buxx/WS2gAshXOSauV/Sz4Fu/CrDVAsHqlPTk+lvc71yVgcPqokRds5SFjAHK3J3IFCMIrjtcVlKH2KgqqvntUy2EByOGN5DyhrpMFLOEIRtdQkLFDrLsw61pBsLyrw3MNOPxIkIPkzOdVHgJAckyY8gz3AGFKndyyGitLY69iHS27WO49A4L8g+t1ieWoA4SJ1SUVlwbEekk5abCChQGIoDGpqmJnmKhnJT6XDLNisGvkOxLjz6vjHGZdFAT5R54pY09xwiuJYyB/eOTco0fbPZFw3lgepbViJj8j3BoBCNdSReUoQCRDIM3TttQ4JFWqyOByD4cvUc0Kcvj+1RM3HX6Vqx41zRagVq8kHYtqKxdGqt7x1OMqUT8C8uLVW3fA/oc41pRzSQLiO08tCKTeb0X137cpPQbxScis8JSoA5BM+7EeoxxM2rmoUCh0OgaKr8Mfg+HcwJirSizjVS50unnxCMgoBxTD5N7aNtw5K5EQp8ybNSCcsO62/0ubpJwNGxmOo43mRL1/QMJvOs5vvOAMVvfN1gAkB5IU6H3ZUfOOaztcAdLfCV7K+ahJT43HqfrWPqf6KB1iLfvADbdSxzW+cpwt4leygoL0A4j0xGtOeE1A/DRTN5IAjrgFfKLe1RIv5XCpEx7Ka0FC9VdTQSTVRMs+ufNl9dwMSC9LvJSzlRpNI66m+mwFSLBNiqKEK0lHus091Uf8SlYXgOSEVSEhr7ky0xogt6ri/x7u5A2fxa4kTXWw3st3AQgXjth9swES6/tmWwakd+e16H8XgPS8OwxALNxYs42HqelNQko9cpNHKhbPrfd2qgCIpvNa1N04IDH1KHViLfiW0wZALJxYs42GARnhvlkAoum8FnU3DIjVfbOa35IDIBZOrNnGDEibu+hW983GnLg0jAMgms5rUXejgFhfDqB1UwcAsXBi1TbaVBBrQP71T+f+9Md7Q0NBVJ2vh8r7A0TiAoLbmfnpb859+639fFkfNbEfYfcttgmI9f2vAKR7R9YaQJsbhbHYXUNB/vNv577+WsvG2/VCQextnthim4BY5yAAJNFtdlO80X0Q61d91br9EArSOmmNAuLNprX0ejsl1JETzSkEIJrWlai7YUCs8hBqx77EzH955tyzZ8hBSmxY99lOAZH69p/2fbPYKKzr3qWtN/99kN7vmwUgpS5a9/nmAaEcLHenm/o+iIVC+alHDlIXAKr15gGJJethcKnOTEEn6bhUWwCEctG6n8+AtH6zO3eVyTub/9m6XpR752yuKq1NJQCp6+ClrXdzLxblaLeGCFfW+H/nXEmaq0bUBFD9hoJQFqz6eV83K1LOVmrK1FCN0x7VZwDCsWK1MktA/MtznlTrCbdhyuG49dyWkwyrlnVT/QUguTNm8Vynt7tzcxKuCbXgCOFdLMSrDcjapXrWr4jgzpN9uQUgvVw/mvLbmTJouFJT82rNFhXE98nfphi7cdL6NRHUXNX4/OoFOq2vZG0ZKOxn+M+5V4xagBH62xIgVF+2bGzxmogaAFBtDgHIcpABEP/bcXnfbHi7lC+rqRZrBqec0iLEovpAOUr4fG+gLN9R6G3Q7O0m3AlssRzlnNqAUNe25thMM2fL6Y/SM1evgT4B0sdKlpJBVKqtBYj0QobVqp/KJORVCkDy7Jb2VA1AtOEIFhhZSU75hx/q/Aq2WUF6TdTTXNa2dA1AOGHV8qTBMi8Lx3GoVa7RIQEgRpxYA8KBg/ubnzrxHEyocYmG0fRsNRPCqysFQR6iMCuWgFChFReMWzNQY8itV8HcUlUCEClLUvVYOldMPUrPmVHjGElFFuHVvYIgD6FcPu1z6re6r22ZD6TVfin96JFz/vvvWz8Sy8kxSEZSEQCS64WZz9W6UkgjkY6NZRAVWYZXdwqCPCQTgthjNQEpDa1S8hEJlVIwf2KV8wHF5TPnZd7wj02/szBxtE0Up+J3zU5qOK3VfWWadtmq+ya8WlcQ5CHyU1MLEgCSNpccQBBmpdmUXZqzR8GujFlQIy/Ygl06nGMOUbLYbf6xqiAARNLkN3VZKomWw44KyIp6bAOCMEuPEu4OtUQPoCBsK66pxyYgUBG2XcsKcr/kFWvl8WPnfvxhvYQGIFuhopZilVmY+/Td6lV48G4VK3yAw4tc21Yu18qrInoGZCO8iirISUXafEV0ZZ9srnmrpVfrFxsZGXorvOIAgi9RGU1SUTOxFTLJMCu2yKCxpFxkFObDEfWgAUGyzrRy5WIW56Ri6jFoeEUCgmS9suOnNK/5qgjfD+pFQ53epxULr3iAQEVS3LReWWqPpSQEitU9sHqwAIGK1PP55Japg5Gpx9Ip6HwHS8BLHqDsA5R68AHp8eZFWVv2URvHobn3W3HrCq+d6MNCl14SyXkouLkPcjte3JvViQdwHDsMJXxZy1+uFy7b417Y0HNo5W8r+fyR5fusQnOYBRXphJDTO1Fil2ZLjKTj0Mox1YMdYgV7QkUkPMuojhQlSe1Sz3AkqEc6IFCRVFeqW14aks7DqnkyEtQjGZDTihaOn9R1+7TWpU4Pp66ApfXSrDQ390hO0s9hFlTEbDJFG8oFZRAwctQjS0FOKoIzWqLea1hZOGL/+vWl0fBvYTfcr2r5/zrdHd+yZqp65AOC3XVDj0ZTIhZIzD2yQ6zFihZURGTmUIm6BTLhyFaQBSRI2NVnFw2UWiAntCpWkDkXQcJeOnd4XtsCBepRrCBI2LVnF/UXWmDzu+bcetlHTbYqxHfXuaZGOXMLFKqHiIIg1DKfdjTIsYAAHGKAINTizBjKGFqgOLQSSdKXA0aoZTj9aCpqgZJVq9uKi3MQQAJvbcoCQqGVuIKECrH025S77KszwnCI5iBXSvL8JXbZ9+WaLYxWLO9YDkY0xDqrCM5qteAwu+qDZN6hDsi8qgVIduWgVQerEFqp5SBXoRaOolT1m100rgiHWg4CSHbhmvUHqQyHCSBzuAUlqe9Mo/XAAA4zQADJaN5ZeTxGcJgCMkOC5d/KnjVE8yrLuVuWUVnmjU0DIBnCSWsNwhQOcwU575NASWo5WM/tmsNRDRCEWz37aZW+V4GjKiCApIqj9dhoNTiqA4LVrR791bDPhqtVzSTpax3BPomh0/XSVANwNKEg58Qdm4m9uK5+PxuBoylAEG7p+10XLTQER3OAAJIuXFivk4fp6fTLhwe9BtJrNt8o5HYRG4pcSw1R7sEdpnetwdGkgiynG8n7EM4fH0RjIdVtZ5tVECTvO4CjwZCqO0DOoOB4ykjENBtSdQsIEvhB+Gg8pOoakAUk3znnngziMnsZRjeqsZyQ5nOQLe9BAt8RV52pxhCAIInvApCqBw0lLNStgmA5WGL61eroMpxas8YQgEBN1Bw9veKOw6nhAQEo6f4s9sRgYAS7DKUgt5ONRF7M/bcrGhSMXQACRVED5MFN05fp04e3ai00UvHQCgJFEfeyYZJvrmV2BciVovi/HA5vuIbaebndgbGrECvm3Kc8BTvz90baLRRLU+xSQbaAQVLvjl9WavS7GTVUHICsWH0G5RiC7UFZAEWEPADC+LW0AGaEnOUMhB96i9/iY0yJWREAkmHqzoABEBlzjCS9wGh3y8f+dXNfnY7fH8My/2N9HP8IwjR9cb8fcwmoQ/kkQ0HKbRitYX5XY4AnlLxAFP5lDab12z08AOEHICjPnnP/B6B0AiOP7uzBAAAAAElFTkSuQmCC",Gp=""+new URL("network-0f22586e.png",import.meta.url).href,Yp=""+new URL("sdxl-7c167940.png",import.meta.url).href,qp=""+new URL("suno-e14fd81c.ico",import.meta.url).href,Vp=""+new URL("tencentlogo-358d1ec1.png",import.meta.url).href,Hp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAxOjEzOjIyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7O8zxmAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAY2SURBVGiB7dl9jFRnFQbw351dGKCwUJuO/WAp/XSLQFtpdYwZU5I2Wok1bNOq2ND6ERONVkO1KjE0pmpqsdpEbTQaq8ZUbQJ+BZtq8CODcRItqdriChZCIwoDkuVjdzs7O3P9471blmXu9s7u8odxn+RmMnfO+97nueec95z3HWYwgxnM4H8J0dl+QDVyDa7EjkLs4Nl6Tu5sTTwGnfgYNlQjF1Wjs/Pypl1IqVKLSpXaeLI53IsNnB0x0yqkVKnlUMC5Kc/aIHjn4ukWM21CEhFL8H7cmGIW4SO4D93TKWZahJQqtQ5cKrzxOzBrAvMIH8InTKOYzqlOkIi4XCB3N46jY4xJs8WwCB9Inv957J8qjyl5JBFxBe7Bu7EAXegak/AnMNxieCSE4aZq5NKp8GAKQkqVWieuEkTcjfnJT/NxIc5Jvv8bVYykTPUefKYauWqyXJikkHEi7nKKNOFNX41uKMQG8EccnWDKO3F/NbJsMnyYhJAxIj7qTBGjuA49yUoGv8AeNFKmjYRFYlM1sqJdTrQpJCHWLXjiTsxNMV2KNwg1BZ7FEziIOGVMJ9ZiYzVyRTu8aN8jC7Ee75IuYpTULbihVKnNKsQa+AG+hyPSxczGW/HhamRRO8QyCylVarOFt/xepxJ7IrwKtwv1RSF2GI/iEeyWHmbnJON6s3KjPY+cJyyX3RntO/AW3Faq1M6HQuyfgpiN+A6e19o752N9NXJZVnKZqmqpUpuFNfi+1sk9Ef6Bz2FLuZg/AUk1X4qVWJFcVybXqLcP48FC7EtZHpJVyEJ8TciN8WjgOQyimDLFXwQx28rF/MDYH6qR+ViMCwRvr8JNwsr4a6wrxBMu3cgeWufi5pTf9uEbeAx7U2xWCOH0tlKldppHC7GTy9f2LV6+tu+FXYte/TgeElr+7wqF9bosBLMKWSbE7Xg08Gf8GD/HFqHXGo9ICKNNWDdeDFbj23es3rJ5+dq+JfvnX7IdX8SPcE0WglmFrNA6DI/iaRxKrsfwM9Ra2EbCSvYprEz6tFE8gzcKK+JX1tz81L23r956EFuFFudlkVXI0pT7R7C7XMw3y8V8U6jeX8Y2rRvF0bl6nV6HdiSfXXgN7vnbomWbPn7Dw1X8MgvBrELSitOgIAaUi/kR/BUP4CcYajEmSsjmx9w7PMY2J+TG259cvOYuE/doLyGrkLTVLTZuv1Eu5utCS7JRqOTHWowbv/FqOr2eRIKY25av7bskC8GsQlolMCE8ztifJ57Zh834U4txz6E+5vsizGvB7WK8LgvBrEIOpNx/Ba0bvCRn+p2Z+AP4YfI5itdq7fW5uCgLwaxb3WdT7hewqlSpLRit2lCq1LpwidBgrhpjP4xPY2e5mB/ba61Lmb/pdM+lIqtHnhYSezw6cC3eNO7+oHCicrWQ1MfxK9yKr48VXejtuxzvSHnugBCiL4usHjmG7UKLPR49eGepUtuJfeViPk5yZFtypaLQ2zdH6ApanbrEQm36QxaCWT0yGtetWu8c3oz7xBYXnzrZ0cLmNBR6+6JCb1+X0NLfmGLWj+3VrT3Tt/yWi/lh/E7Ye7fCPKyPm/EXiFYte+TQggvX7T5DUKG3L1fo7ZsvNITfFA4eWglvCkdEj2fhRxun8aVKLS/E+LeECnwmYkYGGnsG9w89MbB36MmhAy8eqB8fGU3WTmFxuCUR0C39RR7B5urWnoey8mvrlC/ZIN0v9ERz0uwaQw0n9wwOntg9+MLwf4YPjgw04ngkvkBoTybaIos6oxc1bYub8fuqW3v6s3JrV0gkhMXDwp4hP5H9yImGgX2DBvYNqffXNWpNcT0WN2LxaD8QEeUiuVmRXD430jG34/cdc3IffP7B7l3tcGv73DXpWq/FZ1GSYccYN2P1/hHDR+tx/VhdY6AZNevNOI5FuY4o7pib09nVWZ993uxKvjD7kzten8+0Uk1JCC+JWSkcWt+EV052rgT9+C0eKBfzOyczwaQfnoTZEmH7e6tQTxa2Oc0Qdgmt+lfLxfy/Jstnykf6pUptHq4XiuX1uEzwUFr+1IVCt1fYXf4Uv0l6s0lj2v5oSbavPYKYHuEwocup1a0mtCqH8HehK34mqVEzmMEMZvB/hv8CkprPZL58AJQAAAAASUVORK5CYII=",zp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjI4OjA1KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz56A23nAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAV7SURBVGiB7ZldbBRVFMd/d3a37RYGho8aW6VIMUJMCdaga1CBATQKimgkSogkLMRo0AdUDEZM1FR9ABONxoAxo4mKhMT4UNOgESb4EZ0ooMADn5HPoKgwZdrSbmd3fJjdcrvt7sz2423/yc3mnnvvuec/M/fcc85CGWWUUUYZZZSBGOkNNN2pBKYBjcDNQDdwHjgF/GCbatdw7DPsRDTdiQDLgSX4xt8ERApM7wC+Ad61TfX7oew7bEQ03VGAZcCrwPRBqPgceN421b8Hs/+QiWi6I4ClwGvAjCGqOw7cbZvqX6UuHBIRTXemADuAWQWmnAQOAoeyv4eBWuBWoAm4A6jLW3MImGOb6qVSbBk0EU13pgPfAdcNMLwH2Gib6o8BOuLAFmBl3tBm21TXl2LPoIhoutOEf0hr8oZ+Bl4Bdtum6oXUJYC1wDtcdQpdQINtqufD2lQyEU13ZgOtwFhJfBl4AmiZNmV0BTAFuBGYmm0TgdP4Z+BEtp21DJGR9H4GrJB0brRN9Y0RIaLpznygBaiWxP+OGRVdXXtN1X3AA/ifmhJCXTc+sU+ArUf+bJ8DfC2Nt9imuiSsbaGJaLozGjiKf1hz+Ke+Nr4/XhVZSDjjC6Etk/E+PHaqYw0wLis7b5tqviMoiGgJm72ARCISEV2T6+I1sahyb4i1bsBeYxVFrK+sULzuVO/XVl1kfj+EIqLpTh3Qx4vU18arYtF+L+Es8C3+GZDPQxu+m50qtWnAYiCeW9zjevIX4pbAI/QbaUZ6QuPGxKiI9SFxENgEbLcM0VNAx7ls6w1FEkmvBngGWOumvQmZzFVHF4mIkj7VwDOi6c4twL7cXEURNEyqJqIIgD+ADZYhdpayaT4SSa/6Uluq+cLF1LqcLF4VOVBfG58PjLIMcTpIRxjWq5EIT9QqciR+A+YNlQSAZYjOCxdTqiyrjCl78SOGzWF0hCEyT+5oY2IAe4F7LEPYoSwNgKY7M/EfmG+UwFMivAUkgGWJpKcH6ShKRNOd8fihOACxmIIQtDG8JATwNtJbVxTxZs24yrPAU1nRuoHWygh6IxPlTkVUAOy0DFFSQBeARcACqX/STXvNwJNcdfdNQUqCiMTlTtZTtYS3sTg03WkEPsoTb8hmjfLFe30i6U0opiuISLpPx3ePe0PaWRSa7tyGHyVfK4l/wU8LAP7LW9JQTF8QkSNA773Q3pnGTXsLw5laGJruzAV2AeMlsQ08LUXNC/KWFXXBRYnYptqjKBzL9TMZj/YOd1V4k/tD052lwE5AdrcXgLm2qf4OkEh6o+jrLdssQxRNgQPdr+exRe5fupxqaljaNTek3b3QdGe2pju7gK+AKmnoDH56e0CSrQQqpX5rkP4wRLYqCr2uNtXjCdvp2V13f2d+VjcgNN2ZpelOK/ATMD9v+Dhwl22qR3OCRNJ7HHgvb96moH1ChfE197Qv73G9bflyRaE1k2EPfgizH/88NWbbDHy3eWcBtfuAxXKhIZH0HsOvpsjloy8tQzw6LEQA6hZ1NndeSb8cdn4RHMOvuGy3TTUNkEh6DcBz+BegTOIIcLtliMtBSkvKEG94qOt9p91dm86ESsfzcRJ4HfjUNlUXIJH0ZgEvAo/Qv4h3DlhoGeJwGOUl5+wzV7gPtrW7O5wOtyqdDiSUUgQnolFl26Taql+jEWUyffORxgLrLOBhyxAjV3wASCS9es/zXrrSnVl1pStd6aY9XNdDCKisUHrbAIlXEM7gV1M+sAxRUk14SAW6bGL0LH45Z3zA9GI4hO+ZviiSmBXFsNR+sxfYGvwAcCowmeLZZwd+CnwU+NgyROA9EYQR+VshkfSi+GTkutYpsjm8ZYiSa7tllFFGGWWUUUYI/A/6RZ4aHhranwAAAABJRU5ErkJggg==",Wp=["src"],Kp={key:1,class:"select-none inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm bg-[#19C37D] text-white font-medium"},Qp=["src"],$p=["src"],Zp=["src"],Xp=["src"],Jp={key:4,class:"select-none inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm bg-[#AB68FF] text-white font-medium"},jp=Ue({__name:"Avatar",props:{image:{type:Boolean},model:{},modelAvatar:{}},setup(t){const e=t,n=Ze(),r=H(()=>{var l,c,_,d,u,p,E,g,f,S,T,v,I,N,m;if((l=e.model)!=null&&l.includes("gpt"))return Up;if((c=e.model)!=null&&c.includes("dall-e"))return kp;if((_=e.model)!=null&&_.includes("midjourney"))return Fp;if((d=e.model)!=null&&d.includes("gemini"))return Pp;if((u=e.model)!=null&&u.includes("360"))return xp;if((p=e.model)!=null&&p.includes("qwen"))return Lp;if((E=e.model)!=null&&E.includes("ERNIE"))return Mp;if((g=e.model)!=null&&g.includes("claude"))return wp;if((f=e.model)!=null&&f.includes("hunyuan"))return Vp;if((S=e.model)!=null&&S.includes("SparkDesk"))return Hp;if((T=e.model)!=null&&T.includes("glm"))return zp;if((v=e.model)!=null&&v.includes("suno"))return qp;if((I=e.model)!=null&&I.includes("network"))return Gp;if((N=e.model)!=null&&N.includes("mindmap"))return Bp;if((m=e.model)!=null&&m.includes("stable-diffusion"))return Yp}),i=Dt(),a=H(()=>i.userInfo.avatar),s=H(()=>{var c;return((c=o.value)==null?void 0:c.appLogo)||i.globalConfig.robotAvatar}),o=H(()=>n.groupList.find(l=>l.uuid===n.active));return(l,c)=>{const _=ep("CpuChipIcon");return l.image?(y(),w(De,{key:0},[O(un)(a.value)&&a.value.length>0?(y(),w("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:a.value,alt:"User Avatar"},null,8,Wp)):(y(),w("span",Kp," 我 "))],64)):(y(),w(De,{key:1},[O(un)(l.modelAvatar)&&l.modelAvatar.length>0?(y(),w("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:l.modelAvatar,alt:"Robot Avatar"},null,8,Qp)):O(un)(s.value)&&s.value.length>0?(y(),w("img",{key:1,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:s.value,alt:"Robot Avatar"},null,8,$p)):r.value?(y(),w("img",{key:2,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:r.value,alt:"Robot Avatar"},null,8,Zp)):O(un)(s.value)&&s.value.length>0?(y(),w("img",{key:3,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:s.value,alt:"Robot Avatar"},null,8,Xp)):(y(),w("span",Jp,[rt(" AI "),M(_,{class:"text-xs font-small leading-none text-white p-1"})]))],64))}}});var kn=lp();function ts(t,e){var n,r,i=t.posMax,a=!0,s=!0;return n=e>0?t.src.charCodeAt(e-1):-1,r=e+1<=i?t.src.charCodeAt(e+1):-1,(n===32||n===9||r>=48&&r<=57)&&(s=!1),(r===32||r===9)&&(a=!1),{can_open:a,can_close:s}}function em(t,e){var n,r,i,a,s;if(t.src[t.pos]!=="$")return!1;if(a=ts(t,t.pos),!a.can_open)return e||(t.pending+="$"),t.pos+=1,!0;for(n=t.pos+1,r=n;(r=t.src.indexOf("$",r))!==-1;){for(s=r-1;t.src[s]==="\\";)s-=1;if((r-s)%2==1)break;r+=1}return r===-1?(e||(t.pending+="$"),t.pos=n,!0):r-n===0?(e||(t.pending+="$$"),t.pos=n+1,!0):(a=ts(t,r),a.can_close?(e||(i=t.push("math_inline","math",0),i.markup="$",i.content=t.src.slice(n,r)),t.pos=r+1,!0):(e||(t.pending+="$"),t.pos=n,!0))}function tm(t,e,n,r){var i,a,s,o,l=!1,c,_=t.bMarks[e]+t.tShift[e],d=t.eMarks[e];if(_+2>d||t.src.slice(_,_+2)!=="$$")return!1;if(_+=2,i=t.src.slice(_,d),r)return!0;for(i.trim().slice(-2)==="$$"&&(i=i.trim().slice(0,-2),l=!0),s=e;!l&&(s++,!(s>=n||(_=t.bMarks[s]+t.tShift[s],d=t.eMarks[s],_/g,">").replace(/"/g,""").replace(/'/g,"'")}var nm=function(e,n){n=n||{},n.katex&&(kn=n.katex),n.blockClass||(n.blockClass="");var r=function(o){n.displayMode=!1;try{return kn.renderToString(o,n)}catch(l){return n.throwOnError&&console.log(l),`${mn(o)}`}},i=function(o,l){return r(o[l].content)},a=function(o){n.displayMode=!0;try{return`

    `+kn.renderToString(o,n)+"

    "}catch(l){return n.throwOnError&&console.log(l),`

    ${mn(o)}

    `}},s=function(o,l){return a(o[l].content)+` +`};e.inline.ruler.after("escape","math_inline",em),e.block.ruler.after("blockquote","math_block",tm,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=i,e.renderer.rules.math_block=s};const Wt=Rn(nm);function Md(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&Md(n)}),t}class ns{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function wd(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function mt(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const rm="
    ",rs=t=>!!t.scope,am=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};class im{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=wd(e)}openNode(e){if(!rs(e))return;const n=am(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){rs(e)&&(this.buffer+=rm)}value(){return this.buffer}span(e){this.buffer+=``}}const as=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Lo{constructor(){this.rootNode=as(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=as({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Lo._collapse(n)}))}}class om extends Lo{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new im(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Bt(t){return t?typeof t=="string"?t:t.source:null}function kd(t){return Rt("(?=",t,")")}function sm(t){return Rt("(?:",t,")*")}function lm(t){return Rt("(?:",t,")?")}function Rt(...t){return t.map(n=>Bt(n)).join("")}function cm(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Mo(...t){return"("+(cm(t).capture?"":"?:")+t.map(r=>Bt(r)).join("|")+")"}function Pd(t){return new RegExp(t.toString()+"|").exec("").length-1}function _m(t,e){const n=t&&t.exec(e);return n&&n.index===0}const dm=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function wo(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const i=n;let a=Bt(r),s="";for(;a.length>0;){const o=dm.exec(a);if(!o){s+=a;break}s+=a.substring(0,o.index),a=a.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+i):(s+=o[0],o[0]==="("&&n++)}return s}).map(r=>`(${r})`).join(e)}const um=/\b\B/,Ud="[a-zA-Z]\\w*",ko="[a-zA-Z_]\\w*",Fd="\\b\\d+(\\.\\d+)?",Bd="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Gd="\\b(0b[01]+)",pm="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",mm=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Rt(e,/.*\b/,t.binary,/\b.*/)),mt({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},Gt={begin:"\\\\[\\s\\S]",relevance:0},gm={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Gt]},Em={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Gt]},Sm={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},vn=function(t,e,n={}){const r=mt({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=Mo("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Rt(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},fm=vn("//","$"),bm=vn("/\\*","\\*/"),Tm=vn("#","$"),Cm={scope:"number",begin:Fd,relevance:0},hm={scope:"number",begin:Bd,relevance:0},Rm={scope:"number",begin:Gd,relevance:0},vm={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Gt,{begin:/\[/,end:/\]/,relevance:0,contains:[Gt]}]},Nm={scope:"title",begin:Ud,relevance:0},Am={scope:"title",begin:ko,relevance:0},Im={begin:"\\.\\s*"+ko,relevance:0},Om=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var gn=Object.freeze({__proto__:null,APOS_STRING_MODE:gm,BACKSLASH_ESCAPE:Gt,BINARY_NUMBER_MODE:Rm,BINARY_NUMBER_RE:Gd,COMMENT:vn,C_BLOCK_COMMENT_MODE:bm,C_LINE_COMMENT_MODE:fm,C_NUMBER_MODE:hm,C_NUMBER_RE:Bd,END_SAME_AS_BEGIN:Om,HASH_COMMENT_MODE:Tm,IDENT_RE:Ud,MATCH_NOTHING_RE:um,METHOD_GUARD:Im,NUMBER_MODE:Cm,NUMBER_RE:Fd,PHRASAL_WORDS_MODE:Sm,QUOTE_STRING_MODE:Em,REGEXP_MODE:vm,RE_STARTERS_RE:pm,SHEBANG:mm,TITLE_MODE:Nm,UNDERSCORE_IDENT_RE:ko,UNDERSCORE_TITLE_MODE:Am});function ym(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Dm(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function xm(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=ym,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Lm(t,e){Array.isArray(t.illegal)&&(t.illegal=Mo(...t.illegal))}function Mm(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function wm(t,e){t.relevance===void 0&&(t.relevance=1)}const km=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=Rt(n.beforeMatch,kd(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},Pm=["of","and","for","in","not","or","if","then","parent","list","value"],Um="keyword";function Yd(t,e,n=Um){const r=Object.create(null);return typeof t=="string"?i(n,t.split(" ")):Array.isArray(t)?i(n,t):Object.keys(t).forEach(function(a){Object.assign(r,Yd(t[a],e,a))}),r;function i(a,s){e&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");r[l[0]]=[a,Fm(l[0],l[1])]})}}function Fm(t,e){return e?Number(e):Bm(t)?0:1}function Bm(t){return Pm.includes(t.toLowerCase())}const is={},Tt=t=>{console.error(t)},os=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Nt=(t,e)=>{is[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),is[`${t}/${e}`]=!0)},bn=new Error;function qd(t,e,{key:n}){let r=0;const i=t[n],a={},s={};for(let o=1;o<=e.length;o++)s[o+r]=i[o],a[o+r]=!0,r+=Pd(e[o-1]);t[n]=s,t[n]._emit=a,t[n]._multi=!0}function Gm(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Tt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),bn;if(typeof t.beginScope!="object"||t.beginScope===null)throw Tt("beginScope must be object"),bn;qd(t,t.begin,{key:"beginScope"}),t.begin=wo(t.begin,{joinWith:""})}}function Ym(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Tt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),bn;if(typeof t.endScope!="object"||t.endScope===null)throw Tt("endScope must be object"),bn;qd(t,t.end,{key:"endScope"}),t.end=wo(t.end,{joinWith:""})}}function qm(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Vm(t){qm(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Gm(t),Ym(t)}function Hm(t){function e(s,o){return new RegExp(Bt(s),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(o?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=Pd(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=e(wo(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const c=l.findIndex((d,u)=>u>0&&d!==void 0),_=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,_)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new n;return this.rules.slice(o).forEach(([c,_])=>l.addRule(c,_)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(o);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const _=this.getMatcher(0);_.lastIndex=this.lastIndex+1,c=_.exec(o)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(s){const o=new r;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function a(s,o){const l=s;if(s.isCompiled)return l;[Dm,Mm,Vm,km].forEach(_=>_(s,o)),t.compilerExtensions.forEach(_=>_(s,o)),s.__beforeBegin=null,[xm,Lm,wm].forEach(_=>_(s,o)),s.isCompiled=!0;let c=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),c=s.keywords.$pattern,delete s.keywords.$pattern),c=c||/\w+/,s.keywords&&(s.keywords=Yd(s.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=Bt(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(_){return zm(_==="self"?s:_)})),s.contains.forEach(function(_){a(_,l)}),s.starts&&a(s.starts,o),l.matcher=i(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=mt(t.classNameAliases||{}),a(t)}function Vd(t){return t?t.endsWithParent||Vd(t.starts):!1}function zm(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return mt(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Vd(t)?mt(t,{starts:t.starts?mt(t.starts):null}):Object.isFrozen(t)?mt(t):t}var Wm="11.9.0";class Km extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Pn=wd,ss=mt,ls=Symbol("nomatch"),Qm=7,Hd=function(t){const e=Object.create(null),n=Object.create(null),r=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:om};function l(R){return o.noHighlightRe.test(R)}function c(R){let x=R.className+" ";x+=R.parentNode?R.parentNode.className:"";const Q=o.languageDetectRe.exec(x);if(Q){const ae=L(Q[1]);return ae||(os(a.replace("{}",Q[1])),os("Falling back to no-highlight mode for this block.",R)),ae?Q[1]:"no-highlight"}return x.split(/\s+/).find(ae=>l(ae)||L(ae))}function _(R,x,Q){let ae="",_e="";typeof x=="object"?(ae=R,Q=x.ignoreIllegals,_e=x.language):(Nt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Nt("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),_e=R,ae=x),Q===void 0&&(Q=!0);const G={code:ae,language:_e};V("before:highlight",G);const q=G.result?G.result:d(G.language,G.code,Q);return q.code=G.code,V("after:highlight",q),q}function d(R,x,Q,ae){const _e=Object.create(null);function G(z,B){return z.keywords[B]}function q(){if(!te.keywords){he.addText(me);return}let z=0;te.keywordPatternRe.lastIndex=0;let B=te.keywordPatternRe.exec(me),oe="";for(;B;){oe+=me.substring(z,B.index);const ue=Ae.case_insensitive?B[0].toLowerCase():B[0],ve=G(te,ue);if(ve){const[Oe,lt]=ve;if(he.addText(oe),oe="",_e[ue]=(_e[ue]||0)+1,_e[ue]<=Qm&&(qe+=lt),Oe.startsWith("_"))oe+=B[0];else{const tt=Ae.classNameAliases[Oe]||Oe;ie(B[0],tt)}}else oe+=B[0];z=te.keywordPatternRe.lastIndex,B=te.keywordPatternRe.exec(me)}oe+=me.substring(z),he.addText(oe)}function re(){if(me==="")return;let z=null;if(typeof te.subLanguage=="string"){if(!e[te.subLanguage]){he.addText(me);return}z=d(te.subLanguage,me,!0,We[te.subLanguage]),We[te.subLanguage]=z._top}else z=p(me,te.subLanguage.length?te.subLanguage:null);te.relevance>0&&(qe+=z.relevance),he.__addSublanguage(z._emitter,z.language)}function j(){te.subLanguage!=null?re():q(),me=""}function ie(z,B){z!==""&&(he.startScope(B),he.addText(z),he.endScope())}function Se(z,B){let oe=1;const ue=B.length-1;for(;oe<=ue;){if(!z._emit[oe]){oe++;continue}const ve=Ae.classNameAliases[z[oe]]||z[oe],Oe=B[oe];ve?ie(Oe,ve):(me=Oe,q(),me=""),oe++}}function pe(z,B){return z.scope&&typeof z.scope=="string"&&he.openNode(Ae.classNameAliases[z.scope]||z.scope),z.beginScope&&(z.beginScope._wrap?(ie(me,Ae.classNameAliases[z.beginScope._wrap]||z.beginScope._wrap),me=""):z.beginScope._multi&&(Se(z.beginScope,B),me="")),te=Object.create(z,{parent:{value:te}}),te}function $(z,B,oe){let ue=_m(z.endRe,oe);if(ue){if(z["on:end"]){const ve=new ns(z);z["on:end"](B,ve),ve.isMatchIgnored&&(ue=!1)}if(ue){for(;z.endsParent&&z.parent;)z=z.parent;return z}}if(z.endsWithParent)return $(z.parent,B,oe)}function se(z){return te.matcher.regexIndex===0?(me+=z[0],1):(Ie=!0,0)}function K(z){const B=z[0],oe=z.rule,ue=new ns(oe),ve=[oe.__beforeBegin,oe["on:begin"]];for(const Oe of ve)if(Oe&&(Oe(z,ue),ue.isMatchIgnored))return se(B);return oe.skip?me+=B:(oe.excludeBegin&&(me+=B),j(),!oe.returnBegin&&!oe.excludeBegin&&(me=B)),pe(oe,z),oe.returnBegin?0:B.length}function Re(z){const B=z[0],oe=x.substring(z.index),ue=$(te,z,oe);if(!ue)return ls;const ve=te;te.endScope&&te.endScope._wrap?(j(),ie(B,te.endScope._wrap)):te.endScope&&te.endScope._multi?(j(),Se(te.endScope,z)):ve.skip?me+=B:(ve.returnEnd||ve.excludeEnd||(me+=B),j(),ve.excludeEnd&&(me=B));do te.scope&&he.closeNode(),!te.skip&&!te.subLanguage&&(qe+=te.relevance),te=te.parent;while(te!==ue.parent);return ue.starts&&pe(ue.starts,z),ve.returnEnd?0:B.length}function Le(){const z=[];for(let B=te;B!==Ae;B=B.parent)B.scope&&z.unshift(B.scope);z.forEach(B=>he.openNode(B))}let Pe={};function Ye(z,B){const oe=B&&B[0];if(me+=z,oe==null)return j(),0;if(Pe.type==="begin"&&B.type==="end"&&Pe.index===B.index&&oe===""){if(me+=x.slice(B.index,B.index+1),!i){const ue=new Error(`0 width match regex (${R})`);throw ue.languageName=R,ue.badRule=Pe.rule,ue}return 1}if(Pe=B,B.type==="begin")return K(B);if(B.type==="illegal"&&!Q){const ue=new Error('Illegal lexeme "'+oe+'" for mode "'+(te.scope||"")+'"');throw ue.mode=te,ue}else if(B.type==="end"){const ue=Re(B);if(ue!==ls)return ue}if(B.type==="illegal"&&oe==="")return 1;if(Ne>1e5&&Ne>B.index*3)throw new Error("potential infinite loop, way more iterations than matches");return me+=oe,oe.length}const Ae=L(R);if(!Ae)throw Tt(a.replace("{}",R)),new Error('Unknown language: "'+R+'"');const Xe=Hm(Ae);let Me="",te=ae||Xe;const We={},he=new o.__emitter(o);Le();let me="",qe=0,xe=0,Ne=0,Ie=!1;try{if(Ae.__emitTokens)Ae.__emitTokens(x,he);else{for(te.matcher.considerAll();;){Ne++,Ie?Ie=!1:te.matcher.considerAll(),te.matcher.lastIndex=xe;const z=te.matcher.exec(x);if(!z)break;const B=x.substring(xe,z.index),oe=Ye(B,z);xe=z.index+oe}Ye(x.substring(xe))}return he.finalize(),Me=he.toHTML(),{language:R,value:Me,relevance:qe,illegal:!1,_emitter:he,_top:te}}catch(z){if(z.message&&z.message.includes("Illegal"))return{language:R,value:Pn(x),illegal:!0,relevance:0,_illegalBy:{message:z.message,index:xe,context:x.slice(xe-100,xe+100),mode:z.mode,resultSoFar:Me},_emitter:he};if(i)return{language:R,value:Pn(x),illegal:!1,relevance:0,errorRaised:z,_emitter:he,_top:te};throw z}}function u(R){const x={value:Pn(R),illegal:!1,relevance:0,_top:s,_emitter:new o.__emitter(o)};return x._emitter.addText(R),x}function p(R,x){x=x||o.languages||Object.keys(e);const Q=u(R),ae=x.filter(L).filter(P).map(j=>d(j,R,!1));ae.unshift(Q);const _e=ae.sort((j,ie)=>{if(j.relevance!==ie.relevance)return ie.relevance-j.relevance;if(j.language&&ie.language){if(L(j.language).supersetOf===ie.language)return 1;if(L(ie.language).supersetOf===j.language)return-1}return 0}),[G,q]=_e,re=G;return re.secondBest=q,re}function E(R,x,Q){const ae=x&&n[x]||Q;R.classList.add("hljs"),R.classList.add(`language-${ae}`)}function g(R){let x=null;const Q=c(R);if(l(Q))return;if(V("before:highlightElement",{el:R,language:Q}),R.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",R);return}if(R.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(R)),o.throwUnescapedHTML))throw new Km("One of your code blocks includes unescaped HTML.",R.innerHTML);x=R;const ae=x.textContent,_e=Q?_(ae,{language:Q,ignoreIllegals:!0}):p(ae);R.innerHTML=_e.value,R.dataset.highlighted="yes",E(R,Q,_e.language),R.result={language:_e.language,re:_e.relevance,relevance:_e.relevance},_e.secondBest&&(R.secondBest={language:_e.secondBest.language,relevance:_e.secondBest.relevance}),V("after:highlightElement",{el:R,result:_e,text:ae})}function f(R){o=ss(o,R)}const S=()=>{I(),Nt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function T(){I(),Nt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let v=!1;function I(){if(document.readyState==="loading"){v=!0;return}document.querySelectorAll(o.cssSelector).forEach(g)}function N(){v&&I()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",N,!1);function m(R,x){let Q=null;try{Q=x(t)}catch(ae){if(Tt("Language definition for '{}' could not be registered.".replace("{}",R)),i)Tt(ae);else throw ae;Q=s}Q.name||(Q.name=R),e[R]=Q,Q.rawDefinition=x.bind(null,t),Q.aliases&&Y(Q.aliases,{languageName:R})}function C(R){delete e[R];for(const x of Object.keys(n))n[x]===R&&delete n[x]}function A(){return Object.keys(e)}function L(R){return R=(R||"").toLowerCase(),e[R]||e[n[R]]}function Y(R,{languageName:x}){typeof R=="string"&&(R=[R]),R.forEach(Q=>{n[Q.toLowerCase()]=x})}function P(R){const x=L(R);return x&&!x.disableAutodetect}function J(R){R["before:highlightBlock"]&&!R["before:highlightElement"]&&(R["before:highlightElement"]=x=>{R["before:highlightBlock"](Object.assign({block:x.el},x))}),R["after:highlightBlock"]&&!R["after:highlightElement"]&&(R["after:highlightElement"]=x=>{R["after:highlightBlock"](Object.assign({block:x.el},x))})}function ce(R){J(R),r.push(R)}function D(R){const x=r.indexOf(R);x!==-1&&r.splice(x,1)}function V(R,x){const Q=R;r.forEach(function(ae){ae[Q]&&ae[Q](x)})}function k(R){return Nt("10.7.0","highlightBlock will be removed entirely in v12.0"),Nt("10.7.0","Please use highlightElement now."),g(R)}Object.assign(t,{highlight:_,highlightAuto:p,highlightAll:I,highlightElement:g,highlightBlock:k,configure:f,initHighlighting:S,initHighlightingOnLoad:T,registerLanguage:m,unregisterLanguage:C,listLanguages:A,getLanguage:L,registerAliases:Y,autoDetection:P,inherit:ss,addPlugin:ce,removePlugin:D}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=Wm,t.regex={concat:Rt,lookahead:kd,either:Mo,optional:lm,anyNumberOfTimes:sm};for(const R in gn)typeof gn[R]=="object"&&Md(gn[R]);return Object.assign(t,gn),t},yt=Hd({});yt.newInstance=()=>Hd({});var $m=yt;yt.HighlightJS=yt;yt.default=yt;var Un,cs;function Zm(){if(cs)return Un;cs=1;function t(e){const n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",a="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",c="разделительстраниц разделительстрок символтабуляции ",_="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",d="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",u="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",p=c+_+d+u,E="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",g="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",f="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",S="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",T="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",v="отображениевремениэлементовпланировщика ",I="типфайлаформатированногодокумента ",N="обходрезультатазапроса типзаписизапроса ",m="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",C="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",A="типизмеренияпостроителязапроса ",L="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",Y="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",P="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",J="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",ce="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",D="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",V="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",k="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",R="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",x="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",Q="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",ae=E+g+f+S+T+v+I+N+m+C+A+L+Y+P+J+ce+D+V+k+R+x+Q,q="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",re="null истина ложь неопределено",j=e.inherit(e.NUMBER_MODE),ie={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Se={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},pe=e.inherit(e.C_LINE_COMMENT_MODE),$={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:n,keyword:a+l},contains:[pe]},se={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},K={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:n,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:n,keyword:"знач",literal:re},contains:[j,ie,Se]},pe]},e.inherit(e.TITLE_MODE,{begin:n})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:n,keyword:a,built_in:p,class:ae,type:q,literal:re},contains:[$,K,pe,se,j,ie,Se]}}return Un=t,Un}var Fn,_s;function Xm(){if(_s)return Fn;_s=1;function t(e){const n=e.regex,r=/^[a-zA-Z][a-zA-Z0-9-]*/,i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],a=e.COMMENT(/;/,/$/),s={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},o={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},_={scope:"attribute",match:n.concat(r,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:i,contains:[{scope:"operator",match:/=\/?/},_,a,s,o,l,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Fn=t,Fn}var Bn,ds;function Jm(){if(ds)return Bn;ds=1;function t(e){const n=e.regex,r=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:n.concat(/"/,n.either(...r)),end:/"/,keywords:r,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return Bn=t,Bn}var Gn,us;function jm(){if(us)return Gn;us=1;function t(e){const n=e.regex,r=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=n.concat(r,n.concat("(\\.",r,")*")),a=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,s={className:"rest_arg",begin:/[.]{3}/,end:r,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]},{begin:n.concat(/:\s*/,a)}]},e.METHOD_GUARD],illegal:/#/}}return Gn=t,Gn}var Yn,ps;function eg(){if(ps)return Yn;ps=1;function t(e){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,i=n+"(\\."+n+")?("+r+")?",a="\\w+",o="\\b("+(n+"#"+a+"(\\."+a+")?#("+r+")?")+"|"+i+")",l="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,_=e.COMMENT("--","$"),d={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[_,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:o,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[_,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},d,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},d]}}return Yn=t,Yn}var qn,ms;function tg(){if(ms)return qn;ms=1;function t(e){const n={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},r={className:"symbol",begin:"[a-zA-Z0-9_]+@"},i={className:"keyword",begin:"<",end:">",contains:[n,r]};return n.contains=[i],r.contains=[i],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},n,r,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return qn=t,qn}var Vn,gs;function ng(){if(gs)return Vn;gs=1;function t(e){const n={className:"number",begin:/[$%]\d+/},r={className:"number",begin:/\b\d+/},i={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},a={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[i,a,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",n]},i,r,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return Vn=t,Vn}var Hn,Es;function rg(){if(Es)return Hn;Es=1;function t(e){const n=e.regex,r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,r]},a=e.COMMENT(/--/,/$/),s=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",a]}),o=[a,s,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],c=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[r,e.C_NUMBER_MODE,{className:"built_in",begin:n.concat(/\b/,n.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:n.concat(/\b/,n.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},...o],illegal:/\/\/|->|=>|\[\[/}}return Hn=t,Hn}var zn,Ss;function ag(){if(Ss)return zn;Ss=1;function t(e){const n="[A-Za-z_][0-9A-Za-z_]*",r={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},i={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},a={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},o={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]};s.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,a,e.REGEXP_MODE];const l=s.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:r,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,{begin:/[{,]\s*/,relevance:0,contains:[{begin:n+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:n,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:l}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:n}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return zn=t,zn}var Wn,fs;function ig(){if(fs)return Wn;fs=1;function t(n){const r=n.regex,i=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="<[^<>]+>",l="(?!struct)("+a+"|"+r.optional(s)+"[a-zA-Z_]\\w*"+r.optional(o)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},_="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+_+"|.)",end:"'",illegal:"."},n.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},n.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},i,n.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:r.optional(s)+n.IDENT_RE,relevance:0},g=r.optional(s)+n.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],S=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],T=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],v=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],m={type:S,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:T},C={className:"function.dispatch",relevance:0,keywords:{_hint:v},begin:r.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,n.IDENT_RE,r.lookahead(/(<[^<>]+>|)\s*\(/))},A=[C,p,c,i,n.C_BLOCK_COMMENT_MODE,u,d],L={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:m,contains:A.concat([{begin:/\(/,end:/\)/,keywords:m,contains:A.concat(["self"]),relevance:0}]),relevance:0},Y={className:"function",begin:"("+l+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:m,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:m,relevance:0},{begin:g,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i,n.C_BLOCK_COMMENT_MODE,d,u,c,{begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:["self",i,n.C_BLOCK_COMMENT_MODE,d,u,c]}]},c,i,n.C_BLOCK_COMMENT_MODE,p]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:m,illegal:"",keywords:m,contains:["self",c]},{begin:n.IDENT_RE+"::",keywords:m},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(n){const r={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},i=t(n),a=i.keywords;return a.type=[...a.type,...r.type],a.literal=[...a.literal,...r.literal],a.built_in=[...a.built_in,...r.built_in],a._hints=r._hints,i.name="Arduino",i.aliases=["ino"],i.supersetOf="cpp",i}return Wn=e,Wn}var Kn,bs;function og(){if(bs)return Kn;bs=1;function t(e){const n={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},n,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return Kn=t,Kn}var Qn,Ts;function sg(){if(Ts)return Qn;Ts=1;function t(e){const n=e.regex,r=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,a={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(s,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),_={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[s,c,l,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[s,o,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[_],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[_],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:_}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return Qn=t,Qn}var $n,Cs;function lg(){if(Cs)return $n;Cs=1;function t(e){const n=e.regex,r={begin:"^'{3,}[ \\t]*$",relevance:10},i=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],a=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:n.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],s=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:n.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],o={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},l={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},l,o,...i,...a,...s,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},r,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return $n=t,$n}var Zn,hs;function cg(){if(hs)return Zn;hs=1;function t(e){const n=e.regex,r=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],i=["get","set","args","call"];return{name:"AspectJ",keywords:r,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:r.concat(i),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:n.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:r,illegal:/["\[\]]/,contains:[{begin:n.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:r.concat(i),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:r,excludeEnd:!0,contains:[{begin:n.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:r,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return Zn=t,Zn}var Xn,Rs;function _g(){if(Rs)return Xn;Rs=1;function t(e){const n={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[n,e.inherit(e.QUOTE_STRING_MODE,{contains:[n]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return Xn=t,Xn}var Jn,vs;function dg(){if(vs)return Jn;vs=1;function t(e){const n="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",r=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],i="True False And Null Not Or Default",a="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",s={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},o={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},_={className:"meta",begin:"#",end:"$",keywords:{keyword:r},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[l,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,s]},d={className:"symbol",begin:"@[A-z0-9_]+"},u={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[o,l,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:n,built_in:a,literal:i},contains:[s,o,l,c,_,d,u]}}return Jn=t,Jn}var jn,Ns;function ug(){if(Ns)return jn;Ns=1;function t(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return jn=t,jn}var er,As;function pg(){if(As)return er;As=1;function t(e){const n={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},r="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:r},contains:[n,i,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return er=t,er}var tr,Is;function mg(){if(Is)return tr;Is=1;function t(e){const n=e.UNDERSCORE_IDENT_RE,s={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},o={variants:[{match:[/(class|interface)\s+/,n,/\s+(extends|implements)\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s};return{name:"X++",aliases:["x++"],keywords:s,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},o]}}return tr=t,tr}var nr,Os;function gg(){if(Os)return nr;Os=1;function t(e){const n=e.regex,r={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,a]};a.contains.push(o);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},_={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,r]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),E={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],f=["true","false"],S={match:/(\/[a-z._-]+)+/},T=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],v=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],I=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],N=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:f,built_in:[...T,...v,"set","shopt",...I,...N]},contains:[p,e.SHEBANG(),E,d,e.HASH_COMMENT_MODE,s,S,o,l,c,_,r]}}return nr=t,nr}var rr,ys;function Eg(){if(ys)return rr;ys=1;function t(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return rr=t,rr}var ar,Ds;function Sg(){if(Ds)return ar;Ds=1;function t(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return ar=t,ar}var ir,xs;function fg(){if(xs)return ir;xs=1;function t(e){const n={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[n]},n]}}return ir=t,ir}var or,Ls;function bg(){if(Ls)return or;Ls=1;function t(e){const n=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",s="<[^<>]+>",o="("+i+"|"+n.optional(a)+"[a-zA-Z_]\\w*"+n.optional(s)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",_={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(_,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(a)+e.IDENT_RE,relevance:0},E=n.optional(a)+e.IDENT_RE+"\\s*\\(",S={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},T=[u,l,r,e.C_BLOCK_COMMENT_MODE,d,_],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:T.concat([{begin:/\(/,end:/\)/,keywords:S,contains:T.concat(["self"]),relevance:0}]),relevance:0},I={begin:"("+o+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:S,relevance:0},{begin:E,returnBegin:!0,contains:[e.inherit(p,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,_,d,l,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,_,d,l]}]},l,r,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C",aliases:["h"],keywords:S,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:_,keywords:S}}}return or=t,or}var sr,Ms;function Tg(){if(Ms)return sr;Ms=1;function t(e){const n=e.regex,r=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],i="false true",a=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],s={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"string",begin:/(#\d+)+/},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},_={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:[s,o,e.NUMBER_MODE]},...a]},d=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],u={match:[/OBJECT/,/\s+/,n.either(...d),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:r,literal:i},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},s,o,l,c,e.NUMBER_MODE,u,_]}}return sr=t,sr}var lr,ws;function Cg(){if(ws)return lr;ws=1;function t(e){const n=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],r=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],i=["true","false"],a={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:n,type:r,literal:i},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},a]}}return lr=t,lr}var cr,ks;function hg(){if(ks)return cr;ks=1;function t(e){const n=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],r=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],i=["doc","by","license","see","throws","tagged"],a={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:n,relevance:10},s=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[a]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return a.contains=s,{name:"Ceylon",keywords:{keyword:n.concat(r),meta:i},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(s)}}return cr=t,cr}var _r,Ps;function Rg(){if(Ps)return _r;Ps=1;function t(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return _r=t,_r}var dr,Us;function vg(){if(Us)return dr;Us=1;function t(e){const n="a-zA-Z_\\-!.?+*=<>&'",r="[#]?["+n+"]["+n+"0-9/;:$#]*",i="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",a={$pattern:r,built_in:i+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},s={begin:r,relevance:0},o={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},l={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},_=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),d={scope:"punctuation",match:/,/,relevance:0},u=e.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},E={begin:"\\[|(#::?"+r+")?\\{",end:"[\\]\\}]",relevance:0},g={className:"symbol",begin:"[:]{1,2}"+r},f={begin:"\\(",end:"\\)"},S={endsWithParent:!0,relevance:0},T={keywords:a,className:"name",begin:r,relevance:0,starts:S},v=[d,f,l,c,_,u,g,E,o,p,s],I={beginKeywords:i,keywords:{$pattern:r,keyword:i},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:r,relevance:0,excludeEnd:!0,endsParent:!0}].concat(v)};return f.contains=[I,T,S],S.contains=v,E.contains=v,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[d,f,l,c,_,u,g,E,o,p]}}return dr=t,dr}var ur,Fs;function Ng(){if(Fs)return ur;Fs=1;function t(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return ur=t,ur}var pr,Bs;function Ag(){if(Bs)return pr;Bs=1;function t(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return pr=t,pr}var mr,Gs;function Ig(){if(Gs)return mr;Gs=1;const t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=[].concat(i,n,r);function s(o){const l=["npm","print"],c=["yes","no","on","off"],_=["then","unless","until","loop","by","when","and","or","is","isnt","not"],d=["var","const","let","function","static"],u=N=>m=>!N.includes(m),p={keyword:t.concat(_).filter(u(d)),literal:e.concat(c),built_in:a.concat(l)},E="[A-Za-z$_][0-9A-Za-z$_]*",g={className:"subst",begin:/#\{/,end:/\}/,keywords:p},f=[o.BINARY_NUMBER_MODE,o.inherit(o.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[o.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,g]},{begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,g]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[g,o.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+E},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];g.contains=f;const S=o.inherit(o.TITLE_MODE,{begin:E}),T="(\\(.*\\)\\s*)?\\B[-=]>",v={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:p,contains:["self"].concat(f)}]},I={variants:[{match:[/class\s+/,E,/\s+extends\s+/,E]},{match:[/class\s+/,E]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:p};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:p,illegal:/\/\*/,contains:[...f,o.COMMENT("###","###"),o.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+E+"\\s*=\\s*"+T,end:"[-=]>",returnBegin:!0,contains:[S,v]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:T,end:"[-=]>",returnBegin:!0,contains:[v]}]},I,{begin:E+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return mr=s,mr}var gr,Ys;function Og(){if(Ys)return gr;Ys=1;function t(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return gr=t,gr}var Er,qs;function yg(){if(qs)return Er;qs=1;function t(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return Er=t,Er}var Sr,Vs;function Dg(){if(Vs)return Sr;Vs=1;function t(e){const n=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",s="<[^<>]+>",o="(?!struct)("+i+"|"+n.optional(a)+"[a-zA-Z_]\\w*"+n.optional(s)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",_={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(_,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(a)+e.IDENT_RE,relevance:0},E=n.optional(a)+e.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],S=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],T=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],N={type:f,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:S},m={className:"function.dispatch",relevance:0,keywords:{_hint:T},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},C=[m,u,l,r,e.C_BLOCK_COMMENT_MODE,d,_],A={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:N,contains:C.concat([{begin:/\(/,end:/\)/,keywords:N,contains:C.concat(["self"]),relevance:0}]),relevance:0},L={className:"function",begin:"("+o+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:N,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:N,relevance:0},{begin:E,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[_,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,_,d,l,{begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,_,d,l]}]},l,r,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:N,illegal:"",keywords:N,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:N},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return Sr=t,Sr}var fr,Hs;function xg(){if(Hs)return fr;Hs=1;function t(e){const n="primitive rsc_template",r="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",i="property rsc_defaults op_defaults",a="params meta operations op rule attributes utilization",s="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",o="number string",l="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:a+" "+s+" "+o,literal:l},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:n,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+r.split(" ").join("|")+")\\s+",keywords:r,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:i,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return fr=t,fr}var br,zs;function Lg(){if(zs)return br;zs=1;function t(e){const n="(_?[ui](8|16|32|64|128))?",r="(_?f(32|64))?",i="[a-zA-Z_]\\w*[!?=]?",a="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",s="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",o={$pattern:i,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:o},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},_={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:o};function d(T,v){const I=[{begin:T,end:v}];return I[0].contains=I,I}const u={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:d("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},p={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%q<",end:">",contains:d("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},E={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%r<",end:">",contains:d("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},f={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},S=[_,u,p,g,E,f,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[u,{begin:a}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+r+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+n}],relevance:0}];return l.contains=S,_.contains=S.slice(1),{name:"Crystal",aliases:["cr"],keywords:o,contains:S}}return br=t,br}var Tr,Ws;function Mg(){if(Ws)return Tr;Ws=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],a=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],s=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],o={keyword:a.concat(s),built_in:n,literal:i},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},_={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(_,{illegal:/\n/}),u={className:"subst",begin:/\{/,end:/\}/,keywords:o},p=e.inherit(u,{illegal:/\n/}),E={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,p]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]},f=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});u.contains=[g,E,_,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],p.contains=[f,E,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const S={variants:[g,E,_,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},T={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},v=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",I={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},S,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,T,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,T,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+v+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,T],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[S,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},I]}}return Tr=t,Tr}var Cr,Ks;function wg(){if(Ks)return Cr;Ks=1;function t(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return Cr=t,Cr}var hr,Qs;function kg(){if(Qs)return hr;Qs=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],a=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(o){const l=o.regex,c=t(o),_={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},d="and or not only",u=/@-?\w[\w]*(-\w+)*/,p="[a-zA-Z-][a-zA-Z0-9_-]*",E=[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,_,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+p,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+r.join("|")+")"},{begin:":(:)?("+i.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+a.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...E,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...E,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:u},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:d,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...E,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return hr=s,hr}var Rr,$s;function Pg(){if($s)return Rr;$s=1;function t(e){const n={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},r="(0|[1-9][\\d_]*)",i="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",a="0[bB][01_]+",s="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",o="0[xX]"+s,l="([eE][+-]?"+i+")",c="("+i+"(\\.\\d*|"+l+")|\\d+\\."+i+"|\\."+r+l+"?)",_="(0[xX]("+s+"\\."+s+"|\\.?"+s+")[pP][+-]?"+i+")",d="("+r+"|"+a+"|"+o+")",u="("+_+"|"+c+")",p=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,E={className:"number",begin:"\\b"+d+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},g={className:"number",begin:"\\b("+u+"([fF]|L|i|[fF]i|Li)?|"+d+"(i|[fF]i|Li))",relevance:0},f={className:"string",begin:"'("+p+"|.)",end:"'",illegal:"."},T={className:"string",begin:'"',contains:[{begin:p,relevance:0}],end:'"[cwd]?'},v={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},I={className:"string",begin:"`",end:"`[cwd]?"},N={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},m={className:"string",begin:'q"\\{',end:'\\}"'},C={className:"meta",begin:"^#!",end:"$",relevance:5},A={className:"meta",begin:"#(line)",end:"$",relevance:5},L={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},Y=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:n,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,Y,N,T,v,I,m,g,E,f,C,A,L]}}return Rr=t,Rr}var vr,Zs;function Ug(){if(Zs)return vr;Zs=1;function t(e){const n=e.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},a={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},_={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(_,{contains:[]}),p=e.inherit(d,{contains:[]});_.contains.push(p),d.contains.push(u);let E=[r,c];return[_,d,u,p].forEach(S=>{S.contains=S.contains.concat(E)}),E=E.concat(_,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:E},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:E}]}]},r,s,_,d,{className:"quote",begin:"^>\\s+",contains:E,end:"$"},a,i,c,o]}}return vr=t,vr}var Nr,Xs;function Fg(){if(Xs)return Nr;Xs=1;function t(e){const n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},r={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n,r]}]};r.contains=[e.C_NUMBER_MODE,i];const a=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],s=a.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:a.concat(s).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return Nr=t,Nr}var Ar,Js;function Bg(){if(Js)return Ar;Js=1;function t(e){const n=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],r=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},a={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},s={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},o={className:"string",begin:/(#\d+)+/},l={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[a,o,i].concat(r)},i].concat(r)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:n,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[a,o,e.NUMBER_MODE,s,l,c,i].concat(r)}}return Ar=t,Ar}var Ir,js;function Gg(){if(js)return Ir;js=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return Ir=t,Ir}var Or,el;function Yg(){if(el)return Or;el=1;function t(e){const n={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[n],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[n]}]}}return Or=t,Or}var yr,tl;function qg(){if(tl)return yr;tl=1;function t(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return yr=t,yr}var Dr,nl;function Vg(){if(nl)return Dr;nl=1;function t(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a={className:"variable",begin:/&[a-z\d_]*\b/},s={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},o={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",relevance:0,begin:"<",end:">",contains:[r,a]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},_={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},d={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},u={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},p={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[_,a,s,o,c,u,d,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,n,i,p,{begin:e.IDENT_RE+"::",keywords:""}]}}return Mr=t,Mr}var wr,ol;function Kg(){if(ol)return wr;ol=1;function t(e){const n="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:n}]}}return wr=t,wr}var kr,sl;function Qg(){if(sl)return kr;sl=1;function t(e){const n=e.COMMENT(/\(\*/,/\*\)/),r={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},a={begin:/=/,end:/[.;]/,contains:[n,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[n,r,a]}}return kr=t,kr}var Pr,ll;function $g(){if(ll)return Pr;ll=1;function t(e){const n=e.regex,r="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",o={$pattern:r,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:o},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},d={match:/\\[\s\S]/,scope:"char.escape",relevance:0},u=`[/|([{<"']`,p=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],E=m=>({scope:"char.escape",begin:n.concat(/\\/,m),relevance:0}),g={className:"string",begin:"~[a-z](?="+u+")",contains:p.map(m=>e.inherit(m,{contains:[E(m.end),d,l]}))},f={className:"string",begin:"~[A-Z](?="+u+")",contains:p.map(m=>e.inherit(m,{contains:[E(m.end)]}))},S={className:"regex",variants:[{begin:"~r(?="+u+")",contains:p.map(m=>e.inherit(m,{end:n.concat(m.end,/[uismxfU]{0,7}/),contains:[E(m.end),d,l]}))},{begin:"~R(?="+u+")",contains:p.map(m=>e.inherit(m,{end:n.concat(m.end,/[uismxfU]{0,7}/),contains:[E(m.end)]}))}]},T={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},v={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:r,endsParent:!0})]},I=e.inherit(v,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),N=[T,S,f,g,e.HASH_COMMENT_MODE,I,v,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[T,{begin:i}],relevance:0},{className:"symbol",begin:r+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=N,{name:"Elixir",aliases:["ex","exs"],keywords:o,contains:N}}return Pr=t,Pr}var Ur,cl;function Zg(){if(cl)return Ur;cl=1;function t(e){const n={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},n]},a={begin:/\{/,end:/\}/,contains:i.contains},s={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[i,n],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[i,n],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[r,i,a,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,n]},{begin:"port",end:"$",keywords:"port",contains:[n]},s,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,r,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}],illegal:/;/}}return Ur=t,Ur}var Fr,_l;function Xg(){if(_l)return Fr;_l=1;function t(e){const n=e.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),a=n.concat(i,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},_=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,d]})]}]},p="[1-9](_?[0-9])*|0",E="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${E}))?([eE][+-]?(${E})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},C=[u,{variants:[{match:[/class\s+/,a,/\s+<\s+/,a]},{match:[/\b(class|module)\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,a],scope:{2:"title.class"},keywords:o},{relevance:0,match:[a,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:i,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:r}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,_),relevance:0}].concat(c,_);d.contains=C,f.contains=C;const A="[>?]>",L="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",Y="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",P=[{begin:/^\s*=>/,starts:{end:"$",contains:C}},{className:"meta.prompt",begin:"^("+A+"|"+L+"|"+Y+")(?=[ ])",starts:{end:"$",keywords:o,contains:C}}];return _.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(P).concat(_).concat(C)}}return Fr=t,Fr}var Br,dl;function Jg(){if(dl)return Br;dl=1;function t(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Br=t,Br}var Gr,ul;function jg(){if(ul)return Gr;ul=1;function t(e){const n=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:n.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return Gr=t,Gr}var Yr,pl;function eE(){if(pl)return Yr;pl=1;function t(e){const n="[a-z'][a-zA-Z0-9_']*",r="("+n+":"+n+"|"+n+")",i={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},a=e.COMMENT("%","$"),s={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+n+"/\\d+"},l={begin:r+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:r,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},_={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},d={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},u={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},p={beginKeywords:"fun receive if try case",end:"end",keywords:i};p.contains=[a,o,e.inherit(e.APOS_STRING_MODE,{className:""}),p,l,e.QUOTE_STRING_MODE,s,c,_,d,u];const E=[a,o,p,l,e.QUOTE_STRING_MODE,s,c,_,d,u];l.contains[1].contains=E,c.contains=E,u.contains[1].contains=E;const g=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],f={className:"params",begin:"\\(",end:"\\)",contains:E};return{name:"Erlang",aliases:["erl"],keywords:i,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[f,e.inherit(e.TITLE_MODE,{begin:n})],starts:{end:";|\\.",keywords:i,contains:E}},a,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:g.map(S=>`${S}|1.5`).join(" ")},contains:[f]},s,e.QUOTE_STRING_MODE,u,_,d,c,{begin:/\.$/}]}}return Yr=t,Yr}var qr,ml;function tE(){if(ml)return qr;ml=1;function t(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return qr=t,qr}var Vr,gl;function nE(){if(gl)return Vr;gl=1;function t(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return Vr=t,Vr}var Hr,El;function rE(){if(El)return Hr;El=1;function t(e){const n={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},r={className:"string",variants:[{begin:'"',end:'"'}]},a={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r,a,e.C_NUMBER_MODE]}}return Hr=t,Hr}var zr,Sl;function aE(){if(Sl)return zr;Sl=1;function t(e){const n=e.regex,r={className:"params",begin:"\\(",end:"\\)"},i={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},a=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:n.concat(/\b\d+/,/\.(\d*)/,s,a)},{begin:n.concat(/\b\d+/,s,a)},{begin:n.concat(/\.\d+/,s,a)}],relevance:0},l={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,r]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[c,l,{begin:/^C\s*=(?!=)/,relevance:0},i,o]}}return zr=t,zr}var Wr,fl;function iE(){if(fl)return Wr;fl=1;function t(o){return new RegExp(o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(o){return o?typeof o=="string"?o:o.source:null}function n(o){return r("(?=",o,")")}function r(...o){return o.map(c=>e(c)).join("")}function i(o){const l=o[o.length-1];return typeof l=="object"&&l.constructor===Object?(o.splice(o.length-1,1),l):{}}function a(...o){return"("+(i(o).capture?"":"?:")+o.map(_=>e(_)).join("|")+")"}function s(o){const l=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],c={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},_=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],d=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],u=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],p=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],g={keyword:l,literal:d,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":u},S={variants:[o.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),o.C_LINE_COMMENT_MODE]},T=/[a-zA-Z_](\w|')*/,v={scope:"variable",begin:/``/,end:/``/},I=/\B('|\^)/,N={scope:"symbol",variants:[{match:r(I,/``.*?``/)},{match:r(I,o.UNDERSCORE_IDENT_RE)}],relevance:0},m=function({includeEqual:j}){let ie;j?ie="!%&*+-/<=>@^|~?":ie="!%&*+-/<>@^|~?";const Se=Array.from(ie),pe=r("[",...Se.map(t),"]"),$=a(pe,/\./),se=r($,n($)),K=a(r(se,$,"*"),r(pe,"+"));return{scope:"operator",match:a(K,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},C=m({includeEqual:!0}),A=m({includeEqual:!1}),L=function(j,ie){return{begin:r(j,n(r(/\s*/,a(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:ie,end:n(a(/\n/,/=/)),relevance:0,keywords:o.inherit(g,{type:p}),contains:[S,N,o.inherit(v,{scope:null}),A]}},Y=L(/:/,"operator"),P=L(/\bof\b/,"keyword"),J={begin:[/(^|\s+)/,/type/,/\s+/,T],beginScope:{2:"keyword",4:"title.class"},end:n(/\(|=|$/),keywords:g,contains:[S,o.inherit(v,{scope:null}),N,{scope:"operator",match:/<|>/},Y]},ce={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},D={begin:[/^\s*/,r(/#/,a(..._)),/\b/],beginScope:{2:"meta"},end:n(/\s|$/)},V={variants:[o.BINARY_NUMBER_MODE,o.C_NUMBER_MODE]},k={scope:"string",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE]},R={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},o.BACKSLASH_ESCAPE]},x={scope:"string",begin:/"""/,end:/"""/,relevance:2},Q={scope:"subst",begin:/\{/,end:/\}/,keywords:g},ae={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},o.BACKSLASH_ESCAPE,Q]},_e={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},o.BACKSLASH_ESCAPE,Q]},G={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Q],relevance:2},q={scope:"string",match:r(/'/,a(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Q.contains=[_e,ae,R,k,q,c,S,v,Y,ce,D,V,N,C],{name:"F#",aliases:["fs","f#"],keywords:g,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[c,{variants:[G,_e,ae,x,R,k,q]},S,v,J,{scope:"meta",begin:/\[\]/,relevance:2,contains:[v,x,R,k,q,V]},P,Y,ce,D,V,N,C]}}return Wr=s,Wr}var Kr,bl;function oE(){if(bl)return Kr;bl=1;function t(e){const n=e.regex,r={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},i={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},a={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},s={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},o={begin:"/",end:"/",keywords:r,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},l=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[s,o,{className:"comment",begin:n.concat(l,n.anyNumberOfTimes(n.concat(/[ ]+/,l))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:r,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},i,a]},e.C_NUMBER_MODE,a]}}return Kr=t,Kr}var Qr,Tl;function sE(){if(Tl)return Qr;Tl=1;function t(e){const n={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},r=e.COMMENT("@","@"),i={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r]},a={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},s=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,a]}],o={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},l=function(p,E,g){const f=e.inherit({className:"function",beginKeywords:p,end:E,excludeEnd:!0,contains:[].concat(s)},g||{});return f.contains.push(o),f.contains.push(e.C_NUMBER_MODE),f.contains.push(e.C_BLOCK_COMMENT_MODE),f.contains.push(r),f},c={className:"built_in",begin:"\\b("+n.built_in.split(" ").join("|")+")\\b"},_={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},d={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:n,relevance:0,contains:[{beginKeywords:n.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},u={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:n.built_in,literal:n.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,c,d,_,"self"]};return d.contains.push(u),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:n,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,_,i,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,r,u]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},d,a]}}return Qr=t,Qr}var $r,Cl;function lE(){if(Cl)return $r;Cl=1;function t(e){const n="[A-Z_][A-Z0-9_.]*",r="%",i={$pattern:n,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},a={className:"meta",begin:"([O])([0-9]+)"},s=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),o=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),s,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[s],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:r},a].concat(o)}}return $r=t,$r}var Zr,hl;function cE(){if(hl)return Zr;hl=1;function t(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return Zr=t,Zr}var Xr,Rl;function _E(){if(Rl)return Xr;Rl=1;function t(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return Xr=t,Xr}var Jr,vl;function dE(){if(vl)return Jr;vl=1;function t(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Jr=t,Jr}var jr,Nl;function uE(){if(Nl)return jr;Nl=1;function t(e){const s={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:s,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return aa=t,aa}var ia,xl;function fE(){if(xl)return ia;xl=1;function t(e){const n=e.regex,r={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},i={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},a=/""|"[^"]+"/,s=/''|'[^']+'/,o=/\[\]|\[[^\]]+\]/,l=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,_=n.either(a,s,o,l),d=n.concat(n.optional(/\.|\.\/|\//),_,n.anyNumberOfTimes(n.concat(c,_))),u=n.concat("(",o,"|",l,")(?==)"),p={begin:d},E=e.inherit(p,{keywords:i}),g={begin:/\(/,end:/\)/},f={className:"attr",begin:u,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,E,g]}}},S={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},T={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,S,f,E,g],returnEnd:!0},v=e.inherit(p,{className:"name",keywords:r,starts:e.inherit(T,{end:/\)/})});g.contains=[v];const I=e.inherit(p,{keywords:r,className:"name",starts:e.inherit(T,{end:/\}\}/})}),N=e.inherit(p,{keywords:r,className:"name"}),m=e.inherit(p,{className:"name",keywords:r,starts:e.inherit(T,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[I],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[N]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[I]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[N]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[m]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[m]}]}}return ia=t,ia}var oa,Ll;function bE(){if(Ll)return oa;Ll=1;function t(e){const n="([0-9]_*)+",r="([0-9a-fA-F]_*)+",i="([01]_*)+",a="([0-7]_*)+",c="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",_={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},d={className:"meta",begin:/\{-#/,end:/#-\}/},u={className:"meta",begin:"^#",end:"$"},p={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},E={begin:"\\(",end:"\\)",illegal:'"',contains:[d,u,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),_]},g={begin:/\{/,end:/\}/,contains:E.contains},f={className:"number",relevance:0,variants:[{match:`\\b(${n})(\\.(${n}))?([eE][+-]?(${n}))?\\b`},{match:`\\b0[xX]_*(${r})(\\.(${r}))?([pP][+-]?(${n}))?\\b`},{match:`\\b0[oO](${a})\\b`},{match:`\\b0[bB](${i})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[E,_],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[E,_],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[p,E,_]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[d,p,E,g,_]},{beginKeywords:"default",end:"$",contains:[p,E,_]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,_]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[p,e.QUOTE_STRING_MODE,_]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},d,u,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,f,p,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${c}--+|--+(?!-)${c}`},_,{begin:"->|<-"}]}}return oa=t,oa}var sa,Ml;function TE(){if(Ml)return sa;Ml=1;function t(e){const n="[a-zA-Z_$][a-zA-Z0-9_$]*",r=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:r,relevance:0},{className:"variable",begin:"\\$"+n},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return sa=t,sa}var la,wl;function CE(){if(wl)return la;wl=1;function t(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return la=t,la}var ca,kl;function hE(){if(kl)return ca;kl=1;function t(e){const n=e.regex,r="HTTP/([32]|1\\.[01])",i=/[A-Za-z][A-Za-z0-9-]*/,a={className:"attribute",begin:n.concat("^",i,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},s=[a,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+r+" \\d{3})",end:/$/,contains:[{className:"meta",begin:r},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+r+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:r},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},e.inherit(a,{relevance:0})]}}return ca=t,ca}var _a,Pl;function RE(){if(Pl)return _a;Pl=1;function t(e){const n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",i={$pattern:r,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},a="[-+]?\\d+(\\.\\d+)?",s={begin:r,relevance:0},o={className:"number",begin:a,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),_={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},d={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},u={className:"comment",begin:"\\^"+r},p=e.COMMENT("\\^\\{","\\}"),E={className:"symbol",begin:"[:]{1,2}"+r},g={begin:"\\(",end:"\\)"},f={endsWithParent:!0,relevance:0},S={className:"name",relevance:0,keywords:i,begin:r,starts:f},T=[g,l,u,p,c,E,d,o,_,s];return g.contains=[e.COMMENT("comment",""),S,f],f.contains=T,d.contains=T,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),g,l,u,p,c,E,d,o,_]}}return _a=t,_a}var da,Ul;function vE(){if(Ul)return da;Ul=1;function t(e){const n="\\[",r="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:n,end:r}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:n,end:r,contains:["self"]}]}}return da=t,da}var ua,Fl;function NE(){if(Fl)return ua;Fl=1;function t(e){const n=e.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const a={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[i,s,a,o,r,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,_=/"(\\"|[^"])*"/,d=/'[^']*'/,u=n.either(c,_,d),p=n.concat(u,"(\\s*\\.\\s*",u,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:p,className:"attr",starts:{end:/$/,contains:[i,l,s,a,o,r]}}]}}return ua=t,ua}var pa,Bl;function AE(){if(Bl)return pa;Bl=1;function t(e){const n=e.regex,r={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,a=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:n.concat(/\b\d+/,/\.(\d*)/,a,i)},{begin:n.concat(/\b\d+/,a,i)},{begin:n.concat(/\.\d+/,a,i)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,r]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),s]}}return pa=t,pa}var ma,Gl;function IE(){if(Gl)return ma;Gl=1;function t(e){const n="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",i="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",a="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",s="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",o="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",l="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",c="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",_="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",d="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",u="smHidden smMaximized smMinimized smNormal wmNo wmYes ",p="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",E="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",g="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",f="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",S="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",T="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",v="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",I="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",N="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",m="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",C="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",A="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",L="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",Y="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",P="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",J="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",ce="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",D="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",V="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",k="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",R="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",x="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",Q="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",ae="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",_e="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",G="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",q="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",re="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",j=a+s+o+l+c+_+d+u+p+E+g+f+S+T+v+I+N+m+C+A+L+Y+P+J+ce+D+V+k+R+x+Q+ae+_e+G+q+re,ie="atUser atGroup atRole ",Se="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",pe="apBegin apEnd ",$="alLeft alRight ",se="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",K="cirCommon cirRevoked ",Re="ctSignature ctEncode ctSignatureEncode ",Le="clbUnchecked clbChecked clbGrayed ",Pe="ceISB ceAlways ceNever ",Ye="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Ae="cfInternal cfDisplay ",Xe="ciUnspecified ciWrite ciRead ",Me="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",te="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",We="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",he="cltInternal cltPrimary cltGUI ",me="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",qe="dssEdit dssInsert dssBrowse dssInActive ",xe="dftDate dftShortDate dftDateTime dftTimeStamp ",Ne="dotDays dotHours dotMinutes dotSeconds ",Ie="dtkndLocal dtkndUTC ",z="arNone arView arEdit arFull ",B="ddaView ddaEdit ",oe="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",ue="ecotFile ecotProcess ",ve="eaGet eaCopy eaCreate eaCreateStandardRoute ",Oe="edltAll edltNothing edltQuery ",lt="essmText essmCard ",tt="esvtLast esvtLastActive esvtSpecified ",dt="edsfExecutive edsfArchive ",ct="edstSQLServer edstFile ",ge="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",Ke="vsDefault vsDesign vsActive vsObsolete ",be="etNone etCertificate etPassword etCertificatePassword ",we="ecException ecWarning ecInformation ",nt="estAll estApprovingOnly ",_t="evtLast evtLastActive evtQuery ",vt="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",ut="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",U="grhAuto grhX1 grhX2 grhX3 ",F="hltText hltRTF hltHTML ",le="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",de="im8bGrayscale im24bRGB im1bMonochrome ",ne="itBMP itJPEG itWMF itPNG ",ke="ikhInformation ikhWarning ikhError ikhNoIcon ",Je="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",je="isShow isHide isByUserSettings ",ye="jkJob jkNotice jkControlJob ",Xt="jtInner jtLeft jtRight jtFull jtCross ",Jt="lbpAbove lbpBelow lbpLeft lbpRight ",jt="eltPerConnection eltPerUser ",en="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",tn="sfsItalic sfsStrikeout sfsNormal ",nn="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",rn="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",an="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",on="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",sn="rdWindow rdFile rdPrinter ",ln="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",cn="reOnChange reOnChangeValues ",_n="ttGlobal ttLocal ttUser ttSystem ",pu="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",mu="smSelect smLike smCard ",gu="stNone stAuthenticating stApproving ",Eu="sctString sctStream ",Su="sstAnsiSort sstNaturalSort ",fu="svtEqual svtContain ",bu="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",Tu="tarAbortByUser tarAbortByWorkflowException ",Cu="tvtAllWords tvtExactPhrase tvtAnyWord ",hu="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",Ru="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",vu="btAnd btDetailAnd btOr btNotOr btOnly ",Nu="vmView vmSelect vmNavigation ",Au="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Iu="wfatPrevious wfatNext wfatCancel wfatFinish ",Ou="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",yu="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",Du="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",xu="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",Lu="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",Mu="waAll waPerformers waManual ",wu="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",ku="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",Pu="wiLow wiNormal wiHigh ",Uu="wrtSoft wrtHard ",Fu="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Bu="wtmFull wtmFromCurrent wtmOnlyCurrent ",Gu=ie+Se+pe+$+se+K+Re+Le+Pe+Ye+Ae+Xe+Me+te+We+he+me+qe+xe+Ne+Ie+z+B+oe+ue+ve+Oe+lt+tt+dt+ct+ge+Ke+be+we+nt+_t+vt+ut+U+F+le+de+ne+ke+Je+je+ye+Xt+Jt+jt+en+tn+nn+rn+an+on+sn+ln+cn+_n+pu+mu+gu+Eu+Su+fu+bu+Tu+Cu+hu+Ru+vu+Nu+Au+Iu+Ou+yu+Du+xu+Lu+Mu+wu+ku+Pu+Uu+Fu+Bu,Yu="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",qu="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",Vu="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Hu=j+Gu,zu=qu,Wu="null true false nil ",Wo={className:"number",begin:e.NUMBER_RE,relevance:0},Ko={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Qo={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Ku={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Qo]},Qu={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Qo]},$o={variants:[Ku,Qu]},dn={$pattern:n,keyword:i,built_in:Hu,class:zu,literal:Wu},wn={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:dn,relevance:0},Zo={className:"type",begin:":[ \\t]*("+Vu.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Xo={className:"variable",keywords:dn,begin:n,relevance:0,contains:[Zo,wn]},Jo=r+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:dn,illegal:"\\$|\\?|%|,|;$|~|#|@|i(s,o,l-1))}function a(s){const o=s.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+i("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),E={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},g={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},f={className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[s.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:E,illegal:/<\/|#/,contains:[s.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[s.BACKSLASH_ESCAPE]},s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[o.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[f,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",s.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:E,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[g,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,r,s.C_BLOCK_COMMENT_MODE]},s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]},r,g]}}return ga=a,ga}var Ea,ql;function yE(){if(ql)return Ea;ql=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],s=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],o=[].concat(a,r,i);function l(c){const _=c.regex,d=(Se,{after:pe})=>{const $="",end:""},E=/<[A-Za-z0-9\\._:-]+\s*\/>/,g={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Se,pe)=>{const $=Se[0].length+Se.index,se=Se.input[$];if(se==="<"||se===","){pe.ignoreMatch();return}se===">"&&(d(Se,{after:$})||pe.ignoreMatch());let K;const Re=Se.input.substring($);if(K=Re.match(/^\s*=/)){pe.ignoreMatch();return}if((K=Re.match(/^\s+extends\s+/))&&K.index===0){pe.ignoreMatch();return}}},f={$pattern:t,keyword:e,literal:n,built_in:o,"variable.language":s},S="[0-9](_?[0-9])*",T=`\\.(${S})`,v="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",I={className:"number",variants:[{begin:`(\\b(${v})((${T})|\\.)?|(${T}))[eE][+-]?(${S})\\b`},{begin:`\\b(${v})\\b((${T})\\b|\\.)?|(${T})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},N={className:"subst",begin:"\\$\\{",end:"\\}",keywords:f,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,N],subLanguage:"xml"}},C={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,N],subLanguage:"css"}},A={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,N],subLanguage:"graphql"}},L={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,N]},P={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:u+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},J=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,m,C,A,L,{match:/\$\d+/},I];N.contains=J.concat({begin:/\{/,end:/\}/,keywords:f,contains:["self"].concat(J)});const ce=[].concat(P,N.contains),D=ce.concat([{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(ce)}]),V={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,contains:D},k={variants:[{match:[/class/,/\s+/,u,/\s+/,/extends/,/\s+/,_.concat(u,"(",_.concat(/\./,u),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,u],scope:{1:"keyword",3:"title.class"}}]},R={relevance:0,match:_.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},x={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Q={variants:[{match:[/function/,/\s+/,u,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[V],illegal:/%/},ae={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _e(Se){return _.concat("(?!",Se.join("|"),")")}const G={match:_.concat(/\b/,_e([...a,"super","import"]),u,_.lookahead(/\(/)),className:"title.function",relevance:0},q={begin:_.concat(/\./,_.lookahead(_.concat(u,/(?![0-9A-Za-z$_(])/))),end:u,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,u,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},V]},j="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",ie={match:[/const|var|let/,/\s+/,u,/\s*/,/=\s*/,/(async\s*)?/,_.lookahead(j)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[V]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:f,exports:{PARAMS_CONTAINS:D,CLASS_REFERENCE:R},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),x,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,m,C,A,L,P,{match:/\$\d+/},I,R,{className:"attr",begin:u+_.lookahead(":"),relevance:0},ie,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[P,c.REGEXP_MODE,{className:"function",begin:j,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,contains:D}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:E},{begin:g.begin,"on:begin":g.isTrulyOpeningTag,end:g.end}],subLanguage:"xml",contains:[{begin:g.begin,end:g.end,skip:!0,contains:["self"]}]}]},Q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[V,c.inherit(c.TITLE_MODE,{begin:u,className:"title.function"})]},{match:/\.\.\./,relevance:0},q,{match:"\\$"+u,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[V]},G,ae,k,re,{match:/\$[(.]/}]}}return Ea=l,Ea}var Sa,Vl;function DE(){if(Vl)return Sa;Vl=1;function t(e){const r={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},i={className:"function",begin:/:[\w\-.]+/,relevance:0},a={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},s={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,s,i,a,r]}}return Sa=t,Sa}var fa,Hl;function xE(){if(Hl)return fa;Hl=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],a={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",keywords:{literal:i},contains:[n,r,e.QUOTE_STRING_MODE,a,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return fa=t,fa}var ba,zl;function LE(){if(zl)return ba;zl=1;function t(e){const n="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",s={$pattern:n,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},o={keywords:s,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},_={className:"subst",begin:/\$\(/,end:/\)/,keywords:s},d={className:"variable",begin:"\\$"+n},u={className:"string",contains:[e.BACKSLASH_ESCAPE,_,d],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},p={className:"string",contains:[e.BACKSLASH_ESCAPE,_,d],begin:"`",end:"`"},E={className:"meta",begin:"@"+n},g={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return o.name="Julia",o.contains=[l,c,u,p,E,g,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],_.contains=o.contains,o}return ba=t,ba}var Ta,Wl;function ME(){if(Wl)return Ta;Wl=1;function t(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Ta=t,Ta}var Ca,Kl;function wE(){if(Kl)return Ca;Kl=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(a){const s={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},o={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:a.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[a.C_NUMBER_MODE]},_={className:"variable",begin:"\\$"+a.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[_,c]},{begin:"'",end:"'",illegal:/\n/,contains:[a.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[a.BACKSLASH_ESCAPE,_,c]}]};c.contains.push(d);const u={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+a.UNDERSCORE_IDENT_RE+")?"},p={className:"meta",begin:"@"+a.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[a.inherit(d,{className:"string"}),"self"]}]},E=r,g=a.COMMENT("/\\*","\\*/",{contains:[a.C_BLOCK_COMMENT_MODE]}),f={variants:[{className:"type",begin:a.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},S=f;return S.variants[1].contains=[f],f.variants[1].contains=[S],{name:"Kotlin",aliases:["kt","kts"],keywords:s,contains:[a.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),a.C_LINE_COMMENT_MODE,g,o,l,u,p,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:s,relevance:5,contains:[{begin:a.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[a.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[f,a.C_LINE_COMMENT_MODE,g],relevance:0},a.C_LINE_COMMENT_MODE,g,u,p,d,a.C_NUMBER_MODE]},g]},{begin:[/class|interface|trait/,/\s+/,a.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},a.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},u,p]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},E]}}return Ca=i,Ca}var ha,Ql;function kE(){if(Ql)return ha;Ql=1;function t(e){const n="[a-zA-Z_][\\w.]*",r="<\\?(lasso(script)?|=)",i="\\]|\\?>",a={$pattern:n+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},s=e.COMMENT("",{relevance:0}),o={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[s]}},l={className:"meta",begin:"\\[/noprocess|"+r},c={className:"symbol",begin:"'"+n+"'"},_=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+n},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:n,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+n,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:n+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:a,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[|"+r,returnEnd:!0,relevance:0,contains:[s]}},o,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:a,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[noprocess\\]|"+r,returnEnd:!0,contains:[s]}},o,l].concat(_)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(_)}}return ha=t,ha}var Ra,$l;function PE(){if($l)return Ra;$l=1;function t(e){const r=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(P=>P+"(?![a-zA-Z@:_])")),i=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(P=>P+"(?![a-zA-Z:_])").join("|")),a=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],s=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],o={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:r},{endsParent:!0,begin:i},{endsParent:!0,variants:s},{endsParent:!0,relevance:0,variants:a}]},l={className:"params",relevance:0,begin:/#+\d?/},c={variants:s},_={className:"built_in",relevance:0,begin:/[$&^_]/},d={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},u=e.COMMENT("%","$",{relevance:0}),p=[o,l,c,_,d,u],E={begin:/\{/,end:/\}/,relevance:0,contains:["self",...p]},g=e.inherit(E,{relevance:0,endsParent:!0,contains:[E,...p]}),f={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[E,...p]},S={begin:/\s+/,relevance:0},T=[g],v=[f],I=function(P,J){return{contains:[S],starts:{relevance:0,contains:P,starts:J}}},N=function(P,J){return{begin:"\\\\"+P+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+P},relevance:0,contains:[S],starts:J}},m=function(P,J){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+P+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},I(T,J))},C=(P="string")=>e.END_SAME_AS_BEGIN({className:P,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),A=function(P){return{className:"string",end:"(?=\\\\end\\{"+P+"\\})"}},L=(P="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:P,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),Y=[...["verb","lstinline"].map(P=>N(P,{contains:[C()]})),N("mint",I(T,{contains:[C()]})),N("mintinline",I(T,{contains:[L(),C()]})),N("url",{contains:[L("link"),L("link")]}),N("hyperref",{contains:[L("link")]}),N("href",I(v,{contains:[L("link")]})),...[].concat(...["","\\*"].map(P=>[m("verbatim"+P,A("verbatim"+P)),m("filecontents"+P,I(T,A("filecontents"+P))),...["","B","L"].map(J=>m(J+"Verbatim"+P,I(v,A(J+"Verbatim"+P))))])),m("minted",I(v,I(T,A("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...Y,...p]}}return Ra=t,Ra}var va,Zl;function UE(){if(Zl)return va;Zl=1;function t(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return va=t,va}var Na,Xl;function FE(){if(Xl)return Na;Xl=1;function t(e){const n=/([A-Za-z_][A-Za-z_0-9]*)?/,i={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},a={match:[n,/(?=\()/],scope:{1:"keyword"},contains:[i]};return i.contains.unshift(a),{name:"Leaf",contains:[{match:[/#+/,n,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[i]},{match:[/#+/,n,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return Na=t,Na}var Aa,Jl;function BE(){if(Jl)return Aa;Jl=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],a=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),s=r.concat(i);function o(l){const c=t(l),_=s,d="and or not only",u="[\\w-]+",p="("+u+"|@\\{"+u+"\\})",E=[],g=[],f=function(P){return{className:"string",begin:"~?"+P+".*?"+P}},S=function(P,J,ce){return{className:P,begin:J,relevance:ce}},T={$pattern:/[a-z-]+/,keyword:d,attribute:n.join(" ")},v={begin:"\\(",end:"\\)",contains:g,keywords:T,relevance:0};g.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,f("'"),f('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,v,S("variable","@@?"+u,10),S("variable","@\\{"+u+"\\}"),S("built_in","~?`[^`]*?`"),{className:"attribute",begin:u+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const I=g.concat({begin:/\{/,end:/\}/,contains:E}),N={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(g)},m={begin:p+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+a.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:g}}]},C={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:T,returnEnd:!0,contains:g,relevance:0}},A={className:"variable",variants:[{begin:"@"+u+"\\s*:",relevance:15},{begin:"@"+u}],starts:{end:"[;}]",returnEnd:!0,contains:I}},L={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:p,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,N,S("keyword","all\\b"),S("variable","@\\{"+u+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,S("selector-tag",p,0),S("selector-id","#"+p),S("selector-class","\\."+p,0),S("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:I},{begin:"!important"},c.FUNCTION_DISPATCH]},Y={begin:u+`:(:)?(${_.join("|")})`,returnBegin:!0,contains:[L]};return E.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,C,A,Y,m,L,N,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:E}}return Aa=o,Aa}var Ia,jl;function GE(){if(jl)return Ia;jl=1;function t(e){const n="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",r="\\|[^]*?\\|",i="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",a={className:"literal",begin:"\\b(t{1}|nil)\\b"},s={className:"number",variants:[{begin:i,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+i+" +"+i,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),c={begin:"\\*",end:"\\*"},_={className:"symbol",begin:"[:&]"+n},d={begin:n,relevance:0},u={begin:r},E={contains:[s,o,c,_,{begin:"\\(",end:"\\)",contains:["self",a,o,s,d]},d],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+r}]},g={variants:[{begin:"'"+n},{begin:"#'"+n+"(::"+n+")*"}]},f={begin:"\\(\\s*",end:"\\)"},S={endsWithParent:!0,relevance:0};return f.contains=[{className:"name",variants:[{begin:n,relevance:0},{begin:r}]},S],S.contains=[E,g,f,a,s,o,l,c,_,u,d],{name:"Lisp",illegal:/\S/,contains:[s,e.SHEBANG(),a,o,l,E,g,f,d]}}return Ia=t,Ia}var Oa,ec;function YE(){if(ec)return Oa;ec=1;function t(e){const n={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},r=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],i=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),a=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[n,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[n,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[a,i],relevance:0},{beginKeywords:"command on",end:"$",contains:[n,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i].concat(r),illegal:";$|^\\[|^=|&|\\{"}}return Oa=t,Oa}var ya,tc;function qE(){if(tc)return ya;tc=1;const t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=[].concat(i,n,r);function s(o){const l=["npm","print"],c=["yes","no","on","off","it","that","void"],_=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],d={keyword:t.concat(_),literal:e.concat(c),built_in:a.concat(l)},u="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",p=o.inherit(o.TITLE_MODE,{begin:u}),E={className:"subst",begin:/#\{/,end:/\}/,keywords:d},g={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:d},f=[o.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[o.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,E,g]},{begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,E,g]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[E,o.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+u},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];E.contains=f;const S={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(f)}]},T={begin:"(#=>|=>|\\|>>|-?->|!->)"},v={variants:[{match:[/class\s+/,u,/\s+extends\s+/,u]},{match:[/class\s+/,u]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:d};return{name:"LiveScript",aliases:["ls"],keywords:d,illegal:/\/\*/,contains:f.concat([o.COMMENT("\\/\\*","\\*\\/"),o.HASH_COMMENT_MODE,T,{className:"function",contains:[p,S],returnBegin:!0,variants:[{begin:"("+u+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+u+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+u+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},v,{begin:u+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return ya=s,ya}var Da,nc;function VE(){if(nc)return Da;nc=1;function t(e){const n=e.regex,r=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},a={className:"operator",relevance:0,begin:/=/},s={className:"punctuation",relevance:0,begin:/,/},o={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},l={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},c={className:"variable",variants:[{begin:n.concat(/%/,r)},{begin:/%\d+/},{begin:/#\d+/}]},_={className:"title",variants:[{begin:n.concat(/@/,r)},{begin:/@\d+/},{begin:n.concat(/!/,r)},{begin:n.concat(/!\d+/,r)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[i,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},_,s,a,c,l,o]}}return Da=t,Da}var xa,rc;function HE(){if(rc)return xa;rc=1;function t(e){const r={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},i={className:"number",relevance:0,begin:e.C_NUMBER_RE},a={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},s={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[r,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},i,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},s,a,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return xa=t,xa}var La,ac;function zE(){if(ac)return La;ac=1;function t(e){const n="\\[=*\\[",r="\\]=*\\]",i={begin:n,end:r,contains:["self"]},a=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,r,{contains:[i],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:a.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:a}].concat(a)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:r,contains:[i],relevance:5}])}}return La=t,La}var Ma,ic;function WE(){if(ic)return Ma;ic=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{g.has(C[0])||A.ignoreMatch()}},{className:"symbol",relevance:0,begin:E}]},S={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},T={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},v={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},I={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},N={className:"brace",relevance:0,begin:/[[\](){}]/},m={className:"message-name",relevance:0,begin:r.concat("::",E)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[n.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),v,I,m,f,S,n.QUOTE_STRING_MODE,p,T,N]}}return wa=e,wa}var ka,sc;function QE(){if(sc)return ka;sc=1;function t(e){const n="('|\\.')+",r={relevance:0,contains:[{begin:n}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:r},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+n,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:r},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:r},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:r},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return ka=t,ka}var Pa,lc;function $E(){if(lc)return Pa;lc=1;function t(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return Pa=t,Pa}var Ua,cc;function ZE(){if(cc)return Ua;cc=1;function t(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},r,e.C_BLOCK_COMMENT_MODE,i,e.NUMBER_MODE,a,s,{begin:/:-/},{begin:/\.$/}]}}return Fa=t,Fa}var Ba,dc;function JE(){if(dc)return Ba;dc=1;function t(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return Ba=t,Ba}var Ga,uc;function jE(){if(uc)return Ga;uc=1;function t(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return Ga=t,Ga}var Ya,pc;function eS(){if(pc)return Ya;pc=1;function t(e){const n=e.regex,r=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,a={$pattern:/[\w.]+/,keyword:r.join(" ")},s={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:a},o={begin:/->\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,s,l],_=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(E,g,f="\\1")=>{const S=f==="\\1"?f:n.concat(f,g);return n.concat(n.concat("(?:",E,")"),g,/(?:\\.|[^\\\/])*?/,S,/(?:\\.|[^\\\/])*?/,f,i)},u=(E,g,f)=>n.concat(n.concat("(?:",E,")"),g,/(?:\\.|[^\\\/])*?/,f,i),p=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",n.either(..._,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:u("(?:m|qr)?",/\//,/\//)},{begin:u("m|qr",n.either(..._,{capture:!0}),/\1/)},{begin:u("m|qr",/\(/,/\)/)},{begin:u("m|qr",/\[/,/\]/)},{begin:u("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return s.contains=p,o.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:a,contains:p}}return Ya=t,Ya}var qa,mc;function tS(){if(mc)return qa;mc=1;function t(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return qa=t,qa}var Va,gc;function nS(){if(gc)return Va;gc=1;function t(e){const n={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},r={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},i={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),r,i,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,n]}}return Va=t,Va}var Ha,Ec;function rS(){if(Ec)return Ha;Ec=1;function t(e){const n={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},r="[A-Za-z$_][0-9A-Za-z$_]*",i={className:"subst",begin:/#\{/,end:/\}/,keywords:n},a=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];i.contains=a;const s=e.inherit(e.TITLE_MODE,{begin:r}),o="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:n,contains:["self"].concat(a)}]};return{name:"MoonScript",aliases:["moon"],keywords:n,illegal:/\/\*/,contains:a.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+r+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[s,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[s]},s]},{className:"name",begin:r+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Ha=t,Ha}var za,Sc;function aS(){if(Sc)return za;Sc=1;function t(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return za=t,za}var Wa,fc;function iS(){if(fc)return Wa;fc=1;function t(e){const n={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},r={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},i={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},a={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),a,i,n,r]}}return Wa=t,Wa}var Ka,bc;function oS(){if(bc)return Ka;bc=1;function t(e){const n=e.regex,r={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:n.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},a={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[r]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},r]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:a.contains,keywords:{section:"upstream location"}},{className:"section",begin:n.concat(e.UNDERSCORE_IDENT_RE+n.lookahead(/\s+\{/)),relevance:0},{begin:n.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:a}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return Ka=t,Ka}var Qa,Tc;function sS(){if(Tc)return Qa;Tc=1;function t(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return Qa=t,Qa}var $a,Cc;function lS(){if(Cc)return $a;Cc=1;function t(e){const n={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},r={className:"subst",begin:/\$\{/,end:/\}/,keywords:n},i={className:"char.escape",begin:/''\$/},a={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},s={className:"string",contains:[i,r],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},o=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,a];return r.contains=o,{name:"Nix",aliases:["nixos"],keywords:n,contains:o}}return $a=t,$a}var Za,hc;function cS(){if(hc)return Za;hc=1;function t(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Za=t,Za}var Xa,Rc;function _S(){if(Rc)return Xa;Rc=1;function t(e){const n=e.regex,r=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],i=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],a=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],s={className:"variable.constant",begin:n.concat(/\$/,n.either(...r))},o={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},l={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:!-]+\)/},_={className:"params",begin:n.either(...i)},d={className:"keyword",begin:n.concat(/!/,n.either(...a))},u={className:"char.escape",begin:/\$(\\[nrt]|\$)/},p={className:"title.function",begin:/\w+::\w+/},E={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[u,s,o,l,c]},g=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],f=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],S={match:[/Function/,/\s+/,n.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},v={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:g,literal:f},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),v,S,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},E,d,o,l,c,_,p,e.NUMBER_MODE]}}return Xa=t,Xa}var Ja,vc;function dS(){if(vc)return Ja;vc=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:r,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Ja=t,Ja}var ja,Nc;function uS(){if(Nc)return ja;Nc=1;function t(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return ja=t,ja}var ei,Ac;function pS(){if(Ac)return ei;Ac=1;function t(e){const n={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},r={className:"literal",begin:"false|true|PI|undef"},i={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},o={className:"params",begin:"\\(",end:"\\)",contains:["self",i,a,n,r]},l={begin:"[*!#%]",relevance:0},c={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[o,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,s,a,n,l,c]}}return ei=t,ei}var ti,Ic;function mS(){if(Ic)return ti;Ic=1;function t(e){const n={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},r=e.COMMENT(/\{/,/\}/,{relevance:0}),i=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),a={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},s={className:"string",begin:"(#\\d+)+"},o={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:n,contains:[a,s]},r,i]},l={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:n,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[r,i,e.C_LINE_COMMENT_MODE,a,s,e.NUMBER_MODE,o,l]}}return ti=t,ti}var ni,Oc;function gS(){if(Oc)return ni;Oc=1;function t(e){const n=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[n]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return ni=t,ni}var ri,yc;function ES(){if(yc)return ri;yc=1;function t(e){const n={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},r={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,n,r]}}return ri=t,ri}var ai,Dc;function SS(){if(Dc)return ai;Dc=1;function t(e){const n=e.COMMENT("--","$"),r="[a-zA-Z_][a-zA-Z_0-9$]*",i="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",a="<<\\s*"+r+"\\s*>>",s="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",o="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",c="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",_=c.trim().split(" ").map(function(f){return f.split("|")[0]}).join("|"),d="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",u="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",p="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",g="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(f){return f.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:s+l+o,built_in:d+u+p},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+g+")\\s*\\("},{begin:"\\.("+_+")\\b"},{begin:"\\b("+_+")\\s+PATH\\b",keywords:{keyword:"PATH",type:c.replace("PATH ","")}},{className:"type",begin:"\\b("+_+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:i,end:i,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:a,relevance:10}]}}return ai=t,ai}var ii,xc;function fS(){if(xc)return ii;xc=1;function t(e){const n=e.regex,r=/(?![A-Za-z0-9])(?![$])/,i=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),a=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),s={scope:"variable",match:"\\$+"+i},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),_=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(D,V)=>{V.data._beginMatch=D[1]||D[2]},"on:end":(D,V)=>{V.data._beginMatch!==D[1]&&V.ignoreMatch()}},u=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[ +]`,E={scope:"string",variants:[_,c,d,u]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},f=["false","null","true"],S=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],T=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],I={keyword:S,literal:(D=>{const V=[];return D.forEach(k=>{V.push(k),k.toLowerCase()===k?V.push(k.toUpperCase()):V.push(k.toLowerCase())}),V})(f),built_in:T},N=D=>D.map(V=>V.replace(/\|\d+$/,"")),m={variants:[{match:[/new/,n.concat(p,"+"),n.concat("(?!",N(T).join("\\b|"),"\\b)"),a],scope:{1:"keyword",4:"title.class"}}]},C=n.concat(i,"\\b(?!\\()"),A={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),C],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[a,n.concat(/::/,n.lookahead(/(?!class\b)/)),C],scope:{1:"title.class",3:"variable.constant"}},{match:[a,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[a,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},L={scope:"attr",match:n.concat(i,n.lookahead(":"),n.lookahead(/(?!::)/))},Y={relevance:0,begin:/\(/,end:/\)/,keywords:I,contains:[L,s,A,e.C_BLOCK_COMMENT_MODE,E,g,m]},P={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",N(S).join("\\b|"),"|",N(T).join("\\b|"),"\\b)"),i,n.concat(p,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[Y]};Y.contains.push(P);const J=[L,A,e.C_BLOCK_COMMENT_MODE,E,g,m],ce={begin:n.concat(/#\[\s*/,a),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:f,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:f,keyword:["new","array"]},contains:["self",...J]},...J,{scope:"meta",match:a}]};return{case_insensitive:!1,keywords:I,contains:[ce,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},s,P,A,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},m,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:I,contains:["self",s,A,e.C_BLOCK_COMMENT_MODE,E,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},E,g]}}return ii=t,ii}var oi,Lc;function bS(){if(Lc)return oi;Lc=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return oi=t,oi}var si,Mc;function TS(){if(Mc)return si;Mc=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return si=t,si}var li,wc;function CS(){if(wc)return li;wc=1;function t(e){const n={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},r={className:"string",begin:'"""',end:'"""',relevance:10},i={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},a={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},s={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},o={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:n,contains:[s,r,i,a,o,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return li=t,li}var ci,kc;function hS(){if(kc)return ci;kc=1;function t(e){const n=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],r="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",i="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",a={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},s=/\w[\w\d]*((-)[\w\d]+)*/,o={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},_={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[o,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},d={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},u={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},p=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[u]}),E={className:"built_in",variants:[{begin:"(".concat(r,")+(-)[\\w\\d]+")}]},g={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},f={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:s,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},S={begin:/using\s/,end:/$/,returnBegin:!0,contains:[_,d,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},T={variants:[{className:"operator",begin:"(".concat(i,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},v={className:"selector-tag",begin:/@\B/,relevance:0},I={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(a.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},N=[I,p,o,e.NUMBER_MODE,_,d,E,l,c,v],m={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",N,{begin:"("+n.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return I.contains.unshift(m),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:a,contains:N.concat(g,f,S,T,m)}}return ci=t,ci}var _i,Pc;function RS(){if(Pc)return _i;Pc=1;function t(e){const n=e.regex,r=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],i=e.IDENT_RE,a={variants:[{match:n.concat(n.either(...r),n.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:n.concat(/\b(?!for|if|while)/,i,n.lookahead(/\s*\(/)),className:"title.function"}]},s={match:[/new\s+/,i],className:{1:"keyword",2:"class.title"}},o={relevance:0,match:[/\./,i],className:{2:"property"}},l={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,i]},{match:[/class/,/\s+/,i]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},c=["boolean","byte","char","color","double","float","int","long","short"],_=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...r,..._],type:c},contains:[l,s,a,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return _i=t,_i}var di,Uc;function vS(){if(Uc)return di;Uc=1;function t(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return di=t,di}var ui,Fc;function NS(){if(Fc)return ui;Fc=1;function t(e){const n={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},r={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},i={begin:/\(/,end:/\)/,relevance:0},a={begin:/\[/,end:/\]/},s={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},o={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},c={className:"string",begin:/0'\\s/},d=[n,r,i,{begin:/:-/},a,s,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,l,c,e.C_NUMBER_MODE];return i.contains=d,a.contains=d,{name:"Prolog",contains:d.concat([{begin:/\.$/}])}}return ui=t,ui}var pi,Bc;function AS(){if(Bc)return pi;Bc=1;function t(e){const n="[ \\t\\f]*",r="[ \\t\\f]+",i=n+"[:=]"+n,a=r,s="("+i+"|"+a+")",o="([^\\\\:= \\t\\f\\n]|\\\\.)+",l={end:s,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:o+i},{begin:o+a}],contains:[{className:"attr",begin:o,endsParent:!0}],starts:l},{className:"attr",begin:o+n+"$"}]}}return pi=t,pi}var mi,Gc;function IS(){if(Gc)return mi;Gc=1;function t(e){const n=["package","import","option","optional","required","repeated","group","oneof"],r=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],i={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:n,type:r,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return mi=t,mi}var gi,Yc;function OS(){if(Yc)return gi;Yc=1;function t(e){const n={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},r=e.COMMENT("#","$"),i="([A-Za-z_]|::)(\\w|::)*",a=e.inherit(e.TITLE_MODE,{begin:i}),s={className:"variable",begin:"\\$"+i},o={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[r,s,o,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[a,r]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:n,relevance:0,contains:[o,r,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},s]}],relevance:0}]}}return gi=t,gi}var Ei,qc;function yS(){if(qc)return Ei;qc=1;function t(e){const n={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},r={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},n,r]}}return Ei=t,Ei}var Si,Vc;function DS(){if(Vc)return Si;Vc=1;function t(e){const n=e.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},_={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},d={begin:/\{\{/,relevance:0},u={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,d,_]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,d,_]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,d,_]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,d,_]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",E=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,g=`\\b|${i.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${E}))[eE][+-]?(${p})[jJ]?(?=${g})`},{begin:`(${E})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${p})[jJ](?=${g})`}]},S={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},T={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,f,u,e.HASH_COMMENT_MODE]}]};return _.contains=[u,f,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,f,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},u,S,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[T]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,T,u]}]}}return Si=t,Si}var fi,Hc;function xS(){if(Hc)return fi;Hc=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return fi=t,fi}var bi,zc;function LS(){if(zc)return bi;zc=1;function t(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return bi=t,bi}var Ti,Wc;function MS(){if(Wc)return Ti;Wc=1;function t(e){const n=e.regex,r={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},i="[a-zA-Z_][a-zA-Z0-9\\._]*",a={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},s={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},l={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},c={begin:n.concat(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:r,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},s,a,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},o,l,c],illegal:/#/}}return Ti=t,Ti}var Ci,Kc;function wS(){if(Kc)return Ci;Kc=1;function t(e){const n=e.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),a=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[a,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[s,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:a},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Ci=t,Ci}var hi,Qc;function kS(){if(Qc)return hi;Qc=1;function t(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return hi=t,hi}var Ri,$c;function PS(){if($c)return Ri;$c=1;function t(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),l,c,o,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,c,o,{className:"literal",begin:"\\b("+a.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+i.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+s.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return Ni=t,Ni}var Ai,Jc;function BS(){if(Jc)return Ai;Jc=1;function t(e){const n=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],r=["matrix","float","color","point","normal","vector"],i=["while","for","if","do","return","else","break","extern","continue"],a={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:i,built_in:n,type:r},illegal:""},r]}}return Oi=t,Oi}var yi,t_;function qS(){if(t_)return yi;t_=1;function t(e){const n=e.regex,r=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],i=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],a=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:r},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+n.either(...a)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:n.either(...i)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return yi=t,yi}var Di,n_;function VS(){if(n_)return Di;n_=1;function t(e){const n=e.regex,r={className:"meta",begin:"@[A-Za-z]+"},i={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},a={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[i],relevance:10}]},s={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},o={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:"function",beginKeywords:"def",end:n.lookahead(/[:={\[(\n;]/),contains:[o]},_={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},d={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},u=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],p={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,s,c,l,e.C_NUMBER_MODE,_,d,...u,p,r]}}return Di=t,Di}var xi,r_;function HS(){if(r_)return xi;r_=1;function t(e){const n="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",r="(-|\\+)?\\d+([./]\\d+)?",i=r+"[+\\-]"+r+"i",a={$pattern:n,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},s={className:"literal",begin:"(#t|#f|#\\\\"+n+"|#\\\\.)"},o={className:"number",variants:[{begin:r,relevance:0},{begin:i,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],_={begin:n,relevance:0},d={className:"symbol",begin:"'"+n},u={endsWithParent:!0,relevance:0},p={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",s,l,o,_,d]}]},E={className:"name",relevance:0,begin:n,keywords:a},f={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[E,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[_]}]},E,u]};return u.contains=[s,o,l,_,d,p,f].concat(c),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),o,l,d,p,f].concat(c)}}return xi=t,xi}var Li,a_;function zS(){if(a_)return Li;a_=1;function t(e){const n=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:n},e.COMMENT("//","$")].concat(n)}}return Li=t,Li}var Mi,i_;function WS(){if(i_)return Mi;i_=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],a=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(o){const l=t(o),c=i,_=r,d="@[a-z-]+",u="and or not only",E={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+_.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},E,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+a.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,E,l.HEXCOLOR,l.CSS_NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:d,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:n.join(" ")},contains:[{begin:d,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},E,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Mi=s,Mi}var wi,o_;function KS(){if(o_)return wi;o_=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return wi=t,wi}var ki,s_;function QS(){if(s_)return ki;s_=1;function t(e){const n=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],r=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],i=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+i.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+n.join("|")+")\\s"},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+r.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: +]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return ki=t,ki}var Pi,l_;function $S(){if(l_)return Pi;l_=1;function t(e){const n="[a-z][a-zA-Z0-9_]*",r={className:"string",begin:"\\$.{1}"},i={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:n+":",relevance:0},e.C_NUMBER_MODE,i,r,{begin:"\\|[ ]*"+n+"([ ]+"+n+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+n}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,r,e.C_NUMBER_MODE,i]}]}}return Pi=t,Pi}var Ui,c_;function ZS(){if(c_)return Ui;c_=1;function t(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return Ui=t,Ui}var Fi,__;function XS(){if(__)return Fi;__=1;function t(e){const n={className:"variable",begin:/\b_+[a-zA-Z]\w*/},r={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},i={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},a=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],s=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],o=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(i,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:a,built_in:o,literal:s},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,n,r,i,l],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return Fi=t,Fi}var Bi,d_;function JS(){if(d_)return Bi;d_=1;function t(e){const n=e.regex,r=e.COMMENT("--","$"),i={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},a={begin:/"/,end:/"/,contains:[{begin:/""/}]},s=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],_=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],d=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],u=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],p=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],E=d,g=[..._,...c].filter(I=>!d.includes(I)),f={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},S={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},T={begin:n.concat(/\b/,n.either(...E),/\s*\(/),relevance:0,keywords:{built_in:E}};function v(I,{exceptions:N,when:m}={}){const C=m;return N=N||[],I.map(A=>A.match(/\|\d+$/)||N.includes(A)?A:C(A)?`${A}|0`:A)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:v(g,{when:I=>I.length<3}),literal:s,type:l,built_in:u},contains:[{begin:n.either(...p),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:g.concat(p),literal:s,type:l}},{className:"type",begin:n.either(...o)},T,f,i,a,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,S]}}return Bi=t,Bi}var Gi,u_;function jS(){if(u_)return Gi;u_=1;function t(e){const n=e.regex,r=["functions","model","data","parameters","quantities","transformed","generated"],i=["for","in","if","else","while","break","continue","return"],a=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],s=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],o=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],l=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),c={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},_=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:r,type:a,keyword:i,built_in:s},contains:[e.C_LINE_COMMENT_MODE,c,e.HASH_COMMENT_MODE,l,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:n.concat(/[<,]\s*/,n.either(..._),/\s*=/),keywords:_},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,n.either(...o),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:o,begin:n.concat(/\w*/,n.either(...o),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,n.concat(n.either(...o),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+n.either(...o)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:n.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return Gi=t,Gi}var Yi,p_;function ef(){if(p_)return Yi;p_=1;function t(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r +]*?"'`},{begin:`"[^\r +"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Yi=t,Yi}var qi,m_;function tf(){if(m_)return qi;m_=1;function t(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return qi=t,qi}var Vi,g_;function nf(){if(g_)return Vi;g_=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],a=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(o){const l=t(o),c="and or not only",_={className:"variable",begin:"\\$"+o.IDENT_RE},d=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],u="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,l.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+u,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+u,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+u,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+r.join("|")+")"+u},{className:"selector-pseudo",begin:"&?:(:)?("+i.join("|")+")"+u},l.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:c,attribute:n.join(" ")},contains:[l.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+d.join("|")+"))\\b"},_,l.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[l.HEXCOLOR,_,o.APOS_STRING_MODE,l.CSS_NUMBER_MODE,o.QUOTE_STRING_MODE]}]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+a.join("|")+")\\b",starts:{end:/;|$/,contains:[l.HEXCOLOR,_,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,l.CSS_NUMBER_MODE,o.C_BLOCK_COMMENT_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},l.FUNCTION_DISPATCH]}}return Vi=s,Vi}var Hi,E_;function rf(){if(E_)return Hi;E_=1;function t(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ +(multipart)?`,end:`\\] +`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return Hi=t,Hi}var zi,S_;function af(){if(S_)return zi;S_=1;function t(A){return A?typeof A=="string"?A:A.source:null}function e(A){return n("(?=",A,")")}function n(...A){return A.map(Y=>t(Y)).join("")}function r(A){const L=A[A.length-1];return typeof L=="object"&&L.constructor===Object?(A.splice(A.length-1,1),L):{}}function i(...A){return"("+(r(A).capture?"":"?:")+A.map(P=>t(P)).join("|")+")"}const a=A=>n(/\b/,A,/\w$/.test(A)?/\b/:/\B/),s=["Protocol","Type"].map(a),o=["init","self"].map(a),l=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],_=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],u=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],p=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],E=i(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=i(E,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),f=n(E,g,"*"),S=i(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),T=i(S,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),v=n(S,T,"*"),I=n(/[A-Z]/,T,"*"),N=["attached","autoclosure",n(/convention\(/,i("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,v,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],m=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function C(A){const L={match:/\s+/,relevance:0},Y=A.COMMENT("/\\*","\\*/",{contains:["self"]}),P=[A.C_LINE_COMMENT_MODE,Y],J={match:[/\./,i(...s,...o)],className:{2:"keyword"}},ce={match:n(/\./,i(...c)),relevance:0},D=c.filter(ge=>typeof ge=="string").concat(["_|0"]),V=c.filter(ge=>typeof ge!="string").concat(l).map(a),k={variants:[{className:"keyword",match:i(...V,...o)}]},R={$pattern:i(/\b\w+/,/#\w+/),keyword:D.concat(u),literal:_},x=[J,ce,k],Q={match:n(/\./,i(...p)),relevance:0},ae={className:"built_in",match:n(/\b/,i(...p),/(?=\()/)},_e=[Q,ae],G={match:/->/,relevance:0},q={className:"operator",relevance:0,variants:[{match:f},{match:`\\.(\\.|${g})+`}]},re=[G,q],j="([0-9]_*)+",ie="([0-9a-fA-F]_*)+",Se={className:"number",relevance:0,variants:[{match:`\\b(${j})(\\.(${j}))?([eE][+-]?(${j}))?\\b`},{match:`\\b0x(${ie})(\\.(${ie}))?([pP][+-]?(${j}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},pe=(ge="")=>({className:"subst",variants:[{match:n(/\\/,ge,/[0\\tnr"']/)},{match:n(/\\/,ge,/u\{[0-9a-fA-F]{1,8}\}/)}]}),$=(ge="")=>({className:"subst",match:n(/\\/,ge,/[\t ]*(?:[\r\n]|\r\n)/)}),se=(ge="")=>({className:"subst",label:"interpol",begin:n(/\\/,ge,/\(/),end:/\)/}),K=(ge="")=>({begin:n(ge,/"""/),end:n(/"""/,ge),contains:[pe(ge),$(ge),se(ge)]}),Re=(ge="")=>({begin:n(ge,/"/),end:n(/"/,ge),contains:[pe(ge),se(ge)]}),Le={className:"string",variants:[K(),K("#"),K("##"),K("###"),Re(),Re("#"),Re("##"),Re("###")]},Pe=[A.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[A.BACKSLASH_ESCAPE]}],Ye={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Pe},Ae=ge=>{const Ke=n(ge,/\//),be=n(/\//,ge);return{begin:Ke,end:be,contains:[...Pe,{scope:"comment",begin:`#(?!.*${be})`,end:/$/}]}},Xe={scope:"regexp",variants:[Ae("###"),Ae("##"),Ae("#"),Ye]},Me={match:n(/`/,v,/`/)},te={className:"variable",match:/\$\d+/},We={className:"variable",match:`\\$${T}+`},he=[Me,te,We],me={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:m,contains:[...re,Se,Le]}]}},qe={scope:"keyword",match:n(/@/,i(...N))},xe={scope:"meta",match:n(/@/,v)},Ne=[me,qe,xe],Ie={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,T,"+")},{className:"type",match:I,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(I)),relevance:0}]},z={begin://,keywords:R,contains:[...P,...x,...Ne,G,Ie]};Ie.contains.push(z);const B={match:n(v,/\s*:/),keywords:"_|0",relevance:0},oe={begin:/\(/,end:/\)/,relevance:0,keywords:R,contains:["self",B,...P,Xe,...x,..._e,...re,Se,Le,...he,...Ne,Ie]},ue={begin://,keywords:"repeat each",contains:[...P,Ie]},ve={begin:i(e(n(v,/\s*:/)),e(n(v,/\s+/,v,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:v}]},Oe={begin:/\(/,end:/\)/,keywords:R,contains:[ve,...P,...x,...re,Se,Le,...Ne,Ie,oe],endsParent:!0,illegal:/["']/},lt={match:[/(func|macro)/,/\s+/,i(Me.match,v,f)],className:{1:"keyword",3:"title.function"},contains:[ue,Oe,L],illegal:[/\[/,/%/]},tt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ue,Oe,L],illegal:/\[|%/},dt={match:[/operator/,/\s+/,f],className:{1:"keyword",3:"title"}},ct={begin:[/precedencegroup/,/\s+/,I],className:{1:"keyword",3:"title"},contains:[Ie],keywords:[...d,..._],end:/}/};for(const ge of Le.variants){const Ke=ge.contains.find(we=>we.label==="interpol");Ke.keywords=R;const be=[...x,..._e,...re,Se,Le,...he];Ke.contains=[...be,{begin:/\(/,end:/\)/,contains:["self",...be]}]}return{name:"Swift",keywords:R,contains:[...P,lt,tt,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:R,contains:[A.inherit(A.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...x]},dt,ct,{beginKeywords:"import",end:/$/,contains:[...P],relevance:0},Xe,...x,..._e,...re,Se,Le,...he,...Ne,Ie,oe]}}return zi=C,zi}var Wi,f_;function of(){if(f_)return Wi;f_=1;function t(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return Wi=t,Wi}var Ki,b_;function sf(){if(b_)return Ki;b_=1;function t(e){const n="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},a={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,a]},o=e.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",_="(\\.[0-9]*)?",d="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",u={className:"number",begin:"\\b"+l+c+_+d+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},E={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},f=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},u,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},E,g,s],S=[...f];return S.pop(),S.push(o),p.contains=S,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:f}}return Ki=t,Ki}var Qi,T_;function lf(){if(T_)return Qi;T_=1;function t(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return Qi=t,Qi}var $i,C_;function cf(){if(C_)return $i;C_=1;function t(e){const n=e.regex,r=/[a-zA-Z_][a-zA-Z0-9_]*/,i={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:n.concat(/\$/,n.optional(/::/),r,"(::",r,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[i]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i]}}return $i=t,$i}var Zi,h_;function _f(){if(h_)return Zi;h_=1;function t(e){const n=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:n,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...n,"set","list","map"]},end:">",contains:["self"]}]}}return Zi=t,Zi}var Xi,R_;function df(){if(R_)return Xi;R_=1;function t(e){const n={className:"number",begin:"[1-9][0-9]*",relevance:0},r={className:"symbol",begin:":[^\\]]+"},i={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",n,r]},a={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",n,e.QUOTE_STRING_MODE,r]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[i,a,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return Xi=t,Xi}var Ji,v_;function uf(){if(v_)return Ji;v_=1;function t(e){const n=e.regex,r=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],i=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let a=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];a=a.concat(a.map(g=>`end${g}`));const s={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},o={scope:"number",match:/\d+/},l={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[s,o]},c={beginKeywords:r.join(" "),keywords:{name:r},relevance:0,contains:[l]},_={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:i}]},d=(g,{relevance:f})=>({beginScope:{1:"template-tag",3:"name"},relevance:f||2,endScope:"template-tag",begin:[/\{%/,/\s*/,n.either(...g)],end:/%\}/,keywords:"in",contains:[_,c,s,o]}),u=/[a-z_]+/,p=d(a,{relevance:2}),E=d([u],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),p,E,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",_,c,s,o]}]}}return Ji=t,Ji}var ji,N_;function pf(){if(N_)return ji;N_=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],s=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],o=[].concat(a,r,i);function l(_){const d=_.regex,u=(pe,{after:$})=>{const se="",end:""},g=/<[A-Za-z0-9\\._:-]+\s*\/>/,f={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(pe,$)=>{const se=pe[0].length+pe.index,K=pe.input[se];if(K==="<"||K===","){$.ignoreMatch();return}K===">"&&(u(pe,{after:se})||$.ignoreMatch());let Re;const Le=pe.input.substring(se);if(Re=Le.match(/^\s*=/)){$.ignoreMatch();return}if((Re=Le.match(/^\s+extends\s+/))&&Re.index===0){$.ignoreMatch();return}}},S={$pattern:t,keyword:e,literal:n,built_in:o,"variable.language":s},T="[0-9](_?[0-9])*",v=`\\.(${T})`,I="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",N={className:"number",variants:[{begin:`(\\b(${I})((${v})|\\.)?|(${v}))[eE][+-]?(${T})\\b`},{begin:`\\b(${I})\\b((${v})\\b|\\.)?|(${v})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},m={className:"subst",begin:"\\$\\{",end:"\\}",keywords:S,contains:[]},C={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},A={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,m],subLanguage:"css"}},L={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,m],subLanguage:"graphql"}},Y={className:"string",begin:"`",end:"`",contains:[_.BACKSLASH_ESCAPE,m]},J={className:"comment",variants:[_.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),_.C_BLOCK_COMMENT_MODE,_.C_LINE_COMMENT_MODE]},ce=[_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,C,A,L,Y,{match:/\$\d+/},N];m.contains=ce.concat({begin:/\{/,end:/\}/,keywords:S,contains:["self"].concat(ce)});const D=[].concat(J,m.contains),V=D.concat([{begin:/\(/,end:/\)/,keywords:S,contains:["self"].concat(D)}]),k={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:V},R={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,d.concat(p,"(",d.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ae={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[k],illegal:/%/},_e={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function G(pe){return d.concat("(?!",pe.join("|"),")")}const q={match:d.concat(/\b/,G([...a,"super","import"]),p,d.lookahead(/\(/)),className:"title.function",relevance:0},re={begin:d.concat(/\./,d.lookahead(d.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},k]},ie="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+_.UNDERSCORE_IDENT_RE+")\\s*=>",Se={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(ie)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[k]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:S,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[_.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,C,A,L,Y,J,{match:/\$\d+/},N,x,{className:"attr",begin:p+d.lookahead(":"),relevance:0},Se,{begin:"("+_.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[J,_.REGEXP_MODE,{className:"function",begin:ie,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:_.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:V}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:E.begin,end:E.end},{match:g},{begin:f.begin,"on:begin":f.isTrulyOpeningTag,end:f.end}],subLanguage:"xml",contains:[{begin:f.begin,end:f.end,skip:!0,contains:["self"]}]}]},ae,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+_.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[k,_.inherit(_.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},re,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[k]},q,_e,R,j,{match:/\$[(.]/}]}}function c(_){const d=l(_),u=t,p=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],E={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[d.exports.CLASS_REFERENCE]},g={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:p},contains:[d.exports.CLASS_REFERENCE]},f={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},S=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],T={$pattern:t,keyword:e.concat(S),literal:n,built_in:o.concat(p),"variable.language":s},v={className:"meta",begin:"@"+u},I=(m,C,A)=>{const L=m.contains.findIndex(Y=>Y.label===C);if(L===-1)throw new Error("can not find mode to replace");m.contains.splice(L,1,A)};Object.assign(d.keywords,T),d.exports.PARAMS_CONTAINS.push(v),d.contains=d.contains.concat([v,E,g]),I(d,"shebang",_.SHEBANG()),I(d,"use_strict",f);const N=d.contains.find(m=>m.label==="func.def");return N.relevance=0,Object.assign(d,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),d}return ji=c,ji}var eo,A_;function mf(){if(A_)return eo;A_=1;function t(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return eo=t,eo}var to,I_;function gf(){if(I_)return to;I_=1;function t(e){const n=e.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a=/\d{1,2}\/\d{1,2}\/\d{4}/,s=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(s,a),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,o,/ *#/)},{begin:n.concat(/# */,n.either(s,a),/ +/,n.either(o,l),/ *#/)}]},_={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},d={className:"label",begin:/^\w+:/},u=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,i,c,_,d,u,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}return to=t,to}var no,O_;function Ef(){if(O_)return no;O_=1;function t(e){const n=e.regex,r=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],i=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],a={begin:n.concat(n.either(...r),"\\s*\\("),relevance:0,keywords:{built_in:r}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:i,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[a,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}return no=t,no}var ro,y_;function Sf(){if(y_)return ro;y_=1;function t(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return ro=t,ro}var ao,D_;function ff(){if(D_)return ao;D_=1;function t(e){const n=e.regex,r={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},i=["__FILE__","__LINE__"],a=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:r,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:n.concat(/`/,n.either(...i))},{scope:"meta",begin:n.concat(/`/,n.either(...a)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:a}]}}return ao=t,ao}var io,x_;function bf(){if(x_)return io;x_=1;function t(e){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,i=n+"(\\."+n+")?("+r+")?",a="\\w+",o="\\b("+(n+"#"+a+"(\\."+a+")?#("+r+")?")+"|"+i+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:o,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}return io=t,io}var oo,L_;function Tf(){if(L_)return oo;L_=1;function t(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return oo=t,oo}var so,M_;function Cf(){if(M_)return so;M_=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const r=e.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],a={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},s={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},_={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[r,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},s,o,a,e.QUOTE_STRING_MODE,c,_,l]}}return so=t,so}var lo,w_;function hf(){if(w_)return lo;w_=1;function t(e){const n=e.regex,r=/[a-zA-Z]\w*/,i=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],a=["true","false","null"],s=["this","super"],o=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],l=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],c={relevance:0,match:n.concat(/\b(?!(if|while|for|else|super)\b)/,r,/(?=\s*[({])/),className:"title.function"},_={match:n.concat(n.either(n.concat(/\b(?!(if|while|for|else|super)\b)/,r),n.either(...l)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:r}]}]}},d={variants:[{match:[/class\s+/,r,/\s+is\s+/,r]},{match:[/class\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},u={relevance:0,match:n.either(...l),className:"operator"},p={className:"string",begin:/"""/,end:/"""/},E={className:"property",begin:n.concat(/\./,n.lookahead(r)),end:r,excludeBegin:!0,relevance:0},g={relevance:0,match:n.concat(/\b_/,r),scope:"variable"},f={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:o}},S=e.C_NUMBER_MODE,T={match:[r,/\s*/,/=/,/\s*/,/\(/,r,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},v=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),I={scope:"subst",begin:/%\(/,end:/\)/,contains:[S,f,c,g,u]},N={scope:"string",begin:/"/,end:/"/,contains:[I,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};I.contains.push(N);const m=[...i,...s,...a],C={relevance:0,match:n.concat("\\b(?!",m.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:i,"variable.language":s,literal:a},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:a},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},S,N,p,v,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,d,T,_,c,u,g,E,C]}}return lo=t,lo}var co,k_;function Rf(){if(k_)return co;k_=1;function t(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return co=t,co}var _o,P_;function vf(){if(P_)return _o;P_=1;function t(e){const n=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],r=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],i=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],s={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:n,literal:["true","false","nil"],built_in:r.concat(i)},o={className:"string",begin:'"',end:'"',illegal:"\\n"},l={className:"string",begin:"'",end:"'",illegal:"\\n"},c={className:"string",begin:"<<",end:">>"},_={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},d={beginKeywords:"import",end:"$",keywords:s,contains:[o]},u={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:s}})]};return{name:"XL",aliases:["tao"],keywords:s,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,l,c,u,d,_,e.NUMBER_MODE]}}return _o=t,_o}var uo,U_;function Nf(){if(U_)return uo;U_=1;function t(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return uo=t,uo}var po,F_;function Af(){if(F_)return po;F_=1;function t(e){const n={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r=e.UNDERSCORE_TITLE_MODE,i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},a="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[r,{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:["self",e.C_BLOCK_COMMENT_MODE,n,i]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},r]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[r]},{beginKeywords:"use",end:/;/,contains:[r]},{begin:/=>/},n,i]}}return po=t,po}var h=$m;h.registerLanguage("1c",Zm());h.registerLanguage("abnf",Xm());h.registerLanguage("accesslog",Jm());h.registerLanguage("actionscript",jm());h.registerLanguage("ada",eg());h.registerLanguage("angelscript",tg());h.registerLanguage("apache",ng());h.registerLanguage("applescript",rg());h.registerLanguage("arcade",ag());h.registerLanguage("arduino",ig());h.registerLanguage("armasm",og());h.registerLanguage("xml",sg());h.registerLanguage("asciidoc",lg());h.registerLanguage("aspectj",cg());h.registerLanguage("autohotkey",_g());h.registerLanguage("autoit",dg());h.registerLanguage("avrasm",ug());h.registerLanguage("awk",pg());h.registerLanguage("axapta",mg());h.registerLanguage("bash",gg());h.registerLanguage("basic",Eg());h.registerLanguage("bnf",Sg());h.registerLanguage("brainfuck",fg());h.registerLanguage("c",bg());h.registerLanguage("cal",Tg());h.registerLanguage("capnproto",Cg());h.registerLanguage("ceylon",hg());h.registerLanguage("clean",Rg());h.registerLanguage("clojure",vg());h.registerLanguage("clojure-repl",Ng());h.registerLanguage("cmake",Ag());h.registerLanguage("coffeescript",Ig());h.registerLanguage("coq",Og());h.registerLanguage("cos",yg());h.registerLanguage("cpp",Dg());h.registerLanguage("crmsh",xg());h.registerLanguage("crystal",Lg());h.registerLanguage("csharp",Mg());h.registerLanguage("csp",wg());h.registerLanguage("css",kg());h.registerLanguage("d",Pg());h.registerLanguage("markdown",Ug());h.registerLanguage("dart",Fg());h.registerLanguage("delphi",Bg());h.registerLanguage("diff",Gg());h.registerLanguage("django",Yg());h.registerLanguage("dns",qg());h.registerLanguage("dockerfile",Vg());h.registerLanguage("dos",Hg());h.registerLanguage("dsconfig",zg());h.registerLanguage("dts",Wg());h.registerLanguage("dust",Kg());h.registerLanguage("ebnf",Qg());h.registerLanguage("elixir",$g());h.registerLanguage("elm",Zg());h.registerLanguage("ruby",Xg());h.registerLanguage("erb",Jg());h.registerLanguage("erlang-repl",jg());h.registerLanguage("erlang",eE());h.registerLanguage("excel",tE());h.registerLanguage("fix",nE());h.registerLanguage("flix",rE());h.registerLanguage("fortran",aE());h.registerLanguage("fsharp",iE());h.registerLanguage("gams",oE());h.registerLanguage("gauss",sE());h.registerLanguage("gcode",lE());h.registerLanguage("gherkin",cE());h.registerLanguage("glsl",_E());h.registerLanguage("gml",dE());h.registerLanguage("go",uE());h.registerLanguage("golo",pE());h.registerLanguage("gradle",mE());h.registerLanguage("graphql",gE());h.registerLanguage("groovy",EE());h.registerLanguage("haml",SE());h.registerLanguage("handlebars",fE());h.registerLanguage("haskell",bE());h.registerLanguage("haxe",TE());h.registerLanguage("hsp",CE());h.registerLanguage("http",hE());h.registerLanguage("hy",RE());h.registerLanguage("inform7",vE());h.registerLanguage("ini",NE());h.registerLanguage("irpf90",AE());h.registerLanguage("isbl",IE());h.registerLanguage("java",OE());h.registerLanguage("javascript",yE());h.registerLanguage("jboss-cli",DE());h.registerLanguage("json",xE());h.registerLanguage("julia",LE());h.registerLanguage("julia-repl",ME());h.registerLanguage("kotlin",wE());h.registerLanguage("lasso",kE());h.registerLanguage("latex",PE());h.registerLanguage("ldif",UE());h.registerLanguage("leaf",FE());h.registerLanguage("less",BE());h.registerLanguage("lisp",GE());h.registerLanguage("livecodeserver",YE());h.registerLanguage("livescript",qE());h.registerLanguage("llvm",VE());h.registerLanguage("lsl",HE());h.registerLanguage("lua",zE());h.registerLanguage("makefile",WE());h.registerLanguage("mathematica",KE());h.registerLanguage("matlab",QE());h.registerLanguage("maxima",$E());h.registerLanguage("mel",ZE());h.registerLanguage("mercury",XE());h.registerLanguage("mipsasm",JE());h.registerLanguage("mizar",jE());h.registerLanguage("perl",eS());h.registerLanguage("mojolicious",tS());h.registerLanguage("monkey",nS());h.registerLanguage("moonscript",rS());h.registerLanguage("n1ql",aS());h.registerLanguage("nestedtext",iS());h.registerLanguage("nginx",oS());h.registerLanguage("nim",sS());h.registerLanguage("nix",lS());h.registerLanguage("node-repl",cS());h.registerLanguage("nsis",_S());h.registerLanguage("objectivec",dS());h.registerLanguage("ocaml",uS());h.registerLanguage("openscad",pS());h.registerLanguage("oxygene",mS());h.registerLanguage("parser3",gS());h.registerLanguage("pf",ES());h.registerLanguage("pgsql",SS());h.registerLanguage("php",fS());h.registerLanguage("php-template",bS());h.registerLanguage("plaintext",TS());h.registerLanguage("pony",CS());h.registerLanguage("powershell",hS());h.registerLanguage("processing",RS());h.registerLanguage("profile",vS());h.registerLanguage("prolog",NS());h.registerLanguage("properties",AS());h.registerLanguage("protobuf",IS());h.registerLanguage("puppet",OS());h.registerLanguage("purebasic",yS());h.registerLanguage("python",DS());h.registerLanguage("python-repl",xS());h.registerLanguage("q",LS());h.registerLanguage("qml",MS());h.registerLanguage("r",wS());h.registerLanguage("reasonml",kS());h.registerLanguage("rib",PS());h.registerLanguage("roboconf",US());h.registerLanguage("routeros",FS());h.registerLanguage("rsl",BS());h.registerLanguage("ruleslanguage",GS());h.registerLanguage("rust",YS());h.registerLanguage("sas",qS());h.registerLanguage("scala",VS());h.registerLanguage("scheme",HS());h.registerLanguage("scilab",zS());h.registerLanguage("scss",WS());h.registerLanguage("shell",KS());h.registerLanguage("smali",QS());h.registerLanguage("smalltalk",$S());h.registerLanguage("sml",ZS());h.registerLanguage("sqf",XS());h.registerLanguage("sql",JS());h.registerLanguage("stan",jS());h.registerLanguage("stata",ef());h.registerLanguage("step21",tf());h.registerLanguage("stylus",nf());h.registerLanguage("subunit",rf());h.registerLanguage("swift",af());h.registerLanguage("taggerscript",of());h.registerLanguage("yaml",sf());h.registerLanguage("tap",lf());h.registerLanguage("tcl",cf());h.registerLanguage("thrift",_f());h.registerLanguage("tp",df());h.registerLanguage("twig",uf());h.registerLanguage("typescript",pf());h.registerLanguage("vala",mf());h.registerLanguage("vbnet",gf());h.registerLanguage("vbscript",Ef());h.registerLanguage("vbscript-html",Sf());h.registerLanguage("verilog",ff());h.registerLanguage("vhdl",bf());h.registerLanguage("vim",Tf());h.registerLanguage("wasm",Cf());h.registerLanguage("wren",hf());h.registerLanguage("x86asm",Rf());h.registerLanguage("xl",vf());h.registerLanguage("xquery",Nf());h.registerLanguage("zephir",Af());h.HighlightJS=h;h.default=h;var If=h;const Ge=Rn(If);var Ce={};const Of="Á",yf="á",Df="Ă",xf="ă",Lf="∾",Mf="∿",wf="∾̳",kf="Â",Pf="â",Uf="´",Ff="А",Bf="а",Gf="Æ",Yf="æ",qf="⁡",Vf="𝔄",Hf="𝔞",zf="À",Wf="à",Kf="ℵ",Qf="ℵ",$f="Α",Zf="α",Xf="Ā",Jf="ā",jf="⨿",eb="&",tb="&",nb="⩕",rb="⩓",ab="∧",ib="⩜",ob="⩘",sb="⩚",lb="∠",cb="⦤",_b="∠",db="⦨",ub="⦩",pb="⦪",mb="⦫",gb="⦬",Eb="⦭",Sb="⦮",fb="⦯",bb="∡",Tb="∟",Cb="⊾",hb="⦝",Rb="∢",vb="Å",Nb="⍼",Ab="Ą",Ib="ą",Ob="𝔸",yb="𝕒",Db="⩯",xb="≈",Lb="⩰",Mb="≊",wb="≋",kb="'",Pb="⁡",Ub="≈",Fb="≊",Bb="Å",Gb="å",Yb="𝒜",qb="𝒶",Vb="≔",Hb="*",zb="≈",Wb="≍",Kb="Ã",Qb="ã",$b="Ä",Zb="ä",Xb="∳",Jb="⨑",jb="≌",eT="϶",tT="‵",nT="∽",rT="⋍",aT="∖",iT="⫧",oT="⊽",sT="⌅",lT="⌆",cT="⌅",_T="⎵",dT="⎶",uT="≌",pT="Б",mT="б",gT="„",ET="∵",ST="∵",fT="∵",bT="⦰",TT="϶",CT="ℬ",hT="ℬ",RT="Β",vT="β",NT="ℶ",AT="≬",IT="𝔅",OT="𝔟",yT="⋂",DT="◯",xT="⋃",LT="⨀",MT="⨁",wT="⨂",kT="⨆",PT="★",UT="▽",FT="△",BT="⨄",GT="⋁",YT="⋀",qT="⤍",VT="⧫",HT="▪",zT="▴",WT="▾",KT="◂",QT="▸",$T="␣",ZT="▒",XT="░",JT="▓",jT="█",eC="=⃥",tC="≡⃥",nC="⫭",rC="⌐",aC="𝔹",iC="𝕓",oC="⊥",sC="⊥",lC="⋈",cC="⧉",_C="┐",dC="╕",uC="╖",pC="╗",mC="┌",gC="╒",EC="╓",SC="╔",fC="─",bC="═",TC="┬",CC="╤",hC="╥",RC="╦",vC="┴",NC="╧",AC="╨",IC="╩",OC="⊟",yC="⊞",DC="⊠",xC="┘",LC="╛",MC="╜",wC="╝",kC="└",PC="╘",UC="╙",FC="╚",BC="│",GC="║",YC="┼",qC="╪",VC="╫",HC="╬",zC="┤",WC="╡",KC="╢",QC="╣",$C="├",ZC="╞",XC="╟",JC="╠",jC="‵",eh="˘",th="˘",nh="¦",rh="𝒷",ah="ℬ",ih="⁏",oh="∽",sh="⋍",lh="⧅",ch="\\",_h="⟈",dh="•",uh="•",ph="≎",mh="⪮",gh="≏",Eh="≎",Sh="≏",fh="Ć",bh="ć",Th="⩄",Ch="⩉",hh="⩋",Rh="∩",vh="⋒",Nh="⩇",Ah="⩀",Ih="ⅅ",Oh="∩︀",yh="⁁",Dh="ˇ",xh="ℭ",Lh="⩍",Mh="Č",wh="č",kh="Ç",Ph="ç",Uh="Ĉ",Fh="ĉ",Bh="∰",Gh="⩌",Yh="⩐",qh="Ċ",Vh="ċ",Hh="¸",zh="¸",Wh="⦲",Kh="¢",Qh="·",$h="·",Zh="𝔠",Xh="ℭ",Jh="Ч",jh="ч",eR="✓",tR="✓",nR="Χ",rR="χ",aR="ˆ",iR="≗",oR="↺",sR="↻",lR="⊛",cR="⊚",_R="⊝",dR="⊙",uR="®",pR="Ⓢ",mR="⊖",gR="⊕",ER="⊗",SR="○",fR="⧃",bR="≗",TR="⨐",CR="⫯",hR="⧂",RR="∲",vR="”",NR="’",AR="♣",IR="♣",OR=":",yR="∷",DR="⩴",xR="≔",LR="≔",MR=",",wR="@",kR="∁",PR="∘",UR="∁",FR="ℂ",BR="≅",GR="⩭",YR="≡",qR="∮",VR="∯",HR="∮",zR="𝕔",WR="ℂ",KR="∐",QR="∐",$R="©",ZR="©",XR="℗",JR="∳",jR="↵",ev="✗",tv="⨯",nv="𝒞",rv="𝒸",av="⫏",iv="⫑",ov="⫐",sv="⫒",lv="⋯",cv="⤸",_v="⤵",dv="⋞",uv="⋟",pv="↶",mv="⤽",gv="⩈",Ev="⩆",Sv="≍",fv="∪",bv="⋓",Tv="⩊",Cv="⊍",hv="⩅",Rv="∪︀",vv="↷",Nv="⤼",Av="⋞",Iv="⋟",Ov="⋎",yv="⋏",Dv="¤",xv="↶",Lv="↷",Mv="⋎",wv="⋏",kv="∲",Pv="∱",Uv="⌭",Fv="†",Bv="‡",Gv="ℸ",Yv="↓",qv="↡",Vv="⇓",Hv="‐",zv="⫤",Wv="⊣",Kv="⤏",Qv="˝",$v="Ď",Zv="ď",Xv="Д",Jv="д",jv="‡",eN="⇊",tN="ⅅ",nN="ⅆ",rN="⤑",aN="⩷",iN="°",oN="∇",sN="Δ",lN="δ",cN="⦱",_N="⥿",dN="𝔇",uN="𝔡",pN="⥥",mN="⇃",gN="⇂",EN="´",SN="˙",fN="˝",bN="`",TN="˜",CN="⋄",hN="⋄",RN="⋄",vN="♦",NN="♦",AN="¨",IN="ⅆ",ON="ϝ",yN="⋲",DN="÷",xN="÷",LN="⋇",MN="⋇",wN="Ђ",kN="ђ",PN="⌞",UN="⌍",FN="$",BN="𝔻",GN="𝕕",YN="¨",qN="˙",VN="⃜",HN="≐",zN="≑",WN="≐",KN="∸",QN="∔",$N="⊡",ZN="⌆",XN="∯",JN="¨",jN="⇓",eA="⇐",tA="⇔",nA="⫤",rA="⟸",aA="⟺",iA="⟹",oA="⇒",sA="⊨",lA="⇑",cA="⇕",_A="∥",dA="⤓",uA="↓",pA="↓",mA="⇓",gA="⇵",EA="̑",SA="⇊",fA="⇃",bA="⇂",TA="⥐",CA="⥞",hA="⥖",RA="↽",vA="⥟",NA="⥗",AA="⇁",IA="↧",OA="⊤",yA="⤐",DA="⌟",xA="⌌",LA="𝒟",MA="𝒹",wA="Ѕ",kA="ѕ",PA="⧶",UA="Đ",FA="đ",BA="⋱",GA="▿",YA="▾",qA="⇵",VA="⥯",HA="⦦",zA="Џ",WA="џ",KA="⟿",QA="É",$A="é",ZA="⩮",XA="Ě",JA="ě",jA="Ê",eI="ê",tI="≖",nI="≕",rI="Э",aI="э",iI="⩷",oI="Ė",sI="ė",lI="≑",cI="ⅇ",_I="≒",dI="𝔈",uI="𝔢",pI="⪚",mI="È",gI="è",EI="⪖",SI="⪘",fI="⪙",bI="∈",TI="⏧",CI="ℓ",hI="⪕",RI="⪗",vI="Ē",NI="ē",AI="∅",II="∅",OI="◻",yI="∅",DI="▫",xI=" ",LI=" ",MI=" ",wI="Ŋ",kI="ŋ",PI=" ",UI="Ę",FI="ę",BI="𝔼",GI="𝕖",YI="⋕",qI="⧣",VI="⩱",HI="ε",zI="Ε",WI="ε",KI="ϵ",QI="≖",$I="≕",ZI="≂",XI="⪖",JI="⪕",jI="⩵",eO="=",tO="≂",nO="≟",rO="⇌",aO="≡",iO="⩸",oO="⧥",sO="⥱",lO="≓",cO="ℯ",_O="ℰ",dO="≐",uO="⩳",pO="≂",mO="Η",gO="η",EO="Ð",SO="ð",fO="Ë",bO="ë",TO="€",CO="!",hO="∃",RO="∃",vO="ℰ",NO="ⅇ",AO="ⅇ",IO="≒",OO="Ф",yO="ф",DO="♀",xO="ffi",LO="ff",MO="ffl",wO="𝔉",kO="𝔣",PO="fi",UO="◼",FO="▪",BO="fj",GO="♭",YO="fl",qO="▱",VO="ƒ",HO="𝔽",zO="𝕗",WO="∀",KO="∀",QO="⋔",$O="⫙",ZO="ℱ",XO="⨍",JO="½",jO="⅓",ey="¼",ty="⅕",ny="⅙",ry="⅛",ay="⅔",iy="⅖",oy="¾",sy="⅗",ly="⅜",cy="⅘",_y="⅚",dy="⅝",uy="⅞",py="⁄",my="⌢",gy="𝒻",Ey="ℱ",Sy="ǵ",fy="Γ",by="γ",Ty="Ϝ",Cy="ϝ",hy="⪆",Ry="Ğ",vy="ğ",Ny="Ģ",Ay="Ĝ",Iy="ĝ",Oy="Г",yy="г",Dy="Ġ",xy="ġ",Ly="≥",My="≧",wy="⪌",ky="⋛",Py="≥",Uy="≧",Fy="⩾",By="⪩",Gy="⩾",Yy="⪀",qy="⪂",Vy="⪄",Hy="⋛︀",zy="⪔",Wy="𝔊",Ky="𝔤",Qy="≫",$y="⋙",Zy="⋙",Xy="ℷ",Jy="Ѓ",jy="ѓ",eD="⪥",tD="≷",nD="⪒",rD="⪤",aD="⪊",iD="⪊",oD="⪈",sD="≩",lD="⪈",cD="≩",_D="⋧",dD="𝔾",uD="𝕘",pD="`",mD="≥",gD="⋛",ED="≧",SD="⪢",fD="≷",bD="⩾",TD="≳",CD="𝒢",hD="ℊ",RD="≳",vD="⪎",ND="⪐",AD="⪧",ID="⩺",OD=">",yD=">",DD="≫",xD="⋗",LD="⦕",MD="⩼",wD="⪆",kD="⥸",PD="⋗",UD="⋛",FD="⪌",BD="≷",GD="≳",YD="≩︀",qD="≩︀",VD="ˇ",HD=" ",zD="½",WD="ℋ",KD="Ъ",QD="ъ",$D="⥈",ZD="↔",XD="⇔",JD="↭",jD="^",ex="ℏ",tx="Ĥ",nx="ĥ",rx="♥",ax="♥",ix="…",ox="⊹",sx="𝔥",lx="ℌ",cx="ℋ",_x="⤥",dx="⤦",ux="⇿",px="∻",mx="↩",gx="↪",Ex="𝕙",Sx="ℍ",fx="―",bx="─",Tx="𝒽",Cx="ℋ",hx="ℏ",Rx="Ħ",vx="ħ",Nx="≎",Ax="≏",Ix="⁃",Ox="‐",yx="Í",Dx="í",xx="⁣",Lx="Î",Mx="î",wx="И",kx="и",Px="İ",Ux="Е",Fx="е",Bx="¡",Gx="⇔",Yx="𝔦",qx="ℑ",Vx="Ì",Hx="ì",zx="ⅈ",Wx="⨌",Kx="∭",Qx="⧜",$x="℩",Zx="IJ",Xx="ij",Jx="Ī",jx="ī",eL="ℑ",tL="ⅈ",nL="ℐ",rL="ℑ",aL="ı",iL="ℑ",oL="⊷",sL="Ƶ",lL="⇒",cL="℅",_L="∞",dL="⧝",uL="ı",pL="⊺",mL="∫",gL="∬",EL="ℤ",SL="∫",fL="⊺",bL="⋂",TL="⨗",CL="⨼",hL="⁣",RL="⁢",vL="Ё",NL="ё",AL="Į",IL="į",OL="𝕀",yL="𝕚",DL="Ι",xL="ι",LL="⨼",ML="¿",wL="𝒾",kL="ℐ",PL="∈",UL="⋵",FL="⋹",BL="⋴",GL="⋳",YL="∈",qL="⁢",VL="Ĩ",HL="ĩ",zL="І",WL="і",KL="Ï",QL="ï",$L="Ĵ",ZL="ĵ",XL="Й",JL="й",jL="𝔍",eM="𝔧",tM="ȷ",nM="𝕁",rM="𝕛",aM="𝒥",iM="𝒿",oM="Ј",sM="ј",lM="Є",cM="є",_M="Κ",dM="κ",uM="ϰ",pM="Ķ",mM="ķ",gM="К",EM="к",SM="𝔎",fM="𝔨",bM="ĸ",TM="Х",CM="х",hM="Ќ",RM="ќ",vM="𝕂",NM="𝕜",AM="𝒦",IM="𝓀",OM="⇚",yM="Ĺ",DM="ĺ",xM="⦴",LM="ℒ",MM="Λ",wM="λ",kM="⟨",PM="⟪",UM="⦑",FM="⟨",BM="⪅",GM="ℒ",YM="«",qM="⇤",VM="⤟",HM="←",zM="↞",WM="⇐",KM="⤝",QM="↩",$M="↫",ZM="⤹",XM="⥳",JM="↢",jM="⤙",ew="⤛",tw="⪫",nw="⪭",rw="⪭︀",aw="⤌",iw="⤎",ow="❲",sw="{",lw="[",cw="⦋",_w="⦏",dw="⦍",uw="Ľ",pw="ľ",mw="Ļ",gw="ļ",Ew="⌈",Sw="{",fw="Л",bw="л",Tw="⤶",Cw="“",hw="„",Rw="⥧",vw="⥋",Nw="↲",Aw="≤",Iw="≦",Ow="⟨",yw="⇤",Dw="←",xw="←",Lw="⇐",Mw="⇆",ww="↢",kw="⌈",Pw="⟦",Uw="⥡",Fw="⥙",Bw="⇃",Gw="⌊",Yw="↽",qw="↼",Vw="⇇",Hw="↔",zw="↔",Ww="⇔",Kw="⇆",Qw="⇋",$w="↭",Zw="⥎",Xw="↤",Jw="⊣",jw="⥚",ek="⋋",tk="⧏",nk="⊲",rk="⊴",ak="⥑",ik="⥠",ok="⥘",sk="↿",lk="⥒",ck="↼",_k="⪋",dk="⋚",uk="≤",pk="≦",mk="⩽",gk="⪨",Ek="⩽",Sk="⩿",fk="⪁",bk="⪃",Tk="⋚︀",Ck="⪓",hk="⪅",Rk="⋖",vk="⋚",Nk="⪋",Ak="⋚",Ik="≦",Ok="≶",yk="≶",Dk="⪡",xk="≲",Lk="⩽",Mk="≲",wk="⥼",kk="⌊",Pk="𝔏",Uk="𝔩",Fk="≶",Bk="⪑",Gk="⥢",Yk="↽",qk="↼",Vk="⥪",Hk="▄",zk="Љ",Wk="љ",Kk="⇇",Qk="≪",$k="⋘",Zk="⌞",Xk="⇚",Jk="⥫",jk="◺",eP="Ŀ",tP="ŀ",nP="⎰",rP="⎰",aP="⪉",iP="⪉",oP="⪇",sP="≨",lP="⪇",cP="≨",_P="⋦",dP="⟬",uP="⇽",pP="⟦",mP="⟵",gP="⟵",EP="⟸",SP="⟷",fP="⟷",bP="⟺",TP="⟼",CP="⟶",hP="⟶",RP="⟹",vP="↫",NP="↬",AP="⦅",IP="𝕃",OP="𝕝",yP="⨭",DP="⨴",xP="∗",LP="_",MP="↙",wP="↘",kP="◊",PP="◊",UP="⧫",FP="(",BP="⦓",GP="⇆",YP="⌟",qP="⇋",VP="⥭",HP="‎",zP="⊿",WP="‹",KP="𝓁",QP="ℒ",$P="↰",ZP="↰",XP="≲",JP="⪍",jP="⪏",e0="[",t0="‘",n0="‚",r0="Ł",a0="ł",i0="⪦",o0="⩹",s0="<",l0="<",c0="≪",_0="⋖",d0="⋋",u0="⋉",p0="⥶",m0="⩻",g0="◃",E0="⊴",S0="◂",f0="⦖",b0="⥊",T0="⥦",C0="≨︀",h0="≨︀",R0="¯",v0="♂",N0="✠",A0="✠",I0="↦",O0="↦",y0="↧",D0="↤",x0="↥",L0="▮",M0="⨩",w0="М",k0="м",P0="—",U0="∺",F0="∡",B0=" ",G0="ℳ",Y0="𝔐",q0="𝔪",V0="℧",H0="µ",z0="*",W0="⫰",K0="∣",Q0="·",$0="⊟",Z0="−",X0="∸",J0="⨪",j0="∓",eU="⫛",tU="…",nU="∓",rU="⊧",aU="𝕄",iU="𝕞",oU="∓",sU="𝓂",lU="ℳ",cU="∾",_U="Μ",dU="μ",uU="⊸",pU="⊸",mU="∇",gU="Ń",EU="ń",SU="∠⃒",fU="≉",bU="⩰̸",TU="≋̸",CU="ʼn",hU="≉",RU="♮",vU="ℕ",NU="♮",AU=" ",IU="≎̸",OU="≏̸",yU="⩃",DU="Ň",xU="ň",LU="Ņ",MU="ņ",wU="≇",kU="⩭̸",PU="⩂",UU="Н",FU="н",BU="–",GU="⤤",YU="↗",qU="⇗",VU="↗",HU="≠",zU="≐̸",WU="​",KU="​",QU="​",$U="​",ZU="≢",XU="⤨",JU="≂̸",jU="≫",eF="≪",tF=` +`,nF="∄",rF="∄",aF="𝔑",iF="𝔫",oF="≧̸",sF="≱",lF="≱",cF="≧̸",_F="⩾̸",dF="⩾̸",uF="⋙̸",pF="≵",mF="≫⃒",gF="≯",EF="≯",SF="≫̸",fF="↮",bF="⇎",TF="⫲",CF="∋",hF="⋼",RF="⋺",vF="∋",NF="Њ",AF="њ",IF="↚",OF="⇍",yF="‥",DF="≦̸",xF="≰",LF="↚",MF="⇍",wF="↮",kF="⇎",PF="≰",UF="≦̸",FF="⩽̸",BF="⩽̸",GF="≮",YF="⋘̸",qF="≴",VF="≪⃒",HF="≮",zF="⋪",WF="⋬",KF="≪̸",QF="∤",$F="⁠",ZF=" ",XF="𝕟",JF="ℕ",jF="⫬",eB="¬",tB="≢",nB="≭",rB="∦",aB="∉",iB="≠",oB="≂̸",sB="∄",lB="≯",cB="≱",_B="≧̸",dB="≫̸",uB="≹",pB="⩾̸",mB="≵",gB="≎̸",EB="≏̸",SB="∉",fB="⋵̸",bB="⋹̸",TB="∉",CB="⋷",hB="⋶",RB="⧏̸",vB="⋪",NB="⋬",AB="≮",IB="≰",OB="≸",yB="≪̸",DB="⩽̸",xB="≴",LB="⪢̸",MB="⪡̸",wB="∌",kB="∌",PB="⋾",UB="⋽",FB="⊀",BB="⪯̸",GB="⋠",YB="∌",qB="⧐̸",VB="⋫",HB="⋭",zB="⊏̸",WB="⋢",KB="⊐̸",QB="⋣",$B="⊂⃒",ZB="⊈",XB="⊁",JB="⪰̸",jB="⋡",e1="≿̸",t1="⊃⃒",n1="⊉",r1="≁",a1="≄",i1="≇",o1="≉",s1="∤",l1="∦",c1="∦",_1="⫽⃥",d1="∂̸",u1="⨔",p1="⊀",m1="⋠",g1="⊀",E1="⪯̸",S1="⪯̸",f1="⤳̸",b1="↛",T1="⇏",C1="↝̸",h1="↛",R1="⇏",v1="⋫",N1="⋭",A1="⊁",I1="⋡",O1="⪰̸",y1="𝒩",D1="𝓃",x1="∤",L1="∦",M1="≁",w1="≄",k1="≄",P1="∤",U1="∦",F1="⋢",B1="⋣",G1="⊄",Y1="⫅̸",q1="⊈",V1="⊂⃒",H1="⊈",z1="⫅̸",W1="⊁",K1="⪰̸",Q1="⊅",$1="⫆̸",Z1="⊉",X1="⊃⃒",J1="⊉",j1="⫆̸",eG="≹",tG="Ñ",nG="ñ",rG="≸",aG="⋪",iG="⋬",oG="⋫",sG="⋭",lG="Ν",cG="ν",_G="#",dG="№",uG=" ",pG="≍⃒",mG="⊬",gG="⊭",EG="⊮",SG="⊯",fG="≥⃒",bG=">⃒",TG="⤄",CG="⧞",hG="⤂",RG="≤⃒",vG="<⃒",NG="⊴⃒",AG="⤃",IG="⊵⃒",OG="∼⃒",yG="⤣",DG="↖",xG="⇖",LG="↖",MG="⤧",wG="Ó",kG="ó",PG="⊛",UG="Ô",FG="ô",BG="⊚",GG="О",YG="о",qG="⊝",VG="Ő",HG="ő",zG="⨸",WG="⊙",KG="⦼",QG="Œ",$G="œ",ZG="⦿",XG="𝔒",JG="𝔬",jG="˛",eY="Ò",tY="ò",nY="⧁",rY="⦵",aY="Ω",iY="∮",oY="↺",sY="⦾",lY="⦻",cY="‾",_Y="⧀",dY="Ō",uY="ō",pY="Ω",mY="ω",gY="Ο",EY="ο",SY="⦶",fY="⊖",bY="𝕆",TY="𝕠",CY="⦷",hY="“",RY="‘",vY="⦹",NY="⊕",AY="↻",IY="⩔",OY="∨",yY="⩝",DY="ℴ",xY="ℴ",LY="ª",MY="º",wY="⊶",kY="⩖",PY="⩗",UY="⩛",FY="Ⓢ",BY="𝒪",GY="ℴ",YY="Ø",qY="ø",VY="⊘",HY="Õ",zY="õ",WY="⨶",KY="⨷",QY="⊗",$Y="Ö",ZY="ö",XY="⌽",JY="‾",jY="⏞",eq="⎴",tq="⏜",nq="¶",rq="∥",aq="∥",iq="⫳",oq="⫽",sq="∂",lq="∂",cq="П",_q="п",dq="%",uq=".",pq="‰",mq="⊥",gq="‱",Eq="𝔓",Sq="𝔭",fq="Φ",bq="φ",Tq="ϕ",Cq="ℳ",hq="☎",Rq="Π",vq="π",Nq="⋔",Aq="ϖ",Iq="ℏ",Oq="ℎ",yq="ℏ",Dq="⨣",xq="⊞",Lq="⨢",Mq="+",wq="∔",kq="⨥",Pq="⩲",Uq="±",Fq="±",Bq="⨦",Gq="⨧",Yq="±",qq="ℌ",Vq="⨕",Hq="𝕡",zq="ℙ",Wq="£",Kq="⪷",Qq="⪻",$q="≺",Zq="≼",Xq="⪷",Jq="≺",jq="≼",e2="≺",t2="⪯",n2="≼",r2="≾",a2="⪯",i2="⪹",o2="⪵",s2="⋨",l2="⪯",c2="⪳",_2="≾",d2="′",u2="″",p2="ℙ",m2="⪹",g2="⪵",E2="⋨",S2="∏",f2="∏",b2="⌮",T2="⌒",C2="⌓",h2="∝",R2="∝",v2="∷",N2="∝",A2="≾",I2="⊰",O2="𝒫",y2="𝓅",D2="Ψ",x2="ψ",L2=" ",M2="𝔔",w2="𝔮",k2="⨌",P2="𝕢",U2="ℚ",F2="⁗",B2="𝒬",G2="𝓆",Y2="ℍ",q2="⨖",V2="?",H2="≟",z2='"',W2='"',K2="⇛",Q2="∽̱",$2="Ŕ",Z2="ŕ",X2="√",J2="⦳",j2="⟩",eV="⟫",tV="⦒",nV="⦥",rV="⟩",aV="»",iV="⥵",oV="⇥",sV="⤠",lV="⤳",cV="→",_V="↠",dV="⇒",uV="⤞",pV="↪",mV="↬",gV="⥅",EV="⥴",SV="⤖",fV="↣",bV="↝",TV="⤚",CV="⤜",hV="∶",RV="ℚ",vV="⤍",NV="⤏",AV="⤐",IV="❳",OV="}",yV="]",DV="⦌",xV="⦎",LV="⦐",MV="Ř",wV="ř",kV="Ŗ",PV="ŗ",UV="⌉",FV="}",BV="Р",GV="р",YV="⤷",qV="⥩",VV="”",HV="”",zV="↳",WV="ℜ",KV="ℛ",QV="ℜ",$V="ℝ",ZV="ℜ",XV="▭",JV="®",jV="®",eH="∋",tH="⇋",nH="⥯",rH="⥽",aH="⌋",iH="𝔯",oH="ℜ",sH="⥤",lH="⇁",cH="⇀",_H="⥬",dH="Ρ",uH="ρ",pH="ϱ",mH="⟩",gH="⇥",EH="→",SH="→",fH="⇒",bH="⇄",TH="↣",CH="⌉",hH="⟧",RH="⥝",vH="⥕",NH="⇂",AH="⌋",IH="⇁",OH="⇀",yH="⇄",DH="⇌",xH="⇉",LH="↝",MH="↦",wH="⊢",kH="⥛",PH="⋌",UH="⧐",FH="⊳",BH="⊵",GH="⥏",YH="⥜",qH="⥔",VH="↾",HH="⥓",zH="⇀",WH="˚",KH="≓",QH="⇄",$H="⇌",ZH="‏",XH="⎱",JH="⎱",jH="⫮",ez="⟭",tz="⇾",nz="⟧",rz="⦆",az="𝕣",iz="ℝ",oz="⨮",sz="⨵",lz="⥰",cz=")",_z="⦔",dz="⨒",uz="⇉",pz="⇛",mz="›",gz="𝓇",Ez="ℛ",Sz="↱",fz="↱",bz="]",Tz="’",Cz="’",hz="⋌",Rz="⋊",vz="▹",Nz="⊵",Az="▸",Iz="⧎",Oz="⧴",yz="⥨",Dz="℞",xz="Ś",Lz="ś",Mz="‚",wz="⪸",kz="Š",Pz="š",Uz="⪼",Fz="≻",Bz="≽",Gz="⪰",Yz="⪴",qz="Ş",Vz="ş",Hz="Ŝ",zz="ŝ",Wz="⪺",Kz="⪶",Qz="⋩",$z="⨓",Zz="≿",Xz="С",Jz="с",jz="⊡",eW="⋅",tW="⩦",nW="⤥",rW="↘",aW="⇘",iW="↘",oW="§",sW=";",lW="⤩",cW="∖",_W="∖",dW="✶",uW="𝔖",pW="𝔰",mW="⌢",gW="♯",EW="Щ",SW="щ",fW="Ш",bW="ш",TW="↓",CW="←",hW="∣",RW="∥",vW="→",NW="↑",AW="­",IW="Σ",OW="σ",yW="ς",DW="ς",xW="∼",LW="⩪",MW="≃",wW="≃",kW="⪞",PW="⪠",UW="⪝",FW="⪟",BW="≆",GW="⨤",YW="⥲",qW="←",VW="∘",HW="∖",zW="⨳",WW="⧤",KW="∣",QW="⌣",$W="⪪",ZW="⪬",XW="⪬︀",JW="Ь",jW="ь",e3="⌿",t3="⧄",n3="/",r3="𝕊",a3="𝕤",i3="♠",o3="♠",s3="∥",l3="⊓",c3="⊓︀",_3="⊔",d3="⊔︀",u3="√",p3="⊏",m3="⊑",g3="⊏",E3="⊑",S3="⊐",f3="⊒",b3="⊐",T3="⊒",C3="□",h3="□",R3="⊓",v3="⊏",N3="⊑",A3="⊐",I3="⊒",O3="⊔",y3="▪",D3="□",x3="▪",L3="→",M3="𝒮",w3="𝓈",k3="∖",P3="⌣",U3="⋆",F3="⋆",B3="☆",G3="★",Y3="ϵ",q3="ϕ",V3="¯",H3="⊂",z3="⋐",W3="⪽",K3="⫅",Q3="⊆",$3="⫃",Z3="⫁",X3="⫋",J3="⊊",j3="⪿",eK="⥹",tK="⊂",nK="⋐",rK="⊆",aK="⫅",iK="⊆",oK="⊊",sK="⫋",lK="⫇",cK="⫕",_K="⫓",dK="⪸",uK="≻",pK="≽",mK="≻",gK="⪰",EK="≽",SK="≿",fK="⪰",bK="⪺",TK="⪶",CK="⋩",hK="≿",RK="∋",vK="∑",NK="∑",AK="♪",IK="¹",OK="²",yK="³",DK="⊃",xK="⋑",LK="⪾",MK="⫘",wK="⫆",kK="⊇",PK="⫄",UK="⊃",FK="⊇",BK="⟉",GK="⫗",YK="⥻",qK="⫂",VK="⫌",HK="⊋",zK="⫀",WK="⊃",KK="⋑",QK="⊇",$K="⫆",ZK="⊋",XK="⫌",JK="⫈",jK="⫔",eQ="⫖",tQ="⤦",nQ="↙",rQ="⇙",aQ="↙",iQ="⤪",oQ="ß",sQ=" ",lQ="⌖",cQ="Τ",_Q="τ",dQ="⎴",uQ="Ť",pQ="ť",mQ="Ţ",gQ="ţ",EQ="Т",SQ="т",fQ="⃛",bQ="⌕",TQ="𝔗",CQ="𝔱",hQ="∴",RQ="∴",vQ="∴",NQ="Θ",AQ="θ",IQ="ϑ",OQ="ϑ",yQ="≈",DQ="∼",xQ="  ",LQ=" ",MQ=" ",wQ="≈",kQ="∼",PQ="Þ",UQ="þ",FQ="˜",BQ="∼",GQ="≃",YQ="≅",qQ="≈",VQ="⨱",HQ="⊠",zQ="×",WQ="⨰",KQ="∭",QQ="⤨",$Q="⌶",ZQ="⫱",XQ="⊤",JQ="𝕋",jQ="𝕥",e4="⫚",t4="⤩",n4="‴",r4="™",a4="™",i4="▵",o4="▿",s4="◃",l4="⊴",c4="≜",_4="▹",d4="⊵",u4="◬",p4="≜",m4="⨺",g4="⃛",E4="⨹",S4="⧍",f4="⨻",b4="⏢",T4="𝒯",C4="𝓉",h4="Ц",R4="ц",v4="Ћ",N4="ћ",A4="Ŧ",I4="ŧ",O4="≬",y4="↞",D4="↠",x4="Ú",L4="ú",M4="↑",w4="↟",k4="⇑",P4="⥉",U4="Ў",F4="ў",B4="Ŭ",G4="ŭ",Y4="Û",q4="û",V4="У",H4="у",z4="⇅",W4="Ű",K4="ű",Q4="⥮",$4="⥾",Z4="𝔘",X4="𝔲",J4="Ù",j4="ù",e$="⥣",t$="↿",n$="↾",r$="▀",a$="⌜",i$="⌜",o$="⌏",s$="◸",l$="Ū",c$="ū",_$="¨",d$="_",u$="⏟",p$="⎵",m$="⏝",g$="⋃",E$="⊎",S$="Ų",f$="ų",b$="𝕌",T$="𝕦",C$="⤒",h$="↑",R$="↑",v$="⇑",N$="⇅",A$="↕",I$="↕",O$="⇕",y$="⥮",D$="↿",x$="↾",L$="⊎",M$="↖",w$="↗",k$="υ",P$="ϒ",U$="ϒ",F$="Υ",B$="υ",G$="↥",Y$="⊥",q$="⇈",V$="⌝",H$="⌝",z$="⌎",W$="Ů",K$="ů",Q$="◹",$$="𝒰",Z$="𝓊",X$="⋰",J$="Ũ",j$="ũ",e9="▵",t9="▴",n9="⇈",r9="Ü",a9="ü",i9="⦧",o9="⦜",s9="ϵ",l9="ϰ",c9="∅",_9="ϕ",d9="ϖ",u9="∝",p9="↕",m9="⇕",g9="ϱ",E9="ς",S9="⊊︀",f9="⫋︀",b9="⊋︀",T9="⫌︀",C9="ϑ",h9="⊲",R9="⊳",v9="⫨",N9="⫫",A9="⫩",I9="В",O9="в",y9="⊢",D9="⊨",x9="⊩",L9="⊫",M9="⫦",w9="⊻",k9="∨",P9="⋁",U9="≚",F9="⋮",B9="|",G9="‖",Y9="|",q9="‖",V9="∣",H9="|",z9="❘",W9="≀",K9=" ",Q9="𝔙",$9="𝔳",Z9="⊲",X9="⊂⃒",J9="⊃⃒",j9="𝕍",e5="𝕧",t5="∝",n5="⊳",r5="𝒱",a5="𝓋",i5="⫋︀",o5="⊊︀",s5="⫌︀",l5="⊋︀",c5="⊪",_5="⦚",d5="Ŵ",u5="ŵ",p5="⩟",m5="∧",g5="⋀",E5="≙",S5="℘",f5="𝔚",b5="𝔴",T5="𝕎",C5="𝕨",h5="℘",R5="≀",v5="≀",N5="𝒲",A5="𝓌",I5="⋂",O5="◯",y5="⋃",D5="▽",x5="𝔛",L5="𝔵",M5="⟷",w5="⟺",k5="Ξ",P5="ξ",U5="⟵",F5="⟸",B5="⟼",G5="⋻",Y5="⨀",q5="𝕏",V5="𝕩",H5="⨁",z5="⨂",W5="⟶",K5="⟹",Q5="𝒳",$5="𝓍",Z5="⨆",X5="⨄",J5="△",j5="⋁",e8="⋀",t8="Ý",n8="ý",r8="Я",a8="я",i8="Ŷ",o8="ŷ",s8="Ы",l8="ы",c8="¥",_8="𝔜",d8="𝔶",u8="Ї",p8="ї",m8="𝕐",g8="𝕪",E8="𝒴",S8="𝓎",f8="Ю",b8="ю",T8="ÿ",C8="Ÿ",h8="Ź",R8="ź",v8="Ž",N8="ž",A8="З",I8="з",O8="Ż",y8="ż",D8="ℨ",x8="​",L8="Ζ",M8="ζ",w8="𝔷",k8="ℨ",P8="Ж",U8="ж",F8="⇝",B8="𝕫",G8="ℤ",Y8="𝒵",q8="𝓏",V8="‍",H8="‌",z8={Aacute:Of,aacute:yf,Abreve:Df,abreve:xf,ac:Lf,acd:Mf,acE:wf,Acirc:kf,acirc:Pf,acute:Uf,Acy:Ff,acy:Bf,AElig:Gf,aelig:Yf,af:qf,Afr:Vf,afr:Hf,Agrave:zf,agrave:Wf,alefsym:Kf,aleph:Qf,Alpha:$f,alpha:Zf,Amacr:Xf,amacr:Jf,amalg:jf,amp:eb,AMP:tb,andand:nb,And:rb,and:ab,andd:ib,andslope:ob,andv:sb,ang:lb,ange:cb,angle:_b,angmsdaa:db,angmsdab:ub,angmsdac:pb,angmsdad:mb,angmsdae:gb,angmsdaf:Eb,angmsdag:Sb,angmsdah:fb,angmsd:bb,angrt:Tb,angrtvb:Cb,angrtvbd:hb,angsph:Rb,angst:vb,angzarr:Nb,Aogon:Ab,aogon:Ib,Aopf:Ob,aopf:yb,apacir:Db,ap:xb,apE:Lb,ape:Mb,apid:wb,apos:kb,ApplyFunction:Pb,approx:Ub,approxeq:Fb,Aring:Bb,aring:Gb,Ascr:Yb,ascr:qb,Assign:Vb,ast:Hb,asymp:zb,asympeq:Wb,Atilde:Kb,atilde:Qb,Auml:$b,auml:Zb,awconint:Xb,awint:Jb,backcong:jb,backepsilon:eT,backprime:tT,backsim:nT,backsimeq:rT,Backslash:aT,Barv:iT,barvee:oT,barwed:sT,Barwed:lT,barwedge:cT,bbrk:_T,bbrktbrk:dT,bcong:uT,Bcy:pT,bcy:mT,bdquo:gT,becaus:ET,because:ST,Because:fT,bemptyv:bT,bepsi:TT,bernou:CT,Bernoullis:hT,Beta:RT,beta:vT,beth:NT,between:AT,Bfr:IT,bfr:OT,bigcap:yT,bigcirc:DT,bigcup:xT,bigodot:LT,bigoplus:MT,bigotimes:wT,bigsqcup:kT,bigstar:PT,bigtriangledown:UT,bigtriangleup:FT,biguplus:BT,bigvee:GT,bigwedge:YT,bkarow:qT,blacklozenge:VT,blacksquare:HT,blacktriangle:zT,blacktriangledown:WT,blacktriangleleft:KT,blacktriangleright:QT,blank:$T,blk12:ZT,blk14:XT,blk34:JT,block:jT,bne:eC,bnequiv:tC,bNot:nC,bnot:rC,Bopf:aC,bopf:iC,bot:oC,bottom:sC,bowtie:lC,boxbox:cC,boxdl:_C,boxdL:dC,boxDl:uC,boxDL:pC,boxdr:mC,boxdR:gC,boxDr:EC,boxDR:SC,boxh:fC,boxH:bC,boxhd:TC,boxHd:CC,boxhD:hC,boxHD:RC,boxhu:vC,boxHu:NC,boxhU:AC,boxHU:IC,boxminus:OC,boxplus:yC,boxtimes:DC,boxul:xC,boxuL:LC,boxUl:MC,boxUL:wC,boxur:kC,boxuR:PC,boxUr:UC,boxUR:FC,boxv:BC,boxV:GC,boxvh:YC,boxvH:qC,boxVh:VC,boxVH:HC,boxvl:zC,boxvL:WC,boxVl:KC,boxVL:QC,boxvr:$C,boxvR:ZC,boxVr:XC,boxVR:JC,bprime:jC,breve:eh,Breve:th,brvbar:nh,bscr:rh,Bscr:ah,bsemi:ih,bsim:oh,bsime:sh,bsolb:lh,bsol:ch,bsolhsub:_h,bull:dh,bullet:uh,bump:ph,bumpE:mh,bumpe:gh,Bumpeq:Eh,bumpeq:Sh,Cacute:fh,cacute:bh,capand:Th,capbrcup:Ch,capcap:hh,cap:Rh,Cap:vh,capcup:Nh,capdot:Ah,CapitalDifferentialD:Ih,caps:Oh,caret:yh,caron:Dh,Cayleys:xh,ccaps:Lh,Ccaron:Mh,ccaron:wh,Ccedil:kh,ccedil:Ph,Ccirc:Uh,ccirc:Fh,Cconint:Bh,ccups:Gh,ccupssm:Yh,Cdot:qh,cdot:Vh,cedil:Hh,Cedilla:zh,cemptyv:Wh,cent:Kh,centerdot:Qh,CenterDot:$h,cfr:Zh,Cfr:Xh,CHcy:Jh,chcy:jh,check:eR,checkmark:tR,Chi:nR,chi:rR,circ:aR,circeq:iR,circlearrowleft:oR,circlearrowright:sR,circledast:lR,circledcirc:cR,circleddash:_R,CircleDot:dR,circledR:uR,circledS:pR,CircleMinus:mR,CirclePlus:gR,CircleTimes:ER,cir:SR,cirE:fR,cire:bR,cirfnint:TR,cirmid:CR,cirscir:hR,ClockwiseContourIntegral:RR,CloseCurlyDoubleQuote:vR,CloseCurlyQuote:NR,clubs:AR,clubsuit:IR,colon:OR,Colon:yR,Colone:DR,colone:xR,coloneq:LR,comma:MR,commat:wR,comp:kR,compfn:PR,complement:UR,complexes:FR,cong:BR,congdot:GR,Congruent:YR,conint:qR,Conint:VR,ContourIntegral:HR,copf:zR,Copf:WR,coprod:KR,Coproduct:QR,copy:$R,COPY:ZR,copysr:XR,CounterClockwiseContourIntegral:JR,crarr:jR,cross:ev,Cross:tv,Cscr:nv,cscr:rv,csub:av,csube:iv,csup:ov,csupe:sv,ctdot:lv,cudarrl:cv,cudarrr:_v,cuepr:dv,cuesc:uv,cularr:pv,cularrp:mv,cupbrcap:gv,cupcap:Ev,CupCap:Sv,cup:fv,Cup:bv,cupcup:Tv,cupdot:Cv,cupor:hv,cups:Rv,curarr:vv,curarrm:Nv,curlyeqprec:Av,curlyeqsucc:Iv,curlyvee:Ov,curlywedge:yv,curren:Dv,curvearrowleft:xv,curvearrowright:Lv,cuvee:Mv,cuwed:wv,cwconint:kv,cwint:Pv,cylcty:Uv,dagger:Fv,Dagger:Bv,daleth:Gv,darr:Yv,Darr:qv,dArr:Vv,dash:Hv,Dashv:zv,dashv:Wv,dbkarow:Kv,dblac:Qv,Dcaron:$v,dcaron:Zv,Dcy:Xv,dcy:Jv,ddagger:jv,ddarr:eN,DD:tN,dd:nN,DDotrahd:rN,ddotseq:aN,deg:iN,Del:oN,Delta:sN,delta:lN,demptyv:cN,dfisht:_N,Dfr:dN,dfr:uN,dHar:pN,dharl:mN,dharr:gN,DiacriticalAcute:EN,DiacriticalDot:SN,DiacriticalDoubleAcute:fN,DiacriticalGrave:bN,DiacriticalTilde:TN,diam:CN,diamond:hN,Diamond:RN,diamondsuit:vN,diams:NN,die:AN,DifferentialD:IN,digamma:ON,disin:yN,div:DN,divide:xN,divideontimes:LN,divonx:MN,DJcy:wN,djcy:kN,dlcorn:PN,dlcrop:UN,dollar:FN,Dopf:BN,dopf:GN,Dot:YN,dot:qN,DotDot:VN,doteq:HN,doteqdot:zN,DotEqual:WN,dotminus:KN,dotplus:QN,dotsquare:$N,doublebarwedge:ZN,DoubleContourIntegral:XN,DoubleDot:JN,DoubleDownArrow:jN,DoubleLeftArrow:eA,DoubleLeftRightArrow:tA,DoubleLeftTee:nA,DoubleLongLeftArrow:rA,DoubleLongLeftRightArrow:aA,DoubleLongRightArrow:iA,DoubleRightArrow:oA,DoubleRightTee:sA,DoubleUpArrow:lA,DoubleUpDownArrow:cA,DoubleVerticalBar:_A,DownArrowBar:dA,downarrow:uA,DownArrow:pA,Downarrow:mA,DownArrowUpArrow:gA,DownBreve:EA,downdownarrows:SA,downharpoonleft:fA,downharpoonright:bA,DownLeftRightVector:TA,DownLeftTeeVector:CA,DownLeftVectorBar:hA,DownLeftVector:RA,DownRightTeeVector:vA,DownRightVectorBar:NA,DownRightVector:AA,DownTeeArrow:IA,DownTee:OA,drbkarow:yA,drcorn:DA,drcrop:xA,Dscr:LA,dscr:MA,DScy:wA,dscy:kA,dsol:PA,Dstrok:UA,dstrok:FA,dtdot:BA,dtri:GA,dtrif:YA,duarr:qA,duhar:VA,dwangle:HA,DZcy:zA,dzcy:WA,dzigrarr:KA,Eacute:QA,eacute:$A,easter:ZA,Ecaron:XA,ecaron:JA,Ecirc:jA,ecirc:eI,ecir:tI,ecolon:nI,Ecy:rI,ecy:aI,eDDot:iI,Edot:oI,edot:sI,eDot:lI,ee:cI,efDot:_I,Efr:dI,efr:uI,eg:pI,Egrave:mI,egrave:gI,egs:EI,egsdot:SI,el:fI,Element:bI,elinters:TI,ell:CI,els:hI,elsdot:RI,Emacr:vI,emacr:NI,empty:AI,emptyset:II,EmptySmallSquare:OI,emptyv:yI,EmptyVerySmallSquare:DI,emsp13:xI,emsp14:LI,emsp:MI,ENG:wI,eng:kI,ensp:PI,Eogon:UI,eogon:FI,Eopf:BI,eopf:GI,epar:YI,eparsl:qI,eplus:VI,epsi:HI,Epsilon:zI,epsilon:WI,epsiv:KI,eqcirc:QI,eqcolon:$I,eqsim:ZI,eqslantgtr:XI,eqslantless:JI,Equal:jI,equals:eO,EqualTilde:tO,equest:nO,Equilibrium:rO,equiv:aO,equivDD:iO,eqvparsl:oO,erarr:sO,erDot:lO,escr:cO,Escr:_O,esdot:dO,Esim:uO,esim:pO,Eta:mO,eta:gO,ETH:EO,eth:SO,Euml:fO,euml:bO,euro:TO,excl:CO,exist:hO,Exists:RO,expectation:vO,exponentiale:NO,ExponentialE:AO,fallingdotseq:IO,Fcy:OO,fcy:yO,female:DO,ffilig:xO,fflig:LO,ffllig:MO,Ffr:wO,ffr:kO,filig:PO,FilledSmallSquare:UO,FilledVerySmallSquare:FO,fjlig:BO,flat:GO,fllig:YO,fltns:qO,fnof:VO,Fopf:HO,fopf:zO,forall:WO,ForAll:KO,fork:QO,forkv:$O,Fouriertrf:ZO,fpartint:XO,frac12:JO,frac13:jO,frac14:ey,frac15:ty,frac16:ny,frac18:ry,frac23:ay,frac25:iy,frac34:oy,frac35:sy,frac38:ly,frac45:cy,frac56:_y,frac58:dy,frac78:uy,frasl:py,frown:my,fscr:gy,Fscr:Ey,gacute:Sy,Gamma:fy,gamma:by,Gammad:Ty,gammad:Cy,gap:hy,Gbreve:Ry,gbreve:vy,Gcedil:Ny,Gcirc:Ay,gcirc:Iy,Gcy:Oy,gcy:yy,Gdot:Dy,gdot:xy,ge:Ly,gE:My,gEl:wy,gel:ky,geq:Py,geqq:Uy,geqslant:Fy,gescc:By,ges:Gy,gesdot:Yy,gesdoto:qy,gesdotol:Vy,gesl:Hy,gesles:zy,Gfr:Wy,gfr:Ky,gg:Qy,Gg:$y,ggg:Zy,gimel:Xy,GJcy:Jy,gjcy:jy,gla:eD,gl:tD,glE:nD,glj:rD,gnap:aD,gnapprox:iD,gne:oD,gnE:sD,gneq:lD,gneqq:cD,gnsim:_D,Gopf:dD,gopf:uD,grave:pD,GreaterEqual:mD,GreaterEqualLess:gD,GreaterFullEqual:ED,GreaterGreater:SD,GreaterLess:fD,GreaterSlantEqual:bD,GreaterTilde:TD,Gscr:CD,gscr:hD,gsim:RD,gsime:vD,gsiml:ND,gtcc:AD,gtcir:ID,gt:OD,GT:yD,Gt:DD,gtdot:xD,gtlPar:LD,gtquest:MD,gtrapprox:wD,gtrarr:kD,gtrdot:PD,gtreqless:UD,gtreqqless:FD,gtrless:BD,gtrsim:GD,gvertneqq:YD,gvnE:qD,Hacek:VD,hairsp:HD,half:zD,hamilt:WD,HARDcy:KD,hardcy:QD,harrcir:$D,harr:ZD,hArr:XD,harrw:JD,Hat:jD,hbar:ex,Hcirc:tx,hcirc:nx,hearts:rx,heartsuit:ax,hellip:ix,hercon:ox,hfr:sx,Hfr:lx,HilbertSpace:cx,hksearow:_x,hkswarow:dx,hoarr:ux,homtht:px,hookleftarrow:mx,hookrightarrow:gx,hopf:Ex,Hopf:Sx,horbar:fx,HorizontalLine:bx,hscr:Tx,Hscr:Cx,hslash:hx,Hstrok:Rx,hstrok:vx,HumpDownHump:Nx,HumpEqual:Ax,hybull:Ix,hyphen:Ox,Iacute:yx,iacute:Dx,ic:xx,Icirc:Lx,icirc:Mx,Icy:wx,icy:kx,Idot:Px,IEcy:Ux,iecy:Fx,iexcl:Bx,iff:Gx,ifr:Yx,Ifr:qx,Igrave:Vx,igrave:Hx,ii:zx,iiiint:Wx,iiint:Kx,iinfin:Qx,iiota:$x,IJlig:Zx,ijlig:Xx,Imacr:Jx,imacr:jx,image:eL,ImaginaryI:tL,imagline:nL,imagpart:rL,imath:aL,Im:iL,imof:oL,imped:sL,Implies:lL,incare:cL,in:"∈",infin:_L,infintie:dL,inodot:uL,intcal:pL,int:mL,Int:gL,integers:EL,Integral:SL,intercal:fL,Intersection:bL,intlarhk:TL,intprod:CL,InvisibleComma:hL,InvisibleTimes:RL,IOcy:vL,iocy:NL,Iogon:AL,iogon:IL,Iopf:OL,iopf:yL,Iota:DL,iota:xL,iprod:LL,iquest:ML,iscr:wL,Iscr:kL,isin:PL,isindot:UL,isinE:FL,isins:BL,isinsv:GL,isinv:YL,it:qL,Itilde:VL,itilde:HL,Iukcy:zL,iukcy:WL,Iuml:KL,iuml:QL,Jcirc:$L,jcirc:ZL,Jcy:XL,jcy:JL,Jfr:jL,jfr:eM,jmath:tM,Jopf:nM,jopf:rM,Jscr:aM,jscr:iM,Jsercy:oM,jsercy:sM,Jukcy:lM,jukcy:cM,Kappa:_M,kappa:dM,kappav:uM,Kcedil:pM,kcedil:mM,Kcy:gM,kcy:EM,Kfr:SM,kfr:fM,kgreen:bM,KHcy:TM,khcy:CM,KJcy:hM,kjcy:RM,Kopf:vM,kopf:NM,Kscr:AM,kscr:IM,lAarr:OM,Lacute:yM,lacute:DM,laemptyv:xM,lagran:LM,Lambda:MM,lambda:wM,lang:kM,Lang:PM,langd:UM,langle:FM,lap:BM,Laplacetrf:GM,laquo:YM,larrb:qM,larrbfs:VM,larr:HM,Larr:zM,lArr:WM,larrfs:KM,larrhk:QM,larrlp:$M,larrpl:ZM,larrsim:XM,larrtl:JM,latail:jM,lAtail:ew,lat:tw,late:nw,lates:rw,lbarr:aw,lBarr:iw,lbbrk:ow,lbrace:sw,lbrack:lw,lbrke:cw,lbrksld:_w,lbrkslu:dw,Lcaron:uw,lcaron:pw,Lcedil:mw,lcedil:gw,lceil:Ew,lcub:Sw,Lcy:fw,lcy:bw,ldca:Tw,ldquo:Cw,ldquor:hw,ldrdhar:Rw,ldrushar:vw,ldsh:Nw,le:Aw,lE:Iw,LeftAngleBracket:Ow,LeftArrowBar:yw,leftarrow:Dw,LeftArrow:xw,Leftarrow:Lw,LeftArrowRightArrow:Mw,leftarrowtail:ww,LeftCeiling:kw,LeftDoubleBracket:Pw,LeftDownTeeVector:Uw,LeftDownVectorBar:Fw,LeftDownVector:Bw,LeftFloor:Gw,leftharpoondown:Yw,leftharpoonup:qw,leftleftarrows:Vw,leftrightarrow:Hw,LeftRightArrow:zw,Leftrightarrow:Ww,leftrightarrows:Kw,leftrightharpoons:Qw,leftrightsquigarrow:$w,LeftRightVector:Zw,LeftTeeArrow:Xw,LeftTee:Jw,LeftTeeVector:jw,leftthreetimes:ek,LeftTriangleBar:tk,LeftTriangle:nk,LeftTriangleEqual:rk,LeftUpDownVector:ak,LeftUpTeeVector:ik,LeftUpVectorBar:ok,LeftUpVector:sk,LeftVectorBar:lk,LeftVector:ck,lEg:_k,leg:dk,leq:uk,leqq:pk,leqslant:mk,lescc:gk,les:Ek,lesdot:Sk,lesdoto:fk,lesdotor:bk,lesg:Tk,lesges:Ck,lessapprox:hk,lessdot:Rk,lesseqgtr:vk,lesseqqgtr:Nk,LessEqualGreater:Ak,LessFullEqual:Ik,LessGreater:Ok,lessgtr:yk,LessLess:Dk,lesssim:xk,LessSlantEqual:Lk,LessTilde:Mk,lfisht:wk,lfloor:kk,Lfr:Pk,lfr:Uk,lg:Fk,lgE:Bk,lHar:Gk,lhard:Yk,lharu:qk,lharul:Vk,lhblk:Hk,LJcy:zk,ljcy:Wk,llarr:Kk,ll:Qk,Ll:$k,llcorner:Zk,Lleftarrow:Xk,llhard:Jk,lltri:jk,Lmidot:eP,lmidot:tP,lmoustache:nP,lmoust:rP,lnap:aP,lnapprox:iP,lne:oP,lnE:sP,lneq:lP,lneqq:cP,lnsim:_P,loang:dP,loarr:uP,lobrk:pP,longleftarrow:mP,LongLeftArrow:gP,Longleftarrow:EP,longleftrightarrow:SP,LongLeftRightArrow:fP,Longleftrightarrow:bP,longmapsto:TP,longrightarrow:CP,LongRightArrow:hP,Longrightarrow:RP,looparrowleft:vP,looparrowright:NP,lopar:AP,Lopf:IP,lopf:OP,loplus:yP,lotimes:DP,lowast:xP,lowbar:LP,LowerLeftArrow:MP,LowerRightArrow:wP,loz:kP,lozenge:PP,lozf:UP,lpar:FP,lparlt:BP,lrarr:GP,lrcorner:YP,lrhar:qP,lrhard:VP,lrm:HP,lrtri:zP,lsaquo:WP,lscr:KP,Lscr:QP,lsh:$P,Lsh:ZP,lsim:XP,lsime:JP,lsimg:jP,lsqb:e0,lsquo:t0,lsquor:n0,Lstrok:r0,lstrok:a0,ltcc:i0,ltcir:o0,lt:s0,LT:l0,Lt:c0,ltdot:_0,lthree:d0,ltimes:u0,ltlarr:p0,ltquest:m0,ltri:g0,ltrie:E0,ltrif:S0,ltrPar:f0,lurdshar:b0,luruhar:T0,lvertneqq:C0,lvnE:h0,macr:R0,male:v0,malt:N0,maltese:A0,Map:"⤅",map:I0,mapsto:O0,mapstodown:y0,mapstoleft:D0,mapstoup:x0,marker:L0,mcomma:M0,Mcy:w0,mcy:k0,mdash:P0,mDDot:U0,measuredangle:F0,MediumSpace:B0,Mellintrf:G0,Mfr:Y0,mfr:q0,mho:V0,micro:H0,midast:z0,midcir:W0,mid:K0,middot:Q0,minusb:$0,minus:Z0,minusd:X0,minusdu:J0,MinusPlus:j0,mlcp:eU,mldr:tU,mnplus:nU,models:rU,Mopf:aU,mopf:iU,mp:oU,mscr:sU,Mscr:lU,mstpos:cU,Mu:_U,mu:dU,multimap:uU,mumap:pU,nabla:mU,Nacute:gU,nacute:EU,nang:SU,nap:fU,napE:bU,napid:TU,napos:CU,napprox:hU,natural:RU,naturals:vU,natur:NU,nbsp:AU,nbump:IU,nbumpe:OU,ncap:yU,Ncaron:DU,ncaron:xU,Ncedil:LU,ncedil:MU,ncong:wU,ncongdot:kU,ncup:PU,Ncy:UU,ncy:FU,ndash:BU,nearhk:GU,nearr:YU,neArr:qU,nearrow:VU,ne:HU,nedot:zU,NegativeMediumSpace:WU,NegativeThickSpace:KU,NegativeThinSpace:QU,NegativeVeryThinSpace:$U,nequiv:ZU,nesear:XU,nesim:JU,NestedGreaterGreater:jU,NestedLessLess:eF,NewLine:tF,nexist:nF,nexists:rF,Nfr:aF,nfr:iF,ngE:oF,nge:sF,ngeq:lF,ngeqq:cF,ngeqslant:_F,nges:dF,nGg:uF,ngsim:pF,nGt:mF,ngt:gF,ngtr:EF,nGtv:SF,nharr:fF,nhArr:bF,nhpar:TF,ni:CF,nis:hF,nisd:RF,niv:vF,NJcy:NF,njcy:AF,nlarr:IF,nlArr:OF,nldr:yF,nlE:DF,nle:xF,nleftarrow:LF,nLeftarrow:MF,nleftrightarrow:wF,nLeftrightarrow:kF,nleq:PF,nleqq:UF,nleqslant:FF,nles:BF,nless:GF,nLl:YF,nlsim:qF,nLt:VF,nlt:HF,nltri:zF,nltrie:WF,nLtv:KF,nmid:QF,NoBreak:$F,NonBreakingSpace:ZF,nopf:XF,Nopf:JF,Not:jF,not:eB,NotCongruent:tB,NotCupCap:nB,NotDoubleVerticalBar:rB,NotElement:aB,NotEqual:iB,NotEqualTilde:oB,NotExists:sB,NotGreater:lB,NotGreaterEqual:cB,NotGreaterFullEqual:_B,NotGreaterGreater:dB,NotGreaterLess:uB,NotGreaterSlantEqual:pB,NotGreaterTilde:mB,NotHumpDownHump:gB,NotHumpEqual:EB,notin:SB,notindot:fB,notinE:bB,notinva:TB,notinvb:CB,notinvc:hB,NotLeftTriangleBar:RB,NotLeftTriangle:vB,NotLeftTriangleEqual:NB,NotLess:AB,NotLessEqual:IB,NotLessGreater:OB,NotLessLess:yB,NotLessSlantEqual:DB,NotLessTilde:xB,NotNestedGreaterGreater:LB,NotNestedLessLess:MB,notni:wB,notniva:kB,notnivb:PB,notnivc:UB,NotPrecedes:FB,NotPrecedesEqual:BB,NotPrecedesSlantEqual:GB,NotReverseElement:YB,NotRightTriangleBar:qB,NotRightTriangle:VB,NotRightTriangleEqual:HB,NotSquareSubset:zB,NotSquareSubsetEqual:WB,NotSquareSuperset:KB,NotSquareSupersetEqual:QB,NotSubset:$B,NotSubsetEqual:ZB,NotSucceeds:XB,NotSucceedsEqual:JB,NotSucceedsSlantEqual:jB,NotSucceedsTilde:e1,NotSuperset:t1,NotSupersetEqual:n1,NotTilde:r1,NotTildeEqual:a1,NotTildeFullEqual:i1,NotTildeTilde:o1,NotVerticalBar:s1,nparallel:l1,npar:c1,nparsl:_1,npart:d1,npolint:u1,npr:p1,nprcue:m1,nprec:g1,npreceq:E1,npre:S1,nrarrc:f1,nrarr:b1,nrArr:T1,nrarrw:C1,nrightarrow:h1,nRightarrow:R1,nrtri:v1,nrtrie:N1,nsc:A1,nsccue:I1,nsce:O1,Nscr:y1,nscr:D1,nshortmid:x1,nshortparallel:L1,nsim:M1,nsime:w1,nsimeq:k1,nsmid:P1,nspar:U1,nsqsube:F1,nsqsupe:B1,nsub:G1,nsubE:Y1,nsube:q1,nsubset:V1,nsubseteq:H1,nsubseteqq:z1,nsucc:W1,nsucceq:K1,nsup:Q1,nsupE:$1,nsupe:Z1,nsupset:X1,nsupseteq:J1,nsupseteqq:j1,ntgl:eG,Ntilde:tG,ntilde:nG,ntlg:rG,ntriangleleft:aG,ntrianglelefteq:iG,ntriangleright:oG,ntrianglerighteq:sG,Nu:lG,nu:cG,num:_G,numero:dG,numsp:uG,nvap:pG,nvdash:mG,nvDash:gG,nVdash:EG,nVDash:SG,nvge:fG,nvgt:bG,nvHarr:TG,nvinfin:CG,nvlArr:hG,nvle:RG,nvlt:vG,nvltrie:NG,nvrArr:AG,nvrtrie:IG,nvsim:OG,nwarhk:yG,nwarr:DG,nwArr:xG,nwarrow:LG,nwnear:MG,Oacute:wG,oacute:kG,oast:PG,Ocirc:UG,ocirc:FG,ocir:BG,Ocy:GG,ocy:YG,odash:qG,Odblac:VG,odblac:HG,odiv:zG,odot:WG,odsold:KG,OElig:QG,oelig:$G,ofcir:ZG,Ofr:XG,ofr:JG,ogon:jG,Ograve:eY,ograve:tY,ogt:nY,ohbar:rY,ohm:aY,oint:iY,olarr:oY,olcir:sY,olcross:lY,oline:cY,olt:_Y,Omacr:dY,omacr:uY,Omega:pY,omega:mY,Omicron:gY,omicron:EY,omid:SY,ominus:fY,Oopf:bY,oopf:TY,opar:CY,OpenCurlyDoubleQuote:hY,OpenCurlyQuote:RY,operp:vY,oplus:NY,orarr:AY,Or:IY,or:OY,ord:yY,order:DY,orderof:xY,ordf:LY,ordm:MY,origof:wY,oror:kY,orslope:PY,orv:UY,oS:FY,Oscr:BY,oscr:GY,Oslash:YY,oslash:qY,osol:VY,Otilde:HY,otilde:zY,otimesas:WY,Otimes:KY,otimes:QY,Ouml:$Y,ouml:ZY,ovbar:XY,OverBar:JY,OverBrace:jY,OverBracket:eq,OverParenthesis:tq,para:nq,parallel:rq,par:aq,parsim:iq,parsl:oq,part:sq,PartialD:lq,Pcy:cq,pcy:_q,percnt:dq,period:uq,permil:pq,perp:mq,pertenk:gq,Pfr:Eq,pfr:Sq,Phi:fq,phi:bq,phiv:Tq,phmmat:Cq,phone:hq,Pi:Rq,pi:vq,pitchfork:Nq,piv:Aq,planck:Iq,planckh:Oq,plankv:yq,plusacir:Dq,plusb:xq,pluscir:Lq,plus:Mq,plusdo:wq,plusdu:kq,pluse:Pq,PlusMinus:Uq,plusmn:Fq,plussim:Bq,plustwo:Gq,pm:Yq,Poincareplane:qq,pointint:Vq,popf:Hq,Popf:zq,pound:Wq,prap:Kq,Pr:Qq,pr:$q,prcue:Zq,precapprox:Xq,prec:Jq,preccurlyeq:jq,Precedes:e2,PrecedesEqual:t2,PrecedesSlantEqual:n2,PrecedesTilde:r2,preceq:a2,precnapprox:i2,precneqq:o2,precnsim:s2,pre:l2,prE:c2,precsim:_2,prime:d2,Prime:u2,primes:p2,prnap:m2,prnE:g2,prnsim:E2,prod:S2,Product:f2,profalar:b2,profline:T2,profsurf:C2,prop:h2,Proportional:R2,Proportion:v2,propto:N2,prsim:A2,prurel:I2,Pscr:O2,pscr:y2,Psi:D2,psi:x2,puncsp:L2,Qfr:M2,qfr:w2,qint:k2,qopf:P2,Qopf:U2,qprime:F2,Qscr:B2,qscr:G2,quaternions:Y2,quatint:q2,quest:V2,questeq:H2,quot:z2,QUOT:W2,rAarr:K2,race:Q2,Racute:$2,racute:Z2,radic:X2,raemptyv:J2,rang:j2,Rang:eV,rangd:tV,range:nV,rangle:rV,raquo:aV,rarrap:iV,rarrb:oV,rarrbfs:sV,rarrc:lV,rarr:cV,Rarr:_V,rArr:dV,rarrfs:uV,rarrhk:pV,rarrlp:mV,rarrpl:gV,rarrsim:EV,Rarrtl:SV,rarrtl:fV,rarrw:bV,ratail:TV,rAtail:CV,ratio:hV,rationals:RV,rbarr:vV,rBarr:NV,RBarr:AV,rbbrk:IV,rbrace:OV,rbrack:yV,rbrke:DV,rbrksld:xV,rbrkslu:LV,Rcaron:MV,rcaron:wV,Rcedil:kV,rcedil:PV,rceil:UV,rcub:FV,Rcy:BV,rcy:GV,rdca:YV,rdldhar:qV,rdquo:VV,rdquor:HV,rdsh:zV,real:WV,realine:KV,realpart:QV,reals:$V,Re:ZV,rect:XV,reg:JV,REG:jV,ReverseElement:eH,ReverseEquilibrium:tH,ReverseUpEquilibrium:nH,rfisht:rH,rfloor:aH,rfr:iH,Rfr:oH,rHar:sH,rhard:lH,rharu:cH,rharul:_H,Rho:dH,rho:uH,rhov:pH,RightAngleBracket:mH,RightArrowBar:gH,rightarrow:EH,RightArrow:SH,Rightarrow:fH,RightArrowLeftArrow:bH,rightarrowtail:TH,RightCeiling:CH,RightDoubleBracket:hH,RightDownTeeVector:RH,RightDownVectorBar:vH,RightDownVector:NH,RightFloor:AH,rightharpoondown:IH,rightharpoonup:OH,rightleftarrows:yH,rightleftharpoons:DH,rightrightarrows:xH,rightsquigarrow:LH,RightTeeArrow:MH,RightTee:wH,RightTeeVector:kH,rightthreetimes:PH,RightTriangleBar:UH,RightTriangle:FH,RightTriangleEqual:BH,RightUpDownVector:GH,RightUpTeeVector:YH,RightUpVectorBar:qH,RightUpVector:VH,RightVectorBar:HH,RightVector:zH,ring:WH,risingdotseq:KH,rlarr:QH,rlhar:$H,rlm:ZH,rmoustache:XH,rmoust:JH,rnmid:jH,roang:ez,roarr:tz,robrk:nz,ropar:rz,ropf:az,Ropf:iz,roplus:oz,rotimes:sz,RoundImplies:lz,rpar:cz,rpargt:_z,rppolint:dz,rrarr:uz,Rrightarrow:pz,rsaquo:mz,rscr:gz,Rscr:Ez,rsh:Sz,Rsh:fz,rsqb:bz,rsquo:Tz,rsquor:Cz,rthree:hz,rtimes:Rz,rtri:vz,rtrie:Nz,rtrif:Az,rtriltri:Iz,RuleDelayed:Oz,ruluhar:yz,rx:Dz,Sacute:xz,sacute:Lz,sbquo:Mz,scap:wz,Scaron:kz,scaron:Pz,Sc:Uz,sc:Fz,sccue:Bz,sce:Gz,scE:Yz,Scedil:qz,scedil:Vz,Scirc:Hz,scirc:zz,scnap:Wz,scnE:Kz,scnsim:Qz,scpolint:$z,scsim:Zz,Scy:Xz,scy:Jz,sdotb:jz,sdot:eW,sdote:tW,searhk:nW,searr:rW,seArr:aW,searrow:iW,sect:oW,semi:sW,seswar:lW,setminus:cW,setmn:_W,sext:dW,Sfr:uW,sfr:pW,sfrown:mW,sharp:gW,SHCHcy:EW,shchcy:SW,SHcy:fW,shcy:bW,ShortDownArrow:TW,ShortLeftArrow:CW,shortmid:hW,shortparallel:RW,ShortRightArrow:vW,ShortUpArrow:NW,shy:AW,Sigma:IW,sigma:OW,sigmaf:yW,sigmav:DW,sim:xW,simdot:LW,sime:MW,simeq:wW,simg:kW,simgE:PW,siml:UW,simlE:FW,simne:BW,simplus:GW,simrarr:YW,slarr:qW,SmallCircle:VW,smallsetminus:HW,smashp:zW,smeparsl:WW,smid:KW,smile:QW,smt:$W,smte:ZW,smtes:XW,SOFTcy:JW,softcy:jW,solbar:e3,solb:t3,sol:n3,Sopf:r3,sopf:a3,spades:i3,spadesuit:o3,spar:s3,sqcap:l3,sqcaps:c3,sqcup:_3,sqcups:d3,Sqrt:u3,sqsub:p3,sqsube:m3,sqsubset:g3,sqsubseteq:E3,sqsup:S3,sqsupe:f3,sqsupset:b3,sqsupseteq:T3,square:C3,Square:h3,SquareIntersection:R3,SquareSubset:v3,SquareSubsetEqual:N3,SquareSuperset:A3,SquareSupersetEqual:I3,SquareUnion:O3,squarf:y3,squ:D3,squf:x3,srarr:L3,Sscr:M3,sscr:w3,ssetmn:k3,ssmile:P3,sstarf:U3,Star:F3,star:B3,starf:G3,straightepsilon:Y3,straightphi:q3,strns:V3,sub:H3,Sub:z3,subdot:W3,subE:K3,sube:Q3,subedot:$3,submult:Z3,subnE:X3,subne:J3,subplus:j3,subrarr:eK,subset:tK,Subset:nK,subseteq:rK,subseteqq:aK,SubsetEqual:iK,subsetneq:oK,subsetneqq:sK,subsim:lK,subsub:cK,subsup:_K,succapprox:dK,succ:uK,succcurlyeq:pK,Succeeds:mK,SucceedsEqual:gK,SucceedsSlantEqual:EK,SucceedsTilde:SK,succeq:fK,succnapprox:bK,succneqq:TK,succnsim:CK,succsim:hK,SuchThat:RK,sum:vK,Sum:NK,sung:AK,sup1:IK,sup2:OK,sup3:yK,sup:DK,Sup:xK,supdot:LK,supdsub:MK,supE:wK,supe:kK,supedot:PK,Superset:UK,SupersetEqual:FK,suphsol:BK,suphsub:GK,suplarr:YK,supmult:qK,supnE:VK,supne:HK,supplus:zK,supset:WK,Supset:KK,supseteq:QK,supseteqq:$K,supsetneq:ZK,supsetneqq:XK,supsim:JK,supsub:jK,supsup:eQ,swarhk:tQ,swarr:nQ,swArr:rQ,swarrow:aQ,swnwar:iQ,szlig:oQ,Tab:sQ,target:lQ,Tau:cQ,tau:_Q,tbrk:dQ,Tcaron:uQ,tcaron:pQ,Tcedil:mQ,tcedil:gQ,Tcy:EQ,tcy:SQ,tdot:fQ,telrec:bQ,Tfr:TQ,tfr:CQ,there4:hQ,therefore:RQ,Therefore:vQ,Theta:NQ,theta:AQ,thetasym:IQ,thetav:OQ,thickapprox:yQ,thicksim:DQ,ThickSpace:xQ,ThinSpace:LQ,thinsp:MQ,thkap:wQ,thksim:kQ,THORN:PQ,thorn:UQ,tilde:FQ,Tilde:BQ,TildeEqual:GQ,TildeFullEqual:YQ,TildeTilde:qQ,timesbar:VQ,timesb:HQ,times:zQ,timesd:WQ,tint:KQ,toea:QQ,topbot:$Q,topcir:ZQ,top:XQ,Topf:JQ,topf:jQ,topfork:e4,tosa:t4,tprime:n4,trade:r4,TRADE:a4,triangle:i4,triangledown:o4,triangleleft:s4,trianglelefteq:l4,triangleq:c4,triangleright:_4,trianglerighteq:d4,tridot:u4,trie:p4,triminus:m4,TripleDot:g4,triplus:E4,trisb:S4,tritime:f4,trpezium:b4,Tscr:T4,tscr:C4,TScy:h4,tscy:R4,TSHcy:v4,tshcy:N4,Tstrok:A4,tstrok:I4,twixt:O4,twoheadleftarrow:y4,twoheadrightarrow:D4,Uacute:x4,uacute:L4,uarr:M4,Uarr:w4,uArr:k4,Uarrocir:P4,Ubrcy:U4,ubrcy:F4,Ubreve:B4,ubreve:G4,Ucirc:Y4,ucirc:q4,Ucy:V4,ucy:H4,udarr:z4,Udblac:W4,udblac:K4,udhar:Q4,ufisht:$4,Ufr:Z4,ufr:X4,Ugrave:J4,ugrave:j4,uHar:e$,uharl:t$,uharr:n$,uhblk:r$,ulcorn:a$,ulcorner:i$,ulcrop:o$,ultri:s$,Umacr:l$,umacr:c$,uml:_$,UnderBar:d$,UnderBrace:u$,UnderBracket:p$,UnderParenthesis:m$,Union:g$,UnionPlus:E$,Uogon:S$,uogon:f$,Uopf:b$,uopf:T$,UpArrowBar:C$,uparrow:h$,UpArrow:R$,Uparrow:v$,UpArrowDownArrow:N$,updownarrow:A$,UpDownArrow:I$,Updownarrow:O$,UpEquilibrium:y$,upharpoonleft:D$,upharpoonright:x$,uplus:L$,UpperLeftArrow:M$,UpperRightArrow:w$,upsi:k$,Upsi:P$,upsih:U$,Upsilon:F$,upsilon:B$,UpTeeArrow:G$,UpTee:Y$,upuparrows:q$,urcorn:V$,urcorner:H$,urcrop:z$,Uring:W$,uring:K$,urtri:Q$,Uscr:$$,uscr:Z$,utdot:X$,Utilde:J$,utilde:j$,utri:e9,utrif:t9,uuarr:n9,Uuml:r9,uuml:a9,uwangle:i9,vangrt:o9,varepsilon:s9,varkappa:l9,varnothing:c9,varphi:_9,varpi:d9,varpropto:u9,varr:p9,vArr:m9,varrho:g9,varsigma:E9,varsubsetneq:S9,varsubsetneqq:f9,varsupsetneq:b9,varsupsetneqq:T9,vartheta:C9,vartriangleleft:h9,vartriangleright:R9,vBar:v9,Vbar:N9,vBarv:A9,Vcy:I9,vcy:O9,vdash:y9,vDash:D9,Vdash:x9,VDash:L9,Vdashl:M9,veebar:w9,vee:k9,Vee:P9,veeeq:U9,vellip:F9,verbar:B9,Verbar:G9,vert:Y9,Vert:q9,VerticalBar:V9,VerticalLine:H9,VerticalSeparator:z9,VerticalTilde:W9,VeryThinSpace:K9,Vfr:Q9,vfr:$9,vltri:Z9,vnsub:X9,vnsup:J9,Vopf:j9,vopf:e5,vprop:t5,vrtri:n5,Vscr:r5,vscr:a5,vsubnE:i5,vsubne:o5,vsupnE:s5,vsupne:l5,Vvdash:c5,vzigzag:_5,Wcirc:d5,wcirc:u5,wedbar:p5,wedge:m5,Wedge:g5,wedgeq:E5,weierp:S5,Wfr:f5,wfr:b5,Wopf:T5,wopf:C5,wp:h5,wr:R5,wreath:v5,Wscr:N5,wscr:A5,xcap:I5,xcirc:O5,xcup:y5,xdtri:D5,Xfr:x5,xfr:L5,xharr:M5,xhArr:w5,Xi:k5,xi:P5,xlarr:U5,xlArr:F5,xmap:B5,xnis:G5,xodot:Y5,Xopf:q5,xopf:V5,xoplus:H5,xotime:z5,xrarr:W5,xrArr:K5,Xscr:Q5,xscr:$5,xsqcup:Z5,xuplus:X5,xutri:J5,xvee:j5,xwedge:e8,Yacute:t8,yacute:n8,YAcy:r8,yacy:a8,Ycirc:i8,ycirc:o8,Ycy:s8,ycy:l8,yen:c8,Yfr:_8,yfr:d8,YIcy:u8,yicy:p8,Yopf:m8,yopf:g8,Yscr:E8,yscr:S8,YUcy:f8,yucy:b8,yuml:T8,Yuml:C8,Zacute:h8,zacute:R8,Zcaron:v8,zcaron:N8,Zcy:A8,zcy:I8,Zdot:O8,zdot:y8,zeetrf:D8,ZeroWidthSpace:x8,Zeta:L8,zeta:M8,zfr:w8,Zfr:k8,ZHcy:P8,zhcy:U8,zigrarr:F8,zopf:B8,Zopf:G8,Zscr:Y8,zscr:q8,zwj:V8,zwnj:H8};var zd=z8,Po=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,xt={},B_={};function W8(t){var e,n,r=B_[t];if(r)return r;for(r=B_[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),o=W8(e),r=0,i=t.length;r=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1=56320&&s<=57343)){l+=encodeURIComponent(t[r]+t[r+1]),r++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[r])}return l}Nn.defaultChars=";/?:@&=+$,-_.!~*'()#";Nn.componentChars="-_.!~*'()";var K8=Nn,G_={};function Q8(t){var e,n,r=G_[t];if(r)return r;for(r=G_[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e=55296&&_<=57343?d+="���":d+=String.fromCharCode(_),i+=6;continue}if((s&248)===240&&i+91114111?d+="����":(_-=65536,d+=String.fromCharCode(55296+(_>>10),56320+(_&1023))),i+=9;continue}d+="�"}return d})}An.defaultChars=";/?:@&=+$,#";An.componentChars="";var $8=An,Z8=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function Tn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var X8=/^([a-z0-9.+-]+:)/i,J8=/:[0-9]*$/,j8=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,e6=["<",">",'"',"`"," ","\r",` +`," "],t6=["{","}","|","\\","^","`"].concat(e6),n6=["'"].concat(t6),Y_=["%","/","?",";","#"].concat(n6),q_=["/","?","#"],r6=255,V_=/^[+a-z0-9A-Z_-]{0,63}$/,a6=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,H_={javascript:!0,"javascript:":!0},z_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function i6(t,e){if(t&&t instanceof Tn)return t;var n=new Tn;return n.parse(t,e),n}Tn.prototype.parse=function(t,e){var n,r,i,a,s,o=t;if(o=o.trim(),!e&&t.split("#").length===1){var l=j8.exec(o);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=X8.exec(o);if(c&&(c=c[0],i=c.toLowerCase(),this.protocol=c,o=o.substr(c.length)),(e||c||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s=o.substr(0,2)==="//",s&&!(c&&H_[c])&&(o=o.substr(2),this.slashes=!0)),!H_[c]&&(s||c&&!z_[c])){var _=-1;for(n=0;n127?S+="x":S+=f[T];if(!S.match(V_)){var I=g.slice(0,n),N=g.slice(n+1),m=f.match(a6);m&&(I.push(m[1]),N.unshift(m[2])),N.length&&(o=N.join(".")+o),this.hostname=I.join(".");break}}}}this.hostname.length>r6&&(this.hostname=""),E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var C=o.indexOf("#");C!==-1&&(this.hash=o.substr(C),o=o.slice(0,C));var A=o.indexOf("?");return A!==-1&&(this.search=o.substr(A),o=o.slice(0,A)),o&&(this.pathname=o),z_[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Tn.prototype.parseHost=function(t){var e=J8.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var o6=i6;xt.encode=K8;xt.decode=$8;xt.format=Z8;xt.parse=o6;var Et={},mo,W_;function Wd(){return W_||(W_=1,mo=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),mo}var go,K_;function Kd(){return K_||(K_=1,go=/[\0-\x1F\x7F-\x9F]/),go}var Eo,Q_;function s6(){return Q_||(Q_=1,Eo=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Eo}var So,$_;function Qd(){return $_||($_=1,So=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),So}var Z_;function l6(){return Z_||(Z_=1,Et.Any=Wd(),Et.Cc=Kd(),Et.Cf=s6(),Et.P=Po,Et.Z=Qd()),Et}(function(t){function e(D){return Object.prototype.toString.call(D)}function n(D){return e(D)==="[object String]"}var r=Object.prototype.hasOwnProperty;function i(D,V){return r.call(D,V)}function a(D){var V=Array.prototype.slice.call(arguments,1);return V.forEach(function(k){if(k){if(typeof k!="object")throw new TypeError(k+"must be object");Object.keys(k).forEach(function(R){D[R]=k[R]})}}),D}function s(D,V,k){return[].concat(D.slice(0,V),k,D.slice(V+1))}function o(D){return!(D>=55296&&D<=57343||D>=64976&&D<=65007||(D&65535)===65535||(D&65535)===65534||D>=0&&D<=8||D===11||D>=14&&D<=31||D>=127&&D<=159||D>1114111)}function l(D){if(D>65535){D-=65536;var V=55296+(D>>10),k=56320+(D&1023);return String.fromCharCode(V,k)}return String.fromCharCode(D)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,_=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+_.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,p=zd;function E(D,V){var k;return i(p,V)?p[V]:V.charCodeAt(0)===35&&u.test(V)&&(k=V[1].toLowerCase()==="x"?parseInt(V.slice(2),16):parseInt(V.slice(1),10),o(k))?l(k):D}function g(D){return D.indexOf("\\")<0?D:D.replace(c,"$1")}function f(D){return D.indexOf("\\")<0&&D.indexOf("&")<0?D:D.replace(d,function(V,k,R){return k||E(V,R)})}var S=/[&<>"]/,T=/[&<>"]/g,v={"&":"&","<":"<",">":">",'"':"""};function I(D){return v[D]}function N(D){return S.test(D)?D.replace(T,I):D}var m=/[.?*+^$[\]\\(){}|-]/g;function C(D){return D.replace(m,"\\$&")}function A(D){switch(D){case 9:case 32:return!0}return!1}function L(D){if(D>=8192&&D<=8202)return!0;switch(D){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var Y=Po;function P(D){return Y.test(D)}function J(D){switch(D){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ce(D){return D=D.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(D=D.replace(/ẞ/g,"ß")),D.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=xt,t.lib.ucmicro=l6(),t.assign=a,t.isString=n,t.has=i,t.unescapeMd=g,t.unescapeAll=f,t.isValidEntityCode=o,t.fromCodePoint=l,t.escapeHtml=N,t.arrayReplaceAt=s,t.isSpace=A,t.isWhiteSpace=L,t.isMdAsciiPunct=J,t.isPunctChar=P,t.escapeRE=C,t.normalizeReference=ce})(Ce);var In={},c6=function(e,n,r){var i,a,s,o,l=-1,c=e.posMax,_=e.pos;for(e.pos=n+1,i=1;e.pos32))return o;if(i===41){if(a===0)break;a--}s++}return n===s||a!==0||(o.str=X_(e.slice(n,s)),o.pos=s,o.ok=!0),o},d6=Ce.unescapeAll,u6=function(e,n,r){var i,a,s=0,o=n,l={ok:!1,pos:0,lines:0,str:""};if(o>=r||(a=e.charCodeAt(o),a!==34&&a!==39&&a!==40))return l;for(o++,a===40&&(a=41);o"+ht(a.content)+""};ot.code_block=function(t,e,n,r,i){var a=t[e];return""+ht(t[e].content)+` +`};ot.fence=function(t,e,n,r,i){var a=t[e],s=a.info?m6(a.info).trim():"",o="",l="",c,_,d,u,p;return s&&(d=s.split(/(\s+)/g),o=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(a.content,o,l)||ht(a.content):c=ht(a.content),c.indexOf(""+c+` +`):"
    "+c+`
    +`};ot.image=function(t,e,n,r,i){var a=t[e];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(t,e,n)};ot.hardbreak=function(t,e,n){return n.xhtmlOut?`
    +`:`
    +`};ot.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
    +`:`
    +`:` +`};ot.text=function(t,e){return ht(t[e].content)};ot.html_block=function(t,e){return t[e].content};ot.html_inline=function(t,e){return t[e].content};function Lt(){this.rules=p6({},ot)}Lt.prototype.renderAttrs=function(e){var n,r,i;if(!e.attrs)return"";for(i="",n=0,r=e.attrs.length;n +`:">",a)};Lt.prototype.renderInline=function(t,e,n){for(var r,i="",a=this.rules,s=0,o=t.length;s\s]/i.test(t)}function R6(t){return/^<\/a\s*>/i.test(t)}var v6=function(e){var n,r,i,a,s,o,l,c,_,d,u,p,E,g,f,S,T=e.tokens,v;if(e.md.options.linkify){for(r=0,i=T.length;r=0;n--){if(o=a[n],o.type==="link_close"){for(n--;a[n].level!==o.level&&a[n].type!=="link_open";)n--;continue}if(o.type==="html_inline"&&(h6(o.content)&&E>0&&E--,R6(o.content)&&E++),!(E>0)&&o.type==="text"&&e.md.linkify.test(o.content)){for(_=o.content,v=e.md.linkify.match(_),l=[],p=o.level,u=0,v.length>0&&v[0].index===0&&n>0&&a[n-1].type==="text_special"&&(v=v.slice(1)),c=0;cu&&(s=new e.Token("text","",0),s.content=_.slice(u,d),s.level=p,l.push(s)),s=new e.Token("link_open","a",1),s.attrs=[["href",f]],s.level=p++,s.markup="linkify",s.info="auto",l.push(s),s=new e.Token("text","",0),s.content=S,s.level=p,l.push(s),s=new e.Token("link_close","a",-1),s.level=--p,s.markup="linkify",s.info="auto",l.push(s),u=v[c].lastIndex);u<_.length&&(s=new e.Token("text","",0),s.content=_.slice(u),s.level=p,l.push(s)),T[r].children=a=C6(a,n,l)}}}},$d=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,N6=/\((c|tm|r)\)/i,A6=/\((c|tm|r)\)/ig,I6={c:"©",r:"®",tm:"™"};function O6(t,e){return I6[e.toLowerCase()]}function y6(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&(n.content=n.content.replace(A6,O6)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function D6(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&$d.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var x6=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(N6.test(e.tokens[n].content)&&y6(e.tokens[n].children),$d.test(e.tokens[n].content)&&D6(e.tokens[n].children))},J_=Ce.isWhiteSpace,j_=Ce.isPunctChar,ed=Ce.isMdAsciiPunct,L6=/['"]/,td=/['"]/g,nd="’";function En(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function M6(t,e){var n,r,i,a,s,o,l,c,_,d,u,p,E,g,f,S,T,v,I,N,m;for(I=[],n=0;n=0&&!(I[T].level<=l);T--);if(I.length=T+1,r.type==="text"){i=r.content,s=0,o=i.length;e:for(;s=0)_=i.charCodeAt(a.index-1);else for(T=n-1;T>=0&&!(t[T].type==="softbreak"||t[T].type==="hardbreak");T--)if(t[T].content){_=t[T].content.charCodeAt(t[T].content.length-1);break}if(d=32,s=48&&_<=57&&(S=f=!1),f&&S&&(f=u,S=p),!f&&!S){v&&(r.content=En(r.content,a.index,nd));continue}if(S){for(T=I.length-1;T>=0&&(c=I[T],!(I[T].level=0;n--)e.tokens[n].type!=="inline"||!L6.test(e.tokens[n].content)||M6(e.tokens[n].children,e)},k6=function(e){var n,r,i,a,s,o,l=e.tokens;for(n=0,r=l.length;n=0&&(r=this.attrs[n][1]),r};Mt.prototype.attrJoin=function(e,n){var r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var Fo=Mt,P6=Fo;function Zd(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Zd.prototype.Token=P6;var U6=Zd,F6=Uo,fo=[["normalize",f6],["block",b6],["inline",T6],["linkify",v6],["replacements",x6],["smartquotes",w6],["text_join",k6]];function Bo(){this.ruler=new F6;for(var t=0;tr||(_=n+1,e.sCount[_]=4||(o=e.bMarks[_]+e.tShift[_],o>=e.eMarks[_])||(N=e.src.charCodeAt(o++),N!==124&&N!==45&&N!==58)||o>=e.eMarks[_]||(m=e.src.charCodeAt(o++),m!==124&&m!==45&&m!==58&&!bo(m))||N===45&&bo(m))return!1;for(;o=4||(d=rd(s),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u=d.length,u===0||u!==E.length))return!1;if(i)return!0;for(T=e.parentType,e.parentType="table",I=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=f=[n,0],p=e.push("thead_open","thead",1),p.map=[n,n+1],p=e.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(d=rd(s),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),_===n+2&&(p=e.push("tbody_open","tbody",1),p.map=S=[n+2,0]),p=e.push("tr_open","tr",1),p.map=[_,_+1],l=0;l=4){i++,a=i;continue}break}return e.line=a,s=e.push("code_block","code",0),s.content=e.getLines(n,a,4+e.blkIndent,!1)+` +`,s.map=[n,e.line],!0},q6=function(e,n,r,i){var a,s,o,l,c,_,d,u=!1,p=e.bMarks[n]+e.tShift[n],E=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>E||(a=e.src.charCodeAt(p),a!==126&&a!==96)||(c=p,p=e.skipChars(p,a),s=p-c,s<3)||(d=e.src.slice(c,p),o=e.src.slice(p,E),a===96&&o.indexOf(String.fromCharCode(a))>=0))return!1;if(i)return!0;for(l=n;l++,!(l>=r||(p=c=e.bMarks[l]+e.tShift[l],E=e.eMarks[l],p=4)&&(p=e.skipChars(p,a),!(p-c=4||e.src.charCodeAt(Y)!==62)return!1;if(i)return!0;for(E=[],g=[],T=[],v=[],m=e.md.block.ruler.getRules("blockquote"),S=e.parentType,e.parentType="blockquote",u=n;u=P));u++){if(e.src.charCodeAt(Y++)===62&&!A){for(l=e.sCount[u]+1,e.src.charCodeAt(Y)===32?(Y++,l++,a=!1,I=!0):e.src.charCodeAt(Y)===9?(I=!0,(e.bsCount[u]+l)%4===3?(Y++,l++,a=!1):a=!0):I=!1,p=l,E.push(e.bMarks[u]),e.bMarks[u]=Y;Y=P,g.push(e.bsCount[u]),e.bsCount[u]=e.sCount[u]+1+(I?1:0),T.push(e.sCount[u]),e.sCount[u]=p-l,v.push(e.tShift[u]),e.tShift[u]=Y-e.bMarks[u];continue}if(_)break;for(N=!1,o=0,c=m.length;o",C.map=d=[n,0],e.md.block.tokenize(e,n,u),C=e.push("blockquote_close","blockquote",-1),C.markup=">",e.lineMax=L,e.parentType=S,d[1]=e.line,o=0;o=4||(a=e.src.charCodeAt(c++),a!==42&&a!==45&&a!==95))return!1;for(s=1;c<_;){if(o=e.src.charCodeAt(c++),o!==a&&!z6(o))return!1;o===a&&s++}return s<3?!1:(i||(e.line=n+1,l=e.push("hr","hr",0),l.map=[n,e.line],l.markup=Array(s+1).join(String.fromCharCode(a))),!0)},Xd=Ce.isSpace;function ad(t,e){var n,r,i,a;return r=t.bMarks[e]+t.tShift[e],i=t.eMarks[e],n=t.src.charCodeAt(r++),n!==42&&n!==45&&n!==43||r=a||(n=t.src.charCodeAt(i++),n<48||n>57))return-1;for(;;){if(i>=a)return-1;if(n=t.src.charCodeAt(i++),n>=48&&n<=57){if(i-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[k]-e.listIndent>=4&&e.sCount[k]=e.blkIndent&&(R=!0),(Y=id(e,k))>=0){if(d=!0,J=e.bMarks[k]+e.tShift[k],S=Number(e.src.slice(J,Y-1)),R&&S!==1)return!1}else if((Y=ad(e,k))>=0)d=!1;else return!1;if(R&&e.skipSpaces(Y)>=e.eMarks[k])return!1;if(i)return!0;for(f=e.src.charCodeAt(Y-1),g=e.tokens.length,d?(V=e.push("ordered_list_open","ol",1),S!==1&&(V.attrs=[["start",S]])):V=e.push("bullet_list_open","ul",1),V.map=E=[k,0],V.markup=String.fromCharCode(f),P=!1,D=e.md.block.ruler.getRules("list"),N=e.parentType,e.parentType="list";k=T?c=1:c=v-_,c>4&&(c=1),l=_+c,V=e.push("list_item_open","li",1),V.markup=String.fromCharCode(f),V.map=u=[k,0],d&&(V.info=e.src.slice(J,Y-1)),A=e.tight,C=e.tShift[k],m=e.sCount[k],I=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[k]=s-e.bMarks[k],e.sCount[k]=v,s>=T&&e.isEmpty(k+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,k,r,!0),(!e.tight||P)&&(x=!1),P=e.line-k>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=I,e.tShift[k]=C,e.sCount[k]=m,e.tight=A,V=e.push("list_item_close","li",-1),V.markup=String.fromCharCode(f),k=e.line,u[1]=k,k>=r||e.sCount[k]=4)break;for(ce=!1,o=0,p=D.length;o=4||e.src.charCodeAt(m)!==91)return!1;for(;++m3)&&!(e.sCount[A]<0)){for(T=!1,_=0,d=v.length;_"u"&&(e.env.references={}),typeof e.env.references[u]>"u"&&(e.env.references[u]={title:I,href:c}),e.parentType=E,e.line=n+N+1),!0)},X6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],On={},J6="[a-zA-Z_:][a-zA-Z0-9:._-]*",j6="[^\"'=<>`\\x00-\\x20]+",eZ="'[^']*'",tZ='"[^"]*"',nZ="(?:"+j6+"|"+eZ+"|"+tZ+")",rZ="(?:\\s+"+J6+"(?:\\s*=\\s*"+nZ+")?)",Jd="<[A-Za-z][A-Za-z0-9\\-]*"+rZ+"*\\s*\\/?>",jd="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",aZ="|",iZ="<[?][\\s\\S]*?[?]>",oZ="]*>",sZ="",lZ=new RegExp("^(?:"+Jd+"|"+jd+"|"+aZ+"|"+iZ+"|"+oZ+"|"+sZ+")"),cZ=new RegExp("^(?:"+Jd+"|"+jd+")");On.HTML_TAG_RE=lZ;On.HTML_OPEN_CLOSE_TAG_RE=cZ;var _Z=X6,dZ=On.HTML_OPEN_CLOSE_TAG_RE,At=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(dZ.source+"\\s*$"),/^$/,!1]],uZ=function(e,n,r,i){var a,s,o,l,c=e.bMarks[n]+e.tShift[n],_=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,_),a=0;a=4||(a=e.src.charCodeAt(c),a!==35||c>=_))return!1;for(s=1,a=e.src.charCodeAt(++c);a===35&&c<_&&s<=6;)s++,a=e.src.charCodeAt(++c);return s>6||c<_&&!od(a)?!1:(i||(_=e.skipSpacesBack(_,c),o=e.skipCharsBack(_,35,c),o>c&&od(e.src.charCodeAt(o-1))&&(_=o),e.line=n+1,l=e.push("heading_open","h"+String(s),1),l.markup="########".slice(0,s),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,_).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(s),-1),l.markup="########".slice(0,s)),!0)},mZ=function(e,n,r){var i,a,s,o,l,c,_,d,u,p=n+1,E,g=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(E=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(c=e.bMarks[p]+e.tShift[p],_=e.eMarks[p],c<_&&(u=e.src.charCodeAt(c),(u===45||u===61)&&(c=e.skipChars(c,u),c=e.skipSpaces(c),c>=_)))){d=u===61?1:2;break}if(!(e.sCount[p]<0)){for(a=!1,s=0,o=g.length;s3)&&!(e.sCount[_]<0)){for(a=!1,s=0,o=d.length;s0&&this.level++,this.tokens.push(r),r};st.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};st.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!yn(this.src.charCodeAt(--e)))return e+1;return e};st.prototype.skipChars=function(e,n){for(var r=this.src.length;er;)if(n!==this.src.charCodeAt(--e))return e+1;return e};st.prototype.getLines=function(e,n,r,i){var a,s,o,l,c,_,d,u=e;if(e>=n)return"";for(_=new Array(n-e),a=0;ur?_[a]=new Array(s-r+1).join(" ")+this.src.slice(l,c):_[a]=this.src.slice(l,c)}return _.join("")};st.prototype.Token=eu;var EZ=st,SZ=Uo,fn=[["table",G6,["paragraph","reference"]],["code",Y6],["fence",q6,["paragraph","reference","blockquote","list"]],["blockquote",H6,["paragraph","reference","blockquote","list"]],["hr",W6,["paragraph","reference","blockquote","list"]],["list",Q6,["paragraph","reference","blockquote"]],["reference",Z6],["html_block",uZ,["paragraph","reference","blockquote"]],["heading",pZ,["paragraph","reference","blockquote"]],["lheading",mZ],["paragraph",gZ]];function Dn(){this.ruler=new SZ;for(var t=0;t=n||t.sCount[l]=_){t.line=n;break}for(a=t.line,i=0;i=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),l=t.line,l0||(r=e.pos,i=e.posMax,r+3>i)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(a=e.pending.match(CZ),!a)||(s=a[1],o=e.md.linkify.matchAtStart(e.src.slice(r-s.length)),!o)||(l=o.url,l.length<=s.length)||(l=l.replace(/\*+$/,""),c=e.md.normalizeLink(l),!e.md.validateLink(c))?!1:(n||(e.pending=e.pending.slice(0,-s.length),_=e.push("link_open","a",1),_.attrs=[["href",c]],_.markup="linkify",_.info="auto",_=e.push("text","",0),_.content=e.md.normalizeLinkText(l),_=e.push("link_close","a",-1),_.markup="linkify",_.info="auto"),e.pos+=l.length-s.length,!0)},RZ=Ce.isSpace,vZ=function(e,n){var r,i,a,s=e.pos;if(e.src.charCodeAt(s)!==10)return!1;if(r=e.pending.length-1,i=e.posMax,!n)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(s++;s?@[]^_`{|}~-".split("").forEach(function(t){Go[t.charCodeAt(0)]=1});var AZ=function(e,n){var r,i,a,s,o,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(r=e.src.charCodeAt(l),r===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&r<=56319&&l+1=56320&&i<=57343&&(s+=e.src[l+1],l++)),a="\\"+s,n||(o=e.push("text_special","",0),r<256&&Go[r]!==0?o.content=s:o.content=a,o.markup=a,o.info="escape"),e.pos=l+1,!0},IZ=function(e,n){var r,i,a,s,o,l,c,_,d=e.pos,u=e.src.charCodeAt(d);if(u!==96)return!1;for(r=d,d++,i=e.posMax;d=0;n--)r=e[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(i=e[r.end],o=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===i.token+1,s=String.fromCharCode(r.marker),a=t.tokens[r.token],a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="",a=t.tokens[i.token],a.type=o?"strong_close":"em_close",a.tag=o?"strong":"em",a.nesting=-1,a.markup=o?s+s:s,a.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}Ln.postProcess=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(cd(e,e.delimiters),n=0;n=g)return!1;if(f=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(u=e.md.normalizeLink(c.str),e.md.validateLink(u)?l=c.pos:u="",f=l;l=g||e.src.charCodeAt(l)!==41)&&(S=!0),l++}if(S){if(typeof e.env.references>"u")return!1;if(l=0?a=e.src.slice(f,l++):l=s+1):l=s+1,a||(a=e.src.slice(o,s)),_=e.env.references[OZ(a)],!_)return e.pos=E,!1;u=_.href,p=_.title}return n||(e.pos=o,e.posMax=s,d=e.push("link_open","a",1),d.attrs=r=[["href",u]],p&&r.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,d=e.push("link_close","a",-1)),e.pos=l,e.posMax=g,!0},DZ=Ce.normalizeReference,ho=Ce.isSpace,xZ=function(e,n){var r,i,a,s,o,l,c,_,d,u,p,E,g,f="",S=e.pos,T=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,o=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),o<0))return!1;if(c=o+1,c=T)return!1;for(g=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok&&(f=e.md.normalizeLink(d.str),e.md.validateLink(f)?c=d.pos:f=""),g=c;c=T||e.src.charCodeAt(c)!==41)return e.pos=S,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?s=e.src.slice(g,c++):c=o+1):c=o+1,s||(s=e.src.slice(l,o)),_=e.env.references[DZ(s)],!_)return e.pos=S,!1;f=_.href,u=_.title}return n||(a=e.src.slice(l,o),e.md.inline.parse(a,e.md,e.env,E=[]),p=e.push("image","img",0),p.attrs=r=[["src",f],["alt",""]],p.children=E,p.content=a,u&&r.push(["title",u])),e.pos=c,e.posMax=T,!0},LZ=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,MZ=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,wZ=function(e,n){var r,i,a,s,o,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(o=e.pos,l=e.posMax;;){if(++c>=l||(s=e.src.charCodeAt(c),s===60))return!1;if(s===62)break}return r=e.src.slice(o+1,c),MZ.test(r)?(i=e.md.normalizeLink(r),e.md.validateLink(i)?(n||(a=e.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):LZ.test(r)?(i=e.md.normalizeLink("mailto:"+r),e.md.validateLink(i)?(n||(a=e.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):!1},kZ=On.HTML_TAG_RE;function PZ(t){return/^\s]/i.test(t)}function UZ(t){return/^<\/a\s*>/i.test(t)}function FZ(t){var e=t|32;return e>=97&&e<=122}var BZ=function(e,n){var r,i,a,s,o=e.pos;return!e.md.options.html||(a=e.posMax,e.src.charCodeAt(o)!==60||o+2>=a)||(r=e.src.charCodeAt(o+1),r!==33&&r!==63&&r!==47&&!FZ(r))||(i=e.src.slice(o).match(kZ),!i)?!1:(n||(s=e.push("html_inline","",0),s.content=i[0],PZ(s.content)&&e.linkLevel++,UZ(s.content)&&e.linkLevel--),e.pos+=i[0].length,!0)},_d=zd,GZ=Ce.has,YZ=Ce.isValidEntityCode,dd=Ce.fromCodePoint,qZ=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,VZ=/^&([a-z][a-z0-9]{1,31});/i,HZ=function(e,n){var r,i,a,s,o=e.pos,l=e.posMax;if(e.src.charCodeAt(o)!==38||o+1>=l)return!1;if(r=e.src.charCodeAt(o+1),r===35){if(a=e.src.slice(o).match(qZ),a)return n||(i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),s=e.push("text_special","",0),s.content=YZ(i)?dd(i):dd(65533),s.markup=a[0],s.info="entity"),e.pos+=a[0].length,!0}else if(a=e.src.slice(o).match(VZ),a&&GZ(_d,a[1]))return n||(s=e.push("text_special","",0),s.content=_d[a[1]],s.markup=a[0],s.info="entity"),e.pos+=a[0].length,!0;return!1};function ud(t){var e,n,r,i,a,s,o,l,c={},_=t.length;if(_){var d=0,u=-2,p=[];for(e=0;e<_;e++)if(r=t[e],p.push(0),(t[d].marker!==r.marker||u!==r.token-1)&&(d=e),u=r.token,r.length=r.length||0,!!r.close){for(c.hasOwnProperty(r.marker)||(c[r.marker]=[-1,-1,-1,-1,-1,-1]),a=c[r.marker][(r.open?3:0)+r.length%3],n=d-p[d]-1,s=n;n>a;n-=p[n]+1)if(i=t[n],i.marker===r.marker&&i.open&&i.end<0&&(o=!1,(i.close||r.open)&&(i.length+r.length)%3===0&&(i.length%3!==0||r.length%3!==0)&&(o=!0),!o)){l=n>0&&!t[n-1].open?p[n-1]+1:0,p[e]=e-n+l,p[n]=l,r.open=!1,i.end=e,i.close=!1,s=-1,u=-2;break}s!==-1&&(c[r.marker][(r.open?3:0)+(r.length||0)%3]=s)}}}var zZ=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(ud(e.delimiters),n=0;n0&&i++,a[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};Kt.prototype.scanDelims=function(t,e){var n=t,r,i,a,s,o,l,c,_,d,u=!0,p=!0,E=this.posMax,g=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,o[r]=t.pos};Qt.prototype.tokenize=function(t){for(var e,n,r,i=this.ruler.getRules(""),a=i.length,s=t.posMax,o=t.md.options.maxNesting;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=s)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Qt.prototype.parse=function(t,e,n,r){var i,a,s,o=new this.State(t,e,n,r);for(this.tokenize(o),a=this.ruler2.getRules(""),s=a.length,i=0;i|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),No}function Oo(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Mn(t){return Object.prototype.toString.call(t)}function ZZ(t){return Mn(t)==="[object String]"}function XZ(t){return Mn(t)==="[object Object]"}function JZ(t){return Mn(t)==="[object RegExp]"}function fd(t){return Mn(t)==="[object Function]"}function jZ(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var tu={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function eX(t){return Object.keys(t||{}).reduce(function(e,n){return e||tu.hasOwnProperty(n)},!1)}var tX={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},nX="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",rX="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function aX(t){t.__index__=-1,t.__text_cache__=""}function iX(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function bd(){return function(t,e){e.normalize(t)}}function Cn(t){var e=t.re=$Z()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(nX),n.push(e.src_xn),e.src_tlds=n.join("|");function r(o){return o.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var i=[];t.__compiled__={};function a(o,l){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+l)}Object.keys(t.__schemas__).forEach(function(o){var l=t.__schemas__[o];if(l!==null){var c={validate:null,link:null};if(t.__compiled__[o]=c,XZ(l)){JZ(l.validate)?c.validate=iX(l.validate):fd(l.validate)?c.validate=l.validate:a(o,l),fd(l.normalize)?c.normalize=l.normalize:l.normalize?a(o,l):c.normalize=bd();return}if(ZZ(l)){i.push(o);return}a(o,l)}}),i.forEach(function(o){t.__compiled__[t.__schemas__[o]]&&(t.__compiled__[o].validate=t.__compiled__[t.__schemas__[o]].validate,t.__compiled__[o].normalize=t.__compiled__[t.__schemas__[o]].normalize)}),t.__compiled__[""]={validate:null,normalize:bd()};var s=Object.keys(t.__compiled__).filter(function(o){return o.length>0&&t.__compiled__[o]}).map(jZ).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),aX(t)}function oX(t,e){var n=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function yo(t,e){var n=new oX(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function He(t,e){if(!(this instanceof He))return new He(t,e);e||eX(t)&&(e=t,t={}),this.__opts__=Oo({},tu,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Oo({},tX,t),this.__compiled__={},this.__tlds__=rX,this.__tlds_replaced__=!1,this.re={},Cn(this)}He.prototype.add=function(e,n){return this.__schemas__[e]=n,Cn(this),this};He.prototype.set=function(e){return this.__opts__=Oo(this.__opts__,e),this};He.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,r,i,a,s,o,l,c,_;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(a=this.testSchemaAt(e,n[2],l.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(i=e.match(this.re.email_fuzzy))!==null&&(s=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o))),this.__index__>=0};He.prototype.pretest=function(e){return this.re.pretest.test(e)};He.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0};He.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(yo(this,n)),n=this.__last_index__);for(var i=n?e.slice(n):e;this.test(i);)r.push(yo(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};He.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,yo(this,0)):null};He.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,i,a){return r!==a[i-1]}).reverse(),Cn(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Cn(this),this)};He.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};He.prototype.onCompile=function(){};var sX=He;const Ot=2147483647,at=36,qo=1,Yt=26,lX=38,cX=700,nu=72,ru=128,au="-",_X=/^xn--/,dX=/[^\0-\x7F]/,uX=/[\x2E\u3002\uFF0E\uFF61]/g,pX={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ao=at-qo,it=Math.floor,Io=String.fromCharCode;function pt(t){throw new RangeError(pX[t])}function mX(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function iu(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(uX,".");const i=t.split("."),a=mX(i,e).join(".");return r+a}function Vo(t){const e=[];let n=0;const r=t.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...t),gX=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:at},Td=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},su=function(t,e,n){let r=0;for(t=n?it(t/cX):t>>1,t+=it(t/e);t>Ao*Yt>>1;r+=at)t=it(t/Ao);return it(r+(Ao+1)*t/(t+lX))},Ho=function(t){const e=[],n=t.length;let r=0,i=ru,a=nu,s=t.lastIndexOf(au);s<0&&(s=0);for(let o=0;o=128&&pt("not-basic"),e.push(t.charCodeAt(o));for(let o=s>0?s+1:0;o=n&&pt("invalid-input");const u=gX(t.charCodeAt(o++));u>=at&&pt("invalid-input"),u>it((Ot-r)/_)&&pt("overflow"),r+=u*_;const p=d<=a?qo:d>=a+Yt?Yt:d-a;if(uit(Ot/E)&&pt("overflow"),_*=E}const c=e.length+1;a=su(r-l,c,l==0),it(r/c)>Ot-i&&pt("overflow"),i+=it(r/c),r%=c,e.splice(r++,0,i)}return String.fromCodePoint(...e)},zo=function(t){const e=[];t=Vo(t);const n=t.length;let r=ru,i=0,a=nu;for(const l of t)l<128&&e.push(Io(l));const s=e.length;let o=s;for(s&&e.push(au);o=r&&_it((Ot-i)/c)&&pt("overflow"),i+=(l-r)*c,r=l;for(const _ of t)if(_Ot&&pt("overflow"),_===r){let d=i;for(let u=at;;u+=at){const p=u<=a?qo:u>=a+Yt?Yt:u-a;if(d=0))try{e.hostname=_u.toASCII(e.hostname)}catch{}return bt.encode(bt.format(e))}function MX(t){var e=bt.parse(t,!0);if(e.hostname&&(!e.protocol||du.indexOf(e.protocol)>=0))try{e.hostname=_u.toUnicode(e.hostname)}catch{}return bt.decode(bt.format(e),bt.decode.defaultChars+"%")}function $e(t,e){if(!(this instanceof $e))return new $e(t,e);e||Ut.isString(t)||(e=t||{},t="default"),this.inline=new AX,this.block=new NX,this.core=new vX,this.renderer=new RX,this.linkify=new IX,this.validateLink=xX,this.normalizeLink=LX,this.normalizeLinkText=MX,this.utils=Ut,this.helpers=Ut.assign({},hX),this.options={},this.configure(t),e&&this.set(e)}$e.prototype.set=function(t){return Ut.assign(this.options,t),this};$e.prototype.configure=function(t){var e=this,n;if(Ut.isString(t)&&(n=t,t=OX[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this};$e.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(i){return n.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};$e.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(i){return n.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};$e.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};$e.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};$e.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};$e.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};$e.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var wX=$e,kX=wX;const $t=Rn(kX);function PX(t,e){var n,r,i=t.attrs[t.attrIndex("href")][1];for(n=0;na.fileInfo?a.fileInfo.split(","):[]);H(()=>{try{return JSON.parse(a.customId).buttons||[]}catch{return[]}});const a=t,s=n;Vt();const{isMobile:o}=ze();let l;Be(()=>a.status,m=>{l!==void 0&&(clearInterval(l),l=void 0),m===2&&(l=window.setInterval(async()=>{await _.queryActiveChatLogList()},5e3))},{immediate:!0}),Ft(()=>{l!==void 0&&clearInterval(l)}),Ft(()=>{clearInterval(l)});const c=W(),_=Ze(),d=new $t({linkify:!0,highlight(m,C){if(!!(C&&Ge.getLanguage(C))){const L=C??"";return E(Ge.highlight(m,{language:L}).value,L)}return E(Ge.highlightAuto(m).value,"")}}),u=H(()=>a.fileInfo);d.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),d.use(Wt,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const p=H(()=>{const m=a.text??"";return a.asRawText?m:d.render(m)});function E(m,C){return`
    ${C}${X("chat.copyCode")}
    ${m}
    `}function g(){s("copy")}function f(){s("delete")}H(()=>u.value?/\.(mp4|avi|mov|wmv|flv)$/i.test(u.value):!1);async function S(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`upsample::${m}`));if(A){const L=A.customId;await r({msg:X("chat.enlargeImagePrefix")+m+X("chat.enlargeImageSuffix"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}async function T(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`variation::${m}`));if(A){const L=A.customId;await r({msg:X("chat.transformImagePrefix")+m+X("chat.transformImageSuffix"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}async function v(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`Outpaint::${m}`));if(A){const L=A.customId;await r({msg:X("chat.expandDrawing"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}async function I(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`${m}`));if(A){const L=A.customId;await r({msg:X("chat.advancedTransform"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}async function N(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`pan_${m}`));if(A){const L=A.customId;await r({msg:X("chat.translateImage"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}return e({textRef:c}),(m,C)=>{var A,L,Y,P,J,ce,D,V,k;return y(),w("div",BX,[b("div",{ref_key:"textRef",ref:c,class:"leading-relaxed break-words w-full"},[b("div",GX,[b("div",YX,[m.status===2&&!p.value?(y(),w("span",qX)):ee("",!0),b("div",VX,[b("div",HX,[b("div",{class:Te(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":m.status===1||m.status===2||!p.value}]),innerHTML:p.value},null,10,zX)])])])])],512),b("div",WX,[b("div",null,[b("div",null,[b("div",null,[b("div",{class:"my-1 flex w-auto",style:Ct({maxHeight:O(o)?"60vh":"30vh",objectFit:"contain",width:"100%"})},[(y(!0),w(De,null,Qe(i.value,(R,x)=>(y(),Ee(O(yd),{key:x,src:R,"preview-src":R,alt:"图片",class:"rounded-md flex mb-1 mr-4"},null,8,["src","preview-src"]))),128))],4)]),(A=m.model)!=null&&A.includes("midjourney")&&u.value&&m.status===3?(y(),w("div",KX,[(L=m.customId)!=null&&L.includes("::upsample::1::")?(y(),w("div",QX,[b("div",$X,[b("div",ZX,[b("button",{onClick:C[0]||(C[0]=R=>S(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.U1")),1),b("button",{onClick:C[1]||(C[1]=R=>S(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.U2")),1),b("button",{onClick:C[2]||(C[2]=R=>S(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.U3")),1),b("button",{onClick:C[3]||(C[3]=R=>S(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.U4")),1)])])])):ee("",!0),(Y=m.customId)!=null&&Y.includes("::variation::1::")?(y(),w("div",XX,[b("div",JX,[b("div",jX,[b("button",{onClick:C[4]||(C[4]=R=>T(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.V1")),1),b("button",{onClick:C[5]||(C[5]=R=>T(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.V2")),1),b("button",{onClick:C[6]||(C[6]=R=>T(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.V3")),1),b("button",{onClick:C[7]||(C[7]=R=>T(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.V4")),1)])])])):ee("",!0),(P=m.customId)!=null&&P.includes("::pan_left::1::")?(y(),w("div",e7,[b("div",t7,[b("div",n7,[b("button",{onClick:C[8]||(C[8]=R=>N("left")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.panLeft")),1),b("button",{onClick:C[9]||(C[9]=R=>N("right")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.panRight")),1),b("button",{onClick:C[10]||(C[10]=R=>N("up")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.panUp")),1),b("button",{onClick:C[11]||(C[11]=R=>N("down")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.panDown")),1)])])])):ee("",!0),(J=m.customId)!=null&&J.includes("Outpaint::50")?(y(),w("div",r7,[b("div",a7,[b("div",i7,[(ce=m.customId)!=null&&ce.includes("Outpaint::50")?(y(),w("button",{key:0,onClick:C[12]||(C[12]=R=>v(75)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.zoomIn15x")),1)):ee("",!0),(D=m.customId)!=null&&D.includes("Outpaint::50")?(y(),w("button",{key:1,onClick:C[13]||(C[13]=R=>v(50)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.zoomIn2x")),1)):ee("",!0),(V=m.customId)!=null&&V.includes("low_variation")?(y(),w("button",{key:2,onClick:C[14]||(C[14]=R=>I("low")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.minorTransform")),1)):ee("",!0),(k=m.customId)!=null&&k.includes("low_variation")?(y(),w("button",{key:3,onClick:C[15]||(C[15]=R=>I("high")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.strongTransform")),1)):ee("",!0)])])])):ee("",!0)])):ee("",!0)])])]),b("div",o7,[b("div",null,[b("div",s7,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:g},[M(O(Ht),{class:"flex mr-1"}),b("span",l7,Z(O(X)("chat.copy")),1)]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:f},[M(O(zt),{class:"mr-1"}),b("span",c7,Z(O(X)("chat.delete")),1)])])])])])}}}),d7={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},u7={key:0,class:"p-2 w-full h-1/2"},p7={key:1,class:"w-3/4 p-2"},m7=Ue({__name:"FullScreenModal",props:{text:{},close:{type:Function}},setup(t){const e=t,n=W(),r=W(e.text),{isMobile:i}=ze(),a=new Dd.Transformer;let s;Ve(()=>{n.value&&(s=xd.create(n.value),o())}),Be(r,()=>{o()}),Ad(()=>{r.value=e.text});const o=()=>{const{root:_}=a.transform(r.value);s.setData(_),s.fit()},l=()=>{e.close()},c=async()=>{if(n.value){const _=await cp(n.value);_p.saveAs(_,"mindmap.png")}};return(_,d)=>(y(),w("div",d7,[M(O(Do),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:l}),b("div",{class:Te(["bg-white dark:bg-gray-900 w-full h-full p-4",[O(i)?"flex-col":"flex"]])},[O(i)?(y(),w("div",u7,[(y(),w("svg",{ref_key:"svgRef",ref:n,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))])):ee("",!0),b("div",{class:Te(["p-2 flex flex-col",[O(i)?"w-full h-1/2":"w-1/4"]])},[qt(b("textarea",{"onUpdate:modelValue":d[0]||(d[0]=u=>r.value=u),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[hn,r.value]]),b("div",{class:"mt-2 flex justify-end"},[b("button",{onClick:l,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),b("button",{onClick:c,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 保存 ")])],2),O(i)?ee("",!0):(y(),w("div",p7,[(y(),w("svg",{ref_key:"svgRef",ref:n,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))]))],2)]))}}),g7={class:"flex flex-col group max-w-full"},E7={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},S7={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},f7={class:"mt-1 flex"},b7=b("span",{class:"flex text-sm"},"复制",-1),T7=b("span",{class:"flex text-sm"},"删除",-1),C7=Ue({__name:"index",props:{chatId:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{}},emits:["delete","copy"],setup(t,{expose:e,emit:n}){ze();const r=new Dd.Transformer,i=t,a=n,s=W(),o=W(),l=W(!1),c=W(i.text);Ze();let _=null;Ve(()=>{u=xd.create(s.value),d()});const d=()=>{_&&clearTimeout(_),_=setTimeout(()=>{const{root:v}=r.transform(i.text);u.setData(v),u.fit()},200)};let u;const p=new $t({linkify:!0,highlight(v,I){if(!!(I&&Ge.getLanguage(I))){const m=I??"";return E(Ge.highlight(v,{language:m}).value,m)}return E(Ge.highlightAuto(v).value,"")}});p.renderer.rules.image=function(v,I){const N=v[I],m=N.attrGet("src"),C=N.attrGet("title"),A=N.content;return`${A}`},p.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),p.use(Wt,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"}),Id(d);function E(v,I){return`
    ${I}${X("chat.copyCode")}
    ${v}
    `}function g(){a("copy")}function f(){a("delete")}async function S(){c.value=i.text,l.value=!0}function T(){l.value=!1}return e({textRef:o}),(v,I)=>(y(),w(De,null,[b("div",g7,[b("div",E7,[b("div",{class:"flex w-full relative",onClick:S},[(y(),w("svg",{ref_key:"svgRef",ref:s,class:"box-border w-[600px] h-[400px] border rounded-md border-gray-200 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-100",style:{"pointer-events":"none"},draggable:"false"},null,512))])]),b("div",S7,[b("div",null,[b("div",f7,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:g},[M(O(Ht),{class:"flex mr-1"}),b7]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:f},[M(O(zt),{class:"mr-1"}),T7])])])])]),l.value?(y(),Ee(m7,{key:0,text:c.value,close:T},null,8,["text"])):ee("",!0)],64))}});const h7={class:"flex flex-col group max-w-full"},R7={class:"pr-12 w-full flex flex-col items-start"},v7={key:0,class:"relative flex items-center justify-center group hover:opacity-80 transition-opacity duration-300"},N7=["src","onClick"],A7={class:"flex flex-col ml-4 w-full"},I7={class:"flex justify-between items-center"},O7=["onClick"],y7=["onClick"],D7={key:0,class:"flex items-center justify-start mt-8 w-full"},x7={class:"text-white text-sm mr-2 w-8 text-right flex items-center"},L7={class:"flex-grow flex items-center min-w-0"},M7=["onUpdate:modelValue","onInput","onChange"],w7={class:"text-white text-sm ml-4 mr-2 flex items-center"},k7=["src","onTimeupdate"],P7={key:0,class:"w-full"},U7={key:0,class:"loading-anchor"},F7=["innerHTML"],B7={key:0,class:"flex-none mt-2 mb-1"},G7={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},Y7={class:"mt-1 flex"},q7={class:"flex text-sm"},V7={class:"flex text-sm"},H7=["src"],z7=Ue({__name:"Music",props:{inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},videoUrl:{},audioUrl:{},model:{},drawId:{},customId:{},modelName:{},action:{},taskData:{},fileInfo:{},modelAvatar:{}},emits:["delete","copy"],setup(t,{expose:e,emit:n}){const r=W(-1),i=W(!1),a=gt("onConversation"),s=t,o=n,{isMobile:l}=ze();let c;const _=W({title:"",text:""}),d=()=>{_.value=JSON.parse(s.taskData||"{}")};Be(()=>s.taskData,()=>{d()},{immediate:!0}),Ve(()=>{d()}),Be(()=>s.status,G=>{c!==void 0&&(clearInterval(c),c=void 0),G===2&&(c=window.setInterval(async()=>{await Y.queryActiveChatLogList()},5e3))},{immediate:!0}),Ft(()=>{c!==void 0&&clearInterval(c)});const u=H(()=>s.fileInfo?s.fileInfo.split(",").map(G=>({type:"image",url:G})):[]),p=H(()=>s.videoUrl?s.videoUrl.split(",").map(G=>({type:"video",url:G})):[]),E=H(()=>s.audioUrl?s.audioUrl.split(",").map(G=>({type:"audio",url:G})):[]),g=H(()=>(_.value=JSON.parse(s.taskData||"{}"),u.value.map((G,q)=>({image:G,video:p.value[q]||{type:"video",url:""},audio:E.value[q]||{type:"audio",url:""},title:"标题",subtitle:"媒体风格"})))),f=W(new Array(g.value.length).fill(0)),S=G=>{const q=I.value[G];q&&(C.value[G]=q.currentTime,q.duration&&(A.value[G]=q.duration),f.value[G]=q.currentTime/q.duration*100)},T=(G,q)=>{const re=q.target;f.value[G]=Number(re.value)},v=(G,q)=>{const re=I.value[G],j=q.target;if(re){const ie=Number(j.value)/100*re.duration;re.currentTime=ie}},I=W([]),N=G=>{const q=I.value[G];q&&(I.value.forEach((re,j)=>{re&&j!==G&&(re.pause(),re.currentTime=0)}),q.paused?(q.play(),r.value=G):(q.pause(),r.value=-1))},m=G=>{if(!isFinite(G)||isNaN(G))return"";const q=Math.floor(G/60),re=Math.floor(G%60);return`${q}:${re<10?"0":""}${re}`},C=W([]),A=W([]),L=W(),Y=Ze(),P=new $t({linkify:!0,highlight(G,q){if(!!(q&&Ge.getLanguage(q))){const j=q??"";return D(Ge.highlight(G,{language:j}).value,j)}return D(Ge.highlightAuto(G).value,"")}});P.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),P.use(Wt,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const J=H(()=>{const G=s.text??"";return s.asRawText?G:P.render(G)});function ce(G){fetch(G).then(q=>q.blob()).then(q=>{const re=document.createElement("a"),j=URL.createObjectURL(q);re.href=j;const ie=s.text||"音频文件";re.setAttribute("download",`${ie}.mp3`),re.style.display="none",document.body.appendChild(re),re.click(),document.body.removeChild(re),URL.revokeObjectURL(j)}).catch(q=>{})}function D(G,q){return`
    ${q}${X("chat.copyCode")}
    ${G}
    `}function V(){o("copy")}function k(){o("delete")}e({textRef:L});const R=async()=>{try{_.value=JSON.parse(s.taskData||"{}");const G=JSON.stringify({title:_.value.title,prompt:_.value.text,mv:"chirp-v3-5",make_instrumental:i.value});await a({msg:`${_.value.title}`,action:"MUSIC",customId:JSON.stringify(G),modelType:2,model:s.model||"suno-v3",modelName:s.modelName||"AI音乐",modelAvatar:s.modelAvatar})}catch{}},x=W(!1),Q=W(""),ae=G=>{if(!G){Y.queryActiveChatLogList();return}Q.value=G,x.value=!0},_e=()=>{x.value=!1};return(G,q)=>(y(),w(De,null,[b("div",h7,[b("div",{ref_key:"textRef",ref:L,class:"leading-relaxed break-words"},[b("div",R7,[(y(!0),w(De,null,Qe(g.value,(re,j)=>(y(),w("div",{key:j,class:Te(["flex justify-between items-center p-2 bg-gray-800 rounded-md mb-2",O(l)?"w-[80vw]":"min-w-[35vw]"])},[re.audio.url?(y(),w("div",v7,[b("img",{src:re.image.url,onClick:ie=>N(j),class:Te(["rounded-md cursor-pointer transition-opacity duration-300",{"opacity-80":r.value===j}]),style:Ct({maxWidth:O(l)?"80px":"100px",maxHeight:O(l)?"80px":"100px"})},null,14,N7),(y(),Ee(tp(r.value===j?O(Tp):O(hp)),{class:Te(["absolute text-white text-3xl opacity-80 cursor-pointer transition-opacity duration-300",{"opacity-100":r.value===j}]),onClick:ie=>N(j)},null,8,["onClick","class"]))])):ee("",!0),b("div",A7,[b("div",I7,[b("h3",{class:"text-white text-sm hover:underline cursor-pointer",onClick:ie=>ae(re.video.url)},Z(s.text),9,O7),b("button",{onClick:ie=>ce(re.audio.url),class:"w-8 h-8 text-white text-sm rounded-full hover:bg-gray-700 px-2 py-1 mr-2"},[M(O(gp),{size:"16"})],8,y7)]),re.audio.url?(y(),w("div",D7,[b("span",x7,Z(m(C.value[j]||0)),1),b("div",L7,[qt(b("input",{type:"range",min:"0",max:"100",step:"1","onUpdate:modelValue":ie=>f.value[j]=ie,onInput:ie=>T(j,ie),onChange:ie=>v(j,ie),class:"flex-grow flex max-w-full"},null,40,M7),[[hn,f.value[j]]])]),b("span",w7,Z(m(A.value[j]||0)),1)])):ee("",!0)]),b("audio",{ref_for:!0,ref_key:"audioRefs",ref:I,src:re.audio.url,onTimeupdate:ie=>S(j),hidden:""},null,40,k7)],2))),128)),G.fileInfo?ee("",!0):(y(),w("div",P7,[G.status===2&&!J.value?(y(),w("span",U7)):ee("",!0),b("div",{class:Te(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":G.status===2||!J.value}]),innerHTML:J.value},null,10,F7)]))]),G.status===3&&G.action==="LYRICS"?(y(),w("div",B7,[b("div",{class:"flex justify-start"},[b("button",{onClick:R,class:"px-4 py-1 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 创作音乐 ")])])):ee("",!0)],512),b("div",G7,[b("div",null,[b("div",Y7,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:V},[M(O(Ht),{class:"flex mr-1"}),b("span",q7,Z(O(X)("chat.copy")),1)]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:k},[M(O(zt),{class:"mr-1"}),b("span",V7,Z(O(X)("chat.delete")),1)])])])])]),x.value?(y(),w("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:_e},[b("div",{class:"relative p-0 rounded-md shadow-md max-w-full max-h-full",onClick:q[0]||(q[0]=np(()=>{},["stop"]))},[M(O(Do),{onClick:_e,class:"absolute top-2 -right-8 text-gray-500 hover:text-gray-600",size:"26"}),b("video",{src:Q.value,controls:"",class:"w-full h-full rounded-md"},null,8,H7)])])):ee("",!0)],64))}}),W7={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},K7={key:0,class:"p-2 w-full h-1/2"},Q7=["srcDoc"],$7={key:1,class:"w-3/4 p-2"},Z7=["srcDoc"],X7=Ue({__name:"htmlModal",props:{text:{},close:{type:Function}},setup(t){const e=t,n=W(null),r=W(e.text),{isMobile:i}=ze();Be(r,()=>{a()}),Ad(()=>{r.value=e.text});const a=()=>{if(n.value){const l=n.value.contentDocument;l&&(l.body.innerHTML=r.value)}},s=()=>{e.close()},o=async()=>{var l,c;try{await navigator.clipboard.writeText(r.value),(l=window.$message)==null||l.success("内容已复制到剪贴板")}catch{(c=window.$message)==null||c.error("复制失败")}};return(l,c)=>(y(),w("div",W7,[M(O(Do),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:s}),b("div",{class:Te(["bg-white dark:bg-gray-900 w-full h-full p-4",[O(i)?"flex-col":"flex"]])},[O(i)?(y(),w("div",K7,[b("iframe",{srcDoc:r.value,class:"box-border w-full h-full border rounded-md"},null,8,Q7)])):ee("",!0),b("div",{class:Te(["p-2 flex flex-col",[O(i)?"w-full h-1/2":"w-1/4"]])},[qt(b("textarea",{"onUpdate:modelValue":c[0]||(c[0]=_=>r.value=_),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[hn,r.value]]),b("div",{class:"mt-2 flex justify-end"},[b("button",{onClick:s,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),b("button",{onClick:o,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 复制 ")])],2),O(i)?ee("",!0):(y(),w("div",$7,[b("iframe",{srcDoc:r.value,class:"box-border w-full h-full border rounded-md"},null,8,Z7)]))],2)]))}});const J7=dp(X7,[["__scopeId","data-v-e09b87ec"]]),j7={class:"flex flex-col group w-full"},eJ={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400 flex w-full flex-col"},tJ={key:0,class:"flex flex-col items-start"},nJ={class:"w-full text-gray-800 dark:text-gray-400"},rJ={key:0,class:"loading-anchor"},aJ=["innerHTML"],iJ=["textContent"],oJ={class:"flex p-3 items-center justify-center ring-1 ring-inset ring-gray-200 dark:ring-gray-700 rounded-lg hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700"},sJ={class:"mt-2 flex"},lJ={class:"flex text-sm"},cJ={class:"flex text-sm"},_J={class:"flex text-sm"},dJ={class:"flex text-sm"},uJ=Ue({__name:"index",props:{chatId:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{}},emits:["regenerate","delete","copy"],setup(t,{expose:e,emit:n}){const r=Dt(),i=gt("onConversation"),a=t,s=W(!1),o=W(a.text),l=H(()=>{var R;return Number((R=r.globalConfig)==null?void 0:R.isHideTts)===1}),c=n,{isMobile:_}=ze(),d=W(),u=W(a.ttsUrl),p=W(""),E=W(!1),g=W("paused");let f=null;const S=H(()=>g.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");async function T(){if(!(g.value==="loading"||g.value==="playing")){if(u.value){v(u.value);return}g.value="loading";try{const x=(await $u({chatId:a.chatId,prompt:a.text})).ttsUrl;if(x)u.value=x,v(x);else throw new Error("TTS URL is undefined")}catch{g.value="paused"}}}function v(R){f&&f.pause(),f=new Audio(R),f.play().then(()=>{g.value="playing"}).catch(x=>{g.value="paused"}),f.onended=()=>{g.value="paused",f=null}}function I(){f&&(f.pause(),g.value="paused")}function N(){g.value==="playing"?I():T()}const m=new $t({linkify:!0,highlight(R,x){if(!!(x&&Ge.getLanguage(x))){const ae=x??"";return console.log("language",x),x==="html"&&(p.value=R,E.value=!0,console.log("htmlContent",p.value)),P(Ge.highlight(R,{language:ae}).value,ae)}return P(Ge.highlightAuto(R).value,"")}});m.renderer.rules.image=function(R,x,Q,ae,_e){const G=R[x],q=G.attrGet("src"),re=G.attrGet("title"),j=G.content;return`${j}`};const C=H(()=>a.fileInfo),A=H(()=>C.value?/\.(mp4|avi|mov|wmv|flv)$/i.test(C.value):!1),L=H(()=>C.value?/\.(jpg|jpeg|png|gif|webp)$/i.test(C.value):!1);m.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),m.use(Wt,{blockClass:"katexmath-block p-0 flex h-full items-center justify-start",inlineClass:"katexmath-inline",errorColor:" #cc0000"});const Y=H(()=>{const x=(a.text??"").replace(/\\\(\s*/g,"$").replace(/\s*\\\)/g,"$").replace(/\\\[\s*/g,"$$").replace(/\s*\\\]/g,"$$");return a.asRawText?x:m.render(x)});function P(R,x){return`
    ${x}${X("chat.copyCode")}
    ${R}
    `}async function J(){o.value=a.text,s.value=!0}function ce(){s.value=!1}async function D(){await i({msg:a.text})}function V(){c("copy")}function k(){c("delete")}return e({textRef:d}),Ve(()=>{var Q;const R=(Q=document.querySelector(".preview-button"))==null?void 0:Q.id,x=R?document.getElementById(R):null;x&&x.addEventListener("click",J)}),(R,x)=>(y(),w("div",j7,[b("div",eJ,[b("div",{ref_key:"textRef",ref:d,class:"flex w-full"},[R.inversion?(y(),w("div",{key:1,class:Te(["flex justify-end w-full",[O(_)?"pl-20":"pl-28 "]])},[b("div",{class:"bg-gray-100 dark:bg-gray-800 p-3 rounded-lg whitespace-pre-wrap text-base max-w-[80vw] break-words",textContent:Z(Y.value)},null,8,iJ)],2)):(y(),w("div",tJ,[b("div",nJ,[R.loading&&!Y.value?(y(),w("span",rJ)):ee("",!0),b("div",{class:Te([" markdown-body text-gray-800 dark:text-gray-300 ",{"markdown-body-generate":R.loading||!Y.value}]),innerHTML:Y.value},null,10,aJ)])]))],512),C.value&&!L.value&&!A.value?(y(),w("div",{key:0,class:Te(["my-1 flex w-full",[{"justify-end":R.inversion}]])},[b("div",oJ,[b("span",null,Z(O(X)("chat.fileAnalysis")),1)])],2)):ee("",!0),C.value&&L.value?(y(),w("div",{key:1,class:Te(["mt-2 flex w-full",[{" justify-end":R.inversion}]]),style:Ct({maxHeight:O(_)?"20vh":"30vh"})},[M(O(yd),{src:C.value,"preview-src":C.value,alt:"图片",class:Te(["rounded-md flex w-full",[{" justify-end":R.inversion}]])},null,8,["src","preview-src","class"])],6)):ee("",!0)]),b("div",{class:Te(["flex transition-opacity duration-300 text-gray-700 ",S.value,{"justify-end":R.inversion}])},[b("div",sJ,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:V},[M(O(Ht),{class:"flex mr-1"}),b("span",lJ,Z(O(X)("chat.copy")),1)]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:k},[M(O(zt),{class:"mr-1"}),b("span",cJ,Z(O(X)("chat.delete")),1)]),R.inversion?(y(),w("button",{key:0,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:D},[M(O(Rp),{class:"mr-1"}),b("span",_J,Z(O(X)("chat.regenerate")),1)])):ee("",!0),!R.inversion&&!l.value?(y(),w("button",{key:1,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:N},[g.value==="paused"?(y(),Ee(O(Ip),{key:0,class:"flex mr-1"})):ee("",!0),g.value==="loading"?(y(),Ee(O(Np),{key:1,class:"rotate-icon flex mr-1"})):g.value==="playing"?(y(),Ee(O(Cp),{key:2,class:"flex mr-1"})):ee("",!0),b("span",dJ,Z(g.value==="playing"?O(X)("chat.pause"):g.value==="loading"?O(X)("chat.loading"):O(X)("chat.readAloud")),1)])):ee("",!0)])],2),s.value?(y(),Ee(J7,{key:0,text:p.value,close:ce},null,8,["text"])):ee("",!0)]))}});const pJ={class:"flex flex-col group max-w-full"},mJ={class:"flex flex-col items-start"},gJ={class:"w-full"},EJ={key:0,class:"loading-anchor"},SJ=["innerHTML"],fJ=["src"],bJ={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},TJ={class:"mt-1 flex"},CJ={class:"flex text-sm"},hJ={class:"flex text-sm"},RJ=Ue({__name:"Video",props:{inversion:{type:Boolean},error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},model:{},drawId:{},customId:{},modelName:{}},emits:["regenerate","delete","copy"],setup(t,{expose:e,emit:n}){const r=t,i=n,{isMobile:a}=ze();let s;Be(()=>r.status,S=>{s!==void 0&&(clearInterval(s),s=void 0),S===2&&(s=window.setInterval(async()=>{await l.queryActiveChatLogList()},5e3))},{immediate:!0}),Ft(()=>{s!==void 0&&clearInterval(s)});const o=W(),l=Ze(),c=new $t({linkify:!0,highlight(S,T){if(!!(T&&Ge.getLanguage(T))){const I=T??"";return u(Ge.highlight(S,{language:I}).value,I)}return u(Ge.highlightAuto(S).value,"")}}),_=H(()=>r.fileInfo);c.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),c.use(Wt,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const d=H(()=>{const S=r.text??"";return r.asRawText?S:c.render(S)});function u(S,T){return`
    ${T}${X("chat.copyCode")}
    ${S}
    `}function p(){i("copy")}function E(){i("delete")}e({textRef:o});const g=W("paused"),f=H(()=>g.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");return(S,T)=>(y(),w("div",pJ,[b("div",{ref_key:"textRef",ref:o,class:"leading-relaxed break-words"},[b("div",mJ,[b("div",gJ,[S.status===2&&!d.value?(y(),w("span",EJ)):ee("",!0),b("div",{class:Te(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":S.status===2||!d.value}]),innerHTML:d.value},null,10,SJ)]),b("div",null,[qt((y(),w("div",{key:_.value},[b("video",{src:_.value,controls:"",class:"rounded-md flex",style:Ct({maxWidth:O(a)?"90%":"30vw",maxHeight:O(a)?"":"30vh"})}," 您的浏览器不支持视频标签。 ",12,fJ)])),[[rp,_.value]])])])],512),b("div",bJ,[b("div",null,[b("div",null,[b("div",{class:"my-1 flex w-auto",style:Ct({maxWidth:O(a)?"100%":"25rem"})},null,4)])])]),b("div",{class:Te(["flex transition-opacity duration-300 text-gray-700",f.value])},[b("div",null,[b("div",TJ,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:p},[M(O(Ht),{class:"flex mr-1"}),b("span",CJ,Z(O(X)("chat.copy")),1)]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:E},[M(O(zt),{class:"mr-1"}),b("span",hJ,Z(O(X)("chat.delete")),1)])])])],2)]))}});const vJ={class:"flex items-center justify-center flex-shrink-0 mr-2"},NJ={class:"overflow-hidden text-sm items-start w-full"},AJ={class:"flex items-end gap-1 flex-row"},IJ=Ue({__name:"index",props:{chatId:{},dateTime:{},text:{},model:{},modelName:{},modelType:{},status:{},inversion:{type:Boolean},loading:{type:Boolean},fileInfo:{},ttsUrl:{},videoUrl:{},audioUrl:{},drawId:{},extend:{},customId:{},modelAvatar:{},action:{},taskData:{},pluginParam:{}},emits:["regenerate","delete"],setup(t,{emit:e}){const n=t,r=e,i=Vt(),a=W(),s=W(n.inversion),o=W();function l(){r("delete")}function c(){Ld({text:n.text??""}),n.text&&i.success("复制成功!")}function _(){var d;(d=o.value)==null||d.scrollIntoView(),r("regenerate")}return(d,u)=>(y(),w("div",{ref_key:"messageRef",ref:o,class:"flex w-full my-4 overflow-hidden items-start bg-white dark:bg-gray-900 flex-row'"},[M(O(ip),{trigger:"hover",placement:"top-start"},{trigger:fe(()=>[b("div",vJ,[d.inversion?ee("",!0):(y(),Ee(jp,{key:0,image:d.inversion,model:d.model,modelAvatar:d.modelAvatar},null,8,["image","model","modelAvatar"]))])]),default:fe(()=>[rt(" "+Z(d.modelName),1)]),_:1}),b("div",NJ,[b("div",AJ,[d.pluginParam==="mind-map"&&!d.inversion?(y(),Ee(C7,{key:0,ref_key:"textRef",ref:a,inversion:d.inversion,drawId:d.drawId,extend:d.extend,customId:d.customId,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,model:d.model,modelName:d.modelName,loading:d.loading,status:d.status,"as-raw-text":s.value,onRegenerate:_,onCopy:c,onDelete:l},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):d.pluginParam==="luma-video"&&!d.inversion?(y(),Ee(RJ,{key:1,ref_key:"textRef",ref:a,inversion:d.inversion,drawId:d.drawId,extend:d.extend,customId:d.customId,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,audioUrl:d.audioUrl,videoUrl:d.videoUrl,model:d.model,modelName:d.modelName,loading:d.loading,status:d.status,"as-raw-text":s.value,action:d.action,taskData:d.taskData,modelAvatar:d.modelAvatar,onRegenerate:_,onCopy:c,onDelete:l},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):d.pluginParam==="suno-v3"&&!d.inversion?(y(),Ee(z7,{key:2,ref_key:"textRef",ref:a,inversion:d.inversion,drawId:d.drawId,extend:d.extend,customId:d.customId,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,audioUrl:d.audioUrl,videoUrl:d.videoUrl,model:d.model,modelName:d.modelName,loading:d.loading,status:d.status,"as-raw-text":s.value,action:d.action,taskData:d.taskData,modelAvatar:d.modelAvatar,onRegenerate:_,onCopy:c,onDelete:l},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):d.modelType===2&&!d.inversion?(y(),Ee(_7,{key:3,ref_key:"textRef",ref:a,inversion:d.inversion,drawId:d.drawId,extend:d.extend,customId:d.customId,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,model:d.model,modelName:d.modelName,loading:d.loading,status:d.status,"as-raw-text":s.value,onRegenerate:_,onCopy:c,onDelete:l},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):(y(),Ee(uJ,{key:4,ref_key:"textRef",ref:a,modelName:d.modelName,chatId:d.chatId,inversion:d.inversion,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,model:d.model,loading:d.loading,"as-raw-text":s.value,onRegenerate:_,onCopy:c,onDelete:l},null,8,["modelName","chatId","inversion","text","modelType","fileInfo","ttsUrl","model","loading","as-raw-text"]))])])],512))}}),OJ=[{title:"英语翻译官",prompt:"我希望你能担任英语翻译、拼写校对和修辞改进的角色。我会用任何语言和你交流,你会识别语言,将其翻译并用更为优美和精炼的英语回答我。请将我简单的词汇和句子替换成更为优美和高雅的表达方式,确保意思不变,但使其更具文学性。请仅回答更正和改进的部分,不要写解释。我的第一句话是“how are you ?”,请翻译它。",icon:"ri:ai-generate",iconColor:"text-indigo-500"},{title:"心理学家",prompt:"我想让你扮演一个心理学家。我会告诉你我的想法。我希望你能给我科学的建议,让我感觉更好。我的第一个想法,{ 在这里输入你的想法,如果你解释得更详细,我想你会得到更准确的答案。}",icon:"ri:heart-line",iconColor:"text-red-500"},{title:"产品经理",prompt:"请确认我的以下请求。请您作为产品经理回复我。我将会提供一个主题,您将帮助我编写一份包括以下章节标题的PRD文档:主题、简介、问题陈述、目标与目的、用户故事、技术要求、收益、KPI指标、开发风险以及结论。在我要求具体主题、功能或开发的PRD之前,请不要先写任何一份PRD文档。",icon:"ri:projector-line",iconColor:"text-green-500"},{title:"如何学做菜",prompt:"我要你做我的私人厨师。我会告诉你我的饮食偏好和过敏,你会建议我尝试的食谱。你应该只回复你推荐的食谱,别无其他。不要写解释。我的第一个请求是“我是一名素食主义者,我正在寻找健康的晚餐点子。”",icon:"ri:restaurant-line",iconColor:"text-yellow-500"},{title:"规划一个去上海的旅游攻略 参观博物馆",prompt:"我想让你做一个旅游指南。我会把我的位置写给你,你会推荐一个靠近我的位置的地方。在某些情况下,我还会告诉您我将访问的地方类型。您还会向我推荐靠近我的第一个位置的类似类型的地方。我的第一个建议请求是“我在上海,我只想参观博物馆。”",icon:"ri:map-pin-line",iconColor:"text-blue-500"},{title:"穿越时空",prompt:"如果你能穿越时空,你会去哪个时代?",icon:"ri:time-line",iconColor:"text-purple-500"},{title:"量子力学",prompt:"解释一下量子力学是什么?",icon:"ri:flask-line",iconColor:"text-pink-500"},{title:"人工智能",prompt:"介绍一下人工智能的历史",icon:"ri:robot-line",iconColor:"text-gray-500"},{title:"深度学习",prompt:"讲解一下深度学习是如何工作的?",icon:"ri:brain-line",iconColor:"text-teal-500"},{title:"冯诺依曼体系结构",prompt:"请举例说明什么是冯诺依曼体系结构?",icon:"ri:computer-line",iconColor:"text-blue-500"},{title:"红楼梦情感分析",prompt:"请分析《红楼梦》中林黛玉与贾宝玉的情感关系。",icon:"ri:book-2-line",iconColor:"text-red-500"},{title:"100米短跑训练",prompt:"如何训练才能提高100米短跑成绩?",icon:"ri:run-line",iconColor:"text-green-500"},{title:"北京旅游攻略",prompt:"请推荐一份适合初次来中国的外国人的北京旅游攻略。",icon:"ri:road-map-line",iconColor:"text-yellow-500"},{title:"低GI饮食",prompt:"什么是低GI饮食?这种饮食有哪些好处?",icon:"ri:restaurant-2-line",iconColor:"text-orange-500"},{title:"全球环境问题",prompt:"请列出目前全球主要面临的三大环境问题,并简单阐述其影响和应对措施。",icon:"ri:earth-line",iconColor:"text-teal-500"},{title:"提高社交影响力",prompt:"在社交场合,如何提高自己的感染力和影响力?",icon:"ri:team-line",iconColor:"text-purple-500"},{title:"地中海地理特征",prompt:"请描述一下地中海的地理特征,以及这些特征对于古代世界的影响。",icon:"ri:map-pin-line",iconColor:"text-indigo-500"},{title:"《肖申克的救赎》影评",prompt:"请评价电影《肖申克的救赎》的剧情、角色塑造和拍摄手法。",icon:"ri:film-line",iconColor:"text-pink-500"},{title:"苹果公司成功分析",prompt:"为什么苹果公司的产品总是比其他公司的产品更受欢迎?请从市场策略、产品设计、品牌形象等方面进行分析。",icon:"ri:apple-line",iconColor:"text-gray-500"},{title:"健康饮食计划",prompt:"如何制定一份健康的饮食计划?",icon:"ri:heart-line",iconColor:"text-red-500"},{title:"编程学习指南",prompt:"怎样学习编程?",icon:"ri:code-line",iconColor:"text-blue-500"},{title:"巴厘岛旅游景点",prompt:"在巴厘岛旅游有哪些值得参观的景点?",icon:"ri:map-pin-2-line",iconColor:"text-green-500"},{title:"处理亲密关系分歧",prompt:"如何处理亲密关系中的分歧?",icon:"ri:heart-2-line",iconColor:"text-pink-500"},{title:"费马大定理证明",prompt:"如何证明费马大定理?",icon:"ri:function-line",iconColor:"text-blue-500"},{title:"吸烟相关疾病预防",prompt:"长期吸烟引起的疾病有哪些?应该如何预防?",icon:"ri:lungs-line",iconColor:"text-red-500"},{title:"克服拖延症",prompt:"如何克服拖延症?",icon:"ri:time-line",iconColor:"text-yellow-500"},{title:"减少家庭垃圾",prompt:"如何减少家庭垃圾产生?",icon:"ri:recycle-line",iconColor:"text-green-500"},{title:"股票价值评估",prompt:"如何评估股票的价值?",icon:"ri:stock-line",iconColor:"text-teal-500"},{title:"自信的社交表现",prompt:"如何在社交场合自信地表现自己?",icon:"ri:team-line",iconColor:"text-purple-500"},{title:"推荐科幻电影",prompt:"给我一个最近评分不错的科幻电影的名字和简介",icon:"ri:movie-line",iconColor:"text-indigo-500"},{title:"英文翻译校对",prompt:"将下面这句英文翻译成中文并纠正其中的语法错误:'Me and him goes to the store yesterday.'",icon:"ri:translate-2",iconColor:"text-orange-500"},{title:"科技类大市值股票",prompt:"给我一些市值超过1000亿美元的科技类股票",icon:"ri:bar-chart-box-line",iconColor:"text-gray-500"},{title:"商品销售量预测",prompt:"基于历史销售数据,预测下周某商品的销售量。",icon:"ri:line-chart-line",iconColor:"text-cyan-500"},{title:"思念诗歌创作",prompt:"请用七言绝句写一首表达思念之情的诗歌。",icon:"ri:quill-pen-line",iconColor:"text-indigo-500"},{title:"情侣约会餐厅推荐",prompt:"给我一个适合情侣约会的餐厅的名字和地址。",icon:"ri:restaurant-2-line",iconColor:"text-pink-500"},{title:"西班牙旅游行程规划",prompt:"我计划去西班牙旅游,请帮我安排一个10天的行程。",icon:"ri:suitcase-3-line",iconColor:"text-orange-500"},{title:"电影分类归类",prompt:"将电影从爱情片、动作片和恐怖片三种分类中分别归类。",icon:"ri:film-line",iconColor:"text-blue-500"},{title:"豆腐美食推荐",prompt:"推荐一道以豆腐为主要原料的美食,附上制作方法。",icon:"ri:restaurant-line",iconColor:"text-green-500"},{title:"流行华语歌曲推荐",prompt:"推荐最近流行的三首华语歌曲,并简要介绍它们的风格和歌词主题。",icon:"ri:music-line",iconColor:"text-yellow-500"},{title:"减少塑料污染生活指南",prompt:"请提供三条减少塑料污染的生活指南。",icon:"ri:leaf-line",iconColor:"text-green-500"},{title:"团队合作处理矛盾",prompt:"如何在团队合作中处理与同事之间的矛盾?",icon:"ri:team-line",iconColor:"text-blue-500"},{title:"前景股票投资",prompt:"你认为现在买入哪些股票比较有前景?",icon:"ri:stock-line",iconColor:"text-teal-500"},{title:"科幻片推荐",prompt:"你能否给我推荐一部最近上映的好看的科幻片?",icon:"ri:film-line",iconColor:"text-purple-500"},{title:"三亚旅游攻略",prompt:"希望去三亚旅游,你能提供一份详细的旅游攻略吗?",icon:"ri:suitcase-2-line",iconColor:"text-orange-500"},{title:"意大利面烹饪技巧",prompt:"我想学做意大利面,你有什么简单易学的做法推荐吗?",icon:"ri:restaurant-line",iconColor:"text-red-500"},{title:"缓解焦虑的方法",prompt:"我感到很紧张,有什么方法能够缓解焦虑吗?",icon:"ri:heart-pulse-line",iconColor:"text-indigo-500"},{title:"电商平台投诉处理",prompt:"我在某电商平台购买的商品质量不佳,该如何向平台进行投诉处理?",icon:"ri:feedback-line",iconColor:"text-gray-500"},{title:"有效学外语的方法",prompt:"你觉得学外语最有效的方法是什么?",icon:"ri:translate-2",iconColor:"text-pink-500"},{title:"职场发展建议",prompt:"我正在寻找新的工作机会,有哪些职业领域前景较好?",icon:"ri:briefcase-line",iconColor:"text-cyan-500"},{title:"日本旅游攻略",prompt:"提供至少三个去日本旅游必去的景点,并描述其特色和适合的旅游时间。",icon:"ri:map-pin-line",iconColor:"text-purple-500"},{title:"提高保险销售业绩",prompt:"如何提高保险销售员的业绩?",icon:"ri:money-dollar-box-line",iconColor:"text-teal-500"},{title:"公司网站改版建议",prompt:"公司网站需要进行改版,请列举至少五个需要更新的页面元素并说明更新的理由。",icon:"ri:layout-5-line",iconColor:"text-gray-500"},{title:"印度首都查询",prompt:"请问印度的首都是哪里?",icon:"ri:flag-line",iconColor:"text-blue-500"},{title:"红旗渠修建历史",prompt:"请问红旗渠修建的时间和地点分别是什么?",icon:"ri:history-line",iconColor:"text-red-500"},{title:"DNA结构与功能",prompt:"请简要介绍一下DNA的结构及其功能。",icon:"ri:dna-line",iconColor:"text-green-500"},{title:"GDP定义与计算",prompt:"请问什么是GDP?如何计算GDP?",icon:"ri:bar-chart-2-line",iconColor:"text-yellow-500"},{title:"原子核组成",prompt:"请问原子核由哪些粒子组成?它们各自的电荷和质量分别是多少?",icon:"ri:leaf-line",iconColor:"text-purple-500"},{title:"莫扎特代表作",prompt:"请问莫扎特的代表作有哪些?",icon:"ri:music-2-line",iconColor:"text-pink-500"},{title:"汉字词源",prompt:"请问“汉字”这个词最早出现的时间和在哪本书中出现的?",icon:"ri:book-line",iconColor:"text-orange-500"},{title:"全运会历史",prompt:"请问全运会是哪年开始举办的?每隔几年举办一次?",icon:"ri:football-line",iconColor:"text-teal-500"},{title:"石油用途",prompt:"请问石油的主要用途有哪些?",icon:"ri:oil-line",iconColor:"text-gray-500"},{title:"心脏起搏器介绍",prompt:"请简要介绍一下心脏起搏器的原理和使用方法。",icon:"ri:heart-2-line",iconColor:"text-cyan-500"},{title:"观众情感分析",prompt:"这部电影的观众反应如何?",icon:"ri:emotion-laugh-line",iconColor:"text-indigo-500"},{title:"沙滩美景短文",prompt:"请写出一篇描述橙色阳光下沙滩美景的短文。",icon:"ri:sun-line",iconColor:"text-orange-500"},{title:"亚马逊财报数据查询",prompt:"亚马逊公司的年度财报数据是多少?",icon:"ri:money-dollar-box-line",iconColor:"text-green-500"},{title:"苹果新产品新闻",prompt:"请问最近有关于苹果公司新发布产品的新闻吗?",icon:"ri:apple-line",iconColor:"text-red-500"},{title:"一加与华为手机性能对比",prompt:"请比较一加手机和华为手机的性能差异。",icon:"ri:smartphone-line",iconColor:"text-blue-500"},{title:"文章主要观点提取",prompt:"请从这篇文章中提取出主要观点。",icon:"ri:article-line",iconColor:"text-yellow-500"},{title:"用户意图分类",prompt:"用户输入“我想要预定机票”,它的意图是什么?",icon:"ri:question-line",iconColor:"text-purple-500"},{title:"文章可读性修改",prompt:"请编辑这篇文章,使得它更易读。",icon:"ri:edit-line",iconColor:"text-gray-500"},{title:"星期推理",prompt:"如果今天是星期三,那么后天是星期几?",icon:"ri:calendar-line",iconColor:"text-cyan-500"},{title:"微软创始人查询",prompt:"谁创办了微软公司?",icon:"ri:building-4-line",iconColor:"text-teal-500"},{title:"电影类型分类",prompt:"这个电影是哪个类型的?",icon:"ri:film-line",iconColor:"text-pink-500"},{title:"乐器描述",prompt:"描述一下你最喜欢的乐器。",icon:"ri:music-line",iconColor:"text-orange-500"},{title:"句子改写",prompt:"请改写这句话:“天空飘着几朵云彩。”",icon:"ri:edit-2-line",iconColor:"text-blue-500"},{title:"书籍对比",prompt:"这本书和那本书有什么区别?",icon:"ri:book-line",iconColor:"text-yellow-500"},{title:"自然风景描写",prompt:"写一段自然风景的描写。",icon:"ri:landscape-line",iconColor:"text-green-500"},{title:"音乐年代分类",prompt:"这首歌曲属于哪个年代的音乐?",icon:"ri:music-2-line",iconColor:"text-red-500"},{title:"餐厅美食对比",prompt:"这家餐厅和那家餐厅哪家更好吃?",icon:"ri:restaurant-line",iconColor:"text-gray-500"},{title:"电影喜好",prompt:"把这句话翻译成英文:“我喜欢看电影,尤其是科幻电影。”",icon:"ri:movie-line",iconColor:"text-indigo-500"},{title:"理想度假胜地描述",prompt:"描述一下你理想中的度假胜地。",icon:"ri:tree-line",iconColor:"text-orange-500"},{title:"动物分类",prompt:"这个动物属于哪个门类?",icon:"ri:bug-line",iconColor:"text-green-500"},{title:"新闻摘要生成",prompt:"请问如何利用 GPT-3.5 生成一篇 100 字左右的新闻摘要?",icon:"ri:newspaper-line",iconColor:"text-blue-500"},{title:"自动翻译实现",prompt:"请问如何让 GPT-3.5 实现从中文到英文的自动翻译?",icon:"ri:translate",iconColor:"text-red-500"},{title:"全球医疗保健评价",prompt:"你如何评价当前全球范围内的医疗保健体系?",icon:"ri:stethoscope-line",iconColor:"text-green-500"},{title:"文化多样性保护",prompt:"请问有哪些国家在法律层面上保护本国的文化多样性?",icon:"ri:global-line",iconColor:"text-yellow-500"},{title:"新能源普及国家",prompt:"现今世界上使用新能源最为普及的国家是哪些?",icon:"ri:flashlight-line",iconColor:"text-purple-500"},{title:"股市走势预测",prompt:"你认为全球股市未来一个季度会走势如何?",icon:"ri:line-chart-line",iconColor:"text-orange-500"},{title:"前沿科技研究",prompt:"请列举一些目前全球前沿的科技研究领域。",icon:"ri:rocket-line",iconColor:"text-teal-500"},{title:"社交媒体影响",prompt:"社交媒体对年轻人的影响有哪些?",icon:"ri:chat-3-line",iconColor:"text-gray-500"},{title:"电商平台市场份额",prompt:"当前哪些电商平台在全球拥有最大的市场份额?",icon:"ri:shopping-cart-line",iconColor:"text-cyan-500"},{title:"气候变化影响",prompt:"气候变化对世界各地造成了哪些影响?",icon:"ri:sun-cloudy-line",iconColor:"text-indigo-500"},{title:"全球顶尖大学排名",prompt:"请问哪些国家拥有全球最顶尖的大学排名?",icon:"ri:school-line",iconColor:"text-orange-500"},{title:"手机发明者",prompt:"手机是谁发明的?",icon:"ri:smartphone-line",iconColor:"text-blue-500"},{title:"旅行故事创作",prompt:"给我写一个关于旅行的故事。",icon:"ri:suitcase-3-line",iconColor:"text-green-500"},{title:"文章情感分析",prompt:"这篇文章中的情感倾向是积极、消极还是中性?",icon:"ri:emotion-line",iconColor:"text-yellow-500"},{title:"拼写错误纠正",prompt:"句子中的哪个单词拼写有误:“昨天我去了餐馆,品尝了他们的招牌菜。”",icon:"ri:check-line",iconColor:"text-red-500"},{title:"文章摘要生成",prompt:"请为这篇长文章生成一段简要的摘要。",icon:"ri:file-text-line",iconColor:"text-purple-500"},{title:"任务执行指令",prompt:"请告诉我现在怎么做。",icon:"ri:task-line",iconColor:"text-orange-500"}],yJ={class:"mb-10 rounded px-4 py-2 text-center text-3xl font-bold text-primary-500"},DJ={class:"w-full md:max-w-[40rem]"},xJ={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4"},LJ=["onClick"],MJ={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},wJ=Ue({__name:"index",setup(t){var g;const e=gt("onConversation"),n=Dt(),r=Ze(),{isMobile:i}=ze(),a=W(),s=()=>(a.value=OJ.sort(()=>.5-Math.random()).slice(0,4),a.value);Ve(()=>{s()}),Ve(()=>{s()});const o=((g=n.globalConfig)==null?void 0:g.siteName)||"AIWeb",l=H(()=>r.getChatByGroupInfo()),c=H(()=>{var S;const f=(S=l.value)==null?void 0:S.config;if(!f)return{};try{return JSON.parse(f)}catch{return{}}}),_=H(()=>{var f;return String(((f=c==null?void 0:c.value.modelInfo)==null?void 0:f.modelAvatar)||"")}),d=H(()=>String(c==null?void 0:c.value.modelInfo.modelName)),u=H(()=>String(c==null?void 0:c.value.modelInfo.model)),p=H(()=>Number(c==null?void 0:c.value.modelInfo.keyType));async function E(f){const{appId:S,prompt:T}=f;if(S&&S>0)try{await r.addNewChatGroup(S),await r.queryMyGroup()}catch{}else e({msg:T,model:u.value,modelName:d.value,modelType:p.value,modelAvatar:_.value,appId:S})}return(f,S)=>(y(),w("div",{class:Te([[O(i)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[b("h1",yJ,Z(O(o)),1),b("div",DJ,[b("div",xJ,[(y(!0),w(De,null,Qe(a.value,T=>(y(),w("div",{key:T.title,class:"space-y-4"},[b("button",{onClick:v=>E(T),class:"relative flex flex-col gap-2 rounded-xl border border-gray-200 dark:border-gray-800 px-3 pb-4 pt-3 text-start align-top text-sm shadow-sm transition dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[M(O(xo),{icon:T.icon,class:Te(["mb-3 inline-block text-base absolute top-3 left-3",T.iconColor])},null,8,["icon","class"]),b("div",MJ,Z(T.title),1)],8,LJ)]))),128))])])],2))}}),kJ={class:"w-full md:max-w-[40rem] mb-4"},PJ={class:"flex items-center justify-center"},UJ={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},FJ=["src"],BJ={class:"text-white text-sm md:text-lg"},GJ={class:"rounded px-4 py-2 text-3xl font-bold text-primary-500"},YJ={class:"w-full md:max-w-[40rem] mb-5"},qJ={class:"flex items-center justify-center"},VJ={class:"w-full md:max-w-[40rem] mt-2"},HJ={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4 justify-center"},zJ=["onClick"],WJ={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},KJ=Ue({__name:"index",props:{appId:{}},setup(t){const{isMobile:e}=ze(),n=W(null),r=t,i=gt("onConversation"),a=async l=>{try{const c=await Cd({id:l});n.value=c.data}catch{}};function s(l){var c;i({msg:l,model:(c=n==null?void 0:n.value)==null?void 0:c.model,modelAvatar:n.value.modelAvatar})}function o(){const l=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return l[Math.floor(Math.random()*l.length)]}return Ve(()=>{r.appId&&a(r.appId)}),Be(()=>r.appId,l=>{l&&a(l)}),(l,c)=>{var _,d,u;return n.value?(y(),w("div",{key:0,class:Te([[O(e)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[b("div",kJ,[b("div",PJ,[n.value.coverImg?(y(),w("div",UJ,[b("img",{src:n.value.coverImg,class:"rounded-full w-10 h-10 mr-4",alt:"app-image"},null,8,FJ)])):(y(),w("div",{key:1,class:Te([o(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-10 h-10 flex items-center justify-center mr-4"])},[b("span",BJ,Z(n.value.name.slice(0,1)),1)],2)),b("h1",GJ,Z((_=n.value)==null?void 0:_.name),1)])]),b("div",YJ,[b("div",qJ,[b("p",null,Z((d=n.value)==null?void 0:d.des),1)])]),b("div",VJ,[b("div",HJ,[(y(!0),w(De,null,Qe((u=n.value)==null?void 0:u.demoData,(p,E)=>(y(),w("div",{key:E,class:"space-y-4"},[b("button",{onClick:g=>s(p),class:"relative flex flex-col gap-2 rounded-xl border border-gray-200 dark:border-gray-800 px-3 pb-4 pt-3 text-start align-top text-sm shadow-sm transition dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[M(O(xo),{class:"mb-3 inline-block text-base absolute top-3 left-3",icon:"material-symbols:tips-and-updates-outline"}),b("div",WJ,Z(p),1)],8,zJ)]))),128))])])],2)):ee("",!0)}}}),QJ={class:"flex justify-between items-end w-full bg-transparent"},$J={key:0,class:"flex flex-nowrap overflow-x-auto scrollbar-hide ml-2"},ZJ=["onClick"],XJ=b("div",{class:"flex-1 bg-transparent"},null,-1),JJ={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},jJ={class:"py-1"},ej=["onClick"],tj={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},nj={class:"py-1"},rj=["onClick"],aj={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},ij={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},oj={class:"py-1"},sj=["onClick"],lj={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},cj={class:"flex flex-1 justify-center"},_j={class:"w-28"},dj={class:"py-1"},uj=["onClick"],pj={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},mj={class:"flex flex-1 justify-center"},gj={class:"w-28"},Ej={key:0,class:"flex items-center py-2 px-2 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},Sj=b("p",{class:"text-sm text-gray-400 dark:text-gray-400 flex-grow truncate"}," 使用 @ 搜索应用程序 ",-1),fj=[Sj],bj=["onClick"],Tj={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},Cj=["src"],hj={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},Rj={class:"text-md font-bold text-gray-600 dark:text-primary-500 mr-3 flex-shrink-0"},vj={class:"text-sm text-gray-400 dark:text-gray-400 flex-grow truncate"},Nj={key:0,class:"self-start w-full bg-gray-50 dark:bg-gray-700 rounded-lg"},Aj={key:0,class:"relative inline-block ml-2 mt-2 group"},Ij=["src"],Oj={key:1,class:"relative group w-full"},yj={class:"px-3 flex items-center justify-start bg-gray-50 rounded-t-lg h-12 text-gray-700 dark:text-gray-400"},Dj={class:"text-gray-500"},xj={class:"px-2 flex items-center justify-start rounded-t-lg h-12 text-gray-700 bg-gray-50 dark:bg-gray-700 dark:text-gray-400 w-full"},Lj={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},Mj=["src"],wj={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},kj={class:"text-md font-bold text-gray-700 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},Pj={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},Uj={class:"px-2 flex items-center justify-start bg-gray-50 rounded-t-lg h-12 text-gray-700 dark:text-gray-400 w-full dark:bg-gray-700"},Fj={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},Bj=["src"],Gj={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},Yj={class:"text-md font-bold text-gray-600 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},qj={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},Vj={class:"flex justify-between flex-grow w-full py-2 px-2"},Hj={class:"flex justify-start items-end"},zj={class:"flex flex-grow items-center justify-center"},Wj=["placeholder"],Kj={class:"flex justify-end items-end"},Qj=["disabled"],$j={key:0,class:"w-full flex justify-center items-center text-sm text-gray-500"},Zj={class:"transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 ml-2",href:"https://beian.miit.gov.cn",target:"_blank"},Xj="1.5rem",Jj=Ue({__name:"index",emits:["pause-request"],setup(t,{emit:e}){const n=gt("onConversation"),r=hd(),i=Dt(),a=Ze(),s=e,o=W([{id:"square",title:X("chat.square1"),values:"1:1",aspectRatio:"1 / 1"},{id:"illustration",title:X("chat.illustration"),values:"4:3",aspectRatio:"4 / 3"},{id:"wallpaper",title:X("chat.wallpaper"),values:"16:9",aspectRatio:"16 / 9"},{id:"media",title:X("chat.media"),values:"3:4",aspectRatio:"3 / 4"},{id:"poster",title:X("chat.poster"),values:"9:16",aspectRatio:"9 / 16"}]),l=W([{title:"6.0",values:"--v 6"},{title:"5.2",values:"--v 5.2"},{title:"卡通",values:"--niji 6"}]),c=W([{title:X("chat.imageToImage"),values:"imageToImage"},{title:X("chat.faceConsistency"),values:"faceConsistency"},{title:X("chat.styleConsistency"),values:"styleConsistency"}]),_=W([{id:"default",title:X("chat.square"),values:"1024x1024",aspectRatio:"1024 / 1024"},{id:"landscape",title:X("chat.landscape"),values:"1792x1024",aspectRatio:"1792 / 1024"},{id:"portrait",title:X("chat.portrait"),values:"1024x1792",aspectRatio:"1024 / 1792"}]),d=W(!0),u=W(!1),p=W(!0),E=W(),g=W(!1),f=W([]),S=W(""),T=W(null),v=W({size:"",style:""}),I=W(),N=W("--v 6"),m=W([]),C=W(_.value[0]),A=W(c.value[0]),L=W(l.value[0]),Y=W(""),P=W(""),J=W(""),ce=W(!1),D=W(),V=W(!1),k=W("");let R=null,x=null;const Q=H(()=>i.globalConfig),ae=H(()=>{var U,F;return((U=Q.value)==null?void 0:U.companyName)&&((F=Q.value)==null?void 0:F.filingNumber)}),_e=H(()=>{var U;return Number((U=i.globalConfig)==null?void 0:U.isHideSidebar)===1}),{isMobile:G}=ze(),q=H(()=>a.currentPlugin),re=H(()=>a.isStreamIn!==void 0?a.isStreamIn:!1),j=H(()=>a.chatList),ie=W("/api/upload/file"),Se=H(()=>String(K==null?void 0:K.value.modelInfo.modelName)),pe=H(()=>Number(K==null?void 0:K.value.modelInfo.keyType)),$=H(()=>a.active),se=H(()=>a.getChatByGroupInfo()),K=H(()=>{var F;const U=(F=se.value)==null?void 0:F.config;if(!U)return{};try{return JSON.parse(U)}catch{return{}}}),Re=H(()=>{var U,F;return String(((F=(U=K==null?void 0:K.value)==null?void 0:U.fileInfo)==null?void 0:F.fileParsing)||"")}),Le=H(()=>{var U,F;return String(((F=(U=K==null?void 0:K.value)==null?void 0:U.fileInfo)==null?void 0:F.fileName)||"")}),Pe=H(()=>{var U,F;return String(((F=(U=K==null?void 0:K.value)==null?void 0:U.modelInfo)==null?void 0:F.model)??"")}),Ye=H(()=>{var U,F;return Number((F=(U=K==null?void 0:K.value)==null?void 0:U.modelInfo)==null?void 0:F.isFileUpload)}),Ae=H(()=>[1,2].includes(Ye.value)),Xe=H(()=>{var U;return Pe.value==="dall-e-3"||((U=q.value)==null?void 0:U.parameters)==="dall-e-3"}),Me=H(()=>{var U;return Pe.value==="midjourney"||((U=q.value)==null?void 0:U.parameters)==="midjourney"}),te=W(!1),We=H(()=>r.clipboardText),he=H(()=>G.value?X("chat.placeholderMobile"):X("chat.placeholder")),me=H(()=>re.value||!S.value||S.value.trim()===""||!d.value),qe=(U,F=16)=>{const[le,de]=U.split(" / ").map(Number),ne=le/de;return de>le?{width:`${F*ne}px`,height:`${F}px`}:{width:`${F}px`,height:`${F/ne}px`}},xe=U=>{if(U.id==="custom"){const F=`${Y.value}:${P.value}`;C.value={...U,values:F,aspectRatio:`${Y.value} / ${P.value}`},v.value.size=F}else C.value=U,v.value.size=U.values},Ne=U=>{L.value=U,N.value=U.values},Ie=U=>{ge(),A.value=U,I.value=U.values};function z(U){const F=U.target||U,le=8;F.style.height="1rem";const ne=F.scrollHeight/F.value.split(` +`).length*le;F.style.height=Math.min(F.scrollHeight,ne)+"px"}const B=async U=>{const le=U.target.value;if(ce.value=le.startsWith("@"),x&&clearTimeout(x),ce.value&&!V.value){const de=le.slice(1);x=setTimeout(async()=>{if(de.length>0)try{const ne=await Zu({keyword:de});f.value=ne.data.rows}catch(ne){console.error("Error fetching search results:",ne),f.value=[]}else f.value=[]},1e3)}else f.value=[]},oe=H(()=>{var U,F;return String(((U=q==null?void 0:q.value)==null?void 0:U.pluginImg)||((F=K==null?void 0:K.value.modelInfo)==null?void 0:F.modelAvatar)||"")}),ue=()=>{var de;const F=((de=Q.value)==null?void 0:de.drawingStyles.split(",")).sort(()=>.5-Math.random()),le=G.value?3:5;m.value=F.slice(0,le)};function ve(U){S.value&&/,\s*$/.test(S.value)?S.value+=` ${U}`:S.value?S.value+=`, ${U}`:S.value=`${U} ,`,T.value.focus(),T.value.scrollTop=T.value.scrollHeight}const Oe=async U=>{var Xt,Jt,jt,en,tn,nn,rn,an,on,sn,ln,cn,_n;if(a.setStreamIn(!0),a.groupList.length===0||!d.value)return;let F="";((Xt=q.value)==null?void 0:Xt.parameters)==="suno-v3"?F="LYRICS":((Jt=q.value)==null?void 0:Jt.parameters)==="midjourney"&&(F="IMAGINE");let le=((jt=D==null?void 0:D.value)==null?void 0:jt.model)||(a==null?void 0:a.activeModel),de=((en=q==null?void 0:q.value)==null?void 0:en.pluginName)||((tn=D==null?void 0:D.value)==null?void 0:tn.name)||Se.value;const ne=pe.value;(nn=q.value)!=null&&nn.parameters&&((rn=q.value)==null?void 0:rn.parameters)!=="net-search"&&((an=q.value)==null?void 0:an.parameters)!=="mind-map"&&(le=(on=q.value)==null?void 0:on.parameters);const ke=((sn=D==null?void 0:D.value)==null?void 0:sn.coverImg)||oe.value;let Je;D!=null&&D.value?Je=(ln=D==null?void 0:D.value)==null?void 0:ln.id:Je=(cn=se==null?void 0:se.value)==null?void 0:cn.appId;let je="";(Ye.value===1||Ye.value===2||Me||te)&&k.value?je=await lt():je="";let ye=S.value;if(le==="midjourney"&&F==="IMAGINE"){if(je)switch(I.value){case"faceConsistency":ye=`${ye} --cref ${je} --cw 100`;break;case"styleConsistency":ye=`${ye} --sref ${je}`;break;default:ye=`${je} ${ye}`}v.value.size&&!ye.includes("--ar")&&(ye=`${ye} --ar ${v.value.size}`),N.value&&!ye.includes("--v")&&!ye.includes("--niji")&&(ye=`${ye} ${N.value}`)}S.value="",k.value="",R=null,T.value.style.height="1rem",await n({msg:ye,action:F,model:le,modelName:de,modelType:ne,modelAvatar:ke,appId:Je,extraParam:v.value,fileUrl:je,pluginParam:(_n=q.value)==null?void 0:_n.parameters}),a.setStreamIn(!1),g.value=!1},lt=async()=>{var U;g.value=!0;try{const F=new FormData,le=new Date,de=le.getFullYear(),ne=String(le.getMonth()+1).padStart(2,"0"),ke=String(le.getDate()).padStart(2,"0"),je=`userFiles/${`${de}${ne}/${ke}`}`;R&&F.append("file",R);const ye=await Xu.post(`${ie.value}?dir=${encodeURIComponent(je)}`,F,{headers:{"Content-Type":"multipart/form-data"}});return(U=ye==null?void 0:ye.data)==null?void 0:U.data}catch{return null}finally{g.value=!1,k.value="",R=null}},tt=async U=>{var de;const F=U.target,le=(de=F==null?void 0:F.files)==null?void 0:de[0];le&&await ct(le)},dt=async U=>{const le=(U.clipboardData||window.clipboardData).items;for(const de of le)if(de.kind==="file"){const ne=de.getAsFile();ne&&await ct(ne)}},ct=async U=>{let F=U.name;const le=25,de=F.split(".").pop()||"";F.length>le&&(F=F.substring(0,le-de.length-1)+"…."+de),U.type.startsWith("image/")?(p.value=!1,Ke(U),await nt({fileName:F})):(p.value=!0,Ke(U),await nt({fileName:F}))},ge=()=>{E.value.click()},Ke=async U=>{console.log("file",U),R=U;const F=new FileReader;F.onload=le=>{var de;k.value=(de=le.target)==null?void 0:de.result},F.readAsDataURL(U)},be=async()=>{k.value="",await nt({fileParsing:"",fileName:""}),R=null},we=async()=>{f.value=[],ce.value=!1,V.value=!1,D.value=null,a.setUsingPlugin(null)},nt=async U=>{const{modelInfo:F,fileInfo:le}=a.activeConfig,de={modelInfo:{...F},fileInfo:{fileParsing:U.fileParsing!==void 0?U.fileParsing:le==null?void 0:le.fileParsing,fileName:U.fileName!==void 0?U.fileName:le==null?void 0:le.fileName}},ne={groupId:$.value,config:JSON.stringify(de)};await Rd(ne),await a.queryMyGroup()},_t=U=>{G.value?U.key==="Enter"&&U.ctrlKey&&(U.preventDefault(),Oe()):U.key==="Enter"&&!U.shiftKey&&(U.preventDefault(),Oe())},vt=U=>{var F;D.value=U,V.value=!0,S.value="",(F=T.value)==null||F.focus()},ut=()=>{s("pause-request"),a.setStreamIn(!1),d.value=!0};return Be([Y,P],([U,F],[le,de])=>{U&&F&&(U!==le||F!==de)&&(xe({id:"custom",title:`${U}:${F}`,values:`${U}:${F}`,aspectRatio:`${U} / ${F}`}),J.value=`${Y.value} / ${P.value}`)}),Be(We,U=>{var F;S.value=U,(F=T.value)==null||F.focus(),T.value.scrollTop=T.value.scrollHeight}),Be(j,U=>{U.length},{immediate:!0}),Ve(()=>{ue(),T.value&&(T.value.style.height=Xj,z({target:T.value})),It(()=>{T.value&&!G.value&&T.value.focus()})}),(U,F)=>{var le,de;return y(),w(De,null,[b("footer",{class:Te(["flex flex-col items-center justify-center w-full",[O(G)?"px-2":"px-10",{"mb-3":_e.value&&O(G)}]])},[b("div",{class:Te(["flex pb-2 justify-center w-full flex-col m-auto rounded-lg px-0 text-gray-900 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none",[O(G)?" mx-2":" pt-1 mx-10 "]]),style:{maxWidth:"64rem"}},[b("div",QJ,[(Xe.value||Me.value)&&!O(G)?(y(),w("div",$J,[(y(!0),w(De,null,Qe(m.value,(ne,ke)=>(y(),w("button",{key:ke,onClick:Je=>ve(ne),class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 px-2 py-1 my-1 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-900 dark:hover:text-gray-400 whitespace-nowrap"},Z(ne),9,ZJ))),128)),b("button",{onClick:ue,class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 px-2 py-2 my-1 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-900 dark:hover:text-gray-400"},[M(O(Ap),{theme:"outline",size:"16",class:"my-4"})])])):ee("",!0),XJ,b("div",JJ,[Me.value?(y(),Ee(O(ft),{key:0,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:fe(()=>[rt(Z(A.value.title),1)]),_:1}),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:fe(()=>[b("div",jJ,[(y(!0),w(De,null,Qe(c.value,(ne,ke)=>(y(),Ee(O(Pt),{key:ke},{default:fe(()=>[b("div",{class:"group flex items-center",onClick:Je=>Ie(ne)},[b("a",tj,Z(ne.title),1)],8,ej)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ee("",!0),Me.value?(y(),Ee(O(ft),{key:1,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:fe(()=>[rt(" 版本:"+Z(L.value.title),1)]),_:1}),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:fe(()=>[b("div",nj,[(y(!0),w(De,null,Qe(l.value,(ne,ke)=>(y(),Ee(O(Pt),{key:ke},{default:fe(()=>[b("div",{class:"group flex items-center",onClick:Je=>Ne(ne)},[b("a",aj,Z(ne.title),1)],8,rj)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ee("",!0)]),b("div",ij,[Xe.value?(y(),Ee(O(ft),{key:0,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:fe(()=>[rt(Z(O(X)("chat.size")+C.value.title),1)]),_:1}),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:fe(()=>[b("div",oj,[(y(!0),w(De,null,Qe(_.value,(ne,ke)=>(y(),Ee(O(Pt),{key:ke},{default:fe(()=>[b("div",{class:"group flex items-center",onClick:Je=>xe(ne)},[b("a",lj,[b("div",cj,[b("div",{style:Ct(qe(ne.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),b("div",_j,Z(ne.title),1)])],8,sj)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ee("",!0),te.value?(y(),Ee(O(ft),{key:1,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap",onClick:ge},{default:fe(()=>[rt(" 图生视频 ")]),_:1})]),_:1})):ee("",!0),Me.value||te.value?(y(),Ee(O(ft),{key:2,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:fe(()=>[rt(Z(O(X)("chat.size")+C.value.title),1)]),_:1}),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:fe(()=>[b("div",dj,[(y(!0),w(De,null,Qe(o.value,(ne,ke)=>(y(),Ee(O(Pt),{key:ke},{default:fe(()=>[b("div",{class:"group flex items-center",onClick:Je=>xe(ne)},[b("a",pj,[b("div",mj,[b("div",{style:Ct(qe(ne.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),b("div",gj,Z(ne.title),1)])],8,uj)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ee("",!0)])])],2),ce.value&&!V.value&&!q.value?(y(),w("div",{key:0,class:Te(["flex mb-2 w-full px-2 py-1 justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-primary-800 dark:ring-primary-800 dark:bg-gray-800",[O(G)?"mx-2":"mx-10"]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[f.value.length===0?(y(),w("div",Ej,fj)):ee("",!0),(y(!0),w(De,null,Qe(f.value,ne=>(y(),w("div",{key:ne.id,onClick:ke=>vt(ne),class:"flex items-center bg-white dark:bg-gray-800 hover:bg-gray-100 py-2 px-2 dark:hover:bg-gray-700 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},[b("div",Tj,[ne.coverImg?(y(),w("img",{key:0,src:ne.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,Cj)):(y(),w("span",hj,Z(ne.name.charAt(0)),1))]),b("h3",Rj,Z(ne.name),1),b("p",vj,Z(ne.des),1)],8,bj))),128))],2)):ee("",!0),b("div",{class:Te(["flex mb-2 w-full justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-primary-800 dark:ring-primary-800 dark:bg-gray-800",[O(G)?" mx-2":" mx-10 "]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[k.value||Re.value||V.value||q.value?(y(),w("div",Nj,[k.value&&!p.value?(y(),w("div",Aj,[b("img",{src:k.value,class:"max-h-16 border border-gray-300 rounded-lg",alt:"预览图片"},null,8,Ij),b("div",{class:"absolute top-2 right-0 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[0]||(F[0]=ne=>be())},[M(O(pn),{class:"rounded-full h-5 w-5"})])])):ee("",!0),p.value&&(k.value||Re.value)&&!V.value&&!q.value?(y(),w("div",Oj,[b("div",yj,[b("span",Dj,Z(Le.value),1)]),b("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[1]||(F[1]=ne=>be())},[M(O(pn),{class:"rounded-full h-5 w-5"})])])):ee("",!0),b("div",{class:"relative group w-full",onMouseover:F[4]||(F[4]=ne=>u.value=!0),onMouseleave:F[5]||(F[5]=ne=>u.value=!1)},[q.value?(y(),w(De,{key:0},[b("div",xj,[b("div",Lj,[q.value.pluginImg?(y(),w("img",{key:0,src:q.value.pluginImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,Mj)):(y(),w("span",wj,Z(q.value.pluginName.charAt(0)),1))]),b("h3",kj,Z(q.value.pluginName),1),b("p",Pj,Z(q.value.description),1)]),b("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[2]||(F[2]=ne=>we())},[M(O(pn),{class:"rounded-full h-5 w-5"})])],64)):ee("",!0),V.value&&!q.value?(y(),w(De,{key:1},[b("div",Uj,[b("div",Fj,[D.value.coverImg?(y(),w("img",{key:0,src:D.value.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,Bj)):(y(),w("span",Gj,Z(D.value.name.charAt(0)),1))]),b("h3",Yj,Z(D.value.name),1),b("p",qj,Z(D.value.des),1)]),b("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[3]||(F[3]=ne=>we())},[M(O(pn),{class:"rounded-full h-5 w-5"})])],64)):ee("",!0)],32)])):ee("",!0),b("div",Vj,[b("div",Hj,[(Ae.value&&!g.value||Me.value||te.value)&&!g.value?(y(),Ee(O(fp),{key:0,size:"24",class:"p-1 text-gray-400 dark:text-gray-600 dark:hover:text-gray-500",onClick:ge})):ee("",!0),g.value?(y(),Ee(O(bp),{key:1,size:"24",class:"p-1 rotate-icon text-gray-400 dark:text-gray-600 hover:text-gray-500"})):ee("",!0),b("input",{ref_key:"fileInput",ref:E,type:"file",class:"hidden",onChange:tt,accept:"image/*, application/pdf, text/plain, text/html, text/css, text/csv, application/xml, application/vnd.ms-excel, application/x-sh, application/javascript, application/xslt+xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document"},null,544)]),b("div",zj,[qt(b("textarea",{ref_key:"inputRef",ref:T,"onUpdate:modelValue":F[6]||(F[6]=ne=>S.value=ne),placeholder:he.value,class:"w-full border-0 text-gray-800 placeholder:text-gray-400 dark:placeholder:text-gray-500 bg-transparent text-md leading-6 resize-none dark:text-gray-400 px-2",onInput:z,onKeypress:_t,onKeyup:B,onPaste:dt,style:{maxHeight:"30vh",minHeight:"1.5rem"}},null,40,Wj),[[hn,S.value]])]),b("div",Kj,[re.value?(y(),w("button",{key:1,type:"button",class:"rounded-md bg-primary-600 text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 hover:bg-primary-500 dark:bg-primary-900 hover:dark:border-primary-500 dark:hover:bg-primary-800 dark:text-gray-400",onClick:F[8]||(F[8]=ne=>ut())},[M(O(Dp),{class:"h-4 w-4"})])):(y(),w("button",{key:0,type:"button",class:Te(["rounded-md text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 hover:bg-primary-500 dark:bg-primary-900 hover:dark:border-primary-500 dark:hover:bg-primary-800 dark:text-gray-400",{"bg-primary-600":S.value,"bg-primary-200":!S.value}]),disabled:me.value,onClick:F[7]||(F[7]=ne=>Oe())},[M(O(yp),{class:"h-4 w-4"})],10,Qj))])])],2)],2),ae.value&&!O(G)?(y(),w("div",$j,[rt(Z(O(X)("chat.generatedContentDisclaimer"))+" "+Z((le=Q.value)==null?void 0:le.companyName)+" ",1),b("a",Zj,Z((de=Q.value)==null?void 0:de.filingNumber),1)])):ee("",!0)],64)}}});const jj={class:"sticky top-0 left-0 right-0 z-30 border-b-gray-100 dark:border-neutral-800 bg-white dark:bg-gray-900 h-14 select-none"},eee={class:"relative flex items-center justify-center min-w-0 h-full"},tee={class:"max-w-screen-4xl flex w-full h-full items-center px-4"},nee={class:"flex items-center pr-2"},ree={class:"flex justify-between items-center h-full w-full"},aee={class:"py-1"},iee={class:"py-1"},oee={class:"py-1"},see=["onClick"],lee={class:"w-7 h-7 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden select-none"},cee=["src"],_ee={key:1,class:"text-sm font-medium select-none"},dee={class:"flex flex-col flex-1 select-none"},uee={href:"#",class:"text-sm select-none"},pee={key:0,class:"text-xs text-gray-400 line-clamp-1 max-w-60 mr-2 select-none"},mee={class:"ml-auto"},gee={key:1,class:"w-4 h-4"},Eee={key:0,class:"mr-2"},See=Ue({__name:"index",props:{usingContext:{type:Boolean}},emits:["export","toggleUsingContext","clear","scrollBtn"],setup(t,{emit:e}){const n=vd(),r=Ze(),i=W([]),a=W(null),s=H(()=>n.siderCollapsed),o=H(()=>r.active),{isMobile:l}=ze(),c=W(!1),_=H(()=>r.getChatByGroupInfo()),d=H(()=>{var C;const m=(C=_.value)==null?void 0:C.config;if(!m)return{};try{return JSON.parse(m)}catch{return{}}}),u=H(()=>{var m,C;return String(((C=(m=d==null?void 0:d.value)==null?void 0:m.modelInfo)==null?void 0:C.model)??"")}),p=H(()=>{var m;return((m=_==null?void 0:_.value)==null?void 0:m.appId)||0});let E=W({}),g=W([]);Be(p,m=>{m?f(m):a.value=null},{immediate:!0});async function f(m){const C=await Cd({id:m});a.value=C.data}const S=H(()=>{var m,C,A;return((m=_==null?void 0:_.value)==null?void 0:m.appId)&&(((C=d.value.modelInfo)==null?void 0:C.isFixedModel)===1||((A=d.value.modelInfo)==null?void 0:A.isGPTs)===1)}),T=gt("createNewChatGroup",()=>Promise.resolve());function v(){n.setSiderCollapsed(!s.value)}async function I(m){var D;const{modelInfo:C,fileInfo:A}=r.activeConfig,{isGPTs:L,isFixedModel:Y,modelName:P}=C,J={modelInfo:{keyType:m.keyType,modelName:((D=_==null?void 0:_.value)!=null&&D.appId?P:m.label)||"",model:m.value,deductType:m.deductType,deduct:m.deduct,isFileUpload:m.isFileUpload,modelAvatar:m.modelAvatar||"",isGPTs:L,isFixedModel:Y},fileInfo:A||{}},ce={groupId:o.value,config:JSON.stringify(J)};await Rd(ce),await r.queryMyGroup()}async function N(){try{const m=await Ju();if(!m.success)return;const{modelMaps:C,modelTypeList:A}=m.data;E.value=C,g.value=A;const Y=Object.values(C).flat().filter(P=>P.keyType===1);i.value=Y.map(P=>({label:P.modelName,value:P.model,deductType:P.deductType,keyType:P.keyType,deduct:P.deduct,isFileUpload:P.isFileUpload,modelAvatar:P.modelAvatar,modelDescription:P.modelDescription}))}catch{}}return Ve(()=>{N()}),(m,C)=>(y(),w("header",jj,[b("div",eee,[b("div",tee,[b("div",nee,[b("button",{class:"flex items-center justify-center w-5 h-full dark:text-gray-400 text-gray-500",onClick:v},[s.value?(y(),Ee(O(vp),{key:0,theme:"outline",size:"24"})):(y(),Ee(O(Sp),{key:1,theme:"outline",size:"24"}))])]),b("div",ree,[S.value?(y(),Ee(O(ft),{key:0,as:"div",class:"relative flex-1 flex ele-drag items-center h-full dark:bg-gray-900"},{default:fe(()=>[b("div",null,[b("div",aee,[M(O(St),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-700"},{default:fe(()=>{var A;return[rt(Z(((A=_.value)==null?void 0:A.title)||"新对话"),1)]}),_:1})])])]),_:1})):(y(),Ee(O(ft),{key:1,as:"div",class:"relative flex-1 flex ele-drag items-center h-full dark:bg-gray-900"},{default:fe(()=>[b("div",null,[b("div",iee,[M(O(St),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-500",onMouseover:C[0]||(C[0]=A=>c.value=!0),onMouseleave:C[1]||(C[1]=A=>c.value=!1)},{default:fe(()=>{var A,L;return[rt(Z(((L=(A=d.value)==null?void 0:A.modelInfo)==null?void 0:L.modelName)||"新对话")+" ",1),c.value&&!O(l)?(y(),Ee(O(up),{key:0,size:"18"})):ee("",!0)]}),_:1})])]),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute left-0 top-full z-10 origin-top-left divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto",style:{maxHeight:"60vh"}},{default:fe(()=>[b("div",oee,[(y(!0),w(De,null,Qe(i.value,(A,L)=>(y(),Ee(O(Pt),{key:L},{default:fe(()=>[b("div",{class:"flex items-center space-x-4 mx-2 hover:bg-gray-100 dark:hover:bg-gray-700 p-2 rounded-md select-none",onClick:Y=>I(A)},[b("div",lee,[A.modelAvatar?(y(),w("img",{key:0,src:A.modelAvatar,alt:"app cover",class:"w-full h-full object-cover"},null,8,cee)):(y(),w("span",_ee,Z(A.label.charAt(0)),1))]),b("div",dee,[b("a",uee,Z(A.label),1),A.modelDescription?(y(),w("div",pee,Z(A.modelDescription),1)):ee("",!0)]),b("div",mee,[u.value===A.value?(y(),Ee(O(mp),{key:0,theme:"filled",size:"16",class:"dark:text-gray-500"})):(y(),w("div",gee))])],8,see)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})),b("button",{type:"button",class:"rounded-md p-2 text-sm focus-visible:outline-none text-gray-500 hover:text-gray-700 dark:hover:text-gray-400 hover:bg-gray-50 flex items-center dark:hover:bg-gray-800 font-semibold",onClick:C[2]||(C[2]=A=>O(T)())},[O(l)?ee("",!0):(y(),w("div",Eee,"新建对话")),M(O(Ep),{size:"20"})])])])])]))}});function fee(){const t=Ze();return{addGroupChat:i=>{t.addGroupChat(i)},updateGroupChat:(i,a)=>{t.updateGroupChat(i,a)},updateGroupChatSome:(i,a)=>{t.updateGroupChatSome(i,a)}}}function bee(){function t(){document.querySelectorAll(".code-block-wrapper").forEach(n=>{const r=n.querySelector(".code-block-header__copy"),i=n.querySelector(".code-block-body");r&&i&&r.addEventListener("click",()=>{var a;(a=navigator.clipboard)!=null&&a.writeText?navigator.clipboard.writeText(i.textContent??""):Ld({text:i.textContent??"",origin:!0})})})}Ve(()=>t()),Id(()=>t())}function Tee(t,e){let n=!1;return function(){n||(t(),n=!0,setTimeout(()=>{n=!1},e))}}function Cee(){const t=W(null);let e=0;const n=async()=>{await It();let s=Date.now();if(s-e>1e3&&(e=s,await It(),t.value)){t.value.scrollTop=t.value.scrollHeight;return}},r=async()=>{await It(),t.value&&(t.value.scrollTop=0)},i=Tee(a,100);async function a(){await It(),t.value&&t.value.scrollHeight-t.value.scrollTop-t.value.clientHeight<=100&&(t.value.scrollTop=t.value.scrollHeight)}return{scrollRef:t,scrollToBottom:n,scrollToTop:r,scrollToBottomIfAtBottom:i}}function hee(){const t=Vt(),e=Ze(),n=H(()=>e.usingContext);function r(){e.setUsingContext(!n.value),n.value?t.success(X("chat.turnOnContext")):t.warning(X("chat.turnOffContext"))}return{usingContext:n,toggleUsingContext:r}}const Ree={class:"h-full flex flex-col pb-2 bg-white dark:bg-gray-900"},vee={class:"flex-1 overflow-hidden"},Nee={key:2},Aee={class:"sticky bottom-0 left-0 flex justify-center mb-1 p-1"},Iee=Ue({__name:"chatBase",setup(t){const e=Nd(),n=op(),r=Vt(),{isMobile:i}=ze(),{scrollRef:a,scrollToBottom:s,scrollToBottomIfAtBottom:o}=Cee(),{usingContext:l,toggleUsingContext:c}=hee();bee();const _=hd(),d=Dt(),u=Ze(),p=W(),E=W(!1),g=W(!0),f=W(!0),S=W(!1),T=W(new AbortController),v=H(()=>e.query.trade_status),I=H(()=>e.query.token),N=H(()=>d.isLogin),m=H(()=>u.currentPlugin),C=H(()=>u.chatList),A=H(()=>u.active),L=H(()=>u.getChatByGroupInfo()),Y=H(()=>C.value.filter($=>!$.inversion&&!$.error)),P=H(()=>{var se;const $=Y.value.filter(K=>{var Re;return(Re=K.conversationOptions)==null?void 0:Re.parentMessageId});return(se=$[$.length-1])==null?void 0:se.conversationOptions}),J=H(()=>{var se;const $=(se=L.value)==null?void 0:se.config;if(!$)return{};try{return JSON.parse($)}catch{return{}}}),ce=H(()=>{var $,se;return String(((se=($=J==null?void 0:J.value)==null?void 0:$.fileInfo)==null?void 0:se.fileParsing)||"")}),D=H(()=>{var $,se;return String(((se=($=J==null?void 0:J.value)==null?void 0:$.modelInfo)==null?void 0:se.model)||"")}),V=H(()=>{var $;return String((($=m==null?void 0:m.value)==null?void 0:$.pluginName)||(J==null?void 0:J.value.modelInfo.modelName)||"AI")}),k=H(()=>Number((J==null?void 0:J.value.modelInfo.keyType)||1)),R=H(()=>{var $,se;return String((($=m==null?void 0:m.value)==null?void 0:$.pluginImg)||((se=J==null?void 0:J.value.modelInfo)==null?void 0:se.modelAvatar)||"")}),x=H(()=>{var $;return(($=L==null?void 0:L.value)==null?void 0:$.appId)||0}),{addGroupChat:Q,updateGroupChat:ae,updateGroupChatSome:_e}=fee(),G=()=>{const $=a.value;if(!$)return;if(!($.scrollHeight>$.clientHeight)){S.value=!0;return}const K=p.value.getBoundingClientRect();S.value=K.top{p.value.scrollIntoView({behavior:"smooth"})},re=async({msg:$,action:se,drawId:K,customId:Re,model:Le,modelName:Pe,modelType:Ye,modelAvatar:Ae,appId:Xe,extraParam:Me,fileUrl:te})=>{var tt,dt,ct,ge,Ke;u.setStreamIn(!0);const We=Pe||V.value,he=Ye||k.value||1,me=Ae||R.value,qe=Xe||x.value;let xe=$||"提问",Ne=Le||D.value;T.value=new AbortController,(tt=m.value)!=null&&tt.parameters&&((dt=m.value)==null?void 0:dt.parameters)!=="net-search"&&((ct=m.value)==null?void 0:ct.parameters)!=="mind-map"&&(Ne=(ge=m.value)==null?void 0:ge.parameters),Q({text:xe,model:Ne,modelName:Pe,modelType:Ye,inversion:!0,fileInfo:te});let Ie={groupId:+A.value,fileParsing:ce.value};P.value&&l.value&&(Ie={...P.value,...Ie}),Q({text:"",model:Ne,modelName:Pe,modelType:Ye,loading:!0,inversion:!1,error:!1,modelAvatar:me,status:2,pluginParam:(Ke=m.value)==null?void 0:Ke.parameters}),await s();const z=null;let B=null;E.value=!0,_.updateIsChatIn(!0);const oe=async()=>{Ne==="dall-e-3"||Ne==="midjourney"||Ne==="suno-v3"||Ne==="stable-diffusion"||Ne==="luma-video"?await ue():await ve()},ue=async()=>{var be;try{const we=await es({prompt:xe,fileInfo:te||"",model:Ne,modelName:We,modelAvatar:me,modelType:2,action:se,drawId:K||"",customId:Re,options:Ie,usingPluginId:((be=m.value)==null?void 0:be.pluginId)||0,extraParam:Me||{},signal:T.value.signal});Oe(we)}catch{}},ve=async()=>{var nt;let be="",we=0;try{await es({model:Ne,modelName:We,modelType:he,prompt:$,usingPluginId:((nt=m.value)==null?void 0:nt.pluginId)||0,fileInfo:te,appId:qe||0,modelAvatar:me,options:Ie,signal:T.value.signal,onDownloadProgress:({event:_t})=>{const ut=_t.target.responseText,U=ut.substring(we);we=ut.length,U.trim().split(` +`).forEach(le=>{try{const de=JSON.parse(le);de.userBalance&&d.updateUserBalance(de.userBalance),de.text&&(be+=de.text)}catch{}}),ae(C.value.length-1,{chatId:B==null?void 0:B.chatId,text:be,modelType:1,modelName:We,error:!1,loading:!0,fileInfo:B==null?void 0:B.fileInfo}),o()}})}catch(_t){lt(_t)}finally{_.updateIsChatIn(!1),g.value=!0,_e(C.value.length-1,{loading:!1})}},Oe=be=>{if(!be)return;const{modelName:we,model:nt,drawId:_t,customId:vt,text:ut,status:U,fileInfo:F,userBalance:le,pluginParam:de}=be,ne=C.value.length-1;ae(ne,{text:ut,model:nt,modelType:2,modelName:we,inversion:!1,drawId:_t,customId:vt,error:!1,loading:!1,fileInfo:F,status:U,pluginParam:de}),s(),Object.keys(le).length&&d.updateUserBalance(le)},lt=be=>{if(console.error("fetchChatAPIProcess error:",be),_.updateIsChatIn(!1),clearInterval(z),E.value=!1,(be.code===402||be!=null&&be.message.includes("余额不足")||be!=null&&be.message.includes("免费额度"))&&(N.value?_.updateGoodsDialog(!0):d.setLoginDialog(!0)),be!=null&&be.message.includes("canceled")){_e(C.value.length-1,{loading:!1}),o(),setTimeout(()=>{d.getUserBalance()},200);return}const we=C.value[C.value.length-1];ae(C.value.length-1,{chatId:B==null?void 0:B.chatId,ttsUrl:B==null?void 0:B.ttsUrl,taskData:B==null?void 0:B.taskData,videoUrl:B==null?void 0:B.videoUrl,audioUrl:B==null?void 0:B.audioUrl,status:B==null?void 0:B.status,action:B==null?void 0:B.action,text:we.text===""?"":we.text,inversion:!1,loading:!1,fileInfo:B==null?void 0:B.fileInfo,conversationOptions:null,pluginParam:B==null?void 0:B.pluginParam}),o()};await oe(),u.setStreamIn(!1),u.queryActiveChatLogList(),u.queryMyGroup(),E.value=!1,g.value=!0,o()},j=()=>{T.value.abort(),s()},ie=async $=>{try{d.setToken($),await jo.replace({name:"Chat",query:{}}),r.success("账户登录成功、开始体验吧!"),await d.getUserInfo()}catch(se){console.error("登录过程中发生错误:",se)}},Se=async()=>{v.value.toLowerCase().includes("success")?(r.success("感谢你的购买、祝您使用愉快~",{duration:5e3}),await d.getUserInfo(),jo.replace({name:"Chat",query:{}})):r.error("您还没有购买成功哦~")},pe=({chatId:$})=>{n.warning({title:X("chat.deleteMessage"),content:X("chat.deleteMessageConfirm"),positiveText:X("common.yes"),negativeText:X("common.no"),onPositiveClick:()=>{u.deleteChatById($),r.success(X("chat.deleteSuccess"))}})};return Be(C,$=>{$.length!==0&&f.value&&(f.value=!1,s())},{immediate:!0}),Be(a,()=>{G()},{flush:"post"}),Ve(async()=>{I.value&&ie(I.value),v.value&&Se(),N.value||d.setLoginDialog(!0),await It(async()=>{await u.queryActiveChatLogList()})}),Ve(()=>{const $=a.value;$&&$.addEventListener("scroll",G)}),Od("onConversation",re),($,se)=>(y(),w("div",Ree,[M(See,{"using-context":O(l),onToggleUsingContext:O(c)},null,8,["using-context","onToggleUsingContext"]),b("main",vee,[b("div",{id:"scrollRef",ref_key:"scrollRef",ref:a,class:"relative h-full overflow-hidden overflow-y-auto scroll-smooth"},[b("div",{id:"image-wrapper",class:Te(["w-full m-auto h-full mx-auto",[O(i)?"p-3":"p-3 w-full"]]),style:{maxWidth:"64rem"}},[!C.value.length&&!x.value?(y(),w("div",{key:0,class:Te(["flex justify-center items-center text-center",[O(i)?"h-full":"h-4/5 "]])},[M(wJ)],2)):ee("",!0),!C.value.length&&x.value?(y(),w("div",{key:1,class:Te(["flex justify-center items-center",[O(i)?"h-full":"h-4/5 "]])},[M(KJ,{appId:x.value},null,8,["appId"])],2)):ee("",!0),C.value.length?(y(),w("div",Nee,[(y(!0),w(De,null,Qe(C.value,K=>(y(),Ee(O(IJ),{chatId:K.chatId,text:K.text,model:K.model,modelType:K.modelType,modelName:K.modelName,modelAvatar:K.modelAvatar,status:K.status,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,taskData:K.taskData,videoUrl:K.videoUrl,audioUrl:K.audioUrl,action:K.action,inversion:K.inversion,loading:K.loading,drawId:K.drawId,customId:K.customId,pluginParam:K.pluginParam,onDelete:Re=>pe(K)},null,8,["chatId","text","model","modelType","modelName","modelAvatar","status","fileInfo","ttsUrl","taskData","videoUrl","audioUrl","action","inversion","loading","drawId","customId","pluginParam","onDelete"]))),256)),b("div",Aee,[S.value?ee("",!0):(y(),w("button",{key:0,class:"bg-white rounded-full p-1 ring-1 text-gray-700 ring-gray-200 dark:ring-gray-600 dark:bg-gray-800 dark:text-gray-500",onClick:q},[M(O(Op),{class:"h-5 w-5 font-bold"})]))])])):ee("",!0),b("div",{ref_key:"bottomContainer",ref:p,class:"bottom"},null,512)],2)],512)]),M(Jj,{onPauseRequest:j})]))}});const Oee={class:"w-full h-full flex justify-center items-center flex-col bg-white dark:bg-gray-900"},yee={class:"mb-4 text-2xl font-bold mt-1"},Dee={class:"mb-6 text-base text-slate-500"},xee=Ue({__name:"index",setup(t){const e=gt("createNewChatGroup",()=>Promise.resolve());return(n,r)=>(y(),w("div",Oee,[M(O(xo),{icon:"tabler:message",class:"mb-4 inline-block text-6xl text-primary-600"}),b("h1",yee,Z(O(X)("chat.chatDialogue")),1),b("p",Dee,Z(O(X)("chat.startNewConversationPrompt")),1),b("button",{onClick:r[0]||(r[0]=i=>O(e)()),class:"bg-primary-500 hover:bg-primary-600 dark:bg-gray-800 dark:hover:bg-gray-700 py-2 px-4 text-white rounded-md"},Z(O(X)("chat.newConversation")),1)]))}}),Lee={class:"h-full transition-all"},Mee={class:"w-full flex-1"},Qee=Ue({__name:"chat",setup(t){const e=Vt(),n=Nd(),r=ju(),i=vd(),a=Ze(),s=Dt(),{isMobile:o}=ze(),l=H(()=>s.isLogin),c=H(()=>i.siderCollapsed),_=H(()=>a.groupList),d=H(()=>n.query.appId),u=W(0),p=W(0),E=H(()=>{var N;return Number((N=s.globalConfig)==null?void 0:N.isModelInherited)===1}),g=H(()=>a.isStreamIn!==void 0?a.isStreamIn:!1);Be(l,async(N,m)=>{N&&!m&&await a.queryMyGroup()});const f=H(()=>o.value?["rounded-none","shadow-none"]:["rounded-none","shadow-md","dark:border-gray-900"]),S=H(()=>["h-full",{"pl-[260px]":!o.value&&!c.value}]);async function T(N){if(g.value){e.info("AI回复中,请稍后再试");return}a.setStreamIn(!1);try{if(N&&N>0)await a.addNewChatGroup(N);else{const{modelInfo:m}=a.activeConfig;if(m&&E.value&&a.activeGroupAppId===0){const C={modelInfo:m};await a.addNewChatGroup(0,C)}else await a.addNewChatGroup()}o.value&&i.setSiderCollapsed(!0)}catch{}}function v(N){u.value=N.touches[0].clientX}function I(N){p.value=N.changedTouches[0].clientX,p.value-u.value>100&&o.value&&i.setSiderCollapsed(!1)}return Ve(()=>{window.addEventListener("touchstart",v),window.addEventListener("touchend",I)}),Ft(()=>{window.removeEventListener("touchstart",v),window.removeEventListener("touchend",I)}),Od("createNewChatGroup",T),Be(d,async(N,m)=>{if(N){const C=+N;await r.replace({path:"/chat",query:{}}),T(C)}},{immediate:!0}),(N,m)=>(y(),w("div",Lee,[b("div",{class:Te(["h-full overflow-hidden",f.value])},[M(O(sp),{class:Te(["z-40 transition",S.value]),"has-sider":""},{default:fe(()=>[M(pp,{class:"h-full"}),b("div",Mee,[_.value.length?ee("",!0):(y(),Ee(xee,{key:0})),_.value.length?(y(),Ee(Iee,{key:1})):ee("",!0)])]),_:1},8,["class"])],2)]))}});export{Qee as default}; diff --git a/public/assets/chat-ba97c867.js.br b/public/assets/chat-ba97c867.js.br new file mode 100644 index 0000000..61613ec Binary files /dev/null and b/public/assets/chat-ba97c867.js.br differ diff --git a/public/assets/chat-c19dad35.css b/public/assets/chat-c19dad35.css deleted file mode 100644 index 5428447..0000000 --- a/public/assets/chat-c19dad35.css +++ /dev/null @@ -1 +0,0 @@ -.no-drag{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.markdown-body{background-color:transparent;font-size:1rem}.markdown-body p{white-space:pre-wrap;margin-right:1rem}.markdown-body ol{list-style-type:decimal}.markdown-body ul{list-style-type:disc}.markdown-body pre code,.markdown-body pre tt{line-height:1.65}.markdown-body .highlight pre,.markdown-body pre{background-color:#1f2937}.markdown-body code.hljs{padding:0}.markdown-body .code-block-wrapper{position:relative;padding-top:2rem;margin-right:1rem}.markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:space-between;align-items:center;color:#b3b3b3}.markdown-body .code-block-header__copy{cursor:pointer;margin-left:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.markdown-body .code-block-header__copy:hover{color:#65a665}.whitespace-pre-wrap{background-color:transparent;font-size:1rem}.rotate-icon{animation:rotateAnimation 3s linear infinite;transform-origin:center}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.5);opacity:.5}}.breathing-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background-color:#000;animation:breathe 2s infinite}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}.loading-anchor:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;background-color:#000;border-radius:50%;animation:breathe 2s infinite ease-in-out;vertical-align:middle}@keyframes rotateAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::v-deep .rotate-icon{animation:rotateAnimation 1s linear infinite} diff --git a/public/assets/chatStore-067dd921.js b/public/assets/chatStore-067dd921.js new file mode 100644 index 0000000..f8cd3c4 --- /dev/null +++ b/public/assets/chatStore-067dd921.js @@ -0,0 +1 @@ +import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-d25a7e27.js";import{X as l,d as N,e as f,r as p,a as G,w as Z,f as E,o as O,S as r,U as o,a3 as a,a4 as u,M as i,k as X,a7 as J,F as S,a6 as j,a8 as v,W as L,ab as K,A as Y}from"./vue-10b4afc0.js";import{a as ee,e as z,N as te,t as y,O as se,P as ae,L as ne,Q as le,r as re}from"./index-d64a7cc4.js";import{I as B}from"./menu-19bde8fc.js";import{e as oe,Q as ie,H as ce}from"./naive-ui-fedd20b1.js";import{u as de}from"./useBasicLayout-a4f17bae.js";import"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import"./vueuse-motion-d4cdaf7b.js";const ue=B("search",!0,function(t){return l("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[l("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),l("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),l("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),fe=B("star",!1,function(t){return l("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[l("path",{d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),pe={class:"relative flex justify-center bg-custom-gradient dark:bg-gray-900 min-h-screen"},ge={class:"w-full flex flex-col items-center max-w-screen-4xl p-4 lg:p-6"},he={class:"mb-2 mt-8 text-center text-3xl font-extrabold text-primary-500 dark:text-primary-600 lg:text-4xl"},me={class:"flex justify-center text-base text-small mb-4 mt-4 text-center text-gray-500 dark:text-gray-400 tracking-widest lg:text-lg"},xe={class:"flex w-full rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800"},ye={class:"relative flex flex-1 w-full"},ve={for:"search-field",class:"sr-only"},_e={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},ke=["placeholder"],we={class:"w-full"},be={class:"flex lg:justify-between overflow-x-auto scrollbar-hide my-2 pb-3 pt-4",style:{"max-width":"80%",margin:"auto"}},Ce=["onClick"],Le=["onClick"],Ae={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},Ie=["src"],Me={class:"text-white text-sm md:text-lg"},Se={class:"flex-grow flex flex-col"},je={class:"flex items-center font-medium text-lg text-gray-600 dark:text-gray-400 my-1"},Ne={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},ze={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-3"},Be=N({__name:"index",setup(t){var M;const m=ee(),g=z(),_=((M=m.globalConfig)==null?void 0:M.siteName)||"AIWeb",k=f(()=>m.globalConfig.appMenuHeaderTips),w=oe(),x=te(),c=p(""),P=p([]),Q=f(()=>x.catId),d=p([]),b=p([]),W=f(()=>x.mineApps),A=p([]),h=p(0);G("createNewChatGroup",async e=>{});function I(e){return W.value.some(n=>n.appId===e.id)}async function $(){var n;const e=await se();d.value=(n=e==null?void 0:e.data)==null?void 0:n.rows.map(s=>(s.loading=!1,s)),b.value=d.value}const q=f(()=>c.value?d.value.filter(e=>e.name.includes(c.value)):h.value===0?d.value:d.value.filter(e=>e.catId===h.value));async function F(e){e.loading=!0;try{const n=await ae({appId:e.id});w.success(n.data),await x.queryMineApps(),e.loading=!1}catch{e.loading=!1}}async function T(e){const n=Number(e.id);ne.push({path:"/chat",query:{appId:n}})}async function H(){var s;const e=await le(),n={id:0,name:y("app.allCategories")};A.value=[n,...(s=e==null?void 0:e.data)==null?void 0:s.rows]}async function R(){const e=await re({menuPlatform:1});e.success&&(P.value=e.data)}function U(e){h.value=e}Z(Q,e=>{e?b.value=d.value.filter(n=>n.catId===e):b.value=d.value});function V(){const e=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return e[Math.floor(Math.random()*e.length)]}return E(()=>{H(),$(),R(),g.setSiderCollapsed(!0)}),O(()=>{g.setSiderCollapsed(!1)}),(e,n)=>(r(),o("div",pe,[a("div",ge,[a("div",he,u(i(_)),1),a("div",me,u(k.value||i(y)("app.exploreInfinitePossibilities")),1),a("div",xe,[a("div",ye,[a("label",ve,u(i(y)("app.searchAppNameQuickFind")),1),a("div",_e,[l(i(ue),{theme:"outline",size:"24",class:"text-gray-400"})]),X(a("input",{id:"search-field","onUpdate:modelValue":n[0]||(n[0]=s=>c.value=s),class:"z-1 w-full rounded-xl dark:bg-gray-800 py-2 pr-3 font-normal outline-0 delay-100 md:h-14 h-12 text-base pl-12 dark:text-gray-400",placeholder:i(y)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,ke),[[J,c.value]])])]),a("div",we,[a("div",be,[(r(!0),o(S,null,j(A.value,(s,C)=>(r(),o("div",{key:C,onClick:Qe=>U(s.id),class:v([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400 ":h.value===s.id,"text-gray-500":h.value!==s.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 m-1 lg:m-0 flex-none"])},u(s.name),11,Ce))),128))])]),l(Y,{name:"list",tag:"div",class:"w-full grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-4 gap-4 py-1"},{default:L(()=>[(r(!0),o(S,null,j(q.value,s=>(r(),o("div",{key:s.id,onClick:C=>T(s),class:"custom-card cursor-pointer flex items-center gap-5 overflow-hidden rounded-xl bg-gray-50 px-7 py-8 m-1 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[s.coverImg?(r(),o("div",Ae,[a("img",{src:s.coverImg,class:"rounded-2xl w-20 h-20",alt:"app-image"},null,8,Ie)])):(r(),o("div",{key:1,class:v([V(),"flex-shrink-0 dark:ring-gray-400 rounded-2xl w-20 h-20 flex items-center justify-center"])},[a("span",Me,u(s.name.slice(0,4)),1)],2)),a("div",Se,[a("div",je,[a("span",Ne,u(s.name),1),l(i(fe),{theme:I(s)?"filled":"outline",size:"24",fill:I(s)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:K(C=>F(s),["stop"])},null,8,["theme","fill","onClick"])]),a("span",ze,u(s.des),1)])],8,Le))),128))]),_:1})])]))}});const Pe={class:"h-full dark:bg-gray-900 transition-all"},Ve=N({__name:"chatStore",setup(t){const m=z(),{isMobile:g}=de(),_=f(()=>m.siderCollapsed),k=f(()=>g.value?["rounded-none","shadow-none"]:["rounded-md","shadow-md","dark:border-neutral-800"]),w=f(()=>["h-full",{"pl-[260px]":!g.value&&!_.value}]);return(x,c)=>(r(),o("div",Pe,[a("div",{class:v(["h-full overflow-hidden",k.value])},[l(i(ie),{class:v(["z-40 transition",w.value]),"has-sider":""},{default:L(()=>[l(D),l(i(ce),{class:"h-full"},{default:L(()=>[l(Be,{onRunApp:c[0]||(c[0]=()=>{})})]),_:1})]),_:1},8,["class"])],2)]))}});export{Ve as default}; diff --git a/public/assets/chatStore-067dd921.js.br b/public/assets/chatStore-067dd921.js.br new file mode 100644 index 0000000..dc83924 Binary files /dev/null and b/public/assets/chatStore-067dd921.js.br differ diff --git a/public/assets/chatStore-7c2b419e.js b/public/assets/chatStore-7c2b419e.js deleted file mode 100644 index 7e1cb0f..0000000 --- a/public/assets/chatStore-7c2b419e.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-470ccb3e.js";import{aG as N,Q as l,g as P,az as Q,H as X,ak as R,aH as J,r as u,k as c,K,J as O,aY as Y,w as ee,L as te,m as ae,E as o,F as r,G as s,S as g,X as i,a0 as m,ah as se,aU as ne,O as z,P as B,aA as v,R as L,W as le,aZ as oe,a_ as re,a$ as ie,aS as ce,b0 as de,b1 as ue,b2 as ge,aX as fe}from"./index-2efe4620.js";import"./LayoutSider-0c83106f.js";const he=N("search",!0,function(a){return l("svg",{width:a.size,height:a.size,viewBox:"0 0 48 48",fill:"none"},[l("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:a.colors[1],stroke:a.colors[0],"stroke-width":a.strokeWidth,"stroke-linejoin":a.strokeLinejoin},null),l("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:a.colors[2],"stroke-width":a.strokeWidth,"stroke-linecap":a.strokeLinecap,"stroke-linejoin":a.strokeLinejoin},null),l("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:a.colors[0],"stroke-width":a.strokeWidth,"stroke-linecap":a.strokeLinecap,"stroke-linejoin":a.strokeLinejoin},null)])}),pe=N("star",!1,function(a){return l("svg",{width:a.size,height:a.size,viewBox:"0 0 48 48",fill:"none"},[l("path",{d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:a.colors[1],stroke:a.colors[0],"stroke-width":a.strokeWidth,"stroke-linejoin":a.strokeLinejoin},null)])}),me={class:"relative flex justify-center bg-custom-gradient dark:bg-gray-900 min-h-screen"},xe={class:"w-full flex flex-col items-center max-w-screen-4xl p-4 lg:p-6"},ye={class:"mb-2 mt-8 text-center text-3xl font-extrabold text-primary-500 dark:text-primary-600 lg:text-4xl"},ve={class:"flex justify-center text-base text-small mb-4 mt-4 text-center text-gray-500 dark:text-gray-400 tracking-widest lg:text-lg"},_e={class:"flex w-full rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800"},ke={class:"relative flex flex-1 w-full"},we={for:"search-field",class:"sr-only"},be={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},Ce=["placeholder"],Le={class:"w-full"},Ae={class:"flex lg:justify-between overflow-x-auto scrollbar-hide my-2 pb-3 pt-4",style:{"max-width":"80%",margin:"auto"}},Me=["onClick"],Ie=["onClick"],Se={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},je=["src"],ze={class:"text-white text-sm md:text-lg"},Be={class:"flex-grow flex flex-col"},Ne={class:"flex items-center font-medium text-lg text-gray-600 dark:text-gray-400 my-1"},Pe={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},Qe={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-3"},Re=P({__name:"index",emits:["run-app"],setup(a,{emit:A}){var j;Q();const f=X(),x=R();J(),u(!1);const _=((j=f.globalConfig)==null?void 0:j.siteRobotName)||"AIWeb",k=c(()=>f.globalConfig.appMenuHeaderTips);c(()=>f.globalConfig.appMenuHeaderBgUrl);const M=K(),h=O(),w=Y(),y=u(""),W=u([]),$=c(()=>w.catId),d=u([]),b=u([]),q=c(()=>w.mineApps),I=u([]),p=u(0);function S(e){return q.value.some(n=>n.appId===e.id)}async function H(){var n;const e=await re();d.value=(n=e==null?void 0:e.data)==null?void 0:n.rows.map(t=>(t.loading=!1,t)),b.value=d.value}const F=c(()=>y.value?d.value.filter(e=>e.name.includes(y.value)):p.value===0?d.value:d.value.filter(e=>e.catId===p.value));async function T(e){e.loading=!0;try{const n=await ie({appId:e.id});h.success(n.data),await w.queryMineApps(),e.loading=!1}catch{e.loading=!1}}async function U(e){const n=await ce(),{modelMaps:t}=n.data;if(!t[1])return h.warning(m("app.noModelConfigured"));M.push({path:"/chat",query:{appId:e.id}})}async function G(){var t;const e=await de(),n={id:0,name:m("app.allCategories")};I.value=[n,...(t=e==null?void 0:e.data)==null?void 0:t.rows]}async function V(){const e=await ue({menuPlatform:1});e.success&&(W.value=e.data)}function Z(e){p.value=e}ee($,e=>{e?b.value=d.value.filter(n=>n.catId===e):b.value=d.value});function D(){const e=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return e[Math.floor(Math.random()*e.length)]}return te(()=>{G(),H(),V(),x.setSiderCollapsed(!0)}),ae(()=>{x.setSiderCollapsed(!1)}),(e,n)=>(o(),r("div",me,[s("div",xe,[s("div",ye,g(i(_)),1),s("div",ve,g(k.value||i(m)("app.exploreInfinitePossibilities")),1),s("div",_e,[s("div",ke,[s("label",we,g(i(m)("app.searchAppNameQuickFind")),1),s("div",be,[l(i(he),{theme:"outline",size:"24",class:"text-gray-400"})]),se(s("input",{id:"search-field","onUpdate:modelValue":n[0]||(n[0]=t=>y.value=t),class:"z-1 w-full rounded-xl dark:bg-gray-800 py-2 pr-3 font-normal outline-0 delay-100 md:h-14 h-12 text-base pl-12",placeholder:i(m)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,Ce),[[ne,y.value]])])]),s("div",Le,[s("div",Ae,[(o(!0),r(z,null,B(I.value,(t,C)=>(o(),r("div",{key:C,onClick:$e=>Z(t.id),class:v([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400 ":p.value===t.id,"text-gray-500":p.value!==t.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 m-1 lg:m-0 flex-none"])},g(t.name),11,Me))),128))])]),l(oe,{name:"list",tag:"div",class:"w-full grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-4 gap-4 py-1"},{default:L(()=>[(o(!0),r(z,null,B(F.value,t=>(o(),r("div",{key:t.id,onClick:C=>U(t),class:"custom-card cursor-pointer flex items-center gap-5 overflow-hidden rounded-xl bg-gray-50 px-7 py-8 m-1 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[t.coverImg?(o(),r("div",Se,[s("img",{src:t.coverImg,class:"rounded-2xl w-20 h-20",alt:"app-image"},null,8,je)])):(o(),r("div",{key:1,class:v([D(),"flex-shrink-0 dark:ring-gray-400 rounded-2xl w-20 h-20 flex items-center justify-center"])},[s("span",ze,g(t.name.slice(0,4)),1)],2)),s("div",Be,[s("div",Ne,[s("span",Pe,g(t.name),1),l(i(pe),{theme:S(t)?"filled":"outline",size:"24",fill:S(t)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:le(C=>T(t),["stop"])},null,8,["theme","fill","onClick"])]),s("span",Qe,g(t.des),1)])],8,Ie))),128))]),_:1})])]))}});const We={class:"h-full dark:bg-gray-900 transition-all"},Te=P({__name:"chatStore",setup(a){const A=R(),{isMobile:f}=Q(),x=c(()=>A.siderCollapsed),_=c(()=>f.value?["rounded-none","shadow-none"]:["rounded-md","shadow-md","dark:border-neutral-800"]),k=c(()=>["h-full",{"pl-[260px]":!f.value&&!x.value}]);return(M,h)=>(o(),r("div",We,[s("div",{class:v(["h-full overflow-hidden",_.value])},[l(i(fe),{class:v(["z-40 transition",k.value]),"has-sider":""},{default:L(()=>[l(E),l(i(ge),{class:"h-full"},{default:L(()=>[l(Re,{onRunApp:h[0]||(h[0]=()=>{})})]),_:1})]),_:1},8,["class"])],2)]))}});export{Te as default}; diff --git a/public/assets/crami-99ee44eb.js b/public/assets/crami-99ee44eb.js new file mode 100644 index 0000000..9860d6a --- /dev/null +++ b/public/assets/crami-99ee44eb.js @@ -0,0 +1 @@ +import{m as a,p as e}from"./index-d64a7cc4.js";function c(r){return e({url:"/crami/useCrami",data:r})}function u(r){return a({url:"/crami/queryAllPackage",data:r})}export{c as a,u as f}; diff --git a/public/assets/favicon-25a41591.ico b/public/assets/favicon-25a41591.ico new file mode 100644 index 0000000..23cd6c6 Binary files /dev/null and b/public/assets/favicon-25a41591.ico differ diff --git a/public/assets/index-03106b46.js b/public/assets/index-03106b46.js deleted file mode 100644 index 9e0a5d4..0000000 --- a/public/assets/index-03106b46.js +++ /dev/null @@ -1 +0,0 @@ -import{g as k,K as E,aQ as b,r as B,k as c,ak as I,w as L,L as S,cx as C,m as F,F as h,aA as f,G as r,Z as D,cy as A,E as g,cz as M}from"./index-2efe4620.js";const W={class:"w-full h-full relative"},G={class:"loading"},N=M('',7),T=[N],U=["src"],j=k({__name:"index",setup(V){const _=E(),l=b(),n=B(!1),i=c(()=>l.iframeUrl),o=I(),u=c(()=>o.theme==="dark");function v(){const e=document.getElementById("iframe");e!=null&&e.addEventListener||e==null||e.attachEvent("onload",d),e==null||e.addEventListener("load",d,!0)}const m=c(()=>o.theme);L(m,e=>{s({type:"theme",data:e})}),S(()=>{if(!i.value)return _.push("/");n.value=!0,v(),window.addEventListener("message",p)});async function p(e){const{type:t,data:a}=e.data;t==="theme"&&o.setTheme(a==="dark"?"dark":"light"),t==="chat"&&w(a)}function w(e){C({prompt:e}).then(t=>{const{code:a,data:y}=t;a===200&&s({type:"chat",data:x(y)})})}function x(e){const t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;return e.replace(t,"")}function s(e){document.getElementById("iframe").contentWindow.postMessage(e,"*")}function d(){s({type:"theme",data:m.value});const e=A();e&&s({type:"token",data:e}),n.value=!1}return F(()=>{l.updateIframeUrl("");const e=document.getElementById("iframe");e==null||e.removeEventListener("load",d),window.removeEventListener("message",p)}),(e,t)=>(g(),h("div",W,[n.value?(g(),h("div",{key:0,class:f(["main-container absolute left-0 right-0 bottom-0 top-0 backdrop-blur",[u.value?"dark:bg-black/20":"bg-white/80"]])},[r("div",G,[r("div",{class:f(["loading-text ",u.value?"text-[#fff]":"text-[#000]"]),id:"loading-text"},T,2)])],2)):D("",!0),r("iframe",{id:"iframe",src:i.value,style:{width:"100%",height:"100%",border:"none"}},null,8,U)]))}});export{j as default}; diff --git a/public/assets/index-03531f8f.js b/public/assets/index-03531f8f.js new file mode 100644 index 0000000..e0e9359 --- /dev/null +++ b/public/assets/index-03531f8f.js @@ -0,0 +1,8 @@ +import{d as ht,S as wt,U as mt,a3 as it,r as Dt,w as Ut,M as Ft,a8 as kt,H as vt}from"./vue-10b4afc0.js";import{t as zt,a as Ht}from"./vueuse-motion-d4cdaf7b.js";import{_ as Vt}from"./_plugin-vue_export-helper-c27b6911.js";const Kt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Jt=it("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),$t=it("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),Ot=[Jt,$t],Ve=ht({name:"CloseOutline",render:function(t,i){return wt(),mt("svg",Kt,Ot)}});var H={},Yt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Ct={},N={};let st;const jt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return jt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');st=t};N.isKanjiModeEnabled=function(){return typeof st<"u"};N.toSJIS=function(t){return st(t)};var Y={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,r){if(e.isValid(o))return o;try{return t(o)}catch{return r}}})(Y);function yt(){this.buffer=[],this.length=0}yt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Qt=yt;function V(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}V.prototype.set=function(e,t,i,o){const r=e*this.size+t;this.data[r]=i,o&&(this.reservedBit[r]=!0)};V.prototype.get=function(e,t){return this.data[e*this.size+t]};V.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};V.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var qt=V,Et={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const r=Math.floor(o/7)+2,n=t(o),s=n===145?26:Math.ceil((n-13)/(2*r-2))*2,a=[n-7];for(let u=1;u=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const n=r.size;let s=0,a=0,u=0,c=null,l=null;for(let p=0;p=5&&(s+=t.N1+(a-5)),c=f,a=1),f=r.get(w,p),f===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=f,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(r){const n=r.size;let s=0;for(let a=0;a=10&&(a===1488||a===93)&&s++,u=u<<1&2047|r.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(r){let n=0;const s=r.data.length;for(let u=0;u=0;){const s=n[0];for(let u=0;u0){const n=new Uint8Array(this.degree);return n.set(o,r),n}return o};var Wt=ut,Nt={},_={},at={};at.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var b={};const Tt="[0-9]+",Zt="[A-Z $%*+\\-./:]+";let z="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";z=z.replace(/u/g,"\\u");const Xt="(?:(?![A-Z0-9 $%*+\\-./:]|"+z+`)(?:.|[\r +]))+`;b.KANJI=new RegExp(z,"g");b.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");b.BYTE=new RegExp(Xt,"g");b.NUMERIC=new RegExp(Tt,"g");b.ALPHANUMERIC=new RegExp(Zt,"g");const xt=new RegExp("^"+z+"$"),te=new RegExp("^"+Tt+"$"),ee=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");b.testKanji=function(t){return xt.test(t)};b.testNumeric=function(t){return te.test(t)};b.testAlphanumeric=function(t){return ee.test(t)};(function(e){const t=at,i=b;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function o(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(n,s){if(e.isValid(n))return n;try{return o(n)}catch{return s}}})(_);(function(e){const t=N,i=j,o=Y,r=_,n=at,s=7973,a=t.getBCHDigit(s);function u(w,f,m){for(let C=1;C<=40;C++)if(f<=e.getCapacity(C,m,w))return C}function c(w,f){return r.getCharCountIndicator(w,f)+4}function l(w,f){let m=0;return w.forEach(function(C){const I=c(C.mode,f);m+=I+C.getBitsLength()}),m}function p(w,f){for(let m=1;m<=40;m++)if(l(w,m)<=e.getCapacity(m,f,r.MIXED))return m}e.from=function(f,m){return n.isValid(f)?parseInt(f,10):m},e.getCapacity=function(f,m,C){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=r.BYTE);const I=t.getSymbolTotalCodewords(f),h=i.getTotalCodewordsCount(f,m),y=(I-h)*8;if(C===r.MIXED)return y;const g=y-c(C,f);switch(C){case r.NUMERIC:return Math.floor(g/10*3);case r.ALPHANUMERIC:return Math.floor(g/11*2);case r.KANJI:return Math.floor(g/13);case r.BYTE:default:return Math.floor(g/8)}},e.getBestVersionForData=function(f,m){let C;const I=o.from(m,o.M);if(Array.isArray(f)){if(f.length>1)return p(f,I);if(f.length===0)return 1;C=f[0]}else C=f;return u(C.mode,C.getLength(),I)},e.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let m=f<<12;for(;t.getBCHDigit(m)-a>=0;)m^=s<=0;)r^=bt<0&&(o=this.data.substr(i),r=parseInt(o,10),t.put(r,n*3+1))};var oe=L;const ie=_,W=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function D(e){this.mode=ie.ALPHANUMERIC,this.data=e}D.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let o=W.indexOf(this.data[i])*45;o+=W.indexOf(this.data[i+1]),t.put(o,11)}this.data.length%2&&t.put(W.indexOf(this.data[i]),6)};var se=D,ue=function(t){for(var i=[],o=t.length,r=0;r=55296&&n<=56319&&o>r+1){var s=t.charCodeAt(r+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,r+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const ae=ue,ce=_;function U(e){this.mode=ce.BYTE,typeof e=="string"&&(e=ae(e)),this.data=new Uint8Array(e)}U.getBitsLength=function(t){return t*8};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(e){for(let t=0,i=this.data.length;t=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` +Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var ge=F,Pt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,o,r){var n={},s={};s[o]=0;var a=t.PriorityQueue.make();a.push(o,0);for(var u,c,l,p,w,f,m,C,I;!a.empty();){u=a.pop(),c=u.value,p=u.cost,w=i[c]||{};for(l in w)w.hasOwnProperty(l)&&(f=w[l],m=p+f,C=s[l],I=typeof s[l]>"u",(I||C>m)&&(s[l]=m,a.push(l,m),n[l]=c))}if(typeof r<"u"&&typeof s[r]>"u"){var h=["Could not find a path from ",o," to ",r,"."].join("");throw new Error(h)}return n},extract_shortest_path_from_predecessor_list:function(i,o){for(var r=[],n=o;n;)r.push(n),i[n],n=i[n];return r.reverse(),r},find_path:function(i,o,r){var n=t.single_source_shortest_paths(i,o,r);return t.extract_shortest_path_from_predecessor_list(n,r)},PriorityQueue:{make:function(i){var o=t.PriorityQueue,r={},n;i=i||{};for(n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);return r.queue=[],r.sorter=i.sorter||o.default_sorter,r},default_sorter:function(i,o){return i.cost-o.cost},push:function(i,o){var r={value:i,cost:o};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Pt);var he=Pt.exports;(function(e){const t=_,i=oe,o=se,r=le,n=ge,s=b,a=N,u=he;function c(h){return unescape(encodeURIComponent(h)).length}function l(h,y,g){const d=[];let E;for(;(E=h.exec(g))!==null;)d.push({data:E[0],index:E.index,mode:y,length:E[0].length});return d}function p(h){const y=l(s.NUMERIC,t.NUMERIC,h),g=l(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let d,E;return a.isKanjiModeEnabled()?(d=l(s.BYTE,t.BYTE,h),E=l(s.KANJI,t.KANJI,h)):(d=l(s.BYTE_KANJI,t.BYTE,h),E=[]),y.concat(g,d,E).sort(function(A,T){return A.index-T.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function w(h,y){switch(y){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return o.getBitsLength(h);case t.KANJI:return n.getBitsLength(h);case t.BYTE:return r.getBitsLength(h)}}function f(h){return h.reduce(function(y,g){const d=y.length-1>=0?y[y.length-1]:null;return d&&d.mode===g.mode?(y[y.length-1].data+=g.data,y):(y.push(g),y)},[])}function m(h){const y=[];for(let g=0;g=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(n+a,s+u,!0,!0):e.set(n+a,s+u,!1,!0))}}function Ie(e){const t=e.size;for(let i=8;i>a&1)===1,e.set(r,n,s,!0),e.set(n,r,s,!0)}function x(e,t,i){const o=e.size,r=pe.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(r>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(o-15+n,8,s,!0),n<8?e.set(8,o-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(o-8,8,1,!0)}function Me(e,t){const i=e.size;let o=-1,r=i-1,n=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(r,a-u)){let c=!1;s>>n&1)===1),e.set(r,a-u,c),n--,n===-1&&(s++,n=7)}if(r+=o,r<0||i<=r){r-=o,o=-o;break}}}function be(e,t,i){const o=new we;i.forEach(function(u){o.put(u.mode.bit,4),o.put(u.getLength(),Be.getCharCountIndicator(u.mode,e)),u.write(o)});const r=q.getSymbolTotalCodewords(e),n=rt.getTotalCodewordsCount(e,t),s=(r-n)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const a=(s-o.getLengthInBits())/8;for(let u=0;u=7&&Te(u,t),Me(u,s),isNaN(o)&&(o=nt.getBestMask(u,x.bind(null,u,i))),nt.applyMask(o,u),x(u,i,o),{modules:u,version:t,errorCorrectionLevel:i,maskPattern:o,segments:r}}Ct.create=function(t,i){if(typeof t>"u"||t==="")throw new Error("No input text");let o=Z.M,r,n;return typeof i<"u"&&(o=Z.from(i.errorCorrectionLevel,Z.M),r=O.from(i.version),n=nt.from(i.maskPattern),i.toSJISFunc&&q.setToSJISFunction(i.toSJISFunc)),Pe(t,r,o,n)};var Rt={},ct={};(function(e){function t(i){if(typeof i=="number"&&(i=i.toString()),typeof i!="string")throw new Error("Color should be defined as hex string");let o=i.slice().replace("#","").split("");if(o.length<3||o.length===5||o.length>8)throw new Error("Invalid hex color: "+i);(o.length===3||o.length===4)&&(o=Array.prototype.concat.apply([],o.map(function(n){return[n,n]}))),o.length===6&&o.push("F","F");const r=parseInt(o.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+o.slice(0,6).join("")}}e.getOptions=function(o){o||(o={}),o.color||(o.color={});const r=typeof o.margin>"u"||o.margin===null||o.margin<0?4:o.margin,n=o.width&&o.width>=21?o.width:void 0,s=o.scale||4;return{width:n,scale:n?4:s,margin:r,color:{dark:t(o.color.dark||"#000000ff"),light:t(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},e.getScale=function(o,r){return r.width&&r.width>=o+r.margin*2?r.width/(o+r.margin*2):r.scale},e.getImageWidth=function(o,r){const n=e.getScale(o,r);return Math.floor((o+r.margin*2)*n)},e.qrToImageData=function(o,r,n){const s=r.modules.size,a=r.modules.data,u=e.getScale(s,n),c=Math.floor((s+n.margin*2)*u),l=n.margin*u,p=[n.color.light,n.color.dark];for(let w=0;w=l&&f>=l&&w"u"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(c=o()),u=t.getOptions(u);const l=t.getImageWidth(n.modules.size,u),p=c.getContext("2d"),w=p.createImageData(l,l);return t.qrToImageData(w.data,n,u),i(p,c,l),p.putImageData(w,0,0),c},e.renderToDataURL=function(n,s,a){let u=a;typeof u>"u"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const c=e.render(n,s,u),l=u.type||"image/png",p=u.rendererOpts||{};return c.toDataURL(l,p.quality)}})(Rt);var _t={};const Re=ct;function gt(e,t){const i=e.a/255,o=t+'="'+e.hex+'"';return i<1?o+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':o}function tt(e,t,i){let o=e+t;return typeof i<"u"&&(o+=" "+i),o}function _e(e,t,i){let o="",r=0,n=!1,s=0;for(let a=0;a0&&u>0&&e[a-1]||(o+=n?tt("M",u+i,.5+c+i):tt("m",r,0),r=0,n=!1),u+1':"",c="',l='viewBox="0 0 '+a+" "+a+'"',w=''+u+c+` +`;return typeof o=="function"&&o(null,w),w};const Le=Yt,ot=Ct,Lt=Rt,De=_t;function lt(e,t,i,o,r){const n=[].slice.call(arguments,1),s=n.length,a=typeof n[s-1]=="function";if(!a&&!Le())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(r=i,i=t,t=o=void 0):s===3&&(t.getContext&&typeof r>"u"?(r=o,o=void 0):(r=o,o=i,i=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(i=t,t=o=void 0):s===2&&!t.getContext&&(o=i,i=t,t=void 0),new Promise(function(u,c){try{const l=ot.create(i,o);u(e(l,t,o))}catch(l){c(l)}})}try{const u=ot.create(i,o);r(null,e(u,t,o))}catch(u){r(u)}}H.create=ot.create;H.toCanvas=lt.bind(null,Lt.render);H.toDataURL=lt.bind(null,Lt.renderToDataURL);H.toString=lt.bind(null,function(e,t,i){return De.render(e,i)});function Ue(e,t){const i=zt(e),o=Dt("");return Ut(i,async r=>{i.value&&Ht&&(o.value=await H.toDataURL(r,t))},{immediate:!0}),o}const Fe=["src"],ke=ht({__name:"index",props:{value:{default:""},size:{default:160},color:{default:"#000"},backgroundColor:{default:"#FFF"},bordered:{type:Boolean,default:!0},borderColor:{default:"#0505050f"},scale:{default:8},errorLevel:{default:"H"}},setup(e){const t=e,i=Ue(t.value,{errorCorrectionLevel:t.errorLevel,type:"image/png",quality:1,margin:3,scale:t.scale,color:{dark:t.color,light:t.backgroundColor}});return(o,r)=>(wt(),mt("div",{class:kt(["m-qrcode",{bordered:o.bordered}]),style:vt(`width: ${o.size}px; height: ${o.size}px; border-color: ${o.borderColor};`)},[it("img",{src:Ft(i),class:"u-qrcode",alt:"QRCode"},null,8,Fe)],6))}});const Ke=Vt(ke,[["__scopeId","data-v-56c01def"]]);export{Ve as C,Ke as Q}; diff --git a/public/assets/index-03531f8f.js.br b/public/assets/index-03531f8f.js.br new file mode 100644 index 0000000..4d7f50c Binary files /dev/null and b/public/assets/index-03531f8f.js.br differ diff --git a/public/assets/index-140c57ab.js b/public/assets/index-140c57ab.js deleted file mode 100644 index 6447e85..0000000 --- a/public/assets/index-140c57ab.js +++ /dev/null @@ -1,75 +0,0 @@ -import{aI as Ve,bq as oe,g as He,H as Ge,aQ as We,J as qe,r as ae,az as ze,L as Ee,aL as Xe,F as le,G as k,X as C,S as G,Z as Se,Q,R as ne,bP as Je,E as ue,a0 as j,am as ie,ao as se,bQ as Ke}from"./index-2efe4620.js";import{b as Qe,M as Ye}from"./index.esm-75698fae.js";import{N as Pe}from"./Input-4816b01d.js";var Ue={exports:{}};(function(e){(function(t){var n=V(),r=ce(),o=A(),a=L(),s={imagePlaceholder:void 0,cacheBust:!1},i={toSvg:g,toPng:f,toJpeg:P,toBlob:x,toPixelData:h,impl:{fontFaces:o,images:a,util:n,inliner:r,options:{}}};e.exports=i;function g(l,c){return c=c||{},T(c),Promise.resolve(l).then(function(p){return Y(p,c.filter,!0)}).then(Z).then(te).then(m).then(function(p){return N(p,c.width||n.width(l),c.height||n.height(l))});function m(p){return c.bgcolor&&(p.style.backgroundColor=c.bgcolor),c.width&&(p.style.width=c.width+"px"),c.height&&(p.style.height=c.height+"px"),c.style&&Object.keys(c.style).forEach(function(b){p.style[b]=c.style[b]}),p}}function h(l,c){return J(l,c||{}).then(function(m){return m.getContext("2d").getImageData(0,0,n.width(l),n.height(l)).data})}function f(l,c){return J(l,c||{}).then(function(m){return m.toDataURL()})}function P(l,c){return c=c||{},J(l,c).then(function(m){return m.toDataURL("image/jpeg",c.quality||1)})}function x(l,c){return J(l,c||{}).then(n.canvasToBlob)}function T(l){typeof l.imagePlaceholder>"u"?i.impl.options.imagePlaceholder=s.imagePlaceholder:i.impl.options.imagePlaceholder=l.imagePlaceholder,typeof l.cacheBust>"u"?i.impl.options.cacheBust=s.cacheBust:i.impl.options.cacheBust=l.cacheBust}function J(l,c){return g(l,c).then(n.makeImage).then(n.delay(100)).then(function(p){var b=m(l);return b.getContext("2d").drawImage(p,0,0),b});function m(p){var b=document.createElement("canvas");if(b.width=c.width||n.width(p),b.height=c.height||n.height(p),c.bgcolor){var y=b.getContext("2d");y.fillStyle=c.bgcolor,y.fillRect(0,0,b.width,b.height)}return b}}function Y(l,c,m){if(!m&&c&&!c(l))return Promise.resolve();return Promise.resolve(l).then(p).then(function(d){return b(l,d,c)}).then(function(d){return y(l,d)});function p(d){return d instanceof HTMLCanvasElement?n.makeImage(d.toDataURL()):d.cloneNode(!1)}function b(d,w,_){var B=d.childNodes;if(B.length===0)return Promise.resolve(w);return R(w,n.asArray(B),_).then(function(){return w});function R(ee,$,I){var F=Promise.resolve();return $.forEach(function(K){F=F.then(function(){return Y(K,I)}).then(function(O){O&&ee.appendChild(O)})}),F}}function y(d,w){if(!(w instanceof Element))return w;return Promise.resolve().then(_).then(B).then(R).then(ee).then(function(){return w});function _(){$(window.getComputedStyle(d),w.style);function $(I,F){I.cssText?F.cssText=I.cssText:K(I,F);function K(O,W){n.asArray(O).forEach(function(u){W.setProperty(u,O.getPropertyValue(u),O.getPropertyPriority(u))})}}}function B(){[":before",":after"].forEach(function(I){$(I)});function $(I){var F=window.getComputedStyle(d,I),K=F.getPropertyValue("content");if(K===""||K==="none")return;var O=n.uid();w.className=w.className+" "+O;var W=document.createElement("style");W.appendChild(u(O,I,F)),w.appendChild(W);function u(v,S,E){var U="."+v+":"+S,H=E.cssText?ge(E):pe(E);return document.createTextNode(U+"{"+H+"}");function ge(q){var z=q.getPropertyValue("content");return q.cssText+" content: "+z+";"}function pe(q){return n.asArray(q).map(z).join("; ")+";";function z(re){return re+": "+q.getPropertyValue(re)+(q.getPropertyPriority(re)?" !important":"")}}}}}function R(){d instanceof HTMLTextAreaElement&&(w.innerHTML=d.value),d instanceof HTMLInputElement&&w.setAttribute("value",d.value)}function ee(){w instanceof SVGElement&&(w.setAttribute("xmlns","http://www.w3.org/2000/svg"),w instanceof SVGRectElement&&["width","height"].forEach(function($){var I=w.getAttribute($);I&&w.style.setProperty($,I)}))}}}function Z(l){return o.resolveAll().then(function(c){var m=document.createElement("style");return l.appendChild(m),m.appendChild(document.createTextNode(c)),l})}function te(l){return a.inlineAll(l).then(function(){return l})}function N(l,c,m){return Promise.resolve(l).then(function(p){return p.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(p)}).then(n.escapeXhtml).then(function(p){return''+p+""}).then(function(p){return''+p+""}).then(function(p){return"data:image/svg+xml;charset=utf-8,"+p})}function V(){return{escape:ee,parseExtension:c,mimeType:m,dataAsUrl:R,isDataUrl:p,canvasToBlob:y,resolveUrl:d,getAndEncode:B,uid:w(),delay:$,asArray:I,escapeXhtml:F,makeImage:_,width:K,height:O};function l(){var u="application/font-woff",v="image/jpeg";return{woff:u,woff2:u,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:v,jpeg:v,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function c(u){var v=/\.([^\.\/]*?)$/g.exec(u);return v?v[1]:""}function m(u){var v=c(u).toLowerCase();return l()[v]||""}function p(u){return u.search(/^(data:)/)!==-1}function b(u){return new Promise(function(v){for(var S=window.atob(u.toDataURL().split(",")[1]),E=S.length,U=new Uint8Array(E),H=0;H"u"?f={autoBom:!1}:typeof f!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),f={autoBom:!f}),f.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(h.type)?new Blob(["\uFEFF",h],{type:h.type}):h}function r(h,f,P){var x=new XMLHttpRequest;x.open("GET",h),x.responseType="blob",x.onload=function(){g(x.response,f,P)},x.onerror=function(){console.error("could not download file")},x.send()}function o(h){var f=new XMLHttpRequest;f.open("HEAD",h,!1);try{f.send()}catch{}return 200<=f.status&&299>=f.status}function a(h){try{h.dispatchEvent(new MouseEvent("click"))}catch{var f=document.createEvent("MouseEvents");f.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),h.dispatchEvent(f)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof oe=="object"&&oe.global===oe?oe:void 0,i=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(h,f,P){var x=s.URL||s.webkitURL,T=document.createElement("a");f=f||h.name||"download",T.download=f,T.rel="noopener",typeof h=="string"?(T.href=h,T.origin===location.origin?a(T):o(T.href)?r(h,f,P):a(T,T.target="_blank")):(T.href=x.createObjectURL(h),setTimeout(function(){x.revokeObjectURL(T.href)},4e4),setTimeout(function(){a(T)},0))}:"msSaveOrOpenBlob"in navigator?function(h,f,P){if(f=f||h.name||"download",typeof h!="string")navigator.msSaveOrOpenBlob(n(h,P),f);else if(o(h))r(h,f,P);else{var x=document.createElement("a");x.href=h,x.target="_blank",setTimeout(function(){a(x)})}}:function(h,f,P,x){if(x=x||open("","_blank"),x&&(x.document.title=x.document.body.innerText="downloading..."),typeof h=="string")return r(h,f,P);var T=h.type==="application/octet-stream",J=/constructor/i.test(s.HTMLElement)||s.safari,Y=/CriOS\/[\d]+/.test(navigator.userAgent);if((Y||T&&J||i)&&typeof FileReader<"u"){var Z=new FileReader;Z.onloadend=function(){var V=Z.result;V=Y?V:V.replace(/^data:[^;]*;/,"data:attachment/file;"),x?x.location.href=V:location=V,x=null},Z.readAsDataURL(h)}else{var te=s.URL||s.webkitURL,N=te.createObjectURL(h);x?x.location=N:location.href=N,x=null,setTimeout(function(){te.revokeObjectURL(N)},4e4)}});s.saveAs=g.saveAs=g,e.exports=g})})(De);var we=De.exports;function et(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const tt=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function X(e){const t=[];for(let n=0,r=e.length;nM||e.height>M)&&(e.width>M&&e.height>M?e.width>e.height?(e.height*=M/e.width,e.width=M):(e.width*=M/e.height,e.height=M):e.width>M?(e.height*=M/e.width,e.width=M):(e.width*=M/e.height,e.height=M))}function de(e){return new Promise((t,n)=>{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function it(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function st(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),a=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),a.setAttribute("width","100%"),a.setAttribute("height","100%"),a.setAttribute("x","0"),a.setAttribute("y","0"),a.setAttribute("externalResourcesRequired","true"),o.appendChild(a),a.appendChild(e),it(o)}const D=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||D(n,t)};function ct(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function lt(e){return X(e).map(t=>{const n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return`${t}: ${n}${r?" !important":""};`}).join(" ")}function ut(e,t,n){const r=`.${e}:${t}`,o=n.cssText?ct(n):lt(n);return document.createTextNode(`${r}{${o}}`)}function Re(e,t,n){const r=window.getComputedStyle(e,n),o=r.getPropertyValue("content");if(o===""||o==="none")return;const a=tt();try{t.className=`${t.className} ${a}`}catch{return}const s=document.createElement("style");s.appendChild(ut(a,n,r)),t.appendChild(s)}function ft(e,t){Re(e,t,":before"),Re(e,t,":after")}const Ce="application/font-woff",Te="image/jpeg",ht={woff:Ce,woff2:Ce,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Te,jpeg:Te,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function dt(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function be(e){const t=dt(e).toLowerCase();return ht[t]||""}function mt(e){return e.split(/,/)[1]}function ve(e){return e.search(/^(data:)/)!==-1}function Me(e,t){return`data:${t};base64,${e}`}async function Be(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((a,s)=>{const i=new FileReader;i.onerror=s,i.onloadend=()=>{try{a(n({res:r,result:i.result}))}catch(g){s(g)}},i.readAsDataURL(o)})}const ye={};function gt(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function xe(e,t,n){const r=gt(e,t,n.includeQueryParams);if(ye[r]!=null)return ye[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const a=await Be(e,n.fetchRequestInit,({res:s,result:i})=>(t||(t=s.headers.get("Content-Type")||""),mt(i)));o=Me(a,t)}catch(a){o=n.imagePlaceholder||"";let s=`Failed to fetch resource: ${e}`;a&&(s=typeof a=="string"?a:a.message),s&&console.warn(s)}return ye[r]=o,o}async function pt(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):de(t)}async function wt(e,t){if(e.currentSrc){const a=document.createElement("canvas"),s=a.getContext("2d");a.width=e.clientWidth,a.height=e.clientHeight,s==null||s.drawImage(e,0,0,a.width,a.height);const i=a.toDataURL();return de(i)}const n=e.poster,r=be(n),o=await xe(n,r,t);return de(o)}async function yt(e){var t;try{if(!((t=e==null?void 0:e.contentDocument)===null||t===void 0)&&t.body)return await me(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function vt(e,t){return D(e,HTMLCanvasElement)?pt(e):D(e,HTMLVideoElement)?wt(e,t):D(e,HTMLIFrameElement)?yt(e):e.cloneNode(!1)}const bt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function xt(e,t,n){var r,o;let a=[];return bt(e)&&e.assignedNodes?a=X(e.assignedNodes()):D(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?a=X(e.contentDocument.body.childNodes):a=X(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),a.length===0||D(e,HTMLVideoElement)||await a.reduce((s,i)=>s.then(()=>me(i,n)).then(g=>{g&&t.appendChild(g)}),Promise.resolve()),t}function Et(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):X(r).forEach(o=>{let a=r.getPropertyValue(o);o==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),D(e,HTMLIFrameElement)&&o==="display"&&a==="inline"&&(a="block"),o==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(o,a,r.getPropertyPriority(o))})}function St(e,t){D(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),D(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Pt(e,t){if(D(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function Rt(e,t){return D(t,Element)&&(Et(e,t),ft(e,t),St(e,t),Pt(e,t)),t}async function Ct(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let a=0;avt(r,t)).then(r=>xt(e,r,t)).then(r=>Rt(e,r)).then(r=>Ct(r,t))}const $e=/url\((['"]?)([^'"]+?)\1\)/g,Tt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,At=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Lt(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function It(e){const t=[];return e.replace($e,(n,r,o)=>(t.push(o),n)),t.filter(n=>!ve(n))}async function _t(e,t,n,r,o){try{const a=n?et(t,n):t,s=be(t);let i;if(o){const g=await o(a);i=Me(g,s)}else i=await xe(a,s,r);return e.replace(Lt(t),`$1${i}$3`)}catch{}return e}function Ut(e,{preferredFontFormat:t}){return t?e.replace(At,n=>{for(;;){const[r,,o]=Tt.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function Fe(e){return e.search($e)!==-1}async function Oe(e,t,n){if(!Fe(e))return e;const r=Ut(e,n);return It(r).reduce((a,s)=>a.then(i=>_t(i,s,t,n)),Promise.resolve(r))}async function fe(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const a=await Oe(o,null,n);return t.style.setProperty(e,a,t.style.getPropertyPriority(e)),!0}return!1}async function Dt(e,t){await fe("background",e,t)||await fe("background-image",e,t),await fe("mask",e,t)||await fe("mask-image",e,t)}async function kt(e,t){const n=D(e,HTMLImageElement);if(!(n&&!ve(e.src))&&!(D(e,SVGImageElement)&&!ve(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await xe(r,be(r),t);await new Promise((a,s)=>{e.onload=a,e.onerror=s;const i=e;i.decode&&(i.decode=a),i.loading==="lazy"&&(i.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function Mt(e,t){const r=X(e.childNodes).map(o=>je(o,t));await Promise.all(r).then(()=>e)}async function je(e,t){D(e,Element)&&(await Dt(e,t),await kt(e,t),await Mt(e,t))}function Bt(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const Ae={};async function Le(e){let t=Ae[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},Ae[e]=t,t}async function Ie(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,a=(n.match(/url\([^)]+\)/g)||[]).map(async s=>{let i=s.replace(r,"$1");return i.startsWith("https://")||(i=new URL(i,e.url).href),Be(i,t.fetchRequestInit,({result:g})=>(n=n.replace(s,`url(${g})`),[s,g]))});return Promise.all(a).then(()=>n)}function _e(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const g=o.exec(r);if(g===null)break;t.push(g[0])}r=r.replace(o,"");const a=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,s="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",i=new RegExp(s,"gi");for(;;){let g=a.exec(r);if(g===null){if(g=i.exec(r),g===null)break;a.lastIndex=i.lastIndex}else i.lastIndex=a.lastIndex;t.push(g[0])}return t}async function $t(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{X(o.cssRules||[]).forEach((a,s)=>{if(a.type===CSSRule.IMPORT_RULE){let i=s+1;const g=a.href,h=Le(g).then(f=>Ie(f,t)).then(f=>_e(f).forEach(P=>{try{o.insertRule(P,P.startsWith("@import")?i+=1:o.cssRules.length)}catch(x){console.error("Error inserting rule from remote css",{rule:P,error:x})}})).catch(f=>{console.error("Error loading remote css",f.toString())});r.push(h)}})}catch(a){const s=e.find(i=>i.href==null)||document.styleSheets[0];o.href!=null&&r.push(Le(o.href).then(i=>Ie(i,t)).then(i=>_e(i).forEach(g=>{s.insertRule(g,o.cssRules.length)})).catch(i=>{console.error("Error loading remote stylesheet",i)})),console.error("Error inlining remote css file",a)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{X(o.cssRules||[]).forEach(a=>{n.push(a)})}catch(a){console.error(`Error while reading CSS rules from ${o.href}`,a)}}),n))}function Ft(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Fe(t.style.getPropertyValue("src")))}async function Ot(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=X(e.ownerDocument.styleSheets),r=await $t(n,t);return Ft(r)}async function jt(e,t){const n=await Ot(e,t);return(await Promise.all(n.map(o=>{const a=o.parentStyleSheet?o.parentStyleSheet.href:null;return Oe(o.cssText,a,t)}))).join(` -`)}async function Vt(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await jt(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function Ht(e,t={}){const{width:n,height:r}=ke(e,t),o=await me(e,t,!0);return await Vt(o,t),await je(o,t),Bt(o,t),await st(o,n,r)}async function Gt(e,t={}){const{width:n,height:r}=ke(e,t),o=await Ht(e,t),a=await de(o),s=document.createElement("canvas"),i=s.getContext("2d"),g=t.pixelRatio||ot(),h=t.canvasWidth||n,f=t.canvasHeight||r;return s.width=h*g,s.height=f*g,t.skipAutoScale||at(s),s.style.width=`${h}`,s.style.height=`${f}`,t.backgroundColor&&(i.fillStyle=t.backgroundColor,i.fillRect(0,0,s.width,s.height)),i.drawImage(a,0,0,s.width,s.height),s}async function Wt(e,t={}){return(await Gt(e,t)).toDataURL()}const qt={class:"flex grow flex-col sm:flex-row h-full"},zt={class:"sm:pt-4 box-border bg-[#fafbfc] dark:bg-[#18181c] overflow-y-auto w-full sm:w-[20rem] shrink-0 border-r-2 border-[#ffffff17] flex flex-col"},Xt={class:"flex-1 px-4 pb-2"},Jt={key:0,class:"flex items-center py-3"},Kt={class:"font-bold text-2xl"},Qt={class:"mb-2"},Yt={class:"flex my-4"},Zt={class:"flex justify-between mb-2"},Nt={class:"font-bold"},en={class:"py-3 bottom-0 border-t-2 border-[#00000014] w-full flex flex-col justify-center items-center"},tn={class:"items-start mb-2"},nn={class:"h-full flex-1 overflow-y-auto overflow-hidden min-h-[80vh] flex flex-col"},rn={key:0,class:"flex items-center p-5"},on={class:"font-bold text-2xl"},an={class:"flex-1 w-full p-4"},sn=` -# 会议流程 - -## 开场白 -- 欢迎词 -- 自我介绍 - -## 议程安排 -- 介绍会议议程 -- 确认议程是否被所有人接受 - -## 上一次会议的总结 -- 回顾上次会议的议题及结果 -- 确认上次会议的行动项是否已经完成 - -## 主题讨论 -- 提出本次会议的主题 -- 介绍主题相关背景信息 -- 提出问题并进行讨论 -- 形成共识或决策 - -## 行动项 -- 确定行动项及责任人 -- 确定完成时间和目标 - -## 公告和其他事项 -- 公告即将到来的活动或项目 -- 公告公司的其他事项 - -## 结束语 -- 感谢所有人的参与 -- 总结会议内容 -- 确认下一次会议的时间和议题 -`,cn=`# 如何高效使用AI助手 - -## 设定明确的使用目标 -- 确定长期和短期的使用目标 -- 细化目标为具体的任务和步骤 - -## 优化命令和提问方式 -- 精确表达需求和期望结果 -- 使用清晰和具体的命令提高回答准确度 -- 减少不必要的交互 - -## 提高使用效率 -- 避免重复或无关紧要的提问 -- 明确询问信息的范围和深度 - -## 保持良好的使用习惯 -- 学会灵活运用AI助手的多种功能 -- 利用AI助手自动化日常任务和流程 - -## 持续学习和适应 -- 了解AI助手的性能和限制 -- 掌握AI助手的最新功能和更新 - -## 建立高效的交互模式 -- 根据使用体验调整提问方式和任务分配 -- 学会解读AI助手的回答,有效提取信息 -- 合理安排AI助手的工作量 - -`,hn=He({__name:"index",setup(e){var ce;const t=Ge(),n=We(),r=qe(),o=(ce=t.globalConfig)==null?void 0:ce.mindDefaultData,a=ae(null),s=new Qe.Transformer,i=ae(!1),{isMobile:g}=ze(),h=ae(""),f=ae(),P=ae("");function x(){P.value=o||cn}Ee(()=>{setTimeout(()=>{x()},1e3)});let T;function J(){const A=new XMLSerializer().serializeToString(f.value),L=new Blob([A],{type:"image/svg+xml;charset=utf-8"});we.saveAs(L,"nineai-mind.svg")}async function Y(){const L=` - - - - - Markmap Export - - - ${await Ne.toSvg(f.value)} - -`,l=new Blob([L],{type:"text/html;charset=utf-8"});we.saveAs(l,"nineai-mind.html")}async function Z(){i.value=!0,P.value="";try{const A="";let L="";const l=()=>(P.value=L,i.value?!0:(P.value=L,!1)),c=setInterval(()=>{l()||clearInterval(c)},1e3);await(async()=>{let p=0;await Je({prompt:h.value,onDownloadProgress:({event:b})=>{const d=b.target.responseText,w=d.substring(p);p=d.length,w.trim().split(` -`).forEach(B=>{try{const R=JSON.parse(B);R.userBalance&&t.updateUserBalance(R.userBalance),R.text&&(L+=R.text)}catch(R){console.error("Error parsing JSON part:",R)}})}}),i.value=!1})()}catch(A){i.value=!1;const{code:L=500,message:l="好像出错了,请稍后再试!"}=A;if(L===429&&l.includes("balance has been exhausted"))return r.error("当前系统Key余额耗尽、请联系管理员补充!");if(L===500){let c=(A==null?void 0:A.message)??"好像出错了,请稍后再试!";c==="Request failed with status code 401"&&(c="非法操作、请先登录后再进行问答使用!"),r.error(c);return}if(A.code===402){r.error(A.message,{duration:5e3}),n.updateGoodsDialog(!0);return}r.error("出了点小错误、请稍后试试吧!")}finally{i.value=!1}}async function te(){const A=await Wt(f.value);we.saveAs(A,"markmap.png")}function N(){P.value=sn}const V=()=>{const{root:A}=s.transform(P.value);T.setData(A),T.fit()};return Ee(()=>{T=Ye.create(f.value),V()}),Xe(V),(A,L)=>(ue(),le("div",qt,[k("div",zt,[k("div",Xt,[C(g)?(ue(),le("header",Jt,[k("h2",Kt,G(C(j)("mindmap.title")),1)])):Se("",!0),k("h4",Qt,G(C(j)("mindmap.yourNeeds")),1),Q(C(Pe),{ref_key:"inputRef",ref:a,value:h.value,"onUpdate:value":L[0]||(L[0]=l=>h.value=l),type:"textarea",disabled:i.value,autosize:{minRows:3},placeholder:C(j)("mindmap.inputPlaceholder")},null,8,["value","disabled","placeholder"]),k("div",Yt,[Q(C(se),{type:"primary",size:"small",style:{width:"100%"},loading:i.value,onClick:Z},{default:ne(()=>[ie(G(C(j)("mindmap.generateMindMapButton")),1)]),_:1},8,["loading"])]),k("div",Zt,[k("h4",Nt,G(C(j)("mindmap.contentRequirements")),1),Q(C(se),{text:"",onClick:N},{default:ne(()=>[ie(G(C(j)("mindmap.tryDemoButton")),1)]),_:1})]),Q(C(Pe),{value:P.value,"onUpdate:value":L[1]||(L[1]=l=>P.value=l),type:"textarea",disabled:i.value,autosize:{minRows:8,maxRows:24},placeholder:"请用markdown语法输入您想要生成思维导图的内容或在上方使用描述让AI帮您完善!"},null,8,["value","disabled"])]),k("div",en,[k("div",tn,G(C(j)("mindmap.usageCredits")),1),k("div",null,[Q(C(Ke),{size:"small"},{default:ne(()=>[Q(C(se),{type:"primary",onClick:Y},{default:ne(()=>[ie(G(C(j)("mindmap.exportHTML")),1)]),_:1}),Q(C(se),{type:"primary",onClick:te},{default:ne(()=>[ie(G(C(j)("mindmap.exportPNG")),1)]),_:1}),Q(C(se),{type:"warning",onClick:J},{default:ne(()=>[ie(G(C(j)("mindmap.exportSVG")),1)]),_:1})]),_:1})])])]),k("div",nn,[C(g)?Se("",!0):(ue(),le("header",rn,[k("h2",on,G(C(j)("mindmap.title")),1)])),k("div",an,[(ue(),le("svg",{ref_key:"svgRef",ref:f,class:"box-border w-full h-full border rounded-md"},null,512))])])]))}});export{hn as default}; diff --git a/public/assets/index-128e54c5.css b/public/assets/index-15e7de77.css similarity index 78% rename from public/assets/index-128e54c5.css rename to public/assets/index-15e7de77.css index 267cf43..678ee90 100644 --- a/public/assets/index-128e54c5.css +++ b/public/assets/index-15e7de77.css @@ -1 +1 @@ -.wapper-item .item-loading{background:url(../../assets/img-bg.png) no-repeat center center;filter:blur(20px);position:absolute;top:0}.market{padding:15px}.wapper{width:100%;position:relative;height:100%;padding-bottom:20px}.wapper-item{z-index:10;overflow:hidden;position:absolute;transition:all .5s;cursor:pointer}.wapper-item:hover .menu{transition:transform .3s ease-in-out;transform:translateY(-10px)}.wapper-item:hover img{transform:scale(1.1)}.wapper-item .menu{position:absolute;bottom:0;width:94%;left:3%;max-height:70%;height:100px;transform:translateY(100%);background-color:#090b15;opacity:.8;transition:all .1s cubic-bezier(.68,-.55,.265,1.55);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.wapper-item .menu .prompt{height:50px;overflow:hidden}.wapper-item img{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;transition:all .6s cubic-bezier(.19,1,.22,1);border-radius:6px}.wapper-item .item-loading{background:url(/assets/img-bg-6cde14f5.png) no-repeat center center;filter:blur(20px);position:absolute;top:0}.img-enter-active,.img-leave-active{transition:transform .3s}.img-enter,.img-leave-to{transform:scale(.6);opacity:0} +.wapper-item .item-loading{background:url(../../assets/img-bg.png) no-repeat center center;filter:blur(20px);position:absolute;top:0}.market{padding:15px}.wapper{width:100%;position:relative;height:100%;padding-bottom:20px}.wapper-item{z-index:10;overflow:hidden;position:absolute;transition:all .5s;cursor:pointer}.wapper-item:hover .menu{transition:transform .3s ease-in-out;transform:translateY(-10px)}.wapper-item:hover img{transform:scale(1.1)}.wapper-item .menu{position:absolute;bottom:0;width:94%;left:3%;max-height:70%;height:100px;transform:translateY(100%);background-color:#090b15;opacity:.8;transition:all .1s cubic-bezier(.68,-.55,.265,1.55);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.wapper-item .menu .prompt{height:50px;overflow:hidden}.wapper-item img{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;transition:all .6s cubic-bezier(.19,1,.22,1);border-radius:6px}.wapper-item .item-loading{background:url(./img-bg-6cde14f5.png) no-repeat center center;filter:blur(20px);position:absolute;top:0}.img-enter-active,.img-leave-active{transition:transform .3s}.img-enter,.img-leave-to{transform:scale(.6);opacity:0} diff --git a/public/assets/index-15e7de77.css.br b/public/assets/index-15e7de77.css.br new file mode 100644 index 0000000..04d45d4 Binary files /dev/null and b/public/assets/index-15e7de77.css.br differ diff --git a/public/assets/index-1aea7a12.js b/public/assets/index-1aea7a12.js deleted file mode 100644 index 3a08b2d..0000000 --- a/public/assets/index-1aea7a12.js +++ /dev/null @@ -1,158 +0,0 @@ -import{o as ut,c as ne,a,b as C,d as pe,f as Ne,i as ht,e as ft,g as Re,u as vt,h as Ue,s as mt,r as m,j as pt,k as _,t as gt,l as bt,w as _e,m as wt,n as Fe,p as xt,q as Le,v as y,V as yt,x as kt,y as _t,z as Rt,T as We,A as ge,B as be,C as we,D as ke,E as P,F as Q,G as h,H as $t,I as Ct,J as zt,K as St,L as Oe,M as Mt,N as xe,O as Dt,P as Tt,Q as j,R as A,S as He,U as De,W as Te,X as z,_ as Ie,Y as Ve,Z as ye,$ as It,a0 as Be,a1 as Vt}from"./index-2efe4620.js";import{c as Bt}from"./index-c94da121.js";import{N as Lt}from"./Input-4816b01d.js";function Ae(n){return window.TouchEvent&&n instanceof window.TouchEvent}function je(){const n=new Map,l=b=>d=>{n.set(b,d)};return ut(()=>{n.clear()}),[n,l]}const Ht=ne([a("slider",` - display: block; - padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0; - position: relative; - z-index: 0; - width: 100%; - cursor: pointer; - user-select: none; - -webkit-user-select: none; - `,[C("reverse",[a("slider-handles",[a("slider-handle-wrapper",` - transform: translate(50%, -50%); - `)]),a("slider-dots",[a("slider-dot",` - transform: translateX(50%, -50%); - `)]),C("vertical",[a("slider-handles",[a("slider-handle-wrapper",` - transform: translate(-50%, -50%); - `)]),a("slider-marks",[a("slider-mark",` - transform: translateY(calc(-50% + var(--n-dot-height) / 2)); - `)]),a("slider-dots",[a("slider-dot",` - transform: translateX(-50%) translateY(0); - `)])])]),C("vertical",` - padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2); - width: var(--n-rail-width-vertical); - height: 100%; - `,[a("slider-handles",` - top: calc(var(--n-handle-size) / 2); - right: 0; - bottom: calc(var(--n-handle-size) / 2); - left: 0; - `,[a("slider-handle-wrapper",` - top: unset; - left: 50%; - transform: translate(-50%, 50%); - `)]),a("slider-rail",` - height: 100%; - `,[pe("fill",` - top: unset; - right: 0; - bottom: unset; - left: 0; - `)]),C("with-mark",` - width: var(--n-rail-width-vertical); - margin: 0 32px 0 8px; - `),a("slider-marks",` - top: calc(var(--n-handle-size) / 2); - right: unset; - bottom: calc(var(--n-handle-size) / 2); - left: 22px; - font-size: var(--n-mark-font-size); - `,[a("slider-mark",` - transform: translateY(50%); - white-space: nowrap; - `)]),a("slider-dots",` - top: calc(var(--n-handle-size) / 2); - right: unset; - bottom: calc(var(--n-handle-size) / 2); - left: 50%; - `,[a("slider-dot",` - transform: translateX(-50%) translateY(50%); - `)])]),C("disabled",` - cursor: not-allowed; - opacity: var(--n-opacity-disabled); - `,[a("slider-handle",` - cursor: not-allowed; - `)]),C("with-mark",` - width: 100%; - margin: 8px 0 32px 0; - `),ne("&:hover",[a("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[pe("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),a("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),C("active",[a("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[pe("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),a("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),a("slider-marks",` - position: absolute; - top: 18px; - left: calc(var(--n-handle-size) / 2); - right: calc(var(--n-handle-size) / 2); - `,[a("slider-mark",` - position: absolute; - transform: translateX(-50%); - white-space: nowrap; - `)]),a("slider-rail",` - width: 100%; - position: relative; - height: var(--n-rail-height); - background-color: var(--n-rail-color); - transition: background-color .3s var(--n-bezier); - border-radius: calc(var(--n-rail-height) / 2); - `,[pe("fill",` - position: absolute; - top: 0; - bottom: 0; - border-radius: calc(var(--n-rail-height) / 2); - transition: background-color .3s var(--n-bezier); - background-color: var(--n-fill-color); - `)]),a("slider-handles",` - position: absolute; - top: 0; - right: calc(var(--n-handle-size) / 2); - bottom: 0; - left: calc(var(--n-handle-size) / 2); - `,[a("slider-handle-wrapper",` - outline: none; - position: absolute; - top: 50%; - transform: translate(-50%, -50%); - cursor: pointer; - display: flex; - `,[a("slider-handle",` - height: var(--n-handle-size); - width: var(--n-handle-size); - border-radius: 50%; - overflow: hidden; - transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier); - background-color: var(--n-handle-color); - box-shadow: var(--n-handle-box-shadow); - `,[ne("&:hover",` - box-shadow: var(--n-handle-box-shadow-hover); - `)]),ne("&:focus",[a("slider-handle",` - box-shadow: var(--n-handle-box-shadow-focus); - `,[ne("&:hover",` - box-shadow: var(--n-handle-box-shadow-active); - `)])])])]),a("slider-dots",` - position: absolute; - top: 50%; - left: calc(var(--n-handle-size) / 2); - right: calc(var(--n-handle-size) / 2); - `,[C("transition-disabled",[a("slider-dot","transition: none;")]),a("slider-dot",` - transition: - border-color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier); - position: absolute; - transform: translate(-50%, -50%); - height: var(--n-dot-height); - width: var(--n-dot-width); - border-radius: var(--n-dot-border-radius); - overflow: hidden; - box-sizing: border-box; - border: var(--n-dot-border); - background-color: var(--n-dot-color); - `,[C("active","border: var(--n-dot-border-active);")])])]),a("slider-handle-indicator",` - font-size: var(--n-font-size); - padding: 6px 10px; - border-radius: var(--n-indicator-border-radius); - color: var(--n-indicator-text-color); - background-color: var(--n-indicator-color); - box-shadow: var(--n-indicator-box-shadow); - `,[Ne()]),a("slider-handle-indicator",` - font-size: var(--n-font-size); - padding: 6px 10px; - border-radius: var(--n-indicator-border-radius); - color: var(--n-indicator-text-color); - background-color: var(--n-indicator-color); - box-shadow: var(--n-indicator-box-shadow); - `,[C("top",` - margin-bottom: 12px; - `),C("right",` - margin-left: 12px; - `),C("bottom",` - margin-top: 12px; - `),C("left",` - margin-right: 12px; - `),Ne()]),ht(a("slider",[a("slider-dot","background-color: var(--n-dot-color-modal);")])),ft(a("slider",[a("slider-dot","background-color: var(--n-dot-color-popover);")]))]),Pt=0,Et=Object.assign(Object.assign({},Ue.props),{to:Le.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),Nt=Re({name:"Slider",props:Et,setup(n){const{mergedClsPrefixRef:l,namespaceRef:b,inlineThemeDisabled:d}=vt(n),f=Ue("Slider","-slider",Ht,mt,n,l),v=m(null),[V,M]=je(),[W,D]=je(),T=m(new Set),E=pt(n),{mergedDisabledRef:k}=E,S=_(()=>{const{step:e}=n;if(Number(e)<=0||e==="mark")return 0;const t=e.toString();let o=0;return t.includes(".")&&(o=t.length-t.indexOf(".")-1),o}),B=m(n.defaultValue),ae=gt(n,"value"),Z=bt(ae,B),R=_(()=>{const{value:e}=Z;return(n.range?e:[e]).map(ce)}),re=_(()=>R.value.length>2),$e=_(()=>n.placement===void 0?n.vertical?"right":"top":n.placement),se=_(()=>{const{marks:e}=n;return e?Object.keys(e).map(parseFloat):null}),$=m(-1),le=m(-1),L=m(-1),H=m(!1),O=m(!1),ee=_(()=>{const{vertical:e,reverse:t}=n;return e?t?"top":"bottom":t?"right":"left"}),ie=_(()=>{if(re.value)return;const e=R.value,t=Y(n.range?Math.min(...e):n.min),o=Y(n.range?Math.max(...e):e[0]),{value:r}=ee;return n.vertical?{[r]:`${t}%`,height:`${o-t}%`}:{[r]:`${t}%`,width:`${o-t}%`}}),K=_(()=>{const e=[],{marks:t}=n;if(t){const o=R.value.slice();o.sort((w,x)=>w-x);const{value:r}=ee,{value:u}=re,{range:p}=n,I=u?()=>!1:w=>p?w>=o[0]&&w<=o[o.length-1]:w<=o[0];for(const w of Object.keys(t)){const x=Number(w);e.push({active:I(x),label:t[w],style:{[r]:`${Y(x)}%`}})}}return e});function de(e,t){const o=Y(e),{value:r}=ee;return{[r]:`${o}%`,zIndex:t===$.value?1:0}}function s(e){return n.showTooltip||L.value===e||$.value===e&&H.value}function c(e){return H.value?!($.value===e&&le.value===e):!0}function i(e){var t;~e&&($.value=e,(t=V.get(e))===null||t===void 0||t.focus())}function N(){W.forEach((e,t)=>{s(t)&&e.syncPosition()})}function g(e){const{"onUpdate:value":t,onUpdateValue:o}=n,{nTriggerFormInput:r,nTriggerFormChange:u}=E;o&&ge(o,e),t&&ge(t,e),B.value=e,r(),u()}function Ce(e){const{range:t}=n;if(t){if(Array.isArray(e)){const{value:o}=R;e.join()!==o.join()&&g(e)}}else Array.isArray(e)||R.value[0]!==e&&g(e)}function X(e,t){if(n.range){const o=R.value.slice();o.splice(t,1,e),Ce(o)}else Ce(e)}function te(e,t,o){const r=o!==void 0;o||(o=e-t>0?1:-1);const u=se.value||[],{step:p}=n;if(p==="mark"){const x=U(e,u.concat(t),r?o:void 0);return x?x.value:t}if(p<=0)return t;const{value:I}=S;let w;if(r){const x=Number((t/p).toFixed(I)),F=Math.floor(x),Se=x>F?F:F-1,Me=x0)&&(r===null||I0?1:-1),t)}function Ke(e){var t,o;if(k.value||!Ae(e)&&e.button!==Pt)return;const r=oe(e);if(r===void 0)return;const u=R.value.slice(),p=n.range?(o=(t=U(r,u))===null||t===void 0?void 0:t.index)!==null&&o!==void 0?o:-1:0;p!==-1&&(e.preventDefault(),i(p),Xe(),X(te(r,R.value[p]),p))}function Xe(){H.value||(H.value=!0,n.onDragstart&&ge(n.onDragstart),be("touchend",document,me),be("mouseup",document,me),be("touchmove",document,ve),be("mousemove",document,ve))}function fe(){H.value&&(H.value=!1,n.onDragend&&ge(n.onDragend),we("touchend",document,me),we("mouseup",document,me),we("touchmove",document,ve),we("mousemove",document,ve))}function ve(e){const{value:t}=$;if(!H.value||t===-1){fe();return}const o=oe(e);o!==void 0&&X(te(o,R.value[t]),t)}function me(){fe()}function Ye(e){$.value=e,k.value||(L.value=e)}function qe(e){$.value===e&&($.value=-1,fe()),L.value===e&&(L.value=-1)}function Ge(e){L.value=e}function Je(e){L.value===e&&(L.value=-1)}_e($,(e,t)=>void ke(()=>le.value=t)),_e(Z,()=>{if(n.marks){if(O.value)return;O.value=!0,ke(()=>{O.value=!1})}ke(N)}),wt(()=>{fe()});const Pe=_(()=>{const{self:{markFontSize:e,railColor:t,railColorHover:o,fillColor:r,fillColorHover:u,handleColor:p,opacityDisabled:I,dotColor:w,dotColorModal:x,handleBoxShadow:F,handleBoxShadowHover:Se,handleBoxShadowActive:Me,handleBoxShadowFocus:Qe,dotBorder:Ze,dotBoxShadow:et,railHeight:tt,railWidthVertical:ot,handleSize:nt,dotHeight:at,dotWidth:rt,dotBorderRadius:st,fontSize:lt,dotBorderActive:it,dotColorPopover:dt},common:{cubicBezierEaseInOut:ct}}=f.value;return{"--n-bezier":ct,"--n-dot-border":Ze,"--n-dot-border-active":it,"--n-dot-border-radius":st,"--n-dot-box-shadow":et,"--n-dot-color":w,"--n-dot-color-modal":x,"--n-dot-color-popover":dt,"--n-dot-height":at,"--n-dot-width":rt,"--n-fill-color":r,"--n-fill-color-hover":u,"--n-font-size":lt,"--n-handle-box-shadow":F,"--n-handle-box-shadow-active":Me,"--n-handle-box-shadow-focus":Qe,"--n-handle-box-shadow-hover":Se,"--n-handle-color":p,"--n-handle-size":nt,"--n-opacity-disabled":I,"--n-rail-color":t,"--n-rail-color-hover":o,"--n-rail-height":tt,"--n-rail-width-vertical":ot,"--n-mark-font-size":e}}),G=d?Fe("slider",void 0,Pe,n):void 0,Ee=_(()=>{const{self:{fontSize:e,indicatorColor:t,indicatorBoxShadow:o,indicatorTextColor:r,indicatorBorderRadius:u}}=f.value;return{"--n-font-size":e,"--n-indicator-border-radius":u,"--n-indicator-box-shadow":o,"--n-indicator-color":t,"--n-indicator-text-color":r}}),J=d?Fe("slider-indicator",void 0,Ee,n):void 0;return{mergedClsPrefix:l,namespace:b,uncontrolledValue:B,mergedValue:Z,mergedDisabled:k,mergedPlacement:$e,isMounted:xt(),adjustedTo:Le(n),dotTransitionDisabled:O,markInfos:K,isShowTooltip:s,shouldKeepTooltipTransition:c,handleRailRef:v,setHandleRefs:M,setFollowerRefs:D,fillStyle:ie,getHandleStyle:de,activeIndex:$,arrifiedValues:R,followerEnabledIndexSet:T,handleRailMouseDown:Ke,handleHandleFocus:Ye,handleHandleBlur:qe,handleHandleMouseEnter:Ge,handleHandleMouseLeave:Je,handleRailKeyDown:ze,indicatorCssVars:d?void 0:Ee,indicatorThemeClass:J==null?void 0:J.themeClass,indicatorOnRender:J==null?void 0:J.onRender,cssVars:d?void 0:Pe,themeClass:G==null?void 0:G.themeClass,onRender:G==null?void 0:G.onRender}},render(){var n;const{mergedClsPrefix:l,themeClass:b,formatTooltip:d}=this;return(n=this.onRender)===null||n===void 0||n.call(this),y("div",{class:[`${l}-slider`,b,{[`${l}-slider--disabled`]:this.mergedDisabled,[`${l}-slider--active`]:this.activeIndex!==-1,[`${l}-slider--with-mark`]:this.marks,[`${l}-slider--vertical`]:this.vertical,[`${l}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},y("div",{class:`${l}-slider-rail`},y("div",{class:`${l}-slider-rail__fill`,style:this.fillStyle}),this.marks?y("div",{class:[`${l}-slider-dots`,this.dotTransitionDisabled&&`${l}-slider-dots--transition-disabled`]},this.markInfos.map(f=>y("div",{key:f.label,class:[`${l}-slider-dot`,{[`${l}-slider-dot--active`]:f.active}],style:f.style}))):null,y("div",{ref:"handleRailRef",class:`${l}-slider-handles`},this.arrifiedValues.map((f,v)=>{const V=this.isShowTooltip(v);return y(yt,null,{default:()=>[y(kt,null,{default:()=>y("div",{ref:this.setHandleRefs(v),class:`${l}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,style:this.getHandleStyle(f,v),onFocus:()=>{this.handleHandleFocus(v)},onBlur:()=>{this.handleHandleBlur(v)},onMouseenter:()=>{this.handleHandleMouseEnter(v)},onMouseleave:()=>{this.handleHandleMouseLeave(v)}},_t(this.$slots.thumb,()=>[y("div",{class:`${l}-slider-handle`})]))}),this.tooltip&&y(Rt,{ref:this.setFollowerRefs(v),show:V,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(v),teleportDisabled:this.adjustedTo===Le.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>y(We,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(v),onEnter:()=>{this.followerEnabledIndexSet.add(v)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(v)}},{default:()=>{var M;return V?((M=this.indicatorOnRender)===null||M===void 0||M.call(this),y("div",{class:[`${l}-slider-handle-indicator`,this.indicatorThemeClass,`${l}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},typeof d=="function"?d(f):f)):null}})})]})})),this.marks?y("div",{class:`${l}-slider-marks`},this.markInfos.map(f=>y("div",{key:f.label,class:`${l}-slider-mark`,style:f.style},f.label))):null))}}),Ft={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},At=h("path",{d:"M315.27 33L96 304h128l-31.51 173.23a2.36 2.36 0 0 0 2.33 2.77h0a2.36 2.36 0 0 0 1.89-.95L416 208H288l31.66-173.25a2.45 2.45 0 0 0-2.44-2.75h0a2.42 2.42 0 0 0-1.95 1z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),jt=[At],Ut=Re({name:"FlashOutline",render:function(l,b){return P(),Q("svg",Ft,jt)}});function Wt(n,l){let b,d;return function(...v){d=v,b||(b=setTimeout(()=>{n.apply(this,d),b=null},l))}}const Ot={class:"min-h-full overflow-hidden flex flex-col"},Kt={class:"flex-1 min-h-full p-4 relative"},Xt=["id"],Yt=["id","src","onLoad","onError","onClick"],qt={class:"menu p-2 text-[#cbd5e1]"},Gt={class:"prompt"},Jt={class:"flex justify-end items-end space-x-2"},Qt=["onClick"],Zt={class:"text-sm dark:text-slate-400"},eo=h("span",null,"画同款",-1),to=["onClick"],oo={class:"text-sm dark:text-slate-400"},no=h("span",null,"使用当前画同款",-1),ao=["onClick"],ro={class:"text-sm dark:text-slate-400"},so=h("span",null,"复制提示词",-1),lo=h("div",{id:"footer",class:"w-full absolute bottom-[350px]"},null,-1),io=Re({__name:"index",props:{dataList:{},scaleWidth:{},isDrawLike:{type:Boolean},usePropmpt:{type:Boolean},copyPropmpt:{type:Boolean},gap:{default:5}},emits:["loadMore","usePropmptDraw"],setup(n,{emit:l}){var de;const b=$t(),d=n,f=l,v=(de=Ct())==null?void 0:de.appContext.config.globalProperties.$viewerApi,V=zt(),M=m({}),W=m(0),D=m(160),T=m(0),E=m([]),k=m(null),S=m(0),B=_(()=>b.isLogin),ae=_(()=>d.scaleWidth?Number(d.scaleWidth)*2+d.gap+150:150),Z=St();function R(){$e(),se();const s=T.value,c=D.value,i=[];d.dataList.forEach((N,g)=>{const X=N.drawRatio.split("x"),te=parseInt(X[0],10),ce=parseInt(X[1],10),Y=c/te,ue=ce*Y+d.gap+W.value,q=M.value[N.id];if(i.lengthze===U);q.style.top=`${U+0}px`,q.style.left=`${oe*(D.value+d.gap)}px`,i[oe]+=ue}}),S.value=Math.max(...i)+100}function re(s,c){s&&c&&(M.value[c.id]=s)}function $e(){const{showName:s=0,showOther:c=0}={};W.value=[s,c].filter(i=>i).length*15}_e(()=>d.scaleWidth,s=>{K()}),_e(()=>d.dataList,s=>{s&&ke(()=>{K()})},{immediate:!0});function se(){if(!k.value)return;const s=k.value.clientWidth;T.value=Math.floor(s/ae.value);const c=s-T.value*ae.value,i=(T.value-1)*d.gap;c-i<0&&(T.value-=1),D.value=Math.floor((s-i)/T.value)}function $(s,c){E.value.push(c.id)}function le(s,c){E.value.push(c.id)}function L(s){if(!B.value)return b.setLoginDialog(!0);const{prompt:c}=s;Bt({text:c}),V.success("复制prompt成功")}function H(s){Z.push(`/midjourney?mjId=${s.id}`)}function O(s){const{fullPrompt:c}=s;f("usePropmptDraw",c)}function ee(s){const{drawUrl:c}=s;v({options:{},images:[c]})}const ie=_(()=>s=>{const c=s.drawRatio.split("x"),i=Number(c[0]);return Number(c[1])/(i/D.value)}),K=Wt(function(){R()},200);return Oe(async()=>{window.addEventListener("resize",K);const s=document.getElementById("footer");new IntersectionObserver((i,N)=>{i.forEach(g=>{g.isIntersecting&&f("loadMore")})}).observe(s)}),Mt(()=>{window.removeEventListener("resize",K)}),(s,c)=>(P(),Q("div",Ot,[h("div",Kt,[h("div",{id:"wapper",ref_key:"wapperRef",ref:k,class:"wapper",style:xe({height:`${S.value}px`})},[(P(!0),Q(Dt,null,Tt(s.dataList,(i,N)=>(P(),Q("div",{id:i.id.toString(),key:N,ref_for:!0,ref:g=>re(g,i),class:"wapper-item",style:xe({width:`${D.value}px`})},[j(We,{name:"img",css:!0},{default:A(()=>[h("img",{id:i.id.toString(),class:"item-file rounded-sm",style:xe({width:`${D.value}px`,height:`${ie.value(i)}px`}),src:i.drawUrl,loading:"lazy",onLoad:g=>$(g,i),onError:g=>le(g,i),onClick:g=>ee(i)},null,44,Yt)]),_:2},1024),h("div",qt,[h("div",Gt,He(i.fullPrompt),1),h("div",Jt,[s.isDrawLike?(P(),De(z(Ve),{key:0,trigger:"hover"},{trigger:A(()=>[h("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:Te(g=>H(i),["stop"])},[h("span",Zt,[j(z(Ie),{icon:"fluent:draw-image-24-regular",class:"text-sm"})])],8,Qt)]),default:A(()=>[eo]),_:2},1024)):ye("",!0),s.usePropmpt?(P(),De(z(Ve),{key:1,trigger:"hover"},{trigger:A(()=>[h("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:Te(g=>O(i),["stop"])},[h("span",oo,[j(z(Ie),{icon:"fluent:draw-image-24-regular",class:"text-sm"})])],8,to)]),default:A(()=>[no]),_:2},1024)):ye("",!0),s.copyPropmpt?(P(),De(z(Ve),{key:2,trigger:"hover"},{trigger:A(()=>[h("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:Te(g=>L(i),["stop"])},[h("span",ro,[j(z(Ie),{icon:"tabler:copy",class:"text-sm"})])],8,ao)]),default:A(()=>[so]),_:2},1024)):ye("",!0)])]),E.value.includes(i.id)?ye("",!0):(P(),Q("div",{key:0,class:"item-loading",style:xe({width:`${D.value}px`,height:`${ie.value(i)}px`})},null,4))],12,Xt))),128)),lo],4)])]))}});const co={class:"bg-[#fff] h-[100vh] overflow-hidden p-4 pr-0 dark:bg-[#18181c] flex flex-col"},uo={class:"p-4 flex pr-6 justify-between items-center"},ho={class:"font-bold text-xl"},fo={class:"w-[200px] sm:w-[300px] flex justify-between"},vo={class:"hidden sm:block"},mo={class:"flex-1 ml-5"},po={class:"px-4 mb-1 pr-5"},go={class:"market overflow-y-scroll flex-1 min-h-screen p-4 dark:bg-[#18181c] relative"},yo=Re({__name:"index",setup(n){const l=m([]),b=m(null),d=m(50),f=m(""),v=m(1),V=m(20),M=m(!1),W=m(!0),D=_(()=>f.value?l.value.filter(k=>{const{prompt:S}=k;return S.includes(f.value)}):l.value);async function T(){M.value=!0;const k=await It({page:v.value,size:V.value,rec:1});M.value=!1,W.value=V.value===k.data.rows.length,l.value=[...l.value,...k.data.rows]}Oe(async()=>{await T()});function E(){v.value=v.value+1,T()}return(k,S)=>(P(),Q("div",co,[h("div",uo,[h("div",ho,He(z(Be)("draw.aiDrawingSquare")),1),h("div",fo,[h("span",vo,He(z(Be)("draw.sizeAdjustment")),1),h("div",mo,[j(z(Nt),{value:d.value,"onUpdate:value":S[0]||(S[0]=B=>d.value=B),step:10},null,8,["value"])])])]),h("div",po,[j(z(Lt),{value:f.value,"onUpdate:value":S[1]||(S[1]=B=>f.value=B),placeholder:z(Be)("draw.keywordSearchPlaceholder")},{prefix:A(()=>[j(z(Vt),{component:z(Ut)},null,8,["component"])]),_:1},8,["value","placeholder"])]),h("div",go,[h("div",{id:"wapper",ref_key:"wapperRef",ref:b,class:"wapper"},[j(io,{onLoadMore:E,copyPropmpt:"",isDrawLike:"",dataList:D.value,scaleWidth:d.value},null,8,["dataList","scaleWidth"])],512)])]))}});export{yo as default}; diff --git a/public/assets/index-20a35e72.js b/public/assets/index-20a35e72.js new file mode 100644 index 0000000..692ea1f --- /dev/null +++ b/public/assets/index-20a35e72.js @@ -0,0 +1,20 @@ +import{d as be,e as W,U as C,a3 as h,F as Rt,a6 as It,a4 as g,a5 as D,H as ce,S as x,V as L,m as Mt,P as bt,X as b,W as y,a9 as Gt,k as qe,v as Ye,u as Xe,ab as Qt,r as k,c as j,M as c,ac as Hi,ad as Li,w as Wi,o as Bi,f as Ui,a8 as Lt}from"./vue-10b4afc0.js";import{m as Qe,p as Ni,e as we,a as Ke,t as d,A as Ge,B as Fi,o as qi,q as Yi,C as Xi,D as Ce,E as Qi,F as Oe}from"./index-d64a7cc4.js";import{_ as Ze}from"./_plugin-vue_export-helper-c27b6911.js";import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{u as Ki}from"./useBasicLayout-a4f17bae.js";import{d as $e,e as Ve,L as Gi,z as _,p as gt,B as he,t as Zi,q as $i,K as ue,M as Ee,O as je,P as Vi,G as Ji}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";function De(t){return Qe({url:"/fanyi/translate",data:t})}function tn(){return Qe({url:"/models/mjInfo"})}function At(t){return Ni({url:"/midjourney/addMjDrawQueue",data:t})}const en=""+new URL("mj-8c02cbcc.png",import.meta.url).href,nn=""+new URL("niji-55cc65e6.png",import.meta.url).href,sn=""+new URL("market-f1234219.png",import.meta.url).href,on={class:"loading-text"},an={key:0,class:"progress"},rn={key:1,class:"progress"},ln=be({__name:"Loading",props:{gap:{default:10},progress:{default:0},tips:{default:""},bgColor:{},words:{default:["L","O","A","D","I","N","G"]}},setup(t){const e=t,i=we(),s=W(()=>i.theme),o=W(()=>s.value==="dark"?"#fff":"#000");return(n,r)=>(x(),C("div",{class:"loading",style:ce({background:e.bgColor})},[h("div",on,[(x(!0),C(Rt,null,It(e.words,l=>(x(),C("span",{key:l,style:ce({margin:`0 ${e.gap}px`,color:o.value}),class:"loading-text-words"},g(l),5))),128))]),!n.tips&&e.progress?(x(),C("div",an," 绘制进度: "+g(e.progress)+"% ",1)):D("",!0),n.tips?(x(),C("div",rn,g(e.tips),1)):D("",!0)],4))}});const Je=Ze(ln,[["__scopeId","data-v-07d64bb6"]]),cn=""+new URL("fail-7089de31.png",import.meta.url).href,ie=""+new URL("draw-bccd19c4.svg",import.meta.url).href,Te=""+new URL("zoom-426d4db7.svg",import.meta.url).href;function Pe(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),i.push.apply(i,s)}return i}function T(t){for(var e=1;e=0||(f[a]=r[a]);return f}(t,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(o[i]=t[i])}return o}function St(t){return function(e){if(Array.isArray(e))return ne(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,i){if(e){if(typeof e=="string")return ne(e,i);var s=Object.prototype.toString.call(e).slice(8,-1);if(s==="Object"&&e.constructor&&(s=e.constructor.name),s==="Map"||s==="Set")return Array.from(e);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return ne(e,i)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ne(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i=0?s=setTimeout(a,e-f):(s=null,i||(l=t.apply(n,o),n=o=null))}e==null&&(e=100);var u=function(){n=this,o=arguments,r=Date.now();var f=i&&!s;return s||(s=setTimeout(a,e)),f&&(l=t.apply(n,o),n=o=null),l};return u.clear=function(){s&&(clearTimeout(s),s=null)},u.flush=function(){s&&(l=t.apply(n,o),n=o=null,clearTimeout(s),s=null)},u}de.debounce=de;var me=de,M=function(){return M=Object.assign||function(t){for(var e,i=1,s=arguments.length;i0?i.left=s.left:s.right&&s.right>0&&(i.left=-s.right),s.top&&s.top>0?i.top=s.top:s.bottom&&s.bottom>0&&(i.top=-s.bottom),i}function oe(t,e){var i;return e.minimum&&te.maximum&&(i=e.maximum),i}function ai(t,e){var i=P(t),s=P(e);return e.width<1/0&&e.height<1/0?i>s?{width:e.width,height:e.width/i}:{width:e.height*i,height:e.height}:e.width<1/0?{width:e.width,height:e.width/i}:e.height<1/0?{width:e.height*i,height:e.height}:t}function ri(t,e){var i=e*Math.PI/180;return{width:Math.abs(t.width*Math.cos(i))+Math.abs(t.height*Math.sin(i)),height:Math.abs(t.width*Math.sin(i))+Math.abs(t.height*Math.cos(i))}}function xt(t,e){var i=e*Math.PI/180;return{left:t.left*Math.cos(i)-t.top*Math.sin(i),top:t.left*Math.sin(i)+t.top*Math.cos(i)}}function $t(t,e){var i=Bt(G(t,e),e);return i.left+i.right+i.top+i.bottom?i.left+i.right>i.top+i.bottom?Math.min((t.width+i.left+i.right)/t.width,Pt(t,e)):Math.min((t.height+i.top+i.bottom)/t.height,Pt(t,e)):1}function G(t,e,i){i===void 0&&(i=!1);var s=kt(t,e);return J(t,i?Zt(s):s)}function pe(t){return{width:t.right!==void 0&&t.left!==void 0?t.right-t.left:1/0,height:t.bottom!==void 0&&t.top!==void 0?t.bottom-t.top:1/0}}function wn(t,e){return M(M({},t),{minWidth:Math.min(e.width,t.minWidth),minHeight:Math.min(e.height,t.minHeight),maxWidth:Math.min(e.width,t.maxWidth),maxHeight:Math.min(e.height,t.maxHeight)})}function li(t,e,i){i===void 0&&(i=!0);var s={};return ht.forEach(function(o){var n=t[o],r=e[o];n!==void 0&&r!==void 0?s[o]=o==="left"||o==="top"?i?Math.max(n,r):Math.min(n,r):i?Math.min(n,r):Math.max(n,r):r!==void 0?s[o]=r:n!==void 0&&(s[o]=n)}),s}function Vt(t,e){return li(t,e,!0)}function Be(t){var e=t.size,i=t.aspectRatio,s=t.ignoreMinimum,o=t.sizeRestrictions;return!!((e.correctRatio||P(e)>=i.minimum&&P(e)<=i.maximum)&&e.height<=o.maxHeight&&e.width<=o.maxWidth&&e.width&&e.height&&(s||e.height>=o.minHeight&&e.width>=o.minWidth))}function Ue(t,e){return Math.pow(t.width-e.width,2)+Math.pow(t.height-e.height,2)}function vt(t){var e=t.width,i=t.height,s=t.sizeRestrictions,o={minimum:t.aspectRatio&&t.aspectRatio.minimum||0,maximum:t.aspectRatio&&t.aspectRatio.maximum||1/0},n={width:Math.max(s.minWidth,Math.min(s.maxWidth,e)),height:Math.max(s.minHeight,Math.min(s.maxHeight,i))};function r(u,f){return f===void 0&&(f=!1),u.reduce(function(m,v){return Be({size:v,aspectRatio:o,sizeRestrictions:s,ignoreMinimum:f})&&(!m||Ue(v,{width:e,height:i})1-f)||(m=M(M({},m),vt({sizeRestrictions:r,width:m.width,height:m.height,aspectRatio:{minimum:P(A),maximum:P(A)}})));var O=$t(v=ot(v,m.width*i.width/(v.width*A.width)),e({visibleArea:v,type:"resize"}));return O!==1&&(v=ot(v,O),m=ot(m,O)),v=G(v=J(v,Tt(K(m),K(v))),e({visibleArea:v,type:"move"})),{coordinates:m=G(m,Vt(ut(v),l)),visibleArea:v}}function xn(t){var e=t.event,i=t.getAreaRestrictions,s=t.boundaries,o=t.coordinates,n=t.visibleArea;t.aspectRatio,t.stencilSize,t.sizeRestrictions;var r=t.positionRestrictions;t.stencilReference;var l=M({},o),a=M({},n);if(o&&n&&e.type!=="manipulateImage"){var u={width:0,height:0};a.width,s.width,P(s)>P(l)?(u.height=.8*s.height,u.width=u.height*P(l)):(u.width=.8*s.width,u.height=u.width*P(l));var f=$t(a=ot(a,l.width*s.width/(a.width*u.width)),i({visibleArea:a,type:"resize"}));a=ot(a,f),f!==1&&(u.height/=f,u.width/=f),a=G(a=J(a,Tt(K(l),K(a))),i({visibleArea:a,type:"move"})),l=G(l,Vt(ut(a),r))}return{coordinates:l,visibleArea:a}}function zn(t){var e=t.event,i=t.coordinates,s=t.visibleArea,o=t.getAreaRestrictions,n=M({},s),r=M({},i);if(e.type==="setCoordinates"){var l=Math.max(0,r.width-n.width),a=Math.max(0,r.height-n.height);l>a?n=ot(n,Math.min(r.width/n.width,Pt(n,o({visibleArea:n,type:"resize"})))):a>l&&(n=ot(n,Math.min(r.height/n.height,Pt(n,o({visibleArea:n,type:"resize"}))))),n=G(n=J(n,Zt(kt(r,ut(n)))),o({visibleArea:n,type:"move"}))}return{visibleArea:n,coordinates:r}}function Rn(t){var e=t.imageSize,i=t.visibleArea,s=t.coordinates,o=i||e;return{left:(i?i.left:0)+o.width/2-s.width/2,top:(i?i.top:0)+o.height/2-s.height/2}}function In(t){var e=t.imageSize,i=t.visibleArea,s=t.aspectRatio,o=t.sizeRestrictions,n=i||e,r=Math.min(s.maximum||1/0,Math.max(s.minimum||0,P(n))),l=n.widthP(n)?i=(e=a.height*u.height/n.height)*P(a):e=(i=a.width*u.width/n.width)/P(a),vt({width:i,height:e,aspectRatio:r,sizeRestrictions:l})}function Mn(t){var e=t.getAreaRestrictions,i=t.coordinates,s=t.imageSize,o=P(t.boundaries);if(i){var n={height:Math.max(i.height,s.height),width:Math.max(i.width,s.width)},r=ai({width:P(n)>o?n.width:n.height*o,height:P(n)>o?n.width/o:n.height},pe(e())),l={left:i.left+i.width/2-r.width/2,top:i.top+i.height/2-r.height/2,width:r.width,height:r.height},a=Bt(i,ut(M({left:0,top:0},s))),u={};return!a.left&&!a.right&&l.width<=s.width&&(u.left=0,u.right=s.width),!a.top&&!a.bottom&&l.height<=s.height&&(u.top=0,u.bottom=s.height),G(l,u)}var f=P(s);return r={height:f>o?s.height:s.width/o,width:f>o?s.height*o:s.width},{left:s.width/2-r.width/2,top:s.height/2-r.height/2,width:r.width,height:r.height}}function qt(t,e){return li(t,ut(e))}function Cn(t){var e=t.event,i=t.coordinates,s=t.visibleArea,o=t.sizeRestrictions,n=t.getAreaRestrictions,r=t.positionRestrictions,l=t.adjustStencil,a=e.scale,u=e.move,f=M({},s),m=M({},i),v=1,A=1,O=a.factor&&Math.abs(a.factor-1)>.001;f=J(f,{left:u.left||0,top:u.top||0});var E={stencil:{minimum:Math.max(o.minWidth?o.minWidth/m.width:0,o.minHeight?o.minHeight/m.height:0),maximum:Math.min(o.maxWidth?o.maxWidth/m.width:1/0,o.maxHeight?o.maxHeight/m.height:1/0,Pt(m,r))},area:{maximum:Pt(f,n({visibleArea:f,type:"resize"}))}};a.factor&&O&&(a.factor<1?(A=Math.max(a.factor,E.stencil.minimum))>1&&(A=1):a.factor>1&&(A=Math.min(a.factor,Math.min(E.area.maximum,E.stencil.maximum)))<1&&(A=1)),A&&(f=ot(f,A,a.center));var B=i.left-s.left,Q=s.width+s.left-(i.width+i.left),dt=i.top-s.top,lt=s.height+s.top-(i.height+i.top);return f=G(f=J(f,kt(f,{left:r.left!==void 0?r.left-B*A:void 0,top:r.top!==void 0?r.top-dt*A:void 0,bottom:r.bottom!==void 0?r.bottom+lt*A:void 0,right:r.right!==void 0?r.right+Q*A:void 0})),n({visibleArea:f,type:"move"})),m.width=m.width*A,m.height=m.height*A,m.left=f.left+B*A,m.top=f.top+dt*A,m=G(m,Vt(ut(f),r)),a.factor&&O&&l&&(a.factor>1?v=Math.min(E.area.maximum,a.factor)/A:a.factor<1&&(v=Math.max(m.height/f.height,m.width/f.width,a.factor/A)),v!==1&&(f=J(f=G(f=ot(f,v,a.factor>1?a.center:K(m)),n({visibleArea:f,type:"move"})),Zt(kt(m,ut(f)))))),{coordinates:m,visibleArea:f}}function On(t){var e=t.aspectRatio,i=t.getAreaRestrictions,s=t.coordinates,o=t.visibleArea,n=t.sizeRestrictions,r=t.positionRestrictions,l=t.imageSize,a=t.previousImageSize,u=t.angle,f=M({},s),m=M({},o),v=xt(K(M({left:0,top:0},a)),u);return(f=M(M({},vt({sizeRestrictions:n,aspectRatio:e,width:f.width,height:f.height})),xt(K(f),u))).left-=v.left-l.width/2+f.width/2,f.top-=v.top-l.height/2+f.height/2,m=ot(m,$t(m,i({visibleArea:m,type:"resize"}))),{coordinates:f=G(f,r),visibleArea:m=G(m=J(m,Tt(K(f),K(s))),i({visibleArea:m,type:"move"}))}}function En(t){var e=t.flip,i=t.previousFlip,s=t.rotate;t.aspectRatio;var o=t.getAreaRestrictions,n=t.coordinates,r=t.visibleArea,l=t.imageSize,a=M({},n),u=M({},r),f=i.horizontal!==e.horizontal,m=i.vertical!==e.vertical;if(f||m){var v=xt({left:l.width/2,top:l.height/2},-s),A=xt(K(a),-s),O=xt({left:f?v.left-(A.left-v.left):A.left,top:m?v.top-(A.top-v.top):A.top},s);a=J(a,Tt(O,K(a))),A=xt(K(u),-s),u=G(u=J(u,Tt(O=xt({left:f?v.left-(A.left-v.left):A.left,top:m?v.top-(A.top-v.top):A.top},s),K(u))),o({visibleArea:u,type:"move"}))}return{coordinates:a,visibleArea:u}}function Ne(t){var e=t.directions,i=t.coordinates,s=t.positionRestrictions,o=s===void 0?{}:s,n=t.sizeRestrictions,r=t.preserveRatio,l=t.compensate,a=M({},e),u=ct(i,a).width,f=ct(i,a).height;u<0&&(a.left<0&&a.right<0?(a.left=-(i.width-n.minWidth)/(a.left/a.right),a.right=-(i.width-n.minWidth)/(a.right/a.left)):a.left<0?a.left=-(i.width-n.minWidth):a.right<0&&(a.right=-(i.width-n.minWidth))),f<0&&(a.top<0&&a.bottom<0?(a.top=-(i.height-n.minHeight)/(a.top/a.bottom),a.bottom=-(i.height-n.minHeight)/(a.bottom/a.top)):a.top<0?a.top=-(i.height-n.minHeight):a.bottom<0&&(a.bottom=-(i.height-n.minHeight)));var m=Bt(ct(i,a),o);l&&(m.left&&m.left>0&&m.right===0?(a.right+=m.left,a.left-=m.left):m.right&&m.right>0&&m.left===0&&(a.left+=m.right,a.right-=m.right),m.top&&m.top>0&&m.bottom===0?(a.bottom+=m.top,a.top-=m.top):m.bottom&&m.bottom>0&&m.top===0&&(a.top+=m.bottom,a.bottom-=m.bottom),m=Bt(ct(i,a),o));var v={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(ht.forEach(function(E){var B=m[E];B&&a[E]&&(v[E]=Math.max(0,1-B/a[E]))}),r){var A=Math.min.apply(null,ht.map(function(E){return v[E]}));A!==1/0&&ht.forEach(function(E){a[E]*=A})}else ht.forEach(function(E){v[E]!==1/0&&(a[E]*=v[E])});if(u=ct(i,a).width,f=ct(i,a).height,a.right+a.left&&(u>n.maxWidth?v.width=(n.maxWidth-i.width)/(a.right+a.left):un.maxHeight?v.height=(n.maxHeight-i.height)/(a.bottom+a.top):f=1&&(this.touchStarted?(this.processMove(t,t.touches),t.preventDefault(),t.stopPropagation()):ni({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:t.touches[0].clientX,y:t.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(t){if(this.movable&&t.button===0){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.cancelable&&t.preventDefault(),t.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.container.getBoundingClientRect(),i=e.left,s=e.top;this.anchor={x:t.clientX-i,y:t.clientY-s}},processMove:function(t,e){var i=St(e);if(this.touches.length){var s=this.$refs.container.getBoundingClientRect(),o=s.left,n=s.top;this.touches.length===1&&i.length===1&&this.$emit("move",new ye({left:i[0].clientX-(o+this.anchor.x),top:i[0].clientY-(n+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};hi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)})},[Mt(t.$slots,"default")],544)};function re(t){var e,i;return{rotate:t.rotate||0,flip:{horizontal:((e=t==null?void 0:t.flip)===null||e===void 0?void 0:e.horizontal)||!1,vertical:((i=t==null?void 0:t.flip)===null||i===void 0?void 0:i.vertical)||!1}}}function Ln(t){return new Promise(function(e,i){try{if(t)if(/^data:/i.test(t))e(function(a){a=a.replace(/^data:([^;]+);base64,/gim,"");for(var u=atob(a),f=u.length,m=new ArrayBuffer(f),v=new Uint8Array(m),A=0;A=8&&(r=s+f)}}if(r){for(var m=i.getUint16(r,o),v=0;v1&&this.touchResize){var i=Fe(e,this.$refs.container),s=this.oldGeometricProperties;s.count===i.count&&s.count>1&&this.$emit("resize",new Wt({left:s.centerMass.left-i.centerMass.left,top:s.centerMass.top-i.centerMass.top},{factor:s.spread/i.spread,center:i.centerMass})),this.oldGeometricProperties=i}this.touches=e}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(t){return this.eventsFilter?this.eventsFilter(t,this.transforming)!==!1:(t.preventDefault(),t.stopPropagation(),!0)},onTouchStart:function(t){if(t.cancelable&&(this.touchMove||this.touchResize&&t.touches.length>1)&&this.processEvent(t)){var e=this.$refs.container,i=e.getBoundingClientRect(),s=i.left,o=i.top,n=i.bottom,r=i.right;this.touches=St(t.touches).filter(function(l){return l.clientX>s&&l.clientXo&&l.clientY0?1:-1),n={left:t.clientX-i,top:t.clientY-s};this.$emit("resize",new Wt({},{factor:o,center:n})),this.touches.length||this.debouncedProcessEnd()}var r,l}},emits:["resize","move","transform-end"]};di.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)}),onWheel:e[3]||(e[3]=function(){return n.onWheel&&n.onWheel.apply(n,arguments)})},[Mt(t.$slots,"default")],544)};var ve={components:{TransformableImage:di},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"]};ve.render=function(t,e,i,s,o,n){var r=bt("transformable-image");return x(),L(r,{"touch-move":i.touchMove,"touch-resize":i.touchResize,"mouse-move":i.mouseMove,"wheel-resize":i.wheelResize,onMove:e[1]||(e[1]=function(l){return t.$emit("move",l)}),onResize:e[2]||(e[2]=function(l){return t.$emit("resize",l)})},{default:y(function(){return[Mt(t.$slots,"default")]}),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])};var Xt=rt("vue-preview"),mi={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:Xt({fill:this.fill}),wrapper:Xt("wrapper"),imageWrapper:Xt("image-wrapper"),image:q(Xt("image"),this.imageClass)}},style:function(){if(this.fill)return{};var t={};return this.width&&(t.width="".concat(this.size.width,"px")),this.height&&(t.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},wrapperStyle:function(){var t={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},imageStyle:function(){if(this.coordinates&&this.image){var t=this.coordinates.width/this.size.width,e=T(T({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/t,scaleY:1/t}),i=this.imageSize.width,s=this.imageSize.height,o=ri({width:i,height:s},e.rotate),n={width:"".concat(i,"px"),height:"".concat(s,"px"),left:"0px",top:"0px"},r={rotate:{left:(i-o.width)*e.scaleX/2,top:(s-o.height)*e.scaleY/2},scale:{left:(1-e.scaleX)*i/2,top:(1-e.scaleY)*s/2}};return n.transform=`translate( + `.concat(-this.coordinates.left/t-r.rotate.left-r.scale.left,"px,").concat(-this.coordinates.top/t-r.rotate.top-r.scale.top,"px) ")+ui(e),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(t){(t.width||t.height)&&this.onChangeImage()}},mounted:function(){var t=this;this.onChangeImage(),this.$refs.image.addEventListener("load",function(){t.refreshImage()}),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var t=this.$refs.image;this.calculatedImageSize.height=t.naturalHeight,this.calculatedImageSize.width=t.naturalWidth},refresh:function(){var t=this.$refs.root;this.width||(this.calculatedSize.width=t.clientWidth),this.height||(this.calculatedSize.height=t.clientHeight)},onChangeImage:function(){var t=this.$refs.image;t&&t.complete&&this.refreshImage(),this.refresh()}}};mi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"root",class:n.classes.root,style:n.style},[b("div",{ref:"wrapper",class:n.classes.wrapper,style:n.wrapperStyle},[qe(b("img",{ref:"image",src:i.image&&i.image.src,class:n.classes.image,style:n.imageStyle},null,14,["src"]),[[Ye,i.image&&i.image.src]])],6)],6)};var fi={components:{Preview:mi},inheritAttrs:!1};fi.render=function(t,e,i,s,o,n){var r=bt("preview");return x(),L(r,Xe(t.$attrs,{fill:!0}),null,16)};var le=rt("vue-rectangle-stencil"),pi={name:"RectangleStencil",components:{StencilPreview:fi,BoundingBox:ci,DraggableArea:hi},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return xe}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return ze}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:q(le({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:q(le("preview"),this.previewClass),boundingBox:q(le("bounding-box"),this.boundingBoxClass)}},style:function(){var t=this.stencilCoordinates,e=t.height,i=t.width,s=t.left,o=t.top,n={width:"".concat(i,"px"),height:"".concat(e,"px"),transform:"translate(".concat(s,"px, ").concat(o,"px)")};return this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}},methods:{onMove:function(t){this.$emit("move",t),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(t){this.$emit("resize",t),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"]};pi.render=function(t,e,i,s,o,n){var r=bt("stencil-preview"),l=bt("draggable-area"),a=bt("bounding-box");return x(),L("div",{class:n.classes.stencil,style:n.style},[b(a,{width:i.stencilCoordinates.width,height:i.stencilCoordinates.height,transitions:i.transitions,class:n.classes.boundingBox,handlers:i.handlers,"handlers-component":i.handlersComponent,"handlers-classes":i.handlersClasses,"handlers-wrappers-classes":i.handlersWrappersClasses,lines:i.lines,"lines-component":i.linesComponent,"lines-classes":i.linesClasses,"lines-wrappers-classes":i.linesWrappersClasses,resizable:i.resizable,onResize:n.onResize,onResizeEnd:n.onResizeEnd},{default:y(function(){return[b(l,{movable:i.movable,onMove:n.onMove,onMoveEnd:n.onMoveEnd},{default:y(function(){return[b(r,{image:i.image,coordinates:i.coordinates,width:i.stencilCoordinates.width,height:i.stencilCoordinates.height,class:n.classes.preview,transitions:i.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var Bn=["transitions"],pt=rt("vue-advanced-cropper"),gi={name:"Cropper",components:{BackgroundWrapper:ve},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return pi}},backgroundWrapperComponent:{type:[Object,String],default:function(){return ve}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(t){return bn.indexOf(t)!==-1}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(t){return!(typeof t=="string"&&t!=="fill"&&t!=="fit")}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(t){var e=t.event,i=t.coordinates,s=t.aspectRatio,o=t.positionRestrictions,n=t.sizeRestrictions,r=M(M({},i),{right:i.left+i.width,bottom:i.top+i.height}),l=e.params||{},a=M({},e.directions),u=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};n.widthFrozen&&(a.left=0,a.right=0),n.heightFrozen&&(a.top=0,a.bottom=0),ht.forEach(function(tt){u[tt]||(a[tt]=0)});var f=ct(r,a=Ne({coordinates:r,directions:a,sizeRestrictions:n,positionRestrictions:o})).width,m=ct(r,a).height,v=l.preserveRatio?P(r):oe(f/m,s);if(v){var A=l.respectDirection;if(A||(A=r.width>=r.height||v===1?"width":"height"),A==="width"){var O=f/v-r.height;if(u.top&&u.bottom){var E=a.top,B=a.bottom;a.bottom=Yt(O,B,E),a.top=Yt(O,E,B)}else u.bottom?a.bottom=O:u.top?a.top=O:u.right?a.right=0:u.left&&(a.left=0)}else if(A==="height"){var Q=r.width-m*v;if(u.left&&u.right){var dt=a.left,lt=a.right;a.left=-Yt(Q,dt,lt),a.right=-Yt(Q,lt,dt)}else u.left?a.left=-Q:u.right?a.right=-Q:u.top?a.top=0:u.bottom&&(a.bottom=0)}a=Ne({directions:a,coordinates:r,sizeRestrictions:n,positionRestrictions:o,preserveRatio:!0,compensate:l.compensate})}return f=ct(r,a).width,m=ct(r,a).height,(v=l.preserveRatio?P(r):oe(f/m,s))&&Math.abs(v-f/m)>.001&&ht.forEach(function(tt){u[tt]||(a[tt]=0)}),ge({event:new ye({left:-a.left,top:-a.top}),coordinates:{width:i.width+a.right+a.left,height:i.height+a.top+a.bottom,left:i.left,top:i.top},positionRestrictions:o})}},moveAlgorithm:{type:Function,default:ge},initStretcher:{type:Function,default:function(t){var e=t.stretcher,i=t.imageSize,s=P(i);e.style.width=i.width+"px",e.style.height=e.clientWidth/s+"px",e.style.width=e.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(t){var e=t.visibleArea,i=t.coordinates,s=t.aspectRatio,o=t.sizeRestrictions,n=t.positionRestrictions,r=M(M({},i),vt({width:i.width,height:i.height,aspectRatio:s,sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minHeight:Math.min(e.height,o.minHeight),minWidth:Math.min(e.width,o.minWidth)}}));return r=G(r=J(r,Tt(K(i),K(r))),Vt(ut(e),n))}},fitVisibleArea:{type:Function,default:function(t){var e=t.visibleArea,i=t.boundaries,s=t.getAreaRestrictions,o=t.coordinates,n=M({},e);n.height=n.width/P(i),n.top+=(e.height-n.height)/2,(o.height-n.height>0||o.width-n.width>0)&&(n=ot(n,Math.max(o.height/n.height,o.width/n.width)));var r=Zt(kt(o,ut(n=ot(n,$t(n,s({visibleArea:n,type:"resize"}))))));return n.widthP(s)?(r={top:0,bottom:s.height},e&&n==="move"&&(e.width>s.width?(r.left=-(e.width-s.width)/2,r.right=s.width-r.left):(r.left=0,r.right=s.width))):(r={left:0,right:s.width},e&&n==="move"&&(e.height>s.height?(r.top=-(e.height-s.height)/2,r.bottom=s.height-r.top):(r.top=0,r.bottom=s.height)))),r}},sizeRestrictionsAlgorithm:{type:Function,default:function(t){return{minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.imageSize,i={};return t.imageRestriction!=="none"&&(i={left:0,top:0,right:e.width,bottom:e.height}),i}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:T({},Le)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var t=function(e){return e*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(t))+Math.abs(this.imageAttributes.height*Math.sin(t)),height:Math.abs(this.imageAttributes.width*Math.sin(t))+Math.abs(this.imageAttributes.height*Math.cos(t))}},initialized:function(){return!!(this.visibleArea&&this.imageLoaded)},settings:function(){var t=fe(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:fe(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:t}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var t=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:X(this.minWidth)?0:Ft(this.minWidth),minHeight:X(this.minHeight)?0:Ft(this.minHeight),maxWidth:X(this.maxWidth)?1/0:Ft(this.maxWidth),maxHeight:X(this.maxHeight)?1/0:Ft(this.maxHeight)});if(t=function(s){var o=s.areaRestrictions,n=s.sizeRestrictions;s.imageSize;var r=s.boundaries,l=s.positionRestrictions;s.imageRestriction;var a=M(M({},n),{minWidth:n.minWidth!==void 0?n.minWidth:0,minHeight:n.minHeight!==void 0?n.minHeight:0,maxWidth:n.maxWidth!==void 0?n.maxWidth:1/0,maxHeight:n.maxHeight!==void 0?n.maxHeight:1/0});l.left!==void 0&&l.right!==void 0&&(a.maxWidth=Math.min(a.maxWidth,l.right-l.left)),l.bottom!==void 0&&l.top!==void 0&&(a.maxHeight=Math.min(a.maxHeight,l.bottom-l.top));var u=pe(o),f=ai(r,u);return u.width<1/0&&(!a.maxWidth||a.maxWidth>f.width)&&(a.maxWidth=Math.min(a.maxWidth,f.width)),u.height<1/0&&(!a.maxHeight||a.maxHeight>f.height)&&(a.maxHeight=Math.min(a.maxHeight,f.height)),a.minWidth>a.maxWidth&&(a.minWidth=a.maxWidth,a.widthFrozen=!0),a.minHeight>a.maxHeight&&(a.minHeight=a.maxHeight,a.heightFrozen=!0),a}({sizeRestrictions:t,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var e=this.getStencilSize(),i=pe(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));t.maxWidth=Math.min(t.maxWidth,i.width*e.width/this.boundaries.width),t.maxHeight=Math.min(t.maxHeight,i.height*e.height/this.boundaries.height),t.maxWidththis.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},e={left:(t.width-this.imageSize.width)/(2*this.coefficient),top:(t.height-this.imageSize.height)/(2*this.coefficient)},i={left:(1-1/this.coefficient)*t.width/2,top:(1-1/this.coefficient)*t.height/2},s=T(T({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/t.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/t.height)}),o={width:"".concat(t.width,"px"),height:"".concat(t.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-e.left-i.left-this.imageTransforms.translateX,"px, ").concat(-e.top-i.top-this.imageTransforms.translateY,"px)")+ui(s)};return this.transitionsOptions.enabled&&(o.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),o}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var t=this;this.$nextTick(function(){t.resetCoordinates(),t.runAutoZoom("setCoordinates"),t.onChange()})},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(t,e){["aspectRatio","minAspectRatio","maxAspectRatio"].find(function(i){return t[i]!==e[i]})&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=me(this.update,this.debounce),this.debouncedDisableTransitions=me(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var t=this.initialized?this.prepareResult(T({},this.coordinates)):this.defaultCoordinates(),e={rotate:this.imageTransforms.rotate%360,flip:T({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var i=this;return{image:this.image,coordinates:t,visibleArea:this.visibleArea?T({},this.visibleArea):null,imageTransforms:e,get canvas(){return i.canvas?i.getCanvas():void 0}}}return{image:this.image,coordinates:t,visibleArea:this.visibleArea?T({},this.visibleArea):null,canvas:void 0,imageTransforms:e}},zoom:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;this.onManipulateImage(new Wt({},{factor:1/t,center:e}),{normalize:!1,transitions:o})},move:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;this.onManipulateImage(new Wt({left:t||0,top:e||0}),{normalize:!1,transitions:o})},setCoordinates:function(t){var e=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=i.autoZoom,o=s===void 0||s,n=i.transitions,r=n===void 0||n;this.$nextTick(function(){e.imageLoaded?(e.transitionsActive||(r&&e.enableTransitions(),e.coordinates=e.applyTransform(t),o&&e.runAutoZoom("setCoordinates"),r&&e.debouncedDisableTransitions()),e.onChange()):e.delayedTransforms=t})},refresh:function(){var t=this,e=this.$refs.image;if(this.src&&e)return this.initialized?this.updateVisibleArea().then(function(){t.onChange()}):this.resetVisibleArea().then(function(){t.onChange()})},reset:function(){var t=this;return this.resetVisibleArea().then(function(){t.onChange(!1)})},awaitRender:function(t){var e=this;this.awaiting||(this.awaiting=!0,this.$nextTick(function(){t(),e.awaiting=!1}))},prepareResult:function(t){return this.roundResult?function(e){var i=e.coordinates,s=e.sizeRestrictions,o=e.positionRestrictions,n={width:Math.round(i.width),height:Math.round(i.height),left:Math.round(i.left),top:Math.round(i.top)};return n.width>s.maxWidth?n.width=Math.floor(i.width):n.widths.maxHeight?n.height=Math.floor(i.height):n.height1&&arguments[1]!==void 0?arguments[1]:{},i=e.transitions,s=i!==void 0&&i,o=hn(e,Bn),n=this.processAutoZoom(t,this.visibleArea,this.coordinates,o),r=n.visibleArea,l=n.coordinates,a=n.changed;s&&a&&this.enableTransitions(),this.visibleArea=r,this.coordinates=l,s&&a&&this.debouncedDisableTransitions()},normalizeEvent:function(t){return function(e){var i=e.event,s=e.visibleArea,o=e.coefficient;if(i.type==="manipulateImage")return M(M({},i),{move:{left:i.move&&i.move.left?o*i.move.left:0,top:i.move&&i.move.top?o*i.move.top:0},scale:{factor:i.scale&&i.scale.factor?i.scale.factor:1,center:i.scale&&i.scale.center?{left:i.scale.center.left*o+s.left,top:i.scale.center.top*o+s.top}:null}});if(i.type==="resize"){var n=M(M({},i),{directions:M({},i.directions)});return ht.forEach(function(l){n.directions[l]*=o}),n}if(i.type==="move"){var r=M(M({},i),{directions:M({},i.directions)});return vn.forEach(function(l){r.directions[l]*=o}),r}return i}(T(T({},this.getPublicProperties()),{},{event:t}))},getCanvas:function(){if(this.$refs.canvas){var t=this.$refs.canvas,e=this.$refs.image,i=this.imageTransforms.rotate!==0||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(l,a,u){var f=u.rotate,m=u.flip,v={width:a.naturalWidth,height:a.naturalHeight},A=ri(v,f),O=l.getContext("2d");l.height=A.height,l.width=A.width,O.save();var E=xt(K(M({left:0,top:0},v)),f);return O.translate(-(E.left-A.width/2),-(E.top-A.height/2)),O.rotate(f*Math.PI/180),O.translate(m.horizontal?v.width:0,m.vertical?v.height:0),O.scale(m.horizontal?-1:1,m.vertical?-1:1),O.drawImage(a,0,0,v.width,v.height),O.restore(),l}(this.$refs.sourceCanvas,e,this.imageTransforms):e,s=T({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),o=function(l){return l.find(function(a){return u=a,!Number.isNaN(parseFloat(u))&&isFinite(u);var u})},n=vt({sizeRestrictions:{minWidth:o([s.width,s.minWidth])||0,minHeight:o([s.height,s.minHeight])||0,maxWidth:o([s.width,s.maxWidth])||1/0,maxHeight:o([s.height,s.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(s.maxArea&&n.width*n.height>s.maxArea){var r=Math.sqrt(s.maxArea/(n.width*n.height));n={width:Math.round(r*n.width),height:Math.round(r*n.height)}}return function(l,a,u,f,m){l.width=f?f.width:u.width,l.height=f?f.height:u.height;var v=l.getContext("2d");v.clearRect(0,0,l.width,l.height),m&&(m.imageSmoothingEnabled&&(v.imageSmoothingEnabled=m.imageSmoothingEnabled),m.imageSmoothingQuality&&(v.imageSmoothingQuality=m.imageSmoothingQuality),m.fillColor&&(v.fillStyle=m.fillColor,v.fillRect(0,0,l.width,l.height),v.save()));var A=u.left<0?-u.left:0,O=u.top<0?-u.top:0;v.drawImage(a,u.left+A,u.top+O,u.width,u.height,A,O,l.width,l.height)}(t,i,this.coordinates,n,s),t}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(t){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=this.visibleArea&&e?wn(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,s=this.visibleArea&&e?qt(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return yn({transform:t,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:i,positionRestrictions:s,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var t=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var e=this.defaultSize;e||(e=this.stencilSize?Sn:In);var i=this.sizeRestrictions;i.minWidth,i.minHeight,i.maxWidth,i.maxHeight;var s=Dt(e)?e({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):e,o=this.defaultPosition||Rn,n=[s,function(r){var l=r.coordinates;return T({},Dt(o)?o({coordinates:l,imageSize:t.imageSize,visibleArea:t.visibleArea}):t.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,St(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var t=this;this.imageLoaded=!1,setTimeout(function(){var e=t.$refs.stretcher;e&&(e.style.height="auto",e.style.width="auto"),t.coordinates=t.defaultCoordinates(),t.boundaries={width:0,height:0}},this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var t=this,e=this.$refs.stretcher,i=this.$refs.cropper;return this.initStretcher({cropper:i,stretcher:e,imageSize:this.imageSize}),this.$nextTick().then(function(){var s={cropper:i,imageSize:t.imageSize};if(Dt(t.defaultBoundaries)?t.boundaries=t.defaultBoundaries(s):t.defaultBoundaries==="fit"?t.boundaries=function(o){var n=o.cropper,r=o.imageSize,l=n.clientHeight,a=n.clientWidth,u=l,f=r.width*l/r.height;return f>a&&(f=a,u=r.height*a/r.width),{width:f,height:u}}(s):t.boundaries=function(o){var n=o.cropper;return{width:n.clientWidth,height:n.clientHeight}}(s),!t.boundaries.width||!t.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")})},resetVisibleArea:function(){var t=this;return this.appliedImageTransforms=T(T({},this.defaultImageTransforms),{},{flip:T({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then(function(){t.priority!=="visible-area"&&(t.visibleArea=null,t.resetCoordinates());var e,i,s,o,n,r,l=t.defaultVisibleArea||Mn;t.visibleArea=Dt(l)?l({imageSize:t.imageSize,boundaries:t.boundaries,coordinates:t.priority!=="visible-area"?t.coordinates:null,getAreaRestrictions:t.getAreaRestrictions,stencilSize:t.getStencilSize()}):t.defaultVisibleArea,t.visibleArea=(e={visibleArea:t.visibleArea,boundaries:t.boundaries,getAreaRestrictions:t.getAreaRestrictions},i=e.visibleArea,s=e.boundaries,o=e.getAreaRestrictions,n=M({},i),r=P(s),n.width/n.height!==r&&(n.height=n.width/r),G(n,o({visibleArea:n,type:"move"}))),t.priority==="visible-area"?t.resetCoordinates():t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("resetVisibleArea")}).catch(function(){t.visibleArea=null})},updateVisibleArea:function(){var t=this;return this.updateBoundaries().then(function(){t.visibleArea=t.fitVisibleArea({imageSize:t.imageSize,boundaries:t.boundaries,visibleArea:t.visibleArea,coordinates:t.coordinates,getAreaRestrictions:t.getAreaRestrictions}),t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("updateVisibleArea")}).catch(function(){t.visibleArea=null})},onChange:function(){var t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];t&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var t,e=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(o){if(_e(o))return!1;var n=window.location,r=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(o)||[],l={protocol:r[1]||"",host:r[2]||"",port:r[3]||""},a=function(u){return u.port||((u.protocol||n.protocol)==="http"?80:433)};return!(!l.protocol&&!l.host&&!l.port||l.protocol&&l.protocol==n.protocol&&l.host&&l.host==n.host&&l.host&&a(l)==a(n))}(this.src)){var i=X(this.crossOrigin)?this.canvas:this.crossOrigin;i===!0&&(i="anonymous"),this.imageAttributes.crossOrigin=i||null}if(this.checkOrientation){var s=(t=this.src,new Promise(function(o){Ln(t).then(function(n){var r=Wn(n);o(n?{source:t,arrayBuffer:n,orientation:r}:{source:t,arrayBuffer:null,orientation:null})}).catch(function(n){console.warn(n),o({source:t,arrayBuffer:null,orientation:null})})}));setTimeout(function(){s.then(e.onParseImage)},this.transitionTime)}else setTimeout(function(){e.onParseImage({source:e.src})},this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var t=this,e=this.$refs.image;e&&!this.imageLoaded&&(this.imageAttributes.height=e.naturalHeight,this.imageAttributes.width=e.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then(function(){t.$emit("ready"),t.onChange(!1)}))},onParseImage:function(t){var e=this,i=t.source,s=t.arrayBuffer,o=t.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,s&&o&&o>1?ei(i)||!_e(i)?(this.imageAttributes.src=URL.createObjectURL(new Blob([s])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(n){for(var r=[],l=new Uint8Array(n);l.length>0;){var a=l.subarray(0,8192);r.push(String.fromCharCode.apply(null,Array.from?Array.from(a):a.slice())),l=l.subarray(8192)}return"data:image/jpeg;base64,"+btoa(r.join(""))}(s):this.imageAttributes.src=i,Dt(this.defaultTransforms)?this.appliedImageTransforms=re(this.defaultTransforms()):Kt(this.defaultTransforms)?this.appliedImageTransforms=re(this.defaultTransforms):this.appliedImageTransforms=function(n){var r=re({});if(n)switch(n){case 2:r.flip.horizontal=!0;break;case 3:r.rotate=-180;break;case 4:r.flip.vertical=!0;break;case 5:r.rotate=90,r.flip.vertical=!0;break;case 6:r.rotate=90;break;case 7:r.rotate=90,r.flip.horizontal=!0;break;case 8:r.rotate=-90}return r}(o),this.defaultImageTransforms=T(T({},this.appliedImageTransforms),{},{flip:T({},this.appliedImageTransforms.flip)}),this.$nextTick(function(){var n=e.$refs.image;n&&n.complete&&(function(r){return!!r.naturalWidth}(n)?e.onSuccessLoadImage():e.onFailLoadImage())})},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(t){var e=this;this.transitionsOptions.enabled||this.awaitRender(function(){e.coordinates=e.moveAlgorithm(T(T({},e.getPublicProperties()),{},{positionRestrictions:qt(e.positionRestrictions,e.visibleArea),coordinates:e.coordinates,event:e.normalizeEvent(t)})),e.onChange()})},onResize:function(t){var e=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender(function(){var i=e.sizeRestrictions,s=Math.min(e.coordinates.width,e.coordinates.height,20*e.coefficient);e.coordinates=e.resizeAlgorithm(T(T({},e.getPublicProperties()),{},{positionRestrictions:qt(e.positionRestrictions,e.visibleArea),sizeRestrictions:{maxWidth:Math.min(i.maxWidth,e.visibleArea.width),maxHeight:Math.min(i.maxHeight,e.visibleArea.height),minWidth:Math.max(i.minWidth,s),minHeight:Math.max(i.minHeight,s)},event:e.normalizeEvent(t)})),e.onChange(),e.ticking=!1})},onManipulateImage:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.transitionsOptions.enabled){var i=e.transitions,s=i!==void 0&&i,o=e.normalize,n=o===void 0||o;s&&this.enableTransitions();var r=Cn(T(T({},this.getPublicProperties()),{},{event:n?this.normalizeEvent(t):t,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=r.visibleArea,a=r.coordinates;this.visibleArea=l,this.coordinates=a,this.runAutoZoom("manipulateImage"),this.onChange(),s&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.visibleArea,i=t.type,s=i===void 0?"move":i;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:e,type:s})},getAspectRatio:function(t){var e,i,s=this.stencilProps,o=s.aspectRatio,n=s.minAspectRatio,r=s.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();e=l.minimum,i=l.maximum}if(X(e)&&(e=X(o)?n:o),X(i)&&(i=X(o)?r:o),!t&&(X(e)||X(i))){var a=this.getStencilSize(),u=a?P(a):null;X(e)&&(e=He(u)?u:void 0),X(i)&&(i=He(u)?u:void 0)}return{minimum:e,maximum:i}},getStencilSize:function(){if(this.stencilSize)return t={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},e=t.boundaries,i=t.stencilSize,s=t.aspectRatio,oe(P(o=Dt(i)?i({boundaries:e,aspectRatio:s}):i),s)&&(o=vt({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:o.width,height:o.height,aspectRatio:{minimum:s.minimum,maximum:s.maximum}})),(o.width>e.width||o.height>e.height)&&(o=vt({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:o.width,height:o.height,aspectRatio:{minimum:P(o),maximum:P(o)}})),o;var t,e,i,s,o},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return T({},Le)},flip:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;if(!this.transitionsActive){o&&this.enableTransitions();var n=T({},this.imageTransforms.flip),r=En({flip:{horizontal:t?!n.horizontal:n.horizontal,vertical:e?!n.vertical:n.vertical},previousFlip:n,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),l=r.visibleArea,a=r.coordinates;t&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),e&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=l,this.coordinates=a,this.onChange(),o&&this.debouncedDisableTransitions()}},rotate:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.transitions,s=i===void 0||i;if(!this.transitionsActive){s&&this.enableTransitions();var o=T({},this.imageSize);this.appliedImageTransforms.rotate+=t;var n=On({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:o,imageSize:this.imageSize,angle:t,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),r=n.visibleArea,l=n.coordinates,a=this.processAutoZoom("rotateImage",r,l);r=a.visibleArea,l=a.coordinates,this.visibleArea=r,this.coordinates=l,this.onChange(),s&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},Un={key:0,ref:"canvas",style:{display:"none"}},Nn={key:1,ref:"sourceCanvas",style:{display:"none"}};gi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"cropper",class:n.classes.cropper},[b("div",{ref:"stretcher",class:n.classes.stretcher},null,2),b("div",{class:n.classes.boundaries,style:n.boundariesStyle},[(x(),L(Gt(i.backgroundWrapperComponent),{class:n.classes.cropperWrapper,"wheel-resize":n.settings.resizeImage.wheel,"touch-resize":n.settings.resizeImage.touch,"touch-move":n.settings.moveImage.touch,"mouse-move":n.settings.moveImage.mouse,onMove:n.onManipulateImage,onResize:n.onManipulateImage},{default:y(function(){return[b("div",{class:n.classes.background,style:n.boundariesStyle},null,6),b("div",{class:n.classes.imageWrapper},[b("img",{ref:"image",crossorigin:o.imageAttributes.crossOrigin,src:o.imageAttributes.src,class:n.classes.image,style:n.imageStyle,onMousedown:e[1]||(e[1]=Qt(function(){},["prevent"]))},null,46,["crossorigin","src"])],2),b("div",{class:n.classes.foreground,style:n.boundariesStyle},null,6),qe((x(),L(Gt(i.stencilComponent),Xe({ref:"stencil",image:n.image,coordinates:o.coordinates,"stencil-coordinates":n.stencilCoordinates,transitions:n.transitionsOptions},i.stencilProps,{onResize:n.onResize,onResizeEnd:n.onResizeEnd,onMove:n.onMove,onMoveEnd:n.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[Ye,o.imageLoaded]]),i.canvas?(x(),L("canvas",Un,null,512)):D("",!0),i.canvas?(x(),L("canvas",Nn,null,512)):D("",!0)]}),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const Fn=t=>(Hi("data-v-a664b16d"),t=t(),Li(),t),qn={class:"relative overflow-hidden rounded-md border p-4 transition-all hover:shadow dark:border-neutral-700"},Yn={class:"flex items-center justify-between"},Xn={style:{width:"240px"}},Qn={class:"my-4 h-[280px]"},Kn={key:0,class:"flex h-full w-full items-center justify-center overflow-hidden rounded-md"},Gn={key:1,class:"flex flex-col h-full w-full items-center justify-center overflow-hidden rounded-md"},Zn=["src"],$n={class:"mt-3 text-base"},Vn={class:"mt-1"},Jn={key:2,class:"my-4 h-[280px] relative"},ts={class:"-mx-4 -mb-4 bg-[#fafafc] px-4 py-2 dark:bg-[#262629]"},es={key:0,class:"w-full"},is={class:"mb-2 flex items-center justify-between"},ns={class:"flex-1"},ss={class:"flex items-center justify-around"},os={key:1,class:"w-full"},as={class:"mb-2 flex items-center justify-between"},rs={class:"flex-1"},ls={class:"flex items-center justify-around"},cs={key:2,class:"w-full"},hs={class:"mb-2 flex items-center justify-between"},us={class:"flex-1"},ds={class:"flex items-center justify-around"},ms={key:3},fs={class:"mb-2 flex flex-1 items-center justify-between"},ps=Fn(()=>h("span",{class:"text-base text-neutral-400"},null,-1)),gs={class:"flex-1"},vs={class:"flex items-center pl-2 justify-around"},bs=["src"],ws=["src"],ys={key:0},As=["src"],xs=["src"],zs=["src"],Rs={class:"p-4 bg-white dark:bg-[#262629] rounded-md"},Is={class:"text-lg font-bold mb-4"},Ss={class:"cropper-container rounded-md mb-4"},Ms={class:"mb-4"},Cs={class:"flex justify-end gap-4"},Os={key:4,class:"w-full mb-2 flex items-center justify-between"},Es={key:0},js={key:0},Ds={key:1},Ts={key:1},Ps={key:5,class:"w-full mb-2 flex items-center justify-between"},ks={key:6,class:"w-full mb-2 flex items-center justify-between"},_s={key:7,class:"w-full mb-2 flex items-center justify-between"},Hs=be({__name:"cardItem",props:{drawItemInfo:{}},emits:["usePrompt","queryData"],setup(t,{emit:e}){const i=e,s=we(),o=Ke(),n=W(()=>s.theme),r=W(()=>n.value==="dark"?"#fff":"#000"),l=t,a=$e(),u=Ve(),f="/api/midjourney/download",m=k(!1),v=k(!1),A=k(null),O=k(""),E=W(()=>{const{status:p}=l.drawItemInfo;if(p===1)return"";if(p===2)return"info";if(p===3)return"primary";if(p===4||p===5)return"error"}),B=W(()=>{const{status:p}=l.drawItemInfo;if(p===1)return d("draw.statusWaiting");if(p===2)return d("draw.statusDrawing");if(p===3)return d("draw.statusSuccess");if(p===4)return d("draw.statusFailure");if(p===5)return d("draw.statusTimeout")});function Q(){i("usePrompt")}async function dt(p){const w=a.info({title:d("draw.downloadImageTitle"),content:d("draw.downloadImageContent"),positiveText:d("draw.downloadButtonText"),negativeText:d("draw.cancelButtonText"),onPositiveClick:async()=>(w.loading=!0,new Promise(async z=>{const{drawUrl:U}=p,$=await Ge.post(f,{url:U},{responseType:"blob"}),N=new Blob([$.data],{type:$.headers["content-type"]}),H=window.URL.createObjectURL(N),F=document.createElement("a");F.href=H;const Jt=`image-${new Date().getTime()}-${Math.floor(Math.random()*1e3)}.png`;F.download=Jt,F.click(),z(!0)}))})}async function lt(p){a.warning({title:d("draw.deleteRecordTitle"),content:d("draw.deleteRecordContent"),positiveText:d("draw.deleteButtonText"),negativeText:d("draw.cancelButtonText"),onPositiveClick:async()=>{const{id:w}=p,z=await Fi({id:w});if(!z.success)return u.error(z.message);u.success(d("draw.drawingRecordDeleted")),i("queryData")}})}async function tt(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`upsample::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"UPSCALE",customId:H}),u.success(d("draw.submitZoomDrawingSuccess")),o.token&&await nt(),i("queryData")}async function Ct(p){const{drawId:w,extend:z}=p,N=JSON.parse(z).buttons.find(H=>H.customId.includes("reroll")).customId;await At({drawId:w,prompt:p.fullPrompt,action:"REROLL",customId:N}),u.success(d("draw.submitRedrawSuccess")),o.token&&await nt(),i("queryData")}async function et(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`variation::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"VARIATION",customId:H}),u.success(d("draw.submitTransformDrawingSuccess")),o.token&&await nt(),i("queryData")}async function at(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`Outpaint::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"ZOOM",customId:H}),u.success(d("draw.submitEnlargeDrawingSuccess")),o.token&&await nt(),i("queryData")}async function Ot(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"VARIATION",customId:H}),u.success(d("draw.submitAdvancedTransformDrawingSuccess")),o.token&&await nt(),i("queryData")}async function wt(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`pan_${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"PAN",customId:H}),u.success(d("draw.submitZoomDrawingSuccess")),o.token&&await nt(),i("queryData")}const mt=W(()=>{try{return JSON.parse(l.drawItemInfo.extend).buttons||[]}catch{return[]}});async function Z(p){A.value=p}async function ft(){if(!A.value||!A.value.coordinates)return null;const[p,w]=l.drawItemInfo.drawRatio.split("x").map(Number),{coordinates:z}=A.value;return new Promise((U,$)=>{const N=document.createElement("canvas"),H=N.getContext("2d");N.width=p,N.height=w,H.fillStyle="black",H.fillRect(0,0,N.width,N.height),H.fillStyle="white",H.fillRect(z.left,z.top,z.width,z.height);const F=N.toDataURL();U(F)})}async function it(p){v.value=!1;const{drawId:w,extend:z}=p,$=JSON.parse(z).buttons.find(F=>F.customId.includes("Inpaint")),N=await ft(),H=$.customId;await At({drawId:w,base64:N,prompt:O.value,action:"MODAL",customId:H}),u.success(d("draw.submitRegionalRedrawSuccess")),o.token&&await nt(),i("queryData")}async function nt(){m.value=!0;try{await o.getUserInfo(),m.value=!1}catch{m.value=!1}}const Et=W(()=>{const{progress:p,status:w}=l.drawItemInfo;if(w===1)return d("draw.queueing");if(w===2&&!p)return d("draw.drawing");if(w===2&&p===100)return d("draw.storing")});return(p,w)=>(x(),C("div",qn,[h("div",Yn,[h("span",null,[b(c(Gi),{size:"small",type:E.value},{default:y(()=>[j(g(B.value),1)]),_:1},8,["type"])]),b(c(he),null,{default:y(()=>[p.drawItemInfo.action==="IMAGINE"?(x(),L(c(gt),{key:0,placement:"top",trigger:"hover"},{trigger:y(()=>[b(c(_),{size:"tiny",ghost:"",onClick:Q},{icon:y(()=>[b(c(V),{icon:"ri:brush-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.use")),1)]),_:1})]),default:y(()=>[h("div",Xn,[h("p",null,g(p.drawItemInfo.fullPrompt),1)])]),_:1})):D("",!0),b(c(_),{size:"tiny",ghost:"",onClick:w[0]||(w[0]=z=>dt(p.drawItemInfo))},{icon:y(()=>[b(c(V),{icon:"mingcute:file-download-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.download")),1)]),_:1}),b(c(_),{size:"tiny",ghost:"",onClick:w[1]||(w[1]=z=>lt(p.drawItemInfo))},{icon:y(()=>[b(c(V),{icon:"ri:delete-bin-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.delete")),1)]),_:1})]),_:1})]),h("div",Qn,[p.drawItemInfo.status===3?(x(),C("div",Kn,[b(c(Zi),{style:{"object-fit":"contain"},src:p.drawItemInfo.drawUrl,"preview-src":p.drawItemInfo.drawUrl,"object-fit":"contain"},null,8,["src","preview-src"])])):D("",!0),[4,5,6].includes(p.drawItemInfo.status)?(x(),C("div",Gn,[h("img",{class:"w-[75px]",src:c(cn)},null,8,Zn),h("span",$n,g(c(d)("draw.drawingFailed")),1),h("span",Vn,g(c(d)("draw.pointsRefunded")),1)])):D("",!0),[1,2].includes(p.drawItemInfo.status)?(x(),C("div",Jn,[b(Je,{"text-color":r.value,progress:p.drawItemInfo.progress,tips:Et.value},null,8,["text-color","progress","tips"])])):D("",!0)]),h("div",ts,[mt.value.some(z=>z.customId.includes("upsample::1"))&&p.drawItemInfo.status===3?(x(),C("div",es,[h("div",is,[h("span",null,g(c(d)("draw.zoom")),1),h("div",ns,[h("div",ss,[b(c(_),{size:"tiny",onClick:w[2]||(w[2]=z=>tt(p.drawItemInfo,"1"))},{default:y(()=>[j(g(c(d)("draw.U1")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[3]||(w[3]=z=>tt(p.drawItemInfo,"2"))},{default:y(()=>[j(g(c(d)("draw.U2")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[4]||(w[4]=z=>tt(p.drawItemInfo,"3"))},{default:y(()=>[j(g(c(d)("draw.U3")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[5]||(w[5]=z=>tt(p.drawItemInfo,"4"))},{default:y(()=>[j(g(c(d)("draw.U4")),1)]),_:1}),b(c(gt),{placement:"top",trigger:"hover"},{trigger:y(()=>[b(c(_),{size:"tiny",onClick:w[6]||(w[6]=z=>Ct(p.drawItemInfo))},{default:y(()=>[b(c(V),{icon:"solar:refresh-outline",class:"text-base"})]),_:1})]),default:y(()=>[h("p",null,g(c(d)("draw.regenerateOnce")),1)]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("::variation::1"))&&p.drawItemInfo.status===3?(x(),C("div",os,[h("div",as,[h("span",null,g(c(d)("draw.transform")),1),h("div",rs,[h("div",ls,[b(c(_),{size:"tiny",onClick:w[7]||(w[7]=z=>et(p.drawItemInfo,"1"))},{default:y(()=>[j(g(c(d)("draw.V1")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[8]||(w[8]=z=>et(p.drawItemInfo,"2"))},{default:y(()=>[j(g(c(d)("draw.V2")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[9]||(w[9]=z=>et(p.drawItemInfo,"3"))},{default:y(()=>[j(g(c(d)("draw.V3")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[10]||(w[10]=z=>et(p.drawItemInfo,"4"))},{default:y(()=>[j(g(c(d)("draw.V4")),1)]),_:1}),b(c(_),{size:"tiny",style:{opacity:"0"}},{default:y(()=>[j(" V5 ")]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("pan_left"))&&p.drawItemInfo.status===3?(x(),C("div",cs,[h("div",hs,[h("span",null,g(c(d)("draw.pan")),1),h("div",us,[h("div",ds,[b(c(_),{size:"tiny",onClick:w[11]||(w[11]=z=>wt(p.drawItemInfo,"left"))},{default:y(()=>[j(g(c(d)("draw.panLeft")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[12]||(w[12]=z=>wt(p.drawItemInfo,"right"))},{default:y(()=>[j(g(c(d)("draw.panRight")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[13]||(w[13]=z=>wt(p.drawItemInfo,"up"))},{default:y(()=>[j(g(c(d)("draw.panUp")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[14]||(w[14]=z=>wt(p.drawItemInfo,"down"))},{default:y(()=>[j(g(c(d)("draw.panDown")),1)]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("Outpaint::50"))&&p.drawItemInfo.status===3?(x(),C("div",ms,[h("div",fs,[h("span",null,g(c(d)("draw.transformZoom")),1),ps,h("div",gs,[h("div",vs,[b(c(he),null,{default:y(()=>[b(c(_),{size:"tiny",onClick:w[15]||(w[15]=z=>at(p.drawItemInfo,75))},{icon:y(()=>[h("img",{src:c(Te),class:"w-4",alt:""},null,8,bs)]),default:y(()=>[j(" "+g(c(d)("draw.zoom1_5x")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[16]||(w[16]=z=>at(p.drawItemInfo,50))},{icon:y(()=>[h("img",{src:c(Te),class:"w-4",alt:""},null,8,ws)]),default:y(()=>[j(" "+g(c(d)("draw.zoom2x")),1)]),_:1}),mt.value.some(z=>z.customId.includes("low_variation"))?(x(),C("div",ys,[b(c(_),{size:"tiny",onClick:w[17]||(w[17]=z=>Ot(p.drawItemInfo,"low"))},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,As)]),default:y(()=>[j(" "+g(c(d)("draw.minorTransform")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[18]||(w[18]=z=>Ot(p.drawItemInfo,"high"))},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,xs)]),default:y(()=>[j(" "+g(c(d)("draw.strongTransform")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[19]||(w[19]=z=>v.value=!0)},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,zs)]),default:y(()=>[j(" "+g(c(d)("draw.regionalRedraw")),1)]),_:1}),b(c($i),{show:v.value,"onUpdate:show":w[22]||(w[22]=z=>v.value=z),class:"rounded-md overflow-hidden bg-white dark:bg-[#262629]"},{default:y(()=>[h("div",Rs,[h("div",Is,g(c(d)("draw.regionalRedraw1")),1),h("div",Ss,[b(c(gi),{src:p.drawItemInfo.drawUrl,"stencil-props":{aspectRatio:0},class:"cropper",onChange:Z},null,8,["src"])]),h("div",Ms,[b(c(ue),{value:O.value,"onUpdate:value":w[20]||(w[20]=z=>O.value=z),type:"textarea",autosize:{minRows:1,maxRows:2},placeholder:"(选填)在此输入选中区域要改变的描述"},null,8,["value"])]),h("div",Cs,[b(c(_),{class:"py-2 px-4 rounded",onClick:w[21]||(w[21]=z=>it(p.drawItemInfo))},{default:y(()=>[j(g(c(d)("draw.submitTask")),1)]),_:1})])])]),_:1},8,["show"])])):D("",!0)]),_:1})])])])])):D("",!0),p.drawItemInfo.progress!==100&&p.drawItemInfo.status!==3?(x(),C("div",Os,[p.drawItemInfo.orderId!==5?(x(),C("div",Es,[p.drawItemInfo.action==="UPSCALE"?(x(),C("span",js,g(c(d)("draw.selectSuiteForZoom")),1)):D("",!0),p.drawItemInfo.action==="VARIATION"?(x(),C("span",Ds,g(c(d)("draw.selectSuiteForTransform")),1)):D("",!0)])):D("",!0),p.drawItemInfo.orderId===5?(x(),C("span",Ts,g(c(d)("draw.regeneratingImage")),1)):D("",!0)])):D("",!0),p.drawItemInfo.action==="IMAGINE"&&!p.drawItemInfo.orderId&&p.drawItemInfo.status==="UPSCALE"?(x(),C("div",Ps,g(c(d)("draw.drawingInProgress")),1)):D("",!0),!p.drawItemInfo.orderId&&[4,5,6].includes(p.drawItemInfo.status)?(x(),C("div",ks,g(c(d)("draw.tryDifferentPrompt")),1)):D("",!0),!p.drawItemInfo.action&&!p.drawItemInfo.extend?(x(),C("div",_s," 上级: "+g(p.drawItemInfo.message_id||"正在加载中..."),1)):D("",!0)])]))}});const Ls=Ze(Hs,[["__scopeId","data-v-a664b16d"]]),Ws={class:"grow flex h-screen flex-col lg:pt-0 bg-white dark:bg-gray-900"},Bs={class:"flex grow flex-col sm:flex-row h-full"},Us={class:"p-4 sm:pt-6 overflow-y-auto w-full sm:w-[20rem] shrink-0 border-r-2 border-[#ffffff17]"},Ns={key:0,class:"text-lg sm:text-2xl font-bold leading-6"},Fs={class:"mt-4 text-sm flex items-center"},qs={class:"text-sm mr-1"},Ys={"data-tool-target":"tooltip-default"},Xs={class:"flex mt-2 py-1 pb-2 space-x-1 overflow-x-auto justify-between scrollbar-none"},Qs=["onClick"],Ks={class:"flex items-center justify-center w-6 h-6"},Gs={class:"mt-2 text-center text-xs leading-none text-current"},Zs={class:"mt-4 text-sm flex items-center"},$s={class:"mr-1"},Vs={"data-tool-target":"tooltip-default"},Js={style:{width:"240px"}},to={class:"mt-2 flex justify-between"},eo=["onClick"],io={class:"relative w-full h-full rounded",type:"button"},no={class:"absolute w-full h-full flex justify-center items-center"},so={class:"text-2xl text-white font-bold absolute left-5 top-1"},oo=["src"],ao={class:"mt-4"},ro={class:"mt-2 flex justify-between items-center space-x-2 text-xs"},lo={class:"w-[65px] block text-sm"},co={class:"flex-1"},ho={class:"block text-sm mt-2 flex items-center"},uo={style:{width:"240px"}},mo={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},fo={class:"w-[65px] block text-sm"},po={class:"flex-1"},go={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},vo={class:"w-[65px] block text-sm"},bo={class:"flex-1"},wo={style:{width:"270px"}},yo={key:0,class:"mt-3 flex justify-between items-center space-x-2 text-xs"},Ao={class:"w-[65px] block text-sm"},xo={class:"flex-1"},zo={style:{width:"270px"}},Ro={class:"block text-sm mt-2 flex items-center"},Io={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},So={class:"w-[65px] block text-sm"},Mo={class:"flex-1"},Co={style:{width:"240px"}},Oo={class:"mt-5"},Eo={class:"block text-base"},jo={class:"ant-spin-nested-loading css-4fssqp mt-5"},Do={class:"ant-spin-container"},To={class:"mt-2 flex justify-center items-center p-5 rounded-md"},Po={key:0,for:"upload-file"},ko={class:"upload-container"},_o=h("img",{class:"mx-auto py-2 w-11",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIcAAABkCAMAAACb6dMUAAAC91BMVEUAAACqbeO0bd6ubeG6bdubbOzMbdLTbc6sbeLJbdOxbeCQbPHUbc7ObdGMbPO7bdutbeKUbO+pbOS5bdyGbPaZbOyrbOPVbc2MbPOWbO6xbeCWbO7LbdKWbO7Tbc+jbOezbd+PbPKfbOnUbc3LbdKMbPOIbPW7bdvNbdGibOjHbdWFbPffbcixbeDDbdbhbce1bd6IbPWsbOKHbPbdbcmpbOSebOrdbcmLbPS9bdrZbcvAbdiSbPDWbc3ZbcuJbPXSbc7ZbcvfbciUbO+KbPTZbcuFbPeabOySbPCIbPWUbO+IbPXQbdCgbOmLbPPebciRbPHdbcnGbdXabcqlbOaKbPSXbO2mbOa2bd3KbdO7bdrUbc7MbdHebcmXbO3IbdTebcnVbc2dbOqYbO3QbdCKbPSkbOevbeHgbceIbPa8bdrEbdbMbdKrbOOXbO3QbdDebcjDbdeQbPG3bd2WbO7IbdTBbdiLbPOJbPXJbdOXbO2QbPHabcqobOSfbOmvbeGNbPPCbdfTbc7bbcqzbd+fbOmObPLNbdGobOSSbPC+bdm4bdzabcuVbO+dbOrZbcvUbc2ibOjdbcnSbc/ebcm8bdq3bdy1bd7PbdDWbc2bbOvgbceibOiGbPbSbc/NbdGQbPHZbcvObdGibOjdbcmKbPSzbd+qbOOubeGtbeKRbPGJbPWYbO2tbeG7bduubeGjbOekbOembObZbcutbeHDbdeqbOTEbda4bdyFbPekbOakbOa3bdyybd+wbeDgbciHbPWJbPTNbdG0bd7PbdDdbcmZbOyTbO+GbPeXbO2VbO6EbPezbd6vbeGnbOWMbPONbPKebOnbbcnXbcyPbPGRbPDVbc3LbdKlbOabbOvJbdPZbcqdbOqpbOSsbOK3bd27bdvHbdSqbOOtbeG1bd25bdy8bdrEbdXebcnDbdaWbO6hbOjSbc6+bdnObdDAbdjbbcrKbdOcbOutbeLGbdWjbOe9bdnBbdfZbcvYbcvRbdDTbc7hbcZvJBQJAAAAvXRSTlMACJW6BhofEApsDQsK2BpWFhJ0M+Z0aRTU0aueinZrYFFAKSIcFfj4+NfXz87LxcK+paCRg3x1aF1bPz05NychGPjz597c2NK6r62akIB8dlBKR0Q+Nfn29vLv6ufm3Nzb2NPLyMbDvLq5uLa2r6WlpKORiYSDdW5VT0kwMPv48/Ly8u7p5uHf2tjVzsrDw8C8tLKurqukm5uYlpCPgHRkY11bVk9JQPv7+PTx7+Xf0cy9oZyVjYR6cmNNQmxAszFGAAAHfklEQVRo3sXa9V8TYRzA8S96ujnnZICCoggICBISBgKCCCigImV3dxcCdnd3d3cnYSdidxdid/0g8Tx3t3Fs99xt4/MXvF8X3z33PAPhGZtaHypU1t3Vdaera9ey+0ysTYuAwfM9NH9qi8cvXpw8een48RMnLj9//vXRyJ29TWKNwGBRpgOntHjy8uVjNcejZ88eNp20LFYKhsioZI8fr149ycfx8MqVK11K6/8GUTXd3r/X4rhzx6mhDPQZVdLt40cejjvfnSroUWLa8+dPno7vmV2Ogn6SHxydQeDIHLGsOOgh/54ZGXkc46a6l82qd1fX7XkcmekzEnTPGNb2tZpjx4JjG2yNc19SqbFtbGnPSRtVHenjK+iaUezbaxXH1IG+Uo7BcqDLcLYj/UFD3TIGP1VxzC8py2+6HNnTlO14sESXjHJP2Y75pqAp2ywJ4/jSh9Id4x7LMaUmaCt2N8tx11JXPzkN7jGO0UPsQHvStU6M466ljq7GZ8bhZsp3UTCbcZxZootbs9KRcfTnP6ylyxjHmVLiGUWb36Ydg4Gk6oyjiY1oR9/btOMgkFVhBHacaSN2JbAmlXYMBiCF0I7zIp9VuxK0Yz+QV512nI8U98qmYkdPOQhoCe1oI2aK1HLEjrYSYYvIGdjxtrwIx9xU5GgeDcKyHY8dZYSvRnwcsaMcCK0UdjSJFP7OfkCOynIQXEfkuBAqdKr6O2LHMBBeLHZcaCz0h+UUcvQCMfXBDoEzRD4RORyjRTn8tiFHkL2wFekp5HATuYAIR44Lq4TNMOxYCeKKR46zfUBAkk7I0VwCImuDHJMVgmYpciwCsQ1CjrPxQJ7VKeSIFu3wa4Icg4QMMeSYWFG0w74jcoQCeSWQoxcForNEjiDy3xjzMchRDsRXCjnO2gJpFd8hxxoQX3wT5PADomr7rFn0J9fR3BfEZ7sNOcK9bRS8EVZz24959w45WlUE8SmDkOPmzS2Tw4fyofjsbXnr1q2/jMMOxEe1oR03b9y4McpjvZGW4TUn8Pp1VYc56KCOKo6rV692j9Q0yquO/X1d3SHRhWO6uiPNISwg34sx7f6vPI6JlC4c4XkcaWlm3sBZjbH3ORzlQBfFczhSUiK4HqWq1z5xOHpJQCcN4nKk1M87X5deU3O0LNGpU68VEtBRkX2md5wcpOZI8VC/61VPsx0t+65MtDOXyCnQYcVlSkWCt+UEtiO5vtqzcZrlmGlVG/SXclUoy5G8XGV41WEcIaslZDNqQ2lrGdmFibNgHA6RrEne7g12BC4mnFum7ln72q4bgEwyYBR2JJsxc6RfEnYErgOyrMfl7K+PJN04tpmAHee645cmKol2rCZlNEP7/JtIIY2DsePcYfS9VIV2NCJn4POGTaVJF61bsaOuErKLScKOfkBWyWasc4/NpBBv7LiYe0G6YUeIOSFD7fyFFOKFHc4UAPjXwY7VpFdDzUF6RWzNkCN5ffYkTUKOmYSMSnnOozYSQjyQ46IXgLwbdqwjZHCdi5mQvTPY4WwP/q2Rox1FyOByDCeDdEYOh8YQ9Q85qgJBNfM9JySCDEWOi97QCDuiSBiV8nUQXRE/B+TwgqXI0dqfhKHp3LQa8E5hgRxhMAc5XGoTPBuazm9JINLuyOEMVZCjG+/H1LcFc367YCFyFN7HOr/lD/FAjrrgghzzeP/Qt2DOkd2pashR1siTcfCH1EcOM2KH3RTmPNvdGAohR1eQeTKOpmuJHfi+zAF+DWHO1d1lQDsKS4HyZM7Vd0tJ70s35KgiAV71px09jIHlMAKQetKO8cbAqzD6Oe2H31ue3/X7sWOBDNQcYHQAO5yU/DasnJGjOzPHfHi+LcixkII8DoBqyMHzWD9hKz3H1mFHI74PSI6jkBS4HGCS45jN87Z447k+FBLrIMc04Fl0jx09agJwO+Bo70m7TKTArzDssAF5Ffy7nwjksR3kBTggR10FwFLs6Gdwhxdef3gAQAxeF9bxMbBDEYwc5+IAgHLB69OZlGEdEXidbFY85xub/m5oZFCHnwN25H5rS9phR2CUAR0Bwfj7xUyBNh3o77mxtQzmUHROwY7lgD8s6e/bkIp6d2BGGnY42wMqhnb8CokyiMPGIo12xLF2pWjH78AG5np3KCNGpWGHys6UfB5rX6q9lZ1eHfarLFj7Up3tgZW5C3ufrv3iGImeHDKbARbsfbrgALXjlnaq+5YtZy0avMLKqhjTsNqkjiIVqmdVKrvyOQ0aEBqkum9plgBq+btw7uOmMv/LqRxN5ljrlJ7O/B+Gcx+3LseRv2SvFsfr0b4kjiMj0rU5whTcG+ytNTsy+pM4umRqc3gZAXeJszQ73Agcxk5aHBZxkH81QjQ5ehI4iu/S6AiOUGo+plwxLX9HMQIHNNTgsIgIAG1JYha3H8Pp6E+ROIxmczu2TLBcrwReUbWsGsyd1akEqm3bylm5DZGTvbfShjM6ZFUvuzI5TQ8NHzDUhvBMW25uV5SdjHyeyoqopkQE3cd8Z0uhQBuIHL2hYLNGDhMo2KiFOY7CSijgZAO3jxznaQwi+w+ELPUHv67REwAAAABJRU5ErkJggg=="},null,-1),Ho={class:"mt-3"},Lo={class:"text-center dark:text-[#ffffff73]"},Wo={key:1,class:"w-full h-full relative"},Bo=["src"],Uo={class:"mt-5"},No={class:"block flex justify-between"},Fo={class:"text-base py-1"},qo={class:"text-[#3076fd]"},Yo={class:"flex items-center"},Xo={class:"mt-3 space-y-1 items-center text-[#3076fd]"},Qo={class:"flex justify-between"},Ko={class:"w-[120px] block text-sm"},Go={class:"text-sm pr-2"},Zo={class:"flex justify-between"},$o={class:"w-[120px] block text-sm"},Vo={class:"text-sm pr-2"},Jo={class:"flex justify-between"},ta={class:"w-[120px] block text-sm"},ea={class:"text-sm pr-2"},ia={class:"m-auto max-w-screen-4xl"},na={class:"space-y-4 p-4"},sa={key:0,class:"text-lg sm:text-2xl font-bold leading-6"},oa={class:"flex justify-between items-end"},aa={key:0},ra={class:"mt-4"},la={key:0,class:"mt-4"},ca={class:"mb-3 flex justify-between items-end"},ha={class:"flex items-center space-x-3 whitespace-nowrap pb-[15px]"},ua={class:"mt-3"},da={class:"space-y-2 p-4"},ma={key:0},fa={class:"mt-6 mb-4 flex flex-col"},pa={class:"text-xl font-bold flex items-end"},ga={key:0,class:"text-xs font-family ml-2"},va={key:0,class:"h-[10vh] flex flex-col justify-center items-center text-gray-500 relative"},ba=["src"],wa={class:"mt-4"},ya={key:1,class:"h-[10vh] flex flex-col justify-center items-center text-gray-500 relative"},Aa={class:"w-56 h-14 relative"},xa={class:"mb-3"},za={class:"min-h-[500px] mt-5"},Ra={class:"mt-6 mb-10 flex flex-col"},Ia={class:"text-xl font-bold"},Sa={class:"text-base text-[gray]"},Ma={key:0,class:"w-full py-28"},Ca=h("img",{class:"mx-auto",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABOCAYAAAC3zZFGAAAAAXNSR0IArs4c6QAAD81JREFUeF7tXAuQZFV5/v9zu+e9O7s7Pbtzu1s3ujHEBxhQ0ZiKFbESLVNGq6KhDEo0uKgLCBGQAvGBC+Fh2AJZQcLDxTI+qBAeakkZcMVoRCCaCMgzPJa5t7tnemeZR6bn9r19/tR3c3pyt7dnuvt2b/cCe6qoHWbOPffc7/znf37nMO3f1NjYmD0wMHA0ER3LzK8VkTQRrWPmftNVav7F/4pI+Ovq36I/R/tH/x4Ow8zRv7MZLPy3puF31d9Hf652Y+blx6L9wtcQkSaikogUiegZIvqN1vqBxcXFh2ZnZ/fVeV9Tv1p+YzqdHmLmtxDRXxHR25l5nIgGRSTJzCoy+aYGbqLTAWDWAayJYZrvYla5QkQeES0y8zNa6x9qrW/O5/OPEVHQ/Gj/1zMEcMOGDWsHBwc/SESfYObfJ6KBVgd6IfYHoMw8LyI/I6IdjuPc0yqIAHAwm83+JRF9UUReYaTthYhHO3P2ReQerfU5uVzu1zWqaNVxeWJi4thEInGZiPzxSxS8ECAR+R8iun5hYeGCVnQip9PpzyilPkNEY+0s4YvgWezoxyqVyon5fP7+Zr+HM5nMd5n5L14qem81YERkLxGd5TjOt4io3AyIAPDnRPRmZraaeeDF3EdEYFB2lMvly4vF4nwz3woAH2PmVx0EN6WZ9x9qfeAn7lpYWPhss3oQAD7HzNlD7Ut6NB9PRL5ttjG2c8N2GMD9IQKA0H9nO45zGMCG4nNgh8MAxgAt+shhAA8D2CYCbT7eugRms1mHiJCyitPgvSOrgv/qpaDijNnOM+E82ghJy8aIwJluzohks1mXiOxWZm1AWyCiJ4goZ3JthwKAyPkliQhJkd+JEV0BQLgxZzYNYCaTmWTmTIsAArxvaa2vC4IAz4eZoVbG6HTfamJWa62SyeTrlVJnMfPbDKDNvq51CYzjSCPoJqJtjuPsbiX10+xXdKDfYDqdPomZv8DMqRbGa10HxgQQ2YqtjuP8VwuT62ZXK5vNvk9ErmgxyuoOgET0cKVS+UQul0Mm91Bsfdls9kQRuZCZN7Uwwa4B+LyIXOP7/g2e580cCjoQIFXnMTQ0tEUpdQ4zv4eIqsWwZnDsDoDGCqO6da+IPAs9qJTqqRExlUFYYQD2aiJ6AzMPt+hedQfA6lKKSMDM/iHmByoR6YvpC3YXwGb2xAusz2EA21ywwwAeBjAmAqZIHohIGXq5+q8JM0MjTUSWiMDIgG3RF2FdVN/60pJAY8QWRQTcFhdUDSJytNYFEcmJyIxlWaiuidY6QUQjSqmNImIrpTIispmIXkZE48w8ApBB8yCiM1zXhZfRsL0QU/oQthIRTYEgJCK/FhFERI+COOR5XnlwcNB3XRfeAbguVQ4OJBAcn0QqlerzPK9vZGRkWES2JBKJo7TWb2LmI0XkPiI698UIIIAAcE+LyF0icjeA831/X7FYxO9bJgYZ8QKwA+Pj46OWZR0BKVRK3ee67mJD8UPnOLFwMwN3uA90GrbnD7TW/5JMJh/as2fPHBGBadXJFurJVhajHQAhEUj/NKrgQ/cMRMl7zX6xMQwIG++uVCo3lkqle2dnZ59vIgMUbtVsNmv5vo+fybIscV0XgENSOwZ8LABFBCHTJBH9mJkRylWtXBSbMFMtIgjmjyOiLcwMMJtqIoKP/G8iuikIgm8XCoU9q3y4lUqlhohoTTKZnBCRCcuywG9cD/aZeaGntYbUItM8XalUcojjZ2dnQSpqJAQrzjkugJjEDs/zdhHRqhSIRCIB6XuvUuqzzAyr10zMjC0LZX5FqVT60czMDD68XhsYGxsbA6NWRN7IzK8hopczMyztiFmwUALNYmJRoC9htSEAj0OPaq3vK5fLz83MzOBbGhE/95tHHAAhVf+ptT45l8s90Iw42ba9WSl1DRH9WSMOjojAF9vNzJc5jgPeTj3p6BsfH9/c19f3DmZ+l4gcaRKnkDZIecNFMhIOpipAewq7KQiC7/u+/9tVFuyAz40L4L1BEJxcKBQeagbATZs2bUwkElcT0XsbbGPo1H8NgmB7oVDA4tTqKpVKpSb6+vreycxg1ILLDf5206qh3nxNdglb+SkRuS0IglumpqaQdQfAq7a4AD6ptT4tl8vd1YRC5o0bNx6VTCYB4B+uYkywbX8qIp93XffeSARR/YB+27bhq52klILUwfntKKMsQvn9FRF9fX5+/vtzc3MzqyEYB0BYBvhId2itvx4EAcSf+vv799s2nueBfyyWZaWVUh9k5r8motEVJABG6X4ROd91XdRZ9pO8VCq1pq+v7z3MfCozQ+oOKofbbG+Ue7+Bwlkul3tuJd0YC0CjkKGMoYhXq58CxHUi8nIiGq4nfWb7YIKfdxznO7XbZt26deuGhoZOBHjGkleNQqPd1e7fYUye11r/MxFd7rru4/VAjAtgu5Nbfl5EUCK9dm5u7uL5+fn9FmP9+vWjQ0NDJxHR3xFRJo4v2e5EzfxuKZfLF05PTz9ZO15PAYQ/ycz/JiKn16nwDdq2fQLcHyLa3AvwqmCBuUpE31xaWrpo79692NrLrdcATonIea7rfrNm61q2bf+pUuoyInpdHPCMasBhGlhSuDfQmw3dm5Uk1vCnr1hcXLxq3759s9V+PQPQpKK+JyKfchwHunS5pVKpI/r7+wHeu+O4KCZSQux8GxE9KSJHw5k3aatYIBoL/YyInOM4zq3VeLlnABJRHkzQycnJ7xIRUk9hg8Xt7+8/nZnPhI8XQ4dB+ee11n8/Pz//nbGxsQXf98FOgB7dysxrYowZPgLrzMzIBGHRYVR6k43BRJCSCoLglKmpKcS7yzsinU6/lZnhMyK6aFlajF79eRAEn8zn8w9XB85kMojHr2Hm34sLoHlun9b6Ut/3vzo9Pb3QKwl8vlKpXKq1vqpQKCACCBus7uDg4PnM/ElT0235W832vZuZT5mcnAR7LGy2bb9BKXUjMx/V8qCRB8z4/x4EwbZCofBgLwCEOkEQf6rruj+ORhypVOqY/v5+JChiGQ6zzeCU7xaRU1zXRTgWtomJiTdZlnV9uwCad+w1EdMuALiHmVEX6EozXv6dlUrl1Hw+D0Uftmw2C0t5MhF9waShYs3HSMhPDICPRgA81gB4ZKyB938IYedtvu+f2wsAEQZ+bXFx8UtRd2Djxo2bksnkTiJ6XxzLW/2+VQDsmASaSOwJrfXpAPBZZkao1ZUmItNE9DnHcW4ioqWIjjpGKXUDM7++TX8NW7ieBHYSQFhkbOMvdx1AkzKCG3BnJGmQTKfT72fmf2DmuHztcC26JIFhQoWZbwWAz5hMcVckkIge9H1/a6FQ+GX1hbhugIhOUUqdF9P3W557FwFEbeWX3QYQFhi5vo9UHVF8Oa4cGBgYONekq1Dgjt1WAtC27WMsy4LaeF3swfd/MDxfDACfNoz2Do278jDGyb1raWnpo8ViEacDwjY6Orp+ZGTkImb+SKQIFGs+BsAD3BhTVrieiFAGaNlBrzcZEXmu6wAS0Q/L5fLHpqenEcqFLZPJ4LT8l03StRVG6QHfVQUQznjUkUYyIZPJHM/MnxORV3YIxHwvALyzXC6fVAsgikhEdEKLlNwVBEMe0lpvq+Vwm9tJ8A5ccdCJFFmuqwAa/2m31vqjuVwOdd6wIes8MjKynYiQPK3WcWNtYTyEJKiI3Fguly8pFos4CLTcEC4ODw+DgH4WiEXtSCLYEpzNZlHTeEXs2bb2IDIlD1Qqlb/J5XKPVB81GZizwYpqJ1tSHS/C4b7W9/2dU1NTheg0sWDDw8N/206m26S3HgSAyIa8sjUc2ur9sNb6467rouYbNoRxWuutSimEcRvaGv3/H8Y3gqJWF0QYruHh4Y8ppc4A3S2GJKIEe0/XAQSrX2v96Vwud3vEkU6k0+k/Z+YrO+yTVkH8x3K5vDOqd4HzmjVrxkZHR7cS0WmtgmhqJf8EAFEo2dKhVW84DEiPRLTdcZxrDc0ifCadTh/BzLuY+c3thHJ1JrAqiOl0OsXMHweIoIQ0+24RQTnigl4AiPgXRevzo0XrtWvXbli7di0s8Yc6YIlrcQSIqPhdVy6Xv1IriRMTE+OJROJUEcHdYSAlreonGh0LTs2negFgGOx7nretWCwu5+vAW85ms8eLyOVGEhpKc4sdQhBF5Hrf96+sBdFkg04jIiRzwepaDcQlEbnJ87xQApG1/d0WJ9NWdxHZo7U+I5fL3RFlIYyPj78qmUwiI/NHMQ/KNJpXFcQbIInRaAgPZjIZXP+CiOj4BrvA1Vqf6bruLfADn2DmbgMIP21nqVS6JJoTNEmFbcwMKlycglIjAPF3gDgDSawDospkMrjJbudKu8BUE8Hi+nShUHgaAD5ubi5q5uUd6WPCrft93z95amrqN9FBJyYmXmNZ1leJ6G0HSQqXQWRmsF6vjBTL+9Pp9AnMfOkK54zhx7pBEJyXz+dRTfR6AqD5ApActzPz1yYnJ8GzqbbwI5RSFxER2K0dCfxXsM6YAxiwN1qWNWtu8DzDXH9ajzIX3mzked551QinlwBq3BwJyxeNSvChRqFfwMwfJiLkCg9mA/v1ca01EqS4ZyFdr6RgMkn/Ad3tuu4vqkQjGBHUTnE89GCt9GofP6u13rG0tHRFDSuUbds+2rKsi0XkuHZqJE0iHz1LcsAjxm15Grd8Oo6DgzjLxEtIIE6dv6XTZMVmJm7iyUfMqt5dQ6q0MpnMn2Cbmy3VUTJlM/MzfQAuTj3tKJVK19XSfwEg6rAfYOaDvVVWmjNiyluDIDgXVq2mE2ol7wJDS0RwgLotKm8LoIVdzQLncTp/bm7u6lr6HfrgClBQZr/UxuU7rc6rXn8o8yvn5+e/Uufevj7bto9TSp0N//AgRCl152/q188CPCLatdLRL/CXtySTyS8y8we6NbnaGRsdA+f6wlwuh+vnao9ZJTKZzBtFBPHqO5GxiZE9aWWhcYARt/leWyqVbl+NtR8ewLNt+61KqYsNCbwnusZYuUe11ttd1wUtbblmbL4c83yZUur9iJcNSajTageMAxxivCMIgm8UCgWAuCpTv2p5k7ZtvwPbxBgUZIW7bpWNg/1brfUlQRDcDvZTrdhs2rRp2LKsP2BmAPluo3rq8q+bFLnwyBoRITr5hYjcXKlUdhcKBRAAGh66iYKUsG37KFTGzDZBXIhTRt0idVcVN2i/IDJe5XnezcViEcUnJCCijUdHR0E+PxJHHqAbcYm4OTMyICLWSvM26gKnAAAamGFI+f9KRO70PO9ne/fuhQQu8xUbLUKtlPH4+Dg4KrhLH6v7WnO/dNe2NSqOIgJr+5TW+mqt9a1RClw9IEdGRjbjvK9S6hiT2xwzpwPWosZi9CUAg0TjsCKMFnTug8z8gOd5jxSLRUhc08BV5/G/Lqj3To34RlUAAAAASUVORK5CYII=",alt:""},null,-1),Oa=[Ca],Ea={key:1},ja={class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 4xl:grid-cols-5 gap-4"},Wa=be({__name:"index",setup(t){const e=k(null),i=qi(),s=Yi(),o=Ke(),n=W(()=>o.isLogin),r=W(()=>o.userBalance),l=W(()=>r.value.sumDrawMjCount||0),a=W(()=>r.value.sumModel3Count||0),u=W(()=>r.value.sumModel4Count||0),f=W(()=>{switch(A.value){case 1:return a.value;case 2:return u.value;case 3:return l.value;default:return 0}}),m=we(),v=k(0),A=k(3),O=W(()=>m.theme),E=W(()=>O.value==="dark"?"#fff":"#000"),B=Ve();$e();const{isMobile:Q}=Ki(),dt=k("/api/upload/file");let lt=!1,tt=null;const Ct=k("9:16"),et=k("MJ"),at=k("6.0");k(0);const Ot=k("1"),wt=k(100),mt=k(0),Z=k(""),ft=k(""),it=k([]),nt=k(0),Et=k(!1),p=k(!1),w=k(!1),z=k([]),U=k(12),$=k(!0),N=k(0),H=k(1),F=W(()=>!Z.value||p.value||w.value||_t.value),yt=k("");let zt;Wi(n,async(R,I)=>{R&&!I&&await Ht()});const Jt=W(()=>N.value>U.value),vi=[{aspect:"1:1",width:"100%",height:"100%"},{aspect:"4:3",width:"100%",height:"75%"},{aspect:"3:4",width:"75%",height:"100%"},{aspect:"16:9",width:"100%",height:"57%"},{aspect:"9:16",width:"57%",height:"100%"}];W(()=>[{label:d("draw.defaultStyle"),value:0},{label:d("draw.expressiveStyle"),value:"expressive"},{label:d("draw.cuteStyle"),value:"cute"},{label:d("draw.scenicStyle"),value:"scenic"}]);const bi=W(()=>[{label:d("draw.standardQuality"),value:".25"},{label:d("draw.generalQuality"),value:".5"},{label:d("draw.highDefinitionQuality"),value:"1"},{label:d("draw.ultraHighDefinitionQuality"),value:"2"}]),wi=W(()=>et.value==="MJ"?[{label:"6.0",value:"6.0"},{label:"5.2",value:"5.2"},{label:"5.1",value:"5.1"},{label:"5",value:"5"},{label:"4",value:"4"}]:et.value==="NIJI"?[{label:"6",value:"6"},{label:"5",value:"5"},{label:"4",value:"4"}]:[]),yi=[{name:"MJ",img:en,val:"mj"},{name:"NIJI",img:nn,val:"niji"}],Re=W(()=>R=>Ct.value===R),Ai=W(()=>R=>et.value===R);function xi(R){var S;const I=(S=R==null?void 0:R.target)==null?void 0:S.files[0];Ie(I)}function zi(R){R.preventDefault();const I=R.dataTransfer.files[0];Ie(I)}async function Ie(R){zt=R;const I=new FileReader;I.onload=S=>{var Y;yt.value=(Y=S.target)==null?void 0:Y.result},I.readAsDataURL(R)}async function Ri(){const R=await Xi();z.value=R.data.filter(I=>I.status)}async function Ii(){const R=await Ce({page:1,size:U.value}),{rows:I,countQueue:S,count:Y}=R.data;it.value=I||[],N.value=Y,nt.value=S||0}async function Si(){const R=s.query.mjId;if(!R)return;const I=await Qi({id:R});I.success&&(Z.value=I.data,H.value=0,$.value=!0)}async function Mi(){if(!Z.value)return B.warning(d("draw.enterDescription"));w.value=!0;try{const R=Number(o.globalConfig.mjUseBaiduFy)===1?De:Oe,I=Number(o.globalConfig.mjUseBaiduFy)===1?{text:Z.value}:{prompt:Z.value},S=await R(I);if(!S.success)return B.error(d("draw.optimizationFailed"));Z.value=S.data,w.value=!1}catch{w.value=!1}}const _t=k(!1);async function Ci(){if(!Z.value)return B.warning(d("draw.enterDescription"));_t.value=!0;try{const R=Number(o.globalConfig.mjUseBaiduFy)===1?De:Oe,I=Number(o.globalConfig.mjUseBaiduFy)===1?{text:ft.value}:{prompt:ft.value},S=await R(I);if(!S.success)return B.error(d("draw.optimizationFailed"));ft.value=S.data,_t.value=!1}catch{_t.value=!1}}function Oi(R){const I=/--\w+\s\S+/g;return R.replace(I,"")}function Ei(){if(!H.value)return"";let R="";return ft.value&&(R+=` --no ${ft.value}`),et.value==="MJ"&&at.value&&(R+=` --v ${at.value}`,R+=` --s ${wt.value}`),et.value==="NIJI"&&at.value&&(R+=` --niji ${at.value}`),R+=` --ar ${Ct.value}`,R+=` --c ${mt.value}`,R+=` --q ${Ot.value}`,R}async function ji(){var Me;const R=new FormData;zt&&R.append("file",zt);const I=new Date,S=I.getFullYear(),Y=String(I.getMonth()+1).padStart(2,"0"),jt=String(I.getDate()).padStart(2,"0"),_i=`userFiles/${`${S}${Y}/${jt}`}`,ee=await Ge.post(`${dt.value}?dir=${encodeURIComponent(_i)}`,R,{headers:{"Content-Type":"multipart/form-data"}});return(Me=ee==null?void 0:ee.data)==null?void 0:Me.data}function Di(R){const{prompt:I,aspect:S,isCarryParams:Y}=R;Z.value=I,S&&(Ct.value=S),H.value=Y?1:0}async function Ti(){let R="";(yt.value||zt)&&(R=await ji());const I=Ei();H.value&&(Z.value=Oi(Z.value)),await At({prompt:Z.value,imgUrl:R,extraParam:I,action:"IMAGINE"}),zt&&(zt=null),yt.value="",$.value&&(H.value=1,$.value=!1),B.success(d("draw.submitDrawingTaskSuccess")),o.token&&await Se(),!lt&&Ht()}async function Ht(){lt=!0;const R=await Ce({page:1,size:U.value}),{rows:I,countQueue:S,count:Y}=R.data;it.value=I||[],N.value=Y,nt.value=S||0,it.value.filter(Ut=>[1,2].includes(Ut.status)).length?tt=setTimeout(()=>Ht(),3e3):lt=!1}Bi(()=>{clearTimeout(tt)});const te=W(()=>it.value.filter(R=>[1,2].includes(R.status)));function Pi(){i.push("/market")}function ki(R){et.value=R,R==="MJ"&&(at.value="6.0"),R==="NIJI"&&(at.value="6")}async function Se(){Et.value=!0;try{await o.getUserInfo(),Et.value=!1}catch{Et.value=!1}}return Ui(async()=>{const R=await tn();R&&(v.value=R.data.deduct,A.value=R.data.deductType),Ht(),Si(),Ri();const I=document.getElementById("footer");new IntersectionObserver((Y,jt)=>{Y.forEach(Ut=>{Ut.isIntersecting&&Jt.value&&(U.value=U.value+12,Ii())})}).observe(I)}),(R,I)=>(x(),C("div",Ws,[h("div",Bs,[h("div",Us,[c(Q)?(x(),C("h3",Ns,g(c(d)("draw.professionalDrawing")),1)):D("",!0),h("div",Fs,[h("div",qs,g(c(d)("draw.imageSize")),1),h("div",Ys,[b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.parameterExplanation")),1)]),_:1})])]),h("div",Xs,[(x(),C(Rt,null,It(vi,(S,Y)=>h("button",{key:Y,class:"flex-1 p-[2px] rounded-md",onClick:jt=>Ct.value=S.aspect},[h("div",{class:Lt(["border-2 border-gray-300 box-borde rounded-md flex flex-col items-center",[Re.value(S.aspect)?"aspect-active":"",c(Q)?"py-3":"py-2"]])},[h("div",Ks,[h("div",{class:Lt(["border-gray-300 rounded border-2",[Re.value(S.aspect)?"aspect-active":""]]),style:ce({width:S.width,height:S.height})},null,6)]),h("div",Gs,g(S.aspect),1)],2)],8,Qs)),64))]),h("div",Zs,[h("div",$s,g(c(d)("draw.modelSelection")),1),h("div",Vs,[b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base"})]),default:y(()=>[h("div",Js,[h("p",null,g(c(d)("draw.tooltipMJ")),1),h("p",null,g(c(d)("draw.tooltipNIJI")),1)])]),_:1})])]),h("ul",to,[(x(),C(Rt,null,It(yi,(S,Y)=>h("li",{key:Y,class:Lt(["flex border-[3px] border-transparent justify-center items-center rounded-md m-1 m-bg-gradient",[Ai.value(S.name)?"model-active":""]]),onClick:jt=>ki(S.name)},[h("button",io,[h("div",no,[h("div",so,g(S.name),1)]),h("img",{src:S.img,class:"rounded aspect-[3/1] w-full object-cover"},null,8,oo)])],10,eo)),64))]),h("div",ao,[h("div",ro,[h("span",lo,g(c(d)("draw.version")),1),h("span",co,[b(c(Ee),{value:at.value,"onUpdate:value":I[0]||(I[0]=S=>at.value=S),size:"small",options:wi.value},null,8,["value","options"])])]),h("div",ho,[j(g(c(d)("draw.parameters"))+" ",1),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",uo,[h("p",null,g(c(d)("draw.parameters")),1)])]),_:1})]),h("div",mo,[h("span",fo,g(c(d)("draw.quality")),1),h("span",po,[b(c(Ee),{value:Ot.value,"onUpdate:value":I[1]||(I[1]=S=>Ot.value=S),size:"small",options:bi.value},null,8,["value","options"])])]),h("div",go,[h("span",vo,g(c(d)("draw.chaos")),1),h("span",bo,[b(c(je),{value:mt.value,"onUpdate:value":I[2]||(I[2]=S=>mt.value=S),min:0,max:100,size:"small"},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",wo,[h("p",null,g(c(d)("draw.chaosDescription")),1),h("p",null,g(c(d)("draw.chaosExplanation")),1),h("p",null,g(c(d)("draw.chaosAdvice")),1)])]),_:1})]),et.value==="MJ"?(x(),C("div",yo,[h("span",Ao,g(c(d)("draw.stylization")),1),h("span",xo,[b(c(je),{value:wt.value,"onUpdate:value":I[3]||(I[3]=S=>wt.value=S),min:0,max:1e3,size:"small"},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",zo,[h("p",null,g(c(d)("draw.stylizationDescription")),1),h("p",null,g(c(d)("draw.parameterExplanation1")),1)])]),_:1})])):D("",!0),h("div",Ro,g(c(d)("draw.setting")),1),h("div",Io,[h("span",So,g(c(d)("draw.carryParameters")),1),h("span",Mo,[b(c(Vi),{value:H.value,"onUpdate:value":I[4]||(I[4]=S=>H.value=S),size:"small","checked-value":1,"unchecked-value":0},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",Co,[h("p",null,g(c(d)("draw.autoCarryParameters")),1),h("p",null,g(c(d)("draw.carryOn")),1),h("p",null,g(c(d)("draw.carryOff")),1)])]),_:1})])]),h("div",Oo,[h("div",Eo,g(c(d)("draw.imageToImage")),1),h("div",jo,[h("div",Do,[h("div",To,[yt.value?D("",!0):(x(),C("label",Po,[h("div",{class:"upload cursor-pointer",onDragover:I[6]||(I[6]=Qt(()=>{},["prevent"])),onDragenter:I[7]||(I[7]=Qt(()=>{},["prevent"])),onDragleave:I[8]||(I[8]=Qt(()=>{},["prevent"])),onDrop:zi},[h("input",{id:"upload-file",type:"file",accept:".png, .jpg, .jpeg",style:{display:"none"},onChange:I[5]||(I[5]=S=>xi(S))},null,32),h("div",ko,[_o,h("p",Ho,g(c(d)("draw.clickOrDrag")),1),h("p",Lo,g(c(d)("draw.supportFormats")),1)])],32)])),yt.value?(x(),C("div",Wo,[h("img",{src:yt.value,alt:""},null,8,Bo),h("img",{class:"absolute bottom-1 right-1 cursor-pointer",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAD0klEQVRIiY2WS2xWRRTHf/+ZryimPqLhocEAMbrQqBvYK4G2ArJxw0YxqLSo3bgQceFKo4mJywoYUBFZAilNRKVEN8ZoF2xYoiUhaSISExsVtJxj5n5z+917ez/xTk7uPM+Z8/qf0cnxWQxhru6/ToOOHja02dAGQ+sN3WNIjn4zdNHQjKNpQxcMzTsUPDzzKceaHP+5x7wnbJmhJw2NGtqWxzUGVXL0t6EvDQ5kodebgjqh6OZPgLMK2A+MAreSp0sy6l+eWwY8DYw4HALecZgjC0kyOrGrWG7hfokJwXZ5f+ZV4d01L0ZCAwavAA847AVmy9WQpGVaFbCJgG0PGEFG8a9QrFB9zYk9PolGAn4g4PeV6yF2N90S8X0R357HXVKlX2dUoz5rwwF/M+DLi3GWuCngr7ZstiC/0WTapECxx6p7un3bG/EtpUa3RWw0YgOxbh6P2LGIvR7lc6V2LZe5EvD9Af844jfqZvXkmpcDfnvqPBLwoRYGCwH/IeAfBGwsYL9U/ZYv82ssbm3vR+y7gFmLSZO1Hu9EfEiwXI0wFgwI3hBcEkwK/hIclVidItLgCrAbmAKGgLeAgaURWcwNJR9taEZXhdYE/EjW+OuAvxDw+Sj/M8r3RHwq4psi/mnE1/YLmohvTBqtb9GmQrZC6DOhF4VOCz1nqAM6hTSC6wiE1S2plnl4ytR1CRnubtvUSMyVguOCXYITeW5HNuWd8mrS95otXpfBJEil5AQWTY0qqBCBDm1j5fTvf1klCEoovKbHti4qt6tCe4ROCG1NUCN0UoSdgsOFxsonfKn5DeaTRj8BjzbBs7LpKvB8jq4twOdZk51gU6BnQcdAK7p3F/gSTrMpj2b+A2LmAovR9UTEP4n4XREfjPjhiA9H/KuI74745X7QFfGZhAwpbK/Xw7FIxoWIvRexEwF7KmDHA9YDyQKE/WjAdwR8KuNaj48W+f2TUiOZ7gJwFnxb6ZFutBCAx+jC/j7g3krIl75bKXRQaK3Qg0KdSskh++0bOed1cfz7dGyro0lDsVE5zbrUaSnzVVpI5b15Pp99xtCpsh6dC/hEE6EzKHZuht4RT4kfW+Y/Sq5J/YKJ4JrBu8BDguF6RfU+SdiPQnnwHPA28AeNCpsibCzgZ3ItySjdv9i1UxFI0xF7KWKXy7ITGgxmA747YB+mMtEU8j+qbSoThwK+K+Vnda0wXTJVqXB+vbwm+MJgLJeAzk0eKQuCacFBwZlcUmrGXXxulVDl3RfNNYfTwLcpxAWbDTYC68DvyP6aF7pk6EfQWdB50O+tvkP8C8uzPO7HeTXiAAAAAElFTkSuQmCC",onClick:I[9]||(I[9]=S=>yt.value=null)})])):D("",!0)])])])]),h("div",Uo,[h("div",No,[h("span",Fo,[j(g(c(d)("draw.remainingPoints"))+"(",1),h("b",qo,g(f.value),1),j(" "+g(c(d)("draw.points"))+")",1)]),h("span",Yo,[b(c(_),{text:"",size:"tiny",type:"primary",loading:Et.value,onClick:Se},{default:y(()=>[j(g(c(d)("draw.refresh")),1)]),_:1},8,["loading"]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[j(" "+g(c(d)("draw.accountInfo")),1)]),_:1})])]),h("div",Xo,[h("div",Qo,[h("span",Ko,g(c(d)("draw.paintingSingleUse")),1),h("span",Go,g(v.value*4)+g(c(d)("draw.points")),1)]),h("div",Zo,[h("span",$o,g(c(d)("draw.imageGenerationSingleUse")),1),h("span",Vo,g(v.value*4)+g(c(d)("draw.points")),1)]),h("div",Jo,[h("span",ta,g(c(d)("draw.enlargementSingleUse")),1),h("span",ea,g(v.value)+g(c(d)("draw.points")),1)])])])]),h("div",{class:Lt(["h-full flex-1",[c(Q)?"":"overflow-y-auto overflow-hidden"]])},[h("div",ia,[h("div",na,[c(Q)?D("",!0):(x(),C("h3",sa,g(c(d)("draw.professionalDrawing")),1)),h("div",null,[h("div",oa,[h("b",null,g(c(d)("draw.submitDrawingTask")),1),Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",aa,[b(c(he),null,{default:y(()=>[b(c(_),{type:"primary",loading:w.value,onClick:Mi},{icon:y(()=>[b(c(V),{icon:"material-symbols:mindfulness-outline-rounded",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.optimize")),1)]),_:1},8,["loading"])]),_:1})])):D("",!0)]),h("div",ra,[b(c(ue),{value:Z.value,"onUpdate:value":I[10]||(I[10]=S=>Z.value=S),clearable:"",type:"textarea",disabled:p.value||w.value,autosize:{minRows:3,maxRows:6},placeholder:c(d)("draw.enterDrawingKeywords")},null,8,["value","disabled","placeholder"]),Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",la,[h("div",ca,[h("b",null,g(c(d)("draw.unnecessaryElements")),1),b(c(_),{type:"primary",loading:_t.value,onClick:Ci},{icon:y(()=>[b(c(V),{icon:"material-symbols:mindfulness-outline-rounded",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.optimize")),1)]),_:1},8,["loading"])]),b(c(ue),{value:ft.value,"onUpdate:value":I[11]||(I[11]=S=>ft.value=S),type:"textarea",rows:1,placeholder:c(d)("draw.exclusionPrompt")},null,8,["value","placeholder"])])):D("",!0)]),z.value.length?(x(),C("div",{key:0,class:Lt(["w-full dark:bg-transparent",c(Q)?"py-3":"py-6"])},[b(c(Ji),{"x-scrollable":""},{default:y(()=>[h("div",ha,[(x(!0),C(Rt,null,It(z.value,(S,Y)=>(x(),L(c(_),{key:Y,size:"small",onClick:jt=>Di(S)},{default:y(()=>[j(g(S.title),1)]),_:2},1032,["onClick"]))),128))])]),_:1})],2)):D("",!0),h("div",ua,[b(c(_),{type:"primary",loading:!1,disabled:F.value,onClick:I[12]||(I[12]=S=>Ti())},{icon:y(()=>[b(c(V),{icon:"ri:ai-generate",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.submitTask")),1)]),_:1},8,["disabled"])])])]),h("div",da,[Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",ma,[h("div",fa,[h("span",pa,[j(g(c(d)("draw.workingContents"))+" ",1),nt.value?(x(),C("span",ga,g(c(d)("draw.currentTasks"))+" ["+g(nt.value)+"]",1)):D("",!0)])]),te.value.length?D("",!0):(x(),C("div",va,[h("img",{class:"w-18",src:c(sn)},null,8,ba),h("span",wa,[b(c(_),{text:"",size:"small",onClick:Pi},{default:y(()=>[j(g(c(d)("draw.goToAIDrawingSquare")),1)]),_:1})])])),te.value.length?(x(),C("div",ya,[h("div",Aa,[b(Je,{"text-color":E.value},null,8,["text-color"])]),h("p",xa,g(te.value.length)+g(c(d)("draw.tasksInProgress")),1)])):D("",!0)])):D("",!0),h("div",za,[h("div",Ra,[h("span",Ia,[j(g(c(d)("draw.myDrawings"))+" ",1),h("span",Sa,"["+g(it.value.length)+"]",1)])]),!it.value||!it.value.length?(x(),C("div",Ma,Oa)):D("",!0),it.value&&it.value.length?(x(),C("div",Ea,[h("div",ja,[(x(!0),C(Rt,null,It(it.value,S=>(x(),L(Ls,{key:S.id,"draw-item-info":S,onQueryData:Ht},null,8,["draw-item-info"]))),128))])])):D("",!0)]),h("div",{id:"footer",ref_key:"containerRef",ref:e},null,512)])])],2)])]))}});export{Wa as default}; diff --git a/public/assets/index-20a35e72.js.br b/public/assets/index-20a35e72.js.br new file mode 100644 index 0000000..7d43af6 Binary files /dev/null and b/public/assets/index-20a35e72.js.br differ diff --git a/public/assets/index-215ca0ac.js b/public/assets/index-215ca0ac.js new file mode 100644 index 0000000..f8bcf24 --- /dev/null +++ b/public/assets/index-215ca0ac.js @@ -0,0 +1 @@ +import{o as c}from"./index-d64a7cc4.js";import{d as i,U as a,a3 as l,ah as s,S as o}from"./vue-10b4afc0.js";import"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const n={class:"welcome flex h-full bg-white dark:bg-gray-900"},r=s('出了点小错误...... 出了点小错误、刷新看看呢...... ',20),h=l("path",{fill:"none",class:"stroke",d:"M955.8 846V560.5c0-5.5-4.5-10-10-10H738.6c-5.5 0-10 4.5-10 10V846"},null,-1),p=l("rect",{fill:"#0170BB",x:"730",y:"700",width:"225",height:"15"},null,-1),d=l("polyline",{fill:"none",class:"stroke",points:" 800.8 672.8 842.5 601 883.6 672.8 "},null,-1),f=l("ellipse",{fill:"#FFF",class:"stroke",cx:"842.2",cy:"601",rx:"10",ry:"10"},null,-1),k=l("path",{fill:"#a5c7e4",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),x=l("path",{fill:"none",class:"stroke",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),u=s('',4),z=i({__name:"index",setup(y){const e=c();function t(){e.push("/chat")}return(F,M)=>(o(),a("div",n,[l("div",{class:"store-container"},[l("div",{class:"border-animation"},[l("svg",{id:"store",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"130 0 1230 930"},[r,l("g",{id:"door"},[h,p,l("g",{id:"sign"},[d,f,k,l("text",{class:"btn",transform:"matrix(1.0027 0 0 1 789.6294 721.7501)",fill:"#FFF","font-family":"Fredoka One","font-size":"38",onClick:t}," HOME "),x])]),u])])])]))}});export{z as default}; diff --git a/public/assets/index-215ca0ac.js.br b/public/assets/index-215ca0ac.js.br new file mode 100644 index 0000000..fe1d313 Binary files /dev/null and b/public/assets/index-215ca0ac.js.br differ diff --git a/public/assets/index-2168999b.js b/public/assets/index-2168999b.js deleted file mode 100644 index f3e84f0..0000000 --- a/public/assets/index-2168999b.js +++ /dev/null @@ -1 +0,0 @@ -import{g as R,H as Q,az as V,J as $,aQ as q,k as x,r as b,a0 as n,L as F,F as c,Q as r,X as a,aA as N,G as e,R as w,N as M,O as B,P as E,Z as P,bC as H,E as u,S as l,am as U,_ as X,bE as _,aq as T,bO as Z}from"./index-2efe4620.js";import{_ as K}from"./titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js";import{N as W,a as Y}from"./Tabs-d30e51ae.js";import"./Add-1eab33c9.js";const ee={class:"main min-h-screen bg-center dark:bg-[#2F2E34] h-full flex flex-col overflow-hidden"},ae={key:0,class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-x-6 gap-y-10 px-4"},te=["onClick"],se={class:"w-full rounded-t-xl overflow-hidden border dark:border-[#ffffff17] relative",style:{height:"40%"}},ne=["src"],le={class:"absolute left-1/2 bottom-0 transform -translate-x-1/2 -translate-y-1/2 text-lg text-[#fff] ]"},oe={class:"p-5 text-lg h-[160px] border-b dark:border-[#ffffff17] overflow-hidden relative"},re={class:"absolute bottom-1 right-2 font-semibold text-red-500 italic"},ie={class:"flex p-4 border-b dark:border-[#ffffff17] flex-col space-y-4"},de={class:"flex justify-between"},ce={class:"flex justify-between"},ue={class:"flex justify-between"},fe={class:"px-4 flex-1 flex items-center justify-between"},pe={class:"flex items-end"},ye={class:"ml-2 text-[#3076fd] text-lg"},ge=e("div",{class:"line"},null,-1),he={key:1,class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-x-6 gap-y-10 px-4"},xe={class:"w-full rounded-t-xl overflow-hidden",style:{height:"40%"}},_e={class:"p-5 text-lg h-[160px] border-b dark:border-[#ffffff17] overflow-ellipsis"},ve={class:"flex p-4 border-b dark:border-[#ffffff17] flex-col space-y-4"},me={class:"px-4 flex-1 flex items-center justify-between"},Ne=R({__name:"index",setup(be){const y=Q(),{isMobile:f}=V(),v=$(),g=q(),j=x(()=>{var o;const t=window.navigator.userAgent.toLowerCase();return t.match(/MicroMessenger/i)&&((o=t==null?void 0:t.match(/MicroMessenger/i))==null?void 0:o[0])==="micromessenger"}),i=x(()=>{const{payHupiStatus:t,payEpayStatus:o,payMpayStatus:s,payWechatStatus:d,payLtzfStatus:m}=y.globalConfig;return Number(d)===1?"wechat":Number(s)===1?"mpay":Number(t)===1?"hupi":Number(o)===1?"epay":Number(m)===1?"ltzf":null}),J=x(()=>{const{payEpayChannel:t,payMpayChannel:o}=y.globalConfig;return i.value==="wechat"?["wxpay"]:i.value==="epay"?t?JSON.parse(t):[]:i.value==="mpay"?o?JSON.parse(o):[]:i.value==="hupi"?["wxpay"]:i.value==="ltzf"?["wxpay"]:[]}),k=b([]),S=b(1),p=b(!1);async function C(){try{p.value=!0;const t=await H({status:1,type:S.value,size:30});k.value=t.data.rows,p.value=!1}catch{p.value=!1}}const I=x(()=>f.value?n("pay.welcomeTipMobile"):n("pay.welcomeTipDesktop"));function L(t){S.value=t,C()}async function O(t){J.value.length||v.warning(n("pay.paymentNotEnabled")),z(t)}async function z(t){if(j.value&&i.value==="wechat"&&Number(y.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",h,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",h),document.attachEvent("onWeixinJSBridgeReady",h));else{const o=await Z({goodsId:t.id,payType:"jsapi"}),{success:s,data:d}=o;s&&h(d)}return}g.updateOrderInfo({pkgInfo:t}),g.updateGoodsDialog(!1),g.updatePayDialog(!0)}function h(t){const{appId:o,timeStamp:s,nonceStr:d,package:m,signType:G,paySign:A}=t;o&&WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:o,timeStamp:s,nonceStr:d,package:m,signType:G,paySign:A},D=>{D.err_msg==="get_brand_wcpay_request:ok"?(v.success(n("pay.purchaseSuccess")),setTimeout(()=>{y.getUserInfo(),g.updateGoodsDialog(!1)},500)):v.warning(n("pay.paymentNotComplete"))})}return F(()=>{C()}),(t,o)=>(u(),c("div",ee,[r(a(K),{title:a(n)("pay.membershipMarket"),des:I.value,class:N([a(f)?"px-3":"px-24"])},null,8,["title","des","class"]),e("div",{class:"flex justify-center items-center",style:M({height:a(f)?"60px":"180px"})},[r(a(Y),{type:"segment",style:M({width:a(f)?"90%":"400px"}),"onUpdate:value":L},{default:w(()=>[r(a(W),{name:1,tab:a(n)("pay.memberPackage")},null,8,["tab"]),r(a(W),{name:-1,tab:a(n)("pay.permanentAddOnCard")},null,8,["tab"])]),_:1},8,["style"])],4),e("div",{class:N(["flex-1 pb-10 overflow-y-auto",[a(f)?"px-3":"px-28"]])},[p.value?P("",!0):(u(),c("div",ae,[(u(!0),c(B,null,E(k.value,s=>(u(),c("div",{key:s.id,class:"border dark:border-[#ffffff17] h-[580px] rounded-xl card-item flex flex-col",onClick:d=>O(s)},[e("div",se,[e("img",{src:s.coverImg,class:"object-cover w-full h-full cover",alt:""},null,8,ne),e("div",le,l(s.name),1)]),e("div",oe,[U(l(s.des)+" ",1),e("span",re,"¥"+l(s.price),1)]),e("div",ie,[e("div",de,[e("span",null,l(a(n)("pay.baseModelQuota")),1),e("span",null,l(s.model3Count||0)+" "+l(a(n)("pay.points")),1)]),e("div",ce,[e("span",null,l(a(n)("pay.advancedModelQuota")),1),e("span",null,l(s.model4Count||0)+" "+l(a(n)("pay.points")),1)]),e("div",ue,[e("span",null,l(a(n)("pay.MJDrawingQuota")),1),e("span",null,l(s.drawMjCount||0)+" "+l(a(n)("pay.points")),1)])]),e("div",fe,[e("div",pe,[e("span",null,l(a(n)("pay.packageValidity")),1),e("span",ye,l(s.days>0?`${s.days} ${a(n)("pay.days")}`:a(n)("pay.permanent")),1)]),ge,e("div",null,[r(a(X),{class:"text-lg right-icon",icon:"bi:arrow-right"})])])],8,te))),128))])),p.value?(u(),c("div",he,[(u(),c(B,null,E(4,s=>e("div",{key:s,class:"border dark:border-[#ffffff17] h-[580px] rounded-xl card-item flex flex-col"},[e("div",xe,[r(a(_),{height:"100%",width:"100%"})]),e("div",_e,[r(a(T),{vertical:""},{default:w(()=>[r(a(_),{text:"",repeat:4,width:"100%",sharp:!1})]),_:1})]),e("div",ve,[r(a(T),{vertical:""},{default:w(()=>[r(a(_),{text:"",repeat:4,width:"100%",sharp:!1})]),_:1})]),e("div",me,[r(a(_),{text:"",repeat:1,width:"100%",sharp:!1})])])),64))])):P("",!0)],2)]))}});export{Ne as default}; diff --git a/public/assets/index-2d428f7b.css b/public/assets/index-2d428f7b.css new file mode 100644 index 0000000..24aa414 --- /dev/null +++ b/public/assets/index-2d428f7b.css @@ -0,0 +1 @@ +@charset "UTF-8";.loading[data-v-07d64bb6]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.progress[data-v-07d64bb6]{position:absolute;bottom:0;left:50%;transform:translate(-50%)}.loading-text[data-v-07d64bb6]{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;text-align:center;width:100%;height:110px;line-height:100px;z-index:1}.loading-text span[data-v-07d64bb6]{display:inline-block;margin:0 5px;color:#fff;font-family:Quattrocento Sans,sans-serif}.loading-text span[data-v-07d64bb6]:nth-child(1){filter:blur(0px);animation:blur-text-07d64bb6 1.5s 0s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(2){filter:blur(0px);animation:blur-text-07d64bb6 1.5s .2s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(3){filter:blur(0px);animation:blur-text-07d64bb6 1.5s .4s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(4){filter:blur(0px);animation:blur-text-07d64bb6 1.5s .6s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(5){filter:blur(0px);animation:blur-text-07d64bb6 1.5s .8s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(6){filter:blur(0px);animation:blur-text-07d64bb6 1.5s 1s infinite linear alternate}.loading-text span[data-v-07d64bb6]:nth-child(7){filter:blur(0px);animation:blur-text-07d64bb6 1.5s 1.2s infinite linear alternate}@keyframes blur-text-07d64bb6{0%{filter:blur(0px)}to{filter:blur(4px)}}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:black;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-handler{display:block;background:white;height:10px;width:10px}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.cropper-container[data-v-a664b16d]{width:50vw;height:50vh;display:flex;justify-content:center;align-items:center;overflow:hidden}.cropper[data-v-a664b16d]{max-width:50vw;max-height:50vh}@media (max-width: 600px){.cropper-container[data-v-a664b16d]{width:90vw;height:50vh}.cropper[data-v-a664b16d]{max-width:90vw;max-height:50vh}}.aspect-active{border:2px solid #3074f8ff;color:#3074f8}.model-active{border:3px solid #3074f8ff}.upload{border:1px dashed #424242;font-size:12px;border-radius:8px;padding:14px}.upload:hover{border:1px dashed #3074f8ff} diff --git a/public/assets/index-2d428f7b.css.br b/public/assets/index-2d428f7b.css.br new file mode 100644 index 0000000..37e86a1 Binary files /dev/null and b/public/assets/index-2d428f7b.css.br differ diff --git a/public/assets/index-2efe4620.js b/public/assets/index-2efe4620.js deleted file mode 100644 index 8bf898d..0000000 --- a/public/assets/index-2efe4620.js +++ /dev/null @@ -1,1663 +0,0 @@ -var v8=Object.defineProperty;var b8=(e,t,r)=>t in e?v8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Xg=(e,t,r)=>(b8(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function wu(e,t){const r=new Set(e.split(","));return t?n=>r.has(n.toLowerCase()):n=>r.has(n)}const Bt={},ra=[],Hr=()=>{},x8=()=>!1,Su=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hh=e=>e.startsWith("onUpdate:"),Jt=Object.assign,jh=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},y8=Object.prototype.hasOwnProperty,ut=(e,t)=>y8.call(e,t),Ge=Array.isArray,na=e=>_u(e)==="[object Map]",Vy=e=>_u(e)==="[object Set]",Qe=e=>typeof e=="function",Ut=e=>typeof e=="string",Fa=e=>typeof e=="symbol",$t=e=>e!==null&&typeof e=="object",Gy=e=>($t(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),qy=Object.prototype.toString,_u=e=>qy.call(e),C8=e=>_u(e).slice(8,-1),Yy=e=>_u(e)==="[object Object]",Wh=e=>Ut(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,us=wu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Eu=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},w8=/-(\w)/g,Bn=Eu(e=>e.replace(w8,(t,r)=>r?r.toUpperCase():"")),S8=/\B([A-Z])/g,xi=Eu(e=>e.replace(S8,"-$1").toLowerCase()),ku=Eu(e=>e.charAt(0).toUpperCase()+e.slice(1)),$d=Eu(e=>e?`on${ku(e)}`:""),Po=(e,t)=>!Object.is(e,t),vc=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},v0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},_8=e=>{const t=Ut(e)?Number(e):NaN;return isNaN(t)?e:t};let Qg;const Ky=()=>Qg||(Qg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jr(e){if(Ge(e)){const t={};for(let r=0;r{if(r){const n=r.split(k8);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Kt(e){let t="";if(Ut(e))t=e;else if(Ge(e))for(let r=0;rUt(e)?e:e==null?"":Ge(e)||$t(e)&&(e.toString===qy||!Qe(e.toString))?JSON.stringify(e,Qy,2):String(e),Qy=(e,t)=>t&&t.__v_isRef?Qy(e,t.value):na(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[Id(n,i)+" =>"]=o,r),{})}:Vy(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Id(r))}:Fa(t)?Id(t):$t(t)&&!Ge(t)&&!Yy(t)?String(t):t,Id=(e,t="")=>{var r;return Fa(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** -* @vue/reactivity v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let zr;class Zy{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=zr,!t&&zr&&(this.index=(zr.scopes||(zr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=zr;try{return zr=this,t()}finally{zr=r}}}on(){zr=this}off(){zr=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ci()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ko,r=ci;try{return ko=!0,ci=this,this._runnings++,Zg(this),this.fn()}finally{Jg(this),this._runnings--,ci=r,ko=t}}stop(){var t;this.active&&(Zg(this),Jg(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function O8(e){return e.value}function Zg(e){e._trackId++,e._depsLength=0}function Jg(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const r=new Map;return r.cleanup=e,r.computed=t,r},Hc=new WeakMap,ui=Symbol(""),y0=Symbol("");function Br(e,t,r){if(ko&&ci){let n=Hc.get(e);n||Hc.set(e,n=new Map);let o=n.get(r);o||n.set(r,o=nC(()=>n.delete(r))),tC(ci,o)}}function Yn(e,t,r,n,o,i){const a=Hc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(r==="length"&&Ge(e)){const l=Number(n);a.forEach((c,u)=>{(u==="length"||!Fa(u)&&u>=l)&&s.push(c)})}else switch(r!==void 0&&s.push(a.get(r)),t){case"add":Ge(e)?Wh(r)&&s.push(a.get("length")):(s.push(a.get(ui)),na(e)&&s.push(a.get(y0)));break;case"delete":Ge(e)||(s.push(a.get(ui)),na(e)&&s.push(a.get(y0)));break;case"set":na(e)&&s.push(a.get(ui));break}qh();for(const l of s)l&&rC(l,4);Yh()}function L8(e,t){var r;return(r=Hc.get(e))==null?void 0:r.get(t)}const R8=wu("__proto__,__v_isRef,__isVue"),oC=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fa)),em=F8();function F8(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=it(this);for(let i=0,a=this.length;i{e[t]=function(...r){yi(),qh();const n=it(this)[t].apply(this,r);return Yh(),Ci(),n}}),e}function M8(e){const t=it(this);return Br(t,"has",e),t.hasOwnProperty(e)}class iC{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){const o=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(o?i?Q8:cC:i?lC:sC).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=Ge(t);if(!o){if(a&&ut(em,r))return Reflect.get(em,r,n);if(r==="hasOwnProperty")return M8}const s=Reflect.get(t,r,n);return(Fa(r)?oC.has(r):R8(r))||(o||Br(t,"get",r),i)?s:Vt(s)?a&&Wh(r)?s:s.value:$t(s)?o?en(s):nn(s):s}}class aC extends iC{constructor(t=!1){super(!1,t)}set(t,r,n,o){let i=t[r];if(!this._isShallow){const l=fa(i);if(!jc(n)&&!fa(n)&&(i=it(i),n=it(n)),!Ge(t)&&Vt(i)&&!Vt(n))return l?!1:(i.value=n,!0)}const a=Ge(t)&&Wh(r)?Number(r)e,Au=e=>Reflect.getPrototypeOf(e);function Ol(e,t,r=!1,n=!1){e=e.__v_raw;const o=it(e),i=it(t);r||(Po(t,i)&&Br(o,"get",t),Br(o,"get",i));const{has:a}=Au(o),s=n?Kh:r?Zh:Ds;if(a.call(o,t))return s(e.get(t));if(a.call(o,i))return s(e.get(i));e!==o&&e.get(t)}function Ll(e,t=!1){const r=this.__v_raw,n=it(r),o=it(e);return t||(Po(e,o)&&Br(n,"has",e),Br(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Rl(e,t=!1){return e=e.__v_raw,!t&&Br(it(e),"iterate",ui),Reflect.get(e,"size",e)}function tm(e){e=it(e);const t=it(this);return Au(t).has.call(t,e)||(t.add(e),Yn(t,"add",e,e)),this}function rm(e,t){t=it(t);const r=it(this),{has:n,get:o}=Au(r);let i=n.call(r,e);i||(e=it(e),i=n.call(r,e));const a=o.call(r,e);return r.set(e,t),i?Po(t,a)&&Yn(r,"set",e,t):Yn(r,"add",e,t),this}function nm(e){const t=it(this),{has:r,get:n}=Au(t);let o=r.call(t,e);o||(e=it(e),o=r.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return o&&Yn(t,"delete",e,void 0),i}function om(){const e=it(this),t=e.size!==0,r=e.clear();return t&&Yn(e,"clear",void 0,void 0),r}function Fl(e,t){return function(n,o){const i=this,a=i.__v_raw,s=it(a),l=t?Kh:e?Zh:Ds;return!e&&Br(s,"iterate",ui),a.forEach((c,u)=>n.call(o,l(c),l(u),i))}}function Ml(e,t,r){return function(...n){const o=this.__v_raw,i=it(o),a=na(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=o[e](...n),u=r?Kh:t?Zh:Ds;return!t&&Br(i,"iterate",l?y0:ui),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function ao(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function W8(){const e={get(i){return Ol(this,i)},get size(){return Rl(this)},has:Ll,add:tm,set:rm,delete:nm,clear:om,forEach:Fl(!1,!1)},t={get(i){return Ol(this,i,!1,!0)},get size(){return Rl(this)},has:Ll,add:tm,set:rm,delete:nm,clear:om,forEach:Fl(!1,!0)},r={get(i){return Ol(this,i,!0)},get size(){return Rl(this,!0)},has(i){return Ll.call(this,i,!0)},add:ao("add"),set:ao("set"),delete:ao("delete"),clear:ao("clear"),forEach:Fl(!0,!1)},n={get(i){return Ol(this,i,!0,!0)},get size(){return Rl(this,!0)},has(i){return Ll.call(this,i,!0)},add:ao("add"),set:ao("set"),delete:ao("delete"),clear:ao("clear"),forEach:Fl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ml(i,!1,!1),r[i]=Ml(i,!0,!1),t[i]=Ml(i,!1,!0),n[i]=Ml(i,!0,!0)}),[e,r,t,n]}const[U8,V8,G8,q8]=W8();function Xh(e,t){const r=t?e?q8:G8:e?V8:U8;return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(ut(r,o)&&o in n?r:n,o,i)}const Y8={get:Xh(!1,!1)},K8={get:Xh(!1,!0)},X8={get:Xh(!0,!1)},sC=new WeakMap,lC=new WeakMap,cC=new WeakMap,Q8=new WeakMap;function Z8(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function J8(e){return e.__v_skip||!Object.isExtensible(e)?0:Z8(C8(e))}function nn(e){return fa(e)?e:Qh(e,!1,N8,Y8,sC)}function uC(e){return Qh(e,!1,j8,K8,lC)}function en(e){return Qh(e,!0,H8,X8,cC)}function Qh(e,t,r,n,o){if(!$t(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=J8(e);if(a===0)return e;const s=new Proxy(e,a===2?n:r);return o.set(e,s),s}function To(e){return fa(e)?To(e.__v_raw):!!(e&&e.__v_isReactive)}function fa(e){return!!(e&&e.__v_isReadonly)}function jc(e){return!!(e&&e.__v_isShallow)}function dC(e){return To(e)||fa(e)}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function ha(e){return Object.isExtensible(e)&&Nc(e,"__v_skip",!0),e}const Ds=e=>$t(e)?nn(e):e,Zh=e=>$t(e)?en(e):e;class fC{constructor(t,r,n,o){this.getter=t,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Gh(()=>t(this._value),()=>ds(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=it(this);return(!t._cacheable||t.effect.dirty)&&Po(t._value,t._value=t.effect.run())&&ds(t,4),Jh(t),t.effect._dirtyLevel>=2&&ds(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function e5(e,t,r=!1){let n,o;const i=Qe(e);return i?(n=e,o=Hr):(n=e.get,o=e.set),new fC(n,o,i||!o,r)}function Jh(e){var t;ko&&ci&&(e=it(e),tC(ci,(t=e.dep)!=null?t:e.dep=nC(()=>e.dep=void 0,e instanceof fC?e:void 0)))}function ds(e,t=4,r){e=it(e);const n=e.dep;n&&rC(n,t)}function Vt(e){return!!(e&&e.__v_isRef===!0)}function M(e){return hC(e,!1)}function Xn(e){return hC(e,!0)}function hC(e,t){return Vt(e)?e:new t5(e,t)}class t5{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:it(t),this._value=r?t:Ds(t)}get value(){return Jh(this),this._value}set value(t){const r=this.__v_isShallow||jc(t)||fa(t);t=r?t:it(t),Po(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Ds(t),ds(this,4))}}function N(e){return Vt(e)?e.value:e}const r5={get:(e,t,r)=>N(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Vt(o)&&!Vt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function pC(e){return To(e)?e:new Proxy(e,r5)}class n5{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:n}=t(()=>Jh(this),()=>ds(this));this._get=r,this._set=n}get value(){return this._get()}set value(t){this._set(t)}}function o5(e){return new n5(e)}function i5(e){const t=Ge(e)?new Array(e.length):{};for(const r in e)t[r]=gC(e,r);return t}class a5{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return L8(it(this._object),this._key)}}class s5{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Lt(e,t,r){return Vt(e)?e:Qe(e)?new s5(e):$t(e)&&arguments.length>1?gC(e,t,r):M(e)}function gC(e,t,r){const n=e[t];return Vt(n)?n:new a5(e,t,r)}/** -* @vue/runtime-core v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Ao(e,t,r,n){try{return n?e(...n):e()}catch(o){cl(o,t,r)}}function Qr(e,t,r,n){if(Qe(e)){const i=Ao(e,t,r,n);return i&&Gy(i)&&i.catch(a=>{cl(a,t,r)}),i}const o=[];for(let i=0;i>>1,o=br[n],i=Os(o);iTn&&br.splice(t,1)}function d5(e){Ge(e)?oa.push(...e):(!bo||!bo.includes(e,e.allowRecurse?Jo+1:Jo))&&oa.push(e),vC()}function im(e,t,r=Bs?Tn+1:0){for(;rOs(r)-Os(n));if(oa.length=0,bo){bo.push(...t);return}for(bo=t,Jo=0;Joe.id==null?1/0:e.id,f5=(e,t)=>{const r=Os(e)-Os(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function xC(e){C0=!1,Bs=!0,br.sort(f5);const t=Hr;try{for(Tn=0;TnUt(h)?h.trim():h)),f&&(o=r.map(v0))}let s,l=n[s=$d(t)]||n[s=$d(Bn(t))];!l&&i&&(l=n[s=$d(xi(t))]),l&&Qr(l,e,6,o);const c=n[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Qr(c,e,6,o)}}function yC(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let a={},s=!1;if(!Qe(e)){const l=c=>{const u=yC(c,t,!0);u&&(s=!0,Jt(a,u))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?($t(e)&&n.set(e,null),null):(Ge(i)?i.forEach(l=>a[l]=null):Jt(a,i),$t(e)&&n.set(e,a),a)}function $u(e,t){return!e||!Su(t)?!1:(t=t.slice(2).replace(/Once$/,""),ut(e,t[0].toLowerCase()+t.slice(1))||ut(e,xi(t))||ut(e,t))}let Zt=null,Iu=null;function Wc(e){const t=Zt;return Zt=e,Iu=e&&e.type.__scopeId||null,t}function Ule(e){Iu=e}function Vle(){Iu=null}function De(e,t=Zt,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&xm(-1);const i=Wc(t);let a;try{a=e(...o)}finally{Wc(i),n._d&&xm(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Dd(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:g}=e;let v,m;const b=Wc(e);try{if(r.shapeFlag&4){const x=o||n,S=x;v=En(u.call(S,x,f,i,h,d,p)),m=l}else{const x=t;v=En(x.length>1?x(i,{attrs:l,slots:s,emit:c}):x(i,null)),m=t.props?l:p5(l)}}catch(x){gs.length=0,cl(x,e,1),v=me(yr)}let y=v;if(m&&g!==!1){const x=Object.keys(m),{shapeFlag:S}=y;x.length&&S&7&&(a&&x.some(Hh)&&(m=g5(m,a)),y=tn(y,m))}return r.dirs&&(y=tn(y),y.dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&(y.transition=r.transition),v=y,Wc(b),v}const p5=e=>{let t;for(const r in e)(r==="class"||r==="style"||Su(r))&&((t||(t={}))[r]=e[r]);return t},g5=(e,t)=>{const r={};for(const n in e)(!Hh(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function m5(e,t,r){const{props:n,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?am(n,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function y5(e,t){t&&t.pendingBranch?Ge(e)?t.effects.push(...e):t.effects.push(e):d5(e)}const C5=Symbol.for("v-scx"),w5=()=>ze(C5);function Or(e,t){return np(e,null,t)}const zl={};function Je(e,t,r){return np(e,t,r)}function np(e,t,{immediate:r,deep:n,flush:o,once:i,onTrack:a,onTrigger:s}=Bt){if(t&&i){const C=t;t=(...w)=>{C(...w),S()}}const l=or,c=C=>n===!0?C:ni(C,n===!1?1:void 0);let u,f=!1,d=!1;if(Vt(e)?(u=()=>e.value,f=jc(e)):To(e)?(u=()=>c(e),f=!0):Ge(e)?(d=!0,f=e.some(C=>To(C)||jc(C)),u=()=>e.map(C=>{if(Vt(C))return C.value;if(To(C))return c(C);if(Qe(C))return Ao(C,l,2)})):Qe(e)?t?u=()=>Ao(e,l,2):u=()=>(h&&h(),Qr(e,l,3,[p])):u=Hr,t&&n){const C=u;u=()=>ni(C())}let h,p=C=>{h=y.onStop=()=>{Ao(C,l,4),h=y.onStop=void 0}},g;if(fl)if(p=Hr,t?r&&Qr(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const C=w5();g=C.__watcherHandles||(C.__watcherHandles=[])}else return Hr;let v=d?new Array(e.length).fill(zl):zl;const m=()=>{if(!(!y.active||!y.dirty))if(t){const C=y.run();(n||f||(d?C.some((w,k)=>Po(w,v[k])):Po(C,v)))&&(h&&h(),Qr(t,l,3,[C,v===zl?void 0:d&&v[0]===zl?[]:v,p]),v=C)}else y.run()};m.allowRecurse=!!t;let b;o==="sync"?b=m:o==="post"?b=()=>$r(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),b=()=>Pu(m));const y=new Gh(u,Hr,b),x=Tu(),S=()=>{y.stop(),x&&jh(x.effects,y)};return t?r?m():v=y.run():o==="post"?$r(y.run.bind(y),l&&l.suspense):y.run(),g&&g.push(S),S}function S5(e,t,r){const n=this.proxy,o=Ut(e)?e.includes(".")?SC(n,e):()=>n[e]:e.bind(n,n);let i;Qe(t)?i=t:(i=t.handler,r=t);const a=dl(this),s=np(o,i.bind(n),r);return a(),s}function SC(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o0){if(r>=t)return e;r++}if(n=n||new Set,n.has(e))return e;if(n.add(e),Vt(e))ni(e.value,t,r,n);else if(Ge(e))for(let o=0;o{ni(o,t,r,n)});else if(Yy(e))for(const o in e)ni(e[o],t,r,n);return e}function lr(e,t){if(Zt===null)return e;const r=Lu(Zt)||Zt.proxy,n=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Ht(()=>{e.isUnmounting=!0}),e}const Vr=[Function,Array],EC={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Vr,onEnter:Vr,onAfterEnter:Vr,onEnterCancelled:Vr,onBeforeLeave:Vr,onLeave:Vr,onAfterLeave:Vr,onLeaveCancelled:Vr,onBeforeAppear:Vr,onAppear:Vr,onAfterAppear:Vr,onAppearCancelled:Vr},_5={name:"BaseTransition",props:EC,setup(e,{slots:t}){const r=Er(),n=_C();return()=>{const o=t.default&&op(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const d of o)if(d.type!==yr){i=d;break}}const a=it(e),{mode:s}=a;if(n.isLeaving)return Bd(i);const l=lm(i);if(!l)return Bd(i);const c=Ls(l,a,n,r);Rs(l,c);const u=r.subTree,f=u&&lm(u);if(f&&f.type!==yr&&!ei(l,f)){const d=Ls(f,a,n,r);if(Rs(f,d),s==="out-in")return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&(r.effect.dirty=!0,r.update())},Bd(i);s==="in-out"&&l.type!==yr&&(d.delayLeave=(h,p,g)=>{const v=kC(n,f);v[String(f.key)]=f,h[xo]=()=>{p(),h[xo]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return i}}},E5=_5;function kC(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Ls(e,t,r,n){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:g,onAppear:v,onAfterAppear:m,onAppearCancelled:b}=t,y=String(e.key),x=kC(r,e),S=(k,A)=>{k&&Qr(k,n,9,A)},C=(k,A)=>{const T=A[1];S(k,A),Ge(k)?k.every(I=>I.length<=1)&&T():k.length<=1&&T()},w={mode:i,persisted:a,beforeEnter(k){let A=s;if(!r.isMounted)if(o)A=g||s;else return;k[xo]&&k[xo](!0);const T=x[y];T&&ei(e,T)&&T.el[xo]&&T.el[xo](),S(A,[k])},enter(k){let A=l,T=c,I=u;if(!r.isMounted)if(o)A=v||l,T=m||c,I=b||u;else return;let D=!1;const B=k[Nl]=j=>{D||(D=!0,j?S(I,[k]):S(T,[k]),w.delayedLeave&&w.delayedLeave(),k[Nl]=void 0)};A?C(A,[k,B]):B()},leave(k,A){const T=String(e.key);if(k[Nl]&&k[Nl](!0),r.isUnmounting)return A();S(f,[k]);let I=!1;const D=k[xo]=B=>{I||(I=!0,A(),B?S(p,[k]):S(h,[k]),k[xo]=void 0,x[T]===e&&delete x[T])};x[T]=e,d?C(d,[k,D]):D()},clone(k){return Ls(k,t,r,n)}};return w}function Bd(e){if(ul(e))return e=tn(e),e.children=null,e}function lm(e){return ul(e)?e.children?e.children[0]:void 0:e}function Rs(e,t){e.shapeFlag&6&&e.component?Rs(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function op(e,t=!1,r){let n=[],o=0;for(let i=0;i1)for(let i=0;iJt({name:e.name},t,{setup:e}))():e}const fs=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function k5(e){Qe(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((g,v)=>{s(p,()=>g(f()),()=>v(p),u+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return pe({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=or;if(c)return()=>Od(c,h);const p=b=>{l=null,cl(b,h,13,!n)};if(a&&h.suspense||fl)return d().then(b=>()=>Od(b,h)).catch(b=>(p(b),()=>n?me(n,{error:b}):null));const g=M(!1),v=M(),m=M(!!o);return o&&setTimeout(()=>{m.value=!1},o),i!=null&&setTimeout(()=>{if(!g.value&&!v.value){const b=new Error(`Async component timed out after ${i}ms.`);p(b),v.value=b}},i),d().then(()=>{g.value=!0,h.parent&&ul(h.parent.vnode)&&(h.parent.effect.dirty=!0,Pu(h.parent.update))}).catch(b=>{p(b),v.value=b}),()=>{if(g.value&&c)return Od(c,h);if(v.value&&n)return me(n,{error:v.value});if(r&&!m.value)return me(r)}}})}function Od(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,a=me(e,n,o);return a.ref=r,a.ce=i,delete t.vnode.ce,a}const ul=e=>e.type.__isKeepAlive;function TC(e,t){PC(e,"a",t)}function AC(e,t){PC(e,"da",t)}function PC(e,t,r=or){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Du(t,n,r),r){let o=r.parent;for(;o&&o.parent;)ul(o.parent.vnode)&&T5(n,t,r,o),o=o.parent}}function T5(e,t,r,n){const o=Du(t,e,n,!0);wi(()=>{jh(n[t],o)},r)}function Du(e,t,r=or,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(r.isUnmounted)return;yi();const s=dl(r),l=Qr(t,r,e,a);return s(),Ci(),l});return n?o.unshift(i):o.push(i),i}}const Jn=e=>(t,r=or)=>(!fl||e==="sp")&&Du(e,(...n)=>t(...n),r),bn=Jn("bm"),_t=Jn("m"),A5=Jn("bu"),ip=Jn("u"),Ht=Jn("bum"),wi=Jn("um"),P5=Jn("sp"),$5=Jn("rtg"),I5=Jn("rtc");function D5(e,t=or){Du("ec",e,t)}function Fs(e,t,r,n){let o;const i=r&&r[n];if(Ge(e)||Ut(e)){o=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);o=new Array(a.length);for(let s=0,l=a.length;szs(t)?!(t.type===yr||t.type===ot&&!$C(t.children)):!0)?e:null}const w0=e=>e?WC(e)?Lu(e)||e.proxy:w0(e.parent):null,hs=Jt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>w0(e.parent),$root:e=>w0(e.root),$emit:e=>e.emit,$options:e=>ap(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Pu(e.update)}),$nextTick:e=>e.n||(e.n=Qt.bind(e.proxy)),$watch:e=>S5.bind(e)}),Ld=(e,t)=>e!==Bt&&!e.__isScriptSetup&&ut(e,t),B5={get({_:e},t){const{ctx:r,setupState:n,data:o,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(Ld(n,t))return a[t]=1,n[t];if(o!==Bt&&ut(o,t))return a[t]=2,o[t];if((c=e.propsOptions[0])&&ut(c,t))return a[t]=3,i[t];if(r!==Bt&&ut(r,t))return a[t]=4,r[t];S0&&(a[t]=0)}}const u=hs[t];let f,d;if(u)return t==="$attrs"&&Br(e,"get",t),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(r!==Bt&&ut(r,t))return a[t]=4,r[t];if(d=l.config.globalProperties,ut(d,t))return d[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return Ld(o,t)?(o[t]=r,!0):n!==Bt&&ut(n,t)?(n[t]=r,!0):ut(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:i}},a){let s;return!!r[a]||e!==Bt&&ut(e,a)||Ld(t,a)||(s=i[0])&&ut(s,a)||ut(n,a)||ut(hs,a)||ut(o.config.globalProperties,a)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ut(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function O5(){return IC().slots}function L5(){return IC().attrs}function IC(){const e=Er();return e.setupContext||(e.setupContext=VC(e))}function cm(e){return Ge(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let S0=!0;function R5(e){const t=ap(e),r=e.proxy,n=e.ctx;S0=!1,t.beforeCreate&&um(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:g,deactivated:v,beforeDestroy:m,beforeUnmount:b,destroyed:y,unmounted:x,render:S,renderTracked:C,renderTriggered:w,errorCaptured:k,serverPrefetch:A,expose:T,inheritAttrs:I,components:D,directives:B,filters:j}=t;if(c&&F5(c,n,null),a)for(const V in a){const oe=a[V];Qe(oe)&&(n[V]=oe.bind(r))}if(o){const V=o.call(r,r);$t(V)&&(e.data=nn(V))}if(S0=!0,i)for(const V in i){const oe=i[V],fe=Qe(oe)?oe.bind(r,r):Qe(oe.get)?oe.get.bind(r,r):Hr,ge=!Qe(oe)&&Qe(oe.set)?oe.set.bind(r):Hr,U=R({get:fe,set:ge});Object.defineProperty(n,V,{enumerable:!0,configurable:!0,get:()=>U.value,set:X=>U.value=X})}if(s)for(const V in s)DC(s[V],n,r,V);if(l){const V=Qe(l)?l.call(r):l;Reflect.ownKeys(V).forEach(oe=>{ft(oe,V[oe])})}u&&um(u,e,"c");function z(V,oe){Ge(oe)?oe.forEach(fe=>V(fe.bind(r))):oe&&V(oe.bind(r))}if(z(bn,f),z(_t,d),z(A5,h),z(ip,p),z(TC,g),z(AC,v),z(D5,k),z(I5,C),z($5,w),z(Ht,b),z(wi,x),z(P5,A),Ge(T))if(T.length){const V=e.exposed||(e.exposed={});T.forEach(oe=>{Object.defineProperty(V,oe,{get:()=>r[oe],set:fe=>r[oe]=fe})})}else e.exposed||(e.exposed={});S&&e.render===Hr&&(e.render=S),I!=null&&(e.inheritAttrs=I),D&&(e.components=D),B&&(e.directives=B)}function F5(e,t,r=Hr){Ge(e)&&(e=_0(e));for(const n in e){const o=e[n];let i;$t(o)?"default"in o?i=ze(o.from||n,o.default,!0):i=ze(o.from||n):i=ze(o),Vt(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function um(e,t,r){Qr(Ge(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function DC(e,t,r,n){const o=n.includes(".")?SC(r,n):()=>r[n];if(Ut(e)){const i=t[e];Qe(i)&&Je(o,i)}else if(Qe(e))Je(o,e.bind(r));else if($t(e))if(Ge(e))e.forEach(i=>DC(i,t,r,n));else{const i=Qe(e.handler)?e.handler.bind(r):t[e.handler];Qe(i)&&Je(o,i,e)}}function ap(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(c=>Vc(l,c,a,!0)),Vc(l,t,a)),$t(t)&&i.set(t,l),l}function Vc(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&Vc(e,i,r,!0),o&&o.forEach(a=>Vc(e,a,r,!0));for(const a in t)if(!(n&&a==="expose")){const s=M5[a]||r&&r[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const M5={data:dm,props:fm,emits:fm,methods:ss,computed:ss,beforeCreate:wr,created:wr,beforeMount:wr,mounted:wr,beforeUpdate:wr,updated:wr,beforeDestroy:wr,beforeUnmount:wr,destroyed:wr,unmounted:wr,activated:wr,deactivated:wr,errorCaptured:wr,serverPrefetch:wr,components:ss,directives:ss,watch:N5,provide:dm,inject:z5};function dm(e,t){return t?e?function(){return Jt(Qe(e)?e.call(this,this):e,Qe(t)?t.call(this,this):t)}:t:e}function z5(e,t){return ss(_0(e),_0(t))}function _0(e){if(Ge(e)){const t={};for(let r=0;r1)return r&&Qe(t)?t.call(n&&n.proxy):t}}function W5(){return!!(or||Zt||ia)}function U5(e,t,r,n=!1){const o={},i={};Nc(i,Ou,1),e.propsDefaults=Object.create(null),OC(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);r?e.props=n?o:uC(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function V5(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=it(o),[l]=e.propsOptions;let c=!1;if((n||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=LC(f,t,!0);Jt(a,d),h&&s.push(...h)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return $t(e)&&n.set(e,ra),ra;if(Ge(i))for(let u=0;u-1,h[1]=g<0||p-1||ut(h,"default"))&&s.push(f)}}}const c=[a,s];return $t(e)&&n.set(e,c),c}function hm(e){return e[0]!=="$"&&!us(e)}function pm(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function gm(e,t){return pm(e)===pm(t)}function mm(e,t){return Ge(t)?t.findIndex(r=>gm(r,e)):Qe(t)&&gm(t,e)?0:-1}const RC=e=>e[0]==="_"||e==="$stable",sp=e=>Ge(e)?e.map(En):[En(e)],G5=(e,t,r)=>{if(t._n)return t;const n=De((...o)=>sp(t(...o)),r);return n._c=!1,n},FC=(e,t,r)=>{const n=e._ctx;for(const o in e){if(RC(o))continue;const i=e[o];if(Qe(i))t[o]=G5(o,i,n);else if(i!=null){const a=sp(i);t[o]=()=>a}}},MC=(e,t)=>{const r=sp(t);e.slots.default=()=>r},q5=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=it(t),Nc(t,"_",r)):FC(t,e.slots={})}else e.slots={},t&&MC(e,t);Nc(e.slots,Ou,1)},Y5=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,a=Bt;if(n.shapeFlag&32){const s=t._;s?r&&s===1?i=!1:(Jt(o,t),!r&&s===1&&delete o._):(i=!t.$stable,FC(t,o)),a=t}else t&&(MC(e,t),a={default:1});if(i)for(const s in o)!RC(s)&&a[s]==null&&delete o[s]};function k0(e,t,r,n,o=!1){if(Ge(e)){e.forEach((d,h)=>k0(d,t&&(Ge(t)?t[h]:t),r,n,o));return}if(fs(n)&&!o)return;const i=n.shapeFlag&4?Lu(n.component)||n.component.proxy:n.el,a=o?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Bt?s.refs={}:s.refs,f=s.setupState;if(c!=null&&c!==l&&(Ut(c)?(u[c]=null,ut(f,c)&&(f[c]=null)):Vt(c)&&(c.value=null)),Qe(l))Ao(l,s,12,[a,u]);else{const d=Ut(l),h=Vt(l);if(d||h){const p=()=>{if(e.f){const g=d?ut(f,l)?f[l]:u[l]:l.value;o?Ge(g)&&jh(g,i):Ge(g)?g.includes(i)||g.push(i):d?(u[l]=[i],ut(f,l)&&(f[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else d?(u[l]=a,ut(f,l)&&(f[l]=a)):h&&(l.value=a,e.k&&(u[e.k]=a))};a?(p.id=-1,$r(p,r)):p()}}}const $r=y5;function K5(e){return X5(e)}function X5(e,t){const r=Ky();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Hr,insertStaticContent:p}=e,g=(_,E,P,O=null,L=null,G=null,K=void 0,H=null,ee=!!E.dynamicChildren)=>{if(_===E)return;_&&!ei(_,E)&&(O=q(_),X(_,L,G,!0),_=null),E.patchFlag===-2&&(ee=!1,E.dynamicChildren=null);const{type:Q,ref:Ce,shapeFlag:Te}=E;switch(Q){case Ma:v(_,E,P,O);break;case yr:m(_,E,P,O);break;case bc:_==null&&b(E,P,O,K);break;case ot:D(_,E,P,O,L,G,K,H,ee);break;default:Te&1?S(_,E,P,O,L,G,K,H,ee):Te&6?B(_,E,P,O,L,G,K,H,ee):(Te&64||Te&128)&&Q.process(_,E,P,O,L,G,K,H,ee,ve)}Ce!=null&&L&&k0(Ce,_&&_.ref,G,E||_,!E)},v=(_,E,P,O)=>{if(_==null)n(E.el=s(E.children),P,O);else{const L=E.el=_.el;E.children!==_.children&&c(L,E.children)}},m=(_,E,P,O)=>{_==null?n(E.el=l(E.children||""),P,O):E.el=_.el},b=(_,E,P,O)=>{[_.el,_.anchor]=p(_.children,E,P,O,_.el,_.anchor)},y=({el:_,anchor:E},P,O)=>{let L;for(;_&&_!==E;)L=d(_),n(_,P,O),_=L;n(E,P,O)},x=({el:_,anchor:E})=>{let P;for(;_&&_!==E;)P=d(_),o(_),_=P;o(E)},S=(_,E,P,O,L,G,K,H,ee)=>{E.type==="svg"?K="svg":E.type==="math"&&(K="mathml"),_==null?C(E,P,O,L,G,K,H,ee):A(_,E,L,G,K,H,ee)},C=(_,E,P,O,L,G,K,H)=>{let ee,Q;const{props:Ce,shapeFlag:Te,transition:Se,dirs:W}=_;if(ee=_.el=a(_.type,G,Ce&&Ce.is,Ce),Te&8?u(ee,_.children):Te&16&&k(_.children,ee,null,O,L,Rd(_,G),K,H),W&&Uo(_,null,O,"created"),w(ee,_,_.scopeId,K,O),Ce){for(const Oe in Ce)Oe!=="value"&&!us(Oe)&&i(ee,Oe,null,Ce[Oe],G,_.children,O,L,ye);"value"in Ce&&i(ee,"value",null,Ce.value,G),(Q=Ce.onVnodeBeforeMount)&&yn(Q,O,_)}W&&Uo(_,null,O,"beforeMount");const J=Q5(L,Se);J&&Se.beforeEnter(ee),n(ee,E,P),((Q=Ce&&Ce.onVnodeMounted)||J||W)&&$r(()=>{Q&&yn(Q,O,_),J&&Se.enter(ee),W&&Uo(_,null,O,"mounted")},L)},w=(_,E,P,O,L)=>{if(P&&h(_,P),O)for(let G=0;G{for(let Q=ee;Q<_.length;Q++){const Ce=_[Q]=H?yo(_[Q]):En(_[Q]);g(null,Ce,E,P,O,L,G,K,H)}},A=(_,E,P,O,L,G,K)=>{const H=E.el=_.el;let{patchFlag:ee,dynamicChildren:Q,dirs:Ce}=E;ee|=_.patchFlag&16;const Te=_.props||Bt,Se=E.props||Bt;let W;if(P&&Vo(P,!1),(W=Se.onVnodeBeforeUpdate)&&yn(W,P,E,_),Ce&&Uo(E,_,P,"beforeUpdate"),P&&Vo(P,!0),Q?T(_.dynamicChildren,Q,H,P,O,Rd(E,L),G):K||oe(_,E,H,null,P,O,Rd(E,L),G,!1),ee>0){if(ee&16)I(H,E,Te,Se,P,O,L);else if(ee&2&&Te.class!==Se.class&&i(H,"class",null,Se.class,L),ee&4&&i(H,"style",Te.style,Se.style,L),ee&8){const J=E.dynamicProps;for(let Oe=0;Oe{W&&yn(W,P,E,_),Ce&&Uo(E,_,P,"updated")},O)},T=(_,E,P,O,L,G,K)=>{for(let H=0;H{if(P!==O){if(P!==Bt)for(const H in P)!us(H)&&!(H in O)&&i(_,H,P[H],null,K,E.children,L,G,ye);for(const H in O){if(us(H))continue;const ee=O[H],Q=P[H];ee!==Q&&H!=="value"&&i(_,H,Q,ee,K,E.children,L,G,ye)}"value"in O&&i(_,"value",P.value,O.value,K)}},D=(_,E,P,O,L,G,K,H,ee)=>{const Q=E.el=_?_.el:s(""),Ce=E.anchor=_?_.anchor:s("");let{patchFlag:Te,dynamicChildren:Se,slotScopeIds:W}=E;W&&(H=H?H.concat(W):W),_==null?(n(Q,P,O),n(Ce,P,O),k(E.children||[],P,Ce,L,G,K,H,ee)):Te>0&&Te&64&&Se&&_.dynamicChildren?(T(_.dynamicChildren,Se,P,L,G,K,H),(E.key!=null||L&&E===L.subTree)&&lp(_,E,!0)):oe(_,E,P,Ce,L,G,K,H,ee)},B=(_,E,P,O,L,G,K,H,ee)=>{E.slotScopeIds=H,_==null?E.shapeFlag&512?L.ctx.activate(E,P,O,K,ee):j(E,P,O,L,G,K,ee):F(_,E,ee)},j=(_,E,P,O,L,G,K)=>{const H=_.component=sk(_,O,L);if(ul(_)&&(H.ctx.renderer=ve),lk(H),H.asyncDep){if(L&&L.registerDep(H,z),!_.el){const ee=H.subTree=me(yr);m(null,ee,E,P)}}else z(H,_,E,P,L,G,K)},F=(_,E,P)=>{const O=E.component=_.component;if(m5(_,E,P))if(O.asyncDep&&!O.asyncResolved){V(O,E,P);return}else O.next=E,u5(O.update),O.effect.dirty=!0,O.update();else E.el=_.el,O.vnode=E},z=(_,E,P,O,L,G,K)=>{const H=()=>{if(_.isMounted){let{next:Ce,bu:Te,u:Se,parent:W,vnode:J}=_;{const Gt=zC(_);if(Gt){Ce&&(Ce.el=J.el,V(_,Ce,K)),Gt.asyncDep.then(()=>{_.isUnmounted||H()});return}}let Oe=Ce,He;Vo(_,!1),Ce?(Ce.el=J.el,V(_,Ce,K)):Ce=J,Te&&vc(Te),(He=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&yn(He,W,Ce,J),Vo(_,!0);const st=Dd(_),yt=_.subTree;_.subTree=st,g(yt,st,f(yt.el),q(yt),_,L,G),Ce.el=st.el,Oe===null&&v5(_,st.el),Se&&$r(Se,L),(He=Ce.props&&Ce.props.onVnodeUpdated)&&$r(()=>yn(He,W,Ce,J),L)}else{let Ce;const{el:Te,props:Se}=E,{bm:W,m:J,parent:Oe}=_,He=fs(E);if(Vo(_,!1),W&&vc(W),!He&&(Ce=Se&&Se.onVnodeBeforeMount)&&yn(Ce,Oe,E),Vo(_,!0),Te&&$e){const st=()=>{_.subTree=Dd(_),$e(Te,_.subTree,_,L,null)};He?E.type.__asyncLoader().then(()=>!_.isUnmounted&&st()):st()}else{const st=_.subTree=Dd(_);g(null,st,P,O,_,L,G),E.el=st.el}if(J&&$r(J,L),!He&&(Ce=Se&&Se.onVnodeMounted)){const st=E;$r(()=>yn(Ce,Oe,st),L)}(E.shapeFlag&256||Oe&&fs(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&_.a&&$r(_.a,L),_.isMounted=!0,E=P=O=null}},ee=_.effect=new Gh(H,Hr,()=>Pu(Q),_.scope),Q=_.update=()=>{ee.dirty&&ee.run()};Q.id=_.uid,Vo(_,!0),Q()},V=(_,E,P)=>{E.component=_;const O=_.vnode.props;_.vnode=E,_.next=null,V5(_,E.props,O,P),Y5(_,E.children,P),yi(),im(_),Ci()},oe=(_,E,P,O,L,G,K,H,ee=!1)=>{const Q=_&&_.children,Ce=_?_.shapeFlag:0,Te=E.children,{patchFlag:Se,shapeFlag:W}=E;if(Se>0){if(Se&128){ge(Q,Te,P,O,L,G,K,H,ee);return}else if(Se&256){fe(Q,Te,P,O,L,G,K,H,ee);return}}W&8?(Ce&16&&ye(Q,L,G),Te!==Q&&u(P,Te)):Ce&16?W&16?ge(Q,Te,P,O,L,G,K,H,ee):ye(Q,L,G,!0):(Ce&8&&u(P,""),W&16&&k(Te,P,O,L,G,K,H,ee))},fe=(_,E,P,O,L,G,K,H,ee)=>{_=_||ra,E=E||ra;const Q=_.length,Ce=E.length,Te=Math.min(Q,Ce);let Se;for(Se=0;SeCe?ye(_,L,G,!0,!1,Te):k(E,P,O,L,G,K,H,ee,Te)},ge=(_,E,P,O,L,G,K,H,ee)=>{let Q=0;const Ce=E.length;let Te=_.length-1,Se=Ce-1;for(;Q<=Te&&Q<=Se;){const W=_[Q],J=E[Q]=ee?yo(E[Q]):En(E[Q]);if(ei(W,J))g(W,J,P,null,L,G,K,H,ee);else break;Q++}for(;Q<=Te&&Q<=Se;){const W=_[Te],J=E[Se]=ee?yo(E[Se]):En(E[Se]);if(ei(W,J))g(W,J,P,null,L,G,K,H,ee);else break;Te--,Se--}if(Q>Te){if(Q<=Se){const W=Se+1,J=WSe)for(;Q<=Te;)X(_[Q],L,G,!0),Q++;else{const W=Q,J=Q,Oe=new Map;for(Q=J;Q<=Se;Q++){const de=E[Q]=ee?yo(E[Q]):En(E[Q]);de.key!=null&&Oe.set(de.key,Q)}let He,st=0;const yt=Se-J+1;let Gt=!1,Nn=0;const hr=new Array(yt);for(Q=0;Q=yt){X(de,L,G,!0);continue}let Ee;if(de.key!=null)Ee=Oe.get(de.key);else for(He=J;He<=Se;He++)if(hr[He-J]===0&&ei(de,E[He])){Ee=He;break}Ee===void 0?X(de,L,G,!0):(hr[Ee-J]=Q+1,Ee>=Nn?Nn=Ee:Gt=!0,g(de,E[Ee],P,null,L,G,K,H,ee),st++)}const Oi=Gt?Z5(hr):ra;for(He=Oi.length-1,Q=yt-1;Q>=0;Q--){const de=J+Q,Ee=E[de],Ue=de+1{const{el:G,type:K,transition:H,children:ee,shapeFlag:Q}=_;if(Q&6){U(_.component.subTree,E,P,O);return}if(Q&128){_.suspense.move(E,P,O);return}if(Q&64){K.move(_,E,P,ve);return}if(K===ot){n(G,E,P);for(let Te=0;TeH.enter(G),L);else{const{leave:Te,delayLeave:Se,afterLeave:W}=H,J=()=>n(G,E,P),Oe=()=>{Te(G,()=>{J(),W&&W()})};Se?Se(G,J,Oe):Oe()}else n(G,E,P)},X=(_,E,P,O=!1,L=!1)=>{const{type:G,props:K,ref:H,children:ee,dynamicChildren:Q,shapeFlag:Ce,patchFlag:Te,dirs:Se}=_;if(H!=null&&k0(H,null,P,_,!0),Ce&256){E.ctx.deactivate(_);return}const W=Ce&1&&Se,J=!fs(_);let Oe;if(J&&(Oe=K&&K.onVnodeBeforeUnmount)&&yn(Oe,E,_),Ce&6)Be(_.component,P,O);else{if(Ce&128){_.suspense.unmount(P,O);return}W&&Uo(_,null,E,"beforeUnmount"),Ce&64?_.type.remove(_,E,P,L,ve,O):Q&&(G!==ot||Te>0&&Te&64)?ye(Q,E,P,!1,!0):(G===ot&&Te&384||!L&&Ce&16)&&ye(ee,E,P),O&&ae(_)}(J&&(Oe=K&&K.onVnodeUnmounted)||W)&&$r(()=>{Oe&&yn(Oe,E,_),W&&Uo(_,null,E,"unmounted")},P)},ae=_=>{const{type:E,el:P,anchor:O,transition:L}=_;if(E===ot){Z(P,O);return}if(E===bc){x(_);return}const G=()=>{o(P),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(_.shapeFlag&1&&L&&!L.persisted){const{leave:K,delayLeave:H}=L,ee=()=>K(P,G);H?H(_.el,G,ee):ee()}else G()},Z=(_,E)=>{let P;for(;_!==E;)P=d(_),o(_),_=P;o(E)},Be=(_,E,P)=>{const{bum:O,scope:L,update:G,subTree:K,um:H}=_;O&&vc(O),L.stop(),G&&(G.active=!1,X(K,_,E,P)),H&&$r(H,E),$r(()=>{_.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},ye=(_,E,P,O=!1,L=!1,G=0)=>{for(let K=G;K<_.length;K++)X(_[K],E,P,O,L)},q=_=>_.shapeFlag&6?q(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let te=!1;const ie=(_,E,P)=>{_==null?E._vnode&&X(E._vnode,null,null,!0):g(E._vnode||null,_,E,null,null,null,P),te||(te=!0,im(),bC(),te=!1),E._vnode=_},ve={p:g,um:X,m:U,r:ae,mt:j,mc:k,pc:oe,pbc:T,n:q,o:e};let Le,$e;return t&&([Le,$e]=t(ve)),{render:ie,hydrate:Le,createApp:j5(ie,Le)}}function Rd({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Vo({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function Q5(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lp(e,t,r=!1){const n=e.children,o=t.children;if(Ge(n)&&Ge(o))for(let i=0;i>1,e[r[s]]0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,a=r[i-1];i-- >0;)r[i]=a,a=t[a];return r}function zC(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zC(t)}const J5=e=>e.__isTeleport,ps=e=>e&&(e.disabled||e.disabled===""),vm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,bm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,T0=(e,t)=>{const r=e&&e.to;return Ut(r)?t?t(r):null:r},ek={name:"Teleport",__isTeleport:!0,process(e,t,r,n,o,i,a,s,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:g,createComment:v}}=c,m=ps(t.props);let{shapeFlag:b,children:y,dynamicChildren:x}=t;if(e==null){const S=t.el=g(""),C=t.anchor=g("");h(S,r,n),h(C,r,n);const w=t.target=T0(t.props,p),k=t.targetAnchor=g("");w&&(h(k,w),a==="svg"||vm(w)?a="svg":(a==="mathml"||bm(w))&&(a="mathml"));const A=(T,I)=>{b&16&&u(y,T,I,o,i,a,s,l)};m?A(r,C):w&&A(w,k)}else{t.el=e.el;const S=t.anchor=e.anchor,C=t.target=e.target,w=t.targetAnchor=e.targetAnchor,k=ps(e.props),A=k?r:C,T=k?S:w;if(a==="svg"||vm(C)?a="svg":(a==="mathml"||bm(C))&&(a="mathml"),x?(d(e.dynamicChildren,x,A,o,i,a,s),lp(e,t,!0)):l||f(e,t,A,T,o,i,a,s,!1),m)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Hl(t,r,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=T0(t.props,p);I&&Hl(t,I,null,c,0)}else k&&Hl(t,C,w,c,1)}NC(t)},remove(e,t,r,n,{um:o,o:{remove:i}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&i(u),a&&i(c),s&16){const h=a||!ps(d);for(let p=0;p0?fn||ra:null,rk(),Ms>0&&fn&&fn.push(e),e}function Fe(e,t,r,n,o,i){return HC(re(e,t,r,n,o,i,!0))}function rt(e,t,r,n,o){return HC(me(e,t,r,n,o,!0))}function zs(e){return e?e.__v_isVNode===!0:!1}function ei(e,t){return e.type===t.type&&e.key===t.key}const Ou="__vInternal",jC=({key:e})=>e??null,xc=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Ut(e)||Vt(e)||Qe(e)?{i:Zt,r:e,k:t,f:!!r}:e:null);function re(e,t=null,r=null,n=0,o=null,i=e===ot?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jC(t),ref:t&&xc(t),scopeId:Iu,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Zt};return s?(cp(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=Ut(r)?8:16),Ms>0&&!a&&fn&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&fn.push(l),l}const me=nk;function nk(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===CC)&&(e=yr),zs(e)){const s=tn(e,t,!0);return r&&cp(s,r),Ms>0&&!i&&fn&&(s.shapeFlag&6?fn[fn.indexOf(e)]=s:fn.push(s)),s.patchFlag|=-2,s}if(fk(e)&&(e=e.__vccOpts),t){t=ok(t);let{class:s,style:l}=t;s&&!Ut(s)&&(t.class=Kt(s)),$t(l)&&(dC(l)&&!Ge(l)&&(l=Jt({},l)),t.style=Jr(l))}const a=Ut(e)?1:x5(e)?128:J5(e)?64:$t(e)?4:Qe(e)?2:0;return re(e,t,r,n,o,a,i,!0)}function ok(e){return e?dC(e)||Ou in e?Jt({},e):e:null}function tn(e,t,r=!1){const{props:n,ref:o,patchFlag:i,children:a}=e,s=t?On(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&jC(s),ref:t&&t.ref?r&&o?Ge(o)?o.concat(xc(t)):[o,xc(t)]:xc(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ot?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tn(e.ssContent),ssFallback:e.ssFallback&&tn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function pt(e=" ",t=0){return me(Ma,null,e,t)}function qle(e,t){const r=me(bc,null,e);return r.staticCount=t,r}function Ze(e="",t=!1){return t?(he(),rt(yr,null,e)):me(yr,null,e)}function En(e){return e==null||typeof e=="boolean"?me(yr):Ge(e)?me(ot,null,e.slice()):typeof e=="object"?yo(e):me(Ma,null,String(e))}function yo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tn(e)}function cp(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ge(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),cp(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(Ou in t)?t._ctx=Zt:o===3&&Zt&&(Zt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Qe(t)?(t={default:t,_ctx:Zt},r=32):(t=String(t),n&64?(r=16,t=[pt(t)]):r=8);e.children=t,e.shapeFlag|=r}function On(...e){const t={};for(let r=0;ror||Zt;let Gc,A0;{const e=Ky(),t=(r,n)=>{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};Gc=t("__VUE_INSTANCE_SETTERS__",r=>or=r),A0=t("__VUE_SSR_SETTERS__",r=>fl=r)}const dl=e=>{const t=or;return Gc(e),e.scope.on(),()=>{e.scope.off(),Gc(t)}},ym=()=>{or&&or.scope.off(),Gc(null)};function WC(e){return e.vnode.shapeFlag&4}let fl=!1;function lk(e,t=!1){t&&A0(t);const{props:r,children:n}=e.vnode,o=WC(e);U5(e,r,o,t),q5(e,n);const i=o?ck(e,t):void 0;return t&&A0(!1),i}function ck(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=ha(new Proxy(e.ctx,B5));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?VC(e):null,i=dl(e);yi();const a=Ao(n,e,0,[e.props,o]);if(Ci(),i(),Gy(a)){if(a.then(ym,ym),t)return a.then(s=>{Cm(e,s,t)}).catch(s=>{cl(s,e,0)});e.asyncDep=a}else Cm(e,a,t)}else UC(e,t)}function Cm(e,t,r){Qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$t(t)&&(e.setupState=pC(t)),UC(e,r)}let wm;function UC(e,t,r){const n=e.type;if(!e.render){if(!t&&wm&&!n.render){const o=n.template||ap(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,c=Jt(Jt({isCustomElement:i,delimiters:s},a),l);n.render=wm(o,c)}}e.render=n.render||Hr}{const o=dl(e);yi();try{R5(e)}finally{Ci(),o()}}}function uk(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return Br(e,"get","$attrs"),t[r]}}))}function VC(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return uk(e)},slots:e.slots,emit:e.emit,expose:t}}function Lu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pC(ha(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in hs)return hs[r](e)},has(t,r){return r in t||r in hs}}))}function dk(e,t=!0){return Qe(e)?e.displayName||e.name:e.name||t&&e.__name}function fk(e){return Qe(e)&&"__vccOpts"in e}const R=(e,t)=>e5(e,t,fl);function $(e,t,r){const n=arguments.length;return n===2?$t(t)&&!Ge(t)?zs(t)?me(e,null,[t]):me(e,t):me(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&zs(r)&&(r=[r]),me(e,t,r))}const hk="3.4.21";/** -* @vue/runtime-dom v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const pk="http://www.w3.org/2000/svg",gk="http://www.w3.org/1998/Math/MathML",Co=typeof document<"u"?document:null,Sm=Co&&Co.createElement("template"),mk={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Co.createElementNS(pk,e):t==="mathml"?Co.createElementNS(gk,e):Co.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Co.createTextNode(e),createComment:e=>Co.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Co.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const a=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{Sm.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const s=Sm.content;if(n==="svg"||n==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},so="transition",Ka="animation",ga=Symbol("_vtc"),_r=(e,{slots:t})=>$(E5,qC(e),t);_r.displayName="Transition";const GC={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},vk=_r.props=Jt({},EC,GC),Go=(e,t=[])=>{Ge(e)?e.forEach(r=>r(...t)):e&&e(...t)},_m=e=>e?Ge(e)?e.some(t=>t.length>1):e.length>1:!1;function qC(e){const t={};for(const D in e)D in GC||(t[D]=e[D]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:i=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:d=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=e,p=bk(o),g=p&&p[0],v=p&&p[1],{onBeforeEnter:m,onEnter:b,onEnterCancelled:y,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=m,onAppear:w=b,onAppearCancelled:k=y}=t,A=(D,B,j)=>{mo(D,B?u:s),mo(D,B?c:a),j&&j()},T=(D,B)=>{D._isLeaving=!1,mo(D,f),mo(D,h),mo(D,d),B&&B()},I=D=>(B,j)=>{const F=D?w:b,z=()=>A(B,D,j);Go(F,[B,z]),Em(()=>{mo(B,D?l:i),Vn(B,D?u:s),_m(F)||km(B,n,g,z)})};return Jt(t,{onBeforeEnter(D){Go(m,[D]),Vn(D,i),Vn(D,a)},onBeforeAppear(D){Go(C,[D]),Vn(D,l),Vn(D,c)},onEnter:I(!1),onAppear:I(!0),onLeave(D,B){D._isLeaving=!0;const j=()=>T(D,B);Vn(D,f),KC(),Vn(D,d),Em(()=>{D._isLeaving&&(mo(D,f),Vn(D,h),_m(x)||km(D,n,v,j))}),Go(x,[D,j])},onEnterCancelled(D){A(D,!1),Go(y,[D])},onAppearCancelled(D){A(D,!0),Go(k,[D])},onLeaveCancelled(D){T(D),Go(S,[D])}})}function bk(e){if(e==null)return null;if($t(e))return[Fd(e.enter),Fd(e.leave)];{const t=Fd(e);return[t,t]}}function Fd(e){return _8(e)}function Vn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[ga]||(e[ga]=new Set)).add(t)}function mo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[ga];r&&(r.delete(t),r.size||(e[ga]=void 0))}function Em(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xk=0;function km(e,t,r,n){const o=e._endId=++xk,i=()=>{o===e._endId&&n()};if(r)return setTimeout(i,r);const{type:a,timeout:s,propCount:l}=YC(e,t);if(!a)return n();const c=a+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u(r[p]||"").split(", "),o=n(`${so}Delay`),i=n(`${so}Duration`),a=Tm(o,i),s=n(`${Ka}Delay`),l=n(`${Ka}Duration`),c=Tm(s,l);let u=null,f=0,d=0;t===so?a>0&&(u=so,f=a,d=i.length):t===Ka?c>0&&(u=Ka,f=c,d=l.length):(f=Math.max(a,c),u=f>0?a>c?so:Ka:null,d=u?u===so?i.length:l.length:0);const h=u===so&&/\b(transform|all)(,|$)/.test(n(`${so}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Tm(e,t){for(;e.lengthAm(r)+Am(e[n])))}function Am(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function KC(){return document.body.offsetHeight}function yk(e,t,r){const n=e[ga];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const qc=Symbol("_vod"),XC=Symbol("_vsh"),gi={beforeMount(e,{value:t},{transition:r}){e[qc]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Xa(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Xa(e,!0),n.enter(e)):n.leave(e,()=>{Xa(e,!1)}):Xa(e,t))},beforeUnmount(e,{value:t}){Xa(e,t)}};function Xa(e,t){e.style.display=t?e[qc]:"none",e[XC]=!t}const Ck=Symbol(""),wk=/(^|;)\s*display\s*:/;function Sk(e,t,r){const n=e.style,o=Ut(r);let i=!1;if(r&&!o){if(t)if(Ut(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();r[s]==null&&yc(n,s,"")}else for(const a in t)r[a]==null&&yc(n,a,"");for(const a in r)a==="display"&&(i=!0),yc(n,a,r[a])}else if(o){if(t!==r){const a=n[Ck];a&&(r+=";"+a),n.cssText=r,i=wk.test(r)}}else t&&e.removeAttribute("style");qc in e&&(e[qc]=i?n.display:"",e[XC]&&(n.display="none"))}const Pm=/\s*!important$/;function yc(e,t,r){if(Ge(r))r.forEach(n=>yc(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=_k(e,t);Pm.test(r)?e.setProperty(xi(n),r.replace(Pm,""),"important"):e[n]=r}}const $m=["Webkit","Moz","ms"],Md={};function _k(e,t){const r=Md[t];if(r)return r;let n=Bn(t);if(n!=="filter"&&n in e)return Md[t]=n;n=ku(n);for(let o=0;o<$m.length;o++){const i=$m[o]+n;if(i in e)return Md[t]=i}return t}const Im="http://www.w3.org/1999/xlink";function Ek(e,t,r,n,o){if(n&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(Im,t.slice(6,t.length)):e.setAttributeNS(Im,t,r);else{const i=D8(t);r==null||i&&!Xy(r)?e.removeAttribute(t):e.setAttribute(t,i?"":r)}}function kk(e,t,r,n,o,i,a){if(t==="innerHTML"||t==="textContent"){n&&a(n,o,i),e[t]=r??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const c=s==="OPTION"?e.getAttribute("value")||"":e.value,u=r??"";(c!==u||!("_value"in e))&&(e.value=u),r==null&&e.removeAttribute(t),e._value=r;return}let l=!1;if(r===""||r==null){const c=typeof e[t];c==="boolean"?r=Xy(r):r==null&&c==="string"?(r="",l=!0):c==="number"&&(r=0,l=!0)}try{e[t]=r}catch{}l&&e.removeAttribute(t)}function Vi(e,t,r,n){e.addEventListener(t,r,n)}function Tk(e,t,r,n){e.removeEventListener(t,r,n)}const Dm=Symbol("_vei");function Ak(e,t,r,n,o=null){const i=e[Dm]||(e[Dm]={}),a=i[t];if(n&&a)a.value=n;else{const[s,l]=Pk(t);if(n){const c=i[t]=Dk(n,o);Vi(e,s,c,l)}else a&&(Tk(e,s,a,l),i[t]=void 0)}}const Bm=/(?:Once|Passive|Capture)$/;function Pk(e){let t;if(Bm.test(e)){t={};let n;for(;n=e.match(Bm);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xi(e.slice(2)),t]}let zd=0;const $k=Promise.resolve(),Ik=()=>zd||($k.then(()=>zd=0),zd=Date.now());function Dk(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Qr(Bk(n,r.value),t,5,[n])};return r.value=e,r.attached=Ik(),r}function Bk(e,t){if(Ge(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const Om=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ok=(e,t,r,n,o,i,a,s,l)=>{const c=o==="svg";t==="class"?yk(e,n,c):t==="style"?Sk(e,r,n):Su(t)?Hh(t)||Ak(e,t,r,n,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Lk(e,t,n,c))?kk(e,t,n,i,a,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ek(e,t,n,c))};function Lk(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Om(t)&&Qe(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Om(t)&&Ut(r)?!1:t in e}const QC=new WeakMap,ZC=new WeakMap,Yc=Symbol("_moveCb"),Lm=Symbol("_enterCb"),JC={name:"TransitionGroup",props:Jt({},vk,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Er(),n=_C();let o,i;return ip(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Hk(o[0].el,r.vnode.el,a))return;o.forEach(Mk),o.forEach(zk);const s=o.filter(Nk);KC(),s.forEach(l=>{const c=l.el,u=c.style;Vn(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Yc]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[Yc]=null,mo(c,a))};c.addEventListener("transitionend",f)})}),()=>{const a=it(e),s=qC(a);let l=a.tag||ot;o=i,i=t.default?op(t.default()):[];for(let c=0;cdelete e.mode;JC.props;const Fk=JC;function Mk(e){const t=e.el;t[Yc]&&t[Yc](),t[Lm]&&t[Lm]()}function zk(e){ZC.set(e,e.el.getBoundingClientRect())}function Nk(e){const t=QC.get(e),r=ZC.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${o}px)`,i.transitionDuration="0s",e}}function Hk(e,t,r){const n=e.cloneNode(),o=e[ga];o&&o.forEach(s=>{s.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(s=>s&&n.classList.add(s)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:a}=YC(n);return i.removeChild(n),a}const Rm=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ge(t)?r=>vc(t,r):t};function jk(e){e.target.composing=!0}function Fm(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Nd=Symbol("_assign"),lo={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Nd]=Rm(o);const i=n||o.props&&o.props.type==="number";Vi(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;r&&(s=s.trim()),i&&(s=v0(s)),e[Nd](s)}),r&&Vi(e,"change",()=>{e.value=e.value.trim()}),t||(Vi(e,"compositionstart",jk),Vi(e,"compositionend",Fm),Vi(e,"change",Fm))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},i){if(e[Nd]=Rm(i),e.composing)return;const a=o||e.type==="number"?v0(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===s)||(e.value=s))}},Wk=["ctrl","shift","alt","meta"],Uk={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Wk.some(r=>e[`${r}Key`]&&!t.includes(r))},Yle=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(o,...i)=>{for(let a=0;a{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=o=>{if(!("key"in o))return;const i=xi(o.key);if(t.some(a=>a===i||Vk[a]===i))return e(o)})},Gk=Jt({patchProp:Ok},mk);let Mm;function ew(){return Mm||(Mm=K5(Gk))}const zm=(...e)=>{ew().render(...e)},qk=(...e)=>{const t=ew().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=Kk(n);if(!o)return;const i=t._component;!Qe(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=r(o,!1,Yk(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t};function Yk(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Kk(e){return Ut(e)?document.querySelector(e):e}let Kc=[];const tw=new WeakMap;function Xk(){Kc.forEach(e=>e(...tw.get(e))),Kc=[]}function up(e,...t){tw.set(e,t),!Kc.includes(e)&&Kc.push(e)===1&&requestAnimationFrame(Xk)}function Ns(e){return e.composedPath()[0]||null}function Qk(e){if(typeof e=="number")return{"":e.toString()};const t={};return e.split(/ +/).forEach(r=>{if(r==="")return;const[n,o]=r.split(":");o===void 0?t[""]=n:t[n]=o}),t}function Li(e,t){var r;if(e==null)return;const n=Qk(e);if(t===void 0)return n[""];if(typeof t=="string")return(r=n[t])!==null&&r!==void 0?r:n[""];if(Array.isArray(t)){for(let o=t.length-1;o>=0;--o){const i=t[o];if(i in n)return n[i]}return n[""]}else{let o,i=-1;return Object.keys(n).forEach(a=>{const s=Number(a);!Number.isNaN(s)&&t>=s&&s>=i&&(i=s,o=n[a])}),o}}function Nm(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function qn(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function hl(e,t){const r=e.trim().split(/\s+/g),n={top:r[0]};switch(r.length){case 1:n.right=r[0],n.bottom=r[0],n.left=r[0];break;case 2:n.right=r[1],n.left=r[1],n.bottom=r[0];break;case 3:n.right=r[1],n.bottom=r[2],n.left=r[1];break;case 4:n.right=r[1],n.bottom=r[2],n.left=r[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?n:n[t]}function Zk(e,t){const[r,n]=e.split(" ");return t?t==="row"?r:n:{row:r,col:n||r}}const Hm={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},za="^\\s*",Na="\\s*$",oi="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",ii="([0-9A-Fa-f])",ai="([0-9A-Fa-f]{2})",Jk=new RegExp(`${za}rgb\\s*\\(${oi},${oi},${oi}\\)${Na}`),eT=new RegExp(`${za}rgba\\s*\\(${oi},${oi},${oi},${oi}\\)${Na}`),tT=new RegExp(`${za}#${ii}${ii}${ii}${Na}`),rT=new RegExp(`${za}#${ai}${ai}${ai}${Na}`),nT=new RegExp(`${za}#${ii}${ii}${ii}${ii}${Na}`),oT=new RegExp(`${za}#${ai}${ai}${ai}${ai}${Na}`);function Ar(e){return parseInt(e,16)}function Qn(e){try{let t;if(t=rT.exec(e))return[Ar(t[1]),Ar(t[2]),Ar(t[3]),1];if(t=Jk.exec(e))return[vr(t[1]),vr(t[5]),vr(t[9]),1];if(t=eT.exec(e))return[vr(t[1]),vr(t[5]),vr(t[9]),ms(t[13])];if(t=tT.exec(e))return[Ar(t[1]+t[1]),Ar(t[2]+t[2]),Ar(t[3]+t[3]),1];if(t=oT.exec(e))return[Ar(t[1]),Ar(t[2]),Ar(t[3]),ms(Ar(t[4])/255)];if(t=nT.exec(e))return[Ar(t[1]+t[1]),Ar(t[2]+t[2]),Ar(t[3]+t[3]),ms(Ar(t[4]+t[4])/255)];if(e in Hm)return Qn(Hm[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function iT(e){return e>1?1:e<0?0:e}function P0(e,t,r,n){return`rgba(${vr(e)}, ${vr(t)}, ${vr(r)}, ${iT(n)})`}function Hd(e,t,r,n,o){return vr((e*t*(1-n)+r*n)/o)}function Pe(e,t){Array.isArray(e)||(e=Qn(e)),Array.isArray(t)||(t=Qn(t));const r=e[3],n=t[3],o=ms(r+n-r*n);return P0(Hd(e[0],r,t[0],n,o),Hd(e[1],r,t[1],n,o),Hd(e[2],r,t[2],n,o),o)}function se(e,t){const[r,n,o,i=1]=Array.isArray(e)?e:Qn(e);return t.alpha?P0(r,n,o,t.alpha):P0(r,n,o,i)}function qt(e,t){const[r,n,o,i=1]=Array.isArray(e)?e:Qn(e),{lightness:a=1,alpha:s=1}=t;return aT([r*a,n*a,o*a,i*s])}function ms(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function vr(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function aT(e){const[t,r,n]=e;return 3 in e?`rgba(${vr(t)}, ${vr(r)}, ${vr(n)}, ${ms(e[3])})`:`rgba(${vr(t)}, ${vr(r)}, ${vr(n)}, 1)`}function Ru(e=8){return Math.random().toString(16).slice(2,2+e)}function sT(e,t){const r=[];for(let n=0;n{n[o]=e[o]}),Object.assign(n,r)}function fp(e,t=[],r){const n={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(n[i]=e[i])}),Object.assign(n,r)}function va(e,t=!0,r=[]){return e.forEach(n=>{if(n!==null){if(typeof n!="object"){(typeof n=="string"||typeof n=="number")&&r.push(pt(String(n)));return}if(Array.isArray(n)){va(n,t,r);return}if(n.type===ot){if(n.children===null)return;Array.isArray(n.children)&&va(n.children,t,r)}else{if(n.type===yr&&t)return;r.push(n)}}}),r}function ar(e,...t){if(Array.isArray(e))e.forEach(r=>ar(r,...t));else return e(...t)}function ba(e){return Object.keys(e)}const Nr=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?pt(e):typeof e=="number"?pt(String(e)):null;function Hs(e,t){console.error(`[naive/${e}]: ${t}`)}function pl(e,t){throw new Error(`[naive/${e}]: ${t}`)}function $0(e,t="default",r=void 0){const n=e[t];if(!n)return Hs("getFirstSlotVNode",`slot[${t}] is empty`),null;const o=va(n(r));return o.length===1?o[0]:(Hs("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function Xle(e){return e}function gl(e){return e.some(t=>zs(t)?!(t.type===yr||t.type===ot&&!gl(t.children)):!0)?e:null}function Xc(e,t){return e&&gl(e())||t()}function lT(e,t,r){return e&&gl(e(t))||r(t)}function nr(e,t){const r=e&&gl(e());return t(r||null)}function I0(e){return!(e&&gl(e()))}function cT(e){var t;const r=(t=e.dirs)===null||t===void 0?void 0:t.find(({dir:n})=>n===gi);return!!(r&&r.value===!1)}const jm=pe({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),uT=/^(\d|\.)+$/,Wm=/(\d|\.)+/;function Cc(e,{c:t=1,offset:r=0,attachPx:n=!0}={}){if(typeof e=="number"){const o=(e+r)*t;return o===0?"0":`${o}px`}else if(typeof e=="string")if(uT.test(e)){const o=(Number(e)+r)*t;return n?o===0?"0":`${o}px`:`${o}`}else{const o=Wm.exec(e);return o?e.replace(Wm,String((Number(o[0])+r)*t)):e}return e}function js(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function dT(e){let t=0;for(let r=0;r{let o=dT(n);if(o){if(o===1){e.forEach(a=>{r.push(n.replace("&",a))});return}}else{e.forEach(a=>{r.push((a&&a+" ")+n)});return}let i=[n];for(;o--;){const a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>r.push(a))}),r}function pT(e,t){const r=[];return t.split(rw).forEach(n=>{e.forEach(o=>{r.push((o&&o+" ")+n)})}),r}function gT(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=hT(t,r):t=pT(t,r))}),t.join(", ").replace(fT," ")}function Um(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Fu(e){return document.querySelector(`style[cssr-id="${e}"]`)}function mT(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function jl(e){return e?/^\s*@(s|m)/.test(e):!1}const vT=/[A-Z]/g;function nw(e){return e.replace(vT,t=>"-"+t.toLowerCase())}function bT(e,t=" "){return typeof e=="object"&&e!==null?` { -`+Object.entries(e).map(r=>t+` ${nw(r[0])}: ${r[1]};`).join(` -`)+` -`+t+"}":`: ${e};`}function xT(e,t,r){return typeof e=="function"?e({context:t.context,props:r}):e}function Vm(e,t,r,n){if(!t)return"";const o=xT(t,r,n);if(!o)return"";if(typeof o=="string")return`${e} { -${o} -}`;const i=Object.keys(o);if(i.length===0)return r.config.keepEmptyBlock?e+` { -}`:"";const a=e?[e+" {"]:[];return i.forEach(s=>{const l=o[s];if(s==="raw"){a.push(` -`+l+` -`);return}s=nw(s),l!=null&&a.push(` ${s}${bT(l)}`)}),e&&a.push("}"),a.join(` -`)}function D0(e,t,r){e&&e.forEach(n=>{if(Array.isArray(n))D0(n,t,r);else if(typeof n=="function"){const o=n(t);Array.isArray(o)?D0(o,t,r):o&&r(o)}else n&&r(n)})}function ow(e,t,r,n,o,i){const a=e.$;let s="";if(!a||typeof a=="string")jl(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:n.context,props:o});jl(u)?s=u:t.push(u)}else if(a.before&&a.before(n.context),!a.$||typeof a.$=="string")jl(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:n.context,props:o});jl(u)?s=u:t.push(u)}const l=gT(t),c=Vm(l,e.props,n,o);s?(r.push(`${s} {`),i&&c&&i.insertRule(`${s} { -${c} -} -`)):(i&&c&&i.insertRule(c),!i&&c.length&&r.push(c)),e.children&&D0(e.children,{context:n.context,props:o},u=>{if(typeof u=="string"){const f=Vm(l,{raw:u},n,o);i?i.insertRule(f):r.push(f)}else ow(u,t,r,n,o,i)}),t.pop(),s&&r.push("}"),a&&a.after&&a.after(n.context)}function iw(e,t,r,n=!1){const o=[];return ow(e,[],o,t,r,n?e.instance.__styleSheet:void 0),n?"":o.join(` - -`)}function Ws(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function yT(e,t,r){const{els:n}=t;if(r===void 0)n.forEach(Um),t.els=[];else{const o=Fu(r);o&&n.includes(o)&&(Um(o),t.els=n.filter(i=>i!==o))}}function Gm(e,t){e.push(t)}function CT(e,t,r,n,o,i,a,s,l){if(i&&!l){if(r===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const d=window.__cssrContext;d[r]||(d[r]=!0,iw(t,e,n,i));return}let c;if(r===void 0&&(c=t.render(n),r=Ws(c)),l){l.adapter(r,c??t.render(n));return}const u=Fu(r);if(u!==null&&!a)return u;const f=u??mT(r);if(c===void 0&&(c=t.render(n)),f.textContent=c,u!==null)return u;if(s){const d=document.head.querySelector(`meta[name="${s}"]`);if(d)return document.head.insertBefore(f,d),Gm(t.els,f),f}return o?document.head.insertBefore(f,document.head.querySelector("style, link")):document.head.appendChild(f),Gm(t.els,f),f}function wT(e){return iw(this,this.instance,e)}function ST(e={}){const{id:t,ssr:r,props:n,head:o=!1,silent:i=!1,force:a=!1,anchorMetaName:s}=e;return CT(this.instance,this,t,n,o,i,a,s,r)}function _T(e={}){const{id:t}=e;yT(this.instance,this,t)}const Wl=function(e,t,r,n){return{instance:e,$:t,props:r,children:n,els:[],render:wT,mount:ST,unmount:_T}},ET=function(e,t,r,n){return Array.isArray(t)?Wl(e,{$:null},null,t):Array.isArray(r)?Wl(e,t,null,r):Array.isArray(n)?Wl(e,t,r,n):Wl(e,t,r,null)};function aw(e={}){let t=null;const r={c:(...n)=>ET(r,...n),use:(n,...o)=>n.install(r,...o),find:Fu,context:{},config:e,get __styleSheet(){if(!t){const n=document.createElement("style");return document.head.appendChild(n),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return r}function kT(e,t){if(e===void 0)return!1;if(t){const{context:{ids:r}}=t;return r.has(e)}return Fu(e)!==null}function TT(e){let t=".",r="__",n="--",o;if(e){let p=e.blockPrefix;p&&(t=p),p=e.elementPrefix,p&&(r=p),p=e.modifierPrefix,p&&(n=p)}const i={install(p){o=p.c;const g=p.context;g.bem={},g.bem.b=null,g.bem.els=null}};function a(p){let g,v;return{before(m){g=m.bem.b,v=m.bem.els,m.bem.els=null},after(m){m.bem.b=g,m.bem.els=v},$({context:m,props:b}){return p=typeof p=="string"?p:p({context:m,props:b}),m.bem.b=p,`${(b==null?void 0:b.bPrefix)||t}${m.bem.b}`}}}function s(p){let g;return{before(v){g=v.bem.els},after(v){v.bem.els=g},$({context:v,props:m}){return p=typeof p=="string"?p:p({context:v,props:m}),v.bem.els=p.split(",").map(b=>b.trim()),v.bem.els.map(b=>`${(m==null?void 0:m.bPrefix)||t}${v.bem.b}${r}${b}`).join(", ")}}}function l(p){return{$({context:g,props:v}){p=typeof p=="string"?p:p({context:g,props:v});const m=p.split(",").map(x=>x.trim());function b(x){return m.map(S=>`&${(v==null?void 0:v.bPrefix)||t}${g.bem.b}${x!==void 0?`${r}${x}`:""}${n}${S}`).join(", ")}const y=g.bem.els;return y!==null?b(y[0]):b()}}}function c(p){return{$({context:g,props:v}){p=typeof p=="string"?p:p({context:g,props:v});const m=g.bem.els;return`&:not(${(v==null?void 0:v.bPrefix)||t}${g.bem.b}${m!==null&&m.length>0?`${r}${m[0]}`:""}${n}${p})`}}}return Object.assign(i,{cB:(...p)=>o(a(p[0]),p[1],p[2]),cE:(...p)=>o(s(p[0]),p[1],p[2]),cM:(...p)=>o(l(p[0]),p[1],p[2]),cNotM:(...p)=>o(c(p[0]),p[1],p[2])}),i}const AT="n",Us=`.${AT}-`,PT="__",$T="--",sw=aw(),lw=TT({blockPrefix:Us,elementPrefix:PT,modifierPrefix:$T});sw.use(lw);const{c:Y,find:Qle}=sw,{cB:ne,cE:le,cM:ue,cNotM:xr}=lw;function Mu(e){return Y(({props:{bPrefix:t}})=>`${t||Us}modal, ${t||Us}drawer`,[e])}function hp(e){return Y(({props:{bPrefix:t}})=>`${t||Us}popover`,[e])}function cw(e){return Y(({props:{bPrefix:t}})=>`&${t||Us}modal`,e)}const IT=(...e)=>Y(">",[ne(...e)]);function we(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,r=>r.toUpperCase()))}let jd;function DT(){return jd===void 0&&(jd=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),jd}const eo=typeof document<"u"&&typeof window<"u",uw=new WeakSet;function Zle(e){uw.add(e)}function BT(e){return!uw.has(e)}function OT(e){const t=M(!!e.value);if(t.value)return en(t);const r=Je(e,n=>{n&&(t.value=!0,r())});return en(t)}function Dr(e){const t=R(e),r=M(t.value);return Je(t,n=>{r.value=n}),typeof e=="function"?r:{__v_isRef:!0,get value(){return r.value},set value(n){e.set(n)}}}function pp(){return Er()!==null}const zu=typeof window<"u";let aa,vs;const LT=()=>{var e,t;aa=zu?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,vs=!1,aa!==void 0?aa.then(()=>{vs=!0}):vs=!0};LT();function RT(e){if(vs)return;let t=!1;_t(()=>{vs||aa==null||aa.then(()=>{t||e()})}),Ht(()=>{t=!0})}function wc(e){return e.composedPath()[0]}const FT={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function MT(e,t,r){if(e==="mousemoveoutside"){const n=o=>{t.contains(wc(o))||r(o)};return{mousemove:n,touchstart:n}}else if(e==="clickoutside"){let n=!1;const o=a=>{n=!t.contains(wc(a))},i=a=>{n&&(t.contains(wc(a))||r(a))};return{mousedown:o,mouseup:i,touchstart:o,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function dw(e,t,r){const n=FT[e];let o=n.get(t);o===void 0&&n.set(t,o=new WeakMap);let i=o.get(r);return i===void 0&&o.set(r,i=MT(e,t,r)),i}function zT(e,t,r,n){if(e==="mousemoveoutside"||e==="clickoutside"){const o=dw(e,t,r);return Object.keys(o).forEach(i=>{Xt(i,document,o[i],n)}),!0}return!1}function NT(e,t,r,n){if(e==="mousemoveoutside"||e==="clickoutside"){const o=dw(e,t,r);return Object.keys(o).forEach(i=>{At(i,document,o[i],n)}),!0}return!1}function HT(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function r(){e.set(this,!0)}function n(){e.set(this,!0),t.set(this,!0)}function o(w,k,A){const T=w[k];return w[k]=function(){return A.apply(w,arguments),T.apply(w,arguments)},w}function i(w,k){w[k]=Event.prototype[k]}const a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var w;return(w=a.get(this))!==null&&w!==void 0?w:null}function c(w,k){s!==void 0&&Object.defineProperty(w,"currentTarget",{configurable:!0,enumerable:!0,get:k??s.get})}const u={bubble:{},capture:{}},f={};function d(){const w=function(k){const{type:A,eventPhase:T,bubbles:I}=k,D=wc(k);if(T===2)return;const B=T===1?"capture":"bubble";let j=D;const F=[];for(;j===null&&(j=window),F.push(j),j!==window;)j=j.parentNode||null;const z=u.capture[A],V=u.bubble[A];if(o(k,"stopPropagation",r),o(k,"stopImmediatePropagation",n),c(k,l),B==="capture"){if(z===void 0)return;for(let oe=F.length-1;oe>=0&&!e.has(k);--oe){const fe=F[oe],ge=z.get(fe);if(ge!==void 0){a.set(k,fe);for(const U of ge){if(t.has(k))break;U(k)}}if(oe===0&&!I&&V!==void 0){const U=V.get(fe);if(U!==void 0)for(const X of U){if(t.has(k))break;X(k)}}}}else if(B==="bubble"){if(V===void 0)return;for(let oe=0;oeD(k))};return w.displayName="evtdUnifiedWindowEventHandler",w}const p=d(),g=h();function v(w,k){const A=u[w];return A[k]===void 0&&(A[k]=new Map,window.addEventListener(k,p,w==="capture")),A[k]}function m(w){return f[w]===void 0&&(f[w]=new Set,window.addEventListener(w,g)),f[w]}function b(w,k){let A=w.get(k);return A===void 0&&w.set(k,A=new Set),A}function y(w,k,A,T){const I=u[k][A];if(I!==void 0){const D=I.get(w);if(D!==void 0&&D.has(T))return!0}return!1}function x(w,k){const A=f[w];return!!(A!==void 0&&A.has(k))}function S(w,k,A,T){let I;if(typeof T=="object"&&T.once===!0?I=z=>{C(w,k,I,T),A(z)}:I=A,zT(w,k,I,T))return;const B=T===!0||typeof T=="object"&&T.capture===!0?"capture":"bubble",j=v(B,w),F=b(j,k);if(F.has(I)||F.add(I),k===window){const z=m(w);z.has(I)||z.add(I)}}function C(w,k,A,T){if(NT(w,k,A,T))return;const D=T===!0||typeof T=="object"&&T.capture===!0,B=D?"capture":"bubble",j=v(B,w),F=b(j,k);if(k===window&&!y(k,D?"bubble":"capture",w,A)&&x(w,A)){const V=f[w];V.delete(A),V.size===0&&(window.removeEventListener(w,g),f[w]=void 0)}F.has(A)&&F.delete(A),F.size===0&&j.delete(k),j.size===0&&(window.removeEventListener(w,p,B==="capture"),u[B][w]=void 0)}return{on:S,off:C}}const{on:Xt,off:At}=HT(),ls=M(null);function qm(e){if(e.clientX>0||e.clientY>0)ls.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:r,top:n,width:o,height:i}=t.getBoundingClientRect();r>0||n>0?ls.value={x:r+o/2,y:n+i/2}:ls.value={x:0,y:0}}else ls.value=null}}let Ul=0,Ym=!0;function fw(){if(!zu)return en(M(null));Ul===0&&Xt("click",document,qm,!0);const e=()=>{Ul+=1};return Ym&&(Ym=pp())?(bn(e),Ht(()=>{Ul-=1,Ul===0&&At("click",document,qm,!0)})):e(),en(ls)}const jT=M(void 0);let Vl=0;function Km(){jT.value=Date.now()}let Xm=!0;function hw(e){if(!zu)return en(M(!1));const t=M(!1);let r=null;function n(){r!==null&&window.clearTimeout(r)}function o(){n(),t.value=!0,r=window.setTimeout(()=>{t.value=!1},e)}Vl===0&&Xt("click",window,Km,!0);const i=()=>{Vl+=1,Xt("click",window,o,!0)};return Xm&&(Xm=pp())?(bn(i),Ht(()=>{Vl-=1,Vl===0&&At("click",window,Km,!0),At("click",window,o,!0),n()})):i(),en(t)}let Gl=0;const WT=typeof window<"u"&&window.matchMedia!==void 0,di=M(null);let dn,si;function Qc(e){e.matches&&(di.value="dark")}function Zc(e){e.matches&&(di.value="light")}function UT(){dn=window.matchMedia("(prefers-color-scheme: dark)"),si=window.matchMedia("(prefers-color-scheme: light)"),dn.matches?di.value="dark":si.matches?di.value="light":di.value=null,dn.addEventListener?(dn.addEventListener("change",Qc),si.addEventListener("change",Zc)):dn.addListener&&(dn.addListener(Qc),si.addListener(Zc))}function VT(){"removeEventListener"in dn?(dn.removeEventListener("change",Qc),si.removeEventListener("change",Zc)):"removeListener"in dn&&(dn.removeListener(Qc),si.removeListener(Zc)),dn=void 0,si=void 0}let Qm=!0;function GT(){return WT&&(Gl===0&&UT(),Qm&&(Qm=pp())&&(bn(()=>{Gl+=1}),Ht(()=>{Gl-=1,Gl===0&&VT()}))),en(di)}function Nu(e,t){return Je(e,r=>{r!==void 0&&(t.value=r)}),R(()=>e.value===void 0?t.value:e.value)}function Ha(){const e=M(!1);return _t(()=>{e.value=!0}),en(e)}function pw(e,t){return R(()=>{for(const r of t)if(e[r]!==void 0)return e[r];return e[t[t.length-1]]})}const qT=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function YT(){return qT}const KT={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function XT(e){return`(min-width: ${e}px)`}const Qa={};function QT(e=KT){if(!zu)return R(()=>[]);if(typeof window.matchMedia!="function")return R(()=>[]);const t=M({}),r=Object.keys(e),n=(o,i)=>{o.matches?t.value[i]=!0:t.value[i]=!1};return r.forEach(o=>{const i=e[o];let a,s;Qa[i]===void 0?(a=window.matchMedia(XT(i)),a.addEventListener?a.addEventListener("change",l=>{s.forEach(c=>{c(l,o)})}):a.addListener&&a.addListener(l=>{s.forEach(c=>{c(l,o)})}),s=new Set,Qa[i]={mql:a,cbs:s}):(a=Qa[i].mql,s=Qa[i].cbs),s.add(n),a.matches&&s.forEach(l=>{l(a,o)})}),Ht(()=>{r.forEach(o=>{const{cbs:i}=Qa[e[o]];i.has(n)&&i.delete(n)})}),R(()=>{const{value:o}=t;return r.filter(i=>o[i])})}const Jle="n-internal-select-menu",ZT="n-internal-select-menu-body",gp="n-modal-body",JT="n-modal-provider",gw="n-modal",mp="n-drawer-body",ece="n-drawer",vp="n-popover-body",mw="__disabled__";function xa(e){const t=ze(gp,null),r=ze(mp,null),n=ze(vp,null),o=ze(ZT,null),i=M();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};_t(()=>{Xt("fullscreenchange",document,a)}),Ht(()=>{At("fullscreenchange",document,a)})}return Dr(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?mw:s===!0?i.value||"body":s:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:r!=null&&r.value?r.value:n!=null&&n.value?n.value:o!=null&&o.value?o.value:s??(i.value||"body")})}xa.tdkey=mw;xa.propTo={type:[String,Object,Boolean],default:void 0};let Zm=!1;function eA(){if(eo&&window.CSS&&!Zm&&(Zm=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}function B0(e,t,r="default"){const n=t[r];if(n===void 0)throw new Error(`[vueuc/${e}]: slot[${r}] is empty.`);return n()}function O0(e,t=!0,r=[]){return e.forEach(n=>{if(n!==null){if(typeof n!="object"){(typeof n=="string"||typeof n=="number")&&r.push(pt(String(n)));return}if(Array.isArray(n)){O0(n,t,r);return}if(n.type===ot){if(n.children===null)return;Array.isArray(n.children)&&O0(n.children,t,r)}else n.type!==yr&&r.push(n)}}),r}function Jm(e,t,r="default"){const n=t[r];if(n===void 0)throw new Error(`[vueuc/${e}]: slot[${r}] is empty.`);const o=O0(n());if(o.length===1)return o[0];throw new Error(`[vueuc/${e}]: slot[${r}] should have exactly one child.`)}let co=null;function vw(){if(co===null&&(co=document.getElementById("v-binder-view-measurer"),co===null)){co=document.createElement("div"),co.id="v-binder-view-measurer";const{style:e}=co;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(co)}return co.getBoundingClientRect()}function tA(e,t){const r=vw();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function Wd(e){const t=e.getBoundingClientRect(),r=vw();return{left:t.left-r.left,top:t.top-r.top,bottom:r.height+r.top-t.bottom,right:r.width+r.left-t.right,width:t.width,height:t.height}}function rA(e){return e.nodeType===9?null:e.parentNode}function bw(e){if(e===null)return null;const t=rA(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:r,overflowX:n,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(r+o+n))return t}return bw(t)}const nA=pe({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;ft("VBinder",(t=Er())===null||t===void 0?void 0:t.proxy);const r=ze("VBinder",null),n=M(null),o=m=>{n.value=m,r&&e.syncTargetWithParent&&r.setTargetRef(m)};let i=[];const a=()=>{let m=n.value;for(;m=bw(m),m!==null;)i.push(m);for(const b of i)Xt("scroll",b,f,!0)},s=()=>{for(const m of i)At("scroll",m,f,!0);i=[]},l=new Set,c=m=>{l.size===0&&a(),l.has(m)||l.add(m)},u=m=>{l.has(m)&&l.delete(m),l.size===0&&s()},f=()=>{up(d)},d=()=>{l.forEach(m=>m())},h=new Set,p=m=>{h.size===0&&Xt("resize",window,v),h.has(m)||h.add(m)},g=m=>{h.has(m)&&h.delete(m),h.size===0&&At("resize",window,v)},v=()=>{h.forEach(m=>m())};return Ht(()=>{At("resize",window,v),s()}),{targetRef:n,setTargetRef:o,addScrollListener:c,removeScrollListener:u,addResizeListener:p,removeResizeListener:g}},render(){return B0("binder",this.$slots)}}),oA=nA,iA=pe({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=ze("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?lr(Jm("follower",this.$slots),[[t]]):Jm("follower",this.$slots)}}),Ri="@@mmoContext",aA={mounted(e,{value:t}){e[Ri]={handler:void 0},typeof t=="function"&&(e[Ri].handler=t,Xt("mousemoveoutside",e,t))},updated(e,{value:t}){const r=e[Ri];typeof t=="function"?r.handler?r.handler!==t&&(At("mousemoveoutside",e,r.handler),r.handler=t,Xt("mousemoveoutside",e,t)):(e[Ri].handler=t,Xt("mousemoveoutside",e,t)):r.handler&&(At("mousemoveoutside",e,r.handler),r.handler=void 0)},unmounted(e){const{handler:t}=e[Ri];t&&At("mousemoveoutside",e,t),e[Ri].handler=void 0}},sA=aA,Fi="@@coContext",lA={mounted(e,{value:t,modifiers:r}){e[Fi]={handler:void 0},typeof t=="function"&&(e[Fi].handler=t,Xt("clickoutside",e,t,{capture:r.capture}))},updated(e,{value:t,modifiers:r}){const n=e[Fi];typeof t=="function"?n.handler?n.handler!==t&&(At("clickoutside",e,n.handler,{capture:r.capture}),n.handler=t,Xt("clickoutside",e,t,{capture:r.capture})):(e[Fi].handler=t,Xt("clickoutside",e,t,{capture:r.capture})):n.handler&&(At("clickoutside",e,n.handler,{capture:r.capture}),n.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:r}=e[Fi];r&&At("clickoutside",e,r,{capture:t.capture}),e[Fi].handler=void 0}},L0=lA;function cA(e,t){console.error(`[vdirs/${e}]: ${t}`)}class uA{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,r){const{elementZIndex:n}=this;if(r!==void 0){t.style.zIndex=`${r}`,n.delete(t);return}const{nextZIndex:o}=this;n.has(t)&&n.get(t)+1===this.nextZIndex||(t.style.zIndex=`${o}`,n.set(t,o),this.nextZIndex=o+1,this.squashState())}unregister(t,r){const{elementZIndex:n}=this;n.has(t)?n.delete(t):r===void 0&&cA("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((r,n)=>r[1]-n[1]),this.nextZIndex=2e3,t.forEach(r=>{const n=r[0],o=this.nextZIndex++;`${o}`!==n.style.zIndex&&(n.style.zIndex=`${o}`)})}}const Ud=new uA,Mi="@@ziContext",dA={mounted(e,t){const{value:r={}}=t,{zIndex:n,enabled:o}=r;e[Mi]={enabled:!!o,initialized:!1},o&&(Ud.ensureZIndex(e,n),e[Mi].initialized=!0)},updated(e,t){const{value:r={}}=t,{zIndex:n,enabled:o}=r,i=e[Mi].enabled;o&&!i&&(Ud.ensureZIndex(e,n),e[Mi].initialized=!0),e[Mi].enabled=!!o},unmounted(e,t){if(!e[Mi].initialized)return;const{value:r={}}=t,{zIndex:n}=r;Ud.unregister(e,n)}},Hu=dA,xw=Symbol("@css-render/vue3-ssr");function fA(e,t){return``}function hA(e,t){const r=ze(xw,null);if(r===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:n,ids:o}=r;o.has(e)||n!==null&&(o.add(e),n.push(fA(e,t)))}const pA=typeof document<"u";function ml(){if(pA)return;const e=ze(xw,null);if(e!==null)return{adapter:hA,context:e}}function ev(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:ql}=aw(),gA="vueuc-style";function tv(e){return typeof e=="string"?document.querySelector(e):e()}const bp=pe({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:OT(Lt(e,"show")),mergedTo:R(()=>{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?B0("lazy-teleport",this.$slots):$(Bu,{disabled:this.disabled,to:this.mergedTo},B0("lazy-teleport",this.$slots)):null}}),Yl={top:"bottom",bottom:"top",left:"right",right:"left"},rv={start:"end",center:"center",end:"start"},Vd={top:"height",bottom:"height",left:"width",right:"width"},mA={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},vA={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},bA={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},nv={top:!0,bottom:!1,left:!0,right:!1},ov={top:"end",bottom:"start",left:"end",right:"start"};function xA(e,t,r,n,o,i){if(!o||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const u=(h,p,g)=>{let v=0,m=0;const b=r[h]-t[p]-t[h];return b>0&&n&&(g?m=nv[p]?b:-b:v=nv[p]?b:-b),{left:v,top:m}},f=a==="left"||a==="right";if(l!=="center"){const h=bA[e],p=Yl[h],g=Vd[h];if(r[g]>t[g]){if(t[h]+t[g]t[p]&&(l=rv[s])}else{const h=a==="bottom"||a==="top"?"left":"top",p=Yl[h],g=Vd[h],v=(r[g]-t[g])/2;(t[h]t[p]?(l=ov[h],c=u(g,h,f)):(l=ov[p],c=u(g,p,f)))}let d=a;return t[a] *",{pointerEvents:"all"})])]),SA=pe({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=ze("VBinder"),r=Dr(()=>e.enabled!==void 0?e.enabled:e.show),n=M(null),o=M(null),i=()=>{const{syncTrigger:d}=e;d.includes("scroll")&&t.addScrollListener(l),d.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};_t(()=>{r.value&&(l(),i())});const s=ml();wA.mount({id:"vueuc/binder",head:!0,anchorMetaName:gA,ssr:s}),Ht(()=>{a()}),RT(()=>{r.value&&l()});const l=()=>{if(!r.value)return;const d=n.value;if(d===null)return;const h=t.targetRef,{x:p,y:g,overlap:v}=e,m=p!==void 0&&g!==void 0?tA(p,g):Wd(h);d.style.setProperty("--v-target-width",`${Math.round(m.width)}px`),d.style.setProperty("--v-target-height",`${Math.round(m.height)}px`);const{width:b,minWidth:y,placement:x,internalShift:S,flip:C}=e;d.setAttribute("v-placement",x),v?d.setAttribute("v-overlap",""):d.removeAttribute("v-overlap");const{style:w}=d;b==="target"?w.width=`${m.width}px`:b!==void 0?w.width=b:w.width="",y==="target"?w.minWidth=`${m.width}px`:y!==void 0?w.minWidth=y:w.minWidth="";const k=Wd(d),A=Wd(o.value),{left:T,top:I,placement:D}=xA(x,m,k,S,C,v),B=yA(D,v),{left:j,top:F,transform:z}=CA(D,A,m,I,T,v);d.setAttribute("v-placement",D),d.style.setProperty("--v-offset-left",`${Math.round(T)}px`),d.style.setProperty("--v-offset-top",`${Math.round(I)}px`),d.style.transform=`translateX(${j}) translateY(${F}) ${z}`,d.style.setProperty("--v-transform-origin",B),d.style.transformOrigin=B};Je(r,d=>{d?(i(),c()):a()});const c=()=>{Qt().then(l).catch(d=>console.error(d))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(d=>{Je(Lt(e,d),l)}),["teleportDisabled"].forEach(d=>{Je(Lt(e,d),c)}),Je(Lt(e,"syncTrigger"),d=>{d.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),d.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Ha(),f=Dr(()=>{const{to:d}=e;if(d!==void 0)return d;u.value});return{VBinder:t,mergedEnabled:r,offsetContainerRef:o,followerRef:n,mergedTo:f,syncPosition:l}},render(){return $(bp,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const r=$("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[$("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?lr(r,[[Hu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}});var fi=[],_A=function(){return fi.some(function(e){return e.activeTargets.length>0})},EA=function(){return fi.some(function(e){return e.skippedTargets.length>0})},iv="ResizeObserver loop completed with undelivered notifications.",kA=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:iv}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=iv),window.dispatchEvent(e)},Vs;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Vs||(Vs={}));var hi=function(e){return Object.freeze(e)},TA=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,hi(this)}return e}(),yw=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,hi(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:r,y:n,top:o,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),xp=function(e){return e instanceof SVGElement&&"getBBox"in e},Cw=function(e){if(xp(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},av=function(e){var t;if(e instanceof Element)return!0;var r=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},AA=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},bs=typeof window<"u"?window:{},Kl=new WeakMap,sv=/auto|scroll/,PA=/^tb|vertical/,$A=/msie|trident/i.test(bs.navigator&&bs.navigator.userAgent),Cn=function(e){return parseFloat(e||"0")},sa=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new TA((r?t:e)||0,(r?e:t)||0)},lv=hi({devicePixelContentBoxSize:sa(),borderBoxSize:sa(),contentBoxSize:sa(),contentRect:new yw(0,0,0,0)}),ww=function(e,t){if(t===void 0&&(t=!1),Kl.has(e)&&!t)return Kl.get(e);if(Cw(e))return Kl.set(e,lv),lv;var r=getComputedStyle(e),n=xp(e)&&e.ownerSVGElement&&e.getBBox(),o=!$A&&r.boxSizing==="border-box",i=PA.test(r.writingMode||""),a=!n&&sv.test(r.overflowY||""),s=!n&&sv.test(r.overflowX||""),l=n?0:Cn(r.paddingTop),c=n?0:Cn(r.paddingRight),u=n?0:Cn(r.paddingBottom),f=n?0:Cn(r.paddingLeft),d=n?0:Cn(r.borderTopWidth),h=n?0:Cn(r.borderRightWidth),p=n?0:Cn(r.borderBottomWidth),g=n?0:Cn(r.borderLeftWidth),v=f+c,m=l+u,b=g+h,y=d+p,x=s?e.offsetHeight-y-e.clientHeight:0,S=a?e.offsetWidth-b-e.clientWidth:0,C=o?v+b:0,w=o?m+y:0,k=n?n.width:Cn(r.width)-C-S,A=n?n.height:Cn(r.height)-w-x,T=k+v+S+b,I=A+m+x+y,D=hi({devicePixelContentBoxSize:sa(Math.round(k*devicePixelRatio),Math.round(A*devicePixelRatio),i),borderBoxSize:sa(T,I,i),contentBoxSize:sa(k,A,i),contentRect:new yw(f,l,k,A)});return Kl.set(e,D),D},Sw=function(e,t,r){var n=ww(e,r),o=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case Vs.DEVICE_PIXEL_CONTENT_BOX:return a;case Vs.BORDER_BOX:return o;default:return i}},IA=function(){function e(t){var r=ww(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=hi([r.borderBoxSize]),this.contentBoxSize=hi([r.contentBoxSize]),this.devicePixelContentBoxSize=hi([r.devicePixelContentBoxSize])}return e}(),_w=function(e){if(Cw(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},DA=function(){var e=1/0,t=[];fi.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new IA(c.target),f=_w(c.target);s.push(u),c.lastReportedSize=Sw(c.target,c.observedBox),fe?r.activeTargets.push(o):r.skippedTargets.push(o))})})},BA=function(){var e=0;for(cv(e);_A();)e=DA(),cv(e);return EA()&&kA(),e>0},Gd,Ew=[],OA=function(){return Ew.splice(0).forEach(function(e){return e()})},LA=function(e){if(!Gd){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return OA()}).observe(r,n),Gd=function(){r.textContent="".concat(t?t--:t++)}}Ew.push(e),Gd()},RA=function(e){LA(function(){requestAnimationFrame(e)})},Sc=0,FA=function(){return!!Sc},MA=250,zA={attributes:!0,characterData:!0,childList:!0,subtree:!0},uv=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],dv=function(e){return e===void 0&&(e=0),Date.now()+e},qd=!1,NA=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=MA),!qd){qd=!0;var n=dv(t);RA(function(){var o=!1;try{o=BA()}finally{if(qd=!1,t=n-dv(),!FA())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,zA)};document.body?r():bs.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),uv.forEach(function(r){return bs.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),uv.forEach(function(r){return bs.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),R0=new NA,fv=function(e){!Sc&&e>0&&R0.start(),Sc+=e,!Sc&&R0.stop()},HA=function(e){return!xp(e)&&!AA(e)&&getComputedStyle(e).display==="inline"},jA=function(){function e(t,r){this.target=t,this.observedBox=r||Vs.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Sw(this.target,this.observedBox,!0);return HA(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),WA=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}(),Xl=new WeakMap,hv=function(e,t){for(var r=0;r=0&&(i&&fi.splice(fi.indexOf(n),1),n.observationTargets.splice(o,1),fv(-1))},e.disconnect=function(t){var r=this,n=Xl.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),UA=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ql.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!av(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ql.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!av(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ql.unobserve(this,t)},e.prototype.disconnect=function(){Ql.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class VA{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||UA)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const r of t){const n=this.elHandlersMap.get(r.target);n!==void 0&&n(r)}}registerHandler(t,r){this.elHandlersMap.set(t,r),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const pv=new VA,Jc=pe({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const r=Er().proxy;function n(o){const{onResize:i}=e;i!==void 0&&i(o)}_t(()=>{const o=r.$el;if(o===void 0){ev("resize-observer","$el does not exist.");return}if(o.nextElementSibling!==o.nextSibling&&o.nodeType===3&&o.nodeValue!==""){ev("resize-observer","$el can not be observed (it may be a text node).");return}o.nextElementSibling!==null&&(pv.registerHandler(o.nextElementSibling,n),t=!0)}),Ht(()=>{t&&pv.unregisterHandler(r.$el.nextElementSibling)})},render(){return pa(this.$slots,"default")}});function kw(e){return e instanceof HTMLElement}function Tw(e){for(let t=0;t=0;t--){const r=e.childNodes[t];if(kw(r)&&(Pw(r)||Aw(r)))return!0}return!1}function Pw(e){if(!GA(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function GA(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let Za=[];const $w=pe({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Ru(),r=M(null),n=M(null);let o=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return Za[Za.length-1]===t}function l(v){var m;v.code==="Escape"&&s()&&((m=e.onEsc)===null||m===void 0||m.call(e,v))}_t(()=>{Je(()=>e.active,v=>{v?(f(),Xt("keydown",document,l)):(At("keydown",document,l),o&&d())},{immediate:!0})}),Ht(()=>{At("keydown",document,l),o&&d()});function c(v){if(!i&&s()){const m=u();if(m===null||m.contains(Ns(v)))return;h("first")}}function u(){const v=r.value;if(v===null)return null;let m=v;for(;m=m.nextSibling,!(m===null||m instanceof Element&&m.tagName==="DIV"););return m}function f(){var v;if(!e.disabled){if(Za.push(t),e.autoFocus){const{initialFocusTo:m}=e;m===void 0?h("first"):(v=tv(m))===null||v===void 0||v.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",c,!0)}}function d(){var v;if(e.disabled||(document.removeEventListener("focus",c,!0),Za=Za.filter(b=>b!==t),s()))return;const{finalFocusTo:m}=e;m!==void 0?(v=tv(m))===null||v===void 0||v.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function h(v){if(s()&&e.active){const m=r.value,b=n.value;if(m!==null&&b!==null){const y=u();if(y==null||y===b){i=!0,m.focus({preventScroll:!0}),i=!1;return}i=!0;const x=v==="first"?Tw(y):Aw(y);i=!1,x||(i=!0,m.focus({preventScroll:!0}),i=!1)}}}function p(v){if(i)return;const m=u();m!==null&&(v.relatedTarget!==null&&m.contains(v.relatedTarget)?h("last"):h("first"))}function g(v){i||(v.relatedTarget!==null&&v.relatedTarget===r.value?h("last"):h("first"))}return{focusableStartRef:r,focusableEndRef:n,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:p,handleEndFocus:g}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:r}=this;return $(ot,null,[$("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:r,onFocus:this.handleStartFocus}),e(),$("div",{"aria-hidden":"true",style:r,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});let zi=0,gv="",mv="",vv="",bv="";const xv=M("0px");function qA(e){if(typeof document>"u")return;const t=document.documentElement;let r,n=!1;const o=()=>{t.style.marginRight=gv,t.style.overflow=mv,t.style.overflowX=vv,t.style.overflowY=bv,xv.value="0px"};_t(()=>{r=Je(e,i=>{if(i){if(!zi){const a=window.innerWidth-t.offsetWidth;a>0&&(gv=t.style.marginRight,t.style.marginRight=`${a}px`,xv.value=`${a}px`),mv=t.style.overflow,vv=t.style.overflowX,bv=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}n=!0,zi++}else zi--,zi||o(),n=!1},{immediate:!0})}),Ht(()=>{r==null||r(),n&&(zi--,zi||o(),n=!1)})}const yp=M(!1),yv=()=>{yp.value=!0},Cv=()=>{yp.value=!1};let Ja=0;const YA=()=>(eo&&(bn(()=>{Ja||(window.addEventListener("compositionstart",yv),window.addEventListener("compositionend",Cv)),Ja++}),Ht(()=>{Ja<=1?(window.removeEventListener("compositionstart",yv),window.removeEventListener("compositionend",Cv),Ja=0):Ja--})),yp);function Iw(e){const t={isDeactivated:!1};let r=!1;return TC(()=>{if(t.isDeactivated=!1,!r){r=!0;return}e()}),AC(()=>{t.isDeactivated=!0,r||(r=!0)}),t}const KA=(e,t)=>{if(!e)return;const r=document.createElement("a");r.href=e,t!==void 0&&(r.download=t),document.body.appendChild(r),r.click(),document.body.removeChild(r)},wv="n-form-item";function Cp(e,{defaultSize:t="medium",mergedSize:r,mergedDisabled:n}={}){const o=ze(wv,null);ft(wv,null);const i=R(r?()=>r(o):()=>{const{size:l}=e;if(l)return l;if(o){const{mergedSize:c}=o;if(c.value!==void 0)return c.value}return t}),a=R(n?()=>n(o):()=>{const{disabled:l}=e;return l!==void 0?l:o?o.disabled.value:!1}),s=R(()=>{const{status:l}=e;return l||(o==null?void 0:o.mergedValidationStatus.value)});return Ht(()=>{o&&o.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){o&&o.handleContentBlur()},nTriggerFormChange(){o&&o.handleContentChange()},nTriggerFormFocus(){o&&o.handleContentFocus()},nTriggerFormInput(){o&&o.handleContentInput()}}}var XA=typeof global=="object"&&global&&global.Object===Object&&global;const Dw=XA;var QA=typeof self=="object"&&self&&self.Object===Object&&self,ZA=Dw||QA||Function("return this")();const Fn=ZA;var JA=Fn.Symbol;const $o=JA;var Bw=Object.prototype,eP=Bw.hasOwnProperty,tP=Bw.toString,es=$o?$o.toStringTag:void 0;function rP(e){var t=eP.call(e,es),r=e[es];try{e[es]=void 0;var n=!0}catch{}var o=tP.call(e);return n&&(t?e[es]=r:delete e[es]),o}var nP=Object.prototype,oP=nP.toString;function iP(e){return oP.call(e)}var aP="[object Null]",sP="[object Undefined]",Sv=$o?$o.toStringTag:void 0;function Si(e){return e==null?e===void 0?sP:aP:Sv&&Sv in Object(e)?rP(e):iP(e)}function Io(e){return e!=null&&typeof e=="object"}var lP="[object Symbol]";function wp(e){return typeof e=="symbol"||Io(e)&&Si(e)==lP}function Ow(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r0){if(++t>=BP)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function FP(e){return function(){return e}}var MP=function(){try{var e=Ei(Object,"defineProperty");return e({},"",{}),e}catch{}}();const eu=MP;var zP=eu?function(e,t){return eu(e,"toString",{configurable:!0,enumerable:!1,value:FP(t),writable:!0})}:Sp;const NP=zP;var HP=RP(NP);const jP=HP;var WP=9007199254740991,UP=/^(?:0|[1-9]\d*)$/;function Ep(e,t){var r=typeof e;return t=t??WP,!!t&&(r=="number"||r!="symbol"&&UP.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=QP}function ja(e){return e!=null&&Tp(e.length)&&!_p(e)}function ZP(e,t,r){if(!Lo(r))return!1;var n=typeof t;return(n=="number"?ja(r)&&Ep(t,r.length):n=="string"&&t in r)?vl(r[t],e):!1}function JP(e){return XP(function(t,r){var n=-1,o=r.length,i=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&ZP(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++n-1}function m$(e,t){var r=this.__data__,n=ju(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function to(e){var t=-1,r=e==null?0:e.length;for(this.clear();++to?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n=n?e:H$(e,t,r)}var W$="\\ud800-\\udfff",U$="\\u0300-\\u036f",V$="\\ufe20-\\ufe2f",G$="\\u20d0-\\u20ff",q$=U$+V$+G$,Y$="\\ufe0e\\ufe0f",K$="\\u200d",X$=RegExp("["+K$+W$+q$+Y$+"]");function Gw(e){return X$.test(e)}function Q$(e){return e.split("")}var qw="\\ud800-\\udfff",Z$="\\u0300-\\u036f",J$="\\ufe20-\\ufe2f",eI="\\u20d0-\\u20ff",tI=Z$+J$+eI,rI="\\ufe0e\\ufe0f",nI="["+qw+"]",M0="["+tI+"]",z0="\\ud83c[\\udffb-\\udfff]",oI="(?:"+M0+"|"+z0+")",Yw="[^"+qw+"]",Kw="(?:\\ud83c[\\udde6-\\uddff]){2}",Xw="[\\ud800-\\udbff][\\udc00-\\udfff]",iI="\\u200d",Qw=oI+"?",Zw="["+rI+"]?",aI="(?:"+iI+"(?:"+[Yw,Kw,Xw].join("|")+")"+Zw+Qw+")*",sI=Zw+Qw+aI,lI="(?:"+[Yw+M0+"?",M0,Kw,Xw,nI].join("|")+")",cI=RegExp(z0+"(?="+z0+")|"+lI+sI,"g");function uI(e){return e.match(cI)||[]}function dI(e){return Gw(e)?uI(e):Q$(e)}function fI(e){return function(t){t=Uu(t);var r=Gw(t)?dI(t):void 0,n=r?r[0]:t.charAt(0),o=r?j$(r,1).join(""):t.slice(1);return n[e]()+o}}var hI=fI("toUpperCase");const pI=hI;function gI(e,t,r,n){var o=-1,i=e==null?0:e.length;for(n&&i&&(r=e[++o]);++os))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,h=r&zD?new ou:void 0;for(i.set(e,t),i.set(t,e);++f{const u=i==null?void 0:i.value;r.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:Ys,ssr:a}),s!=null&&s.preflightStyleDisabled||b2.mount({id:"n-global",head:!0,anchorMetaName:Ys,ssr:a})};a?c():bn(c)}return R(()=>{var c;const{theme:{common:u,self:f,peers:d={}}={},themeOverrides:h={},builtinThemeOverrides:p={}}=o,{common:g,peers:v}=h,{common:m=void 0,[e]:{common:b=void 0,self:y=void 0,peers:x={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:S=void 0,[e]:C={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:w,peers:k={}}=C,A=Xi({},u||b||m||n.common,S,w,g),T=Xi((c=f||y||n.self)===null||c===void 0?void 0:c(A),p,C,h);return{common:A,self:T,peers:Xi({},n.peers,x,d),peerOverrides:Xi({},p.peers,k,v)}})}We.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Ks="n";function gt(e={},t={defaultBordered:!0}){const r=ze(Ln,null);return{inlineThemeDisabled:r==null?void 0:r.inlineThemeDisabled,mergedRtlRef:r==null?void 0:r.mergedRtlRef,mergedComponentPropsRef:r==null?void 0:r.mergedComponentPropsRef,mergedBreakpointsRef:r==null?void 0:r.mergedBreakpointsRef,mergedBorderedRef:R(()=>{var n,o;const{bordered:i}=e;return i!==void 0?i:(o=(n=r==null?void 0:r.mergedBorderedRef.value)!==null&&n!==void 0?n:t.defaultBordered)!==null&&o!==void 0?o:!0}),mergedClsPrefixRef:r?r.mergedClsPrefixRef:Xn(Ks),namespaceRef:R(()=>r==null?void 0:r.mergedNamespaceRef.value)}}function tce(){const e=ze(Ln,null);return e?e.mergedClsPrefixRef:Xn(Ks)}const HB={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},Jv=HB,jB={name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},WB=jB,UB={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},x2=UB;var VB={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},GB=function(t,r,n){var o,i=VB[t];return typeof i=="string"?o=i:r===1?o=i.one:o=i.other.replace("{{count}}",String(r)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?o+"内":o+"前":o};const qB=GB;function la(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var YB={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},KB={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},XB={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},QB={date:la({formats:YB,defaultWidth:"full"}),time:la({formats:KB,defaultWidth:"full"}),dateTime:la({formats:XB,defaultWidth:"full"})};const ZB=QB;function dt(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function iu(e){"@babel/helpers - typeof";return iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},iu(e)}function Rt(e){dt(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||iu(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Rn(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var JB={};function bl(){return JB}function ya(e,t){var r,n,o,i,a,s,l,c;dt(1,arguments);var u=bl(),f=Rn((r=(n=(o=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&o!==void 0?o:u.weekStartsOn)!==null&&n!==void 0?n:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Rt(e),h=d.getUTCDay(),p=(ht.getTime()?"'下个'"+n:"'上个'"+n}var tO={lastWeek:e1,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:e1,other:"PP p"},rO=function(t,r,n,o){var i=tO[t];return typeof i=="function"?i(r,n,o):i};const nO=rO;function An(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",o;if(n==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=r!=null&&r.width?String(r.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;o=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return o[c]}}var oO={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},iO={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},aO={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},sO={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},lO={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},cO={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},uO=function(t,r){var n=Number(t);switch(r==null?void 0:r.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},dO={ordinalNumber:uO,era:An({values:oO,defaultWidth:"wide"}),quarter:An({values:iO,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:An({values:aO,defaultWidth:"wide"}),day:An({values:sO,defaultWidth:"wide"}),dayPeriod:An({values:lO,defaultWidth:"wide",formattingValues:cO,defaultFormattingWidth:"wide"})};const fO=dO;function Pn(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?pO(s,function(f){return f.test(a)}):hO(s,function(f){return f.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;var u=t.slice(a.length);return{value:c,rest:u}}}function hO(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function pO(e,t){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var o=n[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=r.valueCallback?r.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}}var gO=/^(第\s*)?\d+(日|时|分|秒)?/i,mO=/\d+/i,vO={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},bO={any:[/^(前)/i,/^(公元)/i]},xO={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},yO={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},CO={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},wO={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},SO={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},_O={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},EO={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},kO={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},TO={ordinalNumber:y2({matchPattern:gO,parsePattern:mO,valueCallback:function(t){return parseInt(t,10)}}),era:Pn({matchPatterns:vO,defaultMatchWidth:"wide",parsePatterns:bO,defaultParseWidth:"any"}),quarter:Pn({matchPatterns:xO,defaultMatchWidth:"wide",parsePatterns:yO,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Pn({matchPatterns:CO,defaultMatchWidth:"wide",parsePatterns:wO,defaultParseWidth:"any"}),day:Pn({matchPatterns:SO,defaultMatchWidth:"wide",parsePatterns:_O,defaultParseWidth:"any"}),dayPeriod:Pn({matchPatterns:EO,defaultMatchWidth:"any",parsePatterns:kO,defaultParseWidth:"any"})};const AO=TO;var PO={code:"zh-CN",formatDistance:qB,formatLong:ZB,formatRelative:nO,localize:fO,match:AO,options:{weekStartsOn:1,firstWeekContainsDate:4}};const $O=PO,IO={name:"zh-CN",locale:$O},DO=IO;var BO={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},OO=function(t,r,n){var o,i=BO[t];return typeof i=="string"?o=i:r===1?o=i.one:o=i.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};const LO=OO;var RO={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},FO={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},MO={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zO={date:la({formats:RO,defaultWidth:"full"}),time:la({formats:FO,defaultWidth:"full"}),dateTime:la({formats:MO,defaultWidth:"full"})};const NO=zO;var HO={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},jO=function(t,r,n,o){return HO[t]};const WO=jO;var UO={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},VO={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},GO={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},qO={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},YO={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},KO={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},XO=function(t,r){var n=Number(t),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},QO={ordinalNumber:XO,era:An({values:UO,defaultWidth:"wide"}),quarter:An({values:VO,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:An({values:GO,defaultWidth:"wide"}),day:An({values:qO,defaultWidth:"wide"}),dayPeriod:An({values:YO,defaultWidth:"wide",formattingValues:KO,defaultFormattingWidth:"wide"})};const ZO=QO;var JO=/^(\d+)(th|st|nd|rd)?/i,eL=/\d+/i,tL={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},rL={any:[/^b/i,/^(a|c)/i]},nL={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},oL={any:[/1/i,/2/i,/3/i,/4/i]},iL={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},aL={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},sL={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},lL={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},cL={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},uL={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},dL={ordinalNumber:y2({matchPattern:JO,parsePattern:eL,valueCallback:function(t){return parseInt(t,10)}}),era:Pn({matchPatterns:tL,defaultMatchWidth:"wide",parsePatterns:rL,defaultParseWidth:"any"}),quarter:Pn({matchPatterns:nL,defaultMatchWidth:"wide",parsePatterns:oL,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Pn({matchPatterns:iL,defaultMatchWidth:"wide",parsePatterns:aL,defaultParseWidth:"any"}),day:Pn({matchPatterns:sL,defaultMatchWidth:"wide",parsePatterns:lL,defaultParseWidth:"any"}),dayPeriod:Pn({matchPatterns:cL,defaultMatchWidth:"any",parsePatterns:uL,defaultParseWidth:"any"})};const fL=dL;var hL={code:"en-US",formatDistance:LO,formatLong:NO,formatRelative:WO,localize:ZO,match:fL,options:{weekStartsOn:0,firstWeekContainsDate:1}};const C2=hL,pL={name:"en-US",locale:C2},gL=pL;function Jl(e,t){dt(2,arguments);var r=Rt(e),n=Rn(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function t1(e,t){dt(2,arguments);var r=Rt(e),n=Rn(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var o=r.getDate(),i=new Date(r.getTime());i.setMonth(r.getMonth()+n+1,0);var a=i.getDate();return o>=a?i:(r.setFullYear(i.getFullYear(),i.getMonth(),o),r)}function mL(e,t){dt(2,arguments);var r=Rt(e).getTime(),n=Rn(t);return new Date(r+n)}function r1(e,t){var r,n,o,i,a,s,l,c;dt(1,arguments);var u=bl(),f=Rn((r=(n=(o=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&o!==void 0?o:u.weekStartsOn)!==null&&n!==void 0?n:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Rt(e),h=d.getDay(),p=(h=o.getTime()?r+1:t.getTime()>=a.getTime()?r:r-1}function _L(e){dt(1,arguments);var t=w2(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=su(r);return n}var EL=6048e5;function kL(e){dt(1,arguments);var t=Rt(e),r=su(t).getTime()-_L(t).getTime();return Math.round(r/EL)+1}function S2(e,t){var r,n,o,i,a,s,l,c;dt(1,arguments);var u=Rt(e),f=u.getUTCFullYear(),d=bl(),h=Rn((r=(n=(o=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&o!==void 0?o:d.firstWeekContainsDate)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(f+1,0,h),p.setUTCHours(0,0,0,0);var g=ya(p,t),v=new Date(0);v.setUTCFullYear(f,0,h),v.setUTCHours(0,0,0,0);var m=ya(v,t);return u.getTime()>=g.getTime()?f+1:u.getTime()>=m.getTime()?f:f-1}function TL(e,t){var r,n,o,i,a,s,l,c;dt(1,arguments);var u=bl(),f=Rn((r=(n=(o=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&o!==void 0?o:u.firstWeekContainsDate)!==null&&n!==void 0?n:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=S2(e,t),h=new Date(0);h.setUTCFullYear(d,0,f),h.setUTCHours(0,0,0,0);var p=ya(h,t);return p}var AL=6048e5;function PL(e,t){dt(1,arguments);var r=Rt(e),n=ya(r,t).getTime()-TL(r,t).getTime();return Math.round(n/AL)+1}function bt(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?n:1-n;return bt(r==="yy"?o%100:o,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):bt(n+1,2)},d:function(t,r){return bt(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return bt(t.getUTCHours()%12||12,r.length)},H:function(t,r){return bt(t.getUTCHours(),r.length)},m:function(t,r){return bt(t.getUTCMinutes(),r.length)},s:function(t,r){return bt(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,o=t.getUTCMilliseconds(),i=Math.floor(o*Math.pow(10,n-3));return bt(i,r.length)}};const uo=$L;var Ni={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},IL={G:function(t,r,n){var o=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var o=t.getUTCFullYear(),i=o>0?o:1-o;return n.ordinalNumber(i,{unit:"year"})}return uo.y(t,r)},Y:function(t,r,n,o){var i=S2(t,o),a=i>0?i:1-i;if(r==="YY"){var s=a%100;return bt(s,2)}return r==="Yo"?n.ordinalNumber(a,{unit:"year"}):bt(a,r.length)},R:function(t,r){var n=w2(t);return bt(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return bt(n,r.length)},Q:function(t,r,n){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(o);case"QQ":return bt(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,r,n){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(o);case"qq":return bt(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,r,n){var o=t.getUTCMonth();switch(r){case"M":case"MM":return uo.M(t,r);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(t,r,n){var o=t.getUTCMonth();switch(r){case"L":return String(o+1);case"LL":return bt(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(t,r,n,o){var i=PL(t,o);return r==="wo"?n.ordinalNumber(i,{unit:"week"}):bt(i,r.length)},I:function(t,r,n){var o=kL(t);return r==="Io"?n.ordinalNumber(o,{unit:"week"}):bt(o,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):uo.d(t,r)},D:function(t,r,n){var o=SL(t);return r==="Do"?n.ordinalNumber(o,{unit:"dayOfYear"}):bt(o,r.length)},E:function(t,r,n){var o=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(t,r,n,o){var i=t.getUTCDay(),a=(i-o.weekStartsOn+8)%7||7;switch(r){case"e":return String(a);case"ee":return bt(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,r,n,o){var i=t.getUTCDay(),a=(i-o.weekStartsOn+8)%7||7;switch(r){case"c":return String(a);case"cc":return bt(a,r.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,r,n){var o=t.getUTCDay(),i=o===0?7:o;switch(r){case"i":return String(i);case"ii":return bt(i,r.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(t,r,n){var o=t.getUTCHours(),i=o/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,r,n){var o=t.getUTCHours(),i;switch(o===12?i=Ni.noon:o===0?i=Ni.midnight:i=o/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,r,n){var o=t.getUTCHours(),i;switch(o>=17?i=Ni.evening:o>=12?i=Ni.afternoon:o>=4?i=Ni.morning:i=Ni.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var o=t.getUTCHours()%12;return o===0&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return uo.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):uo.H(t,r)},K:function(t,r,n){var o=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(o,{unit:"hour"}):bt(o,r.length)},k:function(t,r,n){var o=t.getUTCHours();return o===0&&(o=24),r==="ko"?n.ordinalNumber(o,{unit:"hour"}):bt(o,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):uo.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):uo.s(t,r)},S:function(t,r){return uo.S(t,r)},X:function(t,r,n,o){var i=o._originalDate||t,a=i.getTimezoneOffset();if(a===0)return"Z";switch(r){case"X":return i1(a);case"XXXX":case"XX":return Zo(a);case"XXXXX":case"XXX":default:return Zo(a,":")}},x:function(t,r,n,o){var i=o._originalDate||t,a=i.getTimezoneOffset();switch(r){case"x":return i1(a);case"xxxx":case"xx":return Zo(a);case"xxxxx":case"xxx":default:return Zo(a,":")}},O:function(t,r,n,o){var i=o._originalDate||t,a=i.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+o1(a,":");case"OOOO":default:return"GMT"+Zo(a,":")}},z:function(t,r,n,o){var i=o._originalDate||t,a=i.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+o1(a,":");case"zzzz":default:return"GMT"+Zo(a,":")}},t:function(t,r,n,o){var i=o._originalDate||t,a=Math.floor(i.getTime()/1e3);return bt(a,r.length)},T:function(t,r,n,o){var i=o._originalDate||t,a=i.getTime();return bt(a,r.length)}};function o1(e,t){var r=e>0?"-":"+",n=Math.abs(e),o=Math.floor(n/60),i=n%60;if(i===0)return r+String(o);var a=t||"";return r+String(o)+a+bt(i,2)}function i1(e,t){if(e%60===0){var r=e>0?"-":"+";return r+bt(Math.abs(e)/60,2)}return Zo(e,t)}function Zo(e,t){var r=t||"",n=e>0?"-":"+",o=Math.abs(e),i=bt(Math.floor(o/60),2),a=bt(o%60,2);return n+i+r+a}const DL=IL;var a1=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},_2=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},BL=function(t,r){var n=t.match(/(P+)(p+)?/)||[],o=n[1],i=n[2];if(!i)return a1(t,r);var a;switch(o){case"P":a=r.dateTime({width:"short"});break;case"PP":a=r.dateTime({width:"medium"});break;case"PPP":a=r.dateTime({width:"long"});break;case"PPPP":default:a=r.dateTime({width:"full"});break}return a.replace("{{date}}",a1(o,r)).replace("{{time}}",_2(i,r))},OL={p:_2,P:BL};const LL=OL;var RL=["D","DD"],FL=["YY","YYYY"];function ML(e){return RL.indexOf(e)!==-1}function zL(e){return FL.indexOf(e)!==-1}function s1(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var NL=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HL=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jL=/^'([^]*?)'?$/,WL=/''/g,UL=/[a-zA-Z]/;function Qd(e,t,r){var n,o,i,a,s,l,c,u,f,d,h,p,g,v,m,b,y,x;dt(2,arguments);var S=String(t),C=bl(),w=(n=(o=r==null?void 0:r.locale)!==null&&o!==void 0?o:C.locale)!==null&&n!==void 0?n:C2,k=Rn((i=(a=(s=(l=r==null?void 0:r.firstWeekContainsDate)!==null&&l!==void 0?l:r==null||(c=r.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&s!==void 0?s:C.firstWeekContainsDate)!==null&&a!==void 0?a:(f=C.locale)===null||f===void 0||(d=f.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(k>=1&&k<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=Rn((h=(p=(g=(v=r==null?void 0:r.weekStartsOn)!==null&&v!==void 0?v:r==null||(m=r.locale)===null||m===void 0||(b=m.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&g!==void 0?g:C.weekStartsOn)!==null&&p!==void 0?p:(y=C.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&h!==void 0?h:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!w.localize)throw new RangeError("locale must contain localize property");if(!w.formatLong)throw new RangeError("locale must contain formatLong property");var T=Rt(e);if(!yL(T))throw new RangeError("Invalid time value");var I=vL(T),D=CL(T,I),B={firstWeekContainsDate:k,weekStartsOn:A,locale:w,_originalDate:T},j=S.match(HL).map(function(F){var z=F[0];if(z==="p"||z==="P"){var V=LL[z];return V(F,w.formatLong)}return F}).join("").match(NL).map(function(F){if(F==="''")return"'";var z=F[0];if(z==="'")return VL(F);var V=DL[z];if(V)return!(r!=null&&r.useAdditionalWeekYearTokens)&&zL(F)&&s1(F,t,String(e)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&ML(F)&&s1(F,t,String(e)),V(D,F,w.localize,B);if(z.match(UL))throw new RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return F}).join("");return j}function VL(e){var t=e.match(jL);return t?t[1].replace(WL,"'"):e}function E2(e){dt(1,arguments);var t=Rt(e),r=t.getDate();return r}function GL(e){dt(1,arguments);var t=Rt(e),r=t.getDay();return r}function kn(e){dt(1,arguments);var t=Rt(e),r=t.getMonth();return r}function ti(e){dt(1,arguments);var t=Rt(e),r=t.getTime();return r}function wo(e){return dt(1,arguments),Rt(e).getFullYear()}function qL(e,t,r){dt(2,arguments);var n=r1(e,r),o=r1(t,r);return n.getTime()===o.getTime()}function Gu(e,t){dt(2,arguments);var r=Rt(e),n=Rt(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function YL(e,t){dt(2,arguments);var r=n1(e),n=n1(t);return r.getTime()===n.getTime()}function KL(e,t){dt(2,arguments);var r=Rt(e),n=Rt(t);return r.getFullYear()===n.getFullYear()}function XL(e){return dt(1,arguments),Gu(Date.now(),e)}function k2(e){const{mergedLocaleRef:t,mergedDateLocaleRef:r}=ze(Ln,null)||{},n=R(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:x2[e]});return{dateLocaleRef:R(()=>{var i;return(i=r==null?void 0:r.value)!==null&&i!==void 0?i:gL}),localeRef:n}}function xl(e,t,r){if(!t)return;const n=ml(),o=ze(Ln,null),i=()=>{const a=r.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Ys,props:{bPrefix:a?`.${a}-`:void 0},ssr:n}),o!=null&&o.preflightStyleDisabled||b2.mount({id:"n-global",head:!0,anchorMetaName:Ys,ssr:n})};n?i():bn(i)}function tr(e,t,r,n){var o;r||pl("useThemeClass","cssVarsRef is not passed");const i=(o=ze(Ln,null))===null||o===void 0?void 0:o.mergedThemeHashRef,a=M(""),s=ml();let l;const c=`__${e}`,u=()=>{let f=c;const d=t?t.value:void 0,h=i==null?void 0:i.value;h&&(f+="-"+h),d&&(f+="-"+d);const{themeOverrides:p,builtinThemeOverrides:g}=n;p&&(f+="-"+Ws(JSON.stringify(p))),g&&(f+="-"+Ws(JSON.stringify(g))),a.value=f,l=()=>{const v=r.value;let m="";for(const b in v)m+=`${b}: ${v[b]};`;Y(`.${f}`,m).mount({id:f,ssr:s}),l=void 0}};return Or(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function on(e,t,r){if(!t)return;const n=ml(),o=R(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{Or(()=>{const{value:a}=r,s=`${a}${e}Rtl`;if(kT(s,n))return;const{value:l}=o;l&&l.style.mount({id:s,head:!0,anchorMetaName:Ys,props:{bPrefix:a?`.${a}-`:void 0},ssr:n})})};return n?i():bn(i),o}function no(e,t){return pe({name:pI(e),setup(){var r;const n=(r=ze(Ln,null))===null||r===void 0?void 0:r.mergedIconsRef;return()=>{var o;const i=(o=n==null?void 0:n.value)===null||o===void 0?void 0:o[e];return i?i():t}}})}const QL=pe({name:"ChevronLeft",render(){return $("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M10.3536 3.14645C10.5488 3.34171 10.5488 3.65829 10.3536 3.85355L6.20711 8L10.3536 12.1464C10.5488 12.3417 10.5488 12.6583 10.3536 12.8536C10.1583 13.0488 9.84171 13.0488 9.64645 12.8536L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645L9.64645 3.14645C9.84171 2.95118 10.1583 2.95118 10.3536 3.14645Z",fill:"currentColor"}))}}),ZL=pe({name:"ChevronRight",render(){return $("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),JL=no("close",$("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},$("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},$("g",{fill:"currentColor","fill-rule":"nonzero"},$("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),yl=no("error",$("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},$("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},$("g",{"fill-rule":"nonzero"},$("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),Ca=no("info",$("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},$("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},$("g",{"fill-rule":"nonzero"},$("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),Cl=no("success",$("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},$("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},$("g",{"fill-rule":"nonzero"},$("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),wl=no("warning",$("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},$("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},$("g",{"fill-rule":"nonzero"},$("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),eR=no("rotateClockwise",$("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),$("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),tR=no("rotateClockwise",$("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),$("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),rR=no("zoomIn",$("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),$("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),nR=no("zoomOut",$("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),$("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),oR=pe({name:"ResizeSmall",render(){return $("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},$("g",{fill:"none"},$("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}}),Op=pe({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const r=Ha();return()=>$(_r,{name:"icon-switch-transition",appear:r.value},t)}}),Lp=pe({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function r(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function n(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function o(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function i(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:u}=e,f=s?Fk:_r,d={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:a,onBeforeLeave:r,onLeave:n,onAfterLeave:o};return s||(d.mode=u),$(f,d,t)}}}),iR=ne("base-icon",` - height: 1em; - width: 1em; - line-height: 1em; - text-align: center; - display: inline-block; - position: relative; - fill: currentColor; - transform: translateZ(0); -`,[Y("svg",` - height: 1em; - width: 1em; - `)]),dr=pe({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){xl("-base-icon",iR,Lt(e,"clsPrefix"))},render(){return $("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),aR=ne("base-close",` - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - background-color: transparent; - color: var(--n-close-icon-color); - border-radius: var(--n-close-border-radius); - height: var(--n-close-size); - width: var(--n-close-size); - font-size: var(--n-close-icon-size); - outline: none; - border: none; - position: relative; - padding: 0; -`,[ue("absolute",` - height: var(--n-close-icon-size); - width: var(--n-close-icon-size); - `),Y("&::before",` - content: ""; - position: absolute; - width: var(--n-close-size); - height: var(--n-close-size); - left: 50%; - top: 50%; - transform: translateY(-50%) translateX(-50%); - transition: inherit; - border-radius: inherit; - `),xr("disabled",[Y("&:hover",` - color: var(--n-close-icon-color-hover); - `),Y("&:hover::before",` - background-color: var(--n-close-color-hover); - `),Y("&:focus::before",` - background-color: var(--n-close-color-hover); - `),Y("&:active",` - color: var(--n-close-icon-color-pressed); - `),Y("&:active::before",` - background-color: var(--n-close-color-pressed); - `)]),ue("disabled",` - cursor: not-allowed; - color: var(--n-close-icon-color-disabled); - background-color: transparent; - `),ue("round",[Y("&::before",` - border-radius: 50%; - `)])]),Wa=pe({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return xl("-base-close",aR,Lt(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:r,absolute:n,round:o,isButtonTag:i}=e;return $(i?"button":"div",{type:i?"button":void 0,tabindex:r||!e.focusable?-1:0,"aria-disabled":r,"aria-label":"close",role:i?void 0:"button",disabled:r,class:[`${t}-base-close`,n&&`${t}-base-close--absolute`,r&&`${t}-base-close--disabled`,o&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},$(dr,{clsPrefix:t},{default:()=>$(JL,null)}))}}}),{cubicBezierEaseInOut:sR}=Ro;function lu({originalTransform:e="",left:t=0,top:r=0,transition:n=`all .3s ${sR} !important`}={}){return[Y("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:r,opacity:0}),Y("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:r,opacity:1}),Y("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:r,transition:n})]}const lR=Y([Y("@keyframes rotator",` - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - }`),ne("base-loading",` - position: relative; - line-height: 0; - width: 1em; - height: 1em; - `,[le("transition-wrapper",` - position: absolute; - width: 100%; - height: 100%; - `,[lu()]),le("placeholder",` - position: absolute; - left: 50%; - top: 50%; - transform: translateX(-50%) translateY(-50%); - `,[lu({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),le("container",` - animation: rotator 3s linear infinite both; - `,[le("icon",` - height: 1em; - width: 1em; - `)])])]),Zd="1.6s",cR={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Rp=pe({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},cR),setup(e){xl("-base-loading",lR,Lt(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:r,stroke:n,scale:o}=this,i=t/o;return $("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},$(Op,null,{default:()=>this.show?$("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},$("div",{class:`${e}-base-loading__container`},$("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:n}},$("g",null,$("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:Zd,fill:"freeze",repeatCount:"indefinite"}),$("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":r,"stroke-linecap":"round",cx:i,cy:i,r:t-r/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},$("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:Zd,fill:"freeze",repeatCount:"indefinite"}),$("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Zd,fill:"freeze",repeatCount:"indefinite"})))))):$("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}}),ke={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},uR=Qn(ke.neutralBase),T2=Qn(ke.neutralInvertBase),dR="rgba("+T2.slice(0,3).join(", ")+", ";function ct(e){return dR+String(e)+")"}function fR(e){const t=Array.from(T2);return t[3]=Number(e),Pe(uR,t)}const hR=Object.assign(Object.assign({name:"common"},Ro),{baseColor:ke.neutralBase,primaryColor:ke.primaryDefault,primaryColorHover:ke.primaryHover,primaryColorPressed:ke.primaryActive,primaryColorSuppl:ke.primarySuppl,infoColor:ke.infoDefault,infoColorHover:ke.infoHover,infoColorPressed:ke.infoActive,infoColorSuppl:ke.infoSuppl,successColor:ke.successDefault,successColorHover:ke.successHover,successColorPressed:ke.successActive,successColorSuppl:ke.successSuppl,warningColor:ke.warningDefault,warningColorHover:ke.warningHover,warningColorPressed:ke.warningActive,warningColorSuppl:ke.warningSuppl,errorColor:ke.errorDefault,errorColorHover:ke.errorHover,errorColorPressed:ke.errorActive,errorColorSuppl:ke.errorSuppl,textColorBase:ke.neutralTextBase,textColor1:ct(ke.alpha1),textColor2:ct(ke.alpha2),textColor3:ct(ke.alpha3),textColorDisabled:ct(ke.alpha4),placeholderColor:ct(ke.alpha4),placeholderColorDisabled:ct(ke.alpha5),iconColor:ct(ke.alpha4),iconColorDisabled:ct(ke.alpha5),iconColorHover:ct(Number(ke.alpha4)*1.25),iconColorPressed:ct(Number(ke.alpha4)*.8),opacity1:ke.alpha1,opacity2:ke.alpha2,opacity3:ke.alpha3,opacity4:ke.alpha4,opacity5:ke.alpha5,dividerColor:ct(ke.alphaDivider),borderColor:ct(ke.alphaBorder),closeIconColorHover:ct(Number(ke.alphaClose)),closeIconColor:ct(Number(ke.alphaClose)),closeIconColorPressed:ct(Number(ke.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:ct(ke.alpha4),clearColorHover:qt(ct(ke.alpha4),{alpha:1.25}),clearColorPressed:qt(ct(ke.alpha4),{alpha:.8}),scrollbarColor:ct(ke.alphaScrollbar),scrollbarColorHover:ct(ke.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:ct(ke.alphaProgressRail),railColor:ct(ke.alphaRail),popoverColor:ke.neutralPopover,tableColor:ke.neutralCard,cardColor:ke.neutralCard,modalColor:ke.neutralModal,bodyColor:ke.neutralBody,tagColor:fR(ke.alphaTag),avatarColor:ct(ke.alphaAvatar),invertedColor:ke.neutralBase,inputColor:ct(ke.alphaInput),codeColor:ct(ke.alphaCode),tabColor:ct(ke.alphaTab),actionColor:ct(ke.alphaAction),tableHeaderColor:ct(ke.alphaAction),hoverColor:ct(ke.alphaPending),tableColorHover:ct(ke.alphaTablePending),tableColorStriped:ct(ke.alphaTableStriped),pressedColor:ct(ke.alphaPressed),opacityDisabled:ke.alphaDisabled,inputColorDisabled:ct(ke.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),xe=hR,Me={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},pR=Qn(Me.neutralBase),A2=Qn(Me.neutralInvertBase),gR="rgba("+A2.slice(0,3).join(", ")+", ";function l1(e){return gR+String(e)+")"}function gr(e){const t=Array.from(A2);return t[3]=Number(e),Pe(pR,t)}const mR=Object.assign(Object.assign({name:"common"},Ro),{baseColor:Me.neutralBase,primaryColor:Me.primaryDefault,primaryColorHover:Me.primaryHover,primaryColorPressed:Me.primaryActive,primaryColorSuppl:Me.primarySuppl,infoColor:Me.infoDefault,infoColorHover:Me.infoHover,infoColorPressed:Me.infoActive,infoColorSuppl:Me.infoSuppl,successColor:Me.successDefault,successColorHover:Me.successHover,successColorPressed:Me.successActive,successColorSuppl:Me.successSuppl,warningColor:Me.warningDefault,warningColorHover:Me.warningHover,warningColorPressed:Me.warningActive,warningColorSuppl:Me.warningSuppl,errorColor:Me.errorDefault,errorColorHover:Me.errorHover,errorColorPressed:Me.errorActive,errorColorSuppl:Me.errorSuppl,textColorBase:Me.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:gr(Me.alpha4),placeholderColor:gr(Me.alpha4),placeholderColorDisabled:gr(Me.alpha5),iconColor:gr(Me.alpha4),iconColorHover:qt(gr(Me.alpha4),{lightness:.75}),iconColorPressed:qt(gr(Me.alpha4),{lightness:.9}),iconColorDisabled:gr(Me.alpha5),opacity1:Me.alpha1,opacity2:Me.alpha2,opacity3:Me.alpha3,opacity4:Me.alpha4,opacity5:Me.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:gr(Number(Me.alphaClose)),closeIconColorHover:gr(Number(Me.alphaClose)),closeIconColorPressed:gr(Number(Me.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:gr(Me.alpha4),clearColorHover:qt(gr(Me.alpha4),{lightness:.75}),clearColorPressed:qt(gr(Me.alpha4),{lightness:.9}),scrollbarColor:l1(Me.alphaScrollbar),scrollbarColorHover:l1(Me.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:gr(Me.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:Me.neutralPopover,tableColor:Me.neutralCard,cardColor:Me.neutralCard,modalColor:Me.neutralModal,bodyColor:Me.neutralBody,tagColor:"#eee",avatarColor:gr(Me.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:gr(Me.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:Me.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),be=mR,vR={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},P2=e=>{const{textColorDisabled:t,iconColor:r,textColor2:n,fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},vR),{fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:r,extraTextColor:n})},bR={name:"Empty",common:be,self:P2},oo=bR,xR={name:"Empty",common:xe,self:P2},ki=xR,$2=e=>{const{scrollbarColor:t,scrollbarColorHover:r}=e;return{color:t,colorHover:r}},yR={name:"Scrollbar",common:be,self:$2},kr=yR,CR={name:"Scrollbar",common:xe,self:$2},Lr=CR,{cubicBezierEaseInOut:c1}=Ro;function wa({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:r="0.2s",enterCubicBezier:n=c1,leaveCubicBezier:o=c1}={}){return[Y(`&.${e}-transition-enter-active`,{transition:`all ${t} ${n}!important`}),Y(`&.${e}-transition-leave-active`,{transition:`all ${r} ${o}!important`}),Y(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),Y(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const wR=ne("scrollbar",` - overflow: hidden; - position: relative; - z-index: auto; - height: 100%; - width: 100%; -`,[Y(">",[ne("scrollbar-container",` - width: 100%; - overflow: scroll; - height: 100%; - min-height: inherit; - max-height: inherit; - scrollbar-width: none; - `,[Y("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` - width: 0; - height: 0; - display: none; - `),Y(">",[ne("scrollbar-content",` - box-sizing: border-box; - min-width: 100%; - `)])])]),Y(">, +",[ne("scrollbar-rail",` - position: absolute; - pointer-events: none; - user-select: none; - -webkit-user-select: none; - `,[ue("horizontal",` - left: 2px; - right: 2px; - bottom: 4px; - height: var(--n-scrollbar-height); - `,[Y(">",[le("scrollbar",` - height: var(--n-scrollbar-height); - border-radius: var(--n-scrollbar-border-radius); - right: 0; - `)])]),ue("vertical",` - right: 4px; - top: 2px; - bottom: 2px; - width: var(--n-scrollbar-width); - `,[Y(">",[le("scrollbar",` - width: var(--n-scrollbar-width); - border-radius: var(--n-scrollbar-border-radius); - bottom: 0; - `)])]),ue("disabled",[Y(">",[le("scrollbar","pointer-events: none;")])]),Y(">",[le("scrollbar",` - z-index: 1; - position: absolute; - cursor: pointer; - pointer-events: all; - background-color: var(--n-scrollbar-color); - transition: background-color .2s var(--n-scrollbar-bezier); - `,[wa(),Y("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),SR=Object.assign(Object.assign({},We.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),I2=pe({name:"Scrollbar",props:SR,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r,mergedRtlRef:n}=gt(e),o=on("Scrollbar",n,t),i=M(null),a=M(null),s=M(null),l=M(null),c=M(null),u=M(null),f=M(null),d=M(null),h=M(null),p=M(null),g=M(null),v=M(0),m=M(0),b=M(!1),y=M(!1);let x=!1,S=!1,C,w,k=0,A=0,T=0,I=0;const D=YT(),B=R(()=>{const{value:de}=d,{value:Ee}=u,{value:Ue}=p;return de===null||Ee===null||Ue===null?0:Math.min(de,Ue*de/Ee+e.size*1.5)}),j=R(()=>`${B.value}px`),F=R(()=>{const{value:de}=h,{value:Ee}=f,{value:Ue}=g;return de===null||Ee===null||Ue===null?0:Ue*de/Ee+e.size*1.5}),z=R(()=>`${F.value}px`),V=R(()=>{const{value:de}=d,{value:Ee}=v,{value:Ue}=u,{value:Ct}=p;if(de===null||Ue===null||Ct===null)return 0;{const jt=Ue-de;return jt?Ee/jt*(Ct-B.value):0}}),oe=R(()=>`${V.value}px`),fe=R(()=>{const{value:de}=h,{value:Ee}=m,{value:Ue}=f,{value:Ct}=g;if(de===null||Ue===null||Ct===null)return 0;{const jt=Ue-de;return jt?Ee/jt*(Ct-F.value):0}}),ge=R(()=>`${fe.value}px`),U=R(()=>{const{value:de}=d,{value:Ee}=u;return de!==null&&Ee!==null&&Ee>de}),X=R(()=>{const{value:de}=h,{value:Ee}=f;return de!==null&&Ee!==null&&Ee>de}),ae=R(()=>{const{trigger:de}=e;return de==="none"||b.value}),Z=R(()=>{const{trigger:de}=e;return de==="none"||y.value}),Be=R(()=>{const{container:de}=e;return de?de():a.value}),ye=R(()=>{const{content:de}=e;return de?de():s.value}),q=Iw(()=>{e.container||ve({top:v.value,left:m.value})}),te=()=>{q.isDeactivated||Te()},ie=de=>{if(q.isDeactivated)return;const{onResize:Ee}=e;Ee&&Ee(de),Te()},ve=(de,Ee)=>{if(!e.scrollable)return;if(typeof de=="number"){$e(de,Ee??0,0,!1,"auto");return}const{left:Ue,top:Ct,index:jt,elSize:pr,position:Ur,behavior:Ft,el:ln,debounce:Wo=!0}=de;(Ue!==void 0||Ct!==void 0)&&$e(Ue??0,Ct??0,0,!1,Ft),ln!==void 0?$e(0,ln.offsetTop,ln.offsetHeight,Wo,Ft):jt!==void 0&&pr!==void 0?$e(0,jt*pr,pr,Wo,Ft):Ur==="bottom"?$e(0,Number.MAX_SAFE_INTEGER,0,!1,Ft):Ur==="top"&&$e(0,0,0,!1,Ft)},Le=(de,Ee)=>{if(!e.scrollable)return;const{value:Ue}=Be;Ue&&(typeof de=="object"?Ue.scrollBy(de):Ue.scrollBy(de,Ee||0))};function $e(de,Ee,Ue,Ct,jt){const{value:pr}=Be;if(pr){if(Ct){const{scrollTop:Ur,offsetHeight:Ft}=pr;if(Ee>Ur){Ee+Ue<=Ur+Ft||pr.scrollTo({left:de,top:Ee+Ue-Ft,behavior:jt});return}}pr.scrollTo({left:de,top:Ee,behavior:jt})}}function _(){G(),K(),Te()}function E(){P()}function P(){O(),L()}function O(){w!==void 0&&window.clearTimeout(w),w=window.setTimeout(()=>{y.value=!1},e.duration)}function L(){C!==void 0&&window.clearTimeout(C),C=window.setTimeout(()=>{b.value=!1},e.duration)}function G(){C!==void 0&&window.clearTimeout(C),b.value=!0}function K(){w!==void 0&&window.clearTimeout(w),y.value=!0}function H(de){const{onScroll:Ee}=e;Ee&&Ee(de),ee()}function ee(){const{value:de}=Be;de&&(v.value=de.scrollTop,m.value=de.scrollLeft*(o!=null&&o.value?-1:1))}function Q(){const{value:de}=ye;de&&(u.value=de.offsetHeight,f.value=de.offsetWidth);const{value:Ee}=Be;Ee&&(d.value=Ee.offsetHeight,h.value=Ee.offsetWidth);const{value:Ue}=c,{value:Ct}=l;Ue&&(g.value=Ue.offsetWidth),Ct&&(p.value=Ct.offsetHeight)}function Ce(){const{value:de}=Be;de&&(v.value=de.scrollTop,m.value=de.scrollLeft*(o!=null&&o.value?-1:1),d.value=de.offsetHeight,h.value=de.offsetWidth,u.value=de.scrollHeight,f.value=de.scrollWidth);const{value:Ee}=c,{value:Ue}=l;Ee&&(g.value=Ee.offsetWidth),Ue&&(p.value=Ue.offsetHeight)}function Te(){e.scrollable&&(e.useUnifiedContainer?Ce():(Q(),ee()))}function Se(de){var Ee;return!(!((Ee=i.value)===null||Ee===void 0)&&Ee.contains(Ns(de)))}function W(de){de.preventDefault(),de.stopPropagation(),S=!0,Xt("mousemove",window,J,!0),Xt("mouseup",window,Oe,!0),A=m.value,T=o!=null&&o.value?window.innerWidth-de.clientX:de.clientX}function J(de){if(!S)return;C!==void 0&&window.clearTimeout(C),w!==void 0&&window.clearTimeout(w);const{value:Ee}=h,{value:Ue}=f,{value:Ct}=F;if(Ee===null||Ue===null)return;const pr=(o!=null&&o.value?window.innerWidth-de.clientX-T:de.clientX-T)*(Ue-Ee)/(Ee-Ct),Ur=Ue-Ee;let Ft=A+pr;Ft=Math.min(Ur,Ft),Ft=Math.max(Ft,0);const{value:ln}=Be;if(ln){ln.scrollLeft=Ft*(o!=null&&o.value?-1:1);const{internalOnUpdateScrollLeft:Wo}=e;Wo&&Wo(Ft)}}function Oe(de){de.preventDefault(),de.stopPropagation(),At("mousemove",window,J,!0),At("mouseup",window,Oe,!0),S=!1,Te(),Se(de)&&P()}function He(de){de.preventDefault(),de.stopPropagation(),x=!0,Xt("mousemove",window,st,!0),Xt("mouseup",window,yt,!0),k=v.value,I=de.clientY}function st(de){if(!x)return;C!==void 0&&window.clearTimeout(C),w!==void 0&&window.clearTimeout(w);const{value:Ee}=d,{value:Ue}=u,{value:Ct}=B;if(Ee===null||Ue===null)return;const pr=(de.clientY-I)*(Ue-Ee)/(Ee-Ct),Ur=Ue-Ee;let Ft=k+pr;Ft=Math.min(Ur,Ft),Ft=Math.max(Ft,0);const{value:ln}=Be;ln&&(ln.scrollTop=Ft)}function yt(de){de.preventDefault(),de.stopPropagation(),At("mousemove",window,st,!0),At("mouseup",window,yt,!0),x=!1,Te(),Se(de)&&P()}Or(()=>{const{value:de}=X,{value:Ee}=U,{value:Ue}=t,{value:Ct}=c,{value:jt}=l;Ct&&(de?Ct.classList.remove(`${Ue}-scrollbar-rail--disabled`):Ct.classList.add(`${Ue}-scrollbar-rail--disabled`)),jt&&(Ee?jt.classList.remove(`${Ue}-scrollbar-rail--disabled`):jt.classList.add(`${Ue}-scrollbar-rail--disabled`))}),_t(()=>{e.container||Te()}),Ht(()=>{C!==void 0&&window.clearTimeout(C),w!==void 0&&window.clearTimeout(w),At("mousemove",window,st,!0),At("mouseup",window,yt,!0)});const Gt=We("Scrollbar","-scrollbar",wR,kr,e,t),Nn=R(()=>{const{common:{cubicBezierEaseInOut:de,scrollbarBorderRadius:Ee,scrollbarHeight:Ue,scrollbarWidth:Ct},self:{color:jt,colorHover:pr}}=Gt.value;return{"--n-scrollbar-bezier":de,"--n-scrollbar-color":jt,"--n-scrollbar-color-hover":pr,"--n-scrollbar-border-radius":Ee,"--n-scrollbar-width":Ct,"--n-scrollbar-height":Ue}}),hr=r?tr("scrollbar",void 0,Nn,e):void 0;return Object.assign(Object.assign({},{scrollTo:ve,scrollBy:Le,sync:Te,syncUnifiedContainer:Ce,handleMouseEnterWrapper:_,handleMouseLeaveWrapper:E}),{mergedClsPrefix:t,rtlEnabled:o,containerScrollTop:v,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:U,needXBar:X,yBarSizePx:j,xBarSizePx:z,yBarTopPx:oe,xBarLeftPx:ge,isShowXBar:ae,isShowYBar:Z,isIos:D,handleScroll:H,handleContentResize:te,handleContainerResize:ie,handleYScrollMouseDown:He,handleXScrollMouseDown:W,cssVars:r?void 0:Nn,themeClass:hr==null?void 0:hr.themeClass,onRender:hr==null?void 0:hr.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:r,triggerDisplayManually:n,rtlEnabled:o,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=(u,f)=>$("div",{ref:"yRailRef",class:[`${r}-scrollbar-rail`,`${r}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[f||"",this.verticalRailStyle],"aria-hidden":!0},$(a?jm:_r,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?$("div",{class:`${r}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var u,f;return(u=this.onRender)===null||u===void 0||u.call(this),$("div",On(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${r}-scrollbar`,this.themeClass,o&&`${r}-scrollbar--rtl`],style:this.cssVars,onMouseenter:n?void 0:this.handleMouseEnterWrapper,onMouseleave:n?void 0:this.handleMouseLeaveWrapper}),[this.container?(f=t.default)===null||f===void 0?void 0:f.call(t):$("div",{role:"none",ref:"containerRef",class:[`${r}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},$(Jc,{onResize:this.handleContentResize},{default:()=>$("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${r}-scrollbar-content`,this.contentClass]},t)})),i?null:s(void 0,void 0),this.xScrollable&&$("div",{ref:"xRailRef",class:[`${r}-scrollbar-rail`,`${r}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},$(a?jm:_r,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?$("div",{class:`${r}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:o?this.xBarLeftPx:void 0,left:o?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():$(Jc,{onResize:this.handleContainerResize},{default:l});return i?$(ot,null,c,s(this.themeClass,this.cssVars)):c}}),qu=I2,_R=I2,ER={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},D2=e=>{const{borderRadius:t,popoverColor:r,textColor3:n,dividerColor:o,textColor2:i,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:u,fontSizeSmall:f,fontSizeMedium:d,fontSizeLarge:h,fontSizeHuge:p,heightSmall:g,heightMedium:v,heightLarge:m,heightHuge:b}=e;return Object.assign(Object.assign({},ER),{optionFontSizeSmall:f,optionFontSizeMedium:d,optionFontSizeLarge:h,optionFontSizeHuge:p,optionHeightSmall:g,optionHeightMedium:v,optionHeightLarge:m,optionHeightHuge:b,borderRadius:t,color:r,groupHeaderTextColor:n,actionDividerColor:o,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:l})},kR={name:"InternalSelectMenu",common:be,peers:{Scrollbar:kr,Empty:oo},self:D2},Sl=kR,TR={name:"InternalSelectMenu",common:xe,peers:{Scrollbar:Lr,Empty:ki},self:D2},_l=TR,{cubicBezierEaseIn:u1,cubicBezierEaseOut:d1}=Ro;function B2({transformOrigin:e="inherit",duration:t=".2s",enterScale:r=".9",originalTransform:n="",originalTransition:o=""}={}){return[Y("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${u1}, transform ${t} ${u1} ${o&&","+o}`}),Y("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${d1}, transform ${t} ${d1} ${o&&","+o}`}),Y("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${n} scale(${r})`}),Y("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${n} scale(1)`})]}const AR=ne("base-wave",` - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - border-radius: inherit; -`),PR=pe({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){xl("-base-wave",AR,Lt(e,"clsPrefix"));const t=M(null),r=M(!1);let n=null;return Ht(()=>{n!==null&&window.clearTimeout(n)}),{active:r,selfRef:t,play(){n!==null&&(window.clearTimeout(n),r.value=!1,n=null),Qt(()=>{var o;(o=t.value)===null||o===void 0||o.offsetHeight,r.value=!0,n=window.setTimeout(()=>{r.value=!1,n=null},1e3)})}}},render(){const{clsPrefix:e}=this;return $("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),$R={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},O2=e=>{const{boxShadow2:t,popoverColor:r,textColor2:n,borderRadius:o,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},$R),{fontSize:i,borderRadius:o,color:r,dividerColor:a,textColor:n,boxShadow:t})},IR={name:"Popover",common:be,self:O2},Fo=IR,DR={name:"Popover",common:xe,self:O2},Ti=DR,Jd={top:"bottom",bottom:"top",left:"right",right:"left"},rr="var(--n-arrow-height) * 1.414",BR=Y([ne("popover",` - transition: - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - position: relative; - font-size: var(--n-font-size); - color: var(--n-text-color); - box-shadow: var(--n-box-shadow); - word-break: break-word; - `,[Y(">",[ne("scrollbar",` - height: inherit; - max-height: inherit; - `)]),xr("raw",` - background-color: var(--n-color); - border-radius: var(--n-border-radius); - `,[xr("scrollable",[xr("show-header-or-footer","padding: var(--n-padding);")])]),le("header",` - padding: var(--n-padding); - border-bottom: 1px solid var(--n-divider-color); - transition: border-color .3s var(--n-bezier); - `),le("footer",` - padding: var(--n-padding); - border-top: 1px solid var(--n-divider-color); - transition: border-color .3s var(--n-bezier); - `),ue("scrollable, show-header-or-footer",[le("content",` - padding: var(--n-padding); - `)])]),ne("popover-shared",` - transform-origin: inherit; - `,[ne("popover-arrow-wrapper",` - position: absolute; - overflow: hidden; - pointer-events: none; - `,[ne("popover-arrow",` - transition: background-color .3s var(--n-bezier); - position: absolute; - display: block; - width: calc(${rr}); - height: calc(${rr}); - box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12); - transform: rotate(45deg); - background-color: var(--n-color); - pointer-events: all; - `)]),Y("&.popover-transition-enter-from, &.popover-transition-leave-to",` - opacity: 0; - transform: scale(.85); - `),Y("&.popover-transition-enter-to, &.popover-transition-leave-from",` - transform: scale(1); - opacity: 1; - `),Y("&.popover-transition-enter-active",` - transition: - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier), - color .3s var(--n-bezier), - opacity .15s var(--n-bezier-ease-out), - transform .15s var(--n-bezier-ease-out); - `),Y("&.popover-transition-leave-active",` - transition: - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier), - color .3s var(--n-bezier), - opacity .15s var(--n-bezier-ease-in), - transform .15s var(--n-bezier-ease-in); - `)]),Gr("top-start",` - top: calc(${rr} / -2); - left: calc(${Hn("top-start")} - var(--v-offset-left)); - `),Gr("top",` - top: calc(${rr} / -2); - transform: translateX(calc(${rr} / -2)) rotate(45deg); - left: 50%; - `),Gr("top-end",` - top: calc(${rr} / -2); - right: calc(${Hn("top-end")} + var(--v-offset-left)); - `),Gr("bottom-start",` - bottom: calc(${rr} / -2); - left: calc(${Hn("bottom-start")} - var(--v-offset-left)); - `),Gr("bottom",` - bottom: calc(${rr} / -2); - transform: translateX(calc(${rr} / -2)) rotate(45deg); - left: 50%; - `),Gr("bottom-end",` - bottom: calc(${rr} / -2); - right: calc(${Hn("bottom-end")} + var(--v-offset-left)); - `),Gr("left-start",` - left: calc(${rr} / -2); - top: calc(${Hn("left-start")} - var(--v-offset-top)); - `),Gr("left",` - left: calc(${rr} / -2); - transform: translateY(calc(${rr} / -2)) rotate(45deg); - top: 50%; - `),Gr("left-end",` - left: calc(${rr} / -2); - bottom: calc(${Hn("left-end")} + var(--v-offset-top)); - `),Gr("right-start",` - right: calc(${rr} / -2); - top: calc(${Hn("right-start")} - var(--v-offset-top)); - `),Gr("right",` - right: calc(${rr} / -2); - transform: translateY(calc(${rr} / -2)) rotate(45deg); - top: 50%; - `),Gr("right-end",` - right: calc(${rr} / -2); - bottom: calc(${Hn("right-end")} + var(--v-offset-top)); - `),...OB({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const r=["right","left"].includes(t),n=r?"width":"height";return e.map(o=>{const i=o.split("-")[1]==="end",s=`calc((${`var(--v-target-${n}, 0px)`} - ${rr}) / 2)`,l=Hn(o);return Y(`[v-placement="${o}"] >`,[ne("popover-shared",[ue("center-arrow",[ne("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${r?"left":"top"}));`)])])])})})]);function Hn(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function Gr(e,t){const r=e.split("-")[0],n=["top","bottom"].includes(r)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return Y(`[v-placement="${e}"] >`,[ne("popover-shared",` - margin-${Jd[r]}: var(--n-space); - `,[ue("show-arrow",` - margin-${Jd[r]}: var(--n-space-arrow); - `),ue("overlap",` - margin: 0; - `),IT("popover-arrow-wrapper",` - right: 0; - left: 0; - top: 0; - bottom: 0; - ${r}: 100%; - ${Jd[r]}: auto; - ${n} - `,[ne("popover-arrow",t)])])])}const L2=Object.assign(Object.assign({},We.props),{to:xa.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),OR=({arrowClass:e,arrowStyle:t,arrowWrapperClass:r,arrowWrapperStyle:n,clsPrefix:o})=>$("div",{key:"__popover-arrow__",style:n,class:[`${o}-popover-arrow-wrapper`,r]},$("div",{class:[`${o}-popover-arrow`,e],style:t})),LR=pe({name:"PopoverBody",inheritAttrs:!1,props:L2,setup(e,{slots:t,attrs:r}){const{namespaceRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:i}=gt(e),a=We("Popover","-popover",BR,Fo,e,o),s=M(null),l=ze("NPopover"),c=M(null),u=M(e.show),f=M(!1);Or(()=>{const{show:w}=e;w&&!DT()&&!e.internalDeactivateImmediately&&(f.value=!0)});const d=R(()=>{const{trigger:w,onClickoutside:k}=e,A=[],{positionManuallyRef:{value:T}}=l;return T||(w==="click"&&!k&&A.push([L0,x,void 0,{capture:!0}]),w==="hover"&&A.push([sA,y])),k&&A.push([L0,x,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&f.value)&&A.push([gi,e.show]),A}),h=R(()=>{const w=e.width==="trigger"?void 0:Cc(e.width),k=[];w&&k.push({width:w});const{maxWidth:A,minWidth:T}=e;return A&&k.push({maxWidth:Cc(A)}),T&&k.push({maxWidth:Cc(T)}),i||k.push(p.value),k}),p=R(()=>{const{common:{cubicBezierEaseInOut:w,cubicBezierEaseIn:k,cubicBezierEaseOut:A},self:{space:T,spaceArrow:I,padding:D,fontSize:B,textColor:j,dividerColor:F,color:z,boxShadow:V,borderRadius:oe,arrowHeight:fe,arrowOffset:ge,arrowOffsetVertical:U}}=a.value;return{"--n-box-shadow":V,"--n-bezier":w,"--n-bezier-ease-in":k,"--n-bezier-ease-out":A,"--n-font-size":B,"--n-text-color":j,"--n-color":z,"--n-divider-color":F,"--n-border-radius":oe,"--n-arrow-height":fe,"--n-arrow-offset":ge,"--n-arrow-offset-vertical":U,"--n-padding":D,"--n-space":T,"--n-space-arrow":I}}),g=i?tr("popover",void 0,p,e):void 0;l.setBodyInstance({syncPosition:v}),Ht(()=>{l.setBodyInstance(null)}),Je(Lt(e,"show"),w=>{e.animated||(w?u.value=!0:u.value=!1)});function v(){var w;(w=s.value)===null||w===void 0||w.syncPosition()}function m(w){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(w)}function b(w){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(w)}function y(w){e.trigger==="hover"&&!S().contains(Ns(w))&&l.handleMouseMoveOutside(w)}function x(w){(e.trigger==="click"&&!S().contains(Ns(w))||e.onClickoutside)&&l.handleClickOutside(w)}function S(){return l.getTriggerElement()}ft(vp,c),ft(mp,null),ft(gp,null);function C(){if(g==null||g.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&f.value))return null;let k;const A=l.internalRenderBodyRef.value,{value:T}=o;if(A)k=A([`${T}-popover-shared`,g==null?void 0:g.themeClass.value,e.overlap&&`${T}-popover-shared--overlap`,e.showArrow&&`${T}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${T}-popover-shared--center-arrow`],c,h.value,m,b);else{const{value:I}=l.extraClassRef,{internalTrapFocus:D}=e,B=!I0(t.header)||!I0(t.footer),j=()=>{var F,z;const V=B?$(ot,null,nr(t.header,ge=>ge?$("div",{class:[`${T}-popover__header`,e.headerClass],style:e.headerStyle},ge):null),nr(t.default,ge=>ge?$("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t):null),nr(t.footer,ge=>ge?$("div",{class:[`${T}-popover__footer`,e.footerClass],style:e.footerStyle},ge):null)):e.scrollable?(F=t.default)===null||F===void 0?void 0:F.call(t):$("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t),oe=e.scrollable?$(_R,{contentClass:B?void 0:`${T}-popover__content ${(z=e.contentClass)!==null&&z!==void 0?z:""}`,contentStyle:B?void 0:e.contentStyle},{default:()=>V}):V,fe=e.showArrow?OR({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:T}):null;return[oe,fe]};k=$("div",On({class:[`${T}-popover`,`${T}-popover-shared`,g==null?void 0:g.themeClass.value,I.map(F=>`${T}-${F}`),{[`${T}-popover--scrollable`]:e.scrollable,[`${T}-popover--show-header-or-footer`]:B,[`${T}-popover--raw`]:e.raw,[`${T}-popover-shared--overlap`]:e.overlap,[`${T}-popover-shared--show-arrow`]:e.showArrow,[`${T}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:h.value,onKeydown:l.handleKeydown,onMouseenter:m,onMouseleave:b},r),D?$($w,{active:e.show,autoFocus:!0},{default:j}):j())}return lr(k,d.value)}return{displayed:f,namespace:n,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:xa(e),followerEnabled:u,renderContentNode:C}},render(){return $(SA,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===xa.tdkey},{default:()=>this.animated?$(_r,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),RR=Object.keys(L2),FR={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function MR(e,t,r){FR[t].forEach(n=>{e.props?e.props=Object.assign({},e.props):e.props={};const o=e.props[n],i=r[n];o?e.props[n]=(...a)=>{o(...a),i(...a)}:e.props[n]=i})}const R2={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:xa.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},zR=Object.assign(Object.assign(Object.assign({},We.props),R2),{internalOnAfterLeave:Function,internalRenderBody:Function}),NR=pe({name:"Popover",inheritAttrs:!1,props:zR,__popover__:!0,setup(e){const t=Ha(),r=M(null),n=R(()=>e.show),o=M(e.defaultShow),i=Nu(n,o),a=Dr(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:F}=e;return!!(F!=null&&F())},l=()=>s()?!1:i.value,c=pw(e,["arrow","showArrow"]),u=R(()=>e.overlap?!1:c.value);let f=null;const d=M(null),h=M(null),p=Dr(()=>e.x!==void 0&&e.y!==void 0);function g(F){const{"onUpdate:show":z,onUpdateShow:V,onShow:oe,onHide:fe}=e;o.value=F,z&&ar(z,F),V&&ar(V,F),F&&oe&&ar(oe,!0),F&&fe&&ar(fe,!1)}function v(){f&&f.syncPosition()}function m(){const{value:F}=d;F&&(window.clearTimeout(F),d.value=null)}function b(){const{value:F}=h;F&&(window.clearTimeout(F),h.value=null)}function y(){const F=s();if(e.trigger==="focus"&&!F){if(l())return;g(!0)}}function x(){const F=s();if(e.trigger==="focus"&&!F){if(!l())return;g(!1)}}function S(){const F=s();if(e.trigger==="hover"&&!F){if(b(),d.value!==null||l())return;const z=()=>{g(!0),d.value=null},{delay:V}=e;V===0?z():d.value=window.setTimeout(z,V)}}function C(){const F=s();if(e.trigger==="hover"&&!F){if(m(),h.value!==null||!l())return;const z=()=>{g(!1),h.value=null},{duration:V}=e;V===0?z():h.value=window.setTimeout(z,V)}}function w(){C()}function k(F){var z;l()&&(e.trigger==="click"&&(m(),b(),g(!1)),(z=e.onClickoutside)===null||z===void 0||z.call(e,F))}function A(){if(e.trigger==="click"&&!s()){m(),b();const F=!l();g(F)}}function T(F){e.internalTrapFocus&&F.key==="Escape"&&(m(),b(),g(!1))}function I(F){o.value=F}function D(){var F;return(F=r.value)===null||F===void 0?void 0:F.targetRef}function B(F){f=F}return ft("NPopover",{getTriggerElement:D,handleKeydown:T,handleMouseEnter:S,handleMouseLeave:C,handleClickOutside:k,handleMouseMoveOutside:w,setBodyInstance:B,positionManuallyRef:p,isMountedRef:t,zIndexRef:Lt(e,"zIndex"),extraClassRef:Lt(e,"internalExtraClass"),internalRenderBodyRef:Lt(e,"internalRenderBody")}),Or(()=>{i.value&&s()&&g(!1)}),{binderInstRef:r,positionManually:p,mergedShowConsideringDisabledProp:a,uncontrolledShow:o,mergedShowArrow:u,getMergedShow:l,setShow:I,handleClick:A,handleMouseEnter:S,handleMouseLeave:C,handleFocus:y,handleBlur:x,syncPosition:v}},render(){var e;const{positionManually:t,$slots:r}=this;let n,o=!1;if(!t&&(r.activator?n=$0(r,"activator"):n=$0(r,"trigger"),n)){n=tn(n),n=n.type===Ma?$("span",[n]):n;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=n.type)===null||e===void 0)&&e.__popover__)o=!0,n.props||(n.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),n.props.internalSyncTargetWithParent=!0,n.props.internalInheritedEventHandlers?n.props.internalInheritedEventHandlers=[i,...n.props.internalInheritedEventHandlers]:n.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,s=[i,...a],l={onBlur:c=>{s.forEach(u=>{u.onBlur(c)})},onFocus:c=>{s.forEach(u=>{u.onFocus(c)})},onClick:c=>{s.forEach(u=>{u.onClick(c)})},onMouseenter:c=>{s.forEach(u=>{u.onMouseenter(c)})},onMouseleave:c=>{s.forEach(u=>{u.onMouseleave(c)})}};MR(n,a?"nested":t?"manual":this.trigger,l)}}return $(oA,{ref:"binderInstRef",syncTarget:!o,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?lr($("div",{style:{position:"fixed",inset:0}}),[[Hu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:$(iA,null,{default:()=>n}),$(LR,ma(this.$props,RR,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),F2={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},HR={name:"Tag",common:xe,self(e){const{textColor2:t,primaryColorHover:r,primaryColorPressed:n,primaryColor:o,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,tagColor:f,opacityDisabled:d,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:v,closeColorPressed:m,borderRadiusSmall:b,fontSizeMini:y,fontSizeTiny:x,fontSizeSmall:S,fontSizeMedium:C,heightMini:w,heightTiny:k,heightSmall:A,heightMedium:T,buttonColor2Hover:I,buttonColor2Pressed:D,fontWeightStrong:B}=e;return Object.assign(Object.assign({},F2),{closeBorderRadius:b,heightTiny:w,heightSmall:k,heightMedium:A,heightLarge:T,borderRadius:b,opacityDisabled:d,fontSizeTiny:y,fontSizeSmall:x,fontSizeMedium:S,fontSizeLarge:C,fontWeightStrong:B,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:I,colorPressedCheckable:D,colorChecked:o,colorCheckedHover:r,colorCheckedPressed:n,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"#0000",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:v,closeColorPressed:m,borderPrimary:`1px solid ${se(o,{alpha:.3})}`,textColorPrimary:o,colorPrimary:se(o,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:qt(o,{lightness:.7}),closeIconColorHoverPrimary:qt(o,{lightness:.7}),closeIconColorPressedPrimary:qt(o,{lightness:.7}),closeColorHoverPrimary:se(o,{alpha:.16}),closeColorPressedPrimary:se(o,{alpha:.12}),borderInfo:`1px solid ${se(i,{alpha:.3})}`,textColorInfo:i,colorInfo:se(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:qt(i,{alpha:.7}),closeIconColorHoverInfo:qt(i,{alpha:.7}),closeIconColorPressedInfo:qt(i,{alpha:.7}),closeColorHoverInfo:se(i,{alpha:.16}),closeColorPressedInfo:se(i,{alpha:.12}),borderSuccess:`1px solid ${se(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:se(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:qt(a,{alpha:.7}),closeIconColorHoverSuccess:qt(a,{alpha:.7}),closeIconColorPressedSuccess:qt(a,{alpha:.7}),closeColorHoverSuccess:se(a,{alpha:.16}),closeColorPressedSuccess:se(a,{alpha:.12}),borderWarning:`1px solid ${se(s,{alpha:.3})}`,textColorWarning:s,colorWarning:se(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:qt(s,{alpha:.7}),closeIconColorHoverWarning:qt(s,{alpha:.7}),closeIconColorPressedWarning:qt(s,{alpha:.7}),closeColorHoverWarning:se(s,{alpha:.16}),closeColorPressedWarning:se(s,{alpha:.11}),borderError:`1px solid ${se(l,{alpha:.3})}`,textColorError:l,colorError:se(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:qt(l,{alpha:.7}),closeIconColorHoverError:qt(l,{alpha:.7}),closeIconColorPressedError:qt(l,{alpha:.7}),closeColorHoverError:se(l,{alpha:.16}),closeColorPressedError:se(l,{alpha:.12})})}},M2=HR,jR=e=>{const{textColor2:t,primaryColorHover:r,primaryColorPressed:n,primaryColor:o,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,opacityDisabled:f,tagColor:d,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,borderRadiusSmall:v,fontSizeMini:m,fontSizeTiny:b,fontSizeSmall:y,fontSizeMedium:x,heightMini:S,heightTiny:C,heightSmall:w,heightMedium:k,closeColorHover:A,closeColorPressed:T,buttonColor2Hover:I,buttonColor2Pressed:D,fontWeightStrong:B}=e;return Object.assign(Object.assign({},F2),{closeBorderRadius:v,heightTiny:S,heightSmall:C,heightMedium:w,heightLarge:k,borderRadius:v,opacityDisabled:f,fontSizeTiny:m,fontSizeSmall:b,fontSizeMedium:y,fontSizeLarge:x,fontWeightStrong:B,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:I,colorPressedCheckable:D,colorChecked:o,colorCheckedHover:r,colorCheckedPressed:n,border:`1px solid ${u}`,textColor:t,color:d,colorBordered:"rgb(250, 250, 252)",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:A,closeColorPressed:T,borderPrimary:`1px solid ${se(o,{alpha:.3})}`,textColorPrimary:o,colorPrimary:se(o,{alpha:.12}),colorBorderedPrimary:se(o,{alpha:.1}),closeIconColorPrimary:o,closeIconColorHoverPrimary:o,closeIconColorPressedPrimary:o,closeColorHoverPrimary:se(o,{alpha:.12}),closeColorPressedPrimary:se(o,{alpha:.18}),borderInfo:`1px solid ${se(i,{alpha:.3})}`,textColorInfo:i,colorInfo:se(i,{alpha:.12}),colorBorderedInfo:se(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:se(i,{alpha:.12}),closeColorPressedInfo:se(i,{alpha:.18}),borderSuccess:`1px solid ${se(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:se(a,{alpha:.12}),colorBorderedSuccess:se(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:se(a,{alpha:.12}),closeColorPressedSuccess:se(a,{alpha:.18}),borderWarning:`1px solid ${se(s,{alpha:.35})}`,textColorWarning:s,colorWarning:se(s,{alpha:.15}),colorBorderedWarning:se(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:se(s,{alpha:.12}),closeColorPressedWarning:se(s,{alpha:.18}),borderError:`1px solid ${se(l,{alpha:.23})}`,textColorError:l,colorError:se(l,{alpha:.1}),colorBorderedError:se(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:se(l,{alpha:.12}),closeColorPressedError:se(l,{alpha:.18})})},WR={name:"Tag",common:be,self:jR},Fp=WR,UR={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},VR=ne("tag",` - --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left); - white-space: nowrap; - position: relative; - box-sizing: border-box; - cursor: default; - display: inline-flex; - align-items: center; - flex-wrap: nowrap; - padding: var(--n-padding); - border-radius: var(--n-border-radius); - color: var(--n-text-color); - background-color: var(--n-color); - transition: - border-color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier), - opacity .3s var(--n-bezier); - line-height: 1; - height: var(--n-height); - font-size: var(--n-font-size); -`,[ue("strong",` - font-weight: var(--n-font-weight-strong); - `),le("border",` - pointer-events: none; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - border-radius: inherit; - border: var(--n-border); - transition: border-color .3s var(--n-bezier); - `),le("icon",` - display: flex; - margin: 0 4px 0 0; - color: var(--n-text-color); - transition: color .3s var(--n-bezier); - font-size: var(--n-avatar-size-override); - `),le("avatar",` - display: flex; - margin: 0 6px 0 0; - `),le("close",` - margin: var(--n-close-margin); - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - `),ue("round",` - padding: 0 calc(var(--n-height) / 3); - border-radius: calc(var(--n-height) / 2); - `,[le("icon",` - margin: 0 4px 0 calc((var(--n-height) - 8px) / -2); - `),le("avatar",` - margin: 0 6px 0 calc((var(--n-height) - 8px) / -2); - `),ue("closable",` - padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3); - `)]),ue("icon, avatar",[ue("round",` - padding: 0 calc(var(--n-height) / 3) 0 calc(var(--n-height) / 2); - `)]),ue("disabled",` - cursor: not-allowed !important; - opacity: var(--n-opacity-disabled); - `),ue("checkable",` - cursor: pointer; - box-shadow: none; - color: var(--n-text-color-checkable); - background-color: var(--n-color-checkable); - `,[xr("disabled",[Y("&:hover","background-color: var(--n-color-hover-checkable);",[xr("checked","color: var(--n-text-color-hover-checkable);")]),Y("&:active","background-color: var(--n-color-pressed-checkable);",[xr("checked","color: var(--n-text-color-pressed-checkable);")])]),ue("checked",` - color: var(--n-text-color-checked); - background-color: var(--n-color-checked); - `,[xr("disabled",[Y("&:hover","background-color: var(--n-color-checked-hover);"),Y("&:active","background-color: var(--n-color-checked-pressed);")])])])]),GR=Object.assign(Object.assign(Object.assign({},We.props),UR),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),z2="n-tag",rce=pe({name:"Tag",props:GR,setup(e){const t=M(null),{mergedBorderedRef:r,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:i}=gt(e),a=We("Tag","-tag",VR,Fp,e,n);ft(z2,{roundRef:Lt(e,"round")});function s(h){if(!e.disabled&&e.checkable){const{checked:p,onCheckedChange:g,onUpdateChecked:v,"onUpdate:checked":m}=e;v&&v(!p),m&&m(!p),g&&g(!p)}}function l(h){if(e.triggerClickOnClose||h.stopPropagation(),!e.disabled){const{onClose:p}=e;p&&ar(p,h)}}const c={setTextContent(h){const{value:p}=t;p&&(p.textContent=h)}},u=on("Tag",i,n),f=R(()=>{const{type:h,size:p,color:{color:g,textColor:v}={}}=e,{common:{cubicBezierEaseInOut:m},self:{padding:b,closeMargin:y,borderRadius:x,opacityDisabled:S,textColorCheckable:C,textColorHoverCheckable:w,textColorPressedCheckable:k,textColorChecked:A,colorCheckable:T,colorHoverCheckable:I,colorPressedCheckable:D,colorChecked:B,colorCheckedHover:j,colorCheckedPressed:F,closeBorderRadius:z,fontWeightStrong:V,[we("colorBordered",h)]:oe,[we("closeSize",p)]:fe,[we("closeIconSize",p)]:ge,[we("fontSize",p)]:U,[we("height",p)]:X,[we("color",h)]:ae,[we("textColor",h)]:Z,[we("border",h)]:Be,[we("closeIconColor",h)]:ye,[we("closeIconColorHover",h)]:q,[we("closeIconColorPressed",h)]:te,[we("closeColorHover",h)]:ie,[we("closeColorPressed",h)]:ve}}=a.value,Le=hl(y);return{"--n-font-weight-strong":V,"--n-avatar-size-override":`calc(${X} - 8px)`,"--n-bezier":m,"--n-border-radius":x,"--n-border":Be,"--n-close-icon-size":ge,"--n-close-color-pressed":ve,"--n-close-color-hover":ie,"--n-close-border-radius":z,"--n-close-icon-color":ye,"--n-close-icon-color-hover":q,"--n-close-icon-color-pressed":te,"--n-close-icon-color-disabled":ye,"--n-close-margin-top":Le.top,"--n-close-margin-right":Le.right,"--n-close-margin-bottom":Le.bottom,"--n-close-margin-left":Le.left,"--n-close-size":fe,"--n-color":g||(r.value?oe:ae),"--n-color-checkable":T,"--n-color-checked":B,"--n-color-checked-hover":j,"--n-color-checked-pressed":F,"--n-color-hover-checkable":I,"--n-color-pressed-checkable":D,"--n-font-size":U,"--n-height":X,"--n-opacity-disabled":S,"--n-padding":b,"--n-text-color":v||Z,"--n-text-color-checkable":C,"--n-text-color-checked":A,"--n-text-color-hover-checkable":w,"--n-text-color-pressed-checkable":k}}),d=o?tr("tag",R(()=>{let h="";const{type:p,size:g,color:{color:v,textColor:m}={}}=e;return h+=p[0],h+=g[0],v&&(h+=`a${js(v)}`),m&&(h+=`b${js(m)}`),r.value&&(h+="c"),h}),f,e):void 0;return Object.assign(Object.assign({},c),{rtlEnabled:u,mergedClsPrefix:n,contentRef:t,mergedBordered:r,handleClick:s,handleCloseClick:l,cssVars:o?void 0:f,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender})},render(){var e,t;const{mergedClsPrefix:r,rtlEnabled:n,closable:o,color:{borderColor:i}={},round:a,onRender:s,$slots:l}=this;s==null||s();const c=nr(l.avatar,f=>f&&$("div",{class:`${r}-tag__avatar`},f)),u=nr(l.icon,f=>f&&$("div",{class:`${r}-tag__icon`},f));return $("div",{class:[`${r}-tag`,this.themeClass,{[`${r}-tag--rtl`]:n,[`${r}-tag--strong`]:this.strong,[`${r}-tag--disabled`]:this.disabled,[`${r}-tag--checkable`]:this.checkable,[`${r}-tag--checked`]:this.checkable&&this.checked,[`${r}-tag--round`]:a,[`${r}-tag--avatar`]:c,[`${r}-tag--icon`]:u,[`${r}-tag--closable`]:o}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||c,$("span",{class:`${r}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&o?$(Wa,{clsPrefix:r,class:`${r}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?$("div",{class:`${r}-tag__border`,style:{borderColor:i}}):null)}}),N2={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},qR=e=>{const{borderRadius:t,textColor2:r,textColorDisabled:n,inputColor:o,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:f,borderColor:d,iconColor:h,iconColorDisabled:p,clearColor:g,clearColorHover:v,clearColorPressed:m,placeholderColor:b,placeholderColorDisabled:y,fontSizeTiny:x,fontSizeSmall:S,fontSizeMedium:C,fontSizeLarge:w,heightTiny:k,heightSmall:A,heightMedium:T,heightLarge:I}=e;return Object.assign(Object.assign({},N2),{fontSizeTiny:x,fontSizeSmall:S,fontSizeMedium:C,fontSizeLarge:w,heightTiny:k,heightSmall:A,heightMedium:T,heightLarge:I,borderRadius:t,textColor:r,textColorDisabled:n,placeholderColor:b,placeholderColorDisabled:y,color:o,colorDisabled:i,colorActive:o,border:`1px solid ${d}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${se(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${se(a,{alpha:.2})}`,caretColor:a,arrowColor:h,arrowColorDisabled:p,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${se(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${se(l,{alpha:.2})}`,colorActiveWarning:o,caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${f}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${f}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${se(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${se(u,{alpha:.2})}`,colorActiveError:o,caretColorError:u,clearColor:g,clearColorHover:v,clearColorPressed:m})},YR={name:"InternalSelection",common:be,peers:{Popover:Fo},self:qR},Mp=YR,KR={name:"InternalSelection",common:xe,peers:{Popover:Ti},self(e){const{borderRadius:t,textColor2:r,textColorDisabled:n,inputColor:o,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:f,iconColor:d,iconColorDisabled:h,clearColor:p,clearColorHover:g,clearColorPressed:v,placeholderColor:m,placeholderColorDisabled:b,fontSizeTiny:y,fontSizeSmall:x,fontSizeMedium:S,fontSizeLarge:C,heightTiny:w,heightSmall:k,heightMedium:A,heightLarge:T}=e;return Object.assign(Object.assign({},N2),{fontSizeTiny:y,fontSizeSmall:x,fontSizeMedium:S,fontSizeLarge:C,heightTiny:w,heightSmall:k,heightMedium:A,heightLarge:T,borderRadius:t,textColor:r,textColorDisabled:n,placeholderColor:m,placeholderColorDisabled:b,color:o,colorDisabled:i,colorActive:se(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${se(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${se(a,{alpha:.4})}`,caretColor:a,arrowColor:d,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${se(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${se(l,{alpha:.4})}`,colorActiveWarning:se(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${f}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${f}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${se(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${se(u,{alpha:.4})}`,colorActiveError:se(u,{alpha:.1}),caretColorError:u,clearColor:p,clearColorHover:g,clearColorPressed:v})}},zp=KR,{cubicBezierEaseInOut:fo}=Ro;function XR({duration:e=".2s",delay:t=".1s"}={}){return[Y("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),Y("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` - opacity: 0!important; - margin-left: 0!important; - margin-right: 0!important; - `),Y("&.fade-in-width-expand-transition-leave-active",` - overflow: hidden; - transition: - opacity ${e} ${fo}, - max-width ${e} ${fo} ${t}, - margin-left ${e} ${fo} ${t}, - margin-right ${e} ${fo} ${t}; - `),Y("&.fade-in-width-expand-transition-enter-active",` - overflow: hidden; - transition: - opacity ${e} ${fo} ${t}, - max-width ${e} ${fo}, - margin-left ${e} ${fo}, - margin-right ${e} ${fo}; - `)]}const H2={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},QR={name:"Alert",common:xe,self(e){const{lineHeight:t,borderRadius:r,fontWeightStrong:n,dividerColor:o,inputColor:i,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:f,closeIconColorPressed:d,infoColorSuppl:h,successColorSuppl:p,warningColorSuppl:g,errorColorSuppl:v,fontSize:m}=e;return Object.assign(Object.assign({},H2),{fontSize:m,lineHeight:t,titleFontWeight:n,borderRadius:r,border:`1px solid ${o}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:r,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:f,closeIconColorPressed:d,borderInfo:`1px solid ${se(h,{alpha:.35})}`,colorInfo:se(h,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:h,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:f,closeIconColorPressedInfo:d,borderSuccess:`1px solid ${se(p,{alpha:.35})}`,colorSuccess:se(p,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:p,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:d,borderWarning:`1px solid ${se(g,{alpha:.35})}`,colorWarning:se(g,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:f,closeIconColorPressedWarning:d,borderError:`1px solid ${se(v,{alpha:.35})}`,colorError:se(v,{alpha:.25}),titleTextColorError:a,iconColorError:v,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:f,closeIconColorPressedError:d})}},ZR=QR,JR=e=>{const{lineHeight:t,borderRadius:r,fontWeightStrong:n,baseColor:o,dividerColor:i,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:u,closeIconColor:f,closeIconColorHover:d,closeIconColorPressed:h,infoColor:p,successColor:g,warningColor:v,errorColor:m,fontSize:b}=e;return Object.assign(Object.assign({},H2),{fontSize:b,lineHeight:t,titleFontWeight:n,borderRadius:r,border:`1px solid ${i}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:r,closeColorHover:c,closeColorPressed:u,closeIconColor:f,closeIconColorHover:d,closeIconColorPressed:h,borderInfo:`1px solid ${Pe(o,se(p,{alpha:.25}))}`,colorInfo:Pe(o,se(p,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:p,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:f,closeIconColorHoverInfo:d,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${Pe(o,se(g,{alpha:.25}))}`,colorSuccess:Pe(o,se(g,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:g,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:f,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${Pe(o,se(v,{alpha:.33}))}`,colorWarning:Pe(o,se(v,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:f,closeIconColorHoverWarning:d,closeIconColorPressedWarning:h,borderError:`1px solid ${Pe(o,se(m,{alpha:.25}))}`,colorError:Pe(o,se(m,{alpha:.08})),titleTextColorError:s,iconColorError:m,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:f,closeIconColorHoverError:d,closeIconColorPressedError:h})},eF={name:"Alert",common:be,self:JR},j2=eF,{cubicBezierEaseInOut:wn,cubicBezierEaseOut:tF,cubicBezierEaseIn:rF}=Ro;function W2({overflow:e="hidden",duration:t=".3s",originalTransition:r="",leavingDelay:n="0s",foldPadding:o=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[Y(`&.fade-in-height-expand-transition-${c}-from, - &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),Y(`&.fade-in-height-expand-transition-${c}-to, - &.fade-in-height-expand-transition-${l}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:o?"0 !important":void 0,paddingBottom:o?"0 !important":void 0})),Y(`&.fade-in-height-expand-transition-${c}-active`,` - overflow: ${e}; - transition: - max-height ${t} ${wn} ${n}, - opacity ${t} ${tF} ${n}, - margin-top ${t} ${wn} ${n}, - margin-bottom ${t} ${wn} ${n}, - padding-top ${t} ${wn} ${n}, - padding-bottom ${t} ${wn} ${n} - ${r?","+r:""} - `),Y(`&.fade-in-height-expand-transition-${l}-active`,` - overflow: ${e}; - transition: - max-height ${t} ${wn}, - opacity ${t} ${rF}, - margin-top ${t} ${wn}, - margin-bottom ${t} ${wn}, - padding-top ${t} ${wn}, - padding-bottom ${t} ${wn} - ${r?","+r:""} - `)]}const nF=ne("alert",` - line-height: var(--n-line-height); - border-radius: var(--n-border-radius); - position: relative; - transition: background-color .3s var(--n-bezier); - background-color: var(--n-color); - text-align: start; - word-break: break-word; -`,[le("border",` - border-radius: inherit; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - transition: border-color .3s var(--n-bezier); - border: var(--n-border); - pointer-events: none; - `),ue("closable",[ne("alert-body",[le("title",` - padding-right: 24px; - `)])]),le("icon",{color:"var(--n-icon-color)"}),ne("alert-body",{padding:"var(--n-padding)"},[le("title",{color:"var(--n-title-text-color)"}),le("content",{color:"var(--n-content-text-color)"})]),W2({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),le("icon",` - position: absolute; - left: 0; - top: 0; - align-items: center; - justify-content: center; - display: flex; - width: var(--n-icon-size); - height: var(--n-icon-size); - font-size: var(--n-icon-size); - margin: var(--n-icon-margin); - `),le("close",` - transition: - color .3s var(--n-bezier), - background-color .3s var(--n-bezier); - position: absolute; - right: 0; - top: 0; - margin: var(--n-close-margin); - `),ue("show-icon",[ne("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),ue("right-adjust",[ne("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),ne("alert-body",` - border-radius: var(--n-border-radius); - transition: border-color .3s var(--n-bezier); - `,[le("title",` - transition: color .3s var(--n-bezier); - font-size: 16px; - line-height: 19px; - font-weight: var(--n-title-font-weight); - `,[Y("& +",[le("content",{marginTop:"9px"})])]),le("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),le("icon",{transition:"color .3s var(--n-bezier)"})]),oF=Object.assign(Object.assign({},We.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),iF=pe({name:"Alert",inheritAttrs:!1,props:oF,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:r,inlineThemeDisabled:n,mergedRtlRef:o}=gt(e),i=We("Alert","-alert",nF,j2,e,t),a=on("Alert",o,t),s=R(()=>{const{common:{cubicBezierEaseInOut:h},self:p}=i.value,{fontSize:g,borderRadius:v,titleFontWeight:m,lineHeight:b,iconSize:y,iconMargin:x,iconMarginRtl:S,closeIconSize:C,closeBorderRadius:w,closeSize:k,closeMargin:A,closeMarginRtl:T,padding:I}=p,{type:D}=e,{left:B,right:j}=hl(x);return{"--n-bezier":h,"--n-color":p[we("color",D)],"--n-close-icon-size":C,"--n-close-border-radius":w,"--n-close-color-hover":p[we("closeColorHover",D)],"--n-close-color-pressed":p[we("closeColorPressed",D)],"--n-close-icon-color":p[we("closeIconColor",D)],"--n-close-icon-color-hover":p[we("closeIconColorHover",D)],"--n-close-icon-color-pressed":p[we("closeIconColorPressed",D)],"--n-icon-color":p[we("iconColor",D)],"--n-border":p[we("border",D)],"--n-title-text-color":p[we("titleTextColor",D)],"--n-content-text-color":p[we("contentTextColor",D)],"--n-line-height":b,"--n-border-radius":v,"--n-font-size":g,"--n-title-font-weight":m,"--n-icon-size":y,"--n-icon-margin":x,"--n-icon-margin-rtl":S,"--n-close-size":k,"--n-close-margin":A,"--n-close-margin-rtl":T,"--n-padding":I,"--n-icon-margin-left":B,"--n-icon-margin-right":j}}),l=n?tr("alert",R(()=>e.type[0]),s,e):void 0,c=M(!0),u=()=>{const{onAfterLeave:h,onAfterHide:p}=e;h&&h(),p&&p()};return{rtlEnabled:a,mergedClsPrefix:t,mergedBordered:r,visible:c,handleCloseClick:()=>{var h;Promise.resolve((h=e.onClose)===null||h===void 0?void 0:h.call(e)).then(p=>{p!==!1&&(c.value=!1)})},handleAfterLeave:()=>{u()},mergedTheme:i,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),$(Lp,{onAfterLeave:this.handleAfterLeave},{default:()=>{const{mergedClsPrefix:t,$slots:r}=this,n={class:[`${t}-alert`,this.themeClass,this.closable&&`${t}-alert--closable`,this.showIcon&&`${t}-alert--show-icon`,!this.title&&this.closable&&`${t}-alert--right-adjust`,this.rtlEnabled&&`${t}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?$("div",Object.assign({},On(this.$attrs,n)),this.closable&&$(Wa,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&$("div",{class:`${t}-alert__border`}),this.showIcon&&$("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},Xc(r.icon,()=>[$(dr,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return $(Cl,null);case"info":return $(Ca,null);case"warning":return $(wl,null);case"error":return $(yl,null);default:return null}}})])),$("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},nr(r.header,o=>{const i=o||this.title;return i?$("div",{class:`${t}-alert-body__title`},i):null}),r.default&&$("div",{class:`${t}-alert-body__content`},r))):null}})}}),aF={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},U2=e=>{const{borderRadius:t,railColor:r,primaryColor:n,primaryColorHover:o,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},aF),{borderRadius:t,railColor:r,railColorActive:n,linkColor:se(n,{alpha:.15}),linkTextColor:a,linkTextColorHover:o,linkTextColorPressed:i,linkTextColorActive:n})},sF={name:"Anchor",common:be,self:U2},lF=sF,cF={name:"Anchor",common:xe,self:U2},uF=cF,dF=eo&&"chrome"in window;eo&&navigator.userAgent.includes("Firefox");const fF=eo&&navigator.userAgent.includes("Safari")&&!dF,V2={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},hF={name:"Input",common:xe,self(e){const{textColor2:t,textColor3:r,textColorDisabled:n,primaryColor:o,primaryColorHover:i,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:f,borderRadius:d,lineHeight:h,fontSizeTiny:p,fontSizeSmall:g,fontSizeMedium:v,fontSizeLarge:m,heightTiny:b,heightSmall:y,heightMedium:x,heightLarge:S,clearColor:C,clearColorHover:w,clearColorPressed:k,placeholderColor:A,placeholderColorDisabled:T,iconColor:I,iconColorDisabled:D,iconColorHover:B,iconColorPressed:j}=e;return Object.assign(Object.assign({},V2),{countTextColorDisabled:n,countTextColor:r,heightTiny:b,heightSmall:y,heightMedium:x,heightLarge:S,fontSizeTiny:p,fontSizeSmall:g,fontSizeMedium:v,fontSizeLarge:m,lineHeight:h,lineHeightTextarea:h,borderRadius:d,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:n,textDecorationColor:t,groupLabelTextColor:t,caretColor:o,placeholderColor:A,placeholderColorDisabled:T,color:a,colorDisabled:s,colorFocus:se(o,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${se(o,{alpha:.3})}`,loadingColor:o,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:se(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${se(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${f}`,colorFocusError:se(u,{alpha:.1}),borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 8px 0 ${se(u,{alpha:.3})}`,caretColorError:u,clearColor:C,clearColorHover:w,clearColorPressed:k,iconColor:I,iconColorDisabled:D,iconColorHover:B,iconColorPressed:j,suffixTextColor:t})}},an=hF,pF=e=>{const{textColor2:t,textColor3:r,textColorDisabled:n,primaryColor:o,primaryColorHover:i,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:u,errorColor:f,errorColorHover:d,borderRadius:h,lineHeight:p,fontSizeTiny:g,fontSizeSmall:v,fontSizeMedium:m,fontSizeLarge:b,heightTiny:y,heightSmall:x,heightMedium:S,heightLarge:C,actionColor:w,clearColor:k,clearColorHover:A,clearColorPressed:T,placeholderColor:I,placeholderColorDisabled:D,iconColor:B,iconColorDisabled:j,iconColorHover:F,iconColorPressed:z}=e;return Object.assign(Object.assign({},V2),{countTextColorDisabled:n,countTextColor:r,heightTiny:y,heightSmall:x,heightMedium:S,heightLarge:C,fontSizeTiny:g,fontSizeSmall:v,fontSizeMedium:m,fontSizeLarge:b,lineHeight:p,lineHeightTextarea:p,borderRadius:h,iconSize:"16px",groupLabelColor:w,groupLabelTextColor:t,textColor:t,textColorDisabled:n,textDecorationColor:t,caretColor:o,placeholderColor:I,placeholderColorDisabled:D,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${se(o,{alpha:.2})}`,loadingColor:o,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${se(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:f,borderError:`1px solid ${f}`,borderHoverError:`1px solid ${d}`,colorFocusError:a,borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 0 2px ${se(f,{alpha:.2})}`,caretColorError:f,clearColor:k,clearColorHover:A,clearColorPressed:T,iconColor:B,iconColorDisabled:j,iconColorHover:F,iconColorPressed:z,suffixTextColor:t})},gF={name:"Input",common:be,self:pF},sn=gF;function G2(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const mF={name:"AutoComplete",common:be,peers:{InternalSelectMenu:Sl,Input:sn},self:G2},vF=mF,bF={name:"AutoComplete",common:xe,peers:{InternalSelectMenu:_l,Input:an},self:G2},xF=bF,q2=eo&&"loading"in document.createElement("img"),yF=(e={})=>{var t;const{root:r=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(t=e.threshold)!==null&&t!==void 0?t:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof r=="string"?document.querySelector(r):r)||document.documentElement})}},ef=new WeakMap,tf=new WeakMap,rf=new WeakMap,Y2=(e,t,r)=>{if(!e)return()=>{};const n=yF(t),{root:o}=n.options;let i;const a=ef.get(o);a?i=a:(i=new Map,ef.set(o,i));let s,l;i.has(n.hash)?(l=i.get(n.hash),l[1].has(e)||(s=l[0],l[1].add(e),s.observe(e))):(s=new IntersectionObserver(f=>{f.forEach(d=>{if(d.isIntersecting){const h=tf.get(d.target),p=rf.get(d.target);h&&h(),p&&(p.value=!0)}})},n.options),s.observe(e),l=[s,new Set([e])],i.set(n.hash,l));let c=!1;const u=()=>{c||(tf.delete(e),rf.delete(e),c=!0,l[1].has(e)&&(l[0].unobserve(e),l[1].delete(e)),l[1].size<=0&&i.delete(n.hash),i.size||ef.delete(o))};return tf.set(e,u),rf.set(e,r),u},K2=e=>{const{borderRadius:t,avatarColor:r,cardColor:n,fontSize:o,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:u,popoverColor:f}=e;return{borderRadius:t,fontSize:o,border:`2px solid ${n}`,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:Pe(n,r),colorModal:Pe(u,r),colorPopover:Pe(f,r)}},CF={name:"Avatar",common:be,self:K2},Np=CF,wF={name:"Avatar",common:xe,self:K2},X2=wF,SF="n-avatar-group",_F=ne("avatar",` - width: var(--n-merged-size); - height: var(--n-merged-size); - color: #FFF; - font-size: var(--n-font-size); - display: inline-flex; - position: relative; - overflow: hidden; - text-align: center; - border: var(--n-border); - border-radius: var(--n-border-radius); - --n-merged-color: var(--n-color); - background-color: var(--n-merged-color); - transition: - border-color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); -`,[Mu(Y("&","--n-merged-color: var(--n-color-modal);")),hp(Y("&","--n-merged-color: var(--n-color-popover);")),Y("img",` - width: 100%; - height: 100%; - `),le("text",` - white-space: nowrap; - display: inline-block; - position: absolute; - left: 50%; - top: 50%; - `),ne("icon",` - vertical-align: bottom; - font-size: calc(var(--n-merged-size) - 6px); - `),le("text","line-height: 1.25")]),EF=Object.assign(Object.assign({},We.props),{size:[String,Number],src:String,circle:{type:Boolean,default:void 0},objectFit:String,round:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},onError:Function,fallbackSrc:String,intersectionObserverOptions:Object,lazy:Boolean,onLoad:Function,renderPlaceholder:Function,renderFallback:Function,imgProps:Object,color:String}),kF=pe({name:"Avatar",props:EF,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=gt(e),n=M(!1);let o=null;const i=M(null),a=M(null),s=()=>{const{value:b}=i;if(b&&(o===null||o!==b.innerHTML)){o=b.innerHTML;const{value:y}=a;if(y){const{offsetWidth:x,offsetHeight:S}=y,{offsetWidth:C,offsetHeight:w}=b,k=.9,A=Math.min(x/C*k,S/w*k,1);b.style.transform=`translateX(-50%) translateY(-50%) scale(${A})`}}},l=ze(SF,null),c=R(()=>{const{size:b}=e;if(b)return b;const{size:y}=l||{};return y||"medium"}),u=We("Avatar","-avatar",_F,Np,e,t),f=ze(z2,null),d=R(()=>{if(l)return!0;const{round:b,circle:y}=e;return b!==void 0||y!==void 0?b||y:f?f.roundRef.value:!1}),h=R(()=>l?!0:e.bordered||!1),p=R(()=>{const b=c.value,y=d.value,x=h.value,{color:S}=e,{self:{borderRadius:C,fontSize:w,color:k,border:A,colorModal:T,colorPopover:I},common:{cubicBezierEaseInOut:D}}=u.value;let B;return typeof b=="number"?B=`${b}px`:B=u.value.self[we("height",b)],{"--n-font-size":w,"--n-border":x?A:"none","--n-border-radius":y?"50%":C,"--n-color":S||k,"--n-color-modal":S||T,"--n-color-popover":S||I,"--n-bezier":D,"--n-merged-size":`var(--n-avatar-size-override, ${B})`}}),g=r?tr("avatar",R(()=>{const b=c.value,y=d.value,x=h.value,{color:S}=e;let C="";return b&&(typeof b=="number"?C+=`a${b}`:C+=b[0]),y&&(C+="b"),x&&(C+="c"),S&&(C+=js(S)),C}),p,e):void 0,v=M(!e.lazy);_t(()=>{if(e.lazy&&e.intersectionObserverOptions){let b;const y=Or(()=>{b==null||b(),b=void 0,e.lazy&&(b=Y2(a.value,e.intersectionObserverOptions,v))});Ht(()=>{y(),b==null||b()})}}),Je(()=>{var b;return e.src||((b=e.imgProps)===null||b===void 0?void 0:b.src)},()=>{n.value=!1});const m=M(!e.lazy);return{textRef:i,selfRef:a,mergedRoundRef:d,mergedClsPrefix:t,fitTextTransform:s,cssVars:r?void 0:p,themeClass:g==null?void 0:g.themeClass,onRender:g==null?void 0:g.onRender,hasLoadError:n,shouldStartLoading:v,loaded:m,mergedOnError:b=>{if(!v.value)return;n.value=!0;const{onError:y,imgProps:{onError:x}={}}=e;y==null||y(b),x==null||x(b)},mergedOnLoad:b=>{const{onLoad:y,imgProps:{onLoad:x}={}}=e;y==null||y(b),x==null||x(b),m.value=!0}}},render(){var e,t;const{$slots:r,src:n,mergedClsPrefix:o,lazy:i,onRender:a,loaded:s,hasLoadError:l,imgProps:c={}}=this;a==null||a();let u;const f=!s&&!l&&(this.renderPlaceholder?this.renderPlaceholder():(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e));return this.hasLoadError?u=this.renderFallback?this.renderFallback():Xc(r.fallback,()=>[$("img",{src:this.fallbackSrc,style:{objectFit:this.objectFit}})]):u=nr(r.default,d=>{if(d)return $(Jc,{onResize:this.fitTextTransform},{default:()=>$("span",{ref:"textRef",class:`${o}-avatar__text`},d)});if(n||c.src){const h=this.src||c.src;return $("img",Object.assign(Object.assign({},c),{loading:q2&&!this.intersectionObserverOptions&&i?"lazy":"eager",src:i&&this.intersectionObserverOptions?this.shouldStartLoading?h:void 0:h,"data-image-src":h,onLoad:this.mergedOnLoad,onError:this.mergedOnError,style:[c.style||"",{objectFit:this.objectFit},f?{height:"0",width:"0",visibility:"hidden",position:"absolute"}:""]}))}}),$("span",{ref:"selfRef",class:[`${o}-avatar`,this.themeClass],style:this.cssVars},u,i&&f)}}),Q2=()=>({gap:"-12px"}),TF={name:"AvatarGroup",common:be,peers:{Avatar:Np},self:Q2},AF=TF,PF={name:"AvatarGroup",common:xe,peers:{Avatar:X2},self:Q2},$F=PF,Z2={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},IF={name:"BackTop",common:xe,self(e){const{popoverColor:t,textColor2:r,primaryColorHover:n,primaryColorPressed:o}=e;return Object.assign(Object.assign({},Z2),{color:t,textColor:r,iconColor:r,iconColorHover:n,iconColorPressed:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},DF=IF,BF=e=>{const{popoverColor:t,textColor2:r,primaryColorHover:n,primaryColorPressed:o}=e;return Object.assign(Object.assign({},Z2),{color:t,textColor:r,iconColor:r,iconColorHover:n,iconColorPressed:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},OF={name:"BackTop",common:be,self:BF},LF=OF,RF={name:"Badge",common:xe,self(e){const{errorColorSuppl:t,infoColorSuppl:r,successColorSuppl:n,warningColorSuppl:o,fontFamily:i}=e;return{color:t,colorInfo:r,colorSuccess:n,colorError:t,colorWarning:o,fontSize:"12px",fontFamily:i}}},FF=RF,MF=e=>{const{errorColor:t,infoColor:r,successColor:n,warningColor:o,fontFamily:i}=e;return{color:t,colorInfo:r,colorSuccess:n,colorError:t,colorWarning:o,fontSize:"12px",fontFamily:i}},zF={name:"Badge",common:be,self:MF},NF=zF,HF={fontWeightActive:"400"},J2=e=>{const{fontSize:t,textColor3:r,textColor2:n,borderRadius:o,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},HF),{fontSize:t,itemLineHeight:"1.25",itemTextColor:r,itemTextColorHover:n,itemTextColorPressed:n,itemTextColorActive:n,itemBorderRadius:o,itemColorHover:i,itemColorPressed:a,separatorColor:r})},jF={name:"Breadcrumb",common:be,self:J2},WF=jF,UF={name:"Breadcrumb",common:xe,self:J2},VF=UF;function qo(e){return Pe(e,[255,255,255,.16])}function ec(e){return Pe(e,[0,0,0,.12])}const eS="n-button-group",GF={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},tS=e=>{const{heightTiny:t,heightSmall:r,heightMedium:n,heightLarge:o,borderRadius:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,textColor2:f,textColor3:d,primaryColorHover:h,primaryColorPressed:p,borderColor:g,primaryColor:v,baseColor:m,infoColor:b,infoColorHover:y,infoColorPressed:x,successColor:S,successColorHover:C,successColorPressed:w,warningColor:k,warningColorHover:A,warningColorPressed:T,errorColor:I,errorColorHover:D,errorColorPressed:B,fontWeight:j,buttonColor2:F,buttonColor2Hover:z,buttonColor2Pressed:V,fontWeightStrong:oe}=e;return Object.assign(Object.assign({},GF),{heightTiny:t,heightSmall:r,heightMedium:n,heightLarge:o,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:F,colorSecondaryHover:z,colorSecondaryPressed:V,colorTertiary:F,colorTertiaryHover:z,colorTertiaryPressed:V,colorQuaternary:"#0000",colorQuaternaryHover:z,colorQuaternaryPressed:V,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:f,textColorTertiary:d,textColorHover:h,textColorPressed:p,textColorFocus:h,textColorDisabled:f,textColorText:f,textColorTextHover:h,textColorTextPressed:p,textColorTextFocus:h,textColorTextDisabled:f,textColorGhost:f,textColorGhostHover:h,textColorGhostPressed:p,textColorGhostFocus:h,textColorGhostDisabled:f,border:`1px solid ${g}`,borderHover:`1px solid ${h}`,borderPressed:`1px solid ${p}`,borderFocus:`1px solid ${h}`,borderDisabled:`1px solid ${g}`,rippleColor:v,colorPrimary:v,colorHoverPrimary:h,colorPressedPrimary:p,colorFocusPrimary:h,colorDisabledPrimary:v,textColorPrimary:m,textColorHoverPrimary:m,textColorPressedPrimary:m,textColorFocusPrimary:m,textColorDisabledPrimary:m,textColorTextPrimary:v,textColorTextHoverPrimary:h,textColorTextPressedPrimary:p,textColorTextFocusPrimary:h,textColorTextDisabledPrimary:f,textColorGhostPrimary:v,textColorGhostHoverPrimary:h,textColorGhostPressedPrimary:p,textColorGhostFocusPrimary:h,textColorGhostDisabledPrimary:v,borderPrimary:`1px solid ${v}`,borderHoverPrimary:`1px solid ${h}`,borderPressedPrimary:`1px solid ${p}`,borderFocusPrimary:`1px solid ${h}`,borderDisabledPrimary:`1px solid ${v}`,rippleColorPrimary:v,colorInfo:b,colorHoverInfo:y,colorPressedInfo:x,colorFocusInfo:y,colorDisabledInfo:b,textColorInfo:m,textColorHoverInfo:m,textColorPressedInfo:m,textColorFocusInfo:m,textColorDisabledInfo:m,textColorTextInfo:b,textColorTextHoverInfo:y,textColorTextPressedInfo:x,textColorTextFocusInfo:y,textColorTextDisabledInfo:f,textColorGhostInfo:b,textColorGhostHoverInfo:y,textColorGhostPressedInfo:x,textColorGhostFocusInfo:y,textColorGhostDisabledInfo:b,borderInfo:`1px solid ${b}`,borderHoverInfo:`1px solid ${y}`,borderPressedInfo:`1px solid ${x}`,borderFocusInfo:`1px solid ${y}`,borderDisabledInfo:`1px solid ${b}`,rippleColorInfo:b,colorSuccess:S,colorHoverSuccess:C,colorPressedSuccess:w,colorFocusSuccess:C,colorDisabledSuccess:S,textColorSuccess:m,textColorHoverSuccess:m,textColorPressedSuccess:m,textColorFocusSuccess:m,textColorDisabledSuccess:m,textColorTextSuccess:S,textColorTextHoverSuccess:C,textColorTextPressedSuccess:w,textColorTextFocusSuccess:C,textColorTextDisabledSuccess:f,textColorGhostSuccess:S,textColorGhostHoverSuccess:C,textColorGhostPressedSuccess:w,textColorGhostFocusSuccess:C,textColorGhostDisabledSuccess:S,borderSuccess:`1px solid ${S}`,borderHoverSuccess:`1px solid ${C}`,borderPressedSuccess:`1px solid ${w}`,borderFocusSuccess:`1px solid ${C}`,borderDisabledSuccess:`1px solid ${S}`,rippleColorSuccess:S,colorWarning:k,colorHoverWarning:A,colorPressedWarning:T,colorFocusWarning:A,colorDisabledWarning:k,textColorWarning:m,textColorHoverWarning:m,textColorPressedWarning:m,textColorFocusWarning:m,textColorDisabledWarning:m,textColorTextWarning:k,textColorTextHoverWarning:A,textColorTextPressedWarning:T,textColorTextFocusWarning:A,textColorTextDisabledWarning:f,textColorGhostWarning:k,textColorGhostHoverWarning:A,textColorGhostPressedWarning:T,textColorGhostFocusWarning:A,textColorGhostDisabledWarning:k,borderWarning:`1px solid ${k}`,borderHoverWarning:`1px solid ${A}`,borderPressedWarning:`1px solid ${T}`,borderFocusWarning:`1px solid ${A}`,borderDisabledWarning:`1px solid ${k}`,rippleColorWarning:k,colorError:I,colorHoverError:D,colorPressedError:B,colorFocusError:D,colorDisabledError:I,textColorError:m,textColorHoverError:m,textColorPressedError:m,textColorFocusError:m,textColorDisabledError:m,textColorTextError:I,textColorTextHoverError:D,textColorTextPressedError:B,textColorTextFocusError:D,textColorTextDisabledError:f,textColorGhostError:I,textColorGhostHoverError:D,textColorGhostPressedError:B,textColorGhostFocusError:D,textColorGhostDisabledError:I,borderError:`1px solid ${I}`,borderHoverError:`1px solid ${D}`,borderPressedError:`1px solid ${B}`,borderFocusError:`1px solid ${D}`,borderDisabledError:`1px solid ${I}`,rippleColorError:I,waveOpacity:"0.6",fontWeight:j,fontWeightStrong:oe})},qF={name:"Button",common:be,self:tS},Tr=qF,YF={name:"Button",common:xe,self(e){const t=tS(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Rr=YF,KF=Y([ne("button",` - margin: 0; - font-weight: var(--n-font-weight); - line-height: 1; - font-family: inherit; - padding: var(--n-padding); - height: var(--n-height); - font-size: var(--n-font-size); - border-radius: var(--n-border-radius); - color: var(--n-text-color); - background-color: var(--n-color); - width: var(--n-width); - white-space: nowrap; - outline: none; - position: relative; - z-index: auto; - border: none; - display: inline-flex; - flex-wrap: nowrap; - flex-shrink: 0; - align-items: center; - justify-content: center; - user-select: none; - -webkit-user-select: none; - text-align: center; - cursor: pointer; - text-decoration: none; - transition: - color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - opacity .3s var(--n-bezier), - border-color .3s var(--n-bezier); - `,[ue("color",[le("border",{borderColor:"var(--n-border-color)"}),ue("disabled",[le("border",{borderColor:"var(--n-border-color-disabled)"})]),xr("disabled",[Y("&:focus",[le("state-border",{borderColor:"var(--n-border-color-focus)"})]),Y("&:hover",[le("state-border",{borderColor:"var(--n-border-color-hover)"})]),Y("&:active",[le("state-border",{borderColor:"var(--n-border-color-pressed)"})]),ue("pressed",[le("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),ue("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[le("border",{border:"var(--n-border-disabled)"})]),xr("disabled",[Y("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[le("state-border",{border:"var(--n-border-focus)"})]),Y("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[le("state-border",{border:"var(--n-border-hover)"})]),Y("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[le("state-border",{border:"var(--n-border-pressed)"})]),ue("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[le("state-border",{border:"var(--n-border-pressed)"})])]),ue("loading","cursor: wait;"),ne("base-wave",` - pointer-events: none; - top: 0; - right: 0; - bottom: 0; - left: 0; - animation-iteration-count: 1; - animation-duration: var(--n-ripple-duration); - animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out); - `,[ue("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),eo&&"MozBoxSizing"in document.createElement("div").style?Y("&::moz-focus-inner",{border:0}):null,le("border, state-border",` - position: absolute; - left: 0; - top: 0; - right: 0; - bottom: 0; - border-radius: inherit; - transition: border-color .3s var(--n-bezier); - pointer-events: none; - `),le("border",{border:"var(--n-border)"}),le("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),le("icon",` - margin: var(--n-icon-margin); - margin-left: 0; - height: var(--n-icon-size); - width: var(--n-icon-size); - max-width: var(--n-icon-size); - font-size: var(--n-icon-size); - position: relative; - flex-shrink: 0; - `,[ne("icon-slot",` - height: var(--n-icon-size); - width: var(--n-icon-size); - position: absolute; - left: 0; - top: 50%; - transform: translateY(-50%); - display: flex; - align-items: center; - justify-content: center; - `,[lu({top:"50%",originalTransform:"translateY(-50%)"})]),XR()]),le("content",` - display: flex; - align-items: center; - flex-wrap: nowrap; - min-width: 0; - `,[Y("~",[le("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),ue("block",` - display: flex; - width: 100%; - `),ue("dashed",[le("border, state-border",{borderStyle:"dashed !important"})]),ue("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),Y("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),Y("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),XF=Object.assign(Object.assign({},We.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!fF}}),rS=pe({name:"Button",props:XF,setup(e){const t=M(null),r=M(null),n=M(!1),o=Dr(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=ze(eS,{}),{mergedSizeRef:a}=Cp({},{defaultSize:"medium",mergedSize:x=>{const{size:S}=e;if(S)return S;const{size:C}=i;if(C)return C;const{mergedSize:w}=x||{};return w?w.value:"medium"}}),s=R(()=>e.focusable&&!e.disabled),l=x=>{var S;s.value||x.preventDefault(),!e.nativeFocusBehavior&&(x.preventDefault(),!e.disabled&&s.value&&((S=t.value)===null||S===void 0||S.focus({preventScroll:!0})))},c=x=>{var S;if(!e.disabled&&!e.loading){const{onClick:C}=e;C&&ar(C,x),e.text||(S=r.value)===null||S===void 0||S.play()}},u=x=>{switch(x.key){case"Enter":if(!e.keyboard)return;n.value=!1}},f=x=>{switch(x.key){case"Enter":if(!e.keyboard||e.loading){x.preventDefault();return}n.value=!0}},d=()=>{n.value=!1},{inlineThemeDisabled:h,mergedClsPrefixRef:p,mergedRtlRef:g}=gt(e),v=We("Button","-button",KF,Tr,e,p),m=on("Button",g,p),b=R(()=>{const x=v.value,{common:{cubicBezierEaseInOut:S,cubicBezierEaseOut:C},self:w}=x,{rippleDuration:k,opacityDisabled:A,fontWeight:T,fontWeightStrong:I}=w,D=a.value,{dashed:B,type:j,ghost:F,text:z,color:V,round:oe,circle:fe,textColor:ge,secondary:U,tertiary:X,quaternary:ae,strong:Z}=e,Be={"font-weight":Z?I:T};let ye={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const q=j==="tertiary",te=j==="default",ie=q?"default":j;if(z){const H=ge||V;ye={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":H||w[we("textColorText",ie)],"--n-text-color-hover":H?qo(H):w[we("textColorTextHover",ie)],"--n-text-color-pressed":H?ec(H):w[we("textColorTextPressed",ie)],"--n-text-color-focus":H?qo(H):w[we("textColorTextHover",ie)],"--n-text-color-disabled":H||w[we("textColorTextDisabled",ie)]}}else if(F||B){const H=ge||V;ye={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":V||w[we("rippleColor",ie)],"--n-text-color":H||w[we("textColorGhost",ie)],"--n-text-color-hover":H?qo(H):w[we("textColorGhostHover",ie)],"--n-text-color-pressed":H?ec(H):w[we("textColorGhostPressed",ie)],"--n-text-color-focus":H?qo(H):w[we("textColorGhostHover",ie)],"--n-text-color-disabled":H||w[we("textColorGhostDisabled",ie)]}}else if(U){const H=te?w.textColor:q?w.textColorTertiary:w[we("color",ie)],ee=V||H,Q=j!=="default"&&j!=="tertiary";ye={"--n-color":Q?se(ee,{alpha:Number(w.colorOpacitySecondary)}):w.colorSecondary,"--n-color-hover":Q?se(ee,{alpha:Number(w.colorOpacitySecondaryHover)}):w.colorSecondaryHover,"--n-color-pressed":Q?se(ee,{alpha:Number(w.colorOpacitySecondaryPressed)}):w.colorSecondaryPressed,"--n-color-focus":Q?se(ee,{alpha:Number(w.colorOpacitySecondaryHover)}):w.colorSecondaryHover,"--n-color-disabled":w.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":ee,"--n-text-color-hover":ee,"--n-text-color-pressed":ee,"--n-text-color-focus":ee,"--n-text-color-disabled":ee}}else if(X||ae){const H=te?w.textColor:q?w.textColorTertiary:w[we("color",ie)],ee=V||H;X?(ye["--n-color"]=w.colorTertiary,ye["--n-color-hover"]=w.colorTertiaryHover,ye["--n-color-pressed"]=w.colorTertiaryPressed,ye["--n-color-focus"]=w.colorSecondaryHover,ye["--n-color-disabled"]=w.colorTertiary):(ye["--n-color"]=w.colorQuaternary,ye["--n-color-hover"]=w.colorQuaternaryHover,ye["--n-color-pressed"]=w.colorQuaternaryPressed,ye["--n-color-focus"]=w.colorQuaternaryHover,ye["--n-color-disabled"]=w.colorQuaternary),ye["--n-ripple-color"]="#0000",ye["--n-text-color"]=ee,ye["--n-text-color-hover"]=ee,ye["--n-text-color-pressed"]=ee,ye["--n-text-color-focus"]=ee,ye["--n-text-color-disabled"]=ee}else ye={"--n-color":V||w[we("color",ie)],"--n-color-hover":V?qo(V):w[we("colorHover",ie)],"--n-color-pressed":V?ec(V):w[we("colorPressed",ie)],"--n-color-focus":V?qo(V):w[we("colorFocus",ie)],"--n-color-disabled":V||w[we("colorDisabled",ie)],"--n-ripple-color":V||w[we("rippleColor",ie)],"--n-text-color":ge||(V?w.textColorPrimary:q?w.textColorTertiary:w[we("textColor",ie)]),"--n-text-color-hover":ge||(V?w.textColorHoverPrimary:w[we("textColorHover",ie)]),"--n-text-color-pressed":ge||(V?w.textColorPressedPrimary:w[we("textColorPressed",ie)]),"--n-text-color-focus":ge||(V?w.textColorFocusPrimary:w[we("textColorFocus",ie)]),"--n-text-color-disabled":ge||(V?w.textColorDisabledPrimary:w[we("textColorDisabled",ie)])};let ve={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};z?ve={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ve={"--n-border":w[we("border",ie)],"--n-border-hover":w[we("borderHover",ie)],"--n-border-pressed":w[we("borderPressed",ie)],"--n-border-focus":w[we("borderFocus",ie)],"--n-border-disabled":w[we("borderDisabled",ie)]};const{[we("height",D)]:Le,[we("fontSize",D)]:$e,[we("padding",D)]:_,[we("paddingRound",D)]:E,[we("iconSize",D)]:P,[we("borderRadius",D)]:O,[we("iconMargin",D)]:L,waveOpacity:G}=w,K={"--n-width":fe&&!z?Le:"initial","--n-height":z?"initial":Le,"--n-font-size":$e,"--n-padding":fe||z?"initial":oe?E:_,"--n-icon-size":P,"--n-icon-margin":L,"--n-border-radius":z?"initial":fe||oe?Le:O};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":S,"--n-bezier-ease-out":C,"--n-ripple-duration":k,"--n-opacity-disabled":A,"--n-wave-opacity":G},Be),ye),ve),K)}),y=h?tr("button",R(()=>{let x="";const{dashed:S,type:C,ghost:w,text:k,color:A,round:T,circle:I,textColor:D,secondary:B,tertiary:j,quaternary:F,strong:z}=e;S&&(x+="a"),w&&(x+="b"),k&&(x+="c"),T&&(x+="d"),I&&(x+="e"),B&&(x+="f"),j&&(x+="g"),F&&(x+="h"),z&&(x+="i"),A&&(x+="j"+js(A)),D&&(x+="k"+js(D));const{value:V}=a;return x+="l"+V[0],x+="m"+C[0],x}),b,e):void 0;return{selfElRef:t,waveElRef:r,mergedClsPrefix:p,mergedFocusable:s,mergedSize:a,showBorder:o,enterPressed:n,rtlEnabled:m,handleMousedown:l,handleKeydown:f,handleBlur:d,handleKeyup:u,handleClick:c,customColorCssVars:R(()=>{const{color:x}=e;if(!x)return null;const S=qo(x);return{"--n-border-color":x,"--n-border-color-hover":S,"--n-border-color-pressed":ec(x),"--n-border-color-focus":S,"--n-border-color-disabled":x}}),cssVars:h?void 0:b,themeClass:y==null?void 0:y.themeClass,onRender:y==null?void 0:y.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:r}=this;r==null||r();const n=nr(this.$slots.default,o=>o&&$("span",{class:`${e}-button__content`},o));return $(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&n,$(Lp,{width:!0},{default:()=>nr(this.$slots.icon,o=>(this.loading||this.renderIcon||o)&&$("span",{class:`${e}-button__icon`,style:{margin:I0(this.$slots.default)?"0":""}},$(Op,null,{default:()=>this.loading?$(Rp,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):$("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():o)})))}),this.iconPlacement==="left"&&n,this.text?null:$(PR,{ref:"waveElRef",clsPrefix:e}),this.showBorder?$("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?$("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),gn=rS,nce=rS,Mt="0!important",nS="-1px!important";function Hi(e){return ue(e+"-type",[Y("& +",[ne("button",{},[ue(e+"-type",[le("border",{borderLeftWidth:Mt}),le("state-border",{left:nS})])])])])}function ji(e){return ue(e+"-type",[Y("& +",[ne("button",[ue(e+"-type",[le("border",{borderTopWidth:Mt}),le("state-border",{top:nS})])])])])}const QF=ne("button-group",` - flex-wrap: nowrap; - display: inline-flex; - position: relative; -`,[xr("vertical",{flexDirection:"row"},[xr("rtl",[ne("button",[Y("&:first-child:not(:last-child)",` - margin-right: ${Mt}; - border-top-right-radius: ${Mt}; - border-bottom-right-radius: ${Mt}; - `),Y("&:last-child:not(:first-child)",` - margin-left: ${Mt}; - border-top-left-radius: ${Mt}; - border-bottom-left-radius: ${Mt}; - `),Y("&:not(:first-child):not(:last-child)",` - margin-left: ${Mt}; - margin-right: ${Mt}; - border-radius: ${Mt}; - `),Hi("default"),ue("ghost",[Hi("primary"),Hi("info"),Hi("success"),Hi("warning"),Hi("error")])])])]),ue("vertical",{flexDirection:"column"},[ne("button",[Y("&:first-child:not(:last-child)",` - margin-bottom: ${Mt}; - margin-left: ${Mt}; - margin-right: ${Mt}; - border-bottom-left-radius: ${Mt}; - border-bottom-right-radius: ${Mt}; - `),Y("&:last-child:not(:first-child)",` - margin-top: ${Mt}; - margin-left: ${Mt}; - margin-right: ${Mt}; - border-top-left-radius: ${Mt}; - border-top-right-radius: ${Mt}; - `),Y("&:not(:first-child):not(:last-child)",` - margin: ${Mt}; - border-radius: ${Mt}; - `),ji("default"),ue("ghost",[ji("primary"),ji("info"),ji("success"),ji("warning"),ji("error")])])])]),ZF={size:{type:String,default:void 0},vertical:Boolean},JF=pe({name:"ButtonGroup",props:ZF,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:r}=gt(e);return xl("-button-group",QF,t),ft(eS,e),{rtlEnabled:on("ButtonGroup",r,t),mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return $("div",{class:[`${e}-button-group`,this.rtlEnabled&&`${e}-button-group--rtl`,this.vertical&&`${e}-button-group--vertical`],role:"group"},this.$slots)}}),eM={date:bL,month:Gu,year:KL,quarter:YL};function tM(e){return(t,r)=>{const n=(e+1)%7;return qL(t,r,{weekStartsOn:n})}}function Yr(e,t,r,n=0){return(r==="week"?tM(n):eM[r])(e,t)}function nf(e,t,r,n,o,i){return o==="date"?rM(e,t,r,n):nM(e,t,r,n,i)}function rM(e,t,r,n){let o=!1,i=!1,a=!1;Array.isArray(r)&&(r[0]{const{borderRadius:t,fontSize:r,lineHeight:n,textColor2:o,textColor1:i,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:u,hoverColor:f,cardColor:d,modalColor:h,popoverColor:p}=e;return Object.assign(Object.assign({},iM),{borderRadius:t,borderColor:Pe(d,s),borderColorModal:Pe(h,s),borderColorPopover:Pe(p,s),textColor:o,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:r,lineHeight:n,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:Pe(d,f),cellColorHoverModal:Pe(h,f),cellColorHoverPopover:Pe(p,f),cellColor:d,cellColorModal:h,cellColorPopover:p,barColor:c})},aM={name:"Calendar",common:be,peers:{Button:Tr},self:oS},iS=aM,sM={name:"Calendar",common:xe,peers:{Button:Rr},self:oS},lM=sM,cM=Y([ne("calendar",` - line-height: var(--n-line-height); - font-size: var(--n-font-size); - color: var(--n-text-color); - height: 720px; - display: flex; - flex-direction: column; - `,[ne("calendar-prev-btn",` - cursor: pointer; - `),ne("calendar-next-btn",` - cursor: pointer; - `),ne("calendar-header",` - display: flex; - align-items: center; - line-height: 1; - font-size: var(--n-title-font-size); - padding: 0 0 18px 0; - justify-content: space-between; - `,[le("title",` - color: var(--n-title-text-color); - font-weight: var(--n-title-font-weight); - transition: color .3s var(--n-bezier); - `),le("extra",` - display: flex; - align-items: center; - `)]),ne("calendar-dates",` - display: grid; - grid-template-columns: repeat(7, minmax(0, 1fr)); - grid-auto-rows: 1fr; - border-radius: var(--n-border-radius); - flex: 1; - border-top: 1px solid; - border-left: 1px solid; - border-color: var(--n-border-color); - transition: border-color .3s var(--n-bezier); - `),ne("calendar-cell",` - box-sizing: border-box; - padding: 10px; - border-right: 1px solid; - border-bottom: 1px solid; - border-color: var(--n-border-color); - cursor: pointer; - position: relative; - transition: - color .3s var(--n-bezier), - border-color .3s var(--n-bezier), - background-color .3s var(--n-bezier); - `,[Y("&:nth-child(7)",` - border-top-right-radius: var(--n-border-radius); - `),Y("&:nth-last-child(7)",` - border-bottom-left-radius: var(--n-border-radius); - `),Y("&:last-child",` - border-bottom-right-radius: var(--n-border-radius); - `),Y("&:hover",` - background-color: var(--n-cell-color-hover); - `),le("bar",` - position: absolute; - left: 0; - right: 0; - bottom: -1px; - height: 3px; - background-color: #0000; - transition: background-color .3s var(--n-bezier); - `),ue("selected",[le("bar",` - background-color: var(--n-bar-color); - `)]),ne("calendar-date",` - transition: - color .3s var(--n-bezier), - border-color .3s var(--n-bezier), - background-color .3s var(--n-bezier); - color: var(--n-text-color); - `,[le("date",` - color: var(--n-text-color); - `)]),ue("disabled, other-month",` - color: var(--n-day-text-color); - `,[ne("calendar-date",[le("date",` - color: var(--n-day-text-color); - `)])]),ue("disabled",` - cursor: not-allowed; - `),ue("current",[ne("calendar-date",[le("date",` - color: var(--n-date-text-color-current); - background-color: var(--n-date-color-current); - `)])]),ne("calendar-date",` - position: relative; - line-height: 1; - display: flex; - align-items: center; - height: 1em; - justify-content: space-between; - padding-bottom: .75em; - `,[le("date",` - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - margin-left: -0.4em; - width: 1.8em; - height: 1.8em; - transition: - color .3s var(--n-bezier), - background-color .3s var(--n-bezier); - `),le("day",` - color: var(--n-day-text-color); - transition: color .3s var(--n-bezier); - `)])])]),Mu(ne("calendar",[ne("calendar-dates",` - border-color: var(--n-border-color-modal); - `),ne("calendar-cell",` - border-color: var(--n-border-color-modal); - `,[Y("&:hover",` - background-color: var(--n-cell-color-hover-modal); - `)])])),hp(ne("calendar",[ne("calendar-dates",` - border-color: var(--n-border-color-popover); - `),ne("calendar-cell",` - border-color: var(--n-border-color-popover); - `,[Y("&:hover",` - background-color: var(--n-cell-color-hover-popover); - `)])]))]),uM=Object.assign(Object.assign({},We.props),{isDateDisabled:Function,value:Number,defaultValue:{type:Number,default:null},onPanelChange:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),dM=pe({name:"Calendar",props:uM,setup(e){var t;const{mergedClsPrefixRef:r,inlineThemeDisabled:n}=gt(e),o=We("Calendar","-calendar",cM,iS,e,r),{localeRef:i,dateLocaleRef:a}=k2("DatePicker"),s=Date.now(),l=M(_c((t=e.defaultValue)!==null&&t!==void 0?t:s).valueOf()),c=M(e.defaultValue||null),u=Nu(Lt(e,"value"),c);function f(m,b){const{onUpdateValue:y,"onUpdate:value":x}=e;y&&ar(y,m,b),x&&ar(x,m,b),c.value=m}function d(){var m;const b=t1(l.value,-1).valueOf();l.value=b,(m=e.onPanelChange)===null||m===void 0||m.call(e,{year:wo(b),month:kn(b)+1})}function h(){var m;const b=t1(l.value,1).valueOf();l.value=b,(m=e.onPanelChange)===null||m===void 0||m.call(e,{year:wo(b),month:kn(b)+1})}function p(){var m;const{value:b}=l,y=wo(b),x=kn(b),S=_c(s).valueOf();l.value=S;const C=wo(S),w=kn(S);(y!==C||x!==w)&&((m=e.onPanelChange)===null||m===void 0||m.call(e,{year:C,month:w+1}))}const g=R(()=>{const{common:{cubicBezierEaseInOut:m},self:{borderColor:b,borderColorModal:y,borderColorPopover:x,borderRadius:S,titleFontSize:C,textColor:w,titleFontWeight:k,titleTextColor:A,dayTextColor:T,fontSize:I,lineHeight:D,dateColorCurrent:B,dateTextColorCurrent:j,cellColorHover:F,cellColor:z,cellColorModal:V,barColor:oe,cellColorPopover:fe,cellColorHoverModal:ge,cellColorHoverPopover:U}}=o.value;return{"--n-bezier":m,"--n-border-color":b,"--n-border-color-modal":y,"--n-border-color-popover":x,"--n-border-radius":S,"--n-text-color":w,"--n-title-font-weight":k,"--n-title-font-size":C,"--n-title-text-color":A,"--n-day-text-color":T,"--n-font-size":I,"--n-line-height":D,"--n-date-color-current":B,"--n-date-text-color-current":j,"--n-cell-color":z,"--n-cell-color-modal":V,"--n-cell-color-popover":fe,"--n-cell-color-hover":F,"--n-cell-color-hover-modal":ge,"--n-cell-color-hover-popover":U,"--n-bar-color":oe}}),v=n?tr("calendar",void 0,g,e):void 0;return{mergedClsPrefix:r,locale:i,dateLocale:a,now:s,mergedValue:u,monthTs:l,dateItems:R(()=>oM(l.value,u.value,s,i.value.firstDayOfWeek,!0)),doUpdateValue:f,handleTodayClick:p,handlePrevClick:d,handleNextClick:h,mergedTheme:o,cssVars:n?void 0:g,themeClass:v==null?void 0:v.themeClass,onRender:v==null?void 0:v.onRender}},render(){const{isDateDisabled:e,mergedClsPrefix:t,monthTs:r,cssVars:n,mergedValue:o,mergedTheme:i,$slots:a,locale:{monthBeforeYear:s,today:l},dateLocale:{locale:c},handleTodayClick:u,handlePrevClick:f,handleNextClick:d,onRender:h}=this;h==null||h();const p=o&&au(o).valueOf(),g=wo(r),v=kn(r)+1;return $("div",{class:[`${t}-calendar`,this.themeClass],style:n},$("div",{class:`${t}-calendar-header`},$("div",{class:`${t}-calendar-header__title`},lT(a.header,{year:g,month:v},()=>{const m=Qd(r,"MMMM",{locale:c});return[s?`${m} ${g}`:`${g} ${m}`]})),$("div",{class:`${t}-calendar-header__extra`},$(JF,null,{default:()=>$(ot,null,$(gn,{size:"small",onClick:f,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button},{icon:()=>$(dr,{clsPrefix:t,class:`${t}-calendar-prev-btn`},{default:()=>$(QL,null)})}),$(gn,{size:"small",onClick:u,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button},{default:()=>l}),$(gn,{size:"small",onClick:d,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button},{icon:()=>$(dr,{clsPrefix:t,class:`${t}-calendar-next-btn`},{default:()=>$(ZL,null)})}))}))),$("div",{class:`${t}-calendar-dates`},this.dateItems.map(({dateObject:m,ts:b,inCurrentMonth:y,isCurrentDate:x},S)=>{var C;const{year:w,month:k,date:A}=m,T=Qd(b,"yyyy-MM-dd"),I=!y,D=(e==null?void 0:e(b))===!0,B=p===au(b).valueOf();return $("div",{key:`${v}-${S}`,class:[`${t}-calendar-cell`,D&&`${t}-calendar-cell--disabled`,I&&`${t}-calendar-cell--other-month`,D&&`${t}-calendar-cell--not-allowed`,x&&`${t}-calendar-cell--current`,B&&`${t}-calendar-cell--selected`],onClick:()=>{var j;if(D)return;const F=_c(b).valueOf();this.monthTs=F,I&&((j=this.onPanelChange)===null||j===void 0||j.call(this,{year:wo(F),month:kn(F)+1})),this.doUpdateValue(b,{year:w,month:k+1,date:A})}},$("div",{class:`${t}-calendar-date`},$("div",{class:`${t}-calendar-date__date`,title:T},A),S<7&&$("div",{class:`${t}-calendar-date__day`,title:T},Qd(b,"EEE",{locale:c}))),(C=a.default)===null||C===void 0?void 0:C.call(a,{year:w,month:k+1,date:A}),$("div",{class:`${t}-calendar-cell__bar`}))})))}}),aS=e=>{const{fontSize:t,boxShadow2:r,popoverColor:n,textColor2:o,borderRadius:i,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:f,fontSizeLarge:d,dividerColor:h}=e;return{panelFontSize:t,boxShadow:r,color:n,textColor:o,borderRadius:i,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:f,fontSizeLarge:d,dividerColor:h}},fM={name:"ColorPicker",common:be,peers:{Input:sn,Button:Tr},self:aS},hM=fM,pM={name:"ColorPicker",common:xe,peers:{Input:an,Button:Rr},self:aS},gM=pM,mM={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},sS=e=>{const{primaryColor:t,borderRadius:r,lineHeight:n,fontSize:o,cardColor:i,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:f,closeIconColorPressed:d,closeColorHover:h,closeColorPressed:p,modalColor:g,boxShadow1:v,popoverColor:m,actionColor:b}=e;return Object.assign(Object.assign({},mM),{lineHeight:n,color:i,colorModal:g,colorPopover:m,colorTarget:t,colorEmbedded:b,colorEmbeddedModal:b,colorEmbeddedPopover:b,textColor:a,titleTextColor:s,borderColor:l,actionColor:b,titleFontWeight:c,closeColorHover:h,closeColorPressed:p,closeBorderRadius:r,closeIconColor:u,closeIconColorHover:f,closeIconColorPressed:d,fontSizeSmall:o,fontSizeMedium:o,fontSizeLarge:o,fontSizeHuge:o,boxShadow:v,borderRadius:r})},vM={name:"Card",common:be,self:sS},Hp=vM,bM={name:"Card",common:xe,self(e){const t=sS(e),{cardColor:r,modalColor:n,popoverColor:o}=e;return t.colorEmbedded=r,t.colorEmbeddedModal=n,t.colorEmbeddedPopover=o,t}},lS=bM,xM=Y([ne("card",` - font-size: var(--n-font-size); - line-height: var(--n-line-height); - display: flex; - flex-direction: column; - width: 100%; - box-sizing: border-box; - position: relative; - border-radius: var(--n-border-radius); - background-color: var(--n-color); - color: var(--n-text-color); - word-break: break-word; - transition: - color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier), - border-color .3s var(--n-bezier); - `,[cw({background:"var(--n-color-modal)"}),ue("hoverable",[Y("&:hover","box-shadow: var(--n-box-shadow);")]),ue("content-segmented",[Y(">",[le("content",{paddingTop:"var(--n-padding-bottom)"})])]),ue("content-soft-segmented",[Y(">",[le("content",` - margin: 0 var(--n-padding-left); - padding: var(--n-padding-bottom) 0; - `)])]),ue("footer-segmented",[Y(">",[le("footer",{paddingTop:"var(--n-padding-bottom)"})])]),ue("footer-soft-segmented",[Y(">",[le("footer",` - padding: var(--n-padding-bottom) 0; - margin: 0 var(--n-padding-left); - `)])]),Y(">",[ne("card-header",` - box-sizing: border-box; - display: flex; - align-items: center; - font-size: var(--n-title-font-size); - padding: - var(--n-padding-top) - var(--n-padding-left) - var(--n-padding-bottom) - var(--n-padding-left); - `,[le("main",` - font-weight: var(--n-title-font-weight); - transition: color .3s var(--n-bezier); - flex: 1; - min-width: 0; - color: var(--n-title-text-color); - `),le("extra",` - display: flex; - align-items: center; - font-size: var(--n-font-size); - font-weight: 400; - transition: color .3s var(--n-bezier); - color: var(--n-text-color); - `),le("close",` - margin: 0 0 0 8px; - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - `)]),le("action",` - box-sizing: border-box; - transition: - background-color .3s var(--n-bezier), - border-color .3s var(--n-bezier); - background-clip: padding-box; - background-color: var(--n-action-color); - `),le("content","flex: 1; min-width: 0;"),le("content, footer",` - box-sizing: border-box; - padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left); - font-size: var(--n-font-size); - `,[Y("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),le("action",` - background-color: var(--n-action-color); - padding: var(--n-padding-bottom) var(--n-padding-left); - border-bottom-left-radius: var(--n-border-radius); - border-bottom-right-radius: var(--n-border-radius); - `)]),ne("card-cover",` - overflow: hidden; - width: 100%; - border-radius: var(--n-border-radius) var(--n-border-radius) 0 0; - `,[Y("img",` - display: block; - width: 100%; - `)]),ue("bordered",` - border: 1px solid var(--n-border-color); - `,[Y("&:target","border-color: var(--n-color-target);")]),ue("action-segmented",[Y(">",[le("action",[Y("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),ue("content-segmented, content-soft-segmented",[Y(">",[le("content",{transition:"border-color 0.3s var(--n-bezier)"},[Y("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),ue("footer-segmented, footer-soft-segmented",[Y(">",[le("footer",{transition:"border-color 0.3s var(--n-bezier)"},[Y("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),ue("embedded",` - background-color: var(--n-color-embedded); - `)]),Mu(ne("card",` - background: var(--n-color-modal); - `,[ue("embedded",` - background-color: var(--n-color-embedded-modal); - `)])),hp(ne("card",` - background: var(--n-color-popover); - `,[ue("embedded",` - background-color: var(--n-color-embedded-popover); - `)]))]),jp={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},yM=ba(jp),CM=Object.assign(Object.assign({},We.props),jp),Yu=pe({name:"Card",props:CM,setup(e){const t=()=>{const{onClose:c}=e;c&&ar(c)},{inlineThemeDisabled:r,mergedClsPrefixRef:n,mergedRtlRef:o}=gt(e),i=We("Card","-card",xM,Hp,e,n),a=on("Card",o,n),s=R(()=>{const{size:c}=e,{self:{color:u,colorModal:f,colorTarget:d,textColor:h,titleTextColor:p,titleFontWeight:g,borderColor:v,actionColor:m,borderRadius:b,lineHeight:y,closeIconColor:x,closeIconColorHover:S,closeIconColorPressed:C,closeColorHover:w,closeColorPressed:k,closeBorderRadius:A,closeIconSize:T,closeSize:I,boxShadow:D,colorPopover:B,colorEmbedded:j,colorEmbeddedModal:F,colorEmbeddedPopover:z,[we("padding",c)]:V,[we("fontSize",c)]:oe,[we("titleFontSize",c)]:fe},common:{cubicBezierEaseInOut:ge}}=i.value,{top:U,left:X,bottom:ae}=hl(V);return{"--n-bezier":ge,"--n-border-radius":b,"--n-color":u,"--n-color-modal":f,"--n-color-popover":B,"--n-color-embedded":j,"--n-color-embedded-modal":F,"--n-color-embedded-popover":z,"--n-color-target":d,"--n-text-color":h,"--n-line-height":y,"--n-action-color":m,"--n-title-text-color":p,"--n-title-font-weight":g,"--n-close-icon-color":x,"--n-close-icon-color-hover":S,"--n-close-icon-color-pressed":C,"--n-close-color-hover":w,"--n-close-color-pressed":k,"--n-border-color":v,"--n-box-shadow":D,"--n-padding-top":U,"--n-padding-bottom":ae,"--n-padding-left":X,"--n-font-size":oe,"--n-title-font-size":fe,"--n-close-size":I,"--n-close-icon-size":T,"--n-close-border-radius":A}}),l=r?tr("card",R(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:n,mergedTheme:i,handleCloseClick:t,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:r,mergedClsPrefix:n,rtlEnabled:o,onRender:i,embedded:a,tag:s,$slots:l}=this;return i==null||i(),$(s,{class:[`${n}-card`,this.themeClass,a&&`${n}-card--embedded`,{[`${n}-card--rtl`]:o,[`${n}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${n}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${n}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${n}-card--bordered`]:t,[`${n}-card--hoverable`]:r}],style:this.cssVars,role:this.role},nr(l.cover,c=>c&&$("div",{class:`${n}-card-cover`,role:"none"},c)),nr(l.header,c=>c||this.title||this.closable?$("div",{class:[`${n}-card-header`,this.headerClass],style:this.headerStyle},$("div",{class:`${n}-card-header__main`,role:"heading"},c||this.title),nr(l["header-extra"],u=>u&&$("div",{class:[`${n}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?$(Wa,{clsPrefix:n,class:`${n}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),nr(l.default,c=>c&&$("div",{class:[`${n}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},c)),nr(l.footer,c=>c&&[$("div",{class:[`${n}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},c)]),nr(l.action,c=>c&&$("div",{class:`${n}-card__action`,role:"none"},c)))}}),cS=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),wM={name:"Carousel",common:be,self:cS},SM=wM,_M={name:"Carousel",common:xe,self:cS},EM=_M,kM={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},uS=e=>{const{baseColor:t,inputColorDisabled:r,cardColor:n,modalColor:o,popoverColor:i,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:u,fontSizeMedium:f,fontSizeLarge:d,borderRadiusSmall:h,lineHeight:p}=e;return Object.assign(Object.assign({},kM),{labelLineHeight:p,fontSizeSmall:u,fontSizeMedium:f,fontSizeLarge:d,borderRadius:h,color:t,colorChecked:l,colorDisabled:r,colorDisabledChecked:r,colorTableHeader:n,colorTableHeaderModal:o,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${se(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},TM={name:"Checkbox",common:be,self:uS},Ua=TM,AM={name:"Checkbox",common:xe,self(e){const{cardColor:t}=e,r=uS(e);return r.color="#0000",r.checkMarkColor=t,r}},Va=AM,dS=e=>{const{borderRadius:t,boxShadow2:r,popoverColor:n,textColor2:o,textColor3:i,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:u,heightMedium:f}=e;return{menuBorderRadius:t,menuColor:n,menuBoxShadow:r,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:f,optionFontSize:u,optionColorHover:c,optionTextColor:o,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},PM={name:"Cascader",common:be,peers:{InternalSelectMenu:Sl,InternalSelection:Mp,Scrollbar:kr,Checkbox:Ua,Empty:oo},self:dS},$M=PM,IM={name:"Cascader",common:xe,peers:{InternalSelectMenu:_l,InternalSelection:zp,Scrollbar:Lr,Checkbox:Va,Empty:oo},self:dS},DM=IM,BM={name:"Code",common:xe,self(e){const{textColor2:t,fontSize:r,fontWeightStrong:n,textColor3:o}=e;return{textColor:t,fontSize:r,fontWeightStrong:n,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:o}}},fS=BM,OM=e=>{const{textColor2:t,fontSize:r,fontWeightStrong:n,textColor3:o}=e;return{textColor:t,fontSize:r,fontWeightStrong:n,"mono-3":"#a0a1a7","hue-1":"#0184bb","hue-2":"#4078f2","hue-3":"#a626a4","hue-4":"#50a14f","hue-5":"#e45649","hue-5-2":"#c91243","hue-6":"#986801","hue-6-2":"#c18401",lineNumberTextColor:o}},LM={name:"Code",common:be,self:OM},hS=LM,pS=e=>{const{fontWeight:t,textColor1:r,textColor2:n,textColorDisabled:o,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:r,titleTextColorDisabled:o,fontSize:a,textColor:n,arrowColor:n,arrowColorDisabled:o,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},RM={name:"Collapse",common:be,self:pS},FM=RM,MM={name:"Collapse",common:xe,self:pS},zM=MM,gS=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},NM={name:"CollapseTransition",common:be,self:gS},HM=NM,jM={name:"CollapseTransition",common:xe,self:gS},WM=jM,UM={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:Ks},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(Hs("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},VM=pe({name:"ConfigProvider",alias:["App"],props:UM,setup(e){const t=ze(Ln,null),r=R(()=>{const{theme:p}=e;if(p===null)return;const g=t==null?void 0:t.mergedThemeRef.value;return p===void 0?g:g===void 0?p:Object.assign({},g,p)}),n=R(()=>{const{themeOverrides:p}=e;if(p!==null){if(p===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const g=t==null?void 0:t.mergedThemeOverridesRef.value;return g===void 0?p:Xi({},g,p)}}}),o=Dr(()=>{const{namespace:p}=e;return p===void 0?t==null?void 0:t.mergedNamespaceRef.value:p}),i=Dr(()=>{const{bordered:p}=e;return p===void 0?t==null?void 0:t.mergedBorderedRef.value:p}),a=R(()=>{const{icons:p}=e;return p===void 0?t==null?void 0:t.mergedIconsRef.value:p}),s=R(()=>{const{componentOptions:p}=e;return p!==void 0?p:t==null?void 0:t.mergedComponentPropsRef.value}),l=R(()=>{const{clsPrefix:p}=e;return p!==void 0?p:t?t.mergedClsPrefixRef.value:Ks}),c=R(()=>{var p;const{rtl:g}=e;if(g===void 0)return t==null?void 0:t.mergedRtlRef.value;const v={};for(const m of g)v[m.name]=ha(m),(p=m.peers)===null||p===void 0||p.forEach(b=>{b.name in v||(v[b.name]=ha(b))});return v}),u=R(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),f=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),d=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),h=R(()=>{const{value:p}=r,{value:g}=n,v=g&&Object.keys(g).length!==0,m=p==null?void 0:p.name;return m?v?`${m}-${Ws(JSON.stringify(n.value))}`:m:v?Ws(JSON.stringify(n.value)):""});return ft(Ln,{mergedThemeHashRef:h,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:o,mergedClsPrefixRef:l,mergedLocaleRef:R(()=>{const{locale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedLocaleRef.value:p}),mergedDateLocaleRef:R(()=>{const{dateLocale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedDateLocaleRef.value:p}),mergedHljsRef:R(()=>{const{hljs:p}=e;return p===void 0?t==null?void 0:t.mergedHljsRef.value:p}),mergedKatexRef:R(()=>{const{katex:p}=e;return p===void 0?t==null?void 0:t.mergedKatexRef.value:p}),mergedThemeRef:r,mergedThemeOverridesRef:n,inlineThemeDisabled:f||!1,preflightStyleDisabled:d||!1}),{mergedClsPrefix:l,mergedBordered:i,mergedNamespace:o,mergedTheme:r,mergedThemeOverrides:n}},render(){var e,t,r,n;return this.abstract?(n=(r=this.$slots).default)===null||n===void 0?void 0:n.call(r):$(this.as||this.tag,{class:`${this.mergedClsPrefix||Ks}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),GM={duration:{type:Number,default:0},active:{type:Boolean,default:!0},precision:{type:Number,default:0},render:Function,onFinish:Function},mS=pe({name:"Countdown",props:GM,setup(e){let t=null,r=0,n=!1;const o=M(0);Or(()=>{o.value=e.duration});let i=-1;function a(h){return e.duration-r+i-h}function s(h){const p=Math.floor(h/36e5),g=Math.floor(h%36e5/6e4),v=Math.floor(h%6e4/1e3),m=Math.floor(h%1e3);return{hours:p,minutes:g,seconds:v,milliseconds:m}}function l(h){const{hours:p,minutes:g,seconds:v,milliseconds:m}=h,{precision:b}=e;switch(b){case 0:return`${String(p).padStart(2,"0")}:${String(g).padStart(2,"0")}:${String(v).padStart(2,"0")}`;default:return`${String(p).padStart(2,"0")}:${String(g).padStart(2,"0")}:${String(v).padStart(2,"0")}.${String(Math.floor(m/(b===1?100:b===2?10:1))).padStart(b,"0")}`}}const c=()=>{var h;const{precision:p}=e,g=a(performance.now());if(g<=0){o.value=0,u(),n||(n=!0,(h=e.onFinish)===null||h===void 0||h.call(e));return}let v;switch(p){case 3:case 2:v=g%34;break;case 1:v=g%100;break;default:v=g%1e3}o.value=g,t=window.setTimeout(()=>{c()},v)},u=()=>{t!==null&&(window.clearTimeout(t),t=null)};_t(()=>{Or(()=>{if(e.active)i=performance.now(),c();else{const h=performance.now();i!==-1&&(r+=h-i),u()}})}),Ht(()=>{u()});function f(){o.value=e.duration,r=0,i=performance.now(),e.active&&n&&c(),n=!1}return Object.assign({reset:f},{distance:o,getTimeInfo:s,getDisplayValue:l})},render(){const{render:e,precision:t,distance:r,getTimeInfo:n,getDisplayValue:o}=this;let i;switch(t){case 0:i=n(r+999),i.milliseconds=0;break;case 1:i=n(r+99),i.milliseconds=Math.floor(i.milliseconds/100)*100;break;case 2:i=n(r+9),i.milliseconds=Math.floor(i.milliseconds/10)*10;break;case 3:i=n(r)}return e?e(i):o(i)}}),qM={name:"Popselect",common:xe,peers:{Popover:Ti,InternalSelectMenu:_l}},vS=qM;function YM(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const KM={name:"Popselect",common:be,peers:{Popover:Fo,InternalSelectMenu:Sl},self:YM},bS=KM;function xS(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const XM={name:"Select",common:be,peers:{InternalSelection:Mp,InternalSelectMenu:Sl},self:xS},yS=XM,QM={name:"Select",common:xe,peers:{InternalSelection:zp,InternalSelectMenu:_l},self:xS},CS=QM,ZM={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},wS=e=>{const{textColor2:t,primaryColor:r,primaryColorHover:n,primaryColorPressed:o,inputColorDisabled:i,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:u,fontSizeMedium:f,heightTiny:d,heightSmall:h,heightMedium:p}=e;return Object.assign(Object.assign({},ZM),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:n,itemTextColorPressed:o,itemTextColorActive:r,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${r}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:d,itemSizeMedium:h,itemSizeLarge:p,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:f,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:f,jumperTextColor:t,jumperTextColorDisabled:a})},JM={name:"Pagination",common:be,peers:{Select:yS,Input:sn,Popselect:bS},self:wS},SS=JM,e9={name:"Pagination",common:xe,peers:{Select:CS,Input:an,Popselect:vS},self(e){const{primaryColor:t,opacity3:r}=e,n=se(t,{alpha:Number(r)}),o=wS(e);return o.itemBorderActive=`1px solid ${n}`,o.itemBorderDisabled="1px solid #0000",o}},_S=e9,ES={padding:"8px 14px"},t9={name:"Tooltip",common:xe,peers:{Popover:Ti},self(e){const{borderRadius:t,boxShadow2:r,popoverColor:n,textColor2:o}=e;return Object.assign(Object.assign({},ES),{borderRadius:t,boxShadow:r,color:n,textColor:o})}},Ku=t9,r9=e=>{const{borderRadius:t,boxShadow2:r,baseColor:n}=e;return Object.assign(Object.assign({},ES),{borderRadius:t,boxShadow:r,color:Pe(n,"rgba(0, 0, 0, .85)"),textColor:n})},n9={name:"Tooltip",common:be,peers:{Popover:Fo},self:r9},El=n9,o9={name:"Ellipsis",common:xe,peers:{Tooltip:Ku}},kS=o9,i9={name:"Ellipsis",common:be,peers:{Tooltip:El}},TS=i9,AS={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},a9={name:"Radio",common:xe,self(e){const{borderColor:t,primaryColor:r,baseColor:n,textColorDisabled:o,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:f,heightSmall:d,heightMedium:h,heightLarge:p,lineHeight:g}=e;return Object.assign(Object.assign({},AS),{labelLineHeight:g,buttonHeightSmall:d,buttonHeightMedium:h,buttonHeightLarge:p,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:f,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${r}`,boxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${se(r,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${r}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:o,dotColorActive:r,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:r,buttonBorderColorHover:r,buttonColor:"#0000",buttonColorActive:r,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:r,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${se(r,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${r}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},PS=a9,s9=e=>{const{borderColor:t,primaryColor:r,baseColor:n,textColorDisabled:o,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:f,heightSmall:d,heightMedium:h,heightLarge:p,lineHeight:g}=e;return Object.assign(Object.assign({},AS),{labelLineHeight:g,buttonHeightSmall:d,buttonHeightMedium:h,buttonHeightLarge:p,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:f,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${r}`,boxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${se(r,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${r}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:n,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:o,dotColorActive:r,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:r,buttonBorderColorHover:t,buttonColor:n,buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:r,buttonTextColorHover:r,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${se(r,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},l9={name:"Radio",common:be,self:s9},Xu=l9,c9={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},$S=e=>{const{primaryColor:t,textColor2:r,dividerColor:n,hoverColor:o,popoverColor:i,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:f,heightSmall:d,heightMedium:h,heightLarge:p,heightHuge:g,textColor3:v,opacityDisabled:m}=e;return Object.assign(Object.assign({},c9),{optionHeightSmall:d,optionHeightMedium:h,optionHeightLarge:p,optionHeightHuge:g,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:f,optionTextColor:r,optionTextColorHover:r,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:n,suffixColor:r,prefixColor:r,optionColorHover:o,optionColorActive:se(t,{alpha:.1}),groupHeaderTextColor:v,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:m})},u9={name:"Dropdown",common:be,peers:{Popover:Fo},self:$S},Wp=u9,d9={name:"Dropdown",common:xe,peers:{Popover:Ti},self(e){const{primaryColorSuppl:t,primaryColor:r,popoverColor:n}=e,o=$S(e);return o.colorInverted=n,o.optionColorActive=se(r,{alpha:.15}),o.optionColorActiveInverted=t,o.optionColorHoverInverted=t,o}},Up=d9,f9={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},IS=e=>{const{cardColor:t,modalColor:r,popoverColor:n,textColor2:o,textColor1:i,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:u,borderRadius:f,lineHeight:d,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,dividerColor:v,heightSmall:m,opacityDisabled:b,tableColorStriped:y}=e;return Object.assign(Object.assign({},f9),{actionDividerColor:v,lineHeight:d,borderRadius:f,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,borderColor:Pe(t,v),tdColorHover:Pe(t,s),tdColorStriped:Pe(t,y),thColor:Pe(t,a),thColorHover:Pe(Pe(t,a),s),tdColor:t,tdTextColor:o,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:Pe(r,v),tdColorHoverModal:Pe(r,s),tdColorStripedModal:Pe(r,y),thColorModal:Pe(r,a),thColorHoverModal:Pe(Pe(r,a),s),tdColorModal:r,borderColorPopover:Pe(n,v),tdColorHoverPopover:Pe(n,s),tdColorStripedPopover:Pe(n,y),thColorPopover:Pe(n,a),thColorHoverPopover:Pe(Pe(n,a),s),tdColorPopover:n,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:m,opacityLoading:b})},h9={name:"DataTable",common:be,peers:{Button:Tr,Checkbox:Ua,Radio:Xu,Pagination:SS,Scrollbar:kr,Empty:oo,Popover:Fo,Ellipsis:TS,Dropdown:Wp},self:IS},p9=h9,g9={name:"DataTable",common:xe,peers:{Button:Rr,Checkbox:Va,Radio:PS,Pagination:_S,Scrollbar:Lr,Empty:ki,Popover:Ti,Ellipsis:kS,Dropdown:Up},self(e){const t=IS(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},m9=g9,v9=Object.assign(Object.assign({},R2),We.props),Qi=pe({name:"Tooltip",props:v9,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=gt(e),r=We("Tooltip","-tooltip",void 0,El,e,t),n=M(null);return Object.assign(Object.assign({},{syncPosition(){n.value.syncPosition()},setShow(i){n.value.setShow(i)}}),{popoverRef:n,mergedTheme:r,popoverThemeOverrides:R(()=>r.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return $(NR,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),b9={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},DS="n-radio-group";function x9(e){const t=Cp(e,{mergedSize(b){const{size:y}=e;if(y!==void 0)return y;if(a){const{mergedSizeRef:{value:x}}=a;if(x!==void 0)return x}return b?b.mergedSize.value:"medium"},mergedDisabled(b){return!!(e.disabled||a!=null&&a.disabledRef.value||b!=null&&b.disabled.value)}}),{mergedSizeRef:r,mergedDisabledRef:n}=t,o=M(null),i=M(null),a=ze(DS,null),s=M(e.defaultChecked),l=Lt(e,"checked"),c=Nu(l,s),u=Dr(()=>a?a.valueRef.value===e.value:c.value),f=Dr(()=>{const{name:b}=e;if(b!==void 0)return b;if(a)return a.nameRef.value}),d=M(!1);function h(){if(a){const{doUpdateValue:b}=a,{value:y}=e;ar(b,y)}else{const{onUpdateChecked:b,"onUpdate:checked":y}=e,{nTriggerFormInput:x,nTriggerFormChange:S}=t;b&&ar(b,!0),y&&ar(y,!0),x(),S(),s.value=!0}}function p(){n.value||u.value||h()}function g(){p(),o.value&&(o.value.checked=u.value)}function v(){d.value=!1}function m(){d.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:gt(e).mergedClsPrefixRef,inputRef:o,labelRef:i,mergedName:f,mergedDisabled:n,renderSafeChecked:u,focus:d,mergedSize:r,handleRadioInputChange:g,handleRadioInputBlur:v,handleRadioInputFocus:m}}const y9=ne("radio",` - line-height: var(--n-label-line-height); - outline: none; - position: relative; - user-select: none; - -webkit-user-select: none; - display: inline-flex; - align-items: flex-start; - flex-wrap: nowrap; - font-size: var(--n-font-size); - word-break: break-word; -`,[ue("checked",[le("dot",` - background-color: var(--n-color-active); - `)]),le("dot-wrapper",` - position: relative; - flex-shrink: 0; - flex-grow: 0; - width: var(--n-radio-size); - `),ne("radio-input",` - position: absolute; - border: 0; - border-radius: inherit; - left: 0; - right: 0; - top: 0; - bottom: 0; - opacity: 0; - z-index: 1; - cursor: pointer; - `),le("dot",` - position: absolute; - top: 50%; - left: 0; - transform: translateY(-50%); - height: var(--n-radio-size); - width: var(--n-radio-size); - background: var(--n-color); - box-shadow: var(--n-box-shadow); - border-radius: 50%; - transition: - background-color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier); - `,[Y("&::before",` - content: ""; - opacity: 0; - position: absolute; - left: 4px; - top: 4px; - height: calc(100% - 8px); - width: calc(100% - 8px); - border-radius: 50%; - transform: scale(.8); - background: var(--n-dot-color-active); - transition: - opacity .3s var(--n-bezier), - background-color .3s var(--n-bezier), - transform .3s var(--n-bezier); - `),ue("checked",{boxShadow:"var(--n-box-shadow-active)"},[Y("&::before",` - opacity: 1; - transform: scale(1); - `)])]),le("label",` - color: var(--n-text-color); - padding: var(--n-label-padding); - font-weight: var(--n-label-font-weight); - display: inline-block; - transition: color .3s var(--n-bezier); - `),xr("disabled",` - cursor: pointer; - `,[Y("&:hover",[le("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),ue("focus",[Y("&:not(:active)",[le("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),ue("disabled",` - cursor: not-allowed; - `,[le("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[Y("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),ue("checked",` - opacity: 1; - `)]),le("label",{color:"var(--n-text-color-disabled)"}),ne("radio-input",` - cursor: not-allowed; - `)])]),C9=Object.assign(Object.assign({},We.props),b9),w9=pe({name:"Radio",props:C9,setup(e){const t=x9(e),r=We("Radio","-radio",y9,Xu,e,t.mergedClsPrefix),n=R(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:f,boxShadowActive:d,boxShadowDisabled:h,boxShadowFocus:p,boxShadowHover:g,color:v,colorDisabled:m,colorActive:b,textColor:y,textColorDisabled:x,dotColorActive:S,dotColorDisabled:C,labelPadding:w,labelLineHeight:k,labelFontWeight:A,[we("fontSize",c)]:T,[we("radioSize",c)]:I}}=r.value;return{"--n-bezier":u,"--n-label-line-height":k,"--n-label-font-weight":A,"--n-box-shadow":f,"--n-box-shadow-active":d,"--n-box-shadow-disabled":h,"--n-box-shadow-focus":p,"--n-box-shadow-hover":g,"--n-color":v,"--n-color-active":b,"--n-color-disabled":m,"--n-dot-color-active":S,"--n-dot-color-disabled":C,"--n-font-size":T,"--n-radio-size":I,"--n-text-color":y,"--n-text-color-disabled":x,"--n-label-padding":w}}),{inlineThemeDisabled:o,mergedClsPrefixRef:i,mergedRtlRef:a}=gt(e),s=on("Radio",a,i),l=o?tr("radio",R(()=>t.mergedSize.value[0]),n,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:o?void 0:n,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:r,label:n}=this;return r==null||r(),$("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},$("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),$("div",{class:`${t}-radio__dot-wrapper`}," ",$("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),nr(e.default,o=>!o&&!n?null:$("div",{ref:"labelRef",class:`${t}-radio__label`},o||n)))}}),S9=ne("radio-group",` - display: inline-block; - font-size: var(--n-font-size); -`,[le("splitor",` - display: inline-block; - vertical-align: bottom; - width: 1px; - transition: - background-color .3s var(--n-bezier), - opacity .3s var(--n-bezier); - background: var(--n-button-border-color); - `,[ue("checked",{backgroundColor:"var(--n-button-border-color-active)"}),ue("disabled",{opacity:"var(--n-opacity-disabled)"})]),ue("button-group",` - white-space: nowrap; - height: var(--n-height); - line-height: var(--n-height); - `,[ne("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),le("splitor",{height:"var(--n-height)"})]),ne("radio-button",` - vertical-align: bottom; - outline: none; - position: relative; - user-select: none; - -webkit-user-select: none; - display: inline-block; - box-sizing: border-box; - padding-left: 14px; - padding-right: 14px; - white-space: nowrap; - transition: - background-color .3s var(--n-bezier), - opacity .3s var(--n-bezier), - border-color .3s var(--n-bezier), - color .3s var(--n-bezier); - background: var(--n-button-color); - color: var(--n-button-text-color); - border-top: 1px solid var(--n-button-border-color); - border-bottom: 1px solid var(--n-button-border-color); - `,[ne("radio-input",` - pointer-events: none; - position: absolute; - border: 0; - border-radius: inherit; - left: 0; - right: 0; - top: 0; - bottom: 0; - opacity: 0; - z-index: 1; - `),le("state-border",` - z-index: 1; - pointer-events: none; - position: absolute; - box-shadow: var(--n-button-box-shadow); - transition: box-shadow .3s var(--n-bezier); - left: -1px; - bottom: -1px; - right: -1px; - top: -1px; - `),Y("&:first-child",` - border-top-left-radius: var(--n-button-border-radius); - border-bottom-left-radius: var(--n-button-border-radius); - border-left: 1px solid var(--n-button-border-color); - `,[le("state-border",` - border-top-left-radius: var(--n-button-border-radius); - border-bottom-left-radius: var(--n-button-border-radius); - `)]),Y("&:last-child",` - border-top-right-radius: var(--n-button-border-radius); - border-bottom-right-radius: var(--n-button-border-radius); - border-right: 1px solid var(--n-button-border-color); - `,[le("state-border",` - border-top-right-radius: var(--n-button-border-radius); - border-bottom-right-radius: var(--n-button-border-radius); - `)]),xr("disabled",` - cursor: pointer; - `,[Y("&:hover",[le("state-border",` - transition: box-shadow .3s var(--n-bezier); - box-shadow: var(--n-button-box-shadow-hover); - `),xr("checked",{color:"var(--n-button-text-color-hover)"})]),ue("focus",[Y("&:not(:active)",[le("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),ue("checked",` - background: var(--n-button-color-active); - color: var(--n-button-text-color-active); - border-color: var(--n-button-border-color-active); - `),ue("disabled",` - cursor: not-allowed; - opacity: var(--n-opacity-disabled); - `)])]);function _9(e,t,r){var n;const o=[];let i=!1;for(let a=0;a{const{value:S}=r,{common:{cubicBezierEaseInOut:C},self:{buttonBorderColor:w,buttonBorderColorActive:k,buttonBorderRadius:A,buttonBoxShadow:T,buttonBoxShadowFocus:I,buttonBoxShadowHover:D,buttonColor:B,buttonColorActive:j,buttonTextColor:F,buttonTextColorActive:z,buttonTextColorHover:V,opacityDisabled:oe,[we("buttonHeight",S)]:fe,[we("fontSize",S)]:ge}}=f.value;return{"--n-font-size":ge,"--n-bezier":C,"--n-button-border-color":w,"--n-button-border-color-active":k,"--n-button-border-radius":A,"--n-button-box-shadow":T,"--n-button-box-shadow-focus":I,"--n-button-box-shadow-hover":D,"--n-button-color":B,"--n-button-color-active":j,"--n-button-text-color":F,"--n-button-text-color-hover":V,"--n-button-text-color-active":z,"--n-height":fe,"--n-opacity-disabled":oe}}),x=c?tr("radio-group",R(()=>r.value[0]),y,e):void 0;return{selfElRef:t,rtlEnabled:b,mergedClsPrefix:l,mergedValue:p,handleFocusout:m,handleFocusin:v,cssVars:c?void 0:y,themeClass:x==null?void 0:x.themeClass,onRender:x==null?void 0:x.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:r,handleFocusin:n,handleFocusout:o}=this,{children:i,isButtonGroup:a}=_9(va(dp(this)),t,r);return(e=this.onRender)===null||e===void 0||e.call(this),$("div",{onFocusin:n,onFocusout:o,ref:"selfElRef",class:[`${r}-radio-group`,this.rtlEnabled&&`${r}-radio-group--rtl`,this.themeClass,a&&`${r}-radio-group--button-group`],style:this.cssVars},i)}}),BS=e=>{const{textColorBase:t,opacity1:r,opacity2:n,opacity3:o,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:r,opacity2Depth:n,opacity3Depth:o,opacity4Depth:i,opacity5Depth:a}},T9={name:"Icon",common:be,self:BS},OS=T9,A9={name:"Icon",common:xe,self:BS},P9=A9,$9=ne("icon",` - height: 1em; - width: 1em; - line-height: 1em; - text-align: center; - display: inline-block; - position: relative; - fill: currentColor; - transform: translateZ(0); -`,[ue("color-transition",{transition:"color .3s var(--n-bezier)"}),ue("depth",{color:"var(--n-color)"},[Y("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),Y("svg",{height:"1em",width:"1em"})]),I9=Object.assign(Object.assign({},We.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Sa=pe({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:I9,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=gt(e),n=We("Icon","-icon",$9,OS,e,t),o=R(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=n.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:u}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":u}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=r?tr("icon",R(()=>`${e.depth||"d"}`),o,e):void 0;return{mergedClsPrefix:t,mergedStyle:R(()=>{const{size:a,color:s}=e;return{fontSize:Cc(a),color:s}}),cssVars:r?void 0:o,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:r,mergedClsPrefix:n,component:o,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&Hs("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),$("i",On(this.$attrs,{role:"img",class:[`${n}-icon`,a,{[`${n}-icon--depth`]:r,[`${n}-icon--color-transition`]:r!==void 0}],style:[this.cssVars,this.mergedStyle]}),o?$(o):this.$slots)}}),D9={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},LS=e=>{const{popoverColor:t,textColor2:r,primaryColor:n,hoverColor:o,dividerColor:i,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:u}=e;return Object.assign(Object.assign({},D9),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:r,itemTextColorActive:n,itemColorHover:o,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},B9={name:"TimePicker",common:be,peers:{Scrollbar:kr,Button:Tr,Input:sn},self:LS},RS=B9,O9={name:"TimePicker",common:xe,peers:{Scrollbar:Lr,Button:Rr,Input:an},self:LS},FS=O9,L9={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},MS=e=>{const{hoverColor:t,fontSize:r,textColor2:n,textColorDisabled:o,popoverColor:i,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:u,dividerColor:f,boxShadow2:d,borderRadius:h,fontWeightStrong:p}=e;return Object.assign(Object.assign({},L9),{itemFontSize:r,calendarDaysFontSize:r,calendarTitleFontSize:r,itemTextColor:n,itemTextColorDisabled:o,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:se(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:n,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:n,panelHeaderDividerColor:f,calendarDaysDividerColor:f,calendarDividerColor:f,panelActionDividerColor:f,panelBoxShadow:d,panelBorderRadius:h,calendarTitleFontWeight:p,scrollItemBorderRadius:h,iconColor:l,iconColorDisabled:c})},R9={name:"DatePicker",common:be,peers:{Input:sn,Button:Tr,TimePicker:RS,Scrollbar:kr},self:MS},F9=R9,M9={name:"DatePicker",common:xe,peers:{Input:an,Button:Rr,TimePicker:FS,Scrollbar:Lr},self(e){const{popoverColor:t,hoverColor:r,primaryColor:n}=e,o=MS(e);return o.itemColorDisabled=Pe(t,r),o.itemColorIncluded=se(n,{alpha:.15}),o.itemColorHover=Pe(t,r),o}},z9=M9;var Ye=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function N9(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function H9(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}const j9={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},zS=e=>{const{tableHeaderColor:t,textColor2:r,textColor1:n,cardColor:o,modalColor:i,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:u,fontSizeSmall:f,fontSizeMedium:d,fontSizeLarge:h}=e;return Object.assign(Object.assign({},j9),{lineHeight:u,fontSizeSmall:f,fontSizeMedium:d,fontSizeLarge:h,titleTextColor:n,thColor:Pe(o,t),thColorModal:Pe(i,t),thColorPopover:Pe(a,t),thTextColor:n,thFontWeight:c,tdTextColor:r,tdColor:o,tdColorModal:i,tdColorPopover:a,borderColor:Pe(o,s),borderColorModal:Pe(i,s),borderColorPopover:Pe(a,s),borderRadius:l})},W9={name:"Descriptions",common:be,self:zS},U9=W9,V9={name:"Descriptions",common:xe,self:zS},G9=V9,q9={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},NS=e=>{const{textColor1:t,textColor2:r,modalColor:n,closeIconColor:o,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:u,warningColor:f,errorColor:d,primaryColor:h,dividerColor:p,borderRadius:g,fontWeightStrong:v,lineHeight:m,fontSize:b}=e;return Object.assign(Object.assign({},q9),{fontSize:b,lineHeight:m,border:`1px solid ${p}`,titleTextColor:t,textColor:r,color:n,closeColorHover:s,closeColorPressed:l,closeIconColor:o,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:g,iconColor:h,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:f,iconColorError:d,borderRadius:g,titleFontWeight:v})},Y9={name:"Dialog",common:be,peers:{Button:Tr},self:NS},Vp=Y9,K9={name:"Dialog",common:xe,peers:{Button:Rr},self:NS},HS=K9,Qu={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},jS=ba(Qu),X9=Y([ne("dialog",` - --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left); - word-break: break-word; - line-height: var(--n-line-height); - position: relative; - background: var(--n-color); - color: var(--n-text-color); - box-sizing: border-box; - margin: auto; - border-radius: var(--n-border-radius); - padding: var(--n-padding); - transition: - border-color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - `,[le("icon",{color:"var(--n-icon-color)"}),ue("bordered",{border:"var(--n-border)"}),ue("icon-top",[le("close",{margin:"var(--n-close-margin)"}),le("icon",{margin:"var(--n-icon-margin)"}),le("content",{textAlign:"center"}),le("title",{justifyContent:"center"}),le("action",{justifyContent:"center"})]),ue("icon-left",[le("icon",{margin:"var(--n-icon-margin)"}),ue("closable",[le("title",` - padding-right: calc(var(--n-close-size) + 6px); - `)])]),le("close",` - position: absolute; - right: 0; - top: 0; - margin: var(--n-close-margin); - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - z-index: 1; - `),le("content",` - font-size: var(--n-font-size); - margin: var(--n-content-margin); - position: relative; - word-break: break-word; - `,[ue("last","margin-bottom: 0;")]),le("action",` - display: flex; - justify-content: flex-end; - `,[Y("> *:not(:last-child)",` - margin-right: var(--n-action-space); - `)]),le("icon",` - font-size: var(--n-icon-size); - transition: color .3s var(--n-bezier); - `),le("title",` - transition: color .3s var(--n-bezier); - display: flex; - align-items: center; - font-size: var(--n-title-font-size); - font-weight: var(--n-title-font-weight); - color: var(--n-title-text-color); - `),ne("dialog-icon-container",` - display: flex; - justify-content: center; - `)]),Mu(ne("dialog",` - width: 446px; - max-width: calc(100vw - 32px); - `)),ne("dialog",[cw(` - width: 446px; - max-width: calc(100vw - 32px); - `)])]),Q9={default:()=>$(Ca,null),info:()=>$(Ca,null),success:()=>$(Cl,null),warning:()=>$(wl,null),error:()=>$(yl,null)},WS=pe({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},We.props),Qu),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:o}=gt(e),i=on("Dialog",o,r),a=R(()=>{var h,p;const{iconPlacement:g}=e;return g||((p=(h=t==null?void 0:t.value)===null||h===void 0?void 0:h.Dialog)===null||p===void 0?void 0:p.iconPlacement)||"left"});function s(h){const{onPositiveClick:p}=e;p&&p(h)}function l(h){const{onNegativeClick:p}=e;p&&p(h)}function c(){const{onClose:h}=e;h&&h()}const u=We("Dialog","-dialog",X9,Vp,e,r),f=R(()=>{const{type:h}=e,p=a.value,{common:{cubicBezierEaseInOut:g},self:{fontSize:v,lineHeight:m,border:b,titleTextColor:y,textColor:x,color:S,closeBorderRadius:C,closeColorHover:w,closeColorPressed:k,closeIconColor:A,closeIconColorHover:T,closeIconColorPressed:I,closeIconSize:D,borderRadius:B,titleFontWeight:j,titleFontSize:F,padding:z,iconSize:V,actionSpace:oe,contentMargin:fe,closeSize:ge,[p==="top"?"iconMarginIconTop":"iconMargin"]:U,[p==="top"?"closeMarginIconTop":"closeMargin"]:X,[we("iconColor",h)]:ae}}=u.value,Z=hl(U);return{"--n-font-size":v,"--n-icon-color":ae,"--n-bezier":g,"--n-close-margin":X,"--n-icon-margin-top":Z.top,"--n-icon-margin-right":Z.right,"--n-icon-margin-bottom":Z.bottom,"--n-icon-margin-left":Z.left,"--n-icon-size":V,"--n-close-size":ge,"--n-close-icon-size":D,"--n-close-border-radius":C,"--n-close-color-hover":w,"--n-close-color-pressed":k,"--n-close-icon-color":A,"--n-close-icon-color-hover":T,"--n-close-icon-color-pressed":I,"--n-color":S,"--n-text-color":x,"--n-border-radius":B,"--n-padding":z,"--n-line-height":m,"--n-border":b,"--n-content-margin":fe,"--n-title-font-size":F,"--n-title-font-weight":j,"--n-title-text-color":y,"--n-action-space":oe}}),d=n?tr("dialog",R(()=>`${e.type[0]}${a.value[0]}`),f,e):void 0;return{mergedClsPrefix:r,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:n?void 0:f,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:r,cssVars:n,closable:o,showIcon:i,title:a,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:f,negativeButtonProps:d,handlePositiveClick:h,handleNegativeClick:p,mergedTheme:g,loading:v,type:m,mergedClsPrefix:b}=this;(e=this.onRender)===null||e===void 0||e.call(this);const y=i?$(dr,{clsPrefix:b,class:`${b}-dialog__icon`},{default:()=>nr(this.$slots.icon,S=>S||(this.icon?Nr(this.icon):Q9[this.type]()))}):null,x=nr(this.$slots.action,S=>S||u||c||l?$("div",{class:`${b}-dialog__action`},S||(l?[Nr(l)]:[this.negativeText&&$(gn,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,ghost:!0,size:"small",onClick:p},d),{default:()=>Nr(this.negativeText)}),this.positiveText&&$(gn,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,size:"small",type:m==="default"?"primary":m,disabled:v,loading:v,onClick:h},f),{default:()=>Nr(this.positiveText)})])):null);return $("div",{class:[`${b}-dialog`,this.themeClass,this.closable&&`${b}-dialog--closable`,`${b}-dialog--icon-${r}`,t&&`${b}-dialog--bordered`,this.rtlEnabled&&`${b}-dialog--rtl`],style:n,role:"dialog"},o?nr(this.$slots.close,S=>{const C=[`${b}-dialog__close`,this.rtlEnabled&&`${b}-dialog--rtl`];return S?$("div",{class:C},S):$(Wa,{clsPrefix:b,class:C,onClick:this.handleCloseClick})}):null,i&&r==="top"?$("div",{class:`${b}-dialog-icon-container`},y):null,$("div",{class:`${b}-dialog__title`},i&&r==="left"?y:null,Xc(this.$slots.header,()=>[Nr(a)])),$("div",{class:[`${b}-dialog__content`,x?"":`${b}-dialog__content--last`]},Xc(this.$slots.default,()=>[Nr(s)])),x)}}),US="n-dialog-provider",VS="n-dialog-api",Z9="n-dialog-reactive-list",GS=e=>{const{modalColor:t,textColor2:r,boxShadow3:n}=e;return{color:t,textColor:r,boxShadow:n}},J9={name:"Modal",common:be,peers:{Scrollbar:kr,Dialog:Vp,Card:Hp},self:GS},qS=J9,e7={name:"Modal",common:xe,peers:{Scrollbar:Lr,Dialog:HS,Card:lS},self:GS},t7=e7,Gp=Object.assign(Object.assign({},jp),Qu),r7=ba(Gp),n7=pe({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},Gp),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=M(null),r=M(null),n=M(e.show),o=M(null),i=M(null);Je(Lt(e,"show"),v=>{v&&(n.value=!0)}),qA(R(()=>e.blockScroll&&n.value));const a=ze(gw);function s(){if(a.transformOriginRef.value==="center")return"";const{value:v}=o,{value:m}=i;if(v===null||m===null)return"";if(r.value){const b=r.value.containerScrollTop;return`${v}px ${m+b}px`}return""}function l(v){if(a.transformOriginRef.value==="center")return;const m=a.getMousePosition();if(!m||!r.value)return;const b=r.value.containerScrollTop,{offsetLeft:y,offsetTop:x}=v;if(m){const S=m.y,C=m.x;o.value=-(y-C),i.value=-(x-S-b)}v.style.transformOrigin=s()}function c(v){Qt(()=>{l(v)})}function u(v){v.style.transformOrigin=s(),e.onBeforeLeave()}function f(){n.value=!1,o.value=null,i.value=null,e.onAfterLeave()}function d(){const{onClose:v}=e;v&&v()}function h(){e.onNegativeClick()}function p(){e.onPositiveClick()}const g=M(null);return Je(g,v=>{v&&Qt(()=>{const m=v.el;m&&t.value!==m&&(t.value=m)})}),ft(gp,t),ft(mp,null),ft(vp,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:r,displayed:n,childNodeRef:g,handlePositiveClick:p,handleNegativeClick:h,handleCloseClick:d,handleAfterLeave:f,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:r,handleAfterLeave:n,handleBeforeLeave:o,preset:i,mergedClsPrefix:a}=this;let s=null;if(!i){if(s=$0(e),!s){Hs("modal","default slot is empty");return}s=tn(s),s.props=On({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?lr($("div",{role:"none",class:`${a}-modal-body-wrapper`},$(qu,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),$($w,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return $(_r,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:r,onAfterEnter:this.onAfterEnter,onAfterLeave:n,onBeforeLeave:o},{default:()=>{const u=[[gi,this.show]],{onClickoutside:f}=this;return f&&u.push([L0,this.onClickoutside,void 0,{capture:!0}]),lr(this.preset==="confirm"||this.preset==="dialog"?$(WS,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},ma(this.$props,jS),{"aria-modal":"true"}),e):this.preset==="card"?$(Yu,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},ma(this.$props,yM),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[gi,this.displayDirective==="if"||this.displayed||this.show]]):null}}),o7=Y([ne("modal-container",` - position: fixed; - left: 0; - top: 0; - height: 0; - width: 0; - display: flex; - `),ne("modal-mask",` - position: fixed; - left: 0; - right: 0; - top: 0; - bottom: 0; - background-color: rgba(0, 0, 0, .4); - `,[wa({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),ne("modal-body-wrapper",` - position: fixed; - left: 0; - right: 0; - top: 0; - bottom: 0; - overflow: visible; - `,[ne("modal-scroll-content",` - min-height: 100%; - display: flex; - position: relative; - `)]),ne("modal",` - position: relative; - align-self: center; - color: var(--n-text-color); - margin: auto; - box-shadow: var(--n-box-shadow); - `,[B2({duration:".25s",enterScale:".5"})])]),i7=Object.assign(Object.assign(Object.assign(Object.assign({},We.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),Gp),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),Ai=pe({name:"Modal",inheritAttrs:!1,props:i7,setup(e){const t=M(null),{mergedClsPrefixRef:r,namespaceRef:n,inlineThemeDisabled:o}=gt(e),i=We("Modal","-modal",o7,qS,e,r),a=hw(64),s=fw(),l=Ha(),c=e.internalDialog?ze(US,null):null,u=e.internalModal?ze(JT,null):null,f=YA();function d(C){const{onUpdateShow:w,"onUpdate:show":k,onHide:A}=e;w&&ar(w,C),k&&ar(k,C),A&&!C&&A(C)}function h(){const{onClose:C}=e;C?Promise.resolve(C()).then(w=>{w!==!1&&d(!1)}):d(!1)}function p(){const{onPositiveClick:C}=e;C?Promise.resolve(C()).then(w=>{w!==!1&&d(!1)}):d(!1)}function g(){const{onNegativeClick:C}=e;C?Promise.resolve(C()).then(w=>{w!==!1&&d(!1)}):d(!1)}function v(){const{onBeforeLeave:C,onBeforeHide:w}=e;C&&ar(C),w&&w()}function m(){const{onAfterLeave:C,onAfterHide:w}=e;C&&ar(C),w&&w()}function b(C){var w;const{onMaskClick:k}=e;k&&k(C),e.maskClosable&&!((w=t.value)===null||w===void 0)&&w.contains(Ns(C))&&d(!1)}function y(C){var w;(w=e.onEsc)===null||w===void 0||w.call(e),e.show&&e.closeOnEsc&&BT(C)&&!f.value&&d(!1)}ft(gw,{getMousePosition:()=>{const C=c||u;if(C){const{clickedRef:w,clickedPositionRef:k}=C;if(w.value&&k.value)return k.value}return a.value?s.value:null},mergedClsPrefixRef:r,mergedThemeRef:i,isMountedRef:l,appearRef:Lt(e,"internalAppear"),transformOriginRef:Lt(e,"transformOrigin")});const x=R(()=>{const{common:{cubicBezierEaseOut:C},self:{boxShadow:w,color:k,textColor:A}}=i.value;return{"--n-bezier-ease-out":C,"--n-box-shadow":w,"--n-color":k,"--n-text-color":A}}),S=o?tr("theme-class",void 0,x,e):void 0;return{mergedClsPrefix:r,namespace:n,isMounted:l,containerRef:t,presetProps:R(()=>ma(e,r7)),handleEsc:y,handleAfterLeave:m,handleClickoutside:b,handleBeforeLeave:v,doUpdateShow:d,handleNegativeClick:g,handlePositiveClick:p,handleCloseClick:h,cssVars:o?void 0:x,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return $(bp,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:r}=this;return lr($("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},$(n7,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:r?void 0:this.handleClickoutside,renderMask:r?()=>{var n;return $(_r,{name:"fade-in-transition",key:"mask",appear:(n=this.internalAppear)!==null&&n!==void 0?n:this.isMounted},{default:()=>this.show?$("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[Hu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),a7=Object.assign(Object.assign({},Qu),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),s7=pe({name:"DialogEnvironment",props:Object.assign(Object.assign({},a7),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=M(!0);function r(){const{onInternalAfterLeave:u,internalKey:f,onAfterLeave:d}=e;u&&u(f),d&&d()}function n(u){const{onPositiveClick:f}=e;f?Promise.resolve(f(u)).then(d=>{d!==!1&&l()}):l()}function o(u){const{onNegativeClick:f}=e;f?Promise.resolve(f(u)).then(d=>{d!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(f=>{f!==!1&&l()}):l()}function a(u){const{onMaskClick:f,maskClosable:d}=e;f&&(f(u),d&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:r,handleCloseClick:i,handleNegativeClick:o,handlePositiveClick:n,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:r,handleCloseClick:n,handleAfterLeave:o,handleMaskClick:i,handleEsc:a,to:s,maskClosable:l,show:c}=this;return $(Ai,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:o,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>$(WS,Object.assign({},ma(this.$props,jS),{style:this.internalStyle,onClose:n,onNegativeClick:r,onPositiveClick:e}))})}}),l7={injectionKey:String,to:[String,Object]},c7=pe({name:"DialogProvider",props:l7,setup(){const e=M([]),t={};function r(s={}){const l=Ru(),c=nn(Object.assign(Object.assign({},s),{key:l,destroy:()=>{t[`n-dialog-${l}`].hide()}}));return e.value.push(c),c}const n=["info","success","warning","error"].map(s=>l=>r(Object.assign(Object.assign({},l),{type:s})));function o(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function i(){Object.values(t).forEach(s=>{s.hide()})}const a={create:r,destroyAll:i,info:n[0],success:n[1],warning:n[2],error:n[3]};return ft(VS,a),ft(US,{clickedRef:hw(64),clickedPositionRef:fw()}),ft(Z9,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:o})},render(){var e,t;return $(ot,null,[this.dialogList.map(r=>$(s7,fp(r,["destroy","style"],{internalStyle:r.style,to:this.to,ref:n=>{n===null?delete this.dialogInstRefs[`n-dialog-${r.key}`]:this.dialogInstRefs[`n-dialog-${r.key}`]=n},internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function YS(){const e=ze(VS,null);return e===null&&pl("use-dialog","No outer founded."),e}const KS=e=>{const{textColor1:t,dividerColor:r,fontWeightStrong:n}=e;return{textColor:t,color:r,fontWeight:n}},u7={name:"Divider",common:be,self:KS},d7=u7,f7={name:"Divider",common:xe,self:KS},h7=f7,XS=e=>{const{modalColor:t,textColor1:r,textColor2:n,boxShadow3:o,lineHeight:i,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:f,closeIconColorPressed:d,borderRadius:h,primaryColorHover:p}=e;return{bodyPadding:"16px 24px",borderRadius:h,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:n,titleTextColor:r,titleFontSize:"18px",titleFontWeight:a,boxShadow:o,lineHeight:i,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:u,closeIconColorHover:f,closeIconColorPressed:d,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:h,resizableTriggerColorHover:p}},p7={name:"Drawer",common:be,peers:{Scrollbar:kr},self:XS},g7=p7,m7={name:"Drawer",common:xe,peers:{Scrollbar:Lr},self:XS},v7=m7,QS={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},b7={name:"DynamicInput",common:xe,peers:{Input:an,Button:Rr},self(){return QS}},x7=b7,y7=()=>QS,C7={name:"DynamicInput",common:be,peers:{Input:sn,Button:Tr},self:y7},w7=C7,ZS={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},S7={name:"Space",self(){return ZS}},JS=S7,_7=()=>ZS,E7={name:"Space",self:_7},qp=E7;let of;const k7=()=>{if(!eo)return!0;if(of===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),of=t}return of},T7=Object.assign(Object.assign({},We.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),Zu=pe({name:"Space",props:T7,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:r}=gt(e),n=We("Space","-space",void 0,qp,e,t),o=on("Space",r,t);return{useGap:k7(),rtlEnabled:o,mergedClsPrefix:t,margin:R(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[we("gap",i)]:a}}=n.value,{row:s,col:l}=Zk(a);return{horizontal:Nm(l),vertical:Nm(s)}})}},render(){const{vertical:e,reverse:t,align:r,inline:n,justify:o,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:c,rtlEnabled:u,useGap:f,wrapItem:d,internalUseGap:h}=this,p=va(dp(this),!1);if(!p.length)return null;const g=`${s.horizontal}px`,v=`${s.horizontal/2}px`,m=`${s.vertical}px`,b=`${s.vertical/2}px`,y=p.length-1,x=o.startsWith("space-");return $("div",{role:"none",class:[`${c}-space`,u&&`${c}-space--rtl`],style:{display:n?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(o)?"flex-"+o:o,flexWrap:!l||e?"nowrap":"wrap",marginTop:f||e?"":`-${b}`,marginBottom:f||e?"":`-${b}`,alignItems:r,gap:f?`${s.vertical}px ${s.horizontal}px`:""}},!d&&(f||h)?p:p.map((S,C)=>S.type===yr?S:$("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},f?"":e?{marginBottom:C!==y?m:""}:u?{marginLeft:x?o==="space-between"&&C===y?"":v:C!==y?g:"",marginRight:x?o==="space-between"&&C===0?"":v:"",paddingTop:b,paddingBottom:b}:{marginRight:x?o==="space-between"&&C===y?"":v:C!==y?g:"",marginLeft:x?o==="space-between"&&C===0?"":v:"",paddingTop:b,paddingBottom:b}]},S)))}}),A7={name:"DynamicTags",common:xe,peers:{Input:an,Button:Rr,Tag:M2,Space:JS},self(){return{inputWidth:"64px"}}},P7=A7,$7={name:"DynamicTags",common:be,peers:{Input:sn,Button:Tr,Tag:Fp,Space:qp},self(){return{inputWidth:"64px"}}},I7=$7,D7={name:"Element",common:xe},B7=D7,O7={name:"Element",common:be},L7=O7,e_={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},R7={name:"Flex",self(){return e_}},F7=R7,M7=()=>e_,z7={name:"Flex",self:M7},N7=z7,H7={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},t_=e=>{const{heightSmall:t,heightMedium:r,heightLarge:n,textColor1:o,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},H7),{blankHeightSmall:t,blankHeightMedium:r,blankHeightLarge:n,lineHeight:s,labelTextColor:o,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})},j7={name:"Form",common:be,self:t_},r_=j7,W7={name:"Form",common:xe,self:t_},U7=W7,V7=ne("form",[ue("inline",` - width: 100%; - display: inline-flex; - align-items: flex-start; - align-content: space-around; - `,[ne("form-item",{width:"auto",marginRight:"18px"},[Y("&:last-child",{marginRight:0})])])]),G7="n-form",q7="n-form-item-insts";var Y7=globalThis&&globalThis.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};const K7=Object.assign(Object.assign({},We.props),{inline:Boolean,labelWidth:[Number,String],labelAlign:String,labelPlacement:{type:String,default:"top"},model:{type:Object,default:()=>{}},rules:Object,disabled:Boolean,size:String,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:!0},onSubmit:{type:Function,default:e=>{e.preventDefault()}},showLabel:{type:Boolean,default:void 0},validateMessages:Object}),f1=pe({name:"Form",props:K7,setup(e){const{mergedClsPrefixRef:t}=gt(e);We("Form","-form",V7,r_,e,t);const r={},n=M(void 0),o=l=>{const c=n.value;(c===void 0||l>=c)&&(n.value=l)};function i(l,c=()=>!0){return Y7(this,void 0,void 0,function*(){return yield new Promise((u,f)=>{const d=[];for(const h of ba(r)){const p=r[h];for(const g of p)g.path&&d.push(g.internalValidate(null,c))}Promise.all(d).then(h=>{const p=h.some(m=>!m.valid),g=[],v=[];h.forEach(m=>{var b,y;!((b=m.errors)===null||b===void 0)&&b.length&&g.push(m.errors),!((y=m.warnings)===null||y===void 0)&&y.length&&v.push(m.warnings)}),l&&l(g.length?g:void 0,{warnings:v.length?v:void 0}),p?f(g.length?g:void 0):u({warnings:v.length?v:void 0})})})})}function a(){for(const l of ba(r)){const c=r[l];for(const u of c)u.restoreValidation()}}return ft(G7,{props:e,maxChildLabelWidthRef:n,deriveMaxChildLabelWidth:o}),ft(q7,{formItems:r}),Object.assign({validate:i,restoreValidation:a},{mergedClsPrefix:t})},render(){const{mergedClsPrefix:e}=this;return $("form",{class:[`${e}-form`,this.inline&&`${e}-form--inline`],onSubmit:this.onSubmit},this.$slots)}}),h1=1,n_="n-grid",o_=1,X7={span:{type:[Number,String],default:o_},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},p1=pe({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:X7,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:r,overflowRef:n,layoutShiftDisabledRef:o}=ze(n_),i=Er();return{overflow:n,itemStyle:r,layoutShiftDisabled:o,mergedXGap:R(()=>qn(t.value||0)),deriveStyle:()=>{e.value;const{privateSpan:a=o_,privateShow:s=!0,privateColStart:l=void 0,privateOffset:c=0}=i.vnode.props,{value:u}=t,f=qn(u||0);return{display:s?"":"none",gridColumn:`${l??`span ${a}`} / span ${a}`,marginLeft:c?`calc((100% - (${a} - 1) * ${f}) / ${a} * ${c} + ${f} * ${c})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:r,offset:n,mergedXGap:o}=this;return $("div",{style:{gridColumn:`span ${r} / span ${r}`,marginLeft:n?`calc((100% - (${r} - 1) * ${o}) / ${r} * ${n} + ${o} * ${n})`:""}},this.$slots)}return $("div",{style:[this.itemStyle,this.deriveStyle()]},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e,{overflow:this.overflow}))}}),Q7={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},i_=e=>{const{textColor2:t,successColor:r,infoColor:n,warningColor:o,errorColor:i,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:u,closeColorPressed:f,textColor1:d,textColor3:h,borderRadius:p,fontWeightStrong:g,boxShadow2:v,lineHeight:m,fontSize:b}=e;return Object.assign(Object.assign({},Q7),{borderRadius:p,lineHeight:m,fontSize:b,headerFontWeight:g,iconColor:t,iconColorSuccess:r,iconColorInfo:n,iconColorWarning:o,iconColorError:i,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:p,closeColorHover:u,closeColorPressed:f,headerTextColor:d,descriptionTextColor:h,actionTextColor:t,boxShadow:v})},Z7={name:"Notification",common:be,peers:{Scrollbar:kr},self:i_},a_=Z7,J7={name:"Notification",common:xe,peers:{Scrollbar:Lr},self:i_},ez=J7,tz={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},s_=e=>{const{textColor2:t,closeIconColor:r,closeIconColorHover:n,closeIconColorPressed:o,infoColor:i,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:u,primaryColor:f,lineHeight:d,borderRadius:h,closeColorHover:p,closeColorPressed:g}=e;return Object.assign(Object.assign({},tz),{closeBorderRadius:h,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:f,closeColorHover:p,closeColorPressed:g,closeIconColor:r,closeIconColorHover:n,closeIconColorPressed:o,closeColorHoverInfo:p,closeColorPressedInfo:g,closeIconColorInfo:r,closeIconColorHoverInfo:n,closeIconColorPressedInfo:o,closeColorHoverSuccess:p,closeColorPressedSuccess:g,closeIconColorSuccess:r,closeIconColorHoverSuccess:n,closeIconColorPressedSuccess:o,closeColorHoverError:p,closeColorPressedError:g,closeIconColorError:r,closeIconColorHoverError:n,closeIconColorPressedError:o,closeColorHoverWarning:p,closeColorPressedWarning:g,closeIconColorWarning:r,closeIconColorHoverWarning:n,closeIconColorPressedWarning:o,closeColorHoverLoading:p,closeColorPressedLoading:g,closeIconColorLoading:r,closeIconColorHoverLoading:n,closeIconColorPressedLoading:o,loadingColor:f,lineHeight:d,borderRadius:h})},rz={name:"Message",common:be,self:s_},l_=rz,nz={name:"Message",common:xe,self:s_},oz=nz,iz={name:"ButtonGroup",common:xe},az=iz,sz={name:"ButtonGroup",common:be},lz=sz,cz={name:"GradientText",common:xe,self(e){const{primaryColor:t,successColor:r,warningColor:n,errorColor:o,infoColor:i,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:f}=e;return{fontWeight:f,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:n,colorEndWarning:l,colorStartError:o,colorEndError:c,colorStartSuccess:r,colorEndSuccess:s}}},uz=cz,dz=e=>{const{primaryColor:t,successColor:r,warningColor:n,errorColor:o,infoColor:i,fontWeightStrong:a}=e;return{fontWeight:a,rotate:"252deg",colorStartPrimary:se(t,{alpha:.6}),colorEndPrimary:t,colorStartInfo:se(i,{alpha:.6}),colorEndInfo:i,colorStartWarning:se(n,{alpha:.6}),colorEndWarning:n,colorStartError:se(o,{alpha:.6}),colorEndError:o,colorStartSuccess:se(r,{alpha:.6}),colorEndSuccess:r}},fz={name:"GradientText",common:be,self:dz},hz=fz,pz={name:"InputNumber",common:xe,peers:{Button:Rr,Input:an},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},gz=pz,mz=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},vz={name:"InputNumber",common:be,peers:{Button:Tr,Input:sn},self:mz},bz=vz,xz={name:"Layout",common:xe,peers:{Scrollbar:Lr},self(e){const{textColor2:t,bodyColor:r,popoverColor:n,cardColor:o,dividerColor:i,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:r,colorEmbedded:r,headerColor:o,headerColorInverted:o,footerColor:o,footerColorInverted:o,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:o,siderColorInverted:o,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:n,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:Pe(r,a),siderToggleBarColorHover:Pe(r,s),__invertScrollbar:"false"}}},yz=xz,Cz=e=>{const{baseColor:t,textColor2:r,bodyColor:n,cardColor:o,dividerColor:i,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:r,textColorInverted:"#FFF",color:n,colorEmbedded:a,headerColor:o,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:i,headerBorderColorInverted:c,footerBorderColor:i,footerBorderColorInverted:c,siderBorderColor:i,siderBorderColorInverted:c,siderColor:o,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:r,siderToggleButtonIconColorInverted:r,siderToggleBarColor:Pe(n,s),siderToggleBarColorHover:Pe(n,l),__invertScrollbar:"true"}},wz={name:"Layout",common:be,peers:{Scrollbar:kr},self:Cz},c_=wz,u_=e=>{const{textColor2:t,cardColor:r,modalColor:n,popoverColor:o,dividerColor:i,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:r,colorHover:l,colorModal:n,colorHoverModal:Pe(n,l),colorPopover:o,colorHoverPopover:Pe(o,l),borderColor:i,borderColorModal:Pe(n,i),borderColorPopover:Pe(o,i),borderRadius:a,fontSize:s}},Sz={name:"List",common:be,self:u_},_z=Sz,Ez={name:"List",common:xe,self:u_},kz=Ez,Tz={name:"LoadingBar",common:xe,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},Az=Tz,Pz=e=>{const{primaryColor:t,errorColor:r}=e;return{colorError:r,colorLoading:t,height:"2px"}},$z={name:"LoadingBar",common:be,self:Pz},d_=$z,Iz={name:"Log",common:xe,peers:{Scrollbar:Lr,Code:fS},self(e){const{textColor2:t,inputColor:r,fontSize:n,primaryColor:o}=e;return{loaderFontSize:n,loaderTextColor:t,loaderColor:r,loaderBorder:"1px solid #0000",loadingColor:o}}},Dz=Iz,Bz=e=>{const{textColor2:t,modalColor:r,borderColor:n,fontSize:o,primaryColor:i}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:r,loaderBorder:`1px solid ${n}`,loadingColor:i}},Oz={name:"Log",common:be,peers:{Scrollbar:kr,Code:hS},self:Bz},Lz=Oz,Rz={name:"Mention",common:xe,peers:{InternalSelectMenu:_l,Input:an},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},Fz=Rz,Mz=e=>{const{boxShadow2:t}=e;return{menuBoxShadow:t}},zz={name:"Mention",common:be,peers:{InternalSelectMenu:Sl,Input:sn},self:Mz},Nz=zz;function Hz(e,t,r,n){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:r,itemTextColorChildActiveInverted:r,itemTextColorChildActiveHoverInverted:r,itemTextColorActiveInverted:r,itemTextColorActiveHoverInverted:r,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:r,itemTextColorChildActiveHorizontalInverted:r,itemTextColorChildActiveHoverHorizontalInverted:r,itemTextColorActiveHorizontalInverted:r,itemTextColorActiveHoverHorizontalInverted:r,itemIconColorInverted:e,itemIconColorHoverInverted:r,itemIconColorActiveInverted:r,itemIconColorActiveHoverInverted:r,itemIconColorChildActiveInverted:r,itemIconColorChildActiveHoverInverted:r,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:r,itemIconColorActiveHorizontalInverted:r,itemIconColorActiveHoverHorizontalInverted:r,itemIconColorChildActiveHorizontalInverted:r,itemIconColorChildActiveHoverHorizontalInverted:r,arrowColorInverted:e,arrowColorHoverInverted:r,arrowColorActiveInverted:r,arrowColorActiveHoverInverted:r,arrowColorChildActiveInverted:r,arrowColorChildActiveHoverInverted:r,groupTextColorInverted:n}}const f_=e=>{const{borderRadius:t,textColor3:r,primaryColor:n,textColor2:o,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:r,itemColorHover:l,itemColorActive:se(n,{alpha:.1}),itemColorActiveHover:se(n,{alpha:.1}),itemColorActiveCollapsed:se(n,{alpha:.1}),itemTextColor:o,itemTextColorHover:o,itemTextColorActive:n,itemTextColorActiveHover:n,itemTextColorChildActive:n,itemTextColorChildActiveHover:n,itemTextColorHorizontal:o,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:n,itemTextColorActiveHoverHorizontal:n,itemTextColorChildActiveHorizontal:n,itemTextColorChildActiveHoverHorizontal:n,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:n,itemIconColorActiveHover:n,itemIconColorChildActive:n,itemIconColorChildActiveHover:n,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:n,itemIconColorActiveHoverHorizontal:n,itemIconColorChildActiveHorizontal:n,itemIconColorChildActiveHoverHorizontal:n,itemHeight:"42px",arrowColor:o,arrowColorHover:o,arrowColorActive:n,arrowColorActiveHover:n,arrowColorChildActive:n,arrowColorChildActiveHover:n,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},Hz("#BBB",n,"#FFF","#AAA"))},jz={name:"Menu",common:be,peers:{Tooltip:El,Dropdown:Wp},self:f_},Wz=jz,Uz={name:"Menu",common:xe,peers:{Tooltip:Ku,Dropdown:Up},self(e){const{primaryColor:t,primaryColorSuppl:r}=e,n=f_(e);return n.itemColorActive=se(t,{alpha:.15}),n.itemColorActiveHover=se(t,{alpha:.15}),n.itemColorActiveCollapsed=se(t,{alpha:.15}),n.itemColorActiveInverted=r,n.itemColorActiveHoverInverted=r,n.itemColorActiveCollapsedInverted=r,n}},Vz=Uz,Gz={titleFontSize:"18px",backSize:"22px"};function h_(e){const{textColor1:t,textColor2:r,textColor3:n,fontSize:o,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},Gz),{titleFontWeight:i,fontSize:o,titleTextColor:t,backColor:r,backColorHover:a,backColorPressed:s,subtitleTextColor:n})}const qz={name:"PageHeader",common:be,self:h_},Yz={name:"PageHeader",common:xe,self:h_},Kz={iconSize:"22px"},p_=e=>{const{fontSize:t,warningColor:r}=e;return Object.assign(Object.assign({},Kz),{fontSize:t,iconColor:r})},Xz={name:"Popconfirm",common:be,peers:{Button:Tr,Popover:Fo},self:p_},Qz=Xz,Zz={name:"Popconfirm",common:xe,peers:{Button:Rr,Popover:Ti},self:p_},Jz=Zz,g_=e=>{const{infoColor:t,successColor:r,warningColor:n,errorColor:o,textColor2:i,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:r,iconColorWarning:n,iconColorError:o,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:r,fillColorWarning:n,fillColorError:o,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},eN={name:"Progress",common:be,self:g_},m_=eN,tN={name:"Progress",common:xe,self(e){const t=g_(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},v_=tN,rN={name:"Rate",common:xe,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},nN=rN,oN=e=>{const{railColor:t}=e;return{itemColor:t,itemColorActive:"#FFCC33",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}},iN={name:"Rate",common:be,self:oN},aN=iN,sN={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},b_=e=>{const{textColor2:t,textColor1:r,errorColor:n,successColor:o,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},sN),{lineHeight:s,titleFontWeight:l,titleTextColor:r,textColor:t,iconColorError:n,iconColorSuccess:o,iconColorInfo:i,iconColorWarning:a})},lN={name:"Result",common:be,self:b_},x_=lN,cN={name:"Result",common:xe,self:b_},uN=cN,y_={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},dN={name:"Slider",common:xe,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,modalColor:n,primaryColorSuppl:o,popoverColor:i,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:u}=e;return Object.assign(Object.assign({},y_),{fontSize:c,markFontSize:c,railColor:r,railColorHover:r,fillColor:o,fillColorHover:o,opacityDisabled:u,handleColor:"#FFF",dotColor:s,dotColorModal:n,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${o}`,dotBoxShadow:""})}},fN=dN,hN=e=>{const t="rgba(0, 0, 0, .85)",r="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,primaryColor:o,baseColor:i,cardColor:a,modalColor:s,popoverColor:l,borderRadius:c,fontSize:u,opacityDisabled:f}=e;return Object.assign(Object.assign({},y_),{fontSize:u,markFontSize:u,railColor:n,railColorHover:n,fillColor:o,fillColorHover:o,opacityDisabled:f,handleColor:"#FFF",dotColor:a,dotColorModal:s,dotColorPopover:l,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:r,indicatorTextColor:i,indicatorBorderRadius:c,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${o}`,dotBoxShadow:""})},pN={name:"Slider",common:be,self:hN},gN=pN,C_=e=>{const{opacityDisabled:t,heightTiny:r,heightSmall:n,heightMedium:o,heightLarge:i,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:r,sizeSmall:n,sizeMedium:o,sizeLarge:i,sizeHuge:a,color:s,opacitySpinning:t}},mN={name:"Spin",common:be,self:C_},w_=mN,vN={name:"Spin",common:xe,self:C_},bN=vN,S_=e=>{const{textColor2:t,textColor3:r,fontSize:n,fontWeight:o}=e;return{labelFontSize:n,labelFontWeight:o,valueFontWeight:o,valueFontSize:"24px",labelTextColor:r,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},xN={name:"Statistic",common:be,self:S_},yN=xN,CN={name:"Statistic",common:xe,self:S_},wN=CN,SN={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},__=e=>{const{fontWeightStrong:t,baseColor:r,textColorDisabled:n,primaryColor:o,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},SN),{stepHeaderFontWeight:t,indicatorTextColorProcess:r,indicatorTextColorWait:n,indicatorTextColorFinish:o,indicatorTextColorError:i,indicatorBorderColorProcess:o,indicatorBorderColorWait:n,indicatorBorderColorFinish:o,indicatorBorderColorError:i,indicatorColorProcess:o,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:n,splitorColorWait:n,splitorColorFinish:o,splitorColorError:n,headerTextColorProcess:a,headerTextColorWait:n,headerTextColorFinish:n,headerTextColorError:i,descriptionTextColorProcess:s,descriptionTextColorWait:n,descriptionTextColorFinish:n,descriptionTextColorError:i})},_N={name:"Steps",common:be,self:__},EN=_N,kN={name:"Steps",common:xe,self:__},TN=kN,E_={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},AN={name:"Switch",common:xe,self(e){const{primaryColorSuppl:t,opacityDisabled:r,borderRadius:n,primaryColor:o,textColor2:i,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},E_),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:r,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:n,railBorderRadiusMedium:n,railBorderRadiusLarge:n,buttonBorderRadiusSmall:n,buttonBorderRadiusMedium:n,buttonBorderRadiusLarge:n,boxShadowFocus:`0 0 8px 0 ${se(o,{alpha:.3})}`})}},PN=AN,$N=e=>{const{primaryColor:t,opacityDisabled:r,borderRadius:n,textColor3:o}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},E_),{iconColor:o,textColor:"white",loadingColor:t,opacityDisabled:r,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:n,railBorderRadiusMedium:n,railBorderRadiusLarge:n,buttonBorderRadiusSmall:n,buttonBorderRadiusMedium:n,buttonBorderRadiusLarge:n,boxShadowFocus:`0 0 0 2px ${se(t,{alpha:.2})}`})},IN={name:"Switch",common:be,self:$N},DN=IN,BN={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},k_=e=>{const{dividerColor:t,cardColor:r,modalColor:n,popoverColor:o,tableHeaderColor:i,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:u,lineHeight:f,fontSizeSmall:d,fontSizeMedium:h,fontSizeLarge:p}=e;return Object.assign(Object.assign({},BN),{fontSizeSmall:d,fontSizeMedium:h,fontSizeLarge:p,lineHeight:f,borderRadius:c,borderColor:Pe(r,t),borderColorModal:Pe(n,t),borderColorPopover:Pe(o,t),tdColor:r,tdColorModal:n,tdColorPopover:o,tdColorStriped:Pe(r,a),tdColorStripedModal:Pe(n,a),tdColorStripedPopover:Pe(o,a),thColor:Pe(r,i),thColorModal:Pe(n,i),thColorPopover:Pe(o,i),thTextColor:s,tdTextColor:l,thFontWeight:u})},ON={name:"Table",common:be,self:k_},LN=ON,RN={name:"Table",common:xe,self:k_},FN=RN,MN={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},T_=e=>{const{textColor2:t,primaryColor:r,textColorDisabled:n,closeIconColor:o,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:u,dividerColor:f,fontWeight:d,textColor1:h,borderRadius:p,fontSize:g,fontWeightStrong:v}=e;return Object.assign(Object.assign({},MN),{colorSegment:c,tabFontSizeCard:g,tabTextColorLine:h,tabTextColorActiveLine:r,tabTextColorHoverLine:r,tabTextColorDisabledLine:n,tabTextColorSegment:h,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:n,tabTextColorBar:h,tabTextColorActiveBar:r,tabTextColorHoverBar:r,tabTextColorDisabledBar:n,tabTextColorCard:h,tabTextColorHoverCard:h,tabTextColorActiveCard:r,tabTextColorDisabledCard:n,barColor:r,closeIconColor:o,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:p,tabColor:c,tabColorSegment:u,tabBorderColor:f,tabFontWeightActive:d,tabFontWeight:d,tabBorderRadius:p,paneTextColor:t,fontWeightStrong:v})},zN={name:"Tabs",common:be,self:T_},NN=zN,HN={name:"Tabs",common:xe,self(e){const t=T_(e),{inputColor:r}=e;return t.colorSegment=r,t.tabColorSegment=r,t}},jN=HN,A_=e=>{const{textColor1:t,textColor2:r,fontWeightStrong:n,fontSize:o}=e;return{fontSize:o,titleTextColor:t,textColor:r,titleFontWeight:n}},WN={name:"Thing",common:be,self:A_},UN=WN,VN={name:"Thing",common:xe,self:A_},GN=VN,P_={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},qN={name:"Timeline",common:xe,self(e){const{textColor3:t,infoColorSuppl:r,errorColorSuppl:n,successColorSuppl:o,warningColorSuppl:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},P_),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${r}`,circleBorderError:`2px solid ${n}`,circleBorderSuccess:`2px solid ${o}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:r,iconColorError:n,iconColorSuccess:o,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},YN=qN,KN=e=>{const{textColor3:t,infoColor:r,errorColor:n,successColor:o,warningColor:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},P_),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${r}`,circleBorderError:`2px solid ${n}`,circleBorderSuccess:`2px solid ${o}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:r,iconColorError:n,iconColorSuccess:o,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})},XN={name:"Timeline",common:be,self:KN},QN=XN,$_={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},ZN={name:"Transfer",common:xe,peers:{Checkbox:Va,Scrollbar:Lr,Input:an,Empty:ki,Button:Rr},self(e){const{fontWeight:t,fontSizeLarge:r,fontSizeMedium:n,fontSizeSmall:o,heightLarge:i,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:u,textColorDisabled:f,textColor2:d,textColor3:h,hoverColor:p,closeColorHover:g,closeColorPressed:v,closeIconColor:m,closeIconColorHover:b,closeIconColorPressed:y,dividerColor:x}=e;return Object.assign(Object.assign({},$_),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:o,fontSizeMedium:n,fontSizeLarge:r,borderRadius:s,dividerColor:x,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:f,extraTextColor:h,extraTextColorDisabled:f,itemTextColor:d,itemTextColorDisabled:f,itemColorPending:p,titleFontWeight:t,closeColorHover:g,closeColorPressed:v,closeIconColor:m,closeIconColorHover:b,closeIconColorPressed:y})}},JN=ZN,eH=e=>{const{fontWeight:t,fontSizeLarge:r,fontSizeMedium:n,fontSizeSmall:o,heightLarge:i,heightMedium:a,borderRadius:s,cardColor:l,tableHeaderColor:c,textColor1:u,textColorDisabled:f,textColor2:d,textColor3:h,borderColor:p,hoverColor:g,closeColorHover:v,closeColorPressed:m,closeIconColor:b,closeIconColorHover:y,closeIconColorPressed:x}=e;return Object.assign(Object.assign({},$_),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:o,fontSizeMedium:n,fontSizeLarge:r,borderRadius:s,dividerColor:p,borderColor:p,listColor:l,headerColor:Pe(l,c),titleTextColor:u,titleTextColorDisabled:f,extraTextColor:h,extraTextColorDisabled:f,itemTextColor:d,itemTextColorDisabled:f,itemColorPending:g,titleFontWeight:t,closeColorHover:v,closeColorPressed:m,closeIconColor:b,closeIconColorHover:y,closeIconColorPressed:x})},tH={name:"Transfer",common:be,peers:{Checkbox:Ua,Scrollbar:kr,Input:sn,Empty:oo,Button:Tr},self:eH},rH=tH,I_=e=>{const{borderRadiusSmall:t,dividerColor:r,hoverColor:n,pressedColor:o,primaryColor:i,textColor3:a,textColor2:s,textColorDisabled:l,fontSize:c}=e;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:n,nodeColorPressed:o,nodeColorActive:se(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:r}},nH={name:"Tree",common:be,peers:{Checkbox:Ua,Scrollbar:kr,Empty:oo},self:I_},D_=nH,oH={name:"Tree",common:xe,peers:{Checkbox:Va,Scrollbar:Lr,Empty:ki},self(e){const{primaryColor:t}=e,r=I_(e);return r.nodeColorActive=se(t,{alpha:.15}),r}},B_=oH,iH={name:"TreeSelect",common:xe,peers:{Tree:B_,Empty:ki,InternalSelection:zp}},aH=iH,sH=e=>{const{popoverColor:t,boxShadow2:r,borderRadius:n,heightMedium:o,dividerColor:i,textColor2:a}=e;return{menuPadding:"4px",menuColor:t,menuBoxShadow:r,menuBorderRadius:n,menuHeight:`calc(${o} * 7.6)`,actionDividerColor:i,actionTextColor:a,actionPadding:"8px 12px"}},lH={name:"TreeSelect",common:be,peers:{Tree:D_,Empty:oo,InternalSelection:Mp},self:sH},cH=lH,uH={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},O_=e=>{const{primaryColor:t,textColor2:r,borderColor:n,lineHeight:o,fontSize:i,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:u,infoColor:f,warningColor:d,errorColor:h,successColor:p,codeColor:g}=e;return Object.assign(Object.assign({},uH),{aTextColor:t,blockquoteTextColor:r,blockquotePrefixColor:n,blockquoteLineHeight:o,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:r,liLineHeight:o,liFontSize:i,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:r,pTextColor1Depth:c,pTextColor2Depth:r,pTextColor3Depth:u,pLineHeight:o,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:f,headerBarColorError:h,headerBarColorWarning:d,headerBarColorSuccess:p,textColor:r,textColor1Depth:c,textColor2Depth:r,textColor3Depth:u,textColorPrimary:t,textColorInfo:f,textColorSuccess:p,textColorWarning:d,textColorError:h,codeTextColor:r,codeColor:g,codeBorder:"1px solid #0000"})},dH={name:"Typography",common:be,self:O_},fH=dH,hH={name:"Typography",common:xe,self:O_},pH=hH,L_=e=>{const{iconColor:t,primaryColor:r,errorColor:n,textColor2:o,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:u,borderRadius:f,fontSize:d}=e;return{fontSize:d,lineHeight:u,borderRadius:f,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${r}`,itemColorHover:c,itemColorHoverError:se(n,{alpha:.06}),itemTextColor:o,itemTextColorError:n,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${n}`,itemBorderImageCard:`1px solid ${l}`}},gH={name:"Upload",common:be,peers:{Button:Tr,Progress:m_},self:L_},mH=gH,vH={name:"Upload",common:xe,peers:{Button:Rr,Progress:v_},self(e){const{errorColor:t}=e,r=L_(e);return r.itemColorHoverError=se(t,{alpha:.09}),r}},bH=vH,xH={name:"Watermark",common:xe,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},yH=xH,CH={name:"Watermark",common:be,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},wH=CH,SH={name:"Row",common:be},_H=SH,EH={name:"Row",common:xe},kH=EH,TH=e=>{const{popoverColor:t,dividerColor:r,borderRadius:n}=e;return{color:t,buttonBorderColor:r,borderRadiusSquare:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}},AH={name:"FloatButtonGroup",common:be,self:TH},PH=AH,$H={name:"FloatButton",common:xe,self(e){const{popoverColor:t,textColor2:r,buttonColor2Hover:n,buttonColor2Pressed:o,primaryColor:i,primaryColorHover:a,primaryColorPressed:s,baseColor:l,borderRadius:c}=e;return{color:t,textColor:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:n,colorPressed:o,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:s,textColorPrimary:l,borderRadiusSquare:c}}},IH=$H,DH=e=>{const{popoverColor:t,textColor2:r,buttonColor2Hover:n,buttonColor2Pressed:o,primaryColor:i,primaryColorHover:a,primaryColorPressed:s,borderRadius:l}=e;return{color:t,colorHover:n,colorPressed:o,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:s,textColor:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .16)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .24)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .24)",textColorPrimary:"#fff",borderRadiusSquare:l}},BH={name:"FloatButton",common:be,self:DH},OH=BH,LH=pe({name:"GlobalStyle",setup(){if(typeof document>"u")return;const e=ze(Ln,null),{body:t}=document,{style:r}=t;let n=!1,o=!0;bn(()=>{Or(()=>{var i,a;const{textColor2:s,fontSize:l,fontFamily:c,bodyColor:u,cubicBezierEaseInOut:f,lineHeight:d}=e?Xi({},((i=e.mergedThemeRef.value)===null||i===void 0?void 0:i.common)||be,(a=e.mergedThemeOverridesRef.value)===null||a===void 0?void 0:a.common):be;if(n||!t.hasAttribute("n-styled")){r.setProperty("-webkit-text-size-adjust","100%"),r.setProperty("-webkit-tap-highlight-color","transparent"),r.padding="0",r.margin="0",r.backgroundColor=u,r.color=s,r.fontSize=l,r.fontFamily=c,r.lineHeight=d;const h=`color .3s ${f}, background-color .3s ${f}`;o?setTimeout(()=>{r.transition=h},0):r.transition=h,t.setAttribute("n-styled",""),n=!0,o=!1}})}),wi(()=>{n&&t.removeAttribute("n-styled")})},render(){return null}}),RH={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},R_=24,af="__ssr__",FH={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:R_},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},g1=pe({name:"Grid",inheritAttrs:!1,props:FH,setup(e){const{mergedClsPrefixRef:t,mergedBreakpointsRef:r}=gt(e),n=/^\d+$/,o=M(void 0),i=QT((r==null?void 0:r.value)||RH),a=Dr(()=>!!(e.itemResponsive||!n.test(e.cols.toString())||!n.test(e.xGap.toString())||!n.test(e.yGap.toString()))),s=R(()=>{if(a.value)return e.responsive==="self"?o.value:i.value}),l=Dr(()=>{var m;return(m=Number(Li(e.cols.toString(),s.value)))!==null&&m!==void 0?m:R_}),c=Dr(()=>Li(e.xGap.toString(),s.value)),u=Dr(()=>Li(e.yGap.toString(),s.value)),f=m=>{o.value=m.contentRect.width},d=m=>{up(f,m)},h=M(!1),p=R(()=>{if(e.responsive==="self")return d}),g=M(!1),v=M();return _t(()=>{const{value:m}=v;m&&m.hasAttribute(af)&&(m.removeAttribute(af),g.value=!0)}),ft(n_,{layoutShiftDisabledRef:Lt(e,"layoutShiftDisabled"),isSsrRef:g,itemStyleRef:Lt(e,"itemStyle"),xGapRef:c,overflowRef:h}),{isSsr:!eo,contentEl:v,mergedClsPrefix:t,style:R(()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:qn(e.xGap),rowGap:qn(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${l.value}, minmax(0, 1fr))`,columnGap:qn(c.value),rowGap:qn(u.value)}),isResponsive:a,responsiveQuery:s,responsiveCols:l,handleResize:p,overflow:h}},render(){if(this.layoutShiftDisabled)return $("div",On({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var t,r,n,o,i,a,s;this.overflow=!1;const l=va(dp(this)),c=[],{collapsed:u,collapsedRows:f,responsiveCols:d,responsiveQuery:h}=this;l.forEach(b=>{var y,x,S,C,w;if(((y=b==null?void 0:b.type)===null||y===void 0?void 0:y.__GRID_ITEM__)!==!0)return;if(cT(b)){const T=tn(b);T.props?T.props.privateShow=!1:T.props={privateShow:!1},c.push({child:T,rawChildSpan:0});return}b.dirs=((x=b.dirs)===null||x===void 0?void 0:x.filter(({dir:T})=>T!==gi))||null,((S=b.dirs)===null||S===void 0?void 0:S.length)===0&&(b.dirs=null);const k=tn(b),A=Number((w=Li((C=k.props)===null||C===void 0?void 0:C.span,h))!==null&&w!==void 0?w:h1);A!==0&&c.push({child:k,rawChildSpan:A})});let p=0;const g=(t=c[c.length-1])===null||t===void 0?void 0:t.child;if(g!=null&&g.props){const b=(r=g.props)===null||r===void 0?void 0:r.suffix;b!==void 0&&b!==!1&&(p=Number((o=Li((n=g.props)===null||n===void 0?void 0:n.span,h))!==null&&o!==void 0?o:h1),g.props.privateSpan=p,g.props.privateColStart=d+1-p,g.props.privateShow=(i=g.props.privateShow)!==null&&i!==void 0?i:!0)}let v=0,m=!1;for(const{child:b,rawChildSpan:y}of c){if(m&&(this.overflow=!0),!m){const x=Number((s=Li((a=b.props)===null||a===void 0?void 0:a.offset,h))!==null&&s!==void 0?s:0),S=Math.min(y+x,d);if(b.props?(b.props.privateSpan=S,b.props.privateOffset=x):b.props={privateSpan:S,privateOffset:x},u){const C=v%d;S+C>d&&(v+=d-C),S+v+p>f*d?m=!0:v+=S}}m&&(b.props?b.props.privateShow!==!0&&(b.props.privateShow=!1):b.props={privateShow:!1})}return $("div",On({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[af]:this.isSsr||void 0},this.$attrs),c.map(({child:b})=>b))};return this.isResponsive&&this.responsive==="self"?$(Jc,{onResize:this.handleResize},{default:e}):e()}}),F_=e=>{const{primaryColor:t,baseColor:r}=e;return{color:t,iconColor:r}},MH={name:"IconWrapper",common:be,self:F_},zH=MH,NH={name:"IconWrapper",common:xe,self:F_},HH=NH,M_=Object.assign(Object.assign({},We.props),{onPreviewPrev:Function,onPreviewNext:Function,showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean}),z_="n-image";function jH(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const N_={name:"Image",common:be,peers:{Tooltip:El},self:jH},WH={name:"Image",common:xe,peers:{Tooltip:Ku},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},UH=$("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"})),VH=$("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"})),GH=$("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"})),qH=$("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 1024 1024"},$("path",{fill:"currentColor",d:"M505.7 661a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"})),YH=Y([Y("body >",[ne("image-container","position: fixed;")]),ne("image-preview-container",` - position: fixed; - left: 0; - right: 0; - top: 0; - bottom: 0; - display: flex; - `),ne("image-preview-overlay",` - z-index: -1; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - background: rgba(0, 0, 0, .3); - `,[wa()]),ne("image-preview-toolbar",` - z-index: 1; - position: absolute; - left: 50%; - transform: translateX(-50%); - border-radius: var(--n-toolbar-border-radius); - height: 48px; - bottom: 40px; - padding: 0 12px; - background: var(--n-toolbar-color); - box-shadow: var(--n-toolbar-box-shadow); - color: var(--n-toolbar-icon-color); - transition: color .3s var(--n-bezier); - display: flex; - align-items: center; - `,[ne("base-icon",` - padding: 0 8px; - font-size: 28px; - cursor: pointer; - `),wa()]),ne("image-preview-wrapper",` - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - display: flex; - pointer-events: none; - `,[B2()]),ne("image-preview",` - user-select: none; - -webkit-user-select: none; - pointer-events: all; - margin: auto; - max-height: calc(100vh - 32px); - max-width: calc(100vw - 32px); - transition: transform .3s var(--n-bezier); - `),ne("image",` - display: inline-flex; - max-height: 100%; - max-width: 100%; - `,[xr("preview-disabled",` - cursor: pointer; - `),Y("img",` - border-radius: inherit; - `)])]),tc=32,KH=pe({name:"ImagePreview",props:Object.assign(Object.assign({},M_),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(e){const t=We("Image","-image",YH,N_,e,Lt(e,"clsPrefix"));let r=null;const n=M(null),o=M(null),i=M(void 0),a=M(!1),s=M(!1),{localeRef:l}=k2("Image");function c(){const{value:_}=o;if(!r||!_)return;const{style:E}=_,P=r.getBoundingClientRect(),O=P.left+P.width/2,L=P.top+P.height/2;E.transformOrigin=`${O}px ${L}px`}function u(_){var E,P;switch(_.key){case" ":_.preventDefault();break;case"ArrowLeft":(E=e.onPrev)===null||E===void 0||E.call(e);break;case"ArrowRight":(P=e.onNext)===null||P===void 0||P.call(e);break;case"Escape":ye();break}}Je(a,_=>{_?Xt("keydown",document,u):At("keydown",document,u)}),Ht(()=>{At("keydown",document,u)});let f=0,d=0,h=0,p=0,g=0,v=0,m=0,b=0,y=!1;function x(_){const{clientX:E,clientY:P}=_;h=E-f,p=P-d,up(Be)}function S(_){const{mouseUpClientX:E,mouseUpClientY:P,mouseDownClientX:O,mouseDownClientY:L}=_,G=O-E,K=L-P,H=`vertical${K>0?"Top":"Bottom"}`,ee=`horizontal${G>0?"Left":"Right"}`;return{moveVerticalDirection:H,moveHorizontalDirection:ee,deltaHorizontal:G,deltaVertical:K}}function C(_){const{value:E}=n;if(!E)return{offsetX:0,offsetY:0};const P=E.getBoundingClientRect(),{moveVerticalDirection:O,moveHorizontalDirection:L,deltaHorizontal:G,deltaVertical:K}=_||{};let H=0,ee=0;return P.width<=window.innerWidth?H=0:P.left>0?H=(P.width-window.innerWidth)/2:P.right0?ee=(P.height-window.innerHeight)/2:P.bottom.5){const _=B;D-=1,B=Math.max(.5,Math.pow(I,D));const E=_-B;Be(!1);const P=C();B+=E,Be(!1),B-=E,h=P.offsetX,p=P.offsetY,Be()}}function Z(){const _=i.value;_&&KA(_,void 0)}function Be(_=!0){var E;const{value:P}=n;if(!P)return;const{style:O}=P,L=Jr((E=k==null?void 0:k.previewedImgPropsRef.value)===null||E===void 0?void 0:E.style);let G="";if(typeof L=="string")G=L+";";else for(const H in L)G+=`${RB(H)}: ${L[H]};`;const K=`transform-origin: center; transform: translateX(${h}px) translateY(${p}px) rotate(${j}deg) scale(${B});`;y?O.cssText=G+"cursor: grabbing; transition: none;"+K:O.cssText=G+"cursor: grab;"+K+(_?"":"transition: none;"),_||P.offsetHeight}function ye(){a.value=!a.value,s.value=!0}function q(){B=U(),D=Math.ceil(Math.log(B)/Math.log(I)),h=0,p=0,Be()}const te={setPreviewSrc:_=>{i.value=_},setThumbnailEl:_=>{r=_},toggleShow:ye};function ie(_,E){if(e.showToolbarTooltip){const{value:P}=t;return $(Qi,{to:!1,theme:P.peers.Tooltip,themeOverrides:P.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>l.value[E],trigger:()=>_})}else return _}const ve=R(()=>{const{common:{cubicBezierEaseInOut:_},self:{toolbarIconColor:E,toolbarBorderRadius:P,toolbarBoxShadow:O,toolbarColor:L}}=t.value;return{"--n-bezier":_,"--n-toolbar-icon-color":E,"--n-toolbar-color":L,"--n-toolbar-border-radius":P,"--n-toolbar-box-shadow":O}}),{inlineThemeDisabled:Le}=gt(),$e=Le?tr("image-preview",void 0,ve,e):void 0;return Object.assign({previewRef:n,previewWrapperRef:o,previewSrc:i,show:a,appear:Ha(),displayed:s,previewedImgProps:k==null?void 0:k.previewedImgPropsRef,handleWheel(_){_.preventDefault()},handlePreviewMousedown:A,handlePreviewDblclick:T,syncTransformOrigin:c,handleAfterLeave:()=>{F(),j=0,s.value=!1},handleDragStart:_=>{var E,P;(P=(E=k==null?void 0:k.previewedImgPropsRef.value)===null||E===void 0?void 0:E.onDragstart)===null||P===void 0||P.call(E,_),_.preventDefault()},zoomIn:X,zoomOut:ae,handleDownloadClick:Z,rotateCounterclockwise:oe,rotateClockwise:fe,handleSwitchPrev:z,handleSwitchNext:V,withTooltip:ie,resizeToOrignalImageSize:q,cssVars:Le?void 0:ve,themeClass:$e==null?void 0:$e.themeClass,onRender:$e==null?void 0:$e.onRender},te)},render(){var e,t;const{clsPrefix:r}=this;return $(ot,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),$(bp,{show:this.show},{default:()=>{var n;return this.show||this.displayed?((n=this.onRender)===null||n===void 0||n.call(this),lr($("div",{class:[`${r}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},$(_r,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?$("div",{class:`${r}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?$(_r,{name:"fade-in-transition",appear:this.appear},{default:()=>{if(!this.show)return null;const{withTooltip:o}=this;return $("div",{class:`${r}-image-preview-toolbar`},this.onPrev?$(ot,null,o($(dr,{clsPrefix:r,onClick:this.handleSwitchPrev},{default:()=>UH}),"tipPrevious"),o($(dr,{clsPrefix:r,onClick:this.handleSwitchNext},{default:()=>VH}),"tipNext")):null,o($(dr,{clsPrefix:r,onClick:this.rotateCounterclockwise},{default:()=>$(tR,null)}),"tipCounterclockwise"),o($(dr,{clsPrefix:r,onClick:this.rotateClockwise},{default:()=>$(eR,null)}),"tipClockwise"),o($(dr,{clsPrefix:r,onClick:this.resizeToOrignalImageSize},{default:()=>$(oR,null)}),"tipOriginalSize"),o($(dr,{clsPrefix:r,onClick:this.zoomOut},{default:()=>$(nR,null)}),"tipZoomOut"),o($(dr,{clsPrefix:r,onClick:this.zoomIn},{default:()=>$(rR,null)}),"tipZoomIn"),o($(dr,{clsPrefix:r,onClick:this.handleDownloadClick},{default:()=>qH}),"tipDownload"),o($(dr,{clsPrefix:r,onClick:this.toggleShow},{default:()=>GH}),"tipClose"))}}):null,$(_r,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:o={}}=this;return lr($("div",{class:`${r}-image-preview-wrapper`,ref:"previewWrapperRef"},$("img",Object.assign({},o,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${r}-image-preview`,o.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[gi,this.show]])}})),[[Hu,{enabled:this.show}]])):null}}))}}),XH="n-image-group",QH=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},M_),H_=pe({name:"Image",props:QH,inheritAttrs:!1,setup(e){const t=M(null),r=M(!1),n=M(null),o=ze(XH,null),{mergedClsPrefixRef:i}=o||gt(e),a={click:()=>{if(e.previewDisabled||r.value)return;const c=e.previewSrc||e.src;if(o){o.setPreviewSrc(c),o.setThumbnailEl(t.value),o.toggleShow();return}const{value:u}=n;u&&(u.setPreviewSrc(c),u.setThumbnailEl(t.value),u.toggleShow())}},s=M(!e.lazy);_t(()=>{var c;(c=t.value)===null||c===void 0||c.setAttribute("data-group-id",(o==null?void 0:o.groupId)||"")}),_t(()=>{if(e.lazy&&e.intersectionObserverOptions){let c;const u=Or(()=>{c==null||c(),c=void 0,c=Y2(t.value,e.intersectionObserverOptions,s)});Ht(()=>{u(),c==null||c()})}}),Or(()=>{var c;e.src||((c=e.imgProps)===null||c===void 0||c.src),r.value=!1});const l=M(!1);return ft(z_,{previewedImgPropsRef:Lt(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:i,groupId:o==null?void 0:o.groupId,previewInstRef:n,imageRef:t,showError:r,shouldStartLoading:s,loaded:l,mergedOnClick:c=>{var u,f;a.click(),(f=(u=e.imgProps)===null||u===void 0?void 0:u.onClick)===null||f===void 0||f.call(u,c)},mergedOnError:c=>{if(!s.value)return;r.value=!0;const{onError:u,imgProps:{onError:f}={}}=e;u==null||u(c),f==null||f(c)},mergedOnLoad:c=>{const{onLoad:u,imgProps:{onLoad:f}={}}=e;u==null||u(c),f==null||f(c),l.value=!0}},a)},render(){var e,t;const{mergedClsPrefix:r,imgProps:n={},loaded:o,$attrs:i,lazy:a}=this,s=(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e),l=this.src||n.src,c=$("img",Object.assign(Object.assign({},n),{ref:"imageRef",width:this.width||n.width,height:this.height||n.height,src:this.showError?this.fallbackSrc:a&&this.intersectionObserverOptions?this.shouldStartLoading?l:void 0:l,alt:this.alt||n.alt,"aria-label":this.alt||n.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:q2&&a&&!this.intersectionObserverOptions?"lazy":"eager",style:[n.style||"",s&&!o?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return $("div",Object.assign({},i,{role:"none",class:[i.class,`${r}-image`,(this.previewDisabled||this.showError)&&`${r}-image--preview-disabled`]}),this.groupId?c:$(KH,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:r,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},{default:()=>c}),!o&&s)}}),oce="n-layout-sider",ZH={type:String,default:"static"},JH=ne("layout",` - color: var(--n-text-color); - background-color: var(--n-color); - box-sizing: border-box; - position: relative; - z-index: auto; - flex: auto; - overflow: hidden; - transition: - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); -`,[ne("layout-scroll-container",` - overflow-x: hidden; - box-sizing: border-box; - height: 100%; - `),ue("absolute-positioned",` - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - `)]),ej={embedded:Boolean,position:ZH,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},tj="n-layout";function j_(e){return pe({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},We.props),ej),setup(t){const r=M(null),n=M(null),{mergedClsPrefixRef:o,inlineThemeDisabled:i}=gt(t),a=We("Layout","-layout",JH,c_,t,o);function s(g,v){if(t.nativeScrollbar){const{value:m}=r;m&&(v===void 0?m.scrollTo(g):m.scrollTo(g,v))}else{const{value:m}=n;m&&m.scrollTo(g,v)}}ft(tj,t);let l=0,c=0;const u=g=>{var v;const m=g.target;l=m.scrollLeft,c=m.scrollTop,(v=t.onScroll)===null||v===void 0||v.call(t,g)};Iw(()=>{if(t.nativeScrollbar){const g=r.value;g&&(g.scrollTop=c,g.scrollLeft=l)}});const f={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},d={scrollTo:s},h=R(()=>{const{common:{cubicBezierEaseInOut:g},self:v}=a.value;return{"--n-bezier":g,"--n-color":t.embedded?v.colorEmbedded:v.color,"--n-text-color":v.textColor}}),p=i?tr("layout",R(()=>t.embedded?"e":""),h,t):void 0;return Object.assign({mergedClsPrefix:o,scrollableElRef:r,scrollbarInstRef:n,hasSiderStyle:f,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender},d)},render(){var t;const{mergedClsPrefix:r,hasSider:n}=this;(t=this.onRender)===null||t===void 0||t.call(this);const o=n?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${r}-layout-content`,`${r}-layout`,`${r}-layout--${this.position}-positioned`];return $("div",{class:i,style:this.cssVars},this.nativeScrollbar?$("div",{ref:"scrollableElRef",class:[`${r}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,o],onScroll:this.handleNativeElScroll},this.$slots):$(qu,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,o]}),this.$slots))}})}const ice=j_(!1),rj=j_(!0),W_={extraFontSize:"12px",width:"440px"},nj={name:"Transfer",common:xe,peers:{Checkbox:Va,Scrollbar:Lr,Input:an,Empty:ki,Button:Rr},self(e){const{iconColorDisabled:t,iconColor:r,fontWeight:n,fontSizeLarge:o,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:u,inputColor:f,tableHeaderColor:d,textColor1:h,textColorDisabled:p,textColor2:g,hoverColor:v}=e;return Object.assign(Object.assign({},W_),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:o,borderRadius:u,borderColor:"#0000",listColor:f,headerColor:d,titleTextColor:h,titleTextColorDisabled:p,extraTextColor:g,filterDividerColor:"#0000",itemTextColor:g,itemTextColorDisabled:p,itemColorPending:v,titleFontWeight:n,iconColor:r,iconColorDisabled:t})}},oj=nj,ij=e=>{const{fontWeight:t,iconColorDisabled:r,iconColor:n,fontSizeLarge:o,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:u,cardColor:f,tableHeaderColor:d,textColor1:h,textColorDisabled:p,textColor2:g,borderColor:v,hoverColor:m}=e;return Object.assign(Object.assign({},W_),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:o,borderRadius:u,borderColor:v,listColor:f,headerColor:Pe(f,d),titleTextColor:h,titleTextColorDisabled:p,extraTextColor:g,filterDividerColor:v,itemTextColor:g,itemTextColorDisabled:p,itemColorPending:m,titleFontWeight:t,iconColor:n,iconColorDisabled:r})},aj={name:"Transfer",common:be,peers:{Checkbox:Ua,Scrollbar:kr,Input:sn,Empty:oo,Button:Tr},self:ij},sj=aj,U_="n-loading-bar",V_="n-loading-bar-api",lj=ne("loading-bar-container",` - z-index: 5999; - position: fixed; - top: 0; - left: 0; - right: 0; - height: 2px; -`,[wa({enterDuration:"0.3s",leaveDuration:"0.8s"}),ne("loading-bar",` - width: 100%; - transition: - max-width 4s linear, - background .2s linear; - height: var(--n-height); - `,[ue("starting",` - background: var(--n-color-loading); - `),ue("finishing",` - background: var(--n-color-loading); - transition: - max-width .2s linear, - background .2s linear; - `),ue("error",` - background: var(--n-color-error); - transition: - max-width .2s linear, - background .2s linear; - `)])]);var rc=globalThis&&globalThis.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{c(n.next(u))}catch(f){a(f)}}function l(u){try{c(n.throw(u))}catch(f){a(f)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})};function nc(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const cj=pe({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=gt(),{props:t,mergedClsPrefixRef:r}=ze(U_),n=M(null),o=M(!1),i=M(!1),a=M(!1),s=M(!1);let l=!1;const c=M(!1),u=R(()=>{const{loadingBarStyle:S}=t;return S?S[c.value?"error":"loading"]:""});function f(){return rc(this,void 0,void 0,function*(){o.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield Qt(),s.value=!1})}function d(S=0,C=80,w="starting"){return rc(this,void 0,void 0,function*(){if(i.value=!0,yield f(),l)return;a.value=!0,yield Qt();const k=n.value;k&&(k.style.maxWidth=`${S}%`,k.style.transition="none",k.offsetWidth,k.className=nc(w,r.value),k.style.transition="",k.style.maxWidth=`${C}%`)})}function h(){return rc(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield Qt()),l=!0;const S=n.value;S&&(S.className=nc("finishing",r.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1)})}function p(){if(!(l||c.value))if(!a.value)d(100,100,"error").then(()=>{c.value=!0;const S=n.value;S&&(S.className=nc("error",r.value),S.offsetWidth,a.value=!1)});else{c.value=!0;const S=n.value;if(!S)return;S.className=nc("error",r.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1}}function g(){o.value=!0}function v(){o.value=!1}function m(){return rc(this,void 0,void 0,function*(){yield f()})}const b=We("LoadingBar","-loading-bar",lj,d_,t,r),y=R(()=>{const{self:{height:S,colorError:C,colorLoading:w}}=b.value;return{"--n-height":S,"--n-color-loading":w,"--n-color-error":C}}),x=e?tr("loading-bar",void 0,y,t):void 0;return{mergedClsPrefix:r,loadingBarRef:n,started:i,loading:a,entering:o,transitionDisabled:s,start:d,error:p,finish:h,handleEnter:g,handleAfterEnter:v,handleAfterLeave:m,mergedLoadingBarStyle:u,cssVars:e?void 0:y,themeClass:x==null?void 0:x.themeClass,onRender:x==null?void 0:x.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return $(_r,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),lr($("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},$("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[gi,this.loading||!this.loading&&this.entering]])}})}}),uj=Object.assign(Object.assign({},We.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),dj=pe({name:"LoadingBarProvider",props:uj,setup(e){const t=Ha(),r=M(null),n={start(){var i;t.value?(i=r.value)===null||i===void 0||i.start():Qt(()=>{var a;(a=r.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=r.value)===null||i===void 0||i.error():Qt(()=>{var a;(a=r.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=r.value)===null||i===void 0||i.finish():Qt(()=>{var a;(a=r.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:o}=gt(e);return ft(V_,n),ft(U_,{props:e,mergedClsPrefixRef:o}),Object.assign(n,{loadingBarRef:r})},render(){var e,t;return $(ot,null,$(Bu,{disabled:this.to===!1,to:this.to||"body"},$(cj,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function fj(){const e=ze(V_,null);return e===null&&pl("use-loading-bar","No outer founded."),e}const G_={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},q_="n-message-api",Y_="n-message-provider",hj=Y([ne("message-wrapper",` - margin: var(--n-margin); - z-index: 0; - transform-origin: top center; - display: flex; - `,[W2({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),ne("message",` - box-sizing: border-box; - display: flex; - align-items: center; - transition: - color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier), - background-color .3s var(--n-bezier), - opacity .3s var(--n-bezier), - transform .3s var(--n-bezier), - margin-bottom .3s var(--n-bezier); - padding: var(--n-padding); - border-radius: var(--n-border-radius); - flex-wrap: nowrap; - overflow: hidden; - max-width: var(--n-max-width); - color: var(--n-text-color); - background-color: var(--n-color); - box-shadow: var(--n-box-shadow); - `,[le("content",` - display: inline-block; - line-height: var(--n-line-height); - font-size: var(--n-font-size); - `),le("icon",` - position: relative; - margin: var(--n-icon-margin); - height: var(--n-icon-size); - width: var(--n-icon-size); - font-size: var(--n-icon-size); - flex-shrink: 0; - `,[["default","info","success","warning","error","loading"].map(e=>ue(`${e}-type`,[Y("> *",` - color: var(--n-icon-color-${e}); - transition: color .3s var(--n-bezier); - `)])),Y("> *",` - position: absolute; - left: 0; - top: 0; - right: 0; - bottom: 0; - `,[lu()])]),le("close",` - margin: var(--n-close-margin); - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - flex-shrink: 0; - `,[Y("&:hover",` - color: var(--n-close-icon-color-hover); - `),Y("&:active",` - color: var(--n-close-icon-color-pressed); - `)])]),ne("message-container",` - z-index: 6000; - position: fixed; - height: 0; - overflow: visible; - display: flex; - flex-direction: column; - align-items: center; - `,[ue("top",` - top: 12px; - left: 0; - right: 0; - `),ue("top-left",` - top: 12px; - left: 12px; - right: 0; - align-items: flex-start; - `),ue("top-right",` - top: 12px; - left: 0; - right: 12px; - align-items: flex-end; - `),ue("bottom",` - bottom: 4px; - left: 0; - right: 0; - justify-content: flex-end; - `),ue("bottom-left",` - bottom: 4px; - left: 12px; - right: 0; - justify-content: flex-end; - align-items: flex-start; - `),ue("bottom-right",` - bottom: 4px; - left: 0; - right: 12px; - justify-content: flex-end; - align-items: flex-end; - `)])]),pj={info:()=>$(Ca,null),success:()=>$(Cl,null),warning:()=>$(wl,null),error:()=>$(yl,null),default:()=>null},gj=pe({name:"Message",props:Object.assign(Object.assign({},G_),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:r}=gt(e),{props:n,mergedClsPrefixRef:o}=ze(Y_),i=on("Message",r,o),a=We("Message","-message",hj,l_,n,o),s=R(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:f,margin:d,maxWidth:h,iconMargin:p,closeMargin:g,closeSize:v,iconSize:m,fontSize:b,lineHeight:y,borderRadius:x,iconColorInfo:S,iconColorSuccess:C,iconColorWarning:w,iconColorError:k,iconColorLoading:A,closeIconSize:T,closeBorderRadius:I,[we("textColor",c)]:D,[we("boxShadow",c)]:B,[we("color",c)]:j,[we("closeColorHover",c)]:F,[we("closeColorPressed",c)]:z,[we("closeIconColor",c)]:V,[we("closeIconColorPressed",c)]:oe,[we("closeIconColorHover",c)]:fe}}=a.value;return{"--n-bezier":u,"--n-margin":d,"--n-padding":f,"--n-max-width":h,"--n-font-size":b,"--n-icon-margin":p,"--n-icon-size":m,"--n-close-icon-size":T,"--n-close-border-radius":I,"--n-close-size":v,"--n-close-margin":g,"--n-text-color":D,"--n-color":j,"--n-box-shadow":B,"--n-icon-color-info":S,"--n-icon-color-success":C,"--n-icon-color-warning":w,"--n-icon-color-error":k,"--n-icon-color-loading":A,"--n-close-color-hover":F,"--n-close-color-pressed":z,"--n-close-icon-color":V,"--n-close-icon-color-pressed":oe,"--n-close-icon-color-hover":fe,"--n-line-height":y,"--n-border-radius":x}}),l=t?tr("message",R(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:o,rtlEnabled:i,messageProviderProps:n,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:n.placement}},render(){const{render:e,type:t,closable:r,content:n,mergedClsPrefix:o,cssVars:i,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let f;return $("div",{class:[`${o}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):$("div",{class:[`${o}-message ${o}-message--${t}-type`,this.rtlEnabled&&`${o}-message--rtl`]},(f=mj(l,t,o))&&u?$("div",{class:`${o}-message__icon ${o}-message__icon--${t}-type`},$(Op,null,{default:()=>f})):null,$("div",{class:`${o}-message__content`},Nr(n)),r?$(Wa,{clsPrefix:o,class:`${o}-message__close`,onClick:c,absolute:!0}):null))}});function mj(e,t,r){if(typeof e=="function")return e();{const n=t==="loading"?$(Rp,{clsPrefix:r,strokeWidth:24,scale:.85}):pj[t]();return n?$(dr,{clsPrefix:r,key:t},{default:()=>n}):null}}const vj=pe({name:"MessageEnvironment",props:Object.assign(Object.assign({},G_),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const r=M(!0);_t(()=>{n()});function n(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function o(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&n()}function a(){const{onHide:u}=e;r.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function s(){const{onClose:u}=e;u&&u(),a()}function l(){const{onAfterLeave:u,onInternalAfterLeave:f,onAfterHide:d,internalKey:h}=e;u&&u(),f&&f(h),d&&d()}function c(){a()}return{show:r,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:i,handleMouseenter:o,deactivate:c}},render(){return $(Lp,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?$(gj,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),bj=Object.assign(Object.assign({},We.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),xj=pe({name:"MessageProvider",props:bj,setup(e){const{mergedClsPrefixRef:t}=gt(e),r=M([]),n=M({}),o={create(l,c){return i(l,Object.assign({type:"default"},c))},info(l,c){return i(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return i(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return i(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return i(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return i(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};ft(Y_,{props:e,mergedClsPrefixRef:t}),ft(q_,o);function i(l,c){const u=Ru(),f=nn(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var h;(h=n.value[u])===null||h===void 0||h.hide()}})),{max:d}=e;return d&&r.value.length>=d&&r.value.shift(),r.value.push(f),f}function a(l){r.value.splice(r.value.findIndex(c=>c.key===l),1),delete n.value[l]}function s(){Object.values(n.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:n,messageList:r,handleAfterLeave:a},o)},render(){var e,t,r;return $(ot,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?$(Bu,{to:(r=this.to)!==null&&r!==void 0?r:"body"},$("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(n=>$(vj,Object.assign({ref:o=>{o&&(this.messageRefs[n.key]=o)},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave},fp(n,["destroy"],void 0),{duration:n.duration===void 0?this.duration:n.duration,keepAliveOnHover:n.keepAliveOnHover===void 0?this.keepAliveOnHover:n.keepAliveOnHover,closable:n.closable===void 0?this.closable:n.closable}))))):null)}});function xn(){const e=ze(q_,null);return e===null&&pl("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Ju="n-notification-provider",yj=pe({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:r}=ze(Ju),n=M(null);return Or(()=>{var o,i;r.value>0?(o=n==null?void 0:n.value)===null||o===void 0||o.classList.add("transitioning"):(i=n==null?void 0:n.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:n,mergedTheme:e,mergedClsPrefix:t,transitioning:r}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:r,mergedTheme:n,placement:o}=this;return $("div",{ref:"selfRef",class:[`${r}-notification-container`,t&&`${r}-notification-container--scrollable`,`${r}-notification-container--${o}`]},t?$(qu,{theme:n.peers.Scrollbar,themeOverrides:n.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),Cj={info:()=>$(Ca,null),success:()=>$(Cl,null),warning:()=>$(wl,null),error:()=>$(yl,null),default:()=>null},Yp={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},wj=ba(Yp),Sj=pe({name:"Notification",props:Yp,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:r,props:n}=ze(Ju),{inlineThemeDisabled:o,mergedRtlRef:i}=gt(),a=on("Notification",i,t),s=R(()=>{const{type:c}=e,{self:{color:u,textColor:f,closeIconColor:d,closeIconColorHover:h,closeIconColorPressed:p,headerTextColor:g,descriptionTextColor:v,actionTextColor:m,borderRadius:b,headerFontWeight:y,boxShadow:x,lineHeight:S,fontSize:C,closeMargin:w,closeSize:k,width:A,padding:T,closeIconSize:I,closeBorderRadius:D,closeColorHover:B,closeColorPressed:j,titleFontSize:F,metaFontSize:z,descriptionFontSize:V,[we("iconColor",c)]:oe},common:{cubicBezierEaseOut:fe,cubicBezierEaseIn:ge,cubicBezierEaseInOut:U}}=r.value,{left:X,right:ae,top:Z,bottom:Be}=hl(T);return{"--n-color":u,"--n-font-size":C,"--n-text-color":f,"--n-description-text-color":v,"--n-action-text-color":m,"--n-title-text-color":g,"--n-title-font-weight":y,"--n-bezier":U,"--n-bezier-ease-out":fe,"--n-bezier-ease-in":ge,"--n-border-radius":b,"--n-box-shadow":x,"--n-close-border-radius":D,"--n-close-color-hover":B,"--n-close-color-pressed":j,"--n-close-icon-color":d,"--n-close-icon-color-hover":h,"--n-close-icon-color-pressed":p,"--n-line-height":S,"--n-icon-color":oe,"--n-close-margin":w,"--n-close-size":k,"--n-close-icon-size":I,"--n-width":A,"--n-padding-left":X,"--n-padding-right":ae,"--n-padding-top":Z,"--n-padding-bottom":Be,"--n-title-font-size":F,"--n-meta-font-size":z,"--n-description-font-size":V}}),l=o?tr("notification",R(()=>e.type[0]),s,n):void 0;return{mergedClsPrefix:t,showAvatar:R(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:o?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),$("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},$("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?$("div",{class:`${t}-notification__avatar`},this.avatar?Nr(this.avatar):this.type!=="default"?$(dr,{clsPrefix:t},{default:()=>Cj[this.type]()}):null):null,this.closable?$(Wa,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,$("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?$("div",{class:`${t}-notification-main__header`},Nr(this.title)):null,this.description?$("div",{class:`${t}-notification-main__description`},Nr(this.description)):null,this.content?$("pre",{class:`${t}-notification-main__content`},Nr(this.content)):null,this.meta||this.action?$("div",{class:`${t}-notification-main-footer`},this.meta?$("div",{class:`${t}-notification-main-footer__meta`},Nr(this.meta)):null,this.action?$("div",{class:`${t}-notification-main-footer__action`},Nr(this.action)):null):null)))}}),_j=Object.assign(Object.assign({},Yp),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),Ej=pe({name:"NotificationEnvironment",props:Object.assign(Object.assign({},_j),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=ze(Ju),r=M(!0);let n=null;function o(){r.value=!1,n&&window.clearTimeout(n)}function i(p){t.value++,Qt(()=>{p.style.height=`${p.offsetHeight}px`,p.style.maxHeight="0",p.style.transition="none",p.offsetHeight,p.style.transition="",p.style.maxHeight=p.style.height})}function a(p){t.value--,p.style.height="",p.style.maxHeight="";const{onAfterEnter:g,onAfterShow:v}=e;g&&g(),v&&v()}function s(p){t.value++,p.style.maxHeight=`${p.offsetHeight}px`,p.style.height=`${p.offsetHeight}px`,p.offsetHeight}function l(p){const{onHide:g}=e;g&&g(),p.style.maxHeight="0",p.offsetHeight}function c(){t.value--;const{onAfterLeave:p,onInternalAfterLeave:g,onAfterHide:v,internalKey:m}=e;p&&p(),g(m),v&&v()}function u(){const{duration:p}=e;p&&(n=window.setTimeout(o,p))}function f(p){p.currentTarget===p.target&&n!==null&&(window.clearTimeout(n),n=null)}function d(p){p.currentTarget===p.target&&u()}function h(){const{onClose:p}=e;p?Promise.resolve(p()).then(g=>{g!==!1&&o()}):o()}return _t(()=>{e.duration&&(n=window.setTimeout(o,e.duration))}),{show:r,hide:o,handleClose:h,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:f,handleMouseleave:d}},render(){return $(_r,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?$(Sj,Object.assign({},ma(this.$props,wj),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),kj=Y([ne("notification-container",` - z-index: 4000; - position: fixed; - overflow: visible; - display: flex; - flex-direction: column; - align-items: flex-end; - `,[Y(">",[ne("scrollbar",` - width: initial; - overflow: visible; - height: -moz-fit-content !important; - height: fit-content !important; - max-height: 100vh !important; - `,[Y(">",[ne("scrollbar-container",` - height: -moz-fit-content !important; - height: fit-content !important; - max-height: 100vh !important; - `,[ne("scrollbar-content",` - padding-top: 12px; - padding-bottom: 33px; - `)])])])]),ue("top, top-right, top-left",` - top: 12px; - `,[Y("&.transitioning >",[ne("scrollbar",[Y(">",[ne("scrollbar-container",` - min-height: 100vh !important; - `)])])])]),ue("bottom, bottom-right, bottom-left",` - bottom: 12px; - `,[Y(">",[ne("scrollbar",[Y(">",[ne("scrollbar-container",[ne("scrollbar-content",` - padding-bottom: 12px; - `)])])])]),ne("notification-wrapper",` - display: flex; - align-items: flex-end; - margin-bottom: 0; - margin-top: 12px; - `)]),ue("top, bottom",` - left: 50%; - transform: translateX(-50%); - `,[ne("notification-wrapper",[Y("&.notification-transition-enter-from, &.notification-transition-leave-to",` - transform: scale(0.85); - `),Y("&.notification-transition-leave-from, &.notification-transition-enter-to",` - transform: scale(1); - `)])]),ue("top",[ne("notification-wrapper",` - transform-origin: top center; - `)]),ue("bottom",[ne("notification-wrapper",` - transform-origin: bottom center; - `)]),ue("top-right, bottom-right",[ne("notification",` - margin-left: 28px; - margin-right: 16px; - `)]),ue("top-left, bottom-left",[ne("notification",` - margin-left: 16px; - margin-right: 28px; - `)]),ue("top-right",` - right: 0; - `,[oc("top-right")]),ue("top-left",` - left: 0; - `,[oc("top-left")]),ue("bottom-right",` - right: 0; - `,[oc("bottom-right")]),ue("bottom-left",` - left: 0; - `,[oc("bottom-left")]),ue("scrollable",[ue("top-right",` - top: 0; - `),ue("top-left",` - top: 0; - `),ue("bottom-right",` - bottom: 0; - `),ue("bottom-left",` - bottom: 0; - `)]),ne("notification-wrapper",` - margin-bottom: 12px; - `,[Y("&.notification-transition-enter-from, &.notification-transition-leave-to",` - opacity: 0; - margin-top: 0 !important; - margin-bottom: 0 !important; - `),Y("&.notification-transition-leave-from, &.notification-transition-enter-to",` - opacity: 1; - `),Y("&.notification-transition-leave-active",` - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier), - opacity .3s var(--n-bezier), - transform .3s var(--n-bezier-ease-in), - max-height .3s var(--n-bezier), - margin-top .3s linear, - margin-bottom .3s linear, - box-shadow .3s var(--n-bezier); - `),Y("&.notification-transition-enter-active",` - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier), - opacity .3s var(--n-bezier), - transform .3s var(--n-bezier-ease-out), - max-height .3s var(--n-bezier), - margin-top .3s linear, - margin-bottom .3s linear, - box-shadow .3s var(--n-bezier); - `)]),ne("notification",` - background-color: var(--n-color); - color: var(--n-text-color); - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier), - opacity .3s var(--n-bezier), - box-shadow .3s var(--n-bezier); - font-family: inherit; - font-size: var(--n-font-size); - font-weight: 400; - position: relative; - display: flex; - overflow: hidden; - flex-shrink: 0; - padding-left: var(--n-padding-left); - padding-right: var(--n-padding-right); - width: var(--n-width); - max-width: calc(100vw - 16px - 16px); - border-radius: var(--n-border-radius); - box-shadow: var(--n-box-shadow); - box-sizing: border-box; - opacity: 1; - `,[le("avatar",[ne("icon",` - color: var(--n-icon-color); - `),ne("base-icon",` - color: var(--n-icon-color); - `)]),ue("show-avatar",[ne("notification-main",` - margin-left: 40px; - width: calc(100% - 40px); - `)]),ue("closable",[ne("notification-main",[Y("> *:first-child",` - padding-right: 20px; - `)]),le("close",` - position: absolute; - top: 0; - right: 0; - margin: var(--n-close-margin); - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - `)]),le("avatar",` - position: absolute; - top: var(--n-padding-top); - left: var(--n-padding-left); - width: 28px; - height: 28px; - font-size: 28px; - display: flex; - align-items: center; - justify-content: center; - `,[ne("icon","transition: color .3s var(--n-bezier);")]),ne("notification-main",` - padding-top: var(--n-padding-top); - padding-bottom: var(--n-padding-bottom); - box-sizing: border-box; - display: flex; - flex-direction: column; - margin-left: 8px; - width: calc(100% - 8px); - `,[ne("notification-main-footer",` - display: flex; - align-items: center; - justify-content: space-between; - margin-top: 12px; - `,[le("meta",` - font-size: var(--n-meta-font-size); - transition: color .3s var(--n-bezier-ease-out); - color: var(--n-description-text-color); - `),le("action",` - cursor: pointer; - transition: color .3s var(--n-bezier-ease-out); - color: var(--n-action-text-color); - `)]),le("header",` - font-weight: var(--n-title-font-weight); - font-size: var(--n-title-font-size); - transition: color .3s var(--n-bezier-ease-out); - color: var(--n-title-text-color); - `),le("description",` - margin-top: 8px; - font-size: var(--n-description-font-size); - white-space: pre-wrap; - word-wrap: break-word; - transition: color .3s var(--n-bezier-ease-out); - color: var(--n-description-text-color); - `),le("content",` - line-height: var(--n-line-height); - margin: 12px 0 0 0; - font-family: inherit; - white-space: pre-wrap; - word-wrap: break-word; - transition: color .3s var(--n-bezier-ease-out); - color: var(--n-text-color); - `,[Y("&:first-child","margin: 0;")])])])])]);function oc(e){const r=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",n="0";return ne("notification-wrapper",[Y("&.notification-transition-enter-from, &.notification-transition-leave-to",` - transform: translate(${r}, 0); - `),Y("&.notification-transition-leave-from, &.notification-transition-enter-to",` - transform: translate(${n}, 0); - `)])}const K_="n-notification-api",Tj=Object.assign(Object.assign({},We.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),Aj=pe({name:"NotificationProvider",props:Tj,setup(e){const{mergedClsPrefixRef:t}=gt(e),r=M([]),n={},o=new Set;function i(h){const p=Ru(),g=()=>{o.add(p),n[p]&&n[p].hide()},v=nn(Object.assign(Object.assign({},h),{key:p,destroy:g,hide:g,deactivate:g})),{max:m}=e;if(m&&r.value.length-o.size>=m){let b=!1,y=0;for(const x of r.value){if(!o.has(x.key)){n[x.key]&&(x.destroy(),b=!0);break}y++}b||r.value.splice(y,1)}return r.value.push(v),v}const a=["info","success","warning","error"].map(h=>p=>i(Object.assign(Object.assign({},p),{type:h})));function s(h){o.delete(h),r.value.splice(r.value.findIndex(p=>p.key===h),1)}const l=We("Notification","-notification",kj,a_,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:f,destroyAll:d},u=M(0);ft(K_,c),ft(Ju,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function f(h){return i(h)}function d(){Object.values(r.value).forEach(h=>{h.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:r,notificationRefs:n,handleAfterLeave:s},c)},render(){var e,t,r;const{placement:n}=this;return $(ot,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?$(Bu,{to:(r=this.to)!==null&&r!==void 0?r:"body"},$(yj,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&n!=="top"&&n!=="bottom",placement:n},{default:()=>this.notificationList.map(o=>$(Ej,Object.assign({ref:i=>{const a=o.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},fp(o,["destroy","hide","deactivate"]),{internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover})))})):null)}});function Pj(){const e=ze(K_,null);return e===null&&pl("use-notification","No outer `n-notification-provider` found."),e}const $j={name:"QrCode",common:xe,self:e=>({borderRadius:e.borderRadius})},Ij=$j,Dj=e=>({borderRadius:e.borderRadius}),Bj={name:"QrCode",common:be,self:Dj},Oj=Bj,Lj=$("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},$("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),$("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),$("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),$("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),$("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),$("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),Rj=$("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},$("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),$("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),$("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),Fj=$("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},$("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),$("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),$("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),$("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),$("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),$("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),Mj=$("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},$("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),$("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),zj=ne("result",` - color: var(--n-text-color); - line-height: var(--n-line-height); - font-size: var(--n-font-size); - transition: - color .3s var(--n-bezier); -`,[ne("result-icon",` - display: flex; - justify-content: center; - transition: color .3s var(--n-bezier); - `,[le("status-image",` - font-size: var(--n-icon-size); - width: 1em; - height: 1em; - `),ne("base-icon",` - color: var(--n-icon-color); - font-size: var(--n-icon-size); - `)]),ne("result-content",{marginTop:"24px"}),ne("result-footer",` - margin-top: 24px; - text-align: center; - `),ne("result-header",[le("title",` - margin-top: 16px; - font-weight: var(--n-title-font-weight); - transition: color .3s var(--n-bezier); - text-align: center; - color: var(--n-title-text-color); - font-size: var(--n-title-font-size); - `),le("description",` - margin-top: 4px; - text-align: center; - font-size: var(--n-font-size); - `)])]),Nj={403:()=>Mj,404:()=>Lj,418:()=>Fj,500:()=>Rj,info:()=>$(Ca,null),success:()=>$(Cl,null),warning:()=>$(wl,null),error:()=>$(yl,null)},Hj=Object.assign(Object.assign({},We.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),jj=pe({name:"Result",props:Hj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=gt(e),n=We("Result","-result",zj,x_,e,t),o=R(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:f,titleFontWeight:d,[we("iconColor",s)]:h,[we("fontSize",a)]:p,[we("titleFontSize",a)]:g,[we("iconSize",a)]:v}}=n.value;return{"--n-bezier":l,"--n-font-size":p,"--n-icon-size":v,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":g,"--n-title-font-weight":d,"--n-title-text-color":f,"--n-icon-color":h||""}}),i=r?tr("result",R(()=>{const{size:a,status:s}=e;let l="";return a&&(l+=a[0]),s&&(l+=s[0]),l}),o,e):void 0;return{mergedClsPrefix:t,cssVars:r?void 0:o,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:r,mergedClsPrefix:n,onRender:o}=this;return o==null||o(),$("div",{class:[`${n}-result`,this.themeClass],style:this.cssVars},$("div",{class:`${n}-result-icon`},((e=r.icon)===null||e===void 0?void 0:e.call(r))||$(dr,{clsPrefix:n},{default:()=>Nj[t]()})),$("div",{class:`${n}-result-header`},this.title?$("div",{class:`${n}-result-header__title`},this.title):null,this.description?$("div",{class:`${n}-result-header__description`},this.description):null),r.default&&$("div",{class:`${n}-result-content`},r),r.footer&&$("div",{class:`${n}-result-footer`},r.footer()))}}),Wj=Object.assign(Object.assign({},We.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),Uj=pe({name:"Scrollbar",props:Wj,setup(){const e=M(null);return Object.assign(Object.assign({},{scrollTo:(...r)=>{var n;(n=e.value)===null||n===void 0||n.scrollTo(r[0],r[1])},scrollBy:(...r)=>{var n;(n=e.value)===null||n===void 0||n.scrollBy(r[0],r[1])}}),{scrollbarInstRef:e})},render(){return $(qu,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),Vj=Uj,Gj={name:"Skeleton",common:xe,self(e){const{heightSmall:t,heightMedium:r,heightLarge:n,borderRadius:o}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:o,heightSmall:t,heightMedium:r,heightLarge:n}}},qj=e=>{const{heightSmall:t,heightMedium:r,heightLarge:n,borderRadius:o}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:o,heightSmall:t,heightMedium:r,heightLarge:n}},X_={name:"Skeleton",common:be,self:qj},Yj=Y([ne("skeleton",` - height: 1em; - width: 100%; - transition: - --n-color-start .3s var(--n-bezier), - --n-color-end .3s var(--n-bezier), - background-color .3s var(--n-bezier); - animation: 2s skeleton-loading infinite cubic-bezier(0.36, 0, 0.64, 1); - background-color: var(--n-color-start); - `),Y("@keyframes skeleton-loading",` - 0% { - background: var(--n-color-start); - } - 40% { - background: var(--n-color-end); - } - 80% { - background: var(--n-color-start); - } - 100% { - background: var(--n-color-start); - } - `)]),Kj=Object.assign(Object.assign({},We.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),vi=pe({name:"Skeleton",inheritAttrs:!1,props:Kj,setup(e){eA();const{mergedClsPrefixRef:t}=gt(e),r=We("Skeleton","-skeleton",Yj,X_,e,t);return{mergedClsPrefix:t,style:R(()=>{var n,o;const i=r.value,{common:{cubicBezierEaseInOut:a}}=i,s=i.self,{color:l,colorEnd:c,borderRadius:u}=s;let f;const{circle:d,sharp:h,round:p,width:g,height:v,size:m,text:b,animated:y}=e;m!==void 0&&(f=s[we("height",m)]);const x=d?(n=g??v)!==null&&n!==void 0?n:f:g,S=(o=d?g??v:v)!==null&&o!==void 0?o:f;return{display:b?"inline-block":"",verticalAlign:b?"-0.125em":"",borderRadius:d?"50%":p?"4096px":h?"":u,width:typeof x=="number"?qn(x):x,height:typeof S=="number"?qn(S):S,animation:y?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:r,$attrs:n}=this,o=$("div",On({class:`${r}-skeleton`,style:t},n));return e>1?$(ot,null,sT(e,null).map(i=>[o,` -`])):o}}),Xj=Y([Y("@keyframes spin-rotate",` - from { - transform: rotate(0); - } - to { - transform: rotate(360deg); - } - `),ne("spin-container",` - position: relative; - `,[ne("spin-body",` - position: absolute; - top: 50%; - left: 50%; - transform: translateX(-50%) translateY(-50%); - `,[wa()])]),ne("spin-body",` - display: inline-flex; - align-items: center; - justify-content: center; - flex-direction: column; - `),ne("spin",` - display: inline-flex; - height: var(--n-size); - width: var(--n-size); - font-size: var(--n-size); - color: var(--n-color); - `,[ue("rotate",` - animation: spin-rotate 2s linear infinite; - `)]),ne("spin-description",` - display: inline-block; - font-size: var(--n-font-size); - color: var(--n-text-color); - transition: color .3s var(--n-bezier); - margin-top: 8px; - `),ne("spin-content",` - opacity: 1; - transition: opacity .3s var(--n-bezier); - pointer-events: all; - `,[ue("spinning",` - user-select: none; - -webkit-user-select: none; - pointer-events: none; - opacity: var(--n-opacity-spinning); - `)])]),Qj={small:20,medium:18,large:16},Zj=Object.assign(Object.assign({},We.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),ed=pe({name:"Spin",props:Zj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=gt(e),n=We("Spin","-spin",Xj,w_,e,t),o=R(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=n.value,{opacitySpinning:f,color:d,textColor:h}=u,p=typeof l=="number"?qn(l):u[we("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":f,"--n-size":p,"--n-color":d,"--n-text-color":h}}),i=r?tr("spin",R(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),o,e):void 0,a=pw(e,["spinning","show"]),s=M(!1);return Or(l=>{let c;if(a.value){const{delay:u}=e;if(u){c=window.setTimeout(()=>{s.value=!0},u),l(()=>{clearTimeout(c)});return}}s.value=a.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:R(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return Qj[typeof c=="number"?"medium":c]}),cssVars:r?void 0:o,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:r,mergedClsPrefix:n,description:o}=this,i=r.icon&&this.rotate,a=(o||r.description)&&$("div",{class:`${n}-spin-description`},o||((e=r.description)===null||e===void 0?void 0:e.call(r))),s=r.icon?$("div",{class:[`${n}-spin-body`,this.themeClass]},$("div",{class:[`${n}-spin`,i&&`${n}-spin--rotate`],style:r.default?"":this.cssVars},r.icon()),a):$("div",{class:[`${n}-spin-body`,this.themeClass]},$(Rp,{clsPrefix:n,style:r.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${n}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),r.default?$("div",{class:[`${n}-spin-container`,this.themeClass],style:this.cssVars},$("div",{class:[`${n}-spin-content`,this.active&&`${n}-spin-content--spinning`,this.contentClass],style:this.contentStyle},r),$(_r,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),Jj={name:"Split",common:xe},eW=Jj,tW=e=>{const{primaryColorHover:t,borderColor:r}=e;return{resizableTriggerColorHover:t,resizableTriggerColor:r}},rW={name:"Split",common:be,self:tW},nW=rW,Q_=()=>({}),oW={name:"Equation",common:be,self:Q_},iW=oW,aW={name:"Equation",common:xe,self:Q_},sW=aW,lW={name:"FloatButtonGroup",common:xe,self(e){const{popoverColor:t,dividerColor:r,borderRadius:n}=e;return{color:t,buttonBorderColor:r,borderRadiusSquare:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},cW=lW,Ec={name:"dark",common:xe,Alert:ZR,Anchor:uF,AutoComplete:xF,Avatar:X2,AvatarGroup:$F,BackTop:DF,Badge:FF,Breadcrumb:VF,Button:Rr,ButtonGroup:az,Calendar:lM,Card:lS,Carousel:EM,Cascader:DM,Checkbox:Va,Code:fS,Collapse:zM,CollapseTransition:WM,ColorPicker:gM,DataTable:m9,DatePicker:z9,Descriptions:G9,Dialog:HS,Divider:h7,Drawer:v7,Dropdown:Up,DynamicInput:x7,DynamicTags:P7,Element:B7,Empty:ki,Ellipsis:kS,Equation:sW,Flex:F7,Form:U7,GradientText:uz,Icon:P9,IconWrapper:HH,Image:WH,Input:an,InputNumber:gz,LegacyTransfer:oj,Layout:yz,List:kz,LoadingBar:Az,Log:Dz,Menu:Vz,Mention:Fz,Message:oz,Modal:t7,Notification:ez,PageHeader:Yz,Pagination:_S,Popconfirm:Jz,Popover:Ti,Popselect:vS,Progress:v_,QrCode:Ij,Radio:PS,Rate:nN,Result:uN,Row:kH,Scrollbar:Lr,Select:CS,Skeleton:Gj,Slider:fN,Space:JS,Spin:bN,Statistic:wN,Steps:TN,Switch:PN,Table:FN,Tabs:jN,Tag:M2,Thing:GN,TimePicker:FS,Timeline:YN,Tooltip:Ku,Transfer:JN,Tree:B_,TreeSelect:aH,Typography:pH,Upload:bH,Watermark:yH,Split:eW,FloatButton:IH,FloatButtonGroup:cW},sf={name:"light",common:be,Alert:j2,Anchor:lF,AutoComplete:vF,Avatar:Np,AvatarGroup:AF,BackTop:LF,Badge:NF,Breadcrumb:WF,Button:Tr,ButtonGroup:lz,Calendar:iS,Card:Hp,Carousel:SM,Cascader:$M,Checkbox:Ua,Code:hS,Collapse:FM,CollapseTransition:HM,ColorPicker:hM,DataTable:p9,DatePicker:F9,Descriptions:U9,Dialog:Vp,Divider:d7,Drawer:g7,Dropdown:Wp,DynamicInput:w7,DynamicTags:I7,Element:L7,Empty:oo,Equation:iW,Ellipsis:TS,Flex:N7,Form:r_,GradientText:hz,Icon:OS,IconWrapper:zH,Image:N_,Input:sn,InputNumber:bz,Layout:c_,LegacyTransfer:sj,List:_z,LoadingBar:d_,Log:Lz,Menu:Wz,Mention:Nz,Message:l_,Modal:qS,Notification:a_,PageHeader:qz,Pagination:SS,Popconfirm:Qz,Popover:Fo,Popselect:bS,Progress:m_,QrCode:Oj,Radio:Xu,Rate:aN,Row:_H,Result:x_,Scrollbar:kr,Skeleton:X_,Select:yS,Slider:gN,Space:qp,Spin:w_,Statistic:yN,Steps:EN,Switch:DN,Table:LN,Tabs:NN,Tag:Fp,Thing:UN,TimePicker:RS,Timeline:QN,Tooltip:El,Transfer:rH,Tree:D_,TreeSelect:cH,Typography:fH,Upload:mH,Watermark:wH,Split:nW,FloatButton:OH,FloatButtonGroup:PH};/*! - * Viewer.js v1.11.6 - * https://fengyuanchen.github.io/viewerjs - * - * Copyright 2015-present Chen Fengyuan - * Released under the MIT license - * - * Date: 2023-09-17T03:16:38.052Z - */function m1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Kp(e){for(var t=1;t
    ',td=typeof window<"u"&&typeof window.document<"u",Zn=td?window:{},ca=td&&Zn.document.documentElement?"ontouchstart"in Zn.document.documentElement:!1,Xp=td?"PointerEvent"in Zn:!1,tt="viewer",kc="move",J_="switch",cs="zoom",ic="".concat(tt,"-active"),gW="".concat(tt,"-close"),Tc="".concat(tt,"-fade"),G0="".concat(tt,"-fixed"),mW="".concat(tt,"-fullscreen"),x1="".concat(tt,"-fullscreen-exit"),ri="".concat(tt,"-hide"),vW="".concat(tt,"-hide-md-down"),bW="".concat(tt,"-hide-sm-down"),xW="".concat(tt,"-hide-xs-down"),qr="".concat(tt,"-in"),ys="".concat(tt,"-invisible"),ua="".concat(tt,"-loading"),yW="".concat(tt,"-move"),y1="".concat(tt,"-open"),Wi="".concat(tt,"-show"),Wt="".concat(tt,"-transition"),_a="click",q0="dblclick",C1="dragstart",w1="focusin",S1="keydown",Xr="load",pi="error",CW=ca?"touchend touchcancel":"mouseup",wW=ca?"touchmove":"mousemove",SW=ca?"touchstart":"mousedown",_1=Xp?"pointerdown":SW,E1=Xp?"pointermove":wW,k1=Xp?"pointerup pointercancel":CW,T1="resize",un="transitionend",A1="wheel",P1="ready",$1="show",I1="shown",D1="hide",B1="hidden",O1="view",Xs="viewed",L1="move",R1="moved",F1="rotate",M1="rotated",z1="scale",N1="scaled",H1="zoom",j1="zoomed",W1="play",U1="stop",cu="".concat(tt,"Action"),Qp=/\s\s*/,ac=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function Qs(e){return typeof e=="string"}var _W=Number.isNaN||Zn.isNaN;function zt(e){return typeof e=="number"&&!_W(e)}function Zi(e){return typeof e>"u"}function Ea(e){return V0(e)==="object"&&e!==null}var EW=Object.prototype.hasOwnProperty;function Ji(e){if(!Ea(e))return!1;try{var t=e.constructor,r=t.prototype;return t&&r&&EW.call(r,"isPrototypeOf")}catch{return!1}}function wt(e){return typeof e=="function"}function Pt(e,t){if(e&&wt(t))if(Array.isArray(e)||zt(e.length)){var r=e.length,n;for(n=0;n1?r-1:0),o=1;o0&&n.forEach(function(i){Ea(i)&&Object.keys(i).forEach(function(a){t[a]=i[a]})}),t},kW=/^(?:width|height|left|top|marginLeft|marginTop)$/;function hn(e,t){var r=e.style;Pt(t,function(n,o){kW.test(o)&&zt(n)&&(n+="px"),r[o]=n})}function TW(e){return Qs(e)?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"):e}function qi(e,t){return!e||!t?!1:e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function qe(e,t){if(!(!e||!t)){if(zt(e.length)){Pt(e,function(n){qe(n,t)});return}if(e.classList){e.classList.add(t);return}var r=e.className.trim();r?r.indexOf(t)<0&&(e.className="".concat(r," ").concat(t)):e.className=t}}function ht(e,t){if(!(!e||!t)){if(zt(e.length)){Pt(e,function(r){ht(r,t)});return}if(e.classList){e.classList.remove(t);return}e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,""))}}function Zs(e,t,r){if(t){if(zt(e.length)){Pt(e,function(n){Zs(n,t,r)});return}r?qe(e,t):ht(e,t)}}var AW=/([a-z\d])([A-Z])/g;function Zp(e){return e.replace(AW,"$1-$2").toLowerCase()}function ea(e,t){return Ea(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Zp(t)))}function Y0(e,t,r){Ea(r)?e[t]=r:e.dataset?e.dataset[t]=r:e.setAttribute("data-".concat(Zp(t)),r)}var eE=function(){var e=!1;if(td){var t=!1,r=function(){},n=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(i){t=i}});Zn.addEventListener("test",r,n),Zn.removeEventListener("test",r,n)}return e}();function St(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=r;t.trim().split(Qp).forEach(function(i){if(!eE){var a=e.listeners;a&&a[i]&&a[i][r]&&(o=a[i][r],delete a[i][r],Object.keys(a[i]).length===0&&delete a[i],Object.keys(a).length===0&&delete e.listeners)}e.removeEventListener(i,o,n)})}function Xe(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=r;t.trim().split(Qp).forEach(function(i){if(n.once&&!eE){var a=e.listeners,s=a===void 0?{}:a;o=function(){delete s[i][r],e.removeEventListener(i,o,n);for(var c=arguments.length,u=new Array(c),f=0;fs?v=s/h:g=l*h,p=zt(p)?p:.9,g=Math.min(g*p,f),v=Math.min(v*p,d);var m=(s-g)/2,b=(l-v)/2,y={left:m,top:b,x:m,y:b,width:g,height:v,oldRatio:1,ratio:g/f,aspectRatio:h,naturalWidth:f,naturalHeight:d},x=jr({},y);n.rotatable&&(y.rotate=c.rotate||0,x.rotate=0),n.scalable&&(y.scaleX=c.scaleX||1,y.scaleY=c.scaleY||1,x.scaleX=1,x.scaleY=1),r.imageData=y,r.initialImageData=x,t&&t()})},renderImage:function(t){var r=this,n=this.image,o=this.imageData;if(hn(n,jr({width:o.width,height:o.height,marginLeft:o.x,marginTop:o.y},Ac(o))),t)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&qi(n,Wt)){var i=function(){r.imageRendering=!1,t()};this.imageRendering={abort:function(){St(n,un,i)}},Xe(n,un,i,{once:!0})}else t()},resetImage:function(){var t=this.image;t&&(this.viewing&&this.viewing.abort(),t.parentNode.removeChild(t),this.image=null,this.title.innerHTML="")}},OW={bind:function(){var t=this.options,r=this.viewer,n=this.canvas,o=this.element.ownerDocument;Xe(r,_a,this.onClick=this.click.bind(this)),Xe(r,C1,this.onDragStart=this.dragstart.bind(this)),Xe(n,_1,this.onPointerDown=this.pointerdown.bind(this)),Xe(o,E1,this.onPointerMove=this.pointermove.bind(this)),Xe(o,k1,this.onPointerUp=this.pointerup.bind(this)),Xe(o,S1,this.onKeyDown=this.keydown.bind(this)),Xe(window,T1,this.onResize=this.resize.bind(this)),t.zoomable&&t.zoomOnWheel&&Xe(r,A1,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleOnDblclick&&Xe(n,q0,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var t=this.options,r=this.viewer,n=this.canvas,o=this.element.ownerDocument;St(r,_a,this.onClick),St(r,C1,this.onDragStart),St(n,_1,this.onPointerDown),St(o,E1,this.onPointerMove),St(o,k1,this.onPointerUp),St(o,S1,this.onKeyDown),St(window,T1,this.onResize),t.zoomable&&t.zoomOnWheel&&St(r,A1,this.onWheel,{passive:!1,capture:!0}),t.toggleOnDblclick&&St(n,q0,this.onDblclick)}},LW={click:function(t){var r=this.options,n=this.imageData,o=t.target,i=ea(o,cu);switch(!i&&o.localName==="img"&&o.parentElement.localName==="li"&&(o=o.parentElement,i=ea(o,cu)),ca&&t.isTrusted&&o===this.canvas&&clearTimeout(this.clickCanvasTimeout),i){case"mix":this.played?this.stop():r.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(ea(o,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(r.loop);break;case"play":this.play(r.fullscreen);break;case"next":this.next(r.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-n.scaleX||-1);break;case"flip-vertical":this.scaleY(-n.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(t){t.preventDefault(),this.viewed&&t.target===this.image&&(ca&&t.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(t.isTrusted?t:t.detail&&t.detail.originalEvent))},load:function(){var t=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var r=this.element,n=this.options,o=this.image,i=this.index,a=this.viewerData;ht(o,ys),n.loading&&ht(this.canvas,ua),o.style.cssText="height:0;"+"margin-left:".concat(a.width/2,"px;")+"margin-top:".concat(a.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){Zs(o,yW,n.movable),Zs(o,Wt,n.transition),t.renderImage(function(){t.viewed=!0,t.viewing=!1,wt(n.viewed)&&Xe(r,Xs,n.viewed,{once:!0}),Yt(r,Xs,{originalImage:t.images[i],index:i,image:o},{cancelable:!1})})})},loadImage:function(t){var r=t.target,n=r.parentNode,o=n.offsetWidth||30,i=n.offsetHeight||50,a=!!ea(r,"filled");tE(r,this.options,function(s,l){var c=s/l,u=o,f=i;i*c>o?a?u=i*c:f=o/c:a?f=o/c:u=i*c,hn(r,jr({width:u,height:f},Ac({translateX:(o-u)/2,translateY:(i-f)/2})))})},keydown:function(t){var r=this.options;if(r.keyboard){var n=t.keyCode||t.which||t.charCode;switch(n){case 13:this.viewer.contains(t.target)&&this.click(t);break}if(this.fulled)switch(n){case 27:this.played?this.stop():r.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(r.loop);break;case 38:t.preventDefault(),this.zoom(r.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(r.loop);break;case 40:t.preventDefault(),this.zoom(-r.zoomRatio,!0);break;case 48:case 49:t.ctrlKey&&(t.preventDefault(),this.toggle());break}}},dragstart:function(t){t.target.localName==="img"&&t.preventDefault()},pointerdown:function(t){var r=this.options,n=this.pointers,o=t.buttons,i=t.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(zt(o)&&o!==1||zt(i)&&i!==0||t.ctrlKey))){t.preventDefault(),t.changedTouches?Pt(t.changedTouches,function(s){n[s.identifier]=lc(s)}):n[t.pointerId||0]=lc(t);var a=r.movable?kc:!1;r.zoomOnTouch&&r.zoomable&&Object.keys(n).length>1?a=cs:r.slideOnTouch&&(t.pointerType==="touch"||t.type==="touchstart")&&this.isSwitchable()&&(a=J_),r.transition&&(a===kc||a===cs)&&ht(this.image,Wt),this.action=a}},pointermove:function(t){var r=this.pointers,n=this.action;!this.viewed||!n||(t.preventDefault(),t.changedTouches?Pt(t.changedTouches,function(o){jr(r[o.identifier]||{},lc(o,!0))}):jr(r[t.pointerId||0]||{},lc(t,!0)),this.change(t))},pointerup:function(t){var r=this,n=this.options,o=this.action,i=this.pointers,a;t.changedTouches?Pt(t.changedTouches,function(s){a=i[s.identifier],delete i[s.identifier]}):(a=i[t.pointerId||0],delete i[t.pointerId||0]),o&&(t.preventDefault(),n.transition&&(o===kc||o===cs)&&qe(this.image,Wt),this.action=!1,ca&&o!==cs&&a&&Date.now()-a.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),n.toggleOnDblclick&&this.viewed&&t.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){Yt(r.image,q0,{originalEvent:t})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){r.imageClicked=!1},500)):(this.imageClicked=!1,n.backdrop&&n.backdrop!=="static"&&t.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){Yt(r.canvas,_a,{originalEvent:t})},50)))))},resize:function(){var t=this;if(!(!this.isShown||this.hiding)&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)){this.stop();return}Pt(this.player.getElementsByTagName("img"),function(r){Xe(r,Xr,t.loadImage.bind(t),{once:!0}),Yt(r,Xr)})}},wheel:function(t){var r=this;if(this.viewed&&(t.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){r.wheeling=!1},50);var n=Number(this.options.zoomRatio)||.1,o=1;t.deltaY?o=t.deltaY>0?1:-1:t.wheelDelta?o=-t.wheelDelta/120:t.detail&&(o=t.detail>0?1:-1),this.zoom(-o*n,!0,null,t)}}},RW={show:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(t),this;if(wt(n.show)&&Xe(r,$1,n.show,{once:!0}),Yt(r,$1)===!1||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var o=this.viewer;if(ht(o,ri),o.setAttribute("role","dialog"),o.setAttribute("aria-labelledby",this.title.id),o.setAttribute("aria-modal",!0),o.removeAttribute("aria-hidden"),n.transition&&!t){var i=this.shown.bind(this);this.transitioning={abort:function(){St(o,un,i),ht(o,qr)}},qe(o,Wt),o.initialOffsetWidth=o.offsetWidth,Xe(o,un,i,{once:!0}),qe(o,qr)}else qe(o,qr),this.shown();return this},hide:function(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.element,o=this.options;if(o.inline||this.hiding||!(this.isShown||this.showing))return this;if(wt(o.hide)&&Xe(n,D1,o.hide,{once:!0}),Yt(n,D1)===!1)return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var i=this.viewer,a=this.image,s=function(){ht(i,qr),t.hidden()};if(o.transition&&!r){var l=function u(f){f&&f.target===i&&(St(i,un,u),t.hidden())},c=function(){qi(i,Wt)?(Xe(i,un,l),ht(i,qr)):s()};this.transitioning={abort:function(){t.viewed&&qi(a,Wt)?St(a,un,c):qi(i,Wt)&&St(i,un,l)}},this.viewed&&qi(a,Wt)?(Xe(a,un,c,{once:!0}),this.zoomTo(0,!1,null,null,!0)):c()}else s();return this},view:function(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.initialViewIndex;if(r=Number(r)||0,this.hiding||this.played||r<0||r>=this.length||this.viewed&&r===this.index)return this;if(!this.isShown)return this.index=r,this.show();this.viewing&&this.viewing.abort();var n=this.element,o=this.options,i=this.title,a=this.canvas,s=this.items[r],l=s.querySelector("img"),c=ea(l,"originalUrl"),u=l.getAttribute("alt"),f=document.createElement("img");if(Pt(o.inheritedAttributes,function(v){var m=l.getAttribute(v);m!==null&&f.setAttribute(v,m)}),f.src=c,f.alt=u,wt(o.view)&&Xe(n,O1,o.view,{once:!0}),Yt(n,O1,{originalImage:this.images[r],index:r,image:f})===!1||!this.isShown||this.hiding||this.played)return this;var d=this.items[this.index];d&&(ht(d,ic),d.removeAttribute("aria-selected")),qe(s,ic),s.setAttribute("aria-selected",!0),o.focus&&s.focus(),this.image=f,this.viewed=!1,this.index=r,this.imageData={},qe(f,ys),o.loading&&qe(a,ua),a.innerHTML="",a.appendChild(f),this.renderList(),i.innerHTML="";var h=function(){var m=t.imageData,b=Array.isArray(o.title)?o.title[1]:o.title;i.innerHTML=TW(wt(b)?b.call(t,f,m):"".concat(u," (").concat(m.naturalWidth," × ").concat(m.naturalHeight,")"))},p,g;return Xe(n,Xs,h,{once:!0}),this.viewing={abort:function(){St(n,Xs,h),f.complete?t.imageRendering?t.imageRendering.abort():t.imageInitializing&&t.imageInitializing.abort():(f.src="",St(f,Xr,p),t.timeout&&clearTimeout(t.timeout))}},f.complete?this.load():(Xe(f,Xr,p=function(){St(f,pi,g),t.load()},{once:!0}),Xe(f,pi,g=function(){St(f,Xr,p),t.timeout&&(clearTimeout(t.timeout),t.timeout=!1),ht(f,ys),o.loading&&ht(t.canvas,ua)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){ht(f,ys),t.timeout=!1},1e3)),this},prev:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.index-1;return r<0&&(r=t?this.length-1:0),this.view(r),this},next:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.length-1,n=this.index+1;return n>r&&(n=t?0:r),this.view(n),this},move:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,n=this.imageData;return this.moveTo(Zi(t)?t:n.x+Number(t),Zi(r)?r:n.y+Number(r)),this},moveTo:function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.element,a=this.options,s=this.imageData;if(t=Number(t),n=Number(n),this.viewed&&!this.played&&a.movable){var l=s.x,c=s.y,u=!1;if(zt(t)?u=!0:t=l,zt(n)?u=!0:n=c,u){if(wt(a.move)&&Xe(i,L1,a.move,{once:!0}),Yt(i,L1,{x:t,y:n,oldX:l,oldY:c,originalEvent:o})===!1)return this;s.x=t,s.y=n,s.left=t,s.top=n,this.moving=!0,this.renderImage(function(){r.moving=!1,wt(a.moved)&&Xe(i,R1,a.moved,{once:!0}),Yt(i,R1,{x:t,y:n,oldX:l,oldY:c,originalEvent:o},{cancelable:!1})})}}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t)),this},rotateTo:function(t){var r=this,n=this.element,o=this.options,i=this.imageData;if(t=Number(t),zt(t)&&this.viewed&&!this.played&&o.rotatable){var a=i.rotate;if(wt(o.rotate)&&Xe(n,F1,o.rotate,{once:!0}),Yt(n,F1,{degree:t,oldDegree:a})===!1)return this;i.rotate=t,this.rotating=!0,this.renderImage(function(){r.rotating=!1,wt(o.rotated)&&Xe(n,M1,o.rotated,{once:!0}),Yt(n,M1,{degree:t,oldDegree:a},{cancelable:!1})})}return this},scaleX:function(t){return this.scale(t,this.imageData.scaleY),this},scaleY:function(t){return this.scale(this.imageData.scaleX,t),this},scale:function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,o=this.element,i=this.options,a=this.imageData;if(t=Number(t),n=Number(n),this.viewed&&!this.played&&i.scalable){var s=a.scaleX,l=a.scaleY,c=!1;if(zt(t)?c=!0:t=s,zt(n)?c=!0:n=l,c){if(wt(i.scale)&&Xe(o,z1,i.scale,{once:!0}),Yt(o,z1,{scaleX:t,scaleY:n,oldScaleX:s,oldScaleY:l})===!1)return this;a.scaleX=t,a.scaleY=n,this.scaling=!0,this.renderImage(function(){r.scaling=!1,wt(i.scaled)&&Xe(o,N1,i.scaled,{once:!0}),Yt(o,N1,{scaleX:t,scaleY:n,oldScaleX:s,oldScaleY:l},{cancelable:!1})})}}return this},zoom:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=this.imageData;return t=Number(t),t<0?t=1/(1-t):t=1+t,this.zoomTo(i.width*t/i.naturalWidth,r,n,o),this},zoomTo:function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,s=this.element,l=this.options,c=this.pointers,u=this.imageData,f=u.x,d=u.y,h=u.width,p=u.height,g=u.naturalWidth,v=u.naturalHeight;if(t=Math.max(0,t),zt(t)&&this.viewed&&!this.played&&(a||l.zoomable)){if(!a){var m=Math.max(.01,l.minZoomRatio),b=Math.min(100,l.maxZoomRatio);t=Math.min(Math.max(t,m),b)}if(i)switch(i.type){case"wheel":l.zoomRatio>=.055&&t>.95&&t<1.05&&(t=1);break;case"pointermove":case"touchmove":case"mousemove":t>.99&&t<1.01&&(t=1);break}var y=g*t,x=v*t,S=y-h,C=x-p,w=u.ratio;if(wt(l.zoom)&&Xe(s,H1,l.zoom,{once:!0}),Yt(s,H1,{ratio:t,oldRatio:w,originalEvent:i})===!1)return this;if(this.zooming=!0,i){var k=PW(this.viewer),A=c&&Object.keys(c).length>0?DW(c):{pageX:i.pageX,pageY:i.pageY};u.x-=S*((A.pageX-k.left-f)/h),u.y-=C*((A.pageY-k.top-d)/p)}else Ji(o)&&zt(o.x)&&zt(o.y)?(u.x-=S*((o.x-f)/h),u.y-=C*((o.y-d)/p)):(u.x-=S/2,u.y-=C/2);u.left=u.x,u.top=u.y,u.width=y,u.height=x,u.oldRatio=w,u.ratio=t,this.renderImage(function(){r.zooming=!1,wt(l.zoomed)&&Xe(s,j1,l.zoomed,{once:!0}),Yt(s,j1,{ratio:t,oldRatio:w,originalEvent:i},{cancelable:!1})}),n&&this.tooltip()}return this},play:function(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.isShown||this.played)return this;var n=this.element,o=this.options;if(wt(o.play)&&Xe(n,W1,o.play,{once:!0}),Yt(n,W1)===!1)return this;var i=this.player,a=this.loadImage.bind(this),s=[],l=0,c=0;if(this.played=!0,this.onLoadWhenPlay=a,r&&this.requestFullscreen(r),qe(i,Wi),Pt(this.items,function(d,h){var p=d.querySelector("img"),g=document.createElement("img");g.src=ea(p,"originalUrl"),g.alt=p.getAttribute("alt"),g.referrerPolicy=p.referrerPolicy,l+=1,qe(g,Tc),Zs(g,Wt,o.transition),qi(d,ic)&&(qe(g,qr),c=h),s.push(g),Xe(g,Xr,a,{once:!0}),i.appendChild(g)}),zt(o.interval)&&o.interval>0){var u=function d(){clearTimeout(t.playing.timeout),ht(s[c],qr),c-=1,c=c>=0?c:l-1,qe(s[c],qr),t.playing.timeout=setTimeout(d,o.interval)},f=function d(){clearTimeout(t.playing.timeout),ht(s[c],qr),c+=1,c=c1&&(this.playing={prev:u,next:f,timeout:setTimeout(f,o.interval)})}return this},stop:function(){var t=this;if(!this.played)return this;var r=this.element,n=this.options;if(wt(n.stop)&&Xe(r,U1,n.stop,{once:!0}),Yt(r,U1)===!1)return this;var o=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Pt(o.getElementsByTagName("img"),function(i){St(i,Xr,t.onLoadWhenPlay)}),ht(o,Wi),o.innerHTML="",this.exitFullscreen(),this},full:function(){var t=this,r=this.options,n=this.viewer,o=this.image,i=this.list;return!this.isShown||this.played||this.fulled||!r.inline?this:(this.fulled=!0,this.open(),qe(this.button,x1),r.transition&&(ht(i,Wt),this.viewed&&ht(o,Wt)),qe(n,G0),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("style"),hn(n,{zIndex:r.zIndex}),r.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=jr({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage(function(){r.transition&&setTimeout(function(){qe(o,Wt),qe(i,Wt)},0)})}),this)},exit:function(){var t=this,r=this.options,n=this.viewer,o=this.image,i=this.list;return!this.isShown||this.played||!this.fulled||!r.inline?this:(this.fulled=!1,this.close(),ht(this.button,x1),r.transition&&(ht(i,Wt),this.viewed&&ht(o,Wt)),r.focus&&this.clearEnforceFocus(),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),ht(n,G0),hn(n,{zIndex:r.zIndexInline}),this.viewerData=jr({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage(function(){r.transition&&setTimeout(function(){qe(o,Wt),qe(i,Wt)},0)})}),this)},tooltip:function(){var t=this,r=this.options,n=this.tooltipBox,o=this.imageData;return!this.viewed||this.played||!r.tooltip?this:(n.textContent="".concat(Math.round(o.ratio*100),"%"),this.tooltipping?clearTimeout(this.tooltipping):r.transition?(this.fading&&Yt(n,un),qe(n,Wi),qe(n,Tc),qe(n,Wt),n.removeAttribute("aria-hidden"),n.initialOffsetWidth=n.offsetWidth,qe(n,qr)):(qe(n,Wi),n.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){r.transition?(Xe(n,un,function(){ht(n,Wi),ht(n,Tc),ht(n,Wt),n.setAttribute("aria-hidden",!0),t.fading=!1},{once:!0}),ht(n,qr),t.fading=!0):(ht(n,Wi),n.setAttribute("aria-hidden",!0)),t.tooltipping=!1},1e3),this)},toggle:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.imageData.ratio===1?this.zoomTo(this.imageData.oldRatio,!0,null,t):this.zoomTo(1,!0,null,t),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=jr({},this.initialImageData),this.renderImage()),this},update:function(){var t=this,r=this.element,n=this.options,o=this.isImg;if(o&&!r.parentNode)return this.destroy();var i=[];if(Pt(o?[r]:r.querySelectorAll("img"),function(c){wt(n.filter)?n.filter.call(t,c)&&i.push(c):t.getImageURL(c)&&i.push(c)}),!i.length)return this;if(this.images=i,this.length=i.length,this.ready){var a=[];if(Pt(this.items,function(c,u){var f=c.querySelector("img"),d=i[u];d&&f?(d.src!==f.src||d.alt!==f.alt)&&a.push(u):a.push(u)}),hn(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var s=a.indexOf(this.index);if(s>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-s,this.length-1),0));else{var l=this.items[this.index];qe(l,ic),l.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var t=this.element,r=this.options;return t[tt]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),r.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):r.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),r.inline||St(t,_a,this.onStart),t[tt]=void 0,this):this}},FW={getImageURL:function(t){var r=this.options.url;return Qs(r)?r=t.getAttribute(r):wt(r)?r=r.call(this,t):r="",r},enforceFocus:function(){var t=this;this.clearEnforceFocus(),Xe(document,w1,this.onFocusin=function(r){var n=t.viewer,o=r.target;if(!(o===document||o===n||n.contains(o))){for(;o;){if(o.getAttribute("tabindex")!==null||o.getAttribute("aria-modal")==="true")return;o=o.parentElement}n.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(St(document,w1,this.onFocusin),this.onFocusin=null)},open:function(){var t=this.body;qe(t,y1),this.scrollbarWidth>0&&(t.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var t=this.body;ht(t,y1),this.scrollbarWidth>0&&(t.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var t=this.element,r=this.options,n=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,r.focus&&(n.focus(),this.enforceFocus()),wt(r.shown)&&Xe(t,I1,r.shown,{once:!0}),Yt(t,I1)!==!1&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var t=this.element,r=this.options,n=this.viewer;r.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),qe(n,ri),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),n.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(wt(r.hidden)&&Xe(t,B1,r.hidden,{once:!0}),Yt(t,B1,null,{cancelable:!1}))},requestFullscreen:function(t){var r=this.element.ownerDocument;if(this.fulled&&!(r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement)){var n=r.documentElement;n.requestFullscreen?Ji(t)?n.requestFullscreen(t):n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}},exitFullscreen:function(){var t=this.element.ownerDocument;this.fulled&&(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)&&(t.exitFullscreen?t.exitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen())},change:function(t){var r=this.options,n=this.pointers,o=n[Object.keys(n)[0]];if(o){var i=o.endX-o.startX,a=o.endY-o.startY;switch(this.action){case kc:(i!==0||a!==0)&&(this.pointerMoved=!0,this.move(i,a,t));break;case cs:this.zoom(IW(n),!1,null,t);break;case J_:{this.action="switched";var s=Math.abs(i);s>1&&s>Math.abs(a)&&(this.pointers={},i>1?this.prev(r.loop):i<-1&&this.next(r.loop));break}}Pt(n,function(l){l.startX=l.endX,l.startY=l.endY})}},isSwitchable:function(){var t=this.imageData,r=this.viewerData;return this.length>1&&t.x>=0&&t.y>=0&&t.width<=r.width&&t.height<=r.height}},MW=Zn.Viewer,zW=function(e){return function(){return e+=1,e}}(-1),ka=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(uW(this,e),!t||t.nodeType!==1)throw new Error("The first argument is required and must be an element.");this.element=t,this.options=jr({},b1,Ji(r)&&r),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=zW(),this.init()}return dW(e,[{key:"init",value:function(){var r=this,n=this.element,o=this.options;if(!n[tt]){n[tt]=this,o.focus&&!o.keyboard&&(o.focus=!1);var i=n.localName==="img",a=[];if(Pt(i?[n]:n.querySelectorAll("img"),function(c){wt(o.filter)?o.filter.call(r,c)&&a.push(c):r.getImageURL(c)&&a.push(c)}),this.isImg=i,this.length=a.length,this.images=a,this.initBody(),Zi(document.createElement(tt).style.transition)&&(o.transition=!1),o.inline){var s=0,l=function(){if(s+=1,s===r.length){var u;r.initializing=!1,r.delaying={abort:function(){clearTimeout(u)}},u=setTimeout(function(){r.delaying=!1,r.build()},0)}};this.initializing={abort:function(){Pt(a,function(u){u.complete||(St(u,Xr,l),St(u,pi,l))})}},Pt(a,function(c){if(c.complete)l();else{var u,f;Xe(c,Xr,u=function(){St(c,pi,f),l()},{once:!0}),Xe(c,pi,f=function(){St(c,Xr,u),l()},{once:!0})}})}else Xe(n,_a,this.onStart=function(c){var u=c.target;u.localName==="img"&&(!wt(o.filter)||o.filter.call(r,u))&&r.view(r.images.indexOf(u))})}}},{key:"build",value:function(){if(!this.ready){var r=this.element,n=this.options,o=r.parentNode,i=document.createElement("div");i.innerHTML=pW;var a=i.querySelector(".".concat(tt,"-container")),s=a.querySelector(".".concat(tt,"-title")),l=a.querySelector(".".concat(tt,"-toolbar")),c=a.querySelector(".".concat(tt,"-navbar")),u=a.querySelector(".".concat(tt,"-button")),f=a.querySelector(".".concat(tt,"-canvas"));if(this.parent=o,this.viewer=a,this.title=s,this.toolbar=l,this.navbar=c,this.button=u,this.canvas=f,this.footer=a.querySelector(".".concat(tt,"-footer")),this.tooltipBox=a.querySelector(".".concat(tt,"-tooltip")),this.player=a.querySelector(".".concat(tt,"-player")),this.list=a.querySelector(".".concat(tt,"-list")),a.id="".concat(tt).concat(this.id),s.id="".concat(tt,"Title").concat(this.id),qe(s,n.title?sc(Array.isArray(n.title)?n.title[0]:n.title):ri),qe(c,n.navbar?sc(n.navbar):ri),Zs(u,ri,!n.button),n.keyboard&&u.setAttribute("tabindex",0),n.backdrop&&(qe(a,"".concat(tt,"-backdrop")),!n.inline&&n.backdrop!=="static"&&Y0(f,cu,"hide")),Qs(n.className)&&n.className&&n.className.split(Qp).forEach(function(y){qe(a,y)}),n.toolbar){var d=document.createElement("ul"),h=Ji(n.toolbar),p=ac.slice(0,3),g=ac.slice(7,9),v=ac.slice(9);h||qe(l,sc(n.toolbar)),Pt(h?n.toolbar:ac,function(y,x){var S=h&&Ji(y),C=h?Zp(x):y,w=S&&!Zi(y.show)?y.show:y;if(!(!w||!n.zoomable&&p.indexOf(C)!==-1||!n.rotatable&&g.indexOf(C)!==-1||!n.scalable&&v.indexOf(C)!==-1)){var k=S&&!Zi(y.size)?y.size:y,A=S&&!Zi(y.click)?y.click:y,T=document.createElement("li");n.keyboard&&T.setAttribute("tabindex",0),T.setAttribute("role","button"),qe(T,"".concat(tt,"-").concat(C)),wt(A)||Y0(T,cu,C),zt(w)&&qe(T,sc(w)),["small","large"].indexOf(k)!==-1?qe(T,"".concat(tt,"-").concat(k)):C==="play"&&qe(T,"".concat(tt,"-large")),wt(A)&&Xe(T,_a,A),d.appendChild(T)}}),l.appendChild(d)}else qe(l,ri);if(!n.rotatable){var m=l.querySelectorAll('li[class*="rotate"]');qe(m,ys),Pt(m,function(y){l.appendChild(y)})}if(n.inline)qe(u,mW),hn(a,{zIndex:n.zIndexInline}),window.getComputedStyle(o).position==="static"&&hn(o,{position:"relative"}),o.insertBefore(a,r.nextSibling);else{qe(u,gW),qe(a,G0),qe(a,Tc),qe(a,ri),hn(a,{zIndex:n.zIndex});var b=n.container;Qs(b)&&(b=r.ownerDocument.querySelector(b)),b||(b=this.body),b.appendChild(a)}if(n.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,wt(n.ready)&&Xe(r,P1,n.ready,{once:!0}),Yt(r,P1)===!1){this.ready=!1;return}this.ready&&n.inline&&this.view(this.index)}}}],[{key:"noConflict",value:function(){return window.Viewer=MW,e}},{key:"setDefaults",value:function(r){jr(b1,Ji(r)&&r)}}]),e}();jr(ka.prototype,BW,OW,LW,RW,FW);/*! - * v-viewer v3.0.11 - * https://github.com/mirari/v-viewer#readme - * - * Copyright 2022 mirari - * Released under the MIT license - * - * Date: 2022-10-25T08:49:33.301Z - */var cc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function NW(e){return e}var rE=NW;function HW(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var jW=HW,WW=jW,V1=Math.max;function UW(e,t,r){return t=V1(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=V1(n.length-t,0),a=Array(i);++o0){if(++t>=rV)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var aV=iV,sV=tV,lV=aV,cV=lV(sV),uV=cV,dV=rE,fV=VW,hV=uV;function pV(e,t){return hV(fV(e,t,dV),e+"")}var gV=pV;function mV(e,t){return e===t||e!==e&&t!==t}var sE=mV,vV=9007199254740991;function bV(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=vV}var lE=bV,xV=aE,yV=lE;function CV(e){return e!=null&&yV(e.length)&&!xV(e)}var cE=CV,wV=9007199254740991,SV=/^(?:0|[1-9]\d*)$/;function _V(e,t){var r=typeof e;return t=t??wV,!!t&&(r=="number"||r!="symbol"&&SV.test(e))&&e>-1&&e%1==0&&e2?t[2]:void 0;for(o&&oq(t[0],t[1],o)&&(n=1);++r0}}),!0):!1}function pq(e,...t){if(!Pc(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof eb!="function")return e;for(const r of t){const n=eb(r);for(const o of n)uq.call(r,o)&&(e[o]=r[o])}return e}function hE(e,...t){let r=0;for(dq(e)&&(e=t[r++]),e||(e={});r{t=hE(t,{inline:!1});const r=document.createElement("div"),n=$("div",{style:{display:"none"},class:["__viewer-token"]},e.map(s=>$("img",typeof s=="string"?{src:s}:s)));zm(n,r);const o=r.firstElementChild;document.body.appendChild(o);const i=new ka(o,t),a=i.destroy.bind(i);return i.destroy=function(){return a(),zm(null,r),i},i.show(),o.addEventListener("hidden",function(){this.viewer===i&&i.destroy()}),i};var mq=rd,vq=function(){return mq.Date.now()},bq=vq,xq=/\s/;function yq(e){for(var t=e.length;t--&&xq.test(e.charAt(t)););return t}var Cq=yq,wq=Cq,Sq=/^\s+/;function _q(e){return e&&e.slice(0,wq(e)+1).replace(Sq,"")}var Eq=_q,kq=nd,Tq=od,Aq="[object Symbol]";function Pq(e){return typeof e=="symbol"||Tq(e)&&kq(e)==Aq}var $q=Pq,Iq=Eq,tb=Ga,Dq=$q,rb=0/0,Bq=/^[-+]0x[0-9a-f]+$/i,Oq=/^0b[01]+$/i,Lq=/^0o[0-7]+$/i,Rq=parseInt;function Fq(e){if(typeof e=="number")return e;if(Dq(e))return rb;if(tb(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=tb(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Iq(e);var r=Oq.test(e);return r||Lq.test(e)?Rq(e.slice(2),r?2:8):Bq.test(e)?rb:+e}var Mq=Fq,zq=Ga,uf=bq,nb=Mq,Nq="Expected a function",Hq=Math.max,jq=Math.min;function Wq(e,t,r){var n,o,i,a,s,l,c=0,u=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(Nq);t=nb(t)||0,zq(r)&&(u=!!r.leading,f="maxWait"in r,i=f?Hq(nb(r.maxWait)||0,t):i,d="trailing"in r?!!r.trailing:d);function h(C){var w=n,k=o;return n=o=void 0,c=C,a=e.apply(k,w),a}function p(C){return c=C,s=setTimeout(m,t),u?h(C):a}function g(C){var w=C-l,k=C-c,A=t-w;return f?jq(A,i-k):A}function v(C){var w=C-l,k=C-c;return l===void 0||w>=t||w<0||f&&k>=i}function m(){var C=uf();if(v(C))return b(C);s=setTimeout(m,g(C))}function b(C){return s=void 0,d&&n?h(C):(n=o=void 0,a)}function y(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function x(){return s===void 0?a:b(uf())}function S(){var C=uf(),w=v(C);if(n=arguments,o=this,l=C,w){if(s===void 0)return p(l);if(f)return clearTimeout(s),s=setTimeout(m,t),h(l)}return s===void 0&&(s=setTimeout(m,t)),a}return S.cancel=y,S.flush=x,S}var Uq=Wq;const Vq=({name:e="viewer",debug:t=!1}={})=>{async function r(f,d,h=!1,p=!1){await Qt(),!(p&&!n(f))&&(h||!f[`$${e}`]?(a(f),f[`$${e}`]=new ka(f,d),c("Viewer created")):(f[`$${e}`].update(),c("Viewer updated")))}function n(f){const d=f.innerHTML.match(//g),h=d?d.join(""):void 0;return f.__viewerImageDiffCache===h?(c("Element change detected, but image(s) has not changed"),!1):(c("Image change detected"),f.__viewerImageDiffCache=h,!0)}function o(f,d,h,p){s(f);const g=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(!g){c("Observer not supported");return}const v=new g(b=>{b.forEach(y=>{c(`Viewer mutation:${y.type}`),h(f,d,p,!0)})}),m={attributes:!0,childList:!0,characterData:!0,subtree:!0};v.observe(f,m),f.__viewerMutationObserver=v,c("Observer created")}function i(f,d,h,p){f.__viewerUnwatch=Je(()=>d.value,(g,v)=>{c("Change detected by watcher: ",d.value),p(f,g,!0,!1)},{deep:!0}),c("Watcher created, expression: ",d.value)}function a(f){f[`$${e}`]&&(f[`$${e}`].destroy(),delete f[`$${e}`],c("Viewer destroyed"))}function s(f){f.__viewerMutationObserver&&(f.__viewerMutationObserver.disconnect(),delete f.__viewerMutationObserver,c("observer destroyed"))}function l(f){f.__viewerUnwatch&&(f.__viewerUnwatch(),delete f.__viewerUnwatch,c("Watcher destroyed"))}function c(...f){t&&console.log(...f)}return{mounted(f,d,h){c("Viewer bind");const p=Uq(r,50);p(f,d.value),i(f,d,h,p),d.modifiers.static||o(f,d.value,p,d.modifiers.rebuild)},unmounted(f){c("Viewer unbind"),s(f),l(f),a(f)}}};var Gq=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};const qq=pe({name:"Viewer",props:{images:{type:Array,default:()=>[]},rebuild:{type:Boolean,default:!1},trigger:{type:Object,default:null},options:{type:Object,default:()=>null}},emits:["inited"],setup(e,{emit:t}){let r;const n=M();function o(){r=new ka(n.value,e.options),t("inited",r)}function i(){r&&r.destroy()}function a(){i(),o()}function s(){r?(r.update(),t("inited",r)):o()}function l(){e.rebuild?a():s()}const c={deep:!0};return Je(()=>e.images,()=>Qt(()=>l()),c),Je(()=>e.trigger,()=>Qt(()=>l()),c),Je(()=>e.options,()=>Qt(()=>a()),c),_t(()=>o()),wi(()=>i()),{root:n,createViewer:o,rebuildViewer:a,updateViewer:s,destroyViewer:i}}}),Yq={ref:"root"};function Kq(e,t,r,n,o,i){return he(),Fe("div",Yq,[pa(e.$slots,"default",{images:e.images,options:e.options})],512)}var Xq=Gq(qq,[["render",Kq]]),Qq={install(e,{name:t="viewer",debug:r=!1,defaultOptions:n}={}){n&&ka.setDefaults(n),e.config.globalProperties[`$${t}Api`]=gq,e.component(t,lq(Xq,{name:t})),e.directive(t,Vq({name:t,debug:r}))},setDefaults(e){ka.setDefaults(e)}};/*! - * vue-router v4.3.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const Yi=typeof document<"u";function Zq(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const xt=Object.assign;function df(e,t){const r={};for(const n in t){const o=t[n];r[n]=mn(o)?o.map(e):e(o)}return r}const Cs=()=>{},mn=Array.isArray,pE=/#/g,Jq=/&/g,eY=/\//g,tY=/=/g,rY=/\?/g,gE=/\+/g,nY=/%5B/g,oY=/%5D/g,mE=/%5E/g,iY=/%60/g,vE=/%7B/g,aY=/%7C/g,bE=/%7D/g,sY=/%20/g;function Jp(e){return encodeURI(""+e).replace(aY,"|").replace(nY,"[").replace(oY,"]")}function lY(e){return Jp(e).replace(vE,"{").replace(bE,"}").replace(mE,"^")}function Q0(e){return Jp(e).replace(gE,"%2B").replace(sY,"+").replace(pE,"%23").replace(Jq,"%26").replace(iY,"`").replace(vE,"{").replace(bE,"}").replace(mE,"^")}function cY(e){return Q0(e).replace(tY,"%3D")}function uY(e){return Jp(e).replace(pE,"%23").replace(rY,"%3F")}function dY(e){return e==null?"":uY(e).replace(eY,"%2F")}function Js(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const fY=/\/$/,hY=e=>e.replace(fY,"");function ff(e,t,r="/"){let n,o={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(n=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),o=e(i)),s>-1&&(n=n||t.slice(0,s),a=t.slice(s,t.length)),n=vY(n??t,r),{fullPath:n+(i&&"?")+i+a,path:n,query:o,hash:Js(a)}}function pY(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function ob(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function gY(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&Ta(t.matched[n],r.matched[o])&&xE(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function Ta(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xE(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!mY(e[r],t[r]))return!1;return!0}function mY(e,t){return mn(e)?ib(e,t):mn(t)?ib(t,e):e===t}function ib(e,t){return mn(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function vY(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let i=r.length-1,a,s;for(a=0;a1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(a).join("/")}var el;(function(e){e.pop="pop",e.push="push"})(el||(el={}));var ws;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ws||(ws={}));function bY(e){if(!e)if(Yi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hY(e)}const xY=/^[^#]+#/;function yY(e,t){return e.replace(xY,"#")+t}function CY(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const id=()=>({left:window.scrollX,top:window.scrollY});function wY(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=CY(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ab(e,t){return(history.state?history.state.position-t:-1)+e}const Z0=new Map;function SY(e,t){Z0.set(e,t)}function _Y(e){const t=Z0.get(e);return Z0.delete(e),t}let EY=()=>location.protocol+"//"+location.host;function yE(e,t){const{pathname:r,search:n,hash:o}=t,i=e.indexOf("#");if(i>-1){let s=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(s);return l[0]!=="/"&&(l="/"+l),ob(l,"")}return ob(r,e)+n+o}function kY(e,t,r,n){let o=[],i=[],a=null;const s=({state:d})=>{const h=yE(e,location),p=r.value,g=t.value;let v=0;if(d){if(r.value=h,t.value=d,a&&a===p){a=null;return}v=g?d.position-g.position:0}else n(h);o.forEach(m=>{m(r.value,p,{delta:v,type:el.pop,direction:v?v>0?ws.forward:ws.back:ws.unknown})})};function l(){a=r.value}function c(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return i.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(xt({},d.state,{scroll:id()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function sb(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?id():null}}function TY(e){const{history:t,location:r}=window,n={value:yE(e,r)},o={value:t.state};o.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const f=e.indexOf("#"),d=f>-1?(r.host&&document.querySelector("base")?e:e.slice(f))+l:EY()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(h){console.error(h),r[u?"replace":"assign"](d)}}function a(l,c){const u=xt({},t.state,sb(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});i(l,u,!0),n.value=l}function s(l,c){const u=xt({},o.value,t.state,{forward:l,scroll:id()});i(u.current,u,!0);const f=xt({},sb(n.value,l,null),{position:u.position+1},c);i(l,f,!1),n.value=l}return{location:n,state:o,push:s,replace:a}}function AY(e){e=bY(e);const t=TY(e),r=kY(e,t.state,t.location,t.replace);function n(i,a=!0){a||r.pauseListeners(),history.go(i)}const o=xt({location:"",base:e,go:n,createHref:yY.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function PY(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),AY(e)}function $Y(e){return typeof e=="string"||e&&typeof e=="object"}function CE(e){return typeof e=="string"||typeof e=="symbol"}const ho={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wE=Symbol("");var lb;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(lb||(lb={}));function Aa(e,t){return xt(new Error,{type:e,[wE]:!0},t)}function jn(e,t){return e instanceof Error&&wE in e&&(t==null||!!(e.type&t))}const cb="[^/]+?",IY={sensitive:!1,strict:!1,start:!0,end:!0},DY=/[.+*?^${}()[\]/\\]/g;function BY(e,t){const r=xt({},IY,t),n=[];let o=r.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];r.strict&&!c.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function LY(e,t){let r=0;const n=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const RY={type:0,value:""},FY=/[a-zA-Z0-9_]/;function MY(e){if(!e)return[[]];if(e==="/")return[[RY]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${r})/"${c}": ${h}`)}let r=0,n=r;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,l,c="",u="";function f(){c&&(r===0?i.push({type:0,value:c}):r===1||r===2||r===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;s{a(b)}:Cs}function a(u){if(CE(u)){const f=n.get(u);f&&(n.delete(u),r.splice(r.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=r.indexOf(u);f>-1&&(r.splice(f,1),u.record.name&&n.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function s(){return r}function l(u){let f=0;for(;f=0&&(u.record.path!==r[f].record.path||!SE(u,r[f]));)f++;r.splice(f,0,u),u.record.name&&!fb(u)&&n.set(u.record.name,u)}function c(u,f){let d,h={},p,g;if("name"in u&&u.name){if(d=n.get(u.name),!d)throw Aa(1,{location:u});g=d.record.name,h=xt(db(f.params,d.keys.filter(b=>!b.optional).concat(d.parent?d.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),u.params&&db(u.params,d.keys.map(b=>b.name))),p=d.stringify(h)}else if(u.path!=null)p=u.path,d=r.find(b=>b.re.test(p)),d&&(h=d.parse(p),g=d.record.name);else{if(d=f.name?n.get(f.name):r.find(b=>b.re.test(f.path)),!d)throw Aa(1,{location:u,currentLocation:f});g=d.record.name,h=xt({},f.params,u.params),p=d.stringify(h)}const v=[];let m=d;for(;m;)v.unshift(m.record),m=m.parent;return{name:g,path:p,params:h,matched:v,meta:WY(v)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:o}}function db(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function HY(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jY(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function jY(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function fb(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function WY(e){return e.reduce((t,r)=>xt(t,r.meta),{})}function hb(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function SE(e,t){return t.children.some(r=>r===e||SE(e,r))}function UY(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&Q0(i)):[n&&Q0(n)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+r,i!=null&&(t+="="+i))})}return t}function VY(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=mn(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const GY=Symbol(""),gb=Symbol(""),ad=Symbol(""),eg=Symbol(""),J0=Symbol("");function rs(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function So(e,t,r,n,o,i=a=>a()){const a=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((s,l)=>{const c=d=>{d===!1?l(Aa(4,{from:r,to:t})):d instanceof Error?l(d):$Y(d)?l(Aa(2,{from:t,to:d})):(a&&n.enterCallbacks[o]===a&&typeof d=="function"&&a.push(d),s())},u=i(()=>e.call(n&&n.instances[o],t,r,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function hf(e,t,r,n,o=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(qY(l)){const u=(l.__vccOpts||l)[t];u&&i.push(So(u,r,n,a,s,o))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const f=Zq(u)?u.default:u;a.components[s]=f;const h=(f.__vccOpts||f)[t];return h&&So(h,r,n,a,s,o)()}))}}return i}function qY(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function mb(e){const t=ze(ad),r=ze(eg),n=R(()=>t.resolve(N(e.to))),o=R(()=>{const{matched:l}=n.value,{length:c}=l,u=l[c-1],f=r.matched;if(!u||!f.length)return-1;const d=f.findIndex(Ta.bind(null,u));if(d>-1)return d;const h=vb(l[c-2]);return c>1&&vb(u)===h&&f[f.length-1].path!==h?f.findIndex(Ta.bind(null,l[c-2])):d}),i=R(()=>o.value>-1&&XY(r.params,n.value.params)),a=R(()=>o.value>-1&&o.value===r.matched.length-1&&xE(r.params,n.value.params));function s(l={}){return KY(l)?t[N(e.replace)?"replace":"push"](N(e.to)).catch(Cs):Promise.resolve()}return{route:n,href:R(()=>n.value.href),isActive:i,isExactActive:a,navigate:s}}const YY=pe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:mb,setup(e,{slots:t}){const r=nn(mb(e)),{options:n}=ze(ad),o=R(()=>({[bb(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[bb(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const i=t.default&&t.default(r);return e.custom?i:$("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},i)}}}),_E=YY;function KY(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function XY(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!mn(o)||o.length!==n.length||n.some((i,a)=>i!==o[a]))return!1}return!0}function vb(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bb=(e,t,r)=>e??t??r,QY=pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=ze(J0),o=R(()=>e.route||n.value),i=ze(gb,0),a=R(()=>{let c=N(i);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),s=R(()=>o.value.matched[a.value]);ft(gb,R(()=>a.value+1)),ft(GY,s),ft(J0,o);const l=M();return Je(()=>[l.value,s.value,e.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Ta(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=s.value,d=f&&f.components[u];if(!d)return xb(r.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,v=$(d,xt({},p,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return xb(r.default,{Component:v,route:c})||v}}});function xb(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const ZY=QY;function JY(e){const t=NY(e.routes,e),r=e.parseQuery||UY,n=e.stringifyQuery||pb,o=e.history,i=rs(),a=rs(),s=rs(),l=Xn(ho);let c=ho;Yi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=df.bind(null,q=>""+q),f=df.bind(null,dY),d=df.bind(null,Js);function h(q,te){let ie,ve;return CE(q)?(ie=t.getRecordMatcher(q),ve=te):ve=q,t.addRoute(ve,ie)}function p(q){const te=t.getRecordMatcher(q);te&&t.removeRoute(te)}function g(){return t.getRoutes().map(q=>q.record)}function v(q){return!!t.getRecordMatcher(q)}function m(q,te){if(te=xt({},te||l.value),typeof q=="string"){const E=ff(r,q,te.path),P=t.resolve({path:E.path},te),O=o.createHref(E.fullPath);return xt(E,P,{params:d(P.params),hash:Js(E.hash),redirectedFrom:void 0,href:O})}let ie;if(q.path!=null)ie=xt({},q,{path:ff(r,q.path,te.path).path});else{const E=xt({},q.params);for(const P in E)E[P]==null&&delete E[P];ie=xt({},q,{params:f(E)}),te.params=f(te.params)}const ve=t.resolve(ie,te),Le=q.hash||"";ve.params=u(d(ve.params));const $e=pY(n,xt({},q,{hash:lY(Le),path:ve.path})),_=o.createHref($e);return xt({fullPath:$e,hash:Le,query:n===pb?VY(q.query):q.query||{}},ve,{redirectedFrom:void 0,href:_})}function b(q){return typeof q=="string"?ff(r,q,l.value.path):xt({},q)}function y(q,te){if(c!==q)return Aa(8,{from:te,to:q})}function x(q){return w(q)}function S(q){return x(xt(b(q),{replace:!0}))}function C(q){const te=q.matched[q.matched.length-1];if(te&&te.redirect){const{redirect:ie}=te;let ve=typeof ie=="function"?ie(q):ie;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=b(ve):{path:ve},ve.params={}),xt({query:q.query,hash:q.hash,params:ve.path!=null?{}:q.params},ve)}}function w(q,te){const ie=c=m(q),ve=l.value,Le=q.state,$e=q.force,_=q.replace===!0,E=C(ie);if(E)return w(xt(b(E),{state:typeof E=="object"?xt({},Le,E.state):Le,force:$e,replace:_}),te||ie);const P=ie;P.redirectedFrom=te;let O;return!$e&&gY(n,ve,ie)&&(O=Aa(16,{to:P,from:ve}),U(ve,ve,!0,!1)),(O?Promise.resolve(O):T(P,ve)).catch(L=>jn(L)?jn(L,2)?L:ge(L):oe(L,P,ve)).then(L=>{if(L){if(jn(L,2))return w(xt({replace:_},b(L.to),{state:typeof L.to=="object"?xt({},Le,L.to.state):Le,force:$e}),te||P)}else L=D(P,ve,!0,_,Le);return I(P,ve,L),L})}function k(q,te){const ie=y(q,te);return ie?Promise.reject(ie):Promise.resolve()}function A(q){const te=Z.values().next().value;return te&&typeof te.runWithContext=="function"?te.runWithContext(q):q()}function T(q,te){let ie;const[ve,Le,$e]=eK(q,te);ie=hf(ve.reverse(),"beforeRouteLeave",q,te);for(const E of ve)E.leaveGuards.forEach(P=>{ie.push(So(P,q,te))});const _=k.bind(null,q,te);return ie.push(_),ye(ie).then(()=>{ie=[];for(const E of i.list())ie.push(So(E,q,te));return ie.push(_),ye(ie)}).then(()=>{ie=hf(Le,"beforeRouteUpdate",q,te);for(const E of Le)E.updateGuards.forEach(P=>{ie.push(So(P,q,te))});return ie.push(_),ye(ie)}).then(()=>{ie=[];for(const E of $e)if(E.beforeEnter)if(mn(E.beforeEnter))for(const P of E.beforeEnter)ie.push(So(P,q,te));else ie.push(So(E.beforeEnter,q,te));return ie.push(_),ye(ie)}).then(()=>(q.matched.forEach(E=>E.enterCallbacks={}),ie=hf($e,"beforeRouteEnter",q,te,A),ie.push(_),ye(ie))).then(()=>{ie=[];for(const E of a.list())ie.push(So(E,q,te));return ie.push(_),ye(ie)}).catch(E=>jn(E,8)?E:Promise.reject(E))}function I(q,te,ie){s.list().forEach(ve=>A(()=>ve(q,te,ie)))}function D(q,te,ie,ve,Le){const $e=y(q,te);if($e)return $e;const _=te===ho,E=Yi?history.state:{};ie&&(ve||_?o.replace(q.fullPath,xt({scroll:_&&E&&E.scroll},Le)):o.push(q.fullPath,Le)),l.value=q,U(q,te,ie,_),ge()}let B;function j(){B||(B=o.listen((q,te,ie)=>{if(!Be.listening)return;const ve=m(q),Le=C(ve);if(Le){w(xt(Le,{replace:!0}),ve).catch(Cs);return}c=ve;const $e=l.value;Yi&&SY(ab($e.fullPath,ie.delta),id()),T(ve,$e).catch(_=>jn(_,12)?_:jn(_,2)?(w(_.to,ve).then(E=>{jn(E,20)&&!ie.delta&&ie.type===el.pop&&o.go(-1,!1)}).catch(Cs),Promise.reject()):(ie.delta&&o.go(-ie.delta,!1),oe(_,ve,$e))).then(_=>{_=_||D(ve,$e,!1),_&&(ie.delta&&!jn(_,8)?o.go(-ie.delta,!1):ie.type===el.pop&&jn(_,20)&&o.go(-1,!1)),I(ve,$e,_)}).catch(Cs)}))}let F=rs(),z=rs(),V;function oe(q,te,ie){ge(q);const ve=z.list();return ve.length?ve.forEach(Le=>Le(q,te,ie)):console.error(q),Promise.reject(q)}function fe(){return V&&l.value!==ho?Promise.resolve():new Promise((q,te)=>{F.add([q,te])})}function ge(q){return V||(V=!q,j(),F.list().forEach(([te,ie])=>q?ie(q):te()),F.reset()),q}function U(q,te,ie,ve){const{scrollBehavior:Le}=e;if(!Yi||!Le)return Promise.resolve();const $e=!ie&&_Y(ab(q.fullPath,0))||(ve||!ie)&&history.state&&history.state.scroll||null;return Qt().then(()=>Le(q,te,$e)).then(_=>_&&wY(_)).catch(_=>oe(_,q,te))}const X=q=>o.go(q);let ae;const Z=new Set,Be={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:v,getRoutes:g,resolve:m,options:e,push:x,replace:S,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:z.add,isReady:fe,install(q){const te=this;q.component("RouterLink",_E),q.component("RouterView",ZY),q.config.globalProperties.$router=te,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>N(l)}),Yi&&!ae&&l.value===ho&&(ae=!0,x(o.location).catch(Le=>{}));const ie={};for(const Le in ho)Object.defineProperty(ie,Le,{get:()=>l.value[Le],enumerable:!0});q.provide(ad,te),q.provide(eg,uC(ie)),q.provide(J0,l);const ve=q.unmount;Z.add(q),q.unmount=function(){Z.delete(q),Z.size<1&&(c=ho,B&&B(),B=null,l.value=ho,ae=!1,V=!1),ve()}}};function ye(q){return q.reduce((te,ie)=>te.then(()=>A(ie)),Promise.resolve())}return Be}function eK(e,t){const r=[],n=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aTa(c,s))?n.push(s):r.push(s));const l=e.matched[a];l&&(t.matched.find(c=>Ta(c,l))||o.push(l))}return[r,n,o]}function sd(){return ze(ad)}function tg(){return ze(eg)}var EE={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ye,function(){return function(r){var n={};function o(i){if(n[i])return n[i].exports;var a=n[i]={i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=r,o.c=n,o.d=function(i,a,s){o.o(i,a)||Object.defineProperty(i,a,{enumerable:!0,get:s})},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},o.t=function(i,a){if(1&a&&(i=o(i)),8&a||4&a&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),2&a&&typeof i!="string")for(var l in i)o.d(s,l,(function(c){return i[c]}).bind(null,l));return s},o.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(a,"a",a),a},o.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},o.p="",o(o.s=0)}([function(r,n,o){var i,a,s=o(1)(),l=o(3),c=o(4),u=o(6),f=function(){var d=new c;return i=d.getResult(),a=new u,this};f.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return i},getFingerprint:function(){var d="|",h=i.ua,p=this.getScreenPrint(),g=this.getPlugins(),v=this.getFonts(),m=this.isLocalStorage(),b=this.isSessionStorage(),y=this.getTimeZone(),x=this.getLanguage(),S=this.getSystemLanguage(),C=this.isCookie(),w=this.getCanvasPrint();return l(h+d+p+d+g+d+v+d+m+d+b+d+y+d+x+d+S+d+C+d+w,256)},getCustomFingerprint:function(){for(var d="|",h="",p=0;p>>16)*f&65535)<<16)&4294967295)<<15|h>>>17))*d+(((h>>>16)*d&65535)<<16)&4294967295)<<13|c>>>19))+((5*(c>>>16)&65535)<<16)&4294967295))+((58964+(u>>>16)&65535)<<16);switch(h=0,s){case 3:h^=(255&i.charCodeAt(p+2))<<16;case 2:h^=(255&i.charCodeAt(p+1))<<8;case 1:c^=h=(65535&(h=(h=(65535&(h^=255&i.charCodeAt(p)))*f+(((h>>>16)*f&65535)<<16)&4294967295)<<15|h>>>17))*d+(((h>>>16)*d&65535)<<16)&4294967295}return c^=i.length,c=2246822507*(65535&(c^=c>>>16))+((2246822507*(c>>>16)&65535)<<16)&4294967295,c=3266489909*(65535&(c^=c>>>13))+((3266489909*(c>>>16)&65535)<<16)&4294967295,(c^=c>>>16)>>>0}},function(r,n,o){var i;(function(a,s){var l="function",c="undefined",u="object",f="string",d="model",h="name",p="type",g="vendor",v="version",m="architecture",b="console",y="mobile",x="tablet",S="smarttv",C="wearable",w="embedded",k="Amazon",A="Apple",T="ASUS",I="BlackBerry",D="Firefox",B="Google",j="Huawei",F="LG",z="Microsoft",V="Motorola",oe="Opera",fe="Samsung",ge="Sony",U="Xiaomi",X="Zebra",ae="Facebook",Z=function(P){var O={};for(var L in P)O[P[L].toUpperCase()]=P[L];return O},Be=function(P,O){return typeof P===f&&ye(O).indexOf(ye(P))!==-1},ye=function(P){return P.toLowerCase()},q=function(P,O){if(typeof P===f)return P=P.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof O===c?P:P.substring(0,255)},te=function(P,O){for(var L,G,K,H,ee,Q,Ce=0;Ce0?H.length==2?typeof H[1]==l?this[H[0]]=H[1].call(this,Q):this[H[0]]=H[1]:H.length==3?typeof H[1]!==l||H[1].exec&&H[1].test?this[H[0]]=Q?Q.replace(H[1],H[2]):s:this[H[0]]=Q?H[1].call(this,Q,H[2]):s:H.length==4&&(this[H[0]]=Q?H[3].call(this,Q.replace(H[1],H[2])):s):this[H]=Q||s;Ce+=2}},ie=function(P,O){for(var L in O)if(typeof O[L]===u&&O[L].length>0){for(var G=0;G255?q(K,255):K,this},this.setUA(L),this};$e.VERSION="0.7.30",$e.BROWSER=Z([h,v,"major"]),$e.CPU=Z([m]),$e.DEVICE=Z([d,g,p,b,y,S,x,C,w]),$e.ENGINE=$e.OS=Z([h,v]),typeof n!==c?(typeof r!==c&&r.exports&&(n=r.exports=$e),n.UAParser=$e):o(5)?(i=(function(){return $e}).call(n,o,n,r))===s||(r.exports=i):typeof a!==c&&(a.UAParser=$e);var _=typeof a!==c&&(a.jQuery||a.Zepto);if(_&&!_.ua){var E=new $e;_.ua=E.getResult(),_.ua.get=function(){return E.getUA()},_.ua.set=function(P){E.setUA(P);var O=E.getResult();for(var L in O)_.ua[L]=O[L]}}})(typeof window=="object"?window:this)},function(r,n){(function(o){r.exports=o}).call(this,{})},function(r,n){r.exports=function(){var o=["monospace","sans-serif","serif"],i=document.getElementsByTagName("body")[0],a=document.createElement("span");a.style.fontSize="72px",a.innerHTML="mmmmmmmmmmlli";var s={},l={};for(var c in o)a.style.fontFamily=o[c],i.appendChild(a),s[o[c]]=a.offsetWidth,l[o[c]]=a.offsetHeight,i.removeChild(a);this.detect=function(u){var f=!1;for(var d in o){a.style.fontFamily=u+","+o[d],i.appendChild(a);var h=a.offsetWidth!=s[o[d]]||a.offsetHeight!=l[o[d]];i.removeChild(a),f=f||h}return f}}}])})})(EE);var tK=EE.exports,kE={exports:{}};function rK(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var pf={exports:{}};const nK={},oK=Object.freeze(Object.defineProperty({__proto__:null,default:nK},Symbol.toStringTag,{value:"Module"})),iK=H9(oK);var yb;function at(){return yb||(yb=1,function(e,t){(function(r,n){e.exports=n()})(Ye,function(){var r=r||function(n,o){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof Ye<"u"&&Ye.crypto&&(i=Ye.crypto),!i&&typeof rK=="function")try{i=iK}catch{}var a=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function b(){}return function(y){var x;return b.prototype=y,x=new b,b.prototype=null,x}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(b){var y=s(this);return b&&y.mixIn(b),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var y in b)b.hasOwnProperty(y)&&(this[y]=b[y]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(b,y){b=this.words=b||[],y!=o?this.sigBytes=y:this.sigBytes=b.length*4},toString:function(b){return(b||h).stringify(this)},concat:function(b){var y=this.words,x=b.words,S=this.sigBytes,C=b.sigBytes;if(this.clamp(),S%4)for(var w=0;w>>2]>>>24-w%4*8&255;y[S+w>>>2]|=k<<24-(S+w)%4*8}else for(var A=0;A>>2]=x[A>>>2];return this.sigBytes+=C,this},clamp:function(){var b=this.words,y=this.sigBytes;b[y>>>2]&=4294967295<<32-y%4*8,b.length=n.ceil(y/4)},clone:function(){var b=u.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var y=[],x=0;x>>2]>>>24-C%4*8&255;S.push((w>>>4).toString(16)),S.push((w&15).toString(16))}return S.join("")},parse:function(b){for(var y=b.length,x=[],S=0;S>>3]|=parseInt(b.substr(S,2),16)<<24-S%8*4;return new f.init(x,y/2)}},p=d.Latin1={stringify:function(b){for(var y=b.words,x=b.sigBytes,S=[],C=0;C>>2]>>>24-C%4*8&255;S.push(String.fromCharCode(w))}return S.join("")},parse:function(b){for(var y=b.length,x=[],S=0;S>>2]|=(b.charCodeAt(S)&255)<<24-S%4*8;return new f.init(x,y)}},g=d.Utf8={stringify:function(b){try{return decodeURIComponent(escape(p.stringify(b)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(b){return p.parse(unescape(encodeURIComponent(b)))}},v=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=g.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var y,x=this._data,S=x.words,C=x.sigBytes,w=this.blockSize,k=w*4,A=C/k;b?A=n.ceil(A):A=n.max((A|0)-this._minBufferSize,0);var T=A*w,I=n.min(T*4,C);if(T){for(var D=0;D>>2]|=l[f]<<24-f%4*8;a.call(this,u,c)}else a.apply(this,arguments)};s.prototype=i}}(),r.lib.WordArray})}(mf)),mf.exports}var vf={exports:{}},Sb;function sK(){return Sb||(Sb=1,function(e,t){(function(r,n){e.exports=n(at())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.WordArray,a=n.enc;a.Utf16=a.Utf16BE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f>>1]|=l.charCodeAt(f)<<16-f%2*16;return i.create(u,c*2)}},a.Utf16LE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return i.create(u,c*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),r.enc.Utf16})}(vf)),vf.exports}var bf={exports:{}},_b;function Pi(){return _b||(_b=1,function(e,t){(function(r,n){e.exports=n(at())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.WordArray,a=n.enc;a.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,f=this._map;l.clamp();for(var d=[],h=0;h>>2]>>>24-h%4*8&255,g=c[h+1>>>2]>>>24-(h+1)%4*8&255,v=c[h+2>>>2]>>>24-(h+2)%4*8&255,m=p<<16|g<<8|v,b=0;b<4&&h+b*.75>>6*(3-b)&63));var y=f.charAt(64);if(y)for(;d.length%4;)d.push(y);return d.join("")},parse:function(l){var c=l.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-h%4*2,v=p|g;f[d>>>2]|=v<<24-d%4*8,d++}return i.create(f,d)}}(),r.enc.Base64})}(bf)),bf.exports}var xf={exports:{}},Eb;function lK(){return Eb||(Eb=1,function(e,t){(function(r,n){e.exports=n(at())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.WordArray,a=n.enc;a.Base64url={stringify:function(l,c){c===void 0&&(c=!0);var u=l.words,f=l.sigBytes,d=c?this._safe_map:this._map;l.clamp();for(var h=[],p=0;p>>2]>>>24-p%4*8&255,v=u[p+1>>>2]>>>24-(p+1)%4*8&255,m=u[p+2>>>2]>>>24-(p+2)%4*8&255,b=g<<16|v<<8|m,y=0;y<4&&p+y*.75>>6*(3-y)&63));var x=d.charAt(64);if(x)for(;h.length%4;)h.push(x);return h.join("")},parse:function(l,c){c===void 0&&(c=!0);var u=l.length,f=c?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h>>6-h%4*2,v=p|g;f[d>>>2]|=v<<24-d%4*8,d++}return i.create(f,d)}}(),r.enc.Base64url})}(xf)),xf.exports}var yf={exports:{}},kb;function $i(){return kb||(kb=1,function(e,t){(function(r,n){e.exports=n(at())})(Ye,function(r){return function(n){var o=r,i=o.lib,a=i.WordArray,s=i.Hasher,l=o.algo,c=[];(function(){for(var g=0;g<64;g++)c[g]=n.abs(n.sin(g+1))*4294967296|0})();var u=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,v){for(var m=0;m<16;m++){var b=v+m,y=g[b];g[b]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var x=this._hash.words,S=g[v+0],C=g[v+1],w=g[v+2],k=g[v+3],A=g[v+4],T=g[v+5],I=g[v+6],D=g[v+7],B=g[v+8],j=g[v+9],F=g[v+10],z=g[v+11],V=g[v+12],oe=g[v+13],fe=g[v+14],ge=g[v+15],U=x[0],X=x[1],ae=x[2],Z=x[3];U=f(U,X,ae,Z,S,7,c[0]),Z=f(Z,U,X,ae,C,12,c[1]),ae=f(ae,Z,U,X,w,17,c[2]),X=f(X,ae,Z,U,k,22,c[3]),U=f(U,X,ae,Z,A,7,c[4]),Z=f(Z,U,X,ae,T,12,c[5]),ae=f(ae,Z,U,X,I,17,c[6]),X=f(X,ae,Z,U,D,22,c[7]),U=f(U,X,ae,Z,B,7,c[8]),Z=f(Z,U,X,ae,j,12,c[9]),ae=f(ae,Z,U,X,F,17,c[10]),X=f(X,ae,Z,U,z,22,c[11]),U=f(U,X,ae,Z,V,7,c[12]),Z=f(Z,U,X,ae,oe,12,c[13]),ae=f(ae,Z,U,X,fe,17,c[14]),X=f(X,ae,Z,U,ge,22,c[15]),U=d(U,X,ae,Z,C,5,c[16]),Z=d(Z,U,X,ae,I,9,c[17]),ae=d(ae,Z,U,X,z,14,c[18]),X=d(X,ae,Z,U,S,20,c[19]),U=d(U,X,ae,Z,T,5,c[20]),Z=d(Z,U,X,ae,F,9,c[21]),ae=d(ae,Z,U,X,ge,14,c[22]),X=d(X,ae,Z,U,A,20,c[23]),U=d(U,X,ae,Z,j,5,c[24]),Z=d(Z,U,X,ae,fe,9,c[25]),ae=d(ae,Z,U,X,k,14,c[26]),X=d(X,ae,Z,U,B,20,c[27]),U=d(U,X,ae,Z,oe,5,c[28]),Z=d(Z,U,X,ae,w,9,c[29]),ae=d(ae,Z,U,X,D,14,c[30]),X=d(X,ae,Z,U,V,20,c[31]),U=h(U,X,ae,Z,T,4,c[32]),Z=h(Z,U,X,ae,B,11,c[33]),ae=h(ae,Z,U,X,z,16,c[34]),X=h(X,ae,Z,U,fe,23,c[35]),U=h(U,X,ae,Z,C,4,c[36]),Z=h(Z,U,X,ae,A,11,c[37]),ae=h(ae,Z,U,X,D,16,c[38]),X=h(X,ae,Z,U,F,23,c[39]),U=h(U,X,ae,Z,oe,4,c[40]),Z=h(Z,U,X,ae,S,11,c[41]),ae=h(ae,Z,U,X,k,16,c[42]),X=h(X,ae,Z,U,I,23,c[43]),U=h(U,X,ae,Z,j,4,c[44]),Z=h(Z,U,X,ae,V,11,c[45]),ae=h(ae,Z,U,X,ge,16,c[46]),X=h(X,ae,Z,U,w,23,c[47]),U=p(U,X,ae,Z,S,6,c[48]),Z=p(Z,U,X,ae,D,10,c[49]),ae=p(ae,Z,U,X,fe,15,c[50]),X=p(X,ae,Z,U,T,21,c[51]),U=p(U,X,ae,Z,V,6,c[52]),Z=p(Z,U,X,ae,k,10,c[53]),ae=p(ae,Z,U,X,F,15,c[54]),X=p(X,ae,Z,U,C,21,c[55]),U=p(U,X,ae,Z,B,6,c[56]),Z=p(Z,U,X,ae,ge,10,c[57]),ae=p(ae,Z,U,X,I,15,c[58]),X=p(X,ae,Z,U,oe,21,c[59]),U=p(U,X,ae,Z,A,6,c[60]),Z=p(Z,U,X,ae,z,10,c[61]),ae=p(ae,Z,U,X,w,15,c[62]),X=p(X,ae,Z,U,j,21,c[63]),x[0]=x[0]+U|0,x[1]=x[1]+X|0,x[2]=x[2]+ae|0,x[3]=x[3]+Z|0},_doFinalize:function(){var g=this._data,v=g.words,m=this._nDataBytes*8,b=g.sigBytes*8;v[b>>>5]|=128<<24-b%32;var y=n.floor(m/4294967296),x=m;v[(b+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,v[(b+64>>>9<<4)+14]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,g.sigBytes=(v.length+1)*4,this._process();for(var S=this._hash,C=S.words,w=0;w<4;w++){var k=C[w];C[w]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}return S},clone:function(){var g=s.clone.call(this);return g._hash=this._hash.clone(),g}});function f(g,v,m,b,y,x,S){var C=g+(v&m|~v&b)+y+S;return(C<>>32-x)+v}function d(g,v,m,b,y,x,S){var C=g+(v&b|m&~b)+y+S;return(C<>>32-x)+v}function h(g,v,m,b,y,x,S){var C=g+(v^m^b)+y+S;return(C<>>32-x)+v}function p(g,v,m,b,y,x,S){var C=g+(m^(v|~b))+y+S;return(C<>>32-x)+v}o.MD5=s._createHelper(u),o.HmacMD5=s._createHmacHelper(u)}(Math),r.MD5})}(yf)),yf.exports}var Cf={exports:{}},Tb;function TE(){return Tb||(Tb=1,function(e,t){(function(r,n){e.exports=n(at())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.WordArray,a=o.Hasher,s=n.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,h=d[0],p=d[1],g=d[2],v=d[3],m=d[4],b=0;b<80;b++){if(b<16)l[b]=u[f+b]|0;else{var y=l[b-3]^l[b-8]^l[b-14]^l[b-16];l[b]=y<<1|y>>>31}var x=(h<<5|h>>>27)+m+l[b];b<20?x+=(p&g|~p&v)+1518500249:b<40?x+=(p^g^v)+1859775393:b<60?x+=(p&g|p&v|g&v)-1894007588:x+=(p^g^v)-899497514,m=v,v=g,g=p<<30|p>>>2,p=h,h=x}d[0]=d[0]+h|0,d[1]=d[1]+p|0,d[2]=d[2]+g|0,d[3]=d[3]+v|0,d[4]=d[4]+m|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,h=u.sigBytes*8;return f[h>>>5]|=128<<24-h%32,f[(h+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(h+64>>>9<<4)+15]=d,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=a.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c)}(),r.SHA1})}(Cf)),Cf.exports}var wf={exports:{}},Ab;function rg(){return Ab||(Ab=1,function(e,t){(function(r,n){e.exports=n(at())})(Ye,function(r){return function(n){var o=r,i=o.lib,a=i.WordArray,s=i.Hasher,l=o.algo,c=[],u=[];(function(){function h(m){for(var b=n.sqrt(m),y=2;y<=b;y++)if(!(m%y))return!1;return!0}function p(m){return(m-(m|0))*4294967296|0}for(var g=2,v=0;v<64;)h(g)&&(v<8&&(c[v]=p(n.pow(g,1/2))),u[v]=p(n.pow(g,1/3)),v++),g++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(c.slice(0))},_doProcessBlock:function(h,p){for(var g=this._hash.words,v=g[0],m=g[1],b=g[2],y=g[3],x=g[4],S=g[5],C=g[6],w=g[7],k=0;k<64;k++){if(k<16)f[k]=h[p+k]|0;else{var A=f[k-15],T=(A<<25|A>>>7)^(A<<14|A>>>18)^A>>>3,I=f[k-2],D=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;f[k]=T+f[k-7]+D+f[k-16]}var B=x&S^~x&C,j=v&m^v&b^m&b,F=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),z=(x<<26|x>>>6)^(x<<21|x>>>11)^(x<<7|x>>>25),V=w+z+B+u[k]+f[k],oe=F+j;w=C,C=S,S=x,x=y+V|0,y=b,b=m,m=v,v=V+oe|0}g[0]=g[0]+v|0,g[1]=g[1]+m|0,g[2]=g[2]+b|0,g[3]=g[3]+y|0,g[4]=g[4]+x|0,g[5]=g[5]+S|0,g[6]=g[6]+C|0,g[7]=g[7]+w|0},_doFinalize:function(){var h=this._data,p=h.words,g=this._nDataBytes*8,v=h.sigBytes*8;return p[v>>>5]|=128<<24-v%32,p[(v+64>>>9<<4)+14]=n.floor(g/4294967296),p[(v+64>>>9<<4)+15]=g,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});o.SHA256=s._createHelper(d),o.HmacSHA256=s._createHmacHelper(d)}(Math),r.SHA256})}(wf)),wf.exports}var Sf={exports:{}},Pb;function cK(){return Pb||(Pb=1,function(e,t){(function(r,n,o){e.exports=n(at(),rg())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.WordArray,a=n.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=s._createHelper(l),n.HmacSHA224=s._createHmacHelper(l)}(),r.SHA224})}(Sf)),Sf.exports}var _f={exports:{}},$b;function AE(){return $b||($b=1,function(e,t){(function(r,n,o){e.exports=n(at(),ld())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.Hasher,a=n.x64,s=a.Word,l=a.WordArray,c=n.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=u()})();var h=c.SHA512=i.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,g){for(var v=this._hash.words,m=v[0],b=v[1],y=v[2],x=v[3],S=v[4],C=v[5],w=v[6],k=v[7],A=m.high,T=m.low,I=b.high,D=b.low,B=y.high,j=y.low,F=x.high,z=x.low,V=S.high,oe=S.low,fe=C.high,ge=C.low,U=w.high,X=w.low,ae=k.high,Z=k.low,Be=A,ye=T,q=I,te=D,ie=B,ve=j,Le=F,$e=z,_=V,E=oe,P=fe,O=ge,L=U,G=X,K=ae,H=Z,ee=0;ee<80;ee++){var Q,Ce,Te=d[ee];if(ee<16)Ce=Te.high=p[g+ee*2]|0,Q=Te.low=p[g+ee*2+1]|0;else{var Se=d[ee-15],W=Se.high,J=Se.low,Oe=(W>>>1|J<<31)^(W>>>8|J<<24)^W>>>7,He=(J>>>1|W<<31)^(J>>>8|W<<24)^(J>>>7|W<<25),st=d[ee-2],yt=st.high,Gt=st.low,Nn=(yt>>>19|Gt<<13)^(yt<<3|Gt>>>29)^yt>>>6,hr=(Gt>>>19|yt<<13)^(Gt<<3|yt>>>29)^(Gt>>>6|yt<<26),Oi=d[ee-7],de=Oi.high,Ee=Oi.low,Ue=d[ee-16],Ct=Ue.high,jt=Ue.low;Q=He+Ee,Ce=Oe+de+(Q>>>0>>0?1:0),Q=Q+hr,Ce=Ce+Nn+(Q>>>0
    >>0?1:0),Q=Q+jt,Ce=Ce+Ct+(Q>>>0>>0?1:0),Te.high=Ce,Te.low=Q}var pr=_&P^~_&L,Ur=E&O^~E&G,Ft=Be&q^Be&ie^q&ie,ln=ye&te^ye&ve^te&ve,Wo=(Be>>>28|ye<<4)^(Be<<30|ye>>>2)^(Be<<25|ye>>>7),Gg=(ye>>>28|Be<<4)^(ye<<30|Be>>>2)^(ye<<25|Be>>>7),h8=(_>>>14|E<<18)^(_>>>18|E<<14)^(_<<23|E>>>9),p8=(E>>>14|_<<18)^(E>>>18|_<<14)^(E<<23|_>>>9),qg=f[ee],g8=qg.high,Yg=qg.low,Fr=H+p8,io=K+h8+(Fr>>>0>>0?1:0),Fr=Fr+Ur,io=io+pr+(Fr>>>0>>0?1:0),Fr=Fr+Yg,io=io+g8+(Fr>>>0>>0?1:0),Fr=Fr+Q,io=io+Ce+(Fr>>>0>>0?1:0),Kg=Gg+ln,m8=Wo+Ft+(Kg>>>0>>0?1:0);K=L,H=G,L=P,G=O,P=_,O=E,E=$e+Fr|0,_=Le+io+(E>>>0<$e>>>0?1:0)|0,Le=ie,$e=ve,ie=q,ve=te,q=Be,te=ye,ye=Fr+Kg|0,Be=io+m8+(ye>>>0>>0?1:0)|0}T=m.low=T+ye,m.high=A+Be+(T>>>0>>0?1:0),D=b.low=D+te,b.high=I+q+(D>>>0>>0?1:0),j=y.low=j+ve,y.high=B+ie+(j>>>0>>0?1:0),z=x.low=z+$e,x.high=F+Le+(z>>>0<$e>>>0?1:0),oe=S.low=oe+E,S.high=V+_+(oe>>>0>>0?1:0),ge=C.low=ge+O,C.high=fe+P+(ge>>>0>>0?1:0),X=w.low=X+G,w.high=U+L+(X>>>0>>0?1:0),Z=k.low=Z+H,k.high=ae+K+(Z>>>0>>0?1:0)},_doFinalize:function(){var p=this._data,g=p.words,v=this._nDataBytes*8,m=p.sigBytes*8;g[m>>>5]|=128<<24-m%32,g[(m+128>>>10<<5)+30]=Math.floor(v/4294967296),g[(m+128>>>10<<5)+31]=v,p.sigBytes=g.length*4,this._process();var b=this._hash.toX32();return b},clone:function(){var p=i.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});n.SHA512=i._createHelper(h),n.HmacSHA512=i._createHmacHelper(h)}(),r.SHA512})}(_f)),_f.exports}var Ef={exports:{}},Ib;function uK(){return Ib||(Ib=1,function(e,t){(function(r,n,o){e.exports=n(at(),ld(),AE())})(Ye,function(r){return function(){var n=r,o=n.x64,i=o.Word,a=o.WordArray,s=n.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=l._createHelper(c),n.HmacSHA384=l._createHmacHelper(c)}(),r.SHA384})}(Ef)),Ef.exports}var kf={exports:{}},Db;function dK(){return Db||(Db=1,function(e,t){(function(r,n,o){e.exports=n(at(),ld())})(Ye,function(r){return function(n){var o=r,i=o.lib,a=i.WordArray,s=i.Hasher,l=o.x64,c=l.Word,u=o.algo,f=[],d=[],h=[];(function(){for(var v=1,m=0,b=0;b<24;b++){f[v+5*m]=(b+1)*(b+2)/2%64;var y=m%5,x=(2*v+3*m)%5;v=y,m=x}for(var v=0;v<5;v++)for(var m=0;m<5;m++)d[v+5*m]=m+(2*v+3*m)%5*5;for(var S=1,C=0;C<24;C++){for(var w=0,k=0,A=0;A<7;A++){if(S&1){var T=(1<>>24)&16711935|(S<<24|S>>>8)&4278255360,C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360;var w=b[x];w.high^=C,w.low^=S}for(var k=0;k<24;k++){for(var A=0;A<5;A++){for(var T=0,I=0,D=0;D<5;D++){var w=b[A+5*D];T^=w.high,I^=w.low}var B=p[A];B.high=T,B.low=I}for(var A=0;A<5;A++)for(var j=p[(A+4)%5],F=p[(A+1)%5],z=F.high,V=F.low,T=j.high^(z<<1|V>>>31),I=j.low^(V<<1|z>>>31),D=0;D<5;D++){var w=b[A+5*D];w.high^=T,w.low^=I}for(var oe=1;oe<25;oe++){var T,I,w=b[oe],fe=w.high,ge=w.low,U=f[oe];U<32?(T=fe<>>32-U,I=ge<>>32-U):(T=ge<>>64-U,I=fe<>>64-U);var X=p[d[oe]];X.high=T,X.low=I}var ae=p[0],Z=b[0];ae.high=Z.high,ae.low=Z.low;for(var A=0;A<5;A++)for(var D=0;D<5;D++){var oe=A+5*D,w=b[oe],Be=p[oe],ye=p[(A+1)%5+5*D],q=p[(A+2)%5+5*D];w.high=Be.high^~ye.high&q.high,w.low=Be.low^~ye.low&q.low}var w=b[0],te=h[k];w.high^=te.high,w.low^=te.low}},_doFinalize:function(){var v=this._data,m=v.words;this._nDataBytes*8;var b=v.sigBytes*8,y=this.blockSize*32;m[b>>>5]|=1<<24-b%32,m[(n.ceil((b+1)/y)*y>>>5)-1]|=128,v.sigBytes=m.length*4,this._process();for(var x=this._state,S=this.cfg.outputLength/8,C=S/8,w=[],k=0;k>>24)&16711935|(T<<24|T>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,w.push(I),w.push(T)}return new a.init(w,S)},clone:function(){for(var v=s.clone.call(this),m=v._state=this._state.slice(0),b=0;b<25;b++)m[b]=m[b].clone();return v}});o.SHA3=s._createHelper(g),o.HmacSHA3=s._createHmacHelper(g)}(Math),r.SHA3})}(kf)),kf.exports}var Tf={exports:{}},Bb;function fK(){return Bb||(Bb=1,function(e,t){(function(r,n){e.exports=n(at())})(Ye,function(r){/** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(n){var o=r,i=o.lib,a=i.WordArray,s=i.Hasher,l=o.algo,c=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),g=l.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(C,w){for(var k=0;k<16;k++){var A=w+k,T=C[A];C[A]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}var I=this._hash.words,D=h.words,B=p.words,j=c.words,F=u.words,z=f.words,V=d.words,oe,fe,ge,U,X,ae,Z,Be,ye,q;ae=oe=I[0],Z=fe=I[1],Be=ge=I[2],ye=U=I[3],q=X=I[4];for(var te,k=0;k<80;k+=1)te=oe+C[w+j[k]]|0,k<16?te+=v(fe,ge,U)+D[0]:k<32?te+=m(fe,ge,U)+D[1]:k<48?te+=b(fe,ge,U)+D[2]:k<64?te+=y(fe,ge,U)+D[3]:te+=x(fe,ge,U)+D[4],te=te|0,te=S(te,z[k]),te=te+X|0,oe=X,X=U,U=S(ge,10),ge=fe,fe=te,te=ae+C[w+F[k]]|0,k<16?te+=x(Z,Be,ye)+B[0]:k<32?te+=y(Z,Be,ye)+B[1]:k<48?te+=b(Z,Be,ye)+B[2]:k<64?te+=m(Z,Be,ye)+B[3]:te+=v(Z,Be,ye)+B[4],te=te|0,te=S(te,V[k]),te=te+q|0,ae=q,q=ye,ye=S(Be,10),Be=Z,Z=te;te=I[1]+ge+ye|0,I[1]=I[2]+U+q|0,I[2]=I[3]+X+ae|0,I[3]=I[4]+oe+Z|0,I[4]=I[0]+fe+Be|0,I[0]=te},_doFinalize:function(){var C=this._data,w=C.words,k=this._nDataBytes*8,A=C.sigBytes*8;w[A>>>5]|=128<<24-A%32,w[(A+64>>>9<<4)+14]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,C.sigBytes=(w.length+1)*4,this._process();for(var T=this._hash,I=T.words,D=0;D<5;D++){var B=I[D];I[D]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}return T},clone:function(){var C=s.clone.call(this);return C._hash=this._hash.clone(),C}});function v(C,w,k){return C^w^k}function m(C,w,k){return C&w|~C&k}function b(C,w,k){return(C|~w)^k}function y(C,w,k){return C&k|w&~k}function x(C,w,k){return C^(w|~k)}function S(C,w){return C<>>32-w}o.RIPEMD160=s._createHelper(g),o.HmacRIPEMD160=s._createHmacHelper(g)}(),r.RIPEMD160})}(Tf)),Tf.exports}var Af={exports:{}},Ob;function ng(){return Ob||(Ob=1,function(e,t){(function(r,n){e.exports=n(at())})(Ye,function(r){(function(){var n=r,o=n.lib,i=o.Base,a=n.enc,s=a.Utf8,l=n.algo;l.HMAC=i.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=s.parse(u));var f=c.blockSize,d=f*4;u.sigBytes>d&&(u=c.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),p=this._iKey=u.clone(),g=h.words,v=p.words,m=0;m>>2]&255;T.sigBytes-=I}};i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:v,padding:b}),reset:function(){var T;h.reset.call(this);var I=this.cfg,D=I.iv,B=I.mode;this._xformMode==this._ENC_XFORM_MODE?T=B.createEncryptor:(T=B.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,D&&D.words):(this._mode=T.call(B,this,D&&D.words),this._mode.__creator=T)},_doProcessBlock:function(T,I){this._mode.processBlock(T,I)},_doFinalize:function(){var T,I=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(I.pad(this._data,this.blockSize),T=this._process(!0)):(T=this._process(!0),I.unpad(T)),T},blockSize:128/32});var y=i.CipherParams=a.extend({init:function(T){this.mixIn(T)},toString:function(T){return(T||this.formatter).stringify(this)}}),x=o.format={},S=x.OpenSSL={stringify:function(T){var I,D=T.ciphertext,B=T.salt;return B?I=s.create([1398893684,1701076831]).concat(B).concat(D):I=D,I.toString(u)},parse:function(T){var I,D=u.parse(T),B=D.words;return B[0]==1398893684&&B[1]==1701076831&&(I=s.create(B.slice(2,4)),B.splice(0,4),D.sigBytes-=16),y.create({ciphertext:D,salt:I})}},C=i.SerializableCipher=a.extend({cfg:a.extend({format:S}),encrypt:function(T,I,D,B){B=this.cfg.extend(B);var j=T.createEncryptor(D,B),F=j.finalize(I),z=j.cfg;return y.create({ciphertext:F,key:D,iv:z.iv,algorithm:T,mode:z.mode,padding:z.padding,blockSize:T.blockSize,formatter:B.format})},decrypt:function(T,I,D,B){B=this.cfg.extend(B),I=this._parse(I,B.format);var j=T.createDecryptor(D,B).finalize(I.ciphertext);return j},_parse:function(T,I){return typeof T=="string"?I.parse(T,this):T}}),w=o.kdf={},k=w.OpenSSL={execute:function(T,I,D,B,j){if(B||(B=s.random(64/8)),j)var F=d.create({keySize:I+D,hasher:j}).compute(T,B);else var F=d.create({keySize:I+D}).compute(T,B);var z=s.create(F.words.slice(I),D*4);return F.sigBytes=I*4,y.create({key:F,iv:z,salt:B})}},A=i.PasswordBasedCipher=C.extend({cfg:C.cfg.extend({kdf:k}),encrypt:function(T,I,D,B){B=this.cfg.extend(B);var j=B.kdf.execute(D,T.keySize,T.ivSize,B.salt,B.hasher);B.iv=j.iv;var F=C.encrypt.call(this,T,I,j.key,B);return F.mixIn(j),F},decrypt:function(T,I,D,B){B=this.cfg.extend(B),I=this._parse(I,B.format);var j=B.kdf.execute(D,T.keySize,T.ivSize,I.salt,B.hasher);B.iv=j.iv;var F=C.decrypt.call(this,T,I,j.key,B);return F}})}()})}(If)),If.exports}var Df={exports:{}},Mb;function pK(){return Mb||(Mb=1,function(e,t){(function(r,n,o){e.exports=n(at(),ur())})(Ye,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(i,a){var s=this._cipher,l=s.blockSize;o.call(this,i,a,l,s),this._prevBlock=i.slice(a,a+l)}}),n.Decryptor=n.extend({processBlock:function(i,a){var s=this._cipher,l=s.blockSize,c=i.slice(a,a+l);o.call(this,i,a,l,s),this._prevBlock=c}});function o(i,a,s,l){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,l.encryptBlock(c,0);for(var f=0;f>24&255)===255){var l=s>>16&255,c=s>>8&255,u=s&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,s=0,s+=l<<16,s+=c<<8,s+=u}else s+=1<<24;return s}function i(s){return(s[0]=o(s[0]))===0&&(s[1]=o(s[1])),s}var a=n.Encryptor=n.extend({processBlock:function(s,l){var c=this._cipher,u=c.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),i(d);var h=d.slice(0);c.encryptBlock(h,0);for(var p=0;p>>2]|=s<<24-l%4*8,n.sigBytes+=s},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Ansix923})}(Ff)),Ff.exports}var Mf={exports:{}},Ub;function yK(){return Ub||(Ub=1,function(e,t){(function(r,n,o){e.exports=n(at(),ur())})(Ye,function(r){return r.pad.Iso10126={pad:function(n,o){var i=o*4,a=i-n.sigBytes%i;n.concat(r.lib.WordArray.random(a-1)).concat(r.lib.WordArray.create([a<<24],1))},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Iso10126})}(Mf)),Mf.exports}var zf={exports:{}},Vb;function CK(){return Vb||(Vb=1,function(e,t){(function(r,n,o){e.exports=n(at(),ur())})(Ye,function(r){return r.pad.Iso97971={pad:function(n,o){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,o)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(zf)),zf.exports}var Nf={exports:{}},Gb;function wK(){return Gb||(Gb=1,function(e,t){(function(r,n,o){e.exports=n(at(),ur())})(Ye,function(r){return r.pad.ZeroPadding={pad:function(n,o){var i=o*4;n.clamp(),n.sigBytes+=i-(n.sigBytes%i||i)},unpad:function(n){for(var o=n.words,i=n.sigBytes-1,i=n.sigBytes-1;i>=0;i--)if(o[i>>>2]>>>24-i%4*8&255){n.sigBytes=i+1;break}}},r.pad.ZeroPadding})}(Nf)),Nf.exports}var Hf={exports:{}},qb;function SK(){return qb||(qb=1,function(e,t){(function(r,n,o){e.exports=n(at(),ur())})(Ye,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(Hf)),Hf.exports}var jf={exports:{}},Yb;function _K(){return Yb||(Yb=1,function(e,t){(function(r,n,o){e.exports=n(at(),ur())})(Ye,function(r){return function(n){var o=r,i=o.lib,a=i.CipherParams,s=o.enc,l=s.Hex,c=o.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var f=l.parse(u);return a.create({ciphertext:f})}}}(),r.format.Hex})}(jf)),jf.exports}var Wf={exports:{}},Kb;function EK(){return Kb||(Kb=1,function(e,t){(function(r,n,o){e.exports=n(at(),Pi(),$i(),Mo(),ur())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.BlockCipher,a=n.algo,s=[],l=[],c=[],u=[],f=[],d=[],h=[],p=[],g=[],v=[];(function(){for(var y=[],x=0;x<256;x++)x<128?y[x]=x<<1:y[x]=x<<1^283;for(var S=0,C=0,x=0;x<256;x++){var w=C^C<<1^C<<2^C<<3^C<<4;w=w>>>8^w&255^99,s[S]=w,l[w]=S;var k=y[S],A=y[k],T=y[A],I=y[w]*257^w*16843008;c[S]=I<<24|I>>>8,u[S]=I<<16|I>>>16,f[S]=I<<8|I>>>24,d[S]=I;var I=T*16843009^A*65537^k*257^S*16843008;h[w]=I<<24|I>>>8,p[w]=I<<16|I>>>16,g[w]=I<<8|I>>>24,v[w]=I,S?(S=k^y[y[y[T^k]]],C^=y[y[C]]):S=C=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],b=a.AES=i.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var x=this._keyPriorReset=this._key,S=x.words,C=x.sigBytes/4,w=this._nRounds=C+6,k=(w+1)*4,A=this._keySchedule=[],T=0;T6&&T%C==4&&(y=s[y>>>24]<<24|s[y>>>16&255]<<16|s[y>>>8&255]<<8|s[y&255]):(y=y<<8|y>>>24,y=s[y>>>24]<<24|s[y>>>16&255]<<16|s[y>>>8&255]<<8|s[y&255],y^=m[T/C|0]<<24),A[T]=A[T-C]^y);for(var I=this._invKeySchedule=[],D=0;D>>24]]^p[s[y>>>16&255]]^g[s[y>>>8&255]]^v[s[y&255]]}}},encryptBlock:function(y,x){this._doCryptBlock(y,x,this._keySchedule,c,u,f,d,s)},decryptBlock:function(y,x){var S=y[x+1];y[x+1]=y[x+3],y[x+3]=S,this._doCryptBlock(y,x,this._invKeySchedule,h,p,g,v,l);var S=y[x+1];y[x+1]=y[x+3],y[x+3]=S},_doCryptBlock:function(y,x,S,C,w,k,A,T){for(var I=this._nRounds,D=y[x]^S[0],B=y[x+1]^S[1],j=y[x+2]^S[2],F=y[x+3]^S[3],z=4,V=1;V>>24]^w[B>>>16&255]^k[j>>>8&255]^A[F&255]^S[z++],fe=C[B>>>24]^w[j>>>16&255]^k[F>>>8&255]^A[D&255]^S[z++],ge=C[j>>>24]^w[F>>>16&255]^k[D>>>8&255]^A[B&255]^S[z++],U=C[F>>>24]^w[D>>>16&255]^k[B>>>8&255]^A[j&255]^S[z++];D=oe,B=fe,j=ge,F=U}var oe=(T[D>>>24]<<24|T[B>>>16&255]<<16|T[j>>>8&255]<<8|T[F&255])^S[z++],fe=(T[B>>>24]<<24|T[j>>>16&255]<<16|T[F>>>8&255]<<8|T[D&255])^S[z++],ge=(T[j>>>24]<<24|T[F>>>16&255]<<16|T[D>>>8&255]<<8|T[B&255])^S[z++],U=(T[F>>>24]<<24|T[D>>>16&255]<<16|T[B>>>8&255]<<8|T[j&255])^S[z++];y[x]=oe,y[x+1]=fe,y[x+2]=ge,y[x+3]=U},keySize:256/32});n.AES=i._createHelper(b)}(),r.AES})}(Wf)),Wf.exports}var Uf={exports:{}},Xb;function kK(){return Xb||(Xb=1,function(e,t){(function(r,n,o){e.exports=n(at(),Pi(),$i(),Mo(),ur())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.WordArray,a=o.BlockCipher,s=n.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=s.DES=a.extend({_doReset:function(){for(var m=this._key,b=m.words,y=[],x=0;x<56;x++){var S=l[x]-1;y[x]=b[S>>>5]>>>31-S%32&1}for(var C=this._subKeys=[],w=0;w<16;w++){for(var k=C[w]=[],A=u[w],x=0;x<24;x++)k[x/6|0]|=y[(c[x]-1+A)%28]<<31-x%6,k[4+(x/6|0)]|=y[28+(c[x+24]-1+A)%28]<<31-x%6;k[0]=k[0]<<1|k[0]>>>31;for(var x=1;x<7;x++)k[x]=k[x]>>>(x-1)*4+3;k[7]=k[7]<<5|k[7]>>>27}for(var T=this._invSubKeys=[],x=0;x<16;x++)T[x]=C[15-x]},encryptBlock:function(m,b){this._doCryptBlock(m,b,this._subKeys)},decryptBlock:function(m,b){this._doCryptBlock(m,b,this._invSubKeys)},_doCryptBlock:function(m,b,y){this._lBlock=m[b],this._rBlock=m[b+1],p.call(this,4,252645135),p.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),p.call(this,1,1431655765);for(var x=0;x<16;x++){for(var S=y[x],C=this._lBlock,w=this._rBlock,k=0,A=0;A<8;A++)k|=f[A][((w^S[A])&d[A])>>>0];this._lBlock=w,this._rBlock=C^k}var T=this._lBlock;this._lBlock=this._rBlock,this._rBlock=T,p.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),m[b]=this._lBlock,m[b+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(m,b){var y=(this._lBlock>>>m^this._rBlock)&b;this._rBlock^=y,this._lBlock^=y<>>m^this._lBlock)&b;this._lBlock^=y,this._rBlock^=y<192.");var y=b.slice(0,2),x=b.length<4?b.slice(0,2):b.slice(2,4),S=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=h.createEncryptor(i.create(y)),this._des2=h.createEncryptor(i.create(x)),this._des3=h.createEncryptor(i.create(S))},encryptBlock:function(m,b){this._des1.encryptBlock(m,b),this._des2.decryptBlock(m,b),this._des3.encryptBlock(m,b)},decryptBlock:function(m,b){this._des3.decryptBlock(m,b),this._des2.encryptBlock(m,b),this._des1.decryptBlock(m,b)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=a._createHelper(v)}(),r.TripleDES})}(Uf)),Uf.exports}var Vf={exports:{}},Qb;function TK(){return Qb||(Qb=1,function(e,t){(function(r,n,o){e.exports=n(at(),Pi(),$i(),Mo(),ur())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.StreamCipher,a=n.algo,s=a.RC4=i.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,g=0;p<256;p++){var v=p%d,m=f[v>>>2]>>>24-v%4*8&255;g=(g+h[p]+m)%256;var b=h[p];h[p]=h[g],h[g]=b}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,f=this._i,d=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,d=(d+u[f])%256;var g=u[f];u[f]=u[d],u[d]=g,h|=u[(u[f]+u[d])%256]<<24-p*8}return this._i=f,this._j=d,h}n.RC4=i._createHelper(s);var c=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});n.RC4Drop=i._createHelper(c)}(),r.RC4})}(Vf)),Vf.exports}var Gf={exports:{}},Zb;function AK(){return Zb||(Zb=1,function(e,t){(function(r,n,o){e.exports=n(at(),Pi(),$i(),Mo(),ur())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.StreamCipher,a=n.algo,s=[],l=[],c=[],u=a.Rabbit=i.extend({_doReset:function(){for(var d=this._key.words,h=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var g=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)v[p]^=g[p+4&7];if(h){var m=h.words,b=m[0],y=m[1],x=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,S=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,C=x>>>16|S&4294901760,w=S<<16|x&65535;v[0]^=x,v[1]^=C,v[2]^=S,v[3]^=w,v[4]^=x,v[5]^=C,v[6]^=S,v[7]^=w;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var g=0;g<4;g++)s[g]=(s[g]<<8|s[g]>>>24)&16711935|(s[g]<<24|s[g]>>>8)&4278255360,d[h+g]^=s[g]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var g=d[p]+h[p],v=g&65535,m=g>>>16,b=((v*v>>>17)+v*m>>>15)+m*m,y=((g&4294901760)*g|0)+((g&65535)*g|0);c[p]=b^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.Rabbit=i._createHelper(u)}(),r.Rabbit})}(Gf)),Gf.exports}var qf={exports:{}},Jb;function PK(){return Jb||(Jb=1,function(e,t){(function(r,n,o){e.exports=n(at(),Pi(),$i(),Mo(),ur())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.StreamCipher,a=n.algo,s=[],l=[],c=[],u=a.RabbitLegacy=i.extend({_doReset:function(){var d=this._key.words,h=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],g=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)g[v]^=p[v+4&7];if(h){var m=h.words,b=m[0],y=m[1],x=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,S=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,C=x>>>16|S&4294901760,w=S<<16|x&65535;g[0]^=x,g[1]^=C,g[2]^=S,g[3]^=w,g[4]^=x,g[5]^=C,g[6]^=S,g[7]^=w;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var g=0;g<4;g++)s[g]=(s[g]<<8|s[g]>>>24)&16711935|(s[g]<<24|s[g]>>>8)&4278255360,d[h+g]^=s[g]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var g=d[p]+h[p],v=g&65535,m=g>>>16,b=((v*v>>>17)+v*m>>>15)+m*m,y=((g&4294901760)*g|0)+((g&65535)*g|0);c[p]=b^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.RabbitLegacy=i._createHelper(u)}(),r.RabbitLegacy})}(qf)),qf.exports}var Yf={exports:{}},ex;function $K(){return ex||(ex=1,function(e,t){(function(r,n,o){e.exports=n(at(),Pi(),$i(),Mo(),ur())})(Ye,function(r){return function(){var n=r,o=n.lib,i=o.BlockCipher,a=n.algo;const s=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(v,m){let b=m>>24&255,y=m>>16&255,x=m>>8&255,S=m&255,C=v.sbox[0][b]+v.sbox[1][y];return C=C^v.sbox[2][x],C=C+v.sbox[3][S],C}function d(v,m,b){let y=m,x=b,S;for(let C=0;C1;--C)y=y^v.pbox[C],x=f(v,y)^x,S=y,y=x,x=S;return S=y,y=x,x=S,x=x^v.pbox[1],y=y^v.pbox[0],{left:y,right:x}}function p(v,m,b){for(let w=0;w<4;w++){v.sbox[w]=[];for(let k=0;k<256;k++)v.sbox[w][k]=c[w][k]}let y=0;for(let w=0;w=b&&(y=0);let x=0,S=0,C=0;for(let w=0;w=Date.now())return f}return a(l),null}}function a(l){window.localStorage.removeItem(l)}function s(){window.localStorage.clear()}return{set:o,get:i,remove:a,clear:s}}$E();const Nt=$E({expire:null,crypto:!1}),tx=pe({__name:"Button",emits:["click"],setup(e,{emit:t}){const r=t;function n(){r("click")}return(o,i)=>(he(),Fe("button",{class:"flex items-center justify-center w-10 h-8 transition rounded-md hover:bg-neutral-100 dark:hover:bg-[#414755]",onClick:n},[pa(o.$slots,"default")]))}}),OK={key:0},LK={key:1},RK=pe({__name:"index",props:{tooltip:{default:""},placement:{default:"bottom"}},emits:["click"],setup(e,{emit:t}){const r=e,n=t,o=R(()=>!!r.tooltip);function i(){n("click")}return(a,s)=>o.value?(he(),Fe("div",OK,[me(N(Qi),{placement:a.placement,trigger:"hover"},{trigger:De(()=>[me(tx,{onClick:i},{default:De(()=>[pa(a.$slots,"default")]),_:3})]),default:De(()=>[pt(" "+Re(a.tooltip),1)]),_:3},8,["placement"])])):(he(),Fe("div",LK,[me(tx,{onClick:i},{default:De(()=>[pa(a.$slots,"default")]),_:3})]))}}),FK=pe({__name:"index",setup(e){function t(){window.$loadingBar=fj(),window.$dialog=YS(),window.$message=xn(),window.$notification=Pj()}const r=pe({name:"NaiveProviderContent",setup(){t()},render(){return $("div")}});return(n,o)=>(he(),rt(N(dj),null,{default:De(()=>[me(N(c7),null,{default:De(()=>[me(N(Aj),null,{default:De(()=>[me(N(xj),null,{default:De(()=>[pa(n.$slots,"default"),me(N(r))]),_:3})]),_:3})]),_:3})]),_:3}))}}),Ss=/^[a-z0-9]+(-[a-z0-9]+)*$/,cd=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const s=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:n,prefix:l,name:s};return t&&!$c(c)?null:c}const i=o[0],a=i.split("-");if(a.length>1){const s={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!$c(s)?null:s}if(r&&n===""){const s={provider:n,prefix:"",name:i};return t&&!$c(s,r)?null:s}return null},$c=(e,t)=>e?!!((e.provider===""||e.provider.match(Ss))&&(t&&e.prefix===""||e.prefix.match(Ss))&&e.name.match(Ss)):!1,IE=Object.freeze({left:0,top:0,width:16,height:16}),uu=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ud=Object.freeze({...IE,...uu}),th=Object.freeze({...ud,body:"",hidden:!1});function MK(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function rx(e,t){const r=MK(e,t);for(const n in th)n in uu?n in e&&!(n in r)&&(r[n]=uu[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function zK(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(a){if(r[a])return o[a]=[];if(!(a in o)){o[a]=null;const s=n[a]&&n[a].parent,l=s&&i(s);l&&(o[a]=[s].concat(l))}return o[a]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),o}function NK(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function a(s){i=rx(n[s]||o[s],i)}return a(t),r.forEach(a),rx(e,i)}function DE(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=zK(e);for(const o in n){const i=n[o];i&&(t(o,NK(e,o,i)),r.push(o))}return r}const HK={provider:"",aliases:{},not_found:{},...IE};function Kf(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function BE(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Kf(e,HK))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o.match(Ss)||typeof i.body!="string"||!Kf(i,th))return null}const n=t.aliases||Object.create(null);for(const o in n){const i=n[o],a=i.parent;if(!o.match(Ss)||typeof a!="string"||!r[a]&&!n[a]||!Kf(i,th))return null}return t}const nx=Object.create(null);function jK(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function bi(e,t){const r=nx[e]||(nx[e]=Object.create(null));return r[t]||(r[t]=jK(e,t))}function og(e,t){return BE(t)?DE(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function WK(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let tl=!1;function OE(e){return typeof e=="boolean"&&(tl=e),tl}function UK(e){const t=typeof e=="string"?cd(e,!0,tl):e;if(t){const r=bi(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function VK(e,t){const r=cd(e,!0,tl);if(!r)return!1;const n=bi(r.provider,r.prefix);return WK(n,r.name,t)}function GK(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),tl&&!t&&!e.prefix){let o=!1;return BE(e)&&(e.prefix="",DE(e,(i,a)=>{a&&VK(i,a)&&(o=!0)})),o}const r=e.prefix;if(!$c({provider:t,prefix:r,name:"a"}))return!1;const n=bi(t,r);return!!og(n,e)}const LE=Object.freeze({width:null,height:null}),RE=Object.freeze({...LE,...uu}),qK=/(-?[0-9.]*[0-9]+[0-9.]*)/g,YK=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ox(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(qK);if(n===null||!n.length)return e;const o=[];let i=n.shift(),a=YK.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?o.push(i):o.push(Math.ceil(s*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");a=!a}}const KK=e=>e==="unset"||e==="undefined"||e==="none";function XK(e,t){const r={...ud,...e},n={...RE,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(p=>{const g=[],v=p.hFlip,m=p.vFlip;let b=p.rotate;v?m?b+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):m&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let y;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:y=o.height/2+o.top,g.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,g.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}b%2===1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),g.length&&(i=''+i+"")});const a=n.width,s=n.height,l=o.width,c=o.height;let u,f;a===null?(f=s===null?"1em":s==="auto"?c:s,u=ox(f,l/c)):(u=a==="auto"?l:a,f=s===null?ox(u,c/l):s==="auto"?c:s);const d={},h=(p,g)=>{KK(g)||(d[p]=g.toString())};return h("width",u),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:d,body:i}}const QK=/\sid="(\S+)"/g,ZK="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let JK=0;function eX(e,t=ZK){const r=[];let n;for(;n=QK.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const a=typeof t=="function"?t(i):t+(JK++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const rh=Object.create(null);function tX(e,t){rh[e]=t}function nh(e){return rh[e]||rh[""]}function ig(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ag=Object.create(null),ns=["https://api.simplesvg.com","https://api.unisvg.com"],Ic=[];for(;ns.length>0;)ns.length===1||Math.random()>.5?Ic.push(ns.shift()):Ic.push(ns.pop());ag[""]=ig({resources:["https://api.iconify.design"].concat(Ic)});function rX(e,t){const r=ig(t);return r===null?!1:(ag[e]=r,!0)}function sg(e){return ag[e]}const nX=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ix=nX();function oX(e,t){const r=sg(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(a=>{o=Math.max(o,a.length)});const i=t+".json?icons=";n=r.maxURL-o-r.path.length-i.length}return n}function iX(e){return e===404}const aX=(e,t,r)=>{const n=[],o=oX(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return r.forEach((l,c)=>{s+=l.length+1,s>=o&&c>0&&(n.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=l.length),a.icons.push(l)}),n.push(a),n};function sX(e){if(typeof e=="string"){const t=sg(e);if(t)return t.path}return"/"}const lX=(e,t,r)=>{if(!ix){r("abort",424);return}let n=sX(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});n+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;n+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;ix(e+n).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{r(iX(a)?"abort":"next",a)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})},cX={prepare:aX,send:lX};function uX(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const i=o.provider,a=o.prefix,s=o.name,l=r[i]||(r[i]=Object.create(null)),c=l[a]||(l[a]=bi(i,a));let u;s in c.icons?u=t.loaded:a===""||c.missing.has(s)?u=t.missing:u=t.pending;const f={provider:i,prefix:a,name:s};u.push(f)}),t}function FE(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function dX(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])a.loaded.push({provider:n,prefix:o,name:c});else if(e.missing.has(c))a.missing.push({provider:n,prefix:o,name:c});else return r=!0,!0;return!1}),a.pending.length!==s&&(r||FE([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let fX=0;function hX(e,t,r){const n=fX++,o=FE.bind(null,r,n);if(!t.pending.length)return o;const i={id:n,icons:t,callback:e,abort:o};return r.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),o}function pX(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?cd(o,t,r):o;i&&n.push(i)}),n}var gX={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function mX(e,t,r,n){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let C=e.resources.slice(0);for(a=[];C.length>1;){const w=Math.floor(Math.random()*C.length);a.push(C[w]),C=C.slice(0,w).concat(C.slice(w+1))}a=a.concat(C)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l="pending",c=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function p(){f&&(clearTimeout(f),f=null)}function g(){l==="pending"&&(l="aborted"),p(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function v(C,w){w&&(h=[]),typeof C=="function"&&h.push(C)}function m(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:v,abort:g}}function b(){l="failed",h.forEach(C=>{C(void 0,u)})}function y(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function x(C,w,k){const A=w!=="success";switch(d=d.filter(T=>T!==C),l){case"pending":break;case"failed":if(A||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){u=k,b();return}if(A){u=k,d.length||(a.length?S():b());return}if(p(),y(),!e.random){const T=e.resources.indexOf(C.resource);T!==-1&&T!==e.index&&(e.index=T)}l="completed",h.forEach(T=>{T(k)})}function S(){if(l!=="pending")return;p();const C=a.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(y(),b())},e.timeout);return}b();return}const w={status:"pending",resource:C,callback:(k,A)=>{x(w,k,A)}};d.push(w),c++,f=setTimeout(S,e.rotate),r(C,t,w.callback)}return setTimeout(S),m}function ME(e){const t={...gX,...e};let r=[];function n(){r=r.filter(s=>s().status==="pending")}function o(s,l,c){const u=mX(t,s,l,(f,d)=>{n(),c&&c(f,d)});return r.push(u),u}function i(s){return r.find(l=>s(l))||null}return{query:o,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:n}}function ax(){}const Xf=Object.create(null);function vX(e){if(!Xf[e]){const t=sg(e);if(!t)return;const r=ME(t),n={config:t,redundancy:r};Xf[e]=n}return Xf[e]}function bX(e,t,r){let n,o;if(typeof e=="string"){const i=nh(e);if(!i)return r(void 0,424),ax;o=i.send;const a=vX(e);a&&(n=a.redundancy)}else{const i=ig(e);if(i){n=ME(i);const a=e.resources?e.resources[0]:"",s=nh(a);s&&(o=s.send)}}return!n||!o?(r(void 0,424),ax):n.query(t,o,r)().abort}const sx="iconify2",rl="iconify",zE=rl+"-count",lx=rl+"-version",NE=36e5,xX=168;function oh(e,t){try{return e.getItem(t)}catch{}}function lg(e,t,r){try{return e.setItem(t,r),!0}catch{}}function cx(e,t){try{e.removeItem(t)}catch{}}function ih(e,t){return lg(e,zE,t.toString())}function ah(e){return parseInt(oh(e,zE))||0}const dd={local:!0,session:!0},HE={local:new Set,session:new Set};let cg=!1;function yX(e){cg=e}let uc=typeof window>"u"?{}:window;function jE(e){const t=e+"Storage";try{if(uc&&uc[t]&&typeof uc[t].length=="number")return uc[t]}catch{}dd[e]=!1}function WE(e,t){const r=jE(e);if(!r)return;const n=oh(r,lx);if(n!==sx){if(n){const s=ah(r);for(let l=0;l{const l=rl+s.toString(),c=oh(r,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}cx(r,l)}};let a=ah(r);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,ih(r,a)):HE[e].add(s))}function UE(){if(!cg){yX(!0);for(const e in dd)WE(e,t=>{const r=t.data,n=t.provider,o=r.prefix,i=bi(n,o);if(!og(i,r).length)return!1;const a=r.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function CX(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in dd)WE(n,o=>{const i=o.data;return o.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function wX(e,t){cg||UE();function r(n){let o;if(!dd[n]||!(o=jE(n)))return;const i=HE[n];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=ah(o),!ih(o,a+1))return;const s={cached:Math.floor(Date.now()/NE),provider:e.provider,data:t};return lg(o,rl+a.toString(),JSON.stringify(s))}t.lastModified&&!CX(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function ux(){}function SX(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,dX(e)}))}function _X(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;delete e.iconsToLoad;let i;if(!o||!(i=nh(r)))return;i.prepare(r,n,o).forEach(s=>{bX(r,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=og(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),wX(e,l)}catch(c){console.error(c)}SX(e)})})}))}const EX=(e,t)=>{const r=pX(e,!0,OE()),n=uX(r);if(!n.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(n.loaded,n.missing,n.pending,ux)}),()=>{l=!1}}const o=Object.create(null),i=[];let a,s;return n.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===s&&c===a)return;a=c,s=u,i.push(bi(c,u));const f=o[c]||(o[c]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=bi(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[c][u].push(f))}),i.forEach(l=>{const{provider:c,prefix:u}=l;o[c][u].length&&_X(l,o[c][u])}),t?hX(t,n,i):ux};function kX(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in LE?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const TX=/[\s,]+/;function AX(e,t){t.split(TX).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function PX(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?n(i):0)}}return t}function $X(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'"+e+""}function IX(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function DX(e){return"data:image/svg+xml,"+IX(e)}function BX(e){return'url("'+DX(e)+'")'}const dx={...RE,inline:!1},OX={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},LX={display:"inline-block"},sh={backgroundColor:"currentColor"},VE={backgroundColor:"transparent"},fx={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hx={webkitMask:sh,mask:sh,background:VE};for(const e in hx){const t=hx[e];for(const r in fx)t[e+r]=fx[r]}const Dc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Dc[e+"-flip"]=t,Dc[e.slice(0,1)+"-flip"]=t,Dc[e+"Flip"]=t});function px(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const gx=(e,t)=>{const r=kX(dx,t),n={...OX},o=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const v=t[g];if(v!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":r[g]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&AX(r,v);break;case"color":i.color=v;break;case"rotate":typeof v=="string"?r[g]=PX(v):typeof v=="number"&&(r[g]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete n["aria-hidden"];break;default:{const m=Dc[g];m?(v===!0||v==="true"||v===1)&&(r[m]=!0):dx[g]===void 0&&(n[g]=v)}}}const l=XK(e,r),c=l.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...s},Object.assign(n,c);let g=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),n.innerHTML=eX(l.body,v?()=>v+"ID"+g++:"iconifyVue"),$("svg",n)}const{body:u,width:f,height:d}=e,h=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),p=$X(u,{...c,width:f+"",height:d+""});return n.style={...i,"--svg":BX(p),width:px(c.width),height:px(c.height),...LX,...h?sh:VE,...s},$("span",n)};OE(!0);tX("",cX);if(typeof document<"u"&&typeof window<"u"){UE();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!GK(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;rX(r,o)||console.error(n)}catch{console.error(n)}}}}const RX={...ud,body:""},FX=pe({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=cd(e,!1,!0))===null)return this.abortLoading(),null;const n=UK(r);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:e,abort:EX([r],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return r.prefix!==""&&o.push("iconify--"+r.prefix),r.provider!==""&&o.push("iconify--"+r.provider),{data:n,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return gx(RX,e);let r=e;return t.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),gx({...ud,...t.data},r)}}),_s=pe({__name:"index",props:{icon:{}},setup(e){const t=L5(),r=R(()=>({class:t.class||"",style:t.style||"width: 1em, height: 1em"}));return(n,o)=>(he(),rt(N(FX),On({icon:n.icon},r.value),null,16,["icon"]))}}),MX="modulepreload",zX=function(e){return"/"+e},mx={},Mr=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(i=>{if(i=zX(i),i in mx)return;mx[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===i&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":MX,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};var NX=!1;/*! - * pinia v2.1.7 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let GE;const fd=e=>GE=e,qE=Symbol();function lh(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Es;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Es||(Es={}));function HX(){const e=Uh(!0),t=e.run(()=>M({}));let r=[],n=[];const o=ha({install(i){fd(o),o._a=i,i.provide(qE,o),i.config.globalProperties.$pinia=o,n.forEach(a=>r.push(a)),n=[]},use(i){return!this._a&&!NX?n.push(i):r.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}const YE=()=>{};function vx(e,t,r,n=YE){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!r&&Tu()&&Vh(o),o}function Ui(e,...t){e.slice().forEach(r=>{r(...t)})}const jX=e=>e();function ch(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];lh(o)&&lh(n)&&e.hasOwnProperty(r)&&!Vt(n)&&!To(n)?e[r]=ch(o,n):e[r]=n}return e}const WX=Symbol();function UX(e){return!lh(e)||!e.hasOwnProperty(WX)}const{assign:vo}=Object;function VX(e){return!!(Vt(e)&&e.effect)}function GX(e,t,r,n){const{state:o,actions:i,getters:a}=t,s=r.state.value[e];let l;function c(){s||(r.state.value[e]=o?o():{});const u=i5(r.state.value[e]);return vo(u,i,Object.keys(a||{}).reduce((f,d)=>(f[d]=ha(R(()=>{fd(r);const h=r._s.get(e);return a[d].call(h,h)})),f),{}))}return l=KE(e,c,t,r,n,!0),l}function KE(e,t,r={},n,o,i){let a;const s=vo({actions:{}},r),l={deep:!0};let c,u,f=[],d=[],h;const p=n.state.value[e];!i&&!p&&(n.state.value[e]={}),M({});let g;function v(k){let A;c=u=!1,typeof k=="function"?(k(n.state.value[e]),A={type:Es.patchFunction,storeId:e,events:h}):(ch(n.state.value[e],k),A={type:Es.patchObject,payload:k,storeId:e,events:h});const T=g=Symbol();Qt().then(()=>{g===T&&(c=!0)}),u=!0,Ui(f,A,n.state.value[e])}const m=i?function(){const{state:A}=r,T=A?A():{};this.$patch(I=>{vo(I,T)})}:YE;function b(){a.stop(),f=[],d=[],n._s.delete(e)}function y(k,A){return function(){fd(n);const T=Array.from(arguments),I=[],D=[];function B(z){I.push(z)}function j(z){D.push(z)}Ui(d,{args:T,name:k,store:S,after:B,onError:j});let F;try{F=A.apply(this&&this.$id===e?this:S,T)}catch(z){throw Ui(D,z),z}return F instanceof Promise?F.then(z=>(Ui(I,z),z)).catch(z=>(Ui(D,z),Promise.reject(z))):(Ui(I,F),F)}}const x={_p:n,$id:e,$onAction:vx.bind(null,d),$patch:v,$reset:m,$subscribe(k,A={}){const T=vx(f,k,A.detached,()=>I()),I=a.run(()=>Je(()=>n.state.value[e],D=>{(A.flush==="sync"?u:c)&&k({storeId:e,type:Es.direct,events:h},D)},vo({},l,A)));return T},$dispose:b},S=nn(x);n._s.set(e,S);const w=(n._a&&n._a.runWithContext||jX)(()=>n._e.run(()=>(a=Uh()).run(t)));for(const k in w){const A=w[k];if(Vt(A)&&!VX(A)||To(A))i||(p&&UX(A)&&(Vt(A)?A.value=p[k]:ch(A,p[k])),n.state.value[e][k]=A);else if(typeof A=="function"){const T=y(k,A);w[k]=T,s.actions[k]=A}}return vo(S,w),vo(it(S),w),Object.defineProperty(S,"$state",{get:()=>n.state.value[e],set:k=>{v(A=>{vo(A,k)})}}),n._p.forEach(k=>{vo(S,a.run(()=>k({store:S,app:n._a,pinia:n,options:s})))}),p&&i&&r.hydrate&&r.hydrate(S.$state,p),c=!0,u=!0,S}function Ii(e,t,r){let n,o;const i=typeof t=="function";typeof e=="string"?(n=e,o=i?r:t):(o=e,n=e.id);function a(s,l){const c=W5();return s=s||(c?ze(qE,null):null),s&&fd(s),s=GE,s._s.has(n)||(i?KE(n,t,o,s):GX(n,o,s)),s._s.get(n)}return a.$id=n,a}function qX(){return typeof process<"u"&&(process==null?void 0:process.type)==="renderer"?"electron":typeof wx<"u"?"wechat":typeof window<"u"&&window.matchMedia("(display-mode: standalone)").matches?"webApp":/(Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)?"mobile":"webBrowser"}const XE="appSetting";function YX(){return{siderCollapsed:!1,theme:"auto",language:"zh-CN",env:qX()}}function KX(){const e=Nt.get(XE);return{...YX(),...e}}function XX(e){Nt.set(XE,e)}const Di=Ii("app-store",{state:()=>KX(),actions:{setSiderCollapsed(e){this.siderCollapsed=e,this.recordState()},setTheme(e){localStorage.theme=e,this.theme=e,window.theme=e,this.recordState()},setLanguage(e){this.language!==e&&(this.language=e,this.recordState())},recordState(){XX(this.$state)},setEnv(){const e=/micromessenger/i.test(navigator.userAgent),t=navigator.userAgent.includes("Electron"),r=/(iPhone|iPad|iPod|Android|webOS|BlackBerry|Windows Phone)/i.test(navigator.userAgent);e?this.env="wechat":t?this.env="electron":r?this.env="mobile":!e&&!t&&(this.env="web")}}});function QX(){return Di(xd)}function QE(e,t){return function(){return e.apply(t,arguments)}}const{toString:ZX}=Object.prototype,{getPrototypeOf:ug}=Object,hd=(e=>t=>{const r=ZX.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Mn=e=>(e=e.toLowerCase(),t=>hd(t)===e),pd=e=>t=>typeof t===e,{isArray:qa}=Array,nl=pd("undefined");function JX(e){return e!==null&&!nl(e)&&e.constructor!==null&&!nl(e.constructor)&&Zr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ZE=Mn("ArrayBuffer");function eQ(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ZE(e.buffer),t}const tQ=pd("string"),Zr=pd("function"),JE=pd("number"),gd=e=>e!==null&&typeof e=="object",rQ=e=>e===!0||e===!1,Bc=e=>{if(hd(e)!=="object")return!1;const t=ug(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nQ=Mn("Date"),oQ=Mn("File"),iQ=Mn("Blob"),aQ=Mn("FileList"),sQ=e=>gd(e)&&Zr(e.pipe),lQ=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Zr(e.append)&&((t=hd(e))==="formdata"||t==="object"&&Zr(e.toString)&&e.toString()==="[object FormData]"))},cQ=Mn("URLSearchParams"),uQ=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function kl(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),qa(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const t4=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),r4=e=>!nl(e)&&e!==t4;function uh(){const{caseless:e}=r4(this)&&this||{},t={},r=(n,o)=>{const i=e&&e4(t,o)||o;Bc(t[i])&&Bc(n)?t[i]=uh(t[i],n):Bc(n)?t[i]=uh({},n):qa(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n(kl(t,(o,i)=>{r&&Zr(o)?e[i]=QE(o,r):e[i]=o},{allOwnKeys:n}),e),fQ=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),hQ=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},pQ=(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=r!==!1&&ug(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},gQ=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},mQ=e=>{if(!e)return null;if(qa(e))return e;let t=e.length;if(!JE(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},vQ=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ug(Uint8Array)),bQ=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},xQ=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},yQ=Mn("HTMLFormElement"),CQ=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),bx=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),wQ=Mn("RegExp"),n4=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};kl(r,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(n[i]=a||o)}),Object.defineProperties(e,n)},SQ=e=>{n4(e,(t,r)=>{if(Zr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Zr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},_Q=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return qa(e)?n(e):n(String(e).split(t)),r},EQ=()=>{},kQ=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Qf="abcdefghijklmnopqrstuvwxyz",xx="0123456789",o4={DIGIT:xx,ALPHA:Qf,ALPHA_DIGIT:Qf+Qf.toUpperCase()+xx},TQ=(e=16,t=o4.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function AQ(e){return!!(e&&Zr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const PQ=e=>{const t=new Array(10),r=(n,o)=>{if(gd(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=qa(n)?[]:{};return kl(n,(a,s)=>{const l=r(a,o+1);!nl(l)&&(i[s]=l)}),t[o]=void 0,i}}return n};return r(e,0)},$Q=Mn("AsyncFunction"),IQ=e=>e&&(gd(e)||Zr(e))&&Zr(e.then)&&Zr(e.catch),ce={isArray:qa,isArrayBuffer:ZE,isBuffer:JX,isFormData:lQ,isArrayBufferView:eQ,isString:tQ,isNumber:JE,isBoolean:rQ,isObject:gd,isPlainObject:Bc,isUndefined:nl,isDate:nQ,isFile:oQ,isBlob:iQ,isRegExp:wQ,isFunction:Zr,isStream:sQ,isURLSearchParams:cQ,isTypedArray:vQ,isFileList:aQ,forEach:kl,merge:uh,extend:dQ,trim:uQ,stripBOM:fQ,inherits:hQ,toFlatObject:pQ,kindOf:hd,kindOfTest:Mn,endsWith:gQ,toArray:mQ,forEachEntry:bQ,matchAll:xQ,isHTMLForm:yQ,hasOwnProperty:bx,hasOwnProp:bx,reduceDescriptors:n4,freezeMethods:SQ,toObjectSet:_Q,toCamelCase:CQ,noop:EQ,toFiniteNumber:kQ,findKey:e4,global:t4,isContextDefined:r4,ALPHABET:o4,generateString:TQ,isSpecCompliantForm:AQ,toJSONObject:PQ,isAsyncFn:$Q,isThenable:IQ};function lt(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}ce.inherits(lt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ce.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const i4=lt.prototype,a4={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{a4[e]={value:e}});Object.defineProperties(lt,a4);Object.defineProperty(i4,"isAxiosError",{value:!0});lt.from=(e,t,r,n,o,i)=>{const a=Object.create(i4);return ce.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),lt.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const DQ=null;function dh(e){return ce.isPlainObject(e)||ce.isArray(e)}function s4(e){return ce.endsWith(e,"[]")?e.slice(0,-2):e}function yx(e,t,r){return e?e.concat(t).map(function(o,i){return o=s4(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function BQ(e){return ce.isArray(e)&&!e.some(dh)}const OQ=ce.toFlatObject(ce,{},null,function(t){return/^is[A-Z]/.test(t)});function md(e,t,r){if(!ce.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=ce.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!ce.isUndefined(v[g])});const n=r.metaTokens,o=r.visitor||u,i=r.dots,a=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&ce.isSpecCompliantForm(t);if(!ce.isFunction(o))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(ce.isDate(p))return p.toISOString();if(!l&&ce.isBlob(p))throw new lt("Blob is not supported. Use a Buffer instead.");return ce.isArrayBuffer(p)||ce.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,g,v){let m=p;if(p&&!v&&typeof p=="object"){if(ce.endsWith(g,"{}"))g=n?g:g.slice(0,-2),p=JSON.stringify(p);else if(ce.isArray(p)&&BQ(p)||(ce.isFileList(p)||ce.endsWith(g,"[]"))&&(m=ce.toArray(p)))return g=s4(g),m.forEach(function(y,x){!(ce.isUndefined(y)||y===null)&&t.append(a===!0?yx([g],x,i):a===null?g:g+"[]",c(y))}),!1}return dh(p)?!0:(t.append(yx(v,g,i),c(p)),!1)}const f=[],d=Object.assign(OQ,{defaultVisitor:u,convertValue:c,isVisitable:dh});function h(p,g){if(!ce.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(p),ce.forEach(p,function(m,b){(!(ce.isUndefined(m)||m===null)&&o.call(t,m,ce.isString(b)?b.trim():b,g,d))===!0&&h(m,g?g.concat(b):[b])}),f.pop()}}if(!ce.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Cx(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function dg(e,t){this._pairs=[],e&&md(e,this,t)}const l4=dg.prototype;l4.append=function(t,r){this._pairs.push([t,r])};l4.toString=function(t){const r=t?function(n){return t.call(this,n,Cx)}:Cx;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function LQ(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function c4(e,t,r){if(!t)return e;const n=r&&r.encode||LQ,o=r&&r.serialize;let i;if(o?i=o(t,r):i=ce.isURLSearchParams(t)?t.toString():new dg(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class RQ{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ce.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Sx=RQ,u4={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},FQ=typeof URLSearchParams<"u"?URLSearchParams:dg,MQ=typeof FormData<"u"?FormData:null,zQ=typeof Blob<"u"?Blob:null,NQ={isBrowser:!0,classes:{URLSearchParams:FQ,FormData:MQ,Blob:zQ},protocols:["http","https","file","blob","url","data"]},d4=typeof window<"u"&&typeof document<"u",HQ=(e=>d4&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),jQ=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),WQ=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:d4,hasStandardBrowserEnv:HQ,hasStandardBrowserWebWorkerEnv:jQ},Symbol.toStringTag,{value:"Module"})),$n={...WQ,...NQ};function UQ(e,t){return md(e,new $n.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return $n.isNode&&ce.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function VQ(e){return ce.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function GQ(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n=r.length;return a=!a&&ce.isArray(o)?o.length:a,l?(ce.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!s):((!o[a]||!ce.isObject(o[a]))&&(o[a]=[]),t(r,n,o[a],i)&&ce.isArray(o[a])&&(o[a]=GQ(o[a])),!s)}if(ce.isFormData(e)&&ce.isFunction(e.entries)){const r={};return ce.forEachEntry(e,(n,o)=>{t(VQ(n),o,r,0)}),r}return null}function qQ(e,t,r){if(ce.isString(e))try{return(t||JSON.parse)(e),ce.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const fg={transitional:u4,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=ce.isObject(t);if(i&&ce.isHTMLForm(t)&&(t=new FormData(t)),ce.isFormData(t))return o?JSON.stringify(f4(t)):t;if(ce.isArrayBuffer(t)||ce.isBuffer(t)||ce.isStream(t)||ce.isFile(t)||ce.isBlob(t))return t;if(ce.isArrayBufferView(t))return t.buffer;if(ce.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return UQ(t,this.formSerializer).toString();if((s=ce.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return md(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),qQ(t)):t}],transformResponse:[function(t){const r=this.transitional||fg.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&ce.isString(t)&&(n&&!this.responseType||o)){const a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?lt.from(s,lt.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$n.classes.FormData,Blob:$n.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ce.forEach(["delete","get","head","post","put","patch"],e=>{fg.headers[e]={}});const hg=fg,YQ=ce.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),KQ=e=>{const t={};let r,n,o;return e&&e.split(` -`).forEach(function(a){o=a.indexOf(":"),r=a.substring(0,o).trim().toLowerCase(),n=a.substring(o+1).trim(),!(!r||t[r]&&YQ[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},_x=Symbol("internals");function os(e){return e&&String(e).trim().toLowerCase()}function Oc(e){return e===!1||e==null?e:ce.isArray(e)?e.map(Oc):String(e)}function XQ(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const QQ=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Zf(e,t,r,n,o){if(ce.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!ce.isString(t)){if(ce.isString(n))return t.indexOf(n)!==-1;if(ce.isRegExp(n))return n.test(t)}}function ZQ(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function JQ(e,t){const r=ce.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,a){return this[n].call(this,t,o,i,a)},configurable:!0})})}class vd{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(s,l,c){const u=os(l);if(!u)throw new Error("header name must be a non-empty string");const f=ce.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=Oc(s))}const a=(s,l)=>ce.forEach(s,(c,u)=>i(c,u,l));return ce.isPlainObject(t)||t instanceof this.constructor?a(t,r):ce.isString(t)&&(t=t.trim())&&!QQ(t)?a(KQ(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=os(t),t){const n=ce.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return XQ(o);if(ce.isFunction(r))return r.call(this,o,n);if(ce.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=os(t),t){const n=ce.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Zf(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(a){if(a=os(a),a){const s=ce.findKey(n,a);s&&(!r||Zf(n,n[s],s,r))&&(delete n[s],o=!0)}}return ce.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||Zf(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return ce.forEach(this,(o,i)=>{const a=ce.findKey(n,i);if(a){r[a]=Oc(o),delete r[i];return}const s=t?ZQ(i):String(i).trim();s!==i&&delete r[i],r[s]=Oc(o),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return ce.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&ce.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[_x]=this[_x]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=os(a);n[s]||(JQ(o,a),n[s]=!0)}return ce.isArray(t)?t.forEach(i):i(t),this}}vd.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ce.reduceDescriptors(vd.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});ce.freezeMethods(vd);const Kn=vd;function Jf(e,t){const r=this||hg,n=t||r,o=Kn.from(n.headers);let i=n.data;return ce.forEach(e,function(s){i=s.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function h4(e){return!!(e&&e.__CANCEL__)}function Tl(e,t,r){lt.call(this,e??"canceled",lt.ERR_CANCELED,t,r),this.name="CanceledError"}ce.inherits(Tl,lt,{__CANCEL__:!0});function eZ(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new lt("Request failed with status code "+r.status,[lt.ERR_BAD_REQUEST,lt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const tZ=$n.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];ce.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),ce.isString(n)&&a.push("path="+n),ce.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rZ(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function nZ(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function p4(e,t){return e&&!rZ(t)?nZ(e,t):t}const oZ=$n.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(i){let a=i;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(a){const s=ce.isString(a)?o(a):a;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function iZ(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aZ(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=n[i];a||(a=c),r[o]=l,n[o]=c;let f=i,d=0;for(;f!==o;)d+=r[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,l=n(s),c=i<=a;r=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-i)/l:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const sZ=typeof XMLHttpRequest<"u",lZ=sZ&&function(e){return new Promise(function(r,n){let o=e.data;const i=Kn.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(ce.isFormData(o)){if($n.hasStandardBrowserEnv||$n.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[g,...v]=u?u.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([g||"multipart/form-data",...v].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+v))}const d=p4(e.baseURL,e.url);f.open(e.method.toUpperCase(),c4(d,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function h(){if(!f)return;const g=Kn.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:g,config:e,request:f};eZ(function(y){r(y),c()},function(y){n(y),c()},m),f=null}if("onloadend"in f?f.onloadend=h:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(h)},f.onabort=function(){f&&(n(new lt("Request aborted",lt.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new lt("Network Error",lt.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||u4;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),n(new lt(v,m.clarifyTimeoutError?lt.ETIMEDOUT:lt.ECONNABORTED,e,f)),f=null},$n.hasStandardBrowserEnv&&(s&&ce.isFunction(s)&&(s=s(e)),s||s!==!1&&oZ(d))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&tZ.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}o===void 0&&i.setContentType(null),"setRequestHeader"in f&&ce.forEach(i.toJSON(),function(v,m){f.setRequestHeader(m,v)}),ce.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),a&&a!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Ex(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Ex(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=g=>{f&&(n(!g||g.type?new Tl(null,e,f):g),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const p=iZ(d);if(p&&$n.protocols.indexOf(p)===-1){n(new lt("Unsupported protocol "+p+":",lt.ERR_BAD_REQUEST,e));return}f.send(o||null)})},fh={http:DQ,xhr:lZ};ce.forEach(fh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const kx=e=>`- ${e}`,cZ=e=>ce.isFunction(e)||e===null||e===!1,g4={getAdapter:e=>{e=ce.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : -`+i.map(kx).join(` -`):" "+kx(i[0]):"as no adapter specified";throw new lt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:fh};function e0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Tl(null,e)}function Tx(e){return e0(e),e.headers=Kn.from(e.headers),e.data=Jf.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),g4.getAdapter(e.adapter||hg.adapter)(e).then(function(n){return e0(e),n.data=Jf.call(e,e.transformResponse,n),n.headers=Kn.from(n.headers),n},function(n){return h4(n)||(e0(e),n&&n.response&&(n.response.data=Jf.call(e,e.transformResponse,n.response),n.response.headers=Kn.from(n.response.headers))),Promise.reject(n)})}const Ax=e=>e instanceof Kn?e.toJSON():e;function Pa(e,t){t=t||{};const r={};function n(c,u,f){return ce.isPlainObject(c)&&ce.isPlainObject(u)?ce.merge.call({caseless:f},c,u):ce.isPlainObject(u)?ce.merge({},u):ce.isArray(u)?u.slice():u}function o(c,u,f){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return n(void 0,c,f)}else return n(c,u,f)}function i(c,u){if(!ce.isUndefined(u))return n(void 0,u)}function a(c,u){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function s(c,u,f){if(f in t)return n(c,u);if(f in e)return n(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>o(Ax(c),Ax(u),!0)};return ce.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=l[u]||o,d=f(e[u],t[u],u);ce.isUndefined(d)&&f!==s||(r[u]=d)}),r}const m4="1.6.7",pg={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{pg[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Px={};pg.transitional=function(t,r,n){function o(i,a){return"[Axios v"+m4+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,s)=>{if(t===!1)throw new lt(o(a," has been removed"+(r?" in "+r:"")),lt.ERR_DEPRECATED);return r&&!Px[a]&&(Px[a]=!0,console.warn(o(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,a,s):!0}};function uZ(e,t,r){if(typeof e!="object")throw new lt("options must be an object",lt.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new lt("option "+i+" must be "+l,lt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new lt("Unknown option "+i,lt.ERR_BAD_OPTION)}}const hh={assertOptions:uZ,validators:pg},po=hh.validators;class du{constructor(t){this.defaults=t,this.interceptors={request:new Sx,response:new Sx}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=` -`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Pa(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&hh.assertOptions(n,{silentJSONParsing:po.transitional(po.boolean),forcedJSONParsing:po.transitional(po.boolean),clarifyTimeoutError:po.transitional(po.boolean)},!1),o!=null&&(ce.isFunction(o)?r.paramsSerializer={serialize:o}:hh.assertOptions(o,{encode:po.function,serialize:po.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=i&&ce.merge(i.common,i[r.method]);i&&ce.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),r.headers=Kn.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(r)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,f=0,d;if(!l){const p=[Tx.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),d=p.length,u=Promise.resolve(r);f{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{n.subscribe(s),i=s}).then(o);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,s){n.reason||(n.reason=new Tl(i,a,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new gg(function(o){t=o}),cancel:t}}}const dZ=gg;function fZ(e){return function(r){return e.apply(null,r)}}function hZ(e){return ce.isObject(e)&&e.isAxiosError===!0}const ph={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ph).forEach(([e,t])=>{ph[t]=e});const pZ=ph;function v4(e){const t=new Lc(e),r=QE(Lc.prototype.request,t);return ce.extend(r,Lc.prototype,t,{allOwnKeys:!0}),ce.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return v4(Pa(e,o))},r}const er=v4(hg);er.Axios=Lc;er.CanceledError=Tl;er.CancelToken=dZ;er.isCancel=h4;er.VERSION=m4;er.toFormData=md;er.AxiosError=lt;er.Cancel=er.CanceledError;er.all=function(t){return Promise.all(t)};er.spread=fZ;er.isAxiosError=hZ;er.mergeConfig=Pa;er.AxiosHeaders=Kn;er.formToJSON=e=>f4(ce.isHTMLForm(e)?new FormData(e):e);er.getAdapter=g4.getAdapter;er.HttpStatusCode=pZ;er.default=er;const gZ=er,fu=gZ.create({baseURL:"/api",timeout:2400*1e3});fu.interceptors.request.use(e=>{var o;const t=Cr().token,r=(o=bd())==null?void 0:o.fingerprint,n=window.location.origin;return e.headers["X-Website-Domain"]=n,r&&(e.headers.Fingerprint=r),t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e.response));fu.interceptors.response.use(e=>{if([200,201].includes(e.status))return e;throw new Error(e.status.toString())},e=>Promise.reject(e));let $x=0;const mZ=["/chatlog/chatList","/group/query"];function vZ(e){return e?mZ.some(t=>e.includes(t)):!1}function b4({url:e,data:t,method:r,headers:n,onDownloadProgress:o,signal:i,beforeRequest:a,afterRequest:s}){const l=f=>{const d=Cr(),{code:h}=f.data;return h>=200&&h<300||!h?f.data:(h===401&&(d.removeToken(),window.location.reload()),Promise.reject(f.data))},c=f=>{var g,v,m,b,y,x;const d=Cr();let h="";if((g=f.response)!=null&&g.data&&(h=f.response.data),s==null||s(),((v=f==null?void 0:f.response)==null?void 0:v.status)===401){if(d.removeToken(),!vZ((m=f==null?void 0:f.request)==null?void 0:m.responseURL)){d.loadInit&&d.setLoginDialog(!0);const S=((b=f.response.data)==null?void 0:b.message)||"请先登录后再进行使用!";Date.now()-$x>3e3&&window.$message.error(S)}$x=Date.now()}else h&&!(h!=null&&h.success)&&window.$message.error((h==null?void 0:h.message)||"请求接口错误!");throw new Error(((x=(y=f.response)==null?void 0:y.data)==null?void 0:x.message)||f||"Error")};a==null||a(),r=r||"GET";const u=Object.assign(typeof t=="function"?t():t??{},{});return r==="GET"?fu.get(e,{params:u,signal:i,onDownloadProgress:o}).then(l,c):fu.post(e,u,{headers:n,signal:i,onDownloadProgress:o}).then(l,c)}function kt({url:e,data:t,method:r="GET",onDownloadProgress:n,signal:o,beforeRequest:i,afterRequest:a}){return b4({url:e,method:r,data:t,onDownloadProgress:n,signal:o,beforeRequest:i,afterRequest:a})}function mt({url:e,data:t,method:r="POST",headers:n,onDownloadProgress:o,signal:i,beforeRequest:a,afterRequest:s}){return b4({url:e,method:r,data:t,headers:n,onDownloadProgress:o,signal:i,beforeRequest:a,afterRequest:s})}function bZ(e){return mt({url:"/group/create",data:e})}function xZ(){return kt({url:"/group/query"})}function yZ(e){return mt({url:"/group/update",data:e})}function CZ(e){return mt({url:"/group/del",data:e})}function wZ(e){return mt({url:"/group/delAll",data:e})}const gh="chatStorage";function SZ(){return{active:0,usingContext:!0,usingNetwork:!1,groupList:[],chatList:[],chatPreList:[],groupKeyWord:"",baseConfig:null}}function _Z(){const e=Nt.get(gh);return{...SZ(),...e}}function EZ({active:e}){Nt.set(gh,{...Nt.get(gh),active:e})}function kZ(e){return e.map(t=>{const{name:r,childList:n,id:o}=t;return{label:r,value:o,children:n.map(i=>({label:i.title,value:i.prompt}))}})}function TZ(e){return mt({url:"/chatlog/del",data:e})}function AZ(e){return mt({url:"/chatlog/delByGroupId",data:e})}function PZ(e){return kt({url:"/chatlog/chatList",data:e})}function ace(e){return mt({url:"/chatgpt/chat-process",data:{model:e.model,modelName:e.modelName,modelType:e.modelType,prompt:e.prompt,fileInfo:e==null?void 0:e.fileInfo,extraParam:e==null?void 0:e.extraParam,appId:e==null?void 0:e.appId,options:e.options,action:e==null?void 0:e.action,customId:e==null?void 0:e.customId,drawId:e==null?void 0:e.drawId},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function sce(e){return mt({url:"/chatgpt/tts-process",data:e})}function $Z(){return kt({url:"/auth/getInfo"})}function IZ(e){return mt({url:"/auth/register",data:e})}function DZ(e){return mt({url:"/auth/login",data:e})}function lce(e){return mt({url:"/user/update",data:e})}function cce(e){return mt({url:"/auth/updatePassword",data:e})}function uce(e){return mt({url:"/chatgpt/chat-sync",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function dce(e){return mt({url:"/chatgpt/chat-mind",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function fce(e){return mt({url:"/chatgpt/mj-fy",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function hce(e){return kt({url:"/midjourney/drawList",data:e})}function pce(){return kt({url:"/midjourney/queryPrompts"})}function gce(e){return kt({url:"/midjourney/getFullPrompt",data:e})}function mce(e){return mt({url:"/midjourney/delete",data:e})}function vce(e){return kt({url:"/midjourney/getList",data:e})}function BZ(e){return mt({url:"/auth/captcha",data:e})}function OZ(e){return mt({url:"/auth/sendCode",data:e})}function bce(){return kt({url:"/chatgpt/queryChatBoxFrontend"})}function LZ(){return kt({url:"/chatgpt/queryChatPreList"})}function xce(){return kt({url:"/models/list"})}function RZ(){return kt({url:"/models/baseConfig"})}const x4=Ii("chat-store",{state:()=>_Z(),getters:{activeConfig:e=>{var o;const t=e.active;if(!t)return{};const r=(o=e.groupList.find(i=>i.uuid===t))==null?void 0:o.config;return r?JSON.parse(r):e.baseConfig},activeGroupAppId:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.appId:null},activeModel(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.model},activeModelName(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelName},activeModelAvatar(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelAvatar},activeModelDeductType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deductType},activeModelKeyType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.keyType},activeModelFileUpload(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.isFileUpload},activeModelPrice(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deduct}},actions:{setGroupKeyWord(e){this.groupKeyWord=e},getChatByGroupInfo(){if(this.active)return this.groupList.find(e=>e.uuid===this.active)||{}},getConfigFromUuid(e){var t;return(t=this.groupList.find(r=>r.uuid===e))==null?void 0:t.config},async addNewChatGroup(e=0,t){const r=await bZ({appId:e,modelConfig:t}),{id:n}=r.data;this.chatList=[],await this.setActiveGroup(n),await this.queryMyGroup(),this.recordState()},async getBaseModelConfig(){const e=await RZ();this.baseConfig=e==null?void 0:e.data},async queryMyGroup(){const e=await xZ();this.groupList=[...e.data.map(t=>{const{id:r,title:n,isSticky:o,createdAt:i,updatedAt:a,appId:s,config:l,appLogo:c,isFixedModel:u,isGpts:f}=t;return{uuid:r,title:n,isEdit:!1,appId:s,config:l,isSticky:o,appLogo:c,createdAt:i,isFixedModel:u,isGpts:f,updatedAt:new Date(a).getTime()}})],this.active||this.groupList.length&&this.setActiveGroup(this.groupList[0].uuid),this.recordState()},async updateGroupInfo(e){await yZ(e),await this.queryMyGroup()},async setActiveGroup(e){this.active=e,this.active?await this.queryActiveChatLogList():this.chatList=[],this.groupList.forEach(t=>t.isEdit=!1),this.recordState()},async deleteGroup(e){const t=this.groupList.findIndex(n=>n.uuid===e.uuid),{uuid:r}=e;await CZ({groupId:r}),await this.queryMyGroup(),this.groupList.length===0&&await this.setActiveGroup(0),t>0&&t0&&await this.setActiveGroup(this.groupList[0].uuid),(t>this.groupList.length||t===0&&this.groupList.length===0)&&await this.setActiveGroup(0),t>0&&t===this.groupList.length&&await this.setActiveGroup(this.groupList[t-1].uuid),this.recordState()},async delAllGroup(){!this.active||!this.groupList.length||(await wZ(),await this.queryMyGroup(),this.groupList.length===0?await this.setActiveGroup(0):await this.setActiveGroup(this.groupList[0].uuid))},async queryActiveChatLogList(){if(!this.active||Number(this.active)===0)return;const e=await PZ({groupId:this.active});this.chatList=e.data,this.recordState()},addGroupChat(e){this.chatList=[...this.chatList,e]},updateGroupChat(e,t){this.chatList[e]={...this.chatList[e],...t}},updateGroupChatSome(e,t){this.chatList[e]={...this.chatList[e],...t}},async deleteChatById(e){e&&(await TZ({id:e}),await this.queryActiveChatLogList())},async queryChatPre(){const e=await LZ();e.data&&(this.chatPreList=kZ(e.data))},setUsingContext(e){this.usingContext=e,this.recordState()},setUsingNetwork(e){this.usingNetwork=e,this.recordState()},async clearChatByGroupId(){this.active&&(await AZ({groupId:this.active}),await this.queryActiveChatLogList())},recordState(){EZ(this.$state)},clearChat(){this.chatList=[],this.groupList=[],this.active=0,this.recordState()}}}),y4="promptStore";function FZ(){return Nt.get(y4)??{promptList:[]}}function MZ(e){Nt.set(y4,e)}Ii("prompt-store",{state:()=>FZ(),actions:{updatePromptList(e){this.$patch({promptList:e}),MZ({promptList:e})},getPromptList(){return this.$state}}});const mg="settingsStorage";function C4(){return{systemMessage:""}}function zZ(){const e=Nt.get(mg);return{...C4(),...e}}function NZ(e){Nt.set(mg,e)}function HZ(){Nt.remove(mg)}Ii("setting-store",{state:()=>zZ(),actions:{updateSetting(e){this.$state={...this.$state,...e},this.recordState()},resetSetting(){this.$state=C4(),HZ()},recordState(){NZ(this.$state)}}});function yce(e){return kt({url:"/balance/rechargeLog",data:e})}function jZ(){return kt({url:"/balance/query"})}function Cce(){return kt({url:"/balance/getVisitorCount"})}function wce(){return mt({url:"/balance/inheritVisitorData"})}function WZ(e){return kt({url:"/config/queryFronet",data:e})}function w4(e){return kt({url:"/menu/list",data:e})}const vg="SECRET_TOKEN";function UZ(){return Nt.get(vg)}function VZ(e){return Nt.set(vg,e)}function t0(){return Nt.remove(vg)}const Cr=Ii("auth-store",{state:()=>({token:UZ(),loginDialog:!1,globalConfigLoading:!0,userInfo:{},userBalance:{},globalConfig:{},loadInit:!1}),getters:{isLogin:e=>!!e.token},actions:{async getUserInfo(){try{this.loadInit||await this.getglobalConfig();const e=await $Z();if(!e)return Promise.resolve(e);const{data:t}=e,{userInfo:r,userBalance:n}=t;return this.userInfo={...r},this.userBalance={...n},Promise.resolve(t)}catch(e){return Promise.reject(e)}},updateUserBalance(e){this.userBalance=e},async getUserBalance(){const e=await jZ(),{success:t,data:r}=e;t&&(this.userBalance=r)},async getglobalConfig(e=""){const t=await WZ({domain:e});this.globalConfig=t.data,this.globalConfigLoading=!1,this.loadInit=!0},setToken(e){this.token=e,VZ(e)},removeToken(){this.token=void 0,t0()},setLoginDialog(e){this.loginDialog=e},logOut(){this.token=void 0,t0(),this.userInfo={},this.userBalance={},x4().clearChat()},updatePasswordSuccess(){this.token=void 0,t0(),this.userInfo={},this.userBalance={},this.loginDialog=!0}}});function GZ(){return Cr(xd)}const bd=Ii("global-store",{state:()=>({payDialog:!1,goodsDialog:!1,noticeDialog:!1,bindWxDialog:!1,signInDialog:!1,modelDialog:!1,isChatIn:!1,fingerprint:0,model:Nt.get("model")||3,orderInfo:{},iframeUrl:"",clipboardText:""}),actions:{updateClipboardText(e){this.clipboardText=e},updateFingerprint(e){let t=e;t>2147483647&&(t=Number(t.toString().slice(-9)),t=Number(String(Number(t)))),Nt.set("fingerprint",t),this.fingerprint=t},updateIframeUrl(e){this.iframeUrl=e},updatePayDialog(e){this.payDialog=e},updateIsChatIn(e){this.isChatIn=e},updateGoodsDialog(e){this.goodsDialog=e},updateBindwxDialog(e){this.bindWxDialog=e},updateSignInDialog(e){this.signInDialog=e},updateNoticeDialog(e){this.noticeDialog=e},updateOrderInfo(e){this.orderInfo=e},updateModel(e){Nt.set("model",e),this.model=e}}});function zo(){return bd(xd)}function Sce(){return kt({url:"/app/queryCats"})}function _ce(){return kt({url:"/app/list"})}function qZ(){return kt({url:"/app/mineApps"})}function Ece(e){return mt({url:"/app/collect",data:e})}function kce(e){return kt({url:"/app/queryOneCat",data:e})}const Tce=Ii("app-cat-store",{state:()=>({catId:0,mineApps:[]}),actions:{setCatId(e){this.catId=e},async queryMineApps(){var t;const e=await qZ();this.mineApps=((t=e==null?void 0:e.data)==null?void 0:t.rows)||[]}}}),xd=HX();function YZ(e){e.use(xd)}const KZ="/assets/avatar-e985e5ec.png";var Ix;const S4=typeof window<"u";S4&&((Ix=window==null?void 0:window.navigator)!=null&&Ix.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function XZ(e){return e}function QZ(e,t){var r;if(typeof e=="number")return e+t;const n=((r=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:r[0])||"",o=e.slice(n.length),i=parseFloat(n)+t;return Number.isNaN(i)?e:i+o}function ZZ(e){return Tu()?(Vh(e),!0):!1}function JZ(e){return typeof e=="function"?R(e):M(e)}function eJ(e,t=!0){Er()?_t(e):t?e():Qt(e)}const _4=S4?window:void 0;function tJ(e,t=!1){const r=M(),n=()=>r.value=!!e();return n(),eJ(n,t),r}function is(e,t={}){const{window:r=_4}=t,n=tJ(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let o;const i=M(!1),a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},s=()=>{n.value&&(a(),o=r.matchMedia(JZ(e).value),i.value=o.matches,"addEventListener"in o?o.addEventListener("change",s):o.addListener(s))};return Or(s),ZZ(()=>a()),i}const rJ={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var nJ=Object.defineProperty,Dx=Object.getOwnPropertySymbols,oJ=Object.prototype.hasOwnProperty,iJ=Object.prototype.propertyIsEnumerable,Bx=(e,t,r)=>t in e?nJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,aJ=(e,t)=>{for(var r in t||(t={}))oJ.call(t,r)&&Bx(e,r,t[r]);if(Dx)for(var r of Dx(t))iJ.call(t,r)&&Bx(e,r,t[r]);return e};function sJ(e,t={}){function r(s,l){let c=e[s];return l!=null&&(c=QZ(c,l)),typeof c=="number"&&(c=`${c}px`),c}const{window:n=_4}=t;function o(s){return n?n.matchMedia(s).matches:!1}const i=s=>is(`(min-width: ${r(s)})`,t),a=Object.keys(e).reduce((s,l)=>(Object.defineProperty(s,l,{get:()=>i(l),enumerable:!0,configurable:!0}),s),{});return aJ({greater(s){return is(`(min-width: ${r(s,.1)})`,t)},greaterOrEqual:i,smaller(s){return is(`(max-width: ${r(s,-.1)})`,t)},smallerOrEqual(s){return is(`(max-width: ${r(s)})`,t)},between(s,l){return is(`(min-width: ${r(s)}) and (max-width: ${r(l,-.1)})`,t)},isGreater(s){return o(`(min-width: ${r(s,.1)})`)},isGreaterOrEqual(s){return o(`(min-width: ${r(s)})`)},isSmaller(s){return o(`(max-width: ${r(s,-.1)})`)},isSmallerOrEqual(s){return o(`(max-width: ${r(s)})`)},isInBetween(s,l){return o(`(min-width: ${r(s)}) and (max-width: ${r(l,-.1)})`)}},a)}const Ox=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lx="__vueuse_ssr_handlers__";Ox[Lx]=Ox[Lx]||{};var Rx;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Rx||(Rx={}));var lJ=Object.defineProperty,Fx=Object.getOwnPropertySymbols,cJ=Object.prototype.hasOwnProperty,uJ=Object.prototype.propertyIsEnumerable,Mx=(e,t,r)=>t in e?lJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dJ=(e,t)=>{for(var r in t||(t={}))cJ.call(t,r)&&Mx(e,r,t[r]);if(Fx)for(var r of Fx(t))uJ.call(t,r)&&Mx(e,r,t[r]);return e};const fJ={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};dJ({linear:XZ},fJ);function vn(){const e=sJ(rJ),t=e.smaller("sm"),r=e.smaller("md"),n=e.smaller("lg"),o=e.smaller("xl");return{isMobile:t,isSmallMd:r,isSmallLg:n,isSmallXl:o}}/*! - * shared v9.10.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */const hu=typeof window<"u",No=(e,t=!1)=>t?Symbol.for(e):Symbol(e),hJ=(e,t,r)=>pJ({l:e,k:t,s:r}),pJ=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ir=e=>typeof e=="number"&&isFinite(e),gJ=e=>k4(e)==="[object Date]",Do=e=>k4(e)==="[object RegExp]",yd=e=>Ke(e)&&Object.keys(e).length===0,fr=Object.assign;let zx;const Gn=()=>zx||(zx=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nx(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const mJ=Object.prototype.hasOwnProperty;function pu(e,t){return mJ.call(e,t)}const Ot=Array.isArray,Tt=e=>typeof e=="function",_e=e=>typeof e=="string",nt=e=>typeof e=="boolean",vt=e=>e!==null&&typeof e=="object",vJ=e=>vt(e)&&Tt(e.then)&&Tt(e.catch),E4=Object.prototype.toString,k4=e=>E4.call(e),Ke=e=>{if(!vt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},bJ=e=>e==null?"":Ot(e)||Ke(e)&&e.toString===E4?JSON.stringify(e,null,2):String(e);function xJ(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function bg(e){let t=e;return()=>++t}function yJ(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const dc=e=>!vt(e)||Ot(e);function Rc(e,t){if(dc(e)||dc(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(i=>{dc(n[i])||dc(o[i])?o[i]=n[i]:r.push({src:n[i],des:o[i]})})}}/*! - * message-compiler v9.10.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */function CJ(e,t,r){return{line:e,column:t,offset:r}}function mh(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const wJ=/\{([0-9a-zA-Z]+)\}/g;function SJ(e,...t){return t.length===1&&_J(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(wJ,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const T4=Object.assign,Hx=e=>typeof e=="string",_J=e=>e!==null&&typeof e=="object";function A4(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}const Ve={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},EJ={[Ve.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ve.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ve.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ve.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ve.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ve.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ve.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ve.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ve.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ve.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ve.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ve.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ve.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ve.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ve.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ya(e,t,r={}){const{domain:n,messages:o,args:i}=r,a=SJ((o||EJ)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=n,s}function kJ(e){throw e}const Wn=" ",TJ="\r",Sr=` -`,AJ=String.fromCharCode(8232),PJ=String.fromCharCode(8233);function $J(e){const t=e;let r=0,n=1,o=1,i=0;const a=w=>t[w]===TJ&&t[w+1]===Sr,s=w=>t[w]===Sr,l=w=>t[w]===PJ,c=w=>t[w]===AJ,u=w=>a(w)||s(w)||l(w)||c(w),f=()=>r,d=()=>n,h=()=>o,p=()=>i,g=w=>a(w)||l(w)||c(w)?Sr:t[w],v=()=>g(r),m=()=>g(r+i);function b(){return i=0,u(r)&&(n++,o=0),a(r)&&r++,r++,o++,t[r]}function y(){return a(r+i)&&i++,i++,t[r+i]}function x(){r=0,n=1,o=1,i=0}function S(w=0){i=w}function C(){const w=r+i;for(;w!==r;)b();i=0}return{index:f,line:d,column:h,peekOffset:p,charAt:g,currentChar:v,currentPeek:m,next:b,peek:y,reset:x,resetPeek:S,skipToPeek:C}}const go=void 0,IJ=".",jx="'",DJ="tokenizer";function BJ(e,t={}){const r=t.location!==!1,n=$J(e),o=()=>n.index(),i=()=>CJ(n.line(),n.column(),n.index()),a=i(),s=o(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(_,E,P,...O){const L=c();if(E.column+=P,E.offset+=P,u){const G=r?mh(L.startLoc,E):null,K=Ya(_,G,{domain:DJ,args:O});u(K)}}function d(_,E,P){_.endLoc=i(),_.currentType=E;const O={type:E};return r&&(O.loc=mh(_.startLoc,_.endLoc)),P!=null&&(O.value=P),O}const h=_=>d(_,14);function p(_,E){return _.currentChar()===E?(_.next(),E):(f(Ve.EXPECTED_TOKEN,i(),0,E),"")}function g(_){let E="";for(;_.currentPeek()===Wn||_.currentPeek()===Sr;)E+=_.currentPeek(),_.peek();return E}function v(_){const E=g(_);return _.skipToPeek(),E}function m(_){if(_===go)return!1;const E=_.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function b(_){if(_===go)return!1;const E=_.charCodeAt(0);return E>=48&&E<=57}function y(_,E){const{currentType:P}=E;if(P!==2)return!1;g(_);const O=m(_.currentPeek());return _.resetPeek(),O}function x(_,E){const{currentType:P}=E;if(P!==2)return!1;g(_);const O=_.currentPeek()==="-"?_.peek():_.currentPeek(),L=b(O);return _.resetPeek(),L}function S(_,E){const{currentType:P}=E;if(P!==2)return!1;g(_);const O=_.currentPeek()===jx;return _.resetPeek(),O}function C(_,E){const{currentType:P}=E;if(P!==8)return!1;g(_);const O=_.currentPeek()===".";return _.resetPeek(),O}function w(_,E){const{currentType:P}=E;if(P!==9)return!1;g(_);const O=m(_.currentPeek());return _.resetPeek(),O}function k(_,E){const{currentType:P}=E;if(!(P===8||P===12))return!1;g(_);const O=_.currentPeek()===":";return _.resetPeek(),O}function A(_,E){const{currentType:P}=E;if(P!==10)return!1;const O=()=>{const G=_.currentPeek();return G==="{"?m(_.peek()):G==="@"||G==="%"||G==="|"||G===":"||G==="."||G===Wn||!G?!1:G===Sr?(_.peek(),O()):m(G)},L=O();return _.resetPeek(),L}function T(_){g(_);const E=_.currentPeek()==="|";return _.resetPeek(),E}function I(_){const E=g(_),P=_.currentPeek()==="%"&&_.peek()==="{";return _.resetPeek(),{isModulo:P,hasSpace:E.length>0}}function D(_,E=!0){const P=(L=!1,G="",K=!1)=>{const H=_.currentPeek();return H==="{"?G==="%"?!1:L:H==="@"||!H?G==="%"?!0:L:H==="%"?(_.peek(),P(L,"%",!0)):H==="|"?G==="%"||K?!0:!(G===Wn||G===Sr):H===Wn?(_.peek(),P(!0,Wn,K)):H===Sr?(_.peek(),P(!0,Sr,K)):!0},O=P();return E&&_.resetPeek(),O}function B(_,E){const P=_.currentChar();return P===go?go:E(P)?(_.next(),P):null}function j(_){return B(_,P=>{const O=P.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36})}function F(_){return B(_,P=>{const O=P.charCodeAt(0);return O>=48&&O<=57})}function z(_){return B(_,P=>{const O=P.charCodeAt(0);return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102})}function V(_){let E="",P="";for(;E=F(_);)P+=E;return P}function oe(_){v(_);const E=_.currentChar();return E!=="%"&&f(Ve.EXPECTED_TOKEN,i(),0,E),_.next(),"%"}function fe(_){let E="";for(;;){const P=_.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(D(_))E+=P,_.next();else break;else if(P===Wn||P===Sr)if(D(_))E+=P,_.next();else{if(T(_))break;E+=P,_.next()}else E+=P,_.next()}return E}function ge(_){v(_);let E="",P="";for(;E=j(_);)P+=E;return _.currentChar()===go&&f(Ve.UNTERMINATED_CLOSING_BRACE,i(),0),P}function U(_){v(_);let E="";return _.currentChar()==="-"?(_.next(),E+=`-${V(_)}`):E+=V(_),_.currentChar()===go&&f(Ve.UNTERMINATED_CLOSING_BRACE,i(),0),E}function X(_){v(_),p(_,"'");let E="",P="";const O=G=>G!==jx&&G!==Sr;for(;E=B(_,O);)E==="\\"?P+=ae(_):P+=E;const L=_.currentChar();return L===Sr||L===go?(f(Ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),L===Sr&&(_.next(),p(_,"'")),P):(p(_,"'"),P)}function ae(_){const E=_.currentChar();switch(E){case"\\":case"'":return _.next(),`\\${E}`;case"u":return Z(_,E,4);case"U":return Z(_,E,6);default:return f(Ve.UNKNOWN_ESCAPE_SEQUENCE,i(),0,E),""}}function Z(_,E,P){p(_,E);let O="";for(let L=0;LL!=="{"&&L!=="}"&&L!==Wn&&L!==Sr;for(;E=B(_,O);)P+=E;return P}function ye(_){let E="",P="";for(;E=j(_);)P+=E;return P}function q(_){const E=(P=!1,O)=>{const L=_.currentChar();return L==="{"||L==="%"||L==="@"||L==="|"||L==="("||L===")"||!L||L===Wn?O:L===Sr||L===IJ?(O+=L,_.next(),E(P,O)):(O+=L,_.next(),E(!0,O))};return E(!1,"")}function te(_){v(_);const E=p(_,"|");return v(_),E}function ie(_,E){let P=null;switch(_.currentChar()){case"{":return E.braceNest>=1&&f(Ve.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),_.next(),P=d(E,2,"{"),v(_),E.braceNest++,P;case"}":return E.braceNest>0&&E.currentType===2&&f(Ve.EMPTY_PLACEHOLDER,i(),0),_.next(),P=d(E,3,"}"),E.braceNest--,E.braceNest>0&&v(_),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),P;case"@":return E.braceNest>0&&f(Ve.UNTERMINATED_CLOSING_BRACE,i(),0),P=ve(_,E)||h(E),E.braceNest=0,P;default:let L=!0,G=!0,K=!0;if(T(_))return E.braceNest>0&&f(Ve.UNTERMINATED_CLOSING_BRACE,i(),0),P=d(E,1,te(_)),E.braceNest=0,E.inLinked=!1,P;if(E.braceNest>0&&(E.currentType===5||E.currentType===6||E.currentType===7))return f(Ve.UNTERMINATED_CLOSING_BRACE,i(),0),E.braceNest=0,Le(_,E);if(L=y(_,E))return P=d(E,5,ge(_)),v(_),P;if(G=x(_,E))return P=d(E,6,U(_)),v(_),P;if(K=S(_,E))return P=d(E,7,X(_)),v(_),P;if(!L&&!G&&!K)return P=d(E,13,Be(_)),f(Ve.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,P.value),v(_),P;break}return P}function ve(_,E){const{currentType:P}=E;let O=null;const L=_.currentChar();switch((P===8||P===9||P===12||P===10)&&(L===Sr||L===Wn)&&f(Ve.INVALID_LINKED_FORMAT,i(),0),L){case"@":return _.next(),O=d(E,8,"@"),E.inLinked=!0,O;case".":return v(_),_.next(),d(E,9,".");case":":return v(_),_.next(),d(E,10,":");default:return T(_)?(O=d(E,1,te(_)),E.braceNest=0,E.inLinked=!1,O):C(_,E)||k(_,E)?(v(_),ve(_,E)):w(_,E)?(v(_),d(E,12,ye(_))):A(_,E)?(v(_),L==="{"?ie(_,E)||O:d(E,11,q(_))):(P===8&&f(Ve.INVALID_LINKED_FORMAT,i(),0),E.braceNest=0,E.inLinked=!1,Le(_,E))}}function Le(_,E){let P={type:14};if(E.braceNest>0)return ie(_,E)||h(E);if(E.inLinked)return ve(_,E)||h(E);switch(_.currentChar()){case"{":return ie(_,E)||h(E);case"}":return f(Ve.UNBALANCED_CLOSING_BRACE,i(),0),_.next(),d(E,3,"}");case"@":return ve(_,E)||h(E);default:if(T(_))return P=d(E,1,te(_)),E.braceNest=0,E.inLinked=!1,P;const{isModulo:L,hasSpace:G}=I(_);if(L)return G?d(E,0,fe(_)):d(E,4,oe(_));if(D(_))return d(E,0,fe(_));break}return P}function $e(){const{currentType:_,offset:E,startLoc:P,endLoc:O}=l;return l.lastType=_,l.lastOffset=E,l.lastStartLoc=P,l.lastEndLoc=O,l.offset=o(),l.startLoc=i(),n.currentChar()===go?d(l,14):Le(n,l)}return{nextToken:$e,currentOffset:o,currentPosition:i,context:c}}const OJ="parser",LJ=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function RJ(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function FJ(e={}){const t=e.location!==!1,{onError:r}=e;function n(m,b,y,x,...S){const C=m.currentPosition();if(C.offset+=x,C.column+=x,r){const w=t?mh(y,C):null,k=Ya(b,w,{domain:OJ,args:S});r(k)}}function o(m,b,y){const x={type:m};return t&&(x.start=b,x.end=b,x.loc={start:y,end:y}),x}function i(m,b,y,x){x&&(m.type=x),t&&(m.end=b,m.loc&&(m.loc.end=y))}function a(m,b){const y=m.context(),x=o(3,y.offset,y.startLoc);return x.value=b,i(x,m.currentOffset(),m.currentPosition()),x}function s(m,b){const y=m.context(),{lastOffset:x,lastStartLoc:S}=y,C=o(5,x,S);return C.index=parseInt(b,10),m.nextToken(),i(C,m.currentOffset(),m.currentPosition()),C}function l(m,b){const y=m.context(),{lastOffset:x,lastStartLoc:S}=y,C=o(4,x,S);return C.key=b,m.nextToken(),i(C,m.currentOffset(),m.currentPosition()),C}function c(m,b){const y=m.context(),{lastOffset:x,lastStartLoc:S}=y,C=o(9,x,S);return C.value=b.replace(LJ,RJ),m.nextToken(),i(C,m.currentOffset(),m.currentPosition()),C}function u(m){const b=m.nextToken(),y=m.context(),{lastOffset:x,lastStartLoc:S}=y,C=o(8,x,S);return b.type!==12?(n(m,Ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),C.value="",i(C,x,S),{nextConsumeToken:b,node:C}):(b.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Sn(b)),C.value=b.value||"",i(C,m.currentOffset(),m.currentPosition()),{node:C})}function f(m,b){const y=m.context(),x=o(7,y.offset,y.startLoc);return x.value=b,i(x,m.currentOffset(),m.currentPosition()),x}function d(m){const b=m.context(),y=o(6,b.offset,b.startLoc);let x=m.nextToken();if(x.type===9){const S=u(m);y.modifier=S.node,x=S.nextConsumeToken||m.nextToken()}switch(x.type!==10&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(x)),x=m.nextToken(),x.type===2&&(x=m.nextToken()),x.type){case 11:x.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(x)),y.key=f(m,x.value||"");break;case 5:x.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(x)),y.key=l(m,x.value||"");break;case 6:x.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(x)),y.key=s(m,x.value||"");break;case 7:x.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(x)),y.key=c(m,x.value||"");break;default:n(m,Ve.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const S=m.context(),C=o(7,S.offset,S.startLoc);return C.value="",i(C,S.offset,S.startLoc),y.key=C,i(y,S.offset,S.startLoc),{nextConsumeToken:x,node:y}}return i(y,m.currentOffset(),m.currentPosition()),{node:y}}function h(m){const b=m.context(),y=b.currentType===1?m.currentOffset():b.offset,x=b.currentType===1?b.endLoc:b.startLoc,S=o(2,y,x);S.items=[];let C=null;do{const A=C||m.nextToken();switch(C=null,A.type){case 0:A.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(A)),S.items.push(a(m,A.value||""));break;case 6:A.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(A)),S.items.push(s(m,A.value||""));break;case 5:A.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(A)),S.items.push(l(m,A.value||""));break;case 7:A.value==null&&n(m,Ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Sn(A)),S.items.push(c(m,A.value||""));break;case 8:const T=d(m);S.items.push(T.node),C=T.nextConsumeToken||null;break}}while(b.currentType!==14&&b.currentType!==1);const w=b.currentType===1?b.lastOffset:m.currentOffset(),k=b.currentType===1?b.lastEndLoc:m.currentPosition();return i(S,w,k),S}function p(m,b,y,x){const S=m.context();let C=x.items.length===0;const w=o(1,b,y);w.cases=[],w.cases.push(x);do{const k=h(m);C||(C=k.items.length===0),w.cases.push(k)}while(S.currentType!==14);return C&&n(m,Ve.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),i(w,m.currentOffset(),m.currentPosition()),w}function g(m){const b=m.context(),{offset:y,startLoc:x}=b,S=h(m);return b.currentType===14?S:p(m,y,x,S)}function v(m){const b=BJ(m,T4({},e)),y=b.context(),x=o(0,y.offset,y.startLoc);return t&&x.loc&&(x.loc.source=m),x.body=g(b),e.onCacheKey&&(x.cacheKey=e.onCacheKey(m)),y.currentType!==14&&n(b,Ve.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,m[y.offset]||""),i(x,b.currentOffset(),b.currentPosition()),x}return{parse:v}}function Sn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function MJ(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:i=>(r.helpers.add(i),i)}}function Wx(e,t){for(let r=0;rUx(r)),e}function Ux(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;rs;function c(v,m){s.code+=v}function u(v,m=!0){const b=m?o:"";c(i?b+" ".repeat(v):b)}function f(v=!0){const m=++s.indentLevel;v&&u(m)}function d(v=!0){const m=--s.indentLevel;v&&u(m)}function h(){u(s.indentLevel)}return{context:l,push:c,indent:f,deindent:d,newline:h,helper:v=>`_${v}`,needIndent:()=>s.needIndent}}function UJ(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),$a(e,t.key),t.modifier?(e.push(", "),$a(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function VJ(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let i=0;i1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let i=0;i{const r=Hx(t.mode)?t.mode:"normal",n=Hx(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":` -`,a=t.needIndent?t.needIndent:r!=="arrow",s=e.helpers||[],l=WJ(e,{mode:r,filename:n,sourceMap:o,breakLineCode:i,needIndent:a});l.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${A4(s.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),$a(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function KJ(e,t={}){const r=T4({},t),n=!!r.jit,o=!!r.minify,i=r.optimize==null?!0:r.optimize,s=FJ(r).parse(e);return n?(i&&NJ(s),o&&Ki(s),{ast:s,code:""}):(zJ(s,r),YJ(s,r))}/*! - * core-base v9.10.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */function XJ(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Gn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Gn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Gn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Ho=[];Ho[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ho[1]={w:[1],".":[2],"[":[4],o:[7]};Ho[2]={w:[2],i:[3,0],0:[3,0]};Ho[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ho[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ho[5]={"'":[4,0],o:8,l:[5,0]};Ho[6]={'"':[4,0],o:8,l:[6,0]};const QJ=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ZJ(e){return QJ.test(e)}function JJ(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function eee(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function tee(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ZJ(t)?JJ(t):"*"+t}function ree(e){const t=[];let r=-1,n=0,o=0,i,a,s,l,c,u,f;const d=[];d[0]=()=>{a===void 0?a=s:a+=s},d[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,n=4,d[0]();else{if(o=0,a===void 0||(a=tee(a),a===!1))return!1;d[1]()}};function h(){const p=e[r+1];if(n===5&&p==="'"||n===6&&p==='"')return r++,s="\\"+p,d[0](),!0}for(;n!==null;)if(r++,i=e[r],!(i==="\\"&&h())){if(l=eee(i),f=Ho[n],c=f[l]||f.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(s=i,u()===!1))))return;if(n===7)return t}}const Vx=new Map;function nee(e,t){return vt(e)?e[t]:null}function oee(e,t){if(!vt(e))return null;let r=Vx.get(t);if(r||(r=ree(t),r&&Vx.set(t,r)),!r)return null;const n=r.length;let o=e,i=0;for(;ie,aee=e=>"",see="text",lee=e=>e.length===0?"":xJ(e),cee=bJ;function Gx(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function uee(e){const t=ir(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ir(e.named.count)||ir(e.named.n))?ir(e.named.count)?e.named.count:ir(e.named.n)?e.named.n:t:t}function dee(e,t){t.count||(t.count=e),t.n||(t.n=e)}function fee(e={}){const t=e.locale,r=uee(e),n=vt(e.pluralRules)&&_e(t)&&Tt(e.pluralRules[t])?e.pluralRules[t]:Gx,o=vt(e.pluralRules)&&_e(t)&&Tt(e.pluralRules[t])?Gx:void 0,i=m=>m[n(r,m.length,o)],a=e.list||[],s=m=>a[m],l=e.named||{};ir(e.pluralIndex)&&dee(r,l);const c=m=>l[m];function u(m){const b=Tt(e.messages)?e.messages(m):vt(e.messages)?e.messages[m]:!1;return b||(e.parent?e.parent.message(m):aee)}const f=m=>e.modifiers?e.modifiers[m]:iee,d=Ke(e.processor)&&Tt(e.processor.normalize)?e.processor.normalize:lee,h=Ke(e.processor)&&Tt(e.processor.interpolate)?e.processor.interpolate:cee,p=Ke(e.processor)&&_e(e.processor.type)?e.processor.type:see,v={list:s,named:c,plural:i,linked:(m,...b)=>{const[y,x]=b;let S="text",C="";b.length===1?vt(y)?(C=y.modifier||C,S=y.type||S):_e(y)&&(C=y||C):b.length===2&&(_e(y)&&(C=y||C),_e(x)&&(S=x||S));const w=u(m)(v),k=S==="vnode"&&Ot(w)&&C?w[0]:w;return C?f(C)(k,S):k},message:u,type:p,interpolate:h,normalize:d,values:fr({},a,l)};return v}let ol=null;function hee(e){ol=e}function pee(e,t,r){ol&&ol.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const gee=mee("function:translate");function mee(e){return t=>ol&&ol.emit(e,t)}const vee={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},P4=Ve.__EXTEND_POINT__,Yo=bg(P4),pn={INVALID_ARGUMENT:P4,INVALID_DATE_ARGUMENT:Yo(),INVALID_ISO_DATE_ARGUMENT:Yo(),NOT_SUPPORT_NON_STRING_MESSAGE:Yo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Yo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Yo(),NOT_SUPPORT_LOCALE_TYPE:Yo(),__EXTEND_POINT__:Yo()};function In(e){return Ya(e,null,void 0)}function yg(e,t){return t.locale!=null?qx(t.locale):qx(e.locale)}let r0;function qx(e){if(_e(e))return e;if(Tt(e)){if(e.resolvedOnce&&r0!=null)return r0;if(e.constructor.name==="Function"){const t=e();if(vJ(t))throw In(pn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return r0=t}else throw In(pn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw In(pn.NOT_SUPPORT_LOCALE_TYPE)}function bee(e,t,r){return[...new Set([r,...Ot(t)?t:vt(t)?Object.keys(t):_e(t)?[t]:[r]])]}function $4(e,t,r){const n=_e(r)?r:Ia,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(n);if(!i){i=[];let a=[r];for(;Ot(a);)a=Yx(i,a,t);const s=Ot(t)||!Ke(t)?t:t.default?t.default:null;a=_e(s)?[s]:s,Ot(a)&&Yx(i,a,!1),o.__localeChainCache.set(n,i)}return i}function Yx(e,t,r){let n=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wee(){return{upper:(e,t)=>t==="text"&&_e(e)?e.toUpperCase():t==="vnode"&&vt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&_e(e)?e.toLowerCase():t==="vnode"&&vt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&_e(e)?Xx(e):t==="vnode"&&vt(e)&&"__v_isVNode"in e?Xx(e.children):e}}let I4;function Qx(e){I4=e}let D4;function See(e){D4=e}let B4;function _ee(e){B4=e}let O4=null;const Eee=e=>{O4=e},kee=()=>O4;let L4=null;const Zx=e=>{L4=e},Tee=()=>L4;let Jx=0;function Aee(e={}){const t=Tt(e.onWarn)?e.onWarn:yJ,r=_e(e.version)?e.version:Cee,n=_e(e.locale)||Tt(e.locale)?e.locale:Ia,o=Tt(n)?Ia:n,i=Ot(e.fallbackLocale)||Ke(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=Ke(e.messages)?e.messages:{[o]:{}},s=Ke(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=Ke(e.numberFormats)?e.numberFormats:{[o]:{}},c=fr({},e.modifiers||{},wee()),u=e.pluralRules||{},f=Tt(e.missing)?e.missing:null,d=nt(e.missingWarn)||Do(e.missingWarn)?e.missingWarn:!0,h=nt(e.fallbackWarn)||Do(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=Tt(e.postTranslation)?e.postTranslation:null,m=Ke(e.processor)?e.processor:null,b=nt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,x=Tt(e.messageCompiler)?e.messageCompiler:I4,S=Tt(e.messageResolver)?e.messageResolver:D4||nee,C=Tt(e.localeFallbacker)?e.localeFallbacker:B4||bee,w=vt(e.fallbackContext)?e.fallbackContext:void 0,k=e,A=vt(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,T=vt(k.__numberFormatters)?k.__numberFormatters:new Map,I=vt(k.__meta)?k.__meta:{};Jx++;const D={version:r,cid:Jx,locale:n,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:p,unresolving:g,postTranslation:v,processor:m,warnHtmlMessage:b,escapeParameter:y,messageCompiler:x,messageResolver:S,localeFallbacker:C,fallbackContext:w,onWarn:t,__meta:I};return D.datetimeFormats=s,D.numberFormats=l,D.__datetimeFormatters=A,D.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&pee(D,r,I),D}function Cg(e,t,r,n,o){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,r,t,o);return _e(s)?s:t}else return t}function as(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function n0(e){return r=>Pee(r,e)}function Pee(e,t){const r=t.b||t.body;if((r.t||r.type)===1){const n=r,o=n.c||n.cases;return e.plural(o.reduce((i,a)=>[...i,ey(e,a)],[]))}else return ey(e,r)}function ey(e,t){const r=t.s||t.static;if(r)return e.type==="text"?r:e.normalize([r]);{const n=(t.i||t.items).reduce((o,i)=>[...o,vh(e,i)],[]);return e.normalize(n)}}function vh(e,t){const r=t.t||t.type;switch(r){case 3:const n=t;return n.v||n.value;case 9:const o=t;return o.v||o.value;case 4:const i=t;return e.interpolate(e.named(i.k||i.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const s=t,l=s.m||s.modifier;return e.linked(vh(e,s.k||s.key),l?vh(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${r}`)}}const R4=e=>e;let ta=Object.create(null);const Da=e=>vt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function F4(e,t={}){let r=!1;const n=t.onError||kJ;return t.onError=o=>{r=!0,n(o)},{...KJ(e,t),detectError:r}}const $ee=(e,t)=>{if(!_e(e))throw In(pn.NOT_SUPPORT_NON_STRING_MESSAGE);{nt(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||R4)(e),o=ta[n];if(o)return o;const{code:i,detectError:a}=F4(e,t),s=new Function(`return ${i}`)();return a?s:ta[n]=s}};function Iee(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&_e(e)){nt(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||R4)(e),o=ta[n];if(o)return o;const{ast:i,detectError:a}=F4(e,{...t,location:!1,jit:!0}),s=n0(i);return a?s:ta[n]=s}else{const r=e.cacheKey;if(r){const n=ta[r];return n||(ta[r]=n0(e))}else return n0(e)}}const ty=()=>"",Kr=e=>Tt(e);function ry(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=bh(...t),u=nt(c.missingWarn)?c.missingWarn:e.missingWarn,f=nt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=nt(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=_e(c.default)||nt(c.default)?nt(c.default)?i?l:()=>l:c.default:r?i?l:()=>l:"",g=r||p!=="",v=yg(e,c);d&&Dee(c);let[m,b,y]=h?[l,v,s[v]||{}]:M4(e,l,v,a,f,u),x=m,S=l;if(!h&&!(_e(x)||Da(x)||Kr(x))&&g&&(x=p,S=x),!h&&(!(_e(x)||Da(x)||Kr(x))||!_e(b)))return o?Cd:l;let C=!1;const w=()=>{C=!0},k=Kr(x)?x:z4(e,l,b,x,S,w);if(C)return x;const A=Lee(e,b,y,c),T=fee(A),I=Bee(e,k,T),D=n?n(I,l):I;if(__INTLIFY_PROD_DEVTOOLS__){const B={timestamp:Date.now(),key:_e(l)?l:Kr(x)?x.key:"",locale:b||(Kr(x)?x.locale:""),format:_e(x)?x:Kr(x)?x.source:"",message:D};B.meta=fr({},e.__meta,kee()||{}),gee(B)}return D}function Dee(e){Ot(e.list)?e.list=e.list.map(t=>_e(t)?Nx(t):t):vt(e.named)&&Object.keys(e.named).forEach(t=>{_e(e.named[t])&&(e.named[t]=Nx(e.named[t]))})}function M4(e,t,r,n,o,i){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,n,r);let f={},d,h=null;const p="translate";for(let g=0;gn;return c.locale=r,c.key=t,c}const l=a(n,Oee(e,r,o,n,s,i));return l.locale=r,l.key=t,l.source=n,l}function Bee(e,t,r){return t(r)}function bh(...e){const[t,r,n]=e,o={};if(!_e(t)&&!ir(t)&&!Kr(t)&&!Da(t))throw In(pn.INVALID_ARGUMENT);const i=ir(t)?String(t):(Kr(t),t);return ir(r)?o.plural=r:_e(r)?o.default=r:Ke(r)&&!yd(r)?o.named=r:Ot(r)&&(o.list=r),ir(n)?o.plural=n:_e(n)?o.default=n:Ke(n)&&fr(o,n),[i,o]}function Oee(e,t,r,n,o,i){return{locale:t,key:r,warnHtmlMessage:o,onError:a=>{throw i&&i(a),a},onCacheKey:a=>hJ(t,r,a)}}function Lee(e,t,r,n){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:i,messages:h=>{let p=a(r,h);if(p==null&&u){const[,,g]=M4(u,h,t,s,l,c);p=a(g,h)}if(_e(p)||Da(p)){let g=!1;const m=z4(e,h,t,p,h,()=>{g=!0});return g?ty:m}else return Kr(p)?p:ty}};return e.processor&&(d.processor=e.processor),n.list&&(d.list=n.list),n.named&&(d.named=n.named),ir(n.plural)&&(d.pluralIndex=n.plural),d}function ny(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,f]=xh(...t),d=nt(u.missingWarn)?u.missingWarn:e.missingWarn;nt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=yg(e,u),g=a(e,o,p);if(!_e(l)||l==="")return new Intl.DateTimeFormat(p,f).format(c);let v={},m,b=null;const y="datetime format";for(let C=0;C{N4.includes(l)?a[l]=r[l]:i[l]=r[l]}),_e(n)?i.locale=n:Ke(n)&&(a=n),Ke(o)&&(a=o),[i.key||"",s,i,a]}function oy(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__datetimeFormatters.has(i)&&n.__datetimeFormatters.delete(i)}}function iy(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,f]=yh(...t),d=nt(u.missingWarn)?u.missingWarn:e.missingWarn;nt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=yg(e,u),g=a(e,o,p);if(!_e(l)||l==="")return new Intl.NumberFormat(p,f).format(c);let v={},m,b=null;const y="number format";for(let C=0;C{H4.includes(l)?a[l]=r[l]:i[l]=r[l]}),_e(n)?i.locale=n:Ke(n)&&(a=n),Ke(o)&&(a=o),[i.key||"",s,i,a]}function ay(e,t,r){const n=e;for(const o in r){const i=`${t}__${o}`;n.__numberFormatters.has(i)&&n.__numberFormatters.delete(i)}}XJ();/*! - * vue-i18n v9.10.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */const Ree="9.10.1";function Fee(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Gn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Gn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Gn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Gn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Gn().__INTLIFY_PROD_DEVTOOLS__=!1)}const j4=vee.__EXTEND_POINT__,Un=bg(j4);Un(),Un(),Un(),Un(),Un(),Un(),Un(),Un(),Un();const W4=pn.__EXTEND_POINT__,Pr=bg(W4),sr={UNEXPECTED_RETURN_TYPE:W4,INVALID_ARGUMENT:Pr(),MUST_BE_CALL_SETUP_TOP:Pr(),NOT_INSTALLED:Pr(),NOT_AVAILABLE_IN_LEGACY_MODE:Pr(),REQUIRED_VALUE:Pr(),INVALID_VALUE:Pr(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Pr(),NOT_INSTALLED_WITH_PROVIDE:Pr(),UNEXPECTED_ERROR:Pr(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Pr(),BRIDGE_SUPPORT_VUE_2_ONLY:Pr(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Pr(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Pr(),__EXTEND_POINT__:Pr()};function cr(e,...t){return Ya(e,null,void 0)}const Ch=No("__translateVNode"),wh=No("__datetimeParts"),Sh=No("__numberParts"),U4=No("__setPluralRules"),V4=No("__injectWithOption"),_h=No("__dispose");function il(e){if(!vt(e))return e;for(const t in e)if(pu(e,t))if(!t.includes("."))vt(e[t])&&il(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,i=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},Rc(c,a[l])):Rc(c,a)}else _e(s)&&Rc(JSON.parse(s),a)}),o==null&&i)for(const s in a)pu(a,s)&&il(a[s]);return a}function G4(e){return e.type}function q4(e,t,r){let n=vt(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=wd(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,n[i])});{if(vt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(vt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function sy(e){return me(Ma,null,e,0)}const ly="__INTLIFY_META__",cy=()=>[],Mee=()=>!1;let uy=0;function dy(e){return(t,r,n,o)=>e(r,n,Er()||void 0,o)}const zee=()=>{const e=Er();let t=null;return e&&(t=G4(e)[ly])?{[ly]:t}:null};function wg(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,i=e.flatJson,a=hu?M:Xn,s=!!e.translateExistCompatible;let l=nt(e.inheritLocale)?e.inheritLocale:!0;const c=a(r&&l?r.locale.value:_e(e.locale)?e.locale:Ia),u=a(r&&l?r.fallbackLocale.value:_e(e.fallbackLocale)||Ot(e.fallbackLocale)||Ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=a(wd(c.value,e)),d=a(Ke(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=a(Ke(e.numberFormats)?e.numberFormats:{[c.value]:{}});let p=r?r.missingWarn:nt(e.missingWarn)||Do(e.missingWarn)?e.missingWarn:!0,g=r?r.fallbackWarn:nt(e.fallbackWarn)||Do(e.fallbackWarn)?e.fallbackWarn:!0,v=r?r.fallbackRoot:nt(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,b=Tt(e.missing)?e.missing:null,y=Tt(e.missing)?dy(e.missing):null,x=Tt(e.postTranslation)?e.postTranslation:null,S=r?r.warnHtmlMessage:nt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const w=r?r.modifiers:Ke(e.modifiers)?e.modifiers:{};let k=e.pluralRules||r&&r.pluralRules,A;A=(()=>{o&&Zx(null);const W={version:Ree,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:w,pluralRules:k,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:g,fallbackFormat:m,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:S,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};W.datetimeFormats=d.value,W.numberFormats=h.value,W.__datetimeFormatters=Ke(A)?A.__datetimeFormatters:void 0,W.__numberFormatters=Ke(A)?A.__numberFormatters:void 0;const J=Aee(W);return o&&Zx(J),J})(),as(A,c.value,u.value);function I(){return[c.value,u.value,f.value,d.value,h.value]}const D=R({get:()=>c.value,set:W=>{c.value=W,A.locale=c.value}}),B=R({get:()=>u.value,set:W=>{u.value=W,A.fallbackLocale=u.value,as(A,c.value,W)}}),j=R(()=>f.value),F=R(()=>d.value),z=R(()=>h.value);function V(){return Tt(x)?x:null}function oe(W){x=W,A.postTranslation=W}function fe(){return b}function ge(W){W!==null&&(y=dy(W)),b=W,A.missing=y}const U=(W,J,Oe,He,st,yt)=>{I();let Gt;try{__INTLIFY_PROD_DEVTOOLS__,o||(A.fallbackContext=r?Tee():void 0),Gt=W(A)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(A.fallbackContext=void 0)}if(Oe!=="translate exists"&&ir(Gt)&&Gt===Cd||Oe==="translate exists"&&!Gt){const[Nn,hr]=J();return r&&v?He(r):st(Nn)}else{if(yt(Gt))return Gt;throw cr(sr.UNEXPECTED_RETURN_TYPE)}};function X(...W){return U(J=>Reflect.apply(ry,null,[J,...W]),()=>bh(...W),"translate",J=>Reflect.apply(J.t,J,[...W]),J=>J,J=>_e(J))}function ae(...W){const[J,Oe,He]=W;if(He&&!vt(He))throw cr(sr.INVALID_ARGUMENT);return X(J,Oe,fr({resolvedMessage:!0},He||{}))}function Z(...W){return U(J=>Reflect.apply(ny,null,[J,...W]),()=>xh(...W),"datetime format",J=>Reflect.apply(J.d,J,[...W]),()=>Kx,J=>_e(J))}function Be(...W){return U(J=>Reflect.apply(iy,null,[J,...W]),()=>yh(...W),"number format",J=>Reflect.apply(J.n,J,[...W]),()=>Kx,J=>_e(J))}function ye(W){return W.map(J=>_e(J)||ir(J)||nt(J)?sy(String(J)):J)}const te={normalize:ye,interpolate:W=>W,type:"vnode"};function ie(...W){return U(J=>{let Oe;const He=J;try{He.processor=te,Oe=Reflect.apply(ry,null,[He,...W])}finally{He.processor=null}return Oe},()=>bh(...W),"translate",J=>J[Ch](...W),J=>[sy(J)],J=>Ot(J))}function ve(...W){return U(J=>Reflect.apply(iy,null,[J,...W]),()=>yh(...W),"number format",J=>J[Sh](...W),cy,J=>_e(J)||Ot(J))}function Le(...W){return U(J=>Reflect.apply(ny,null,[J,...W]),()=>xh(...W),"datetime format",J=>J[wh](...W),cy,J=>_e(J)||Ot(J))}function $e(W){k=W,A.pluralRules=k}function _(W,J){return U(()=>{if(!W)return!1;const Oe=_e(J)?J:c.value,He=O(Oe),st=A.messageResolver(He,W);return s?st!=null:Da(st)||Kr(st)||_e(st)},()=>[W],"translate exists",Oe=>Reflect.apply(Oe.te,Oe,[W,J]),Mee,Oe=>nt(Oe))}function E(W){let J=null;const Oe=$4(A,u.value,c.value);for(let He=0;He{l&&(c.value=W,A.locale=W,as(A,c.value,u.value))}),Je(r.fallbackLocale,W=>{l&&(u.value=W,A.fallbackLocale=W,as(A,c.value,u.value))}));const Se={id:uy,locale:D,fallbackLocale:B,get inheritLocale(){return l},set inheritLocale(W){l=W,W&&r&&(c.value=r.locale.value,u.value=r.fallbackLocale.value,as(A,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:j,get modifiers(){return w},get pluralRules(){return k||{}},get isGlobal(){return o},get missingWarn(){return p},set missingWarn(W){p=W,A.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(W){g=W,A.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(W){v=W},get fallbackFormat(){return m},set fallbackFormat(W){m=W,A.fallbackFormat=m},get warnHtmlMessage(){return S},set warnHtmlMessage(W){S=W,A.warnHtmlMessage=W},get escapeParameter(){return C},set escapeParameter(W){C=W,A.escapeParameter=W},t:X,getLocaleMessage:O,setLocaleMessage:L,mergeLocaleMessage:G,getPostTranslationHandler:V,setPostTranslationHandler:oe,getMissingHandler:fe,setMissingHandler:ge,[U4]:$e};return Se.datetimeFormats=F,Se.numberFormats=z,Se.rt=ae,Se.te=_,Se.tm=P,Se.d=Z,Se.n=Be,Se.getDateTimeFormat=K,Se.setDateTimeFormat=H,Se.mergeDateTimeFormat=ee,Se.getNumberFormat=Q,Se.setNumberFormat=Ce,Se.mergeNumberFormat=Te,Se[V4]=n,Se[Ch]=ie,Se[wh]=Le,Se[Sh]=ve,Se}function Nee(e){const t=_e(e.locale)?e.locale:Ia,r=_e(e.fallbackLocale)||Ot(e.fallbackLocale)||Ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Tt(e.missing)?e.missing:void 0,o=nt(e.silentTranslationWarn)||Do(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=nt(e.silentFallbackWarn)||Do(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=nt(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=Ke(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Tt(e.postTranslation)?e.postTranslation:void 0,f=_e(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,h=nt(e.sync)?e.sync:!0;let p=e.messages;if(Ke(e.sharedMessages)){const C=e.sharedMessages;p=Object.keys(C).reduce((k,A)=>{const T=k[A]||(k[A]={});return fr(T,C[A]),k},p||{})}const{__i18n:g,__root:v,__injectWithOption:m}=e,b=e.datetimeFormats,y=e.numberFormats,x=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:p,flatJson:x,datetimeFormats:b,numberFormats:y,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:h,translateExistCompatible:S,__i18n:g,__root:v,__injectWithOption:m}}function Eh(e={},t){{const r=wg(Nee(e)),{__extender:n}=e,o={id:r.id,get locale(){return r.locale.value},set locale(i){r.locale.value=i},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(i){r.fallbackLocale.value=i},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return r.getMissingHandler()},set missing(i){r.setMissingHandler(i)},get silentTranslationWarn(){return nt(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(i){r.missingWarn=nt(i)?!i:i},get silentFallbackWarn(){return nt(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(i){r.fallbackWarn=nt(i)?!i:i},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(i){r.fallbackFormat=i},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(i){r.setPostTranslationHandler(i)},get sync(){return r.inheritLocale},set sync(i){r.inheritLocale=i},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){r.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(i){r.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...i){const[a,s,l]=i,c={};let u=null,f=null;if(!_e(a))throw cr(sr.INVALID_ARGUMENT);const d=a;return _e(s)?c.locale=s:Ot(s)?u=s:Ke(s)&&(f=s),Ot(l)?u=l:Ke(l)&&(f=l),Reflect.apply(r.t,r,[d,u||f||{},c])},rt(...i){return Reflect.apply(r.rt,r,[...i])},tc(...i){const[a,s,l]=i,c={plural:1};let u=null,f=null;if(!_e(a))throw cr(sr.INVALID_ARGUMENT);const d=a;return _e(s)?c.locale=s:ir(s)?c.plural=s:Ot(s)?u=s:Ke(s)&&(f=s),_e(l)?c.locale=l:Ot(l)?u=l:Ke(l)&&(f=l),Reflect.apply(r.t,r,[d,u||f||{},c])},te(i,a){return r.te(i,a)},tm(i){return r.tm(i)},getLocaleMessage(i){return r.getLocaleMessage(i)},setLocaleMessage(i,a){r.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){r.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(r.d,r,[...i])},getDateTimeFormat(i){return r.getDateTimeFormat(i)},setDateTimeFormat(i,a){r.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){r.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(r.n,r,[...i])},getNumberFormat(i){return r.getNumberFormat(i)},setNumberFormat(i,a){r.setNumberFormat(i,a)},mergeNumberFormat(i,a){r.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return o.__extender=n,o}}const Sg={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Hee({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===ot?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function Y4(e){return ot}const jee=pe({name:"i18n-t",props:fr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ir(e)||!isNaN(e)}},Sg),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||Sd({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(r).filter(f=>f!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=_e(e.plural)?+e.plural:e.plural);const s=Hee(t,i),l=o[Ch](e.keypath,s,a),c=fr({},n),u=_e(e.tag)||vt(e.tag)?e.tag:Y4();return $(u,c,l)}}}),fy=jee;function Wee(e){return Ot(e)&&!_e(e[0])}function K4(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),_e(e.format)?a.key=e.format:vt(e.format)&&(_e(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((d,h)=>r.includes(h)?fr({},d,{[h]:e.format[h]}):d,{}));const l=n(e.value,a,s);let c=[a.key];Ot(l)?c=l.map((d,h)=>{const p=o[d.type],g=p?p({[d.type]:d.value,index:h,parts:l}):[d.value];return Wee(g)&&(g[0].key=`${d.type}-${h}`),g}):_e(l)&&(c=[l]);const u=fr({},i),f=_e(e.tag)||vt(e.tag)?e.tag:Y4();return $(f,u,c)}}const Uee=pe({name:"i18n-n",props:fr({value:{type:Number,required:!0},format:{type:[String,Object]}},Sg),setup(e,t){const r=e.i18n||Sd({useScope:"parent",__useComponent:!0});return K4(e,t,H4,(...n)=>r[Sh](...n))}}),hy=Uee,Vee=pe({name:"i18n-d",props:fr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Sg),setup(e,t){const r=e.i18n||Sd({useScope:"parent",__useComponent:!0});return K4(e,t,N4,(...n)=>r[wh](...n))}}),py=Vee;function Gee(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function qee(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw cr(sr.UNEXPECTED_ERROR);const u=Gee(e,s.$),f=gy(c);return[Reflect.apply(u.t,u,[...my(f)]),u]};return{created:(a,s)=>{const[l,c]=t(s);hu&&e.global===c&&(a.__i18nWatcher=Je(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{hu&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=gy(s);a.textContent=Reflect.apply(l.t,l,[...my(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function gy(e){if(_e(e))return{path:e};if(Ke(e)){if(!("path"in e))throw cr(sr.REQUIRED_VALUE,"path");return e}else throw cr(sr.INVALID_VALUE)}function my(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,a={},s=n||{};return _e(r)&&(a.locale=r),ir(o)&&(a.plural=o),ir(i)&&(a.plural=i),[t,s,a]}function Yee(e,t,...r){const n=Ke(r[0])?r[0]:{},o=!!n.useI18nComponentName;(nt(n.globalInstall)?n.globalInstall:!0)&&([o?"i18n":fy.name,"I18nT"].forEach(a=>e.component(a,fy)),[hy.name,"I18nN"].forEach(a=>e.component(a,hy)),[py.name,"I18nD"].forEach(a=>e.component(a,py))),e.directive("t",qee(t))}function Kee(e,t,r){return{beforeCreate(){const n=Er();if(!n)throw cr(sr.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=vy(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Eh(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=vy(e,o);else{this.$i18n=Eh({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&q4(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Er();if(!n)throw cr(sr.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function vy(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[U4](t.pluralizationRules||e.pluralizationRules);const r=wd(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const Xee=No("global-vue-i18n");function Qee(e={},t){const r=__VUE_I18N_LEGACY_API__&&nt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=nt(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,i=new Map,[a,s]=Zee(e,r),l=No("");function c(d){return i.get(d)||null}function u(d,h){i.set(d,h)}function f(d){i.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,d),Ke(p[0])){const m=p[0];d.__composerExtend=m.__composerExtend,d.__vueI18nExtend=m.__vueI18nExtend}let g=null;!r&&n&&(g=ste(h,d.global)),__VUE_I18N_FULL_INSTALL__&&Yee(h,d,...p),__VUE_I18N_LEGACY_API__&&r&&h.mixin(Kee(s,s.__composer,d));const v=h.unmount;h.unmount=()=>{g&&g(),d.dispose(),v()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function Sd(e={}){const t=Er();if(t==null)throw cr(sr.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw cr(sr.NOT_INSTALLED);const r=Jee(t),n=tte(r),o=G4(t),i=ete(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw cr(sr.NOT_AVAILABLE_IN_LEGACY_MODE);return ite(t,i,n,e)}if(i==="global")return q4(n,e,o),n;if(i==="parent"){let l=rte(r,t,e.__useComponent);return l==null&&(l=n),l}const a=r;let s=a.__getInstance(t);if(s==null){const l=fr({},e);"__i18n"in o&&(l.__i18n=o.__i18n),n&&(l.__root=n),s=wg(l),a.__composerExtend&&(s[_h]=a.__composerExtend(s)),ote(a,t,s),a.__setInstance(t,s)}return s}function Zee(e,t,r){const n=Uh();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Eh(e)):n.run(()=>wg(e));if(o==null)throw cr(sr.UNEXPECTED_ERROR);return[n,o]}}function Jee(e){{const t=ze(e.isCE?Xee:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw cr(e.isCE?sr.NOT_INSTALLED_WITH_PROVIDE:sr.UNEXPECTED_ERROR);return t}}function ete(e,t){return yd(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function tte(e){return e.mode==="composition"?e.global:e.global.__composer}function rte(e,t,r=!1){let n=null;const o=t.root;let i=nte(t,r);for(;i!=null;){const a=e;if(e.mode==="composition")n=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(n=s.__composer,r&&n&&!n[V4]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function nte(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ote(e,t,r){_t(()=>{},t),wi(()=>{const n=r;e.__deleteInstance(t);const o=n[_h];o&&(o(),delete n[_h])},t)}function ite(e,t,r,n={}){const o=t==="local",i=Xn(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw cr(sr.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=nt(n.inheritLocale)?n.inheritLocale:!_e(n.locale),s=M(!o||a?r.locale.value:_e(n.locale)?n.locale:Ia),l=M(!o||a?r.fallbackLocale.value:_e(n.fallbackLocale)||Ot(n.fallbackLocale)||Ke(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:s.value),c=M(wd(s.value,n)),u=M(Ke(n.datetimeFormats)?n.datetimeFormats:{[s.value]:{}}),f=M(Ke(n.numberFormats)?n.numberFormats:{[s.value]:{}}),d=o?r.missingWarn:nt(n.missingWarn)||Do(n.missingWarn)?n.missingWarn:!0,h=o?r.fallbackWarn:nt(n.fallbackWarn)||Do(n.fallbackWarn)?n.fallbackWarn:!0,p=o?r.fallbackRoot:nt(n.fallbackRoot)?n.fallbackRoot:!0,g=!!n.fallbackFormat,v=Tt(n.missing)?n.missing:null,m=Tt(n.postTranslation)?n.postTranslation:null,b=o?r.warnHtmlMessage:nt(n.warnHtmlMessage)?n.warnHtmlMessage:!0,y=!!n.escapeParameter,x=o?r.modifiers:Ke(n.modifiers)?n.modifiers:{},S=n.pluralRules||o&&r.pluralRules;function C(){return[s.value,l.value,c.value,u.value,f.value]}const w=R({get:()=>i.value?i.value.locale.value:s.value,set:E=>{i.value&&(i.value.locale.value=E),s.value=E}}),k=R({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:E=>{i.value&&(i.value.fallbackLocale.value=E),l.value=E}}),A=R(()=>i.value?i.value.messages.value:c.value),T=R(()=>u.value),I=R(()=>f.value);function D(){return i.value?i.value.getPostTranslationHandler():m}function B(E){i.value&&i.value.setPostTranslationHandler(E)}function j(){return i.value?i.value.getMissingHandler():v}function F(E){i.value&&i.value.setMissingHandler(E)}function z(E){return C(),E()}function V(...E){return i.value?z(()=>Reflect.apply(i.value.t,null,[...E])):z(()=>"")}function oe(...E){return i.value?Reflect.apply(i.value.rt,null,[...E]):""}function fe(...E){return i.value?z(()=>Reflect.apply(i.value.d,null,[...E])):z(()=>"")}function ge(...E){return i.value?z(()=>Reflect.apply(i.value.n,null,[...E])):z(()=>"")}function U(E){return i.value?i.value.tm(E):{}}function X(E,P){return i.value?i.value.te(E,P):!1}function ae(E){return i.value?i.value.getLocaleMessage(E):{}}function Z(E,P){i.value&&(i.value.setLocaleMessage(E,P),c.value[E]=P)}function Be(E,P){i.value&&i.value.mergeLocaleMessage(E,P)}function ye(E){return i.value?i.value.getDateTimeFormat(E):{}}function q(E,P){i.value&&(i.value.setDateTimeFormat(E,P),u.value[E]=P)}function te(E,P){i.value&&i.value.mergeDateTimeFormat(E,P)}function ie(E){return i.value?i.value.getNumberFormat(E):{}}function ve(E,P){i.value&&(i.value.setNumberFormat(E,P),f.value[E]=P)}function Le(E,P){i.value&&i.value.mergeNumberFormat(E,P)}const $e={get id(){return i.value?i.value.id:-1},locale:w,fallbackLocale:k,messages:A,datetimeFormats:T,numberFormats:I,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(E){i.value&&(i.value.inheritLocale=E)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:x},get pluralRules(){return i.value?i.value.pluralRules:S},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:d},set missingWarn(E){i.value&&(i.value.missingWarn=E)},get fallbackWarn(){return i.value?i.value.fallbackWarn:h},set fallbackWarn(E){i.value&&(i.value.missingWarn=E)},get fallbackRoot(){return i.value?i.value.fallbackRoot:p},set fallbackRoot(E){i.value&&(i.value.fallbackRoot=E)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(E){i.value&&(i.value.fallbackFormat=E)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:b},set warnHtmlMessage(E){i.value&&(i.value.warnHtmlMessage=E)},get escapeParameter(){return i.value?i.value.escapeParameter:y},set escapeParameter(E){i.value&&(i.value.escapeParameter=E)},t:V,getPostTranslationHandler:D,setPostTranslationHandler:B,getMissingHandler:j,setMissingHandler:F,rt:oe,d:fe,n:ge,tm:U,te:X,getLocaleMessage:ae,setLocaleMessage:Z,mergeLocaleMessage:Be,getDateTimeFormat:ye,setDateTimeFormat:q,mergeDateTimeFormat:te,getNumberFormat:ie,setNumberFormat:ve,mergeNumberFormat:Le};function _(E){E.locale.value=s.value,E.fallbackLocale.value=l.value,Object.keys(c.value).forEach(P=>{E.mergeLocaleMessage(P,c.value[P])}),Object.keys(u.value).forEach(P=>{E.mergeDateTimeFormat(P,u.value[P])}),Object.keys(f.value).forEach(P=>{E.mergeNumberFormat(P,f.value[P])}),E.escapeParameter=y,E.fallbackFormat=g,E.fallbackRoot=p,E.fallbackWarn=h,E.missingWarn=d,E.warnHtmlMessage=b}return bn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw cr(sr.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const E=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=E.locale.value,l.value=E.fallbackLocale.value,c.value=E.messages.value,u.value=E.datetimeFormats.value,f.value=E.numberFormats.value):o&&_(E)}),$e}const ate=["locale","fallbackLocale","availableLocales"],by=["t","rt","d","n","tm","te"];function ste(e,t){const r=Object.create(null);return ate.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw cr(sr.UNEXPECTED_ERROR);const a=Vt(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(r,o,a)}),e.config.globalProperties.$i18n=r,by.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw cr(sr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,by.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Fee();__INTLIFY_JIT_COMPILATION__?Qx(Iee):Qx($ee);See(oee);_ee($4);if(__INTLIFY_PROD_DEVTOOLS__){const e=Gn();e.__INTLIFY__=!0,hee(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const lte={language:"en",common:{add:"Add",addSuccess:"Add Success",edit:"Edit",editSuccess:"Edit Success",delete:"Delete",deleteSuccess:"Delete Success",save:"Save",saveSuccess:"Save Success",reset:"Reset",action:"Action",export:"Export",exportSuccess:"Export Success",import:"Import",importSuccess:"Import Success",clear:"Clear",clearSuccess:"Clear Success",yes:"Yes",no:"No",update:"Update",download:"Download",noData:"No Data",wrong:"Something went wrong, please try again later.",success:"Success",failed:"Failed",verify:"Verify",unauthorizedTips:"Unauthorized, please verify first.",confirm:"Confirm",cancel:"Cancel"},chat:{newChatButton:"New Chat",placeholder:"Ask me anything...(Shift + Enter = line break)",placeholderMobile:"Ask me anything...",copy:"Copy",copied:"Copied",copyCode:"Copy Code",clearChat:"Clear Chat",clearChatConfirm:"Are you sure to clear this chat?",exportImage:"Export Image",exportImageConfirm:"Are you sure to export this chat to png?",exportSuccess:"Export Success",exportFailed:"Export Failed",usingContext:"Context Mode",turnOnContext:"In the current mode, sending messages will carry previous chat records.",turnOffContext:"In the current mode, sending messages will not carry previous chat records.",deleteMessage:"Delete Message",deleteMessageConfirm:"Are you sure to delete this message?",deleteHistoryConfirm:"Are you sure to clear this history?",clearHistoryConfirm:"Are you sure to clear chat history?",preview:"Preview",showRawText:"Show as raw text",size:"Size:",generatedContentDisclaimer:"AI can make mistakes. Consider checking important information. All rights reserved ©",square1:"Square [1:1]",illustration:"Illustration [4:3]",wallpaper:"Wallpaper [16:9]",media:"Media [3:4]",poster:"Poster [9:16]",square:"Square",landscape:"Landscape",portrait:"Portrait",chatDialogue:"Chat Dialogue",startNewConversationPrompt:"Click the button below to start a new conversation",newConversation:"New Conversation",networkModeEnabledContextInvalid:"Network mode enabled, context invalidated!",networkModeDisabled:"Network mode disabled!",pointsMall:"Points Mall",toggleTheme:"Toggle Theme",signInReward:"Sign-In Reward",networkMode:"Network Mode",searchHistoryConversations:"Search History Conversations",announcement:"Announcement",clear:"Clear",remaining:"",ordinaryPoints:"Ordinary Points",advancedPoints:"Advanced Points",drawingPoints:"Drawing Points",points:"Points",clearConversation:"Clear Conversation",clearAllNonFavoriteConversations:"Clear all non-favorite conversations?",more:"More",collapse:"Collapse",myApps:"My Apps",appSquare:"App Square",favorites:"Favorites",todayConversations:"Today",Conversations:"",historyConversations:"History",favoriteConversations:"Favorite",unfavorite:"Unfavorite",rename:"Rename",deleteConversation:"Delete",me:"You",onlineSearch:"Online Search",mindMap:"Mind Map",fileAnalysis:"File Analysis",delete:"Delete",regenerate:"Regenerate",pause:"Pause",loading:"Loading...",readAloud:"Read Aloud",U1:"🔍 U1",U2:"🔍 U2",U3:"🔍 U3",U4:"🔍 U4",V1:"🪄 V1",V2:"🪄 V2",V3:"🪄 V3",V4:"🪄 V4",panLeft:"⬅️ Pan Left",panRight:"➡️ Pan Right",panUp:"⬆️ Pan Up",panDown:"⬇️ Pan Down",zoomIn15x:"↔️ Zoom 1.5x",zoomIn2x:"↔️ Zoom 2x",minorTransform:"Vary(Subtle)",strongTransform:"Vary(Strong)",enlargeImage:"Enlarge image {order}",transformImage:"Transform image {order}",expandDrawing:"Expand drawing",advancedTransform:"Advanced transform",translateImage:"Translate image",enlargeImagePrefix:"Enlarge image ",enlargeImageSuffix:"",transformImagePrefix:"Transform image ",transformImageSuffix:"",imageToImage:"Image to Image",faceConsistency:"Face Consistency",styleConsistency:"Style Consistency",selectAppOrTopic:"Select an application or topic for quick conversation"},app:{sampleTemplate:"Sample Template",exploreInfinitePossibilities:"Explore infinite possibilities, create a smart future with AI",searchAppNameQuickFind:"Search app names, quick find applications...",allCategories:"All Categories",noModelConfigured:"No specific application model has been configured by the administrator, please contact them to set it up~"},setting:{setting:"Setting",general:"General",advanced:"Advanced",config:"Config",avatarLink:"Avatar Link",name:"Name",description:"Description",role:"Role",resetUserInfo:"Reset UserInfo",chatHistory:"ChatHistory",theme:"Theme",language:"Language",api:"API",reverseProxy:"Reverse Proxy",timeout:"Timeout",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API Balance",sign:"Signature"},store:{siderButton:"Prompt Store",local:"Local",online:"Online",title:"Title",description:"Description",clearStoreConfirm:"Whether to clear the data?",importPlaceholder:"Please paste the JSON data here",addRepeatTitleTips:"Title duplicate, please re-enter",addRepeatContentTips:"Content duplicate: {msg}, please re-enter",editRepeatTitleTips:"Title conflict, please revise",editRepeatContentTips:"Content conflict {msg} , please re-modify",importError:"Key value mismatch",importRepeatTitle:"Title repeatedly skipped: {msg}",importRepeatContent:"Content is repeatedly skipped: {msg}",onlineImportWarning:"Note: Please check the JSON file source!",downloadError:"Please check the network status and JSON file validity"},draw:{use:"Use",download:"Download",delete:"Delete",zoom:"Zoom:",U1:"U1",U2:"U2",U3:"U3",U4:"U4",regenerateOnce:"Regenerate",transform:"Transform:",V1:"V1",V2:"V2",V3:"V3",V4:"V4",pan:"Pan:",panLeft:"⬅️",panRight:"➡️",panUp:"⬆️",panDown:"⬇️",transformZoom:"Zoom Transform",zoom1_5x:"Zoom 1.5x",zoom2x:"Zoom 2x",minorTransform:"Minor Transform",strongTransform:"Strong Transform",regionalRedraw:"Regional Redraw",regionalRedraw1:"Regional Redraw (Select the Area to Change)",submitTask:"Submit Task",selectSuiteForZoom:"Action: Select a suite to zoom",selectSuiteForTransform:"Action: Select a suite for transformation",regeneratingImage:"Action: Regenerating the image",drawingInProgress:"Action: Rapid drawing in progress...",tryDifferentPrompt:"Execute: Try a different prompt!",statusWaiting:"Waiting",statusDrawing:"Drawing",statusSuccess:"Success",statusFailure:"Failure",statusTimeout:"Timeout",downloadImageTitle:"Download Image",downloadImageContent:"Download the current image",downloadButtonText:"Download",cancelButtonText:"Cancel",deleteRecordTitle:"Delete Record",deleteRecordContent:"Delete the current drawing record?",deleteButtonText:"Delete",submitZoomDrawingSuccess:"Zoom drawing task submitted successfully, please wait for it to finish!",submitRedrawSuccess:"Redraw task submitted successfully, please wait for it to finish!",submitTransformDrawingSuccess:"Transform drawing task submitted successfully, please wait for it to finish!",submitEnlargeDrawingSuccess:"Enlarge drawing task submitted successfully, please wait for it to finish!",submitAdvancedTransformDrawingSuccess:"Advanced transform drawing task submitted successfully, please wait for it to finish!",submitRegionalRedrawSuccess:"Regional redraw task submitted successfully, please wait for it to finish!",drawingRecordDeleted:"Drawing record has been deleted!",queueing:"Queueing...",drawing:"Drawing...",storing:"Storing image...",drawingFailed:"Drawing Failed",pointsRefunded:"Points Refunded!",submitDrawingTaskSuccess:"Drawing task submitted successfully, please wait for it to finish!",defaultStyle:"Default Style",expressiveStyle:"Expressive Style",cuteStyle:"Cute Style",scenicStyle:"Scenic Style",standardQuality:"Standard",generalQuality:"General",highDefinitionQuality:"High Definition",ultraHighDefinitionQuality:"Ultra High Definition",enterDescription:"Please enter descriptive words!",optimizationFailed:"Optimization failed!",professionalDrawing:"Professional Drawing",parameterExplanation:"Parameter Explanation: Generate image size ratio",imageSize:"Image Size",modelSelection:"Model Selection",tooltipMJ:"MJ: General-purpose realistic model",tooltipNIJI:"NIJI: Anime style, suitable for 2D models",version:"Version",style:"Style",parameters:"Parameters",parametersTooltip:"Use parameters wisely to achieve more ideal results!",quality:"Quality",chaos:"Chaos",chaosDescription:"Value range: 0-100, --chaos or --c",chaosExplanation:"Chaos level, can be understood as the space for AI to think outside the box",chaosAdvice:"The smaller the value, the more reliable, with the default of 0 being the most precise",stylization:"Stylization",stylizationDescription:"Stylization: --stylize or --s, range 1-1000",parameterExplanation1:"Parameter explanation: The higher the number, the richer and more artistic the visual presentation",setting:"Setting",carryParameters:"Carry Parameters",autoCarryParameters:"Whether to automatically carry parameters",carryOn:"On: Carries the parameters we have configured",carryOff:"Off: Uses the parameters we customize in the command",imageToImage:"Image to Image",clickOrDrag:"Click or drag an image here to use as input",supportFormats:"Supports PNG and JPG formats",remainingPoints:"Remaining Points",refresh:"Refresh",accountInfo:"Account Information",points:"Points",paintingSingleUse:"Painting:",imageGenerationSingleUse:"Generation:",enlargementSingleUse:"Enlargement:",submitDrawingTask:"Enter keywords, submit drawing task",optimize:"Optimize",enterDrawingKeywords:"Enter drawing keywords. For example: A colorful cat, cute, cartoon",unnecessaryElements:"Unnecessary Elements",exclusionPrompt:"Example: Generate a room image, but exclude the bed, you can fill in 'bed'!",workingContents:"Working Contents",currentTasks:"Current tasks in progress",goToAIDrawingSquare:"Click to go to the AI Drawing Square",tasksInProgress:"tasks are currently in progress. Please wait patiently for the drawing to complete. You can visit other pages and return later to see the results!",myDrawings:"My Drawings",aiDrawingSquare:"AI Drawing Square",sizeAdjustment:"Size Adjustment",keywordSearchPlaceholder:"Prompt Keyword Search"},pay:{membershipMarket:"Membership Market",sizeAdjustment:"Size Adjustment",memberPackage:"Limited Time Member Package",permanentAddOnCard:"Permanent Add-On Card",baseModelQuota:"Base Model Quota",advancedModelQuota:"Advanced Model Quota",MJDrawingQuota:"MJ Drawing Quota",packageValidity:"Package Validity",days:"days",permanent:"Permanent",points:"Points",welcomeTipMobile:"Explore freely, welcome to our online store!",welcomeTipDesktop:"Explore freely, welcome to our online store, thank you for choosing us, let's start a delightful shopping journey together!",paymentNotEnabled:"Payment has not been enabled by the admin!",purchaseSuccess:"Purchase successful, enjoy your product!",paymentNotComplete:"You have not completed the payment yet!",wechat:"WeChat",alipay:"Alipay",wechatPay:"WeChat Pay",alipayPay:"Alipay Pay",paymentSuccess:"Congratulations, your payment was successful. Enjoy your purchase!",paymentTimeout:"Payment timeout, please place your order again!",productPayment:"Product Payment",amountDue:"Amount Due:",packageName:"Package Name:",packageDescription:"Package Description:",siteAdminEnabledRedirect:"The site administrator has enabled redirect payment",clickToPay:"Click to Proceed to Payment",completePaymentWithin:"Please complete the payment within",timeToCompletePayment:"!",open:"Open",scanToPay:"Scan to Pay"},mindmap:{title:"Mind Map",yourNeeds:"Your Needs?",inputPlaceholder:"Please enter a brief description of the content you want to generate, AI will produce a complete markdown content and its mind map for you!",generateMindMapButton:"Generate Mind Map",contentRequirements:"Content Requirements",tryDemoButton:"Try a Demo",usageCredits:"Base credits per use: 1",exportHTML:"Export HTML",exportPNG:"Export PNG",exportSVG:"Export SVG"},usercenter:{defaultSignature:"I am an AI robot based on deep learning and natural language processing technologies, aimed at providing users with efficient, accurate, and personalized intelligent services.",syncComplete:"Data synchronization completed",personalCenter:"Personal Center",logOut:"Log Out",myUsageRecord:"My Usage Record on This Site",basicModelCredits:"Basic Model Credits:",advancedModelCredits:"Advanced Model Credits:",basicModelUsage:"Basic Model Usage:",advancedModelUsage:"Advanced Model Usage:",drawingUsageCredits:"Drawing Usage Credits:",bindWeChat:"Bind WeChat:",clickToBindWeChat:"Click to Bind WeChat",weChatBound:"WeChat Bound",syncVisitorData:"Click to Sync Visitor Data",points:"Points",membershipExpiration:"Membership Expiration Date:",editInfoDescription:"Edit personal information, view more details",myDetails:"My Details",myWallet:"My Wallet",basicInfo:"Basic Information",userBasicSettings:"User Basic Settings",avatarPlaceholder:"Please enter your avatar URL",usernamePlaceholder:"Edit your username",signaturePlaceholder:"Edit your signature",passwordManagement:"Password Management",inviteBenefits:"Invite for Benefits",clickToLogin:"Log In",notLoggedIn:"Not Logged In",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",inviteTime:"Invite Time",rewardStatus:"Reward Status",certified:"Certified",notActivated:"Not Activated",rewardReceived:"Reward Received",waitingConfirmation:"Waiting for Confirmation",linkGeneratedSuccess:"Invitation link generated successfully",generateLinkFirst:"Please generate your exclusive invitation link first!",linkCopiedSuccess:"Exclusive invitation link copied successfully!",copyNotSupported:"Automatic copying is not supported on this device, please copy manually!",inviteForBenefits:"Invite Users, Earn Benefits!",myInviteCode:"My Invitation Code",generateInviteCode:"Generate Exclusive Invite Code",copyInviteLink:"Copy Exclusive Invite Link",inviteOneUser:"Inviting a user grants",basicModelCredits1:"basic model credits+",advancedModelCredits1:"advanced model credits+",mjDrawingCredits:"MJ drawing credits",receiveInvitation:"Invited users receive",creditsEnd:"credits",invitationRecord:"Invitation Record",passwordMinLength:"The minimum password length is 6 characters",passwordMaxLength:"The maximum password length is 30 characters",enterPassword:"Please enter a password",reenterPassword:"Please re-enter your password",passwordsNotMatch:"The passwords do not match",passwordUpdateSuccess:"Password updated successfully, please log in again!",changeYourPassword:"Change Your Password",oldPassword:"Old Password",newPassword:"New Password",confirmPassword:"Confirm Password",reloginAfterPasswordChange:"You will need to log in again after updating your password!",updateYourPassword:"Update Your Password",passwordRequirements:"Password Requirements",newPasswordInstructions:"To create a new password, you must meet all the following requirements:",minimumCharacters:"At least 6 characters",maximumCharacters:"No more than 30 characters",requireNumber:"Must contain at least one number",orderNumber:"Order Number",rechargeType:"Recharge Type",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",mjDrawingQuota:"MJ Drawing Quota",validity:"Validity",rechargeTime:"Recharge Time",enterCardSecret:"Please enter the card secret first!",cardRedeemSuccess:"Card redeemed successfully, enjoy your use!",userWalletBalance:"User Wallet Balance",basicModelBalance:"Basic Model Balance",creditUsageNote:"Each conversation consumes different credits depending on the model!",advancedModelBalance:"Advanced Model Balance",modelConsumptionNote:"Each conversation consumes different credits depending on the model!",mjDrawingBalance:"MJ Drawing Balance",drawingConsumptionNote:"Different credits are consumed based on drawing actions!",cardRecharge:"Card Recharge",enterCardDetails:"Please paste or enter your card details!",exchange:"Exchange",buyCardSecret:"Buy Card Secret",rechargeRecords:"Recharge Records",packagePurchase:"Package Purchase",buyPackage:"Buy Package"},siderBar:{signInReward:"Sign-in Reward",themeSwitch:"Theme Switch",personalCenter:"Personal Center",loginAccount:"Log In Account"},notice:{doNotRemind24h:"Do not remind again for 24 hours"},login:{enterUsername:"Please enter your username",usernameLength:"Username must be between 2 and 30 characters",enterPassword:"Please enter your password",passwordLength:"Password must be between 6 and 30 characters",enterEmail:"Please enter your email address",emailValid:"Please enter a valid email address",enterCaptcha:"Please enter the captcha",emailPhone:"Email / Phone",email:"Email",phone:"Phone",registrationSuccess:"Account registration successful, start your experience!",loginSuccess:"Account login successful, start your experience!",registerTitle:"Register",enterContact:"Please provide your ",enterCode:"Please enter the verification code",sendVerificationCode:"Send Verification Code",optionalInvitationCode:"Invitation Code [Optional]",registerAccount:"Register Account",alreadyHaveAccount:"Already have an account?",goToLogin:"Go to Login",password:"Password",enterYourPassword:"Please enter your password",rememberAccount:"Remember account",forgotPassword:"Forgot password?",loginAccount:"Log In Account",noAccount:"Don’t have an account?",register:"Register",orUse:"or use",scanLogin:"Scan to Log In",wechatLogin:"WeChat Login",wechatScanFailed:"Failed WeChat QR code login? Use",useWechatScan:"Use WeChat to Scan and Log In"},share:{orderAmount:"Order Amount",productType:"Product Type",status:"Status",commissionRate:"Commission Rate",commission:"Commission",orderTime:"Order Time",purchasePackage:"Purchase Package",accounted:"Accounted",generateInviteCodeSuccess:"Invitation code generated successfully",withdrawalTime:"Withdrawal Time",withdrawalAmount:"Withdrawal Amount",withdrawalChannel:"Withdrawal Channel",withdrawalStatus:"Withdrawal Status",withdrawalRemarks:"Withdrawal Remarks",auditor:"Auditor",alipay:"Alipay",wechat:"WeChat",paid:"Paid",rejected:"Rejected",inReview:"In Review",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",registered:"Registered",pendingActivation:"Pending Activation",registrationTime:"Registration Time",lastLogin:"Last Login",requestInviteCodeFirst:"Please request your invitation code first",linkCopiedSuccess:"Share link copied successfully",title:"Referral Program",description:"Join us and share in success! Welcome to our distribution page, become our partner and create a bright future together!",defaultSalesOutletName:"Rookie Referral Officer",myReferrals:"My Referrals",currencyUnit:"Yuan",remainingAmount:"Remaining Withdrawable Amount",withdrawingAmount:"Amount in Withdrawal",withdrawNow:"Withdraw Now",minimumWithdrawalPrefix:"Minimum",minimumWithdrawalSuffix:"Yuan Withdrawable",purchaseOrderCount:"Purchase Order Count",promotionLinkVisits:"Promotion Link Visits",registeredUsers:"Registered Users",referralEarnings:"Referral Earnings",referralEarningsDescription:"Commission amount returned after referred users register and buy products",percentage:"Percentage",applyForAdvancedAgent:"Apply to Become an Advanced Agent",contactAdminForAdvancedAgent:"Contact the site owner to apply for an advanced agent to enjoy high commissions",joinAsPartner:"Join Us as a Partner",partnerDescription:"Join us as a partner to co-operate the community, win-win cooperation!",winTogether:"Win Together, Advance Together",referralLink:"Referral Link:",apply:"Apply",referralRecordsTab:"Referral Records",withdrawalRecordsTab:"Withdrawal Records",registeredUsersTab:"Registered Users",inviteFriends:"Invite friends, gift meal cards, and enjoy recharge commissions!",inviteLink:"Invite Link",copy:"Copy",inviteBenefits1:"Both parties enjoy a certain amount of permanent card rewards when inviting friends.",inviteBenefits2Prefix:"Earn a ",inviteBenefits2Suffix:"% commission on your friend's recharge amount.",enterWithdrawalAmount:"Please enter your withdrawal amount!",selectWithdrawalChannel:"Please select your withdrawal channel!",enterContactInfo:"Please provide your contact information and remark!",optionalRemark:"If there are any special circumstances, please remark!",withdrawalSuccess:"Withdrawal application successful, please wait for approval!",withdrawalApplicationForm:"Withdrawal Application Form",contactInformation:"Contact Information",withdrawalRemark:"Withdrawal Remark",enterWithdrawalRemark:"Please enter your withdrawal remarks",applyWithdrawal:"Apply for Withdrawal"},goods:{purchaseSuccess:"Purchase successful, enjoy your item!",paymentNotSuccessful:"You have not completed the payment yet!",orderConfirmationTitle:"Order Confirmation",orderConfirmationContent:"Welcome to purchase, are you sure you want to buy ",thinkAgain:"Let me think again",confirmPurchase:"Confirm Purchase",paymentNotEnabled:"Payment has not been enabled by the administrator!",selectProducts:"Select Products",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",drawingQuota:"Drawing Quota",buyPackage:"Buy Package"},rechargeTypes:{1:"Registration Bonus",2:"Invitation Bonus",3:"Referring Others Bonus",4:"Purchase via Card Code",5:"Admin Bonus",6:"QR Code Purchase",7:"MJ Drawing Failure Refund",8:"Sign-in Reward"},orderStatus:{0:"Not Paid",1:"Paid",2:"Payment Failed",3:"Payment Timeout"},messages:{logoutSuccess:"Successfully logged out!"}},cte={language:"中文",common:{add:"添加",addSuccess:"添加成功",edit:"编辑",editSuccess:"编辑成功",delete:"删除",deleteSuccess:"删除成功",update:"修改",saveSuccess:"保存成功",updateUserSuccess:"修改用户信息成功",reset:"重置",action:"操作",export:"导出",exportSuccess:"导出成功",import:"导入",importSuccess:"导入成功",clear:"清空",clearSuccess:"清空成功",yes:"是",no:"否",download:"下载",noData:"暂无数据",wrong:"好像出错了,请稍后再试。",success:"操作成功",failed:"操作失败",verify:"验证",unauthorizedTips:"未经授权,请先进行验证。",confirm:"确认",cancel:"取消"},chat:{newChatButton:"新建聊天",placeholder:"来说点什么吧...(Shift + Enter = 换行)",placeholderMobile:"来说点什么...",copy:"复制",copied:"复制成功",copyCode:"复制代码",clearChat:"清空会话",clearChatConfirm:"是否清空会话?",exportImage:"保存会话到图片",exportImageConfirm:"是否将会话保存为图片?",exportSuccess:"保存成功",exportFailed:"保存失败",usingContext:"上下文模式",turnOnContext:"当前模式下, 发送消息会携带之前的聊天记录",turnOffContext:"当前模式下, 发送消息不会携带之前的聊天记录",deleteMessage:"删除消息",deleteMessageConfirm:"删除此条对话?",deleteHistoryConfirm:"确定删除此记录?",clearHistoryConfirm:"确定清空聊天记录?",preview:"预览",showRawText:"显示原文",size:"尺寸:",generatedContentDisclaimer:"AI 生成内容仅供参考,不代表本平台立场。版权所有 ©",square1:"方形(1:1)",illustration:"配图(4:3)",wallpaper:"壁纸(16:9)",media:"媒体(3:4)",poster:"海报(9:16)",square:"方形",landscape:"宽屏",portrait:"垂直",chatDialogue:"对话聊天",startNewConversationPrompt:"点击下方按钮,开始一个新的对话吧",newConversation:"新对话",networkModeEnabledContextInvalid:"已开启联网模式、上下文状态失效!",networkModeDisabled:"已关闭联网模式!",pointsMall:"积分商城",toggleTheme:"切换主题",signInReward:"签到奖励",networkMode:"联网模式",searchHistoryConversations:"搜索历史对话",announcement:"网站公告",clear:"清空对话",remaining:"剩余:",ordinaryPoints:"普通积分",advancedPoints:"高级积分",drawingPoints:"绘画积分",points:"积分",clearConversation:"清空对话",clearAllNonFavoriteConversations:"清空所有非收藏的对话?",more:"更多",collapse:"折叠",myApps:"我的应用",appSquare:"应用广场",favorites:"收藏",todayConversations:"今日对话",historyConversations:"历史对话",favoriteConversations:"收藏对话",unfavorite:"取消收藏",rename:"重命名",deleteConversation:"删除对话",me:"我",onlineSearch:"联网搜索",mindMap:"思维导图",fileAnalysis:"文件分析",delete:"删除",regenerate:"重新生成",pause:"暂停",loading:"加载中...",readAloud:"朗读",U1:"🔍 放大左上",U2:"🔍 放大右上",U3:"🔍 放大左下",U4:"🔍 放大右下",V1:"🪄 变换左上",V2:"🪄 变换右上",V3:"🪄 变换左下",V4:"🪄 变换右下",panLeft:"⬅️ 向左平移",panRight:"➡️ 向右平移",panUp:"⬆️ 向上平移",panDown:"⬇️ 向下平移",zoomIn15x:"↔️ 扩图1.5倍",zoomIn2x:"↔️ 扩图2倍",minorTransform:"🖌️ 微变换",strongTransform:"🖌️ 强变换",enlargeImagePrefix:"放大第",enlargeImageSuffix:"张图片",transformImagePrefix:"变换第",transformImageSuffix:"张图片",expandDrawing:"扩图绘制",advancedTransform:"高级变换",translateImage:"平移图片",imageToImage:"图生图",faceConsistency:"人脸一致",styleConsistency:"风格一致",selectAppOrTopic:"选择应用或话题快速对话"},app:{sampleTemplate:"示例模板",exploreInfinitePossibilities:"探索无限可能,与 AI 一同开创智慧未来",searchAppNameQuickFind:"搜索应用名称、快速查找应用...",allCategories:"全部分类",noModelConfigured:"管理员未配置特定应用模型、请联系管理员配置~"},setting:{setting:"设置",general:"总览",advanced:"高级",personalInfo:"个人信息",avatarLink:"头像链接",name:"用户名称",sign:"用户签名",role:"角色设定",resetUserInfo:"重置用户信息",chatHistory:"聊天记录",theme:"主题",language:"语言",api:"API",reverseProxy:"反向代理",timeout:"超时",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API余额"},store:{siderButton:"提示词商店",local:"本地",online:"在线",title:"标题",description:"描述",clearStoreConfirm:"是否清空数据?",importPlaceholder:"请粘贴 JSON 数据到此处",addRepeatTitleTips:"标题重复,请重新输入",addRepeatContentTips:"内容重复:{msg},请重新输入",editRepeatTitleTips:"标题冲突,请重新修改",editRepeatContentTips:"内容冲突{msg} ,请重新修改",importError:"键值不匹配",importRepeatTitle:"标题重复跳过:{msg}",importRepeatContent:"内容重复跳过:{msg}",onlineImportWarning:"注意:请检查 JSON 文件来源!",downloadError:"请检查网络状态与 JSON 文件有效性"},draw:{use:"使用",download:"下载",delete:"删除",zoom:"放大:",U1:"左上",U2:"右上",U3:"左下",U4:"右下",regenerateOnce:"重新生成一次",transform:"变换:",V1:"左上",V2:"右上",V3:"左下",V4:"右下",pan:"平移:",panLeft:"向左",panRight:"向右",panUp:"向上",panDown:"向下",transformZoom:"扩图变换:",zoom1_5x:"扩图1.5倍",zoom2x:"扩图2倍",minorTransform:"微变换",strongTransform:"强变换",regionalRedraw:"区域重绘",regionalRedraw1:"区域重绘(框选要改变的区域)",submitTask:"提交任务",selectSuiteForZoom:"操作:选中套图进行放大",selectSuiteForTransform:"操作:选中套图进行变换",regeneratingImage:"操作:正在对图片重新生成一次",drawingInProgress:"操作:正在火速绘制中...",tryDifferentPrompt:"执行:换个提示词重新试试吧!",statusWaiting:"等待中",statusDrawing:"绘制中",statusSuccess:"成功",statusFailure:"失败",statusTimeout:"超时",downloadImageTitle:"下载图片",downloadImageContent:"下载当前图片",downloadButtonText:"下载",cancelButtonText:"取消",deleteRecordTitle:"删除记录",deleteRecordContent:"删除当前绘制记录?",deleteButtonText:"删除",submitZoomDrawingSuccess:"提交放大绘制任务成功、请等待绘制结束!",submitRedrawSuccess:"提交重新绘制任务成功、请等待绘制结束!",submitTransformDrawingSuccess:"提交变换绘制任务成功、请等待绘制结束!",submitEnlargeDrawingSuccess:"提交扩图任务成功、请等待绘制结束!",submitAdvancedTransformDrawingSuccess:"提交高级变换绘制任务成功、请等待绘制结束!",submitRegionalRedrawSuccess:"提交区域重绘任务成功、请等待绘制结束!",drawingRecordDeleted:"绘制记录已删除!",queueing:"排队中...",drawing:"正在绘制...",storing:"图片存储中...",drawingFailed:"绘制失败",pointsRefunded:"积分已退还!",submitDrawingTaskSuccess:"提交绘制任务成功、请等待绘制结束!",defaultStyle:"默认风格",expressiveStyle:"表现力风格",cuteStyle:"可爱风格",scenicStyle:"景观风格",standardQuality:"普通",generalQuality:"一般",highDefinitionQuality:"高清",ultraHighDefinitionQuality:"超高清",enterDescription:"请输入描述词!",optimizationFailed:"优化失败了!",professionalDrawing:"专业绘图",parameterExplanation:"参数释义:生成图片尺寸比例",imageSize:"图片尺寸",modelSelection:"模型选择",tooltipMJ:"MJ: 偏真实通用模型",tooltipNIJI:"NIJI: 偏动漫风格、适用于二次元模型",version:"版本",style:"风格",parameters:"参数",parametersTooltip:"合理使用参数绘制更为理想的结果!",quality:"品质",chaos:"混乱",chaosDescription:"取值范围:0-100、 --chaos 或 --c",chaosExplanation:"混乱级别,可以理解为让AI天马行空的空间",chaosAdvice:"值越小越可靠、默认0最为精准",stylization:"风格化",stylizationDescription:"风格化:--stylize 或 --s,范围 1-1000",parameterExplanation1:"参数释义:数值越高,画面表现也会更具丰富性和艺术性",setting:"设定",carryParameters:"携带参数",autoCarryParameters:"是否自动携带参数",carryOn:"打开:携带上述我们配置的参数",carryOff:"关闭:使用指令中的我们自定义的参数",imageToImage:"以图生图",clickOrDrag:"点击或拖拽一个图片到这里作为输入",supportFormats:"支持PNG和JPG格式",remainingPoints:"剩余积分",refresh:"刷新",accountInfo:"账户信息",points:"积分",paintingSingleUse:"绘画单次消耗:",imageGenerationSingleUse:"图生图单次消耗:",enlargementSingleUse:"放大单次消耗:",submitDrawingTask:"输入关键词,提交绘制任务",optimize:"优化",enterDrawingKeywords:"输入绘图关键词。例如:一只五颜六色的猫,可爱,卡通",unnecessaryElements:"不需要的元素",exclusionPrompt:"例:生成房间图片、但是不要床、你可以填bed!",workingContents:"工作中的内容",currentTasks:"当前系统进行中任务",goToAIDrawingSquare:"点击前往 AI 绘画广场",tasksInProgress:"个任务正在进行中、请耐心等候绘制完成、您可以前往其他页面稍后回来查看结果!",myDrawings:"我的绘图",aiDrawingSquare:"AI绘画广场",sizeAdjustment:"尺寸调整",keywordSearchPlaceholder:"prompt关键词搜索"},pay:{membershipMarket:"会员商场",sizeAdjustment:"尺寸调整",memberPackage:"会员限时套餐",permanentAddOnCard:"叠加永久次卡",baseModelQuota:"基础模型额度",advancedModelQuota:"高级模型额度",MJDrawingQuota:"MJ绘画额度",packageValidity:"套餐有效期",days:"天",permanent:"永久",points:"积分",welcomeTipMobile:"尽情探索,欢迎光临我们的在线商店!",welcomeTipDesktop:"尽情探索,欢迎光临我们的在线商店、感谢您选择我们、让我们一同开启愉悦的购物之旅!",paymentNotEnabled:"管理员还未开启支付!",purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotComplete:"您还没有支付成功哟!",wechat:"微信",alipay:"支付宝",wechatPay:"微信支付",alipayPay:"支付宝支付",paymentSuccess:"恭喜你支付成功、祝您使用愉快!",paymentTimeout:"支付超时,请重新下单!",productPayment:"商品支付",amountDue:"需要支付:",packageName:"套餐名称:",packageDescription:"套餐描述:",siteAdminEnabledRedirect:"当前站长开通了跳转支付",clickToPay:"点击前往支付",completePaymentWithin:"请在",timeToCompletePayment:"时间内完成支付!",open:"打开",scanToPay:"扫码支付"},mindmap:{title:"思维导图",yourNeeds:"您的需求?",inputPlaceholder:"请输入您想要生成内容的简单描述、AI将为您输出一份完整的markdown内容及其思维导图!",generateMindMapButton:"智能生成生成思维导图",contentRequirements:"内容需求",tryDemoButton:"试试示例",usageCredits:"每次使用消耗基础积分: 1",exportHTML:"导出HTML",exportPNG:"导出PNG",exportSVG:"导出SVG"},usercenter:{defaultSignature:"我是一台基于深度学习和自然语言处理技术的 AI 机器人,旨在为用户提供高效、精准、个性化的智能服务。",syncComplete:"已同步数据完成",personalCenter:"个人中心",logOut:"退出登录",myUsageRecord:"我在本站的使用记录",basicModelCredits:"基础模型积分:",advancedModelCredits:"高级模型积分:",basicModelUsage:"基础模型使用:",advancedModelUsage:"高级模型使用:",drawingUsageCredits:"绘画使用积分:",bindWeChat:"绑定微信:",clickToBindWeChat:"点击绑定微信",weChatBound:"已绑定微信",syncVisitorData:"点击同步访客数据",points:"积分",membershipExpiration:"会员过期时间:",editInfoDescription:"编辑个人信息、查看更多详情",myDetails:"我的详情",myWallet:"我的钱包",basicInfo:"基础信息",userBasicSettings:"用户基础设置",avatarPlaceholder:"请填写头像地址",usernamePlaceholder:"请编辑您的用户名",signaturePlaceholder:"请编辑您的签名",passwordManagement:"密码管理",inviteBenefits:"邀请得福利",clickToLogin:"点击登入",notLoggedIn:"未登录",avatar:"头像",username:"用户名称",email:"用户邮箱",inviteeStatus:"受邀人状态",inviteTime:"邀请时间",rewardStatus:"获得奖励状态",certified:"已认证",notActivated:"未激活",rewardReceived:"已领取邀请奖励",waitingConfirmation:"等待受邀人确认",linkGeneratedSuccess:"生成邀请链接成功",generateLinkFirst:"请先生成您的专属邀请链接!",linkCopiedSuccess:"复制专属邀请链接成功!",copyNotSupported:"当前设置不支持自动复制、手动复制吧!",inviteForBenefits:"邀用户、得福利!",myInviteCode:"我的邀请码",generateInviteCode:"生成专属邀请码",copyInviteLink:"复制专属邀请链接",inviteOneUser:"邀请一位用户赠送",basicModelCredits1:"积分基础模型额度+",advancedModelCredits1:"积分高级模型额度+",mjDrawingCredits:"MJ绘画积分额度",receiveInvitation:"收到邀请用户获得",creditsEnd:"积分",invitationRecord:"邀请记录",passwordMinLength:"密码最短长度为6位数",passwordMaxLength:"密码最长长度为30位数",enterPassword:"请输入密码",reenterPassword:"请再次输入密码",passwordsNotMatch:"两次密码输入不一致",passwordUpdateSuccess:"密码更新成功、请重新登录系统!",changeYourPassword:"变更您的密码",oldPassword:"旧密码",newPassword:"新密码",confirmPassword:"确认密码",reloginAfterPasswordChange:"更新密码完成后将重新登录!",updateYourPassword:"更新您的密码",passwordRequirements:"密码要求",newPasswordInstructions:"要创建一个新的密码,你必须满足以下所有要求。",minimumCharacters:"最少6个字符",maximumCharacters:"最多30个字符",requireNumber:"至少带有一个数字",orderNumber:"订单编号",rechargeType:"充值类型",basicModelQuota:"基础模型额度",advancedModelQuota:"高级模型额度",mjDrawingQuota:"MJ绘画额度",validity:"有效期",rechargeTime:"充值时间",enterCardSecret:"请先填写卡密!",cardRedeemSuccess:"卡密兑换成功、祝您使用愉快!",userWalletBalance:"用户钱包余额",basicModelBalance:"基础模型余额",creditUsageNote:"每次对话根据模型消费不同积分!",advancedModelBalance:"高级模型余额",modelConsumptionNote:"每次对话根据模型消费不同积分!",mjDrawingBalance:"MJ绘画余额",drawingConsumptionNote:"根据画图动作消耗不同的积分!",cardRecharge:"卡密充值",enterCardDetails:"请粘贴或填写您的卡密信息!",exchange:"兑换",buyCardSecret:"购买卡密",rechargeRecords:"充值记录",packagePurchase:"套餐购买",buyPackage:"购买套餐"},siderBar:{signInReward:"签到奖励",themeSwitch:"主题切换",personalCenter:"个人中心",loginAccount:"登录账户"},notice:{doNotRemind24h:"24小时不再提示"},login:{enterUsername:"请输入用户名",usernameLength:"用户名长度应为 2 到 30 个字符",enterPassword:"请输入密码",passwordLength:"密码长度应为 6 到 30 个字符",enterEmail:"请输入邮箱地址",emailValid:"请输入正确的邮箱地址",enterCaptcha:"请填写图形验证码",emailPhone:"邮箱 / 手机号",email:"邮箱",phone:"手机号",registrationSuccess:"账户注册成功、开始体验吧!",loginSuccess:"账户登录成功、开始体验吧!",registerTitle:"注册",enterContact:"请填写您的",enterCode:"请填写验证码",sendVerificationCode:"发送验证码",optionalInvitationCode:"邀请码[非必填]",registerAccount:"注册账户",alreadyHaveAccount:"已经有帐号?",goToLogin:"去登录",password:"密码",enterYourPassword:"请输入您的账户密码",rememberAccount:"记住帐号",forgotPassword:"忘记密码?",loginAccount:"登录账户",noAccount:"还没有帐号?",register:"去注册",orUse:"或使用",scanLogin:"扫码登录",wechatLogin:"微信登录",wechatScanFailed:"微信扫码登录失败?使用",useWechatScan:"使用微信扫码登录"},share:{orderAmount:"订单金额",productType:"商品类型",status:"状态",commissionRate:"佣金比例",commission:"佣金",orderTime:"订购时间",purchasePackage:"购买套餐",accounted:"已入账",generateInviteCodeSuccess:"生成邀请码成功",withdrawalTime:"提现时间",withdrawalAmount:"提现金额",withdrawalChannel:"提现渠道",withdrawalStatus:"提现状态",withdrawalRemarks:"提现备注",auditor:"审核人",alipay:"支付宝",wechat:"微信",paid:"已打款",rejected:"被拒绝",inReview:"审核中",avatar:"头像",username:"用户名",email:"邮箱",inviteeStatus:"受邀人状态",registered:"已注册",pendingActivation:"待激活",registrationTime:"注册时间",lastLogin:"最后登录",requestInviteCodeFirst:"请先申请你的邀请码",linkCopiedSuccess:"复制推荐链接成功",title:"推介计划",description:"加入我们,共享成功!欢迎来到我们的分销页面,成为我们的合作伙伴,一同开创美好未来!",defaultSalesOutletName:"新秀推荐官",myReferrals:"我的推介",currencyUnit:"元",remainingAmount:"剩余可提金额",withdrawingAmount:"提现中金额",withdrawNow:"立即提现",minimumWithdrawalPrefix:"最低",minimumWithdrawalSuffix:"元可提现",purchaseOrderCount:"购买订单数量",promotionLinkVisits:"推广链接访问次数",registeredUsers:"注册用户",referralEarnings:"推介收益",referralEarningsDescription:"推介的用户注册购买产品后返佣金额",percentage:"百分比",applyForAdvancedAgent:"申请成为高级代理",contactAdminForAdvancedAgent:"联系站长申请高级代理可享超高返佣",joinAsPartner:"加入我们成为合伙人",partnerDescription:"加入我们成为合伙人共同运营社区、合作双赢!",winTogether:"合作共赢,携手共进",referralLink:"推荐链接:",apply:"申请",referralRecordsTab:"推介记录",withdrawalRecordsTab:"提现记录",registeredUsersTab:"注册用户",inviteFriends:"邀好友、赠套餐卡密、享充值返佣!",inviteLink:"邀请链接",copy:"复制",inviteBenefits1:"邀请好友双方都可享受一定额度的永久次卡奖励",inviteBenefits2Prefix:"邀请好友充值,您可获得充值金额的",inviteBenefits2Suffix:"%返佣",enterWithdrawalAmount:"请填写你的提款金额!",selectWithdrawalChannel:"请选择你的提款渠道!",enterContactInfo:"请填写您的联系方式并备注!",optionalRemark:"如有特殊情况、请备注说明!",withdrawalSuccess:"申请提现成功、请耐心等待审核!",withdrawalApplicationForm:"提款申请表",contactInformation:"联系方式",withdrawalRemark:"提款备注",enterWithdrawalRemark:"请填写你的提款备注!",applyWithdrawal:"申 请 提 现"},goods:{purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotSuccessful:"您还没有支付成功哟!",orderConfirmationTitle:"订单确认",orderConfirmationContent:"欢迎选购、确定购买",thinkAgain:"我再想想",confirmPurchase:"确认购买",paymentNotEnabled:"管理员还未开启支付!",selectProducts:"选购商品",basicModelQuota:"基础模型额度",advancedModelQuota:"高级模型额度",drawingQuota:"绘画额度",buyPackage:"购买套餐"},rechargeTypes:{1:"注册赠送",2:"受邀请赠送",3:"邀请他人赠送",4:"购买卡密充值",5:"管理员赠送",6:"扫码购买充值",7:"MJ绘画失败退款",8:"签到奖励"},orderStatus:{0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},messages:{logoutSuccess:"登出账户成功!"}},ute={common:{add:"新增",addSuccess:"新增成功",edit:"編輯",editSuccess:"編輯成功",delete:"刪除",deleteSuccess:"刪除成功",save:"儲存",saveSuccess:"儲存成功",reset:"重設",action:"操作",export:"匯出",exportSuccess:"匯出成功",import:"匯入",importSuccess:"匯入成功",clear:"清除",clearSuccess:"清除成功",yes:"是",no:"否",confirm:"確認",download:"下載",noData:"目前無資料",wrong:"發生錯誤,請稍後再試。",success:"操作成功",failed:"操作失敗",verify:"驗證",unauthorizedTips:"未經授權,請先進行驗證。"},chat:{newChatButton:"新建對話",placeholder:"來說點什麼...(Shift + Enter = 換行)",placeholderMobile:"來說點什麼...",copy:"複製",copied:"複製成功",copyCode:"複製代碼",clearChat:"清除對話",clearChatConfirm:"是否清空對話?",exportImage:"儲存對話為圖片",exportImageConfirm:"是否將對話儲存為圖片?",exportSuccess:"儲存成功",exportFailed:"儲存失敗",usingContext:"上下文模式",turnOnContext:"啟用上下文模式,在此模式下,發送訊息會包含之前的聊天記錄。",turnOffContext:"關閉上下文模式,在此模式下,發送訊息不會包含之前的聊天記錄。",deleteMessage:"刪除訊息",deleteMessageConfirm:"是否刪除此訊息?",deleteHistoryConfirm:"確定刪除此紀錄?",clearHistoryConfirm:"確定清除紀錄?",preview:"預覽",showRawText:"顯示原文"},setting:{setting:"設定",general:"總覽",advanced:"高級",config:"設定",avatarLink:"頭貼連結",name:"名稱",description:"描述",role:"角色設定",resetUserInfo:"重設使用者資訊",chatHistory:"紀錄",theme:"主題",language:"語言",api:"API",reverseProxy:"反向代理",timeout:"逾時",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API余額"},store:{siderButton:"提示詞商店",local:"本機",online:"線上",title:"標題",description:"描述",clearStoreConfirm:"是否清除資料?",importPlaceholder:"請將 JSON 資料貼在此處",addRepeatTitleTips:"標題重複,請重新輸入",addRepeatContentTips:"內容重複:{msg},請重新輸入",editRepeatTitleTips:"標題衝突,請重新修改",editRepeatContentTips:"內容衝突{msg} ,請重新修改",importError:"鍵值不符合",importRepeatTitle:"因標題重複跳過:{msg}",importRepeatContent:"因內容重複跳過:{msg}",onlineImportWarning:"注意:請檢查 JSON 檔案來源!",downloadError:"請檢查網路狀態與 JSON 檔案有效性"}},dte=QX(),fte=localStorage.getItem("appLanguage"),hte=fte||dte.language||"zh-CN",X4=Qee({locale:hte,fallbackLocale:"en-US",allowComposition:!0,messages:{"en-US":lte,"zh-CN":cte,"zh-TW":ute}}),Ae=X4.global.t;function pte(e){e.use(X4)}function gte(){const e=Di(),t=GT(),r=R(()=>e.theme==="auto"?t.value==="dark":e.theme==="dark"),n=R(()=>r.value?Ec:void 0),o=R(()=>r.value?{common:{}}:{common:{primaryColor:"#409eff"}}),i={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF",baseColor:"#ffffff"},Switch:{railColorActive:"#5A91FCFF"},Layout:{}},a={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF"},Skeleton:{color:"#F4F3F3FF",colorEnd:"#F1F0F0FF"},Layout:{}};return Je(()=>r.value,s=>{s?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},{immediate:!0}),{theme:n,themeOverrides:o,lightThemeOverrides:a,darkThemeOverrides:i}}function mte(){const e=Di();return{naiveUILocale:R(()=>{switch(e.language){case"en-US":return x2;case"zh-CN":return Jv;case"zh-TW":return WB;default:return Jv}})}}const vte=pe({__name:"App",setup(e){const t=new tK.ClientJS,r=x4(),n=t.getFingerprint(),o=Cr(),i=zo(),a=sd();i.updateFingerprint(n);const{theme:s,lightThemeOverrides:l,darkThemeOverrides:c}=gte(),{language:u}=mte(),f=R(()=>{var x;return(x=o.globalConfig)==null?void 0:x.clientHomePath}),d=R(()=>{var x;return((x=o.globalConfig)==null?void 0:x.clientFavoIconPath)||"/favicon.svg"}),h=R(()=>{var x;return Number((x=o.globalConfig)==null?void 0:x.isAutoOpenNotice)===1});async function p(){var w;const x=((w=o.globalConfig)==null?void 0:w.baiduCode)||"";if(!x)return;const S=document.createElement("script"),C=x.replace(/([\s\S]*?)<\/script>/gi,"$1");S.innerHTML=C,document.head.appendChild(S)}function g(){var x;document.title=((x=o.globalConfig)==null?void 0:x.siteName)||"AI"}const v=R(()=>s.value?c:l);function m(){f.value&&a.push(f.value)}function b(){const x=Nt.get("showNotice");(!x&&h.value||Date.now()>Number(x)&&h.value)&&i.updateNoticeDialog(!0)}const y=document.createElement("link");return y.rel="shortcut icon",y.href=d.value,y.type="image/svg+xml",document.getElementsByTagName("head")[0].appendChild(y),_t(async()=>{m(),await r.getBaseModelConfig(),p(),g(),b()}),(x,S)=>{const C=Uc("RouterView");return he(),rt(N(VM),{class:"h-full",theme:N(s),"theme-overrides":v.value,locale:N(u),"date-locale":N(DO),"preflight-style-disabled":""},{default:De(()=>[me(N(FK),null,{default:De(()=>[me(C)]),_:1}),me(N(LH))]),_:1},8,["theme","theme-overrides","locale","date-locale"])}}});function bte(){const e=document.createElement("meta");e.name="naive-ui-style",document.head.appendChild(e)}function xte(){bte()}const yte=()=>{var r,n,o,i,a,s;const e=document.createElement("style"),t=` - ::-webkit-scrollbar { - background-color: transparent; - width: ${(r=sf.Scrollbar.common)==null?void 0:r.scrollbarWidth}; - } - ::-webkit-scrollbar-thumb { - background-color: ${(n=sf.Scrollbar.common)==null?void 0:n.scrollbarColor}; - border-radius: ${(o=sf.Scrollbar.common)==null?void 0:o.scrollbarBorderRadius}; - } - html.dark ::-webkit-scrollbar { - background-color: transparent; - width: ${(i=Ec.Scrollbar.common)==null?void 0:i.scrollbarWidth}; - } - html.dark ::-webkit-scrollbar-thumb { - background-color: ${(a=Ec.Scrollbar.common)==null?void 0:a.scrollbarColor}; - border-radius: ${(s=Ec.Scrollbar.common)==null?void 0:s.scrollbarBorderRadius}; - } - `;e.innerHTML=t,document.head.appendChild(e)};function _g(e){return Tu()?(Vh(e),!0):!1}function Eg(e){return typeof e=="function"?e():N(e)}const Q4=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Cte=e=>e!=null,wte=Object.prototype.toString,gu=e=>wte.call(e)==="[object Object]",ks=()=>{};function Ste(e){return e||Er()}function _te(...e){if(e.length!==1)return Lt(...e);const t=e[0];return typeof t=="function"?en(o5(()=>({get:t,set:ks}))):M(t)}function Ete(e,t){Ste(t)&&wi(e,t)}function kte(...e){let t,r,n;if(typeof e[0]=="string"?([r,...n]=e,t=window.require?window.require("electron").ipcRenderer:void 0):[t,r,...n]=e,!t)throw new Error("please provide IpcRenderer module or enable nodeIntegration");const o=Xn(null);return t.invoke(r,...n).then(i=>{o.value=i}),o}function Tte(...e){let t,r,n;if(typeof e[0]=="string"?([r,n]=e,t=window.require?window.require("electron").ipcRenderer:void 0):[t,r,n]=e,!t)throw new Error("please provide IpcRenderer module or enable nodeIntegration");return _g(()=>{t.removeListener(r,n)}),t.on(r,n)}function Ate(e){return(t,...r)=>{const n=Xn(null);return n.value=e.sendSync(t,...r),n}}function Pte(e){if(e||(e=window==null?void 0:window.require("electron").ipcRenderer),!e)throw new Error("provide IpcRenderer module or enable nodeIntegration");return{on:(t,r)=>Tte(t,r),once:e.once.bind(e),removeListener:e.removeListener.bind(e),removeAllListeners:e.removeAllListeners.bind(e),send:e.send,invoke:(t,...r)=>kte(e,t,...r),sendSync:Ate(e),postMessage:e.postMessage,sendTo:e.sendTo,sendToHost:e.sendToHost}}const $te={class:"wrapper"},Ite={key:0,class:"btn disabled"},Dte=pe({__name:"macTablebar",props:{title:{}},setup(e){const t=Pte(),r=M(!1),n=bd(),o=()=>{t.send("check-window-maximized")},i=(u,f)=>{r.value=f};_t(()=>{t.on("window-maximized-status",i),t.on("clipboard-content",c),o()}),wi(()=>{t.removeListener("window-maximized-status",i)});const a=()=>{t.invoke("closeWindow")},s=()=>{t.invoke(r.value?"unmaximizeWindow":"maxmizeWindow"),r.value=!r.value},l=()=>{t.invoke("minimizeWindow")},c=(u,f)=>{n.updateClipboardText(f)};return(u,f)=>(he(),Fe("div",$te,[re("div",{class:"btn close-btn",onClick:a}),r.value?(he(),Fe("div",Ite)):Ze("",!0),r.value?Ze("",!0):(he(),Fe("div",{key:1,class:"btn min-btn",onClick:l})),re("div",{class:"btn max-btn",onClick:s})]))}});const kg=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},Bte=kg(Dte,[["__scopeId","data-v-a0547cf5"]]),Ote={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Lte=re("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),Rte=re("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),Fte=[Lte,Rte],Tg=pe({name:"CloseOutline",render:function(t,r){return he(),Fe("svg",Ote,Fte)}}),Mte={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},zte=re("path",{d:"M53.12 199.94l400-151.39a8 8 0 0 1 10.33 10.33l-151.39 400a8 8 0 0 1-15-.34l-67.4-166.09a16 16 0 0 0-10.11-10.11L53.46 215a8 8 0 0 1-.34-15.06z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Nte=re("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M460 52L227 285"},null,-1),Hte=[zte,Nte],Z4=pe({name:"PaperPlaneOutline",render:function(t,r){return he(),Fe("svg",Mte,Hte)}}),jte={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Wte=re("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Ute=re("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),Vte=re("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M88 176v112"},null,-1),Gte=re("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),qte=[Wte,Ute,Vte,Gte],Yte=pe({name:"PersonAddOutline",render:function(t,r){return he(),Fe("svg",jte,qte)}}),Kte={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Xte=re("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Qte=re("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),Zte=re("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),Jte=[Xte,Qte,Zte],ere=pe({name:"PersonRemoveOutline",render:function(t,r){return he(),Fe("svg",Kte,Jte)}}),tre="/logo.ico",rre=["src"],nre=pe({__name:"Logo",setup(e){const t=Cr(),r=R(()=>t.globalConfig.clientLogoPath),n=R(()=>t.globalConfig.clientHomePath||"/"),{isMobile:o}=vn(),i=R(()=>o.value?["py-2","w-8","ml-3"]:["py-4","px-2","w-full"]);return(a,s)=>(he(),rt(N(_E),{to:n.value},{default:De(()=>[r.value?Ze("",!0):(he(),Fe("img",{key:0,src:tre,class:Kt([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,2)),r.value?(he(),Fe("img",{key:1,src:r.value,class:Kt([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,10,rre)):Ze("",!0)]),_:1},8,["to"]))}}),ore={class:"px-2 w-full ele-drag"},ire={class:"flex h-full flex-col items-center space-y-3"},are=["onClick"],sre={class:"flex flex-col justify-between items-center"},lre=pe({__name:"index",setup(e){const t=k5(()=>Mr(()=>import("./index-c53889db.js"),["assets/index-c53889db.js","assets/Input-4816b01d.js","assets/Select-b45c26f7.js","assets/Tabs-d30e51ae.js","assets/Add-1eab33c9.js"])),{t:r,locale:n}=Sd(),o=Di(),i=Cr(),a=zo();xn();const s=M(null);o.setEnv();const l=R(()=>i.userInfo.avatar),c=tg(),u=sd(),f=M(!1),d=R(()=>i.isLogin),h=R(()=>o.theme==="dark"),p=R(()=>o.env),g=Xn(Yte);Xn(ere);async function v(){const V=await w4({menuPlatform:1});V.success&&(m.value=V.data,Qt(()=>{F()}))}const m=M([]),b=M(!1);_t(()=>{v()});const y=R(()=>{var V;return Number((V=i.globalConfig)==null?void 0:V.signInStatus)===1});function x(){d.value?i.logOut():i.setLoginDialog(!0)}function S(){const V=h.value?"light":"dark";o.setTheme(V)}const{isMobile:C}=vn(),w=R(()=>c.path);function k(V){u.push({name:V})}const A=R(()=>C.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{}),T=R(()=>C.value?["flex-rol","w-full","border-0"]:["flex-col","w-sider","h-full","border-r"]),I=R(()=>C.value?["flex","flex-rol","items-center","pt-0","w-full"]:["flex","flex-col","pt-1","items-center"]),D=R(()=>a.iframeUrl);function B(V){const{menuPath:oe,isJump:fe,menuIframeUrl:ge,isNeedAuth:U}=V;if(U&&!d.value){i.setLoginDialog(!0);return}if(a.updateIframeUrl(""),oe)return u.push({path:oe});fe?window.open(ge):(a.updateIframeUrl(ge),u.push({path:"/extend"}))}function j(){if(!d.value){i.setLoginDialog(!0);return}a.updateSignInDialog(!0)}function F(){if(!s.value)return;const{clientHeight:V=0,scrollHeight:oe=0}=s.value;b.value=oe>V}function z(V){const{menuIframeUrl:oe,menuPath:fe}=V;if(oe)return oe===D.value;if(fe)return fe===w.value}return Je(C,V=>{o.setSiderCollapsed(V)},{immediate:!0,flush:"post"}),(V,oe)=>(he(),Fe(ot,null,[re("div",{class:Kt(["flex min-w-sm bg-gray-50 pb-2 dark:bg-gray-900 border-gray-100 dark:border-gray-800",T.value]),style:Jr(A.value)},[p.value==="electron"?(he(),rt(Bte,{key:0})):Ze("",!0),re("div",ore,[me(nre)]),re("main",{ref_key:"track",ref:s,class:Kt(["flex-1 flex-grow-1 mb-5 overflow-auto",I.value])},[me(N(Vj),{size:1},{default:De(()=>[re("div",ire,[(he(!0),Fe(ot,null,Fs(m.value,fe=>(he(),Fe("div",{key:fe.menuName,class:Kt(["flex justify-center flex-col items-center",N(C)?"mt-0":"mt-3"]),onClick:ge=>B(fe)},[me(N(Qi),{trigger:"hover",placement:"right"},{trigger:De(()=>[re("div",{class:Kt(["relative flex items-center justify-center h-10 w-10 rounded-md cursor-pointer duration-300",[z(fe)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["bg-gray-50","dark:bg-gray-900","dark:text-gray-400"],"hover:bg-white","hover:text-primary-600","dark:hover:bg-gray-800","dark:hover:text-white"]])},[me(N(_s),{icon:fe.menuIcon,class:"text-2xl"},null,8,["icon"])],2)]),default:De(()=>[pt(" "+Re(fe.menuTipText),1)]),_:2},1024)],10,are))),128))])]),_:1})],2),re("div",sre,[!N(C)&&y.value?(he(),rt(N(Qi),{key:0,trigger:"hover",placement:"right"},{trigger:De(()=>[me(N(_s),{class:"text-xl cursor-pointer mb-5",icon:"mynaui:gift",onClick:j})]),default:De(()=>[pt(" "+Re(N(r)("siderBar.signInReward")),1)]),_:1})):Ze("",!0),N(C)?Ze("",!0):(he(),rt(N(Qi),{key:1,trigger:"hover",placement:"right"},{trigger:De(()=>[me(N(_s),{class:"text-xl cursor-pointer mb-5",icon:h.value?"line-md:sunny-outline-to-moon-transition":"line-md:moon-to-sunny-outline-transition",onClick:S},null,8,["icon"])]),default:De(()=>[pt(" "+Re(N(r)("siderBar.themeSwitch")),1)]),_:1})),d.value?(he(),rt(N(Qi),{key:2,trigger:"hover",placement:"right"},{trigger:De(()=>[me(N(kF),{size:42,src:l.value,round:"",bordered:"","fallback-src":N(KZ),class:"cursor-pointer",onClick:oe[0]||(oe[0]=fe=>k("UserCenter"))},null,8,["src","fallback-src"])]),default:De(()=>[pt(" "+Re(N(r)("siderBar.personalCenter")),1)]),_:1})):Ze("",!0),d.value?Ze("",!0):(he(),rt(N(RK),{key:3,label:N(r)("siderBar.loginAccount"),placement:N(C)?"bottom":"right",class:Kt(N(C)?"mb-0":"mb-5"),onClick:x},{default:De(()=>[me(N(Sa),{size:"20",color:"#555"},{default:De(()=>[(he(),rt(wC(g.value)))]),_:1})]),_:1},8,["label","placement","class"]))])],6),f.value?(he(),rt(N(t),{key:0,visible:f.value,"onUpdate:visible":oe[1]||(oe[1]=fe=>f.value=fe)},null,8,["visible"])):Ze("",!0)],64))}});const cre={class:"bg-white dark:bg-[#25272c]"},ure=["onClick"],dre={class:"inline-block text-xl"},fre={class:"text-xs"},hre=pe({__name:"index",setup(e){const t=M([]),r=xn();async function n(){const h=await w4({menuPlatform:0});h.success&&(t.value=h.data)}const o=zo(),i=sd(),a=tg(),s=R(()=>a.path),l=Cr(),c=R(()=>o.iframeUrl),u=R(()=>l.isLogin);function f(h,p){h.stopPropagation();const{menuPath:g,isJump:v,menuIframeUrl:m,isNeedAuth:b}=p;if(b&&!u.value){r.warning("请先登录后访问!"),l.setLoginDialog(!0);return}if(o.updateIframeUrl(""),g)return i.replace({path:g});v?window.open(m):(o.updateIframeUrl(m),i.push({path:"/extend"}))}function d(h){const{menuIframeUrl:p,menuPath:g}=h;if(p)return p===c.value;if(g)return g===s.value}return bn(()=>{n()}),(h,p)=>(he(),Fe("footer",cre,[re("div",{class:"grid border-t py-1 dark:border-t-neutral-800 grid-cols-2",style:Jr({gridTemplateColumns:`repeat(${t.value.length}, minmax(0, 1fr))`})},[(he(!0),Fe(ot,null,Fs(t.value,g=>(he(),Fe("a",{key:g.id,class:Kt([[d(g)?"text-[#3076fd] dark:text-[#3076fd]":""],"cursor-pointer text-center leading-4"]),onClick:v=>f(v,g)},[re("span",dre,[me(N(_s),{icon:g.menuIcon,class:"mb-1 inline-block text-lg"},null,8,["icon"])]),re("p",fre,Re(g.menuTipText),1)],10,ure))),128))],4)]))}});var pre={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function gre(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function mre(e,t,r){var n=typeof t.fill=="string"?[t.fill]:t.fill||[],o=[],i=t.theme||r.theme;switch(i){case"outline":o.push(typeof n[0]=="string"?n[0]:"currentColor"),o.push("none"),o.push(typeof n[0]=="string"?n[0]:"currentColor"),o.push("none");break;case"filled":o.push(typeof n[0]=="string"?n[0]:"currentColor"),o.push(typeof n[0]=="string"?n[0]:"currentColor"),o.push("#FFF"),o.push("#FFF");break;case"two-tone":o.push(typeof n[0]=="string"?n[0]:"currentColor"),o.push(typeof n[1]=="string"?n[1]:r.colors.twoTone.twoTone),o.push(typeof n[0]=="string"?n[0]:"currentColor"),o.push(typeof n[1]=="string"?n[1]:r.colors.twoTone.twoTone);break;case"multi-color":o.push(typeof n[0]=="string"?n[0]:"currentColor"),o.push(typeof n[1]=="string"?n[1]:r.colors.multiColor.outFillColor),o.push(typeof n[2]=="string"?n[2]:r.colors.multiColor.innerStrokeColor),o.push(typeof n[3]=="string"?n[3]:r.colors.multiColor.innerFillColor);break}return{size:t.size||r.size,strokeWidth:t.strokeWidth||r.strokeWidth,strokeLinecap:t.strokeLinecap||r.strokeLinecap,strokeLinejoin:t.strokeLinejoin||r.strokeLinejoin,colors:o,id:e}}var vre=Symbol("icon-context");function bre(e,t,r){var n={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(i){var a=gre(),s=ze(vre,pre);return function(){var l=i.size,c=i.strokeWidth,u=i.strokeLinecap,f=i.strokeLinejoin,d=i.theme,h=i.fill,p=i.spin,g=mre(a,{size:l,strokeWidth:c,strokeLinecap:u,strokeLinejoin:f,theme:d,fill:h},s),v=[s.prefix+"-icon"];return v.push(s.prefix+"-icon-"+e),t&&s.rtl&&v.push(s.prefix+"-icon-rtl"),p&&v.push(s.prefix+"-icon-spin"),me("span",{class:v.join(" ")},[r(g)])}}};return n}const xre=bre("close",!1,function(e){return me("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[me("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),me("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yre={class:"sm:mx-auto sm:w-full sm:max-w-sm"},Cre={class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},wre={class:"mt-0"},Sre=["placeholder"],_re={class:"mt-4"},Ere=["placeholder"],kre={class:"mt-4 flex relative"},Tre=["placeholder"],Are=["innerHTML"],Pre={class:"mt-4 relative"},$re=["placeholder"],Ire=["disabled","loading"],Dre={class:"mt-4 flex"},Bre=["placeholder"],Ore={class:"mt-4"},Lre=["placeholder"],Rre={key:0,class:"mt-0 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Fre={class:"sm:mx-auto sm:w-full sm:max-w-sm"},Mre={class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},zre={class:"mt-4"},Nre={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Hre={class:"mt-2"},jre=["placeholder"],Wre={class:"mt-4"},Ure={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Vre={class:"mt-2"},Gre=["placeholder"],qre={class:"flex items-center justify-between my-3"},Yre={class:"flex items-center"},Kre=re("input",{id:"remember-me",name:"remember-me",type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,-1),Xre={for:"remember-me",class:"ml-3 block text-sm leading-6 text-gray-500 dark:text-gray-400"},Qre={key:0,class:"mt-0 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Zre={key:0},Jre=pe({__name:"Email",emits:["changeLoginType"],setup(e,{emit:t}){const r=t,n=Di(),o=M(null),i=xn(),a=M(!0),s=M(!1),l=Cr(),c=M(""),u=R(()=>n.theme),f=M(0),d=l.globalConfig.siteName,{isMobile:h}=vn();R(()=>l.globalConfig.isVerifyEmail?Number(l.globalConfig.isVerifyEmail):1);const p=R(()=>u.value==="dark"?"#6b7280":"#fff"),g=M({username:"",password:"",contact:"",invitedBy:"",captchaCode:"",captchaId:null,code:""}),v=M({username:"",password:"",contact:"",invitedBy:""}),m={username:[{required:!0,message:Ae("login.enterUsername"),trigger:"blur"},{min:2,max:30,message:Ae("login.usernameLength"),trigger:"blur"}],password:[{required:!0,message:Ae("login.enterPassword"),trigger:"blur"},{min:6,max:30,message:Ae("login.passwordLength"),trigger:"blur"}],email:[{required:!0,message:Ae("login.enterEmail"),trigger:"blur"},{type:"email",message:Ae("login.emailValid"),trigger:["blur","change"]}],captchaCode:[{required:!0,message:Ae("login.enterCaptcha"),trigger:"blur"}]},b=R(()=>Number(l.globalConfig.wechatRegisterStatus)===1),y=R(()=>Number(l.globalConfig.phoneLoginStatus)===1);R(()=>Number(l.globalConfig.emailRegisterStatus)===1);const x=R(()=>Number(l.globalConfig.emailLoginStatus)===1),S=R(()=>{if(x.value&&y.value)return Ae("login.emailPhone");if(x.value)return Ae("login.email");if(y.value)return Ae("login.phone")});function C(){f.value>0&&setTimeout(()=>{f.value--,C()},1e3)}async function w(){var T;(T=o.value)==null||T.validate(async I=>{if(!I)try{const{username:D,contact:B,captchaCode:j,captchaId:F}=g.value,z={username:D,contact:B,captchaCode:j,captchaId:F};let V;V=await OZ(z),A();const{success:oe,message:fe}=V;oe?(i.success(V.data),f.value=60,C()):i.error(fe)}catch{A()}})}function k(){var T;(T=o.value)==null||T.validate(async I=>{if(!I)try{s.value=!0;const D=a.value?DZ:IZ,B=a.value?{username:v.value.username,password:v.value.password}:g.value,j=await D(B);s.value=!1,A();const{success:F,message:z}=j;if(!F)return i.error(z);if(a.value)i.success(Ae("login.loginSuccess")),l.setToken(j.data),l.getUserInfo(),l.setLoginDialog(!1),Nt.remove("invitedBy");else{i.success(Ae("login.registrationSuccess"));const{contact:V,password:oe}=g.value;v.value.username=V,v.value.password=oe,a.value=!a.value}}catch{A(),s.value=!1}})}async function A(){const T=await BZ({color:p.value});c.value=T.data.svgCode,g.value.captchaId=T.data.code}return _t(()=>{const T=Nt.get("invitedBy");T&&(g.value.invitedBy=T),A()}),(T,I)=>(he(),Fe("div",{class:Kt(["flex w-full flex-col h-full",N(h)?"px-5 py-10":"px-10 py-20"])},[a.value?Ze("",!0):(he(),rt(N(f1),{key:0,ref_key:"formRef",ref:o,model:g.value,rules:m,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:De(()=>[re("div",yre,[re("h2",Cre,Re(N(d))+" "+Re(N(Ae)("login.registerTitle")),1)]),re("div",wre,[lr(re("input",{id:"username",type:"text","onUpdate:modelValue":I[0]||(I[0]=D=>g.value.username=D),placeholder:N(Ae)("login.enterUsername"),class:"block w-full rounded-md border-0 py-1.5 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Sre),[[lo,g.value.username]])]),re("div",_re,[lr(re("input",{id:"username",type:"password","onUpdate:modelValue":I[1]||(I[1]=D=>g.value.password=D),placeholder:N(Ae)("login.enterPassword"),class:"block w-full rounded-md border-0 py-1.5 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ere),[[lo,g.value.password]])]),re("div",kre,[lr(re("input",{id:"username",type:"text","onUpdate:modelValue":I[2]||(I[2]=D=>g.value.captchaCode=D),placeholder:N(Ae)("login.enterCaptcha"),class:"flex-1 block w-full rounded-md border-0 py-1.5 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-16"},null,8,Tre),[[lo,g.value.captchaCode]]),c.value?(he(),Fe("div",{key:0,class:"absolute right-1 top-1/2 transform -translate-y-1/2 cursor-pointer bg-transparent rounded-md",style:{height:"90%",top:"55%",transform:"translateY(-50%)"},onClick:A,innerHTML:c.value},null,8,Are)):Ze("",!0)]),re("div",Pre,[lr(re("input",{id:"username",type:"text","onUpdate:modelValue":I[3]||(I[3]=D=>g.value.contact=D),placeholder:N(Ae)("login.enterContact")+S.value,class:"block w-full rounded-md border-0 py-1.5 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,$re),[[lo,g.value.contact]]),re("button",{block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:s.value,loading:s.value,onClick:w},Re(N(Ae)("login.sendVerificationCode")),9,Ire)]),re("div",Dre,[lr(re("input",{id:"username",type:"text","onUpdate:modelValue":I[4]||(I[4]=D=>g.value.code=D),placeholder:N(Ae)("login.enterCode"),class:"flex-1 block w-full rounded-md border-0 py-1.5 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Bre),[[lo,g.value.code]])]),re("div",Ore,[lr(re("input",{id:"username",type:"text","onUpdate:modelValue":I[5]||(I[5]=D=>g.value.invitedBy=D),placeholder:N(Ae)("login.optionalInvitationCode"),class:"block w-full rounded-md border-0 py-1.5 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Lre),[[lo,g.value.invitedBy]])]),re("div",null,[re("button",{onClick:k,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},Re(N(Ae)("login.registerAccount")),1)]),x.value||y.value?(he(),Fe("p",Rre,[pt(Re(N(Ae)("login.alreadyHaveAccount"))+" ",1),re("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I[6]||(I[6]=D=>a.value=!a.value)},Re(N(Ae)("login.goToLogin")),1)])):Ze("",!0)]),_:1},8,["model"])),a.value?(he(),rt(N(f1),{key:1,size:"large",ref_key:"formRef",ref:o,model:v.value,rules:m,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:De(()=>[re("div",Fre,[re("h2",Mre,Re(N(d))+" 登录 ",1)]),re("div",zre,[re("label",Nre,Re(S.value),1),re("div",Hre,[lr(re("input",{id:"username",type:"text","onUpdate:modelValue":I[7]||(I[7]=D=>v.value.username=D),placeholder:N(Ae)("login.enterUsername"),class:"block w-full rounded-md border-0 py-1.5 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,jre),[[lo,v.value.username]])])]),re("div",Wre,[re("label",Ure,Re(N(Ae)("login.password")),1),re("div",Vre,[lr(re("input",{id:"password",type:"password","onUpdate:modelValue":I[8]||(I[8]=D=>v.value.password=D),placeholder:N(Ae)("login.enterYourPassword"),class:"block w-full rounded-md border-0 py-1.5 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Gre),[[lo,v.value.password]])])]),re("div",qre,[re("div",Yre,[Kre,re("label",Xre,Re(N(Ae)("login.rememberAccount")),1)])]),re("div",null,[re("button",{onClick:k,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},Re(N(Ae)("login.loginAccount")),1)]),x.value||y.value?(he(),Fe("p",Qre,[pt(Re(N(Ae)("login.noAccount"))+" ",1),re("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I[9]||(I[9]=D=>a.value=!a.value)},Re(N(Ae)("login.register")),1),b.value?(he(),Fe("div",Zre,[pt(Re(N(Ae)("login.orUse")),1),re("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I[10]||(I[10]=D=>r("changeLoginType","wechat"))},Re(N(Ae)("login.scanLogin")),1)])):Ze("",!0)])):Ze("",!0)]),_:1},8,["model"])):Ze("",!0)],2))}});function Ace(){return mt({url:"/user/genInviteCode"})}function Pce(e){return kt({url:"/user/inviteRecord",data:e})}function ene(e){return mt({url:"/official/getQRSceneStr",data:e})}function J4(e){return kt({url:"/official/getQRCode",data:e})}function tne(e){return mt({url:"/official/loginBySceneStr",data:e})}function rne(e){return mt({url:"/official/loginByCode",data:e})}function nne(e){return mt({url:"/official/getJsapiTicket",data:e})}function one(){return mt({url:"/official/getQRSceneStrByBind"})}function ine(e){return mt({url:"/official/bindWxBySceneStr",data:e})}function ane(e){return mt({url:"/official/getRedirectUrl",data:e})}function sne(e){return kt({url:"/user/inviteLink",data:e})}const lne={class:"sm:mx-auto sm:w-full sm:max-w-sm"},cne={class:"pt-5 pb-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},une={key:3,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},dne={key:4,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},fne=pe({__name:"Wechat",emits:["changeLoginType"],setup(e,{emit:t}){const r=M(),n=M(),o=t,i=M(""),a=M(""),s=M(!1),l=xn(),c=Cr(),u=M(),{isMobile:f}=vn(),d=R(()=>Number(c.globalConfig.phoneLoginStatus)===1),h=R(()=>Number(c.globalConfig.emailLoginStatus)===1),p=R(()=>{if(h.value&&d.value)return Ae("login.emailPhone");if(h.value)return Ae("login.email");if(d.value)return Ae("login.phone")});function g(x){return new Promise((S,C)=>{const w=new Image;w.onload=()=>S(w),w.onerror=C,w.src=x})}async function v(){const x={invitedBy:Nt.get("invitedBy")},S=await ene(x);S.success&&(a.value=S.data,b())}async function m(){if(!a.value)return;const x=await tne({sceneStr:a.value});x.data&&(clearInterval(r.value),l.success(Ae("login.loginSuccess")),c.setToken(x.data),c.getUserInfo(),c.setLoginDialog(!1),Nt.remove("invitedBy"))}async function b(){const x=await J4({sceneStr:a.value});x.success&&(s.value=!0,await g(x.data),i.value=x.data,r.value=setInterval(()=>{m()},1e3))}function y(){var x;v(),(x=u.value)==null||x.reset()}return _t(()=>{y(),n.value!==null&&clearInterval(n.value),n.value=setInterval(y,6e4)}),Ht(()=>{r.value!==null&&clearInterval(r.value),n.value!==null&&clearInterval(n.value)}),(x,S)=>(he(),Fe("div",{class:Kt(["w-full h-full flex flex-col items-center",N(f)?"px-10 py-10":"px-14 py-20"])},[re("div",lne,[re("h2",cne,Re(N(Ae)("login.wechatLogin")),1)]),i.value?(he(),rt(N(H_),{key:0,"preview-disabled":"",class:"w-[220px] h-[220px] select-none",src:i.value},null,8,["src"])):(he(),rt(N(vi),{key:1,height:"220px",width:"220px",animated:""})),i.value?Ze("",!0):(he(),rt(N(ed),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})),h.value||d.value?(he(),Fe("p",une,[pt(Re(N(Ae)("login.wechatScanFailed"))+" ",1),re("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:S[0]||(S[0]=C=>o("changeLoginType","email"))},Re(p.value),1)])):(he(),Fe("p",dne,Re(N(Ae)("login.useWechatScan")),1))],2))}});const hne={key:0,class:"flex-1 bg-white flex justify-center items-center dark:bg-[#34373c] h-[600px]"},pne={key:1,class:"bg-white dark:bg-gray-800 shadow rounded-lg"},gne=pe({__name:"Login",props:{visible:{type:Boolean}},setup(e){let t;const r=Cr(),n=M(!1),o=M(""),i=M(""),a=M(null),s=M(!0),l=M("email"),{isMobile:c}=vn();R(()=>r.globalConfig.clientLogoPath);const u=R(()=>Number(r.globalConfig.emailLoginStatus)===1),f=R(()=>Number(r.globalConfig.wechatRegisterStatus)===1),d=R(()=>Number(r.globalConfig.phoneLoginStatus)===1),h=R(()=>!f.value&&!d.value&&!u.value);function p(){f.value||(s.value=!1,d.value&&v("phone"),u.value&&v("email"))}function g(){clearInterval(t),o.value="",i.value="",n.value=!1}function v(m){m==="wechat"?s.value=!0:(s.value=!1,l.value=m,Qt(()=>{var b;(b=a.value)==null||b.syncBarPosition()}))}return(m,b)=>(he(),rt(N(Ai),{show:m.visible,"on-after-enter":p,"on-after-leave":g,"transform-origin":"center",style:Jr(N(c)?{width:"95%"}:{width:"25rem",height:"35rem"})},{default:De(()=>[re("div",null,[me(N(xre),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:b[0]||(b[0]=y=>N(r).setLoginDialog(!1))}),re("div",null,[h.value?(he(),Fe("div",hne,[me(N(jj),{size:"small",status:"403",title:"网站已经关闭注册通道",description:"请联系管理员开通吧"},{footer:De(()=>[me(N(gn),{size:"small",onClick:b[1]||(b[1]=y=>N(r).setLoginDialog(!1))},{default:De(()=>[pt(" 知道了 ")]),_:1})]),_:1})])):Ze("",!0),h.value?Ze("",!0):(he(),Fe("div",pne,[f.value&&s.value?(he(),rt(fne,{key:0,onChangeLoginType:v})):(he(),rt(Jre,{key:1,onChangeLoginType:v}))]))])])]),_:1},8,["show","style"]))}});function e3(e){return mt({url:"/order/buy",data:e})}function mne(e){return kt({url:"/order/queryByOrderId",data:e})}const xy="/assets/alipay-eab94eb8.png",yy="/assets/wxpay-2d8f84af.png";var Al={},vne=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},t3={},Wr={};let Ag;const bne=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Wr.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Wr.getSymbolTotalCodewords=function(t){return bne[t]};Wr.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Wr.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Ag=t};Wr.isKanjiModeEnabled=function(){return typeof Ag<"u"};Wr.toSJIS=function(t){return Ag(t)};var _d={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}})(_d);function r3(){this.buffer=[],this.length=0}r3.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let r=0;r>>t-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var xne=r3;function Pl(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}Pl.prototype.set=function(e,t,r,n){const o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)};Pl.prototype.get=function(e,t){return this.data[e*this.size+t]};Pl.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};Pl.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var yne=Pl,n3={};(function(e){const t=Wr.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,i=t(n),a=i===145?26:Math.ceil((i-13)/(2*o-2))*2,s=[i-7];for(let l=1;l=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const i=o.size;let a=0,s=0,l=0,c=null,u=null;for(let f=0;f=5&&(a+=t.N1+(s-5)),c=h,s=1),h=o.get(d,f),h===u?l++:(l>=5&&(a+=t.N1+(l-5)),u=h,l=1)}s>=5&&(a+=t.N1+(s-5)),l>=5&&(a+=t.N1+(l-5))}return a},e.getPenaltyN2=function(o){const i=o.size;let a=0;for(let s=0;s=10&&(s===1488||s===93)&&a++,l=l<<1&2047|o.get(u,c),u>=10&&(l===1488||l===93)&&a++}return a*t.N3},e.getPenaltyN4=function(o){let i=0;const a=o.data.length;for(let l=0;l=0;){const a=i[0];for(let l=0;l0){const i=new Uint8Array(this.degree);return i.set(n,o),i}return n};var wne=Pg,l3={},jo={},$g={};$g.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var zn={};const c3="[0-9]+",Sne="[A-Z $%*+\\-./:]+";let al="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";al=al.replace(/u/g,"\\u");const _ne="(?:(?![A-Z0-9 $%*+\\-./:]|"+al+`)(?:.|[\r -]))+`;zn.KANJI=new RegExp(al,"g");zn.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");zn.BYTE=new RegExp(_ne,"g");zn.NUMERIC=new RegExp(c3,"g");zn.ALPHANUMERIC=new RegExp(Sne,"g");const Ene=new RegExp("^"+al+"$"),kne=new RegExp("^"+c3+"$"),Tne=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");zn.testKanji=function(t){return Ene.test(t)};zn.testNumeric=function(t){return kne.test(t)};zn.testAlphanumeric=function(t){return Tne.test(t)};(function(e){const t=$g,r=zn;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(i,a){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?i.ccBits[0]:a<27?i.ccBits[1]:i.ccBits[2]},e.getBestModeForData=function(i){return r.testNumeric(i)?e.NUMERIC:r.testAlphanumeric(i)?e.ALPHANUMERIC:r.testKanji(i)?e.KANJI:e.BYTE},e.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},e.isValid=function(i){return i&&i.bit&&i.ccBits};function n(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(i,a){if(e.isValid(i))return i;try{return n(i)}catch{return a}}})(jo);(function(e){const t=Wr,r=Ed,n=_d,o=jo,i=$g,a=7973,s=t.getBCHDigit(a);function l(d,h,p){for(let g=1;g<=40;g++)if(h<=e.getCapacity(g,p,d))return g}function c(d,h){return o.getCharCountIndicator(d,h)+4}function u(d,h){let p=0;return d.forEach(function(g){const v=c(g.mode,h);p+=v+g.getBitsLength()}),p}function f(d,h){for(let p=1;p<=40;p++)if(u(d,p)<=e.getCapacity(p,h,o.MIXED))return p}e.from=function(h,p){return i.isValid(h)?parseInt(h,10):p},e.getCapacity=function(h,p,g){if(!i.isValid(h))throw new Error("Invalid QR Code version");typeof g>"u"&&(g=o.BYTE);const v=t.getSymbolTotalCodewords(h),m=r.getTotalCodewordsCount(h,p),b=(v-m)*8;if(g===o.MIXED)return b;const y=b-c(g,h);switch(g){case o.NUMERIC:return Math.floor(y/10*3);case o.ALPHANUMERIC:return Math.floor(y/11*2);case o.KANJI:return Math.floor(y/13);case o.BYTE:default:return Math.floor(y/8)}},e.getBestVersionForData=function(h,p){let g;const v=n.from(p,n.M);if(Array.isArray(h)){if(h.length>1)return f(h,v);if(h.length===0)return 1;g=h[0]}else g=h;return l(g.mode,g.getLength(),v)},e.getEncodedBits=function(h){if(!i.isValid(h)||h<7)throw new Error("Invalid QR Code version");let p=h<<12;for(;t.getBCHDigit(p)-s>=0;)p^=a<=0;)o^=d3<0&&(n=this.data.substr(r),o=parseInt(n,10),t.put(o,i*3+1))};var $ne=Ba;const Ine=jo,o0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Oa(e){this.mode=Ine.ALPHANUMERIC,this.data=e}Oa.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};Oa.prototype.getLength=function(){return this.data.length};Oa.prototype.getBitsLength=function(){return Oa.getBitsLength(this.data.length)};Oa.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=o0.indexOf(this.data[r])*45;n+=o0.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(o0.indexOf(this.data[r]),6)};var Dne=Oa,Bne=function(t){for(var r=[],n=t.length,o=0;o=55296&&i<=56319&&n>o+1){var a=t.charCodeAt(o+1);a>=56320&&a<=57343&&(i=(i-55296)*1024+a-56320+65536,o+=1)}if(i<128){r.push(i);continue}if(i<2048){r.push(i>>6|192),r.push(i&63|128);continue}if(i<55296||i>=57344&&i<65536){r.push(i>>12|224),r.push(i>>6&63|128),r.push(i&63|128);continue}if(i>=65536&&i<=1114111){r.push(i>>18|240),r.push(i>>12&63|128),r.push(i>>6&63|128),r.push(i&63|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer};const One=Bne,Lne=jo;function La(e){this.mode=Lne.BYTE,typeof e=="string"&&(e=One(e)),this.data=new Uint8Array(e)}La.getBitsLength=function(t){return t*8};La.prototype.getLength=function(){return this.data.length};La.prototype.getBitsLength=function(){return La.getBitsLength(this.data.length)};La.prototype.write=function(e){for(let t=0,r=this.data.length;t=33088&&r<=40956)r-=33088;else if(r>=57408&&r<=60351)r-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` -Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),e.put(r,13)}};var zne=Ra,h3={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,o){var i={},a={};a[n]=0;var s=t.PriorityQueue.make();s.push(n,0);for(var l,c,u,f,d,h,p,g,v;!s.empty();){l=s.pop(),c=l.value,f=l.cost,d=r[c]||{};for(u in d)d.hasOwnProperty(u)&&(h=d[u],p=f+h,g=a[u],v=typeof a[u]>"u",(v||g>p)&&(a[u]=p,s.push(u,p),i[u]=c))}if(typeof o<"u"&&typeof a[o]>"u"){var m=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(m)}return i},extract_shortest_path_from_predecessor_list:function(r,n){for(var o=[],i=n;i;)o.push(i),r[i],i=r[i];return o.reverse(),o},find_path:function(r,n,o){var i=t.single_source_shortest_paths(r,n,o);return t.extract_shortest_path_from_predecessor_list(i,o)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,o={},i;r=r||{};for(i in n)n.hasOwnProperty(i)&&(o[i]=n[i]);return o.queue=[],o.sorter=r.sorter||n.default_sorter,o},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var o={value:r,cost:n};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(h3);var Nne=h3.exports;(function(e){const t=jo,r=$ne,n=Dne,o=Rne,i=zne,a=zn,s=Wr,l=Nne;function c(m){return unescape(encodeURIComponent(m)).length}function u(m,b,y){const x=[];let S;for(;(S=m.exec(y))!==null;)x.push({data:S[0],index:S.index,mode:b,length:S[0].length});return x}function f(m){const b=u(a.NUMERIC,t.NUMERIC,m),y=u(a.ALPHANUMERIC,t.ALPHANUMERIC,m);let x,S;return s.isKanjiModeEnabled()?(x=u(a.BYTE,t.BYTE,m),S=u(a.KANJI,t.KANJI,m)):(x=u(a.BYTE_KANJI,t.BYTE,m),S=[]),b.concat(y,x,S).sort(function(w,k){return w.index-k.index}).map(function(w){return{data:w.data,mode:w.mode,length:w.length}})}function d(m,b){switch(b){case t.NUMERIC:return r.getBitsLength(m);case t.ALPHANUMERIC:return n.getBitsLength(m);case t.KANJI:return i.getBitsLength(m);case t.BYTE:return o.getBitsLength(m)}}function h(m){return m.reduce(function(b,y){const x=b.length-1>=0?b[b.length-1]:null;return x&&x.mode===y.mode?(b[b.length-1].data+=y.data,b):(b.push(y),b)},[])}function p(m){const b=[];for(let y=0;y=0&&s<=6&&(l===0||l===6)||l>=0&&l<=6&&(s===0||s===6)||s>=2&&s<=4&&l>=2&&l<=4?e.set(i+s,a+l,!0,!0):e.set(i+s,a+l,!1,!0))}}function Kne(e){const t=e.size;for(let r=8;r>s&1)===1,e.set(o,i,a,!0),e.set(i,o,a,!0)}function s0(e,t,r){const n=e.size,o=Gne.getEncodedBits(t,r);let i,a;for(i=0;i<15;i++)a=(o>>i&1)===1,i<6?e.set(i,8,a,!0):i<8?e.set(i+1,8,a,!0):e.set(n-15+i,8,a,!0),i<8?e.set(8,n-i-1,a,!0):i<9?e.set(8,15-i-1+1,a,!0):e.set(8,15-i-1,a,!0);e.set(n-8,8,1,!0)}function Zne(e,t){const r=e.size;let n=-1,o=r-1,i=7,a=0;for(let s=r-1;s>0;s-=2)for(s===6&&s--;;){for(let l=0;l<2;l++)if(!e.isReserved(o,s-l)){let c=!1;a>>i&1)===1),e.set(o,s-l,c),i--,i===-1&&(a++,i=7)}if(o+=n,o<0||r<=o){o-=n,n=-n;break}}}function Jne(e,t,r){const n=new Hne;r.forEach(function(l){n.put(l.mode.bit,4),n.put(l.getLength(),qne.getCharCountIndicator(l.mode,e)),l.write(n)});const o=Td.getSymbolTotalCodewords(e),i=Ah.getTotalCodewordsCount(e,t),a=(o-i)*8;for(n.getLengthInBits()+4<=a&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const s=(a-n.getLengthInBits())/8;for(let l=0;l=7&&Qne(l,t),Zne(l,a),isNaN(n)&&(n=Th.getBestMask(l,s0.bind(null,l,r))),Th.applyMask(n,l),s0(l,r,n),{modules:l,version:t,errorCorrectionLevel:r,maskPattern:n,segments:o}}t3.create=function(t,r){if(typeof t>"u"||t==="")throw new Error("No input text");let n=i0.M,o,i;return typeof r<"u"&&(n=i0.from(r.errorCorrectionLevel,i0.M),o=vu.from(r.version),i=Th.from(r.maskPattern),r.toSJISFunc&&Td.setToSJISFunction(r.toSJISFunc)),toe(t,o,n,i)};var p3={},Ig={};(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const o=parseInt(n.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const o=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,a=n.scale||4;return{width:i,scale:i?4:a,margin:o,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,o){return o.width&&o.width>=n+o.margin*2?o.width/(n+o.margin*2):o.scale},e.getImageWidth=function(n,o){const i=e.getScale(n,o);return Math.floor((n+o.margin*2)*i)},e.qrToImageData=function(n,o,i){const a=o.modules.size,s=o.modules.data,l=e.getScale(a,i),c=Math.floor((a+i.margin*2)*l),u=i.margin*l,f=[i.color.light,i.color.dark];for(let d=0;d=u&&h>=u&&d"u"&&(!a||!a.getContext)&&(l=a,a=void 0),a||(c=n()),l=t.getOptions(l);const u=t.getImageWidth(i.modules.size,l),f=c.getContext("2d"),d=f.createImageData(u,u);return t.qrToImageData(d.data,i,l),r(f,c,u),f.putImageData(d,0,0),c},e.renderToDataURL=function(i,a,s){let l=s;typeof l>"u"&&(!a||!a.getContext)&&(l=a,a=void 0),l||(l={});const c=e.render(i,a,l),u=l.type||"image/png",f=l.rendererOpts||{};return c.toDataURL(u,f.quality)}})(p3);var g3={};const roe=Ig;function Sy(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function l0(e,t,r){let n=e+t;return typeof r<"u"&&(n+=" "+r),n}function noe(e,t,r){let n="",o=0,i=!1,a=0;for(let s=0;s0&&l>0&&e[s-1]||(n+=i?l0("M",l+r,.5+c+r):l0("m",o,0),o=0,i=!1),l+1':"",c="',u='viewBox="0 0 '+s+" "+s+'"',d=''+l+c+` -`;return typeof n=="function"&&n(null,d),d};const ooe=vne,Ph=t3,m3=p3,ioe=g3;function Dg(e,t,r,n,o){const i=[].slice.call(arguments,1),a=i.length,s=typeof i[a-1]=="function";if(!s&&!ooe())throw new Error("Callback required as last argument");if(s){if(a<2)throw new Error("Too few arguments provided");a===2?(o=r,r=t,t=n=void 0):a===3&&(t.getContext&&typeof o>"u"?(o=n,n=void 0):(o=n,n=r,r=t,t=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(r=t,t=n=void 0):a===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(l,c){try{const u=Ph.create(r,n);l(e(u,t,n))}catch(u){c(u)}})}try{const l=Ph.create(r,n);o(null,e(l,t,n))}catch(l){o(l)}}Al.create=Ph.create;Al.toCanvas=Dg.bind(null,m3.render);Al.toDataURL=Dg.bind(null,m3.renderToDataURL);Al.toString=Dg.bind(null,function(e,t,r){return ioe.render(e,r)});function aoe(e,t){const r=_te(e),n=M("");return Je(r,async o=>{r.value&&Q4&&(n.value=await Al.toDataURL(o,t))},{immediate:!0}),n}const soe=["src"],loe=pe({__name:"index",props:{value:{default:""},size:{default:160},color:{default:"#000"},backgroundColor:{default:"#FFF"},bordered:{type:Boolean,default:!0},borderColor:{default:"#0505050f"},scale:{default:8},errorLevel:{default:"H"}},setup(e){const t=e,r=aoe(t.value,{errorCorrectionLevel:t.errorLevel,type:"image/png",quality:1,margin:3,scale:t.scale,color:{dark:t.color,light:t.backgroundColor}});return(n,o)=>(he(),Fe("div",{class:Kt(["m-qrcode",{bordered:n.bordered}]),style:Jr(`width: ${n.size}px; height: ${n.size}px; border-color: ${n.borderColor};`)},[re("img",{src:N(r),class:"u-qrcode",alt:"QRCode"},null,8,soe)],6))}});const _y=kg(loe,[["__scopeId","data-v-56c01def"]]),coe={class:"p-4 bg-white rounded dark:bg-slate-800"},uoe={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},doe={class:"ml-[8px]"},foe={class:"p-4"},hoe={class:"whitespace-nowrap font-bold"},poe={class:"text-xl text-[red] font-bold"},goe={class:"mt-2 flex"},moe={class:"whitespace-nowrap font-bold"},voe={class:"ml-2"},boe={class:"mt-2 flex"},xoe={class:"whitespace-nowrap font-bold"},yoe={class:"ml-2"},Coe={class:"flex items-center justify-center my-3 relative"},woe=["src"],Soe=["src"],_oe={class:"mb-10 mt-5 text-base"},Eoe=["src"],koe=["src"],Toe={key:0,class:"flex items-center justify-center text-lg"},Aoe={class:"w-[60px] inline-block text-[red] text-left"},Poe={class:"flex items-center"},$oe=["src"],Ioe=1e3,Doe=pe({__name:"PayDialog",props:{visible:{type:Boolean}},setup(e){const{isMobile:t}=vn(),r=Cr(),n=bd(),o=xn(),i=M(!0),a=M("wxpay"),s=R(()=>{var D;const I=window.navigator.userAgent.toLowerCase();return I.match(/MicroMessenger/i)&&((D=I==null?void 0:I.match(/MicroMessenger/i))==null?void 0:D[0])==="micromessenger"}),l=R(()=>{const{payHupiStatus:I,payEpayStatus:D,payMpayStatus:B,payWechatStatus:j,payLtzfStatus:F}=r.globalConfig;return Number(j)===1?"wechat":Number(D)===1?"epay":Number(B)===1?"mpay":Number(I)===1?"hupi":Number(F)===1?"ltzf":null}),c=R(()=>{const{payEpayChannel:I,payMpayChannel:D}=r.globalConfig;return l.value==="mpay"?D?JSON.parse(D):[]:l.value==="epay"?I?JSON.parse(I):[]:l.value==="wechat"?["wxpay"]:l.value==="hupi"?["wxpay"]:l.value==="ltzf"?["wxpay"]:[]}),u=R(()=>a.value==="wxpay"?Ae("pay.wechat"):Ae("pay.alipay")),f=M(),d=R(()=>{const{payEpayApiPayUrl:I}=r.globalConfig;return l.value==="epay"&&I.includes("submit")||l.value==="mpay"});Je(a,()=>{var I;w(),(I=f.value)==null||I.reset()});const h=M("");let p;const g=R(()=>[{label:Ae("pay.wechatPay"),value:"wxpay",icon:yy,payChannel:"wxpay"},{label:Ae("pay.alipayPay"),value:"alipay",icon:xy,payChannel:"alipay"}].filter(I=>c.value.includes(I.payChannel))),v=async()=>{if(!h.value)return;const I=await mne({orderId:h.value}),{success:D,data:B}=I;if(D){const{status:j}=B;j===1&&(clearInterval(p),o.success(Ae("pay.paymentSuccess")),i.value=!1,r.getUserInfo(),setTimeout(()=>{n.updatePayDialog(!1)},2e3))}},m=R(()=>n==null?void 0:n.orderInfo),b=M(""),y=M(!0),x=M(!0),S=M("");function C(){n.updateOrderInfo({}),clearInterval(p)}async function w(){!d.value&&(y.value=!0),d.value&&(x.value=!0);let I=null;I=a.value,l.value==="wechat"&&(I=s.value?"jsapi":"native");try{const D=await e3({goodsId:m.value.pkgInfo.id,payType:I}),{data:B,success:j,message:F}=D;if(!j)return o.error(F);const{url_qrcode:z,orderId:V,redirectUrl:oe}=B;S.value=oe,h.value=V,b.value=z,y.value=!1,x.value=!1}catch{n.updatePayDialog(!1),y.value=!1,x.value=!1}}function k(){window.open(S.value)}async function A(){await w(),p=setInterval(()=>{v()},Ioe)}function T(){o.error(Ae("pay.paymentTimeout")),clearInterval(p),n.updatePayDialog(!1)}return(I,D)=>(he(),rt(N(Ai),{show:I.visible,style:{width:"90%","max-width":"750px"},"on-after-enter":A,"on-after-leave":C},{default:De(()=>{var B,j,F;return[re("div",coe,[re("div",{class:"flex justify-between",onClick:D[0]||(D[0]=z=>N(n).updatePayDialog(!1))},[re("div",uoe,[me(N(Sa),{size:"25",color:"#0e7a0d"},{default:De(()=>[me(N(Z4))]),_:1}),re("span",doe,Re(N(Ae)("pay.productPayment")),1)]),me(N(Sa),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:De(()=>[me(N(Tg))]),_:1})]),re("div",foe,[re("div",null,[re("span",hoe,Re(N(Ae)("pay.amountDue")),1),re("i",poe,Re(`¥${(B=m.value.pkgInfo)==null?void 0:B.price}`),1)]),re("div",goe,[re("span",moe,Re(N(Ae)("pay.packageName")),1),re("span",voe,Re((j=m.value.pkgInfo)==null?void 0:j.name),1)]),re("div",boe,[re("span",xoe,Re(N(Ae)("pay.packageDescription")),1),re("span",yoe,Re((F=m.value.pkgInfo)==null?void 0:F.des),1)]),re("div",{class:Kt(["flex justify-center",[N(t)?"flex-col":"flex-row",d.value?"flex-row-reverse":""]])},[re("div",null,[re("div",Coe,[y.value&&!d.value?(he(),rt(N(ed),{key:0,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})):Ze("",!0),y.value?(he(),rt(N(vi),{key:1,width:240,height:240,sharp:!1,size:"medium"})):Ze("",!0),l.value==="epay"&&!y.value&&!x.value&&!d.value?(he(),rt(_y,{key:2,value:b.value,size:240},null,8,["value"])):Ze("",!0),a.value==="wxpay"&&!y.value&&!d.value?(he(),Fe("img",{key:3,src:N(yy),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,woe)):Ze("",!0),a.value==="alipay"&&!y.value&&!d.value?(he(),Fe("img",{key:4,src:N(xy),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,Soe)):Ze("",!0),l.value==="wechat"&&!y.value?(he(),rt(_y,{key:5,value:b.value,size:240},null,8,["value"])):Ze("",!0),d.value?(he(),Fe("div",{key:6,class:Kt(["flex flex-col",[d.value&&N(t)?"ml-0":"ml-20"]])},[re("span",_oe,Re(N(Ae)("pay.siteAdminEnabledRedirect")),1),d.value?(he(),rt(N(gn),{key:0,type:"primary",ghost:"",disabled:x.value,loading:x.value,onClick:k},{default:De(()=>[pt(Re(N(Ae)("pay.clickToPay")),1)]),_:1},8,["disabled","loading"])):Ze("",!0)],2)):Ze("",!0),l.value==="hupi"&&!x.value?(he(),Fe("iframe",{key:7,class:"w-[280px] h-[280px] scale-90",src:b.value,frameborder:"0"},null,8,Eoe)):Ze("",!0),l.value==="ltzf"&&!x.value?(he(),Fe("img",{key:8,src:b.value,class:"w-[280px] h-[280px] scale-90",alt:"QRCode"},null,8,koe)):Ze("",!0)]),d.value?Ze("",!0):(he(),Fe("span",Toe,Re(N(Ae)("pay.open"))+" "+Re(u.value)+" "+Re(N(Ae)("pay.scanToPay")),1))]),re("div",{class:Kt(["flex flex-col",[N(t)?"w-full ":" ml-10 w-[200] "]])},[re("div",{style:{"white-space":"nowrap"},class:Kt(["mt-6 w-full text-center font-bold text-sm",[N(t)?"mb-2":"mb-10"]])},[pt(Re(N(Ae)("pay.completePaymentWithin"))+" ",1),re("span",Aoe,[me(N(mS),{ref_key:"countdownRef",ref:f,active:i.value,duration:300*1e3,"on-finish":T},null,8,["active"])]),pt(" "+Re(N(Ae)("pay.timeToCompletePayment")),1)],2),me(N(k9),{value:a.value,"onUpdate:value":D[1]||(D[1]=z=>a.value=z),name:"radiogroup",class:"flex"},{default:De(()=>[me(N(Zu),{vertical:!N(t),justify:"center",size:N(t)?10:35,class:"w-full"},{default:De(()=>[(he(!0),Fe(ot,null,Fs(g.value,z=>(he(),rt(N(w9),{key:z.value,value:z.value},{default:De(()=>[re("div",Poe,[re("img",{class:"h-4 object-contain mr-2",src:z.icon,alt:""},null,8,$oe),pt(" "+Re(z.label),1)])]),_:2},1032,["value"]))),128))]),_:1},8,["vertical","size"])]),_:1},8,["value"])],2)],2)])])]}),_:1},8,["show"]))}});function $ce(e){return mt({url:"/crami/useCrami",data:e})}function Boe(e){return kt({url:"/crami/queryAllPackage",data:e})}const Ooe="/assets/preferential-0ee5bc79.png",Loe={class:"p-4 bg-white rounded dark:bg-slate-800 max-h-4/5"},Roe={class:"flex cursor-pointer justify-between"},Foe={class:"text-xl"},Moe={key:0,class:"p-4"},zoe={class:"relative"},Noe=["src"],Hoe=["src"],joe={class:"flex justify-between items-end min-h-28"},Woe={class:"text-sm font-bold mr-1 w-[120px]"},Uoe={class:"font-bold"},Voe={class:"flex justify-between items-end min-h-28"},Goe={class:"text-sm font-bold mr-1 w-[120px]"},qoe={class:"font-bold"},Yoe={class:"flex justify-between items-end min-h-28"},Koe={class:"text-sm font-bold mr-1 w-[120px]"},Xoe={class:"font-bold"},Qoe={class:"flex justify-between items-end mt-5"},Zoe={class:"text-xl text-[red] font-bold"},Joe={key:1,class:"p-4"},eie=pe({__name:"GoodsDialog",props:{visible:{type:Boolean}},setup(e){const t=Cr(),r=zo(),n=M(!0),{isSmallMd:o}=vn(),i=M([]),a=xn(),s=YS(),l=M(!1),c=R(()=>{var x;const y=window.navigator.userAgent.toLowerCase();return y.match(/MicroMessenger/i)&&((x=y==null?void 0:y.match(/MicroMessenger/i))==null?void 0:x[0])==="micromessenger"}),u=R(()=>{const{payHupiStatus:y,payEpayStatus:x,payMpayStatus:S,payWechatStatus:C,payLtzfStatus:w}=t.globalConfig;return Number(C)===1?"wechat":Number(S)===1?"mpay":Number(y)===1?"hupi":Number(x)===1?"epay":Number(w)===1?"ltzf":null}),f=R(()=>{const{payEpayChannel:y,payMpayChannel:x}=t.globalConfig;return u.value==="mpay"?x?JSON.parse(x):[]:u.value==="epay"?y?JSON.parse(y):[]:u.value==="wechat"?["wxpay"]:u.value==="hupi"?["wxpay"]:u.value==="ltzf"?["wxpay"]:[]});function d(){m(),c.value&&p()}function h(){i.value=[],n.value=!0}async function p(){const y=window.location.href.replace(/#.*$/,""),x=await nne({url:y}),{appId:S,nonceStr:C,timestamp:w,signature:k}=x.data;S&&(wx.config({debug:!1,appId:S,timestamp:w,nonceStr:C,signature:k,jsApiList:["chooseWXPay"]}),wx.ready(()=>{}),wx.error(()=>{}))}function g(y){const{appId:x,timeStamp:S,nonceStr:C,package:w,signType:k,paySign:A}=y;WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:x,timeStamp:S,nonceStr:C,package:w,signType:k,paySign:A},T=>{T.err_msg==="get_brand_wcpay_request:ok"?(a.success(Ae("goods.purchaseSuccess")),setTimeout(()=>{t.getUserInfo(),r.updateGoodsDialog(!1)},500)):a.success(Ae("goods.paymentNotSuccessful"))})}async function v(y){if(!l.value){if(c.value&&u.value==="wechat"&&Number(t.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",g,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",g),document.attachEvent("onWeixinJSBridgeReady",g));else{const x=await e3({goodsId:y.id,payType:"jsapi"}),{success:S,data:C}=x;S&&g(C)}return}r.updateOrderInfo({pkgInfo:y}),r.updateGoodsDialog(!1),r.updatePayDialog(!0)}}async function m(){n.value=!0;try{const y=await Boe({status:1,size:30});i.value=y.data.rows,n.value=!1}catch{n.value=!1}}function b(y){const{name:x}=y;s.success({title:Ae("goods.orderConfirmationTitle"),content:Ae("goods.orderConfirmationContent")+x,negativeText:Ae("goods.thinkAgain"),positiveText:Ae("goods.confirmPurchase"),onPositiveClick:()=>{f.value.length||a.warning(Ae("goods.paymentNotEnabled")),v(y)}})}return(y,x)=>(he(),rt(N(Ai),{show:y.visible,style:Jr({maxWidth:`${i.value.length>4?1200:i.value.length*250}px`,minWidth:N(o)?"100%":"1000px"}),"on-after-enter":d,"on-after-leave":h},{default:De(()=>[re("div",Loe,[re("div",Roe,[re("span",Foe,Re(N(Ae)("goods.selectProducts")),1),me(N(Sa),{size:"20",color:"#0e7a0d",onClick:x[0]||(x[0]=S=>N(r).updateGoodsDialog(!1))},{default:De(()=>[me(N(Tg))]),_:1})]),n.value?Ze("",!0):(he(),Fe("div",Moe,[me(N(g1),{"x-gap":15,"y-gap":15,cols:N(o)?1:i.value.length>4?4:i.value.length,class:"mt-3"},{default:De(()=>[(he(!0),Fe(ot,null,Fs(i.value,(S,C)=>(he(),rt(N(p1),{key:C},{default:De(()=>[me(N(Yu),{size:"small",embedded:""},{header:De(()=>[re("div",zoe,[re("b",null,Re(S.name),1),S.extraReward===1?(he(),Fe("img",{key:0,src:N(Ooe),class:"w-8 absolute -right-4 -top-3"},null,8,Noe)):Ze("",!0)])]),cover:De(()=>[re("img",{src:S.coverImg,class:"h-[130px] object-cover"},null,8,Hoe)]),default:De(()=>[re("div",null,[re("p",null,Re(S.des),1),re("div",joe,[re("span",Woe,Re(N(Ae)("goods.basicModelQuota")),1),re("span",Uoe,Re(S.model3Count),1)]),re("div",Voe,[re("span",Goe,Re(N(Ae)("goods.advancedModelQuota")),1),re("span",qoe,Re(S.model4Count),1)]),re("div",Yoe,[re("span",Koe,Re(N(Ae)("goods.drawingQuota")),1),re("span",Xoe,Re(S.drawMjCount),1)]),re("div",Qoe,[re("i",Zoe,Re(`¥${S.price}`),1),me(N(gn),{type:"primary",dashed:"",size:"small",onClick:w=>b(S)},{default:De(()=>[pt(Re(N(Ae)("goods.buyPackage")),1)]),_:2},1032,["onClick"])])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])])),n.value?(he(),Fe("div",Joe,[me(N(g1),{"x-gap":15,"y-gap":15,cols:N(o)?1:4,class:"mt-3"},{default:De(()=>[(he(),Fe(ot,null,Fs(4,S=>me(N(p1),{key:S},{default:De(()=>[me(N(Zu),{vertical:""},{default:De(()=>[me(N(vi),{height:"130px",width:"100%"}),me(N(vi),{height:"210px",width:"100%",sharp:!1})]),_:1})]),_:2},1024)),64))]),_:1},8,["cols"])])):Ze("",!0)])]),_:1},8,["show","style"]))}});function tie(){return kt({url:"/config/notice"})}function v3(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let Bi=v3();function rie(e){Bi=e}const b3=/[&<>"']/,nie=new RegExp(b3.source,"g"),x3=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,oie=new RegExp(x3.source,"g"),iie={"&":"&","<":"<",">":">",'"':""","'":"'"},Ey=e=>iie[e];function mr(e,t){if(t){if(b3.test(e))return e.replace(nie,Ey)}else if(x3.test(e))return e.replace(oie,Ey);return e}const aie=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function y3(e){return e.replace(aie,(t,r)=>(r=r.toLowerCase(),r==="colon"?":":r.charAt(0)==="#"?r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1)):""))}const sie=/(^|[^\[])\^/g;function Et(e,t){e=typeof e=="string"?e:e.source,t=t||"";const r={replace:(n,o)=>(o=o.source||o,o=o.replace(sie,"$1"),e=e.replace(n,o),r),getRegex:()=>new RegExp(e,t)};return r}const lie=/[^\w:]/g,cie=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ky(e,t,r){if(e){let n;try{n=decodeURIComponent(y3(r)).replace(lie,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}t&&!cie.test(r)&&(r=hie(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const pc={},uie=/^[^:]+:\/*[^/]*$/,die=/^([^:]+:)[\s\S]*$/,fie=/^([^:]+:\/*[^/]*)[\s\S]*$/;function hie(e,t){pc[" "+e]||(uie.test(e)?pc[" "+e]=e+"/":pc[" "+e]=Fc(e,"/",!0)),e=pc[" "+e];const r=e.indexOf(":")===-1;return t.substring(0,2)==="//"?r?t:e.replace(die,"$1")+t:t.charAt(0)==="/"?r?t:e.replace(fie,"$1")+t:e+t}const bu={exec:function(){}};function Ty(e,t){const r=e.replace(/\|/g,(i,a,s)=>{let l=!1,c=a;for(;--c>=0&&s[c]==="\\";)l=!l;return l?"|":" |"}),n=r.split(/ \|/);let o=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length1;)t&1&&(r+=e),t>>=1,e+=e;return r+e}function Py(e,t,r,n){const o=t.href,i=t.title?mr(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const s={type:"link",raw:r,href:o,title:i,text:a,tokens:n.inlineTokens(a)};return n.state.inLink=!1,s}return{type:"image",raw:r,href:o,title:i,text:mr(a)}}function mie(e,t){const r=e.match(/^(\s+)(?:```)/);if(r===null)return t;const n=r[1];return t.split(` -`).map(o=>{const i=o.match(/^\s+/);if(i===null)return o;const[a]=i;return a.length>=n.length?o.slice(n.length):o}).join(` -`)}class Bg{constructor(t){this.options=t||Bi}space(t){const r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){const r=this.rules.block.code.exec(t);if(r){const n=r[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Fc(n,` -`)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],o=mie(n,r[3]||"");return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline._escapes,"$1"):r[2],text:o}}}heading(t){const r=this.rules.block.heading.exec(t);if(r){let n=r[2].trim();if(/#$/.test(n)){const o=Fc(n,"#");(this.options.pedantic||!o||/ $/.test(o))&&(n=o.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){const r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:r[0]}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){const n=r[0].replace(/^ *>[ \t]?/gm,""),o=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(n);return this.lexer.state.top=o,{type:"blockquote",raw:r[0],tokens:i,text:n}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n,o,i,a,s,l,c,u,f,d,h,p,g=r[1].trim();const v=g.length>1,m={type:"list",raw:"",ordered:v,start:v?+g.slice(0,-1):"",loose:!1,items:[]};g=v?`\\d{1,9}\\${g.slice(-1)}`:`\\${g}`,this.options.pedantic&&(g=v?g:"[*+-]");const b=new RegExp(`^( {0,3}${g})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(p=!1,!(!(r=b.exec(t))||this.rules.block.hr.test(t)));){if(n=r[0],t=t.substring(n.length),u=r[2].split(` -`,1)[0].replace(/^\t+/,x=>" ".repeat(3*x.length)),f=t.split(` -`,1)[0],this.options.pedantic?(a=2,h=u.trimLeft()):(a=r[2].search(/[^ ]/),a=a>4?1:a,h=u.slice(a),a+=r[1].length),l=!1,!u&&/^ *$/.test(f)&&(n+=f+` -`,t=t.substring(f.length+1),p=!0),!p){const x=new RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),S=new RegExp(`^ {0,${Math.min(3,a-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),C=new RegExp(`^ {0,${Math.min(3,a-1)}}(?:\`\`\`|~~~)`),w=new RegExp(`^ {0,${Math.min(3,a-1)}}#`);for(;t&&(d=t.split(` -`,1)[0],f=d,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(C.test(f)||w.test(f)||x.test(f)||S.test(t)));){if(f.search(/[^ ]/)>=a||!f.trim())h+=` -`+f.slice(a);else{if(l||u.search(/[^ ]/)>=4||C.test(u)||w.test(u)||S.test(u))break;h+=` -`+f}!l&&!f.trim()&&(l=!0),n+=d+` -`,t=t.substring(d.length+1),u=f.slice(a)}}m.loose||(c?m.loose=!0:/\n *\n *$/.test(n)&&(c=!0)),this.options.gfm&&(o=/^\[[ xX]\] /.exec(h),o&&(i=o[0]!=="[ ] ",h=h.replace(/^\[[ xX]\] +/,""))),m.items.push({type:"list_item",raw:n,task:!!o,checked:i,loose:!1,text:h}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=h.trimRight(),m.raw=m.raw.trimRight();const y=m.items.length;for(s=0;sC.type==="space"),S=x.length>0&&x.some(C=>/\n.*\n/.test(C.raw));m.loose=S}if(m.loose)for(s=0;s$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline._escapes,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:o,title:i}}}table(t){const r=this.rules.block.table.exec(t);if(r){const n={type:"table",header:Ty(r[1]).map(o=>({text:o})),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:r[3]&&r[3].trim()?r[3].replace(/\n[ \t]*$/,"").split(` -`):[]};if(n.header.length===n.align.length){n.raw=r[0];let o=n.align.length,i,a,s,l;for(i=0;i({text:c}));for(o=n.header.length,a=0;a/i.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):mr(r[0]):r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const n=r[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const a=Fc(n.slice(0,-1),"\\");if((n.length-a.length)%2===0)return}else{const a=pie(r[2],"()");if(a>-1){const l=(r[0].indexOf("!")===0?5:4)+r[1].length+a;r[2]=r[2].substring(0,a),r[0]=r[0].substring(0,l).trim(),r[3]=""}}let o=r[2],i="";if(this.options.pedantic){const a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);a&&(o=a[1],i=a[3])}else i=r[3]?r[3].slice(1,-1):"";return o=o.trim(),/^$/.test(n)?o=o.slice(1):o=o.slice(1,-1)),Py(r,{href:o&&o.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},r[0],this.lexer)}}reflink(t,r){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let o=(n[2]||n[1]).replace(/\s+/g," ");if(o=r[o.toLowerCase()],!o){const i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return Py(n,o,n[0],this.lexer)}}emStrong(t,r,n=""){let o=this.rules.inline.emStrong.lDelim.exec(t);if(!o||o[3]&&n.match(/[\p{L}\p{N}]/u))return;const i=o[1]||o[2]||"";if(!i||i&&(n===""||this.rules.inline.punctuation.exec(n))){const a=o[0].length-1;let s,l,c=a,u=0;const f=o[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,r=r.slice(-1*t.length+a);(o=f.exec(r))!=null;){if(s=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!s)continue;if(l=s.length,o[3]||o[4]){c+=l;continue}else if((o[5]||o[6])&&a%3&&!((a+l)%3)){u+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+u);const d=t.slice(0,a+o.index+(o[0].length-s.length)+l);if(Math.min(a,l)%2){const p=d.slice(1,-1);return{type:"em",raw:d,text:p,tokens:this.lexer.inlineTokens(p)}}const h=d.slice(2,-2);return{type:"strong",raw:d,text:h,tokens:this.lexer.inlineTokens(h)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(/\n/g," ");const o=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return o&&i&&(n=n.substring(1,n.length-1)),n=mr(n,!0),{type:"codespan",raw:r[0],text:n}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t,r){const n=this.rules.inline.autolink.exec(t);if(n){let o,i;return n[2]==="@"?(o=mr(this.options.mangle?r(n[1]):n[1]),i="mailto:"+o):(o=mr(n[1]),i=o),{type:"link",raw:n[0],text:o,href:i,tokens:[{type:"text",raw:o,text:o}]}}}url(t,r){let n;if(n=this.rules.inline.url.exec(t)){let o,i;if(n[2]==="@")o=mr(this.options.mangle?r(n[0]):n[0]),i="mailto:"+o;else{let a;do a=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(a!==n[0]);o=mr(n[0]),n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:o,href:i,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t,r){const n=this.rules.inline.text.exec(t);if(n){let o;return this.lexer.state.inRawBlock?o=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):mr(n[0]):n[0]:o=mr(this.options.smartypants?r(n[0]):n[0]),{type:"text",raw:n[0],text:o}}}}const Ne={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:bu,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Ne._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Ne._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Ne.def=Et(Ne.def).replace("label",Ne._label).replace("title",Ne._title).getRegex();Ne.bullet=/(?:[*+-]|\d{1,9}[.)])/;Ne.listItemStart=Et(/^( *)(bull) */).replace("bull",Ne.bullet).getRegex();Ne.list=Et(Ne.list).replace(/bull/g,Ne.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ne.def.source+")").getRegex();Ne._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";Ne._comment=/|$)/;Ne.html=Et(Ne.html,"i").replace("comment",Ne._comment).replace("tag",Ne._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Ne.paragraph=Et(Ne._paragraph).replace("hr",Ne.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ne._tag).getRegex();Ne.blockquote=Et(Ne.blockquote).replace("paragraph",Ne.paragraph).getRegex();Ne.normal={...Ne};Ne.gfm={...Ne.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};Ne.gfm.table=Et(Ne.gfm.table).replace("hr",Ne.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ne._tag).getRegex();Ne.gfm.paragraph=Et(Ne._paragraph).replace("hr",Ne.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ne.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ne._tag).getRegex();Ne.pedantic={...Ne.normal,html:Et(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ne._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:bu,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Et(Ne.normal._paragraph).replace("hr",Ne.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Ne.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const Ie={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:bu,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:bu,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";Ie.punctuation=Et(Ie.punctuation).replace(/punctuation/g,Ie._punctuation).getRegex();Ie.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;Ie.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;Ie._comment=Et(Ne._comment).replace("(?:-->|$)","-->").getRegex();Ie.emStrong.lDelim=Et(Ie.emStrong.lDelim).replace(/punct/g,Ie._punctuation).getRegex();Ie.emStrong.rDelimAst=Et(Ie.emStrong.rDelimAst,"g").replace(/punct/g,Ie._punctuation).getRegex();Ie.emStrong.rDelimUnd=Et(Ie.emStrong.rDelimUnd,"g").replace(/punct/g,Ie._punctuation).getRegex();Ie._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;Ie._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;Ie._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;Ie.autolink=Et(Ie.autolink).replace("scheme",Ie._scheme).replace("email",Ie._email).getRegex();Ie._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;Ie.tag=Et(Ie.tag).replace("comment",Ie._comment).replace("attribute",Ie._attribute).getRegex();Ie._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;Ie._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;Ie._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;Ie.link=Et(Ie.link).replace("label",Ie._label).replace("href",Ie._href).replace("title",Ie._title).getRegex();Ie.reflink=Et(Ie.reflink).replace("label",Ie._label).replace("ref",Ne._label).getRegex();Ie.nolink=Et(Ie.nolink).replace("ref",Ne._label).getRegex();Ie.reflinkSearch=Et(Ie.reflinkSearch,"g").replace("reflink",Ie.reflink).replace("nolink",Ie.nolink).getRegex();Ie.normal={...Ie};Ie.pedantic={...Ie.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Et(/^!?\[(label)\]\((.*?)\)/).replace("label",Ie._label).getRegex(),reflink:Et(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ie._label).getRegex()};Ie.gfm={...Ie.normal,escape:Et(Ie.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),t+="&#"+n+";";return t}class Bo{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Bi,this.options.tokenizer=this.options.tokenizer||new Bg,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={block:Ne.normal,inline:Ie.normal};this.options.pedantic?(r.block=Ne.pedantic,r.inline=Ie.pedantic):this.options.gfm&&(r.block=Ne.gfm,this.options.breaks?r.inline=Ie.breaks:r.inline=Ie.gfm),this.tokenizer.rules=r}static get rules(){return{block:Ne,inline:Ie}}static lex(t,r){return new Bo(r).lex(t)}static lexInline(t,r){return new Bo(r).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,` -`),this.blockTokens(t,this.tokens);let r;for(;r=this.inlineQueue.shift();)this.inlineTokens(r.src,r.tokens);return this.tokens}blockTokens(t,r=[]){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(s,l,c)=>l+" ".repeat(c.length));let n,o,i,a;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>(n=s.call({lexer:this},t,r))?(t=t.substring(n.raw.length),r.push(n),!0):!1))){if(n=this.tokenizer.space(t)){t=t.substring(n.raw.length),n.raw.length===1&&r.length>0?r[r.length-1].raw+=` -`:r.push(n);continue}if(n=this.tokenizer.code(t)){t=t.substring(n.raw.length),o=r[r.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=` -`+n.raw,o.text+=` -`+n.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text):r.push(n);continue}if(n=this.tokenizer.fences(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.heading(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.hr(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.blockquote(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.list(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.html(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.def(t)){t=t.substring(n.raw.length),o=r[r.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=` -`+n.raw,o.text+=` -`+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.lheading(t)){t=t.substring(n.raw.length),r.push(n);continue}if(i=t,this.options.extensions&&this.options.extensions.startBlock){let s=1/0;const l=t.slice(1);let c;this.options.extensions.startBlock.forEach(function(u){c=u.call({lexer:this},l),typeof c=="number"&&c>=0&&(s=Math.min(s,c))}),s<1/0&&s>=0&&(i=t.substring(0,s+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){o=r[r.length-1],a&&o.type==="paragraph"?(o.raw+=` -`+n.raw,o.text+=` -`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):r.push(n),a=i.length!==t.length,t=t.substring(n.raw.length);continue}if(n=this.tokenizer.text(t)){t=t.substring(n.raw.length),o=r[r.length-1],o&&o.type==="text"?(o.raw+=` -`+n.raw,o.text+=` -`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):r.push(n);continue}if(t){const s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let n,o,i,a=t,s,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(a))!=null;)u.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+Ay("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(a))!=null;)a=a.slice(0,s.index)+"["+Ay("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.escapedEmSt.exec(a))!=null;)a=a.slice(0,s.index+s[0].length-2)+"++"+a.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(n=u.call({lexer:this},t,r))?(t=t.substring(n.raw.length),r.push(n),!0):!1))){if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),o=r[r.length-1],o&&n.type==="text"&&o.type==="text"?(o.raw+=n.raw,o.text+=n.text):r.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length),o=r[r.length-1],o&&n.type==="text"&&o.type==="text"?(o.raw+=n.raw,o.text+=n.text):r.push(n);continue}if(n=this.tokenizer.emStrong(t,a,c)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.del(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.autolink(t,$y)){t=t.substring(n.raw.length),r.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t,$y))){t=t.substring(n.raw.length),r.push(n);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const f=t.slice(1);let d;this.options.extensions.startInline.forEach(function(h){d=h.call({lexer:this},f),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(i=t.substring(0,u+1))}if(n=this.tokenizer.inlineText(i,vie)){t=t.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(c=n.raw.slice(-1)),l=!0,o=r[r.length-1],o&&o.type==="text"?(o.raw+=n.raw,o.text+=n.text):r.push(n);continue}if(t){const u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return r}}class Og{constructor(t){this.options=t||Bi}code(t,r,n){const o=(r||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(t,o);i!=null&&i!==t&&(n=!0,t=i)}return t=t.replace(/\n$/,"")+` -`,o?'
    '+(n?t:mr(t,!0))+`
    -`:"
    "+(n?t:mr(t,!0))+`
    -`}blockquote(t){return`
    -${t}
    -`}html(t){return t}heading(t,r,n,o){if(this.options.headerIds){const i=this.options.headerPrefix+o.slug(n);return`${t} -`}return`${t} -`}hr(){return this.options.xhtml?`
    -`:`
    -`}list(t,r,n){const o=r?"ol":"ul",i=r&&n!==1?' start="'+n+'"':"";return"<"+o+i+`> -`+t+" -`}listitem(t){return`
  • ${t}
  • -`}checkbox(t){return" "}paragraph(t){return`

    ${t}

    -`}table(t,r){return r&&(r=`${r}`),` - -`+t+` -`+r+`
    -`}tablerow(t){return` -${t} -`}tablecell(t,r){const n=r.header?"th":"td";return(r.align?`<${n} align="${r.align}">`:`<${n}>`)+t+` -`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"
    ":"
    "}del(t){return`${t}`}link(t,r,n){if(t=ky(this.options.sanitize,this.options.baseUrl,t),t===null)return n;let o='",o}image(t,r,n){if(t=ky(this.options.sanitize,this.options.baseUrl,t),t===null)return n;let o=`${n}":">",o}text(t){return t}}class C3{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,r,n){return""+n}image(t,r,n){return""+n}br(){return""}}class w3{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,r){let n=t,o=0;if(this.seen.hasOwnProperty(n)){o=this.seen[t];do o++,n=t+"-"+o;while(this.seen.hasOwnProperty(n))}return r||(this.seen[t]=o,this.seen[n]=0),n}slug(t,r={}){const n=this.serialize(t);return this.getNextSafeSlug(n,r.dryrun)}}class Oo{constructor(t){this.options=t||Bi,this.options.renderer=this.options.renderer||new Og,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new C3,this.slugger=new w3}static parse(t,r){return new Oo(r).parse(t)}static parseInline(t,r){return new Oo(r).parseInline(t)}parse(t,r=!0){let n="",o,i,a,s,l,c,u,f,d,h,p,g,v,m,b,y,x,S,C;const w=t.length;for(o=0;o0&&b.tokens[0].type==="paragraph"?(b.tokens[0].text=S+" "+b.tokens[0].text,b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&b.tokens[0].tokens[0].type==="text"&&(b.tokens[0].tokens[0].text=S+" "+b.tokens[0].tokens[0].text)):b.tokens.unshift({type:"text",text:S}):m+=S),m+=this.parse(b.tokens,v),d+=this.renderer.listitem(m,x,y);n+=this.renderer.list(d,p,g);continue}case"html":{n+=this.renderer.html(h.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(h.tokens));continue}case"text":{for(d=h.tokens?this.parseInline(h.tokens):h.text;o+1{if(n.message+=` -Please report this to https://github.com/markedjs/marked.`,e){const o="

    An error occurred:

    "+mr(n.message+"",!0)+"
    ";if(t)return Promise.resolve(o);if(r){r(null,o);return}return o}if(t)return Promise.reject(n);if(r){r(n);return}throw n}}function S3(e,t){return(r,n,o)=>{typeof n=="function"&&(o=n,n=null);const i={...n};n={...je.defaults,...i};const a=bie(n.silent,n.async,o);if(typeof r>"u"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(gie(n),n.hooks&&(n.hooks.options=n),o){const s=n.highlight;let l;try{n.hooks&&(r=n.hooks.preprocess(r)),l=e(r,n)}catch(f){return a(f)}const c=function(f){let d;if(!f)try{n.walkTokens&&je.walkTokens(l,n.walkTokens),d=t(l,n),n.hooks&&(d=n.hooks.postprocess(d))}catch(h){f=h}return n.highlight=s,f?a(f):o(null,d)};if(!s||s.length<3||(delete n.highlight,!l.length))return c();let u=0;je.walkTokens(l,function(f){f.type==="code"&&(u++,setTimeout(()=>{s(f.text,f.lang,function(d,h){if(d)return c(d);h!=null&&h!==f.text&&(f.text=h,f.escaped=!0),u--,u===0&&c()})},0))}),u===0&&c();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(r):r).then(s=>e(s,n)).then(s=>n.walkTokens?Promise.all(je.walkTokens(s,n.walkTokens)).then(()=>s):s).then(s=>t(s,n)).then(s=>n.hooks?n.hooks.postprocess(s):s).catch(a);try{n.hooks&&(r=n.hooks.preprocess(r));const s=e(r,n);n.walkTokens&&je.walkTokens(s,n.walkTokens);let l=t(s,n);return n.hooks&&(l=n.hooks.postprocess(l)),l}catch(s){return a(s)}}}function je(e,t,r){return S3(Bo.lex,Oo.parse)(e,t,r)}je.options=je.setOptions=function(e){return je.defaults={...je.defaults,...e},rie(je.defaults),je};je.getDefaults=v3;je.defaults=Bi;je.use=function(...e){const t=je.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(r=>{const n={...r};if(n.async=je.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if(o.renderer){const i=t.renderers[o.name];i?t.renderers[o.name]=function(...a){let s=o.renderer.apply(this,a);return s===!1&&(s=i.apply(this,a)),s}:t.renderers[o.name]=o.renderer}if(o.tokenizer){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[o.level]?t[o.level].unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&(o.level==="block"?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:o.level==="inline"&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),n.extensions=t),r.renderer){const o=je.defaults.renderer||new Og;for(const i in r.renderer){const a=o[i];o[i]=(...s)=>{let l=r.renderer[i].apply(o,s);return l===!1&&(l=a.apply(o,s)),l}}n.renderer=o}if(r.tokenizer){const o=je.defaults.tokenizer||new Bg;for(const i in r.tokenizer){const a=o[i];o[i]=(...s)=>{let l=r.tokenizer[i].apply(o,s);return l===!1&&(l=a.apply(o,s)),l}}n.tokenizer=o}if(r.hooks){const o=je.defaults.hooks||new xu;for(const i in r.hooks){const a=o[i];xu.passThroughHooks.has(i)?o[i]=s=>{if(je.defaults.async)return Promise.resolve(r.hooks[i].call(o,s)).then(c=>a.call(o,c));const l=r.hooks[i].call(o,s);return a.call(o,l)}:o[i]=(...s)=>{let l=r.hooks[i].apply(o,s);return l===!1&&(l=a.apply(o,s)),l}}n.hooks=o}if(r.walkTokens){const o=je.defaults.walkTokens;n.walkTokens=function(i){let a=[];return a.push(r.walkTokens.call(this,i)),o&&(a=a.concat(o.call(this,i))),a}}je.setOptions(n)})};je.walkTokens=function(e,t){let r=[];for(const n of e)switch(r=r.concat(t.call(je,n)),n.type){case"table":{for(const o of n.header)r=r.concat(je.walkTokens(o.tokens,t));for(const o of n.rows)for(const i of o)r=r.concat(je.walkTokens(i.tokens,t));break}case"list":{r=r.concat(je.walkTokens(n.items,t));break}default:je.defaults.extensions&&je.defaults.extensions.childTokens&&je.defaults.extensions.childTokens[n.type]?je.defaults.extensions.childTokens[n.type].forEach(function(o){r=r.concat(je.walkTokens(n[o],t))}):n.tokens&&(r=r.concat(je.walkTokens(n.tokens,t)))}return r};je.parseInline=S3(Bo.lexInline,Oo.parseInline);je.Parser=Oo;je.parser=Oo.parse;je.Renderer=Og;je.TextRenderer=C3;je.Lexer=Bo;je.lexer=Bo.lex;je.Tokenizer=Bg;je.Slugger=w3;je.Hooks=xu;je.parse=je;je.options;je.setOptions;je.use;je.walkTokens;je.parseInline;Oo.parse;Bo.lex;const xie={key:0,class:"px-[20px]"},yie={key:1,class:"text-xl"},Cie={key:0,class:"px-[20px]"},wie=["innerHTML"],Sie={class:"flex justify-end py-3 px-5"},_ie=pe({__name:"NoticeDialog",props:{visible:{type:Boolean}},setup(e){const t=M({noticeInfo:"",noticeTitle:""}),r=Di(),n=zo(),o=M(!0),i=R(()=>r.theme==="dark"),{isSmallLg:a}=vn(),s=R(()=>r.theme),l=R(()=>t.value.noticeInfo?je(t.value.noticeInfo):"");function c(){o.value=!0}function u(){n.updateNoticeDialog(!1)}async function f(){const p=await tie(),{success:g,data:v}=p;g&&(t.value=v)}async function d(){await f(),o.value=!1}function h(){n.updateNoticeDialog(!1),Nt.set("showNotice",Date.now()+24*60*60*1e3)}return(p,g)=>(he(),rt(N(Ai),{show:p.visible,class:"p-0 noticeDialog",style:Jr({maxWidth:"780px",minWidth:N(a)?"100%":"780px"}),"on-after-enter":d,"on-after-leave":c},{default:De(()=>[me(N(Zu),{vertical:""},{default:De(()=>[me(N(Yu),{closable:"",onClose:u},{header:De(()=>[o.value?(he(),Fe("div",xie,[me(N(vi),{text:"",width:"30%"})])):(he(),Fe("span",yie,Re(t.value.noticeTitle),1))]),default:De(()=>[o.value?(he(),Fe("div",Cie,[me(N(vi),{text:"",repeat:10})])):(he(),Fe("div",{key:1,class:Kt([[i.value?"text-[#fff]":"text-[#000]","pb-5"],"p-[20px] markdown-body max-h-[500px] overflow-y-auto overflow-x-hidden"]),style:Jr({background:s.value==="dark"?"#2c2c32":"#fff"}),innerHTML:l.value},null,14,wie)),re("div",Sie,[me(N(gn),{type:"primary",onClick:h},{default:De(()=>[re("span",null,Re(N(Ae)("notice.doNotRemind24h")),1)]),_:1})])]),_:1})]),_:1})]),_:1},8,["show","style"]))}});const Eie=kg(_ie,[["__scopeId","data-v-1037e82d"]]),kie={class:"p-5 bg-white rounded dark:bg-slate-800"},Tie={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},Aie=re("span",{class:"ml-[8px]"},"绑定微信账户",-1),Pie={style:{"white-space":"nowrap"},class:"w-full text-center font-bold text-sm py-5"},$ie={class:"w-[55px] inline-block text-[red] text-left"},Iie={class:"my-2 flex justify-center relative"},Die=re("span",{class:"flex items-center justify-center text-base py-5"}," 打开微信扫码绑定账户 ",-1),Bie=pe({__name:"BindWx",props:{visible:{type:Boolean}},setup(e){const t=zo();let r;const n=M(),o=Cr(),i=M(!1),a=M(""),s=M(""),l=xn();async function c(){const g=await one();g.success&&(s.value=g.data,u())}async function u(){const g=await J4({sceneStr:s.value});g.success&&(i.value=!0,a.value=g.data,r=setInterval(()=>{f()},1e3))}async function f(){if(!s.value)return;const g=await ine({sceneStr:s.value});if(g.data){clearInterval(r);const{status:v,msg:m}=g.data;v?l.success(m):l.error(m),o.getUserInfo(),t.updateBindwxDialog(!1)}}function d(){var g;clearInterval(r),c(),(g=n.value)==null||g.reset()}function h(){c()}function p(){clearInterval(r),a.value="",s.value="",i.value=!1}return(g,v)=>(he(),rt(N(Ai),{show:g.visible,style:{width:"90%","max-width":"700px"},"on-after-enter":h,"on-after-leave":p},{default:De(()=>[re("div",kie,[re("div",{class:"absolute top-3 right-3 cursor-pointer",onClick:v[0]||(v[0]=m=>N(t).updateBindwxDialog(!1))},[me(N(Sa),{size:"20",color:"#0e7a0d"},{default:De(()=>[me(N(Tg))]),_:1})]),re("div",Tie,[me(N(Sa),{size:"25",color:"#0e7a0d"},{default:De(()=>[me(N(Z4))]),_:1}),Aie]),re("div",null,[re("div",Pie,[re("p",null,[pt(" 请在 "),re("span",$ie,[me(N(mS),{ref_key:"countdownRef",ref:n,active:i.value,duration:120*1e3,"on-finish":d},null,8,["active"])]),pt(" 时间内完成绑定 ")])]),re("div",Iie,[a.value?(he(),rt(N(H_),{key:0,"preview-disabled":"",width:"230",src:a.value},null,8,["src"])):(he(),rt(N(vi),{key:1,height:"230px",width:"230px"})),a.value?Ze("",!0):(he(),rt(N(ed),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"}))]),Die])])]),_:1},8,["show"]))}});function Oie(){return mt({url:"/signin/sign"})}function Lie(){return kt({url:"/signin/signinLog"})}const Rie={class:"text-base"},Fie={class:"text-[red]"},Mie={key:0},zie={class:"text-[red]"},Nie={key:1},Hie={class:"ml-2 text-[red]"},jie={key:2},Wie={class:"ml-2 text-[red]"},Uie={key:0,class:"flex items-center w-full mt-2"},Vie={key:0,class:"ml-2 text-xs"},Gie={key:0,class:"flex mt-3 w-full mt-14"},qie={key:1,class:"flex mt-8 w-full mt-14"},Yie=pe({__name:"SignInDialog",props:{visible:{type:Boolean}},setup(e){const t=Cr(),r=zo(),n=M(!1),{isMobile:o}=vn(),i=M([]),a=xn(),{isSmallLg:s}=vn(),l=void 0,c=M(!1);function u(){n.value=!1}function f(){r.updateSignInDialog(!1)}function d(C){return!XL(C)}const h=R(()=>t.userInfo.consecutiveDays),p=R(()=>{var C;return Number((C=t.globalConfig)==null?void 0:C.signInModel3Count)||0}),g=R(()=>{var C;return Number((C=t.globalConfig)==null?void 0:C.signInModel4Count)||0}),v=R(()=>{var C;return Number((C=t.globalConfig)==null?void 0:C.signInMjDrawToken)||0});function m(C,w){if(!i.value.length)return!1;const k=`${new Date().getFullYear()}-${C.toString().padStart(2,"0")}-${w.toString().padStart(2,"0")}`,A=i.value.find(T=>T.signInDate===k);return A?A==null?void 0:A.isSigned:!1}const b=R(()=>{if(n.value)return!1;const C=new Date().getMonth()+1,w=new Date().getDate();return!m(C,w)});async function y(){try{n.value=!0;const C=await Lie();i.value=C.data,n.value=!1}catch{n.value=!1}}async function x(){try{c.value=!0,(await Oie()).success&&a.success("签到成功!"),y(),t.getUserInfo(),c.value=!1}catch{c.value=!1}}async function S(){y()}return(C,w)=>(he(),rt(N(Ai),{show:C.visible,style:Jr({maxWidth:"650px",minWidth:N(s)?"100%":"650px"}),"on-after-enter":S,"on-after-leave":u},{default:De(()=>[me(N(Zu),{vertical:""},{default:De(()=>[me(N(Yu),{closable:"",onClose:f},{header:De(()=>[re("span",Rie,[pt("签到奖励 "),re("span",null,[pt("(已连续签到"),re("b",Fie,Re(h.value),1),pt("天)")])])]),default:De(()=>[me(N(iF),{class:"mb-5 p-0 !bg-[#ccddff]","show-icon":!1,type:"primary"},{default:De(()=>[pt(" 每日签到赠送: "),p.value>0?(he(),Fe("span",Mie,[re("b",zie,Re(p.value),1),pt("积分基础模型对话额度")])):Ze("",!0),g.value>0?(he(),Fe("span",Nie,[re("b",Hie,Re(g.value),1),pt("积分高级模型对话额度")])):Ze("",!0),v.value>0?(he(),Fe("span",jie,[re("b",Wie,Re(v.value),1),pt("点绘画积分额度")])):Ze("",!0)]),_:1}),me(N(ed),{show:n.value},{default:De(()=>[me(N(dM),{value:N(l),"onUpdate:value":w[0]||(w[0]=k=>Vt(l)?l.value=k:null),style:{height:"420px"},"is-date-disabled":d},{default:De(({month:k,date:A})=>[m(k,A)?(he(),Fe("div",Uie,[me(N(_s),{icon:"heroicons:gift",class:"text-xl text-[#5A91FC]"}),N(o)?Ze("",!0):(he(),Fe("span",Vie,"已签到"))])):Ze("",!0)]),_:1},8,["value"])]),_:1},8,["show"]),b.value?(he(),Fe("div",Gie,[me(N(gn),{style:{width:"100%"},type:"primary",round:"",loading:c.value,onClick:x},{default:De(()=>[pt(" 今日尚未签到、点击签到 ")]),_:1},8,["loading"])])):Ze("",!0),b.value?Ze("",!0):(he(),Fe("div",qie,[me(N(gn),{style:{width:"100%"},type:"primary",round:"",loading:c.value},{default:De(()=>[pt(" 今日已成功签到 ")]),_:1},8,["loading"])]))]),_:1})]),_:1})]),_:1},8,["show","style"]))}});const Kie={class:"h-full dark:bg-gray-900 transition-all p-0"},Xie={class:"h-full overflow-hidden"},Qie=pe({__name:"index",setup(e){const t=Cr(),r=tg(),n=sd(),o=zo(),i=Di(),a=xn(),s=R(()=>o.payDialog),l=R(()=>o.goodsDialog),c=R(()=>o.noticeDialog),u=R(()=>o.bindWxDialog),f=R(()=>o.signInDialog),d=R(()=>o.modelDialog),{isMobile:h}=vn(),p=R(()=>t.loginDialog),g=R(()=>i.theme);R(()=>g.value==="dark"?"#24272e":"#fff");const v=R(()=>t.isLogin),m=R(()=>{var k;return Number((k=t.globalConfig)==null?void 0:k.wechatSilentLoginStatus)===1}),b=R(()=>{var k;return(k=t.globalConfig)==null?void 0:k.clientHomePath});function y(){const{token:k}=r.query;if(k){t.setToken(k);const A=r.name;n.replace({name:A,query:{}}),a.success("账户登录成功、开始体验吧!"),t.getUserInfo()}}async function x(){if(b.value||!m.value||v.value)return;const A=new URLSearchParams(window.location.search).getAll("code"),T=A.length>0?A[A.length-1]:null;if(T){const I=await rne({code:T});if(I.success){t.setToken(I.data),t.getUserInfo(),t.setLoginDialog(!1);const D=window.location.href.split("?")[0]+window.location.search.replace(new RegExp("([&?])code=[^&]*","g"),"$1").replace(/^&/,"?");window.history.replaceState(null,"",D)}}else{const I=window.location.href.split("#")[0],D=await ane({url:I});D.success&&(window.location.href=D.data)}}function S(){var A;const k=window.navigator.userAgent.toLowerCase();k.match(/MicroMessenger/i)&&((A=k==null?void 0:k.match(/MicroMessenger/i))==null?void 0:A[0])==="micromessenger"&&x()}_t(()=>{S(),y()});const C=R(()=>h.value?["rounded-none","shadow-none"]:["dark:border-neutral-800"]),w=R(()=>h.value?["flex-col"]:["dark:border-neutral-800"]);return(k,A)=>{const T=Uc("RouterView"),I=Uc("ModelDialog");return he(),Fe("div",Kie,[re("div",Xie,[re("div",{class:Kt(["z-40 transition flex h-full relative",w.value])},[N(h)?Ze("",!0):(he(),rt(lre,{key:0})),me(N(rj),{class:Kt(["h-full",C.value]),style:{flex:"1"}},{default:De(()=>[me(T,null,{default:De(({Component:D,route:B})=>[(he(),rt(wC(D),{key:B.fullPath}))]),_:1})]),_:1},8,["class"]),N(h)?(he(),rt(hre,{key:1})):Ze("",!0)],2),me(gne,{visible:p.value},null,8,["visible"]),me(Doe,{visible:s.value},null,8,["visible"]),me(eie,{visible:l.value},null,8,["visible"]),me(Eie,{visible:c.value},null,8,["visible"]),me(Bie,{visible:u.value},null,8,["visible"]),me(Yie,{visible:f.value},null,8,["visible"]),me(I,{visible:d.value},null,8,["visible"])])])}}});function Zie(e){e.beforeEach(async(t,r,n)=>{var a,s;const{inVitecode:o}=t.query;o&&Nt.set("invitedBy",o),o&&(await sne({code:o}),e.replace({path:t.path,query:{}})),(a=window.$loadingBar)==null||a.start();const i=GZ();if(i.userInfo.username){const l=(s=i.globalConfig)==null?void 0:s.clientMenuList,c=l?JSON.parse(l):[];c.length&&!c.includes(t.name)&&["Chat","Draw","Midjourney"].includes(t.name)&&(i.globalConfig.clientHomePath&&i.globalConfig.clientHomePath!==""?n({path:i.globalConfig.clientHomePath}):n()),n()}else try{if(i.token&&await i.getUserInfo(),i.globalConfigLoading){let l=`${window.location.protocol}//${window.location.hostname}`;window.location.port&&(l+=`:${window.location.port}`),await i.getglobalConfig(l),i.globalConfig.clientHomePath?n({path:i.globalConfig.clientHomePath}):n()}t.path==="/500"?n({path:"/"}):n()}catch{t.path==="/500"?n({path:"/"}):n()}}),e.afterEach(t=>{var r;(r=window.$loadingBar)==null||r.finish()})}const Jie=[{path:"/",name:"Layout",component:Qie,redirect:"/chat",children:[{path:"/market",name:"Market",component:()=>Mr(()=>import("./index-1aea7a12.js"),["assets/index-1aea7a12.js","assets/index-c94da121.js","assets/Input-4816b01d.js","assets/index-128e54c5.css"])},{path:"/midjourney",name:"Midjourney",component:()=>Mr(()=>import("./index-671f050d.js"),["assets/index-671f050d.js","assets/Loading-05848be1.js","assets/Loading-fd6d8c86.css","assets/Input-4816b01d.js","assets/InputNumber-8169024b.js","assets/Add-1eab33c9.js","assets/Select-b45c26f7.js","assets/index-82c86423.css"])},{path:"/chat",name:"Chat",component:()=>Mr(()=>import("./chat-7ac51a07.js"),["assets/chat-7ac51a07.js","assets/Loading-05848be1.js","assets/Loading-fd6d8c86.css","assets/index.esm-75698fae.js","assets/index-c94da121.js","assets/index.vue_vue_type_script_setup_true_lang-470ccb3e.js","assets/LayoutSider-0c83106f.js","assets/chat-c19dad35.css"])},{path:"chatStore",name:"ChatStore",component:()=>Mr(()=>import("./chatStore-7c2b419e.js"),["assets/chatStore-7c2b419e.js","assets/index.vue_vue_type_script_setup_true_lang-470ccb3e.js","assets/LayoutSider-0c83106f.js","assets/chatStore-f68b3e01.css"])},{path:"user-center",name:"UserCenter",component:()=>Mr(()=>import("./index-9c69c5a3.js"),["assets/index-9c69c5a3.js","assets/titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js","assets/FormItem-6d94e26d.js","assets/Input-4816b01d.js","assets/Select-b45c26f7.js","assets/LayoutSider-0c83106f.js","assets/Tabs-d30e51ae.js","assets/Add-1eab33c9.js"])},{path:"app-store",name:"AppStore",component:()=>Mr(()=>import("./chatStore-7c2b419e.js"),["assets/chatStore-7c2b419e.js","assets/index.vue_vue_type_script_setup_true_lang-470ccb3e.js","assets/LayoutSider-0c83106f.js","assets/chatStore-f68b3e01.css"])},{path:"pay",name:"Pay",component:()=>Mr(()=>import("./index-2168999b.js"),["assets/index-2168999b.js","assets/titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js","assets/Tabs-d30e51ae.js","assets/Add-1eab33c9.js","assets/index-fed7b4ac.css"])},{path:"mind",name:"Mind",component:()=>Mr(()=>import("./index-140c57ab.js"),["assets/index-140c57ab.js","assets/index.esm-75698fae.js","assets/Input-4816b01d.js"])},{path:"share",name:"Share",component:()=>Mr(()=>import("./index-82b5d920.js"),["assets/index-82b5d920.js","assets/titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js","assets/index-c94da121.js","assets/FormItem-6d94e26d.js","assets/Input-4816b01d.js","assets/Select-b45c26f7.js","assets/InputNumber-8169024b.js","assets/Add-1eab33c9.js","assets/Tabs-d30e51ae.js","assets/index-e70b4848.css"])},{path:"extend",name:"Extend",component:()=>Mr(()=>import("./index-03106b46.js"),["assets/index-03106b46.js","assets/index-da1c3968.css"])}]},{path:"/404",name:"404",component:()=>Mr(()=>import("./index-80bdf7ce.js"),[])},{path:"/500",name:"500",component:()=>Mr(()=>import("./index-ed13e5d6.js"),["assets/index-ed13e5d6.js","assets/index-404bb920.css"])},{path:"/:pathMatch(.*)*",name:"notFound",redirect:"/404"}],$h=JY({history:PY(),routes:Jie,scrollBehavior:()=>({left:0,top:0})});Zie($h);async function eae(e){e.use($h),await $h.isReady()}function c0(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ih(e,t,r=".",n){if(!c0(t))return Ih(e,{},r,n);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const a=e[i];a!=null&&(n&&n(o,i,a,r)||(Array.isArray(a)&&Array.isArray(o[i])?o[i]=[...a,...o[i]]:c0(a)&&c0(o[i])?o[i]=Ih(a,o[i],(r?`${r}.`:"")+i.toString(),n):o[i]=a))}return o}function tae(e){return(...t)=>t.reduce((r,n)=>Ih(r,n,"",e),{})}const rae=tae();function As(e){var t;const r=Eg(e);return(t=r==null?void 0:r.$el)!=null?t:r}const _3=Q4?window:void 0;function cn(...e){let t,r,n,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,n,o]=e,t=_3):[t,r,n,o]=e,!t)return ks;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=Je(()=>[As(t),Eg(o)],([u,f])=>{if(a(),!u)return;const d=gu(f)?{...f}:f;i.push(...r.flatMap(h=>n.map(p=>s(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return _g(c),c}function nae(){const e=M(!1),t=Er();return t&&_t(()=>{e.value=!0},t),e}function oae(e){const t=nae();return R(()=>(t.value,!!e()))}function iae(e,t,r={}){const{root:n,rootMargin:o="0px",threshold:i=.1,window:a=_3,immediate:s=!0}=r,l=oae(()=>a&&"IntersectionObserver"in a),c=R(()=>{const p=Eg(e);return(Array.isArray(p)?p:[p]).map(As).filter(Cte)});let u=ks;const f=M(s),d=l.value?Je(()=>[c.value,As(n),f.value],([p,g])=>{if(u(),!f.value||!p.length)return;const v=new IntersectionObserver(t,{root:As(g),rootMargin:o,threshold:i});p.forEach(m=>m&&v.observe(m)),u=()=>{v.disconnect(),u=ks}},{immediate:s,flush:"post"}):ks,h=()=>{u(),d(),f.value=!1};return _g(h),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:h}}const E3=1/60*1e3,aae=typeof performance<"u"?()=>performance.now():()=>Date.now(),k3=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(aae()),E3);function sae(e){let t=[],r=[],n=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{const f=u&&o,d=f?t:r;return c&&a.add(l),d.indexOf(l)===-1&&(d.push(l),f&&o&&(n=t.length)),l},cancel:l=>{const c=r.indexOf(l);c!==-1&&r.splice(c,1),a.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let c=0;c(e[t]=sae(()=>sl=!0),e),{}),Oh=$l.reduce((e,t)=>{const r=Ad[t];return e[t]=(n,o=!1,i=!1)=>(sl||dae(),r.schedule(n,o,i)),e},{}),cae=$l.reduce((e,t)=>(e[t]=Ad[t].cancel,e),{});$l.reduce((e,t)=>(e[t]=()=>Ad[t].process(da),e),{});const uae=e=>Ad[e].process(da),T3=e=>{sl=!1,da.delta=Dh?E3:Math.max(Math.min(e-da.timestamp,lae),1),da.timestamp=e,Bh=!0,$l.forEach(uae),Bh=!1,sl&&(Dh=!1,k3(T3))},dae=()=>{sl=!0,Dh=!0,Bh||k3(T3)},A3=()=>da;function P3(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);oMath.min(Math.max(r,e),t),u0=.001,hae=.01,Dy=10,pae=.05,gae=1;function mae({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;fae(e<=Dy*1e3);let a=1-t;a=Lh(pae,gae,a),e=Lh(hae,Dy,e/1e3),a<1?(o=c=>{const u=c*a,f=u*e,d=u-r,h=Rh(c,a),p=Math.exp(-f);return u0-d/h*p},i=c=>{const f=c*a*e,d=f*r+r,h=Math.pow(a,2)*Math.pow(c,2)*e,p=Math.exp(-f),g=Rh(Math.pow(c,2),a);return(-o(c)+u0>0?-1:1)*((d-h)*p)/g}):(o=c=>{const u=Math.exp(-c*e),f=(c-r)*e+1;return-u0+u*f},i=c=>{const u=Math.exp(-c*e),f=(r-c)*(e*e);return u*f});const s=5/e,l=bae(o,i,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*n;return{stiffness:c,damping:a*2*Math.sqrt(n*c),duration:e}}}const vae=12;function bae(e,t,r){let n=r;for(let o=1;oe[r]!==void 0)}function Cae(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!By(e,yae)&&By(e,xae)){const r=mae(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Lg(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:o}=e,i=P3(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:c,velocity:u,duration:f,isResolvedFromDuration:d}=Cae(i),h=Oy,p=Oy;function g(){const v=u?-(u/1e3):0,m=r-t,b=l/(2*Math.sqrt(s*c)),y=Math.sqrt(s/c)/1e3;if(o===void 0&&(o=Math.min(Math.abs(r-t)/100,.4)),b<1){const x=Rh(y,b);h=S=>{const C=Math.exp(-b*y*S);return r-C*((v+b*y*m)/x*Math.sin(x*S)+m*Math.cos(x*S))},p=S=>{const C=Math.exp(-b*y*S);return b*y*C*(Math.sin(x*S)*(v+b*y*m)/x+m*Math.cos(x*S))-C*(Math.cos(x*S)*(v+b*y*m)-x*m*Math.sin(x*S))}}else if(b===1)h=x=>r-Math.exp(-y*x)*(m+(v+y*m)*x);else{const x=y*Math.sqrt(b*b-1);h=S=>{const C=Math.exp(-b*y*S),w=Math.min(x*S,300);return r-C*((v+b*y*m)*Math.sinh(w)+x*m*Math.cosh(w))/x}}}return g(),{next:v=>{const m=h(v);if(d)a.done=v>=f;else{const b=p(v)*1e3,y=Math.abs(b)<=n,x=Math.abs(r-m)<=o;a.done=y&&x}return a.value=a.done?r:m,a},flipTarget:()=>{u=-u,[t,r]=[r,t],g()}}}Lg.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Oy=e=>0,$3=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Rg=(e,t,r)=>-r*e+r*t+e,I3=(e,t)=>r=>Math.max(Math.min(r,t),e),Ps=e=>e%1?Number(e.toFixed(5)):e,ll=/(-)?([\d]*\.?[\d])+/g,Fh=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,wae=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Il(e){return typeof e=="string"}const Dl={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},$s=Object.assign(Object.assign({},Dl),{transform:I3(0,1)}),gc=Object.assign(Object.assign({},Dl),{default:1}),Fg=e=>({test:t=>Il(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ko=Fg("deg"),Is=Fg("%"),et=Fg("px"),Ly=Object.assign(Object.assign({},Is),{parse:e=>Is.parse(e)/100,transform:e=>Is.transform(e*100)}),Mg=(e,t)=>r=>!!(Il(r)&&wae.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),D3=(e,t,r)=>n=>{if(!Il(n))return n;const[o,i,a,s]=n.match(ll);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},li={test:Mg("hsl","hue"),parse:D3("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Is.transform(Ps(t))+", "+Is.transform(Ps(r))+", "+Ps($s.transform(n))+")"},Sae=I3(0,255),d0=Object.assign(Object.assign({},Dl),{transform:e=>Math.round(Sae(e))}),Eo={test:Mg("rgb","red"),parse:D3("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+d0.transform(e)+", "+d0.transform(t)+", "+d0.transform(r)+", "+Ps($s.transform(n))+")"};function _ae(e){let t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Mh={test:Mg("#"),parse:_ae,transform:Eo.transform},Ir={test:e=>Eo.test(e)||Mh.test(e)||li.test(e),parse:e=>Eo.test(e)?Eo.parse(e):li.test(e)?li.parse(e):Mh.parse(e),transform:e=>Il(e)?e:e.hasOwnProperty("red")?Eo.transform(e):li.transform(e)},B3="${c}",O3="${n}";function Eae(e){var t,r,n,o;return isNaN(e)&&Il(e)&&((r=(t=e.match(ll))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((o=(n=e.match(Fh))===null||n===void 0?void 0:n.length)!==null&&o!==void 0?o:0)>0}function L3(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(Fh);n&&(r=n.length,e=e.replace(Fh,B3),t.push(...n.map(Ir.parse)));const o=e.match(ll);return o&&(e=e.replace(ll,O3),t.push(...o.map(Dl.parse))),{values:t,numColors:r,tokenised:e}}function R3(e){return L3(e).values}function F3(e){const{values:t,numColors:r,tokenised:n}=L3(e),o=t.length;return i=>{let a=n;for(let s=0;stypeof e=="number"?0:e;function Tae(e){const t=R3(e);return F3(e)(t.map(kae))}const Bl={test:Eae,parse:R3,createTransformer:F3,getAnimatableNone:Tae},Aae=new Set(["brightness","contrast","saturate","opacity"]);function Pae(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(ll)||[];if(!n)return e;const o=r.replace(n,"");let i=Aae.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const $ae=/([a-z-]*)\(.*?\)/g,zh=Object.assign(Object.assign({},Bl),{getAnimatableNone:e=>{const t=e.match($ae);return t?t.map(Pae).join(" "):e}});function f0(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Ry({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,a=0;if(!t)o=i=a=r;else{const s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;o=f0(l,s,e+1/3),i=f0(l,s,e),a=f0(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:n}}const Iae=(e,t,r)=>{const n=e*e,o=t*t;return Math.sqrt(Math.max(0,r*(o-n)+n))},Dae=[Mh,Eo,li],Fy=e=>Dae.find(t=>t.test(e)),M3=(e,t)=>{let r=Fy(e),n=Fy(t),o=r.parse(e),i=n.parse(t);r===li&&(o=Ry(o),r=Eo),n===li&&(i=Ry(i),n=Eo);const a=Object.assign({},o);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Iae(o[l],i[l],s));return a.alpha=Rg(o.alpha,i.alpha,s),r.transform(a)}},Bae=e=>typeof e=="number",Oae=(e,t)=>r=>t(e(r)),z3=(...e)=>e.reduce(Oae);function N3(e,t){return Bae(e)?r=>Rg(e,t,r):Ir.test(e)?M3(e,t):j3(e,t)}const H3=(e,t)=>{const r=[...e],n=r.length,o=e.map((i,a)=>N3(i,t[a]));return i=>{for(let a=0;a{const r=Object.assign(Object.assign({},e),t),n={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=N3(e[o],t[o]));return o=>{for(const i in n)r[i]=n[i](o);return r}};function My(e){const t=Bl.parse(e),r=t.length;let n=0,o=0,i=0;for(let a=0;a{const r=Bl.createTransformer(t),n=My(e),o=My(t);return n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers?z3(H3(n.parsed,o.parsed),r):a=>`${a>0?t:e}`},Rae=(e,t)=>r=>Rg(e,t,r);function Fae(e){if(typeof e=="number")return Rae;if(typeof e=="string")return Ir.test(e)?M3:j3;if(Array.isArray(e))return H3;if(typeof e=="object")return Lae}function Mae(e,t,r){const n=[],o=r||Fae(e[0]),i=e.length-1;for(let a=0;ar($3(e,t,n))}function Nae(e,t){const r=e.length,n=r-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[n]&&(i=n-1,a=!0),!a){let l=1;for(;lo||l===n);l++);i=l-1}const s=$3(e[i],e[i+1],o);return t[i](s)}}function W3(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const i=e.length;Iy(i===t.length),Iy(!n||!Array.isArray(n)||n.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Mae(t,n,o),s=i===2?zae(e,a):Nae(e,a);return r?l=>s(Lh(e[0],e[i-1],l)):s}const Pd=e=>t=>1-e(1-t),zg=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hae=e=>t=>Math.pow(t,e),U3=e=>t=>t*t*((e+1)*t-e),jae=e=>{const t=U3(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},V3=1.525,Wae=4/11,Uae=8/11,Vae=9/10,G3=e=>e,Ng=Hae(2),Gae=Pd(Ng),q3=zg(Ng),Y3=e=>1-Math.sin(Math.acos(e)),K3=Pd(Y3),qae=zg(K3),Hg=U3(V3),Yae=Pd(Hg),Kae=zg(Hg),Xae=jae(V3),Qae=4356/361,Zae=35442/1805,Jae=16061/1805,yu=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-yu(1-e*2)):.5*yu(e*2-1)+.5;function rse(e,t){return e.map(()=>t||q3).splice(0,e.length-1)}function nse(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function ose(e,t){return e.map(r=>r*t)}function Mc({from:e=0,to:t=1,ease:r,offset:n,duration:o=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=ose(n&&n.length===a.length?n:nse(a),o);function l(){return W3(s,a,{ease:Array.isArray(r)?r:rse(a,r)})}let c=l();return{next:u=>(i.value=c(u),i.done=u>=o,i),flipTarget:()=>{a.reverse(),c=l()}}}function ise({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let s=r*e;const l=t+s,c=i===void 0?l:i(l);return c!==l&&(s=c-t),{next:u=>{const f=-s*Math.exp(-u/n);return a.done=!(f>o||f<-o),a.value=a.done?c:c+f,a},flipTarget:()=>{}}}const zy={keyframes:Mc,spring:Lg,decay:ise};function ase(e){if(Array.isArray(e.to))return Mc;if(zy[e.type])return zy[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Mc:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Lg:Mc}function X3(e,t,r=0){return e-t-r}function sse(e,t,r=0,n=!0){return n?X3(t+-e,t,r):t-(e-t)+r}function lse(e,t,r,n){return n?e>=t+r:e<=-r}const cse=e=>{const t=({delta:r})=>e(r);return{start:()=>Oh.update(t,!0),stop:()=>cae.update(t)}};function Q3(e){var t,r,{from:n,autoplay:o=!0,driver:i=cse,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:f,onComplete:d,onRepeat:h,onUpdate:p}=e,g=P3(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=g,m,b=0,y=g.duration,x,S=!1,C=!0,w;const k=ase(g);!((r=(t=k).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(w=W3([0,100],[n,v],{clamp:!1}),n=0,v=100);const A=k(Object.assign(Object.assign({},g),{from:n,to:v}));function T(){b++,l==="reverse"?(C=b%2===0,a=sse(a,y,c,C)):(a=X3(a,y,c),l==="mirror"&&A.flipTarget()),S=!1,h&&h()}function I(){m.stop(),d&&d()}function D(j){if(C||(j=-j),a+=j,!S){const F=A.next(Math.max(0,a));x=F.value,w&&(x=w(x)),S=C?F.done:a<=0}p==null||p(x),S&&(b===0&&(y??(y=a)),b{f==null||f(),m.stop()}}}function Z3(e,t){return t?e*(1e3/t):0}function use({from:e=0,velocity:t=0,min:r,max:n,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:f,onComplete:d,onStop:h}){let p;function g(y){return r!==void 0&&yn}function v(y){return r===void 0?n:n===void 0||Math.abs(r-y){var S;f==null||f(x),(S=y.onUpdate)===null||S===void 0||S.call(y,x)},onComplete:d,onStop:h}))}function b(y){m(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},y))}if(g(e))b({from:e,velocity:t,to:v(e)});else{let y=o*t+e;typeof c<"u"&&(y=c(y));const x=v(y),S=x===r?-1:1;let C,w;const k=A=>{C=w,w=A,t=Z3(A-C,A3().delta),(S===1&&A>x||S===-1&&Ap==null?void 0:p.stop()}}const J3=(e,t)=>1-3*t+3*e,e8=(e,t)=>3*t-6*e,t8=e=>3*e,Cu=(e,t,r)=>((J3(t,r)*e+e8(t,r))*e+t8(t))*e,r8=(e,t,r)=>3*J3(t,r)*e*e+2*e8(t,r)*e+t8(t),dse=1e-7,fse=10;function hse(e,t,r,n,o){let i,a,s=0;do a=t+(r-t)/2,i=Cu(a,n,o)-e,i>0?r=a:t=a;while(Math.abs(i)>dse&&++s=gse?mse(a,f,e,r):d===0?f:hse(a,s,s+mc,e,r)}return a=>a===0||a===1?a:Cu(i(a),t,n)}const h0={};var bse=Object.defineProperty,xse=(e,t,r)=>t in e?bse(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yse=(e,t,r)=>(xse(e,typeof t!="symbol"?t+"":t,r),r);class Cse{constructor(){yse(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,r,n){if(this.subscriptions.size)for(const o of this.subscriptions)o(t,r,n)}clear(){this.subscriptions.clear()}}var wse=Object.defineProperty,Sse=(e,t,r)=>t in e?wse(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_n=(e,t,r)=>(Sse(e,typeof t!="symbol"?t+"":t,r),r);function Ny(e){return!isNaN(parseFloat(e))}class _se{constructor(t){_n(this,"current"),_n(this,"prev"),_n(this,"timeDelta",0),_n(this,"lastUpdated",0),_n(this,"updateSubscribers",new Cse),_n(this,"stopAnimation"),_n(this,"canTrackVelocity",!1),_n(this,"updateAndNotify",r=>{this.prev=this.current,this.current=r;const{delta:n,timestamp:o}=A3();this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o),Oh.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)}),_n(this,"scheduleVelocityCheck",()=>Oh.postRender(this.velocityCheck)),_n(this,"velocityCheck",({timestamp:r})=>{this.canTrackVelocity||(this.canTrackVelocity=Ny(this.current)),r!==this.lastUpdated&&(this.prev=this.current)}),this.prev=this.current=t,this.canTrackVelocity=Ny(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Z3(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{const{stop:n}=t(r);this.stopAnimation=n}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function Ese(e){return new _se(e)}const{isArray:kse}=Array;function Tse(){const e=M({}),t=n=>{const o=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};n?kse(n)?n.forEach(o):o(n):Object.keys(e.value).forEach(o)},r=(n,o,i)=>{if(e.value[n])return e.value[n];const a=Ese(o);return a.onChange(s=>i[n]=s),e.value[n]=a,a};return Ete(t),{motionValues:e,get:r,stop:t}}function Ase(e){return Array.isArray(e)}function Xo(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function p0(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function Pse(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function g0(){return{type:"keyframes",ease:"linear",duration:300}}function $se(e){return{type:"keyframes",duration:800,values:e}}const Hy={default:Pse,x:Xo,y:Xo,z:Xo,rotate:Xo,rotateX:Xo,rotateY:Xo,rotateZ:Xo,scaleX:p0,scaleY:p0,scale:p0,backgroundColor:g0,color:g0,opacity:g0};function n8(e,t){let r;return Ase(t)?r=$se:r=Hy[e]||Hy.default,{to:t,...r(t)}}const jy={...Dl,transform:Math.round},o8={color:Ir,backgroundColor:Ir,outlineColor:Ir,fill:Ir,stroke:Ir,borderColor:Ir,borderTopColor:Ir,borderRightColor:Ir,borderBottomColor:Ir,borderLeftColor:Ir,borderWidth:et,borderTopWidth:et,borderRightWidth:et,borderBottomWidth:et,borderLeftWidth:et,borderRadius:et,radius:et,borderTopLeftRadius:et,borderTopRightRadius:et,borderBottomRightRadius:et,borderBottomLeftRadius:et,width:et,maxWidth:et,height:et,maxHeight:et,size:et,top:et,right:et,bottom:et,left:et,padding:et,paddingTop:et,paddingRight:et,paddingBottom:et,paddingLeft:et,margin:et,marginTop:et,marginRight:et,marginBottom:et,marginLeft:et,rotate:Ko,rotateX:Ko,rotateY:Ko,rotateZ:Ko,scale:gc,scaleX:gc,scaleY:gc,scaleZ:gc,skew:Ko,skewX:Ko,skewY:Ko,distance:et,translateX:et,translateY:et,translateZ:et,x:et,y:et,z:et,perspective:et,transformPerspective:et,opacity:$s,originX:Ly,originY:Ly,originZ:et,zIndex:jy,filter:zh,WebkitFilter:zh,fillOpacity:$s,strokeOpacity:$s,numOctaves:jy},jg=e=>o8[e];function i8(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function Ise(e,t){let r=jg(e);return r!==zh&&(r=Bl),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Dse={linear:G3,easeIn:Ng,easeInOut:q3,easeOut:Gae,circIn:Y3,circInOut:qae,circOut:K3,backIn:Hg,backInOut:Kae,backOut:Yae,anticipate:Xae,bounceIn:ese,bounceInOut:tse,bounceOut:yu};function Wy(e){if(Array.isArray(e)){const[t,r,n,o]=e;return vse(t,r,n,o)}else if(typeof e=="string")return Dse[e];return e}function Bse(e){return Array.isArray(e)&&typeof e[0]!="number"}function Uy(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Bl.test(t)&&!t.startsWith("url("))}function Ose(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Lse({ease:e,times:t,delay:r,...n}){const o={...n};return t&&(o.offset=t),e&&(o.ease=Bse(e)?e.map(Wy):Wy(e)),r&&(o.elapsed=-r),o}function Rse(e,t,r){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),Ose(t),Fse(e)||(e={...e,...n8(r,t.to)}),{...t,...Lse(e)}}function Fse({delay:e,repeat:t,repeatType:r,repeatDelay:n,from:o,...i}){return!!Object.keys(i).length}function Mse(e,t){return e[t]||e.default||e}function zse(e,t,r,n,o){const i=Mse(n,e);let a=i.from===null||i.from===void 0?t.get():i.from;const s=Uy(e,r);a==="none"&&s&&typeof r=="string"&&(a=Ise(e,r));const l=Uy(e,a);function c(f){const d={from:a,to:r,velocity:n.velocity?n.velocity:t.getVelocity(),onUpdate:h=>t.set(h)};return i.type==="inertia"||i.type==="decay"?use({...d,...i}):Q3({...Rse(i,d,e),onUpdate:h=>{d.onUpdate(h),i.onUpdate&&i.onUpdate(h)},onComplete:()=>{n.onComplete&&n.onComplete(),o&&o(),f&&f()}})}function u(f){return t.set(r),n.onComplete&&n.onComplete(),o&&o(),f&&f(),{stop:()=>{}}}return!l||!s||i.type===!1?u:c}function Nse(){const{motionValues:e,stop:t,get:r}=Tse();return{motionValues:e,stop:t,push:(o,i,a,s={},l)=>{const c=a[o],u=r(o,c,a);if(s&&s.immediate){u.set(i);return}const f=zse(o,u,i,s,l);u.start(f)}}}function Hse(e,t={},{motionValues:r,push:n,stop:o}=Nse()){const i=N(t),a=M(!1);Je(r,f=>{a.value=Object.values(f).filter(d=>d.isAnimating()).length>0},{immediate:!0,deep:!0});const s=f=>{if(!i||!i[f])throw new Error(`The variant ${f} does not exist.`);return i[f]},l=f=>(typeof f=="string"&&(f=s(f)),Promise.all(Object.entries(f).map(([d,h])=>{if(d!=="transition")return new Promise(p=>n(d,h,e,f.transition||n8(d,f[d]),p))}).filter(Boolean)));return{isAnimating:a,apply:l,set:f=>{const d=gu(f)?f:s(f);Object.entries(d).forEach(([h,p])=>{h!=="transition"&&n(h,p,e,{immediate:!0})})},leave:async f=>{let d;if(i&&(i.leave&&(d=i.leave),!i.leave&&i.initial&&(d=i.initial)),!d){f();return}await l(d),f()},stop:o}}const Wg=typeof window<"u",jse=()=>Wg&&window.onpointerdown===null,Wse=()=>Wg&&window.ontouchstart===null,Use=()=>Wg&&window.onmousedown===null;function Vse({target:e,state:t,variants:r,apply:n}){const o=N(r),i=M(!1),a=M(!1),s=M(!1),l=R(()=>{let u=[];return o&&(o.hovered&&(u=[...u,...Object.keys(o.hovered)]),o.tapped&&(u=[...u,...Object.keys(o.tapped)]),o.focused&&(u=[...u,...Object.keys(o.focused)])),u}),c=R(()=>{const u={};Object.assign(u,t.value),i.value&&o.hovered&&Object.assign(u,o.hovered),a.value&&o.tapped&&Object.assign(u,o.tapped),s.value&&o.focused&&Object.assign(u,o.focused);for(const f in u)l.value.includes(f)||delete u[f];return u});o.hovered&&(cn(e,"mouseenter",()=>i.value=!0),cn(e,"mouseleave",()=>{i.value=!1,a.value=!1}),cn(e,"mouseout",()=>{i.value=!1,a.value=!1})),o.tapped&&(Use()&&(cn(e,"mousedown",()=>a.value=!0),cn(e,"mouseup",()=>a.value=!1)),jse()&&(cn(e,"pointerdown",()=>a.value=!0),cn(e,"pointerup",()=>a.value=!1)),Wse()&&(cn(e,"touchstart",()=>a.value=!0),cn(e,"touchend",()=>a.value=!1))),o.focused&&(cn(e,"focus",()=>s.value=!0),cn(e,"blur",()=>s.value=!1)),Je(c,n)}function Gse({set:e,target:t,variants:r,variant:n}){const o=N(r);Je(()=>t,()=>{o&&(o.initial&&e("initial"),o.enter&&(n.value="enter"))},{immediate:!0,flush:"pre"})}function qse({state:e,apply:t}){Je(e,r=>{r&&t(r)},{immediate:!0})}function a8({target:e,variants:t,variant:r}){const n=N(t);n&&(n.visible||n.visibleOnce)&&iae(e,([{isIntersecting:o}])=>{n.visible?o?r.value="visible":r.value="initial":n.visibleOnce&&(o&&r.value!=="visibleOnce"?r.value="visibleOnce":r.value||(r.value="initial"))})}function Yse(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&Gse(e),t.syncVariants&&qse(e),t.visibilityHooks&&a8(e),t.eventListeners&&Vse(e)}function s8(e={}){const t=nn({...e}),r=M({});return Je(t,()=>{const n={};for(const[o,i]of Object.entries(t)){const a=jg(o),s=i8(i,a);n[o]=s}r.value=n},{immediate:!0,deep:!0}),{state:t,style:r}}function Ug(e,t){Je(()=>As(e),r=>{r&&t(r)},{immediate:!0})}const Kse={x:"translateX",y:"translateY",z:"translateZ"};function l8(e={},t=!0){const r=nn({...e}),n=M("");return Je(r,o=>{let i="",a=!1;if(t&&(o.x||o.y||o.z)){const s=[o.x||0,o.y||0,o.z||0].map(et.transform).join(",");i+=`translate3d(${s}) `,a=!0}for(const[s,l]of Object.entries(o)){if(t&&(s==="x"||s==="y"||s==="z"))continue;const c=jg(s),u=i8(l,c);i+=`${Kse[s]||s}(${u}) `}t&&!a&&(i+="translateZ(0px) "),n.value=i.trim()},{immediate:!0,deep:!0}),{state:r,transform:n}}const Xse=["","X","Y","Z"],Qse=["perspective","translate","scale","rotate","skew"],c8=["transformPerspective","x","y","z"];Qse.forEach(e=>{Xse.forEach(t=>{const r=e+t;c8.push(r)})});const Zse=new Set(c8);function Vg(e){return Zse.has(e)}const Jse=new Set(["originX","originY","originZ"]);function u8(e){return Jse.has(e)}function ele(e){const t={},r={};return Object.entries(e).forEach(([n,o])=>{Vg(n)||u8(n)?t[n]=o:r[n]=o}),{transform:t,style:r}}function d8(e){const{transform:t,style:r}=ele(e),{transform:n}=l8(t),{style:o}=s8(r);return n.value&&(o.value.transform=n.value),o.value}function tle(e,t){let r,n;const{state:o,style:i}=s8();return Ug(e,a=>{n=a;for(const s of Object.keys(o8))a.style[s]===null||a.style[s]===""||Vg(s)||u8(s)||(o[s]=a.style[s]);r&&Object.entries(r).forEach(([s,l])=>a.style[s]=l),t&&t(o)}),Je(i,a=>{if(!n){r=a;return}for(const s in a)n.style[s]=a[s]},{immediate:!0}),{style:o}}function rle(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const r=n=>n.endsWith("px")||n.endsWith("deg")?parseFloat(n):isNaN(Number(n))?Number(n):n;return t.reduce((n,o)=>{if(!o)return n;const[i,a]=o.split("("),l=a.split(",").map(u=>r(u.endsWith(")")?u.replace(")",""):u.trim())),c=l.length===1?l[0]:l;return{...n,[i]:c}},{})}function nle(e,t){Object.entries(rle(t)).forEach(([r,n])=>{const o=["x","y","z"];if(r==="translate3d"){if(n===0){o.forEach(i=>e[i]=0);return}n.forEach((i,a)=>e[o[a]]=i);return}if(n=parseFloat(n),r==="translateX"){e.x=n;return}if(r==="translateY"){e.y=n;return}if(r==="translateZ"){e.z=n;return}e[r]=n})}function ole(e,t){let r,n;const{state:o,transform:i}=l8();return Ug(e,a=>{n=a,a.style.transform&&nle(o,a.style.transform),r&&(a.style.transform=r),t&&t(o)}),Je(i,a=>{if(!n){r=a;return}n.style.transform=a},{immediate:!0}),{transform:o}}function ile(e,t){const r=nn({}),n=a=>Object.entries(a).forEach(([s,l])=>r[s]=l),{style:o}=tle(e,n),{transform:i}=ole(e,n);return Je(r,a=>{Object.entries(a).forEach(([s,l])=>{const c=Vg(s)?i:o;c[s]&&c[s]===l||(c[s]=l)})},{immediate:!0,deep:!0}),Ug(e,()=>t&&n(t)),{motionProperties:r,style:o,transform:i}}function ale(e={}){const t=N(e),r=M();return{state:R(()=>{if(r.value)return t[r.value]}),variant:r}}function f8(e,t={},r){const{motionProperties:n}=ile(e),{variant:o,state:i}=ale(t),a=Hse(n,t),s={target:e,variant:o,variants:t,state:i,motionProperties:n,...a};return Yse(s,r),s}const sle=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused","delay"];function lle(e,t){const r=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};r&&(r.variants&&gu(r.variants)&&(t.value={...t.value,...r.variants}),sle.forEach(n=>{if(n==="delay"){if(r&&r[n]&&typeof r[n]=="number"){const o=r[n];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition={delay:o,...t.value.enter.transition}),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition={delay:o,...t.value.visible.transition}),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition={delay:o,...t.value.visibleOnce.transition}))}return}if(r&&r[n]&&gu(r[n])){const o=r[n];n==="visible-once"&&(n="visibleOnce"),t.value[n]=o}}))}function m0(e){return{created:(n,o,i)=>{const a=o.value&&typeof o.value=="string"?o.value:i.key;a&&h0[a]&&h0[a].stop();const s=M(e||{});typeof o.value=="object"&&(s.value=o.value),lle(i,s);const c=f8(n,s,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});n.motionInstance=c,a&&(h0[a]=c)},mounted:(n,o,i)=>{n.motionInstance&&a8(n.motionInstance)},getSSRProps(n,o){let{initial:i}=n.value||o&&(o==null?void 0:o.props)||{};i=N(i);const a=rae((e==null?void 0:e.initial)||{},i||{});return!a||Object.keys(a).length===0?void 0:{style:d8(a)}}}}const cle={initial:{opacity:0},enter:{opacity:1}},ule={initial:{opacity:0},visible:{opacity:1}},dle={initial:{opacity:0},visibleOnce:{opacity:1}},fle={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},hle={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},ple={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},gle={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},mle={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},vle={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},ble={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},xle={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},yle={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Cle={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},wle={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Sle={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},_le={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Ele={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},kle={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},Tle={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},Ale={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},Ple={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},$le={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},Ile={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},Dle={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},Ble={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},Ole={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},Lle={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},Rle={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},Fle={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Mle={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Nh={__proto__:null,fade:cle,fadeVisible:ule,fadeVisibleOnce:dle,pop:fle,popVisible:hle,popVisibleOnce:ple,rollBottom:_le,rollLeft:gle,rollRight:ble,rollTop:Cle,rollVisibleBottom:Ele,rollVisibleLeft:mle,rollVisibleOnceBottom:kle,rollVisibleOnceLeft:vle,rollVisibleOnceRight:yle,rollVisibleOnceTop:Sle,rollVisibleRight:xle,rollVisibleTop:wle,slideBottom:Rle,slideLeft:Tle,slideRight:$le,slideTop:Ble,slideVisibleBottom:Fle,slideVisibleLeft:Ale,slideVisibleOnceBottom:Mle,slideVisibleOnceLeft:Ple,slideVisibleOnceRight:Dle,slideVisibleOnceTop:Lle,slideVisibleRight:Ile,slideVisibleTop:Ole},zle=pe({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(e){var s;const t=O5(),r=nn({});if(!e.is&&!t.default)return()=>$("div",{});const n=R(()=>{let l;return e.preset&&(l=Nh[e.preset]),l}),o=R(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused})),i=R(()=>{const l={...o.value,...n.value||{},...e.variants||{}};return e.delay&&(l.enter.transition={...l.enter.transition},l.enter.transition.delay=parseInt(e.delay)),l}),a=R(()=>{if(!e.is)return;let l=e.is;return typeof a.value=="string"&&!$8(l)&&(l=Uc(l)),l});if(((s=process==null?void 0:process.env)==null?void 0:s.NODE_ENV)==="development"||process!=null&&process.dev){const l=c=>{var u;(u=c.variants)!=null&&u.initial&&c.set("initial"),setTimeout(()=>{var f,d,h;(f=c.variants)!=null&&f.enter&&c.apply("enter"),(d=c.variants)!=null&&d.visible&&c.apply("visible"),(h=c.variants)!=null&&h.visibleOnce&&c.apply("visibleOnce")},10)};ip(()=>Object.entries(r).forEach(([c,u])=>l(u)))}return{slots:t,component:a,motionConfig:i,instances:r}},render({slots:e,motionConfig:t,instances:r,component:n}){var s;const o=d8(t.initial||{}),i=(l,c)=>(l.props||(l.props={}),l.props.style=o,l.props.onVnodeMounted=({el:u})=>{const f=f8(u,t);r[c]=f},l);if(n){const l=$(n,void 0,e);return i(l,0),l}return(((s=e.default)==null?void 0:s.call(e))||[]).map((l,c)=>i(l,c))}});function Nle(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",r="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",n=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,o=>`-${o}`).toLowerCase().replace(/\s+/g,"-").replace(n,o=>r.charAt(t.indexOf(o))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const Hle={install(e,t){if(e.directive("motion",m0()),e.component("Motion",zle),!t||t&&!t.excludePresets)for(const r in Nh){const n=Nh[r];e.directive(`motion-${Nle(r)}`,m0(n))}if(t&&t.directives)for(const r in t.directives){const n=t.directives[r];!n.initial&&__DEV__&&console.warn(`Your directive v-motion-${r} is missing initial variant!`),e.directive(`motion-${r}`,m0(n))}}};window.$message=xn();async function jle(){const e=qk(vte);e.directive("focus",{mounted(t){t.focus()}}),e.use(Qq),e.use(Hle),xte(),yte(),YZ(e),pte(e),await eae(e),e.mount("#app")}jle();export{vce as $,ar as A,Xt as B,At as C,Qt as D,he as E,Fe as F,re as G,Cr as H,Er as I,xn as J,sd as K,_t as L,wi as M,Jr as N,ot as O,Fs as P,me as Q,De as R,Re as S,_r as T,rt as U,oA as V,Yle as W,N as X,NR as Y,Ze as Z,_s as _,ne as a,Ece as a$,Ae as a0,Sa as a1,lu as a2,xr as a3,DN as a4,we as a5,qn as a6,Nm as a7,I0 as a8,nr as a9,Kt as aA,pce as aB,hce as aC,gce as aD,fce as aE,Vj as aF,bre as aG,x4 as aH,N9 as aI,H9 as aJ,ze as aK,ip as aL,sce as aM,Or as aN,bce as aO,kce as aP,zo as aQ,yZ as aR,xce as aS,ft as aT,lo as aU,ace as aV,$h as aW,ice as aX,Tce as aY,Fk as aZ,_ce as a_,Op as aa,Rp as ab,kt as ac,mt as ad,pa as ae,Uc as af,wC as ag,lr as ah,gi as ai,On as aj,Di as ak,YS as al,pt as am,rce as an,gn as ao,Qi as ap,Zu as aq,H_ as ar,Ai as as,gZ as at,mce as au,Ule as av,Vle as aw,kg as ax,tg as ay,vn as az,ue as b,nce as b$,Sce as b0,w4 as b1,rj as b2,tn as b3,Gle as b4,ece as b5,on as b6,L0 as b7,qA as b8,$w as b9,yce as bA,$ce as bB,Boe as bC,Cce as bD,vi as bE,wce as bF,lce as bG,dr as bH,ZL as bI,tj as bJ,Iw as bK,oce as bL,c_ as bM,ZH as bN,e3 as bO,dce as bP,JF as bQ,Fn as bR,Uu as bS,xl as bT,sn as bU,k2 as bV,Tg as bW,_y as bX,bz as bY,Dr as bZ,Qn as b_,qu as ba,mp as bb,vp as bc,gp as bd,Ro as be,wa as bf,g7 as bg,Cc as bh,YA as bi,Hu as bj,bp as bk,BT as bl,pl as bm,Wa as bn,KZ as bo,kF as bp,Ye as bq,nn as br,Pce as bs,g1 as bt,p1 as bu,Yu as bv,Ace as bw,f1 as bx,Kle as by,cce as bz,Y as c,fF as c$,pp as c0,bn as c1,en as c2,Xle as c3,Ua as c4,Ru as c5,bS as c6,ba as c7,ma as c8,fp as c9,wl as cA,Qz as cB,ed as cC,ml as cD,gA as cE,TC as cF,ql as cG,pv as cH,oo as cI,Ln as cJ,Jle as cK,Sl as cL,hl as cM,ZT as cN,Mp as cO,jm as cP,yS as cQ,pw as cR,Ns as cS,Zle as cT,wp as cU,Lo as cV,NN as cW,va as cX,RT as cY,no as cZ,lT as c_,R2 as ca,SS as cb,tce as cc,TS as cd,AC as ce,k9 as cf,w9 as cg,Nr as ch,Hs as ci,OR as cj,_R as ck,Wp as cl,D$ as cm,Jc as cn,Ys as co,sT as cp,up as cq,p9 as cr,KA as cs,G7 as ct,q7 as cu,r_ as cv,wv as cw,uce as cx,UZ as cy,qle as cz,le as d,hp as e,B2 as f,pe as g,We as h,Mu as i,Cp as j,R as k,Nu as l,Ht as m,tr as n,A5 as o,Ha as p,xa as q,M as r,gN as s,Lt as t,gt as u,$ as v,Je as w,iA as x,Xc as y,SA as z}; diff --git a/public/assets/index-404bb920.css.br b/public/assets/index-404bb920.css.br new file mode 100644 index 0000000..a24e807 Binary files /dev/null and b/public/assets/index-404bb920.css.br differ diff --git a/public/assets/index-50ff748c.css b/public/assets/index-50ff748c.css deleted file mode 100644 index 5fa9dce..0000000 --- a/public/assets/index-50ff748c.css +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * Viewer.js v1.11.3 - * https://fengyuanchen.github.io/viewerjs - * - * Copyright 2015-present Chen Fengyuan - * Released under the MIT license - * - * Date: 2023-03-05T07:01:15.525Z - */.viewer-zoom-in:before,.viewer-zoom-out:before,.viewer-one-to-one:before,.viewer-reset:before,.viewer-prev:before,.viewer-play:before,.viewer-next:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen:before,.viewer-fullscreen-exit:before,.viewer-close:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container *::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container *::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:#0000007f;overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;left:0;position:absolute;right:0;top:0;z-index:1}.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:#0000007f;border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:#000c}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:#000c;border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:#0000007f;border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:#000c}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:#0000007f}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid rgba(255,255,255,10%);border-left-color:#ffffff7f;border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width: 767px){.viewer-hide-xs-down{display:none}}@media (max-width: 991px){.viewer-hide-sm-down{display:none}}@media (max-width: 1199px){.viewer-hide-md-down{display:none}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-0cdd387c.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-30da91e8.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-68534840.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-3398dd02.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-74444efd.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-9163df9c.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-51814d27.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-5e28753b.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-0f60d1b8.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-c76c5d69.woff) format("woff"),url(/assets/KaTeX_Main-Bold-138ac28d.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-97479ca6.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-f1d6ef86.woff) format("woff"),url(/assets/KaTeX_Main-Italic-0d85ae7c.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-c2342cd8.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-c6368d87.woff) format("woff"),url(/assets/KaTeX_Main-Regular-d0332f52.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-dc47344d.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-850c0af5.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-7af58c5e.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-8a8d2445.woff) format("woff"),url(/assets/KaTeX_Math-Italic-08ce98e5.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-e99ae511.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-ece03cfd.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-91ee6750.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-3931dd81.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-f36ea897.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-036d4e95.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-d96cdf2b.woff) format("woff"),url(/assets/KaTeX_Script-Regular-1c67f068.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-6b47c401.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-c943cc98.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-95b6d2f1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-d04c5421.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-2014c523.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-a6b2099f.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-6ab6b62e.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-500e04d5.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-a4af7d41.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-99f9c675.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-c647367d.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-71d517d6.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-e14fed02.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf) format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1750px){.container{max-width:1750px}}@media (min-width: 1870px){.container{max-width:1870px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-4{right:-1rem}.-top-3{top:-.75rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-\[350px\]{bottom:350px}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-5{left:1.25rem}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-6{top:1.5rem}.top-full{top:100%}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-1{margin:.25rem}.m-3{margin:.75rem}.m-auto{margin:auto}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.-mb-4{margin-bottom:-1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-14{margin-bottom:3.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[20px\]{margin-bottom:20px}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-\[8px\]{margin-left:8px}.mr-1{margin-right:.25rem}.mr-10{margin-right:2.5rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[-1px\]{margin-right:-1px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[50px\]{margin-top:50px}.box-border{box-sizing:border-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-\[3\/1\]{aspect-ratio:3/1}.size-72{width:18rem;height:18rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[100vh\]{height:100vh}.h-\[10vh\]{height:10vh}.h-\[130px\]{height:130px}.h-\[160px\]{height:160px}.h-\[220px\]{height:220px}.h-\[280px\]{height:280px}.h-\[400px\]{height:400px}.h-\[50px\]{height:50px}.h-\[580px\]{height:580px}.h-\[600px\]{height:600px}.h-\[80px\]{height:80px}.h-full{height:100%}.h-screen{height:100vh}.max-h-16{max-height:4rem}.max-h-\[500px\]{max-height:500px}.min-h-0{min-height:0px}.min-h-28{min-height:28px}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.min-h-\[350px\]{min-height:350px}.min-h-\[500px\]{min-height:500px}.min-h-\[80vh\]{min-height:80vh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[150px\]{width:150px}.w-\[200\]{width:200}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[230px\]{width:230px}.w-\[280px\]{width:280px}.w-\[300px\]{width:300px}.w-\[50\%\]{width:50%}.w-\[521px\]{width:521px}.w-\[55px\]{width:55px}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[65px\]{width:65px}.w-\[75px\]{width:75px}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.w-sider{width:60px}.min-w-0{min-width:0px}.min-w-12{min-width:3rem}.min-w-\[350px\]{min-width:350px}.max-w-48{max-width:12rem}.max-w-\[100px\]{max-width:100px}.max-w-\[500px\]{max-width:500px}.max-w-full{max-width:100%}.max-w-screen-4xl{max-width:1870px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.resize-none{resize:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-10{row-gap:2.5rem}.gap-y-3{row-gap:.75rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[3px\]{border-width:3px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-\[\#00000014\]{border-color:#00000014}.border-\[\#ebebeb\]{--tw-border-opacity: 1;border-color:rgb(235 235 235 / var(--tw-border-opacity))}.border-\[\#ffffff17\]{border-color:#ffffff17}.border-\[ced4da\]{border-color:ced4da}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-primary-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-b-gray-100{--tw-border-opacity: 1;border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-t-gray-100{--tw-border-opacity: 1;border-top-color:rgb(243 244 246 / var(--tw-border-opacity))}.\!bg-\[\#ccddff\]{--tw-bg-opacity: 1 !important;background-color:rgb(204 221 255 / var(--tw-bg-opacity))!important}.bg-\[\#2C9EFF\]{--tw-bg-opacity: 1;background-color:rgb(44 158 255 / var(--tw-bg-opacity))}.bg-\[\#3CD38E\]{--tw-bg-opacity: 1;background-color:rgb(60 211 142 / var(--tw-bg-opacity))}.bg-\[\#FF9600\]{--tw-bg-opacity: 1;background-color:rgb(255 150 0 / var(--tw-bg-opacity))}.bg-\[\#e7eaf380\]{background-color:#e7eaf380}.bg-\[\#f78400\]{--tw-bg-opacity: 1;background-color:rgb(247 132 0 / var(--tw-bg-opacity))}.bg-\[\#f8f8f8\]{--tw-bg-opacity: 1;background-color:rgb(248 248 248 / var(--tw-bg-opacity))}.bg-\[\#f8f8fb\]{--tw-bg-opacity: 1;background-color:rgb(248 248 251 / var(--tw-bg-opacity))}.bg-\[\#f8f9fa\]{--tw-bg-opacity: 1;background-color:rgb(248 249 250 / var(--tw-bg-opacity))}.bg-\[\#fafafa\]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-\[\#fafafc\]{--tw-bg-opacity: 1;background-color:rgb(250 250 252 / var(--tw-bg-opacity))}.bg-\[\#fafbfc\]{--tw-bg-opacity: 1;background-color:rgb(250 251 252 / var(--tw-bg-opacity))}.bg-\[\#fff\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-black\/40{background-color:#0006}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-primary-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-center{background-position:center}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-\[10px\]{padding:10px}.p-\[20px\]{padding:20px}.p-\[2px\]{padding:2px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-20{padding-left:5rem;padding-right:5rem}.px-24{padding-left:6rem;padding-right:6rem}.px-28{padding-left:7rem;padding-right:7rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-\[12px\]{padding-left:12px;padding-right:12px}.px-\[20px\]{padding-left:20px;padding-right:20px}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-5{padding-bottom:1.25rem}.pb-\[15px\]{padding-bottom:15px}.pl-0{padding-left:0}.pl-12{padding-left:3rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pl-\[260px\]{padding-left:260px}.pr-0{padding-right:0}.pr-12{padding-right:3rem}.pr-16{padding-right:4rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[20px\]{font-size:20px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-loose{line-height:2}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-widest{letter-spacing:.1em}.text-\[\#000\]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-\[\#142D6E\]{--tw-text-opacity: 1;color:rgb(20 45 110 / var(--tw-text-opacity))}.text-\[\#3076fd\]{--tw-text-opacity: 1;color:rgb(48 118 253 / var(--tw-text-opacity))}.text-\[\#333\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.text-\[\#374151\]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-\[\#444\]{--tw-text-opacity: 1;color:rgb(68 68 68 / var(--tw-text-opacity))}.text-\[\#555\]{--tw-text-opacity: 1;color:rgb(85 85 85 / var(--tw-text-opacity))}.text-\[\#5A91FC\]{--tw-text-opacity: 1;color:rgb(90 145 252 / var(--tw-text-opacity))}.text-\[\#626569\]{--tw-text-opacity: 1;color:rgb(98 101 105 / var(--tw-text-opacity))}.text-\[\#64748b\]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-\[\#67c23a\]{--tw-text-opacity: 1;color:rgb(103 194 58 / var(--tw-text-opacity))}.text-\[\#707384\]{--tw-text-opacity: 1;color:rgb(112 115 132 / var(--tw-text-opacity))}.text-\[\#95AAC9\],.text-\[\#95aac9\]{--tw-text-opacity: 1;color:rgb(149 170 201 / var(--tw-text-opacity))}.text-\[\#989898\]{--tw-text-opacity: 1;color:rgb(152 152 152 / var(--tw-text-opacity))}.text-\[\#999\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-\[\#cbd5e1\]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-\[\#eee\]{--tw-text-opacity: 1;color:rgb(238 238 238 / var(--tw-text-opacity))}.text-\[\#fff\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-\[000\]{color:000}.text-\[currentColor\]{color:currentColor}.text-\[gray\]{--tw-text-opacity: 1;color:rgb(128 128 128 / var(--tw-text-opacity))}.text-\[red\]{--tw-text-opacity: 1;color:rgb(255 0 0 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-primary-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.text-primary-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-primary-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-0{outline-width:0px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar-none{scrollbar-width:none}.scrollbar-none::-webkit-scrollbar{display:none}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.focus-within\:ring-2:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary-400:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(129 140 248 / var(--tw-ring-opacity))}.focus-within\:ring-primary-600:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.group:hover .group-hover\:text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.hover\:border-\[\#5a91fc\]:hover{--tw-border-opacity: 1;border-color:rgb(90 145 252 / var(--tw-border-opacity))}.hover\:bg-\[\#666161\]:hover{--tw-bg-opacity: 1;background-color:rgb(102 97 97 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-primary-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-primary-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-primary-600:hover{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-\[\#5A91FC\]:hover,.hover\:text-\[\#5a91fc\]:hover{--tw-text-opacity: 1;color:rgb(90 145 252 / var(--tw-text-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover,.hover\:text-primary-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:text-primary-600:hover{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.hover\:shadow:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}.focus-visible\:outline-primary-600:focus-visible{outline-color:#4f46e5}:is(.dark .dark\:border-b){border-bottom-width:1px}:is(.dark .dark\:border-\[\#3a3a40\]){--tw-border-opacity: 1;border-color:rgb(58 58 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-\[\#ffffff17\]){border-color:#ffffff17}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-b-gray-800){--tw-border-opacity: 1;border-bottom-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-gray-800){--tw-border-opacity: 1;border-top-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-neutral-800){--tw-border-opacity: 1;border-top-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:bg-\[\#18181c\]){--tw-bg-opacity: 1;background-color:rgb(24 24 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#24272e\]){--tw-bg-opacity: 1;background-color:rgb(36 39 46 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#25272c\]){--tw-bg-opacity: 1;background-color:rgb(37 39 44 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#262629\]){--tw-bg-opacity: 1;background-color:rgb(38 38 41 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#2F2E34\]){--tw-bg-opacity: 1;background-color:rgb(47 46 52 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#2c2c32\]){--tw-bg-opacity: 1;background-color:rgb(44 44 50 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#34373c\]){--tw-bg-opacity: 1;background-color:rgb(52 55 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black\/20){background-color:#0003}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-800){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:text-\[\#3076fd\]){--tw-text-opacity: 1;color:rgb(48 118 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#3a71ff\]){--tw-text-opacity: 1;color:rgb(58 113 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#fff\]){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#ffffff73\]){color:#ffffff73}:is(.dark .dark\:text-\[\#ffffff\]){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-600){--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-600){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-600){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-primary-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 48 163 / var(--tw-ring-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:border-primary-500):hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-\[\#33373c\]:hover){--tw-bg-opacity: 1;background-color:rgb(51 55 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-\[\#414755\]:hover){--tw-bg-opacity: 1;background-color:rgb(65 71 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary-800:hover){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-500:hover){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary-600:hover){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-gray-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-primary-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 48 163 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:mx-auto{margin-left:auto;margin-right:auto}.sm\:block{display:block}.sm\:w-\[20rem\]{width:20rem}.sm\:w-\[300px\]{width:300px}.sm\:w-full{width:100%}.sm\:max-w-sm{max-width:24rem}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:pt-4{padding-top:1rem}.sm\:pt-6{padding-top:1.5rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:h-14{height:3.5rem}.md\:min-w-\[450px\]{min-width:450px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:m-0{margin:0}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:justify-between{justify-content:space-between}.lg\:p-6{padding:1.5rem}.lg\:pt-0{padding-top:0}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1750px){.\33xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1870px){.\34xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}/*! - Theme: GitHub Dark - Description: Dark theme as seen on github.com - Author: github.com - Maintainer: @Hirse - Updated: 2021-05-15 - - Outdated base version: https://github.com/primer/github-syntax-dark - Current colors taken from GitHub's CSS -*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}html .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;background-color:#000;border-radius:50%;animation:breathes 2s infinite ease-in-out;vertical-align:middle}@keyframes breathes{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}@keyframes blink{to{visibility:hidden}}html,body,#app{height:100%}*{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}* :focus{outline:none}.tem .n-slider-rail__fill{width:4px}.tem .n-slider.n-slider--vertical .n-slider-rail .n-slider-rail__fill{left:-2px}::-moz-selection{color:#fff;background:#798aae}::selection{color:#fff;background:#798aae}.ele-drag{-webkit-app-region:drag}body[data-v-a0547cf5]{margin:0}.wrapper[data-v-a0547cf5]{margin-top:8px;height:30px;display:flex;justify-content:center;align-items:center}.btn[data-v-a0547cf5]{width:14px;height:14px;border-radius:50%;margin-right:6px;position:relative;overflow:hidden;cursor:pointer}.btn[data-v-a0547cf5]:last-child{margin-right:0}.btn[data-v-a0547cf5]:before,.btn[data-v-a0547cf5]:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%,-50%);border-radius:1px;opacity:0;transition:all .3s ease-in-out}.close-btn[data-v-a0547cf5]{background:#FF5D5B;border:1px solid #CF544D}.min-btn[data-v-a0547cf5]{background:#FFBB39;border:1px solid #CFA64E}.disabled[data-v-a0547cf5]{background:#cccccc}.max-btn[data-v-a0547cf5]{background:#00CD4E;border:1px solid #0EA642}.close-btn[data-v-a0547cf5]:before,.close-btn[data-v-a0547cf5]:after{width:1px;height:70%;background:#460100}.close-btn[data-v-a0547cf5]:before{transform:translate(-50%,-50%) rotate(45deg)}.close-btn[data-v-a0547cf5]:after{transform:translate(-50%,-50%) rotate(-45deg)}.min-btn[data-v-a0547cf5]:before{width:70%;height:1px;background:#460100}.max-btn[data-v-a0547cf5]:before{width:50%;height:50%;background:#024D0F}.max-btn[data-v-a0547cf5]:after{width:1px;height:90%;transform:translate(-50%,-50%) rotate(-135deg);background:#00CD4E}.wrapper:hover .btn[data-v-a0547cf5]:before,.wrapper:hover .btn[data-v-a0547cf5]:after{top:50%;opacity:1;cursor:pointer}.sidebar{overflow:hidden;width:calc(100% - 5px)}.sidebar:hover{width:100%;overflow:overlay}.overlay{overflow:hidden}.overlay:hover{width:100%;overflow:overlay}.active_bar{border-width:1px}.wechat-shadow{box-shadow:0 8px 10px 1px #00000029}*[data-v-56c01def]{box-sizing:border-box;margin:0;padding:0}.m-qrcode[data-v-56c01def]{display:inline-block;border-radius:8px;overflow:hidden}.m-qrcode .u-qrcode[data-v-56c01def]{width:100%;height:100%}.bordered[data-v-56c01def]{border-width:1px;border-style:solid}[data-v-1037e82d] .n-card__content{padding:0!important}.n-calendar-header__extra{display:none!important}.fade-in-left-enter-active{transition:all .3s}.fade-in-left-leave-active{transition:none}.fade-in-left-enter-from,.fade-in-left-enter-to{opacity:0;transform:translate(-20px)}.fade-in-left-leave-from,.fade-in-left-leave-to{opacity:1;transform:translate(0)}.scale-enter-active{transition:transform .35s cubic-bezier(.42,0,.58,1);transform:scale(.6)}.scale-enter-to{transform:scale(1)}::-webkit-scrollbar{width:3px;height:3px}::-webkit-scrollbar-thumb{border-radius:1em;background-color:#3232324d}::-webkit-scrollbar-track{border-radius:1em;background-color:#3232321a}.banner{position:relative;width:100%;height:200px;background-size:cover;border-radius:6px}.tag{padding:3px 10px;display:flex;font-size:14px;justify-content:center;align-items:center;background:#6692f5;border-radius:8px;opacity:.8;color:#fff;margin-right:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.title{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:2.5rem;font-family:PingFang SC-Bold,PingFang SC;color:#fff;text-shadow:0 3px 3px rgba(0,0,0,.1);position:absolute;left:50px;top:70px;-webkit-background-clip:text;background-clip:text}.subtitle{position:absolute;left:50px;top:140px}.info{font-weight:400;color:#fff;margin-right:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.message{font-size:20px;display:flex;align-items:center;padding-top:10px;padding-bottom:10px}.brage{width:4px;height:18px;background:#6692f5;border-radius:6px;margin-right:10px}.notice-text,.author-info{color:#999!important;margin-top:10px;padding-left:15px;font-size:16px}.red{color:red}.notice_block{box-shadow:0 8px 10px 1px #00000029;border-radius:6px;padding:10px;margin-top:25px} diff --git a/public/assets/index-648ab71e.js b/public/assets/index-648ab71e.js new file mode 100644 index 0000000..d7c867a --- /dev/null +++ b/public/assets/index-648ab71e.js @@ -0,0 +1,6 @@ +import{a as ne,o as ge,u as _e,t,S as Me,T as Ne,U as Ee,V as Ie,W as Le,X as Re,Y as De}from"./index-d64a7cc4.js";import{_ as je}from"./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js";import{u as ue}from"./useBasicLayout-a4f17bae.js";import{d as se,e as M,r as I,f as ce,S as A,U as B,a3 as s,V as R,W as o,c as j,a4 as n,M as e,a5 as z,X as u,j as be,l as oe,a8 as pe,F as xe,af as ye,ab as ze,a6 as Oe,H as Ue}from"./vue-10b4afc0.js";import{z as D,S as me,h as Be,i as We,e as de,A as ee,x as V,B as ve,y as Y,T as we,C as Ge,U as he,K as te,d as Fe,V as He,W as Ve,Q as qe,R as Qe,X as Z,v as ie,Y as Ye}from"./naive-ui-fedd20b1.js";import{a as Xe,f as Ke}from"./crami-99ee44eb.js";import"./vueuse-motion-d4cdaf7b.js";const le=""+new URL("avatar-e985e5ec.png",import.meta.url).href,Je={class:"flex flex-col justify-center items-center"},Ze={class:"text-2xl text-primary self-start mb-3 flex justify-between w-full"},et=s("span",null,null,-1),tt={class:"mt-3 text-lg text-[#555]"},nt={class:"text-[#95aac9] mt-2"},st={class:"self-start"},rt={class:"flex pl-3 pt-3 text-base font-bold text-primary"},at={key:0,class:"flex pl-3 pt-3 text-base font-bold text-primary"},ot={class:"flex items-center space-x-4 pl-3 mt-3"},it={class:"flex-shrink-0 w-24 text-primary"},lt={class:"w-[200px]"},ut={class:"flex items-center space-x-4 pl-3 mt-3"},ct={class:"flex-shrink-0 w-24 text-primary"},dt={class:"w-[200px]"},ft={class:"flex items-center space-x-4 pl-3 mt-3"},pt={class:"flex-shrink-0 w-24 text-primary"},mt={class:"w-[200px]"},vt={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},yt={class:"flex-shrink-0 w-24 text-primary"},ht={class:"w-[200px]"},gt={key:1},_t=se({__name:"detail",setup(W){const S=ne(),b=ge(),{userBalance:w}=S,$=_e(),m=M(()=>S.userInfo.email||""),f=M(()=>S.userInfo.isBindWx),r=I(S.userInfo.avatar??le),c=I(S.userInfo.username??t("usercenter.notLoggedIn"));I(S.userInfo.sign??t("usercenter.defaultSignature"));const p=M(()=>Number(S.globalConfig.wechatRegisterStatus)===1);function h(){S.logOut(),b.push("/")}const x=M(()=>S.isLogin);return ce(()=>{x.value||S.setLoginDialog(!0)}),(C,T)=>(A(),B("div",Je,[s("div",Ze,[et,x.value?(A(),R(e(D),{key:0,tertiary:"",type:"error",onClick:h},{default:o(()=>[j(n(e(t)("usercenter.logOut")),1)]),_:1})):z("",!0),x.value?z("",!0):(A(),R(e(D),{key:1,tertiary:"",type:"success",onClick:T[0]||(T[0]=y=>e(S).setLoginDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToLogin")),1)]),_:1}))]),u(e(me),{size:148,src:r.value,"fallback-src":e(le)},null,8,["src","fallback-src"]),s("b",tt,n(c.value),1),s("span",nt,n(m.value),1),s("div",st,[s("div",rt,[s("span",null,n(e(t)("usercenter.myUsageRecord")),1)]),e(w).expirationTime?(A(),B("div",at,[s("span",null,n(e(t)("usercenter.membershipExpiration")),1),s("span",null,n(e(w).expirationTime),1)])):z("",!0),s("div",ot,[s("span",it,n(e(t)("usercenter.basicModelCredits")),1),s("div",lt,n(e(w).sumModel3Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",ut,[s("span",ct,n(e(t)("usercenter.advancedModelCredits")),1),s("div",dt,n(e(w).sumModel4Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",ft,[s("span",pt,n(e(t)("usercenter.drawingUsageCredits")),1),s("div",mt,n(e(w).sumDrawMjCount||"0")+" "+n(e(t)("usercenter.points")),1)]),p.value?(A(),B("div",vt,[s("span",yt,n(e(t)("usercenter.bindWeChat")),1),s("div",ht,[f.value?(A(),B("span",gt,n(e(t)("usercenter.weChatBound")),1)):(A(),R(e(D),{key:0,text:"",onClick:T[1]||(T[1]=y=>e($).updateBindwxDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):z("",!0)])]))}});var Ce={exports:{}};/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */(function(W,S){(function(w,$){W.exports=$()})(Be,function(){return function(){var b={686:function(m,f,r){r.d(f,{default:function(){return Ae}});var c=r(279),p=r.n(c),h=r(370),x=r.n(h),C=r(817),T=r.n(C);function y(_){try{return document.execCommand(_)}catch{return!1}}var a=function(l){var i=T()(l);return y("cut"),i},d=a;function P(_){var l=document.documentElement.getAttribute("dir")==="rtl",i=document.createElement("textarea");i.style.fontSize="12pt",i.style.border="0",i.style.padding="0",i.style.margin="0",i.style.position="absolute",i.style[l?"right":"left"]="-9999px";var v=window.pageYOffset||document.documentElement.scrollTop;return i.style.top="".concat(v,"px"),i.setAttribute("readonly",""),i.value=_,i}var F=function(l,i){var v=P(l);i.container.appendChild(v);var g=T()(v);return y("copy"),v.remove(),g},Q=function(l){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},v="";return typeof l=="string"?v=F(l,i):l instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(l==null?void 0:l.type)?v=F(l.value,i):(v=T()(l),y("copy")),v},H=Q;function q(_){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q=function(i){return typeof i}:q=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},q(_)}var X=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=l.action,v=i===void 0?"copy":i,g=l.container,k=l.target,G=l.text;if(v!=="copy"&&v!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(k!==void 0)if(k&&q(k)==="object"&&k.nodeType===1){if(v==="copy"&&k.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(v==="cut"&&(k.hasAttribute("readonly")||k.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(G)return H(G,{container:g});if(k)return v==="cut"?d(k):H(k,{container:g})},K=X;function E(_){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(i){return typeof i}:E=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},E(_)}function L(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")}function N(_,l){for(var i=0;i"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function re(_){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},re(_)}function fe(_,l){var i="data-clipboard-".concat(_);if(l.hasAttribute(i))return l.getAttribute(i)}var Pe=function(_){O(i,_);var l=ke(i);function i(v,g){var k;return L(this,i),k=l.call(this),k.resolveOptions(g),k.listenClick(v),k}return U(i,[{key:"resolveOptions",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof g.action=="function"?g.action:this.defaultAction,this.target=typeof g.target=="function"?g.target:this.defaultTarget,this.text=typeof g.text=="function"?g.text:this.defaultText,this.container=E(g.container)==="object"?g.container:document.body}},{key:"listenClick",value:function(g){var k=this;this.listener=x()(g,"click",function(G){return k.onClick(G)})}},{key:"onClick",value:function(g){var k=g.delegateTarget||g.currentTarget,G=this.action(k)||"copy",ae=K({action:G,container:this.container,target:this.target(k),text:this.text(k)});this.emit(ae?"success":"error",{action:G,text:ae,trigger:k,clearSelection:function(){k&&k.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(g){return fe("action",g)}},{key:"defaultTarget",value:function(g){var k=fe("target",g);if(k)return document.querySelector(k)}},{key:"defaultText",value:function(g){return fe("text",g)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(g){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return H(g,k)}},{key:"cut",value:function(g){return d(g)}},{key:"isSupported",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],k=typeof g=="string"?[g]:g,G=!!document.queryCommandSupported;return k.forEach(function(ae){G=G&&!!document.queryCommandSupported(ae)}),G}}]),i}(p()),Ae=Pe},828:function(m){var f=9;if(typeof Element<"u"&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function c(p,h){for(;p&&p.nodeType!==f;){if(typeof p.matches=="function"&&p.matches(h))return p;p=p.parentNode}}m.exports=c},438:function(m,f,r){var c=r(828);function p(C,T,y,a,d){var P=x.apply(this,arguments);return C.addEventListener(y,P,d),{destroy:function(){C.removeEventListener(y,P,d)}}}function h(C,T,y,a,d){return typeof C.addEventListener=="function"?p.apply(null,arguments):typeof y=="function"?p.bind(null,document).apply(null,arguments):(typeof C=="string"&&(C=document.querySelectorAll(C)),Array.prototype.map.call(C,function(P){return p(P,T,y,a,d)}))}function x(C,T,y,a){return function(d){d.delegateTarget=c(d.target,T),d.delegateTarget&&a.call(C,d)}}m.exports=h},879:function(m,f){f.node=function(r){return r!==void 0&&r instanceof HTMLElement&&r.nodeType===1},f.nodeList=function(r){var c=Object.prototype.toString.call(r);return r!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in r&&(r.length===0||f.node(r[0]))},f.string=function(r){return typeof r=="string"||r instanceof String},f.fn=function(r){var c=Object.prototype.toString.call(r);return c==="[object Function]"}},370:function(m,f,r){var c=r(879),p=r(438);function h(y,a,d){if(!y&&!a&&!d)throw new Error("Missing required arguments");if(!c.string(a))throw new TypeError("Second argument must be a String");if(!c.fn(d))throw new TypeError("Third argument must be a Function");if(c.node(y))return x(y,a,d);if(c.nodeList(y))return C(y,a,d);if(c.string(y))return T(y,a,d);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function x(y,a,d){return y.addEventListener(a,d),{destroy:function(){y.removeEventListener(a,d)}}}function C(y,a,d){return Array.prototype.forEach.call(y,function(P){P.addEventListener(a,d)}),{destroy:function(){Array.prototype.forEach.call(y,function(P){P.removeEventListener(a,d)})}}}function T(y,a,d){return p(document.body,y,a,d)}m.exports=h},817:function(m){function f(r){var c;if(r.nodeName==="SELECT")r.focus(),c=r.value;else if(r.nodeName==="INPUT"||r.nodeName==="TEXTAREA"){var p=r.hasAttribute("readonly");p||r.setAttribute("readonly",""),r.select(),r.setSelectionRange(0,r.value.length),p||r.removeAttribute("readonly"),c=r.value}else{r.hasAttribute("contenteditable")&&r.focus();var h=window.getSelection(),x=document.createRange();x.selectNodeContents(r),h.removeAllRanges(),h.addRange(x),c=h.toString()}return c}m.exports=f},279:function(m){function f(){}f.prototype={on:function(r,c,p){var h=this.e||(this.e={});return(h[r]||(h[r]=[])).push({fn:c,ctx:p}),this},once:function(r,c,p){var h=this;function x(){h.off(r,x),c.apply(p,arguments)}return x._=c,this.on(r,x,p)},emit:function(r){var c=[].slice.call(arguments,1),p=((this.e||(this.e={}))[r]||[]).slice(),h=0,x=p.length;for(h;h{const S=(W==null?void 0:W.appendToBody)===void 0?!0:W.appendToBody;return{toClipboard(b,w){return new Promise(($,m)=>{const f=document.createElement("button"),r=new xt(f,{text:()=>b,action:()=>"copy",container:w!==void 0?w:document.body});r.on("success",c=>{r.destroy(),$(c)}),r.on("error",c=>{r.destroy(),m(c)}),S&&document.body.appendChild(f),f.click(),S&&document.body.removeChild(f)})}}},Ct={class:"text-[#95aac9] mb-2 text-base"},kt={class:"text-2xl text-[#555] dark:text-[#fff] whitespace-nowrap"},St=s("b",{class:"text-[000]"},"Tips",-1),$t={class:"flex flex-col text-[#707384]"},Tt=se({__name:"invite",setup(W){const{toClipboard:S}=wt(),b=ne(),w=M(()=>b.userInfo.inviteCode),$=M(()=>b.globalConfig),{isSmallXl:m,isMobile:f}=ue(),r=de(),c=I(!1),p=be({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:a=>{p.page=a,T()},onUpdatePageSize:a=>{p.pageSize=a,p.page=1,T()}}),h=M(()=>[{title:t("usercenter.avatar"),key:"avatar",render(a){return oe(me,{src:a.avatar,size:"small",round:!0})}},{title:t("usercenter.username"),key:"username"},{title:t("usercenter.email"),key:"email"},{title:t("usercenter.inviteeStatus"),key:"status",render(a){return oe(D,{type:a.status===1?"primary":"error",size:"small",round:!0,quaternary:!0},{default:()=>a.status===1?t("usercenter.certified"):t("usercenter.notActivated")})}},{title:t("usercenter.inviteTime"),key:"createdAt",render(a){return oe("div",{style:{fontSize:"12px",color:"#999"}},()=>a.createdAt)}},{title:t("usercenter.rewardStatus"),key:"status",render(a){return oe(D,{type:a.status===1?"success":"warning",size:"small",round:!0,quaternary:!0},{default:()=>a.status===1?t("usercenter.rewardReceived"):t("usercenter.waitingConfirmation")})}}]),x=I([]);async function C(){const a=await Ne();if(!a.data)return r.error(a.message);r.error(t("usercenter.linkGeneratedSuccess")),b.getUserInfo()}async function T(){try{c.value=!0;const a=await Me({page:p.page,size:p.pageSize});x.value=a.data.rows,c.value=!1}catch{c.value=!1}}async function y(){if(!w.value)return r.error(t("usercenter.generateLinkFirst"));const a=`${window.location.href}?inVitecode=${w.value}`;try{await S(a),r.success(t("usercenter.linkCopiedSuccess"))}catch{r.error(t("usercenter.copyNotSupported"))}}return ce(()=>{T()}),(a,d)=>(A(),B(xe,null,[u(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.inviteForBenefits")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(m)?1:3,class:"mt-3"},{default:o(()=>{var P;return[u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:2},{default:o(()=>[s("div",Ct,n(e(t)("usercenter.myInviteCode")),1),s("div",{class:pe(["flex justify-between",[e(m)?"flex-col mt-3":""]])},[s("b",kt,n(w.value||"********"),1),u(e(ve),{class:pe([e(m)?" mt-3":""])},{default:o(()=>[u(e(D),{type:"success",onClick:C},{default:o(()=>[j(n(e(t)("usercenter.generateInviteCode")),1)]),_:1}),u(e(D),{type:"primary",onClick:y},{default:o(()=>[j(n(e(t)("usercenter.copyInviteLink")),1)]),_:1})]),_:1},8,["class"])],2)]),_:1}),Number((P=$.value)==null?void 0:P.inviteSendStatus)===1?(A(),R(e(V),{key:0,class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:1},{default:o(()=>[St,s("div",$t,[s("span",null,n(e(t)("usercenter.inviteOneUser")),1),s("span",null,n($.value.inviteGiveSendModel3Count)+" "+n(e(t)("usercenter.basicModelCredits"))+" "+n($.value.inviteGiveSendModel4Count)+" "+n(e(t)("usercenter.advancedModelCredits"))+" "+n($.value.inviteGiveSendDrawMjCount)+" "+n(e(t)("usercenter.mjDrawingCredits")),1),s("span",null,n(e(t)("usercenter.receiveInvitation")),1),s("span",null,n($.value.invitedGuestSendModel3Count)+" "+n(e(t)("usercenter.basicModelCredits"))+" "+n($.value.invitedGuestSendModel4Count)+" "+n(e(t)("usercenter.advancedModelCredits"))+" "+n($.value.invitedGuestSendDrawMjCount)+" "+n(e(t)("usercenter.mjDrawingCredits")),1)])]),_:1})):z("",!0)]}),_:1},8,["cols"])]),_:1}),u(e(Y),{class:"mt-5"},{header:o(()=>[s("div",null,n(e(t)("usercenter.invitationRecord")),1)]),default:o(()=>[u(e(we),{loading:c.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:h.value,data:x.value,pagination:p,"scroll-x":500},null,8,["loading","columns","data","pagination"])]),_:1})],64))}}),Pt={class:"flex justify-between"},At={class:"text-[#95AAC9]"},Mt={class:"text-base"},Nt={class:"text-[#95AAC9] mt-3"},Et={class:"ml-3 text-[#95AAC9] mt-2"},It={class:"ml-3 text-[#95AAC9] mt-2"},Lt={class:"ml-3 text-[#95AAC9] mt-2"},Rt=se({__name:"password",setup(W){const S=I({password:"",reenteredPassword:""}),b=S,w=I(null),$=I(null),m={password:[{required:!0,message:t("usercenter.enterPassword")}],reenteredPassword:[{required:!0,message:t("usercenter.reenterPassword"),trigger:["input","blur"]},{validator:f,message:t("usercenter.passwordsNotMatch"),trigger:"input"},{validator:r,message:t("usercenter.passwordsNotMatch"),trigger:["blur","password-input"]}]};function f(a,d){return!!S.value.password&&S.value.password.startsWith(d)&&S.value.password.length>=d.length}function r(a,d){return d===S.value.password}function c(){var a;S.value.reenteredPassword&&((a=$.value)==null||a.validate({trigger:"password-input"}))}const{isSmallXl:p}=ue(),h=ne(),x=de();async function C(a){await Ee(a),x.success(t("usercenter.passwordUpdateSuccess")),T(),h.updatePasswordSuccess()}function T(){S.value={password:"",reenteredPassword:""}}function y(a){var d;a.preventDefault(),(d=w.value)==null||d.validate(async P=>{if(!P){const{password:F}=S.value;C({password:F})}})}return(a,d)=>(A(),R(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.changeYourPassword")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(p)?1:3,class:"mt-3"},{default:o(()=>[u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:"2"},{default:o(()=>[u(e(Ge),{ref_key:"formRef",ref:w,model:e(b),rules:m},{default:o(()=>[u(e(he),{path:"password",label:e(t)("usercenter.newPassword")},{default:o(()=>[u(e(te),{value:e(b).password,"onUpdate:value":d[0]||(d[0]=P=>e(b).password=P),type:"password",onInput:c,onKeydown:d[1]||(d[1]=ye(ze(()=>{},["prevent"]),["enter"]))},null,8,["value"])]),_:1},8,["label"]),u(e(he),{ref_key:"rPasswordFormItemRef",ref:$,first:"",path:"reenteredPassword",label:e(t)("usercenter.confirmPassword")},{default:o(()=>[u(e(te),{value:e(b).reenteredPassword,"onUpdate:value":d[2]||(d[2]=P=>e(b).reenteredPassword=P),disabled:!e(b).password,type:"password",tabindex:"0",onKeyup:ye(y,["enter"])},null,8,["value","disabled"])]),_:1},8,["label"]),s("div",Pt,[s("span",At,n(e(t)("usercenter.reloginAfterPasswordChange")),1),u(e(D),{disabled:e(b).password===null,type:"primary",onClick:y},{default:o(()=>[j(n(e(t)("usercenter.updateYourPassword")),1)]),_:1},8,["disabled"])])]),_:1},8,["model"])]),_:1}),u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]"},{default:o(()=>[s("b",Mt,n(e(t)("usercenter.passwordRequirements")),1),s("p",Nt,n(e(t)("usercenter.newPasswordInstructions")),1),s("div",Et,n(e(t)("usercenter.minimumCharacters")),1),s("div",It,n(e(t)("usercenter.maximumCharacters")),1),s("div",Lt,n(e(t)("usercenter.requireNumber")),1)]),_:1})]),_:1},8,["cols"])]),_:1}))}}),Dt={1:t("rechargeTypes.1"),2:t("rechargeTypes.2"),3:t("rechargeTypes.3"),4:t("rechargeTypes.4"),5:t("rechargeTypes.5"),6:t("rechargeTypes.6"),7:t("rechargeTypes.7"),8:t("rechargeTypes.8")};t("orderStatus.0"),t("orderStatus.1"),t("orderStatus.2"),t("orderStatus.3");const jt={class:"flex h-full flex-col"},zt={class:"text-[#95aac9] mb-2 text-base"},Ot={class:"text-3xl text-[#555]"},Ut={class:"ml-4 text-[#989898]"},Bt={class:"text-[#95aac9] mb-2 text-base"},Wt={class:"text-3xl text-[#555]"},Gt={class:"ml-4 text-[#989898]"},Ft={class:"text-[#95aac9] mb-2 text-base"},Ht={class:"text-3xl text-[#555]"},Vt={class:"ml-4 text-[#989898]"},qt={class:"text-[#95aac9] mb-2 text-base"},Qt={class:"relative"},Yt=["src"],Xt={class:"flex justify-between items-end min-h-28"},Kt={class:"text-sm font-bold mr-1"},Jt={class:"font-bold"},Zt={class:"flex justify-between items-end min-h-28"},en={class:"text-sm font-bold mr-1"},tn={class:"font-bold"},nn={class:"flex justify-between items-end min-h-28"},sn={class:"text-sm font-bold mr-1"},rn={class:"font-bold"},an={class:"flex justify-between items-end mt-5"},on={class:"text-xl text-[red] font-bold"},ln=se({__name:"wallet",setup(W){const{isSmallMd:S,isMobile:b}=ue(),w=ne(),$=de();Fe();const m=M(()=>w.userBalance),f=I(!1),r=I(""),c=I(!1),p=I([]),h=I(!1),x=M(()=>w.globalConfig.model3Name||t("usercenter.basicModelQuota")),C=M(()=>w.globalConfig.model4Name)||t("usercenter.advancedModelQuota"),T=M(()=>w.globalConfig.drawMjName)||t("usercenter.mjDrawingQuota"),y=M(()=>Number(w.globalConfig.isHideModel3Point)===1),a=M(()=>Number(w.globalConfig.isHideModel4Point)===1),d=M(()=>Number(w.globalConfig.isHideDrawMjPoint)===1),P=be({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:N=>{P.page=N,H()},onUpdatePageSize:N=>{P.pageSize=N,P.page=1,H()}}),F=M(()=>{const N=[{title:t("usercenter.orderNumber"),key:"uid"},{title:t("usercenter.rechargeType"),key:"rechargeType",render(U){return Dt[U.rechargeType]}},{title:t("usercenter.validity"),key:"expireDateCn"},{title:t("usercenter.rechargeTime"),key:"createdAt",render(U){return U.createdAt}}];return y.value||N.splice(2,0,{title:x.value,key:"model3Count"}),a.value||N.splice(3,0,{title:C.value,key:"model4Count"}),d.value||N.splice(4,0,{title:T.value,key:"drawMjCount"}),N}),Q=I([]);async function H(){const N=await Ie({page:P.page,size:P.pageSize}),{rows:U}=N.data;Q.value=U}async function q(){$.warning(t("usercenter.enterCardSecret"));try{f.value=!0,await Xe({code:r.value}),$.success(t("usercenter.cardRedeemSuccess")),H(),w.getUserInfo(),f.value=!1}catch{$.error(t("usercenter.unknownError")),f.value=!1}}function X(){c.value=!0}async function K(){const N=await Ke({status:1,size:30});p.value=N.data.rows}const E=M(()=>{var N;return(N=w.globalConfig)==null?void 0:N.buyCramiAddress});function L(){window.open(E.value)}return ce(()=>{H()}),(N,U)=>(A(),B("div",jt,[u(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.userWalletBalance")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(S)?1:2,class:"mt-3"},{default:o(()=>[y.value?z("",!0):(A(),R(e(V),{key:0,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",zt,n(x.value),1),s("b",Ot,n(m.value.sumModel3Count??0),1),s("span",Ut,n(e(t)("usercenter.creditUsageNote")),1)]),_:1})),a.value?z("",!0):(A(),R(e(V),{key:1,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",Bt,n(e(C)),1),s("b",Wt,n(m.value.sumModel4Count??0),1),s("span",Gt,n(e(t)("usercenter.modelConsumptionNote")),1)]),_:1})),d.value?z("",!0):(A(),R(e(V),{key:2,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",Ft,n(e(T)),1),s("b",Ht,n(m.value.sumDrawMjCount??0),1),s("span",Vt,n(e(t)("usercenter.drawingConsumptionNote")),1)]),_:1})),u(e(V),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",qt,n(e(t)("usercenter.cardRecharge")),1),u(e(ve),{wrap:!1},{default:o(()=>[u(e(te),{value:r.value,"onUpdate:value":U[0]||(U[0]=O=>r.value=O),placeholder:e(t)("usercenter.enterCardDetails"),class:"mr-3",maxlength:"128","show-count":"",clearable:""},null,8,["value","placeholder"]),u(e(D),{type:"primary",loading:f.value,onClick:q},{default:o(()=>[j(n(e(t)("usercenter.exchange")),1)]),_:1},8,["loading"]),E.value?(A(),R(e(D),{key:0,type:"success",onClick:X},{default:o(()=>[j(n(e(t)("usercenter.buyCardSecret")),1)]),_:1})):z("",!0)]),_:1})]),_:1})]),_:1},8,["cols"])]),_:1}),u(e(Y),{class:"mt-5 flex-1"},{header:o(()=>[s("div",null,n(e(t)("usercenter.rechargeRecords")),1)]),default:o(()=>[u(e(we),{columns:F.value,loading:h.value,"scroll-x":800,data:Q.value,"max-height":"280",pagination:P},null,8,["columns","loading","data","pagination"])]),_:1}),u(e(Ve),{show:c.value,"onUpdate:show":U[1]||(U[1]=O=>c.value=O),width:e(S)?"100%":502,"on-after-enter":K},{default:o(()=>[u(e(He),{title:"{{ t('usercenter.packagePurchase') }}",closable:""},{default:o(()=>[u(e(ee),{"x-gap":15,"y-gap":15,cols:e(S)?1:2,class:"mt-3"},{default:o(()=>[(A(!0),B(xe,null,Oe(p.value,(O,J)=>(A(),R(e(V),{key:J},{default:o(()=>[u(e(Y),{size:"small",embedded:""},{header:o(()=>[s("div",Qt,[s("b",null,n(O.name),1)])]),cover:o(()=>[s("img",{src:O.coverImg},null,8,Yt)]),default:o(()=>[s("div",null,[s("p",null,n(O.des),1),s("div",Xt,[s("span",Kt,n(x.value),1),s("span",Jt,n(O.model3Count),1)]),s("div",Zt,[s("span",en,n(e(C)),1),s("span",tn,n(O.model4Count),1)]),s("div",nn,[s("span",sn,n(e(T)),1),s("span",rn,n(O.drawMjCount),1)]),s("div",an,[s("i",on,n(`¥${O.price}`),1),u(e(D),{type:"primary",dashed:"",size:"small",onClick:L},{default:o(()=>[j(n(e(t)("usercenter.buyPackage")),1)]),_:1})])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])]),_:1})]),_:1},8,["show","width"])]))}}),un={class:"flex flex-col justify-center items-center"},cn={class:"text-2xl text-primary self-start mb-14 flex justify-between w-full"},dn={class:"mt-3 text-lg text-[#555]"},fn={class:"self-start mt-16"},pn={class:"text-xl text-primary"},mn={class:"flex items-center space-x-4 pl-3 mt-3"},vn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},yn={class:"w-[230px]"},hn={class:"flex items-center space-x-4 pl-3 mt-3"},gn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},_n={class:"w-[230px]"},bn={key:0,class:"flex items-center space-x-4 pl-3 mt-3"},xn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},wn={class:"w-[230px]"},Cn={key:1},kn={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},Sn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},$n={class:"w-[230px]"},Tn={key:0,class:"flex text-[red] pt-8 text-base font-bold"},Pn={key:1},An={class:"flex items-center space-x-4"},Mn={class:"flex-shrink-0 w-[60px]"},Nn={class:"flex-1"},En={class:"flex items-center space-x-4 mt-5"},In={class:"flex-shrink-0 w-[60px]"},Ln={class:"flex-1"},Gn=se({__name:"index",setup(W){const S=_e(),b=ne(),w=ge(),$=I(0),m=M(()=>b.userBalance),f=M(()=>{var E;return(E=b.globalConfig)==null?void 0:E.isUseWxLogin}),r=M(()=>Number(b.globalConfig.wechatRegisterStatus)===1),c=M(()=>b.globalConfig.model3Name||t("goods.basicModelQuota")),p=M(()=>b.globalConfig.model4Name)||t("goods.advancedModelQuota");M(()=>b.globalConfig.drawMjName)||t("goods.drawingQuota"),M(()=>Number(b.globalConfig.isHideModel3Point)===1),M(()=>Number(b.globalConfig.isHideModel4Point)===1),M(()=>Number(b.globalConfig.isHideDrawMjPoint)===1);const h=I(!0),x=M(()=>b.isLogin),C=de();M(()=>b.userInfo.email||"");const T=M(()=>b.userInfo.isBindWx),y=I(b.userInfo.avatar??le),a=I(b.userInfo.username??"未登录");I(b.userInfo.sign??t("usercenter.defaultSignature"));const d=I(!1),{isSmallLg:P,isMobile:F}=ue();async function Q(){const E=await Le();$.value=E.data||0}async function H(){(await Re()).success&&C.success(t("usercenter.syncComplete")),Q()}async function q(E){try{d.value=!0;const L=await De(E);if(d.value=!1,!L.success)return C.error(L.message);C.success(t("common.updateUserSuccess")),b.getUserInfo()}catch{d.value=!1}}function X(){x.value||(w.push("/"),b.setLoginDialog(!0))}ce(()=>{X(),Q()});function K(){b.logOut(),w.push("/")}return setTimeout(()=>{h.value=!1},500),(E,L)=>(A(),R(e(qe),{"has-sider":"",class:"flex h-full"},{default:o(()=>[e(P)?z("",!0):(A(),R(e(Qe),{key:0,"content-style":"padding: 24px;",bordered:"",width:"380"},{default:o(()=>[s("div",un,[s("div",cn,[s("span",null,n(e(t)("usercenter.personalCenter")),1),u(e(D),{tertiary:"",type:"error",onClick:K},{default:o(()=>[j(n(e(t)("usercenter.logOut")),1)]),_:1})]),u(e(me),{size:148,src:y.value,"fallback-src":e(le)},null,8,["src","fallback-src"]),s("b",dn,n(a.value),1),s("div",fn,[s("div",pn,n(e(t)("usercenter.myUsageRecord")),1),s("div",mn,[s("span",vn,n(c.value),1),s("div",yn,n(m.value.useModel3Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",hn,[s("span",gn,n(e(p)),1),s("div",_n,n(m.value.useModel4Count||"0")+" "+n(e(t)("usercenter.points")),1)]),f.value&&r.value?(A(),B("div",bn,[s("span",xn,n(e(t)("usercenter.bindWeChat")),1),s("div",wn,[T.value?(A(),B("span",Cn,n(e(t)("usercenter.weChatBound")),1)):(A(),R(e(D),{key:0,text:"",onClick:L[0]||(L[0]=N=>e(S).updateBindwxDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):z("",!0),$.value>0?(A(),B("div",kn,[s("span",Sn,n(e(t)("usercenter.clickToBindWeChat")),1),s("div",$n,[u(e(D),{text:"",onClick:H},{default:o(()=>[j(n(e(t)("usercenter.syncVisitorData")),1)]),_:1})])])):z("",!0)])]),m.value.expirationTime?(A(),B("div",Tn,[s("span",null,n(e(t)("usercenter.membershipExpiration")),1),s("span",null,n(m.value.expirationTime),1)])):z("",!0)]),_:1})),s("div",{class:pe(["flex flex-col",[e(F)?"w-full":"flex-1"]]),style:Ue({padding:e(F)?"10px":"0 28px 0 28px"})},[u(e(je),{title:e(t)("usercenter.personalCenter"),des:e(t)("usercenter.editInfoDescription"),padding:(e(F),1)},null,8,["title","des","padding"]),u(e(Ye),{type:"line",animated:"",class:"mt-5 flex-1"},{default:o(()=>[e(P)?(A(),R(e(Z),{key:0,name:"detail",tab:e(t)("usercenter.myDetails")},{default:o(()=>[u(_t)]),_:1},8,["tab"])):z("",!0),u(e(Z),{name:"account",tab:e(t)("usercenter.myWallet")},{default:o(()=>[u(ln)]),_:1},8,["tab"]),u(e(Z),{name:"baseInfo",tab:e(t)("usercenter.basicInfo")},{default:o(()=>[u(e(Y),null,{header:o(()=>[h.value||!x.value?(A(),R(e(ie),{key:0,size:"medium",width:"20%"})):(A(),B("div",Pn,n(e(t)("usercenter.userBasicSettings")),1))]),default:o(()=>[h.value||!x.value?(A(),R(e(ve),{key:0,vertical:""},{default:o(()=>[u(e(ie),{height:"40px",size:"medium"}),u(e(ie),{height:"40px",size:"medium"}),u(e(ie),{height:"80px",size:"medium"})]),_:1})):(A(),R(e(ee),{key:1,"x-gap":"12",cols:1},{default:o(()=>[u(e(V),null,{default:o(()=>[s("div",An,[s("span",Mn,n(E.$t("setting.avatarLink")),1),s("div",Nn,[u(e(te),{value:y.value,"onUpdate:value":L[1]||(L[1]=N=>y.value=N),placeholder:e(t)("usercenter.avatarPlaceholder")},null,8,["value","placeholder"])]),u(e(D),{size:"tiny",text:"",type:"primary",onClick:L[2]||(L[2]=N=>q({avatar:y.value}))},{default:o(()=>[j(n(E.$t("common.update")),1)]),_:1})]),s("div",En,[s("span",In,n(E.$t("setting.name")),1),s("div",Ln,[u(e(te),{value:a.value,"onUpdate:value":L[3]||(L[3]=N=>a.value=N),placeholder:e(t)("usercenter.usernamePlaceholder"),maxlength:"12","show-count":"",clearable:""},null,8,["value","placeholder"])]),u(e(D),{size:"tiny",text:"",type:"primary",onClick:L[4]||(L[4]=N=>q({username:a.value}))},{default:o(()=>[j(n(E.$t("common.update")),1)]),_:1})])]),_:1})]),_:1}))]),_:1})]),_:1},8,["tab"]),u(e(Z),{name:"password",tab:e(t)("usercenter.passwordManagement")},{default:o(()=>[u(Rt)]),_:1},8,["tab"]),u(e(Z),{name:"invite",tab:e(t)("usercenter.inviteBenefits")},{default:o(()=>[u(Tt)]),_:1},8,["tab"])]),_:1})],6)]),_:1}))}});export{Gn as default}; diff --git a/public/assets/index-648ab71e.js.br b/public/assets/index-648ab71e.js.br new file mode 100644 index 0000000..77e1c35 Binary files /dev/null and b/public/assets/index-648ab71e.js.br differ diff --git a/public/assets/index-671f050d.js b/public/assets/index-671f050d.js deleted file mode 100644 index 4ea26a2..0000000 --- a/public/assets/index-671f050d.js +++ /dev/null @@ -1,121 +0,0 @@ -import{a as He,d as U,a2 as Be,c as he,b as xt,a3 as We,g as Oe,u as $i,h as ii,a4 as Vi,j as Ki,r as P,t as Qi,l as Zi,k as L,a5 as Tt,a6 as de,a7 as At,n as Gi,a8 as ue,v as at,a9 as jt,aa as Ji,ab as tn,A as me,ac as ni,ad as en,E as R,U as F,ae as Pt,af as St,Q as b,R as x,O as Ht,P as Bt,ag as se,ah as si,ai as oi,aj as ai,W as ie,Z as j,ak as ri,H as li,al as ci,J as hi,a0 as m,F as E,G as d,am as k,S as v,X as c,an as nn,ao as W,_ as rt,ap as Rt,aq as xe,ar as sn,as as on,at as di,au as an,av as rn,aw as ln,ax as cn,K as hn,ay as dn,az as un,w as mn,m as fn,L as pn,aA as Xt,aB as gn,aC as Le,aD as vn,aE as Ue,N as bn,aF as wn}from"./index-2efe4620.js";import{L as ui}from"./Loading-05848be1.js";import{N as Ae}from"./Input-4816b01d.js";import{N as Fe}from"./InputNumber-8169024b.js";import{N as Ne}from"./Select-b45c26f7.js";import"./Add-1eab33c9.js";const yn=He("switch",` - height: var(--n-height); - min-width: var(--n-width); - vertical-align: middle; - user-select: none; - -webkit-user-select: none; - display: inline-flex; - outline: none; - justify-content: center; - align-items: center; -`,[U("children-placeholder",` - height: var(--n-rail-height); - display: flex; - flex-direction: column; - overflow: hidden; - pointer-events: none; - visibility: hidden; - `),U("rail-placeholder",` - display: flex; - flex-wrap: none; - `),U("button-placeholder",` - width: calc(1.75 * var(--n-rail-height)); - height: var(--n-rail-height); - `),He("base-loading",` - position: absolute; - top: 50%; - left: 50%; - transform: translateX(-50%) translateY(-50%); - font-size: calc(var(--n-button-width) - 4px); - color: var(--n-loading-color); - transition: color .3s var(--n-bezier); - `,[Be({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),U("checked, unchecked",` - transition: color .3s var(--n-bezier); - color: var(--n-text-color); - box-sizing: border-box; - position: absolute; - white-space: nowrap; - top: 0; - bottom: 0; - display: flex; - align-items: center; - line-height: 1; - `),U("checked",` - right: 0; - padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset)); - `),U("unchecked",` - left: 0; - justify-content: flex-end; - padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset)); - `),he("&:focus",[U("rail",` - box-shadow: var(--n-box-shadow-focus); - `)]),xt("round",[U("rail","border-radius: calc(var(--n-rail-height) / 2);",[U("button","border-radius: calc(var(--n-button-height) / 2);")])]),We("disabled",[We("icon",[xt("rubber-band",[xt("pressed",[U("rail",[U("button","max-width: var(--n-button-width-pressed);")])]),U("rail",[he("&:active",[U("button","max-width: var(--n-button-width-pressed);")])]),xt("active",[xt("pressed",[U("rail",[U("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),U("rail",[he("&:active",[U("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),xt("active",[U("rail",[U("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),U("rail",` - overflow: hidden; - height: var(--n-rail-height); - min-width: var(--n-rail-width); - border-radius: var(--n-rail-border-radius); - cursor: pointer; - position: relative; - transition: - opacity .3s var(--n-bezier), - background .3s var(--n-bezier), - box-shadow .3s var(--n-bezier); - background-color: var(--n-rail-color); - `,[U("button-icon",` - color: var(--n-icon-color); - transition: color .3s var(--n-bezier); - font-size: calc(var(--n-button-height) - 4px); - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - display: flex; - justify-content: center; - align-items: center; - line-height: 1; - `,[Be()]),U("button",` - align-items: center; - top: var(--n-offset); - left: var(--n-offset); - height: var(--n-button-height); - width: var(--n-button-width-pressed); - max-width: var(--n-button-width); - border-radius: var(--n-button-border-radius); - background-color: var(--n-button-color); - box-shadow: var(--n-button-box-shadow); - box-sizing: border-box; - cursor: inherit; - content: ""; - position: absolute; - transition: - background-color .3s var(--n-bezier), - left .3s var(--n-bezier), - opacity .3s var(--n-bezier), - max-width .3s var(--n-bezier), - box-shadow .3s var(--n-bezier); - `)]),xt("active",[U("rail","background-color: var(--n-rail-color-active);")]),xt("loading",[U("rail",` - cursor: wait; - `)]),xt("disabled",[U("rail",` - cursor: not-allowed; - opacity: .5; - `)])]),xn=Object.assign(Object.assign({},ii.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let $t;const An=Oe({name:"Switch",props:xn,setup(t){$t===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?$t=CSS.supports("width","max(1px)"):$t=!1:$t=!0);const{mergedClsPrefixRef:e,inlineThemeDisabled:i}=$i(t),s=ii("Switch","-switch",yn,Vi,t,e),o=Ki(t),{mergedSizeRef:n,mergedDisabledRef:r}=o,l=P(t.defaultValue),a=Qi(t,"value"),h=Zi(a,l),f=L(()=>h.value===t.checkedValue),u=P(!1),p=P(!1),y=L(()=>{const{railStyle:H}=t;if(H)return H({focused:p.value,checked:f.value})});function M(H){const{"onUpdate:value":ct,onChange:st,onUpdateValue:X}=t,{nTriggerFormInput:ht,nTriggerFormChange:tt}=o;ct&&me(ct,H),X&&me(X,H),st&&me(st,H),l.value=H,ht(),tt()}function O(){const{nTriggerFormFocus:H}=o;H()}function N(){const{nTriggerFormBlur:H}=o;H()}function $(){t.loading||r.value||(h.value!==t.checkedValue?M(t.checkedValue):M(t.uncheckedValue))}function ft(){p.value=!0,O()}function dt(){p.value=!1,N(),u.value=!1}function it(H){t.loading||r.value||H.key===" "&&(h.value!==t.checkedValue?M(t.checkedValue):M(t.uncheckedValue),u.value=!1)}function Ct(H){t.loading||r.value||H.key===" "&&(H.preventDefault(),u.value=!0)}const nt=L(()=>{const{value:H}=n,{self:{opacityDisabled:ct,railColor:st,railColorActive:X,buttonBoxShadow:ht,buttonColor:tt,boxShadowFocus:ot,loadingColor:Mt,textColor:g,iconColor:w,[Tt("buttonHeight",H)]:A,[Tt("buttonWidth",H)]:q,[Tt("buttonWidthPressed",H)]:Z,[Tt("railHeight",H)]:B,[Tt("railWidth",H)]:T,[Tt("railBorderRadius",H)]:Y,[Tt("buttonBorderRadius",H)]:gt},common:{cubicBezierEaseInOut:yt}}=s.value;let Et,Ft,Nt;return $t?(Et=`calc((${B} - ${A}) / 2)`,Ft=`max(${B}, ${A})`,Nt=`max(${T}, calc(${T} + ${A} - ${B}))`):(Et=de((At(B)-At(A))/2),Ft=de(Math.max(At(B),At(A))),Nt=At(B)>At(A)?T:de(At(T)+At(A)-At(B))),{"--n-bezier":yt,"--n-button-border-radius":gt,"--n-button-box-shadow":ht,"--n-button-color":tt,"--n-button-width":q,"--n-button-width-pressed":Z,"--n-button-height":A,"--n-height":Ft,"--n-offset":Et,"--n-opacity-disabled":ct,"--n-rail-border-radius":Y,"--n-rail-color":st,"--n-rail-color-active":X,"--n-rail-height":B,"--n-rail-width":T,"--n-width":Nt,"--n-box-shadow-focus":ot,"--n-loading-color":Mt,"--n-text-color":g,"--n-icon-color":w}}),K=i?Gi("switch",L(()=>n.value[0]),nt,t):void 0;return{handleClick:$,handleBlur:dt,handleFocus:ft,handleKeyup:it,handleKeydown:Ct,mergedRailStyle:y,pressed:u,mergedClsPrefix:e,mergedValue:h,checked:f,mergedDisabled:r,cssVars:i?void 0:nt,themeClass:K==null?void 0:K.themeClass,onRender:K==null?void 0:K.onRender}},render(){const{mergedClsPrefix:t,mergedDisabled:e,checked:i,mergedRailStyle:s,onRender:o,$slots:n}=this;o==null||o();const{checked:r,unchecked:l,icon:a,"checked-icon":h,"unchecked-icon":f}=n,u=!(ue(a)&&ue(h)&&ue(f));return at("div",{role:"switch","aria-checked":i,class:[`${t}-switch`,this.themeClass,u&&`${t}-switch--icon`,i&&`${t}-switch--active`,e&&`${t}-switch--disabled`,this.round&&`${t}-switch--round`,this.loading&&`${t}-switch--loading`,this.pressed&&`${t}-switch--pressed`,this.rubberBand&&`${t}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},at("div",{class:`${t}-switch__rail`,"aria-hidden":"true",style:s},jt(r,p=>jt(l,y=>p||y?at("div",{"aria-hidden":!0,class:`${t}-switch__children-placeholder`},at("div",{class:`${t}-switch__rail-placeholder`},at("div",{class:`${t}-switch__button-placeholder`}),p),at("div",{class:`${t}-switch__rail-placeholder`},at("div",{class:`${t}-switch__button-placeholder`}),y)):null)),at("div",{class:`${t}-switch__button`},jt(a,p=>jt(h,y=>jt(f,M=>at(Ji,null,{default:()=>this.loading?at(tn,{key:"loading",clsPrefix:t,strokeWidth:20}):this.checked&&(y||p)?at("div",{class:`${t}-switch__button-icon`,key:y?"checked-icon":"icon"},y||p):!this.checked&&(M||p)?at("div",{class:`${t}-switch__button-icon`,key:M?"unchecked-icon":"icon"},M||p):null})))),jt(r,p=>p&&at("div",{key:"checked",class:`${t}-switch__checked`},p)),jt(l,p=>p&&at("div",{key:"unchecked",class:`${t}-switch__unchecked`},p)))))}});function qe(t){return ni({url:"/fanyi/translate",data:t})}function zn(){return ni({url:"/models/mjInfo"})}function Ot(t){return en({url:"/queue/addMjDrawQueue",data:t})}const Rn="/assets/mj-8c02cbcc.png",In="/assets/niji-55cc65e6.png",Sn="/assets/market-f1234219.png",Cn="/assets/fail-7089de31.png",fe="/assets/draw-bccd19c4.svg",Ye="/assets/zoom-426d4db7.svg";function Xe(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),i.push.apply(i,s)}return i}function D(t){for(var e=1;e=0||(f[a]=r[a]);return f}(t,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(o[i]=t[i])}return o}function Dt(t){return function(e){if(Array.isArray(e))return pe(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,i){if(e){if(typeof e=="string")return pe(e,i);var s=Object.prototype.toString.call(e).slice(8,-1);if(s==="Object"&&e.constructor&&(s=e.constructor.name),s==="Map"||s==="Set")return Array.from(e);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return pe(e,i)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function pe(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i=0?s=setTimeout(a,e-f):(s=null,i||(l=t.apply(n,o),n=o=null))}e==null&&(e=100);var h=function(){n=this,o=arguments,r=Date.now();var f=i&&!s;return s||(s=setTimeout(a,e)),f&&(l=t.apply(n,o),n=o=null),l};return h.clear=function(){s&&(clearTimeout(s),s=null)},h.flush=function(){s&&(l=t.apply(n,o),n=o=null,clearTimeout(s),s=null)},h}ze.debounce=ze;var Re=ze,C=function(){return C=Object.assign||function(t){for(var e,i=1,s=arguments.length;i0?i.left=s.left:s.right&&s.right>0&&(i.left=-s.right),s.top&&s.top>0?i.top=s.top:s.bottom&&s.bottom>0&&(i.top=-s.bottom),i}function ve(t,e){var i;return e.minimum&&te.maximum&&(i=e.maximum),i}function wi(t,e){var i=_(t),s=_(e);return e.width<1/0&&e.height<1/0?i>s?{width:e.width,height:e.width/i}:{width:e.height*i,height:e.height}:e.width<1/0?{width:e.width,height:e.width/i}:e.height<1/0?{width:e.height*i,height:e.height}:t}function yi(t,e){var i=e*Math.PI/180;return{width:Math.abs(t.width*Math.cos(i))+Math.abs(t.height*Math.sin(i)),height:Math.abs(t.width*Math.sin(i))+Math.abs(t.height*Math.cos(i))}}function kt(t,e){var i=e*Math.PI/180;return{left:t.left*Math.cos(i)-t.top*Math.sin(i),top:t.left*Math.sin(i)+t.top*Math.cos(i)}}function ae(t,e){var i=Kt(J(t,e),e);return i.left+i.right+i.top+i.bottom?i.left+i.right>i.top+i.bottom?Math.min((t.width+i.left+i.right)/t.width,Lt(t,e)):Math.min((t.height+i.top+i.bottom)/t.height,Lt(t,e)):1}function J(t,e,i){i===void 0&&(i=!1);var s=Ut(t,e);return lt(t,i?oe(s):s)}function Se(t){return{width:t.right!==void 0&&t.left!==void 0?t.right-t.left:1/0,height:t.bottom!==void 0&&t.top!==void 0?t.bottom-t.top:1/0}}function Hn(t,e){return C(C({},t),{minWidth:Math.min(e.width,t.minWidth),minHeight:Math.min(e.height,t.minHeight),maxWidth:Math.min(e.width,t.maxWidth),maxHeight:Math.min(e.height,t.maxHeight)})}function xi(t,e,i){i===void 0&&(i=!0);var s={};return bt.forEach(function(o){var n=t[o],r=e[o];n!==void 0&&r!==void 0?s[o]=o==="left"||o==="top"?i?Math.max(n,r):Math.min(n,r):i?Math.min(n,r):Math.max(n,r):r!==void 0?s[o]=r:n!==void 0&&(s[o]=n)}),s}function re(t,e){return xi(t,e,!0)}function Ge(t){var e=t.size,i=t.aspectRatio,s=t.ignoreMinimum,o=t.sizeRestrictions;return!!((e.correctRatio||_(e)>=i.minimum&&_(e)<=i.maximum)&&e.height<=o.maxHeight&&e.width<=o.maxWidth&&e.width&&e.height&&(s||e.height>=o.minHeight&&e.width>=o.minWidth))}function Je(t,e){return Math.pow(t.width-e.width,2)+Math.pow(t.height-e.height,2)}function It(t){var e=t.width,i=t.height,s=t.sizeRestrictions,o={minimum:t.aspectRatio&&t.aspectRatio.minimum||0,maximum:t.aspectRatio&&t.aspectRatio.maximum||1/0},n={width:Math.max(s.minWidth,Math.min(s.maxWidth,e)),height:Math.max(s.minHeight,Math.min(s.maxHeight,i))};function r(h,f){return f===void 0&&(f=!1),h.reduce(function(u,p){return Ge({size:p,aspectRatio:o,sizeRestrictions:s,ignoreMinimum:f})&&(!u||Je(p,{width:e,height:i})1-f)||(u=C(C({},u),It({sizeRestrictions:r,width:u.width,height:u.height,aspectRatio:{minimum:_(y),maximum:_(y)}})));var M=ae(p=mt(p,u.width*i.width/(p.width*y.width)),e({visibleArea:p,type:"resize"}));return M!==1&&(p=mt(p,M),u=mt(u,M)),p=J(p=lt(p,Wt(G(u),G(p))),e({visibleArea:p,type:"move"})),{coordinates:u=J(u,re(wt(p),l)),visibleArea:p}}function Ln(t){var e=t.event,i=t.getAreaRestrictions,s=t.boundaries,o=t.coordinates,n=t.visibleArea;t.aspectRatio,t.stencilSize,t.sizeRestrictions;var r=t.positionRestrictions;t.stencilReference;var l=C({},o),a=C({},n);if(o&&n&&e.type!=="manipulateImage"){var h={width:0,height:0};a.width,s.width,_(s)>_(l)?(h.height=.8*s.height,h.width=h.height*_(l)):(h.width=.8*s.width,h.height=h.width*_(l));var f=ae(a=mt(a,l.width*s.width/(a.width*h.width)),i({visibleArea:a,type:"resize"}));a=mt(a,f),f!==1&&(h.height/=f,h.width/=f),a=J(a=lt(a,Wt(G(l),G(a))),i({visibleArea:a,type:"move"})),l=J(l,re(wt(a),r))}return{coordinates:l,visibleArea:a}}function Un(t){var e=t.event,i=t.coordinates,s=t.visibleArea,o=t.getAreaRestrictions,n=C({},s),r=C({},i);if(e.type==="setCoordinates"){var l=Math.max(0,r.width-n.width),a=Math.max(0,r.height-n.height);l>a?n=mt(n,Math.min(r.width/n.width,Lt(n,o({visibleArea:n,type:"resize"})))):a>l&&(n=mt(n,Math.min(r.height/n.height,Lt(n,o({visibleArea:n,type:"resize"}))))),n=J(n=lt(n,oe(Ut(r,wt(n)))),o({visibleArea:n,type:"move"}))}return{visibleArea:n,coordinates:r}}function Fn(t){var e=t.imageSize,i=t.visibleArea,s=t.coordinates,o=i||e;return{left:(i?i.left:0)+o.width/2-s.width/2,top:(i?i.top:0)+o.height/2-s.height/2}}function Nn(t){var e=t.imageSize,i=t.visibleArea,s=t.aspectRatio,o=t.sizeRestrictions,n=i||e,r=Math.min(s.maximum||1/0,Math.max(s.minimum||0,_(n))),l=n.width_(n)?i=(e=a.height*h.height/n.height)*_(a):e=(i=a.width*h.width/n.width)/_(a),It({width:i,height:e,aspectRatio:r,sizeRestrictions:l})}function Yn(t){var e=t.getAreaRestrictions,i=t.coordinates,s=t.imageSize,o=_(t.boundaries);if(i){var n={height:Math.max(i.height,s.height),width:Math.max(i.width,s.width)},r=wi({width:_(n)>o?n.width:n.height*o,height:_(n)>o?n.width/o:n.height},Se(e())),l={left:i.left+i.width/2-r.width/2,top:i.top+i.height/2-r.height/2,width:r.width,height:r.height},a=Kt(i,wt(C({left:0,top:0},s))),h={};return!a.left&&!a.right&&l.width<=s.width&&(h.left=0,h.right=s.width),!a.top&&!a.bottom&&l.height<=s.height&&(h.top=0,h.bottom=s.height),J(l,h)}var f=_(s);return r={height:f>o?s.height:s.width/o,width:f>o?s.height*o:s.width},{left:s.width/2-r.width/2,top:s.height/2-r.height/2,width:r.width,height:r.height}}function Jt(t,e){return xi(t,wt(e))}function Xn(t){var e=t.event,i=t.coordinates,s=t.visibleArea,o=t.sizeRestrictions,n=t.getAreaRestrictions,r=t.positionRestrictions,l=t.adjustStencil,a=e.scale,h=e.move,f=C({},s),u=C({},i),p=1,y=1,M=a.factor&&Math.abs(a.factor-1)>.001;f=lt(f,{left:h.left||0,top:h.top||0});var O={stencil:{minimum:Math.max(o.minWidth?o.minWidth/u.width:0,o.minHeight?o.minHeight/u.height:0),maximum:Math.min(o.maxWidth?o.maxWidth/u.width:1/0,o.maxHeight?o.maxHeight/u.height:1/0,Lt(u,r))},area:{maximum:Lt(f,n({visibleArea:f,type:"resize"}))}};a.factor&&M&&(a.factor<1?(y=Math.max(a.factor,O.stencil.minimum))>1&&(y=1):a.factor>1&&(y=Math.min(a.factor,Math.min(O.area.maximum,O.stencil.maximum)))<1&&(y=1)),y&&(f=mt(f,y,a.center));var N=i.left-s.left,$=s.width+s.left-(i.width+i.left),ft=i.top-s.top,dt=s.height+s.top-(i.height+i.top);return f=J(f=lt(f,Ut(f,{left:r.left!==void 0?r.left-N*y:void 0,top:r.top!==void 0?r.top-ft*y:void 0,bottom:r.bottom!==void 0?r.bottom+dt*y:void 0,right:r.right!==void 0?r.right+$*y:void 0})),n({visibleArea:f,type:"move"})),u.width=u.width*y,u.height=u.height*y,u.left=f.left+N*y,u.top=f.top+ft*y,u=J(u,re(wt(f),r)),a.factor&&M&&l&&(a.factor>1?p=Math.min(O.area.maximum,a.factor)/y:a.factor<1&&(p=Math.max(u.height/f.height,u.width/f.width,a.factor/y)),p!==1&&(f=lt(f=J(f=mt(f,p,a.factor>1?a.center:G(u)),n({visibleArea:f,type:"move"})),oe(Ut(u,wt(f)))))),{coordinates:u,visibleArea:f}}function $n(t){var e=t.aspectRatio,i=t.getAreaRestrictions,s=t.coordinates,o=t.visibleArea,n=t.sizeRestrictions,r=t.positionRestrictions,l=t.imageSize,a=t.previousImageSize,h=t.angle,f=C({},s),u=C({},o),p=kt(G(C({left:0,top:0},a)),h);return(f=C(C({},It({sizeRestrictions:n,aspectRatio:e,width:f.width,height:f.height})),kt(G(f),h))).left-=p.left-l.width/2+f.width/2,f.top-=p.top-l.height/2+f.height/2,u=mt(u,ae(u,i({visibleArea:u,type:"resize"}))),{coordinates:f=J(f,r),visibleArea:u=J(u=lt(u,Wt(G(f),G(s))),i({visibleArea:u,type:"move"}))}}function Vn(t){var e=t.flip,i=t.previousFlip,s=t.rotate;t.aspectRatio;var o=t.getAreaRestrictions,n=t.coordinates,r=t.visibleArea,l=t.imageSize,a=C({},n),h=C({},r),f=i.horizontal!==e.horizontal,u=i.vertical!==e.vertical;if(f||u){var p=kt({left:l.width/2,top:l.height/2},-s),y=kt(G(a),-s),M=kt({left:f?p.left-(y.left-p.left):y.left,top:u?p.top-(y.top-p.top):y.top},s);a=lt(a,Wt(M,G(a))),y=kt(G(h),-s),h=J(h=lt(h,Wt(M=kt({left:f?p.left-(y.left-p.left):y.left,top:u?p.top-(y.top-p.top):y.top},s),G(h))),o({visibleArea:h,type:"move"}))}return{coordinates:a,visibleArea:h}}function ti(t){var e=t.directions,i=t.coordinates,s=t.positionRestrictions,o=s===void 0?{}:s,n=t.sizeRestrictions,r=t.preserveRatio,l=t.compensate,a=C({},e),h=vt(i,a).width,f=vt(i,a).height;h<0&&(a.left<0&&a.right<0?(a.left=-(i.width-n.minWidth)/(a.left/a.right),a.right=-(i.width-n.minWidth)/(a.right/a.left)):a.left<0?a.left=-(i.width-n.minWidth):a.right<0&&(a.right=-(i.width-n.minWidth))),f<0&&(a.top<0&&a.bottom<0?(a.top=-(i.height-n.minHeight)/(a.top/a.bottom),a.bottom=-(i.height-n.minHeight)/(a.bottom/a.top)):a.top<0?a.top=-(i.height-n.minHeight):a.bottom<0&&(a.bottom=-(i.height-n.minHeight)));var u=Kt(vt(i,a),o);l&&(u.left&&u.left>0&&u.right===0?(a.right+=u.left,a.left-=u.left):u.right&&u.right>0&&u.left===0&&(a.left+=u.right,a.right-=u.right),u.top&&u.top>0&&u.bottom===0?(a.bottom+=u.top,a.top-=u.top):u.bottom&&u.bottom>0&&u.top===0&&(a.top+=u.bottom,a.bottom-=u.bottom),u=Kt(vt(i,a),o));var p={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(bt.forEach(function(O){var N=u[O];N&&a[O]&&(p[O]=Math.max(0,1-N/a[O]))}),r){var y=Math.min.apply(null,bt.map(function(O){return p[O]}));y!==1/0&&bt.forEach(function(O){a[O]*=y})}else bt.forEach(function(O){p[O]!==1/0&&(a[O]*=p[O])});if(h=vt(i,a).width,f=vt(i,a).height,a.right+a.left&&(h>n.maxWidth?p.width=(n.maxWidth-i.width)/(a.right+a.left):hn.maxHeight?p.height=(n.maxHeight-i.height)/(a.bottom+a.top):f=1&&(this.touchStarted?(this.processMove(t,t.touches),t.preventDefault(),t.stopPropagation()):gi({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:t.touches[0].clientX,y:t.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(t){if(this.movable&&t.button===0){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.cancelable&&t.preventDefault(),t.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.container.getBoundingClientRect(),i=e.left,s=e.top;this.anchor={x:t.clientX-i,y:t.clientY-s}},processMove:function(t,e){var i=Dt(e);if(this.touches.length){var s=this.$refs.container.getBoundingClientRect(),o=s.left,n=s.top;this.touches.length===1&&i.length===1&&this.$emit("move",new ke({left:i[0].clientX-(o+this.anchor.x),top:i[0].clientY-(n+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};zi.render=function(t,e,i,s,o,n){return R(),F("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)})},[Pt(t.$slots,"default")],544)};function we(t){var e,i;return{rotate:t.rotate||0,flip:{horizontal:((e=t==null?void 0:t.flip)===null||e===void 0?void 0:e.horizontal)||!1,vertical:((i=t==null?void 0:t.flip)===null||i===void 0?void 0:i.vertical)||!1}}}function is(t){return new Promise(function(e,i){try{if(t)if(/^data:/i.test(t))e(function(a){a=a.replace(/^data:([^;]+);base64,/gim,"");for(var h=atob(a),f=h.length,u=new ArrayBuffer(f),p=new Uint8Array(u),y=0;y=8&&(r=s+f)}}if(r){for(var u=i.getUint16(r,o),p=0;p1&&this.touchResize){var i=ei(e,this.$refs.container),s=this.oldGeometricProperties;s.count===i.count&&s.count>1&&this.$emit("resize",new Vt({left:s.centerMass.left-i.centerMass.left,top:s.centerMass.top-i.centerMass.top},{factor:s.spread/i.spread,center:i.centerMass})),this.oldGeometricProperties=i}this.touches=e}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(t){return this.eventsFilter?this.eventsFilter(t,this.transforming)!==!1:(t.preventDefault(),t.stopPropagation(),!0)},onTouchStart:function(t){if(t.cancelable&&(this.touchMove||this.touchResize&&t.touches.length>1)&&this.processEvent(t)){var e=this.$refs.container,i=e.getBoundingClientRect(),s=i.left,o=i.top,n=i.bottom,r=i.right;this.touches=Dt(t.touches).filter(function(l){return l.clientX>s&&l.clientXo&&l.clientY0?1:-1),n={left:t.clientX-i,top:t.clientY-s};this.$emit("resize",new Vt({},{factor:o,center:n})),this.touches.length||this.debouncedProcessEnd()}var r,l}},emits:["resize","move","transform-end"]};Ii.render=function(t,e,i,s,o,n){return R(),F("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)}),onWheel:e[3]||(e[3]=function(){return n.onWheel&&n.onWheel.apply(n,arguments)})},[Pt(t.$slots,"default")],544)};var Me={components:{TransformableImage:Ii},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"]};Me.render=function(t,e,i,s,o,n){var r=St("transformable-image");return R(),F(r,{"touch-move":i.touchMove,"touch-resize":i.touchResize,"mouse-move":i.mouseMove,"wheel-resize":i.wheelResize,onMove:e[1]||(e[1]=function(l){return t.$emit("move",l)}),onResize:e[2]||(e[2]=function(l){return t.$emit("resize",l)})},{default:x(function(){return[Pt(t.$slots,"default")]}),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])};var ee=pt("vue-preview"),Si={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:ee({fill:this.fill}),wrapper:ee("wrapper"),imageWrapper:ee("image-wrapper"),image:V(ee("image"),this.imageClass)}},style:function(){if(this.fill)return{};var t={};return this.width&&(t.width="".concat(this.size.width,"px")),this.height&&(t.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},wrapperStyle:function(){var t={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},imageStyle:function(){if(this.coordinates&&this.image){var t=this.coordinates.width/this.size.width,e=D(D({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/t,scaleY:1/t}),i=this.imageSize.width,s=this.imageSize.height,o=yi({width:i,height:s},e.rotate),n={width:"".concat(i,"px"),height:"".concat(s,"px"),left:"0px",top:"0px"},r={rotate:{left:(i-o.width)*e.scaleX/2,top:(s-o.height)*e.scaleY/2},scale:{left:(1-e.scaleX)*i/2,top:(1-e.scaleY)*s/2}};return n.transform=`translate( - `.concat(-this.coordinates.left/t-r.rotate.left-r.scale.left,"px,").concat(-this.coordinates.top/t-r.rotate.top-r.scale.top,"px) ")+Ri(e),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(t){(t.width||t.height)&&this.onChangeImage()}},mounted:function(){var t=this;this.onChangeImage(),this.$refs.image.addEventListener("load",function(){t.refreshImage()}),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var t=this.$refs.image;this.calculatedImageSize.height=t.naturalHeight,this.calculatedImageSize.width=t.naturalWidth},refresh:function(){var t=this.$refs.root;this.width||(this.calculatedSize.width=t.clientWidth),this.height||(this.calculatedSize.height=t.clientHeight)},onChangeImage:function(){var t=this.$refs.image;t&&t.complete&&this.refreshImage(),this.refresh()}}};Si.render=function(t,e,i,s,o,n){return R(),F("div",{ref:"root",class:n.classes.root,style:n.style},[b("div",{ref:"wrapper",class:n.classes.wrapper,style:n.wrapperStyle},[si(b("img",{ref:"image",src:i.image&&i.image.src,class:n.classes.image,style:n.imageStyle},null,14,["src"]),[[oi,i.image&&i.image.src]])],6)],6)};var Ci={components:{Preview:Si},inheritAttrs:!1};Ci.render=function(t,e,i,s,o,n){var r=St("preview");return R(),F(r,ai(t.$attrs,{fill:!0}),null,16)};var ye=pt("vue-rectangle-stencil"),Mi={name:"RectangleStencil",components:{StencilPreview:Ci,BoundingBox:Ai,DraggableArea:zi},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return Te}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return je}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:V(ye({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:V(ye("preview"),this.previewClass),boundingBox:V(ye("bounding-box"),this.boundingBoxClass)}},style:function(){var t=this.stencilCoordinates,e=t.height,i=t.width,s=t.left,o=t.top,n={width:"".concat(i,"px"),height:"".concat(e,"px"),transform:"translate(".concat(s,"px, ").concat(o,"px)")};return this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}},methods:{onMove:function(t){this.$emit("move",t),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(t){this.$emit("resize",t),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"]};Mi.render=function(t,e,i,s,o,n){var r=St("stencil-preview"),l=St("draggable-area"),a=St("bounding-box");return R(),F("div",{class:n.classes.stencil,style:n.style},[b(a,{width:i.stencilCoordinates.width,height:i.stencilCoordinates.height,transitions:i.transitions,class:n.classes.boundingBox,handlers:i.handlers,"handlers-component":i.handlersComponent,"handlers-classes":i.handlersClasses,"handlers-wrappers-classes":i.handlersWrappersClasses,lines:i.lines,"lines-component":i.linesComponent,"lines-classes":i.linesClasses,"lines-wrappers-classes":i.linesWrappersClasses,resizable:i.resizable,onResize:n.onResize,onResizeEnd:n.onResizeEnd},{default:x(function(){return[b(l,{movable:i.movable,onMove:n.onMove,onMoveEnd:n.onMoveEnd},{default:x(function(){return[b(r,{image:i.image,coordinates:i.coordinates,width:i.stencilCoordinates.width,height:i.stencilCoordinates.height,class:n.classes.preview,transitions:i.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var ss=["transitions"],zt=pt("vue-advanced-cropper"),Oi={name:"Cropper",components:{BackgroundWrapper:Me},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return Mi}},backgroundWrapperComponent:{type:[Object,String],default:function(){return Me}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(t){return _n.indexOf(t)!==-1}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(t){return!(typeof t=="string"&&t!=="fill"&&t!=="fit")}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(t){var e=t.event,i=t.coordinates,s=t.aspectRatio,o=t.positionRestrictions,n=t.sizeRestrictions,r=C(C({},i),{right:i.left+i.width,bottom:i.top+i.height}),l=e.params||{},a=C({},e.directions),h=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};n.widthFrozen&&(a.left=0,a.right=0),n.heightFrozen&&(a.top=0,a.bottom=0),bt.forEach(function(it){h[it]||(a[it]=0)});var f=vt(r,a=ti({coordinates:r,directions:a,sizeRestrictions:n,positionRestrictions:o})).width,u=vt(r,a).height,p=l.preserveRatio?_(r):ve(f/u,s);if(p){var y=l.respectDirection;if(y||(y=r.width>=r.height||p===1?"width":"height"),y==="width"){var M=f/p-r.height;if(h.top&&h.bottom){var O=a.top,N=a.bottom;a.bottom=te(M,N,O),a.top=te(M,O,N)}else h.bottom?a.bottom=M:h.top?a.top=M:h.right?a.right=0:h.left&&(a.left=0)}else if(y==="height"){var $=r.width-u*p;if(h.left&&h.right){var ft=a.left,dt=a.right;a.left=-te($,ft,dt),a.right=-te($,dt,ft)}else h.left?a.left=-$:h.right?a.right=-$:h.top?a.top=0:h.bottom&&(a.bottom=0)}a=ti({directions:a,coordinates:r,sizeRestrictions:n,positionRestrictions:o,preserveRatio:!0,compensate:l.compensate})}return f=vt(r,a).width,u=vt(r,a).height,(p=l.preserveRatio?_(r):ve(f/u,s))&&Math.abs(p-f/u)>.001&&bt.forEach(function(it){h[it]||(a[it]=0)}),Ce({event:new ke({left:-a.left,top:-a.top}),coordinates:{width:i.width+a.right+a.left,height:i.height+a.top+a.bottom,left:i.left,top:i.top},positionRestrictions:o})}},moveAlgorithm:{type:Function,default:Ce},initStretcher:{type:Function,default:function(t){var e=t.stretcher,i=t.imageSize,s=_(i);e.style.width=i.width+"px",e.style.height=e.clientWidth/s+"px",e.style.width=e.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(t){var e=t.visibleArea,i=t.coordinates,s=t.aspectRatio,o=t.sizeRestrictions,n=t.positionRestrictions,r=C(C({},i),It({width:i.width,height:i.height,aspectRatio:s,sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minHeight:Math.min(e.height,o.minHeight),minWidth:Math.min(e.width,o.minWidth)}}));return r=J(r=lt(r,Wt(G(i),G(r))),re(wt(e),n))}},fitVisibleArea:{type:Function,default:function(t){var e=t.visibleArea,i=t.boundaries,s=t.getAreaRestrictions,o=t.coordinates,n=C({},e);n.height=n.width/_(i),n.top+=(e.height-n.height)/2,(o.height-n.height>0||o.width-n.width>0)&&(n=mt(n,Math.max(o.height/n.height,o.width/n.width)));var r=oe(Ut(o,wt(n=mt(n,ae(n,s({visibleArea:n,type:"resize"}))))));return n.width_(s)?(r={top:0,bottom:s.height},e&&n==="move"&&(e.width>s.width?(r.left=-(e.width-s.width)/2,r.right=s.width-r.left):(r.left=0,r.right=s.width))):(r={left:0,right:s.width},e&&n==="move"&&(e.height>s.height?(r.top=-(e.height-s.height)/2,r.bottom=s.height-r.top):(r.top=0,r.bottom=s.height)))),r}},sizeRestrictionsAlgorithm:{type:Function,default:function(t){return{minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.imageSize,i={};return t.imageRestriction!=="none"&&(i={left:0,top:0,right:e.width,bottom:e.height}),i}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:D({},Qe)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var t=function(e){return e*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(t))+Math.abs(this.imageAttributes.height*Math.sin(t)),height:Math.abs(this.imageAttributes.width*Math.sin(t))+Math.abs(this.imageAttributes.height*Math.cos(t))}},initialized:function(){return!!(this.visibleArea&&this.imageLoaded)},settings:function(){var t=Ie(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:Ie(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:t}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var t=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:Q(this.minWidth)?0:Gt(this.minWidth),minHeight:Q(this.minHeight)?0:Gt(this.minHeight),maxWidth:Q(this.maxWidth)?1/0:Gt(this.maxWidth),maxHeight:Q(this.maxHeight)?1/0:Gt(this.maxHeight)});if(t=function(s){var o=s.areaRestrictions,n=s.sizeRestrictions;s.imageSize;var r=s.boundaries,l=s.positionRestrictions;s.imageRestriction;var a=C(C({},n),{minWidth:n.minWidth!==void 0?n.minWidth:0,minHeight:n.minHeight!==void 0?n.minHeight:0,maxWidth:n.maxWidth!==void 0?n.maxWidth:1/0,maxHeight:n.maxHeight!==void 0?n.maxHeight:1/0});l.left!==void 0&&l.right!==void 0&&(a.maxWidth=Math.min(a.maxWidth,l.right-l.left)),l.bottom!==void 0&&l.top!==void 0&&(a.maxHeight=Math.min(a.maxHeight,l.bottom-l.top));var h=Se(o),f=wi(r,h);return h.width<1/0&&(!a.maxWidth||a.maxWidth>f.width)&&(a.maxWidth=Math.min(a.maxWidth,f.width)),h.height<1/0&&(!a.maxHeight||a.maxHeight>f.height)&&(a.maxHeight=Math.min(a.maxHeight,f.height)),a.minWidth>a.maxWidth&&(a.minWidth=a.maxWidth,a.widthFrozen=!0),a.minHeight>a.maxHeight&&(a.minHeight=a.maxHeight,a.heightFrozen=!0),a}({sizeRestrictions:t,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var e=this.getStencilSize(),i=Se(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));t.maxWidth=Math.min(t.maxWidth,i.width*e.width/this.boundaries.width),t.maxHeight=Math.min(t.maxHeight,i.height*e.height/this.boundaries.height),t.maxWidththis.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},e={left:(t.width-this.imageSize.width)/(2*this.coefficient),top:(t.height-this.imageSize.height)/(2*this.coefficient)},i={left:(1-1/this.coefficient)*t.width/2,top:(1-1/this.coefficient)*t.height/2},s=D(D({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/t.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/t.height)}),o={width:"".concat(t.width,"px"),height:"".concat(t.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-e.left-i.left-this.imageTransforms.translateX,"px, ").concat(-e.top-i.top-this.imageTransforms.translateY,"px)")+Ri(s)};return this.transitionsOptions.enabled&&(o.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),o}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var t=this;this.$nextTick(function(){t.resetCoordinates(),t.runAutoZoom("setCoordinates"),t.onChange()})},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(t,e){["aspectRatio","minAspectRatio","maxAspectRatio"].find(function(i){return t[i]!==e[i]})&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=Re(this.update,this.debounce),this.debouncedDisableTransitions=Re(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var t=this.initialized?this.prepareResult(D({},this.coordinates)):this.defaultCoordinates(),e={rotate:this.imageTransforms.rotate%360,flip:D({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var i=this;return{image:this.image,coordinates:t,visibleArea:this.visibleArea?D({},this.visibleArea):null,imageTransforms:e,get canvas(){return i.canvas?i.getCanvas():void 0}}}return{image:this.image,coordinates:t,visibleArea:this.visibleArea?D({},this.visibleArea):null,canvas:void 0,imageTransforms:e}},zoom:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;this.onManipulateImage(new Vt({},{factor:1/t,center:e}),{normalize:!1,transitions:o})},move:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;this.onManipulateImage(new Vt({left:t||0,top:e||0}),{normalize:!1,transitions:o})},setCoordinates:function(t){var e=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=i.autoZoom,o=s===void 0||s,n=i.transitions,r=n===void 0||n;this.$nextTick(function(){e.imageLoaded?(e.transitionsActive||(r&&e.enableTransitions(),e.coordinates=e.applyTransform(t),o&&e.runAutoZoom("setCoordinates"),r&&e.debouncedDisableTransitions()),e.onChange()):e.delayedTransforms=t})},refresh:function(){var t=this,e=this.$refs.image;if(this.src&&e)return this.initialized?this.updateVisibleArea().then(function(){t.onChange()}):this.resetVisibleArea().then(function(){t.onChange()})},reset:function(){var t=this;return this.resetVisibleArea().then(function(){t.onChange(!1)})},awaitRender:function(t){var e=this;this.awaiting||(this.awaiting=!0,this.$nextTick(function(){t(),e.awaiting=!1}))},prepareResult:function(t){return this.roundResult?function(e){var i=e.coordinates,s=e.sizeRestrictions,o=e.positionRestrictions,n={width:Math.round(i.width),height:Math.round(i.height),left:Math.round(i.left),top:Math.round(i.top)};return n.width>s.maxWidth?n.width=Math.floor(i.width):n.widths.maxHeight?n.height=Math.floor(i.height):n.height1&&arguments[1]!==void 0?arguments[1]:{},i=e.transitions,s=i!==void 0&&i,o=Mn(e,ss),n=this.processAutoZoom(t,this.visibleArea,this.coordinates,o),r=n.visibleArea,l=n.coordinates,a=n.changed;s&&a&&this.enableTransitions(),this.visibleArea=r,this.coordinates=l,s&&a&&this.debouncedDisableTransitions()},normalizeEvent:function(t){return function(e){var i=e.event,s=e.visibleArea,o=e.coefficient;if(i.type==="manipulateImage")return C(C({},i),{move:{left:i.move&&i.move.left?o*i.move.left:0,top:i.move&&i.move.top?o*i.move.top:0},scale:{factor:i.scale&&i.scale.factor?i.scale.factor:1,center:i.scale&&i.scale.center?{left:i.scale.center.left*o+s.left,top:i.scale.center.top*o+s.top}:null}});if(i.type==="resize"){var n=C(C({},i),{directions:C({},i.directions)});return bt.forEach(function(l){n.directions[l]*=o}),n}if(i.type==="move"){var r=C(C({},i),{directions:C({},i.directions)});return Pn.forEach(function(l){r.directions[l]*=o}),r}return i}(D(D({},this.getPublicProperties()),{},{event:t}))},getCanvas:function(){if(this.$refs.canvas){var t=this.$refs.canvas,e=this.$refs.image,i=this.imageTransforms.rotate!==0||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(l,a,h){var f=h.rotate,u=h.flip,p={width:a.naturalWidth,height:a.naturalHeight},y=yi(p,f),M=l.getContext("2d");l.height=y.height,l.width=y.width,M.save();var O=kt(G(C({left:0,top:0},p)),f);return M.translate(-(O.left-y.width/2),-(O.top-y.height/2)),M.rotate(f*Math.PI/180),M.translate(u.horizontal?p.width:0,u.vertical?p.height:0),M.scale(u.horizontal?-1:1,u.vertical?-1:1),M.drawImage(a,0,0,p.width,p.height),M.restore(),l}(this.$refs.sourceCanvas,e,this.imageTransforms):e,s=D({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),o=function(l){return l.find(function(a){return h=a,!Number.isNaN(parseFloat(h))&&isFinite(h);var h})},n=It({sizeRestrictions:{minWidth:o([s.width,s.minWidth])||0,minHeight:o([s.height,s.minHeight])||0,maxWidth:o([s.width,s.maxWidth])||1/0,maxHeight:o([s.height,s.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(s.maxArea&&n.width*n.height>s.maxArea){var r=Math.sqrt(s.maxArea/(n.width*n.height));n={width:Math.round(r*n.width),height:Math.round(r*n.height)}}return function(l,a,h,f,u){l.width=f?f.width:h.width,l.height=f?f.height:h.height;var p=l.getContext("2d");p.clearRect(0,0,l.width,l.height),u&&(u.imageSmoothingEnabled&&(p.imageSmoothingEnabled=u.imageSmoothingEnabled),u.imageSmoothingQuality&&(p.imageSmoothingQuality=u.imageSmoothingQuality),u.fillColor&&(p.fillStyle=u.fillColor,p.fillRect(0,0,l.width,l.height),p.save()));var y=h.left<0?-h.left:0,M=h.top<0?-h.top:0;p.drawImage(a,h.left+y,h.top+M,h.width,h.height,y,M,l.width,l.height)}(t,i,this.coordinates,n,s),t}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(t){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=this.visibleArea&&e?Hn(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,s=this.visibleArea&&e?Jt(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return Bn({transform:t,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:i,positionRestrictions:s,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var t=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var e=this.defaultSize;e||(e=this.stencilSize?qn:Nn);var i=this.sizeRestrictions;i.minWidth,i.minHeight,i.maxWidth,i.maxHeight;var s=_t(e)?e({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):e,o=this.defaultPosition||Fn,n=[s,function(r){var l=r.coordinates;return D({},_t(o)?o({coordinates:l,imageSize:t.imageSize,visibleArea:t.visibleArea}):t.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,Dt(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var t=this;this.imageLoaded=!1,setTimeout(function(){var e=t.$refs.stretcher;e&&(e.style.height="auto",e.style.width="auto"),t.coordinates=t.defaultCoordinates(),t.boundaries={width:0,height:0}},this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var t=this,e=this.$refs.stretcher,i=this.$refs.cropper;return this.initStretcher({cropper:i,stretcher:e,imageSize:this.imageSize}),this.$nextTick().then(function(){var s={cropper:i,imageSize:t.imageSize};if(_t(t.defaultBoundaries)?t.boundaries=t.defaultBoundaries(s):t.defaultBoundaries==="fit"?t.boundaries=function(o){var n=o.cropper,r=o.imageSize,l=n.clientHeight,a=n.clientWidth,h=l,f=r.width*l/r.height;return f>a&&(f=a,h=r.height*a/r.width),{width:f,height:h}}(s):t.boundaries=function(o){var n=o.cropper;return{width:n.clientWidth,height:n.clientHeight}}(s),!t.boundaries.width||!t.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")})},resetVisibleArea:function(){var t=this;return this.appliedImageTransforms=D(D({},this.defaultImageTransforms),{},{flip:D({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then(function(){t.priority!=="visible-area"&&(t.visibleArea=null,t.resetCoordinates());var e,i,s,o,n,r,l=t.defaultVisibleArea||Yn;t.visibleArea=_t(l)?l({imageSize:t.imageSize,boundaries:t.boundaries,coordinates:t.priority!=="visible-area"?t.coordinates:null,getAreaRestrictions:t.getAreaRestrictions,stencilSize:t.getStencilSize()}):t.defaultVisibleArea,t.visibleArea=(e={visibleArea:t.visibleArea,boundaries:t.boundaries,getAreaRestrictions:t.getAreaRestrictions},i=e.visibleArea,s=e.boundaries,o=e.getAreaRestrictions,n=C({},i),r=_(s),n.width/n.height!==r&&(n.height=n.width/r),J(n,o({visibleArea:n,type:"move"}))),t.priority==="visible-area"?t.resetCoordinates():t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("resetVisibleArea")}).catch(function(){t.visibleArea=null})},updateVisibleArea:function(){var t=this;return this.updateBoundaries().then(function(){t.visibleArea=t.fitVisibleArea({imageSize:t.imageSize,boundaries:t.boundaries,visibleArea:t.visibleArea,coordinates:t.coordinates,getAreaRestrictions:t.getAreaRestrictions}),t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("updateVisibleArea")}).catch(function(){t.visibleArea=null})},onChange:function(){var t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];t&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var t,e=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(o){if(Ve(o))return!1;var n=window.location,r=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(o)||[],l={protocol:r[1]||"",host:r[2]||"",port:r[3]||""},a=function(h){return h.port||((h.protocol||n.protocol)==="http"?80:433)};return!(!l.protocol&&!l.host&&!l.port||l.protocol&&l.protocol==n.protocol&&l.host&&l.host==n.host&&l.host&&a(l)==a(n))}(this.src)){var i=Q(this.crossOrigin)?this.canvas:this.crossOrigin;i===!0&&(i="anonymous"),this.imageAttributes.crossOrigin=i||null}if(this.checkOrientation){var s=(t=this.src,new Promise(function(o){is(t).then(function(n){var r=ns(n);o(n?{source:t,arrayBuffer:n,orientation:r}:{source:t,arrayBuffer:null,orientation:null})}).catch(function(n){console.warn(n),o({source:t,arrayBuffer:null,orientation:null})})}));setTimeout(function(){s.then(e.onParseImage)},this.transitionTime)}else setTimeout(function(){e.onParseImage({source:e.src})},this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var t=this,e=this.$refs.image;e&&!this.imageLoaded&&(this.imageAttributes.height=e.naturalHeight,this.imageAttributes.width=e.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then(function(){t.$emit("ready"),t.onChange(!1)}))},onParseImage:function(t){var e=this,i=t.source,s=t.arrayBuffer,o=t.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,s&&o&&o>1?fi(i)||!Ve(i)?(this.imageAttributes.src=URL.createObjectURL(new Blob([s])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(n){for(var r=[],l=new Uint8Array(n);l.length>0;){var a=l.subarray(0,8192);r.push(String.fromCharCode.apply(null,Array.from?Array.from(a):a.slice())),l=l.subarray(8192)}return"data:image/jpeg;base64,"+btoa(r.join(""))}(s):this.imageAttributes.src=i,_t(this.defaultTransforms)?this.appliedImageTransforms=we(this.defaultTransforms()):ne(this.defaultTransforms)?this.appliedImageTransforms=we(this.defaultTransforms):this.appliedImageTransforms=function(n){var r=we({});if(n)switch(n){case 2:r.flip.horizontal=!0;break;case 3:r.rotate=-180;break;case 4:r.flip.vertical=!0;break;case 5:r.rotate=90,r.flip.vertical=!0;break;case 6:r.rotate=90;break;case 7:r.rotate=90,r.flip.horizontal=!0;break;case 8:r.rotate=-90}return r}(o),this.defaultImageTransforms=D(D({},this.appliedImageTransforms),{},{flip:D({},this.appliedImageTransforms.flip)}),this.$nextTick(function(){var n=e.$refs.image;n&&n.complete&&(function(r){return!!r.naturalWidth}(n)?e.onSuccessLoadImage():e.onFailLoadImage())})},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(t){var e=this;this.transitionsOptions.enabled||this.awaitRender(function(){e.coordinates=e.moveAlgorithm(D(D({},e.getPublicProperties()),{},{positionRestrictions:Jt(e.positionRestrictions,e.visibleArea),coordinates:e.coordinates,event:e.normalizeEvent(t)})),e.onChange()})},onResize:function(t){var e=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender(function(){var i=e.sizeRestrictions,s=Math.min(e.coordinates.width,e.coordinates.height,20*e.coefficient);e.coordinates=e.resizeAlgorithm(D(D({},e.getPublicProperties()),{},{positionRestrictions:Jt(e.positionRestrictions,e.visibleArea),sizeRestrictions:{maxWidth:Math.min(i.maxWidth,e.visibleArea.width),maxHeight:Math.min(i.maxHeight,e.visibleArea.height),minWidth:Math.max(i.minWidth,s),minHeight:Math.max(i.minHeight,s)},event:e.normalizeEvent(t)})),e.onChange(),e.ticking=!1})},onManipulateImage:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.transitionsOptions.enabled){var i=e.transitions,s=i!==void 0&&i,o=e.normalize,n=o===void 0||o;s&&this.enableTransitions();var r=Xn(D(D({},this.getPublicProperties()),{},{event:n?this.normalizeEvent(t):t,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=r.visibleArea,a=r.coordinates;this.visibleArea=l,this.coordinates=a,this.runAutoZoom("manipulateImage"),this.onChange(),s&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.visibleArea,i=t.type,s=i===void 0?"move":i;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:e,type:s})},getAspectRatio:function(t){var e,i,s=this.stencilProps,o=s.aspectRatio,n=s.minAspectRatio,r=s.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();e=l.minimum,i=l.maximum}if(Q(e)&&(e=Q(o)?n:o),Q(i)&&(i=Q(o)?r:o),!t&&(Q(e)||Q(i))){var a=this.getStencilSize(),h=a?_(a):null;Q(e)&&(e=Ke(h)?h:void 0),Q(i)&&(i=Ke(h)?h:void 0)}return{minimum:e,maximum:i}},getStencilSize:function(){if(this.stencilSize)return t={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},e=t.boundaries,i=t.stencilSize,s=t.aspectRatio,ve(_(o=_t(i)?i({boundaries:e,aspectRatio:s}):i),s)&&(o=It({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:o.width,height:o.height,aspectRatio:{minimum:s.minimum,maximum:s.maximum}})),(o.width>e.width||o.height>e.height)&&(o=It({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:o.width,height:o.height,aspectRatio:{minimum:_(o),maximum:_(o)}})),o;var t,e,i,s,o},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return D({},Qe)},flip:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;if(!this.transitionsActive){o&&this.enableTransitions();var n=D({},this.imageTransforms.flip),r=Vn({flip:{horizontal:t?!n.horizontal:n.horizontal,vertical:e?!n.vertical:n.vertical},previousFlip:n,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),l=r.visibleArea,a=r.coordinates;t&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),e&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=l,this.coordinates=a,this.onChange(),o&&this.debouncedDisableTransitions()}},rotate:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.transitions,s=i===void 0||i;if(!this.transitionsActive){s&&this.enableTransitions();var o=D({},this.imageSize);this.appliedImageTransforms.rotate+=t;var n=$n({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:o,imageSize:this.imageSize,angle:t,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),r=n.visibleArea,l=n.coordinates,a=this.processAutoZoom("rotateImage",r,l);r=a.visibleArea,l=a.coordinates,this.visibleArea=r,this.coordinates=l,this.onChange(),s&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},os={key:0,ref:"canvas",style:{display:"none"}},as={key:1,ref:"sourceCanvas",style:{display:"none"}};Oi.render=function(t,e,i,s,o,n){return R(),F("div",{ref:"cropper",class:n.classes.cropper},[b("div",{ref:"stretcher",class:n.classes.stretcher},null,2),b("div",{class:n.classes.boundaries,style:n.boundariesStyle},[(R(),F(se(i.backgroundWrapperComponent),{class:n.classes.cropperWrapper,"wheel-resize":n.settings.resizeImage.wheel,"touch-resize":n.settings.resizeImage.touch,"touch-move":n.settings.moveImage.touch,"mouse-move":n.settings.moveImage.mouse,onMove:n.onManipulateImage,onResize:n.onManipulateImage},{default:x(function(){return[b("div",{class:n.classes.background,style:n.boundariesStyle},null,6),b("div",{class:n.classes.imageWrapper},[b("img",{ref:"image",crossorigin:o.imageAttributes.crossOrigin,src:o.imageAttributes.src,class:n.classes.image,style:n.imageStyle,onMousedown:e[1]||(e[1]=ie(function(){},["prevent"]))},null,46,["crossorigin","src"])],2),b("div",{class:n.classes.foreground,style:n.boundariesStyle},null,6),si((R(),F(se(i.stencilComponent),ai({ref:"stencil",image:n.image,coordinates:o.coordinates,"stencil-coordinates":n.stencilCoordinates,transitions:n.transitionsOptions},i.stencilProps,{onResize:n.onResize,onResizeEnd:n.onResizeEnd,onMove:n.onMove,onMoveEnd:n.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[oi,o.imageLoaded]]),i.canvas?(R(),F("canvas",os,null,512)):j("",!0),i.canvas?(R(),F("canvas",as,null,512)):j("",!0)]}),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const rs=t=>(rn("data-v-6aaf4d2d"),t=t(),ln(),t),ls={class:"relative overflow-hidden rounded-md border p-4 transition-all hover:shadow dark:border-neutral-700"},cs={class:"flex items-center justify-between"},hs={style:{width:"240px"}},ds={class:"my-4 h-[280px]"},us={key:0,class:"flex h-full w-full items-center justify-center overflow-hidden rounded-md"},ms={key:1,class:"flex flex-col h-full w-full items-center justify-center overflow-hidden rounded-md"},fs=["src"],ps={class:"mt-3 text-base"},gs={class:"mt-1"},vs={key:2,class:"my-4 h-[280px] relative"},bs={class:"-mx-4 -mb-4 bg-[#fafafc] px-4 py-2 dark:bg-[#262629]"},ws={key:0,class:"w-full"},ys={class:"mb-2 flex items-center justify-between"},xs={class:"flex-1"},As={class:"flex items-center justify-around"},zs={key:1,class:"w-full"},Rs={class:"mb-2 flex items-center justify-between"},Is={class:"flex-1"},Ss={class:"flex items-center justify-around"},Cs={key:2,class:"w-full"},Ms={class:"mb-2 flex items-center justify-between"},Os={class:"flex-1"},ks={class:"flex items-center justify-around"},Es={key:3},Ts={class:"mb-2 flex flex-1 items-center justify-between"},js=rs(()=>d("span",{class:"text-base text-neutral-400"},null,-1)),Ds={class:"flex-1"},Ps={class:"flex items-center pl-2 justify-around"},_s=["src"],Hs=["src"],Bs={key:0},Ws=["src"],Ls=["src"],Us=["src"],Fs={class:"p-4 bg-white dark:bg-[#262629] rounded-md"},Ns={class:"text-lg font-bold mb-4"},qs={class:"cropper-container rounded-md mb-4"},Ys={class:"mb-4"},Xs={class:"flex justify-end gap-4"},$s={key:4,class:"w-full mb-2 flex items-center justify-between"},Vs={key:0},Ks={key:0},Qs={key:1},Zs={key:1},Gs={key:5,class:"w-full mb-2 flex items-center justify-between"},Js={key:6,class:"w-full mb-2 flex items-center justify-between"},to={key:7,class:"w-full mb-2 flex items-center justify-between"},eo=Oe({__name:"cardItem",props:{drawItemInfo:{}},emits:["usePrompt","queryData"],setup(t,{emit:e}){const i=e,s=ri(),o=li(),n=L(()=>s.theme),r=L(()=>n.value==="dark"?"#fff":"#000"),l=t,a=ci(),h=hi(),f="/api/midjourney/download",u=P(!1),p=P(!1),y=P(null),M=P(""),O=L(()=>{const{status:g}=l.drawItemInfo;if(g===1)return"";if(g===2)return"info";if(g===3)return"primary";if(g===4||g===5)return"error"}),N=L(()=>{const{status:g}=l.drawItemInfo;if(g===1)return m("draw.statusWaiting");if(g===2)return m("draw.statusDrawing");if(g===3)return m("draw.statusSuccess");if(g===4)return m("draw.statusFailure");if(g===5)return m("draw.statusTimeout")});function $(){i("usePrompt")}async function ft(g){const w=a.info({title:m("draw.downloadImageTitle"),content:m("draw.downloadImageContent"),positiveText:m("draw.downloadButtonText"),negativeText:m("draw.cancelButtonText"),onPositiveClick:async()=>(w.loading=!0,new Promise(async A=>{const{drawUrl:q}=g,Z=await di.post(f,{url:q},{responseType:"blob"}),B=new Blob([Z.data],{type:Z.headers["content-type"]}),T=window.URL.createObjectURL(B),Y=document.createElement("a");Y.href=T;const Et=`image-${new Date().getTime()}-${Math.floor(Math.random()*1e3)}.png`;Y.download=Et,Y.click(),A(!0)}))})}async function dt(g){a.warning({title:m("draw.deleteRecordTitle"),content:m("draw.deleteRecordContent"),positiveText:m("draw.deleteButtonText"),negativeText:m("draw.cancelButtonText"),onPositiveClick:async()=>{const{id:w}=g,A=await an({id:w});if(!A.success)return h.error(A.message);h.success(m("draw.drawingRecordDeleted")),i("queryData")}})}async function it(g,w){const{drawId:A,extend:q}=g,T=JSON.parse(q).buttons.find(Y=>Y.customId.includes(`upsample::${w}`)).customId;await Ot({drawId:A,prompt:g.fullPrompt,action:"UPSCALE",customId:T}),h.success(m("draw.submitZoomDrawingSuccess")),o.token&&await ot(),i("queryData")}async function Ct(g){const{drawId:w,extend:A}=g,B=JSON.parse(A).buttons.find(T=>T.customId.includes("reroll")).customId;await Ot({drawId:w,prompt:g.fullPrompt,action:"REROLL",customId:B}),h.success(m("draw.submitRedrawSuccess")),o.token&&await ot(),i("queryData")}async function nt(g,w){const{drawId:A,extend:q}=g,T=JSON.parse(q).buttons.find(Y=>Y.customId.includes(`variation::${w}`)).customId;await Ot({drawId:A,prompt:g.fullPrompt,action:"VARIATION",customId:T}),h.success(m("draw.submitTransformDrawingSuccess")),o.token&&await ot(),i("queryData")}async function K(g,w){const{drawId:A,extend:q}=g,T=JSON.parse(q).buttons.find(Y=>Y.customId.includes(`Outpaint::${w}`)).customId;await Ot({drawId:A,prompt:g.fullPrompt,action:"ZOOM",customId:T}),h.success(m("draw.submitEnlargeDrawingSuccess")),o.token&&await ot(),i("queryData")}async function H(g,w){const{drawId:A,extend:q}=g,T=JSON.parse(q).buttons.find(Y=>Y.customId.includes(`${w}`)).customId;await Ot({drawId:A,prompt:g.fullPrompt,action:"VARIATION",customId:T}),h.success(m("draw.submitAdvancedTransformDrawingSuccess")),o.token&&await ot(),i("queryData")}async function ct(g,w){const{drawId:A,extend:q}=g,T=JSON.parse(q).buttons.find(Y=>Y.customId.includes(`pan_${w}`)).customId;await Ot({drawId:A,prompt:g.fullPrompt,action:"PAN",customId:T}),h.success(m("draw.submitZoomDrawingSuccess")),o.token&&await ot(),i("queryData")}const st=L(()=>{try{return JSON.parse(l.drawItemInfo.extend).buttons||[]}catch(g){return console.error("解析 extend 字段失败:",g),[]}});async function X(g){y.value=g}async function ht(){if(!y.value||!y.value.coordinates)return null;const[g,w]=l.drawItemInfo.drawRatio.split("x").map(Number),{coordinates:A}=y.value;return new Promise((q,Z)=>{const B=document.createElement("canvas"),T=B.getContext("2d");B.width=g,B.height=w,T.fillStyle="black",T.fillRect(0,0,B.width,B.height),T.fillStyle="white",T.fillRect(A.left,A.top,A.width,A.height);const Y=B.toDataURL();q(Y)})}async function tt(g){p.value=!1;const{drawId:w,extend:A}=g,Z=JSON.parse(A).buttons.find(Y=>Y.customId.includes("Inpaint")),B=await ht(),T=Z.customId;await Ot({drawId:w,base64:B,prompt:M.value,action:"MODAL",customId:T}),h.success(m("draw.submitRegionalRedrawSuccess")),o.token&&await ot(),i("queryData")}async function ot(){u.value=!0;try{await o.getUserInfo(),u.value=!1}catch{u.value=!1}}const Mt=L(()=>{const{progress:g,status:w}=l.drawItemInfo;if(w===1)return m("draw.queueing");if(w===2&&!g)return m("draw.drawing");if(w===2&&g===100)return m("draw.storing")});return(g,w)=>(R(),E("div",ls,[d("div",cs,[d("span",null,[b(c(nn),{size:"small",type:O.value},{default:x(()=>[k(v(N.value),1)]),_:1},8,["type"])]),b(c(xe),null,{default:x(()=>[g.drawItemInfo.action==="IMAGINE"?(R(),F(c(Rt),{key:0,placement:"top",trigger:"hover"},{trigger:x(()=>[b(c(W),{size:"tiny",ghost:"",onClick:$},{icon:x(()=>[b(c(rt),{icon:"ri:brush-line",class:"text-base"})]),default:x(()=>[k(" "+v(c(m)("draw.use")),1)]),_:1})]),default:x(()=>[d("div",hs,[d("p",null,v(g.drawItemInfo.fullPrompt),1)])]),_:1})):j("",!0),b(c(W),{size:"tiny",ghost:"",onClick:w[0]||(w[0]=A=>ft(g.drawItemInfo))},{icon:x(()=>[b(c(rt),{icon:"mingcute:file-download-line",class:"text-base"})]),default:x(()=>[k(" "+v(c(m)("draw.download")),1)]),_:1}),b(c(W),{size:"tiny",ghost:"",onClick:w[1]||(w[1]=A=>dt(g.drawItemInfo))},{icon:x(()=>[b(c(rt),{icon:"ri:delete-bin-line",class:"text-base"})]),default:x(()=>[k(" "+v(c(m)("draw.delete")),1)]),_:1})]),_:1})]),d("div",ds,[g.drawItemInfo.status===3?(R(),E("div",us,[b(c(sn),{style:{"object-fit":"contain"},src:g.drawItemInfo.drawUrl,"preview-src":g.drawItemInfo.drawUrl,"object-fit":"contain"},null,8,["src","preview-src"])])):j("",!0),[4,5,6].includes(g.drawItemInfo.status)?(R(),E("div",ms,[d("img",{class:"w-[75px]",src:c(Cn)},null,8,fs),d("span",ps,v(c(m)("draw.drawingFailed")),1),d("span",gs,v(c(m)("draw.pointsRefunded")),1)])):j("",!0),[1,2].includes(g.drawItemInfo.status)?(R(),E("div",vs,[b(ui,{"text-color":r.value,progress:g.drawItemInfo.progress,tips:Mt.value},null,8,["text-color","progress","tips"])])):j("",!0)]),d("div",bs,[st.value.some(A=>A.customId.includes("upsample::1"))&&g.drawItemInfo.status===3?(R(),E("div",ws,[d("div",ys,[d("span",null,v(c(m)("draw.zoom")),1),d("div",xs,[d("div",As,[b(c(W),{size:"tiny",onClick:w[2]||(w[2]=A=>it(g.drawItemInfo,"1"))},{default:x(()=>[k(v(c(m)("draw.U1")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[3]||(w[3]=A=>it(g.drawItemInfo,"2"))},{default:x(()=>[k(v(c(m)("draw.U2")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[4]||(w[4]=A=>it(g.drawItemInfo,"3"))},{default:x(()=>[k(v(c(m)("draw.U3")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[5]||(w[5]=A=>it(g.drawItemInfo,"4"))},{default:x(()=>[k(v(c(m)("draw.U4")),1)]),_:1}),b(c(Rt),{placement:"top",trigger:"hover"},{trigger:x(()=>[b(c(W),{size:"tiny",onClick:w[6]||(w[6]=A=>Ct(g.drawItemInfo))},{default:x(()=>[b(c(rt),{icon:"solar:refresh-outline",class:"text-base"})]),_:1})]),default:x(()=>[d("p",null,v(c(m)("draw.regenerateOnce")),1)]),_:1})])])])])):j("",!0),st.value.some(A=>A.customId.includes("::variation::1"))&&g.drawItemInfo.status===3?(R(),E("div",zs,[d("div",Rs,[d("span",null,v(c(m)("draw.transform")),1),d("div",Is,[d("div",Ss,[b(c(W),{size:"tiny",onClick:w[7]||(w[7]=A=>nt(g.drawItemInfo,"1"))},{default:x(()=>[k(v(c(m)("draw.V1")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[8]||(w[8]=A=>nt(g.drawItemInfo,"2"))},{default:x(()=>[k(v(c(m)("draw.V2")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[9]||(w[9]=A=>nt(g.drawItemInfo,"3"))},{default:x(()=>[k(v(c(m)("draw.V3")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[10]||(w[10]=A=>nt(g.drawItemInfo,"4"))},{default:x(()=>[k(v(c(m)("draw.V4")),1)]),_:1}),b(c(W),{size:"tiny",style:{opacity:"0"}},{default:x(()=>[k(" V5 ")]),_:1})])])])])):j("",!0),st.value.some(A=>A.customId.includes("pan_left"))&&g.drawItemInfo.status===3?(R(),E("div",Cs,[d("div",Ms,[d("span",null,v(c(m)("draw.pan")),1),d("div",Os,[d("div",ks,[b(c(W),{size:"tiny",onClick:w[11]||(w[11]=A=>ct(g.drawItemInfo,"left"))},{default:x(()=>[k(v(c(m)("draw.panLeft")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[12]||(w[12]=A=>ct(g.drawItemInfo,"right"))},{default:x(()=>[k(v(c(m)("draw.panRight")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[13]||(w[13]=A=>ct(g.drawItemInfo,"up"))},{default:x(()=>[k(v(c(m)("draw.panUp")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[14]||(w[14]=A=>ct(g.drawItemInfo,"down"))},{default:x(()=>[k(v(c(m)("draw.panDown")),1)]),_:1})])])])])):j("",!0),st.value.some(A=>A.customId.includes("Outpaint::50"))&&g.drawItemInfo.status===3?(R(),E("div",Es,[d("div",Ts,[d("span",null,v(c(m)("draw.transformZoom")),1),js,d("div",Ds,[d("div",Ps,[b(c(xe),null,{default:x(()=>[b(c(W),{size:"tiny",onClick:w[15]||(w[15]=A=>K(g.drawItemInfo,75))},{icon:x(()=>[d("img",{src:c(Ye),class:"w-4",alt:""},null,8,_s)]),default:x(()=>[k(" "+v(c(m)("draw.zoom1_5x")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[16]||(w[16]=A=>K(g.drawItemInfo,50))},{icon:x(()=>[d("img",{src:c(Ye),class:"w-4",alt:""},null,8,Hs)]),default:x(()=>[k(" "+v(c(m)("draw.zoom2x")),1)]),_:1}),st.value.some(A=>A.customId.includes("low_variation"))?(R(),E("div",Bs,[b(c(W),{size:"tiny",onClick:w[17]||(w[17]=A=>H(g.drawItemInfo,"low"))},{icon:x(()=>[d("img",{src:c(fe),class:"w-4",alt:""},null,8,Ws)]),default:x(()=>[k(" "+v(c(m)("draw.minorTransform")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[18]||(w[18]=A=>H(g.drawItemInfo,"high"))},{icon:x(()=>[d("img",{src:c(fe),class:"w-4",alt:""},null,8,Ls)]),default:x(()=>[k(" "+v(c(m)("draw.strongTransform")),1)]),_:1}),b(c(W),{size:"tiny",onClick:w[19]||(w[19]=A=>p.value=!0)},{icon:x(()=>[d("img",{src:c(fe),class:"w-4",alt:""},null,8,Us)]),default:x(()=>[k(" "+v(c(m)("draw.regionalRedraw")),1)]),_:1}),b(c(on),{show:p.value,"onUpdate:show":w[22]||(w[22]=A=>p.value=A),class:"rounded-md overflow-hidden bg-white dark:bg-[#262629]"},{default:x(()=>[d("div",Fs,[d("div",Ns,v(c(m)("draw.regionalRedraw1")),1),d("div",qs,[b(c(Oi),{src:g.drawItemInfo.drawUrl,"stencil-props":{aspectRatio:0},class:"cropper",onChange:X},null,8,["src"])]),d("div",Ys,[b(c(Ae),{value:M.value,"onUpdate:value":w[20]||(w[20]=A=>M.value=A),type:"textarea",autosize:{minRows:1,maxRows:2},placeholder:"(选填)在此输入选中区域要改变的描述"},null,8,["value"])]),d("div",Xs,[b(c(W),{class:"py-2 px-4 rounded",onClick:w[21]||(w[21]=A=>tt(g.drawItemInfo))},{default:x(()=>[k(v(c(m)("draw.submitTask")),1)]),_:1})])])]),_:1},8,["show"])])):j("",!0)]),_:1})])])])])):j("",!0),g.drawItemInfo.progress!==100&&g.drawItemInfo.status!==3?(R(),E("div",$s,[g.drawItemInfo.orderId!==5?(R(),E("div",Vs,[g.drawItemInfo.action==="UPSCALE"?(R(),E("span",Ks,v(c(m)("draw.selectSuiteForZoom")),1)):j("",!0),g.drawItemInfo.action==="VARIATION"?(R(),E("span",Qs,v(c(m)("draw.selectSuiteForTransform")),1)):j("",!0)])):j("",!0),g.drawItemInfo.orderId===5?(R(),E("span",Zs,v(c(m)("draw.regeneratingImage")),1)):j("",!0)])):j("",!0),g.drawItemInfo.action==="IMAGINE"&&!g.drawItemInfo.orderId&&g.drawItemInfo.status==="UPSCALE"?(R(),E("div",Gs,v(c(m)("draw.drawingInProgress")),1)):j("",!0),!g.drawItemInfo.orderId&&[4,5,6].includes(g.drawItemInfo.status)?(R(),E("div",Js,v(c(m)("draw.tryDifferentPrompt")),1)):j("",!0),!g.drawItemInfo.action&&!g.drawItemInfo.extend?(R(),E("div",to," 上级: "+v(g.drawItemInfo.message_id||"正在加载中..."),1)):j("",!0)])]))}});const io=cn(eo,[["__scopeId","data-v-6aaf4d2d"]]),no={class:"grow flex h-screen flex-col lg:pt-0"},so={class:"flex grow flex-col sm:flex-row h-full"},oo={class:"p-4 sm:pt-6 bg-[#f8f8f8] p-4 dark:bg-[#18181c] overflow-y-auto w-full sm:w-[20rem] shrink-0 border-r-2 border-[#ffffff17]"},ao={key:0,class:"text-lg sm:text-2xl font-bold leading-6"},ro={class:"mt-4 text-sm flex items-center"},lo={class:"text-sm mr-1"},co={"data-tool-target":"tooltip-default"},ho={class:"flex mt-2 py-1 pb-2 space-x-1 overflow-x-auto justify-between scrollbar-none"},uo=["onClick"],mo={class:"flex items-center justify-center w-6 h-6"},fo={class:"mt-2 text-center text-xs leading-none text-current"},po={class:"mt-4 text-sm flex items-center"},go={class:"mr-1"},vo={"data-tool-target":"tooltip-default"},bo={style:{width:"240px"}},wo={class:"mt-2 flex justify-between"},yo=["onClick"],xo={class:"relative w-full h-full dark:bg-black rounded",type:"button"},Ao={class:"absolute w-full h-full flex justify-center items-center"},zo={class:"text-2xl text-white font-bold absolute left-5 top-1"},Ro=["src"],Io={class:"mt-4"},So={class:"mt-2 flex justify-between items-center space-x-2 text-xs"},Co={class:"w-[65px] block text-sm"},Mo={class:"flex-1"},Oo={class:"block text-sm mt-2 flex items-center"},ko={style:{width:"240px"}},Eo={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},To={class:"w-[65px] block text-sm"},jo={class:"flex-1"},Do={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},Po={class:"w-[65px] block text-sm"},_o={class:"flex-1"},Ho={style:{width:"270px"}},Bo={key:0,class:"mt-3 flex justify-between items-center space-x-2 text-xs"},Wo={class:"w-[65px] block text-sm"},Lo={class:"flex-1"},Uo={style:{width:"270px"}},Fo={class:"block text-sm mt-2 flex items-center"},No={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},qo={class:"w-[65px] block text-sm"},Yo={class:"flex-1"},Xo={style:{width:"240px"}},$o={class:"mt-5"},Vo={class:"block text-base"},Ko={class:"ant-spin-nested-loading css-4fssqp mt-5"},Qo={class:"ant-spin-container"},Zo={class:"mt-2 flex justify-center items-center dark:bg-black p-5 rounded-md"},Go={key:0,for:"upload-file"},Jo={class:"upload-container"},ta=d("img",{class:"mx-auto py-2 w-11",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIcAAABkCAMAAACb6dMUAAAC91BMVEUAAACqbeO0bd6ubeG6bdubbOzMbdLTbc6sbeLJbdOxbeCQbPHUbc7ObdGMbPO7bdutbeKUbO+pbOS5bdyGbPaZbOyrbOPVbc2MbPOWbO6xbeCWbO7LbdKWbO7Tbc+jbOezbd+PbPKfbOnUbc3LbdKMbPOIbPW7bdvNbdGibOjHbdWFbPffbcixbeDDbdbhbce1bd6IbPWsbOKHbPbdbcmpbOSebOrdbcmLbPS9bdrZbcvAbdiSbPDWbc3ZbcuJbPXSbc7ZbcvfbciUbO+KbPTZbcuFbPeabOySbPCIbPWUbO+IbPXQbdCgbOmLbPPebciRbPHdbcnGbdXabcqlbOaKbPSXbO2mbOa2bd3KbdO7bdrUbc7MbdHebcmXbO3IbdTebcnVbc2dbOqYbO3QbdCKbPSkbOevbeHgbceIbPa8bdrEbdbMbdKrbOOXbO3QbdDebcjDbdeQbPG3bd2WbO7IbdTBbdiLbPOJbPXJbdOXbO2QbPHabcqobOSfbOmvbeGNbPPCbdfTbc7bbcqzbd+fbOmObPLNbdGobOSSbPC+bdm4bdzabcuVbO+dbOrZbcvUbc2ibOjdbcnSbc/ebcm8bdq3bdy1bd7PbdDWbc2bbOvgbceibOiGbPbSbc/NbdGQbPHZbcvObdGibOjdbcmKbPSzbd+qbOOubeGtbeKRbPGJbPWYbO2tbeG7bduubeGjbOekbOembObZbcutbeHDbdeqbOTEbda4bdyFbPekbOakbOa3bdyybd+wbeDgbciHbPWJbPTNbdG0bd7PbdDdbcmZbOyTbO+GbPeXbO2VbO6EbPezbd6vbeGnbOWMbPONbPKebOnbbcnXbcyPbPGRbPDVbc3LbdKlbOabbOvJbdPZbcqdbOqpbOSsbOK3bd27bdvHbdSqbOOtbeG1bd25bdy8bdrEbdXebcnDbdaWbO6hbOjSbc6+bdnObdDAbdjbbcrKbdOcbOutbeLGbdWjbOe9bdnBbdfZbcvYbcvRbdDTbc7hbcZvJBQJAAAAvXRSTlMACJW6BhofEApsDQsK2BpWFhJ0M+Z0aRTU0aueinZrYFFAKSIcFfj4+NfXz87LxcK+paCRg3x1aF1bPz05NychGPjz597c2NK6r62akIB8dlBKR0Q+Nfn29vLv6ufm3Nzb2NPLyMbDvLq5uLa2r6WlpKORiYSDdW5VT0kwMPv48/Ly8u7p5uHf2tjVzsrDw8C8tLKurqukm5uYlpCPgHRkY11bVk9JQPv7+PTx7+Xf0cy9oZyVjYR6cmNNQmxAszFGAAAHfklEQVRo3sXa9V8TYRzA8S96ujnnZICCoggICBISBgKCCCigImV3dxcCdnd3d3cnYSdidxdid/0g8Tx3t3Fs99xt4/MXvF8X3z33PAPhGZtaHypU1t3Vdaera9ey+0ysTYuAwfM9NH9qi8cvXpw8een48RMnLj9//vXRyJ29TWKNwGBRpgOntHjy8uVjNcejZ88eNp20LFYKhsioZI8fr149ycfx8MqVK11K6/8GUTXd3r/X4rhzx6mhDPQZVdLt40cejjvfnSroUWLa8+dPno7vmV2Ogn6SHxydQeDIHLGsOOgh/54ZGXkc46a6l82qd1fX7XkcmekzEnTPGNb2tZpjx4JjG2yNc19SqbFtbGnPSRtVHenjK+iaUezbaxXH1IG+Uo7BcqDLcLYj/UFD3TIGP1VxzC8py2+6HNnTlO14sESXjHJP2Y75pqAp2ywJ4/jSh9Id4x7LMaUmaCt2N8tx11JXPzkN7jGO0UPsQHvStU6M466ljq7GZ8bhZsp3UTCbcZxZootbs9KRcfTnP6ylyxjHmVLiGUWb36Ydg4Gk6oyjiY1oR9/btOMgkFVhBHacaSN2JbAmlXYMBiCF0I7zIp9VuxK0Yz+QV512nI8U98qmYkdPOQhoCe1oI2aK1HLEjrYSYYvIGdjxtrwIx9xU5GgeDcKyHY8dZYSvRnwcsaMcCK0UdjSJFP7OfkCOynIQXEfkuBAqdKr6O2LHMBBeLHZcaCz0h+UUcvQCMfXBDoEzRD4RORyjRTn8tiFHkL2wFekp5HATuYAIR44Lq4TNMOxYCeKKR46zfUBAkk7I0VwCImuDHJMVgmYpciwCsQ1CjrPxQJ7VKeSIFu3wa4Icg4QMMeSYWFG0w74jcoQCeSWQoxcForNEjiDy3xjzMchRDsRXCjnO2gJpFd8hxxoQX3wT5PADomr7rFn0J9fR3BfEZ7sNOcK9bRS8EVZz24959w45WlUE8SmDkOPmzS2Tw4fyofjsbXnr1q2/jMMOxEe1oR03b9y4McpjvZGW4TUn8Pp1VYc56KCOKo6rV692j9Q0yquO/X1d3SHRhWO6uiPNISwg34sx7f6vPI6JlC4c4XkcaWlm3sBZjbH3ORzlQBfFczhSUiK4HqWq1z5xOHpJQCcN4nKk1M87X5deU3O0LNGpU68VEtBRkX2md5wcpOZI8VC/61VPsx0t+65MtDOXyCnQYcVlSkWCt+UEtiO5vtqzcZrlmGlVG/SXclUoy5G8XGV41WEcIaslZDNqQ2lrGdmFibNgHA6RrEne7g12BC4mnFum7ln72q4bgEwyYBR2JJsxc6RfEnYErgOyrMfl7K+PJN04tpmAHee645cmKol2rCZlNEP7/JtIIY2DsePcYfS9VIV2NCJn4POGTaVJF61bsaOuErKLScKOfkBWyWasc4/NpBBv7LiYe0G6YUeIOSFD7fyFFOKFHc4UAPjXwY7VpFdDzUF6RWzNkCN5ffYkTUKOmYSMSnnOozYSQjyQ46IXgLwbdqwjZHCdi5mQvTPY4WwP/q2Rox1FyOByDCeDdEYOh8YQ9Q85qgJBNfM9JySCDEWOi97QCDuiSBiV8nUQXRE/B+TwgqXI0dqfhKHp3LQa8E5hgRxhMAc5XGoTPBuazm9JINLuyOEMVZCjG+/H1LcFc367YCFyFN7HOr/lD/FAjrrgghzzeP/Qt2DOkd2pashR1siTcfCH1EcOM2KH3RTmPNvdGAohR1eQeTKOpmuJHfi+zAF+DWHO1d1lQDsKS4HyZM7Vd0tJ70s35KgiAV71px09jIHlMAKQetKO8cbAqzD6Oe2H31ue3/X7sWOBDNQcYHQAO5yU/DasnJGjOzPHfHi+LcixkII8DoBqyMHzWD9hKz3H1mFHI74PSI6jkBS4HGCS45jN87Z447k+FBLrIMc04Fl0jx09agJwO+Bo70m7TKTArzDssAF5Ffy7nwjksR3kBTggR10FwFLs6Gdwhxdef3gAQAxeF9bxMbBDEYwc5+IAgHLB69OZlGEdEXidbFY85xub/m5oZFCHnwN25H5rS9phR2CUAR0Bwfj7xUyBNh3o77mxtQzmUHROwY7lgD8s6e/bkIp6d2BGGnY42wMqhnb8CokyiMPGIo12xLF2pWjH78AG5np3KCNGpWGHys6UfB5rX6q9lZ1eHfarLFj7Up3tgZW5C3ufrv3iGImeHDKbARbsfbrgALXjlnaq+5YtZy0avMLKqhjTsNqkjiIVqmdVKrvyOQ0aEBqkum9plgBq+btw7uOmMv/LqRxN5ljrlJ7O/B+Gcx+3LseRv2SvFsfr0b4kjiMj0rU5whTcG+ytNTsy+pM4umRqc3gZAXeJszQ73Agcxk5aHBZxkH81QjQ5ehI4iu/S6AiOUGo+plwxLX9HMQIHNNTgsIgIAG1JYha3H8Pp6E+ROIxmczu2TLBcrwReUbWsGsyd1akEqm3bylm5DZGTvbfShjM6ZFUvuzI5TQ8NHzDUhvBMW25uV5SdjHyeyoqopkQE3cd8Z0uhQBuIHL2hYLNGDhMo2KiFOY7CSijgZAO3jxznaQwi+w+ELPUHv67REwAAAABJRU5ErkJggg=="},null,-1),ea={class:"mt-3"},ia={class:"text-center dark:text-[#ffffff73]"},na={key:1,class:"w-full h-full relative"},sa=["src"],oa={class:"mt-5"},aa={class:"block flex justify-between"},ra={class:"text-base py-1"},la={class:"text-[#3076fd]"},ca={class:"flex items-center"},ha={class:"mt-3 space-y-1 items-center text-[#3076fd]"},da={class:"flex justify-between"},ua={class:"w-[120px] block text-sm"},ma={class:"text-sm pr-2"},fa={class:"flex justify-between"},pa={class:"w-[120px] block text-sm"},ga={class:"text-sm pr-2"},va={class:"flex justify-between"},ba={class:"w-[120px] block text-sm"},wa={class:"text-sm pr-2"},ya={class:"m-auto max-w-screen-4xl"},xa={class:"space-y-4 p-4"},Aa={key:0,class:"text-lg sm:text-2xl font-bold leading-6"},za={class:"flex justify-between items-end"},Ra={key:0},Ia={class:"mt-4"},Sa={key:0,class:"mt-4"},Ca={class:"mb-3 flex justify-between items-end"},Ma={class:"flex items-center space-x-3 whitespace-nowrap pb-[15px]"},Oa={class:"mt-3"},ka={class:"space-y-2 p-4"},Ea={key:0},Ta={class:"mt-6 mb-4 flex flex-col"},ja={class:"text-xl font-bold flex items-end"},Da={key:0,class:"text-xs font-family ml-2"},Pa={key:0,class:"h-[10vh] flex flex-col justify-center items-center text-gray-500 relative"},_a=["src"],Ha={class:"mt-4"},Ba={key:1,class:"h-[10vh] flex flex-col justify-center items-center text-gray-500 relative"},Wa={class:"w-56 h-14 relative"},La={class:"mb-3"},Ua={class:"min-h-[500px] mt-5"},Fa={class:"mt-6 mb-10 flex flex-col"},Na={class:"text-xl font-bold"},qa={class:"text-base text-[gray]"},Ya={key:0,class:"w-full py-28"},Xa=d("img",{class:"mx-auto",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABOCAYAAAC3zZFGAAAAAXNSR0IArs4c6QAAD81JREFUeF7tXAuQZFV5/v9zu+e9O7s7Pbtzu1s3ujHEBxhQ0ZiKFbESLVNGq6KhDEo0uKgLCBGQAvGBC+Fh2AJZQcLDxTI+qBAeakkZcMVoRCCaCMgzPJa5t7tnemeZR6bn9r19/tR3c3pyt7dnuvt2b/cCe6qoHWbOPffc7/znf37nMO3f1NjYmD0wMHA0ER3LzK8VkTQRrWPmftNVav7F/4pI+Ovq36I/R/tH/x4Ow8zRv7MZLPy3puF31d9Hf652Y+blx6L9wtcQkSaikogUiegZIvqN1vqBxcXFh2ZnZ/fVeV9Tv1p+YzqdHmLmtxDRXxHR25l5nIgGRSTJzCoy+aYGbqLTAWDWAayJYZrvYla5QkQeES0y8zNa6x9qrW/O5/OPEVHQ/Gj/1zMEcMOGDWsHBwc/SESfYObfJ6KBVgd6IfYHoMw8LyI/I6IdjuPc0yqIAHAwm83+JRF9UUReYaTthYhHO3P2ReQerfU5uVzu1zWqaNVxeWJi4thEInGZiPzxSxS8ECAR+R8iun5hYeGCVnQip9PpzyilPkNEY+0s4YvgWezoxyqVyon5fP7+Zr+HM5nMd5n5L14qem81YERkLxGd5TjOt4io3AyIAPDnRPRmZraaeeDF3EdEYFB2lMvly4vF4nwz3woAH2PmVx0EN6WZ9x9qfeAn7lpYWPhss3oQAD7HzNlD7Ut6NB9PRL5ttjG2c8N2GMD9IQKA0H9nO45zGMCG4nNgh8MAxgAt+shhAA8D2CYCbT7eugRms1mHiJCyitPgvSOrgv/qpaDijNnOM+E82ghJy8aIwJluzohks1mXiOxWZm1AWyCiJ4goZ3JthwKAyPkliQhJkd+JEV0BQLgxZzYNYCaTmWTmTIsAArxvaa2vC4IAz4eZoVbG6HTfamJWa62SyeTrlVJnMfPbDKDNvq51CYzjSCPoJqJtjuPsbiX10+xXdKDfYDqdPomZv8DMqRbGa10HxgQQ2YqtjuP8VwuT62ZXK5vNvk9ErmgxyuoOgET0cKVS+UQul0Mm91Bsfdls9kQRuZCZN7Uwwa4B+LyIXOP7/g2e580cCjoQIFXnMTQ0tEUpdQ4zv4eIqsWwZnDsDoDGCqO6da+IPAs9qJTqqRExlUFYYQD2aiJ6AzMPt+hedQfA6lKKSMDM/iHmByoR6YvpC3YXwGb2xAusz2EA21ywwwAeBjAmAqZIHohIGXq5+q8JM0MjTUSWiMDIgG3RF2FdVN/60pJAY8QWRQTcFhdUDSJytNYFEcmJyIxlWaiuidY6QUQjSqmNImIrpTIispmIXkZE48w8ApBB8yCiM1zXhZfRsL0QU/oQthIRTYEgJCK/FhFERI+COOR5XnlwcNB3XRfeAbguVQ4OJBAcn0QqlerzPK9vZGRkWES2JBKJo7TWb2LmI0XkPiI698UIIIAAcE+LyF0icjeA831/X7FYxO9bJgYZ8QKwA+Pj46OWZR0BKVRK3ee67mJD8UPnOLFwMwN3uA90GrbnD7TW/5JMJh/as2fPHBGBadXJFurJVhajHQAhEUj/NKrgQ/cMRMl7zX6xMQwIG++uVCo3lkqle2dnZ59vIgMUbtVsNmv5vo+fybIscV0XgENSOwZ8LABFBCHTJBH9mJkRylWtXBSbMFMtIgjmjyOiLcwMMJtqIoKP/G8iuikIgm8XCoU9q3y4lUqlhohoTTKZnBCRCcuywG9cD/aZeaGntYbUItM8XalUcojjZ2dnQSpqJAQrzjkugJjEDs/zdhHRqhSIRCIB6XuvUuqzzAyr10zMjC0LZX5FqVT60czMDD68XhsYGxsbA6NWRN7IzK8hopczMyztiFmwUALNYmJRoC9htSEAj0OPaq3vK5fLz83MzOBbGhE/95tHHAAhVf+ptT45l8s90Iw42ba9WSl1DRH9WSMOjojAF9vNzJc5jgPeTj3p6BsfH9/c19f3DmZ+l4gcaRKnkDZIecNFMhIOpipAewq7KQiC7/u+/9tVFuyAz40L4L1BEJxcKBQeagbATZs2bUwkElcT0XsbbGPo1H8NgmB7oVDA4tTqKpVKpSb6+vreycxg1ILLDf5206qh3nxNdglb+SkRuS0IglumpqaQdQfAq7a4AD6ptT4tl8vd1YRC5o0bNx6VTCYB4B+uYkywbX8qIp93XffeSARR/YB+27bhq52klILUwfntKKMsQvn9FRF9fX5+/vtzc3MzqyEYB0BYBvhId2itvx4EAcSf+vv799s2nueBfyyWZaWVUh9k5r8motEVJABG6X4ROd91XdRZ9pO8VCq1pq+v7z3MfCozQ+oOKofbbG+Ue7+Bwlkul3tuJd0YC0CjkKGMoYhXq58CxHUi8nIiGq4nfWb7YIKfdxznO7XbZt26deuGhoZOBHjGkleNQqPd1e7fYUye11r/MxFd7rru4/VAjAtgu5Nbfl5EUCK9dm5u7uL5+fn9FmP9+vWjQ0NDJxHR3xFRJo4v2e5EzfxuKZfLF05PTz9ZO15PAYQ/ycz/JiKn16nwDdq2fQLcHyLa3AvwqmCBuUpE31xaWrpo79692NrLrdcATonIea7rfrNm61q2bf+pUuoyInpdHPCMasBhGlhSuDfQmw3dm5Uk1vCnr1hcXLxq3759s9V+PQPQpKK+JyKfchwHunS5pVKpI/r7+wHeu+O4KCZSQux8GxE9KSJHw5k3aatYIBoL/YyInOM4zq3VeLlnABJRHkzQycnJ7xIRUk9hg8Xt7+8/nZnPhI8XQ4dB+ee11n8/Pz//nbGxsQXf98FOgB7dysxrYowZPgLrzMzIBGHRYVR6k43BRJCSCoLglKmpKcS7yzsinU6/lZnhMyK6aFlajF79eRAEn8zn8w9XB85kMojHr2Hm34sLoHlun9b6Ut/3vzo9Pb3QKwl8vlKpXKq1vqpQKCACCBus7uDg4PnM/ElT0235W832vZuZT5mcnAR7LGy2bb9BKXUjMx/V8qCRB8z4/x4EwbZCofBgLwCEOkEQf6rruj+ORhypVOqY/v5+JChiGQ6zzeCU7xaRU1zXRTgWtomJiTdZlnV9uwCad+w1EdMuALiHmVEX6EozXv6dlUrl1Hw+D0Uftmw2C0t5MhF9waShYs3HSMhPDICPRgA81gB4ZKyB938IYedtvu+f2wsAEQZ+bXFx8UtRd2Djxo2bksnkTiJ6XxzLW/2+VQDsmASaSOwJrfXpAPBZZkao1ZUmItNE9DnHcW4ioqWIjjpGKXUDM7++TX8NW7ieBHYSQFhkbOMvdx1AkzKCG3BnJGmQTKfT72fmf2DmuHztcC26JIFhQoWZbwWAz5hMcVckkIge9H1/a6FQ+GX1hbhugIhOUUqdF9P3W557FwFEbeWX3QYQFhi5vo9UHVF8Oa4cGBgYONekq1Dgjt1WAtC27WMsy4LaeF3swfd/MDxfDACfNoz2Do278jDGyb1raWnpo8ViEacDwjY6Orp+ZGTkImb+SKQIFGs+BsAD3BhTVrieiFAGaNlBrzcZEXmu6wAS0Q/L5fLHpqenEcqFLZPJ4LT8l03StRVG6QHfVQUQznjUkUYyIZPJHM/MnxORV3YIxHwvALyzXC6fVAsgikhEdEKLlNwVBEMe0lpvq+Vwm9tJ8A5ccdCJFFmuqwAa/2m31vqjuVwOdd6wIes8MjKynYiQPK3WcWNtYTyEJKiI3Fguly8pFos4CLTcEC4ODw+DgH4WiEXtSCLYEpzNZlHTeEXs2bb2IDIlD1Qqlb/J5XKPVB81GZizwYpqJ1tSHS/C4b7W9/2dU1NTheg0sWDDw8N/206m26S3HgSAyIa8sjUc2ur9sNb6467rouYbNoRxWuutSimEcRvaGv3/H8Y3gqJWF0QYruHh4Y8ppc4A3S2GJKIEe0/XAQSrX2v96Vwud3vEkU6k0+k/Z+YrO+yTVkH8x3K5vDOqd4HzmjVrxkZHR7cS0WmtgmhqJf8EAFEo2dKhVW84DEiPRLTdcZxrDc0ifCadTh/BzLuY+c3thHJ1JrAqiOl0OsXMHweIoIQ0+24RQTnigl4AiPgXRevzo0XrtWvXbli7di0s8Yc6YIlrcQSIqPhdVy6Xv1IriRMTE+OJROJUEcHdYSAlreonGh0LTs2negFgGOx7nretWCwu5+vAW85ms8eLyOVGEhpKc4sdQhBF5Hrf96+sBdFkg04jIiRzwepaDcQlEbnJ87xQApG1/d0WJ9NWdxHZo7U+I5fL3RFlIYyPj78qmUwiI/NHMQ/KNJpXFcQbIInRaAgPZjIZXP+CiOj4BrvA1Vqf6bruLfADn2DmbgMIP21nqVS6JJoTNEmFbcwMKlycglIjAPF3gDgDSawDospkMrjJbudKu8BUE8Hi+nShUHgaAD5ubi5q5uUd6WPCrft93z95amrqN9FBJyYmXmNZ1leJ6G0HSQqXQWRmsF6vjBTL+9Pp9AnMfOkK54zhx7pBEJyXz+dRTfR6AqD5ApActzPz1yYnJ8GzqbbwI5RSFxER2K0dCfxXsM6YAxiwN1qWNWtu8DzDXH9ajzIX3mzked551QinlwBq3BwJyxeNSvChRqFfwMwfJiLkCg9mA/v1ca01EqS4ZyFdr6RgMkn/Ad3tuu4vqkQjGBHUTnE89GCt9GofP6u13rG0tHRFDSuUbds+2rKsi0XkuHZqJE0iHz1LcsAjxm15Grd8Oo6DgzjLxEtIIE6dv6XTZMVmJm7iyUfMqt5dQ6q0MpnMn2Cbmy3VUTJlM/MzfQAuTj3tKJVK19XSfwEg6rAfYOaDvVVWmjNiyluDIDgXVq2mE2ol7wJDS0RwgLotKm8LoIVdzQLncTp/bm7u6lr6HfrgClBQZr/UxuU7rc6rXn8o8yvn5+e/Uufevj7bto9TSp0N//AgRCl152/q188CPCLatdLRL/CXtySTyS8y8we6NbnaGRsdA+f6wlwuh+vnao9ZJTKZzBtFBPHqO5GxiZE9aWWhcYARt/leWyqVbl+NtR8ewLNt+61KqYsNCbwnusZYuUe11ttd1wUtbblmbL4c83yZUur9iJcNSajTageMAxxivCMIgm8UCgWAuCpTv2p5k7ZtvwPbxBgUZIW7bpWNg/1brfUlQRDcDvZTrdhs2rRp2LKsP2BmAPluo3rq8q+bFLnwyBoRITr5hYjcXKlUdhcKBRAAGh66iYKUsG37KFTGzDZBXIhTRt0idVcVN2i/IDJe5XnezcViEcUnJCCijUdHR0E+PxJHHqAbcYm4OTMyICLWSvM26gKnAAAamGFI+f9KRO70PO9ne/fuhQQu8xUbLUKtlPH4+Dg4KrhLH6v7WnO/dNe2NSqOIgJr+5TW+mqt9a1RClw9IEdGRjbjvK9S6hiT2xwzpwPWosZi9CUAg0TjsCKMFnTug8z8gOd5jxSLRUhc08BV5/G/Lqj3To34RlUAAAAASUVORK5CYII=",alt:""},null,-1),$a=[Xa],Va={key:1},Ka={class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 4xl:grid-cols-5 gap-4"},ir=Oe({__name:"index",setup(t){const e=P(null),i=hn(),s=dn(),o=li(),n=L(()=>o.isLogin),r=L(()=>o.userBalance),l=L(()=>r.value.sumDrawMjCount||0),a=L(()=>r.value.sumModel3Count||0),h=L(()=>r.value.sumModel4Count||0),f=L(()=>{switch(y.value){case 1:return a.value;case 2:return h.value;case 3:return l.value;default:return 0}}),u=ri(),p=P(0),y=P(3),M=L(()=>u.theme),O=L(()=>M.value==="dark"?"#fff":"#000"),N=hi();ci();const{isMobile:$}=un(),ft=P("/api/upload/file");let dt=!1,it=null;const Ct=P("9:16"),nt=P("MJ"),K=P("6.0");P(0);const H=P("1"),ct=P(100),st=P(0),X=P(""),ht=P(""),tt=P([]),ot=P(0),Mt=P(!1),g=P(!1),w=P(!1),A=P([]),q=P(12),Z=P(!0),B=P(0),T=P(1),Y=L(()=>!X.value||g.value||w.value||qt.value),gt=P("");let yt;mn(n,async(z,I)=>{z&&!I&&await Yt()});const Et=L(()=>B.value>q.value),Ft=[{aspect:"1:1",width:"100%",height:"100%"},{aspect:"4:3",width:"100%",height:"75%"},{aspect:"3:4",width:"75%",height:"100%"},{aspect:"16:9",width:"100%",height:"57%"},{aspect:"9:16",width:"57%",height:"100%"}];L(()=>[{label:m("draw.defaultStyle"),value:0},{label:m("draw.expressiveStyle"),value:"expressive"},{label:m("draw.cuteStyle"),value:"cute"},{label:m("draw.scenicStyle"),value:"scenic"}]);const Nt=L(()=>[{label:m("draw.standardQuality"),value:".25"},{label:m("draw.generalQuality"),value:".5"},{label:m("draw.highDefinitionQuality"),value:"1"},{label:m("draw.ultraHighDefinitionQuality"),value:"2"}]),ki=L(()=>nt.value==="MJ"?[{label:"6.0",value:"6.0"},{label:"5.2",value:"5.2"},{label:"5.1",value:"5.1"},{label:"5",value:"5"},{label:"4",value:"4"}]:nt.value==="NIJI"?[{label:"6",value:"6"},{label:"5",value:"5"},{label:"4",value:"4"}]:[]),Ei=[{name:"MJ",img:Rn,val:"mj"},{name:"NIJI",img:In,val:"niji"}],De=L(()=>z=>Ct.value===z),Ti=L(()=>z=>nt.value===z);function ji(z){var S;const I=(S=z==null?void 0:z.target)==null?void 0:S.files[0];Pe(I)}function Di(z){z.preventDefault();const I=z.dataTransfer.files[0];Pe(I)}async function Pe(z){yt=z;const I=new FileReader;I.onload=S=>{var et;gt.value=(et=S.target)==null?void 0:et.result},I.readAsDataURL(z)}async function Pi(){const z=await gn();A.value=z.data.filter(I=>I.status)}async function _i(){const z=await Le({page:1,size:q.value}),{rows:I,countQueue:S,count:et}=z.data;tt.value=I||[],B.value=et,ot.value=S||0}async function Hi(){const z=s.query.mjId;if(!z)return;const I=await vn({id:z});I.success&&(X.value=I.data,T.value=0,Z.value=!0)}async function Bi(){if(!X.value)return N.warning(m("draw.enterDescription"));w.value=!0;try{const z=Number(o.globalConfig.mjUseBaiduFy)===1?qe:Ue,I=Number(o.globalConfig.mjUseBaiduFy)===1?{text:X.value}:{prompt:X.value},S=await z(I);if(!S.success)return N.error(m("draw.optimizationFailed"));X.value=S.data,w.value=!1}catch{w.value=!1}}const qt=P(!1);async function Wi(){if(!X.value)return N.warning(m("draw.enterDescription"));qt.value=!0;try{const z=Number(o.globalConfig.mjUseBaiduFy)===1?qe:Ue,I=Number(o.globalConfig.mjUseBaiduFy)===1?{text:ht.value}:{prompt:ht.value},S=await z(I);if(!S.success)return N.error(m("draw.optimizationFailed"));ht.value=S.data,qt.value=!1}catch{qt.value=!1}}function Li(z){const I=/--\w+\s\S+/g;return z.replace(I,"")}function Ui(){if(!T.value)return"";let z="";return ht.value&&(z+=` --no ${ht.value}`),nt.value==="MJ"&&K.value&&(z+=` --v ${K.value}`,z+=` --s ${ct.value}`),nt.value==="NIJI"&&K.value&&(z+=` --niji ${K.value}`),z+=` --ar ${Ct.value}`,z+=` --c ${st.value}`,z+=` --q ${H.value}`,z}async function Fi(){var S;const z=new FormData;yt&&z.append("file",yt);const I=await di.post(ft.value,z,{headers:{"Content-Type":"multipart/form-data"}});return(S=I==null?void 0:I.data)==null?void 0:S.data}function Ni(z){const{prompt:I,aspect:S,isCarryParams:et}=z;X.value=I,S&&(Ct.value=S),T.value=et?1:0}async function qi(){let z="";(gt.value||yt)&&(z=await Fi());const I=Ui();T.value&&(X.value=Li(X.value)),await Ot({prompt:X.value,imgUrl:z,extraParam:I,action:"IMAGINE"}),yt&&(yt=null),gt.value="",Z.value&&(T.value=1,Z.value=!1),N.success(m("draw.submitDrawingTaskSuccess")),o.token&&await _e(),!dt&&Yt()}async function Yt(){dt=!0;const z=await Le({page:1,size:q.value}),{rows:I,countQueue:S,count:et}=z.data;tt.value=I||[],B.value=et,ot.value=S||0,tt.value.filter(ce=>[1,2].includes(ce.status)).length?it=setTimeout(()=>Yt(),3e3):dt=!1}fn(()=>{clearTimeout(it)});const le=L(()=>tt.value.filter(z=>[1,2].includes(z.status)));function Yi(){i.push("/market")}function Xi(z){nt.value=z,z==="MJ"&&(K.value="6.0"),z==="NIJI"&&(K.value="6")}async function _e(){Mt.value=!0;try{await o.getUserInfo(),Mt.value=!1}catch{Mt.value=!1}}return pn(async()=>{const z=await zn();z&&(p.value=z.data.deduct,y.value=z.data.deductType),Yt(),Hi(),Pi();const I=document.getElementById("footer");new IntersectionObserver((et,Qt)=>{et.forEach(ce=>{ce.isIntersecting&&Et.value&&(q.value=q.value+12,_i())})}).observe(I)}),(z,I)=>(R(),E("div",no,[d("div",so,[d("div",oo,[c($)?(R(),E("h3",ao,v(c(m)("draw.professionalDrawing")),1)):j("",!0),d("div",ro,[d("div",lo,v(c(m)("draw.imageSize")),1),d("div",co,[b(c(Rt),{placement:"right-end",trigger:"hover"},{trigger:x(()=>[b(c(rt),{icon:"ri:error-warning-line",class:"text-base"})]),default:x(()=>[k(" "+v(c(m)("draw.parameterExplanation")),1)]),_:1})])]),d("div",ho,[(R(),E(Ht,null,Bt(Ft,(S,et)=>d("button",{key:et,class:"flex-1 p-[2px] rounded-md",onClick:Qt=>Ct.value=S.aspect},[d("div",{class:Xt(["border-2 border-gray-300 box-borde rounded-md dark:bg-black flex flex-col items-center",[De.value(S.aspect)?"aspect-active":"",c($)?"py-3":"py-2"]])},[d("div",mo,[d("div",{class:Xt(["border-gray-300 rounded border-2",[De.value(S.aspect)?"aspect-active":""]]),style:bn({width:S.width,height:S.height})},null,6)]),d("div",fo,v(S.aspect),1)],2)],8,uo)),64))]),d("div",po,[d("div",go,v(c(m)("draw.modelSelection")),1),d("div",vo,[b(c(Rt),{placement:"right-end",trigger:"hover"},{trigger:x(()=>[b(c(rt),{icon:"ri:error-warning-line",class:"text-base"})]),default:x(()=>[d("div",bo,[d("p",null,v(c(m)("draw.tooltipMJ")),1),d("p",null,v(c(m)("draw.tooltipNIJI")),1)])]),_:1})])]),d("ul",wo,[(R(),E(Ht,null,Bt(Ei,(S,et)=>d("li",{key:et,class:Xt(["flex border-[3px] border-transparent justify-center items-center rounded-md m-1 m-bg-gradient",[Ti.value(S.name)?"model-active":""]]),onClick:Qt=>Xi(S.name)},[d("button",xo,[d("div",Ao,[d("div",zo,v(S.name),1)]),d("img",{src:S.img,class:"rounded aspect-[3/1] w-full object-cover"},null,8,Ro)])],10,yo)),64))]),d("div",Io,[d("div",So,[d("span",Co,v(c(m)("draw.version")),1),d("span",Mo,[b(c(Ne),{value:K.value,"onUpdate:value":I[0]||(I[0]=S=>K.value=S),size:"small",options:ki.value},null,8,["value","options"])])]),d("div",Oo,[k(v(c(m)("draw.parameters"))+" ",1),b(c(Rt),{placement:"right-end",trigger:"hover"},{trigger:x(()=>[b(c(rt),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:x(()=>[d("div",ko,[d("p",null,v(c(m)("draw.parameters")),1)])]),_:1})]),d("div",Eo,[d("span",To,v(c(m)("draw.quality")),1),d("span",jo,[b(c(Ne),{value:H.value,"onUpdate:value":I[1]||(I[1]=S=>H.value=S),size:"small",options:Nt.value},null,8,["value","options"])])]),d("div",Do,[d("span",Po,v(c(m)("draw.chaos")),1),d("span",_o,[b(c(Fe),{value:st.value,"onUpdate:value":I[2]||(I[2]=S=>st.value=S),min:0,max:100,size:"small"},null,8,["value"])]),b(c(Rt),{placement:"right-end",trigger:"hover"},{trigger:x(()=>[b(c(rt),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:x(()=>[d("div",Ho,[d("p",null,v(c(m)("draw.chaosDescription")),1),d("p",null,v(c(m)("draw.chaosExplanation")),1),d("p",null,v(c(m)("draw.chaosAdvice")),1)])]),_:1})]),nt.value==="MJ"?(R(),E("div",Bo,[d("span",Wo,v(c(m)("draw.stylization")),1),d("span",Lo,[b(c(Fe),{value:ct.value,"onUpdate:value":I[3]||(I[3]=S=>ct.value=S),min:0,max:1e3,size:"small"},null,8,["value"])]),b(c(Rt),{placement:"right-end",trigger:"hover"},{trigger:x(()=>[b(c(rt),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:x(()=>[d("div",Uo,[d("p",null,v(c(m)("draw.stylizationDescription")),1),d("p",null,v(c(m)("draw.parameterExplanation1")),1)])]),_:1})])):j("",!0),d("div",Fo,v(c(m)("draw.setting")),1),d("div",No,[d("span",qo,v(c(m)("draw.carryParameters")),1),d("span",Yo,[b(c(An),{value:T.value,"onUpdate:value":I[4]||(I[4]=S=>T.value=S),size:"small","checked-value":1,"unchecked-value":0},null,8,["value"])]),b(c(Rt),{placement:"right-end",trigger:"hover"},{trigger:x(()=>[b(c(rt),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:x(()=>[d("div",Xo,[d("p",null,v(c(m)("draw.autoCarryParameters")),1),d("p",null,v(c(m)("draw.carryOn")),1),d("p",null,v(c(m)("draw.carryOff")),1)])]),_:1})])]),d("div",$o,[d("div",Vo,v(c(m)("draw.imageToImage")),1),d("div",Ko,[d("div",Qo,[d("div",Zo,[gt.value?j("",!0):(R(),E("label",Go,[d("div",{class:"upload cursor-pointer",onDragover:I[6]||(I[6]=ie(()=>{},["prevent"])),onDragenter:I[7]||(I[7]=ie(()=>{},["prevent"])),onDragleave:I[8]||(I[8]=ie(()=>{},["prevent"])),onDrop:Di},[d("input",{id:"upload-file",type:"file",accept:".png, .jpg, .jpeg",style:{display:"none"},onChange:I[5]||(I[5]=S=>ji(S))},null,32),d("div",Jo,[ta,d("p",ea,v(c(m)("draw.clickOrDrag")),1),d("p",ia,v(c(m)("draw.supportFormats")),1)])],32)])),gt.value?(R(),E("div",na,[d("img",{src:gt.value,alt:""},null,8,sa),d("img",{class:"absolute bottom-1 right-1 cursor-pointer",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAD0klEQVRIiY2WS2xWRRTHf/+ZryimPqLhocEAMbrQqBvYK4G2ArJxw0YxqLSo3bgQceFKo4mJywoYUBFZAilNRKVEN8ZoF2xYoiUhaSISExsVtJxj5n5z+917ez/xTk7uPM+Z8/qf0cnxWQxhru6/ToOOHja02dAGQ+sN3WNIjn4zdNHQjKNpQxcMzTsUPDzzKceaHP+5x7wnbJmhJw2NGtqWxzUGVXL0t6EvDQ5kodebgjqh6OZPgLMK2A+MAreSp0sy6l+eWwY8DYw4HALecZgjC0kyOrGrWG7hfokJwXZ5f+ZV4d01L0ZCAwavAA847AVmy9WQpGVaFbCJgG0PGEFG8a9QrFB9zYk9PolGAn4g4PeV6yF2N90S8X0R357HXVKlX2dUoz5rwwF/M+DLi3GWuCngr7ZstiC/0WTapECxx6p7un3bG/EtpUa3RWw0YgOxbh6P2LGIvR7lc6V2LZe5EvD9Af844jfqZvXkmpcDfnvqPBLwoRYGCwH/IeAfBGwsYL9U/ZYv82ssbm3vR+y7gFmLSZO1Hu9EfEiwXI0wFgwI3hBcEkwK/hIclVidItLgCrAbmAKGgLeAgaURWcwNJR9taEZXhdYE/EjW+OuAvxDw+Sj/M8r3RHwq4psi/mnE1/YLmohvTBqtb9GmQrZC6DOhF4VOCz1nqAM6hTSC6wiE1S2plnl4ytR1CRnubtvUSMyVguOCXYITeW5HNuWd8mrS95otXpfBJEil5AQWTY0qqBCBDm1j5fTvf1klCEoovKbHti4qt6tCe4ROCG1NUCN0UoSdgsOFxsonfKn5DeaTRj8BjzbBs7LpKvB8jq4twOdZk51gU6BnQcdAK7p3F/gSTrMpj2b+A2LmAovR9UTEP4n4XREfjPjhiA9H/KuI74745X7QFfGZhAwpbK/Xw7FIxoWIvRexEwF7KmDHA9YDyQKE/WjAdwR8KuNaj48W+f2TUiOZ7gJwFnxb6ZFutBCAx+jC/j7g3krIl75bKXRQaK3Qg0KdSskh++0bOed1cfz7dGyro0lDsVE5zbrUaSnzVVpI5b15Pp99xtCpsh6dC/hEE6EzKHZuht4RT4kfW+Y/Sq5J/YKJ4JrBu8BDguF6RfU+SdiPQnnwHPA28AeNCpsibCzgZ3ItySjdv9i1UxFI0xF7KWKXy7ITGgxmA747YB+mMtEU8j+qbSoThwK+K+Vnda0wXTJVqXB+vbwm+MJgLJeAzk0eKQuCacFBwZlcUmrGXXxulVDl3RfNNYfTwLcpxAWbDTYC68DvyP6aF7pk6EfQWdB50O+tvkP8C8uzPO7HeTXiAAAAAElFTkSuQmCC",onClick:I[9]||(I[9]=S=>gt.value=null)})])):j("",!0)])])])]),d("div",oa,[d("div",aa,[d("span",ra,[k(v(c(m)("draw.remainingPoints"))+"(",1),d("b",la,v(f.value),1),k(" "+v(c(m)("draw.points"))+")",1)]),d("span",ca,[b(c(W),{text:"",size:"tiny",type:"primary",loading:Mt.value,onClick:_e},{default:x(()=>[k(v(c(m)("draw.refresh")),1)]),_:1},8,["loading"]),b(c(Rt),{placement:"right-end",trigger:"hover"},{trigger:x(()=>[b(c(rt),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:x(()=>[k(" "+v(c(m)("draw.accountInfo")),1)]),_:1})])]),d("div",ha,[d("div",da,[d("span",ua,v(c(m)("draw.paintingSingleUse")),1),d("span",ma,v(p.value*4)+v(c(m)("draw.points")),1)]),d("div",fa,[d("span",pa,v(c(m)("draw.imageGenerationSingleUse")),1),d("span",ga,v(p.value*4)+v(c(m)("draw.points")),1)]),d("div",va,[d("span",ba,v(c(m)("draw.enlargementSingleUse")),1),d("span",wa,v(p.value)+v(c(m)("draw.points")),1)])])])]),d("div",{class:Xt(["h-full flex-1",[c($)?"":"overflow-y-auto overflow-hidden"]])},[d("div",ya,[d("div",xa,[c($)?j("",!0):(R(),E("h3",Aa,v(c(m)("draw.professionalDrawing")),1)),d("div",null,[d("div",za,[d("b",null,v(c(m)("draw.submitDrawingTask")),1),Number(c(o).globalConfig.mjHideNotBlock)!==1?(R(),E("div",Ra,[b(c(xe),null,{default:x(()=>[b(c(W),{type:"primary",loading:w.value,onClick:Bi},{icon:x(()=>[b(c(rt),{icon:"material-symbols:mindfulness-outline-rounded",class:"text-base"})]),default:x(()=>[k(" "+v(c(m)("draw.optimize")),1)]),_:1},8,["loading"])]),_:1})])):j("",!0)]),d("div",Ia,[b(c(Ae),{value:X.value,"onUpdate:value":I[10]||(I[10]=S=>X.value=S),clearable:"",type:"textarea",disabled:g.value||w.value,autosize:{minRows:3,maxRows:6},placeholder:c(m)("draw.enterDrawingKeywords")},null,8,["value","disabled","placeholder"]),Number(c(o).globalConfig.mjHideNotBlock)!==1?(R(),E("div",Sa,[d("div",Ca,[d("b",null,v(c(m)("draw.unnecessaryElements")),1),b(c(W),{type:"primary",loading:qt.value,onClick:Wi},{icon:x(()=>[b(c(rt),{icon:"material-symbols:mindfulness-outline-rounded",class:"text-base"})]),default:x(()=>[k(" "+v(c(m)("draw.optimize")),1)]),_:1},8,["loading"])]),b(c(Ae),{value:ht.value,"onUpdate:value":I[11]||(I[11]=S=>ht.value=S),type:"textarea",rows:1,placeholder:c(m)("draw.exclusionPrompt")},null,8,["value","placeholder"])])):j("",!0)]),A.value.length?(R(),E("div",{key:0,class:Xt(["w-full dark:bg-transparent",c($)?"py-3":"py-6"])},[b(c(wn),{"x-scrollable":""},{default:x(()=>[d("div",Ma,[(R(!0),E(Ht,null,Bt(A.value,(S,et)=>(R(),F(c(W),{key:et,size:"small",onClick:Qt=>Ni(S)},{default:x(()=>[k(v(S.title),1)]),_:2},1032,["onClick"]))),128))])]),_:1})],2)):j("",!0),d("div",Oa,[b(c(W),{type:"primary",loading:!1,disabled:Y.value,onClick:I[12]||(I[12]=S=>qi())},{icon:x(()=>[b(c(rt),{icon:"ri:ai-generate",class:"text-base"})]),default:x(()=>[k(" "+v(c(m)("draw.submitTask")),1)]),_:1},8,["disabled"])])])]),d("div",ka,[Number(c(o).globalConfig.mjHideNotBlock)!==1?(R(),E("div",Ea,[d("div",Ta,[d("span",ja,[k(v(c(m)("draw.workingContents"))+" ",1),ot.value?(R(),E("span",Da,v(c(m)("draw.currentTasks"))+" ["+v(ot.value)+"]",1)):j("",!0)])]),le.value.length?j("",!0):(R(),E("div",Pa,[d("img",{class:"w-18",src:c(Sn)},null,8,_a),d("span",Ha,[b(c(W),{text:"",size:"small",onClick:Yi},{default:x(()=>[k(v(c(m)("draw.goToAIDrawingSquare")),1)]),_:1})])])),le.value.length?(R(),E("div",Ba,[d("div",Wa,[b(ui,{"text-color":O.value},null,8,["text-color"])]),d("p",La,v(le.value.length)+v(c(m)("draw.tasksInProgress")),1)])):j("",!0)])):j("",!0),d("div",Ua,[d("div",Fa,[d("span",Na,[k(v(c(m)("draw.myDrawings"))+" ",1),d("span",qa,"["+v(tt.value.length)+"]",1)])]),!tt.value||!tt.value.length?(R(),E("div",Ya,$a)):j("",!0),tt.value&&tt.value.length?(R(),E("div",Va,[d("div",Ka,[(R(!0),E(Ht,null,Bt(tt.value,S=>(R(),F(io,{key:S.id,"draw-item-info":S,onQueryData:Yt},null,8,["draw-item-info"]))),128))])])):j("",!0)]),d("div",{id:"footer",ref_key:"containerRef",ref:e},null,512)])])],2)])]))}});export{ir as default}; diff --git a/public/assets/index-696013f1.css b/public/assets/index-696013f1.css new file mode 100644 index 0000000..19b84c9 --- /dev/null +++ b/public/assets/index-696013f1.css @@ -0,0 +1,10 @@ +html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}html .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .markdown-body.markdown-body-generate>dd:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dl:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dt:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h1:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h2:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h3:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h4:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h5:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h6:last-child):after,:is(.dark .markdown-body.markdown-body-generate>li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ol:last-child li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>p:last-child):after,:is(.dark .markdown-body.markdown-body-generate>pre:last-child code):after,:is(.dark .markdown-body.markdown-body-generate>td:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ul:last-child li:last-child):after{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{border-radius:50%;animation:breathes 2s infinite ease-in-out;vertical-align:middle}@keyframes breathes{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}@keyframes blink{to{visibility:hidden}}html,body,#app{height:100%}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}* :focus{outline:none}/*! + Theme: GitHub Dark + Description: Dark theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-dark + Current colors taken from GitHub's CSS +*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1750px){.container{max-width:1750px}}@media (min-width: 1870px){.container{max-width:1870px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-4{right:-1rem}.-right-8{right:-2rem}.-top-3{top:-.75rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-\[350px\]{bottom:350px}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.left-5{left:1.25rem}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-6{top:1.5rem}.top-full{top:100%}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-1{margin:.25rem}.m-auto{margin:auto}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.-mb-4{margin-bottom:-1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[20px\]{margin-bottom:20px}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-\[8px\]{margin-left:8px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-\[-1px\]{margin-right:-1px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[50px\]{margin-top:50px}.box-border{box-sizing:border-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-\[3\/1\]{aspect-ratio:3/1}.h-1\/2{height:50%}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-20{height:5rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[100vh\]{height:100vh}.h-\[10vh\]{height:10vh}.h-\[130px\]{height:130px}.h-\[160px\]{height:160px}.h-\[220px\]{height:220px}.h-\[280px\]{height:280px}.h-\[400px\]{height:400px}.h-\[580px\]{height:580px}.h-\[600px\]{height:600px}.h-full{height:100%}.h-screen{height:100vh}.max-h-16{max-height:4rem}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-28{min-height:28px}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.min-h-\[350px\]{min-height:350px}.min-h-\[4rem\]{min-height:4rem}.min-h-\[500px\]{min-height:500px}.min-h-\[80vh\]{min-height:80vh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[150px\]{width:150px}.w-\[200\]{width:200}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[228px\]{width:228px}.w-\[230px\]{width:230px}.w-\[280px\]{width:280px}.w-\[300px\]{width:300px}.w-\[55px\]{width:55px}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[65px\]{width:65px}.w-\[75px\]{width:75px}.w-\[80vw\]{width:80vw}.w-auto{width:auto}.w-full{width:100%}.w-sider{width:60px}.min-w-0{min-width:0px}.min-w-12{min-width:3rem}.min-w-\[120px\]{min-width:120px}.min-w-\[350px\]{min-width:350px}.min-w-\[35vw\]{min-width:35vw}.min-w-\[8rem\]{min-width:8rem}.max-w-3xl{max-width:48rem}.max-w-48{max-width:12rem}.max-w-60{max-width:15rem}.max-w-\[500px\]{max-width:500px}.max-w-\[80vw\]{max-width:80vw}.max-w-\[95vw\]{max-width:95vw}.max-w-full{max-width:100%}.max-w-screen-4xl{max-width:1870px}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.origin-bottom-right{transform-origin:bottom right}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.resize-none{resize:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-10{row-gap:2.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[3px\]{border-width:3px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-\[\#00000014\]{border-color:#00000014}.border-\[\#ebebeb\]{--tw-border-opacity: 1;border-color:rgb(235 235 235 / var(--tw-border-opacity))}.border-\[\#ffffff17\]{border-color:#ffffff17}.border-\[ced4da\]{border-color:ced4da}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-b-gray-100{--tw-border-opacity: 1;border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-t-gray-100{--tw-border-opacity: 1;border-top-color:rgb(243 244 246 / var(--tw-border-opacity))}.bg-\[\#19C37D\]{--tw-bg-opacity: 1;background-color:rgb(25 195 125 / var(--tw-bg-opacity))}.bg-\[\#2C9EFF\]{--tw-bg-opacity: 1;background-color:rgb(44 158 255 / var(--tw-bg-opacity))}.bg-\[\#3CD38E\]{--tw-bg-opacity: 1;background-color:rgb(60 211 142 / var(--tw-bg-opacity))}.bg-\[\#AB68FF\]{--tw-bg-opacity: 1;background-color:rgb(171 104 255 / var(--tw-bg-opacity))}.bg-\[\#FF9600\]{--tw-bg-opacity: 1;background-color:rgb(255 150 0 / var(--tw-bg-opacity))}.bg-\[\#f78400\]{--tw-bg-opacity: 1;background-color:rgb(247 132 0 / var(--tw-bg-opacity))}.bg-\[\#fafafa\]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-\[\#fafafc\]{--tw-bg-opacity: 1;background-color:rgb(250 250 252 / var(--tw-bg-opacity))}.bg-\[\#fff\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/40{background-color:#0006}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-center{background-position:center}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-\[10px\]{padding:10px}.p-\[2px\]{padding:2px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-20{padding-left:5rem;padding-right:5rem}.px-24{padding-left:6rem;padding-right:6rem}.px-28{padding-left:7rem;padding-right:7rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-\[12px\]{padding-left:12px;padding-right:12px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-\[15px\]{padding-bottom:15px}.pl-0{padding-left:0}.pl-12{padding-left:3rem}.pl-2{padding-left:.5rem}.pl-20{padding-left:5rem}.pl-28{padding-left:7rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-\[260px\]{padding-left:260px}.pr-0{padding-right:0}.pr-10{padding-right:2.5rem}.pr-12{padding-right:3rem}.pr-16{padding-right:4rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[20px\]{font-size:20px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-loose{line-height:2}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-\[\#000\]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-\[\#142D6E\]{--tw-text-opacity: 1;color:rgb(20 45 110 / var(--tw-text-opacity))}.text-\[\#3076fd\]{--tw-text-opacity: 1;color:rgb(48 118 253 / var(--tw-text-opacity))}.text-\[\#374151\]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-\[\#444\]{--tw-text-opacity: 1;color:rgb(68 68 68 / var(--tw-text-opacity))}.text-\[\#555\]{--tw-text-opacity: 1;color:rgb(85 85 85 / var(--tw-text-opacity))}.text-\[\#626569\]{--tw-text-opacity: 1;color:rgb(98 101 105 / var(--tw-text-opacity))}.text-\[\#64748b\]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-\[\#707384\]{--tw-text-opacity: 1;color:rgb(112 115 132 / var(--tw-text-opacity))}.text-\[\#95AAC9\],.text-\[\#95aac9\]{--tw-text-opacity: 1;color:rgb(149 170 201 / var(--tw-text-opacity))}.text-\[\#989898\]{--tw-text-opacity: 1;color:rgb(152 152 152 / var(--tw-text-opacity))}.text-\[\#999\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-\[\#cbd5e1\]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-\[\#eee\]{--tw-text-opacity: 1;color:rgb(238 238 238 / var(--tw-text-opacity))}.text-\[\#fff\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-\[000\]{color:000}.text-\[currentColor\]{color:currentColor}.text-\[gray\]{--tw-text-opacity: 1;color:rgb(128 128 128 / var(--tw-text-opacity))}.text-\[red\]{--tw-text-opacity: 1;color:rgb(255 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-primary-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-primary-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-0{outline-width:0px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar-none{scrollbar-width:none}.scrollbar-none::-webkit-scrollbar{display:none}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.focus-within\:ring-2:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary-400:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(129 140 248 / var(--tw-ring-opacity))}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.group:hover .group-hover\:text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.hover\:bg-\[\#666161\]:hover{--tw-bg-opacity: 1;background-color:rgb(102 97 97 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-primary-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-primary-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-primary-600:hover{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-\[\#5A91FC\]:hover{--tw-text-opacity: 1;color:rgb(90 145 252 / var(--tw-text-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover,.hover\:text-primary-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:text-primary-600:hover{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}.focus-visible\:outline-primary-600:focus-visible{outline-color:#4f46e5}:is(.dark .dark\:border-\[\#3a3a40\]){--tw-border-opacity: 1;border-color:rgb(58 58 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-\[\#ffffff17\]){border-color:#ffffff17}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-b-gray-800){--tw-border-opacity: 1;border-bottom-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-gray-800){--tw-border-opacity: 1;border-top-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-neutral-800){--tw-border-opacity: 1;border-top-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:bg-\[\#24272e\]){--tw-bg-opacity: 1;background-color:rgb(36 39 46 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#25272c\]){--tw-bg-opacity: 1;background-color:rgb(37 39 44 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#262629\]){--tw-bg-opacity: 1;background-color:rgb(38 38 41 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#2F2E34\]){--tw-bg-opacity: 1;background-color:rgb(47 46 52 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black\/20){background-color:#0003}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:text-\[\#3076fd\]){--tw-text-opacity: 1;color:rgb(48 118 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#3a71ff\]){--tw-text-opacity: 1;color:rgb(58 113 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#fff\]){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#ffffff73\]){color:#ffffff73}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-600){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-600){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-primary-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 48 163 / var(--tw-ring-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:border-primary-500):hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-\[\#33373c\]:hover){--tw-bg-opacity: 1;background-color:rgb(51 55 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-\[\#414755\]:hover){--tw-bg-opacity: 1;background-color:rgb(65 71 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary-800:hover){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-500:hover){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary-600:hover){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:ring-gray-600:hover){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-primary-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 48 163 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:mx-auto{margin-left:auto;margin-right:auto}.sm\:block{display:block}.sm\:w-\[20rem\]{width:20rem}.sm\:w-\[300px\]{width:300px}.sm\:w-full{width:100%}.sm\:max-w-sm{max-width:24rem}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:pt-4{padding-top:1rem}.sm\:pt-6{padding-top:1.5rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:h-14{height:3.5rem}.md\:max-w-\[40rem\]{max-width:40rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:m-0{margin:0}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:justify-between{justify-content:space-between}.lg\:p-6{padding:1.5rem}.lg\:pt-0{padding-top:0}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1750px){.\33xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1870px){.\34xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(./KaTeX_AMS-Regular-0cdd387c.woff2) format("woff2"),url(./KaTeX_AMS-Regular-30da91e8.woff) format("woff"),url(./KaTeX_AMS-Regular-68534840.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(./KaTeX_Caligraphic-Bold-de7701e4.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-1ae6bd74.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-07d8e303.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(./KaTeX_Caligraphic-Regular-5d53e70a.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-3398dd02.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-ed0b7437.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(./KaTeX_Fraktur-Bold-74444efd.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-9be7ceb8.woff) format("woff"),url(./KaTeX_Fraktur-Bold-9163df9c.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(./KaTeX_Fraktur-Regular-51814d27.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-5e28753b.woff) format("woff"),url(./KaTeX_Fraktur-Regular-1e6f9579.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(./KaTeX_Main-Bold-0f60d1b8.woff2) format("woff2"),url(./KaTeX_Main-Bold-c76c5d69.woff) format("woff"),url(./KaTeX_Main-Bold-138ac28d.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(./KaTeX_Main-BoldItalic-99cd42a3.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-a6f7ec0d.woff) format("woff"),url(./KaTeX_Main-BoldItalic-70ee1f64.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(./KaTeX_Main-Italic-97479ca6.woff2) format("woff2"),url(./KaTeX_Main-Italic-f1d6ef86.woff) format("woff"),url(./KaTeX_Main-Italic-0d85ae7c.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(./KaTeX_Main-Regular-c2342cd8.woff2) format("woff2"),url(./KaTeX_Main-Regular-c6368d87.woff) format("woff"),url(./KaTeX_Main-Regular-d0332f52.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(./KaTeX_Math-BoldItalic-dc47344d.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-850c0af5.woff) format("woff"),url(./KaTeX_Math-BoldItalic-f9377ab0.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(./KaTeX_Math-Italic-7af58c5e.woff2) format("woff2"),url(./KaTeX_Math-Italic-8a8d2445.woff) format("woff"),url(./KaTeX_Math-Italic-08ce98e5.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(./KaTeX_SansSerif-Bold-e99ae511.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-ece03cfd.woff) format("woff"),url(./KaTeX_SansSerif-Bold-1ece03f7.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(./KaTeX_SansSerif-Italic-00b26ac8.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-91ee6750.woff) format("woff"),url(./KaTeX_SansSerif-Italic-3931dd81.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(./KaTeX_SansSerif-Regular-68e8c73e.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-11e4dc8a.woff) format("woff"),url(./KaTeX_SansSerif-Regular-f36ea897.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(./KaTeX_Script-Regular-036d4e95.woff2) format("woff2"),url(./KaTeX_Script-Regular-d96cdf2b.woff) format("woff"),url(./KaTeX_Script-Regular-1c67f068.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(./KaTeX_Size1-Regular-6b47c401.woff2) format("woff2"),url(./KaTeX_Size1-Regular-c943cc98.woff) format("woff"),url(./KaTeX_Size1-Regular-95b6d2f1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(./KaTeX_Size2-Regular-d04c5421.woff2) format("woff2"),url(./KaTeX_Size2-Regular-2014c523.woff) format("woff"),url(./KaTeX_Size2-Regular-a6b2099f.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(./KaTeX_Size3-Regular-6ab6b62e.woff) format("woff"),url(./KaTeX_Size3-Regular-500e04d5.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(./KaTeX_Size4-Regular-a4af7d41.woff2) format("woff2"),url(./KaTeX_Size4-Regular-99f9c675.woff) format("woff"),url(./KaTeX_Size4-Regular-c647367d.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(./KaTeX_Typewriter-Regular-71d517d6.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-e14fed02.woff) format("woff"),url(./KaTeX_Typewriter-Regular-f01f3e87.ttf) format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/public/assets/index-696013f1.css.br b/public/assets/index-696013f1.css.br new file mode 100644 index 0000000..a9be332 Binary files /dev/null and b/public/assets/index-696013f1.css.br differ diff --git a/public/assets/index-79113eb4.js b/public/assets/index-79113eb4.js new file mode 100644 index 0000000..1d8851e --- /dev/null +++ b/public/assets/index-79113eb4.js @@ -0,0 +1,46 @@ +var wt=Object.defineProperty;var _t=(u,s,n)=>s in u?wt(u,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[s]=n;var Ee=(u,s,n)=>(_t(u,typeof s!="symbol"?s+"":s,n),n);import{u as xe,a as se,f as $t,b as tt,c as St,t as m,d as Ct,e as Ie,s as ke,g as It,h as zt,i as Tt,j as Lt,k as Rt,l as Pt,m as nt,n as Mt,p as At,o as Pe,q as Me,r as st,R as Dt,v as Nt,w as Bt,_ as jt,x as Ut,y as Et}from"./index-d64a7cc4.js";import{C as Ae,Q as qe}from"./index-03531f8f.js";import{p as at,e as re,q as De,r as ve,s as it,t as lt,v as we,w as ze,d as rt,x as Oe,y as qt,z as Ne,A as He,B as ot,C as Re,D as Ot,E as Ht,F as Wt,G as Qt,H as Gt}from"./naive-ui-fedd20b1.js";import{d as ne,e as f,S as p,U as C,X as S,W as M,a3 as l,m as We,c as V,a4 as _,M as o,r as N,V as W,a5 as D,H as Be,F as ce,a6 as me,f as Te,k as ae,a7 as ie,a8 as J,o as Vt,n as ct,w as Le,h as Zt,x as Qe,z as Ft,a9 as ut,aa as Jt,P as Xt}from"./vue-10b4afc0.js";import{f as Yt}from"./crami-99ee44eb.js";import{f as dt,a as Kt}from"./order-8be5c617.js";import{u as le}from"./useBasicLayout-a4f17bae.js";import{C as en}from"./Close-d2230b2f.js";import{_ as gt}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{S as tn,U as Ge,M as nn,b as fe,D as sn,A as an,C as ln,a as rn,c as on,L as cn,g as un}from"./menu-19bde8fc.js";import"./vueuse-motion-d4cdaf7b.js";import"./_plugin-vue_export-helper-c27b6911.js";const dn={key:0},gn={key:1},pn=ne({__name:"index",props:{tooltip:{default:""},placement:{default:"bottom"}},emits:["click"],setup(u,{emit:s}){const n=u,e=s,a=f(()=>!!n.tooltip);function i(){e("click")}return(r,c)=>a.value?(p(),C("div",dn,[S(o(at),{placement:r.placement,trigger:"hover"},{trigger:M(()=>[l("button",{onClick:i},[We(r.$slots,"default")])]),default:M(()=>[V(" "+_(r.tooltip),1)]),_:3},8,["placement"])])):(p(),C("div",gn,[l("button",{onClick:i},[We(r.$slots,"default")])]))}}),hn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},fn=l("path",{d:"M53.12 199.94l400-151.39a8 8 0 0 1 10.33 10.33l-151.39 400a8 8 0 0 1-15-.34l-67.4-166.09a16 16 0 0 0-10.11-10.11L53.46 215a8 8 0 0 1-.34-15.06z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),mn=l("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M460 52L227 285"},null,-1),xn=[fn,mn],pt=ne({name:"PaperPlaneOutline",render:function(s,n){return p(),C("svg",hn,xn)}}),yn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},vn=l("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),bn=l("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),kn=l("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M88 176v112"},null,-1),wn=l("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),_n=[vn,bn,kn,wn],$n=ne({name:"PersonAddOutline",render:function(s,n){return p(),C("svg",yn,_n)}}),Sn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Cn=l("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),In=l("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),zn=l("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),Tn=[Cn,In,zn],Ln=ne({name:"PersonRemoveOutline",render:function(s,n){return p(),C("svg",Sn,Tn)}}),Rn={class:"p-5 bg-white rounded dark:bg-slate-800"},Pn={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},Mn=l("span",{class:"ml-[8px]"},"绑定微信账户",-1),An={style:{"white-space":"nowrap"},class:"w-full text-center font-bold text-sm py-5"},Dn={class:"w-[55px] inline-block text-[red] text-left"},Nn={class:"my-2 flex justify-center relative"},Bn=l("span",{class:"flex items-center justify-center text-base py-5"}," 打开微信扫码绑定账户 ",-1),jn=ne({__name:"BindWx",props:{visible:{type:Boolean}},setup(u){const s=xe();let n;const e=N(),a=se(),i=N(!1),r=N(""),c=N(""),d=re();async function y(){const z=await $t();z.success&&(c.value=z.data,k())}async function k(){const z=await tt({sceneStr:c.value});z.success&&(i.value=!0,r.value=z.data,n=setInterval(()=>{x()},1e3))}async function x(){if(!c.value)return;const z=await St({sceneStr:c.value});if(z.data){clearInterval(n);const{status:$,msg:I}=z.data;$?d.success(I):d.error(I),a.getUserInfo(),s.updateBindwxDialog(!1)}}function h(){var z;clearInterval(n),y(),(z=e.value)==null||z.reset()}function g(){y()}function B(){clearInterval(n),r.value="",c.value="",i.value=!1}return(z,$)=>(p(),W(o(De),{show:z.visible,style:{width:"90%","max-width":"700px"},"on-after-enter":g,"on-after-leave":B},{default:M(()=>[l("div",Rn,[l("div",{class:"absolute top-3 right-3 cursor-pointer",onClick:$[0]||($[0]=I=>o(s).updateBindwxDialog(!1))},[S(o(ve),{size:"20",color:"#0e7a0d"},{default:M(()=>[S(o(Ae))]),_:1})]),l("div",Pn,[S(o(ve),{size:"25",color:"#0e7a0d"},{default:M(()=>[S(o(pt))]),_:1}),Mn]),l("div",null,[l("div",An,[l("p",null,[V(" 请在 "),l("span",Dn,[S(o(it),{ref_key:"countdownRef",ref:e,active:i.value,duration:120*1e3,"on-finish":h},null,8,["active"])]),V(" 时间内完成绑定 ")])]),l("div",Nn,[r.value?(p(),W(o(lt),{key:0,"preview-disabled":"",width:"230",src:r.value},null,8,["src"])):(p(),W(o(we),{key:1,height:"230px",width:"230px"})),r.value?D("",!0):(p(),W(o(ze),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"}))]),Bn])])]),_:1},8,["show"]))}}),Un=""+new URL("preferential-0ee5bc79.png",import.meta.url).href,En={class:"p-4 bg-white rounded dark:bg-slate-800 max-h-4/5"},qn={class:"flex cursor-pointer justify-between"},On={class:"text-xl"},Hn={key:0,class:"p-4"},Wn={class:"relative"},Qn=["src"],Gn=["src"],Vn={key:0,class:"flex justify-between items-end min-h-28"},Zn={class:"text-sm font-bold mr-1 w-[120px]"},Fn={class:"font-bold"},Jn={key:1,class:"flex justify-between items-end min-h-28"},Xn={class:"text-sm font-bold mr-1 w-[120px]"},Yn={class:"font-bold"},Kn={key:2,class:"flex justify-between items-end min-h-28"},es={class:"text-sm font-bold mr-1 w-[120px]"},ts={class:"font-bold"},ns={class:"flex justify-between items-end mt-5"},ss={class:"text-xl text-[red] font-bold"},as={key:1,class:"p-4"},is=ne({__name:"GoodsDialog",props:{visible:{type:Boolean}},setup(u){const s=se(),n=xe(),e=N(!0),{isSmallMd:a}=le(),i=N([]),r=re(),c=rt(),d=N(!1),y=f(()=>s.globalConfig.model3Name||m("goods.basicModelQuota")),k=f(()=>s.globalConfig.model4Name)||m("goods.advancedModelQuota"),x=f(()=>s.globalConfig.drawMjName)||m("goods.drawingQuota"),h=f(()=>Number(s.globalConfig.isHideModel3Point)===1),g=f(()=>Number(s.globalConfig.isHideModel4Point)===1),B=f(()=>Number(s.globalConfig.isHideDrawMjPoint)===1),z=f(()=>{var O;const v=window.navigator.userAgent.toLowerCase();return v.match(/MicroMessenger/i)&&((O=v==null?void 0:v.match(/MicroMessenger/i))==null?void 0:O[0])==="micromessenger"}),$=f(()=>{const{payHupiStatus:v,payEpayStatus:O,payMpayStatus:w,payWechatStatus:E,payLtzfStatus:G}=s.globalConfig;return Number(E)===1?"wechat":Number(w)===1?"mpay":Number(v)===1?"hupi":Number(O)===1?"epay":Number(G)===1?"ltzf":null}),I=f(()=>{const{payEpayChannel:v,payMpayChannel:O}=s.globalConfig;return $.value==="mpay"?O?JSON.parse(O):[]:$.value==="epay"?v?JSON.parse(v):[]:$.value==="wechat"?["wxpay"]:$.value==="hupi"?["wxpay"]:$.value==="ltzf"?["wxpay"]:[]});function j(){P(),z.value&&R()}function Q(){i.value=[],e.value=!0}async function R(){const v=window.location.href.replace(/#.*$/,""),O=await Ct({url:v}),{appId:w,nonceStr:E,timestamp:G,signature:A}=O.data;w&&(wx.config({debug:!1,appId:w,timestamp:G,nonceStr:E,signature:A,jsApiList:["chooseWXPay"]}),wx.ready(()=>{}),wx.error(()=>{}))}function q(v){const{appId:O,timeStamp:w,nonceStr:E,package:G,signType:A,paySign:U}=v;WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:O,timeStamp:w,nonceStr:E,package:G,signType:A,paySign:U},ee=>{ee.err_msg==="get_brand_wcpay_request:ok"?(r.success(m("goods.purchaseSuccess")),setTimeout(()=>{s.getUserInfo(),n.updateGoodsDialog(!1)},500)):r.success(m("goods.paymentNotSuccessful"))})}async function H(v){if(!d.value){if(z.value&&$.value==="wechat"&&Number(s.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",q,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",q),document.attachEvent("onWeixinJSBridgeReady",q));else{const O=await dt({goodsId:v.id,payType:"jsapi"}),{success:w,data:E}=O;w&&q(E)}return}n.updateOrderInfo({pkgInfo:v}),n.updateGoodsDialog(!1),n.updatePayDialog(!0)}}async function P(){e.value=!0;try{const v=await Yt({status:1,size:30});i.value=v.data.rows,e.value=!1}catch{e.value=!1}}function X(v){const{name:O}=v;c.success({title:m("goods.orderConfirmationTitle"),content:m("goods.orderConfirmationContent")+O,negativeText:m("goods.thinkAgain"),positiveText:m("goods.confirmPurchase"),onPositiveClick:()=>{I.value.length||r.warning(m("goods.paymentNotEnabled")),H(v)}})}return(v,O)=>(p(),W(o(De),{show:v.visible,style:Be({maxWidth:`${i.value.length>4?1200:i.value.length*250}px`,minWidth:o(a)?"100%":"1000px"}),"on-after-enter":j,"on-after-leave":Q},{default:M(()=>[l("div",En,[l("div",qn,[l("span",On,_(o(m)("goods.selectProducts")),1),S(o(ve),{size:"20",color:"#0e7a0d",onClick:O[0]||(O[0]=w=>o(n).updateGoodsDialog(!1))},{default:M(()=>[S(o(Ae))]),_:1})]),e.value?D("",!0):(p(),C("div",Hn,[S(o(He),{"x-gap":15,"y-gap":15,cols:o(a)?1:i.value.length>4?4:i.value.length,class:"mt-3"},{default:M(()=>[(p(!0),C(ce,null,me(i.value,(w,E)=>(p(),W(o(Oe),{key:E},{default:M(()=>[S(o(qt),{size:"small",embedded:""},{header:M(()=>[l("div",Wn,[l("b",null,_(w.name),1),w.extraReward===1?(p(),C("img",{key:0,src:o(Un),class:"w-8 absolute -right-4 -top-3"},null,8,Qn)):D("",!0)])]),cover:M(()=>[l("img",{src:w.coverImg,class:"h-[130px] object-cover"},null,8,Gn)]),default:M(()=>[l("div",null,[l("p",null,_(w.des),1),h.value?D("",!0):(p(),C("div",Vn,[l("span",Zn,_(y.value),1),l("span",Fn,_(w.model3Count),1)])),g.value?D("",!0):(p(),C("div",Jn,[l("span",Xn,_(o(k)),1),l("span",Yn,_(w.model4Count),1)])),B.value?D("",!0):(p(),C("div",Kn,[l("span",es,_(o(x)),1),l("span",ts,_(w.drawMjCount),1)])),l("div",ns,[l("i",ss,_(`¥${w.price}`),1),S(o(Ne),{type:"primary",dashed:"",size:"small",onClick:G=>X(w)},{default:M(()=>[V(_(o(m)("goods.buyPackage")),1)]),_:2},1032,["onClick"])])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])])),e.value?(p(),C("div",as,[S(o(He),{"x-gap":15,"y-gap":15,cols:o(a)?1:4,class:"mt-3"},{default:M(()=>[(p(),C(ce,null,me(4,w=>S(o(Oe),{key:w},{default:M(()=>[S(o(ot),{vertical:""},{default:M(()=>[S(o(we),{height:"130px",width:"100%"}),S(o(we),{height:"210px",width:"100%",sharp:!1})]),_:1})]),_:2},1024)),64))]),_:1},8,["cols"])])):D("",!0)])]),_:1},8,["show","style"]))}}),ls={class:"sm:mx-auto sm:w-full sm:max-w-sm"},rs={class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},os={class:"mt-4 flex relative"},cs=["placeholder"],us=["innerHTML"],ds={class:"mt-4 flex"},gs=["placeholder"],ps={key:0,class:"mt-4 relative"},hs=["placeholder"],fs=["disabled","loading"],ms={class:"mt-4"},xs=["placeholder"],ys={class:"mt-4"},vs=["placeholder"],bs={key:1,class:"text-center text-sm text-gray-500 dark:text-gray-400"},ks={class:"mb-8 sm:mx-auto sm:w-full sm:max-w-sm"},ws={class:"text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},_s={class:"mt-4"},$s={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Ss={class:"mt-2"},Cs=["placeholder"],Is={class:"mt-4"},zs={class:"mt-2"},Ts={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Ls=["placeholder"],Rs={class:"flex items-center justify-between my-3"},Ps={class:"flex items-center"},Ms=l("input",{id:"remember-me",name:"remember-me",type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,-1),As={for:"remember-me",class:"ml-3 block text-sm leading-6 text-gray-500 dark:text-gray-400"},Ds={key:0,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Ns={key:0},Bs=l("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[l("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 验证码登录 ")],-1),js={class:"mt-4 flex relative"},Us=["placeholder"],Es=["innerHTML"],qs={class:"mt-4 relative"},Os=["placeholder"],Hs=["disabled","loading"],Ws={class:"mt-4 flex"},Qs=["placeholder"],Gs={key:0,class:"mt-0 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Vs=ne({__name:"Email",emits:["changeLoginType"],setup(u,{emit:s}){const n=s,e=Ie(),a=N(null),i=re(),r=N(!0),c=N(!1),d=se(),y=N(""),k=f(()=>e.theme),x=N(0),h=d.globalConfig.siteName,{isMobile:g}=le(),B=N(!1),z=f(()=>k.value==="dark"?"#6b7280":"#fff"),$=N({password:"",contact:"",invitedBy:"",captchaCode:"",captchaId:null,code:""}),I=N({username:"",password:"",contact:"",invitedBy:""}),j={username:[{required:!0,message:m("login.enterUsername"),trigger:"blur"},{min:2,max:30,message:m("login.usernameLength"),trigger:"blur"}],password:[{required:!0,message:m("login.enterPassword"),trigger:"blur"},{min:6,max:30,message:m("login.passwordLength"),trigger:"blur"}],email:[{required:!0,message:m("login.enterEmail"),trigger:"blur"},{type:"email",message:m("login.emailValid"),trigger:["blur","change"]}],captchaCode:[{required:!0,message:m("login.enterCaptcha"),trigger:"blur"}]},Q=f(()=>Number(d.globalConfig.wechatRegisterStatus)===1),R=f(()=>Number(d.globalConfig.phoneLoginStatus)===1),q=f(()=>Number(d.globalConfig.noVerifyRegister)===1),H=f(()=>Number(d.globalConfig.emailLoginStatus)===1),P=f(()=>{if(H.value&&R.value)return m("login.emailPhone");if(H.value)return m("login.email");if(R.value)return m("login.phone")}),X=f(()=>{if(H.value&&R.value)return m("login.enterEmailOrPhone");if(H.value)return m("login.enterEmail");if(R.value)return m("login.enterPhone")});function v(){x.value>0&&setTimeout(()=>{x.value--,v()},1e3)}async function O(){var G;(G=a.value)==null||G.validate(async A=>{if(!A)try{const{contact:U,captchaCode:ee,captchaId:oe}=$.value,ge={contact:U,captchaCode:ee,captchaId:oe};let pe;pe=await It(ge),E();const{success:be,message:Y}=pe;be?(i.success(pe.data),x.value=60,v()):i.error(Y)}catch{E()}})}function w(){var G;(G=a.value)==null||G.validate(async A=>{if(!A)try{c.value=!0;const U=r.value?zt:Tt,ee=r.value?{username:I.value.username,password:I.value.password}:$.value,oe=await U(ee);c.value=!1,E();const{success:ge,message:pe}=oe;if(!ge)return i.error(pe);if(r.value)i.success(m("login.loginSuccess")),d.setToken(oe.data),d.getUserInfo(),d.setLoginDialog(!1),ke.remove("invitedBy");else{i.success(m("login.registrationSuccess"));const{contact:be,password:Y}=$.value;I.value.username=be,I.value.password=Y,r.value=!r.value}}catch{E(),c.value=!1}})}async function E(){const G=await Lt({color:z.value});y.value=G.data.svgCode,$.value.captchaId=G.data.code}return Te(()=>{const G=ke.get("invitedBy");G&&($.value.invitedBy=G),E()}),(G,A)=>(p(),C("div",{class:J(["flex w-full flex-col h-full justify-center",o(g)?"px-5 py-5":"px-10 py-5"])},[!r.value&&!B.value?(p(),W(o(Re),{key:0,ref_key:"formRef",ref:a,model:$.value,rules:j,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:M(()=>[l("div",ls,[l("h2",rs,_(o(h))+" "+_(o(m)("login.registerTitle")),1)]),l("div",os,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[0]||(A[0]=U=>$.value.captchaCode=U),placeholder:o(m)("login.enterCaptcha"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-16"},null,8,cs),[[ie,$.value.captchaCode]]),y.value?(p(),C("div",{key:0,class:"absolute right-1 top-1/2 transform -translate-y-1/2 cursor-pointer bg-transparent rounded-md",style:{height:"100%",top:"55%",transform:"translateY(-50%)"},onClick:E,innerHTML:y.value},null,8,us)):D("",!0)]),l("div",ds,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[1]||(A[1]=U=>$.value.contact=U),placeholder:o(m)("login.enterContact")+P.value,class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,gs),[[ie,$.value.contact]])]),q.value?D("",!0):(p(),C("div",ps,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[2]||(A[2]=U=>$.value.code=U),placeholder:o(m)("login.enterCode"),class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,hs),[[ie,$.value.code]]),q.value?D("",!0):(p(),C("button",{key:0,block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:c.value,loading:c.value,onClick:O},_(o(m)("login.sendVerificationCode")),9,fs))])),l("div",ms,[ae(l("input",{id:"username",type:"password","onUpdate:modelValue":A[3]||(A[3]=U=>$.value.password=U),placeholder:o(m)("login.enterPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,xs),[[ie,$.value.password]])]),l("div",ys,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[4]||(A[4]=U=>$.value.invitedBy=U),placeholder:o(m)("login.optionalInvitationCode"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,vs),[[ie,$.value.invitedBy]])]),l("div",null,[l("button",{onClick:w,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},_(o(m)("login.registerAccount")),1)]),H.value||R.value?(p(),C("p",bs,[V(_(o(m)("login.alreadyHaveAccount"))+" ",1),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:A[5]||(A[5]=U=>r.value=!r.value)},_(o(m)("login.goToLogin")),1)])):D("",!0)]),_:1},8,["model"])):D("",!0),r.value&&!B.value?(p(),W(o(Re),{key:1,size:"large",ref_key:"formRef",ref:a,model:I.value,rules:j,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:M(()=>[l("div",ks,[l("h2",ws,_(o(h))+" 登录 ",1)]),l("div",_s,[l("label",$s,_(P.value),1),l("div",Ss,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[6]||(A[6]=U=>I.value.username=U),placeholder:X.value,class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Cs),[[ie,I.value.username]])])]),l("div",Is,[l("div",zs,[l("label",Ts,_(o(m)("login.password")),1),ae(l("input",{id:"password",type:"password","onUpdate:modelValue":A[7]||(A[7]=U=>I.value.password=U),placeholder:o(m)("login.enterYourPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ls),[[ie,I.value.password]])])]),l("div",Rs,[l("div",Ps,[Ms,l("label",As,_(o(m)("login.rememberAccount")),1)])]),l("div",null,[l("button",{onClick:w,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},_(o(m)("login.loginAccount")),1)]),H.value||R.value?(p(),C("p",Ds,[V(_(o(m)("login.noAccount"))+" ",1),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:A[8]||(A[8]=U=>r.value=!r.value)},_(o(m)("login.register")),1),Q.value?(p(),C("div",Ns,[V(_(o(m)("login.orUse")),1),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:A[9]||(A[9]=U=>n("changeLoginType","wechat"))},_(o(m)("login.scanLogin")),1)])):D("",!0)])):D("",!0)]),_:1},8,["model"])):D("",!0),B.value?(p(),W(o(Re),{key:2,ref_key:"formRef",ref:a,model:$.value,rules:j,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:M(()=>[Bs,l("div",js,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[10]||(A[10]=U=>$.value.captchaCode=U),placeholder:o(m)("login.enterCaptcha"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-16"},null,8,Us),[[ie,$.value.captchaCode]]),y.value?(p(),C("div",{key:0,class:"absolute right-1 top-1/2 transform -translate-y-1/2 cursor-pointer bg-transparent rounded-md",style:{height:"90%",top:"55%",transform:"translateY(-50%)"},onClick:E,innerHTML:y.value},null,8,Es)):D("",!0)]),l("div",qs,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[11]||(A[11]=U=>$.value.contact=U),placeholder:o(m)("login.enterContact")+P.value,class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,Os),[[ie,$.value.contact]]),l("button",{block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:c.value,loading:c.value,onClick:O},_(o(m)("login.sendVerificationCode")),9,Hs)]),l("div",Ws,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[12]||(A[12]=U=>$.value.code=U),placeholder:o(m)("login.enterCode"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Qs),[[ie,$.value.code]])]),l("div",null,[l("button",{onClick:w,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 验证码登录 ")]),H.value||R.value?(p(),C("p",Gs,[V(" 继续使用密码登录? "),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:A[13]||(A[13]=U=>B.value=!B.value)},"返回")])):D("",!0)]),_:1},8,["model"])):D("",!0)],2))}}),Zs={class:"sm:mx-auto sm:w-full sm:max-w-sm"},Fs={class:"pt-5 pb-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},Js={key:3,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Xs={key:4,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Ys=ne({__name:"Wechat",emits:["changeLoginType"],setup(u,{emit:s}){const n=N(),e=N(),a=s,i=N(""),r=N(""),c=N(!1),d=re(),y=se(),k=N(),{isMobile:x}=le(),h=f(()=>Number(y.globalConfig.phoneLoginStatus)===1),g=f(()=>Number(y.globalConfig.emailLoginStatus)===1),B=f(()=>{if(g.value&&h.value)return m("login.emailPhone");if(g.value)return m("login.email");if(h.value)return m("login.phone")});function z(R){return new Promise((q,H)=>{const P=new Image;P.onload=()=>q(P),P.onerror=H,P.src=R})}async function $(){const R={invitedBy:ke.get("invitedBy")},q=await Rt(R);q.success&&(r.value=q.data,j())}async function I(){if(!r.value)return;const R=await Pt({sceneStr:r.value});R.data&&(clearInterval(n.value),d.success(m("login.loginSuccess")),y.setToken(R.data),y.getUserInfo(),y.setLoginDialog(!1),ke.remove("invitedBy"))}async function j(){const R=await tt({sceneStr:r.value});R.success&&(c.value=!0,await z(R.data),i.value=R.data,n.value=setInterval(()=>{I()},1e3))}function Q(){var R;$(),(R=k.value)==null||R.reset()}return Te(()=>{Q(),e.value!==null&&clearInterval(e.value),e.value=setInterval(Q,6e4)}),Vt(()=>{n.value!==null&&clearInterval(n.value),e.value!==null&&clearInterval(e.value)}),(R,q)=>(p(),C("div",{class:J(["w-full h-full flex flex-col items-center",o(x)?"px-10 py-10":" py-10"])},[l("div",Zs,[l("h2",Fs,_(o(m)("login.wechatLogin")),1)]),i.value?(p(),W(o(lt),{key:0,"preview-disabled":"",class:"w-[220px] h-[220px] select-none",src:i.value},null,8,["src"])):(p(),W(o(we),{key:1,height:"220px",width:"220px",animated:""})),i.value?D("",!0):(p(),W(o(ze),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})),g.value||h.value?(p(),C("p",Js,[V(_(o(m)("login.wechatScanFailed"))+" ",1),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:q[0]||(q[0]=H=>a("changeLoginType","email"))},_(B.value),1)])):(p(),C("p",Xs,_(o(m)("login.useWechatScan")),1))],2))}});const Ks={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},ea={key:0,class:"flex items-center justify-center h-[600px]"},ta={key:1,class:"flex-1 flex flex-col items-center"},na=ne({__name:"Login",props:{visible:{type:Boolean}},setup(u){const s=se();N(!1),N(""),N("");const n=N(null),e=N(!0),a=N("email"),{isMobile:i}=le(),r=f(()=>Number(s.globalConfig.emailLoginStatus)===1),c=f(()=>Number(s.globalConfig.wechatRegisterStatus)===1),d=f(()=>Number(s.globalConfig.phoneLoginStatus)===1),y=f(()=>!c.value&&!d.value&&!r.value);function k(x){x==="wechat"?e.value=!0:(e.value=!1,a.value=x,ct(()=>{var h;(h=n.value)==null||h.syncBarPosition()}))}return(x,h)=>x.visible?(p(),C("div",Ks,[l("div",{class:J(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":o(i),"max-w-xl":!o(i)}])},[S(o(en),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:h[0]||(h[0]=g=>o(s).setLoginDialog(!1))}),y.value?(p(),C("div",ea,[S(o(Ot),{size:"small",status:"403",title:"网站已经关闭注册通道",description:"请联系管理员开通吧"},{footer:M(()=>[S(o(Ne),{size:"small",onClick:h[1]||(h[1]=g=>o(s).setLoginDialog(!1))},{default:M(()=>[V(" 知道了 ")]),_:1})]),_:1})])):(p(),C("div",ta,[c.value&&e.value?(p(),W(Ys,{key:0,onChangeLoginType:k})):(p(),W(Vs,{key:1,onChangeLoginType:k}))]))],2)])):D("",!0)}});function sa(){return nt({url:"/config/notice"})}function ht(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let ye=ht();function aa(u){ye=u}const ft=/[&<>"']/,ia=new RegExp(ft.source,"g"),mt=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,la=new RegExp(mt.source,"g"),ra={"&":"&","<":"<",">":">",'"':""","'":"'"},Ve=u=>ra[u];function te(u,s){if(s){if(ft.test(u))return u.replace(ia,Ve)}else if(mt.test(u))return u.replace(la,Ve);return u}const oa=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function xt(u){return u.replace(oa,(s,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const ca=/(^|[^\[])\^/g;function Z(u,s){u=typeof u=="string"?u:u.source,s=s||"";const n={replace:(e,a)=>(a=a.source||a,a=a.replace(ca,"$1"),u=u.replace(e,a),n),getRegex:()=>new RegExp(u,s)};return n}const ua=/[^\w:]/g,da=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Ze(u,s,n){if(u){let e;try{e=decodeURIComponent(xt(n)).replace(ua,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}s&&!da.test(n)&&(n=fa(s,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const _e={},ga=/^[^:]+:\/*[^/]*$/,pa=/^([^:]+:)[\s\S]*$/,ha=/^([^:]+:\/*[^/]*)[\s\S]*$/;function fa(u,s){_e[" "+u]||(ga.test(u)?_e[" "+u]=u+"/":_e[" "+u]=$e(u,"/",!0)),u=_e[" "+u];const n=u.indexOf(":")===-1;return s.substring(0,2)==="//"?n?s:u.replace(pa,"$1")+s:s.charAt(0)==="/"?n?s:u.replace(ha,"$1")+s:u+s}const Se={exec:function(){}};function Fe(u,s){const n=u.replace(/\|/g,(i,r,c)=>{let d=!1,y=r;for(;--y>=0&&c[y]==="\\";)d=!d;return d?"|":" |"}),e=n.split(/ \|/);let a=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>s)e.splice(s);else for(;e.length1;)s&1&&(n+=u),s>>=1,u+=u;return n+u}function Xe(u,s,n,e){const a=s.href,i=s.title?te(s.title):null,r=u[1].replace(/\\([\[\]])/g,"$1");if(u[0].charAt(0)!=="!"){e.state.inLink=!0;const c={type:"link",raw:n,href:a,title:i,text:r,tokens:e.inlineTokens(r)};return e.state.inLink=!1,c}return{type:"image",raw:n,href:a,title:i,text:te(r)}}function ya(u,s){const n=u.match(/^(\s+)(?:```)/);if(n===null)return s;const e=n[1];return s.split(` +`).map(a=>{const i=a.match(/^\s+/);if(i===null)return a;const[r]=i;return r.length>=e.length?a.slice(e.length):a}).join(` +`)}class je{constructor(s){this.options=s||ye}space(s){const n=this.rules.block.newline.exec(s);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(s){const n=this.rules.block.code.exec(s);if(n){const e=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:$e(e,` +`)}}}fences(s){const n=this.rules.block.fences.exec(s);if(n){const e=n[0],a=ya(e,n[3]||"");return{type:"code",raw:e,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:a}}}heading(s){const n=this.rules.block.heading.exec(s);if(n){let e=n[2].trim();if(/#$/.test(e)){const a=$e(e,"#");(this.options.pedantic||!a||/ $/.test(a))&&(e=a.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(s){const n=this.rules.block.hr.exec(s);if(n)return{type:"hr",raw:n[0]}}blockquote(s){const n=this.rules.block.blockquote.exec(s);if(n){const e=n[0].replace(/^ *>[ \t]?/gm,""),a=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(e);return this.lexer.state.top=a,{type:"blockquote",raw:n[0],tokens:i,text:e}}}list(s){let n=this.rules.block.list.exec(s);if(n){let e,a,i,r,c,d,y,k,x,h,g,B,z=n[1].trim();const $=z.length>1,I={type:"list",raw:"",ordered:$,start:$?+z.slice(0,-1):"",loose:!1,items:[]};z=$?`\\d{1,9}\\${z.slice(-1)}`:`\\${z}`,this.options.pedantic&&(z=$?z:"[*+-]");const j=new RegExp(`^( {0,3}${z})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;s&&(B=!1,!(!(n=j.exec(s))||this.rules.block.hr.test(s)));){if(e=n[0],s=s.substring(e.length),k=n[2].split(` +`,1)[0].replace(/^\t+/,R=>" ".repeat(3*R.length)),x=s.split(` +`,1)[0],this.options.pedantic?(r=2,g=k.trimLeft()):(r=n[2].search(/[^ ]/),r=r>4?1:r,g=k.slice(r),r+=n[1].length),d=!1,!k&&/^ *$/.test(x)&&(e+=x+` +`,s=s.substring(x.length+1),B=!0),!B){const R=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),q=new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),H=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),P=new RegExp(`^ {0,${Math.min(3,r-1)}}#`);for(;s&&(h=s.split(` +`,1)[0],x=h,this.options.pedantic&&(x=x.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(H.test(x)||P.test(x)||R.test(x)||q.test(s)));){if(x.search(/[^ ]/)>=r||!x.trim())g+=` +`+x.slice(r);else{if(d||k.search(/[^ ]/)>=4||H.test(k)||P.test(k)||q.test(k))break;g+=` +`+x}!d&&!x.trim()&&(d=!0),e+=h+` +`,s=s.substring(h.length+1),k=x.slice(r)}}I.loose||(y?I.loose=!0:/\n *\n *$/.test(e)&&(y=!0)),this.options.gfm&&(a=/^\[[ xX]\] /.exec(g),a&&(i=a[0]!=="[ ] ",g=g.replace(/^\[[ xX]\] +/,""))),I.items.push({type:"list_item",raw:e,task:!!a,checked:i,loose:!1,text:g}),I.raw+=e}I.items[I.items.length-1].raw=e.trimRight(),I.items[I.items.length-1].text=g.trimRight(),I.raw=I.raw.trimRight();const Q=I.items.length;for(c=0;cH.type==="space"),q=R.length>0&&R.some(H=>/\n.*\n/.test(H.raw));I.loose=q}if(I.loose)for(c=0;c$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:e,raw:n[0],href:a,title:i}}}table(s){const n=this.rules.block.table.exec(s);if(n){const e={type:"table",header:Fe(n[1]).map(a=>({text:a})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` +`):[]};if(e.header.length===e.align.length){e.raw=n[0];let a=e.align.length,i,r,c,d;for(i=0;i({text:y}));for(a=e.header.length,r=0;r/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):te(n[0]):n[0]}}link(s){const n=this.rules.inline.link.exec(s);if(n){const e=n[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;const r=$e(e.slice(0,-1),"\\");if((e.length-r.length)%2===0)return}else{const r=ma(n[2],"()");if(r>-1){const d=(n[0].indexOf("!")===0?5:4)+n[1].length+r;n[2]=n[2].substring(0,r),n[0]=n[0].substring(0,d).trim(),n[3]=""}}let a=n[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);r&&(a=r[1],i=r[3])}else i=n[3]?n[3].slice(1,-1):"";return a=a.trim(),/^$/.test(e)?a=a.slice(1):a=a.slice(1,-1)),Xe(n,{href:a&&a.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(s,n){let e;if((e=this.rules.inline.reflink.exec(s))||(e=this.rules.inline.nolink.exec(s))){let a=(e[2]||e[1]).replace(/\s+/g," ");if(a=n[a.toLowerCase()],!a){const i=e[0].charAt(0);return{type:"text",raw:i,text:i}}return Xe(e,a,e[0],this.lexer)}}emStrong(s,n,e=""){let a=this.rules.inline.emStrong.lDelim.exec(s);if(!a||a[3]&&e.match(/[\p{L}\p{N}]/u))return;const i=a[1]||a[2]||"";if(!i||i&&(e===""||this.rules.inline.punctuation.exec(e))){const r=a[0].length-1;let c,d,y=r,k=0;const x=a[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(x.lastIndex=0,n=n.slice(-1*s.length+r);(a=x.exec(n))!=null;){if(c=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!c)continue;if(d=c.length,a[3]||a[4]){y+=d;continue}else if((a[5]||a[6])&&r%3&&!((r+d)%3)){k+=d;continue}if(y-=d,y>0)continue;d=Math.min(d,d+y+k);const h=s.slice(0,r+a.index+(a[0].length-c.length)+d);if(Math.min(r,d)%2){const B=h.slice(1,-1);return{type:"em",raw:h,text:B,tokens:this.lexer.inlineTokens(B)}}const g=h.slice(2,-2);return{type:"strong",raw:h,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(s){const n=this.rules.inline.code.exec(s);if(n){let e=n[2].replace(/\n/g," ");const a=/[^ ]/.test(e),i=/^ /.test(e)&&/ $/.test(e);return a&&i&&(e=e.substring(1,e.length-1)),e=te(e,!0),{type:"codespan",raw:n[0],text:e}}}br(s){const n=this.rules.inline.br.exec(s);if(n)return{type:"br",raw:n[0]}}del(s){const n=this.rules.inline.del.exec(s);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(s,n){const e=this.rules.inline.autolink.exec(s);if(e){let a,i;return e[2]==="@"?(a=te(this.options.mangle?n(e[1]):e[1]),i="mailto:"+a):(a=te(e[1]),i=a),{type:"link",raw:e[0],text:a,href:i,tokens:[{type:"text",raw:a,text:a}]}}}url(s,n){let e;if(e=this.rules.inline.url.exec(s)){let a,i;if(e[2]==="@")a=te(this.options.mangle?n(e[0]):e[0]),i="mailto:"+a;else{let r;do r=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])[0];while(r!==e[0]);a=te(e[0]),e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:a,href:i,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(s,n){const e=this.rules.inline.text.exec(s);if(e){let a;return this.lexer.state.inRawBlock?a=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):te(e[0]):e[0]:a=te(this.options.smartypants?n(e[0]):e[0]),{type:"text",raw:e[0],text:a}}}}const T={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Se,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};T._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;T._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;T.def=Z(T.def).replace("label",T._label).replace("title",T._title).getRegex();T.bullet=/(?:[*+-]|\d{1,9}[.)])/;T.listItemStart=Z(/^( *)(bull) */).replace("bull",T.bullet).getRegex();T.list=Z(T.list).replace(/bull/g,T.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+T.def.source+")").getRegex();T._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";T._comment=/|$)/;T.html=Z(T.html,"i").replace("comment",T._comment).replace("tag",T._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();T.paragraph=Z(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex();T.blockquote=Z(T.blockquote).replace("paragraph",T.paragraph).getRegex();T.normal={...T};T.gfm={...T.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};T.gfm.table=Z(T.gfm.table).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex();T.gfm.paragraph=Z(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",T.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex();T.pedantic={...T.normal,html:Z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",T._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Se,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Z(T.normal._paragraph).replace("hr",T.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",T.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const b={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Se,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Se,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";b.punctuation=Z(b.punctuation).replace(/punctuation/g,b._punctuation).getRegex();b.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;b.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;b._comment=Z(T._comment).replace("(?:-->|$)","-->").getRegex();b.emStrong.lDelim=Z(b.emStrong.lDelim).replace(/punct/g,b._punctuation).getRegex();b.emStrong.rDelimAst=Z(b.emStrong.rDelimAst,"g").replace(/punct/g,b._punctuation).getRegex();b.emStrong.rDelimUnd=Z(b.emStrong.rDelimUnd,"g").replace(/punct/g,b._punctuation).getRegex();b._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;b._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;b._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;b.autolink=Z(b.autolink).replace("scheme",b._scheme).replace("email",b._email).getRegex();b._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;b.tag=Z(b.tag).replace("comment",b._comment).replace("attribute",b._attribute).getRegex();b._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;b._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;b._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;b.link=Z(b.link).replace("label",b._label).replace("href",b._href).replace("title",b._title).getRegex();b.reflink=Z(b.reflink).replace("label",b._label).replace("ref",T._label).getRegex();b.nolink=Z(b.nolink).replace("ref",T._label).getRegex();b.reflinkSearch=Z(b.reflinkSearch,"g").replace("reflink",b.reflink).replace("nolink",b.nolink).getRegex();b.normal={...b};b.pedantic={...b.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Z(/^!?\[(label)\]\((.*?)\)/).replace("label",b._label).getRegex(),reflink:Z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",b._label).getRegex()};b.gfm={...b.normal,escape:Z(b.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(e="x"+e.toString(16)),s+="&#"+e+";";return s}class ue{constructor(s){this.tokens=[],this.tokens.links=Object.create(null),this.options=s||ye,this.options.tokenizer=this.options.tokenizer||new je,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:T.normal,inline:b.normal};this.options.pedantic?(n.block=T.pedantic,n.inline=b.pedantic):this.options.gfm&&(n.block=T.gfm,this.options.breaks?n.inline=b.breaks:n.inline=b.gfm),this.tokenizer.rules=n}static get rules(){return{block:T,inline:b}}static lex(s,n){return new ue(n).lex(s)}static lexInline(s,n){return new ue(n).inlineTokens(s)}lex(s){s=s.replace(/\r\n|\r/g,` +`),this.blockTokens(s,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(s,n=[]){this.options.pedantic?s=s.replace(/\t/g," ").replace(/^ +$/gm,""):s=s.replace(/^( *)(\t+)/gm,(c,d,y)=>d+" ".repeat(y.length));let e,a,i,r;for(;s;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(c=>(e=c.call({lexer:this},s,n))?(s=s.substring(e.raw.length),n.push(e),!0):!1))){if(e=this.tokenizer.space(s)){s=s.substring(e.raw.length),e.raw.length===1&&n.length>0?n[n.length-1].raw+=` +`:n.push(e);continue}if(e=this.tokenizer.code(s)){s=s.substring(e.raw.length),a=n[n.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=` +`+e.raw,a.text+=` +`+e.text,this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(e);continue}if(e=this.tokenizer.fences(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.heading(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.hr(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.blockquote(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.list(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.html(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.def(s)){s=s.substring(e.raw.length),a=n[n.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=` +`+e.raw,a.text+=` +`+e.raw,this.inlineQueue[this.inlineQueue.length-1].src=a.text):this.tokens.links[e.tag]||(this.tokens.links[e.tag]={href:e.href,title:e.title});continue}if(e=this.tokenizer.table(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.lheading(s)){s=s.substring(e.raw.length),n.push(e);continue}if(i=s,this.options.extensions&&this.options.extensions.startBlock){let c=1/0;const d=s.slice(1);let y;this.options.extensions.startBlock.forEach(function(k){y=k.call({lexer:this},d),typeof y=="number"&&y>=0&&(c=Math.min(c,y))}),c<1/0&&c>=0&&(i=s.substring(0,c+1))}if(this.state.top&&(e=this.tokenizer.paragraph(i))){a=n[n.length-1],r&&a.type==="paragraph"?(a.raw+=` +`+e.raw,a.text+=` +`+e.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(e),r=i.length!==s.length,s=s.substring(e.raw.length);continue}if(e=this.tokenizer.text(s)){s=s.substring(e.raw.length),a=n[n.length-1],a&&a.type==="text"?(a.raw+=` +`+e.raw,a.text+=` +`+e.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(e);continue}if(s){const c="Infinite loop on byte: "+s.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,n}inline(s,n=[]){return this.inlineQueue.push({src:s,tokens:n}),n}inlineTokens(s,n=[]){let e,a,i,r=s,c,d,y;if(this.tokens.links){const k=Object.keys(this.tokens.links);if(k.length>0)for(;(c=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)k.includes(c[0].slice(c[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,c.index)+"["+Je("a",c[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(c=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,c.index)+"["+Je("a",c[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(c=this.tokenizer.rules.inline.escapedEmSt.exec(r))!=null;)r=r.slice(0,c.index+c[0].length-2)+"++"+r.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;s;)if(d||(y=""),d=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(k=>(e=k.call({lexer:this},s,n))?(s=s.substring(e.raw.length),n.push(e),!0):!1))){if(e=this.tokenizer.escape(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.tag(s)){s=s.substring(e.raw.length),a=n[n.length-1],a&&e.type==="text"&&a.type==="text"?(a.raw+=e.raw,a.text+=e.text):n.push(e);continue}if(e=this.tokenizer.link(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.reflink(s,this.tokens.links)){s=s.substring(e.raw.length),a=n[n.length-1],a&&e.type==="text"&&a.type==="text"?(a.raw+=e.raw,a.text+=e.text):n.push(e);continue}if(e=this.tokenizer.emStrong(s,r,y)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.codespan(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.br(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.del(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.autolink(s,Ye)){s=s.substring(e.raw.length),n.push(e);continue}if(!this.state.inLink&&(e=this.tokenizer.url(s,Ye))){s=s.substring(e.raw.length),n.push(e);continue}if(i=s,this.options.extensions&&this.options.extensions.startInline){let k=1/0;const x=s.slice(1);let h;this.options.extensions.startInline.forEach(function(g){h=g.call({lexer:this},x),typeof h=="number"&&h>=0&&(k=Math.min(k,h))}),k<1/0&&k>=0&&(i=s.substring(0,k+1))}if(e=this.tokenizer.inlineText(i,va)){s=s.substring(e.raw.length),e.raw.slice(-1)!=="_"&&(y=e.raw.slice(-1)),d=!0,a=n[n.length-1],a&&a.type==="text"?(a.raw+=e.raw,a.text+=e.text):n.push(e);continue}if(s){const k="Infinite loop on byte: "+s.charCodeAt(0);if(this.options.silent){console.error(k);break}else throw new Error(k)}}return n}}class Ue{constructor(s){this.options=s||ye}code(s,n,e){const a=(n||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(s,a);i!=null&&i!==s&&(e=!0,s=i)}return s=s.replace(/\n$/,"")+` +`,a?'
    '+(e?s:te(s,!0))+`
    +`:"
    "+(e?s:te(s,!0))+`
    +`}blockquote(s){return`
    +${s}
    +`}html(s){return s}heading(s,n,e,a){if(this.options.headerIds){const i=this.options.headerPrefix+a.slug(e);return`${s} +`}return`${s} +`}hr(){return this.options.xhtml?`
    +`:`
    +`}list(s,n,e){const a=n?"ol":"ul",i=n&&e!==1?' start="'+e+'"':"";return"<"+a+i+`> +`+s+" +`}listitem(s){return`
  • ${s}
  • +`}checkbox(s){return" "}paragraph(s){return`

    ${s}

    +`}table(s,n){return n&&(n=`${n}`),` + +`+s+` +`+n+`
    +`}tablerow(s){return` +${s} +`}tablecell(s,n){const e=n.header?"th":"td";return(n.align?`<${e} align="${n.align}">`:`<${e}>`)+s+` +`}strong(s){return`${s}`}em(s){return`${s}`}codespan(s){return`${s}`}br(){return this.options.xhtml?"
    ":"
    "}del(s){return`${s}`}link(s,n,e){if(s=Ze(this.options.sanitize,this.options.baseUrl,s),s===null)return e;let a='
    ",a}image(s,n,e){if(s=Ze(this.options.sanitize,this.options.baseUrl,s),s===null)return e;let a=`${e}":">",a}text(s){return s}}class yt{strong(s){return s}em(s){return s}codespan(s){return s}del(s){return s}html(s){return s}text(s){return s}link(s,n,e){return""+e}image(s,n,e){return""+e}br(){return""}}class vt{constructor(){this.seen={}}serialize(s){return s.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(s,n){let e=s,a=0;if(this.seen.hasOwnProperty(e)){a=this.seen[s];do a++,e=s+"-"+a;while(this.seen.hasOwnProperty(e))}return n||(this.seen[s]=a,this.seen[e]=0),e}slug(s,n={}){const e=this.serialize(s);return this.getNextSafeSlug(e,n.dryrun)}}class de{constructor(s){this.options=s||ye,this.options.renderer=this.options.renderer||new Ue,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new yt,this.slugger=new vt}static parse(s,n){return new de(n).parse(s)}static parseInline(s,n){return new de(n).parseInline(s)}parse(s,n=!0){let e="",a,i,r,c,d,y,k,x,h,g,B,z,$,I,j,Q,R,q,H;const P=s.length;for(a=0;a0&&j.tokens[0].type==="paragraph"?(j.tokens[0].text=q+" "+j.tokens[0].text,j.tokens[0].tokens&&j.tokens[0].tokens.length>0&&j.tokens[0].tokens[0].type==="text"&&(j.tokens[0].tokens[0].text=q+" "+j.tokens[0].tokens[0].text)):j.tokens.unshift({type:"text",text:q}):I+=q),I+=this.parse(j.tokens,$),h+=this.renderer.listitem(I,R,Q);e+=this.renderer.list(h,B,z);continue}case"html":{e+=this.renderer.html(g.text);continue}case"paragraph":{e+=this.renderer.paragraph(this.parseInline(g.tokens));continue}case"text":{for(h=g.tokens?this.parseInline(g.tokens):g.text;a+1{if(e.message+=` +Please report this to https://github.com/markedjs/marked.`,u){const a="

    An error occurred:

    "+te(e.message+"",!0)+"
    ";if(s)return Promise.resolve(a);if(n){n(null,a);return}return a}if(s)return Promise.reject(e);if(n){n(e);return}throw e}}function bt(u,s){return(n,e,a)=>{typeof e=="function"&&(a=e,e=null);const i={...e};e={...L.defaults,...i};const r=ba(e.silent,e.async,a);if(typeof n>"u"||n===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(xa(e),e.hooks&&(e.hooks.options=e),a){const c=e.highlight;let d;try{e.hooks&&(n=e.hooks.preprocess(n)),d=u(n,e)}catch(x){return r(x)}const y=function(x){let h;if(!x)try{e.walkTokens&&L.walkTokens(d,e.walkTokens),h=s(d,e),e.hooks&&(h=e.hooks.postprocess(h))}catch(g){x=g}return e.highlight=c,x?r(x):a(null,h)};if(!c||c.length<3||(delete e.highlight,!d.length))return y();let k=0;L.walkTokens(d,function(x){x.type==="code"&&(k++,setTimeout(()=>{c(x.text,x.lang,function(h,g){if(h)return y(h);g!=null&&g!==x.text&&(x.text=g,x.escaped=!0),k--,k===0&&y()})},0))}),k===0&&y();return}if(e.async)return Promise.resolve(e.hooks?e.hooks.preprocess(n):n).then(c=>u(c,e)).then(c=>e.walkTokens?Promise.all(L.walkTokens(c,e.walkTokens)).then(()=>c):c).then(c=>s(c,e)).then(c=>e.hooks?e.hooks.postprocess(c):c).catch(r);try{e.hooks&&(n=e.hooks.preprocess(n));const c=u(n,e);e.walkTokens&&L.walkTokens(c,e.walkTokens);let d=s(c,e);return e.hooks&&(d=e.hooks.postprocess(d)),d}catch(c){return r(c)}}}function L(u,s,n){return bt(ue.lex,de.parse)(u,s,n)}L.options=L.setOptions=function(u){return L.defaults={...L.defaults,...u},aa(L.defaults),L};L.getDefaults=ht;L.defaults=ye;L.use=function(...u){const s=L.defaults.extensions||{renderers:{},childTokens:{}};u.forEach(n=>{const e={...n};if(e.async=L.defaults.async||e.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if(a.renderer){const i=s.renderers[a.name];i?s.renderers[a.name]=function(...r){let c=a.renderer.apply(this,r);return c===!1&&(c=i.apply(this,r)),c}:s.renderers[a.name]=a.renderer}if(a.tokenizer){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");s[a.level]?s[a.level].unshift(a.tokenizer):s[a.level]=[a.tokenizer],a.start&&(a.level==="block"?s.startBlock?s.startBlock.push(a.start):s.startBlock=[a.start]:a.level==="inline"&&(s.startInline?s.startInline.push(a.start):s.startInline=[a.start]))}a.childTokens&&(s.childTokens[a.name]=a.childTokens)}),e.extensions=s),n.renderer){const a=L.defaults.renderer||new Ue;for(const i in n.renderer){const r=a[i];a[i]=(...c)=>{let d=n.renderer[i].apply(a,c);return d===!1&&(d=r.apply(a,c)),d}}e.renderer=a}if(n.tokenizer){const a=L.defaults.tokenizer||new je;for(const i in n.tokenizer){const r=a[i];a[i]=(...c)=>{let d=n.tokenizer[i].apply(a,c);return d===!1&&(d=r.apply(a,c)),d}}e.tokenizer=a}if(n.hooks){const a=L.defaults.hooks||new Ce;for(const i in n.hooks){const r=a[i];Ce.passThroughHooks.has(i)?a[i]=c=>{if(L.defaults.async)return Promise.resolve(n.hooks[i].call(a,c)).then(y=>r.call(a,y));const d=n.hooks[i].call(a,c);return r.call(a,d)}:a[i]=(...c)=>{let d=n.hooks[i].apply(a,c);return d===!1&&(d=r.apply(a,c)),d}}e.hooks=a}if(n.walkTokens){const a=L.defaults.walkTokens;e.walkTokens=function(i){let r=[];return r.push(n.walkTokens.call(this,i)),a&&(r=r.concat(a.call(this,i))),r}}L.setOptions(e)})};L.walkTokens=function(u,s){let n=[];for(const e of u)switch(n=n.concat(s.call(L,e)),e.type){case"table":{for(const a of e.header)n=n.concat(L.walkTokens(a.tokens,s));for(const a of e.rows)for(const i of a)n=n.concat(L.walkTokens(i.tokens,s));break}case"list":{n=n.concat(L.walkTokens(e.items,s));break}default:L.defaults.extensions&&L.defaults.extensions.childTokens&&L.defaults.extensions.childTokens[e.type]?L.defaults.extensions.childTokens[e.type].forEach(function(a){n=n.concat(L.walkTokens(e[a],s))}):e.tokens&&(n=n.concat(L.walkTokens(e.tokens,s)))}return n};L.parseInline=bt(ue.lexInline,de.parseInline);L.Parser=de;L.parser=de.parse;L.Renderer=Ue;L.TextRenderer=yt;L.Lexer=ue;L.lexer=ue.lex;L.Tokenizer=je;L.Slugger=vt;L.Hooks=Ce;L.parse=L;L.options;L.setOptions;L.use;L.walkTokens;L.parseInline;de.parse;ue.lex;const ka={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},wa={class:"bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] overflow-y-auto"},_a={class:"flex justify-between items-center mb-4"},$a={key:0,class:"w-1/3 bg-gray-300 dark:bg-gray-700 h-6 rounded"},Sa={key:1,class:"text-xl"},Ca=l("span",{class:"sr-only"},"Close",-1),Ia=l("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),za=[Ca,Ia],Ta={key:0,class:"space-y-2"},La=["innerHTML"],Ra={class:"flex justify-end mt-4"},Pa=ne({__name:"NoticeDialog",props:{visible:{type:Boolean}},setup(u){const s=u,n=N({noticeInfo:"",noticeTitle:""}),e=Ie(),a=xe(),i=N(!0);f(()=>e.theme==="dark"),le(),f(()=>e.theme);const r=f(()=>n.value.noticeInfo?L(n.value.noticeInfo):"");function c(){a.updateNoticeDialog(!1)}async function d(){const x=await sa(),{success:h,data:g}=x;h&&(n.value=g)}async function y(){i.value=!0,await d(),i.value=!1}function k(){a.updateNoticeDialog(!1),ke.set("showNotice",Date.now()+24*60*60*1e3)}return Le(()=>s.visible,x=>{x&&y()}),(x,h)=>s.visible?(p(),C("div",ka,[l("div",wa,[l("div",_a,[i.value?(p(),C("div",$a)):(p(),C("span",Sa,_(n.value.noticeTitle),1)),l("button",{onClick:c,class:"text-gray-500 hover:text-gray-700"},za)]),i.value?(p(),C("div",Ta,[(p(),C(ce,null,me(10,g=>l("div",{key:g,class:"bg-gray-300 dark:bg-gray-700 h-4 rounded"})),64))])):(p(),C("div",{key:1,class:"text-gray-950 dark:text-gray-400",innerHTML:r.value},null,8,La)),l("div",Ra,[l("button",{onClick:k,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500"},[l("span",null,_(o(m)("notice.doNotRemind24h")),1)])])])])):D("",!0)}}),Ke=""+new URL("alipay-eab94eb8.png",import.meta.url).href,et=""+new URL("wxpay-2d8f84af.png",import.meta.url).href,Ma={class:"p-4 bg-white rounded dark:bg-slate-800"},Aa={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},Da={class:"ml-[8px]"},Na={class:"p-4"},Ba={class:"whitespace-nowrap font-bold"},ja={class:"text-xl text-[red] font-bold"},Ua={class:"mt-2 flex"},Ea={class:"whitespace-nowrap font-bold"},qa={class:"ml-2"},Oa={class:"mt-2 flex"},Ha={class:"whitespace-nowrap font-bold"},Wa={class:"ml-2"},Qa={class:"flex items-center justify-center my-3 relative"},Ga=["src"],Va=["src"],Za={class:"mb-10 mt-5 text-base"},Fa=["src"],Ja=["src"],Xa={key:0,class:"flex items-center justify-center text-lg"},Ya={class:"w-[60px] inline-block text-[red] text-left"},Ka={class:"flex items-center"},ei=["src"],ti=1e3,ni=ne({__name:"PayDialog",props:{visible:{type:Boolean}},setup(u){const{isMobile:s}=le(),n=se(),e=Mt(),a=re(),i=N(!0),r=N("wxpay"),c=f(()=>{var E;const w=window.navigator.userAgent.toLowerCase();return w.match(/MicroMessenger/i)&&((E=w==null?void 0:w.match(/MicroMessenger/i))==null?void 0:E[0])==="micromessenger"}),d=f(()=>{const{payHupiStatus:w,payEpayStatus:E,payMpayStatus:G,payWechatStatus:A,payLtzfStatus:U}=n.globalConfig;return Number(A)===1?"wechat":Number(E)===1?"epay":Number(G)===1?"mpay":Number(w)===1?"hupi":Number(U)===1?"ltzf":null}),y=f(()=>{const{payEpayChannel:w,payMpayChannel:E}=n.globalConfig;return d.value==="mpay"?E?JSON.parse(E):[]:d.value==="epay"?w?JSON.parse(w):[]:d.value==="wechat"?["wxpay"]:d.value==="hupi"?["wxpay"]:d.value==="ltzf"?["wxpay"]:[]}),k=f(()=>r.value==="wxpay"?m("pay.wechat"):m("pay.alipay")),x=N(),h=f(()=>{const{payEpayApiPayUrl:w}=n.globalConfig;return d.value==="epay"&&w.includes("submit")||d.value==="mpay"});Le(r,()=>{var w;P(),(w=x.value)==null||w.reset()});const g=N("");let B;const z=f(()=>[{label:m("pay.wechatPay"),value:"wxpay",icon:et,payChannel:"wxpay"},{label:m("pay.alipayPay"),value:"alipay",icon:Ke,payChannel:"alipay"}].filter(w=>y.value.includes(w.payChannel))),$=async()=>{if(!g.value)return;const w=await Kt({orderId:g.value}),{success:E,data:G}=w;if(E){const{status:A}=G;A===1&&(clearInterval(B),a.success(m("pay.paymentSuccess")),i.value=!1,n.getUserInfo(),setTimeout(()=>{e.updatePayDialog(!1)},2e3))}},I=f(()=>e==null?void 0:e.orderInfo),j=N(""),Q=N(!0),R=N(!0),q=N("");function H(){e.updateOrderInfo({}),clearInterval(B)}async function P(){!h.value&&(Q.value=!0),h.value&&(R.value=!0);let w=null;w=r.value,d.value==="wechat"&&(w=c.value?"jsapi":"native");try{const E=await dt({goodsId:I.value.pkgInfo.id,payType:w}),{data:G,success:A,message:U}=E;if(!A)return a.error(U);const{url_qrcode:ee,orderId:oe,redirectUrl:ge}=G;q.value=ge,g.value=oe,j.value=ee,Q.value=!1,R.value=!1}catch{e.updatePayDialog(!1),Q.value=!1,R.value=!1}}function X(){window.open(q.value)}async function v(){await P(),B=setInterval(()=>{$()},ti)}function O(){a.error(m("pay.paymentTimeout")),clearInterval(B),e.updatePayDialog(!1)}return(w,E)=>(p(),W(o(De),{show:w.visible,style:{width:"90%","max-width":"750px"},"on-after-enter":v,"on-after-leave":H},{default:M(()=>{var G,A,U;return[l("div",Ma,[l("div",{class:"flex justify-between",onClick:E[0]||(E[0]=ee=>o(e).updatePayDialog(!1))},[l("div",Aa,[S(o(ve),{size:"25",color:"#0e7a0d"},{default:M(()=>[S(o(pt))]),_:1}),l("span",Da,_(o(m)("pay.productPayment")),1)]),S(o(ve),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:M(()=>[S(o(Ae))]),_:1})]),l("div",Na,[l("div",null,[l("span",Ba,_(o(m)("pay.amountDue")),1),l("i",ja,_(`¥${(G=I.value.pkgInfo)==null?void 0:G.price}`),1)]),l("div",Ua,[l("span",Ea,_(o(m)("pay.packageName")),1),l("span",qa,_((A=I.value.pkgInfo)==null?void 0:A.name),1)]),l("div",Oa,[l("span",Ha,_(o(m)("pay.packageDescription")),1),l("span",Wa,_((U=I.value.pkgInfo)==null?void 0:U.des),1)]),l("div",{class:J(["flex justify-center",[o(s)?"flex-col":"flex-row",h.value?"flex-row-reverse":""]])},[l("div",null,[l("div",Qa,[Q.value&&!h.value?(p(),W(o(ze),{key:0,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})):D("",!0),Q.value?(p(),W(o(we),{key:1,width:240,height:240,sharp:!1,size:"medium"})):D("",!0),d.value==="epay"&&!Q.value&&!R.value&&!h.value?(p(),W(qe,{key:2,value:j.value,size:240},null,8,["value"])):D("",!0),r.value==="wxpay"&&!Q.value&&!h.value?(p(),C("img",{key:3,src:o(et),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,Ga)):D("",!0),r.value==="alipay"&&!Q.value&&!h.value?(p(),C("img",{key:4,src:o(Ke),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,Va)):D("",!0),d.value==="wechat"&&!Q.value?(p(),W(qe,{key:5,value:j.value,size:240},null,8,["value"])):D("",!0),h.value?(p(),C("div",{key:6,class:J(["flex flex-col",[h.value&&o(s)?"ml-0":"ml-20"]])},[l("span",Za,_(o(m)("pay.siteAdminEnabledRedirect")),1),h.value?(p(),W(o(Ne),{key:0,type:"primary",ghost:"",disabled:R.value,loading:R.value,onClick:X},{default:M(()=>[V(_(o(m)("pay.clickToPay")),1)]),_:1},8,["disabled","loading"])):D("",!0)],2)):D("",!0),d.value==="hupi"&&!R.value?(p(),C("iframe",{key:7,class:"w-[280px] h-[280px] scale-90",src:j.value,frameborder:"0"},null,8,Fa)):D("",!0),d.value==="ltzf"&&!R.value?(p(),C("img",{key:8,src:j.value,class:"w-[280px] h-[280px] scale-90",alt:"QRCode"},null,8,Ja)):D("",!0)]),h.value?D("",!0):(p(),C("span",Xa,_(o(m)("pay.open"))+" "+_(k.value)+" "+_(o(m)("pay.scanToPay")),1))]),l("div",{class:J(["flex flex-col",[o(s)?"w-full ":" ml-10 w-[200] "]])},[l("div",{style:{"white-space":"nowrap"},class:J(["mt-6 w-full text-center font-bold text-sm",[o(s)?"mb-2":"mb-10"]])},[V(_(o(m)("pay.completePaymentWithin"))+" ",1),l("span",Ya,[S(o(it),{ref_key:"countdownRef",ref:x,active:i.value,duration:300*1e3,"on-finish":O},null,8,["active"])]),V(" "+_(o(m)("pay.timeToCompletePayment")),1)],2),S(o(Wt),{value:r.value,"onUpdate:value":E[1]||(E[1]=ee=>r.value=ee),name:"radiogroup",class:"flex"},{default:M(()=>[S(o(ot),{vertical:!o(s),justify:"center",size:o(s)?10:35,class:"w-full"},{default:M(()=>[(p(!0),C(ce,null,me(z.value,ee=>(p(),W(o(Ht),{key:ee.value,value:ee.value},{default:M(()=>[l("div",Ka,[l("img",{class:"h-4 object-contain mr-2",src:ee.icon,alt:""},null,8,ei),V(" "+_(ee.label),1)])]),_:2},1032,["value"]))),128))]),_:1},8,["vertical","size"])]),_:1},8,["value"])],2)],2)])])]}),_:1},8,["show"]))}});function si(){return At({url:"/signin/sign"})}function ai(){return nt({url:"/signin/signinLog"})}const ii={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},li={class:"bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg w-full max-w-xl max-h-[80vh] overflow-y-auto"},ri={class:"flex justify-between items-center mb-4"},oi={class:"text-base"},ci={class:"text-[red]"},ui=l("span",{class:"sr-only"},"Close",-1),di=l("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),gi=[ui,di],pi={class:"bg-gray-50 mb-5 p-2 rounded-md border border-gray-200 dark:border-gray-700 dark:bg-gray-700"},hi={key:0},fi={class:"mx-2 text-primary-500"},mi={key:1},xi={class:"mx-2 text-primary-500"},yi={key:2},vi={class:"mx-2 text-primary-500"},bi=l("div",{class:"mt-10 grid grid-cols-7 text-center text-xs leading-6 text-gray-500 dark:text-gray-400"},[l("div",null,"M"),l("div",null,"T"),l("div",null,"W"),l("div",null,"T"),l("div",null,"F"),l("div",null,"S"),l("div",null,"S")],-1),ki={class:"mt-2 grid grid-cols-7 text-sm"},wi=["datetime"],_i={class:"flex mt-3 w-full"},$i=["disabled"],Si=ne({__name:"SignInDialog",props:{visible:{type:Boolean}},setup(u){const s=u,n=se(),e=xe(),a=N(!1);le();const i=N([]),r=re(),c=N(!1),d=new Date().toISOString().split("T")[0],y=f(()=>i.value.map(v=>{var O;return{...v,day:(O=v.signInDate.split("-").pop())==null?void 0:O.replace(/^0/,""),isToday:v.signInDate===d}})),k=f(()=>n.globalConfig.model3Name||t("pay.baseModelQuota")),x=f(()=>n.globalConfig.model4Name)||t("pay.advancedModelQuota"),h=f(()=>n.globalConfig.drawMjName)||t("pay.MJDrawingQuota"),g=f(()=>Number(n.globalConfig.isHideModel3Point)===1),B=f(()=>Number(n.globalConfig.isHideModel4Point)===1),z=f(()=>Number(n.globalConfig.isHideDrawMjPoint)===1);function $(){e.updateSignInDialog(!1)}const I=f(()=>n.userInfo.consecutiveDays),j=f(()=>{var v;return Number((v=n.globalConfig)==null?void 0:v.signInModel3Count)||0}),Q=f(()=>{var v;return Number((v=n.globalConfig)==null?void 0:v.signInModel4Count)||0}),R=f(()=>{var v;return Number((v=n.globalConfig)==null?void 0:v.signInMjDrawToken)||0}),q=f(()=>i.value.some(v=>v.signInDate===d&&v.isSigned));async function H(){try{a.value=!0;const v=await ai();console.log("fetchSignLogAPI response:",v),v.success&&(i.value=v.data||[],console.log("signInData:",i.value)),a.value=!1}catch(v){a.value=!1,console.error("Error fetching sign-in log:",v)}}async function P(){try{c.value=!0;const v=await si();console.log("fetchSignInAPI response:",v),v.success&&(r.success("签到成功!"),await H(),n.getUserInfo()),c.value=!1}catch(v){c.value=!1,console.error("Error during sign-in:",v)}}async function X(){a.value=!0,await H(),a.value=!1}return Le(()=>s.visible,v=>{v&&X()}),(v,O)=>s.visible?(p(),C("div",ii,[l("div",li,[l("div",ri,[l("span",oi,[V("签到奖励 "),l("span",null,[V("(已连续签到"),l("b",ci,_(I.value),1),V("天)")])]),l("button",{onClick:$,class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"},gi)]),l("div",pi,[V(" 每日签到赠送: "),j.value>0&&!g.value?(p(),C("span",hi,[l("b",fi,_(j.value),1),V(_(k.value),1)])):D("",!0),Q.value>0&&!B.value?(p(),C("span",mi,[l("b",xi,_(Q.value),1),V(_(o(x)),1)])):D("",!0),R.value>0&&!z.value?(p(),C("span",yi,[l("b",vi,_(R.value),1),V(_(o(h)),1)])):D("",!0)]),S(o(ze),{show:a.value},{default:M(()=>[bi,l("div",ki,[(p(!0),C(ce,null,me(y.value,w=>(p(),C("div",{key:w.signInDate,class:"py-2"},[l("button",{type:"button",class:J([w.isToday?"bg-primary-600 text-white":w.isSigned?"text-primary-600":"text-gray-900 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700 mx-auto flex h-8 w-8 items-center justify-center rounded-full"])},[l("time",{datetime:w.signInDate},_(w.day),9,wi)],2)]))),128))])]),_:1},8,["show"]),l("div",_i,[l("button",{class:J(["w-full py-2 px-4 rounded text-white",q.value?"bg-gray-400 cursor-not-allowed":"bg-primary-600"]),disabled:q.value,onClick:P}," 签到 ",10,$i)])])])):D("",!0)}}),Ci={class:"bg-white dark:bg-[#25272c]"},Ii=["onClick"],zi={class:"inline-block text-xl"},Ti={class:"text-xs"},Li=ne({__name:"index",setup(u){const s=N([]),n=re();async function e(){const g=await st({menuPlatform:0});g.success&&(s.value=g.data)}const a=xe(),i=Pe(),r=Me(),c=f(()=>r.path),d=se(),y=f(()=>a.iframeUrl),k=f(()=>d.isLogin);function x(g,B){g.stopPropagation();const{menuPath:z,isJump:$,menuIframeUrl:I,isNeedAuth:j}=B;if(j&&!k.value){n.warning("请先登录后访问!"),d.setLoginDialog(!0);return}if(a.updateIframeUrl(""),z)return i.replace({path:z});$?window.open(I):(a.updateIframeUrl(I),i.push({path:"/extend"}))}function h(g){const{menuIframeUrl:B,menuPath:z}=g;if(B)return B===y.value;if(z)return z===c.value}return Zt(()=>{e()}),(g,B)=>(p(),C("footer",Ci,[l("div",{class:"grid border-t py-1 dark:border-t-neutral-800 grid-cols-2",style:Be({gridTemplateColumns:`repeat(${s.value.length}, minmax(0, 1fr))`})},[(p(!0),C(ce,null,me(s.value,z=>(p(),C("a",{key:z.id,class:J([[h(z)?"text-[#3076fd] dark:text-[#3076fd]":""],"cursor-pointer text-center leading-4"]),onClick:$=>x($,z)},[l("span",zi,[S(o(gt),{icon:z.menuIcon,class:"mb-1 inline-block text-lg"},null,8,["icon"])]),l("p",Ti,_(z.menuTipText),1)],10,Ii))),128))],4)]))}}),Ri=""+new URL("../favicon.ico",import.meta.url).href,Pi=["src"],Mi=ne({__name:"Logo",setup(u){const s=se(),n=f(()=>s.globalConfig.clientLogoPath),e=f(()=>s.globalConfig.clientHomePath||"/"),{isMobile:a}=le(),i=f(()=>a.value?["py-2","w-8","ml-3"]:["py-4","px-2","w-full"]);return(r,c)=>(p(),W(o(Dt),{to:e.value},{default:M(()=>[n.value?D("",!0):(p(),C("img",{key:0,src:Ri,class:J([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,2)),n.value?(p(),C("img",{key:1,src:n.value,class:J([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,10,Pi)):D("",!0)]),_:1},8,["to"]))}}),Ai={class:"px-2 w-full"},Di={class:"flex h-full flex-col items-center space-y-3"},Ni=["onClick"],Bi={class:"flex flex-col justify-between items-center"},ji={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},Ui=["src"],Ei={class:"py-1"},qi=ne({__name:"index",setup(u){const s=Jt(()=>jt(()=>import("./index-b1a75368.js"),["./index-b1a75368.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index-d64a7cc4.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-696013f1.css","./useBasicLayout-a4f17bae.js"],import.meta.url)),{t:n,locale:e}=Nt(),a=Ie(),i=se(),r=Bt(),c=xe();re();const d=N(null);a.setEnv(),f(()=>i.userBalance);const y=rt(),k=f(()=>i.userInfo.avatar),x=Me(),h=Pe(),g=N(!1),B=f(()=>i.isLogin),z=f(()=>a.theme==="dark");f(()=>a.env);const $=Qe($n);Qe(Ln),f(()=>e.value==="zh-CN"?"mynaui:gift":"another-icon-for-english");async function I(){const Y=await st({menuPlatform:1});Y.success&&(j.value=Y.data,ct(()=>{ee()}))}const j=N([]),Q=N(!1);Te(()=>{I()});const R=f(()=>{var Y;return Number((Y=i.globalConfig)==null?void 0:Y.signInStatus)===1});function q(){B.value?i.logOut():i.setLoginDialog(!0)}function H(){const Y=z.value?"light":"dark";a.setTheme(Y)}const{isMobile:P}=le(),X=f(()=>x.path);async function v(){y.warning({title:n("chat.clearConversation"),content:n("chat.clearAllNonFavoriteConversations"),positiveText:n("common.confirm"),negativeText:n("common.cancel"),onPositiveClick:async()=>{await r.delAllGroup()}})}const O=f(()=>P.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{}),w=f(()=>P.value?["flex-rol","w-full","border-0"]:["flex-col","w-sider","h-full","border-r"]),E=f(()=>P.value?["flex","flex-rol","items-center","pt-0","w-full"]:["flex","flex-col","pt-1","items-center"]),G=f(()=>c.iframeUrl);function A(Y){const{menuPath:K,isJump:F,menuIframeUrl:he,isNeedAuth:kt}=Y;if(kt&&!B.value){i.setLoginDialog(!0);return}if(c.updateIframeUrl(""),K)return h.push({path:K});F?window.open(he):(c.updateIframeUrl(he),h.push({path:"/extend"}))}function U(){if(!B.value){i.setLoginDialog(!0);return}c.updateSignInDialog(!0)}function ee(){if(!d.value)return;const{clientHeight:Y=0,scrollHeight:K=0}=d.value;Q.value=K>Y}async function oe(){await ge(),h.replace({path:"user-center"})}async function ge(){return new Promise(Y=>{setTimeout(()=>{i.isLogin||h.replace({path:"login"}),Y()},100)})}function pe(Y){const{menuIframeUrl:K,menuPath:F}=Y;if(K)return K===G.value;if(F)return F===X.value}function be(){i.logOut(),h.push("/")}return Le(P,Y=>{a.setSiderCollapsed(Y)},{immediate:!0,flush:"post"}),(Y,K)=>(p(),C(ce,null,[l("div",{class:J(["flex min-w-sm bg-gray-50 pb-2 dark:bg-gray-900 border-gray-100 dark:border-gray-800 select-none",w.value]),style:Be(O.value)},[l("div",Ai,[S(Mi)]),l("main",{ref_key:"track",ref:d,class:J(["flex-1 flex-grow-1 mb-5 overflow-auto",E.value])},[S(o(Qt),{size:1},{default:M(()=>[l("div",Di,[(p(!0),C(ce,null,me(j.value,F=>(p(),C("div",{key:F.menuName,class:J(["flex justify-center flex-col items-center",o(P)?"mt-0":"mt-3"]),onClick:he=>A(F)},[S(o(at),{trigger:"hover",placement:"right"},{trigger:M(()=>[l("div",{class:J(["relative flex items-center justify-center h-10 w-10 rounded-md cursor-pointer duration-300",[pe(F)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["bg-gray-50","dark:bg-gray-900","dark:text-gray-400"],"hover:bg-white","hover:text-primary-600","dark:hover:bg-gray-800","dark:hover:text-white"]])},[S(o(gt),{icon:F.menuIcon,class:"text-2xl"},null,8,["icon"])],2)]),default:M(()=>[V(" "+_(F.menuTipText),1)]),_:2},1024)],10,Ni))),128))])]),_:1})],2),l("div",Bi,[B.value?(p(),W(o(un),{key:0,as:"div",class:"relative inline-block text-left"},{default:M(()=>[l("div",null,[S(o(tn),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md text-sm font-semibold dark:text-gray-400 text-gray-700"},{default:M(()=>[l("div",ji,[k.value?(p(),C("img",{key:0,src:k.value,class:"w-full h-full object-cover"},null,8,Ui)):D("",!0),k.value?D("",!0):(p(),W(o(Ge),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),S(Ft,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:M(()=>[S(o(nn),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 dark:text-gray-400 text-gray-900 z-50"},{default:M(()=>[l("div",Ei,[S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([[F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:v},[S(o(sn),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.clear")),1)],2)]),_:1}),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K[0]||(K[0]=he=>o(c).updateNoticeDialog(!0))},[S(o(an),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.announcement")),1)],2)]),_:1}),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K[1]||(K[1]=he=>o(c).updateGoodsDialog(!0))},[S(o(ln),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.pointsMall")),1)],2)]),_:1}),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:H},[S(o(rn),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.toggleTheme")),1)],2)]),_:1}),R.value?(p(),W(o(fe),{key:0},{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:U},[S(o(on),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.signInReward")),1)],2)]),_:1})):D("",!0),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K[2]||(K[2]=he=>oe())},[S(o(Ge),{theme:"outline",size:"16",class:"mr-2"}),V(" 个人中心 ")],2)]),_:1}),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K[3]||(K[3]=he=>be())},[S(o(cn),{theme:"outline",size:"16",class:"mr-2"}),V(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):D("",!0),B.value?D("",!0):(p(),W(o(pn),{key:1,label:o(n)("siderBar.loginAccount"),placement:o(P)?"bottom":"right",class:J(o(P)?"mb-0":"mb-5"),onClick:q},{default:M(()=>[S(o(ve),{size:"20",color:"#555"},{default:M(()=>[(p(),W(ut($.value)))]),_:1})]),_:1},8,["label","placement","class"]))])],6),g.value?(p(),W(o(s),{key:0,visible:g.value,"onUpdate:visible":K[4]||(K[4]=F=>g.value=F)},null,8,["visible"])):D("",!0)],64))}});const Oi={class:"h-full dark:bg-gray-900 transition-all p-0"},Hi={class:"h-full overflow-hidden"},sl=ne({__name:"index",setup(u){const s=se(),n=Me(),e=Pe(),a=xe(),i=Ie(),r=re(),c=f(()=>a.payDialog),d=f(()=>a.goodsDialog),y=f(()=>a.noticeDialog),k=f(()=>a.bindWxDialog),x=f(()=>a.signInDialog),h=f(()=>{var P;return Number((P=s.globalConfig)==null?void 0:P.isHideSidebar)===1}),{isMobile:g}=le(),B=f(()=>s.loginDialog);f(()=>i.theme);const z=f(()=>s.isLogin),$=f(()=>{var P;return Number((P=s.globalConfig)==null?void 0:P.wechatSilentLoginStatus)===1}),I=f(()=>{var P;return(P=s.globalConfig)==null?void 0:P.clientHomePath});function j(){const{token:P}=n.query;if(P){s.setToken(P);const X=n.name;e.replace({name:X,query:{}}),r.success("账户登录成功、开始体验吧!"),s.getUserInfo()}}async function Q(){if(I.value||!$.value||z.value)return;const X=new URLSearchParams(window.location.search).getAll("code"),v=X.length>0?X[X.length-1]:null;if(v){const O=await Ut({code:v});if(O.success){s.setToken(O.data),s.getUserInfo(),s.setLoginDialog(!1);const w=window.location.href.split("?")[0]+window.location.search.replace(new RegExp("([&?])code=[^&]*","g"),"$1").replace(/^&/,"?");window.history.replaceState(null,"",w)}}else{const O=window.location.href.split("#")[0],w=await Et({url:O});w.success&&(window.location.href=w.data)}}function R(){var X;const P=window.navigator.userAgent.toLowerCase();P.match(/MicroMessenger/i)&&((X=P==null?void 0:P.match(/MicroMessenger/i))==null?void 0:X[0])==="micromessenger"&&Q()}Te(()=>{R(),j()});const q=f(()=>g.value?["rounded-none","shadow-none"]:["dark:border-neutral-800"]),H=f(()=>g.value?["flex-col"]:["dark:border-neutral-800"]);return(P,X)=>{const v=Xt("RouterView");return p(),C("div",Oi,[l("div",Hi,[l("div",{class:J(["z-40 transition flex h-full relative",H.value])},[!o(g)&&!h.value?(p(),W(qi,{key:0})):D("",!0),S(o(Gt),{class:J(["h-full",q.value]),style:{flex:"1"}},{default:M(()=>[S(v,null,{default:M(({Component:O,route:w})=>[(p(),W(ut(O),{key:w.fullPath}))]),_:1})]),_:1},8,["class"]),o(g)&&!h.value?(p(),W(Li,{key:1})):D("",!0)],2),S(na,{visible:B.value},null,8,["visible"]),S(ni,{visible:c.value},null,8,["visible"]),S(is,{visible:d.value},null,8,["visible"]),S(Pa,{visible:y.value},null,8,["visible"]),S(jn,{visible:k.value},null,8,["visible"]),S(Si,{visible:x.value},null,8,["visible"])])])}}});export{sl as default}; diff --git a/public/assets/index-79113eb4.js.br b/public/assets/index-79113eb4.js.br new file mode 100644 index 0000000..7851ff0 Binary files /dev/null and b/public/assets/index-79113eb4.js.br differ diff --git a/public/assets/index-7b15fb79.js b/public/assets/index-7b15fb79.js new file mode 100644 index 0000000..74d4b61 --- /dev/null +++ b/public/assets/index-7b15fb79.js @@ -0,0 +1 @@ +import{f as U}from"./crami-99ee44eb.js";import{f as F}from"./order-8be5c617.js";import{_ as X}from"./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{a as K,u as Z,t as o}from"./index-d64a7cc4.js";import{u as ee}from"./useBasicLayout-a4f17bae.js";import{d as ae,e as d,r as w,f as te,U as c,X as r,M as e,a8 as M,a3 as a,W as k,H as P,F as B,a6 as j,a5 as m,S as f,a4 as l,c as se}from"./vue-10b4afc0.js";import{e as oe,Y as le,X as W,v,B as E}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const ne={class:"main min-h-screen bg-center h-full flex flex-col overflow-hidden bg-white dark:bg-gray-900"},re={key:0,class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-x-6 gap-y-10 px-4"},ie=["onClick"],de={class:"w-full rounded-t-xl overflow-hidden border dark:border-[#ffffff17] relative",style:{height:"40%"}},ce=["src"],fe={class:"absolute left-1/2 bottom-0 transform -translate-x-1/2 -translate-y-1/2 text-lg text-[#fff] ]"},ue={class:"p-5 text-lg h-[160px] border-b dark:border-[#ffffff17] overflow-hidden relative"},pe={class:"absolute bottom-1 right-2 font-semibold text-red-500 italic"},ye={class:"flex p-4 border-b dark:border-[#ffffff17] flex-col space-y-4"},ge={key:0,class:"flex justify-between"},me={key:1,class:"flex justify-between"},he={key:2,class:"flex justify-between"},xe={class:"px-4 flex-1 flex items-center justify-between"},ve={class:"flex items-end"},_e={class:"ml-2 text-[#3076fd] text-lg"},be=a("div",{class:"line"},null,-1),we={key:1,class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-x-6 gap-y-10 px-4"},ke={class:"w-full rounded-t-xl overflow-hidden",style:{height:"40%"}},Ne={class:"p-5 text-lg h-[160px] border-b dark:border-[#ffffff17] overflow-ellipsis"},Se={class:"flex p-4 border-b dark:border-[#ffffff17] flex-col space-y-4"},Ce={class:"px-4 flex-1 flex items-center justify-between"},Je=ae({__name:"index",setup(Me){const i=K(),{isMobile:y}=ee(),_=oe(),h=Z(),T=d(()=>{var n;const t=window.navigator.userAgent.toLowerCase();return t.match(/MicroMessenger/i)&&((n=t==null?void 0:t.match(/MicroMessenger/i))==null?void 0:n[0])==="micromessenger"}),u=d(()=>{const{payHupiStatus:t,payEpayStatus:n,payMpayStatus:s,payWechatStatus:p,payLtzfStatus:b}=i.globalConfig;return Number(p)===1?"wechat":Number(s)===1?"mpay":Number(t)===1?"hupi":Number(n)===1?"epay":Number(b)===1?"ltzf":null}),D=d(()=>i.globalConfig.model3Name||o("pay.baseModelQuota")),H=d(()=>i.globalConfig.model4Name)||o("pay.advancedModelQuota"),I=d(()=>i.globalConfig.drawMjName)||o("pay.MJDrawingQuota"),J=d(()=>Number(i.globalConfig.isHideModel3Point)===1),L=d(()=>Number(i.globalConfig.isHideModel4Point)===1),z=d(()=>Number(i.globalConfig.isHideDrawMjPoint)===1),G=d(()=>{const{payEpayChannel:t,payMpayChannel:n}=i.globalConfig;return u.value==="wechat"?["wxpay"]:u.value==="epay"?t?JSON.parse(t):[]:u.value==="mpay"?n?JSON.parse(n):[]:u.value==="hupi"?["wxpay"]:u.value==="ltzf"?["wxpay"]:[]}),N=w([]),S=w(1),g=w(!1);async function C(){try{g.value=!0;const t=await U({status:1,type:S.value,size:30});N.value=t.data.rows,g.value=!1}catch{g.value=!1}}const O=d(()=>y.value?o("pay.welcomeTipMobile"):o("pay.welcomeTipDesktop"));function A(t){S.value=t,C()}async function R(t){G.value.length||_.warning(o("pay.paymentNotEnabled")),V(t)}async function V(t){if(T.value&&u.value==="wechat"&&Number(i.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",x,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",x),document.attachEvent("onWeixinJSBridgeReady",x));else{const n=await F({goodsId:t.id,payType:"jsapi"}),{success:s,data:p}=n;s&&x(p)}return}h.updateOrderInfo({pkgInfo:t}),h.updateGoodsDialog(!1),h.updatePayDialog(!0)}function x(t){const{appId:n,timeStamp:s,nonceStr:p,package:b,signType:$,paySign:q}=t;n&&WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:n,timeStamp:s,nonceStr:p,package:b,signType:$,paySign:q},Q=>{Q.err_msg==="get_brand_wcpay_request:ok"?(_.success(o("pay.purchaseSuccess")),setTimeout(()=>{i.getUserInfo(),h.updateGoodsDialog(!1)},500)):_.warning(o("pay.paymentNotComplete"))})}return te(()=>{C()}),(t,n)=>(f(),c("div",ne,[r(e(X),{title:e(o)("pay.membershipMarket"),des:O.value,class:M([e(y)?"px-3":"px-24"])},null,8,["title","des","class"]),a("div",{class:"flex justify-center items-center",style:P({height:e(y)?"60px":"180px"})},[r(e(le),{type:"segment",style:P({width:e(y)?"90%":"400px"}),"onUpdate:value":A},{default:k(()=>[r(e(W),{name:1,tab:e(o)("pay.memberPackage")},null,8,["tab"]),r(e(W),{name:-1,tab:e(o)("pay.permanentAddOnCard")},null,8,["tab"])]),_:1},8,["style"])],4),a("div",{class:M(["flex-1 pb-10 overflow-y-auto",[e(y)?"px-3":"px-28"]])},[g.value?m("",!0):(f(),c("div",re,[(f(!0),c(B,null,j(N.value,s=>(f(),c("div",{key:s.id,class:"border dark:border-[#ffffff17] h-[580px] rounded-xl card-item flex flex-col",onClick:p=>R(s)},[a("div",de,[a("img",{src:s.coverImg,class:"object-cover w-full h-full cover",alt:""},null,8,ce),a("div",fe,l(s.name),1)]),a("div",ue,[se(l(s.des)+" ",1),a("span",pe,"¥"+l(s.price),1)]),a("div",ye,[J.value?m("",!0):(f(),c("div",ge,[a("span",null,l(D.value),1),a("span",null,l(s.model3Count||0)+" "+l(e(o)("pay.points")),1)])),L.value?m("",!0):(f(),c("div",me,[a("span",null,l(e(H)),1),a("span",null,l(s.model4Count||0)+" "+l(e(o)("pay.points")),1)])),z.value?m("",!0):(f(),c("div",he,[a("span",null,l(e(I)),1),a("span",null,l(s.drawMjCount||0)+" "+l(e(o)("pay.points")),1)]))]),a("div",xe,[a("div",ve,[a("span",null,l(e(o)("pay.packageValidity")),1),a("span",_e,l(s.days>0?`${s.days} ${e(o)("pay.days")}`:e(o)("pay.permanent")),1)]),be,a("div",null,[r(e(Y),{class:"text-lg right-icon",icon:"bi:arrow-right"})])])],8,ie))),128))])),g.value?(f(),c("div",we,[(f(),c(B,null,j(4,s=>a("div",{key:s,class:"border dark:border-[#ffffff17] h-[580px] rounded-xl card-item flex flex-col"},[a("div",ke,[r(e(v),{height:"100%",width:"100%"})]),a("div",Ne,[r(e(E),{vertical:""},{default:k(()=>[r(e(v),{text:"",repeat:4,width:"100%",sharp:!1})]),_:1})]),a("div",Se,[r(e(E),{vertical:""},{default:k(()=>[r(e(v),{text:"",repeat:4,width:"100%",sharp:!1})]),_:1})]),a("div",Ce,[r(e(v),{text:"",repeat:1,width:"100%",sharp:!1})])])),64))])):m("",!0)],2)]))}});export{Je as default}; diff --git a/public/assets/index-7b15fb79.js.br b/public/assets/index-7b15fb79.js.br new file mode 100644 index 0000000..6002192 Binary files /dev/null and b/public/assets/index-7b15fb79.js.br differ diff --git a/public/assets/index-80bdf7ce.js b/public/assets/index-80bdf7ce.js deleted file mode 100644 index f463e5c..0000000 --- a/public/assets/index-80bdf7ce.js +++ /dev/null @@ -1 +0,0 @@ -import{g as s,K as a,F as o,G as c,Q as r,R as n,X as l,cz as i,E as d,am as x,ao as u}from"./index-2efe4620.js";const p="/assets/404-0d6db85f.svg",_={class:"flex h-full"},m={class:"px-4 m-auto space-y-4 text-center max-[400px]"},f=i('

    404 - 页面迷路了!

    哎呀!页面好像迷路了,找不到了。

    404
    ',3),g=s({__name:"index",setup(h){const e=a();function t(){e.push("/")}return(v,k)=>(d(),o("div",_,[c("div",m,[f,r(l(u),{type:"primary",onClick:t},{default:n(()=>[x(" Go to Home ")]),_:1})])]))}});export{g as default}; diff --git a/public/assets/index-82b5d920.js b/public/assets/index-82b5d920.js deleted file mode 100644 index 47dec13..0000000 --- a/public/assets/index-82b5d920.js +++ /dev/null @@ -1,84 +0,0 @@ -import{bR as Fe,bS as he,a as k,c as S,d as K,g as E,u as _e,bT as Me,v as M,h as xe,bU as Be,k as A,a5 as be,n as Te,bV as Ue,r as m,L as we,aN as je,E as D,F as Q,G as t,ac as se,ad as Ve,J as ye,a0 as r,U as Le,R as f,X as e,S as n,Q as o,bW as ke,a1 as ae,ao as Oe,am as q,bx as qe,as as Ce,H as De,K as Ee,br as J,an as j,bp as Ge,az as We,aA as F,Z,bw as He,bs as Xe,Y as Ke,_ as H,bX as Qe}from"./index-2efe4620.js";import{_ as Ye}from"./titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js";import{c as Je}from"./index-c94da121.js";import{a as X,N as ee}from"./FormItem-6d94e26d.js";import{N as Ze}from"./InputNumber-8169024b.js";import{N as et}from"./Select-b45c26f7.js";import{N as re}from"./Input-4816b01d.js";import{t as Se,N as te,a as tt}from"./Tabs-d30e51ae.js";import"./Add-1eab33c9.js";var ge=1/0,at=17976931348623157e292;function rt(s){if(!s)return s===0?s:0;if(s=Se(s),s===ge||s===-ge){var i=s<0?-1:1;return i*at}return s===s?s:0}function st(s){var i=rt(s),l=i%1;return i===i?l?i-l:i:0}var nt=Fe.isFinite,ot=Math.min;function it(s){var i=Math[s];return function(l,d){if(l=Se(l),d=d==null?0:ot(st(d),292),d&&nt(l)){var b=(he(l)+"e").split("e"),v=i(b[0]+"e"+(+b[1]+d));return b=(he(v)+"e").split("e"),+(b[0]+"e"+(+b[1]-d))}return i(l)}}var lt=it("round");const dt=lt,ct=k("input-group",` - display: inline-flex; - width: 100%; - flex-wrap: nowrap; - vertical-align: bottom; -`,[S(">",[k("input",[S("&:not(:last-child)",` - border-top-right-radius: 0!important; - border-bottom-right-radius: 0!important; - `),S("&:not(:first-child)",` - border-top-left-radius: 0!important; - border-bottom-left-radius: 0!important; - margin-left: -1px!important; - `)]),k("button",[S("&:not(:last-child)",` - border-top-right-radius: 0!important; - border-bottom-right-radius: 0!important; - `,[K("state-border, border",` - border-top-right-radius: 0!important; - border-bottom-right-radius: 0!important; - `)]),S("&:not(:first-child)",` - border-top-left-radius: 0!important; - border-bottom-left-radius: 0!important; - `,[K("state-border, border",` - border-top-left-radius: 0!important; - border-bottom-left-radius: 0!important; - `)])]),S("*",[S("&:not(:last-child)",` - border-top-right-radius: 0!important; - border-bottom-right-radius: 0!important; - `,[S(">",[k("input",` - border-top-right-radius: 0!important; - border-bottom-right-radius: 0!important; - `),k("base-selection",[k("base-selection-label",` - border-top-right-radius: 0!important; - border-bottom-right-radius: 0!important; - `),k("base-selection-tags",` - border-top-right-radius: 0!important; - border-bottom-right-radius: 0!important; - `),K("box-shadow, border, state-border",` - border-top-right-radius: 0!important; - border-bottom-right-radius: 0!important; - `)])])]),S("&:not(:first-child)",` - margin-left: -1px!important; - border-top-left-radius: 0!important; - border-bottom-left-radius: 0!important; - `,[S(">",[k("input",` - border-top-left-radius: 0!important; - border-bottom-left-radius: 0!important; - `),k("base-selection",[k("base-selection-label",` - border-top-left-radius: 0!important; - border-bottom-left-radius: 0!important; - `),k("base-selection-tags",` - border-top-left-radius: 0!important; - border-bottom-left-radius: 0!important; - `),K("box-shadow, border, state-border",` - border-top-left-radius: 0!important; - border-bottom-left-radius: 0!important; - `)])])])])])]),ut={},ft=E({name:"InputGroup",props:ut,setup(s){const{mergedClsPrefixRef:i}=_e(s);return Me("-input-group",ct,i),{mergedClsPrefix:i}},render(){const{mergedClsPrefix:s}=this;return M("div",{class:`${s}-input-group`},this.$slots)}}),mt=k("input-group-label",` - position: relative; - user-select: none; - -webkit-user-select: none; - box-sizing: border-box; - padding: 0 12px; - display: inline-block; - border-radius: var(--n-border-radius); - background-color: var(--n-group-label-color); - color: var(--n-group-label-text-color); - font-size: var(--n-font-size); - line-height: var(--n-height); - height: var(--n-height); - flex-shrink: 0; - white-space: nowrap; - transition: - color .3s var(--n-bezier), - background-color .3s var(--n-bezier), - box-shadow .3s var(--n-bezier); -`,[K("border",` - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - border-radius: inherit; - border: var(--n-group-label-border); - transition: border-color .3s var(--n-bezier); - `)]),pt=Object.assign(Object.assign({},xe.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),ve=E({name:"InputGroupLabel",props:pt,setup(s){const{mergedBorderedRef:i,mergedClsPrefixRef:l,inlineThemeDisabled:d}=_e(s),b=xe("Input","-input-group-label",mt,Be,s,l),v=A(()=>{const{size:u}=s,{common:{cubicBezierEaseInOut:g},self:{groupLabelColor:C,borderRadius:z,groupLabelTextColor:I,lineHeight:c,groupLabelBorder:R,[be("fontSize",u)]:y,[be("height",u)]:w}}=b.value;return{"--n-bezier":g,"--n-group-label-color":C,"--n-group-label-border":R,"--n-border-radius":z,"--n-group-label-text-color":I,"--n-font-size":y,"--n-line-height":c,"--n-height":w}}),p=d?Te("input-group-label",A(()=>s.size[0]),v,s):void 0;return{mergedClsPrefix:l,mergedBordered:i,cssVars:d?void 0:v,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender}},render(){var s,i,l;const{mergedClsPrefix:d}=this;return(s=this.onRender)===null||s===void 0||s.call(this),M("div",{class:[`${d}-input-group-label`,this.themeClass],style:this.cssVars},(l=(i=this.$slots).default)===null||l===void 0?void 0:l.call(i),this.mergedBordered?M("div",{class:`${d}-input-group-label__border`}):null)}}),ht=s=>1-Math.pow(1-s,5);function bt(s){const{from:i,to:l,duration:d,onUpdate:b,onFinish:v}=s,p=()=>{const g=performance.now(),C=Math.min(g-u,d),z=i+(l-i)*ht(C/d);if(C===d){v();return}b(z),requestAnimationFrame(p)},u=performance.now();p()}const gt={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},vt=E({name:"NumberAnimation",props:gt,setup(s){const{localeRef:i}=Ue("name"),{duration:l}=s,d=m(s.from),b=A(()=>{const{locale:c}=s;return c!==void 0?c:i.value});let v=!1;const p=c=>{d.value=c},u=()=>{var c;d.value=s.to,v=!1,(c=s.onFinish)===null||c===void 0||c.call(s)},g=(c=s.from,R=s.to)=>{v=!0,d.value=s.from,c!==R&&bt({from:c,to:R,duration:l,onUpdate:p,onFinish:u})},C=A(()=>{var c;const y=dt(d.value,s.precision).toFixed(s.precision).split("."),w=new Intl.NumberFormat(b.value),_=(c=w.formatToParts(.5).find(P=>P.type==="decimal"))===null||c===void 0?void 0:c.value,x=s.showSeparator?w.format(Number(y[0])):y[0],V=y[1];return{integer:x,decimal:V,decimalSeparator:_}});function z(){v||g()}return we(()=>{je(()=>{s.active&&g()})}),Object.assign({formattedValue:C},{play:z})},render(){const{formattedValue:{integer:s,decimal:i,decimalSeparator:l}}=this;return[s,i?l:null,i]}}),_t={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},xt=t("path",{d:"M336 192h40a40 40 0 0 1 40 40v192a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V232a40 40 0 0 1 40-40h40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),wt=t("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M336 128l-80-80l-80 80"},null,-1),yt=t("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 321V48"},null,-1),kt=[xt,wt,yt],Ct=E({name:"ShareOutline",render:function(i,l){return D(),Q("svg",_t,kt)}});function St(){return se({url:"/sales/mineAccount"})}function At(s){return se({url:"/sales/mineRecords",data:s})}function zt(s){return se({url:"/sales/drawMoneyOrder",data:s})}function Rt(s){return Ve({url:"/sales/appForMoney",data:s})}const Nt="/assets/badge-4a5770f0.png",It="/assets/qianbao-77758046.png",Pt={class:"p-5 bg-white rounded dark:bg-slate-800"},$t={class:"text-lg"},Ft={class:"pt-5"},Mt=E({__name:"drawMoneyDialog",props:{visible:{type:Boolean}},emits:["close","submit"],setup(s,{emit:i}){const l=i,d=m(null),b=ye(),v=m([{label:r("share.alipay"),value:1},{label:r("share.wechat"),value:2}]),p=()=>({withdrawalAmount:null,withdrawalChannels:null,contactInformation:"",remark:""}),u=m(p()),g=m(!1),C={withdrawalAmount:[{required:!0,message:r("share.enterWithdrawalAmount")}],withdrawalChannels:[{required:!0,message:r("share.selectWithdrawalChannel")}],contactInformation:[{required:!0,message:r("share.enterContactInfo"),trigger:"blur"}],remark:[{required:!1,message:r("share.optionalRemark"),trigger:"blur"}]};function z(){u.value=p()}function I(){var w;(w=d.value)==null||w.validate(async _=>{if(!_)try{g.value=!0;const{withdrawalAmount:x,withdrawalChannels:V,contactInformation:P,remark:L}=u.value;(await Rt({withdrawalAmount:x,withdrawalChannels:V,contactInformation:P,remark:L})).success&&(b.success(r("share.withdrawalSuccess")),z(),l("submit"),l("close")),g.value=!1}catch{g.value=!1}})}function c(){}function R(){}function y(){l("close")}return(w,_)=>(D(),Le(e(Ce),{show:w.visible,style:{width:"90%","max-width":"500px"},"on-after-enter":c,"on-after-leave":R},{default:f(()=>[t("div",Pt,[t("span",$t,n(e(r)("share.withdrawalApplicationForm")),1),t("div",{class:"absolute top-3 right-3 cursor-pointer z-30",onClick:y},[o(e(ae),{size:"20",color:"#0e7a0d"},{default:f(()=>[o(e(ke))]),_:1})]),t("div",Ft,[o(e(qe),{ref_key:"formRef",ref:d,model:u.value,rules:C,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging",style:{maxWidth:"640px"}},{default:f(()=>[o(e(X),{path:"withdrawalAmount",label:"{{ t('share.withdrawalAmount') }}"},{default:f(()=>[o(e(Ze),{value:u.value.withdrawalAmount,"onUpdate:value":_[0]||(_[0]=x=>u.value.withdrawalAmount=x),class:"w-full",clearable:"",precision:2,placeholder:"{{ t('share.enterWithdrawalAmount') }}"},null,8,["value"])]),_:1}),o(e(X),{path:"withdrawalChannels",label:"{{ t('share.withdrawalChannel') }}"},{default:f(()=>[o(e(et),{value:u.value.withdrawalChannels,"onUpdate:value":_[1]||(_[1]=x=>u.value.withdrawalChannels=x),placeholder:"{{ t('share.selectWithdrawalChannel') }}",options:v.value},null,8,["value","options"])]),_:1}),o(e(X),{path:"contactInformation",label:"{{ t('share.contactInformation') }}"},{default:f(()=>[o(e(re),{value:u.value.contactInformation,"onUpdate:value":_[2]||(_[2]=x=>u.value.contactInformation=x),type:"textarea",rows:3,placeholder:"{{ t('share.enterContactInfo') }}"},null,8,["value"])]),_:1}),o(e(X),{path:"remark",label:"{{ t('share.withdrawalRemark') }}"},{default:f(()=>[o(e(re),{value:u.value.remark,"onUpdate:value":_[3]||(_[3]=x=>u.value.remark=x),type:"textarea",rows:3,placeholder:"{{ t('share.enterWithdrawalRemark') }}"},null,8,["value"])]),_:1}),o(e(X),{class:"mt-3"},{default:f(()=>[o(e(Oe),{block:"",type:"primary",disabled:g.value,loading:g.value,onClick:I},{default:f(()=>[q(n(e(r)("share.applyWithdrawal")),1)]),_:1},8,["disabled","loading"])]),_:1})]),_:1},8,["model"])])])]),_:1},8,["show"]))}}),Bt={class:"main bg-[#f8f8fb] min-h-screen bg-center dark:bg-[#2F2E34]"},Tt={class:"w-full bg-[#f78400] p-6 flex flex-col justify-between rounded shadow-xl relative"},Ut={class:"absolute right-4 top-6 font-bold text-base opacity-60 text-[#eee] flex"},jt=["src"],Vt={class:"text-[#fff] font-bold text-xl"},Lt={class:"leading-loose flex justify-between items-center py-5"},Ot={class:"text-[#fff]"},qt={class:"font-bold text-4xl"},Dt={class:"ml-3"},Et=["src"],Gt={class:"flex justify-between text-[#fff] items-center"},Wt={class:"flex flex-col"},Ht={class:"flex items-end"},Xt={class:"font-bold text-xl"},Kt={class:"ml-2"},Qt={class:"flex flex-col"},Yt={class:"flex items-end"},Jt={class:"font-bold text-xl"},Zt={class:"ml-2"},ea={class:"flex flex-col bg-[#fff] mt-5 rounded dark:bg-[#24272e] px-2"},ta={class:"flex p-4 justify-between border-b dark:border-[#3a3a40]"},aa={class:"flex item-center"},ra={class:"ml-2"},sa={class:"text-base"},na={class:"flex p-4 justify-between border-b dark:border-[#3a3a40]"},oa={class:"flex item-center"},ia={class:"ml-2"},la={class:"text-base"},da={class:"flex p-4 justify-between"},ca={class:"flex item-center"},ua={class:"ml-2"},fa={class:"text-base"},ma={class:"flex flex-col bg-[#fff] mt-5 rounded dark:bg-[#24272e] px-2"},pa={class:"py-6 px-4 flex justify-between items-center"},ha={class:"flex flex-col"},ba={class:"text-base"},ga={class:"text-[#999] text-xs mt-2"},va={class:"py-6 px-4 flex justify-between items-center"},_a={class:"flex flex-col"},xa={class:"text-base"},wa={class:"text-[#999] text-xs mt-2"},ya={class:"py-6 px-4 flex justify-between items-center"},ka={class:"flex flex-col"},Ca={class:"text-base"},Sa={class:"text-[#999] text-xs mt-2"},Aa={class:"bg-[#fff] dark:bg-[#24272e] p-5 rounded flex"},za={class:"w-full flex"},Ra={class:"mt-5 bg-[#fff] p-5 dark:bg-[#24272e]"},Na={class:"pt-5"},Ia={class:"pt-5"},Pa={class:"pt-5"},$a={class:"p-4 bg-white rounded dark:bg-slate-800"},Fa={class:"flex text-base mb-[20px] bg-currentflex items-center"},Ma={class:"ml-[8px] mt-2"},Ba={class:"w-full flex mb-5 px-6"},Ta={class:"flex justify-center items-center"},Ua={class:"flex flex-col p-5 justify-center"},ja={class:"text-center"},Va={class:"text-center"},Qa=E({__name:"index",setup(s){const i=m({distributionBalance:0,drawMoneyIn:0,id:0,inviteCount:0,inviteLinkCount:0,orderCount:0,performanceRatio:0,salesOutletName:"",totalAmount:0,withdrawalAmount:0}),l=m(!1),d=m(!1),b=m([]),v=m([]),p=De(),u=A(()=>p.globalConfig),g=A(()=>{var a,h;return(a=u.value)!=null&&a.salesBaseRatio?Number((h=u.value)==null?void 0:h.salesBaseRatio):10}),C=A(()=>{var a,h;return(a=u.value)!=null&&a.salesSeniorRatio?Number((h=u.value)==null?void 0:h.salesSeniorRatio):10}),z=m(null),I=m("rec"),c=A(()=>p.userInfo.inviteCode),R=A(()=>{let a=`${window.location.protocol}//${window.location.hostname}`;return window.location.port&&(a+=`:${window.location.port}`),a}),y=A(()=>c.value?`${R.value}?inVitecode=${c.value}`:"**************"),w=ye(),_=m(null);Ee(),m([]);const x=m(null);m({pageSize:23});const V=m([]),P=m(!1),L=m(!1),G=m(!1),B=J({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:a=>{B.page=a,O()},onUpdatePageSize:a=>{B.pageSize=a,B.page=1,O()}}),T=J({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:a=>{T.page=a,O()},onUpdatePageSize:a=>{T.pageSize=a,T.page=1,O()}}),U=J({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:a=>{U.page=a,Y()},onUpdatePageSize:a=>{U.pageSize=a,U.page=1,Y()}}),Ae=m([{title:r("share.orderAmount"),align:"center",orderPrice:"address",render(a){return`¥${a.orderPrice}元`}},{align:"center",title:r("share.productType"),key:"tags",render(a){return r("share.purchasePackage")}},{align:"center",title:r("share.status"),key:"status",render(a){return M(j,{type:"success",size:"small",round:!0},()=>r("share.accounted"))}},{align:"center",title:r("share.commissionRate"),key:"commissionAmount",render(a){return`${a.commissionPercentage}%`}},{align:"center",title:r("share.commission"),key:"commissionAmount",render(a){return`¥${a.commissionAmount}元`}},{align:"center",title:r("share.orderTime"),key:"createdAt"}]);function ze(){I.value="drawMoney",ne(),oe()}async function Re(){const a=await He();if(!a.data)return w.error(a.message);w.success(r("share.generateInviteCodeSuccess")),p.getUserInfo()}function Ne(){d.value=!0}async function ne(){const a=await St();i.value=a.data}function Ie(a){a==="drawMoney"&&oe(),a==="rec"&&O(),a==="register"&&Y()}async function O(){try{P.value=!0;const a=await At({page:B.page,size:B.pageSize});b.value=a.data.rows,B.itemCount=a.data.count,P.value=!1}catch{P.value=!1}}async function oe(){try{L.value=!0;const a=await zt({page:T.page,size:T.pageSize});T.itemCount=a.data.count,v.value=a.data.rows,L.value=!1}catch{L.value=!1}}const Pe=m([{title:r("share.withdrawalTime"),key:"createdAt",align:"center"},{title:r("share.withdrawalAmount"),key:"withdrawalAmount",align:"center"},{title:r("share.withdrawalChannel"),key:"withdrawalChannels",align:"center",render(a){return M(j,{type:a.withdrawalChannels===1?"info":"success",size:"small",round:!0},()=>a.withdrawalChannels===1?r("share.alipay"):r("share.wechat"))}},{title:r("share.withdrawalStatus"),key:"paymentStatus",render(a){return M(j,{type:a.paymentStatus===1?"success":a.paymentStatus===-1?"error":"info",size:"small",round:!0},()=>a.paymentStatus===1?r("share.paid"):a.paymentStatus===-1?r("share.rejected"):r("share.inReview"))}},{title:r("share.withdrawalRemarks"),key:"contactInformation",align:"center",render(a){return` ${(a==null?void 0:a.contactInformation)||"---"} `}},{title:r("share.auditor"),key:"auditUserId",align:"center",render(a){return` ${(a==null?void 0:a.auditUserName)||"---"} `}}]),$e=m([{title:r("registration.avatar"),align:"center",key:"avatar",render(a){return M(Ge,{src:a.avatar,round:!0,size:38,border:!0})}},{align:"center",title:r("registration.username"),key:"username"},{align:"center",title:r("registration.email"),key:"email"},{title:r("registration.inviteeStatus"),align:"center",key:"status",render(a){return M(j,{type:a.status===1?"success":"error",size:"small",round:!0},()=>a.status===1?r("registration.registered"):r("registration.pendingActivation"))}},{title:r("registration.registrationTime"),align:"center",key:"createdAt"},{title:r("registration.lastLogin"),align:"center",key:"updatedAt"}]),{isMobile:$}=We();async function Y(){try{G.value=!0;const a=await Xe({page:U.page,size:U.pageSize});V.value=a.data.rows,U.itemCount=a.data.count,G.value=!1}catch{G.value=!1}}function ie(){if(!c.value)return w.error(r("share.requestInviteCodeFirst"));Je({text:y.value}),w.success(r("share.linkCopiedSuccess"));const a=_.value,h=document.createRange(),W=window.getSelection();h.selectNodeContents(a),W.removeAllRanges(),W.addRange(h)}return we(()=>{var a;(a=x.value)==null||a.play(),ne(),O()}),(a,h)=>{var W,le,de,ce,ue,fe,me,pe;return D(),Q("div",Bt,[o(e(Ye),{class:F([e($)?"px-3":"px-14"]),title:e(r)("share.title"),des:e(r)("share.description")},null,8,["class","title","des"]),t("div",{class:F(["flex-1 flex-wrap py-5 flex justify-between",[e($)?"px-3":"px-20"]])},[t("div",{class:F(["px-[12px] min-w-[350px]",[e($)?"w-full":"w-1/3"]])},[t("div",Tt,[t("div",Ut,[q(n(((W=i.value)==null?void 0:W.salesOutletName)||e(r)("share.defaultSalesOutletName"))+" ",1),t("img",{src:e(Nt),class:"ml-2 w-6 h-6 opacity-50"},null,8,jt)]),t("h2",Vt,n(e(r)("share.myReferrals")),1),t("div",Lt,[t("div",Ot,[t("span",qt,[o(e(vt),{ref_key:"numberAnimationInstRef",ref:x,from:0,to:Number((le=i.value)==null?void 0:le.totalAmount),active:!0,precision:2},null,8,["to"])]),t("span",Dt,n(e(r)("share.currencyUnit")),1)]),t("img",{src:e(It),class:"w-20 opacity-10",alt:""},null,8,Et)]),t("div",Gt,[t("div",Wt,[t("div",Ht,[t("span",Xt,n(((de=i.value)==null?void 0:de.distributionBalance)||0),1),t("span",Kt,n(e(r)("share.currencyUnit")),1)]),t("div",null,n(e(r)("share.remainingAmount")),1)]),t("div",Qt,[t("div",Yt,[t("span",Jt,n(((ce=i.value)==null?void 0:ce.drawMoneyIn)||0),1),t("span",Zt,n(e(r)("share.currencyUnit")),1)]),t("div",null,n(e(r)("share.withdrawingAmount")),1)]),t("div",null,[o(e(Ke),{placement:"top",trigger:"hover",delay:((ue=i.value)==null?void 0:ue.distributionBalance)>10?800:200},{trigger:f(()=>{var N;return[t("div",{class:F(["btn",[((N=i.value)==null?void 0:N.distributionBalance)l.value=!0)},n(e(r)("share.withdrawNow")),3)]}),default:f(()=>{var N;return[t("span",null,n(e(r)("share.minimumWithdrawalPrefix"))+" "+n(Number((N=u.value)==null?void 0:N.salesAllowDrawMoney)||10)+" "+n(e(r)("share.minimumWithdrawalSuffix")),1)]}),_:1},8,["delay"])])])]),t("div",ea,[t("div",ta,[t("div",aa,[o(e(H),{class:"text-lg",icon:"icon-park-outline:order"}),t("span",ra,n(e(r)("share.purchaseOrderCount")),1)]),t("b",sa,n(((fe=i.value)==null?void 0:fe.orderCount)||0),1)]),t("div",na,[t("div",oa,[o(e(H),{class:"text-lg",icon:"ep:link"}),t("span",ia,n(e(r)("share.promotionLinkVisits")),1)]),t("b",la,n(((me=i.value)==null?void 0:me.inviteLinkCount)||0),1)]),t("div",da,[t("div",ca,[o(e(H),{class:"text-lg",icon:"ph:user"}),t("span",ua,n(e(r)("share.registeredUsers")),1)]),t("b",fa,n(((pe=i.value)==null?void 0:pe.inviteCount)||0),1)])]),t("div",ma,[t("div",pa,[t("div",ha,[t("h3",ba,n(e(r)("share.referralEarnings")),1),t("div",ga,n(e(r)("share.referralEarningsDescription")),1)]),o(e(j),{round:"",bordered:!1,type:"success",size:"small"},{default:f(()=>[q(n(e(r)("share.percentage"))+n(g.value)+"% ",1)]),_:1})]),t("div",va,[t("div",_a,[t("h3",xa,n(e(r)("share.applyForAdvancedAgent")),1),t("div",wa,n(e(r)("share.contactAdminForAdvancedAgent")),1)]),o(e(j),{round:"",bordered:!1,type:"success",size:"small"},{default:f(()=>[q(n(e(r)("share.percentage"))+n(C.value)+"% ",1)]),_:1})]),t("div",ya,[t("div",ka,[t("h3",Ca,n(e(r)("share.joinAsPartner")),1),t("div",Sa,n(e(r)("share.partnerDescription")),1)]),o(e(j),{round:"",bordered:!1,type:"error",size:"small"},{default:f(()=>[q(n(e(r)("share.winTogether")),1)]),_:1})])])],2),t("div",{class:F(["px-[12px]",[e($)?"w-full":"w-2/3"]])},[t("div",Aa,[t("div",za,[t("div",{class:F(["border border-[ced4da] dark:border-[#3a3a40] text-sm py-1 rounded-l-md flex items-center",[e($)?"px-1":"px-3"]])},n(e(r)("share.referralLink")),3),t("div",{ref_key:"selectable",ref:_,class:"bg-[#fafafa] dark:bg-[#2F2E34] flex-1 flex items-center dark:border-[#ffffff17] border-b border-t pl-4 max-w-[500px] select-text overflow-x-hidden whitespace-nowrap"},n(y.value),513),c.value?Z("",!0):(D(),Q("div",{key:0,class:F([[e($)?"px-2":"px-5"],"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center mr-[-1px] select-none"]),onClick:Re},n(e(r)("share.apply")),3)),c.value?(D(),Q("div",{key:1,class:F([[e($)?"px-2":"px-5"],"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center mr-[-1px]"])},[o(e(H),{class:"text-lg",icon:"fluent:document-copy-48-regular",onClick:ie})],2)):Z("",!0),!e($)&&c.value?(D(),Q("div",{key:2,class:"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center px-5 bg-currentrounded-r-md",onClick:Ne},[o(e(H),{class:"text-lg",icon:"la:qrcode"})])):Z("",!0)])]),t("div",Ra,[o(e(tt),{ref_key:"tabRef",ref:z,value:I.value,"onUpdate:value":[h[1]||(h[1]=N=>I.value=N),Ie],"bar-width":338,animated:"","justify-content":"space-evenly",type:"line"},{default:f(()=>[o(e(te),{name:"rec",tab:e(r)("share.referralRecordsTab")},{default:f(()=>[t("div",Na,[o(e(ee),{"min-width":200,loading:P.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:Ae.value,data:b.value,pagination:B,"scroll-x":700},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"]),o(e(te),{name:"drawMoney",tab:e(r)("share.withdrawalRecordsTab")},{default:f(()=>[t("div",Ia,[o(e(ee),{loading:L.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:Pe.value,data:v.value,pagination:T,"scroll-x":500},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"]),o(e(te),{name:"register",tab:e(r)("share.registeredUsersTab")},{default:f(()=>[t("div",Pa,[o(e(ee),{loading:G.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:$e.value,data:V.value,pagination:U,"scroll-x":500},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"])]),_:1},8,["value"])]),o(Mt,{visible:l.value,onClose:h[2]||(h[2]=N=>l.value=!1),onSubmit:ze},null,8,["visible"])],2)],2),o(e(Ce),{show:d.value,style:{width:"90%","max-width":"420px"}},{default:f(()=>[t("div",$a,[t("div",{class:"flex justify-between",onClick:h[3]||(h[3]=N=>d.value=!1)},[t("div",Fa,[o(e(ae),{size:"22",color:"#0e7a0d"},{default:f(()=>[o(e(Ct))]),_:1}),t("span",Ma,n(e(r)("share.inviteFriends")),1)]),o(e(ae),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:f(()=>[o(e(ke))]),_:1})]),t("div",Ba,[o(e(ft),null,{default:f(()=>[o(e(ve),{size:"small"},{default:f(()=>[q(n(e(r)("share.inviteLink")),1)]),_:1}),o(e(re),{size:"small",style:{flex:1},value:y.value},null,8,["value"]),o(e(ve),{size:"small",onClick:ie},{default:f(()=>[t("div",null,n(e(r)("share.copy")),1)]),_:1})]),_:1})]),t("div",Ta,[o(Qe,{value:y.value,size:240},null,8,["value"])]),t("div",Ua,[t("span",ja,n(e(r)("share.inviteBenefits1")),1),t("span",Va,n(e(r)("share.inviteBenefits2Prefix"))+" "+n(g.value||10)+" "+n(e(r)("share.inviteBenefits2Suffix")),1)])])]),_:1},8,["show"])])}}});export{Qa as default}; diff --git a/public/assets/index-82c86423.css b/public/assets/index-82c86423.css deleted file mode 100644 index a85edbf..0000000 --- a/public/assets/index-82c86423.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:black;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-handler{display:block;background:white;height:10px;width:10px}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.cropper-container[data-v-6aaf4d2d]{width:50vw;height:50vh;display:flex;justify-content:center;align-items:center;overflow:hidden}.cropper[data-v-6aaf4d2d]{max-width:50vw;max-height:50vh}@media (max-width: 600px){.cropper-container[data-v-6aaf4d2d]{width:90vw;height:50vh}.cropper[data-v-6aaf4d2d]{max-width:90vw;max-height:50vh}}.aspect-active{border:2px solid #3074f8ff;color:#3074f8}.model-active{border:3px solid #3074f8ff}.upload{border:1px dashed #424242;font-size:12px;border-radius:8px;padding:14px}.upload:hover{border:1px dashed #3074f8ff} diff --git a/public/assets/index-8add68fd.js b/public/assets/index-8add68fd.js new file mode 100644 index 0000000..860f766 --- /dev/null +++ b/public/assets/index-8add68fd.js @@ -0,0 +1,74 @@ +import{u as he}from"./useBasicLayout-a4f17bae.js";import{a as pe,u as ge,t as _,Z as ve}from"./index-d64a7cc4.js";import{i as ye,e as we,K as ce,z,Z as xe}from"./naive-ui-fedd20b1.js";import{b as be,M as Pe,F as le,t as Ae}from"./index-b71062e6.js";import{d as Ee,r as X,f as fe,Q as Te,U as Y,a3 as b,M as h,a4 as I,a5 as de,X as M,W as O,S as ee,c as W}from"./vue-10b4afc0.js";import"./vueuse-motion-d4cdaf7b.js";var me={exports:{}};(function(ue){(function(te){var c=Z(),B=Q(),$=g(),q=v(),J={imagePlaceholder:void 0,cacheBust:!1},p={toSvg:j,toPng:N,toJpeg:C,toBlob:ne,toPixelData:F,impl:{fontFaces:$,images:q,util:c,inliner:B,options:{}}};ue.exports=p;function j(t,e){return e=e||{},G(e),Promise.resolve(t).then(function(o){return K(o,e.filter,!0)}).then(re).then(ae).then(a).then(function(o){return oe(o,e.width||c.width(t),e.height||c.height(t))});function a(o){return e.bgcolor&&(o.style.backgroundColor=e.bgcolor),e.width&&(o.style.width=e.width+"px"),e.height&&(o.style.height=e.height+"px"),e.style&&Object.keys(e.style).forEach(function(u){o.style[u]=e.style[u]}),o}}function F(t,e){return V(t,e||{}).then(function(a){return a.getContext("2d").getImageData(0,0,c.width(t),c.height(t)).data})}function N(t,e){return V(t,e||{}).then(function(a){return a.toDataURL()})}function C(t,e){return e=e||{},V(t,e).then(function(a){return a.toDataURL("image/jpeg",e.quality||1)})}function ne(t,e){return V(t,e||{}).then(c.canvasToBlob)}function G(t){typeof t.imagePlaceholder>"u"?p.impl.options.imagePlaceholder=J.imagePlaceholder:p.impl.options.imagePlaceholder=t.imagePlaceholder,typeof t.cacheBust>"u"?p.impl.options.cacheBust=J.cacheBust:p.impl.options.cacheBust=t.cacheBust}function V(t,e){return j(t,e).then(c.makeImage).then(c.delay(100)).then(function(o){var u=a(t);return u.getContext("2d").drawImage(o,0,0),u});function a(o){var u=document.createElement("canvas");if(u.width=e.width||c.width(o),u.height=e.height||c.height(o),e.bgcolor){var s=u.getContext("2d");s.fillStyle=e.bgcolor,s.fillRect(0,0,u.width,u.height)}return u}}function K(t,e,a){if(!a&&e&&!e(t))return Promise.resolve();return Promise.resolve(t).then(o).then(function(r){return u(t,r,e)}).then(function(r){return s(t,r)});function o(r){return r instanceof HTMLCanvasElement?c.makeImage(r.toDataURL()):r.cloneNode(!1)}function u(r,i,w){var P=r.childNodes;if(P.length===0)return Promise.resolve(i);return m(i,c.asArray(P),w).then(function(){return i});function m(L,A,y){var E=Promise.resolve();return A.forEach(function(R){E=E.then(function(){return K(R,y)}).then(function(T){T&&L.appendChild(T)})}),E}}function s(r,i){if(!(i instanceof Element))return i;return Promise.resolve().then(w).then(P).then(m).then(L).then(function(){return i});function w(){A(window.getComputedStyle(r),i.style);function A(y,E){y.cssText?E.cssText=y.cssText:R(y,E);function R(T,U){c.asArray(T).forEach(function(n){U.setProperty(n,T.getPropertyValue(n),T.getPropertyPriority(n))})}}}function P(){[":before",":after"].forEach(function(y){A(y)});function A(y){var E=window.getComputedStyle(r,y),R=E.getPropertyValue("content");if(R===""||R==="none")return;var T=c.uid();i.className=i.className+" "+T;var U=document.createElement("style");U.appendChild(n(T,y,E)),i.appendChild(U);function n(l,d,f){var x="."+l+":"+d,S=f.cssText?ie(f):se(f);return document.createTextNode(x+"{"+S+"}");function ie(k){var D=k.getPropertyValue("content");return k.cssText+" content: "+D+";"}function se(k){return c.asArray(k).map(D).join("; ")+";";function D(H){return H+": "+k.getPropertyValue(H)+(k.getPropertyPriority(H)?" !important":"")}}}}}function m(){r instanceof HTMLTextAreaElement&&(i.innerHTML=r.value),r instanceof HTMLInputElement&&i.setAttribute("value",r.value)}function L(){i instanceof SVGElement&&(i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i instanceof SVGRectElement&&["width","height"].forEach(function(A){var y=i.getAttribute(A);y&&i.style.setProperty(A,y)}))}}}function re(t){return $.resolveAll().then(function(e){var a=document.createElement("style");return t.appendChild(a),a.appendChild(document.createTextNode(e)),t})}function ae(t){return q.inlineAll(t).then(function(){return t})}function oe(t,e,a){return Promise.resolve(t).then(function(o){return o.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(o)}).then(c.escapeXhtml).then(function(o){return''+o+""}).then(function(o){return''+o+""}).then(function(o){return"data:image/svg+xml;charset=utf-8,"+o})}function Z(){return{escape:L,parseExtension:e,mimeType:a,dataAsUrl:m,isDataUrl:o,canvasToBlob:s,resolveUrl:r,getAndEncode:P,uid:i(),delay:A,asArray:y,escapeXhtml:E,makeImage:w,width:R,height:T};function t(){var n="application/font-woff",l="image/jpeg";return{woff:n,woff2:n,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:l,jpeg:l,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function e(n){var l=/\.([^\.\/]*?)$/g.exec(n);return l?l[1]:""}function a(n){var l=e(n).toLowerCase();return t()[l]||""}function o(n){return n.search(/^(data:)/)!==-1}function u(n){return new Promise(function(l){for(var d=window.atob(n.toDataURL().split(",")[1]),f=d.length,x=new Uint8Array(f),S=0;S{setTimeout(()=>{ne()},1e3)});let G;function V(){const g=new XMLSerializer().serializeToString(N.value),v=new Blob([g],{type:"image/svg+xml;charset=utf-8"});le.saveAs(v,"nineai-mind.svg")}async function K(){const v=` + + + + + Markmap Export + + + ${await Ce.toSvg(N.value)} + +`,t=new Blob([v],{type:"text/html;charset=utf-8"});le.saveAs(t,"nineai-mind.html")}async function re(){p.value=!0,C.value="";try{const g="";let v="";const t=()=>(C.value=v,p.value?!0:(C.value=v,!1)),e=setInterval(()=>{t()||clearInterval(e)},1e3);await(async()=>{let o=0;await ve({prompt:F.value,onDownloadProgress:({event:u})=>{const r=u.target.responseText,i=r.substring(o);o=r.length,i.trim().split(` +`).forEach(P=>{try{const m=JSON.parse(P);m.userBalance&&te.updateUserBalance(m.userBalance),m.text&&(v+=m.text)}catch{}})}}),p.value=!1})()}catch(g){p.value=!1;const{code:v=500,message:t="好像出错了,请稍后再试!"}=g;if(v===429&&t.includes("balance has been exhausted"))return B.error("当前系统Key余额耗尽、请联系管理员补充!");if(v===500){let e=(g==null?void 0:g.message)??"好像出错了,请稍后再试!";e==="Request failed with status code 401"&&(e="非法操作、请先登录后再进行问答使用!"),B.error(e);return}if(g.code===402){B.error(g.message,{duration:5e3}),c.updateGoodsDialog(!0);return}B.error("出了点小错误、请稍后试试吧!")}finally{p.value=!1}}async function ae(){const g=await Ae(N.value);le.saveAs(g,"markmap.png")}function oe(){C.value=He}const Z=()=>{const{root:g}=J.transform(C.value);G.setData(g),G.fit()};return fe(()=>{G=Pe.create(N.value),Z()}),Te(Z),(g,v)=>(ee(),Y("div",Se,[b("div",Ie,[b("div",Be,[h(j)?(ee(),Y("header",Ue,[b("h2",ke,I(h(_)("mindmap.title")),1)])):de("",!0),b("h4",De,I(h(_)("mindmap.yourNeeds")),1),M(h(ce),{ref_key:"inputRef",ref:q,value:F.value,"onUpdate:value":v[0]||(v[0]=t=>F.value=t),type:"textarea",disabled:p.value,autosize:{minRows:3},placeholder:h(_)("mindmap.inputPlaceholder")},null,8,["value","disabled","placeholder"]),b("div",Re,[M(h(z),{type:"primary",size:"small",style:{width:"100%"},loading:p.value,onClick:re},{default:O(()=>[W(I(h(_)("mindmap.generateMindMapButton")),1)]),_:1},8,["loading"])]),b("div",Me,[b("h4",Ne,I(h(_)("mindmap.contentRequirements")),1),M(h(z),{text:"",onClick:oe},{default:O(()=>[W(I(h(_)("mindmap.tryDemoButton")),1)]),_:1})]),M(h(ce),{value:C.value,"onUpdate:value":v[1]||(v[1]=t=>C.value=t),type:"textarea",disabled:p.value,autosize:{minRows:8,maxRows:24},placeholder:"请用markdown语法输入您想要生成思维导图的内容或在上方使用描述让AI帮您完善!"},null,8,["value","disabled"])]),b("div",Le,[b("div",Ve,I(h(_)("mindmap.usageCredits")),1),b("div",null,[M(h(xe),{size:"small"},{default:O(()=>[M(h(z),{type:"primary",onClick:K},{default:O(()=>[W(I(h(_)("mindmap.exportHTML")),1)]),_:1}),M(h(z),{type:"primary",onClick:ae},{default:O(()=>[W(I(h(_)("mindmap.exportPNG")),1)]),_:1}),M(h(z),{type:"warning",onClick:V},{default:O(()=>[W(I(h(_)("mindmap.exportSVG")),1)]),_:1})]),_:1})])])]),b("div",Oe,[h(j)?de("",!0):(ee(),Y("header",je,[b("h2",Fe,I(h(_)("mindmap.title")),1)])),b("div",Ge,[(ee(),Y("svg",{ref_key:"svgRef",ref:N,class:"box-border w-full h-full border rounded-md"},null,512))])])]))}});export{Ze as default}; diff --git a/public/assets/index-8add68fd.js.br b/public/assets/index-8add68fd.js.br new file mode 100644 index 0000000..ae8c48b Binary files /dev/null and b/public/assets/index-8add68fd.js.br differ diff --git a/public/assets/index-9296b6ea.js b/public/assets/index-9296b6ea.js new file mode 100644 index 0000000..a48cb62 --- /dev/null +++ b/public/assets/index-9296b6ea.js @@ -0,0 +1 @@ +import{o as k,u as E,e as b,a0 as B,a1 as S}from"./index-d64a7cc4.js";import{d as I,r as C,e as r,w as L,f as D,o as F,U as f,a8 as h,a3 as c,a5 as M,S as g,ah as U}from"./vue-10b4afc0.js";import"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const W={class:"w-full h-full relative"},A={class:"loading"},N=U('',7),T=[N],V=["src"],q=I({__name:"index",setup(G){const _=k(),l=E(),n=C(!1),i=r(()=>l.iframeUrl),o=b(),u=r(()=>o.theme==="dark");function v(){const e=document.getElementById("iframe");e!=null&&e.addEventListener||e==null||e.attachEvent("onload",d),e==null||e.addEventListener("load",d,!0)}const m=r(()=>o.theme);L(m,e=>{s({type:"theme",data:e})}),D(()=>{if(!i.value)return _.push("/");n.value=!0,v(),window.addEventListener("message",p)});async function p(e){const{type:t,data:a}=e.data;t==="theme"&&o.setTheme(a==="dark"?"dark":"light"),t==="chat"&&w(a)}function w(e){B({prompt:e}).then(t=>{const{code:a,data:y}=t;a===200&&s({type:"chat",data:x(y)})})}function x(e){const t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;return e.replace(t,"")}function s(e){document.getElementById("iframe").contentWindow.postMessage(e,"*")}function d(){s({type:"theme",data:m.value});const e=S();e&&s({type:"token",data:e}),n.value=!1}return F(()=>{l.updateIframeUrl("");const e=document.getElementById("iframe");e==null||e.removeEventListener("load",d),window.removeEventListener("message",p)}),(e,t)=>(g(),f("div",W,[n.value?(g(),f("div",{key:0,class:h(["main-container absolute left-0 right-0 bottom-0 top-0 backdrop-blur",[u.value?"dark:bg-black/20":"bg-white/80"]])},[c("div",A,[c("div",{class:h(["loading-text ",u.value?"text-[#fff]":"text-[#000]"]),id:"loading-text"},T,2)])],2)):M("",!0),c("iframe",{id:"iframe",src:i.value,style:{width:"100%",height:"100%",border:"none"},allow:"fullscreen"},null,8,V)]))}});export{q as default}; diff --git a/public/assets/index-9296b6ea.js.br b/public/assets/index-9296b6ea.js.br new file mode 100644 index 0000000..cecadd7 Binary files /dev/null and b/public/assets/index-9296b6ea.js.br differ diff --git a/public/assets/index-96ef26bb.js b/public/assets/index-96ef26bb.js new file mode 100644 index 0000000..b5e16eb --- /dev/null +++ b/public/assets/index-96ef26bb.js @@ -0,0 +1 @@ +import{o as s}from"./index-d64a7cc4.js";import{d as a,U as o,a3 as r,X as c,W as n,M as i,ah as l,S as d,c as m}from"./vue-10b4afc0.js";import{z as p}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const x=""+new URL("404-0d6db85f.svg",import.meta.url).href,u={class:"flex h-full bg-white dark:bg-gray-900"},_={class:"px-4 m-auto space-y-4 text-center max-[400px]"},f=l('

    404 - 页面迷路了!

    哎呀!页面好像迷路了,找不到了。

    404
    ',3),b=a({__name:"index",setup(h){const t=s();function e(){t.push("/")}return(v,g)=>(d(),o("div",u,[r("div",_,[f,c(i(p),{type:"primary",onClick:e},{default:n(()=>[m(" Go to Home ")]),_:1})])]))}});export{b as default}; diff --git a/public/assets/index-9c69c5a3.js b/public/assets/index-9c69c5a3.js deleted file mode 100644 index 1f9f94f..0000000 --- a/public/assets/index-9c69c5a3.js +++ /dev/null @@ -1,141 +0,0 @@ -import{g as re,r as D,aK as Le,b5 as Pe,k as j,u as je,b6 as Ke,aN as Qe,w as Je,m as Ze,b7 as et,b8 as tt,aT as he,ah as ze,ai as Re,v as L,b9 as rt,T as Ue,aj as nt,ba as Fe,bb as st,bc as ot,bd as at,c as R,be as ve,a as K,b as te,d as ie,bf as it,p as lt,h as We,bg as ct,l as Ie,t as Ne,bh as Oe,bi as ut,n as dt,bj as ft,bk as pt,bl as ht,A as ne,bm as mt,bn as vt,H as fe,K as He,aQ as Ge,bo as me,a0 as t,L as ge,E as O,F as Q,G as r,U as G,R as d,am as X,S as n,X as e,ao as F,Z,Q as p,bp as Me,bq as gt,aI as bt,az as be,J as ye,br as Xe,bs as yt,bt as de,bu as ee,aq as Be,aA as Ee,bv as se,O as Ye,bw as wt,bx as xt,by as $e,W as De,bz as _t,al as Ct,bA as St,P as kt,bB as $t,bC as Tt,bD as zt,bE as pe,N as Et,aX as Pt,bF as Mt,bG as Bt}from"./index-2efe4620.js";import{_ as At}from"./titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js";import{N as Ve,a as Te}from"./FormItem-6d94e26d.js";import{N as le}from"./Input-4816b01d.js";import{N as Rt}from"./LayoutSider-0c83106f.js";import{N as ue,a as It}from"./Tabs-d30e51ae.js";import"./Select-b45c26f7.js";import"./Add-1eab33c9.js";const Nt=re({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(i){const o=D(!!i.show),a=D(null),$=Le(Pe);let x=0,f="",u=null;const s=D(!1),l=D(!1),h=j(()=>i.placement==="top"||i.placement==="bottom"),{mergedClsPrefixRef:w,mergedRtlRef:C}=je(i),T=Ke("Drawer",C,w),z=B=>{l.value=!0,x=h.value?B.clientY:B.clientX,f=document.body.style.cursor,document.body.style.cursor=h.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",A),document.body.addEventListener("mouseleave",g),document.body.addEventListener("mouseup",N)},y=()=>{u!==null&&(window.clearTimeout(u),u=null),l.value?s.value=!0:u=window.setTimeout(()=>{s.value=!0},300)},c=()=>{u!==null&&(window.clearTimeout(u),u=null),s.value=!1},{doUpdateHeight:m,doUpdateWidth:M}=$,Y=B=>{const{maxWidth:U}=i;if(U&&B>U)return U;const{minWidth:W}=i;return W&&B{const{maxHeight:U}=i;if(U&&B>U)return U;const{minHeight:W}=i;return W&&B{var U,W;if(l.value)if(h.value){let V=((U=a.value)===null||U===void 0?void 0:U.offsetHeight)||0;const J=x-B.clientY;V+=i.placement==="bottom"?J:-J,V=H(V),m(V),x=B.clientY}else{let V=((W=a.value)===null||W===void 0?void 0:W.offsetWidth)||0;const J=x-B.clientX;V+=i.placement==="right"?J:-J,V=Y(V),M(V),x=B.clientX}},N=()=>{l.value&&(x=0,l.value=!1,document.body.style.cursor=f,document.body.removeEventListener("mousemove",A),document.body.removeEventListener("mouseup",N),document.body.removeEventListener("mouseleave",g))},g=N;Qe(()=>{i.show&&(o.value=!0)}),Je(()=>i.show,B=>{B||N()}),Ze(()=>{N()});const E=j(()=>{const{show:B}=i,U=[[Re,B]];return i.showMask||U.push([et,i.onClickoutside,void 0,{capture:!0}]),U});function I(){var B;o.value=!1,(B=i.onAfterLeave)===null||B===void 0||B.call(i)}return tt(j(()=>i.blockScroll&&o.value)),he(st,a),he(ot,null),he(at,null),{bodyRef:a,rtlEnabled:T,mergedClsPrefix:$.mergedClsPrefixRef,isMounted:$.isMountedRef,mergedTheme:$.mergedThemeRef,displayed:o,transitionName:j(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[i.placement]),handleAfterLeave:I,bodyDirectives:E,handleMousedownResizeTrigger:z,handleMouseenterResizeTrigger:y,handleMouseleaveResizeTrigger:c,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:i,mergedClsPrefix:o}=this;return this.displayDirective==="show"||this.displayed||this.show?ze(L("div",{role:"none"},L(rt,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>L(Ue,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>ze(L("div",nt(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${o}-drawer`,this.rtlEnabled&&`${o}-drawer--rtl`,`${o}-drawer--${this.placement}-placement`,this.isDragging&&`${o}-drawer--unselectable`,this.nativeScrollbar&&`${o}-drawer--native-scrollbar`]}),[this.resizable?L("div",{class:[`${o}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${o}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?L("div",{class:[`${o}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},i):L(Fe,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${o}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),i)]),this.bodyDirectives)})})),[[Re,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:Ot,cubicBezierEaseOut:Dt}=ve;function Lt({duration:i="0.3s",leaveDuration:o="0.2s",name:a="slide-in-from-right"}={}){return[R(`&.${a}-transition-leave-active`,{transition:`transform ${o} ${Ot}`}),R(`&.${a}-transition-enter-active`,{transition:`transform ${i} ${Dt}`}),R(`&.${a}-transition-enter-to`,{transform:"translateX(0)"}),R(`&.${a}-transition-enter-from`,{transform:"translateX(100%)"}),R(`&.${a}-transition-leave-from`,{transform:"translateX(0)"}),R(`&.${a}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:jt,cubicBezierEaseOut:Ut}=ve;function Ft({duration:i="0.3s",leaveDuration:o="0.2s",name:a="slide-in-from-left"}={}){return[R(`&.${a}-transition-leave-active`,{transition:`transform ${o} ${jt}`}),R(`&.${a}-transition-enter-active`,{transition:`transform ${i} ${Ut}`}),R(`&.${a}-transition-enter-to`,{transform:"translateX(0)"}),R(`&.${a}-transition-enter-from`,{transform:"translateX(-100%)"}),R(`&.${a}-transition-leave-from`,{transform:"translateX(0)"}),R(`&.${a}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:Wt,cubicBezierEaseOut:Ht}=ve;function Gt({duration:i="0.3s",leaveDuration:o="0.2s",name:a="slide-in-from-top"}={}){return[R(`&.${a}-transition-leave-active`,{transition:`transform ${o} ${Wt}`}),R(`&.${a}-transition-enter-active`,{transition:`transform ${i} ${Ht}`}),R(`&.${a}-transition-enter-to`,{transform:"translateY(0)"}),R(`&.${a}-transition-enter-from`,{transform:"translateY(-100%)"}),R(`&.${a}-transition-leave-from`,{transform:"translateY(0)"}),R(`&.${a}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:Xt,cubicBezierEaseOut:Yt}=ve;function Vt({duration:i="0.3s",leaveDuration:o="0.2s",name:a="slide-in-from-bottom"}={}){return[R(`&.${a}-transition-leave-active`,{transition:`transform ${o} ${Xt}`}),R(`&.${a}-transition-enter-active`,{transition:`transform ${i} ${Yt}`}),R(`&.${a}-transition-enter-to`,{transform:"translateY(0)"}),R(`&.${a}-transition-enter-from`,{transform:"translateY(100%)"}),R(`&.${a}-transition-leave-from`,{transform:"translateY(0)"}),R(`&.${a}-transition-leave-to`,{transform:"translateY(100%)"})]}const qt=R([K("drawer",` - word-break: break-word; - line-height: var(--n-line-height); - position: absolute; - pointer-events: all; - box-shadow: var(--n-box-shadow); - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - background-color: var(--n-color); - color: var(--n-text-color); - box-sizing: border-box; - `,[Lt(),Ft(),Gt(),Vt(),te("unselectable",` - user-select: none; - -webkit-user-select: none; - `),te("native-scrollbar",[K("drawer-content-wrapper",` - overflow: auto; - height: 100%; - `)]),ie("resize-trigger",` - position: absolute; - background-color: #0000; - transition: background-color .3s var(--n-bezier); - `,[te("hover",` - background-color: var(--n-resize-trigger-color-hover); - `)]),K("drawer-content-wrapper",` - box-sizing: border-box; - `),K("drawer-content",` - height: 100%; - display: flex; - flex-direction: column; - `,[te("native-scrollbar",[K("drawer-body-content-wrapper",` - height: 100%; - overflow: auto; - `)]),K("drawer-body",` - flex: 1 0 0; - overflow: hidden; - `),K("drawer-body-content-wrapper",` - box-sizing: border-box; - padding: var(--n-body-padding); - `),K("drawer-header",` - font-weight: var(--n-title-font-weight); - line-height: 1; - font-size: var(--n-title-font-size); - color: var(--n-title-text-color); - padding: var(--n-header-padding); - transition: border .3s var(--n-bezier); - border-bottom: 1px solid var(--n-divider-color); - border-bottom: var(--n-header-border-bottom); - display: flex; - justify-content: space-between; - align-items: center; - `,[ie("close",` - margin-left: 6px; - transition: - background-color .3s var(--n-bezier), - color .3s var(--n-bezier); - `)]),K("drawer-footer",` - display: flex; - justify-content: flex-end; - border-top: var(--n-footer-border-top); - transition: border .3s var(--n-bezier); - padding: var(--n-footer-padding); - `)]),te("right-placement",` - top: 0; - bottom: 0; - right: 0; - border-top-left-radius: var(--n-border-radius); - border-bottom-left-radius: var(--n-border-radius); - `,[ie("resize-trigger",` - width: 3px; - height: 100%; - top: 0; - left: 0; - transform: translateX(-1.5px); - cursor: ew-resize; - `)]),te("left-placement",` - top: 0; - bottom: 0; - left: 0; - border-top-right-radius: var(--n-border-radius); - border-bottom-right-radius: var(--n-border-radius); - `,[ie("resize-trigger",` - width: 3px; - height: 100%; - top: 0; - right: 0; - transform: translateX(1.5px); - cursor: ew-resize; - `)]),te("top-placement",` - top: 0; - left: 0; - right: 0; - border-bottom-left-radius: var(--n-border-radius); - border-bottom-right-radius: var(--n-border-radius); - `,[ie("resize-trigger",` - width: 100%; - height: 3px; - bottom: 0; - left: 0; - transform: translateY(1.5px); - cursor: ns-resize; - `)]),te("bottom-placement",` - left: 0; - bottom: 0; - right: 0; - border-top-left-radius: var(--n-border-radius); - border-top-right-radius: var(--n-border-radius); - `,[ie("resize-trigger",` - width: 100%; - height: 3px; - top: 0; - left: 0; - transform: translateY(-1.5px); - cursor: ns-resize; - `)])]),R("body",[R(">",[K("drawer-container",` - position: fixed; - `)])]),K("drawer-container",` - position: relative; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - pointer-events: none; - `,[R("> *",` - pointer-events: all; - `)]),K("drawer-mask",` - background-color: rgba(0, 0, 0, .3); - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - `,[te("invisible",` - background-color: rgba(0, 0, 0, 0) - `),it({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),Kt=Object.assign(Object.assign({},We.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),Qt=re({name:"Drawer",inheritAttrs:!1,props:Kt,setup(i){const{mergedClsPrefixRef:o,namespaceRef:a,inlineThemeDisabled:$}=je(i),x=lt(),f=We("Drawer","-drawer",qt,ct,i,o),u=D(i.defaultWidth),s=D(i.defaultHeight),l=Ie(Ne(i,"width"),u),h=Ie(Ne(i,"height"),s),w=j(()=>{const{placement:g}=i;return g==="top"||g==="bottom"?"":Oe(l.value)}),C=j(()=>{const{placement:g}=i;return g==="left"||g==="right"?"":Oe(h.value)}),T=g=>{const{onUpdateWidth:E,"onUpdate:width":I}=i;E&&ne(E,g),I&&ne(I,g),u.value=g},z=g=>{const{onUpdateHeight:E,"onUpdate:width":I}=i;E&&ne(E,g),I&&ne(I,g),s.value=g},y=j(()=>[{width:w.value,height:C.value},i.drawerStyle||""]);function c(g){const{onMaskClick:E,maskClosable:I}=i;I&&H(!1),E&&E(g)}function m(g){c(g)}const M=ut();function Y(g){var E;(E=i.onEsc)===null||E===void 0||E.call(i),i.show&&i.closeOnEsc&&ht(g)&&!M.value&&H(!1)}function H(g){const{onHide:E,onUpdateShow:I,"onUpdate:show":B}=i;I&&ne(I,g),B&&ne(B,g),E&&!g&&ne(E,g)}he(Pe,{isMountedRef:x,mergedThemeRef:f,mergedClsPrefixRef:o,doUpdateShow:H,doUpdateHeight:z,doUpdateWidth:T});const A=j(()=>{const{common:{cubicBezierEaseInOut:g,cubicBezierEaseIn:E,cubicBezierEaseOut:I},self:{color:B,textColor:U,boxShadow:W,lineHeight:V,headerPadding:J,footerPadding:we,borderRadius:xe,bodyPadding:_e,titleFontSize:Ce,titleTextColor:oe,titleFontWeight:ce,headerBorderBottom:Se,footerBorderTop:ke,closeIconColor:k,closeIconColorHover:b,closeIconColorPressed:v,closeColorHover:_,closeColorPressed:S,closeIconSize:P,closeSize:q,closeBorderRadius:ae,resizableTriggerColorHover:Ae}}=f.value;return{"--n-line-height":V,"--n-color":B,"--n-border-radius":xe,"--n-text-color":U,"--n-box-shadow":W,"--n-bezier":g,"--n-bezier-out":I,"--n-bezier-in":E,"--n-header-padding":J,"--n-body-padding":_e,"--n-footer-padding":we,"--n-title-text-color":oe,"--n-title-font-size":Ce,"--n-title-font-weight":ce,"--n-header-border-bottom":Se,"--n-footer-border-top":ke,"--n-close-icon-color":k,"--n-close-icon-color-hover":b,"--n-close-icon-color-pressed":v,"--n-close-size":q,"--n-close-color-hover":_,"--n-close-color-pressed":S,"--n-close-icon-size":P,"--n-close-border-radius":ae,"--n-resize-trigger-color-hover":Ae}}),N=$?dt("drawer",void 0,A,i):void 0;return{mergedClsPrefix:o,namespace:a,mergedBodyStyle:y,handleOutsideClick:m,handleMaskClick:c,handleEsc:Y,mergedTheme:f,cssVars:$?void 0:A,themeClass:N==null?void 0:N.themeClass,onRender:N==null?void 0:N.onRender,isMounted:x}},render(){const{mergedClsPrefix:i}=this;return L(pt,{to:this.to,show:this.show},{default:()=>{var o;return(o=this.onRender)===null||o===void 0||o.call(this),ze(L("div",{class:[`${i}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?L(Ue,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?L("div",{"aria-hidden":!0,class:[`${i}-drawer-mask`,this.showMask==="transparent"&&`${i}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,L(Nt,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[ft,{zIndex:this.zIndex,enabled:this.show}]])}})}}),Jt={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},Zt=re({name:"DrawerContent",props:Jt,setup(){const i=Le(Pe,null);i||mt("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:o}=i;function a(){o(!1)}return{handleCloseClick:a,mergedTheme:i.mergedThemeRef,mergedClsPrefix:i.mergedClsPrefixRef}},render(){const{title:i,mergedClsPrefix:o,nativeScrollbar:a,mergedTheme:$,bodyClass:x,bodyStyle:f,bodyContentClass:u,bodyContentStyle:s,headerClass:l,headerStyle:h,footerClass:w,footerStyle:C,scrollbarProps:T,closable:z,$slots:y}=this;return L("div",{role:"none",class:[`${o}-drawer-content`,a&&`${o}-drawer-content--native-scrollbar`]},y.header||i||z?L("div",{class:[`${o}-drawer-header`,l],style:h,role:"none"},L("div",{class:`${o}-drawer-header__main`,role:"heading","aria-level":"1"},y.header!==void 0?y.header():i),z&&L(vt,{onClick:this.handleCloseClick,clsPrefix:o,class:`${o}-drawer-header__close`,absolute:!0})):null,a?L("div",{class:[`${o}-drawer-body`,x],style:f,role:"none"},L("div",{class:[`${o}-drawer-body-content-wrapper`,u],style:s,role:"none"},y)):L(Fe,Object.assign({themeOverrides:$.peerOverrides.Scrollbar,theme:$.peers.Scrollbar},T,{class:`${o}-drawer-body`,contentClass:[`${o}-drawer-body-content-wrapper`,u],contentStyle:s}),y),y.footer?L("div",{class:[`${o}-drawer-footer`,w],style:C,role:"none"},y.footer()):null)}}),er={class:"flex flex-col justify-center items-center"},tr={class:"text-2xl text-primary self-start mb-3 flex justify-between w-full"},rr=r("span",null,"Profile",-1),nr={class:"mt-3 text-lg text-[#555]"},sr={class:"text-[#95aac9] mt-2"},or={class:"self-start"},ar={class:"flex pl-3 pt-3 text-base font-bold text-primary"},ir={key:0,class:"flex pl-3 pt-3 text-base font-bold text-primary"},lr={class:"flex items-center space-x-4 pl-3 mt-3"},cr={class:"flex-shrink-0 w-24 text-primary"},ur={class:"w-[200px]"},dr={class:"flex items-center space-x-4 pl-3 mt-3"},fr={class:"flex-shrink-0 w-24 text-primary"},pr={class:"w-[200px]"},hr={class:"flex items-center space-x-4 pl-3 mt-3"},mr={class:"flex-shrink-0 w-24 text-primary"},vr={class:"w-[200px]"},gr={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},br={class:"flex-shrink-0 w-24 text-primary"},yr={class:"w-[200px]"},wr={key:1},xr=re({__name:"detail",setup(i){const o=fe(),a=He(),{userBalance:$}=o,x=Ge(),f=j(()=>o.userInfo.email||""),u=j(()=>o.userInfo.isBindWx),s=D(o.userInfo.avatar??me),l=D(o.userInfo.username??t("usercenter.notLoggedIn"));D(o.userInfo.sign??t("usercenter.defaultSignature"));const h=j(()=>Number(o.globalConfig.wechatRegisterStatus)===1);function w(){o.logOut(),a.push("/")}const C=j(()=>o.isLogin);return ge(()=>{C.value||o.setLoginDialog(!0)}),(T,z)=>(O(),Q("div",er,[r("div",tr,[rr,C.value?(O(),G(e(F),{key:0,tertiary:"",type:"error",onClick:w},{default:d(()=>[X(n(e(t)("usercenter.logOut")),1)]),_:1})):Z("",!0),C.value?Z("",!0):(O(),G(e(F),{key:1,tertiary:"",type:"success",onClick:z[0]||(z[0]=y=>e(o).setLoginDialog(!0))},{default:d(()=>[X(n(e(t)("usercenter.clickToLogin")),1)]),_:1}))]),p(e(Me),{size:148,src:s.value,"fallback-src":e(me)},null,8,["src","fallback-src"]),r("b",nr,n(l.value),1),r("span",sr,n(f.value),1),r("div",or,[r("div",ar,[r("span",null,n(e(t)("usercenter.myUsageRecord")),1)]),e($).expirationTime?(O(),Q("div",ir,[r("span",null,n(e(t)("usercenter.membershipExpiration")),1),r("span",null,n(e($).expirationTime),1)])):Z("",!0),r("div",lr,[r("span",cr,n(e(t)("usercenter.basicModelCredits")),1),r("div",ur,n(e($).sumModel3Count||"0")+" "+n(e(t)("usercenter.points")),1)]),r("div",dr,[r("span",fr,n(e(t)("usercenter.advancedModelCredits")),1),r("div",pr,n(e($).sumModel4Count||"0")+" "+n(e(t)("usercenter.points")),1)]),r("div",hr,[r("span",mr,n(e(t)("usercenter.drawingUsageCredits")),1),r("div",vr,n(e($).sumDrawMjCount||"0")+" "+n(e(t)("usercenter.points")),1)]),h.value?(O(),Q("div",gr,[r("span",br,n(e(t)("usercenter.bindWeChat")),1),r("div",yr,[u.value?(O(),Q("span",wr,n(e(t)("usercenter.weChatBound")),1)):(O(),G(e(F),{key:0,text:"",onClick:z[1]||(z[1]=y=>e(x).updateBindwxDialog(!0))},{default:d(()=>[X(n(e(t)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):Z("",!0)])]))}});var qe={exports:{}};/*! - * clipboard.js v2.0.11 - * https://clipboardjs.com/ - * - * Licensed MIT © Zeno Rocha - */(function(i,o){(function($,x){i.exports=x()})(gt,function(){return function(){var a={686:function(f,u,s){s.d(u,{default:function(){return ke}});var l=s(279),h=s.n(l),w=s(370),C=s.n(w),T=s(817),z=s.n(T);function y(k){try{return document.execCommand(k)}catch{return!1}}var c=function(b){var v=z()(b);return y("cut"),v},m=c;function M(k){var b=document.documentElement.getAttribute("dir")==="rtl",v=document.createElement("textarea");v.style.fontSize="12pt",v.style.border="0",v.style.padding="0",v.style.margin="0",v.style.position="absolute",v.style[b?"right":"left"]="-9999px";var _=window.pageYOffset||document.documentElement.scrollTop;return v.style.top="".concat(_,"px"),v.setAttribute("readonly",""),v.value=k,v}var Y=function(b,v){var _=M(b);v.container.appendChild(_);var S=z()(_);return y("copy"),_.remove(),S},H=function(b){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},_="";return typeof b=="string"?_=Y(b,v):b instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(b==null?void 0:b.type)?_=Y(b.value,v):(_=z()(b),y("copy")),_},A=H;function N(k){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?N=function(v){return typeof v}:N=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},N(k)}var g=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=b.action,_=v===void 0?"copy":v,S=b.container,P=b.target,q=b.text;if(_!=="copy"&&_!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(P!==void 0)if(P&&N(P)==="object"&&P.nodeType===1){if(_==="copy"&&P.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(_==="cut"&&(P.hasAttribute("readonly")||P.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(q)return A(q,{container:S});if(P)return _==="cut"?m(P):A(P,{container:S})},E=g;function I(k){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(v){return typeof v}:I=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},I(k)}function B(k,b){if(!(k instanceof b))throw new TypeError("Cannot call a class as a function")}function U(k,b){for(var v=0;v"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function oe(k){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(v){return v.__proto__||Object.getPrototypeOf(v)},oe(k)}function ce(k,b){var v="data-clipboard-".concat(k);if(b.hasAttribute(v))return b.getAttribute(v)}var Se=function(k){V(v,k);var b=we(v);function v(_,S){var P;return B(this,v),P=b.call(this),P.resolveOptions(S),P.listenClick(_),P}return W(v,[{key:"resolveOptions",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof S.action=="function"?S.action:this.defaultAction,this.target=typeof S.target=="function"?S.target:this.defaultTarget,this.text=typeof S.text=="function"?S.text:this.defaultText,this.container=I(S.container)==="object"?S.container:document.body}},{key:"listenClick",value:function(S){var P=this;this.listener=C()(S,"click",function(q){return P.onClick(q)})}},{key:"onClick",value:function(S){var P=S.delegateTarget||S.currentTarget,q=this.action(P)||"copy",ae=E({action:q,container:this.container,target:this.target(P),text:this.text(P)});this.emit(ae?"success":"error",{action:q,text:ae,trigger:P,clearSelection:function(){P&&P.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(S){return ce("action",S)}},{key:"defaultTarget",value:function(S){var P=ce("target",S);if(P)return document.querySelector(P)}},{key:"defaultText",value:function(S){return ce("text",S)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(S){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return A(S,P)}},{key:"cut",value:function(S){return m(S)}},{key:"isSupported",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],P=typeof S=="string"?[S]:S,q=!!document.queryCommandSupported;return P.forEach(function(ae){q=q&&!!document.queryCommandSupported(ae)}),q}}]),v}(h()),ke=Se},828:function(f){var u=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(h,w){for(;h&&h.nodeType!==u;){if(typeof h.matches=="function"&&h.matches(w))return h;h=h.parentNode}}f.exports=l},438:function(f,u,s){var l=s(828);function h(T,z,y,c,m){var M=C.apply(this,arguments);return T.addEventListener(y,M,m),{destroy:function(){T.removeEventListener(y,M,m)}}}function w(T,z,y,c,m){return typeof T.addEventListener=="function"?h.apply(null,arguments):typeof y=="function"?h.bind(null,document).apply(null,arguments):(typeof T=="string"&&(T=document.querySelectorAll(T)),Array.prototype.map.call(T,function(M){return h(M,z,y,c,m)}))}function C(T,z,y,c){return function(m){m.delegateTarget=l(m.target,z),m.delegateTarget&&c.call(T,m)}}f.exports=w},879:function(f,u){u.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},u.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||u.node(s[0]))},u.string=function(s){return typeof s=="string"||s instanceof String},u.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(f,u,s){var l=s(879),h=s(438);function w(y,c,m){if(!y&&!c&&!m)throw new Error("Missing required arguments");if(!l.string(c))throw new TypeError("Second argument must be a String");if(!l.fn(m))throw new TypeError("Third argument must be a Function");if(l.node(y))return C(y,c,m);if(l.nodeList(y))return T(y,c,m);if(l.string(y))return z(y,c,m);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function C(y,c,m){return y.addEventListener(c,m),{destroy:function(){y.removeEventListener(c,m)}}}function T(y,c,m){return Array.prototype.forEach.call(y,function(M){M.addEventListener(c,m)}),{destroy:function(){Array.prototype.forEach.call(y,function(M){M.removeEventListener(c,m)})}}}function z(y,c,m){return h(document.body,y,c,m)}f.exports=w},817:function(f){function u(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var h=s.hasAttribute("readonly");h||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),h||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var w=window.getSelection(),C=document.createRange();C.selectNodeContents(s),w.removeAllRanges(),w.addRange(C),l=w.toString()}return l}f.exports=u},279:function(f){function u(){}u.prototype={on:function(s,l,h){var w=this.e||(this.e={});return(w[s]||(w[s]=[])).push({fn:l,ctx:h}),this},once:function(s,l,h){var w=this;function C(){w.off(s,C),l.apply(h,arguments)}return C._=l,this.on(s,C,h)},emit:function(s){var l=[].slice.call(arguments,1),h=((this.e||(this.e={}))[s]||[]).slice(),w=0,C=h.length;for(w;w{const o=(i==null?void 0:i.appendToBody)===void 0?!0:i.appendToBody;return{toClipboard(a,$){return new Promise((x,f)=>{const u=document.createElement("button"),s=new Cr(u,{text:()=>a,action:()=>"copy",container:$!==void 0?$:document.body});s.on("success",l=>{s.destroy(),x(l)}),s.on("error",l=>{s.destroy(),f(l)}),o&&document.body.appendChild(u),u.click(),o&&document.body.removeChild(u)})}}},kr={class:"text-[#95aac9] mb-2 text-base"},$r={class:"text-2xl text-[#555] dark:text-[#fff] whitespace-nowrap"},Tr=r("b",{class:"text-[000]"},"Tips",-1),zr={class:"flex flex-col text-[#707384]"},Er=re({__name:"invite",setup(i){const{toClipboard:o}=Sr(),a=fe(),$=j(()=>a.userInfo.inviteCode),x=j(()=>a.globalConfig),{isSmallXl:f,isMobile:u}=be(),s=ye(),l=D(!1),h=Xe({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:c=>{h.page=c,z()},onUpdatePageSize:c=>{h.pageSize=c,h.page=1,z()}}),w=j(()=>[{title:t("usercenter.avatar"),key:"avatar",render(c){return L(Me,{src:c.avatar,size:"small",round:!0})}},{title:t("usercenter.username"),key:"username"},{title:t("usercenter.email"),key:"email"},{title:t("usercenter.inviteeStatus"),key:"status",render(c){return L(F,{type:c.status===1?"primary":"error",size:"small",round:!0,quaternary:!0},{default:()=>c.status===1?t("usercenter.certified"):t("usercenter.notActivated")})}},{title:t("usercenter.inviteTime"),key:"createdAt",render(c){return L("div",{style:{fontSize:"12px",color:"#999"}},()=>c.createdAt)}},{title:t("usercenter.rewardStatus"),key:"status",render(c){return L(F,{type:c.status===1?"success":"warning",size:"small",round:!0,quaternary:!0},{default:()=>c.status===1?t("usercenter.rewardReceived"):t("usercenter.waitingConfirmation")})}}]),C=D([]);async function T(){const c=await wt();if(!c.data)return s.error(c.message);s.error(t("usercenter.linkGeneratedSuccess")),a.getUserInfo()}async function z(){try{l.value=!0;const c=await yt({page:h.page,size:h.pageSize});C.value=c.data.rows,l.value=!1}catch{l.value=!1}}async function y(){if(!$.value)return s.error(t("usercenter.generateLinkFirst"));const c=`${window.location.href}?inVitecode=${$.value}`;try{await o(c),s.success(t("usercenter.linkCopiedSuccess"))}catch{s.error(t("usercenter.copyNotSupported"))}}return ge(()=>{z()}),(c,m)=>(O(),Q(Ye,null,[p(e(se),null,{header:d(()=>[r("div",null,n(e(t)("usercenter.inviteForBenefits")),1)]),default:d(()=>[p(e(de),{"x-gap":24,"y-gap":24,cols:e(f)?1:3,class:"mt-3"},{default:d(()=>{var M;return[p(e(ee),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:2},{default:d(()=>[r("div",kr,n(e(t)("usercenter.myInviteCode")),1),r("div",{class:Ee(["flex justify-between",[e(f)?"flex-col mt-3":""]])},[r("b",$r,n($.value||"********"),1),p(e(Be),{class:Ee([e(f)?" mt-3":""])},{default:d(()=>[p(e(F),{type:"success",onClick:T},{default:d(()=>[X(n(e(t)("usercenter.generateInviteCode")),1)]),_:1}),p(e(F),{type:"primary",onClick:y},{default:d(()=>[X(n(e(t)("usercenter.copyInviteLink")),1)]),_:1})]),_:1},8,["class"])],2)]),_:1}),Number((M=x.value)==null?void 0:M.inviteSendStatus)===1?(O(),G(e(ee),{key:0,class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:1},{default:d(()=>[Tr,r("div",zr,[r("span",null,n(e(t)("usercenter.inviteOneUser")),1),r("span",null,n(x.value.inviteGiveSendModel3Count)+" "+n(e(t)("usercenter.basicModelCredits"))+" "+n(x.value.inviteGiveSendModel4Count)+" "+n(e(t)("usercenter.advancedModelCredits"))+" "+n(x.value.inviteGiveSendDrawMjCount)+" "+n(e(t)("usercenter.mjDrawingCredits")),1),r("span",null,n(e(t)("usercenter.receiveInvitation")),1),r("span",null,n(x.value.invitedGuestSendModel3Count)+" "+n(e(t)("usercenter.basicModelCredits"))+" "+n(x.value.invitedGuestSendModel4Count)+" "+n(e(t)("usercenter.advancedModelCredits"))+" "+n(x.value.invitedGuestSendDrawMjCount)+" "+n(e(t)("usercenter.mjDrawingCredits")),1)])]),_:1})):Z("",!0)]}),_:1},8,["cols"])]),_:1}),p(e(se),{class:"mt-5"},{header:d(()=>[r("div",null,n(e(t)("usercenter.invitationRecord")),1)]),default:d(()=>[p(e(Ve),{loading:l.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:w.value,data:C.value,pagination:h,"scroll-x":500},null,8,["loading","columns","data","pagination"])]),_:1})],64))}}),Pr={class:"flex justify-between"},Mr={class:"text-[#95AAC9]"},Br={class:"text-base"},Ar={class:"text-[#95AAC9] mt-3"},Rr={class:"ml-3 text-[#95AAC9] mt-2"},Ir={class:"ml-3 text-[#95AAC9] mt-2"},Nr={class:"ml-3 text-[#95AAC9] mt-2"},Or=re({__name:"password",setup(i){const o=D({oldPassword:"",password:"",reenteredPassword:""}),a=o,$=D(null),x=D(null),f={oldPassword:[{required:!0,min:6,message:t("usercenter.passwordMinLength"),trigger:["blur"]},{required:!0,max:30,message:t("usercenter.passwordMaxLength"),trigger:["blur"]}],password:[{required:!0,message:t("usercenter.enterPassword")}],reenteredPassword:[{required:!0,message:t("usercenter.reenterPassword"),trigger:["input","blur"]},{validator:u,message:t("usercenter.passwordsNotMatch"),trigger:"input"},{validator:s,message:t("usercenter.passwordsNotMatch"),trigger:["blur","password-input"]}]};function u(c,m){return!!o.value.password&&o.value.password.startsWith(m)&&o.value.password.length>=m.length}function s(c,m){return m===o.value.password}function l(){var c;o.value.reenteredPassword&&((c=x.value)==null||c.validate({trigger:"password-input"}))}const{isSmallXl:h}=be(),w=fe(),C=ye();async function T(c){await _t(c),C.success(t("usercenter.passwordUpdateSuccess")),z(),w.updatePasswordSuccess()}function z(){o.value={oldPassword:"",password:"",reenteredPassword:""}}function y(c){var m;c.preventDefault(),(m=$.value)==null||m.validate(async M=>{if(!M){const{oldPassword:Y,password:H}=o.value;T({oldPassword:Y,password:H})}})}return(c,m)=>(O(),G(e(se),null,{header:d(()=>[r("div",null,n(e(t)("usercenter.changeYourPassword")),1)]),default:d(()=>[p(e(de),{"x-gap":24,"y-gap":24,cols:e(h)?1:3,class:"mt-3"},{default:d(()=>[p(e(ee),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:"2"},{default:d(()=>[p(e(xt),{ref_key:"formRef",ref:$,model:e(a),rules:f},{default:d(()=>[p(e(Te),{path:"oldPassword",label:e(t)("usercenter.oldPassword")},{default:d(()=>[p(e(le),{value:e(a).oldPassword,"onUpdate:value":m[0]||(m[0]=M=>e(a).oldPassword=M),onKeydown:m[1]||(m[1]=$e(De(()=>{},["prevent"]),["enter"]))},null,8,["value"])]),_:1},8,["label"]),p(e(Te),{path:"password",label:e(t)("usercenter.newPassword")},{default:d(()=>[p(e(le),{value:e(a).password,"onUpdate:value":m[2]||(m[2]=M=>e(a).password=M),type:"password",onInput:l,onKeydown:m[3]||(m[3]=$e(De(()=>{},["prevent"]),["enter"]))},null,8,["value"])]),_:1},8,["label"]),p(e(Te),{ref_key:"rPasswordFormItemRef",ref:x,first:"",path:"reenteredPassword",label:e(t)("usercenter.confirmPassword")},{default:d(()=>[p(e(le),{value:e(a).reenteredPassword,"onUpdate:value":m[4]||(m[4]=M=>e(a).reenteredPassword=M),disabled:!e(a).password,type:"password",tabindex:"0",onKeyup:$e(y,["enter"])},null,8,["value","disabled"])]),_:1},8,["label"]),r("div",Pr,[r("span",Mr,n(e(t)("usercenter.reloginAfterPasswordChange")),1),p(e(F),{disabled:e(a).oldPassword===null,type:"primary",onClick:y},{default:d(()=>[X(n(e(t)("usercenter.updateYourPassword")),1)]),_:1},8,["disabled"])])]),_:1},8,["model"])]),_:1}),p(e(ee),{class:"border rounded-sm p-3 bg-[#f8f9fa] h-48 dark:bg-[#18181c] dark:border-[#ffffff17]"},{default:d(()=>[r("b",Br,n(e(t)("usercenter.passwordRequirements")),1),r("p",Ar,n(e(t)("usercenter.newPasswordInstructions")),1),r("div",Rr,n(e(t)("usercenter.minimumCharacters")),1),r("div",Ir,n(e(t)("usercenter.maximumCharacters")),1),r("div",Nr,n(e(t)("usercenter.requireNumber")),1)]),_:1})]),_:1},8,["cols"])]),_:1}))}}),Dr={1:t("rechargeTypes.1"),2:t("rechargeTypes.2"),3:t("rechargeTypes.3"),4:t("rechargeTypes.4"),5:t("rechargeTypes.5"),6:t("rechargeTypes.6"),7:t("rechargeTypes.7"),8:t("rechargeTypes.8")};t("orderStatus.0"),t("orderStatus.1"),t("orderStatus.2"),t("orderStatus.3");const Lr={class:"flex h-full flex-col"},jr={class:"text-[#95aac9] mb-2 text-base"},Ur={class:"text-3xl text-[#555]"},Fr={class:"ml-4 text-[#989898]"},Wr={class:"text-[#95aac9] mb-2 text-base"},Hr={class:"text-3xl text-[#555]"},Gr={class:"ml-4 text-[#989898]"},Xr={class:"text-[#95aac9] mb-2 text-base"},Yr={class:"text-3xl text-[#555]"},Vr={class:"ml-4 text-[#989898]"},qr={class:"text-[#95aac9] mb-2 text-base"},Kr={class:"relative"},Qr=["src"],Jr={class:"flex justify-between items-end min-h-28"},Zr={class:"text-sm font-bold mr-1"},en={class:"font-bold"},tn={class:"flex justify-between items-end min-h-28"},rn={class:"text-sm font-bold mr-1"},nn={class:"font-bold"},sn={class:"flex justify-between items-end min-h-28"},on={class:"text-sm font-bold mr-1"},an={class:"font-bold"},ln={class:"flex justify-between items-end mt-5"},cn={class:"text-xl text-[red] font-bold"},un=re({__name:"wallet",setup(i){const{isSmallMd:o,isMobile:a}=be(),$=fe(),x=ye();Ct();const f=j(()=>$.userBalance),u=D(!1),s=D(""),l=D(!1),h=D([]),w=D(!1),C=Xe({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:A=>{C.page=A,y()},onUpdatePageSize:A=>{C.pageSize=A,C.page=1,y()}}),T=j(()=>[{title:t("usercenter.orderNumber"),key:"uid"},{title:t("usercenter.rechargeType"),key:"rechargeType",render(A){return Dr[A.rechargeType]}},{title:t("usercenter.basicModelQuota"),key:"model3Count"},{title:t("usercenter.advancedModelQuota"),key:"model4Count"},{title:t("usercenter.mjDrawingQuota"),key:"drawMjCount"},{title:t("usercenter.validity"),key:"expireDateCn"},{title:t("usercenter.rechargeTime"),key:"createdAt",render(A){return A.createdAt}}]),z=D([]);async function y(){const A=await St({page:C.page,size:C.pageSize}),{rows:N}=A.data;z.value=N}async function c(){x.warning(t("usercenter.enterCardSecret"));try{u.value=!0,await $t({code:s.value}),x.success(t("usercenter.cardRedeemSuccess")),y(),$.getUserInfo(),u.value=!1}catch{x.error(t("usercenter.unknownError")),u.value=!1}}function m(){l.value=!0}async function M(){const A=await Tt({status:1,size:30});h.value=A.data.rows}const Y=j(()=>{var A;return(A=$.globalConfig)==null?void 0:A.buyCramiAddress});function H(){window.open(Y.value)}return ge(()=>{y()}),(A,N)=>(O(),Q("div",Lr,[p(e(se),null,{header:d(()=>[r("div",null,n(e(t)("usercenter.userWalletBalance")),1)]),default:d(()=>[p(e(de),{"x-gap":24,"y-gap":24,cols:e(o)?1:2,class:"mt-3"},{default:d(()=>[p(e(ee),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:d(()=>[r("div",jr,n(e(t)("usercenter.basicModelBalance")),1),r("b",Ur,n(f.value.sumModel3Count??0),1),r("span",Fr,n(e(t)("usercenter.creditUsageNote")),1)]),_:1}),p(e(ee),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:d(()=>[r("div",Wr,n(e(t)("usercenter.advancedModelBalance")),1),r("b",Hr,n(f.value.sumModel4Count??0),1),r("span",Gr,n(e(t)("usercenter.modelConsumptionNote")),1)]),_:1}),p(e(ee),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:d(()=>[r("div",Xr,n(e(t)("usercenter.mjDrawingBalance")),1),r("b",Yr,n(f.value.sumDrawMjCount??0),1),r("span",Vr,n(e(t)("usercenter.drawingConsumptionNote")),1)]),_:1}),p(e(ee),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:d(()=>[r("div",qr,n(e(t)("usercenter.cardRecharge")),1),p(e(Be),{wrap:!1},{default:d(()=>[p(e(le),{value:s.value,"onUpdate:value":N[0]||(N[0]=g=>s.value=g),placeholder:e(t)("usercenter.enterCardDetails"),class:"mr-3",maxlength:"128","show-count":"",clearable:""},null,8,["value","placeholder"]),p(e(F),{type:"primary",loading:u.value,onClick:c},{default:d(()=>[X(n(e(t)("usercenter.exchange")),1)]),_:1},8,["loading"]),Y.value?(O(),G(e(F),{key:0,type:"success",onClick:m},{default:d(()=>[X(n(e(t)("usercenter.buyCardSecret")),1)]),_:1})):Z("",!0)]),_:1})]),_:1})]),_:1},8,["cols"])]),_:1}),p(e(se),{class:"mt-5 flex-1"},{header:d(()=>[r("div",null,n(e(t)("usercenter.rechargeRecords")),1)]),default:d(()=>[p(e(Ve),{columns:T.value,loading:w.value,"scroll-x":800,data:z.value,"max-height":"280",pagination:C},null,8,["columns","loading","data","pagination"])]),_:1}),p(e(Qt),{show:l.value,"onUpdate:show":N[1]||(N[1]=g=>l.value=g),width:e(o)?"100%":502,"on-after-enter":M},{default:d(()=>[p(e(Zt),{title:"{{ t('usercenter.packagePurchase') }}",closable:""},{default:d(()=>[p(e(de),{"x-gap":15,"y-gap":15,cols:e(o)?1:2,class:"mt-3"},{default:d(()=>[(O(!0),Q(Ye,null,kt(h.value,(g,E)=>(O(),G(e(ee),{key:E},{default:d(()=>[p(e(se),{size:"small",embedded:""},{header:d(()=>[r("div",Kr,[r("b",null,n(g.name),1)])]),cover:d(()=>[r("img",{src:g.coverImg},null,8,Qr)]),default:d(()=>[r("div",null,[r("p",null,n(g.des),1),r("div",Jr,[r("span",Zr,n(e(t)("usercenter.basicModelQuota")),1),r("span",en,n(g.model3Count),1)]),r("div",tn,[r("span",rn,n(e(t)("usercenter.advancedModelQuota")),1),r("span",nn,n(g.model4Count),1)]),r("div",sn,[r("span",on,n(e(t)("usercenter.mjDrawingQuota")),1),r("span",an,n(g.drawMjCount),1)]),r("div",ln,[r("i",cn,n(`¥${g.price}`),1),p(e(F),{type:"primary",dashed:"",size:"small",onClick:H},{default:d(()=>[X(n(e(t)("usercenter.buyPackage")),1)]),_:1})])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])]),_:1})]),_:1},8,["show","width"])]))}}),dn={class:"flex flex-col justify-center items-center"},fn={class:"text-2xl text-primary self-start mb-14 flex justify-between w-full"},pn={class:"mt-3 text-lg text-[#555]"},hn={class:"self-start mt-16"},mn={class:"text-xl text-primary"},vn={class:"flex items-center space-x-4 pl-3 mt-3"},gn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},bn={class:"w-[230px]"},yn={class:"flex items-center space-x-4 pl-3 mt-3"},wn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},xn={class:"w-[230px]"},_n={class:"flex items-center space-x-4 pl-3 mt-3"},Cn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},Sn={class:"w-[230px]"},kn={class:"flex items-center space-x-4 pl-3 mt-3"},$n={class:"flex-shrink-0 w-[150px] text-keft text-primary"},Tn={class:"w-[230px]"},zn={class:"flex items-center space-x-4 pl-3 mt-3"},En={class:"flex-shrink-0 w-[150px] text-keft text-primary"},Pn={class:"w-[230px]"},Mn={key:0,class:"flex items-center space-x-4 pl-3 mt-3"},Bn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},An={class:"w-[230px]"},Rn={key:1},In={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},Nn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},On={class:"w-[230px]"},Dn={key:0,class:"flex text-[red] pt-8 text-base font-bold"},Ln={key:1},jn={class:"flex items-center space-x-4"},Un={class:"flex-shrink-0 w-[60px]"},Fn={class:"flex-1"},Wn={class:"flex items-center space-x-4 mt-5"},Hn={class:"flex-shrink-0 w-[60px]"},Gn={class:"flex-1"},es=re({__name:"index",setup(i){const o=Ge(),a=fe(),$=He(),x=D(0),f=j(()=>a.userBalance),u=j(()=>{var g;return(g=a.globalConfig)==null?void 0:g.isUseWxLogin}),s=j(()=>Number(a.globalConfig.wechatRegisterStatus)===1),l=D(!0),h=j(()=>a.isLogin),w=ye();j(()=>a.userInfo.email||"");const C=j(()=>a.userInfo.isBindWx),T=D(a.userInfo.avatar??me),z=D(a.userInfo.username??"未登录");D(a.userInfo.sign??t("usercenter.defaultSignature"));const y=D(!1),{isSmallLg:c,isMobile:m}=be();async function M(){const g=await zt();x.value=g.data||0}async function Y(){(await Mt()).success&&w.success(t("usercenter.syncComplete")),M()}async function H(g){try{y.value=!0;const E=await Bt(g);if(y.value=!1,!E.success)return w.error(E.message);w.success(t("common.updateUserSuccess")),a.getUserInfo()}catch{y.value=!1}}function A(){h.value||($.push("/"),a.setLoginDialog(!0))}ge(()=>{A(),M()});function N(){a.logOut(),$.push("/")}return setTimeout(()=>{l.value=!1},500),(g,E)=>(O(),G(e(Pt),{"has-sider":"",class:"flex h-full"},{default:d(()=>[e(c)?Z("",!0):(O(),G(e(Rt),{key:0,"content-style":"padding: 24px;",bordered:"",width:"380"},{default:d(()=>[r("div",dn,[r("div",fn,[r("span",null,n(e(t)("usercenter.personalCenter")),1),p(e(F),{tertiary:"",type:"error",onClick:N},{default:d(()=>[X(n(e(t)("usercenter.logOut")),1)]),_:1})]),p(e(Me),{size:148,src:T.value,"fallback-src":e(me)},null,8,["src","fallback-src"]),r("b",pn,n(z.value),1),r("div",hn,[r("div",mn,n(e(t)("usercenter.myUsageRecord")),1),r("div",vn,[r("span",gn,n(e(t)("usercenter.basicModelCredits")),1),r("div",bn,n(f.value.useModel3Count||"0")+" "+n(e(t)("usercenter.points")),1)]),r("div",yn,[r("span",wn,n(e(t)("usercenter.advancedModelCredits")),1),r("div",xn,n(f.value.useModel4Count||"0")+" "+n(e(t)("usercenter.points")),1)]),r("div",_n,[r("span",Cn,n(e(t)("usercenter.basicModelUsage")),1),r("div",Sn,n(f.value.useModel3Token||"0")+" Token ",1)]),r("div",kn,[r("span",$n,n(e(t)("usercenter.advancedModelUsage")),1),r("div",Tn,n(f.value.useModel4Token||"0")+" Token ",1)]),r("div",zn,[r("span",En,n(e(t)("usercenter.drawingUsageCredits")),1),r("div",Pn,n(f.value.useDrawMjToken||"0")+" "+n(e(t)("usercenter.points")),1)]),u.value&&s.value?(O(),Q("div",Mn,[r("span",Bn,n(e(t)("usercenter.bindWeChat")),1),r("div",An,[C.value?(O(),Q("span",Rn,n(e(t)("usercenter.weChatBound")),1)):(O(),G(e(F),{key:0,text:"",onClick:E[0]||(E[0]=I=>e(o).updateBindwxDialog(!0))},{default:d(()=>[X(n(e(t)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):Z("",!0),x.value>0?(O(),Q("div",In,[r("span",Nn,n(e(t)("usercenter.clickToBindWeChat")),1),r("div",On,[p(e(F),{text:"",onClick:Y},{default:d(()=>[X(n(e(t)("usercenter.syncVisitorData")),1)]),_:1})])])):Z("",!0)])]),f.value.expirationTime?(O(),Q("div",Dn,[r("span",null,n(e(t)("usercenter.membershipExpiration")),1),r("span",null,n(f.value.expirationTime),1)])):Z("",!0)]),_:1})),r("div",{class:Ee(["flex flex-col",[e(m)?"w-full":"flex-1"]]),style:Et({padding:e(m)?"10px":"0 28px 0 28px"})},[p(e(At),{title:e(t)("usercenter.personalCenter"),des:e(t)("usercenter.editInfoDescription"),padding:(e(m),1)},null,8,["title","des","padding"]),p(e(It),{type:"line",animated:"",class:"mt-5 flex-1"},{default:d(()=>[e(c)?(O(),G(e(ue),{key:0,name:"detail",tab:e(t)("usercenter.myDetails")},{default:d(()=>[p(xr)]),_:1},8,["tab"])):Z("",!0),p(e(ue),{name:"account",tab:e(t)("usercenter.myWallet")},{default:d(()=>[p(un)]),_:1},8,["tab"]),p(e(ue),{name:"baseInfo",tab:e(t)("usercenter.basicInfo")},{default:d(()=>[p(e(se),null,{header:d(()=>[l.value||!h.value?(O(),G(e(pe),{key:0,size:"medium",width:"20%"})):(O(),Q("div",Ln,n(e(t)("usercenter.userBasicSettings")),1))]),default:d(()=>[l.value||!h.value?(O(),G(e(Be),{key:0,vertical:""},{default:d(()=>[p(e(pe),{height:"40px",size:"medium"}),p(e(pe),{height:"40px",size:"medium"}),p(e(pe),{height:"80px",size:"medium"})]),_:1})):(O(),G(e(de),{key:1,"x-gap":"12",cols:1},{default:d(()=>[p(e(ee),null,{default:d(()=>[r("div",jn,[r("span",Un,n(g.$t("setting.avatarLink")),1),r("div",Fn,[p(e(le),{value:T.value,"onUpdate:value":E[1]||(E[1]=I=>T.value=I),placeholder:e(t)("usercenter.avatarPlaceholder")},null,8,["value","placeholder"])]),p(e(F),{size:"tiny",text:"",type:"primary",onClick:E[2]||(E[2]=I=>H({avatar:T.value}))},{default:d(()=>[X(n(g.$t("common.update")),1)]),_:1})]),r("div",Wn,[r("span",Hn,n(g.$t("setting.name")),1),r("div",Gn,[p(e(le),{value:z.value,"onUpdate:value":E[3]||(E[3]=I=>z.value=I),placeholder:e(t)("usercenter.usernamePlaceholder"),maxlength:"12","show-count":"",clearable:""},null,8,["value","placeholder"])]),p(e(F),{size:"tiny",text:"",type:"primary",onClick:E[4]||(E[4]=I=>H({username:z.value}))},{default:d(()=>[X(n(g.$t("common.update")),1)]),_:1})])]),_:1})]),_:1}))]),_:1})]),_:1},8,["tab"]),p(e(ue),{name:"password",tab:e(t)("usercenter.passwordManagement")},{default:d(()=>[p(Or)]),_:1},8,["tab"]),p(e(ue),{name:"invite",tab:e(t)("usercenter.inviteBenefits")},{default:d(()=>[p(Er)]),_:1},8,["tab"])]),_:1})],6)]),_:1}))}});export{es as default}; diff --git a/public/assets/index-adb9f39f.css b/public/assets/index-adb9f39f.css new file mode 100644 index 0000000..ab73a39 --- /dev/null +++ b/public/assets/index-adb9f39f.css @@ -0,0 +1 @@ +[data-v-56c01def]{box-sizing:border-box;margin:0;padding:0}.m-qrcode[data-v-56c01def]{display:inline-block;border-radius:8px;overflow:hidden}.m-qrcode .u-qrcode[data-v-56c01def]{width:100%;height:100%}.bordered[data-v-56c01def]{border-width:1px;border-style:solid} diff --git a/public/assets/index-b1a75368.js b/public/assets/index-b1a75368.js new file mode 100644 index 0000000..8e7c407 --- /dev/null +++ b/public/assets/index-b1a75368.js @@ -0,0 +1 @@ +import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{e as j,a as L,Y as E,t as C}from"./index-d64a7cc4.js";import{u as G}from"./useBasicLayout-a4f17bae.js";import{e as R,K as B,z as x,a1 as Y,M as H,w as X,Y as q,X as z,q as K}from"./naive-ui-fedd20b1.js";import{d as N,e as I,r as w,S,U as D,a3 as e,a4 as o,X as a,M as s,W as l,c as g,a8 as W,F as Q,a6 as Z,f as ee,V as T}from"./vue-10b4afc0.js";import"./vueuse-motion-d4cdaf7b.js";function se(){const m=new Date,c=m.getDate(),d=m.getMonth()+1;return`${m.getFullYear()}-${d}-${c}`}const te={class:"p-4 space-y-5 min-h-[200px]"},ae={class:"space-y-6"},ne={class:"flex items-center space-x-4"},oe={class:"flex-shrink-0 w-[100px]"},le={class:"flex-1"},ie={class:"flex items-center space-x-4"},ce={class:"flex-shrink-0 w-[100px]"},re={class:"w-[200px]"},de={class:"flex-shrink-0 w-[100px]"},ue={class:"flex flex-wrap items-center gap-4"},pe={class:"flex items-center space-x-4"},fe={class:"flex-shrink-0 w-[100px]"},me={class:"flex flex-wrap items-center gap-4"},_e={class:"flex items-center space-x-4"},he={class:"flex-shrink-0 w-[100px]"},ve={class:"flex flex-wrap items-center gap-4"},xe=N({__name:"General",setup(m){const c=j(),d=L(),{isMobile:u}=G(),r=R(),h=I(()=>c.theme),p=I(()=>d.userInfo),f=w(p.value.avatar??""),_=w(p.value.username??""),$=w(!1),M=I({get(){return c.language},set(t){c.setLanguage(t)}}),O=[{label:"Auto",key:"auto",icon:"ri:contrast-line"},{label:"Light",key:"light",icon:"ri:sun-foggy-line"},{label:"Dark",key:"dark",icon:"ri:moon-foggy-line"}],F=[{label:"简体中文",key:"zh-CN",value:"zh-CN"}];async function U(t){try{$.value=!0;const n=await E(t);if($.value=!1,!n.success)return r.error(n.message);r.success(C("common.updateUserSuccess")),d.getUserInfo()}catch{$.value=!1}}function A(){const t=se(),n=localStorage.getItem("chatStorage")||"{}",i=JSON.stringify(JSON.parse(n),null,2),v=new Blob([i],{type:"application/json"}),b=URL.createObjectURL(v),k=document.createElement("a");k.href=b,k.download=`chat-store_${t}.json`,document.body.appendChild(k),k.click(),document.body.removeChild(k)}function J(t){const n=t.target;if(!n||!n.files)return;const i=n.files[0];if(!i)return;const v=new FileReader;v.onload=()=>{try{const b=JSON.parse(v.result);localStorage.setItem("chatStorage",JSON.stringify(b)),r.success(C("common.success")),location.reload()}catch{r.error(C("common.invalidFileFormat"))}},v.readAsText(i)}function P(){localStorage.removeItem("chatStorage"),location.reload()}function V(){const t=document.getElementById("fileInput");t&&t.click()}return(t,n)=>(S(),D("div",te,[e("div",ae,[e("div",ne,[e("span",oe,o(t.$t("setting.avatarLink")),1),e("div",le,[a(s(B),{value:f.value,"onUpdate:value":n[0]||(n[0]=i=>f.value=i),placeholder:"请填写头像地址"},null,8,["value"])]),a(s(x),{size:"tiny",disabled:$.value,text:"",type:"primary",onClick:n[1]||(n[1]=i=>U({avatar:f.value}))},{default:l(()=>[g(o(t.$t("common.update")),1)]),_:1},8,["disabled"])]),e("div",ie,[e("span",ce,o(t.$t("setting.name")),1),e("div",re,[a(s(B),{value:_.value,"onUpdate:value":n[2]||(n[2]=i=>_.value=i),placeholder:"请填写用户名"},null,8,["value"])]),a(s(x),{size:"tiny",disabled:$.value,text:"",type:"primary",onClick:n[3]||(n[3]=i=>U({username:_.value}))},{default:l(()=>[g(o(t.$t("common.update")),1)]),_:1},8,["disabled"])]),e("div",{class:W(["flex items-center space-x-4",s(u)&&"items-start"])},[e("span",de,o(t.$t("setting.chatHistory")),1),e("div",ue,[a(s(x),{size:"small",onClick:A},{icon:l(()=>[a(s(y),{icon:"ri:download-2-fill"})]),default:l(()=>[g(" "+o(t.$t("common.export")),1)]),_:1}),e("input",{id:"fileInput",type:"file",style:{display:"none"},onChange:J},null,32),a(s(x),{size:"small",onClick:V},{icon:l(()=>[a(s(y),{icon:"ri:upload-2-fill"})]),default:l(()=>[g(" "+o(t.$t("common.import")),1)]),_:1}),a(s(Y),{placement:"bottom",onPositiveClick:P},{trigger:l(()=>[a(s(x),{size:"small"},{icon:l(()=>[a(s(y),{icon:"ri:close-circle-line"})]),default:l(()=>[g(" "+o(t.$t("common.clear")),1)]),_:1})]),default:l(()=>[g(" "+o(t.$t("chat.clearHistoryConfirm")),1)]),_:1})])],2),e("div",pe,[e("span",fe,o(t.$t("setting.theme")),1),e("div",me,[(S(),D(Q,null,Z(O,i=>a(s(x),{key:i.key,size:"small",type:i.key===h.value?"primary":void 0,onClick:v=>s(c).setTheme(i.key)},{icon:l(()=>[a(s(y),{icon:i.icon},null,8,["icon"])]),_:2},1032,["type","onClick"])),64))])]),e("div",_e,[e("span",he,o(t.$t("setting.language")),1),e("div",ve,[a(s(H),{style:{width:"140px"},value:M.value,options:F,onUpdateValue:n[4]||(n[4]=i=>s(c).setLanguage(i))},null,8,["value"])])])])]))}}),ge={class:"p-4 space-y-5 min-h-[200px]"},ye={class:"flex items-center space-x-4"},$e=e("span",{class:"flex-shrink-0 w-[100px]"},"用户邮箱",-1),ke={class:"w-[200px]"},we={class:"flex items-center space-x-4"},be=e("span",{class:"flex-shrink-0 w-[100px]"},"用户姓名",-1),Ie={class:"w-[200px]"},Se={class:"flex items-center space-x-4"},Ce=e("span",{class:"flex-shrink-0 w-[100px]"},"问答余额",-1),Ne={class:"w-[200px]"},Ue={class:"flex items-center space-x-4"},Be=e("span",{class:"flex-shrink-0 w-[100px]"},"绘画余额",-1),ze={class:"w-[200px]"},De={class:"flex items-center space-x-4"},Le=e("span",{class:"flex-shrink-0 w-[100px]"},"MJToken",-1),Te={class:"w-[200px]"},Me={class:"flex items-center space-x-4"},Oe=e("span",{class:"flex-shrink-0 w-[100px]"},"使用金额",-1),Fe={class:"w-[200px]"},Ae=N({__name:"Personal",setup(m){const c=L(),{userInfo:d,userBalance:u}=c,r=w(!1);ee(async()=>{h()});async function h(){try{r.value=!0,await c.getUserInfo(),r.value=!1}catch{r.value=!1}}return(p,f)=>(S(),T(s(X),{show:r.value},{default:l(()=>[e("div",ge,[e("div",ye,[$e,e("div",ke,o(s(d).email||"--"),1)]),e("div",we,[be,e("div",Ie,o(s(d).username||"--"),1)]),e("div",Se,[Ce,e("div",Ne,o(s(u).usesLeft||"0")+" 积分 ",1)]),e("div",Ue,[Be,e("div",ze,o(s(u).paintCount||"0")+" 积分 ",1)]),e("div",De,[Le,e("div",Te,o(s(u).balance||"0")+" Token ",1)]),e("div",Me,[Oe,e("div",Fe,o(s(u).useTokens||"0")+" Token ",1)])])]),_:1},8,["show"]))}}),Je={class:"ml-2"},Pe={class:"ml-2"},Ve={class:"min-h-[100px]"},Xe=N({__name:"index",props:{visible:{type:Boolean}},emits:["update:visible"],setup(m,{emit:c}){const d=m,u=c,r=w("personalInfo"),h=I({get(){return d.visible},set(p){u("update:visible",p)}});return(p,f)=>(S(),T(s(K),{show:h.value,"onUpdate:show":f[1]||(f[1]=_=>h.value=_),title:"个人中心","auto-focus":!1,preset:"card",style:{width:"95%","max-width":"640px"}},{default:l(()=>[e("div",null,[a(s(q),{value:r.value,"onUpdate:value":f[0]||(f[0]=_=>r.value=_),type:"line",animated:""},{default:l(()=>[a(s(z),{name:"personalInfo",tab:"personalInfo"},{tab:l(()=>[a(s(y),{class:"text-lg",icon:"ri:file-user-line"}),e("span",Je,o(p.$t("setting.personalInfo")),1)]),default:l(()=>[a(Ae)]),_:1}),a(s(z),{name:"General",tab:"General"},{tab:l(()=>[a(s(y),{class:"text-lg",icon:"ri:list-settings-line"}),e("span",Pe,o(p.$t("setting.general")),1)]),default:l(()=>[e("div",Ve,[a(xe)])]),_:1})]),_:1},8,["value"])])]),_:1},8,["show"]))}});export{Xe as default}; diff --git a/public/assets/index-b1a75368.js.br b/public/assets/index-b1a75368.js.br new file mode 100644 index 0000000..71f6a0b Binary files /dev/null and b/public/assets/index-b1a75368.js.br differ diff --git a/public/assets/index-b71062e6.js b/public/assets/index-b71062e6.js new file mode 100644 index 0000000..335c517 --- /dev/null +++ b/public/assets/index-b71062e6.js @@ -0,0 +1,361 @@ +import{h as m0}from"./naive-ui-fedd20b1.js";var Qu={exports:{}},Ll;function ks(){return Ll||(Ll=1,function(n,a){(function(d,x){n.exports=x()})(typeof self<"u"?self:m0,function(){return function(){var s={};(function(){s.d=function(m,r){for(var t in r)s.o(r,t)&&!s.o(m,t)&&Object.defineProperty(m,t,{enumerable:!0,get:r[t]})}})(),function(){s.o=function(m,r){return Object.prototype.hasOwnProperty.call(m,r)}}();var d={};s.d(d,{default:function(){return Yu}});var x=function m(r,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var i="KaTeX parse error: "+r,l,c,v=t&&t.loc;if(v&&v.start<=v.end){var A=v.lexer.input;l=v.start,c=v.end,l===A.length?i+=" at end of input: ":i+=" at position "+(l+1)+": ";var D=A.slice(l,c).replace(/[^]/g,"$&̲"),M;l>15?M="…"+A.slice(l-15,l):M=A.slice(0,l);var N;c+15":">","<":"<",'"':""","'":"'"},V=/[&><"']/g;function W(m){return String(m).replace(V,function(r){return q[r]})}var j=function m(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?m(r.body[0]):r:r.type==="font"?m(r.body):r},ke=function(r){var t=j(r);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},ve=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},De=function(r){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(r);return t!=null?t[1]:"_relative"},Z={contains:C,deflt:B,escape:W,hyphenate:I,getBaseElem:j,isCharacterBox:ke,protocolFromUrl:De},be={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(r){return"#"+r}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(r,t){return t.push(r),t}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(r){return Math.max(0,r)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(r){return Math.max(0,r)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(r){return Math.max(0,r)},cli:"-e, --max-expand ",cliProcessor:function(r){return r==="Infinity"?1/0:parseInt(r)}},globalGroup:{type:"boolean",cli:!1}};function qe(m){if(m.default)return m.default;var r=m.type,t=Array.isArray(r)?r[0]:r;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Ve=function(){function m(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var i in be)if(be.hasOwnProperty(i)){var l=be[i];this[i]=t[i]!==void 0?l.processor?l.processor(t[i]):t[i]:qe(l)}}var r=m.prototype;return r.reportNonstrict=function(i,l,c){var v=this.strict;if(typeof v=="function"&&(v=v(i,l,c)),!(!v||v==="ignore")){if(v===!0||v==="error")throw new b("LaTeX-incompatible input and strict mode is set to 'error': "+(l+" ["+i+"]"),c);v==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(l+" ["+i+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+l+" ["+i+"]"))}},r.useStrictBehavior=function(i,l,c){var v=this.strict;if(typeof v=="function")try{v=v(i,l,c)}catch{v="error"}return!v||v==="ignore"?!1:v===!0||v==="error"?!0:v==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(l+" ["+i+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+l+" ["+i+"]")),!1)},r.isTrusted=function(i){i.url&&!i.protocol&&(i.protocol=Z.protocolFromUrl(i.url));var l=typeof this.trust=="function"?this.trust(i):this.trust;return!!l},m}(),Oe=function(){function m(t,i,l){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=i,this.cramped=l}var r=m.prototype;return r.sup=function(){return P[ce[this.id]]},r.sub=function(){return P[re[this.id]]},r.fracNum=function(){return P[we[this.id]]},r.fracDen=function(){return P[Se[this.id]]},r.cramp=function(){return P[_e[this.id]]},r.text=function(){return P[Ee[this.id]]},r.isTight=function(){return this.size>=2},m}(),ir=0,ar=1,ur=2,or=3,Br=4,sr=5,Rr=6,G=7,P=[new Oe(ir,0,!1),new Oe(ar,0,!0),new Oe(ur,1,!1),new Oe(or,1,!0),new Oe(Br,2,!1),new Oe(sr,2,!0),new Oe(Rr,3,!1),new Oe(G,3,!0)],ce=[Br,sr,Br,sr,Rr,G,Rr,G],re=[sr,sr,sr,sr,G,G,G,G],we=[ur,or,Br,sr,Rr,G,Rr,G],Se=[or,or,sr,sr,G,G,G,G],_e=[ar,ar,or,or,sr,sr,G,G],Ee=[ir,ar,ur,or,ur,or,ur,or],ue={DISPLAY:P[ir],TEXT:P[ur],SCRIPT:P[Br],SCRIPTSCRIPT:P[Rr]},Le=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Mr(m){for(var r=0;r=l[0]&&m<=l[1])return t.name}return null}var Ge=[];Le.forEach(function(m){return m.blocks.forEach(function(r){return Ge.push.apply(Ge,r)})});function mr(m){for(var r=0;r=Ge[r]&&m<=Ge[r+1])return!0;return!1}var We=80,wr=function(r,t){return"M95,"+(622+r+t)+` +c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 +c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 +c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 +s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 +c69,-144,104.5,-217.7,106.5,-221 +l`+r/2.075+" -"+r+` +c5.3,-9.3,12,-14,20,-14 +H400000v`+(40+r)+`H845.2724 +s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 +c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z +M`+(834+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Ir=function(r,t){return"M263,"+(601+r+t)+`c0.7,0,18,39.7,52,119 +c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 +c340,-704.7,510.7,-1060.3,512,-1067 +l`+r/2.084+" -"+r+` +c4.7,-7.3,11,-11,19,-11 +H40000v`+(40+r)+`H1012.3 +s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 +c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 +s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 +c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z +M`+(1001+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Yt=function(r,t){return"M983 "+(10+r+t)+` +l`+r/3.13+" -"+r+` +c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+` +H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 +s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 +c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 +c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 +c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 +c53.7,-170.3,84.5,-266.8,92.5,-289.5z +M`+(1001+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Ka=function(r,t){return"M424,"+(2398+r+t)+` +c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 +c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 +s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 +s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 +l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000 +v`+(40+r)+`H1014.6 +s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 +c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+t+` +h400000v`+(40+r)+"h-400000z"},vr=function(r,t){return"M473,"+(2713+r+t)+` +c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+` +c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7 +s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 +c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 +s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, +606zM`+(1001+r)+" "+t+"h400000v"+(40+r)+"H1017.7z"},pe=function(r){var t=r/2;return"M400000 "+r+" H0 L"+t+" 0 l65 45 L145 "+(r-80)+" H400000z"},ti=function(r,t,i){var l=i-54-t-r;return"M702 "+(r+t)+"H400000"+(40+r)+` +H742v`+l+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 +h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 +c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 +219 661 l218 661zM702 `+t+"H400000v"+(40+r)+"H742z"},xt=function(r,t,i){t=1e3*t;var l="";switch(r){case"sqrtMain":l=wr(t,We);break;case"sqrtSize1":l=Ir(t,We);break;case"sqrtSize2":l=Yt(t,We);break;case"sqrtSize3":l=Ka(t,We);break;case"sqrtSize4":l=vr(t,We);break;case"sqrtTall":l=ti(t,We,i)}return l},on=function(r,t){switch(r){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},gr={doubleleftarrow:`M262 157 +l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 + 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 + 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 +c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 + 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 +-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 +-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z +m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l +-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 + 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 +-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 +-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 +-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 +c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 +-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 + 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 +-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 +c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 + 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 + 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 + l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 +-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 + 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 + 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 + 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 +-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 +H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 + 435 0h399565z`,leftgroupunder:`M400000 262 +H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 + 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 +-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 +-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 +-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 + 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 +-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 +-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z +m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 + 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 + 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 +-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 + 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 +-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 +v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 +-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 +-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 + 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z +M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z +M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 +-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 +c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 + 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z +M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 +c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 +-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 + 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 + 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 +c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 + 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 + 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 +-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 +-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z +m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 +60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 +-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z +m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 +c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 +-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z +m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 +85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 +-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z +m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 +c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 +-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 + 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 + 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 +-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 + 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l +-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 +s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 +c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 + 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 +-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 + 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 + 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 +-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 +-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 + 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 +-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 + 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z +m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 + 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 +-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 +-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 + 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 + 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 +-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z +m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 + 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 +-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 + 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z +M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 + 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 +-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 +-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 + 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 +-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 +-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 +-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 + 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 +c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 + 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 + 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 +-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 + 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 +-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 + 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 + 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 +-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 +-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 + 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 +c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 + 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 +-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 + 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 + 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 + -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 +-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 + 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 + 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 + -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 +3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 +10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 +-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 +-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 +H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 +c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 +c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, +-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 +c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 +c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 +s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 +121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 +s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 +c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z +M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 +-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 +13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 +-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 +-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 +151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 +c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 +c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 +c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z +M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, +1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, +-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z +M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Za=function(r,t){switch(r){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84 +H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z +M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z +M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z +MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z +MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z +M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z +M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 +c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, +-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, +949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 +c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, +-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 +l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, +-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, +63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 +c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+` +c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 +c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 +c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 +c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 +l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Or=function(){function m(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var r=m.prototype;return r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){for(var i=document.createDocumentFragment(),l=0;l=5?r=0:m>=3?r=1:r=2,!b0[r]){var t=b0[r]={cssEmPerMu:y0.quad[r]/18};for(var i in y0)y0.hasOwnProperty(i)&&(t[i]=y0[i][r])}return b0[r]}var Ja=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ai=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ui=function(r,t){return t.size<2?r:Ja[r-1][t.size-1]},li=function(){function m(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||m.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=ai[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var r=m.prototype;return r.extend=function(i){var l={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var c in i)i.hasOwnProperty(c)&&(l[c]=i[c]);return new m(l)},r.havingStyle=function(i){return this.style===i?this:this.extend({style:i,size:ui(this.textSize,i)})},r.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},r.havingSize=function(i){return this.size===i&&this.textSize===i?this:this.extend({style:this.style.text(),size:i,textSize:i,sizeMultiplier:ai[i-1]})},r.havingBaseStyle=function(i){i=i||this.style.text();var l=ui(m.BASESIZE,i);return this.size===l&&this.textSize===m.BASESIZE&&this.style===i?this:this.extend({style:i,size:l})},r.havingBaseSizing=function(){var i;switch(this.style.id){case 4:case 5:i=3;break;case 6:case 7:i=1;break;default:i=6}return this.extend({style:this.style.text(),size:i})},r.withColor=function(i){return this.extend({color:i})},r.withPhantom=function(){return this.extend({phantom:!0})},r.withFont=function(i){return this.extend({font:i})},r.withTextFontFamily=function(i){return this.extend({fontFamily:i,font:""})},r.withTextFontWeight=function(i){return this.extend({fontWeight:i,font:""})},r.withTextFontShape=function(i){return this.extend({fontShape:i,font:""})},r.sizingClasses=function(i){return i.size!==this.size?["sizing","reset-size"+i.size,"size"+this.size]:[]},r.baseSizingClasses=function(){return this.size!==m.BASESIZE?["sizing","reset-size"+this.size,"size"+m.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=ii(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},m}();li.BASESIZE=6;var oi=li,Xt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Qa={ex:!0,em:!0,mu:!0},si=function(r){return typeof r!="string"&&(r=r.unit),r in Xt||r in Qa||r==="ex"},je=function(r,t){var i;if(r.unit in Xt)i=Xt[r.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(r.unit==="mu")i=t.fontMetrics().cssEmPerMu;else{var l;if(t.style.isTight()?l=t.havingStyle(t.style.text()):l=t,r.unit==="ex")i=l.fontMetrics().xHeight;else if(r.unit==="em")i=l.fontMetrics().quad;else throw new b("Invalid unit: '"+r.unit+"'");l!==t&&(i*=l.sizeMultiplier/t.sizeMultiplier)}return Math.min(r.number*i,t.maxSize)},ae=function(r){return+r.toFixed(4)+"em"},it=function(r){return r.filter(function(t){return t}).join(" ")},ci=function(r,t,i){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},t){t.style.isTight()&&this.classes.push("mtight");var l=t.getColor();l&&(this.style.color=l)}},hi=function(r){var t=document.createElement(r);t.className=it(this.classes);for(var i in this.style)this.style.hasOwnProperty(i)&&(t.style[i]=this.style[i]);for(var l in this.attributes)this.attributes.hasOwnProperty(l)&&t.setAttribute(l,this.attributes[l]);for(var c=0;c",t},Wt=function(){function m(t,i,l,c){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ci.call(this,t,l,c),this.children=i||[]}var r=m.prototype;return r.setAttribute=function(i,l){this.attributes[i]=l},r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){return hi.call(this,"span")},r.toMarkup=function(){return cn.call(this,"span")},m}(),w0=function(){function m(t,i,l,c){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ci.call(this,i,c),this.children=l||[],this.setAttribute("href",t)}var r=m.prototype;return r.setAttribute=function(i,l){this.attributes[i]=l},r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){return hi.call(this,"a")},r.toMarkup=function(){return cn.call(this,"a")},m}(),fi=function(){function m(t,i,l){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=i,this.src=t,this.classes=["mord"],this.style=l}var r=m.prototype;return r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){var i=document.createElement("img");i.src=this.src,i.alt=this.alt,i.className="mord";for(var l in this.style)this.style.hasOwnProperty(l)&&(i.style[l]=this.style[l]);return i},r.toMarkup=function(){var i=""+this.alt+"0&&(l=document.createElement("span"),l.style.marginRight=ae(this.italic)),this.classes.length>0&&(l=l||document.createElement("span"),l.className=it(this.classes));for(var c in this.style)this.style.hasOwnProperty(c)&&(l=l||document.createElement("span"),l.style[c]=this.style[c]);return l?(l.appendChild(i),l):i},r.toMarkup=function(){var i=!1,l="0&&(c+="margin-right:"+this.italic+"em;");for(var v in this.style)this.style.hasOwnProperty(v)&&(c+=Z.hyphenate(v)+":"+this.style[v]+";");c&&(i=!0,l+=' style="'+Z.escape(c)+'"');var A=Z.escape(this.text);return i?(l+=">",l+=A,l+="",l):A},m}(),Lr=function(){function m(t,i){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=i||{}}var r=m.prototype;return r.toNode=function(){var i="http://www.w3.org/2000/svg",l=document.createElementNS(i,"svg");for(var c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&l.setAttribute(c,this.attributes[c]);for(var v=0;v":""},m}(),Jr=function(){function m(t){this.attributes=void 0,this.attributes=t||{}}var r=m.prototype;return r.toNode=function(){var i="http://www.w3.org/2000/svg",l=document.createElementNS(i,"line");for(var c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&l.setAttribute(c,this.attributes[c]);return l},r.toMarkup=function(){var i=" but got "+String(m)+".")}var ru={bin:1,close:1,inner:1,open:1,punct:1,rel:1},tu={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Kt={math:{},text:{}},$e=Kt;function p(m,r,t,i,l,c){Kt[m][l]={font:r,group:t,replace:i},c&&i&&(Kt[m][i]=Kt[m][l])}var g="math",ee="text",S="main",_="ams",Ue="accent-token",he="bin",cr="close",zt="inner",ye="mathord",Ke="op-token",Ar="open",bt="punct",F="rel",Qr="spacing",L="textord";p(g,S,F,"≡","\\equiv",!0),p(g,S,F,"≺","\\prec",!0),p(g,S,F,"≻","\\succ",!0),p(g,S,F,"∼","\\sim",!0),p(g,S,F,"⊥","\\perp"),p(g,S,F,"⪯","\\preceq",!0),p(g,S,F,"⪰","\\succeq",!0),p(g,S,F,"≃","\\simeq",!0),p(g,S,F,"∣","\\mid",!0),p(g,S,F,"≪","\\ll",!0),p(g,S,F,"≫","\\gg",!0),p(g,S,F,"≍","\\asymp",!0),p(g,S,F,"∥","\\parallel"),p(g,S,F,"⋈","\\bowtie",!0),p(g,S,F,"⌣","\\smile",!0),p(g,S,F,"⊑","\\sqsubseteq",!0),p(g,S,F,"⊒","\\sqsupseteq",!0),p(g,S,F,"≐","\\doteq",!0),p(g,S,F,"⌢","\\frown",!0),p(g,S,F,"∋","\\ni",!0),p(g,S,F,"∝","\\propto",!0),p(g,S,F,"⊢","\\vdash",!0),p(g,S,F,"⊣","\\dashv",!0),p(g,S,F,"∋","\\owns"),p(g,S,bt,".","\\ldotp"),p(g,S,bt,"⋅","\\cdotp"),p(g,S,L,"#","\\#"),p(ee,S,L,"#","\\#"),p(g,S,L,"&","\\&"),p(ee,S,L,"&","\\&"),p(g,S,L,"ℵ","\\aleph",!0),p(g,S,L,"∀","\\forall",!0),p(g,S,L,"ℏ","\\hbar",!0),p(g,S,L,"∃","\\exists",!0),p(g,S,L,"∇","\\nabla",!0),p(g,S,L,"♭","\\flat",!0),p(g,S,L,"ℓ","\\ell",!0),p(g,S,L,"♮","\\natural",!0),p(g,S,L,"♣","\\clubsuit",!0),p(g,S,L,"℘","\\wp",!0),p(g,S,L,"♯","\\sharp",!0),p(g,S,L,"♢","\\diamondsuit",!0),p(g,S,L,"ℜ","\\Re",!0),p(g,S,L,"♡","\\heartsuit",!0),p(g,S,L,"ℑ","\\Im",!0),p(g,S,L,"♠","\\spadesuit",!0),p(g,S,L,"§","\\S",!0),p(ee,S,L,"§","\\S"),p(g,S,L,"¶","\\P",!0),p(ee,S,L,"¶","\\P"),p(g,S,L,"†","\\dag"),p(ee,S,L,"†","\\dag"),p(ee,S,L,"†","\\textdagger"),p(g,S,L,"‡","\\ddag"),p(ee,S,L,"‡","\\ddag"),p(ee,S,L,"‡","\\textdaggerdbl"),p(g,S,cr,"⎱","\\rmoustache",!0),p(g,S,Ar,"⎰","\\lmoustache",!0),p(g,S,cr,"⟯","\\rgroup",!0),p(g,S,Ar,"⟮","\\lgroup",!0),p(g,S,he,"∓","\\mp",!0),p(g,S,he,"⊖","\\ominus",!0),p(g,S,he,"⊎","\\uplus",!0),p(g,S,he,"⊓","\\sqcap",!0),p(g,S,he,"∗","\\ast"),p(g,S,he,"⊔","\\sqcup",!0),p(g,S,he,"◯","\\bigcirc",!0),p(g,S,he,"∙","\\bullet",!0),p(g,S,he,"‡","\\ddagger"),p(g,S,he,"≀","\\wr",!0),p(g,S,he,"⨿","\\amalg"),p(g,S,he,"&","\\And"),p(g,S,F,"⟵","\\longleftarrow",!0),p(g,S,F,"⇐","\\Leftarrow",!0),p(g,S,F,"⟸","\\Longleftarrow",!0),p(g,S,F,"⟶","\\longrightarrow",!0),p(g,S,F,"⇒","\\Rightarrow",!0),p(g,S,F,"⟹","\\Longrightarrow",!0),p(g,S,F,"↔","\\leftrightarrow",!0),p(g,S,F,"⟷","\\longleftrightarrow",!0),p(g,S,F,"⇔","\\Leftrightarrow",!0),p(g,S,F,"⟺","\\Longleftrightarrow",!0),p(g,S,F,"↦","\\mapsto",!0),p(g,S,F,"⟼","\\longmapsto",!0),p(g,S,F,"↗","\\nearrow",!0),p(g,S,F,"↩","\\hookleftarrow",!0),p(g,S,F,"↪","\\hookrightarrow",!0),p(g,S,F,"↘","\\searrow",!0),p(g,S,F,"↼","\\leftharpoonup",!0),p(g,S,F,"⇀","\\rightharpoonup",!0),p(g,S,F,"↙","\\swarrow",!0),p(g,S,F,"↽","\\leftharpoondown",!0),p(g,S,F,"⇁","\\rightharpoondown",!0),p(g,S,F,"↖","\\nwarrow",!0),p(g,S,F,"⇌","\\rightleftharpoons",!0),p(g,_,F,"≮","\\nless",!0),p(g,_,F,"","\\@nleqslant"),p(g,_,F,"","\\@nleqq"),p(g,_,F,"⪇","\\lneq",!0),p(g,_,F,"≨","\\lneqq",!0),p(g,_,F,"","\\@lvertneqq"),p(g,_,F,"⋦","\\lnsim",!0),p(g,_,F,"⪉","\\lnapprox",!0),p(g,_,F,"⊀","\\nprec",!0),p(g,_,F,"⋠","\\npreceq",!0),p(g,_,F,"⋨","\\precnsim",!0),p(g,_,F,"⪹","\\precnapprox",!0),p(g,_,F,"≁","\\nsim",!0),p(g,_,F,"","\\@nshortmid"),p(g,_,F,"∤","\\nmid",!0),p(g,_,F,"⊬","\\nvdash",!0),p(g,_,F,"⊭","\\nvDash",!0),p(g,_,F,"⋪","\\ntriangleleft"),p(g,_,F,"⋬","\\ntrianglelefteq",!0),p(g,_,F,"⊊","\\subsetneq",!0),p(g,_,F,"","\\@varsubsetneq"),p(g,_,F,"⫋","\\subsetneqq",!0),p(g,_,F,"","\\@varsubsetneqq"),p(g,_,F,"≯","\\ngtr",!0),p(g,_,F,"","\\@ngeqslant"),p(g,_,F,"","\\@ngeqq"),p(g,_,F,"⪈","\\gneq",!0),p(g,_,F,"≩","\\gneqq",!0),p(g,_,F,"","\\@gvertneqq"),p(g,_,F,"⋧","\\gnsim",!0),p(g,_,F,"⪊","\\gnapprox",!0),p(g,_,F,"⊁","\\nsucc",!0),p(g,_,F,"⋡","\\nsucceq",!0),p(g,_,F,"⋩","\\succnsim",!0),p(g,_,F,"⪺","\\succnapprox",!0),p(g,_,F,"≆","\\ncong",!0),p(g,_,F,"","\\@nshortparallel"),p(g,_,F,"∦","\\nparallel",!0),p(g,_,F,"⊯","\\nVDash",!0),p(g,_,F,"⋫","\\ntriangleright"),p(g,_,F,"⋭","\\ntrianglerighteq",!0),p(g,_,F,"","\\@nsupseteqq"),p(g,_,F,"⊋","\\supsetneq",!0),p(g,_,F,"","\\@varsupsetneq"),p(g,_,F,"⫌","\\supsetneqq",!0),p(g,_,F,"","\\@varsupsetneqq"),p(g,_,F,"⊮","\\nVdash",!0),p(g,_,F,"⪵","\\precneqq",!0),p(g,_,F,"⪶","\\succneqq",!0),p(g,_,F,"","\\@nsubseteqq"),p(g,_,he,"⊴","\\unlhd"),p(g,_,he,"⊵","\\unrhd"),p(g,_,F,"↚","\\nleftarrow",!0),p(g,_,F,"↛","\\nrightarrow",!0),p(g,_,F,"⇍","\\nLeftarrow",!0),p(g,_,F,"⇏","\\nRightarrow",!0),p(g,_,F,"↮","\\nleftrightarrow",!0),p(g,_,F,"⇎","\\nLeftrightarrow",!0),p(g,_,F,"△","\\vartriangle"),p(g,_,L,"ℏ","\\hslash"),p(g,_,L,"▽","\\triangledown"),p(g,_,L,"◊","\\lozenge"),p(g,_,L,"Ⓢ","\\circledS"),p(g,_,L,"®","\\circledR"),p(ee,_,L,"®","\\circledR"),p(g,_,L,"∡","\\measuredangle",!0),p(g,_,L,"∄","\\nexists"),p(g,_,L,"℧","\\mho"),p(g,_,L,"Ⅎ","\\Finv",!0),p(g,_,L,"⅁","\\Game",!0),p(g,_,L,"‵","\\backprime"),p(g,_,L,"▲","\\blacktriangle"),p(g,_,L,"▼","\\blacktriangledown"),p(g,_,L,"■","\\blacksquare"),p(g,_,L,"⧫","\\blacklozenge"),p(g,_,L,"★","\\bigstar"),p(g,_,L,"∢","\\sphericalangle",!0),p(g,_,L,"∁","\\complement",!0),p(g,_,L,"ð","\\eth",!0),p(ee,S,L,"ð","ð"),p(g,_,L,"╱","\\diagup"),p(g,_,L,"╲","\\diagdown"),p(g,_,L,"□","\\square"),p(g,_,L,"□","\\Box"),p(g,_,L,"◊","\\Diamond"),p(g,_,L,"¥","\\yen",!0),p(ee,_,L,"¥","\\yen",!0),p(g,_,L,"✓","\\checkmark",!0),p(ee,_,L,"✓","\\checkmark"),p(g,_,L,"ℶ","\\beth",!0),p(g,_,L,"ℸ","\\daleth",!0),p(g,_,L,"ℷ","\\gimel",!0),p(g,_,L,"ϝ","\\digamma",!0),p(g,_,L,"ϰ","\\varkappa"),p(g,_,Ar,"┌","\\@ulcorner",!0),p(g,_,cr,"┐","\\@urcorner",!0),p(g,_,Ar,"└","\\@llcorner",!0),p(g,_,cr,"┘","\\@lrcorner",!0),p(g,_,F,"≦","\\leqq",!0),p(g,_,F,"⩽","\\leqslant",!0),p(g,_,F,"⪕","\\eqslantless",!0),p(g,_,F,"≲","\\lesssim",!0),p(g,_,F,"⪅","\\lessapprox",!0),p(g,_,F,"≊","\\approxeq",!0),p(g,_,he,"⋖","\\lessdot"),p(g,_,F,"⋘","\\lll",!0),p(g,_,F,"≶","\\lessgtr",!0),p(g,_,F,"⋚","\\lesseqgtr",!0),p(g,_,F,"⪋","\\lesseqqgtr",!0),p(g,_,F,"≑","\\doteqdot"),p(g,_,F,"≓","\\risingdotseq",!0),p(g,_,F,"≒","\\fallingdotseq",!0),p(g,_,F,"∽","\\backsim",!0),p(g,_,F,"⋍","\\backsimeq",!0),p(g,_,F,"⫅","\\subseteqq",!0),p(g,_,F,"⋐","\\Subset",!0),p(g,_,F,"⊏","\\sqsubset",!0),p(g,_,F,"≼","\\preccurlyeq",!0),p(g,_,F,"⋞","\\curlyeqprec",!0),p(g,_,F,"≾","\\precsim",!0),p(g,_,F,"⪷","\\precapprox",!0),p(g,_,F,"⊲","\\vartriangleleft"),p(g,_,F,"⊴","\\trianglelefteq"),p(g,_,F,"⊨","\\vDash",!0),p(g,_,F,"⊪","\\Vvdash",!0),p(g,_,F,"⌣","\\smallsmile"),p(g,_,F,"⌢","\\smallfrown"),p(g,_,F,"≏","\\bumpeq",!0),p(g,_,F,"≎","\\Bumpeq",!0),p(g,_,F,"≧","\\geqq",!0),p(g,_,F,"⩾","\\geqslant",!0),p(g,_,F,"⪖","\\eqslantgtr",!0),p(g,_,F,"≳","\\gtrsim",!0),p(g,_,F,"⪆","\\gtrapprox",!0),p(g,_,he,"⋗","\\gtrdot"),p(g,_,F,"⋙","\\ggg",!0),p(g,_,F,"≷","\\gtrless",!0),p(g,_,F,"⋛","\\gtreqless",!0),p(g,_,F,"⪌","\\gtreqqless",!0),p(g,_,F,"≖","\\eqcirc",!0),p(g,_,F,"≗","\\circeq",!0),p(g,_,F,"≜","\\triangleq",!0),p(g,_,F,"∼","\\thicksim"),p(g,_,F,"≈","\\thickapprox"),p(g,_,F,"⫆","\\supseteqq",!0),p(g,_,F,"⋑","\\Supset",!0),p(g,_,F,"⊐","\\sqsupset",!0),p(g,_,F,"≽","\\succcurlyeq",!0),p(g,_,F,"⋟","\\curlyeqsucc",!0),p(g,_,F,"≿","\\succsim",!0),p(g,_,F,"⪸","\\succapprox",!0),p(g,_,F,"⊳","\\vartriangleright"),p(g,_,F,"⊵","\\trianglerighteq"),p(g,_,F,"⊩","\\Vdash",!0),p(g,_,F,"∣","\\shortmid"),p(g,_,F,"∥","\\shortparallel"),p(g,_,F,"≬","\\between",!0),p(g,_,F,"⋔","\\pitchfork",!0),p(g,_,F,"∝","\\varpropto"),p(g,_,F,"◀","\\blacktriangleleft"),p(g,_,F,"∴","\\therefore",!0),p(g,_,F,"∍","\\backepsilon"),p(g,_,F,"▶","\\blacktriangleright"),p(g,_,F,"∵","\\because",!0),p(g,_,F,"⋘","\\llless"),p(g,_,F,"⋙","\\gggtr"),p(g,_,he,"⊲","\\lhd"),p(g,_,he,"⊳","\\rhd"),p(g,_,F,"≂","\\eqsim",!0),p(g,S,F,"⋈","\\Join"),p(g,_,F,"≑","\\Doteq",!0),p(g,_,he,"∔","\\dotplus",!0),p(g,_,he,"∖","\\smallsetminus"),p(g,_,he,"⋒","\\Cap",!0),p(g,_,he,"⋓","\\Cup",!0),p(g,_,he,"⩞","\\doublebarwedge",!0),p(g,_,he,"⊟","\\boxminus",!0),p(g,_,he,"⊞","\\boxplus",!0),p(g,_,he,"⋇","\\divideontimes",!0),p(g,_,he,"⋉","\\ltimes",!0),p(g,_,he,"⋊","\\rtimes",!0),p(g,_,he,"⋋","\\leftthreetimes",!0),p(g,_,he,"⋌","\\rightthreetimes",!0),p(g,_,he,"⋏","\\curlywedge",!0),p(g,_,he,"⋎","\\curlyvee",!0),p(g,_,he,"⊝","\\circleddash",!0),p(g,_,he,"⊛","\\circledast",!0),p(g,_,he,"⋅","\\centerdot"),p(g,_,he,"⊺","\\intercal",!0),p(g,_,he,"⋒","\\doublecap"),p(g,_,he,"⋓","\\doublecup"),p(g,_,he,"⊠","\\boxtimes",!0),p(g,_,F,"⇢","\\dashrightarrow",!0),p(g,_,F,"⇠","\\dashleftarrow",!0),p(g,_,F,"⇇","\\leftleftarrows",!0),p(g,_,F,"⇆","\\leftrightarrows",!0),p(g,_,F,"⇚","\\Lleftarrow",!0),p(g,_,F,"↞","\\twoheadleftarrow",!0),p(g,_,F,"↢","\\leftarrowtail",!0),p(g,_,F,"↫","\\looparrowleft",!0),p(g,_,F,"⇋","\\leftrightharpoons",!0),p(g,_,F,"↶","\\curvearrowleft",!0),p(g,_,F,"↺","\\circlearrowleft",!0),p(g,_,F,"↰","\\Lsh",!0),p(g,_,F,"⇈","\\upuparrows",!0),p(g,_,F,"↿","\\upharpoonleft",!0),p(g,_,F,"⇃","\\downharpoonleft",!0),p(g,S,F,"⊶","\\origof",!0),p(g,S,F,"⊷","\\imageof",!0),p(g,_,F,"⊸","\\multimap",!0),p(g,_,F,"↭","\\leftrightsquigarrow",!0),p(g,_,F,"⇉","\\rightrightarrows",!0),p(g,_,F,"⇄","\\rightleftarrows",!0),p(g,_,F,"↠","\\twoheadrightarrow",!0),p(g,_,F,"↣","\\rightarrowtail",!0),p(g,_,F,"↬","\\looparrowright",!0),p(g,_,F,"↷","\\curvearrowright",!0),p(g,_,F,"↻","\\circlearrowright",!0),p(g,_,F,"↱","\\Rsh",!0),p(g,_,F,"⇊","\\downdownarrows",!0),p(g,_,F,"↾","\\upharpoonright",!0),p(g,_,F,"⇂","\\downharpoonright",!0),p(g,_,F,"⇝","\\rightsquigarrow",!0),p(g,_,F,"⇝","\\leadsto"),p(g,_,F,"⇛","\\Rrightarrow",!0),p(g,_,F,"↾","\\restriction"),p(g,S,L,"‘","`"),p(g,S,L,"$","\\$"),p(ee,S,L,"$","\\$"),p(ee,S,L,"$","\\textdollar"),p(g,S,L,"%","\\%"),p(ee,S,L,"%","\\%"),p(g,S,L,"_","\\_"),p(ee,S,L,"_","\\_"),p(ee,S,L,"_","\\textunderscore"),p(g,S,L,"∠","\\angle",!0),p(g,S,L,"∞","\\infty",!0),p(g,S,L,"′","\\prime"),p(g,S,L,"△","\\triangle"),p(g,S,L,"Γ","\\Gamma",!0),p(g,S,L,"Δ","\\Delta",!0),p(g,S,L,"Θ","\\Theta",!0),p(g,S,L,"Λ","\\Lambda",!0),p(g,S,L,"Ξ","\\Xi",!0),p(g,S,L,"Π","\\Pi",!0),p(g,S,L,"Σ","\\Sigma",!0),p(g,S,L,"Υ","\\Upsilon",!0),p(g,S,L,"Φ","\\Phi",!0),p(g,S,L,"Ψ","\\Psi",!0),p(g,S,L,"Ω","\\Omega",!0),p(g,S,L,"A","Α"),p(g,S,L,"B","Β"),p(g,S,L,"E","Ε"),p(g,S,L,"Z","Ζ"),p(g,S,L,"H","Η"),p(g,S,L,"I","Ι"),p(g,S,L,"K","Κ"),p(g,S,L,"M","Μ"),p(g,S,L,"N","Ν"),p(g,S,L,"O","Ο"),p(g,S,L,"P","Ρ"),p(g,S,L,"T","Τ"),p(g,S,L,"X","Χ"),p(g,S,L,"¬","\\neg",!0),p(g,S,L,"¬","\\lnot"),p(g,S,L,"⊤","\\top"),p(g,S,L,"⊥","\\bot"),p(g,S,L,"∅","\\emptyset"),p(g,_,L,"∅","\\varnothing"),p(g,S,ye,"α","\\alpha",!0),p(g,S,ye,"β","\\beta",!0),p(g,S,ye,"γ","\\gamma",!0),p(g,S,ye,"δ","\\delta",!0),p(g,S,ye,"ϵ","\\epsilon",!0),p(g,S,ye,"ζ","\\zeta",!0),p(g,S,ye,"η","\\eta",!0),p(g,S,ye,"θ","\\theta",!0),p(g,S,ye,"ι","\\iota",!0),p(g,S,ye,"κ","\\kappa",!0),p(g,S,ye,"λ","\\lambda",!0),p(g,S,ye,"μ","\\mu",!0),p(g,S,ye,"ν","\\nu",!0),p(g,S,ye,"ξ","\\xi",!0),p(g,S,ye,"ο","\\omicron",!0),p(g,S,ye,"π","\\pi",!0),p(g,S,ye,"ρ","\\rho",!0),p(g,S,ye,"σ","\\sigma",!0),p(g,S,ye,"τ","\\tau",!0),p(g,S,ye,"υ","\\upsilon",!0),p(g,S,ye,"ϕ","\\phi",!0),p(g,S,ye,"χ","\\chi",!0),p(g,S,ye,"ψ","\\psi",!0),p(g,S,ye,"ω","\\omega",!0),p(g,S,ye,"ε","\\varepsilon",!0),p(g,S,ye,"ϑ","\\vartheta",!0),p(g,S,ye,"ϖ","\\varpi",!0),p(g,S,ye,"ϱ","\\varrho",!0),p(g,S,ye,"ς","\\varsigma",!0),p(g,S,ye,"φ","\\varphi",!0),p(g,S,he,"∗","*",!0),p(g,S,he,"+","+"),p(g,S,he,"−","-",!0),p(g,S,he,"⋅","\\cdot",!0),p(g,S,he,"∘","\\circ",!0),p(g,S,he,"÷","\\div",!0),p(g,S,he,"±","\\pm",!0),p(g,S,he,"×","\\times",!0),p(g,S,he,"∩","\\cap",!0),p(g,S,he,"∪","\\cup",!0),p(g,S,he,"∖","\\setminus",!0),p(g,S,he,"∧","\\land"),p(g,S,he,"∨","\\lor"),p(g,S,he,"∧","\\wedge",!0),p(g,S,he,"∨","\\vee",!0),p(g,S,L,"√","\\surd"),p(g,S,Ar,"⟨","\\langle",!0),p(g,S,Ar,"∣","\\lvert"),p(g,S,Ar,"∥","\\lVert"),p(g,S,cr,"?","?"),p(g,S,cr,"!","!"),p(g,S,cr,"⟩","\\rangle",!0),p(g,S,cr,"∣","\\rvert"),p(g,S,cr,"∥","\\rVert"),p(g,S,F,"=","="),p(g,S,F,":",":"),p(g,S,F,"≈","\\approx",!0),p(g,S,F,"≅","\\cong",!0),p(g,S,F,"≥","\\ge"),p(g,S,F,"≥","\\geq",!0),p(g,S,F,"←","\\gets"),p(g,S,F,">","\\gt",!0),p(g,S,F,"∈","\\in",!0),p(g,S,F,"","\\@not"),p(g,S,F,"⊂","\\subset",!0),p(g,S,F,"⊃","\\supset",!0),p(g,S,F,"⊆","\\subseteq",!0),p(g,S,F,"⊇","\\supseteq",!0),p(g,_,F,"⊈","\\nsubseteq",!0),p(g,_,F,"⊉","\\nsupseteq",!0),p(g,S,F,"⊨","\\models"),p(g,S,F,"←","\\leftarrow",!0),p(g,S,F,"≤","\\le"),p(g,S,F,"≤","\\leq",!0),p(g,S,F,"<","\\lt",!0),p(g,S,F,"→","\\rightarrow",!0),p(g,S,F,"→","\\to"),p(g,_,F,"≱","\\ngeq",!0),p(g,_,F,"≰","\\nleq",!0),p(g,S,Qr," ","\\ "),p(g,S,Qr," ","\\space"),p(g,S,Qr," ","\\nobreakspace"),p(ee,S,Qr," ","\\ "),p(ee,S,Qr," "," "),p(ee,S,Qr," ","\\space"),p(ee,S,Qr," ","\\nobreakspace"),p(g,S,Qr,null,"\\nobreak"),p(g,S,Qr,null,"\\allowbreak"),p(g,S,bt,",",","),p(g,S,bt,";",";"),p(g,_,he,"⊼","\\barwedge",!0),p(g,_,he,"⊻","\\veebar",!0),p(g,S,he,"⊙","\\odot",!0),p(g,S,he,"⊕","\\oplus",!0),p(g,S,he,"⊗","\\otimes",!0),p(g,S,L,"∂","\\partial",!0),p(g,S,he,"⊘","\\oslash",!0),p(g,_,he,"⊚","\\circledcirc",!0),p(g,_,he,"⊡","\\boxdot",!0),p(g,S,he,"△","\\bigtriangleup"),p(g,S,he,"▽","\\bigtriangledown"),p(g,S,he,"†","\\dagger"),p(g,S,he,"⋄","\\diamond"),p(g,S,he,"⋆","\\star"),p(g,S,he,"◃","\\triangleleft"),p(g,S,he,"▹","\\triangleright"),p(g,S,Ar,"{","\\{"),p(ee,S,L,"{","\\{"),p(ee,S,L,"{","\\textbraceleft"),p(g,S,cr,"}","\\}"),p(ee,S,L,"}","\\}"),p(ee,S,L,"}","\\textbraceright"),p(g,S,Ar,"{","\\lbrace"),p(g,S,cr,"}","\\rbrace"),p(g,S,Ar,"[","\\lbrack",!0),p(ee,S,L,"[","\\lbrack",!0),p(g,S,cr,"]","\\rbrack",!0),p(ee,S,L,"]","\\rbrack",!0),p(g,S,Ar,"(","\\lparen",!0),p(g,S,cr,")","\\rparen",!0),p(ee,S,L,"<","\\textless",!0),p(ee,S,L,">","\\textgreater",!0),p(g,S,Ar,"⌊","\\lfloor",!0),p(g,S,cr,"⌋","\\rfloor",!0),p(g,S,Ar,"⌈","\\lceil",!0),p(g,S,cr,"⌉","\\rceil",!0),p(g,S,L,"\\","\\backslash"),p(g,S,L,"∣","|"),p(g,S,L,"∣","\\vert"),p(ee,S,L,"|","\\textbar",!0),p(g,S,L,"∥","\\|"),p(g,S,L,"∥","\\Vert"),p(ee,S,L,"∥","\\textbardbl"),p(ee,S,L,"~","\\textasciitilde"),p(ee,S,L,"\\","\\textbackslash"),p(ee,S,L,"^","\\textasciicircum"),p(g,S,F,"↑","\\uparrow",!0),p(g,S,F,"⇑","\\Uparrow",!0),p(g,S,F,"↓","\\downarrow",!0),p(g,S,F,"⇓","\\Downarrow",!0),p(g,S,F,"↕","\\updownarrow",!0),p(g,S,F,"⇕","\\Updownarrow",!0),p(g,S,Ke,"∐","\\coprod"),p(g,S,Ke,"⋁","\\bigvee"),p(g,S,Ke,"⋀","\\bigwedge"),p(g,S,Ke,"⨄","\\biguplus"),p(g,S,Ke,"⋂","\\bigcap"),p(g,S,Ke,"⋃","\\bigcup"),p(g,S,Ke,"∫","\\int"),p(g,S,Ke,"∫","\\intop"),p(g,S,Ke,"∬","\\iint"),p(g,S,Ke,"∭","\\iiint"),p(g,S,Ke,"∏","\\prod"),p(g,S,Ke,"∑","\\sum"),p(g,S,Ke,"⨂","\\bigotimes"),p(g,S,Ke,"⨁","\\bigoplus"),p(g,S,Ke,"⨀","\\bigodot"),p(g,S,Ke,"∮","\\oint"),p(g,S,Ke,"∯","\\oiint"),p(g,S,Ke,"∰","\\oiiint"),p(g,S,Ke,"⨆","\\bigsqcup"),p(g,S,Ke,"∫","\\smallint"),p(ee,S,zt,"…","\\textellipsis"),p(g,S,zt,"…","\\mathellipsis"),p(ee,S,zt,"…","\\ldots",!0),p(g,S,zt,"…","\\ldots",!0),p(g,S,zt,"⋯","\\@cdots",!0),p(g,S,zt,"⋱","\\ddots",!0),p(g,S,L,"⋮","\\varvdots"),p(g,S,Ue,"ˊ","\\acute"),p(g,S,Ue,"ˋ","\\grave"),p(g,S,Ue,"¨","\\ddot"),p(g,S,Ue,"~","\\tilde"),p(g,S,Ue,"ˉ","\\bar"),p(g,S,Ue,"˘","\\breve"),p(g,S,Ue,"ˇ","\\check"),p(g,S,Ue,"^","\\hat"),p(g,S,Ue,"⃗","\\vec"),p(g,S,Ue,"˙","\\dot"),p(g,S,Ue,"˚","\\mathring"),p(g,S,ye,"","\\@imath"),p(g,S,ye,"","\\@jmath"),p(g,S,L,"ı","ı"),p(g,S,L,"ȷ","ȷ"),p(ee,S,L,"ı","\\i",!0),p(ee,S,L,"ȷ","\\j",!0),p(ee,S,L,"ß","\\ss",!0),p(ee,S,L,"æ","\\ae",!0),p(ee,S,L,"œ","\\oe",!0),p(ee,S,L,"ø","\\o",!0),p(ee,S,L,"Æ","\\AE",!0),p(ee,S,L,"Œ","\\OE",!0),p(ee,S,L,"Ø","\\O",!0),p(ee,S,Ue,"ˊ","\\'"),p(ee,S,Ue,"ˋ","\\`"),p(ee,S,Ue,"ˆ","\\^"),p(ee,S,Ue,"˜","\\~"),p(ee,S,Ue,"ˉ","\\="),p(ee,S,Ue,"˘","\\u"),p(ee,S,Ue,"˙","\\."),p(ee,S,Ue,"¸","\\c"),p(ee,S,Ue,"˚","\\r"),p(ee,S,Ue,"ˇ","\\v"),p(ee,S,Ue,"¨",'\\"'),p(ee,S,Ue,"˝","\\H"),p(ee,S,Ue,"◯","\\textcircled");var Zt={"--":!0,"---":!0,"``":!0,"''":!0};p(ee,S,L,"–","--",!0),p(ee,S,L,"–","\\textendash"),p(ee,S,L,"—","---",!0),p(ee,S,L,"—","\\textemdash"),p(ee,S,L,"‘","`",!0),p(ee,S,L,"‘","\\textquoteleft"),p(ee,S,L,"’","'",!0),p(ee,S,L,"’","\\textquoteright"),p(ee,S,L,"“","``",!0),p(ee,S,L,"“","\\textquotedblleft"),p(ee,S,L,"”","''",!0),p(ee,S,L,"”","\\textquotedblright"),p(g,S,L,"°","\\degree",!0),p(ee,S,L,"°","\\degree"),p(ee,S,L,"°","\\textdegree",!0),p(g,S,L,"£","\\pounds"),p(g,S,L,"£","\\mathsterling",!0),p(ee,S,L,"£","\\pounds"),p(ee,S,L,"£","\\textsterling",!0),p(g,_,L,"✠","\\maltese"),p(ee,_,L,"✠","\\maltese");for(var A0='0123456789/@."',hn=0;hn0)return Pr(c,M,l,t,v.concat(N));if(D){var Y,X;if(D==="boldsymbol"){var K=au(c,l,t,v,i);Y=K.fontName,X=[K.fontClass]}else A?(Y=bi[D].fontName,X=[D]):(Y=M0(D,t.fontWeight,t.fontShape),X=[D,t.fontWeight,t.fontShape]);if(B0(c,Y,l).metrics)return Pr(c,Y,l,t,v.concat(X));if(Zt.hasOwnProperty(c)&&Y.slice(0,10)==="Typewriter"){for(var ie=[],le=0;let&&(t=v.height),v.depth>i&&(i=v.depth),v.maxFontSize>l&&(l=v.maxFontSize)}r.height=t,r.depth=i,r.maxFontSize=l},lr=function(r,t,i,l){var c=new Wt(r,t,i,l);return pn(c),c},yi=function(r,t,i,l){return new Wt(r,t,i,l)},su=function(r,t,i){var l=lr([r],[],t);return l.height=Math.max(i||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),l.style.borderBottomWidth=ae(l.height),l.maxFontSize=1,l},cu=function(r,t,i,l){var c=new w0(r,t,i,l);return pn(c),c},xi=function(r){var t=new Or(r);return pn(t),t},hu=function(r,t){return r instanceof Or?lr([],[r],t):r},fu=function(r){if(r.positionType==="individualShift"){for(var t=r.children,i=[t[0]],l=-t[0].shift-t[0].elem.depth,c=l,v=1;v0&&(c.push(F0(v,r)),v=[]),c.push(i[A]));v.length>0&&c.push(F0(v,r));var M;t?(M=F0(rr(t,r,!0)),M.classes=["tag"],c.push(M)):l&&c.push(l);var N=Yr(["katex-html"],c);if(N.setAttribute("aria-hidden","true"),M){var U=M.children[0];U.style.height=ae(N.height+N.depth),N.depth&&(U.style.verticalAlign=ae(-N.depth))}return N}function N0(m){return new Or(m)}var _r=function(){function m(t,i,l){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=i||[],this.classes=l||[]}var r=m.prototype;return r.setAttribute=function(i,l){this.attributes[i]=l},r.getAttribute=function(i){return this.attributes[i]},r.toNode=function(){var i=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var l in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,l)&&i.setAttribute(l,this.attributes[l]);this.classes.length>0&&(i.className=it(this.classes));for(var c=0;c0&&(i+=' class ="'+Z.escape(it(this.classes))+'"'),i+=">";for(var c=0;c",i},r.toText=function(){return this.children.map(function(i){return i.toText()}).join("")},m}(),i0=function(){function m(t){this.text=void 0,this.text=t}var r=m.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return Z.escape(this.toText())},r.toText=function(){return this.text},m}(),Si=function(){function m(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}var r=m.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var i=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return i.setAttribute("width",ae(this.width)),i},r.toMarkup=function(){return this.character?""+this.character+"":''},r.toText=function(){return this.character?this.character:" "},m}(),te={MathNode:_r,TextNode:i0,SpaceNode:Si,newDocumentFragment:N0},kr=function(r,t,i){return $e[t][r]&&$e[t][r].replace&&r.charCodeAt(0)!==55349&&!(Zt.hasOwnProperty(r)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(r=$e[t][r].replace),new te.TextNode(r)},dn=function(r){return r.length===1?r[0]:new te.MathNode("mrow",r)},mn=function(r,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var i=t.font;if(!i||i==="mathnormal")return null;var l=r.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return r.type==="textord"?"bold":"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var c=r.text;if(Z.contains(["\\imath","\\jmath"],c))return null;$e[l][c]&&$e[l][c].replace&&(c=$e[l][c].replace);var v=$.fontMap[i].fontName;return x0(c,v,l)?$.fontMap[i].variant:null},xr=function(r,t,i){if(r.length===1){var l=Pe(r[0],t);return i&&l instanceof _r&&l.type==="mo"&&(l.setAttribute("lspace","0em"),l.setAttribute("rspace","0em")),[l]}for(var c=[],v,A=0;A0&&(K.text=K.text.slice(0,1)+"̸"+K.text.slice(1),c.pop())}}}c.push(D),v=D}return c},lt=function(r,t,i){return dn(xr(r,t,i))},Pe=function(r,t){if(!r)return new te.MathNode("mrow");if(_0[r.type]){var i=_0[r.type](r,t);return i}else throw new b("Got group of unknown type: '"+r.type+"'")};function Ci(m,r,t,i,l){var c=xr(m,t),v;c.length===1&&c[0]instanceof _r&&Z.contains(["mrow","mtable"],c[0].type)?v=c[0]:v=new te.MathNode("mrow",c);var A=new te.MathNode("annotation",[new te.TextNode(r)]);A.setAttribute("encoding","application/x-tex");var D=new te.MathNode("semantics",[v,A]),M=new te.MathNode("math",[D]);M.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&M.setAttribute("display","block");var N=l?"katex":"katex-mathml";return $.makeSpan([N],[M])}var Di=function(r){return new oi({style:r.displayMode?ue.DISPLAY:ue.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},Ei=function(r,t){if(t.displayMode){var i=["katex-display"];t.leqno&&i.push("leqno"),t.fleqn&&i.push("fleqn"),r=$.makeSpan(i,[r])}return r},xu=function(r,t,i){var l=Di(i),c;if(i.output==="mathml")return Ci(r,t,l,i.displayMode,!0);if(i.output==="html"){var v=n0(r,l);c=$.makeSpan(["katex"],[v])}else{var A=Ci(r,t,l,i.displayMode,!1),D=n0(r,l);c=$.makeSpan(["katex"],[A,D])}return Ei(c,i)},bu=function(r,t,i){var l=Di(i),c=n0(r,l),v=$.makeSpan(["katex"],[c]);return Ei(v,i)},wu={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},nr=function(r){var t=new te.MathNode("mo",[new te.TextNode(wu[r.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Bi={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},a0=function(r){return r.type==="ordgroup"?r.body.length:1},fr=function(r,t){function i(){var D=4e5,M=r.label.slice(1);if(Z.contains(["widehat","widecheck","widetilde","utilde"],M)){var N=r,U=a0(N.base),Y,X,K;if(U>5)M==="widehat"||M==="widecheck"?(Y=420,D=2364,K=.42,X=M+"4"):(Y=312,D=2340,K=.34,X="tilde4");else{var ie=[1,1,2,2,3,3][U];M==="widehat"||M==="widecheck"?(D=[0,1062,2364,2364,2364][ie],Y=[0,239,300,360,420][ie],K=[0,.24,.3,.3,.36,.42][ie],X=M+ie):(D=[0,600,1033,2339,2340][ie],Y=[0,260,286,306,312][ie],K=[0,.26,.286,.3,.306,.34][ie],X="tilde"+ie)}var le=new Zr(X),fe=new Lr([le],{width:"100%",height:ae(K),viewBox:"0 0 "+D+" "+Y,preserveAspectRatio:"none"});return{span:$.makeSvgSpan([],[fe],t),minWidth:0,height:K}}else{var de=[],ge=Bi[M],ze=ge[0],Ce=ge[1],Re=ge[2],Ne=Re/1e3,Ie=ze.length,He,Qe;if(Ie===1){var Sr=ge[3];He=["hide-tail"],Qe=[Sr]}else if(Ie===2)He=["halfarrow-left","halfarrow-right"],Qe=["xMinYMin","xMaxYMin"];else if(Ie===3)He=["brace-left","brace-center","brace-right"],Qe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+Ie+" children.");for(var Xe=0;Xe0&&(c.style.minWidth=ae(v)),c},vn=function(r,t,i,l,c){var v,A=r.height+r.depth+i+l;if(/fbox|color|angl/.test(t)){if(v=$.makeSpan(["stretchy",t],[],c),t==="fbox"){var D=c.color&&c.getColor();D&&(v.style.borderColor=D)}}else{var M=[];/^[bx]cancel$/.test(t)&&M.push(new Jr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&M.push(new Jr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var N=new Lr(M,{width:"100%",height:ae(A)});v=$.makeSvgSpan([],[N],c)}return v.height=A,v.style.height=ae(A),v},Hr={encloseSpan:vn,mathMLnode:nr,svgSpan:fr};function Be(m,r){if(!m||m.type!==r)throw new Error("Expected node of type "+r+", but got "+(m?"node of type "+m.type:String(m)));return m}function gn(m){var r=q0(m);if(!r)throw new Error("Expected node of symbol group type, but got "+(m?"node of type "+m.type:String(m)));return r}function q0(m){return m&&(m.type==="atom"||tu.hasOwnProperty(m.type))?m:null}var yn=function(r,t){var i,l,c;r&&r.type==="supsub"?(l=Be(r.base,"accent"),i=l.base,r.base=i,c=eu(Fe(r,t)),r.base=l):(l=Be(r,"accent"),i=l.base);var v=Fe(i,t.havingCrampedStyle()),A=l.isShifty&&Z.isCharacterBox(i),D=0;if(A){var M=Z.getBaseElem(i),N=Fe(M,t.havingCrampedStyle());D=pi(N).skew}var U=l.label==="\\c",Y=U?v.height+v.depth:Math.min(v.height,t.fontMetrics().xHeight),X;if(l.isStretchy)X=Hr.svgSpan(l,t),X=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"elem",elem:X,wrapperClasses:["svg-align"],wrapperStyle:D>0?{width:"calc(100% - "+ae(2*D)+")",marginLeft:ae(2*D)}:void 0}]},t);else{var K,ie;l.label==="\\vec"?(K=$.staticSvg("vec",t),ie=$.svgData.vec[1]):(K=$.makeOrd({mode:l.mode,text:l.label},t,"textord"),K=pi(K),K.italic=0,ie=K.width,U&&(Y+=K.depth)),X=$.makeSpan(["accent-body"],[K]);var le=l.label==="\\textcircled";le&&(X.classes.push("accent-full"),Y=v.height);var fe=D;le||(fe-=ie/2),X.style.left=ae(fe),l.label==="\\textcircled"&&(X.style.top=".2em"),X=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"kern",size:-Y},{type:"elem",elem:X}]},t)}var de=$.makeSpan(["mord","accent"],[X],t);return c?(c.children[0]=de,c.height=Math.max(de.height,c.height),c.classes[0]="mord",c):de},Mi=function(r,t){var i=r.isStretchy?Hr.mathMLnode(r.label):new te.MathNode("mo",[kr(r.label,r.mode)]),l=new te.MathNode("mover",[Pe(r.base,t),i]);return l.setAttribute("accent","true"),l},Au=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(m){return"\\"+m}).join("|"));oe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(r,t){var i=z0(t[0]),l=!Au.test(r.funcName),c=!l||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:l,isShifty:c,base:i}},htmlBuilder:yn,mathmlBuilder:Mi}),oe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(r,t){var i=t[0],l=r.parser.mode;return l==="math"&&(r.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+r.funcName+" works only in text mode"),l="text"),{type:"accent",mode:l,label:r.funcName,isStretchy:!1,isShifty:!0,base:i}},htmlBuilder:yn,mathmlBuilder:Mi}),oe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"accentUnder",mode:i.mode,label:l,base:c}},htmlBuilder:function(r,t){var i=Fe(r.base,t),l=Hr.svgSpan(r,t),c=r.label==="\\utilde"?.12:0,v=$.makeVList({positionType:"top",positionData:i.height,children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:c},{type:"elem",elem:i}]},t);return $.makeSpan(["mord","accentunder"],[v],t)},mathmlBuilder:function(r,t){var i=Hr.mathMLnode(r.label),l=new te.MathNode("munder",[Pe(r.base,t),i]);return l.setAttribute("accentunder","true"),l}});var tr=function(r){var t=new te.MathNode("mpadded",r?[r]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};oe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,t,i){var l=r.parser,c=r.funcName;return{type:"xArrow",mode:l.mode,label:c,body:t[0],below:i[0]}},htmlBuilder:function(r,t){var i=t.style,l=t.havingStyle(i.sup()),c=$.wrapFragment(Fe(r.body,l,t),t),v=r.label.slice(0,2)==="\\x"?"x":"cd";c.classes.push(v+"-arrow-pad");var A;r.below&&(l=t.havingStyle(i.sub()),A=$.wrapFragment(Fe(r.below,l,t),t),A.classes.push(v+"-arrow-pad"));var D=Hr.svgSpan(r,t),M=-t.fontMetrics().axisHeight+.5*D.height,N=-t.fontMetrics().axisHeight-.5*D.height-.111;(c.depth>.25||r.label==="\\xleftequilibrium")&&(N-=c.depth);var U;if(A){var Y=-t.fontMetrics().axisHeight+A.height+.5*D.height+.111;U=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:N},{type:"elem",elem:D,shift:M},{type:"elem",elem:A,shift:Y}]},t)}else U=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:N},{type:"elem",elem:D,shift:M}]},t);return U.children[0].children[0].children[1].classes.push("svg-align"),$.makeSpan(["mrel","x-arrow"],[U],t)},mathmlBuilder:function(r,t){var i=Hr.mathMLnode(r.label);i.setAttribute("minsize",r.label.charAt(0)==="x"?"1.75em":"3.0em");var l;if(r.body){var c=tr(Pe(r.body,t));if(r.below){var v=tr(Pe(r.below,t));l=new te.MathNode("munderover",[i,v,c])}else l=new te.MathNode("mover",[i,c])}else if(r.below){var A=tr(Pe(r.below,t));l=new te.MathNode("munder",[i,A])}else l=tr(),l=new te.MathNode("mover",[i,l]);return l}});var Ti=$.makeSpan;function _i(m,r){var t=rr(m.body,r,!0);return Ti([m.mclass],t,r)}function R0(m,r){var t,i=xr(m.body,r);return m.mclass==="minner"?t=new te.MathNode("mpadded",i):m.mclass==="mord"?m.isCharacterBox?(t=i[0],t.type="mi"):t=new te.MathNode("mi",i):(m.isCharacterBox?(t=i[0],t.type="mo"):t=new te.MathNode("mo",i),m.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):m.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):m.mclass==="mopen"||m.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):m.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}oe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"mclass",mode:i.mode,mclass:"m"+l.slice(5),body:er(c),isCharacterBox:Z.isCharacterBox(c)}},htmlBuilder:_i,mathmlBuilder:R0});var u0=function(r){var t=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};oe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(r,t){var i=r.parser;return{type:"mclass",mode:i.mode,mclass:u0(t[0]),body:er(t[1]),isCharacterBox:Z.isCharacterBox(t[1])}}}),oe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[1],v=t[0],A;l!=="\\stackrel"?A=u0(c):A="mrel";var D={type:"op",mode:c.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:l!=="\\stackrel",body:er(c)},M={type:"supsub",mode:v.mode,base:D,sup:l==="\\underset"?null:v,sub:l==="\\underset"?v:null};return{type:"mclass",mode:i.mode,mclass:A,body:[M],isCharacterBox:Z.isCharacterBox(M)}},htmlBuilder:_i,mathmlBuilder:R0}),oe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser;return{type:"pmb",mode:i.mode,mclass:u0(t[0]),body:er(t[0])}},htmlBuilder:function(r,t){var i=rr(r.body,t,!0),l=$.makeSpan([r.mclass],i,t);return l.style.textShadow="0.02em 0.01em 0.04px",l},mathmlBuilder:function(r,t){var i=xr(r.body,t),l=new te.MathNode("mstyle",i);return l.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),l}});var zi={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},xn=function(){return{type:"styling",body:[],mode:"math",style:"display"}},bn=function(r){return r.type==="textord"&&r.text==="@"},Fi=function(r,t){return(r.type==="mathord"||r.type==="atom")&&r.text===t};function ku(m,r,t){var i=zi[m];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(i,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":{var l=t.callFunction("\\\\cdleft",[r[0]],[]),c={type:"atom",text:i,mode:"math",family:"rel"},v=t.callFunction("\\Big",[c],[]),A=t.callFunction("\\\\cdright",[r[1]],[]),D={type:"ordgroup",mode:"math",body:[l,v,A]};return t.callFunction("\\\\cdparent",[D],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var M={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[M],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Su(m){var r=[];for(m.gullet.beginGroup(),m.gullet.macros.set("\\cr","\\\\\\relax"),m.gullet.beginGroup();;){r.push(m.parseExpression(!1,"\\\\")),m.gullet.endGroup(),m.gullet.beginGroup();var t=m.fetch().text;if(t==="&"||t==="\\\\")m.consume();else if(t==="\\end"){r[r.length-1].length===0&&r.pop();break}else throw new b("Expected \\\\ or \\cr or \\end",m.nextToken)}for(var i=[],l=[i],c=0;c-1))if("<>AV".indexOf(M)>-1)for(var U=0;U<2;U++){for(var Y=!0,X=D+1;XAV=|." after @',v[D]);var K=ku(M,N,m),ie={type:"styling",body:[K],mode:"math",style:"display"};i.push(ie),A=xn()}c%2===0?i.push(A):i.shift(),i=[],l.push(i)}m.gullet.endGroup(),m.gullet.endGroup();var le=new Array(l[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:l,arraystretch:1,addJot:!0,rowGaps:[null],cols:le,colSeparationType:"CD",hLinesBeforeRow:new Array(l.length+1).fill([])}}oe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName;return{type:"cdlabel",mode:i.mode,side:l.slice(4),label:t[0]}},htmlBuilder:function(r,t){var i=t.havingStyle(t.style.sup()),l=$.wrapFragment(Fe(r.label,i,t),t);return l.classes.push("cd-label-"+r.side),l.style.bottom=ae(.8-l.depth),l.height=0,l.depth=0,l},mathmlBuilder:function(r,t){var i=new te.MathNode("mrow",[Pe(r.label,t)]);return i=new te.MathNode("mpadded",[i]),i.setAttribute("width","0"),r.side==="left"&&i.setAttribute("lspace","-1width"),i.setAttribute("voffset","0.7em"),i=new te.MathNode("mstyle",[i]),i.setAttribute("displaystyle","false"),i.setAttribute("scriptlevel","1"),i}}),oe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(r,t){var i=r.parser;return{type:"cdlabelparent",mode:i.mode,fragment:t[0]}},htmlBuilder:function(r,t){var i=$.wrapFragment(Fe(r.fragment,t),t);return i.classes.push("cd-vert-arrow"),i},mathmlBuilder:function(r,t){return new te.MathNode("mrow",[Pe(r.fragment,t)])}}),oe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){for(var i=r.parser,l=Be(t[0],"ordgroup"),c=l.body,v="",A=0;A=1114111)throw new b("\\@char with invalid code point "+v);return M<=65535?N=String.fromCharCode(M):(M-=65536,N=String.fromCharCode((M>>10)+55296,(M&1023)+56320)),{type:"textord",mode:i.mode,text:N}}});var Ni=function(r,t){var i=rr(r.body,t.withColor(r.color),!1);return $.makeFragment(i)},wn=function(r,t){var i=xr(r.body,t.withColor(r.color)),l=new te.MathNode("mstyle",i);return l.setAttribute("mathcolor",r.color),l};oe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(r,t){var i=r.parser,l=Be(t[0],"color-token").color,c=t[1];return{type:"color",mode:i.mode,color:l,body:er(c)}},htmlBuilder:Ni,mathmlBuilder:wn}),oe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(r,t){var i=r.parser,l=r.breakOnTokenText,c=Be(t[0],"color-token").color;i.gullet.macros.set("\\current@color",c);var v=i.parseExpression(!0,l);return{type:"color",mode:i.mode,color:c,body:v}},htmlBuilder:Ni,mathmlBuilder:wn}),oe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(r,t,i){var l=r.parser,c=l.gullet.future().text==="["?l.parseSizeGroup(!0):null,v=!l.settings.displayMode||!l.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:l.mode,newLine:v,size:c&&Be(c,"size").value}},htmlBuilder:function(r,t){var i=$.makeSpan(["mspace"],[],t);return r.newLine&&(i.classes.push("newline"),r.size&&(i.style.marginTop=ae(je(r.size,t)))),i},mathmlBuilder:function(r,t){var i=new te.MathNode("mspace");return r.newLine&&(i.setAttribute("linebreak","newline"),r.size&&i.setAttribute("height",ae(je(r.size,t)))),i}});var An={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},qi=function(r){var t=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new b("Expected a control sequence",r);return t},Cu=function(r){var t=r.gullet.popToken();return t.text==="="&&(t=r.gullet.popToken(),t.text===" "&&(t=r.gullet.popToken())),t},kn=function(r,t,i,l){var c=r.gullet.macros.get(i.text);c==null&&(i.noexpand=!0,c={tokens:[i],numArgs:0,unexpandable:!r.gullet.isExpandable(i.text)}),r.gullet.macros.set(t,c,l)};oe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(r){var t=r.parser,i=r.funcName;t.consumeSpaces();var l=t.fetch();if(An[l.text])return(i==="\\global"||i==="\\\\globallong")&&(l.text=An[l.text]),Be(t.parseFunction(),"internal");throw new b("Invalid token after macro prefix",l)}}),oe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,i=r.funcName,l=t.gullet.popToken(),c=l.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(c))throw new b("Expected a control sequence",l);for(var v=0,A,D=[[]];t.gullet.future().text!=="{";)if(l=t.gullet.popToken(),l.text==="#"){if(t.gullet.future().text==="{"){A=t.gullet.future(),D[v].push("{");break}if(l=t.gullet.popToken(),!/^[1-9]$/.test(l.text))throw new b('Invalid argument number "'+l.text+'"');if(parseInt(l.text)!==v+1)throw new b('Argument number "'+l.text+'" out of order');v++,D.push([])}else{if(l.text==="EOF")throw new b("Expected a macro definition");D[v].push(l.text)}var M=t.gullet.consumeArg(),N=M.tokens;return A&&N.unshift(A),(i==="\\edef"||i==="\\xdef")&&(N=t.gullet.expandTokens(N),N.reverse()),t.gullet.macros.set(c,{tokens:N,numArgs:v,delimiters:D},i===An[i]),{type:"internal",mode:t.mode}}}),oe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,i=r.funcName,l=qi(t.gullet.popToken());t.gullet.consumeSpaces();var c=Cu(t);return kn(t,l,c,i==="\\\\globallet"),{type:"internal",mode:t.mode}}}),oe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,i=r.funcName,l=qi(t.gullet.popToken()),c=t.gullet.popToken(),v=t.gullet.popToken();return kn(t,l,v,i==="\\\\globalfuture"),t.gullet.pushToken(v),t.gullet.pushToken(c),{type:"internal",mode:t.mode}}});var l0=function(r,t,i){var l=$e.math[r]&&$e.math[r].replace,c=x0(l||r,t,i);if(!c)throw new Error("Unsupported symbol "+r+" and font size "+t+".");return c},Sn=function(r,t,i,l){var c=i.havingBaseStyle(t),v=$.makeSpan(l.concat(c.sizingClasses(i)),[r],i),A=c.sizeMultiplier/i.sizeMultiplier;return v.height*=A,v.depth*=A,v.maxFontSize=c.sizeMultiplier,v},Ri=function(r,t,i){var l=t.havingBaseStyle(i),c=(1-t.sizeMultiplier/l.sizeMultiplier)*t.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=ae(c),r.height-=c,r.depth+=c},Du=function(r,t,i,l,c,v){var A=$.makeSymbol(r,"Main-Regular",c,l),D=Sn(A,t,l,v);return i&&Ri(D,l,t),D},Eu=function(r,t,i,l){return $.makeSymbol(r,"Size"+t+"-Regular",i,l)},Ii=function(r,t,i,l,c,v){var A=Eu(r,t,c,l),D=Sn($.makeSpan(["delimsizing","size"+t],[A],l),ue.TEXT,l,v);return i&&Ri(D,l,ue.TEXT),D},I0=function(r,t,i){var l;t==="Size1-Regular"?l="delim-size1":l="delim-size4";var c=$.makeSpan(["delimsizinginner",l],[$.makeSpan([],[$.makeSymbol(r,t,i)])]);return{type:"elem",elem:c}},Cn=function(r,t,i){var l=yr["Size4-Regular"][r.charCodeAt(0)]?yr["Size4-Regular"][r.charCodeAt(0)][4]:yr["Size1-Regular"][r.charCodeAt(0)][4],c=new Zr("inner",on(r,Math.round(1e3*t))),v=new Lr([c],{width:ae(l),height:ae(t),style:"width:"+ae(l),viewBox:"0 0 "+1e3*l+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),A=$.makeSvgSpan([],[v],i);return A.height=t,A.style.height=ae(t),A.style.width=ae(l),{type:"elem",elem:A}},Dn=.008,O0={type:"kern",size:-1*Dn},Bu=["|","\\lvert","\\rvert","\\vert"],Mu=["\\|","\\lVert","\\rVert","\\Vert"],Oi=function(r,t,i,l,c,v){var A,D,M,N,U="",Y=0;A=M=N=r,D=null;var X="Size1-Regular";r==="\\uparrow"?M=N="⏐":r==="\\Uparrow"?M=N="‖":r==="\\downarrow"?A=M="⏐":r==="\\Downarrow"?A=M="‖":r==="\\updownarrow"?(A="\\uparrow",M="⏐",N="\\downarrow"):r==="\\Updownarrow"?(A="\\Uparrow",M="‖",N="\\Downarrow"):Z.contains(Bu,r)?(M="∣",U="vert",Y=333):Z.contains(Mu,r)?(M="∥",U="doublevert",Y=556):r==="["||r==="\\lbrack"?(A="⎡",M="⎢",N="⎣",X="Size4-Regular",U="lbrack",Y=667):r==="]"||r==="\\rbrack"?(A="⎤",M="⎥",N="⎦",X="Size4-Regular",U="rbrack",Y=667):r==="\\lfloor"||r==="⌊"?(M=A="⎢",N="⎣",X="Size4-Regular",U="lfloor",Y=667):r==="\\lceil"||r==="⌈"?(A="⎡",M=N="⎢",X="Size4-Regular",U="lceil",Y=667):r==="\\rfloor"||r==="⌋"?(M=A="⎥",N="⎦",X="Size4-Regular",U="rfloor",Y=667):r==="\\rceil"||r==="⌉"?(A="⎤",M=N="⎥",X="Size4-Regular",U="rceil",Y=667):r==="("||r==="\\lparen"?(A="⎛",M="⎜",N="⎝",X="Size4-Regular",U="lparen",Y=875):r===")"||r==="\\rparen"?(A="⎞",M="⎟",N="⎠",X="Size4-Regular",U="rparen",Y=875):r==="\\{"||r==="\\lbrace"?(A="⎧",D="⎨",N="⎩",M="⎪",X="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(A="⎫",D="⎬",N="⎭",M="⎪",X="Size4-Regular"):r==="\\lgroup"||r==="⟮"?(A="⎧",N="⎩",M="⎪",X="Size4-Regular"):r==="\\rgroup"||r==="⟯"?(A="⎫",N="⎭",M="⎪",X="Size4-Regular"):r==="\\lmoustache"||r==="⎰"?(A="⎧",N="⎭",M="⎪",X="Size4-Regular"):(r==="\\rmoustache"||r==="⎱")&&(A="⎫",N="⎩",M="⎪",X="Size4-Regular");var K=l0(A,X,c),ie=K.height+K.depth,le=l0(M,X,c),fe=le.height+le.depth,de=l0(N,X,c),ge=de.height+de.depth,ze=0,Ce=1;if(D!==null){var Re=l0(D,X,c);ze=Re.height+Re.depth,Ce=2}var Ne=ie+ge+ze,Ie=Math.max(0,Math.ceil((t-Ne)/(Ce*fe))),He=Ne+Ie*Ce*fe,Qe=l.fontMetrics().axisHeight;i&&(Qe*=l.sizeMultiplier);var Sr=He/2-Qe,Xe=[];if(U.length>0){var ft=He-ie-ge,Cr=Math.round(He*1e3),dr=Za(U,Math.round(ft*1e3)),rt=new Zr(U,dr),Lt=(Y/1e3).toFixed(3)+"em",Pt=(Cr/1e3).toFixed(3)+"em",Q0=new Lr([rt],{width:Lt,height:Pt,viewBox:"0 0 "+Y+" "+Cr}),pt=$.makeSvgSpan([],[Q0],l);pt.height=Cr/1e3,pt.style.width=Lt,pt.style.height=Pt,Xe.push({type:"elem",elem:pt})}else{if(Xe.push(I0(N,X,c)),Xe.push(O0),D===null){var dt=He-ie-ge+2*Dn;Xe.push(Cn(M,dt,l))}else{var Dr=(He-ie-ge-ze)/2+2*Dn;Xe.push(Cn(M,Dr,l)),Xe.push(O0),Xe.push(I0(D,X,c)),Xe.push(O0),Xe.push(Cn(M,Dr,l))}Xe.push(O0),Xe.push(I0(A,X,c))}var Er=l.havingBaseStyle(ue.TEXT),Un=$.makeVList({positionType:"bottom",positionData:Sr,children:Xe},Er);return Sn($.makeSpan(["delimsizing","mult"],[Un],Er),ue.TEXT,l,v)},L0=80,P0=.08,H0=function(r,t,i,l,c){var v=xt(r,l,i),A=new Zr(r,v),D=new Lr([A],{width:"400em",height:ae(t),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return $.makeSvgSpan(["hide-tail"],[D],c)},Li=function(r,t){var i=t.havingBaseSizing(),l=$i("\\surd",r*i.sizeMultiplier,U0,i),c=i.sizeMultiplier,v=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),A,D=0,M=0,N=0,U;return l.type==="small"?(N=1e3+1e3*v+L0,r<1?c=1:r<1.4&&(c=.7),D=(1+v+P0)/c,M=(1+v)/c,A=H0("sqrtMain",D,N,v,t),A.style.minWidth="0.853em",U=.833/c):l.type==="large"?(N=(1e3+L0)*o0[l.size],M=(o0[l.size]+v)/c,D=(o0[l.size]+v+P0)/c,A=H0("sqrtSize"+l.size,D,N,v,t),A.style.minWidth="1.02em",U=1/c):(D=r+v+P0,M=r+v,N=Math.floor(1e3*r+v)+L0,A=H0("sqrtTall",D,N,v,t),A.style.minWidth="0.742em",U=1.056),A.height=M,A.style.height=ae(D),{span:A,advanceWidth:U,ruleWidth:(t.fontMetrics().sqrtRuleThickness+v)*c}},En=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Tu=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Pi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],o0=[0,1.2,1.8,2.4,3],Hi=function(r,t,i,l,c){if(r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle"),Z.contains(En,r)||Z.contains(Pi,r))return Ii(r,t,!1,i,l,c);if(Z.contains(Tu,r))return Oi(r,o0[t],!1,i,l,c);throw new b("Illegal delimiter: '"+r+"'")},_u=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ui=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"stack"}],U0=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],zu=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},$i=function(r,t,i,l){for(var c=Math.min(2,3-l.style.size),v=c;vt)return i[v]}return i[i.length-1]},Vi=function(r,t,i,l,c,v){r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle");var A;Z.contains(Pi,r)?A=_u:Z.contains(En,r)?A=U0:A=Ui;var D=$i(r,t,A,l);return D.type==="small"?Du(r,D.style,i,l,c,v):D.type==="large"?Ii(r,D.size,i,l,c,v):Oi(r,t,i,l,c,v)},Fu=function(r,t,i,l,c,v){var A=l.fontMetrics().axisHeight*l.sizeMultiplier,D=901,M=5/l.fontMetrics().ptPerEm,N=Math.max(t-A,i+A),U=Math.max(N/500*D,2*N-M);return Vi(r,U,!0,l,c,v)},Xr={sqrtImage:Li,sizedDelim:Hi,sizeToMaxHeight:o0,customSizedDelim:Vi,leftRightDelim:Fu},Gi={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Nu=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function $0(m,r){var t=q0(m);if(t&&Z.contains(Nu,t.text))return t;throw t?new b("Invalid delimiter '"+t.text+"' after '"+r.funcName+"'",m):new b("Invalid delimiter type '"+m.type+"'",m)}oe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(r,t){var i=$0(t[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Gi[r.funcName].size,mclass:Gi[r.funcName].mclass,delim:i.text}},htmlBuilder:function(r,t){return r.delim==="."?$.makeSpan([r.mclass]):Xr.sizedDelim(r.delim,r.size,t,r.mode,[r.mclass])},mathmlBuilder:function(r){var t=[];r.delim!=="."&&t.push(kr(r.delim,r.mode));var i=new te.MathNode("mo",t);r.mclass==="mopen"||r.mclass==="mclose"?i.setAttribute("fence","true"):i.setAttribute("fence","false"),i.setAttribute("stretchy","true");var l=ae(Xr.sizeToMaxHeight[r.size]);return i.setAttribute("minsize",l),i.setAttribute("maxsize",l),i}});function ji(m){if(!m.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}oe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(r,t){var i=r.parser.gullet.macros.get("\\current@color");if(i&&typeof i!="string")throw new b("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:$0(t[0],r).text,color:i}}}),oe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(r,t){var i=$0(t[0],r),l=r.parser;++l.leftrightDepth;var c=l.parseExpression(!1);--l.leftrightDepth,l.expect("\\right",!1);var v=Be(l.parseFunction(),"leftright-right");return{type:"leftright",mode:l.mode,body:c,left:i.text,right:v.delim,rightColor:v.color}},htmlBuilder:function(r,t){ji(r);for(var i=rr(r.body,t,!0,["mopen","mclose"]),l=0,c=0,v=!1,A=0;A-1?"mpadded":"menclose",[Pe(r.body,t)]);switch(r.label){case"\\cancel":l.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":l.setAttribute("notation","downdiagonalstrike");break;case"\\phase":l.setAttribute("notation","phasorangle");break;case"\\sout":l.setAttribute("notation","horizontalstrike");break;case"\\fbox":l.setAttribute("notation","box");break;case"\\angl":l.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(i=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,l.setAttribute("width","+"+2*i+"pt"),l.setAttribute("height","+"+2*i+"pt"),l.setAttribute("lspace",i+"pt"),l.setAttribute("voffset",i+"pt"),r.label==="\\fcolorbox"){var c=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);l.setAttribute("style","border: "+c+"em solid "+String(r.borderColor))}break;case"\\xcancel":l.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&l.setAttribute("mathbackground",r.backgroundColor),l};oe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(r,t,i){var l=r.parser,c=r.funcName,v=Be(t[0],"color-token").color,A=t[1];return{type:"enclose",mode:l.mode,label:c,backgroundColor:v,body:A}},htmlBuilder:V0,mathmlBuilder:Bn}),oe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(r,t,i){var l=r.parser,c=r.funcName,v=Be(t[0],"color-token").color,A=Be(t[1],"color-token").color,D=t[2];return{type:"enclose",mode:l.mode,label:c,backgroundColor:A,borderColor:v,body:D}},htmlBuilder:V0,mathmlBuilder:Bn}),oe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(r,t){var i=r.parser;return{type:"enclose",mode:i.mode,label:"\\fbox",body:t[0]}}}),oe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"enclose",mode:i.mode,label:l,body:c}},htmlBuilder:V0,mathmlBuilder:Bn}),oe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(r,t){var i=r.parser;return{type:"enclose",mode:i.mode,label:"\\angl",body:t[0]}}});var Yi={};function Wr(m){for(var r=m.type,t=m.names,i=m.props,l=m.handler,c=m.htmlBuilder,v=m.mathmlBuilder,A={type:r,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:l},D=0;D1||!N)&&ie.pop(),fe.length0&&(ge+=.25),M.push({pos:ge,isDashed:rn[tn]})}for(ze(v[0]),i=0;i0&&(Sr+=de,Ne=A)){var Ht=void 0;(l>0||r.hskipBeforeAndAfter)&&(Ht=Z.deflt(Dr.pregap,Y),Ht!==0&&(dr=$.makeSpan(["arraycolsep"],[]),dr.style.width=ae(Ht),Cr.push(dr)));var Ut=[];for(i=0;i0){for(var Wu=$.makeLineSpan("hline",t,N),Ku=$.makeLineSpan("hdashline",t,N),$n=[{type:"elem",elem:D,shift:0}];M.length>0;){var wa=M.pop(),Aa=wa.pos-Xe;wa.isDashed?$n.push({type:"elem",elem:Ku,shift:Aa}):$n.push({type:"elem",elem:Wu,shift:Aa})}D=$.makeVList({positionType:"individualShift",children:$n},t)}if(Lt.length===0)return $.makeSpan(["mord"],[D],t);var Vn=$.makeVList({positionType:"individualShift",children:Lt},t);return Vn=$.makeSpan(["tag"],[Vn],t),$.makeFragment([D,Vn])},j0={c:"center ",l:"left ",r:"right "},zr=function(r,t){for(var i=[],l=new te.MathNode("mtd",[],["mtr-glue"]),c=new te.MathNode("mtd",[],["mml-eqn-num"]),v=0;v0){var K=r.cols,ie="",le=!1,fe=0,de=K.length;K[0].type==="separator"&&(Y+="top ",fe=1),K[K.length-1].type==="separator"&&(Y+="bottom ",de-=1);for(var ge=fe;ge0?"left ":"",Y+=Ie[Ie.length-1].length>0?"right ":"";for(var He=1;He-1?"alignat":"align",c=r.envName==="split",v=$r(r.parser,{cols:i,addJot:!0,autoTag:c?void 0:Kr(r.envName),emptySingleRow:!0,colSeparationType:l,maxNumCols:c?2:void 0,leqno:r.parser.settings.leqno},"display"),A,D=0,M={type:"ordgroup",mode:r.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var N="",U=0;U0&&X&&(le=1),i[K]={type:"align",align:ie,pregap:le,postgap:0}}return v.colSeparationType=X?"align":"alignat",v};Wr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,t){var i=q0(t[0]),l=i?[t[0]]:Be(t[0],"ordgroup").body,c=l.map(function(A){var D=gn(A),M=D.text;if("lcr".indexOf(M)!==-1)return{type:"align",align:M};if(M==="|")return{type:"separator",separator:"|"};if(M===":")return{type:"separator",separator:":"};throw new b("Unknown column alignment: "+M,A)}),v={cols:c,hskipBeforeAndAfter:!0,maxNumCols:c.length};return $r(r.parser,v,G0(r.envName))},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(r){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName.replace("*","")],i="c",l={hskipBeforeAndAfter:!1,cols:[{type:"align",align:i}]};if(r.envName.charAt(r.envName.length-1)==="*"){var c=r.parser;if(c.consumeSpaces(),c.fetch().text==="["){if(c.consume(),c.consumeSpaces(),i=c.fetch().text,"lcr".indexOf(i)===-1)throw new b("Expected l or c or r",c.nextToken);c.consume(),c.consumeSpaces(),c.expect("]"),c.consume(),l.cols=[{type:"align",align:i}]}}var v=$r(r.parser,l,G0(r.envName)),A=Math.max.apply(Math,[0].concat(v.body.map(function(D){return D.length})));return v.cols=new Array(A).fill({type:"align",align:i}),t?{type:"leftright",mode:r.mode,body:[v],left:t[0],right:t[1],rightColor:void 0}:v},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(r){var t={arraystretch:.5},i=$r(r.parser,t,"script");return i.colSeparationType="small",i},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,t){var i=q0(t[0]),l=i?[t[0]]:Be(t[0],"ordgroup").body,c=l.map(function(A){var D=gn(A),M=D.text;if("lc".indexOf(M)!==-1)return{type:"align",align:M};throw new b("Unknown column alignment: "+M,A)});if(c.length>1)throw new b("{subarray} can contain only one column");var v={cols:c,hskipBeforeAndAfter:!1,arraystretch:.5};if(v=$r(r.parser,v,"script"),v.body.length>0&&v.body[0].length>1)throw new b("{subarray} can contain only one column");return v},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(r){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},i=$r(r.parser,t,G0(r.envName));return{type:"leftright",mode:r.mode,body:[i],left:r.envName.indexOf("r")>-1?".":"\\{",right:r.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Xi,htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(r){Z.contains(["gather","gather*"],r.envName)&&Ft(r);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Kr(r.envName),emptySingleRow:!0,leqno:r.parser.settings.leqno};return $r(r.parser,t,"display")},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Xi,htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(r){Ft(r);var t={autoTag:Kr(r.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:r.parser.settings.leqno};return $r(r.parser,t,"display")},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["CD"],props:{numArgs:0},handler:function(r){return Ft(r),Su(r.parser)},htmlBuilder:Vr,mathmlBuilder:zr}),E("\\nonumber","\\gdef\\@eqnsw{0}"),E("\\notag","\\nonumber"),oe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(r,t){throw new b(r.funcName+" valid only within array environment")}});var Wi=Yi,Ki=Wi;oe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];if(c.type!=="ordgroup")throw new b("Invalid environment name",c);for(var v="",A=0;A=ue.SCRIPT.id?i.text():ue.DISPLAY:r==="text"&&i.size===ue.DISPLAY.size?i=ue.TEXT:r==="script"?i=ue.SCRIPT:r==="scriptscript"&&(i=ue.SCRIPTSCRIPT),i},Y0=function(r,t){var i=zn(r.size,t.style),l=i.fracNum(),c=i.fracDen(),v;v=t.havingStyle(l);var A=Fe(r.numer,v,t);if(r.continued){var D=8.5/t.fontMetrics().ptPerEm,M=3.5/t.fontMetrics().ptPerEm;A.height=A.height0?ie=3*X:ie=7*X,le=t.fontMetrics().denom1):(Y>0?(K=t.fontMetrics().num2,ie=X):(K=t.fontMetrics().num3,ie=3*X),le=t.fontMetrics().denom2);var fe;if(U){var ge=t.fontMetrics().axisHeight;K-A.depth-(ge+.5*Y)0&&(t=r,t=t==="."?null:t),t};oe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(r,t){var i=r.parser,l=t[4],c=t[5],v=z0(t[0]),A=v.type==="atom"&&v.family==="open"?pr(v.text):null,D=z0(t[1]),M=D.type==="atom"&&D.family==="close"?pr(D.text):null,N=Be(t[2],"size"),U,Y=null;N.isBlank?U=!0:(Y=N.value,U=Y.number>0);var X="auto",K=t[3];if(K.type==="ordgroup"){if(K.body.length>0){var ie=Be(K.body[0],"textord");X=st[Number(ie.text)]}}else K=Be(K,"textord"),X=st[Number(K.text)];return{type:"genfrac",mode:i.mode,numer:l,denom:c,continued:!1,hasBarLine:U,barSize:Y,leftDelim:A,rightDelim:M,size:X}},htmlBuilder:Y0,mathmlBuilder:Fr}),oe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,t){var i=r.parser;r.funcName;var l=r.token;return{type:"infix",mode:i.mode,replaceWith:"\\\\abovefrac",size:Be(t[0],"size").value,token:l}}}),oe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,t){var i=r.parser;r.funcName;var l=t[0],c=ve(Be(t[1],"infix").size),v=t[2],A=c.number>0;return{type:"genfrac",mode:i.mode,numer:l,denom:v,continued:!1,hasBarLine:A,barSize:c,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Y0,mathmlBuilder:Fr});var Ct=function(r,t){var i=t.style,l,c;r.type==="supsub"?(l=r.sup?Fe(r.sup,t.havingStyle(i.sup()),t):Fe(r.sub,t.havingStyle(i.sub()),t),c=Be(r.base,"horizBrace")):c=Be(r,"horizBrace");var v=Fe(c.base,t.havingBaseStyle(ue.DISPLAY)),A=Hr.svgSpan(c,t),D;if(c.isOver?(D=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"kern",size:.1},{type:"elem",elem:A}]},t),D.children[0].children[0].children[1].classes.push("svg-align")):(D=$.makeVList({positionType:"bottom",positionData:v.depth+.1+A.height,children:[{type:"elem",elem:A},{type:"kern",size:.1},{type:"elem",elem:v}]},t),D.children[0].children[0].children[0].classes.push("svg-align")),l){var M=$.makeSpan(["mord",c.isOver?"mover":"munder"],[D],t);c.isOver?D=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:M},{type:"kern",size:.2},{type:"elem",elem:l}]},t):D=$.makeVList({positionType:"bottom",positionData:M.depth+.2+l.height+l.depth,children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:M}]},t)}return $.makeSpan(["mord",c.isOver?"mover":"munder"],[D],t)},qu=function(r,t){var i=Hr.mathMLnode(r.label);return new te.MathNode(r.isOver?"mover":"munder",[Pe(r.base,t),i])};oe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName;return{type:"horizBrace",mode:i.mode,label:l,isOver:/^\\over/.test(l),base:t[0]}},htmlBuilder:Ct,mathmlBuilder:qu}),oe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,t){var i=r.parser,l=t[1],c=Be(t[0],"url").url;return i.settings.isTrusted({command:"\\href",url:c})?{type:"href",mode:i.mode,href:c,body:er(l)}:i.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,t){var i=rr(r.body,t,!1);return $.makeAnchor(r.href,[],i,t)},mathmlBuilder:function(r,t){var i=lt(r.body,t);return i instanceof _r||(i=new _r("mrow",[i])),i.setAttribute("href",r.href),i}}),oe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(r,t){var i=r.parser,l=Be(t[0],"url").url;if(!i.settings.isTrusted({command:"\\url",url:l}))return i.formatUnsupportedCmd("\\url");for(var c=[],v=0;v0&&(l=je(r.totalheight,t)-i);var c=0;r.width.number>0&&(c=je(r.width,t));var v={height:ae(i+l)};c>0&&(v.width=ae(c)),l>0&&(v.verticalAlign=ae(-l));var A=new fi(r.src,r.alt,v);return A.height=i,A.depth=l,A},mathmlBuilder:function(r,t){var i=new te.MathNode("mglyph",[]);i.setAttribute("alt",r.alt);var l=je(r.height,t),c=0;if(r.totalheight.number>0&&(c=je(r.totalheight,t)-l,i.setAttribute("valign",ae(-c))),i.setAttribute("height",ae(l+c)),r.width.number>0){var v=je(r.width,t);i.setAttribute("width",ae(v))}return i.setAttribute("src",r.src),i}}),oe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=Be(t[0],"size");if(i.settings.strict){var v=l[1]==="m",A=c.value.unit==="mu";v?(A||i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+l+" supports only mu units, "+("not "+c.value.unit+" units")),i.mode!=="math"&&i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+l+" works only in math mode")):A&&i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+l+" doesn't support mu units")}return{type:"kern",mode:i.mode,dimension:c.value}},htmlBuilder:function(r,t){return $.makeGlue(r.dimension,t)},mathmlBuilder:function(r,t){var i=je(r.dimension,t);return new te.SpaceNode(i)}}),oe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"lap",mode:i.mode,alignment:l.slice(5),body:c}},htmlBuilder:function(r,t){var i;r.alignment==="clap"?(i=$.makeSpan([],[Fe(r.body,t)]),i=$.makeSpan(["inner"],[i],t)):i=$.makeSpan(["inner"],[Fe(r.body,t)]);var l=$.makeSpan(["fix"],[]),c=$.makeSpan([r.alignment],[i,l],t),v=$.makeSpan(["strut"]);return v.style.height=ae(c.height+c.depth),c.depth&&(v.style.verticalAlign=ae(-c.depth)),c.children.unshift(v),c=$.makeSpan(["thinbox"],[c],t),$.makeSpan(["mord","vbox"],[c],t)},mathmlBuilder:function(r,t){var i=new te.MathNode("mpadded",[Pe(r.body,t)]);if(r.alignment!=="rlap"){var l=r.alignment==="llap"?"-1":"-0.5";i.setAttribute("lspace",l+"width")}return i.setAttribute("width","0px"),i}}),oe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,t){var i=r.funcName,l=r.parser,c=l.mode;l.switchMode("math");var v=i==="\\("?"\\)":"$",A=l.parseExpression(!1,v);return l.expect(v),l.switchMode(c),{type:"styling",mode:l.mode,style:"text",body:A}}}),oe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,t){throw new b("Mismatched "+r.funcName)}});var Qi=function(r,t){switch(t.style.size){case ue.DISPLAY.size:return r.display;case ue.TEXT.size:return r.text;case ue.SCRIPT.size:return r.script;case ue.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};oe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(r,t){var i=r.parser;return{type:"mathchoice",mode:i.mode,display:er(t[0]),text:er(t[1]),script:er(t[2]),scriptscript:er(t[3])}},htmlBuilder:function(r,t){var i=Qi(r,t),l=rr(i,t,!1);return $.makeFragment(l)},mathmlBuilder:function(r,t){var i=Qi(r,t);return lt(i,t)}});var Nn=function(r,t,i,l,c,v,A){r=$.makeSpan([],[r]);var D=i&&Z.isCharacterBox(i),M,N;if(t){var U=Fe(t,l.havingStyle(c.sup()),l);N={elem:U,kern:Math.max(l.fontMetrics().bigOpSpacing1,l.fontMetrics().bigOpSpacing3-U.depth)}}if(i){var Y=Fe(i,l.havingStyle(c.sub()),l);M={elem:Y,kern:Math.max(l.fontMetrics().bigOpSpacing2,l.fontMetrics().bigOpSpacing4-Y.height)}}var X;if(N&&M){var K=l.fontMetrics().bigOpSpacing5+M.elem.height+M.elem.depth+M.kern+r.depth+A;X=$.makeVList({positionType:"bottom",positionData:K,children:[{type:"kern",size:l.fontMetrics().bigOpSpacing5},{type:"elem",elem:M.elem,marginLeft:ae(-v)},{type:"kern",size:M.kern},{type:"elem",elem:r},{type:"kern",size:N.kern},{type:"elem",elem:N.elem,marginLeft:ae(v)},{type:"kern",size:l.fontMetrics().bigOpSpacing5}]},l)}else if(M){var ie=r.height-A;X=$.makeVList({positionType:"top",positionData:ie,children:[{type:"kern",size:l.fontMetrics().bigOpSpacing5},{type:"elem",elem:M.elem,marginLeft:ae(-v)},{type:"kern",size:M.kern},{type:"elem",elem:r}]},l)}else if(N){var le=r.depth+A;X=$.makeVList({positionType:"bottom",positionData:le,children:[{type:"elem",elem:r},{type:"kern",size:N.kern},{type:"elem",elem:N.elem,marginLeft:ae(v)},{type:"kern",size:l.fontMetrics().bigOpSpacing5}]},l)}else return r;var fe=[X];if(M&&v!==0&&!D){var de=$.makeSpan(["mspace"],[],l);de.style.marginRight=ae(v),fe.unshift(de)}return $.makeSpan(["mop","op-limits"],fe,l)},ea=["\\smallint"],Dt=function(r,t){var i,l,c=!1,v;r.type==="supsub"?(i=r.sup,l=r.sub,v=Be(r.base,"op"),c=!0):v=Be(r,"op");var A=t.style,D=!1;A.size===ue.DISPLAY.size&&v.symbol&&!Z.contains(ea,v.name)&&(D=!0);var M;if(v.symbol){var N=D?"Size2-Regular":"Size1-Regular",U="";if((v.name==="\\oiint"||v.name==="\\oiiint")&&(U=v.name.slice(1),v.name=U==="oiint"?"\\iint":"\\iiint"),M=$.makeSymbol(v.name,N,"math",t,["mop","op-symbol",D?"large-op":"small-op"]),U.length>0){var Y=M.italic,X=$.staticSvg(U+"Size"+(D?"2":"1"),t);M=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:M,shift:0},{type:"elem",elem:X,shift:D?.08:0}]},t),v.name="\\"+U,M.classes.unshift("mop"),M.italic=Y}}else if(v.body){var K=rr(v.body,t,!0);K.length===1&&K[0]instanceof Tr?(M=K[0],M.classes[0]="mop"):M=$.makeSpan(["mop"],K,t)}else{for(var ie=[],le=1;le0){for(var D=v.body.map(function(Y){var X=Y.text;return typeof X=="string"?{type:"textord",mode:Y.mode,text:X}:Y}),M=rr(D,t.withFont("mathrm"),!0),N=0;N=0?D.setAttribute("height",ae(c)):(D.setAttribute("height",ae(c)),D.setAttribute("depth",ae(-c))),D.setAttribute("voffset",ae(c)),D}});function s0(m,r,t){for(var i=rr(m,r,!1),l=r.sizeMultiplier/t.sizeMultiplier,c=0;ci.height+i.depth+A&&(A=(A+X-i.height-i.depth)/2);var K=N.height-i.height-A-U;i.style.paddingLeft=ae(Y);var ie=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:-(i.height+K)},{type:"elem",elem:N},{type:"kern",size:U}]},t);if(r.index){var le=t.havingStyle(ue.SCRIPTSCRIPT),fe=Fe(r.index,le,t),de=.6*(ie.height-ie.depth),ge=$.makeVList({positionType:"shift",positionData:-de,children:[{type:"elem",elem:fe}]},t),ze=$.makeSpan(["root"],[ge]);return $.makeSpan(["mord","sqrt"],[ze,ie],t)}else return $.makeSpan(["mord","sqrt"],[ie],t)},mathmlBuilder:function(r,t){var i=r.body,l=r.index;return l?new te.MathNode("mroot",[Pe(i,t),Pe(l,t)]):new te.MathNode("msqrt",[Pe(i,t)])}});var In={display:ue.DISPLAY,text:ue.TEXT,script:ue.SCRIPT,scriptscript:ue.SCRIPTSCRIPT};oe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r,t){var i=r.breakOnTokenText,l=r.funcName,c=r.parser,v=c.parseExpression(!0,i),A=l.slice(1,l.length-5);return{type:"styling",mode:c.mode,style:A,body:v}},htmlBuilder:function(r,t){var i=In[r.style],l=t.havingStyle(i).withFont("");return s0(r.body,l,t)},mathmlBuilder:function(r,t){var i=In[r.style],l=t.havingStyle(i),c=xr(r.body,l),v=new te.MathNode("mstyle",c),A={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},D=A[r.style];return v.setAttribute("scriptlevel",D[0]),v.setAttribute("displaystyle",D[1]),v}});var Rt=function(r,t){var i=r.base;if(i)if(i.type==="op"){var l=i.limits&&(t.style.size===ue.DISPLAY.size||i.alwaysHandleSupSub);return l?Dt:null}else if(i.type==="operatorname"){var c=i.alwaysHandleSupSub&&(t.style.size===ue.DISPLAY.size||i.limits);return c?qn:null}else{if(i.type==="accent")return Z.isCharacterBox(i.base)?yn:null;if(i.type==="horizBrace"){var v=!r.sub;return v===i.isOver?Ct:null}else return null}else return null};St({type:"supsub",htmlBuilder:function(r,t){var i=Rt(r,t);if(i)return i(r,t);var l=r.base,c=r.sup,v=r.sub,A=Fe(l,t),D,M,N=t.fontMetrics(),U=0,Y=0,X=l&&Z.isCharacterBox(l);if(c){var K=t.havingStyle(t.style.sup());D=Fe(c,K,t),X||(U=A.height-K.fontMetrics().supDrop*K.sizeMultiplier/t.sizeMultiplier)}if(v){var ie=t.havingStyle(t.style.sub());M=Fe(v,ie,t),X||(Y=A.depth+ie.fontMetrics().subDrop*ie.sizeMultiplier/t.sizeMultiplier)}var le;t.style===ue.DISPLAY?le=N.sup1:t.style.cramped?le=N.sup3:le=N.sup2;var fe=t.sizeMultiplier,de=ae(.5/N.ptPerEm/fe),ge=null;if(M){var ze=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(A instanceof Tr||ze)&&(ge=ae(-A.italic))}var Ce;if(D&&M){U=Math.max(U,le,D.depth+.25*N.xHeight),Y=Math.max(Y,N.sub2);var Re=N.defaultRuleThickness,Ne=4*Re;if(U-D.depth-(M.height-Y)0&&(U+=Ie,Y-=Ie)}var He=[{type:"elem",elem:M,shift:Y,marginRight:de,marginLeft:ge},{type:"elem",elem:D,shift:-U,marginRight:de}];Ce=$.makeVList({positionType:"individualShift",children:He},t)}else if(M){Y=Math.max(Y,N.sub1,M.height-.8*N.xHeight);var Qe=[{type:"elem",elem:M,marginLeft:ge,marginRight:de}];Ce=$.makeVList({positionType:"shift",positionData:Y,children:Qe},t)}else if(D)U=Math.max(U,le,D.depth+.25*N.xHeight),Ce=$.makeVList({positionType:"shift",positionData:-U,children:[{type:"elem",elem:D,marginRight:de}]},t);else throw new Error("supsub must have either sup or sub.");var Sr=r0(A,"right")||"mord";return $.makeSpan([Sr],[A,$.makeSpan(["msupsub"],[Ce])],t)},mathmlBuilder:function(r,t){var i=!1,l,c;r.base&&r.base.type==="horizBrace"&&(c=!!r.sup,c===r.base.isOver&&(i=!0,l=r.base.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var v=[Pe(r.base,t)];r.sub&&v.push(Pe(r.sub,t)),r.sup&&v.push(Pe(r.sup,t));var A;if(i)A=l?"mover":"munder";else if(r.sub)if(r.sup){var N=r.base;N&&N.type==="op"&&N.limits&&t.style===ue.DISPLAY||N&&N.type==="operatorname"&&N.alwaysHandleSupSub&&(t.style===ue.DISPLAY||N.limits)?A="munderover":A="msubsup"}else{var M=r.base;M&&M.type==="op"&&M.limits&&(t.style===ue.DISPLAY||M.alwaysHandleSupSub)||M&&M.type==="operatorname"&&M.alwaysHandleSupSub&&(M.limits||t.style===ue.DISPLAY)?A="munder":A="msub"}else{var D=r.base;D&&D.type==="op"&&D.limits&&(t.style===ue.DISPLAY||D.alwaysHandleSupSub)||D&&D.type==="operatorname"&&D.alwaysHandleSupSub&&(D.limits||t.style===ue.DISPLAY)?A="mover":A="msup"}return new te.MathNode(A,v)}}),St({type:"atom",htmlBuilder:function(r,t){return $.mathsym(r.text,r.mode,t,["m"+r.family])},mathmlBuilder:function(r,t){var i=new te.MathNode("mo",[kr(r.text,r.mode)]);if(r.family==="bin"){var l=mn(r,t);l==="bold-italic"&&i.setAttribute("mathvariant",l)}else r.family==="punct"?i.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&i.setAttribute("stretchy","false");return i}});var X0={mi:"italic",mn:"normal",mtext:"normal"};St({type:"mathord",htmlBuilder:function(r,t){return $.makeOrd(r,t,"mathord")},mathmlBuilder:function(r,t){var i=new te.MathNode("mi",[kr(r.text,r.mode,t)]),l=mn(r,t)||"italic";return l!==X0[i.type]&&i.setAttribute("mathvariant",l),i}}),St({type:"textord",htmlBuilder:function(r,t){return $.makeOrd(r,t,"textord")},mathmlBuilder:function(r,t){var i=kr(r.text,r.mode,t),l=mn(r,t)||"normal",c;return r.mode==="text"?c=new te.MathNode("mtext",[i]):/[0-9]/.test(r.text)?c=new te.MathNode("mn",[i]):r.text==="\\prime"?c=new te.MathNode("mo",[i]):c=new te.MathNode("mi",[i]),l!==X0[c.type]&&c.setAttribute("mathvariant",l),c}});var Je={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},It={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};St({type:"spacing",htmlBuilder:function(r,t){if(It.hasOwnProperty(r.text)){var i=It[r.text].className||"";if(r.mode==="text"){var l=$.makeOrd(r,t,"textord");return l.classes.push(i),l}else return $.makeSpan(["mspace",i],[$.mathsym(r.text,r.mode,t)],t)}else{if(Je.hasOwnProperty(r.text))return $.makeSpan(["mspace",Je[r.text]],[],t);throw new b('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,t){var i;if(It.hasOwnProperty(r.text))i=new te.MathNode("mtext",[new te.TextNode(" ")]);else{if(Je.hasOwnProperty(r.text))return new te.MathNode("mspace");throw new b('Unknown type of space "'+r.text+'"')}return i}});var W0=function(){var r=new te.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};St({type:"tag",mathmlBuilder:function(r,t){var i=new te.MathNode("mtable",[new te.MathNode("mtr",[W0(),new te.MathNode("mtd",[lt(r.body,t)]),W0(),new te.MathNode("mtd",[lt(r.tag,t)])])]);return i.setAttribute("width","100%"),i}});var ra={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ta={"\\textbf":"textbf","\\textmd":"textmd"},Iu={"\\textit":"textit","\\textup":"textup"},na=function(r,t){var i=r.font;return i?ra[i]?t.withTextFontFamily(ra[i]):ta[i]?t.withTextFontWeight(ta[i]):t.withTextFontShape(Iu[i]):t};oe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"text",mode:i.mode,body:er(c),font:l}},htmlBuilder:function(r,t){var i=na(r,t),l=rr(r.body,i,!0);return $.makeSpan(["mord","text"],l,i)},mathmlBuilder:function(r,t){var i=na(r,t);return lt(r.body,i)}}),oe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser;return{type:"underline",mode:i.mode,body:t[0]}},htmlBuilder:function(r,t){var i=Fe(r.body,t),l=$.makeLineSpan("underline-line",t),c=t.fontMetrics().defaultRuleThickness,v=$.makeVList({positionType:"top",positionData:i.height,children:[{type:"kern",size:c},{type:"elem",elem:l},{type:"kern",size:3*c},{type:"elem",elem:i}]},t);return $.makeSpan(["mord","underline"],[v],t)},mathmlBuilder:function(r,t){var i=new te.MathNode("mo",[new te.TextNode("‾")]);i.setAttribute("stretchy","true");var l=new te.MathNode("munder",[Pe(r.body,t),i]);return l.setAttribute("accentunder","true"),l}}),oe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(r,t){var i=r.parser;return{type:"vcenter",mode:i.mode,body:t[0]}},htmlBuilder:function(r,t){var i=Fe(r.body,t),l=t.fontMetrics().axisHeight,c=.5*(i.height-l-(i.depth+l));return $.makeVList({positionType:"shift",positionData:c,children:[{type:"elem",elem:i}]},t)},mathmlBuilder:function(r,t){return new te.MathNode("mpadded",[Pe(r.body,t)],["vcenter"])}}),oe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(r,t,i){throw new b("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,t){for(var i=ia(r),l=[],c=t.havingStyle(t.style.text()),v=0;v0;)this.endGroup()},r.has=function(i){return this.current.hasOwnProperty(i)||this.builtins.hasOwnProperty(i)},r.get=function(i){return this.current.hasOwnProperty(i)?this.current[i]:this.builtins[i]},r.set=function(i,l,c){if(c===void 0&&(c=!1),c){for(var v=0;v0&&(this.undefStack[this.undefStack.length-1][i]=l)}else{var A=this.undefStack[this.undefStack.length-1];A&&!A.hasOwnProperty(i)&&(A[i]=this.current[i])}l==null?delete this.current[i]:this.current[i]=l},m}(),oa=Mn,sa=oa;E("\\noexpand",function(m){var r=m.popToken();return m.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}}),E("\\expandafter",function(m){var r=m.popToken();return m.expandOnce(!0),{tokens:[r],numArgs:0}}),E("\\@firstoftwo",function(m){var r=m.consumeArgs(2);return{tokens:r[0],numArgs:0}}),E("\\@secondoftwo",function(m){var r=m.consumeArgs(2);return{tokens:r[1],numArgs:0}}),E("\\@ifnextchar",function(m){var r=m.consumeArgs(3);m.consumeSpaces();var t=m.future();return r[0].length===1&&r[0][0].text===t.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),E("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),E("\\TextOrMath",function(m){var r=m.consumeArgs(2);return m.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var On={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};E("\\char",function(m){var r=m.popToken(),t,i="";if(r.text==="'")t=8,r=m.popToken();else if(r.text==='"')t=16,r=m.popToken();else if(r.text==="`")if(r=m.popToken(),r.text[0]==="\\")i=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new b("\\char` missing argument");i=r.text.charCodeAt(0)}else t=10;if(t){if(i=On[r.text],i==null||i>=t)throw new b("Invalid base-"+t+" digit "+r.text);for(var l;(l=On[m.future().text])!=null&&l":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};E("\\dots",function(m){var r="\\dotso",t=m.expandAfterFuture().text;return t in ca?r=ca[t]:(t.slice(0,4)==="\\not"||t in $e.math&&Z.contains(["bin","rel"],$e.math[t].group))&&(r="\\dotsb"),r});var Et={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};E("\\dotso",function(m){var r=m.future().text;return r in Et?"\\ldots\\,":"\\ldots"}),E("\\dotsc",function(m){var r=m.future().text;return r in Et&&r!==","?"\\ldots\\,":"\\ldots"}),E("\\cdots",function(m){var r=m.future().text;return r in Et?"\\@cdots\\,":"\\@cdots"}),E("\\dotsb","\\cdots"),E("\\dotsm","\\cdots"),E("\\dotsi","\\!\\cdots"),E("\\dotsx","\\ldots\\,"),E("\\DOTSI","\\relax"),E("\\DOTSB","\\relax"),E("\\DOTSX","\\relax"),E("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),E("\\,","\\tmspace+{3mu}{.1667em}"),E("\\thinspace","\\,"),E("\\>","\\mskip{4mu}"),E("\\:","\\tmspace+{4mu}{.2222em}"),E("\\medspace","\\:"),E("\\;","\\tmspace+{5mu}{.2777em}"),E("\\thickspace","\\;"),E("\\!","\\tmspace-{3mu}{.1667em}"),E("\\negthinspace","\\!"),E("\\negmedspace","\\tmspace-{4mu}{.2222em}"),E("\\negthickspace","\\tmspace-{5mu}{.277em}"),E("\\enspace","\\kern.5em "),E("\\enskip","\\hskip.5em\\relax"),E("\\quad","\\hskip1em\\relax"),E("\\qquad","\\hskip2em\\relax"),E("\\tag","\\@ifstar\\tag@literal\\tag@paren"),E("\\tag@paren","\\tag@literal{({#1})}"),E("\\tag@literal",function(m){if(m.macros.get("\\df@tag"))throw new b("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),E("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),E("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),E("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),E("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),E("\\newline","\\\\\\relax"),E("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var ha=ae(yr["Main-Regular"]["T".charCodeAt(0)][1]-.7*yr["Main-Regular"]["A".charCodeAt(0)][1]);E("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+ha+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),E("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+ha+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),E("\\hspace","\\@ifstar\\@hspacer\\@hspace"),E("\\@hspace","\\hskip #1\\relax"),E("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),E("\\ordinarycolon",":"),E("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),E("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),E("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),E("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),E("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),E("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),E("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),E("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),E("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),E("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),E("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),E("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),E("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),E("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),E("∷","\\dblcolon"),E("∹","\\eqcolon"),E("≔","\\coloneqq"),E("≕","\\eqqcolon"),E("⩴","\\Coloneqq"),E("\\ratio","\\vcentcolon"),E("\\coloncolon","\\dblcolon"),E("\\colonequals","\\coloneqq"),E("\\coloncolonequals","\\Coloneqq"),E("\\equalscolon","\\eqqcolon"),E("\\equalscoloncolon","\\Eqqcolon"),E("\\colonminus","\\coloneq"),E("\\coloncolonminus","\\Coloneq"),E("\\minuscolon","\\eqcolon"),E("\\minuscoloncolon","\\Eqcolon"),E("\\coloncolonapprox","\\Colonapprox"),E("\\coloncolonsim","\\Colonsim"),E("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),E("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),E("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),E("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),E("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),E("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),E("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),E("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),E("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),E("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),E("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),E("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),E("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),E("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),E("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),E("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),E("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),E("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),E("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),E("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),E("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),E("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),E("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),E("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),E("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),E("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),E("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),E("\\imath","\\html@mathml{\\@imath}{ı}"),E("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),E("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),E("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),E("⟦","\\llbracket"),E("⟧","\\rrbracket"),E("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),E("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),E("⦃","\\lBrace"),E("⦄","\\rBrace"),E("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),E("⦵","\\minuso"),E("\\darr","\\downarrow"),E("\\dArr","\\Downarrow"),E("\\Darr","\\Downarrow"),E("\\lang","\\langle"),E("\\rang","\\rangle"),E("\\uarr","\\uparrow"),E("\\uArr","\\Uparrow"),E("\\Uarr","\\Uparrow"),E("\\N","\\mathbb{N}"),E("\\R","\\mathbb{R}"),E("\\Z","\\mathbb{Z}"),E("\\alef","\\aleph"),E("\\alefsym","\\aleph"),E("\\Alpha","\\mathrm{A}"),E("\\Beta","\\mathrm{B}"),E("\\bull","\\bullet"),E("\\Chi","\\mathrm{X}"),E("\\clubs","\\clubsuit"),E("\\cnums","\\mathbb{C}"),E("\\Complex","\\mathbb{C}"),E("\\Dagger","\\ddagger"),E("\\diamonds","\\diamondsuit"),E("\\empty","\\emptyset"),E("\\Epsilon","\\mathrm{E}"),E("\\Eta","\\mathrm{H}"),E("\\exist","\\exists"),E("\\harr","\\leftrightarrow"),E("\\hArr","\\Leftrightarrow"),E("\\Harr","\\Leftrightarrow"),E("\\hearts","\\heartsuit"),E("\\image","\\Im"),E("\\infin","\\infty"),E("\\Iota","\\mathrm{I}"),E("\\isin","\\in"),E("\\Kappa","\\mathrm{K}"),E("\\larr","\\leftarrow"),E("\\lArr","\\Leftarrow"),E("\\Larr","\\Leftarrow"),E("\\lrarr","\\leftrightarrow"),E("\\lrArr","\\Leftrightarrow"),E("\\Lrarr","\\Leftrightarrow"),E("\\Mu","\\mathrm{M}"),E("\\natnums","\\mathbb{N}"),E("\\Nu","\\mathrm{N}"),E("\\Omicron","\\mathrm{O}"),E("\\plusmn","\\pm"),E("\\rarr","\\rightarrow"),E("\\rArr","\\Rightarrow"),E("\\Rarr","\\Rightarrow"),E("\\real","\\Re"),E("\\reals","\\mathbb{R}"),E("\\Reals","\\mathbb{R}"),E("\\Rho","\\mathrm{P}"),E("\\sdot","\\cdot"),E("\\sect","\\S"),E("\\spades","\\spadesuit"),E("\\sub","\\subset"),E("\\sube","\\subseteq"),E("\\supe","\\supseteq"),E("\\Tau","\\mathrm{T}"),E("\\thetasym","\\vartheta"),E("\\weierp","\\wp"),E("\\Zeta","\\mathrm{Z}"),E("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),E("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),E("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),E("\\bra","\\mathinner{\\langle{#1}|}"),E("\\ket","\\mathinner{|{#1}\\rangle}"),E("\\braket","\\mathinner{\\langle{#1}\\rangle}"),E("\\Bra","\\left\\langle#1\\right|"),E("\\Ket","\\left|#1\\right\\rangle");var fa=function(r){return function(t){var i=t.consumeArg().tokens,l=t.consumeArg().tokens,c=t.consumeArg().tokens,v=t.consumeArg().tokens,A=t.macros.get("|"),D=t.macros.get("\\|");t.macros.beginGroup();var M=function(X){return function(K){r&&(K.macros.set("|",A),c.length&&K.macros.set("\\|",D));var ie=X;if(!X&&c.length){var le=K.future();le.text==="|"&&(K.popToken(),ie=!0)}return{tokens:ie?c:l,numArgs:0}}};t.macros.set("|",M(!1)),c.length&&t.macros.set("\\|",M(!0));var N=t.consumeArg().tokens,U=t.expandTokens([].concat(v,N,i));return t.macros.endGroup(),{tokens:U.reverse(),numArgs:0}}};E("\\bra@ket",fa(!1)),E("\\bra@set",fa(!0)),E("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),E("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),E("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),E("\\angln","{\\angl n}"),E("\\blue","\\textcolor{##6495ed}{#1}"),E("\\orange","\\textcolor{##ffa500}{#1}"),E("\\pink","\\textcolor{##ff00af}{#1}"),E("\\red","\\textcolor{##df0030}{#1}"),E("\\green","\\textcolor{##28ae7b}{#1}"),E("\\gray","\\textcolor{gray}{#1}"),E("\\purple","\\textcolor{##9d38bd}{#1}"),E("\\blueA","\\textcolor{##ccfaff}{#1}"),E("\\blueB","\\textcolor{##80f6ff}{#1}"),E("\\blueC","\\textcolor{##63d9ea}{#1}"),E("\\blueD","\\textcolor{##11accd}{#1}"),E("\\blueE","\\textcolor{##0c7f99}{#1}"),E("\\tealA","\\textcolor{##94fff5}{#1}"),E("\\tealB","\\textcolor{##26edd5}{#1}"),E("\\tealC","\\textcolor{##01d1c1}{#1}"),E("\\tealD","\\textcolor{##01a995}{#1}"),E("\\tealE","\\textcolor{##208170}{#1}"),E("\\greenA","\\textcolor{##b6ffb0}{#1}"),E("\\greenB","\\textcolor{##8af281}{#1}"),E("\\greenC","\\textcolor{##74cf70}{#1}"),E("\\greenD","\\textcolor{##1fab54}{#1}"),E("\\greenE","\\textcolor{##0d923f}{#1}"),E("\\goldA","\\textcolor{##ffd0a9}{#1}"),E("\\goldB","\\textcolor{##ffbb71}{#1}"),E("\\goldC","\\textcolor{##ff9c39}{#1}"),E("\\goldD","\\textcolor{##e07d10}{#1}"),E("\\goldE","\\textcolor{##a75a05}{#1}"),E("\\redA","\\textcolor{##fca9a9}{#1}"),E("\\redB","\\textcolor{##ff8482}{#1}"),E("\\redC","\\textcolor{##f9685d}{#1}"),E("\\redD","\\textcolor{##e84d39}{#1}"),E("\\redE","\\textcolor{##bc2612}{#1}"),E("\\maroonA","\\textcolor{##ffbde0}{#1}"),E("\\maroonB","\\textcolor{##ff92c6}{#1}"),E("\\maroonC","\\textcolor{##ed5fa6}{#1}"),E("\\maroonD","\\textcolor{##ca337c}{#1}"),E("\\maroonE","\\textcolor{##9e034e}{#1}"),E("\\purpleA","\\textcolor{##ddd7ff}{#1}"),E("\\purpleB","\\textcolor{##c6b9fc}{#1}"),E("\\purpleC","\\textcolor{##aa87ff}{#1}"),E("\\purpleD","\\textcolor{##7854ab}{#1}"),E("\\purpleE","\\textcolor{##543b78}{#1}"),E("\\mintA","\\textcolor{##f5f9e8}{#1}"),E("\\mintB","\\textcolor{##edf2df}{#1}"),E("\\mintC","\\textcolor{##e0e5cc}{#1}"),E("\\grayA","\\textcolor{##f6f7f7}{#1}"),E("\\grayB","\\textcolor{##f0f1f2}{#1}"),E("\\grayC","\\textcolor{##e3e5e6}{#1}"),E("\\grayD","\\textcolor{##d6d8da}{#1}"),E("\\grayE","\\textcolor{##babec2}{#1}"),E("\\grayF","\\textcolor{##888d93}{#1}"),E("\\grayG","\\textcolor{##626569}{#1}"),E("\\grayH","\\textcolor{##3b3e40}{#1}"),E("\\grayI","\\textcolor{##21242c}{#1}"),E("\\kaBlue","\\textcolor{##314453}{#1}"),E("\\kaGreen","\\textcolor{##71B307}{#1}");var pa={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Vu=function(){function m(t,i,l){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=i,this.expansionCount=0,this.feed(t),this.macros=new $u(sa,i.macros),this.mode=l,this.stack=[]}var r=m.prototype;return r.feed=function(i){this.lexer=new la(i,this.settings)},r.switchMode=function(i){this.mode=i},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.endGroups=function(){this.macros.endGroups()},r.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(i){this.stack.push(i)},r.pushTokens=function(i){var l;(l=this.stack).push.apply(l,i)},r.scanArgument=function(i){var l,c,v;if(i){if(this.consumeSpaces(),this.future().text!=="[")return null;l=this.popToken();var A=this.consumeArg(["]"]);v=A.tokens,c=A.end}else{var D=this.consumeArg();v=D.tokens,l=D.start,c=D.end}return this.pushToken(new ot("EOF",c.loc)),this.pushTokens(v),l.range(c,"")},r.consumeSpaces=function(){for(;;){var i=this.future();if(i.text===" ")this.stack.pop();else break}},r.consumeArg=function(i){var l=[],c=i&&i.length>0;c||this.consumeSpaces();var v=this.future(),A,D=0,M=0;do{if(A=this.popToken(),l.push(A),A.text==="{")++D;else if(A.text==="}"){if(--D,D===-1)throw new b("Extra }",A)}else if(A.text==="EOF")throw new b("Unexpected end of input in a macro argument, expected '"+(i&&c?i[M]:"}")+"'",A);if(i&&c)if((D===0||D===1&&i[M]==="{")&&A.text===i[M]){if(++M,M===i.length){l.splice(-M,M);break}}else M=0}while(D!==0||c);return v.text==="{"&&l[l.length-1].text==="}"&&(l.pop(),l.shift()),l.reverse(),{tokens:l,start:v,end:A}},r.consumeArgs=function(i,l){if(l){if(l.length!==i+1)throw new b("The length of delimiters doesn't match the number of args!");for(var c=l[0],v=0;vthis.settings.maxExpand)throw new b("Too many expansions: infinite loop or need to increase maxExpand setting");var A=v.tokens,D=this.consumeArgs(v.numArgs,v.delimiters);if(v.numArgs){A=A.slice();for(var M=A.length-1;M>=0;--M){var N=A[M];if(N.text==="#"){if(M===0)throw new b("Incomplete placeholder at end of macro body",N);if(N=A[--M],N.text==="#")A.splice(M+1,1);else if(/^[1-9]$/.test(N.text)){var U;(U=A).splice.apply(U,[M,2].concat(D[+N.text-1]))}else throw new b("Not a valid argument number",N)}}}return this.pushTokens(A),A.length},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;)if(this.expandOnce()===!1){var i=this.stack.pop();return i.treatAsRelax&&(i.text="\\relax"),i}throw new Error},r.expandMacro=function(i){return this.macros.has(i)?this.expandTokens([new ot(i)]):void 0},r.expandTokens=function(i){var l=[],c=this.stack.length;for(this.pushTokens(i);this.stack.length>c;)if(this.expandOnce(!0)===!1){var v=this.stack.pop();v.treatAsRelax&&(v.noexpand=!1,v.treatAsRelax=!1),l.push(v)}return l},r.expandMacroAsText=function(i){var l=this.expandMacro(i);return l&&l.map(function(c){return c.text}).join("")},r._getExpansion=function(i){var l=this.macros.get(i);if(l==null)return l;if(i.length===1){var c=this.lexer.catcodes[i];if(c!=null&&c!==13)return}var v=typeof l=="function"?l(this):l;if(typeof v=="string"){var A=0;if(v.indexOf("#")!==-1)for(var D=v.replace(/##/g,"");D.indexOf("#"+(A+1))!==-1;)++A;for(var M=new la(v,this.settings),N=[],U=M.lex();U.text!=="EOF";)N.push(U),U=M.lex();N.reverse();var Y={tokens:N,numArgs:A};return Y}return v},r.isDefined=function(i){return this.macros.has(i)||ht.hasOwnProperty(i)||$e.math.hasOwnProperty(i)||$e.text.hasOwnProperty(i)||pa.hasOwnProperty(i)},r.isExpandable=function(i){var l=this.macros.get(i);return l!=null?typeof l=="string"||typeof l=="function"||!l.unexpandable:ht.hasOwnProperty(i)&&!ht[i].primitive},m}(),Z0=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,J0=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Ln={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},da={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},ma=function(){function m(t,i){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Vu(t,i,this.mode),this.settings=i,this.leftrightDepth=0}var r=m.prototype;return r.expect=function(i,l){if(l===void 0&&(l=!0),this.fetch().text!==i)throw new b("Expected '"+i+"', got '"+this.fetch().text+"'",this.fetch());l&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(i){this.mode=i,this.gullet.switchMode(i)},r.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var i=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),i}finally{this.gullet.endGroups()}},r.subparse=function(i){var l=this.nextToken;this.consume(),this.gullet.pushToken(new ot("}")),this.gullet.pushTokens(i);var c=this.parseExpression(!1);return this.expect("}"),this.nextToken=l,c},r.parseExpression=function(i,l){for(var c=[];;){this.mode==="math"&&this.consumeSpaces();var v=this.fetch();if(m.endOfExpression.indexOf(v.text)!==-1||l&&v.text===l||i&&ht[v.text]&&ht[v.text].infix)break;var A=this.parseAtom(l);if(A){if(A.type==="internal")continue}else break;c.push(A)}return this.mode==="text"&&this.formLigatures(c),this.handleInfixNodes(c)},r.handleInfixNodes=function(i){for(var l=-1,c,v=0;v=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+l[0]+'" used in math mode',i);var M=$e[this.mode][l].group,N=Ur.range(i),U;if(ru.hasOwnProperty(M)){var Y=M;U={type:"atom",mode:this.mode,family:Y,loc:N,text:l}}else U={type:M,mode:this.mode,loc:N,text:l};D=U}else if(l.charCodeAt(0)>=128)this.settings.strict&&(mr(l.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+l[0]+'" used in math mode',i):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+l[0]+'"'+(" ("+l.charCodeAt(0)+")"),i)),D={type:"textord",mode:"text",loc:Ur.range(i),text:l};else return null;if(this.consume(),A)for(var X=0;Xthis.revoke(u)}revoke(u){const o=this.listeners.indexOf(u);o>=0&&this.listeners.splice(o,1)}revokeAll(){this.listeners.splice(0)}call(...u){for(const o of this.listeners)o(...u)}}function z(){return z=Object.assign||function(e){for(var u=1;u=0)&&(o[h]=e[h]);return o}const q=["textContent"];function V(e){return e.replace(/[&<"]/g,u=>({"&":"&","<":"<",'"':"""})[u])}function W(e){return e.replace(/<(\/script>)/g,"\\x3c$2")}function j(e,u){const o=u?Object.entries(u).map(([f,h])=>{if(!(h==null||h===!1))return f=` ${V(f)}`,h===!0?f:`${f}="${V(h)}"`}).filter(Boolean).join(""):"";return`<${e}${o}>`}function ke(e){return``}function ve(e,u,o){return u==null?j(e,o):j(e,o)+(u||"")+ke(e)}function De(e,u){const o=u.map(f=>typeof f=="function"?f.toString():JSON.stringify(f??null)).join(",");return`(${e.toString()})(${o})`}function Z(e,u){return e.map(o=>{if(o.type==="script"){const f=o.data,{textContent:h}=f,y=I(f,q);return ve("script",h||"",y)}if(o.type==="iife"){const{fn:f,getParams:h}=o.data;return ve("script",W(De(f,(h==null?void 0:h(u))||[])))}return""})}function be(e){return e.map(u=>u.type==="stylesheet"?ve("link",null,z({rel:"stylesheet"},u.data)):ve("style",u.data))}Math.random().toString(36).slice(2,8);function qe(e,{before:u,after:o}){return function(...h){const y={args:h,thisObj:this};try{u&&u(y)}catch{}y.result=e.apply(y.thisObj,y.args);try{o&&o(y)}catch{}return y.result}}function Ve(e){const u={};return function(...f){const h=`${f[0]}`;let y=u[h];return y||(y={value:e(...f)},u[h]=y),y.value}}function Oe(e,u,o){const f=document.createElement(e);return u&&Object.entries(u).forEach(([h,y])=>{f[h]=y}),o&&Object.entries(o).forEach(([h,y])=>{f.setAttribute(h,y)}),f}const ir=Ve(e=>{document.head.append(Oe("link",{rel:"preload",as:"script",href:e}))});async function ar(e,u){if(!e.loaded&&(e.type==="script"&&(e.loaded=new Promise((o,f)=>{var h;document.head.append(Oe("script",z({},e.data,{onload:o,onerror:f}))),(h=e.data)!=null&&h.src||o(void 0)}).then(()=>{e.loaded=!0})),e.type==="iife")){const{fn:o,getParams:f}=e.data;o(...(f==null?void 0:f(u))||[]),e.loaded=!0}await e.loaded}async function ur(e,u){const o=e.filter(f=>{var h;return f.type==="script"&&((h=f.data)==null?void 0:h.src)});o.length>1&&o.forEach(f=>ir(f.data.src)),u=z({getMarkmap:()=>window.markmap},u);for(const f of e)await ar(f,u)}const or=` + + + + + +Markmap + + + + + + + + +`,Br=["https://cdn.jsdelivr.net/npm/d3@6.7.0","https://cdn.jsdelivr.net/npm/markmap-view@0.14.4"].map(e=>({type:"script",data:{src:e}}));function sr(e,u,o){o=C({baseJs:Br},o);const{scripts:f,styles:h}=u,y=[...h?be(h):[]],w={getMarkmap:()=>window.markmap,getOptions:o.getOptions,jsonOptions:o.jsonOptions,root:e},k=[...Z([...o.baseJs,...f||[],{type:"iife",data:{fn:(O,R,H,J)=>{const Q=O();window.mm=Q.Markmap.create("svg#mindmap",(R||Q.deriveOptions)(J),H)},getParams:({getMarkmap:O,getOptions:R,root:H,jsonOptions:J})=>[O,R,H,J]}}],w)];return or.replace("",()=>y.join("")).replace("",()=>k.join(""))}var Rr={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},G=Object.prototype.hasOwnProperty;function P(e,u){return e?G.call(e,u):!1}function ce(e){return P(Rr,e)?Rr[e]:e}var re=Object.prototype.hasOwnProperty;function we(e,u){return e?re.call(e,u):!1}function Se(e){var u=[].slice.call(arguments,1);return u.forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(f){e[f]=o[f]})}}),e}var _e=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Ee(e){return e.indexOf("\\")<0?e:e.replace(_e,"$1")}function ue(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Le(e){if(e>65535){e-=65536;var u=55296+(e>>10),o=56320+(e&1023);return String.fromCharCode(u,o)}return String.fromCharCode(e)}var Mr=/&([a-z#][a-z0-9]{1,31});/gi,Ge=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function mr(e,u){var o=0,f=ce(u);return u!==f?f:u.charCodeAt(0)===35&&Ge.test(u)&&(o=u[1].toLowerCase()==="x"?parseInt(u.slice(2),16):parseInt(u.slice(1),10),ue(o))?Le(o):e}function We(e){return e.indexOf("&")<0?e:e.replace(Mr,mr)}var wr=/[&<>"]/,Ir=/[&<>"]/g,Yt={"&":"&","<":"<",">":">",'"':"""};function Ka(e){return Yt[e]}function vr(e){return wr.test(e)?e.replace(Ir,Ka):e}var pe={};pe.blockquote_open=function(){return`
    +`},pe.blockquote_close=function(e,u){return"
    "+xt(e,u)},pe.code=function(e,u){return e[u].block?"
    "+vr(e[u].content)+"
    "+xt(e,u):""+vr(e[u].content)+""},pe.fence=function(e,u,o,f,h){var y=e[u],w="",k=o.langPrefix,T="",O,R,H;if(y.params){if(O=y.params.split(/\s+/g),R=O.join(" "),we(h.rules.fence_custom,O[0]))return h.rules.fence_custom[O[0]](e,u,o,f,h);T=vr(We(Ee(R))),w=' class="'+k+T+'"'}return o.highlight?H=o.highlight.apply(o.highlight,[y.content].concat(O))||vr(y.content):H=vr(y.content),"
    "+H+"
    "+xt(e,u)},pe.fence_custom={},pe.heading_open=function(e,u){return""},pe.heading_close=function(e,u){return" +`},pe.hr=function(e,u,o){return(o.xhtmlOut?"
    ":"
    ")+xt(e,u)},pe.bullet_list_open=function(){return`
      +`},pe.bullet_list_close=function(e,u){return"
    "+xt(e,u)},pe.list_item_open=function(){return"
  • "},pe.list_item_close=function(){return`
  • +`},pe.ordered_list_open=function(e,u){var o=e[u],f=o.order>1?' start="'+o.order+'"':"";return" +`},pe.ordered_list_close=function(e,u){return""+xt(e,u)},pe.paragraph_open=function(e,u){return e[u].tight?"":"

    "},pe.paragraph_close=function(e,u){var o=!(e[u].tight&&u&&e[u-1].type==="inline"&&!e[u-1].content);return(e[u].tight?"":"

    ")+(o?xt(e,u):"")},pe.link_open=function(e,u,o){var f=e[u].title?' title="'+vr(We(e[u].title))+'"':"",h=o.linkTarget?' target="'+o.linkTarget+'"':"";return'
    "},pe.link_close=function(){return""},pe.image=function(e,u,o){var f=' src="'+vr(e[u].src)+'"',h=e[u].title?' title="'+vr(We(e[u].title))+'"':"",y=' alt="'+(e[u].alt?vr(We(Ee(e[u].alt))):"")+'"',w=o.xhtmlOut?" /":"";return""},pe.table_open=function(){return` +`},pe.table_close=function(){return`
    +`},pe.thead_open=function(){return` +`},pe.thead_close=function(){return` +`},pe.tbody_open=function(){return` +`},pe.tbody_close=function(){return` +`},pe.tr_open=function(){return""},pe.tr_close=function(){return` +`},pe.th_open=function(e,u){var o=e[u];return""},pe.th_close=function(){return""},pe.td_open=function(e,u){var o=e[u];return""},pe.td_close=function(){return""},pe.strong_open=function(){return""},pe.strong_close=function(){return""},pe.em_open=function(){return""},pe.em_close=function(){return""},pe.del_open=function(){return""},pe.del_close=function(){return""},pe.ins_open=function(){return""},pe.ins_close=function(){return""},pe.mark_open=function(){return""},pe.mark_close=function(){return""},pe.sub=function(e,u){return""+vr(e[u].content)+""},pe.sup=function(e,u){return""+vr(e[u].content)+""},pe.hardbreak=function(e,u,o){return o.xhtmlOut?`
    +`:`
    +`},pe.softbreak=function(e,u,o){return o.breaks?o.xhtmlOut?`
    +`:`
    +`:` +`},pe.text=function(e,u){return vr(e[u].content)},pe.htmlblock=function(e,u){return e[u].content},pe.htmltag=function(e,u){return e[u].content},pe.abbr_open=function(e,u){return''},pe.abbr_close=function(){return""},pe.footnote_ref=function(e,u){var o=Number(e[u].id+1).toString(),f="fnref"+o;return e[u].subId>0&&(f+=":"+e[u].subId),'['+o+"]"},pe.footnote_block_open=function(e,u,o){var f=o.xhtmlOut?`
    +`:`
    +`;return f+`
    +
      +`},pe.footnote_block_close=function(){return`
    +
    +`},pe.footnote_open=function(e,u){var o=Number(e[u].id+1).toString();return'
  • '},pe.footnote_close=function(){return`
  • +`},pe.footnote_anchor=function(e,u){var o=Number(e[u].id+1).toString(),f="fnref"+o;return e[u].subId>0&&(f+=":"+e[u].subId),' '},pe.dl_open=function(){return`
    +`},pe.dt_open=function(){return"
    "},pe.dd_open=function(){return"
    "},pe.dl_close=function(){return`
    +`},pe.dt_close=function(){return` +`},pe.dd_close=function(){return` +`};function ti(e,u){return++u>=e.length-2?u:e[u].type==="paragraph_open"&&e[u].tight&&e[u+1].type==="inline"&&e[u+1].content.length===0&&e[u+2].type==="paragraph_close"&&e[u+2].tight?ti(e,u+2):u}var xt=pe.getBreak=function(u,o){return o=ti(u,o),o"u"&&(f.abbreviations[":"+T]=O),w)}function ni(e){var u=e.tokens,o,f,h,y;if(!e.inlineMode){for(o=1,f=u.length-1;o1)||o===41&&(f--,f<0))break;u++}return y===u||(h=Ee(e.src.slice(y,u)),!e.parser.validateLink(h))?!1:(e.linkContent=h,e.pos=u,!0)}function b0(e,u){var o,f=u,h=e.posMax,y=e.src.charCodeAt(u);if(y!==34&&y!==39&&y!==40)return!1;for(u++,y===40&&(y=41);u"u"&&(f.references[J]={title:H,href:R}),w)}function ai(e){var u=e.tokens,o,f,h,y;if(e.env.references=e.env.references||{},!e.inlineMode){for(o=1,f=u.length-1;o0?w[u].count:1,f=0;f=0;u--)if(y=h[u],y.type==="text"){for(T=0,w=y.content,R.lastIndex=0,O=y.level,k=[];H=R.exec(w);)R.lastIndex>T&&k.push({type:"text",content:w.slice(T,H.index+H[1].length),level:O}),k.push({type:"abbr_open",title:e.env.abbreviations[":"+H[2]],level:O++}),k.push({type:"text",content:H[2],level:O}),k.push({type:"abbr_close",level:--O}),T=R.lastIndex-H[3].length;k.length&&(T=0;y--)if(e.tokens[y].type==="inline")for(h=e.tokens[y].children,u=h.length-1;u>=0;u--)o=h[u],o.type==="text"&&(f=o.content,f=it(f),si.test(f)&&(f=f.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/mg,"$1—$2").replace(/(^|\s)--(\s|$)/mg,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg,"$1–$2")),o.content=f)}}var hi=/['"]/,cn=/['"]/g,Wt=/[-\s()\[\]]/,w0="’";function fi(e,u){return u<0||u>=e.length?!1:!Wt.test(e[u])}function _t(e,u,o){return e.substr(0,u)+o+e.substr(u+1)}function Tr(e){var u,o,f,h,y,w,k,T,O,R,H,J,Q,ne,se,xe,Me;if(e.options.typographer){for(Me=[],se=e.tokens.length-1;se>=0;se--)if(e.tokens[se].type==="inline"){for(xe=e.tokens[se].children,Me.length=0,u=0;u=0&&!(Me[Q].level<=k);Q--);Me.length=Q+1,f=o.content,y=0,w=f.length;e:for(;y=0&&(R=Me[Q],!(Me[Q].level=this.eMarks[u]},Jr.prototype.skipEmptyLines=function(u){for(var o=this.lineMax;uf;)if(o!==this.src.charCodeAt(--u))return u+1;return u},Jr.prototype.getLines=function(u,o,f,h){var y,w,k,T,O,R=u;if(u>=o)return"";if(R+1===o)return w=this.bMarks[R]+Math.min(this.tShift[R],f),k=h?this.eMarks[R]+1:this.eMarks[R],this.src.slice(w,k);for(T=new Array(o-u),y=0;Rf&&(O=f),O<0&&(O=0),w=this.bMarks[R]+O,R+1=4){f++,h=f;continue}break}return e.line=f,e.tokens.push({type:"code",content:e.getLines(u,h,4+e.blkIndent,!0),block:!0,lines:[u,e.line],level:e.level}),!0}function eu(e,u,o,f){var h,y,w,k,T,O=!1,R=e.bMarks[u]+e.tShift[u],H=e.eMarks[u];if(R+3>H||(h=e.src.charCodeAt(R),h!==126&&h!==96)||(T=R,R=e.skipChars(R,h),y=R-T,y<3)||(w=e.src.slice(R,H).trim(),w.indexOf("`")>=0))return!1;if(f)return!0;for(k=u;k++,!(k>=o||(R=T=e.bMarks[k]+e.tShift[k],H=e.eMarks[k],R=4)&&(R=e.skipChars(R,h),!(R-Txe||e.src.charCodeAt(se++)!==62||e.level>=e.options.maxNesting)return!1;if(f)return!0;for(e.src.charCodeAt(se)===32&&se++,T=e.blkIndent,e.blkIndent=0,k=[e.bMarks[u]],e.bMarks[u]=se,se=se=xe,w=[e.tShift[u]],e.tShift[u]=se-e.bMarks[u],H=e.parser.ruler.getRules("blockquote"),h=u+1;h=xe));h++){if(e.src.charCodeAt(se++)===62){e.src.charCodeAt(se)===32&&se++,k.push(e.bMarks[h]),e.bMarks[h]=se,se=se=xe,w.push(e.tShift[h]),e.tShift[h]=se-e.bMarks[h];continue}if(y)break;for(ne=!1,J=0,Q=H.length;JT||(h=e.src.charCodeAt(k++),h!==42&&h!==45&&h!==95))return!1;for(y=1;k=h||(o=e.src.charCodeAt(f++),o!==42&&o!==45&&o!==43)||f=h||(o=e.src.charCodeAt(f++),o<48||o>57))return-1;for(;;){if(f>=h)return-1;if(o=e.src.charCodeAt(f++),!(o>=48&&o<=57)){if(o===41||o===46)break;return-1}}return f=0)xe=!0;else if((H=Kt(e,u))>=0)xe=!1;else return!1;if(e.level>=e.options.maxNesting)return!1;if(se=e.src.charCodeAt(H-1),f)return!0;for(Te=e.tokens.length,xe?(R=e.bMarks[u]+e.tShift[u],ne=Number(e.src.substr(R,H-R-1)),e.tokens.push({type:"ordered_list_open",order:ne,lines:tt=[u,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:tt=[u,0],level:e.level++}),h=u,br=!1,Zu=e.parser.ruler.getRules("list");h=J?Q=1:Q=Me-H,Q>4&&(Q=1),Q<1&&(Q=1),y=H-e.bMarks[h]+Q,e.tokens.push({type:"list_item_open",lines:ka=[u,0],level:e.level++}),k=e.blkIndent,T=e.tight,w=e.tShift[u],O=e.parentType,e.tShift[u]=Me-e.bMarks[u],e.blkIndent=y,e.tight=!0,e.parentType="list",e.parser.tokenize(e,u,o,!0),(!e.tight||br)&&(Il=!1),br=e.line-u>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[u]=w,e.tight=T,e.parentType=O,e.tokens.push({type:"list_item_close",level:--e.level}),h=u=e.line,ka[1]=h,Me=e.bMarks[u],!(h>=o||e.isEmpty(h)||e.tShift[h]R||e.src.charCodeAt(O)!==91||e.src.charCodeAt(O+1)!==94||e.level>=e.options.maxNesting)return!1;for(k=O+2;k=R||e.src.charCodeAt(++k)!==58?!1:(f||(k++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),T=e.src.slice(O+2,k-2),e.env.footnotes.refs[":"+T]=-1,e.tokens.push({type:"footnote_reference_open",label:T,level:e.level++}),h=e.bMarks[u],y=e.tShift[u],w=e.parentType,e.tShift[u]=e.skipSpaces(k)-k,e.bMarks[u]=k,e.blkIndent+=4,e.parentType="footnote",e.tShift[u]=T||(h=e.src.charCodeAt(k),h!==35||k>=T))return!1;for(y=1,h=e.src.charCodeAt(++k);h===35&&k6||kk&&e.src.charCodeAt(w-1)===32&&(T=w),e.line=u+1,e.tokens.push({type:"heading_open",hLevel:y,lines:[u,e.line],level:e.level}),k=o||e.tShift[w]3||(h=e.bMarks[w]+e.tShift[w],y=e.eMarks[w],h>=y)||(f=e.src.charCodeAt(h),f!==45&&f!==61)||(h=e.skipChars(h,f),h=e.skipSpaces(h),h]/,cr=/^<\/([a-zA-Z]{1,15})[\s>]/;function zt(e){var u=e|32;return u>=97&&u<=122}function ye(e,u,o,f){var h,y,w,k=e.bMarks[u],T=e.eMarks[u],O=e.tShift[u];if(k+=O,!e.options.html||O>3||k+2>=T||e.src.charCodeAt(k)!==60)return!1;if(h=e.src.charCodeAt(k+1),h===33||h===63){if(f)return!0}else if(h===47||zt(h)){if(h===47){if(y=e.src.slice(k,T).match(cr),!y)return!1}else if(y=e.src.slice(k,T).match(he),!y)return!1;if(Ue[y[1].toLowerCase()]!==!0)return!1;if(f)return!0}else return!1;for(w=u+1;wo||(T=u+1,e.tShift[T]=e.eMarks[T])||(h=e.src.charCodeAt(w),h!==124&&h!==45&&h!==58)||(y=Ke(e,u+1),!/^[-:| ]+$/.test(y))||(O=y.split("|"),O<=2))return!1;for(H=[],k=0;k=y||(f=e.src.charCodeAt(h++),f!==126&&f!==58)||(o=e.skipSpaces(h),h===o)||o>=y?-1:o}function F(e,u){var o,f,h=e.level+2;for(o=u+2,f=e.tokens.length-2;o=0;if(R=u+1,e.isEmpty(R)&&++R>o||e.tShift[R]=e.options.maxNesting)return!1;O=e.tokens.length,e.tokens.push({type:"dl_open",lines:T=[u,0],level:e.level++}),w=u,y=R;e:for(;;){for(Me=!0,xe=!1,e.tokens.push({type:"dt_open",lines:[w,w],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(w,w+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[w,w],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:k=[R,0],level:e.level++}),se=e.tight,J=e.ddIndent,H=e.blkIndent,ne=e.tShift[y],Q=e.parentType,e.blkIndent=e.ddIndent=e.tShift[y]+2,e.tShift[y]=h-e.bMarks[y],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,y,o,!0),(!e.tight||xe)&&(Me=!1),xe=e.line-y>1&&e.isEmpty(e.line-1),e.tShift[y]=ne,e.tight=se,e.parentType=Q,e.blkIndent=H,e.ddIndent=J,e.tokens.push({type:"dd_close",level:--e.level}),k[1]=R=e.line,R>=o||e.tShift[R]=o||(w=R,e.isEmpty(w))||e.tShift[w]=o)||(e.isEmpty(y)&&y++,y>=o)||e.tShift[y]3)){for(h=!1,y=0,w=T.length;y=o||e.tShift[y]=0&&(e=e.replace(hn,function(k,T){var O;return e.charCodeAt(T)===10?(y=T+1,w=0,k):(O=" ".slice((T-y-w)%4),w=T-y+1,O)})),h=new Jr(e,this,u,o,f),this.tokenize(h,h.line,h.lineMax)};function fn(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}function vi(e,u){for(var o=e.pos;o=0&&e.pending.charCodeAt(o)===32)if(o>=1&&e.pending.charCodeAt(o-1)===32){for(var y=o-2;y>=0;y--)if(e.pending.charCodeAt(y)!==32){e.pending=e.pending.substring(0,y+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(h++;h?@[]^_`{|}~-".split("").forEach(function(e){Jt[e.charCodeAt(0)]=1});function Ae(e,u){var o,f=e.pos,h=e.posMax;if(e.src.charCodeAt(f)!==92)return!1;if(f++,f=y||e.src.charCodeAt(w+1)!==126||e.level>=e.options.maxNesting||(k=w>0?e.src.charCodeAt(w-1):-1,T=e.src.charCodeAt(w+2),k===126)||T===126||T===32||T===10)return!1;for(f=w+2;fw+3)return e.pos+=f-w,u||(e.pending+=e.src.slice(w,f)),!0;for(e.pos=w+2,h=1;e.pos+1=y||e.src.charCodeAt(w+1)!==43||e.level>=e.options.maxNesting||(k=w>0?e.src.charCodeAt(w-1):-1,T=e.src.charCodeAt(w+2),k===43)||T===43||T===32||T===10)return!1;for(f=w+2;f=y||e.src.charCodeAt(w+1)!==61||e.level>=e.options.maxNesting||(k=w>0?e.src.charCodeAt(w-1):-1,T=e.src.charCodeAt(w+2),k===61)||T===61||T===32||T===10)return!1;for(f=w+2;f=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function C0(e,u){var o=u,f,h,y,w=!0,k=!0,T=e.posMax,O=e.src.charCodeAt(u);for(f=u>0?e.src.charCodeAt(u-1):-1;o=T&&(w=!1),y=o-u,y>=4?w=k=!1:(h=o=e.options.maxNesting)return!1;for(e.pos=R+o,k=[o];e.pos?@[\]^_`{|}~-])/g;function gi(e,u){var o,f,h=e.posMax,y=e.pos;if(e.src.charCodeAt(y)!==126||u||y+2>=h||e.level>=e.options.maxNesting)return!1;for(e.pos=y+1;e.pos?@[\]^_`{|}~-])/g;function B0(e,u){var o,f,h=e.posMax,y=e.pos;if(e.src.charCodeAt(y)!==94||u||y+2>=h||e.level>=e.options.maxNesting)return!1;for(e.pos=y+1;e.pos=e.options.maxNesting||(o=Q+1,f=yr(e,Q),f<0))return!1;if(k=f+1,k=J)return!1;for(Q=k,x0(e,k)?(y=e.linkContent,k=e.pos):y="",Q=k;k=J||e.src.charCodeAt(k)!==41)return e.pos=H,!1;k++}else{if(e.linkLevel>0)return!1;for(;k=0?h=e.src.slice(Q,k++):k=Q-1),h||(typeof h>"u"&&(k=f+1),h=e.src.slice(o,f)),T=e.env.references[ii(h)],!T)return e.pos=H,!1;y=T.href,w=T.title}return u||(e.pos=o,e.posMax=f,R?e.push({type:"image",src:y,title:w,alt:e.src.substr(o,f-o),level:e.level}):(e.push({type:"link_open",href:y,title:w,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=k,e.posMax=J,!0}function iu(e,u){var o,f,h,y,w=e.posMax,k=e.pos;return k+2>=w||e.src.charCodeAt(k)!==94||e.src.charCodeAt(k+1)!==91||e.level>=e.options.maxNesting||(o=k+2,f=yr(e,k+1),f<0)?!1:(u||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),h=e.env.footnotes.list.length,e.pos=o,e.posMax=f,e.push({type:"footnote_ref",id:h,level:e.level}),e.linkLevel++,y=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[h]={tokens:e.tokens.splice(y)},e.linkLevel--),e.pos=f+1,e.posMax=w,!0)}function au(e,u){var o,f,h,y,w=e.posMax,k=e.pos;if(k+3>w||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(k)!==91||e.src.charCodeAt(k+1)!==94||e.level>=e.options.maxNesting)return!1;for(f=k+2;f=w||(f++,o=e.src.slice(k+2,f-1),typeof e.env.footnotes.refs[":"+o]>"u")?!1:(u||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+o]<0?(h=e.env.footnotes.list.length,e.env.footnotes.list[h]={label:o,count:0},e.env.footnotes.refs[":"+o]=h):h=e.env.footnotes.refs[":"+o],y=e.env.footnotes.list[h].count,e.env.footnotes.list[h].count++,e.push({type:"footnote_ref",id:h,subId:y,level:e.level})),e.pos=f,e.posMax=w,!0)}var uu=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],lu=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,ou=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function pn(e,u){var o,f,h,y,w,k=e.pos;return e.src.charCodeAt(k)!==60||(o=e.src.slice(k),o.indexOf(">")<0)?!1:(f=o.match(ou),f?uu.indexOf(f[1].toLowerCase())<0||(y=f[0].slice(1,-1),w=sn(y),!e.parser.validateLink(y))?!1:(u||(e.push({type:"link_open",href:w,level:e.level}),e.push({type:"text",content:y,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=f[0].length,!0):(h=o.match(lu),h?(y=h[0].slice(1,-1),w=sn("mailto:"+y),e.parser.validateLink(w)?(u||(e.push({type:"link_open",href:w,level:e.level}),e.push({type:"text",content:y,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=h[0].length,!0):!1):!1))}function lr(e,u){return e=e.source,u=u||"",function o(f,h){return f?(h=h.source||h,e=e.replace(f,h),o):new RegExp(e,u)}}var yi=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,su=/[^"'=<>`\x00-\x20]+/,cu=/'[^']*'/,xi=/"[^"]*"/,hu=lr(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",su)("single_quoted",cu)("double_quoted",xi)(),fu=lr(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",yi)("attr_value",hu)(),pu=lr(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",fu)(),du=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,M0=/|/,bi=/<[?].*?[?]>/,wi=/]*>/,mu=//,$=lr(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",pu)("close_tag",du)("comment",M0)("processing",bi)("declaration",wi)("cdata",mu)();function Ye(e){var u=e|32;return u>=97&&u<=122}function At(e,u){var o,f,h,y=e.pos;return!e.options.html||(h=e.posMax,e.src.charCodeAt(y)!==60||y+2>=h)||(o=e.src.charCodeAt(y+1),o!==33&&o!==63&&o!==47&&!Ye(o))||(f=e.src.slice(y).match($),!f)?!1:(u||e.push({type:"htmltag",content:e.src.slice(y,y+f[0].length),level:e.level}),e.pos+=f[0].length,!0)}var et=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,vu=/^&([a-z][a-z0-9]{1,31});/i;function gu(e,u){var o,f,h,y=e.pos,w=e.posMax;if(e.src.charCodeAt(y)!==38)return!1;if(y+10){e.pos=y;return}for(h=0;h=f)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},kt.prototype.parse=function(e,u,o,f){var h=new Or(e,this,u,o,f);this.tokenize(h)};function _0(e){var u=["vbscript","javascript","file","data"],o=e.trim().toLowerCase();return o=We(o),!(o.indexOf(":")!==-1&&u.indexOf(o.split(":")[0])!==-1)}var oe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},St={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},z0={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},er={default:oe,full:St,commonmark:z0};function Yr(e,u,o){this.src=u,this.env=o,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function ut(e,u){typeof e!="string"&&(u=e,e="default"),u&&u.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead: + +import Remarkable from 'remarkable'; +import linkify from 'remarkable/linkify'; +new Remarkable().use(linkify) +`),this.inline=new kt,this.block=new A0,this.core=new Zr,this.renderer=new on,this.ruler=new gr,this.options={},this.configure(er[e]),this.set(u||{})}ut.prototype.set=function(e){Se(this.options,e)},ut.prototype.configure=function(e){var u=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&u.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&u[o].ruler.enable(e.components[o].rules,!0)})},ut.prototype.use=function(e,u){return e(this,u),this},ut.prototype.parse=function(e,u){var o=new Yr(this,e,u);return this.core.process(o),o.tokens},ut.prototype.render=function(e,u){return u=u||{},this.renderer.render(this.parse(e,u),this.options,u)},ut.prototype.parseInline=function(e,u){var o=new Yr(this,e,u);return o.inlineMode=!0,this.core.process(o),o.tokens},ut.prototype.renderInline=function(e,u){return u=u||{},this.renderer.render(this.parseInline(e,u),this.options,u)};var yu=(e,u)=>{const o="\\",f="$",y=(u||{}).delimiter||f;if(y.length!==1)throw new Error("invalid delimiter");const w=b,k=(R,H)=>w.renderToString(R,{displayMode:H,throwOnError:!1}),T=(R,H,J)=>{let Q=!1,ne=R.bMarks[H]+R.tShift[H],se=R.eMarks[H];if(ne+1>se)return!1;const xe=R.src.charAt(ne);if(xe!==y)return!1;let Me=ne;ne=R.skipChars(ne,xe);let Te=ne-Me;if(Te!==2)return!1;let br=H;for(;++br,!(br>=J||(ne=Me=R.bMarks[br]+R.tShift[br],se=R.eMarks[br],ne=4)&&(ne=R.skipChars(ne,xe),!(ne-Me{const J=R.pos,Q=R.posMax;let ne=J;if(R.src.charAt(ne)!==y)return!1;for(++ne;ne2)return!1;const xe=ne;let Me=0;for(;ne1,level:R.level})}return R.pos=tt,!0}}ne+=1}return H||(R.pending+=se),R.pos+=se.length,!0};e.inline.ruler.push("katex",O,u),e.block.ruler.push("katex",T,u),e.renderer.rules.katex=(R,H)=>k(R[H].content,R[H].block),e.renderer.rules.katex.delimiter=y},e0={versions:{katex:"0.16.0",webfontloader:"1.6.28"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.js"}}],scripts:[{type:"iife",data:{fn:e=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{e().refreshHook.call()}}},getParams({getMarkmap:e}){return[e]}}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js",defer:!0}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"}}]};const rr="https://cdn.jsdelivr.net/npm/";function Ai(e,u,o){return e.map(f=>(typeof f=="string"&&(f.startsWith(`${u}/`)?f=`${rr}${u}@${o}${f.slice(u.length)}`:f.startsWith(`${u}@`)&&(f=`${rr}${f}`)),f))}function ki(){return{parser:new B,beforeParse:new B,afterParse:new B,htmltag:new B,retransform:new B}}function Fl(e){return e}let r0;const t0=()=>(r0||(r0=ur(e0.preloadScripts)),r0),Fe="katex";var F0={name:Fe,config:e0,transform(e){const u=(f,h)=>{const{katex:y}=window;return y?y.renderToString(f,{displayMode:h,throwOnError:!1}):(t0().then(()=>{e.retransform.call()}),f)};let o=()=>{};return e.parser.tap(f=>{f.use(yu),f.renderer.rules.katex=(h,y)=>(o(),u(h[y].content,h[y].block))}),e.beforeParse.tap((f,h)=>{o=()=>{h.features[Fe]=!0}}),e.afterParse.tap((f,h)=>{const{frontmatter:y}=h;y!=null&&y.markmap&&["extraJs","extraCss"].forEach(w=>{y.markmap[w]&&(y.markmap[w]=Ai(y.markmap[w],Fe,e0.versions.katex))})}),{styles:e0.styles,scripts:e0.scripts}}},n0={versions:{prismjs:"1.28.0"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/components/prism-core.min.js"}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/plugins/autoloader/prism-autoloader.min.js"}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/themes/prism.css"}}]};let N0;const _r=()=>(N0||(N0=ur(n0.preloadScripts)),N0);function i0(e,u){_r().then(()=>{window.Prism.plugins.autoloader.loadLanguages([e],()=>{u.retransform.call()})})}const Si="prism";var te={name:Si,config:n0,transform(e){let u=()=>{};return e.parser.tap(o=>{o.set({highlight:(f,h)=>{var y;u();const{Prism:w}=window,k=w==null||(y=w.languages)==null?void 0:y[h];return k?w.highlight(f,k,h):(i0(h,e),"")}})}),e.beforeParse.tap((o,f)=>{u=()=>{f.features[Si]=!0}}),{styles:n0.styles}}};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function kr(e){return typeof e>"u"||e===null}function dn(e){return typeof e=="object"&&e!==null}function mn(e){return Array.isArray(e)?e:kr(e)?[]:[e]}function xr(e,u){var o,f,h,y;if(u)for(y=Object.keys(u),o=0,f=y.length;ok&&(y=" ... ",u=f-k+y.length),o-f>k&&(w=" ...",o=f+k-w.length),{str:y+e.slice(u,o).replace(/\t/g,"→")+w,pos:f-u+y.length}}function Hr(e,u){return nr.repeat(" ",u-e.length)+e}function Be(e,u){if(u=Object.create(u||null),!e.buffer)return null;u.maxLength||(u.maxLength=79),typeof u.indent!="number"&&(u.indent=1),typeof u.linesBefore!="number"&&(u.linesBefore=3),typeof u.linesAfter!="number"&&(u.linesAfter=2);for(var o=/\r?\n|\r|\0/g,f=[0],h=[],y,w=-1;y=o.exec(e.buffer);)h.push(y.index),f.push(y.index+y[0].length),e.position<=y.index&&w<0&&(w=f.length-2);w<0&&(w=f.length-1);var k="",T,O,R=Math.min(e.line+u.linesAfter,h.length).toString().length,H=u.maxLength-(u.indent+R+3);for(T=1;T<=u.linesBefore&&!(w-T<0);T++)O=vn(e.buffer,f[w-T],h[w-T],e.position-(f[w]-f[w-T]),H),k=nr.repeat(" ",u.indent)+Hr((e.line-T+1).toString(),R)+" | "+O.str+` +`+k;for(O=vn(e.buffer,f[w],h[w],e.position,H),k+=nr.repeat(" ",u.indent)+Hr((e.line+1).toString(),R)+" | "+O.str+` +`,k+=nr.repeat("-",u.indent+R+3+O.pos)+`^ +`,T=1;T<=u.linesAfter&&!(w+T>=h.length);T++)O=vn(e.buffer,f[w+T],h[w+T],e.position-(f[w]-f[w+T]),H),k+=nr.repeat(" ",u.indent)+Hr((e.line+T+1).toString(),R)+" | "+O.str+` +`;return k.replace(/\n$/,"")}var gn=Be,q0=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],yn=["scalar","sequence","mapping"];function Mi(e){var u={};return e!==null&&Object.keys(e).forEach(function(o){e[o].forEach(function(f){u[String(f)]=o})}),u}function Au(e,u){if(u=u||{},Object.keys(u).forEach(function(o){if(q0.indexOf(o)===-1)throw new fr('Unknown option "'+o+'" is met in definition of "'+e+'" YAML type.')}),this.options=u,this.tag=e,this.kind=u.kind||null,this.resolve=u.resolve||function(){return!0},this.construct=u.construct||function(o){return o},this.instanceOf=u.instanceOf||null,this.predicate=u.predicate||null,this.represent=u.represent||null,this.representName=u.representName||null,this.defaultStyle=u.defaultStyle||null,this.multi=u.multi||!1,this.styleAliases=Mi(u.styleAliases||null),yn.indexOf(this.kind)===-1)throw new fr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var tr=Au;function Ti(e,u){var o=[];return e[u].forEach(function(f){var h=o.length;o.forEach(function(y,w){y.tag===f.tag&&y.kind===f.kind&&y.multi===f.multi&&(h=w)}),o[h]=f}),o}function _i(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},u,o;function f(h){h.multi?(e.multi[h.kind].push(h),e.multi.fallback.push(h)):e[h.kind][h.tag]=e.fallback[h.tag]=h}for(u=0,o=arguments.length;u=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Cn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Dn(e){return!(e===null||!Cn.test(e)||e[e.length-1]==="_")}function O0(e){var u,o;return u=e.replace(/_/g,"").toLowerCase(),o=u[0]==="-"?-1:1,"+-".indexOf(u[0])>=0&&(u=u.slice(1)),u===".inf"?o===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:u===".nan"?NaN:o*parseFloat(u,10)}var Bu=/^[-+]?[0-9]+e/;function Mu(e,u){var o;if(isNaN(e))switch(u){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(u){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(u){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(nr.isNegativeZero(e))return"-0.0";return o=e.toString(10),Bu.test(o)?o.replace("e",".e"):o}function Oi(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||nr.isNegativeZero(e))}var L0=new tr("tag:yaml.org,2002:float",{kind:"scalar",resolve:Dn,construct:O0,predicate:Oi,represent:Mu,defaultStyle:"lowercase"}),P0=Fi.extend({implicit:[wn,kn,I0,L0]}),H0=P0,Li=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),En=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Tu(e){return e===null?!1:Li.exec(e)!==null||En.exec(e)!==null}function Pi(e){var u,o,f,h,y,w,k,T=0,O=null,R,H,J;if(u=Li.exec(e),u===null&&(u=En.exec(e)),u===null)throw new Error("Date resolve error");if(o=+u[1],f=+u[2]-1,h=+u[3],!u[4])return new Date(Date.UTC(o,f,h));if(y=+u[4],w=+u[5],k=+u[6],u[7]){for(T=u[7].slice(0,3);T.length<3;)T+="0";T=+T}return u[9]&&(R=+u[10],H=+(u[11]||0),O=(R*60+H)*6e4,u[9]==="-"&&(O=-O)),J=new Date(Date.UTC(o,f,h,y,w,k,T)),O&&J.setTime(J.getTime()-O),J}function o0(e){return e.toISOString()}var Hi=new tr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Tu,construct:Pi,instanceOf:Date,represent:o0});function _u(e){return e==="<<"||e===null}var Ui=new tr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:_u}),U0=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function zu(e){if(e===null)return!1;var u,o,f=0,h=e.length,y=U0;for(o=0;o64)){if(u<0)return!1;f+=6}return f%8===0}function $i(e){var u,o,f=e.replace(/[\r\n=]/g,""),h=f.length,y=U0,w=0,k=[];for(u=0;u>16&255),k.push(w>>8&255),k.push(w&255)),w=w<<6|y.indexOf(f.charAt(u));return o=h%4*6,o===0?(k.push(w>>16&255),k.push(w>>8&255),k.push(w&255)):o===18?(k.push(w>>10&255),k.push(w>>2&255)):o===12&&k.push(w>>4&255),new Uint8Array(k)}function Vi(e){var u="",o=0,f,h,y=e.length,w=U0;for(f=0;f>18&63],u+=w[o>>12&63],u+=w[o>>6&63],u+=w[o&63]),o=(o<<8)+e[f];return h=y%3,h===0?(u+=w[o>>18&63],u+=w[o>>12&63],u+=w[o>>6&63],u+=w[o&63]):h===2?(u+=w[o>>10&63],u+=w[o>>4&63],u+=w[o<<2&63],u+=w[64]):h===1&&(u+=w[o>>2&63],u+=w[o<<4&63],u+=w[64],u+=w[64]),u}function Fu(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Xr=new tr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:zu,construct:$i,predicate:Fu,represent:Vi}),Gi=Object.prototype.hasOwnProperty,Nu=Object.prototype.toString;function $0(e){if(e===null)return!0;var u=[],o,f,h,y,w,k=e;for(o=0,f=k.length;o>10)+55296,(e-65536&1023)+56320)}for(var Dt=new Array(256),Nt=new Array(256),qt=0;qt<256;qt++)Dt[qt]=Nn(qt)?1:0,Nt[qt]=Nn(qt);function Ru(e,u){this.input=e,this.filename=u.filename||null,this.schema=u.schema||Ft,this.onWarning=u.onWarning||null,this.legacy=u.legacy||!1,this.json=u.json||!1,this.listener=u.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function qn(e,u){var o={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return o.snippet=gn(o),new fr(u,o)}function me(e,u){throw qn(e,u)}function s0(e,u){e.onWarning&&e.onWarning.call(null,qn(e,u))}var Rn={YAML:function(u,o,f){var h,y,w;u.version!==null&&me(u,"duplication of %YAML directive"),f.length!==1&&me(u,"YAML directive accepts exactly one argument"),h=/^([0-9]+)\.([0-9]+)$/.exec(f[0]),h===null&&me(u,"ill-formed argument of the YAML directive"),y=parseInt(h[1],10),w=parseInt(h[2],10),y!==1&&me(u,"unacceptable YAML version of the document"),u.version=f[0],u.checkLineBreaks=w<2,w!==1&&w!==2&&s0(u,"unsupported YAML version of the document")},TAG:function(u,o,f){var h,y;f.length!==2&&me(u,"TAG directive accepts exactly two arguments"),h=f[0],y=f[1],_n.test(h)||me(u,"ill-formed tag handle (first argument) of the TAG directive"),Kr.call(u.tagMap,h)&&me(u,'there is a previously declared suffix for "'+h+'" tag handle'),zn.test(y)||me(u,"ill-formed tag prefix (second argument) of the TAG directive");try{y=decodeURIComponent(y)}catch{me(u,"tag prefix is malformed: "+y)}u.tagMap[h]=y}};function ct(e,u,o,f){var h,y,w,k;if(u1&&(e.result+=nr.repeat(` +`,u-1))}function ra(e,u,o){var f,h,y,w,k,T,O,R,H=e.kind,J=e.result,Q;if(Q=e.input.charCodeAt(e.position),pr(Q)||Ct(Q)||Q===35||Q===38||Q===42||Q===33||Q===124||Q===62||Q===39||Q===34||Q===37||Q===64||Q===96||(Q===63||Q===45)&&(h=e.input.charCodeAt(e.position+1),pr(h)||o&&Ct(h)))return!1;for(e.kind="scalar",e.result="",y=w=e.position,k=!1;Q!==0;){if(Q===58){if(h=e.input.charCodeAt(e.position+1),pr(h)||o&&Ct(h))break}else if(Q===35){if(f=e.input.charCodeAt(e.position-1),pr(f))break}else{if(e.position===e.lineStart&&It(e)||o&&Ct(Q))break;if(Fr(Q))if(T=e.line,O=e.lineStart,R=e.lineIndent,Je(e,!1,-1),e.lineIndent>=u){k=!0,Q=e.input.charCodeAt(e.position);continue}else{e.position=w,e.line=T,e.lineStart=O,e.lineIndent=R;break}}k&&(ct(e,y,w,!1),W0(e,e.line-T),y=w=e.position,k=!1),st(Q)||(w=e.position+1),Q=e.input.charCodeAt(++e.position)}return ct(e,y,w,!1),e.result?!0:(e.kind=H,e.result=J,!1)}function ta(e,u){var o,f,h;if(o=e.input.charCodeAt(e.position),o!==39)return!1;for(e.kind="scalar",e.result="",e.position++,f=h=e.position;(o=e.input.charCodeAt(e.position))!==0;)if(o===39)if(ct(e,f,e.position,!0),o=e.input.charCodeAt(++e.position),o===39)f=e.position,e.position++,h=e.position;else return!0;else Fr(o)?(ct(e,f,h,!0),W0(e,Je(e,!1,u)),f=h=e.position):e.position===e.lineStart&&It(e)?me(e,"unexpected end of the document within a single quoted scalar"):(e.position++,h=e.position);me(e,"unexpected end of the stream within a single quoted scalar")}function Iu(e,u){var o,f,h,y,w,k;if(k=e.input.charCodeAt(e.position),k!==34)return!1;for(e.kind="scalar",e.result="",e.position++,o=f=e.position;(k=e.input.charCodeAt(e.position))!==0;){if(k===34)return ct(e,o,e.position,!0),e.position++,!0;if(k===92){if(ct(e,o,e.position,!0),k=e.input.charCodeAt(++e.position),Fr(k))Je(e,!1,u);else if(k<256&&Dt[k])e.result+=Nt[k],e.position++;else if((w=Fn(k))>0){for(h=w,y=0;h>0;h--)k=e.input.charCodeAt(++e.position),(w=qu(k))>=0?y=(y<<4)+w:me(e,"expected hexadecimal character");e.result+=ea(y),e.position++}else me(e,"unknown escape sequence");o=f=e.position}else Fr(k)?(ct(e,o,f,!0),W0(e,Je(e,!1,u)),o=f=e.position):e.position===e.lineStart&&It(e)?me(e,"unexpected end of the document within a double quoted scalar"):(e.position++,f=e.position)}me(e,"unexpected end of the stream within a double quoted scalar")}function na(e,u){var o=!0,f,h,y,w=e.tag,k,T=e.anchor,O,R,H,J,Q,ne=Object.create(null),se,xe,Me,Te;if(Te=e.input.charCodeAt(e.position),Te===91)R=93,Q=!1,k=[];else if(Te===123)R=125,Q=!0,k={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=k),Te=e.input.charCodeAt(++e.position);Te!==0;){if(Je(e,!0,u),Te=e.input.charCodeAt(e.position),Te===R)return e.position++,e.tag=w,e.anchor=T,e.kind=Q?"mapping":"sequence",e.result=k,!0;o?Te===44&&me(e,"expected the node content, but found ','"):me(e,"missed comma between flow collection entries"),xe=se=Me=null,H=J=!1,Te===63&&(O=e.input.charCodeAt(e.position+1),pr(O)&&(H=J=!0,e.position++,Je(e,!0,u))),f=e.line,h=e.lineStart,y=e.position,Ot(e,u,$r,!1,!0),xe=e.tag,se=e.result,Je(e,!0,u),Te=e.input.charCodeAt(e.position),(J||e.line===f)&&Te===58&&(H=!0,Te=e.input.charCodeAt(++e.position),Je(e,!0,u),Ot(e,u,$r,!1,!0),Me=e.result),Q?Rt(e,k,ne,xe,se,Me,f,h,y):H?k.push(Rt(e,null,ne,xe,se,Me,f,h,y)):k.push(se),Je(e,!0,u),Te=e.input.charCodeAt(e.position),Te===44?(o=!0,Te=e.input.charCodeAt(++e.position)):o=!1}me(e,"unexpected end of the stream within a flow collection")}function ia(e,u){var o,f,h=zr,y=!1,w=!1,k=u,T=0,O=!1,R,H;if(H=e.input.charCodeAt(e.position),H===124)f=!1;else if(H===62)f=!0;else return!1;for(e.kind="scalar",e.result="";H!==0;)if(H=e.input.charCodeAt(++e.position),H===43||H===45)zr===h?h=H===43?Wi:Xi:me(e,"repeat of a chomping mode identifier");else if((R=Qi(H))>=0)R===0?me(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):w?me(e,"repeat of an indentation width identifier"):(k=u+R-1,w=!0);else break;if(st(H)){do H=e.input.charCodeAt(++e.position);while(st(H));if(H===35)do H=e.input.charCodeAt(++e.position);while(!Fr(H)&&H!==0)}for(;H!==0;){for(X0(e),e.lineIndent=0,H=e.input.charCodeAt(e.position);(!w||e.lineIndentk&&(k=e.lineIndent),Fr(H)){T++;continue}if(e.lineIndentu)&&T!==0)me(e,"bad indentation of a sequence entry");else if(e.lineIndentu)&&(xe&&(w=e.line,k=e.lineStart,T=e.position),Ot(e,u,j0,!0,h)&&(xe?ne=e.result:se=e.result),xe||(Rt(e,H,J,Q,ne,se,w,k,T),Q=ne=se=null),Je(e,!0,-1),Te=e.input.charCodeAt(e.position)),(e.line===y||e.lineIndent>u)&&Te!==0)me(e,"bad indentation of a mapping entry");else if(e.lineIndentu?T=1:e.lineIndent===u?T=0:e.lineIndentu?T=1:e.lineIndent===u?T=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),H=0,J=e.implicitTypes.length;H"),e.result!==null&&ne.kind!==e.kind&&me(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+ne.kind+'", not "'+e.kind+'"'),ne.resolve(e.result,e.tag)?(e.result=ne.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):me(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||R}function Pu(e){var u=e.position,o,f,h,y=!1,w;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(w=e.input.charCodeAt(e.position))!==0&&(Je(e,!0,-1),w=e.input.charCodeAt(e.position),!(e.lineIndent>0||w!==37));){for(y=!0,w=e.input.charCodeAt(++e.position),o=e.position;w!==0&&!pr(w);)w=e.input.charCodeAt(++e.position);for(f=e.input.slice(o,e.position),h=[],f.length<1&&me(e,"directive name must not be less than one character in length");w!==0;){for(;st(w);)w=e.input.charCodeAt(++e.position);if(w===35){do w=e.input.charCodeAt(++e.position);while(w!==0&&!Fr(w));break}if(Fr(w))break;for(o=e.position;w!==0&&!pr(w);)w=e.input.charCodeAt(++e.position);h.push(e.input.slice(o,e.position))}w!==0&&X0(e),Kr.call(Rn,f)?Rn[f](e,f,h):s0(e,'unknown document directive "'+f+'"')}if(Je(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Je(e,!0,-1)):y&&me(e,"directives end mark is expected"),Ot(e,e.lineIndent-1,j0,!1,!0),Je(e,!0,-1),e.checkLineBreaks&&Zi.test(e.input.slice(u,e.position))&&s0(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&It(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Je(e,!0,-1));return}if(e.position"u"&&(o=u,u=null);var f=K0(e,o);if(typeof u!="function")return f;for(var h=0,y=f.length;h=55296&&o<=56319&&u+1=56320&&f<=57343)?(o-55296)*1024+f-56320+65536:o}function Ce(e){var u=/^\n* /;return u.test(e)}var Re=1,Ne=2,Ie=3,He=4,Qe=5;function Sr(e,u,o,f,h,y,w,k){var T,O=0,R=null,H=!1,J=!1,Q=f!==-1,ne=-1,se=de(ze(e,0))&&ge(ze(e,e.length-1));if(u||w)for(T=0;T=65536?T+=2:T++){if(O=ze(e,T),!ie(O))return Qe;se=se&&fe(O,R,k),R=O}else{for(T=0;T=65536?T+=2:T++){if(O=ze(e,T),O===Et)H=!0,Q&&(J=J||T-ne-1>f&&e[ne+1]!==" ",ne=T);else if(!ie(O))return Qe;se=se&&fe(O,R,k),R=O}J=J||Q&&T-ne-1>f&&e[ne+1]!==" "}return!H&&!J?se&&!w&&!h(e)?Re:y===M?Qe:Ne:o>9&&Ce(e)?Qe:w?y===M?Qe:Ne:J?He:Ie}function Xe(e,u,o,f,h){e.dump=function(){if(u.length===0)return e.quotingType===M?'""':"''";if(!e.noCompatMode&&(l.indexOf(u)!==-1||c.test(u)))return e.quotingType===M?'"'+u+'"':"'"+u+"'";var y=e.indent*Math.max(1,o),w=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-y),k=f||e.flowLevel>-1&&o>=e.flowLevel;function T(O){return X(e,O)}switch(Sr(u,k,e.indent,w,T,e.quotingType,e.forceQuotes&&!f,h)){case Re:return u;case Ne:return"'"+u.replace(/'/g,"''")+"'";case Ie:return"|"+ft(u,e.indent)+Cr(U(u,y));case He:return">"+ft(u,e.indent)+Cr(U(dr(u,w),y));case Qe:return'"'+Lt(u)+'"';default:throw new fr("impossible error: invalid scalar style")}}()}function ft(e,u){var o=Ce(e)?String(u):"",f=e[e.length-1]===` +`,h=f&&(e[e.length-2]===` +`||e===` +`),y=h?"+":f?"":"-";return o+y+` +`}function Cr(e){return e[e.length-1]===` +`?e.slice(0,-1):e}function dr(e,u){for(var o=/(\n+)([^\n]*)/g,f=function(){var O=e.indexOf(` +`);return O=O!==-1?O:e.length,o.lastIndex=O,rt(e.slice(0,O),u)}(),h=e[0]===` +`||e[0]===" ",y,w;w=o.exec(e);){var k=w[1],T=w[2];y=T[0]===" ",f+=k+(!h&&!y&&T!==""?` +`:"")+rt(T,u),h=y}return f}function rt(e,u){if(e===""||e[0]===" ")return e;for(var o=/ [^ ]/g,f,h=0,y,w=0,k=0,T="";f=o.exec(e);)k=f.index,k-h>u&&(y=w>h?w:k,T+=` +`+e.slice(h,y),h=y+1),w=k;return T+=` +`,e.length-h>u&&w>h?T+=e.slice(h,w)+` +`+e.slice(w+1):T+=e.slice(h),T.slice(1)}function Lt(e){for(var u="",o=0,f,h=0;h=65536?h+=2:h++)o=ze(e,h),f=i[o],!f&&ie(o)?(u+=e[h],o>=65536&&(u+=e[h+1])):u+=f||A(o);return u}function Pt(e,u,o){var f="",h=e.tag,y,w,k;for(y=0,w=o.length;y"u"&&Er(e,u,null,!1,!1))&&(f!==""&&(f+=","+(e.condenseFlow?"":" ")),f+=e.dump);e.tag=h,e.dump="["+f+"]"}function Q0(e,u,o,f){var h="",y=e.tag,w,k,T;for(w=0,k=o.length;w"u"&&Er(e,u+1,null,!0,!0,!1,!0))&&((!f||h!=="")&&(h+=Y(e,u)),e.dump&&Et===e.dump.charCodeAt(0)?h+="-":h+="- ",h+=e.dump);e.tag=y,e.dump=h||"[]"}function pt(e,u,o){var f="",h=e.tag,y=Object.keys(o),w,k,T,O,R;for(w=0,k=y.length;w1024&&(R+="? "),R+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Er(e,u,O,!1,!1)&&(R+=e.dump,f+=R));e.tag=h,e.dump="{"+f+"}"}function dt(e,u,o,f){var h="",y=e.tag,w=Object.keys(o),k,T,O,R,H,J;if(e.sortKeys===!0)w.sort();else if(typeof e.sortKeys=="function")w.sort(e.sortKeys);else if(e.sortKeys)throw new fr("sortKeys must be a boolean or a function");for(k=0,T=w.length;k1024,H&&(e.dump&&Et===e.dump.charCodeAt(0)?J+="?":J+="? "),J+=e.dump,H&&(J+=Y(e,u)),Er(e,u+1,R,!0,H)&&(e.dump&&Et===e.dump.charCodeAt(0)?J+=":":J+=": ",J+=e.dump,h+=J));e.tag=y,e.dump=h||"{}"}function Dr(e,u,o){var f,h,y,w,k,T;for(h=o?e.explicitTypes:e.implicitTypes,y=0,w=h.length;y tag resolver accepts not "'+T+'" style');e.dump=f}return!0}return!1}function Er(e,u,o,f,h,y,w){e.tag=null,e.dump=o,Dr(e,o,!1)||Dr(e,o,!0);var k=sa.call(e.dump),T=f,O;f&&(f=e.flowLevel<0||e.flowLevel>u);var R=k==="[object Object]"||k==="[object Array]",H,J;if(R&&(H=e.duplicates.indexOf(o),J=H!==-1),(e.tag!==null&&e.tag!=="?"||J||e.indent!==2&&u>0)&&(h=!1),J&&e.usedDuplicates[H])e.dump="*ref_"+H;else{if(R&&J&&!e.usedDuplicates[H]&&(e.usedDuplicates[H]=!0),k==="[object Object]")f&&Object.keys(e.dump).length!==0?(dt(e,u,e.dump,h),J&&(e.dump="&ref_"+H+e.dump)):(pt(e,u,e.dump),J&&(e.dump="&ref_"+H+" "+e.dump));else if(k==="[object Array]")f&&e.dump.length!==0?(e.noArrayIndent&&!w&&u>0?Q0(e,u-1,e.dump,h):Q0(e,u,e.dump,h),J&&(e.dump="&ref_"+H+e.dump)):(Pt(e,u,e.dump),J&&(e.dump="&ref_"+H+" "+e.dump));else if(k==="[object String]")e.tag!=="?"&&Xe(e,e.dump,u,y,T);else{if(k==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new fr("unacceptable kind of an object to dump "+k)}e.tag!==null&&e.tag!=="?"&&(O=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?O="!"+O:O.slice(0,18)==="tag:yaml.org,2002:"?O="!!"+O.slice(18):O="!<"+O+">",e.dump=O+" "+e.dump)}return!0}function Un(e,u){var o=[],f=[],h,y;for(mt(e,o,f),h=0,y=f.length;h{const f=u.parse;u.parse=qe(f,{before(h){const[y]=h.args;if(!y.startsWith(`--- +`))return;const w=y.indexOf(` +--- +`);if(w<0)return;const k=y.slice(4,w);let T;try{var O;T=vs.load(k),(O=T)!=null&&O.markmap&&(T.markmap=ys(T.markmap))}catch{return}o.frontmatter=T;const R=w+5;h.args[0]=y.slice(R)},after(){u.parse=f}})}),{}}};function ys(e){if(e)return["color","extraJs","extraCss"].forEach(u=>{e[u]!=null&&(e[u]=xs(e[u]))}),["duration","maxWidth","initialExpandLevel"].forEach(u=>{e[u]!=null&&(e[u]=bs(e[u]))}),e}function xs(e){var u;let o;return typeof e=="string"?o=[e]:Array.isArray(e)&&(o=e.filter(f=>f&&typeof f=="string")),(u=o)!=null&&u.length?o:void 0}function bs(e){if(!isNaN(+e))return+e}const Nl=[gs,F0,te];function ql(e){if(e.type==="heading")e.children=e.children.filter(h=>h.type!=="paragraph");else if(e.type==="list_item"){var u;e.children=e.children.filter(h=>["paragraph","fence"].includes(h.type)?(e.content||(e.content=h.content,e.payload=C({},e.payload,h.payload)),!1):!0),((u=e.payload)==null?void 0:u.index)!=null&&(e.content=`${e.payload.index}. ${e.content}`)}else if(e.type==="ordered_list"){var o,f;let h=(o=(f=e.payload)==null?void 0:f.startIndex)!=null?o:1;e.children.forEach(y=>{y.type==="list_item"&&(y.payload=C({},y.payload,{index:h}),h+=1)})}e.children.length===0?delete e.children:(e.children.forEach(h=>ql(h)),e.children.length===1&&!e.children[0].content&&(e.children=e.children[0].children))}function Rl(e,u=0){var o;e.depth=u,(o=e.children)==null||o.forEach(f=>{Rl(f,u+1)})}class ws{constructor(u=Nl){this.assetsMap={},this.plugins=u,this.hooks=ki();const o={};for(const{name:h,transform:y}of u)o[h]=y(this.hooks);this.assetsMap=o;const f=new ut("full",{html:!0,breaks:!0,maxNesting:1/0});f.renderer.rules.htmltag=qe(f.renderer.rules.htmltag,{after:h=>{this.hooks.htmltag.call(h)}}),this.md=f,this.hooks.parser.call(f)}buildTree(u){const{md:o}=this,f={type:"root",depth:0,content:"",children:[],payload:{}},h=[f];let y=0;for(const T of u){let O=h[h.length-1];if(T.type.endsWith("_open")){const R=T.type.slice(0,-5),H={};if(T.lines&&(H.lines=T.lines),R==="heading")for(y=T.hLevel;((w=O)==null?void 0:w.depth)>=y;){var w;h.pop(),O=h[h.length-1]}else{var k;y=Math.max(y,((k=O)==null?void 0:k.depth)||0)+1,R==="ordered_list"&&(H.startIndex=T.order)}const J={type:R,depth:y,payload:H,content:"",children:[]};O.children.push(J),h.push(J)}else if(O){if(T.type===`${O.type}_close`)O.type==="heading"?y=O.depth:(h.pop(),y=0);else if(T.type==="inline"){const R=this.hooks.htmltag.tap(J=>{const Q=J.result.match(/^$/),ne=Q==null?void 0:Q[1].trim().split(" ");ne[0]==="fold"&&(O.payload.fold=["all","recursively"].includes(ne[1])?2:1,J.result="")}),H=o.renderer.render([T],o.options,{});R(),O.content=`${O.content||""}${H}`}else if(T.type==="fence"){let R=o.renderer.render([T],o.options,{});const H=R.match(//);H&&(R=R.replace("
    ",``)),O.children.push({type:T.type,depth:y+1,content:R,children:[]})}}else continue}return f}transform(u){var o;const f={features:{}};this.hooks.beforeParse.call(this.md,f);const h=this.md.parse(u,{});this.hooks.afterParse.call(this.md,f);let y=this.buildTree(h);return ql(y),((o=y.children)==null?void 0:o.length)===1&&(y=y.children[0]),Rl(y),C({},f,{root:y})}getAssets(u){var o;const f=[],h=[];(o=u)!=null||(u=this.plugins.map(y=>y.name));for(const y of u.map(w=>this.assetsMap[w]))y&&(y.styles&&f.push(...y.styles),y.scripts&&h.push(...y.scripts));return{styles:f,scripts:h}}getUsedAssets(u){const o=this.plugins.map(f=>f.name).filter(f=>u[f]);return this.getAssets(o)}}const As={"markmap-lib":"0.14.4",d3:"6.7.0"};s.Transformer=ws,s.builtInPlugins=Nl,s.fillTemplate=sr,s.transformerVersions=As})})(ll,ll.exports);var s4=ll.exports;/*! markmap-common v0.14.2 | MIT License */class xo{constructor(){this.listeners=[]}tap(a){return this.listeners.push(a),()=>this.revoke(a)}revoke(a){const s=this.listeners.indexOf(a);s>=0&&this.listeners.splice(s,1)}revokeAll(){this.listeners.splice(0)}call(...a){for(const s of this.listeners)s(...a)}}const Ss=Math.random().toString(36).slice(2,8);let Pl=0;function Cs(){return Pl+=1,`mm-${Ss}-${Pl}`}function el(){}function ol(n,a,s="children"){const d=(x,b)=>a(x,()=>{var C;(C=x[s])==null||C.forEach(B=>{d(B,x)})},b);d(n)}function bo(n){if(Array.from)return Array.from(n);const a=[];for(let s=0;s{d&&s.indexOf(d)<0&&s.push(d)}),s.join(" ")}function nn(n){if(typeof n=="string"){const s=n;n=d=>d.tagName===s}const a=n;return function(){let d=bo(this.childNodes);return a&&(d=d.filter(x=>a(x))),d}}function Hl(n,a){let s;if(a===void 0)for(const d of n)d!=null&&(s=d)&&(s=d);else{let d=-1;for(let x of n)(x=a(x,++d,n))!=null&&(s=x)&&(s=x)}return s}function Ul(n,a){let s;if(a===void 0)for(const d of n)d!=null&&(s>d||s===void 0&&d>=d)&&(s=d);else{let d=-1;for(let x of n)(x=a(x,++d,n))!=null&&(s>x||s===void 0&&x>=x)&&(s=x)}return s}function Es(n,a){let s,d=-1,x=-1;if(a===void 0)for(const b of n)++x,b!=null&&(s>b||s===void 0&&b>=b)&&(s=b,d=x);else for(let b of n)(b=a(b,++x,n))!=null&&(s>b||s===void 0&&b>=b)&&(s=b,d=x);return d}var Bs={value:()=>{}};function Al(){for(var n=0,a=arguments.length,s={},d;n=0&&(d=s.slice(x+1),s=s.slice(0,x)),s&&!a.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:d}})}Ta.prototype=Al.prototype={constructor:Ta,on:function(n,a){var s=this._,d=Ms(n+"",s),x,b=-1,C=d.length;if(arguments.length<2){for(;++b0)for(var s=new Array(x),d=0,x,b;d=0&&(a=n.slice(0,s))!=="xmlns"&&(n=n.slice(s+1)),Vl.hasOwnProperty(a)?{space:Vl[a],local:n}:n}function _s(n){return function(){var a=this.ownerDocument,s=this.namespaceURI;return s===sl&&a.documentElement.namespaceURI===sl?a.createElement(n):a.createElementNS(s,n)}}function zs(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}function wo(n){var a=Ga(n);return(a.local?zs:_s)(a)}function Fs(){}function kl(n){return n==null?Fs:function(){return this.querySelector(n)}}function Ns(n){typeof n!="function"&&(n=kl(n));for(var a=this._groups,s=a.length,d=new Array(s),x=0;x=qe&&(qe=be+1);!(Oe=De[qe])&&++qe=0;)(C=d[x])&&(b&&C.compareDocumentPosition(b)^4&&b.parentNode.insertBefore(C,b),b=C);return this}function nc(n){n||(n=ic);function a(V,W){return V&&W?n(V.__data__,W.__data__):!V-!W}for(var s=this._groups,d=s.length,x=new Array(d),b=0;ba?1:n>=a?0:NaN}function ac(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function uc(){return Array.from(this)}function lc(){for(var n=this._groups,a=0,s=n.length;a1?this.each((a==null?yc:typeof a=="function"?bc:xc)(n,a,s??"")):un(this.node(),n)}function un(n,a){return n.style.getPropertyValue(a)||Eo(n).getComputedStyle(n,null).getPropertyValue(a)}function Ac(n){return function(){delete this[n]}}function kc(n,a){return function(){this[n]=a}}function Sc(n,a){return function(){var s=a.apply(this,arguments);s==null?delete this[n]:this[n]=s}}function Cc(n,a){return arguments.length>1?this.each((a==null?Ac:typeof a=="function"?Sc:kc)(n,a)):this.node()[n]}function Bo(n){return n.trim().split(/^|\s+/)}function Sl(n){return n.classList||new Mo(n)}function Mo(n){this._node=n,this._names=Bo(n.getAttribute("class")||"")}Mo.prototype={add:function(n){var a=this._names.indexOf(n);a<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var a=this._names.indexOf(n);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function To(n,a){for(var s=Sl(n),d=-1,x=a.length;++d=0&&(s=a.slice(d+1),a=a.slice(0,d)),{type:a,name:s}})}function Qc(n){return function(){var a=this.__on;if(a){for(var s=0,d=-1,x=a.length,b;s>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):s===8?Ca(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):s===4?Ca(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=h1.exec(n))?new jr(a[1],a[2],a[3],1):(a=f1.exec(n))?new jr(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=p1.exec(n))?Ca(a[1],a[2],a[3],a[4]):(a=d1.exec(n))?Ca(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=m1.exec(n))?Zl(a[1],a[2]/100,a[3]/100,1):(a=v1.exec(n))?Zl(a[1],a[2]/100,a[3]/100,a[4]):Gl.hasOwnProperty(n)?Xl(Gl[n]):n==="transparent"?new jr(NaN,NaN,NaN,0):null}function Xl(n){return new jr(n>>16&255,n>>8&255,n&255,1)}function Ca(n,a,s,d){return d<=0&&(n=a=s=NaN),new jr(n,a,s,d)}function y1(n){return n instanceof ri||(n=Jn(n)),n?(n=n.rgb(),new jr(n.r,n.g,n.b,n.opacity)):new jr}function hl(n,a,s,d){return arguments.length===1?y1(n):new jr(n,a,s,d??1)}function jr(n,a,s,d){this.r=+n,this.g=+a,this.b=+s,this.opacity=+d}Cl(jr,hl,No(ri,{brighter:function(n){return n=n==null?Ia:Math.pow(Ia,n),new jr(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=n==null?Kn:Math.pow(Kn,n),new jr(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Wl,formatHex:Wl,formatRgb:Kl,toString:Kl}));function Wl(){return"#"+rl(this.r)+rl(this.g)+rl(this.b)}function Kl(){var n=this.opacity;return n=isNaN(n)?1:Math.max(0,Math.min(1,n)),(n===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(n===1?")":", "+n+")")}function rl(n){return n=Math.max(0,Math.min(255,Math.round(n)||0)),(n<16?"0":"")+n.toString(16)}function Zl(n,a,s,d){return d<=0?n=a=s=NaN:s<=0||s>=1?n=a=NaN:a<=0&&(n=NaN),new vt(n,a,s,d)}function qo(n){if(n instanceof vt)return new vt(n.h,n.s,n.l,n.opacity);if(n instanceof ri||(n=Jn(n)),!n)return new vt;if(n instanceof vt)return n;n=n.rgb();var a=n.r/255,s=n.g/255,d=n.b/255,x=Math.min(a,s,d),b=Math.max(a,s,d),C=NaN,B=b-x,z=(b+x)/2;return B?(a===b?C=(s-d)/B+(s0&&z<1?0:C,new vt(C,B,z,n.opacity)}function x1(n,a,s,d){return arguments.length===1?qo(n):new vt(n,a,s,d??1)}function vt(n,a,s,d){this.h=+n,this.s=+a,this.l=+s,this.opacity=+d}Cl(vt,x1,No(ri,{brighter:function(n){return n=n==null?Ia:Math.pow(Ia,n),new vt(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=n==null?Kn:Math.pow(Kn,n),new vt(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+(this.h<0)*360,a=isNaN(n)||isNaN(this.s)?0:this.s,s=this.l,d=s+(s<.5?s:1-s)*a,x=2*s-d;return new jr(tl(n>=240?n-240:n+120,x,d),tl(n,x,d),tl(n<120?n+240:n-120,x,d),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return n=isNaN(n)?1:Math.max(0,Math.min(1,n)),(n===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(n===1?")":", "+n+")")}}));function tl(n,a,s){return(n<60?a+(s-a)*n/60:n<180?s:n<240?a+(s-a)*(240-n)/60:a)*255}const Ro=n=>()=>n;function b1(n,a){return function(s){return n+s*a}}function w1(n,a,s){return n=Math.pow(n,s),a=Math.pow(a,s)-n,s=1/s,function(d){return Math.pow(n+d*a,s)}}function A1(n){return(n=+n)==1?Io:function(a,s){return s-a?w1(a,s,n):Ro(isNaN(a)?s:a)}}function Io(n,a){var s=a-n;return s?b1(n,s):Ro(isNaN(n)?a:n)}const Jl=function n(a){var s=A1(a);function d(x,b){var C=s((x=hl(x)).r,(b=hl(b)).r),B=s(x.g,b.g),z=s(x.b,b.b),I=Io(x.opacity,b.opacity);return function(q){return x.r=C(q),x.g=B(q),x.b=z(q),x.opacity=I(q),x+""}}return d.gamma=n,d}(1);function Vt(n,a){return n=+n,a=+a,function(s){return n*(1-s)+a*s}}var fl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nl=new RegExp(fl.source,"g");function k1(n){return function(){return n}}function S1(n){return function(a){return n(a)+""}}function C1(n,a){var s=fl.lastIndex=nl.lastIndex=0,d,x,b,C=-1,B=[],z=[];for(n=n+"",a=a+"";(d=fl.exec(n))&&(x=nl.exec(a));)(b=x.index)>s&&(b=a.slice(s,b),B[C]?B[C]+=b:B[++C]=b),(d=d[0])===(x=x[0])?B[C]?B[C]+=x:B[++C]=x:(B[++C]=null,z.push({i:C,x:Vt(d,x)})),s=nl.lastIndex;return s180?q+=360:q-I>180&&(I+=360),W.push({i:V.push(x(V)+"rotate(",null,d)-2,x:Vt(I,q)})):q&&V.push(x(V)+"rotate("+q+d)}function B(I,q,V,W){I!==q?W.push({i:V.push(x(V)+"skewX(",null,d)-2,x:Vt(I,q)}):q&&V.push(x(V)+"skewX("+q+d)}function z(I,q,V,W,j,ke){if(I!==V||q!==W){var ve=j.push(x(j)+"scale(",null,",",null,")");ke.push({i:ve-4,x:Vt(I,V)},{i:ve-2,x:Vt(q,W)})}else(V!==1||W!==1)&&j.push(x(j)+"scale("+V+","+W+")")}return function(I,q){var V=[],W=[];return I=n(I),q=n(q),b(I.translateX,I.translateY,q.translateX,q.translateY,V,W),C(I.rotate,q.rotate,V,W),B(I.skewX,q.skewX,V,W),z(I.scaleX,I.scaleY,q.scaleX,q.scaleY,V,W),I=q=null,function(j){for(var ke=-1,ve=W.length,De;++ke=0&&n._call.call(null,a),n=n._next;--ln}function ro(){g0=(La=Qn.now())+ja,ln=Yn=0;try{q1()}finally{ln=0,I1(),g0=0}}function R1(){var n=Qn.now(),a=n-La;a>Po&&(ja-=a,La=n)}function I1(){for(var n,a=Oa,s,d=1/0;a;)a._call?(d>a._time&&(d=a._time),n=a,a=a._next):(s=a._next,a._next=null,a=n?n._next=s:Oa=s);Xn=n,dl(d)}function dl(n){if(!ln){Yn&&(Yn=clearTimeout(Yn));var a=n-g0;a>24?(n<1/0&&(Yn=setTimeout(ro,n-Qn.now()-ja)),Gn&&(Gn=clearInterval(Gn))):(Gn||(La=Qn.now(),Gn=setInterval(R1,Po)),ln=1,Ho(ro))}}function to(n,a,s){var d=new Pa;return a=a==null?0:+a,d.restart(x=>{d.stop(),n(x+a)},a,s),d}var O1=Al("start","end","cancel","interrupt"),L1=[],$o=0,no=1,ml=2,_a=3,io=4,vl=5,za=6;function Ya(n,a,s,d,x,b){var C=n.__transition;if(!C)n.__transition={};else if(s in C)return;P1(n,s,{name:a,index:d,group:x,on:O1,tween:L1,time:b.time,delay:b.delay,duration:b.duration,ease:b.ease,timer:null,state:$o})}function El(n,a){var s=nt(n,a);if(s.state>$o)throw new Error("too late; already scheduled");return s}function yt(n,a){var s=nt(n,a);if(s.state>_a)throw new Error("too late; already running");return s}function nt(n,a){var s=n.__transition;if(!s||!(s=s[a]))throw new Error("transition not found");return s}function P1(n,a,s){var d=n.__transition,x;d[a]=s,s.timer=Uo(b,0,s.time);function b(I){s.state=no,s.timer.restart(C,s.delay,s.time),s.delay<=I&&C(I-s.delay)}function C(I){var q,V,W,j;if(s.state!==no)return z();for(q in d)if(j=d[q],j.name===s.name){if(j.state===_a)return to(C);j.state===io?(j.state=za,j.timer.stop(),j.on.call("interrupt",n,n.__data__,j.index,j.group),delete d[q]):+qml&&d.state=0&&(a=a.slice(0,s)),!a||a==="start"})}function vh(n,a,s){var d,x,b=mh(a)?El:yt;return function(){var C=b(this,n),B=C.on;B!==d&&(x=(d=B).copy()).on(a,s),C.on=x}}function gh(n,a){var s=this._id;return arguments.length<2?nt(this.node(),s).on.on(n):this.each(vh(s,n,a))}function yh(n){return function(){var a=this.parentNode;for(var s in this.__transition)if(+s!==n)return;a&&a.removeChild(this)}}function xh(){return this.on("end.remove",yh(this._id))}function bh(n){var a=this._name,s=this._id;typeof n!="function"&&(n=kl(n));for(var d=this._groups,x=d.length,b=new Array(x),C=0;Cd0)if(!(Math.abs(q*B-z*I)>d0)||!x)this._+="L"+(this._x1=n)+","+(this._y1=a);else{var W=s-b,j=d-C,ke=B*B+z*z,ve=W*W+j*j,De=Math.sqrt(ke),Z=Math.sqrt(V),be=x*Math.tan((gl-Math.acos((ke+V-ve)/(2*De*Z)))/2),qe=be/Z,Ve=be/De;Math.abs(qe-1)>d0&&(this._+="L"+(n+qe*I)+","+(a+qe*q)),this._+="A"+x+","+x+",0,0,"+ +(q*W>I*j)+","+(this._x1=n+Ve*B)+","+(this._y1=a+Ve*z)}},arc:function(n,a,s,d,x,b){n=+n,a=+a,s=+s,b=!!b;var C=s*Math.cos(d),B=s*Math.sin(d),z=n+C,I=a+B,q=1^b,V=b?d-x:x-d;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+z+","+I:(Math.abs(this._x1-z)>d0||Math.abs(this._y1-I)>d0)&&(this._+="L"+z+","+I),s&&(V<0&&(V=V%yl+yl),V>Gh?this._+="A"+s+","+s+",0,1,"+q+","+(n-C)+","+(a-B)+"A"+s+","+s+",0,1,"+q+","+(this._x1=z)+","+(this._y1=I):V>d0&&(this._+="A"+s+","+s+",0,"+ +(V>=gl)+","+q+","+(this._x1=n+s*Math.cos(x))+","+(this._y1=a+s*Math.sin(x))))},rect:function(n,a,s,d){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+a)+"h"+ +s+"v"+ +d+"h"+-s+"Z"},toString:function(){return this._}};function jh(n,a){switch(arguments.length){case 0:break;case 1:this.range(n);break;default:this.range(a).domain(n);break}return this}const ao=Symbol("implicit");function Xo(){var n=new Map,a=[],s=[],d=ao;function x(b){var C=b+"",B=n.get(C);if(!B){if(d!==ao)return d;n.set(C,B=a.push(b))}return s[(B-1)%s.length]}return x.domain=function(b){if(!arguments.length)return a.slice();a=[],n=new Map;for(const C of b){const B=C+"";n.has(B)||n.set(B,a.push(C))}return x},x.range=function(b){return arguments.length?(s=Array.from(b),x):s.slice()},x.unknown=function(b){return arguments.length?(d=b,x):d},x.copy=function(){return Xo(a,s).unknown(d)},jh.apply(x,arguments),x}function Yh(n){for(var a=n.length/6|0,s=new Array(a),d=0;d()=>n;function n2(n,{sourceEvent:a,target:s,transform:d,dispatch:x}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:a,enumerable:!0,configurable:!0},target:{value:s,enumerable:!0,configurable:!0},transform:{value:d,enumerable:!0,configurable:!0},_:{value:x}})}function Bt(n,a,s){this.k=n,this.x=a,this.y=s}Bt.prototype={constructor:Bt,scale:function(n){return n===1?this:new Bt(this.k*n,this.x,this.y)},translate:function(n,a){return n===0&a===0?this:new Bt(this.k,this.x+this.k*n,this.y+this.k*a)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Xa=new Bt(1,0,0);Na.prototype=Bt.prototype;function Na(n){for(;!n.__zoom;)if(!(n=n.parentNode))return Xa;return n.__zoom}function il(n){n.stopImmediatePropagation()}function jn(n){n.preventDefault(),n.stopImmediatePropagation()}function i2(n){return(!n.ctrlKey||n.type==="wheel")&&!n.button}function a2(){var n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n,n.hasAttribute("viewBox")?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n.width,n.y+n.height]]):[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]):[[0,0],[n.clientWidth,n.clientHeight]]}function lo(){return this.__zoom||Xa}function u2(n){return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*(n.ctrlKey?10:1)}function l2(){return navigator.maxTouchPoints||"ontouchstart"in this}function o2(n,a,s){var d=n.invertX(a[0][0])-s[0][0],x=n.invertX(a[1][0])-s[1][0],b=n.invertY(a[0][1])-s[0][1],C=n.invertY(a[1][1])-s[1][1];return n.translate(x>d?(d+x)/2:Math.min(0,d)||Math.max(0,x),C>b?(b+C)/2:Math.min(0,b)||Math.max(0,C))}function s2(){var n=i2,a=a2,s=o2,d=u2,x=l2,b=[0,1/0],C=[[-1/0,-1/0],[1/0,1/0]],B=250,z=F1,I=Al("start","zoom","end"),q,V,W,j=500,ke=150,ve=0,De=10;function Z(P){P.property("__zoom",lo).on("wheel.zoom",ur).on("mousedown.zoom",or).on("dblclick.zoom",Br).filter(x).on("touchstart.zoom",sr).on("touchmove.zoom",Rr).on("touchend.zoom touchcancel.zoom",G).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}Z.transform=function(P,ce,re,we){var Se=P.selection?P.selection():P;Se.property("__zoom",lo),P!==Se?Oe(P,ce,re,we):Se.interrupt().each(function(){ir(this,arguments).event(we).start().zoom(null,typeof ce=="function"?ce.apply(this,arguments):ce).end()})},Z.scaleBy=function(P,ce,re,we){Z.scaleTo(P,function(){var Se=this.__zoom.k,_e=typeof ce=="function"?ce.apply(this,arguments):ce;return Se*_e},re,we)},Z.scaleTo=function(P,ce,re,we){Z.transform(P,function(){var Se=a.apply(this,arguments),_e=this.__zoom,Ee=re==null?Ve(Se):typeof re=="function"?re.apply(this,arguments):re,ue=_e.invert(Ee),Le=typeof ce=="function"?ce.apply(this,arguments):ce;return s(qe(be(_e,Le),Ee,ue),Se,C)},re,we)},Z.translateBy=function(P,ce,re,we){Z.transform(P,function(){return s(this.__zoom.translate(typeof ce=="function"?ce.apply(this,arguments):ce,typeof re=="function"?re.apply(this,arguments):re),a.apply(this,arguments),C)},null,we)},Z.translateTo=function(P,ce,re,we,Se){Z.transform(P,function(){var _e=a.apply(this,arguments),Ee=this.__zoom,ue=we==null?Ve(_e):typeof we=="function"?we.apply(this,arguments):we;return s(Xa.translate(ue[0],ue[1]).scale(Ee.k).translate(typeof ce=="function"?-ce.apply(this,arguments):-ce,typeof re=="function"?-re.apply(this,arguments):-re),_e,C)},we,Se)};function be(P,ce){return ce=Math.max(b[0],Math.min(b[1],ce)),ce===P.k?P:new Bt(ce,P.x,P.y)}function qe(P,ce,re){var we=ce[0]-re[0]*P.k,Se=ce[1]-re[1]*P.k;return we===P.x&&Se===P.y?P:new Bt(P.k,we,Se)}function Ve(P){return[(+P[0][0]+ +P[1][0])/2,(+P[0][1]+ +P[1][1])/2]}function Oe(P,ce,re,we){P.on("start.zoom",function(){ir(this,arguments).event(we).start()}).on("interrupt.zoom end.zoom",function(){ir(this,arguments).event(we).end()}).tween("zoom",function(){var Se=this,_e=arguments,Ee=ir(Se,_e).event(we),ue=a.apply(Se,_e),Le=re==null?Ve(ue):typeof re=="function"?re.apply(Se,_e):re,Mr=Math.max(ue[1][0]-ue[0][0],ue[1][1]-ue[0][1]),Ge=Se.__zoom,mr=typeof ce=="function"?ce.apply(Se,_e):ce,We=z(Ge.invert(Le).concat(Mr/Ge.k),mr.invert(Le).concat(Mr/mr.k));return function(wr){if(wr===1)wr=mr;else{var Ir=We(wr),Yt=Mr/Ir[2];wr=new Bt(Yt,Le[0]-Ir[0]*Yt,Le[1]-Ir[1]*Yt)}Ee.zoom(null,wr)}})}function ir(P,ce,re){return!re&&P.__zooming||new ar(P,ce)}function ar(P,ce){this.that=P,this.args=ce,this.active=0,this.sourceEvent=null,this.extent=a.apply(P,ce),this.taps=0}ar.prototype={event:function(P){return P&&(this.sourceEvent=P),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(P,ce){return this.mouse&&P!=="mouse"&&(this.mouse[1]=ce.invert(this.mouse[0])),this.touch0&&P!=="touch"&&(this.touch0[1]=ce.invert(this.touch0[0])),this.touch1&&P!=="touch"&&(this.touch1[1]=ce.invert(this.touch1[0])),this.that.__zoom=ce,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(P){var ce=jt(this.that).datum();I.call(P,this.that,new n2(P,{sourceEvent:this.sourceEvent,target:Z,type:P,transform:this.that.__zoom,dispatch:I}),ce)}};function ur(P,...ce){if(!n.apply(this,arguments))return;var re=ir(this,ce).event(P),we=this.__zoom,Se=Math.max(b[0],Math.min(b[1],we.k*Math.pow(2,d.apply(this,arguments)))),_e=f0(P);if(re.wheel)(re.mouse[0][0]!==_e[0]||re.mouse[0][1]!==_e[1])&&(re.mouse[1]=we.invert(re.mouse[0]=_e)),clearTimeout(re.wheel);else{if(we.k===Se)return;re.mouse=[_e,we.invert(_e)],Fa(this),re.start()}jn(P),re.wheel=setTimeout(Ee,ke),re.zoom("mouse",s(qe(be(we,Se),re.mouse[0],re.mouse[1]),re.extent,C));function Ee(){re.wheel=null,re.end()}}function or(P,...ce){if(W||!n.apply(this,arguments))return;var re=ir(this,ce,!0).event(P),we=jt(P.view).on("mousemove.zoom",Le,!0).on("mouseup.zoom",Mr,!0),Se=f0(P,_e),_e=P.currentTarget,Ee=P.clientX,ue=P.clientY;o1(P.view),il(P),re.mouse=[Se,this.__zoom.invert(Se)],Fa(this),re.start();function Le(Ge){if(jn(Ge),!re.moved){var mr=Ge.clientX-Ee,We=Ge.clientY-ue;re.moved=mr*mr+We*We>ve}re.event(Ge).zoom("mouse",s(qe(re.that.__zoom,re.mouse[0]=f0(Ge,_e),re.mouse[1]),re.extent,C))}function Mr(Ge){we.on("mousemove.zoom mouseup.zoom",null),s1(Ge.view,re.moved),jn(Ge),re.event(Ge).end()}}function Br(P,...ce){if(n.apply(this,arguments)){var re=this.__zoom,we=f0(P.changedTouches?P.changedTouches[0]:P,this),Se=re.invert(we),_e=re.k*(P.shiftKey?.5:2),Ee=s(qe(be(re,_e),we,Se),a.apply(this,ce),C);jn(P),B>0?jt(this).transition().duration(B).call(Oe,Ee,we,P):jt(this).call(Z.transform,Ee,we,P)}}function sr(P,...ce){if(n.apply(this,arguments)){var re=P.touches,we=re.length,Se=ir(this,ce,P.changedTouches.length===we).event(P),_e,Ee,ue,Le;for(il(P),Ee=0;Ee=0;)a+=s[d].value;n.value=a}function h2(){return this.eachAfter(c2)}function f2(n){var a=this,s,d=[a],x,b,C;do for(s=d.reverse(),d=[];a=s.pop();)if(n(a),x=a.children,x)for(b=0,C=x.length;b=0;--x)s.push(d[x]);return this}function d2(n){for(var a=this,s=[a],d=[],x,b,C;a=s.pop();)if(d.push(a),x=a.children,x)for(b=0,C=x.length;b=0;)s+=d[x].value;a.value=s})}function v2(n){return this.eachBefore(function(a){a.children&&a.children.sort(n)})}function g2(n){for(var a=this,s=y2(a,n),d=[a];a!==s;)a=a.parent,d.push(a);for(var x=d.length;n!==s;)d.splice(x,0,n),n=n.parent;return d}function y2(n,a){if(n===a)return n;var s=n.ancestors(),d=a.ancestors(),x=null;for(n=s.pop(),a=d.pop();n===a;)x=n,n=s.pop(),a=d.pop();return x}function x2(){for(var n=this,a=[n];n=n.parent;)a.push(n);return a}function b2(){var n=[];return this.each(function(a){n.push(a)}),n}function w2(){var n=[];return this.eachBefore(function(a){a.children||n.push(a)}),n}function A2(){var n=this,a=[];return n.each(function(s){s!==n&&a.push({source:s.parent,target:s})}),a}function Ml(n,a){var s=new Ha(n),d=+n.value&&(s.value=n.value),x,b=[s],C,B,z,I;for(a==null&&(a=S2);x=b.pop();)if(d&&(x.value=+x.data.value),(B=a(x.data))&&(I=B.length))for(x.children=new Array(I),z=I-1;z>=0;--z)b.push(C=x.children[z]=new Ha(B[z])),C.parent=x,C.depth=x.depth+1;return s.eachBefore(D2)}function k2(){return Ml(this).eachBefore(C2)}function S2(n){return n.children}function C2(n){n.data=n.data.data}function D2(n){var a=0;do n.height=a;while((n=n.parent)&&n.height<++a)}function Ha(n){this.data=n,this.depth=this.height=0,this.parent=null}Ha.prototype=Ml.prototype={constructor:Ha,count:h2,each:f2,eachAfter:d2,eachBefore:p2,sum:m2,sort:v2,path:g2,ancestors:x2,descendants:b2,leaves:w2,links:A2,copy:k2};var E2="d3-flextree",B2="2.1.2",M2="build/d3-flextree.js",T2="index",_2={name:"Chris Maloney",url:"http://chrismaloney.org"},z2="Flexible tree layout algorithm that allows for variable node sizes.",F2=["d3","d3-module","layout","tree","hierarchy","d3-hierarchy","plugin","d3-plugin","infovis","visualization","2d"],N2="https://github.com/klortho/d3-flextree",q2="WTFPL",R2={type:"git",url:"https://github.com/klortho/d3-flextree.git"},I2={clean:"rm -rf build demo test","build:demo":"rollup -c --environment BUILD:demo","build:dev":"rollup -c --environment BUILD:dev","build:prod":"rollup -c --environment BUILD:prod","build:test":"rollup -c --environment BUILD:test",build:"rollup -c",lint:"eslint index.js src","test:main":"node test/bundle.js","test:browser":"node test/browser-tests.js",test:"npm-run-all test:*",prepare:"npm-run-all clean build lint test"},O2={"d3-hierarchy":"^1.1.5"},L2={"babel-plugin-external-helpers":"^6.22.0","babel-preset-es2015-rollup":"^3.0.0",d3:"^4.13.0","d3-selection-multi":"^1.0.1",eslint:"^4.19.1",jsdom:"^11.6.2","npm-run-all":"^4.1.2",rollup:"^0.55.3","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-copy":"^0.2.3","rollup-plugin-json":"^2.3.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},P2={name:E2,version:B2,main:M2,module:T2,"jsnext:main":"index",author:_2,description:z2,keywords:F2,homepage:N2,license:q2,repository:R2,scripts:I2,dependencies:O2,devDependencies:L2};const{version:H2}=P2,U2=Object.freeze({children:n=>n.children,nodeSize:n=>n.data.size,spacing:0});function Ko(n){const a=Object.assign({},U2,n);function s(B){const z=a[B];return typeof z=="function"?z:()=>z}function d(B){const z=C(b(),B,I=>I.children);return z.update(),z.data}function x(){const B=s("nodeSize"),z=s("spacing");return class Wo extends Ml.prototype.constructor{constructor(q){super(q)}copy(){const q=C(this.constructor,this,V=>V.children);return q.each(V=>V.data=V.data.data),q}get size(){return B(this)}spacing(q){return z(this,q)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const q=this.ancestors();return q[q.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((q,V)=>Wo.maxExtents(q,V.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(q,V){return{top:Math.min(q.top,V.top),bottom:Math.max(q.bottom,V.bottom),left:Math.min(q.left,V.left),right:Math.max(q.right,V.right)}}}}function b(){const B=x(),z=s("nodeSize"),I=s("spacing");return class extends B{constructor(q){super(q),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return z(this.data)}spacing(q){return I(this.data,q.data)}get x(){return this.data.x}set x(q){this.data.x=q}get y(){return this.data.y}set y(q){this.data.y=q}update(){return Zo(this),Jo(this),this}}}function C(B,z,I){const q=(V,W)=>{const j=new B(V);Object.assign(j,{parent:W,depth:W===null?0:W.depth+1,height:0,length:1});const ke=I(V)||[];return j.children=ke.length===0?null:ke.map(ve=>q(ve,j)),j.children&&Object.assign(j,j.children.reduce((ve,De)=>({height:Math.max(ve.height,De.height+1),length:ve.length+De.length}),j)),j};return q(z,null)}return Object.assign(d,{nodeSize(B){return arguments.length?(a.nodeSize=B,d):a.nodeSize},spacing(B){return arguments.length?(a.spacing=B,d):a.spacing},children(B){return arguments.length?(a.children=B,d):a.children},hierarchy(B,z){const I=typeof z>"u"?a.children:z;return C(x(),B,I)},dump(B){const z=s("nodeSize"),I=q=>V=>{const W=q+"  ",j=q+"    ",{x:ke,y:ve}=V,De=z(V),Z=V.children||[],be=Z.length===0?" ":`,${W}children: [${j}${Z.map(I(j)).join(j)}${W}],${q}`;return`{ size: [${De.join(", ")}],${W}x: ${ke}, y: ${ve}${be}},`};return I(`
    +`)(B)}}),d}Ko.version=H2;const Zo=(n,a=0)=>(n.y=a,(n.children||[]).reduce((s,d)=>{const[x,b]=s;Zo(d,n.y+n.ySize);const C=(x===0?d.lExt:d.rExt).bottom;x!==0&&V2(n,x,b);const B=J2(C,x,b);return[x+1,B]},[0,null]),$2(n),Z2(n),n),Jo=(n,a,s)=>{typeof a>"u"&&(a=-n.relX-n.prelim,s=0);const d=a+n.relX;return n.relX=d+n.prelim-s,n.prelim=0,n.x=s+n.relX,(n.children||[]).forEach(x=>Jo(x,d,n.x)),n},$2=n=>{(n.children||[]).reduce((a,s)=>{const[d,x]=a,b=d+s.shift,C=x+b+s.change;return s.relX+=C,[b,C]},[0,0])},V2=(n,a,s)=>{const d=n.children[a-1],x=n.children[a];let b=d,C=d.relX,B=x,z=x.relX,I=!0;for(;b&&B;){b.bottom>s.lowY&&(s=s.next);const q=C+b.prelim-(z+B.prelim)+b.xSize/2+B.xSize/2+b.spacing(B);(q>0||q<0&&I)&&(z+=q,G2(x,q),j2(n,a,s.index,q)),I=!1;const V=b.bottom,W=B.bottom;V<=W&&(b=X2(b),b&&(C+=b.relX)),V>=W&&(B=Y2(B),B&&(z+=B.relX))}!b&&B?W2(n,a,B,z):b&&!B&&K2(n,a,b,C)},G2=(n,a)=>{n.relX+=a,n.lExtRelX+=a,n.rExtRelX+=a},j2=(n,a,s,d)=>{const x=n.children[a],b=a-s;if(b>1){const C=d/b;n.children[s+1].shift+=C,x.shift-=C,x.change-=d-C}},Y2=n=>n.hasChildren?n.firstChild:n.lThr,X2=n=>n.hasChildren?n.lastChild:n.rThr,W2=(n,a,s,d)=>{const x=n.firstChild,b=x.lExt,C=n.children[a];b.lThr=s;const B=d-s.relX-x.lExtRelX;b.relX+=B,b.prelim-=B,x.lExt=C.lExt,x.lExtRelX=C.lExtRelX},K2=(n,a,s,d)=>{const x=n.children[a],b=x.rExt,C=n.children[a-1];b.rThr=s;const B=d-s.relX-x.rExtRelX;b.relX+=B,b.prelim-=B,x.rExt=C.rExt,x.rExtRelX=C.rExtRelX},Z2=n=>{if(n.hasChildren){const a=n.firstChild,s=n.lastChild,d=(a.prelim+a.relX-a.xSize/2+s.relX+s.prelim+s.xSize/2)/2;Object.assign(n,{prelim:d,lExt:a.lExt,lExtRelX:a.lExtRelX,rExt:s.rExt,rExtRelX:s.rExtRelX})}},J2=(n,a,s)=>{for(;s!==null&&n>=s.lowY;)s=s.next;return{lowY:n,index:a,next:s}};/*! @gera2ld/jsx-dom v2.1.1 | ISC License */var Qo=1,es=2,v0=1,rs=4,Q2="http://www.w3.org/2000/svg",al="http://www.w3.org/1999/xlink",ef={show:al,actuate:al,href:al},rf=function(a){return typeof a=="string"||typeof a=="number"},tf=function(a){return(a==null?void 0:a.vtype)===Qo},nf=function(a){return(a==null?void 0:a.vtype)===es};function Ba(n,a){var s;if(typeof n=="string")s=Qo;else if(typeof n=="function")s=es;else throw new Error("Invalid VNode type");return{vtype:s,type:n,props:a}}function af(n){return n.children}var uf={isSvg:!1};function bl(n,a){if(a.type===v0)a.node!=null&&n.append(a.node);else if(a.type===rs)a.children.forEach(function(s){bl(n,s)});else throw new Error("Unkown ref type "+JSON.stringify(a))}function lf(n,a,s){for(var d in a)d==="key"||d==="children"||d==="ref"||(d==="dangerouslySetInnerHTML"?n.innerHTML=a[d].__html:d==="innerHTML"||d==="textContent"||d==="innerText"?n[d]=a[d]:d.startsWith("on")?n[d.toLowerCase()]=a[d]:sf(n,d,a[d],s.isSvg))}var of={className:"class",labelFor:"for"};function sf(n,a,s,d){if(a=of[a]||a,s===!0)n.setAttribute(a,"");else if(s===!1)n.removeAttribute(a);else{var x=d?ef[a]:void 0;x!==void 0?n.setAttributeNS(x,a,s):n.setAttribute(a,s)}}function Wn(n,a){if(a===void 0&&(a=uf),n==null||typeof n=="boolean")return{type:v0,node:null};if(n instanceof Node)return{type:v0,node:n};if(nf(n)){var s=n,d=s.type,x=s.props;if(d===af){var b=document.createDocumentFragment();if(x.children){var C=Wn(x.children,a);bl(b,C)}return{type:v0,node:b}}var B=d(x);return Wn(B,a)}if(rf(n))return{type:v0,node:document.createTextNode(""+n)};if(tf(n)){var z,I=n,q=I.type,V=I.props;!a.isSvg&&q==="svg"&&(a=Object.assign({},a,{isSvg:!0})),a.isSvg?z=document.createElementNS(Q2,q):z=document.createElement(q),lf(z,V,a);var W;if(V.children){var j=a;a.isSvg&&q==="foreignObject"&&(j=Object.assign({},j,{isSvg:!1})),W=Wn(V.children,j)}W!=null&&bl(z,W);var ke=V.ref;return typeof ke=="function"&&ke(z),{type:v0,node:z}}if(Array.isArray(n))return{type:rs,children:n.map(function(ve){return Wn(ve,a)})};throw new Error("mount: Invalid Vnode!")}function ts(n){for(var a=[],s=0;s{s.ySizeInner=s.ySize-a,s.y+=a,d()},"children")}function so(n,a){const s=Es(n,a);return n[s]}function co(n){n.stopPropagation()}function pf(){return{transformHtml:new xo}}const df=new xo,mf=Xo(Xh),vf=typeof navigator<"u"&&navigator.userAgent.includes("Macintosh");class Ua{constructor(a,s){this.revokers=[],["handleZoom","handleClick","handlePan"].forEach(d=>{this[d]=this[d].bind(this)}),this.viewHooks=pf(),this.svg=a.datum?a:jt(a),this.styleNode=this.svg.append("style"),this.zoom=s2().filter(d=>this.options.scrollForPan&&d.type==="wheel"?d.ctrlKey&&!d.button:(!d.ctrlKey||d.type==="wheel")&&!d.button).on("zoom",this.handleZoom),this.setOptions(s),this.state={id:this.options.id||this.svg.attr("id")||Cs()},this.g=this.svg.append("g"),this.revokers.push(df.tap(()=>{this.setData()}))}getStyleContent(){const{style:a}=this.options,{id:s}=this.state,d=typeof a=="function"?a(s):"";return[this.options.embedGlobalCSS&&cf,d].filter(Boolean).join(`
    +`)}updateStyle(){this.svg.attr("class",Ds(this.svg.attr("class"),"markmap",this.state.id));const a=this.getStyleContent();this.styleNode.text(a)}handleZoom(a){const{transform:s}=a;this.g.attr("transform",s)}handlePan(a){a.preventDefault();const s=Na(this.svg.node()),d=s.translate(-a.deltaX/s.k,-a.deltaY/s.k);this.svg.call(this.zoom.transform,d)}handleClick(a,s){var d;const{data:x}=s;x.payload=Gt({},x.payload,{fold:(d=x.payload)!=null&&d.fold?0:1}),this.renderData(s.data)}initializeData(a){let s=0;const{color:d,nodeMinHeight:x,maxWidth:b,initialExpandLevel:C}=this.options,{id:B}=this.state,z=qa(Ba("div",{className:`markmap-container markmap ${B}-g`})),I=qa(Ba("style",{children:[this.getStyleContent(),hf].join(`
    +`)}));document.body.append(z,I);const q=b?`max-width: ${b}px`:"";let V=0;ol(a,(j,ke,ve)=>{var De,Z,be;j.children=(De=j.children)==null?void 0:De.map(Oe=>Gt({},Oe)),s+=1;const qe=qa(Ba("div",{className:"markmap-foreign",style:q,children:Ba("div",{dangerouslySetInnerHTML:{__html:j.content}})}));z.append(qe),j.state=Gt({},j.state,{id:s,el:qe.firstChild}),j.state.path=[ve==null||(Z=ve.state)==null?void 0:Z.path,j.state.id].filter(Boolean).join("."),d(j);const Ve=((be=j.payload)==null?void 0:be.fold)===2;Ve?V+=1:(V||C>=0&&j.depth>=C)&&(j.payload=Gt({},j.payload,{fold:1})),ke(),Ve&&(V-=1)});const W=bo(z.childNodes).map(j=>j.firstChild);this.viewHooks.transformHtml.call(this,W),W.forEach(j=>{j.parentNode.append(j.cloneNode(!0))}),ol(a,(j,ke,ve)=>{var De;const Z=j.state.el.getBoundingClientRect();j.content=j.state.el.innerHTML,j.state.size=[Math.ceil(Z.width)+1,Math.max(Math.ceil(Z.height),x)],j.state.key=[ve==null||(De=ve.state)==null?void 0:De.id,j.state.id].filter(Boolean).join(".")+j.content,ke()}),z.remove(),I.remove()}setOptions(a){this.options=Gt({},Ua.defaultOptions,a),this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.svg.on("wheel",this.options.pan?this.handlePan:null)}setData(a,s){a&&(this.state.data=a),s&&this.setOptions(s),this.initializeData(this.state.data),this.updateStyle(),this.renderData()}renderData(a){var s,d;if(!this.state.data)return;const{spacingHorizontal:x,paddingX:b,spacingVertical:C,autoFit:B,color:z}=this.options,I=Ko().children(G=>{var P;return!((P=G.payload)!=null&&P.fold)&&G.children}).nodeSize(G=>{const[P,ce]=G.data.state.size;return[ce,P+(P?b*2:0)+x]}).spacing((G,P)=>G.parent===P.parent?C:C*2),q=I.hierarchy(this.state.data);I(q),ff(q,x);const V=q.descendants().reverse(),W=q.links(),j=t2(),ke=Ul(V,G=>G.x-G.xSize/2),ve=Hl(V,G=>G.x+G.xSize/2),De=Ul(V,G=>G.y),Z=Hl(V,G=>G.y+G.ySizeInner);Object.assign(this.state,{minX:ke,maxX:ve,minY:De,maxY:Z}),B&&this.fit();const be=a&&V.find(G=>G.data===a)||q,qe=(s=be.data.state.x0)!=null?s:be.x,Ve=(d=be.data.state.y0)!=null?d:be.y,Oe=this.g.selectAll(nn("g")).data(V,G=>G.data.state.key),ir=Oe.enter().append("g").attr("data-depth",G=>G.data.depth).attr("data-path",G=>G.data.state.path).attr("transform",G=>`translate(${Ve+be.ySizeInner-G.ySizeInner},${qe+be.xSize/2-G.xSize})`),ar=this.transition(Oe.exit());ar.select("line").attr("x1",G=>G.ySizeInner).attr("x2",G=>G.ySizeInner),ar.select("foreignObject").style("opacity",0),ar.attr("transform",G=>`translate(${be.y+be.ySizeInner-G.ySizeInner},${be.x+be.xSize/2-G.xSize})`).remove();const ur=Oe.merge(ir).attr("class",G=>{var P;return["markmap-node",((P=G.data.payload)==null?void 0:P.fold)&&"markmap-fold"].filter(Boolean).join(" ")});this.transition(ur).attr("transform",G=>`translate(${G.y},${G.x-G.xSize/2})`);const or=ur.selectAll(nn("line")).data(G=>[G],G=>G.data.state.key).join(G=>G.append("line").attr("x1",P=>P.ySizeInner).attr("x2",P=>P.ySizeInner),G=>G,G=>G.remove());this.transition(or).attr("x1",-1).attr("x2",G=>G.ySizeInner+2).attr("y1",G=>G.xSize).attr("y2",G=>G.xSize).attr("stroke",G=>z(G.data)).attr("stroke-width",oo);const Br=ur.selectAll(nn("circle")).data(G=>G.data.children?[G]:[],G=>G.data.state.key).join(G=>G.append("circle").attr("stroke-width","1.5").attr("cx",P=>P.ySizeInner).attr("cy",P=>P.xSize).attr("r",0).on("click",(P,ce)=>this.handleClick(P,ce)),G=>G,G=>G.remove());this.transition(Br).attr("r",6).attr("cx",G=>G.ySizeInner).attr("cy",G=>G.xSize).attr("stroke",G=>z(G.data)).attr("fill",G=>{var P;return(P=G.data.payload)!=null&&P.fold&&G.data.children?z(G.data):"#fff"});const sr=ur.selectAll(nn("foreignObject")).data(G=>[G],G=>G.data.state.key).join(G=>{const P=G.append("foreignObject").attr("class","markmap-foreign").attr("x",b).attr("y",0).style("opacity",0).on("mousedown",co).on("dblclick",co);return P.append("xhtml:div").select(function(re){const we=re.data.state.el.cloneNode(!0);return this.replaceWith(we),we}).attr("xmlns","http://www.w3.org/1999/xhtml"),P},G=>G,G=>G.remove()).attr("width",G=>Math.max(0,G.ySizeInner-b*2)).attr("height",G=>G.xSize);this.transition(sr).style("opacity",1);const Rr=this.g.selectAll(nn("path")).data(W,G=>G.target.data.state.key).join(G=>{const P=[Ve+be.ySizeInner,qe+be.xSize/2];return G.insert("path","g").attr("class","markmap-link").attr("data-depth",ce=>ce.target.data.depth).attr("data-path",ce=>ce.target.data.state.path).attr("d",j({source:P,target:P}))},G=>G,G=>{const P=[be.y+be.ySizeInner,be.x+be.xSize/2];return this.transition(G).attr("d",j({source:P,target:P})).remove()});this.transition(Rr).attr("stroke",G=>z(G.target.data)).attr("stroke-width",G=>oo(G.target)).attr("d",G=>{const P=[G.source.y+G.source.ySizeInner,G.source.x+G.source.xSize/2],ce=[G.target.y,G.target.x+G.target.xSize/2];return j({source:P,target:ce})}),V.forEach(G=>{G.data.state.x0=G.x,G.data.state.y0=G.y})}transition(a){const{duration:s}=this.options;return a.transition().duration(s)}async fit(){const a=this.svg.node(),{width:s,height:d}=a.getBoundingClientRect(),{fitRatio:x}=this.options,{minX:b,maxX:C,minY:B,maxY:z}=this.state,I=z-B,q=C-b,V=Math.min(s/I*x,d/q*x,2),W=Xa.translate((s-I*V)/2-B*V,(d-q*V)/2-b*V).scale(V);return this.transition(this.svg).call(this.zoom.transform,W).end().catch(el)}async ensureView(a,s){let d,x;if(this.g.selectAll(nn("g")).each(function(be){be.data===a&&(d=this,x=be)}),!d||!x)return;const b=this.svg.node(),C=b.getBoundingClientRect(),B=Na(b),[z,I]=[x.y,x.y+x.ySizeInner+2].map(Z=>Z*B.k+B.x),[q,V]=[x.x-x.xSize/2,x.x+x.xSize/2].map(Z=>Z*B.k+B.y),W=Gt({left:0,right:0,top:0,bottom:0},s),j=[W.left-z,C.width-W.right-I],ke=[W.top-q,C.height-W.bottom-V],ve=j[0]*j[1]>0?so(j,Math.abs)/B.k:0,De=ke[0]*ke[1]>0?so(ke,Math.abs)/B.k:0;if(ve||De){const Z=B.translate(ve,De);return this.transition(this.svg).call(this.zoom.transform,Z).end().catch(el)}}async rescale(a){const s=this.svg.node(),{width:d,height:x}=s.getBoundingClientRect(),b=d/2,C=x/2,B=Na(s),z=B.translate((b-B.x)*(1-a)/B.k,(C-B.y)*(1-a)/B.k).scale(a);return this.transition(this.svg).call(this.zoom.transform,z).end().catch(el)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this.revokers.forEach(a=>{a()})}static create(a,s,d){const x=new Ua(a,s);return d&&(x.setData(d),x.fit()),x}}Ua.defaultOptions={autoFit:!1,color:n=>mf(`${n.state.path}`),duration:500,embedGlobalCSS:!0,fitRatio:.95,maxWidth:0,nodeMinHeight:16,paddingX:8,scrollForPan:vf,spacingHorizontal:80,spacingVertical:5,initialExpandLevel:-1,zoom:!0,pan:!0};var is={exports:{}};(function(n,a){(function(s,d){d()})(m0,function(){function s(I,q){return typeof q>"u"?q={autoBom:!1}:typeof q!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),q={autoBom:!q}),q.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(I.type)?new Blob(["\uFEFF",I],{type:I.type}):I}function d(I,q,V){var W=new XMLHttpRequest;W.open("GET",I),W.responseType="blob",W.onload=function(){z(W.response,q,V)},W.onerror=function(){console.error("could not download file")},W.send()}function x(I){var q=new XMLHttpRequest;q.open("HEAD",I,!1);try{q.send()}catch{}return 200<=q.status&&299>=q.status}function b(I){try{I.dispatchEvent(new MouseEvent("click"))}catch{var q=document.createEvent("MouseEvents");q.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),I.dispatchEvent(q)}}var C=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof m0=="object"&&m0.global===m0?m0:void 0,B=C.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),z=C.saveAs||(typeof window!="object"||window!==C?function(){}:"download"in HTMLAnchorElement.prototype&&!B?function(I,q,V){var W=C.URL||C.webkitURL,j=document.createElement("a");q=q||I.name||"download",j.download=q,j.rel="noopener",typeof I=="string"?(j.href=I,j.origin===location.origin?b(j):x(j.href)?d(I,q,V):b(j,j.target="_blank")):(j.href=W.createObjectURL(I),setTimeout(function(){W.revokeObjectURL(j.href)},4e4),setTimeout(function(){b(j)},0))}:"msSaveOrOpenBlob"in navigator?function(I,q,V){if(q=q||I.name||"download",typeof I!="string")navigator.msSaveOrOpenBlob(s(I,V),q);else if(x(I))d(I,q,V);else{var W=document.createElement("a");W.href=I,W.target="_blank",setTimeout(function(){b(W)})}}:function(I,q,V,W){if(W=W||open("","_blank"),W&&(W.document.title=W.document.body.innerText="downloading..."),typeof I=="string")return d(I,q,V);var j=I.type==="application/octet-stream",ke=/constructor/i.test(C.HTMLElement)||C.safari,ve=/CriOS\/[\d]+/.test(navigator.userAgent);if((ve||j&&ke||B)&&typeof FileReader<"u"){var De=new FileReader;De.onloadend=function(){var qe=De.result;qe=ve?qe:qe.replace(/^data:[^;]*;/,"data:attachment/file;"),W?W.location.href=qe:location=qe,W=null},De.readAsDataURL(I)}else{var Z=C.URL||C.webkitURL,be=Z.createObjectURL(I);W?W.location=be:location.href=be,W=null,setTimeout(function(){Z.revokeObjectURL(be)},4e4)}});C.saveAs=z.saveAs=z,n.exports=z})})(is);var c4=is.exports;function gf(n,a){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;const s=document.implementation.createHTMLDocument(),d=s.createElement("base"),x=s.createElement("a");return s.head.appendChild(d),s.body.appendChild(x),a&&(d.href=a),x.href=n,x.href}const yf=(()=>{let n=0;const a=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(n+=1,`u${a()}${n}`)})();function Mt(n){const a=[];for(let s=0,d=n.length;sGr||n.height>Gr)&&(n.width>Gr&&n.height>Gr?n.width>n.height?(n.height*=Gr/n.width,n.width=Gr):(n.width*=Gr/n.height,n.height=Gr):n.width>Gr?(n.height*=Gr/n.width,n.width=Gr):(n.width*=Gr/n.height,n.height=Gr))}function Va(n){return new Promise((a,s)=>{const d=new Image;d.decode=()=>a(d),d.onload=()=>a(d),d.onerror=s,d.crossOrigin="anonymous",d.decoding="async",d.src=n})}async function kf(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(a=>`data:image/svg+xml;charset=utf-8,${a}`)}async function Sf(n,a,s){const d="http://www.w3.org/2000/svg",x=document.createElementNS(d,"svg"),b=document.createElementNS(d,"foreignObject");return x.setAttribute("width",`${a}`),x.setAttribute("height",`${s}`),x.setAttribute("viewBox",`0 0 ${a} ${s}`),b.setAttribute("width","100%"),b.setAttribute("height","100%"),b.setAttribute("x","0"),b.setAttribute("y","0"),b.setAttribute("externalResourcesRequired","true"),x.appendChild(b),b.appendChild(n),kf(x)}const Nr=(n,a)=>{if(n instanceof a)return!0;const s=Object.getPrototypeOf(n);return s===null?!1:s.constructor.name===a.name||Nr(s,a)};function Cf(n){const a=n.getPropertyValue("content");return`${n.cssText} content: '${a.replace(/'|"/g,"")}';`}function Df(n){return Mt(n).map(a=>{const s=n.getPropertyValue(a),d=n.getPropertyPriority(a);return`${a}: ${s}${d?" !important":""};`}).join(" ")}function Ef(n,a,s){const d=`.${n}:${a}`,x=s.cssText?Cf(s):Df(s);return document.createTextNode(`${d}{${x}}`)}function ho(n,a,s){const d=window.getComputedStyle(n,s),x=d.getPropertyValue("content");if(x===""||x==="none")return;const b=yf();try{a.className=`${a.className} ${b}`}catch{return}const C=document.createElement("style");C.appendChild(Ef(b,s,d)),a.appendChild(C)}function Bf(n,a){ho(n,a,":before"),ho(n,a,":after")}const fo="application/font-woff",po="image/jpeg",Mf={woff:fo,woff2:fo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:po,jpeg:po,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Tf(n){const a=/\.([^./]*?)$/g.exec(n);return a?a[1]:""}function Tl(n){const a=Tf(n).toLowerCase();return Mf[a]||""}function _f(n){return n.split(/,/)[1]}function wl(n){return n.search(/^(data:)/)!==-1}function us(n,a){return`data:${a};base64,${n}`}async function ls(n,a,s){const d=await fetch(n,a);if(d.status===404)throw new Error(`Resource "${d.url}" not found`);const x=await d.blob();return new Promise((b,C)=>{const B=new FileReader;B.onerror=C,B.onloadend=()=>{try{b(s({res:d,result:B.result}))}catch(z){C(z)}},B.readAsDataURL(x)})}const ul={};function zf(n,a,s){let d=n.replace(/\?.*/,"");return s&&(d=n),/ttf|otf|eot|woff2?/i.test(d)&&(d=d.replace(/.*\//,"")),a?`[${a}]${d}`:d}async function _l(n,a,s){const d=zf(n,a,s.includeQueryParams);if(ul[d]!=null)return ul[d];s.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let x;try{const b=await ls(n,s.fetchRequestInit,({res:C,result:B})=>(a||(a=C.headers.get("Content-Type")||""),_f(B)));x=us(b,a)}catch(b){x=s.imagePlaceholder||"";let C=`Failed to fetch resource: ${n}`;b&&(C=typeof b=="string"?b:b.message),C&&console.warn(C)}return ul[d]=x,x}async function Ff(n){const a=n.toDataURL();return a==="data:,"?n.cloneNode(!1):Va(a)}async function Nf(n,a){if(n.currentSrc){const b=document.createElement("canvas"),C=b.getContext("2d");b.width=n.clientWidth,b.height=n.clientHeight,C==null||C.drawImage(n,0,0,b.width,b.height);const B=b.toDataURL();return Va(B)}const s=n.poster,d=Tl(s),x=await _l(s,d,a);return Va(x)}async function qf(n){var a;try{if(!((a=n==null?void 0:n.contentDocument)===null||a===void 0)&&a.body)return await Wa(n.contentDocument.body,{},!0)}catch{}return n.cloneNode(!1)}async function Rf(n,a){return Nr(n,HTMLCanvasElement)?Ff(n):Nr(n,HTMLVideoElement)?Nf(n,a):Nr(n,HTMLIFrameElement)?qf(n):n.cloneNode(!1)}const If=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT";async function Of(n,a,s){var d,x;let b=[];return If(n)&&n.assignedNodes?b=Mt(n.assignedNodes()):Nr(n,HTMLIFrameElement)&&(!((d=n.contentDocument)===null||d===void 0)&&d.body)?b=Mt(n.contentDocument.body.childNodes):b=Mt(((x=n.shadowRoot)!==null&&x!==void 0?x:n).childNodes),b.length===0||Nr(n,HTMLVideoElement)||await b.reduce((C,B)=>C.then(()=>Wa(B,s)).then(z=>{z&&a.appendChild(z)}),Promise.resolve()),a}function Lf(n,a){const s=a.style;if(!s)return;const d=window.getComputedStyle(n);d.cssText?(s.cssText=d.cssText,s.transformOrigin=d.transformOrigin):Mt(d).forEach(x=>{let b=d.getPropertyValue(x);x==="font-size"&&b.endsWith("px")&&(b=`${Math.floor(parseFloat(b.substring(0,b.length-2)))-.1}px`),Nr(n,HTMLIFrameElement)&&x==="display"&&b==="inline"&&(b="block"),x==="d"&&a.getAttribute("d")&&(b=`path(${a.getAttribute("d")})`),s.setProperty(x,b,d.getPropertyPriority(x))})}function Pf(n,a){Nr(n,HTMLTextAreaElement)&&(a.innerHTML=n.value),Nr(n,HTMLInputElement)&&a.setAttribute("value",n.value)}function Hf(n,a){if(Nr(n,HTMLSelectElement)){const s=a,d=Array.from(s.children).find(x=>n.value===x.getAttribute("value"));d&&d.setAttribute("selected","")}}function Uf(n,a){return Nr(a,Element)&&(Lf(n,a),Bf(n,a),Pf(n,a),Hf(n,a)),a}async function $f(n,a){const s=n.querySelectorAll?n.querySelectorAll("use"):[];if(s.length===0)return n;const d={};for(let b=0;bRf(d,a)).then(d=>Of(n,d,a)).then(d=>Uf(n,d)).then(d=>$f(d,a))}const os=/url\((['"]?)([^'"]+?)\1\)/g,Vf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Gf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jf(n){const a=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${a})(['"]?\\))`,"g")}function Yf(n){const a=[];return n.replace(os,(s,d,x)=>(a.push(x),s)),a.filter(s=>!wl(s))}async function Xf(n,a,s,d,x){try{const b=s?gf(a,s):a,C=Tl(a);let B;if(x){const z=await x(b);B=us(z,C)}else B=await _l(b,C,d);return n.replace(jf(a),`$1${B}$3`)}catch{}return n}function Wf(n,{preferredFontFormat:a}){return a?n.replace(Gf,s=>{for(;;){const[d,,x]=Vf.exec(s)||[];if(!x)return"";if(x===a)return`src: ${d};`}}):n}function ss(n){return n.search(os)!==-1}async function cs(n,a,s){if(!ss(n))return n;const d=Wf(n,s);return Yf(d).reduce((b,C)=>b.then(B=>Xf(B,C,a,s)),Promise.resolve(d))}async function Ma(n,a,s){var d;const x=(d=a.style)===null||d===void 0?void 0:d.getPropertyValue(n);if(x){const b=await cs(x,null,s);return a.style.setProperty(n,b,a.style.getPropertyPriority(n)),!0}return!1}async function Kf(n,a){await Ma("background",n,a)||await Ma("background-image",n,a),await Ma("mask",n,a)||await Ma("mask-image",n,a)}async function Zf(n,a){const s=Nr(n,HTMLImageElement);if(!(s&&!wl(n.src))&&!(Nr(n,SVGImageElement)&&!wl(n.href.baseVal)))return;const d=s?n.src:n.href.baseVal,x=await _l(d,Tl(d),a);await new Promise((b,C)=>{n.onload=b,n.onerror=C;const B=n;B.decode&&(B.decode=b),B.loading==="lazy"&&(B.loading="eager"),s?(n.srcset="",n.src=x):n.href.baseVal=x})}async function Jf(n,a){const d=Mt(n.childNodes).map(x=>hs(x,a));await Promise.all(d).then(()=>n)}async function hs(n,a){Nr(n,Element)&&(await Kf(n,a),await Zf(n,a),await Jf(n,a))}function Qf(n,a){const{style:s}=n;a.backgroundColor&&(s.backgroundColor=a.backgroundColor),a.width&&(s.width=`${a.width}px`),a.height&&(s.height=`${a.height}px`);const d=a.style;return d!=null&&Object.keys(d).forEach(x=>{s[x]=d[x]}),n}const mo={};async function vo(n){let a=mo[n];if(a!=null)return a;const d=await(await fetch(n)).text();return a={url:n,cssText:d},mo[n]=a,a}async function go(n,a){let s=n.cssText;const d=/url\(["']?([^"')]+)["']?\)/g,b=(s.match(/url\([^)]+\)/g)||[]).map(async C=>{let B=C.replace(d,"$1");return B.startsWith("https://")||(B=new URL(B,n.url).href),ls(B,a.fetchRequestInit,({result:z})=>(s=s.replace(C,`url(${z})`),[C,z]))});return Promise.all(b).then(()=>s)}function yo(n){if(n==null)return[];const a=[],s=/(\/\*[\s\S]*?\*\/)/gi;let d=n.replace(s,"");const x=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const z=x.exec(d);if(z===null)break;a.push(z[0])}d=d.replace(x,"");const b=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,C="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",B=new RegExp(C,"gi");for(;;){let z=b.exec(d);if(z===null){if(z=B.exec(d),z===null)break;b.lastIndex=B.lastIndex}else B.lastIndex=b.lastIndex;a.push(z[0])}return a}async function e4(n,a){const s=[],d=[];return n.forEach(x=>{if("cssRules"in x)try{Mt(x.cssRules||[]).forEach((b,C)=>{if(b.type===CSSRule.IMPORT_RULE){let B=C+1;const z=b.href,I=vo(z).then(q=>go(q,a)).then(q=>yo(q).forEach(V=>{try{x.insertRule(V,V.startsWith("@import")?B+=1:x.cssRules.length)}catch(W){console.error("Error inserting rule from remote css",{rule:V,error:W})}})).catch(q=>{console.error("Error loading remote css",q.toString())});d.push(I)}})}catch(b){const C=n.find(B=>B.href==null)||document.styleSheets[0];x.href!=null&&d.push(vo(x.href).then(B=>go(B,a)).then(B=>yo(B).forEach(z=>{C.insertRule(z,x.cssRules.length)})).catch(B=>{console.error("Error loading remote stylesheet",B)})),console.error("Error inlining remote css file",b)}}),Promise.all(d).then(()=>(n.forEach(x=>{if("cssRules"in x)try{Mt(x.cssRules||[]).forEach(b=>{s.push(b)})}catch(b){console.error(`Error while reading CSS rules from ${x.href}`,b)}}),s))}function r4(n){return n.filter(a=>a.type===CSSRule.FONT_FACE_RULE).filter(a=>ss(a.style.getPropertyValue("src")))}async function t4(n,a){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");const s=Mt(n.ownerDocument.styleSheets),d=await e4(s,a);return r4(d)}async function n4(n,a){const s=await t4(n,a);return(await Promise.all(s.map(x=>{const b=x.parentStyleSheet?x.parentStyleSheet.href:null;return cs(x.cssText,b,a)}))).join(`
    +`)}async function i4(n,a){const s=a.fontEmbedCSS!=null?a.fontEmbedCSS:a.skipFonts?null:await n4(n,a);if(s){const d=document.createElement("style"),x=document.createTextNode(s);d.appendChild(x),n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d)}}async function a4(n,a={}){const{width:s,height:d}=as(n,a),x=await Wa(n,a,!0);return await i4(x,a),await hs(x,a),Qf(x,a),await Sf(x,s,d)}async function u4(n,a={}){const{width:s,height:d}=as(n,a),x=await a4(n,a),b=await Va(x),C=document.createElement("canvas"),B=C.getContext("2d"),z=a.pixelRatio||wf(),I=a.canvasWidth||s,q=a.canvasHeight||d;return C.width=I*z,C.height=q*z,a.skipAutoScale||Af(C),C.style.width=`${I}`,C.style.height=`${q}`,a.backgroundColor&&(B.fillStyle=a.backgroundColor,B.fillRect(0,0,C.width,C.height)),B.drawImage(b,0,0,C.width,C.height),C}async function h4(n,a={}){return(await u4(n,a)).toDataURL()}export{c4 as F,Ua as M,s4 as b,ks as r,h4 as t};
    diff --git a/public/assets/index-b71062e6.js.br b/public/assets/index-b71062e6.js.br
    new file mode 100644
    index 0000000..124d515
    Binary files /dev/null and b/public/assets/index-b71062e6.js.br differ
    diff --git a/public/assets/index-c53889db.js b/public/assets/index-c53889db.js
    deleted file mode 100644
    index 73b9cb9..0000000
    --- a/public/assets/index-c53889db.js
    +++ /dev/null
    @@ -1,16 +0,0 @@
    -import{c3 as te,g as T,bV as R,u as G,aK as se,k as C,n as oe,t as U,y as L,v as _,ao as k,a9 as ne,bH as ae,cA as ie,c7 as le,a as D,d as B,c as F,h as H,cB as ce,r as S,aT as re,c8 as pe,c9 as de,Y as ue,ca as ve,A,ak as fe,H as K,az as me,J as he,E as z,F as M,G as e,S as u,Q as r,X as t,R as v,am as b,aA as ge,_ as $,O as _e,P as xe,bG as ye,a0 as O,L as ke,U as q,cC as we,as as Ce}from"./index-2efe4620.js";import{N as V}from"./Input-4816b01d.js";import{N as Pe}from"./Select-b45c26f7.js";import{a as be,N as E}from"./Tabs-d30e51ae.js";import"./Add-1eab33c9.js";const W=te("n-popconfirm"),Y={positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0}},J=le(Y),$e=T({name:"NPopconfirmPanel",props:Y,setup(n){const{localeRef:s}=R("Popconfirm"),{inlineThemeDisabled:c}=G(),{mergedClsPrefixRef:a,mergedThemeRef:d,props:m}=se(W),h=C(()=>{const{common:{cubicBezierEaseInOut:i},self:{fontSize:g,iconSize:x,iconColor:w}}=d.value;return{"--n-bezier":i,"--n-font-size":g,"--n-icon-size":x,"--n-icon-color":w}}),o=c?oe("popconfirm-panel",void 0,h,m):void 0;return Object.assign(Object.assign({},R("Popconfirm")),{mergedClsPrefix:a,cssVars:c?void 0:h,localizedPositiveText:C(()=>n.positiveText||s.value.positiveText),localizedNegativeText:C(()=>n.negativeText||s.value.negativeText),positiveButtonProps:U(m,"positiveButtonProps"),negativeButtonProps:U(m,"negativeButtonProps"),handlePositiveClick(i){n.onPositiveClick(i)},handleNegativeClick(i){n.onNegativeClick(i)},themeClass:o==null?void 0:o.themeClass,onRender:o==null?void 0:o.onRender})},render(){var n;const{mergedClsPrefix:s,showIcon:c,$slots:a}=this,d=L(a.action,()=>this.negativeText===null&&this.positiveText===null?[]:[this.negativeText!==null&&_(k,Object.assign({size:"small",onClick:this.handleNegativeClick},this.negativeButtonProps),{default:()=>this.localizedNegativeText}),this.positiveText!==null&&_(k,Object.assign({size:"small",type:"primary",onClick:this.handlePositiveClick},this.positiveButtonProps),{default:()=>this.localizedPositiveText})]);return(n=this.onRender)===null||n===void 0||n.call(this),_("div",{class:[`${s}-popconfirm__panel`,this.themeClass],style:this.cssVars},ne(a.default,m=>c||m?_("div",{class:`${s}-popconfirm__body`},c?_("div",{class:`${s}-popconfirm__icon`},L(a.icon,()=>[_(ae,{clsPrefix:s},{default:()=>_(ie,null)})])):null,m):null),d?_("div",{class:[`${s}-popconfirm__action`]},d):null)}}),Se=D("popconfirm",[B("body",`
    - font-size: var(--n-font-size);
    - display: flex;
    - align-items: center;
    - flex-wrap: nowrap;
    - position: relative;
    - `,[B("icon",`
    - display: flex;
    - font-size: var(--n-icon-size);
    - color: var(--n-icon-color);
    - transition: color .3s var(--n-bezier);
    - margin: 0 8px 0 0;
    - `)]),B("action",`
    - display: flex;
    - justify-content: flex-end;
    - `,[F("&:not(:first-child)","margin-top: 8px"),D("button",[F("&:not(:last-child)","margin-right: 8px;")])])]),Ne=Object.assign(Object.assign(Object.assign({},H.props),ve),{positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},trigger:{type:String,default:"click"},positiveButtonProps:Object,negativeButtonProps:Object,onPositiveClick:Function,onNegativeClick:Function}),Te=T({name:"Popconfirm",props:Ne,__popover__:!0,setup(n){const{mergedClsPrefixRef:s}=G(),c=H("Popconfirm","-popconfirm",Se,ce,n,s),a=S(null);function d(o){var i;if(!(!((i=a.value)===null||i===void 0)&&i.getMergedShow()))return;const{onPositiveClick:g,"onUpdate:show":x}=n;Promise.resolve(g?g(o):!0).then(w=>{var y;w!==!1&&((y=a.value)===null||y===void 0||y.setShow(!1),x&&A(x,!1))})}function m(o){var i;if(!(!((i=a.value)===null||i===void 0)&&i.getMergedShow()))return;const{onNegativeClick:g,"onUpdate:show":x}=n;Promise.resolve(g?g(o):!0).then(w=>{var y;w!==!1&&((y=a.value)===null||y===void 0||y.setShow(!1),x&&A(x,!1))})}return re(W,{mergedThemeRef:c,mergedClsPrefixRef:s,props:n}),{setShow(o){var i;(i=a.value)===null||i===void 0||i.setShow(o)},syncPosition(){var o;(o=a.value)===null||o===void 0||o.syncPosition()},mergedTheme:c,popoverInstRef:a,handlePositiveClick:d,handleNegativeClick:m}},render(){const{$slots:n,$props:s,mergedTheme:c}=this;return _(ue,de(s,J,{theme:c.peers.Popover,themeOverrides:c.peerOverrides.Popover,internalExtraClass:["popconfirm"],ref:"popoverInstRef"}),{trigger:n.activator||n.trigger,default:()=>{const a=pe(s,J);return _($e,Object.assign(Object.assign({},a),{onPositiveClick:this.handlePositiveClick,onNegativeClick:this.handleNegativeClick}),n)}})}});function Ie(){const n=new Date,s=n.getDate(),c=n.getMonth()+1;return`${n.getFullYear()}-${c}-${s}`}const ze={class:"p-4 space-y-5 min-h-[200px]"},Be={class:"space-y-6"},Oe={class:"flex items-center space-x-4"},je={class:"flex-shrink-0 w-[100px]"},Re={class:"flex-1"},Ue={class:"flex items-center space-x-4"},Le={class:"flex-shrink-0 w-[100px]"},De={class:"w-[200px]"},Fe={class:"flex-shrink-0 w-[100px]"},Ae={class:"flex flex-wrap items-center gap-4"},Me={class:"flex items-center space-x-4"},Ve={class:"flex-shrink-0 w-[100px]"},Ee={class:"flex flex-wrap items-center gap-4"},Je={class:"flex items-center space-x-4"},Ge={class:"flex-shrink-0 w-[100px]"},He={class:"flex flex-wrap items-center gap-4"},Ke=T({__name:"General",setup(n){const s=fe(),c=K(),{isMobile:a}=me(),d=he(),m=C(()=>s.theme),h=C(()=>c.userInfo),o=S(h.value.avatar??""),i=S(h.value.username??""),g=S(!1),x=C({get(){return s.language},set(l){s.setLanguage(l)}}),w=[{label:"Auto",key:"auto",icon:"ri:contrast-line"},{label:"Light",key:"light",icon:"ri:sun-foggy-line"},{label:"Dark",key:"dark",icon:"ri:moon-foggy-line"}],y=[{label:"简体中文",key:"zh-CN",value:"zh-CN"}];async function j(l){try{g.value=!0;const p=await ye(l);if(g.value=!1,!p.success)return d.error(p.message);d.success(O("common.updateUserSuccess")),c.getUserInfo()}catch{g.value=!1}}function Q(){const l=Ie(),p=localStorage.getItem("chatStorage")||"{}",f=JSON.stringify(JSON.parse(p),null,2),P=new Blob([f],{type:"application/json"}),I=URL.createObjectURL(P),N=document.createElement("a");N.href=I,N.download=`chat-store_${l}.json`,document.body.appendChild(N),N.click(),document.body.removeChild(N)}function X(l){const p=l.target;if(!p||!p.files)return;const f=p.files[0];if(!f)return;const P=new FileReader;P.onload=()=>{try{const I=JSON.parse(P.result);localStorage.setItem("chatStorage",JSON.stringify(I)),d.success(O("common.success")),location.reload()}catch{d.error(O("common.invalidFileFormat"))}},P.readAsText(f)}function Z(){localStorage.removeItem("chatStorage"),location.reload()}function ee(){const l=document.getElementById("fileInput");l&&l.click()}return(l,p)=>(z(),M("div",ze,[e("div",Be,[e("div",Oe,[e("span",je,u(l.$t("setting.avatarLink")),1),e("div",Re,[r(t(V),{value:o.value,"onUpdate:value":p[0]||(p[0]=f=>o.value=f),placeholder:"请填写头像地址"},null,8,["value"])]),r(t(k),{size:"tiny",disabled:g.value,text:"",type:"primary",onClick:p[1]||(p[1]=f=>j({avatar:o.value}))},{default:v(()=>[b(u(l.$t("common.update")),1)]),_:1},8,["disabled"])]),e("div",Ue,[e("span",Le,u(l.$t("setting.name")),1),e("div",De,[r(t(V),{value:i.value,"onUpdate:value":p[2]||(p[2]=f=>i.value=f),placeholder:"请填写用户名"},null,8,["value"])]),r(t(k),{size:"tiny",disabled:g.value,text:"",type:"primary",onClick:p[3]||(p[3]=f=>j({username:i.value}))},{default:v(()=>[b(u(l.$t("common.update")),1)]),_:1},8,["disabled"])]),e("div",{class:ge(["flex items-center space-x-4",t(a)&&"items-start"])},[e("span",Fe,u(l.$t("setting.chatHistory")),1),e("div",Ae,[r(t(k),{size:"small",onClick:Q},{icon:v(()=>[r(t($),{icon:"ri:download-2-fill"})]),default:v(()=>[b(" "+u(l.$t("common.export")),1)]),_:1}),e("input",{id:"fileInput",type:"file",style:{display:"none"},onChange:X},null,32),r(t(k),{size:"small",onClick:ee},{icon:v(()=>[r(t($),{icon:"ri:upload-2-fill"})]),default:v(()=>[b(" "+u(l.$t("common.import")),1)]),_:1}),r(t(Te),{placement:"bottom",onPositiveClick:Z},{trigger:v(()=>[r(t(k),{size:"small"},{icon:v(()=>[r(t($),{icon:"ri:close-circle-line"})]),default:v(()=>[b(" "+u(l.$t("common.clear")),1)]),_:1})]),default:v(()=>[b(" "+u(l.$t("chat.clearHistoryConfirm")),1)]),_:1})])],2),e("div",Me,[e("span",Ve,u(l.$t("setting.theme")),1),e("div",Ee,[(z(),M(_e,null,xe(w,f=>r(t(k),{key:f.key,size:"small",type:f.key===m.value?"primary":void 0,onClick:P=>t(s).setTheme(f.key)},{icon:v(()=>[r(t($),{icon:f.icon},null,8,["icon"])]),_:2},1032,["type","onClick"])),64))])]),e("div",Je,[e("span",Ge,u(l.$t("setting.language")),1),e("div",He,[r(t(Pe),{style:{width:"140px"},value:x.value,options:y,onUpdateValue:p[4]||(p[4]=f=>t(s).setLanguage(f))},null,8,["value"])])])])]))}}),qe={class:"p-4 space-y-5 min-h-[200px]"},We={class:"flex items-center space-x-4"},Ye=e("span",{class:"flex-shrink-0 w-[100px]"},"用户邮箱",-1),Qe={class:"w-[200px]"},Xe={class:"flex items-center space-x-4"},Ze=e("span",{class:"flex-shrink-0 w-[100px]"},"用户姓名",-1),et={class:"w-[200px]"},tt={class:"flex items-center space-x-4"},st=e("span",{class:"flex-shrink-0 w-[100px]"},"问答余额",-1),ot={class:"w-[200px]"},nt={class:"flex items-center space-x-4"},at=e("span",{class:"flex-shrink-0 w-[100px]"},"绘画余额",-1),it={class:"w-[200px]"},lt={class:"flex items-center space-x-4"},ct=e("span",{class:"flex-shrink-0 w-[100px]"},"MJToken",-1),rt={class:"w-[200px]"},pt={class:"flex items-center space-x-4"},dt=e("span",{class:"flex-shrink-0 w-[100px]"},"使用金额",-1),ut={class:"w-[200px]"},vt=T({__name:"Personal",setup(n){const s=K(),{userInfo:c,userBalance:a}=s,d=S(!1);ke(async()=>{m()});async function m(){try{d.value=!0,await s.getUserInfo(),d.value=!1}catch{d.value=!1}}return(h,o)=>(z(),q(t(we),{show:d.value},{default:v(()=>[e("div",qe,[e("div",We,[Ye,e("div",Qe,u(t(c).email||"--"),1)]),e("div",Xe,[Ze,e("div",et,u(t(c).username||"--"),1)]),e("div",tt,[st,e("div",ot,u(t(a).usesLeft||"0")+" 积分 ",1)]),e("div",nt,[at,e("div",it,u(t(a).paintCount||"0")+" 积分 ",1)]),e("div",lt,[ct,e("div",rt,u(t(a).balance||"0")+" Token ",1)]),e("div",pt,[dt,e("div",ut,u(t(a).useTokens||"0")+" Token ",1)])])]),_:1},8,["show"]))}}),ft={class:"ml-2"},mt={class:"ml-2"},ht={class:"min-h-[100px]"},wt=T({__name:"index",props:{visible:{type:Boolean}},emits:["update:visible"],setup(n,{emit:s}){const c=n,a=s,d=S("personalInfo"),m=C({get(){return c.visible},set(h){a("update:visible",h)}});return(h,o)=>(z(),q(t(Ce),{show:m.value,"onUpdate:show":o[1]||(o[1]=i=>m.value=i),title:"个人中心","auto-focus":!1,preset:"card",style:{width:"95%","max-width":"640px"}},{default:v(()=>[e("div",null,[r(t(be),{value:d.value,"onUpdate:value":o[0]||(o[0]=i=>d.value=i),type:"line",animated:""},{default:v(()=>[r(t(E),{name:"personalInfo",tab:"personalInfo"},{tab:v(()=>[r(t($),{class:"text-lg",icon:"ri:file-user-line"}),e("span",ft,u(h.$t("setting.personalInfo")),1)]),default:v(()=>[r(vt)]),_:1}),r(t(E),{name:"General",tab:"General"},{tab:v(()=>[r(t($),{class:"text-lg",icon:"ri:list-settings-line"}),e("span",mt,u(h.$t("setting.general")),1)]),default:v(()=>[e("div",ht,[r(Ke)])]),_:1})]),_:1},8,["value"])])]),_:1},8,["show"]))}});export{wt as default};
    diff --git a/public/assets/index-d64a7cc4.js b/public/assets/index-d64a7cc4.js
    new file mode 100644
    index 0000000..f2c5122
    --- /dev/null
    +++ b/public/assets/index-d64a7cc4.js
    @@ -0,0 +1,62 @@
    +import{d as rt,S as zi,V as Ki,W as wt,X as ut,M as Re,m as z0,l as mt,Y as ia,r as Ze,E as Yi,Z as K0,a as nt,w as St,j as Xi,N as Gt,_ as Qi,$ as Y0,K as X0,L as Q0,n as Ji,a0 as J0,e as ve,g as $t,f as Zi,G as Z0,x as sa,h as ec,F as es,D as tc,a1 as rc,p as Lr,P as nc,a2 as ac}from"./vue-10b4afc0.js";import{N as oc,a as ic,b as sc,c as cc,u as lc,d as uc,e as fc,f as dc,g as hc,h as re,i as xc,j as pc,k as nr,l as mc,m as gc,n as vc,o as Rr}from"./naive-ui-fedd20b1.js";import{i as Ec}from"./vueuse-motion-d4cdaf7b.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const bc="modulepreload",Cc=function(e,t){return new URL(e,t).href},Wa={},Ie=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Cc(a,n),a in Wa)return;Wa[a]=!0;const i=a.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===a&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":bc,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})},_c=""+new URL("favicon-25a41591.ico",import.meta.url).href,yc=rt({__name:"index",setup(e){function t(){window.$loadingBar=lc(),window.$dialog=uc(),window.$message=fc(),window.$notification=dc()}const r=rt({name:"NaiveProviderContent",setup(){t()},render(){return mt("div")}});return(n,o)=>(zi(),Ki(Re(cc),null,{default:wt(()=>[ut(Re(sc),null,{default:wt(()=>[ut(Re(oc),null,{default:wt(()=>[ut(Re(ic),null,{default:wt(()=>[z0(n.$slots,"default"),ut(Re(r))]),_:3})]),_:3})]),_:3})]),_:3}))}}),Ut=/^[a-z0-9]+(-[a-z0-9]+)*$/,mr=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),f=o.pop(),c={provider:o.length>0?o[0]:n,prefix:f,name:l};return t&&!ar(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:n,prefix:i.shift(),name:i.join("-")};return t&&!ar(l)?null:l}if(r&&n===""){const l={provider:n,prefix:"",name:a};return t&&!ar(l,r)?null:l}return null},ar=(e,t)=>e?!!((e.provider===""||e.provider.match(Ut))&&(t&&e.prefix===""||e.prefix.match(Ut))&&e.name.match(Ut)):!1,ts=Object.freeze({left:0,top:0,width:16,height:16}),fr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),gr=Object.freeze({...ts,...fr}),Pn=Object.freeze({...gr,body:"",hidden:!1});function wc(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function ja(e,t){const r=wc(e,t);for(const n in Pn)n in fr?n in e&&!(n in r)&&(r[n]=fr[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Ac(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function a(i){if(r[i])return o[i]=[];if(!(i in o)){o[i]=null;const l=n[i]&&n[i].parent,f=l&&a(l);f&&(o[i]=[l].concat(f))}return o[i]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(a),o}function Sc(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=ja(n[l]||o[l],a)}return i(t),r.forEach(i),ja(e,a)}function rs(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=Ac(e);for(const o in n){const a=n[o];a&&(t(o,Sc(e,o,a)),r.push(o))}return r}const Dc={provider:"",aliases:{},not_found:{},...ts};function Nr(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function ns(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Nr(e,Dc))return null;const r=t.icons;for(const o in r){const a=r[o];if(!o.match(Ut)||typeof a.body!="string"||!Nr(a,Pn))return null}const n=t.aliases||Object.create(null);for(const o in n){const a=n[o],i=a.parent;if(!o.match(Ut)||typeof i!="string"||!r[i]&&!n[i]||!Nr(a,Pn))return null}return t}const Ga=Object.create(null);function Bc(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function gt(e,t){const r=Ga[e]||(Ga[e]=Object.create(null));return r[t]||(r[t]=Bc(e,t))}function ca(e,t){return ns(t)?rs(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function Fc(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Vt=!1;function as(e){return typeof e=="boolean"&&(Vt=e),Vt}function Pc(e){const t=typeof e=="string"?mr(e,!0,Vt):e;if(t){const r=gt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function kc(e,t){const r=mr(e,!0,Vt);if(!r)return!1;const n=gt(r.provider,r.prefix);return Fc(n,r.name,t)}function Tc(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vt&&!t&&!e.prefix){let o=!1;return ns(e)&&(e.prefix="",rs(e,(a,i)=>{i&&kc(a,i)&&(o=!0)})),o}const r=e.prefix;if(!ar({provider:t,prefix:r,name:"a"}))return!1;const n=gt(t,r);return!!ca(n,e)}const os=Object.freeze({width:null,height:null}),is=Object.freeze({...os,...fr}),Ic=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Lc=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function $a(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Ic);if(n===null||!n.length)return e;const o=[];let a=n.shift(),i=Lc.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*r)/r)}else o.push(a);if(a=n.shift(),a===void 0)return o.join("");i=!i}}const Rc=e=>e==="unset"||e==="undefined"||e==="none";function Nc(e,t){const r={...gr,...e},n={...is,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach(x=>{const p=[],m=x.hFlip,E=x.vFlip;let g=x.rotate;m?E?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):E&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let v;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:v=o.height/2+o.top,p.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,p.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}g%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),p.length&&(a=''+a+"")});const i=n.width,l=n.height,f=o.width,c=o.height;let u,h;i===null?(h=l===null?"1em":l==="auto"?c:l,u=$a(h,f/c)):(u=i==="auto"?f:i,h=l===null?$a(u,c/f):l==="auto"?c:l);const s={},d=(x,p)=>{Rc(p)||(s[x]=p.toString())};return d("width",u),d("height",h),s.viewBox=o.left.toString()+" "+o.top.toString()+" "+f.toString()+" "+c.toString(),{attributes:s,body:a}}const Oc=/\sid="(\S+)"/g,Mc="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Uc=0;function Hc(e,t=Mc){const r=[];let n;for(;n=Oc.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(a=>{const i=typeof t=="function"?t(a):t+(Uc++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const kn=Object.create(null);function Wc(e,t){kn[e]=t}function Tn(e){return kn[e]||kn[""]}function la(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ua=Object.create(null),Rt=["https://api.simplesvg.com","https://api.unisvg.com"],or=[];for(;Rt.length>0;)Rt.length===1||Math.random()>.5?or.push(Rt.shift()):or.push(Rt.pop());ua[""]=la({resources:["https://api.iconify.design"].concat(or)});function jc(e,t){const r=la(t);return r===null?!1:(ua[e]=r,!0)}function fa(e){return ua[e]}const Gc=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Va=Gc();function $c(e,t){const r=fa(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(i=>{o=Math.max(o,i.length)});const a=t+".json?icons=";n=r.maxURL-o-r.path.length-a.length}return n}function Vc(e){return e===404}const qc=(e,t,r)=>{const n=[],o=$c(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return r.forEach((f,c)=>{l+=f.length+1,l>=o&&c>0&&(n.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=f.length),i.icons.push(f)}),n.push(i),n};function zc(e){if(typeof e=="string"){const t=fa(e);if(t)return t.path}return"/"}const Kc=(e,t,r)=>{if(!Va){r("abort",424);return}let n=zc(t.provider);switch(t.type){case"icons":{const a=t.prefix,l=t.icons.join(","),f=new URLSearchParams({icons:l});n+=a+".json?"+f.toString();break}case"custom":{const a=t.uri;n+=a.slice(0,1)==="/"?a.slice(1):a;break}default:r("abort",400);return}let o=503;Va(e+n).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{r(Vc(i)?"abort":"next",i)});return}return o=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?r("abort",a):r("next",o)});return}setTimeout(()=>{r("success",a)})}).catch(()=>{r("next",o)})},Yc={prepare:qc,send:Kc};function Xc(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,a)=>o.provider!==a.provider?o.provider.localeCompare(a.provider):o.prefix!==a.prefix?o.prefix.localeCompare(a.prefix):o.name.localeCompare(a.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const a=o.provider,i=o.prefix,l=o.name,f=r[a]||(r[a]=Object.create(null)),c=f[i]||(f[i]=gt(a,i));let u;l in c.icons?u=t.loaded:i===""||c.missing.has(l)?u=t.missing:u=t.pending;const h={provider:a,prefix:i,name:l};u.push(h)}),t}function ss(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Qc(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(a=>{const i=a.icons,l=i.pending.length;i.pending=i.pending.filter(f=>{if(f.prefix!==o)return!0;const c=f.name;if(e.icons[c])i.loaded.push({provider:n,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:n,prefix:o,name:c});else return r=!0,!0;return!1}),i.pending.length!==l&&(r||ss([e],a.id),a.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),a.abort))})}))}let Jc=0;function Zc(e,t,r){const n=Jc++,o=ss.bind(null,r,n);if(!t.pending.length)return o;const a={id:n,icons:t,callback:e,abort:o};return r.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(a)}),o}function el(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const a=typeof o=="string"?mr(o,t,r):o;a&&n.push(a)}),n}var tl={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function rl(e,t,r,n){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let _=e.resources.slice(0);for(i=[];_.length>1;){const A=Math.floor(Math.random()*_.length);i.push(_[A]),_=_.slice(0,A).concat(_.slice(A+1))}i=i.concat(_)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let f="pending",c=0,u,h=null,s=[],d=[];typeof n=="function"&&d.push(n);function x(){h&&(clearTimeout(h),h=null)}function p(){f==="pending"&&(f="aborted"),x(),s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function m(_,A){A&&(d=[]),typeof _=="function"&&d.push(_)}function E(){return{startTime:l,payload:t,status:f,queriesSent:c,queriesPending:s.length,subscribe:m,abort:p}}function g(){f="failed",d.forEach(_=>{_(void 0,u)})}function v(){s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function b(_,A,D){const B=A!=="success";switch(s=s.filter(S=>S!==_),f){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(A==="abort"){u=D,g();return}if(B){u=D,s.length||(i.length?y():g());return}if(x(),v(),!e.random){const S=e.resources.indexOf(_.resource);S!==-1&&S!==e.index&&(e.index=S)}f="completed",d.forEach(S=>{S(D)})}function y(){if(f!=="pending")return;x();const _=i.shift();if(_===void 0){if(s.length){h=setTimeout(()=>{x(),f==="pending"&&(v(),g())},e.timeout);return}g();return}const A={status:"pending",resource:_,callback:(D,B)=>{b(A,D,B)}};s.push(A),c++,h=setTimeout(y,e.rotate),r(_,t,A.callback)}return setTimeout(y),E}function cs(e){const t={...tl,...e};let r=[];function n(){r=r.filter(l=>l().status==="pending")}function o(l,f,c){const u=rl(t,l,f,(h,s)=>{n(),c&&c(h,s)});return r.push(u),u}function a(l){return r.find(f=>l(f))||null}return{query:o,find:a,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:n}}function qa(){}const Or=Object.create(null);function nl(e){if(!Or[e]){const t=fa(e);if(!t)return;const r=cs(t),n={config:t,redundancy:r};Or[e]=n}return Or[e]}function al(e,t,r){let n,o;if(typeof e=="string"){const a=Tn(e);if(!a)return r(void 0,424),qa;o=a.send;const i=nl(e);i&&(n=i.redundancy)}else{const a=la(e);if(a){n=cs(a);const i=e.resources?e.resources[0]:"",l=Tn(i);l&&(o=l.send)}}return!n||!o?(r(void 0,424),qa):n.query(t,o,r)().abort}const za="iconify2",qt="iconify",ls=qt+"-count",Ka=qt+"-version",us=36e5,ol=168;function In(e,t){try{return e.getItem(t)}catch{}}function da(e,t,r){try{return e.setItem(t,r),!0}catch{}}function Ya(e,t){try{e.removeItem(t)}catch{}}function Ln(e,t){return da(e,ls,t.toString())}function Rn(e){return parseInt(In(e,ls))||0}const vr={local:!0,session:!0},fs={local:new Set,session:new Set};let ha=!1;function il(e){ha=e}let tr=typeof window>"u"?{}:window;function ds(e){const t=e+"Storage";try{if(tr&&tr[t]&&typeof tr[t].length=="number")return tr[t]}catch{}vr[e]=!1}function hs(e,t){const r=ds(e);if(!r)return;const n=In(r,Ka);if(n!==za){if(n){const l=Rn(r);for(let f=0;f{const f=qt+l.toString(),c=In(r,f);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Ya(r,f)}};let i=Rn(r);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,Ln(r,i)):fs[e].add(l))}function xs(){if(!ha){il(!0);for(const e in vr)hs(e,t=>{const r=t.data,n=t.provider,o=r.prefix,a=gt(n,o);if(!ca(a,r).length)return!1;const i=r.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,i):i,!0})}}function sl(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in vr)hs(n,o=>{const a=o.data;return o.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function cl(e,t){ha||xs();function r(n){let o;if(!vr[n]||!(o=ds(n)))return;const a=fs[n];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=Rn(o),!Ln(o,i+1))return;const l={cached:Math.floor(Date.now()/us),provider:e.provider,data:t};return da(o,qt+i.toString(),JSON.stringify(l))}t.lastModified&&!sl(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function Xa(){}function ll(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Qc(e)}))}function ul(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;delete e.iconsToLoad;let a;if(!o||!(a=Tn(r)))return;a.prepare(r,n,o).forEach(l=>{al(r,l,f=>{if(typeof f!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=ca(e,f);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(h=>{u.delete(h)}),cl(e,f)}catch(c){console.error(c)}ll(e)})})}))}const fl=(e,t)=>{const r=el(e,!0,as()),n=Xc(r);if(!n.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(n.loaded,n.missing,n.pending,Xa)}),()=>{f=!1}}const o=Object.create(null),a=[];let i,l;return n.pending.forEach(f=>{const{provider:c,prefix:u}=f;if(u===l&&c===i)return;i=c,l=u,a.push(gt(c,u));const h=o[c]||(o[c]=Object.create(null));h[u]||(h[u]=[])}),n.pending.forEach(f=>{const{provider:c,prefix:u,name:h}=f,s=gt(c,u),d=s.pendingIcons||(s.pendingIcons=new Set);d.has(h)||(d.add(h),o[c][u].push(h))}),a.forEach(f=>{const{provider:c,prefix:u}=f;o[c][u].length&&ul(f,o[c][u])}),t?Zc(t,n,a):Xa};function dl(e,t){const r={...e};for(const n in t){const o=t[n],a=typeof o;n in os?(o===null||o&&(a==="string"||a==="number"))&&(r[n]=o):a===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const hl=/[\s,]+/;function xl(e,t){t.split(hl).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function pl(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let a=parseFloat(e.slice(0,e.length-r.length));return isNaN(a)?0:(a=a/o,a%1===0?n(a):0)}}return t}function ml(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'"+e+""}function gl(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function vl(e){return"data:image/svg+xml,"+gl(e)}function El(e){return'url("'+vl(e)+'")'}const Qa={...is,inline:!1},bl={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cl={display:"inline-block"},Nn={backgroundColor:"currentColor"},ps={backgroundColor:"transparent"},Ja={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Za={webkitMask:Nn,mask:Nn,background:ps};for(const e in Za){const t=Za[e];for(const r in Ja)t[e+r]=Ja[r]}const ir={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ir[e+"-flip"]=t,ir[e.slice(0,1)+"-flip"]=t,ir[e+"Flip"]=t});function eo(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const to=(e,t)=>{const r=dl(Qa,t),n={...bl},o=t.mode||"svg",a={},i=t.style,l=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const m=t[p];if(m!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":r[p]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&xl(r,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?r[p]=pl(m):typeof m=="number"&&(r[p]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete n["aria-hidden"];break;default:{const E=ir[p];E?(m===!0||m==="true"||m===1)&&(r[E]=!0):Qa[p]===void 0&&(n[p]=m)}}}const f=Nc(e,r),c=f.attributes;if(r.inline&&(a.verticalAlign="-0.125em"),o==="svg"){n.style={...a,...l},Object.assign(n,c);let p=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),n.innerHTML=Hc(f.body,m?()=>m+"ID"+p++:"iconifyVue"),mt("svg",n)}const{body:u,width:h,height:s}=e,d=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),x=ml(u,{...c,width:h+"",height:s+""});return n.style={...a,"--svg":El(x),width:eo(c.width),height:eo(c.height),...Cl,...d?Nn:ps,...l},mt("span",n)};as(!0);Wc("",Yc);if(typeof document<"u"&&typeof window<"u"){xs();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Tc(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;jc(r,o)||console.error(n)}catch{console.error(n)}}}}const _l={...gr,body:""},sm=rt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=mr(e,!1,!0))===null)return this.abortLoading(),null;const n=Pc(r);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:e,abort:fl([r],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return r.prefix!==""&&o.push("iconify--"+r.prefix),r.provider!==""&&o.push("iconify--"+r.provider),{data:n,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return to(_l,e);let r=e;return t.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),to({...gr,...t.data},r)}});/*!
    + * pinia v2.1.7
    + * (c) 2023 Eduardo San Martin Morote
    + * @license MIT
    + */let ms;const Er=e=>ms=e,gs=Symbol();function On(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ht;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ht||(Ht={}));function yl(){const e=ia(!0),t=e.run(()=>Ze({}));let r=[],n=[];const o=Yi({install(a){Er(o),o._a=a,a.provide(gs,o),a.config.globalProperties.$pinia=o,n.forEach(i=>r.push(i)),n=[]},use(a){return!this._a&&!Ec?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}const vs=()=>{};function ro(e,t,r,n=vs){e.push(t);const o=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&X0()&&Q0(o),o}function Ct(e,...t){e.slice().forEach(r=>{r(...t)})}const wl=e=>e();function Mn(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];On(o)&&On(n)&&e.hasOwnProperty(r)&&!Gt(n)&&!Qi(n)?e[r]=Mn(o,n):e[r]=n}return e}const Al=Symbol();function Sl(e){return!On(e)||!e.hasOwnProperty(Al)}const{assign:ct}=Object;function Dl(e){return!!(Gt(e)&&e.effect)}function Bl(e,t,r,n){const{state:o,actions:a,getters:i}=t,l=r.state.value[e];let f;function c(){l||(r.state.value[e]=o?o():{});const u=J0(r.state.value[e]);return ct(u,a,Object.keys(i||{}).reduce((h,s)=>(h[s]=Yi(ve(()=>{Er(r);const d=r._s.get(e);return i[s].call(d,d)})),h),{}))}return f=Es(e,c,t,r,n,!0),f}function Es(e,t,r={},n,o,a){let i;const l=ct({actions:{}},r),f={deep:!0};let c,u,h=[],s=[],d;const x=n.state.value[e];!a&&!x&&(n.state.value[e]={}),Ze({});let p;function m(D){let B;c=u=!1,typeof D=="function"?(D(n.state.value[e]),B={type:Ht.patchFunction,storeId:e,events:d}):(Mn(n.state.value[e],D),B={type:Ht.patchObject,payload:D,storeId:e,events:d});const S=p=Symbol();Ji().then(()=>{p===S&&(c=!0)}),u=!0,Ct(h,B,n.state.value[e])}const E=a?function(){const{state:B}=r,S=B?B():{};this.$patch(P=>{ct(P,S)})}:vs;function g(){i.stop(),h=[],s=[],n._s.delete(e)}function v(D,B){return function(){Er(n);const S=Array.from(arguments),P=[],k=[];function I(q){P.push(q)}function K(q){k.push(q)}Ct(s,{args:S,name:D,store:y,after:I,onError:K});let Y;try{Y=B.apply(this&&this.$id===e?this:y,S)}catch(q){throw Ct(k,q),q}return Y instanceof Promise?Y.then(q=>(Ct(P,q),q)).catch(q=>(Ct(k,q),Promise.reject(q))):(Ct(P,Y),Y)}}const b={_p:n,$id:e,$onAction:ro.bind(null,s),$patch:m,$reset:E,$subscribe(D,B={}){const S=ro(h,D,B.detached,()=>P()),P=i.run(()=>St(()=>n.state.value[e],k=>{(B.flush==="sync"?u:c)&&D({storeId:e,type:Ht.direct,events:d},k)},ct({},f,B)));return S},$dispose:g},y=Xi(b);n._s.set(e,y);const A=(n._a&&n._a.runWithContext||wl)(()=>n._e.run(()=>(i=ia()).run(t)));for(const D in A){const B=A[D];if(Gt(B)&&!Dl(B)||Qi(B))a||(x&&Sl(B)&&(Gt(B)?B.value=x[D]:Mn(B,x[D])),n.state.value[e][D]=B);else if(typeof B=="function"){const S=v(D,B);A[D]=S,l.actions[D]=B}}return ct(y,A),ct(Y0(y),A),Object.defineProperty(y,"$state",{get:()=>n.state.value[e],set:D=>{m(B=>{ct(B,D)})}}),n._p.forEach(D=>{ct(y,i.run(()=>D({store:y,app:n._a,pinia:n,options:l})))}),x&&a&&r.hydrate&&r.hydrate(y.$state,x),c=!0,u=!0,y}function vt(e,t,r){let n,o;const a=typeof t=="function";typeof e=="string"?(n=e,o=a?r:t):(o=e,n=e.id);function i(l,f){const c=K0();return l=l||(c?nt(gs,null):null),l&&Er(l),l=ms,l._s.has(n)||(a?Es(n,t,o,l):Bl(n,o,l)),l._s.get(n)}return i.$id=n,i}var bs={exports:{}};function Fl(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mr={exports:{}};const Pl={},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),Tl=hc(kl);var no;function fe(){return no||(no=1,function(e,t){(function(r,n){e.exports=n()})(re,function(){var r=r||function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof re<"u"&&re.crypto&&(a=re.crypto),!a&&typeof Fl=="function")try{a=Tl}catch{}var i=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function g(){}return function(v){var b;return g.prototype=v,b=new g,g.prototype=null,b}}(),f={},c=f.lib={},u=c.Base=function(){return{extend:function(g){var v=l(this);return g&&v.mixIn(g),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var v in g)g.hasOwnProperty(v)&&(this[v]=g[v]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=c.WordArray=u.extend({init:function(g,v){g=this.words=g||[],v!=o?this.sigBytes=v:this.sigBytes=g.length*4},toString:function(g){return(g||d).stringify(this)},concat:function(g){var v=this.words,b=g.words,y=this.sigBytes,_=g.sigBytes;if(this.clamp(),y%4)for(var A=0;A<_;A++){var D=b[A>>>2]>>>24-A%4*8&255;v[y+A>>>2]|=D<<24-(y+A)%4*8}else for(var B=0;B<_;B+=4)v[y+B>>>2]=b[B>>>2];return this.sigBytes+=_,this},clamp:function(){var g=this.words,v=this.sigBytes;g[v>>>2]&=4294967295<<32-v%4*8,g.length=n.ceil(v/4)},clone:function(){var g=u.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var v=[],b=0;b>>2]>>>24-_%4*8&255;y.push((A>>>4).toString(16)),y.push((A&15).toString(16))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>3]|=parseInt(g.substr(y,2),16)<<24-y%8*4;return new h.init(b,v/2)}},x=s.Latin1={stringify:function(g){for(var v=g.words,b=g.sigBytes,y=[],_=0;_>>2]>>>24-_%4*8&255;y.push(String.fromCharCode(A))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>2]|=(g.charCodeAt(y)&255)<<24-y%4*8;return new h.init(b,v)}},p=s.Utf8={stringify:function(g){try{return decodeURIComponent(escape(x.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return x.parse(unescape(encodeURIComponent(g)))}},m=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=p.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var v,b=this._data,y=b.words,_=b.sigBytes,A=this.blockSize,D=A*4,B=_/D;g?B=n.ceil(B):B=n.max((B|0)-this._minBufferSize,0);var S=B*A,P=n.min(S*4,_);if(S){for(var k=0;k>>2]|=f[h]<<24-h%4*8;i.call(this,u,c)}else i.apply(this,arguments)};l.prototype=a}}(),r.lib.WordArray})}(Hr)),Hr.exports}var Wr={exports:{}},io;function Ll(){return io||(io=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Utf16=i.Utf16BE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535;h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=f.charCodeAt(h)<<16-h%2*16;return a.create(u,c*2)}},i.Utf16LE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535);h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=l(f.charCodeAt(h)<<16-h%2*16);return a.create(u,c*2)}};function l(f){return f<<8&4278255360|f>>>8&16711935}}(),r.enc.Utf16})}(Wr)),Wr.exports}var jr={exports:{}},so;function Et(){return so||(so=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64={stringify:function(f){var c=f.words,u=f.sigBytes,h=this._map;f.clamp();for(var s=[],d=0;d>>2]>>>24-d%4*8&255,p=c[d+1>>>2]>>>24-(d+1)%4*8&255,m=c[d+2>>>2]>>>24-(d+2)%4*8&255,E=x<<16|p<<8|m,g=0;g<4&&d+g*.75>>6*(3-g)&63));var v=h.charAt(64);if(v)for(;s.length%4;)s.push(v);return s.join("")},parse:function(f){var c=f.length,u=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var s=0;s>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64})}(jr)),jr.exports}var Gr={exports:{}},co;function Rl(){return co||(co=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64url={stringify:function(f,c){c===void 0&&(c=!0);var u=f.words,h=f.sigBytes,s=c?this._safe_map:this._map;f.clamp();for(var d=[],x=0;x>>2]>>>24-x%4*8&255,m=u[x+1>>>2]>>>24-(x+1)%4*8&255,E=u[x+2>>>2]>>>24-(x+2)%4*8&255,g=p<<16|m<<8|E,v=0;v<4&&x+v*.75>>6*(3-v)&63));var b=s.charAt(64);if(b)for(;d.length%4;)d.push(b);return d.join("")},parse:function(f,c){c===void 0&&(c=!0);var u=f.length,h=c?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var d=0;d>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64url})}(Gr)),Gr.exports}var $r={exports:{}},lo;function bt(){return lo||(lo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[];(function(){for(var p=0;p<64;p++)c[p]=n.abs(n.sin(p+1))*4294967296|0})();var u=f.MD5=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,m){for(var E=0;E<16;E++){var g=m+E,v=p[g];p[g]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var b=this._hash.words,y=p[m+0],_=p[m+1],A=p[m+2],D=p[m+3],B=p[m+4],S=p[m+5],P=p[m+6],k=p[m+7],I=p[m+8],K=p[m+9],Y=p[m+10],q=p[m+11],se=p[m+12],oe=p[m+13],ce=p[m+14],ae=p[m+15],L=b[0],U=b[1],W=b[2],N=b[3];L=h(L,U,W,N,y,7,c[0]),N=h(N,L,U,W,_,12,c[1]),W=h(W,N,L,U,A,17,c[2]),U=h(U,W,N,L,D,22,c[3]),L=h(L,U,W,N,B,7,c[4]),N=h(N,L,U,W,S,12,c[5]),W=h(W,N,L,U,P,17,c[6]),U=h(U,W,N,L,k,22,c[7]),L=h(L,U,W,N,I,7,c[8]),N=h(N,L,U,W,K,12,c[9]),W=h(W,N,L,U,Y,17,c[10]),U=h(U,W,N,L,q,22,c[11]),L=h(L,U,W,N,se,7,c[12]),N=h(N,L,U,W,oe,12,c[13]),W=h(W,N,L,U,ce,17,c[14]),U=h(U,W,N,L,ae,22,c[15]),L=s(L,U,W,N,_,5,c[16]),N=s(N,L,U,W,P,9,c[17]),W=s(W,N,L,U,q,14,c[18]),U=s(U,W,N,L,y,20,c[19]),L=s(L,U,W,N,S,5,c[20]),N=s(N,L,U,W,Y,9,c[21]),W=s(W,N,L,U,ae,14,c[22]),U=s(U,W,N,L,B,20,c[23]),L=s(L,U,W,N,K,5,c[24]),N=s(N,L,U,W,ce,9,c[25]),W=s(W,N,L,U,D,14,c[26]),U=s(U,W,N,L,I,20,c[27]),L=s(L,U,W,N,oe,5,c[28]),N=s(N,L,U,W,A,9,c[29]),W=s(W,N,L,U,k,14,c[30]),U=s(U,W,N,L,se,20,c[31]),L=d(L,U,W,N,S,4,c[32]),N=d(N,L,U,W,I,11,c[33]),W=d(W,N,L,U,q,16,c[34]),U=d(U,W,N,L,ce,23,c[35]),L=d(L,U,W,N,_,4,c[36]),N=d(N,L,U,W,B,11,c[37]),W=d(W,N,L,U,k,16,c[38]),U=d(U,W,N,L,Y,23,c[39]),L=d(L,U,W,N,oe,4,c[40]),N=d(N,L,U,W,y,11,c[41]),W=d(W,N,L,U,D,16,c[42]),U=d(U,W,N,L,P,23,c[43]),L=d(L,U,W,N,K,4,c[44]),N=d(N,L,U,W,se,11,c[45]),W=d(W,N,L,U,ae,16,c[46]),U=d(U,W,N,L,A,23,c[47]),L=x(L,U,W,N,y,6,c[48]),N=x(N,L,U,W,k,10,c[49]),W=x(W,N,L,U,ce,15,c[50]),U=x(U,W,N,L,S,21,c[51]),L=x(L,U,W,N,se,6,c[52]),N=x(N,L,U,W,D,10,c[53]),W=x(W,N,L,U,Y,15,c[54]),U=x(U,W,N,L,_,21,c[55]),L=x(L,U,W,N,I,6,c[56]),N=x(N,L,U,W,ae,10,c[57]),W=x(W,N,L,U,P,15,c[58]),U=x(U,W,N,L,oe,21,c[59]),L=x(L,U,W,N,B,6,c[60]),N=x(N,L,U,W,q,10,c[61]),W=x(W,N,L,U,A,15,c[62]),U=x(U,W,N,L,K,21,c[63]),b[0]=b[0]+L|0,b[1]=b[1]+U|0,b[2]=b[2]+W|0,b[3]=b[3]+N|0},_doFinalize:function(){var p=this._data,m=p.words,E=this._nDataBytes*8,g=p.sigBytes*8;m[g>>>5]|=128<<24-g%32;var v=n.floor(E/4294967296),b=E;m[(g+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m[(g+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,p.sigBytes=(m.length+1)*4,this._process();for(var y=this._hash,_=y.words,A=0;A<4;A++){var D=_[A];_[A]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return y},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});function h(p,m,E,g,v,b,y){var _=p+(m&E|~m&g)+v+y;return(_<>>32-b)+m}function s(p,m,E,g,v,b,y){var _=p+(m&g|E&~g)+v+y;return(_<>>32-b)+m}function d(p,m,E,g,v,b,y){var _=p+(m^E^g)+v+y;return(_<>>32-b)+m}function x(p,m,E,g,v,b,y){var _=p+(E^(m|~g))+v+y;return(_<>>32-b)+m}o.MD5=l._createHelper(u),o.HmacMD5=l._createHmacHelper(u)}(Math),r.MD5})}($r)),$r.exports}var Vr={exports:{}},uo;function Cs(){return uo||(uo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.Hasher,l=n.algo,f=[],c=l.SHA1=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,h){for(var s=this._hash.words,d=s[0],x=s[1],p=s[2],m=s[3],E=s[4],g=0;g<80;g++){if(g<16)f[g]=u[h+g]|0;else{var v=f[g-3]^f[g-8]^f[g-14]^f[g-16];f[g]=v<<1|v>>>31}var b=(d<<5|d>>>27)+E+f[g];g<20?b+=(x&p|~x&m)+1518500249:g<40?b+=(x^p^m)+1859775393:g<60?b+=(x&p|x&m|p&m)-1894007588:b+=(x^p^m)-899497514,E=m,m=p,p=x<<30|x>>>2,x=d,d=b}s[0]=s[0]+d|0,s[1]=s[1]+x|0,s[2]=s[2]+p|0,s[3]=s[3]+m|0,s[4]=s[4]+E|0},_doFinalize:function(){var u=this._data,h=u.words,s=this._nDataBytes*8,d=u.sigBytes*8;return h[d>>>5]|=128<<24-d%32,h[(d+64>>>9<<4)+14]=Math.floor(s/4294967296),h[(d+64>>>9<<4)+15]=s,u.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var u=i.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=i._createHelper(c),n.HmacSHA1=i._createHmacHelper(c)}(),r.SHA1})}(Vr)),Vr.exports}var qr={exports:{}},fo;function xa(){return fo||(fo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[],u=[];(function(){function d(E){for(var g=n.sqrt(E),v=2;v<=g;v++)if(!(E%v))return!1;return!0}function x(E){return(E-(E|0))*4294967296|0}for(var p=2,m=0;m<64;)d(p)&&(m<8&&(c[m]=x(n.pow(p,1/2))),u[m]=x(n.pow(p,1/3)),m++),p++})();var h=[],s=f.SHA256=l.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(d,x){for(var p=this._hash.words,m=p[0],E=p[1],g=p[2],v=p[3],b=p[4],y=p[5],_=p[6],A=p[7],D=0;D<64;D++){if(D<16)h[D]=d[x+D]|0;else{var B=h[D-15],S=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,P=h[D-2],k=(P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10;h[D]=S+h[D-7]+k+h[D-16]}var I=b&y^~b&_,K=m&E^m&g^E&g,Y=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),q=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),se=A+q+I+u[D]+h[D],oe=Y+K;A=_,_=y,y=b,b=v+se|0,v=g,g=E,E=m,m=se+oe|0}p[0]=p[0]+m|0,p[1]=p[1]+E|0,p[2]=p[2]+g|0,p[3]=p[3]+v|0,p[4]=p[4]+b|0,p[5]=p[5]+y|0,p[6]=p[6]+_|0,p[7]=p[7]+A|0},_doFinalize:function(){var d=this._data,x=d.words,p=this._nDataBytes*8,m=d.sigBytes*8;return x[m>>>5]|=128<<24-m%32,x[(m+64>>>9<<4)+14]=n.floor(p/4294967296),x[(m+64>>>9<<4)+15]=p,d.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var d=l.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA256=l._createHelper(s),o.HmacSHA256=l._createHmacHelper(s)}(Math),r.SHA256})}(qr)),qr.exports}var zr={exports:{}},ho;function Nl(){return ho||(ho=1,function(e,t){(function(r,n,o){e.exports=n(fe(),xa())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.algo,l=i.SHA256,f=i.SHA224=l.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=l._createHelper(f),n.HmacSHA224=l._createHmacHelper(f)}(),r.SHA224})}(zr)),zr.exports}var Kr={exports:{}},xo;function _s(){return xo||(xo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(){var n=r,o=n.lib,a=o.Hasher,i=n.x64,l=i.Word,f=i.WordArray,c=n.algo;function u(){return l.create.apply(l,arguments)}var h=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],s=[];(function(){for(var x=0;x<80;x++)s[x]=u()})();var d=c.SHA512=a.extend({_doReset:function(){this._hash=new f.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(x,p){for(var m=this._hash.words,E=m[0],g=m[1],v=m[2],b=m[3],y=m[4],_=m[5],A=m[6],D=m[7],B=E.high,S=E.low,P=g.high,k=g.low,I=v.high,K=v.low,Y=b.high,q=b.low,se=y.high,oe=y.low,ce=_.high,ae=_.low,L=A.high,U=A.low,W=D.high,N=D.low,ue=B,te=S,T=P,O=k,$=I,z=K,ie=Y,ee=q,w=se,C=oe,F=ce,H=ae,j=L,J=U,X=W,Q=N,ye=0;ye<80;ye++){var he,Te,Ye=s[ye];if(ye<16)Te=Ye.high=x[p+ye*2]|0,he=Ye.low=x[p+ye*2+1]|0;else{var Ce=s[ye-15],R=Ce.high,G=Ce.low,pe=(R>>>1|G<<31)^(R>>>8|G<<24)^R>>>7,_e=(G>>>1|R<<31)^(G>>>8|R<<24)^(G>>>7|R<<25),We=s[ye-2],je=We.high,Me=We.low,Tr=(je>>>19|Me<<13)^(je<<3|Me>>>29)^je>>>6,Ir=(Me>>>19|je<<13)^(Me<<3|je>>>29)^(Me>>>6|je<<26),Ia=s[ye-7],N0=Ia.high,O0=Ia.low,La=s[ye-16],M0=La.high,Ra=La.low;he=_e+O0,Te=pe+N0+(he>>>0<_e>>>0?1:0),he=he+Ir,Te=Te+Tr+(he>>>0>>0?1:0),he=he+Ra,Te=Te+M0+(he>>>0>>0?1:0),Ye.high=Te,Ye.low=he}var U0=w&F^~w&j,Na=C&H^~C&J,H0=ue&T^ue&$^T&$,W0=te&O^te&z^O&z,j0=(ue>>>28|te<<4)^(ue<<30|te>>>2)^(ue<<25|te>>>7),Oa=(te>>>28|ue<<4)^(te<<30|ue>>>2)^(te<<25|ue>>>7),G0=(w>>>14|C<<18)^(w>>>18|C<<14)^(w<<23|C>>>9),$0=(C>>>14|w<<18)^(C>>>18|w<<14)^(C<<23|w>>>9),Ma=h[ye],V0=Ma.high,Ua=Ma.low,Oe=Q+$0,at=X+G0+(Oe>>>0>>0?1:0),Oe=Oe+Na,at=at+U0+(Oe>>>0>>0?1:0),Oe=Oe+Ua,at=at+V0+(Oe>>>0>>0?1:0),Oe=Oe+he,at=at+Te+(Oe>>>0>>0?1:0),Ha=Oa+W0,q0=j0+H0+(Ha>>>0>>0?1:0);X=j,Q=J,j=F,J=H,F=w,H=C,C=ee+Oe|0,w=ie+at+(C>>>0>>0?1:0)|0,ie=$,ee=z,$=T,z=O,T=ue,O=te,te=Oe+Ha|0,ue=at+q0+(te>>>0>>0?1:0)|0}S=E.low=S+te,E.high=B+ue+(S>>>0>>0?1:0),k=g.low=k+O,g.high=P+T+(k>>>0>>0?1:0),K=v.low=K+z,v.high=I+$+(K>>>0>>0?1:0),q=b.low=q+ee,b.high=Y+ie+(q>>>0>>0?1:0),oe=y.low=oe+C,y.high=se+w+(oe>>>0>>0?1:0),ae=_.low=ae+H,_.high=ce+F+(ae>>>0>>0?1:0),U=A.low=U+J,A.high=L+j+(U>>>0>>0?1:0),N=D.low=N+Q,D.high=W+X+(N>>>0>>0?1:0)},_doFinalize:function(){var x=this._data,p=x.words,m=this._nDataBytes*8,E=x.sigBytes*8;p[E>>>5]|=128<<24-E%32,p[(E+128>>>10<<5)+30]=Math.floor(m/4294967296),p[(E+128>>>10<<5)+31]=m,x.sigBytes=p.length*4,this._process();var g=this._hash.toX32();return g},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});n.SHA512=a._createHelper(d),n.HmacSHA512=a._createHmacHelper(d)}(),r.SHA512})}(Kr)),Kr.exports}var Yr={exports:{}},po;function Ol(){return po||(po=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br(),_s())})(re,function(r){return function(){var n=r,o=n.x64,a=o.Word,i=o.WordArray,l=n.algo,f=l.SHA512,c=l.SHA384=f.extend({_doReset:function(){this._hash=new i.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=f._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=f._createHelper(c),n.HmacSHA384=f._createHmacHelper(c)}(),r.SHA384})}(Yr)),Yr.exports}var Xr={exports:{}},mo;function Ml(){return mo||(mo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.x64,c=f.Word,u=o.algo,h=[],s=[],d=[];(function(){for(var m=1,E=0,g=0;g<24;g++){h[m+5*E]=(g+1)*(g+2)/2%64;var v=E%5,b=(2*m+3*E)%5;m=v,E=b}for(var m=0;m<5;m++)for(var E=0;E<5;E++)s[m+5*E]=E+(2*m+3*E)%5*5;for(var y=1,_=0;_<24;_++){for(var A=0,D=0,B=0;B<7;B++){if(y&1){var S=(1<>>24)&16711935|(y<<24|y>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var A=g[b];A.high^=_,A.low^=y}for(var D=0;D<24;D++){for(var B=0;B<5;B++){for(var S=0,P=0,k=0;k<5;k++){var A=g[B+5*k];S^=A.high,P^=A.low}var I=x[B];I.high=S,I.low=P}for(var B=0;B<5;B++)for(var K=x[(B+4)%5],Y=x[(B+1)%5],q=Y.high,se=Y.low,S=K.high^(q<<1|se>>>31),P=K.low^(se<<1|q>>>31),k=0;k<5;k++){var A=g[B+5*k];A.high^=S,A.low^=P}for(var oe=1;oe<25;oe++){var S,P,A=g[oe],ce=A.high,ae=A.low,L=h[oe];L<32?(S=ce<>>32-L,P=ae<>>32-L):(S=ae<>>64-L,P=ce<>>64-L);var U=x[s[oe]];U.high=S,U.low=P}var W=x[0],N=g[0];W.high=N.high,W.low=N.low;for(var B=0;B<5;B++)for(var k=0;k<5;k++){var oe=B+5*k,A=g[oe],ue=x[oe],te=x[(B+1)%5+5*k],T=x[(B+2)%5+5*k];A.high=ue.high^~te.high&T.high,A.low=ue.low^~te.low&T.low}var A=g[0],O=d[D];A.high^=O.high,A.low^=O.low}},_doFinalize:function(){var m=this._data,E=m.words;this._nDataBytes*8;var g=m.sigBytes*8,v=this.blockSize*32;E[g>>>5]|=1<<24-g%32,E[(n.ceil((g+1)/v)*v>>>5)-1]|=128,m.sigBytes=E.length*4,this._process();for(var b=this._state,y=this.cfg.outputLength/8,_=y/8,A=[],D=0;D<_;D++){var B=b[D],S=B.high,P=B.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,A.push(P),A.push(S)}return new i.init(A,y)},clone:function(){for(var m=l.clone.call(this),E=m._state=this._state.slice(0),g=0;g<25;g++)E[g]=E[g].clone();return m}});o.SHA3=l._createHelper(p),o.HmacSHA3=l._createHmacHelper(p)}(Math),r.SHA3})}(Xr)),Xr.exports}var Qr={exports:{}},go;function Ul(){return go||(go=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){/** @preserve
    +			(c) 2012 by Cédric Mesnil. All rights reserved.
    +
    +			Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
    +
    +			    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    +			    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    +
    +			THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +			*/return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),h=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),s=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),x=i.create([1352829926,1548603684,1836072691,2053994217,0]),p=f.RIPEMD160=l.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,A){for(var D=0;D<16;D++){var B=A+D,S=_[B];_[B]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var P=this._hash.words,k=d.words,I=x.words,K=c.words,Y=u.words,q=h.words,se=s.words,oe,ce,ae,L,U,W,N,ue,te,T;W=oe=P[0],N=ce=P[1],ue=ae=P[2],te=L=P[3],T=U=P[4];for(var O,D=0;D<80;D+=1)O=oe+_[A+K[D]]|0,D<16?O+=m(ce,ae,L)+k[0]:D<32?O+=E(ce,ae,L)+k[1]:D<48?O+=g(ce,ae,L)+k[2]:D<64?O+=v(ce,ae,L)+k[3]:O+=b(ce,ae,L)+k[4],O=O|0,O=y(O,q[D]),O=O+U|0,oe=U,U=L,L=y(ae,10),ae=ce,ce=O,O=W+_[A+Y[D]]|0,D<16?O+=b(N,ue,te)+I[0]:D<32?O+=v(N,ue,te)+I[1]:D<48?O+=g(N,ue,te)+I[2]:D<64?O+=E(N,ue,te)+I[3]:O+=m(N,ue,te)+I[4],O=O|0,O=y(O,se[D]),O=O+T|0,W=T,T=te,te=y(ue,10),ue=N,N=O;O=P[1]+ae+te|0,P[1]=P[2]+L+T|0,P[2]=P[3]+U+W|0,P[3]=P[4]+oe+N|0,P[4]=P[0]+ce+ue|0,P[0]=O},_doFinalize:function(){var _=this._data,A=_.words,D=this._nDataBytes*8,B=_.sigBytes*8;A[B>>>5]|=128<<24-B%32,A[(B+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,_.sigBytes=(A.length+1)*4,this._process();for(var S=this._hash,P=S.words,k=0;k<5;k++){var I=P[k];P[k]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return S},clone:function(){var _=l.clone.call(this);return _._hash=this._hash.clone(),_}});function m(_,A,D){return _^A^D}function E(_,A,D){return _&A|~_&D}function g(_,A,D){return(_|~A)^D}function v(_,A,D){return _&D|A&~D}function b(_,A,D){return _^(A|~D)}function y(_,A){return _<>>32-A}o.RIPEMD160=l._createHelper(p),o.HmacRIPEMD160=l._createHmacHelper(p)}(),r.RIPEMD160})}(Qr)),Qr.exports}var Jr={exports:{}},vo;function pa(){return vo||(vo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){(function(){var n=r,o=n.lib,a=o.Base,i=n.enc,l=i.Utf8,f=n.algo;f.HMAC=a.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=l.parse(u));var h=c.blockSize,s=h*4;u.sigBytes>s&&(u=c.finalize(u)),u.clamp();for(var d=this._oKey=u.clone(),x=this._iKey=u.clone(),p=d.words,m=x.words,E=0;E>>2]&255;S.sigBytes-=P}};a.BlockCipher=d.extend({cfg:d.cfg.extend({mode:m,padding:g}),reset:function(){var S;d.reset.call(this);var P=this.cfg,k=P.iv,I=P.mode;this._xformMode==this._ENC_XFORM_MODE?S=I.createEncryptor:(S=I.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,k&&k.words):(this._mode=S.call(I,this,k&&k.words),this._mode.__creator=S)},_doProcessBlock:function(S,P){this._mode.processBlock(S,P)},_doFinalize:function(){var S,P=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(P.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),P.unpad(S)),S},blockSize:128/32});var v=a.CipherParams=i.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),b=o.format={},y=b.OpenSSL={stringify:function(S){var P,k=S.ciphertext,I=S.salt;return I?P=l.create([1398893684,1701076831]).concat(I).concat(k):P=k,P.toString(u)},parse:function(S){var P,k=u.parse(S),I=k.words;return I[0]==1398893684&&I[1]==1701076831&&(P=l.create(I.slice(2,4)),I.splice(0,4),k.sigBytes-=16),v.create({ciphertext:k,salt:P})}},_=a.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(S,P,k,I){I=this.cfg.extend(I);var K=S.createEncryptor(k,I),Y=K.finalize(P),q=K.cfg;return v.create({ciphertext:Y,key:k,iv:q.iv,algorithm:S,mode:q.mode,padding:q.padding,blockSize:S.blockSize,formatter:I.format})},decrypt:function(S,P,k,I){I=this.cfg.extend(I),P=this._parse(P,I.format);var K=S.createDecryptor(k,I).finalize(P.ciphertext);return K},_parse:function(S,P){return typeof S=="string"?P.parse(S,this):S}}),A=o.kdf={},D=A.OpenSSL={execute:function(S,P,k,I,K){if(I||(I=l.random(64/8)),K)var Y=s.create({keySize:P+k,hasher:K}).compute(S,I);else var Y=s.create({keySize:P+k}).compute(S,I);var q=l.create(Y.words.slice(P),k*4);return Y.sigBytes=P*4,v.create({key:Y,iv:q,salt:I})}},B=a.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:D}),encrypt:function(S,P,k,I){I=this.cfg.extend(I);var K=I.kdf.execute(k,S.keySize,S.ivSize,I.salt,I.hasher);I.iv=K.iv;var Y=_.encrypt.call(this,S,P,K.key,I);return Y.mixIn(K),Y},decrypt:function(S,P,k,I){I=this.cfg.extend(I),P=this._parse(P,I.format);var K=I.kdf.execute(k,S.keySize,S.ivSize,P.salt,I.hasher);I.iv=K.iv;var Y=_.decrypt.call(this,S,P,K.key,I);return Y}})}()})}(tn)),tn.exports}var rn={exports:{}},_o;function Wl(){return _o||(_o=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,i){var l=this._cipher,f=l.blockSize;o.call(this,a,i,f,l),this._prevBlock=a.slice(i,i+f)}}),n.Decryptor=n.extend({processBlock:function(a,i){var l=this._cipher,f=l.blockSize,c=a.slice(i,i+f);o.call(this,a,i,f,l),this._prevBlock=c}});function o(a,i,l,f){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,f.encryptBlock(c,0);for(var h=0;h>24&255)===255){var f=l>>16&255,c=l>>8&255,u=l&255;f===255?(f=0,c===255?(c=0,u===255?u=0:++u):++c):++f,l=0,l+=f<<16,l+=c<<8,l+=u}else l+=1<<24;return l}function a(l){return(l[0]=o(l[0]))===0&&(l[1]=o(l[1])),l}var i=n.Encryptor=n.extend({processBlock:function(l,f){var c=this._cipher,u=c.blockSize,h=this._iv,s=this._counter;h&&(s=this._counter=h.slice(0),this._iv=void 0),a(s);var d=s.slice(0);c.encryptBlock(d,0);for(var x=0;x>>2]|=l<<24-f%4*8,n.sigBytes+=l},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Ansix923})}(cn)),cn.exports}var ln={exports:{}},Bo;function zl(){return Bo||(Bo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.pad.Iso10126={pad:function(n,o){var a=o*4,i=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Iso10126})}(ln)),ln.exports}var un={exports:{}},Fo;function Kl(){return Fo||(Fo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.pad.Iso97971={pad:function(n,o){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,o)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(un)),un.exports}var fn={exports:{}},Po;function Yl(){return Po||(Po=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.pad.ZeroPadding={pad:function(n,o){var a=o*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var o=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(o[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(fn)),fn.exports}var dn={exports:{}},ko;function Xl(){return ko||(ko=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(dn)),dn.exports}var hn={exports:{}},To;function Ql(){return To||(To=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.CipherParams,l=o.enc,f=l.Hex,c=o.format;c.Hex={stringify:function(u){return u.ciphertext.toString(f)},parse:function(u){var h=f.parse(u);return i.create({ciphertext:h})}}}(),r.format.Hex})}(hn)),hn.exports}var xn={exports:{}},Io;function Jl(){return Io||(Io=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo,l=[],f=[],c=[],u=[],h=[],s=[],d=[],x=[],p=[],m=[];(function(){for(var v=[],b=0;b<256;b++)b<128?v[b]=b<<1:v[b]=b<<1^283;for(var y=0,_=0,b=0;b<256;b++){var A=_^_<<1^_<<2^_<<3^_<<4;A=A>>>8^A&255^99,l[y]=A,f[A]=y;var D=v[y],B=v[D],S=v[B],P=v[A]*257^A*16843008;c[y]=P<<24|P>>>8,u[y]=P<<16|P>>>16,h[y]=P<<8|P>>>24,s[y]=P;var P=S*16843009^B*65537^D*257^y*16843008;d[A]=P<<24|P>>>8,x[A]=P<<16|P>>>16,p[A]=P<<8|P>>>24,m[A]=P,y?(y=D^v[v[v[S^D]]],_^=v[v[_]]):y=_=1}})();var E=[0,1,2,4,8,16,32,64,128,27,54],g=i.AES=a.extend({_doReset:function(){var v;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var b=this._keyPriorReset=this._key,y=b.words,_=b.sigBytes/4,A=this._nRounds=_+6,D=(A+1)*4,B=this._keySchedule=[],S=0;S6&&S%_==4&&(v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255]):(v=v<<8|v>>>24,v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255],v^=E[S/_|0]<<24),B[S]=B[S-_]^v);for(var P=this._invKeySchedule=[],k=0;k>>24]]^x[l[v>>>16&255]]^p[l[v>>>8&255]]^m[l[v&255]]}}},encryptBlock:function(v,b){this._doCryptBlock(v,b,this._keySchedule,c,u,h,s,l)},decryptBlock:function(v,b){var y=v[b+1];v[b+1]=v[b+3],v[b+3]=y,this._doCryptBlock(v,b,this._invKeySchedule,d,x,p,m,f);var y=v[b+1];v[b+1]=v[b+3],v[b+3]=y},_doCryptBlock:function(v,b,y,_,A,D,B,S){for(var P=this._nRounds,k=v[b]^y[0],I=v[b+1]^y[1],K=v[b+2]^y[2],Y=v[b+3]^y[3],q=4,se=1;se>>24]^A[I>>>16&255]^D[K>>>8&255]^B[Y&255]^y[q++],ce=_[I>>>24]^A[K>>>16&255]^D[Y>>>8&255]^B[k&255]^y[q++],ae=_[K>>>24]^A[Y>>>16&255]^D[k>>>8&255]^B[I&255]^y[q++],L=_[Y>>>24]^A[k>>>16&255]^D[I>>>8&255]^B[K&255]^y[q++];k=oe,I=ce,K=ae,Y=L}var oe=(S[k>>>24]<<24|S[I>>>16&255]<<16|S[K>>>8&255]<<8|S[Y&255])^y[q++],ce=(S[I>>>24]<<24|S[K>>>16&255]<<16|S[Y>>>8&255]<<8|S[k&255])^y[q++],ae=(S[K>>>24]<<24|S[Y>>>16&255]<<16|S[k>>>8&255]<<8|S[I&255])^y[q++],L=(S[Y>>>24]<<24|S[k>>>16&255]<<16|S[I>>>8&255]<<8|S[K&255])^y[q++];v[b]=oe,v[b+1]=ce,v[b+2]=ae,v[b+3]=L},keySize:256/32});n.AES=a._createHelper(g)}(),r.AES})}(xn)),xn.exports}var pn={exports:{}},Lo;function Zl(){return Lo||(Lo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.BlockCipher,l=n.algo,f=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],s=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=l.DES=i.extend({_doReset:function(){for(var E=this._key,g=E.words,v=[],b=0;b<56;b++){var y=f[b]-1;v[b]=g[y>>>5]>>>31-y%32&1}for(var _=this._subKeys=[],A=0;A<16;A++){for(var D=_[A]=[],B=u[A],b=0;b<24;b++)D[b/6|0]|=v[(c[b]-1+B)%28]<<31-b%6,D[4+(b/6|0)]|=v[28+(c[b+24]-1+B)%28]<<31-b%6;D[0]=D[0]<<1|D[0]>>>31;for(var b=1;b<7;b++)D[b]=D[b]>>>(b-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var S=this._invSubKeys=[],b=0;b<16;b++)S[b]=_[15-b]},encryptBlock:function(E,g){this._doCryptBlock(E,g,this._subKeys)},decryptBlock:function(E,g){this._doCryptBlock(E,g,this._invSubKeys)},_doCryptBlock:function(E,g,v){this._lBlock=E[g],this._rBlock=E[g+1],x.call(this,4,252645135),x.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),x.call(this,1,1431655765);for(var b=0;b<16;b++){for(var y=v[b],_=this._lBlock,A=this._rBlock,D=0,B=0;B<8;B++)D|=h[B][((A^y[B])&s[B])>>>0];this._lBlock=A,this._rBlock=_^D}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,x.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),E[g]=this._lBlock,E[g+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(E,g){var v=(this._lBlock>>>E^this._rBlock)&g;this._rBlock^=v,this._lBlock^=v<>>E^this._lBlock)&g;this._lBlock^=v,this._rBlock^=v<192.");var v=g.slice(0,2),b=g.length<4?g.slice(0,2):g.slice(2,4),y=g.length<6?g.slice(0,2):g.slice(4,6);this._des1=d.createEncryptor(a.create(v)),this._des2=d.createEncryptor(a.create(b)),this._des3=d.createEncryptor(a.create(y))},encryptBlock:function(E,g){this._des1.encryptBlock(E,g),this._des2.decryptBlock(E,g),this._des3.encryptBlock(E,g)},decryptBlock:function(E,g){this._des3.decryptBlock(E,g),this._des2.encryptBlock(E,g),this._des1.decryptBlock(E,g)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=i._createHelper(m)}(),r.TripleDES})}(pn)),pn.exports}var mn={exports:{}},Ro;function eu(){return Ro||(Ro=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=i.RC4=a.extend({_doReset:function(){for(var u=this._key,h=u.words,s=u.sigBytes,d=this._S=[],x=0;x<256;x++)d[x]=x;for(var x=0,p=0;x<256;x++){var m=x%s,E=h[m>>>2]>>>24-m%4*8&255;p=(p+d[x]+E)%256;var g=d[x];d[x]=d[p],d[p]=g}this._i=this._j=0},_doProcessBlock:function(u,h){u[h]^=f.call(this)},keySize:256/32,ivSize:0});function f(){for(var u=this._S,h=this._i,s=this._j,d=0,x=0;x<4;x++){h=(h+1)%256,s=(s+u[h])%256;var p=u[h];u[h]=u[s],u[s]=p,d|=u[(u[h]+u[s])%256]<<24-x*8}return this._i=h,this._j=s,d}n.RC4=a._createHelper(l);var c=i.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)f.call(this)}});n.RC4Drop=a._createHelper(c)}(),r.RC4})}(mn)),mn.exports}var gn={exports:{}},No;function tu(){return No||(No=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=[],f=[],c=[],u=i.Rabbit=a.extend({_doReset:function(){for(var s=this._key.words,d=this.cfg.iv,x=0;x<4;x++)s[x]=(s[x]<<8|s[x]>>>24)&16711935|(s[x]<<24|s[x]>>>8)&4278255360;var p=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],m=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var x=0;x<4;x++)h.call(this);for(var x=0;x<8;x++)m[x]^=p[x+4&7];if(d){var E=d.words,g=E[0],v=E[1],b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,y=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,_=b>>>16|y&4294901760,A=y<<16|b&65535;m[0]^=b,m[1]^=_,m[2]^=y,m[3]^=A,m[4]^=b,m[5]^=_,m[6]^=y,m[7]^=A;for(var x=0;x<4;x++)h.call(this)}},_doProcessBlock:function(s,d){var x=this._X;h.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,s[d+p]^=l[p]},blockSize:128/32,ivSize:64/32});function h(){for(var s=this._X,d=this._C,x=0;x<8;x++)f[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>0?1:0;for(var x=0;x<8;x++){var p=s[x]+d[x],m=p&65535,E=p>>>16,g=((m*m>>>17)+m*E>>>15)+E*E,v=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=g^v}s[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,s[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,s[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,s[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,s[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,s[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,s[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,s[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.Rabbit=a._createHelper(u)}(),r.Rabbit})}(gn)),gn.exports}var vn={exports:{}},Oo;function ru(){return Oo||(Oo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=[],f=[],c=[],u=i.RabbitLegacy=a.extend({_doReset:function(){var s=this._key.words,d=this.cfg.iv,x=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],p=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var m=0;m<4;m++)h.call(this);for(var m=0;m<8;m++)p[m]^=x[m+4&7];if(d){var E=d.words,g=E[0],v=E[1],b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,y=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,_=b>>>16|y&4294901760,A=y<<16|b&65535;p[0]^=b,p[1]^=_,p[2]^=y,p[3]^=A,p[4]^=b,p[5]^=_,p[6]^=y,p[7]^=A;for(var m=0;m<4;m++)h.call(this)}},_doProcessBlock:function(s,d){var x=this._X;h.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,s[d+p]^=l[p]},blockSize:128/32,ivSize:64/32});function h(){for(var s=this._X,d=this._C,x=0;x<8;x++)f[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>0?1:0;for(var x=0;x<8;x++){var p=s[x]+d[x],m=p&65535,E=p>>>16,g=((m*m>>>17)+m*E>>>15)+E*E,v=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=g^v}s[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,s[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,s[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,s[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,s[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,s[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,s[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,s[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.RabbitLegacy=a._createHelper(u)}(),r.RabbitLegacy})}(vn)),vn.exports}var En={exports:{}},Mo;function nu(){return Mo||(Mo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo;const l=16,f=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function h(m,E){let g=E>>24&255,v=E>>16&255,b=E>>8&255,y=E&255,_=m.sbox[0][g]+m.sbox[1][v];return _=_^m.sbox[2][b],_=_+m.sbox[3][y],_}function s(m,E,g){let v=E,b=g,y;for(let _=0;_1;--_)v=v^m.pbox[_],b=h(m,v)^b,y=v,v=b,b=y;return y=v,v=b,b=y,b=b^m.pbox[1],v=v^m.pbox[0],{left:v,right:b}}function x(m,E,g){for(let A=0;A<4;A++){m.sbox[A]=[];for(let D=0;D<256;D++)m.sbox[A][D]=c[A][D]}let v=0;for(let A=0;A=g&&(v=0);let b=0,y=0,_=0;for(let A=0;A=Date.now())return h}return i(f),null}}function i(f){window.localStorage.removeItem(f)}function l(){window.localStorage.clear()}return{set:o,get:a,remove:i,clear:l}}ws();const Be=ws({expire:null,crypto:!1});function su(){return typeof process<"u"&&(process==null?void 0:process.type)==="renderer"?"electron":typeof wx<"u"?"wechat":typeof window<"u"&&window.matchMedia("(display-mode: standalone)").matches?"webApp":/(Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)?"mobile":"webBrowser"}const As="appSetting";function cu(){return{siderCollapsed:!1,theme:"auto",language:"zh-CN",env:su()}}function lu(){const e=Be.get(As);return{...cu(),...e}}function uu(e){Be.set(As,e)}const Ss=vt("app-store",{state:()=>lu(),actions:{setSiderCollapsed(e){this.siderCollapsed=e,this.recordState()},setTheme(e){localStorage.theme=e,this.theme=e,window.theme=e,this.recordState()},setLanguage(e){this.language!==e&&(this.language=e,this.recordState())},recordState(){uu(this.$state)},setEnv(){const e=/micromessenger/i.test(navigator.userAgent),t=navigator.userAgent.includes("Electron"),r=/(iPhone|iPad|iPod|Android|webOS|BlackBerry|Windows Phone)/i.test(navigator.userAgent);e?this.env="wechat":t?this.env="electron":r?this.env="mobile":!e&&!t&&(this.env="web")}}});function fu(){return Ss(Sr)}function Ds(e,t){return function(){return e.apply(t,arguments)}}const{toString:du}=Object.prototype,{getPrototypeOf:ma}=Object,Cr=(e=>t=>{const r=du.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ke=e=>(e=e.toLowerCase(),t=>Cr(t)===e),_r=e=>t=>typeof t===e,{isArray:It}=Array,zt=_r("undefined");function hu(e){return e!==null&&!zt(e)&&e.constructor!==null&&!zt(e.constructor)&&He(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bs=Ke("ArrayBuffer");function xu(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Bs(e.buffer),t}const pu=_r("string"),He=_r("function"),Fs=_r("number"),yr=e=>e!==null&&typeof e=="object",mu=e=>e===!0||e===!1,sr=e=>{if(Cr(e)!=="object")return!1;const t=ma(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gu=Ke("Date"),vu=Ke("File"),Eu=Ke("Blob"),bu=Ke("FileList"),Cu=e=>yr(e)&&He(e.pipe),_u=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||He(e.append)&&((t=Cr(e))==="formdata"||t==="object"&&He(e.toString)&&e.toString()==="[object FormData]"))},yu=Ke("URLSearchParams"),wu=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),It(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const ks=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ts=e=>!zt(e)&&e!==ks;function Hn(){const{caseless:e}=Ts(this)&&this||{},t={},r=(n,o)=>{const a=e&&Ps(t,o)||o;sr(t[a])&&sr(n)?t[a]=Hn(t[a],n):sr(n)?t[a]=Hn({},n):It(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n(Zt(t,(o,a)=>{r&&He(o)?e[a]=Ds(o,r):e[a]=o},{allOwnKeys:n}),e),Su=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Du=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Bu=(e,t,r,n)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=r!==!1&&ma(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Fu=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Pu=e=>{if(!e)return null;if(It(e))return e;let t=e.length;if(!Fs(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ku=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ma(Uint8Array)),Tu=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},Iu=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Lu=Ke("HTMLFormElement"),Ru=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Uo=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Nu=Ke("RegExp"),Is=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Zt(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},Ou=e=>{Is(e,(t,r)=>{if(He(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(He(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Mu=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return It(e)?n(e):n(String(e).split(t)),r},Uu=()=>{},Hu=(e,t)=>(e=+e,Number.isFinite(e)?e:t),bn="abcdefghijklmnopqrstuvwxyz",Ho="0123456789",Ls={DIGIT:Ho,ALPHA:bn,ALPHA_DIGIT:bn+bn.toUpperCase()+Ho},Wu=(e=16,t=Ls.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function ju(e){return!!(e&&He(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Gu=e=>{const t=new Array(10),r=(n,o)=>{if(yr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const a=It(n)?[]:{};return Zt(n,(i,l)=>{const f=r(i,o+1);!zt(f)&&(a[l]=f)}),t[o]=void 0,a}}return n};return r(e,0)},$u=Ke("AsyncFunction"),Vu=e=>e&&(yr(e)||He(e))&&He(e.then)&&He(e.catch),M={isArray:It,isArrayBuffer:Bs,isBuffer:hu,isFormData:_u,isArrayBufferView:xu,isString:pu,isNumber:Fs,isBoolean:mu,isObject:yr,isPlainObject:sr,isUndefined:zt,isDate:gu,isFile:vu,isBlob:Eu,isRegExp:Nu,isFunction:He,isStream:Cu,isURLSearchParams:yu,isTypedArray:ku,isFileList:bu,forEach:Zt,merge:Hn,extend:Au,trim:wu,stripBOM:Su,inherits:Du,toFlatObject:Bu,kindOf:Cr,kindOfTest:Ke,endsWith:Fu,toArray:Pu,forEachEntry:Tu,matchAll:Iu,isHTMLForm:Lu,hasOwnProperty:Uo,hasOwnProp:Uo,reduceDescriptors:Is,freezeMethods:Ou,toObjectSet:Mu,toCamelCase:Ru,noop:Uu,toFiniteNumber:Hu,findKey:Ps,global:ks,isContextDefined:Ts,ALPHABET:Ls,generateString:Wu,isSpecCompliantForm:ju,toJSONObject:Gu,isAsyncFn:$u,isThenable:Vu};function de(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}M.inherits(de,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Rs=de.prototype,Ns={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ns[e]={value:e}});Object.defineProperties(de,Ns);Object.defineProperty(Rs,"isAxiosError",{value:!0});de.from=(e,t,r,n,o,a)=>{const i=Object.create(Rs);return M.toFlatObject(e,i,function(f){return f!==Error.prototype},l=>l!=="isAxiosError"),de.call(i,e.message,t,r,n,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const qu=null;function Wn(e){return M.isPlainObject(e)||M.isArray(e)}function Os(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function Wo(e,t,r){return e?e.concat(t).map(function(o,a){return o=Os(o),!r&&a?"["+o+"]":o}).join(r?".":""):t}function zu(e){return M.isArray(e)&&!e.some(Wn)}const Ku=M.toFlatObject(M,{},null,function(t){return/^is[A-Z]/.test(t)});function wr(e,t,r){if(!M.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=M.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!M.isUndefined(m[p])});const n=r.metaTokens,o=r.visitor||u,a=r.dots,i=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(t);if(!M.isFunction(o))throw new TypeError("visitor must be a function");function c(x){if(x===null)return"";if(M.isDate(x))return x.toISOString();if(!f&&M.isBlob(x))throw new de("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(x)||M.isTypedArray(x)?f&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function u(x,p,m){let E=x;if(x&&!m&&typeof x=="object"){if(M.endsWith(p,"{}"))p=n?p:p.slice(0,-2),x=JSON.stringify(x);else if(M.isArray(x)&&zu(x)||(M.isFileList(x)||M.endsWith(p,"[]"))&&(E=M.toArray(x)))return p=Os(p),E.forEach(function(v,b){!(M.isUndefined(v)||v===null)&&t.append(i===!0?Wo([p],b,a):i===null?p:p+"[]",c(v))}),!1}return Wn(x)?!0:(t.append(Wo(m,p,a),c(x)),!1)}const h=[],s=Object.assign(Ku,{defaultVisitor:u,convertValue:c,isVisitable:Wn});function d(x,p){if(!M.isUndefined(x)){if(h.indexOf(x)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(x),M.forEach(x,function(E,g){(!(M.isUndefined(E)||E===null)&&o.call(t,E,M.isString(g)?g.trim():g,p,s))===!0&&d(E,p?p.concat(g):[g])}),h.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return d(e),t}function jo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ga(e,t){this._pairs=[],e&&wr(e,this,t)}const Ms=ga.prototype;Ms.append=function(t,r){this._pairs.push([t,r])};Ms.toString=function(t){const r=t?function(n){return t.call(this,n,jo)}:jo;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Yu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Us(e,t,r){if(!t)return e;const n=r&&r.encode||Yu,o=r&&r.serialize;let a;if(o?a=o(t,r):a=M.isURLSearchParams(t)?t.toString():new ga(t,r).toString(n),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Xu{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){M.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Go=Xu,Hs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qu=typeof URLSearchParams<"u"?URLSearchParams:ga,Ju=typeof FormData<"u"?FormData:null,Zu=typeof Blob<"u"?Blob:null,ef={isBrowser:!0,classes:{URLSearchParams:Qu,FormData:Ju,Blob:Zu},protocols:["http","https","file","blob","url","data"]},Ws=typeof window<"u"&&typeof document<"u",tf=(e=>Ws&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),rf=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),nf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ws,hasStandardBrowserEnv:tf,hasStandardBrowserWebWorkerEnv:rf},Symbol.toStringTag,{value:"Module"})),qe={...nf,...ef};function af(e,t){return wr(e,new qe.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,a){return qe.isNode&&M.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function of(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sf(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n=r.length;return i=!i&&M.isArray(o)?o.length:i,f?(M.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!l):((!o[i]||!M.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],a)&&M.isArray(o[i])&&(o[i]=sf(o[i])),!l)}if(M.isFormData(e)&&M.isFunction(e.entries)){const r={};return M.forEachEntry(e,(n,o)=>{t(of(n),o,r,0)}),r}return null}function cf(e,t,r){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const va={transitional:Hs,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=M.isObject(t);if(a&&M.isHTMLForm(t)&&(t=new FormData(t)),M.isFormData(t))return o?JSON.stringify(js(t)):t;if(M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t))return t;if(M.isArrayBufferView(t))return t.buffer;if(M.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return af(t,this.formSerializer).toString();if((l=M.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return wr(l?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),cf(t)):t}],transformResponse:[function(t){const r=this.transitional||va.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&M.isString(t)&&(n&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?de.from(l,de.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{va.headers[e]={}});const Ea=va,lf=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),uf=e=>{const t={};let r,n,o;return e&&e.split(`
    +`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&lf[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},$o=Symbol("internals");function Nt(e){return e&&String(e).trim().toLowerCase()}function cr(e){return e===!1||e==null?e:M.isArray(e)?e.map(cr):String(e)}function ff(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const df=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Cn(e,t,r,n,o){if(M.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!M.isString(t)){if(M.isString(n))return t.indexOf(n)!==-1;if(M.isRegExp(n))return n.test(t)}}function hf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function xf(e,t){const r=M.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}class Ar{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(l,f,c){const u=Nt(f);if(!u)throw new Error("header name must be a non-empty string");const h=M.findKey(o,u);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||f]=cr(l))}const i=(l,f)=>M.forEach(l,(c,u)=>a(c,u,f));return M.isPlainObject(t)||t instanceof this.constructor?i(t,r):M.isString(t)&&(t=t.trim())&&!df(t)?i(uf(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=Nt(t),t){const n=M.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return ff(o);if(M.isFunction(r))return r.call(this,o,n);if(M.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Nt(t),t){const n=M.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Cn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=Nt(i),i){const l=M.findKey(n,i);l&&(!r||Cn(n,n[l],l,r))&&(delete n[l],o=!0)}}return M.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||Cn(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return M.forEach(this,(o,a)=>{const i=M.findKey(n,a);if(i){r[i]=cr(o),delete r[a];return}const l=t?hf(a):String(a).trim();l!==a&&delete r[a],r[l]=cr(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return M.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&M.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
    +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[$o]=this[$o]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=Nt(i);n[l]||(xf(o,i),n[l]=!0)}return M.isArray(t)?t.forEach(a):a(t),this}}Ar.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(Ar.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});M.freezeMethods(Ar);const tt=Ar;function _n(e,t){const r=this||Ea,n=t||r,o=tt.from(n.headers);let a=n.data;return M.forEach(e,function(l){a=l.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function Gs(e){return!!(e&&e.__CANCEL__)}function er(e,t,r){de.call(this,e??"canceled",de.ERR_CANCELED,t,r),this.name="CanceledError"}M.inherits(er,de,{__CANCEL__:!0});function pf(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new de("Request failed with status code "+r.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const mf=qe.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];M.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),M.isString(n)&&i.push("path="+n),M.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function gf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $s(e,t){return e&&!gf(t)?vf(e,t):t}const Ef=qe.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const l=M.isString(i)?o(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function bf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Cf(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(f){const c=Date.now(),u=n[a];i||(i=c),r[o]=f,n[o]=c;let h=a,s=0;for(;h!==o;)s+=r[h++],h=h%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i{const a=o.loaded,i=o.lengthComputable?o.total:void 0,l=a-r,f=n(l),c=a<=i;r=a;const u={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:f||void 0,estimated:f&&i&&c?(i-a)/f:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const _f=typeof XMLHttpRequest<"u",yf=_f&&function(e){return new Promise(function(r,n){let o=e.data;const a=tt.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,f;function c(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let u;if(M.isFormData(o)){if(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((u=a.getContentType())!==!1){const[p,...m]=u?u.split(";").map(E=>E.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...m].join("; "))}}let h=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(p+":"+m))}const s=$s(e.baseURL,e.url);h.open(e.method.toUpperCase(),Us(s,e.params,e.paramsSerializer),!0),h.timeout=e.timeout;function d(){if(!h)return;const p=tt.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!i||i==="text"||i==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:e,request:h};pf(function(v){r(v),c()},function(v){n(v),c()},E),h=null}if("onloadend"in h?h.onloadend=d:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(d)},h.onabort=function(){h&&(n(new de("Request aborted",de.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new de("Network Error",de.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Hs;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),n(new de(m,E.clarifyTimeoutError?de.ETIMEDOUT:de.ECONNABORTED,e,h)),h=null},qe.hasStandardBrowserEnv&&(l&&M.isFunction(l)&&(l=l(e)),l||l!==!1&&Ef(s))){const p=e.xsrfHeaderName&&e.xsrfCookieName&&mf.read(e.xsrfCookieName);p&&a.set(e.xsrfHeaderName,p)}o===void 0&&a.setContentType(null),"setRequestHeader"in h&&M.forEach(a.toJSON(),function(m,E){h.setRequestHeader(E,m)}),M.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),i&&i!=="json"&&(h.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&h.addEventListener("progress",Vo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",Vo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=p=>{h&&(n(!p||p.type?new er(null,e,h):p),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const x=bf(s);if(x&&qe.protocols.indexOf(x)===-1){n(new de("Unsupported protocol "+x+":",de.ERR_BAD_REQUEST,e));return}h.send(o||null)})},jn={http:qu,xhr:yf};M.forEach(jn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qo=e=>`- ${e}`,wf=e=>M.isFunction(e)||e===null||e===!1,Vs={getAdapter:e=>{e=M.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let a=0;a`adapter ${l} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since :
    +`+a.map(qo).join(`
    +`):" "+qo(a[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:jn};function yn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new er(null,e)}function zo(e){return yn(e),e.headers=tt.from(e.headers),e.data=_n.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vs.getAdapter(e.adapter||Ea.adapter)(e).then(function(n){return yn(e),n.data=_n.call(e,e.transformResponse,n),n.headers=tt.from(n.headers),n},function(n){return Gs(n)||(yn(e),n&&n.response&&(n.response.data=_n.call(e,e.transformResponse,n.response),n.response.headers=tt.from(n.response.headers))),Promise.reject(n)})}const Ko=e=>e instanceof tt?e.toJSON():e;function Dt(e,t){t=t||{};const r={};function n(c,u,h){return M.isPlainObject(c)&&M.isPlainObject(u)?M.merge.call({caseless:h},c,u):M.isPlainObject(u)?M.merge({},u):M.isArray(u)?u.slice():u}function o(c,u,h){if(M.isUndefined(u)){if(!M.isUndefined(c))return n(void 0,c,h)}else return n(c,u,h)}function a(c,u){if(!M.isUndefined(u))return n(void 0,u)}function i(c,u){if(M.isUndefined(u)){if(!M.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function l(c,u,h){if(h in t)return n(c,u);if(h in e)return n(void 0,c)}const f={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>o(Ko(c),Ko(u),!0)};return M.forEach(Object.keys(Object.assign({},e,t)),function(u){const h=f[u]||o,s=h(e[u],t[u],u);M.isUndefined(s)&&h!==l||(r[u]=s)}),r}const qs="1.6.7",ba={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ba[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Yo={};ba.transitional=function(t,r,n){function o(a,i){return"[Axios v"+qs+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,l)=>{if(t===!1)throw new de(o(i," has been removed"+(r?" in "+r:"")),de.ERR_DEPRECATED);return r&&!Yo[i]&&(Yo[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,l):!0}};function Af(e,t,r){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const l=e[a],f=l===void 0||i(l,a,e);if(f!==!0)throw new de("option "+a+" must be "+f,de.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new de("Unknown option "+a,de.ERR_BAD_OPTION)}}const Gn={assertOptions:Af,validators:ba},ot=Gn.validators;class dr{constructor(t){this.defaults=t,this.interceptors={request:new Go,response:new Go}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
    +`+a):n.stack=a}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Dt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&Gn.assertOptions(n,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},!1),o!=null&&(M.isFunction(o)?r.paramsSerializer={serialize:o}:Gn.assertOptions(o,{encode:ot.function,serialize:ot.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&M.merge(a.common,a[r.method]);a&&M.forEach(["delete","get","head","post","put","patch","common"],x=>{delete a[x]}),r.headers=tt.concat(i,a);const l=[];let f=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(f=f&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,h=0,s;if(!f){const x=[zo.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,c),s=x.length,u=Promise.resolve(r);h{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{n.subscribe(l),a=l}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,l){n.reason||(n.reason=new er(a,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Ca(function(o){t=o}),cancel:t}}}const Sf=Ca;function Df(e){return function(r){return e.apply(null,r)}}function Bf(e){return M.isObject(e)&&e.isAxiosError===!0}const $n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($n).forEach(([e,t])=>{$n[t]=e});const Ff=$n;function zs(e){const t=new lr(e),r=Ds(lr.prototype.request,t);return M.extend(r,lr.prototype,t,{allOwnKeys:!0}),M.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return zs(Dt(e,o))},r}const Ae=zs(Ea);Ae.Axios=lr;Ae.CanceledError=er;Ae.CancelToken=Sf;Ae.isCancel=Gs;Ae.VERSION=qs;Ae.toFormData=wr;Ae.AxiosError=de;Ae.Cancel=Ae.CanceledError;Ae.all=function(t){return Promise.all(t)};Ae.spread=Df;Ae.isAxiosError=Bf;Ae.mergeConfig=Dt;Ae.AxiosHeaders=tt;Ae.formToJSON=e=>js(M.isHTMLForm(e)?new FormData(e):e);Ae.getAdapter=Vs.getAdapter;Ae.HttpStatusCode=Ff;Ae.default=Ae;const Pf=Ae,hr=Pf.create({baseURL:"/api",timeout:2400*1e3});hr.interceptors.request.use(e=>{var o;const t=Kt().token,r=(o=Xs())==null?void 0:o.fingerprint,n=window.location.origin;return e.headers["X-Website-Domain"]=n,r&&(e.headers.Fingerprint=r),t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e.response));hr.interceptors.response.use(e=>{if([200,201].includes(e.status))return e;throw new Error(e.status.toString())},e=>Promise.reject(e));let Xo=0;const kf=["/chatlog/chatList","/group/query"];function Tf(e){return e?kf.some(t=>e.includes(t)):!1}function Ks({url:e,data:t,method:r,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){const f=h=>{const s=Kt(),{code:d}=h.data;return d>=200&&d<300||!d?h.data:(d===401&&(s.removeToken(),window.location.reload()),Promise.reject(h.data))},c=h=>{var p,m,E,g,v,b;const s=Kt();let d="";if((p=h.response)!=null&&p.data&&(d=h.response.data),l==null||l(),((m=h==null?void 0:h.response)==null?void 0:m.status)===401){if(s.removeToken(),!Tf((E=h==null?void 0:h.request)==null?void 0:E.responseURL)){s.loadInit&&s.setLoginDialog(!0);const y=((g=h.response.data)==null?void 0:g.message)||"请先登录后再进行使用!";Date.now()-Xo>3e3&&window.$message.error(y)}Xo=Date.now()}else d&&!(d!=null&&d.success)&&window.$message.error((d==null?void 0:d.message)||"请求接口错误!");throw new Error(((b=(v=h.response)==null?void 0:v.data)==null?void 0:b.message)||h||"Error")};i==null||i(),r=r||"GET";const u=Object.assign(typeof t=="function"?t():t??{},{});return r==="GET"?hr.get(e,{params:u,signal:a,onDownloadProgress:o}).then(f,c):hr.post(e,u,{headers:n,signal:a,onDownloadProgress:o}).then(f,c)}function we({url:e,data:t,method:r="GET",onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i}){return Ks({url:e,method:r,data:t,onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i})}function ge({url:e,data:t,method:r="POST",headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){return Ks({url:e,method:r,data:t,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l})}function If(e){return ge({url:"/group/create",data:e})}function Lf(){return we({url:"/group/query"})}function Rf(e){return ge({url:"/group/update",data:e})}function Nf(e){return ge({url:"/group/del",data:e})}function Of(e){return ge({url:"/group/delAll",data:e})}const Vn="chatStorage";function Mf(){return{active:0,usingContext:!0,usingNetwork:!1,groupList:[],chatList:[],groupKeyWord:"",baseConfig:null,currentPlugin:void 0,pluginList:[]}}function Uf(){const e=Be.get(Vn);return{...Mf(),...e}}function Hf({active:e}){Be.set(Vn,{...Be.get(Vn),active:e})}function Wf(e){return ge({url:"/chatlog/del",data:e})}function jf(e){return ge({url:"/chatlog/delByGroupId",data:e})}function Gf(e){return we({url:"/chatlog/chatList",data:e})}function cm(){return we({url:"/models/list"})}function $f(){return we({url:"/models/baseConfig"})}function Vf(){return we({url:"/plugin/pluginList"})}const Ys=vt("chat-store",{state:()=>Uf(),getters:{activeConfig:e=>{var o;const t=e.active;if(!t)return{};const r=(o=e.groupList.find(a=>a.uuid===t))==null?void 0:o.config;return r?JSON.parse(r):e.baseConfig},activeGroupAppId:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.appId:null},activeModel(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.model},activeModelName(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelName},activeModelAvatar(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelAvatar},activeModelDeductType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deductType},activeModelKeyType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.keyType},activeModelFileUpload(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.isFileUpload},activeModelPrice(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deduct}},actions:{async queryPlugins(){try{const e=await Vf();e.success&&e.code===200&&(this.pluginList=e.data.rows.filter(t=>t.isEnabled===1).map(t=>({pluginId:t.id,pluginName:t.name,description:t.description,pluginImg:t.pluginImg,parameters:t.parameters})))}catch{}},setGroupKeyWord(e){this.groupKeyWord=e},getChatByGroupInfo(){if(this.active)return this.groupList.find(e=>e.uuid===this.active)},getConfigFromUuid(e){var t;return(t=this.groupList.find(r=>r.uuid===e))==null?void 0:t.config},async addNewChatGroup(e=0,t){console.log("开始新增新的对话组",{appId:e,modelConfig:t});try{const r=await If({appId:e,modelConfig:t});console.log("创建对话组API响应:",r);const{id:n}=r.data;console.log("新对话组ID:",n),this.active=n,console.log("重置chatList并设置active:",{chatList:this.chatList,active:this.active}),console.log("设置活动对话组完成"),await this.queryMyGroup(),console.log("查询我的对话组完成"),await this.setActiveGroup(n),this.chatList=[],console.log("记录状态完成")}catch(r){console.error("新增对话组时出错:",r)}},async getBaseModelConfig(){const e=await $f();this.baseConfig=e==null?void 0:e.data},async queryMyGroup(){const e=await Lf();this.groupList=[...e.data.map(r=>{const{id:n,title:o,isSticky:a,createdAt:i,updatedAt:l,appId:f,config:c,appLogo:u,isFixedModel:h,isGpts:s}=r;return{uuid:n,title:o,isEdit:!1,appId:f,config:c,isSticky:a,appLogo:u,createdAt:i,isFixedModel:h,isGpts:s,updatedAt:new Date(l).getTime()}})];const t=this.groupList.some(r=>Number(r.uuid)===Number(this.active));(!this.active||!t)&&this.groupList.length&&this.setActiveGroup(this.groupList[0].uuid),this.recordState()},async updateGroupInfo(e){await Rf(e),await this.queryMyGroup()},async setActiveGroup(e){this.active=e,this.active?await this.queryActiveChatLogList():this.chatList=[],this.groupList.forEach(t=>t.isEdit=!1),this.recordState()},async deleteGroup(e){const t=this.groupList.findIndex(n=>n.uuid===e.uuid),{uuid:r}=e;await Nf({groupId:r}),await this.queryMyGroup(),this.groupList.length===0&&await this.setActiveGroup(0),t>0&&t0&&await this.setActiveGroup(this.groupList[0].uuid),(t>this.groupList.length||t===0&&this.groupList.length===0)&&await this.setActiveGroup(0),t>0&&t===this.groupList.length&&await this.setActiveGroup(this.groupList[t-1].uuid),this.recordState()},async delAllGroup(){!this.active||!this.groupList.length||(await Of(),await this.queryMyGroup(),this.groupList.length===0?await this.setActiveGroup(0):await this.setActiveGroup(this.groupList[0].uuid))},async queryActiveChatLogList(){if(!this.active||Number(this.active)===0)return;const e=await Gf({groupId:this.active});this.chatList=e.data,this.recordState()},addGroupChat(e){this.chatList=[...this.chatList,e]},updateGroupChat(e,t){this.chatList[e]={...this.chatList[e],...t}},updateGroupChatSome(e,t){this.chatList[e]={...this.chatList[e],...t}},async deleteChatById(e){e&&(await Wf({id:e}),await this.queryActiveChatLogList())},setUsingContext(e){this.usingContext=e,this.recordState()},setUsingNetwork(e){this.usingNetwork=e,this.recordState()},setUsingPlugin(e){this.currentPlugin=e||void 0,this.recordState()},setStreamIn(e){this.isStreamIn=e,this.recordState()},async clearChatByGroupId(){this.active&&(await jf({groupId:this.active}),await this.queryActiveChatLogList())},recordState(){Hf(this.$state)},clearChat(){this.chatList=[],this.groupList=[],this.active=0,this.recordState()}}});function lm(){return we({url:"/app/queryCats"})}function um(){return we({url:"/app/list"})}function fm(e){return ge({url:"/app/searchList",data:e})}function qf(){return we({url:"/app/mineApps"})}function dm(e){return ge({url:"/app/collect",data:e})}function hm(e){return we({url:"/app/queryOneCat",data:e})}const xm=vt("app-cat-store",{state:()=>({catId:0,mineApps:[]}),actions:{setCatId(e){this.catId=e},async queryMineApps(){var t;const e=await qf();this.mineApps=((t=e==null?void 0:e.data)==null?void 0:t.rows)||[]}}});function pm(e){return ge({url:"/chatgpt/chat-process",data:{model:e.model,modelName:e.modelName,modelType:e.modelType,prompt:e.prompt,fileInfo:e==null?void 0:e.fileInfo,extraParam:e==null?void 0:e.extraParam,appId:e==null?void 0:e.appId,options:e.options,action:e==null?void 0:e.action,customId:e==null?void 0:e.customId,usingPluginId:e==null?void 0:e.usingPluginId,drawId:e==null?void 0:e.drawId,modelAvatar:e==null?void 0:e.modelAvatar},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function mm(e){return ge({url:"/chatgpt/tts-process",data:e})}function zf(){return we({url:"/auth/getInfo"})}function gm(e){return ge({url:"/auth/register",data:e})}function vm(e){return ge({url:"/auth/login",data:e})}function Em(e){return ge({url:"/user/update",data:e})}function bm(e){return ge({url:"/auth/updatePassword",data:e})}function Cm(e){return ge({url:"/chatgpt/chat-sync",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function _m(e){return ge({url:"/chatgpt/chat-mind",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function ym(e){return ge({url:"/chatgpt/mj-fy",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function wm(e){return we({url:"/midjourney/drawList",data:e})}function Am(){return we({url:"/midjourney/queryPrompts"})}function Sm(e){return we({url:"/midjourney/getFullPrompt",data:e})}function Dm(e){return ge({url:"/midjourney/delete",data:e})}function Bm(e){return we({url:"/midjourney/getList",data:e})}function Fm(e){return ge({url:"/auth/captcha",data:e})}function Pm(e){return ge({url:"/auth/sendCode",data:e})}function km(e){return we({url:"/balance/rechargeLog",data:e})}function Kf(){return we({url:"/balance/query"})}function Tm(){return we({url:"/balance/getVisitorCount"})}function Im(){return ge({url:"/balance/inheritVisitorData"})}function Yf(e){return we({url:"/config/queryFronet",data:e})}function Lm(e){return we({url:"/menu/list",data:e})}const _a="SECRET_TOKEN";function Xf(){return Be.get(_a)}function Qf(e){return Be.set(_a,e)}function wn(){return Be.remove(_a)}const Kt=vt("auth-store",{state:()=>({token:Xf(),loginDialog:!1,globalConfigLoading:!0,userInfo:{},userBalance:{},globalConfig:{},loadInit:!1}),getters:{isLogin:e=>!!e.token},actions:{async getUserInfo(){try{this.loadInit||await this.getglobalConfig();const e=await zf();if(!e)return Promise.resolve(e);const{data:t}=e,{userInfo:r,userBalance:n}=t;return this.userInfo={...r},this.userBalance={...n},Promise.resolve(t)}catch(e){return Promise.reject(e)}},updateUserBalance(e){this.userBalance=e},async getUserBalance(){const e=await Kf(),{success:t,data:r}=e;t&&(this.userBalance=r)},async getglobalConfig(e=""){const t=await Yf({domain:e});this.globalConfig=t.data,this.globalConfigLoading=!1,this.loadInit=!0},setToken(e){this.token=e,Qf(e)},removeToken(){this.token=void 0,wn()},setLoginDialog(e){this.loginDialog=e},logOut(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},Ys().clearChat()},updatePasswordSuccess(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},this.loginDialog=!0}}});function Jf(){return Kt(Sr)}const Xs=vt("global-store",{state:()=>({payDialog:!1,goodsDialog:!1,noticeDialog:!1,bindWxDialog:!1,signInDialog:!1,isChatIn:!1,fingerprint:0,model:Be.get("model")||3,orderInfo:{},iframeUrl:"",clipboardText:""}),actions:{updateClipboardText(e){this.clipboardText=e},updateFingerprint(e){let t=e;t>2147483647&&(t=Number(t.toString().slice(-9)),t=Number(String(Number(t)))),Be.set("fingerprint",t),this.fingerprint=t},updateIframeUrl(e){this.iframeUrl=e},updatePayDialog(e){this.payDialog=e},updateIsChatIn(e){this.isChatIn=e},updateGoodsDialog(e){this.goodsDialog=e},updateBindwxDialog(e){this.bindWxDialog=e},updateSignInDialog(e){this.signInDialog=e},updateNoticeDialog(e){this.noticeDialog=e},updateOrderInfo(e){this.orderInfo=e},updateModel(e){Be.set("model",e),this.model=e}}});function Zf(){return Xs(Sr)}const Qs="promptStore";function ed(){return Be.get(Qs)??{promptList:[]}}function td(e){Be.set(Qs,e)}vt("prompt-store",{state:()=>ed(),actions:{updatePromptList(e){this.$patch({promptList:e}),td({promptList:e})},getPromptList(){return this.$state}}});const ya="settingsStorage";function Js(){return{systemMessage:""}}function rd(){const e=Be.get(ya);return{...Js(),...e}}function nd(e){Be.set(ya,e)}function ad(){Be.remove(ya)}vt("setting-store",{state:()=>rd(),actions:{updateSetting(e){this.$state={...this.$state,...e},this.recordState()},resetSetting(){this.$state=Js(),ad()},recordState(){nd(this.$state)}}});const Sr=yl();function od(e){e.use(Sr)}/*!
    +  * shared v9.10.1
    +  * (c) 2024 kazuya kawaguchi
    +  * Released under the MIT License.
    +  */const xr=typeof window<"u",ht=(e,t=!1)=>t?Symbol.for(e):Symbol(e),id=(e,t,r)=>sd({l:e,k:t,s:r}),sd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=e=>typeof e=="number"&&isFinite(e),cd=e=>e0(e)==="[object Date]",ft=e=>e0(e)==="[object RegExp]",Dr=e=>ne(e)&&Object.keys(e).length===0,ke=Object.assign;let Qo;const et=()=>Qo||(Qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jo(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const ld=Object.prototype.hasOwnProperty;function pr(e,t){return ld.call(e,t)}const be=Array.isArray,Ee=e=>typeof e=="function",V=e=>typeof e=="string",le=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",ud=e=>xe(e)&&Ee(e.then)&&Ee(e.catch),Zs=Object.prototype.toString,e0=e=>Zs.call(e),ne=e=>{if(!xe(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},fd=e=>e==null?"":be(e)||ne(e)&&e.toString===Zs?JSON.stringify(e,null,2):String(e);function dd(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function wa(e){let t=e;return()=>++t}function hd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rr=e=>!xe(e)||be(e);function ur(e,t){if(rr(e)||rr(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(a=>{rr(n[a])||rr(o[a])?o[a]=n[a]:r.push({src:n[a],des:o[a]})})}}/*!
    +  * message-compiler v9.10.1
    +  * (c) 2024 kazuya kawaguchi
    +  * Released under the MIT License.
    +  */function xd(e,t,r){return{line:e,column:t,offset:r}}function qn(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const pd=/\{([0-9a-zA-Z]+)\}/g;function md(e,...t){return t.length===1&&gd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(pd,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const t0=Object.assign,Zo=e=>typeof e=="string",gd=e=>e!==null&&typeof e=="object";function r0(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}const Z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},vd={[Z.EXPECTED_TOKEN]:"Expected token: '{0}'",[Z.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Z.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Z.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Z.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Z.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Z.EMPTY_PLACEHOLDER]:"Empty placeholder",[Z.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Z.INVALID_LINKED_FORMAT]:"Invalid linked format",[Z.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Z.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Z.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Z.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Z.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Z.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Lt(e,t,r={}){const{domain:n,messages:o,args:a}=r,i=md((o||vd)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=n,l}function Ed(e){throw e}const Xe=" ",bd="\r",Le=`
    +`,Cd=String.fromCharCode(8232),_d=String.fromCharCode(8233);function yd(e){const t=e;let r=0,n=1,o=1,a=0;const i=A=>t[A]===bd&&t[A+1]===Le,l=A=>t[A]===Le,f=A=>t[A]===_d,c=A=>t[A]===Cd,u=A=>i(A)||l(A)||f(A)||c(A),h=()=>r,s=()=>n,d=()=>o,x=()=>a,p=A=>i(A)||f(A)||c(A)?Le:t[A],m=()=>p(r),E=()=>p(r+a);function g(){return a=0,u(r)&&(n++,o=0),i(r)&&r++,r++,o++,t[r]}function v(){return i(r+a)&&a++,a++,t[r+a]}function b(){r=0,n=1,o=1,a=0}function y(A=0){a=A}function _(){const A=r+a;for(;A!==r;)g();a=0}return{index:h,line:s,column:d,peekOffset:x,charAt:p,currentChar:m,currentPeek:E,next:g,peek:v,reset:b,resetPeek:y,skipToPeek:_}}const it=void 0,wd=".",ei="'",Ad="tokenizer";function Sd(e,t={}){const r=t.location!==!1,n=yd(e),o=()=>n.index(),a=()=>xd(n.line(),n.column(),n.index()),i=a(),l=o(),f={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>f,{onError:u}=t;function h(w,C,F,...H){const j=c();if(C.column+=F,C.offset+=F,u){const J=r?qn(j.startLoc,C):null,X=Lt(w,J,{domain:Ad,args:H});u(X)}}function s(w,C,F){w.endLoc=a(),w.currentType=C;const H={type:C};return r&&(H.loc=qn(w.startLoc,w.endLoc)),F!=null&&(H.value=F),H}const d=w=>s(w,14);function x(w,C){return w.currentChar()===C?(w.next(),C):(h(Z.EXPECTED_TOKEN,a(),0,C),"")}function p(w){let C="";for(;w.currentPeek()===Xe||w.currentPeek()===Le;)C+=w.currentPeek(),w.peek();return C}function m(w){const C=p(w);return w.skipToPeek(),C}function E(w){if(w===it)return!1;const C=w.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function g(w){if(w===it)return!1;const C=w.charCodeAt(0);return C>=48&&C<=57}function v(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function b(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()==="-"?w.peek():w.currentPeek(),j=g(H);return w.resetPeek(),j}function y(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()===ei;return w.resetPeek(),H}function _(w,C){const{currentType:F}=C;if(F!==8)return!1;p(w);const H=w.currentPeek()===".";return w.resetPeek(),H}function A(w,C){const{currentType:F}=C;if(F!==9)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function D(w,C){const{currentType:F}=C;if(!(F===8||F===12))return!1;p(w);const H=w.currentPeek()===":";return w.resetPeek(),H}function B(w,C){const{currentType:F}=C;if(F!==10)return!1;const H=()=>{const J=w.currentPeek();return J==="{"?E(w.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===Xe||!J?!1:J===Le?(w.peek(),H()):E(J)},j=H();return w.resetPeek(),j}function S(w){p(w);const C=w.currentPeek()==="|";return w.resetPeek(),C}function P(w){const C=p(w),F=w.currentPeek()==="%"&&w.peek()==="{";return w.resetPeek(),{isModulo:F,hasSpace:C.length>0}}function k(w,C=!0){const F=(j=!1,J="",X=!1)=>{const Q=w.currentPeek();return Q==="{"?J==="%"?!1:j:Q==="@"||!Q?J==="%"?!0:j:Q==="%"?(w.peek(),F(j,"%",!0)):Q==="|"?J==="%"||X?!0:!(J===Xe||J===Le):Q===Xe?(w.peek(),F(!0,Xe,X)):Q===Le?(w.peek(),F(!0,Le,X)):!0},H=F();return C&&w.resetPeek(),H}function I(w,C){const F=w.currentChar();return F===it?it:C(F)?(w.next(),F):null}function K(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36})}function Y(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57})}function q(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102})}function se(w){let C="",F="";for(;C=Y(w);)F+=C;return F}function oe(w){m(w);const C=w.currentChar();return C!=="%"&&h(Z.EXPECTED_TOKEN,a(),0,C),w.next(),"%"}function ce(w){let C="";for(;;){const F=w.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(k(w))C+=F,w.next();else break;else if(F===Xe||F===Le)if(k(w))C+=F,w.next();else{if(S(w))break;C+=F,w.next()}else C+=F,w.next()}return C}function ae(w){m(w);let C="",F="";for(;C=K(w);)F+=C;return w.currentChar()===it&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F}function L(w){m(w);let C="";return w.currentChar()==="-"?(w.next(),C+=`-${se(w)}`):C+=se(w),w.currentChar()===it&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C}function U(w){m(w),x(w,"'");let C="",F="";const H=J=>J!==ei&&J!==Le;for(;C=I(w,H);)C==="\\"?F+=W(w):F+=C;const j=w.currentChar();return j===Le||j===it?(h(Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),j===Le&&(w.next(),x(w,"'")),F):(x(w,"'"),F)}function W(w){const C=w.currentChar();switch(C){case"\\":case"'":return w.next(),`\\${C}`;case"u":return N(w,C,4);case"U":return N(w,C,6);default:return h(Z.UNKNOWN_ESCAPE_SEQUENCE,a(),0,C),""}}function N(w,C,F){x(w,C);let H="";for(let j=0;jj!=="{"&&j!=="}"&&j!==Xe&&j!==Le;for(;C=I(w,H);)F+=C;return F}function te(w){let C="",F="";for(;C=K(w);)F+=C;return F}function T(w){const C=(F=!1,H)=>{const j=w.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===Xe?H:j===Le||j===wd?(H+=j,w.next(),C(F,H)):(H+=j,w.next(),C(!0,H))};return C(!1,"")}function O(w){m(w);const C=x(w,"|");return m(w),C}function $(w,C){let F=null;switch(w.currentChar()){case"{":return C.braceNest>=1&&h(Z.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),w.next(),F=s(C,2,"{"),m(w),C.braceNest++,F;case"}":return C.braceNest>0&&C.currentType===2&&h(Z.EMPTY_PLACEHOLDER,a(),0),w.next(),F=s(C,3,"}"),C.braceNest--,C.braceNest>0&&m(w),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),F;case"@":return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=z(w,C)||d(C),C.braceNest=0,F;default:let j=!0,J=!0,X=!0;if(S(w))return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;if(C.braceNest>0&&(C.currentType===5||C.currentType===6||C.currentType===7))return h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C.braceNest=0,ie(w,C);if(j=v(w,C))return F=s(C,5,ae(w)),m(w),F;if(J=b(w,C))return F=s(C,6,L(w)),m(w),F;if(X=y(w,C))return F=s(C,7,U(w)),m(w),F;if(!j&&!J&&!X)return F=s(C,13,ue(w)),h(Z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,F.value),m(w),F;break}return F}function z(w,C){const{currentType:F}=C;let H=null;const j=w.currentChar();switch((F===8||F===9||F===12||F===10)&&(j===Le||j===Xe)&&h(Z.INVALID_LINKED_FORMAT,a(),0),j){case"@":return w.next(),H=s(C,8,"@"),C.inLinked=!0,H;case".":return m(w),w.next(),s(C,9,".");case":":return m(w),w.next(),s(C,10,":");default:return S(w)?(H=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,H):_(w,C)||D(w,C)?(m(w),z(w,C)):A(w,C)?(m(w),s(C,12,te(w))):B(w,C)?(m(w),j==="{"?$(w,C)||H:s(C,11,T(w))):(F===8&&h(Z.INVALID_LINKED_FORMAT,a(),0),C.braceNest=0,C.inLinked=!1,ie(w,C))}}function ie(w,C){let F={type:14};if(C.braceNest>0)return $(w,C)||d(C);if(C.inLinked)return z(w,C)||d(C);switch(w.currentChar()){case"{":return $(w,C)||d(C);case"}":return h(Z.UNBALANCED_CLOSING_BRACE,a(),0),w.next(),s(C,3,"}");case"@":return z(w,C)||d(C);default:if(S(w))return F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;const{isModulo:j,hasSpace:J}=P(w);if(j)return J?s(C,0,ce(w)):s(C,4,oe(w));if(k(w))return s(C,0,ce(w));break}return F}function ee(){const{currentType:w,offset:C,startLoc:F,endLoc:H}=f;return f.lastType=w,f.lastOffset=C,f.lastStartLoc=F,f.lastEndLoc=H,f.offset=o(),f.startLoc=a(),n.currentChar()===it?s(f,14):ie(n,f)}return{nextToken:ee,currentOffset:o,currentPosition:a,context:c}}const Dd="parser",Bd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Fd(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function Pd(e={}){const t=e.location!==!1,{onError:r}=e;function n(E,g,v,b,...y){const _=E.currentPosition();if(_.offset+=b,_.column+=b,r){const A=t?qn(v,_):null,D=Lt(g,A,{domain:Dd,args:y});r(D)}}function o(E,g,v){const b={type:E};return t&&(b.start=g,b.end=g,b.loc={start:v,end:v}),b}function a(E,g,v,b){b&&(E.type=b),t&&(E.end=g,E.loc&&(E.loc.end=v))}function i(E,g){const v=E.context(),b=o(3,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function l(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(5,b,y);return _.index=parseInt(g,10),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function f(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(4,b,y);return _.key=g,E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function c(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(9,b,y);return _.value=g.replace(Bd,Fd),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function u(E){const g=E.nextToken(),v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(8,b,y);return g.type!==12?(n(E,Z.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),_.value="",a(_,b,y),{nextConsumeToken:g,node:_}):(g.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ve(g)),_.value=g.value||"",a(_,E.currentOffset(),E.currentPosition()),{node:_})}function h(E,g){const v=E.context(),b=o(7,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function s(E){const g=E.context(),v=o(6,g.offset,g.startLoc);let b=E.nextToken();if(b.type===9){const y=u(E);v.modifier=y.node,b=y.nextConsumeToken||E.nextToken()}switch(b.type!==10&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),b=E.nextToken(),b.type===2&&(b=E.nextToken()),b.type){case 11:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=h(E,b.value||"");break;case 5:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=f(E,b.value||"");break;case 6:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=l(E,b.value||"");break;case 7:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=c(E,b.value||"");break;default:n(E,Z.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const y=E.context(),_=o(7,y.offset,y.startLoc);return _.value="",a(_,y.offset,y.startLoc),v.key=_,a(v,y.offset,y.startLoc),{nextConsumeToken:b,node:v}}return a(v,E.currentOffset(),E.currentPosition()),{node:v}}function d(E){const g=E.context(),v=g.currentType===1?E.currentOffset():g.offset,b=g.currentType===1?g.endLoc:g.startLoc,y=o(2,v,b);y.items=[];let _=null;do{const B=_||E.nextToken();switch(_=null,B.type){case 0:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(i(E,B.value||""));break;case 6:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(l(E,B.value||""));break;case 5:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(f(E,B.value||""));break;case 7:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(c(E,B.value||""));break;case 8:const S=s(E);y.items.push(S.node),_=S.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const A=g.currentType===1?g.lastOffset:E.currentOffset(),D=g.currentType===1?g.lastEndLoc:E.currentPosition();return a(y,A,D),y}function x(E,g,v,b){const y=E.context();let _=b.items.length===0;const A=o(1,g,v);A.cases=[],A.cases.push(b);do{const D=d(E);_||(_=D.items.length===0),A.cases.push(D)}while(y.currentType!==14);return _&&n(E,Z.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),a(A,E.currentOffset(),E.currentPosition()),A}function p(E){const g=E.context(),{offset:v,startLoc:b}=g,y=d(E);return g.currentType===14?y:x(E,v,b,y)}function m(E){const g=Sd(E,t0({},e)),v=g.context(),b=o(0,v.offset,v.startLoc);return t&&b.loc&&(b.loc.source=E),b.body=p(g),e.onCacheKey&&(b.cacheKey=e.onCacheKey(E)),v.currentType!==14&&n(g,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,E[v.offset]||""),a(b,g.currentOffset(),g.currentPosition()),b}return{parse:m}}function Ve(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function kd(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:a=>(r.helpers.add(a),a)}}function ti(e,t){for(let r=0;rri(r)),e}function ri(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;rl;function c(m,E){l.code+=m}function u(m,E=!0){const g=E?o:"";c(a?g+"  ".repeat(m):g)}function h(m=!0){const E=++l.indentLevel;m&&u(E)}function s(m=!0){const E=--l.indentLevel;m&&u(E)}function d(){u(l.indentLevel)}return{context:f,push:c,indent:h,deindent:s,newline:d,helper:m=>`_${m}`,needIndent:()=>l.needIndent}}function Od(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),Bt(e,t.key),t.modifier?(e.push(", "),Bt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Md(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let a=0;a1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let a=0;a{const r=Zo(t.mode)?t.mode:"normal",n=Zo(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":`
    +`,i=t.needIndent?t.needIndent:r!=="arrow",l=e.helpers||[],f=Nd(e,{mode:r,filename:n,sourceMap:o,breakLineCode:a,needIndent:i});f.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(i),l.length>0&&(f.push(`const { ${r0(l.map(h=>`${h}: _${h}`),", ")} } = ctx`),f.newline()),f.push("return "),Bt(f,e),f.deindent(i),f.push("}"),delete e.helpers;const{code:c,map:u}=f.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function jd(e,t={}){const r=t0({},t),n=!!r.jit,o=!!r.minify,a=r.optimize==null?!0:r.optimize,l=Pd(r).parse(e);return n?(a&&Id(l),o&&_t(l),{ast:l,code:""}):(Td(l,r),Wd(l,r))}/*!
    +  * core-base v9.10.1
    +  * (c) 2024 kazuya kawaguchi
    +  * Released under the MIT License.
    +  */function Gd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(et().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(et().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(et().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const xt=[];xt[0]={w:[0],i:[3,0],"[":[4],o:[7]};xt[1]={w:[1],".":[2],"[":[4],o:[7]};xt[2]={w:[2],i:[3,0],0:[3,0]};xt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xt[5]={"'":[4,0],o:8,l:[5,0]};xt[6]={'"':[4,0],o:8,l:[6,0]};const $d=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Vd(e){return $d.test(e)}function qd(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function zd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Kd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Vd(t)?qd(t):"*"+t}function Yd(e){const t=[];let r=-1,n=0,o=0,a,i,l,f,c,u,h;const s=[];s[0]=()=>{i===void 0?i=l:i+=l},s[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},s[2]=()=>{s[0](),o++},s[3]=()=>{if(o>0)o--,n=4,s[0]();else{if(o=0,i===void 0||(i=Kd(i),i===!1))return!1;s[1]()}};function d(){const x=e[r+1];if(n===5&&x==="'"||n===6&&x==='"')return r++,l="\\"+x,s[0](),!0}for(;n!==null;)if(r++,a=e[r],!(a==="\\"&&d())){if(f=zd(a),h=xt[n],c=h[f]||h.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=s[c[1]],u&&(l=a,u()===!1))))return;if(n===7)return t}}const ni=new Map;function Xd(e,t){return xe(e)?e[t]:null}function Qd(e,t){if(!xe(e))return null;let r=ni.get(t);if(r||(r=Yd(t),r&&ni.set(t,r)),!r)return null;const n=r.length;let o=e,a=0;for(;ae,Zd=e=>"",eh="text",th=e=>e.length===0?"":dd(e),rh=fd;function ai(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function nh(e){const t=Se(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Se(e.named.count)||Se(e.named.n))?Se(e.named.count)?e.named.count:Se(e.named.n)?e.named.n:t:t}function ah(e,t){t.count||(t.count=e),t.n||(t.n=e)}function oh(e={}){const t=e.locale,r=nh(e),n=xe(e.pluralRules)&&V(t)&&Ee(e.pluralRules[t])?e.pluralRules[t]:ai,o=xe(e.pluralRules)&&V(t)&&Ee(e.pluralRules[t])?ai:void 0,a=E=>E[n(r,E.length,o)],i=e.list||[],l=E=>i[E],f=e.named||{};Se(e.pluralIndex)&&ah(r,f);const c=E=>f[E];function u(E){const g=Ee(e.messages)?e.messages(E):xe(e.messages)?e.messages[E]:!1;return g||(e.parent?e.parent.message(E):Zd)}const h=E=>e.modifiers?e.modifiers[E]:Jd,s=ne(e.processor)&&Ee(e.processor.normalize)?e.processor.normalize:th,d=ne(e.processor)&&Ee(e.processor.interpolate)?e.processor.interpolate:rh,x=ne(e.processor)&&V(e.processor.type)?e.processor.type:eh,m={list:l,named:c,plural:a,linked:(E,...g)=>{const[v,b]=g;let y="text",_="";g.length===1?xe(v)?(_=v.modifier||_,y=v.type||y):V(v)&&(_=v||_):g.length===2&&(V(v)&&(_=v||_),V(b)&&(y=b||y));const A=u(E)(m),D=y==="vnode"&&be(A)&&_?A[0]:A;return _?h(_)(D,y):D},message:u,type:x,interpolate:d,normalize:s,values:ke({},i,f)};return m}let Yt=null;function ih(e){Yt=e}function sh(e,t,r){Yt&&Yt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const ch=lh("function:translate");function lh(e){return t=>Yt&&Yt.emit(e,t)}const uh={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},n0=Z.__EXTEND_POINT__,pt=wa(n0),Ge={INVALID_ARGUMENT:n0,INVALID_DATE_ARGUMENT:pt(),INVALID_ISO_DATE_ARGUMENT:pt(),NOT_SUPPORT_NON_STRING_MESSAGE:pt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:pt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:pt(),NOT_SUPPORT_LOCALE_TYPE:pt(),__EXTEND_POINT__:pt()};function ze(e){return Lt(e,null,void 0)}function Sa(e,t){return t.locale!=null?oi(t.locale):oi(e.locale)}let An;function oi(e){if(V(e))return e;if(Ee(e)){if(e.resolvedOnce&&An!=null)return An;if(e.constructor.name==="Function"){const t=e();if(ud(t))throw ze(Ge.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return An=t}else throw ze(Ge.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ze(Ge.NOT_SUPPORT_LOCALE_TYPE)}function fh(e,t,r){return[...new Set([r,...be(t)?t:xe(t)?Object.keys(t):V(t)?[t]:[r]])]}function a0(e,t,r){const n=V(r)?r:Ft,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(n);if(!a){a=[];let i=[r];for(;be(i);)i=ii(a,i,t);const l=be(t)||!ne(t)?t:t.default?t.default:null;i=V(l)?[l]:l,be(i)&&ii(a,i,!1),o.__localeChainCache.set(n,a)}return a}function ii(e,t,r){let n=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ph(){return{upper:(e,t)=>t==="text"&&V(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&V(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&V(e)?ci(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?ci(e.children):e}}let o0;function li(e){o0=e}let i0;function mh(e){i0=e}let s0;function gh(e){s0=e}let c0=null;const vh=e=>{c0=e},Eh=()=>c0;let l0=null;const ui=e=>{l0=e},bh=()=>l0;let fi=0;function Ch(e={}){const t=Ee(e.onWarn)?e.onWarn:hd,r=V(e.version)?e.version:xh,n=V(e.locale)||Ee(e.locale)?e.locale:Ft,o=Ee(n)?Ft:n,a=be(e.fallbackLocale)||ne(e.fallbackLocale)||V(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ne(e.messages)?e.messages:{[o]:{}},l=ne(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},f=ne(e.numberFormats)?e.numberFormats:{[o]:{}},c=ke({},e.modifiers||{},ph()),u=e.pluralRules||{},h=Ee(e.missing)?e.missing:null,s=le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,d=le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,x=!!e.fallbackFormat,p=!!e.unresolving,m=Ee(e.postTranslation)?e.postTranslation:null,E=ne(e.processor)?e.processor:null,g=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=Ee(e.messageCompiler)?e.messageCompiler:o0,y=Ee(e.messageResolver)?e.messageResolver:i0||Xd,_=Ee(e.localeFallbacker)?e.localeFallbacker:s0||fh,A=xe(e.fallbackContext)?e.fallbackContext:void 0,D=e,B=xe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,S=xe(D.__numberFormatters)?D.__numberFormatters:new Map,P=xe(D.__meta)?D.__meta:{};fi++;const k={version:r,cid:fi,locale:n,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:h,missingWarn:s,fallbackWarn:d,fallbackFormat:x,unresolving:p,postTranslation:m,processor:E,warnHtmlMessage:g,escapeParameter:v,messageCompiler:b,messageResolver:y,localeFallbacker:_,fallbackContext:A,onWarn:t,__meta:P};return k.datetimeFormats=l,k.numberFormats=f,k.__datetimeFormatters=B,k.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&sh(k,r,P),k}function Da(e,t,r,n,o){const{missing:a,onWarn:i}=e;if(a!==null){const l=a(e,r,t,o);return V(l)?l:t}else return t}function Ot(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Sn(e){return r=>_h(r,e)}function _h(e,t){const r=t.b||t.body;if((r.t||r.type)===1){const n=r,o=n.c||n.cases;return e.plural(o.reduce((a,i)=>[...a,di(e,i)],[]))}else return di(e,r)}function di(e,t){const r=t.s||t.static;if(r)return e.type==="text"?r:e.normalize([r]);{const n=(t.i||t.items).reduce((o,a)=>[...o,zn(e,a)],[]);return e.normalize(n)}}function zn(e,t){const r=t.t||t.type;switch(r){case 3:const n=t;return n.v||n.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const l=t,f=l.m||l.modifier;return e.linked(zn(e,l.k||l.key),f?zn(e,f):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${r}`)}}const u0=e=>e;let At=Object.create(null);const Pt=e=>xe(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function f0(e,t={}){let r=!1;const n=t.onError||Ed;return t.onError=o=>{r=!0,n(o)},{...jd(e,t),detectError:r}}const yh=(e,t)=>{if(!V(e))throw ze(Ge.NOT_SUPPORT_NON_STRING_MESSAGE);{le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{code:a,detectError:i}=f0(e,t),l=new Function(`return ${a}`)();return i?l:At[n]=l}};function wh(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&V(e)){le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{ast:a,detectError:i}=f0(e,{...t,location:!1,jit:!0}),l=Sn(a);return i?l:At[n]=l}else{const r=e.cacheKey;if(r){const n=At[r];return n||(At[r]=Sn(e))}else return Sn(e)}}const hi=()=>"",Ue=e=>Ee(e);function xi(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[f,c]=Kn(...t),u=le(c.missingWarn)?c.missingWarn:e.missingWarn,h=le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,s=le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,x=V(c.default)||le(c.default)?le(c.default)?a?f:()=>f:c.default:r?a?f:()=>f:"",p=r||x!=="",m=Sa(e,c);s&&Ah(c);let[E,g,v]=d?[f,m,l[m]||{}]:d0(e,f,m,i,h,u),b=E,y=f;if(!d&&!(V(b)||Pt(b)||Ue(b))&&p&&(b=x,y=b),!d&&(!(V(b)||Pt(b)||Ue(b))||!V(g)))return o?Br:f;let _=!1;const A=()=>{_=!0},D=Ue(b)?b:h0(e,f,g,b,y,A);if(_)return b;const B=Bh(e,g,v,c),S=oh(B),P=Sh(e,D,S),k=n?n(P,f):P;if(__INTLIFY_PROD_DEVTOOLS__){const I={timestamp:Date.now(),key:V(f)?f:Ue(b)?b.key:"",locale:g||(Ue(b)?b.locale:""),format:V(b)?b:Ue(b)?b.source:"",message:k};I.meta=ke({},e.__meta,Eh()||{}),ch(I)}return k}function Ah(e){be(e.list)?e.list=e.list.map(t=>V(t)?Jo(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{V(e.named[t])&&(e.named[t]=Jo(e.named[t]))})}function d0(e,t,r,n,o,a){const{messages:i,onWarn:l,messageResolver:f,localeFallbacker:c}=e,u=c(e,n,r);let h={},s,d=null;const x="translate";for(let p=0;pn;return c.locale=r,c.key=t,c}const f=i(n,Dh(e,r,o,n,l,a));return f.locale=r,f.key=t,f.source=n,f}function Sh(e,t,r){return t(r)}function Kn(...e){const[t,r,n]=e,o={};if(!V(t)&&!Se(t)&&!Ue(t)&&!Pt(t))throw ze(Ge.INVALID_ARGUMENT);const a=Se(t)?String(t):(Ue(t),t);return Se(r)?o.plural=r:V(r)?o.default=r:ne(r)&&!Dr(r)?o.named=r:be(r)&&(o.list=r),Se(n)?o.plural=n:V(n)?o.default=n:ne(n)&&ke(o,n),[a,o]}function Dh(e,t,r,n,o,a){return{locale:t,key:r,warnHtmlMessage:o,onError:i=>{throw a&&a(i),i},onCacheKey:i=>id(t,r,i)}}function Bh(e,t,r,n){const{modifiers:o,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:f,missingWarn:c,fallbackContext:u}=e,s={locale:t,modifiers:o,pluralRules:a,messages:d=>{let x=i(r,d);if(x==null&&u){const[,,p]=d0(u,d,t,l,f,c);x=i(p,d)}if(V(x)||Pt(x)){let p=!1;const E=h0(e,d,t,x,d,()=>{p=!0});return p?hi:E}else return Ue(x)?x:hi}};return e.processor&&(s.processor=e.processor),n.list&&(s.list=n.list),n.named&&(s.named=n.named),Se(n.plural)&&(s.pluralIndex=n.plural),s}function pi(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[f,c,u,h]=Yn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.DateTimeFormat(x,h).format(c);let m={},E,g=null;const v="datetime format";for(let _=0;_{x0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function mi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function gi(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e,[f,c,u,h]=Xn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.NumberFormat(x,h).format(c);let m={},E,g=null;const v="number format";for(let _=0;_{p0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function vi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}Gd();/*!
    +  * vue-i18n v9.10.1
    +  * (c) 2024 kazuya kawaguchi
    +  * Released under the MIT License.
    +  */const Fh="9.10.1";function Ph(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(et().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(et().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(et().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(et().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(et().__INTLIFY_PROD_DEVTOOLS__=!1)}const m0=uh.__EXTEND_POINT__,Qe=wa(m0);Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe();const g0=Ge.__EXTEND_POINT__,Ne=wa(g0),De={UNEXPECTED_RETURN_TYPE:g0,INVALID_ARGUMENT:Ne(),MUST_BE_CALL_SETUP_TOP:Ne(),NOT_INSTALLED:Ne(),NOT_AVAILABLE_IN_LEGACY_MODE:Ne(),REQUIRED_VALUE:Ne(),INVALID_VALUE:Ne(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ne(),NOT_INSTALLED_WITH_PROVIDE:Ne(),UNEXPECTED_ERROR:Ne(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ne(),BRIDGE_SUPPORT_VUE_2_ONLY:Ne(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ne(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ne(),__EXTEND_POINT__:Ne()};function Fe(e,...t){return Lt(e,null,void 0)}const Qn=ht("__translateVNode"),Jn=ht("__datetimeParts"),Zn=ht("__numberParts"),v0=ht("__setPluralRules"),E0=ht("__injectWithOption"),ea=ht("__dispose");function Xt(e){if(!xe(e))return e;for(const t in e)if(pr(e,t))if(!t.includes("."))xe(e[t])&&Xt(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,a=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:f,resource:c}=l;f?(i[f]=i[f]||{},ur(c,i[f])):ur(c,i)}else V(l)&&ur(JSON.parse(l),i)}),o==null&&a)for(const l in i)pr(i,l)&&Xt(i[l]);return i}function b0(e){return e.type}function C0(e,t,r){let n=xe(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Fr(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(xe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ei(e){return ut(tc,null,e,0)}const bi="__INTLIFY_META__",Ci=()=>[],kh=()=>!1;let _i=0;function yi(e){return(t,r,n,o)=>e(r,n,$t()||void 0,o)}const Th=()=>{const e=$t();let t=null;return e&&(t=b0(e)[bi])?{[bi]:t}:null};function Ba(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,a=e.flatJson,i=xr?Ze:sa,l=!!e.translateExistCompatible;let f=le(e.inheritLocale)?e.inheritLocale:!0;const c=i(r&&f?r.locale.value:V(e.locale)?e.locale:Ft),u=i(r&&f?r.fallbackLocale.value:V(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),h=i(Fr(c.value,e)),s=i(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),d=i(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let x=r?r.missingWarn:le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,p=r?r.fallbackWarn:le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,m=r?r.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,g=Ee(e.missing)?e.missing:null,v=Ee(e.missing)?yi(e.missing):null,b=Ee(e.postTranslation)?e.postTranslation:null,y=r?r.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const A=r?r.modifiers:ne(e.modifiers)?e.modifiers:{};let D=e.pluralRules||r&&r.pluralRules,B;B=(()=>{o&&ui(null);const R={version:Fh,locale:c.value,fallbackLocale:u.value,messages:h.value,modifiers:A,pluralRules:D,missing:v===null?void 0:v,missingWarn:x,fallbackWarn:p,fallbackFormat:E,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=s.value,R.numberFormats=d.value,R.__datetimeFormatters=ne(B)?B.__datetimeFormatters:void 0,R.__numberFormatters=ne(B)?B.__numberFormatters:void 0;const G=Ch(R);return o&&ui(G),G})(),Ot(B,c.value,u.value);function P(){return[c.value,u.value,h.value,s.value,d.value]}const k=ve({get:()=>c.value,set:R=>{c.value=R,B.locale=c.value}}),I=ve({get:()=>u.value,set:R=>{u.value=R,B.fallbackLocale=u.value,Ot(B,c.value,R)}}),K=ve(()=>h.value),Y=ve(()=>s.value),q=ve(()=>d.value);function se(){return Ee(b)?b:null}function oe(R){b=R,B.postTranslation=R}function ce(){return g}function ae(R){R!==null&&(v=yi(R)),g=R,B.missing=v}const L=(R,G,pe,_e,We,je)=>{P();let Me;try{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=r?bh():void 0),Me=R(B)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=void 0)}if(pe!=="translate exists"&&Se(Me)&&Me===Br||pe==="translate exists"&&!Me){const[Tr,Ir]=G();return r&&m?_e(r):We(Tr)}else{if(je(Me))return Me;throw Fe(De.UNEXPECTED_RETURN_TYPE)}};function U(...R){return L(G=>Reflect.apply(xi,null,[G,...R]),()=>Kn(...R),"translate",G=>Reflect.apply(G.t,G,[...R]),G=>G,G=>V(G))}function W(...R){const[G,pe,_e]=R;if(_e&&!xe(_e))throw Fe(De.INVALID_ARGUMENT);return U(G,pe,ke({resolvedMessage:!0},_e||{}))}function N(...R){return L(G=>Reflect.apply(pi,null,[G,...R]),()=>Yn(...R),"datetime format",G=>Reflect.apply(G.d,G,[...R]),()=>si,G=>V(G))}function ue(...R){return L(G=>Reflect.apply(gi,null,[G,...R]),()=>Xn(...R),"number format",G=>Reflect.apply(G.n,G,[...R]),()=>si,G=>V(G))}function te(R){return R.map(G=>V(G)||Se(G)||le(G)?Ei(String(G)):G)}const O={normalize:te,interpolate:R=>R,type:"vnode"};function $(...R){return L(G=>{let pe;const _e=G;try{_e.processor=O,pe=Reflect.apply(xi,null,[_e,...R])}finally{_e.processor=null}return pe},()=>Kn(...R),"translate",G=>G[Qn](...R),G=>[Ei(G)],G=>be(G))}function z(...R){return L(G=>Reflect.apply(gi,null,[G,...R]),()=>Xn(...R),"number format",G=>G[Zn](...R),Ci,G=>V(G)||be(G))}function ie(...R){return L(G=>Reflect.apply(pi,null,[G,...R]),()=>Yn(...R),"datetime format",G=>G[Jn](...R),Ci,G=>V(G)||be(G))}function ee(R){D=R,B.pluralRules=D}function w(R,G){return L(()=>{if(!R)return!1;const pe=V(G)?G:c.value,_e=H(pe),We=B.messageResolver(_e,R);return l?We!=null:Pt(We)||Ue(We)||V(We)},()=>[R],"translate exists",pe=>Reflect.apply(pe.te,pe,[R,G]),kh,pe=>le(pe))}function C(R){let G=null;const pe=a0(B,u.value,c.value);for(let _e=0;_e{f&&(c.value=R,B.locale=R,Ot(B,c.value,u.value))}),St(r.fallbackLocale,R=>{f&&(u.value=R,B.fallbackLocale=R,Ot(B,c.value,u.value))}));const Ce={id:_i,locale:k,fallbackLocale:I,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&r&&(c.value=r.locale.value,u.value=r.fallbackLocale.value,Ot(B,c.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:K,get modifiers(){return A},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return x},set missingWarn(R){x=R,B.missingWarn=x},get fallbackWarn(){return p},set fallbackWarn(R){p=R,B.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return E},set fallbackFormat(R){E=R,B.fallbackFormat=E},get warnHtmlMessage(){return y},set warnHtmlMessage(R){y=R,B.warnHtmlMessage=R},get escapeParameter(){return _},set escapeParameter(R){_=R,B.escapeParameter=R},t:U,getLocaleMessage:H,setLocaleMessage:j,mergeLocaleMessage:J,getPostTranslationHandler:se,setPostTranslationHandler:oe,getMissingHandler:ce,setMissingHandler:ae,[v0]:ee};return Ce.datetimeFormats=Y,Ce.numberFormats=q,Ce.rt=W,Ce.te=w,Ce.tm=F,Ce.d=N,Ce.n=ue,Ce.getDateTimeFormat=X,Ce.setDateTimeFormat=Q,Ce.mergeDateTimeFormat=ye,Ce.getNumberFormat=he,Ce.setNumberFormat=Te,Ce.mergeNumberFormat=Ye,Ce[E0]=n,Ce[Qn]=$,Ce[Jn]=ie,Ce[Zn]=z,Ce}function Ih(e){const t=V(e.locale)?e.locale:Ft,r=V(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ee(e.missing)?e.missing:void 0,o=le(e.silentTranslationWarn)||ft(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=le(e.silentFallbackWarn)||ft(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=le(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,f=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ee(e.postTranslation)?e.postTranslation:void 0,h=V(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,s=!!e.escapeParameterHtml,d=le(e.sync)?e.sync:!0;let x=e.messages;if(ne(e.sharedMessages)){const _=e.sharedMessages;x=Object.keys(_).reduce((D,B)=>{const S=D[B]||(D[B]={});return ke(S,_[B]),D},x||{})}const{__i18n:p,__root:m,__injectWithOption:E}=e,g=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,y=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:x,flatJson:b,datetimeFormats:g,numberFormats:v,missing:n,missingWarn:o,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:f,pluralRules:c,postTranslation:u,warnHtmlMessage:h,escapeParameter:s,messageResolver:e.messageResolver,inheritLocale:d,translateExistCompatible:y,__i18n:p,__root:m,__injectWithOption:E}}function ta(e={},t){{const r=Ba(Ih(e)),{__extender:n}=e,o={id:r.id,get locale(){return r.locale.value},set locale(a){r.locale.value=a},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(a){r.fallbackLocale.value=a},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return r.getMissingHandler()},set missing(a){r.setMissingHandler(a)},get silentTranslationWarn(){return le(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(a){r.missingWarn=le(a)?!a:a},get silentFallbackWarn(){return le(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(a){r.fallbackWarn=le(a)?!a:a},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(a){r.fallbackFormat=a},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(a){r.setPostTranslationHandler(a)},get sync(){return r.inheritLocale},set sync(a){r.inheritLocale=a},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){r.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(a){r.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...a){const[i,l,f]=a,c={};let u=null,h=null;if(!V(i))throw Fe(De.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:be(l)?u=l:ne(l)&&(h=l),be(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},rt(...a){return Reflect.apply(r.rt,r,[...a])},tc(...a){const[i,l,f]=a,c={plural:1};let u=null,h=null;if(!V(i))throw Fe(De.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:Se(l)?c.plural=l:be(l)?u=l:ne(l)&&(h=l),V(f)?c.locale=f:be(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},te(a,i){return r.te(a,i)},tm(a){return r.tm(a)},getLocaleMessage(a){return r.getLocaleMessage(a)},setLocaleMessage(a,i){r.setLocaleMessage(a,i)},mergeLocaleMessage(a,i){r.mergeLocaleMessage(a,i)},d(...a){return Reflect.apply(r.d,r,[...a])},getDateTimeFormat(a){return r.getDateTimeFormat(a)},setDateTimeFormat(a,i){r.setDateTimeFormat(a,i)},mergeDateTimeFormat(a,i){r.mergeDateTimeFormat(a,i)},n(...a){return Reflect.apply(r.n,r,[...a])},getNumberFormat(a){return r.getNumberFormat(a)},setNumberFormat(a,i){r.setNumberFormat(a,i)},mergeNumberFormat(a,i){r.mergeNumberFormat(a,i)},getChoiceIndex(a,i){return-1}};return o.__extender=n,o}}const Fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Lh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===es?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function _0(e){return es}const Rh=rt({name:"i18n-t",props:ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Se(e)||!isNaN(e)}},Fa),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||Pa({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(r).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=V(e.plural)?+e.plural:e.plural);const l=Lh(t,a),f=o[Qn](e.keypath,l,i),c=ke({},n),u=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(u,c,f)}}}),wi=Rh;function Nh(e){return be(e)&&!V(e[0])}function y0(e,t,r,n){const{slots:o,attrs:a}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),V(e.format)?i.key=e.format:xe(e.format)&&(V(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((s,d)=>r.includes(d)?ke({},s,{[d]:e.format[d]}):s,{}));const f=n(e.value,i,l);let c=[i.key];be(f)?c=f.map((s,d)=>{const x=o[s.type],p=x?x({[s.type]:s.value,index:d,parts:f}):[s.value];return Nh(p)&&(p[0].key=`${s.type}-${d}`),p}):V(f)&&(c=[f]);const u=ke({},a),h=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(h,u,c)}}const Oh=rt({name:"i18n-n",props:ke({value:{type:Number,required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,p0,(...n)=>r[Zn](...n))}}),Ai=Oh,Mh=rt({name:"i18n-d",props:ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,x0,(...n)=>r[Jn](...n))}}),Si=Mh;function Uh(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Hh(e){const t=i=>{const{instance:l,modifiers:f,value:c}=i;if(!l||!l.$)throw Fe(De.UNEXPECTED_ERROR);const u=Uh(e,l.$),h=Di(c);return[Reflect.apply(u.t,u,[...Bi(h)]),u]};return{created:(i,l)=>{const[f,c]=t(l);xr&&e.global===c&&(i.__i18nWatcher=St(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=f},unmounted:i=>{xr&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const f=i.__composer,c=Di(l);i.textContent=Reflect.apply(f.t,f,[...Bi(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function Di(e){if(V(e))return{path:e};if(ne(e)){if(!("path"in e))throw Fe(De.REQUIRED_VALUE,"path");return e}else throw Fe(De.INVALID_VALUE)}function Bi(e){const{path:t,locale:r,args:n,choice:o,plural:a}=e,i={},l=n||{};return V(r)&&(i.locale=r),Se(o)&&(i.plural=o),Se(a)&&(i.plural=a),[t,l,i]}function Wh(e,t,...r){const n=ne(r[0])?r[0]:{},o=!!n.useI18nComponentName;(le(n.globalInstall)?n.globalInstall:!0)&&([o?"i18n":wi.name,"I18nT"].forEach(i=>e.component(i,wi)),[Ai.name,"I18nN"].forEach(i=>e.component(i,Ai)),[Si.name,"I18nD"].forEach(i=>e.component(i,Si))),e.directive("t",Hh(t))}function jh(e,t,r){return{beforeCreate(){const n=$t();if(!n)throw Fe(De.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Fi(e,a);else{a.__injectWithOption=!0,a.__extender=r.__vueI18nExtend,this.$i18n=ta(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Fi(e,o);else{this.$i18n=ta({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&C0(t,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=$t();if(!n)throw Fe(De.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function Fi(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[v0](t.pluralizationRules||e.pluralizationRules);const r=Fr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const Gh=ht("global-vue-i18n");function $h(e={},t){const r=__VUE_I18N_LEGACY_API__&&le(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=le(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,a=new Map,[i,l]=Vh(e,r),f=ht("");function c(s){return a.get(s)||null}function u(s,d){a.set(s,d)}function h(s){a.delete(s)}{const s={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},async install(d,...x){if(d.__VUE_I18N_SYMBOL__=f,d.provide(d.__VUE_I18N_SYMBOL__,s),ne(x[0])){const E=x[0];s.__composerExtend=E.__composerExtend,s.__vueI18nExtend=E.__vueI18nExtend}let p=null;!r&&n&&(p=ex(d,s.global)),__VUE_I18N_FULL_INSTALL__&&Wh(d,s,...x),__VUE_I18N_LEGACY_API__&&r&&d.mixin(jh(l,l.__composer,s));const m=d.unmount;d.unmount=()=>{p&&p(),s.dispose(),m()}},get global(){return l},dispose(){i.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:h};return s}}function Pa(e={}){const t=$t();if(t==null)throw Fe(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Fe(De.NOT_INSTALLED);const r=qh(t),n=Kh(r),o=b0(t),a=zh(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw Fe(De.NOT_AVAILABLE_IN_LEGACY_MODE);return Jh(t,a,n,e)}if(a==="global")return C0(n,e,o),n;if(a==="parent"){let f=Yh(r,t,e.__useComponent);return f==null&&(f=n),f}const i=r;let l=i.__getInstance(t);if(l==null){const f=ke({},e);"__i18n"in o&&(f.__i18n=o.__i18n),n&&(f.__root=n),l=Ba(f),i.__composerExtend&&(l[ea]=i.__composerExtend(l)),Qh(i,t,l),i.__setInstance(t,l)}return l}function Vh(e,t,r){const n=ia();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ta(e)):n.run(()=>Ba(e));if(o==null)throw Fe(De.UNEXPECTED_ERROR);return[n,o]}}function qh(e){{const t=nt(e.isCE?Gh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Fe(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}}function zh(e,t){return Dr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Kh(e){return e.mode==="composition"?e.global:e.global.__composer}function Yh(e,t,r=!1){let n=null;const o=t.root;let a=Xh(t,r);for(;a!=null;){const i=e;if(e.mode==="composition")n=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(a);l!=null&&(n=l.__composer,r&&n&&!n[E0]&&(n=null))}if(n!=null||o===a)break;a=a.parent}return n}function Xh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Qh(e,t,r){Zi(()=>{},t),Z0(()=>{const n=r;e.__deleteInstance(t);const o=n[ea];o&&(o(),delete n[ea])},t)}function Jh(e,t,r,n={}){const o=t==="local",a=sa(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Fe(De.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=le(n.inheritLocale)?n.inheritLocale:!V(n.locale),l=Ze(!o||i?r.locale.value:V(n.locale)?n.locale:Ft),f=Ze(!o||i?r.fallbackLocale.value:V(n.fallbackLocale)||be(n.fallbackLocale)||ne(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:l.value),c=Ze(Fr(l.value,n)),u=Ze(ne(n.datetimeFormats)?n.datetimeFormats:{[l.value]:{}}),h=Ze(ne(n.numberFormats)?n.numberFormats:{[l.value]:{}}),s=o?r.missingWarn:le(n.missingWarn)||ft(n.missingWarn)?n.missingWarn:!0,d=o?r.fallbackWarn:le(n.fallbackWarn)||ft(n.fallbackWarn)?n.fallbackWarn:!0,x=o?r.fallbackRoot:le(n.fallbackRoot)?n.fallbackRoot:!0,p=!!n.fallbackFormat,m=Ee(n.missing)?n.missing:null,E=Ee(n.postTranslation)?n.postTranslation:null,g=o?r.warnHtmlMessage:le(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,b=o?r.modifiers:ne(n.modifiers)?n.modifiers:{},y=n.pluralRules||o&&r.pluralRules;function _(){return[l.value,f.value,c.value,u.value,h.value]}const A=ve({get:()=>a.value?a.value.locale.value:l.value,set:C=>{a.value&&(a.value.locale.value=C),l.value=C}}),D=ve({get:()=>a.value?a.value.fallbackLocale.value:f.value,set:C=>{a.value&&(a.value.fallbackLocale.value=C),f.value=C}}),B=ve(()=>a.value?a.value.messages.value:c.value),S=ve(()=>u.value),P=ve(()=>h.value);function k(){return a.value?a.value.getPostTranslationHandler():E}function I(C){a.value&&a.value.setPostTranslationHandler(C)}function K(){return a.value?a.value.getMissingHandler():m}function Y(C){a.value&&a.value.setMissingHandler(C)}function q(C){return _(),C()}function se(...C){return a.value?q(()=>Reflect.apply(a.value.t,null,[...C])):q(()=>"")}function oe(...C){return a.value?Reflect.apply(a.value.rt,null,[...C]):""}function ce(...C){return a.value?q(()=>Reflect.apply(a.value.d,null,[...C])):q(()=>"")}function ae(...C){return a.value?q(()=>Reflect.apply(a.value.n,null,[...C])):q(()=>"")}function L(C){return a.value?a.value.tm(C):{}}function U(C,F){return a.value?a.value.te(C,F):!1}function W(C){return a.value?a.value.getLocaleMessage(C):{}}function N(C,F){a.value&&(a.value.setLocaleMessage(C,F),c.value[C]=F)}function ue(C,F){a.value&&a.value.mergeLocaleMessage(C,F)}function te(C){return a.value?a.value.getDateTimeFormat(C):{}}function T(C,F){a.value&&(a.value.setDateTimeFormat(C,F),u.value[C]=F)}function O(C,F){a.value&&a.value.mergeDateTimeFormat(C,F)}function $(C){return a.value?a.value.getNumberFormat(C):{}}function z(C,F){a.value&&(a.value.setNumberFormat(C,F),h.value[C]=F)}function ie(C,F){a.value&&a.value.mergeNumberFormat(C,F)}const ee={get id(){return a.value?a.value.id:-1},locale:A,fallbackLocale:D,messages:B,datetimeFormats:S,numberFormats:P,get inheritLocale(){return a.value?a.value.inheritLocale:i},set inheritLocale(C){a.value&&(a.value.inheritLocale=C)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:y},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:s},set missingWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackWarn(){return a.value?a.value.fallbackWarn:d},set fallbackWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackRoot(){return a.value?a.value.fallbackRoot:x},set fallbackRoot(C){a.value&&(a.value.fallbackRoot=C)},get fallbackFormat(){return a.value?a.value.fallbackFormat:p},set fallbackFormat(C){a.value&&(a.value.fallbackFormat=C)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:g},set warnHtmlMessage(C){a.value&&(a.value.warnHtmlMessage=C)},get escapeParameter(){return a.value?a.value.escapeParameter:v},set escapeParameter(C){a.value&&(a.value.escapeParameter=C)},t:se,getPostTranslationHandler:k,setPostTranslationHandler:I,getMissingHandler:K,setMissingHandler:Y,rt:oe,d:ce,n:ae,tm:L,te:U,getLocaleMessage:W,setLocaleMessage:N,mergeLocaleMessage:ue,getDateTimeFormat:te,setDateTimeFormat:T,mergeDateTimeFormat:O,getNumberFormat:$,setNumberFormat:z,mergeNumberFormat:ie};function w(C){C.locale.value=l.value,C.fallbackLocale.value=f.value,Object.keys(c.value).forEach(F=>{C.mergeLocaleMessage(F,c.value[F])}),Object.keys(u.value).forEach(F=>{C.mergeDateTimeFormat(F,u.value[F])}),Object.keys(h.value).forEach(F=>{C.mergeNumberFormat(F,h.value[F])}),C.escapeParameter=v,C.fallbackFormat=p,C.fallbackRoot=x,C.fallbackWarn=d,C.missingWarn=s,C.warnHtmlMessage=g}return ec(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Fe(De.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=C.locale.value,f.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,h.value=C.numberFormats.value):o&&w(C)}),ee}const Zh=["locale","fallbackLocale","availableLocales"],Pi=["t","rt","d","n","tm","te"];function ex(e,t){const r=Object.create(null);return Zh.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw Fe(De.UNEXPECTED_ERROR);const i=Gt(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(r,o,i)}),e.config.globalProperties.$i18n=r,Pi.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw Fe(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,Pi.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Ph();__INTLIFY_JIT_COMPILATION__?li(wh):li(yh);mh(Qd);gh(a0);if(__INTLIFY_PROD_DEVTOOLS__){const e=et();e.__INTLIFY__=!0,ih(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const tx="en",rx={add:"Add",addSuccess:"Add Success",edit:"Edit",editSuccess:"Edit Success",delete:"Delete",deleteSuccess:"Delete Success",save:"Save",saveSuccess:"Save Success",reset:"Reset",action:"Action",export:"Export",exportSuccess:"Export Success",import:"Import",importSuccess:"Import Success",clear:"Clear",clearSuccess:"Clear Success",yes:"Yes",no:"No",update:"Update",download:"Download",noData:"No Data",wrong:"Something went wrong, please try again later.",success:"Success",failed:"Failed",verify:"Verify",unauthorizedTips:"Unauthorized, please verify first.",confirm:"Confirm",cancel:"Cancel"},nx={newChatButton:"New Chat",placeholder:"Ask me anything...(Shift + Enter = line break)",placeholderMobile:"Ask me anything...",copy:"Copy",copied:"Copied",copyCode:"Copy Code",clearChat:"Clear Chat",clearChatConfirm:"Are you sure to clear this chat?",exportImage:"Export Image",exportImageConfirm:"Are you sure to export this chat to png?",exportSuccess:"Export Success",exportFailed:"Export Failed",usingContext:"Context Mode",turnOnContext:"In the current mode, sending messages will carry previous chat records.",turnOffContext:"In the current mode, sending messages will not carry previous chat records.",deleteMessage:"Delete Message",deleteMessageConfirm:"Are you sure to delete this message?",deleteHistoryConfirm:"Are you sure to clear this history?",clearHistoryConfirm:"Are you sure to clear chat history?",preview:"Preview",showRawText:"Show as raw text",size:"Size:",generatedContentDisclaimer:"AI can make mistakes. Consider checking important information. All rights reserved ©",square1:"Square [1:1]",illustration:"Illustration [4:3]",wallpaper:"Wallpaper [16:9]",media:"Media [3:4]",poster:"Poster [9:16]",square:"Square",landscape:"Landscape",portrait:"Portrait",chatDialogue:"Chat Dialogue",startNewConversationPrompt:"Click the button below to start a new conversation",newConversation:"New Conversation",networkModeEnabledContextInvalid:"Network mode enabled, context invalidated!",networkModeDisabled:"Network mode disabled!",pointsMall:"Points Mall",toggleTheme:"Toggle Theme",signInReward:"Sign-In Reward",networkMode:"Network Mode",searchHistoryConversations:"Search History Conversations",announcement:"Announcement",clear:"Clear",remaining:"",ordinaryPoints:"Ordinary Points",advancedPoints:"Advanced Points",drawingPoints:"Drawing Points",points:"Points",clearConversation:"Clear Conversation",clearAllNonFavoriteConversations:"Clear all non-favorite conversations?",more:"More",collapse:"Collapse",myApps:"My Apps",appSquare:"App Square",favorites:"Favorites",todayConversations:"Today",Conversations:"",historyConversations:"History",favoriteConversations:"Favorite",unfavorite:"Unfavorite",rename:"Rename",deleteConversation:"Delete",me:"You",onlineSearch:"Online Search",mindMap:"Mind Map",fileAnalysis:"File Analysis",delete:"Delete",regenerate:"Regenerate",pause:"Pause",loading:"Loading...",readAloud:"Read Aloud",U1:"🔍 U1",U2:"🔍 U2",U3:"🔍 U3",U4:"🔍 U4",V1:"🪄 V1",V2:"🪄 V2",V3:"🪄 V3",V4:"🪄 V4",panLeft:"⬅️ Pan Left",panRight:"➡️ Pan Right",panUp:"⬆️ Pan Up",panDown:"⬇️ Pan Down",zoomIn15x:"↔️ Zoom 1.5x",zoomIn2x:"↔️ Zoom 2x",minorTransform:"Vary(Subtle)",strongTransform:"Vary(Strong)",enlargeImage:"Enlarge image {order}",transformImage:"Transform image {order}",expandDrawing:"Expand drawing",advancedTransform:"Advanced transform",translateImage:"Translate image",enlargeImagePrefix:"Enlarge image ",enlargeImageSuffix:"",transformImagePrefix:"Transform image ",transformImageSuffix:"",imageToImage:"Image to Image",faceConsistency:"Face Consistency",styleConsistency:"Style Consistency",selectAppOrTopic:"Select an application or topic for quick conversation"},ax={sampleTemplate:"Sample Template",exploreInfinitePossibilities:"Explore infinite possibilities, create a smart future with AI",searchAppNameQuickFind:"Search app names, quick find applications...",allCategories:"All Categories",noModelConfigured:"No specific application model has been configured by the administrator, please contact them to set it up~"},ox={setting:"Setting",general:"General",advanced:"Advanced",config:"Config",avatarLink:"Avatar Link",name:"Name",description:"Description",role:"Role",resetUserInfo:"Reset UserInfo",chatHistory:"ChatHistory",theme:"Theme",language:"Language",api:"API",reverseProxy:"Reverse Proxy",timeout:"Timeout",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API Balance",sign:"Signature"},ix={siderButton:"Prompt Store",local:"Local",online:"Online",title:"Title",description:"Description",clearStoreConfirm:"Whether to clear the data?",importPlaceholder:"Please paste the JSON data here",addRepeatTitleTips:"Title duplicate, please re-enter",addRepeatContentTips:"Content duplicate: {msg}, please re-enter",editRepeatTitleTips:"Title conflict, please revise",editRepeatContentTips:"Content conflict {msg} , please re-modify",importError:"Key value mismatch",importRepeatTitle:"Title repeatedly skipped: {msg}",importRepeatContent:"Content is repeatedly skipped: {msg}",onlineImportWarning:"Note: Please check the JSON file source!",downloadError:"Please check the network status and JSON file validity"},sx={use:"Use",download:"Download",delete:"Delete",zoom:"Zoom:",U1:"U1",U2:"U2",U3:"U3",U4:"U4",regenerateOnce:"Regenerate",transform:"Transform:",V1:"V1",V2:"V2",V3:"V3",V4:"V4",pan:"Pan:",panLeft:"⬅️",panRight:"➡️",panUp:"⬆️",panDown:"⬇️",transformZoom:"Zoom Transform",zoom1_5x:"Zoom 1.5x",zoom2x:"Zoom 2x",minorTransform:"Minor Transform",strongTransform:"Strong Transform",regionalRedraw:"Regional Redraw",regionalRedraw1:"Regional Redraw (Select the Area to Change)",submitTask:"Submit Task",selectSuiteForZoom:"Action: Select a suite to zoom",selectSuiteForTransform:"Action: Select a suite for transformation",regeneratingImage:"Action: Regenerating the image",drawingInProgress:"Action: Rapid drawing in progress...",tryDifferentPrompt:"Execute: Try a different prompt!",statusWaiting:"Waiting",statusDrawing:"Drawing",statusSuccess:"Success",statusFailure:"Failure",statusTimeout:"Timeout",downloadImageTitle:"Download Image",downloadImageContent:"Download the current image",downloadButtonText:"Download",cancelButtonText:"Cancel",deleteRecordTitle:"Delete Record",deleteRecordContent:"Delete the current drawing record?",deleteButtonText:"Delete",submitZoomDrawingSuccess:"Zoom drawing task submitted successfully, please wait for it to finish!",submitRedrawSuccess:"Redraw task submitted successfully, please wait for it to finish!",submitTransformDrawingSuccess:"Transform drawing task submitted successfully, please wait for it to finish!",submitEnlargeDrawingSuccess:"Enlarge drawing task submitted successfully, please wait for it to finish!",submitAdvancedTransformDrawingSuccess:"Advanced transform drawing task submitted successfully, please wait for it to finish!",submitRegionalRedrawSuccess:"Regional redraw task submitted successfully, please wait for it to finish!",drawingRecordDeleted:"Drawing record has been deleted!",queueing:"Queueing...",drawing:"Drawing...",storing:"Storing image...",drawingFailed:"Drawing Failed",pointsRefunded:"Points Refunded!",submitDrawingTaskSuccess:"Drawing task submitted successfully, please wait for it to finish!",defaultStyle:"Default Style",expressiveStyle:"Expressive Style",cuteStyle:"Cute Style",scenicStyle:"Scenic Style",standardQuality:"Standard",generalQuality:"General",highDefinitionQuality:"High Definition",ultraHighDefinitionQuality:"Ultra High Definition",enterDescription:"Please enter descriptive words!",optimizationFailed:"Optimization failed!",professionalDrawing:"Professional Drawing",parameterExplanation:"Parameter Explanation: Generate image size ratio",imageSize:"Image Size",modelSelection:"Model Selection",tooltipMJ:"MJ: General-purpose realistic model",tooltipNIJI:"NIJI: Anime style, suitable for 2D models",version:"Version",style:"Style",parameters:"Parameters",parametersTooltip:"Use parameters wisely to achieve more ideal results!",quality:"Quality",chaos:"Chaos",chaosDescription:"Value range: 0-100, --chaos or --c",chaosExplanation:"Chaos level, can be understood as the space for AI to think outside the box",chaosAdvice:"The smaller the value, the more reliable, with the default of 0 being the most precise",stylization:"Stylization",stylizationDescription:"Stylization: --stylize or --s, range 1-1000",parameterExplanation1:"Parameter explanation: The higher the number, the richer and more artistic the visual presentation",setting:"Setting",carryParameters:"Carry Parameters",autoCarryParameters:"Whether to automatically carry parameters",carryOn:"On: Carries the parameters we have configured",carryOff:"Off: Uses the parameters we customize in the command",imageToImage:"Image to Image",clickOrDrag:"Click or drag an image here to use as input",supportFormats:"Supports PNG and JPG formats",remainingPoints:"Remaining Points",refresh:"Refresh",accountInfo:"Account Information",points:"Points",paintingSingleUse:"Painting:",imageGenerationSingleUse:"Generation:",enlargementSingleUse:"Enlargement:",submitDrawingTask:"Enter keywords, submit drawing task",optimize:"Optimize",enterDrawingKeywords:"Enter drawing keywords. For example: A colorful cat, cute, cartoon",unnecessaryElements:"Unnecessary Elements",exclusionPrompt:"Example: Generate a room image, but exclude the bed, you can fill in 'bed'!",workingContents:"Working Contents",currentTasks:"Current tasks in progress",goToAIDrawingSquare:"Click to go to the AI Drawing Square",tasksInProgress:"tasks are currently in progress. Please wait patiently for the drawing to complete. You can visit other pages and return later to see the results!",myDrawings:"My Drawings",aiDrawingSquare:"AI Drawing Square",sizeAdjustment:"Size Adjustment",keywordSearchPlaceholder:"Prompt Keyword Search"},cx={membershipMarket:"Membership Market",sizeAdjustment:"Size Adjustment",memberPackage:"Limited Time Member Package",permanentAddOnCard:"Permanent Add-On Card",baseModelQuota:"Base Model Quota",advancedModelQuota:"Advanced Model Quota",MJDrawingQuota:"MJ Drawing Quota",packageValidity:"Package Validity",days:"days",permanent:"Permanent",points:"Points",welcomeTipMobile:"Explore freely, welcome to our online store!",welcomeTipDesktop:"Explore freely, welcome to our online store, thank you for choosing us, let's start a delightful shopping journey together!",paymentNotEnabled:"Payment has not been enabled by the admin!",purchaseSuccess:"Purchase successful, enjoy your product!",paymentNotComplete:"You have not completed the payment yet!",wechat:"WeChat",alipay:"Alipay",wechatPay:"WeChat Pay",alipayPay:"Alipay Pay",paymentSuccess:"Congratulations, your payment was successful. Enjoy your purchase!",paymentTimeout:"Payment timeout, please place your order again!",productPayment:"Product Payment",amountDue:"Amount Due:",packageName:"Package Name:",packageDescription:"Package Description:",siteAdminEnabledRedirect:"The site administrator has enabled redirect payment",clickToPay:"Click to Proceed to Payment",completePaymentWithin:"Please complete the payment within",timeToCompletePayment:"!",open:"Open",scanToPay:"Scan to Pay"},lx={title:"Mind Map",yourNeeds:"Your Needs?",inputPlaceholder:"Please enter a brief description of the content you want to generate, AI will produce a complete markdown content and its mind map for you!",generateMindMapButton:"Generate Mind Map",contentRequirements:"Content Requirements",tryDemoButton:"Try a Demo",usageCredits:"Base credits per use: 1",exportHTML:"Export HTML",exportPNG:"Export PNG",exportSVG:"Export SVG"},ux={defaultSignature:"I am an AI robot based on deep learning and natural language processing technologies, aimed at providing users with efficient, accurate, and personalized intelligent services.",syncComplete:"Data synchronization completed",personalCenter:"Personal Center",logOut:"Log Out",myUsageRecord:"My Usage Record on This Site",basicModelCredits:"Basic Model Credits:",advancedModelCredits:"Advanced Model Credits:",basicModelUsage:"Basic Model Usage:",advancedModelUsage:"Advanced Model Usage:",drawingUsageCredits:"Drawing Usage Credits:",bindWeChat:"Bind WeChat:",clickToBindWeChat:"Click to Bind WeChat",weChatBound:"WeChat Bound",syncVisitorData:"Click to Sync Visitor Data",points:"Points",membershipExpiration:"Membership Expiration Date:",editInfoDescription:"Edit personal information, view more details",myDetails:"My Details",myWallet:"My Wallet",basicInfo:"Basic Information",userBasicSettings:"User Basic Settings",avatarPlaceholder:"Please enter your avatar URL",usernamePlaceholder:"Edit your username",signaturePlaceholder:"Edit your signature",passwordManagement:"Password Management",inviteBenefits:"Invite for Benefits",clickToLogin:"Log In",notLoggedIn:"Not Logged In",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",inviteTime:"Invite Time",rewardStatus:"Reward Status",certified:"Certified",notActivated:"Not Activated",rewardReceived:"Reward Received",waitingConfirmation:"Waiting for Confirmation",linkGeneratedSuccess:"Invitation link generated successfully",generateLinkFirst:"Please generate your exclusive invitation link first!",linkCopiedSuccess:"Exclusive invitation link copied successfully!",copyNotSupported:"Automatic copying is not supported on this device, please copy manually!",inviteForBenefits:"Invite Users, Earn Benefits!",myInviteCode:"My Invitation Code",generateInviteCode:"Generate Exclusive Invite Code",copyInviteLink:"Copy Exclusive Invite Link",inviteOneUser:"Inviting a user grants",basicModelCredits1:"basic model credits+",advancedModelCredits1:"advanced model credits+",mjDrawingCredits:"MJ drawing credits",receiveInvitation:"Invited users receive",creditsEnd:"credits",invitationRecord:"Invitation Record",passwordMinLength:"The minimum password length is 6 characters",passwordMaxLength:"The maximum password length is 30 characters",enterPassword:"Please enter a password",reenterPassword:"Please re-enter your password",passwordsNotMatch:"The passwords do not match",passwordUpdateSuccess:"Password updated successfully, please log in again!",changeYourPassword:"Change Your Password",oldPassword:"Old Password",newPassword:"New Password",confirmPassword:"Confirm Password",reloginAfterPasswordChange:"You will need to log in again after updating your password!",updateYourPassword:"Update Your Password",passwordRequirements:"Password Requirements",newPasswordInstructions:"To create a new password, you must meet all the following requirements:",minimumCharacters:"At least 6 characters",maximumCharacters:"No more than 30 characters",requireNumber:"Must contain at least one number",orderNumber:"Order Number",rechargeType:"Recharge Type",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",mjDrawingQuota:"MJ Drawing Quota",validity:"Validity",rechargeTime:"Recharge Time",enterCardSecret:"Please enter the card secret first!",cardRedeemSuccess:"Card redeemed successfully, enjoy your use!",userWalletBalance:"User Wallet Balance",basicModelBalance:"Basic Model Balance",creditUsageNote:"Each conversation consumes different credits depending on the model!",advancedModelBalance:"Advanced Model Balance",modelConsumptionNote:"Each conversation consumes different credits depending on the model!",mjDrawingBalance:"MJ Drawing Balance",drawingConsumptionNote:"Different credits are consumed based on drawing actions!",cardRecharge:"Card Recharge",enterCardDetails:"Please paste or enter your card details!",exchange:"Exchange",buyCardSecret:"Buy Card Secret",rechargeRecords:"Recharge Records",packagePurchase:"Package Purchase",buyPackage:"Buy Package"},fx={signInReward:"Sign-in Reward",themeSwitch:"Theme Switch",personalCenter:"Personal Center",loginAccount:"Log In Account"},dx={doNotRemind24h:"Do not remind again for 24 hours"},hx={enterUsername:"Please enter your username",usernameLength:"Username must be between 2 and 30 characters",enterPassword:"Please enter your password",passwordLength:"Password must be between 6 and 30 characters",enterEmail:"Please enter your email address",emailValid:"Please enter a valid email address",enterCaptcha:"Please enter the captcha",emailPhone:"Email / Phone",email:"Email",phone:"Phone",registrationSuccess:"Account registration successful, start your experience!",loginSuccess:"Account login successful, start your experience!",registerTitle:"Register",enterContact:"Please provide your ",enterCode:"Please enter the verification code",sendVerificationCode:"Send Verification Code",optionalInvitationCode:"Invitation Code [Optional]",registerAccount:"Register Account",alreadyHaveAccount:"Already have an account?",goToLogin:"Go to Login",password:"Password",enterYourPassword:"Please enter your password",rememberAccount:"Remember account",forgotPassword:"Forgot password?",loginAccount:"Log In Account",noAccount:"Don’t have an account?",register:"Register",orUse:"or use",scanLogin:"Scan to Log In",wechatLogin:"WeChat Login",wechatScanFailed:"Failed WeChat QR code login? Use",useWechatScan:"Use WeChat to Scan and Log In"},xx={orderAmount:"Order Amount",productType:"Product Type",status:"Status",commissionRate:"Commission Rate",commission:"Commission",orderTime:"Order Time",purchasePackage:"Purchase Package",accounted:"Accounted",generateInviteCodeSuccess:"Invitation code generated successfully",withdrawalTime:"Withdrawal Time",withdrawalAmount:"Withdrawal Amount",withdrawalChannel:"Withdrawal Channel",withdrawalStatus:"Withdrawal Status",withdrawalRemarks:"Withdrawal Remarks",auditor:"Auditor",alipay:"Alipay",wechat:"WeChat",paid:"Paid",rejected:"Rejected",inReview:"In Review",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",registered:"Registered",pendingActivation:"Pending Activation",registrationTime:"Registration Time",lastLogin:"Last Login",requestInviteCodeFirst:"Please request your invitation code first",linkCopiedSuccess:"Share link copied successfully",title:"Referral Program",description:"Join us and share in success! Welcome to our distribution page, become our partner and create a bright future together!",defaultSalesOutletName:"Rookie Referral Officer",myReferrals:"My Referrals",currencyUnit:"Yuan",remainingAmount:"Remaining Withdrawable Amount",withdrawingAmount:"Amount in Withdrawal",withdrawNow:"Withdraw Now",minimumWithdrawalPrefix:"Minimum",minimumWithdrawalSuffix:"Yuan Withdrawable",purchaseOrderCount:"Purchase Order Count",promotionLinkVisits:"Promotion Link Visits",registeredUsers:"Registered Users",referralEarnings:"Referral Earnings",referralEarningsDescription:"Commission amount returned after referred users register and buy products",percentage:"Percentage",applyForAdvancedAgent:"Apply to Become an Advanced Agent",contactAdminForAdvancedAgent:"Contact the site owner to apply for an advanced agent to enjoy high commissions",joinAsPartner:"Join Us as a Partner",partnerDescription:"Join us as a partner to co-operate the community, win-win cooperation!",winTogether:"Win Together, Advance Together",referralLink:"Referral Link:",apply:"Apply",referralRecordsTab:"Referral Records",withdrawalRecordsTab:"Withdrawal Records",registeredUsersTab:"Registered Users",inviteFriends:"Invite friends, gift meal cards, and enjoy recharge commissions!",inviteLink:"Invite Link",copy:"Copy",inviteBenefits1:"Both parties enjoy a certain amount of permanent card rewards when inviting friends.",inviteBenefits2Prefix:"Earn a ",inviteBenefits2Suffix:"% commission on your friend's recharge amount.",enterWithdrawalAmount:"Please enter your withdrawal amount!",selectWithdrawalChannel:"Please select your withdrawal channel!",enterContactInfo:"Please provide your contact information and remark!",optionalRemark:"If there are any special circumstances, please remark!",withdrawalSuccess:"Withdrawal application successful, please wait for approval!",withdrawalApplicationForm:"Withdrawal Application Form",contactInformation:"Contact Information",withdrawalRemark:"Withdrawal Remark",enterWithdrawalRemark:"Please enter your withdrawal remarks",applyWithdrawal:"Apply for Withdrawal"},px={purchaseSuccess:"Purchase successful, enjoy your item!",paymentNotSuccessful:"You have not completed the payment yet!",orderConfirmationTitle:"Order Confirmation",orderConfirmationContent:"Welcome to purchase, are you sure you want to buy ",thinkAgain:"Let me think again",confirmPurchase:"Confirm Purchase",paymentNotEnabled:"Payment has not been enabled by the administrator!",selectProducts:"Select Products",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",drawingQuota:"Drawing Quota",buyPackage:"Buy Package"},mx={1:"Registration Bonus",2:"Invitation Bonus",3:"Referring Others Bonus",4:"Purchase via Card Code",5:"Admin Bonus",6:"QR Code Purchase",7:"MJ Drawing Failure Refund",8:"Sign-in Reward"},gx={0:"Not Paid",1:"Paid",2:"Payment Failed",3:"Payment Timeout"},vx={logoutSuccess:"Successfully logged out!"},Ex={language:tx,common:rx,chat:nx,app:ax,setting:ox,store:ix,draw:sx,pay:cx,mindmap:lx,usercenter:ux,siderBar:fx,notice:dx,login:hx,share:xx,goods:px,rechargeTypes:mx,orderStatus:gx,messages:vx},bx="中文",Cx={add:"添加",addSuccess:"添加成功",edit:"编辑",editSuccess:"编辑成功",delete:"删除",deleteSuccess:"删除成功",update:"修改",saveSuccess:"保存成功",updateUserSuccess:"修改用户信息成功",reset:"重置",action:"操作",export:"导出",exportSuccess:"导出成功",import:"导入",importSuccess:"导入成功",clear:"清空",clearSuccess:"清空成功",yes:"是",no:"否",download:"下载",noData:"暂无数据",wrong:"好像出错了,请稍后再试。",success:"操作成功",failed:"操作失败",verify:"验证",unauthorizedTips:"未经授权,请先进行验证。",confirm:"确认",cancel:"取消"},_x={newChatButton:"新建聊天",placeholder:"来说点什么吧...(Shift + Enter = 换行)",placeholderMobile:"来说点什么...",copy:"复制",copied:"复制成功",copyCode:"复制代码",clearChat:"清空会话",clearChatConfirm:"是否清空会话?",exportImage:"保存会话到图片",exportImageConfirm:"是否将会话保存为图片?",exportSuccess:"保存成功",exportFailed:"保存失败",usingContext:"上下文模式",turnOnContext:"当前模式下, 发送消息会携带之前的聊天记录",turnOffContext:"当前模式下, 发送消息不会携带之前的聊天记录",deleteMessage:"删除消息",deleteMessageConfirm:"删除此条对话?",deleteHistoryConfirm:"确定删除此记录?",clearHistoryConfirm:"确定清空聊天记录?",preview:"预览",showRawText:"显示原文",size:"尺寸:",generatedContentDisclaimer:"AI 生成内容仅供参考,不代表本平台立场。版权所有 ©",square1:"方形(1:1)",illustration:"配图(4:3)",wallpaper:"壁纸(16:9)",media:"媒体(3:4)",poster:"海报(9:16)",square:"方形",landscape:"宽屏",portrait:"垂直",chatDialogue:"对话聊天",startNewConversationPrompt:"点击下方按钮,开始一个新的对话吧",newConversation:"新对话",networkModeEnabledContextInvalid:"已开启联网模式、上下文状态失效!",networkModeDisabled:"已关闭联网模式!",pointsMall:"积分商城",toggleTheme:"切换主题",signInReward:"签到奖励",networkMode:"联网模式",searchHistoryConversations:"搜索历史对话",announcement:"网站公告",clear:"清空对话",remaining:"剩余:",ordinaryPoints:"普通积分",advancedPoints:"高级积分",drawingPoints:"绘画积分",points:"积分",clearConversation:"清空对话",clearAllNonFavoriteConversations:"清空所有非收藏的对话?",more:"更多",collapse:"折叠",myApps:"我的应用",appSquare:"应用广场",favorites:"收藏",todayConversations:"今日对话",historyConversations:"历史对话",favoriteConversations:"收藏对话",unfavorite:"取消收藏",rename:"重命名",deleteConversation:"删除对话",me:"我",onlineSearch:"联网搜索",mindMap:"思维导图",fileAnalysis:"文件分析",delete:"删除",regenerate:"重新生成",pause:"暂停",loading:"加载中...",readAloud:"朗读",U1:"🔍 放大左上",U2:"🔍 放大右上",U3:"🔍 放大左下",U4:"🔍 放大右下",V1:"🪄 变换左上",V2:"🪄 变换右上",V3:"🪄 变换左下",V4:"🪄 变换右下",panLeft:"⬅️ 向左平移",panRight:"➡️ 向右平移",panUp:"⬆️ 向上平移",panDown:"⬇️ 向下平移",zoomIn15x:"↔️ 扩图1.5倍",zoomIn2x:"↔️ 扩图2倍",minorTransform:"🖌️ 微变换",strongTransform:"🖌️ 强变换",enlargeImagePrefix:"放大第",enlargeImageSuffix:"张图片",transformImagePrefix:"变换第",transformImageSuffix:"张图片",expandDrawing:"扩图绘制",advancedTransform:"高级变换",translateImage:"平移图片",imageToImage:"以图生图",faceConsistency:"人脸一致",styleConsistency:"风格一致",selectAppOrTopic:"选择应用或话题快速对话"},yx={sampleTemplate:"示例模板",exploreInfinitePossibilities:"探索无限可能,与 AI 一同开创智慧未来",searchAppNameQuickFind:"搜索应用名称、快速查找应用...",allCategories:"全部分类",noModelConfigured:"管理员未配置特定应用模型、请联系管理员配置~"},Ax={setting:"设置",general:"总览",advanced:"高级",personalInfo:"个人信息",avatarLink:"头像链接",name:"用户名称",sign:"用户签名",role:"角色设定",resetUserInfo:"重置用户信息",chatHistory:"聊天记录",theme:"主题",language:"语言",api:"API",reverseProxy:"反向代理",timeout:"超时",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API余额"},Sx={siderButton:"提示词商店",local:"本地",online:"在线",title:"标题",description:"描述",clearStoreConfirm:"是否清空数据?",importPlaceholder:"请粘贴 JSON 数据到此处",addRepeatTitleTips:"标题重复,请重新输入",addRepeatContentTips:"内容重复:{msg},请重新输入",editRepeatTitleTips:"标题冲突,请重新修改",editRepeatContentTips:"内容冲突{msg} ,请重新修改",importError:"键值不匹配",importRepeatTitle:"标题重复跳过:{msg}",importRepeatContent:"内容重复跳过:{msg}",onlineImportWarning:"注意:请检查 JSON 文件来源!",downloadError:"请检查网络状态与 JSON 文件有效性"},Dx={use:"使用",download:"下载",delete:"删除",zoom:"放大:",U1:"左上",U2:"右上",U3:"左下",U4:"右下",regenerateOnce:"重新生成一次",transform:"变换:",V1:"左上",V2:"右上",V3:"左下",V4:"右下",pan:"平移:",panLeft:"向左",panRight:"向右",panUp:"向上",panDown:"向下",transformZoom:"扩图变换:",zoom1_5x:"扩图1.5倍",zoom2x:"扩图2倍",minorTransform:"微变换",strongTransform:"强变换",regionalRedraw:"区域重绘",regionalRedraw1:"区域重绘(框选要改变的区域)",submitTask:"提交任务",selectSuiteForZoom:"操作:选中套图进行放大",selectSuiteForTransform:"操作:选中套图进行变换",regeneratingImage:"操作:正在对图片重新生成一次",drawingInProgress:"操作:正在火速绘制中...",tryDifferentPrompt:"执行:换个提示词重新试试吧!",statusWaiting:"等待中",statusDrawing:"绘制中",statusSuccess:"成功",statusFailure:"失败",statusTimeout:"超时",downloadImageTitle:"下载图片",downloadImageContent:"下载当前图片",downloadButtonText:"下载",cancelButtonText:"取消",deleteRecordTitle:"删除记录",deleteRecordContent:"删除当前绘制记录?",deleteButtonText:"删除",submitZoomDrawingSuccess:"提交放大绘制任务成功、请等待绘制结束!",submitRedrawSuccess:"提交重新绘制任务成功、请等待绘制结束!",submitTransformDrawingSuccess:"提交变换绘制任务成功、请等待绘制结束!",submitEnlargeDrawingSuccess:"提交扩图任务成功、请等待绘制结束!",submitAdvancedTransformDrawingSuccess:"提交高级变换绘制任务成功、请等待绘制结束!",submitRegionalRedrawSuccess:"提交区域重绘任务成功、请等待绘制结束!",drawingRecordDeleted:"绘制记录已删除!",queueing:"排队中...",drawing:"正在绘制...",storing:"图片存储中...",drawingFailed:"绘制失败",pointsRefunded:"积分已退还!",submitDrawingTaskSuccess:"提交绘制任务成功、请等待绘制结束!",defaultStyle:"默认风格",expressiveStyle:"表现力风格",cuteStyle:"可爱风格",scenicStyle:"景观风格",standardQuality:"普通",generalQuality:"一般",highDefinitionQuality:"高清",ultraHighDefinitionQuality:"超高清",enterDescription:"请输入描述词!",optimizationFailed:"优化失败了!",professionalDrawing:"专业绘图",parameterExplanation:"参数释义:生成图片尺寸比例",imageSize:"图片尺寸",modelSelection:"模型选择",tooltipMJ:"MJ: 偏真实通用模型",tooltipNIJI:"NIJI: 偏动漫风格、适用于二次元模型",version:"版本",style:"风格",parameters:"参数",parametersTooltip:"合理使用参数绘制更为理想的结果!",quality:"品质",chaos:"混乱",chaosDescription:"取值范围:0-100、 --chaos 或 --c",chaosExplanation:"混乱级别,可以理解为让AI天马行空的空间",chaosAdvice:"值越小越可靠、默认0最为精准",stylization:"风格化",stylizationDescription:"风格化:--stylize 或 --s,范围 1-1000",parameterExplanation1:"参数释义:数值越高,画面表现也会更具丰富性和艺术性",setting:"设定",carryParameters:"携带参数",autoCarryParameters:"是否自动携带参数",carryOn:"打开:携带上述我们配置的参数",carryOff:"关闭:使用指令中的我们自定义的参数",imageToImage:"以图生图",clickOrDrag:"点击或拖拽一个图片到这里作为输入",supportFormats:"支持PNG和JPG格式",remainingPoints:"剩余积分",refresh:"刷新",accountInfo:"账户信息",points:"积分",paintingSingleUse:"绘画单次消耗:",imageGenerationSingleUse:"图生图单次消耗:",enlargementSingleUse:"放大单次消耗:",submitDrawingTask:"输入关键词,提交绘制任务",optimize:"优化",enterDrawingKeywords:"输入绘图关键词。例如:一只五颜六色的猫,可爱,卡通",unnecessaryElements:"不需要的元素",exclusionPrompt:"例:生成房间图片、但是不要床、你可以填bed!",workingContents:"工作中的内容",currentTasks:"当前系统进行中任务",goToAIDrawingSquare:"点击前往 AI 绘画广场",tasksInProgress:"个任务正在进行中、请耐心等候绘制完成、您可以前往其他页面稍后回来查看结果!",myDrawings:"我的绘图",aiDrawingSquare:"AI绘画广场",sizeAdjustment:"尺寸调整",keywordSearchPlaceholder:"prompt关键词搜索"},Bx={membershipMarket:"会员商场",sizeAdjustment:"尺寸调整",memberPackage:"会员限时套餐",permanentAddOnCard:"叠加永久次卡",baseModelQuota:"普通积分",advancedModelQuota:"高级积分",MJDrawingQuota:"绘画积分",packageValidity:"套餐有效期",days:"天",permanent:"永久",points:"积分",welcomeTipMobile:"尽情探索,欢迎光临我们的在线商店!",welcomeTipDesktop:"尽情探索,欢迎光临我们的在线商店、感谢您选择我们、让我们一同开启愉悦的购物之旅!",paymentNotEnabled:"管理员还未开启支付!",purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotComplete:"您还没有支付成功哟!",wechat:"微信",alipay:"支付宝",wechatPay:"微信支付",alipayPay:"支付宝支付",paymentSuccess:"恭喜你支付成功、祝您使用愉快!",paymentTimeout:"支付超时,请重新下单!",productPayment:"商品支付",amountDue:"需要支付:",packageName:"套餐名称:",packageDescription:"套餐描述:",siteAdminEnabledRedirect:"当前站长开通了跳转支付",clickToPay:"点击前往支付",completePaymentWithin:"请在",timeToCompletePayment:"时间内完成支付!",open:"打开",scanToPay:"扫码支付"},Fx={title:"思维导图",yourNeeds:"您的需求?",inputPlaceholder:"请输入您想要生成内容的简单描述、AI将为您输出一份完整的markdown内容及其思维导图!",generateMindMapButton:"智能生成生成思维导图",contentRequirements:"内容需求",tryDemoButton:"试试示例",usageCredits:"每次使用消耗基础积分: 1",exportHTML:"导出HTML",exportPNG:"导出PNG",exportSVG:"导出SVG"},Px={defaultSignature:"我是一台基于深度学习和自然语言处理技术的 AI 机器人,旨在为用户提供高效、精准、个性化的智能服务。",syncComplete:"已同步数据完成",personalCenter:"个人中心",logOut:"退出登录",myUsageRecord:"我在本站的使用记录",basicModelCredits:"基础模型积分:",advancedModelCredits:"高级模型积分:",basicModelUsage:"基础模型使用:",advancedModelUsage:"高级模型使用:",drawingUsageCredits:"绘画使用积分:",bindWeChat:"绑定微信:",clickToBindWeChat:"点击绑定微信",weChatBound:"已绑定微信",syncVisitorData:"点击同步访客数据",points:"积分",membershipExpiration:"会员过期时间:",editInfoDescription:"编辑个人信息、查看更多详情",myDetails:"我的详情",myWallet:"我的钱包",basicInfo:"基础信息",userBasicSettings:"用户基础设置",avatarPlaceholder:"请填写头像地址",usernamePlaceholder:"请编辑您的用户名",signaturePlaceholder:"请编辑您的签名",passwordManagement:"密码管理",inviteBenefits:"邀请得福利",clickToLogin:"点击登入",notLoggedIn:"未登录",avatar:"头像",username:"用户名称",email:"用户邮箱",inviteeStatus:"受邀人状态",inviteTime:"邀请时间",rewardStatus:"获得奖励状态",certified:"已认证",notActivated:"未激活",rewardReceived:"已领取邀请奖励",waitingConfirmation:"等待受邀人确认",linkGeneratedSuccess:"生成邀请链接成功",generateLinkFirst:"请先生成您的专属邀请链接!",linkCopiedSuccess:"复制专属邀请链接成功!",copyNotSupported:"当前设置不支持自动复制、手动复制吧!",inviteForBenefits:"邀用户、得福利!",myInviteCode:"我的邀请码",generateInviteCode:"生成专属邀请码",copyInviteLink:"复制专属邀请链接",inviteOneUser:"邀请一位用户赠送",basicModelCredits1:"积分基础模型额度+",advancedModelCredits1:"积分高级模型额度+",mjDrawingCredits:"MJ绘画积分额度",receiveInvitation:"收到邀请用户获得",creditsEnd:"积分",invitationRecord:"邀请记录",passwordMinLength:"密码最短长度为6位数",passwordMaxLength:"密码最长长度为30位数",enterPassword:"请输入密码",reenterPassword:"请再次输入密码",passwordsNotMatch:"两次密码输入不一致",passwordUpdateSuccess:"密码更新成功、请重新登录系统!",changeYourPassword:"变更您的密码",oldPassword:"旧密码",newPassword:"新密码",confirmPassword:"确认密码",reloginAfterPasswordChange:"更新密码完成后将重新登录!",updateYourPassword:"更新您的密码",passwordRequirements:"密码要求",newPasswordInstructions:"要创建一个新的密码,你必须满足以下所有要求。",minimumCharacters:"最少6个字符",maximumCharacters:"最多30个字符",requireNumber:"至少带有一个数字",orderNumber:"订单编号",rechargeType:"充值类型",basicModelQuota:"普通积分",advancedModelQuota:"高级积分",mjDrawingQuota:"绘画积分",validity:"有效期",rechargeTime:"充值时间",enterCardSecret:"请先填写卡密!",cardRedeemSuccess:"卡密兑换成功、祝您使用愉快!",userWalletBalance:"用户钱包余额",basicModelBalance:"基础模型余额",creditUsageNote:"每次对话根据模型消费不同积分!",advancedModelBalance:"高级模型余额",modelConsumptionNote:"每次对话根据模型消费不同积分!",mjDrawingBalance:"MJ绘画余额",drawingConsumptionNote:"根据画图动作消耗不同的积分!",cardRecharge:"卡密充值",enterCardDetails:"请粘贴或填写您的卡密信息!",exchange:"兑换",buyCardSecret:"购买卡密",rechargeRecords:"充值记录",packagePurchase:"套餐购买",buyPackage:"购买套餐"},kx={signInReward:"签到奖励",themeSwitch:"主题切换",personalCenter:"个人中心",loginAccount:"登录账户"},Tx={doNotRemind24h:"我已知晓"},Ix={enterUsername:"请输入用户名",usernameLength:"用户名长度应为 2 到 30 个字符",enterPassword:"请输入密码",passwordLength:"密码长度应为 6 到 30 个字符",enterEmail:"请输入邮箱地址",enterPhone:"请输入手机号码",enterEmailOrPhone:"请输入邮箱地址或手机号码",emailValid:"请输入正确的邮箱地址",enterCaptcha:"请填写图形验证码",emailPhone:"邮箱 / 手机号",email:"邮箱",phone:"手机号",registrationSuccess:"账户注册成功、开始体验吧!",loginSuccess:"账户登录成功、开始体验吧!",registerTitle:"注册",enterContact:"请填写您的",enterCode:"请填写验证码",sendVerificationCode:"发送验证码",optionalInvitationCode:"邀请码[非必填]",registerAccount:"注册账户",alreadyHaveAccount:"已经有帐号?",goToLogin:"去登录",password:"密码",enterYourPassword:"请输入您的账户密码",rememberAccount:"记住帐号",forgotPassword:"忘记密码?",loginAccount:"登录账户",noAccount:"还没有帐号?",register:"去注册",orUse:"或使用",scanLogin:"扫码登录",wechatLogin:"微信登录",wechatScanFailed:"不使用微信扫码登录?试试",useWechatScan:"使用微信扫码登录"},Lx={orderAmount:"订单金额",productType:"商品类型",status:"状态",commissionRate:"佣金比例",commission:"佣金",orderTime:"订购时间",purchasePackage:"购买套餐",accounted:"已入账",generateInviteCodeSuccess:"生成邀请码成功",withdrawalTime:"提现时间",withdrawalAmount:"提现金额",withdrawalChannel:"提现渠道",withdrawalStatus:"提现状态",withdrawalRemarks:"提现备注",auditor:"审核人",alipay:"支付宝",wechat:"微信",paid:"已打款",rejected:"被拒绝",inReview:"审核中",avatar:"头像",username:"用户名",email:"邮箱",inviteeStatus:"受邀人状态",registered:"已注册",pendingActivation:"待激活",registrationTime:"注册时间",lastLogin:"最后登录",requestInviteCodeFirst:"请先申请你的邀请码",linkCopiedSuccess:"复制推荐链接成功",title:"推介计划",description:"加入我们,共享成功!欢迎来到我们的分销页面,成为我们的合作伙伴,一同开创美好未来!",defaultSalesOutletName:"新秀推荐官",myReferrals:"我的推介",currencyUnit:"元",remainingAmount:"剩余可提金额",withdrawingAmount:"提现中金额",withdrawNow:"立即提现",minimumWithdrawalPrefix:"最低",minimumWithdrawalSuffix:"元可提现",purchaseOrderCount:"购买订单数量",promotionLinkVisits:"推广链接访问次数",registeredUsers:"注册用户",referralEarnings:"推介收益",referralEarningsDescription:"推介的用户注册购买产品后返佣金额",percentage:"百分比",applyForAdvancedAgent:"申请成为高级代理",contactAdminForAdvancedAgent:"联系站长申请高级代理可享超高返佣",joinAsPartner:"加入我们成为合伙人",partnerDescription:"加入我们成为合伙人共同运营社区、合作双赢!",winTogether:"合作共赢,携手共进",referralLink:"推荐链接:",apply:"申请",referralRecordsTab:"推介记录",withdrawalRecordsTab:"提现记录",registeredUsersTab:"注册用户",inviteFriends:"邀好友、赠套餐卡密、享充值返佣!",inviteLink:"邀请链接",copy:"复制",inviteBenefits1:"邀请好友双方都可享受一定额度的永久次卡奖励",inviteBenefits2Prefix:"邀请好友充值,您可获得充值金额的",inviteBenefits2Suffix:"%返佣",enterWithdrawalAmount:"请填写你的提款金额!",selectWithdrawalChannel:"请选择你的提款渠道!",enterContactInfo:"请填写您的联系方式并备注!",optionalRemark:"如有特殊情况、请备注说明!",withdrawalSuccess:"申请提现成功、请耐心等待审核!",withdrawalApplicationForm:"提款申请表",contactInformation:"联系方式",withdrawalRemark:"提款备注",enterWithdrawalRemark:"请填写你的提款备注!",applyWithdrawal:"申 请 提 现"},Rx={purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotSuccessful:"您还没有支付成功哟!",orderConfirmationTitle:"订单确认",orderConfirmationContent:"欢迎选购、确定购买",thinkAgain:"我再想想",confirmPurchase:"确认购买",paymentNotEnabled:"管理员还未开启支付!",selectProducts:"选购商品",basicModelQuota:"基础积分",advancedModelQuota:"高级积分",drawingQuota:"绘画积分",buyPackage:"购买套餐"},Nx={1:"注册赠送",2:"受邀请赠送",3:"邀请他人赠送",4:"购买卡密充值",5:"管理员赠送",6:"扫码购买充值",7:"MJ绘画失败退款",8:"签到奖励"},Ox={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},Mx={logoutSuccess:"登出账户成功!"},Ux={language:bx,common:Cx,chat:_x,app:yx,setting:Ax,store:Sx,draw:Dx,pay:Bx,mindmap:Fx,usercenter:Px,siderBar:kx,notice:Tx,login:Ix,share:Lx,goods:Rx,rechargeTypes:Nx,orderStatus:Ox,messages:Mx};fu();localStorage.getItem("appLanguage");const Hx="zh-CN",w0=$h({locale:Hx,fallbackLocale:"en-US",allowComposition:!0,messages:{"en-US":Ex,"zh-CN":Ux}}),Rm=w0.global.t;function Wx(e){e.use(w0)}function jx(){const e=Ss(),t=pc(),r=ve(()=>e.theme==="auto"?t.value==="dark":e.theme==="dark"),n=ve(()=>r.value?nr:void 0),o=ve(()=>r.value?{common:{}}:{common:{primaryColor:"#409eff"}}),a={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF",baseColor:"#ffffff"},Switch:{railColorActive:"#5A91FCFF"},Layout:{}},i={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF"},Skeleton:{color:"#F4F3F3FF",colorEnd:"#F1F0F0FF"},Layout:{}};return St(()=>r.value,l=>{l?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},{immediate:!0}),{theme:n,themeOverrides:o,lightThemeOverrides:i,darkThemeOverrides:a}}var A0={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(re,function(){return function(r){var n={};function o(a){if(n[a])return n[a].exports;var i=n[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=r,o.c=n,o.d=function(a,i,l){o.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:l})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,i){if(1&i&&(a=o(a)),8&i||4&i&&typeof a=="object"&&a&&a.__esModule)return a;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:a}),2&i&&typeof a!="string")for(var f in a)o.d(l,f,(function(c){return a[c]}).bind(null,f));return l},o.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(i,"a",i),i},o.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},o.p="",o(o.s=0)}([function(r,n,o){var a,i,l=o(1)(),f=o(3),c=o(4),u=o(6),h=function(){var s=new c;return a=s.getResult(),i=new u,this};h.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return a},getFingerprint:function(){var s="|",d=a.ua,x=this.getScreenPrint(),p=this.getPlugins(),m=this.getFonts(),E=this.isLocalStorage(),g=this.isSessionStorage(),v=this.getTimeZone(),b=this.getLanguage(),y=this.getSystemLanguage(),_=this.isCookie(),A=this.getCanvasPrint();return f(d+s+x+s+p+s+m+s+E+s+g+s+v+s+b+s+y+s+_+s+A,256)},getCustomFingerprint:function(){for(var s="|",d="",x=0;x>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295)<<13|c>>>19))+((5*(c>>>16)&65535)<<16)&4294967295))+((58964+(u>>>16)&65535)<<16);switch(d=0,l){case 3:d^=(255&a.charCodeAt(x+2))<<16;case 2:d^=(255&a.charCodeAt(x+1))<<8;case 1:c^=d=(65535&(d=(d=(65535&(d^=255&a.charCodeAt(x)))*h+(((d>>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295}return c^=a.length,c=2246822507*(65535&(c^=c>>>16))+((2246822507*(c>>>16)&65535)<<16)&4294967295,c=3266489909*(65535&(c^=c>>>13))+((3266489909*(c>>>16)&65535)<<16)&4294967295,(c^=c>>>16)>>>0}},function(r,n,o){var a;(function(i,l){var f="function",c="undefined",u="object",h="string",s="model",d="name",x="type",p="vendor",m="version",E="architecture",g="console",v="mobile",b="tablet",y="smarttv",_="wearable",A="embedded",D="Amazon",B="Apple",S="ASUS",P="BlackBerry",k="Firefox",I="Google",K="Huawei",Y="LG",q="Microsoft",se="Motorola",oe="Opera",ce="Samsung",ae="Sony",L="Xiaomi",U="Zebra",W="Facebook",N=function(F){var H={};for(var j in F)H[F[j].toUpperCase()]=F[j];return H},ue=function(F,H){return typeof F===h&&te(H).indexOf(te(F))!==-1},te=function(F){return F.toLowerCase()},T=function(F,H){if(typeof F===h)return F=F.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof H===c?F:F.substring(0,255)},O=function(F,H){for(var j,J,X,Q,ye,he,Te=0;Te0?Q.length==2?typeof Q[1]==f?this[Q[0]]=Q[1].call(this,he):this[Q[0]]=Q[1]:Q.length==3?typeof Q[1]!==f||Q[1].exec&&Q[1].test?this[Q[0]]=he?he.replace(Q[1],Q[2]):l:this[Q[0]]=he?Q[1].call(this,he,Q[2]):l:Q.length==4&&(this[Q[0]]=he?Q[3].call(this,he.replace(Q[1],Q[2])):l):this[Q]=he||l;Te+=2}},$=function(F,H){for(var j in H)if(typeof H[j]===u&&H[j].length>0){for(var J=0;J255?T(X,255):X,this},this.setUA(j),this};ee.VERSION="0.7.30",ee.BROWSER=N([d,m,"major"]),ee.CPU=N([E]),ee.DEVICE=N([s,p,x,g,v,y,b,_,A]),ee.ENGINE=ee.OS=N([d,m]),typeof n!==c?(typeof r!==c&&r.exports&&(n=r.exports=ee),n.UAParser=ee):o(5)?(a=(function(){return ee}).call(n,o,n,r))===l||(r.exports=a):typeof i!==c&&(i.UAParser=ee);var w=typeof i!==c&&(i.jQuery||i.Zepto);if(w&&!w.ua){var C=new ee;w.ua=C.getResult(),w.ua.get=function(){return C.getUA()},w.ua.set=function(F){C.setUA(F);var H=C.getResult();for(var j in H)w.ua[j]=H[j]}}})(typeof window=="object"?window:this)},function(r,n){(function(o){r.exports=o}).call(this,{})},function(r,n){r.exports=function(){var o=["monospace","sans-serif","serif"],a=document.getElementsByTagName("body")[0],i=document.createElement("span");i.style.fontSize="72px",i.innerHTML="mmmmmmmmmmlli";var l={},f={};for(var c in o)i.style.fontFamily=o[c],a.appendChild(i),l[o[c]]=i.offsetWidth,f[o[c]]=i.offsetHeight,a.removeChild(i);this.detect=function(u){var h=!1;for(var s in o){i.style.fontFamily=u+","+o[s],a.appendChild(i);var d=i.offsetWidth!=l[o[s]]||i.offsetHeight!=f[o[s]];a.removeChild(i),h=h||d}return h}}}])})})(A0);var Gx=A0.exports;/*!
    +  * vue-router v4.3.0
    +  * (c) 2024 Eduardo San Martin Morote
    +  * @license MIT
    +  */const yt=typeof document<"u";function $x(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Dn(e,t){const r={};for(const n in t){const o=t[n];r[n]=$e(o)?o.map(e):e(o)}return r}const Wt=()=>{},$e=Array.isArray,S0=/#/g,Vx=/&/g,qx=/\//g,zx=/=/g,Kx=/\?/g,D0=/\+/g,Yx=/%5B/g,Xx=/%5D/g,B0=/%5E/g,Qx=/%60/g,F0=/%7B/g,Jx=/%7C/g,P0=/%7D/g,Zx=/%20/g;function ka(e){return encodeURI(""+e).replace(Jx,"|").replace(Yx,"[").replace(Xx,"]")}function ep(e){return ka(e).replace(F0,"{").replace(P0,"}").replace(B0,"^")}function ra(e){return ka(e).replace(D0,"%2B").replace(Zx,"+").replace(S0,"%23").replace(Vx,"%26").replace(Qx,"`").replace(F0,"{").replace(P0,"}").replace(B0,"^")}function tp(e){return ra(e).replace(zx,"%3D")}function rp(e){return ka(e).replace(S0,"%23").replace(Kx,"%3F")}function np(e){return e==null?"":rp(e).replace(qx,"%2F")}function Qt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ap=/\/$/,op=e=>e.replace(ap,"");function Bn(e,t,r="/"){let n,o={},a="",i="";const l=t.indexOf("#");let f=t.indexOf("?");return l=0&&(f=-1),f>-1&&(n=t.slice(0,f),a=t.slice(f+1,l>-1?l:t.length),o=e(a)),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),n=lp(n??t,r),{fullPath:n+(a&&"?")+a+i,path:n,query:o,hash:Qt(i)}}function ip(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function ki(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sp(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&kt(t.matched[n],r.matched[o])&&k0(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function kt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function k0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!cp(e[r],t[r]))return!1;return!0}function cp(e,t){return $e(e)?Ti(e,t):$e(t)?Ti(t,e):e===t}function Ti(e,t){return $e(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function lp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let a=r.length-1,i,l;for(i=0;i1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(i).join("/")}var Jt;(function(e){e.pop="pop",e.push="push"})(Jt||(Jt={}));var jt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jt||(jt={}));function up(e){if(!e)if(yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),op(e)}const fp=/^[^#]+#/;function dp(e,t){return e.replace(fp,"#")+t}function hp(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Pr=()=>({left:window.scrollX,top:window.scrollY});function xp(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=hp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ii(e,t){return(history.state?history.state.position-t:-1)+e}const na=new Map;function pp(e,t){na.set(e,t)}function mp(e){const t=na.get(e);return na.delete(e),t}let gp=()=>location.protocol+"//"+location.host;function T0(e,t){const{pathname:r,search:n,hash:o}=t,a=e.indexOf("#");if(a>-1){let l=o.includes(e.slice(a))?e.slice(a).length:1,f=o.slice(l);return f[0]!=="/"&&(f="/"+f),ki(f,"")}return ki(r,e)+n+o}function vp(e,t,r,n){let o=[],a=[],i=null;const l=({state:s})=>{const d=T0(e,location),x=r.value,p=t.value;let m=0;if(s){if(r.value=d,t.value=s,i&&i===x){i=null;return}m=p?s.position-p.position:0}else n(d);o.forEach(E=>{E(r.value,x,{delta:m,type:Jt.pop,direction:m?m>0?jt.forward:jt.back:jt.unknown})})};function f(){i=r.value}function c(s){o.push(s);const d=()=>{const x=o.indexOf(s);x>-1&&o.splice(x,1)};return a.push(d),d}function u(){const{history:s}=window;s.state&&s.replaceState(me({},s.state,{scroll:Pr()}),"")}function h(){for(const s of a)s();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:f,listen:c,destroy:h}}function Li(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?Pr():null}}function Ep(e){const{history:t,location:r}=window,n={value:T0(e,r)},o={value:t.state};o.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(f,c,u){const h=e.indexOf("#"),s=h>-1?(r.host&&document.querySelector("base")?e:e.slice(h))+f:gp()+e+f;try{t[u?"replaceState":"pushState"](c,"",s),o.value=c}catch(d){console.error(d),r[u?"replace":"assign"](s)}}function i(f,c){const u=me({},t.state,Li(o.value.back,f,o.value.forward,!0),c,{position:o.value.position});a(f,u,!0),n.value=f}function l(f,c){const u=me({},o.value,t.state,{forward:f,scroll:Pr()});a(u.current,u,!0);const h=me({},Li(n.value,f,null),{position:u.position+1},c);a(f,h,!1),n.value=f}return{location:n,state:o,push:l,replace:i}}function bp(e){e=up(e);const t=Ep(e),r=vp(e,t.state,t.location,t.replace);function n(a,i=!0){i||r.pauseListeners(),history.go(a)}const o=me({location:"",base:e,go:n,createHref:dp.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Cp(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),bp(e)}function _p(e){return typeof e=="string"||e&&typeof e=="object"}function I0(e){return typeof e=="string"||typeof e=="symbol"}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},L0=Symbol("");var Ri;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ri||(Ri={}));function Tt(e,t){return me(new Error,{type:e,[L0]:!0},t)}function Je(e,t){return e instanceof Error&&L0 in e&&(t==null||!!(e.type&t))}const Ni="[^/]+?",yp={sensitive:!1,strict:!1,start:!0,end:!0},wp=/[.+*?^${}()[\]/\\]/g;function Ap(e,t){const r=me({},yp,t),n=[];let o=r.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];r.strict&&!c.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Dp(e,t){let r=0;const n=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const Bp={type:0,value:""},Fp=/[a-zA-Z0-9_]/;function Pp(e){if(!e)return[[]];if(e==="/")return[[Bp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${r})/"${c}": ${d}`)}let r=0,n=r;const o=[];let a;function i(){a&&o.push(a),a=[]}let l=0,f,c="",u="";function h(){c&&(r===0?a.push({type:0,value:c}):r===1||r===2||r===3?(a.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),c="")}function s(){c+=f}for(;l{i(g)}:Wt}function i(u){if(I0(u)){const h=n.get(u);h&&(n.delete(u),r.splice(r.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=r.indexOf(u);h>-1&&(r.splice(h,1),u.record.name&&n.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return r}function f(u){let h=0;for(;h=0&&(u.record.path!==r[h].record.path||!R0(u,r[h]));)h++;r.splice(h,0,u),u.record.name&&!Ui(u)&&n.set(u.record.name,u)}function c(u,h){let s,d={},x,p;if("name"in u&&u.name){if(s=n.get(u.name),!s)throw Tt(1,{location:u});p=s.record.name,d=me(Mi(h.params,s.keys.filter(g=>!g.optional).concat(s.parent?s.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Mi(u.params,s.keys.map(g=>g.name))),x=s.stringify(d)}else if(u.path!=null)x=u.path,s=r.find(g=>g.re.test(x)),s&&(d=s.parse(x),p=s.record.name);else{if(s=h.name?n.get(h.name):r.find(g=>g.re.test(h.path)),!s)throw Tt(1,{location:u,currentLocation:h});p=s.record.name,d=me({},h.params,u.params),x=s.stringify(d)}const m=[];let E=s;for(;E;)m.unshift(E.record),E=E.parent;return{name:p,path:x,params:d,matched:m,meta:Rp(m)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function Mi(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Ip(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Lp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Lp(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function Ui(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rp(e){return e.reduce((t,r)=>me(t,r.meta),{})}function Hi(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function R0(e,t){return t.children.some(r=>r===e||R0(e,r))}function Np(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&ra(a)):[n&&ra(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function Op(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=$e(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const Mp=Symbol(""),ji=Symbol(""),kr=Symbol(""),Ta=Symbol(""),aa=Symbol("");function Mt(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function lt(e,t,r,n,o,a=i=>i()){const i=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,f)=>{const c=s=>{s===!1?f(Tt(4,{from:r,to:t})):s instanceof Error?f(s):_p(s)?f(Tt(2,{from:t,to:s})):(i&&n.enterCallbacks[o]===i&&typeof s=="function"&&i.push(s),l())},u=a(()=>e.call(n&&n.instances[o],t,r,c));let h=Promise.resolve(u);e.length<3&&(h=h.then(c)),h.catch(s=>f(s))})}function Fn(e,t,r,n,o=a=>a()){const a=[];for(const i of e)for(const l in i.components){let f=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Up(f)){const u=(f.__vccOpts||f)[t];u&&a.push(lt(u,r,n,i,l,o))}else{let c=f();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=$x(u)?u.default:u;i.components[l]=h;const d=(h.__vccOpts||h)[t];return d&<(d,r,n,i,l,o)()}))}}return a}function Up(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Gi(e){const t=nt(kr),r=nt(Ta),n=ve(()=>t.resolve(Re(e.to))),o=ve(()=>{const{matched:f}=n.value,{length:c}=f,u=f[c-1],h=r.matched;if(!u||!h.length)return-1;const s=h.findIndex(kt.bind(null,u));if(s>-1)return s;const d=$i(f[c-2]);return c>1&&$i(u)===d&&h[h.length-1].path!==d?h.findIndex(kt.bind(null,f[c-2])):s}),a=ve(()=>o.value>-1&&Gp(r.params,n.value.params)),i=ve(()=>o.value>-1&&o.value===r.matched.length-1&&k0(r.params,n.value.params));function l(f={}){return jp(f)?t[Re(e.replace)?"replace":"push"](Re(e.to)).catch(Wt):Promise.resolve()}return{route:n,href:ve(()=>n.value.href),isActive:a,isExactActive:i,navigate:l}}const Hp=rt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Gi,setup(e,{slots:t}){const r=Xi(Gi(e)),{options:n}=nt(kr),o=ve(()=>({[Vi(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Vi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:mt("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},a)}}}),Wp=Hp;function jp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Gp(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!$e(o)||o.length!==n.length||n.some((a,i)=>a!==o[i]))return!1}return!0}function $i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vi=(e,t,r)=>e??t??r,$p=rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=nt(aa),o=ve(()=>e.route||n.value),a=nt(ji,0),i=ve(()=>{let c=Re(a);const{matched:u}=o.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),l=ve(()=>o.value.matched[i.value]);Lr(ji,ve(()=>i.value+1)),Lr(Mp,l),Lr(aa,o);const f=Ze();return St(()=>[f.value,l.value,e.name],([c,u,h],[s,d,x])=>{u&&(u.instances[h]=c,d&&d!==u&&c&&c===s&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!kt(u,d)||!s)&&(u.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,h=l.value,s=h&&h.components[u];if(!s)return qi(r.default,{Component:s,route:c});const d=h.props[u],x=d?d===!0?c.params:typeof d=="function"?d(c):d:null,m=mt(s,me({},x,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:f}));return qi(r.default,{Component:m,route:c})||m}}});function qi(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Vp=$p;function qp(e){const t=Tp(e.routes,e),r=e.parseQuery||Np,n=e.stringifyQuery||Wi,o=e.history,a=Mt(),i=Mt(),l=Mt(),f=sa(st);let c=st;yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Dn.bind(null,T=>""+T),h=Dn.bind(null,np),s=Dn.bind(null,Qt);function d(T,O){let $,z;return I0(T)?($=t.getRecordMatcher(T),z=O):z=T,t.addRoute(z,$)}function x(T){const O=t.getRecordMatcher(T);O&&t.removeRoute(O)}function p(){return t.getRoutes().map(T=>T.record)}function m(T){return!!t.getRecordMatcher(T)}function E(T,O){if(O=me({},O||f.value),typeof T=="string"){const C=Bn(r,T,O.path),F=t.resolve({path:C.path},O),H=o.createHref(C.fullPath);return me(C,F,{params:s(F.params),hash:Qt(C.hash),redirectedFrom:void 0,href:H})}let $;if(T.path!=null)$=me({},T,{path:Bn(r,T.path,O.path).path});else{const C=me({},T.params);for(const F in C)C[F]==null&&delete C[F];$=me({},T,{params:h(C)}),O.params=h(O.params)}const z=t.resolve($,O),ie=T.hash||"";z.params=u(s(z.params));const ee=ip(n,me({},T,{hash:ep(ie),path:z.path})),w=o.createHref(ee);return me({fullPath:ee,hash:ie,query:n===Wi?Op(T.query):T.query||{}},z,{redirectedFrom:void 0,href:w})}function g(T){return typeof T=="string"?Bn(r,T,f.value.path):me({},T)}function v(T,O){if(c!==T)return Tt(8,{from:O,to:T})}function b(T){return A(T)}function y(T){return b(me(g(T),{replace:!0}))}function _(T){const O=T.matched[T.matched.length-1];if(O&&O.redirect){const{redirect:$}=O;let z=typeof $=="function"?$(T):$;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=g(z):{path:z},z.params={}),me({query:T.query,hash:T.hash,params:z.path!=null?{}:T.params},z)}}function A(T,O){const $=c=E(T),z=f.value,ie=T.state,ee=T.force,w=T.replace===!0,C=_($);if(C)return A(me(g(C),{state:typeof C=="object"?me({},ie,C.state):ie,force:ee,replace:w}),O||$);const F=$;F.redirectedFrom=O;let H;return!ee&&sp(n,z,$)&&(H=Tt(16,{to:F,from:z}),L(z,z,!0,!1)),(H?Promise.resolve(H):S(F,z)).catch(j=>Je(j)?Je(j,2)?j:ae(j):oe(j,F,z)).then(j=>{if(j){if(Je(j,2))return A(me({replace:w},g(j.to),{state:typeof j.to=="object"?me({},ie,j.to.state):ie,force:ee}),O||F)}else j=k(F,z,!0,w,ie);return P(F,z,j),j})}function D(T,O){const $=v(T,O);return $?Promise.reject($):Promise.resolve()}function B(T){const O=N.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(T):T()}function S(T,O){let $;const[z,ie,ee]=zp(T,O);$=Fn(z.reverse(),"beforeRouteLeave",T,O);for(const C of z)C.leaveGuards.forEach(F=>{$.push(lt(F,T,O))});const w=D.bind(null,T,O);return $.push(w),te($).then(()=>{$=[];for(const C of a.list())$.push(lt(C,T,O));return $.push(w),te($)}).then(()=>{$=Fn(ie,"beforeRouteUpdate",T,O);for(const C of ie)C.updateGuards.forEach(F=>{$.push(lt(F,T,O))});return $.push(w),te($)}).then(()=>{$=[];for(const C of ee)if(C.beforeEnter)if($e(C.beforeEnter))for(const F of C.beforeEnter)$.push(lt(F,T,O));else $.push(lt(C.beforeEnter,T,O));return $.push(w),te($)}).then(()=>(T.matched.forEach(C=>C.enterCallbacks={}),$=Fn(ee,"beforeRouteEnter",T,O,B),$.push(w),te($))).then(()=>{$=[];for(const C of i.list())$.push(lt(C,T,O));return $.push(w),te($)}).catch(C=>Je(C,8)?C:Promise.reject(C))}function P(T,O,$){l.list().forEach(z=>B(()=>z(T,O,$)))}function k(T,O,$,z,ie){const ee=v(T,O);if(ee)return ee;const w=O===st,C=yt?history.state:{};$&&(z||w?o.replace(T.fullPath,me({scroll:w&&C&&C.scroll},ie)):o.push(T.fullPath,ie)),f.value=T,L(T,O,$,w),ae()}let I;function K(){I||(I=o.listen((T,O,$)=>{if(!ue.listening)return;const z=E(T),ie=_(z);if(ie){A(me(ie,{replace:!0}),z).catch(Wt);return}c=z;const ee=f.value;yt&&pp(Ii(ee.fullPath,$.delta),Pr()),S(z,ee).catch(w=>Je(w,12)?w:Je(w,2)?(A(w.to,z).then(C=>{Je(C,20)&&!$.delta&&$.type===Jt.pop&&o.go(-1,!1)}).catch(Wt),Promise.reject()):($.delta&&o.go(-$.delta,!1),oe(w,z,ee))).then(w=>{w=w||k(z,ee,!1),w&&($.delta&&!Je(w,8)?o.go(-$.delta,!1):$.type===Jt.pop&&Je(w,20)&&o.go(-1,!1)),P(z,ee,w)}).catch(Wt)}))}let Y=Mt(),q=Mt(),se;function oe(T,O,$){ae(T);const z=q.list();return z.length?z.forEach(ie=>ie(T,O,$)):console.error(T),Promise.reject(T)}function ce(){return se&&f.value!==st?Promise.resolve():new Promise((T,O)=>{Y.add([T,O])})}function ae(T){return se||(se=!T,K(),Y.list().forEach(([O,$])=>T?$(T):O()),Y.reset()),T}function L(T,O,$,z){const{scrollBehavior:ie}=e;if(!yt||!ie)return Promise.resolve();const ee=!$&&mp(Ii(T.fullPath,0))||(z||!$)&&history.state&&history.state.scroll||null;return Ji().then(()=>ie(T,O,ee)).then(w=>w&&xp(w)).catch(w=>oe(w,T,O))}const U=T=>o.go(T);let W;const N=new Set,ue={currentRoute:f,listening:!0,addRoute:d,removeRoute:x,hasRoute:m,getRoutes:p,resolve:E,options:e,push:b,replace:y,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:a.add,beforeResolve:i.add,afterEach:l.add,onError:q.add,isReady:ce,install(T){const O=this;T.component("RouterLink",Wp),T.component("RouterView",Vp),T.config.globalProperties.$router=O,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Re(f)}),yt&&!W&&f.value===st&&(W=!0,b(o.location).catch(ie=>{}));const $={};for(const ie in st)Object.defineProperty($,ie,{get:()=>f.value[ie],enumerable:!0});T.provide(kr,O),T.provide(Ta,rc($)),T.provide(aa,f);const z=T.unmount;N.add(T),T.unmount=function(){N.delete(T),N.size<1&&(c=st,I&&I(),I=null,f.value=st,W=!1,se=!1),z()}}};function te(T){return T.reduce((O,$)=>O.then(()=>B($)),Promise.resolve())}return ue}function zp(e,t){const r=[],n=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;ikt(c,l))?n.push(l):r.push(l));const f=e.matched[i];f&&(t.matched.find(c=>kt(c,f))||o.push(f))}return[r,n,o]}function Kp(){return nt(kr)}function Nm(){return nt(Ta)}const Yp=rt({__name:"App",setup(e){const t=new Gx.ClientJS,r=Ys(),n=t.getFingerprint(),o=Kt(),a=Zf(),i=Kp();a.updateFingerprint(n);const{theme:l,lightThemeOverrides:f,darkThemeOverrides:c}=jx(),u=ve(()=>{var v;return(v=o.globalConfig)==null?void 0:v.clientHomePath}),h=ve(()=>{var v;return((v=o.globalConfig)==null?void 0:v.clientFavoIconPath)||_c}),s=ve(()=>{var v;return Number((v=o.globalConfig)==null?void 0:v.isAutoOpenNotice)===1});async function d(){var _;const v=((_=o.globalConfig)==null?void 0:_.baiduCode)||"";if(!v)return;const b=document.createElement("script"),y=v.replace(/([\s\S]*?)<\/script>/gi,"$1");b.innerHTML=y,document.head.appendChild(b)}function x(){var v;document.title=((v=o.globalConfig)==null?void 0:v.siteName)||"AI"}const p=ve(()=>l.value?c:f);function m(){u.value&&i.push(u.value)}function E(){const v=Be.get("showNotice");(!v&&s.value||Date.now()>Number(v)&&s.value)&&a.updateNoticeDialog(!0)}const g=document.createElement("link");return g.rel="shortcut icon",g.href=h.value,document.getElementsByTagName("head")[0].appendChild(g),Zi(async()=>{m(),await r.getBaseModelConfig(),d(),x(),E()}),(v,b)=>{const y=nc("RouterView");return zi(),Ki(Re(gc),{class:"h-full",theme:Re(l),"theme-overrides":p.value,locale:v.language,"date-locale":Re(mc),"preflight-style-disabled":""},{default:wt(()=>[ut(Re(yc),null,{default:wt(()=>[ut(y)]),_:1}),ut(Re(vc))]),_:1},8,["theme","theme-overrides","locale","date-locale"])}}});function Xp(){const e=document.createElement("meta");e.name="naive-ui-style",document.head.appendChild(e)}function Qp(){Xp()}const Jp=()=>{var r,n,o,a,i,l;const e=document.createElement("style"),t=`
    +    ::-webkit-scrollbar {
    +      background-color: transparent;
    +      width: ${(r=Rr.Scrollbar.common)==null?void 0:r.scrollbarWidth};
    +    }
    +    ::-webkit-scrollbar-thumb {
    +      background-color: ${(n=Rr.Scrollbar.common)==null?void 0:n.scrollbarColor};
    +      border-radius: ${(o=Rr.Scrollbar.common)==null?void 0:o.scrollbarBorderRadius};
    +    }
    +    html.dark ::-webkit-scrollbar {
    +      background-color: transparent;
    +      width: ${(a=nr.Scrollbar.common)==null?void 0:a.scrollbarWidth};
    +    }
    +    html.dark ::-webkit-scrollbar-thumb {
    +      background-color: ${(i=nr.Scrollbar.common)==null?void 0:i.scrollbarColor};
    +      border-radius: ${(l=nr.Scrollbar.common)==null?void 0:l.scrollbarBorderRadius};
    +    }
    +  `;e.innerHTML=t,document.head.appendChild(e)};function Om(){return ge({url:"/user/genInviteCode"})}function Mm(e){return we({url:"/user/inviteRecord",data:e})}function Um(e){return ge({url:"/official/getQRSceneStr",data:e})}function Hm(e){return we({url:"/official/getQRCode",data:e})}function Wm(e){return ge({url:"/official/loginBySceneStr",data:e})}function jm(e){return ge({url:"/official/loginByCode",data:e})}function Gm(e){return ge({url:"/official/getJsapiTicket",data:e})}function $m(){return ge({url:"/official/getQRSceneStrByBind"})}function Vm(e){return ge({url:"/official/bindWxBySceneStr",data:e})}function qm(e){return ge({url:"/official/getRedirectUrl",data:e})}function Zp(e){return we({url:"/user/inviteLink",data:e})}function em(e){e.beforeEach(async(t,r,n)=>{var i,l;const{inVitecode:o}=t.query;o&&Be.set("invitedBy",o),o&&(await Zp({code:o}),e.replace({path:t.path,query:{}})),(i=window.$loadingBar)==null||i.start();const a=Jf();if(a.userInfo.username){const f=(l=a.globalConfig)==null?void 0:l.clientMenuList,c=f?JSON.parse(f):[];c.length&&!c.includes(t.name)&&["Chat","Draw","Midjourney"].includes(t.name)&&(a.globalConfig.clientHomePath&&a.globalConfig.clientHomePath!==""?n({path:a.globalConfig.clientHomePath}):n()),n()}else try{if(a.token&&await a.getUserInfo(),a.globalConfigLoading){let f=`${window.location.protocol}//${window.location.hostname}`;window.location.port&&(f+=`:${window.location.port}`),await a.getglobalConfig(f),a.globalConfig.clientHomePath?n({path:a.globalConfig.clientHomePath}):n()}t.path==="/500"?n({path:"/"}):n()}catch{t.path==="/500"?n({path:"/"}):n()}}),e.afterEach(t=>{var r;(r=window.$loadingBar)==null||r.finish()})}const tm=[{path:"/",name:"Layout",component:()=>Ie(()=>import("./index-79113eb4.js"),["./index-79113eb4.js","./index-03531f8f.js","./vue-10b4afc0.js","./vueuse-motion-d4cdaf7b.js","./_plugin-vue_export-helper-c27b6911.js","./index-adb9f39f.css","./naive-ui-fedd20b1.js","./crami-99ee44eb.js","./order-8be5c617.js","./useBasicLayout-a4f17bae.js","./Close-d2230b2f.js","./menu-19bde8fc.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index-f18c0167.css"],import.meta.url),redirect:"/chat",children:[{path:"/market",name:"Market",component:()=>Ie(()=>import("./index-e889edd8.js"),["./index-e889edd8.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index-c94da121.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-15e7de77.css"],import.meta.url)},{path:"/midjourney",name:"Midjourney",component:()=>Ie(()=>import("./index-20a35e72.js"),["./index-20a35e72.js","./vue-10b4afc0.js","./_plugin-vue_export-helper-c27b6911.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-2d428f7b.css"],import.meta.url)},{path:"/chat",name:"Chat",component:()=>Ie(()=>import("./chat-ba97c867.js"),["./chat-ba97c867.js","./useBasicLayout-a4f17bae.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index-b71062e6.js","./menu-19bde8fc.js","./Close-d2230b2f.js","./_plugin-vue_export-helper-c27b6911.js","./index-c94da121.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vueuse-motion-d4cdaf7b.js","./chat-8fd922b8.css"],import.meta.url)},{path:"chatStore",name:"ChatStore",component:()=>Ie(()=>import("./chatStore-067dd921.js"),["./chatStore-067dd921.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./menu-19bde8fc.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./chatStore-f68b3e01.css"],import.meta.url)},{path:"user-center",name:"UserCenter",component:()=>Ie(()=>import("./index-648ab71e.js"),["./index-648ab71e.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./useBasicLayout-a4f17bae.js","./crami-99ee44eb.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"app-store",name:"AppStore",component:()=>Ie(()=>import("./chatStore-067dd921.js"),["./chatStore-067dd921.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./menu-19bde8fc.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./chatStore-f68b3e01.css"],import.meta.url)},{path:"pay",name:"Pay",component:()=>Ie(()=>import("./index-7b15fb79.js"),["./index-7b15fb79.js","./crami-99ee44eb.js","./order-8be5c617.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./vueuse-motion-d4cdaf7b.js","./index-fed7b4ac.css"],import.meta.url)},{path:"mind",name:"Mind",component:()=>Ie(()=>import("./index-8add68fd.js"),["./index-8add68fd.js","./useBasicLayout-a4f17bae.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index-b71062e6.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"share",name:"Share",component:()=>Ie(()=>import("./index-dd7fbdb4.js"),["./index-dd7fbdb4.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./index-03531f8f.js","./vueuse-motion-d4cdaf7b.js","./_plugin-vue_export-helper-c27b6911.js","./index-adb9f39f.css","./index-c94da121.js","./index-e70b4848.css"],import.meta.url)},{path:"extend",name:"Extend",component:()=>Ie(()=>import("./index-9296b6ea.js"),["./index-9296b6ea.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-da1c3968.css"],import.meta.url)}]},{path:"/404",name:"404",component:()=>Ie(()=>import("./index-96ef26bb.js"),["./index-96ef26bb.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"/500",name:"500",component:()=>Ie(()=>import("./index-215ca0ac.js"),["./index-215ca0ac.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-404bb920.css"],import.meta.url)},{path:"/:pathMatch(.*)*",name:"notFound",redirect:"/404"}],oa=qp({history:Cp(),routes:tm,scrollBehavior:()=>({left:0,top:0})});em(oa);async function rm(e){e.use(oa),await oa.isReady()}console.log=function(){};async function nm(){const e=ac(Yp);e.directive("focus",{mounted(n){n.focus()}}),Qp(),Jp(),od(e),Wx(e),await rm(e);const{default:t}=await Ie(()=>import("./v-viewer-b9217eae.js"),["./v-viewer-b9217eae.js","./vue-10b4afc0.js"],import.meta.url);e.use(t);const{MotionPlugin:r}=await Ie(()=>import("./vueuse-motion-d4cdaf7b.js").then(n=>n.b),["./vueuse-motion-d4cdaf7b.js","./vue-10b4afc0.js"],import.meta.url);e.use(r),e.mount("#app")}nm();export{sm as $,Pf as A,Dm as B,Am as C,wm as D,Sm as E,ym as F,mm as G,hm as H,fm as I,Rf as J,cm as K,oa as L,pm as M,xm as N,um as O,dm as P,lm as Q,Wp as R,Mm as S,Om as T,bm as U,km as V,Tm as W,Im as X,Em as Y,_m as Z,Ie as _,Kt as a,Cm as a0,Xf as a1,Hm as b,Vm as c,Gm as d,Ss as e,$m as f,Pm as g,vm as h,gm as i,Fm as j,Um as k,Wm as l,we as m,Xs as n,Kp as o,ge as p,Nm as q,Lm as r,Be as s,Rm as t,Zf as u,Pa as v,Ys as w,jm as x,qm as y,Bm as z};
    diff --git a/public/assets/index-d64a7cc4.js.br b/public/assets/index-d64a7cc4.js.br
    new file mode 100644
    index 0000000..8910346
    Binary files /dev/null and b/public/assets/index-d64a7cc4.js.br differ
    diff --git a/public/assets/index-da1c3968.css.br b/public/assets/index-da1c3968.css.br
    new file mode 100644
    index 0000000..c403c9b
    Binary files /dev/null and b/public/assets/index-da1c3968.css.br differ
    diff --git a/public/assets/index-dd7fbdb4.js b/public/assets/index-dd7fbdb4.js
    new file mode 100644
    index 0000000..8212837
    --- /dev/null
    +++ b/public/assets/index-dd7fbdb4.js
    @@ -0,0 +1 @@
    +import{m as ee,p as ke,t,a as Ce,o as Ae,S as Se,T as ze}from"./index-d64a7cc4.js";import{_ as Ie}from"./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{u as Re}from"./useBasicLayout-a4f17bae.js";import{C as fe,Q as Ne}from"./index-03531f8f.js";import{c as $e}from"./index-c94da121.js";import{d as te,S as U,U as L,a3 as a,r as o,V as Me,W as l,M as e,a4 as n,X as r,c as M,e as $,j as X,l as q,f as Ue,a8 as x,a5 as H}from"./vue-10b4afc0.js";import{e as pe,q as me,r as J,U as F,O as Pe,M as je,K as Z,z as Be,C as Te,L as C,S as qe,_ as Fe,I as Le,Y as Oe,X as K,T as Y,$ as De,a0 as he}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";import"./_plugin-vue_export-helper-c27b6911.js";const Ve={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},We=a("path",{d:"M336 192h40a40 40 0 0 1 40 40v192a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V232a40 40 0 0 1 40-40h40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Ee=a("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M336 128l-80-80l-80 80"},null,-1),Ge=a("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 321V48"},null,-1),Qe=[We,Ee,Ge],Xe=te({name:"ShareOutline",render:function(d,g){return U(),L("svg",Ve,Qe)}});function He(){return ee({url:"/sales/mineAccount"})}function Ke(v){return ee({url:"/sales/mineRecords",data:v})}function Ye(v){return ee({url:"/sales/drawMoneyOrder",data:v})}function Je(v){return ke({url:"/sales/appForMoney",data:v})}const Ze=""+new URL("badge-4a5770f0.png",import.meta.url).href,et=""+new URL("qianbao-77758046.png",import.meta.url).href,tt={class:"p-5 bg-white rounded dark:bg-slate-800"},at={class:"text-lg"},st={class:"pt-5"},nt=te({__name:"drawMoneyDialog",props:{visible:{type:Boolean}},emits:["close","submit"],setup(v,{emit:d}){const g=d,A=o(null),O=pe(),D=o([{label:t("share.alipay"),value:1},{label:t("share.wechat"),value:2}]),S=()=>({withdrawalAmount:null,withdrawalChannels:null,contactInformation:"",remark:""}),i=o(S()),f=o(!1),W={withdrawalAmount:[{required:!0,message:t("share.enterWithdrawalAmount")}],withdrawalChannels:[{required:!0,message:t("share.selectWithdrawalChannel")}],contactInformation:[{required:!0,message:t("share.enterContactInfo"),trigger:"blur"}],remark:[{required:!1,message:t("share.optionalRemark"),trigger:"blur"}]};function E(){i.value=S()}function P(){var p;(p=A.value)==null||p.validate(async u=>{if(!u)try{f.value=!0;const{withdrawalAmount:h,withdrawalChannels:V,contactInformation:I,remark:R}=i.value;(await Je({withdrawalAmount:h,withdrawalChannels:V,contactInformation:I,remark:R})).success&&(O.success(t("share.withdrawalSuccess")),E(),g("submit"),g("close")),f.value=!1}catch{f.value=!1}})}function _(){}function G(){}function z(){g("close")}return(p,u)=>(U(),Me(e(me),{show:p.visible,style:{width:"90%","max-width":"500px"},"on-after-enter":_,"on-after-leave":G},{default:l(()=>[a("div",tt,[a("span",at,n(e(t)("share.withdrawalApplicationForm")),1),a("div",{class:"absolute top-3 right-3 cursor-pointer z-30",onClick:z},[r(e(J),{size:"20",color:"#0e7a0d"},{default:l(()=>[r(e(fe))]),_:1})]),a("div",st,[r(e(Te),{ref_key:"formRef",ref:A,model:i.value,rules:W,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging",style:{maxWidth:"640px"}},{default:l(()=>[r(e(F),{path:"withdrawalAmount",label:e(t)("share.withdrawalAmount")},{default:l(()=>[r(e(Pe),{value:i.value.withdrawalAmount,"onUpdate:value":u[0]||(u[0]=h=>i.value.withdrawalAmount=h),class:"w-full",clearable:"",precision:2,placeholder:e(t)("share.enterWithdrawalAmount")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(F),{path:"withdrawalChannels",label:e(t)("share.withdrawalChannel")},{default:l(()=>[r(e(je),{value:i.value.withdrawalChannels,"onUpdate:value":u[1]||(u[1]=h=>i.value.withdrawalChannels=h),placeholder:e(t)("share.selectWithdrawalChannel"),options:D.value},null,8,["value","placeholder","options"])]),_:1},8,["label"]),r(e(F),{path:"contactInformation",label:e(t)("share.contactInformation")},{default:l(()=>[r(e(Z),{value:i.value.contactInformation,"onUpdate:value":u[2]||(u[2]=h=>i.value.contactInformation=h),type:"textarea",rows:3,placeholder:e(t)("share.enterContactInfo")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(F),{path:"remark",label:e(t)("share.withdrawalRemark")},{default:l(()=>[r(e(Z),{value:i.value.remark,"onUpdate:value":u[3]||(u[3]=h=>i.value.remark=h),type:"textarea",rows:3,placeholder:e(t)("share.enterWithdrawalRemark")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(F),{class:"mt-3"},{default:l(()=>[r(e(Be),{block:"",type:"primary",disabled:f.value,loading:f.value,onClick:P},{default:l(()=>[M(n(e(t)("share.applyWithdrawal")),1)]),_:1},8,["disabled","loading"])]),_:1})]),_:1},8,["model"])])])]),_:1},8,["show"]))}}),rt={class:"min-h-screen bg-white dark:bg-gray-900"},lt={class:"w-full bg-[#f78400] p-6 flex flex-col justify-between rounded shadow-xl relative"},ot={class:"absolute right-4 top-6 font-bold text-base opacity-60 text-[#eee] flex"},it=["src"],ct={class:"text-[#fff] font-bold text-xl"},dt={class:"leading-loose flex justify-between items-center py-5"},ut={class:"text-[#fff]"},ht={class:"font-bold text-4xl"},ft={class:"ml-3"},pt=["src"],mt={class:"flex justify-between text-[#fff] items-center"},vt={class:"flex flex-col"},gt={class:"flex items-end"},_t={class:"font-bold text-xl"},wt={class:"ml-2"},xt={class:"flex flex-col"},bt={class:"flex items-end"},yt={class:"font-bold text-xl"},kt={class:"ml-2"},Ct={class:"flex flex-col bg-[#fff] mt-5 rounded dark:bg-[#24272e] px-2"},At={class:"flex p-4 justify-between border-b dark:border-[#3a3a40]"},St={class:"flex item-center"},zt={class:"ml-2"},It={class:"text-base"},Rt={class:"flex p-4 justify-between border-b dark:border-[#3a3a40]"},Nt={class:"flex item-center"},$t={class:"ml-2"},Mt={class:"text-base"},Ut={class:"flex p-4 justify-between"},Pt={class:"flex item-center"},jt={class:"ml-2"},Bt={class:"text-base"},Tt={class:"flex flex-col bg-[#fff] mt-5 rounded dark:bg-[#24272e] px-2"},qt={class:"py-6 px-4 flex justify-between items-center"},Ft={class:"flex flex-col"},Lt={class:"text-base"},Ot={class:"text-[#999] text-xs mt-2"},Dt={class:"py-6 px-4 flex justify-between items-center"},Vt={class:"flex flex-col"},Wt={class:"text-base"},Et={class:"text-[#999] text-xs mt-2"},Gt={class:"py-6 px-4 flex justify-between items-center"},Qt={class:"flex flex-col"},Xt={class:"text-base"},Ht={class:"text-[#999] text-xs mt-2"},Kt={class:"bg-[#fff] dark:bg-[#24272e] p-5 rounded flex"},Yt={class:"w-full flex"},Jt={class:"mt-5 bg-[#fff] p-5 dark:bg-[#24272e]"},Zt={class:"pt-5"},ea={class:"pt-5"},ta={class:"pt-5"},aa={class:"p-4 bg-white rounded dark:bg-slate-800"},sa={class:"flex text-base mb-[20px] bg-currentflex items-center"},na={class:"ml-[8px] mt-2"},ra={class:"w-full flex mb-5 px-6"},la={class:"flex justify-center items-center"},oa={class:"flex flex-col p-5 justify-center"},ia={class:"text-center"},ca={class:"text-center"},ba=te({__name:"index",setup(v){const d=o({distributionBalance:0,drawMoneyIn:0,id:0,inviteCount:0,inviteLinkCount:0,orderCount:0,performanceRatio:0,salesOutletName:"",totalAmount:0,withdrawalAmount:0}),g=o(!1),A=o(!1),O=o([]),D=o([]),S=Ce(),i=$(()=>S.globalConfig),f=$(()=>{var s,c;return(s=i.value)!=null&&s.salesBaseRatio?Number((c=i.value)==null?void 0:c.salesBaseRatio):10}),W=$(()=>{var s,c;return(s=i.value)!=null&&s.salesSeniorRatio?Number((c=i.value)==null?void 0:c.salesSeniorRatio):10}),E=o(null),P=o("rec"),_=$(()=>S.userInfo.inviteCode),G=$(()=>{let s=`${window.location.protocol}//${window.location.hostname}`;return window.location.port&&(s+=`:${window.location.port}`),s}),z=$(()=>_.value?`${G.value}?inVitecode=${_.value}`:"**************"),p=pe(),u=o(null);Ae(),o([]);const h=o(null);o({pageSize:23});const V=o([]),I=o(!1),R=o(!1),j=o(!1),b=X({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{b.page=s,N()},onUpdatePageSize:s=>{b.pageSize=s,b.page=1,N()}}),y=X({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{y.page=s,N()},onUpdatePageSize:s=>{y.pageSize=s,y.page=1,N()}}),k=X({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{k.page=s,Q()},onUpdatePageSize:s=>{k.pageSize=s,k.page=1,Q()}}),ve=o([{title:t("share.orderAmount"),align:"center",orderPrice:"address",render(s){return`¥${s.orderPrice}元`}},{align:"center",title:t("share.productType"),key:"tags",render(s){return t("share.purchasePackage")}},{align:"center",title:t("share.status"),key:"status",render(s){return q(C,{type:"success",size:"small",round:!0},()=>t("share.accounted"))}},{align:"center",title:t("share.commissionRate"),key:"commissionAmount",render(s){return`${s.commissionPercentage}%`}},{align:"center",title:t("share.commission"),key:"commissionAmount",render(s){return`¥${s.commissionAmount}元`}},{align:"center",title:t("share.orderTime"),key:"createdAt"}]);function ge(){P.value="drawMoney",ae(),se()}async function _e(){const s=await ze();if(!s.data)return p.error(s.message);p.success(t("share.generateInviteCodeSuccess")),S.getUserInfo()}function we(){A.value=!0}async function ae(){const s=await He();d.value=s.data}function xe(s){s==="drawMoney"&&se(),s==="rec"&&N(),s==="register"&&Q()}async function N(){try{I.value=!0;const s=await Ke({page:b.page,size:b.pageSize});O.value=s.data.rows,b.itemCount=s.data.count,I.value=!1}catch{I.value=!1}}async function se(){try{R.value=!0;const s=await Ye({page:y.page,size:y.pageSize});y.itemCount=s.data.count,D.value=s.data.rows,R.value=!1}catch{R.value=!1}}const be=o([{title:t("share.withdrawalTime"),key:"createdAt",align:"center"},{title:t("share.withdrawalAmount"),key:"withdrawalAmount",align:"center"},{title:t("share.withdrawalChannel"),key:"withdrawalChannels",align:"center",render(s){return q(C,{type:s.withdrawalChannels===1?"info":"success",size:"small",round:!0},()=>s.withdrawalChannels===1?t("share.alipay"):t("share.wechat"))}},{title:t("share.withdrawalStatus"),key:"paymentStatus",render(s){return q(C,{type:s.paymentStatus===1?"success":s.paymentStatus===-1?"error":"info",size:"small",round:!0},()=>s.paymentStatus===1?t("share.paid"):s.paymentStatus===-1?t("share.rejected"):t("share.inReview"))}},{title:t("share.withdrawalRemarks"),key:"contactInformation",align:"center",render(s){return` ${(s==null?void 0:s.contactInformation)||"---"} `}},{title:t("share.auditor"),key:"auditUserId",align:"center",render(s){return` ${(s==null?void 0:s.auditUserName)||"---"} `}}]),ye=o([{title:t("share.avatar"),align:"center",key:"avatar",render(s){return q(qe,{src:s.avatar,round:!0,size:38,border:!0})}},{align:"center",title:t("share.username"),key:"username"},{align:"center",title:t("share.email"),key:"email"},{title:t("share.inviteeStatus"),align:"center",key:"status",render(s){return q(C,{type:s.status===1?"success":"error",size:"small",round:!0},()=>s.status===1?t("share.registered"):t("share.pendingActivation"))}},{title:t("share.registrationTime"),align:"center",key:"createdAt"},{title:t("share.lastLogin"),align:"center",key:"updatedAt"}]),{isMobile:w}=Re();async function Q(){try{j.value=!0;const s=await Se({page:k.page,size:k.pageSize});V.value=s.data.rows,k.itemCount=s.data.count,j.value=!1}catch{j.value=!1}}function ne(){if(!_.value)return p.error(t("share.requestInviteCodeFirst"));$e({text:z.value}),p.success(t("share.linkCopiedSuccess"));const s=u.value,c=document.createRange(),B=window.getSelection();c.selectNodeContents(s),B.removeAllRanges(),B.addRange(c)}return Ue(()=>{var s;(s=h.value)==null||s.play(),ae(),N()}),(s,c)=>{var B,re,le,oe,ie,ce,de,ue;return U(),L("div",rt,[r(e(Ie),{class:x([e(w)?"px-3":"px-14"]),title:e(t)("share.title"),des:e(t)("share.description")},null,8,["class","title","des"]),a("div",{class:x(["flex-1 flex-wrap py-5 flex justify-between",[e(w)?"px-3":"px-20"]])},[a("div",{class:x(["px-[12px] min-w-[350px]",[e(w)?"w-full":"w-1/3"]])},[a("div",lt,[a("div",ot,[M(n(((B=d.value)==null?void 0:B.salesOutletName)||e(t)("share.defaultSalesOutletName"))+" ",1),a("img",{src:e(Ze),class:"ml-2 w-6 h-6 opacity-50"},null,8,it)]),a("h2",ct,n(e(t)("share.myReferrals")),1),a("div",dt,[a("div",ut,[a("span",ht,[r(e(Fe),{ref_key:"numberAnimationInstRef",ref:h,from:0,to:Number((re=d.value)==null?void 0:re.totalAmount),active:!0,precision:2},null,8,["to"])]),a("span",ft,n(e(t)("share.currencyUnit")),1)]),a("img",{src:e(et),class:"w-20 opacity-10",alt:""},null,8,pt)]),a("div",mt,[a("div",vt,[a("div",gt,[a("span",_t,n(((le=d.value)==null?void 0:le.distributionBalance)||0),1),a("span",wt,n(e(t)("share.currencyUnit")),1)]),a("div",null,n(e(t)("share.remainingAmount")),1)]),a("div",xt,[a("div",bt,[a("span",yt,n(((oe=d.value)==null?void 0:oe.drawMoneyIn)||0),1),a("span",kt,n(e(t)("share.currencyUnit")),1)]),a("div",null,n(e(t)("share.withdrawingAmount")),1)]),a("div",null,[r(e(Le),{placement:"top",trigger:"hover",delay:((ie=d.value)==null?void 0:ie.distributionBalance)>10?800:200},{trigger:l(()=>{var m;return[a("div",{class:x(["btn",[((m=d.value)==null?void 0:m.distributionBalance)g.value=!0)},n(e(t)("share.withdrawNow")),3)]}),default:l(()=>{var m;return[a("span",null,n(e(t)("share.minimumWithdrawalPrefix"))+" "+n(Number((m=i.value)==null?void 0:m.salesAllowDrawMoney)||10)+" "+n(e(t)("share.minimumWithdrawalSuffix")),1)]}),_:1},8,["delay"])])])]),a("div",Ct,[a("div",At,[a("div",St,[r(e(T),{class:"text-lg",icon:"icon-park-outline:order"}),a("span",zt,n(e(t)("share.purchaseOrderCount")),1)]),a("b",It,n(((ce=d.value)==null?void 0:ce.orderCount)||0),1)]),a("div",Rt,[a("div",Nt,[r(e(T),{class:"text-lg",icon:"ep:link"}),a("span",$t,n(e(t)("share.promotionLinkVisits")),1)]),a("b",Mt,n(((de=d.value)==null?void 0:de.inviteLinkCount)||0),1)]),a("div",Ut,[a("div",Pt,[r(e(T),{class:"text-lg",icon:"ph:user"}),a("span",jt,n(e(t)("share.registeredUsers")),1)]),a("b",Bt,n(((ue=d.value)==null?void 0:ue.inviteCount)||0),1)])]),a("div",Tt,[a("div",qt,[a("div",Ft,[a("h3",Lt,n(e(t)("share.referralEarnings")),1),a("div",Ot,n(e(t)("share.referralEarningsDescription")),1)]),r(e(C),{round:"",bordered:!1,type:"success",size:"small"},{default:l(()=>[M(n(e(t)("share.percentage"))+n(f.value)+"% ",1)]),_:1})]),a("div",Dt,[a("div",Vt,[a("h3",Wt,n(e(t)("share.applyForAdvancedAgent")),1),a("div",Et,n(e(t)("share.contactAdminForAdvancedAgent")),1)]),r(e(C),{round:"",bordered:!1,type:"success",size:"small"},{default:l(()=>[M(n(e(t)("share.percentage"))+n(W.value)+"% ",1)]),_:1})]),a("div",Gt,[a("div",Qt,[a("h3",Xt,n(e(t)("share.joinAsPartner")),1),a("div",Ht,n(e(t)("share.partnerDescription")),1)]),r(e(C),{round:"",bordered:!1,type:"error",size:"small"},{default:l(()=>[M(n(e(t)("share.winTogether")),1)]),_:1})])])],2),a("div",{class:x(["px-[12px]",[e(w)?"w-full":"w-2/3"]])},[a("div",Kt,[a("div",Yt,[a("div",{class:x(["border border-[ced4da] dark:border-[#3a3a40] text-sm py-1 rounded-l-md flex items-center",[e(w)?"px-1":"px-3"]])},n(e(t)("share.referralLink")),3),a("div",{ref_key:"selectable",ref:u,class:"bg-[#fafafa] dark:bg-[#2F2E34] flex-1 flex items-center dark:border-[#ffffff17] border-b border-t pl-4 max-w-[500px] select-text overflow-x-hidden whitespace-nowrap"},n(z.value),513),_.value?H("",!0):(U(),L("div",{key:0,class:x([[e(w)?"px-2":"px-5"],"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center mr-[-1px] select-none"]),onClick:_e},n(e(t)("share.apply")),3)),_.value?(U(),L("div",{key:1,class:x([[e(w)?"px-2":"px-5"],"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center mr-[-1px]"])},[r(e(T),{class:"text-lg",icon:"fluent:document-copy-48-regular",onClick:ne})],2)):H("",!0),!e(w)&&_.value?(U(),L("div",{key:2,class:"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center px-5 bg-currentrounded-r-md",onClick:we},[r(e(T),{class:"text-lg",icon:"la:qrcode"})])):H("",!0)])]),a("div",Jt,[r(e(Oe),{ref_key:"tabRef",ref:E,value:P.value,"onUpdate:value":[c[1]||(c[1]=m=>P.value=m),xe],"bar-width":338,animated:"","justify-content":"space-evenly",type:"line"},{default:l(()=>[r(e(K),{name:"rec",tab:e(t)("share.referralRecordsTab")},{default:l(()=>[a("div",Zt,[r(e(Y),{"min-width":200,loading:I.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:ve.value,data:O.value,pagination:b,"scroll-x":700},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"]),r(e(K),{name:"drawMoney",tab:e(t)("share.withdrawalRecordsTab")},{default:l(()=>[a("div",ea,[r(e(Y),{loading:R.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:be.value,data:D.value,pagination:y,"scroll-x":500},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"]),r(e(K),{name:"register",tab:e(t)("share.registeredUsersTab")},{default:l(()=>[a("div",ta,[r(e(Y),{loading:j.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:ye.value,data:V.value,pagination:k,"scroll-x":500},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"])]),_:1},8,["value"])]),r(nt,{visible:g.value,onClose:c[2]||(c[2]=m=>g.value=!1),onSubmit:ge},null,8,["visible"])],2)],2),r(e(me),{show:A.value,style:{width:"90%","max-width":"420px"}},{default:l(()=>[a("div",aa,[a("div",{class:"flex justify-between",onClick:c[3]||(c[3]=m=>A.value=!1)},[a("div",sa,[r(e(J),{size:"22",color:"#0e7a0d"},{default:l(()=>[r(e(Xe))]),_:1}),a("span",na,n(e(t)("share.inviteFriends")),1)]),r(e(J),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:l(()=>[r(e(fe))]),_:1})]),a("div",ra,[r(e(De),null,{default:l(()=>[r(e(he),{size:"small"},{default:l(()=>[M(n(e(t)("share.inviteLink")),1)]),_:1}),r(e(Z),{size:"small",style:{flex:1},value:z.value},null,8,["value"]),r(e(he),{size:"small",onClick:ne},{default:l(()=>[a("div",null,n(e(t)("share.copy")),1)]),_:1})]),_:1})]),a("div",la,[r(Ne,{value:z.value,size:240},null,8,["value"])]),a("div",oa,[a("span",ia,n(e(t)("share.inviteBenefits1")),1),a("span",ca,n(e(t)("share.inviteBenefits2Prefix"))+" "+n(f.value||10)+" "+n(e(t)("share.inviteBenefits2Suffix")),1)])])]),_:1},8,["show"])])}}});export{ba as default};
    diff --git a/public/assets/index-dd7fbdb4.js.br b/public/assets/index-dd7fbdb4.js.br
    new file mode 100644
    index 0000000..480cc21
    Binary files /dev/null and b/public/assets/index-dd7fbdb4.js.br differ
    diff --git a/public/assets/index-e889edd8.js b/public/assets/index-e889edd8.js
    new file mode 100644
    index 0000000..a549fab
    --- /dev/null
    +++ b/public/assets/index-e889edd8.js
    @@ -0,0 +1 @@
    +import{a as ce,o as de,t as j,z as ue}from"./index-d64a7cc4.js";import{d as H,S as v,U as x,a3 as s,g as pe,r as a,e as R,w as q,f as G,G as he,H as P,F as ve,a6 as fe,n as me,X as _,W as m,z as _e,a4 as D,V as z,ab as N,M as i,a5 as W}from"./vue-10b4afc0.js";import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{c as ge}from"./index-c94da121.js";import{e as we,I as B,J as xe,K as ye,r as ke}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const be={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},$e=s("path",{d:"M315.27 33L96 304h128l-31.51 173.23a2.36 2.36 0 0 0 2.33 2.77h0a2.36 2.36 0 0 0 1.89-.95L416 208H288l31.66-173.25a2.45 2.45 0 0 0-2.44-2.75h0a2.42 2.42 0 0 0-1.95 1z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Le=[$e],Ce=H({name:"FlashOutline",render:function(l,c){return v(),x("svg",be,Le)}});function Ie(y,l){let c,n;return function(...g){n=g,c||(c=setTimeout(()=>{y.apply(this,n),c=null},l))}}const Me={class:"min-h-full overflow-hidden flex flex-col"},Pe={class:"flex-1 min-h-full p-4 relative"},We=["id"],Re=["id","src","onLoad","onError","onClick"],je={class:"menu p-2 text-[#cbd5e1]"},ze={class:"prompt"},Ne={class:"flex justify-end items-end space-x-2"},Se=["onClick"],Be={class:"text-sm dark:text-slate-400"},De=s("span",null,"画同款",-1),He=["onClick"],Ee={class:"text-sm dark:text-slate-400"},Ue=s("span",null,"使用当前画同款",-1),Ae=["onClick"],Te={class:"text-sm dark:text-slate-400"},Fe=s("span",null,"复制提示词",-1),Oe=s("div",{id:"footer",class:"w-full absolute bottom-[350px]"},null,-1),Ve=H({__name:"index",props:{dataList:{},scaleWidth:{},isDrawLike:{type:Boolean},usePropmpt:{type:Boolean},copyPropmpt:{type:Boolean},gap:{default:5}},emits:["loadMore","usePropmptDraw"],setup(y,{emit:l}){var A;const c=ce(),n=y,f=l,g=(A=pe())==null?void 0:A.appContext.config.globalProperties.$viewerApi,L=we(),k=a({}),C=a(0),d=a(160),u=a(0),b=a([]),p=a(null),h=a(0),$=R(()=>c.isLogin),E=R(()=>n.scaleWidth?Number(n.scaleWidth)*2+n.gap+150:150),J=de();function K(){Q(),Y();const e=u.value,o=d.value,t=[];n.dataList.forEach((w,r)=>{const T=w.drawRatio.split("x"),ae=parseInt(T[0],10),re=parseInt(T[1],10),ie=o/ae,F=re*ie+n.gap+C.value,M=k.value[w.id];if(t.lengthle===O);M.style.top=`${O+0}px`,M.style.left=`${V*(d.value+n.gap)}px`,t[V]+=F}}),h.value=Math.max(...t)+100}function X(e,o){e&&o&&(k.value[o.id]=e)}function Q(){const{showName:e=0,showOther:o=0}={};C.value=[e,o].filter(t=>t).length*15}q(()=>n.scaleWidth,e=>{I()}),q(()=>n.dataList,e=>{e&&me(()=>{I()})},{immediate:!0});function Y(){if(!p.value)return;const e=p.value.clientWidth;u.value=Math.floor(e/E.value);const o=e-u.value*E.value,t=(u.value-1)*n.gap;o-t<0&&(u.value-=1),d.value=Math.floor((e-t)/u.value)}function Z(e,o){b.value.push(o.id)}function ee(e,o){b.value.push(o.id)}function te(e){if(!$.value)return c.setLoginDialog(!0);const{prompt:o}=e;ge({text:o}),L.success("复制prompt成功")}function se(e){J.push(`/midjourney?mjId=${e.id}`)}function oe(e){const{fullPrompt:o}=e;f("usePropmptDraw",o)}function ne(e){const{drawUrl:o}=e;g({options:{},images:[o]})}const U=R(()=>e=>{const o=e.drawRatio.split("x"),t=Number(o[0]);return Number(o[1])/(t/d.value)}),I=Ie(function(){K()},200);return G(async()=>{window.addEventListener("resize",I);const e=document.getElementById("footer");new IntersectionObserver((t,w)=>{t.forEach(r=>{r.isIntersecting&&f("loadMore")})}).observe(e)}),he(()=>{window.removeEventListener("resize",I)}),(e,o)=>(v(),x("div",Me,[s("div",Pe,[s("div",{id:"wapper",ref_key:"wapperRef",ref:p,class:"wapper",style:P({height:`${h.value}px`})},[(v(!0),x(ve,null,fe(e.dataList,(t,w)=>(v(),x("div",{id:t.id.toString(),key:w,ref_for:!0,ref:r=>X(r,t),class:"wapper-item",style:P({width:`${d.value}px`})},[_(_e,{name:"img",css:!0},{default:m(()=>[s("img",{id:t.id.toString(),class:"item-file rounded-sm",style:P({width:`${d.value}px`,height:`${U.value(t)}px`}),src:t.drawUrl,loading:"lazy",onLoad:r=>Z(r,t),onError:r=>ee(r,t),onClick:r=>ne(t)},null,44,Re)]),_:2},1024),s("div",je,[s("div",ze,D(t.fullPrompt),1),s("div",Ne,[e.isDrawLike?(v(),z(i(B),{key:0,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:N(r=>se(t),["stop"])},[s("span",Be,[_(i(S),{icon:"fluent:draw-image-24-regular",class:"text-sm"})])],8,Se)]),default:m(()=>[De]),_:2},1024)):W("",!0),e.usePropmpt?(v(),z(i(B),{key:1,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:N(r=>oe(t),["stop"])},[s("span",Ee,[_(i(S),{icon:"fluent:draw-image-24-regular",class:"text-sm"})])],8,He)]),default:m(()=>[Ue]),_:2},1024)):W("",!0),e.copyPropmpt?(v(),z(i(B),{key:2,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:N(r=>te(t),["stop"])},[s("span",Te,[_(i(S),{icon:"tabler:copy",class:"text-sm"})])],8,Ae)]),default:m(()=>[Fe]),_:2},1024)):W("",!0)])]),b.value.includes(t.id)?W("",!0):(v(),x("div",{key:0,class:"item-loading",style:P({width:`${d.value}px`,height:`${U.value(t)}px`})},null,4))],12,We))),128)),Oe],4)])]))}});const qe={class:"bg-white h-[100vh] overflow-hidden p-4 pr-0 dark:bg-gray-900 flex flex-col"},Ge={class:"p-4 flex pr-6 justify-between items-center"},Je={class:"font-bold text-xl"},Ke={class:"w-[200px] sm:w-[300px] flex justify-between"},Xe={class:"hidden sm:block"},Qe={class:"flex-1 ml-5"},Ye={class:"px-4 mb-1 pr-5"},Ze={class:"market overflow-y-scroll flex-1 min-h-screen p-4 relative"},it=H({__name:"index",setup(y){const l=a([]),c=a(null),n=a(50),f=a(""),g=a(1),L=a(20),k=a(!1),C=a(!0),d=R(()=>f.value?l.value.filter(p=>{const{prompt:h}=p;return h.includes(f.value)}):l.value);async function u(){k.value=!0;const p=await ue({page:g.value,size:L.value,rec:1});k.value=!1,C.value=L.value===p.data.rows.length,l.value=[...l.value,...p.data.rows]}G(async()=>{await u()});function b(){g.value=g.value+1,u()}return(p,h)=>(v(),x("div",qe,[s("div",Ge,[s("div",Je,D(i(j)("draw.aiDrawingSquare")),1),s("div",Ke,[s("span",Xe,D(i(j)("draw.sizeAdjustment")),1),s("div",Qe,[_(i(xe),{value:n.value,"onUpdate:value":h[0]||(h[0]=$=>n.value=$),step:10},null,8,["value"])])])]),s("div",Ye,[_(i(ye),{value:f.value,"onUpdate:value":h[1]||(h[1]=$=>f.value=$),placeholder:i(j)("draw.keywordSearchPlaceholder")},{prefix:m(()=>[_(i(ke),{component:i(Ce)},null,8,["component"])]),_:1},8,["value","placeholder"])]),s("div",Ze,[s("div",{id:"wapper",ref_key:"wapperRef",ref:c,class:"wapper"},[_(Ve,{onLoadMore:b,copyPropmpt:"",isDrawLike:"",dataList:d.value,scaleWidth:n.value},null,8,["dataList","scaleWidth"])],512)])]))}});export{it as default};
    diff --git a/public/assets/index-e889edd8.js.br b/public/assets/index-e889edd8.js.br
    new file mode 100644
    index 0000000..d3b4508
    Binary files /dev/null and b/public/assets/index-e889edd8.js.br differ
    diff --git a/public/assets/index-ed13e5d6.js b/public/assets/index-ed13e5d6.js
    deleted file mode 100644
    index a3def93..0000000
    --- a/public/assets/index-ed13e5d6.js
    +++ /dev/null
    @@ -1 +0,0 @@
    -import{g as c,K as i,F as a,G as l,cz as s,E as o}from"./index-2efe4620.js";const n={class:"welcome flex h-full dark:bg-neutral-800"},r=s('出了点小错误...... 出了点小错误、刷新看看呢...... ',20),h=l("path",{fill:"none",class:"stroke",d:"M955.8 846V560.5c0-5.5-4.5-10-10-10H738.6c-5.5 0-10 4.5-10 10V846"},null,-1),p=l("rect",{fill:"#0170BB",x:"730",y:"700",width:"225",height:"15"},null,-1),d=l("polyline",{fill:"none",class:"stroke",points:" 800.8 672.8 842.5 601 883.6 672.8 "},null,-1),f=l("ellipse",{fill:"#FFF",class:"stroke",cx:"842.2",cy:"601",rx:"10",ry:"10"},null,-1),k=l("path",{fill:"#a5c7e4",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),x=l("path",{fill:"none",class:"stroke",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),u=s('',4),g=c({__name:"index",setup(y){const e=i();function t(){e.push("/chat")}return(F,M)=>(o(),a("div",n,[l("div",{class:"store-container"},[l("div",{class:"border-animation"},[l("svg",{id:"store",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"130 0 1230 930"},[r,l("g",{id:"door"},[h,p,l("g",{id:"sign"},[d,f,k,l("text",{class:"btn",transform:"matrix(1.0027 0 0 1 789.6294 721.7501)",fill:"#FFF","font-family":"Fredoka One","font-size":"38",onClick:t}," HOME "),x])]),u])])])]))}});export{g as default};
    diff --git a/public/assets/index-f18c0167.css b/public/assets/index-f18c0167.css
    new file mode 100644
    index 0000000..c6e5b35
    --- /dev/null
    +++ b/public/assets/index-f18c0167.css
    @@ -0,0 +1 @@
    +.wechat-shadow{box-shadow:0 8px 10px 1px #00000029}.sidebar{overflow:hidden;width:calc(100% - 5px)}.sidebar:hover{width:100%;overflow:overlay}.overlay{overflow:hidden}.overlay:hover{width:100%;overflow:overlay}.active_bar{border-width:1px}
    diff --git a/public/assets/index.esm-75698fae.js b/public/assets/index.esm-75698fae.js
    deleted file mode 100644
    index 1412d5f..0000000
    --- a/public/assets/index.esm-75698fae.js
    +++ /dev/null
    @@ -1,360 +0,0 @@
    -import{bq as Ql}from"./index-2efe4620.js";var $u={exports:{}},El;function Zo(){return El||(El=1,function(i,l){(function(x,w){i.exports=w()})(typeof self<"u"?self:Ql,function(){return function(){var h={};(function(){h.d=function(d,r){for(var t in r)h.o(r,t)&&!h.o(d,t)&&Object.defineProperty(d,t,{enumerable:!0,get:r[t]})}})(),function(){h.o=function(d,r){return Object.prototype.hasOwnProperty.call(d,r)}}();var x={};h.d(x,{default:function(){return Lu}});var w=function d(r,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+r,u,s,m=t&&t.loc;if(m&&m.start<=m.end){var b=m.lexer.input;u=m.start,s=m.end,u===b.length?n+=" at end of input: ":n+=" at position "+(u+1)+": ";var C=b.slice(u,s).replace(/[^]/g,"$&̲"),E;u>15?E="…"+b.slice(u-15,u):E=b.slice(0,u);var F;s+15":">","<":"<",'"':""","'":"'"},X=/[&><"']/g;function re(d){return String(d).replace(X,function(r){return O[r]})}var W=function d(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?d(r.body[0]):r:r.type==="font"?d(r.body):r},Se=function(r){var t=W(r);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},ye=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},_e=function(r){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(r);return t!=null?t[1]:"_relative"},K={contains:M,deflt:T,escape:re,hyphenate:L,getBaseElem:W,isCharacterBox:Se,protocolFromUrl:_e},Ae={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(r){return"#"+r}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(r,t){return t.push(r),t}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(r){return Math.max(0,r)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(r){return Math.max(0,r)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(r){return Math.max(0,r)},cli:"-e, --max-expand ",cliProcessor:function(r){return r==="Infinity"?1/0:parseInt(r)}},globalGroup:{type:"boolean",cli:!1}};function Re(d){if(d.default)return d.default;var r=d.type,t=Array.isArray(r)?r[0]:r;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Ge=function(){function d(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n in Ae)if(Ae.hasOwnProperty(n)){var u=Ae[n];this[n]=t[n]!==void 0?u.processor?u.processor(t[n]):t[n]:Re(u)}}var r=d.prototype;return r.reportNonstrict=function(n,u,s){var m=this.strict;if(typeof m=="function"&&(m=m(n,u,s)),!(!m||m==="ignore")){if(m===!0||m==="error")throw new k("LaTeX-incompatible input and strict mode is set to 'error': "+(u+" ["+n+"]"),s);m==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(u+" ["+n+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+u+" ["+n+"]"))}},r.useStrictBehavior=function(n,u,s){var m=this.strict;if(typeof m=="function")try{m=m(n,u,s)}catch{m="error"}return!m||m==="ignore"?!1:m===!0||m==="error"?!0:m==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(u+" ["+n+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+u+" ["+n+"]")),!1)},r.isTrusted=function(n){n.url&&!n.protocol&&(n.protocol=K.protocolFromUrl(n.url));var u=typeof this.trust=="function"?this.trust(n):this.trust;return!!u},d}(),Oe=function(){function d(t,n,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=u}var r=d.prototype;return r.sup=function(){return P[ce[this.id]]},r.sub=function(){return P[ee[this.id]]},r.fracNum=function(){return P[be[this.id]]},r.fracDen=function(){return P[ke[this.id]]},r.cramp=function(){return P[Te[this.id]]},r.text=function(){return P[De[this.id]]},r.isTight=function(){return this.size>=2},d}(),ir=0,ar=1,ur=2,or=3,Br=4,sr=5,qr=6,G=7,P=[new Oe(ir,0,!1),new Oe(ar,0,!0),new Oe(ur,1,!1),new Oe(or,1,!0),new Oe(Br,2,!1),new Oe(sr,2,!0),new Oe(qr,3,!1),new Oe(G,3,!0)],ce=[Br,sr,Br,sr,qr,G,qr,G],ee=[sr,sr,sr,sr,G,G,G,G],be=[ur,or,Br,sr,qr,G,qr,G],ke=[or,or,sr,sr,G,G,G,G],Te=[ar,ar,or,or,sr,sr,G,G],De=[ir,ar,ur,or,ur,or,ur,or],ue={DISPLAY:P[ir],TEXT:P[ur],SCRIPT:P[Br],SCRIPTSCRIPT:P[qr]},Le=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Mr(d){for(var r=0;r=u[0]&&d<=u[1])return t.name}return null}var $e=[];Le.forEach(function(d){return d.blocks.forEach(function(r){return $e.push.apply($e,r)})});function mr(d){for(var r=0;r<$e.length;r+=2)if(d>=$e[r]&&d<=$e[r+1])return!0;return!1}var We=80,wr=function(r,t){return"M95,"+(622+r+t)+`
    -c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
    -c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
    -c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
    -s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
    -c69,-144,104.5,-217.7,106.5,-221
    -l`+r/2.075+" -"+r+`
    -c5.3,-9.3,12,-14,20,-14
    -H400000v`+(40+r)+`H845.2724
    -s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
    -c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
    -M`+(834+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Ir=function(r,t){return"M263,"+(601+r+t)+`c0.7,0,18,39.7,52,119
    -c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
    -c340,-704.7,510.7,-1060.3,512,-1067
    -l`+r/2.084+" -"+r+`
    -c4.7,-7.3,11,-11,19,-11
    -H40000v`+(40+r)+`H1012.3
    -s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
    -c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
    -s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
    -c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
    -M`+(1001+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},G0=function(r,t){return"M983 "+(10+r+t)+`
    -l`+r/3.13+" -"+r+`
    -c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+`
    -H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
    -s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
    -c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
    -c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
    -c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
    -c53.7,-170.3,84.5,-266.8,92.5,-289.5z
    -M`+(1001+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Ua=function(r,t){return"M424,"+(2398+r+t)+`
    -c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
    -c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
    -s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
    -s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
    -l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000
    -v`+(40+r)+`H1014.6
    -s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
    -c-2,6,-10,9,-24,9
    -c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+t+`
    -h400000v`+(40+r)+"h-400000z"},vr=function(r,t){return"M473,"+(2713+r+t)+`
    -c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+`
    -c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7
    -s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
    -c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
    -c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
    -s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
    -606zM`+(1001+r)+" "+t+"h400000v"+(40+r)+"H1017.7z"},pe=function(r){var t=r/2;return"M400000 "+r+" H0 L"+t+" 0 l65 45 L145 "+(r-80)+" H400000z"},Jn=function(r,t,n){var u=n-54-t-r;return"M702 "+(r+t)+"H400000"+(40+r)+`
    -H742v`+u+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
    -h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
    -c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
    -219 661 l218 661zM702 `+t+"H400000v"+(40+r)+"H742z"},g0=function(r,t,n){t=1e3*t;var u="";switch(r){case"sqrtMain":u=wr(t,We);break;case"sqrtSize1":u=Ir(t,We);break;case"sqrtSize2":u=G0(t,We);break;case"sqrtSize3":u=Ua(t,We);break;case"sqrtSize4":u=vr(t,We);break;case"sqrtTall":u=Jn(t,We,n)}return u},nn=function(r,t){switch(r){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},gr={doubleleftarrow:`M262 157
    -l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
    - 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
    - 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
    -c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
    - 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
    --86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
    --2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
    -m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
    --10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
    - 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
    --33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
    --17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
    --13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
    -c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
    --107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
    - 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
    --5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
    -c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
    - 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
    - 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
    - l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
    --45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
    - 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
    - 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
    - 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
    --331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
    -H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
    - 435 0h399565z`,leftgroupunder:`M400000 262
    -H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
    - 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
    --3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
    --18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
    --196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
    - 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
    --4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
    --10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
    -m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
    - 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
    - 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
    --152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
    - 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
    --2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
    -v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
    --83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
    --68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
    - 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
    -M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
    -M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
    --.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
    -c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
    - 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
    -M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
    -c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
    --53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
    - 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
    - 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
    -c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
    - 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
    - 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
    --5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
    --320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
    -m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
    -60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
    --451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
    -m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
    -c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
    --480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
    -m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
    -85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
    --707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
    -m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
    -c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
    --16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
    - 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
    - 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
    --40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
    --12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
    - 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
    --6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
    -s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
    -c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
    - 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
    --174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
    - 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
    - 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
    --3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
    --10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
    - 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
    --18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
    - 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
    -m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
    - 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
    --7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
    --27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
    - 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
    - 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
    --64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
    -m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
    - 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
    --13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
    - 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
    -M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
    - 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
    --52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
    --167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
    - 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
    --70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
    --40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
    --37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
    - 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
    -c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
    - 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
    - 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
    --19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
    - 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
    --2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
    - 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
    - 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
    --68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
    --8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
    - 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
    -c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
    - 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
    --11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
    - 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
    - 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
    - -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
    --11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
    - 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
    - 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
    - -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
    -3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
    -10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
    --1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
    --7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
    -H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
    -c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
    -c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
    --11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
    --11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
    --11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
    --5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
    --11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
    --11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
    --11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
    -c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
    -c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
    -s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
    -121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
    -s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
    -c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
    -M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
    --27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
    -13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
    --84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
    --119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
    --12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
    -151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
    -c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
    -c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
    -c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
    -c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
    -M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
    -c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
    --231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
    -c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
    -M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
    -c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
    -1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
    --152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
    -M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
    -c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
    --231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
    -c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
    -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Va=function(r,t){switch(r){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84
    -H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z
    -M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
    -c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
    -c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
    -c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
    -c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
    -M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
    -c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
    -c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z
    -MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z
    -MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z
    -M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z
    -M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
    -c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
    --36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
    -949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
    -c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
    --544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
    -l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
    --210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
    -63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
    -c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
    -c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
    -c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
    -c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
    -c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
    -l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
    --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Rr=function(){function d(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var r=d.prototype;return r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){for(var n=document.createDocumentFragment(),u=0;u=5?r=0:d>=3?r=1:r=2,!vt[r]){var t=vt[r]={cssEmPerMu:dt.quad[r]/18};for(var n in dt)dt.hasOwnProperty(n)&&(t[n]=dt[n][r])}return vt[r]}var Ga=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ri=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ti=function(r,t){return t.size<2?r:Ga[r-1][t.size-1]},ni=function(){function d(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||d.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=ri[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var r=d.prototype;return r.extend=function(n){var u={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var s in n)n.hasOwnProperty(s)&&(u[s]=n[s]);return new d(u)},r.havingStyle=function(n){return this.style===n?this:this.extend({style:n,size:ti(this.textSize,n)})},r.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},r.havingSize=function(n){return this.size===n&&this.textSize===n?this:this.extend({style:this.style.text(),size:n,textSize:n,sizeMultiplier:ri[n-1]})},r.havingBaseStyle=function(n){n=n||this.style.text();var u=ti(d.BASESIZE,n);return this.size===u&&this.textSize===d.BASESIZE&&this.style===n?this:this.extend({style:n,size:u})},r.havingBaseSizing=function(){var n;switch(this.style.id){case 4:case 5:n=3;break;case 6:case 7:n=1;break;default:n=6}return this.extend({style:this.style.text(),size:n})},r.withColor=function(n){return this.extend({color:n})},r.withPhantom=function(){return this.extend({phantom:!0})},r.withFont=function(n){return this.extend({font:n})},r.withTextFontFamily=function(n){return this.extend({fontFamily:n,font:""})},r.withTextFontWeight=function(n){return this.extend({fontWeight:n,font:""})},r.withTextFontShape=function(n){return this.extend({fontShape:n,font:""})},r.sizingClasses=function(n){return n.size!==this.size?["sizing","reset-size"+n.size,"size"+this.size]:[]},r.baseSizingClasses=function(){return this.size!==d.BASESIZE?["sizing","reset-size"+this.size,"size"+d.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=ei(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},d}();ni.BASESIZE=6;var ii=ni,$0={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},$a={ex:!0,em:!0,mu:!0},ai=function(r){return typeof r!="string"&&(r=r.unit),r in $0||r in $a||r==="ex"},Ye=function(r,t){var n;if(r.unit in $0)n=$0[r.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(r.unit==="mu")n=t.fontMetrics().cssEmPerMu;else{var u;if(t.style.isTight()?u=t.havingStyle(t.style.text()):u=t,r.unit==="ex")n=u.fontMetrics().xHeight;else if(r.unit==="em")n=u.fontMetrics().quad;else throw new k("Invalid unit: '"+r.unit+"'");u!==t&&(n*=u.sizeMultiplier/t.sizeMultiplier)}return Math.min(r.number*n,t.maxSize)},ae=function(r){return+r.toFixed(4)+"em"},t0=function(r){return r.filter(function(t){return t}).join(" ")},ui=function(r,t,n){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var u=t.getColor();u&&(this.style.color=u)}},li=function(r){var t=document.createElement(r);t.className=t0(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var u in this.attributes)this.attributes.hasOwnProperty(u)&&t.setAttribute(u,this.attributes[u]);for(var s=0;s",t},Y0=function(){function d(t,n,u,s){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ui.call(this,t,u,s),this.children=n||[]}var r=d.prototype;return r.setAttribute=function(n,u){this.attributes[n]=u},r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){return li.call(this,"span")},r.toMarkup=function(){return un.call(this,"span")},d}(),gt=function(){function d(t,n,u,s){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ui.call(this,n,s),this.children=u||[],this.setAttribute("href",t)}var r=d.prototype;return r.setAttribute=function(n,u){this.attributes[n]=u},r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){return li.call(this,"a")},r.toMarkup=function(){return un.call(this,"a")},d}(),oi=function(){function d(t,n,u){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=u}var r=d.prototype;return r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){var n=document.createElement("img");n.src=this.src,n.alt=this.alt,n.className="mord";for(var u in this.style)this.style.hasOwnProperty(u)&&(n.style[u]=this.style[u]);return n},r.toMarkup=function(){var n=""+this.alt+"0&&(u=document.createElement("span"),u.style.marginRight=ae(this.italic)),this.classes.length>0&&(u=u||document.createElement("span"),u.className=t0(this.classes));for(var s in this.style)this.style.hasOwnProperty(s)&&(u=u||document.createElement("span"),u.style[s]=this.style[s]);return u?(u.appendChild(n),u):n},r.toMarkup=function(){var n=!1,u="0&&(s+="margin-right:"+this.italic+"em;");for(var m in this.style)this.style.hasOwnProperty(m)&&(s+=K.hyphenate(m)+":"+this.style[m]+";");s&&(n=!0,u+=' style="'+K.escape(s)+'"');var b=K.escape(this.text);return n?(u+=">",u+=b,u+="",u):b},d}(),Or=function(){function d(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}var r=d.prototype;return r.toNode=function(){var n="http://www.w3.org/2000/svg",u=document.createElementNS(n,"svg");for(var s in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,s)&&u.setAttribute(s,this.attributes[s]);for(var m=0;m":""},d}(),Kr=function(){function d(t){this.attributes=void 0,this.attributes=t||{}}var r=d.prototype;return r.toNode=function(){var n="http://www.w3.org/2000/svg",u=document.createElementNS(n,"line");for(var s in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,s)&&u.setAttribute(s,this.attributes[s]);return u},r.toMarkup=function(){var n=" but got "+String(d)+".")}var Xa={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ja={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},X0={math:{},text:{}},Ve=X0;function p(d,r,t,n,u,s){X0[d][u]={font:r,group:t,replace:n},s&&n&&(X0[d][n]=X0[d][u])}var v="math",Q="text",S="main",_="ams",Ue="accent-token",he="bin",cr="close",M0="inner",ge="mathord",Ke="op-token",Ar="open",x0="punct",z="rel",Zr="spacing",R="textord";p(v,S,z,"≡","\\equiv",!0),p(v,S,z,"≺","\\prec",!0),p(v,S,z,"≻","\\succ",!0),p(v,S,z,"∼","\\sim",!0),p(v,S,z,"⊥","\\perp"),p(v,S,z,"⪯","\\preceq",!0),p(v,S,z,"⪰","\\succeq",!0),p(v,S,z,"≃","\\simeq",!0),p(v,S,z,"∣","\\mid",!0),p(v,S,z,"≪","\\ll",!0),p(v,S,z,"≫","\\gg",!0),p(v,S,z,"≍","\\asymp",!0),p(v,S,z,"∥","\\parallel"),p(v,S,z,"⋈","\\bowtie",!0),p(v,S,z,"⌣","\\smile",!0),p(v,S,z,"⊑","\\sqsubseteq",!0),p(v,S,z,"⊒","\\sqsupseteq",!0),p(v,S,z,"≐","\\doteq",!0),p(v,S,z,"⌢","\\frown",!0),p(v,S,z,"∋","\\ni",!0),p(v,S,z,"∝","\\propto",!0),p(v,S,z,"⊢","\\vdash",!0),p(v,S,z,"⊣","\\dashv",!0),p(v,S,z,"∋","\\owns"),p(v,S,x0,".","\\ldotp"),p(v,S,x0,"⋅","\\cdotp"),p(v,S,R,"#","\\#"),p(Q,S,R,"#","\\#"),p(v,S,R,"&","\\&"),p(Q,S,R,"&","\\&"),p(v,S,R,"ℵ","\\aleph",!0),p(v,S,R,"∀","\\forall",!0),p(v,S,R,"ℏ","\\hbar",!0),p(v,S,R,"∃","\\exists",!0),p(v,S,R,"∇","\\nabla",!0),p(v,S,R,"♭","\\flat",!0),p(v,S,R,"ℓ","\\ell",!0),p(v,S,R,"♮","\\natural",!0),p(v,S,R,"♣","\\clubsuit",!0),p(v,S,R,"℘","\\wp",!0),p(v,S,R,"♯","\\sharp",!0),p(v,S,R,"♢","\\diamondsuit",!0),p(v,S,R,"ℜ","\\Re",!0),p(v,S,R,"♡","\\heartsuit",!0),p(v,S,R,"ℑ","\\Im",!0),p(v,S,R,"♠","\\spadesuit",!0),p(v,S,R,"§","\\S",!0),p(Q,S,R,"§","\\S"),p(v,S,R,"¶","\\P",!0),p(Q,S,R,"¶","\\P"),p(v,S,R,"†","\\dag"),p(Q,S,R,"†","\\dag"),p(Q,S,R,"†","\\textdagger"),p(v,S,R,"‡","\\ddag"),p(Q,S,R,"‡","\\ddag"),p(Q,S,R,"‡","\\textdaggerdbl"),p(v,S,cr,"⎱","\\rmoustache",!0),p(v,S,Ar,"⎰","\\lmoustache",!0),p(v,S,cr,"⟯","\\rgroup",!0),p(v,S,Ar,"⟮","\\lgroup",!0),p(v,S,he,"∓","\\mp",!0),p(v,S,he,"⊖","\\ominus",!0),p(v,S,he,"⊎","\\uplus",!0),p(v,S,he,"⊓","\\sqcap",!0),p(v,S,he,"∗","\\ast"),p(v,S,he,"⊔","\\sqcup",!0),p(v,S,he,"◯","\\bigcirc",!0),p(v,S,he,"∙","\\bullet",!0),p(v,S,he,"‡","\\ddagger"),p(v,S,he,"≀","\\wr",!0),p(v,S,he,"⨿","\\amalg"),p(v,S,he,"&","\\And"),p(v,S,z,"⟵","\\longleftarrow",!0),p(v,S,z,"⇐","\\Leftarrow",!0),p(v,S,z,"⟸","\\Longleftarrow",!0),p(v,S,z,"⟶","\\longrightarrow",!0),p(v,S,z,"⇒","\\Rightarrow",!0),p(v,S,z,"⟹","\\Longrightarrow",!0),p(v,S,z,"↔","\\leftrightarrow",!0),p(v,S,z,"⟷","\\longleftrightarrow",!0),p(v,S,z,"⇔","\\Leftrightarrow",!0),p(v,S,z,"⟺","\\Longleftrightarrow",!0),p(v,S,z,"↦","\\mapsto",!0),p(v,S,z,"⟼","\\longmapsto",!0),p(v,S,z,"↗","\\nearrow",!0),p(v,S,z,"↩","\\hookleftarrow",!0),p(v,S,z,"↪","\\hookrightarrow",!0),p(v,S,z,"↘","\\searrow",!0),p(v,S,z,"↼","\\leftharpoonup",!0),p(v,S,z,"⇀","\\rightharpoonup",!0),p(v,S,z,"↙","\\swarrow",!0),p(v,S,z,"↽","\\leftharpoondown",!0),p(v,S,z,"⇁","\\rightharpoondown",!0),p(v,S,z,"↖","\\nwarrow",!0),p(v,S,z,"⇌","\\rightleftharpoons",!0),p(v,_,z,"≮","\\nless",!0),p(v,_,z,"","\\@nleqslant"),p(v,_,z,"","\\@nleqq"),p(v,_,z,"⪇","\\lneq",!0),p(v,_,z,"≨","\\lneqq",!0),p(v,_,z,"","\\@lvertneqq"),p(v,_,z,"⋦","\\lnsim",!0),p(v,_,z,"⪉","\\lnapprox",!0),p(v,_,z,"⊀","\\nprec",!0),p(v,_,z,"⋠","\\npreceq",!0),p(v,_,z,"⋨","\\precnsim",!0),p(v,_,z,"⪹","\\precnapprox",!0),p(v,_,z,"≁","\\nsim",!0),p(v,_,z,"","\\@nshortmid"),p(v,_,z,"∤","\\nmid",!0),p(v,_,z,"⊬","\\nvdash",!0),p(v,_,z,"⊭","\\nvDash",!0),p(v,_,z,"⋪","\\ntriangleleft"),p(v,_,z,"⋬","\\ntrianglelefteq",!0),p(v,_,z,"⊊","\\subsetneq",!0),p(v,_,z,"","\\@varsubsetneq"),p(v,_,z,"⫋","\\subsetneqq",!0),p(v,_,z,"","\\@varsubsetneqq"),p(v,_,z,"≯","\\ngtr",!0),p(v,_,z,"","\\@ngeqslant"),p(v,_,z,"","\\@ngeqq"),p(v,_,z,"⪈","\\gneq",!0),p(v,_,z,"≩","\\gneqq",!0),p(v,_,z,"","\\@gvertneqq"),p(v,_,z,"⋧","\\gnsim",!0),p(v,_,z,"⪊","\\gnapprox",!0),p(v,_,z,"⊁","\\nsucc",!0),p(v,_,z,"⋡","\\nsucceq",!0),p(v,_,z,"⋩","\\succnsim",!0),p(v,_,z,"⪺","\\succnapprox",!0),p(v,_,z,"≆","\\ncong",!0),p(v,_,z,"","\\@nshortparallel"),p(v,_,z,"∦","\\nparallel",!0),p(v,_,z,"⊯","\\nVDash",!0),p(v,_,z,"⋫","\\ntriangleright"),p(v,_,z,"⋭","\\ntrianglerighteq",!0),p(v,_,z,"","\\@nsupseteqq"),p(v,_,z,"⊋","\\supsetneq",!0),p(v,_,z,"","\\@varsupsetneq"),p(v,_,z,"⫌","\\supsetneqq",!0),p(v,_,z,"","\\@varsupsetneqq"),p(v,_,z,"⊮","\\nVdash",!0),p(v,_,z,"⪵","\\precneqq",!0),p(v,_,z,"⪶","\\succneqq",!0),p(v,_,z,"","\\@nsubseteqq"),p(v,_,he,"⊴","\\unlhd"),p(v,_,he,"⊵","\\unrhd"),p(v,_,z,"↚","\\nleftarrow",!0),p(v,_,z,"↛","\\nrightarrow",!0),p(v,_,z,"⇍","\\nLeftarrow",!0),p(v,_,z,"⇏","\\nRightarrow",!0),p(v,_,z,"↮","\\nleftrightarrow",!0),p(v,_,z,"⇎","\\nLeftrightarrow",!0),p(v,_,z,"△","\\vartriangle"),p(v,_,R,"ℏ","\\hslash"),p(v,_,R,"▽","\\triangledown"),p(v,_,R,"◊","\\lozenge"),p(v,_,R,"Ⓢ","\\circledS"),p(v,_,R,"®","\\circledR"),p(Q,_,R,"®","\\circledR"),p(v,_,R,"∡","\\measuredangle",!0),p(v,_,R,"∄","\\nexists"),p(v,_,R,"℧","\\mho"),p(v,_,R,"Ⅎ","\\Finv",!0),p(v,_,R,"⅁","\\Game",!0),p(v,_,R,"‵","\\backprime"),p(v,_,R,"▲","\\blacktriangle"),p(v,_,R,"▼","\\blacktriangledown"),p(v,_,R,"■","\\blacksquare"),p(v,_,R,"⧫","\\blacklozenge"),p(v,_,R,"★","\\bigstar"),p(v,_,R,"∢","\\sphericalangle",!0),p(v,_,R,"∁","\\complement",!0),p(v,_,R,"ð","\\eth",!0),p(Q,S,R,"ð","ð"),p(v,_,R,"╱","\\diagup"),p(v,_,R,"╲","\\diagdown"),p(v,_,R,"□","\\square"),p(v,_,R,"□","\\Box"),p(v,_,R,"◊","\\Diamond"),p(v,_,R,"¥","\\yen",!0),p(Q,_,R,"¥","\\yen",!0),p(v,_,R,"✓","\\checkmark",!0),p(Q,_,R,"✓","\\checkmark"),p(v,_,R,"ℶ","\\beth",!0),p(v,_,R,"ℸ","\\daleth",!0),p(v,_,R,"ℷ","\\gimel",!0),p(v,_,R,"ϝ","\\digamma",!0),p(v,_,R,"ϰ","\\varkappa"),p(v,_,Ar,"┌","\\@ulcorner",!0),p(v,_,cr,"┐","\\@urcorner",!0),p(v,_,Ar,"└","\\@llcorner",!0),p(v,_,cr,"┘","\\@lrcorner",!0),p(v,_,z,"≦","\\leqq",!0),p(v,_,z,"⩽","\\leqslant",!0),p(v,_,z,"⪕","\\eqslantless",!0),p(v,_,z,"≲","\\lesssim",!0),p(v,_,z,"⪅","\\lessapprox",!0),p(v,_,z,"≊","\\approxeq",!0),p(v,_,he,"⋖","\\lessdot"),p(v,_,z,"⋘","\\lll",!0),p(v,_,z,"≶","\\lessgtr",!0),p(v,_,z,"⋚","\\lesseqgtr",!0),p(v,_,z,"⪋","\\lesseqqgtr",!0),p(v,_,z,"≑","\\doteqdot"),p(v,_,z,"≓","\\risingdotseq",!0),p(v,_,z,"≒","\\fallingdotseq",!0),p(v,_,z,"∽","\\backsim",!0),p(v,_,z,"⋍","\\backsimeq",!0),p(v,_,z,"⫅","\\subseteqq",!0),p(v,_,z,"⋐","\\Subset",!0),p(v,_,z,"⊏","\\sqsubset",!0),p(v,_,z,"≼","\\preccurlyeq",!0),p(v,_,z,"⋞","\\curlyeqprec",!0),p(v,_,z,"≾","\\precsim",!0),p(v,_,z,"⪷","\\precapprox",!0),p(v,_,z,"⊲","\\vartriangleleft"),p(v,_,z,"⊴","\\trianglelefteq"),p(v,_,z,"⊨","\\vDash",!0),p(v,_,z,"⊪","\\Vvdash",!0),p(v,_,z,"⌣","\\smallsmile"),p(v,_,z,"⌢","\\smallfrown"),p(v,_,z,"≏","\\bumpeq",!0),p(v,_,z,"≎","\\Bumpeq",!0),p(v,_,z,"≧","\\geqq",!0),p(v,_,z,"⩾","\\geqslant",!0),p(v,_,z,"⪖","\\eqslantgtr",!0),p(v,_,z,"≳","\\gtrsim",!0),p(v,_,z,"⪆","\\gtrapprox",!0),p(v,_,he,"⋗","\\gtrdot"),p(v,_,z,"⋙","\\ggg",!0),p(v,_,z,"≷","\\gtrless",!0),p(v,_,z,"⋛","\\gtreqless",!0),p(v,_,z,"⪌","\\gtreqqless",!0),p(v,_,z,"≖","\\eqcirc",!0),p(v,_,z,"≗","\\circeq",!0),p(v,_,z,"≜","\\triangleq",!0),p(v,_,z,"∼","\\thicksim"),p(v,_,z,"≈","\\thickapprox"),p(v,_,z,"⫆","\\supseteqq",!0),p(v,_,z,"⋑","\\Supset",!0),p(v,_,z,"⊐","\\sqsupset",!0),p(v,_,z,"≽","\\succcurlyeq",!0),p(v,_,z,"⋟","\\curlyeqsucc",!0),p(v,_,z,"≿","\\succsim",!0),p(v,_,z,"⪸","\\succapprox",!0),p(v,_,z,"⊳","\\vartriangleright"),p(v,_,z,"⊵","\\trianglerighteq"),p(v,_,z,"⊩","\\Vdash",!0),p(v,_,z,"∣","\\shortmid"),p(v,_,z,"∥","\\shortparallel"),p(v,_,z,"≬","\\between",!0),p(v,_,z,"⋔","\\pitchfork",!0),p(v,_,z,"∝","\\varpropto"),p(v,_,z,"◀","\\blacktriangleleft"),p(v,_,z,"∴","\\therefore",!0),p(v,_,z,"∍","\\backepsilon"),p(v,_,z,"▶","\\blacktriangleright"),p(v,_,z,"∵","\\because",!0),p(v,_,z,"⋘","\\llless"),p(v,_,z,"⋙","\\gggtr"),p(v,_,he,"⊲","\\lhd"),p(v,_,he,"⊳","\\rhd"),p(v,_,z,"≂","\\eqsim",!0),p(v,S,z,"⋈","\\Join"),p(v,_,z,"≑","\\Doteq",!0),p(v,_,he,"∔","\\dotplus",!0),p(v,_,he,"∖","\\smallsetminus"),p(v,_,he,"⋒","\\Cap",!0),p(v,_,he,"⋓","\\Cup",!0),p(v,_,he,"⩞","\\doublebarwedge",!0),p(v,_,he,"⊟","\\boxminus",!0),p(v,_,he,"⊞","\\boxplus",!0),p(v,_,he,"⋇","\\divideontimes",!0),p(v,_,he,"⋉","\\ltimes",!0),p(v,_,he,"⋊","\\rtimes",!0),p(v,_,he,"⋋","\\leftthreetimes",!0),p(v,_,he,"⋌","\\rightthreetimes",!0),p(v,_,he,"⋏","\\curlywedge",!0),p(v,_,he,"⋎","\\curlyvee",!0),p(v,_,he,"⊝","\\circleddash",!0),p(v,_,he,"⊛","\\circledast",!0),p(v,_,he,"⋅","\\centerdot"),p(v,_,he,"⊺","\\intercal",!0),p(v,_,he,"⋒","\\doublecap"),p(v,_,he,"⋓","\\doublecup"),p(v,_,he,"⊠","\\boxtimes",!0),p(v,_,z,"⇢","\\dashrightarrow",!0),p(v,_,z,"⇠","\\dashleftarrow",!0),p(v,_,z,"⇇","\\leftleftarrows",!0),p(v,_,z,"⇆","\\leftrightarrows",!0),p(v,_,z,"⇚","\\Lleftarrow",!0),p(v,_,z,"↞","\\twoheadleftarrow",!0),p(v,_,z,"↢","\\leftarrowtail",!0),p(v,_,z,"↫","\\looparrowleft",!0),p(v,_,z,"⇋","\\leftrightharpoons",!0),p(v,_,z,"↶","\\curvearrowleft",!0),p(v,_,z,"↺","\\circlearrowleft",!0),p(v,_,z,"↰","\\Lsh",!0),p(v,_,z,"⇈","\\upuparrows",!0),p(v,_,z,"↿","\\upharpoonleft",!0),p(v,_,z,"⇃","\\downharpoonleft",!0),p(v,S,z,"⊶","\\origof",!0),p(v,S,z,"⊷","\\imageof",!0),p(v,_,z,"⊸","\\multimap",!0),p(v,_,z,"↭","\\leftrightsquigarrow",!0),p(v,_,z,"⇉","\\rightrightarrows",!0),p(v,_,z,"⇄","\\rightleftarrows",!0),p(v,_,z,"↠","\\twoheadrightarrow",!0),p(v,_,z,"↣","\\rightarrowtail",!0),p(v,_,z,"↬","\\looparrowright",!0),p(v,_,z,"↷","\\curvearrowright",!0),p(v,_,z,"↻","\\circlearrowright",!0),p(v,_,z,"↱","\\Rsh",!0),p(v,_,z,"⇊","\\downdownarrows",!0),p(v,_,z,"↾","\\upharpoonright",!0),p(v,_,z,"⇂","\\downharpoonright",!0),p(v,_,z,"⇝","\\rightsquigarrow",!0),p(v,_,z,"⇝","\\leadsto"),p(v,_,z,"⇛","\\Rrightarrow",!0),p(v,_,z,"↾","\\restriction"),p(v,S,R,"‘","`"),p(v,S,R,"$","\\$"),p(Q,S,R,"$","\\$"),p(Q,S,R,"$","\\textdollar"),p(v,S,R,"%","\\%"),p(Q,S,R,"%","\\%"),p(v,S,R,"_","\\_"),p(Q,S,R,"_","\\_"),p(Q,S,R,"_","\\textunderscore"),p(v,S,R,"∠","\\angle",!0),p(v,S,R,"∞","\\infty",!0),p(v,S,R,"′","\\prime"),p(v,S,R,"△","\\triangle"),p(v,S,R,"Γ","\\Gamma",!0),p(v,S,R,"Δ","\\Delta",!0),p(v,S,R,"Θ","\\Theta",!0),p(v,S,R,"Λ","\\Lambda",!0),p(v,S,R,"Ξ","\\Xi",!0),p(v,S,R,"Π","\\Pi",!0),p(v,S,R,"Σ","\\Sigma",!0),p(v,S,R,"Υ","\\Upsilon",!0),p(v,S,R,"Φ","\\Phi",!0),p(v,S,R,"Ψ","\\Psi",!0),p(v,S,R,"Ω","\\Omega",!0),p(v,S,R,"A","Α"),p(v,S,R,"B","Β"),p(v,S,R,"E","Ε"),p(v,S,R,"Z","Ζ"),p(v,S,R,"H","Η"),p(v,S,R,"I","Ι"),p(v,S,R,"K","Κ"),p(v,S,R,"M","Μ"),p(v,S,R,"N","Ν"),p(v,S,R,"O","Ο"),p(v,S,R,"P","Ρ"),p(v,S,R,"T","Τ"),p(v,S,R,"X","Χ"),p(v,S,R,"¬","\\neg",!0),p(v,S,R,"¬","\\lnot"),p(v,S,R,"⊤","\\top"),p(v,S,R,"⊥","\\bot"),p(v,S,R,"∅","\\emptyset"),p(v,_,R,"∅","\\varnothing"),p(v,S,ge,"α","\\alpha",!0),p(v,S,ge,"β","\\beta",!0),p(v,S,ge,"γ","\\gamma",!0),p(v,S,ge,"δ","\\delta",!0),p(v,S,ge,"ϵ","\\epsilon",!0),p(v,S,ge,"ζ","\\zeta",!0),p(v,S,ge,"η","\\eta",!0),p(v,S,ge,"θ","\\theta",!0),p(v,S,ge,"ι","\\iota",!0),p(v,S,ge,"κ","\\kappa",!0),p(v,S,ge,"λ","\\lambda",!0),p(v,S,ge,"μ","\\mu",!0),p(v,S,ge,"ν","\\nu",!0),p(v,S,ge,"ξ","\\xi",!0),p(v,S,ge,"ο","\\omicron",!0),p(v,S,ge,"π","\\pi",!0),p(v,S,ge,"ρ","\\rho",!0),p(v,S,ge,"σ","\\sigma",!0),p(v,S,ge,"τ","\\tau",!0),p(v,S,ge,"υ","\\upsilon",!0),p(v,S,ge,"ϕ","\\phi",!0),p(v,S,ge,"χ","\\chi",!0),p(v,S,ge,"ψ","\\psi",!0),p(v,S,ge,"ω","\\omega",!0),p(v,S,ge,"ε","\\varepsilon",!0),p(v,S,ge,"ϑ","\\vartheta",!0),p(v,S,ge,"ϖ","\\varpi",!0),p(v,S,ge,"ϱ","\\varrho",!0),p(v,S,ge,"ς","\\varsigma",!0),p(v,S,ge,"φ","\\varphi",!0),p(v,S,he,"∗","*",!0),p(v,S,he,"+","+"),p(v,S,he,"−","-",!0),p(v,S,he,"⋅","\\cdot",!0),p(v,S,he,"∘","\\circ",!0),p(v,S,he,"÷","\\div",!0),p(v,S,he,"±","\\pm",!0),p(v,S,he,"×","\\times",!0),p(v,S,he,"∩","\\cap",!0),p(v,S,he,"∪","\\cup",!0),p(v,S,he,"∖","\\setminus",!0),p(v,S,he,"∧","\\land"),p(v,S,he,"∨","\\lor"),p(v,S,he,"∧","\\wedge",!0),p(v,S,he,"∨","\\vee",!0),p(v,S,R,"√","\\surd"),p(v,S,Ar,"⟨","\\langle",!0),p(v,S,Ar,"∣","\\lvert"),p(v,S,Ar,"∥","\\lVert"),p(v,S,cr,"?","?"),p(v,S,cr,"!","!"),p(v,S,cr,"⟩","\\rangle",!0),p(v,S,cr,"∣","\\rvert"),p(v,S,cr,"∥","\\rVert"),p(v,S,z,"=","="),p(v,S,z,":",":"),p(v,S,z,"≈","\\approx",!0),p(v,S,z,"≅","\\cong",!0),p(v,S,z,"≥","\\ge"),p(v,S,z,"≥","\\geq",!0),p(v,S,z,"←","\\gets"),p(v,S,z,">","\\gt",!0),p(v,S,z,"∈","\\in",!0),p(v,S,z,"","\\@not"),p(v,S,z,"⊂","\\subset",!0),p(v,S,z,"⊃","\\supset",!0),p(v,S,z,"⊆","\\subseteq",!0),p(v,S,z,"⊇","\\supseteq",!0),p(v,_,z,"⊈","\\nsubseteq",!0),p(v,_,z,"⊉","\\nsupseteq",!0),p(v,S,z,"⊨","\\models"),p(v,S,z,"←","\\leftarrow",!0),p(v,S,z,"≤","\\le"),p(v,S,z,"≤","\\leq",!0),p(v,S,z,"<","\\lt",!0),p(v,S,z,"→","\\rightarrow",!0),p(v,S,z,"→","\\to"),p(v,_,z,"≱","\\ngeq",!0),p(v,_,z,"≰","\\nleq",!0),p(v,S,Zr," ","\\ "),p(v,S,Zr," ","\\space"),p(v,S,Zr," ","\\nobreakspace"),p(Q,S,Zr," ","\\ "),p(Q,S,Zr," "," "),p(Q,S,Zr," ","\\space"),p(Q,S,Zr," ","\\nobreakspace"),p(v,S,Zr,null,"\\nobreak"),p(v,S,Zr,null,"\\allowbreak"),p(v,S,x0,",",","),p(v,S,x0,";",";"),p(v,_,he,"⊼","\\barwedge",!0),p(v,_,he,"⊻","\\veebar",!0),p(v,S,he,"⊙","\\odot",!0),p(v,S,he,"⊕","\\oplus",!0),p(v,S,he,"⊗","\\otimes",!0),p(v,S,R,"∂","\\partial",!0),p(v,S,he,"⊘","\\oslash",!0),p(v,_,he,"⊚","\\circledcirc",!0),p(v,_,he,"⊡","\\boxdot",!0),p(v,S,he,"△","\\bigtriangleup"),p(v,S,he,"▽","\\bigtriangledown"),p(v,S,he,"†","\\dagger"),p(v,S,he,"⋄","\\diamond"),p(v,S,he,"⋆","\\star"),p(v,S,he,"◃","\\triangleleft"),p(v,S,he,"▹","\\triangleright"),p(v,S,Ar,"{","\\{"),p(Q,S,R,"{","\\{"),p(Q,S,R,"{","\\textbraceleft"),p(v,S,cr,"}","\\}"),p(Q,S,R,"}","\\}"),p(Q,S,R,"}","\\textbraceright"),p(v,S,Ar,"{","\\lbrace"),p(v,S,cr,"}","\\rbrace"),p(v,S,Ar,"[","\\lbrack",!0),p(Q,S,R,"[","\\lbrack",!0),p(v,S,cr,"]","\\rbrack",!0),p(Q,S,R,"]","\\rbrack",!0),p(v,S,Ar,"(","\\lparen",!0),p(v,S,cr,")","\\rparen",!0),p(Q,S,R,"<","\\textless",!0),p(Q,S,R,">","\\textgreater",!0),p(v,S,Ar,"⌊","\\lfloor",!0),p(v,S,cr,"⌋","\\rfloor",!0),p(v,S,Ar,"⌈","\\lceil",!0),p(v,S,cr,"⌉","\\rceil",!0),p(v,S,R,"\\","\\backslash"),p(v,S,R,"∣","|"),p(v,S,R,"∣","\\vert"),p(Q,S,R,"|","\\textbar",!0),p(v,S,R,"∥","\\|"),p(v,S,R,"∥","\\Vert"),p(Q,S,R,"∥","\\textbardbl"),p(Q,S,R,"~","\\textasciitilde"),p(Q,S,R,"\\","\\textbackslash"),p(Q,S,R,"^","\\textasciicircum"),p(v,S,z,"↑","\\uparrow",!0),p(v,S,z,"⇑","\\Uparrow",!0),p(v,S,z,"↓","\\downarrow",!0),p(v,S,z,"⇓","\\Downarrow",!0),p(v,S,z,"↕","\\updownarrow",!0),p(v,S,z,"⇕","\\Updownarrow",!0),p(v,S,Ke,"∐","\\coprod"),p(v,S,Ke,"⋁","\\bigvee"),p(v,S,Ke,"⋀","\\bigwedge"),p(v,S,Ke,"⨄","\\biguplus"),p(v,S,Ke,"⋂","\\bigcap"),p(v,S,Ke,"⋃","\\bigcup"),p(v,S,Ke,"∫","\\int"),p(v,S,Ke,"∫","\\intop"),p(v,S,Ke,"∬","\\iint"),p(v,S,Ke,"∭","\\iiint"),p(v,S,Ke,"∏","\\prod"),p(v,S,Ke,"∑","\\sum"),p(v,S,Ke,"⨂","\\bigotimes"),p(v,S,Ke,"⨁","\\bigoplus"),p(v,S,Ke,"⨀","\\bigodot"),p(v,S,Ke,"∮","\\oint"),p(v,S,Ke,"∯","\\oiint"),p(v,S,Ke,"∰","\\oiiint"),p(v,S,Ke,"⨆","\\bigsqcup"),p(v,S,Ke,"∫","\\smallint"),p(Q,S,M0,"…","\\textellipsis"),p(v,S,M0,"…","\\mathellipsis"),p(Q,S,M0,"…","\\ldots",!0),p(v,S,M0,"…","\\ldots",!0),p(v,S,M0,"⋯","\\@cdots",!0),p(v,S,M0,"⋱","\\ddots",!0),p(v,S,R,"⋮","\\varvdots"),p(v,S,Ue,"ˊ","\\acute"),p(v,S,Ue,"ˋ","\\grave"),p(v,S,Ue,"¨","\\ddot"),p(v,S,Ue,"~","\\tilde"),p(v,S,Ue,"ˉ","\\bar"),p(v,S,Ue,"˘","\\breve"),p(v,S,Ue,"ˇ","\\check"),p(v,S,Ue,"^","\\hat"),p(v,S,Ue,"⃗","\\vec"),p(v,S,Ue,"˙","\\dot"),p(v,S,Ue,"˚","\\mathring"),p(v,S,ge,"","\\@imath"),p(v,S,ge,"","\\@jmath"),p(v,S,R,"ı","ı"),p(v,S,R,"ȷ","ȷ"),p(Q,S,R,"ı","\\i",!0),p(Q,S,R,"ȷ","\\j",!0),p(Q,S,R,"ß","\\ss",!0),p(Q,S,R,"æ","\\ae",!0),p(Q,S,R,"œ","\\oe",!0),p(Q,S,R,"ø","\\o",!0),p(Q,S,R,"Æ","\\AE",!0),p(Q,S,R,"Œ","\\OE",!0),p(Q,S,R,"Ø","\\O",!0),p(Q,S,Ue,"ˊ","\\'"),p(Q,S,Ue,"ˋ","\\`"),p(Q,S,Ue,"ˆ","\\^"),p(Q,S,Ue,"˜","\\~"),p(Q,S,Ue,"ˉ","\\="),p(Q,S,Ue,"˘","\\u"),p(Q,S,Ue,"˙","\\."),p(Q,S,Ue,"¸","\\c"),p(Q,S,Ue,"˚","\\r"),p(Q,S,Ue,"ˇ","\\v"),p(Q,S,Ue,"¨",'\\"'),p(Q,S,Ue,"˝","\\H"),p(Q,S,Ue,"◯","\\textcircled");var j0={"--":!0,"---":!0,"``":!0,"''":!0};p(Q,S,R,"–","--",!0),p(Q,S,R,"–","\\textendash"),p(Q,S,R,"—","---",!0),p(Q,S,R,"—","\\textemdash"),p(Q,S,R,"‘","`",!0),p(Q,S,R,"‘","\\textquoteleft"),p(Q,S,R,"’","'",!0),p(Q,S,R,"’","\\textquoteright"),p(Q,S,R,"“","``",!0),p(Q,S,R,"“","\\textquotedblleft"),p(Q,S,R,"”","''",!0),p(Q,S,R,"”","\\textquotedblright"),p(v,S,R,"°","\\degree",!0),p(Q,S,R,"°","\\degree"),p(Q,S,R,"°","\\textdegree",!0),p(v,S,R,"£","\\pounds"),p(v,S,R,"£","\\mathsterling",!0),p(Q,S,R,"£","\\pounds"),p(Q,S,R,"£","\\textsterling",!0),p(v,_,R,"✠","\\maltese"),p(Q,_,R,"✠","\\maltese");for(var xt='0123456789/@."',ln=0;ln0)return Lr(s,E,u,t,m.concat(F));if(C){var $,Y;if(C==="boldsymbol"){var j=Za(s,u,t,m,n);$=j.fontName,Y=[j.fontClass]}else b?($=vi[C].fontName,Y=[C]):($=Ct(C,t.fontWeight,t.fontShape),Y=[C,t.fontWeight,t.fontShape]);if(St(s,$,u).metrics)return Lr(s,$,u,t,m.concat(Y));if(j0.hasOwnProperty(s)&&$.slice(0,10)==="Typewriter"){for(var ie=[],le=0;let&&(t=m.height),m.depth>n&&(n=m.depth),m.maxFontSize>u&&(u=m.maxFontSize)}r.height=t,r.depth=n,r.maxFontSize=u},lr=function(r,t,n,u){var s=new Y0(r,t,n,u);return sn(s),s},di=function(r,t,n,u){return new Y0(r,t,n,u)},ru=function(r,t,n){var u=lr([r],[],t);return u.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),u.style.borderBottomWidth=ae(u.height),u.maxFontSize=1,u},tu=function(r,t,n,u){var s=new gt(r,t,n,u);return sn(s),s},mi=function(r){var t=new Rr(r);return sn(t),t},nu=function(r,t){return r instanceof Rr?lr([],[r],t):r},iu=function(r){if(r.positionType==="individualShift"){for(var t=r.children,n=[t[0]],u=-t[0].shift-t[0].elem.depth,s=u,m=1;m0&&(s.push(Mt(m,r)),m=[]),s.push(n[b]));m.length>0&&s.push(Mt(m,r));var E;t?(E=Mt(rr(t,r,!0)),E.classes=["tag"],s.push(E)):u&&s.push(u);var F=$r(["katex-html"],s);if(F.setAttribute("aria-hidden","true"),E){var U=E.children[0];U.style.height=ae(F.height+F.depth),F.depth&&(U.style.verticalAlign=ae(-F.depth))}return F}function Tt(d){return new Rr(d)}var _r=function(){function d(t,n,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=u||[]}var r=d.prototype;return r.setAttribute=function(n,u){this.attributes[n]=u},r.getAttribute=function(n){return this.attributes[n]},r.toNode=function(){var n=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&n.setAttribute(u,this.attributes[u]);this.classes.length>0&&(n.className=t0(this.classes));for(var s=0;s0&&(n+=' class ="'+K.escape(t0(this.classes))+'"'),n+=">";for(var s=0;s",n},r.toText=function(){return this.children.map(function(n){return n.toText()}).join("")},d}(),rt=function(){function d(t){this.text=void 0,this.text=t}var r=d.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return K.escape(this.toText())},r.toText=function(){return this.text},d}(),bi=function(){function d(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}var r=d.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var n=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return n.setAttribute("width",ae(this.width)),n},r.toMarkup=function(){return this.character?""+this.character+"":''},r.toText=function(){return this.character?this.character:" "},d}(),te={MathNode:_r,TextNode:rt,SpaceNode:bi,newDocumentFragment:Tt},kr=function(r,t,n){return Ve[t][r]&&Ve[t][r].replace&&r.charCodeAt(0)!==55349&&!(j0.hasOwnProperty(r)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(r=Ve[t][r].replace),new te.TextNode(r)},cn=function(r){return r.length===1?r[0]:new te.MathNode("mrow",r)},hn=function(r,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var n=t.font;if(!n||n==="mathnormal")return null;var u=r.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return r.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var s=r.text;if(K.contains(["\\imath","\\jmath"],s))return null;Ve[u][s]&&Ve[u][s].replace&&(s=Ve[u][s].replace);var m=V.fontMap[n].fontName;return mt(s,m,u)?V.fontMap[n].variant:null},yr=function(r,t,n){if(r.length===1){var u=Pe(r[0],t);return n&&u instanceof _r&&u.type==="mo"&&(u.setAttribute("lspace","0em"),u.setAttribute("rspace","0em")),[u]}for(var s=[],m,b=0;b0&&(j.text=j.text.slice(0,1)+"̸"+j.text.slice(1),s.pop())}}}s.push(C),m=C}return s},a0=function(r,t,n){return cn(yr(r,t,n))},Pe=function(r,t){if(!r)return new te.MathNode("mrow");if(Et[r.type]){var n=Et[r.type](r,t);return n}else throw new k("Got group of unknown type: '"+r.type+"'")};function wi(d,r,t,n,u){var s=yr(d,t),m;s.length===1&&s[0]instanceof _r&&K.contains(["mrow","mtable"],s[0].type)?m=s[0]:m=new te.MathNode("mrow",s);var b=new te.MathNode("annotation",[new te.TextNode(r)]);b.setAttribute("encoding","application/x-tex");var C=new te.MathNode("semantics",[m,b]),E=new te.MathNode("math",[C]);E.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&E.setAttribute("display","block");var F=u?"katex":"katex-mathml";return V.makeSpan([F],[E])}var Ai=function(r){return new ii({style:r.displayMode?ue.DISPLAY:ue.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},ki=function(r,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),r=V.makeSpan(n,[r])}return r},hu=function(r,t,n){var u=Ai(n),s;if(n.output==="mathml")return wi(r,t,u,n.displayMode,!0);if(n.output==="html"){var m=et(r,u);s=V.makeSpan(["katex"],[m])}else{var b=wi(r,t,u,n.displayMode,!1),C=et(r,u);s=V.makeSpan(["katex"],[b,C])}return ki(s,n)},fu=function(r,t,n){var u=Ai(n),s=et(r,u),m=V.makeSpan(["katex"],[s]);return ki(m,n)},pu={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},nr=function(r){var t=new te.MathNode("mo",[new te.TextNode(pu[r.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Si={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},tt=function(r){return r.type==="ordgroup"?r.body.length:1},fr=function(r,t){function n(){var C=4e5,E=r.label.slice(1);if(K.contains(["widehat","widecheck","widetilde","utilde"],E)){var F=r,U=tt(F.base),$,Y,j;if(U>5)E==="widehat"||E==="widecheck"?($=420,C=2364,j=.42,Y=E+"4"):($=312,C=2340,j=.34,Y="tilde4");else{var ie=[1,1,2,2,3,3][U];E==="widehat"||E==="widecheck"?(C=[0,1062,2364,2364,2364][ie],$=[0,239,300,360,420][ie],j=[0,.24,.3,.3,.36,.42][ie],Y=E+ie):(C=[0,600,1033,2339,2340][ie],$=[0,260,286,306,312][ie],j=[0,.26,.286,.3,.306,.34][ie],Y="tilde"+ie)}var le=new Wr(Y),fe=new Or([le],{width:"100%",height:ae(j),viewBox:"0 0 "+C+" "+$,preserveAspectRatio:"none"});return{span:V.makeSvgSpan([],[fe],t),minWidth:0,height:j}}else{var de=[],ve=Si[E],ze=ve[0],Ce=ve[1],qe=ve[2],Ne=qe/1e3,Ie=ze.length,He,Qe;if(Ie===1){var Sr=ve[3];He=["hide-tail"],Qe=[Sr]}else if(Ie===2)He=["halfarrow-left","halfarrow-right"],Qe=["xMinYMin","xMaxYMin"];else if(Ie===3)He=["brace-left","brace-center","brace-right"],Qe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
    -                    `+Ie+" children.");for(var je=0;je0&&(s.style.minWidth=ae(m)),s},fn=function(r,t,n,u,s){var m,b=r.height+r.depth+n+u;if(/fbox|color|angl/.test(t)){if(m=V.makeSpan(["stretchy",t],[],s),t==="fbox"){var C=s.color&&s.getColor();C&&(m.style.borderColor=C)}}else{var E=[];/^[bx]cancel$/.test(t)&&E.push(new Kr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&E.push(new Kr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var F=new Or(E,{width:"100%",height:ae(b)});m=V.makeSvgSpan([],[F],s)}return m.height=b,m.style.height=ae(b),m},Pr={encloseSpan:fn,mathMLnode:nr,svgSpan:fr};function Ee(d,r){if(!d||d.type!==r)throw new Error("Expected node of type "+r+", but got "+(d?"node of type "+d.type:String(d)));return d}function pn(d){var r=_t(d);if(!r)throw new Error("Expected node of symbol group type, but got "+(d?"node of type "+d.type:String(d)));return r}function _t(d){return d&&(d.type==="atom"||ja.hasOwnProperty(d.type))?d:null}var dn=function(r,t){var n,u,s;r&&r.type==="supsub"?(u=Ee(r.base,"accent"),n=u.base,r.base=n,s=Ya(Fe(r,t)),r.base=u):(u=Ee(r,"accent"),n=u.base);var m=Fe(n,t.havingCrampedStyle()),b=u.isShifty&&K.isCharacterBox(n),C=0;if(b){var E=K.getBaseElem(n),F=Fe(E,t.havingCrampedStyle());C=si(F).skew}var U=u.label==="\\c",$=U?m.height+m.depth:Math.min(m.height,t.fontMetrics().xHeight),Y;if(u.isStretchy)Y=Pr.svgSpan(u,t),Y=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"elem",elem:Y,wrapperClasses:["svg-align"],wrapperStyle:C>0?{width:"calc(100% - "+ae(2*C)+")",marginLeft:ae(2*C)}:void 0}]},t);else{var j,ie;u.label==="\\vec"?(j=V.staticSvg("vec",t),ie=V.svgData.vec[1]):(j=V.makeOrd({mode:u.mode,text:u.label},t,"textord"),j=si(j),j.italic=0,ie=j.width,U&&($+=j.depth)),Y=V.makeSpan(["accent-body"],[j]);var le=u.label==="\\textcircled";le&&(Y.classes.push("accent-full"),$=m.height);var fe=C;le||(fe-=ie/2),Y.style.left=ae(fe),u.label==="\\textcircled"&&(Y.style.top=".2em"),Y=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:-$},{type:"elem",elem:Y}]},t)}var de=V.makeSpan(["mord","accent"],[Y],t);return s?(s.children[0]=de,s.height=Math.max(de.height,s.height),s.classes[0]="mord",s):de},Ci=function(r,t){var n=r.isStretchy?Pr.mathMLnode(r.label):new te.MathNode("mo",[kr(r.label,r.mode)]),u=new te.MathNode("mover",[Pe(r.base,t),n]);return u.setAttribute("accent","true"),u},du=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(d){return"\\"+d}).join("|"));oe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(r,t){var n=Bt(t[0]),u=!du.test(r.funcName),s=!u||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:u,isShifty:s,base:n}},htmlBuilder:dn,mathmlBuilder:Ci}),oe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(r,t){var n=t[0],u=r.parser.mode;return u==="math"&&(r.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+r.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:r.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:dn,mathmlBuilder:Ci}),oe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"accentUnder",mode:n.mode,label:u,base:s}},htmlBuilder:function(r,t){var n=Fe(r.base,t),u=Pr.svgSpan(r,t),s=r.label==="\\utilde"?.12:0,m=V.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:n}]},t);return V.makeSpan(["mord","accentunder"],[m],t)},mathmlBuilder:function(r,t){var n=Pr.mathMLnode(r.label),u=new te.MathNode("munder",[Pe(r.base,t),n]);return u.setAttribute("accentunder","true"),u}});var tr=function(r){var t=new te.MathNode("mpadded",r?[r]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};oe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,t,n){var u=r.parser,s=r.funcName;return{type:"xArrow",mode:u.mode,label:s,body:t[0],below:n[0]}},htmlBuilder:function(r,t){var n=t.style,u=t.havingStyle(n.sup()),s=V.wrapFragment(Fe(r.body,u,t),t),m=r.label.slice(0,2)==="\\x"?"x":"cd";s.classes.push(m+"-arrow-pad");var b;r.below&&(u=t.havingStyle(n.sub()),b=V.wrapFragment(Fe(r.below,u,t),t),b.classes.push(m+"-arrow-pad"));var C=Pr.svgSpan(r,t),E=-t.fontMetrics().axisHeight+.5*C.height,F=-t.fontMetrics().axisHeight-.5*C.height-.111;(s.depth>.25||r.label==="\\xleftequilibrium")&&(F-=s.depth);var U;if(b){var $=-t.fontMetrics().axisHeight+b.height+.5*C.height+.111;U=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:F},{type:"elem",elem:C,shift:E},{type:"elem",elem:b,shift:$}]},t)}else U=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:F},{type:"elem",elem:C,shift:E}]},t);return U.children[0].children[0].children[1].classes.push("svg-align"),V.makeSpan(["mrel","x-arrow"],[U],t)},mathmlBuilder:function(r,t){var n=Pr.mathMLnode(r.label);n.setAttribute("minsize",r.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(r.body){var s=tr(Pe(r.body,t));if(r.below){var m=tr(Pe(r.below,t));u=new te.MathNode("munderover",[n,m,s])}else u=new te.MathNode("mover",[n,s])}else if(r.below){var b=tr(Pe(r.below,t));u=new te.MathNode("munder",[n,b])}else u=tr(),u=new te.MathNode("mover",[n,u]);return u}});var Di=V.makeSpan;function Ei(d,r){var t=rr(d.body,r,!0);return Di([d.mclass],t,r)}function zt(d,r){var t,n=yr(d.body,r);return d.mclass==="minner"?t=new te.MathNode("mpadded",n):d.mclass==="mord"?d.isCharacterBox?(t=n[0],t.type="mi"):t=new te.MathNode("mi",n):(d.isCharacterBox?(t=n[0],t.type="mo"):t=new te.MathNode("mo",n),d.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):d.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):d.mclass==="mopen"||d.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):d.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}oe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+u.slice(5),body:er(s),isCharacterBox:K.isCharacterBox(s)}},htmlBuilder:Ei,mathmlBuilder:zt});var nt=function(r){var t=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};oe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(r,t){var n=r.parser;return{type:"mclass",mode:n.mode,mclass:nt(t[0]),body:er(t[1]),isCharacterBox:K.isCharacterBox(t[1])}}}),oe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[1],m=t[0],b;u!=="\\stackrel"?b=nt(s):b="mrel";var C={type:"op",mode:s.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:er(s)},E={type:"supsub",mode:m.mode,base:C,sup:u==="\\underset"?null:m,sub:u==="\\underset"?m:null};return{type:"mclass",mode:n.mode,mclass:b,body:[E],isCharacterBox:K.isCharacterBox(E)}},htmlBuilder:Ei,mathmlBuilder:zt}),oe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser;return{type:"pmb",mode:n.mode,mclass:nt(t[0]),body:er(t[0])}},htmlBuilder:function(r,t){var n=rr(r.body,t,!0),u=V.makeSpan([r.mclass],n,t);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder:function(r,t){var n=yr(r.body,t),u=new te.MathNode("mstyle",n);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var Bi={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},mn=function(){return{type:"styling",body:[],mode:"math",style:"display"}},vn=function(r){return r.type==="textord"&&r.text==="@"},Mi=function(r,t){return(r.type==="mathord"||r.type==="atom")&&r.text===t};function mu(d,r,t){var n=Bi[d];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(n,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":{var u=t.callFunction("\\\\cdleft",[r[0]],[]),s={type:"atom",text:n,mode:"math",family:"rel"},m=t.callFunction("\\Big",[s],[]),b=t.callFunction("\\\\cdright",[r[1]],[]),C={type:"ordgroup",mode:"math",body:[u,m,b]};return t.callFunction("\\\\cdparent",[C],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var E={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[E],[])}default:return{type:"textord",text:" ",mode:"math"}}}function vu(d){var r=[];for(d.gullet.beginGroup(),d.gullet.macros.set("\\cr","\\\\\\relax"),d.gullet.beginGroup();;){r.push(d.parseExpression(!1,"\\\\")),d.gullet.endGroup(),d.gullet.beginGroup();var t=d.fetch().text;if(t==="&"||t==="\\\\")d.consume();else if(t==="\\end"){r[r.length-1].length===0&&r.pop();break}else throw new k("Expected \\\\ or \\cr or \\end",d.nextToken)}for(var n=[],u=[n],s=0;s-1))if("<>AV".indexOf(E)>-1)for(var U=0;U<2;U++){for(var $=!0,Y=C+1;YAV=|." after @',m[C]);var j=mu(E,F,d),ie={type:"styling",body:[j],mode:"math",style:"display"};n.push(ie),b=mn()}s%2===0?n.push(b):n.shift(),n=[],u.push(n)}d.gullet.endGroup(),d.gullet.endGroup();var le=new Array(u[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:u,arraystretch:1,addJot:!0,rowGaps:[null],cols:le,colSeparationType:"CD",hLinesBeforeRow:new Array(u.length+1).fill([])}}oe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName;return{type:"cdlabel",mode:n.mode,side:u.slice(4),label:t[0]}},htmlBuilder:function(r,t){var n=t.havingStyle(t.style.sup()),u=V.wrapFragment(Fe(r.label,n,t),t);return u.classes.push("cd-label-"+r.side),u.style.bottom=ae(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder:function(r,t){var n=new te.MathNode("mrow",[Pe(r.label,t)]);return n=new te.MathNode("mpadded",[n]),n.setAttribute("width","0"),r.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new te.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),oe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(r,t){var n=r.parser;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder:function(r,t){var n=V.wrapFragment(Fe(r.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:function(r,t){return new te.MathNode("mrow",[Pe(r.fragment,t)])}}),oe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){for(var n=r.parser,u=Ee(t[0],"ordgroup"),s=u.body,m="",b=0;b=1114111)throw new k("\\@char with invalid code point "+m);return E<=65535?F=String.fromCharCode(E):(E-=65536,F=String.fromCharCode((E>>10)+55296,(E&1023)+56320)),{type:"textord",mode:n.mode,text:F}}});var Ti=function(r,t){var n=rr(r.body,t.withColor(r.color),!1);return V.makeFragment(n)},gn=function(r,t){var n=yr(r.body,t.withColor(r.color)),u=new te.MathNode("mstyle",n);return u.setAttribute("mathcolor",r.color),u};oe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(r,t){var n=r.parser,u=Ee(t[0],"color-token").color,s=t[1];return{type:"color",mode:n.mode,color:u,body:er(s)}},htmlBuilder:Ti,mathmlBuilder:gn}),oe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(r,t){var n=r.parser,u=r.breakOnTokenText,s=Ee(t[0],"color-token").color;n.gullet.macros.set("\\current@color",s);var m=n.parseExpression(!0,u);return{type:"color",mode:n.mode,color:s,body:m}},htmlBuilder:Ti,mathmlBuilder:gn}),oe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(r,t,n){var u=r.parser,s=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,m=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:m,size:s&&Ee(s,"size").value}},htmlBuilder:function(r,t){var n=V.makeSpan(["mspace"],[],t);return r.newLine&&(n.classes.push("newline"),r.size&&(n.style.marginTop=ae(Ye(r.size,t)))),n},mathmlBuilder:function(r,t){var n=new te.MathNode("mspace");return r.newLine&&(n.setAttribute("linebreak","newline"),r.size&&n.setAttribute("height",ae(Ye(r.size,t)))),n}});var xn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},_i=function(r){var t=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new k("Expected a control sequence",r);return t},gu=function(r){var t=r.gullet.popToken();return t.text==="="&&(t=r.gullet.popToken(),t.text===" "&&(t=r.gullet.popToken())),t},yn=function(r,t,n,u){var s=r.gullet.macros.get(n.text);s==null&&(n.noexpand=!0,s={tokens:[n],numArgs:0,unexpandable:!r.gullet.isExpandable(n.text)}),r.gullet.macros.set(t,s,u)};oe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(r){var t=r.parser,n=r.funcName;t.consumeSpaces();var u=t.fetch();if(xn[u.text])return(n==="\\global"||n==="\\\\globallong")&&(u.text=xn[u.text]),Ee(t.parseFunction(),"internal");throw new k("Invalid token after macro prefix",u)}}),oe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,n=r.funcName,u=t.gullet.popToken(),s=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new k("Expected a control sequence",u);for(var m=0,b,C=[[]];t.gullet.future().text!=="{";)if(u=t.gullet.popToken(),u.text==="#"){if(t.gullet.future().text==="{"){b=t.gullet.future(),C[m].push("{");break}if(u=t.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new k('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==m+1)throw new k('Argument number "'+u.text+'" out of order');m++,C.push([])}else{if(u.text==="EOF")throw new k("Expected a macro definition");C[m].push(u.text)}var E=t.gullet.consumeArg(),F=E.tokens;return b&&F.unshift(b),(n==="\\edef"||n==="\\xdef")&&(F=t.gullet.expandTokens(F),F.reverse()),t.gullet.macros.set(s,{tokens:F,numArgs:m,delimiters:C},n===xn[n]),{type:"internal",mode:t.mode}}}),oe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,n=r.funcName,u=_i(t.gullet.popToken());t.gullet.consumeSpaces();var s=gu(t);return yn(t,u,s,n==="\\\\globallet"),{type:"internal",mode:t.mode}}}),oe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,n=r.funcName,u=_i(t.gullet.popToken()),s=t.gullet.popToken(),m=t.gullet.popToken();return yn(t,u,m,n==="\\\\globalfuture"),t.gullet.pushToken(m),t.gullet.pushToken(s),{type:"internal",mode:t.mode}}});var it=function(r,t,n){var u=Ve.math[r]&&Ve.math[r].replace,s=mt(u||r,t,n);if(!s)throw new Error("Unsupported symbol "+r+" and font size "+t+".");return s},bn=function(r,t,n,u){var s=n.havingBaseStyle(t),m=V.makeSpan(u.concat(s.sizingClasses(n)),[r],n),b=s.sizeMultiplier/n.sizeMultiplier;return m.height*=b,m.depth*=b,m.maxFontSize=s.sizeMultiplier,m},zi=function(r,t,n){var u=t.havingBaseStyle(n),s=(1-t.sizeMultiplier/u.sizeMultiplier)*t.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=ae(s),r.height-=s,r.depth+=s},xu=function(r,t,n,u,s,m){var b=V.makeSymbol(r,"Main-Regular",s,u),C=bn(b,t,u,m);return n&&zi(C,u,t),C},yu=function(r,t,n,u){return V.makeSymbol(r,"Size"+t+"-Regular",n,u)},Fi=function(r,t,n,u,s,m){var b=yu(r,t,s,u),C=bn(V.makeSpan(["delimsizing","size"+t],[b],u),ue.TEXT,u,m);return n&&zi(C,u,ue.TEXT),C},Ft=function(r,t,n){var u;t==="Size1-Regular"?u="delim-size1":u="delim-size4";var s=V.makeSpan(["delimsizinginner",u],[V.makeSpan([],[V.makeSymbol(r,t,n)])]);return{type:"elem",elem:s}},wn=function(r,t,n){var u=xr["Size4-Regular"][r.charCodeAt(0)]?xr["Size4-Regular"][r.charCodeAt(0)][4]:xr["Size1-Regular"][r.charCodeAt(0)][4],s=new Wr("inner",nn(r,Math.round(1e3*t))),m=new Or([s],{width:ae(u),height:ae(t),style:"width:"+ae(u),viewBox:"0 0 "+1e3*u+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),b=V.makeSvgSpan([],[m],n);return b.height=t,b.style.height=ae(t),b.style.width=ae(u),{type:"elem",elem:b}},An=.008,Nt={type:"kern",size:-1*An},bu=["|","\\lvert","\\rvert","\\vert"],wu=["\\|","\\lVert","\\rVert","\\Vert"],Ni=function(r,t,n,u,s,m){var b,C,E,F,U="",$=0;b=E=F=r,C=null;var Y="Size1-Regular";r==="\\uparrow"?E=F="⏐":r==="\\Uparrow"?E=F="‖":r==="\\downarrow"?b=E="⏐":r==="\\Downarrow"?b=E="‖":r==="\\updownarrow"?(b="\\uparrow",E="⏐",F="\\downarrow"):r==="\\Updownarrow"?(b="\\Uparrow",E="‖",F="\\Downarrow"):K.contains(bu,r)?(E="∣",U="vert",$=333):K.contains(wu,r)?(E="∥",U="doublevert",$=556):r==="["||r==="\\lbrack"?(b="⎡",E="⎢",F="⎣",Y="Size4-Regular",U="lbrack",$=667):r==="]"||r==="\\rbrack"?(b="⎤",E="⎥",F="⎦",Y="Size4-Regular",U="rbrack",$=667):r==="\\lfloor"||r==="⌊"?(E=b="⎢",F="⎣",Y="Size4-Regular",U="lfloor",$=667):r==="\\lceil"||r==="⌈"?(b="⎡",E=F="⎢",Y="Size4-Regular",U="lceil",$=667):r==="\\rfloor"||r==="⌋"?(E=b="⎥",F="⎦",Y="Size4-Regular",U="rfloor",$=667):r==="\\rceil"||r==="⌉"?(b="⎤",E=F="⎥",Y="Size4-Regular",U="rceil",$=667):r==="("||r==="\\lparen"?(b="⎛",E="⎜",F="⎝",Y="Size4-Regular",U="lparen",$=875):r===")"||r==="\\rparen"?(b="⎞",E="⎟",F="⎠",Y="Size4-Regular",U="rparen",$=875):r==="\\{"||r==="\\lbrace"?(b="⎧",C="⎨",F="⎩",E="⎪",Y="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(b="⎫",C="⎬",F="⎭",E="⎪",Y="Size4-Regular"):r==="\\lgroup"||r==="⟮"?(b="⎧",F="⎩",E="⎪",Y="Size4-Regular"):r==="\\rgroup"||r==="⟯"?(b="⎫",F="⎭",E="⎪",Y="Size4-Regular"):r==="\\lmoustache"||r==="⎰"?(b="⎧",F="⎭",E="⎪",Y="Size4-Regular"):(r==="\\rmoustache"||r==="⎱")&&(b="⎫",F="⎩",E="⎪",Y="Size4-Regular");var j=it(b,Y,s),ie=j.height+j.depth,le=it(E,Y,s),fe=le.height+le.depth,de=it(F,Y,s),ve=de.height+de.depth,ze=0,Ce=1;if(C!==null){var qe=it(C,Y,s);ze=qe.height+qe.depth,Ce=2}var Ne=ie+ve+ze,Ie=Math.max(0,Math.ceil((t-Ne)/(Ce*fe))),He=Ne+Ie*Ce*fe,Qe=u.fontMetrics().axisHeight;n&&(Qe*=u.sizeMultiplier);var Sr=He/2-Qe,je=[];if(U.length>0){var c0=He-ie-ve,Cr=Math.round(He*1e3),dr=Va(U,Math.round(c0*1e3)),Qr=new Wr(U,dr),I0=($/1e3).toFixed(3)+"em",R0=(Cr/1e3).toFixed(3)+"em",Wt=new Or([Qr],{width:I0,height:R0,viewBox:"0 0 "+$+" "+Cr}),h0=V.makeSvgSpan([],[Wt],u);h0.height=Cr/1e3,h0.style.width=I0,h0.style.height=R0,je.push({type:"elem",elem:h0})}else{if(je.push(Ft(F,Y,s)),je.push(Nt),C===null){var f0=He-ie-ve+2*An;je.push(wn(E,f0,u))}else{var Dr=(He-ie-ve-ze)/2+2*An;je.push(wn(E,Dr,u)),je.push(Nt),je.push(Ft(C,Y,s)),je.push(Nt),je.push(wn(E,Dr,u))}je.push(Nt),je.push(Ft(b,Y,s))}var Er=u.havingBaseStyle(ue.TEXT),On=V.makeVList({positionType:"bottom",positionData:Sr,children:je},Er);return bn(V.makeSpan(["delimsizing","mult"],[On],Er),ue.TEXT,u,m)},qt=80,It=.08,Rt=function(r,t,n,u,s){var m=g0(r,u,n),b=new Wr(r,m),C=new Or([b],{width:"400em",height:ae(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return V.makeSvgSpan(["hide-tail"],[C],s)},qi=function(r,t){var n=t.havingBaseSizing(),u=Li("\\surd",r*n.sizeMultiplier,Ot,n),s=n.sizeMultiplier,m=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),b,C=0,E=0,F=0,U;return u.type==="small"?(F=1e3+1e3*m+qt,r<1?s=1:r<1.4&&(s=.7),C=(1+m+It)/s,E=(1+m)/s,b=Rt("sqrtMain",C,F,m,t),b.style.minWidth="0.853em",U=.833/s):u.type==="large"?(F=(1e3+qt)*at[u.size],E=(at[u.size]+m)/s,C=(at[u.size]+m+It)/s,b=Rt("sqrtSize"+u.size,C,F,m,t),b.style.minWidth="1.02em",U=1/s):(C=r+m+It,E=r+m,F=Math.floor(1e3*r+m)+qt,b=Rt("sqrtTall",C,F,m,t),b.style.minWidth="0.742em",U=1.056),b.height=E,b.style.height=ae(C),{span:b,advanceWidth:U,ruleWidth:(t.fontMetrics().sqrtRuleThickness+m)*s}},kn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Au=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Ii=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],at=[0,1.2,1.8,2.4,3],Ri=function(r,t,n,u,s){if(r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle"),K.contains(kn,r)||K.contains(Ii,r))return Fi(r,t,!1,n,u,s);if(K.contains(Au,r))return Ni(r,at[t],!1,n,u,s);throw new k("Illegal delimiter: '"+r+"'")},ku=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Oi=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"stack"}],Ot=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Su=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},Li=function(r,t,n,u){for(var s=Math.min(2,3-u.style.size),m=s;mt)return n[m]}return n[n.length-1]},Pi=function(r,t,n,u,s,m){r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle");var b;K.contains(Ii,r)?b=ku:K.contains(kn,r)?b=Ot:b=Oi;var C=Li(r,t,b,u);return C.type==="small"?xu(r,C.style,n,u,s,m):C.type==="large"?Fi(r,C.size,n,u,s,m):Ni(r,t,n,u,s,m)},Cu=function(r,t,n,u,s,m){var b=u.fontMetrics().axisHeight*u.sizeMultiplier,C=901,E=5/u.fontMetrics().ptPerEm,F=Math.max(t-b,n+b),U=Math.max(F/500*C,2*F-E);return Pi(r,U,!0,u,s,m)},Yr={sqrtImage:qi,sizedDelim:Ri,sizeToMaxHeight:at,customSizedDelim:Pi,leftRightDelim:Cu},Hi={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Du=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Lt(d,r){var t=_t(d);if(t&&K.contains(Du,t.text))return t;throw t?new k("Invalid delimiter '"+t.text+"' after '"+r.funcName+"'",d):new k("Invalid delimiter type '"+d.type+"'",d)}oe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(r,t){var n=Lt(t[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Hi[r.funcName].size,mclass:Hi[r.funcName].mclass,delim:n.text}},htmlBuilder:function(r,t){return r.delim==="."?V.makeSpan([r.mclass]):Yr.sizedDelim(r.delim,r.size,t,r.mode,[r.mclass])},mathmlBuilder:function(r){var t=[];r.delim!=="."&&t.push(kr(r.delim,r.mode));var n=new te.MathNode("mo",t);r.mclass==="mopen"||r.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var u=ae(Yr.sizeToMaxHeight[r.size]);return n.setAttribute("minsize",u),n.setAttribute("maxsize",u),n}});function Ui(d){if(!d.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}oe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(r,t){var n=r.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new k("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:Lt(t[0],r).text,color:n}}}),oe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(r,t){var n=Lt(t[0],r),u=r.parser;++u.leftrightDepth;var s=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var m=Ee(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:s,left:n.text,right:m.delim,rightColor:m.color}},htmlBuilder:function(r,t){Ui(r);for(var n=rr(r.body,t,!0,["mopen","mclose"]),u=0,s=0,m=!1,b=0;b-1?"mpadded":"menclose",[Pe(r.body,t)]);switch(r.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*n+"pt"),u.setAttribute("height","+"+2*n+"pt"),u.setAttribute("lspace",n+"pt"),u.setAttribute("voffset",n+"pt"),r.label==="\\fcolorbox"){var s=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);u.setAttribute("style","border: "+s+"em solid "+String(r.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&u.setAttribute("mathbackground",r.backgroundColor),u};oe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(r,t,n){var u=r.parser,s=r.funcName,m=Ee(t[0],"color-token").color,b=t[1];return{type:"enclose",mode:u.mode,label:s,backgroundColor:m,body:b}},htmlBuilder:Pt,mathmlBuilder:Sn}),oe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(r,t,n){var u=r.parser,s=r.funcName,m=Ee(t[0],"color-token").color,b=Ee(t[1],"color-token").color,C=t[2];return{type:"enclose",mode:u.mode,label:s,backgroundColor:b,borderColor:m,body:C}},htmlBuilder:Pt,mathmlBuilder:Sn}),oe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(r,t){var n=r.parser;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),oe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"enclose",mode:n.mode,label:u,body:s}},htmlBuilder:Pt,mathmlBuilder:Sn}),oe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(r,t){var n=r.parser;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var Vi={};function Xr(d){for(var r=d.type,t=d.names,n=d.props,u=d.handler,s=d.htmlBuilder,m=d.mathmlBuilder,b={type:r,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:u},C=0;C1||!F)&&ie.pop(),fe.length0&&(ve+=.25),E.push({pos:ve,isDashed:Zt[Jt]})}for(ze(m[0]),n=0;n0&&(Sr+=de,Ne=b)){var O0=void 0;(u>0||r.hskipBeforeAndAfter)&&(O0=K.deflt(Dr.pregap,$),O0!==0&&(dr=V.makeSpan(["arraycolsep"],[]),dr.style.width=ae(O0),Cr.push(dr)));var L0=[];for(n=0;n0){for(var Hu=V.makeLineSpan("hline",t,F),Uu=V.makeLineSpan("hdashline",t,F),Ln=[{type:"elem",elem:C,shift:0}];E.length>0;){var ga=E.pop(),xa=ga.pos-je;ga.isDashed?Ln.push({type:"elem",elem:Uu,shift:xa}):Ln.push({type:"elem",elem:Hu,shift:xa})}C=V.makeVList({positionType:"individualShift",children:Ln},t)}if(I0.length===0)return V.makeSpan(["mord"],[C],t);var Pn=V.makeVList({positionType:"individualShift",children:I0},t);return Pn=V.makeSpan(["tag"],[Pn],t),V.makeFragment([C,Pn])},Ut={c:"center ",l:"left ",r:"right "},zr=function(r,t){for(var n=[],u=new te.MathNode("mtd",[],["mtr-glue"]),s=new te.MathNode("mtd",[],["mml-eqn-num"]),m=0;m0){var j=r.cols,ie="",le=!1,fe=0,de=j.length;j[0].type==="separator"&&($+="top ",fe=1),j[j.length-1].type==="separator"&&($+="bottom ",de-=1);for(var ve=fe;ve0?"left ":"",$+=Ie[Ie.length-1].length>0?"right ":"";for(var He=1;He-1?"alignat":"align",s=r.envName==="split",m=Ur(r.parser,{cols:n,addJot:!0,autoTag:s?void 0:jr(r.envName),emptySingleRow:!0,colSeparationType:u,maxNumCols:s?2:void 0,leqno:r.parser.settings.leqno},"display"),b,C=0,E={type:"ordgroup",mode:r.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var F="",U=0;U0&&Y&&(le=1),n[j]={type:"align",align:ie,pregap:le,postgap:0}}return m.colSeparationType=Y?"align":"alignat",m};Xr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,t){var n=_t(t[0]),u=n?[t[0]]:Ee(t[0],"ordgroup").body,s=u.map(function(b){var C=pn(b),E=C.text;if("lcr".indexOf(E)!==-1)return{type:"align",align:E};if(E==="|")return{type:"separator",separator:"|"};if(E===":")return{type:"separator",separator:":"};throw new k("Unknown column alignment: "+E,b)}),m={cols:s,hskipBeforeAndAfter:!0,maxNumCols:s.length};return Ur(r.parser,m,Ht(r.envName))},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(r){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName.replace("*","")],n="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(r.envName.charAt(r.envName.length-1)==="*"){var s=r.parser;if(s.consumeSpaces(),s.fetch().text==="["){if(s.consume(),s.consumeSpaces(),n=s.fetch().text,"lcr".indexOf(n)===-1)throw new k("Expected l or c or r",s.nextToken);s.consume(),s.consumeSpaces(),s.expect("]"),s.consume(),u.cols=[{type:"align",align:n}]}}var m=Ur(r.parser,u,Ht(r.envName)),b=Math.max.apply(Math,[0].concat(m.body.map(function(C){return C.length})));return m.cols=new Array(b).fill({type:"align",align:n}),t?{type:"leftright",mode:r.mode,body:[m],left:t[0],right:t[1],rightColor:void 0}:m},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(r){var t={arraystretch:.5},n=Ur(r.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,t){var n=_t(t[0]),u=n?[t[0]]:Ee(t[0],"ordgroup").body,s=u.map(function(b){var C=pn(b),E=C.text;if("lc".indexOf(E)!==-1)return{type:"align",align:E};throw new k("Unknown column alignment: "+E,b)});if(s.length>1)throw new k("{subarray} can contain only one column");var m={cols:s,hskipBeforeAndAfter:!1,arraystretch:.5};if(m=Ur(r.parser,m,"script"),m.body.length>0&&m.body[0].length>1)throw new k("{subarray} can contain only one column");return m},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(r){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Ur(r.parser,t,Ht(r.envName));return{type:"leftright",mode:r.mode,body:[n],left:r.envName.indexOf("r")>-1?".":"\\{",right:r.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Gi,htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(r){K.contains(["gather","gather*"],r.envName)&&T0(r);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:jr(r.envName),emptySingleRow:!0,leqno:r.parser.settings.leqno};return Ur(r.parser,t,"display")},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Gi,htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(r){T0(r);var t={autoTag:jr(r.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:r.parser.settings.leqno};return Ur(r.parser,t,"display")},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["CD"],props:{numArgs:0},handler:function(r){return T0(r),vu(r.parser)},htmlBuilder:Vr,mathmlBuilder:zr}),D("\\nonumber","\\gdef\\@eqnsw{0}"),D("\\notag","\\nonumber"),oe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(r,t){throw new k(r.funcName+" valid only within array environment")}});var $i=Vi,Yi=$i;oe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];if(s.type!=="ordgroup")throw new k("Invalid environment name",s);for(var m="",b=0;b=ue.SCRIPT.id?n.text():ue.DISPLAY:r==="text"&&n.size===ue.DISPLAY.size?n=ue.TEXT:r==="script"?n=ue.SCRIPT:r==="scriptscript"&&(n=ue.SCRIPTSCRIPT),n},Vt=function(r,t){var n=Bn(r.size,t.style),u=n.fracNum(),s=n.fracDen(),m;m=t.havingStyle(u);var b=Fe(r.numer,m,t);if(r.continued){var C=8.5/t.fontMetrics().ptPerEm,E=3.5/t.fontMetrics().ptPerEm;b.height=b.height0?ie=3*Y:ie=7*Y,le=t.fontMetrics().denom1):($>0?(j=t.fontMetrics().num2,ie=Y):(j=t.fontMetrics().num3,ie=3*Y),le=t.fontMetrics().denom2);var fe;if(U){var ve=t.fontMetrics().axisHeight;j-b.depth-(ve+.5*$)0&&(t=r,t=t==="."?null:t),t};oe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(r,t){var n=r.parser,u=t[4],s=t[5],m=Bt(t[0]),b=m.type==="atom"&&m.family==="open"?pr(m.text):null,C=Bt(t[1]),E=C.type==="atom"&&C.family==="close"?pr(C.text):null,F=Ee(t[2],"size"),U,$=null;F.isBlank?U=!0:($=F.value,U=$.number>0);var Y="auto",j=t[3];if(j.type==="ordgroup"){if(j.body.length>0){var ie=Ee(j.body[0],"textord");Y=l0[Number(ie.text)]}}else j=Ee(j,"textord"),Y=l0[Number(j.text)];return{type:"genfrac",mode:n.mode,numer:u,denom:s,continued:!1,hasBarLine:U,barSize:$,leftDelim:b,rightDelim:E,size:Y}},htmlBuilder:Vt,mathmlBuilder:Fr}),oe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,t){var n=r.parser;r.funcName;var u=r.token;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ee(t[0],"size").value,token:u}}}),oe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,t){var n=r.parser;r.funcName;var u=t[0],s=ye(Ee(t[1],"infix").size),m=t[2],b=s.number>0;return{type:"genfrac",mode:n.mode,numer:u,denom:m,continued:!1,hasBarLine:b,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Vt,mathmlBuilder:Fr});var k0=function(r,t){var n=t.style,u,s;r.type==="supsub"?(u=r.sup?Fe(r.sup,t.havingStyle(n.sup()),t):Fe(r.sub,t.havingStyle(n.sub()),t),s=Ee(r.base,"horizBrace")):s=Ee(r,"horizBrace");var m=Fe(s.base,t.havingBaseStyle(ue.DISPLAY)),b=Pr.svgSpan(s,t),C;if(s.isOver?(C=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:.1},{type:"elem",elem:b}]},t),C.children[0].children[0].children[1].classes.push("svg-align")):(C=V.makeVList({positionType:"bottom",positionData:m.depth+.1+b.height,children:[{type:"elem",elem:b},{type:"kern",size:.1},{type:"elem",elem:m}]},t),C.children[0].children[0].children[0].classes.push("svg-align")),u){var E=V.makeSpan(["mord",s.isOver?"mover":"munder"],[C],t);s.isOver?C=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:E},{type:"kern",size:.2},{type:"elem",elem:u}]},t):C=V.makeVList({positionType:"bottom",positionData:E.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:E}]},t)}return V.makeSpan(["mord",s.isOver?"mover":"munder"],[C],t)},Eu=function(r,t){var n=Pr.mathMLnode(r.label);return new te.MathNode(r.isOver?"mover":"munder",[Pe(r.base,t),n])};oe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName;return{type:"horizBrace",mode:n.mode,label:u,isOver:/^\\over/.test(u),base:t[0]}},htmlBuilder:k0,mathmlBuilder:Eu}),oe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,t){var n=r.parser,u=t[1],s=Ee(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:s})?{type:"href",mode:n.mode,href:s,body:er(u)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,t){var n=rr(r.body,t,!1);return V.makeAnchor(r.href,[],n,t)},mathmlBuilder:function(r,t){var n=a0(r.body,t);return n instanceof _r||(n=new _r("mrow",[n])),n.setAttribute("href",r.href),n}}),oe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(r,t){var n=r.parser,u=Ee(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:u}))return n.formatUnsupportedCmd("\\url");for(var s=[],m=0;m0&&(u=Ye(r.totalheight,t)-n);var s=0;r.width.number>0&&(s=Ye(r.width,t));var m={height:ae(n+u)};s>0&&(m.width=ae(s)),u>0&&(m.verticalAlign=ae(-u));var b=new oi(r.src,r.alt,m);return b.height=n,b.depth=u,b},mathmlBuilder:function(r,t){var n=new te.MathNode("mglyph",[]);n.setAttribute("alt",r.alt);var u=Ye(r.height,t),s=0;if(r.totalheight.number>0&&(s=Ye(r.totalheight,t)-u,n.setAttribute("valign",ae(-s))),n.setAttribute("height",ae(u+s)),r.width.number>0){var m=Ye(r.width,t);n.setAttribute("width",ae(m))}return n.setAttribute("src",r.src),n}}),oe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=Ee(t[0],"size");if(n.settings.strict){var m=u[1]==="m",b=s.value.unit==="mu";m?(b||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+s.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):b&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:s.value}},htmlBuilder:function(r,t){return V.makeGlue(r.dimension,t)},mathmlBuilder:function(r,t){var n=Ye(r.dimension,t);return new te.SpaceNode(n)}}),oe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"lap",mode:n.mode,alignment:u.slice(5),body:s}},htmlBuilder:function(r,t){var n;r.alignment==="clap"?(n=V.makeSpan([],[Fe(r.body,t)]),n=V.makeSpan(["inner"],[n],t)):n=V.makeSpan(["inner"],[Fe(r.body,t)]);var u=V.makeSpan(["fix"],[]),s=V.makeSpan([r.alignment],[n,u],t),m=V.makeSpan(["strut"]);return m.style.height=ae(s.height+s.depth),s.depth&&(m.style.verticalAlign=ae(-s.depth)),s.children.unshift(m),s=V.makeSpan(["thinbox"],[s],t),V.makeSpan(["mord","vbox"],[s],t)},mathmlBuilder:function(r,t){var n=new te.MathNode("mpadded",[Pe(r.body,t)]);if(r.alignment!=="rlap"){var u=r.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",u+"width")}return n.setAttribute("width","0px"),n}}),oe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,t){var n=r.funcName,u=r.parser,s=u.mode;u.switchMode("math");var m=n==="\\("?"\\)":"$",b=u.parseExpression(!1,m);return u.expect(m),u.switchMode(s),{type:"styling",mode:u.mode,style:"text",body:b}}}),oe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,t){throw new k("Mismatched "+r.funcName)}});var Wi=function(r,t){switch(t.style.size){case ue.DISPLAY.size:return r.display;case ue.TEXT.size:return r.text;case ue.SCRIPT.size:return r.script;case ue.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};oe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(r,t){var n=r.parser;return{type:"mathchoice",mode:n.mode,display:er(t[0]),text:er(t[1]),script:er(t[2]),scriptscript:er(t[3])}},htmlBuilder:function(r,t){var n=Wi(r,t),u=rr(n,t,!1);return V.makeFragment(u)},mathmlBuilder:function(r,t){var n=Wi(r,t);return a0(n,t)}});var Tn=function(r,t,n,u,s,m,b){r=V.makeSpan([],[r]);var C=n&&K.isCharacterBox(n),E,F;if(t){var U=Fe(t,u.havingStyle(s.sup()),u);F={elem:U,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-U.depth)}}if(n){var $=Fe(n,u.havingStyle(s.sub()),u);E={elem:$,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-$.height)}}var Y;if(F&&E){var j=u.fontMetrics().bigOpSpacing5+E.elem.height+E.elem.depth+E.kern+r.depth+b;Y=V.makeVList({positionType:"bottom",positionData:j,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:E.elem,marginLeft:ae(-m)},{type:"kern",size:E.kern},{type:"elem",elem:r},{type:"kern",size:F.kern},{type:"elem",elem:F.elem,marginLeft:ae(m)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(E){var ie=r.height-b;Y=V.makeVList({positionType:"top",positionData:ie,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:E.elem,marginLeft:ae(-m)},{type:"kern",size:E.kern},{type:"elem",elem:r}]},u)}else if(F){var le=r.depth+b;Y=V.makeVList({positionType:"bottom",positionData:le,children:[{type:"elem",elem:r},{type:"kern",size:F.kern},{type:"elem",elem:F.elem,marginLeft:ae(m)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return r;var fe=[Y];if(E&&m!==0&&!C){var de=V.makeSpan(["mspace"],[],u);de.style.marginRight=ae(m),fe.unshift(de)}return V.makeSpan(["mop","op-limits"],fe,u)},Ki=["\\smallint"],S0=function(r,t){var n,u,s=!1,m;r.type==="supsub"?(n=r.sup,u=r.sub,m=Ee(r.base,"op"),s=!0):m=Ee(r,"op");var b=t.style,C=!1;b.size===ue.DISPLAY.size&&m.symbol&&!K.contains(Ki,m.name)&&(C=!0);var E;if(m.symbol){var F=C?"Size2-Regular":"Size1-Regular",U="";if((m.name==="\\oiint"||m.name==="\\oiiint")&&(U=m.name.slice(1),m.name=U==="oiint"?"\\iint":"\\iiint"),E=V.makeSymbol(m.name,F,"math",t,["mop","op-symbol",C?"large-op":"small-op"]),U.length>0){var $=E.italic,Y=V.staticSvg(U+"Size"+(C?"2":"1"),t);E=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:E,shift:0},{type:"elem",elem:Y,shift:C?.08:0}]},t),m.name="\\"+U,E.classes.unshift("mop"),E.italic=$}}else if(m.body){var j=rr(m.body,t,!0);j.length===1&&j[0]instanceof Tr?(E=j[0],E.classes[0]="mop"):E=V.makeSpan(["mop"],j,t)}else{for(var ie=[],le=1;le0){for(var C=m.body.map(function($){var Y=$.text;return typeof Y=="string"?{type:"textord",mode:$.mode,text:Y}:$}),E=rr(C,t.withFont("mathrm"),!0),F=0;F=0?C.setAttribute("height",ae(s)):(C.setAttribute("height",ae(s)),C.setAttribute("depth",ae(-s))),C.setAttribute("voffset",ae(s)),C}});function ut(d,r,t){for(var n=rr(d,r,!1),u=r.sizeMultiplier/t.sizeMultiplier,s=0;sn.height+n.depth+b&&(b=(b+Y-n.height-n.depth)/2);var j=F.height-n.height-b-U;n.style.paddingLeft=ae($);var ie=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+j)},{type:"elem",elem:F},{type:"kern",size:U}]},t);if(r.index){var le=t.havingStyle(ue.SCRIPTSCRIPT),fe=Fe(r.index,le,t),de=.6*(ie.height-ie.depth),ve=V.makeVList({positionType:"shift",positionData:-de,children:[{type:"elem",elem:fe}]},t),ze=V.makeSpan(["root"],[ve]);return V.makeSpan(["mord","sqrt"],[ze,ie],t)}else return V.makeSpan(["mord","sqrt"],[ie],t)},mathmlBuilder:function(r,t){var n=r.body,u=r.index;return u?new te.MathNode("mroot",[Pe(n,t),Pe(u,t)]):new te.MathNode("msqrt",[Pe(n,t)])}});var Fn={display:ue.DISPLAY,text:ue.TEXT,script:ue.SCRIPT,scriptscript:ue.SCRIPTSCRIPT};oe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r,t){var n=r.breakOnTokenText,u=r.funcName,s=r.parser,m=s.parseExpression(!0,n),b=u.slice(1,u.length-5);return{type:"styling",mode:s.mode,style:b,body:m}},htmlBuilder:function(r,t){var n=Fn[r.style],u=t.havingStyle(n).withFont("");return ut(r.body,u,t)},mathmlBuilder:function(r,t){var n=Fn[r.style],u=t.havingStyle(n),s=yr(r.body,u),m=new te.MathNode("mstyle",s),b={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},C=b[r.style];return m.setAttribute("scriptlevel",C[0]),m.setAttribute("displaystyle",C[1]),m}});var F0=function(r,t){var n=r.base;if(n)if(n.type==="op"){var u=n.limits&&(t.style.size===ue.DISPLAY.size||n.alwaysHandleSupSub);return u?S0:null}else if(n.type==="operatorname"){var s=n.alwaysHandleSupSub&&(t.style.size===ue.DISPLAY.size||n.limits);return s?_n:null}else{if(n.type==="accent")return K.isCharacterBox(n.base)?dn:null;if(n.type==="horizBrace"){var m=!r.sub;return m===n.isOver?k0:null}else return null}else return null};A0({type:"supsub",htmlBuilder:function(r,t){var n=F0(r,t);if(n)return n(r,t);var u=r.base,s=r.sup,m=r.sub,b=Fe(u,t),C,E,F=t.fontMetrics(),U=0,$=0,Y=u&&K.isCharacterBox(u);if(s){var j=t.havingStyle(t.style.sup());C=Fe(s,j,t),Y||(U=b.height-j.fontMetrics().supDrop*j.sizeMultiplier/t.sizeMultiplier)}if(m){var ie=t.havingStyle(t.style.sub());E=Fe(m,ie,t),Y||($=b.depth+ie.fontMetrics().subDrop*ie.sizeMultiplier/t.sizeMultiplier)}var le;t.style===ue.DISPLAY?le=F.sup1:t.style.cramped?le=F.sup3:le=F.sup2;var fe=t.sizeMultiplier,de=ae(.5/F.ptPerEm/fe),ve=null;if(E){var ze=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(b instanceof Tr||ze)&&(ve=ae(-b.italic))}var Ce;if(C&&E){U=Math.max(U,le,C.depth+.25*F.xHeight),$=Math.max($,F.sub2);var qe=F.defaultRuleThickness,Ne=4*qe;if(U-C.depth-(E.height-$)0&&(U+=Ie,$-=Ie)}var He=[{type:"elem",elem:E,shift:$,marginRight:de,marginLeft:ve},{type:"elem",elem:C,shift:-U,marginRight:de}];Ce=V.makeVList({positionType:"individualShift",children:He},t)}else if(E){$=Math.max($,F.sub1,E.height-.8*F.xHeight);var Qe=[{type:"elem",elem:E,marginLeft:ve,marginRight:de}];Ce=V.makeVList({positionType:"shift",positionData:$,children:Qe},t)}else if(C)U=Math.max(U,le,C.depth+.25*F.xHeight),Ce=V.makeVList({positionType:"shift",positionData:-U,children:[{type:"elem",elem:C,marginRight:de}]},t);else throw new Error("supsub must have either sup or sub.");var Sr=J0(b,"right")||"mord";return V.makeSpan([Sr],[b,V.makeSpan(["msupsub"],[Ce])],t)},mathmlBuilder:function(r,t){var n=!1,u,s;r.base&&r.base.type==="horizBrace"&&(s=!!r.sup,s===r.base.isOver&&(n=!0,u=r.base.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var m=[Pe(r.base,t)];r.sub&&m.push(Pe(r.sub,t)),r.sup&&m.push(Pe(r.sup,t));var b;if(n)b=u?"mover":"munder";else if(r.sub)if(r.sup){var F=r.base;F&&F.type==="op"&&F.limits&&t.style===ue.DISPLAY||F&&F.type==="operatorname"&&F.alwaysHandleSupSub&&(t.style===ue.DISPLAY||F.limits)?b="munderover":b="msubsup"}else{var E=r.base;E&&E.type==="op"&&E.limits&&(t.style===ue.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||t.style===ue.DISPLAY)?b="munder":b="msub"}else{var C=r.base;C&&C.type==="op"&&C.limits&&(t.style===ue.DISPLAY||C.alwaysHandleSupSub)||C&&C.type==="operatorname"&&C.alwaysHandleSupSub&&(C.limits||t.style===ue.DISPLAY)?b="mover":b="msup"}return new te.MathNode(b,m)}}),A0({type:"atom",htmlBuilder:function(r,t){return V.mathsym(r.text,r.mode,t,["m"+r.family])},mathmlBuilder:function(r,t){var n=new te.MathNode("mo",[kr(r.text,r.mode)]);if(r.family==="bin"){var u=hn(r,t);u==="bold-italic"&&n.setAttribute("mathvariant",u)}else r.family==="punct"?n.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&n.setAttribute("stretchy","false");return n}});var Gt={mi:"italic",mn:"normal",mtext:"normal"};A0({type:"mathord",htmlBuilder:function(r,t){return V.makeOrd(r,t,"mathord")},mathmlBuilder:function(r,t){var n=new te.MathNode("mi",[kr(r.text,r.mode,t)]),u=hn(r,t)||"italic";return u!==Gt[n.type]&&n.setAttribute("mathvariant",u),n}}),A0({type:"textord",htmlBuilder:function(r,t){return V.makeOrd(r,t,"textord")},mathmlBuilder:function(r,t){var n=kr(r.text,r.mode,t),u=hn(r,t)||"normal",s;return r.mode==="text"?s=new te.MathNode("mtext",[n]):/[0-9]/.test(r.text)?s=new te.MathNode("mn",[n]):r.text==="\\prime"?s=new te.MathNode("mo",[n]):s=new te.MathNode("mi",[n]),u!==Gt[s.type]&&s.setAttribute("mathvariant",u),s}});var Je={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},N0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};A0({type:"spacing",htmlBuilder:function(r,t){if(N0.hasOwnProperty(r.text)){var n=N0[r.text].className||"";if(r.mode==="text"){var u=V.makeOrd(r,t,"textord");return u.classes.push(n),u}else return V.makeSpan(["mspace",n],[V.mathsym(r.text,r.mode,t)],t)}else{if(Je.hasOwnProperty(r.text))return V.makeSpan(["mspace",Je[r.text]],[],t);throw new k('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,t){var n;if(N0.hasOwnProperty(r.text))n=new te.MathNode("mtext",[new te.TextNode(" ")]);else{if(Je.hasOwnProperty(r.text))return new te.MathNode("mspace");throw new k('Unknown type of space "'+r.text+'"')}return n}});var $t=function(){var r=new te.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};A0({type:"tag",mathmlBuilder:function(r,t){var n=new te.MathNode("mtable",[new te.MathNode("mtr",[$t(),new te.MathNode("mtd",[a0(r.body,t)]),$t(),new te.MathNode("mtd",[a0(r.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Zi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ji={"\\textbf":"textbf","\\textmd":"textmd"},Mu={"\\textit":"textit","\\textup":"textup"},Qi=function(r,t){var n=r.font;return n?Zi[n]?t.withTextFontFamily(Zi[n]):Ji[n]?t.withTextFontWeight(Ji[n]):t.withTextFontShape(Mu[n]):t};oe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"text",mode:n.mode,body:er(s),font:u}},htmlBuilder:function(r,t){var n=Qi(r,t),u=rr(r.body,n,!0);return V.makeSpan(["mord","text"],u,n)},mathmlBuilder:function(r,t){var n=Qi(r,t);return a0(r.body,n)}}),oe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder:function(r,t){var n=Fe(r.body,t),u=V.makeLineSpan("underline-line",t),s=t.fontMetrics().defaultRuleThickness,m=V.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:s},{type:"elem",elem:u},{type:"kern",size:3*s},{type:"elem",elem:n}]},t);return V.makeSpan(["mord","underline"],[m],t)},mathmlBuilder:function(r,t){var n=new te.MathNode("mo",[new te.TextNode("‾")]);n.setAttribute("stretchy","true");var u=new te.MathNode("munder",[Pe(r.body,t),n]);return u.setAttribute("accentunder","true"),u}}),oe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(r,t){var n=r.parser;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder:function(r,t){var n=Fe(r.body,t),u=t.fontMetrics().axisHeight,s=.5*(n.height-u-(n.depth+u));return V.makeVList({positionType:"shift",positionData:s,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(r,t){return new te.MathNode("mpadded",[Pe(r.body,t)],["vcenter"])}}),oe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(r,t,n){throw new k("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,t){for(var n=ea(r),u=[],s=t.havingStyle(t.style.text()),m=0;m0;)this.endGroup()},r.has=function(n){return this.current.hasOwnProperty(n)||this.builtins.hasOwnProperty(n)},r.get=function(n){return this.current.hasOwnProperty(n)?this.current[n]:this.builtins[n]},r.set=function(n,u,s){if(s===void 0&&(s=!1),s){for(var m=0;m0&&(this.undefStack[this.undefStack.length-1][n]=u)}else{var b=this.undefStack[this.undefStack.length-1];b&&!b.hasOwnProperty(n)&&(b[n]=this.current[n])}u==null?delete this.current[n]:this.current[n]=u},d}(),ia=Cn,aa=ia;D("\\noexpand",function(d){var r=d.popToken();return d.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}}),D("\\expandafter",function(d){var r=d.popToken();return d.expandOnce(!0),{tokens:[r],numArgs:0}}),D("\\@firstoftwo",function(d){var r=d.consumeArgs(2);return{tokens:r[0],numArgs:0}}),D("\\@secondoftwo",function(d){var r=d.consumeArgs(2);return{tokens:r[1],numArgs:0}}),D("\\@ifnextchar",function(d){var r=d.consumeArgs(3);d.consumeSpaces();var t=d.future();return r[0].length===1&&r[0][0].text===t.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),D("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),D("\\TextOrMath",function(d){var r=d.consumeArgs(2);return d.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var Nn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};D("\\char",function(d){var r=d.popToken(),t,n="";if(r.text==="'")t=8,r=d.popToken();else if(r.text==='"')t=16,r=d.popToken();else if(r.text==="`")if(r=d.popToken(),r.text[0]==="\\")n=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new k("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(n=Nn[r.text],n==null||n>=t)throw new k("Invalid base-"+t+" digit "+r.text);for(var u;(u=Nn[d.future().text])!=null&&u":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};D("\\dots",function(d){var r="\\dotso",t=d.expandAfterFuture().text;return t in ua?r=ua[t]:(t.slice(0,4)==="\\not"||t in Ve.math&&K.contains(["bin","rel"],Ve.math[t].group))&&(r="\\dotsb"),r});var C0={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};D("\\dotso",function(d){var r=d.future().text;return r in C0?"\\ldots\\,":"\\ldots"}),D("\\dotsc",function(d){var r=d.future().text;return r in C0&&r!==","?"\\ldots\\,":"\\ldots"}),D("\\cdots",function(d){var r=d.future().text;return r in C0?"\\@cdots\\,":"\\@cdots"}),D("\\dotsb","\\cdots"),D("\\dotsm","\\cdots"),D("\\dotsi","\\!\\cdots"),D("\\dotsx","\\ldots\\,"),D("\\DOTSI","\\relax"),D("\\DOTSB","\\relax"),D("\\DOTSX","\\relax"),D("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),D("\\,","\\tmspace+{3mu}{.1667em}"),D("\\thinspace","\\,"),D("\\>","\\mskip{4mu}"),D("\\:","\\tmspace+{4mu}{.2222em}"),D("\\medspace","\\:"),D("\\;","\\tmspace+{5mu}{.2777em}"),D("\\thickspace","\\;"),D("\\!","\\tmspace-{3mu}{.1667em}"),D("\\negthinspace","\\!"),D("\\negmedspace","\\tmspace-{4mu}{.2222em}"),D("\\negthickspace","\\tmspace-{5mu}{.277em}"),D("\\enspace","\\kern.5em "),D("\\enskip","\\hskip.5em\\relax"),D("\\quad","\\hskip1em\\relax"),D("\\qquad","\\hskip2em\\relax"),D("\\tag","\\@ifstar\\tag@literal\\tag@paren"),D("\\tag@paren","\\tag@literal{({#1})}"),D("\\tag@literal",function(d){if(d.macros.get("\\df@tag"))throw new k("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),D("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),D("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),D("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),D("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),D("\\newline","\\\\\\relax"),D("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var la=ae(xr["Main-Regular"]["T".charCodeAt(0)][1]-.7*xr["Main-Regular"]["A".charCodeAt(0)][1]);D("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+la+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),D("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+la+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),D("\\hspace","\\@ifstar\\@hspacer\\@hspace"),D("\\@hspace","\\hskip #1\\relax"),D("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),D("\\ordinarycolon",":"),D("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),D("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),D("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),D("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),D("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),D("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),D("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),D("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),D("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),D("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),D("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),D("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),D("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),D("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),D("∷","\\dblcolon"),D("∹","\\eqcolon"),D("≔","\\coloneqq"),D("≕","\\eqqcolon"),D("⩴","\\Coloneqq"),D("\\ratio","\\vcentcolon"),D("\\coloncolon","\\dblcolon"),D("\\colonequals","\\coloneqq"),D("\\coloncolonequals","\\Coloneqq"),D("\\equalscolon","\\eqqcolon"),D("\\equalscoloncolon","\\Eqqcolon"),D("\\colonminus","\\coloneq"),D("\\coloncolonminus","\\Coloneq"),D("\\minuscolon","\\eqcolon"),D("\\minuscoloncolon","\\Eqcolon"),D("\\coloncolonapprox","\\Colonapprox"),D("\\coloncolonsim","\\Colonsim"),D("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),D("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),D("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),D("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),D("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),D("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),D("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),D("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),D("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),D("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),D("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),D("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),D("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),D("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),D("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),D("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),D("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),D("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),D("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),D("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),D("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),D("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),D("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),D("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),D("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),D("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),D("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),D("\\imath","\\html@mathml{\\@imath}{ı}"),D("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),D("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),D("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),D("⟦","\\llbracket"),D("⟧","\\rrbracket"),D("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),D("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),D("⦃","\\lBrace"),D("⦄","\\rBrace"),D("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),D("⦵","\\minuso"),D("\\darr","\\downarrow"),D("\\dArr","\\Downarrow"),D("\\Darr","\\Downarrow"),D("\\lang","\\langle"),D("\\rang","\\rangle"),D("\\uarr","\\uparrow"),D("\\uArr","\\Uparrow"),D("\\Uarr","\\Uparrow"),D("\\N","\\mathbb{N}"),D("\\R","\\mathbb{R}"),D("\\Z","\\mathbb{Z}"),D("\\alef","\\aleph"),D("\\alefsym","\\aleph"),D("\\Alpha","\\mathrm{A}"),D("\\Beta","\\mathrm{B}"),D("\\bull","\\bullet"),D("\\Chi","\\mathrm{X}"),D("\\clubs","\\clubsuit"),D("\\cnums","\\mathbb{C}"),D("\\Complex","\\mathbb{C}"),D("\\Dagger","\\ddagger"),D("\\diamonds","\\diamondsuit"),D("\\empty","\\emptyset"),D("\\Epsilon","\\mathrm{E}"),D("\\Eta","\\mathrm{H}"),D("\\exist","\\exists"),D("\\harr","\\leftrightarrow"),D("\\hArr","\\Leftrightarrow"),D("\\Harr","\\Leftrightarrow"),D("\\hearts","\\heartsuit"),D("\\image","\\Im"),D("\\infin","\\infty"),D("\\Iota","\\mathrm{I}"),D("\\isin","\\in"),D("\\Kappa","\\mathrm{K}"),D("\\larr","\\leftarrow"),D("\\lArr","\\Leftarrow"),D("\\Larr","\\Leftarrow"),D("\\lrarr","\\leftrightarrow"),D("\\lrArr","\\Leftrightarrow"),D("\\Lrarr","\\Leftrightarrow"),D("\\Mu","\\mathrm{M}"),D("\\natnums","\\mathbb{N}"),D("\\Nu","\\mathrm{N}"),D("\\Omicron","\\mathrm{O}"),D("\\plusmn","\\pm"),D("\\rarr","\\rightarrow"),D("\\rArr","\\Rightarrow"),D("\\Rarr","\\Rightarrow"),D("\\real","\\Re"),D("\\reals","\\mathbb{R}"),D("\\Reals","\\mathbb{R}"),D("\\Rho","\\mathrm{P}"),D("\\sdot","\\cdot"),D("\\sect","\\S"),D("\\spades","\\spadesuit"),D("\\sub","\\subset"),D("\\sube","\\subseteq"),D("\\supe","\\supseteq"),D("\\Tau","\\mathrm{T}"),D("\\thetasym","\\vartheta"),D("\\weierp","\\wp"),D("\\Zeta","\\mathrm{Z}"),D("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),D("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),D("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),D("\\bra","\\mathinner{\\langle{#1}|}"),D("\\ket","\\mathinner{|{#1}\\rangle}"),D("\\braket","\\mathinner{\\langle{#1}\\rangle}"),D("\\Bra","\\left\\langle#1\\right|"),D("\\Ket","\\left|#1\\right\\rangle");var oa=function(r){return function(t){var n=t.consumeArg().tokens,u=t.consumeArg().tokens,s=t.consumeArg().tokens,m=t.consumeArg().tokens,b=t.macros.get("|"),C=t.macros.get("\\|");t.macros.beginGroup();var E=function(Y){return function(j){r&&(j.macros.set("|",b),s.length&&j.macros.set("\\|",C));var ie=Y;if(!Y&&s.length){var le=j.future();le.text==="|"&&(j.popToken(),ie=!0)}return{tokens:ie?s:u,numArgs:0}}};t.macros.set("|",E(!1)),s.length&&t.macros.set("\\|",E(!0));var F=t.consumeArg().tokens,U=t.expandTokens([].concat(m,F,n));return t.macros.endGroup(),{tokens:U.reverse(),numArgs:0}}};D("\\bra@ket",oa(!1)),D("\\bra@set",oa(!0)),D("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),D("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),D("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),D("\\angln","{\\angl n}"),D("\\blue","\\textcolor{##6495ed}{#1}"),D("\\orange","\\textcolor{##ffa500}{#1}"),D("\\pink","\\textcolor{##ff00af}{#1}"),D("\\red","\\textcolor{##df0030}{#1}"),D("\\green","\\textcolor{##28ae7b}{#1}"),D("\\gray","\\textcolor{gray}{#1}"),D("\\purple","\\textcolor{##9d38bd}{#1}"),D("\\blueA","\\textcolor{##ccfaff}{#1}"),D("\\blueB","\\textcolor{##80f6ff}{#1}"),D("\\blueC","\\textcolor{##63d9ea}{#1}"),D("\\blueD","\\textcolor{##11accd}{#1}"),D("\\blueE","\\textcolor{##0c7f99}{#1}"),D("\\tealA","\\textcolor{##94fff5}{#1}"),D("\\tealB","\\textcolor{##26edd5}{#1}"),D("\\tealC","\\textcolor{##01d1c1}{#1}"),D("\\tealD","\\textcolor{##01a995}{#1}"),D("\\tealE","\\textcolor{##208170}{#1}"),D("\\greenA","\\textcolor{##b6ffb0}{#1}"),D("\\greenB","\\textcolor{##8af281}{#1}"),D("\\greenC","\\textcolor{##74cf70}{#1}"),D("\\greenD","\\textcolor{##1fab54}{#1}"),D("\\greenE","\\textcolor{##0d923f}{#1}"),D("\\goldA","\\textcolor{##ffd0a9}{#1}"),D("\\goldB","\\textcolor{##ffbb71}{#1}"),D("\\goldC","\\textcolor{##ff9c39}{#1}"),D("\\goldD","\\textcolor{##e07d10}{#1}"),D("\\goldE","\\textcolor{##a75a05}{#1}"),D("\\redA","\\textcolor{##fca9a9}{#1}"),D("\\redB","\\textcolor{##ff8482}{#1}"),D("\\redC","\\textcolor{##f9685d}{#1}"),D("\\redD","\\textcolor{##e84d39}{#1}"),D("\\redE","\\textcolor{##bc2612}{#1}"),D("\\maroonA","\\textcolor{##ffbde0}{#1}"),D("\\maroonB","\\textcolor{##ff92c6}{#1}"),D("\\maroonC","\\textcolor{##ed5fa6}{#1}"),D("\\maroonD","\\textcolor{##ca337c}{#1}"),D("\\maroonE","\\textcolor{##9e034e}{#1}"),D("\\purpleA","\\textcolor{##ddd7ff}{#1}"),D("\\purpleB","\\textcolor{##c6b9fc}{#1}"),D("\\purpleC","\\textcolor{##aa87ff}{#1}"),D("\\purpleD","\\textcolor{##7854ab}{#1}"),D("\\purpleE","\\textcolor{##543b78}{#1}"),D("\\mintA","\\textcolor{##f5f9e8}{#1}"),D("\\mintB","\\textcolor{##edf2df}{#1}"),D("\\mintC","\\textcolor{##e0e5cc}{#1}"),D("\\grayA","\\textcolor{##f6f7f7}{#1}"),D("\\grayB","\\textcolor{##f0f1f2}{#1}"),D("\\grayC","\\textcolor{##e3e5e6}{#1}"),D("\\grayD","\\textcolor{##d6d8da}{#1}"),D("\\grayE","\\textcolor{##babec2}{#1}"),D("\\grayF","\\textcolor{##888d93}{#1}"),D("\\grayG","\\textcolor{##626569}{#1}"),D("\\grayH","\\textcolor{##3b3e40}{#1}"),D("\\grayI","\\textcolor{##21242c}{#1}"),D("\\kaBlue","\\textcolor{##314453}{#1}"),D("\\kaGreen","\\textcolor{##71B307}{#1}");var sa={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Iu=function(){function d(t,n,u){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new qu(aa,n.macros),this.mode=u,this.stack=[]}var r=d.prototype;return r.feed=function(n){this.lexer=new na(n,this.settings)},r.switchMode=function(n){this.mode=n},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.endGroups=function(){this.macros.endGroups()},r.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(n){this.stack.push(n)},r.pushTokens=function(n){var u;(u=this.stack).push.apply(u,n)},r.scanArgument=function(n){var u,s,m;if(n){if(this.consumeSpaces(),this.future().text!=="[")return null;u=this.popToken();var b=this.consumeArg(["]"]);m=b.tokens,s=b.end}else{var C=this.consumeArg();m=C.tokens,u=C.start,s=C.end}return this.pushToken(new u0("EOF",s.loc)),this.pushTokens(m),u.range(s,"")},r.consumeSpaces=function(){for(;;){var n=this.future();if(n.text===" ")this.stack.pop();else break}},r.consumeArg=function(n){var u=[],s=n&&n.length>0;s||this.consumeSpaces();var m=this.future(),b,C=0,E=0;do{if(b=this.popToken(),u.push(b),b.text==="{")++C;else if(b.text==="}"){if(--C,C===-1)throw new k("Extra }",b)}else if(b.text==="EOF")throw new k("Unexpected end of input in a macro argument, expected '"+(n&&s?n[E]:"}")+"'",b);if(n&&s)if((C===0||C===1&&n[E]==="{")&&b.text===n[E]){if(++E,E===n.length){u.splice(-E,E);break}}else E=0}while(C!==0||s);return m.text==="{"&&u[u.length-1].text==="}"&&(u.pop(),u.shift()),u.reverse(),{tokens:u,start:m,end:b}},r.consumeArgs=function(n,u){if(u){if(u.length!==n+1)throw new k("The length of delimiters doesn't match the number of args!");for(var s=u[0],m=0;mthis.settings.maxExpand)throw new k("Too many expansions: infinite loop or need to increase maxExpand setting");var b=m.tokens,C=this.consumeArgs(m.numArgs,m.delimiters);if(m.numArgs){b=b.slice();for(var E=b.length-1;E>=0;--E){var F=b[E];if(F.text==="#"){if(E===0)throw new k("Incomplete placeholder at end of macro body",F);if(F=b[--E],F.text==="#")b.splice(E+1,1);else if(/^[1-9]$/.test(F.text)){var U;(U=b).splice.apply(U,[E,2].concat(C[+F.text-1]))}else throw new k("Not a valid argument number",F)}}}return this.pushTokens(b),b.length},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;)if(this.expandOnce()===!1){var n=this.stack.pop();return n.treatAsRelax&&(n.text="\\relax"),n}throw new Error},r.expandMacro=function(n){return this.macros.has(n)?this.expandTokens([new u0(n)]):void 0},r.expandTokens=function(n){var u=[],s=this.stack.length;for(this.pushTokens(n);this.stack.length>s;)if(this.expandOnce(!0)===!1){var m=this.stack.pop();m.treatAsRelax&&(m.noexpand=!1,m.treatAsRelax=!1),u.push(m)}return u},r.expandMacroAsText=function(n){var u=this.expandMacro(n);return u&&u.map(function(s){return s.text}).join("")},r._getExpansion=function(n){var u=this.macros.get(n);if(u==null)return u;if(n.length===1){var s=this.lexer.catcodes[n];if(s!=null&&s!==13)return}var m=typeof u=="function"?u(this):u;if(typeof m=="string"){var b=0;if(m.indexOf("#")!==-1)for(var C=m.replace(/##/g,"");C.indexOf("#"+(b+1))!==-1;)++b;for(var E=new na(m,this.settings),F=[],U=E.lex();U.text!=="EOF";)F.push(U),U=E.lex();F.reverse();var $={tokens:F,numArgs:b};return $}return m},r.isDefined=function(n){return this.macros.has(n)||s0.hasOwnProperty(n)||Ve.math.hasOwnProperty(n)||Ve.text.hasOwnProperty(n)||sa.hasOwnProperty(n)},r.isExpandable=function(n){var u=this.macros.get(n);return u!=null?typeof u=="string"||typeof u=="function"||!u.unexpandable:s0.hasOwnProperty(n)&&!s0[n].primitive},d}(),Xt=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,jt=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),qn={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},ca={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},ha=function(){function d(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Iu(t,n,this.mode),this.settings=n,this.leftrightDepth=0}var r=d.prototype;return r.expect=function(n,u){if(u===void 0&&(u=!0),this.fetch().text!==n)throw new k("Expected '"+n+"', got '"+this.fetch().text+"'",this.fetch());u&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(n){this.mode=n,this.gullet.switchMode(n)},r.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var n=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),n}finally{this.gullet.endGroups()}},r.subparse=function(n){var u=this.nextToken;this.consume(),this.gullet.pushToken(new u0("}")),this.gullet.pushTokens(n);var s=this.parseExpression(!1);return this.expect("}"),this.nextToken=u,s},r.parseExpression=function(n,u){for(var s=[];;){this.mode==="math"&&this.consumeSpaces();var m=this.fetch();if(d.endOfExpression.indexOf(m.text)!==-1||u&&m.text===u||n&&s0[m.text]&&s0[m.text].infix)break;var b=this.parseAtom(u);if(b){if(b.type==="internal")continue}else break;s.push(b)}return this.mode==="text"&&this.formLigatures(s),this.handleInfixNodes(s)},r.handleInfixNodes=function(n){for(var u=-1,s,m=0;m=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+u[0]+'" used in math mode',n);var E=Ve[this.mode][u].group,F=Hr.range(n),U;if(Xa.hasOwnProperty(E)){var $=E;U={type:"atom",mode:this.mode,family:$,loc:F,text:u}}else U={type:E,mode:this.mode,loc:F,text:u};C=U}else if(u.charCodeAt(0)>=128)this.settings.strict&&(mr(u.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+u[0]+'" used in math mode',n):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+u[0]+'"'+(" ("+u.charCodeAt(0)+")"),n)),C={type:"textord",mode:"text",loc:Hr.range(n),text:u};else return null;if(this.consume(),b)for(var Y=0;Ythis.revoke(a)}revoke(a){const o=this.listeners.indexOf(a);o>=0&&this.listeners.splice(o,1)}revokeAll(){this.listeners.splice(0)}call(...a){for(const o of this.listeners)o(...a)}}function q(){return q=Object.assign||function(e){for(var a=1;a=0)&&(o[c]=e[c]);return o}const O=["textContent"];function X(e){return e.replace(/[&<"]/g,a=>({"&":"&","<":"<",'"':"""})[a])}function re(e){return e.replace(/<(\/script>)/g,"\\x3c$2")}function W(e,a){const o=a?Object.entries(a).map(([f,c])=>{if(!(c==null||c===!1))return f=` ${X(f)}`,c===!0?f:`${f}="${X(c)}"`}).filter(Boolean).join(""):"";return`<${e}${o}>`}function Se(e){return``}function ye(e,a,o){return a==null?W(e,o):W(e,o)+(a||"")+Se(e)}function _e(e,a){const o=a.map(f=>typeof f=="function"?f.toString():JSON.stringify(f??null)).join(",");return`(${e.toString()})(${o})`}function K(e,a){return e.map(o=>{if(o.type==="script"){const f=o.data,{textContent:c}=f,g=L(f,O);return ye("script",c||"",g)}if(o.type==="iife"){const{fn:f,getParams:c}=o.data;return ye("script",re(_e(f,(c==null?void 0:c(a))||[])))}return""})}function Ae(e){return e.map(a=>a.type==="stylesheet"?ye("link",null,q({rel:"stylesheet"},a.data)):ye("style",a.data))}Math.random().toString(36).slice(2,8);function Re(e,{before:a,after:o}){return function(...c){const g={args:c,thisObj:this};try{a&&a(g)}catch{}g.result=e.apply(g.thisObj,g.args);try{o&&o(g)}catch{}return g.result}}function Ge(e){const a={};return function(...f){const c=`${f[0]}`;let g=a[c];return g||(g={value:e(...f)},a[c]=g),g.value}}function Oe(e,a,o){const f=document.createElement(e);return a&&Object.entries(a).forEach(([c,g])=>{f[c]=g}),o&&Object.entries(o).forEach(([c,g])=>{f.setAttribute(c,g)}),f}const ir=Ge(e=>{document.head.append(Oe("link",{rel:"preload",as:"script",href:e}))});async function ar(e,a){if(!e.loaded&&(e.type==="script"&&(e.loaded=new Promise((o,f)=>{var c;document.head.append(Oe("script",q({},e.data,{onload:o,onerror:f}))),(c=e.data)!=null&&c.src||o(void 0)}).then(()=>{e.loaded=!0})),e.type==="iife")){const{fn:o,getParams:f}=e.data;o(...(f==null?void 0:f(a))||[]),e.loaded=!0}await e.loaded}async function ur(e,a){const o=e.filter(f=>{var c;return f.type==="script"&&((c=f.data)==null?void 0:c.src)});o.length>1&&o.forEach(f=>ir(f.data.src)),a=q({getMarkmap:()=>window.markmap},a);for(const f of e)await ar(f,a)}const or=`
    -
    -
    -
    -
    -
    -Markmap
    -
    -
    -
    -
    -
    -
    -
    -
    -`,Br=["https://cdn.jsdelivr.net/npm/d3@6.7.0","https://cdn.jsdelivr.net/npm/markmap-view@0.14.4"].map(e=>({type:"script",data:{src:e}}));function sr(e,a,o){o=M({baseJs:Br},o);const{scripts:f,styles:c}=a,g=[...c?Ae(c):[]],y={getMarkmap:()=>window.markmap,getOptions:o.getOptions,jsonOptions:o.jsonOptions,root:e},A=[...K([...o.baseJs,...f||[],{type:"iife",data:{fn:(I,N,H,Z)=>{const J=I();window.mm=J.Markmap.create("svg#mindmap",(N||J.deriveOptions)(Z),H)},getParams:({getMarkmap:I,getOptions:N,root:H,jsonOptions:Z})=>[I,N,H,Z]}}],y)];return or.replace("",()=>g.join("")).replace("",()=>A.join(""))}var qr={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
    -`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"	",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},G=Object.prototype.hasOwnProperty;function P(e,a){return e?G.call(e,a):!1}function ce(e){return P(qr,e)?qr[e]:e}var ee=Object.prototype.hasOwnProperty;function be(e,a){return e?ee.call(e,a):!1}function ke(e){var a=[].slice.call(arguments,1);return a.forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(f){e[f]=o[f]})}}),e}var Te=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function De(e){return e.indexOf("\\")<0?e:e.replace(Te,"$1")}function ue(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Le(e){if(e>65535){e-=65536;var a=55296+(e>>10),o=56320+(e&1023);return String.fromCharCode(a,o)}return String.fromCharCode(e)}var Mr=/&([a-z#][a-z0-9]{1,31});/gi,$e=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function mr(e,a){var o=0,f=ce(a);return a!==f?f:a.charCodeAt(0)===35&&$e.test(a)&&(o=a[1].toLowerCase()==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10),ue(o))?Le(o):e}function We(e){return e.indexOf("&")<0?e:e.replace(Mr,mr)}var wr=/[&<>"]/,Ir=/[&<>"]/g,G0={"&":"&","<":"<",">":">",'"':"""};function Ua(e){return G0[e]}function vr(e){return wr.test(e)?e.replace(Ir,Ua):e}var pe={};pe.blockquote_open=function(){return`
    -`},pe.blockquote_close=function(e,a){return"
    "+g0(e,a)},pe.code=function(e,a){return e[a].block?"
    "+vr(e[a].content)+"
    "+g0(e,a):""+vr(e[a].content)+""},pe.fence=function(e,a,o,f,c){var g=e[a],y="",A=o.langPrefix,B="",I,N,H;if(g.params){if(I=g.params.split(/\s+/g),N=I.join(" "),be(c.rules.fence_custom,I[0]))return c.rules.fence_custom[I[0]](e,a,o,f,c);B=vr(We(De(N))),y=' class="'+A+B+'"'}return o.highlight?H=o.highlight.apply(o.highlight,[g.content].concat(I))||vr(g.content):H=vr(g.content),"
    "+H+"
    "+g0(e,a)},pe.fence_custom={},pe.heading_open=function(e,a){return""},pe.heading_close=function(e,a){return" -`},pe.hr=function(e,a,o){return(o.xhtmlOut?"
    ":"
    ")+g0(e,a)},pe.bullet_list_open=function(){return`
      -`},pe.bullet_list_close=function(e,a){return"
    "+g0(e,a)},pe.list_item_open=function(){return"
  • "},pe.list_item_close=function(){return`
  • -`},pe.ordered_list_open=function(e,a){var o=e[a],f=o.order>1?' start="'+o.order+'"':"";return" -`},pe.ordered_list_close=function(e,a){return""+g0(e,a)},pe.paragraph_open=function(e,a){return e[a].tight?"":"

    "},pe.paragraph_close=function(e,a){var o=!(e[a].tight&&a&&e[a-1].type==="inline"&&!e[a-1].content);return(e[a].tight?"":"

    ")+(o?g0(e,a):"")},pe.link_open=function(e,a,o){var f=e[a].title?' title="'+vr(We(e[a].title))+'"':"",c=o.linkTarget?' target="'+o.linkTarget+'"':"";return'"},pe.link_close=function(){return""},pe.image=function(e,a,o){var f=' src="'+vr(e[a].src)+'"',c=e[a].title?' title="'+vr(We(e[a].title))+'"':"",g=' alt="'+(e[a].alt?vr(We(De(e[a].alt))):"")+'"',y=o.xhtmlOut?" /":"";return""},pe.table_open=function(){return` -`},pe.table_close=function(){return`
    -`},pe.thead_open=function(){return` -`},pe.thead_close=function(){return` -`},pe.tbody_open=function(){return` -`},pe.tbody_close=function(){return` -`},pe.tr_open=function(){return""},pe.tr_close=function(){return` -`},pe.th_open=function(e,a){var o=e[a];return""},pe.th_close=function(){return""},pe.td_open=function(e,a){var o=e[a];return""},pe.td_close=function(){return""},pe.strong_open=function(){return""},pe.strong_close=function(){return""},pe.em_open=function(){return""},pe.em_close=function(){return""},pe.del_open=function(){return""},pe.del_close=function(){return""},pe.ins_open=function(){return""},pe.ins_close=function(){return""},pe.mark_open=function(){return""},pe.mark_close=function(){return""},pe.sub=function(e,a){return""+vr(e[a].content)+""},pe.sup=function(e,a){return""+vr(e[a].content)+""},pe.hardbreak=function(e,a,o){return o.xhtmlOut?`
    -`:`
    -`},pe.softbreak=function(e,a,o){return o.breaks?o.xhtmlOut?`
    -`:`
    -`:` -`},pe.text=function(e,a){return vr(e[a].content)},pe.htmlblock=function(e,a){return e[a].content},pe.htmltag=function(e,a){return e[a].content},pe.abbr_open=function(e,a){return''},pe.abbr_close=function(){return""},pe.footnote_ref=function(e,a){var o=Number(e[a].id+1).toString(),f="fnref"+o;return e[a].subId>0&&(f+=":"+e[a].subId),'['+o+"]"},pe.footnote_block_open=function(e,a,o){var f=o.xhtmlOut?`
    -`:`
    -`;return f+`
    -
      -`},pe.footnote_block_close=function(){return`
    -
    -`},pe.footnote_open=function(e,a){var o=Number(e[a].id+1).toString();return'
  • '},pe.footnote_close=function(){return`
  • -`},pe.footnote_anchor=function(e,a){var o=Number(e[a].id+1).toString(),f="fnref"+o;return e[a].subId>0&&(f+=":"+e[a].subId),' '},pe.dl_open=function(){return`
    -`},pe.dt_open=function(){return"
    "},pe.dd_open=function(){return"
    "},pe.dl_close=function(){return`
    -`},pe.dt_close=function(){return` -`},pe.dd_close=function(){return` -`};function Jn(e,a){return++a>=e.length-2?a:e[a].type==="paragraph_open"&&e[a].tight&&e[a+1].type==="inline"&&e[a+1].content.length===0&&e[a+2].type==="paragraph_close"&&e[a+2].tight?Jn(e,a+2):a}var g0=pe.getBreak=function(a,o){return o=Jn(a,o),o"u"&&(f.abbreviations[":"+B]=I),y)}function Qn(e){var a=e.tokens,o,f,c,g;if(!e.inlineMode){for(o=1,f=a.length-1;o1)||o===41&&(f--,f<0))break;a++}return g===a||(c=De(e.src.slice(g,a)),!e.parser.validateLink(c))?!1:(e.linkContent=c,e.pos=a,!0)}function vt(e,a){var o,f=a,c=e.posMax,g=e.src.charCodeAt(a);if(g!==34&&g!==39&&g!==40)return!1;for(a++,g===40&&(g=41);a"u"&&(f.references[Z]={title:H,href:N}),y)}function ri(e){var a=e.tokens,o,f,c,g;if(e.env.references=e.env.references||{},!e.inlineMode){for(o=1,f=a.length-1;o0?y[a].count:1,f=0;f=0;a--)if(g=c[a],g.type==="text"){for(B=0,y=g.content,N.lastIndex=0,I=g.level,A=[];H=N.exec(y);)N.lastIndex>B&&A.push({type:"text",content:y.slice(B,H.index+H[1].length),level:I}),A.push({type:"abbr_open",title:e.env.abbreviations[":"+H[2]],level:I++}),A.push({type:"text",content:H[2],level:I}),A.push({type:"abbr_close",level:--I}),B=N.lastIndex-H[3].length;A.length&&(B=0;g--)if(e.tokens[g].type==="inline")for(c=e.tokens[g].children,a=c.length-1;a>=0;a--)o=c[a],o.type==="text"&&(f=o.content,f=t0(f),ai.test(f)&&(f=f.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/mg,"$1—$2").replace(/(^|\s)--(\s|$)/mg,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg,"$1–$2")),o.content=f)}}var li=/['"]/,un=/['"]/g,Y0=/[-\s()\[\]]/,gt="’";function oi(e,a){return a<0||a>=e.length?!1:!Y0.test(e[a])}function B0(e,a,o){return e.substr(0,a)+o+e.substr(a+1)}function Tr(e){var a,o,f,c,g,y,A,B,I,N,H,Z,J,ne,se,xe,Be;if(e.options.typographer){for(Be=[],se=e.tokens.length-1;se>=0;se--)if(e.tokens[se].type==="inline"){for(xe=e.tokens[se].children,Be.length=0,a=0;a=0&&!(Be[J].level<=A);J--);Be.length=J+1,f=o.content,g=0,y=f.length;e:for(;g=0&&(N=Be[J],!(Be[J].level=this.eMarks[a]},Kr.prototype.skipEmptyLines=function(a){for(var o=this.lineMax;af;)if(o!==this.src.charCodeAt(--a))return a+1;return a},Kr.prototype.getLines=function(a,o,f,c){var g,y,A,B,I,N=a;if(a>=o)return"";if(N+1===o)return y=this.bMarks[N]+Math.min(this.tShift[N],f),A=c?this.eMarks[N]+1:this.eMarks[N],this.src.slice(y,A);for(B=new Array(o-a),g=0;Nf&&(I=f),I<0&&(I=0),y=this.bMarks[N]+I,N+1=4){f++,c=f;continue}break}return e.line=f,e.tokens.push({type:"code",content:e.getLines(a,c,4+e.blkIndent,!0),block:!0,lines:[a,e.line],level:e.level}),!0}function Ya(e,a,o,f){var c,g,y,A,B,I=!1,N=e.bMarks[a]+e.tShift[a],H=e.eMarks[a];if(N+3>H||(c=e.src.charCodeAt(N),c!==126&&c!==96)||(B=N,N=e.skipChars(N,c),g=N-B,g<3)||(y=e.src.slice(N,H).trim(),y.indexOf("`")>=0))return!1;if(f)return!0;for(A=a;A++,!(A>=o||(N=B=e.bMarks[A]+e.tShift[A],H=e.eMarks[A],N=4)&&(N=e.skipChars(N,c),!(N-Bxe||e.src.charCodeAt(se++)!==62||e.level>=e.options.maxNesting)return!1;if(f)return!0;for(e.src.charCodeAt(se)===32&&se++,B=e.blkIndent,e.blkIndent=0,A=[e.bMarks[a]],e.bMarks[a]=se,se=se=xe,y=[e.tShift[a]],e.tShift[a]=se-e.bMarks[a],H=e.parser.ruler.getRules("blockquote"),c=a+1;c=xe));c++){if(e.src.charCodeAt(se++)===62){e.src.charCodeAt(se)===32&&se++,A.push(e.bMarks[c]),e.bMarks[c]=se,se=se=xe,y.push(e.tShift[c]),e.tShift[c]=se-e.bMarks[c];continue}if(g)break;for(ne=!1,Z=0,J=H.length;ZB||(c=e.src.charCodeAt(A++),c!==42&&c!==45&&c!==95))return!1;for(g=1;A=c||(o=e.src.charCodeAt(f++),o!==42&&o!==45&&o!==43)||f=c||(o=e.src.charCodeAt(f++),o<48||o>57))return-1;for(;;){if(f>=c)return-1;if(o=e.src.charCodeAt(f++),!(o>=48&&o<=57)){if(o===41||o===46)break;return-1}}return f=0)xe=!0;else if((H=X0(e,a))>=0)xe=!1;else return!1;if(e.level>=e.options.maxNesting)return!1;if(se=e.src.charCodeAt(H-1),f)return!0;for(Me=e.tokens.length,xe?(N=e.bMarks[a]+e.tShift[a],ne=Number(e.src.substr(N,H-N-1)),e.tokens.push({type:"ordered_list_open",order:ne,lines:e0=[a,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:e0=[a,0],level:e.level++}),c=a,br=!1,Vu=e.parser.ruler.getRules("list");c=Z?J=1:J=Be-H,J>4&&(J=1),J<1&&(J=1),g=H-e.bMarks[c]+J,e.tokens.push({type:"list_item_open",lines:ya=[a,0],level:e.level++}),A=e.blkIndent,B=e.tight,y=e.tShift[a],I=e.parentType,e.tShift[a]=Be-e.bMarks[a],e.blkIndent=g,e.tight=!0,e.parentType="list",e.parser.tokenize(e,a,o,!0),(!e.tight||br)&&(Cl=!1),br=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=A,e.tShift[a]=y,e.tight=B,e.parentType=I,e.tokens.push({type:"list_item_close",level:--e.level}),c=a=e.line,ya[1]=c,Be=e.bMarks[a],!(c>=o||e.isEmpty(c)||e.tShift[c]N||e.src.charCodeAt(I)!==91||e.src.charCodeAt(I+1)!==94||e.level>=e.options.maxNesting)return!1;for(A=I+2;A=N||e.src.charCodeAt(++A)!==58?!1:(f||(A++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),B=e.src.slice(I+2,A-2),e.env.footnotes.refs[":"+B]=-1,e.tokens.push({type:"footnote_reference_open",label:B,level:e.level++}),c=e.bMarks[a],g=e.tShift[a],y=e.parentType,e.tShift[a]=e.skipSpaces(A)-A,e.bMarks[a]=A,e.blkIndent+=4,e.parentType="footnote",e.tShift[a]=B||(c=e.src.charCodeAt(A),c!==35||A>=B))return!1;for(g=1,c=e.src.charCodeAt(++A);c===35&&A6||AA&&e.src.charCodeAt(y-1)===32&&(B=y),e.line=a+1,e.tokens.push({type:"heading_open",hLevel:g,lines:[a,e.line],level:e.level}),A=o||e.tShift[y]3||(c=e.bMarks[y]+e.tShift[y],g=e.eMarks[y],c>=g)||(f=e.src.charCodeAt(c),f!==45&&f!==61)||(c=e.skipChars(c,f),c=e.skipSpaces(c),c]/,cr=/^<\/([a-zA-Z]{1,15})[\s>]/;function M0(e){var a=e|32;return a>=97&&a<=122}function ge(e,a,o,f){var c,g,y,A=e.bMarks[a],B=e.eMarks[a],I=e.tShift[a];if(A+=I,!e.options.html||I>3||A+2>=B||e.src.charCodeAt(A)!==60)return!1;if(c=e.src.charCodeAt(A+1),c===33||c===63){if(f)return!0}else if(c===47||M0(c)){if(c===47){if(g=e.src.slice(A,B).match(cr),!g)return!1}else if(g=e.src.slice(A,B).match(he),!g)return!1;if(Ue[g[1].toLowerCase()]!==!0)return!1;if(f)return!0}else return!1;for(y=a+1;yo||(B=a+1,e.tShift[B]=e.eMarks[B])||(c=e.src.charCodeAt(y),c!==124&&c!==45&&c!==58)||(g=Ke(e,a+1),!/^[-:| ]+$/.test(g))||(I=g.split("|"),I<=2))return!1;for(H=[],A=0;A=g||(f=e.src.charCodeAt(c++),f!==126&&f!==58)||(o=e.skipSpaces(c),c===o)||o>=g?-1:o}function z(e,a){var o,f,c=e.level+2;for(o=a+2,f=e.tokens.length-2;o=0;if(N=a+1,e.isEmpty(N)&&++N>o||e.tShift[N]=e.options.maxNesting)return!1;I=e.tokens.length,e.tokens.push({type:"dl_open",lines:B=[a,0],level:e.level++}),y=a,g=N;e:for(;;){for(Be=!0,xe=!1,e.tokens.push({type:"dt_open",lines:[y,y],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(y,y+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[y,y],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:A=[N,0],level:e.level++}),se=e.tight,Z=e.ddIndent,H=e.blkIndent,ne=e.tShift[g],J=e.parentType,e.blkIndent=e.ddIndent=e.tShift[g]+2,e.tShift[g]=c-e.bMarks[g],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,g,o,!0),(!e.tight||xe)&&(Be=!1),xe=e.line-g>1&&e.isEmpty(e.line-1),e.tShift[g]=ne,e.tight=se,e.parentType=J,e.blkIndent=H,e.ddIndent=Z,e.tokens.push({type:"dd_close",level:--e.level}),A[1]=N=e.line,N>=o||e.tShift[N]=o||(y=N,e.isEmpty(y))||e.tShift[y]=o)||(e.isEmpty(g)&&g++,g>=o)||e.tShift[g]3)){for(c=!1,g=0,y=B.length;g=o||e.tShift[g]=0&&(e=e.replace(ln,function(A,B){var I;return e.charCodeAt(B)===10?(g=B+1,y=0,A):(I=" ".slice((B-g-y)%4),y=B-g+1,I)})),c=new Kr(e,this,a,o,f),this.tokenize(c,c.line,c.lineMax)};function on(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}function fi(e,a){for(var o=e.pos;o=0&&e.pending.charCodeAt(o)===32)if(o>=1&&e.pending.charCodeAt(o-1)===32){for(var g=o-2;g>=0;g--)if(e.pending.charCodeAt(g)!==32){e.pending=e.pending.substring(0,g+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(c++;c?@[]^_`{|}~-".split("").forEach(function(e){W0[e.charCodeAt(0)]=1});function we(e,a){var o,f=e.pos,c=e.posMax;if(e.src.charCodeAt(f)!==92)return!1;if(f++,f=g||e.src.charCodeAt(y+1)!==126||e.level>=e.options.maxNesting||(A=y>0?e.src.charCodeAt(y-1):-1,B=e.src.charCodeAt(y+2),A===126)||B===126||B===32||B===10)return!1;for(f=y+2;fy+3)return e.pos+=f-y,a||(e.pending+=e.src.slice(y,f)),!0;for(e.pos=y+2,c=1;e.pos+1=g||e.src.charCodeAt(y+1)!==43||e.level>=e.options.maxNesting||(A=y>0?e.src.charCodeAt(y-1):-1,B=e.src.charCodeAt(y+2),A===43)||B===43||B===32||B===10)return!1;for(f=y+2;f=g||e.src.charCodeAt(y+1)!==61||e.level>=e.options.maxNesting||(A=y>0?e.src.charCodeAt(y-1):-1,B=e.src.charCodeAt(y+2),A===61)||B===61||B===32||B===10)return!1;for(f=y+2;f=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function wt(e,a){var o=a,f,c,g,y=!0,A=!0,B=e.posMax,I=e.src.charCodeAt(a);for(f=a>0?e.src.charCodeAt(a-1):-1;o=B&&(y=!1),g=o-a,g>=4?y=A=!1:(c=o=e.options.maxNesting)return!1;for(e.pos=N+o,A=[o];e.pos?@[\]^_`{|}~-])/g;function pi(e,a){var o,f,c=e.posMax,g=e.pos;if(e.src.charCodeAt(g)!==126||a||g+2>=c||e.level>=e.options.maxNesting)return!1;for(e.pos=g+1;e.pos?@[\]^_`{|}~-])/g;function St(e,a){var o,f,c=e.posMax,g=e.pos;if(e.src.charCodeAt(g)!==94||a||g+2>=c||e.level>=e.options.maxNesting)return!1;for(e.pos=g+1;e.pos=e.options.maxNesting||(o=J+1,f=xr(e,J),f<0))return!1;if(A=f+1,A=Z)return!1;for(J=A,mt(e,A)?(g=e.linkContent,A=e.pos):g="",J=A;A=Z||e.src.charCodeAt(A)!==41)return e.pos=H,!1;A++}else{if(e.linkLevel>0)return!1;for(;A=0?c=e.src.slice(J,A++):A=J-1),c||(typeof c>"u"&&(A=f+1),c=e.src.slice(o,f)),B=e.env.references[ei(c)],!B)return e.pos=H,!1;g=B.href,y=B.title}return a||(e.pos=o,e.posMax=f,N?e.push({type:"image",src:g,title:y,alt:e.src.substr(o,f-o),level:e.level}):(e.push({type:"link_open",href:g,title:y,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=A,e.posMax=Z,!0}function Ka(e,a){var o,f,c,g,y=e.posMax,A=e.pos;return A+2>=y||e.src.charCodeAt(A)!==94||e.src.charCodeAt(A+1)!==91||e.level>=e.options.maxNesting||(o=A+2,f=xr(e,A+1),f<0)?!1:(a||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),c=e.env.footnotes.list.length,e.pos=o,e.posMax=f,e.push({type:"footnote_ref",id:c,level:e.level}),e.linkLevel++,g=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[c]={tokens:e.tokens.splice(g)},e.linkLevel--),e.pos=f+1,e.posMax=y,!0)}function Za(e,a){var o,f,c,g,y=e.posMax,A=e.pos;if(A+3>y||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(A)!==91||e.src.charCodeAt(A+1)!==94||e.level>=e.options.maxNesting)return!1;for(f=A+2;f=y||(f++,o=e.src.slice(A+2,f-1),typeof e.env.footnotes.refs[":"+o]>"u")?!1:(a||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+o]<0?(c=e.env.footnotes.list.length,e.env.footnotes.list[c]={label:o,count:0},e.env.footnotes.refs[":"+o]=c):c=e.env.footnotes.refs[":"+o],g=e.env.footnotes.list[c].count,e.env.footnotes.list[c].count++,e.push({type:"footnote_ref",id:c,subId:g,level:e.level})),e.pos=f,e.posMax=y,!0)}var Ja=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],Qa=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,eu=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function sn(e,a){var o,f,c,g,y,A=e.pos;return e.src.charCodeAt(A)!==60||(o=e.src.slice(A),o.indexOf(">")<0)?!1:(f=o.match(eu),f?Ja.indexOf(f[1].toLowerCase())<0||(g=f[0].slice(1,-1),y=an(g),!e.parser.validateLink(g))?!1:(a||(e.push({type:"link_open",href:y,level:e.level}),e.push({type:"text",content:g,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=f[0].length,!0):(c=o.match(Qa),c?(g=c[0].slice(1,-1),y=an("mailto:"+g),e.parser.validateLink(y)?(a||(e.push({type:"link_open",href:y,level:e.level}),e.push({type:"text",content:g,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=c[0].length,!0):!1):!1))}function lr(e,a){return e=e.source,a=a||"",function o(f,c){return f?(c=c.source||c,e=e.replace(f,c),o):new RegExp(e,a)}}var di=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,ru=/[^"'=<>`\x00-\x20]+/,tu=/'[^']*'/,mi=/"[^"]*"/,nu=lr(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",ru)("single_quoted",tu)("double_quoted",mi)(),iu=lr(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",di)("attr_value",nu)(),au=lr(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",iu)(),uu=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,Ct=/|/,vi=/<[?].*?[?]>/,gi=/]*>/,lu=//,V=lr(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",au)("close_tag",uu)("comment",Ct)("processing",vi)("declaration",gi)("cdata",lu)();function Xe(e){var a=e|32;return a>=97&&a<=122}function b0(e,a){var o,f,c,g=e.pos;return!e.options.html||(c=e.posMax,e.src.charCodeAt(g)!==60||g+2>=c)||(o=e.src.charCodeAt(g+1),o!==33&&o!==63&&o!==47&&!Xe(o))||(f=e.src.slice(g).match(V),!f)?!1:(a||e.push({type:"htmltag",content:e.src.slice(g,g+f[0].length),level:e.level}),e.pos+=f[0].length,!0)}var Jr=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,ou=/^&([a-z][a-z0-9]{1,31});/i;function su(e,a){var o,f,c,g=e.pos,y=e.posMax;if(e.src.charCodeAt(g)!==38)return!1;if(g+10){e.pos=g;return}for(c=0;c=f)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},w0.prototype.parse=function(e,a,o,f){var c=new Rr(e,this,a,o,f);this.tokenize(c)};function Et(e){var a=["vbscript","javascript","file","data"],o=e.trim().toLowerCase();return o=We(o),!(o.indexOf(":")!==-1&&a.indexOf(o.split(":")[0])!==-1)}var oe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},A0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},Bt={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},er={default:oe,full:A0,commonmark:Bt};function $r(e,a,o){this.src=a,this.env=o,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function i0(e,a){typeof e!="string"&&(a=e,e="default"),a&&a.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead: - -import Remarkable from 'remarkable'; -import linkify from 'remarkable/linkify'; -new Remarkable().use(linkify) -`),this.inline=new w0,this.block=new xt,this.core=new Wr,this.renderer=new nn,this.ruler=new gr,this.options={},this.configure(er[e]),this.set(a||{})}i0.prototype.set=function(e){ke(this.options,e)},i0.prototype.configure=function(e){var a=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&a.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&a[o].ruler.enable(e.components[o].rules,!0)})},i0.prototype.use=function(e,a){return e(this,a),this},i0.prototype.parse=function(e,a){var o=new $r(this,e,a);return this.core.process(o),o.tokens},i0.prototype.render=function(e,a){return a=a||{},this.renderer.render(this.parse(e,a),this.options,a)},i0.prototype.parseInline=function(e,a){var o=new $r(this,e,a);return o.inlineMode=!0,this.core.process(o),o.tokens},i0.prototype.renderInline=function(e,a){return a=a||{},this.renderer.render(this.parseInline(e,a),this.options,a)};var cu=(e,a)=>{const o="\\",f="$",g=(a||{}).delimiter||f;if(g.length!==1)throw new Error("invalid delimiter");const y=k,A=(N,H)=>y.renderToString(N,{displayMode:H,throwOnError:!1}),B=(N,H,Z)=>{let J=!1,ne=N.bMarks[H]+N.tShift[H],se=N.eMarks[H];if(ne+1>se)return!1;const xe=N.src.charAt(ne);if(xe!==g)return!1;let Be=ne;ne=N.skipChars(ne,xe);let Me=ne-Be;if(Me!==2)return!1;let br=H;for(;++br,!(br>=Z||(ne=Be=N.bMarks[br]+N.tShift[br],se=N.eMarks[br],ne=4)&&(ne=N.skipChars(ne,xe),!(ne-Be{const Z=N.pos,J=N.posMax;let ne=Z;if(N.src.charAt(ne)!==g)return!1;for(++ne;ne2)return!1;const xe=ne;let Be=0;for(;ne1,level:N.level})}return N.pos=e0,!0}}ne+=1}return H||(N.pending+=se),N.pos+=se.length,!0};e.inline.ruler.push("katex",I,a),e.block.ruler.push("katex",B,a),e.renderer.rules.katex=(N,H)=>A(N[H].content,N[H].block),e.renderer.rules.katex.delimiter=g},Z0={versions:{katex:"0.16.0",webfontloader:"1.6.28"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.js"}}],scripts:[{type:"iife",data:{fn:e=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{e().refreshHook.call()}}},getParams({getMarkmap:e}){return[e]}}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js",defer:!0}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"}}]};const rr="https://cdn.jsdelivr.net/npm/";function xi(e,a,o){return e.map(f=>(typeof f=="string"&&(f.startsWith(`${a}/`)?f=`${rr}${a}@${o}${f.slice(a.length)}`:f.startsWith(`${a}@`)&&(f=`${rr}${f}`)),f))}function yi(){return{parser:new T,beforeParse:new T,afterParse:new T,htmltag:new T,retransform:new T}}function wl(e){return e}let J0;const Q0=()=>(J0||(J0=ur(Z0.preloadScripts)),J0),Fe="katex";var Mt={name:Fe,config:Z0,transform(e){const a=(f,c)=>{const{katex:g}=window;return g?g.renderToString(f,{displayMode:c,throwOnError:!1}):(Q0().then(()=>{e.retransform.call()}),f)};let o=()=>{};return e.parser.tap(f=>{f.use(cu),f.renderer.rules.katex=(c,g)=>(o(),a(c[g].content,c[g].block))}),e.beforeParse.tap((f,c)=>{o=()=>{c.features[Fe]=!0}}),e.afterParse.tap((f,c)=>{const{frontmatter:g}=c;g!=null&&g.markmap&&["extraJs","extraCss"].forEach(y=>{g.markmap[y]&&(g.markmap[y]=xi(g.markmap[y],Fe,Z0.versions.katex))})}),{styles:Z0.styles,scripts:Z0.scripts}}},et={versions:{prismjs:"1.28.0"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/components/prism-core.min.js"}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/plugins/autoloader/prism-autoloader.min.js"}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/themes/prism.css"}}]};let Tt;const _r=()=>(Tt||(Tt=ur(et.preloadScripts)),Tt);function rt(e,a){_r().then(()=>{window.Prism.plugins.autoloader.loadLanguages([e],()=>{a.retransform.call()})})}const bi="prism";var te={name:bi,config:et,transform(e){let a=()=>{};return e.parser.tap(o=>{o.set({highlight:(f,c)=>{var g;a();const{Prism:y}=window,A=y==null||(g=y.languages)==null?void 0:g[c];return A?y.highlight(f,A,c):(rt(c,e),"")}})}),e.beforeParse.tap((o,f)=>{a=()=>{f.features[bi]=!0}}),{styles:et.styles}}};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function kr(e){return typeof e>"u"||e===null}function cn(e){return typeof e=="object"&&e!==null}function hn(e){return Array.isArray(e)?e:kr(e)?[]:[e]}function yr(e,a){var o,f,c,g;if(a)for(g=Object.keys(a),o=0,f=g.length;oA&&(g=" ... ",a=f-A+g.length),o-f>A&&(y=" ...",o=f+A-y.length),{str:g+e.slice(a,o).replace(/\t/g,"→")+y,pos:f-a+g.length}}function Pr(e,a){return nr.repeat(" ",a-e.length)+e}function Ee(e,a){if(a=Object.create(a||null),!e.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);for(var o=/\r?\n|\r|\0/g,f=[0],c=[],g,y=-1;g=o.exec(e.buffer);)c.push(g.index),f.push(g.index+g[0].length),e.position<=g.index&&y<0&&(y=f.length-2);y<0&&(y=f.length-1);var A="",B,I,N=Math.min(e.line+a.linesAfter,c.length).toString().length,H=a.maxLength-(a.indent+N+3);for(B=1;B<=a.linesBefore&&!(y-B<0);B++)I=fn(e.buffer,f[y-B],c[y-B],e.position-(f[y]-f[y-B]),H),A=nr.repeat(" ",a.indent)+Pr((e.line-B+1).toString(),N)+" | "+I.str+` -`+A;for(I=fn(e.buffer,f[y],c[y],e.position,H),A+=nr.repeat(" ",a.indent)+Pr((e.line+1).toString(),N)+" | "+I.str+` -`,A+=nr.repeat("-",a.indent+N+3+I.pos)+`^ -`,B=1;B<=a.linesAfter&&!(y+B>=c.length);B++)I=fn(e.buffer,f[y+B],c[y+B],e.position-(f[y]-f[y+B]),H),A+=nr.repeat(" ",a.indent)+Pr((e.line+B+1).toString(),N)+" | "+I.str+` -`;return A.replace(/\n$/,"")}var pn=Ee,_t=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],dn=["scalar","sequence","mapping"];function Ci(e){var a={};return e!==null&&Object.keys(e).forEach(function(o){e[o].forEach(function(f){a[String(f)]=o})}),a}function du(e,a){if(a=a||{},Object.keys(a).forEach(function(o){if(_t.indexOf(o)===-1)throw new fr('Unknown option "'+o+'" is met in definition of "'+e+'" YAML type.')}),this.options=a,this.tag=e,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(o){return o},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=Ci(a.styleAliases||null),dn.indexOf(this.kind)===-1)throw new fr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var tr=du;function Di(e,a){var o=[];return e[a].forEach(function(f){var c=o.length;o.forEach(function(g,y){g.tag===f.tag&&g.kind===f.kind&&g.multi===f.multi&&(c=y)}),o[c]=f}),o}function Ei(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},a,o;function f(c){c.multi?(e.multi[c.kind].push(c),e.multi.fallback.push(c)):e[c.kind][c.tag]=e.fallback[c.tag]=c}for(a=0,o=arguments.length;a=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),wn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function An(e){return!(e===null||!wn.test(e)||e[e.length-1]==="_")}function Nt(e){var a,o;return a=e.replace(/_/g,"").toLowerCase(),o=a[0]==="-"?-1:1,"+-".indexOf(a[0])>=0&&(a=a.slice(1)),a===".inf"?o===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:a===".nan"?NaN:o*parseFloat(a,10)}var bu=/^[-+]?[0-9]+e/;function wu(e,a){var o;if(isNaN(e))switch(a){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(a){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(a){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(nr.isNegativeZero(e))return"-0.0";return o=e.toString(10),bu.test(o)?o.replace("e",".e"):o}function Ni(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||nr.isNegativeZero(e))}var qt=new tr("tag:yaml.org,2002:float",{kind:"scalar",resolve:An,construct:Nt,predicate:Ni,represent:wu,defaultStyle:"lowercase"}),It=Mi.extend({implicit:[gn,yn,Ft,qt]}),Rt=It,qi=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),kn=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Au(e){return e===null?!1:qi.exec(e)!==null||kn.exec(e)!==null}function Ii(e){var a,o,f,c,g,y,A,B=0,I=null,N,H,Z;if(a=qi.exec(e),a===null&&(a=kn.exec(e)),a===null)throw new Error("Date resolve error");if(o=+a[1],f=+a[2]-1,c=+a[3],!a[4])return new Date(Date.UTC(o,f,c));if(g=+a[4],y=+a[5],A=+a[6],a[7]){for(B=a[7].slice(0,3);B.length<3;)B+="0";B=+B}return a[9]&&(N=+a[10],H=+(a[11]||0),I=(N*60+H)*6e4,a[9]==="-"&&(I=-I)),Z=new Date(Date.UTC(o,f,c,g,y,A,B)),I&&Z.setTime(Z.getTime()-I),Z}function at(e){return e.toISOString()}var Ri=new tr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Au,construct:Ii,instanceOf:Date,represent:at});function ku(e){return e==="<<"||e===null}var Oi=new tr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:ku}),Ot=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Su(e){if(e===null)return!1;var a,o,f=0,c=e.length,g=Ot;for(o=0;o64)){if(a<0)return!1;f+=6}return f%8===0}function Li(e){var a,o,f=e.replace(/[\r\n=]/g,""),c=f.length,g=Ot,y=0,A=[];for(a=0;a>16&255),A.push(y>>8&255),A.push(y&255)),y=y<<6|g.indexOf(f.charAt(a));return o=c%4*6,o===0?(A.push(y>>16&255),A.push(y>>8&255),A.push(y&255)):o===18?(A.push(y>>10&255),A.push(y>>2&255)):o===12&&A.push(y>>4&255),new Uint8Array(A)}function Pi(e){var a="",o=0,f,c,g=e.length,y=Ot;for(f=0;f>18&63],a+=y[o>>12&63],a+=y[o>>6&63],a+=y[o&63]),o=(o<<8)+e[f];return c=g%3,c===0?(a+=y[o>>18&63],a+=y[o>>12&63],a+=y[o>>6&63],a+=y[o&63]):c===2?(a+=y[o>>10&63],a+=y[o>>4&63],a+=y[o<<2&63],a+=y[64]):c===1&&(a+=y[o>>2&63],a+=y[o<<4&63],a+=y[64],a+=y[64]),a}function Cu(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Yr=new tr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Su,construct:Li,predicate:Cu,represent:Pi}),Hi=Object.prototype.hasOwnProperty,Du=Object.prototype.toString;function Lt(e){if(e===null)return!0;var a=[],o,f,c,g,y,A=e;for(o=0,f=A.length;o>10)+55296,(e-65536&1023)+56320)}for(var S0=new Array(256),_0=new Array(256),z0=0;z0<256;z0++)S0[z0]=Tn(z0)?1:0,_0[z0]=Tn(z0);function Bu(e,a){this.input=e,this.filename=a.filename||null,this.schema=a.schema||T0,this.onWarning=a.onWarning||null,this.legacy=a.legacy||!1,this.json=a.json||!1,this.listener=a.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function _n(e,a){var o={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return o.snippet=pn(o),new fr(a,o)}function me(e,a){throw _n(e,a)}function ut(e,a){e.onWarning&&e.onWarning.call(null,_n(e,a))}var zn={YAML:function(a,o,f){var c,g,y;a.version!==null&&me(a,"duplication of %YAML directive"),f.length!==1&&me(a,"YAML directive accepts exactly one argument"),c=/^([0-9]+)\.([0-9]+)$/.exec(f[0]),c===null&&me(a,"ill-formed argument of the YAML directive"),g=parseInt(c[1],10),y=parseInt(c[2],10),g!==1&&me(a,"unacceptable YAML version of the document"),a.version=f[0],a.checkLineBreaks=y<2,y!==1&&y!==2&&ut(a,"unsupported YAML version of the document")},TAG:function(a,o,f){var c,g;f.length!==2&&me(a,"TAG directive accepts exactly two arguments"),c=f[0],g=f[1],En.test(c)||me(a,"ill-formed tag handle (first argument) of the TAG directive"),jr.call(a.tagMap,c)&&me(a,'there is a previously declared suffix for "'+c+'" tag handle'),Bn.test(g)||me(a,"ill-formed tag prefix (second argument) of the TAG directive");try{g=decodeURIComponent(g)}catch{me(a,"tag prefix is malformed: "+g)}a.tagMap[c]=g}};function o0(e,a,o,f){var c,g,y,A;if(a1&&(e.result+=nr.repeat(` -`,a-1))}function Zi(e,a,o){var f,c,g,y,A,B,I,N,H=e.kind,Z=e.result,J;if(J=e.input.charCodeAt(e.position),pr(J)||k0(J)||J===35||J===38||J===42||J===33||J===124||J===62||J===39||J===34||J===37||J===64||J===96||(J===63||J===45)&&(c=e.input.charCodeAt(e.position+1),pr(c)||o&&k0(c)))return!1;for(e.kind="scalar",e.result="",g=y=e.position,A=!1;J!==0;){if(J===58){if(c=e.input.charCodeAt(e.position+1),pr(c)||o&&k0(c))break}else if(J===35){if(f=e.input.charCodeAt(e.position-1),pr(f))break}else{if(e.position===e.lineStart&&N0(e)||o&&k0(J))break;if(Fr(J))if(B=e.line,I=e.lineStart,N=e.lineIndent,Je(e,!1,-1),e.lineIndent>=a){A=!0,J=e.input.charCodeAt(e.position);continue}else{e.position=y,e.line=B,e.lineStart=I,e.lineIndent=N;break}}A&&(o0(e,g,y,!1),$t(e,e.line-B),g=y=e.position,A=!1),l0(J)||(y=e.position+1),J=e.input.charCodeAt(++e.position)}return o0(e,g,y,!1),e.result?!0:(e.kind=H,e.result=Z,!1)}function Ji(e,a){var o,f,c;if(o=e.input.charCodeAt(e.position),o!==39)return!1;for(e.kind="scalar",e.result="",e.position++,f=c=e.position;(o=e.input.charCodeAt(e.position))!==0;)if(o===39)if(o0(e,f,e.position,!0),o=e.input.charCodeAt(++e.position),o===39)f=e.position,e.position++,c=e.position;else return!0;else Fr(o)?(o0(e,f,c,!0),$t(e,Je(e,!1,a)),f=c=e.position):e.position===e.lineStart&&N0(e)?me(e,"unexpected end of the document within a single quoted scalar"):(e.position++,c=e.position);me(e,"unexpected end of the stream within a single quoted scalar")}function Mu(e,a){var o,f,c,g,y,A;if(A=e.input.charCodeAt(e.position),A!==34)return!1;for(e.kind="scalar",e.result="",e.position++,o=f=e.position;(A=e.input.charCodeAt(e.position))!==0;){if(A===34)return o0(e,o,e.position,!0),e.position++,!0;if(A===92){if(o0(e,o,e.position,!0),A=e.input.charCodeAt(++e.position),Fr(A))Je(e,!1,a);else if(A<256&&S0[A])e.result+=_0[A],e.position++;else if((y=Mn(A))>0){for(c=y,g=0;c>0;c--)A=e.input.charCodeAt(++e.position),(y=Eu(A))>=0?g=(g<<4)+y:me(e,"expected hexadecimal character");e.result+=Ki(g),e.position++}else me(e,"unknown escape sequence");o=f=e.position}else Fr(A)?(o0(e,o,f,!0),$t(e,Je(e,!1,a)),o=f=e.position):e.position===e.lineStart&&N0(e)?me(e,"unexpected end of the document within a double quoted scalar"):(e.position++,f=e.position)}me(e,"unexpected end of the stream within a double quoted scalar")}function Qi(e,a){var o=!0,f,c,g,y=e.tag,A,B=e.anchor,I,N,H,Z,J,ne=Object.create(null),se,xe,Be,Me;if(Me=e.input.charCodeAt(e.position),Me===91)N=93,J=!1,A=[];else if(Me===123)N=125,J=!0,A={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=A),Me=e.input.charCodeAt(++e.position);Me!==0;){if(Je(e,!0,a),Me=e.input.charCodeAt(e.position),Me===N)return e.position++,e.tag=y,e.anchor=B,e.kind=J?"mapping":"sequence",e.result=A,!0;o?Me===44&&me(e,"expected the node content, but found ','"):me(e,"missed comma between flow collection entries"),xe=se=Be=null,H=Z=!1,Me===63&&(I=e.input.charCodeAt(e.position+1),pr(I)&&(H=Z=!0,e.position++,Je(e,!0,a))),f=e.line,c=e.lineStart,g=e.position,q0(e,a,Ur,!1,!0),xe=e.tag,se=e.result,Je(e,!0,a),Me=e.input.charCodeAt(e.position),(Z||e.line===f)&&Me===58&&(H=!0,Me=e.input.charCodeAt(++e.position),Je(e,!0,a),q0(e,a,Ur,!1,!0),Be=e.result),J?F0(e,A,ne,xe,se,Be,f,c,g):H?A.push(F0(e,null,ne,xe,se,Be,f,c,g)):A.push(se),Je(e,!0,a),Me=e.input.charCodeAt(e.position),Me===44?(o=!0,Me=e.input.charCodeAt(++e.position)):o=!1}me(e,"unexpected end of the stream within a flow collection")}function ea(e,a){var o,f,c=zr,g=!1,y=!1,A=a,B=0,I=!1,N,H;if(H=e.input.charCodeAt(e.position),H===124)f=!1;else if(H===62)f=!0;else return!1;for(e.kind="scalar",e.result="";H!==0;)if(H=e.input.charCodeAt(++e.position),H===43||H===45)zr===c?c=H===43?$i:Gi:me(e,"repeat of a chomping mode identifier");else if((N=Wi(H))>=0)N===0?me(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):y?me(e,"repeat of an indentation width identifier"):(A=a+N-1,y=!0);else break;if(l0(H)){do H=e.input.charCodeAt(++e.position);while(l0(H));if(H===35)do H=e.input.charCodeAt(++e.position);while(!Fr(H)&&H!==0)}for(;H!==0;){for(Gt(e),e.lineIndent=0,H=e.input.charCodeAt(e.position);(!y||e.lineIndentA&&(A=e.lineIndent),Fr(H)){B++;continue}if(e.lineIndenta)&&B!==0)me(e,"bad indentation of a sequence entry");else if(e.lineIndenta)&&(xe&&(y=e.line,A=e.lineStart,B=e.position),q0(e,a,Ut,!0,c)&&(xe?ne=e.result:se=e.result),xe||(F0(e,H,Z,J,ne,se,y,A,B),J=ne=se=null),Je(e,!0,-1),Me=e.input.charCodeAt(e.position)),(e.line===g||e.lineIndent>a)&&Me!==0)me(e,"bad indentation of a mapping entry");else if(e.lineIndenta?B=1:e.lineIndent===a?B=0:e.lineIndenta?B=1:e.lineIndent===a?B=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),H=0,Z=e.implicitTypes.length;H"),e.result!==null&&ne.kind!==e.kind&&me(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+ne.kind+'", not "'+e.kind+'"'),ne.resolve(e.result,e.tag)?(e.result=ne.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):me(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||N}function zu(e){var a=e.position,o,f,c,g=!1,y;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(y=e.input.charCodeAt(e.position))!==0&&(Je(e,!0,-1),y=e.input.charCodeAt(e.position),!(e.lineIndent>0||y!==37));){for(g=!0,y=e.input.charCodeAt(++e.position),o=e.position;y!==0&&!pr(y);)y=e.input.charCodeAt(++e.position);for(f=e.input.slice(o,e.position),c=[],f.length<1&&me(e,"directive name must not be less than one character in length");y!==0;){for(;l0(y);)y=e.input.charCodeAt(++e.position);if(y===35){do y=e.input.charCodeAt(++e.position);while(y!==0&&!Fr(y));break}if(Fr(y))break;for(o=e.position;y!==0&&!pr(y);)y=e.input.charCodeAt(++e.position);c.push(e.input.slice(o,e.position))}y!==0&&Gt(e),jr.call(zn,f)?zn[f](e,f,c):ut(e,'unknown document directive "'+f+'"')}if(Je(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Je(e,!0,-1)):g&&me(e,"directives end mark is expected"),q0(e,e.lineIndent-1,Ut,!1,!0),Je(e,!0,-1),e.checkLineBreaks&&Xi.test(e.input.slice(a,e.position))&&ut(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&N0(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Je(e,!0,-1));return}if(e.position"u"&&(o=a,a=null);var f=Yt(e,o);if(typeof a!="function")return f;for(var c=0,g=f.length;c=55296&&o<=56319&&a+1=56320&&f<=57343)?(o-55296)*1024+f-56320+65536:o}function Ce(e){var a=/^\n* /;return a.test(e)}var qe=1,Ne=2,Ie=3,He=4,Qe=5;function Sr(e,a,o,f,c,g,y,A){var B,I=0,N=null,H=!1,Z=!1,J=f!==-1,ne=-1,se=de(ze(e,0))&&ve(ze(e,e.length-1));if(a||y)for(B=0;B=65536?B+=2:B++){if(I=ze(e,B),!ie(I))return Qe;se=se&&fe(I,N,A),N=I}else{for(B=0;B=65536?B+=2:B++){if(I=ze(e,B),I===C0)H=!0,J&&(Z=Z||B-ne-1>f&&e[ne+1]!==" ",ne=B);else if(!ie(I))return Qe;se=se&&fe(I,N,A),N=I}Z=Z||J&&B-ne-1>f&&e[ne+1]!==" "}return!H&&!Z?se&&!y&&!c(e)?qe:g===E?Qe:Ne:o>9&&Ce(e)?Qe:y?g===E?Qe:Ne:Z?He:Ie}function je(e,a,o,f,c){e.dump=function(){if(a.length===0)return e.quotingType===E?'""':"''";if(!e.noCompatMode&&(u.indexOf(a)!==-1||s.test(a)))return e.quotingType===E?'"'+a+'"':"'"+a+"'";var g=e.indent*Math.max(1,o),y=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-g),A=f||e.flowLevel>-1&&o>=e.flowLevel;function B(I){return Y(e,I)}switch(Sr(a,A,e.indent,y,B,e.quotingType,e.forceQuotes&&!f,c)){case qe:return a;case Ne:return"'"+a.replace(/'/g,"''")+"'";case Ie:return"|"+c0(a,e.indent)+Cr(U(a,g));case He:return">"+c0(a,e.indent)+Cr(U(dr(a,y),g));case Qe:return'"'+I0(a)+'"';default:throw new fr("impossible error: invalid scalar style")}}()}function c0(e,a){var o=Ce(e)?String(a):"",f=e[e.length-1]===` -`,c=f&&(e[e.length-2]===` -`||e===` -`),g=c?"+":f?"":"-";return o+g+` -`}function Cr(e){return e[e.length-1]===` -`?e.slice(0,-1):e}function dr(e,a){for(var o=/(\n+)([^\n]*)/g,f=function(){var I=e.indexOf(` -`);return I=I!==-1?I:e.length,o.lastIndex=I,Qr(e.slice(0,I),a)}(),c=e[0]===` -`||e[0]===" ",g,y;y=o.exec(e);){var A=y[1],B=y[2];g=B[0]===" ",f+=A+(!c&&!g&&B!==""?` -`:"")+Qr(B,a),c=g}return f}function Qr(e,a){if(e===""||e[0]===" ")return e;for(var o=/ [^ ]/g,f,c=0,g,y=0,A=0,B="";f=o.exec(e);)A=f.index,A-c>a&&(g=y>c?y:A,B+=` -`+e.slice(c,g),c=g+1),y=A;return B+=` -`,e.length-c>a&&y>c?B+=e.slice(c,y)+` -`+e.slice(y+1):B+=e.slice(c),B.slice(1)}function I0(e){for(var a="",o=0,f,c=0;c=65536?c+=2:c++)o=ze(e,c),f=n[o],!f&&ie(o)?(a+=e[c],o>=65536&&(a+=e[c+1])):a+=f||b(o);return a}function R0(e,a,o){var f="",c=e.tag,g,y,A;for(g=0,y=o.length;g"u"&&Er(e,a,null,!1,!1))&&(f!==""&&(f+=","+(e.condenseFlow?"":" ")),f+=e.dump);e.tag=c,e.dump="["+f+"]"}function Wt(e,a,o,f){var c="",g=e.tag,y,A,B;for(y=0,A=o.length;y"u"&&Er(e,a+1,null,!0,!0,!1,!0))&&((!f||c!=="")&&(c+=$(e,a)),e.dump&&C0===e.dump.charCodeAt(0)?c+="-":c+="- ",c+=e.dump);e.tag=g,e.dump=c||"[]"}function h0(e,a,o){var f="",c=e.tag,g=Object.keys(o),y,A,B,I,N;for(y=0,A=g.length;y1024&&(N+="? "),N+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Er(e,a,I,!1,!1)&&(N+=e.dump,f+=N));e.tag=c,e.dump="{"+f+"}"}function f0(e,a,o,f){var c="",g=e.tag,y=Object.keys(o),A,B,I,N,H,Z;if(e.sortKeys===!0)y.sort();else if(typeof e.sortKeys=="function")y.sort(e.sortKeys);else if(e.sortKeys)throw new fr("sortKeys must be a boolean or a function");for(A=0,B=y.length;A1024,H&&(e.dump&&C0===e.dump.charCodeAt(0)?Z+="?":Z+="? "),Z+=e.dump,H&&(Z+=$(e,a)),Er(e,a+1,N,!0,H)&&(e.dump&&C0===e.dump.charCodeAt(0)?Z+=":":Z+=": ",Z+=e.dump,c+=Z));e.tag=g,e.dump=c||"{}"}function Dr(e,a,o){var f,c,g,y,A,B;for(c=o?e.explicitTypes:e.implicitTypes,g=0,y=c.length;g tag resolver accepts not "'+B+'" style');e.dump=f}return!0}return!1}function Er(e,a,o,f,c,g,y){e.tag=null,e.dump=o,Dr(e,o,!1)||Dr(e,o,!0);var A=aa.call(e.dump),B=f,I;f&&(f=e.flowLevel<0||e.flowLevel>a);var N=A==="[object Object]"||A==="[object Array]",H,Z;if(N&&(H=e.duplicates.indexOf(o),Z=H!==-1),(e.tag!==null&&e.tag!=="?"||Z||e.indent!==2&&a>0)&&(c=!1),Z&&e.usedDuplicates[H])e.dump="*ref_"+H;else{if(N&&Z&&!e.usedDuplicates[H]&&(e.usedDuplicates[H]=!0),A==="[object Object]")f&&Object.keys(e.dump).length!==0?(f0(e,a,e.dump,c),Z&&(e.dump="&ref_"+H+e.dump)):(h0(e,a,e.dump),Z&&(e.dump="&ref_"+H+" "+e.dump));else if(A==="[object Array]")f&&e.dump.length!==0?(e.noArrayIndent&&!y&&a>0?Wt(e,a-1,e.dump,c):Wt(e,a,e.dump,c),Z&&(e.dump="&ref_"+H+e.dump)):(R0(e,a,e.dump),Z&&(e.dump="&ref_"+H+" "+e.dump));else if(A==="[object String]")e.tag!=="?"&&je(e,e.dump,a,g,B);else{if(A==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new fr("unacceptable kind of an object to dump "+A)}e.tag!==null&&e.tag!=="?"&&(I=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?I="!"+I:I.slice(0,18)==="tag:yaml.org,2002:"?I="!!"+I.slice(18):I="!<"+I+">",e.dump=I+" "+e.dump)}return!0}function On(e,a){var o=[],f=[],c,g;for(p0(e,o,f),c=0,g=f.length;c{const f=a.parse;a.parse=Re(f,{before(c){const[g]=c.args;if(!g.startsWith(`--- -`))return;const y=g.indexOf(` ---- -`);if(y<0)return;const A=g.slice(4,y);let B;try{var I;B=Go.load(A),(I=B)!=null&&I.markmap&&(B.markmap=Yo(B.markmap))}catch{return}o.frontmatter=B;const N=y+5;c.args[0]=g.slice(N)},after(){a.parse=f}})}),{}}};function Yo(e){if(e)return["color","extraJs","extraCss"].forEach(a=>{e[a]!=null&&(e[a]=Xo(e[a]))}),["duration","maxWidth","initialExpandLevel"].forEach(a=>{e[a]!=null&&(e[a]=jo(e[a]))}),e}function Xo(e){var a;let o;return typeof e=="string"?o=[e]:Array.isArray(e)&&(o=e.filter(f=>f&&typeof f=="string")),(a=o)!=null&&a.length?o:void 0}function jo(e){if(!isNaN(+e))return+e}const Al=[$o,Mt,te];function kl(e){if(e.type==="heading")e.children=e.children.filter(c=>c.type!=="paragraph");else if(e.type==="list_item"){var a;e.children=e.children.filter(c=>["paragraph","fence"].includes(c.type)?(e.content||(e.content=c.content,e.payload=M({},e.payload,c.payload)),!1):!0),((a=e.payload)==null?void 0:a.index)!=null&&(e.content=`${e.payload.index}. ${e.content}`)}else if(e.type==="ordered_list"){var o,f;let c=(o=(f=e.payload)==null?void 0:f.startIndex)!=null?o:1;e.children.forEach(g=>{g.type==="list_item"&&(g.payload=M({},g.payload,{index:c}),c+=1)})}e.children.length===0?delete e.children:(e.children.forEach(c=>kl(c)),e.children.length===1&&!e.children[0].content&&(e.children=e.children[0].children))}function Sl(e,a=0){var o;e.depth=a,(o=e.children)==null||o.forEach(f=>{Sl(f,a+1)})}class Wo{constructor(a=Al){this.assetsMap={},this.plugins=a,this.hooks=yi();const o={};for(const{name:c,transform:g}of a)o[c]=g(this.hooks);this.assetsMap=o;const f=new i0("full",{html:!0,breaks:!0,maxNesting:1/0});f.renderer.rules.htmltag=Re(f.renderer.rules.htmltag,{after:c=>{this.hooks.htmltag.call(c)}}),this.md=f,this.hooks.parser.call(f)}buildTree(a){const{md:o}=this,f={type:"root",depth:0,content:"",children:[],payload:{}},c=[f];let g=0;for(const B of a){let I=c[c.length-1];if(B.type.endsWith("_open")){const N=B.type.slice(0,-5),H={};if(B.lines&&(H.lines=B.lines),N==="heading")for(g=B.hLevel;((y=I)==null?void 0:y.depth)>=g;){var y;c.pop(),I=c[c.length-1]}else{var A;g=Math.max(g,((A=I)==null?void 0:A.depth)||0)+1,N==="ordered_list"&&(H.startIndex=B.order)}const Z={type:N,depth:g,payload:H,content:"",children:[]};I.children.push(Z),c.push(Z)}else if(I){if(B.type===`${I.type}_close`)I.type==="heading"?g=I.depth:(c.pop(),g=0);else if(B.type==="inline"){const N=this.hooks.htmltag.tap(Z=>{const J=Z.result.match(/^$/),ne=J==null?void 0:J[1].trim().split(" ");ne[0]==="fold"&&(I.payload.fold=["all","recursively"].includes(ne[1])?2:1,Z.result="")}),H=o.renderer.render([B],o.options,{});N(),I.content=`${I.content||""}${H}`}else if(B.type==="fence"){let N=o.renderer.render([B],o.options,{});const H=N.match(//);H&&(N=N.replace("
    ",``)),I.children.push({type:B.type,depth:g+1,content:N,children:[]})}}else continue}return f}transform(a){var o;const f={features:{}};this.hooks.beforeParse.call(this.md,f);const c=this.md.parse(a,{});this.hooks.afterParse.call(this.md,f);let g=this.buildTree(c);return kl(g),((o=g.children)==null?void 0:o.length)===1&&(g=g.children[0]),Sl(g),M({},f,{root:g})}getAssets(a){var o;const f=[],c=[];(o=a)!=null||(a=this.plugins.map(g=>g.name));for(const g of a.map(y=>this.assetsMap[y]))g&&(g.styles&&f.push(...g.styles),g.scripts&&c.push(...g.scripts));return{styles:f,scripts:c}}getUsedAssets(a){const o=this.plugins.map(f=>f.name).filter(f=>a[f]);return this.getAssets(o)}}const Ko={"markmap-lib":"0.14.4",d3:"6.7.0"};h.Transformer=Wo,h.builtInPlugins=Al,h.fillTemplate=sr,h.transformerVersions=Ko})})(Ju,Ju.exports);var Yh=Ju.exports;/*! markmap-common v0.14.2 | MIT License */class eo{constructor(){this.listeners=[]}tap(l){return this.listeners.push(l),()=>this.revoke(l)}revoke(l){const h=this.listeners.indexOf(l);h>=0&&this.listeners.splice(h,1)}revokeAll(){this.listeners.splice(0)}call(...l){for(const h of this.listeners)h(...l)}}const Jo=Math.random().toString(36).slice(2,8);let Bl=0;function Qo(){return Bl+=1,`mm-${Jo}-${Bl}`}function Yu(){}function Qu(i,l,h="children"){const x=(w,k)=>l(w,()=>{var M;(M=w[h])==null||M.forEach(T=>{x(T,w)})},k);x(i)}function ro(i){if(Array.from)return Array.from(i);const l=[];for(let h=0;h{x&&h.indexOf(x)<0&&h.push(x)}),h.join(" ")}function Qt(i){if(typeof i=="string"){const h=i;i=x=>x.tagName===h}const l=i;return function(){let x=ro(this.childNodes);return l&&(x=x.filter(w=>l(w))),x}}function Ml(i,l){let h;if(l===void 0)for(const x of i)x!=null&&(h=x)&&(h=x);else{let x=-1;for(let w of i)(w=l(w,++x,i))!=null&&(h=w)&&(h=w)}return h}function Tl(i,l){let h;if(l===void 0)for(const x of i)x!=null&&(h>x||h===void 0&&x>=x)&&(h=x);else{let x=-1;for(let w of i)(w=l(w,++x,i))!=null&&(h>w||h===void 0&&w>=w)&&(h=w)}return h}function rs(i,l){let h,x=-1,w=-1;if(l===void 0)for(const k of i)++w,k!=null&&(h>k||h===void 0&&k>=k)&&(h=k,x=w);else for(let k of i)(k=l(k,++w,i))!=null&&(h>k||h===void 0&&k>=k)&&(h=k,x=w);return x}var ts={value:()=>{}};function fl(){for(var i=0,l=arguments.length,h={},x;i=0&&(x=h.slice(w+1),h=h.slice(0,w)),h&&!l.hasOwnProperty(h))throw new Error("unknown type: "+h);return{type:h,name:x}})}Ca.prototype=fl.prototype={constructor:Ca,on:function(i,l){var h=this._,x=ns(i+"",h),w,k=-1,M=x.length;if(arguments.length<2){for(;++k0)for(var h=new Array(w),x=0,w,k;x=0&&(l=i.slice(0,h))!=="xmlns"&&(i=i.slice(h+1)),zl.hasOwnProperty(l)?{space:zl[l],local:i}:i}function as(i){return function(){var l=this.ownerDocument,h=this.namespaceURI;return h===el&&l.documentElement.namespaceURI===el?l.createElement(i):l.createElementNS(h,i)}}function us(i){return function(){return this.ownerDocument.createElementNS(i.space,i.local)}}function to(i){var l=Oa(i);return(l.local?us:as)(l)}function ls(){}function pl(i){return i==null?ls:function(){return this.querySelector(i)}}function os(i){typeof i!="function"&&(i=pl(i));for(var l=this._groups,h=l.length,x=new Array(h),w=0;w=Re&&(Re=Ae+1);!(Oe=_e[Re])&&++Re=0;)(M=x[w])&&(k&&M.compareDocumentPosition(k)^4&&k.parentNode.insertBefore(M,k),k=M);return this}function _s(i){i||(i=zs);function l(X,re){return X&&re?i(X.__data__,re.__data__):!X-!re}for(var h=this._groups,x=h.length,w=new Array(x),k=0;kl?1:i>=l?0:NaN}function Fs(){var i=arguments[0];return arguments[0]=this,i.apply(null,arguments),this}function Ns(){return Array.from(this)}function qs(){for(var i=this._groups,l=0,h=i.length;l1?this.each((l==null?Ys:typeof l=="function"?js:Xs)(i,l,h??"")):rn(this.node(),i)}function rn(i,l){return i.style.getPropertyValue(l)||oo(i).getComputedStyle(i,null).getPropertyValue(l)}function Ks(i){return function(){delete this[i]}}function Zs(i,l){return function(){this[i]=l}}function Js(i,l){return function(){var h=l.apply(this,arguments);h==null?delete this[i]:this[i]=h}}function Qs(i,l){return arguments.length>1?this.each((l==null?Ks:typeof l=="function"?Js:Zs)(i,l)):this.node()[i]}function so(i){return i.trim().split(/^|\s+/)}function dl(i){return i.classList||new co(i)}function co(i){this._node=i,this._names=so(i.getAttribute("class")||"")}co.prototype={add:function(i){var l=this._names.indexOf(i);l<0&&(this._names.push(i),this._node.setAttribute("class",this._names.join(" ")))},remove:function(i){var l=this._names.indexOf(i);l>=0&&(this._names.splice(l,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(i){return this._names.indexOf(i)>=0}};function ho(i,l){for(var h=dl(i),x=-1,w=l.length;++x=0&&(h=l.slice(x+1),l=l.slice(0,x)),{type:l,name:h}})}function E1(i){return function(){var l=this.__on;if(l){for(var h=0,x=-1,w=l.length,k;h>8&15|l>>4&240,l>>4&15|l&240,(l&15)<<4|l&15,1):h===8?wa(l>>24&255,l>>16&255,l>>8&255,(l&255)/255):h===4?wa(l>>12&15|l>>8&240,l>>8&15|l>>4&240,l>>4&15|l&240,((l&15)<<4|l&15)/255):null):(l=L1.exec(i))?new Gr(l[1],l[2],l[3],1):(l=P1.exec(i))?new Gr(l[1]*255/100,l[2]*255/100,l[3]*255/100,1):(l=H1.exec(i))?wa(l[1],l[2],l[3],l[4]):(l=U1.exec(i))?wa(l[1]*255/100,l[2]*255/100,l[3]*255/100,l[4]):(l=V1.exec(i))?Ll(l[1],l[2]/100,l[3]/100,1):(l=G1.exec(i))?Ll(l[1],l[2]/100,l[3]/100,l[4]):Fl.hasOwnProperty(i)?Il(Fl[i]):i==="transparent"?new Gr(NaN,NaN,NaN,0):null}function Il(i){return new Gr(i>>16&255,i>>8&255,i&255,1)}function wa(i,l,h,x){return x<=0&&(i=l=h=NaN),new Gr(i,l,h,x)}function Y1(i){return i instanceof Zn||(i=jn(i)),i?(i=i.rgb(),new Gr(i.r,i.g,i.b,i.opacity)):new Gr}function tl(i,l,h,x){return arguments.length===1?Y1(i):new Gr(i,l,h,x??1)}function Gr(i,l,h,x){this.r=+i,this.g=+l,this.b=+h,this.opacity=+x}ml(Gr,tl,vo(Zn,{brighter:function(i){return i=i==null?za:Math.pow(za,i),new Gr(this.r*i,this.g*i,this.b*i,this.opacity)},darker:function(i){return i=i==null?Yn:Math.pow(Yn,i),new Gr(this.r*i,this.g*i,this.b*i,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Rl,formatHex:Rl,formatRgb:Ol,toString:Ol}));function Rl(){return"#"+Xu(this.r)+Xu(this.g)+Xu(this.b)}function Ol(){var i=this.opacity;return i=isNaN(i)?1:Math.max(0,Math.min(1,i)),(i===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(i===1?")":", "+i+")")}function Xu(i){return i=Math.max(0,Math.min(255,Math.round(i)||0)),(i<16?"0":"")+i.toString(16)}function Ll(i,l,h,x){return x<=0?i=l=h=NaN:h<=0||h>=1?i=l=NaN:l<=0&&(i=NaN),new d0(i,l,h,x)}function go(i){if(i instanceof d0)return new d0(i.h,i.s,i.l,i.opacity);if(i instanceof Zn||(i=jn(i)),!i)return new d0;if(i instanceof d0)return i;i=i.rgb();var l=i.r/255,h=i.g/255,x=i.b/255,w=Math.min(l,h,x),k=Math.max(l,h,x),M=NaN,T=k-w,q=(k+w)/2;return T?(l===k?M=(h-x)/T+(h0&&q<1?0:M,new d0(M,T,q,i.opacity)}function X1(i,l,h,x){return arguments.length===1?go(i):new d0(i,l,h,x??1)}function d0(i,l,h,x){this.h=+i,this.s=+l,this.l=+h,this.opacity=+x}ml(d0,X1,vo(Zn,{brighter:function(i){return i=i==null?za:Math.pow(za,i),new d0(this.h,this.s,this.l*i,this.opacity)},darker:function(i){return i=i==null?Yn:Math.pow(Yn,i),new d0(this.h,this.s,this.l*i,this.opacity)},rgb:function(){var i=this.h%360+(this.h<0)*360,l=isNaN(i)||isNaN(this.s)?0:this.s,h=this.l,x=h+(h<.5?h:1-h)*l,w=2*h-x;return new Gr(ju(i>=240?i-240:i+120,w,x),ju(i,w,x),ju(i<120?i+240:i-120,w,x),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var i=this.opacity;return i=isNaN(i)?1:Math.max(0,Math.min(1,i)),(i===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(i===1?")":", "+i+")")}}));function ju(i,l,h){return(i<60?l+(h-l)*i/60:i<180?h:i<240?l+(h-l)*(240-i)/60:l)*255}const xo=i=>()=>i;function j1(i,l){return function(h){return i+h*l}}function W1(i,l,h){return i=Math.pow(i,h),l=Math.pow(l,h)-i,h=1/h,function(x){return Math.pow(i+x*l,h)}}function K1(i){return(i=+i)==1?yo:function(l,h){return h-l?W1(l,h,i):xo(isNaN(l)?h:l)}}function yo(i,l){var h=l-i;return h?j1(i,h):xo(isNaN(i)?l:i)}const Pl=function i(l){var h=K1(l);function x(w,k){var M=h((w=tl(w)).r,(k=tl(k)).r),T=h(w.g,k.g),q=h(w.b,k.b),L=yo(w.opacity,k.opacity);return function(O){return w.r=M(O),w.g=T(O),w.b=q(O),w.opacity=L(O),w+""}}return x.gamma=i,x}(1);function H0(i,l){return i=+i,l=+l,function(h){return i*(1-h)+l*h}}var nl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Wu=new RegExp(nl.source,"g");function Z1(i){return function(){return i}}function J1(i){return function(l){return i(l)+""}}function Q1(i,l){var h=nl.lastIndex=Wu.lastIndex=0,x,w,k,M=-1,T=[],q=[];for(i=i+"",l=l+"";(x=nl.exec(i))&&(w=Wu.exec(l));)(k=w.index)>h&&(k=l.slice(h,k),T[M]?T[M]+=k:T[++M]=k),(x=x[0])===(w=w[0])?T[M]?T[M]+=w:T[++M]=w:(T[++M]=null,q.push({i:M,x:H0(x,w)})),h=Wu.lastIndex;return h180?O+=360:O-L>180&&(L+=360),re.push({i:X.push(w(X)+"rotate(",null,x)-2,x:H0(L,O)})):O&&X.push(w(X)+"rotate("+O+x)}function T(L,O,X,re){L!==O?re.push({i:X.push(w(X)+"skewX(",null,x)-2,x:H0(L,O)}):O&&X.push(w(X)+"skewX("+O+x)}function q(L,O,X,re,W,Se){if(L!==X||O!==re){var ye=W.push(w(W)+"scale(",null,",",null,")");Se.push({i:ye-4,x:H0(L,X)},{i:ye-2,x:H0(O,re)})}else(X!==1||re!==1)&&W.push(w(W)+"scale("+X+","+re+")")}return function(L,O){var X=[],re=[];return L=i(L),O=i(O),k(L.translateX,L.translateY,O.translateX,O.translateY,X,re),M(L.rotate,O.rotate,X,re),T(L.skewX,O.skewX,X,re),q(L.scaleX,L.scaleY,O.scaleX,O.scaleY,X,re),L=O=null,function(W){for(var Se=-1,ye=re.length,_e;++Se=0&&i._call.call(null,l),i=i._next;--tn}function Vl(){pt=(Na=Wn.now())+La,tn=Vn=0;try{sc()}finally{tn=0,hc(),pt=0}}function cc(){var i=Wn.now(),l=i-Na;l>Ao&&(La-=l,Na=i)}function hc(){for(var i,l=Fa,h,x=1/0;l;)l._call?(x>l._time&&(x=l._time),i=l,l=l._next):(h=l._next,l._next=null,l=i?i._next=h:Fa=h);Gn=i,al(x)}function al(i){if(!tn){Vn&&(Vn=clearTimeout(Vn));var l=i-pt;l>24?(i<1/0&&(Vn=setTimeout(Vl,i-Wn.now()-La)),Hn&&(Hn=clearInterval(Hn))):(Hn||(Na=Wn.now(),Hn=setInterval(cc,Ao)),tn=1,ko(Vl))}}function Gl(i,l,h){var x=new qa;return l=l==null?0:+l,x.restart(w=>{x.stop(),i(w+l)},l,h),x}var fc=fl("start","end","cancel","interrupt"),pc=[],Co=0,$l=1,ul=2,Da=3,Yl=4,ll=5,Ea=6;function Pa(i,l,h,x,w,k){var M=i.__transition;if(!M)i.__transition={};else if(h in M)return;dc(i,h,{name:l,index:x,group:w,on:fc,tween:pc,time:k.time,delay:k.delay,duration:k.duration,ease:k.ease,timer:null,state:Co})}function gl(i,l){var h=r0(i,l);if(h.state>Co)throw new Error("too late; already scheduled");return h}function v0(i,l){var h=r0(i,l);if(h.state>Da)throw new Error("too late; already running");return h}function r0(i,l){var h=i.__transition;if(!h||!(h=h[l]))throw new Error("transition not found");return h}function dc(i,l,h){var x=i.__transition,w;x[l]=h,h.timer=So(k,0,h.time);function k(L){h.state=$l,h.timer.restart(M,h.delay,h.time),h.delay<=L&&M(L-h.delay)}function M(L){var O,X,re,W;if(h.state!==$l)return q();for(O in x)if(W=x[O],W.name===h.name){if(W.state===Da)return Gl(M);W.state===Yl?(W.state=Ea,W.timer.stop(),W.on.call("interrupt",i,i.__data__,W.index,W.group),delete x[O]):+Oul&&x.state=0&&(l=l.slice(0,h)),!l||l==="start"})}function Gc(i,l,h){var x,w,k=Vc(l)?gl:v0;return function(){var M=k(this,i),T=M.on;T!==x&&(w=(x=T).copy()).on(l,h),M.on=w}}function $c(i,l){var h=this._id;return arguments.length<2?r0(this.node(),h).on.on(i):this.each(Gc(h,i,l))}function Yc(i){return function(){var l=this.parentNode;for(var h in this.__transition)if(+h!==i)return;l&&l.removeChild(this)}}function Xc(){return this.on("end.remove",Yc(this._id))}function jc(i){var l=this._name,h=this._id;typeof i!="function"&&(i=pl(i));for(var x=this._groups,w=x.length,k=new Array(w),M=0;Mht)if(!(Math.abs(O*T-q*L)>ht)||!w)this._+="L"+(this._x1=i)+","+(this._y1=l);else{var re=h-k,W=x-M,Se=T*T+q*q,ye=re*re+W*W,_e=Math.sqrt(Se),K=Math.sqrt(X),Ae=w*Math.tan((ol-Math.acos((Se+X-ye)/(2*_e*K)))/2),Re=Ae/K,Ge=Ae/_e;Math.abs(Re-1)>ht&&(this._+="L"+(i+Re*L)+","+(l+Re*O)),this._+="A"+w+","+w+",0,0,"+ +(O*re>L*W)+","+(this._x1=i+Ge*T)+","+(this._y1=l+Ge*q)}},arc:function(i,l,h,x,w,k){i=+i,l=+l,h=+h,k=!!k;var M=h*Math.cos(x),T=h*Math.sin(x),q=i+M,L=l+T,O=1^k,X=k?x-w:w-x;if(h<0)throw new Error("negative radius: "+h);this._x1===null?this._+="M"+q+","+L:(Math.abs(this._x1-q)>ht||Math.abs(this._y1-L)>ht)&&(this._+="L"+q+","+L),h&&(X<0&&(X=X%sl+sl),X>y2?this._+="A"+h+","+h+",0,1,"+O+","+(i-M)+","+(l-T)+"A"+h+","+h+",0,1,"+O+","+(this._x1=q)+","+(this._y1=L):X>ht&&(this._+="A"+h+","+h+",0,"+ +(X>=ol)+","+O+","+(this._x1=i+h*Math.cos(w))+","+(this._y1=l+h*Math.sin(w))))},rect:function(i,l,h,x){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+l)+"h"+ +h+"v"+ +x+"h"+-h+"Z"},toString:function(){return this._}};function b2(i,l){switch(arguments.length){case 0:break;case 1:this.range(i);break;default:this.range(l).domain(i);break}return this}const Xl=Symbol("implicit");function To(){var i=new Map,l=[],h=[],x=Xl;function w(k){var M=k+"",T=i.get(M);if(!T){if(x!==Xl)return x;i.set(M,T=l.push(k))}return h[(T-1)%h.length]}return w.domain=function(k){if(!arguments.length)return l.slice();l=[],i=new Map;for(const M of k){const T=M+"";i.has(T)||i.set(T,l.push(M))}return w},w.range=function(k){return arguments.length?(h=Array.from(k),w):h.slice()},w.unknown=function(k){return arguments.length?(x=k,w):x},w.copy=function(){return To(l,h).unknown(x)},b2.apply(w,arguments),w}function w2(i){for(var l=i.length/6|0,h=new Array(l),x=0;x()=>i;function _2(i,{sourceEvent:l,target:h,transform:x,dispatch:w}){Object.defineProperties(this,{type:{value:i,enumerable:!0,configurable:!0},sourceEvent:{value:l,enumerable:!0,configurable:!0},target:{value:h,enumerable:!0,configurable:!0},transform:{value:x,enumerable:!0,configurable:!0},_:{value:w}})}function D0(i,l,h){this.k=i,this.x=l,this.y=h}D0.prototype={constructor:D0,scale:function(i){return i===1?this:new D0(this.k*i,this.x,this.y)},translate:function(i,l){return i===0&l===0?this:new D0(this.k,this.x+this.k*i,this.y+this.k*l)},apply:function(i){return[i[0]*this.k+this.x,i[1]*this.k+this.y]},applyX:function(i){return i*this.k+this.x},applyY:function(i){return i*this.k+this.y},invert:function(i){return[(i[0]-this.x)/this.k,(i[1]-this.y)/this.k]},invertX:function(i){return(i-this.x)/this.k},invertY:function(i){return(i-this.y)/this.k},rescaleX:function(i){return i.copy().domain(i.range().map(this.invertX,this).map(i.invert,i))},rescaleY:function(i){return i.copy().domain(i.range().map(this.invertY,this).map(i.invert,i))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Ha=new D0(1,0,0);Ma.prototype=D0.prototype;function Ma(i){for(;!i.__zoom;)if(!(i=i.parentNode))return Ha;return i.__zoom}function Ku(i){i.stopImmediatePropagation()}function Un(i){i.preventDefault(),i.stopImmediatePropagation()}function z2(i){return(!i.ctrlKey||i.type==="wheel")&&!i.button}function F2(){var i=this;return i instanceof SVGElement?(i=i.ownerSVGElement||i,i.hasAttribute("viewBox")?(i=i.viewBox.baseVal,[[i.x,i.y],[i.x+i.width,i.y+i.height]]):[[0,0],[i.width.baseVal.value,i.height.baseVal.value]]):[[0,0],[i.clientWidth,i.clientHeight]]}function Wl(){return this.__zoom||Ha}function N2(i){return-i.deltaY*(i.deltaMode===1?.05:i.deltaMode?1:.002)*(i.ctrlKey?10:1)}function q2(){return navigator.maxTouchPoints||"ontouchstart"in this}function I2(i,l,h){var x=i.invertX(l[0][0])-h[0][0],w=i.invertX(l[1][0])-h[1][0],k=i.invertY(l[0][1])-h[0][1],M=i.invertY(l[1][1])-h[1][1];return i.translate(w>x?(x+w)/2:Math.min(0,x)||Math.max(0,w),M>k?(k+M)/2:Math.min(0,k)||Math.max(0,M))}function R2(){var i=z2,l=F2,h=I2,x=N2,w=q2,k=[0,1/0],M=[[-1/0,-1/0],[1/0,1/0]],T=250,q=lc,L=fl("start","zoom","end"),O,X,re,W=500,Se=150,ye=0,_e=10;function K(P){P.property("__zoom",Wl).on("wheel.zoom",ur).on("mousedown.zoom",or).on("dblclick.zoom",Br).filter(w).on("touchstart.zoom",sr).on("touchmove.zoom",qr).on("touchend.zoom touchcancel.zoom",G).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}K.transform=function(P,ce,ee,be){var ke=P.selection?P.selection():P;ke.property("__zoom",Wl),P!==ke?Oe(P,ce,ee,be):ke.interrupt().each(function(){ir(this,arguments).event(be).start().zoom(null,typeof ce=="function"?ce.apply(this,arguments):ce).end()})},K.scaleBy=function(P,ce,ee,be){K.scaleTo(P,function(){var ke=this.__zoom.k,Te=typeof ce=="function"?ce.apply(this,arguments):ce;return ke*Te},ee,be)},K.scaleTo=function(P,ce,ee,be){K.transform(P,function(){var ke=l.apply(this,arguments),Te=this.__zoom,De=ee==null?Ge(ke):typeof ee=="function"?ee.apply(this,arguments):ee,ue=Te.invert(De),Le=typeof ce=="function"?ce.apply(this,arguments):ce;return h(Re(Ae(Te,Le),De,ue),ke,M)},ee,be)},K.translateBy=function(P,ce,ee,be){K.transform(P,function(){return h(this.__zoom.translate(typeof ce=="function"?ce.apply(this,arguments):ce,typeof ee=="function"?ee.apply(this,arguments):ee),l.apply(this,arguments),M)},null,be)},K.translateTo=function(P,ce,ee,be,ke){K.transform(P,function(){var Te=l.apply(this,arguments),De=this.__zoom,ue=be==null?Ge(Te):typeof be=="function"?be.apply(this,arguments):be;return h(Ha.translate(ue[0],ue[1]).scale(De.k).translate(typeof ce=="function"?-ce.apply(this,arguments):-ce,typeof ee=="function"?-ee.apply(this,arguments):-ee),Te,M)},be,ke)};function Ae(P,ce){return ce=Math.max(k[0],Math.min(k[1],ce)),ce===P.k?P:new D0(ce,P.x,P.y)}function Re(P,ce,ee){var be=ce[0]-ee[0]*P.k,ke=ce[1]-ee[1]*P.k;return be===P.x&&ke===P.y?P:new D0(P.k,be,ke)}function Ge(P){return[(+P[0][0]+ +P[1][0])/2,(+P[0][1]+ +P[1][1])/2]}function Oe(P,ce,ee,be){P.on("start.zoom",function(){ir(this,arguments).event(be).start()}).on("interrupt.zoom end.zoom",function(){ir(this,arguments).event(be).end()}).tween("zoom",function(){var ke=this,Te=arguments,De=ir(ke,Te).event(be),ue=l.apply(ke,Te),Le=ee==null?Ge(ue):typeof ee=="function"?ee.apply(ke,Te):ee,Mr=Math.max(ue[1][0]-ue[0][0],ue[1][1]-ue[0][1]),$e=ke.__zoom,mr=typeof ce=="function"?ce.apply(ke,Te):ce,We=q($e.invert(Le).concat(Mr/$e.k),mr.invert(Le).concat(Mr/mr.k));return function(wr){if(wr===1)wr=mr;else{var Ir=We(wr),G0=Mr/Ir[2];wr=new D0(G0,Le[0]-Ir[0]*G0,Le[1]-Ir[1]*G0)}De.zoom(null,wr)}})}function ir(P,ce,ee){return!ee&&P.__zooming||new ar(P,ce)}function ar(P,ce){this.that=P,this.args=ce,this.active=0,this.sourceEvent=null,this.extent=l.apply(P,ce),this.taps=0}ar.prototype={event:function(P){return P&&(this.sourceEvent=P),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(P,ce){return this.mouse&&P!=="mouse"&&(this.mouse[1]=ce.invert(this.mouse[0])),this.touch0&&P!=="touch"&&(this.touch0[1]=ce.invert(this.touch0[0])),this.touch1&&P!=="touch"&&(this.touch1[1]=ce.invert(this.touch1[0])),this.that.__zoom=ce,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(P){var ce=V0(this.that).datum();L.call(P,this.that,new _2(P,{sourceEvent:this.sourceEvent,target:K,type:P,transform:this.that.__zoom,dispatch:L}),ce)}};function ur(P,...ce){if(!i.apply(this,arguments))return;var ee=ir(this,ce).event(P),be=this.__zoom,ke=Math.max(k[0],Math.min(k[1],be.k*Math.pow(2,x.apply(this,arguments)))),Te=st(P);if(ee.wheel)(ee.mouse[0][0]!==Te[0]||ee.mouse[0][1]!==Te[1])&&(ee.mouse[1]=be.invert(ee.mouse[0]=Te)),clearTimeout(ee.wheel);else{if(be.k===ke)return;ee.mouse=[Te,be.invert(Te)],Ba(this),ee.start()}Un(P),ee.wheel=setTimeout(De,Se),ee.zoom("mouse",h(Re(Ae(be,ke),ee.mouse[0],ee.mouse[1]),ee.extent,M));function De(){ee.wheel=null,ee.end()}}function or(P,...ce){if(re||!i.apply(this,arguments))return;var ee=ir(this,ce,!0).event(P),be=V0(P.view).on("mousemove.zoom",Le,!0).on("mouseup.zoom",Mr,!0),ke=st(P,Te),Te=P.currentTarget,De=P.clientX,ue=P.clientY;I1(P.view),Ku(P),ee.mouse=[ke,this.__zoom.invert(ke)],Ba(this),ee.start();function Le($e){if(Un($e),!ee.moved){var mr=$e.clientX-De,We=$e.clientY-ue;ee.moved=mr*mr+We*We>ye}ee.event($e).zoom("mouse",h(Re(ee.that.__zoom,ee.mouse[0]=st($e,Te),ee.mouse[1]),ee.extent,M))}function Mr($e){be.on("mousemove.zoom mouseup.zoom",null),R1($e.view,ee.moved),Un($e),ee.event($e).end()}}function Br(P,...ce){if(i.apply(this,arguments)){var ee=this.__zoom,be=st(P.changedTouches?P.changedTouches[0]:P,this),ke=ee.invert(be),Te=ee.k*(P.shiftKey?.5:2),De=h(Re(Ae(ee,Te),be,ke),l.apply(this,ce),M);Un(P),T>0?V0(this).transition().duration(T).call(Oe,De,be,P):V0(this).call(K.transform,De,be,P)}}function sr(P,...ce){if(i.apply(this,arguments)){var ee=P.touches,be=ee.length,ke=ir(this,ce,P.changedTouches.length===be).event(P),Te,De,ue,Le;for(Ku(P),De=0;De=0;)l+=h[x].value;i.value=l}function L2(){return this.eachAfter(O2)}function P2(i){var l=this,h,x=[l],w,k,M;do for(h=x.reverse(),x=[];l=h.pop();)if(i(l),w=l.children,w)for(k=0,M=w.length;k=0;--w)h.push(x[w]);return this}function U2(i){for(var l=this,h=[l],x=[],w,k,M;l=h.pop();)if(x.push(l),w=l.children,w)for(k=0,M=w.length;k=0;)h+=x[w].value;l.value=h})}function G2(i){return this.eachBefore(function(l){l.children&&l.children.sort(i)})}function $2(i){for(var l=this,h=Y2(l,i),x=[l];l!==h;)l=l.parent,x.push(l);for(var w=x.length;i!==h;)x.splice(w,0,i),i=i.parent;return x}function Y2(i,l){if(i===l)return i;var h=i.ancestors(),x=l.ancestors(),w=null;for(i=h.pop(),l=x.pop();i===l;)w=i,i=h.pop(),l=x.pop();return w}function X2(){for(var i=this,l=[i];i=i.parent;)l.push(i);return l}function j2(){var i=[];return this.each(function(l){i.push(l)}),i}function W2(){var i=[];return this.eachBefore(function(l){l.children||i.push(l)}),i}function K2(){var i=this,l=[];return i.each(function(h){h!==i&&l.push({source:h.parent,target:h})}),l}function yl(i,l){var h=new Ia(i),x=+i.value&&(h.value=i.value),w,k=[h],M,T,q,L;for(l==null&&(l=J2);w=k.pop();)if(x&&(w.value=+w.data.value),(T=l(w.data))&&(L=T.length))for(w.children=new Array(L),q=L-1;q>=0;--q)k.push(M=w.children[q]=new Ia(T[q])),M.parent=w,M.depth=w.depth+1;return h.eachBefore(eh)}function Z2(){return yl(this).eachBefore(Q2)}function J2(i){return i.children}function Q2(i){i.data=i.data.data}function eh(i){var l=0;do i.height=l;while((i=i.parent)&&i.height<++l)}function Ia(i){this.data=i,this.depth=this.height=0,this.parent=null}Ia.prototype=yl.prototype={constructor:Ia,count:L2,each:P2,eachAfter:U2,eachBefore:H2,sum:V2,sort:G2,path:$2,ancestors:X2,descendants:j2,leaves:W2,links:K2,copy:Z2};var rh="d3-flextree",th="2.1.2",nh="build/d3-flextree.js",ih="index",ah={name:"Chris Maloney",url:"http://chrismaloney.org"},uh="Flexible tree layout algorithm that allows for variable node sizes.",lh=["d3","d3-module","layout","tree","hierarchy","d3-hierarchy","plugin","d3-plugin","infovis","visualization","2d"],oh="https://github.com/klortho/d3-flextree",sh="WTFPL",ch={type:"git",url:"https://github.com/klortho/d3-flextree.git"},hh={clean:"rm -rf build demo test","build:demo":"rollup -c --environment BUILD:demo","build:dev":"rollup -c --environment BUILD:dev","build:prod":"rollup -c --environment BUILD:prod","build:test":"rollup -c --environment BUILD:test",build:"rollup -c",lint:"eslint index.js src","test:main":"node test/bundle.js","test:browser":"node test/browser-tests.js",test:"npm-run-all test:*",prepare:"npm-run-all clean build lint test"},fh={"d3-hierarchy":"^1.1.5"},ph={"babel-plugin-external-helpers":"^6.22.0","babel-preset-es2015-rollup":"^3.0.0",d3:"^4.13.0","d3-selection-multi":"^1.0.1",eslint:"^4.19.1",jsdom:"^11.6.2","npm-run-all":"^4.1.2",rollup:"^0.55.3","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-copy":"^0.2.3","rollup-plugin-json":"^2.3.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},dh={name:rh,version:th,main:nh,module:ih,"jsnext:main":"index",author:ah,description:uh,keywords:lh,homepage:oh,license:sh,repository:ch,scripts:hh,dependencies:fh,devDependencies:ph};const{version:mh}=dh,vh=Object.freeze({children:i=>i.children,nodeSize:i=>i.data.size,spacing:0});function zo(i){const l=Object.assign({},vh,i);function h(T){const q=l[T];return typeof q=="function"?q:()=>q}function x(T){const q=M(k(),T,L=>L.children);return q.update(),q.data}function w(){const T=h("nodeSize"),q=h("spacing");return class _o extends yl.prototype.constructor{constructor(O){super(O)}copy(){const O=M(this.constructor,this,X=>X.children);return O.each(X=>X.data=X.data.data),O}get size(){return T(this)}spacing(O){return q(this,O)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const O=this.ancestors();return O[O.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((O,X)=>_o.maxExtents(O,X.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(O,X){return{top:Math.min(O.top,X.top),bottom:Math.max(O.bottom,X.bottom),left:Math.min(O.left,X.left),right:Math.max(O.right,X.right)}}}}function k(){const T=w(),q=h("nodeSize"),L=h("spacing");return class extends T{constructor(O){super(O),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return q(this.data)}spacing(O){return L(this.data,O.data)}get x(){return this.data.x}set x(O){this.data.x=O}get y(){return this.data.y}set y(O){this.data.y=O}update(){return Fo(this),No(this),this}}}function M(T,q,L){const O=(X,re)=>{const W=new T(X);Object.assign(W,{parent:re,depth:re===null?0:re.depth+1,height:0,length:1});const Se=L(X)||[];return W.children=Se.length===0?null:Se.map(ye=>O(ye,W)),W.children&&Object.assign(W,W.children.reduce((ye,_e)=>({height:Math.max(ye.height,_e.height+1),length:ye.length+_e.length}),W)),W};return O(q,null)}return Object.assign(x,{nodeSize(T){return arguments.length?(l.nodeSize=T,x):l.nodeSize},spacing(T){return arguments.length?(l.spacing=T,x):l.spacing},children(T){return arguments.length?(l.children=T,x):l.children},hierarchy(T,q){const L=typeof q>"u"?l.children:q;return M(w(),T,L)},dump(T){const q=h("nodeSize"),L=O=>X=>{const re=O+"  ",W=O+"    ",{x:Se,y:ye}=X,_e=q(X),K=X.children||[],Ae=K.length===0?" ":`,${re}children: [${W}${K.map(L(W)).join(W)}${re}],${O}`;return`{ size: [${_e.join(", ")}],${re}x: ${Se}, y: ${ye}${Ae}},`};return L(`
    -`)(T)}}),x}zo.version=mh;const Fo=(i,l=0)=>(i.y=l,(i.children||[]).reduce((h,x)=>{const[w,k]=h;Fo(x,i.y+i.ySize);const M=(w===0?x.lExt:x.rExt).bottom;w!==0&&xh(i,w,k);const T=Dh(M,w,k);return[w+1,T]},[0,null]),gh(i),Ch(i),i),No=(i,l,h)=>{typeof l>"u"&&(l=-i.relX-i.prelim,h=0);const x=l+i.relX;return i.relX=x+i.prelim-h,i.prelim=0,i.x=h+i.relX,(i.children||[]).forEach(w=>No(w,x,i.x)),i},gh=i=>{(i.children||[]).reduce((l,h)=>{const[x,w]=l,k=x+h.shift,M=w+k+h.change;return h.relX+=M,[k,M]},[0,0])},xh=(i,l,h)=>{const x=i.children[l-1],w=i.children[l];let k=x,M=x.relX,T=w,q=w.relX,L=!0;for(;k&&T;){k.bottom>h.lowY&&(h=h.next);const O=M+k.prelim-(q+T.prelim)+k.xSize/2+T.xSize/2+k.spacing(T);(O>0||O<0&&L)&&(q+=O,yh(w,O),bh(i,l,h.index,O)),L=!1;const X=k.bottom,re=T.bottom;X<=re&&(k=Ah(k),k&&(M+=k.relX)),X>=re&&(T=wh(T),T&&(q+=T.relX))}!k&&T?kh(i,l,T,q):k&&!T&&Sh(i,l,k,M)},yh=(i,l)=>{i.relX+=l,i.lExtRelX+=l,i.rExtRelX+=l},bh=(i,l,h,x)=>{const w=i.children[l],k=l-h;if(k>1){const M=x/k;i.children[h+1].shift+=M,w.shift-=M,w.change-=x-M}},wh=i=>i.hasChildren?i.firstChild:i.lThr,Ah=i=>i.hasChildren?i.lastChild:i.rThr,kh=(i,l,h,x)=>{const w=i.firstChild,k=w.lExt,M=i.children[l];k.lThr=h;const T=x-h.relX-w.lExtRelX;k.relX+=T,k.prelim-=T,w.lExt=M.lExt,w.lExtRelX=M.lExtRelX},Sh=(i,l,h,x)=>{const w=i.children[l],k=w.rExt,M=i.children[l-1];k.rThr=h;const T=x-h.relX-w.rExtRelX;k.relX+=T,k.prelim-=T,w.rExt=M.rExt,w.rExtRelX=M.rExtRelX},Ch=i=>{if(i.hasChildren){const l=i.firstChild,h=i.lastChild,x=(l.prelim+l.relX-l.xSize/2+h.relX+h.prelim+h.xSize/2)/2;Object.assign(i,{prelim:x,lExt:l.lExt,lExtRelX:l.lExtRelX,rExt:h.rExt,rExtRelX:h.rExtRelX})}},Dh=(i,l,h)=>{for(;h!==null&&i>=h.lowY;)h=h.next;return{lowY:i,index:l,next:h}};/*! @gera2ld/jsx-dom v2.1.1 | ISC License */var qo=1,Io=2,ft=1,Ro=4,Eh="http://www.w3.org/2000/svg",Zu="http://www.w3.org/1999/xlink",Bh={show:Zu,actuate:Zu,href:Zu},Mh=function(l){return typeof l=="string"||typeof l=="number"},Th=function(l){return(l==null?void 0:l.vtype)===qo},_h=function(l){return(l==null?void 0:l.vtype)===Io};function Sa(i,l){var h;if(typeof i=="string")h=qo;else if(typeof i=="function")h=Io;else throw new Error("Invalid VNode type");return{vtype:h,type:i,props:l}}function zh(i){return i.children}var Fh={isSvg:!1};function hl(i,l){if(l.type===ft)l.node!=null&&i.append(l.node);else if(l.type===Ro)l.children.forEach(function(h){hl(i,h)});else throw new Error("Unkown ref type "+JSON.stringify(l))}function Nh(i,l,h){for(var x in l)x==="key"||x==="children"||x==="ref"||(x==="dangerouslySetInnerHTML"?i.innerHTML=l[x].__html:x==="innerHTML"||x==="textContent"||x==="innerText"?i[x]=l[x]:x.startsWith("on")?i[x.toLowerCase()]=l[x]:Ih(i,x,l[x],h.isSvg))}var qh={className:"class",labelFor:"for"};function Ih(i,l,h,x){if(l=qh[l]||l,h===!0)i.setAttribute(l,"");else if(h===!1)i.removeAttribute(l);else{var w=x?Bh[l]:void 0;w!==void 0?i.setAttributeNS(w,l,h):i.setAttribute(l,h)}}function $n(i,l){if(l===void 0&&(l=Fh),i==null||typeof i=="boolean")return{type:ft,node:null};if(i instanceof Node)return{type:ft,node:i};if(_h(i)){var h=i,x=h.type,w=h.props;if(x===zh){var k=document.createDocumentFragment();if(w.children){var M=$n(w.children,l);hl(k,M)}return{type:ft,node:k}}var T=x(w);return $n(T,l)}if(Mh(i))return{type:ft,node:document.createTextNode(""+i)};if(Th(i)){var q,L=i,O=L.type,X=L.props;!l.isSvg&&O==="svg"&&(l=Object.assign({},l,{isSvg:!0})),l.isSvg?q=document.createElementNS(Eh,O):q=document.createElement(O),Nh(q,X,l);var re;if(X.children){var W=l;l.isSvg&&O==="foreignObject"&&(W=Object.assign({},W,{isSvg:!1})),re=$n(X.children,W)}re!=null&&hl(q,re);var Se=X.ref;return typeof Se=="function"&&Se(q),{type:ft,node:q}}if(Array.isArray(i))return{type:Ro,children:i.map(function(ye){return $n(ye,l)})};throw new Error("mount: Invalid Vnode!")}function Oo(i){for(var l=[],h=0;h{h.ySizeInner=h.ySize-l,h.y+=l,x()},"children")}function Zl(i,l){const h=rs(i,l);return i[h]}function Jl(i){i.stopPropagation()}function Ph(){return{transformHtml:new eo}}const Hh=new eo,Uh=To(A2),Vh=typeof navigator<"u"&&navigator.userAgent.includes("Macintosh");class Ra{constructor(l,h){this.revokers=[],["handleZoom","handleClick","handlePan"].forEach(x=>{this[x]=this[x].bind(this)}),this.viewHooks=Ph(),this.svg=l.datum?l:V0(l),this.styleNode=this.svg.append("style"),this.zoom=R2().filter(x=>this.options.scrollForPan&&x.type==="wheel"?x.ctrlKey&&!x.button:(!x.ctrlKey||x.type==="wheel")&&!x.button).on("zoom",this.handleZoom),this.setOptions(h),this.state={id:this.options.id||this.svg.attr("id")||Qo()},this.g=this.svg.append("g"),this.revokers.push(Hh.tap(()=>{this.setData()}))}getStyleContent(){const{style:l}=this.options,{id:h}=this.state,x=typeof l=="function"?l(h):"";return[this.options.embedGlobalCSS&&Rh,x].filter(Boolean).join(`
    -`)}updateStyle(){this.svg.attr("class",es(this.svg.attr("class"),"markmap",this.state.id));const l=this.getStyleContent();this.styleNode.text(l)}handleZoom(l){const{transform:h}=l;this.g.attr("transform",h)}handlePan(l){l.preventDefault();const h=Ma(this.svg.node()),x=h.translate(-l.deltaX/h.k,-l.deltaY/h.k);this.svg.call(this.zoom.transform,x)}handleClick(l,h){var x;const{data:w}=h;w.payload=U0({},w.payload,{fold:(x=w.payload)!=null&&x.fold?0:1}),this.renderData(h.data)}initializeData(l){let h=0;const{color:x,nodeMinHeight:w,maxWidth:k,initialExpandLevel:M}=this.options,{id:T}=this.state,q=Ta(Sa("div",{className:`markmap-container markmap ${T}-g`})),L=Ta(Sa("style",{children:[this.getStyleContent(),Oh].join(`
    -`)}));document.body.append(q,L);const O=k?`max-width: ${k}px`:"";let X=0;Qu(l,(W,Se,ye)=>{var _e,K,Ae;W.children=(_e=W.children)==null?void 0:_e.map(Oe=>U0({},Oe)),h+=1;const Re=Ta(Sa("div",{className:"markmap-foreign",style:O,children:Sa("div",{dangerouslySetInnerHTML:{__html:W.content}})}));q.append(Re),W.state=U0({},W.state,{id:h,el:Re.firstChild}),W.state.path=[ye==null||(K=ye.state)==null?void 0:K.path,W.state.id].filter(Boolean).join("."),x(W);const Ge=((Ae=W.payload)==null?void 0:Ae.fold)===2;Ge?X+=1:(X||M>=0&&W.depth>=M)&&(W.payload=U0({},W.payload,{fold:1})),Se(),Ge&&(X-=1)});const re=ro(q.childNodes).map(W=>W.firstChild);this.viewHooks.transformHtml.call(this,re),re.forEach(W=>{W.parentNode.append(W.cloneNode(!0))}),Qu(l,(W,Se,ye)=>{var _e;const K=W.state.el.getBoundingClientRect();W.content=W.state.el.innerHTML,W.state.size=[Math.ceil(K.width)+1,Math.max(Math.ceil(K.height),w)],W.state.key=[ye==null||(_e=ye.state)==null?void 0:_e.id,W.state.id].filter(Boolean).join(".")+W.content,Se()}),q.remove(),L.remove()}setOptions(l){this.options=U0({},Ra.defaultOptions,l),this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.svg.on("wheel",this.options.pan?this.handlePan:null)}setData(l,h){l&&(this.state.data=l),h&&this.setOptions(h),this.initializeData(this.state.data),this.updateStyle(),this.renderData()}renderData(l){var h,x;if(!this.state.data)return;const{spacingHorizontal:w,paddingX:k,spacingVertical:M,autoFit:T,color:q}=this.options,L=zo().children(G=>{var P;return!((P=G.payload)!=null&&P.fold)&&G.children}).nodeSize(G=>{const[P,ce]=G.data.state.size;return[ce,P+(P?k*2:0)+w]}).spacing((G,P)=>G.parent===P.parent?M:M*2),O=L.hierarchy(this.state.data);L(O),Lh(O,w);const X=O.descendants().reverse(),re=O.links(),W=T2(),Se=Tl(X,G=>G.x-G.xSize/2),ye=Ml(X,G=>G.x+G.xSize/2),_e=Tl(X,G=>G.y),K=Ml(X,G=>G.y+G.ySizeInner);Object.assign(this.state,{minX:Se,maxX:ye,minY:_e,maxY:K}),T&&this.fit();const Ae=l&&X.find(G=>G.data===l)||O,Re=(h=Ae.data.state.x0)!=null?h:Ae.x,Ge=(x=Ae.data.state.y0)!=null?x:Ae.y,Oe=this.g.selectAll(Qt("g")).data(X,G=>G.data.state.key),ir=Oe.enter().append("g").attr("data-depth",G=>G.data.depth).attr("data-path",G=>G.data.state.path).attr("transform",G=>`translate(${Ge+Ae.ySizeInner-G.ySizeInner},${Re+Ae.xSize/2-G.xSize})`),ar=this.transition(Oe.exit());ar.select("line").attr("x1",G=>G.ySizeInner).attr("x2",G=>G.ySizeInner),ar.select("foreignObject").style("opacity",0),ar.attr("transform",G=>`translate(${Ae.y+Ae.ySizeInner-G.ySizeInner},${Ae.x+Ae.xSize/2-G.xSize})`).remove();const ur=Oe.merge(ir).attr("class",G=>{var P;return["markmap-node",((P=G.data.payload)==null?void 0:P.fold)&&"markmap-fold"].filter(Boolean).join(" ")});this.transition(ur).attr("transform",G=>`translate(${G.y},${G.x-G.xSize/2})`);const or=ur.selectAll(Qt("line")).data(G=>[G],G=>G.data.state.key).join(G=>G.append("line").attr("x1",P=>P.ySizeInner).attr("x2",P=>P.ySizeInner),G=>G,G=>G.remove());this.transition(or).attr("x1",-1).attr("x2",G=>G.ySizeInner+2).attr("y1",G=>G.xSize).attr("y2",G=>G.xSize).attr("stroke",G=>q(G.data)).attr("stroke-width",Kl);const Br=ur.selectAll(Qt("circle")).data(G=>G.data.children?[G]:[],G=>G.data.state.key).join(G=>G.append("circle").attr("stroke-width","1.5").attr("cx",P=>P.ySizeInner).attr("cy",P=>P.xSize).attr("r",0).on("click",(P,ce)=>this.handleClick(P,ce)),G=>G,G=>G.remove());this.transition(Br).attr("r",6).attr("cx",G=>G.ySizeInner).attr("cy",G=>G.xSize).attr("stroke",G=>q(G.data)).attr("fill",G=>{var P;return(P=G.data.payload)!=null&&P.fold&&G.data.children?q(G.data):"#fff"});const sr=ur.selectAll(Qt("foreignObject")).data(G=>[G],G=>G.data.state.key).join(G=>{const P=G.append("foreignObject").attr("class","markmap-foreign").attr("x",k).attr("y",0).style("opacity",0).on("mousedown",Jl).on("dblclick",Jl);return P.append("xhtml:div").select(function(ee){const be=ee.data.state.el.cloneNode(!0);return this.replaceWith(be),be}).attr("xmlns","http://www.w3.org/1999/xhtml"),P},G=>G,G=>G.remove()).attr("width",G=>Math.max(0,G.ySizeInner-k*2)).attr("height",G=>G.xSize);this.transition(sr).style("opacity",1);const qr=this.g.selectAll(Qt("path")).data(re,G=>G.target.data.state.key).join(G=>{const P=[Ge+Ae.ySizeInner,Re+Ae.xSize/2];return G.insert("path","g").attr("class","markmap-link").attr("data-depth",ce=>ce.target.data.depth).attr("data-path",ce=>ce.target.data.state.path).attr("d",W({source:P,target:P}))},G=>G,G=>{const P=[Ae.y+Ae.ySizeInner,Ae.x+Ae.xSize/2];return this.transition(G).attr("d",W({source:P,target:P})).remove()});this.transition(qr).attr("stroke",G=>q(G.target.data)).attr("stroke-width",G=>Kl(G.target)).attr("d",G=>{const P=[G.source.y+G.source.ySizeInner,G.source.x+G.source.xSize/2],ce=[G.target.y,G.target.x+G.target.xSize/2];return W({source:P,target:ce})}),X.forEach(G=>{G.data.state.x0=G.x,G.data.state.y0=G.y})}transition(l){const{duration:h}=this.options;return l.transition().duration(h)}async fit(){const l=this.svg.node(),{width:h,height:x}=l.getBoundingClientRect(),{fitRatio:w}=this.options,{minX:k,maxX:M,minY:T,maxY:q}=this.state,L=q-T,O=M-k,X=Math.min(h/L*w,x/O*w,2),re=Ha.translate((h-L*X)/2-T*X,(x-O*X)/2-k*X).scale(X);return this.transition(this.svg).call(this.zoom.transform,re).end().catch(Yu)}async ensureView(l,h){let x,w;if(this.g.selectAll(Qt("g")).each(function(Ae){Ae.data===l&&(x=this,w=Ae)}),!x||!w)return;const k=this.svg.node(),M=k.getBoundingClientRect(),T=Ma(k),[q,L]=[w.y,w.y+w.ySizeInner+2].map(K=>K*T.k+T.x),[O,X]=[w.x-w.xSize/2,w.x+w.xSize/2].map(K=>K*T.k+T.y),re=U0({left:0,right:0,top:0,bottom:0},h),W=[re.left-q,M.width-re.right-L],Se=[re.top-O,M.height-re.bottom-X],ye=W[0]*W[1]>0?Zl(W,Math.abs)/T.k:0,_e=Se[0]*Se[1]>0?Zl(Se,Math.abs)/T.k:0;if(ye||_e){const K=T.translate(ye,_e);return this.transition(this.svg).call(this.zoom.transform,K).end().catch(Yu)}}async rescale(l){const h=this.svg.node(),{width:x,height:w}=h.getBoundingClientRect(),k=x/2,M=w/2,T=Ma(h),q=T.translate((k-T.x)*(1-l)/T.k,(M-T.y)*(1-l)/T.k).scale(l);return this.transition(this.svg).call(this.zoom.transform,q).end().catch(Yu)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this.revokers.forEach(l=>{l()})}static create(l,h,x){const w=new Ra(l,h);return x&&(w.setData(x),w.fit()),w}}Ra.defaultOptions={autoFit:!1,color:i=>Uh(`${i.state.path}`),duration:500,embedGlobalCSS:!0,fitRatio:.95,maxWidth:0,nodeMinHeight:16,paddingX:8,scrollForPan:Vh,spacingHorizontal:80,spacingVertical:5,initialExpandLevel:-1,zoom:!0,pan:!0};export{Ra as M,Yh as b,Zo as r};
    diff --git a/public/assets/index.vue_vue_type_script_setup_true_lang-470ccb3e.js b/public/assets/index.vue_vue_type_script_setup_true_lang-470ccb3e.js
    deleted file mode 100644
    index 2a6421b..0000000
    --- a/public/assets/index.vue_vue_type_script_setup_true_lang-470ccb3e.js
    +++ /dev/null
    @@ -1,4 +0,0 @@
    -import{aG as K,Q as y,aK as X,D as z,aN as Y,r as S,k as M,L as Ee,b3 as Xe,v as Ye,O as Z,aT as De,g as G,M as Je,E as w,F as T,G as k,aH as he,b4 as et,am as q,S as D,X as f,P as Ae,ah as de,aU as Pe,U as R,Z as B,R as U,T as tt,aA as te,a0 as C,az as Ne,K as je,ay as nt,ak as Oe,H as Fe,aY as rt,w as W,_ as at,aF as ot,aQ as lt,al as st,N as Se,ai as it}from"./index-2efe4620.js";import{N as ut}from"./LayoutSider-0c83106f.js";const ct=K("announcement",!0,function(e){return y("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[y("rect",{x:"4",y:"15",width:"40",height:"26",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),y("path",{d:"M24 7L16 15H32L24 7Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),y("path",{d:"M12 24H30",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),y("path",{d:"M12 32H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),dt=K("application-two",!1,function(e){return y("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[y("circle",{cx:"34.5",cy:"13.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),y("circle",{cx:"34.5",cy:"34.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),y("circle",{cx:"13.5",cy:"13.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),y("circle",{cx:"13.5",cy:"34.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),ft=K("delete-themes",!0,function(e){return y("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[y("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 15H40L37 44H11L8 15Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),y("path",{d:"M20.002 25.0024V35.0026",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),y("path",{d:"M28.0024 24.9995V34.9972",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),y("path",{d:"M12 14.9999L28.3242 3L36 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_e=K("down",!1,function(e){return y("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[y("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vt=K("edit-two",!0,function(e){return y("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[y("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),y("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Ie=K("up",!1,function(e){return y("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[y("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});let mt=Symbol("headlessui.useid"),ht=0;function pe(){return X(mt,()=>`${++ht}`)()}function $(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function re(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,re),o}var pt=Object.defineProperty,gt=(e,t,n)=>t in e?pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Me=(e,t,n)=>(gt(e,typeof t!="symbol"?t+"":t,n),n);let yt=class{constructor(){Me(this,"current",this.detect()),Me(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},ge=new yt;function ye(e){if(ge.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=$(e);if(t)return t.ownerDocument}return document}let fe=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var ve=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(ve||{}),kt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(kt||{}),bt=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(bt||{});function Re(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(fe)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var ke=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(ke||{});function be(e,t=0){var n;return e===((n=ye(e))==null?void 0:n.body)?!1:re(t,{0(){return e.matches(fe)},1(){let o=e;for(;o!==null;){if(o.matches(fe))return!0;o=o.parentElement}return!1}})}function Be(e){let t=ye(e);z(()=>{t&&!be(t.activeElement,0)&&wt(e)})}var xt=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(xt||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function wt(e){e==null||e.focus({preventScroll:!0})}let St=["textarea","input"].join(",");function _t(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,St))!=null?n:!1}function Ue(e,t=n=>n){return e.slice().sort((n,o)=>{let s=t(n),a=t(o);if(s===null||a===null)return 0;let r=s.compareDocumentPosition(a);return r&Node.DOCUMENT_POSITION_FOLLOWING?-1:r&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function It(e,t){return Mt(Re(),t,{relativeTo:e})}function Mt(e,t,{sorted:n=!0,relativeTo:o=null,skipElements:s=[]}={}){var a;let r=(a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?a:document,u=Array.isArray(e)?n?Ue(e):e:Re(e);s.length>0&&u.length>1&&(u=u.filter(i=>!s.includes(i))),o=o??r.activeElement;let v=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(o))-1;if(t&4)return Math.max(0,u.indexOf(o))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=t&32?{preventScroll:!0}:{},m=0,l=u.length,d;do{if(m>=l||m+l<=0)return 0;let i=h+m;if(t&16)i=(i+l)%l;else{if(i<0)return 3;if(i>=l)return 1}d=u[i],d==null||d.focus(p),m+=v}while(d!==r.activeElement);return t&6&&_t(d)&&d.select(),2}function Ct(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function $t(){return/Android/gi.test(window.navigator.userAgent)}function Tt(){return Ct()||$t()}function ne(e,t,n){ge.isServer||Y(o=>{document.addEventListener(e,t,n),o(()=>document.removeEventListener(e,t,n))})}function Lt(e,t,n){ge.isServer||Y(o=>{window.addEventListener(e,t,n),o(()=>window.removeEventListener(e,t,n))})}function Et(e,t,n=M(()=>!0)){function o(a,r){if(!n.value||a.defaultPrevented)return;let u=r(a);if(u===null||!u.getRootNode().contains(u))return;let v=function h(p){return typeof p=="function"?h(p()):Array.isArray(p)||p instanceof Set?p:[p]}(e);for(let h of v){if(h===null)continue;let p=h instanceof HTMLElement?h:$(h);if(p!=null&&p.contains(u)||a.composed&&a.composedPath().includes(p))return}return!be(u,ke.Loose)&&u.tabIndex!==-1&&a.preventDefault(),t(a,u)}let s=S(null);ne("pointerdown",a=>{var r,u;n.value&&(s.value=((u=(r=a.composedPath)==null?void 0:r.call(a))==null?void 0:u[0])||a.target)},!0),ne("mousedown",a=>{var r,u;n.value&&(s.value=((u=(r=a.composedPath)==null?void 0:r.call(a))==null?void 0:u[0])||a.target)},!0),ne("click",a=>{Tt()||s.value&&(o(a,()=>s.value),s.value=null)},!0),ne("touchend",a=>o(a,()=>a.target instanceof HTMLElement?a.target:null),!0),Lt("blur",a=>o(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Ce(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Dt(e,t){let n=S(Ce(e.value.type,e.value.as));return Ee(()=>{n.value=Ce(e.value.type,e.value.as)}),Y(()=>{var o;n.value||$(t)&&$(t)instanceof HTMLButtonElement&&!((o=$(t))!=null&&o.hasAttribute("type"))&&(n.value="button")}),n}function $e(e){return[e.screenX,e.screenY]}function At(){let e=S([-1,-1]);return{wasMoved(t){let n=$e(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=$e(t)}}}function Pt({container:e,accept:t,walk:n,enabled:o}){Y(()=>{let s=e.value;if(!s||o!==void 0&&!o.value)return;let a=ye(e);if(!a)return;let r=Object.assign(v=>t(v),{acceptNode:t}),u=a.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,r,!1);for(;u.nextNode();)n(u.currentNode)})}var me=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(me||{}),Nt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Nt||{});function ae({visible:e=!0,features:t=0,ourProps:n,theirProps:o,...s}){var a;let r=ze(o,n),u=Object.assign(s,{props:r});if(e||t&2&&r.static)return ie(u);if(t&1){let v=(a=r.unmount)==null||a?0:1;return re(v,{0(){return null},1(){return ie({...s,props:{...r,hidden:!0,style:{display:"none"}}})}})}return ie(u)}function ie({props:e,attrs:t,slots:n,slot:o,name:s}){var a,r;let{as:u,...v}=jt(e,["unmount","static"]),h=(a=n.default)==null?void 0:a.call(n,o),p={};if(o){let m=!1,l=[];for(let[d,i]of Object.entries(o))typeof i=="boolean"&&(m=!0),i===!0&&l.push(d);m&&(p["data-headlessui-state"]=l.join(" "))}if(u==="template"){if(h=We(h??[]),Object.keys(v).length>0||Object.keys(t).length>0){let[m,...l]=h??[];if(!Ot(m)||l.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${s} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(v).concat(Object.keys(t)).map(c=>c.trim()).filter((c,g,b)=>b.indexOf(c)===g).sort((c,g)=>c.localeCompare(g)).map(c=>`  - ${c}`).join(`
    -`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(c=>`  - ${c}`).join(`
    -`)].join(`
    -`));let d=ze((r=m.props)!=null?r:{},v,p),i=Xe(m,d,!0);for(let c in d)c.startsWith("on")&&(i.props||(i.props={}),i.props[c]=d[c]);return i}return Array.isArray(h)&&h.length===1?h[0]:h}return Ye(u,Object.assign({},v,p),{default:()=>h})}function We(e){return e.flatMap(t=>t.type===Z?We(t.children):[t])}function ze(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let o of e)for(let s in o)s.startsWith("on")&&typeof o[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(o[s])):t[s]=o[s];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(o=>[o,void 0])));for(let o in n)Object.assign(t,{[o](s,...a){let r=n[o];for(let u of r){if(s instanceof Event&&s.defaultPrevented)return;u(s,...a)}}});return t}function jt(e,t=[]){let n=Object.assign({},e);for(let o of t)o in n&&delete n[o];return n}function Ot(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let Ge=Symbol("Context");var Q=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Q||{});function Ft(){return X(Ge,null)}function Rt(e){De(Ge,e)}var P=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(P||{});function Bt(e){throw new Error("Unexpected object: "+e)}var N=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(N||{});function Ut(e,t){let n=t.resolveItems();if(n.length<=0)return null;let o=t.resolveActiveIndex(),s=o??-1;switch(e.focus){case 0:{for(let a=0;a=0;--a)if(!t.resolveDisabled(n[a],a,n))return a;return o}case 2:{for(let a=s+1;a=0;--a)if(!t.resolveDisabled(n[a],a,n))return a;return o}case 4:{for(let a=0;a{let a=document.getElementById(s);if(a){let r=a.getAttribute("aria-label");return typeof r=="string"?r.trim():Le(a).trim()}return null}).filter(Boolean);if(o.length>0)return o.join(", ")}return Le(e).trim()}function zt(e){let t=S(""),n=S("");return()=>{let o=$(e);if(!o)return"";let s=o.innerText;if(t.value===s)return n.value;let a=Wt(o).trim().toLowerCase();return t.value=s,n.value=a,a}}var Gt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Gt||{}),Ht=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ht||{});function Kt(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let He=Symbol("MenuContext");function oe(e){let t=X(He,null);if(t===null){let n=new Error(`<${e} /> is missing a parent  component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,oe),n}return t}let Vt=G({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:n}){let o=S(1),s=S(null),a=S(null),r=S([]),u=S(""),v=S(null),h=S(1);function p(l=d=>d){let d=v.value!==null?r.value[v.value]:null,i=Ue(l(r.value.slice()),g=>$(g.dataRef.domRef)),c=d?i.indexOf(d):null;return c===-1&&(c=null),{items:i,activeItemIndex:c}}let m={menuState:o,buttonRef:s,itemsRef:a,items:r,searchQuery:u,activeItemIndex:v,activationTrigger:h,closeMenu:()=>{o.value=1,v.value=null},openMenu:()=>o.value=0,goToItem(l,d,i){let c=p(),g=Ut(l===N.Specific?{focus:N.Specific,id:d}:{focus:l},{resolveItems:()=>c.items,resolveActiveIndex:()=>c.activeItemIndex,resolveId:b=>b.id,resolveDisabled:b=>b.dataRef.disabled});u.value="",v.value=g,h.value=i??1,r.value=c.items},search(l){let d=u.value!==""?0:1;u.value+=l.toLowerCase();let i=(v.value!==null?r.value.slice(v.value+d).concat(r.value.slice(0,v.value+d)):r.value).find(g=>g.dataRef.textValue.startsWith(u.value)&&!g.dataRef.disabled),c=i?r.value.indexOf(i):-1;c===-1||c===v.value||(v.value=c,h.value=1)},clearSearch(){u.value=""},registerItem(l,d){let i=p(c=>[...c,{id:l,dataRef:d}]);r.value=i.items,v.value=i.activeItemIndex,h.value=1},unregisterItem(l){let d=p(i=>{let c=i.findIndex(g=>g.id===l);return c!==-1&&i.splice(c,1),i});r.value=d.items,v.value=d.activeItemIndex,h.value=1}};return Et([s,a],(l,d)=>{var i;m.closeMenu(),be(d,ke.Loose)||(l.preventDefault(),(i=$(s))==null||i.focus())},M(()=>o.value===0)),De(He,m),Rt(M(()=>re(o.value,{0:Q.Open,1:Q.Closed}))),()=>{let l={open:o.value===0,close:m.closeMenu};return ae({ourProps:{},theirProps:e,slot:l,slots:t,attrs:n,name:"Menu"})}}}),qt=G({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:o}){var s;let a=(s=e.id)!=null?s:`headlessui-menu-button-${pe()}`,r=oe("MenuButton");o({el:r.buttonRef,$el:r.buttonRef});function u(m){switch(m.key){case P.Space:case P.Enter:case P.ArrowDown:m.preventDefault(),m.stopPropagation(),r.openMenu(),z(()=>{var l;(l=$(r.itemsRef))==null||l.focus({preventScroll:!0}),r.goToItem(N.First)});break;case P.ArrowUp:m.preventDefault(),m.stopPropagation(),r.openMenu(),z(()=>{var l;(l=$(r.itemsRef))==null||l.focus({preventScroll:!0}),r.goToItem(N.Last)});break}}function v(m){switch(m.key){case P.Space:m.preventDefault();break}}function h(m){e.disabled||(r.menuState.value===0?(r.closeMenu(),z(()=>{var l;return(l=$(r.buttonRef))==null?void 0:l.focus({preventScroll:!0})})):(m.preventDefault(),r.openMenu(),Kt(()=>{var l;return(l=$(r.itemsRef))==null?void 0:l.focus({preventScroll:!0})})))}let p=Dt(M(()=>({as:e.as,type:t.type})),r.buttonRef);return()=>{var m;let l={open:r.menuState.value===0},{...d}=e,i={ref:r.buttonRef,id:a,type:p.value,"aria-haspopup":"menu","aria-controls":(m=$(r.itemsRef))==null?void 0:m.id,"aria-expanded":r.menuState.value===0,onKeydown:u,onKeyup:v,onClick:h};return ae({ourProps:i,theirProps:d,slot:l,attrs:t,slots:n,name:"MenuButton"})}}}),Zt=G({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:o}){var s;let a=(s=e.id)!=null?s:`headlessui-menu-items-${pe()}`,r=oe("MenuItems"),u=S(null);o({el:r.itemsRef,$el:r.itemsRef}),Pt({container:M(()=>$(r.itemsRef)),enabled:M(()=>r.menuState.value===0),accept(l){return l.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:l.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(l){l.setAttribute("role","none")}});function v(l){var d;switch(u.value&&clearTimeout(u.value),l.key){case P.Space:if(r.searchQuery.value!=="")return l.preventDefault(),l.stopPropagation(),r.search(l.key);case P.Enter:if(l.preventDefault(),l.stopPropagation(),r.activeItemIndex.value!==null){let i=r.items.value[r.activeItemIndex.value];(d=$(i.dataRef.domRef))==null||d.click()}r.closeMenu(),Be($(r.buttonRef));break;case P.ArrowDown:return l.preventDefault(),l.stopPropagation(),r.goToItem(N.Next);case P.ArrowUp:return l.preventDefault(),l.stopPropagation(),r.goToItem(N.Previous);case P.Home:case P.PageUp:return l.preventDefault(),l.stopPropagation(),r.goToItem(N.First);case P.End:case P.PageDown:return l.preventDefault(),l.stopPropagation(),r.goToItem(N.Last);case P.Escape:l.preventDefault(),l.stopPropagation(),r.closeMenu(),z(()=>{var i;return(i=$(r.buttonRef))==null?void 0:i.focus({preventScroll:!0})});break;case P.Tab:l.preventDefault(),l.stopPropagation(),r.closeMenu(),z(()=>It($(r.buttonRef),l.shiftKey?ve.Previous:ve.Next));break;default:l.key.length===1&&(r.search(l.key),u.value=setTimeout(()=>r.clearSearch(),350));break}}function h(l){switch(l.key){case P.Space:l.preventDefault();break}}let p=Ft(),m=M(()=>p!==null?(p.value&Q.Open)===Q.Open:r.menuState.value===0);return()=>{var l,d;let i={open:r.menuState.value===0},{...c}=e,g={"aria-activedescendant":r.activeItemIndex.value===null||(l=r.items.value[r.activeItemIndex.value])==null?void 0:l.id,"aria-labelledby":(d=$(r.buttonRef))==null?void 0:d.id,id:a,onKeydown:v,onKeyup:h,role:"menu",tabIndex:0,ref:r.itemsRef};return ae({ourProps:g,theirProps:c,slot:i,attrs:t,slots:n,features:me.RenderStrategy|me.Static,visible:m.value,name:"MenuItems"})}}}),ue=G({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:o}){var s;let a=(s=e.id)!=null?s:`headlessui-menu-item-${pe()}`,r=oe("MenuItem"),u=S(null);o({el:u,$el:u});let v=M(()=>r.activeItemIndex.value!==null?r.items.value[r.activeItemIndex.value].id===a:!1),h=zt(u),p=M(()=>({disabled:e.disabled,get textValue(){return h()},domRef:u}));Ee(()=>r.registerItem(a,p)),Je(()=>r.unregisterItem(a)),Y(()=>{r.menuState.value===0&&v.value&&r.activationTrigger.value!==0&&z(()=>{var b,I;return(I=(b=$(u))==null?void 0:b.scrollIntoView)==null?void 0:I.call(b,{block:"nearest"})})});function m(b){if(e.disabled)return b.preventDefault();r.closeMenu(),Be($(r.buttonRef))}function l(){if(e.disabled)return r.goToItem(N.Nothing);r.goToItem(N.Specific,a)}let d=At();function i(b){d.update(b)}function c(b){d.wasMoved(b)&&(e.disabled||v.value||r.goToItem(N.Specific,a,0))}function g(b){d.wasMoved(b)&&(e.disabled||v.value&&r.goToItem(N.Nothing))}return()=>{let{disabled:b}=e,I={active:v.value,disabled:b,close:r.closeMenu},{...E}=e;return ae({ourProps:{id:a,ref:u,role:"menuitem",tabIndex:b===!0?void 0:-1,"aria-disabled":b===!0?!0:void 0,disabled:void 0,onClick:m,onFocus:l,onPointerenter:i,onMouseenter:i,onPointermove:c,onMousemove:c,onPointerleave:g,onMouseleave:g},theirProps:{...n,...E},slot:I,attrs:n,slots:t,name:"MenuItem"})}}});function Qt(e,t){return w(),T("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[k("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function Xt(e,t){return w(),T("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[k("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])}function Yt(e,t){return w(),T("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[k("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})])}function Jt(e,t){let n;return(...o)=>{const s=()=>{clearTimeout(n),e(...o)};clearTimeout(n),n=setTimeout(s,t)}}const en={class:"mt-3 mb-1 text-xs font-bold"},tn={class:"ml-1"},nn=["onClick"],rn={class:"flex items-center"},an=["onUpdate:modelValue","onKeypress"],on={key:1,class:"flex-1 truncate max-w-48"},ln={key:0,class:"absolute z-10 right-2"},sn={class:"py-1"},un=["onClick"],cn=["onClick"],dn=["onClick"],ce=G({__name:"ListItem",props:{dataSources:{},title:{}},emits:["update","delete","sticky","select"],setup(e,{emit:t}){const n=e,o=t,s=n.dataSources,a=he();async function r(i){o("select",i)}function u(i,c,g){g==null||g.stopPropagation(),i.isEdit=c}async function v(i,c){c==null||c.stopPropagation(),await a.updateGroupInfo({isSticky:!i.isSticky,groupId:i.uuid})}async function h(i,c){c==null||c.stopPropagation(),o("delete",i)}const p=Jt(h,600);async function m(i){const{uuid:c,title:g}=i;i.isEdit=!1,await a.updateGroupInfo({groupId:c,title:g})}async function l(i,c){c==null||c.stopPropagation(),c.key==="Enter"&&m(i)}function d(i){return a.active===i}return(i,c)=>{var b;const g=et("focus");return w(),T(Z,null,[k("p",en,[q(D(n.title)+" ",1),k("span",tn,"("+D((b=f(s))==null?void 0:b.length)+")",1)]),(w(!0),T(Z,null,Ae(f(s),I=>(w(),T("div",{key:`${I.uuid}`},[k("div",{class:te(["relative flex items-center gap-3 px-3 py-2 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm",d(I.uuid)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["text-gray-700","dark:bg-gray-900","dark:text-gray-400"]]),onClick:E=>r(I)},[k("div",rn,[I.isEdit?de((w(),T("input",{key:0,"onUpdate:modelValue":E=>I.title=E,type:"text",class:"bg-transparent border border-gray-200 dark:border-gray-400 px-1 shadow-none flex-1 truncate",onKeypress:E=>l(I,E)},null,40,an)),[[Pe,I.title],[g]]):(w(),T("span",on,D(I.title),1)),I.isEdit?(w(),R(f(Qt),{key:2,class:"h-5 w-5 ml-2","aria-hidden":"true",onClick:E=>m(I)},null,8,["onClick"])):B("",!0)]),d(I.uuid)?(w(),T("div",ln,[I.isEdit?B("",!0):(w(),R(f(Vt),{key:0,as:"div",class:"relative inline-block text-left"},{default:U(()=>[y(f(qt),{class:"p-1"},{default:U(()=>[y(f(Xt),{class:"h-5 w-5","aria-hidden":"true"})]),_:1}),y(tt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:U(()=>[y(f(Zt),{class:"absolute right-0 z-10 mt-2 w-32 text-gray-700 dark:text-gray-400 origin-top-right text-b rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none bg-primary-100 dark:bg-gray-800"},{default:U(()=>[k("div",sn,[y(f(ue),{as:"template"},{default:U(({active:E})=>[k("button",{class:te([E?"flex items-center bg-gray-100 dark:bg-gray-700 ":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:O=>u(I,!0,O)},D(f(C)("chat.rename")),11,un)]),_:2},1024),y(f(ue),{as:"template"},{default:U(({active:E})=>[k("button",{class:te([E?"flex items-end mr-3 bg-gray-100 dark:bg-gray-700":"flex items-end ","block w-full px-4 py-2 text-left text-sm"]),onClick:O=>v(I,O)},D(I.isSticky?f(C)("chat.unfavorite"):f(C)("chat.favoriteConversations")),11,cn)]),_:2},1024),y(f(ue),{as:"template"},{default:U(({active:E})=>[k("button",{class:te([E?"flex items-center bg-gray-100 dark:bg-gray-700":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:O=>f(p)(I,O)},D(f(C)("chat.deleteConversation")),11,dn)]),_:2},1024)])]),_:2},1024)]),_:2},1024)]),_:2},1024))])):B("",!0)],10,nn)]))),128))],64)}}}),fn={class:"flex flex-col gap-3 text-sm"},vn={key:0,class:"flex flex-col items-center mt-4 text-center text-neutral-300"},mn={class:"mt-3 mb-1 text-xs font-bold"},hn=["onClick"],pn={class:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden"},gn=["src"],yn={key:1,class:"text-sm font-medium"},kn=G({__name:"List",setup(e){const{isMobile:t}=Ne(),n=je(),o=nt(),s=Oe(),a=he(),r=Fe(),u=S(100),v=rt(),h=S(!1),p=S(!1),m=M(()=>a.groupList),l=M(()=>a.groupKeyWord);W(m,()=>u.value=u.value+1),W(l,()=>u.value=u.value+1),M(()=>r.isLogin);const d=X("createNewChatGroup",async x=>{}),i=M(()=>v.mineApps);function c(x){const j=new Date(x).getTime()+8*60*60*1e3;return new Date(j).getTime()}const g=new Date().setHours(0,0,0,0),b=M(()=>m.value.filter(x=>l.value?x.title.includes(l.value)&&x.isSticky:x.isSticky)),I=M(()=>m.value.filter(x=>l.value?x.title.includes(l.value)&&!x.isSticky&&c(x.updatedAt)>=g:!x.isSticky&&c(x.updatedAt)>=g)),E=M(()=>m.value.filter(x=>l.value?x.title.includes(l.value)&&!x.isSticky&&c(x.updatedAt)r.isLogin,(x,F)=>{x===!0&&(v.queryMineApps(),a.queryMyGroup())},{immediate:!0}),(x,F)=>(w(),R(f(ot),{class:"px-4"},{default:U(()=>[k("div",fn,[m.value.length?(w(),T(Z,{key:1},[k("p",mn,D(f(C)("chat.myApps")),1),(w(!0),T(Z,null,Ae(p.value?i.value:i.value.slice(0,4),j=>(w(),T("div",{key:j.appId,onClick:J=>le(j.appId),class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'"},[k("div",pn,[j.coverImg?(w(),T("img",{key:0,src:j.coverImg,alt:"app cover",class:"w-full h-full object-cover"},null,8,gn)):(w(),T("span",yn,D(j.appName.charAt(0)),1))]),k("button",null,D(j.appName),1)],8,hn))),128)),i.value.length>4?(w(),T("button",{key:0,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:F[0]||(F[0]=j=>p.value=!p.value)},[q(D(p.value?f(C)("chat.collapse"):f(C)("chat.more"))+" ",1),p.value?(w(),R(f(Ie),{key:1,theme:"outline",size:"20"})):(w(),R(f(_e),{key:0,theme:"outline",size:"20"}))])):B("",!0),k("div",{class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'",onClick:se},[y(f(dt),{theme:"outline",size:"25",class:"ml-1 mr-1 text-sm my-1 text-gray-600"}),q(" "+D(f(C)("chat.appSquare")),1)]),b.value.length?(w(),R(ce,{key:`stickyList-${h.value}-${b.value}`,title:f(C)("chat.favorites"),"data-sources":h.value?b.value:b.value.slice(0,5),onSelect:O,onDelete:V},null,8,["title","data-sources"])):B("",!0),b.value.length>5?(w(),T("button",{key:2,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:F[1]||(F[1]=j=>h.value=!h.value)},[q(D(h.value?f(C)("chat.collapse"):f(C)("chat.more"))+" ",1),h.value?(w(),R(f(Ie),{key:1,theme:"outline",size:"20"})):(w(),R(f(_e),{key:0,theme:"outline",size:"20"}))])):B("",!0),I.value.length?(w(),R(ce,{key:3e3+u.value,title:f(C)("chat.todayConversations"),"data-sources":I.value,onSelect:O,onDelete:V},null,8,["title","data-sources"])):B("",!0),E.value.length?(w(),R(ce,{key:4e3+u.value,title:f(C)("chat.historyConversations"),"data-sources":E.value,onSelect:O,onDelete:V},null,8,["title","data-sources"])):B("",!0)],64)):(w(),T("div",vn,[y(f(at),{icon:"ri:inbox-line",class:"mb-2 text-3xl"}),k("span",null,D(x.$t("common.noData")),1)]))])]),_:1}))}}),bn={class:"flex flex-col h-full flex-1"},xn={class:"flex items-center space-x-2 bg-gray-50 dark:bg-gray-900 h-14 px-3 border-b border-b-gray-100 dark:border-b dark:border-b-gray-800 text-lg"},wn={class:"flex-1 relative"},Sn={class:"flex-1 relative"},_n=["placeholder"],In={class:"flex-1 min-h-0 overflow-hidden"},Mn={class:"p-4 pb-1 pt-1 border-t border-t-gray-100 dark:border-t-gray-800 flex flex-col"},Cn={class:"flex justify-between my-3"},$n={type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-gray-50 dark:hover:bg-gray-800 w-full"},Tn={key:0,class:"w-full flex justify-center items-center pb-3 text-xs text-gray-500"},Ln={class:"ml-2 transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400",href:"https://beian.miit.gov.cn",target:"_blank"},Pn=G({__name:"index",setup(e){const t=lt();je();const n=Oe(),o=he(),s=Fe(),a=S(null),r=S(null),u=S(null),v=M(()=>s.userBalance),h=st(),p=S(0),m=S(0),l=S(0),d=S(0),i=S(0),c=S(0),{isMobile:g}=Ne(),b=M(()=>n.siderCollapsed),I=S(""),E=S("chat"),O=S(!1),le=S(null),V=X("createNewChatGroup",()=>Promise.resolve()),H=M(()=>s.globalConfig),se=M(()=>{var L,_;return((L=H.value)==null?void 0:L.companyName)&&((_=H.value)==null?void 0:_.filingNumber)}),x=M(()=>o.groupList.find(_=>_.uuid===o.active)),F=M(()=>{var L;try{return JSON.parse(((L=x.value)==null?void 0:L.config)||"{}")}catch{return{}}}),j=M(()=>o==null?void 0:o.activeModelDeductType),J=M(()=>{const L=F.value.deductType||j.value;let _,A;switch(L){case 1:_=v.value.sumModel3Count||0,A=C("chat.ordinaryPoints");break;case 2:_=v.value.sumModel4Count||0,A=C("chat.advancedPoints");break;case 3:_=v.value.sumDrawMjCount||0,A=C("chat.drawingPoints");break;default:_=0,A=C("chat.points")}return{remainingPoints:_,buttonText:A}});function Ke(L){const _=L.target.value;I.value=_,o.setGroupKeyWord(_)}function Ve(){O.value=!1}async function qe(){h.warning({title:C("chat.clearConversation"),content:C("chat.clearAllNonFavoriteConversations"),positiveText:C("common.confirm"),negativeText:C("common.cancel"),onPositiveClick:async()=>{await o.delAllGroup()}})}function xe(){n.setSiderCollapsed(!b.value)}const Ze=M(()=>g.value?{position:"fixed",zIndex:50}:{}),Qe=M(()=>g.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{});return W(g,L=>{n.setSiderCollapsed(L)},{immediate:!0,flush:"post"}),W(()=>s.userBalance.useModel3Token,(L,_)=>{var A;p.value=_||0,m.value=L||0,(A=a.value)==null||A.play()},{immediate:!0,flush:"post"}),W(()=>s.userBalance.useModel4Token,(L,_)=>{var A;l.value=_||0,d.value=L||0,(A=r.value)==null||A.play()},{immediate:!0,flush:"post"}),W(()=>s.userBalance.useDrawMjToken,(L,_)=>{var A;i.value=_||0,c.value=L||0,(A=u.value)==null||A.play()},{immediate:!0,flush:"post"}),(L,_)=>(w(),T("div",null,[y(f(ut),{collapsed:b.value,"collapsed-width":0,width:260,"show-trigger":f(g)?!1:"arrow-circle","collapse-mode":"transform",position:"absolute",bordered:"",style:Se(Ze.value),onUpdateCollapsed:xe},{default:U(()=>{var A,we;return[k("div",{class:"flex flex-col h-full bg-gray-50 dark:bg-gray-900",style:Se(Qe.value)},[k("main",bn,[k("div",xn,[k("div",wn,[k("div",Sn,[y(f(Yt),{class:"pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400","aria-hidden":"true"}),de(k("input",{ref_key:"searchRef",ref:le,"onUpdate:modelValue":_[0]||(_[0]=ee=>I.value=ee),type:"text",placeholder:f(C)("chat.searchHistoryConversations"),class:"block h-full w-full py-0 pl-8 pr-0 text-gray-700 placeholder:text-gray-400 sm:text-sm bg-gray-50 dark:bg-gray-900 dark:text-gray-400",onBlur:Ve,onInput:Ke},null,40,_n),[[Pe,I.value]])])]),k("button",{type:"button",class:"rounded-md p-2 text-sm focus-visible:outline text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",onClick:_[1]||(_[1]=ee=>f(V)())},[y(f(vt),{size:"20"})])]),k("div",In,[E.value==="chat"?(w(),R(kn,{key:0})):B("",!0)]),k("div",Mn,[k("div",Cn,[k("button",{type:"button",class:"inline-flex justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-gray-50 dark:hover:bg-gray-800",onClick:_[2]||(_[2]=ee=>f(t).updateNoticeDialog(!0))},[y(f(ct),{theme:"outline",size:"16",class:"ml-0 mr-2 text-sm"}),k("span",null,D(f(C)("chat.announcement")),1)]),k("button",{type:"button",class:"inline-flex justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-gray-50 dark:hover:bg-gray-800",onClick:qe},[y(f(ft),{theme:"outline",size:"16",class:"ml-0 mr-2 text-sm"}),k("span",null,D(f(C)("chat.clear")),1)])]),k("div",{onClick:_[3]||(_[3]=ee=>f(t).updateGoodsDialog(!0))},[k("button",$n,[k("span",null,D(f(C)("chat.remaining")+`${J.value.remainingPoints} ${J.value.buttonText}`),1)])])]),se.value&&f(g)?(w(),T("div",Tn,[q(" 版权所有 © "+D((A=H.value)==null?void 0:A.companyName)+" ",1),k("a",Ln,D((we=H.value)==null?void 0:we.filingNumber),1)])):B("",!0)])],4)]}),_:1},8,["collapsed","show-trigger","style"]),f(g)?de((w(),T("div",{key:0,class:"fixed inset-0 z-40 bg-black/40",onClick:xe},null,512)),[[it,!b.value]]):B("",!0)]))}});export{_e as D,ue as M,qt as S,Pn as _,Zt as b,Vt as g};
    diff --git a/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js b/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js
    new file mode 100644
    index 0000000..e2abe94
    --- /dev/null
    +++ b/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js
    @@ -0,0 +1 @@
    +import{X as i,r as T,e as n,d as F,a as fe,f as pe,w as K,l as re,F as R,S as o,U as p,a3 as a,ae as Ge,c as W,a4 as v,M as t,a6 as ae,k as me,a7 as Ee,V as P,a5 as $,W as w,z as ye,a8 as A,ab as We,H as ie,v as Oe}from"./vue-10b4afc0.js";import{w as Q,t as h,o as he,q as Ve,e as ve,a as ke,N as Ke,u as He}from"./index-d64a7cc4.js";import{_ as qe}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{u as be}from"./useBasicLayout-a4f17bae.js";import{I as le,d as xe,e as Re,s as Fe,o as Ze,E as Je,T as Xe,f as ue,S as we,M as _e,b as V,g as Ce,U as ce,D as Qe,A as Ye,C as et,a as tt,c as at,L as lt}from"./menu-19bde8fc.js";import{e as st,G as Se,d as ot,R as nt}from"./naive-ui-fedd20b1.js";const rt=le("application-two",!1,function(e){return i("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i("circle",{cx:"34.5",cy:"13.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),i("circle",{cx:"34.5",cy:"34.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),i("circle",{cx:"13.5",cy:"13.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),i("circle",{cx:"13.5",cy:"34.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),de=le("down",!1,function(e){return i("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ge=le("up",!1,function(e){return i("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});function it(e,d,g){let f=T(g==null?void 0:g.value),r=n(()=>e.value!==void 0);return[n(()=>r.value?e.value:f.value),function(l){return r.value||(f.value=l),d==null?void 0:d(l)}]}var $e=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))($e||{});let ut=F({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:d,attrs:g}){return()=>{var f;let{features:r,...l}=e,E={"aria-hidden":(r&2)===2?!0:(f=l["aria-hidden"])!=null?f:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return xe({ourProps:E,theirProps:l,slot:{},attrs:g,slots:d,name:"Hidden"})}}});function ct(e){var d,g;let f=(d=e==null?void 0:e.form)!=null?d:e.closest("form");if(f){for(let r of f.elements)if(r!==e&&(r.tagName==="INPUT"&&r.type==="submit"||r.tagName==="BUTTON"&&r.type==="submit"||r.nodeName==="INPUT"&&r.type==="image")){r.click();return}(g=f.requestSubmit)==null||g.call(f)}}let dt=Symbol("GroupContext"),gt=F({name:"Switch",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(e,{emit:d,attrs:g,slots:f,expose:r}){var l;let E=(l=e.id)!=null?l:`headlessui-switch-${Re()}`,z=fe(dt,null),[j,_]=it(n(()=>e.modelValue),s=>d("update:modelValue",s),n(()=>e.defaultChecked));function N(){_(!j.value)}let b=T(null),C=z===null?b:z.switchRef,I=Fe(n(()=>({as:e.as,type:g.type})),C);r({el:C,$el:C});function x(s){s.preventDefault(),N()}function k(s){s.key===ue.Space?(s.preventDefault(),N()):s.key===ue.Enter&&ct(s.currentTarget)}function B(s){s.preventDefault()}let G=n(()=>{var s,m;return(m=(s=Ze(C))==null?void 0:s.closest)==null?void 0:m.call(s,"form")});return pe(()=>{K([G],()=>{if(!G.value||e.defaultChecked===void 0)return;function s(){_(e.defaultChecked)}return G.value.addEventListener("reset",s),()=>{var m;(m=G.value)==null||m.removeEventListener("reset",s)}},{immediate:!0})}),()=>{let{name:s,value:m,form:M,tabIndex:O,...H}=e,Z={checked:j.value},q={id:E,ref:C,role:"switch",type:I.value,tabIndex:O===-1?0:O,"aria-checked":j.value,"aria-labelledby":z==null?void 0:z.labelledby.value,"aria-describedby":z==null?void 0:z.describedby.value,onClick:x,onKeyup:k,onKeypress:B};return re(R,[s!=null&&j.value!=null?re(ut,Je({features:$e.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:j.value,form:M,disabled:H.disabled,name:s,value:m})):null,xe({ourProps:q,theirProps:{...g,...Xe(H,["modelValue","defaultChecked"])},slot:Z,attrs:g,slots:f,name:"Switch"})])}}});function ft(e,d){return o(),p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function pt(e,d){return o(),p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])}function mt(e,d){let g;return(...f)=>{const r=()=>{clearTimeout(g),e(...f)};clearTimeout(g),g=setTimeout(r,d)}}const yt={class:"mt-3 mb-1 text-xs font-bold"},ht={class:"ml-1"},vt=["onClick"],kt={class:"flex items-center"},bt=["onUpdate:modelValue","onKeypress"],xt={key:1,class:"flex-1 truncate max-w-48"},wt={key:0,class:"absolute z-10 right-2"},_t={class:"py-1"},Ct=["onClick"],St=["onClick"],$t=["onClick"],te=F({__name:"ListItem",props:{dataSources:{},title:{}},emits:["update","delete","sticky","select"],setup(e,{emit:d}){const g=e,f=d,r=g.dataSources,l=Q();async function E(x){f("select",x)}function z(x,k,B){B==null||B.stopPropagation(),x.isEdit=k}async function j(x,k){k==null||k.stopPropagation(),await l.updateGroupInfo({isSticky:!x.isSticky,groupId:x.uuid})}async function _(x,k){k==null||k.stopPropagation(),f("delete",x)}const N=mt(_,600);async function b(x){const{uuid:k,title:B}=x;x.isEdit=!1,await l.updateGroupInfo({groupId:k,title:B})}async function C(x,k){k==null||k.stopPropagation(),k.key==="Enter"&&b(x)}function I(x){return l.active===x}return(x,k)=>{var G;const B=Ge("focus");return o(),p(R,null,[a("p",yt,[W(v(g.title)+" ",1),a("span",ht,"("+v((G=t(r))==null?void 0:G.length)+")",1)]),(o(!0),p(R,null,ae(t(r),s=>(o(),p("div",{key:`${s.uuid}`},[a("div",{class:A(["relative flex items-center gap-3 px-3 py-2 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm",I(s.uuid)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["text-gray-700","dark:bg-gray-900","dark:text-gray-400"]]),onClick:m=>E(s)},[a("div",kt,[s.isEdit?me((o(),p("input",{key:0,"onUpdate:modelValue":m=>s.title=m,type:"text",class:"bg-transparent border border-gray-200 dark:border-gray-400 px-1 shadow-none flex-1 truncate",onKeypress:m=>C(s,m)},null,40,bt)),[[Ee,s.title],[B]]):(o(),p("span",xt,v(s.title),1)),s.isEdit?(o(),P(t(ft),{key:2,class:"h-5 w-5 ml-2","aria-hidden":"true",onClick:m=>b(s)},null,8,["onClick"])):$("",!0)]),I(s.uuid)?(o(),p("div",wt,[s.isEdit?$("",!0):(o(),P(t(Ce),{key:0,as:"div",class:"relative inline-block text-left"},{default:w(()=>[i(t(we),{class:"p-1"},{default:w(()=>[i(t(pt),{class:"h-5 w-5","aria-hidden":"true"})]),_:1}),i(ye,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:w(()=>[i(t(_e),{class:"absolute right-0 z-10 mt-2 w-32 text-gray-700 dark:text-gray-400 origin-top-right text-b rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none bg-primary-100 dark:bg-gray-800"},{default:w(()=>[a("div",_t,[i(t(V),{as:"template"},{default:w(({active:m})=>[a("button",{class:A([m?"flex items-center bg-gray-100 dark:bg-gray-700 ":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:M=>z(s,!0,M)},v(t(h)("chat.rename")),11,Ct)]),_:2},1024),i(t(V),{as:"template"},{default:w(({active:m})=>[a("button",{class:A([m?"flex items-end mr-3 bg-gray-100 dark:bg-gray-700":"flex items-end ","block w-full px-4 py-2 text-left text-sm"]),onClick:M=>j(s,M)},v(s.isSticky?t(h)("chat.unfavorite"):t(h)("chat.favoriteConversations")),11,St)]),_:2},1024),i(t(V),{as:"template"},{default:w(({active:m})=>[a("button",{class:A([m?"flex items-center bg-gray-100 dark:bg-gray-700":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:M=>t(N)(s,M)},v(t(h)("chat.deleteConversation")),11,$t)]),_:2},1024)])]),_:2},1024)]),_:2},1024)]),_:2},1024))])):$("",!0)],10,vt)]))),128))],64)}}}),jt={class:"flex flex-col gap-3 text-sm"},Tt={key:0,class:"flex flex-col items-center mt-4 text-center text-neutral-300"},Nt={class:"mt-3 mb-1 text-xs font-bold"},It=["onClick"],Mt={class:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden"},Lt=["src"],Dt={key:1,class:"text-sm font-medium"},At=F({__name:"List",setup(e){const{isMobile:d}=be(),g=he(),f=Ve(),r=ve(),l=Q(),E=ke(),z=st(),j=T(100),_=Ke(),N=T(!1),b=T(!1),C=n(()=>l.groupList),I=n(()=>l.groupKeyWord);K(C,()=>j.value=j.value+1),K(I,()=>j.value=j.value+1);const x=n(()=>l.isStreamIn!==void 0?l.isStreamIn:!1);n(()=>E.isLogin);const k=fe("createNewChatGroup",async u=>{}),B=n(()=>_.mineApps);function G(u){const U=new Date(u).getTime()+8*60*60*1e3;return new Date(U).getTime()}const s=new Date().setHours(0,0,0,0),m=n(()=>C.value.filter(u=>I.value?u.title.includes(I.value)&&u.isSticky:u.isSticky)),M=n(()=>C.value.filter(u=>I.value?u.title.includes(I.value)&&!u.isSticky&&G(u.updatedAt)>=s:!u.isSticky&&G(u.updatedAt)>=s)),O=n(()=>C.value.filter(u=>I.value?u.title.includes(I.value)&&!u.isSticky&&G(u.updatedAt)E.isLogin,(u,S)=>{u===!0&&(_.queryMineApps(),l.queryMyGroup())},{immediate:!0}),(u,S)=>(o(),P(t(Se),{class:"px-4"},{default:w(()=>[a("div",jt,[C.value.length?(o(),p(R,{key:1},[a("p",Nt,v(t(h)("chat.myApps")),1),(o(!0),p(R,null,ae(b.value?B.value:B.value.slice(0,4),U=>(o(),p("div",{key:U.appId,onClick:Y=>Z(U.appId),class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'"},[a("div",Mt,[U.coverImg?(o(),p("img",{key:0,src:U.coverImg,alt:"app cover",class:"w-full h-full object-cover"},null,8,Lt)):(o(),p("span",Dt,v(U.appName.charAt(0)),1))]),a("button",null,v(U.appName),1)],8,It))),128)),B.value.length>4?(o(),p("button",{key:0,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:S[0]||(S[0]=U=>b.value=!b.value)},[W(v(b.value?t(h)("chat.collapse"):t(h)("chat.more"))+" ",1),b.value?(o(),P(t(ge),{key:1,theme:"outline",size:"20"})):(o(),P(t(de),{key:0,theme:"outline",size:"20"}))])):$("",!0),a("div",{class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'",onClick:X},[i(t(rt),{theme:"outline",size:"25",class:"ml-1 mr-1 text-sm my-1 text-gray-600"}),W(" "+v(t(h)("chat.appSquare")),1)]),m.value.length?(o(),P(te,{key:`stickyList-${N.value}-${m.value}`,title:t(h)("chat.favorites"),"data-sources":N.value?m.value:m.value.slice(0,5),onSelect:H,onDelete:q},null,8,["title","data-sources"])):$("",!0),m.value.length>5?(o(),p("button",{key:2,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:S[1]||(S[1]=U=>N.value=!N.value)},[W(v(N.value?t(h)("chat.collapse"):t(h)("chat.more"))+" ",1),N.value?(o(),P(t(ge),{key:1,theme:"outline",size:"20"})):(o(),P(t(de),{key:0,theme:"outline",size:"20"}))])):$("",!0),M.value.length?(o(),P(te,{key:3e3+j.value,title:t(h)("chat.todayConversations"),"data-sources":M.value,onSelect:H,onDelete:q},null,8,["title","data-sources"])):$("",!0),O.value.length?(o(),P(te,{key:4e3+j.value,title:t(h)("chat.historyConversations"),"data-sources":O.value,onSelect:H,onDelete:q},null,8,["title","data-sources"])):$("",!0)],64)):(o(),p("div",Tt,[i(t(qe),{icon:"ri:inbox-line",class:"mb-2 text-3xl"}),a("span",null,v(u.$t("common.noData")),1)]))])]),_:1}))}}),zt={class:"flex flex-col gap-3 text-sm"},Pt={class:"flex items-center justify-between w-full my-1"},Bt={class:"flex items-center space-x-2"},Ut={class:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},Gt=["src"],Et={key:1,class:"text-sm font-medium"},Wt={class:"line-clamp-1 overflow-hidden text-ellipsis w-32 block whitespace-nowrap font-medium text-base text-gray-600 dark:text-gray-400"},Ot=a("span",{"aria-hidden":"true",class:"pointer-events-none absolute h-full w-full rounded-full bg-white dark:bg-transparent"},null,-1),Vt={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 mb-2"},Kt=F({__name:"Plugin",setup(e){const d=Q(),g=T(100),f=n(()=>d.groupList),r=n(()=>d.groupKeyWord),l=[],E=n(()=>{var _;return(_=d.pluginList)!=null&&_.length?d.pluginList:l});K(f,()=>g.value=g.value+1),K(r,()=>g.value=g.value+1);const z=n(()=>d.currentPlugin);f.value.filter(_=>r.value?_.title.includes(r.value)&&_.isSticky:_.isSticky);function j(_){var N;((N=z.value)==null?void 0:N.parameters)===_.parameters?d.setUsingPlugin(null):d.setUsingPlugin(_)}return pe(()=>{d.queryPlugins(),d.queryMyGroup()}),(_,N)=>(o(),P(t(Se),{class:"px-4 py-2 bg-gray"},{default:w(()=>[a("div",zt,[(o(!0),p(R,null,ae(E.value,b=>(o(),p("div",{key:b.parameters,class:"select-none relative h-26 bg-white shadow flex flex-col items-start gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm text-gray-700 dark:bg-gray-900 dark:text-gray-400"},[a("div",Pt,[a("div",Bt,[a("div",Ut,[b.pluginImg?(o(),p("img",{key:0,src:b.pluginImg,alt:"App cover",class:"w-full h-full object-cover"},null,8,Gt)):(o(),p("span",Et,v(b.pluginName.charAt(0)),1))]),a("span",Wt,v(b.pluginName),1)]),i(t(gt),{class:A(["group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none"]),onClick:We(C=>j(b),["prevent"])},{default:w(()=>{var C,I;return[Ot,a("span",{"aria-hidden":"true",class:A([((C=z.value)==null?void 0:C.parameters)===b.parameters?"bg-indigo-600":"bg-gray-200 dark:bg-gray-700","pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-200 ease-in-out"])},null,2),a("span",{"aria-hidden":"true",class:A([((I=z.value)==null?void 0:I.parameters)===b.parameters?"translate-x-5":"translate-x-0","pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-500 shadow ring-0 transition-transform duration-200 ease-in-out"])},null,2)]}),_:2},1032,["onClick"])]),a("div",null,[a("span",Vt,v(b.description),1)])]))),128))])]),_:1}))}}),Ht={class:"flex flex-col h-full flex-1"},qt={class:"flex bg-gray-50 w-full justify-between items-center px-4 dark:bg-gray-900 h-14"},Rt={class:"w-full flex justify-center space-x-2 font-medium rounded-full bg-gray-100 dark:bg-gray-800 shadow-sm"},Ft={class:"flex-1 min-h-0 overflow-hidden"},Zt={class:"p-4 pb-1 pt-1 border-t-gray-100 dark:border-t-gray-800 flex items-center justify-between text-left w-full"},Jt={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},Xt=["src"],Qt={class:"py-1"},Yt=a("button",{type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-gray-50 dark:hover:bg-gray-800 w-full"},[a("span",null,"登录 / 注册")],-1),ea=[Yt],ta={type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-gray-50 dark:hover:bg-gray-800 w-full"},aa={key:0,class:"w-full flex justify-center items-center pb-3 text-xs text-gray-500"},la={class:"ml-2 transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400",href:"https://beian.miit.gov.cn",target:"_blank"},ca=F({__name:"index",setup(e){const d=He(),g=he(),f=ve(),r=Q(),l=ke(),E=T(null),z=T(null),j=T(null),_=n(()=>{var y;return Number((y=l.globalConfig)==null?void 0:y.signInStatus)===1}),N=n(()=>{var y;return Number((y=l.globalConfig)==null?void 0:y.isHideSidebar)===1}),b=n(()=>f.theme==="dark"),C=n(()=>l.userBalance),I=ot(),x=T(0),k=T(0),B=T(0),G=T(0),s=T(0),m=T(0),{isMobile:M}=be(),O=n(()=>l.isLogin);n(()=>l.globalConfig.clientLogoPath),n(()=>l.globalConfig.clientHomePath||"/");const H=n(()=>l.globalConfig.model3Name||h("chat.ordinaryPoints")),Z=n(()=>l.globalConfig.model4Name)||h("chat.advancedPoints"),q=n(()=>l.globalConfig.drawMjName)||h("chat.drawingPoints"),J=n(()=>Number(l.globalConfig.pluginFirst)===1),X=n(()=>l.userInfo.avatar),u=n(()=>f.siderCollapsed);T("");const S=T(J.value?"plugin":"chat");T(!1);const U=n(()=>l.globalConfig),Y=n(()=>{var y,c;return((y=U.value)==null?void 0:y.companyName)&&((c=U.value)==null?void 0:c.filingNumber)}),je=n(()=>r.groupList.find(c=>c.uuid===r.active)),Te=n(()=>{var y;try{return JSON.parse(((y=je.value)==null?void 0:y.config)||"{}")}catch{return{}}}),Ne=n(()=>r==null?void 0:r.activeModelDeductType),se=n(()=>{const y=Te.value.deductType||Ne.value;let c,L;switch(y){case 1:c=C.value.sumModel3Count||0,L=H.value;break;case 2:c=C.value.sumModel4Count||0,L=Z.value;break;case 3:c=C.value.sumDrawMjCount||0,L=q.value;break;default:c=0,L=h("chat.points")}return{remainingPoints:c,buttonText:L}});async function Ie(){await Me(),g.replace({path:"user-center"})}async function Me(){return new Promise(y=>{setTimeout(()=>{l.isLogin||g.replace({path:"login"}),y()},100)})}function Le(){const y=b.value?"light":"dark";f.setTheme(y)}async function De(){I.warning({title:h("chat.clearConversation"),content:h("chat.clearAllNonFavoriteConversations"),positiveText:h("common.confirm"),negativeText:h("common.cancel"),onPositiveClick:async()=>{await r.delAllGroup()}})}function oe(){f.setSiderCollapsed(!u.value)}function Ae(){O.value?l.logOut():l.setLoginDialog(!0)}function ze(){if(!O.value){l.setLoginDialog(!0);return}d.updateSignInDialog(!0)}function Pe(){l.logOut(),g.push("/")}const Be=n(()=>M.value?{position:"fixed",zIndex:50}:{}),Ue=n(()=>M.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{});return K(M,y=>{f.setSiderCollapsed(y)},{immediate:!0,flush:"post"}),K(()=>l.userBalance.useModel3Token,(y,c)=>{var L;x.value=c||0,k.value=y||0,(L=E.value)==null||L.play()},{immediate:!0,flush:"post"}),K(()=>l.userBalance.useModel4Token,(y,c)=>{var L;B.value=c||0,G.value=y||0,(L=z.value)==null||L.play()},{immediate:!0,flush:"post"}),K(()=>l.userBalance.useDrawMjToken,(y,c)=>{var L;s.value=c||0,m.value=y||0,(L=j.value)==null||L.play()},{immediate:!0,flush:"post"}),(y,c)=>(o(),p("div",null,[i(t(nt),{collapsed:u.value,"collapsed-width":0,width:260,"collapse-mode":"transform",position:"absolute",bordered:"",style:ie(Be.value),onUpdateCollapsed:oe},{default:w(()=>{var L,ne;return[a("div",{class:"flex flex-col h-full bg-gray-50 dark:bg-gray-900 select-none",style:ie(Ue.value)},[a("main",Ht,[a("div",qt,[a("div",Rt,[J.value?(o(),p("button",{key:0,onClick:c[0]||(c[0]=D=>S.value="plugin"),class:A([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":S.value==="plugin","dark:text-gray-400":S.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2)):$("",!0),a("button",{onClick:c[1]||(c[1]=D=>S.value="chat"),class:A([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":S.value==="chat","":S.value!=="chat"},"block w-full rounded-full focus:outline-none py-1 dark:text-gray-600"])}," 对话 ",2),J.value?$("",!0):(o(),p("button",{key:1,onClick:c[2]||(c[2]=D=>S.value="plugin"),class:A([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":S.value==="plugin","dark:text-gray-400":S.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2))])]),a("div",Ft,[S.value==="chat"?(o(),P(At,{key:0})):$("",!0),S.value==="plugin"?(o(),P(Kt,{key:1})):$("",!0)]),a("div",Zt,[O.value&&(t(M)||N.value)?(o(),P(t(Ce),{key:0,as:"div",class:"relative inline-block text-left"},{default:w(()=>[a("div",null,[i(t(we),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md pr-3 py-2 text-sm font-semibold dark:text-gray-400 text-gray-700"},{default:w(()=>[a("div",Jt,[X.value?(o(),p("img",{key:0,src:X.value,class:"w-full h-full object-cover"},null,8,Xt)):$("",!0),X.value?$("",!0):(o(),P(t(ce),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),i(ye,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:w(()=>[i(t(_e),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 dark:text-gray-400 text-gray-900 z-50"},{default:w(()=>[a("div",Qt,[i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([[D?"bg-gray-100  dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:De},[i(t(Qe),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.clear")),1)],2)]),_:1}),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100  dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:c[3]||(c[3]=ee=>t(d).updateNoticeDialog(!0))},[i(t(Ye),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.announcement")),1)],2)]),_:1}),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100  dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:c[4]||(c[4]=ee=>t(d).updateGoodsDialog(!0))},[i(t(et),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.pointsMall")),1)],2)]),_:1}),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100  dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le},[i(t(tt),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.toggleTheme")),1)],2)]),_:1}),_.value?(o(),P(t(V),{key:0},{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100  dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ze},[i(t(at),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.signInReward")),1)],2)]),_:1})):$("",!0),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100  dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:c[5]||(c[5]=ee=>Ie())},[i(t(ce),{theme:"outline",size:"16",class:"mr-2"}),W(" 个人中心 ")],2)]),_:1}),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100  dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:c[6]||(c[6]=ee=>Pe())},[i(t(lt),{theme:"outline",size:"16",class:"mr-2"}),W(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):$("",!0),O.value?$("",!0):(o(),p("div",{key:1,onClick:Ae,class:"flex flex-1 items-center justify-center cursor-pointer"},ea)),O.value?(o(),p("div",{key:2,onClick:c[7]||(c[7]=D=>t(d).updateGoodsDialog(!0)),class:"flex flex-1 items-center justify-center cursor-pointer"},[a("button",ta,[a("span",null,v(t(h)("chat.remaining")+`${se.value.remainingPoints} ${se.value.buttonText}`),1)])])):$("",!0)]),Y.value&&t(M)?(o(),p("div",aa,[W(" 版权所有 © "+v((L=U.value)==null?void 0:L.companyName)+" ",1),a("a",la,v((ne=U.value)==null?void 0:ne.filingNumber),1)])):$("",!0)])],4)]}),_:1},8,["collapsed","style"]),t(M)?me((o(),p("div",{key:0,class:"fixed inset-0 z-40 bg-black/40",onClick:oe},null,512)),[[Oe,!u.value]]):$("",!0)]))}});export{de as D,ca as _};
    diff --git a/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js.br b/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js.br
    new file mode 100644
    index 0000000..6e72d77
    Binary files /dev/null and b/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js.br differ
    diff --git a/public/assets/index.vue_vue_type_script_setup_true_lang-f425914e.js b/public/assets/index.vue_vue_type_script_setup_true_lang-f425914e.js
    new file mode 100644
    index 0000000..6a00243
    --- /dev/null
    +++ b/public/assets/index.vue_vue_type_script_setup_true_lang-f425914e.js
    @@ -0,0 +1 @@
    +import{$ as t}from"./index-d64a7cc4.js";import{d as n,ag as a,e as r,V as c,u as i,M as p,S as m}from"./vue-10b4afc0.js";const f=n({__name:"index",props:{icon:{}},setup(l){const s=a(),e=r(()=>({class:s.class||"",style:s.style||"width: 1em, height: 1em"}));return(o,u)=>(m(),c(p(t),i({icon:o.icon},e.value),null,16,["icon"]))}});export{f as _};
    diff --git a/public/assets/menu-19bde8fc.js b/public/assets/menu-19bde8fc.js
    new file mode 100644
    index 0000000..559058e
    --- /dev/null
    +++ b/public/assets/menu-19bde8fc.js
    @@ -0,0 +1,4 @@
    +import{a as E,X as d,n as j,y as S,r as y,e as L,f as q,B as le,l as ie,F as ae,p as X,d as P,G as ue}from"./vue-10b4afc0.js";var se={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function ce(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function de(e,t,n){var o=typeof t.fill=="string"?[t.fill]:t.fill||[],i=[],l=t.theme||n.theme;switch(l){case"outline":i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push("none"),i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push("none");break;case"filled":i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push("#FFF"),i.push("#FFF");break;case"two-tone":i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push(typeof o[1]=="string"?o[1]:n.colors.twoTone.twoTone),i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push(typeof o[1]=="string"?o[1]:n.colors.twoTone.twoTone);break;case"multi-color":i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push(typeof o[1]=="string"?o[1]:n.colors.multiColor.outFillColor),i.push(typeof o[2]=="string"?o[2]:n.colors.multiColor.innerStrokeColor),i.push(typeof o[3]=="string"?o[3]:n.colors.multiColor.innerFillColor);break}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:i,id:e}}var fe=Symbol("icon-context");function I(e,t,n){var o={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(l){var r=ce(),u=E(fe,se);return function(){var v=l.size,m=l.strokeWidth,k=l.strokeLinecap,h=l.strokeLinejoin,a=l.theme,c=l.fill,s=l.spin,f=de(r,{size:v,strokeWidth:m,strokeLinecap:k,strokeLinejoin:h,theme:a,fill:c},u),g=[u.prefix+"-icon"];return g.push(u.prefix+"-icon-"+e),t&&u.rtl&&g.push(u.prefix+"-icon-rtl"),s&&g.push(u.prefix+"-icon-spin"),d("span",{class:g.join(" ")},[n(f)])}}};return o}const Ke=I("announcement",!0,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("rect",{x:"4",y:"15",width:"40",height:"26",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M24 7L16 15H32L24 7Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M12 24H30",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M12 32H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ge=I("calendar",!1,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{d:"M5 19H43V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V19Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M5 9C5 7.89543 5.89543 7 7 7H41C42.1046 7 43 7.89543 43 9V19H5V9Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M16 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M32 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M28 34H34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M14 34H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M28 26H34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M14 26H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qe=I("commodity",!1,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{d:"M9.78101 9.75193C9.90612 8.75107 10.7569 8 11.7656 8H36.2344C37.2431 8 38.0939 8.75107 38.219 9.75193L41.719 37.7519C41.8682 38.9456 40.9374 40 39.7344 40H8.26556C7.06257 40 6.1318 38.9456 6.28101 37.7519L9.78101 9.75193Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M15 18C15 18 17 22 24 22C31 22 33 18 33 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xe=I("delete-themes",!0,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 15H40L37 44H11L8 15Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M20.002 25.0024V35.0026",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),d("path",{d:"M28.0024 24.9995V34.9972",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),d("path",{d:"M12 14.9999L28.3242 3L36 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Qe=I("logout",!0,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ye=I("sun-one",!1,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{d:"M24 37C31.1797 37 37 31.1797 37 24C37 16.8203 31.1797 11 24 11C16.8203 11 11 16.8203 11 24C11 31.1797 16.8203 37 24 37Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M24 6C25.3807 6 26.5 4.88071 26.5 3.5C26.5 2.11929 25.3807 1 24 1C22.6193 1 21.5 2.11929 21.5 3.5C21.5 4.88071 22.6193 6 24 6Z",fill:e.colors[0]},null),d("path",{d:"M38.5 12C39.8807 12 41 10.8807 41 9.5C41 8.11929 39.8807 7 38.5 7C37.1193 7 36 8.11929 36 9.5C36 10.8807 37.1193 12 38.5 12Z",fill:e.colors[0]},null),d("path",{d:"M44.5 26.5C45.8807 26.5 47 25.3807 47 24C47 22.6193 45.8807 21.5 44.5 21.5C43.1193 21.5 42 22.6193 42 24C42 25.3807 43.1193 26.5 44.5 26.5Z",fill:e.colors[0]},null),d("path",{d:"M38.5 41C39.8807 41 41 39.8807 41 38.5C41 37.1193 39.8807 36 38.5 36C37.1193 36 36 37.1193 36 38.5C36 39.8807 37.1193 41 38.5 41Z",fill:e.colors[0]},null),d("path",{d:"M24 47C25.3807 47 26.5 45.8807 26.5 44.5C26.5 43.1193 25.3807 42 24 42C22.6193 42 21.5 43.1193 21.5 44.5C21.5 45.8807 22.6193 47 24 47Z",fill:e.colors[0]},null),d("path",{d:"M9.5 41C10.8807 41 12 39.8807 12 38.5C12 37.1193 10.8807 36 9.5 36C8.11929 36 7 37.1193 7 38.5C7 39.8807 8.11929 41 9.5 41Z",fill:e.colors[0]},null),d("path",{d:"M3.5 26.5C4.88071 26.5 6 25.3807 6 24C6 22.6193 4.88071 21.5 3.5 21.5C2.11929 21.5 1 22.6193 1 24C1 25.3807 2.11929 26.5 3.5 26.5Z",fill:e.colors[0]},null),d("path",{d:"M9.5 12C10.8807 12 12 10.8807 12 9.5C12 8.11929 10.8807 7 9.5 7C8.11929 7 7 8.11929 7 9.5C7 10.8807 8.11929 12 9.5 12Z",fill:e.colors[0]},null)])}),Je=I("user",!1,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("circle",{cx:"24",cy:"12",r:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});let ve=Symbol("headlessui.useid"),he=0;function W(){return E(ve,()=>`${++he}`)()}function b(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function T(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,T),o}var me=Object.defineProperty,ke=(e,t,n)=>t in e?me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>(ke(e,typeof t!="symbol"?t+"":t,n),n);let ge=class{constructor(){V(this,"current",this.detect()),V(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},H=new ge;function z(e){if(H.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=b(e);if(t)return t.ownerDocument}return document}let N=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var $=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))($||{}),we=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(we||{}),be=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(be||{});function Q(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(N)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var B=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(B||{});function U(e,t=0){var n;return e===((n=z(e))==null?void 0:n.body)?!1:T(t,{0(){return e.matches(N)},1(){let o=e;for(;o!==null;){if(o.matches(N))return!0;o=o.parentElement}return!1}})}function Y(e){let t=z(e);j(()=>{t&&!U(t.activeElement,0)&&ye(e)})}var pe=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(pe||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function ye(e){e==null||e.focus({preventScroll:!0})}let Ce=["textarea","input"].join(",");function Le(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Ce))!=null?n:!1}function J(e,t=n=>n){return e.slice().sort((n,o)=>{let i=t(n),l=t(o);if(i===null||l===null)return 0;let r=i.compareDocumentPosition(l);return r&Node.DOCUMENT_POSITION_FOLLOWING?-1:r&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function je(e,t){return Ie(Q(),t,{relativeTo:e})}function Ie(e,t,{sorted:n=!0,relativeTo:o=null,skipElements:i=[]}={}){var l;let r=(l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?l:document,u=Array.isArray(e)?n?J(e):e:Q(e);i.length>0&&u.length>1&&(u=u.filter(s=>!i.includes(s))),o=o??r.activeElement;let v=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(o))-1;if(t&4)return Math.max(0,u.indexOf(o))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),k=t&32?{preventScroll:!0}:{},h=0,a=u.length,c;do{if(h>=a||h+a<=0)return 0;let s=m+h;if(t&16)s=(s+a)%a;else{if(s<0)return 3;if(s>=a)return 1}c=u[s],c==null||c.focus(k),h+=v}while(c!==r.activeElement);return t&6&&Le(c)&&c.select(),2}function Me(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Se(){return/Android/gi.test(window.navigator.userAgent)}function xe(){return Me()||Se()}function F(e,t,n){H.isServer||S(o=>{document.addEventListener(e,t,n),o(()=>document.removeEventListener(e,t,n))})}function Fe(e,t,n){H.isServer||S(o=>{window.addEventListener(e,t,n),o(()=>window.removeEventListener(e,t,n))})}function Ee(e,t,n=L(()=>!0)){function o(l,r){if(!n.value||l.defaultPrevented)return;let u=r(l);if(u===null||!u.getRootNode().contains(u))return;let v=function m(k){return typeof k=="function"?m(k()):Array.isArray(k)||k instanceof Set?k:[k]}(e);for(let m of v){if(m===null)continue;let k=m instanceof HTMLElement?m:b(m);if(k!=null&&k.contains(u)||l.composed&&l.composedPath().includes(k))return}return!U(u,B.Loose)&&u.tabIndex!==-1&&l.preventDefault(),t(l,u)}let i=y(null);F("pointerdown",l=>{var r,u;n.value&&(i.value=((u=(r=l.composedPath)==null?void 0:r.call(l))==null?void 0:u[0])||l.target)},!0),F("mousedown",l=>{var r,u;n.value&&(i.value=((u=(r=l.composedPath)==null?void 0:r.call(l))==null?void 0:u[0])||l.target)},!0),F("click",l=>{xe()||i.value&&(o(l,()=>i.value),i.value=null)},!0),F("touchend",l=>o(l,()=>l.target instanceof HTMLElement?l.target:null),!0),Fe("blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function _(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Pe(e,t){let n=y(_(e.value.type,e.value.as));return q(()=>{n.value=_(e.value.type,e.value.as)}),S(()=>{var o;n.value||b(t)&&b(t)instanceof HTMLButtonElement&&!((o=b(t))!=null&&o.hasAttribute("type"))&&(n.value="button")}),n}function Z(e){return[e.screenX,e.screenY]}function Te(){let e=y([-1,-1]);return{wasMoved(t){let n=Z(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Z(t)}}}function Oe({container:e,accept:t,walk:n,enabled:o}){S(()=>{let i=e.value;if(!i||o!==void 0&&!o.value)return;let l=z(e);if(!l)return;let r=Object.assign(v=>t(v),{acceptNode:t}),u=l.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,r,!1);for(;u.nextNode();)n(u.currentNode)})}var R=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(R||{}),De=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(De||{});function O({visible:e=!0,features:t=0,ourProps:n,theirProps:o,...i}){var l;let r=te(o,n),u=Object.assign(i,{props:r});if(e||t&2&&r.static)return A(u);if(t&1){let v=(l=r.unmount)==null||l?0:1;return T(v,{0(){return null},1(){return A({...i,props:{...r,hidden:!0,style:{display:"none"}}})}})}return A(u)}function A({props:e,attrs:t,slots:n,slot:o,name:i}){var l,r;let{as:u,...v}=Ae(e,["unmount","static"]),m=(l=n.default)==null?void 0:l.call(n,o),k={};if(o){let h=!1,a=[];for(let[c,s]of Object.entries(o))typeof s=="boolean"&&(h=!0),s===!0&&a.push(c);h&&(k["data-headlessui-state"]=a.join(" "))}if(u==="template"){if(m=ee(m??[]),Object.keys(v).length>0||Object.keys(t).length>0){let[h,...a]=m??[];if(!Ne(h)||a.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(v).concat(Object.keys(t)).map(f=>f.trim()).filter((f,g,w)=>w.indexOf(f)===g).sort((f,g)=>f.localeCompare(g)).map(f=>`  - ${f}`).join(`
    +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(f=>`  - ${f}`).join(`
    +`)].join(`
    +`));let c=te((r=h.props)!=null?r:{},v,k),s=le(h,c,!0);for(let f in c)f.startsWith("on")&&(s.props||(s.props={}),s.props[f]=c[f]);return s}return Array.isArray(m)&&m.length===1?m[0]:m}return ie(u,Object.assign({},v,k),{default:()=>m})}function ee(e){return e.flatMap(t=>t.type===ae?ee(t.children):[t])}function te(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let o of e)for(let i in o)i.startsWith("on")&&typeof o[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(o[i])):t[i]=o[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(o=>[o,void 0])));for(let o in n)Object.assign(t,{[o](i,...l){let r=n[o];for(let u of r){if(i instanceof Event&&i.defaultPrevented)return;u(i,...l)}}});return t}function tt(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Ae(e,t=[]){let n=Object.assign({},e);for(let o of t)o in n&&delete n[o];return n}function Ne(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let ne=Symbol("Context");var M=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(M||{});function $e(){return E(ne,null)}function Re(e){X(ne,e)}var p=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(p||{});function We(e){throw new Error("Unexpected object: "+e)}var C=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(C||{});function He(e,t){let n=t.resolveItems();if(n.length<=0)return null;let o=t.resolveActiveIndex(),i=o??-1;switch(e.focus){case 0:{for(let l=0;l=0;--l)if(!t.resolveDisabled(n[l],l,n))return l;return o}case 2:{for(let l=i+1;l=0;--l)if(!t.resolveDisabled(n[l],l,n))return l;return o}case 4:{for(let l=0;l{let l=document.getElementById(i);if(l){let r=l.getAttribute("aria-label");return typeof r=="string"?r.trim():G(l).trim()}return null}).filter(Boolean);if(o.length>0)return o.join(", ")}return G(e).trim()}function Be(e){let t=y(""),n=y("");return()=>{let o=b(e);if(!o)return"";let i=o.innerText;if(t.value===i)return n.value;let l=ze(o).trim().toLowerCase();return t.value=i,n.value=l,l}}var Ue=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ue||{}),Ve=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ve||{});function _e(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let re=Symbol("MenuContext");function D(e){let t=E(re,null);if(t===null){let n=new Error(`<${e} /> is missing a parent  component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,D),n}return t}let nt=P({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:n}){let o=y(1),i=y(null),l=y(null),r=y([]),u=y(""),v=y(null),m=y(1);function k(a=c=>c){let c=v.value!==null?r.value[v.value]:null,s=J(a(r.value.slice()),g=>b(g.dataRef.domRef)),f=c?s.indexOf(c):null;return f===-1&&(f=null),{items:s,activeItemIndex:f}}let h={menuState:o,buttonRef:i,itemsRef:l,items:r,searchQuery:u,activeItemIndex:v,activationTrigger:m,closeMenu:()=>{o.value=1,v.value=null},openMenu:()=>o.value=0,goToItem(a,c,s){let f=k(),g=He(a===C.Specific?{focus:C.Specific,id:c}:{focus:a},{resolveItems:()=>f.items,resolveActiveIndex:()=>f.activeItemIndex,resolveId:w=>w.id,resolveDisabled:w=>w.dataRef.disabled});u.value="",v.value=g,m.value=s??1,r.value=f.items},search(a){let c=u.value!==""?0:1;u.value+=a.toLowerCase();let s=(v.value!==null?r.value.slice(v.value+c).concat(r.value.slice(0,v.value+c)):r.value).find(g=>g.dataRef.textValue.startsWith(u.value)&&!g.dataRef.disabled),f=s?r.value.indexOf(s):-1;f===-1||f===v.value||(v.value=f,m.value=1)},clearSearch(){u.value=""},registerItem(a,c){let s=k(f=>[...f,{id:a,dataRef:c}]);r.value=s.items,v.value=s.activeItemIndex,m.value=1},unregisterItem(a){let c=k(s=>{let f=s.findIndex(g=>g.id===a);return f!==-1&&s.splice(f,1),s});r.value=c.items,v.value=c.activeItemIndex,m.value=1}};return Ee([i,l],(a,c)=>{var s;h.closeMenu(),U(c,B.Loose)||(a.preventDefault(),(s=b(i))==null||s.focus())},L(()=>o.value===0)),X(re,h),Re(L(()=>T(o.value,{0:M.Open,1:M.Closed}))),()=>{let a={open:o.value===0,close:h.closeMenu};return O({ourProps:{},theirProps:e,slot:a,slots:t,attrs:n,name:"Menu"})}}}),rt=P({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:o}){var i;let l=(i=e.id)!=null?i:`headlessui-menu-button-${W()}`,r=D("MenuButton");o({el:r.buttonRef,$el:r.buttonRef});function u(h){switch(h.key){case p.Space:case p.Enter:case p.ArrowDown:h.preventDefault(),h.stopPropagation(),r.openMenu(),j(()=>{var a;(a=b(r.itemsRef))==null||a.focus({preventScroll:!0}),r.goToItem(C.First)});break;case p.ArrowUp:h.preventDefault(),h.stopPropagation(),r.openMenu(),j(()=>{var a;(a=b(r.itemsRef))==null||a.focus({preventScroll:!0}),r.goToItem(C.Last)});break}}function v(h){switch(h.key){case p.Space:h.preventDefault();break}}function m(h){e.disabled||(r.menuState.value===0?(r.closeMenu(),j(()=>{var a;return(a=b(r.buttonRef))==null?void 0:a.focus({preventScroll:!0})})):(h.preventDefault(),r.openMenu(),_e(()=>{var a;return(a=b(r.itemsRef))==null?void 0:a.focus({preventScroll:!0})})))}let k=Pe(L(()=>({as:e.as,type:t.type})),r.buttonRef);return()=>{var h;let a={open:r.menuState.value===0},{...c}=e,s={ref:r.buttonRef,id:l,type:k.value,"aria-haspopup":"menu","aria-controls":(h=b(r.itemsRef))==null?void 0:h.id,"aria-expanded":r.menuState.value===0,onKeydown:u,onKeyup:v,onClick:m};return O({ourProps:s,theirProps:c,slot:a,attrs:t,slots:n,name:"MenuButton"})}}}),ot=P({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:o}){var i;let l=(i=e.id)!=null?i:`headlessui-menu-items-${W()}`,r=D("MenuItems"),u=y(null);o({el:r.itemsRef,$el:r.itemsRef}),Oe({container:L(()=>b(r.itemsRef)),enabled:L(()=>r.menuState.value===0),accept(a){return a.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:a.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(a){a.setAttribute("role","none")}});function v(a){var c;switch(u.value&&clearTimeout(u.value),a.key){case p.Space:if(r.searchQuery.value!=="")return a.preventDefault(),a.stopPropagation(),r.search(a.key);case p.Enter:if(a.preventDefault(),a.stopPropagation(),r.activeItemIndex.value!==null){let s=r.items.value[r.activeItemIndex.value];(c=b(s.dataRef.domRef))==null||c.click()}r.closeMenu(),Y(b(r.buttonRef));break;case p.ArrowDown:return a.preventDefault(),a.stopPropagation(),r.goToItem(C.Next);case p.ArrowUp:return a.preventDefault(),a.stopPropagation(),r.goToItem(C.Previous);case p.Home:case p.PageUp:return a.preventDefault(),a.stopPropagation(),r.goToItem(C.First);case p.End:case p.PageDown:return a.preventDefault(),a.stopPropagation(),r.goToItem(C.Last);case p.Escape:a.preventDefault(),a.stopPropagation(),r.closeMenu(),j(()=>{var s;return(s=b(r.buttonRef))==null?void 0:s.focus({preventScroll:!0})});break;case p.Tab:a.preventDefault(),a.stopPropagation(),r.closeMenu(),j(()=>je(b(r.buttonRef),a.shiftKey?$.Previous:$.Next));break;default:a.key.length===1&&(r.search(a.key),u.value=setTimeout(()=>r.clearSearch(),350));break}}function m(a){switch(a.key){case p.Space:a.preventDefault();break}}let k=$e(),h=L(()=>k!==null?(k.value&M.Open)===M.Open:r.menuState.value===0);return()=>{var a,c;let s={open:r.menuState.value===0},{...f}=e,g={"aria-activedescendant":r.activeItemIndex.value===null||(a=r.items.value[r.activeItemIndex.value])==null?void 0:a.id,"aria-labelledby":(c=b(r.buttonRef))==null?void 0:c.id,id:l,onKeydown:v,onKeyup:m,role:"menu",tabIndex:0,ref:r.itemsRef};return O({ourProps:g,theirProps:f,slot:s,attrs:t,slots:n,features:R.RenderStrategy|R.Static,visible:h.value,name:"MenuItems"})}}}),lt=P({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:o}){var i;let l=(i=e.id)!=null?i:`headlessui-menu-item-${W()}`,r=D("MenuItem"),u=y(null);o({el:u,$el:u});let v=L(()=>r.activeItemIndex.value!==null?r.items.value[r.activeItemIndex.value].id===l:!1),m=Be(u),k=L(()=>({disabled:e.disabled,get textValue(){return m()},domRef:u}));q(()=>r.registerItem(l,k)),ue(()=>r.unregisterItem(l)),S(()=>{r.menuState.value===0&&v.value&&r.activationTrigger.value!==0&&j(()=>{var w,x;return(x=(w=b(u))==null?void 0:w.scrollIntoView)==null?void 0:x.call(w,{block:"nearest"})})});function h(w){if(e.disabled)return w.preventDefault();r.closeMenu(),Y(b(r.buttonRef))}function a(){if(e.disabled)return r.goToItem(C.Nothing);r.goToItem(C.Specific,l)}let c=Te();function s(w){c.update(w)}function f(w){c.wasMoved(w)&&(e.disabled||v.value||r.goToItem(C.Specific,l,0))}function g(w){c.wasMoved(w)&&(e.disabled||v.value&&r.goToItem(C.Nothing))}return()=>{let{disabled:w,...x}=e,oe={active:v.value,disabled:w,close:r.closeMenu};return O({ourProps:{id:l,ref:u,role:"menuitem",tabIndex:w===!0?void 0:-1,"aria-disabled":w===!0?!0:void 0,onClick:h,onFocus:a,onPointerenter:s,onMouseenter:s,onPointermove:f,onMousemove:f,onPointerleave:g,onMouseleave:g},theirProps:{...n,...x},slot:oe,attrs:n,slots:t,name:"MenuItem"})}}});export{Ke as A,qe as C,Xe as D,tt as E,I,Qe as L,ot as M,rt as S,Ae as T,Je as U,Ye as a,lt as b,Ge as c,O as d,W as e,p as f,nt as g,b as o,Pe as s};
    diff --git a/public/assets/menu-19bde8fc.js.br b/public/assets/menu-19bde8fc.js.br
    new file mode 100644
    index 0000000..8f3e081
    Binary files /dev/null and b/public/assets/menu-19bde8fc.js.br differ
    diff --git a/public/assets/naive-ui-fedd20b1.js b/public/assets/naive-ui-fedd20b1.js
    new file mode 100644
    index 0000000..d28063f
    --- /dev/null
    +++ b/public/assets/naive-ui-fedd20b1.js
    @@ -0,0 +1,3699 @@
    +import{c as ai,F as yt,C as xi,i as dv,v as ao,d as ne,a as Te,g as Nr,w as Je,o as dt,r as E,b as xo,e as T,f as gt,h as Fo,j as Ci,p as Ue,k as It,t as he,l as c,T as yi,n as ut,m as tc,q as oc,s as nl,u as Ft,x as rc,y as vt,z as kt,A as nc,B as gn,D as cv,E as Kl,G as ic,H as uv,I as fv}from"./vue-10b4afc0.js";let li=[];const ac=new WeakMap;function hv(){li.forEach(e=>e(...ac.get(e))),li=[]}function Ar(e,...t){ac.set(e,t),!li.includes(e)&&li.push(e)===1&&requestAnimationFrame(hv)}function no(e,t){let{target:o}=e;for(;o;){if(o.dataset&&o.dataset[t]!==void 0)return!0;o=o.parentElement}return!1}function Lr(e){return e.composedPath()[0]||null}function pv(e){if(typeof e=="number")return{"":e.toString()};const t={};return e.split(/ +/).forEach(o=>{if(o==="")return;const[r,n]=o.split(":");n===void 0?t[""]=r:t[r]=n}),t}function wr(e,t){var o;if(e==null)return;const r=pv(e);if(t===void 0)return r[""];if(typeof t=="string")return(o=r[t])!==null&&o!==void 0?o:r[""];if(Array.isArray(t)){for(let n=t.length-1;n>=0;--n){const i=t[n];if(i in r)return r[i]}return r[""]}else{let n,i=-1;return Object.keys(r).forEach(a=>{const l=Number(a);!Number.isNaN(l)&&t>=l&&l>=i&&(i=l,n=r[a])}),n}}function Tt(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function St(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function _t(e,t){const o=e.trim().split(/\s+/g),r={top:o[0]};switch(o.length){case 1:r.right=o[0],r.bottom=o[0],r.left=o[0];break;case 2:r.right=o[1],r.left=o[1],r.bottom=o[0];break;case 3:r.right=o[1],r.bottom=o[2],r.left=o[1];break;case 4:r.right=o[1],r.bottom=o[2],r.left=o[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?r:r[t]}function vv(e,t){const[o,r]=e.split(" ");return t?t==="row"?o:r:{row:o,col:r||o}}const ql={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Vr="^\\s*",Ur="\\s*$",tr="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",or="([0-9A-Fa-f])",rr="([0-9A-Fa-f]{2})",gv=new RegExp(`${Vr}rgb\\s*\\(${tr},${tr},${tr}\\)${Ur}`),bv=new RegExp(`${Vr}rgba\\s*\\(${tr},${tr},${tr},${tr}\\)${Ur}`),mv=new RegExp(`${Vr}#${or}${or}${or}${Ur}`),xv=new RegExp(`${Vr}#${rr}${rr}${rr}${Ur}`),Cv=new RegExp(`${Vr}#${or}${or}${or}${or}${Ur}`),yv=new RegExp(`${Vr}#${rr}${rr}${rr}${rr}${Ur}`);function Lt(e){return parseInt(e,16)}function Co(e){try{let t;if(t=xv.exec(e))return[Lt(t[1]),Lt(t[2]),Lt(t[3]),1];if(t=gv.exec(e))return[Ot(t[1]),Ot(t[5]),Ot(t[9]),1];if(t=bv.exec(e))return[Ot(t[1]),Ot(t[5]),Ot(t[9]),cn(t[13])];if(t=mv.exec(e))return[Lt(t[1]+t[1]),Lt(t[2]+t[2]),Lt(t[3]+t[3]),1];if(t=yv.exec(e))return[Lt(t[1]),Lt(t[2]),Lt(t[3]),cn(Lt(t[4])/255)];if(t=Cv.exec(e))return[Lt(t[1]+t[1]),Lt(t[2]+t[2]),Lt(t[3]+t[3]),cn(Lt(t[4]+t[4])/255)];if(e in ql)return Co(ql[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function wv(e){return e>1?1:e<0?0:e}function Ta(e,t,o,r){return`rgba(${Ot(e)}, ${Ot(t)}, ${Ot(o)}, ${wv(r)})`}function Zi(e,t,o,r,n){return Ot((e*t*(1-r)+o*r)/n)}function Ee(e,t){Array.isArray(e)||(e=Co(e)),Array.isArray(t)||(t=Co(t));const o=e[3],r=t[3],n=cn(o+r-o*r);return Ta(Zi(e[0],o,t[0],r,n),Zi(e[1],o,t[1],r,n),Zi(e[2],o,t[2],r,n),n)}function se(e,t){const[o,r,n,i=1]=Array.isArray(e)?e:Co(e);return t.alpha?Ta(o,r,n,t.alpha):Ta(o,r,n,i)}function wt(e,t){const[o,r,n,i=1]=Array.isArray(e)?e:Co(e),{lightness:a=1,alpha:l=1}=t;return Sv([o*a,r*a,n*a,i*l])}function cn(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Ot(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function Sv(e){const[t,o,r]=e;return 3 in e?`rgba(${Ot(t)}, ${Ot(o)}, ${Ot(r)}, ${cn(e[3])})`:`rgba(${Ot(t)}, ${Ot(o)}, ${Ot(r)}, 1)`}function Vo(e=8){return Math.random().toString(16).slice(2,2+e)}function lc(e,t){const o=[];for(let r=0;r{r[n]=e[n]}),Object.assign(r,o)}function fr(e,t=[],o){const r={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(r[i]=e[i])}),Object.assign(r,o)}function Oo(e,t=!0,o=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&o.push(ai(String(r)));return}if(Array.isArray(r)){Oo(r,t,o);return}if(r.type===yt){if(r.children===null)return;Array.isArray(r.children)&&Oo(r.children,t,o)}else{if(r.type===xi&&t)return;o.push(r)}}}),o}function ie(e,...t){if(Array.isArray(e))e.forEach(o=>ie(o,...t));else return e(...t)}function Uo(e){return Object.keys(e)}const pt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?ai(e):typeof e=="number"?ai(String(e)):null;function yo(e,t){console.error(`[naive/${e}]: ${t}`)}function hr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Gl(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}function Xl(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Ba(e,t="default",o=void 0){const r=e[t];if(!r)return yo("getFirstSlotVNode",`slot[${t}] is empty`),null;const n=Oo(r(o));return n.length===1?n[0]:(yo("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function sc(e){return t=>{t?e.value=t.$el:e.value=null}}function zn(e){return e.some(t=>dv(t)?!(t.type===xi||t.type===yt&&!zn(t.children)):!0)?e:null}function Bt(e,t){return e&&zn(e())||t()}function kv(e,t,o){return e&&zn(e(t))||o(t)}function Ze(e,t){const o=e&&zn(e());return t(o||null)}function Or(e){return!(e&&zn(e()))}function un(e){const t=e.filter(o=>o!==void 0);if(t.length!==0)return t.length===1?t[0]:o=>{e.forEach(r=>{r&&r(o)})}}function $v(e){var t;const o=(t=e.dirs)===null||t===void 0?void 0:t.find(({dir:r})=>r===ao);return!!(o&&o.value===!1)}const Ma=ne({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),Rv=/^(\d|\.)+$/,Yl=/(\d|\.)+/;function mt(e,{c:t=1,offset:o=0,attachPx:r=!0}={}){if(typeof e=="number"){const n=(e+o)*t;return n===0?"0":`${n}px`}else if(typeof e=="string")if(Rv.test(e)){const n=(Number(e)+o)*t;return r?n===0?"0":`${n}px`:`${n}`}else{const n=Yl.exec(e);return n?e.replace(Yl,String((Number(n[0])+o)*t)):e}return e}function bn(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function Pv(e){let t=0;for(let o=0;o{let n=Pv(r);if(n){if(n===1){e.forEach(a=>{o.push(r.replace("&",a))});return}}else{e.forEach(a=>{o.push((a&&a+" ")+r)});return}let i=[r];for(;n--;){const a=[];i.forEach(l=>{e.forEach(s=>{a.push(l.replace("&",s))})}),i=a}i.forEach(a=>o.push(a))}),o}function Bv(e,t){const o=[];return t.split(dc).forEach(r=>{e.forEach(n=>{o.push((n&&n+" ")+r)})}),o}function Mv(e){let t=[""];return e.forEach(o=>{o=o&&o.trim(),o&&(o.includes("&")?t=Tv(t,o):t=Bv(t,o))}),t.join(", ").replace(zv," ")}function Zl(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function wi(e){return document.querySelector(`style[cssr-id="${e}"]`)}function Ov(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function _n(e){return e?/^\s*@(s|m)/.test(e):!1}const Iv=/[A-Z]/g;function cc(e){return e.replace(Iv,t=>"-"+t.toLowerCase())}function Fv(e,t="  "){return typeof e=="object"&&e!==null?` {
    +`+Object.entries(e).map(o=>t+`  ${cc(o[0])}: ${o[1]};`).join(`
    +`)+`
    +`+t+"}":`: ${e};`}function Ev(e,t,o){return typeof e=="function"?e({context:t.context,props:o}):e}function Jl(e,t,o,r){if(!t)return"";const n=Ev(t,o,r);if(!n)return"";if(typeof n=="string")return`${e} {
    +${n}
    +}`;const i=Object.keys(n);if(i.length===0)return o.config.keepEmptyBlock?e+` {
    +}`:"";const a=e?[e+" {"]:[];return i.forEach(l=>{const s=n[l];if(l==="raw"){a.push(`
    +`+s+`
    +`);return}l=cc(l),s!=null&&a.push(`  ${l}${Fv(s)}`)}),e&&a.push("}"),a.join(`
    +`)}function Oa(e,t,o){e&&e.forEach(r=>{if(Array.isArray(r))Oa(r,t,o);else if(typeof r=="function"){const n=r(t);Array.isArray(n)?Oa(n,t,o):n&&o(n)}else r&&o(r)})}function uc(e,t,o,r,n,i){const a=e.$;let l="";if(!a||typeof a=="string")_n(a)?l=a:t.push(a);else if(typeof a=="function"){const u=a({context:r.context,props:n});_n(u)?l=u:t.push(u)}else if(a.before&&a.before(r.context),!a.$||typeof a.$=="string")_n(a.$)?l=a.$:t.push(a.$);else if(a.$){const u=a.$({context:r.context,props:n});_n(u)?l=u:t.push(u)}const s=Mv(t),d=Jl(s,e.props,r,n);l?(o.push(`${l} {`),i&&d&&i.insertRule(`${l} {
    +${d}
    +}
    +`)):(i&&d&&i.insertRule(d),!i&&d.length&&o.push(d)),e.children&&Oa(e.children,{context:r.context,props:n},u=>{if(typeof u=="string"){const h=Jl(s,{raw:u},r,n);i?i.insertRule(h):o.push(h)}else uc(u,t,o,r,n,i)}),t.pop(),l&&o.push("}"),a&&a.after&&a.after(r.context)}function fc(e,t,o,r=!1){const n=[];return uc(e,[],n,t,o,r?e.instance.__styleSheet:void 0),r?"":n.join(`
    +
    +`)}function mn(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function Av(e,t,o){const{els:r}=t;if(o===void 0)r.forEach(Zl),t.els=[];else{const n=wi(o);n&&r.includes(n)&&(Zl(n),t.els=r.filter(i=>i!==n))}}function Ql(e,t){e.push(t)}function Lv(e,t,o,r,n,i,a,l,s){if(i&&!s){if(o===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const p=window.__cssrContext;p[o]||(p[o]=!0,fc(t,e,r,i));return}let d;if(o===void 0&&(d=t.render(r),o=mn(d)),s){s.adapter(o,d??t.render(r));return}const u=wi(o);if(u!==null&&!a)return u;const h=u??Ov(o);if(d===void 0&&(d=t.render(r)),h.textContent=d,u!==null)return u;if(l){const p=document.head.querySelector(`meta[name="${l}"]`);if(p)return document.head.insertBefore(h,p),Ql(t.els,h),h}return n?document.head.insertBefore(h,document.head.querySelector("style, link")):document.head.appendChild(h),Ql(t.els,h),h}function _v(e){return fc(this,this.instance,e)}function Dv(e={}){const{id:t,ssr:o,props:r,head:n=!1,silent:i=!1,force:a=!1,anchorMetaName:l}=e;return Lv(this.instance,this,t,r,n,i,a,l,o)}function Hv(e={}){const{id:t}=e;Av(this.instance,this,t)}const Dn=function(e,t,o,r){return{instance:e,$:t,props:o,children:r,els:[],render:_v,mount:Dv,unmount:Hv}},jv=function(e,t,o,r){return Array.isArray(t)?Dn(e,{$:null},null,t):Array.isArray(o)?Dn(e,t,null,o):Array.isArray(r)?Dn(e,t,o,r):Dn(e,t,o,null)};function hc(e={}){let t=null;const o={c:(...r)=>jv(o,...r),use:(r,...n)=>r.install(o,...n),find:wi,context:{},config:e,get __styleSheet(){if(!t){const r=document.createElement("style");return document.head.appendChild(r),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return o}function Wv(e,t){if(e===void 0)return!1;if(t){const{context:{ids:o}}=t;return o.has(e)}return wi(e)!==null}function Nv(e){let t=".",o="__",r="--",n;if(e){let f=e.blockPrefix;f&&(t=f),f=e.elementPrefix,f&&(o=f),f=e.modifierPrefix,f&&(r=f)}const i={install(f){n=f.c;const v=f.context;v.bem={},v.bem.b=null,v.bem.els=null}};function a(f){let v,m;return{before(b){v=b.bem.b,m=b.bem.els,b.bem.els=null},after(b){b.bem.b=v,b.bem.els=m},$({context:b,props:C}){return f=typeof f=="string"?f:f({context:b,props:C}),b.bem.b=f,`${(C==null?void 0:C.bPrefix)||t}${b.bem.b}`}}}function l(f){let v;return{before(m){v=m.bem.els},after(m){m.bem.els=v},$({context:m,props:b}){return f=typeof f=="string"?f:f({context:m,props:b}),m.bem.els=f.split(",").map(C=>C.trim()),m.bem.els.map(C=>`${(b==null?void 0:b.bPrefix)||t}${m.bem.b}${o}${C}`).join(", ")}}}function s(f){return{$({context:v,props:m}){f=typeof f=="string"?f:f({context:v,props:m});const b=f.split(",").map($=>$.trim());function C($){return b.map(S=>`&${(m==null?void 0:m.bPrefix)||t}${v.bem.b}${$!==void 0?`${o}${$}`:""}${r}${S}`).join(", ")}const R=v.bem.els;return R!==null?C(R[0]):C()}}}function d(f){return{$({context:v,props:m}){f=typeof f=="string"?f:f({context:v,props:m});const b=v.bem.els;return`&:not(${(m==null?void 0:m.bPrefix)||t}${v.bem.b}${b!==null&&b.length>0?`${o}${b[0]}`:""}${r}${f})`}}}return Object.assign(i,{cB:(...f)=>n(a(f[0]),f[1],f[2]),cE:(...f)=>n(l(f[0]),f[1],f[2]),cM:(...f)=>n(s(f[0]),f[1],f[2]),cNotM:(...f)=>n(d(f[0]),f[1],f[2])}),i}const Vv="n",xn=`.${Vv}-`,Uv="__",Kv="--",pc=hc(),vc=Nv({blockPrefix:xn,elementPrefix:Uv,modifierPrefix:Kv});pc.use(vc);const{c:z,find:l8}=pc,{cB:y,cE:M,cM:B,cNotM:nt}=vc;function Kr(e){return z(({props:{bPrefix:t}})=>`${t||xn}modal, ${t||xn}drawer`,[e])}function Tn(e){return z(({props:{bPrefix:t}})=>`${t||xn}popover`,[e])}function gc(e){return z(({props:{bPrefix:t}})=>`&${t||xn}modal`,e)}const qv=(...e)=>z(">",[y(...e)]);function oe(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,o=>o.toUpperCase()))}let Ji;function Gv(){return Ji===void 0&&(Ji=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Ji}const Eo=typeof document<"u"&&typeof window<"u",bc=new WeakSet;function Xv(e){bc.add(e)}function mc(e){return!bc.has(e)}function Yv(e,t,o){var r;const n=Te(e,null);if(n===null)return;const i=(r=Nr())===null||r===void 0?void 0:r.proxy;Je(o,a),a(o.value),dt(()=>{a(void 0,o.value)});function a(d,u){if(!n)return;const h=n[t];u!==void 0&&l(h,u),d!==void 0&&s(h,d)}function l(d,u){d[u]||(d[u]=[]),d[u].splice(d[u].findIndex(h=>h===i),1)}function s(d,u){d[u]||(d[u]=[]),~d[u].findIndex(h=>h===i)||d[u].push(i)}}function Zv(e,t,o){if(!t)return e;const r=E(e.value);let n=null;return Je(e,i=>{n!==null&&window.clearTimeout(n),i===!0?o&&!o.value?r.value=!0:n=window.setTimeout(()=>{r.value=!0},t):r.value=!1}),r}function Jv(e){const t=E(!!e.value);if(t.value)return xo(t);const o=Je(e,r=>{r&&(t.value=!0,o())});return xo(t)}function Ye(e){const t=T(e),o=E(t.value);return Je(t,r=>{o.value=r}),typeof e=="function"?o:{__v_isRef:!0,get value(){return o.value},set value(r){e.set(r)}}}function Si(){return Nr()!==null}const ki=typeof window<"u";let Ir,fn;const Qv=()=>{var e,t;Ir=ki?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,fn=!1,Ir!==void 0?Ir.then(()=>{fn=!0}):fn=!0};Qv();function xc(e){if(fn)return;let t=!1;gt(()=>{fn||Ir==null||Ir.then(()=>{t||e()})}),dt(()=>{t=!0})}function ri(e){return e.composedPath()[0]}const eg={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function tg(e,t,o){if(e==="mousemoveoutside"){const r=n=>{t.contains(ri(n))||o(n)};return{mousemove:r,touchstart:r}}else if(e==="clickoutside"){let r=!1;const n=a=>{r=!t.contains(ri(a))},i=a=>{r&&(t.contains(ri(a))||o(a))};return{mousedown:n,mouseup:i,touchstart:n,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function Cc(e,t,o){const r=eg[e];let n=r.get(t);n===void 0&&r.set(t,n=new WeakMap);let i=n.get(o);return i===void 0&&n.set(o,i=tg(e,t,o)),i}function og(e,t,o,r){if(e==="mousemoveoutside"||e==="clickoutside"){const n=Cc(e,t,o);return Object.keys(n).forEach(i=>{tt(i,document,n[i],r)}),!0}return!1}function rg(e,t,o,r){if(e==="mousemoveoutside"||e==="clickoutside"){const n=Cc(e,t,o);return Object.keys(n).forEach(i=>{Xe(i,document,n[i],r)}),!0}return!1}function ng(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function o(){e.set(this,!0)}function r(){e.set(this,!0),t.set(this,!0)}function n(x,k,P){const I=x[k];return x[k]=function(){return P.apply(x,arguments),I.apply(x,arguments)},x}function i(x,k){x[k]=Event.prototype[k]}const a=new WeakMap,l=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function s(){var x;return(x=a.get(this))!==null&&x!==void 0?x:null}function d(x,k){l!==void 0&&Object.defineProperty(x,"currentTarget",{configurable:!0,enumerable:!0,get:k??l.get})}const u={bubble:{},capture:{}},h={};function p(){const x=function(k){const{type:P,eventPhase:I,bubbles:A}=k,O=ri(k);if(I===2)return;const L=I===1?"capture":"bubble";let H=O;const _=[];for(;H===null&&(H=window),_.push(H),H!==window;)H=H.parentNode||null;const U=u.capture[P],N=u.bubble[P];if(n(k,"stopPropagation",o),n(k,"stopImmediatePropagation",r),d(k,s),L==="capture"){if(U===void 0)return;for(let te=_.length-1;te>=0&&!e.has(k);--te){const fe=_[te],ae=U.get(fe);if(ae!==void 0){a.set(k,fe);for(const Y of ae){if(t.has(k))break;Y(k)}}if(te===0&&!A&&N!==void 0){const Y=N.get(fe);if(Y!==void 0)for(const j of Y){if(t.has(k))break;j(k)}}}}else if(L==="bubble"){if(N===void 0)return;for(let te=0;te<_.length&&!e.has(k);++te){const fe=_[te],ae=N.get(fe);if(ae!==void 0){a.set(k,fe);for(const Y of ae){if(t.has(k))break;Y(k)}}}}i(k,"stopPropagation"),i(k,"stopImmediatePropagation"),d(k)};return x.displayName="evtdUnifiedHandler",x}function g(){const x=function(k){const{type:P,eventPhase:I}=k;if(I!==2)return;const A=h[P];A!==void 0&&A.forEach(O=>O(k))};return x.displayName="evtdUnifiedWindowEventHandler",x}const f=p(),v=g();function m(x,k){const P=u[x];return P[k]===void 0&&(P[k]=new Map,window.addEventListener(k,f,x==="capture")),P[k]}function b(x){return h[x]===void 0&&(h[x]=new Set,window.addEventListener(x,v)),h[x]}function C(x,k){let P=x.get(k);return P===void 0&&x.set(k,P=new Set),P}function R(x,k,P,I){const A=u[k][P];if(A!==void 0){const O=A.get(x);if(O!==void 0&&O.has(I))return!0}return!1}function $(x,k){const P=h[x];return!!(P!==void 0&&P.has(k))}function S(x,k,P,I){let A;if(typeof I=="object"&&I.once===!0?A=U=>{w(x,k,A,I),P(U)}:A=P,og(x,k,A,I))return;const L=I===!0||typeof I=="object"&&I.capture===!0?"capture":"bubble",H=m(L,x),_=C(H,k);if(_.has(A)||_.add(A),k===window){const U=b(x);U.has(A)||U.add(A)}}function w(x,k,P,I){if(rg(x,k,P,I))return;const O=I===!0||typeof I=="object"&&I.capture===!0,L=O?"capture":"bubble",H=m(L,x),_=C(H,k);if(k===window&&!R(k,O?"bubble":"capture",x,P)&&$(x,P)){const N=h[x];N.delete(P),N.size===0&&(window.removeEventListener(x,v),h[x]=void 0)}_.has(P)&&_.delete(P),_.size===0&&H.delete(k),H.size===0&&(window.removeEventListener(x,f,L==="capture"),u[L][x]=void 0)}return{on:S,off:w}}const{on:tt,off:Xe}=ng(),sn=E(null);function es(e){if(e.clientX>0||e.clientY>0)sn.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:o,top:r,width:n,height:i}=t.getBoundingClientRect();o>0||r>0?sn.value={x:o+n/2,y:r+i/2}:sn.value={x:0,y:0}}else sn.value=null}}let Hn=0,ts=!0;function yc(){if(!ki)return xo(E(null));Hn===0&&tt("click",document,es,!0);const e=()=>{Hn+=1};return ts&&(ts=Si())?(Fo(e),dt(()=>{Hn-=1,Hn===0&&Xe("click",document,es,!0)})):e(),xo(sn)}const ig=E(void 0);let jn=0;function os(){ig.value=Date.now()}let rs=!0;function wc(e){if(!ki)return xo(E(!1));const t=E(!1);let o=null;function r(){o!==null&&window.clearTimeout(o)}function n(){r(),t.value=!0,o=window.setTimeout(()=>{t.value=!1},e)}jn===0&&tt("click",window,os,!0);const i=()=>{jn+=1,tt("click",window,n,!0)};return rs&&(rs=Si())?(Fo(i),dt(()=>{jn-=1,jn===0&&Xe("click",window,os,!0),Xe("click",window,n,!0),r()})):i(),xo(t)}let Wn=0;const ag=typeof window<"u"&&window.matchMedia!==void 0,ar=E(null);let ro,nr;function si(e){e.matches&&(ar.value="dark")}function di(e){e.matches&&(ar.value="light")}function lg(){ro=window.matchMedia("(prefers-color-scheme: dark)"),nr=window.matchMedia("(prefers-color-scheme: light)"),ro.matches?ar.value="dark":nr.matches?ar.value="light":ar.value=null,ro.addEventListener?(ro.addEventListener("change",si),nr.addEventListener("change",di)):ro.addListener&&(ro.addListener(si),nr.addListener(di))}function sg(){"removeEventListener"in ro?(ro.removeEventListener("change",si),nr.removeEventListener("change",di)):"removeListener"in ro&&(ro.removeListener(si),nr.removeListener(di)),ro=void 0,nr=void 0}let ns=!0;function s8(){return ag?(Wn===0&&lg(),ns&&(ns=Si())&&(Fo(()=>{Wn+=1}),dt(()=>{Wn-=1,Wn===0&&sg()})),xo(ar)):xo(ar)}function $t(e,t){return Je(e,o=>{o!==void 0&&(t.value=o)}),T(()=>e.value===void 0?t.value:e.value)}function Ao(){const e=E(!1);return gt(()=>{e.value=!0}),xo(e)}function Cn(e,t){return T(()=>{for(const o of t)if(e[o]!==void 0)return e[o];return e[t[t.length-1]]})}const dg=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function cg(){return dg}const ug={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function fg(e){return`(min-width: ${e}px)`}const on={};function hg(e=ug){if(!ki)return T(()=>[]);if(typeof window.matchMedia!="function")return T(()=>[]);const t=E({}),o=Object.keys(e),r=(n,i)=>{n.matches?t.value[i]=!0:t.value[i]=!1};return o.forEach(n=>{const i=e[n];let a,l;on[i]===void 0?(a=window.matchMedia(fg(i)),a.addEventListener?a.addEventListener("change",s=>{l.forEach(d=>{d(s,n)})}):a.addListener&&a.addListener(s=>{l.forEach(d=>{d(s,n)})}),l=new Set,on[i]={mql:a,cbs:l}):(a=on[i].mql,l=on[i].cbs),l.add(r),a.matches&&l.forEach(s=>{s(a,n)})}),dt(()=>{o.forEach(n=>{const{cbs:i}=on[e[n]];i.has(r)&&i.delete(r)})}),T(()=>{const{value:n}=t;return o.filter(i=>n[i])})}function pg(e={},t){const o=Ci({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:r,keyup:n}=e,i=s=>{switch(s.key){case"Control":o.ctrl=!0;break;case"Meta":o.command=!0,o.win=!0;break;case"Shift":o.shift=!0;break;case"Tab":o.tab=!0;break}r!==void 0&&Object.keys(r).forEach(d=>{if(d!==s.key)return;const u=r[d];if(typeof u=="function")u(s);else{const{stop:h=!1,prevent:p=!1}=u;h&&s.stopPropagation(),p&&s.preventDefault(),u.handler(s)}})},a=s=>{switch(s.key){case"Control":o.ctrl=!1;break;case"Meta":o.command=!1,o.win=!1;break;case"Shift":o.shift=!1;break;case"Tab":o.tab=!1;break}n!==void 0&&Object.keys(n).forEach(d=>{if(d!==s.key)return;const u=n[d];if(typeof u=="function")u(s);else{const{stop:h=!1,prevent:p=!1}=u;h&&s.stopPropagation(),p&&s.preventDefault(),u.handler(s)}})},l=()=>{(t===void 0||t.value)&&(tt("keydown",document,i),tt("keyup",document,a)),t!==void 0&&Je(t,s=>{s?(tt("keydown",document,i),tt("keyup",document,a)):(Xe("keydown",document,i),Xe("keyup",document,a))})};return Si()?(Fo(l),dt(()=>{(t===void 0||t.value)&&(Xe("keydown",document,i),Xe("keyup",document,a))})):l(),xo(o)}const al="n-internal-select-menu",Sc="n-internal-select-menu-body",Bn="n-modal-body",vg="n-modal-provider",kc="n-modal",Mn="n-drawer-body",ll="n-drawer",qr="n-popover-body",$c="__disabled__";function Vt(e){const t=Te(Bn,null),o=Te(Mn,null),r=Te(qr,null),n=Te(Sc,null),i=E();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};gt(()=>{tt("fullscreenchange",document,a)}),dt(()=>{Xe("fullscreenchange",document,a)})}return Ye(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?$c:l===!0?i.value||"body":l:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:o!=null&&o.value?o.value:r!=null&&r.value?r.value:n!=null&&n.value?n.value:l??(i.value||"body")})}Vt.tdkey=$c;Vt.propTo={type:[String,Object,Boolean],default:void 0};let is=!1;function gg(){if(Eo&&window.CSS&&!is&&(is=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}function Ia(e,t,o="default"){const r=t[o];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${o}] is empty.`);return r()}function Fa(e,t=!0,o=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&o.push(ai(String(r)));return}if(Array.isArray(r)){Fa(r,t,o);return}if(r.type===yt){if(r.children===null)return;Array.isArray(r.children)&&Fa(r.children,t,o)}else r.type!==xi&&o.push(r)}}),o}function as(e,t,o="default"){const r=t[o];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${o}] is empty.`);const n=Fa(r());if(n.length===1)return n[0];throw new Error(`[vueuc/${e}]: slot[${o}] should have exactly one child.`)}let Wo=null;function Rc(){if(Wo===null&&(Wo=document.getElementById("v-binder-view-measurer"),Wo===null)){Wo=document.createElement("div"),Wo.id="v-binder-view-measurer";const{style:e}=Wo;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Wo)}return Wo.getBoundingClientRect()}function bg(e,t){const o=Rc();return{top:t,left:e,height:0,width:0,right:o.width-e,bottom:o.height-t}}function Qi(e){const t=e.getBoundingClientRect(),o=Rc();return{left:t.left-o.left,top:t.top-o.top,bottom:o.height+o.top-t.bottom,right:o.width+o.left-t.right,width:t.width,height:t.height}}function mg(e){return e.nodeType===9?null:e.parentNode}function Pc(e){if(e===null)return null;const t=mg(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:o,overflowX:r,overflowY:n}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(o+n+r))return t}return Pc(t)}const xg=ne({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;Ue("VBinder",(t=Nr())===null||t===void 0?void 0:t.proxy);const o=Te("VBinder",null),r=E(null),n=b=>{r.value=b,o&&e.syncTargetWithParent&&o.setTargetRef(b)};let i=[];const a=()=>{let b=r.value;for(;b=Pc(b),b!==null;)i.push(b);for(const C of i)tt("scroll",C,h,!0)},l=()=>{for(const b of i)Xe("scroll",b,h,!0);i=[]},s=new Set,d=b=>{s.size===0&&a(),s.has(b)||s.add(b)},u=b=>{s.has(b)&&s.delete(b),s.size===0&&l()},h=()=>{Ar(p)},p=()=>{s.forEach(b=>b())},g=new Set,f=b=>{g.size===0&&tt("resize",window,m),g.has(b)||g.add(b)},v=b=>{g.has(b)&&g.delete(b),g.size===0&&Xe("resize",window,m)},m=()=>{g.forEach(b=>b())};return dt(()=>{Xe("resize",window,m),l()}),{targetRef:r,setTargetRef:n,addScrollListener:d,removeScrollListener:u,addResizeListener:f,removeResizeListener:v}},render(){return Ia("binder",this.$slots)}}),$i=xg,Ri=ne({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=Te("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?It(as("follower",this.$slots),[[t]]):as("follower",this.$slots)}}),Sr="@@mmoContext",Cg={mounted(e,{value:t}){e[Sr]={handler:void 0},typeof t=="function"&&(e[Sr].handler=t,tt("mousemoveoutside",e,t))},updated(e,{value:t}){const o=e[Sr];typeof t=="function"?o.handler?o.handler!==t&&(Xe("mousemoveoutside",e,o.handler),o.handler=t,tt("mousemoveoutside",e,t)):(e[Sr].handler=t,tt("mousemoveoutside",e,t)):o.handler&&(Xe("mousemoveoutside",e,o.handler),o.handler=void 0)},unmounted(e){const{handler:t}=e[Sr];t&&Xe("mousemoveoutside",e,t),e[Sr].handler=void 0}},yg=Cg,kr="@@coContext",wg={mounted(e,{value:t,modifiers:o}){e[kr]={handler:void 0},typeof t=="function"&&(e[kr].handler=t,tt("clickoutside",e,t,{capture:o.capture}))},updated(e,{value:t,modifiers:o}){const r=e[kr];typeof t=="function"?r.handler?r.handler!==t&&(Xe("clickoutside",e,r.handler,{capture:o.capture}),r.handler=t,tt("clickoutside",e,t,{capture:o.capture})):(e[kr].handler=t,tt("clickoutside",e,t,{capture:o.capture})):r.handler&&(Xe("clickoutside",e,r.handler,{capture:o.capture}),r.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:o}=e[kr];o&&Xe("clickoutside",e,o,{capture:t.capture}),e[kr].handler=void 0}},_r=wg;function Sg(e,t){console.error(`[vdirs/${e}]: ${t}`)}class kg{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,o){const{elementZIndex:r}=this;if(o!==void 0){t.style.zIndex=`${o}`,r.delete(t);return}const{nextZIndex:n}=this;r.has(t)&&r.get(t)+1===this.nextZIndex||(t.style.zIndex=`${n}`,r.set(t,n),this.nextZIndex=n+1,this.squashState())}unregister(t,o){const{elementZIndex:r}=this;r.has(t)?r.delete(t):o===void 0&&Sg("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((o,r)=>o[1]-r[1]),this.nextZIndex=2e3,t.forEach(o=>{const r=o[0],n=this.nextZIndex++;`${n}`!==r.style.zIndex&&(r.style.zIndex=`${n}`)})}}const ea=new kg,$r="@@ziContext",$g={mounted(e,t){const{value:o={}}=t,{zIndex:r,enabled:n}=o;e[$r]={enabled:!!n,initialized:!1},n&&(ea.ensureZIndex(e,r),e[$r].initialized=!0)},updated(e,t){const{value:o={}}=t,{zIndex:r,enabled:n}=o,i=e[$r].enabled;n&&!i&&(ea.ensureZIndex(e,r),e[$r].initialized=!0),e[$r].enabled=!!n},unmounted(e,t){if(!e[$r].initialized)return;const{value:o={}}=t,{zIndex:r}=o;ea.unregister(e,r)}},On=$g,zc=Symbol("@css-render/vue3-ssr");function Rg(e,t){return``}function Pg(e,t){const o=Te(zc,null);if(o===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:r,ids:n}=o;n.has(e)||r!==null&&(n.add(e),r.push(Rg(e,t)))}const zg=typeof document<"u";function Xo(){if(zg)return;const e=Te(zc,null);if(e!==null)return{adapter:Pg,context:e}}function ls(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:bo}=hc(),Pi="vueuc-style";function ss(e){return e&-e}class Tg{constructor(t,o){this.l=t,this.min=o;const r=new Array(t+1);for(let n=0;nn)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*r;for(;t>0;)i+=o[t],t-=ss(t);return i}getBound(t){let o=0,r=this.l;for(;r>o;){const n=Math.floor((o+r)/2),i=this.sum(n);if(i>t){r=n;continue}else if(i{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Ia("lazy-teleport",this.$slots):c(yi,{disabled:this.disabled,to:this.mergedTo},Ia("lazy-teleport",this.$slots)):null}}),Nn={top:"bottom",bottom:"top",left:"right",right:"left"},cs={start:"end",center:"center",end:"start"},ta={top:"height",bottom:"height",left:"width",right:"width"},Bg={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Mg={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Og={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},us={top:!0,bottom:!1,left:!0,right:!1},fs={top:"end",bottom:"start",left:"end",right:"start"};function Ig(e,t,o,r,n,i){if(!n||i)return{placement:e,top:0,left:0};const[a,l]=e.split("-");let s=l??"center",d={top:0,left:0};const u=(g,f,v)=>{let m=0,b=0;const C=o[g]-t[f]-t[g];return C>0&&r&&(v?b=us[f]?C:-C:m=us[f]?C:-C),{left:m,top:b}},h=a==="left"||a==="right";if(s!=="center"){const g=Og[e],f=Nn[g],v=ta[g];if(o[v]>t[v]){if(t[g]+t[v]t[f]&&(s=cs[l])}else{const g=a==="bottom"||a==="top"?"left":"top",f=Nn[g],v=ta[g],m=(o[v]-t[v])/2;(t[g]t[f]?(s=fs[g],d=u(v,g,h)):(s=fs[f],d=u(v,f,h)))}let p=a;return t[a] *",{pointerEvents:"all"})])]),Ti=ne({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Te("VBinder"),o=Ye(()=>e.enabled!==void 0?e.enabled:e.show),r=E(null),n=E(null),i=()=>{const{syncTrigger:p}=e;p.includes("scroll")&&t.addScrollListener(s),p.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};gt(()=>{o.value&&(s(),i())});const l=Xo();Ag.mount({id:"vueuc/binder",head:!0,anchorMetaName:Pi,ssr:l}),dt(()=>{a()}),xc(()=>{o.value&&s()});const s=()=>{if(!o.value)return;const p=r.value;if(p===null)return;const g=t.targetRef,{x:f,y:v,overlap:m}=e,b=f!==void 0&&v!==void 0?bg(f,v):Qi(g);p.style.setProperty("--v-target-width",`${Math.round(b.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(b.height)}px`);const{width:C,minWidth:R,placement:$,internalShift:S,flip:w}=e;p.setAttribute("v-placement",$),m?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");const{style:x}=p;C==="target"?x.width=`${b.width}px`:C!==void 0?x.width=C:x.width="",R==="target"?x.minWidth=`${b.width}px`:R!==void 0?x.minWidth=R:x.minWidth="";const k=Qi(p),P=Qi(n.value),{left:I,top:A,placement:O}=Ig($,b,k,S,w,m),L=Fg(O,m),{left:H,top:_,transform:U}=Eg(O,P,b,A,I,m);p.setAttribute("v-placement",O),p.style.setProperty("--v-offset-left",`${Math.round(I)}px`),p.style.setProperty("--v-offset-top",`${Math.round(A)}px`),p.style.transform=`translateX(${H}) translateY(${_}) ${U}`,p.style.setProperty("--v-transform-origin",L),p.style.transformOrigin=L};Je(o,p=>{p?(i(),d()):a()});const d=()=>{ut().then(s).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{Je(he(e,p),s)}),["teleportDisabled"].forEach(p=>{Je(he(e,p),d)}),Je(he(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),p.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const u=Ao(),h=Ye(()=>{const{to:p}=e;if(p!==void 0)return p;u.value});return{VBinder:t,mergedEnabled:o,offsetContainerRef:n,followerRef:r,mergedTo:h,syncPosition:s}},render(){return c(zi,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const o=c("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[c("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?It(o,[[On,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):o}})}});var lr=[],Lg=function(){return lr.some(function(e){return e.activeTargets.length>0})},_g=function(){return lr.some(function(e){return e.skippedTargets.length>0})},hs="ResizeObserver loop completed with undelivered notifications.",Dg=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:hs}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=hs),window.dispatchEvent(e)},yn;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(yn||(yn={}));var sr=function(e){return Object.freeze(e)},Hg=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,sr(this)}return e}(),Tc=function(){function e(t,o,r,n){return this.x=t,this.y=o,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,sr(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,r=t.y,n=t.top,i=t.right,a=t.bottom,l=t.left,s=t.width,d=t.height;return{x:o,y:r,top:n,right:i,bottom:a,left:l,width:s,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),sl=function(e){return e instanceof SVGElement&&"getBBox"in e},Bc=function(e){if(sl(e)){var t=e.getBBox(),o=t.width,r=t.height;return!o&&!r}var n=e,i=n.offsetWidth,a=n.offsetHeight;return!(i||a||e.getClientRects().length)},ps=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},jg=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},hn=typeof window<"u"?window:{},Vn=new WeakMap,vs=/auto|scroll/,Wg=/^tb|vertical/,Ng=/msie|trident/i.test(hn.navigator&&hn.navigator.userAgent),ho=function(e){return parseFloat(e||"0")},Fr=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Hg((o?t:e)||0,(o?e:t)||0)},gs=sr({devicePixelContentBoxSize:Fr(),borderBoxSize:Fr(),contentBoxSize:Fr(),contentRect:new Tc(0,0,0,0)}),Mc=function(e,t){if(t===void 0&&(t=!1),Vn.has(e)&&!t)return Vn.get(e);if(Bc(e))return Vn.set(e,gs),gs;var o=getComputedStyle(e),r=sl(e)&&e.ownerSVGElement&&e.getBBox(),n=!Ng&&o.boxSizing==="border-box",i=Wg.test(o.writingMode||""),a=!r&&vs.test(o.overflowY||""),l=!r&&vs.test(o.overflowX||""),s=r?0:ho(o.paddingTop),d=r?0:ho(o.paddingRight),u=r?0:ho(o.paddingBottom),h=r?0:ho(o.paddingLeft),p=r?0:ho(o.borderTopWidth),g=r?0:ho(o.borderRightWidth),f=r?0:ho(o.borderBottomWidth),v=r?0:ho(o.borderLeftWidth),m=h+d,b=s+u,C=v+g,R=p+f,$=l?e.offsetHeight-R-e.clientHeight:0,S=a?e.offsetWidth-C-e.clientWidth:0,w=n?m+C:0,x=n?b+R:0,k=r?r.width:ho(o.width)-w-S,P=r?r.height:ho(o.height)-x-$,I=k+m+S+C,A=P+b+$+R,O=sr({devicePixelContentBoxSize:Fr(Math.round(k*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:Fr(I,A,i),contentBoxSize:Fr(k,P,i),contentRect:new Tc(h,s,k,P)});return Vn.set(e,O),O},Oc=function(e,t,o){var r=Mc(e,o),n=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case yn.DEVICE_PIXEL_CONTENT_BOX:return a;case yn.BORDER_BOX:return n;default:return i}},Vg=function(){function e(t){var o=Mc(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=sr([o.borderBoxSize]),this.contentBoxSize=sr([o.contentBoxSize]),this.devicePixelContentBoxSize=sr([o.devicePixelContentBoxSize])}return e}(),Ic=function(e){if(Bc(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Ug=function(){var e=1/0,t=[];lr.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var u=new Vg(d.target),h=Ic(d.target);l.push(u),d.lastReportedSize=Oc(d.target,d.observedBox),he?o.activeTargets.push(n):o.skippedTargets.push(n))})})},Kg=function(){var e=0;for(bs(e);Lg();)e=Ug(),bs(e);return _g()&&Dg(),e>0},oa,Fc=[],qg=function(){return Fc.splice(0).forEach(function(e){return e()})},Gg=function(e){if(!oa){var t=0,o=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return qg()}).observe(o,r),oa=function(){o.textContent="".concat(t?t--:t++)}}Fc.push(e),oa()},Xg=function(e){Gg(function(){requestAnimationFrame(e)})},ni=0,Yg=function(){return!!ni},Zg=250,Jg={attributes:!0,characterData:!0,childList:!0,subtree:!0},ms=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],xs=function(e){return e===void 0&&(e=0),Date.now()+e},ra=!1,Qg=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=Zg),!ra){ra=!0;var r=xs(t);Xg(function(){var n=!1;try{n=Kg()}finally{if(ra=!1,t=r-xs(),!Yg())return;n?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,Jg)};document.body?o():hn.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ms.forEach(function(o){return hn.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ms.forEach(function(o){return hn.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Ea=new Qg,Cs=function(e){!ni&&e>0&&Ea.start(),ni+=e,!ni&&Ea.stop()},eb=function(e){return!sl(e)&&!jg(e)&&getComputedStyle(e).display==="inline"},tb=function(){function e(t,o){this.target=t,this.observedBox=o||yn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Oc(this.target,this.observedBox,!0);return eb(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),ob=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Un=new WeakMap,ys=function(e,t){for(var o=0;o=0&&(i&&lr.splice(lr.indexOf(r),1),r.observationTargets.splice(n,1),Cs(-1))},e.disconnect=function(t){var o=this,r=Un.get(t);r.observationTargets.slice().forEach(function(n){return o.unobserve(t,n.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),rb=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Kn.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ps(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Kn.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ps(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Kn.unobserve(this,t)},e.prototype.disconnect=function(){Kn.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class nb{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||rb)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const o of t){const r=this.elHandlersMap.get(o.target);r!==void 0&&r(o)}}registerHandler(t,o){this.elHandlersMap.set(t,o),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const ci=new nb,io=ne({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const o=Nr().proxy;function r(n){const{onResize:i}=e;i!==void 0&&i(n)}gt(()=>{const n=o.$el;if(n===void 0){ls("resize-observer","$el does not exist.");return}if(n.nextElementSibling!==n.nextSibling&&n.nodeType===3&&n.nodeValue!==""){ls("resize-observer","$el can not be observed (it may be a text node).");return}n.nextElementSibling!==null&&(ci.registerHandler(n.nextElementSibling,r),t=!0)}),dt(()=>{t&&ci.unregisterHandler(o.$el.nextElementSibling)})},render(){return tc(this.$slots,"default")}});let qn;function ib(){return typeof document>"u"?!1:(qn===void 0&&("matchMedia"in window?qn=window.matchMedia("(pointer:coarse)").matches:qn=!1),qn)}let na;function ws(){return typeof document>"u"?1:(na===void 0&&(na="chrome"in window?window.devicePixelRatio:1),na)}const ab=bo(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[bo("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[bo("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Ec=ne({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Xo();ab.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Pi,ssr:t}),gt(()=>{const{defaultScrollIndex:A,defaultScrollKey:O}=e;A!=null?f({index:A}):O!=null&&f({key:O})});let o=!1,r=!1;oc(()=>{if(o=!1,!r){r=!0;return}f({top:h.value,left:u})}),nl(()=>{o=!0,r||(r=!0)});const n=T(()=>{const A=new Map,{keyField:O}=e;return e.items.forEach((L,H)=>{A.set(L[O],H)}),A}),i=E(null),a=E(void 0),l=new Map,s=T(()=>{const{items:A,itemSize:O,keyField:L}=e,H=new Tg(A.length,O);return A.forEach((_,U)=>{const N=_[L],te=l.get(N);te!==void 0&&H.add(U,te)}),H}),d=E(0);let u=0;const h=E(0),p=Ye(()=>Math.max(s.value.getBound(h.value-Tt(e.paddingTop))-1,0)),g=T(()=>{const{value:A}=a;if(A===void 0)return[];const{items:O,itemSize:L}=e,H=p.value,_=Math.min(H+Math.ceil(A/L+1),O.length-1),U=[];for(let N=H;N<=_;++N)U.push(O[N]);return U}),f=(A,O)=>{if(typeof A=="number"){C(A,O,"auto");return}const{left:L,top:H,index:_,key:U,position:N,behavior:te,debounce:fe=!0}=A;if(L!==void 0||H!==void 0)C(L,H,te);else if(_!==void 0)b(_,te,fe);else if(U!==void 0){const ae=n.value.get(U);ae!==void 0&&b(ae,te,fe)}else N==="bottom"?C(0,Number.MAX_SAFE_INTEGER,te):N==="top"&&C(0,0,te)};let v,m=null;function b(A,O,L){const{value:H}=s,_=H.sum(A)+Tt(e.paddingTop);if(!L)i.value.scrollTo({left:0,top:_,behavior:O});else{v=A,m!==null&&window.clearTimeout(m),m=window.setTimeout(()=>{v=void 0,m=null},16);const{scrollTop:U,offsetHeight:N}=i.value;if(_>U){const te=H.get(A);_+te<=U+N||i.value.scrollTo({left:0,top:_+te-N,behavior:O})}else i.value.scrollTo({left:0,top:_,behavior:O})}}function C(A,O,L){i.value.scrollTo({left:A,top:O,behavior:L})}function R(A,O){var L,H,_;if(o||e.ignoreItemResize||I(O.target))return;const{value:U}=s,N=n.value.get(A),te=U.get(N),fe=(_=(H=(L=O.borderBoxSize)===null||L===void 0?void 0:L[0])===null||H===void 0?void 0:H.blockSize)!==null&&_!==void 0?_:O.contentRect.height;if(fe===te)return;fe-e.itemSize===0?l.delete(A):l.set(A,fe-e.itemSize);const Y=fe-te;if(Y===0)return;U.add(N,Y);const j=i.value;if(j!=null){if(v===void 0){const X=U.sum(N);j.scrollTop>X&&j.scrollBy(0,Y)}else if(Nj.scrollTop+j.offsetHeight&&j.scrollBy(0,Y)}P()}d.value++}const $=!ib();let S=!1;function w(A){var O;(O=e.onScroll)===null||O===void 0||O.call(e,A),(!$||!S)&&P()}function x(A){var O;if((O=e.onWheel)===null||O===void 0||O.call(e,A),$){const L=i.value;if(L!=null){if(A.deltaX===0&&(L.scrollTop===0&&A.deltaY<=0||L.scrollTop+L.offsetHeight>=L.scrollHeight&&A.deltaY>=0))return;A.preventDefault(),L.scrollTop+=A.deltaY/ws(),L.scrollLeft+=A.deltaX/ws(),P(),S=!0,Ar(()=>{S=!1})}}}function k(A){if(o||I(A.target)||A.contentRect.height===a.value)return;a.value=A.contentRect.height;const{onResize:O}=e;O!==void 0&&O(A)}function P(){const{value:A}=i;A!=null&&(h.value=A.scrollTop,u=A.scrollLeft)}function I(A){let O=A;for(;O!==null;){if(O.style.display==="none")return!0;O=O.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:n,itemsStyle:T(()=>{const{itemResizable:A}=e,O=St(s.value.sum());return d.value,[e.itemsStyle,{boxSizing:"content-box",height:A?"":O,minHeight:A?O:"",paddingTop:St(e.paddingTop),paddingBottom:St(e.paddingBottom)}]}),visibleItemsStyle:T(()=>(d.value,{transform:`translateY(${St(s.value.sum(p.value))})`})),viewportItems:g,listElRef:i,itemsElRef:E(null),scrollTo:f,handleListResize:k,handleListScroll:w,handleListWheel:x,handleItemResize:R}},render(){const{itemResizable:e,keyField:t,keyToIndex:o,visibleItemsTag:r}=this;return c(io,{onResize:this.handleListResize},{default:()=>{var n,i;return c("div",Ft(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?c("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[c(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const l=a[t],s=o.get(l),d=this.$slots.default({item:a,index:s})[0];return e?c(io,{key:l,onResize:u=>this.handleItemResize(l,u)},{default:()=>d}):(d.key=l,d)})})]):(i=(n=this.$slots).empty)===null||i===void 0?void 0:i.call(n)])}})}}),lb=bo(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[bo("&::-webkit-scrollbar",{width:0,height:0})]),sb=ne({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=E(null);function t(n){!(n.currentTarget.offsetWidthp){const{updateCounter:w}=e;for(let x=R;x>=0;--x){const k=b-1-x;w!==void 0?w(k):u.textContent=`${k}`;const P=u.offsetWidth;if(v-=g[x],v+P<=p||x===0){m=!0,R=x-1,f&&(R===-1?(f.style.maxWidth=`${p-P}px`,f.style.boxSizing="border-box"):f.style.maxWidth="");const{onUpdateCount:I}=e;I&&I(k);break}}}}const{onUpdateOverflow:C}=e;m?C!==void 0&&C(!0):(C!==void 0&&C(!1),u.setAttribute(Bo,""))}const i=Xo();return db.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Pi,ssr:i}),gt(()=>n({showAllItemsBeforeCalculate:!1})),{selfRef:o,counterRef:r,sync:n}},render(){const{$slots:e}=this;return ut(()=>this.sync({showAllItemsBeforeCalculate:!1})),c("div",{class:"v-overflow",ref:"selfRef"},[tc(e,"default"),e.counter?e.counter():c("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function Ac(e){return e instanceof HTMLElement}function Lc(e){for(let t=0;t=0;t--){const o=e.childNodes[t];if(Ac(o)&&(Dc(o)||_c(o)))return!0}return!1}function Dc(e){if(!cb(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function cb(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let rn=[];const dl=ne({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Vo(),o=E(null),r=E(null);let n=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function l(){return rn[rn.length-1]===t}function s(m){var b;m.code==="Escape"&&l()&&((b=e.onEsc)===null||b===void 0||b.call(e,m))}gt(()=>{Je(()=>e.active,m=>{m?(h(),tt("keydown",document,s)):(Xe("keydown",document,s),n&&p())},{immediate:!0})}),dt(()=>{Xe("keydown",document,s),n&&p()});function d(m){if(!i&&l()){const b=u();if(b===null||b.contains(Lr(m)))return;g("first")}}function u(){const m=o.value;if(m===null)return null;let b=m;for(;b=b.nextSibling,!(b===null||b instanceof Element&&b.tagName==="DIV"););return b}function h(){var m;if(!e.disabled){if(rn.push(t),e.autoFocus){const{initialFocusTo:b}=e;b===void 0?g("first"):(m=ds(b))===null||m===void 0||m.focus({preventScroll:!0})}n=!0,document.addEventListener("focus",d,!0)}}function p(){var m;if(e.disabled||(document.removeEventListener("focus",d,!0),rn=rn.filter(C=>C!==t),l()))return;const{finalFocusTo:b}=e;b!==void 0?(m=ds(b))===null||m===void 0||m.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function g(m){if(l()&&e.active){const b=o.value,C=r.value;if(b!==null&&C!==null){const R=u();if(R==null||R===C){i=!0,b.focus({preventScroll:!0}),i=!1;return}i=!0;const $=m==="first"?Lc(R):_c(R);i=!1,$||(i=!0,b.focus({preventScroll:!0}),i=!1)}}}function f(m){if(i)return;const b=u();b!==null&&(m.relatedTarget!==null&&b.contains(m.relatedTarget)?g("last"):g("first"))}function v(m){i||(m.relatedTarget!==null&&m.relatedTarget===o.value?g("last"):g("first"))}return{focusableStartRef:o,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:f,handleEndFocus:v}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:o}=this;return c(yt,null,[c("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:o,onFocus:this.handleStartFocus}),e(),c("div",{"aria-hidden":"true",style:o,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function Hc(e,t){t&&(gt(()=>{const{value:o}=e;o&&ci.registerHandler(o,t)}),dt(()=>{const{value:o}=e;o&&ci.unregisterHandler(o)}))}let Rr=0,ks="",$s="",Rs="",Ps="";const zs=E("0px");function jc(e){if(typeof document>"u")return;const t=document.documentElement;let o,r=!1;const n=()=>{t.style.marginRight=ks,t.style.overflow=$s,t.style.overflowX=Rs,t.style.overflowY=Ps,zs.value="0px"};gt(()=>{o=Je(e,i=>{if(i){if(!Rr){const a=window.innerWidth-t.offsetWidth;a>0&&(ks=t.style.marginRight,t.style.marginRight=`${a}px`,zs.value=`${a}px`),$s=t.style.overflow,Rs=t.style.overflowX,Ps=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}r=!0,Rr++}else Rr--,Rr||n(),r=!1},{immediate:!0})}),dt(()=>{o==null||o(),r&&(Rr--,Rr||n(),r=!1)})}const cl=E(!1),Ts=()=>{cl.value=!0},Bs=()=>{cl.value=!1};let nn=0;const Wc=()=>(Eo&&(Fo(()=>{nn||(window.addEventListener("compositionstart",Ts),window.addEventListener("compositionend",Bs)),nn++}),dt(()=>{nn<=1?(window.removeEventListener("compositionstart",Ts),window.removeEventListener("compositionend",Bs),nn=0):nn--})),cl);function ul(e){const t={isDeactivated:!1};let o=!1;return oc(()=>{if(t.isDeactivated=!1,!o){o=!0;return}e()}),nl(()=>{t.isDeactivated=!0,o||(o=!0)}),t}const Nc=(e,t)=>{if(!e)return;const o=document.createElement("a");o.href=e,t!==void 0&&(o.download=t),document.body.appendChild(o),o.click(),document.body.removeChild(o)},Aa="n-form-item";function So(e,{defaultSize:t="medium",mergedSize:o,mergedDisabled:r}={}){const n=Te(Aa,null);Ue(Aa,null);const i=T(o?()=>o(n):()=>{const{size:s}=e;if(s)return s;if(n){const{mergedSize:d}=n;if(d.value!==void 0)return d.value}return t}),a=T(r?()=>r(n):()=>{const{disabled:s}=e;return s!==void 0?s:n?n.disabled.value:!1}),l=T(()=>{const{status:s}=e;return s||(n==null?void 0:n.mergedValidationStatus.value)});return dt(()=>{n&&n.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:l,nTriggerFormBlur(){n&&n.handleContentBlur()},nTriggerFormChange(){n&&n.handleContentChange()},nTriggerFormFocus(){n&&n.handleContentFocus()},nTriggerFormInput(){n&&n.handleContentInput()}}}var ub=typeof global=="object"&&global&&global.Object===Object&&global;const Vc=ub;var fb=typeof self=="object"&&self&&self.Object===Object&&self,hb=Vc||fb||Function("return this")();const Zt=hb;var pb=Zt.Symbol;const Ko=pb;var Uc=Object.prototype,vb=Uc.hasOwnProperty,gb=Uc.toString,an=Ko?Ko.toStringTag:void 0;function bb(e){var t=vb.call(e,an),o=e[an];try{e[an]=void 0;var r=!0}catch{}var n=gb.call(e);return r&&(t?e[an]=o:delete e[an]),n}var mb=Object.prototype,xb=mb.toString;function Cb(e){return xb.call(e)}var yb="[object Null]",wb="[object Undefined]",Ms=Ko?Ko.toStringTag:void 0;function pr(e){return e==null?e===void 0?wb:yb:Ms&&Ms in Object(e)?bb(e):Cb(e)}function qo(e){return e!=null&&typeof e=="object"}var Sb="[object Symbol]";function Bi(e){return typeof e=="symbol"||qo(e)&&pr(e)==Sb}function Kc(e,t){for(var o=-1,r=e==null?0:e.length,n=Array(r);++o0){if(++t>=im)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function dm(e){return function(){return e}}var cm=function(){try{var e=gr(Object,"defineProperty");return e({},"",{}),e}catch{}}();const fi=cm;var um=fi?function(e,t){return fi(e,"toString",{configurable:!0,enumerable:!1,value:dm(t),writable:!0})}:fl;const fm=um;var hm=sm(fm);const pm=hm;var vm=9007199254740991,gm=/^(?:0|[1-9]\d*)$/;function pl(e,t){var o=typeof e;return t=t??vm,!!t&&(o=="number"||o!="symbol"&&gm.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=Sm}function Gr(e){return e!=null&&gl(e.length)&&!hl(e)}function km(e,t,o){if(!Yt(o))return!1;var r=typeof t;return(r=="number"?Gr(o)&&pl(t,o.length):r=="string"&&t in o)?In(o[t],e):!1}function $m(e){return wm(function(t,o){var r=-1,n=o.length,i=n>1?o[n-1]:void 0,a=n>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,a&&km(o[0],o[1],a)&&(i=n<3?void 0:i,n=1),t=Object(t);++r-1}function W0(e,t){var o=this.__data__,r=Mi(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this}function Lo(e){var t=-1,o=e==null?0:e.length;for(this.clear();++tn?0:n+t),o=o>n?n:o,o<0&&(o+=n),n=t>o?0:o-t>>>0,t>>>=0;for(var i=Array(n);++r=r?e:fx(e,t,o)}var px="\\ud800-\\udfff",vx="\\u0300-\\u036f",gx="\\ufe20-\\ufe2f",bx="\\u20d0-\\u20ff",mx=vx+gx+bx,xx="\\ufe0e\\ufe0f",Cx="\\u200d",yx=RegExp("["+Cx+px+mx+xx+"]");function nu(e){return yx.test(e)}function wx(e){return e.split("")}var iu="\\ud800-\\udfff",Sx="\\u0300-\\u036f",kx="\\ufe20-\\ufe2f",$x="\\u20d0-\\u20ff",Rx=Sx+kx+$x,Px="\\ufe0e\\ufe0f",zx="["+iu+"]",_a="["+Rx+"]",Da="\\ud83c[\\udffb-\\udfff]",Tx="(?:"+_a+"|"+Da+")",au="[^"+iu+"]",lu="(?:\\ud83c[\\udde6-\\uddff]){2}",su="[\\ud800-\\udbff][\\udc00-\\udfff]",Bx="\\u200d",du=Tx+"?",cu="["+Px+"]?",Mx="(?:"+Bx+"(?:"+[au,lu,su].join("|")+")"+cu+du+")*",Ox=cu+du+Mx,Ix="(?:"+[au+_a+"?",_a,lu,su,zx].join("|")+")",Fx=RegExp(Da+"(?="+Da+")|"+Ix+Ox,"g");function Ex(e){return e.match(Fx)||[]}function Ax(e){return nu(e)?Ex(e):wx(e)}function Lx(e){return function(t){t=Dr(t);var o=nu(t)?Ax(t):void 0,r=o?o[0]:t.charAt(0),n=o?hx(o,1).join(""):t.slice(1);return r[e]()+n}}var _x=Lx("toUpperCase");const Dx=_x;function Hx(e,t,o,r){var n=-1,i=e==null?0:e.length;for(r&&i&&(o=e[++n]);++nl))return!1;var d=i.get(e),u=i.get(t);if(d&&u)return d==t&&u==e;var h=-1,p=!0,g=o&hC?new gi:void 0;for(i.set(e,t),i.set(t,e);++h=t||x<0||h&&k>=i}function b(){var w=sa();if(m(w))return C(w);l=setTimeout(b,v(w))}function C(w){return l=void 0,p&&r?g(w):(r=n=void 0,a)}function R(){l!==void 0&&clearTimeout(l),d=0,r=s=n=l=void 0}function $(){return l===void 0?a:C(sa())}function S(){var w=sa(),x=m(w);if(r=arguments,n=this,s=w,x){if(l===void 0)return f(s);if(h)return clearTimeout(l),l=setTimeout(b,t),g(s)}return l===void 0&&(l=setTimeout(b,t)),a}return S.cancel=R,S.flush=$,S}function Na(e,t,o){(o!==void 0&&!In(e[t],o)||o===void 0&&!(t in e))&&vl(e,t,o)}function dy(e){return qo(e)&&Gr(e)}function Va(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function cy(e){return Cm(e,Qc(e))}function uy(e,t,o,r,n,i,a){var l=Va(e,o),s=Va(t,o),d=a.get(s);if(d){Na(e,o,d);return}var u=i?i(l,s,o+"",e,t,a):void 0,h=u===void 0;if(h){var p=Xt(s),g=!p&&pi(s),f=!p&&!g&&ml(s);u=s,p||g||f?Xt(l)?u=l:dy(l)?u=nm(l):g?(h=!1,u=H1(s,!0)):f?(h=!1,u=iC(s,!0)):u=[]:ux(s)||hi(s)?(u=l,hi(l)?u=cy(l):(!Yt(l)||hl(l))&&(u=aC(s))):h=!1}h&&(a.set(s,u),n(u,s,r,i,a),a.delete(s)),Na(e,o,u)}function Tu(e,t,o,r,n){e!==t&&zu(t,function(i,a){if(n||(n=new mo),Yt(i))uy(e,t,a,o,Tu,r,n);else{var l=r?r(Va(e,a),i,a+"",e,t,n):void 0;l===void 0&&(l=i),Na(e,a,l)}},Qc)}function fy(e,t){var o=-1,r=Gr(e)?Array(e.length):[];return ry(e,function(n,i,a){r[++o]=t(n,i,a)}),r}function hy(e,t){var o=Xt(e)?Kc:fy;return o(e,ZC(t))}var py=T1(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()});const vy=py;var gy=$m(function(e,t,o){Tu(e,t,o)});const Mr=gy;var by=O1("round");const my=by;var xy="Expected a function";function da(e,t,o){var r=!0,n=!0;if(typeof e!="function")throw new TypeError(xy);return Yt(o)&&(r="leading"in o?!!o.leading:r,n="trailing"in o?!!o.trailing:n),sy(e,t,{leading:r,maxWait:t,trailing:n})}const Ut={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:Cy,fontFamily:yy,lineHeight:wy}=Ut,Bu=z("body",`
    + margin: 0;
    + font-size: ${Cy};
    + font-family: ${yy};
    + line-height: ${wy};
    + -webkit-text-size-adjust: 100%;
    + -webkit-tap-highlight-color: transparent;
    +`,[z("input",`
    + font-family: inherit;
    + font-size: inherit;
    + `)]),lo="n-config-provider",Hr="naive-ui-style";function we(e,t,o,r,n,i){const a=Xo(),l=Te(lo,null);if(o){const d=()=>{const u=i==null?void 0:i.value;o.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:Hr,ssr:a}),l!=null&&l.preflightStyleDisabled||Bu.mount({id:"n-global",head:!0,anchorMetaName:Hr,ssr:a})};a?d():Fo(d)}return T(()=>{var d;const{theme:{common:u,self:h,peers:p={}}={},themeOverrides:g={},builtinThemeOverrides:f={}}=n,{common:v,peers:m}=g,{common:b=void 0,[e]:{common:C=void 0,self:R=void 0,peers:$={}}={}}=(l==null?void 0:l.mergedThemeRef.value)||{},{common:S=void 0,[e]:w={}}=(l==null?void 0:l.mergedThemeOverridesRef.value)||{},{common:x,peers:k={}}=w,P=Mr({},u||C||b||r.common,S,x,v),I=Mr((d=h||R||r.self)===null||d===void 0?void 0:d(P),f,w,g);return{common:P,self:I,peers:Mr({},r.peers,$,p),peerOverrides:Mr({},f.peers,k,m)}})}we.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const $n="n";function He(e={},t={defaultBordered:!0}){const o=Te(lo,null);return{inlineThemeDisabled:o==null?void 0:o.inlineThemeDisabled,mergedRtlRef:o==null?void 0:o.mergedRtlRef,mergedComponentPropsRef:o==null?void 0:o.mergedComponentPropsRef,mergedBreakpointsRef:o==null?void 0:o.mergedBreakpointsRef,mergedBorderedRef:T(()=>{var r,n;const{bordered:i}=e;return i!==void 0?i:(n=(r=o==null?void 0:o.mergedBorderedRef.value)!==null&&r!==void 0?r:t.defaultBordered)!==null&&n!==void 0?n:!0}),mergedClsPrefixRef:o?o.mergedClsPrefixRef:rc($n),namespaceRef:T(()=>o==null?void 0:o.mergedNamespaceRef.value)}}function Mu(){const e=Te(lo,null);return e?e.mergedClsPrefixRef:rc($n)}const Sy={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},ky=Sy;var $y={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},Ry=function(t,o,r){var n,i=$y[t];return typeof i=="string"?n=i:o===1?n=i.one:n=i.other.replace("{{count}}",String(o)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?n+"内":n+"前":n};const Py=Ry;function Er(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.width?String(t.width):e.defaultWidth,r=e.formats[o]||e.formats[e.defaultWidth];return r}}var zy={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},Ty={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},By={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},My={date:Er({formats:zy,defaultWidth:"full"}),time:Er({formats:Ty,defaultWidth:"full"}),dateTime:Er({formats:By,defaultWidth:"full"})};const Oy=My;function Sl(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Ua(e){"@babel/helpers - typeof";return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ua(e)}function Iy(e){Sl(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Ua(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Fy(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var Ey={};function Ay(){return Ey}function dd(e,t){var o,r,n,i,a,l,s,d;Sl(1,arguments);var u=Ay(),h=Fy((o=(r=(n=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:u.weekStartsOn)!==null&&r!==void 0?r:(s=u.locale)===null||s===void 0||(d=s.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&o!==void 0?o:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Iy(e),g=p.getUTCDay(),f=(gt.getTime()?"'下个'"+r:"'上个'"+r}var _y={lastWeek:cd,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:cd,other:"PP p"},Dy=function(t,o,r,n){var i=_y[t];return typeof i=="function"?i(o,r,n):i};const Hy=Dy;function vo(e){return function(t,o){var r=o!=null&&o.context?String(o.context):"standalone",n;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o!=null&&o.width?String(o.width):i;n=e.formattingValues[a]||e.formattingValues[i]}else{var l=e.defaultWidth,s=o!=null&&o.width?String(o.width):e.defaultWidth;n=e.values[s]||e.values[l]}var d=e.argumentCallback?e.argumentCallback(t):t;return n[d]}}var jy={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},Wy={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},Ny={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},Vy={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},Uy={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Ky={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},qy=function(t,o){var r=Number(t);switch(o==null?void 0:o.unit){case"date":return r.toString()+"日";case"hour":return r.toString()+"时";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},Gy={ordinalNumber:qy,era:vo({values:jy,defaultWidth:"wide"}),quarter:vo({values:Wy,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:vo({values:Ny,defaultWidth:"wide"}),day:vo({values:Vy,defaultWidth:"wide"}),dayPeriod:vo({values:Uy,defaultWidth:"wide",formattingValues:Ky,defaultFormattingWidth:"wide"})};const Xy=Gy;function go(e){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=o.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(n);if(!i)return null;var a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?Zy(l,function(h){return h.test(a)}):Yy(l,function(h){return h.test(a)}),d;d=e.valueCallback?e.valueCallback(s):s,d=o.valueCallback?o.valueCallback(d):d;var u=t.slice(a.length);return{value:d,rest:u}}}function Yy(e,t){for(var o in e)if(e.hasOwnProperty(o)&&t(e[o]))return o}function Zy(e,t){for(var o=0;o1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var n=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=o.valueCallback?o.valueCallback(a):a;var l=t.slice(n.length);return{value:a,rest:l}}}var Jy=/^(第\s*)?\d+(日|时|分|秒)?/i,Qy=/\d+/i,ew={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},tw={any:[/^(前)/i,/^(公元)/i]},ow={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},rw={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},nw={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},iw={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},aw={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},lw={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},sw={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},dw={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},cw={ordinalNumber:Ou({matchPattern:Jy,parsePattern:Qy,valueCallback:function(t){return parseInt(t,10)}}),era:go({matchPatterns:ew,defaultMatchWidth:"wide",parsePatterns:tw,defaultParseWidth:"any"}),quarter:go({matchPatterns:ow,defaultMatchWidth:"wide",parsePatterns:rw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:go({matchPatterns:nw,defaultMatchWidth:"wide",parsePatterns:iw,defaultParseWidth:"any"}),day:go({matchPatterns:aw,defaultMatchWidth:"wide",parsePatterns:lw,defaultParseWidth:"any"}),dayPeriod:go({matchPatterns:sw,defaultMatchWidth:"any",parsePatterns:dw,defaultParseWidth:"any"})};const uw=cw;var fw={code:"zh-CN",formatDistance:Py,formatLong:Oy,formatRelative:Hy,localize:Xy,match:uw,options:{weekStartsOn:1,firstWeekContainsDate:4}};const hw=fw,pw={name:"zh-CN",locale:hw},d8=pw;var vw={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gw=function(t,o,r){var n,i=vw[t];return typeof i=="string"?n=i:o===1?n=i.one:n=i.other.replace("{{count}}",o.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const bw=gw;var mw={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},xw={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Cw={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},yw={date:Er({formats:mw,defaultWidth:"full"}),time:Er({formats:xw,defaultWidth:"full"}),dateTime:Er({formats:Cw,defaultWidth:"full"})};const ww=yw;var Sw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},kw=function(t,o,r,n){return Sw[t]};const $w=kw;var Rw={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Pw={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zw={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Tw={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Bw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Mw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ow=function(t,o){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Iw={ordinalNumber:Ow,era:vo({values:Rw,defaultWidth:"wide"}),quarter:vo({values:Pw,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:vo({values:zw,defaultWidth:"wide"}),day:vo({values:Tw,defaultWidth:"wide"}),dayPeriod:vo({values:Bw,defaultWidth:"wide",formattingValues:Mw,defaultFormattingWidth:"wide"})};const Fw=Iw;var Ew=/^(\d+)(th|st|nd|rd)?/i,Aw=/\d+/i,Lw={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},_w={any:[/^b/i,/^(a|c)/i]},Dw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Hw={any:[/1/i,/2/i,/3/i,/4/i]},jw={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ww={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Nw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Vw={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Uw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Kw={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},qw={ordinalNumber:Ou({matchPattern:Ew,parsePattern:Aw,valueCallback:function(t){return parseInt(t,10)}}),era:go({matchPatterns:Lw,defaultMatchWidth:"wide",parsePatterns:_w,defaultParseWidth:"any"}),quarter:go({matchPatterns:Dw,defaultMatchWidth:"wide",parsePatterns:Hw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:go({matchPatterns:jw,defaultMatchWidth:"wide",parsePatterns:Ww,defaultParseWidth:"any"}),day:go({matchPatterns:Nw,defaultMatchWidth:"wide",parsePatterns:Vw,defaultParseWidth:"any"}),dayPeriod:go({matchPatterns:Uw,defaultMatchWidth:"any",parsePatterns:Kw,defaultParseWidth:"any"})};const Gw=qw;var Xw={code:"en-US",formatDistance:bw,formatLong:ww,formatRelative:$w,localize:Fw,match:Gw,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Yw=Xw,Zw={name:"en-US",locale:Yw},Jw=Zw;function wo(e){const{mergedLocaleRef:t,mergedDateLocaleRef:o}=Te(lo,null)||{},r=T(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:ky[e]});return{dateLocaleRef:T(()=>{var i;return(i=o==null?void 0:o.value)!==null&&i!==void 0?i:Jw}),localeRef:r}}function Do(e,t,o){if(!t)return;const r=Xo(),n=Te(lo,null),i=()=>{const a=o.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Hr,props:{bPrefix:a?`.${a}-`:void 0},ssr:r}),n!=null&&n.preflightStyleDisabled||Bu.mount({id:"n-global",head:!0,anchorMetaName:Hr,ssr:r})};r?i():Fo(i)}function Qe(e,t,o,r){var n;o||hr("useThemeClass","cssVarsRef is not passed");const i=(n=Te(lo,null))===null||n===void 0?void 0:n.mergedThemeHashRef,a=E(""),l=Xo();let s;const d=`__${e}`,u=()=>{let h=d;const p=t?t.value:void 0,g=i==null?void 0:i.value;g&&(h+="-"+g),p&&(h+="-"+p);const{themeOverrides:f,builtinThemeOverrides:v}=r;f&&(h+="-"+mn(JSON.stringify(f))),v&&(h+="-"+mn(JSON.stringify(v))),a.value=h,s=()=>{const m=o.value;let b="";for(const C in m)b+=`${C}: ${m[C]};`;z(`.${h}`,b).mount({id:h,ssr:l}),s=void 0}};return vt(()=>{u()}),{themeClass:a,onRender:()=>{s==null||s()}}}function Rt(e,t,o){if(!t)return;const r=Xo(),n=T(()=>{const{value:a}=t;if(!a)return;const l=a[e];if(l)return l}),i=()=>{vt(()=>{const{value:a}=o,l=`${a}${e}Rtl`;if(Wv(l,r))return;const{value:s}=n;s&&s.style.mount({id:l,head:!0,anchorMetaName:Hr,props:{bPrefix:a?`.${a}-`:void 0},ssr:r})})};return r?i():Fo(i),n}const Iu=ne({name:"Add",render(){return c("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),Qw=ne({name:"ArrowDown",render(){return c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function ko(e,t){return ne({name:Dx(e),setup(){var o;const r=(o=Te(lo,null))===null||o===void 0?void 0:o.mergedIconsRef;return()=>{var n;const i=(n=r==null?void 0:r.value)===null||n===void 0?void 0:n[e];return i?i():t}}})}const ud=ne({name:"Backward",render(){return c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),eS=ne({name:"Checkmark",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},c("g",{fill:"none"},c("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),kl=ne({name:"ChevronRight",render(){return c("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),tS=ko("close",c("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),oS=ne({name:"Eye",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),c("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),rS=ne({name:"EyeOff",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),c("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),c("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),c("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),c("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),nS=ne({name:"Empty",render(){return c("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),c("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Fi=ko("error",c("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),fd=ne({name:"FastBackward",render(){return c("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),hd=ne({name:"FastForward",render(){return c("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),iS=ne({name:"Filter",render(){return c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),pd=ne({name:"Forward",render(){return c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),Rn=ko("info",c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),vd=ne({name:"More",render(){return c("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),aS=ne({name:"Remove",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:`
    +        fill: none;
    +        stroke: currentColor;
    +        stroke-linecap: round;
    +        stroke-linejoin: round;
    +        stroke-width: 32px;
    +      `}))}}),Ei=ko("success",c("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Fn=ko("warning",c("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),Fu=ne({name:"ChevronDown",render(){return c("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),lS=ko("clear",c("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),sS=ko("rotateClockwise",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),c("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),dS=ko("rotateClockwise",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),c("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),cS=ko("zoomIn",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),c("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),uS=ko("zoomOut",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),c("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),fS=ne({name:"ResizeSmall",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},c("g",{fill:"none"},c("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}}),br=ne({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const o=Ao();return()=>c(kt,{name:"icon-switch-transition",appear:o.value},t)}}),Eu=ne({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function o(l){e.width?l.style.maxWidth=`${l.offsetWidth}px`:l.style.maxHeight=`${l.offsetHeight}px`,l.offsetWidth}function r(l){e.width?l.style.maxWidth="0":l.style.maxHeight="0",l.offsetWidth;const{onLeave:s}=e;s&&s()}function n(l){e.width?l.style.maxWidth="":l.style.maxHeight="";const{onAfterLeave:s}=e;s&&s()}function i(l){if(l.style.transition="none",e.width){const s=l.offsetWidth;l.style.maxWidth="0",l.offsetWidth,l.style.transition="",l.style.maxWidth=`${s}px`}else if(e.reverse)l.style.maxHeight=`${l.offsetHeight}px`,l.offsetHeight,l.style.transition="",l.style.maxHeight="0";else{const s=l.offsetHeight;l.style.maxHeight="0",l.offsetWidth,l.style.transition="",l.style.maxHeight=`${s}px`}l.offsetWidth}function a(l){var s;e.width?l.style.maxWidth="":e.reverse||(l.style.maxHeight=""),(s=e.onAfterEnter)===null||s===void 0||s.call(e)}return()=>{const{group:l,width:s,appear:d,mode:u}=e,h=l?nc:kt,p={name:s?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:d,onEnter:i,onAfterEnter:a,onBeforeLeave:o,onLeave:r,onAfterLeave:n};return l||(p.mode=u),c(h,p,t)}}}),hS=y("base-icon",`
    + height: 1em;
    + width: 1em;
    + line-height: 1em;
    + text-align: center;
    + display: inline-block;
    + position: relative;
    + fill: currentColor;
    + transform: translateZ(0);
    +`,[z("svg",`
    + height: 1em;
    + width: 1em;
    + `)]),ot=ne({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Do("-base-icon",hS,he(e,"clsPrefix"))},render(){return c("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),pS=y("base-close",`
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + cursor: pointer;
    + background-color: transparent;
    + color: var(--n-close-icon-color);
    + border-radius: var(--n-close-border-radius);
    + height: var(--n-close-size);
    + width: var(--n-close-size);
    + font-size: var(--n-close-icon-size);
    + outline: none;
    + border: none;
    + position: relative;
    + padding: 0;
    +`,[B("absolute",`
    + height: var(--n-close-icon-size);
    + width: var(--n-close-icon-size);
    + `),z("&::before",`
    + content: "";
    + position: absolute;
    + width: var(--n-close-size);
    + height: var(--n-close-size);
    + left: 50%;
    + top: 50%;
    + transform: translateY(-50%) translateX(-50%);
    + transition: inherit;
    + border-radius: inherit;
    + `),nt("disabled",[z("&:hover",`
    + color: var(--n-close-icon-color-hover);
    + `),z("&:hover::before",`
    + background-color: var(--n-close-color-hover);
    + `),z("&:focus::before",`
    + background-color: var(--n-close-color-hover);
    + `),z("&:active",`
    + color: var(--n-close-icon-color-pressed);
    + `),z("&:active::before",`
    + background-color: var(--n-close-color-pressed);
    + `)]),B("disabled",`
    + cursor: not-allowed;
    + color: var(--n-close-icon-color-disabled);
    + background-color: transparent;
    + `),B("round",[z("&::before",`
    + border-radius: 50%;
    + `)])]),mr=ne({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Do("-base-close",pS,he(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:o,absolute:r,round:n,isButtonTag:i}=e;return c(i?"button":"div",{type:i?"button":void 0,tabindex:o||!e.focusable?-1:0,"aria-disabled":o,"aria-label":"close",role:i?void 0:"button",disabled:o,class:[`${t}-base-close`,r&&`${t}-base-close--absolute`,o&&`${t}-base-close--disabled`,n&&`${t}-base-close--round`],onMousedown:l=>{e.focusable||l.preventDefault()},onClick:e.onClick},c(ot,{clsPrefix:t},{default:()=>c(tS,null)}))}}}),vS=ne({props:{onFocus:Function,onBlur:Function},setup(e){return()=>c("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:gS}=Ut;function Wt({originalTransform:e="",left:t=0,top:o=0,transition:r=`all .3s ${gS} !important`}={}){return[z("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:o,opacity:0}),z("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:o,opacity:1}),z("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:o,transition:r})]}const bS=z([z("@keyframes rotator",`
    + 0% {
    + -webkit-transform: rotate(0deg);
    + transform: rotate(0deg);
    + }
    + 100% {
    + -webkit-transform: rotate(360deg);
    + transform: rotate(360deg);
    + }`),y("base-loading",`
    + position: relative;
    + line-height: 0;
    + width: 1em;
    + height: 1em;
    + `,[M("transition-wrapper",`
    + position: absolute;
    + width: 100%;
    + height: 100%;
    + `,[Wt()]),M("placeholder",`
    + position: absolute;
    + left: 50%;
    + top: 50%;
    + transform: translateX(-50%) translateY(-50%);
    + `,[Wt({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),M("container",`
    + animation: rotator 3s linear infinite both;
    + `,[M("icon",`
    + height: 1em;
    + width: 1em;
    + `)])])]),ca="1.6s",mS={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Yo=ne({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},mS),setup(e){Do("-base-loading",bS,he(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:o,stroke:r,scale:n}=this,i=t/n;return c("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},c(br,null,{default:()=>this.show?c("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},c("div",{class:`${e}-base-loading__container`},c("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:r}},c("g",null,c("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"}),c("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":o,"stroke-linecap":"round",cx:i,cy:i,r:t-o/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},c("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"}),c("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"})))))):c("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function gd(e){return Array.isArray(e)?e:[e]}const Ka={STOP:"STOP"};function Au(e,t){const o=t(e);e.children!==void 0&&o!==Ka.STOP&&e.children.forEach(r=>Au(r,t))}function xS(e,t={}){const{preserveGroup:o=!1}=t,r=[],n=o?a=>{a.isLeaf||(r.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||r.push(a.key),i(a.children))};function i(a){a.forEach(n)}return i(e),r}function CS(e,t){const{isLeaf:o}=e;return o!==void 0?o:!t(e)}function yS(e){return e.children}function wS(e){return e.key}function SS(){return!1}function kS(e,t){const{isLeaf:o}=e;return!(o===!1&&!Array.isArray(t(e)))}function $S(e){return e.disabled===!0}function RS(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function ua(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function fa(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function PS(e,t){const o=new Set(e);return t.forEach(r=>{o.has(r)||o.add(r)}),Array.from(o)}function zS(e,t){const o=new Set(e);return t.forEach(r=>{o.has(r)&&o.delete(r)}),Array.from(o)}function TS(e){return(e==null?void 0:e.type)==="group"}function BS(e){const t=new Map;return e.forEach((o,r)=>{t.set(o.key,r)}),o=>{var r;return(r=t.get(o))!==null&&r!==void 0?r:null}}class MS extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function OS(e,t,o,r){return bi(t.concat(e),o,r,!1)}function IS(e,t){const o=new Set;return e.forEach(r=>{const n=t.treeNodeMap.get(r);if(n!==void 0){let i=n.parent;for(;i!==null&&!(i.disabled||o.has(i.key));)o.add(i.key),i=i.parent}}),o}function FS(e,t,o,r){const n=bi(t,o,r,!1),i=bi(e,o,r,!0),a=IS(e,o),l=[];return n.forEach(s=>{(i.has(s)||a.has(s))&&l.push(s)}),l.forEach(s=>n.delete(s)),n}function ha(e,t){const{checkedKeys:o,keysToCheck:r,keysToUncheck:n,indeterminateKeys:i,cascade:a,leafOnly:l,checkStrategy:s,allowNotLoaded:d}=e;if(!a)return r!==void 0?{checkedKeys:PS(o,r),indeterminateKeys:Array.from(i)}:n!==void 0?{checkedKeys:zS(o,n),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(o),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let h;n!==void 0?h=FS(n,o,t,d):r!==void 0?h=OS(r,o,t,d):h=bi(o,t,d,!1);const p=s==="parent",g=s==="child"||l,f=h,v=new Set,m=Math.max.apply(null,Array.from(u.keys()));for(let b=m;b>=0;b-=1){const C=b===0,R=u.get(b);for(const $ of R){if($.isLeaf)continue;const{key:S,shallowLoaded:w}=$;if(g&&w&&$.children.forEach(I=>{!I.disabled&&!I.isLeaf&&I.shallowLoaded&&f.has(I.key)&&f.delete(I.key)}),$.disabled||!w)continue;let x=!0,k=!1,P=!0;for(const I of $.children){const A=I.key;if(!I.disabled){if(P&&(P=!1),f.has(A))k=!0;else if(v.has(A)){k=!0,x=!1;break}else if(x=!1,k)break}}x&&!P?(p&&$.children.forEach(I=>{!I.disabled&&f.has(I.key)&&f.delete(I.key)}),f.add(S)):k&&v.add(S),C&&g&&f.has(S)&&f.delete(S)}}return{checkedKeys:Array.from(f),indeterminateKeys:Array.from(v)}}function bi(e,t,o,r){const{treeNodeMap:n,getChildren:i}=t,a=new Set,l=new Set(e);return e.forEach(s=>{const d=n.get(s);d!==void 0&&Au(d,u=>{if(u.disabled)return Ka.STOP;const{key:h}=u;if(!a.has(h)&&(a.add(h),l.add(h),RS(u.rawNode,i))){if(r)return Ka.STOP;if(!o)throw new MS}})}),l}function ES(e,{includeGroup:t=!1,includeSelf:o=!0},r){var n;const i=r.treeNodeMap;let a=e==null?null:(n=i.get(e))!==null&&n!==void 0?n:null;const l={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return l.treeNode=null,l;for(;a;)!a.ignored&&(t||!a.isGroup)&&l.treeNodePath.push(a),a=a.parent;return l.treeNodePath.reverse(),o||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map(s=>s.key),l}function AS(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function LS(e,t){const o=e.siblings,r=o.length,{index:n}=e;return t?o[(n+1)%r]:n===o.length-1?null:o[n+1]}function bd(e,t,{loop:o=!1,includeDisabled:r=!1}={}){const n=t==="prev"?_S:LS,i={reverse:t==="prev"};let a=!1,l=null;function s(d){if(d!==null){if(d===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){l=e;return}}else if((!d.disabled||r)&&!d.ignored&&!d.isGroup){l=d;return}if(d.isGroup){const u=$l(d,i);u!==null?l=u:s(n(d,o))}else{const u=n(d,!1);if(u!==null)s(u);else{const h=DS(d);h!=null&&h.isGroup?s(n(h,o)):o&&s(n(d,!0))}}}}return s(e),l}function _S(e,t){const o=e.siblings,r=o.length,{index:n}=e;return t?o[(n-1+r)%r]:n===0?null:o[n-1]}function DS(e){return e.parent}function $l(e,t={}){const{reverse:o=!1}=t,{children:r}=e;if(r){const{length:n}=r,i=o?n-1:0,a=o?-1:n,l=o?-1:1;for(let s=i;s!==a;s+=l){const d=r[s];if(!d.disabled&&!d.ignored)if(d.isGroup){const u=$l(d,t);if(u!==null)return u}else return d}}return null}const HS={getChild(){return this.ignored?null:$l(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return bd(this,"next",e)},getPrev(e={}){return bd(this,"prev",e)}};function jS(e,t){const o=t?new Set(t):void 0,r=[];function n(i){i.forEach(a=>{r.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||o===void 0||o.has(a.key))&&n(a.children)})}return n(e),r}function WS(e,t){const o=e.key;for(;t;){if(t.key===o)return!0;t=t.parent}return!1}function Lu(e,t,o,r,n,i=null,a=0){const l=[];return e.forEach((s,d)=>{var u;const h=Object.create(r);if(h.rawNode=s,h.siblings=l,h.level=a,h.index=d,h.isFirstChild=d===0,h.isLastChild=d+1===e.length,h.parent=i,!h.ignored){const p=n(s);Array.isArray(p)&&(h.children=Lu(p,t,o,r,n,h,a+1))}l.push(h),t.set(h.key,h),o.has(a)||o.set(a,[]),(u=o.get(a))===null||u===void 0||u.push(h)}),l}function Ai(e,t={}){var o;const r=new Map,n=new Map,{getDisabled:i=$S,getIgnored:a=SS,getIsGroup:l=TS,getKey:s=wS}=t,d=(o=t.getChildren)!==null&&o!==void 0?o:yS,u=t.ignoreEmptyChildren?$=>{const S=d($);return Array.isArray(S)?S.length?S:null:S}:d,h=Object.assign({get key(){return s(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return CS(this.rawNode,u)},get shallowLoaded(){return kS(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains($){return WS(this,$)}},HS),p=Lu(e,r,n,h,u);function g($){if($==null)return null;const S=r.get($);return S&&!S.isGroup&&!S.ignored?S:null}function f($){if($==null)return null;const S=r.get($);return S&&!S.ignored?S:null}function v($,S){const w=f($);return w?w.getPrev(S):null}function m($,S){const w=f($);return w?w.getNext(S):null}function b($){const S=f($);return S?S.getParent():null}function C($){const S=f($);return S?S.getChild():null}const R={treeNodes:p,treeNodeMap:r,levelTreeNodeMap:n,maxLevel:Math.max(...n.keys()),getChildren:u,getFlattenedNodes($){return jS(p,$)},getNode:g,getPrev:v,getNext:m,getParent:b,getChild:C,getFirstAvailableNode(){return AS(p)},getPath($,S={}){return ES($,S,R)},getCheckedKeys($,S={}){const{cascade:w=!0,leafOnly:x=!1,checkStrategy:k="all",allowNotLoaded:P=!1}=S;return ha({checkedKeys:ua($),indeterminateKeys:fa($),cascade:w,leafOnly:x,checkStrategy:k,allowNotLoaded:P},R)},check($,S,w={}){const{cascade:x=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:I=!1}=w;return ha({checkedKeys:ua(S),indeterminateKeys:fa(S),keysToCheck:$==null?[]:gd($),cascade:x,leafOnly:k,checkStrategy:P,allowNotLoaded:I},R)},uncheck($,S,w={}){const{cascade:x=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:I=!1}=w;return ha({checkedKeys:ua(S),indeterminateKeys:fa(S),keysToUncheck:$==null?[]:gd($),cascade:x,leafOnly:k,checkStrategy:P,allowNotLoaded:I},R)},getNonLeafKeys($={}){return xS(p,$)}};return R}const Me={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},NS=Co(Me.neutralBase),_u=Co(Me.neutralInvertBase),VS="rgba("+_u.slice(0,3).join(", ")+", ";function rt(e){return VS+String(e)+")"}function US(e){const t=Array.from(_u);return t[3]=Number(e),Ee(NS,t)}const KS=Object.assign(Object.assign({name:"common"},Ut),{baseColor:Me.neutralBase,primaryColor:Me.primaryDefault,primaryColorHover:Me.primaryHover,primaryColorPressed:Me.primaryActive,primaryColorSuppl:Me.primarySuppl,infoColor:Me.infoDefault,infoColorHover:Me.infoHover,infoColorPressed:Me.infoActive,infoColorSuppl:Me.infoSuppl,successColor:Me.successDefault,successColorHover:Me.successHover,successColorPressed:Me.successActive,successColorSuppl:Me.successSuppl,warningColor:Me.warningDefault,warningColorHover:Me.warningHover,warningColorPressed:Me.warningActive,warningColorSuppl:Me.warningSuppl,errorColor:Me.errorDefault,errorColorHover:Me.errorHover,errorColorPressed:Me.errorActive,errorColorSuppl:Me.errorSuppl,textColorBase:Me.neutralTextBase,textColor1:rt(Me.alpha1),textColor2:rt(Me.alpha2),textColor3:rt(Me.alpha3),textColorDisabled:rt(Me.alpha4),placeholderColor:rt(Me.alpha4),placeholderColorDisabled:rt(Me.alpha5),iconColor:rt(Me.alpha4),iconColorDisabled:rt(Me.alpha5),iconColorHover:rt(Number(Me.alpha4)*1.25),iconColorPressed:rt(Number(Me.alpha4)*.8),opacity1:Me.alpha1,opacity2:Me.alpha2,opacity3:Me.alpha3,opacity4:Me.alpha4,opacity5:Me.alpha5,dividerColor:rt(Me.alphaDivider),borderColor:rt(Me.alphaBorder),closeIconColorHover:rt(Number(Me.alphaClose)),closeIconColor:rt(Number(Me.alphaClose)),closeIconColorPressed:rt(Number(Me.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:rt(Me.alpha4),clearColorHover:wt(rt(Me.alpha4),{alpha:1.25}),clearColorPressed:wt(rt(Me.alpha4),{alpha:.8}),scrollbarColor:rt(Me.alphaScrollbar),scrollbarColorHover:rt(Me.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:rt(Me.alphaProgressRail),railColor:rt(Me.alphaRail),popoverColor:Me.neutralPopover,tableColor:Me.neutralCard,cardColor:Me.neutralCard,modalColor:Me.neutralModal,bodyColor:Me.neutralBody,tagColor:US(Me.alphaTag),avatarColor:rt(Me.alphaAvatar),invertedColor:Me.neutralBase,inputColor:rt(Me.alphaInput),codeColor:rt(Me.alphaCode),tabColor:rt(Me.alphaTab),actionColor:rt(Me.alphaAction),tableHeaderColor:rt(Me.alphaAction),hoverColor:rt(Me.alphaPending),tableColorHover:rt(Me.alphaTablePending),tableColorStriped:rt(Me.alphaTableStriped),pressedColor:rt(Me.alphaPressed),opacityDisabled:Me.alphaDisabled,inputColorDisabled:rt(Me.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),ke=KS,Ne={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},qS=Co(Ne.neutralBase),Du=Co(Ne.neutralInvertBase),GS="rgba("+Du.slice(0,3).join(", ")+", ";function md(e){return GS+String(e)+")"}function Mt(e){const t=Array.from(Du);return t[3]=Number(e),Ee(qS,t)}const XS=Object.assign(Object.assign({name:"common"},Ut),{baseColor:Ne.neutralBase,primaryColor:Ne.primaryDefault,primaryColorHover:Ne.primaryHover,primaryColorPressed:Ne.primaryActive,primaryColorSuppl:Ne.primarySuppl,infoColor:Ne.infoDefault,infoColorHover:Ne.infoHover,infoColorPressed:Ne.infoActive,infoColorSuppl:Ne.infoSuppl,successColor:Ne.successDefault,successColorHover:Ne.successHover,successColorPressed:Ne.successActive,successColorSuppl:Ne.successSuppl,warningColor:Ne.warningDefault,warningColorHover:Ne.warningHover,warningColorPressed:Ne.warningActive,warningColorSuppl:Ne.warningSuppl,errorColor:Ne.errorDefault,errorColorHover:Ne.errorHover,errorColorPressed:Ne.errorActive,errorColorSuppl:Ne.errorSuppl,textColorBase:Ne.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Mt(Ne.alpha4),placeholderColor:Mt(Ne.alpha4),placeholderColorDisabled:Mt(Ne.alpha5),iconColor:Mt(Ne.alpha4),iconColorHover:wt(Mt(Ne.alpha4),{lightness:.75}),iconColorPressed:wt(Mt(Ne.alpha4),{lightness:.9}),iconColorDisabled:Mt(Ne.alpha5),opacity1:Ne.alpha1,opacity2:Ne.alpha2,opacity3:Ne.alpha3,opacity4:Ne.alpha4,opacity5:Ne.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Mt(Number(Ne.alphaClose)),closeIconColorHover:Mt(Number(Ne.alphaClose)),closeIconColorPressed:Mt(Number(Ne.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Mt(Ne.alpha4),clearColorHover:wt(Mt(Ne.alpha4),{lightness:.75}),clearColorPressed:wt(Mt(Ne.alpha4),{lightness:.9}),scrollbarColor:md(Ne.alphaScrollbar),scrollbarColorHover:md(Ne.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Mt(Ne.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:Ne.neutralPopover,tableColor:Ne.neutralCard,cardColor:Ne.neutralCard,modalColor:Ne.neutralModal,bodyColor:Ne.neutralBody,tagColor:"#eee",avatarColor:Mt(Ne.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Mt(Ne.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:Ne.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),xe=XS,YS={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},Hu=e=>{const{textColorDisabled:t,iconColor:o,textColor2:r,fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l}=e;return Object.assign(Object.assign({},YS),{fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l,textColor:t,iconColor:o,extraTextColor:r})},ZS={name:"Empty",common:xe,self:Hu},$o=ZS,JS={name:"Empty",common:ke,self:Hu},xr=JS,QS=y("empty",`
    + display: flex;
    + flex-direction: column;
    + align-items: center;
    + font-size: var(--n-font-size);
    +`,[M("icon",`
    + width: var(--n-icon-size);
    + height: var(--n-icon-size);
    + font-size: var(--n-icon-size);
    + line-height: var(--n-icon-size);
    + color: var(--n-icon-color);
    + transition:
    + color .3s var(--n-bezier);
    + `,[z("+",[M("description",`
    + margin-top: 8px;
    + `)])]),M("description",`
    + transition: color .3s var(--n-bezier);
    + color: var(--n-text-color);
    + `),M("extra",`
    + text-align: center;
    + transition: color .3s var(--n-bezier);
    + margin-top: 12px;
    + color: var(--n-extra-text-color);
    + `)]),e2=Object.assign(Object.assign({},we.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),ju=ne({name:"Empty",props:e2,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Empty","-empty",QS,$o,e,t),{localeRef:n}=wo("Empty"),i=Te(lo,null),a=T(()=>{var u,h,p;return(u=e.description)!==null&&u!==void 0?u:(p=(h=i==null?void 0:i.mergedComponentPropsRef.value)===null||h===void 0?void 0:h.Empty)===null||p===void 0?void 0:p.description}),l=T(()=>{var u,h;return((h=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||h===void 0?void 0:h.renderIcon)||(()=>c(nS,null))}),s=T(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:h},self:{[oe("iconSize",u)]:p,[oe("fontSize",u)]:g,textColor:f,iconColor:v,extraTextColor:m}}=r.value;return{"--n-icon-size":p,"--n-font-size":g,"--n-bezier":h,"--n-text-color":f,"--n-icon-color":v,"--n-extra-text-color":m}}),d=o?Qe("empty",T(()=>{let u="";const{size:h}=e;return u+=h[0],u}),s,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:l,localizedDescription:T(()=>a.value||n.value.description),cssVars:o?void 0:s,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:o}=this;return o==null||o(),c("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?c("div",{class:`${t}-empty__icon`},e.icon?e.icon():c(ot,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?c("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?c("div",{class:`${t}-empty__extra`},e.extra()):null)}}),Wu=e=>{const{scrollbarColor:t,scrollbarColorHover:o}=e;return{color:t,colorHover:o}},t2={name:"Scrollbar",common:xe,self:Wu},Et=t2,o2={name:"Scrollbar",common:ke,self:Wu},Dt=o2,{cubicBezierEaseInOut:xd}=Ut;function cr({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:o="0.2s",enterCubicBezier:r=xd,leaveCubicBezier:n=xd}={}){return[z(`&.${e}-transition-enter-active`,{transition:`all ${t} ${r}!important`}),z(`&.${e}-transition-leave-active`,{transition:`all ${o} ${n}!important`}),z(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),z(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const r2=y("scrollbar",`
    + overflow: hidden;
    + position: relative;
    + z-index: auto;
    + height: 100%;
    + width: 100%;
    +`,[z(">",[y("scrollbar-container",`
    + width: 100%;
    + overflow: scroll;
    + height: 100%;
    + min-height: inherit;
    + max-height: inherit;
    + scrollbar-width: none;
    + `,[z("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
    + width: 0;
    + height: 0;
    + display: none;
    + `),z(">",[y("scrollbar-content",`
    + box-sizing: border-box;
    + min-width: 100%;
    + `)])])]),z(">, +",[y("scrollbar-rail",`
    + position: absolute;
    + pointer-events: none;
    + user-select: none;
    + -webkit-user-select: none;
    + `,[B("horizontal",`
    + left: 2px;
    + right: 2px;
    + bottom: 4px;
    + height: var(--n-scrollbar-height);
    + `,[z(">",[M("scrollbar",`
    + height: var(--n-scrollbar-height);
    + border-radius: var(--n-scrollbar-border-radius);
    + right: 0;
    + `)])]),B("vertical",`
    + right: 4px;
    + top: 2px;
    + bottom: 2px;
    + width: var(--n-scrollbar-width);
    + `,[z(">",[M("scrollbar",`
    + width: var(--n-scrollbar-width);
    + border-radius: var(--n-scrollbar-border-radius);
    + bottom: 0;
    + `)])]),B("disabled",[z(">",[M("scrollbar","pointer-events: none;")])]),z(">",[M("scrollbar",`
    + z-index: 1;
    + position: absolute;
    + cursor: pointer;
    + pointer-events: all;
    + background-color: var(--n-scrollbar-color);
    + transition: background-color .2s var(--n-scrollbar-bezier);
    + `,[cr(),z("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),n2=Object.assign(Object.assign({},we.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),Nu=ne({name:"Scrollbar",props:n2,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o,mergedRtlRef:r}=He(e),n=Rt("Scrollbar",r,t),i=E(null),a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(null),v=E(null),m=E(0),b=E(0),C=E(!1),R=E(!1);let $=!1,S=!1,w,x,k=0,P=0,I=0,A=0;const O=cg(),L=T(()=>{const{value:F}=p,{value:G}=u,{value:de}=f;return F===null||G===null||de===null?0:Math.min(F,de*F/G+e.size*1.5)}),H=T(()=>`${L.value}px`),_=T(()=>{const{value:F}=g,{value:G}=h,{value:de}=v;return F===null||G===null||de===null?0:de*F/G+e.size*1.5}),U=T(()=>`${_.value}px`),N=T(()=>{const{value:F}=p,{value:G}=m,{value:de}=u,{value:Re}=f;if(F===null||de===null||Re===null)return 0;{const Ie=de-F;return Ie?G/Ie*(Re-L.value):0}}),te=T(()=>`${N.value}px`),fe=T(()=>{const{value:F}=g,{value:G}=b,{value:de}=h,{value:Re}=v;if(F===null||de===null||Re===null)return 0;{const Ie=de-F;return Ie?G/Ie*(Re-_.value):0}}),ae=T(()=>`${fe.value}px`),Y=T(()=>{const{value:F}=p,{value:G}=u;return F!==null&&G!==null&&G>F}),j=T(()=>{const{value:F}=g,{value:G}=h;return F!==null&&G!==null&&G>F}),X=T(()=>{const{trigger:F}=e;return F==="none"||C.value}),re=T(()=>{const{trigger:F}=e;return F==="none"||R.value}),le=T(()=>{const{container:F}=e;return F?F():a.value}),ge=T(()=>{const{content:F}=e;return F?F():l.value}),me=ul(()=>{e.container||ve({top:m.value,left:b.value})}),Ae=()=>{me.isDeactivated||D()},q=F=>{if(me.isDeactivated)return;const{onResize:G}=e;G&&G(F),D()},ve=(F,G)=>{if(!e.scrollable)return;if(typeof F=="number"){Oe(F,G??0,0,!1,"auto");return}const{left:de,top:Re,index:Ie,elSize:Fe,position:_e,behavior:je,el:Ge,debounce:xt=!0}=F;(de!==void 0||Re!==void 0)&&Oe(de??0,Re??0,0,!1,je),Ge!==void 0?Oe(0,Ge.offsetTop,Ge.offsetHeight,xt,je):Ie!==void 0&&Fe!==void 0?Oe(0,Ie*Fe,Fe,xt,je):_e==="bottom"?Oe(0,Number.MAX_SAFE_INTEGER,0,!1,je):_e==="top"&&Oe(0,0,0,!1,je)},$e=(F,G)=>{if(!e.scrollable)return;const{value:de}=le;de&&(typeof F=="object"?de.scrollBy(F):de.scrollBy(F,G||0))};function Oe(F,G,de,Re,Ie){const{value:Fe}=le;if(Fe){if(Re){const{scrollTop:_e,offsetHeight:je}=Fe;if(G>_e){G+de<=_e+je||Fe.scrollTo({left:F,top:G+de-je,behavior:Ie});return}}Fe.scrollTo({left:F,top:G,behavior:Ie})}}function Z(){Ce(),Pe(),D()}function ue(){be()}function be(){De(),ee()}function De(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{R.value=!1},e.duration)}function ee(){w!==void 0&&window.clearTimeout(w),w=window.setTimeout(()=>{C.value=!1},e.duration)}function Ce(){w!==void 0&&window.clearTimeout(w),C.value=!0}function Pe(){x!==void 0&&window.clearTimeout(x),R.value=!0}function K(F){const{onScroll:G}=e;G&&G(F),Q()}function Q(){const{value:F}=le;F&&(m.value=F.scrollTop,b.value=F.scrollLeft*(n!=null&&n.value?-1:1))}function pe(){const{value:F}=ge;F&&(u.value=F.offsetHeight,h.value=F.offsetWidth);const{value:G}=le;G&&(p.value=G.offsetHeight,g.value=G.offsetWidth);const{value:de}=d,{value:Re}=s;de&&(v.value=de.offsetWidth),Re&&(f.value=Re.offsetHeight)}function V(){const{value:F}=le;F&&(m.value=F.scrollTop,b.value=F.scrollLeft*(n!=null&&n.value?-1:1),p.value=F.offsetHeight,g.value=F.offsetWidth,u.value=F.scrollHeight,h.value=F.scrollWidth);const{value:G}=d,{value:de}=s;G&&(v.value=G.offsetWidth),de&&(f.value=de.offsetHeight)}function D(){e.scrollable&&(e.useUnifiedContainer?V():(pe(),Q()))}function J(F){var G;return!(!((G=i.value)===null||G===void 0)&&G.contains(Lr(F)))}function Se(F){F.preventDefault(),F.stopPropagation(),S=!0,tt("mousemove",window,Le,!0),tt("mouseup",window,qe,!0),P=b.value,I=n!=null&&n.value?window.innerWidth-F.clientX:F.clientX}function Le(F){if(!S)return;w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x);const{value:G}=g,{value:de}=h,{value:Re}=_;if(G===null||de===null)return;const Fe=(n!=null&&n.value?window.innerWidth-F.clientX-I:F.clientX-I)*(de-G)/(G-Re),_e=de-G;let je=P+Fe;je=Math.min(_e,je),je=Math.max(je,0);const{value:Ge}=le;if(Ge){Ge.scrollLeft=je*(n!=null&&n.value?-1:1);const{internalOnUpdateScrollLeft:xt}=e;xt&&xt(je)}}function qe(F){F.preventDefault(),F.stopPropagation(),Xe("mousemove",window,Le,!0),Xe("mouseup",window,qe,!0),S=!1,D(),J(F)&&be()}function it(F){F.preventDefault(),F.stopPropagation(),$=!0,tt("mousemove",window,ye,!0),tt("mouseup",window,ze,!0),k=m.value,A=F.clientY}function ye(F){if(!$)return;w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x);const{value:G}=p,{value:de}=u,{value:Re}=L;if(G===null||de===null)return;const Fe=(F.clientY-A)*(de-G)/(G-Re),_e=de-G;let je=k+Fe;je=Math.min(_e,je),je=Math.max(je,0);const{value:Ge}=le;Ge&&(Ge.scrollTop=je)}function ze(F){F.preventDefault(),F.stopPropagation(),Xe("mousemove",window,ye,!0),Xe("mouseup",window,ze,!0),$=!1,D(),J(F)&&be()}vt(()=>{const{value:F}=j,{value:G}=Y,{value:de}=t,{value:Re}=d,{value:Ie}=s;Re&&(F?Re.classList.remove(`${de}-scrollbar-rail--disabled`):Re.classList.add(`${de}-scrollbar-rail--disabled`)),Ie&&(G?Ie.classList.remove(`${de}-scrollbar-rail--disabled`):Ie.classList.add(`${de}-scrollbar-rail--disabled`))}),gt(()=>{e.container||D()}),dt(()=>{w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x),Xe("mousemove",window,ye,!0),Xe("mouseup",window,ze,!0)});const Ke=we("Scrollbar","-scrollbar",r2,Et,e,t),Be=T(()=>{const{common:{cubicBezierEaseInOut:F,scrollbarBorderRadius:G,scrollbarHeight:de,scrollbarWidth:Re},self:{color:Ie,colorHover:Fe}}=Ke.value;return{"--n-scrollbar-bezier":F,"--n-scrollbar-color":Ie,"--n-scrollbar-color-hover":Fe,"--n-scrollbar-border-radius":G,"--n-scrollbar-width":Re,"--n-scrollbar-height":de}}),Ve=o?Qe("scrollbar",void 0,Be,e):void 0;return Object.assign(Object.assign({},{scrollTo:ve,scrollBy:$e,sync:D,syncUnifiedContainer:V,handleMouseEnterWrapper:Z,handleMouseLeaveWrapper:ue}),{mergedClsPrefix:t,rtlEnabled:n,containerScrollTop:m,wrapperRef:i,containerRef:a,contentRef:l,yRailRef:s,xRailRef:d,needYBar:Y,needXBar:j,yBarSizePx:H,xBarSizePx:U,yBarTopPx:te,xBarLeftPx:ae,isShowXBar:X,isShowYBar:re,isIos:O,handleScroll:K,handleContentResize:Ae,handleContainerResize:q,handleYScrollMouseDown:it,handleXScrollMouseDown:Se,cssVars:o?void 0:Be,themeClass:Ve==null?void 0:Ve.themeClass,onRender:Ve==null?void 0:Ve.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:o,triggerDisplayManually:r,rtlEnabled:n,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",l=(u,h)=>c("div",{ref:"yRailRef",class:[`${o}-scrollbar-rail`,`${o}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[h||"",this.verticalRailStyle],"aria-hidden":!0},c(a?Ma:kt,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?c("div",{class:`${o}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),s=()=>{var u,h;return(u=this.onRender)===null||u===void 0||u.call(this),c("div",Ft(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${o}-scrollbar`,this.themeClass,n&&`${o}-scrollbar--rtl`],style:this.cssVars,onMouseenter:r?void 0:this.handleMouseEnterWrapper,onMouseleave:r?void 0:this.handleMouseLeaveWrapper}),[this.container?(h=t.default)===null||h===void 0?void 0:h.call(t):c("div",{role:"none",ref:"containerRef",class:[`${o}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},c(io,{onResize:this.handleContentResize},{default:()=>c("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${o}-scrollbar-content`,this.contentClass]},t)})),i?null:l(void 0,void 0),this.xScrollable&&c("div",{ref:"xRailRef",class:[`${o}-scrollbar-rail`,`${o}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},c(a?Ma:kt,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?c("div",{class:`${o}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:n?this.xBarLeftPx:void 0,left:n?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},d=this.container?s():c(io,{onResize:this.handleContainerResize},{default:s});return i?c(yt,null,d,l(this.themeClass,this.cssVars)):d}}),so=Nu,Vu=Nu,i2={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},Uu=e=>{const{borderRadius:t,popoverColor:o,textColor3:r,dividerColor:n,textColor2:i,primaryColorPressed:a,textColorDisabled:l,primaryColor:s,opacityDisabled:d,hoverColor:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,fontSizeHuge:f,heightSmall:v,heightMedium:m,heightLarge:b,heightHuge:C}=e;return Object.assign(Object.assign({},i2),{optionFontSizeSmall:h,optionFontSizeMedium:p,optionFontSizeLarge:g,optionFontSizeHuge:f,optionHeightSmall:v,optionHeightMedium:m,optionHeightLarge:b,optionHeightHuge:C,borderRadius:t,color:o,groupHeaderTextColor:r,actionDividerColor:n,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:l,optionTextColorActive:s,optionOpacityDisabled:d,optionCheckColor:s,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:s})},a2={name:"InternalSelectMenu",common:xe,peers:{Scrollbar:Et,Empty:$o},self:Uu},Xr=a2,l2={name:"InternalSelectMenu",common:ke,peers:{Scrollbar:Dt,Empty:xr},self:Uu},En=l2;function s2(e,t){return c(kt,{name:"fade-in-scale-up-transition"},{default:()=>e?c(ot,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>c(eS)}):null})}const Cd=ne({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:o,multipleRef:r,valueSetRef:n,renderLabelRef:i,renderOptionRef:a,labelFieldRef:l,valueFieldRef:s,showCheckmarkRef:d,nodePropsRef:u,handleOptionClick:h,handleOptionMouseEnter:p}=Te(al),g=Ye(()=>{const{value:b}=o;return b?e.tmNode.key===b.key:!1});function f(b){const{tmNode:C}=e;C.disabled||h(b,C)}function v(b){const{tmNode:C}=e;C.disabled||p(b,C)}function m(b){const{tmNode:C}=e,{value:R}=g;C.disabled||R||p(b,C)}return{multiple:r,isGrouped:Ye(()=>{const{tmNode:b}=e,{parent:C}=b;return C&&C.rawNode.type==="group"}),showCheckmark:d,nodeProps:u,isPending:g,isSelected:Ye(()=>{const{value:b}=t,{value:C}=r;if(b===null)return!1;const R=e.tmNode.rawNode[s.value];if(C){const{value:$}=n;return $.has(R)}else return b===R}),labelField:l,renderLabel:i,renderOption:a,handleMouseMove:m,handleMouseEnter:v,handleClick:f}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:o,isPending:r,isGrouped:n,showCheckmark:i,nodeProps:a,renderOption:l,renderLabel:s,handleClick:d,handleMouseEnter:u,handleMouseMove:h}=this,p=s2(o,e),g=s?[s(t,o),i&&p]:[pt(t[this.labelField],t,o),i&&p],f=a==null?void 0:a(t),v=c("div",Object.assign({},f,{class:[`${e}-base-select-option`,t.class,f==null?void 0:f.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:o,[`${e}-base-select-option--grouped`]:n,[`${e}-base-select-option--pending`]:r,[`${e}-base-select-option--show-checkmark`]:i}],style:[(f==null?void 0:f.style)||"",t.style||""],onClick:un([d,f==null?void 0:f.onClick]),onMouseenter:un([u,f==null?void 0:f.onMouseenter]),onMousemove:un([h,f==null?void 0:f.onMousemove])}),c("div",{class:`${e}-base-select-option__content`},g));return t.render?t.render({node:v,option:t,selected:o}):l?l({node:v,option:t,selected:o}):v}}),yd=ne({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:o,nodePropsRef:r}=Te(al);return{labelField:o,nodeProps:r,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:o,nodeProps:r,tmNode:{rawNode:n}}=this,i=r==null?void 0:r(n),a=t?t(n,!1):pt(n[this.labelField],n,!1),l=c("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return n.render?n.render({node:l,option:n}):o?o({node:l,option:n,selected:!1}):l}}),{cubicBezierEaseIn:wd,cubicBezierEaseOut:Sd}=Ut;function Go({transformOrigin:e="inherit",duration:t=".2s",enterScale:o=".9",originalTransform:r="",originalTransition:n=""}={}){return[z("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${wd}, transform ${t} ${wd} ${n&&","+n}`}),z("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${Sd}, transform ${t} ${Sd} ${n&&","+n}`}),z("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${r} scale(${o})`}),z("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${r} scale(1)`})]}const d2=y("base-select-menu",`
    + line-height: 1.5;
    + outline: none;
    + z-index: 0;
    + position: relative;
    + border-radius: var(--n-border-radius);
    + transition:
    + background-color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier);
    + background-color: var(--n-color);
    +`,[y("scrollbar",`
    + max-height: var(--n-height);
    + `),y("virtual-list",`
    + max-height: var(--n-height);
    + `),y("base-select-option",`
    + min-height: var(--n-option-height);
    + font-size: var(--n-option-font-size);
    + display: flex;
    + align-items: center;
    + `,[M("content",`
    + z-index: 1;
    + white-space: nowrap;
    + text-overflow: ellipsis;
    + overflow: hidden;
    + `)]),y("base-select-group-header",`
    + min-height: var(--n-option-height);
    + font-size: .93em;
    + display: flex;
    + align-items: center;
    + `),y("base-select-menu-option-wrapper",`
    + position: relative;
    + width: 100%;
    + `),M("loading, empty",`
    + display: flex;
    + padding: 12px 32px;
    + flex: 1;
    + justify-content: center;
    + `),M("loading",`
    + color: var(--n-loading-color);
    + font-size: var(--n-loading-size);
    + `),M("header",`
    + padding: 8px var(--n-option-padding-left);
    + font-size: var(--n-option-font-size);
    + transition: 
    + color .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    + border-bottom: 1px solid var(--n-action-divider-color);
    + color: var(--n-action-text-color);
    + `),M("action",`
    + padding: 8px var(--n-option-padding-left);
    + font-size: var(--n-option-font-size);
    + transition: 
    + color .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    + border-top: 1px solid var(--n-action-divider-color);
    + color: var(--n-action-text-color);
    + `),y("base-select-group-header",`
    + position: relative;
    + cursor: default;
    + padding: var(--n-option-padding);
    + color: var(--n-group-header-text-color);
    + `),y("base-select-option",`
    + cursor: pointer;
    + position: relative;
    + padding: var(--n-option-padding);
    + transition:
    + color .3s var(--n-bezier),
    + opacity .3s var(--n-bezier);
    + box-sizing: border-box;
    + color: var(--n-option-text-color);
    + opacity: 1;
    + `,[B("show-checkmark",`
    + padding-right: calc(var(--n-option-padding-right) + 20px);
    + `),z("&::before",`
    + content: "";
    + position: absolute;
    + left: 4px;
    + right: 4px;
    + top: 0;
    + bottom: 0;
    + border-radius: var(--n-border-radius);
    + transition: background-color .3s var(--n-bezier);
    + `),z("&:active",`
    + color: var(--n-option-text-color-pressed);
    + `),B("grouped",`
    + padding-left: calc(var(--n-option-padding-left) * 1.5);
    + `),B("pending",[z("&::before",`
    + background-color: var(--n-option-color-pending);
    + `)]),B("selected",`
    + color: var(--n-option-text-color-active);
    + `,[z("&::before",`
    + background-color: var(--n-option-color-active);
    + `),B("pending",[z("&::before",`
    + background-color: var(--n-option-color-active-pending);
    + `)])]),B("disabled",`
    + cursor: not-allowed;
    + `,[nt("selected",`
    + color: var(--n-option-text-color-disabled);
    + `),B("selected",`
    + opacity: var(--n-option-opacity-disabled);
    + `)]),M("check",`
    + font-size: 16px;
    + position: absolute;
    + right: calc(var(--n-option-padding-right) - 4px);
    + top: calc(50% - 7px);
    + color: var(--n-option-check-color);
    + transition: color .3s var(--n-bezier);
    + `,[Go({enterScale:"0.5"})])])]),Ku=ne({name:"InternalSelectMenu",props:Object.assign(Object.assign({},we.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("InternalSelectMenu",o,t),n=we("InternalSelectMenu","-internal-select-menu",d2,Xr,e,he(e,"clsPrefix")),i=E(null),a=E(null),l=E(null),s=T(()=>e.treeMate.getFlattenedNodes()),d=T(()=>BS(s.value)),u=E(null);function h(){const{treeMate:j}=e;let X=null;const{value:re}=e;re===null?X=j.getFirstAvailableNode():(e.multiple?X=j.getNode((re||[])[(re||[]).length-1]):X=j.getNode(re),(!X||X.disabled)&&(X=j.getFirstAvailableNode())),H(X||null)}function p(){const{value:j}=u;j&&!e.treeMate.getNode(j.key)&&(u.value=null)}let g;Je(()=>e.show,j=>{j?g=Je(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?h():p(),ut(_)):p()},{immediate:!0}):g==null||g()},{immediate:!0}),dt(()=>{g==null||g()});const f=T(()=>Tt(n.value.self[oe("optionHeight",e.size)])),v=T(()=>_t(n.value.self[oe("padding",e.size)])),m=T(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),b=T(()=>{const j=s.value;return j&&j.length===0});function C(j){const{onToggle:X}=e;X&&X(j)}function R(j){const{onScroll:X}=e;X&&X(j)}function $(j){var X;(X=l.value)===null||X===void 0||X.sync(),R(j)}function S(){var j;(j=l.value)===null||j===void 0||j.sync()}function w(){const{value:j}=u;return j||null}function x(j,X){X.disabled||H(X,!1)}function k(j,X){X.disabled||C(X)}function P(j){var X;no(j,"action")||(X=e.onKeyup)===null||X===void 0||X.call(e,j)}function I(j){var X;no(j,"action")||(X=e.onKeydown)===null||X===void 0||X.call(e,j)}function A(j){var X;(X=e.onMousedown)===null||X===void 0||X.call(e,j),!e.focusable&&j.preventDefault()}function O(){const{value:j}=u;j&&H(j.getNext({loop:!0}),!0)}function L(){const{value:j}=u;j&&H(j.getPrev({loop:!0}),!0)}function H(j,X=!1){u.value=j,X&&_()}function _(){var j,X;const re=u.value;if(!re)return;const le=d.value(re.key);le!==null&&(e.virtualScroll?(j=a.value)===null||j===void 0||j.scrollTo({index:le}):(X=l.value)===null||X===void 0||X.scrollTo({index:le,elSize:f.value}))}function U(j){var X,re;!((X=i.value)===null||X===void 0)&&X.contains(j.target)&&((re=e.onFocus)===null||re===void 0||re.call(e,j))}function N(j){var X,re;!((X=i.value)===null||X===void 0)&&X.contains(j.relatedTarget)||(re=e.onBlur)===null||re===void 0||re.call(e,j)}Ue(al,{handleOptionMouseEnter:x,handleOptionClick:k,valueSetRef:m,pendingTmNodeRef:u,nodePropsRef:he(e,"nodeProps"),showCheckmarkRef:he(e,"showCheckmark"),multipleRef:he(e,"multiple"),valueRef:he(e,"value"),renderLabelRef:he(e,"renderLabel"),renderOptionRef:he(e,"renderOption"),labelFieldRef:he(e,"labelField"),valueFieldRef:he(e,"valueField")}),Ue(Sc,i),gt(()=>{const{value:j}=l;j&&j.sync()});const te=T(()=>{const{size:j}=e,{common:{cubicBezierEaseInOut:X},self:{height:re,borderRadius:le,color:ge,groupHeaderTextColor:me,actionDividerColor:Ae,optionTextColorPressed:q,optionTextColor:ve,optionTextColorDisabled:$e,optionTextColorActive:Oe,optionOpacityDisabled:Z,optionCheckColor:ue,actionTextColor:be,optionColorPending:De,optionColorActive:ee,loadingColor:Ce,loadingSize:Pe,optionColorActivePending:K,[oe("optionFontSize",j)]:Q,[oe("optionHeight",j)]:pe,[oe("optionPadding",j)]:V}}=n.value;return{"--n-height":re,"--n-action-divider-color":Ae,"--n-action-text-color":be,"--n-bezier":X,"--n-border-radius":le,"--n-color":ge,"--n-option-font-size":Q,"--n-group-header-text-color":me,"--n-option-check-color":ue,"--n-option-color-pending":De,"--n-option-color-active":ee,"--n-option-color-active-pending":K,"--n-option-height":pe,"--n-option-opacity-disabled":Z,"--n-option-text-color":ve,"--n-option-text-color-active":Oe,"--n-option-text-color-disabled":$e,"--n-option-text-color-pressed":q,"--n-option-padding":V,"--n-option-padding-left":_t(V,"left"),"--n-option-padding-right":_t(V,"right"),"--n-loading-color":Ce,"--n-loading-size":Pe}}),{inlineThemeDisabled:fe}=e,ae=fe?Qe("internal-select-menu",T(()=>e.size[0]),te,e):void 0,Y={selfRef:i,next:O,prev:L,getPendingTmNode:w};return Hc(i,e.onResize),Object.assign({mergedTheme:n,mergedClsPrefix:t,rtlEnabled:r,virtualListRef:a,scrollbarRef:l,itemSize:f,padding:v,flattenedNodes:s,empty:b,virtualListContainer(){const{value:j}=a;return j==null?void 0:j.listElRef},virtualListContent(){const{value:j}=a;return j==null?void 0:j.itemsElRef},doScroll:R,handleFocusin:U,handleFocusout:N,handleKeyUp:P,handleKeyDown:I,handleMouseDown:A,handleVirtualListResize:S,handleVirtualListScroll:$,cssVars:fe?void 0:te,themeClass:ae==null?void 0:ae.themeClass,onRender:ae==null?void 0:ae.onRender},Y)},render(){const{$slots:e,virtualScroll:t,clsPrefix:o,mergedTheme:r,themeClass:n,onRender:i}=this;return i==null||i(),c("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${o}-base-select-menu`,this.rtlEnabled&&`${o}-base-select-menu--rtl`,n,this.multiple&&`${o}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},Ze(e.header,a=>a&&c("div",{class:`${o}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?c("div",{class:`${o}-base-select-menu__loading`},c(Yo,{clsPrefix:o,strokeWidth:20})):this.empty?c("div",{class:`${o}-base-select-menu__empty`,"data-empty":!0},Bt(e.empty,()=>[c(ju,{theme:r.peers.Empty,themeOverrides:r.peerOverrides.Empty})])):c(so,{ref:"scrollbarRef",theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?c(Ec,{ref:"virtualListRef",class:`${o}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?c(yd,{key:a.key,clsPrefix:o,tmNode:a}):a.ignored?null:c(Cd,{clsPrefix:o,key:a.key,tmNode:a})}):c("div",{class:`${o}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?c(yd,{key:a.key,clsPrefix:o,tmNode:a}):c(Cd,{clsPrefix:o,key:a.key,tmNode:a})))}),Ze(e.action,a=>a&&[c("div",{class:`${o}-base-select-menu__action`,"data-action":!0,key:"action"},a),c(vS,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),c2=y("base-wave",`
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + border-radius: inherit;
    +`),u2=ne({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Do("-base-wave",c2,he(e,"clsPrefix"));const t=E(null),o=E(!1);let r=null;return dt(()=>{r!==null&&window.clearTimeout(r)}),{active:o,selfRef:t,play(){r!==null&&(window.clearTimeout(r),o.value=!1,r=null),ut(()=>{var n;(n=t.value)===null||n===void 0||n.offsetHeight,o.value=!0,r=window.setTimeout(()=>{o.value=!1,r=null},1e3)})}}},render(){const{clsPrefix:e}=this;return c("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),f2={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},qu=e=>{const{boxShadow2:t,popoverColor:o,textColor2:r,borderRadius:n,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},f2),{fontSize:i,borderRadius:n,color:o,dividerColor:a,textColor:r,boxShadow:t})},h2={name:"Popover",common:xe,self:qu},Zo=h2,p2={name:"Popover",common:ke,self:qu},Cr=p2,pa={top:"bottom",bottom:"top",left:"right",right:"left"},Pt="var(--n-arrow-height) * 1.414",v2=z([y("popover",`
    + transition:
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + position: relative;
    + font-size: var(--n-font-size);
    + color: var(--n-text-color);
    + box-shadow: var(--n-box-shadow);
    + word-break: break-word;
    + `,[z(">",[y("scrollbar",`
    + height: inherit;
    + max-height: inherit;
    + `)]),nt("raw",`
    + background-color: var(--n-color);
    + border-radius: var(--n-border-radius);
    + `,[nt("scrollable",[nt("show-header-or-footer","padding: var(--n-padding);")])]),M("header",`
    + padding: var(--n-padding);
    + border-bottom: 1px solid var(--n-divider-color);
    + transition: border-color .3s var(--n-bezier);
    + `),M("footer",`
    + padding: var(--n-padding);
    + border-top: 1px solid var(--n-divider-color);
    + transition: border-color .3s var(--n-bezier);
    + `),B("scrollable, show-header-or-footer",[M("content",`
    + padding: var(--n-padding);
    + `)])]),y("popover-shared",`
    + transform-origin: inherit;
    + `,[y("popover-arrow-wrapper",`
    + position: absolute;
    + overflow: hidden;
    + pointer-events: none;
    + `,[y("popover-arrow",`
    + transition: background-color .3s var(--n-bezier);
    + position: absolute;
    + display: block;
    + width: calc(${Pt});
    + height: calc(${Pt});
    + box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
    + transform: rotate(45deg);
    + background-color: var(--n-color);
    + pointer-events: all;
    + `)]),z("&.popover-transition-enter-from, &.popover-transition-leave-to",`
    + opacity: 0;
    + transform: scale(.85);
    + `),z("&.popover-transition-enter-to, &.popover-transition-leave-from",`
    + transform: scale(1);
    + opacity: 1;
    + `),z("&.popover-transition-enter-active",`
    + transition:
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + opacity .15s var(--n-bezier-ease-out),
    + transform .15s var(--n-bezier-ease-out);
    + `),z("&.popover-transition-leave-active",`
    + transition:
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + opacity .15s var(--n-bezier-ease-in),
    + transform .15s var(--n-bezier-ease-in);
    + `)]),Gt("top-start",`
    + top: calc(${Pt} / -2);
    + left: calc(${Mo("top-start")} - var(--v-offset-left));
    + `),Gt("top",`
    + top: calc(${Pt} / -2);
    + transform: translateX(calc(${Pt} / -2)) rotate(45deg);
    + left: 50%;
    + `),Gt("top-end",`
    + top: calc(${Pt} / -2);
    + right: calc(${Mo("top-end")} + var(--v-offset-left));
    + `),Gt("bottom-start",`
    + bottom: calc(${Pt} / -2);
    + left: calc(${Mo("bottom-start")} - var(--v-offset-left));
    + `),Gt("bottom",`
    + bottom: calc(${Pt} / -2);
    + transform: translateX(calc(${Pt} / -2)) rotate(45deg);
    + left: 50%;
    + `),Gt("bottom-end",`
    + bottom: calc(${Pt} / -2);
    + right: calc(${Mo("bottom-end")} + var(--v-offset-left));
    + `),Gt("left-start",`
    + left: calc(${Pt} / -2);
    + top: calc(${Mo("left-start")} - var(--v-offset-top));
    + `),Gt("left",`
    + left: calc(${Pt} / -2);
    + transform: translateY(calc(${Pt} / -2)) rotate(45deg);
    + top: 50%;
    + `),Gt("left-end",`
    + left: calc(${Pt} / -2);
    + bottom: calc(${Mo("left-end")} + var(--v-offset-top));
    + `),Gt("right-start",`
    + right: calc(${Pt} / -2);
    + top: calc(${Mo("right-start")} - var(--v-offset-top));
    + `),Gt("right",`
    + right: calc(${Pt} / -2);
    + transform: translateY(calc(${Pt} / -2)) rotate(45deg);
    + top: 50%;
    + `),Gt("right-end",`
    + right: calc(${Pt} / -2);
    + bottom: calc(${Mo("right-end")} + var(--v-offset-top));
    + `),...hy({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const o=["right","left"].includes(t),r=o?"width":"height";return e.map(n=>{const i=n.split("-")[1]==="end",l=`calc((${`var(--v-target-${r}, 0px)`} - ${Pt}) / 2)`,s=Mo(n);return z(`[v-placement="${n}"] >`,[y("popover-shared",[B("center-arrow",[y("popover-arrow",`${t}: calc(max(${l}, ${s}) ${i?"+":"-"} var(--v-offset-${o?"left":"top"}));`)])])])})})]);function Mo(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function Gt(e,t){const o=e.split("-")[0],r=["top","bottom"].includes(o)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return z(`[v-placement="${e}"] >`,[y("popover-shared",`
    + margin-${pa[o]}: var(--n-space);
    + `,[B("show-arrow",`
    + margin-${pa[o]}: var(--n-space-arrow);
    + `),B("overlap",`
    + margin: 0;
    + `),qv("popover-arrow-wrapper",`
    + right: 0;
    + left: 0;
    + top: 0;
    + bottom: 0;
    + ${o}: 100%;
    + ${pa[o]}: auto;
    + ${r}
    + `,[y("popover-arrow",t)])])])}const Gu=Object.assign(Object.assign({},we.props),{to:Vt.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),Xu=({arrowClass:e,arrowStyle:t,arrowWrapperClass:o,arrowWrapperStyle:r,clsPrefix:n})=>c("div",{key:"__popover-arrow__",style:r,class:[`${n}-popover-arrow-wrapper`,o]},c("div",{class:[`${n}-popover-arrow`,e],style:t})),g2=ne({name:"PopoverBody",inheritAttrs:!1,props:Gu,setup(e,{slots:t,attrs:o}){const{namespaceRef:r,mergedClsPrefixRef:n,inlineThemeDisabled:i}=He(e),a=we("Popover","-popover",v2,Zo,e,n),l=E(null),s=Te("NPopover"),d=E(null),u=E(e.show),h=E(!1);vt(()=>{const{show:x}=e;x&&!Gv()&&!e.internalDeactivateImmediately&&(h.value=!0)});const p=T(()=>{const{trigger:x,onClickoutside:k}=e,P=[],{positionManuallyRef:{value:I}}=s;return I||(x==="click"&&!k&&P.push([_r,$,void 0,{capture:!0}]),x==="hover"&&P.push([yg,R])),k&&P.push([_r,$,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&h.value)&&P.push([ao,e.show]),P}),g=T(()=>{const x=e.width==="trigger"?void 0:mt(e.width),k=[];x&&k.push({width:x});const{maxWidth:P,minWidth:I}=e;return P&&k.push({maxWidth:mt(P)}),I&&k.push({maxWidth:mt(I)}),i||k.push(f.value),k}),f=T(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:k,cubicBezierEaseOut:P},self:{space:I,spaceArrow:A,padding:O,fontSize:L,textColor:H,dividerColor:_,color:U,boxShadow:N,borderRadius:te,arrowHeight:fe,arrowOffset:ae,arrowOffsetVertical:Y}}=a.value;return{"--n-box-shadow":N,"--n-bezier":x,"--n-bezier-ease-in":k,"--n-bezier-ease-out":P,"--n-font-size":L,"--n-text-color":H,"--n-color":U,"--n-divider-color":_,"--n-border-radius":te,"--n-arrow-height":fe,"--n-arrow-offset":ae,"--n-arrow-offset-vertical":Y,"--n-padding":O,"--n-space":I,"--n-space-arrow":A}}),v=i?Qe("popover",void 0,f,e):void 0;s.setBodyInstance({syncPosition:m}),dt(()=>{s.setBodyInstance(null)}),Je(he(e,"show"),x=>{e.animated||(x?u.value=!0:u.value=!1)});function m(){var x;(x=l.value)===null||x===void 0||x.syncPosition()}function b(x){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&s.handleMouseEnter(x)}function C(x){e.trigger==="hover"&&e.keepAliveOnHover&&s.handleMouseLeave(x)}function R(x){e.trigger==="hover"&&!S().contains(Lr(x))&&s.handleMouseMoveOutside(x)}function $(x){(e.trigger==="click"&&!S().contains(Lr(x))||e.onClickoutside)&&s.handleClickOutside(x)}function S(){return s.getTriggerElement()}Ue(qr,d),Ue(Mn,null),Ue(Bn,null);function w(){if(v==null||v.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&h.value))return null;let k;const P=s.internalRenderBodyRef.value,{value:I}=n;if(P)k=P([`${I}-popover-shared`,v==null?void 0:v.themeClass.value,e.overlap&&`${I}-popover-shared--overlap`,e.showArrow&&`${I}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${I}-popover-shared--center-arrow`],d,g.value,b,C);else{const{value:A}=s.extraClassRef,{internalTrapFocus:O}=e,L=!Or(t.header)||!Or(t.footer),H=()=>{var _,U;const N=L?c(yt,null,Ze(t.header,ae=>ae?c("div",{class:[`${I}-popover__header`,e.headerClass],style:e.headerStyle},ae):null),Ze(t.default,ae=>ae?c("div",{class:[`${I}-popover__content`,e.contentClass],style:e.contentStyle},t):null),Ze(t.footer,ae=>ae?c("div",{class:[`${I}-popover__footer`,e.footerClass],style:e.footerStyle},ae):null)):e.scrollable?(_=t.default)===null||_===void 0?void 0:_.call(t):c("div",{class:[`${I}-popover__content`,e.contentClass],style:e.contentStyle},t),te=e.scrollable?c(Vu,{contentClass:L?void 0:`${I}-popover__content ${(U=e.contentClass)!==null&&U!==void 0?U:""}`,contentStyle:L?void 0:e.contentStyle},{default:()=>N}):N,fe=e.showArrow?Xu({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:I}):null;return[te,fe]};k=c("div",Ft({class:[`${I}-popover`,`${I}-popover-shared`,v==null?void 0:v.themeClass.value,A.map(_=>`${I}-${_}`),{[`${I}-popover--scrollable`]:e.scrollable,[`${I}-popover--show-header-or-footer`]:L,[`${I}-popover--raw`]:e.raw,[`${I}-popover-shared--overlap`]:e.overlap,[`${I}-popover-shared--show-arrow`]:e.showArrow,[`${I}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:d,style:g.value,onKeydown:s.handleKeydown,onMouseenter:b,onMouseleave:C},o),O?c(dl,{active:e.show,autoFocus:!0},{default:H}):H())}return It(k,p.value)}return{displayed:h,namespace:r,isMounted:s.isMountedRef,zIndex:s.zIndexRef,followerRef:l,adjustedTo:Vt(e),followerEnabled:u,renderContentNode:w}},render(){return c(Ti,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Vt.tdkey},{default:()=>this.animated?c(kt,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),b2=Object.keys(Gu),m2={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function x2(e,t,o){m2[t].forEach(r=>{e.props?e.props=Object.assign({},e.props):e.props={};const n=e.props[r],i=o[r];n?e.props[r]=(...a)=>{n(...a),i(...a)}:e.props[r]=i})}const ur={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Vt.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},C2=Object.assign(Object.assign(Object.assign({},we.props),ur),{internalOnAfterLeave:Function,internalRenderBody:Function}),Yr=ne({name:"Popover",inheritAttrs:!1,props:C2,__popover__:!0,setup(e){const t=Ao(),o=E(null),r=T(()=>e.show),n=E(e.defaultShow),i=$t(r,n),a=Ye(()=>e.disabled?!1:i.value),l=()=>{if(e.disabled)return!0;const{getDisabled:_}=e;return!!(_!=null&&_())},s=()=>l()?!1:i.value,d=Cn(e,["arrow","showArrow"]),u=T(()=>e.overlap?!1:d.value);let h=null;const p=E(null),g=E(null),f=Ye(()=>e.x!==void 0&&e.y!==void 0);function v(_){const{"onUpdate:show":U,onUpdateShow:N,onShow:te,onHide:fe}=e;n.value=_,U&&ie(U,_),N&&ie(N,_),_&&te&&ie(te,!0),_&&fe&&ie(fe,!1)}function m(){h&&h.syncPosition()}function b(){const{value:_}=p;_&&(window.clearTimeout(_),p.value=null)}function C(){const{value:_}=g;_&&(window.clearTimeout(_),g.value=null)}function R(){const _=l();if(e.trigger==="focus"&&!_){if(s())return;v(!0)}}function $(){const _=l();if(e.trigger==="focus"&&!_){if(!s())return;v(!1)}}function S(){const _=l();if(e.trigger==="hover"&&!_){if(C(),p.value!==null||s())return;const U=()=>{v(!0),p.value=null},{delay:N}=e;N===0?U():p.value=window.setTimeout(U,N)}}function w(){const _=l();if(e.trigger==="hover"&&!_){if(b(),g.value!==null||!s())return;const U=()=>{v(!1),g.value=null},{duration:N}=e;N===0?U():g.value=window.setTimeout(U,N)}}function x(){w()}function k(_){var U;s()&&(e.trigger==="click"&&(b(),C(),v(!1)),(U=e.onClickoutside)===null||U===void 0||U.call(e,_))}function P(){if(e.trigger==="click"&&!l()){b(),C();const _=!s();v(_)}}function I(_){e.internalTrapFocus&&_.key==="Escape"&&(b(),C(),v(!1))}function A(_){n.value=_}function O(){var _;return(_=o.value)===null||_===void 0?void 0:_.targetRef}function L(_){h=_}return Ue("NPopover",{getTriggerElement:O,handleKeydown:I,handleMouseEnter:S,handleMouseLeave:w,handleClickOutside:k,handleMouseMoveOutside:x,setBodyInstance:L,positionManuallyRef:f,isMountedRef:t,zIndexRef:he(e,"zIndex"),extraClassRef:he(e,"internalExtraClass"),internalRenderBodyRef:he(e,"internalRenderBody")}),vt(()=>{i.value&&l()&&v(!1)}),{binderInstRef:o,positionManually:f,mergedShowConsideringDisabledProp:a,uncontrolledShow:n,mergedShowArrow:u,getMergedShow:s,setShow:A,handleClick:P,handleMouseEnter:S,handleMouseLeave:w,handleFocus:R,handleBlur:$,syncPosition:m}},render(){var e;const{positionManually:t,$slots:o}=this;let r,n=!1;if(!t&&(o.activator?r=Ba(o,"activator"):r=Ba(o,"trigger"),r)){r=gn(r),r=r.type===cv?c("span",[r]):r;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=r.type)===null||e===void 0)&&e.__popover__)n=!0,r.props||(r.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),r.props.internalSyncTargetWithParent=!0,r.props.internalInheritedEventHandlers?r.props.internalInheritedEventHandlers=[i,...r.props.internalInheritedEventHandlers]:r.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,l=[i,...a],s={onBlur:d=>{l.forEach(u=>{u.onBlur(d)})},onFocus:d=>{l.forEach(u=>{u.onFocus(d)})},onClick:d=>{l.forEach(u=>{u.onClick(d)})},onMouseenter:d=>{l.forEach(u=>{u.onMouseenter(d)})},onMouseleave:d=>{l.forEach(u=>{u.onMouseleave(d)})}};x2(r,a?"nested":t?"manual":this.trigger,s)}}return c($i,{ref:"binderInstRef",syncTarget:!n,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?It(c("div",{style:{position:"fixed",inset:0}}),[[On,{enabled:i,zIndex:this.zIndex}]]):null,t?null:c(Ri,null,{default:()=>r}),c(g2,Io(this.$props,b2,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,l;return(l=(a=this.$slots).default)===null||l===void 0?void 0:l.call(a)},header:()=>{var a,l;return(l=(a=this.$slots).header)===null||l===void 0?void 0:l.call(a)},footer:()=>{var a,l;return(l=(a=this.$slots).footer)===null||l===void 0?void 0:l.call(a)}})]}})}}),Yu={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},y2={name:"Tag",common:ke,self(e){const{textColor2:t,primaryColorHover:o,primaryColorPressed:r,primaryColor:n,infoColor:i,successColor:a,warningColor:l,errorColor:s,baseColor:d,borderColor:u,tagColor:h,opacityDisabled:p,closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:m,closeColorPressed:b,borderRadiusSmall:C,fontSizeMini:R,fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,heightMini:x,heightTiny:k,heightSmall:P,heightMedium:I,buttonColor2Hover:A,buttonColor2Pressed:O,fontWeightStrong:L}=e;return Object.assign(Object.assign({},Yu),{closeBorderRadius:C,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:I,borderRadius:C,opacityDisabled:p,fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,fontWeightStrong:L,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:A,colorPressedCheckable:O,colorChecked:n,colorCheckedHover:o,colorCheckedPressed:r,border:`1px solid ${u}`,textColor:t,color:h,colorBordered:"#0000",closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:m,closeColorPressed:b,borderPrimary:`1px solid ${se(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:se(n,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:wt(n,{lightness:.7}),closeIconColorHoverPrimary:wt(n,{lightness:.7}),closeIconColorPressedPrimary:wt(n,{lightness:.7}),closeColorHoverPrimary:se(n,{alpha:.16}),closeColorPressedPrimary:se(n,{alpha:.12}),borderInfo:`1px solid ${se(i,{alpha:.3})}`,textColorInfo:i,colorInfo:se(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:wt(i,{alpha:.7}),closeIconColorHoverInfo:wt(i,{alpha:.7}),closeIconColorPressedInfo:wt(i,{alpha:.7}),closeColorHoverInfo:se(i,{alpha:.16}),closeColorPressedInfo:se(i,{alpha:.12}),borderSuccess:`1px solid ${se(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:se(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:wt(a,{alpha:.7}),closeIconColorHoverSuccess:wt(a,{alpha:.7}),closeIconColorPressedSuccess:wt(a,{alpha:.7}),closeColorHoverSuccess:se(a,{alpha:.16}),closeColorPressedSuccess:se(a,{alpha:.12}),borderWarning:`1px solid ${se(l,{alpha:.3})}`,textColorWarning:l,colorWarning:se(l,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:wt(l,{alpha:.7}),closeIconColorHoverWarning:wt(l,{alpha:.7}),closeIconColorPressedWarning:wt(l,{alpha:.7}),closeColorHoverWarning:se(l,{alpha:.16}),closeColorPressedWarning:se(l,{alpha:.11}),borderError:`1px solid ${se(s,{alpha:.3})}`,textColorError:s,colorError:se(s,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:wt(s,{alpha:.7}),closeIconColorHoverError:wt(s,{alpha:.7}),closeIconColorPressedError:wt(s,{alpha:.7}),closeColorHoverError:se(s,{alpha:.16}),closeColorPressedError:se(s,{alpha:.12})})}},Zu=y2,w2=e=>{const{textColor2:t,primaryColorHover:o,primaryColorPressed:r,primaryColor:n,infoColor:i,successColor:a,warningColor:l,errorColor:s,baseColor:d,borderColor:u,opacityDisabled:h,tagColor:p,closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,borderRadiusSmall:m,fontSizeMini:b,fontSizeTiny:C,fontSizeSmall:R,fontSizeMedium:$,heightMini:S,heightTiny:w,heightSmall:x,heightMedium:k,closeColorHover:P,closeColorPressed:I,buttonColor2Hover:A,buttonColor2Pressed:O,fontWeightStrong:L}=e;return Object.assign(Object.assign({},Yu),{closeBorderRadius:m,heightTiny:S,heightSmall:w,heightMedium:x,heightLarge:k,borderRadius:m,opacityDisabled:h,fontSizeTiny:b,fontSizeSmall:C,fontSizeMedium:R,fontSizeLarge:$,fontWeightStrong:L,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:A,colorPressedCheckable:O,colorChecked:n,colorCheckedHover:o,colorCheckedPressed:r,border:`1px solid ${u}`,textColor:t,color:p,colorBordered:"rgb(250, 250, 252)",closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:P,closeColorPressed:I,borderPrimary:`1px solid ${se(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:se(n,{alpha:.12}),colorBorderedPrimary:se(n,{alpha:.1}),closeIconColorPrimary:n,closeIconColorHoverPrimary:n,closeIconColorPressedPrimary:n,closeColorHoverPrimary:se(n,{alpha:.12}),closeColorPressedPrimary:se(n,{alpha:.18}),borderInfo:`1px solid ${se(i,{alpha:.3})}`,textColorInfo:i,colorInfo:se(i,{alpha:.12}),colorBorderedInfo:se(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:se(i,{alpha:.12}),closeColorPressedInfo:se(i,{alpha:.18}),borderSuccess:`1px solid ${se(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:se(a,{alpha:.12}),colorBorderedSuccess:se(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:se(a,{alpha:.12}),closeColorPressedSuccess:se(a,{alpha:.18}),borderWarning:`1px solid ${se(l,{alpha:.35})}`,textColorWarning:l,colorWarning:se(l,{alpha:.15}),colorBorderedWarning:se(l,{alpha:.12}),closeIconColorWarning:l,closeIconColorHoverWarning:l,closeIconColorPressedWarning:l,closeColorHoverWarning:se(l,{alpha:.12}),closeColorPressedWarning:se(l,{alpha:.18}),borderError:`1px solid ${se(s,{alpha:.23})}`,textColorError:s,colorError:se(s,{alpha:.1}),colorBorderedError:se(s,{alpha:.08}),closeIconColorError:s,closeIconColorHoverError:s,closeIconColorPressedError:s,closeColorHoverError:se(s,{alpha:.12}),closeColorPressedError:se(s,{alpha:.18})})},S2={name:"Tag",common:xe,self:w2},Rl=S2,k2={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},$2=y("tag",`
    + --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left);
    + white-space: nowrap;
    + position: relative;
    + box-sizing: border-box;
    + cursor: default;
    + display: inline-flex;
    + align-items: center;
    + flex-wrap: nowrap;
    + padding: var(--n-padding);
    + border-radius: var(--n-border-radius);
    + color: var(--n-text-color);
    + background-color: var(--n-color);
    + transition: 
    + border-color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier),
    + opacity .3s var(--n-bezier);
    + line-height: 1;
    + height: var(--n-height);
    + font-size: var(--n-font-size);
    +`,[B("strong",`
    + font-weight: var(--n-font-weight-strong);
    + `),M("border",`
    + pointer-events: none;
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + border-radius: inherit;
    + border: var(--n-border);
    + transition: border-color .3s var(--n-bezier);
    + `),M("icon",`
    + display: flex;
    + margin: 0 4px 0 0;
    + color: var(--n-text-color);
    + transition: color .3s var(--n-bezier);
    + font-size: var(--n-avatar-size-override);
    + `),M("avatar",`
    + display: flex;
    + margin: 0 6px 0 0;
    + `),M("close",`
    + margin: var(--n-close-margin);
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + `),B("round",`
    + padding: 0 calc(var(--n-height) / 3);
    + border-radius: calc(var(--n-height) / 2);
    + `,[M("icon",`
    + margin: 0 4px 0 calc((var(--n-height) - 8px) / -2);
    + `),M("avatar",`
    + margin: 0 6px 0 calc((var(--n-height) - 8px) / -2);
    + `),B("closable",`
    + padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3);
    + `)]),B("icon, avatar",[B("round",`
    + padding: 0 calc(var(--n-height) / 3) 0 calc(var(--n-height) / 2);
    + `)]),B("disabled",`
    + cursor: not-allowed !important;
    + opacity: var(--n-opacity-disabled);
    + `),B("checkable",`
    + cursor: pointer;
    + box-shadow: none;
    + color: var(--n-text-color-checkable);
    + background-color: var(--n-color-checkable);
    + `,[nt("disabled",[z("&:hover","background-color: var(--n-color-hover-checkable);",[nt("checked","color: var(--n-text-color-hover-checkable);")]),z("&:active","background-color: var(--n-color-pressed-checkable);",[nt("checked","color: var(--n-text-color-pressed-checkable);")])]),B("checked",`
    + color: var(--n-text-color-checked);
    + background-color: var(--n-color-checked);
    + `,[nt("disabled",[z("&:hover","background-color: var(--n-color-checked-hover);"),z("&:active","background-color: var(--n-color-checked-pressed);")])])])]),R2=Object.assign(Object.assign(Object.assign({},we.props),k2),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),Ju="n-tag",va=ne({name:"Tag",props:R2,setup(e){const t=E(null),{mergedBorderedRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:i}=He(e),a=we("Tag","-tag",$2,Rl,e,r);Ue(Ju,{roundRef:he(e,"round")});function l(g){if(!e.disabled&&e.checkable){const{checked:f,onCheckedChange:v,onUpdateChecked:m,"onUpdate:checked":b}=e;m&&m(!f),b&&b(!f),v&&v(!f)}}function s(g){if(e.triggerClickOnClose||g.stopPropagation(),!e.disabled){const{onClose:f}=e;f&&ie(f,g)}}const d={setTextContent(g){const{value:f}=t;f&&(f.textContent=g)}},u=Rt("Tag",i,r),h=T(()=>{const{type:g,size:f,color:{color:v,textColor:m}={}}=e,{common:{cubicBezierEaseInOut:b},self:{padding:C,closeMargin:R,borderRadius:$,opacityDisabled:S,textColorCheckable:w,textColorHoverCheckable:x,textColorPressedCheckable:k,textColorChecked:P,colorCheckable:I,colorHoverCheckable:A,colorPressedCheckable:O,colorChecked:L,colorCheckedHover:H,colorCheckedPressed:_,closeBorderRadius:U,fontWeightStrong:N,[oe("colorBordered",g)]:te,[oe("closeSize",f)]:fe,[oe("closeIconSize",f)]:ae,[oe("fontSize",f)]:Y,[oe("height",f)]:j,[oe("color",g)]:X,[oe("textColor",g)]:re,[oe("border",g)]:le,[oe("closeIconColor",g)]:ge,[oe("closeIconColorHover",g)]:me,[oe("closeIconColorPressed",g)]:Ae,[oe("closeColorHover",g)]:q,[oe("closeColorPressed",g)]:ve}}=a.value,$e=_t(R);return{"--n-font-weight-strong":N,"--n-avatar-size-override":`calc(${j} - 8px)`,"--n-bezier":b,"--n-border-radius":$,"--n-border":le,"--n-close-icon-size":ae,"--n-close-color-pressed":ve,"--n-close-color-hover":q,"--n-close-border-radius":U,"--n-close-icon-color":ge,"--n-close-icon-color-hover":me,"--n-close-icon-color-pressed":Ae,"--n-close-icon-color-disabled":ge,"--n-close-margin-top":$e.top,"--n-close-margin-right":$e.right,"--n-close-margin-bottom":$e.bottom,"--n-close-margin-left":$e.left,"--n-close-size":fe,"--n-color":v||(o.value?te:X),"--n-color-checkable":I,"--n-color-checked":L,"--n-color-checked-hover":H,"--n-color-checked-pressed":_,"--n-color-hover-checkable":A,"--n-color-pressed-checkable":O,"--n-font-size":Y,"--n-height":j,"--n-opacity-disabled":S,"--n-padding":C,"--n-text-color":m||re,"--n-text-color-checkable":w,"--n-text-color-checked":P,"--n-text-color-hover-checkable":x,"--n-text-color-pressed-checkable":k}}),p=n?Qe("tag",T(()=>{let g="";const{type:f,size:v,color:{color:m,textColor:b}={}}=e;return g+=f[0],g+=v[0],m&&(g+=`a${bn(m)}`),b&&(g+=`b${bn(b)}`),o.value&&(g+="c"),g}),h,e):void 0;return Object.assign(Object.assign({},d),{rtlEnabled:u,mergedClsPrefix:r,contentRef:t,mergedBordered:o,handleClick:l,handleCloseClick:s,cssVars:n?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender})},render(){var e,t;const{mergedClsPrefix:o,rtlEnabled:r,closable:n,color:{borderColor:i}={},round:a,onRender:l,$slots:s}=this;l==null||l();const d=Ze(s.avatar,h=>h&&c("div",{class:`${o}-tag__avatar`},h)),u=Ze(s.icon,h=>h&&c("div",{class:`${o}-tag__icon`},h));return c("div",{class:[`${o}-tag`,this.themeClass,{[`${o}-tag--rtl`]:r,[`${o}-tag--strong`]:this.strong,[`${o}-tag--disabled`]:this.disabled,[`${o}-tag--checkable`]:this.checkable,[`${o}-tag--checked`]:this.checkable&&this.checked,[`${o}-tag--round`]:a,[`${o}-tag--avatar`]:d,[`${o}-tag--icon`]:u,[`${o}-tag--closable`]:n}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||d,c("span",{class:`${o}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&n?c(mr,{clsPrefix:o,class:`${o}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?c("div",{class:`${o}-tag__border`,style:{borderColor:i}}):null)}}),P2=y("base-clear",`
    + flex-shrink: 0;
    + height: 1em;
    + width: 1em;
    + position: relative;
    +`,[z(">",[M("clear",`
    + font-size: var(--n-clear-size);
    + height: 1em;
    + width: 1em;
    + cursor: pointer;
    + color: var(--n-clear-color);
    + transition: color .3s var(--n-bezier);
    + display: flex;
    + `,[z("&:hover",`
    + color: var(--n-clear-color-hover)!important;
    + `),z("&:active",`
    + color: var(--n-clear-color-pressed)!important;
    + `)]),M("placeholder",`
    + display: flex;
    + `),M("clear, placeholder",`
    + position: absolute;
    + left: 50%;
    + top: 50%;
    + transform: translateX(-50%) translateY(-50%);
    + `,[Wt({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),qa=ne({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Do("-base-clear",P2,he(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return c("div",{class:`${e}-base-clear`},c(br,null,{default:()=>{var t,o;return this.show?c("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},Bt(this.$slots.icon,()=>[c(ot,{clsPrefix:e},{default:()=>c(lS,null)})])):c("div",{key:"icon",class:`${e}-base-clear__placeholder`},(o=(t=this.$slots).placeholder)===null||o===void 0?void 0:o.call(t))}}))}}),Qu=ne({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:o}=e;return c(Yo,{clsPrefix:o,class:`${o}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?c(qa,{clsPrefix:o,show:e.showClear,onClear:e.onClear},{placeholder:()=>c(ot,{clsPrefix:o,class:`${o}-base-suffix__arrow`},{default:()=>Bt(t.default,()=>[c(Fu,null)])})}):null})}}}),ef={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},z2=e=>{const{borderRadius:t,textColor2:o,textColorDisabled:r,inputColor:n,inputColorDisabled:i,primaryColor:a,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,borderColor:p,iconColor:g,iconColorDisabled:f,clearColor:v,clearColorHover:m,clearColorPressed:b,placeholderColor:C,placeholderColorDisabled:R,fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:k,heightSmall:P,heightMedium:I,heightLarge:A}=e;return Object.assign(Object.assign({},ef),{fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:k,heightSmall:P,heightMedium:I,heightLarge:A,borderRadius:t,textColor:o,textColorDisabled:r,placeholderColor:C,placeholderColorDisabled:R,color:n,colorDisabled:i,colorActive:n,border:`1px solid ${p}`,borderHover:`1px solid ${l}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${se(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${se(a,{alpha:.2})}`,caretColor:a,arrowColor:g,arrowColorDisabled:f,loadingColor:a,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${se(s,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${se(s,{alpha:.2})}`,colorActiveWarning:n,caretColorWarning:s,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${h}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${se(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${se(u,{alpha:.2})}`,colorActiveError:n,caretColorError:u,clearColor:v,clearColorHover:m,clearColorPressed:b})},T2={name:"InternalSelection",common:xe,peers:{Popover:Zo},self:z2},Li=T2,B2={name:"InternalSelection",common:ke,peers:{Popover:Cr},self(e){const{borderRadius:t,textColor2:o,textColorDisabled:r,inputColor:n,inputColorDisabled:i,primaryColor:a,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,iconColor:p,iconColorDisabled:g,clearColor:f,clearColorHover:v,clearColorPressed:m,placeholderColor:b,placeholderColorDisabled:C,fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:I}=e;return Object.assign(Object.assign({},ef),{fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:I,borderRadius:t,textColor:o,textColorDisabled:r,placeholderColor:b,placeholderColorDisabled:C,color:n,colorDisabled:i,colorActive:se(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${l}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${se(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${se(a,{alpha:.4})}`,caretColor:a,arrowColor:p,arrowColorDisabled:g,loadingColor:a,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${se(s,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${se(s,{alpha:.4})}`,colorActiveWarning:se(s,{alpha:.1}),caretColorWarning:s,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${h}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${se(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${se(u,{alpha:.4})}`,colorActiveError:se(u,{alpha:.1}),caretColorError:u,clearColor:f,clearColorHover:v,clearColorPressed:m})}},Pl=B2,M2=z([y("base-selection",`
    + --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left);
    + --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left);
    + position: relative;
    + z-index: auto;
    + box-shadow: none;
    + width: 100%;
    + max-width: 100%;
    + display: inline-block;
    + vertical-align: bottom;
    + border-radius: var(--n-border-radius);
    + min-height: var(--n-height);
    + line-height: 1.5;
    + font-size: var(--n-font-size);
    + `,[y("base-loading",`
    + color: var(--n-loading-color);
    + `),y("base-selection-tags","min-height: var(--n-height);"),M("border, state-border",`
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + pointer-events: none;
    + border: var(--n-border);
    + border-radius: inherit;
    + transition:
    + box-shadow .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    + `),M("state-border",`
    + z-index: 1;
    + border-color: #0000;
    + `),y("base-suffix",`
    + cursor: pointer;
    + position: absolute;
    + top: 50%;
    + transform: translateY(-50%);
    + right: 10px;
    + `,[M("arrow",`
    + font-size: var(--n-arrow-size);
    + color: var(--n-arrow-color);
    + transition: color .3s var(--n-bezier);
    + `)]),y("base-selection-overlay",`
    + display: flex;
    + align-items: center;
    + white-space: nowrap;
    + pointer-events: none;
    + position: absolute;
    + top: 0;
    + right: 0;
    + bottom: 0;
    + left: 0;
    + padding: var(--n-padding-single);
    + transition: color .3s var(--n-bezier);
    + `,[M("wrapper",`
    + flex-basis: 0;
    + flex-grow: 1;
    + overflow: hidden;
    + text-overflow: ellipsis;
    + `)]),y("base-selection-placeholder",`
    + color: var(--n-placeholder-color);
    + `,[M("inner",`
    + max-width: 100%;
    + overflow: hidden;
    + `)]),y("base-selection-tags",`
    + cursor: pointer;
    + outline: none;
    + box-sizing: border-box;
    + position: relative;
    + z-index: auto;
    + display: flex;
    + padding: var(--n-padding-multiple);
    + flex-wrap: wrap;
    + align-items: center;
    + width: 100%;
    + vertical-align: bottom;
    + background-color: var(--n-color);
    + border-radius: inherit;
    + transition:
    + color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + `),y("base-selection-label",`
    + height: var(--n-height);
    + display: inline-flex;
    + width: 100%;
    + vertical-align: bottom;
    + cursor: pointer;
    + outline: none;
    + z-index: auto;
    + box-sizing: border-box;
    + position: relative;
    + transition:
    + color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + border-radius: inherit;
    + background-color: var(--n-color);
    + align-items: center;
    + `,[y("base-selection-input",`
    + font-size: inherit;
    + line-height: inherit;
    + outline: none;
    + cursor: pointer;
    + box-sizing: border-box;
    + border:none;
    + width: 100%;
    + padding: var(--n-padding-single);
    + background-color: #0000;
    + color: var(--n-text-color);
    + transition: color .3s var(--n-bezier);
    + caret-color: var(--n-caret-color);
    + `,[M("content",`
    + text-overflow: ellipsis;
    + overflow: hidden;
    + white-space: nowrap; 
    + `)]),M("render-label",`
    + color: var(--n-text-color);
    + `)]),nt("disabled",[z("&:hover",[M("state-border",`
    + box-shadow: var(--n-box-shadow-hover);
    + border: var(--n-border-hover);
    + `)]),B("focus",[M("state-border",`
    + box-shadow: var(--n-box-shadow-focus);
    + border: var(--n-border-focus);
    + `)]),B("active",[M("state-border",`
    + box-shadow: var(--n-box-shadow-active);
    + border: var(--n-border-active);
    + `),y("base-selection-label","background-color: var(--n-color-active);"),y("base-selection-tags","background-color: var(--n-color-active);")])]),B("disabled","cursor: not-allowed;",[M("arrow",`
    + color: var(--n-arrow-color-disabled);
    + `),y("base-selection-label",`
    + cursor: not-allowed;
    + background-color: var(--n-color-disabled);
    + `,[y("base-selection-input",`
    + cursor: not-allowed;
    + color: var(--n-text-color-disabled);
    + `),M("render-label",`
    + color: var(--n-text-color-disabled);
    + `)]),y("base-selection-tags",`
    + cursor: not-allowed;
    + background-color: var(--n-color-disabled);
    + `),y("base-selection-placeholder",`
    + cursor: not-allowed;
    + color: var(--n-placeholder-color-disabled);
    + `)]),y("base-selection-input-tag",`
    + height: calc(var(--n-height) - 6px);
    + line-height: calc(var(--n-height) - 6px);
    + outline: none;
    + display: none;
    + position: relative;
    + margin-bottom: 3px;
    + max-width: 100%;
    + vertical-align: bottom;
    + `,[M("input",`
    + font-size: inherit;
    + font-family: inherit;
    + min-width: 1px;
    + padding: 0;
    + background-color: #0000;
    + outline: none;
    + border: none;
    + max-width: 100%;
    + overflow: hidden;
    + width: 1em;
    + line-height: inherit;
    + cursor: pointer;
    + color: var(--n-text-color);
    + caret-color: var(--n-caret-color);
    + `),M("mirror",`
    + position: absolute;
    + left: 0;
    + top: 0;
    + white-space: pre;
    + visibility: hidden;
    + user-select: none;
    + -webkit-user-select: none;
    + opacity: 0;
    + `)]),["warning","error"].map(e=>B(`${e}-status`,[M("state-border",`border: var(--n-border-${e});`),nt("disabled",[z("&:hover",[M("state-border",`
    + box-shadow: var(--n-box-shadow-hover-${e});
    + border: var(--n-border-hover-${e});
    + `)]),B("active",[M("state-border",`
    + box-shadow: var(--n-box-shadow-active-${e});
    + border: var(--n-border-active-${e});
    + `),y("base-selection-label",`background-color: var(--n-color-active-${e});`),y("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),B("focus",[M("state-border",`
    + box-shadow: var(--n-box-shadow-focus-${e});
    + border: var(--n-border-focus-${e});
    + `)])])]))]),y("base-selection-popover",`
    + margin-bottom: -3px;
    + display: flex;
    + flex-wrap: wrap;
    + margin-right: -8px;
    + `),y("base-selection-tag-wrapper",`
    + max-width: 100%;
    + display: inline-flex;
    + padding: 0 7px 3px 0;
    + `,[z("&:last-child","padding-right: 0;"),y("tag",`
    + font-size: 14px;
    + max-width: 100%;
    + `,[M("content",`
    + line-height: 1.25;
    + text-overflow: ellipsis;
    + overflow: hidden;
    + `)])])]),O2=ne({name:"InternalSelection",props:Object.assign(Object.assign({},we.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("InternalSelection",o,t),n=E(null),i=E(null),a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(!1),v=E(!1),m=E(!1),b=we("InternalSelection","-internal-selection",M2,Li,e,he(e,"clsPrefix")),C=T(()=>e.clearable&&!e.disabled&&(m.value||e.active)),R=T(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):pt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),$=T(()=>{const D=e.selectedOption;if(D)return D[e.labelField]}),S=T(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function w(){var D;const{value:J}=n;if(J){const{value:Se}=i;Se&&(Se.style.width=`${J.offsetWidth}px`,e.maxTagCount!=="responsive"&&((D=p.value)===null||D===void 0||D.sync({showAllItemsBeforeCalculate:!1})))}}function x(){const{value:D}=g;D&&(D.style.display="none")}function k(){const{value:D}=g;D&&(D.style.display="inline-block")}Je(he(e,"active"),D=>{D||x()}),Je(he(e,"pattern"),()=>{e.multiple&&ut(w)});function P(D){const{onFocus:J}=e;J&&J(D)}function I(D){const{onBlur:J}=e;J&&J(D)}function A(D){const{onDeleteOption:J}=e;J&&J(D)}function O(D){const{onClear:J}=e;J&&J(D)}function L(D){const{onPatternInput:J}=e;J&&J(D)}function H(D){var J;(!D.relatedTarget||!(!((J=a.value)===null||J===void 0)&&J.contains(D.relatedTarget)))&&P(D)}function _(D){var J;!((J=a.value)===null||J===void 0)&&J.contains(D.relatedTarget)||I(D)}function U(D){O(D)}function N(){m.value=!0}function te(){m.value=!1}function fe(D){!e.active||!e.filterable||D.target!==i.value&&D.preventDefault()}function ae(D){A(D)}function Y(D){if(D.key==="Backspace"&&!j.value&&!e.pattern.length){const{selectedOptions:J}=e;J!=null&&J.length&&ae(J[J.length-1])}}const j=E(!1);let X=null;function re(D){const{value:J}=n;if(J){const Se=D.target.value;J.textContent=Se,w()}e.ignoreComposition&&j.value?X=D:L(D)}function le(){j.value=!0}function ge(){j.value=!1,e.ignoreComposition&&L(X),X=null}function me(D){var J;v.value=!0,(J=e.onPatternFocus)===null||J===void 0||J.call(e,D)}function Ae(D){var J;v.value=!1,(J=e.onPatternBlur)===null||J===void 0||J.call(e,D)}function q(){var D,J;if(e.filterable)v.value=!1,(D=d.value)===null||D===void 0||D.blur(),(J=i.value)===null||J===void 0||J.blur();else if(e.multiple){const{value:Se}=l;Se==null||Se.blur()}else{const{value:Se}=s;Se==null||Se.blur()}}function ve(){var D,J,Se;e.filterable?(v.value=!1,(D=d.value)===null||D===void 0||D.focus()):e.multiple?(J=l.value)===null||J===void 0||J.focus():(Se=s.value)===null||Se===void 0||Se.focus()}function $e(){const{value:D}=i;D&&(k(),D.focus())}function Oe(){const{value:D}=i;D&&D.blur()}function Z(D){const{value:J}=u;J&&J.setTextContent(`+${D}`)}function ue(){const{value:D}=h;return D}function be(){return i.value}let De=null;function ee(){De!==null&&window.clearTimeout(De)}function Ce(){e.active||(ee(),De=window.setTimeout(()=>{S.value&&(f.value=!0)},100))}function Pe(){ee()}function K(D){D||(ee(),f.value=!1)}Je(S,D=>{D||(f.value=!1)}),gt(()=>{vt(()=>{const D=d.value;D&&(e.disabled?D.removeAttribute("tabindex"):D.tabIndex=v.value?-1:0)})}),Hc(a,e.onResize);const{inlineThemeDisabled:Q}=e,pe=T(()=>{const{size:D}=e,{common:{cubicBezierEaseInOut:J},self:{borderRadius:Se,color:Le,placeholderColor:qe,textColor:it,paddingSingle:ye,paddingMultiple:ze,caretColor:Ke,colorDisabled:Be,textColorDisabled:Ve,placeholderColorDisabled:at,colorActive:F,boxShadowFocus:G,boxShadowActive:de,boxShadowHover:Re,border:Ie,borderFocus:Fe,borderHover:_e,borderActive:je,arrowColor:Ge,arrowColorDisabled:xt,loadingColor:ft,colorActiveWarning:Ct,boxShadowFocusWarning:Kt,boxShadowActiveWarning:qt,boxShadowHoverWarning:Ro,borderWarning:Po,borderFocusWarning:uo,borderHoverWarning:fo,borderActiveWarning:W,colorActiveError:ce,boxShadowFocusError:We,boxShadowActiveError:st,boxShadowHoverError:ct,borderError:lt,borderFocusError:Qt,borderHoverError:eo,borderActiveError:to,clearColor:zo,clearColorHover:To,clearColorPressed:Jo,clearSize:Jr,arrowSize:Qr,[oe("height",D)]:en,[oe("fontSize",D)]:tn}}=b.value,Ho=_t(ye),jo=_t(ze);return{"--n-bezier":J,"--n-border":Ie,"--n-border-active":je,"--n-border-focus":Fe,"--n-border-hover":_e,"--n-border-radius":Se,"--n-box-shadow-active":de,"--n-box-shadow-focus":G,"--n-box-shadow-hover":Re,"--n-caret-color":Ke,"--n-color":Le,"--n-color-active":F,"--n-color-disabled":Be,"--n-font-size":tn,"--n-height":en,"--n-padding-single-top":Ho.top,"--n-padding-multiple-top":jo.top,"--n-padding-single-right":Ho.right,"--n-padding-multiple-right":jo.right,"--n-padding-single-left":Ho.left,"--n-padding-multiple-left":jo.left,"--n-padding-single-bottom":Ho.bottom,"--n-padding-multiple-bottom":jo.bottom,"--n-placeholder-color":qe,"--n-placeholder-color-disabled":at,"--n-text-color":it,"--n-text-color-disabled":Ve,"--n-arrow-color":Ge,"--n-arrow-color-disabled":xt,"--n-loading-color":ft,"--n-color-active-warning":Ct,"--n-box-shadow-focus-warning":Kt,"--n-box-shadow-active-warning":qt,"--n-box-shadow-hover-warning":Ro,"--n-border-warning":Po,"--n-border-focus-warning":uo,"--n-border-hover-warning":fo,"--n-border-active-warning":W,"--n-color-active-error":ce,"--n-box-shadow-focus-error":We,"--n-box-shadow-active-error":st,"--n-box-shadow-hover-error":ct,"--n-border-error":lt,"--n-border-focus-error":Qt,"--n-border-hover-error":eo,"--n-border-active-error":to,"--n-clear-size":Jr,"--n-clear-color":zo,"--n-clear-color-hover":To,"--n-clear-color-pressed":Jo,"--n-arrow-size":Qr}}),V=Q?Qe("internal-selection",T(()=>e.size[0]),pe,e):void 0;return{mergedTheme:b,mergedClearable:C,mergedClsPrefix:t,rtlEnabled:r,patternInputFocused:v,filterablePlaceholder:R,label:$,selected:S,showTagsPanel:f,isComposing:j,counterRef:u,counterWrapperRef:h,patternInputMirrorRef:n,patternInputRef:i,selfRef:a,multipleElRef:l,singleElRef:s,patternInputWrapperRef:d,overflowRef:p,inputTagElRef:g,handleMouseDown:fe,handleFocusin:H,handleClear:U,handleMouseEnter:N,handleMouseLeave:te,handleDeleteOption:ae,handlePatternKeyDown:Y,handlePatternInputInput:re,handlePatternInputBlur:Ae,handlePatternInputFocus:me,handleMouseEnterCounter:Ce,handleMouseLeaveCounter:Pe,handleFocusout:_,handleCompositionEnd:ge,handleCompositionStart:le,onPopoverUpdateShow:K,focus:ve,focusInput:$e,blur:q,blurInput:Oe,updateCounter:Z,getCounter:ue,getTail:be,renderLabel:e.renderLabel,cssVars:Q?void 0:pe,themeClass:V==null?void 0:V.themeClass,onRender:V==null?void 0:V.onRender}},render(){const{status:e,multiple:t,size:o,disabled:r,filterable:n,maxTagCount:i,bordered:a,clsPrefix:l,ellipsisTagPopoverProps:s,onRender:d,renderTag:u,renderLabel:h}=this;d==null||d();const p=i==="responsive",g=typeof i=="number",f=p||g,v=c(Ma,null,{default:()=>c(Qu,{clsPrefix:l,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var b,C;return(C=(b=this.$slots).arrow)===null||C===void 0?void 0:C.call(b)}})});let m;if(t){const{labelField:b}=this,C=L=>c("div",{class:`${l}-base-selection-tag-wrapper`,key:L.value},u?u({option:L,handleClose:()=>{this.handleDeleteOption(L)}}):c(va,{size:o,closable:!L.disabled,disabled:r,onClose:()=>{this.handleDeleteOption(L)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>h?h(L,!0):pt(L[b],L,!0)})),R=()=>(g?this.selectedOptions.slice(0,i):this.selectedOptions).map(C),$=n?c("div",{class:`${l}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},c("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:r,value:this.pattern,autofocus:this.autofocus,class:`${l}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),c("span",{ref:"patternInputMirrorRef",class:`${l}-base-selection-input-tag__mirror`},this.pattern)):null,S=p?()=>c("div",{class:`${l}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},c(va,{size:o,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:r})):void 0;let w;if(g){const L=this.selectedOptions.length-i;L>0&&(w=c("div",{class:`${l}-base-selection-tag-wrapper`,key:"__counter__"},c(va,{size:o,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:r},{default:()=>`+${L}`})))}const x=p?n?c(Ss,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:R,counter:S,tail:()=>$}):c(Ss,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:R,counter:S}):g&&w?R().concat(w):R(),k=f?()=>c("div",{class:`${l}-base-selection-popover`},p?R():this.selectedOptions.map(C)):void 0,P=f?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},s):null,A=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`},c("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)):null,O=n?c("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-tags`},x,p?null:$,v):c("div",{ref:"multipleElRef",class:`${l}-base-selection-tags`,tabindex:r?void 0:0},x,v);m=c(yt,null,f?c(Yr,Object.assign({},P,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>O,default:k}):O,A)}else if(n){const b=this.pattern||this.isComposing,C=this.active?!b:!this.selected,R=this.active?!1:this.selected;m=c("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-label`,title:this.patternInputFocused?void 0:Xl(this.label)},c("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${l}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:r,disabled:r,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),R?c("div",{class:`${l}-base-selection-label__render-label ${l}-base-selection-overlay`,key:"input"},c("div",{class:`${l}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):h?h(this.selectedOption,!0):pt(this.label,this.selectedOption,!0))):null,C?c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},c("div",{class:`${l}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,v)}else m=c("div",{ref:"singleElRef",class:`${l}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?c("div",{class:`${l}-base-selection-input`,title:Xl(this.label),key:"input"},c("div",{class:`${l}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):h?h(this.selectedOption,!0):pt(this.label,this.selectedOption,!0))):c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},c("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)),v);return c("div",{ref:"selfRef",class:[`${l}-base-selection`,this.rtlEnabled&&`${l}-base-selection--rtl`,this.themeClass,e&&`${l}-base-selection--${e}-status`,{[`${l}-base-selection--active`]:this.active,[`${l}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${l}-base-selection--disabled`]:this.disabled,[`${l}-base-selection--multiple`]:this.multiple,[`${l}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},m,a?c("div",{class:`${l}-base-selection__border`}):null,a?c("div",{class:`${l}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:No}=Ut;function I2({duration:e=".2s",delay:t=".1s"}={}){return[z("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),z("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",`
    + opacity: 0!important;
    + margin-left: 0!important;
    + margin-right: 0!important;
    + `),z("&.fade-in-width-expand-transition-leave-active",`
    + overflow: hidden;
    + transition:
    + opacity ${e} ${No},
    + max-width ${e} ${No} ${t},
    + margin-left ${e} ${No} ${t},
    + margin-right ${e} ${No} ${t};
    + `),z("&.fade-in-width-expand-transition-enter-active",`
    + overflow: hidden;
    + transition:
    + opacity ${e} ${No} ${t},
    + max-width ${e} ${No},
    + margin-left ${e} ${No},
    + margin-right ${e} ${No};
    + `)]}const tf={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},F2={name:"Alert",common:ke,self(e){const{lineHeight:t,borderRadius:o,fontWeightStrong:r,dividerColor:n,inputColor:i,textColor1:a,textColor2:l,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,infoColorSuppl:g,successColorSuppl:f,warningColorSuppl:v,errorColorSuppl:m,fontSize:b}=e;return Object.assign(Object.assign({},tf),{fontSize:b,lineHeight:t,titleFontWeight:r,borderRadius:o,border:`1px solid ${n}`,color:i,titleTextColor:a,iconColor:l,contentTextColor:l,closeBorderRadius:o,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,borderInfo:`1px solid ${se(g,{alpha:.35})}`,colorInfo:se(g,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:g,contentTextColorInfo:l,closeColorHoverInfo:s,closeColorPressedInfo:d,closeIconColorInfo:u,closeIconColorHoverInfo:h,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${se(f,{alpha:.35})}`,colorSuccess:se(f,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:f,contentTextColorSuccess:l,closeColorHoverSuccess:s,closeColorPressedSuccess:d,closeIconColorSuccess:u,closeIconColorHoverSuccess:h,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${se(v,{alpha:.35})}`,colorWarning:se(v,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:s,closeColorPressedWarning:d,closeIconColorWarning:u,closeIconColorHoverWarning:h,closeIconColorPressedWarning:p,borderError:`1px solid ${se(m,{alpha:.35})}`,colorError:se(m,{alpha:.25}),titleTextColorError:a,iconColorError:m,contentTextColorError:l,closeColorHoverError:s,closeColorPressedError:d,closeIconColorError:u,closeIconColorHoverError:h,closeIconColorPressedError:p})}},E2=F2,A2=e=>{const{lineHeight:t,borderRadius:o,fontWeightStrong:r,baseColor:n,dividerColor:i,actionColor:a,textColor1:l,textColor2:s,closeColorHover:d,closeColorPressed:u,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,infoColor:f,successColor:v,warningColor:m,errorColor:b,fontSize:C}=e;return Object.assign(Object.assign({},tf),{fontSize:C,lineHeight:t,titleFontWeight:r,borderRadius:o,border:`1px solid ${i}`,color:a,titleTextColor:l,iconColor:s,contentTextColor:s,closeBorderRadius:o,closeColorHover:d,closeColorPressed:u,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,borderInfo:`1px solid ${Ee(n,se(f,{alpha:.25}))}`,colorInfo:Ee(n,se(f,{alpha:.08})),titleTextColorInfo:l,iconColorInfo:f,contentTextColorInfo:s,closeColorHoverInfo:d,closeColorPressedInfo:u,closeIconColorInfo:h,closeIconColorHoverInfo:p,closeIconColorPressedInfo:g,borderSuccess:`1px solid ${Ee(n,se(v,{alpha:.25}))}`,colorSuccess:Ee(n,se(v,{alpha:.08})),titleTextColorSuccess:l,iconColorSuccess:v,contentTextColorSuccess:s,closeColorHoverSuccess:d,closeColorPressedSuccess:u,closeIconColorSuccess:h,closeIconColorHoverSuccess:p,closeIconColorPressedSuccess:g,borderWarning:`1px solid ${Ee(n,se(m,{alpha:.33}))}`,colorWarning:Ee(n,se(m,{alpha:.08})),titleTextColorWarning:l,iconColorWarning:m,contentTextColorWarning:s,closeColorHoverWarning:d,closeColorPressedWarning:u,closeIconColorWarning:h,closeIconColorHoverWarning:p,closeIconColorPressedWarning:g,borderError:`1px solid ${Ee(n,se(b,{alpha:.25}))}`,colorError:Ee(n,se(b,{alpha:.08})),titleTextColorError:l,iconColorError:b,contentTextColorError:s,closeColorHoverError:d,closeColorPressedError:u,closeIconColorError:h,closeIconColorHoverError:p,closeIconColorPressedError:g})},L2={name:"Alert",common:xe,self:A2},_2=L2,{cubicBezierEaseInOut:po,cubicBezierEaseOut:D2,cubicBezierEaseIn:H2}=Ut;function j2({overflow:e="hidden",duration:t=".3s",originalTransition:o="",leavingDelay:r="0s",foldPadding:n=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:l=!1}={}){const s=l?"leave":"enter",d=l?"enter":"leave";return[z(`&.fade-in-height-expand-transition-${d}-from,
    + &.fade-in-height-expand-transition-${s}-to`,Object.assign(Object.assign({},i),{opacity:1})),z(`&.fade-in-height-expand-transition-${d}-to,
    + &.fade-in-height-expand-transition-${s}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:n?"0 !important":void 0,paddingBottom:n?"0 !important":void 0})),z(`&.fade-in-height-expand-transition-${d}-active`,`
    + overflow: ${e};
    + transition:
    + max-height ${t} ${po} ${r},
    + opacity ${t} ${D2} ${r},
    + margin-top ${t} ${po} ${r},
    + margin-bottom ${t} ${po} ${r},
    + padding-top ${t} ${po} ${r},
    + padding-bottom ${t} ${po} ${r}
    + ${o?","+o:""}
    + `),z(`&.fade-in-height-expand-transition-${s}-active`,`
    + overflow: ${e};
    + transition:
    + max-height ${t} ${po},
    + opacity ${t} ${H2},
    + margin-top ${t} ${po},
    + margin-bottom ${t} ${po},
    + padding-top ${t} ${po},
    + padding-bottom ${t} ${po}
    + ${o?","+o:""}
    + `)]}const W2={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},of=e=>{const{borderRadius:t,railColor:o,primaryColor:r,primaryColorHover:n,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},W2),{borderRadius:t,railColor:o,railColorActive:r,linkColor:se(r,{alpha:.15}),linkTextColor:a,linkTextColorHover:n,linkTextColorPressed:i,linkTextColorActive:r})},N2={name:"Anchor",common:xe,self:of},V2=N2,U2={name:"Anchor",common:ke,self:of},K2=U2;function mi(e){return e.type==="group"}function rf(e){return e.type==="ignored"}function ga(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function nf(e,t){return{getIsGroup:mi,getIgnored:rf,getKey(r){return mi(r)?r.name||r.key||"key-required":r[e]},getChildren(r){return r[t]}}}function q2(e,t,o,r){if(!t)return e;function n(i){if(!Array.isArray(i))return[];const a=[];for(const l of i)if(mi(l)){const s=n(l[r]);s.length&&a.push(Object.assign({},l,{[r]:s}))}else{if(rf(l))continue;t(o,l)&&a.push(l)}return a}return n(e)}function G2(e,t,o){const r=new Map;return e.forEach(n=>{mi(n)?n[o].forEach(i=>{r.set(i[t],i)}):r.set(n[t],n)}),r}const X2=Eo&&"chrome"in window;Eo&&navigator.userAgent.includes("Firefox");const af=Eo&&navigator.userAgent.includes("Safari")&&!X2,lf={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},Y2={name:"Input",common:ke,self(e){const{textColor2:t,textColor3:o,textColorDisabled:r,primaryColor:n,primaryColorHover:i,inputColor:a,inputColorDisabled:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,borderRadius:p,lineHeight:g,fontSizeTiny:f,fontSizeSmall:v,fontSizeMedium:m,fontSizeLarge:b,heightTiny:C,heightSmall:R,heightMedium:$,heightLarge:S,clearColor:w,clearColorHover:x,clearColorPressed:k,placeholderColor:P,placeholderColorDisabled:I,iconColor:A,iconColorDisabled:O,iconColorHover:L,iconColorPressed:H}=e;return Object.assign(Object.assign({},lf),{countTextColorDisabled:r,countTextColor:o,heightTiny:C,heightSmall:R,heightMedium:$,heightLarge:S,fontSizeTiny:f,fontSizeSmall:v,fontSizeMedium:m,fontSizeLarge:b,lineHeight:g,lineHeightTextarea:g,borderRadius:p,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:r,textDecorationColor:t,groupLabelTextColor:t,caretColor:n,placeholderColor:P,placeholderColorDisabled:I,color:a,colorDisabled:l,colorFocus:se(n,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${se(n,{alpha:.3})}`,loadingColor:n,loadingColorWarning:s,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,colorFocusWarning:se(s,{alpha:.1}),borderFocusWarning:`1px solid ${d}`,boxShadowFocusWarning:`0 0 8px 0 ${se(s,{alpha:.3})}`,caretColorWarning:s,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,colorFocusError:se(u,{alpha:.1}),borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 8px 0 ${se(u,{alpha:.3})}`,caretColorError:u,clearColor:w,clearColorHover:x,clearColorPressed:k,iconColor:A,iconColorDisabled:O,iconColorHover:L,iconColorPressed:H,suffixTextColor:t})}},Jt=Y2,Z2=e=>{const{textColor2:t,textColor3:o,textColorDisabled:r,primaryColor:n,primaryColorHover:i,inputColor:a,inputColorDisabled:l,borderColor:s,warningColor:d,warningColorHover:u,errorColor:h,errorColorHover:p,borderRadius:g,lineHeight:f,fontSizeTiny:v,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:C,heightTiny:R,heightSmall:$,heightMedium:S,heightLarge:w,actionColor:x,clearColor:k,clearColorHover:P,clearColorPressed:I,placeholderColor:A,placeholderColorDisabled:O,iconColor:L,iconColorDisabled:H,iconColorHover:_,iconColorPressed:U}=e;return Object.assign(Object.assign({},lf),{countTextColorDisabled:r,countTextColor:o,heightTiny:R,heightSmall:$,heightMedium:S,heightLarge:w,fontSizeTiny:v,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:C,lineHeight:f,lineHeightTextarea:f,borderRadius:g,iconSize:"16px",groupLabelColor:x,groupLabelTextColor:t,textColor:t,textColorDisabled:r,textDecorationColor:t,caretColor:n,placeholderColor:A,placeholderColorDisabled:O,color:a,colorDisabled:l,colorFocus:a,groupLabelBorder:`1px solid ${s}`,border:`1px solid ${s}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${s}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${se(n,{alpha:.2})}`,loadingColor:n,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${se(d,{alpha:.2})}`,caretColorWarning:d,loadingColorError:h,borderError:`1px solid ${h}`,borderHoverError:`1px solid ${p}`,colorFocusError:a,borderFocusError:`1px solid ${p}`,boxShadowFocusError:`0 0 0 2px ${se(h,{alpha:.2})}`,caretColorError:h,clearColor:k,clearColorHover:P,clearColorPressed:I,iconColor:L,iconColorDisabled:H,iconColorHover:_,iconColorPressed:U,suffixTextColor:t})},J2={name:"Input",common:xe,self:Z2},Ht=J2,sf="n-input";function Q2(e){let t=0;for(const o of e)t++;return t}function Xn(e){return e===""||e==null}function e5(e){const t=E(null);function o(){const{value:i}=e;if(!(i!=null&&i.focus)){n();return}const{selectionStart:a,selectionEnd:l,value:s}=i;if(a==null||l==null){n();return}t.value={start:a,end:l,beforeText:s.slice(0,a),afterText:s.slice(l)}}function r(){var i;const{value:a}=t,{value:l}=e;if(!a||!l)return;const{value:s}=l,{start:d,beforeText:u,afterText:h}=a;let p=s.length;if(s.endsWith(h))p=s.length-h.length;else if(s.startsWith(u))p=u.length;else{const g=u[d-1],f=s.indexOf(g,d-1);f!==-1&&(p=f+1)}(i=l.setSelectionRange)===null||i===void 0||i.call(l,p,p)}function n(){t.value=null}return Je(e,n),{recordCursor:o,restoreCursor:r}}const kd=ne({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:o,maxlengthRef:r,mergedClsPrefixRef:n,countGraphemesRef:i}=Te(sf),a=T(()=>{const{value:l}=o;return l===null||Array.isArray(l)?0:(i.value||Q2)(l)});return()=>{const{value:l}=r,{value:s}=o;return c("span",{class:`${n.value}-input-word-count`},kv(t.default,{value:s===null||Array.isArray(s)?"":s},()=>[l===void 0?a.value:`${a.value} / ${l}`]))}}}),t5=y("input",`
    + max-width: 100%;
    + cursor: text;
    + line-height: 1.5;
    + z-index: auto;
    + outline: none;
    + box-sizing: border-box;
    + position: relative;
    + display: inline-flex;
    + border-radius: var(--n-border-radius);
    + background-color: var(--n-color);
    + transition: background-color .3s var(--n-bezier);
    + font-size: var(--n-font-size);
    + --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);
    +`,[M("input, textarea",`
    + overflow: hidden;
    + flex-grow: 1;
    + position: relative;
    + `),M("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",`
    + box-sizing: border-box;
    + font-size: inherit;
    + line-height: 1.5;
    + font-family: inherit;
    + border: none;
    + outline: none;
    + background-color: #0000;
    + text-align: inherit;
    + transition:
    + -webkit-text-fill-color .3s var(--n-bezier),
    + caret-color .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + text-decoration-color .3s var(--n-bezier);
    + `),M("input-el, textarea-el",`
    + -webkit-appearance: none;
    + scrollbar-width: none;
    + width: 100%;
    + min-width: 0;
    + text-decoration-color: var(--n-text-decoration-color);
    + color: var(--n-text-color);
    + caret-color: var(--n-caret-color);
    + background-color: transparent;
    + `,[z("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
    + width: 0;
    + height: 0;
    + display: none;
    + `),z("&::placeholder",`
    + color: #0000;
    + -webkit-text-fill-color: transparent !important;
    + `),z("&:-webkit-autofill ~",[M("placeholder","display: none;")])]),B("round",[nt("textarea","border-radius: calc(var(--n-height) / 2);")]),M("placeholder",`
    + pointer-events: none;
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + overflow: hidden;
    + color: var(--n-placeholder-color);
    + `,[z("span",`
    + width: 100%;
    + display: inline-block;
    + `)]),B("textarea",[M("placeholder","overflow: visible;")]),nt("autosize","width: 100%;"),B("autosize",[M("textarea-el, input-el",`
    + position: absolute;
    + top: 0;
    + left: 0;
    + height: 100%;
    + `)]),y("input-wrapper",`
    + overflow: hidden;
    + display: inline-flex;
    + flex-grow: 1;
    + position: relative;
    + padding-left: var(--n-padding-left);
    + padding-right: var(--n-padding-right);
    + `),M("input-mirror",`
    + padding: 0;
    + height: var(--n-height);
    + line-height: var(--n-height);
    + overflow: hidden;
    + visibility: hidden;
    + position: static;
    + white-space: pre;
    + pointer-events: none;
    + `),M("input-el",`
    + padding: 0;
    + height: var(--n-height);
    + line-height: var(--n-height);
    + `,[z("&[type=password]::-ms-reveal","display: none;"),z("+",[M("placeholder",`
    + display: flex;
    + align-items: center; 
    + `)])]),nt("textarea",[M("placeholder","white-space: nowrap;")]),M("eye",`
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + transition: color .3s var(--n-bezier);
    + `),B("textarea","width: 100%;",[y("input-word-count",`
    + position: absolute;
    + right: var(--n-padding-right);
    + bottom: var(--n-padding-vertical);
    + `),B("resizable",[y("input-wrapper",`
    + resize: vertical;
    + min-height: var(--n-height);
    + `)]),M("textarea-el, textarea-mirror, placeholder",`
    + height: 100%;
    + padding-left: 0;
    + padding-right: 0;
    + padding-top: var(--n-padding-vertical);
    + padding-bottom: var(--n-padding-vertical);
    + word-break: break-word;
    + display: inline-block;
    + vertical-align: bottom;
    + box-sizing: border-box;
    + line-height: var(--n-line-height-textarea);
    + margin: 0;
    + resize: none;
    + white-space: pre-wrap;
    + scroll-padding-block-end: var(--n-padding-vertical);
    + `),M("textarea-mirror",`
    + width: 100%;
    + pointer-events: none;
    + overflow: hidden;
    + visibility: hidden;
    + position: static;
    + white-space: pre-wrap;
    + overflow-wrap: break-word;
    + `)]),B("pair",[M("input-el, placeholder","text-align: center;"),M("separator",`
    + display: flex;
    + align-items: center;
    + transition: color .3s var(--n-bezier);
    + color: var(--n-text-color);
    + white-space: nowrap;
    + `,[y("icon",`
    + color: var(--n-icon-color);
    + `),y("base-icon",`
    + color: var(--n-icon-color);
    + `)])]),B("disabled",`
    + cursor: not-allowed;
    + background-color: var(--n-color-disabled);
    + `,[M("border","border: var(--n-border-disabled);"),M("input-el, textarea-el",`
    + cursor: not-allowed;
    + color: var(--n-text-color-disabled);
    + text-decoration-color: var(--n-text-color-disabled);
    + `),M("placeholder","color: var(--n-placeholder-color-disabled);"),M("separator","color: var(--n-text-color-disabled);",[y("icon",`
    + color: var(--n-icon-color-disabled);
    + `),y("base-icon",`
    + color: var(--n-icon-color-disabled);
    + `)]),y("input-word-count",`
    + color: var(--n-count-text-color-disabled);
    + `),M("suffix, prefix","color: var(--n-text-color-disabled);",[y("icon",`
    + color: var(--n-icon-color-disabled);
    + `),y("internal-icon",`
    + color: var(--n-icon-color-disabled);
    + `)])]),nt("disabled",[M("eye",`
    + color: var(--n-icon-color);
    + cursor: pointer;
    + `,[z("&:hover",`
    + color: var(--n-icon-color-hover);
    + `),z("&:active",`
    + color: var(--n-icon-color-pressed);
    + `)]),z("&:hover",[M("state-border","border: var(--n-border-hover);")]),B("focus","background-color: var(--n-color-focus);",[M("state-border",`
    + border: var(--n-border-focus);
    + box-shadow: var(--n-box-shadow-focus);
    + `)])]),M("border, state-border",`
    + box-sizing: border-box;
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + pointer-events: none;
    + border-radius: inherit;
    + border: var(--n-border);
    + transition:
    + box-shadow .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    + `),M("state-border",`
    + border-color: #0000;
    + z-index: 1;
    + `),M("prefix","margin-right: 4px;"),M("suffix",`
    + margin-left: 4px;
    + `),M("suffix, prefix",`
    + transition: color .3s var(--n-bezier);
    + flex-wrap: nowrap;
    + flex-shrink: 0;
    + line-height: var(--n-height);
    + white-space: nowrap;
    + display: inline-flex;
    + align-items: center;
    + justify-content: center;
    + color: var(--n-suffix-text-color);
    + `,[y("base-loading",`
    + font-size: var(--n-icon-size);
    + margin: 0 2px;
    + color: var(--n-loading-color);
    + `),y("base-clear",`
    + font-size: var(--n-icon-size);
    + `,[M("placeholder",[y("base-icon",`
    + transition: color .3s var(--n-bezier);
    + color: var(--n-icon-color);
    + font-size: var(--n-icon-size);
    + `)])]),z(">",[y("icon",`
    + transition: color .3s var(--n-bezier);
    + color: var(--n-icon-color);
    + font-size: var(--n-icon-size);
    + `)]),y("base-icon",`
    + font-size: var(--n-icon-size);
    + `)]),y("input-word-count",`
    + pointer-events: none;
    + line-height: 1.5;
    + font-size: .85em;
    + color: var(--n-count-text-color);
    + transition: color .3s var(--n-bezier);
    + margin-left: 4px;
    + font-variant: tabular-nums;
    + `),["warning","error"].map(e=>B(`${e}-status`,[nt("disabled",[y("base-loading",`
    + color: var(--n-loading-color-${e})
    + `),M("input-el, textarea-el",`
    + caret-color: var(--n-caret-color-${e});
    + `),M("state-border",`
    + border: var(--n-border-${e});
    + `),z("&:hover",[M("state-border",`
    + border: var(--n-border-hover-${e});
    + `)]),z("&:focus",`
    + background-color: var(--n-color-focus-${e});
    + `,[M("state-border",`
    + box-shadow: var(--n-box-shadow-focus-${e});
    + border: var(--n-border-focus-${e});
    + `)]),B("focus",`
    + background-color: var(--n-color-focus-${e});
    + `,[M("state-border",`
    + box-shadow: var(--n-box-shadow-focus-${e});
    + border: var(--n-border-focus-${e});
    + `)])])]))]),o5=y("input",[B("disabled",[M("input-el, textarea-el",`
    + -webkit-text-fill-color: var(--n-text-color-disabled);
    + `)])]),r5=Object.assign(Object.assign({},we.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),Ga=ne({name:"Input",props:r5,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=we("Input","-input",t5,Ht,e,t);af&&Do("-input-safari",o5,t);const a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=e5(p),f=E(null),{localeRef:v}=wo("Input"),m=E(e.defaultValue),b=he(e,"value"),C=$t(b,m),R=So(e),{mergedSizeRef:$,mergedDisabledRef:S,mergedStatusRef:w}=R,x=E(!1),k=E(!1),P=E(!1),I=E(!1);let A=null;const O=T(()=>{const{placeholder:W,pair:ce}=e;return ce?Array.isArray(W)?W:W===void 0?["",""]:[W,W]:W===void 0?[v.value.placeholder]:[W]}),L=T(()=>{const{value:W}=P,{value:ce}=C,{value:We}=O;return!W&&(Xn(ce)||Array.isArray(ce)&&Xn(ce[0]))&&We[0]}),H=T(()=>{const{value:W}=P,{value:ce}=C,{value:We}=O;return!W&&We[1]&&(Xn(ce)||Array.isArray(ce)&&Xn(ce[1]))}),_=Ye(()=>e.internalForceFocus||x.value),U=Ye(()=>{if(S.value||e.readonly||!e.clearable||!_.value&&!k.value)return!1;const{value:W}=C,{value:ce}=_;return e.pair?!!(Array.isArray(W)&&(W[0]||W[1]))&&(k.value||ce):!!W&&(k.value||ce)}),N=T(()=>{const{showPasswordOn:W}=e;if(W)return W;if(e.showPasswordToggle)return"click"}),te=E(!1),fe=T(()=>{const{textDecoration:W}=e;return W?Array.isArray(W)?W.map(ce=>({textDecoration:ce})):[{textDecoration:W}]:["",""]}),ae=E(void 0),Y=()=>{var W,ce;if(e.type==="textarea"){const{autosize:We}=e;if(We&&(ae.value=(ce=(W=f.value)===null||W===void 0?void 0:W.$el)===null||ce===void 0?void 0:ce.offsetWidth),!l.value||typeof We=="boolean")return;const{paddingTop:st,paddingBottom:ct,lineHeight:lt}=window.getComputedStyle(l.value),Qt=Number(st.slice(0,-2)),eo=Number(ct.slice(0,-2)),to=Number(lt.slice(0,-2)),{value:zo}=s;if(!zo)return;if(We.minRows){const To=Math.max(We.minRows,1),Jo=`${Qt+eo+to*To}px`;zo.style.minHeight=Jo}if(We.maxRows){const To=`${Qt+eo+to*We.maxRows}px`;zo.style.maxHeight=To}}},j=T(()=>{const{maxlength:W}=e;return W===void 0?void 0:Number(W)});gt(()=>{const{value:W}=C;Array.isArray(W)||Ge(W)});const X=Nr().proxy;function re(W,ce){const{onUpdateValue:We,"onUpdate:value":st,onInput:ct}=e,{nTriggerFormInput:lt}=R;We&&ie(We,W,ce),st&&ie(st,W,ce),ct&&ie(ct,W,ce),m.value=W,lt()}function le(W,ce){const{onChange:We}=e,{nTriggerFormChange:st}=R;We&&ie(We,W,ce),m.value=W,st()}function ge(W){const{onBlur:ce}=e,{nTriggerFormBlur:We}=R;ce&&ie(ce,W),We()}function me(W){const{onFocus:ce}=e,{nTriggerFormFocus:We}=R;ce&&ie(ce,W),We()}function Ae(W){const{onClear:ce}=e;ce&&ie(ce,W)}function q(W){const{onInputBlur:ce}=e;ce&&ie(ce,W)}function ve(W){const{onInputFocus:ce}=e;ce&&ie(ce,W)}function $e(){const{onDeactivate:W}=e;W&&ie(W)}function Oe(){const{onActivate:W}=e;W&&ie(W)}function Z(W){const{onClick:ce}=e;ce&&ie(ce,W)}function ue(W){const{onWrapperFocus:ce}=e;ce&&ie(ce,W)}function be(W){const{onWrapperBlur:ce}=e;ce&&ie(ce,W)}function De(){P.value=!0}function ee(W){P.value=!1,W.target===h.value?Ce(W,1):Ce(W,0)}function Ce(W,ce=0,We="input"){const st=W.target.value;if(Ge(st),W instanceof InputEvent&&!W.isComposing&&(P.value=!1),e.type==="textarea"){const{value:lt}=f;lt&<.syncUnifiedContainer()}if(A=st,P.value)return;g.recordCursor();const ct=Pe(st);if(ct)if(!e.pair)We==="input"?re(st,{source:ce}):le(st,{source:ce});else{let{value:lt}=C;Array.isArray(lt)?lt=[lt[0],lt[1]]:lt=["",""],lt[ce]=st,We==="input"?re(lt,{source:ce}):le(lt,{source:ce})}X.$forceUpdate(),ct||ut(g.restoreCursor)}function Pe(W){const{countGraphemes:ce,maxlength:We,minlength:st}=e;if(ce){let lt;if(We!==void 0&&(lt===void 0&&(lt=ce(W)),lt>Number(We))||st!==void 0&&(lt===void 0&&(lt=ce(W)),lt{st.preventDefault(),Xe("mouseup",document,ce)};if(tt("mouseup",document,ce),N.value!=="mousedown")return;te.value=!0;const We=()=>{te.value=!1,Xe("mouseup",document,We)};tt("mouseup",document,We)}function Ve(W){e.onKeyup&&ie(e.onKeyup,W)}function at(W){switch(e.onKeydown&&ie(e.onKeydown,W),W.key){case"Escape":G();break;case"Enter":F(W);break}}function F(W){var ce,We;if(e.passivelyActivated){const{value:st}=I;if(st){e.internalDeactivateOnEnter&&G();return}W.preventDefault(),e.type==="textarea"?(ce=l.value)===null||ce===void 0||ce.focus():(We=u.value)===null||We===void 0||We.focus()}}function G(){e.passivelyActivated&&(I.value=!1,ut(()=>{var W;(W=a.value)===null||W===void 0||W.focus()}))}function de(){var W,ce,We;S.value||(e.passivelyActivated?(W=a.value)===null||W===void 0||W.focus():((ce=l.value)===null||ce===void 0||ce.focus(),(We=u.value)===null||We===void 0||We.focus()))}function Re(){var W;!((W=a.value)===null||W===void 0)&&W.contains(document.activeElement)&&document.activeElement.blur()}function Ie(){var W,ce;(W=l.value)===null||W===void 0||W.select(),(ce=u.value)===null||ce===void 0||ce.select()}function Fe(){S.value||(l.value?l.value.focus():u.value&&u.value.focus())}function _e(){const{value:W}=a;W!=null&&W.contains(document.activeElement)&&W!==document.activeElement&&G()}function je(W){if(e.type==="textarea"){const{value:ce}=l;ce==null||ce.scrollTo(W)}else{const{value:ce}=u;ce==null||ce.scrollTo(W)}}function Ge(W){const{type:ce,pair:We,autosize:st}=e;if(!We&&st)if(ce==="textarea"){const{value:ct}=s;ct&&(ct.textContent=(W??"")+`\r
    +`)}else{const{value:ct}=d;ct&&(W?ct.textContent=W:ct.innerHTML=" ")}}function xt(){Y()}const ft=E({top:"0"});function Ct(W){var ce;const{scrollTop:We}=W.target;ft.value.top=`${-We}px`,(ce=f.value)===null||ce===void 0||ce.syncUnifiedContainer()}let Kt=null;vt(()=>{const{autosize:W,type:ce}=e;W&&ce==="textarea"?Kt=Je(C,We=>{!Array.isArray(We)&&We!==A&&Ge(We)}):Kt==null||Kt()});let qt=null;vt(()=>{e.type==="textarea"?qt=Je(C,W=>{var ce;!Array.isArray(W)&&W!==A&&((ce=f.value)===null||ce===void 0||ce.syncUnifiedContainer())}):qt==null||qt()}),Ue(sf,{mergedValueRef:C,maxlengthRef:j,mergedClsPrefixRef:t,countGraphemesRef:he(e,"countGraphemes")});const Ro={wrapperElRef:a,inputElRef:u,textareaElRef:l,isCompositing:P,clear:qe,focus:de,blur:Re,select:Ie,deactivate:_e,activate:Fe,scrollTo:je},Po=Rt("Input",n,t),uo=T(()=>{const{value:W}=$,{common:{cubicBezierEaseInOut:ce},self:{color:We,borderRadius:st,textColor:ct,caretColor:lt,caretColorError:Qt,caretColorWarning:eo,textDecorationColor:to,border:zo,borderDisabled:To,borderHover:Jo,borderFocus:Jr,placeholderColor:Qr,placeholderColorDisabled:en,lineHeightTextarea:tn,colorDisabled:Ho,colorFocus:jo,textColorDisabled:Ui,boxShadowFocus:Ki,iconSize:qi,colorFocusWarning:Gi,boxShadowFocusWarning:Xi,borderWarning:Yi,borderFocusWarning:Lp,borderHoverWarning:_p,colorFocusError:Dp,boxShadowFocusError:Hp,borderError:jp,borderFocusError:Wp,borderHoverError:Np,clearSize:Vp,clearColor:Up,clearColorHover:Kp,clearColorPressed:qp,iconColor:Gp,iconColorDisabled:Xp,suffixTextColor:Yp,countTextColor:Zp,countTextColorDisabled:Jp,iconColorHover:Qp,iconColorPressed:ev,loadingColor:tv,loadingColorError:ov,loadingColorWarning:rv,[oe("padding",W)]:nv,[oe("fontSize",W)]:iv,[oe("height",W)]:av}}=i.value,{left:lv,right:sv}=_t(nv);return{"--n-bezier":ce,"--n-count-text-color":Zp,"--n-count-text-color-disabled":Jp,"--n-color":We,"--n-font-size":iv,"--n-border-radius":st,"--n-height":av,"--n-padding-left":lv,"--n-padding-right":sv,"--n-text-color":ct,"--n-caret-color":lt,"--n-text-decoration-color":to,"--n-border":zo,"--n-border-disabled":To,"--n-border-hover":Jo,"--n-border-focus":Jr,"--n-placeholder-color":Qr,"--n-placeholder-color-disabled":en,"--n-icon-size":qi,"--n-line-height-textarea":tn,"--n-color-disabled":Ho,"--n-color-focus":jo,"--n-text-color-disabled":Ui,"--n-box-shadow-focus":Ki,"--n-loading-color":tv,"--n-caret-color-warning":eo,"--n-color-focus-warning":Gi,"--n-box-shadow-focus-warning":Xi,"--n-border-warning":Yi,"--n-border-focus-warning":Lp,"--n-border-hover-warning":_p,"--n-loading-color-warning":rv,"--n-caret-color-error":Qt,"--n-color-focus-error":Dp,"--n-box-shadow-focus-error":Hp,"--n-border-error":jp,"--n-border-focus-error":Wp,"--n-border-hover-error":Np,"--n-loading-color-error":ov,"--n-clear-color":Up,"--n-clear-size":Vp,"--n-clear-color-hover":Kp,"--n-clear-color-pressed":qp,"--n-icon-color":Gp,"--n-icon-color-hover":Qp,"--n-icon-color-pressed":ev,"--n-icon-color-disabled":Xp,"--n-suffix-text-color":Yp}}),fo=r?Qe("input",T(()=>{const{value:W}=$;return W[0]}),uo,e):void 0;return Object.assign(Object.assign({},Ro),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:d,inputEl2Ref:h,textareaElRef:l,textareaMirrorElRef:s,textareaScrollbarInstRef:f,rtlEnabled:Po,uncontrolledValue:m,mergedValue:C,passwordVisible:te,mergedPlaceholder:O,showPlaceholder1:L,showPlaceholder2:H,mergedFocus:_,isComposing:P,activated:I,showClearButton:U,mergedSize:$,mergedDisabled:S,textDecorationStyle:fe,mergedClsPrefix:t,mergedBordered:o,mergedShowPasswordOn:N,placeholderStyle:ft,mergedStatus:w,textAreaScrollContainerWidth:ae,handleTextAreaScroll:Ct,handleCompositionStart:De,handleCompositionEnd:ee,handleInput:Ce,handleInputBlur:K,handleInputFocus:Q,handleWrapperBlur:pe,handleWrapperFocus:V,handleMouseEnter:ye,handleMouseLeave:ze,handleMouseDown:it,handleChange:J,handleClick:Se,handleClear:Le,handlePasswordToggleClick:Ke,handlePasswordToggleMousedown:Be,handleWrapperKeydown:at,handleWrapperKeyup:Ve,handleTextAreaMirrorResize:xt,getTextareaScrollContainer:()=>l.value,mergedTheme:i,cssVars:r?void 0:uo,themeClass:fo==null?void 0:fo.themeClass,onRender:fo==null?void 0:fo.onRender})},render(){var e,t;const{mergedClsPrefix:o,mergedStatus:r,themeClass:n,type:i,countGraphemes:a,onRender:l}=this,s=this.$slots;return l==null||l(),c("div",{ref:"wrapperElRef",class:[`${o}-input`,n,r&&`${o}-input--${r}-status`,{[`${o}-input--rtl`]:this.rtlEnabled,[`${o}-input--disabled`]:this.mergedDisabled,[`${o}-input--textarea`]:i==="textarea",[`${o}-input--resizable`]:this.resizable&&!this.autosize,[`${o}-input--autosize`]:this.autosize,[`${o}-input--round`]:this.round&&i!=="textarea",[`${o}-input--pair`]:this.pair,[`${o}-input--focus`]:this.mergedFocus,[`${o}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},c("div",{class:`${o}-input-wrapper`},Ze(s.prefix,d=>d&&c("div",{class:`${o}-input__prefix`},d)),i==="textarea"?c(so,{ref:"textareaScrollbarInstRef",class:`${o}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var d,u;const{textAreaScrollContainerWidth:h}=this,p={width:this.autosize&&h&&`${h}px`};return c(yt,null,c("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${o}-input__textarea-el`,(d=this.inputProps)===null||d===void 0?void 0:d.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,p],onBlur:this.handleInputBlur,onFocus:g=>{this.handleInputFocus(g,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?c("div",{class:`${o}-input__placeholder`,style:[this.placeholderStyle,p],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?c(io,{onResize:this.handleTextAreaMirrorResize},{default:()=>c("div",{ref:"textareaMirrorElRef",class:`${o}-input__textarea-mirror`,key:"mirror"})}):null)}}):c("div",{class:`${o}-input__input`},c("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${o}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:d=>{this.handleInputFocus(d,0)},onInput:d=>{this.handleInput(d,0)},onChange:d=>{this.handleChange(d,0)}})),this.showPlaceholder1?c("div",{class:`${o}-input__placeholder`},c("span",null,this.mergedPlaceholder[0])):null,this.autosize?c("div",{class:`${o}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Ze(s.suffix,d=>d||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?c("div",{class:`${o}-input__suffix`},[Ze(s["clear-icon-placeholder"],u=>(this.clearable||u)&&c(qa,{clsPrefix:o,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var h,p;return(p=(h=this.$slots)["clear-icon"])===null||p===void 0?void 0:p.call(h)}})),this.internalLoadingBeforeSuffix?null:d,this.loading!==void 0?c(Qu,{clsPrefix:o,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?d:null,this.showCount&&this.type!=="textarea"?c(kd,null,{default:u=>{var h;return(h=s.count)===null||h===void 0?void 0:h.call(s,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?c("div",{class:`${o}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?Bt(s["password-visible-icon"],()=>[c(ot,{clsPrefix:o},{default:()=>c(oS,null)})]):Bt(s["password-invisible-icon"],()=>[c(ot,{clsPrefix:o},{default:()=>c(rS,null)})])):null]):null)),this.pair?c("span",{class:`${o}-input__separator`},Bt(s.separator,()=>[this.separator])):null,this.pair?c("div",{class:`${o}-input-wrapper`},c("div",{class:`${o}-input__input`},c("input",{ref:"inputEl2Ref",type:this.type,class:`${o}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:d=>{this.handleInputFocus(d,1)},onInput:d=>{this.handleInput(d,1)},onChange:d=>{this.handleChange(d,1)}}),this.showPlaceholder2?c("div",{class:`${o}-input__placeholder`},c("span",null,this.mergedPlaceholder[1])):null),Ze(s.suffix,d=>(this.clearable||d)&&c("div",{class:`${o}-input__suffix`},[this.clearable&&c(qa,{clsPrefix:o,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=s["clear-icon"])===null||u===void 0?void 0:u.call(s)},placeholder:()=>{var u;return(u=s["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(s)}}),d]))):null,this.mergedBordered?c("div",{class:`${o}-input__border`}):null,this.mergedBordered?c("div",{class:`${o}-input__state-border`}):null,this.showCount&&i==="textarea"?c(kd,null,{default:d=>{var u;const{renderCount:h}=this;return h?h(d):(u=s.count)===null||u===void 0?void 0:u.call(s,d)}}):null)}}),n5=y("input-group",`
    + display: inline-flex;
    + width: 100%;
    + flex-wrap: nowrap;
    + vertical-align: bottom;
    +`,[z(">",[y("input",[z("&:not(:last-child)",`
    + border-top-right-radius: 0!important;
    + border-bottom-right-radius: 0!important;
    + `),z("&:not(:first-child)",`
    + border-top-left-radius: 0!important;
    + border-bottom-left-radius: 0!important;
    + margin-left: -1px!important;
    + `)]),y("button",[z("&:not(:last-child)",`
    + border-top-right-radius: 0!important;
    + border-bottom-right-radius: 0!important;
    + `,[M("state-border, border",`
    + border-top-right-radius: 0!important;
    + border-bottom-right-radius: 0!important;
    + `)]),z("&:not(:first-child)",`
    + border-top-left-radius: 0!important;
    + border-bottom-left-radius: 0!important;
    + `,[M("state-border, border",`
    + border-top-left-radius: 0!important;
    + border-bottom-left-radius: 0!important;
    + `)])]),z("*",[z("&:not(:last-child)",`
    + border-top-right-radius: 0!important;
    + border-bottom-right-radius: 0!important;
    + `,[z(">",[y("input",`
    + border-top-right-radius: 0!important;
    + border-bottom-right-radius: 0!important;
    + `),y("base-selection",[y("base-selection-label",`
    + border-top-right-radius: 0!important;
    + border-bottom-right-radius: 0!important;
    + `),y("base-selection-tags",`
    + border-top-right-radius: 0!important;
    + border-bottom-right-radius: 0!important;
    + `),M("box-shadow, border, state-border",`
    + border-top-right-radius: 0!important;
    + border-bottom-right-radius: 0!important;
    + `)])])]),z("&:not(:first-child)",`
    + margin-left: -1px!important;
    + border-top-left-radius: 0!important;
    + border-bottom-left-radius: 0!important;
    + `,[z(">",[y("input",`
    + border-top-left-radius: 0!important;
    + border-bottom-left-radius: 0!important;
    + `),y("base-selection",[y("base-selection-label",`
    + border-top-left-radius: 0!important;
    + border-bottom-left-radius: 0!important;
    + `),y("base-selection-tags",`
    + border-top-left-radius: 0!important;
    + border-bottom-left-radius: 0!important;
    + `),M("box-shadow, border, state-border",`
    + border-top-left-radius: 0!important;
    + border-bottom-left-radius: 0!important;
    + `)])])])])])]),i5={},c8=ne({name:"InputGroup",props:i5,setup(e){const{mergedClsPrefixRef:t}=He(e);return Do("-input-group",n5,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return c("div",{class:`${e}-input-group`},this.$slots)}}),a5=y("input-group-label",`
    + position: relative;
    + user-select: none;
    + -webkit-user-select: none;
    + box-sizing: border-box;
    + padding: 0 12px;
    + display: inline-block;
    + border-radius: var(--n-border-radius);
    + background-color: var(--n-group-label-color);
    + color: var(--n-group-label-text-color);
    + font-size: var(--n-font-size);
    + line-height: var(--n-height);
    + height: var(--n-height);
    + flex-shrink: 0;
    + white-space: nowrap;
    + transition: 
    + color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier);
    +`,[M("border",`
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + border-radius: inherit;
    + border: var(--n-group-label-border);
    + transition: border-color .3s var(--n-bezier);
    + `)]),l5=Object.assign(Object.assign({},we.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),u8=ne({name:"InputGroupLabel",props:l5,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r}=He(e),n=we("Input","-input-group-label",a5,Ht,e,o),i=T(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:s},self:{groupLabelColor:d,borderRadius:u,groupLabelTextColor:h,lineHeight:p,groupLabelBorder:g,[oe("fontSize",l)]:f,[oe("height",l)]:v}}=n.value;return{"--n-bezier":s,"--n-group-label-color":d,"--n-group-label-border":g,"--n-border-radius":u,"--n-group-label-text-color":h,"--n-font-size":f,"--n-line-height":p,"--n-height":v}}),a=r?Qe("input-group-label",T(()=>e.size[0]),i,e):void 0;return{mergedClsPrefix:o,mergedBordered:t,cssVars:r?void 0:i,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender}},render(){var e,t,o;const{mergedClsPrefix:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${r}-input-group-label`,this.themeClass],style:this.cssVars},(o=(t=this.$slots).default)===null||o===void 0?void 0:o.call(t),this.mergedBordered?c("div",{class:`${r}-input-group-label__border`}):null)}});function df(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const s5={name:"AutoComplete",common:xe,peers:{InternalSelectMenu:Xr,Input:Ht},self:df},d5=s5,c5={name:"AutoComplete",common:ke,peers:{InternalSelectMenu:En,Input:Jt},self:df},u5=c5,cf=Eo&&"loading"in document.createElement("img"),f5=(e={})=>{var t;const{root:o=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(t=e.threshold)!==null&&t!==void 0?t:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof o=="string"?document.querySelector(o):o)||document.documentElement})}},ba=new WeakMap,ma=new WeakMap,xa=new WeakMap,uf=(e,t,o)=>{if(!e)return()=>{};const r=f5(t),{root:n}=r.options;let i;const a=ba.get(n);a?i=a:(i=new Map,ba.set(n,i));let l,s;i.has(r.hash)?(s=i.get(r.hash),s[1].has(e)||(l=s[0],s[1].add(e),l.observe(e))):(l=new IntersectionObserver(h=>{h.forEach(p=>{if(p.isIntersecting){const g=ma.get(p.target),f=xa.get(p.target);g&&g(),f&&(f.value=!0)}})},r.options),l.observe(e),s=[l,new Set([e])],i.set(r.hash,s));let d=!1;const u=()=>{d||(ma.delete(e),xa.delete(e),d=!0,s[1].has(e)&&(s[0].unobserve(e),s[1].delete(e)),s[1].size<=0&&i.delete(r.hash),i.size||ba.delete(n))};return ma.set(e,u),xa.set(e,o),u},ff=e=>{const{borderRadius:t,avatarColor:o,cardColor:r,fontSize:n,heightTiny:i,heightSmall:a,heightMedium:l,heightLarge:s,heightHuge:d,modalColor:u,popoverColor:h}=e;return{borderRadius:t,fontSize:n,border:`2px solid ${r}`,heightTiny:i,heightSmall:a,heightMedium:l,heightLarge:s,heightHuge:d,color:Ee(r,o),colorModal:Ee(u,o),colorPopover:Ee(h,o)}},h5={name:"Avatar",common:xe,self:ff},zl=h5,p5={name:"Avatar",common:ke,self:ff},hf=p5,v5="n-avatar-group",g5=y("avatar",`
    + width: var(--n-merged-size);
    + height: var(--n-merged-size);
    + color: #FFF;
    + font-size: var(--n-font-size);
    + display: inline-flex;
    + position: relative;
    + overflow: hidden;
    + text-align: center;
    + border: var(--n-border);
    + border-radius: var(--n-border-radius);
    + --n-merged-color: var(--n-color);
    + background-color: var(--n-merged-color);
    + transition:
    + border-color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    +`,[Kr(z("&","--n-merged-color: var(--n-color-modal);")),Tn(z("&","--n-merged-color: var(--n-color-popover);")),z("img",`
    + width: 100%;
    + height: 100%;
    + `),M("text",`
    + white-space: nowrap;
    + display: inline-block;
    + position: absolute;
    + left: 50%;
    + top: 50%;
    + `),y("icon",`
    + vertical-align: bottom;
    + font-size: calc(var(--n-merged-size) - 6px);
    + `),M("text","line-height: 1.25")]),b5=Object.assign(Object.assign({},we.props),{size:[String,Number],src:String,circle:{type:Boolean,default:void 0},objectFit:String,round:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},onError:Function,fallbackSrc:String,intersectionObserverOptions:Object,lazy:Boolean,onLoad:Function,renderPlaceholder:Function,renderFallback:Function,imgProps:Object,color:String}),f8=ne({name:"Avatar",props:b5,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=E(!1);let n=null;const i=E(null),a=E(null),l=()=>{const{value:C}=i;if(C&&(n===null||n!==C.innerHTML)){n=C.innerHTML;const{value:R}=a;if(R){const{offsetWidth:$,offsetHeight:S}=R,{offsetWidth:w,offsetHeight:x}=C,k=.9,P=Math.min($/w*k,S/x*k,1);C.style.transform=`translateX(-50%) translateY(-50%) scale(${P})`}}},s=Te(v5,null),d=T(()=>{const{size:C}=e;if(C)return C;const{size:R}=s||{};return R||"medium"}),u=we("Avatar","-avatar",g5,zl,e,t),h=Te(Ju,null),p=T(()=>{if(s)return!0;const{round:C,circle:R}=e;return C!==void 0||R!==void 0?C||R:h?h.roundRef.value:!1}),g=T(()=>s?!0:e.bordered||!1),f=T(()=>{const C=d.value,R=p.value,$=g.value,{color:S}=e,{self:{borderRadius:w,fontSize:x,color:k,border:P,colorModal:I,colorPopover:A},common:{cubicBezierEaseInOut:O}}=u.value;let L;return typeof C=="number"?L=`${C}px`:L=u.value.self[oe("height",C)],{"--n-font-size":x,"--n-border":$?P:"none","--n-border-radius":R?"50%":w,"--n-color":S||k,"--n-color-modal":S||I,"--n-color-popover":S||A,"--n-bezier":O,"--n-merged-size":`var(--n-avatar-size-override, ${L})`}}),v=o?Qe("avatar",T(()=>{const C=d.value,R=p.value,$=g.value,{color:S}=e;let w="";return C&&(typeof C=="number"?w+=`a${C}`:w+=C[0]),R&&(w+="b"),$&&(w+="c"),S&&(w+=bn(S)),w}),f,e):void 0,m=E(!e.lazy);gt(()=>{if(e.lazy&&e.intersectionObserverOptions){let C;const R=vt(()=>{C==null||C(),C=void 0,e.lazy&&(C=uf(a.value,e.intersectionObserverOptions,m))});dt(()=>{R(),C==null||C()})}}),Je(()=>{var C;return e.src||((C=e.imgProps)===null||C===void 0?void 0:C.src)},()=>{r.value=!1});const b=E(!e.lazy);return{textRef:i,selfRef:a,mergedRoundRef:p,mergedClsPrefix:t,fitTextTransform:l,cssVars:o?void 0:f,themeClass:v==null?void 0:v.themeClass,onRender:v==null?void 0:v.onRender,hasLoadError:r,shouldStartLoading:m,loaded:b,mergedOnError:C=>{if(!m.value)return;r.value=!0;const{onError:R,imgProps:{onError:$}={}}=e;R==null||R(C),$==null||$(C)},mergedOnLoad:C=>{const{onLoad:R,imgProps:{onLoad:$}={}}=e;R==null||R(C),$==null||$(C),b.value=!0}}},render(){var e,t;const{$slots:o,src:r,mergedClsPrefix:n,lazy:i,onRender:a,loaded:l,hasLoadError:s,imgProps:d={}}=this;a==null||a();let u;const h=!l&&!s&&(this.renderPlaceholder?this.renderPlaceholder():(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e));return this.hasLoadError?u=this.renderFallback?this.renderFallback():Bt(o.fallback,()=>[c("img",{src:this.fallbackSrc,style:{objectFit:this.objectFit}})]):u=Ze(o.default,p=>{if(p)return c(io,{onResize:this.fitTextTransform},{default:()=>c("span",{ref:"textRef",class:`${n}-avatar__text`},p)});if(r||d.src){const g=this.src||d.src;return c("img",Object.assign(Object.assign({},d),{loading:cf&&!this.intersectionObserverOptions&&i?"lazy":"eager",src:i&&this.intersectionObserverOptions?this.shouldStartLoading?g:void 0:g,"data-image-src":g,onLoad:this.mergedOnLoad,onError:this.mergedOnError,style:[d.style||"",{objectFit:this.objectFit},h?{height:"0",width:"0",visibility:"hidden",position:"absolute"}:""]}))}}),c("span",{ref:"selfRef",class:[`${n}-avatar`,this.themeClass],style:this.cssVars},u,i&&h)}}),pf=()=>({gap:"-12px"}),m5={name:"AvatarGroup",common:xe,peers:{Avatar:zl},self:pf},x5=m5,C5={name:"AvatarGroup",common:ke,peers:{Avatar:hf},self:pf},y5=C5,vf={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},w5={name:"BackTop",common:ke,self(e){const{popoverColor:t,textColor2:o,primaryColorHover:r,primaryColorPressed:n}=e;return Object.assign(Object.assign({},vf),{color:t,textColor:o,iconColor:o,iconColorHover:r,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},S5=w5,k5=e=>{const{popoverColor:t,textColor2:o,primaryColorHover:r,primaryColorPressed:n}=e;return Object.assign(Object.assign({},vf),{color:t,textColor:o,iconColor:o,iconColorHover:r,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},$5={name:"BackTop",common:xe,self:k5},R5=$5,P5={name:"Badge",common:ke,self(e){const{errorColorSuppl:t,infoColorSuppl:o,successColorSuppl:r,warningColorSuppl:n,fontFamily:i}=e;return{color:t,colorInfo:o,colorSuccess:r,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}}},z5=P5,T5=e=>{const{errorColor:t,infoColor:o,successColor:r,warningColor:n,fontFamily:i}=e;return{color:t,colorInfo:o,colorSuccess:r,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}},B5={name:"Badge",common:xe,self:T5},M5=B5,O5={fontWeightActive:"400"},gf=e=>{const{fontSize:t,textColor3:o,textColor2:r,borderRadius:n,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},O5),{fontSize:t,itemLineHeight:"1.25",itemTextColor:o,itemTextColorHover:r,itemTextColorPressed:r,itemTextColorActive:r,itemBorderRadius:n,itemColorHover:i,itemColorPressed:a,separatorColor:o})},I5={name:"Breadcrumb",common:xe,self:gf},F5=I5,E5={name:"Breadcrumb",common:ke,self:gf},A5=E5;function Qo(e){return Ee(e,[255,255,255,.16])}function Yn(e){return Ee(e,[0,0,0,.12])}const bf="n-button-group",L5={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},mf=e=>{const{heightTiny:t,heightSmall:o,heightMedium:r,heightLarge:n,borderRadius:i,fontSizeTiny:a,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:u,textColor2:h,textColor3:p,primaryColorHover:g,primaryColorPressed:f,borderColor:v,primaryColor:m,baseColor:b,infoColor:C,infoColorHover:R,infoColorPressed:$,successColor:S,successColorHover:w,successColorPressed:x,warningColor:k,warningColorHover:P,warningColorPressed:I,errorColor:A,errorColorHover:O,errorColorPressed:L,fontWeight:H,buttonColor2:_,buttonColor2Hover:U,buttonColor2Pressed:N,fontWeightStrong:te}=e;return Object.assign(Object.assign({},L5),{heightTiny:t,heightSmall:o,heightMedium:r,heightLarge:n,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:_,colorSecondaryHover:U,colorSecondaryPressed:N,colorTertiary:_,colorTertiaryHover:U,colorTertiaryPressed:N,colorQuaternary:"#0000",colorQuaternaryHover:U,colorQuaternaryPressed:N,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:h,textColorTertiary:p,textColorHover:g,textColorPressed:f,textColorFocus:g,textColorDisabled:h,textColorText:h,textColorTextHover:g,textColorTextPressed:f,textColorTextFocus:g,textColorTextDisabled:h,textColorGhost:h,textColorGhostHover:g,textColorGhostPressed:f,textColorGhostFocus:g,textColorGhostDisabled:h,border:`1px solid ${v}`,borderHover:`1px solid ${g}`,borderPressed:`1px solid ${f}`,borderFocus:`1px solid ${g}`,borderDisabled:`1px solid ${v}`,rippleColor:m,colorPrimary:m,colorHoverPrimary:g,colorPressedPrimary:f,colorFocusPrimary:g,colorDisabledPrimary:m,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:m,textColorTextHoverPrimary:g,textColorTextPressedPrimary:f,textColorTextFocusPrimary:g,textColorTextDisabledPrimary:h,textColorGhostPrimary:m,textColorGhostHoverPrimary:g,textColorGhostPressedPrimary:f,textColorGhostFocusPrimary:g,textColorGhostDisabledPrimary:m,borderPrimary:`1px solid ${m}`,borderHoverPrimary:`1px solid ${g}`,borderPressedPrimary:`1px solid ${f}`,borderFocusPrimary:`1px solid ${g}`,borderDisabledPrimary:`1px solid ${m}`,rippleColorPrimary:m,colorInfo:C,colorHoverInfo:R,colorPressedInfo:$,colorFocusInfo:R,colorDisabledInfo:C,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:C,textColorTextHoverInfo:R,textColorTextPressedInfo:$,textColorTextFocusInfo:R,textColorTextDisabledInfo:h,textColorGhostInfo:C,textColorGhostHoverInfo:R,textColorGhostPressedInfo:$,textColorGhostFocusInfo:R,textColorGhostDisabledInfo:C,borderInfo:`1px solid ${C}`,borderHoverInfo:`1px solid ${R}`,borderPressedInfo:`1px solid ${$}`,borderFocusInfo:`1px solid ${R}`,borderDisabledInfo:`1px solid ${C}`,rippleColorInfo:C,colorSuccess:S,colorHoverSuccess:w,colorPressedSuccess:x,colorFocusSuccess:w,colorDisabledSuccess:S,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:S,textColorTextHoverSuccess:w,textColorTextPressedSuccess:x,textColorTextFocusSuccess:w,textColorTextDisabledSuccess:h,textColorGhostSuccess:S,textColorGhostHoverSuccess:w,textColorGhostPressedSuccess:x,textColorGhostFocusSuccess:w,textColorGhostDisabledSuccess:S,borderSuccess:`1px solid ${S}`,borderHoverSuccess:`1px solid ${w}`,borderPressedSuccess:`1px solid ${x}`,borderFocusSuccess:`1px solid ${w}`,borderDisabledSuccess:`1px solid ${S}`,rippleColorSuccess:S,colorWarning:k,colorHoverWarning:P,colorPressedWarning:I,colorFocusWarning:P,colorDisabledWarning:k,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:k,textColorTextHoverWarning:P,textColorTextPressedWarning:I,textColorTextFocusWarning:P,textColorTextDisabledWarning:h,textColorGhostWarning:k,textColorGhostHoverWarning:P,textColorGhostPressedWarning:I,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:k,borderWarning:`1px solid ${k}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${I}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${k}`,rippleColorWarning:k,colorError:A,colorHoverError:O,colorPressedError:L,colorFocusError:O,colorDisabledError:A,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:A,textColorTextHoverError:O,textColorTextPressedError:L,textColorTextFocusError:O,textColorTextDisabledError:h,textColorGhostError:A,textColorGhostHoverError:O,textColorGhostPressedError:L,textColorGhostFocusError:O,textColorGhostDisabledError:A,borderError:`1px solid ${A}`,borderHoverError:`1px solid ${O}`,borderPressedError:`1px solid ${L}`,borderFocusError:`1px solid ${O}`,borderDisabledError:`1px solid ${A}`,rippleColorError:A,waveOpacity:"0.6",fontWeight:H,fontWeightStrong:te})},_5={name:"Button",common:xe,self:mf},At=_5,D5={name:"Button",common:ke,self(e){const t=mf(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},jt=D5,H5=z([y("button",`
    + margin: 0;
    + font-weight: var(--n-font-weight);
    + line-height: 1;
    + font-family: inherit;
    + padding: var(--n-padding);
    + height: var(--n-height);
    + font-size: var(--n-font-size);
    + border-radius: var(--n-border-radius);
    + color: var(--n-text-color);
    + background-color: var(--n-color);
    + width: var(--n-width);
    + white-space: nowrap;
    + outline: none;
    + position: relative;
    + z-index: auto;
    + border: none;
    + display: inline-flex;
    + flex-wrap: nowrap;
    + flex-shrink: 0;
    + align-items: center;
    + justify-content: center;
    + user-select: none;
    + -webkit-user-select: none;
    + text-align: center;
    + cursor: pointer;
    + text-decoration: none;
    + transition:
    + color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + opacity .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    + `,[B("color",[M("border",{borderColor:"var(--n-border-color)"}),B("disabled",[M("border",{borderColor:"var(--n-border-color-disabled)"})]),nt("disabled",[z("&:focus",[M("state-border",{borderColor:"var(--n-border-color-focus)"})]),z("&:hover",[M("state-border",{borderColor:"var(--n-border-color-hover)"})]),z("&:active",[M("state-border",{borderColor:"var(--n-border-color-pressed)"})]),B("pressed",[M("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),B("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[M("border",{border:"var(--n-border-disabled)"})]),nt("disabled",[z("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[M("state-border",{border:"var(--n-border-focus)"})]),z("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[M("state-border",{border:"var(--n-border-hover)"})]),z("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[M("state-border",{border:"var(--n-border-pressed)"})]),B("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[M("state-border",{border:"var(--n-border-pressed)"})])]),B("loading","cursor: wait;"),y("base-wave",`
    + pointer-events: none;
    + top: 0;
    + right: 0;
    + bottom: 0;
    + left: 0;
    + animation-iteration-count: 1;
    + animation-duration: var(--n-ripple-duration);
    + animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out);
    + `,[B("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),Eo&&"MozBoxSizing"in document.createElement("div").style?z("&::moz-focus-inner",{border:0}):null,M("border, state-border",`
    + position: absolute;
    + left: 0;
    + top: 0;
    + right: 0;
    + bottom: 0;
    + border-radius: inherit;
    + transition: border-color .3s var(--n-bezier);
    + pointer-events: none;
    + `),M("border",{border:"var(--n-border)"}),M("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),M("icon",`
    + margin: var(--n-icon-margin);
    + margin-left: 0;
    + height: var(--n-icon-size);
    + width: var(--n-icon-size);
    + max-width: var(--n-icon-size);
    + font-size: var(--n-icon-size);
    + position: relative;
    + flex-shrink: 0;
    + `,[y("icon-slot",`
    + height: var(--n-icon-size);
    + width: var(--n-icon-size);
    + position: absolute;
    + left: 0;
    + top: 50%;
    + transform: translateY(-50%);
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + `,[Wt({top:"50%",originalTransform:"translateY(-50%)"})]),I2()]),M("content",`
    + display: flex;
    + align-items: center;
    + flex-wrap: nowrap;
    + min-width: 0;
    + `,[z("~",[M("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),B("block",`
    + display: flex;
    + width: 100%;
    + `),B("dashed",[M("border, state-border",{borderStyle:"dashed !important"})]),B("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),z("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),z("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),j5=Object.assign(Object.assign({},we.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!af}}),xf=ne({name:"Button",props:j5,setup(e){const t=E(null),o=E(null),r=E(!1),n=Ye(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=Te(bf,{}),{mergedSizeRef:a}=So({},{defaultSize:"medium",mergedSize:$=>{const{size:S}=e;if(S)return S;const{size:w}=i;if(w)return w;const{mergedSize:x}=$||{};return x?x.value:"medium"}}),l=T(()=>e.focusable&&!e.disabled),s=$=>{var S;l.value||$.preventDefault(),!e.nativeFocusBehavior&&($.preventDefault(),!e.disabled&&l.value&&((S=t.value)===null||S===void 0||S.focus({preventScroll:!0})))},d=$=>{var S;if(!e.disabled&&!e.loading){const{onClick:w}=e;w&&ie(w,$),e.text||(S=o.value)===null||S===void 0||S.play()}},u=$=>{switch($.key){case"Enter":if(!e.keyboard)return;r.value=!1}},h=$=>{switch($.key){case"Enter":if(!e.keyboard||e.loading){$.preventDefault();return}r.value=!0}},p=()=>{r.value=!1},{inlineThemeDisabled:g,mergedClsPrefixRef:f,mergedRtlRef:v}=He(e),m=we("Button","-button",H5,At,e,f),b=Rt("Button",v,f),C=T(()=>{const $=m.value,{common:{cubicBezierEaseInOut:S,cubicBezierEaseOut:w},self:x}=$,{rippleDuration:k,opacityDisabled:P,fontWeight:I,fontWeightStrong:A}=x,O=a.value,{dashed:L,type:H,ghost:_,text:U,color:N,round:te,circle:fe,textColor:ae,secondary:Y,tertiary:j,quaternary:X,strong:re}=e,le={"font-weight":re?A:I};let ge={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const me=H==="tertiary",Ae=H==="default",q=me?"default":H;if(U){const K=ae||N;ge={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":K||x[oe("textColorText",q)],"--n-text-color-hover":K?Qo(K):x[oe("textColorTextHover",q)],"--n-text-color-pressed":K?Yn(K):x[oe("textColorTextPressed",q)],"--n-text-color-focus":K?Qo(K):x[oe("textColorTextHover",q)],"--n-text-color-disabled":K||x[oe("textColorTextDisabled",q)]}}else if(_||L){const K=ae||N;ge={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":N||x[oe("rippleColor",q)],"--n-text-color":K||x[oe("textColorGhost",q)],"--n-text-color-hover":K?Qo(K):x[oe("textColorGhostHover",q)],"--n-text-color-pressed":K?Yn(K):x[oe("textColorGhostPressed",q)],"--n-text-color-focus":K?Qo(K):x[oe("textColorGhostHover",q)],"--n-text-color-disabled":K||x[oe("textColorGhostDisabled",q)]}}else if(Y){const K=Ae?x.textColor:me?x.textColorTertiary:x[oe("color",q)],Q=N||K,pe=H!=="default"&&H!=="tertiary";ge={"--n-color":pe?se(Q,{alpha:Number(x.colorOpacitySecondary)}):x.colorSecondary,"--n-color-hover":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-pressed":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryPressed)}):x.colorSecondaryPressed,"--n-color-focus":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-disabled":x.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":Q,"--n-text-color-hover":Q,"--n-text-color-pressed":Q,"--n-text-color-focus":Q,"--n-text-color-disabled":Q}}else if(j||X){const K=Ae?x.textColor:me?x.textColorTertiary:x[oe("color",q)],Q=N||K;j?(ge["--n-color"]=x.colorTertiary,ge["--n-color-hover"]=x.colorTertiaryHover,ge["--n-color-pressed"]=x.colorTertiaryPressed,ge["--n-color-focus"]=x.colorSecondaryHover,ge["--n-color-disabled"]=x.colorTertiary):(ge["--n-color"]=x.colorQuaternary,ge["--n-color-hover"]=x.colorQuaternaryHover,ge["--n-color-pressed"]=x.colorQuaternaryPressed,ge["--n-color-focus"]=x.colorQuaternaryHover,ge["--n-color-disabled"]=x.colorQuaternary),ge["--n-ripple-color"]="#0000",ge["--n-text-color"]=Q,ge["--n-text-color-hover"]=Q,ge["--n-text-color-pressed"]=Q,ge["--n-text-color-focus"]=Q,ge["--n-text-color-disabled"]=Q}else ge={"--n-color":N||x[oe("color",q)],"--n-color-hover":N?Qo(N):x[oe("colorHover",q)],"--n-color-pressed":N?Yn(N):x[oe("colorPressed",q)],"--n-color-focus":N?Qo(N):x[oe("colorFocus",q)],"--n-color-disabled":N||x[oe("colorDisabled",q)],"--n-ripple-color":N||x[oe("rippleColor",q)],"--n-text-color":ae||(N?x.textColorPrimary:me?x.textColorTertiary:x[oe("textColor",q)]),"--n-text-color-hover":ae||(N?x.textColorHoverPrimary:x[oe("textColorHover",q)]),"--n-text-color-pressed":ae||(N?x.textColorPressedPrimary:x[oe("textColorPressed",q)]),"--n-text-color-focus":ae||(N?x.textColorFocusPrimary:x[oe("textColorFocus",q)]),"--n-text-color-disabled":ae||(N?x.textColorDisabledPrimary:x[oe("textColorDisabled",q)])};let ve={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};U?ve={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ve={"--n-border":x[oe("border",q)],"--n-border-hover":x[oe("borderHover",q)],"--n-border-pressed":x[oe("borderPressed",q)],"--n-border-focus":x[oe("borderFocus",q)],"--n-border-disabled":x[oe("borderDisabled",q)]};const{[oe("height",O)]:$e,[oe("fontSize",O)]:Oe,[oe("padding",O)]:Z,[oe("paddingRound",O)]:ue,[oe("iconSize",O)]:be,[oe("borderRadius",O)]:De,[oe("iconMargin",O)]:ee,waveOpacity:Ce}=x,Pe={"--n-width":fe&&!U?$e:"initial","--n-height":U?"initial":$e,"--n-font-size":Oe,"--n-padding":fe||U?"initial":te?ue:Z,"--n-icon-size":be,"--n-icon-margin":ee,"--n-border-radius":U?"initial":fe||te?$e:De};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":S,"--n-bezier-ease-out":w,"--n-ripple-duration":k,"--n-opacity-disabled":P,"--n-wave-opacity":Ce},le),ge),ve),Pe)}),R=g?Qe("button",T(()=>{let $="";const{dashed:S,type:w,ghost:x,text:k,color:P,round:I,circle:A,textColor:O,secondary:L,tertiary:H,quaternary:_,strong:U}=e;S&&($+="a"),x&&($+="b"),k&&($+="c"),I&&($+="d"),A&&($+="e"),L&&($+="f"),H&&($+="g"),_&&($+="h"),U&&($+="i"),P&&($+="j"+bn(P)),O&&($+="k"+bn(O));const{value:N}=a;return $+="l"+N[0],$+="m"+w[0],$}),C,e):void 0;return{selfElRef:t,waveElRef:o,mergedClsPrefix:f,mergedFocusable:l,mergedSize:a,showBorder:n,enterPressed:r,rtlEnabled:b,handleMousedown:s,handleKeydown:h,handleBlur:p,handleKeyup:u,handleClick:d,customColorCssVars:T(()=>{const{color:$}=e;if(!$)return null;const S=Qo($);return{"--n-border-color":$,"--n-border-color-hover":S,"--n-border-color-pressed":Yn($),"--n-border-color-focus":S,"--n-border-color-disabled":$}}),cssVars:g?void 0:C,themeClass:R==null?void 0:R.themeClass,onRender:R==null?void 0:R.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:o}=this;o==null||o();const r=Ze(this.$slots.default,n=>n&&c("span",{class:`${e}-button__content`},n));return c(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&r,c(Eu,{width:!0},{default:()=>Ze(this.$slots.icon,n=>(this.loading||this.renderIcon||n)&&c("span",{class:`${e}-button__icon`,style:{margin:Or(this.$slots.default)?"0":""}},c(br,null,{default:()=>this.loading?c(Yo,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):c("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():n)})))}),this.iconPlacement==="left"&&r,this.text?null:c(u2,{ref:"waveElRef",clsPrefix:e}),this.showBorder?c("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?c("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),jr=xf,$d=xf,bt="0!important",Cf="-1px!important";function Pr(e){return B(e+"-type",[z("& +",[y("button",{},[B(e+"-type",[M("border",{borderLeftWidth:bt}),M("state-border",{left:Cf})])])])])}function zr(e){return B(e+"-type",[z("& +",[y("button",[B(e+"-type",[M("border",{borderTopWidth:bt}),M("state-border",{top:Cf})])])])])}const W5=y("button-group",`
    + flex-wrap: nowrap;
    + display: inline-flex;
    + position: relative;
    +`,[nt("vertical",{flexDirection:"row"},[nt("rtl",[y("button",[z("&:first-child:not(:last-child)",`
    + margin-right: ${bt};
    + border-top-right-radius: ${bt};
    + border-bottom-right-radius: ${bt};
    + `),z("&:last-child:not(:first-child)",`
    + margin-left: ${bt};
    + border-top-left-radius: ${bt};
    + border-bottom-left-radius: ${bt};
    + `),z("&:not(:first-child):not(:last-child)",`
    + margin-left: ${bt};
    + margin-right: ${bt};
    + border-radius: ${bt};
    + `),Pr("default"),B("ghost",[Pr("primary"),Pr("info"),Pr("success"),Pr("warning"),Pr("error")])])])]),B("vertical",{flexDirection:"column"},[y("button",[z("&:first-child:not(:last-child)",`
    + margin-bottom: ${bt};
    + margin-left: ${bt};
    + margin-right: ${bt};
    + border-bottom-left-radius: ${bt};
    + border-bottom-right-radius: ${bt};
    + `),z("&:last-child:not(:first-child)",`
    + margin-top: ${bt};
    + margin-left: ${bt};
    + margin-right: ${bt};
    + border-top-left-radius: ${bt};
    + border-top-right-radius: ${bt};
    + `),z("&:not(:first-child):not(:last-child)",`
    + margin: ${bt};
    + border-radius: ${bt};
    + `),zr("default"),B("ghost",[zr("primary"),zr("info"),zr("success"),zr("warning"),zr("error")])])])]),N5={size:{type:String,default:void 0},vertical:Boolean},h8=ne({name:"ButtonGroup",props:N5,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e);return Do("-button-group",W5,t),Ue(bf,e),{rtlEnabled:Rt("ButtonGroup",o,t),mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return c("div",{class:[`${e}-button-group`,this.rtlEnabled&&`${e}-button-group--rtl`,this.vertical&&`${e}-button-group--vertical`],role:"group"},this.$slots)}}),V5={titleFontSize:"22px"},yf=e=>{const{borderRadius:t,fontSize:o,lineHeight:r,textColor2:n,textColor1:i,textColorDisabled:a,dividerColor:l,fontWeightStrong:s,primaryColor:d,baseColor:u,hoverColor:h,cardColor:p,modalColor:g,popoverColor:f}=e;return Object.assign(Object.assign({},V5),{borderRadius:t,borderColor:Ee(p,l),borderColorModal:Ee(g,l),borderColorPopover:Ee(f,l),textColor:n,titleFontWeight:s,titleTextColor:i,dayTextColor:a,fontSize:o,lineHeight:r,dateColorCurrent:d,dateTextColorCurrent:u,cellColorHover:Ee(p,h),cellColorHoverModal:Ee(g,h),cellColorHoverPopover:Ee(f,h),cellColor:p,cellColorModal:g,cellColorPopover:f,barColor:d})},U5={name:"Calendar",common:xe,peers:{Button:At},self:yf},K5=U5,q5={name:"Calendar",common:ke,peers:{Button:jt},self:yf},G5=q5,wf=e=>{const{fontSize:t,boxShadow2:o,popoverColor:r,textColor2:n,borderRadius:i,borderColor:a,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,dividerColor:g}=e;return{panelFontSize:t,boxShadow:o,color:r,textColor:n,borderRadius:i,border:`1px solid ${a}`,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,dividerColor:g}},X5={name:"ColorPicker",common:xe,peers:{Input:Ht,Button:At},self:wf},Y5=X5,Z5={name:"ColorPicker",common:ke,peers:{Input:Jt,Button:jt},self:wf},J5=Z5,Q5={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},Sf=e=>{const{primaryColor:t,borderRadius:o,lineHeight:r,fontSize:n,cardColor:i,textColor2:a,textColor1:l,dividerColor:s,fontWeightStrong:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,closeColorHover:g,closeColorPressed:f,modalColor:v,boxShadow1:m,popoverColor:b,actionColor:C}=e;return Object.assign(Object.assign({},Q5),{lineHeight:r,color:i,colorModal:v,colorPopover:b,colorTarget:t,colorEmbedded:C,colorEmbeddedModal:C,colorEmbeddedPopover:C,textColor:a,titleTextColor:l,borderColor:s,actionColor:C,titleFontWeight:d,closeColorHover:g,closeColorPressed:f,closeBorderRadius:o,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,fontSizeSmall:n,fontSizeMedium:n,fontSizeLarge:n,fontSizeHuge:n,boxShadow:m,borderRadius:o})},ek={name:"Card",common:xe,self:Sf},Tl=ek,tk={name:"Card",common:ke,self(e){const t=Sf(e),{cardColor:o,modalColor:r,popoverColor:n}=e;return t.colorEmbedded=o,t.colorEmbeddedModal=r,t.colorEmbeddedPopover=n,t}},kf=tk,ok=z([y("card",`
    + font-size: var(--n-font-size);
    + line-height: var(--n-line-height);
    + display: flex;
    + flex-direction: column;
    + width: 100%;
    + box-sizing: border-box;
    + position: relative;
    + border-radius: var(--n-border-radius);
    + background-color: var(--n-color);
    + color: var(--n-text-color);
    + word-break: break-word;
    + transition: 
    + color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    + `,[gc({background:"var(--n-color-modal)"}),B("hoverable",[z("&:hover","box-shadow: var(--n-box-shadow);")]),B("content-segmented",[z(">",[M("content",{paddingTop:"var(--n-padding-bottom)"})])]),B("content-soft-segmented",[z(">",[M("content",`
    + margin: 0 var(--n-padding-left);
    + padding: var(--n-padding-bottom) 0;
    + `)])]),B("footer-segmented",[z(">",[M("footer",{paddingTop:"var(--n-padding-bottom)"})])]),B("footer-soft-segmented",[z(">",[M("footer",`
    + padding: var(--n-padding-bottom) 0;
    + margin: 0 var(--n-padding-left);
    + `)])]),z(">",[y("card-header",`
    + box-sizing: border-box;
    + display: flex;
    + align-items: center;
    + font-size: var(--n-title-font-size);
    + padding:
    + var(--n-padding-top)
    + var(--n-padding-left)
    + var(--n-padding-bottom)
    + var(--n-padding-left);
    + `,[M("main",`
    + font-weight: var(--n-title-font-weight);
    + transition: color .3s var(--n-bezier);
    + flex: 1;
    + min-width: 0;
    + color: var(--n-title-text-color);
    + `),M("extra",`
    + display: flex;
    + align-items: center;
    + font-size: var(--n-font-size);
    + font-weight: 400;
    + transition: color .3s var(--n-bezier);
    + color: var(--n-text-color);
    + `),M("close",`
    + margin: 0 0 0 8px;
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + `)]),M("action",`
    + box-sizing: border-box;
    + transition:
    + background-color .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    + background-clip: padding-box;
    + background-color: var(--n-action-color);
    + `),M("content","flex: 1; min-width: 0;"),M("content, footer",`
    + box-sizing: border-box;
    + padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left);
    + font-size: var(--n-font-size);
    + `,[z("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),M("action",`
    + background-color: var(--n-action-color);
    + padding: var(--n-padding-bottom) var(--n-padding-left);
    + border-bottom-left-radius: var(--n-border-radius);
    + border-bottom-right-radius: var(--n-border-radius);
    + `)]),y("card-cover",`
    + overflow: hidden;
    + width: 100%;
    + border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;
    + `,[z("img",`
    + display: block;
    + width: 100%;
    + `)]),B("bordered",`
    + border: 1px solid var(--n-border-color);
    + `,[z("&:target","border-color: var(--n-color-target);")]),B("action-segmented",[z(">",[M("action",[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("content-segmented, content-soft-segmented",[z(">",[M("content",{transition:"border-color 0.3s var(--n-bezier)"},[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("footer-segmented, footer-soft-segmented",[z(">",[M("footer",{transition:"border-color 0.3s var(--n-bezier)"},[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("embedded",`
    + background-color: var(--n-color-embedded);
    + `)]),Kr(y("card",`
    + background: var(--n-color-modal);
    + `,[B("embedded",`
    + background-color: var(--n-color-embedded-modal);
    + `)])),Tn(y("card",`
    + background: var(--n-color-popover);
    + `,[B("embedded",`
    + background-color: var(--n-color-embedded-popover);
    + `)]))]),Bl={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},rk=Uo(Bl),nk=Object.assign(Object.assign({},we.props),Bl),ik=ne({name:"Card",props:nk,setup(e){const t=()=>{const{onClose:d}=e;d&&ie(d)},{inlineThemeDisabled:o,mergedClsPrefixRef:r,mergedRtlRef:n}=He(e),i=we("Card","-card",ok,Tl,e,r),a=Rt("Card",n,r),l=T(()=>{const{size:d}=e,{self:{color:u,colorModal:h,colorTarget:p,textColor:g,titleTextColor:f,titleFontWeight:v,borderColor:m,actionColor:b,borderRadius:C,lineHeight:R,closeIconColor:$,closeIconColorHover:S,closeIconColorPressed:w,closeColorHover:x,closeColorPressed:k,closeBorderRadius:P,closeIconSize:I,closeSize:A,boxShadow:O,colorPopover:L,colorEmbedded:H,colorEmbeddedModal:_,colorEmbeddedPopover:U,[oe("padding",d)]:N,[oe("fontSize",d)]:te,[oe("titleFontSize",d)]:fe},common:{cubicBezierEaseInOut:ae}}=i.value,{top:Y,left:j,bottom:X}=_t(N);return{"--n-bezier":ae,"--n-border-radius":C,"--n-color":u,"--n-color-modal":h,"--n-color-popover":L,"--n-color-embedded":H,"--n-color-embedded-modal":_,"--n-color-embedded-popover":U,"--n-color-target":p,"--n-text-color":g,"--n-line-height":R,"--n-action-color":b,"--n-title-text-color":f,"--n-title-font-weight":v,"--n-close-icon-color":$,"--n-close-icon-color-hover":S,"--n-close-icon-color-pressed":w,"--n-close-color-hover":x,"--n-close-color-pressed":k,"--n-border-color":m,"--n-box-shadow":O,"--n-padding-top":Y,"--n-padding-bottom":X,"--n-padding-left":j,"--n-font-size":te,"--n-title-font-size":fe,"--n-close-size":A,"--n-close-icon-size":I,"--n-close-border-radius":P}}),s=o?Qe("card",T(()=>e.size[0]),l,e):void 0;return{rtlEnabled:a,mergedClsPrefix:r,mergedTheme:i,handleCloseClick:t,cssVars:o?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{segmented:e,bordered:t,hoverable:o,mergedClsPrefix:r,rtlEnabled:n,onRender:i,embedded:a,tag:l,$slots:s}=this;return i==null||i(),c(l,{class:[`${r}-card`,this.themeClass,a&&`${r}-card--embedded`,{[`${r}-card--rtl`]:n,[`${r}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${r}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${r}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${r}-card--bordered`]:t,[`${r}-card--hoverable`]:o}],style:this.cssVars,role:this.role},Ze(s.cover,d=>d&&c("div",{class:`${r}-card-cover`,role:"none"},d)),Ze(s.header,d=>d||this.title||this.closable?c("div",{class:[`${r}-card-header`,this.headerClass],style:this.headerStyle},c("div",{class:`${r}-card-header__main`,role:"heading"},d||this.title),Ze(s["header-extra"],u=>u&&c("div",{class:[`${r}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?c(mr,{clsPrefix:r,class:`${r}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Ze(s.default,d=>d&&c("div",{class:[`${r}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},d)),Ze(s.footer,d=>d&&[c("div",{class:[`${r}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},d)]),Ze(s.action,d=>d&&c("div",{class:`${r}-card__action`,role:"none"},d)))}}),$f=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),ak={name:"Carousel",common:xe,self:$f},lk=ak,sk={name:"Carousel",common:ke,self:$f},dk=sk,ck={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},Rf=e=>{const{baseColor:t,inputColorDisabled:o,cardColor:r,modalColor:n,popoverColor:i,textColorDisabled:a,borderColor:l,primaryColor:s,textColor2:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,borderRadiusSmall:g,lineHeight:f}=e;return Object.assign(Object.assign({},ck),{labelLineHeight:f,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,borderRadius:g,color:t,colorChecked:s,colorDisabled:o,colorDisabledChecked:o,colorTableHeader:r,colorTableHeaderModal:n,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${l}`,borderDisabled:`1px solid ${l}`,borderDisabledChecked:`1px solid ${l}`,borderChecked:`1px solid ${s}`,borderFocus:`1px solid ${s}`,boxShadowFocus:`0 0 0 2px ${se(s,{alpha:.3})}`,textColor:d,textColorDisabled:a})},uk={name:"Checkbox",common:xe,self:Rf},yr=uk,fk={name:"Checkbox",common:ke,self(e){const{cardColor:t}=e,o=Rf(e);return o.color="#0000",o.checkMarkColor=t,o}},Zr=fk,Pf=e=>{const{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n,textColor3:i,primaryColor:a,textColorDisabled:l,dividerColor:s,hoverColor:d,fontSizeMedium:u,heightMedium:h}=e;return{menuBorderRadius:t,menuColor:r,menuBoxShadow:o,menuDividerColor:s,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:h,optionFontSize:u,optionColorHover:d,optionTextColor:n,optionTextColorActive:a,optionTextColorDisabled:l,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},hk={name:"Cascader",common:xe,peers:{InternalSelectMenu:Xr,InternalSelection:Li,Scrollbar:Et,Checkbox:yr,Empty:$o},self:Pf},pk=hk,vk={name:"Cascader",common:ke,peers:{InternalSelectMenu:En,InternalSelection:Pl,Scrollbar:Dt,Checkbox:Zr,Empty:$o},self:Pf},gk=vk,bk=c("svg",{viewBox:"0 0 64 64",class:"check-icon"},c("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51  c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92  C54.13,15.78,51.93,15.55,50.42,16.76z"})),mk=c("svg",{viewBox:"0 0 100 100",class:"line-icon"},c("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),zf="n-checkbox-group",xk={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},Ck=ne({name:"CheckboxGroup",props:xk,setup(e){const{mergedClsPrefixRef:t}=He(e),o=So(e),{mergedSizeRef:r,mergedDisabledRef:n}=o,i=E(e.defaultValue),a=T(()=>e.value),l=$t(a,i),s=T(()=>{var h;return((h=l.value)===null||h===void 0?void 0:h.length)||0}),d=T(()=>Array.isArray(l.value)?new Set(l.value):new Set);function u(h,p){const{nTriggerFormInput:g,nTriggerFormChange:f}=o,{onChange:v,"onUpdate:value":m,onUpdateValue:b}=e;if(Array.isArray(l.value)){const C=Array.from(l.value),R=C.findIndex($=>$===p);h?~R||(C.push(p),b&&ie(b,C,{actionType:"check",value:p}),m&&ie(m,C,{actionType:"check",value:p}),g(),f(),i.value=C,v&&ie(v,C)):~R&&(C.splice(R,1),b&&ie(b,C,{actionType:"uncheck",value:p}),m&&ie(m,C,{actionType:"uncheck",value:p}),v&&ie(v,C),i.value=C,g(),f())}else h?(b&&ie(b,[p],{actionType:"check",value:p}),m&&ie(m,[p],{actionType:"check",value:p}),v&&ie(v,[p]),i.value=[p],g(),f()):(b&&ie(b,[],{actionType:"uncheck",value:p}),m&&ie(m,[],{actionType:"uncheck",value:p}),v&&ie(v,[]),i.value=[],g(),f())}return Ue(zf,{checkedCountRef:s,maxRef:he(e,"max"),minRef:he(e,"min"),valueSetRef:d,disabledRef:n,mergedSizeRef:r,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return c("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),yk=z([y("checkbox",`
    + font-size: var(--n-font-size);
    + outline: none;
    + cursor: pointer;
    + display: inline-flex;
    + flex-wrap: nowrap;
    + align-items: flex-start;
    + word-break: break-word;
    + line-height: var(--n-size);
    + --n-merged-color-table: var(--n-color-table);
    + `,[B("show-label","line-height: var(--n-label-line-height);"),z("&:hover",[y("checkbox-box",[M("border","border: var(--n-border-checked);")])]),z("&:focus:not(:active)",[y("checkbox-box",[M("border",`
    + border: var(--n-border-focus);
    + box-shadow: var(--n-box-shadow-focus);
    + `)])]),B("inside-table",[y("checkbox-box",`
    + background-color: var(--n-merged-color-table);
    + `)]),B("checked",[y("checkbox-box",`
    + background-color: var(--n-color-checked);
    + `,[y("checkbox-icon",[z(".check-icon",`
    + opacity: 1;
    + transform: scale(1);
    + `)])])]),B("indeterminate",[y("checkbox-box",[y("checkbox-icon",[z(".check-icon",`
    + opacity: 0;
    + transform: scale(.5);
    + `),z(".line-icon",`
    + opacity: 1;
    + transform: scale(1);
    + `)])])]),B("checked, indeterminate",[z("&:focus:not(:active)",[y("checkbox-box",[M("border",`
    + border: var(--n-border-checked);
    + box-shadow: var(--n-box-shadow-focus);
    + `)])]),y("checkbox-box",`
    + background-color: var(--n-color-checked);
    + border-left: 0;
    + border-top: 0;
    + `,[M("border",{border:"var(--n-border-checked)"})])]),B("disabled",{cursor:"not-allowed"},[B("checked",[y("checkbox-box",`
    + background-color: var(--n-color-disabled-checked);
    + `,[M("border",{border:"var(--n-border-disabled-checked)"}),y("checkbox-icon",[z(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),y("checkbox-box",`
    + background-color: var(--n-color-disabled);
    + `,[M("border",`
    + border: var(--n-border-disabled);
    + `),y("checkbox-icon",[z(".check-icon, .line-icon",`
    + fill: var(--n-check-mark-color-disabled);
    + `)])]),M("label",`
    + color: var(--n-text-color-disabled);
    + `)]),y("checkbox-box-wrapper",`
    + position: relative;
    + width: var(--n-size);
    + flex-shrink: 0;
    + flex-grow: 0;
    + user-select: none;
    + -webkit-user-select: none;
    + `),y("checkbox-box",`
    + position: absolute;
    + left: 0;
    + top: 50%;
    + transform: translateY(-50%);
    + height: var(--n-size);
    + width: var(--n-size);
    + display: inline-block;
    + box-sizing: border-box;
    + border-radius: var(--n-border-radius);
    + background-color: var(--n-color);
    + transition: background-color 0.3s var(--n-bezier);
    + `,[M("border",`
    + transition:
    + border-color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier);
    + border-radius: inherit;
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + border: var(--n-border);
    + `),y("checkbox-icon",`
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + position: absolute;
    + left: 1px;
    + right: 1px;
    + top: 1px;
    + bottom: 1px;
    + `,[z(".check-icon, .line-icon",`
    + width: 100%;
    + fill: var(--n-check-mark-color);
    + opacity: 0;
    + transform: scale(0.5);
    + transform-origin: center;
    + transition:
    + fill 0.3s var(--n-bezier),
    + transform 0.3s var(--n-bezier),
    + opacity 0.3s var(--n-bezier),
    + border-color 0.3s var(--n-bezier);
    + `),Wt({left:"1px",top:"1px"})])]),M("label",`
    + color: var(--n-text-color);
    + transition: color .3s var(--n-bezier);
    + user-select: none;
    + -webkit-user-select: none;
    + padding: var(--n-label-padding);
    + font-weight: var(--n-label-font-weight);
    + `,[z("&:empty",{display:"none"})])]),Kr(y("checkbox",`
    + --n-merged-color-table: var(--n-color-table-modal);
    + `)),Tn(y("checkbox",`
    + --n-merged-color-table: var(--n-color-table-popover);
    + `))]),wk=Object.assign(Object.assign({},we.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),Ml=ne({name:"Checkbox",props:wk,setup(e){const t=E(null),{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=So(e,{mergedSize(w){const{size:x}=e;if(x!==void 0)return x;if(s){const{value:k}=s.mergedSizeRef;if(k!==void 0)return k}if(w){const{mergedSize:k}=w;if(k!==void 0)return k.value}return"medium"},mergedDisabled(w){const{disabled:x}=e;if(x!==void 0)return x;if(s){if(s.disabledRef.value)return!0;const{maxRef:{value:k},checkedCountRef:P}=s;if(k!==void 0&&P.value>=k&&!p.value)return!0;const{minRef:{value:I}}=s;if(I!==void 0&&P.value<=I&&p.value)return!0}return w?w.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:l}=i,s=Te(zf,null),d=E(e.defaultChecked),u=he(e,"checked"),h=$t(u,d),p=Ye(()=>{if(s){const w=s.valueSetRef.value;return w&&e.value!==void 0?w.has(e.value):!1}else return h.value===e.checkedValue}),g=we("Checkbox","-checkbox",yk,yr,e,o);function f(w){if(s&&e.value!==void 0)s.toggleCheckbox(!p.value,e.value);else{const{onChange:x,"onUpdate:checked":k,onUpdateChecked:P}=e,{nTriggerFormInput:I,nTriggerFormChange:A}=i,O=p.value?e.uncheckedValue:e.checkedValue;k&&ie(k,O,w),P&&ie(P,O,w),x&&ie(x,O,w),I(),A(),d.value=O}}function v(w){a.value||f(w)}function m(w){if(!a.value)switch(w.key){case" ":case"Enter":f(w)}}function b(w){switch(w.key){case" ":w.preventDefault()}}const C={focus:()=>{var w;(w=t.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=t.value)===null||w===void 0||w.blur()}},R=Rt("Checkbox",n,o),$=T(()=>{const{value:w}=l,{common:{cubicBezierEaseInOut:x},self:{borderRadius:k,color:P,colorChecked:I,colorDisabled:A,colorTableHeader:O,colorTableHeaderModal:L,colorTableHeaderPopover:H,checkMarkColor:_,checkMarkColorDisabled:U,border:N,borderFocus:te,borderDisabled:fe,borderChecked:ae,boxShadowFocus:Y,textColor:j,textColorDisabled:X,checkMarkColorDisabledChecked:re,colorDisabledChecked:le,borderDisabledChecked:ge,labelPadding:me,labelLineHeight:Ae,labelFontWeight:q,[oe("fontSize",w)]:ve,[oe("size",w)]:$e}}=g.value;return{"--n-label-line-height":Ae,"--n-label-font-weight":q,"--n-size":$e,"--n-bezier":x,"--n-border-radius":k,"--n-border":N,"--n-border-checked":ae,"--n-border-focus":te,"--n-border-disabled":fe,"--n-border-disabled-checked":ge,"--n-box-shadow-focus":Y,"--n-color":P,"--n-color-checked":I,"--n-color-table":O,"--n-color-table-modal":L,"--n-color-table-popover":H,"--n-color-disabled":A,"--n-color-disabled-checked":le,"--n-text-color":j,"--n-text-color-disabled":X,"--n-check-mark-color":_,"--n-check-mark-color-disabled":U,"--n-check-mark-color-disabled-checked":re,"--n-font-size":ve,"--n-label-padding":me}}),S=r?Qe("checkbox",T(()=>l.value[0]),$,e):void 0;return Object.assign(i,C,{rtlEnabled:R,selfRef:t,mergedClsPrefix:o,mergedDisabled:a,renderedChecked:p,mergedTheme:g,labelId:Vo(),handleClick:v,handleKeyUp:m,handleKeyDown:b,cssVars:r?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender})},render(){var e;const{$slots:t,renderedChecked:o,mergedDisabled:r,indeterminate:n,privateInsideTable:i,cssVars:a,labelId:l,label:s,mergedClsPrefix:d,focusable:u,handleKeyUp:h,handleKeyDown:p,handleClick:g}=this;(e=this.onRender)===null||e===void 0||e.call(this);const f=Ze(t.default,v=>s||v?c("span",{class:`${d}-checkbox__label`,id:l},s||v):null);return c("div",{ref:"selfRef",class:[`${d}-checkbox`,this.themeClass,this.rtlEnabled&&`${d}-checkbox--rtl`,o&&`${d}-checkbox--checked`,r&&`${d}-checkbox--disabled`,n&&`${d}-checkbox--indeterminate`,i&&`${d}-checkbox--inside-table`,f&&`${d}-checkbox--show-label`],tabindex:r||!u?void 0:0,role:"checkbox","aria-checked":n?"mixed":o,"aria-labelledby":l,style:a,onKeyup:h,onKeydown:p,onClick:g,onMousedown:()=>{tt("selectstart",window,v=>{v.preventDefault()},{once:!0})}},c("div",{class:`${d}-checkbox-box-wrapper`}," ",c("div",{class:`${d}-checkbox-box`},c(br,null,{default:()=>this.indeterminate?c("div",{key:"indeterminate",class:`${d}-checkbox-icon`},mk):c("div",{key:"check",class:`${d}-checkbox-icon`},bk)}),c("div",{class:`${d}-checkbox-box__border`}))),f)}}),Sk={name:"Code",common:ke,self(e){const{textColor2:t,fontSize:o,fontWeightStrong:r,textColor3:n}=e;return{textColor:t,fontSize:o,fontWeightStrong:r,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:n}}},Tf=Sk,kk=e=>{const{textColor2:t,fontSize:o,fontWeightStrong:r,textColor3:n}=e;return{textColor:t,fontSize:o,fontWeightStrong:r,"mono-3":"#a0a1a7","hue-1":"#0184bb","hue-2":"#4078f2","hue-3":"#a626a4","hue-4":"#50a14f","hue-5":"#e45649","hue-5-2":"#c91243","hue-6":"#986801","hue-6-2":"#c18401",lineNumberTextColor:n}},$k={name:"Code",common:xe,self:kk},Bf=$k,Mf=e=>{const{fontWeight:t,textColor1:o,textColor2:r,textColorDisabled:n,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:o,titleTextColorDisabled:n,fontSize:a,textColor:r,arrowColor:r,arrowColorDisabled:n,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},Rk={name:"Collapse",common:xe,self:Mf},Pk=Rk,zk={name:"Collapse",common:ke,self:Mf},Tk=zk,Of=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},Bk={name:"CollapseTransition",common:xe,self:Of},Mk=Bk,Ok={name:"CollapseTransition",common:ke,self:Of},Ik=Ok,Fk={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:$n},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(yo("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},p8=ne({name:"ConfigProvider",alias:["App"],props:Fk,setup(e){const t=Te(lo,null),o=T(()=>{const{theme:f}=e;if(f===null)return;const v=t==null?void 0:t.mergedThemeRef.value;return f===void 0?v:v===void 0?f:Object.assign({},v,f)}),r=T(()=>{const{themeOverrides:f}=e;if(f!==null){if(f===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const v=t==null?void 0:t.mergedThemeOverridesRef.value;return v===void 0?f:Mr({},v,f)}}}),n=Ye(()=>{const{namespace:f}=e;return f===void 0?t==null?void 0:t.mergedNamespaceRef.value:f}),i=Ye(()=>{const{bordered:f}=e;return f===void 0?t==null?void 0:t.mergedBorderedRef.value:f}),a=T(()=>{const{icons:f}=e;return f===void 0?t==null?void 0:t.mergedIconsRef.value:f}),l=T(()=>{const{componentOptions:f}=e;return f!==void 0?f:t==null?void 0:t.mergedComponentPropsRef.value}),s=T(()=>{const{clsPrefix:f}=e;return f!==void 0?f:t?t.mergedClsPrefixRef.value:$n}),d=T(()=>{var f;const{rtl:v}=e;if(v===void 0)return t==null?void 0:t.mergedRtlRef.value;const m={};for(const b of v)m[b.name]=Kl(b),(f=b.peers)===null||f===void 0||f.forEach(C=>{C.name in m||(m[C.name]=Kl(C))});return m}),u=T(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),h=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),p=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),g=T(()=>{const{value:f}=o,{value:v}=r,m=v&&Object.keys(v).length!==0,b=f==null?void 0:f.name;return b?m?`${b}-${mn(JSON.stringify(r.value))}`:b:m?mn(JSON.stringify(r.value)):""});return Ue(lo,{mergedThemeHashRef:g,mergedBreakpointsRef:u,mergedRtlRef:d,mergedIconsRef:a,mergedComponentPropsRef:l,mergedBorderedRef:i,mergedNamespaceRef:n,mergedClsPrefixRef:s,mergedLocaleRef:T(()=>{const{locale:f}=e;if(f!==null)return f===void 0?t==null?void 0:t.mergedLocaleRef.value:f}),mergedDateLocaleRef:T(()=>{const{dateLocale:f}=e;if(f!==null)return f===void 0?t==null?void 0:t.mergedDateLocaleRef.value:f}),mergedHljsRef:T(()=>{const{hljs:f}=e;return f===void 0?t==null?void 0:t.mergedHljsRef.value:f}),mergedKatexRef:T(()=>{const{katex:f}=e;return f===void 0?t==null?void 0:t.mergedKatexRef.value:f}),mergedThemeRef:o,mergedThemeOverridesRef:r,inlineThemeDisabled:h||!1,preflightStyleDisabled:p||!1}),{mergedClsPrefix:s,mergedBordered:i,mergedNamespace:n,mergedTheme:o,mergedThemeOverrides:r}},render(){var e,t,o,r;return this.abstract?(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o):c(this.as||this.tag,{class:`${this.mergedClsPrefix||$n}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),Ek={duration:{type:Number,default:0},active:{type:Boolean,default:!0},precision:{type:Number,default:0},render:Function,onFinish:Function},v8=ne({name:"Countdown",props:Ek,setup(e){let t=null,o=0,r=!1;const n=E(0);vt(()=>{n.value=e.duration});let i=-1;function a(g){return e.duration-o+i-g}function l(g){const f=Math.floor(g/36e5),v=Math.floor(g%36e5/6e4),m=Math.floor(g%6e4/1e3),b=Math.floor(g%1e3);return{hours:f,minutes:v,seconds:m,milliseconds:b}}function s(g){const{hours:f,minutes:v,seconds:m,milliseconds:b}=g,{precision:C}=e;switch(C){case 0:return`${String(f).padStart(2,"0")}:${String(v).padStart(2,"0")}:${String(m).padStart(2,"0")}`;default:return`${String(f).padStart(2,"0")}:${String(v).padStart(2,"0")}:${String(m).padStart(2,"0")}.${String(Math.floor(b/(C===1?100:C===2?10:1))).padStart(C,"0")}`}}const d=()=>{var g;const{precision:f}=e,v=a(performance.now());if(v<=0){n.value=0,u(),r||(r=!0,(g=e.onFinish)===null||g===void 0||g.call(e));return}let m;switch(f){case 3:case 2:m=v%34;break;case 1:m=v%100;break;default:m=v%1e3}n.value=v,t=window.setTimeout(()=>{d()},m)},u=()=>{t!==null&&(window.clearTimeout(t),t=null)};gt(()=>{vt(()=>{if(e.active)i=performance.now(),d();else{const g=performance.now();i!==-1&&(o+=g-i),u()}})}),dt(()=>{u()});function h(){n.value=e.duration,o=0,i=performance.now(),e.active&&r&&d(),r=!1}return Object.assign({reset:h},{distance:n,getTimeInfo:l,getDisplayValue:s})},render(){const{render:e,precision:t,distance:o,getTimeInfo:r,getDisplayValue:n}=this;let i;switch(t){case 0:i=r(o+999),i.milliseconds=0;break;case 1:i=r(o+99),i.milliseconds=Math.floor(i.milliseconds/100)*100;break;case 2:i=r(o+9),i.milliseconds=Math.floor(i.milliseconds/10)*10;break;case 3:i=r(o)}return e?e(i):n(i)}}),Ak=e=>1-Math.pow(1-e,5);function Lk(e){const{from:t,to:o,duration:r,onUpdate:n,onFinish:i}=e,a=()=>{const s=performance.now(),d=Math.min(s-l,r),u=t+(o-t)*Ak(d/r);if(d===r){i();return}n(u),requestAnimationFrame(a)},l=performance.now();a()}const _k={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},g8=ne({name:"NumberAnimation",props:_k,setup(e){const{localeRef:t}=wo("name"),{duration:o}=e,r=E(e.from),n=T(()=>{const{locale:p}=e;return p!==void 0?p:t.value});let i=!1;const a=p=>{r.value=p},l=()=>{var p;r.value=e.to,i=!1,(p=e.onFinish)===null||p===void 0||p.call(e)},s=(p=e.from,g=e.to)=>{i=!0,r.value=e.from,p!==g&&Lk({from:p,to:g,duration:o,onUpdate:a,onFinish:l})},d=T(()=>{var p;const f=my(r.value,e.precision).toFixed(e.precision).split("."),v=new Intl.NumberFormat(n.value),m=(p=v.formatToParts(.5).find(R=>R.type==="decimal"))===null||p===void 0?void 0:p.value,b=e.showSeparator?v.format(Number(f[0])):f[0],C=f[1];return{integer:b,decimal:C,decimalSeparator:m}});function u(){i||s()}return gt(()=>{vt(()=>{e.active&&s()})}),Object.assign({formattedValue:d},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:o}}=this;return[e,t?o:null,t]}}),Dk={name:"Popselect",common:ke,peers:{Popover:Cr,InternalSelectMenu:En}},If=Dk;function Hk(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const jk={name:"Popselect",common:xe,peers:{Popover:Zo,InternalSelectMenu:Xr},self:Hk},_i=jk,Ff="n-popselect",Wk=y("popselect-menu",`
    + box-shadow: var(--n-menu-box-shadow);
    +`),Ol={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},Rd=Uo(Ol),Nk=ne({name:"PopselectPanel",props:Ol,setup(e){const t=Te(Ff),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=He(e),n=we("Popselect","-pop-select",Wk,_i,t.props,o),i=T(()=>Ai(e.options,nf("value","children")));function a(p,g){const{onUpdateValue:f,"onUpdate:value":v,onChange:m}=e;f&&ie(f,p,g),v&&ie(v,p,g),m&&ie(m,p,g)}function l(p){d(p.key)}function s(p){!no(p,"action")&&!no(p,"empty")&&!no(p,"header")&&p.preventDefault()}function d(p){const{value:{getNode:g}}=i;if(e.multiple)if(Array.isArray(e.value)){const f=[],v=[];let m=!0;e.value.forEach(b=>{if(b===p){m=!1;return}const C=g(b);C&&(f.push(C.key),v.push(C.rawNode))}),m&&(f.push(p),v.push(g(p).rawNode)),a(f,v)}else{const f=g(p);f&&a([p],[f.rawNode])}else if(e.value===p&&e.cancelable)a(null,null);else{const f=g(p);f&&a(p,f.rawNode);const{"onUpdate:show":v,onUpdateShow:m}=t.props;v&&ie(v,!1),m&&ie(m,!1),t.setShow(!1)}ut(()=>{t.syncPosition()})}Je(he(e,"options"),()=>{ut(()=>{t.syncPosition()})});const u=T(()=>{const{self:{menuBoxShadow:p}}=n.value;return{"--n-menu-box-shadow":p}}),h=r?Qe("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:o,treeMate:i,handleToggle:l,handleMenuMousedown:s,cssVars:r?void 0:u,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),c(Ku,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,o;return((o=(t=this.$slots).header)===null||o===void 0?void 0:o.call(t))||[]},action:()=>{var t,o;return((o=(t=this.$slots).action)===null||o===void 0?void 0:o.call(t))||[]},empty:()=>{var t,o;return((o=(t=this.$slots).empty)===null||o===void 0?void 0:o.call(t))||[]}})}}),Vk=Object.assign(Object.assign(Object.assign(Object.assign({},we.props),fr(ur,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},ur.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),Ol),Uk=ne({name:"Popselect",props:Vk,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(e),o=we("Popselect","-popselect",void 0,_i,e,t),r=E(null);function n(){var l;(l=r.value)===null||l===void 0||l.syncPosition()}function i(l){var s;(s=r.value)===null||s===void 0||s.setShow(l)}return Ue(Ff,{props:e,mergedThemeRef:o,syncPosition:n,setShow:i}),Object.assign(Object.assign({},{syncPosition:n,setShow:i}),{popoverInstRef:r,mergedTheme:o})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(o,r,n,i,a)=>{const{$attrs:l}=this;return c(Nk,Object.assign({},l,{class:[l.class,o],style:[l.style,...n]},Io(this.$props,Rd),{ref:sc(r),onMouseenter:un([i,l.onMouseenter]),onMouseleave:un([a,l.onMouseleave])}),{header:()=>{var s,d;return(d=(s=this.$slots).header)===null||d===void 0?void 0:d.call(s)},action:()=>{var s,d;return(d=(s=this.$slots).action)===null||d===void 0?void 0:d.call(s)},empty:()=>{var s,d;return(d=(s=this.$slots).empty)===null||d===void 0?void 0:d.call(s)}})}};return c(Yr,Object.assign({},fr(this.$props,Rd),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}});function Ef(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const Kk={name:"Select",common:xe,peers:{InternalSelection:Li,InternalSelectMenu:Xr},self:Ef},Il=Kk,qk={name:"Select",common:ke,peers:{InternalSelection:Pl,InternalSelectMenu:En},self:Ef},Af=qk,Gk=z([y("select",`
    + z-index: auto;
    + outline: none;
    + width: 100%;
    + position: relative;
    + `),y("select-menu",`
    + margin: 4px 0;
    + box-shadow: var(--n-menu-box-shadow);
    + `,[Go({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),Xk=Object.assign(Object.assign({},we.props),{to:Vt.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Yk=ne({name:"Select",props:Xk,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:o,namespaceRef:r,inlineThemeDisabled:n}=He(e),i=we("Select","-select",Gk,Il,e,t),a=E(e.defaultValue),l=he(e,"value"),s=$t(l,a),d=E(!1),u=E(""),h=T(()=>{const{valueField:F,childrenField:G}=e,de=nf(F,G);return Ai(O.value,de)}),p=T(()=>G2(I.value,e.valueField,e.childrenField)),g=E(!1),f=$t(he(e,"show"),g),v=E(null),m=E(null),b=E(null),{localeRef:C}=wo("Select"),R=T(()=>{var F;return(F=e.placeholder)!==null&&F!==void 0?F:C.value.placeholder}),$=Cn(e,["items","options"]),S=[],w=E([]),x=E([]),k=E(new Map),P=T(()=>{const{fallbackOption:F}=e;if(F===void 0){const{labelField:G,valueField:de}=e;return Re=>({[G]:String(Re),[de]:Re})}return F===!1?!1:G=>Object.assign(F(G),{value:G})}),I=T(()=>x.value.concat(w.value).concat($.value)),A=T(()=>{const{filter:F}=e;if(F)return F;const{labelField:G,valueField:de}=e;return(Re,Ie)=>{if(!Ie)return!1;const Fe=Ie[G];if(typeof Fe=="string")return ga(Re,Fe);const _e=Ie[de];return typeof _e=="string"?ga(Re,_e):typeof _e=="number"?ga(Re,String(_e)):!1}}),O=T(()=>{if(e.remote)return $.value;{const{value:F}=I,{value:G}=u;return!G.length||!e.filterable?F:q2(F,A.value,G,e.childrenField)}});function L(F){const G=e.remote,{value:de}=k,{value:Re}=p,{value:Ie}=P,Fe=[];return F.forEach(_e=>{if(Re.has(_e))Fe.push(Re.get(_e));else if(G&&de.has(_e))Fe.push(de.get(_e));else if(Ie){const je=Ie(_e);je&&Fe.push(je)}}),Fe}const H=T(()=>{if(e.multiple){const{value:F}=s;return Array.isArray(F)?L(F):[]}return null}),_=T(()=>{const{value:F}=s;return!e.multiple&&!Array.isArray(F)?F===null?null:L([F])[0]||null:null}),U=So(e),{mergedSizeRef:N,mergedDisabledRef:te,mergedStatusRef:fe}=U;function ae(F,G){const{onChange:de,"onUpdate:value":Re,onUpdateValue:Ie}=e,{nTriggerFormChange:Fe,nTriggerFormInput:_e}=U;de&&ie(de,F,G),Ie&&ie(Ie,F,G),Re&&ie(Re,F,G),a.value=F,Fe(),_e()}function Y(F){const{onBlur:G}=e,{nTriggerFormBlur:de}=U;G&&ie(G,F),de()}function j(){const{onClear:F}=e;F&&ie(F)}function X(F){const{onFocus:G,showOnFocus:de}=e,{nTriggerFormFocus:Re}=U;G&&ie(G,F),Re(),de&&Ae()}function re(F){const{onSearch:G}=e;G&&ie(G,F)}function le(F){const{onScroll:G}=e;G&&ie(G,F)}function ge(){var F;const{remote:G,multiple:de}=e;if(G){const{value:Re}=k;if(de){const{valueField:Ie}=e;(F=H.value)===null||F===void 0||F.forEach(Fe=>{Re.set(Fe[Ie],Fe)})}else{const Ie=_.value;Ie&&Re.set(Ie[e.valueField],Ie)}}}function me(F){const{onUpdateShow:G,"onUpdate:show":de}=e;G&&ie(G,F),de&&ie(de,F),g.value=F}function Ae(){te.value||(me(!0),g.value=!0,e.filterable&&ze())}function q(){me(!1)}function ve(){u.value="",x.value=S}const $e=E(!1);function Oe(){e.filterable&&($e.value=!0)}function Z(){e.filterable&&($e.value=!1,f.value||ve())}function ue(){te.value||(f.value?e.filterable?ze():q():Ae())}function be(F){var G,de;!((de=(G=b.value)===null||G===void 0?void 0:G.selfRef)===null||de===void 0)&&de.contains(F.relatedTarget)||(d.value=!1,Y(F),q())}function De(F){X(F),d.value=!0}function ee(F){d.value=!0}function Ce(F){var G;!((G=v.value)===null||G===void 0)&&G.$el.contains(F.relatedTarget)||(d.value=!1,Y(F),q())}function Pe(){var F;(F=v.value)===null||F===void 0||F.focus(),q()}function K(F){var G;f.value&&(!((G=v.value)===null||G===void 0)&&G.$el.contains(Lr(F))||q())}function Q(F){if(!Array.isArray(F))return[];if(P.value)return Array.from(F);{const{remote:G}=e,{value:de}=p;if(G){const{value:Re}=k;return F.filter(Ie=>de.has(Ie)||Re.has(Ie))}else return F.filter(Re=>de.has(Re))}}function pe(F){V(F.rawNode)}function V(F){if(te.value)return;const{tag:G,remote:de,clearFilterAfterSelect:Re,valueField:Ie}=e;if(G&&!de){const{value:Fe}=x,_e=Fe[0]||null;if(_e){const je=w.value;je.length?je.push(_e):w.value=[_e],x.value=S}}if(de&&k.value.set(F[Ie],F),e.multiple){const Fe=Q(s.value),_e=Fe.findIndex(je=>je===F[Ie]);if(~_e){if(Fe.splice(_e,1),G&&!de){const je=D(F[Ie]);~je&&(w.value.splice(je,1),Re&&(u.value=""))}}else Fe.push(F[Ie]),Re&&(u.value="");ae(Fe,L(Fe))}else{if(G&&!de){const Fe=D(F[Ie]);~Fe?w.value=[w.value[Fe]]:w.value=S}ye(),q(),ae(F[Ie],F)}}function D(F){return w.value.findIndex(de=>de[e.valueField]===F)}function J(F){f.value||Ae();const{value:G}=F.target;u.value=G;const{tag:de,remote:Re}=e;if(re(G),de&&!Re){if(!G){x.value=S;return}const{onCreate:Ie}=e,Fe=Ie?Ie(G):{[e.labelField]:G,[e.valueField]:G},{valueField:_e,labelField:je}=e;$.value.some(Ge=>Ge[_e]===Fe[_e]||Ge[je]===Fe[je])||w.value.some(Ge=>Ge[_e]===Fe[_e]||Ge[je]===Fe[je])?x.value=S:x.value=[Fe]}}function Se(F){F.stopPropagation();const{multiple:G}=e;!G&&e.filterable&&q(),j(),G?ae([],[]):ae(null,null)}function Le(F){!no(F,"action")&&!no(F,"empty")&&F.preventDefault()}function qe(F){le(F)}function it(F){var G,de,Re,Ie,Fe;if(!e.keyboard){F.preventDefault();return}switch(F.key){case" ":if(e.filterable)break;F.preventDefault();case"Enter":if(!(!((G=v.value)===null||G===void 0)&&G.isComposing)){if(f.value){const _e=(de=b.value)===null||de===void 0?void 0:de.getPendingTmNode();_e?pe(_e):e.filterable||(q(),ye())}else if(Ae(),e.tag&&$e.value){const _e=x.value[0];if(_e){const je=_e[e.valueField],{value:Ge}=s;e.multiple&&Array.isArray(Ge)&&Ge.some(xt=>xt===je)||V(_e)}}}F.preventDefault();break;case"ArrowUp":if(F.preventDefault(),e.loading)return;f.value&&((Re=b.value)===null||Re===void 0||Re.prev());break;case"ArrowDown":if(F.preventDefault(),e.loading)return;f.value?(Ie=b.value)===null||Ie===void 0||Ie.next():Ae();break;case"Escape":f.value&&(Xv(F),q()),(Fe=v.value)===null||Fe===void 0||Fe.focus();break}}function ye(){var F;(F=v.value)===null||F===void 0||F.focus()}function ze(){var F;(F=v.value)===null||F===void 0||F.focusInput()}function Ke(){var F;f.value&&((F=m.value)===null||F===void 0||F.syncPosition())}ge(),Je(he(e,"options"),ge);const Be={focus:()=>{var F;(F=v.value)===null||F===void 0||F.focus()},focusInput:()=>{var F;(F=v.value)===null||F===void 0||F.focusInput()},blur:()=>{var F;(F=v.value)===null||F===void 0||F.blur()},blurInput:()=>{var F;(F=v.value)===null||F===void 0||F.blurInput()}},Ve=T(()=>{const{self:{menuBoxShadow:F}}=i.value;return{"--n-menu-box-shadow":F}}),at=n?Qe("select",void 0,Ve,e):void 0;return Object.assign(Object.assign({},Be),{mergedStatus:fe,mergedClsPrefix:t,mergedBordered:o,namespace:r,treeMate:h,isMounted:Ao(),triggerRef:v,menuRef:b,pattern:u,uncontrolledShow:g,mergedShow:f,adjustedTo:Vt(e),uncontrolledValue:a,mergedValue:s,followerRef:m,localizedPlaceholder:R,selectedOption:_,selectedOptions:H,mergedSize:N,mergedDisabled:te,focused:d,activeWithoutMenuOpen:$e,inlineThemeDisabled:n,onTriggerInputFocus:Oe,onTriggerInputBlur:Z,handleTriggerOrMenuResize:Ke,handleMenuFocus:ee,handleMenuBlur:Ce,handleMenuTabOut:Pe,handleTriggerClick:ue,handleToggle:pe,handleDeleteOption:V,handlePatternInput:J,handleClear:Se,handleTriggerBlur:be,handleTriggerFocus:De,handleKeydown:it,handleMenuAfterLeave:ve,handleMenuClickOutside:K,handleMenuScroll:qe,handleMenuKeydown:it,handleMenuMousedown:Le,mergedTheme:i,cssVars:n?void 0:Ve,themeClass:at==null?void 0:at.themeClass,onRender:at==null?void 0:at.onRender})},render(){return c("div",{class:`${this.mergedClsPrefix}-select`},c($i,null,{default:()=>[c(Ri,null,{default:()=>c(O2,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),c(Ti,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Vt.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>c(kt,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,o;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),It(c(Ku,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(o=this.menuProps)===null||o===void 0?void 0:o.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var r,n;return[(n=(r=this.$slots).empty)===null||n===void 0?void 0:n.call(r)]},header:()=>{var r,n;return[(n=(r=this.$slots).header)===null||n===void 0?void 0:n.call(r)]},action:()=>{var r,n;return[(n=(r=this.$slots).action)===null||n===void 0?void 0:n.call(r)]}}),this.displayDirective==="show"?[[ao,this.mergedShow],[_r,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[_r,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),Zk={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},Lf=e=>{const{textColor2:t,primaryColor:o,primaryColorHover:r,primaryColorPressed:n,inputColorDisabled:i,textColorDisabled:a,borderColor:l,borderRadius:s,fontSizeTiny:d,fontSizeSmall:u,fontSizeMedium:h,heightTiny:p,heightSmall:g,heightMedium:f}=e;return Object.assign(Object.assign({},Zk),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${l}`,buttonBorderHover:`1px solid ${l}`,buttonBorderPressed:`1px solid ${l}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:r,itemTextColorPressed:n,itemTextColorActive:o,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${o}`,itemBorderDisabled:`1px solid ${l}`,itemBorderRadius:s,itemSizeSmall:p,itemSizeMedium:g,itemSizeLarge:f,itemFontSizeSmall:d,itemFontSizeMedium:u,itemFontSizeLarge:h,jumperFontSizeSmall:d,jumperFontSizeMedium:u,jumperFontSizeLarge:h,jumperTextColor:t,jumperTextColorDisabled:a})},Jk={name:"Pagination",common:xe,peers:{Select:Il,Input:Ht,Popselect:_i},self:Lf},Fl=Jk,Qk={name:"Pagination",common:ke,peers:{Select:Af,Input:Jt,Popselect:If},self(e){const{primaryColor:t,opacity3:o}=e,r=se(t,{alpha:Number(o)}),n=Lf(e);return n.itemBorderActive=`1px solid ${r}`,n.itemBorderDisabled="1px solid #0000",n}},_f=Qk,Df=e=>{var t;if(!e)return 10;const{defaultPageSize:o}=e;if(o!==void 0)return o;const r=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof r=="number"?r:(r==null?void 0:r.value)||10};function e$(e,t,o,r){let n=!1,i=!1,a=1,l=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const s=1,d=t;let u=e,h=e;const p=(o-5)/2;h+=Math.ceil(p),h=Math.min(Math.max(h,s+o-3),d-2),u-=Math.floor(p),u=Math.max(Math.min(u,d-o+3),s+2);let g=!1,f=!1;u>s+2&&(g=!0),h=s+1&&v.push({type:"page",label:s+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===s+1});for(let m=u;m<=h;++m)v.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return f?(i=!0,l=h+1,v.push({type:"fast-forward",active:!1,label:void 0,options:r?Pd(h+1,d-1):null})):h===d-2&&v[v.length-1].label!==d-1&&v.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:d-1,active:e===d-1}),v[v.length-1].label!==d&&v.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:d,active:e===d}),{hasFastBackward:n,hasFastForward:i,fastBackwardTo:a,fastForwardTo:l,items:v}}function Pd(e,t){const o=[];for(let r=e;r<=t;++r)o.push({label:`${r}`,value:r});return o}const zd=`
    + background: var(--n-item-color-hover);
    + color: var(--n-item-text-color-hover);
    + border: var(--n-item-border-hover);
    +`,Td=[B("button",`
    + background: var(--n-button-color-hover);
    + border: var(--n-button-border-hover);
    + color: var(--n-button-icon-color-hover);
    + `)],t$=y("pagination",`
    + display: flex;
    + vertical-align: middle;
    + font-size: var(--n-item-font-size);
    + flex-wrap: nowrap;
    +`,[y("pagination-prefix",`
    + display: flex;
    + align-items: center;
    + margin: var(--n-prefix-margin);
    + `),y("pagination-suffix",`
    + display: flex;
    + align-items: center;
    + margin: var(--n-suffix-margin);
    + `),z("> *:not(:first-child)",`
    + margin: var(--n-item-margin);
    + `),y("select",`
    + width: var(--n-select-width);
    + `),z("&.transition-disabled",[y("pagination-item","transition: none!important;")]),y("pagination-quick-jumper",`
    + white-space: nowrap;
    + display: flex;
    + color: var(--n-jumper-text-color);
    + transition: color .3s var(--n-bezier);
    + align-items: center;
    + font-size: var(--n-jumper-font-size);
    + `,[y("input",`
    + margin: var(--n-input-margin);
    + width: var(--n-input-width);
    + `)]),y("pagination-item",`
    + position: relative;
    + cursor: pointer;
    + user-select: none;
    + -webkit-user-select: none;
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + box-sizing: border-box;
    + min-width: var(--n-item-size);
    + height: var(--n-item-size);
    + padding: var(--n-item-padding);
    + background-color: var(--n-item-color);
    + color: var(--n-item-text-color);
    + border-radius: var(--n-item-border-radius);
    + border: var(--n-item-border);
    + fill: var(--n-button-icon-color);
    + transition:
    + color .3s var(--n-bezier),
    + border-color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + fill .3s var(--n-bezier);
    + `,[B("button",`
    + background: var(--n-button-color);
    + color: var(--n-button-icon-color);
    + border: var(--n-button-border);
    + padding: 0;
    + `,[y("base-icon",`
    + font-size: var(--n-button-icon-size);
    + `)]),nt("disabled",[B("hover",zd,Td),z("&:hover",zd,Td),z("&:active",`
    + background: var(--n-item-color-pressed);
    + color: var(--n-item-text-color-pressed);
    + border: var(--n-item-border-pressed);
    + `,[B("button",`
    + background: var(--n-button-color-pressed);
    + border: var(--n-button-border-pressed);
    + color: var(--n-button-icon-color-pressed);
    + `)]),B("active",`
    + background: var(--n-item-color-active);
    + color: var(--n-item-text-color-active);
    + border: var(--n-item-border-active);
    + `,[z("&:hover",`
    + background: var(--n-item-color-active-hover);
    + `)])]),B("disabled",`
    + cursor: not-allowed;
    + color: var(--n-item-text-color-disabled);
    + `,[B("active, button",`
    + background-color: var(--n-item-color-disabled);
    + border: var(--n-item-border-disabled);
    + `)])]),B("disabled",`
    + cursor: not-allowed;
    + `,[y("pagination-quick-jumper",`
    + color: var(--n-jumper-text-color-disabled);
    + `)]),B("simple",`
    + display: flex;
    + align-items: center;
    + flex-wrap: nowrap;
    + `,[y("pagination-quick-jumper",[y("input",`
    + margin: 0;
    + `)])])]),o$=Object.assign(Object.assign({},we.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Vt.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),r$=ne({name:"Pagination",props:o$,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=we("Pagination","-pagination",t$,Fl,e,o),{localeRef:a}=wo("Pagination"),l=E(null),s=E(e.defaultPage),d=E(Df(e)),u=$t(he(e,"page"),s),h=$t(he(e,"pageSize"),d),p=T(()=>{const{itemCount:q}=e;if(q!==void 0)return Math.max(1,Math.ceil(q/h.value));const{pageCount:ve}=e;return ve!==void 0?Math.max(ve,1):1}),g=E("");vt(()=>{e.simple,g.value=String(u.value)});const f=E(!1),v=E(!1),m=E(!1),b=E(!1),C=()=>{e.disabled||(f.value=!0,_())},R=()=>{e.disabled||(f.value=!1,_())},$=()=>{v.value=!0,_()},S=()=>{v.value=!1,_()},w=q=>{U(q)},x=T(()=>e$(u.value,p.value,e.pageSlot,e.showQuickJumpDropdown));vt(()=>{x.value.hasFastBackward?x.value.hasFastForward||(f.value=!1,m.value=!1):(v.value=!1,b.value=!1)});const k=T(()=>{const q=a.value.selectionSuffix;return e.pageSizes.map(ve=>typeof ve=="number"?{label:`${ve} / ${q}`,value:ve}:ve)}),P=T(()=>{var q,ve;return((ve=(q=t==null?void 0:t.value)===null||q===void 0?void 0:q.Pagination)===null||ve===void 0?void 0:ve.inputSize)||Gl(e.size)}),I=T(()=>{var q,ve;return((ve=(q=t==null?void 0:t.value)===null||q===void 0?void 0:q.Pagination)===null||ve===void 0?void 0:ve.selectSize)||Gl(e.size)}),A=T(()=>(u.value-1)*h.value),O=T(()=>{const q=u.value*h.value-1,{itemCount:ve}=e;return ve!==void 0&&q>ve-1?ve-1:q}),L=T(()=>{const{itemCount:q}=e;return q!==void 0?q:(e.pageCount||1)*h.value}),H=Rt("Pagination",n,o),_=()=>{ut(()=>{var q;const{value:ve}=l;ve&&(ve.classList.add("transition-disabled"),(q=l.value)===null||q===void 0||q.offsetWidth,ve.classList.remove("transition-disabled"))})};function U(q){if(q===u.value)return;const{"onUpdate:page":ve,onUpdatePage:$e,onChange:Oe,simple:Z}=e;ve&&ie(ve,q),$e&&ie($e,q),Oe&&ie(Oe,q),s.value=q,Z&&(g.value=String(q))}function N(q){if(q===h.value)return;const{"onUpdate:pageSize":ve,onUpdatePageSize:$e,onPageSizeChange:Oe}=e;ve&&ie(ve,q),$e&&ie($e,q),Oe&&ie(Oe,q),d.value=q,p.value{u.value,h.value,_()});const me=T(()=>{const{size:q}=e,{self:{buttonBorder:ve,buttonBorderHover:$e,buttonBorderPressed:Oe,buttonIconColor:Z,buttonIconColorHover:ue,buttonIconColorPressed:be,itemTextColor:De,itemTextColorHover:ee,itemTextColorPressed:Ce,itemTextColorActive:Pe,itemTextColorDisabled:K,itemColor:Q,itemColorHover:pe,itemColorPressed:V,itemColorActive:D,itemColorActiveHover:J,itemColorDisabled:Se,itemBorder:Le,itemBorderHover:qe,itemBorderPressed:it,itemBorderActive:ye,itemBorderDisabled:ze,itemBorderRadius:Ke,jumperTextColor:Be,jumperTextColorDisabled:Ve,buttonColor:at,buttonColorHover:F,buttonColorPressed:G,[oe("itemPadding",q)]:de,[oe("itemMargin",q)]:Re,[oe("inputWidth",q)]:Ie,[oe("selectWidth",q)]:Fe,[oe("inputMargin",q)]:_e,[oe("selectMargin",q)]:je,[oe("jumperFontSize",q)]:Ge,[oe("prefixMargin",q)]:xt,[oe("suffixMargin",q)]:ft,[oe("itemSize",q)]:Ct,[oe("buttonIconSize",q)]:Kt,[oe("itemFontSize",q)]:qt,[`${oe("itemMargin",q)}Rtl`]:Ro,[`${oe("inputMargin",q)}Rtl`]:Po},common:{cubicBezierEaseInOut:uo}}=i.value;return{"--n-prefix-margin":xt,"--n-suffix-margin":ft,"--n-item-font-size":qt,"--n-select-width":Fe,"--n-select-margin":je,"--n-input-width":Ie,"--n-input-margin":_e,"--n-input-margin-rtl":Po,"--n-item-size":Ct,"--n-item-text-color":De,"--n-item-text-color-disabled":K,"--n-item-text-color-hover":ee,"--n-item-text-color-active":Pe,"--n-item-text-color-pressed":Ce,"--n-item-color":Q,"--n-item-color-hover":pe,"--n-item-color-disabled":Se,"--n-item-color-active":D,"--n-item-color-active-hover":J,"--n-item-color-pressed":V,"--n-item-border":Le,"--n-item-border-hover":qe,"--n-item-border-disabled":ze,"--n-item-border-active":ye,"--n-item-border-pressed":it,"--n-item-padding":de,"--n-item-border-radius":Ke,"--n-bezier":uo,"--n-jumper-font-size":Ge,"--n-jumper-text-color":Be,"--n-jumper-text-color-disabled":Ve,"--n-item-margin":Re,"--n-item-margin-rtl":Ro,"--n-button-icon-size":Kt,"--n-button-icon-color":Z,"--n-button-icon-color-hover":ue,"--n-button-icon-color-pressed":be,"--n-button-color-hover":F,"--n-button-color":at,"--n-button-color-pressed":G,"--n-button-border":ve,"--n-button-border-hover":$e,"--n-button-border-pressed":Oe}}),Ae=r?Qe("pagination",T(()=>{let q="";const{size:ve}=e;return q+=ve[0],q}),me,e):void 0;return{rtlEnabled:H,mergedClsPrefix:o,locale:a,selfRef:l,mergedPage:u,pageItems:T(()=>x.value.items),mergedItemCount:L,jumperValue:g,pageSizeOptions:k,mergedPageSize:h,inputSize:P,selectSize:I,mergedTheme:i,mergedPageCount:p,startIndex:A,endIndex:O,showFastForwardMenu:m,showFastBackwardMenu:b,fastForwardActive:f,fastBackwardActive:v,handleMenuSelect:w,handleFastForwardMouseenter:C,handleFastForwardMouseleave:R,handleFastBackwardMouseenter:$,handleFastBackwardMouseleave:S,handleJumperInput:ge,handleBackwardClick:fe,handleForwardClick:te,handlePageItemClick:le,handleSizePickerChange:j,handleQuickJumperChange:re,cssVars:r?void 0:me,themeClass:Ae==null?void 0:Ae.themeClass,onRender:Ae==null?void 0:Ae.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:o,cssVars:r,mergedPage:n,mergedPageCount:i,pageItems:a,showSizePicker:l,showQuickJumper:s,mergedTheme:d,locale:u,inputSize:h,selectSize:p,mergedPageSize:g,pageSizeOptions:f,jumperValue:v,simple:m,prev:b,next:C,prefix:R,suffix:$,label:S,goto:w,handleJumperInput:x,handleSizePickerChange:k,handleBackwardClick:P,handlePageItemClick:I,handleForwardClick:A,handleQuickJumperChange:O,onRender:L}=this;L==null||L();const H=e.prefix||R,_=e.suffix||$,U=b||e.prev,N=C||e.next,te=S||e.label;return c("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,o&&`${t}-pagination--disabled`,m&&`${t}-pagination--simple`],style:r},H?c("div",{class:`${t}-pagination-prefix`},H({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(fe=>{switch(fe){case"pages":return c(yt,null,c("div",{class:[`${t}-pagination-item`,!U&&`${t}-pagination-item--button`,(n<=1||n>i||o)&&`${t}-pagination-item--disabled`],onClick:P},U?U({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(pd,null):c(ud,null)})),m?c(yt,null,c("div",{class:`${t}-pagination-quick-jumper`},c(Ga,{value:v,onUpdateValue:x,size:h,placeholder:"",disabled:o,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:O}))," / ",i):a.map((ae,Y)=>{let j,X,re;const{type:le}=ae;switch(le){case"page":const me=ae.label;te?j=te({type:"page",node:me,active:ae.active}):j=me;break;case"fast-forward":const Ae=this.fastForwardActive?c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(fd,null):c(hd,null)}):c(ot,{clsPrefix:t},{default:()=>c(vd,null)});te?j=te({type:"fast-forward",node:Ae,active:this.fastForwardActive||this.showFastForwardMenu}):j=Ae,X=this.handleFastForwardMouseenter,re=this.handleFastForwardMouseleave;break;case"fast-backward":const q=this.fastBackwardActive?c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(hd,null):c(fd,null)}):c(ot,{clsPrefix:t},{default:()=>c(vd,null)});te?j=te({type:"fast-backward",node:q,active:this.fastBackwardActive||this.showFastBackwardMenu}):j=q,X=this.handleFastBackwardMouseenter,re=this.handleFastBackwardMouseleave;break}const ge=c("div",{key:Y,class:[`${t}-pagination-item`,ae.active&&`${t}-pagination-item--active`,le!=="page"&&(le==="fast-backward"&&this.showFastBackwardMenu||le==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,o&&`${t}-pagination-item--disabled`,le==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{I(ae)},onMouseenter:X,onMouseleave:re},j);if(le==="page"&&!ae.mayBeFastBackward&&!ae.mayBeFastForward)return ge;{const me=ae.type==="page"?ae.mayBeFastBackward?"fast-backward":"fast-forward":ae.type;return ae.type!=="page"&&!ae.options?ge:c(Uk,{to:this.to,key:me,disabled:o,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:d.peers.Popselect,themeOverrides:d.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:le==="page"?!1:le==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:Ae=>{le!=="page"&&(Ae?le==="fast-backward"?this.showFastBackwardMenu=Ae:this.showFastForwardMenu=Ae:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:ae.type!=="page"&&ae.options?ae.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ge})}}),c("div",{class:[`${t}-pagination-item`,!N&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:n<1||n>=i||o}],onClick:A},N?N({page:n,pageSize:g,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(ud,null):c(pd,null)})));case"size-picker":return!m&&l?c(Yk,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:p,options:f,value:g,disabled:o,theme:d.peers.Select,themeOverrides:d.peerOverrides.Select,onUpdateValue:k})):null;case"quick-jumper":return!m&&s?c("div",{class:`${t}-pagination-quick-jumper`},w?w():Bt(this.$slots.goto,()=>[u.goto]),c(Ga,{value:v,onUpdateValue:x,size:h,placeholder:"",disabled:o,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:O})):null;default:return null}}),_?c("div",{class:`${t}-pagination-suffix`},_({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),Hf={padding:"8px 14px"},n$={name:"Tooltip",common:ke,peers:{Popover:Cr},self(e){const{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n}=e;return Object.assign(Object.assign({},Hf),{borderRadius:t,boxShadow:o,color:r,textColor:n})}},Di=n$,i$=e=>{const{borderRadius:t,boxShadow2:o,baseColor:r}=e;return Object.assign(Object.assign({},Hf),{borderRadius:t,boxShadow:o,color:Ee(r,"rgba(0, 0, 0, .85)"),textColor:r})},a$={name:"Tooltip",common:xe,peers:{Popover:Zo},self:i$},An=a$,l$={name:"Ellipsis",common:ke,peers:{Tooltip:Di}},jf=l$,s$={name:"Ellipsis",common:xe,peers:{Tooltip:An}},El=s$,Wf={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},d$={name:"Radio",common:ke,self(e){const{borderColor:t,primaryColor:o,baseColor:r,textColorDisabled:n,inputColorDisabled:i,textColor2:a,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,heightSmall:p,heightMedium:g,heightLarge:f,lineHeight:v}=e;return Object.assign(Object.assign({},Wf),{labelLineHeight:v,buttonHeightSmall:p,buttonHeightMedium:g,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:n,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:o,buttonColor:"#0000",buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:r,buttonTextColorHover:o,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${o}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})}},Nf=d$,c$=e=>{const{borderColor:t,primaryColor:o,baseColor:r,textColorDisabled:n,inputColorDisabled:i,textColor2:a,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,heightSmall:p,heightMedium:g,heightLarge:f,lineHeight:v}=e;return Object.assign(Object.assign({},Wf),{labelLineHeight:v,buttonHeightSmall:p,buttonHeightMedium:g,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:r,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:n,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:t,buttonColor:r,buttonColorActive:r,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:o,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})},u$={name:"Radio",common:xe,self:c$},Hi=u$,f$={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},Vf=e=>{const{primaryColor:t,textColor2:o,dividerColor:r,hoverColor:n,popoverColor:i,invertedColor:a,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:u,fontSizeHuge:h,heightSmall:p,heightMedium:g,heightLarge:f,heightHuge:v,textColor3:m,opacityDisabled:b}=e;return Object.assign(Object.assign({},f$),{optionHeightSmall:p,optionHeightMedium:g,optionHeightLarge:f,optionHeightHuge:v,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:u,fontSizeHuge:h,optionTextColor:o,optionTextColorHover:o,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:r,suffixColor:o,prefixColor:o,optionColorHover:n,optionColorActive:se(t,{alpha:.1}),groupHeaderTextColor:m,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:b})},h$={name:"Dropdown",common:xe,peers:{Popover:Zo},self:Vf},ji=h$,p$={name:"Dropdown",common:ke,peers:{Popover:Cr},self(e){const{primaryColorSuppl:t,primaryColor:o,popoverColor:r}=e,n=Vf(e);return n.colorInverted=r,n.optionColorActive=se(o,{alpha:.15}),n.optionColorActiveInverted=t,n.optionColorHoverInverted=t,n}},Al=p$,v$={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},Uf=e=>{const{cardColor:t,modalColor:o,popoverColor:r,textColor2:n,textColor1:i,tableHeaderColor:a,tableColorHover:l,iconColor:s,primaryColor:d,fontWeightStrong:u,borderRadius:h,lineHeight:p,fontSizeSmall:g,fontSizeMedium:f,fontSizeLarge:v,dividerColor:m,heightSmall:b,opacityDisabled:C,tableColorStriped:R}=e;return Object.assign(Object.assign({},v$),{actionDividerColor:m,lineHeight:p,borderRadius:h,fontSizeSmall:g,fontSizeMedium:f,fontSizeLarge:v,borderColor:Ee(t,m),tdColorHover:Ee(t,l),tdColorStriped:Ee(t,R),thColor:Ee(t,a),thColorHover:Ee(Ee(t,a),l),tdColor:t,tdTextColor:n,thTextColor:i,thFontWeight:u,thButtonColorHover:l,thIconColor:s,thIconColorActive:d,borderColorModal:Ee(o,m),tdColorHoverModal:Ee(o,l),tdColorStripedModal:Ee(o,R),thColorModal:Ee(o,a),thColorHoverModal:Ee(Ee(o,a),l),tdColorModal:o,borderColorPopover:Ee(r,m),tdColorHoverPopover:Ee(r,l),tdColorStripedPopover:Ee(r,R),thColorPopover:Ee(r,a),thColorHoverPopover:Ee(Ee(r,a),l),tdColorPopover:r,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:d,loadingSize:b,opacityLoading:C})},g$={name:"DataTable",common:xe,peers:{Button:At,Checkbox:yr,Radio:Hi,Pagination:Fl,Scrollbar:Et,Empty:$o,Popover:Zo,Ellipsis:El,Dropdown:ji},self:Uf},Kf=g$,b$={name:"DataTable",common:ke,peers:{Button:jt,Checkbox:Zr,Radio:Nf,Pagination:_f,Scrollbar:Dt,Empty:xr,Popover:Cr,Ellipsis:jf,Dropdown:Al},self(e){const t=Uf(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},m$=b$,x$=Object.assign(Object.assign({},ur),we.props),qf=ne({name:"Tooltip",props:x$,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(e),o=we("Tooltip","-tooltip",void 0,An,e,t),r=E(null);return Object.assign(Object.assign({},{syncPosition(){r.value.syncPosition()},setShow(i){r.value.setShow(i)}}),{popoverRef:r,mergedTheme:o,popoverThemeOverrides:T(()=>o.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return c(Yr,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),Gf=y("ellipsis",{overflow:"hidden"},[nt("line-clamp",`
    + white-space: nowrap;
    + display: inline-block;
    + vertical-align: bottom;
    + max-width: 100%;
    + `),B("line-clamp",`
    + display: -webkit-inline-box;
    + -webkit-box-orient: vertical;
    + `),B("cursor-pointer",`
    + cursor: pointer;
    + `)]);function Xa(e){return`${e}-ellipsis--line-clamp`}function Ya(e,t){return`${e}-ellipsis--cursor-${t}`}const Xf=Object.assign(Object.assign({},we.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),Ll=ne({name:"Ellipsis",inheritAttrs:!1,props:Xf,setup(e,{slots:t,attrs:o}){const r=Mu(),n=we("Ellipsis","-ellipsis",Gf,El,e,r),i=E(null),a=E(null),l=E(null),s=E(!1),d=T(()=>{const{lineClamp:m}=e,{value:b}=s;return m!==void 0?{textOverflow:"","-webkit-line-clamp":b?"":m}:{textOverflow:b?"":"ellipsis","-webkit-line-clamp":""}});function u(){let m=!1;const{value:b}=s;if(b)return!0;const{value:C}=i;if(C){const{lineClamp:R}=e;if(g(C),R!==void 0)m=C.scrollHeight<=C.offsetHeight;else{const{value:$}=a;$&&(m=$.getBoundingClientRect().width<=C.getBoundingClientRect().width)}f(C,m)}return m}const h=T(()=>e.expandTrigger==="click"?()=>{var m;const{value:b}=s;b&&((m=l.value)===null||m===void 0||m.setShow(!1)),s.value=!b}:void 0);nl(()=>{var m;e.tooltip&&((m=l.value)===null||m===void 0||m.setShow(!1))});const p=()=>c("span",Object.assign({},Ft(o,{class:[`${r.value}-ellipsis`,e.lineClamp!==void 0?Xa(r.value):void 0,e.expandTrigger==="click"?Ya(r.value,"pointer"):void 0],style:d.value}),{ref:"triggerRef",onClick:h.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:c("span",{ref:"triggerInnerRef"},t));function g(m){if(!m)return;const b=d.value,C=Xa(r.value);e.lineClamp!==void 0?v(m,C,"add"):v(m,C,"remove");for(const R in b)m.style[R]!==b[R]&&(m.style[R]=b[R])}function f(m,b){const C=Ya(r.value,"pointer");e.expandTrigger==="click"&&!b?v(m,C,"add"):v(m,C,"remove")}function v(m,b,C){C==="add"?m.classList.contains(b)||m.classList.add(b):m.classList.contains(b)&&m.classList.remove(b)}return{mergedTheme:n,triggerRef:i,triggerInnerRef:a,tooltipRef:l,handleClick:h,renderTrigger:p,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:o,$slots:r}=this;if(t){const{mergedTheme:n}=this;return c(qf,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:n.peers.Tooltip,themeOverrides:n.peerOverrides.Tooltip}),{trigger:o,default:(e=r.tooltip)!==null&&e!==void 0?e:r.default})}else return o()}}),C$=ne({name:"PerformantEllipsis",props:Xf,inheritAttrs:!1,setup(e,{attrs:t,slots:o}){const r=E(!1),n=Mu();return Do("-ellipsis",Gf,n),{mouseEntered:r,renderTrigger:()=>{const{lineClamp:a}=e,l=n.value;return c("span",Object.assign({},Ft(t,{class:[`${l}-ellipsis`,a!==void 0?Xa(l):void 0,e.expandTrigger==="click"?Ya(l,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{r.value=!0}}),a?o:c("span",null,o))}}},render(){return this.mouseEntered?c(Ll,Ft({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),y$=ne({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),w$=Object.assign(Object.assign({},we.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),co="n-data-table",S$=ne({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=He(),{mergedSortStateRef:o,mergedClsPrefixRef:r}=Te(co),n=T(()=>o.value.find(s=>s.columnKey===e.column.key)),i=T(()=>n.value!==void 0),a=T(()=>{const{value:s}=n;return s&&i.value?s.order:!1}),l=T(()=>{var s,d;return((d=(s=t==null?void 0:t.value)===null||s===void 0?void 0:s.DataTable)===null||d===void 0?void 0:d.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:r,active:i,mergedSortOrder:a,mergedRenderSorter:l}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:o}=this,{renderSorterIcon:r}=this.column;return e?c(y$,{render:e,order:t}):c("span",{class:[`${o}-data-table-sorter`,t==="ascend"&&`${o}-data-table-sorter--asc`,t==="descend"&&`${o}-data-table-sorter--desc`]},r?r({order:t}):c(ot,{clsPrefix:o},{default:()=>c(Qw,null)}))}}),k$=ne({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:o}=this;return e({active:t,show:o})}}),$$={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},Yf="n-radio-group";function R$(e){const t=So(e,{mergedSize(C){const{size:R}=e;if(R!==void 0)return R;if(a){const{mergedSizeRef:{value:$}}=a;if($!==void 0)return $}return C?C.mergedSize.value:"medium"},mergedDisabled(C){return!!(e.disabled||a!=null&&a.disabledRef.value||C!=null&&C.disabled.value)}}),{mergedSizeRef:o,mergedDisabledRef:r}=t,n=E(null),i=E(null),a=Te(Yf,null),l=E(e.defaultChecked),s=he(e,"checked"),d=$t(s,l),u=Ye(()=>a?a.valueRef.value===e.value:d.value),h=Ye(()=>{const{name:C}=e;if(C!==void 0)return C;if(a)return a.nameRef.value}),p=E(!1);function g(){if(a){const{doUpdateValue:C}=a,{value:R}=e;ie(C,R)}else{const{onUpdateChecked:C,"onUpdate:checked":R}=e,{nTriggerFormInput:$,nTriggerFormChange:S}=t;C&&ie(C,!0),R&&ie(R,!0),$(),S(),l.value=!0}}function f(){r.value||u.value||g()}function v(){f(),n.value&&(n.value.checked=u.value)}function m(){p.value=!1}function b(){p.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:He(e).mergedClsPrefixRef,inputRef:n,labelRef:i,mergedName:h,mergedDisabled:r,renderSafeChecked:u,focus:p,mergedSize:o,handleRadioInputChange:v,handleRadioInputBlur:m,handleRadioInputFocus:b}}const P$=y("radio",`
    + line-height: var(--n-label-line-height);
    + outline: none;
    + position: relative;
    + user-select: none;
    + -webkit-user-select: none;
    + display: inline-flex;
    + align-items: flex-start;
    + flex-wrap: nowrap;
    + font-size: var(--n-font-size);
    + word-break: break-word;
    +`,[B("checked",[M("dot",`
    + background-color: var(--n-color-active);
    + `)]),M("dot-wrapper",`
    + position: relative;
    + flex-shrink: 0;
    + flex-grow: 0;
    + width: var(--n-radio-size);
    + `),y("radio-input",`
    + position: absolute;
    + border: 0;
    + border-radius: inherit;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + opacity: 0;
    + z-index: 1;
    + cursor: pointer;
    + `),M("dot",`
    + position: absolute;
    + top: 50%;
    + left: 0;
    + transform: translateY(-50%);
    + height: var(--n-radio-size);
    + width: var(--n-radio-size);
    + background: var(--n-color);
    + box-shadow: var(--n-box-shadow);
    + border-radius: 50%;
    + transition:
    + background-color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier);
    + `,[z("&::before",`
    + content: "";
    + opacity: 0;
    + position: absolute;
    + left: 4px;
    + top: 4px;
    + height: calc(100% - 8px);
    + width: calc(100% - 8px);
    + border-radius: 50%;
    + transform: scale(.8);
    + background: var(--n-dot-color-active);
    + transition: 
    + opacity .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + transform .3s var(--n-bezier);
    + `),B("checked",{boxShadow:"var(--n-box-shadow-active)"},[z("&::before",`
    + opacity: 1;
    + transform: scale(1);
    + `)])]),M("label",`
    + color: var(--n-text-color);
    + padding: var(--n-label-padding);
    + font-weight: var(--n-label-font-weight);
    + display: inline-block;
    + transition: color .3s var(--n-bezier);
    + `),nt("disabled",`
    + cursor: pointer;
    + `,[z("&:hover",[M("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),B("focus",[z("&:not(:active)",[M("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),B("disabled",`
    + cursor: not-allowed;
    + `,[M("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[z("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),B("checked",`
    + opacity: 1;
    + `)]),M("label",{color:"var(--n-text-color-disabled)"}),y("radio-input",`
    + cursor: not-allowed;
    + `)])]),z$=Object.assign(Object.assign({},we.props),$$),Zf=ne({name:"Radio",props:z$,setup(e){const t=R$(e),o=we("Radio","-radio",P$,Hi,e,t.mergedClsPrefix),r=T(()=>{const{mergedSize:{value:d}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:h,boxShadowActive:p,boxShadowDisabled:g,boxShadowFocus:f,boxShadowHover:v,color:m,colorDisabled:b,colorActive:C,textColor:R,textColorDisabled:$,dotColorActive:S,dotColorDisabled:w,labelPadding:x,labelLineHeight:k,labelFontWeight:P,[oe("fontSize",d)]:I,[oe("radioSize",d)]:A}}=o.value;return{"--n-bezier":u,"--n-label-line-height":k,"--n-label-font-weight":P,"--n-box-shadow":h,"--n-box-shadow-active":p,"--n-box-shadow-disabled":g,"--n-box-shadow-focus":f,"--n-box-shadow-hover":v,"--n-color":m,"--n-color-active":C,"--n-color-disabled":b,"--n-dot-color-active":S,"--n-dot-color-disabled":w,"--n-font-size":I,"--n-radio-size":A,"--n-text-color":R,"--n-text-color-disabled":$,"--n-label-padding":x}}),{inlineThemeDisabled:n,mergedClsPrefixRef:i,mergedRtlRef:a}=He(e),l=Rt("Radio",a,i),s=n?Qe("radio",T(()=>t.mergedSize.value[0]),r,e):void 0;return Object.assign(t,{rtlEnabled:l,cssVars:n?void 0:r,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:o,label:r}=this;return o==null||o(),c("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},c("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),c("div",{class:`${t}-radio__dot-wrapper`}," ",c("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),Ze(e.default,n=>!n&&!r?null:c("div",{ref:"labelRef",class:`${t}-radio__label`},n||r)))}}),T$=y("radio-group",`
    + display: inline-block;
    + font-size: var(--n-font-size);
    +`,[M("splitor",`
    + display: inline-block;
    + vertical-align: bottom;
    + width: 1px;
    + transition:
    + background-color .3s var(--n-bezier),
    + opacity .3s var(--n-bezier);
    + background: var(--n-button-border-color);
    + `,[B("checked",{backgroundColor:"var(--n-button-border-color-active)"}),B("disabled",{opacity:"var(--n-opacity-disabled)"})]),B("button-group",`
    + white-space: nowrap;
    + height: var(--n-height);
    + line-height: var(--n-height);
    + `,[y("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),M("splitor",{height:"var(--n-height)"})]),y("radio-button",`
    + vertical-align: bottom;
    + outline: none;
    + position: relative;
    + user-select: none;
    + -webkit-user-select: none;
    + display: inline-block;
    + box-sizing: border-box;
    + padding-left: 14px;
    + padding-right: 14px;
    + white-space: nowrap;
    + transition:
    + background-color .3s var(--n-bezier),
    + opacity .3s var(--n-bezier),
    + border-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + background: var(--n-button-color);
    + color: var(--n-button-text-color);
    + border-top: 1px solid var(--n-button-border-color);
    + border-bottom: 1px solid var(--n-button-border-color);
    + `,[y("radio-input",`
    + pointer-events: none;
    + position: absolute;
    + border: 0;
    + border-radius: inherit;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + opacity: 0;
    + z-index: 1;
    + `),M("state-border",`
    + z-index: 1;
    + pointer-events: none;
    + position: absolute;
    + box-shadow: var(--n-button-box-shadow);
    + transition: box-shadow .3s var(--n-bezier);
    + left: -1px;
    + bottom: -1px;
    + right: -1px;
    + top: -1px;
    + `),z("&:first-child",`
    + border-top-left-radius: var(--n-button-border-radius);
    + border-bottom-left-radius: var(--n-button-border-radius);
    + border-left: 1px solid var(--n-button-border-color);
    + `,[M("state-border",`
    + border-top-left-radius: var(--n-button-border-radius);
    + border-bottom-left-radius: var(--n-button-border-radius);
    + `)]),z("&:last-child",`
    + border-top-right-radius: var(--n-button-border-radius);
    + border-bottom-right-radius: var(--n-button-border-radius);
    + border-right: 1px solid var(--n-button-border-color);
    + `,[M("state-border",`
    + border-top-right-radius: var(--n-button-border-radius);
    + border-bottom-right-radius: var(--n-button-border-radius);
    + `)]),nt("disabled",`
    + cursor: pointer;
    + `,[z("&:hover",[M("state-border",`
    + transition: box-shadow .3s var(--n-bezier);
    + box-shadow: var(--n-button-box-shadow-hover);
    + `),nt("checked",{color:"var(--n-button-text-color-hover)"})]),B("focus",[z("&:not(:active)",[M("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),B("checked",`
    + background: var(--n-button-color-active);
    + color: var(--n-button-text-color-active);
    + border-color: var(--n-button-border-color-active);
    + `),B("disabled",`
    + cursor: not-allowed;
    + opacity: var(--n-opacity-disabled);
    + `)])]);function B$(e,t,o){var r;const n=[];let i=!1;for(let a=0;a{const{value:S}=o,{common:{cubicBezierEaseInOut:w},self:{buttonBorderColor:x,buttonBorderColorActive:k,buttonBorderRadius:P,buttonBoxShadow:I,buttonBoxShadowFocus:A,buttonBoxShadowHover:O,buttonColor:L,buttonColorActive:H,buttonTextColor:_,buttonTextColorActive:U,buttonTextColorHover:N,opacityDisabled:te,[oe("buttonHeight",S)]:fe,[oe("fontSize",S)]:ae}}=h.value;return{"--n-font-size":ae,"--n-bezier":w,"--n-button-border-color":x,"--n-button-border-color-active":k,"--n-button-border-radius":P,"--n-button-box-shadow":I,"--n-button-box-shadow-focus":A,"--n-button-box-shadow-hover":O,"--n-button-color":L,"--n-button-color-active":H,"--n-button-text-color":_,"--n-button-text-color-hover":N,"--n-button-text-color-active":U,"--n-height":fe,"--n-opacity-disabled":te}}),$=d?Qe("radio-group",T(()=>o.value[0]),R,e):void 0;return{selfElRef:t,rtlEnabled:C,mergedClsPrefix:s,mergedValue:f,handleFocusout:b,handleFocusin:m,cssVars:d?void 0:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:o,handleFocusin:r,handleFocusout:n}=this,{children:i,isButtonGroup:a}=B$(Oo(il(this)),t,o);return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{onFocusin:r,onFocusout:n,ref:"selfElRef",class:[`${o}-radio-group`,this.rtlEnabled&&`${o}-radio-group--rtl`,this.themeClass,a&&`${o}-radio-group--button-group`],style:this.cssVars},i)}}),Jf=40,Qf=40;function Bd(e){if(e.type==="selection")return e.width===void 0?Jf:Tt(e.width);if(e.type==="expand")return e.width===void 0?Qf:Tt(e.width);if(!("children"in e))return typeof e.width=="string"?Tt(e.width):e.width}function I$(e){var t,o;if(e.type==="selection")return mt((t=e.width)!==null&&t!==void 0?t:Jf);if(e.type==="expand")return mt((o=e.width)!==null&&o!==void 0?o:Qf);if(!("children"in e))return mt(e.width)}function oo(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function Md(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function F$(e){return e==="ascend"?1:e==="descend"?-1:0}function E$(e,t,o){return o!==void 0&&(e=Math.min(e,typeof o=="number"?o:parseFloat(o))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function A$(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const o=I$(e),{minWidth:r,maxWidth:n}=e;return{width:o,minWidth:mt(r)||o,maxWidth:mt(n)}}function L$(e,t,o){return typeof o=="function"?o(e,t):o||""}function Ca(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function ya(e){return"children"in e?!1:!!e.sorter}function eh(e){return"children"in e&&e.children.length?!1:!!e.resizable}function Od(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function Id(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function _$(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:Id(!1)}:Object.assign(Object.assign({},t),{order:Id(t.order)})}function th(e,t){return t.find(o=>o.columnKey===e.key&&o.order)!==void 0}function D$(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function H$(e,t){const o=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),r=o.map(i=>i.title).join(","),n=t.map(i=>o.map(a=>D$(i[a.key])).join(","));return[r,...n].join(`
    +`)}const j$=ne({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("DataTable",o,t),{mergedClsPrefixRef:n,mergedThemeRef:i,localeRef:a}=Te(co),l=E(e.value),s=T(()=>{const{value:f}=l;return Array.isArray(f)?f:null}),d=T(()=>{const{value:f}=l;return Ca(e.column)?Array.isArray(f)&&f.length&&f[0]||null:Array.isArray(f)?null:f});function u(f){e.onChange(f)}function h(f){e.multiple&&Array.isArray(f)?l.value=f:Ca(e.column)&&!Array.isArray(f)?l.value=[f]:l.value=f}function p(){u(l.value),e.onConfirm()}function g(){e.multiple||Ca(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:n,rtlEnabled:r,mergedTheme:i,locale:a,checkboxGroupValue:s,radioGroupValue:d,handleChange:h,handleConfirmClick:p,handleClearClick:g}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:o}=this;return c("div",{class:[`${o}-data-table-filter-menu`,this.rtlEnabled&&`${o}-data-table-filter-menu--rtl`]},c(so,null,{default:()=>{const{checkboxGroupValue:r,handleChange:n}=this;return this.multiple?c(Ck,{value:r,class:`${o}-data-table-filter-menu__group`,onUpdateValue:n},{default:()=>this.options.map(i=>c(Ml,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):c(O$,{name:this.radioGroupName,class:`${o}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>c(Zf,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),c("div",{class:`${o}-data-table-filter-menu__action`},c(jr,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),c(jr,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function W$(e,t,o){const r=Object.assign({},e);return r[t]=o,r}const N$=ne({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=He(),{mergedThemeRef:o,mergedClsPrefixRef:r,mergedFilterStateRef:n,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:l,doUpdateFilters:s}=Te(co),d=E(!1),u=n,h=T(()=>e.column.filterMultiple!==!1),p=T(()=>{const C=u.value[e.column.key];if(C===void 0){const{value:R}=h;return R?[]:null}return C}),g=T(()=>{const{value:C}=p;return Array.isArray(C)?C.length>0:C!==null}),f=T(()=>{var C,R;return((R=(C=t==null?void 0:t.value)===null||C===void 0?void 0:C.DataTable)===null||R===void 0?void 0:R.renderFilter)||e.column.renderFilter});function v(C){const R=W$(u.value,e.column.key,C);s(R,e.column),a.value==="first"&&l(1)}function m(){d.value=!1}function b(){d.value=!1}return{mergedTheme:o,mergedClsPrefix:r,active:g,showPopover:d,mergedRenderFilter:f,filterMultiple:h,mergedFilterValue:p,filterMenuCssVars:i,handleFilterChange:v,handleFilterMenuConfirm:b,handleFilterMenuCancel:m}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:o}=this;return c(Yr,{show:this.showPopover,onUpdateShow:r=>this.showPopover=r,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom",style:{padding:0}},{trigger:()=>{const{mergedRenderFilter:r}=this;if(r)return c(k$,{"data-data-table-filter":!0,render:r,active:this.active,show:this.showPopover});const{renderFilterIcon:n}=this.column;return c("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},n?n({active:this.active,show:this.showPopover}):c(ot,{clsPrefix:t},{default:()=>c(iS,null)}))},default:()=>{const{renderFilterMenu:r}=this.column;return r?r({hide:o}):c(j$,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),V$=ne({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=Te(co),o=E(!1);let r=0;function n(s){return s.clientX}function i(s){var d;s.preventDefault();const u=o.value;r=n(s),o.value=!0,u||(tt("mousemove",window,a),tt("mouseup",window,l),(d=e.onResizeStart)===null||d===void 0||d.call(e))}function a(s){var d;(d=e.onResize)===null||d===void 0||d.call(e,n(s)-r)}function l(){var s;o.value=!1,(s=e.onResizeEnd)===null||s===void 0||s.call(e),Xe("mousemove",window,a),Xe("mouseup",window,l)}return dt(()=>{Xe("mousemove",window,a),Xe("mouseup",window,l)}),{mergedClsPrefix:t,active:o,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return c("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),oh=ne({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return c("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),rh=e=>{const{textColorBase:t,opacity1:o,opacity2:r,opacity3:n,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:o,opacity2Depth:r,opacity3Depth:n,opacity4Depth:i,opacity5Depth:a}},U$={name:"Icon",common:xe,self:rh},nh=U$,K$={name:"Icon",common:ke,self:rh},q$=K$,G$=y("icon",`
    + height: 1em;
    + width: 1em;
    + line-height: 1em;
    + text-align: center;
    + display: inline-block;
    + position: relative;
    + fill: currentColor;
    + transform: translateZ(0);
    +`,[B("color-transition",{transition:"color .3s var(--n-bezier)"}),B("depth",{color:"var(--n-color)"},[z("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),z("svg",{height:"1em",width:"1em"})]),X$=Object.assign(Object.assign({},we.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Y$=ne({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:X$,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Icon","-icon",G$,nh,e,t),n=T(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:l},self:s}=r.value;if(a!==void 0){const{color:d,[`opacity${a}Depth`]:u}=s;return{"--n-bezier":l,"--n-color":d,"--n-opacity":u}}return{"--n-bezier":l,"--n-color":"","--n-opacity":""}}),i=o?Qe("icon",T(()=>`${e.depth||"d"}`),n,e):void 0;return{mergedClsPrefix:t,mergedStyle:T(()=>{const{size:a,color:l}=e;return{fontSize:mt(a),color:l}}),cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:o,mergedClsPrefix:r,component:n,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&yo("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),c("i",Ft(this.$attrs,{role:"img",class:[`${r}-icon`,a,{[`${r}-icon--depth`]:o,[`${r}-icon--color-transition`]:o!==void 0}],style:[this.cssVars,this.mergedStyle]}),n?c(n):this.$slots)}}),_l="n-dropdown-menu",Wi="n-dropdown",Fd="n-dropdown-option";function Za(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function Z$(e){return e.type==="group"}function ih(e){return e.type==="divider"}function J$(e){return e.type==="render"}const ah=ne({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Te(Wi),{hoverKeyRef:o,keyboardKeyRef:r,lastToggledSubmenuKeyRef:n,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:l,mergedShowRef:s,renderLabelRef:d,renderIconRef:u,labelFieldRef:h,childrenFieldRef:p,renderOptionRef:g,nodePropsRef:f,menuPropsRef:v}=t,m=Te(Fd,null),b=Te(_l),C=Te(qr),R=T(()=>e.tmNode.rawNode),$=T(()=>{const{value:N}=p;return Za(e.tmNode.rawNode,N)}),S=T(()=>{const{disabled:N}=e.tmNode;return N}),w=T(()=>{if(!$.value)return!1;const{key:N,disabled:te}=e.tmNode;if(te)return!1;const{value:fe}=o,{value:ae}=r,{value:Y}=n,{value:j}=i;return fe!==null?j.includes(N):ae!==null?j.includes(N)&&j[j.length-1]!==N:Y!==null?j.includes(N):!1}),x=T(()=>r.value===null&&!l.value),k=Zv(w,300,x),P=T(()=>!!(m!=null&&m.enteringSubmenuRef.value)),I=E(!1);Ue(Fd,{enteringSubmenuRef:I});function A(){I.value=!0}function O(){I.value=!1}function L(){const{parentKey:N,tmNode:te}=e;te.disabled||s.value&&(n.value=N,r.value=null,o.value=te.key)}function H(){const{tmNode:N}=e;N.disabled||s.value&&o.value!==N.key&&L()}function _(N){if(e.tmNode.disabled||!s.value)return;const{relatedTarget:te}=N;te&&!no({target:te},"dropdownOption")&&!no({target:te},"scrollbarRail")&&(o.value=null)}function U(){const{value:N}=$,{tmNode:te}=e;s.value&&!N&&!te.disabled&&(t.doSelect(te.key,te.rawNode),t.doUpdateShow(!1))}return{labelField:h,renderLabel:d,renderIcon:u,siblingHasIcon:b.showIconRef,siblingHasSubmenu:b.hasSubmenuRef,menuProps:v,popoverBody:C,animated:l,mergedShowSubmenu:T(()=>k.value&&!P.value),rawNode:R,hasSubmenu:$,pending:Ye(()=>{const{value:N}=i,{key:te}=e.tmNode;return N.includes(te)}),childActive:Ye(()=>{const{value:N}=a,{key:te}=e.tmNode,fe=N.findIndex(ae=>te===ae);return fe===-1?!1:fe{const{value:N}=a,{key:te}=e.tmNode,fe=N.findIndex(ae=>te===ae);return fe===-1?!1:fe===N.length-1}),mergedDisabled:S,renderOption:g,nodeProps:f,handleClick:U,handleMouseMove:H,handleMouseEnter:L,handleMouseLeave:_,handleSubmenuBeforeEnter:A,handleSubmenuAfterEnter:O}},render(){var e,t;const{animated:o,rawNode:r,mergedShowSubmenu:n,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:l,renderLabel:s,renderIcon:d,renderOption:u,nodeProps:h,props:p,scrollable:g}=this;let f=null;if(n){const C=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,r,r.children);f=c(lh,Object.assign({},C,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const v={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},m=h==null?void 0:h(r),b=c("div",Object.assign({class:[`${i}-dropdown-option`,m==null?void 0:m.class],"data-dropdown-option":!0},m),c("div",Ft(v,p),[c("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[d?d(r):pt(r.icon)]),c("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},s?s(r):pt((t=r[this.labelField])!==null&&t!==void 0?t:r.title)),c("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,l&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?c(Y$,null,{default:()=>c(kl,null)}):null)]),this.hasSubmenu?c($i,null,{default:()=>[c(Ri,null,{default:()=>c("div",{class:`${i}-dropdown-offset-container`},c(Ti,{show:this.mergedShowSubmenu,placement:this.placement,to:g&&this.popoverBody||void 0,teleportDisabled:!g},{default:()=>c("div",{class:`${i}-dropdown-menu-wrapper`},o?c(kt,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>f}):f)}))})]}):null);return u?u({node:b,option:r}):b}}),Q$=ne({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Te(_l),{renderLabelRef:o,labelFieldRef:r,nodePropsRef:n,renderOptionRef:i}=Te(Wi);return{labelField:r,showIcon:e,hasSubmenu:t,renderLabel:o,nodeProps:n,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:o,showIcon:r,nodeProps:n,renderLabel:i,renderOption:a}=this,{rawNode:l}=this.tmNode,s=c("div",Object.assign({class:`${t}-dropdown-option`},n==null?void 0:n(l)),c("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},c("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,r&&`${t}-dropdown-option-body__prefix--show-icon`]},pt(l.icon)),c("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(l):pt((e=l.title)!==null&&e!==void 0?e:l[this.labelField])),c("div",{class:[`${t}-dropdown-option-body__suffix`,o&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:s,option:l}):s}}),e3=ne({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:o}=this,{children:r}=e;return c(yt,null,c(Q$,{clsPrefix:o,tmNode:e,key:e.key}),r==null?void 0:r.map(n=>{const{rawNode:i}=n;return i.show===!1?null:ih(i)?c(oh,{clsPrefix:o,key:n.key}):n.isGroup?(yo("dropdown","`group` node is not allowed to be put in `group` node."),null):c(ah,{clsPrefix:o,tmNode:n,parentKey:t,key:n.key})}))}}),t3=ne({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return c("div",t,[e==null?void 0:e()])}}),lh=ne({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:o}=Te(Wi);Ue(_l,{showIconRef:T(()=>{const n=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:s})=>n?n(s):s.icon);const{rawNode:l}=i;return n?n(l):l.icon})}),hasSubmenuRef:T(()=>{const{value:n}=o;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:s})=>Za(s,n));const{rawNode:l}=i;return Za(l,n)})})});const r=E(null);return Ue(Bn,null),Ue(Mn,null),Ue(qr,r),{bodyRef:r}},render(){const{parentKey:e,clsPrefix:t,scrollable:o}=this,r=this.tmNodes.map(n=>{const{rawNode:i}=n;return i.show===!1?null:J$(i)?c(t3,{tmNode:n,key:n.key}):ih(i)?c(oh,{clsPrefix:t,key:n.key}):Z$(i)?c(e3,{clsPrefix:t,tmNode:n,parentKey:e,key:n.key}):c(ah,{clsPrefix:t,tmNode:n,parentKey:e,key:n.key,props:i.props,scrollable:o})});return c("div",{class:[`${t}-dropdown-menu`,o&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},o?c(Vu,{contentClass:`${t}-dropdown-menu__content`},{default:()=>r}):r,this.showArrow?Xu({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),o3=y("dropdown-menu",`
    + transform-origin: var(--v-transform-origin);
    + background-color: var(--n-color);
    + border-radius: var(--n-border-radius);
    + box-shadow: var(--n-box-shadow);
    + position: relative;
    + transition:
    + background-color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier);
    +`,[Go(),y("dropdown-option",`
    + position: relative;
    + `,[z("a",`
    + text-decoration: none;
    + color: inherit;
    + outline: none;
    + `,[z("&::before",`
    + content: "";
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + `)]),y("dropdown-option-body",`
    + display: flex;
    + cursor: pointer;
    + position: relative;
    + height: var(--n-option-height);
    + line-height: var(--n-option-height);
    + font-size: var(--n-font-size);
    + color: var(--n-option-text-color);
    + transition: color .3s var(--n-bezier);
    + `,[z("&::before",`
    + content: "";
    + position: absolute;
    + top: 0;
    + bottom: 0;
    + left: 4px;
    + right: 4px;
    + transition: background-color .3s var(--n-bezier);
    + border-radius: var(--n-border-radius);
    + `),nt("disabled",[B("pending",`
    + color: var(--n-option-text-color-hover);
    + `,[M("prefix, suffix",`
    + color: var(--n-option-text-color-hover);
    + `),z("&::before","background-color: var(--n-option-color-hover);")]),B("active",`
    + color: var(--n-option-text-color-active);
    + `,[M("prefix, suffix",`
    + color: var(--n-option-text-color-active);
    + `),z("&::before","background-color: var(--n-option-color-active);")]),B("child-active",`
    + color: var(--n-option-text-color-child-active);
    + `,[M("prefix, suffix",`
    + color: var(--n-option-text-color-child-active);
    + `)])]),B("disabled",`
    + cursor: not-allowed;
    + opacity: var(--n-option-opacity-disabled);
    + `),B("group",`
    + font-size: calc(var(--n-font-size) - 1px);
    + color: var(--n-group-header-text-color);
    + `,[M("prefix",`
    + width: calc(var(--n-option-prefix-width) / 2);
    + `,[B("show-icon",`
    + width: calc(var(--n-option-icon-prefix-width) / 2);
    + `)])]),M("prefix",`
    + width: var(--n-option-prefix-width);
    + display: flex;
    + justify-content: center;
    + align-items: center;
    + color: var(--n-prefix-color);
    + transition: color .3s var(--n-bezier);
    + z-index: 1;
    + `,[B("show-icon",`
    + width: var(--n-option-icon-prefix-width);
    + `),y("icon",`
    + font-size: var(--n-option-icon-size);
    + `)]),M("label",`
    + white-space: nowrap;
    + flex: 1;
    + z-index: 1;
    + `),M("suffix",`
    + box-sizing: border-box;
    + flex-grow: 0;
    + flex-shrink: 0;
    + display: flex;
    + justify-content: flex-end;
    + align-items: center;
    + min-width: var(--n-option-suffix-width);
    + padding: 0 8px;
    + transition: color .3s var(--n-bezier);
    + color: var(--n-suffix-color);
    + z-index: 1;
    + `,[B("has-submenu",`
    + width: var(--n-option-icon-suffix-width);
    + `),y("icon",`
    + font-size: var(--n-option-icon-size);
    + `)]),y("dropdown-menu","pointer-events: all;")]),y("dropdown-offset-container",`
    + pointer-events: none;
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: -4px;
    + bottom: -4px;
    + `)]),y("dropdown-divider",`
    + transition: background-color .3s var(--n-bezier);
    + background-color: var(--n-divider-color);
    + height: 1px;
    + margin: 4px 0;
    + `),y("dropdown-menu-wrapper",`
    + transform-origin: var(--v-transform-origin);
    + width: fit-content;
    + `),z(">",[y("scrollbar",`
    + height: inherit;
    + max-height: inherit;
    + `)]),nt("scrollable",`
    + padding: var(--n-padding);
    + `),B("scrollable",[M("content",`
    + padding: var(--n-padding);
    + `)])]),r3={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},n3=Object.keys(ur),i3=Object.assign(Object.assign(Object.assign({},ur),r3),we.props),a3=ne({name:"Dropdown",inheritAttrs:!1,props:i3,setup(e){const t=E(!1),o=$t(he(e,"show"),t),r=T(()=>{const{keyField:O,childrenField:L}=e;return Ai(e.options,{getKey(H){return H[O]},getDisabled(H){return H.disabled===!0},getIgnored(H){return H.type==="divider"||H.type==="render"},getChildren(H){return H[L]}})}),n=T(()=>r.value.treeNodes),i=E(null),a=E(null),l=E(null),s=T(()=>{var O,L,H;return(H=(L=(O=i.value)!==null&&O!==void 0?O:a.value)!==null&&L!==void 0?L:l.value)!==null&&H!==void 0?H:null}),d=T(()=>r.value.getPath(s.value).keyPath),u=T(()=>r.value.getPath(e.value).keyPath),h=Ye(()=>e.keyboard&&o.value);pg({keydown:{ArrowUp:{prevent:!0,handler:S},ArrowRight:{prevent:!0,handler:$},ArrowDown:{prevent:!0,handler:w},ArrowLeft:{prevent:!0,handler:R},Enter:{prevent:!0,handler:x},Escape:C}},h);const{mergedClsPrefixRef:p,inlineThemeDisabled:g}=He(e),f=we("Dropdown","-dropdown",o3,ji,e,p);Ue(Wi,{labelFieldRef:he(e,"labelField"),childrenFieldRef:he(e,"childrenField"),renderLabelRef:he(e,"renderLabel"),renderIconRef:he(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:l,pendingKeyPathRef:d,activeKeyPathRef:u,animatedRef:he(e,"animated"),mergedShowRef:o,nodePropsRef:he(e,"nodeProps"),renderOptionRef:he(e,"renderOption"),menuPropsRef:he(e,"menuProps"),doSelect:v,doUpdateShow:m}),Je(o,O=>{!e.animated&&!O&&b()});function v(O,L){const{onSelect:H}=e;H&&ie(H,O,L)}function m(O){const{"onUpdate:show":L,onUpdateShow:H}=e;L&&ie(L,O),H&&ie(H,O),t.value=O}function b(){i.value=null,a.value=null,l.value=null}function C(){m(!1)}function R(){P("left")}function $(){P("right")}function S(){P("up")}function w(){P("down")}function x(){const O=k();O!=null&&O.isLeaf&&o.value&&(v(O.key,O.rawNode),m(!1))}function k(){var O;const{value:L}=r,{value:H}=s;return!L||H===null?null:(O=L.getNode(H))!==null&&O!==void 0?O:null}function P(O){const{value:L}=s,{value:{getFirstAvailableNode:H}}=r;let _=null;if(L===null){const U=H();U!==null&&(_=U.key)}else{const U=k();if(U){let N;switch(O){case"down":N=U.getNext();break;case"up":N=U.getPrev();break;case"right":N=U.getChild();break;case"left":N=U.getParent();break}N&&(_=N.key)}}_!==null&&(i.value=null,a.value=_)}const I=T(()=>{const{size:O,inverted:L}=e,{common:{cubicBezierEaseInOut:H},self:_}=f.value,{padding:U,dividerColor:N,borderRadius:te,optionOpacityDisabled:fe,[oe("optionIconSuffixWidth",O)]:ae,[oe("optionSuffixWidth",O)]:Y,[oe("optionIconPrefixWidth",O)]:j,[oe("optionPrefixWidth",O)]:X,[oe("fontSize",O)]:re,[oe("optionHeight",O)]:le,[oe("optionIconSize",O)]:ge}=_,me={"--n-bezier":H,"--n-font-size":re,"--n-padding":U,"--n-border-radius":te,"--n-option-height":le,"--n-option-prefix-width":X,"--n-option-icon-prefix-width":j,"--n-option-suffix-width":Y,"--n-option-icon-suffix-width":ae,"--n-option-icon-size":ge,"--n-divider-color":N,"--n-option-opacity-disabled":fe};return L?(me["--n-color"]=_.colorInverted,me["--n-option-color-hover"]=_.optionColorHoverInverted,me["--n-option-color-active"]=_.optionColorActiveInverted,me["--n-option-text-color"]=_.optionTextColorInverted,me["--n-option-text-color-hover"]=_.optionTextColorHoverInverted,me["--n-option-text-color-active"]=_.optionTextColorActiveInverted,me["--n-option-text-color-child-active"]=_.optionTextColorChildActiveInverted,me["--n-prefix-color"]=_.prefixColorInverted,me["--n-suffix-color"]=_.suffixColorInverted,me["--n-group-header-text-color"]=_.groupHeaderTextColorInverted):(me["--n-color"]=_.color,me["--n-option-color-hover"]=_.optionColorHover,me["--n-option-color-active"]=_.optionColorActive,me["--n-option-text-color"]=_.optionTextColor,me["--n-option-text-color-hover"]=_.optionTextColorHover,me["--n-option-text-color-active"]=_.optionTextColorActive,me["--n-option-text-color-child-active"]=_.optionTextColorChildActive,me["--n-prefix-color"]=_.prefixColor,me["--n-suffix-color"]=_.suffixColor,me["--n-group-header-text-color"]=_.groupHeaderTextColor),me}),A=g?Qe("dropdown",T(()=>`${e.size[0]}${e.inverted?"i":""}`),I,e):void 0;return{mergedClsPrefix:p,mergedTheme:f,tmNodes:n,mergedShow:o,handleAfterLeave:()=>{e.animated&&b()},doUpdateShow:m,cssVars:g?void 0:I,themeClass:A==null?void 0:A.themeClass,onRender:A==null?void 0:A.onRender}},render(){const e=(r,n,i,a,l)=>{var s;const{mergedClsPrefix:d,menuProps:u}=this;(s=this.onRender)===null||s===void 0||s.call(this);const h=(u==null?void 0:u(void 0,this.tmNodes.map(g=>g.rawNode)))||{},p={ref:sc(n),class:[r,`${d}-dropdown`,this.themeClass],clsPrefix:d,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:l};return c(lh,Ft(this.$attrs,p,h))},{mergedTheme:t}=this,o={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return c(Yr,Object.assign({},Io(this.$props,n3),o),{trigger:()=>{var r,n;return(n=(r=this.$slots).default)===null||n===void 0?void 0:n.call(r)}})}}),sh="_n_all__",dh="_n_none__";function l3(e,t,o,r){return e?n=>{for(const i of e)switch(n){case sh:o(!0);return;case dh:r(!0);return;default:if(typeof i=="object"&&i.key===n){i.onSelect(t.value);return}}}:()=>{}}function s3(e,t){return e?e.map(o=>{switch(o){case"all":return{label:t.checkTableAll,key:sh};case"none":return{label:t.uncheckTableAll,key:dh};default:return o}}):[]}const d3=ne({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:o,checkOptionsRef:r,rawPaginatedDataRef:n,doCheckAll:i,doUncheckAll:a}=Te(co),l=T(()=>l3(r.value,n,i,a)),s=T(()=>s3(r.value,o.value));return()=>{var d,u,h,p;const{clsPrefix:g}=e;return c(a3,{theme:(u=(d=t.theme)===null||d===void 0?void 0:d.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(p=(h=t.themeOverrides)===null||h===void 0?void 0:h.peers)===null||p===void 0?void 0:p.Dropdown,options:s.value,onSelect:l.value},{default:()=>c(ot,{clsPrefix:g,class:`${g}-data-table-check-extra`},{default:()=>c(Fu,null)})})}}});function wa(e){return typeof e.title=="function"?e.title(e):e.title}const ch=ne({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:o,fixedColumnRightMapRef:r,mergedCurrentPageRef:n,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:l,colsRef:s,mergedThemeRef:d,checkOptionsRef:u,mergedSortStateRef:h,componentId:p,mergedTableLayoutRef:g,headerCheckboxDisabledRef:f,onUnstableColumnResize:v,doUpdateResizableWidth:m,handleTableHeaderScroll:b,deriveNextSorter:C,doUncheckAll:R,doCheckAll:$}=Te(co),S=E({});function w(O){const L=S.value[O];return L==null?void 0:L.getBoundingClientRect().width}function x(){i.value?R():$()}function k(O,L){if(no(O,"dataTableFilter")||no(O,"dataTableResizable")||!ya(L))return;const H=h.value.find(U=>U.columnKey===L.key)||null,_=_$(L,H);C(_)}const P=new Map;function I(O){P.set(O.key,w(O.key))}function A(O,L){const H=P.get(O.key);if(H===void 0)return;const _=H+L,U=E$(_,O.minWidth,O.maxWidth);v(_,U,O,w),m(O,U)}return{cellElsRef:S,componentId:p,mergedSortState:h,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:o,fixedColumnRightMap:r,currentPage:n,allRowsChecked:i,someRowsChecked:a,rows:l,cols:s,mergedTheme:d,checkOptions:u,mergedTableLayout:g,headerCheckboxDisabled:f,handleCheckboxUpdateChecked:x,handleColHeaderClick:k,handleTableHeaderScroll:b,handleColumnResizeStart:I,handleColumnResize:A}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:o,fixedColumnRightMap:r,currentPage:n,allRowsChecked:i,someRowsChecked:a,rows:l,cols:s,mergedTheme:d,checkOptions:u,componentId:h,discrete:p,mergedTableLayout:g,headerCheckboxDisabled:f,mergedSortState:v,handleColHeaderClick:m,handleCheckboxUpdateChecked:b,handleColumnResizeStart:C,handleColumnResize:R}=this,$=c("thead",{class:`${t}-data-table-thead`,"data-n-id":h},l.map(x=>c("tr",{class:`${t}-data-table-tr`},x.map(({column:k,colSpan:P,rowSpan:I,isLast:A})=>{var O,L;const H=oo(k),{ellipsis:_}=k,U=()=>k.type==="selection"?k.multiple!==!1?c(yt,null,c(Ml,{key:n,privateInsideTable:!0,checked:i,indeterminate:a,disabled:f,onUpdateChecked:b}),u?c(d3,{clsPrefix:t}):null):null:c(yt,null,c("div",{class:`${t}-data-table-th__title-wrapper`},c("div",{class:`${t}-data-table-th__title`},_===!0||_&&!_.tooltip?c("div",{class:`${t}-data-table-th__ellipsis`},wa(k)):_&&typeof _=="object"?c(Ll,Object.assign({},_,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>wa(k)}):wa(k)),ya(k)?c(S$,{column:k}):null),Od(k)?c(N$,{column:k,options:k.filterOptions}):null,eh(k)?c(V$,{onResizeStart:()=>{C(k)},onResize:fe=>{R(k,fe)}}):null),N=H in o,te=H in r;return c("th",{ref:fe=>e[H]=fe,key:H,style:{textAlign:k.titleAlign||k.align,left:St((O=o[H])===null||O===void 0?void 0:O.start),right:St((L=r[H])===null||L===void 0?void 0:L.start)},colspan:P,rowspan:I,"data-col-key":H,class:[`${t}-data-table-th`,(N||te)&&`${t}-data-table-th--fixed-${N?"left":"right"}`,{[`${t}-data-table-th--hover`]:th(k,v),[`${t}-data-table-th--filterable`]:Od(k),[`${t}-data-table-th--sortable`]:ya(k),[`${t}-data-table-th--selection`]:k.type==="selection",[`${t}-data-table-th--last`]:A},k.className],onClick:k.type!=="selection"&&k.type!=="expand"&&!("children"in k)?fe=>{m(fe,k)}:void 0},U())}))));if(!p)return $;const{handleTableHeaderScroll:S,scrollX:w}=this;return c("div",{class:`${t}-data-table-base-table-header`,onScroll:S},c("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:mt(w),tableLayout:g}},c("colgroup",null,s.map(x=>c("col",{key:x.key,style:x.style}))),$))}}),c3=ne({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:o,row:r,renderCell:n}=this;let i;const{render:a,key:l,ellipsis:s}=o;if(a&&!t?i=a(r,this.index):t?i=(e=r[l])===null||e===void 0?void 0:e.value:i=n?n(kn(r,l),r,o):kn(r,l),s)if(typeof s=="object"){const{mergedTheme:d}=this;return o.ellipsisComponent==="performant-ellipsis"?c(C$,Object.assign({},s,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>i}):c(Ll,Object.assign({},s,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>i})}else return c("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),Ed=ne({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return c("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},c(br,null,{default:()=>this.loading?c(Yo,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):c(ot,{clsPrefix:e,key:"base-icon"},{default:()=>c(kl,null)})}))}}),u3=ne({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:o}=Te(co);return()=>{const{rowKey:r}=e;return c(Ml,{privateInsideTable:!0,disabled:e.disabled,indeterminate:o.value.has(r),checked:t.value.has(r),onUpdateChecked:e.onUpdateChecked})}}}),f3=ne({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:o}=Te(co);return()=>{const{rowKey:r}=e;return c(Zf,{name:o,disabled:e.disabled,checked:t.value.has(r),onUpdateChecked:e.onUpdateChecked})}}});function h3(e,t){const o=[];function r(n,i){n.forEach(a=>{a.children&&t.has(a.key)?(o.push({tmNode:a,striped:!1,key:a.key,index:i}),r(a.children,i)):o.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(n=>{o.push(n);const{children:i}=n.tmNode;i&&t.has(n.key)&&r(i,n.index)}),o}const p3=ne({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:o,onMouseenter:r,onMouseleave:n}=this;return c("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:r,onMouseleave:n},c("colgroup",null,o.map(i=>c("col",{key:i.key,style:i.style}))),c("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),v3=ne({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:o,mergedExpandedRowKeysRef:r,mergedClsPrefixRef:n,mergedThemeRef:i,scrollXRef:a,colsRef:l,paginatedDataRef:s,rawPaginatedDataRef:d,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:h,mergedCurrentPageRef:p,rowClassNameRef:g,leftActiveFixedColKeyRef:f,leftActiveFixedChildrenColKeysRef:v,rightActiveFixedColKeyRef:m,rightActiveFixedChildrenColKeysRef:b,renderExpandRef:C,hoverKeyRef:R,summaryRef:$,mergedSortStateRef:S,virtualScrollRef:w,componentId:x,mergedTableLayoutRef:k,childTriggerColIndexRef:P,indentRef:I,rowPropsRef:A,maxHeightRef:O,stripedRef:L,loadingRef:H,onLoadRef:_,loadingKeySetRef:U,expandableRef:N,stickyExpandedRowsRef:te,renderExpandIconRef:fe,summaryPlacementRef:ae,treeMateRef:Y,scrollbarPropsRef:j,setHeaderScrollLeft:X,doUpdateExpandedRowKeys:re,handleTableBodyScroll:le,doCheck:ge,doUncheck:me,renderCell:Ae}=Te(co),q=E(null),ve=E(null),$e=E(null),Oe=Ye(()=>s.value.length===0),Z=Ye(()=>e.showHeader||!Oe.value),ue=Ye(()=>e.showHeader||Oe.value);let be="";const De=T(()=>new Set(r.value));function ee(ye){var ze;return(ze=Y.value.getNode(ye))===null||ze===void 0?void 0:ze.rawNode}function Ce(ye,ze,Ke){const Be=ee(ye.key);if(!Be){yo("data-table",`fail to get row data with key ${ye.key}`);return}if(Ke){const Ve=s.value.findIndex(at=>at.key===be);if(Ve!==-1){const at=s.value.findIndex(Re=>Re.key===ye.key),F=Math.min(Ve,at),G=Math.max(Ve,at),de=[];s.value.slice(F,G+1).forEach(Re=>{Re.disabled||de.push(Re.key)}),ze?ge(de,!1,Be):me(de,Be),be=ye.key;return}}ze?ge(ye.key,!1,Be):me(ye.key,Be),be=ye.key}function Pe(ye){const ze=ee(ye.key);if(!ze){yo("data-table",`fail to get row data with key ${ye.key}`);return}ge(ye.key,!0,ze)}function K(){if(!Z.value){const{value:ze}=$e;return ze||null}if(w.value)return V();const{value:ye}=q;return ye?ye.containerRef:null}function Q(ye,ze){var Ke;if(U.value.has(ye))return;const{value:Be}=r,Ve=Be.indexOf(ye),at=Array.from(Be);~Ve?(at.splice(Ve,1),re(at)):ze&&!ze.isLeaf&&!ze.shallowLoaded?(U.value.add(ye),(Ke=_.value)===null||Ke===void 0||Ke.call(_,ze.rawNode).then(()=>{const{value:F}=r,G=Array.from(F);~G.indexOf(ye)||G.push(ye),re(G)}).finally(()=>{U.value.delete(ye)})):(at.push(ye),re(at))}function pe(){R.value=null}function V(){const{value:ye}=ve;return(ye==null?void 0:ye.listElRef)||null}function D(){const{value:ye}=ve;return(ye==null?void 0:ye.itemsElRef)||null}function J(ye){var ze;le(ye),(ze=q.value)===null||ze===void 0||ze.sync()}function Se(ye){var ze;const{onResize:Ke}=e;Ke&&Ke(ye),(ze=q.value)===null||ze===void 0||ze.sync()}const Le={getScrollContainer:K,scrollTo(ye,ze){var Ke,Be;w.value?(Ke=ve.value)===null||Ke===void 0||Ke.scrollTo(ye,ze):(Be=q.value)===null||Be===void 0||Be.scrollTo(ye,ze)}},qe=z([({props:ye})=>{const ze=Be=>Be===null?null:z(`[data-n-id="${ye.componentId}"] [data-col-key="${Be}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),Ke=Be=>Be===null?null:z(`[data-n-id="${ye.componentId}"] [data-col-key="${Be}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return z([ze(ye.leftActiveFixedColKey),Ke(ye.rightActiveFixedColKey),ye.leftActiveFixedChildrenColKeys.map(Be=>ze(Be)),ye.rightActiveFixedChildrenColKeys.map(Be=>Ke(Be))])}]);let it=!1;return vt(()=>{const{value:ye}=f,{value:ze}=v,{value:Ke}=m,{value:Be}=b;if(!it&&ye===null&&Ke===null)return;const Ve={leftActiveFixedColKey:ye,leftActiveFixedChildrenColKeys:ze,rightActiveFixedColKey:Ke,rightActiveFixedChildrenColKeys:Be,componentId:x};qe.mount({id:`n-${x}`,force:!0,props:Ve,anchorMetaName:Hr}),it=!0}),ic(()=>{qe.unmount({id:`n-${x}`})}),Object.assign({bodyWidth:o,summaryPlacement:ae,dataTableSlots:t,componentId:x,scrollbarInstRef:q,virtualListRef:ve,emptyElRef:$e,summary:$,mergedClsPrefix:n,mergedTheme:i,scrollX:a,cols:l,loading:H,bodyShowHeaderOnly:ue,shouldDisplaySomeTablePart:Z,empty:Oe,paginatedDataAndInfo:T(()=>{const{value:ye}=L;let ze=!1;return{data:s.value.map(ye?(Be,Ve)=>(Be.isLeaf||(ze=!0),{tmNode:Be,key:Be.key,striped:Ve%2===1,index:Ve}):(Be,Ve)=>(Be.isLeaf||(ze=!0),{tmNode:Be,key:Be.key,striped:!1,index:Ve})),hasChildren:ze}}),rawPaginatedData:d,fixedColumnLeftMap:u,fixedColumnRightMap:h,currentPage:p,rowClassName:g,renderExpand:C,mergedExpandedRowKeySet:De,hoverKey:R,mergedSortState:S,virtualScroll:w,mergedTableLayout:k,childTriggerColIndex:P,indent:I,rowProps:A,maxHeight:O,loadingKeySet:U,expandable:N,stickyExpandedRows:te,renderExpandIcon:fe,scrollbarProps:j,setHeaderScrollLeft:X,handleVirtualListScroll:J,handleVirtualListResize:Se,handleMouseleaveTable:pe,virtualListContainer:V,virtualListContent:D,handleTableBodyScroll:le,handleCheckboxUpdateChecked:Ce,handleRadioUpdateChecked:Pe,handleUpdateExpanded:Q,renderCell:Ae},Le)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:o,virtualScroll:r,maxHeight:n,mergedTableLayout:i,flexHeight:a,loadingKeySet:l,onResize:s,setHeaderScrollLeft:d}=this,u=t!==void 0||n!==void 0||a,h=!u&&i==="auto",p=t!==void 0||h,g={minWidth:mt(t)||"100%"};t&&(g.width="100%");const f=c(so,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||h,class:`${o}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:g,container:r?this.virtualListContainer:void 0,content:r?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:p,onScroll:r?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:d,onResize:s}),{default:()=>{const v={},m={},{cols:b,paginatedDataAndInfo:C,mergedTheme:R,fixedColumnLeftMap:$,fixedColumnRightMap:S,currentPage:w,rowClassName:x,mergedSortState:k,mergedExpandedRowKeySet:P,stickyExpandedRows:I,componentId:A,childTriggerColIndex:O,expandable:L,rowProps:H,handleMouseleaveTable:_,renderExpand:U,summary:N,handleCheckboxUpdateChecked:te,handleRadioUpdateChecked:fe,handleUpdateExpanded:ae}=this,{length:Y}=b;let j;const{data:X,hasChildren:re}=C,le=re?h3(X,P):X;if(N){const Z=N(this.rawPaginatedData);if(Array.isArray(Z)){const ue=Z.map((be,De)=>({isSummaryRow:!0,key:`__n_summary__${De}`,tmNode:{rawNode:be,disabled:!0},index:-1}));j=this.summaryPlacement==="top"?[...ue,...le]:[...le,...ue]}else{const ue={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:Z,disabled:!0},index:-1};j=this.summaryPlacement==="top"?[ue,...le]:[...le,ue]}}else j=le;const ge=re?{width:St(this.indent)}:void 0,me=[];j.forEach(Z=>{U&&P.has(Z.key)&&(!L||L(Z.tmNode.rawNode))?me.push(Z,{isExpandedRow:!0,key:`${Z.key}-expand`,tmNode:Z.tmNode,index:Z.index}):me.push(Z)});const{length:Ae}=me,q={};X.forEach(({tmNode:Z},ue)=>{q[ue]=Z.key});const ve=I?this.bodyWidth:null,$e=ve===null?void 0:`${ve}px`,Oe=(Z,ue,be)=>{const{index:De}=Z;if("isExpandedRow"in Z){const{tmNode:{key:Se,rawNode:Le}}=Z;return c("tr",{class:`${o}-data-table-tr ${o}-data-table-tr--expanded`,key:`${Se}__expand`},c("td",{class:[`${o}-data-table-td`,`${o}-data-table-td--last-col`,ue+1===Ae&&`${o}-data-table-td--last-row`],colspan:Y},I?c("div",{class:`${o}-data-table-expand`,style:{width:$e}},U(Le,De)):U(Le,De)))}const ee="isSummaryRow"in Z,Ce=!ee&&Z.striped,{tmNode:Pe,key:K}=Z,{rawNode:Q}=Pe,pe=P.has(K),V=H?H(Q,De):void 0,D=typeof x=="string"?x:L$(Q,De,x);return c("tr",Object.assign({onMouseenter:()=>{this.hoverKey=K},key:K,class:[`${o}-data-table-tr`,ee&&`${o}-data-table-tr--summary`,Ce&&`${o}-data-table-tr--striped`,pe&&`${o}-data-table-tr--expanded`,D]},V),b.map((Se,Le)=>{var qe,it,ye,ze,Ke;if(ue in v){const ft=v[ue],Ct=ft.indexOf(Le);if(~Ct)return ft.splice(Ct,1),null}const{column:Be}=Se,Ve=oo(Se),{rowSpan:at,colSpan:F}=Be,G=ee?((qe=Z.tmNode.rawNode[Ve])===null||qe===void 0?void 0:qe.colSpan)||1:F?F(Q,De):1,de=ee?((it=Z.tmNode.rawNode[Ve])===null||it===void 0?void 0:it.rowSpan)||1:at?at(Q,De):1,Re=Le+G===Y,Ie=ue+de===Ae,Fe=de>1;if(Fe&&(m[ue]={[Le]:[]}),G>1||Fe)for(let ft=ue;ft{ae(K,Z.tmNode)}})]:null,Be.type==="selection"?ee?null:Be.multiple===!1?c(f3,{key:w,rowKey:K,disabled:Z.tmNode.disabled,onUpdateChecked:()=>{fe(Z.tmNode)}}):c(u3,{key:w,rowKey:K,disabled:Z.tmNode.disabled,onUpdateChecked:(ft,Ct)=>{te(Z.tmNode,ft,Ct.shiftKey)}}):Be.type==="expand"?ee?null:!Be.expandable||!((Ke=Be.expandable)===null||Ke===void 0)&&Ke.call(Be,Q)?c(Ed,{clsPrefix:o,expanded:pe,renderExpandIcon:this.renderExpandIcon,onClick:()=>{ae(K,null)}}):null:c(c3,{clsPrefix:o,index:De,row:Q,column:Be,isSummary:ee,mergedTheme:R,renderCell:this.renderCell}))}))};return r?c(Ec,{ref:"virtualListRef",items:me,itemSize:28,visibleItemsTag:p3,visibleItemsProps:{clsPrefix:o,id:A,cols:b,onMouseleave:_},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:g,itemResizable:!0},{default:({item:Z,index:ue})=>Oe(Z,ue,!0)}):c("table",{class:`${o}-data-table-table`,onMouseleave:_,style:{tableLayout:this.mergedTableLayout}},c("colgroup",null,b.map(Z=>c("col",{key:Z.key,style:Z.style}))),this.showHeader?c(ch,{discrete:!1}):null,this.empty?null:c("tbody",{"data-n-id":A,class:`${o}-data-table-tbody`},me.map((Z,ue)=>Oe(Z,ue,!1))))}});if(this.empty){const v=()=>c("div",{class:[`${o}-data-table-empty`,this.loading&&`${o}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},Bt(this.dataTableSlots.empty,()=>[c(ju,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?c(yt,null,f,v()):c(io,{onResize:this.onResize},{default:v})}return f}}),g3=ne({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:o,bodyWidthRef:r,maxHeightRef:n,minHeightRef:i,flexHeightRef:a,syncScrollState:l}=Te(co),s=E(null),d=E(null),u=E(null),h=E(!(o.value.length||t.value.length)),p=T(()=>({maxHeight:mt(n.value),minHeight:mt(i.value)}));function g(b){r.value=b.contentRect.width,l(),h.value||(h.value=!0)}function f(){const{value:b}=s;return b?b.$el:null}function v(){const{value:b}=d;return b?b.getScrollContainer():null}const m={getBodyElement:v,getHeaderElement:f,scrollTo(b,C){var R;(R=d.value)===null||R===void 0||R.scrollTo(b,C)}};return vt(()=>{const{value:b}=u;if(!b)return;const C=`${e.value}-data-table-base-table--transition-disabled`;h.value?setTimeout(()=>{b.classList.remove(C)},0):b.classList.add(C)}),Object.assign({maxHeight:n,mergedClsPrefix:e,selfElRef:u,headerInstRef:s,bodyInstRef:d,bodyStyle:p,flexHeight:a,handleBodyResize:g},m)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:o}=this,r=t===void 0&&!o;return c("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},r?null:c(ch,{ref:"headerInstRef"}),c(v3,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:r,flexHeight:o,onResize:this.handleBodyResize}))}});function b3(e,t){const{paginatedDataRef:o,treeMateRef:r,selectionColumnRef:n}=t,i=E(e.defaultCheckedRowKeys),a=T(()=>{var S;const{checkedRowKeys:w}=e,x=w===void 0?i.value:w;return((S=n.value)===null||S===void 0?void 0:S.multiple)===!1?{checkedKeys:x.slice(0,1),indeterminateKeys:[]}:r.value.getCheckedKeys(x,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),l=T(()=>a.value.checkedKeys),s=T(()=>a.value.indeterminateKeys),d=T(()=>new Set(l.value)),u=T(()=>new Set(s.value)),h=T(()=>{const{value:S}=d;return o.value.reduce((w,x)=>{const{key:k,disabled:P}=x;return w+(!P&&S.has(k)?1:0)},0)}),p=T(()=>o.value.filter(S=>S.disabled).length),g=T(()=>{const{length:S}=o.value,{value:w}=u;return h.value>0&&h.valuew.has(x.key))}),f=T(()=>{const{length:S}=o.value;return h.value!==0&&h.value===S-p.value}),v=T(()=>o.value.length===0);function m(S,w,x){const{"onUpdate:checkedRowKeys":k,onUpdateCheckedRowKeys:P,onCheckedRowKeysChange:I}=e,A=[],{value:{getNode:O}}=r;S.forEach(L=>{var H;const _=(H=O(L))===null||H===void 0?void 0:H.rawNode;A.push(_)}),k&&ie(k,S,A,{row:w,action:x}),P&&ie(P,S,A,{row:w,action:x}),I&&ie(I,S,A,{row:w,action:x}),i.value=S}function b(S,w=!1,x){if(!e.loading){if(w){m(Array.isArray(S)?S.slice(0,1):[S],x,"check");return}m(r.value.check(S,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"check")}}function C(S,w){e.loading||m(r.value.uncheck(S,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,w,"uncheck")}function R(S=!1){const{value:w}=n;if(!w||e.loading)return;const x=[];(S?r.value.treeNodes:o.value).forEach(k=>{k.disabled||x.push(k.key)}),m(r.value.check(x,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function $(S=!1){const{value:w}=n;if(!w||e.loading)return;const x=[];(S?r.value.treeNodes:o.value).forEach(k=>{k.disabled||x.push(k.key)}),m(r.value.uncheck(x,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:d,mergedCheckedRowKeysRef:l,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:g,allRowsCheckedRef:f,headerCheckboxDisabledRef:v,doUpdateCheckedRowKeys:m,doCheckAll:R,doUncheckAll:$,doCheck:b,doUncheck:C}}function Zn(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function m3(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?x3(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function x3(e){return(t,o)=>{const r=t[e],n=o[e];return r==null?n==null?0:-1:n==null?1:typeof r=="number"&&typeof n=="number"?r-n:typeof r=="string"&&typeof n=="string"?r.localeCompare(n):0}}function C3(e,{dataRelatedColsRef:t,filteredDataRef:o}){const r=[];t.value.forEach(g=>{var f;g.sorter!==void 0&&p(r,{columnKey:g.key,sorter:g.sorter,order:(f=g.defaultSortOrder)!==null&&f!==void 0?f:!1})});const n=E(r),i=T(()=>{const g=t.value.filter(m=>m.type!=="selection"&&m.sorter!==void 0&&(m.sortOrder==="ascend"||m.sortOrder==="descend"||m.sortOrder===!1)),f=g.filter(m=>m.sortOrder!==!1);if(f.length)return f.map(m=>({columnKey:m.key,order:m.sortOrder,sorter:m.sorter}));if(g.length)return[];const{value:v}=n;return Array.isArray(v)?v:v?[v]:[]}),a=T(()=>{const g=i.value.slice().sort((f,v)=>{const m=Zn(f.sorter)||0;return(Zn(v.sorter)||0)-m});return g.length?o.value.slice().sort((v,m)=>{let b=0;return g.some(C=>{const{columnKey:R,sorter:$,order:S}=C,w=m3($,R);return w&&S&&(b=w(v.rawNode,m.rawNode),b!==0)?(b=b*F$(S),!0):!1}),b}):o.value});function l(g){let f=i.value.slice();return g&&Zn(g.sorter)!==!1?(f=f.filter(v=>Zn(v.sorter)!==!1),p(f,g),f):g||null}function s(g){const f=l(g);d(f)}function d(g){const{"onUpdate:sorter":f,onUpdateSorter:v,onSorterChange:m}=e;f&&ie(f,g),v&&ie(v,g),m&&ie(m,g),n.value=g}function u(g,f="ascend"){if(!g)h();else{const v=t.value.find(b=>b.type!=="selection"&&b.type!=="expand"&&b.key===g);if(!(v!=null&&v.sorter))return;const m=v.sorter;s({columnKey:g,sorter:m,order:f})}}function h(){d(null)}function p(g,f){const v=g.findIndex(m=>(f==null?void 0:f.columnKey)&&m.columnKey===f.columnKey);v!==void 0&&v>=0?g[v]=f:g.push(f)}return{clearSorter:h,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:s}}function y3(e,{dataRelatedColsRef:t}){const o=T(()=>{const Y=j=>{for(let X=0;X{const{childrenKey:Y}=e;return Ai(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:j=>j[Y],getDisabled:j=>{var X,re;return!!(!((re=(X=o.value)===null||X===void 0?void 0:X.disabled)===null||re===void 0)&&re.call(X,j))}})}),n=Ye(()=>{const{columns:Y}=e,{length:j}=Y;let X=null;for(let re=0;re{const Y=t.value.filter(re=>re.filterOptionValues!==void 0||re.filterOptionValue!==void 0),j={};return Y.forEach(re=>{var le;re.type==="selection"||re.type==="expand"||(re.filterOptionValues===void 0?j[re.key]=(le=re.filterOptionValue)!==null&&le!==void 0?le:null:j[re.key]=re.filterOptionValues)}),Object.assign(Md(i.value),j)}),u=T(()=>{const Y=d.value,{columns:j}=e;function X(ge){return(me,Ae)=>!!~String(Ae[ge]).indexOf(String(me))}const{value:{treeNodes:re}}=r,le=[];return j.forEach(ge=>{ge.type==="selection"||ge.type==="expand"||"children"in ge||le.push([ge.key,ge])}),re?re.filter(ge=>{const{rawNode:me}=ge;for(const[Ae,q]of le){let ve=Y[Ae];if(ve==null||(Array.isArray(ve)||(ve=[ve]),!ve.length))continue;const $e=q.filter==="default"?X(Ae):q.filter;if(q&&typeof $e=="function")if(q.filterMode==="and"){if(ve.some(Oe=>!$e(Oe,me)))return!1}else{if(ve.some(Oe=>$e(Oe,me)))continue;return!1}}return!0}):[]}),{sortedDataRef:h,deriveNextSorter:p,mergedSortStateRef:g,sort:f,clearSorter:v}=C3(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(Y=>{var j;if(Y.filter){const X=Y.defaultFilterOptionValues;Y.filterMultiple?i.value[Y.key]=X||[]:X!==void 0?i.value[Y.key]=X===null?[]:X:i.value[Y.key]=(j=Y.defaultFilterOptionValue)!==null&&j!==void 0?j:null}});const m=T(()=>{const{pagination:Y}=e;if(Y!==!1)return Y.page}),b=T(()=>{const{pagination:Y}=e;if(Y!==!1)return Y.pageSize}),C=$t(m,l),R=$t(b,s),$=Ye(()=>{const Y=C.value;return e.remote?Y:Math.max(1,Math.min(Math.ceil(u.value.length/R.value),Y))}),S=T(()=>{const{pagination:Y}=e;if(Y){const{pageCount:j}=Y;if(j!==void 0)return j}}),w=T(()=>{if(e.remote)return r.value.treeNodes;if(!e.pagination)return h.value;const Y=R.value,j=($.value-1)*Y;return h.value.slice(j,j+Y)}),x=T(()=>w.value.map(Y=>Y.rawNode));function k(Y){const{pagination:j}=e;if(j){const{onChange:X,"onUpdate:page":re,onUpdatePage:le}=j;X&&ie(X,Y),le&&ie(le,Y),re&&ie(re,Y),O(Y)}}function P(Y){const{pagination:j}=e;if(j){const{onPageSizeChange:X,"onUpdate:pageSize":re,onUpdatePageSize:le}=j;X&&ie(X,Y),le&&ie(le,Y),re&&ie(re,Y),L(Y)}}const I=T(()=>{if(e.remote){const{pagination:Y}=e;if(Y){const{itemCount:j}=Y;if(j!==void 0)return j}return}return u.value.length}),A=T(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":k,"onUpdate:pageSize":P,page:$.value,pageSize:R.value,pageCount:I.value===void 0?S.value:void 0,itemCount:I.value}));function O(Y){const{"onUpdate:page":j,onPageChange:X,onUpdatePage:re}=e;re&&ie(re,Y),j&&ie(j,Y),X&&ie(X,Y),l.value=Y}function L(Y){const{"onUpdate:pageSize":j,onPageSizeChange:X,onUpdatePageSize:re}=e;X&&ie(X,Y),re&&ie(re,Y),j&&ie(j,Y),s.value=Y}function H(Y,j){const{onUpdateFilters:X,"onUpdate:filters":re,onFiltersChange:le}=e;X&&ie(X,Y,j),re&&ie(re,Y,j),le&&ie(le,Y,j),i.value=Y}function _(Y,j,X,re){var le;(le=e.onUnstableColumnResize)===null||le===void 0||le.call(e,Y,j,X,re)}function U(Y){O(Y)}function N(){te()}function te(){fe({})}function fe(Y){ae(Y)}function ae(Y){Y?Y&&(i.value=Md(Y)):i.value={}}return{treeMateRef:r,mergedCurrentPageRef:$,mergedPaginationRef:A,paginatedDataRef:w,rawPaginatedDataRef:x,mergedFilterStateRef:d,mergedSortStateRef:g,hoverKeyRef:E(null),selectionColumnRef:o,childTriggerColIndexRef:n,doUpdateFilters:H,deriveNextSorter:p,doUpdatePageSize:L,doUpdatePage:O,onUnstableColumnResize:_,filter:ae,filters:fe,clearFilter:N,clearFilters:te,clearSorter:v,page:U,sort:f}}function w3(e,{mainTableInstRef:t,mergedCurrentPageRef:o,bodyWidthRef:r}){let n=0;const i=E(),a=E(null),l=E([]),s=E(null),d=E([]),u=T(()=>mt(e.scrollX)),h=T(()=>e.columns.filter(P=>P.fixed==="left")),p=T(()=>e.columns.filter(P=>P.fixed==="right")),g=T(()=>{const P={};let I=0;function A(O){O.forEach(L=>{const H={start:I,end:0};P[oo(L)]=H,"children"in L?(A(L.children),H.end=I):(I+=Bd(L)||0,H.end=I)})}return A(h.value),P}),f=T(()=>{const P={};let I=0;function A(O){for(let L=O.length-1;L>=0;--L){const H=O[L],_={start:I,end:0};P[oo(H)]=_,"children"in H?(A(H.children),_.end=I):(I+=Bd(H)||0,_.end=I)}}return A(p.value),P});function v(){var P,I;const{value:A}=h;let O=0;const{value:L}=g;let H=null;for(let _=0;_(((P=L[U])===null||P===void 0?void 0:P.start)||0)-O)H=U,O=((I=L[U])===null||I===void 0?void 0:I.end)||0;else break}a.value=H}function m(){l.value=[];let P=e.columns.find(I=>oo(I)===a.value);for(;P&&"children"in P;){const I=P.children.length;if(I===0)break;const A=P.children[I-1];l.value.push(oo(A)),P=A}}function b(){var P,I;const{value:A}=p,O=Number(e.scrollX),{value:L}=r;if(L===null)return;let H=0,_=null;const{value:U}=f;for(let N=A.length-1;N>=0;--N){const te=oo(A[N]);if(Math.round(n+(((P=U[te])===null||P===void 0?void 0:P.start)||0)+L-H)oo(I)===s.value);for(;P&&"children"in P&&P.children.length;){const I=P.children[0];d.value.push(oo(I)),P=I}}function R(){const P=t.value?t.value.getHeaderElement():null,I=t.value?t.value.getBodyElement():null;return{header:P,body:I}}function $(){const{body:P}=R();P&&(P.scrollTop=0)}function S(){i.value!=="body"?Ar(x):i.value=void 0}function w(P){var I;(I=e.onScroll)===null||I===void 0||I.call(e,P),i.value!=="head"?Ar(x):i.value=void 0}function x(){const{header:P,body:I}=R();if(!I)return;const{value:A}=r;if(A!==null){if(e.maxHeight||e.flexHeight){if(!P)return;const O=n-P.scrollLeft;i.value=O!==0?"head":"body",i.value==="head"?(n=P.scrollLeft,I.scrollLeft=n):(n=I.scrollLeft,P.scrollLeft=n)}else n=I.scrollLeft;v(),m(),b(),C()}}function k(P){const{header:I}=R();I&&(I.scrollLeft=P,x())}return Je(o,()=>{$()}),{styleScrollXRef:u,fixedColumnLeftMapRef:g,fixedColumnRightMapRef:f,leftFixedColumnsRef:h,rightFixedColumnsRef:p,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:l,rightActiveFixedColKeyRef:s,rightActiveFixedChildrenColKeysRef:d,syncScrollState:x,handleTableBodyScroll:w,handleTableHeaderScroll:S,setHeaderScrollLeft:k}}function S3(){const e=E({});function t(n){return e.value[n]}function o(n,i){eh(n)&&"key"in n&&(e.value[n.key]=i)}function r(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:o,clearResizableWidth:r}}function k3(e,t){const o=[],r=[],n=[],i=new WeakMap;let a=-1,l=0,s=!1;function d(p,g){g>a&&(o[g]=[],a=g);for(const f of p)if("children"in f)d(f.children,g+1);else{const v="key"in f?f.key:void 0;r.push({key:oo(f),style:A$(f,v!==void 0?mt(t(v)):void 0),column:f}),l+=1,s||(s=!!f.ellipsis),n.push(f)}}d(e,0);let u=0;function h(p,g){let f=0;p.forEach((v,m)=>{var b;if("children"in v){const C=u,R={column:v,colSpan:0,rowSpan:1,isLast:!1};h(v.children,g+1),v.children.forEach($=>{var S,w;R.colSpan+=(w=(S=i.get($))===null||S===void 0?void 0:S.colSpan)!==null&&w!==void 0?w:0}),C+R.colSpan===l&&(R.isLast=!0),i.set(v,R),o[g].push(R)}else{if(u1&&(f=u+C);const R=u+C===l,$={column:v,colSpan:C,rowSpan:a-g+1,isLast:R};i.set(v,$),o[g].push($),u+=1}})}return h(e,0),{hasEllipsis:s,rows:o,cols:r,dataRelatedCols:n}}function $3(e,t){const o=T(()=>k3(e.columns,t));return{rowsRef:T(()=>o.value.rows),colsRef:T(()=>o.value.cols),hasEllipsisRef:T(()=>o.value.hasEllipsis),dataRelatedColsRef:T(()=>o.value.dataRelatedCols)}}function R3(e,t){const o=Ye(()=>{for(const d of e.columns)if(d.type==="expand")return d.renderExpand}),r=Ye(()=>{let d;for(const u of e.columns)if(u.type==="expand"){d=u.expandable;break}return d}),n=E(e.defaultExpandAll?o!=null&&o.value?(()=>{const d=[];return t.value.treeNodes.forEach(u=>{var h;!((h=r.value)===null||h===void 0)&&h.call(r,u.rawNode)&&d.push(u.key)}),d})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=he(e,"expandedRowKeys"),a=he(e,"stickyExpandedRows"),l=$t(i,n);function s(d){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":h}=e;u&&ie(u,d),h&&ie(h,d),n.value=d}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:l,renderExpandRef:o,expandableRef:r,doUpdateExpandedRowKeys:s}}const Ad=z3(),P3=z([y("data-table",`
    + width: 100%;
    + font-size: var(--n-font-size);
    + display: flex;
    + flex-direction: column;
    + position: relative;
    + --n-merged-th-color: var(--n-th-color);
    + --n-merged-td-color: var(--n-td-color);
    + --n-merged-border-color: var(--n-border-color);
    + --n-merged-th-color-hover: var(--n-th-color-hover);
    + --n-merged-td-color-hover: var(--n-td-color-hover);
    + --n-merged-td-color-striped: var(--n-td-color-striped);
    + `,[y("data-table-wrapper",`
    + flex-grow: 1;
    + display: flex;
    + flex-direction: column;
    + `),B("flex-height",[z(">",[y("data-table-wrapper",[z(">",[y("data-table-base-table",`
    + display: flex;
    + flex-direction: column;
    + flex-grow: 1;
    + `,[z(">",[y("data-table-base-table-body","flex-basis: 0;",[z("&:last-child","flex-grow: 1;")])])])])])])]),z(">",[y("data-table-loading-wrapper",`
    + color: var(--n-loading-color);
    + font-size: var(--n-loading-size);
    + position: absolute;
    + left: 50%;
    + top: 50%;
    + transform: translateX(-50%) translateY(-50%);
    + transition: color .3s var(--n-bezier);
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + `,[Go({originalTransform:"translateX(-50%) translateY(-50%)"})])]),y("data-table-expand-placeholder",`
    + margin-right: 8px;
    + display: inline-block;
    + width: 16px;
    + height: 1px;
    + `),y("data-table-indent",`
    + display: inline-block;
    + height: 1px;
    + `),y("data-table-expand-trigger",`
    + display: inline-flex;
    + margin-right: 8px;
    + cursor: pointer;
    + font-size: 16px;
    + vertical-align: -0.2em;
    + position: relative;
    + width: 16px;
    + height: 16px;
    + color: var(--n-td-text-color);
    + transition: color .3s var(--n-bezier);
    + `,[B("expanded",[y("icon","transform: rotate(90deg);",[Wt({originalTransform:"rotate(90deg)"})]),y("base-icon","transform: rotate(90deg);",[Wt({originalTransform:"rotate(90deg)"})])]),y("base-loading",`
    + color: var(--n-loading-color);
    + transition: color .3s var(--n-bezier);
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + `,[Wt()]),y("icon",`
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + `,[Wt()]),y("base-icon",`
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + `,[Wt()])]),y("data-table-thead",`
    + transition: background-color .3s var(--n-bezier);
    + background-color: var(--n-merged-th-color);
    + `),y("data-table-tr",`
    + box-sizing: border-box;
    + background-clip: padding-box;
    + transition: background-color .3s var(--n-bezier);
    + `,[y("data-table-expand",`
    + position: sticky;
    + left: 0;
    + overflow: hidden;
    + margin: calc(var(--n-th-padding) * -1);
    + padding: var(--n-th-padding);
    + box-sizing: border-box;
    + `),B("striped","background-color: var(--n-merged-td-color-striped);",[y("data-table-td","background-color: var(--n-merged-td-color-striped);")]),nt("summary",[z("&:hover","background-color: var(--n-merged-td-color-hover);",[z(">",[y("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),y("data-table-th",`
    + padding: var(--n-th-padding);
    + position: relative;
    + text-align: start;
    + box-sizing: border-box;
    + background-color: var(--n-merged-th-color);
    + border-color: var(--n-merged-border-color);
    + border-bottom: 1px solid var(--n-merged-border-color);
    + color: var(--n-th-text-color);
    + transition:
    + border-color .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + font-weight: var(--n-th-font-weight);
    + `,[B("filterable",`
    + padding-right: 36px;
    + `,[B("sortable",`
    + padding-right: calc(var(--n-th-padding) + 36px);
    + `)]),Ad,B("selection",`
    + padding: 0;
    + text-align: center;
    + line-height: 0;
    + z-index: 3;
    + `),M("title-wrapper",`
    + display: flex;
    + align-items: center;
    + flex-wrap: nowrap;
    + max-width: 100%;
    + `,[M("title",`
    + flex: 1;
    + min-width: 0;
    + `)]),M("ellipsis",`
    + display: inline-block;
    + vertical-align: bottom;
    + text-overflow: ellipsis;
    + overflow: hidden;
    + white-space: nowrap;
    + max-width: 100%;
    + `),B("hover",`
    + background-color: var(--n-merged-th-color-hover);
    + `),B("sortable",`
    + cursor: pointer;
    + `,[M("ellipsis",`
    + max-width: calc(100% - 18px);
    + `),z("&:hover",`
    + background-color: var(--n-merged-th-color-hover);
    + `)]),y("data-table-sorter",`
    + height: var(--n-sorter-size);
    + width: var(--n-sorter-size);
    + margin-left: 4px;
    + position: relative;
    + display: inline-flex;
    + align-items: center;
    + justify-content: center;
    + vertical-align: -0.2em;
    + color: var(--n-th-icon-color);
    + transition: color .3s var(--n-bezier);
    + `,[y("base-icon","transition: transform .3s var(--n-bezier)"),B("desc",[y("base-icon",`
    + transform: rotate(0deg);
    + `)]),B("asc",[y("base-icon",`
    + transform: rotate(-180deg);
    + `)]),B("asc, desc",`
    + color: var(--n-th-icon-color-active);
    + `)]),y("data-table-resize-button",`
    + width: var(--n-resizable-container-size);
    + position: absolute;
    + top: 0;
    + right: calc(var(--n-resizable-container-size) / 2);
    + bottom: 0;
    + cursor: col-resize;
    + user-select: none;
    + `,[z("&::after",`
    + width: var(--n-resizable-size);
    + height: 50%;
    + position: absolute;
    + top: 50%;
    + left: calc(var(--n-resizable-container-size) / 2);
    + bottom: 0;
    + background-color: var(--n-merged-border-color);
    + transform: translateY(-50%);
    + transition: background-color .3s var(--n-bezier);
    + z-index: 1;
    + content: '';
    + `),B("active",[z("&::after",` 
    + background-color: var(--n-th-icon-color-active);
    + `)]),z("&:hover::after",`
    + background-color: var(--n-th-icon-color-active);
    + `)]),y("data-table-filter",`
    + position: absolute;
    + z-index: auto;
    + right: 0;
    + width: 36px;
    + top: 0;
    + bottom: 0;
    + cursor: pointer;
    + display: flex;
    + justify-content: center;
    + align-items: center;
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + font-size: var(--n-filter-size);
    + color: var(--n-th-icon-color);
    + `,[z("&:hover",`
    + background-color: var(--n-th-button-color-hover);
    + `),B("show",`
    + background-color: var(--n-th-button-color-hover);
    + `),B("active",`
    + background-color: var(--n-th-button-color-hover);
    + color: var(--n-th-icon-color-active);
    + `)])]),y("data-table-td",`
    + padding: var(--n-td-padding);
    + text-align: start;
    + box-sizing: border-box;
    + border: none;
    + background-color: var(--n-merged-td-color);
    + color: var(--n-td-text-color);
    + border-bottom: 1px solid var(--n-merged-border-color);
    + transition:
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + border-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + `,[B("expand",[y("data-table-expand-trigger",`
    + margin-right: 0;
    + `)]),B("last-row",`
    + border-bottom: 0 solid var(--n-merged-border-color);
    + `,[z("&::after",`
    + bottom: 0 !important;
    + `),z("&::before",`
    + bottom: 0 !important;
    + `)]),B("summary",`
    + background-color: var(--n-merged-th-color);
    + `),B("hover",`
    + background-color: var(--n-merged-td-color-hover);
    + `),M("ellipsis",`
    + display: inline-block;
    + text-overflow: ellipsis;
    + overflow: hidden;
    + white-space: nowrap;
    + max-width: 100%;
    + vertical-align: bottom;
    + max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px);
    + `),B("selection, expand",`
    + text-align: center;
    + padding: 0;
    + line-height: 0;
    + `),Ad]),y("data-table-empty",`
    + box-sizing: border-box;
    + padding: var(--n-empty-padding);
    + flex-grow: 1;
    + flex-shrink: 0;
    + opacity: 1;
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + transition: opacity .3s var(--n-bezier);
    + `,[B("hide",`
    + opacity: 0;
    + `)]),M("pagination",`
    + margin: var(--n-pagination-margin);
    + display: flex;
    + justify-content: flex-end;
    + `),y("data-table-wrapper",`
    + position: relative;
    + opacity: 1;
    + transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier);
    + border-top-left-radius: var(--n-border-radius);
    + border-top-right-radius: var(--n-border-radius);
    + line-height: var(--n-line-height);
    + `),B("loading",[y("data-table-wrapper",`
    + opacity: var(--n-opacity-loading);
    + pointer-events: none;
    + `)]),B("single-column",[y("data-table-td",`
    + border-bottom: 0 solid var(--n-merged-border-color);
    + `,[z("&::after, &::before",`
    + bottom: 0 !important;
    + `)])]),nt("single-line",[y("data-table-th",`
    + border-right: 1px solid var(--n-merged-border-color);
    + `,[B("last",`
    + border-right: 0 solid var(--n-merged-border-color);
    + `)]),y("data-table-td",`
    + border-right: 1px solid var(--n-merged-border-color);
    + `,[B("last-col",`
    + border-right: 0 solid var(--n-merged-border-color);
    + `)])]),B("bordered",[y("data-table-wrapper",`
    + border: 1px solid var(--n-merged-border-color);
    + border-bottom-left-radius: var(--n-border-radius);
    + border-bottom-right-radius: var(--n-border-radius);
    + overflow: hidden;
    + `)]),y("data-table-base-table",[B("transition-disabled",[y("data-table-th",[z("&::after, &::before","transition: none;")]),y("data-table-td",[z("&::after, &::before","transition: none;")])])]),B("bottom-bordered",[y("data-table-td",[B("last-row",`
    + border-bottom: 1px solid var(--n-merged-border-color);
    + `)])]),y("data-table-table",`
    + font-variant-numeric: tabular-nums;
    + width: 100%;
    + word-break: break-word;
    + transition: background-color .3s var(--n-bezier);
    + border-collapse: separate;
    + border-spacing: 0;
    + background-color: var(--n-merged-td-color);
    + `),y("data-table-base-table-header",`
    + border-top-left-radius: calc(var(--n-border-radius) - 1px);
    + border-top-right-radius: calc(var(--n-border-radius) - 1px);
    + z-index: 3;
    + overflow: scroll;
    + flex-shrink: 0;
    + transition: border-color .3s var(--n-bezier);
    + scrollbar-width: none;
    + `,[z("&::-webkit-scrollbar",`
    + width: 0;
    + height: 0;
    + `)]),y("data-table-check-extra",`
    + transition: color .3s var(--n-bezier);
    + color: var(--n-th-icon-color);
    + position: absolute;
    + font-size: 14px;
    + right: -4px;
    + top: 50%;
    + transform: translateY(-50%);
    + z-index: 1;
    + `)]),y("data-table-filter-menu",[y("scrollbar",`
    + max-height: 240px;
    + `),M("group",`
    + display: flex;
    + flex-direction: column;
    + padding: 12px 12px 0 12px;
    + `,[y("checkbox",`
    + margin-bottom: 12px;
    + margin-right: 0;
    + `),y("radio",`
    + margin-bottom: 12px;
    + margin-right: 0;
    + `)]),M("action",`
    + padding: var(--n-action-padding);
    + display: flex;
    + flex-wrap: nowrap;
    + justify-content: space-evenly;
    + border-top: 1px solid var(--n-action-divider-color);
    + `,[y("button",[z("&:not(:last-child)",`
    + margin: var(--n-action-button-margin);
    + `),z("&:last-child",`
    + margin-right: 0;
    + `)])]),y("divider",`
    + margin: 0 !important;
    + `)]),Kr(y("data-table",`
    + --n-merged-th-color: var(--n-th-color-modal);
    + --n-merged-td-color: var(--n-td-color-modal);
    + --n-merged-border-color: var(--n-border-color-modal);
    + --n-merged-th-color-hover: var(--n-th-color-hover-modal);
    + --n-merged-td-color-hover: var(--n-td-color-hover-modal);
    + --n-merged-td-color-striped: var(--n-td-color-striped-modal);
    + `)),Tn(y("data-table",`
    + --n-merged-th-color: var(--n-th-color-popover);
    + --n-merged-td-color: var(--n-td-color-popover);
    + --n-merged-border-color: var(--n-border-color-popover);
    + --n-merged-th-color-hover: var(--n-th-color-hover-popover);
    + --n-merged-td-color-hover: var(--n-td-color-hover-popover);
    + --n-merged-td-color-striped: var(--n-td-color-striped-popover);
    + `))]);function z3(){return[B("fixed-left",`
    + left: 0;
    + position: sticky;
    + z-index: 2;
    + `,[z("&::after",`
    + pointer-events: none;
    + content: "";
    + width: 36px;
    + display: inline-block;
    + position: absolute;
    + top: 0;
    + bottom: -1px;
    + transition: box-shadow .2s var(--n-bezier);
    + right: -36px;
    + `)]),B("fixed-right",`
    + right: 0;
    + position: sticky;
    + z-index: 1;
    + `,[z("&::before",`
    + pointer-events: none;
    + content: "";
    + width: 36px;
    + display: inline-block;
    + position: absolute;
    + top: 0;
    + bottom: -1px;
    + transition: box-shadow .2s var(--n-bezier);
    + left: -36px;
    + `)])]}const b8=ne({name:"DataTable",alias:["AdvancedTable"],props:w$,setup(e,{slots:t}){const{mergedBorderedRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:i}=He(e),a=Rt("DataTable",i,r),l=T(()=>{const{bottomBordered:F}=e;return o.value?!1:F!==void 0?F:!0}),s=we("DataTable","-data-table",P3,Kf,e,r),d=E(null),u=E(null),{getResizableWidth:h,clearResizableWidth:p,doUpdateResizableWidth:g}=S3(),{rowsRef:f,colsRef:v,dataRelatedColsRef:m,hasEllipsisRef:b}=$3(e,h),C=F=>{const{fileName:G="data.csv",keepOriginalData:de=!1}=F||{},Re=de?e.data:w.value,Ie=H$(e.columns,Re),Fe=new Blob([Ie],{type:"text/csv;charset=utf-8"}),_e=URL.createObjectURL(Fe);Nc(_e,G.endsWith(".csv")?G:`${G}.csv`),URL.revokeObjectURL(_e)},{treeMateRef:R,mergedCurrentPageRef:$,paginatedDataRef:S,rawPaginatedDataRef:w,selectionColumnRef:x,hoverKeyRef:k,mergedPaginationRef:P,mergedFilterStateRef:I,mergedSortStateRef:A,childTriggerColIndexRef:O,doUpdatePage:L,doUpdateFilters:H,onUnstableColumnResize:_,deriveNextSorter:U,filter:N,filters:te,clearFilter:fe,clearFilters:ae,clearSorter:Y,page:j,sort:X}=y3(e,{dataRelatedColsRef:m}),{doCheckAll:re,doUncheckAll:le,doCheck:ge,doUncheck:me,headerCheckboxDisabledRef:Ae,someRowsCheckedRef:q,allRowsCheckedRef:ve,mergedCheckedRowKeySetRef:$e,mergedInderminateRowKeySetRef:Oe}=b3(e,{selectionColumnRef:x,treeMateRef:R,paginatedDataRef:S}),{stickyExpandedRowsRef:Z,mergedExpandedRowKeysRef:ue,renderExpandRef:be,expandableRef:De,doUpdateExpandedRowKeys:ee}=R3(e,R),{handleTableBodyScroll:Ce,handleTableHeaderScroll:Pe,syncScrollState:K,setHeaderScrollLeft:Q,leftActiveFixedColKeyRef:pe,leftActiveFixedChildrenColKeysRef:V,rightActiveFixedColKeyRef:D,rightActiveFixedChildrenColKeysRef:J,leftFixedColumnsRef:Se,rightFixedColumnsRef:Le,fixedColumnLeftMapRef:qe,fixedColumnRightMapRef:it}=w3(e,{bodyWidthRef:d,mainTableInstRef:u,mergedCurrentPageRef:$}),{localeRef:ye}=wo("DataTable"),ze=T(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||b.value?"fixed":e.tableLayout);Ue(co,{props:e,treeMateRef:R,renderExpandIconRef:he(e,"renderExpandIcon"),loadingKeySetRef:E(new Set),slots:t,indentRef:he(e,"indent"),childTriggerColIndexRef:O,bodyWidthRef:d,componentId:Vo(),hoverKeyRef:k,mergedClsPrefixRef:r,mergedThemeRef:s,scrollXRef:T(()=>e.scrollX),rowsRef:f,colsRef:v,paginatedDataRef:S,leftActiveFixedColKeyRef:pe,leftActiveFixedChildrenColKeysRef:V,rightActiveFixedColKeyRef:D,rightActiveFixedChildrenColKeysRef:J,leftFixedColumnsRef:Se,rightFixedColumnsRef:Le,fixedColumnLeftMapRef:qe,fixedColumnRightMapRef:it,mergedCurrentPageRef:$,someRowsCheckedRef:q,allRowsCheckedRef:ve,mergedSortStateRef:A,mergedFilterStateRef:I,loadingRef:he(e,"loading"),rowClassNameRef:he(e,"rowClassName"),mergedCheckedRowKeySetRef:$e,mergedExpandedRowKeysRef:ue,mergedInderminateRowKeySetRef:Oe,localeRef:ye,expandableRef:De,stickyExpandedRowsRef:Z,rowKeyRef:he(e,"rowKey"),renderExpandRef:be,summaryRef:he(e,"summary"),virtualScrollRef:he(e,"virtualScroll"),rowPropsRef:he(e,"rowProps"),stripedRef:he(e,"striped"),checkOptionsRef:T(()=>{const{value:F}=x;return F==null?void 0:F.options}),rawPaginatedDataRef:w,filterMenuCssVarsRef:T(()=>{const{self:{actionDividerColor:F,actionPadding:G,actionButtonMargin:de}}=s.value;return{"--n-action-padding":G,"--n-action-button-margin":de,"--n-action-divider-color":F}}),onLoadRef:he(e,"onLoad"),mergedTableLayoutRef:ze,maxHeightRef:he(e,"maxHeight"),minHeightRef:he(e,"minHeight"),flexHeightRef:he(e,"flexHeight"),headerCheckboxDisabledRef:Ae,paginationBehaviorOnFilterRef:he(e,"paginationBehaviorOnFilter"),summaryPlacementRef:he(e,"summaryPlacement"),scrollbarPropsRef:he(e,"scrollbarProps"),syncScrollState:K,doUpdatePage:L,doUpdateFilters:H,getResizableWidth:h,onUnstableColumnResize:_,clearResizableWidth:p,doUpdateResizableWidth:g,deriveNextSorter:U,doCheck:ge,doUncheck:me,doCheckAll:re,doUncheckAll:le,doUpdateExpandedRowKeys:ee,handleTableHeaderScroll:Pe,handleTableBodyScroll:Ce,setHeaderScrollLeft:Q,renderCell:he(e,"renderCell")});const Ke={filter:N,filters:te,clearFilters:ae,clearSorter:Y,page:j,sort:X,clearFilter:fe,downloadCsv:C,scrollTo:(F,G)=>{var de;(de=u.value)===null||de===void 0||de.scrollTo(F,G)}},Be=T(()=>{const{size:F}=e,{common:{cubicBezierEaseInOut:G},self:{borderColor:de,tdColorHover:Re,thColor:Ie,thColorHover:Fe,tdColor:_e,tdTextColor:je,thTextColor:Ge,thFontWeight:xt,thButtonColorHover:ft,thIconColor:Ct,thIconColorActive:Kt,filterSize:qt,borderRadius:Ro,lineHeight:Po,tdColorModal:uo,thColorModal:fo,borderColorModal:W,thColorHoverModal:ce,tdColorHoverModal:We,borderColorPopover:st,thColorPopover:ct,tdColorPopover:lt,tdColorHoverPopover:Qt,thColorHoverPopover:eo,paginationMargin:to,emptyPadding:zo,boxShadowAfter:To,boxShadowBefore:Jo,sorterSize:Jr,resizableContainerSize:Qr,resizableSize:en,loadingColor:tn,loadingSize:Ho,opacityLoading:jo,tdColorStriped:Ui,tdColorStripedModal:Ki,tdColorStripedPopover:qi,[oe("fontSize",F)]:Gi,[oe("thPadding",F)]:Xi,[oe("tdPadding",F)]:Yi}}=s.value;return{"--n-font-size":Gi,"--n-th-padding":Xi,"--n-td-padding":Yi,"--n-bezier":G,"--n-border-radius":Ro,"--n-line-height":Po,"--n-border-color":de,"--n-border-color-modal":W,"--n-border-color-popover":st,"--n-th-color":Ie,"--n-th-color-hover":Fe,"--n-th-color-modal":fo,"--n-th-color-hover-modal":ce,"--n-th-color-popover":ct,"--n-th-color-hover-popover":eo,"--n-td-color":_e,"--n-td-color-hover":Re,"--n-td-color-modal":uo,"--n-td-color-hover-modal":We,"--n-td-color-popover":lt,"--n-td-color-hover-popover":Qt,"--n-th-text-color":Ge,"--n-td-text-color":je,"--n-th-font-weight":xt,"--n-th-button-color-hover":ft,"--n-th-icon-color":Ct,"--n-th-icon-color-active":Kt,"--n-filter-size":qt,"--n-pagination-margin":to,"--n-empty-padding":zo,"--n-box-shadow-before":Jo,"--n-box-shadow-after":To,"--n-sorter-size":Jr,"--n-resizable-container-size":Qr,"--n-resizable-size":en,"--n-loading-size":Ho,"--n-loading-color":tn,"--n-opacity-loading":jo,"--n-td-color-striped":Ui,"--n-td-color-striped-modal":Ki,"--n-td-color-striped-popover":qi}}),Ve=n?Qe("data-table",T(()=>e.size[0]),Be,e):void 0,at=T(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const F=P.value,{pageCount:G}=F;return G!==void 0?G>1:F.itemCount&&F.pageSize&&F.itemCount>F.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:r,rtlEnabled:a,mergedTheme:s,paginatedData:S,mergedBordered:o,mergedBottomBordered:l,mergedPagination:P,mergedShowPagination:at,cssVars:n?void 0:Be,themeClass:Ve==null?void 0:Ve.themeClass,onRender:Ve==null?void 0:Ve.onRender},Ke)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:o,$slots:r,spinProps:n}=this;return o==null||o(),c("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},c("div",{class:`${e}-data-table-wrapper`},c(g3,{ref:"mainTableInstRef"})),this.mergedShowPagination?c("div",{class:`${e}-data-table__pagination`},c(r$,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,c(kt,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?c("div",{class:`${e}-data-table-loading-wrapper`},Bt(r.loading,()=>[c(Yo,Object.assign({clsPrefix:e,strokeWidth:20},n))])):null}))}}),T3={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},uh=e=>{const{popoverColor:t,textColor2:o,primaryColor:r,hoverColor:n,dividerColor:i,opacityDisabled:a,boxShadow2:l,borderRadius:s,iconColor:d,iconColorDisabled:u}=e;return Object.assign(Object.assign({},T3),{panelColor:t,panelBoxShadow:l,panelDividerColor:i,itemTextColor:o,itemTextColorActive:r,itemColorHover:n,itemOpacityDisabled:a,itemBorderRadius:s,borderRadius:s,iconColor:d,iconColorDisabled:u})},B3={name:"TimePicker",common:xe,peers:{Scrollbar:Et,Button:At,Input:Ht},self:uh},fh=B3,M3={name:"TimePicker",common:ke,peers:{Scrollbar:Dt,Button:jt,Input:Jt},self:uh},hh=M3,O3={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},ph=e=>{const{hoverColor:t,fontSize:o,textColor2:r,textColorDisabled:n,popoverColor:i,primaryColor:a,borderRadiusSmall:l,iconColor:s,iconColorDisabled:d,textColor1:u,dividerColor:h,boxShadow2:p,borderRadius:g,fontWeightStrong:f}=e;return Object.assign(Object.assign({},O3),{itemFontSize:o,calendarDaysFontSize:o,calendarTitleFontSize:o,itemTextColor:r,itemTextColorDisabled:n,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:se(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:l,panelColor:i,panelTextColor:r,arrowColor:s,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:r,panelHeaderDividerColor:h,calendarDaysDividerColor:h,calendarDividerColor:h,panelActionDividerColor:h,panelBoxShadow:p,panelBorderRadius:g,calendarTitleFontWeight:f,scrollItemBorderRadius:g,iconColor:s,iconColorDisabled:d})},I3={name:"DatePicker",common:xe,peers:{Input:Ht,Button:At,TimePicker:fh,Scrollbar:Et},self:ph},F3=I3,E3={name:"DatePicker",common:ke,peers:{Input:Jt,Button:jt,TimePicker:hh,Scrollbar:Dt},self(e){const{popoverColor:t,hoverColor:o,primaryColor:r}=e,n=ph(e);return n.itemColorDisabled=Ee(t,o),n.itemColorIncluded=se(r,{alpha:.15}),n.itemColorHover=Ee(t,o),n}},A3=E3;var m8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function C8(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var o=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),o}const L3={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},vh=e=>{const{tableHeaderColor:t,textColor2:o,textColor1:r,cardColor:n,modalColor:i,popoverColor:a,dividerColor:l,borderRadius:s,fontWeightStrong:d,lineHeight:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g}=e;return Object.assign(Object.assign({},L3),{lineHeight:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,titleTextColor:r,thColor:Ee(n,t),thColorModal:Ee(i,t),thColorPopover:Ee(a,t),thTextColor:r,thFontWeight:d,tdTextColor:o,tdColor:n,tdColorModal:i,tdColorPopover:a,borderColor:Ee(n,l),borderColorModal:Ee(i,l),borderColorPopover:Ee(a,l),borderRadius:s})},_3={name:"Descriptions",common:xe,self:vh},D3=_3,H3={name:"Descriptions",common:ke,self:vh},j3=H3,W3={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},gh=e=>{const{textColor1:t,textColor2:o,modalColor:r,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,infoColor:d,successColor:u,warningColor:h,errorColor:p,primaryColor:g,dividerColor:f,borderRadius:v,fontWeightStrong:m,lineHeight:b,fontSize:C}=e;return Object.assign(Object.assign({},W3),{fontSize:C,lineHeight:b,border:`1px solid ${f}`,titleTextColor:t,textColor:o,color:r,closeColorHover:l,closeColorPressed:s,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:v,iconColor:g,iconColorInfo:d,iconColorSuccess:u,iconColorWarning:h,iconColorError:p,borderRadius:v,titleFontWeight:m})},N3={name:"Dialog",common:xe,peers:{Button:At},self:gh},Dl=N3,V3={name:"Dialog",common:ke,peers:{Button:jt},self:gh},bh=V3,Ni={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},mh=Uo(Ni),U3=z([y("dialog",`
    + --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left);
    + word-break: break-word;
    + line-height: var(--n-line-height);
    + position: relative;
    + background: var(--n-color);
    + color: var(--n-text-color);
    + box-sizing: border-box;
    + margin: auto;
    + border-radius: var(--n-border-radius);
    + padding: var(--n-padding);
    + transition: 
    + border-color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + `,[M("icon",{color:"var(--n-icon-color)"}),B("bordered",{border:"var(--n-border)"}),B("icon-top",[M("close",{margin:"var(--n-close-margin)"}),M("icon",{margin:"var(--n-icon-margin)"}),M("content",{textAlign:"center"}),M("title",{justifyContent:"center"}),M("action",{justifyContent:"center"})]),B("icon-left",[M("icon",{margin:"var(--n-icon-margin)"}),B("closable",[M("title",`
    + padding-right: calc(var(--n-close-size) + 6px);
    + `)])]),M("close",`
    + position: absolute;
    + right: 0;
    + top: 0;
    + margin: var(--n-close-margin);
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + z-index: 1;
    + `),M("content",`
    + font-size: var(--n-font-size);
    + margin: var(--n-content-margin);
    + position: relative;
    + word-break: break-word;
    + `,[B("last","margin-bottom: 0;")]),M("action",`
    + display: flex;
    + justify-content: flex-end;
    + `,[z("> *:not(:last-child)",`
    + margin-right: var(--n-action-space);
    + `)]),M("icon",`
    + font-size: var(--n-icon-size);
    + transition: color .3s var(--n-bezier);
    + `),M("title",`
    + transition: color .3s var(--n-bezier);
    + display: flex;
    + align-items: center;
    + font-size: var(--n-title-font-size);
    + font-weight: var(--n-title-font-weight);
    + color: var(--n-title-text-color);
    + `),y("dialog-icon-container",`
    + display: flex;
    + justify-content: center;
    + `)]),Kr(y("dialog",`
    + width: 446px;
    + max-width: calc(100vw - 32px);
    + `)),y("dialog",[gc(`
    + width: 446px;
    + max-width: calc(100vw - 32px);
    + `)])]),K3={default:()=>c(Rn,null),info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null)},xh=ne({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},we.props),Ni),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=Rt("Dialog",n,o),a=T(()=>{var g,f;const{iconPlacement:v}=e;return v||((f=(g=t==null?void 0:t.value)===null||g===void 0?void 0:g.Dialog)===null||f===void 0?void 0:f.iconPlacement)||"left"});function l(g){const{onPositiveClick:f}=e;f&&f(g)}function s(g){const{onNegativeClick:f}=e;f&&f(g)}function d(){const{onClose:g}=e;g&&g()}const u=we("Dialog","-dialog",U3,Dl,e,o),h=T(()=>{const{type:g}=e,f=a.value,{common:{cubicBezierEaseInOut:v},self:{fontSize:m,lineHeight:b,border:C,titleTextColor:R,textColor:$,color:S,closeBorderRadius:w,closeColorHover:x,closeColorPressed:k,closeIconColor:P,closeIconColorHover:I,closeIconColorPressed:A,closeIconSize:O,borderRadius:L,titleFontWeight:H,titleFontSize:_,padding:U,iconSize:N,actionSpace:te,contentMargin:fe,closeSize:ae,[f==="top"?"iconMarginIconTop":"iconMargin"]:Y,[f==="top"?"closeMarginIconTop":"closeMargin"]:j,[oe("iconColor",g)]:X}}=u.value,re=_t(Y);return{"--n-font-size":m,"--n-icon-color":X,"--n-bezier":v,"--n-close-margin":j,"--n-icon-margin-top":re.top,"--n-icon-margin-right":re.right,"--n-icon-margin-bottom":re.bottom,"--n-icon-margin-left":re.left,"--n-icon-size":N,"--n-close-size":ae,"--n-close-icon-size":O,"--n-close-border-radius":w,"--n-close-color-hover":x,"--n-close-color-pressed":k,"--n-close-icon-color":P,"--n-close-icon-color-hover":I,"--n-close-icon-color-pressed":A,"--n-color":S,"--n-text-color":$,"--n-border-radius":L,"--n-padding":U,"--n-line-height":b,"--n-border":C,"--n-content-margin":fe,"--n-title-font-size":_,"--n-title-font-weight":H,"--n-title-text-color":R,"--n-action-space":te}}),p=r?Qe("dialog",T(()=>`${e.type[0]}${a.value[0]}`),h,e):void 0;return{mergedClsPrefix:o,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:l,handleNegativeClick:s,handleCloseClick:d,cssVars:r?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:o,cssVars:r,closable:n,showIcon:i,title:a,content:l,action:s,negativeText:d,positiveText:u,positiveButtonProps:h,negativeButtonProps:p,handlePositiveClick:g,handleNegativeClick:f,mergedTheme:v,loading:m,type:b,mergedClsPrefix:C}=this;(e=this.onRender)===null||e===void 0||e.call(this);const R=i?c(ot,{clsPrefix:C,class:`${C}-dialog__icon`},{default:()=>Ze(this.$slots.icon,S=>S||(this.icon?pt(this.icon):K3[this.type]()))}):null,$=Ze(this.$slots.action,S=>S||u||d||s?c("div",{class:`${C}-dialog__action`},S||(s?[pt(s)]:[this.negativeText&&c(jr,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,ghost:!0,size:"small",onClick:f},p),{default:()=>pt(this.negativeText)}),this.positiveText&&c(jr,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,size:"small",type:b==="default"?"primary":b,disabled:m,loading:m,onClick:g},h),{default:()=>pt(this.positiveText)})])):null);return c("div",{class:[`${C}-dialog`,this.themeClass,this.closable&&`${C}-dialog--closable`,`${C}-dialog--icon-${o}`,t&&`${C}-dialog--bordered`,this.rtlEnabled&&`${C}-dialog--rtl`],style:r,role:"dialog"},n?Ze(this.$slots.close,S=>{const w=[`${C}-dialog__close`,this.rtlEnabled&&`${C}-dialog--rtl`];return S?c("div",{class:w},S):c(mr,{clsPrefix:C,class:w,onClick:this.handleCloseClick})}):null,i&&o==="top"?c("div",{class:`${C}-dialog-icon-container`},R):null,c("div",{class:`${C}-dialog__title`},i&&o==="left"?R:null,Bt(this.$slots.header,()=>[pt(a)])),c("div",{class:[`${C}-dialog__content`,$?"":`${C}-dialog__content--last`]},Bt(this.$slots.default,()=>[pt(l)])),$)}}),Ch="n-dialog-provider",yh="n-dialog-api",q3="n-dialog-reactive-list",wh=e=>{const{modalColor:t,textColor2:o,boxShadow3:r}=e;return{color:t,textColor:o,boxShadow:r}},G3={name:"Modal",common:xe,peers:{Scrollbar:Et,Dialog:Dl,Card:Tl},self:wh},Sh=G3,X3={name:"Modal",common:ke,peers:{Scrollbar:Dt,Dialog:bh,Card:kf},self:wh},Y3=X3,Hl=Object.assign(Object.assign({},Bl),Ni),Z3=Uo(Hl),J3=ne({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},Hl),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=E(null),o=E(null),r=E(e.show),n=E(null),i=E(null);Je(he(e,"show"),m=>{m&&(r.value=!0)}),jc(T(()=>e.blockScroll&&r.value));const a=Te(kc);function l(){if(a.transformOriginRef.value==="center")return"";const{value:m}=n,{value:b}=i;if(m===null||b===null)return"";if(o.value){const C=o.value.containerScrollTop;return`${m}px ${b+C}px`}return""}function s(m){if(a.transformOriginRef.value==="center")return;const b=a.getMousePosition();if(!b||!o.value)return;const C=o.value.containerScrollTop,{offsetLeft:R,offsetTop:$}=m;if(b){const S=b.y,w=b.x;n.value=-(R-w),i.value=-($-S-C)}m.style.transformOrigin=l()}function d(m){ut(()=>{s(m)})}function u(m){m.style.transformOrigin=l(),e.onBeforeLeave()}function h(){r.value=!1,n.value=null,i.value=null,e.onAfterLeave()}function p(){const{onClose:m}=e;m&&m()}function g(){e.onNegativeClick()}function f(){e.onPositiveClick()}const v=E(null);return Je(v,m=>{m&&ut(()=>{const b=m.el;b&&t.value!==b&&(t.value=b)})}),Ue(Bn,t),Ue(Mn,null),Ue(qr,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:o,displayed:r,childNodeRef:v,handlePositiveClick:f,handleNegativeClick:g,handleCloseClick:p,handleAfterLeave:h,handleBeforeLeave:u,handleEnter:d}},render(){const{$slots:e,$attrs:t,handleEnter:o,handleAfterLeave:r,handleBeforeLeave:n,preset:i,mergedClsPrefix:a}=this;let l=null;if(!i){if(l=Ba(e),!l){yo("modal","default slot is empty");return}l=gn(l),l.props=Ft({class:`${a}-modal`},t,l.props||{})}return this.displayDirective==="show"||this.displayed||this.show?It(c("div",{role:"none",class:`${a}-modal-body-wrapper`},c(so,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var s;return[(s=this.renderMask)===null||s===void 0?void 0:s.call(this),c(dl,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var d;return c(kt,{name:"fade-in-scale-up-transition",appear:(d=this.appear)!==null&&d!==void 0?d:this.isMounted,onEnter:o,onAfterEnter:this.onAfterEnter,onAfterLeave:r,onBeforeLeave:n},{default:()=>{const u=[[ao,this.show]],{onClickoutside:h}=this;return h&&u.push([_r,this.onClickoutside,void 0,{capture:!0}]),It(this.preset==="confirm"||this.preset==="dialog"?c(xh,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Io(this.$props,mh),{"aria-modal":"true"}),e):this.preset==="card"?c(ik,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Io(this.$props,rk),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=l,u)}})}})]}})),[[ao,this.displayDirective==="if"||this.displayed||this.show]]):null}}),Q3=z([y("modal-container",`
    + position: fixed;
    + left: 0;
    + top: 0;
    + height: 0;
    + width: 0;
    + display: flex;
    + `),y("modal-mask",`
    + position: fixed;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + background-color: rgba(0, 0, 0, .4);
    + `,[cr({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),y("modal-body-wrapper",`
    + position: fixed;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + overflow: visible;
    + `,[y("modal-scroll-content",`
    + min-height: 100%;
    + display: flex;
    + position: relative;
    + `)]),y("modal",`
    + position: relative;
    + align-self: center;
    + color: var(--n-text-color);
    + margin: auto;
    + box-shadow: var(--n-box-shadow);
    + `,[Go({duration:".25s",enterScale:".5"})])]),eR=Object.assign(Object.assign(Object.assign(Object.assign({},we.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),Hl),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),tR=ne({name:"Modal",inheritAttrs:!1,props:eR,setup(e){const t=E(null),{mergedClsPrefixRef:o,namespaceRef:r,inlineThemeDisabled:n}=He(e),i=we("Modal","-modal",Q3,Sh,e,o),a=wc(64),l=yc(),s=Ao(),d=e.internalDialog?Te(Ch,null):null,u=e.internalModal?Te(vg,null):null,h=Wc();function p(w){const{onUpdateShow:x,"onUpdate:show":k,onHide:P}=e;x&&ie(x,w),k&&ie(k,w),P&&!w&&P(w)}function g(){const{onClose:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function f(){const{onPositiveClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function v(){const{onNegativeClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function m(){const{onBeforeLeave:w,onBeforeHide:x}=e;w&&ie(w),x&&x()}function b(){const{onAfterLeave:w,onAfterHide:x}=e;w&&ie(w),x&&x()}function C(w){var x;const{onMaskClick:k}=e;k&&k(w),e.maskClosable&&!((x=t.value)===null||x===void 0)&&x.contains(Lr(w))&&p(!1)}function R(w){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&mc(w)&&!h.value&&p(!1)}Ue(kc,{getMousePosition:()=>{const w=d||u;if(w){const{clickedRef:x,clickedPositionRef:k}=w;if(x.value&&k.value)return k.value}return a.value?l.value:null},mergedClsPrefixRef:o,mergedThemeRef:i,isMountedRef:s,appearRef:he(e,"internalAppear"),transformOriginRef:he(e,"transformOrigin")});const $=T(()=>{const{common:{cubicBezierEaseOut:w},self:{boxShadow:x,color:k,textColor:P}}=i.value;return{"--n-bezier-ease-out":w,"--n-box-shadow":x,"--n-color":k,"--n-text-color":P}}),S=n?Qe("theme-class",void 0,$,e):void 0;return{mergedClsPrefix:o,namespace:r,isMounted:s,containerRef:t,presetProps:T(()=>Io(e,Z3)),handleEsc:R,handleAfterLeave:b,handleClickoutside:C,handleBeforeLeave:m,doUpdateShow:p,handleNegativeClick:v,handlePositiveClick:f,handleCloseClick:g,cssVars:n?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return c(zi,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:o}=this;return It(c("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},c(J3,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:o?void 0:this.handleClickoutside,renderMask:o?()=>{var r;return c(kt,{name:"fade-in-transition",key:"mask",appear:(r=this.internalAppear)!==null&&r!==void 0?r:this.isMounted},{default:()=>this.show?c("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[On,{zIndex:this.zIndex,enabled:this.show}]])}})}}),oR=Object.assign(Object.assign({},Ni),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),rR=ne({name:"DialogEnvironment",props:Object.assign(Object.assign({},oR),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=E(!0);function o(){const{onInternalAfterLeave:u,internalKey:h,onAfterLeave:p}=e;u&&u(h),p&&p()}function r(u){const{onPositiveClick:h}=e;h?Promise.resolve(h(u)).then(p=>{p!==!1&&s()}):s()}function n(u){const{onNegativeClick:h}=e;h?Promise.resolve(h(u)).then(p=>{p!==!1&&s()}):s()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(h=>{h!==!1&&s()}):s()}function a(u){const{onMaskClick:h,maskClosable:p}=e;h&&(h(u),p&&s())}function l(){const{onEsc:u}=e;u&&u()}function s(){t.value=!1}function d(u){t.value=u}return{show:t,hide:s,handleUpdateShow:d,handleAfterLeave:o,handleCloseClick:i,handleNegativeClick:n,handlePositiveClick:r,handleMaskClick:a,handleEsc:l}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:o,handleCloseClick:r,handleAfterLeave:n,handleMaskClick:i,handleEsc:a,to:l,maskClosable:s,show:d}=this;return c(tR,{show:d,onUpdateShow:t,onMaskClick:i,onEsc:a,to:l,maskClosable:s,onAfterEnter:this.onAfterEnter,onAfterLeave:n,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>c(xh,Object.assign({},Io(this.$props,mh),{style:this.internalStyle,onClose:r,onNegativeClick:o,onPositiveClick:e}))})}}),nR={injectionKey:String,to:[String,Object]},y8=ne({name:"DialogProvider",props:nR,setup(){const e=E([]),t={};function o(l={}){const s=Vo(),d=Ci(Object.assign(Object.assign({},l),{key:s,destroy:()=>{t[`n-dialog-${s}`].hide()}}));return e.value.push(d),d}const r=["info","success","warning","error"].map(l=>s=>o(Object.assign(Object.assign({},s),{type:l})));function n(l){const{value:s}=e;s.splice(s.findIndex(d=>d.key===l),1)}function i(){Object.values(t).forEach(l=>{l.hide()})}const a={create:o,destroyAll:i,info:r[0],success:r[1],warning:r[2],error:r[3]};return Ue(yh,a),Ue(Ch,{clickedRef:wc(64),clickedPositionRef:yc()}),Ue(q3,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:n})},render(){var e,t;return c(yt,null,[this.dialogList.map(o=>c(rR,fr(o,["destroy","style"],{internalStyle:o.style,to:this.to,ref:r=>{r===null?delete this.dialogInstRefs[`n-dialog-${o.key}`]:this.dialogInstRefs[`n-dialog-${o.key}`]=r},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function w8(){const e=Te(yh,null);return e===null&&hr("use-dialog","No outer  founded."),e}const kh=e=>{const{textColor1:t,dividerColor:o,fontWeightStrong:r}=e;return{textColor:t,color:o,fontWeight:r}},iR={name:"Divider",common:xe,self:kh},aR=iR,lR={name:"Divider",common:ke,self:kh},sR=lR,$h=e=>{const{modalColor:t,textColor1:o,textColor2:r,boxShadow3:n,lineHeight:i,fontWeightStrong:a,dividerColor:l,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,borderRadius:g,primaryColorHover:f}=e;return{bodyPadding:"16px 24px",borderRadius:g,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:r,titleTextColor:o,titleFontSize:"18px",titleFontWeight:a,boxShadow:n,lineHeight:i,headerBorderBottom:`1px solid ${l}`,footerBorderTop:`1px solid ${l}`,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,closeSize:"22px",closeIconSize:"18px",closeColorHover:s,closeColorPressed:d,closeBorderRadius:g,resizableTriggerColorHover:f}},dR={name:"Drawer",common:xe,peers:{Scrollbar:Et},self:$h},Rh=dR,cR={name:"Drawer",common:ke,peers:{Scrollbar:Dt},self:$h},uR=cR,fR=ne({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=E(!!e.show),o=E(null),r=Te(ll);let n=0,i="",a=null;const l=E(!1),s=E(!1),d=T(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:h}=He(e),p=Rt("Drawer",h,u),g=P=>{s.value=!0,n=d.value?P.clientY:P.clientX,i=document.body.style.cursor,document.body.style.cursor=d.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",$),document.body.addEventListener("mouseleave",w),document.body.addEventListener("mouseup",S)},f=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value?l.value=!0:a=window.setTimeout(()=>{l.value=!0},300)},v=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value=!1},{doUpdateHeight:m,doUpdateWidth:b}=r,C=P=>{const{maxWidth:I}=e;if(I&&P>I)return I;const{minWidth:A}=e;return A&&P{const{maxHeight:I}=e;if(I&&P>I)return I;const{minHeight:A}=e;return A&&P{var I,A;if(s.value)if(d.value){let O=((I=o.value)===null||I===void 0?void 0:I.offsetHeight)||0;const L=n-P.clientY;O+=e.placement==="bottom"?L:-L,O=R(O),m(O),n=P.clientY}else{let O=((A=o.value)===null||A===void 0?void 0:A.offsetWidth)||0;const L=n-P.clientX;O+=e.placement==="right"?L:-L,O=C(O),b(O),n=P.clientX}},S=()=>{s.value&&(n=0,s.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",$),document.body.removeEventListener("mouseup",S),document.body.removeEventListener("mouseleave",w))},w=S;vt(()=>{e.show&&(t.value=!0)}),Je(()=>e.show,P=>{P||S()}),dt(()=>{S()});const x=T(()=>{const{show:P}=e,I=[[ao,P]];return e.showMask||I.push([_r,e.onClickoutside,void 0,{capture:!0}]),I});function k(){var P;t.value=!1,(P=e.onAfterLeave)===null||P===void 0||P.call(e)}return jc(T(()=>e.blockScroll&&t.value)),Ue(Mn,o),Ue(qr,null),Ue(Bn,null),{bodyRef:o,rtlEnabled:p,mergedClsPrefix:r.mergedClsPrefixRef,isMounted:r.isMountedRef,mergedTheme:r.mergedThemeRef,displayed:t,transitionName:T(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:k,bodyDirectives:x,handleMousedownResizeTrigger:g,handleMouseenterResizeTrigger:f,handleMouseleaveResizeTrigger:v,isDragging:s,isHoverOnResizeTrigger:l}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?It(c("div",{role:"none"},c(dl,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>c(kt,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>It(c("div",Ft(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?c("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?c("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):c(so,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[ao,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:hR,cubicBezierEaseOut:pR}=Ut;function vR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-right"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${hR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${pR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateX(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateX(100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateX(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:gR,cubicBezierEaseOut:bR}=Ut;function mR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-left"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${gR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${bR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateX(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateX(-100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateX(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:xR,cubicBezierEaseOut:CR}=Ut;function yR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-top"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${xR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${CR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateY(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateY(-100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateY(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:wR,cubicBezierEaseOut:SR}=Ut;function kR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-bottom"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${wR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${SR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateY(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateY(100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateY(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateY(100%)"})]}const $R=z([y("drawer",`
    + word-break: break-word;
    + line-height: var(--n-line-height);
    + position: absolute;
    + pointer-events: all;
    + box-shadow: var(--n-box-shadow);
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + background-color: var(--n-color);
    + color: var(--n-text-color);
    + box-sizing: border-box;
    + `,[vR(),mR(),yR(),kR(),B("unselectable",`
    + user-select: none; 
    + -webkit-user-select: none;
    + `),B("native-scrollbar",[y("drawer-content-wrapper",`
    + overflow: auto;
    + height: 100%;
    + `)]),M("resize-trigger",`
    + position: absolute;
    + background-color: #0000;
    + transition: background-color .3s var(--n-bezier);
    + `,[B("hover",`
    + background-color: var(--n-resize-trigger-color-hover);
    + `)]),y("drawer-content-wrapper",`
    + box-sizing: border-box;
    + `),y("drawer-content",`
    + height: 100%;
    + display: flex;
    + flex-direction: column;
    + `,[B("native-scrollbar",[y("drawer-body-content-wrapper",`
    + height: 100%;
    + overflow: auto;
    + `)]),y("drawer-body",`
    + flex: 1 0 0;
    + overflow: hidden;
    + `),y("drawer-body-content-wrapper",`
    + box-sizing: border-box;
    + padding: var(--n-body-padding);
    + `),y("drawer-header",`
    + font-weight: var(--n-title-font-weight);
    + line-height: 1;
    + font-size: var(--n-title-font-size);
    + color: var(--n-title-text-color);
    + padding: var(--n-header-padding);
    + transition: border .3s var(--n-bezier);
    + border-bottom: 1px solid var(--n-divider-color);
    + border-bottom: var(--n-header-border-bottom);
    + display: flex;
    + justify-content: space-between;
    + align-items: center;
    + `,[M("close",`
    + margin-left: 6px;
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + `)]),y("drawer-footer",`
    + display: flex;
    + justify-content: flex-end;
    + border-top: var(--n-footer-border-top);
    + transition: border .3s var(--n-bezier);
    + padding: var(--n-footer-padding);
    + `)]),B("right-placement",`
    + top: 0;
    + bottom: 0;
    + right: 0;
    + border-top-left-radius: var(--n-border-radius);
    + border-bottom-left-radius: var(--n-border-radius);
    + `,[M("resize-trigger",`
    + width: 3px;
    + height: 100%;
    + top: 0;
    + left: 0;
    + transform: translateX(-1.5px);
    + cursor: ew-resize;
    + `)]),B("left-placement",`
    + top: 0;
    + bottom: 0;
    + left: 0;
    + border-top-right-radius: var(--n-border-radius);
    + border-bottom-right-radius: var(--n-border-radius);
    + `,[M("resize-trigger",`
    + width: 3px;
    + height: 100%;
    + top: 0;
    + right: 0;
    + transform: translateX(1.5px);
    + cursor: ew-resize;
    + `)]),B("top-placement",`
    + top: 0;
    + left: 0;
    + right: 0;
    + border-bottom-left-radius: var(--n-border-radius);
    + border-bottom-right-radius: var(--n-border-radius);
    + `,[M("resize-trigger",`
    + width: 100%;
    + height: 3px;
    + bottom: 0;
    + left: 0;
    + transform: translateY(1.5px);
    + cursor: ns-resize;
    + `)]),B("bottom-placement",`
    + left: 0;
    + bottom: 0;
    + right: 0;
    + border-top-left-radius: var(--n-border-radius);
    + border-top-right-radius: var(--n-border-radius);
    + `,[M("resize-trigger",`
    + width: 100%;
    + height: 3px;
    + top: 0;
    + left: 0;
    + transform: translateY(-1.5px);
    + cursor: ns-resize;
    + `)])]),z("body",[z(">",[y("drawer-container",`
    + position: fixed;
    + `)])]),y("drawer-container",`
    + position: relative;
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + pointer-events: none;
    + `,[z("> *",`
    + pointer-events: all;
    + `)]),y("drawer-mask",`
    + background-color: rgba(0, 0, 0, .3);
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + `,[B("invisible",`
    + background-color: rgba(0, 0, 0, 0)
    + `),cr({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),RR=Object.assign(Object.assign({},we.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),S8=ne({name:"Drawer",inheritAttrs:!1,props:RR,setup(e){const{mergedClsPrefixRef:t,namespaceRef:o,inlineThemeDisabled:r}=He(e),n=Ao(),i=we("Drawer","-drawer",$R,Rh,e,t),a=E(e.defaultWidth),l=E(e.defaultHeight),s=$t(he(e,"width"),a),d=$t(he(e,"height"),l),u=T(()=>{const{placement:w}=e;return w==="top"||w==="bottom"?"":mt(s.value)}),h=T(()=>{const{placement:w}=e;return w==="left"||w==="right"?"":mt(d.value)}),p=w=>{const{onUpdateWidth:x,"onUpdate:width":k}=e;x&&ie(x,w),k&&ie(k,w),a.value=w},g=w=>{const{onUpdateHeight:x,"onUpdate:width":k}=e;x&&ie(x,w),k&&ie(k,w),l.value=w},f=T(()=>[{width:u.value,height:h.value},e.drawerStyle||""]);function v(w){const{onMaskClick:x,maskClosable:k}=e;k&&R(!1),x&&x(w)}function m(w){v(w)}const b=Wc();function C(w){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&mc(w)&&!b.value&&R(!1)}function R(w){const{onHide:x,onUpdateShow:k,"onUpdate:show":P}=e;k&&ie(k,w),P&&ie(P,w),x&&!w&&ie(x,w)}Ue(ll,{isMountedRef:n,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:R,doUpdateHeight:g,doUpdateWidth:p});const $=T(()=>{const{common:{cubicBezierEaseInOut:w,cubicBezierEaseIn:x,cubicBezierEaseOut:k},self:{color:P,textColor:I,boxShadow:A,lineHeight:O,headerPadding:L,footerPadding:H,borderRadius:_,bodyPadding:U,titleFontSize:N,titleTextColor:te,titleFontWeight:fe,headerBorderBottom:ae,footerBorderTop:Y,closeIconColor:j,closeIconColorHover:X,closeIconColorPressed:re,closeColorHover:le,closeColorPressed:ge,closeIconSize:me,closeSize:Ae,closeBorderRadius:q,resizableTriggerColorHover:ve}}=i.value;return{"--n-line-height":O,"--n-color":P,"--n-border-radius":_,"--n-text-color":I,"--n-box-shadow":A,"--n-bezier":w,"--n-bezier-out":k,"--n-bezier-in":x,"--n-header-padding":L,"--n-body-padding":U,"--n-footer-padding":H,"--n-title-text-color":te,"--n-title-font-size":N,"--n-title-font-weight":fe,"--n-header-border-bottom":ae,"--n-footer-border-top":Y,"--n-close-icon-color":j,"--n-close-icon-color-hover":X,"--n-close-icon-color-pressed":re,"--n-close-size":Ae,"--n-close-color-hover":le,"--n-close-color-pressed":ge,"--n-close-icon-size":me,"--n-close-border-radius":q,"--n-resize-trigger-color-hover":ve}}),S=r?Qe("drawer",void 0,$,e):void 0;return{mergedClsPrefix:t,namespace:o,mergedBodyStyle:f,handleOutsideClick:m,handleMaskClick:v,handleEsc:C,mergedTheme:i,cssVars:r?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender,isMounted:n}},render(){const{mergedClsPrefix:e}=this;return c(zi,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),It(c("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?c(kt,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?c("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,c(fR,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[On,{zIndex:this.zIndex,enabled:this.show}]])}})}}),PR={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},k8=ne({name:"DrawerContent",props:PR,setup(){const e=Te(ll,null);e||hr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function o(){t(!1)}return{handleCloseClick:o,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:o,mergedTheme:r,bodyClass:n,bodyStyle:i,bodyContentClass:a,bodyContentStyle:l,headerClass:s,headerStyle:d,footerClass:u,footerStyle:h,scrollbarProps:p,closable:g,$slots:f}=this;return c("div",{role:"none",class:[`${t}-drawer-content`,o&&`${t}-drawer-content--native-scrollbar`]},f.header||e||g?c("div",{class:[`${t}-drawer-header`,s],style:d,role:"none"},c("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},f.header!==void 0?f.header():e),g&&c(mr,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,o?c("div",{class:[`${t}-drawer-body`,n],style:i,role:"none"},c("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:l,role:"none"},f)):c(so,Object.assign({themeOverrides:r.peerOverrides.Scrollbar,theme:r.peers.Scrollbar},p,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:l}),f),f.footer?c("div",{class:[`${t}-drawer-footer`,u],style:h,role:"none"},f.footer()):null)}}),Ph={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},zR={name:"DynamicInput",common:ke,peers:{Input:Jt,Button:jt},self(){return Ph}},TR=zR,BR=()=>Ph,MR={name:"DynamicInput",common:xe,peers:{Input:Ht,Button:At},self:BR},OR=MR,zh={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},IR={name:"Space",self(){return zh}},Th=IR,FR=()=>zh,ER={name:"Space",self:FR},jl=ER;let Sa;const AR=()=>{if(!Eo)return!0;if(Sa===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),Sa=t}return Sa},LR=Object.assign(Object.assign({},we.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),$8=ne({name:"Space",props:LR,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=we("Space","-space",void 0,jl,e,t),n=Rt("Space",o,t);return{useGap:AR(),rtlEnabled:n,mergedClsPrefix:t,margin:T(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[oe("gap",i)]:a}}=r.value,{row:l,col:s}=vv(a);return{horizontal:Tt(s),vertical:Tt(l)}})}},render(){const{vertical:e,reverse:t,align:o,inline:r,justify:n,itemClass:i,itemStyle:a,margin:l,wrap:s,mergedClsPrefix:d,rtlEnabled:u,useGap:h,wrapItem:p,internalUseGap:g}=this,f=Oo(il(this),!1);if(!f.length)return null;const v=`${l.horizontal}px`,m=`${l.horizontal/2}px`,b=`${l.vertical}px`,C=`${l.vertical/2}px`,R=f.length-1,$=n.startsWith("space-");return c("div",{role:"none",class:[`${d}-space`,u&&`${d}-space--rtl`],style:{display:r?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(n)?"flex-"+n:n,flexWrap:!s||e?"nowrap":"wrap",marginTop:h||e?"":`-${C}`,marginBottom:h||e?"":`-${C}`,alignItems:o,gap:h?`${l.vertical}px ${l.horizontal}px`:""}},!p&&(h||g)?f:f.map((S,w)=>S.type===xi?S:c("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},h?"":e?{marginBottom:w!==R?b:""}:u?{marginLeft:$?n==="space-between"&&w===R?"":m:w!==R?v:"",marginRight:$?n==="space-between"&&w===0?"":m:"",paddingTop:C,paddingBottom:C}:{marginRight:$?n==="space-between"&&w===R?"":m:w!==R?v:"",marginLeft:$?n==="space-between"&&w===0?"":m:"",paddingTop:C,paddingBottom:C}]},S)))}}),_R={name:"DynamicTags",common:ke,peers:{Input:Jt,Button:jt,Tag:Zu,Space:Th},self(){return{inputWidth:"64px"}}},DR=_R,HR={name:"DynamicTags",common:xe,peers:{Input:Ht,Button:At,Tag:Rl,Space:jl},self(){return{inputWidth:"64px"}}},jR=HR,WR={name:"Element",common:ke},NR=WR,VR={name:"Element",common:xe},UR=VR,Bh={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},KR={name:"Flex",self(){return Bh}},qR=KR,GR=()=>Bh,XR={name:"Flex",self:GR},YR=XR,ZR={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},Mh=e=>{const{heightSmall:t,heightMedium:o,heightLarge:r,textColor1:n,errorColor:i,warningColor:a,lineHeight:l,textColor3:s}=e;return Object.assign(Object.assign({},ZR),{blankHeightSmall:t,blankHeightMedium:o,blankHeightLarge:r,lineHeight:l,labelTextColor:n,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:s})},JR={name:"Form",common:xe,self:Mh},Wl=JR,QR={name:"Form",common:ke,self:Mh},eP=QR,tP=y("form",[B("inline",`
    + width: 100%;
    + display: inline-flex;
    + align-items: flex-start;
    + align-content: space-around;
    + `,[y("form-item",{width:"auto",marginRight:"18px"},[z("&:last-child",{marginRight:0})])])]),Ln="n-form",Oh="n-form-item-insts";var oP=globalThis&&globalThis.__awaiter||function(e,t,o,r){function n(i){return i instanceof o?i:new o(function(a){a(i)})}return new(o||(o=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(h){a(h)}}function s(u){try{d(r.throw(u))}catch(h){a(h)}}function d(u){u.done?i(u.value):n(u.value).then(l,s)}d((r=r.apply(e,t||[])).next())})};const rP=Object.assign(Object.assign({},we.props),{inline:Boolean,labelWidth:[Number,String],labelAlign:String,labelPlacement:{type:String,default:"top"},model:{type:Object,default:()=>{}},rules:Object,disabled:Boolean,size:String,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:!0},onSubmit:{type:Function,default:e=>{e.preventDefault()}},showLabel:{type:Boolean,default:void 0},validateMessages:Object}),R8=ne({name:"Form",props:rP,setup(e){const{mergedClsPrefixRef:t}=He(e);we("Form","-form",tP,Wl,e,t);const o={},r=E(void 0),n=s=>{const d=r.value;(d===void 0||s>=d)&&(r.value=s)};function i(s,d=()=>!0){return oP(this,void 0,void 0,function*(){return yield new Promise((u,h)=>{const p=[];for(const g of Uo(o)){const f=o[g];for(const v of f)v.path&&p.push(v.internalValidate(null,d))}Promise.all(p).then(g=>{const f=g.some(b=>!b.valid),v=[],m=[];g.forEach(b=>{var C,R;!((C=b.errors)===null||C===void 0)&&C.length&&v.push(b.errors),!((R=b.warnings)===null||R===void 0)&&R.length&&m.push(b.warnings)}),s&&s(v.length?v:void 0,{warnings:m.length?m:void 0}),f?h(v.length?v:void 0):u({warnings:m.length?m:void 0})})})})}function a(){for(const s of Uo(o)){const d=o[s];for(const u of d)u.restoreValidation()}}return Ue(Ln,{props:e,maxChildLabelWidthRef:r,deriveMaxChildLabelWidth:n}),Ue(Oh,{formItems:o}),Object.assign({validate:i,restoreValidation:a},{mergedClsPrefix:t})},render(){const{mergedClsPrefix:e}=this;return c("form",{class:[`${e}-form`,this.inline&&`${e}-form--inline`],onSubmit:this.onSubmit},this.$slots)}});function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ii(e,t,o){return iP()?ii=Reflect.construct.bind():ii=function(n,i,a){var l=[null];l.push.apply(l,i);var s=Function.bind.apply(n,l),d=new s;return a&&Pn(d,a.prototype),d},ii.apply(null,arguments)}function aP(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Qa(e){var t=typeof Map=="function"?new Map:void 0;return Qa=function(r){if(r===null||!aP(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return ii(r,arguments,Ja(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Pn(n,r)},Qa(e)}var lP=/%[sdj%]/g,sP=function(){};typeof process<"u"&&process.env;function el(e){if(!e||!e.length)return null;var t={};return e.forEach(function(o){var r=o.field;t[r]=t[r]||[],t[r].push(o)}),t}function Nt(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r=i)return l;switch(l){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch{return"[Circular]"}break;default:return l}});return a}return e}function dP(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function zt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||dP(t)&&typeof e=="string"&&!e)}function cP(e,t,o){var r=[],n=0,i=e.length;function a(l){r.push.apply(r,l||[]),n++,n===i&&o(r)}e.forEach(function(l){t(l,a)})}function Ld(e,t,o){var r=0,n=e.length;function i(a){if(a&&a.length){o(a);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},dn={integer:function(t){return dn.number(t)&&parseInt(t,10)===t},float:function(t){return dn.number(t)&&!dn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!dn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(jd.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(gP())},hex:function(t){return typeof t=="string"&&!!t.match(jd.hex)}},bP=function(t,o,r,n,i){if(t.required&&o===void 0){Ih(t,o,r,n,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?dn[l](o)||n.push(Nt(i.messages.types[l],t.fullField,t.type)):l&&typeof o!==t.type&&n.push(Nt(i.messages.types[l],t.fullField,t.type))},mP=function(t,o,r,n,i){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=o,h=null,p=typeof o=="number",g=typeof o=="string",f=Array.isArray(o);if(p?h="number":g?h="string":f&&(h="array"),!h)return!1;f&&(u=o.length),g&&(u=o.replace(d,"_").length),a?u!==t.len&&n.push(Nt(i.messages[h].len,t.fullField,t.len)):l&&!s&&ut.max?n.push(Nt(i.messages[h].max,t.fullField,t.max)):l&&s&&(ut.max)&&n.push(Nt(i.messages[h].range,t.fullField,t.min,t.max))},Tr="enum",xP=function(t,o,r,n,i){t[Tr]=Array.isArray(t[Tr])?t[Tr]:[],t[Tr].indexOf(o)===-1&&n.push(Nt(i.messages[Tr],t.fullField,t[Tr].join(", ")))},CP=function(t,o,r,n,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(o)||n.push(Nt(i.messages.pattern.mismatch,t.fullField,o,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(o)||n.push(Nt(i.messages.pattern.mismatch,t.fullField,o,t.pattern))}}},et={required:Ih,whitespace:vP,type:bP,range:mP,enum:xP,pattern:CP},yP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"string")&&!t.required)return r();et.required(t,o,n,a,i,"string"),zt(o,"string")||(et.type(t,o,n,a,i),et.range(t,o,n,a,i),et.pattern(t,o,n,a,i),t.whitespace===!0&&et.whitespace(t,o,n,a,i))}r(a)},wP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},SP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(o===""&&(o=void 0),zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},kP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},$P=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),zt(o)||et.type(t,o,n,a,i)}r(a)},RP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},PP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},zP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(o==null&&!t.required)return r();et.required(t,o,n,a,i,"array"),o!=null&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},TP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},BP="enum",MP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et[BP](t,o,n,a,i)}r(a)},OP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"string")&&!t.required)return r();et.required(t,o,n,a,i),zt(o,"string")||et.pattern(t,o,n,a,i)}r(a)},IP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"date")&&!t.required)return r();if(et.required(t,o,n,a,i),!zt(o,"date")){var s;o instanceof Date?s=o:s=new Date(o),et.type(t,s,n,a,i),s&&et.range(t,s.getTime(),n,a,i)}}r(a)},FP=function(t,o,r,n,i){var a=[],l=Array.isArray(o)?"array":typeof o;et.required(t,o,n,a,i,l),r(a)},ka=function(t,o,r,n,i){var a=t.type,l=[],s=t.required||!t.required&&n.hasOwnProperty(t.field);if(s){if(zt(o,a)&&!t.required)return r();et.required(t,o,n,l,i,a),zt(o,a)||et.type(t,o,n,l,i)}r(l)},EP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i)}r(a)},vn={string:yP,method:wP,number:SP,boolean:kP,regexp:$P,integer:RP,float:PP,array:zP,object:TP,enum:MP,pattern:OP,date:IP,url:ka,hex:ka,email:ka,required:FP,any:EP};function tl(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ol=tl(),Wr=function(){function e(o){this.rules=null,this._messages=ol,this.define(o)}var t=e.prototype;return t.define=function(r){var n=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var a=r[i];n.rules[i]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=Hd(tl(),r)),this._messages},t.validate=function(r,n,i){var a=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=r,s=n,d=i;if(typeof s=="function"&&(d=s,s={}),!this.rules||Object.keys(this.rules).length===0)return d&&d(null,l),Promise.resolve(l);function u(v){var m=[],b={};function C($){if(Array.isArray($)){var S;m=(S=m).concat.apply(S,$)}else m.push($)}for(var R=0;Re.size!==void 0?e.size:(t==null?void 0:t.props.size)!==void 0?t.props.size:"medium")}}function LP(e){const t=Te(Ln,null),o=T(()=>{const{labelPlacement:f}=e;return f!==void 0?f:t!=null&&t.props.labelPlacement?t.props.labelPlacement:"top"}),r=T(()=>o.value==="left"&&(e.labelWidth==="auto"||(t==null?void 0:t.props.labelWidth)==="auto")),n=T(()=>{if(o.value==="top")return;const{labelWidth:f}=e;if(f!==void 0&&f!=="auto")return mt(f);if(r.value){const v=t==null?void 0:t.maxChildLabelWidthRef.value;return v!==void 0?mt(v):void 0}if((t==null?void 0:t.props.labelWidth)!==void 0)return mt(t.props.labelWidth)}),i=T(()=>{const{labelAlign:f}=e;if(f)return f;if(t!=null&&t.props.labelAlign)return t.props.labelAlign}),a=T(()=>{var f;return[(f=e.labelProps)===null||f===void 0?void 0:f.style,e.labelStyle,{width:n.value}]}),l=T(()=>{const{showRequireMark:f}=e;return f!==void 0?f:t==null?void 0:t.props.showRequireMark}),s=T(()=>{const{requireMarkPlacement:f}=e;return f!==void 0?f:(t==null?void 0:t.props.requireMarkPlacement)||"right"}),d=E(!1),u=E(!1),h=T(()=>{const{validationStatus:f}=e;if(f!==void 0)return f;if(d.value)return"error";if(u.value)return"warning"}),p=T(()=>{const{showFeedback:f}=e;return f!==void 0?f:(t==null?void 0:t.props.showFeedback)!==void 0?t.props.showFeedback:!0}),g=T(()=>{const{showLabel:f}=e;return f!==void 0?f:(t==null?void 0:t.props.showLabel)!==void 0?t.props.showLabel:!0});return{validationErrored:d,validationWarned:u,mergedLabelStyle:a,mergedLabelPlacement:o,mergedLabelAlign:i,mergedShowRequireMark:l,mergedRequireMarkPlacement:s,mergedValidationStatus:h,mergedShowFeedback:p,mergedShowLabel:g,isAutoLabelWidth:r}}function _P(e){const t=Te(Ln,null),o=T(()=>{const{rulePath:a}=e;if(a!==void 0)return a;const{path:l}=e;if(l!==void 0)return l}),r=T(()=>{const a=[],{rule:l}=e;if(l!==void 0&&(Array.isArray(l)?a.push(...l):a.push(l)),t){const{rules:s}=t.props,{value:d}=o;if(s!==void 0&&d!==void 0){const u=kn(s,d);u!==void 0&&(Array.isArray(u)?a.push(...u):a.push(u))}}return a}),n=T(()=>r.value.some(a=>a.required)),i=T(()=>n.value||e.required);return{mergedRules:r,mergedRequired:i}}const{cubicBezierEaseInOut:Wd}=Ut;function DP({name:e="fade-down",fromOffset:t="-4px",enterDuration:o=".3s",leaveDuration:r=".3s",enterCubicBezier:n=Wd,leaveCubicBezier:i=Wd}={}){return[z(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0,transform:`translateY(${t})`}),z(`&.${e}-transition-enter-to, &.${e}-transition-leave-from`,{opacity:1,transform:"translateY(0)"}),z(`&.${e}-transition-leave-active`,{transition:`opacity ${r} ${i}, transform ${r} ${i}`}),z(`&.${e}-transition-enter-active`,{transition:`opacity ${o} ${n}, transform ${o} ${n}`})]}const HP=y("form-item",`
    + display: grid;
    + line-height: var(--n-line-height);
    +`,[y("form-item-label",`
    + grid-area: label;
    + align-items: center;
    + line-height: 1.25;
    + text-align: var(--n-label-text-align);
    + font-size: var(--n-label-font-size);
    + min-height: var(--n-label-height);
    + padding: var(--n-label-padding);
    + color: var(--n-label-text-color);
    + transition: color .3s var(--n-bezier);
    + box-sizing: border-box;
    + font-weight: var(--n-label-font-weight);
    + `,[M("asterisk",`
    + white-space: nowrap;
    + user-select: none;
    + -webkit-user-select: none;
    + color: var(--n-asterisk-color);
    + transition: color .3s var(--n-bezier);
    + `),M("asterisk-placeholder",`
    + grid-area: mark;
    + user-select: none;
    + -webkit-user-select: none;
    + visibility: hidden; 
    + `)]),y("form-item-blank",`
    + grid-area: blank;
    + min-height: var(--n-blank-height);
    + `),B("auto-label-width",[y("form-item-label","white-space: nowrap;")]),B("left-labelled",`
    + grid-template-areas:
    + "label blank"
    + "label feedback";
    + grid-template-columns: auto minmax(0, 1fr);
    + grid-template-rows: auto 1fr;
    + align-items: flex-start;
    + `,[y("form-item-label",`
    + display: grid;
    + grid-template-columns: 1fr auto;
    + min-height: var(--n-blank-height);
    + height: auto;
    + box-sizing: border-box;
    + flex-shrink: 0;
    + flex-grow: 0;
    + `,[B("reverse-columns-space",`
    + grid-template-columns: auto 1fr;
    + `),B("left-mark",`
    + grid-template-areas:
    + "mark text"
    + ". text";
    + `),B("right-mark",`
    + grid-template-areas: 
    + "text mark"
    + "text .";
    + `),B("right-hanging-mark",`
    + grid-template-areas: 
    + "text mark"
    + "text .";
    + `),M("text",`
    + grid-area: text; 
    + `),M("asterisk",`
    + grid-area: mark; 
    + align-self: end;
    + `)])]),B("top-labelled",`
    + grid-template-areas:
    + "label"
    + "blank"
    + "feedback";
    + grid-template-rows: minmax(var(--n-label-height), auto) 1fr;
    + grid-template-columns: minmax(0, 100%);
    + `,[B("no-label",`
    + grid-template-areas:
    + "blank"
    + "feedback";
    + grid-template-rows: 1fr;
    + `),y("form-item-label",`
    + display: flex;
    + align-items: flex-start;
    + justify-content: var(--n-label-text-align);
    + `)]),y("form-item-blank",`
    + box-sizing: border-box;
    + display: flex;
    + align-items: center;
    + position: relative;
    + `),y("form-item-feedback-wrapper",`
    + grid-area: feedback;
    + box-sizing: border-box;
    + min-height: var(--n-feedback-height);
    + font-size: var(--n-feedback-font-size);
    + line-height: 1.25;
    + transform-origin: top left;
    + `,[z("&:not(:empty)",`
    + padding: var(--n-feedback-padding);
    + `),y("form-item-feedback",{transition:"color .3s var(--n-bezier)",color:"var(--n-feedback-text-color)"},[B("warning",{color:"var(--n-feedback-text-color-warning)"}),B("error",{color:"var(--n-feedback-text-color-error)"}),DP({fromOffset:"-3px",enterDuration:".3s",leaveDuration:".2s"})])])]);var Nd=globalThis&&globalThis.__awaiter||function(e,t,o,r){function n(i){return i instanceof o?i:new o(function(a){a(i)})}return new(o||(o=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(h){a(h)}}function s(u){try{d(r.throw(u))}catch(h){a(h)}}function d(u){u.done?i(u.value):n(u.value).then(l,s)}d((r=r.apply(e,t||[])).next())})};const jP=Object.assign(Object.assign({},we.props),{label:String,labelWidth:[Number,String],labelStyle:[String,Object],labelAlign:String,labelPlacement:String,path:String,first:Boolean,rulePath:String,required:Boolean,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:void 0},rule:[Object,Array],size:String,ignorePathChange:Boolean,validationStatus:String,feedback:String,showLabel:{type:Boolean,default:void 0},labelProps:Object});function Vd(e,t){return(...o)=>{try{const r=e(...o);return!t&&(typeof r=="boolean"||r instanceof Error||Array.isArray(r))||r!=null&&r.then?r:(r===void 0||yo("form-item/validate",`You return a ${typeof r} typed value in the validator method, which is not recommended. Please use `+(t?"`Promise`":"`boolean`, `Error` or `Promise`")+" typed value instead."),!0)}catch(r){yo("form-item/validate","An error is catched in the validation, so the validation won't be done. Your callback in `validate` method of `n-form` or `n-form-item` won't be called in this validation."),console.error(r);return}}}const P8=ne({name:"FormItem",props:jP,setup(e){Yv(Oh,"formItems",he(e,"path"));const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=Te(Ln,null),n=AP(e),i=LP(e),{validationErrored:a,validationWarned:l}=i,{mergedRequired:s,mergedRules:d}=_P(e),{mergedSize:u}=n,{mergedLabelPlacement:h,mergedLabelAlign:p,mergedRequireMarkPlacement:g}=i,f=E([]),v=E(Vo()),m=r?he(r.props,"disabled"):E(!1),b=we("Form","-form-item",HP,Wl,e,t);Je(he(e,"path"),()=>{e.ignorePathChange||C()});function C(){f.value=[],a.value=!1,l.value=!1,e.feedback&&(v.value=Vo())}function R(){k("blur")}function $(){k("change")}function S(){k("focus")}function w(){k("input")}function x(H,_){return Nd(this,void 0,void 0,function*(){let U,N,te,fe;return typeof H=="string"?(U=H,N=_):H!==null&&typeof H=="object"&&(U=H.trigger,N=H.callback,te=H.shouldRuleBeApplied,fe=H.options),yield new Promise((ae,Y)=>{k(U,te,fe).then(({valid:j,errors:X,warnings:re})=>{j?(N&&N(void 0,{warnings:re}),ae({warnings:re})):(N&&N(X,{warnings:re}),Y(X))})})})}const k=(H=null,_=()=>!0,U={suppressWarning:!0})=>Nd(this,void 0,void 0,function*(){const{path:N}=e;U?U.first||(U.first=e.first):U={};const{value:te}=d,fe=r?kn(r.props.model,N||""):void 0,ae={},Y={},j=(H?te.filter($e=>Array.isArray($e.trigger)?$e.trigger.includes(H):$e.trigger===H):te).filter(_).map(($e,Oe)=>{const Z=Object.assign({},$e);if(Z.validator&&(Z.validator=Vd(Z.validator,!1)),Z.asyncValidator&&(Z.asyncValidator=Vd(Z.asyncValidator,!0)),Z.renderMessage){const ue=`__renderMessage__${Oe}`;Y[ue]=Z.message,Z.message=ue,ae[ue]=Z.renderMessage}return Z}),X=j.filter($e=>$e.level!=="warning"),re=j.filter($e=>$e.level==="warning"),le=N??"__n_no_path__",ge=new Wr({[le]:X}),me=new Wr({[le]:re}),{validateMessages:Ae}=(r==null?void 0:r.props)||{};Ae&&(ge.messages(Ae),me.messages(Ae));const q=$e=>{f.value=$e.map(Oe=>{const Z=(Oe==null?void 0:Oe.message)||"";return{key:Z,render:()=>Z.startsWith("__renderMessage__")?ae[Z]():Z}}),$e.forEach(Oe=>{var Z;!((Z=Oe.message)===null||Z===void 0)&&Z.startsWith("__renderMessage__")&&(Oe.message=Y[Oe.message])})},ve={valid:!0,errors:void 0,warnings:void 0};if(X.length){const $e=yield new Promise(Oe=>{ge.validate({[le]:fe},U,Oe)});$e!=null&&$e.length&&(a.value=!0,ve.valid=!1,ve.errors=$e,q($e))}if(re.length&&!ve.errors){const $e=yield new Promise(Oe=>{me.validate({[le]:fe},U,Oe)});$e!=null&&$e.length&&(q($e),l.value=!0,ve.warnings=$e)}return X.length+re.length>0&&!ve.errors&&!ve.warnings&&C(),ve});Ue(Aa,{path:he(e,"path"),disabled:m,mergedSize:n.mergedSize,mergedValidationStatus:i.mergedValidationStatus,restoreValidation:C,handleContentBlur:R,handleContentChange:$,handleContentFocus:S,handleContentInput:w});const P={validate:x,restoreValidation:C,internalValidate:k},I=E(null);gt(()=>{if(!i.isAutoLabelWidth.value)return;const H=I.value;if(H!==null){const _=H.style.whiteSpace;H.style.whiteSpace="nowrap",H.style.width="",r==null||r.deriveMaxChildLabelWidth(Number(getComputedStyle(H).width.slice(0,-2))),H.style.whiteSpace=_}});const A=T(()=>{var H;const{value:_}=u,{value:U}=h,N=U==="top"?"vertical":"horizontal",{common:{cubicBezierEaseInOut:te},self:{labelTextColor:fe,asteriskColor:ae,lineHeight:Y,feedbackTextColor:j,feedbackTextColorWarning:X,feedbackTextColorError:re,feedbackPadding:le,labelFontWeight:ge,[oe("labelHeight",_)]:me,[oe("blankHeight",_)]:Ae,[oe("feedbackFontSize",_)]:q,[oe("feedbackHeight",_)]:ve,[oe("labelPadding",N)]:$e,[oe("labelTextAlign",N)]:Oe,[oe(oe("labelFontSize",U),_)]:Z}}=b.value;let ue=(H=p.value)!==null&&H!==void 0?H:Oe;return U==="top"&&(ue=ue==="right"?"flex-end":"flex-start"),{"--n-bezier":te,"--n-line-height":Y,"--n-blank-height":Ae,"--n-label-font-size":Z,"--n-label-text-align":ue,"--n-label-height":me,"--n-label-padding":$e,"--n-label-font-weight":ge,"--n-asterisk-color":ae,"--n-label-text-color":fe,"--n-feedback-padding":le,"--n-feedback-font-size":q,"--n-feedback-height":ve,"--n-feedback-text-color":j,"--n-feedback-text-color-warning":X,"--n-feedback-text-color-error":re}}),O=o?Qe("form-item",T(()=>{var H;return`${u.value[0]}${h.value[0]}${((H=p.value)===null||H===void 0?void 0:H[0])||""}`}),A,e):void 0,L=T(()=>h.value==="left"&&g.value==="left"&&p.value==="left");return Object.assign(Object.assign(Object.assign(Object.assign({labelElementRef:I,mergedClsPrefix:t,mergedRequired:s,feedbackId:v,renderExplains:f,reverseColSpace:L},i),n),P),{cssVars:o?void 0:A,themeClass:O==null?void 0:O.themeClass,onRender:O==null?void 0:O.onRender})},render(){const{$slots:e,mergedClsPrefix:t,mergedShowLabel:o,mergedShowRequireMark:r,mergedRequireMarkPlacement:n,onRender:i}=this,a=r!==void 0?r:this.mergedRequired;i==null||i();const l=()=>{const s=this.$slots.label?this.$slots.label():this.label;if(!s)return null;const d=c("span",{class:`${t}-form-item-label__text`},s),u=a?c("span",{class:`${t}-form-item-label__asterisk`},n!=="left"?" *":"* "):n==="right-hanging"&&c("span",{class:`${t}-form-item-label__asterisk-placeholder`}," *"),{labelProps:h}=this;return c("label",Object.assign({},h,{class:[h==null?void 0:h.class,`${t}-form-item-label`,`${t}-form-item-label--${n}-mark`,this.reverseColSpace&&`${t}-form-item-label--reverse-columns-space`],style:this.mergedLabelStyle,ref:"labelElementRef"}),n==="left"?[u,d]:[d,u])};return c("div",{class:[`${t}-form-item`,this.themeClass,`${t}-form-item--${this.mergedSize}-size`,`${t}-form-item--${this.mergedLabelPlacement}-labelled`,this.isAutoLabelWidth&&`${t}-form-item--auto-label-width`,!o&&`${t}-form-item--no-label`],style:this.cssVars},o&&l(),c("div",{class:[`${t}-form-item-blank`,this.mergedValidationStatus&&`${t}-form-item-blank--${this.mergedValidationStatus}`]},e),this.mergedShowFeedback?c("div",{key:this.feedbackId,class:`${t}-form-item-feedback-wrapper`},c(kt,{name:"fade-down-transition",mode:"out-in"},{default:()=>{const{mergedValidationStatus:s}=this;return Ze(e.feedback,d=>{var u;const{feedback:h}=this,p=d||h?c("div",{key:"__feedback__",class:`${t}-form-item-feedback__line`},d||h):this.renderExplains.length?(u=this.renderExplains)===null||u===void 0?void 0:u.map(({key:g,render:f})=>c("div",{key:g,class:`${t}-form-item-feedback__line`},f())):null;return p?s==="warning"?c("div",{key:"controlled-warning",class:`${t}-form-item-feedback ${t}-form-item-feedback--warning`},p):s==="error"?c("div",{key:"controlled-error",class:`${t}-form-item-feedback ${t}-form-item-feedback--error`},p):s==="success"?c("div",{key:"controlled-success",class:`${t}-form-item-feedback ${t}-form-item-feedback--success`},p):c("div",{key:"controlled-default",class:`${t}-form-item-feedback`},p):null})}})):null)}}),Ud=1,Fh="n-grid",Eh=1,WP={span:{type:[Number,String],default:Eh},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},z8=ne({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:WP,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:o,overflowRef:r,layoutShiftDisabledRef:n}=Te(Fh),i=Nr();return{overflow:r,itemStyle:o,layoutShiftDisabled:n,mergedXGap:T(()=>St(t.value||0)),deriveStyle:()=>{e.value;const{privateSpan:a=Eh,privateShow:l=!0,privateColStart:s=void 0,privateOffset:d=0}=i.vnode.props,{value:u}=t,h=St(u||0);return{display:l?"":"none",gridColumn:`${s??`span ${a}`} / span ${a}`,marginLeft:d?`calc((100% - (${a} - 1) * ${h}) / ${a} * ${d} + ${h} * ${d})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:o,offset:r,mergedXGap:n}=this;return c("div",{style:{gridColumn:`span ${o} / span ${o}`,marginLeft:r?`calc((100% - (${o} - 1) * ${n}) / ${o} * ${r} + ${n} * ${r})`:""}},this.$slots)}return c("div",{style:[this.itemStyle,this.deriveStyle()]},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e,{overflow:this.overflow}))}}),NP={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},Ah=e=>{const{textColor2:t,successColor:o,infoColor:r,warningColor:n,errorColor:i,popoverColor:a,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeColorHover:u,closeColorPressed:h,textColor1:p,textColor3:g,borderRadius:f,fontWeightStrong:v,boxShadow2:m,lineHeight:b,fontSize:C}=e;return Object.assign(Object.assign({},NP),{borderRadius:f,lineHeight:b,fontSize:C,headerFontWeight:v,iconColor:t,iconColorSuccess:o,iconColorInfo:r,iconColorWarning:n,iconColorError:i,color:a,textColor:t,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeBorderRadius:f,closeColorHover:u,closeColorPressed:h,headerTextColor:p,descriptionTextColor:g,actionTextColor:t,boxShadow:m})},VP={name:"Notification",common:xe,peers:{Scrollbar:Et},self:Ah},Lh=VP,UP={name:"Notification",common:ke,peers:{Scrollbar:Dt},self:Ah},KP=UP,qP={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},_h=e=>{const{textColor2:t,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:n,infoColor:i,successColor:a,errorColor:l,warningColor:s,popoverColor:d,boxShadow2:u,primaryColor:h,lineHeight:p,borderRadius:g,closeColorHover:f,closeColorPressed:v}=e;return Object.assign(Object.assign({},qP),{closeBorderRadius:g,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:d,colorInfo:d,colorSuccess:d,colorError:d,colorWarning:d,colorLoading:d,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:s,iconColorError:l,iconColorLoading:h,closeColorHover:f,closeColorPressed:v,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:n,closeColorHoverInfo:f,closeColorPressedInfo:v,closeIconColorInfo:o,closeIconColorHoverInfo:r,closeIconColorPressedInfo:n,closeColorHoverSuccess:f,closeColorPressedSuccess:v,closeIconColorSuccess:o,closeIconColorHoverSuccess:r,closeIconColorPressedSuccess:n,closeColorHoverError:f,closeColorPressedError:v,closeIconColorError:o,closeIconColorHoverError:r,closeIconColorPressedError:n,closeColorHoverWarning:f,closeColorPressedWarning:v,closeIconColorWarning:o,closeIconColorHoverWarning:r,closeIconColorPressedWarning:n,closeColorHoverLoading:f,closeColorPressedLoading:v,closeIconColorLoading:o,closeIconColorHoverLoading:r,closeIconColorPressedLoading:n,loadingColor:h,lineHeight:p,borderRadius:g})},GP={name:"Message",common:xe,self:_h},Dh=GP,XP={name:"Message",common:ke,self:_h},YP=XP,ZP={name:"ButtonGroup",common:ke},JP=ZP,QP={name:"ButtonGroup",common:xe},ez=QP,tz={name:"GradientText",common:ke,self(e){const{primaryColor:t,successColor:o,warningColor:r,errorColor:n,infoColor:i,primaryColorSuppl:a,successColorSuppl:l,warningColorSuppl:s,errorColorSuppl:d,infoColorSuppl:u,fontWeightStrong:h}=e;return{fontWeight:h,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:r,colorEndWarning:s,colorStartError:n,colorEndError:d,colorStartSuccess:o,colorEndSuccess:l}}},oz=tz,rz=e=>{const{primaryColor:t,successColor:o,warningColor:r,errorColor:n,infoColor:i,fontWeightStrong:a}=e;return{fontWeight:a,rotate:"252deg",colorStartPrimary:se(t,{alpha:.6}),colorEndPrimary:t,colorStartInfo:se(i,{alpha:.6}),colorEndInfo:i,colorStartWarning:se(r,{alpha:.6}),colorEndWarning:r,colorStartError:se(n,{alpha:.6}),colorEndError:n,colorStartSuccess:se(o,{alpha:.6}),colorEndSuccess:o}},nz={name:"GradientText",common:xe,self:rz},iz=nz,az={name:"InputNumber",common:ke,peers:{Button:jt,Input:Jt},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},lz=az,sz=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},dz={name:"InputNumber",common:xe,peers:{Button:At,Input:Ht},self:sz},Hh=dz,cz={name:"Layout",common:ke,peers:{Scrollbar:Dt},self(e){const{textColor2:t,bodyColor:o,popoverColor:r,cardColor:n,dividerColor:i,scrollbarColor:a,scrollbarColorHover:l}=e;return{textColor:t,textColorInverted:t,color:o,colorEmbedded:o,headerColor:n,headerColorInverted:n,footerColor:n,footerColorInverted:n,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:n,siderColorInverted:n,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:r,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:Ee(o,a),siderToggleBarColorHover:Ee(o,l),__invertScrollbar:"false"}}},uz=cz,fz=e=>{const{baseColor:t,textColor2:o,bodyColor:r,cardColor:n,dividerColor:i,actionColor:a,scrollbarColor:l,scrollbarColorHover:s,invertedColor:d}=e;return{textColor:o,textColorInverted:"#FFF",color:r,colorEmbedded:a,headerColor:n,headerColorInverted:d,footerColor:a,footerColorInverted:d,headerBorderColor:i,headerBorderColorInverted:d,footerBorderColor:i,footerBorderColorInverted:d,siderBorderColor:i,siderBorderColorInverted:d,siderColor:n,siderColorInverted:d,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:o,siderToggleButtonIconColorInverted:o,siderToggleBarColor:Ee(r,l),siderToggleBarColorHover:Ee(r,s),__invertScrollbar:"true"}},hz={name:"Layout",common:xe,peers:{Scrollbar:Et},self:fz},Nl=hz,jh=e=>{const{textColor2:t,cardColor:o,modalColor:r,popoverColor:n,dividerColor:i,borderRadius:a,fontSize:l,hoverColor:s}=e;return{textColor:t,color:o,colorHover:s,colorModal:r,colorHoverModal:Ee(r,s),colorPopover:n,colorHoverPopover:Ee(n,s),borderColor:i,borderColorModal:Ee(r,i),borderColorPopover:Ee(n,i),borderRadius:a,fontSize:l}},pz={name:"List",common:xe,self:jh},vz=pz,gz={name:"List",common:ke,self:jh},bz=gz,mz={name:"LoadingBar",common:ke,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},xz=mz,Cz=e=>{const{primaryColor:t,errorColor:o}=e;return{colorError:o,colorLoading:t,height:"2px"}},yz={name:"LoadingBar",common:xe,self:Cz},Wh=yz,wz={name:"Log",common:ke,peers:{Scrollbar:Dt,Code:Tf},self(e){const{textColor2:t,inputColor:o,fontSize:r,primaryColor:n}=e;return{loaderFontSize:r,loaderTextColor:t,loaderColor:o,loaderBorder:"1px solid #0000",loadingColor:n}}},Sz=wz,kz=e=>{const{textColor2:t,modalColor:o,borderColor:r,fontSize:n,primaryColor:i}=e;return{loaderFontSize:n,loaderTextColor:t,loaderColor:o,loaderBorder:`1px solid ${r}`,loadingColor:i}},$z={name:"Log",common:xe,peers:{Scrollbar:Et,Code:Bf},self:kz},Rz=$z,Pz={name:"Mention",common:ke,peers:{InternalSelectMenu:En,Input:Jt},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},zz=Pz,Tz=e=>{const{boxShadow2:t}=e;return{menuBoxShadow:t}},Bz={name:"Mention",common:xe,peers:{InternalSelectMenu:Xr,Input:Ht},self:Tz},Mz=Bz;function Oz(e,t,o,r){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:o,itemTextColorChildActiveInverted:o,itemTextColorChildActiveHoverInverted:o,itemTextColorActiveInverted:o,itemTextColorActiveHoverInverted:o,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:o,itemTextColorChildActiveHorizontalInverted:o,itemTextColorChildActiveHoverHorizontalInverted:o,itemTextColorActiveHorizontalInverted:o,itemTextColorActiveHoverHorizontalInverted:o,itemIconColorInverted:e,itemIconColorHoverInverted:o,itemIconColorActiveInverted:o,itemIconColorActiveHoverInverted:o,itemIconColorChildActiveInverted:o,itemIconColorChildActiveHoverInverted:o,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:o,itemIconColorActiveHorizontalInverted:o,itemIconColorActiveHoverHorizontalInverted:o,itemIconColorChildActiveHorizontalInverted:o,itemIconColorChildActiveHoverHorizontalInverted:o,arrowColorInverted:e,arrowColorHoverInverted:o,arrowColorActiveInverted:o,arrowColorActiveHoverInverted:o,arrowColorChildActiveInverted:o,arrowColorChildActiveHoverInverted:o,groupTextColorInverted:r}}const Nh=e=>{const{borderRadius:t,textColor3:o,primaryColor:r,textColor2:n,textColor1:i,fontSize:a,dividerColor:l,hoverColor:s,primaryColorHover:d}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:o,itemColorHover:s,itemColorActive:se(r,{alpha:.1}),itemColorActiveHover:se(r,{alpha:.1}),itemColorActiveCollapsed:se(r,{alpha:.1}),itemTextColor:n,itemTextColorHover:n,itemTextColorActive:r,itemTextColorActiveHover:r,itemTextColorChildActive:r,itemTextColorChildActiveHover:r,itemTextColorHorizontal:n,itemTextColorHoverHorizontal:d,itemTextColorActiveHorizontal:r,itemTextColorActiveHoverHorizontal:r,itemTextColorChildActiveHorizontal:r,itemTextColorChildActiveHoverHorizontal:r,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:r,itemIconColorActiveHover:r,itemIconColorChildActive:r,itemIconColorChildActiveHover:r,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:d,itemIconColorActiveHorizontal:r,itemIconColorActiveHoverHorizontal:r,itemIconColorChildActiveHorizontal:r,itemIconColorChildActiveHoverHorizontal:r,itemHeight:"42px",arrowColor:n,arrowColorHover:n,arrowColorActive:r,arrowColorActiveHover:r,arrowColorChildActive:r,arrowColorChildActiveHover:r,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:l},Oz("#BBB",r,"#FFF","#AAA"))},Iz={name:"Menu",common:xe,peers:{Tooltip:An,Dropdown:ji},self:Nh},Fz=Iz,Ez={name:"Menu",common:ke,peers:{Tooltip:Di,Dropdown:Al},self(e){const{primaryColor:t,primaryColorSuppl:o}=e,r=Nh(e);return r.itemColorActive=se(t,{alpha:.15}),r.itemColorActiveHover=se(t,{alpha:.15}),r.itemColorActiveCollapsed=se(t,{alpha:.15}),r.itemColorActiveInverted=o,r.itemColorActiveHoverInverted=o,r.itemColorActiveCollapsedInverted=o,r}},Az=Ez,Lz={titleFontSize:"18px",backSize:"22px"};function Vh(e){const{textColor1:t,textColor2:o,textColor3:r,fontSize:n,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:l}=e;return Object.assign(Object.assign({},Lz),{titleFontWeight:i,fontSize:n,titleTextColor:t,backColor:o,backColorHover:a,backColorPressed:l,subtitleTextColor:r})}const _z={name:"PageHeader",common:xe,self:Vh},Dz={name:"PageHeader",common:ke,self:Vh},Hz={iconSize:"22px"},Uh=e=>{const{fontSize:t,warningColor:o}=e;return Object.assign(Object.assign({},Hz),{fontSize:t,iconColor:o})},jz={name:"Popconfirm",common:xe,peers:{Button:At,Popover:Zo},self:Uh},Kh=jz,Wz={name:"Popconfirm",common:ke,peers:{Button:jt,Popover:Cr},self:Uh},Nz=Wz,qh=e=>{const{infoColor:t,successColor:o,warningColor:r,errorColor:n,textColor2:i,progressRailColor:a,fontSize:l,fontWeight:s}=e;return{fontSize:l,fontSizeCircle:"28px",fontWeightCircle:s,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:o,iconColorWarning:r,iconColorError:n,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:o,fillColorWarning:r,fillColorError:n,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},Vz={name:"Progress",common:xe,self:qh},Gh=Vz,Uz={name:"Progress",common:ke,self(e){const t=qh(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},Xh=Uz,Kz={name:"Rate",common:ke,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},qz=Kz,Gz=e=>{const{railColor:t}=e;return{itemColor:t,itemColorActive:"#FFCC33",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}},Xz={name:"Rate",common:xe,self:Gz},Yz=Xz,Zz={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},Yh=e=>{const{textColor2:t,textColor1:o,errorColor:r,successColor:n,infoColor:i,warningColor:a,lineHeight:l,fontWeightStrong:s}=e;return Object.assign(Object.assign({},Zz),{lineHeight:l,titleFontWeight:s,titleTextColor:o,textColor:t,iconColorError:r,iconColorSuccess:n,iconColorInfo:i,iconColorWarning:a})},Jz={name:"Result",common:xe,self:Yh},Zh=Jz,Qz={name:"Result",common:ke,self:Yh},e4=Qz,Jh={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},t4={name:"Slider",common:ke,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:o,modalColor:r,primaryColorSuppl:n,popoverColor:i,textColor2:a,cardColor:l,borderRadius:s,fontSize:d,opacityDisabled:u}=e;return Object.assign(Object.assign({},Jh),{fontSize:d,markFontSize:d,railColor:o,railColorHover:o,fillColor:n,fillColorHover:n,opacityDisabled:u,handleColor:"#FFF",dotColor:l,dotColorModal:r,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:s,dotBorder:`2px solid ${o}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})}},o4=t4,r4=e=>{const t="rgba(0, 0, 0, .85)",o="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,primaryColor:n,baseColor:i,cardColor:a,modalColor:l,popoverColor:s,borderRadius:d,fontSize:u,opacityDisabled:h}=e;return Object.assign(Object.assign({},Jh),{fontSize:u,markFontSize:u,railColor:r,railColorHover:r,fillColor:n,fillColorHover:n,opacityDisabled:h,handleColor:"#FFF",dotColor:a,dotColorModal:l,dotColorPopover:s,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:o,indicatorTextColor:i,indicatorBorderRadius:d,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})},n4={name:"Slider",common:xe,self:r4},Qh=n4,ep=e=>{const{opacityDisabled:t,heightTiny:o,heightSmall:r,heightMedium:n,heightLarge:i,heightHuge:a,primaryColor:l,fontSize:s}=e;return{fontSize:s,textColor:l,sizeTiny:o,sizeSmall:r,sizeMedium:n,sizeLarge:i,sizeHuge:a,color:l,opacitySpinning:t}},i4={name:"Spin",common:xe,self:ep},tp=i4,a4={name:"Spin",common:ke,self:ep},l4=a4,op=e=>{const{textColor2:t,textColor3:o,fontSize:r,fontWeight:n}=e;return{labelFontSize:r,labelFontWeight:n,valueFontWeight:n,valueFontSize:"24px",labelTextColor:o,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},s4={name:"Statistic",common:xe,self:op},d4=s4,c4={name:"Statistic",common:ke,self:op},u4=c4,f4={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},rp=e=>{const{fontWeightStrong:t,baseColor:o,textColorDisabled:r,primaryColor:n,errorColor:i,textColor1:a,textColor2:l}=e;return Object.assign(Object.assign({},f4),{stepHeaderFontWeight:t,indicatorTextColorProcess:o,indicatorTextColorWait:r,indicatorTextColorFinish:n,indicatorTextColorError:i,indicatorBorderColorProcess:n,indicatorBorderColorWait:r,indicatorBorderColorFinish:n,indicatorBorderColorError:i,indicatorColorProcess:n,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:r,splitorColorWait:r,splitorColorFinish:n,splitorColorError:r,headerTextColorProcess:a,headerTextColorWait:r,headerTextColorFinish:r,headerTextColorError:i,descriptionTextColorProcess:l,descriptionTextColorWait:r,descriptionTextColorFinish:r,descriptionTextColorError:i})},h4={name:"Steps",common:xe,self:rp},p4=h4,v4={name:"Steps",common:ke,self:rp},g4=v4,np={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},b4={name:"Switch",common:ke,self(e){const{primaryColorSuppl:t,opacityDisabled:o,borderRadius:r,primaryColor:n,textColor2:i,baseColor:a}=e,l="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},np),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:o,railColor:l,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:r,railBorderRadiusMedium:r,railBorderRadiusLarge:r,buttonBorderRadiusSmall:r,buttonBorderRadiusMedium:r,buttonBorderRadiusLarge:r,boxShadowFocus:`0 0 8px 0 ${se(n,{alpha:.3})}`})}},m4=b4,x4=e=>{const{primaryColor:t,opacityDisabled:o,borderRadius:r,textColor3:n}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},np),{iconColor:n,textColor:"white",loadingColor:t,opacityDisabled:o,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:r,railBorderRadiusMedium:r,railBorderRadiusLarge:r,buttonBorderRadiusSmall:r,buttonBorderRadiusMedium:r,buttonBorderRadiusLarge:r,boxShadowFocus:`0 0 0 2px ${se(t,{alpha:.2})}`})},C4={name:"Switch",common:xe,self:x4},ip=C4,y4={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},ap=e=>{const{dividerColor:t,cardColor:o,modalColor:r,popoverColor:n,tableHeaderColor:i,tableColorStriped:a,textColor1:l,textColor2:s,borderRadius:d,fontWeightStrong:u,lineHeight:h,fontSizeSmall:p,fontSizeMedium:g,fontSizeLarge:f}=e;return Object.assign(Object.assign({},y4),{fontSizeSmall:p,fontSizeMedium:g,fontSizeLarge:f,lineHeight:h,borderRadius:d,borderColor:Ee(o,t),borderColorModal:Ee(r,t),borderColorPopover:Ee(n,t),tdColor:o,tdColorModal:r,tdColorPopover:n,tdColorStriped:Ee(o,a),tdColorStripedModal:Ee(r,a),tdColorStripedPopover:Ee(n,a),thColor:Ee(o,i),thColorModal:Ee(r,i),thColorPopover:Ee(n,i),thTextColor:l,tdTextColor:s,thFontWeight:u})},w4={name:"Table",common:xe,self:ap},S4=w4,k4={name:"Table",common:ke,self:ap},$4=k4,R4={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},lp=e=>{const{textColor2:t,primaryColor:o,textColorDisabled:r,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,tabColor:d,baseColor:u,dividerColor:h,fontWeight:p,textColor1:g,borderRadius:f,fontSize:v,fontWeightStrong:m}=e;return Object.assign(Object.assign({},R4),{colorSegment:d,tabFontSizeCard:v,tabTextColorLine:g,tabTextColorActiveLine:o,tabTextColorHoverLine:o,tabTextColorDisabledLine:r,tabTextColorSegment:g,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:r,tabTextColorBar:g,tabTextColorActiveBar:o,tabTextColorHoverBar:o,tabTextColorDisabledBar:r,tabTextColorCard:g,tabTextColorHoverCard:g,tabTextColorActiveCard:o,tabTextColorDisabledCard:r,barColor:o,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,closeBorderRadius:f,tabColor:d,tabColorSegment:u,tabBorderColor:h,tabFontWeightActive:p,tabFontWeight:p,tabBorderRadius:f,paneTextColor:t,fontWeightStrong:m})},P4={name:"Tabs",common:xe,self:lp},sp=P4,z4={name:"Tabs",common:ke,self(e){const t=lp(e),{inputColor:o}=e;return t.colorSegment=o,t.tabColorSegment=o,t}},T4=z4,dp=e=>{const{textColor1:t,textColor2:o,fontWeightStrong:r,fontSize:n}=e;return{fontSize:n,titleTextColor:t,textColor:o,titleFontWeight:r}},B4={name:"Thing",common:xe,self:dp},M4=B4,O4={name:"Thing",common:ke,self:dp},I4=O4,cp={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},F4={name:"Timeline",common:ke,self(e){const{textColor3:t,infoColorSuppl:o,errorColorSuppl:r,successColorSuppl:n,warningColorSuppl:i,textColor1:a,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:u}=e;return Object.assign(Object.assign({},cp),{contentFontSize:u,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${o}`,circleBorderError:`2px solid ${r}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:o,iconColorError:r,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:l,metaTextColor:t,lineColor:s})}},E4=F4,A4=e=>{const{textColor3:t,infoColor:o,errorColor:r,successColor:n,warningColor:i,textColor1:a,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:u}=e;return Object.assign(Object.assign({},cp),{contentFontSize:u,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${o}`,circleBorderError:`2px solid ${r}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:o,iconColorError:r,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:l,metaTextColor:t,lineColor:s})},L4={name:"Timeline",common:xe,self:A4},_4=L4,up={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},D4={name:"Transfer",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Input:Jt,Empty:xr,Button:jt},self(e){const{fontWeight:t,fontSizeLarge:o,fontSizeMedium:r,fontSizeSmall:n,heightLarge:i,heightMedium:a,borderRadius:l,inputColor:s,tableHeaderColor:d,textColor1:u,textColorDisabled:h,textColor2:p,textColor3:g,hoverColor:f,closeColorHover:v,closeColorPressed:m,closeIconColor:b,closeIconColorHover:C,closeIconColorPressed:R,dividerColor:$}=e;return Object.assign(Object.assign({},up),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:n,fontSizeMedium:r,fontSizeLarge:o,borderRadius:l,dividerColor:$,borderColor:"#0000",listColor:s,headerColor:d,titleTextColor:u,titleTextColorDisabled:h,extraTextColor:g,extraTextColorDisabled:h,itemTextColor:p,itemTextColorDisabled:h,itemColorPending:f,titleFontWeight:t,closeColorHover:v,closeColorPressed:m,closeIconColor:b,closeIconColorHover:C,closeIconColorPressed:R})}},H4=D4,j4=e=>{const{fontWeight:t,fontSizeLarge:o,fontSizeMedium:r,fontSizeSmall:n,heightLarge:i,heightMedium:a,borderRadius:l,cardColor:s,tableHeaderColor:d,textColor1:u,textColorDisabled:h,textColor2:p,textColor3:g,borderColor:f,hoverColor:v,closeColorHover:m,closeColorPressed:b,closeIconColor:C,closeIconColorHover:R,closeIconColorPressed:$}=e;return Object.assign(Object.assign({},up),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:n,fontSizeMedium:r,fontSizeLarge:o,borderRadius:l,dividerColor:f,borderColor:f,listColor:s,headerColor:Ee(s,d),titleTextColor:u,titleTextColorDisabled:h,extraTextColor:g,extraTextColorDisabled:h,itemTextColor:p,itemTextColorDisabled:h,itemColorPending:v,titleFontWeight:t,closeColorHover:m,closeColorPressed:b,closeIconColor:C,closeIconColorHover:R,closeIconColorPressed:$})},W4={name:"Transfer",common:xe,peers:{Checkbox:yr,Scrollbar:Et,Input:Ht,Empty:$o,Button:At},self:j4},N4=W4,fp=e=>{const{borderRadiusSmall:t,dividerColor:o,hoverColor:r,pressedColor:n,primaryColor:i,textColor3:a,textColor2:l,textColorDisabled:s,fontSize:d}=e;return{fontSize:d,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:r,nodeColorPressed:n,nodeColorActive:se(i,{alpha:.1}),arrowColor:a,nodeTextColor:l,nodeTextColorDisabled:s,loadingColor:i,dropMarkColor:i,lineColor:o}},V4={name:"Tree",common:xe,peers:{Checkbox:yr,Scrollbar:Et,Empty:$o},self:fp},hp=V4,U4={name:"Tree",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Empty:xr},self(e){const{primaryColor:t}=e,o=fp(e);return o.nodeColorActive=se(t,{alpha:.15}),o}},pp=U4,K4={name:"TreeSelect",common:ke,peers:{Tree:pp,Empty:xr,InternalSelection:Pl}},q4=K4,G4=e=>{const{popoverColor:t,boxShadow2:o,borderRadius:r,heightMedium:n,dividerColor:i,textColor2:a}=e;return{menuPadding:"4px",menuColor:t,menuBoxShadow:o,menuBorderRadius:r,menuHeight:`calc(${n} * 7.6)`,actionDividerColor:i,actionTextColor:a,actionPadding:"8px 12px"}},X4={name:"TreeSelect",common:xe,peers:{Tree:hp,Empty:$o,InternalSelection:Li},self:G4},Y4=X4,Z4={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},vp=e=>{const{primaryColor:t,textColor2:o,borderColor:r,lineHeight:n,fontSize:i,borderRadiusSmall:a,dividerColor:l,fontWeightStrong:s,textColor1:d,textColor3:u,infoColor:h,warningColor:p,errorColor:g,successColor:f,codeColor:v}=e;return Object.assign(Object.assign({},Z4),{aTextColor:t,blockquoteTextColor:o,blockquotePrefixColor:r,blockquoteLineHeight:n,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:o,liLineHeight:n,liFontSize:i,hrColor:l,headerFontWeight:s,headerTextColor:d,pTextColor:o,pTextColor1Depth:d,pTextColor2Depth:o,pTextColor3Depth:u,pLineHeight:n,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:h,headerBarColorError:g,headerBarColorWarning:p,headerBarColorSuccess:f,textColor:o,textColor1Depth:d,textColor2Depth:o,textColor3Depth:u,textColorPrimary:t,textColorInfo:h,textColorSuccess:f,textColorWarning:p,textColorError:g,codeTextColor:o,codeColor:v,codeBorder:"1px solid #0000"})},J4={name:"Typography",common:xe,self:vp},Q4=J4,eT={name:"Typography",common:ke,self:vp},tT=eT,gp=e=>{const{iconColor:t,primaryColor:o,errorColor:r,textColor2:n,successColor:i,opacityDisabled:a,actionColor:l,borderColor:s,hoverColor:d,lineHeight:u,borderRadius:h,fontSize:p}=e;return{fontSize:p,lineHeight:u,borderRadius:h,draggerColor:l,draggerBorder:`1px dashed ${s}`,draggerBorderHover:`1px dashed ${o}`,itemColorHover:d,itemColorHoverError:se(r,{alpha:.06}),itemTextColor:n,itemTextColorError:r,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${r}`,itemBorderImageCard:`1px solid ${s}`}},oT={name:"Upload",common:xe,peers:{Button:At,Progress:Gh},self:gp},rT=oT,nT={name:"Upload",common:ke,peers:{Button:jt,Progress:Xh},self(e){const{errorColor:t}=e,o=gp(e);return o.itemColorHoverError=se(t,{alpha:.09}),o}},iT=nT,aT={name:"Watermark",common:ke,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},lT=aT,sT={name:"Watermark",common:xe,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},dT=sT,cT={name:"Row",common:xe},uT=cT,fT={name:"Row",common:ke},hT=fT,pT=e=>{const{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}},vT={name:"FloatButtonGroup",common:xe,self:pT},gT=vT,bT={name:"FloatButton",common:ke,self(e){const{popoverColor:t,textColor2:o,buttonColor2Hover:r,buttonColor2Pressed:n,primaryColor:i,primaryColorHover:a,primaryColorPressed:l,baseColor:s,borderRadius:d}=e;return{color:t,textColor:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:r,colorPressed:n,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:l,textColorPrimary:s,borderRadiusSquare:d}}},mT=bT,xT=e=>{const{popoverColor:t,textColor2:o,buttonColor2Hover:r,buttonColor2Pressed:n,primaryColor:i,primaryColorHover:a,primaryColorPressed:l,borderRadius:s}=e;return{color:t,colorHover:r,colorPressed:n,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:l,textColor:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .16)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .24)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .24)",textColorPrimary:"#fff",borderRadiusSquare:s}},CT={name:"FloatButton",common:xe,self:xT},yT=CT,T8=ne({name:"GlobalStyle",setup(){if(typeof document>"u")return;const e=Te(lo,null),{body:t}=document,{style:o}=t;let r=!1,n=!0;Fo(()=>{vt(()=>{var i,a;const{textColor2:l,fontSize:s,fontFamily:d,bodyColor:u,cubicBezierEaseInOut:h,lineHeight:p}=e?Mr({},((i=e.mergedThemeRef.value)===null||i===void 0?void 0:i.common)||xe,(a=e.mergedThemeOverridesRef.value)===null||a===void 0?void 0:a.common):xe;if(r||!t.hasAttribute("n-styled")){o.setProperty("-webkit-text-size-adjust","100%"),o.setProperty("-webkit-tap-highlight-color","transparent"),o.padding="0",o.margin="0",o.backgroundColor=u,o.color=l,o.fontSize=s,o.fontFamily=d,o.lineHeight=p;const g=`color .3s ${h}, background-color .3s ${h}`;n?setTimeout(()=>{o.transition=g},0):o.transition=g,t.setAttribute("n-styled",""),r=!0,n=!1}})}),ic(()=>{r&&t.removeAttribute("n-styled")})},render(){return null}}),wT={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},bp=24,$a="__ssr__",ST={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:bp},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},B8=ne({name:"Grid",inheritAttrs:!1,props:ST,setup(e){const{mergedClsPrefixRef:t,mergedBreakpointsRef:o}=He(e),r=/^\d+$/,n=E(void 0),i=hg((o==null?void 0:o.value)||wT),a=Ye(()=>!!(e.itemResponsive||!r.test(e.cols.toString())||!r.test(e.xGap.toString())||!r.test(e.yGap.toString()))),l=T(()=>{if(a.value)return e.responsive==="self"?n.value:i.value}),s=Ye(()=>{var b;return(b=Number(wr(e.cols.toString(),l.value)))!==null&&b!==void 0?b:bp}),d=Ye(()=>wr(e.xGap.toString(),l.value)),u=Ye(()=>wr(e.yGap.toString(),l.value)),h=b=>{n.value=b.contentRect.width},p=b=>{Ar(h,b)},g=E(!1),f=T(()=>{if(e.responsive==="self")return p}),v=E(!1),m=E();return gt(()=>{const{value:b}=m;b&&b.hasAttribute($a)&&(b.removeAttribute($a),v.value=!0)}),Ue(Fh,{layoutShiftDisabledRef:he(e,"layoutShiftDisabled"),isSsrRef:v,itemStyleRef:he(e,"itemStyle"),xGapRef:d,overflowRef:g}),{isSsr:!Eo,contentEl:m,mergedClsPrefix:t,style:T(()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:St(e.xGap),rowGap:St(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${s.value}, minmax(0, 1fr))`,columnGap:St(d.value),rowGap:St(u.value)}),isResponsive:a,responsiveQuery:l,responsiveCols:s,handleResize:f,overflow:g}},render(){if(this.layoutShiftDisabled)return c("div",Ft({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var t,o,r,n,i,a,l;this.overflow=!1;const s=Oo(il(this)),d=[],{collapsed:u,collapsedRows:h,responsiveCols:p,responsiveQuery:g}=this;s.forEach(C=>{var R,$,S,w,x;if(((R=C==null?void 0:C.type)===null||R===void 0?void 0:R.__GRID_ITEM__)!==!0)return;if($v(C)){const I=gn(C);I.props?I.props.privateShow=!1:I.props={privateShow:!1},d.push({child:I,rawChildSpan:0});return}C.dirs=(($=C.dirs)===null||$===void 0?void 0:$.filter(({dir:I})=>I!==ao))||null,((S=C.dirs)===null||S===void 0?void 0:S.length)===0&&(C.dirs=null);const k=gn(C),P=Number((x=wr((w=k.props)===null||w===void 0?void 0:w.span,g))!==null&&x!==void 0?x:Ud);P!==0&&d.push({child:k,rawChildSpan:P})});let f=0;const v=(t=d[d.length-1])===null||t===void 0?void 0:t.child;if(v!=null&&v.props){const C=(o=v.props)===null||o===void 0?void 0:o.suffix;C!==void 0&&C!==!1&&(f=Number((n=wr((r=v.props)===null||r===void 0?void 0:r.span,g))!==null&&n!==void 0?n:Ud),v.props.privateSpan=f,v.props.privateColStart=p+1-f,v.props.privateShow=(i=v.props.privateShow)!==null&&i!==void 0?i:!0)}let m=0,b=!1;for(const{child:C,rawChildSpan:R}of d){if(b&&(this.overflow=!0),!b){const $=Number((l=wr((a=C.props)===null||a===void 0?void 0:a.offset,g))!==null&&l!==void 0?l:0),S=Math.min(R+$,p);if(C.props?(C.props.privateSpan=S,C.props.privateOffset=$):C.props={privateSpan:S,privateOffset:$},u){const w=m%p;S+w>p&&(m+=p-w),S+m+f>h*p?b=!0:m+=S}}b&&(C.props?C.props.privateShow!==!0&&(C.props.privateShow=!1):C.props={privateShow:!1})}return c("div",Ft({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[$a]:this.isSsr||void 0},this.$attrs),d.map(({child:C})=>C))};return this.isResponsive&&this.responsive==="self"?c(io,{onResize:this.handleResize},{default:e}):e()}}),mp=e=>{const{primaryColor:t,baseColor:o}=e;return{color:t,iconColor:o}},kT={name:"IconWrapper",common:xe,self:mp},$T=kT,RT={name:"IconWrapper",common:ke,self:mp},PT=RT,xp=Object.assign(Object.assign({},we.props),{onPreviewPrev:Function,onPreviewNext:Function,showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean}),Cp="n-image";function zT(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const yp={name:"Image",common:xe,peers:{Tooltip:An},self:zT},TT={name:"Image",common:ke,peers:{Tooltip:Di},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},BT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"})),MT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"})),OT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"})),IT=c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 1024 1024"},c("path",{fill:"currentColor",d:"M505.7 661a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"})),FT=z([z("body >",[y("image-container","position: fixed;")]),y("image-preview-container",`
    + position: fixed;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + display: flex;
    + `),y("image-preview-overlay",`
    + z-index: -1;
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + background: rgba(0, 0, 0, .3);
    + `,[cr()]),y("image-preview-toolbar",`
    + z-index: 1;
    + position: absolute;
    + left: 50%;
    + transform: translateX(-50%);
    + border-radius: var(--n-toolbar-border-radius);
    + height: 48px;
    + bottom: 40px;
    + padding: 0 12px;
    + background: var(--n-toolbar-color);
    + box-shadow: var(--n-toolbar-box-shadow);
    + color: var(--n-toolbar-icon-color);
    + transition: color .3s var(--n-bezier);
    + display: flex;
    + align-items: center;
    + `,[y("base-icon",`
    + padding: 0 8px;
    + font-size: 28px;
    + cursor: pointer;
    + `),cr()]),y("image-preview-wrapper",`
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + display: flex;
    + pointer-events: none;
    + `,[Go()]),y("image-preview",`
    + user-select: none;
    + -webkit-user-select: none;
    + pointer-events: all;
    + margin: auto;
    + max-height: calc(100vh - 32px);
    + max-width: calc(100vw - 32px);
    + transition: transform .3s var(--n-bezier);
    + `),y("image",`
    + display: inline-flex;
    + max-height: 100%;
    + max-width: 100%;
    + `,[nt("preview-disabled",`
    + cursor: pointer;
    + `),z("img",`
    + border-radius: inherit;
    + `)])]),Qn=32,ET=ne({name:"ImagePreview",props:Object.assign(Object.assign({},xp),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(e){const t=we("Image","-image",FT,yp,e,he(e,"clsPrefix"));let o=null;const r=E(null),n=E(null),i=E(void 0),a=E(!1),l=E(!1),{localeRef:s}=wo("Image");function d(){const{value:Z}=n;if(!o||!Z)return;const{style:ue}=Z,be=o.getBoundingClientRect(),De=be.left+be.width/2,ee=be.top+be.height/2;ue.transformOrigin=`${De}px ${ee}px`}function u(Z){var ue,be;switch(Z.key){case" ":Z.preventDefault();break;case"ArrowLeft":(ue=e.onPrev)===null||ue===void 0||ue.call(e);break;case"ArrowRight":(be=e.onNext)===null||be===void 0||be.call(e);break;case"Escape":ge();break}}Je(a,Z=>{Z?tt("keydown",document,u):Xe("keydown",document,u)}),dt(()=>{Xe("keydown",document,u)});let h=0,p=0,g=0,f=0,v=0,m=0,b=0,C=0,R=!1;function $(Z){const{clientX:ue,clientY:be}=Z;g=ue-h,f=be-p,Ar(le)}function S(Z){const{mouseUpClientX:ue,mouseUpClientY:be,mouseDownClientX:De,mouseDownClientY:ee}=Z,Ce=De-ue,Pe=ee-be,K=`vertical${Pe>0?"Top":"Bottom"}`,Q=`horizontal${Ce>0?"Left":"Right"}`;return{moveVerticalDirection:K,moveHorizontalDirection:Q,deltaHorizontal:Ce,deltaVertical:Pe}}function w(Z){const{value:ue}=r;if(!ue)return{offsetX:0,offsetY:0};const be=ue.getBoundingClientRect(),{moveVerticalDirection:De,moveHorizontalDirection:ee,deltaHorizontal:Ce,deltaVertical:Pe}=Z||{};let K=0,Q=0;return be.width<=window.innerWidth?K=0:be.left>0?K=(be.width-window.innerWidth)/2:be.right0?Q=(be.height-window.innerHeight)/2:be.bottom.5){const Z=L;O-=1,L=Math.max(.5,Math.pow(A,O));const ue=Z-L;le(!1);const be=w();L+=ue,le(!1),L-=ue,g=be.offsetX,f=be.offsetY,le()}}function re(){const Z=i.value;Z&&Nc(Z,void 0)}function le(Z=!0){var ue;const{value:be}=r;if(!be)return;const{style:De}=be,ee=uv((ue=k==null?void 0:k.previewedImgPropsRef.value)===null||ue===void 0?void 0:ue.style);let Ce="";if(typeof ee=="string")Ce=ee+";";else for(const K in ee)Ce+=`${vy(K)}: ${ee[K]};`;const Pe=`transform-origin: center; transform: translateX(${g}px) translateY(${f}px) rotate(${H}deg) scale(${L});`;R?De.cssText=Ce+"cursor: grabbing; transition: none;"+Pe:De.cssText=Ce+"cursor: grab;"+Pe+(Z?"":"transition: none;"),Z||be.offsetHeight}function ge(){a.value=!a.value,l.value=!0}function me(){L=Y(),O=Math.ceil(Math.log(L)/Math.log(A)),g=0,f=0,le()}const Ae={setPreviewSrc:Z=>{i.value=Z},setThumbnailEl:Z=>{o=Z},toggleShow:ge};function q(Z,ue){if(e.showToolbarTooltip){const{value:be}=t;return c(qf,{to:!1,theme:be.peers.Tooltip,themeOverrides:be.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>s.value[ue],trigger:()=>Z})}else return Z}const ve=T(()=>{const{common:{cubicBezierEaseInOut:Z},self:{toolbarIconColor:ue,toolbarBorderRadius:be,toolbarBoxShadow:De,toolbarColor:ee}}=t.value;return{"--n-bezier":Z,"--n-toolbar-icon-color":ue,"--n-toolbar-color":ee,"--n-toolbar-border-radius":be,"--n-toolbar-box-shadow":De}}),{inlineThemeDisabled:$e}=He(),Oe=$e?Qe("image-preview",void 0,ve,e):void 0;return Object.assign({previewRef:r,previewWrapperRef:n,previewSrc:i,show:a,appear:Ao(),displayed:l,previewedImgProps:k==null?void 0:k.previewedImgPropsRef,handleWheel(Z){Z.preventDefault()},handlePreviewMousedown:P,handlePreviewDblclick:I,syncTransformOrigin:d,handleAfterLeave:()=>{_(),H=0,l.value=!1},handleDragStart:Z=>{var ue,be;(be=(ue=k==null?void 0:k.previewedImgPropsRef.value)===null||ue===void 0?void 0:ue.onDragstart)===null||be===void 0||be.call(ue,Z),Z.preventDefault()},zoomIn:j,zoomOut:X,handleDownloadClick:re,rotateCounterclockwise:te,rotateClockwise:fe,handleSwitchPrev:U,handleSwitchNext:N,withTooltip:q,resizeToOrignalImageSize:me,cssVars:$e?void 0:ve,themeClass:Oe==null?void 0:Oe.themeClass,onRender:Oe==null?void 0:Oe.onRender},Ae)},render(){var e,t;const{clsPrefix:o}=this;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),c(zi,{show:this.show},{default:()=>{var r;return this.show||this.displayed?((r=this.onRender)===null||r===void 0||r.call(this),It(c("div",{class:[`${o}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},c(kt,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?c("div",{class:`${o}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?c(kt,{name:"fade-in-transition",appear:this.appear},{default:()=>{if(!this.show)return null;const{withTooltip:n}=this;return c("div",{class:`${o}-image-preview-toolbar`},this.onPrev?c(yt,null,n(c(ot,{clsPrefix:o,onClick:this.handleSwitchPrev},{default:()=>BT}),"tipPrevious"),n(c(ot,{clsPrefix:o,onClick:this.handleSwitchNext},{default:()=>MT}),"tipNext")):null,n(c(ot,{clsPrefix:o,onClick:this.rotateCounterclockwise},{default:()=>c(dS,null)}),"tipCounterclockwise"),n(c(ot,{clsPrefix:o,onClick:this.rotateClockwise},{default:()=>c(sS,null)}),"tipClockwise"),n(c(ot,{clsPrefix:o,onClick:this.resizeToOrignalImageSize},{default:()=>c(fS,null)}),"tipOriginalSize"),n(c(ot,{clsPrefix:o,onClick:this.zoomOut},{default:()=>c(uS,null)}),"tipZoomOut"),n(c(ot,{clsPrefix:o,onClick:this.zoomIn},{default:()=>c(cS,null)}),"tipZoomIn"),n(c(ot,{clsPrefix:o,onClick:this.handleDownloadClick},{default:()=>IT}),"tipDownload"),n(c(ot,{clsPrefix:o,onClick:this.toggleShow},{default:()=>OT}),"tipClose"))}}):null,c(kt,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:n={}}=this;return It(c("div",{class:`${o}-image-preview-wrapper`,ref:"previewWrapperRef"},c("img",Object.assign({},n,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${o}-image-preview`,n.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[ao,this.show]])}})),[[On,{enabled:this.show}]])):null}}))}}),AT="n-image-group",LT=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},xp),M8=ne({name:"Image",props:LT,inheritAttrs:!1,setup(e){const t=E(null),o=E(!1),r=E(null),n=Te(AT,null),{mergedClsPrefixRef:i}=n||He(e),a={click:()=>{if(e.previewDisabled||o.value)return;const d=e.previewSrc||e.src;if(n){n.setPreviewSrc(d),n.setThumbnailEl(t.value),n.toggleShow();return}const{value:u}=r;u&&(u.setPreviewSrc(d),u.setThumbnailEl(t.value),u.toggleShow())}},l=E(!e.lazy);gt(()=>{var d;(d=t.value)===null||d===void 0||d.setAttribute("data-group-id",(n==null?void 0:n.groupId)||"")}),gt(()=>{if(e.lazy&&e.intersectionObserverOptions){let d;const u=vt(()=>{d==null||d(),d=void 0,d=uf(t.value,e.intersectionObserverOptions,l)});dt(()=>{u(),d==null||d()})}}),vt(()=>{var d;e.src||((d=e.imgProps)===null||d===void 0||d.src),o.value=!1});const s=E(!1);return Ue(Cp,{previewedImgPropsRef:he(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:i,groupId:n==null?void 0:n.groupId,previewInstRef:r,imageRef:t,showError:o,shouldStartLoading:l,loaded:s,mergedOnClick:d=>{var u,h;a.click(),(h=(u=e.imgProps)===null||u===void 0?void 0:u.onClick)===null||h===void 0||h.call(u,d)},mergedOnError:d=>{if(!l.value)return;o.value=!0;const{onError:u,imgProps:{onError:h}={}}=e;u==null||u(d),h==null||h(d)},mergedOnLoad:d=>{const{onLoad:u,imgProps:{onLoad:h}={}}=e;u==null||u(d),h==null||h(d),s.value=!0}},a)},render(){var e,t;const{mergedClsPrefix:o,imgProps:r={},loaded:n,$attrs:i,lazy:a}=this,l=(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e),s=this.src||r.src,d=c("img",Object.assign(Object.assign({},r),{ref:"imageRef",width:this.width||r.width,height:this.height||r.height,src:this.showError?this.fallbackSrc:a&&this.intersectionObserverOptions?this.shouldStartLoading?s:void 0:s,alt:this.alt||r.alt,"aria-label":this.alt||r.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:cf&&a&&!this.intersectionObserverOptions?"lazy":"eager",style:[r.style||"",l&&!n?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return c("div",Object.assign({},i,{role:"none",class:[i.class,`${o}-image`,(this.previewDisabled||this.showError)&&`${o}-image--preview-disabled`]}),this.groupId?d:c(ET,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:o,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},{default:()=>d}),!n&&l)}});function _T(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function DT(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function Ra(e){return e==null?!0:!Number.isNaN(e)}function Kd(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Pa(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const HT=z([y("input-number-suffix",`
    + display: inline-block;
    + margin-right: 10px;
    + `),y("input-number-prefix",`
    + display: inline-block;
    + margin-left: 10px;
    + `)]),qd=800,Gd=100,jT=Object.assign(Object.assign({},we.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),O8=ne({name:"InputNumber",props:jT,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:o,mergedRtlRef:r}=He(e),n=we("InputNumber","-input-number",HT,Hh,e,o),{localeRef:i}=wo("InputNumber"),a=So(e),{mergedSizeRef:l,mergedDisabledRef:s,mergedStatusRef:d}=a,u=E(null),h=E(null),p=E(null),g=E(e.defaultValue),f=he(e,"value"),v=$t(f,g),m=E(""),b=ee=>{const Ce=String(ee).split(".")[1];return Ce?Ce.length:0},C=ee=>{const Ce=[e.min,e.max,e.step,ee].map(Pe=>Pe===void 0?0:b(Pe));return Math.max(...Ce)},R=Ye(()=>{const{placeholder:ee}=e;return ee!==void 0?ee:i.value.placeholder}),$=Ye(()=>{const ee=Pa(e.step);return ee!==null?ee===0?1:Math.abs(ee):1}),S=Ye(()=>{const ee=Pa(e.min);return ee!==null?ee:null}),w=Ye(()=>{const ee=Pa(e.max);return ee!==null?ee:null}),x=ee=>{const{value:Ce}=v;if(ee===Ce){P();return}const{"onUpdate:value":Pe,onUpdateValue:K,onChange:Q}=e,{nTriggerFormInput:pe,nTriggerFormChange:V}=a;Q&&ie(Q,ee),K&&ie(K,ee),Pe&&ie(Pe,ee),g.value=ee,pe(),V()},k=({offset:ee,doUpdateIfValid:Ce,fixPrecision:Pe,isInputing:K})=>{const{value:Q}=m;if(K&&DT(Q))return!1;const pe=(e.parse||_T)(Q);if(pe===null)return Ce&&x(null),null;if(Ra(pe)){const V=b(pe),{precision:D}=e;if(D!==void 0&&DSe){if(!Ce||K)return!1;J=Se}if(Le!==null&&J{const{value:ee}=v;if(Ra(ee)){const{format:Ce,precision:Pe}=e;Ce?m.value=Ce(ee):ee===null||Pe===void 0||b(ee)>Pe?m.value=Kd(ee,void 0):m.value=Kd(ee,Pe)}else m.value=String(ee)};P();const I=Ye(()=>k({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),A=Ye(()=>{const{value:ee}=v;if(e.validator&&ee===null)return!1;const{value:Ce}=$;return k({offset:-Ce,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),O=Ye(()=>{const{value:ee}=v;if(e.validator&&ee===null)return!1;const{value:Ce}=$;return k({offset:+Ce,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function L(ee){const{onFocus:Ce}=e,{nTriggerFormFocus:Pe}=a;Ce&&ie(Ce,ee),Pe()}function H(ee){var Ce,Pe;if(ee.target===((Ce=u.value)===null||Ce===void 0?void 0:Ce.wrapperElRef))return;const K=k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(K!==!1){const V=(Pe=u.value)===null||Pe===void 0?void 0:Pe.inputElRef;V&&(V.value=String(K||"")),v.value===K&&P()}else P();const{onBlur:Q}=e,{nTriggerFormBlur:pe}=a;Q&&ie(Q,ee),pe(),ut(()=>{P()})}function _(ee){const{onClear:Ce}=e;Ce&&ie(Ce,ee)}function U(){const{value:ee}=O;if(!ee){me();return}const{value:Ce}=v;if(Ce===null)e.validator||x(ae());else{const{value:Pe}=$;k({offset:Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function N(){const{value:ee}=A;if(!ee){ge();return}const{value:Ce}=v;if(Ce===null)e.validator||x(ae());else{const{value:Pe}=$;k({offset:-Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const te=L,fe=H;function ae(){if(e.validator)return null;const{value:ee}=S,{value:Ce}=w;return ee!==null?Math.max(0,ee):Ce!==null?Math.min(0,Ce):0}function Y(ee){_(ee),x(null)}function j(ee){var Ce,Pe,K;!((Ce=p.value)===null||Ce===void 0)&&Ce.$el.contains(ee.target)&&ee.preventDefault(),!((Pe=h.value)===null||Pe===void 0)&&Pe.$el.contains(ee.target)&&ee.preventDefault(),(K=u.value)===null||K===void 0||K.activate()}let X=null,re=null,le=null;function ge(){le&&(window.clearTimeout(le),le=null),X&&(window.clearInterval(X),X=null)}function me(){q&&(window.clearTimeout(q),q=null),re&&(window.clearInterval(re),re=null)}function Ae(){ge(),le=window.setTimeout(()=>{X=window.setInterval(()=>{N()},Gd)},qd),tt("mouseup",document,ge,{once:!0})}let q=null;function ve(){me(),q=window.setTimeout(()=>{re=window.setInterval(()=>{U()},Gd)},qd),tt("mouseup",document,me,{once:!0})}const $e=()=>{re||U()},Oe=()=>{X||N()};function Z(ee){var Ce,Pe;if(ee.key==="Enter"){if(ee.target===((Ce=u.value)===null||Ce===void 0?void 0:Ce.wrapperElRef))return;k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((Pe=u.value)===null||Pe===void 0||Pe.deactivate())}else if(ee.key==="ArrowUp"){if(!O.value||e.keyboard.ArrowUp===!1)return;ee.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&U()}else if(ee.key==="ArrowDown"){if(!A.value||e.keyboard.ArrowDown===!1)return;ee.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&N()}}function ue(ee){m.value=ee,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&k({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}Je(v,()=>{P()});const be={focus:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.focus()},blur:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.blur()},select:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.select()}},De=Rt("InputNumber",r,o);return Object.assign(Object.assign({},be),{rtlEnabled:De,inputInstRef:u,minusButtonInstRef:h,addButtonInstRef:p,mergedClsPrefix:o,mergedBordered:t,uncontrolledValue:g,mergedValue:v,mergedPlaceholder:R,displayedValueInvalid:I,mergedSize:l,mergedDisabled:s,displayedValue:m,addable:O,minusable:A,mergedStatus:d,handleFocus:te,handleBlur:fe,handleClear:Y,handleMouseDown:j,handleAddClick:$e,handleMinusClick:Oe,handleAddMousedown:ve,handleMinusMousedown:Ae,handleKeyDown:Z,handleUpdateDisplayedValue:ue,mergedTheme:n,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:T(()=>{const{self:{iconColorDisabled:ee}}=n.value,[Ce,Pe,K,Q]=Co(ee);return{textColorTextDisabled:`rgb(${Ce}, ${Pe}, ${K})`,opacityDisabled:`${Q}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,o=()=>c($d,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>Bt(t["minus-icon"],()=>[c(ot,{clsPrefix:e},{default:()=>c(aS,null)})])}),r=()=>c($d,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>Bt(t["add-icon"],()=>[c(ot,{clsPrefix:e},{default:()=>c(Iu,null)})])});return c("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},c(Ga,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var n;return this.showButton&&this.buttonPlacement==="both"?[o(),Ze(t.prefix,i=>i?c("span",{class:`${e}-input-number-prefix`},i):null)]:(n=t.prefix)===null||n===void 0?void 0:n.call(t)},suffix:()=>{var n;return this.showButton?[Ze(t.suffix,i=>i?c("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?o():null,r()]:(n=t.suffix)===null||n===void 0?void 0:n.call(t)}}))}}),WT="n-layout-sider",wp={type:String,default:"static"},NT=y("layout",`
    + color: var(--n-text-color);
    + background-color: var(--n-color);
    + box-sizing: border-box;
    + position: relative;
    + z-index: auto;
    + flex: auto;
    + overflow: hidden;
    + transition:
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    +`,[y("layout-scroll-container",`
    + overflow-x: hidden;
    + box-sizing: border-box;
    + height: 100%;
    + `),B("absolute-positioned",`
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + `)]),VT={embedded:Boolean,position:wp,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},Sp="n-layout";function kp(e){return ne({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},we.props),VT),setup(t){const o=E(null),r=E(null),{mergedClsPrefixRef:n,inlineThemeDisabled:i}=He(t),a=we("Layout","-layout",NT,Nl,t,n);function l(v,m){if(t.nativeScrollbar){const{value:b}=o;b&&(m===void 0?b.scrollTo(v):b.scrollTo(v,m))}else{const{value:b}=r;b&&b.scrollTo(v,m)}}Ue(Sp,t);let s=0,d=0;const u=v=>{var m;const b=v.target;s=b.scrollLeft,d=b.scrollTop,(m=t.onScroll)===null||m===void 0||m.call(t,v)};ul(()=>{if(t.nativeScrollbar){const v=o.value;v&&(v.scrollTop=d,v.scrollLeft=s)}});const h={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},p={scrollTo:l},g=T(()=>{const{common:{cubicBezierEaseInOut:v},self:m}=a.value;return{"--n-bezier":v,"--n-color":t.embedded?m.colorEmbedded:m.color,"--n-text-color":m.textColor}}),f=i?Qe("layout",T(()=>t.embedded?"e":""),g,t):void 0;return Object.assign({mergedClsPrefix:n,scrollableElRef:o,scrollbarInstRef:r,hasSiderStyle:h,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:g,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender},p)},render(){var t;const{mergedClsPrefix:o,hasSider:r}=this;(t=this.onRender)===null||t===void 0||t.call(this);const n=r?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${o}-layout-content`,`${o}-layout`,`${o}-layout--${this.position}-positioned`];return c("div",{class:i,style:this.cssVars},this.nativeScrollbar?c("div",{ref:"scrollableElRef",class:[`${o}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,n],onScroll:this.handleNativeElScroll},this.$slots):c(so,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,n]}),this.$slots))}})}const I8=kp(!1),F8=kp(!0),UT=y("layout-sider",`
    + flex-shrink: 0;
    + box-sizing: border-box;
    + position: relative;
    + z-index: 1;
    + color: var(--n-text-color);
    + transition:
    + color .3s var(--n-bezier),
    + border-color .3s var(--n-bezier),
    + min-width .3s var(--n-bezier),
    + max-width .3s var(--n-bezier),
    + transform .3s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + background-color: var(--n-color);
    + display: flex;
    + justify-content: flex-end;
    +`,[B("bordered",[M("border",`
    + content: "";
    + position: absolute;
    + top: 0;
    + bottom: 0;
    + width: 1px;
    + background-color: var(--n-border-color);
    + transition: background-color .3s var(--n-bezier);
    + `)]),M("left-placement",[B("bordered",[M("border",`
    + right: 0;
    + `)])]),B("right-placement",`
    + justify-content: flex-start;
    + `,[B("bordered",[M("border",`
    + left: 0;
    + `)]),B("collapsed",[y("layout-toggle-button",[y("base-icon",`
    + transform: rotate(180deg);
    + `)]),y("layout-toggle-bar",[z("&:hover",[M("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),M("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),y("layout-toggle-button",`
    + left: 0;
    + transform: translateX(-50%) translateY(-50%);
    + `,[y("base-icon",`
    + transform: rotate(0);
    + `)]),y("layout-toggle-bar",`
    + left: -28px;
    + transform: rotate(180deg);
    + `,[z("&:hover",[M("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),M("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),B("collapsed",[y("layout-toggle-bar",[z("&:hover",[M("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),M("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),y("layout-toggle-button",[y("base-icon",`
    + transform: rotate(0);
    + `)])]),y("layout-toggle-button",`
    + transition:
    + color .3s var(--n-bezier),
    + right .3s var(--n-bezier),
    + left .3s var(--n-bezier),
    + border-color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + cursor: pointer;
    + width: 24px;
    + height: 24px;
    + position: absolute;
    + top: 50%;
    + right: 0;
    + border-radius: 50%;
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + font-size: 18px;
    + color: var(--n-toggle-button-icon-color);
    + border: var(--n-toggle-button-border);
    + background-color: var(--n-toggle-button-color);
    + box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .06);
    + transform: translateX(50%) translateY(-50%);
    + z-index: 1;
    + `,[y("base-icon",`
    + transition: transform .3s var(--n-bezier);
    + transform: rotate(180deg);
    + `)]),y("layout-toggle-bar",`
    + cursor: pointer;
    + height: 72px;
    + width: 32px;
    + position: absolute;
    + top: calc(50% - 36px);
    + right: -28px;
    + `,[M("top, bottom",`
    + position: absolute;
    + width: 4px;
    + border-radius: 2px;
    + height: 38px;
    + left: 14px;
    + transition: 
    + background-color .3s var(--n-bezier),
    + transform .3s var(--n-bezier);
    + `),M("bottom",`
    + position: absolute;
    + top: 34px;
    + `),z("&:hover",[M("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),M("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),M("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),z("&:hover",[M("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),M("border",`
    + position: absolute;
    + top: 0;
    + right: 0;
    + bottom: 0;
    + width: 1px;
    + transition: background-color .3s var(--n-bezier);
    + `),y("layout-sider-scroll-container",`
    + flex-grow: 1;
    + flex-shrink: 0;
    + box-sizing: border-box;
    + height: 100%;
    + opacity: 0;
    + transition: opacity .3s var(--n-bezier);
    + max-width: 100%;
    + `),B("show-content",[y("layout-sider-scroll-container",{opacity:1})]),B("absolute-positioned",`
    + position: absolute;
    + left: 0;
    + top: 0;
    + bottom: 0;
    + `)]),KT=ne({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return c("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},c(ot,{clsPrefix:e},{default:()=>c(kl,null)}))}}),qT=ne({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return c("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},c("div",{class:`${e}-layout-toggle-bar__top`}),c("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),GT={position:wp,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},E8=ne({name:"LayoutSider",props:Object.assign(Object.assign({},we.props),GT),setup(e){const t=Te(Sp),o=E(null),r=E(null),n=T(()=>mt(s.value?e.collapsedWidth:e.width)),i=T(()=>e.collapseMode!=="transform"?{}:{minWidth:mt(e.width)}),a=T(()=>t?t.siderPlacement:"left"),l=E(e.defaultCollapsed),s=$t(he(e,"collapsed"),l);function d(S,w){if(e.nativeScrollbar){const{value:x}=o;x&&(w===void 0?x.scrollTo(S):x.scrollTo(S,w))}else{const{value:x}=r;x&&x.scrollTo(S,w)}}function u(){const{"onUpdate:collapsed":S,onUpdateCollapsed:w,onExpand:x,onCollapse:k}=e,{value:P}=s;w&&ie(w,!P),S&&ie(S,!P),l.value=!P,P?x&&ie(x):k&&ie(k)}let h=0,p=0;const g=S=>{var w;const x=S.target;h=x.scrollLeft,p=x.scrollTop,(w=e.onScroll)===null||w===void 0||w.call(e,S)};ul(()=>{if(e.nativeScrollbar){const S=o.value;S&&(S.scrollTop=p,S.scrollLeft=h)}}),Ue(WT,{collapsedRef:s,collapseModeRef:he(e,"collapseMode")});const{mergedClsPrefixRef:f,inlineThemeDisabled:v}=He(e),m=we("Layout","-layout-sider",UT,Nl,e,f);function b(S){var w,x;S.propertyName==="max-width"&&(s.value?(w=e.onAfterLeave)===null||w===void 0||w.call(e):(x=e.onAfterEnter)===null||x===void 0||x.call(e))}const C={scrollTo:d},R=T(()=>{const{common:{cubicBezierEaseInOut:S},self:w}=m.value,{siderToggleButtonColor:x,siderToggleButtonBorder:k,siderToggleBarColor:P,siderToggleBarColorHover:I}=w,A={"--n-bezier":S,"--n-toggle-button-color":x,"--n-toggle-button-border":k,"--n-toggle-bar-color":P,"--n-toggle-bar-color-hover":I};return e.inverted?(A["--n-color"]=w.siderColorInverted,A["--n-text-color"]=w.textColorInverted,A["--n-border-color"]=w.siderBorderColorInverted,A["--n-toggle-button-icon-color"]=w.siderToggleButtonIconColorInverted,A.__invertScrollbar=w.__invertScrollbar):(A["--n-color"]=w.siderColor,A["--n-text-color"]=w.textColor,A["--n-border-color"]=w.siderBorderColor,A["--n-toggle-button-icon-color"]=w.siderToggleButtonIconColor),A}),$=v?Qe("layout-sider",T(()=>e.inverted?"a":"b"),R,e):void 0;return Object.assign({scrollableElRef:o,scrollbarInstRef:r,mergedClsPrefix:f,mergedTheme:m,styleMaxWidth:n,mergedCollapsed:s,scrollContainerStyle:i,siderPlacement:a,handleNativeElScroll:g,handleTransitionend:b,handleTriggerClick:u,inlineThemeDisabled:v,cssVars:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender},C)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:o,showTrigger:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,o&&`${t}-layout-sider--collapsed`,(!o||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:mt(this.width)}]},this.nativeScrollbar?c("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):c(so,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),r?r==="bar"?c(qT,{clsPrefix:t,class:o?this.collapsedTriggerClass:this.triggerClass,style:o?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):c(KT,{clsPrefix:t,class:o?this.collapsedTriggerClass:this.triggerClass,style:o?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?c("div",{class:`${t}-layout-sider__border`}):null)}}),$p={extraFontSize:"12px",width:"440px"},XT={name:"Transfer",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Input:Jt,Empty:xr,Button:jt},self(e){const{iconColorDisabled:t,iconColor:o,fontWeight:r,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:u,inputColor:h,tableHeaderColor:p,textColor1:g,textColorDisabled:f,textColor2:v,hoverColor:m}=e;return Object.assign(Object.assign({},$p),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:u,borderColor:"#0000",listColor:h,headerColor:p,titleTextColor:g,titleTextColorDisabled:f,extraTextColor:v,filterDividerColor:"#0000",itemTextColor:v,itemTextColorDisabled:f,itemColorPending:m,titleFontWeight:r,iconColor:o,iconColorDisabled:t})}},YT=XT,ZT=e=>{const{fontWeight:t,iconColorDisabled:o,iconColor:r,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:u,cardColor:h,tableHeaderColor:p,textColor1:g,textColorDisabled:f,textColor2:v,borderColor:m,hoverColor:b}=e;return Object.assign(Object.assign({},$p),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:u,borderColor:m,listColor:h,headerColor:Ee(h,p),titleTextColor:g,titleTextColorDisabled:f,extraTextColor:v,filterDividerColor:m,itemTextColor:v,itemTextColorDisabled:f,itemColorPending:b,titleFontWeight:t,iconColor:r,iconColorDisabled:o})},JT={name:"Transfer",common:xe,peers:{Checkbox:yr,Scrollbar:Et,Input:Ht,Empty:$o,Button:At},self:ZT},QT=JT,Rp="n-loading-bar",Pp="n-loading-bar-api",e6=y("loading-bar-container",`
    + z-index: 5999;
    + position: fixed;
    + top: 0;
    + left: 0;
    + right: 0;
    + height: 2px;
    +`,[cr({enterDuration:"0.3s",leaveDuration:"0.8s"}),y("loading-bar",`
    + width: 100%;
    + transition:
    + max-width 4s linear,
    + background .2s linear;
    + height: var(--n-height);
    + `,[B("starting",`
    + background: var(--n-color-loading);
    + `),B("finishing",`
    + background: var(--n-color-loading);
    + transition:
    + max-width .2s linear,
    + background .2s linear;
    + `),B("error",`
    + background: var(--n-color-error);
    + transition:
    + max-width .2s linear,
    + background .2s linear;
    + `)])]);var ei=globalThis&&globalThis.__awaiter||function(e,t,o,r){function n(i){return i instanceof o?i:new o(function(a){a(i)})}return new(o||(o=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(h){a(h)}}function s(u){try{d(r.throw(u))}catch(h){a(h)}}function d(u){u.done?i(u.value):n(u.value).then(l,s)}d((r=r.apply(e,t||[])).next())})};function ti(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const t6=ne({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=He(),{props:t,mergedClsPrefixRef:o}=Te(Rp),r=E(null),n=E(!1),i=E(!1),a=E(!1),l=E(!1);let s=!1;const d=E(!1),u=T(()=>{const{loadingBarStyle:S}=t;return S?S[d.value?"error":"loading"]:""});function h(){return ei(this,void 0,void 0,function*(){n.value=!1,a.value=!1,s=!1,d.value=!1,l.value=!0,yield ut(),l.value=!1})}function p(S=0,w=80,x="starting"){return ei(this,void 0,void 0,function*(){if(i.value=!0,yield h(),s)return;a.value=!0,yield ut();const k=r.value;k&&(k.style.maxWidth=`${S}%`,k.style.transition="none",k.offsetWidth,k.className=ti(x,o.value),k.style.transition="",k.style.maxWidth=`${w}%`)})}function g(){return ei(this,void 0,void 0,function*(){if(s||d.value)return;i.value&&(yield ut()),s=!0;const S=r.value;S&&(S.className=ti("finishing",o.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1)})}function f(){if(!(s||d.value))if(!a.value)p(100,100,"error").then(()=>{d.value=!0;const S=r.value;S&&(S.className=ti("error",o.value),S.offsetWidth,a.value=!1)});else{d.value=!0;const S=r.value;if(!S)return;S.className=ti("error",o.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1}}function v(){n.value=!0}function m(){n.value=!1}function b(){return ei(this,void 0,void 0,function*(){yield h()})}const C=we("LoadingBar","-loading-bar",e6,Wh,t,o),R=T(()=>{const{self:{height:S,colorError:w,colorLoading:x}}=C.value;return{"--n-height":S,"--n-color-loading":x,"--n-color-error":w}}),$=e?Qe("loading-bar",void 0,R,t):void 0;return{mergedClsPrefix:o,loadingBarRef:r,started:i,loading:a,entering:n,transitionDisabled:l,start:p,error:f,finish:g,handleEnter:v,handleAfterEnter:m,handleAfterLeave:b,mergedLoadingBarStyle:u,cssVars:e?void 0:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return c(kt,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),It(c("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},c("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[ao,this.loading||!this.loading&&this.entering]])}})}}),o6=Object.assign(Object.assign({},we.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),A8=ne({name:"LoadingBarProvider",props:o6,setup(e){const t=Ao(),o=E(null),r={start(){var i;t.value?(i=o.value)===null||i===void 0||i.start():ut(()=>{var a;(a=o.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=o.value)===null||i===void 0||i.error():ut(()=>{var a;(a=o.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=o.value)===null||i===void 0||i.finish():ut(()=>{var a;(a=o.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:n}=He(e);return Ue(Pp,r),Ue(Rp,{props:e,mergedClsPrefixRef:n}),Object.assign(r,{loadingBarRef:o})},render(){var e,t;return c(yt,null,c(yi,{disabled:this.to===!1,to:this.to||"body"},c(t6,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function L8(){const e=Te(Pp,null);return e===null&&hr("use-loading-bar","No outer  founded."),e}const zp={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},Tp="n-message-api",Bp="n-message-provider",r6=z([y("message-wrapper",`
    + margin: var(--n-margin);
    + z-index: 0;
    + transform-origin: top center;
    + display: flex;
    + `,[j2({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),y("message",`
    + box-sizing: border-box;
    + display: flex;
    + align-items: center;
    + transition:
    + color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + opacity .3s var(--n-bezier),
    + transform .3s var(--n-bezier),
    + margin-bottom .3s var(--n-bezier);
    + padding: var(--n-padding);
    + border-radius: var(--n-border-radius);
    + flex-wrap: nowrap;
    + overflow: hidden;
    + max-width: var(--n-max-width);
    + color: var(--n-text-color);
    + background-color: var(--n-color);
    + box-shadow: var(--n-box-shadow);
    + `,[M("content",`
    + display: inline-block;
    + line-height: var(--n-line-height);
    + font-size: var(--n-font-size);
    + `),M("icon",`
    + position: relative;
    + margin: var(--n-icon-margin);
    + height: var(--n-icon-size);
    + width: var(--n-icon-size);
    + font-size: var(--n-icon-size);
    + flex-shrink: 0;
    + `,[["default","info","success","warning","error","loading"].map(e=>B(`${e}-type`,[z("> *",`
    + color: var(--n-icon-color-${e});
    + transition: color .3s var(--n-bezier);
    + `)])),z("> *",`
    + position: absolute;
    + left: 0;
    + top: 0;
    + right: 0;
    + bottom: 0;
    + `,[Wt()])]),M("close",`
    + margin: var(--n-close-margin);
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + flex-shrink: 0;
    + `,[z("&:hover",`
    + color: var(--n-close-icon-color-hover);
    + `),z("&:active",`
    + color: var(--n-close-icon-color-pressed);
    + `)])]),y("message-container",`
    + z-index: 6000;
    + position: fixed;
    + height: 0;
    + overflow: visible;
    + display: flex;
    + flex-direction: column;
    + align-items: center;
    + `,[B("top",`
    + top: 12px;
    + left: 0;
    + right: 0;
    + `),B("top-left",`
    + top: 12px;
    + left: 12px;
    + right: 0;
    + align-items: flex-start;
    + `),B("top-right",`
    + top: 12px;
    + left: 0;
    + right: 12px;
    + align-items: flex-end;
    + `),B("bottom",`
    + bottom: 4px;
    + left: 0;
    + right: 0;
    + justify-content: flex-end;
    + `),B("bottom-left",`
    + bottom: 4px;
    + left: 12px;
    + right: 0;
    + justify-content: flex-end;
    + align-items: flex-start;
    + `),B("bottom-right",`
    + bottom: 4px;
    + left: 0;
    + right: 12px;
    + justify-content: flex-end;
    + align-items: flex-end;
    + `)])]),n6={info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null),default:()=>null},i6=ne({name:"Message",props:Object.assign(Object.assign({},zp),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:o}=He(e),{props:r,mergedClsPrefixRef:n}=Te(Bp),i=Rt("Message",o,n),a=we("Message","-message",r6,Dh,r,n),l=T(()=>{const{type:d}=e,{common:{cubicBezierEaseInOut:u},self:{padding:h,margin:p,maxWidth:g,iconMargin:f,closeMargin:v,closeSize:m,iconSize:b,fontSize:C,lineHeight:R,borderRadius:$,iconColorInfo:S,iconColorSuccess:w,iconColorWarning:x,iconColorError:k,iconColorLoading:P,closeIconSize:I,closeBorderRadius:A,[oe("textColor",d)]:O,[oe("boxShadow",d)]:L,[oe("color",d)]:H,[oe("closeColorHover",d)]:_,[oe("closeColorPressed",d)]:U,[oe("closeIconColor",d)]:N,[oe("closeIconColorPressed",d)]:te,[oe("closeIconColorHover",d)]:fe}}=a.value;return{"--n-bezier":u,"--n-margin":p,"--n-padding":h,"--n-max-width":g,"--n-font-size":C,"--n-icon-margin":f,"--n-icon-size":b,"--n-close-icon-size":I,"--n-close-border-radius":A,"--n-close-size":m,"--n-close-margin":v,"--n-text-color":O,"--n-color":H,"--n-box-shadow":L,"--n-icon-color-info":S,"--n-icon-color-success":w,"--n-icon-color-warning":x,"--n-icon-color-error":k,"--n-icon-color-loading":P,"--n-close-color-hover":_,"--n-close-color-pressed":U,"--n-close-icon-color":N,"--n-close-icon-color-pressed":te,"--n-close-icon-color-hover":fe,"--n-line-height":R,"--n-border-radius":$}}),s=t?Qe("message",T(()=>e.type[0]),l,{}):void 0;return{mergedClsPrefix:n,rtlEnabled:i,messageProviderProps:r,handleClose(){var d;(d=e.onClose)===null||d===void 0||d.call(e)},cssVars:t?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender,placement:r.placement}},render(){const{render:e,type:t,closable:o,content:r,mergedClsPrefix:n,cssVars:i,themeClass:a,onRender:l,icon:s,handleClose:d,showIcon:u}=this;l==null||l();let h;return c("div",{class:[`${n}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):c("div",{class:[`${n}-message ${n}-message--${t}-type`,this.rtlEnabled&&`${n}-message--rtl`]},(h=a6(s,t,n))&&u?c("div",{class:`${n}-message__icon ${n}-message__icon--${t}-type`},c(br,null,{default:()=>h})):null,c("div",{class:`${n}-message__content`},pt(r)),o?c(mr,{clsPrefix:n,class:`${n}-message__close`,onClick:d,absolute:!0}):null))}});function a6(e,t,o){if(typeof e=="function")return e();{const r=t==="loading"?c(Yo,{clsPrefix:o,strokeWidth:24,scale:.85}):n6[t]();return r?c(ot,{clsPrefix:o,key:t},{default:()=>r}):null}}const l6=ne({name:"MessageEnvironment",props:Object.assign(Object.assign({},zp),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const o=E(!0);gt(()=>{r()});function r(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function n(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&r()}function a(){const{onHide:u}=e;o.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function l(){const{onClose:u}=e;u&&u(),a()}function s(){const{onAfterLeave:u,onInternalAfterLeave:h,onAfterHide:p,internalKey:g}=e;u&&u(),h&&h(g),p&&p()}function d(){a()}return{show:o,hide:a,handleClose:l,handleAfterLeave:s,handleMouseleave:i,handleMouseenter:n,deactivate:d}},render(){return c(Eu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?c(i6,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),s6=Object.assign(Object.assign({},we.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),_8=ne({name:"MessageProvider",props:s6,setup(e){const{mergedClsPrefixRef:t}=He(e),o=E([]),r=E({}),n={create(s,d){return i(s,Object.assign({type:"default"},d))},info(s,d){return i(s,Object.assign(Object.assign({},d),{type:"info"}))},success(s,d){return i(s,Object.assign(Object.assign({},d),{type:"success"}))},warning(s,d){return i(s,Object.assign(Object.assign({},d),{type:"warning"}))},error(s,d){return i(s,Object.assign(Object.assign({},d),{type:"error"}))},loading(s,d){return i(s,Object.assign(Object.assign({},d),{type:"loading"}))},destroyAll:l};Ue(Bp,{props:e,mergedClsPrefixRef:t}),Ue(Tp,n);function i(s,d){const u=Vo(),h=Ci(Object.assign(Object.assign({},d),{content:s,key:u,destroy:()=>{var g;(g=r.value[u])===null||g===void 0||g.hide()}})),{max:p}=e;return p&&o.value.length>=p&&o.value.shift(),o.value.push(h),h}function a(s){o.value.splice(o.value.findIndex(d=>d.key===s),1),delete r.value[s]}function l(){Object.values(r.value).forEach(s=>{s.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:r,messageList:o,handleAfterLeave:a},n)},render(){var e,t,o;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?c(yi,{to:(o=this.to)!==null&&o!==void 0?o:"body"},c("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(r=>c(l6,Object.assign({ref:n=>{n&&(this.messageRefs[r.key]=n)},internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave},fr(r,["destroy"],void 0),{duration:r.duration===void 0?this.duration:r.duration,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover,closable:r.closable===void 0?this.closable:r.closable}))))):null)}});function D8(){const e=Te(Tp,null);return e===null&&hr("use-message","No outer  founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Vi="n-notification-provider",d6=ne({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:o}=Te(Vi),r=E(null);return vt(()=>{var n,i;o.value>0?(n=r==null?void 0:r.value)===null||n===void 0||n.classList.add("transitioning"):(i=r==null?void 0:r.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:r,mergedTheme:e,mergedClsPrefix:t,transitioning:o}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:o,mergedTheme:r,placement:n}=this;return c("div",{ref:"selfRef",class:[`${o}-notification-container`,t&&`${o}-notification-container--scrollable`,`${o}-notification-container--${n}`]},t?c(so,{theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),c6={info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null),default:()=>null},Vl={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},u6=Uo(Vl),f6=ne({name:"Notification",props:Vl,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:o,props:r}=Te(Vi),{inlineThemeDisabled:n,mergedRtlRef:i}=He(),a=Rt("Notification",i,t),l=T(()=>{const{type:d}=e,{self:{color:u,textColor:h,closeIconColor:p,closeIconColorHover:g,closeIconColorPressed:f,headerTextColor:v,descriptionTextColor:m,actionTextColor:b,borderRadius:C,headerFontWeight:R,boxShadow:$,lineHeight:S,fontSize:w,closeMargin:x,closeSize:k,width:P,padding:I,closeIconSize:A,closeBorderRadius:O,closeColorHover:L,closeColorPressed:H,titleFontSize:_,metaFontSize:U,descriptionFontSize:N,[oe("iconColor",d)]:te},common:{cubicBezierEaseOut:fe,cubicBezierEaseIn:ae,cubicBezierEaseInOut:Y}}=o.value,{left:j,right:X,top:re,bottom:le}=_t(I);return{"--n-color":u,"--n-font-size":w,"--n-text-color":h,"--n-description-text-color":m,"--n-action-text-color":b,"--n-title-text-color":v,"--n-title-font-weight":R,"--n-bezier":Y,"--n-bezier-ease-out":fe,"--n-bezier-ease-in":ae,"--n-border-radius":C,"--n-box-shadow":$,"--n-close-border-radius":O,"--n-close-color-hover":L,"--n-close-color-pressed":H,"--n-close-icon-color":p,"--n-close-icon-color-hover":g,"--n-close-icon-color-pressed":f,"--n-line-height":S,"--n-icon-color":te,"--n-close-margin":x,"--n-close-size":k,"--n-close-icon-size":A,"--n-width":P,"--n-padding-left":j,"--n-padding-right":X,"--n-padding-top":re,"--n-padding-bottom":le,"--n-title-font-size":_,"--n-meta-font-size":U,"--n-description-font-size":N}}),s=n?Qe("notification",T(()=>e.type[0]),l,r):void 0;return{mergedClsPrefix:t,showAvatar:T(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:n?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},c("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?c("div",{class:`${t}-notification__avatar`},this.avatar?pt(this.avatar):this.type!=="default"?c(ot,{clsPrefix:t},{default:()=>c6[this.type]()}):null):null,this.closable?c(mr,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,c("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?c("div",{class:`${t}-notification-main__header`},pt(this.title)):null,this.description?c("div",{class:`${t}-notification-main__description`},pt(this.description)):null,this.content?c("pre",{class:`${t}-notification-main__content`},pt(this.content)):null,this.meta||this.action?c("div",{class:`${t}-notification-main-footer`},this.meta?c("div",{class:`${t}-notification-main-footer__meta`},pt(this.meta)):null,this.action?c("div",{class:`${t}-notification-main-footer__action`},pt(this.action)):null):null)))}}),h6=Object.assign(Object.assign({},Vl),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),p6=ne({name:"NotificationEnvironment",props:Object.assign(Object.assign({},h6),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Te(Vi),o=E(!0);let r=null;function n(){o.value=!1,r&&window.clearTimeout(r)}function i(f){t.value++,ut(()=>{f.style.height=`${f.offsetHeight}px`,f.style.maxHeight="0",f.style.transition="none",f.offsetHeight,f.style.transition="",f.style.maxHeight=f.style.height})}function a(f){t.value--,f.style.height="",f.style.maxHeight="";const{onAfterEnter:v,onAfterShow:m}=e;v&&v(),m&&m()}function l(f){t.value++,f.style.maxHeight=`${f.offsetHeight}px`,f.style.height=`${f.offsetHeight}px`,f.offsetHeight}function s(f){const{onHide:v}=e;v&&v(),f.style.maxHeight="0",f.offsetHeight}function d(){t.value--;const{onAfterLeave:f,onInternalAfterLeave:v,onAfterHide:m,internalKey:b}=e;f&&f(),v(b),m&&m()}function u(){const{duration:f}=e;f&&(r=window.setTimeout(n,f))}function h(f){f.currentTarget===f.target&&r!==null&&(window.clearTimeout(r),r=null)}function p(f){f.currentTarget===f.target&&u()}function g(){const{onClose:f}=e;f?Promise.resolve(f()).then(v=>{v!==!1&&n()}):n()}return gt(()=>{e.duration&&(r=window.setTimeout(n,e.duration))}),{show:o,hide:n,handleClose:g,handleAfterLeave:d,handleLeave:s,handleBeforeLeave:l,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:h,handleMouseleave:p}},render(){return c(kt,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?c(f6,Object.assign({},Io(this.$props,u6),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),v6=z([y("notification-container",`
    + z-index: 4000;
    + position: fixed;
    + overflow: visible;
    + display: flex;
    + flex-direction: column;
    + align-items: flex-end;
    + `,[z(">",[y("scrollbar",`
    + width: initial;
    + overflow: visible;
    + height: -moz-fit-content !important;
    + height: fit-content !important;
    + max-height: 100vh !important;
    + `,[z(">",[y("scrollbar-container",`
    + height: -moz-fit-content !important;
    + height: fit-content !important;
    + max-height: 100vh !important;
    + `,[y("scrollbar-content",`
    + padding-top: 12px;
    + padding-bottom: 33px;
    + `)])])])]),B("top, top-right, top-left",`
    + top: 12px;
    + `,[z("&.transitioning >",[y("scrollbar",[z(">",[y("scrollbar-container",`
    + min-height: 100vh !important;
    + `)])])])]),B("bottom, bottom-right, bottom-left",`
    + bottom: 12px;
    + `,[z(">",[y("scrollbar",[z(">",[y("scrollbar-container",[y("scrollbar-content",`
    + padding-bottom: 12px;
    + `)])])])]),y("notification-wrapper",`
    + display: flex;
    + align-items: flex-end;
    + margin-bottom: 0;
    + margin-top: 12px;
    + `)]),B("top, bottom",`
    + left: 50%;
    + transform: translateX(-50%);
    + `,[y("notification-wrapper",[z("&.notification-transition-enter-from, &.notification-transition-leave-to",`
    + transform: scale(0.85);
    + `),z("&.notification-transition-leave-from, &.notification-transition-enter-to",`
    + transform: scale(1);
    + `)])]),B("top",[y("notification-wrapper",`
    + transform-origin: top center;
    + `)]),B("bottom",[y("notification-wrapper",`
    + transform-origin: bottom center;
    + `)]),B("top-right, bottom-right",[y("notification",`
    + margin-left: 28px;
    + margin-right: 16px;
    + `)]),B("top-left, bottom-left",[y("notification",`
    + margin-left: 16px;
    + margin-right: 28px;
    + `)]),B("top-right",`
    + right: 0;
    + `,[oi("top-right")]),B("top-left",`
    + left: 0;
    + `,[oi("top-left")]),B("bottom-right",`
    + right: 0;
    + `,[oi("bottom-right")]),B("bottom-left",`
    + left: 0;
    + `,[oi("bottom-left")]),B("scrollable",[B("top-right",`
    + top: 0;
    + `),B("top-left",`
    + top: 0;
    + `),B("bottom-right",`
    + bottom: 0;
    + `),B("bottom-left",`
    + bottom: 0;
    + `)]),y("notification-wrapper",`
    + margin-bottom: 12px;
    + `,[z("&.notification-transition-enter-from, &.notification-transition-leave-to",`
    + opacity: 0;
    + margin-top: 0 !important;
    + margin-bottom: 0 !important;
    + `),z("&.notification-transition-leave-from, &.notification-transition-enter-to",`
    + opacity: 1;
    + `),z("&.notification-transition-leave-active",`
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + opacity .3s var(--n-bezier),
    + transform .3s var(--n-bezier-ease-in),
    + max-height .3s var(--n-bezier),
    + margin-top .3s linear,
    + margin-bottom .3s linear,
    + box-shadow .3s var(--n-bezier);
    + `),z("&.notification-transition-enter-active",`
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + opacity .3s var(--n-bezier),
    + transform .3s var(--n-bezier-ease-out),
    + max-height .3s var(--n-bezier),
    + margin-top .3s linear,
    + margin-bottom .3s linear,
    + box-shadow .3s var(--n-bezier);
    + `)]),y("notification",`
    + background-color: var(--n-color);
    + color: var(--n-text-color);
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + opacity .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier);
    + font-family: inherit;
    + font-size: var(--n-font-size);
    + font-weight: 400;
    + position: relative;
    + display: flex;
    + overflow: hidden;
    + flex-shrink: 0;
    + padding-left: var(--n-padding-left);
    + padding-right: var(--n-padding-right);
    + width: var(--n-width);
    + max-width: calc(100vw - 16px - 16px);
    + border-radius: var(--n-border-radius);
    + box-shadow: var(--n-box-shadow);
    + box-sizing: border-box;
    + opacity: 1;
    + `,[M("avatar",[y("icon",`
    + color: var(--n-icon-color);
    + `),y("base-icon",`
    + color: var(--n-icon-color);
    + `)]),B("show-avatar",[y("notification-main",`
    + margin-left: 40px;
    + width: calc(100% - 40px); 
    + `)]),B("closable",[y("notification-main",[z("> *:first-child",`
    + padding-right: 20px;
    + `)]),M("close",`
    + position: absolute;
    + top: 0;
    + right: 0;
    + margin: var(--n-close-margin);
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + `)]),M("avatar",`
    + position: absolute;
    + top: var(--n-padding-top);
    + left: var(--n-padding-left);
    + width: 28px;
    + height: 28px;
    + font-size: 28px;
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + `,[y("icon","transition: color .3s var(--n-bezier);")]),y("notification-main",`
    + padding-top: var(--n-padding-top);
    + padding-bottom: var(--n-padding-bottom);
    + box-sizing: border-box;
    + display: flex;
    + flex-direction: column;
    + margin-left: 8px;
    + width: calc(100% - 8px);
    + `,[y("notification-main-footer",`
    + display: flex;
    + align-items: center;
    + justify-content: space-between;
    + margin-top: 12px;
    + `,[M("meta",`
    + font-size: var(--n-meta-font-size);
    + transition: color .3s var(--n-bezier-ease-out);
    + color: var(--n-description-text-color);
    + `),M("action",`
    + cursor: pointer;
    + transition: color .3s var(--n-bezier-ease-out);
    + color: var(--n-action-text-color);
    + `)]),M("header",`
    + font-weight: var(--n-title-font-weight);
    + font-size: var(--n-title-font-size);
    + transition: color .3s var(--n-bezier-ease-out);
    + color: var(--n-title-text-color);
    + `),M("description",`
    + margin-top: 8px;
    + font-size: var(--n-description-font-size);
    + white-space: pre-wrap;
    + word-wrap: break-word;
    + transition: color .3s var(--n-bezier-ease-out);
    + color: var(--n-description-text-color);
    + `),M("content",`
    + line-height: var(--n-line-height);
    + margin: 12px 0 0 0;
    + font-family: inherit;
    + white-space: pre-wrap;
    + word-wrap: break-word;
    + transition: color .3s var(--n-bezier-ease-out);
    + color: var(--n-text-color);
    + `,[z("&:first-child","margin: 0;")])])])])]);function oi(e){const o=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",r="0";return y("notification-wrapper",[z("&.notification-transition-enter-from, &.notification-transition-leave-to",`
    + transform: translate(${o}, 0);
    + `),z("&.notification-transition-leave-from, &.notification-transition-enter-to",`
    + transform: translate(${r}, 0);
    + `)])}const Mp="n-notification-api",g6=Object.assign(Object.assign({},we.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),H8=ne({name:"NotificationProvider",props:g6,setup(e){const{mergedClsPrefixRef:t}=He(e),o=E([]),r={},n=new Set;function i(g){const f=Vo(),v=()=>{n.add(f),r[f]&&r[f].hide()},m=Ci(Object.assign(Object.assign({},g),{key:f,destroy:v,hide:v,deactivate:v})),{max:b}=e;if(b&&o.value.length-n.size>=b){let C=!1,R=0;for(const $ of o.value){if(!n.has($.key)){r[$.key]&&($.destroy(),C=!0);break}R++}C||o.value.splice(R,1)}return o.value.push(m),m}const a=["info","success","warning","error"].map(g=>f=>i(Object.assign(Object.assign({},f),{type:g})));function l(g){n.delete(g),o.value.splice(o.value.findIndex(f=>f.key===g),1)}const s=we("Notification","-notification",v6,Lh,e,t),d={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:h,destroyAll:p},u=E(0);Ue(Mp,d),Ue(Vi,{props:e,mergedClsPrefixRef:t,mergedThemeRef:s,wipTransitionCountRef:u});function h(g){return i(g)}function p(){Object.values(o.value).forEach(g=>{g.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:o,notificationRefs:r,handleAfterLeave:l},d)},render(){var e,t,o;const{placement:r}=this;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?c(yi,{to:(o=this.to)!==null&&o!==void 0?o:"body"},c(d6,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(n=>c(p6,Object.assign({ref:i=>{const a=n.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},fr(n,["destroy","hide","deactivate"]),{internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:n.keepAliveOnHover===void 0?this.keepAliveOnHover:n.keepAliveOnHover})))})):null)}});function j8(){const e=Te(Mp,null);return e===null&&hr("use-notification","No outer `n-notification-provider` found."),e}const Op="n-popconfirm",Ip={positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0}},Xd=Uo(Ip),b6=ne({name:"NPopconfirmPanel",props:Ip,setup(e){const{localeRef:t}=wo("Popconfirm"),{inlineThemeDisabled:o}=He(),{mergedClsPrefixRef:r,mergedThemeRef:n,props:i}=Te(Op),a=T(()=>{const{common:{cubicBezierEaseInOut:s},self:{fontSize:d,iconSize:u,iconColor:h}}=n.value;return{"--n-bezier":s,"--n-font-size":d,"--n-icon-size":u,"--n-icon-color":h}}),l=o?Qe("popconfirm-panel",void 0,a,i):void 0;return Object.assign(Object.assign({},wo("Popconfirm")),{mergedClsPrefix:r,cssVars:o?void 0:a,localizedPositiveText:T(()=>e.positiveText||t.value.positiveText),localizedNegativeText:T(()=>e.negativeText||t.value.negativeText),positiveButtonProps:he(i,"positiveButtonProps"),negativeButtonProps:he(i,"negativeButtonProps"),handlePositiveClick(s){e.onPositiveClick(s)},handleNegativeClick(s){e.onNegativeClick(s)},themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){var e;const{mergedClsPrefix:t,showIcon:o,$slots:r}=this,n=Bt(r.action,()=>this.negativeText===null&&this.positiveText===null?[]:[this.negativeText!==null&&c(jr,Object.assign({size:"small",onClick:this.handleNegativeClick},this.negativeButtonProps),{default:()=>this.localizedNegativeText}),this.positiveText!==null&&c(jr,Object.assign({size:"small",type:"primary",onClick:this.handlePositiveClick},this.positiveButtonProps),{default:()=>this.localizedPositiveText})]);return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-popconfirm__panel`,this.themeClass],style:this.cssVars},Ze(r.default,i=>o||i?c("div",{class:`${t}-popconfirm__body`},o?c("div",{class:`${t}-popconfirm__icon`},Bt(r.icon,()=>[c(ot,{clsPrefix:t},{default:()=>c(Fn,null)})])):null,i):null),n?c("div",{class:[`${t}-popconfirm__action`]},n):null)}}),m6=y("popconfirm",[M("body",`
    + font-size: var(--n-font-size);
    + display: flex;
    + align-items: center;
    + flex-wrap: nowrap;
    + position: relative;
    + `,[M("icon",`
    + display: flex;
    + font-size: var(--n-icon-size);
    + color: var(--n-icon-color);
    + transition: color .3s var(--n-bezier);
    + margin: 0 8px 0 0;
    + `)]),M("action",`
    + display: flex;
    + justify-content: flex-end;
    + `,[z("&:not(:first-child)","margin-top: 8px"),y("button",[z("&:not(:last-child)","margin-right: 8px;")])])]),x6=Object.assign(Object.assign(Object.assign({},we.props),ur),{positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},trigger:{type:String,default:"click"},positiveButtonProps:Object,negativeButtonProps:Object,onPositiveClick:Function,onNegativeClick:Function}),W8=ne({name:"Popconfirm",props:x6,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(),o=we("Popconfirm","-popconfirm",m6,Kh,e,t),r=E(null);function n(l){var s;if(!(!((s=r.value)===null||s===void 0)&&s.getMergedShow()))return;const{onPositiveClick:d,"onUpdate:show":u}=e;Promise.resolve(d?d(l):!0).then(h=>{var p;h!==!1&&((p=r.value)===null||p===void 0||p.setShow(!1),u&&ie(u,!1))})}function i(l){var s;if(!(!((s=r.value)===null||s===void 0)&&s.getMergedShow()))return;const{onNegativeClick:d,"onUpdate:show":u}=e;Promise.resolve(d?d(l):!0).then(h=>{var p;h!==!1&&((p=r.value)===null||p===void 0||p.setShow(!1),u&&ie(u,!1))})}return Ue(Op,{mergedThemeRef:o,mergedClsPrefixRef:t,props:e}),{setShow(l){var s;(s=r.value)===null||s===void 0||s.setShow(l)},syncPosition(){var l;(l=r.value)===null||l===void 0||l.syncPosition()},mergedTheme:o,popoverInstRef:r,handlePositiveClick:n,handleNegativeClick:i}},render(){const{$slots:e,$props:t,mergedTheme:o}=this;return c(Yr,fr(t,Xd,{theme:o.peers.Popover,themeOverrides:o.peerOverrides.Popover,internalExtraClass:["popconfirm"],ref:"popoverInstRef"}),{trigger:e.activator||e.trigger,default:()=>{const r=Io(t,Xd);return c(b6,Object.assign(Object.assign({},r),{onPositiveClick:this.handlePositiveClick,onNegativeClick:this.handleNegativeClick}),e)}})}}),C6={name:"QrCode",common:ke,self:e=>({borderRadius:e.borderRadius})},y6=C6,w6=e=>({borderRadius:e.borderRadius}),S6={name:"QrCode",common:xe,self:w6},k6=S6,$6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),c("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),c("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),c("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),c("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),c("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),R6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),c("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),c("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),P6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),c("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),c("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),c("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),c("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),c("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),z6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),c("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),T6=y("result",`
    + color: var(--n-text-color);
    + line-height: var(--n-line-height);
    + font-size: var(--n-font-size);
    + transition:
    + color .3s var(--n-bezier);
    +`,[y("result-icon",`
    + display: flex;
    + justify-content: center;
    + transition: color .3s var(--n-bezier);
    + `,[M("status-image",`
    + font-size: var(--n-icon-size);
    + width: 1em;
    + height: 1em;
    + `),y("base-icon",`
    + color: var(--n-icon-color);
    + font-size: var(--n-icon-size);
    + `)]),y("result-content",{marginTop:"24px"}),y("result-footer",`
    + margin-top: 24px;
    + text-align: center;
    + `),y("result-header",[M("title",`
    + margin-top: 16px;
    + font-weight: var(--n-title-font-weight);
    + transition: color .3s var(--n-bezier);
    + text-align: center;
    + color: var(--n-title-text-color);
    + font-size: var(--n-title-font-size);
    + `),M("description",`
    + margin-top: 4px;
    + text-align: center;
    + font-size: var(--n-font-size);
    + `)])]),B6={403:()=>z6,404:()=>$6,418:()=>P6,500:()=>R6,info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null)},M6=Object.assign(Object.assign({},we.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),N8=ne({name:"Result",props:M6,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Result","-result",T6,Zh,e,t),n=T(()=>{const{size:a,status:l}=e,{common:{cubicBezierEaseInOut:s},self:{textColor:d,lineHeight:u,titleTextColor:h,titleFontWeight:p,[oe("iconColor",l)]:g,[oe("fontSize",a)]:f,[oe("titleFontSize",a)]:v,[oe("iconSize",a)]:m}}=r.value;return{"--n-bezier":s,"--n-font-size":f,"--n-icon-size":m,"--n-line-height":u,"--n-text-color":d,"--n-title-font-size":v,"--n-title-font-weight":p,"--n-title-text-color":h,"--n-icon-color":g||""}}),i=o?Qe("result",T(()=>{const{size:a,status:l}=e;let s="";return a&&(s+=a[0]),l&&(s+=l[0]),s}),n,e):void 0;return{mergedClsPrefix:t,cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:o,mergedClsPrefix:r,onRender:n}=this;return n==null||n(),c("div",{class:[`${r}-result`,this.themeClass],style:this.cssVars},c("div",{class:`${r}-result-icon`},((e=o.icon)===null||e===void 0?void 0:e.call(o))||c(ot,{clsPrefix:r},{default:()=>B6[t]()})),c("div",{class:`${r}-result-header`},this.title?c("div",{class:`${r}-result-header__title`},this.title):null,this.description?c("div",{class:`${r}-result-header__description`},this.description):null),o.default&&c("div",{class:`${r}-result-content`},o),o.footer&&c("div",{class:`${r}-result-footer`},o.footer()))}}),O6=Object.assign(Object.assign({},we.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),I6=ne({name:"Scrollbar",props:O6,setup(){const e=E(null);return Object.assign(Object.assign({},{scrollTo:(...o)=>{var r;(r=e.value)===null||r===void 0||r.scrollTo(o[0],o[1])},scrollBy:(...o)=>{var r;(r=e.value)===null||r===void 0||r.scrollBy(o[0],o[1])}}),{scrollbarInstRef:e})},render(){return c(so,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),V8=I6,F6={name:"Skeleton",common:ke,self(e){const{heightSmall:t,heightMedium:o,heightLarge:r,borderRadius:n}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:n,heightSmall:t,heightMedium:o,heightLarge:r}}},E6=e=>{const{heightSmall:t,heightMedium:o,heightLarge:r,borderRadius:n}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:n,heightSmall:t,heightMedium:o,heightLarge:r}},Fp={name:"Skeleton",common:xe,self:E6},A6=z([y("skeleton",`
    + height: 1em;
    + width: 100%;
    + transition:
    + --n-color-start .3s var(--n-bezier),
    + --n-color-end .3s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + animation: 2s skeleton-loading infinite cubic-bezier(0.36, 0, 0.64, 1);
    + background-color: var(--n-color-start);
    + `),z("@keyframes skeleton-loading",`
    + 0% {
    + background: var(--n-color-start);
    + }
    + 40% {
    + background: var(--n-color-end);
    + }
    + 80% {
    + background: var(--n-color-start);
    + }
    + 100% {
    + background: var(--n-color-start);
    + }
    + `)]),L6=Object.assign(Object.assign({},we.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),U8=ne({name:"Skeleton",inheritAttrs:!1,props:L6,setup(e){gg();const{mergedClsPrefixRef:t}=He(e),o=we("Skeleton","-skeleton",A6,Fp,e,t);return{mergedClsPrefix:t,style:T(()=>{var r,n;const i=o.value,{common:{cubicBezierEaseInOut:a}}=i,l=i.self,{color:s,colorEnd:d,borderRadius:u}=l;let h;const{circle:p,sharp:g,round:f,width:v,height:m,size:b,text:C,animated:R}=e;b!==void 0&&(h=l[oe("height",b)]);const $=p?(r=v??m)!==null&&r!==void 0?r:h:v,S=(n=p?v??m:m)!==null&&n!==void 0?n:h;return{display:C?"inline-block":"",verticalAlign:C?"-0.125em":"",borderRadius:p?"50%":f?"4096px":g?"":u,width:typeof $=="number"?St($):$,height:typeof S=="number"?St(S):S,animation:R?"":"none","--n-bezier":a,"--n-color-start":s,"--n-color-end":d}})}},render(){const{repeat:e,style:t,mergedClsPrefix:o,$attrs:r}=this,n=c("div",Ft({class:`${o}-skeleton`,style:t},r));return e>1?c(yt,null,lc(e,null).map(i=>[n,`
    +`])):n}});function Yd(e){return window.TouchEvent&&e instanceof window.TouchEvent}function Zd(){const e=new Map,t=o=>r=>{e.set(o,r)};return fv(()=>{e.clear()}),[e,t]}const _6=z([y("slider",`
    + display: block;
    + padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;
    + position: relative;
    + z-index: 0;
    + width: 100%;
    + cursor: pointer;
    + user-select: none;
    + -webkit-user-select: none;
    + `,[B("reverse",[y("slider-handles",[y("slider-handle-wrapper",`
    + transform: translate(50%, -50%);
    + `)]),y("slider-dots",[y("slider-dot",`
    + transform: translateX(50%, -50%);
    + `)]),B("vertical",[y("slider-handles",[y("slider-handle-wrapper",`
    + transform: translate(-50%, -50%);
    + `)]),y("slider-marks",[y("slider-mark",`
    + transform: translateY(calc(-50% + var(--n-dot-height) / 2));
    + `)]),y("slider-dots",[y("slider-dot",`
    + transform: translateX(-50%) translateY(0);
    + `)])])]),B("vertical",`
    + padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2);
    + width: var(--n-rail-width-vertical);
    + height: 100%;
    + `,[y("slider-handles",`
    + top: calc(var(--n-handle-size) / 2);
    + right: 0;
    + bottom: calc(var(--n-handle-size) / 2);
    + left: 0;
    + `,[y("slider-handle-wrapper",`
    + top: unset;
    + left: 50%;
    + transform: translate(-50%, 50%);
    + `)]),y("slider-rail",`
    + height: 100%;
    + `,[M("fill",`
    + top: unset;
    + right: 0;
    + bottom: unset;
    + left: 0;
    + `)]),B("with-mark",`
    + width: var(--n-rail-width-vertical);
    + margin: 0 32px 0 8px;
    + `),y("slider-marks",`
    + top: calc(var(--n-handle-size) / 2);
    + right: unset;
    + bottom: calc(var(--n-handle-size) / 2);
    + left: 22px;
    + font-size: var(--n-mark-font-size);
    + `,[y("slider-mark",`
    + transform: translateY(50%);
    + white-space: nowrap;
    + `)]),y("slider-dots",`
    + top: calc(var(--n-handle-size) / 2);
    + right: unset;
    + bottom: calc(var(--n-handle-size) / 2);
    + left: 50%;
    + `,[y("slider-dot",`
    + transform: translateX(-50%) translateY(50%);
    + `)])]),B("disabled",`
    + cursor: not-allowed;
    + opacity: var(--n-opacity-disabled);
    + `,[y("slider-handle",`
    + cursor: not-allowed;
    + `)]),B("with-mark",`
    + width: 100%;
    + margin: 8px 0 32px 0;
    + `),z("&:hover",[y("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[M("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),y("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),B("active",[y("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[M("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),y("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),y("slider-marks",`
    + position: absolute;
    + top: 18px;
    + left: calc(var(--n-handle-size) / 2);
    + right: calc(var(--n-handle-size) / 2);
    + `,[y("slider-mark",`
    + position: absolute;
    + transform: translateX(-50%);
    + white-space: nowrap;
    + `)]),y("slider-rail",`
    + width: 100%;
    + position: relative;
    + height: var(--n-rail-height);
    + background-color: var(--n-rail-color);
    + transition: background-color .3s var(--n-bezier);
    + border-radius: calc(var(--n-rail-height) / 2);
    + `,[M("fill",`
    + position: absolute;
    + top: 0;
    + bottom: 0;
    + border-radius: calc(var(--n-rail-height) / 2);
    + transition: background-color .3s var(--n-bezier);
    + background-color: var(--n-fill-color);
    + `)]),y("slider-handles",`
    + position: absolute;
    + top: 0;
    + right: calc(var(--n-handle-size) / 2);
    + bottom: 0;
    + left: calc(var(--n-handle-size) / 2);
    + `,[y("slider-handle-wrapper",`
    + outline: none;
    + position: absolute;
    + top: 50%;
    + transform: translate(-50%, -50%);
    + cursor: pointer;
    + display: flex;
    + `,[y("slider-handle",`
    + height: var(--n-handle-size);
    + width: var(--n-handle-size);
    + border-radius: 50%;
    + overflow: hidden;
    + transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier);
    + background-color: var(--n-handle-color);
    + box-shadow: var(--n-handle-box-shadow);
    + `,[z("&:hover",`
    + box-shadow: var(--n-handle-box-shadow-hover);
    + `)]),z("&:focus",[y("slider-handle",`
    + box-shadow: var(--n-handle-box-shadow-focus);
    + `,[z("&:hover",`
    + box-shadow: var(--n-handle-box-shadow-active);
    + `)])])])]),y("slider-dots",`
    + position: absolute;
    + top: 50%;
    + left: calc(var(--n-handle-size) / 2);
    + right: calc(var(--n-handle-size) / 2);
    + `,[B("transition-disabled",[y("slider-dot","transition: none;")]),y("slider-dot",`
    + transition:
    + border-color .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + position: absolute;
    + transform: translate(-50%, -50%);
    + height: var(--n-dot-height);
    + width: var(--n-dot-width);
    + border-radius: var(--n-dot-border-radius);
    + overflow: hidden;
    + box-sizing: border-box;
    + border: var(--n-dot-border);
    + background-color: var(--n-dot-color);
    + `,[B("active","border: var(--n-dot-border-active);")])])]),y("slider-handle-indicator",`
    + font-size: var(--n-font-size);
    + padding: 6px 10px;
    + border-radius: var(--n-indicator-border-radius);
    + color: var(--n-indicator-text-color);
    + background-color: var(--n-indicator-color);
    + box-shadow: var(--n-indicator-box-shadow);
    + `,[Go()]),y("slider-handle-indicator",`
    + font-size: var(--n-font-size);
    + padding: 6px 10px;
    + border-radius: var(--n-indicator-border-radius);
    + color: var(--n-indicator-text-color);
    + background-color: var(--n-indicator-color);
    + box-shadow: var(--n-indicator-box-shadow);
    + `,[B("top",`
    + margin-bottom: 12px;
    + `),B("right",`
    + margin-left: 12px;
    + `),B("bottom",`
    + margin-top: 12px;
    + `),B("left",`
    + margin-right: 12px;
    + `),Go()]),Kr(y("slider",[y("slider-dot","background-color: var(--n-dot-color-modal);")])),Tn(y("slider",[y("slider-dot","background-color: var(--n-dot-color-popover);")]))]),D6=0,H6=Object.assign(Object.assign({},we.props),{to:Vt.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),K8=ne({name:"Slider",props:H6,setup(e){const{mergedClsPrefixRef:t,namespaceRef:o,inlineThemeDisabled:r}=He(e),n=we("Slider","-slider",_6,Qh,e,t),i=E(null),[a,l]=Zd(),[s,d]=Zd(),u=E(new Set),h=So(e),{mergedDisabledRef:p}=h,g=T(()=>{const{step:V}=e;if(Number(V)<=0||V==="mark")return 0;const D=V.toString();let J=0;return D.includes(".")&&(J=D.length-D.indexOf(".")-1),J}),f=E(e.defaultValue),v=he(e,"value"),m=$t(v,f),b=T(()=>{const{value:V}=m;return(e.range?V:[V]).map(j)}),C=T(()=>b.value.length>2),R=T(()=>e.placement===void 0?e.vertical?"right":"top":e.placement),$=T(()=>{const{marks:V}=e;return V?Object.keys(V).map(parseFloat):null}),S=E(-1),w=E(-1),x=E(-1),k=E(!1),P=E(!1),I=T(()=>{const{vertical:V,reverse:D}=e;return V?D?"top":"bottom":D?"right":"left"}),A=T(()=>{if(C.value)return;const V=b.value,D=X(e.range?Math.min(...V):e.min),J=X(e.range?Math.max(...V):V[0]),{value:Se}=I;return e.vertical?{[Se]:`${D}%`,height:`${J-D}%`}:{[Se]:`${D}%`,width:`${J-D}%`}}),O=T(()=>{const V=[],{marks:D}=e;if(D){const J=b.value.slice();J.sort((ye,ze)=>ye-ze);const{value:Se}=I,{value:Le}=C,{range:qe}=e,it=Le?()=>!1:ye=>qe?ye>=J[0]&&ye<=J[J.length-1]:ye<=J[0];for(const ye of Object.keys(D)){const ze=Number(ye);V.push({active:it(ze),label:D[ye],style:{[Se]:`${X(ze)}%`}})}}return V});function L(V,D){const J=X(V),{value:Se}=I;return{[Se]:`${J}%`,zIndex:D===S.value?1:0}}function H(V){return e.showTooltip||x.value===V||S.value===V&&k.value}function _(V){return k.value?!(S.value===V&&w.value===V):!0}function U(V){var D;~V&&(S.value=V,(D=a.get(V))===null||D===void 0||D.focus())}function N(){s.forEach((V,D)=>{H(D)&&V.syncPosition()})}function te(V){const{"onUpdate:value":D,onUpdateValue:J}=e,{nTriggerFormInput:Se,nTriggerFormChange:Le}=h;J&&ie(J,V),D&&ie(D,V),f.value=V,Se(),Le()}function fe(V){const{range:D}=e;if(D){if(Array.isArray(V)){const{value:J}=b;V.join()!==J.join()&&te(V)}}else Array.isArray(V)||b.value[0]!==V&&te(V)}function ae(V,D){if(e.range){const J=b.value.slice();J.splice(D,1,V),fe(J)}else fe(V)}function Y(V,D,J){const Se=J!==void 0;J||(J=V-D>0?1:-1);const Le=$.value||[],{step:qe}=e;if(qe==="mark"){const ze=ge(V,Le.concat(D),Se?J:void 0);return ze?ze.value:D}if(qe<=0)return D;const{value:it}=g;let ye;if(Se){const ze=Number((D/qe).toFixed(it)),Ke=Math.floor(ze),Be=ze>Ke?Ke:Ke-1,Ve=ze0)&&(Se===null||it0?1:-1),D)}function ve(V){var D,J;if(p.value||!Yd(V)&&V.button!==D6)return;const Se=me(V);if(Se===void 0)return;const Le=b.value.slice(),qe=e.range?(J=(D=ge(Se,Le))===null||D===void 0?void 0:D.index)!==null&&J!==void 0?J:-1:0;qe!==-1&&(V.preventDefault(),U(qe),$e(),ae(Y(Se,b.value[qe]),qe))}function $e(){k.value||(k.value=!0,e.onDragstart&&ie(e.onDragstart),tt("touchend",document,ue),tt("mouseup",document,ue),tt("touchmove",document,Z),tt("mousemove",document,Z))}function Oe(){k.value&&(k.value=!1,e.onDragend&&ie(e.onDragend),Xe("touchend",document,ue),Xe("mouseup",document,ue),Xe("touchmove",document,Z),Xe("mousemove",document,Z))}function Z(V){const{value:D}=S;if(!k.value||D===-1){Oe();return}const J=me(V);J!==void 0&&ae(Y(J,b.value[D]),D)}function ue(){Oe()}function be(V){S.value=V,p.value||(x.value=V)}function De(V){S.value===V&&(S.value=-1,Oe()),x.value===V&&(x.value=-1)}function ee(V){x.value=V}function Ce(V){x.value===V&&(x.value=-1)}Je(S,(V,D)=>void ut(()=>w.value=D)),Je(m,()=>{if(e.marks){if(P.value)return;P.value=!0,ut(()=>{P.value=!1})}ut(N)}),dt(()=>{Oe()});const Pe=T(()=>{const{self:{markFontSize:V,railColor:D,railColorHover:J,fillColor:Se,fillColorHover:Le,handleColor:qe,opacityDisabled:it,dotColor:ye,dotColorModal:ze,handleBoxShadow:Ke,handleBoxShadowHover:Be,handleBoxShadowActive:Ve,handleBoxShadowFocus:at,dotBorder:F,dotBoxShadow:G,railHeight:de,railWidthVertical:Re,handleSize:Ie,dotHeight:Fe,dotWidth:_e,dotBorderRadius:je,fontSize:Ge,dotBorderActive:xt,dotColorPopover:ft},common:{cubicBezierEaseInOut:Ct}}=n.value;return{"--n-bezier":Ct,"--n-dot-border":F,"--n-dot-border-active":xt,"--n-dot-border-radius":je,"--n-dot-box-shadow":G,"--n-dot-color":ye,"--n-dot-color-modal":ze,"--n-dot-color-popover":ft,"--n-dot-height":Fe,"--n-dot-width":_e,"--n-fill-color":Se,"--n-fill-color-hover":Le,"--n-font-size":Ge,"--n-handle-box-shadow":Ke,"--n-handle-box-shadow-active":Ve,"--n-handle-box-shadow-focus":at,"--n-handle-box-shadow-hover":Be,"--n-handle-color":qe,"--n-handle-size":Ie,"--n-opacity-disabled":it,"--n-rail-color":D,"--n-rail-color-hover":J,"--n-rail-height":de,"--n-rail-width-vertical":Re,"--n-mark-font-size":V}}),K=r?Qe("slider",void 0,Pe,e):void 0,Q=T(()=>{const{self:{fontSize:V,indicatorColor:D,indicatorBoxShadow:J,indicatorTextColor:Se,indicatorBorderRadius:Le}}=n.value;return{"--n-font-size":V,"--n-indicator-border-radius":Le,"--n-indicator-box-shadow":J,"--n-indicator-color":D,"--n-indicator-text-color":Se}}),pe=r?Qe("slider-indicator",void 0,Q,e):void 0;return{mergedClsPrefix:t,namespace:o,uncontrolledValue:f,mergedValue:m,mergedDisabled:p,mergedPlacement:R,isMounted:Ao(),adjustedTo:Vt(e),dotTransitionDisabled:P,markInfos:O,isShowTooltip:H,shouldKeepTooltipTransition:_,handleRailRef:i,setHandleRefs:l,setFollowerRefs:d,fillStyle:A,getHandleStyle:L,activeIndex:S,arrifiedValues:b,followerEnabledIndexSet:u,handleRailMouseDown:ve,handleHandleFocus:be,handleHandleBlur:De,handleHandleMouseEnter:ee,handleHandleMouseLeave:Ce,handleRailKeyDown:Ae,indicatorCssVars:r?void 0:Q,indicatorThemeClass:pe==null?void 0:pe.themeClass,indicatorOnRender:pe==null?void 0:pe.onRender,cssVars:r?void 0:Pe,themeClass:K==null?void 0:K.themeClass,onRender:K==null?void 0:K.onRender}},render(){var e;const{mergedClsPrefix:t,themeClass:o,formatTooltip:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-slider`,o,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:this.activeIndex!==-1,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},c("div",{class:`${t}-slider-rail`},c("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?c("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(n=>c("div",{key:n.label,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:n.active}],style:n.style}))):null,c("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((n,i)=>{const a=this.isShowTooltip(i);return c($i,null,{default:()=>[c(Ri,null,{default:()=>c("div",{ref:this.setHandleRefs(i),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,style:this.getHandleStyle(n,i),onFocus:()=>{this.handleHandleFocus(i)},onBlur:()=>{this.handleHandleBlur(i)},onMouseenter:()=>{this.handleHandleMouseEnter(i)},onMouseleave:()=>{this.handleHandleMouseLeave(i)}},Bt(this.$slots.thumb,()=>[c("div",{class:`${t}-slider-handle`})]))}),this.tooltip&&c(Ti,{ref:this.setFollowerRefs(i),show:a,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(i),teleportDisabled:this.adjustedTo===Vt.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>c(kt,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(i),onEnter:()=>{this.followerEnabledIndexSet.add(i)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(i)}},{default:()=>{var l;return a?((l=this.indicatorOnRender)===null||l===void 0||l.call(this),c("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},typeof r=="function"?r(n):n)):null}})})]})})),this.marks?c("div",{class:`${t}-slider-marks`},this.markInfos.map(n=>c("div",{key:n.label,class:`${t}-slider-mark`,style:n.style},n.label))):null))}}),j6=z([z("@keyframes spin-rotate",`
    + from {
    + transform: rotate(0);
    + }
    + to {
    + transform: rotate(360deg);
    + }
    + `),y("spin-container",`
    + position: relative;
    + `,[y("spin-body",`
    + position: absolute;
    + top: 50%;
    + left: 50%;
    + transform: translateX(-50%) translateY(-50%);
    + `,[cr()])]),y("spin-body",`
    + display: inline-flex;
    + align-items: center;
    + justify-content: center;
    + flex-direction: column;
    + `),y("spin",`
    + display: inline-flex;
    + height: var(--n-size);
    + width: var(--n-size);
    + font-size: var(--n-size);
    + color: var(--n-color);
    + `,[B("rotate",`
    + animation: spin-rotate 2s linear infinite;
    + `)]),y("spin-description",`
    + display: inline-block;
    + font-size: var(--n-font-size);
    + color: var(--n-text-color);
    + transition: color .3s var(--n-bezier);
    + margin-top: 8px;
    + `),y("spin-content",`
    + opacity: 1;
    + transition: opacity .3s var(--n-bezier);
    + pointer-events: all;
    + `,[B("spinning",`
    + user-select: none;
    + -webkit-user-select: none;
    + pointer-events: none;
    + opacity: var(--n-opacity-spinning);
    + `)])]),W6={small:20,medium:18,large:16},N6=Object.assign(Object.assign({},we.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),q8=ne({name:"Spin",props:N6,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Spin","-spin",j6,tp,e,t),n=T(()=>{const{size:s}=e,{common:{cubicBezierEaseInOut:d},self:u}=r.value,{opacitySpinning:h,color:p,textColor:g}=u,f=typeof s=="number"?St(s):u[oe("size",s)];return{"--n-bezier":d,"--n-opacity-spinning":h,"--n-size":f,"--n-color":p,"--n-text-color":g}}),i=o?Qe("spin",T(()=>{const{size:s}=e;return typeof s=="number"?String(s):s[0]}),n,e):void 0,a=Cn(e,["spinning","show"]),l=E(!1);return vt(s=>{let d;if(a.value){const{delay:u}=e;if(u){d=window.setTimeout(()=>{l.value=!0},u),s(()=>{clearTimeout(d)});return}}l.value=a.value}),{mergedClsPrefix:t,active:l,mergedStrokeWidth:T(()=>{const{strokeWidth:s}=e;if(s!==void 0)return s;const{size:d}=e;return W6[typeof d=="number"?"medium":d]}),cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:o,mergedClsPrefix:r,description:n}=this,i=o.icon&&this.rotate,a=(n||o.description)&&c("div",{class:`${r}-spin-description`},n||((e=o.description)===null||e===void 0?void 0:e.call(o))),l=o.icon?c("div",{class:[`${r}-spin-body`,this.themeClass]},c("div",{class:[`${r}-spin`,i&&`${r}-spin--rotate`],style:o.default?"":this.cssVars},o.icon()),a):c("div",{class:[`${r}-spin-body`,this.themeClass]},c(Yo,{clsPrefix:r,style:o.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${r}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),o.default?c("div",{class:[`${r}-spin-container`,this.themeClass],style:this.cssVars},c("div",{class:[`${r}-spin-content`,this.active&&`${r}-spin-content--spinning`,this.contentClass],style:this.contentStyle},o),c(kt,{name:"fade-in-transition"},{default:()=>this.active?l:null})):l}}),V6={name:"Split",common:ke},U6=V6,K6=e=>{const{primaryColorHover:t,borderColor:o}=e;return{resizableTriggerColorHover:t,resizableTriggerColor:o}},q6={name:"Split",common:xe,self:K6},G6=q6,X6=y("switch",`
    + height: var(--n-height);
    + min-width: var(--n-width);
    + vertical-align: middle;
    + user-select: none;
    + -webkit-user-select: none;
    + display: inline-flex;
    + outline: none;
    + justify-content: center;
    + align-items: center;
    +`,[M("children-placeholder",`
    + height: var(--n-rail-height);
    + display: flex;
    + flex-direction: column;
    + overflow: hidden;
    + pointer-events: none;
    + visibility: hidden;
    + `),M("rail-placeholder",`
    + display: flex;
    + flex-wrap: none;
    + `),M("button-placeholder",`
    + width: calc(1.75 * var(--n-rail-height));
    + height: var(--n-rail-height);
    + `),y("base-loading",`
    + position: absolute;
    + top: 50%;
    + left: 50%;
    + transform: translateX(-50%) translateY(-50%);
    + font-size: calc(var(--n-button-width) - 4px);
    + color: var(--n-loading-color);
    + transition: color .3s var(--n-bezier);
    + `,[Wt({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),M("checked, unchecked",`
    + transition: color .3s var(--n-bezier);
    + color: var(--n-text-color);
    + box-sizing: border-box;
    + position: absolute;
    + white-space: nowrap;
    + top: 0;
    + bottom: 0;
    + display: flex;
    + align-items: center;
    + line-height: 1;
    + `),M("checked",`
    + right: 0;
    + padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));
    + `),M("unchecked",`
    + left: 0;
    + justify-content: flex-end;
    + padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));
    + `),z("&:focus",[M("rail",`
    + box-shadow: var(--n-box-shadow-focus);
    + `)]),B("round",[M("rail","border-radius: calc(var(--n-rail-height) / 2);",[M("button","border-radius: calc(var(--n-button-height) / 2);")])]),nt("disabled",[nt("icon",[B("rubber-band",[B("pressed",[M("rail",[M("button","max-width: var(--n-button-width-pressed);")])]),M("rail",[z("&:active",[M("button","max-width: var(--n-button-width-pressed);")])]),B("active",[B("pressed",[M("rail",[M("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),M("rail",[z("&:active",[M("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),B("active",[M("rail",[M("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),M("rail",`
    + overflow: hidden;
    + height: var(--n-rail-height);
    + min-width: var(--n-rail-width);
    + border-radius: var(--n-rail-border-radius);
    + cursor: pointer;
    + position: relative;
    + transition:
    + opacity .3s var(--n-bezier),
    + background .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier);
    + background-color: var(--n-rail-color);
    + `,[M("button-icon",`
    + color: var(--n-icon-color);
    + transition: color .3s var(--n-bezier);
    + font-size: calc(var(--n-button-height) - 4px);
    + position: absolute;
    + left: 0;
    + right: 0;
    + top: 0;
    + bottom: 0;
    + display: flex;
    + justify-content: center;
    + align-items: center;
    + line-height: 1;
    + `,[Wt()]),M("button",`
    + align-items: center; 
    + top: var(--n-offset);
    + left: var(--n-offset);
    + height: var(--n-button-height);
    + width: var(--n-button-width-pressed);
    + max-width: var(--n-button-width);
    + border-radius: var(--n-button-border-radius);
    + background-color: var(--n-button-color);
    + box-shadow: var(--n-button-box-shadow);
    + box-sizing: border-box;
    + cursor: inherit;
    + content: "";
    + position: absolute;
    + transition:
    + background-color .3s var(--n-bezier),
    + left .3s var(--n-bezier),
    + opacity .3s var(--n-bezier),
    + max-width .3s var(--n-bezier),
    + box-shadow .3s var(--n-bezier);
    + `)]),B("active",[M("rail","background-color: var(--n-rail-color-active);")]),B("loading",[M("rail",`
    + cursor: wait;
    + `)]),B("disabled",[M("rail",`
    + cursor: not-allowed;
    + opacity: .5;
    + `)])]),Y6=Object.assign(Object.assign({},we.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let ln;const G8=ne({name:"Switch",props:Y6,setup(e){ln===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?ln=CSS.supports("width","max(1px)"):ln=!1:ln=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Switch","-switch",X6,ip,e,t),n=So(e),{mergedSizeRef:i,mergedDisabledRef:a}=n,l=E(e.defaultValue),s=he(e,"value"),d=$t(s,l),u=T(()=>d.value===e.checkedValue),h=E(!1),p=E(!1),g=T(()=>{const{railStyle:k}=e;if(k)return k({focused:p.value,checked:u.value})});function f(k){const{"onUpdate:value":P,onChange:I,onUpdateValue:A}=e,{nTriggerFormInput:O,nTriggerFormChange:L}=n;P&&ie(P,k),A&&ie(A,k),I&&ie(I,k),l.value=k,O(),L()}function v(){const{nTriggerFormFocus:k}=n;k()}function m(){const{nTriggerFormBlur:k}=n;k()}function b(){e.loading||a.value||(d.value!==e.checkedValue?f(e.checkedValue):f(e.uncheckedValue))}function C(){p.value=!0,v()}function R(){p.value=!1,m(),h.value=!1}function $(k){e.loading||a.value||k.key===" "&&(d.value!==e.checkedValue?f(e.checkedValue):f(e.uncheckedValue),h.value=!1)}function S(k){e.loading||a.value||k.key===" "&&(k.preventDefault(),h.value=!0)}const w=T(()=>{const{value:k}=i,{self:{opacityDisabled:P,railColor:I,railColorActive:A,buttonBoxShadow:O,buttonColor:L,boxShadowFocus:H,loadingColor:_,textColor:U,iconColor:N,[oe("buttonHeight",k)]:te,[oe("buttonWidth",k)]:fe,[oe("buttonWidthPressed",k)]:ae,[oe("railHeight",k)]:Y,[oe("railWidth",k)]:j,[oe("railBorderRadius",k)]:X,[oe("buttonBorderRadius",k)]:re},common:{cubicBezierEaseInOut:le}}=r.value;let ge,me,Ae;return ln?(ge=`calc((${Y} - ${te}) / 2)`,me=`max(${Y}, ${te})`,Ae=`max(${j}, calc(${j} + ${te} - ${Y}))`):(ge=St((Tt(Y)-Tt(te))/2),me=St(Math.max(Tt(Y),Tt(te))),Ae=Tt(Y)>Tt(te)?j:St(Tt(j)+Tt(te)-Tt(Y))),{"--n-bezier":le,"--n-button-border-radius":re,"--n-button-box-shadow":O,"--n-button-color":L,"--n-button-width":fe,"--n-button-width-pressed":ae,"--n-button-height":te,"--n-height":me,"--n-offset":ge,"--n-opacity-disabled":P,"--n-rail-border-radius":X,"--n-rail-color":I,"--n-rail-color-active":A,"--n-rail-height":Y,"--n-rail-width":j,"--n-width":Ae,"--n-box-shadow-focus":H,"--n-loading-color":_,"--n-text-color":U,"--n-icon-color":N}}),x=o?Qe("switch",T(()=>i.value[0]),w,e):void 0;return{handleClick:b,handleBlur:R,handleFocus:C,handleKeyup:$,handleKeydown:S,mergedRailStyle:g,pressed:h,mergedClsPrefix:t,mergedValue:d,checked:u,mergedDisabled:a,cssVars:o?void 0:w,themeClass:x==null?void 0:x.themeClass,onRender:x==null?void 0:x.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:o,mergedRailStyle:r,onRender:n,$slots:i}=this;n==null||n();const{checked:a,unchecked:l,icon:s,"checked-icon":d,"unchecked-icon":u}=i,h=!(Or(s)&&Or(d)&&Or(u));return c("div",{role:"switch","aria-checked":o,class:[`${e}-switch`,this.themeClass,h&&`${e}-switch--icon`,o&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},c("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:r},Ze(a,p=>Ze(l,g=>p||g?c("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},c("div",{class:`${e}-switch__rail-placeholder`},c("div",{class:`${e}-switch__button-placeholder`}),p),c("div",{class:`${e}-switch__rail-placeholder`},c("div",{class:`${e}-switch__button-placeholder`}),g)):null)),c("div",{class:`${e}-switch__button`},Ze(s,p=>Ze(d,g=>Ze(u,f=>c(br,null,{default:()=>this.loading?c(Yo,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(g||p)?c("div",{class:`${e}-switch__button-icon`,key:g?"checked-icon":"icon"},g||p):!this.checked&&(f||p)?c("div",{class:`${e}-switch__button-icon`,key:f?"unchecked-icon":"icon"},f||p):null})))),Ze(a,p=>p&&c("div",{key:"checked",class:`${e}-switch__checked`},p)),Ze(l,p=>p&&c("div",{key:"unchecked",class:`${e}-switch__unchecked`},p)))))}}),Ul="n-tabs",Ep={tab:[String,Number,Object,Function],name:{type:[String,Number],required:!0},disabled:Boolean,displayDirective:{type:String,default:"if"},closable:{type:Boolean,default:void 0},tabProps:Object,label:[String,Number,Object,Function]},X8=ne({__TAB_PANE__:!0,name:"TabPane",alias:["TabPanel"],props:Ep,setup(e){const t=Te(Ul,null);return t||hr("tab-pane","`n-tab-pane` must be placed inside `n-tabs`."),{style:t.paneStyleRef,class:t.paneClassRef,mergedClsPrefix:t.mergedClsPrefixRef}},render(){return c("div",{class:[`${this.mergedClsPrefix}-tab-pane`,this.class],style:this.style},this.$slots)}}),Z6=Object.assign({internalLeftPadded:Boolean,internalAddable:Boolean,internalCreatedByPane:Boolean},fr(Ep,["displayDirective"])),rl=ne({__TAB__:!0,inheritAttrs:!1,name:"Tab",props:Z6,setup(e){const{mergedClsPrefixRef:t,valueRef:o,typeRef:r,closableRef:n,tabStyleRef:i,addTabStyleRef:a,tabClassRef:l,addTabClassRef:s,tabChangeIdRef:d,onBeforeLeaveRef:u,triggerRef:h,handleAdd:p,activateTab:g,handleClose:f}=Te(Ul);return{trigger:h,mergedClosable:T(()=>{if(e.internalAddable)return!1;const{closable:v}=e;return v===void 0?n.value:v}),style:i,addStyle:a,tabClass:l,addTabClass:s,clsPrefix:t,value:o,type:r,handleClose(v){v.stopPropagation(),!e.disabled&&f(e.name)},activateTab(){if(e.disabled)return;if(e.internalAddable){p();return}const{name:v}=e,m=++d.id;if(v!==o.value){const{value:b}=u;b?Promise.resolve(b(e.name,o.value)).then(C=>{C&&d.id===m&&g(v)}):g(v)}}}},render(){const{internalAddable:e,clsPrefix:t,name:o,disabled:r,label:n,tab:i,value:a,mergedClosable:l,trigger:s,$slots:{default:d}}=this,u=n??i;return c("div",{class:`${t}-tabs-tab-wrapper`},this.internalLeftPadded?c("div",{class:`${t}-tabs-tab-pad`}):null,c("div",Object.assign({key:o,"data-name":o,"data-disabled":r?!0:void 0},Ft({class:[`${t}-tabs-tab`,a===o&&`${t}-tabs-tab--active`,r&&`${t}-tabs-tab--disabled`,l&&`${t}-tabs-tab--closable`,e&&`${t}-tabs-tab--addable`,e?this.addTabClass:this.tabClass],onClick:s==="click"?this.activateTab:void 0,onMouseenter:s==="hover"?this.activateTab:void 0,style:e?this.addStyle:this.style},this.internalCreatedByPane?this.tabProps||{}:this.$attrs)),c("span",{class:`${t}-tabs-tab__label`},e?c(yt,null,c("div",{class:`${t}-tabs-tab__height-placeholder`}," "),c(ot,{clsPrefix:t},{default:()=>c(Iu,null)})):d?d():typeof u=="object"?u:pt(u??o)),l&&this.type==="card"?c(mr,{clsPrefix:t,class:`${t}-tabs-tab__close`,onClick:this.handleClose,disabled:r}):null))}}),J6=y("tabs",`
    + box-sizing: border-box;
    + width: 100%;
    + display: flex;
    + flex-direction: column;
    + transition:
    + background-color .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    +`,[B("segment-type",[y("tabs-rail",[z("&.transition-disabled",[y("tabs-capsule",`
    + transition: none;
    + `)])])]),B("top",[y("tab-pane",`
    + padding: var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left);
    + `)]),B("left",[y("tab-pane",`
    + padding: var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left) var(--n-pane-padding-top);
    + `)]),B("left, right",`
    + flex-direction: row;
    + `,[y("tabs-bar",`
    + width: 2px;
    + right: 0;
    + transition:
    + top .2s var(--n-bezier),
    + max-height .2s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + `),y("tabs-tab",`
    + padding: var(--n-tab-padding-vertical); 
    + `)]),B("right",`
    + flex-direction: row-reverse;
    + `,[y("tab-pane",`
    + padding: var(--n-pane-padding-left) var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom);
    + `),y("tabs-bar",`
    + left: 0;
    + `)]),B("bottom",`
    + flex-direction: column-reverse;
    + justify-content: flex-end;
    + `,[y("tab-pane",`
    + padding: var(--n-pane-padding-bottom) var(--n-pane-padding-right) var(--n-pane-padding-top) var(--n-pane-padding-left);
    + `),y("tabs-bar",`
    + top: 0;
    + `)]),y("tabs-rail",`
    + padding: 3px;
    + border-radius: var(--n-tab-border-radius);
    + width: 100%;
    + background-color: var(--n-color-segment);
    + transition: background-color .3s var(--n-bezier);
    + display: flex;
    + align-items: center;
    + `,[y("tabs-capsule",`
    + border-radius: var(--n-tab-border-radius);
    + position: absolute;
    + pointer-events: none;
    + background-color: var(--n-tab-color-segment);
    + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .08);
    + transition: transform 0.3s var(--n-bezier);
    + `),y("tabs-tab-wrapper",`
    + flex-basis: 0;
    + flex-grow: 1;
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + `,[y("tabs-tab",`
    + overflow: hidden;
    + border-radius: var(--n-tab-border-radius);
    + width: 100%;
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + `,[B("active",`
    + font-weight: var(--n-font-weight-strong);
    + color: var(--n-tab-text-color-active);
    + `),z("&:hover",`
    + color: var(--n-tab-text-color-hover);
    + `)])])]),B("flex",[y("tabs-nav",`
    + width: 100%;
    + position: relative;
    + `,[y("tabs-wrapper",`
    + width: 100%;
    + `,[y("tabs-tab",`
    + margin-right: 0;
    + `)])])]),y("tabs-nav",`
    + box-sizing: border-box;
    + line-height: 1.5;
    + display: flex;
    + transition: border-color .3s var(--n-bezier);
    + `,[M("prefix, suffix",`
    + display: flex;
    + align-items: center;
    + `),M("prefix","padding-right: 16px;"),M("suffix","padding-left: 16px;")]),B("top, bottom",[y("tabs-nav-scroll-wrapper",[z("&::before",`
    + top: 0;
    + bottom: 0;
    + left: 0;
    + width: 20px;
    + `),z("&::after",`
    + top: 0;
    + bottom: 0;
    + right: 0;
    + width: 20px;
    + `),B("shadow-start",[z("&::before",`
    + box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);
    + `)]),B("shadow-end",[z("&::after",`
    + box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);
    + `)])])]),B("left, right",[y("tabs-nav-scroll-content",`
    + flex-direction: column;
    + `),y("tabs-nav-scroll-wrapper",[z("&::before",`
    + top: 0;
    + left: 0;
    + right: 0;
    + height: 20px;
    + `),z("&::after",`
    + bottom: 0;
    + left: 0;
    + right: 0;
    + height: 20px;
    + `),B("shadow-start",[z("&::before",`
    + box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);
    + `)]),B("shadow-end",[z("&::after",`
    + box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);
    + `)])])]),y("tabs-nav-scroll-wrapper",`
    + flex: 1;
    + position: relative;
    + overflow: hidden;
    + `,[y("tabs-nav-y-scroll",`
    + height: 100%;
    + width: 100%;
    + overflow-y: auto; 
    + scrollbar-width: none;
    + `,[z("&::-webkit-scrollbar",`
    + width: 0;
    + height: 0;
    + `)]),z("&::before, &::after",`
    + transition: box-shadow .3s var(--n-bezier);
    + pointer-events: none;
    + content: "";
    + position: absolute;
    + z-index: 1;
    + `)]),y("tabs-nav-scroll-content",`
    + display: flex;
    + position: relative;
    + min-width: 100%;
    + min-height: 100%;
    + width: fit-content;
    + box-sizing: border-box;
    + `),y("tabs-wrapper",`
    + display: inline-flex;
    + flex-wrap: nowrap;
    + position: relative;
    + `),y("tabs-tab-wrapper",`
    + display: flex;
    + flex-wrap: nowrap;
    + flex-shrink: 0;
    + flex-grow: 0;
    + `),y("tabs-tab",`
    + cursor: pointer;
    + white-space: nowrap;
    + flex-wrap: nowrap;
    + display: inline-flex;
    + align-items: center;
    + color: var(--n-tab-text-color);
    + font-size: var(--n-tab-font-size);
    + background-clip: padding-box;
    + padding: var(--n-tab-padding);
    + transition:
    + box-shadow .3s var(--n-bezier),
    + color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + border-color .3s var(--n-bezier);
    + `,[B("disabled",{cursor:"not-allowed"}),M("close",`
    + margin-left: 6px;
    + transition:
    + background-color .3s var(--n-bezier),
    + color .3s var(--n-bezier);
    + `),M("label",`
    + display: flex;
    + align-items: center;
    + z-index: 1;
    + `)]),y("tabs-bar",`
    + position: absolute;
    + bottom: 0;
    + height: 2px;
    + border-radius: 1px;
    + background-color: var(--n-bar-color);
    + transition:
    + left .2s var(--n-bezier),
    + max-width .2s var(--n-bezier),
    + opacity .3s var(--n-bezier),
    + background-color .3s var(--n-bezier);
    + `,[z("&.transition-disabled",`
    + transition: none;
    + `),B("disabled",`
    + background-color: var(--n-tab-text-color-disabled)
    + `)]),y("tabs-pane-wrapper",`
    + position: relative;
    + overflow: hidden;
    + transition: max-height .2s var(--n-bezier);
    + `),y("tab-pane",`
    + color: var(--n-pane-text-color);
    + width: 100%;
    + transition:
    + color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + opacity .2s var(--n-bezier);
    + left: 0;
    + right: 0;
    + top: 0;
    + `,[z("&.next-transition-leave-active, &.prev-transition-leave-active, &.next-transition-enter-active, &.prev-transition-enter-active",`
    + transition:
    + color .3s var(--n-bezier),
    + background-color .3s var(--n-bezier),
    + transform .2s var(--n-bezier),
    + opacity .2s var(--n-bezier);
    + `),z("&.next-transition-leave-active, &.prev-transition-leave-active",`
    + position: absolute;
    + `),z("&.next-transition-enter-from, &.prev-transition-leave-to",`
    + transform: translateX(32px);
    + opacity: 0;
    + `),z("&.next-transition-leave-to, &.prev-transition-enter-from",`
    + transform: translateX(-32px);
    + opacity: 0;
    + `),z("&.next-transition-leave-from, &.next-transition-enter-to, &.prev-transition-leave-from, &.prev-transition-enter-to",`
    + transform: translateX(0);
    + opacity: 1;
    + `)]),y("tabs-tab-pad",`
    + box-sizing: border-box;
    + width: var(--n-tab-gap);
    + flex-grow: 0;
    + flex-shrink: 0;
    + `),B("line-type, bar-type",[y("tabs-tab",`
    + font-weight: var(--n-tab-font-weight);
    + box-sizing: border-box;
    + vertical-align: bottom;
    + `,[z("&:hover",{color:"var(--n-tab-text-color-hover)"}),B("active",`
    + color: var(--n-tab-text-color-active);
    + font-weight: var(--n-tab-font-weight-active);
    + `),B("disabled",{color:"var(--n-tab-text-color-disabled)"})])]),y("tabs-nav",[B("line-type",[B("top",[M("prefix, suffix",`
    + border-bottom: 1px solid var(--n-tab-border-color);
    + `),y("tabs-nav-scroll-content",`
    + border-bottom: 1px solid var(--n-tab-border-color);
    + `),y("tabs-bar",`
    + bottom: -1px;
    + `)]),B("left",[M("prefix, suffix",`
    + border-right: 1px solid var(--n-tab-border-color);
    + `),y("tabs-nav-scroll-content",`
    + border-right: 1px solid var(--n-tab-border-color);
    + `),y("tabs-bar",`
    + right: -1px;
    + `)]),B("right",[M("prefix, suffix",`
    + border-left: 1px solid var(--n-tab-border-color);
    + `),y("tabs-nav-scroll-content",`
    + border-left: 1px solid var(--n-tab-border-color);
    + `),y("tabs-bar",`
    + left: -1px;
    + `)]),B("bottom",[M("prefix, suffix",`
    + border-top: 1px solid var(--n-tab-border-color);
    + `),y("tabs-nav-scroll-content",`
    + border-top: 1px solid var(--n-tab-border-color);
    + `),y("tabs-bar",`
    + top: -1px;
    + `)]),M("prefix, suffix",`
    + transition: border-color .3s var(--n-bezier);
    + `),y("tabs-nav-scroll-content",`
    + transition: border-color .3s var(--n-bezier);
    + `),y("tabs-bar",`
    + border-radius: 0;
    + `)]),B("card-type",[M("prefix, suffix",`
    + transition: border-color .3s var(--n-bezier);
    + border-bottom: 1px solid var(--n-tab-border-color);
    + `),y("tabs-pad",`
    + flex-grow: 1;
    + transition: border-color .3s var(--n-bezier);
    + `),y("tabs-tab-pad",`
    + transition: border-color .3s var(--n-bezier);
    + `),y("tabs-tab",`
    + font-weight: var(--n-tab-font-weight);
    + border: 1px solid var(--n-tab-border-color);
    + background-color: var(--n-tab-color);
    + box-sizing: border-box;
    + position: relative;
    + vertical-align: bottom;
    + display: flex;
    + justify-content: space-between;
    + font-size: var(--n-tab-font-size);
    + color: var(--n-tab-text-color);
    + `,[B("addable",`
    + padding-left: 8px;
    + padding-right: 8px;
    + font-size: 16px;
    + `,[M("height-placeholder",`
    + width: 0;
    + font-size: var(--n-tab-font-size);
    + `),nt("disabled",[z("&:hover",`
    + color: var(--n-tab-text-color-hover);
    + `)])]),B("closable","padding-right: 8px;"),B("active",`
    + background-color: #0000;
    + font-weight: var(--n-tab-font-weight-active);
    + color: var(--n-tab-text-color-active);
    + `),B("disabled","color: var(--n-tab-text-color-disabled);")]),y("tabs-scroll-padding","border-bottom: 1px solid var(--n-tab-border-color);")]),B("left, right",[y("tabs-wrapper",`
    + flex-direction: column;
    + `,[y("tabs-tab-wrapper",`
    + flex-direction: column;
    + `,[y("tabs-tab-pad",`
    + height: var(--n-tab-gap-vertical);
    + width: 100%;
    + `)])])]),B("top",[B("card-type",[y("tabs-tab",`
    + border-top-left-radius: var(--n-tab-border-radius);
    + border-top-right-radius: var(--n-tab-border-radius);
    + `,[B("active",`
    + border-bottom: 1px solid #0000;
    + `)]),y("tabs-tab-pad",`
    + border-bottom: 1px solid var(--n-tab-border-color);
    + `),y("tabs-pad",`
    + border-bottom: 1px solid var(--n-tab-border-color);
    + `)])]),B("left",[B("card-type",[y("tabs-tab",`
    + border-top-left-radius: var(--n-tab-border-radius);
    + border-bottom-left-radius: var(--n-tab-border-radius);
    + `,[B("active",`
    + border-right: 1px solid #0000;
    + `)]),y("tabs-tab-pad",`
    + border-right: 1px solid var(--n-tab-border-color);
    + `),y("tabs-pad",`
    + border-right: 1px solid var(--n-tab-border-color);
    + `)])]),B("right",[B("card-type",[y("tabs-tab",`
    + border-top-right-radius: var(--n-tab-border-radius);
    + border-bottom-right-radius: var(--n-tab-border-radius);
    + `,[B("active",`
    + border-left: 1px solid #0000;
    + `)]),y("tabs-tab-pad",`
    + border-left: 1px solid var(--n-tab-border-color);
    + `),y("tabs-pad",`
    + border-left: 1px solid var(--n-tab-border-color);
    + `)])]),B("bottom",[B("card-type",[y("tabs-tab",`
    + border-bottom-left-radius: var(--n-tab-border-radius);
    + border-bottom-right-radius: var(--n-tab-border-radius);
    + `,[B("active",`
    + border-top: 1px solid #0000;
    + `)]),y("tabs-tab-pad",`
    + border-top: 1px solid var(--n-tab-border-color);
    + `),y("tabs-pad",`
    + border-top: 1px solid var(--n-tab-border-color);
    + `)])])])]),Q6=Object.assign(Object.assign({},we.props),{value:[String,Number],defaultValue:[String,Number],trigger:{type:String,default:"click"},type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},placement:{type:String,default:"top"},tabStyle:[String,Object],tabClass:String,addTabStyle:[String,Object],addTabClass:String,barWidth:Number,paneClass:String,paneStyle:[String,Object],paneWrapperClass:String,paneWrapperStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},animated:Boolean,onBeforeLeave:Function,onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]}),Y8=ne({name:"Tabs",props:Q6,setup(e,{slots:t}){var o,r,n,i;const{mergedClsPrefixRef:a,inlineThemeDisabled:l}=He(e),s=we("Tabs","-tabs",J6,sp,e,a),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(null),v=E(!0),m=E(!0),b=Cn(e,["labelSize","size"]),C=Cn(e,["activeName","value"]),R=E((r=(o=C.value)!==null&&o!==void 0?o:e.defaultValue)!==null&&r!==void 0?r:t.default?(i=(n=Oo(t.default())[0])===null||n===void 0?void 0:n.props)===null||i===void 0?void 0:i.name:null),$=$t(C,R),S={id:0},w=T(()=>{if(!(!e.justifyContent||e.type==="card"))return{display:"flex",justifyContent:e.justifyContent}});Je($,()=>{S.id=0,A(),O()});function x(){var K;const{value:Q}=$;return Q===null?null:(K=d.value)===null||K===void 0?void 0:K.querySelector(`[data-name="${Q}"]`)}function k(K){if(e.type==="card")return;const{value:Q}=u;if(!Q)return;const pe=Q.style.opacity==="0";if(K){const V=`${a.value}-tabs-bar--disabled`,{barWidth:D,placement:J}=e;if(K.dataset.disabled==="true"?Q.classList.add(V):Q.classList.remove(V),["top","bottom"].includes(J)){if(I(["top","maxHeight","height"]),typeof D=="number"&&K.offsetWidth>=D){const Se=Math.floor((K.offsetWidth-D)/2)+K.offsetLeft;Q.style.left=`${Se}px`,Q.style.maxWidth=`${D}px`}else Q.style.left=`${K.offsetLeft}px`,Q.style.maxWidth=`${K.offsetWidth}px`;Q.style.width="8192px",pe&&(Q.style.transition="none"),Q.offsetWidth,pe&&(Q.style.transition="",Q.style.opacity="1")}else{if(I(["left","maxWidth","width"]),typeof D=="number"&&K.offsetHeight>=D){const Se=Math.floor((K.offsetHeight-D)/2)+K.offsetTop;Q.style.top=`${Se}px`,Q.style.maxHeight=`${D}px`}else Q.style.top=`${K.offsetTop}px`,Q.style.maxHeight=`${K.offsetHeight}px`;Q.style.height="8192px",pe&&(Q.style.transition="none"),Q.offsetHeight,pe&&(Q.style.transition="",Q.style.opacity="1")}}}function P(){if(e.type==="card")return;const{value:K}=u;K&&(K.style.opacity="0")}function I(K){const{value:Q}=u;if(Q)for(const pe of K)Q.style[pe]=""}function A(){if(e.type==="card")return;const K=x();K?k(K):P()}function O(K){var Q;const pe=(Q=g.value)===null||Q===void 0?void 0:Q.$el;if(!pe)return;const V=x();if(!V)return;const{scrollLeft:D,offsetWidth:J}=pe,{offsetLeft:Se,offsetWidth:Le}=V;D>Se?pe.scrollTo({top:0,left:Se,behavior:"smooth"}):Se+Le>D+J&&pe.scrollTo({top:0,left:Se+Le-J,behavior:"smooth"})}const L=E(null);let H=0,_=null;function U(K){const Q=L.value;if(Q){H=K.getBoundingClientRect().height;const pe=`${H}px`,V=()=>{Q.style.height=pe,Q.style.maxHeight=pe};_?(V(),_(),_=null):_=V}}function N(K){const Q=L.value;if(Q){const pe=K.getBoundingClientRect().height,V=()=>{document.body.offsetHeight,Q.style.maxHeight=`${pe}px`,Q.style.height=`${Math.max(H,pe)}px`};_?(_(),_=null,V()):_=V}}function te(){const K=L.value;if(K){K.style.maxHeight="",K.style.height="";const{paneWrapperStyle:Q}=e;if(typeof Q=="string")K.style.cssText=Q;else if(Q){const{maxHeight:pe,height:V}=Q;pe!==void 0&&(K.style.maxHeight=pe),V!==void 0&&(K.style.height=V)}}}const fe={value:[]},ae=E("next");function Y(K){const Q=$.value;let pe="next";for(const V of fe.value){if(V===Q)break;if(V===K){pe="prev";break}}ae.value=pe,j(K)}function j(K){const{onActiveNameChange:Q,onUpdateValue:pe,"onUpdate:value":V}=e;Q&&ie(Q,K),pe&&ie(pe,K),V&&ie(V,K),R.value=K}function X(K){const{onClose:Q}=e;Q&&ie(Q,K)}function re(){const{value:K}=u;if(!K)return;const Q="transition-disabled";K.classList.add(Q),A(),K.classList.remove(Q)}const le=E(null);function ge({transitionDisabled:K}){const Q=d.value;if(!Q)return;K&&Q.classList.add("transition-disabled");const pe=x();pe&&le.value&&(le.value.style.width=`${pe.offsetWidth}px`,le.value.style.height=`${pe.offsetHeight}px`,le.value.style.transform=`translateX(${pe.offsetLeft-Q.offsetLeft-Tt(getComputedStyle(Q).paddingLeft)}px)`,K&&le.value.offsetWidth),K&&Q.classList.remove("transition-disabled")}Je([$],()=>{e.type==="segment"&&ut(()=>{ge({transitionDisabled:!1})})}),gt(()=>{e.type==="segment"&&ge({transitionDisabled:!0})});let me=0;function Ae(K){var Q;if(K.contentRect.width===0&&K.contentRect.height===0||me===K.contentRect.width)return;me=K.contentRect.width;const{type:pe}=e;if((pe==="line"||pe==="bar")&&re(),pe!=="segment"){const{placement:V}=e;ue((V==="top"||V==="bottom"?(Q=g.value)===null||Q===void 0?void 0:Q.$el:f.value)||null)}}const q=da(Ae,64);Je([()=>e.justifyContent,()=>e.size],()=>{ut(()=>{const{type:K}=e;(K==="line"||K==="bar")&&re()})});const ve=E(!1);function $e(K){var Q;const{target:pe,contentRect:{width:V}}=K,D=pe.parentElement.offsetWidth;if(!ve.value)DJ.$el.offsetWidth&&(ve.value=!1)}ue(((Q=g.value)===null||Q===void 0?void 0:Q.$el)||null)}const Oe=da($e,64);function Z(){const{onAdd:K}=e;K&&K(),ut(()=>{const Q=x(),{value:pe}=g;!Q||!pe||pe.scrollTo({left:Q.offsetLeft,top:0,behavior:"smooth"})})}function ue(K){if(!K)return;const{placement:Q}=e;if(Q==="top"||Q==="bottom"){const{scrollLeft:pe,scrollWidth:V,offsetWidth:D}=K;v.value=pe<=0,m.value=pe+D>=V}else{const{scrollTop:pe,scrollHeight:V,offsetHeight:D}=K;v.value=pe<=0,m.value=pe+D>=V}}const be=da(K=>{ue(K.target)},64);Ue(Ul,{triggerRef:he(e,"trigger"),tabStyleRef:he(e,"tabStyle"),tabClassRef:he(e,"tabClass"),addTabStyleRef:he(e,"addTabStyle"),addTabClassRef:he(e,"addTabClass"),paneClassRef:he(e,"paneClass"),paneStyleRef:he(e,"paneStyle"),mergedClsPrefixRef:a,typeRef:he(e,"type"),closableRef:he(e,"closable"),valueRef:$,tabChangeIdRef:S,onBeforeLeaveRef:he(e,"onBeforeLeave"),activateTab:Y,handleClose:X,handleAdd:Z}),xc(()=>{A(),O()}),vt(()=>{const{value:K}=h;if(!K)return;const{value:Q}=a,pe=`${Q}-tabs-nav-scroll-wrapper--shadow-start`,V=`${Q}-tabs-nav-scroll-wrapper--shadow-end`;v.value?K.classList.remove(pe):K.classList.add(pe),m.value?K.classList.remove(V):K.classList.add(V)});const De={syncBarPosition:()=>{A()}},ee=()=>{ge({transitionDisabled:!0})},Ce=T(()=>{const{value:K}=b,{type:Q}=e,pe={card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[Q],V=`${K}${pe}`,{self:{barColor:D,closeIconColor:J,closeIconColorHover:Se,closeIconColorPressed:Le,tabColor:qe,tabBorderColor:it,paneTextColor:ye,tabFontWeight:ze,tabBorderRadius:Ke,tabFontWeightActive:Be,colorSegment:Ve,fontWeightStrong:at,tabColorSegment:F,closeSize:G,closeIconSize:de,closeColorHover:Re,closeColorPressed:Ie,closeBorderRadius:Fe,[oe("panePadding",K)]:_e,[oe("tabPadding",V)]:je,[oe("tabPaddingVertical",V)]:Ge,[oe("tabGap",V)]:xt,[oe("tabGap",`${V}Vertical`)]:ft,[oe("tabTextColor",Q)]:Ct,[oe("tabTextColorActive",Q)]:Kt,[oe("tabTextColorHover",Q)]:qt,[oe("tabTextColorDisabled",Q)]:Ro,[oe("tabFontSize",K)]:Po},common:{cubicBezierEaseInOut:uo}}=s.value;return{"--n-bezier":uo,"--n-color-segment":Ve,"--n-bar-color":D,"--n-tab-font-size":Po,"--n-tab-text-color":Ct,"--n-tab-text-color-active":Kt,"--n-tab-text-color-disabled":Ro,"--n-tab-text-color-hover":qt,"--n-pane-text-color":ye,"--n-tab-border-color":it,"--n-tab-border-radius":Ke,"--n-close-size":G,"--n-close-icon-size":de,"--n-close-color-hover":Re,"--n-close-color-pressed":Ie,"--n-close-border-radius":Fe,"--n-close-icon-color":J,"--n-close-icon-color-hover":Se,"--n-close-icon-color-pressed":Le,"--n-tab-color":qe,"--n-tab-font-weight":ze,"--n-tab-font-weight-active":Be,"--n-tab-padding":je,"--n-tab-padding-vertical":Ge,"--n-tab-gap":xt,"--n-tab-gap-vertical":ft,"--n-pane-padding-left":_t(_e,"left"),"--n-pane-padding-right":_t(_e,"right"),"--n-pane-padding-top":_t(_e,"top"),"--n-pane-padding-bottom":_t(_e,"bottom"),"--n-font-weight-strong":at,"--n-tab-color-segment":F}}),Pe=l?Qe("tabs",T(()=>`${b.value[0]}${e.type[0]}`),Ce,e):void 0;return Object.assign({mergedClsPrefix:a,mergedValue:$,renderedNames:new Set,segmentCapsuleElRef:le,tabsPaneWrapperRef:L,tabsElRef:d,barElRef:u,addTabInstRef:p,xScrollInstRef:g,scrollWrapperElRef:h,addTabFixed:ve,tabWrapperStyle:w,handleNavResize:q,mergedSize:b,handleScroll:be,handleTabsResize:Oe,cssVars:l?void 0:Ce,themeClass:Pe==null?void 0:Pe.themeClass,animationDirection:ae,renderNameListRef:fe,yScrollElRef:f,handleSegmentResize:ee,onAnimationBeforeLeave:U,onAnimationEnter:N,onAnimationAfterEnter:te,onRender:Pe==null?void 0:Pe.onRender},De)},render(){const{mergedClsPrefix:e,type:t,placement:o,addTabFixed:r,addable:n,mergedSize:i,renderNameListRef:a,onRender:l,paneWrapperClass:s,paneWrapperStyle:d,$slots:{default:u,prefix:h,suffix:p}}=this;l==null||l();const g=u?Oo(u()).filter(S=>S.type.__TAB_PANE__===!0):[],f=u?Oo(u()).filter(S=>S.type.__TAB__===!0):[],v=!f.length,m=t==="card",b=t==="segment",C=!m&&!b&&this.justifyContent;a.value=[];const R=()=>{const S=c("div",{style:this.tabWrapperStyle,class:[`${e}-tabs-wrapper`]},C?null:c("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}),v?g.map((w,x)=>(a.value.push(w.props.name),za(c(rl,Object.assign({},w.props,{internalCreatedByPane:!0,internalLeftPadded:x!==0&&(!C||C==="center"||C==="start"||C==="end")}),w.children?{default:w.children.tab}:void 0)))):f.map((w,x)=>(a.value.push(w.props.name),za(x!==0&&!C?ec(w):w))),!r&&n&&m?Qd(n,(v?g.length:f.length)!==0):null,C?null:c("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}));return c("div",{ref:"tabsElRef",class:`${e}-tabs-nav-scroll-content`},m&&n?c(io,{onResize:this.handleTabsResize},{default:()=>S}):S,m?c("div",{class:`${e}-tabs-pad`}):null,m?null:c("div",{ref:"barElRef",class:`${e}-tabs-bar`}))},$=b?"top":o;return c("div",{class:[`${e}-tabs`,this.themeClass,`${e}-tabs--${t}-type`,`${e}-tabs--${i}-size`,C&&`${e}-tabs--flex`,`${e}-tabs--${$}`],style:this.cssVars},c("div",{class:[`${e}-tabs-nav--${t}-type`,`${e}-tabs-nav--${$}`,`${e}-tabs-nav`]},Ze(h,S=>S&&c("div",{class:`${e}-tabs-nav__prefix`},S)),b?c(io,{onResize:this.handleSegmentResize},{default:()=>c("div",{class:`${e}-tabs-rail`,ref:"tabsElRef"},c("div",{class:`${e}-tabs-capsule`,ref:"segmentCapsuleElRef"},c("div",{class:`${e}-tabs-wrapper`},c("div",{class:`${e}-tabs-tab`}))),v?g.map((S,w)=>(a.value.push(S.props.name),c(rl,Object.assign({},S.props,{internalCreatedByPane:!0,internalLeftPadded:w!==0}),S.children?{default:S.children.tab}:void 0))):f.map((S,w)=>(a.value.push(S.props.name),w===0?S:ec(S))))}):c(io,{onResize:this.handleNavResize},{default:()=>c("div",{class:`${e}-tabs-nav-scroll-wrapper`,ref:"scrollWrapperElRef"},["top","bottom"].includes($)?c(sb,{ref:"xScrollInstRef",onScroll:this.handleScroll},{default:R}):c("div",{class:`${e}-tabs-nav-y-scroll`,onScroll:this.handleScroll,ref:"yScrollElRef"},R()))}),r&&n&&m?Qd(n,!0):null,Ze(p,S=>S&&c("div",{class:`${e}-tabs-nav__suffix`},S))),v&&(this.animated&&($==="top"||$==="bottom")?c("div",{ref:"tabsPaneWrapperRef",style:d,class:[`${e}-tabs-pane-wrapper`,s]},Jd(g,this.mergedValue,this.renderedNames,this.onAnimationBeforeLeave,this.onAnimationEnter,this.onAnimationAfterEnter,this.animationDirection)):Jd(g,this.mergedValue,this.renderedNames)))}});function Jd(e,t,o,r,n,i,a){const l=[];return e.forEach(s=>{const{name:d,displayDirective:u,"display-directive":h}=s.props,p=f=>u===f||h===f,g=t===d;if(s.key!==void 0&&(s.key=d),g||p("show")||p("show:lazy")&&o.has(d)){o.has(d)||o.add(d);const f=!p("if");l.push(f?It(s,[[ao,g]]):s)}}),a?c(nc,{name:`${a}-transition`,onBeforeLeave:r,onEnter:n,onAfterEnter:i},{default:()=>l}):l}function Qd(e,t){return c(rl,{ref:"addTabInstRef",key:"__addable",name:"__addable",internalCreatedByPane:!0,internalAddable:!0,internalLeftPadded:t,disabled:typeof e=="object"&&e.disabled})}function ec(e){const t=gn(e);return t.props?t.props.internalLeftPadded=!0:t.props={internalLeftPadded:!0},t}function za(e){return Array.isArray(e.dynamicProps)?e.dynamicProps.includes("internalLeftPadded")||e.dynamicProps.push("internalLeftPadded"):e.dynamicProps=["internalLeftPadded"],e}const Ap=()=>({}),e8={name:"Equation",common:xe,self:Ap},t8=e8,o8={name:"Equation",common:ke,self:Ap},r8=o8,n8={name:"FloatButtonGroup",common:ke,self(e){const{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},i8=n8,Z8={name:"dark",common:ke,Alert:E2,Anchor:K2,AutoComplete:u5,Avatar:hf,AvatarGroup:y5,BackTop:S5,Badge:z5,Breadcrumb:A5,Button:jt,ButtonGroup:JP,Calendar:G5,Card:kf,Carousel:dk,Cascader:gk,Checkbox:Zr,Code:Tf,Collapse:Tk,CollapseTransition:Ik,ColorPicker:J5,DataTable:m$,DatePicker:A3,Descriptions:j3,Dialog:bh,Divider:sR,Drawer:uR,Dropdown:Al,DynamicInput:TR,DynamicTags:DR,Element:NR,Empty:xr,Ellipsis:jf,Equation:r8,Flex:qR,Form:eP,GradientText:oz,Icon:q$,IconWrapper:PT,Image:TT,Input:Jt,InputNumber:lz,LegacyTransfer:YT,Layout:uz,List:bz,LoadingBar:xz,Log:Sz,Menu:Az,Mention:zz,Message:YP,Modal:Y3,Notification:KP,PageHeader:Dz,Pagination:_f,Popconfirm:Nz,Popover:Cr,Popselect:If,Progress:Xh,QrCode:y6,Radio:Nf,Rate:qz,Result:e4,Row:hT,Scrollbar:Dt,Select:Af,Skeleton:F6,Slider:o4,Space:Th,Spin:l4,Statistic:u4,Steps:g4,Switch:m4,Table:$4,Tabs:T4,Tag:Zu,Thing:I4,TimePicker:hh,Timeline:E4,Tooltip:Di,Transfer:H4,Tree:pp,TreeSelect:q4,Typography:tT,Upload:iT,Watermark:lT,Split:U6,FloatButton:mT,FloatButtonGroup:i8},J8={name:"light",common:xe,Alert:_2,Anchor:V2,AutoComplete:d5,Avatar:zl,AvatarGroup:x5,BackTop:R5,Badge:M5,Breadcrumb:F5,Button:At,ButtonGroup:ez,Calendar:K5,Card:Tl,Carousel:lk,Cascader:pk,Checkbox:yr,Code:Bf,Collapse:Pk,CollapseTransition:Mk,ColorPicker:Y5,DataTable:Kf,DatePicker:F3,Descriptions:D3,Dialog:Dl,Divider:aR,Drawer:Rh,Dropdown:ji,DynamicInput:OR,DynamicTags:jR,Element:UR,Empty:$o,Equation:t8,Ellipsis:El,Flex:YR,Form:Wl,GradientText:iz,Icon:nh,IconWrapper:$T,Image:yp,Input:Ht,InputNumber:Hh,Layout:Nl,LegacyTransfer:QT,List:vz,LoadingBar:Wh,Log:Rz,Menu:Fz,Mention:Mz,Message:Dh,Modal:Sh,Notification:Lh,PageHeader:_z,Pagination:Fl,Popconfirm:Kh,Popover:Zo,Popselect:_i,Progress:Gh,QrCode:k6,Radio:Hi,Rate:Yz,Row:uT,Result:Zh,Scrollbar:Et,Skeleton:Fp,Select:Il,Slider:Qh,Space:jl,Spin:tp,Statistic:d4,Steps:p4,Switch:ip,Table:S4,Tabs:sp,Tag:Rl,Thing:M4,TimePicker:fh,Timeline:_4,Tooltip:An,Transfer:N4,Tree:hp,TreeSelect:Y4,Typography:Q4,Upload:rT,Watermark:dT,Split:G6,FloatButton:yT,FloatButtonGroup:gT};export{c8 as $,B8 as A,$8 as B,R8 as C,N8 as D,Zf as E,O$ as F,V8 as G,F8 as H,Yr as I,K8 as J,Ga as K,va as L,Yk as M,H8 as N,O8 as O,G8 as P,I8 as Q,E8 as R,f8 as S,b8 as T,P8 as U,k8 as V,S8 as W,X8 as X,Y8 as Y,h8 as Z,g8 as _,_8 as a,u8 as a0,W8 as a1,y8 as b,A8 as c,w8 as d,D8 as e,j8 as f,C8 as g,m8 as h,x8 as i,s8 as j,Z8 as k,d8 as l,p8 as m,T8 as n,J8 as o,qf as p,tR as q,Y$ as r,v8 as s,M8 as t,L8 as u,U8 as v,q8 as w,z8 as x,ik as y,jr as z};
    diff --git a/public/assets/naive-ui-fedd20b1.js.br b/public/assets/naive-ui-fedd20b1.js.br
    new file mode 100644
    index 0000000..cef0d0d
    Binary files /dev/null and b/public/assets/naive-ui-fedd20b1.js.br differ
    diff --git a/public/assets/network-0f22586e.png b/public/assets/network-0f22586e.png
    new file mode 100644
    index 0000000..5dae471
    Binary files /dev/null and b/public/assets/network-0f22586e.png differ
    diff --git a/public/assets/order-8be5c617.js b/public/assets/order-8be5c617.js
    new file mode 100644
    index 0000000..02594e4
    --- /dev/null
    +++ b/public/assets/order-8be5c617.js
    @@ -0,0 +1 @@
    +import{p as e,m as t}from"./index-d64a7cc4.js";function o(r){return e({url:"/order/buy",data:r})}function d(r){return t({url:"/order/queryByOrderId",data:r})}export{d as a,o as f};
    diff --git a/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js b/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js
    new file mode 100644
    index 0000000..3f838b7
    --- /dev/null
    +++ b/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js
    @@ -0,0 +1 @@
    +import{e as m,o as x}from"./index-d64a7cc4.js";import{d as i,S as p,U as f,a3 as t,e as _,X as d,W as v,M as a,a8 as s,a4 as c}from"./vue-10b4afc0.js";import{r as w}from"./naive-ui-fedd20b1.js";const h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},k=t("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1),b=[k],g=i({name:"PlayBack",render:function(e,o){return p(),f("svg",h,b)}}),B={class:"pt-1 mr-2 cursor-pointer"},M=i({__name:"titleBar",props:{title:{default:""},des:{default:""},padding:{default:4}},setup(r){const e=r,o=m(),n=_(()=>o.theme==="dark"),u=x();return(y,l)=>(p(),f("div",{class:s(["flex border-b border-[#ebebeb] dark:border-[#ffffff17] py-4 w-full",[`px-${e.padding}`]])},[t("div",B,[d(a(w),{size:"16",class:"text-primary",onClick:l[0]||(l[0]=C=>a(u).push("/"))},{default:v(()=>[d(a(g))]),_:1})]),t("div",null,[t("b",{class:s([[n.value?"text-[#fff]":"text-[#555]"],"text-lg"])},c(e.title),3),t("div",{class:s([[n.value?"text-[#fff]":"text-[#626569]"],"text-truncate text-[#626569] mt-1"])},c(e.des),3)])],2))}});export{M as _};
    diff --git a/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js.br b/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js.br
    new file mode 100644
    index 0000000..380f28b
    --- /dev/null
    +++ b/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js.br
    @@ -0,0 +1,5 @@
    + 8&<ŀJ~Y&Ҏ\:
    ΞRI[kl\aC +,;@eP6EƳJdѭ|0;T)<($4mtSfn9,1k	~#?a@]*Ma!,OX.#U	S&K7riLV?+cd7r4Lq"Shq`wT(Cm;0E#EpfX^oҍ]&h00@yVhhC / Ǜ4cq$C'>	⁡Bc1kP놹c9k>ٺf&
    Ƭ垢z^-P꺢n5dmv#]+
    +u!*)
    +ALIpl^MZ<_eg*ac LLưj4V8]:
    +@yxDlßd
    +Y}IX'B?Bh	T:I (%t<[M۳K->؟n|K^xߐ~O3NvR9JHM3UK	Y[!q*@#RG mad"a
    	⺥9R	JpHdMdxT7#wnF|
    \ No newline at end of file
    diff --git a/public/assets/titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js b/public/assets/titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js
    deleted file mode 100644
    index 7f2f460..0000000
    --- a/public/assets/titleBar.vue_vue_type_script_setup_true_lang-c8a01297.js
    +++ /dev/null
    @@ -1 +0,0 @@
    -import{g as i,E as p,F as f,G as t,ak as x,k as _,K as m,Q as c,R as v,X as a,a1 as k,aA as s,S as d}from"./index-2efe4620.js";const w={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},h=t("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1),g=[h],b=i({name:"PlayBack",render:function(e,o){return p(),f("svg",w,g)}}),B={class:"pt-1 mr-2 cursor-pointer"},S=i({__name:"titleBar",props:{title:{default:""},des:{default:""},padding:{default:4}},setup(r){const e=r,o=x(),n=_(()=>o.theme==="dark"),u=m();return(y,l)=>(p(),f("div",{class:s(["flex border-b border-[#ebebeb] dark:border-[#ffffff17] py-4 w-full",[`px-${e.padding}`]])},[t("div",B,[c(a(k),{size:"16",class:"text-primary",onClick:l[0]||(l[0]=A=>a(u).push("/"))},{default:v(()=>[c(a(b))]),_:1})]),t("div",null,[t("b",{class:s([[n.value?"text-[#fff]":"text-[#555]"],"text-lg"])},d(e.title),3),t("div",{class:s([[n.value?"text-[#fff]":"text-[#626569]"],"text-truncate text-[#626569] mt-1"])},d(e.des),3)])],2))}});export{S as _};
    diff --git a/public/assets/useBasicLayout-a4f17bae.js b/public/assets/useBasicLayout-a4f17bae.js
    new file mode 100644
    index 0000000..d15b5ff
    --- /dev/null
    +++ b/public/assets/useBasicLayout-a4f17bae.js
    @@ -0,0 +1 @@
    +import{K as I,L as b,e as E,r as d,g as P,f as $,n as x,y as S}from"./vue-10b4afc0.js";var f;const y=typeof window<"u";y&&((f=window==null?void 0:window.navigator)!=null&&f.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function L(e){return e}function N(e,n){var t;if(typeof e=="number")return e+n;const u=((t=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:t[0])||"",a=e.slice(u.length),i=parseFloat(u)+n;return Number.isNaN(i)?e:i+a}function Q(e){return I()?(b(e),!0):!1}function M(e){return typeof e=="function"?E(e):d(e)}function C(e,n=!0){P()?$(e):n?e():x(e)}const g=y?window:void 0;function T(e,n=!1){const t=d(),u=()=>t.value=!!e();return u(),C(u,n),t}function l(e,n={}){const{window:t=g}=n,u=T(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let a;const i=d(!1),c=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",r):a.removeListener(r))},r=()=>{u.value&&(c(),a=t.matchMedia(M(e).value),i.value=a.matches,"addEventListener"in a?a.addEventListener("change",r):a.addListener(r))};return S(r),Q(()=>c()),i}const B={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var j=Object.defineProperty,m=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,p=(e,n,t)=>n in e?j(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,W=(e,n)=>{for(var t in n||(n={}))q.call(n,t)&&p(e,t,n[t]);if(m)for(var t of m(n))G.call(n,t)&&p(e,t,n[t]);return e};function F(e,n={}){function t(r,s){let o=e[r];return s!=null&&(o=N(o,s)),typeof o=="number"&&(o=`${o}px`),o}const{window:u=g}=n;function a(r){return u?u.matchMedia(r).matches:!1}const i=r=>l(`(min-width: ${t(r)})`,n),c=Object.keys(e).reduce((r,s)=>(Object.defineProperty(r,s,{get:()=>i(s),enumerable:!0,configurable:!0}),r),{});return W({greater(r){return l(`(min-width: ${t(r,.1)})`,n)},greaterOrEqual:i,smaller(r){return l(`(max-width: ${t(r,-.1)})`,n)},smallerOrEqual(r){return l(`(max-width: ${t(r)})`,n)},between(r,s){return l(`(min-width: ${t(r)}) and (max-width: ${t(s,-.1)})`,n)},isGreater(r){return a(`(min-width: ${t(r,.1)})`)},isGreaterOrEqual(r){return a(`(min-width: ${t(r)})`)},isSmaller(r){return a(`(max-width: ${t(r,-.1)})`)},isSmallerOrEqual(r){return a(`(max-width: ${t(r)})`)},isInBetween(r,s){return a(`(min-width: ${t(r)}) and (max-width: ${t(s,-.1)})`)}},c)}const O=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},w="__vueuse_ssr_handlers__";O[w]=O[w]||{};var v;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(v||(v={}));var R=Object.defineProperty,h=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,_=(e,n,t)=>n in e?R(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,k=(e,n)=>{for(var t in n||(n={}))U.call(n,t)&&_(e,t,n[t]);if(h)for(var t of h(n))V.call(n,t)&&_(e,t,n[t]);return e};const A={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};k({linear:L},A);function K(){const e=F(B),n=e.smaller("sm"),t=e.smaller("md"),u=e.smaller("lg"),a=e.smaller("xl");return{isMobile:n,isSmallMd:t,isSmallLg:u,isSmallXl:a}}export{K as u};
    diff --git a/public/assets/useBasicLayout-a4f17bae.js.br b/public/assets/useBasicLayout-a4f17bae.js.br
    new file mode 100644
    index 0000000..334e850
    Binary files /dev/null and b/public/assets/useBasicLayout-a4f17bae.js.br differ
    diff --git a/public/assets/v-viewer-b9217eae.js b/public/assets/v-viewer-b9217eae.js
    new file mode 100644
    index 0000000..03d1694
    --- /dev/null
    +++ b/public/assets/v-viewer-b9217eae.js
    @@ -0,0 +1,17 @@
    +import{l as Rt,R as Vt,w as vt,d as Ue,r as Xe,n as gt,f as He,G as qe,S as Be,U as Ke,m as Ge}from"./vue-10b4afc0.js";/*!
    + * Viewer.js v1.11.6
    + * https://fengyuanchen.github.io/viewerjs
    + *
    + * Copyright 2015-present Chen Fengyuan
    + * Released under the MIT license
    + *
    + * Date: 2023-09-17T03:16:38.052Z
    + */function Mt(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,r)}return i}function kt(e){for(var t=1;t
    ',Tt=typeof window<"u"&&typeof window.document<"u",Y=Tt?window:{},Z=Tt&&Y.document.documentElement?"ontouchstart"in Y.document.documentElement:!1,jt=Tt?"PointerEvent"in Y:!1,g="viewer",mt="move",De="switch",nt="zoom",ut="".concat(g,"-active"),ii="".concat(g,"-close"),pt="".concat(g,"-fade"),Dt="".concat(g,"-fixed"),ri="".concat(g,"-fullscreen"),Yt="".concat(g,"-fullscreen-exit"),U="".concat(g,"-hide"),ni="".concat(g,"-hide-md-down"),ai="".concat(g,"-hide-sm-down"),si="".concat(g,"-hide-xs-down"),k="".concat(g,"-in"),at="".concat(g,"-invisible"),J="".concat(g,"-loading"),oi="".concat(g,"-move"),Ut="".concat(g,"-open"),H="".concat(g,"-show"),x="".concat(g,"-transition"),Q="click",Nt="dblclick",Xt="dragstart",Ht="focusin",qt="keydown",j="load",X="error",li=Z?"touchend touchcancel":"mouseup",ui=Z?"touchmove":"mousemove",ci=Z?"touchstart":"mousedown",Bt=jt?"pointerdown":ci,Kt=jt?"pointermove":ui,Gt=jt?"pointerup pointercancel":li,Zt="resize",V="transitionend",Jt="wheel",Qt="ready",te="show",ee="shown",ie="hide",re="hidden",ne="view",st="viewed",ae="move",se="moved",oe="rotate",le="rotated",ue="scale",ce="scaled",he="zoom",fe="zoomed",de="play",ve="stop",wt="".concat(g,"Action"),zt=/\s\s*/,ct=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function ot(e){return typeof e=="string"}var hi=Number.isNaN||Y.isNaN;function A(e){return typeof e=="number"&&!hi(e)}function B(e){return typeof e>"u"}function tt(e){return xt(e)==="object"&&e!==null}var fi=Object.prototype.hasOwnProperty;function K(e){if(!tt(e))return!1;try{var t=e.constructor,i=t.prototype;return t&&i&&fi.call(i,"isPrototypeOf")}catch{return!1}}function E(e){return typeof e=="function"}function O(e,t){if(e&&E(t))if(Array.isArray(e)||A(e.length)){var i=e.length,r;for(r=0;r1?i-1:0),n=1;n0&&r.forEach(function(a){tt(a)&&Object.keys(a).forEach(function(s){t[s]=a[s]})}),t},di=/^(?:width|height|left|top|marginLeft|marginTop)$/;function M(e,t){var i=e.style;O(t,function(r,n){di.test(n)&&A(r)&&(r+="px"),i[n]=r})}function vi(e){return ot(e)?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"):e}function q(e,t){return!e||!t?!1:e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function d(e,t){if(!(!e||!t)){if(A(e.length)){O(e,function(r){d(r,t)});return}if(e.classList){e.classList.add(t);return}var i=e.className.trim();i?i.indexOf(t)<0&&(e.className="".concat(i," ").concat(t)):e.className=t}}function b(e,t){if(!(!e||!t)){if(A(e.length)){O(e,function(i){b(i,t)});return}if(e.classList){e.classList.remove(t);return}e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,""))}}function lt(e,t,i){if(t){if(A(e.length)){O(e,function(r){lt(r,t,i)});return}i?d(e,t):b(e,t)}}var gi=/([a-z\d])([A-Z])/g;function Pt(e){return e.replace(gi,"$1-$2").toLowerCase()}function G(e,t){return tt(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Pt(t)))}function $t(e,t,i){tt(i)?e[t]=i:e.dataset?e.dataset[t]=i:e.setAttribute("data-".concat(Pt(t)),i)}var Ne=function(){var e=!1;if(Tt){var t=!1,i=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(a){t=a}});Y.addEventListener("test",i,r),Y.removeEventListener("test",i,r)}return e}();function _(e,t,i){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=i;t.trim().split(zt).forEach(function(a){if(!Ne){var s=e.listeners;s&&s[a]&&s[a][i]&&(n=s[a][i],delete s[a][i],Object.keys(s[a]).length===0&&delete s[a],Object.keys(s).length===0&&delete e.listeners)}e.removeEventListener(a,n,r)})}function v(e,t,i){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=i;t.trim().split(zt).forEach(function(a){if(r.once&&!Ne){var s=e.listeners,l=s===void 0?{}:s;n=function(){delete l[a][i],e.removeEventListener(a,n,r);for(var o=arguments.length,h=new Array(o),u=0;ul?I=l/m:y=c*m,p=A(p)?p:.9,y=Math.min(y*p,u),I=Math.min(I*p,f);var D=(l-y)/2,$=(c-I)/2,T={left:D,top:$,x:D,y:$,width:y,height:I,oldRatio:1,ratio:y/u,aspectRatio:m,naturalWidth:u,naturalHeight:f},z=L({},T);r.rotatable&&(T.rotate=o.rotate||0,z.rotate=0),r.scalable&&(T.scaleX=o.scaleX||1,T.scaleY=o.scaleY||1,z.scaleX=1,z.scaleY=1),i.imageData=T,i.initialImageData=z,t&&t()})},renderImage:function(t){var i=this,r=this.image,n=this.imageData;if(M(r,L({width:n.width,height:n.height,marginLeft:n.x,marginTop:n.y},bt(n))),t)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&q(r,x)){var a=function(){i.imageRendering=!1,t()};this.imageRendering={abort:function(){_(r,V,a)}},v(r,V,a,{once:!0})}else t()},resetImage:function(){var t=this.image;t&&(this.viewing&&this.viewing.abort(),t.parentNode.removeChild(t),this.image=null,this.title.innerHTML="")}},Ti={bind:function(){var t=this.options,i=this.viewer,r=this.canvas,n=this.element.ownerDocument;v(i,Q,this.onClick=this.click.bind(this)),v(i,Xt,this.onDragStart=this.dragstart.bind(this)),v(r,Bt,this.onPointerDown=this.pointerdown.bind(this)),v(n,Kt,this.onPointerMove=this.pointermove.bind(this)),v(n,Gt,this.onPointerUp=this.pointerup.bind(this)),v(n,qt,this.onKeyDown=this.keydown.bind(this)),v(window,Zt,this.onResize=this.resize.bind(this)),t.zoomable&&t.zoomOnWheel&&v(i,Jt,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleOnDblclick&&v(r,Nt,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var t=this.options,i=this.viewer,r=this.canvas,n=this.element.ownerDocument;_(i,Q,this.onClick),_(i,Xt,this.onDragStart),_(r,Bt,this.onPointerDown),_(n,Kt,this.onPointerMove),_(n,Gt,this.onPointerUp),_(n,qt,this.onKeyDown),_(window,Zt,this.onResize),t.zoomable&&t.zoomOnWheel&&_(i,Jt,this.onWheel,{passive:!1,capture:!0}),t.toggleOnDblclick&&_(r,Nt,this.onDblclick)}},Ei={click:function(t){var i=this.options,r=this.imageData,n=t.target,a=G(n,wt);switch(!a&&n.localName==="img"&&n.parentElement.localName==="li"&&(n=n.parentElement,a=G(n,wt)),Z&&t.isTrusted&&n===this.canvas&&clearTimeout(this.clickCanvasTimeout),a){case"mix":this.played?this.stop():i.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(G(n,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(i.loop);break;case"play":this.play(i.fullscreen);break;case"next":this.next(i.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-r.scaleX||-1);break;case"flip-vertical":this.scaleY(-r.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(t){t.preventDefault(),this.viewed&&t.target===this.image&&(Z&&t.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(t.isTrusted?t:t.detail&&t.detail.originalEvent))},load:function(){var t=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var i=this.element,r=this.options,n=this.image,a=this.index,s=this.viewerData;b(n,at),r.loading&&b(this.canvas,J),n.style.cssText="height:0;"+"margin-left:".concat(s.width/2,"px;")+"margin-top:".concat(s.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){lt(n,oi,r.movable),lt(n,x,r.transition),t.renderImage(function(){t.viewed=!0,t.viewing=!1,E(r.viewed)&&v(i,st,r.viewed,{once:!0}),N(i,st,{originalImage:t.images[a],index:a,image:n},{cancelable:!1})})})},loadImage:function(t){var i=t.target,r=i.parentNode,n=r.offsetWidth||30,a=r.offsetHeight||50,s=!!G(i,"filled");$e(i,this.options,function(l,c){var o=l/c,h=n,u=a;a*o>n?s?h=a*o:u=n/o:s?u=n/o:h=a*o,M(i,L({width:h,height:u},bt({translateX:(n-h)/2,translateY:(a-u)/2})))})},keydown:function(t){var i=this.options;if(i.keyboard){var r=t.keyCode||t.which||t.charCode;switch(r){case 13:this.viewer.contains(t.target)&&this.click(t);break}if(this.fulled)switch(r){case 27:this.played?this.stop():i.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(i.loop);break;case 38:t.preventDefault(),this.zoom(i.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(i.loop);break;case 40:t.preventDefault(),this.zoom(-i.zoomRatio,!0);break;case 48:case 49:t.ctrlKey&&(t.preventDefault(),this.toggle());break}}},dragstart:function(t){t.target.localName==="img"&&t.preventDefault()},pointerdown:function(t){var i=this.options,r=this.pointers,n=t.buttons,a=t.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(A(n)&&n!==1||A(a)&&a!==0||t.ctrlKey))){t.preventDefault(),t.changedTouches?O(t.changedTouches,function(l){r[l.identifier]=ft(l)}):r[t.pointerId||0]=ft(t);var s=i.movable?mt:!1;i.zoomOnTouch&&i.zoomable&&Object.keys(r).length>1?s=nt:i.slideOnTouch&&(t.pointerType==="touch"||t.type==="touchstart")&&this.isSwitchable()&&(s=De),i.transition&&(s===mt||s===nt)&&b(this.image,x),this.action=s}},pointermove:function(t){var i=this.pointers,r=this.action;!this.viewed||!r||(t.preventDefault(),t.changedTouches?O(t.changedTouches,function(n){L(i[n.identifier]||{},ft(n,!0))}):L(i[t.pointerId||0]||{},ft(t,!0)),this.change(t))},pointerup:function(t){var i=this,r=this.options,n=this.action,a=this.pointers,s;t.changedTouches?O(t.changedTouches,function(l){s=a[l.identifier],delete a[l.identifier]}):(s=a[t.pointerId||0],delete a[t.pointerId||0]),n&&(t.preventDefault(),r.transition&&(n===mt||n===nt)&&d(this.image,x),this.action=!1,Z&&n!==nt&&s&&Date.now()-s.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),r.toggleOnDblclick&&this.viewed&&t.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){N(i.image,Nt,{originalEvent:t})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){i.imageClicked=!1},500)):(this.imageClicked=!1,r.backdrop&&r.backdrop!=="static"&&t.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){N(i.canvas,Q,{originalEvent:t})},50)))))},resize:function(){var t=this;if(!(!this.isShown||this.hiding)&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)){this.stop();return}O(this.player.getElementsByTagName("img"),function(i){v(i,j,t.loadImage.bind(t),{once:!0}),N(i,j)})}},wheel:function(t){var i=this;if(this.viewed&&(t.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){i.wheeling=!1},50);var r=Number(this.options.zoomRatio)||.1,n=1;t.deltaY?n=t.deltaY>0?1:-1:t.wheelDelta?n=-t.wheelDelta/120:t.detail&&(n=t.detail>0?1:-1),this.zoom(-n*r,!0,null,t)}}},_i={show:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.element,r=this.options;if(r.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(t),this;if(E(r.show)&&v(i,te,r.show,{once:!0}),N(i,te)===!1||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var n=this.viewer;if(b(n,U),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("aria-hidden"),r.transition&&!t){var a=this.shown.bind(this);this.transitioning={abort:function(){_(n,V,a),b(n,k)}},d(n,x),n.initialOffsetWidth=n.offsetWidth,v(n,V,a,{once:!0}),d(n,k)}else d(n,k),this.shown();return this},hide:function(){var t=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.element,n=this.options;if(n.inline||this.hiding||!(this.isShown||this.showing))return this;if(E(n.hide)&&v(r,ie,n.hide,{once:!0}),N(r,ie)===!1)return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var a=this.viewer,s=this.image,l=function(){b(a,k),t.hidden()};if(n.transition&&!i){var c=function h(u){u&&u.target===a&&(_(a,V,h),t.hidden())},o=function(){q(a,x)?(v(a,V,c),b(a,k)):l()};this.transitioning={abort:function(){t.viewed&&q(s,x)?_(s,V,o):q(a,x)&&_(a,V,c)}},this.viewed&&q(s,x)?(v(s,V,o,{once:!0}),this.zoomTo(0,!1,null,null,!0)):o()}else l();return this},view:function(){var t=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.initialViewIndex;if(i=Number(i)||0,this.hiding||this.played||i<0||i>=this.length||this.viewed&&i===this.index)return this;if(!this.isShown)return this.index=i,this.show();this.viewing&&this.viewing.abort();var r=this.element,n=this.options,a=this.title,s=this.canvas,l=this.items[i],c=l.querySelector("img"),o=G(c,"originalUrl"),h=c.getAttribute("alt"),u=document.createElement("img");if(O(n.inheritedAttributes,function(I){var D=c.getAttribute(I);D!==null&&u.setAttribute(I,D)}),u.src=o,u.alt=h,E(n.view)&&v(r,ne,n.view,{once:!0}),N(r,ne,{originalImage:this.images[i],index:i,image:u})===!1||!this.isShown||this.hiding||this.played)return this;var f=this.items[this.index];f&&(b(f,ut),f.removeAttribute("aria-selected")),d(l,ut),l.setAttribute("aria-selected",!0),n.focus&&l.focus(),this.image=u,this.viewed=!1,this.index=i,this.imageData={},d(u,at),n.loading&&d(s,J),s.innerHTML="",s.appendChild(u),this.renderList(),a.innerHTML="";var m=function(){var D=t.imageData,$=Array.isArray(n.title)?n.title[1]:n.title;a.innerHTML=vi(E($)?$.call(t,u,D):"".concat(h," (").concat(D.naturalWidth," × ").concat(D.naturalHeight,")"))},p,y;return v(r,st,m,{once:!0}),this.viewing={abort:function(){_(r,st,m),u.complete?t.imageRendering?t.imageRendering.abort():t.imageInitializing&&t.imageInitializing.abort():(u.src="",_(u,j,p),t.timeout&&clearTimeout(t.timeout))}},u.complete?this.load():(v(u,j,p=function(){_(u,X,y),t.load()},{once:!0}),v(u,X,y=function(){_(u,j,p),t.timeout&&(clearTimeout(t.timeout),t.timeout=!1),b(u,at),n.loading&&b(t.canvas,J)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){b(u,at),t.timeout=!1},1e3)),this},prev:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.index-1;return i<0&&(i=t?this.length-1:0),this.view(i),this},next:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.length-1,r=this.index+1;return r>i&&(r=t?0:i),this.view(r),this},move:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=this.imageData;return this.moveTo(B(t)?t:r.x+Number(t),B(i)?i:r.y+Number(i)),this},moveTo:function(t){var i=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=this.element,s=this.options,l=this.imageData;if(t=Number(t),r=Number(r),this.viewed&&!this.played&&s.movable){var c=l.x,o=l.y,h=!1;if(A(t)?h=!0:t=c,A(r)?h=!0:r=o,h){if(E(s.move)&&v(a,ae,s.move,{once:!0}),N(a,ae,{x:t,y:r,oldX:c,oldY:o,originalEvent:n})===!1)return this;l.x=t,l.y=r,l.left=t,l.top=r,this.moving=!0,this.renderImage(function(){i.moving=!1,E(s.moved)&&v(a,se,s.moved,{once:!0}),N(a,se,{x:t,y:r,oldX:c,oldY:o,originalEvent:n},{cancelable:!1})})}}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t)),this},rotateTo:function(t){var i=this,r=this.element,n=this.options,a=this.imageData;if(t=Number(t),A(t)&&this.viewed&&!this.played&&n.rotatable){var s=a.rotate;if(E(n.rotate)&&v(r,oe,n.rotate,{once:!0}),N(r,oe,{degree:t,oldDegree:s})===!1)return this;a.rotate=t,this.rotating=!0,this.renderImage(function(){i.rotating=!1,E(n.rotated)&&v(r,le,n.rotated,{once:!0}),N(r,le,{degree:t,oldDegree:s},{cancelable:!1})})}return this},scaleX:function(t){return this.scale(t,this.imageData.scaleY),this},scaleY:function(t){return this.scale(this.imageData.scaleX,t),this},scale:function(t){var i=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,n=this.element,a=this.options,s=this.imageData;if(t=Number(t),r=Number(r),this.viewed&&!this.played&&a.scalable){var l=s.scaleX,c=s.scaleY,o=!1;if(A(t)?o=!0:t=l,A(r)?o=!0:r=c,o){if(E(a.scale)&&v(n,ue,a.scale,{once:!0}),N(n,ue,{scaleX:t,scaleY:r,oldScaleX:l,oldScaleY:c})===!1)return this;s.scaleX=t,s.scaleY=r,this.scaling=!0,this.renderImage(function(){i.scaling=!1,E(a.scaled)&&v(n,ce,a.scaled,{once:!0}),N(n,ce,{scaleX:t,scaleY:r,oldScaleX:l,oldScaleY:c},{cancelable:!1})})}}return this},zoom:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,a=this.imageData;return t=Number(t),t<0?t=1/(1-t):t=1+t,this.zoomTo(a.width*t/a.naturalWidth,i,r,n),this},zoomTo:function(t){var i=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,l=this.element,c=this.options,o=this.pointers,h=this.imageData,u=h.x,f=h.y,m=h.width,p=h.height,y=h.naturalWidth,I=h.naturalHeight;if(t=Math.max(0,t),A(t)&&this.viewed&&!this.played&&(s||c.zoomable)){if(!s){var D=Math.max(.01,c.minZoomRatio),$=Math.min(100,c.maxZoomRatio);t=Math.min(Math.max(t,D),$)}if(a)switch(a.type){case"wheel":c.zoomRatio>=.055&&t>.95&&t<1.05&&(t=1);break;case"pointermove":case"touchmove":case"mousemove":t>.99&&t<1.01&&(t=1);break}var T=y*t,z=I*t,P=T-m,w=z-p,C=h.ratio;if(E(c.zoom)&&v(l,he,c.zoom,{once:!0}),N(l,he,{ratio:t,oldRatio:C,originalEvent:a})===!1)return this;if(this.zooming=!0,a){var R=mi(this.viewer),F=o&&Object.keys(o).length>0?yi(o):{pageX:a.pageX,pageY:a.pageY};h.x-=P*((F.pageX-R.left-u)/m),h.y-=w*((F.pageY-R.top-f)/p)}else K(n)&&A(n.x)&&A(n.y)?(h.x-=P*((n.x-u)/m),h.y-=w*((n.y-f)/p)):(h.x-=P/2,h.y-=w/2);h.left=h.x,h.top=h.y,h.width=T,h.height=z,h.oldRatio=C,h.ratio=t,this.renderImage(function(){i.zooming=!1,E(c.zoomed)&&v(l,fe,c.zoomed,{once:!0}),N(l,fe,{ratio:t,oldRatio:C,originalEvent:a},{cancelable:!1})}),r&&this.tooltip()}return this},play:function(){var t=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.isShown||this.played)return this;var r=this.element,n=this.options;if(E(n.play)&&v(r,de,n.play,{once:!0}),N(r,de)===!1)return this;var a=this.player,s=this.loadImage.bind(this),l=[],c=0,o=0;if(this.played=!0,this.onLoadWhenPlay=s,i&&this.requestFullscreen(i),d(a,H),O(this.items,function(f,m){var p=f.querySelector("img"),y=document.createElement("img");y.src=G(p,"originalUrl"),y.alt=p.getAttribute("alt"),y.referrerPolicy=p.referrerPolicy,c+=1,d(y,pt),lt(y,x,n.transition),q(f,ut)&&(d(y,k),o=m),l.push(y),v(y,j,s,{once:!0}),a.appendChild(y)}),A(n.interval)&&n.interval>0){var h=function f(){clearTimeout(t.playing.timeout),b(l[o],k),o-=1,o=o>=0?o:c-1,d(l[o],k),t.playing.timeout=setTimeout(f,n.interval)},u=function f(){clearTimeout(t.playing.timeout),b(l[o],k),o+=1,o=o1&&(this.playing={prev:h,next:u,timeout:setTimeout(u,n.interval)})}return this},stop:function(){var t=this;if(!this.played)return this;var i=this.element,r=this.options;if(E(r.stop)&&v(i,ve,r.stop,{once:!0}),N(i,ve)===!1)return this;var n=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,O(n.getElementsByTagName("img"),function(a){_(a,j,t.onLoadWhenPlay)}),b(n,H),n.innerHTML="",this.exitFullscreen(),this},full:function(){var t=this,i=this.options,r=this.viewer,n=this.image,a=this.list;return!this.isShown||this.played||this.fulled||!i.inline?this:(this.fulled=!0,this.open(),d(this.button,Yt),i.transition&&(b(a,x),this.viewed&&b(n,x)),d(r,Dt),r.setAttribute("role","dialog"),r.setAttribute("aria-labelledby",this.title.id),r.setAttribute("aria-modal",!0),r.removeAttribute("style"),M(r,{zIndex:i.zIndex}),i.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=L({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage(function(){i.transition&&setTimeout(function(){d(n,x),d(a,x)},0)})}),this)},exit:function(){var t=this,i=this.options,r=this.viewer,n=this.image,a=this.list;return!this.isShown||this.played||!this.fulled||!i.inline?this:(this.fulled=!1,this.close(),b(this.button,Yt),i.transition&&(b(a,x),this.viewed&&b(n,x)),i.focus&&this.clearEnforceFocus(),r.removeAttribute("role"),r.removeAttribute("aria-labelledby"),r.removeAttribute("aria-modal"),b(r,Dt),M(r,{zIndex:i.zIndexInline}),this.viewerData=L({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage(function(){i.transition&&setTimeout(function(){d(n,x),d(a,x)},0)})}),this)},tooltip:function(){var t=this,i=this.options,r=this.tooltipBox,n=this.imageData;return!this.viewed||this.played||!i.tooltip?this:(r.textContent="".concat(Math.round(n.ratio*100),"%"),this.tooltipping?clearTimeout(this.tooltipping):i.transition?(this.fading&&N(r,V),d(r,H),d(r,pt),d(r,x),r.removeAttribute("aria-hidden"),r.initialOffsetWidth=r.offsetWidth,d(r,k)):(d(r,H),r.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){i.transition?(v(r,V,function(){b(r,H),b(r,pt),b(r,x),r.setAttribute("aria-hidden",!0),t.fading=!1},{once:!0}),b(r,k),t.fading=!0):(b(r,H),r.setAttribute("aria-hidden",!0)),t.tooltipping=!1},1e3),this)},toggle:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.imageData.ratio===1?this.zoomTo(this.imageData.oldRatio,!0,null,t):this.zoomTo(1,!0,null,t),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=L({},this.initialImageData),this.renderImage()),this},update:function(){var t=this,i=this.element,r=this.options,n=this.isImg;if(n&&!i.parentNode)return this.destroy();var a=[];if(O(n?[i]:i.querySelectorAll("img"),function(o){E(r.filter)?r.filter.call(t,o)&&a.push(o):t.getImageURL(o)&&a.push(o)}),!a.length)return this;if(this.images=a,this.length=a.length,this.ready){var s=[];if(O(this.items,function(o,h){var u=o.querySelector("img"),f=a[h];f&&u?(f.src!==u.src||f.alt!==u.alt)&&s.push(h):s.push(h)}),M(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var l=s.indexOf(this.index);if(l>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-l,this.length-1),0));else{var c=this.items[this.index];d(c,ut),c.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var t=this.element,i=this.options;return t[g]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),i.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):i.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),i.inline||_(t,Q,this.onStart),t[g]=void 0,this):this}},Oi={getImageURL:function(t){var i=this.options.url;return ot(i)?i=t.getAttribute(i):E(i)?i=i.call(this,t):i="",i},enforceFocus:function(){var t=this;this.clearEnforceFocus(),v(document,Ht,this.onFocusin=function(i){var r=t.viewer,n=i.target;if(!(n===document||n===r||r.contains(n))){for(;n;){if(n.getAttribute("tabindex")!==null||n.getAttribute("aria-modal")==="true")return;n=n.parentElement}r.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(_(document,Ht,this.onFocusin),this.onFocusin=null)},open:function(){var t=this.body;d(t,Ut),this.scrollbarWidth>0&&(t.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var t=this.body;b(t,Ut),this.scrollbarWidth>0&&(t.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var t=this.element,i=this.options,r=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,i.focus&&(r.focus(),this.enforceFocus()),E(i.shown)&&v(t,ee,i.shown,{once:!0}),N(t,ee)!==!1&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var t=this.element,i=this.options,r=this.viewer;i.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),d(r,U),r.removeAttribute("role"),r.removeAttribute("aria-labelledby"),r.removeAttribute("aria-modal"),r.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(E(i.hidden)&&v(t,re,i.hidden,{once:!0}),N(t,re,null,{cancelable:!1}))},requestFullscreen:function(t){var i=this.element.ownerDocument;if(this.fulled&&!(i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement)){var r=i.documentElement;r.requestFullscreen?K(t)?r.requestFullscreen(t):r.requestFullscreen():r.webkitRequestFullscreen?r.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):r.mozRequestFullScreen?r.mozRequestFullScreen():r.msRequestFullscreen&&r.msRequestFullscreen()}},exitFullscreen:function(){var t=this.element.ownerDocument;this.fulled&&(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)&&(t.exitFullscreen?t.exitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen())},change:function(t){var i=this.options,r=this.pointers,n=r[Object.keys(r)[0]];if(n){var a=n.endX-n.startX,s=n.endY-n.startY;switch(this.action){case mt:(a!==0||s!==0)&&(this.pointerMoved=!0,this.move(a,s,t));break;case nt:this.zoom(bi(r),!1,null,t);break;case De:{this.action="switched";var l=Math.abs(a);l>1&&l>Math.abs(s)&&(this.pointers={},a>1?this.prev(i.loop):a<-1&&this.next(i.loop));break}}O(r,function(c){c.startX=c.endX,c.startY=c.endY})}},isSwitchable:function(){var t=this.imageData,i=this.viewerData;return this.length>1&&t.x>=0&&t.y>=0&&t.width<=i.width&&t.height<=i.height}},Si=Y.Viewer,Ii=function(e){return function(){return e+=1,e}}(-1),et=function(){function e(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Ze(this,e),!t||t.nodeType!==1)throw new Error("The first argument is required and must be an element.");this.element=t,this.options=L({},Wt,K(i)&&i),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=Ii(),this.init()}return Je(e,[{key:"init",value:function(){var i=this,r=this.element,n=this.options;if(!r[g]){r[g]=this,n.focus&&!n.keyboard&&(n.focus=!1);var a=r.localName==="img",s=[];if(O(a?[r]:r.querySelectorAll("img"),function(o){E(n.filter)?n.filter.call(i,o)&&s.push(o):i.getImageURL(o)&&s.push(o)}),this.isImg=a,this.length=s.length,this.images=s,this.initBody(),B(document.createElement(g).style.transition)&&(n.transition=!1),n.inline){var l=0,c=function(){if(l+=1,l===i.length){var h;i.initializing=!1,i.delaying={abort:function(){clearTimeout(h)}},h=setTimeout(function(){i.delaying=!1,i.build()},0)}};this.initializing={abort:function(){O(s,function(h){h.complete||(_(h,j,c),_(h,X,c))})}},O(s,function(o){if(o.complete)c();else{var h,u;v(o,j,h=function(){_(o,X,u),c()},{once:!0}),v(o,X,u=function(){_(o,j,h),c()},{once:!0})}})}else v(r,Q,this.onStart=function(o){var h=o.target;h.localName==="img"&&(!E(n.filter)||n.filter.call(i,h))&&i.view(i.images.indexOf(h))})}}},{key:"build",value:function(){if(!this.ready){var i=this.element,r=this.options,n=i.parentNode,a=document.createElement("div");a.innerHTML=ei;var s=a.querySelector(".".concat(g,"-container")),l=s.querySelector(".".concat(g,"-title")),c=s.querySelector(".".concat(g,"-toolbar")),o=s.querySelector(".".concat(g,"-navbar")),h=s.querySelector(".".concat(g,"-button")),u=s.querySelector(".".concat(g,"-canvas"));if(this.parent=n,this.viewer=s,this.title=l,this.toolbar=c,this.navbar=o,this.button=h,this.canvas=u,this.footer=s.querySelector(".".concat(g,"-footer")),this.tooltipBox=s.querySelector(".".concat(g,"-tooltip")),this.player=s.querySelector(".".concat(g,"-player")),this.list=s.querySelector(".".concat(g,"-list")),s.id="".concat(g).concat(this.id),l.id="".concat(g,"Title").concat(this.id),d(l,r.title?ht(Array.isArray(r.title)?r.title[0]:r.title):U),d(o,r.navbar?ht(r.navbar):U),lt(h,U,!r.button),r.keyboard&&h.setAttribute("tabindex",0),r.backdrop&&(d(s,"".concat(g,"-backdrop")),!r.inline&&r.backdrop!=="static"&&$t(u,wt,"hide")),ot(r.className)&&r.className&&r.className.split(zt).forEach(function(T){d(s,T)}),r.toolbar){var f=document.createElement("ul"),m=K(r.toolbar),p=ct.slice(0,3),y=ct.slice(7,9),I=ct.slice(9);m||d(c,ht(r.toolbar)),O(m?r.toolbar:ct,function(T,z){var P=m&&K(T),w=m?Pt(z):T,C=P&&!B(T.show)?T.show:T;if(!(!C||!r.zoomable&&p.indexOf(w)!==-1||!r.rotatable&&y.indexOf(w)!==-1||!r.scalable&&I.indexOf(w)!==-1)){var R=P&&!B(T.size)?T.size:T,F=P&&!B(T.click)?T.click:T,W=document.createElement("li");r.keyboard&&W.setAttribute("tabindex",0),W.setAttribute("role","button"),d(W,"".concat(g,"-").concat(w)),E(F)||$t(W,wt,w),A(C)&&d(W,ht(C)),["small","large"].indexOf(R)!==-1?d(W,"".concat(g,"-").concat(R)):w==="play"&&d(W,"".concat(g,"-large")),E(F)&&v(W,Q,F),f.appendChild(W)}}),c.appendChild(f)}else d(c,U);if(!r.rotatable){var D=c.querySelectorAll('li[class*="rotate"]');d(D,at),O(D,function(T){c.appendChild(T)})}if(r.inline)d(h,ri),M(s,{zIndex:r.zIndexInline}),window.getComputedStyle(n).position==="static"&&M(n,{position:"relative"}),n.insertBefore(s,i.nextSibling);else{d(h,ii),d(s,Dt),d(s,pt),d(s,U),M(s,{zIndex:r.zIndex});var $=r.container;ot($)&&($=i.ownerDocument.querySelector($)),$||($=this.body),$.appendChild(s)}if(r.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,E(r.ready)&&v(i,Qt,r.ready,{once:!0}),N(i,Qt)===!1){this.ready=!1;return}this.ready&&r.inline&&this.view(this.index)}}}],[{key:"noConflict",value:function(){return window.Viewer=Si,e}},{key:"setDefaults",value:function(i){L(Wt,K(i)&&i)}}]),e}();L(et.prototype,wi,Ti,Ei,_i,Oi);/*! + * v-viewer v3.0.11 + * https://github.com/mirari/v-viewer#readme + * + * Copyright 2022 mirari + * Released under the MIT license + * + * Date: 2022-10-25T08:49:33.301Z + */var dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ai(e){return e}var Ce=Ai;function xi(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}var Di=xi,Ni=Di,ge=Math.max;function $i(e,t,i){return t=ge(t===void 0?e.length-1:t,0),function(){for(var r=arguments,n=-1,a=ge(r.length-t,0),s=Array(a);++n0){if(++t>=Yr)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var qr=Hr,Br=Wr,Kr=qr,Gr=Kr(Br),Zr=Gr,Jr=Ce,Qr=Ci,tn=Zr;function en(e,t){return tn(Qr(e,t,Jr),e+"")}var rn=en;function nn(e,t){return e===t||e!==e&&t!==t}var Pe=nn,an=9007199254740991;function sn(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=an}var Re=sn,on=ze,ln=Re;function un(e){return e!=null&&ln(e.length)&&!on(e)}var Ve=un,cn=9007199254740991,hn=/^(?:0|[1-9]\d*)$/;function fn(e,t){var i=typeof e;return t=t??cn,!!t&&(i=="number"||i!="symbol"&&hn.test(e))&&e>-1&&e%1==0&&e2?t[2]:void 0;for(n&&Ha(t[0],t[1],n)&&(r=1);++i0}}),!0):!1}function is(e,...t){if(!yt(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Oe!="function")return e;for(const i of t){const r=Oe(i);for(const n of r)Ja.call(i,n)&&(e[n]=i[n])}return e}function Ye(e,...t){let i=0;for(Qa(e)&&(e=t[i++]),e||(e={});i{t=Ye(t,{inline:!1});const i=document.createElement("div"),r=Rt("div",{style:{display:"none"},class:["__viewer-token"]},e.map(l=>Rt("img",typeof l=="string"?{src:l}:l)));Vt(r,i);const n=i.firstElementChild;document.body.appendChild(n);const a=new et(n,t),s=a.destroy.bind(a);return a.destroy=function(){return s(),Vt(null,i),a},a.show(),n.addEventListener("hidden",function(){this.viewer===a&&a.destroy()}),a};var ns=Et,as=function(){return ns.Date.now()},ss=as,os=/\s/;function ls(e){for(var t=e.length;t--&&os.test(e.charAt(t)););return t}var us=ls,cs=us,hs=/^\s+/;function fs(e){return e&&e.slice(0,cs(e)+1).replace(hs,"")}var ds=fs,vs=_t,gs=Ot,ms="[object Symbol]";function ps(e){return typeof e=="symbol"||gs(e)&&vs(e)==ms}var bs=ps,ys=ds,Se=it,ws=bs,Ie=0/0,Ts=/^[-+]0x[0-9a-f]+$/i,Es=/^0b[01]+$/i,_s=/^0o[0-7]+$/i,Os=parseInt;function Ss(e){if(typeof e=="number")return e;if(ws(e))return Ie;if(Se(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Se(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ys(e);var i=Es.test(e);return i||_s.test(e)?Os(e.slice(2),i?2:8):Ts.test(e)?Ie:+e}var Is=Ss,As=it,At=ss,Ae=Is,xs="Expected a function",Ds=Math.max,Ns=Math.min;function $s(e,t,i){var r,n,a,s,l,c,o=0,h=!1,u=!1,f=!0;if(typeof e!="function")throw new TypeError(xs);t=Ae(t)||0,As(i)&&(h=!!i.leading,u="maxWait"in i,a=u?Ds(Ae(i.maxWait)||0,t):a,f="trailing"in i?!!i.trailing:f);function m(w){var C=r,R=n;return r=n=void 0,o=w,s=e.apply(R,C),s}function p(w){return o=w,l=setTimeout(D,t),h?m(w):s}function y(w){var C=w-c,R=w-o,F=t-C;return u?Ns(F,a-R):F}function I(w){var C=w-c,R=w-o;return c===void 0||C>=t||C<0||u&&R>=a}function D(){var w=At();if(I(w))return $(w);l=setTimeout(D,y(w))}function $(w){return l=void 0,f&&r?m(w):(r=n=void 0,s)}function T(){l!==void 0&&clearTimeout(l),o=0,r=c=n=l=void 0}function z(){return l===void 0?s:$(At())}function P(){var w=At(),C=I(w);if(r=arguments,n=this,c=w,C){if(l===void 0)return p(c);if(u)return clearTimeout(l),l=setTimeout(D,t),m(c)}return l===void 0&&(l=setTimeout(D,t)),s}return P.cancel=T,P.flush=z,P}var Cs=$s;const Ls=({name:e="viewer",debug:t=!1}={})=>{async function i(u,f,m=!1,p=!1){await gt(),!(p&&!r(u))&&(m||!u[`$${e}`]?(s(u),u[`$${e}`]=new et(u,f),o("Viewer created")):(u[`$${e}`].update(),o("Viewer updated")))}function r(u){const f=u.innerHTML.match(//g),m=f?f.join(""):void 0;return u.__viewerImageDiffCache===m?(o("Element change detected, but image(s) has not changed"),!1):(o("Image change detected"),u.__viewerImageDiffCache=m,!0)}function n(u,f,m,p){l(u);const y=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(!y){o("Observer not supported");return}const I=new y($=>{$.forEach(T=>{o(`Viewer mutation:${T.type}`),m(u,f,p,!0)})}),D={attributes:!0,childList:!0,characterData:!0,subtree:!0};I.observe(u,D),u.__viewerMutationObserver=I,o("Observer created")}function a(u,f,m,p){u.__viewerUnwatch=vt(()=>f.value,(y,I)=>{o("Change detected by watcher: ",f.value),p(u,y,!0,!1)},{deep:!0}),o("Watcher created, expression: ",f.value)}function s(u){u[`$${e}`]&&(u[`$${e}`].destroy(),delete u[`$${e}`],o("Viewer destroyed"))}function l(u){u.__viewerMutationObserver&&(u.__viewerMutationObserver.disconnect(),delete u.__viewerMutationObserver,o("observer destroyed"))}function c(u){u.__viewerUnwatch&&(u.__viewerUnwatch(),delete u.__viewerUnwatch,o("Watcher destroyed"))}function o(...u){t&&console.log(...u)}return{mounted(u,f,m){o("Viewer bind");const p=Cs(i,50);p(u,f.value),a(u,f,m,p),f.modifiers.static||n(u,f.value,p,f.modifiers.rebuild)},unmounted(u){o("Viewer unbind"),l(u),c(u),s(u)}}};var ks=(e,t)=>{const i=e.__vccOpts||e;for(const[r,n]of t)i[r]=n;return i};const js=Ue({name:"Viewer",props:{images:{type:Array,default:()=>[]},rebuild:{type:Boolean,default:!1},trigger:{type:Object,default:null},options:{type:Object,default:()=>null}},emits:["inited"],setup(e,{emit:t}){let i;const r=Xe();function n(){i=new et(r.value,e.options),t("inited",i)}function a(){i&&i.destroy()}function s(){a(),n()}function l(){i?(i.update(),t("inited",i)):n()}function c(){e.rebuild?s():l()}const o={deep:!0};return vt(()=>e.images,()=>gt(()=>c()),o),vt(()=>e.trigger,()=>gt(()=>c()),o),vt(()=>e.options,()=>gt(()=>s()),o),He(()=>n()),qe(()=>a()),{root:r,createViewer:n,rebuildViewer:s,updateViewer:l,destroyViewer:a}}}),zs={ref:"root"};function Ps(e,t,i,r,n,a){return Be(),Ke("div",zs,[Ge(e.$slots,"default",{images:e.images,options:e.options})],512)}var Rs=ks(js,[["render",Ps]]),Ms={install(e,{name:t="viewer",debug:i=!1,defaultOptions:r}={}){r&&et.setDefaults(r),e.config.globalProperties[`$${t}Api`]=rs,e.component(t,Ga(Rs,{name:t})),e.directive(t,Ls({name:t,debug:i}))},setDefaults(e){et.setDefaults(e)}};export{et as Viewer,rs as api,Rs as component,Ms as default,Ls as directive}; diff --git a/public/assets/v-viewer-b9217eae.js.br b/public/assets/v-viewer-b9217eae.js.br new file mode 100644 index 0000000..b04e0b6 Binary files /dev/null and b/public/assets/v-viewer-b9217eae.js.br differ diff --git a/public/assets/vue-10b4afc0.js b/public/assets/vue-10b4afc0.js new file mode 100644 index 0000000..b88fea8 --- /dev/null +++ b/public/assets/vue-10b4afc0.js @@ -0,0 +1,17 @@ +/** +* @vue/shared v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Wn(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const J={},ct=[],ye=()=>{},Lo=()=>!1,on=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Gn=e=>e.startsWith("onUpdate:"),ne=Object.assign,qn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},No=Object.prototype.hasOwnProperty,H=(e,t)=>No.call(e,t),R=Array.isArray,ft=e=>ln(e)==="[object Map]",ur=e=>ln(e)==="[object Set]",P=e=>typeof e=="function",te=e=>typeof e=="string",Ge=e=>typeof e=="symbol",k=e=>e!==null&&typeof e=="object",ar=e=>(k(e)||P(e))&&P(e.then)&&P(e.catch),dr=Object.prototype.toString,ln=e=>dr.call(e),$o=e=>ln(e).slice(8,-1),hr=e=>ln(e)==="[object Object]",kn=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yt=Wn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jo=/-(\w)/g,Ie=cn(e=>e.replace(jo,(t,n)=>n?n.toUpperCase():"")),Ho=/\B([A-Z])/g,rt=cn(e=>e.replace(Ho,"-$1").toLowerCase()),fn=cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),vn=cn(e=>e?`on${fn(e)}`:""),Ue=(e,t)=>!Object.is(e,t),Gt=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Pn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Do=e=>{const t=te(e)?Number(e):NaN;return isNaN(t)?e:t};let vs;const gr=()=>vs||(vs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zn(e){if(R(e)){const t={};for(let n=0;n{if(n){const s=n.split(Bo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Jn(e){let t="";if(te(e))t=e;else if(R(e))for(let n=0;n!!(e&&e.__v_isRef===!0),qo=e=>te(e)?e:e==null?"":R(e)||k(e)&&(e.toString===dr||!P(e.toString))?_r(e)?qo(e.value):JSON.stringify(e,yr,2):String(e),yr=(e,t)=>_r(t)?yr(e,t.value):ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Cn(s,o)+" =>"]=r,n),{})}:ur(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Cn(n))}:Ge(t)?Cn(t):k(t)&&!R(t)&&!hr(t)?String(t):t,Cn=(e,t="")=>{var n;return Ge(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let me;class br{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ke()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Be,n=nt;try{return Be=!0,nt=this,this._runnings++,Cs(this),this.fn()}finally{xs(this),this._runnings--,nt=n,Be=t}}stop(){this.active&&(Cs(this),xs(this),this.onStop&&this.onStop(),this.active=!1)}}function Jo(e){return e.value}function Cs(e){e._trackId++,e._depsLength=0}function xs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Xt=new WeakMap,st=Symbol(""),Nn=Symbol("");function pe(e,t,n){if(Be&&nt){let s=Xt.get(e);s||Xt.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=wr(()=>s.delete(n))),xr(nt,r)}}function Pe(e,t,n,s,r,o){const i=Xt.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&R(e)){const f=Number(s);i.forEach((a,d)=>{(d==="length"||!Ge(d)&&d>=f)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":R(e)?kn(n)&&l.push(i.get("length")):(l.push(i.get(st)),ft(e)&&l.push(i.get(Nn)));break;case"delete":R(e)||(l.push(i.get(st)),ft(e)&&l.push(i.get(Nn)));break;case"set":ft(e)&&l.push(i.get(st));break}Xn();for(const f of l)f&&Er(f,4);Zn()}function Yo(e,t){const n=Xt.get(e);return n&&n.get(t)}const Xo=Wn("__proto__,__v_isRef,__isVue"),Tr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge)),Es=Zo();function Zo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=D(this);for(let o=0,i=this.length;o{e[t]=function(...n){qe(),Xn();const s=D(this)[t].apply(this,n);return Zn(),ke(),s}}),e}function Qo(e){Ge(e)||(e=String(e));const t=D(this);return pe(t,"has",e),t.hasOwnProperty(e)}class Sr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?di:Or:o?Rr:Ir).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=R(t);if(!r){if(i&&H(Es,n))return Reflect.get(Es,n,s);if(n==="hasOwnProperty")return Qo}const l=Reflect.get(t,n,s);return(Ge(n)?Tr.has(n):Xo(n))||(r||pe(t,"get",n),o)?l:ue(l)?i&&kn(n)?l:l.value:k(l)?r?Mr(l):ts(l):l}}class Ar extends Sr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const f=Tt(o);if(!Zt(s)&&!Tt(s)&&(o=D(o),s=D(s)),!R(t)&&ue(o)&&!ue(s))return f?!1:(o.value=s,!0)}const i=R(t)&&kn(n)?Number(n)e,un=e=>Reflect.getPrototypeOf(e);function jt(e,t,n=!1,s=!1){e=e.__v_raw;const r=D(e),o=D(t);n||(Ue(t,o)&&pe(r,"get",t),pe(r,"get",o));const{has:i}=un(r),l=s?Qn:n?ss:St;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Ht(e,t=!1){const n=this.__v_raw,s=D(n),r=D(e);return t||(Ue(e,r)&&pe(s,"has",e),pe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Dt(e,t=!1){return e=e.__v_raw,!t&&pe(D(e),"iterate",st),Reflect.get(e,"size",e)}function ws(e){e=D(e);const t=D(this);return un(t).has.call(t,e)||(t.add(e),Pe(t,"add",e,e)),this}function Ts(e,t){t=D(t);const n=D(this),{has:s,get:r}=un(n);let o=s.call(n,e);o||(e=D(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Ue(t,i)&&Pe(n,"set",e,t):Pe(n,"add",e,t),this}function Ss(e){const t=D(this),{has:n,get:s}=un(t);let r=n.call(t,e);r||(e=D(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Pe(t,"delete",e,void 0),o}function As(){const e=D(this),t=e.size!==0,n=e.clear();return t&&Pe(e,"clear",void 0,void 0),n}function Vt(e,t){return function(s,r){const o=this,i=o.__v_raw,l=D(i),f=t?Qn:e?ss:St;return!e&&pe(l,"iterate",st),i.forEach((a,d)=>s.call(r,f(a),f(d),o))}}function Bt(e,t,n){return function(...s){const r=this.__v_raw,o=D(r),i=ft(o),l=e==="entries"||e===Symbol.iterator&&i,f=e==="keys"&&i,a=r[e](...s),d=n?Qn:t?ss:St;return!t&&pe(o,"iterate",f?Nn:st),{next(){const{value:p,done:g}=a.next();return g?{value:p,done:g}:{value:l?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function Le(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ri(){const e={get(o){return jt(this,o)},get size(){return Dt(this)},has:Ht,add:ws,set:Ts,delete:Ss,clear:As,forEach:Vt(!1,!1)},t={get(o){return jt(this,o,!1,!0)},get size(){return Dt(this)},has:Ht,add:ws,set:Ts,delete:Ss,clear:As,forEach:Vt(!1,!0)},n={get(o){return jt(this,o,!0)},get size(){return Dt(this,!0)},has(o){return Ht.call(this,o,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:Vt(!0,!1)},s={get(o){return jt(this,o,!0,!0)},get size(){return Dt(this,!0)},has(o){return Ht.call(this,o,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:Vt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Bt(o,!1,!1),n[o]=Bt(o,!0,!1),t[o]=Bt(o,!1,!0),s[o]=Bt(o,!0,!0)}),[e,n,t,s]}const[oi,ii,li,ci]=ri();function es(e,t){const n=t?e?ci:li:e?ii:oi;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(H(n,r)&&r in s?n:s,r,o)}const fi={get:es(!1,!1)},ui={get:es(!1,!0)},ai={get:es(!0,!1)};const Ir=new WeakMap,Rr=new WeakMap,Or=new WeakMap,di=new WeakMap;function hi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pi(e){return e.__v_skip||!Object.isExtensible(e)?0:hi($o(e))}function ts(e){return Tt(e)?e:ns(e,!1,ti,fi,Ir)}function gi(e){return ns(e,!1,si,ui,Rr)}function Mr(e){return ns(e,!0,ni,ai,Or)}function ns(e,t,n,s,r){if(!k(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=pi(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function bt(e){return Tt(e)?bt(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isReadonly)}function Zt(e){return!!(e&&e.__v_isShallow)}function Pr(e){return e?!!e.__v_raw:!1}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function mi(e){return Object.isExtensible(e)&&pr(e,"__v_skip",!0),e}const St=e=>k(e)?ts(e):e,ss=e=>k(e)?Mr(e):e;class Fr{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Yn(()=>t(this._value),()=>vt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=D(this);return(!t._cacheable||t.effect.dirty)&&Ue(t._value,t._value=t.effect.run())&&vt(t,4),rs(t),t.effect._dirtyLevel>=2&&vt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function _i(e,t,n=!1){let s,r;const o=P(e);return o?(s=e,r=ye):(s=e.get,r=e.set),new Fr(s,r,o||!r,n)}function rs(e){var t;Be&&nt&&(e=D(e),xr(nt,(t=e.dep)!=null?t:e.dep=wr(()=>e.dep=void 0,e instanceof Fr?e:void 0)))}function vt(e,t=4,n,s){e=D(e);const r=e.dep;r&&Er(r,t)}function ue(e){return!!(e&&e.__v_isRef===!0)}function qt(e){return Lr(e,!1)}function yc(e){return Lr(e,!0)}function Lr(e,t){return ue(e)?e:new yi(e,t)}class yi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:D(t),this._value=n?t:St(t)}get value(){return rs(this),this._value}set value(t){const n=this.__v_isShallow||Zt(t)||Tt(t);t=n?t:D(t),Ue(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:St(t),vt(this,4))}}function bi(e){return ue(e)?e.value:e}const vi={get:(e,t,n)=>bi(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ue(r)&&!ue(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Nr(e){return bt(e)?e:new Proxy(e,vi)}class Ci{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>rs(this),()=>vt(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function bc(e){return new Ci(e)}function vc(e){const t=R(e)?new Array(e.length):{};for(const n in e)t[n]=$r(e,n);return t}class xi{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Yo(D(this._object),this._key)}}class Ei{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Cc(e,t,n){return ue(e)?e:P(e)?new Ei(e):k(e)&&arguments.length>1?$r(e,t,n):qt(e)}function $r(e,t,n){const s=e[t];return ue(s)?s:new xi(e,t,n)}/** +* @vue/runtime-core v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Ke(e,t,n,s){try{return s?e(...s):e()}catch(r){Mt(r,t,n)}}function ve(e,t,n,s){if(P(e)){const r=Ke(e,t,n,s);return r&&ar(r)&&r.catch(o=>{Mt(o,t,n)}),r}if(R(e)){const r=[];for(let o=0;o>>1,r=fe[s],o=It(r);oAe&&fe.splice(t,1)}function Ii(e){R(e)?ut.push(...e):(!je||!je.includes(e,e.allowRecurse?et+1:et))&&ut.push(e),Hr()}function Is(e,t,n=At?Ae+1:0){for(;nIt(n)-It(s));if(ut.length=0,je){je.push(...t);return}for(je=t,et=0;ete.id==null?1/0:e.id,Ri=(e,t)=>{const n=It(e)-It(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Vr(e){$n=!1,At=!0,fe.sort(Ri);const t=ye;try{for(Ae=0;Aete(x)?x.trim():x)),p&&(r=n.map(Pn))}let l,f=s[l=vn(t)]||s[l=vn(Ie(t))];!f&&o&&(f=s[l=vn(rt(t))]),f&&ve(f,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ve(a,e,6,r)}}function Br(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!P(e)){const f=a=>{const d=Br(a,t,!0);d&&(l=!0,ne(i,d))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!o&&!l?(k(e)&&s.set(e,null),null):(R(o)?o.forEach(f=>i[f]=null):ne(i,o),k(e)&&s.set(e,i),i)}function dn(e,t){return!e||!on(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,rt(t))||H(e,t))}let oe=null,hn=null;function Qt(e){const t=oe;return oe=e,hn=e&&e.type.__scopeId||null,t}function xc(e){hn=e}function Ec(){hn=null}function Mi(e,t=oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Us(-1);const o=Qt(t);let i;try{i=e(...r)}finally{Qt(o),s._d&&Us(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function xn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:f,render:a,renderCache:d,props:p,data:g,setupState:x,ctx:T,inheritAttrs:M}=e,U=Qt(e);let B,N;try{if(n.shapeFlag&4){const G=r||s,Y=G;B=Se(a.call(Y,G,d,p,x,g,T)),N=l}else{const G=t;B=Se(G.length>1?G(p,{attrs:l,slots:i,emit:f}):G(p,null)),N=t.props?l:Pi(l)}}catch(G){wt.length=0,Mt(G,e,1),B=se(he)}let j=B;if(N&&M!==!1){const G=Object.keys(N),{shapeFlag:Y}=j;G.length&&Y&7&&(o&&G.some(Gn)&&(N=Fi(N,o)),j=We(j,N,!1,!0))}return n.dirs&&(j=We(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&(j.transition=n.transition),B=j,Qt(U),B}const Pi=e=>{let t;for(const n in e)(n==="class"||n==="style"||on(n))&&((t||(t={}))[n]=e[n]);return t},Fi=(e,t)=>{const n={};for(const s in e)(!Gn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Li(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:f}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?Rs(s,i,a):!!i;if(f&8){const d=t.dynamicProps;for(let p=0;pe.__isSuspense;function Hi(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Ii(e)}function pn(e,t,n=re,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{qe();const l=Ft(n),f=ve(t,n,e,i);return l(),ke(),f});return s?r.unshift(o):r.push(o),o}}const Fe=e=>(t,n=re)=>{(!Lt||e==="sp")&&pn(e,(...s)=>t(...s),n)},Di=Fe("bm"),Ur=Fe("m"),Vi=Fe("bu"),Wr=Fe("u"),Gr=Fe("bum"),qr=Fe("um"),Bi=Fe("sp"),Ki=Fe("rtg"),Ui=Fe("rtc");function Wi(e,t=re){pn("ec",e,t)}function Ac(e,t){if(oe===null)return e;const n=mn(oe),s=e.dirs||(e.dirs=[]);for(let r=0;rt(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,f=i.length;lne({name:e.name},t,{setup:e}))():e}const Ct=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Rc(e){P(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:l}=e;let f=null,a,d=0;const p=()=>(d++,f=null,g()),g=()=>{let x;return f||(x=f=t().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),l)return new Promise((M,U)=>{l(T,()=>M(p()),()=>U(T),d+1)});throw T}).then(T=>x!==f&&f?f:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),a=T,T)))};return Gi({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return a},setup(){const x=re;if(a)return()=>En(a,x);const T=N=>{f=null,Mt(N,x,13,!s)};if(i&&x.suspense||Lt)return g().then(N=>()=>En(N,x)).catch(N=>(T(N),()=>s?se(s,{error:N}):null));const M=qt(!1),U=qt(),B=qt(!!r);return r&&setTimeout(()=>{B.value=!1},r),o!=null&&setTimeout(()=>{if(!M.value&&!U.value){const N=new Error(`Async component timed out after ${o}ms.`);T(N),U.value=N}},o),g().then(()=>{M.value=!0,x.parent&&Pt(x.parent.vnode)&&(x.parent.effect.dirty=!0,an(x.parent.update))}).catch(N=>{T(N),U.value=N}),()=>{if(M.value&&a)return En(a,x);if(U.value&&s)return se(s,{error:U.value});if(n&&!B.value)return se(n)}}})}function En(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=se(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}function Oc(e,t,n={},s,r){if(oe.isCE||oe.parent&&Ct(oe.parent)&&oe.parent.isCE)return t!=="default"&&(n.name=t),se("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),po();const i=o&&kr(o(n)),l=mo(_e,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function kr(e){return e.some(t=>tn(t)?!(t.type===he||t.type===_e&&!kr(t.children)):!0)?e:null}const jn=e=>e?bo(e)?mn(e):jn(e.parent):null,xt=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>jn(e.parent),$root:e=>jn(e.root),$emit:e=>e.emit,$options:e=>cs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,an(e.update)}),$nextTick:e=>e.n||(e.n=Ti.bind(e.proxy)),$watch:e=>dl.bind(e)}),wn=(e,t)=>e!==J&&!e.__isScriptSetup&&H(e,t),qi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:f}=e;let a;if(t[0]!=="$"){const x=i[t];if(x!==void 0)switch(x){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(wn(s,t))return i[t]=1,s[t];if(r!==J&&H(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&H(a,t))return i[t]=3,o[t];if(n!==J&&H(n,t))return i[t]=4,n[t];Hn&&(i[t]=0)}}const d=xt[t];let p,g;if(d)return t==="$attrs"&&pe(e.attrs,"get",""),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==J&&H(n,t))return i[t]=4,n[t];if(g=f.config.globalProperties,H(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return wn(r,t)?(r[t]=n,!0):s!==J&&H(s,t)?(s[t]=n,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==J&&H(e,i)||wn(t,i)||(l=o[0])&&H(l,i)||H(s,i)||H(xt,i)||H(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:H(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mc(){return zr().slots}function Pc(){return zr().attrs}function zr(){const e=ps();return e.setupContext||(e.setupContext=Co(e))}function Ms(e){return R(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Hn=!0;function ki(e){const t=cs(e),n=e.proxy,s=e.ctx;Hn=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:f,inject:a,created:d,beforeMount:p,mounted:g,beforeUpdate:x,updated:T,activated:M,deactivated:U,beforeDestroy:B,beforeUnmount:N,destroyed:j,unmounted:G,render:Y,renderTracked:O,renderTriggered:X,errorCaptured:Z,serverPrefetch:L,expose:V,inheritAttrs:W,components:S,directives:Q,filters:ce}=t;if(a&&zi(a,s,null),i)for(const ee in i){const q=i[ee];P(q)&&(s[ee]=q.bind(n))}if(r){const ee=r.call(n,n);k(ee)&&(e.data=ts(ee))}if(Hn=!0,o)for(const ee in o){const q=o[ee],Je=P(q)?q.bind(n,n):P(q.get)?q.get.bind(n,n):ye,Nt=!P(q)&&P(q.set)?q.set.bind(n):ye,Ye=Ll({get:Je,set:Nt});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Ee=>Ye.value=Ee})}if(l)for(const ee in l)Jr(l[ee],s,n,ee);if(f){const ee=P(f)?f.call(n):f;Reflect.ownKeys(ee).forEach(q=>{el(q,ee[q])})}d&&Ps(d,e,"c");function ie(ee,q){R(q)?q.forEach(Je=>ee(Je.bind(n))):q&&ee(q.bind(n))}if(ie(Di,p),ie(Ur,g),ie(Vi,x),ie(Wr,T),ie(hl,M),ie(pl,U),ie(Wi,Z),ie(Ui,O),ie(Ki,X),ie(Gr,N),ie(qr,G),ie(Bi,L),R(V))if(V.length){const ee=e.exposed||(e.exposed={});V.forEach(q=>{Object.defineProperty(ee,q,{get:()=>n[q],set:Je=>n[q]=Je})})}else e.exposed||(e.exposed={});Y&&e.render===ye&&(e.render=Y),W!=null&&(e.inheritAttrs=W),S&&(e.components=S),Q&&(e.directives=Q)}function zi(e,t,n=ye){R(e)&&(e=Dn(e));for(const s in e){const r=e[s];let o;k(r)?"default"in r?o=kt(r.from||s,r.default,!0):o=kt(r.from||s):o=kt(r),ue(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Ps(e,t,n){ve(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Jr(e,t,n,s){const r=s.includes(".")?io(n,s):()=>n[s];if(te(e)){const o=t[e];P(o)&&Sn(r,o)}else if(P(e))Sn(r,e.bind(n));else if(k(e))if(R(e))e.forEach(o=>Jr(o,t,n,s));else{const o=P(e.handler)?e.handler.bind(n):t[e.handler];P(o)&&Sn(r,o,e)}}function cs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let f;return l?f=l:!r.length&&!n&&!s?f=t:(f={},r.length&&r.forEach(a=>en(f,a,i,!0)),en(f,t,i)),k(t)&&o.set(t,f),f}function en(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&en(e,o,n,!0),r&&r.forEach(i=>en(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ji[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ji={data:Fs,props:Ls,emits:Ls,methods:_t,computed:_t,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:_t,directives:_t,watch:Xi,provide:Fs,inject:Yi};function Fs(e,t){return t?e?function(){return ne(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Yi(e,t){return _t(Dn(e),Dn(t))}function Dn(e){if(R(e)){const t={};for(let n=0;n1)return n&&P(t)?t.call(s&&s.proxy):t}}function Fc(){return!!(re||oe||at)}const Xr={},Zr=()=>Object.create(Xr),Qr=e=>Object.getPrototypeOf(e)===Xr;function tl(e,t,n,s=!1){const r={},o=Zr();e.propsDefaults=Object.create(null),eo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:gi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function nl(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=D(r),[f]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let p=0;p{f=!0;const[g,x]=to(p,t,!0);ne(i,g),x&&l.push(...x)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!f)return k(e)&&s.set(e,ct),ct;if(R(o))for(let d=0;d-1,x[1]=M<0||T-1||H(x,"default"))&&l.push(p)}}}const a=[i,l];return k(e)&&s.set(e,a),a}function Ns(e){return e[0]!=="$"&&!yt(e)}function $s(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function js(e,t){return $s(e)===$s(t)}function Hs(e,t){return R(t)?t.findIndex(n=>js(n,e)):P(t)&&js(t,e)?0:-1}const no=e=>e[0]==="_"||e==="$stable",fs=e=>R(e)?e.map(Se):[Se(e)],sl=(e,t,n)=>{if(t._n)return t;const s=Mi((...r)=>fs(t(...r)),n);return s._c=!1,s},so=(e,t,n)=>{const s=e._ctx;for(const r in e){if(no(r))continue;const o=e[r];if(P(o))t[r]=sl(r,o,s);else if(o!=null){const i=fs(o);t[r]=()=>i}}},ro=(e,t)=>{const n=fs(t);e.slots.default=()=>n},rl=(e,t)=>{const n=e.slots=Zr();if(e.vnode.shapeFlag&32){const s=t._;s?(ne(n,t),pr(n,"_",s,!0)):so(t,n)}else t&&ro(e,t)},ol=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=J;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ne(r,t),!n&&l===1&&delete r._):(o=!t.$stable,so(t,r)),i=t}else t&&(ro(e,t),i={default:1});if(o)for(const l in r)!no(l)&&i[l]==null&&delete r[l]};function Bn(e,t,n,s,r=!1){if(R(e)){e.forEach((g,x)=>Bn(g,t&&(R(t)?t[x]:t),n,s,r));return}if(Ct(s)&&!r)return;const o=s.shapeFlag&4?mn(s.component):s.el,i=r?null:o,{i:l,r:f}=e,a=t&&t.r,d=l.refs===J?l.refs={}:l.refs,p=l.setupState;if(a!=null&&a!==f&&(te(a)?(d[a]=null,H(p,a)&&(p[a]=null)):ue(a)&&(a.value=null)),P(f))Ke(f,l,12,[i,d]);else{const g=te(f),x=ue(f);if(g||x){const T=()=>{if(e.f){const M=g?H(p,f)?p[f]:d[f]:f.value;r?R(M)&&qn(M,o):R(M)?M.includes(o)||M.push(o):g?(d[f]=[o],H(p,f)&&(p[f]=d[f])):(f.value=[o],e.k&&(d[e.k]=f.value))}else g?(d[f]=i,H(p,f)&&(p[f]=i)):x&&(f.value=i,e.k&&(d[e.k]=i))};i?(T.id=-1,de(T,n)):T()}}}const de=Hi;function il(e){return ll(e)}function ll(e,t){const n=gr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:f,setText:a,setElementText:d,parentNode:p,nextSibling:g,setScopeId:x=ye,insertStaticContent:T}=e,M=(c,u,h,m=null,_=null,v=null,E=void 0,b=null,C=!!u.dynamicChildren)=>{if(c===u)return;c&&!tt(c,u)&&(m=$t(c),Ee(c,_,v,!0),c=null),u.patchFlag===-2&&(C=!1,u.dynamicChildren=null);const{type:y,ref:w,shapeFlag:I}=u;switch(y){case gn:U(c,u,h,m);break;case he:B(c,u,h,m);break;case zt:c==null&&N(u,h,m,E);break;case _e:S(c,u,h,m,_,v,E,b,C);break;default:I&1?Y(c,u,h,m,_,v,E,b,C):I&6?Q(c,u,h,m,_,v,E,b,C):(I&64||I&128)&&y.process(c,u,h,m,_,v,E,b,C,ot)}w!=null&&_&&Bn(w,c&&c.ref,v,u||c,!u)},U=(c,u,h,m)=>{if(c==null)s(u.el=l(u.children),h,m);else{const _=u.el=c.el;u.children!==c.children&&a(_,u.children)}},B=(c,u,h,m)=>{c==null?s(u.el=f(u.children||""),h,m):u.el=c.el},N=(c,u,h,m)=>{[c.el,c.anchor]=T(c.children,u,h,m,c.el,c.anchor)},j=({el:c,anchor:u},h,m)=>{let _;for(;c&&c!==u;)_=g(c),s(c,h,m),c=_;s(u,h,m)},G=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=g(c),r(c),c=h;r(u)},Y=(c,u,h,m,_,v,E,b,C)=>{u.type==="svg"?E="svg":u.type==="math"&&(E="mathml"),c==null?O(u,h,m,_,v,E,b,C):L(c,u,_,v,E,b,C)},O=(c,u,h,m,_,v,E,b)=>{let C,y;const{props:w,shapeFlag:I,transition:A,dirs:F}=c;if(C=c.el=i(c.type,v,w&&w.is,w),I&8?d(C,c.children):I&16&&Z(c.children,C,null,m,_,Tn(c,v),E,b),F&&Xe(c,null,m,"created"),X(C,c,c.scopeId,E,m),w){for(const z in w)z!=="value"&&!yt(z)&&o(C,z,null,w[z],v,c.children,m,_,Re);"value"in w&&o(C,"value",null,w.value,v),(y=w.onVnodeBeforeMount)&&Te(y,m,c)}F&&Xe(c,null,m,"beforeMount");const $=cl(_,A);$&&A.beforeEnter(C),s(C,u,h),((y=w&&w.onVnodeMounted)||$||F)&&de(()=>{y&&Te(y,m,c),$&&A.enter(C),F&&Xe(c,null,m,"mounted")},_)},X=(c,u,h,m,_)=>{if(h&&x(c,h),m)for(let v=0;v{for(let y=C;y{const b=u.el=c.el;let{patchFlag:C,dynamicChildren:y,dirs:w}=u;C|=c.patchFlag&16;const I=c.props||J,A=u.props||J;let F;if(h&&Ze(h,!1),(F=A.onVnodeBeforeUpdate)&&Te(F,h,u,c),w&&Xe(u,c,h,"beforeUpdate"),h&&Ze(h,!0),y?V(c.dynamicChildren,y,b,h,m,Tn(u,_),v):E||q(c,u,b,null,h,m,Tn(u,_),v,!1),C>0){if(C&16)W(b,u,I,A,h,m,_);else if(C&2&&I.class!==A.class&&o(b,"class",null,A.class,_),C&4&&o(b,"style",I.style,A.style,_),C&8){const $=u.dynamicProps;for(let z=0;z<$.length;z++){const K=$[z],le=I[K],Ce=A[K];(Ce!==le||K==="value")&&o(b,K,le,Ce,_,c.children,h,m,Re)}}C&1&&c.children!==u.children&&d(b,u.children)}else!E&&y==null&&W(b,u,I,A,h,m,_);((F=A.onVnodeUpdated)||w)&&de(()=>{F&&Te(F,h,u,c),w&&Xe(u,c,h,"updated")},m)},V=(c,u,h,m,_,v,E)=>{for(let b=0;b{if(h!==m){if(h!==J)for(const b in h)!yt(b)&&!(b in m)&&o(c,b,h[b],null,E,u.children,_,v,Re);for(const b in m){if(yt(b))continue;const C=m[b],y=h[b];C!==y&&b!=="value"&&o(c,b,y,C,E,u.children,_,v,Re)}"value"in m&&o(c,"value",h.value,m.value,E)}},S=(c,u,h,m,_,v,E,b,C)=>{const y=u.el=c?c.el:l(""),w=u.anchor=c?c.anchor:l("");let{patchFlag:I,dynamicChildren:A,slotScopeIds:F}=u;F&&(b=b?b.concat(F):F),c==null?(s(y,h,m),s(w,h,m),Z(u.children||[],h,w,_,v,E,b,C)):I>0&&I&64&&A&&c.dynamicChildren?(V(c.dynamicChildren,A,h,_,v,E,b),(u.key!=null||_&&u===_.subTree)&&us(c,u,!0)):q(c,u,h,w,_,v,E,b,C)},Q=(c,u,h,m,_,v,E,b,C)=>{u.slotScopeIds=b,c==null?u.shapeFlag&512?_.ctx.activate(u,h,m,E,C):ce(u,h,m,_,v,E,C):ze(c,u,C)},ce=(c,u,h,m,_,v,E)=>{const b=c.component=Il(c,m,_);if(Pt(c)&&(b.ctx.renderer=ot),Rl(b),b.asyncDep){if(_&&_.registerDep(b,ie,E),!c.el){const C=b.subTree=se(he);B(null,C,u,h)}}else ie(b,c,u,h,_,v,E)},ze=(c,u,h)=>{const m=u.component=c.component;if(Li(c,u,h))if(m.asyncDep&&!m.asyncResolved){ee(m,u,h);return}else m.next=u,Ai(m.update),m.effect.dirty=!0,m.update();else u.el=c.el,m.vnode=u},ie=(c,u,h,m,_,v,E)=>{const b=()=>{if(c.isMounted){let{next:w,bu:I,u:A,parent:F,vnode:$}=c;{const it=oo(c);if(it){w&&(w.el=$.el,ee(c,w,E)),it.asyncDep.then(()=>{c.isUnmounted||b()});return}}let z=w,K;Ze(c,!1),w?(w.el=$.el,ee(c,w,E)):w=$,I&&Gt(I),(K=w.props&&w.props.onVnodeBeforeUpdate)&&Te(K,F,w,$),Ze(c,!0);const le=xn(c),Ce=c.subTree;c.subTree=le,M(Ce,le,p(Ce.el),$t(Ce),c,_,v),w.el=le.el,z===null&&Ni(c,le.el),A&&de(A,_),(K=w.props&&w.props.onVnodeUpdated)&&de(()=>Te(K,F,w,$),_)}else{let w;const{el:I,props:A}=u,{bm:F,m:$,parent:z}=c,K=Ct(u);if(Ze(c,!1),F&&Gt(F),!K&&(w=A&&A.onVnodeBeforeMount)&&Te(w,z,u),Ze(c,!0),I&&bn){const le=()=>{c.subTree=xn(c),bn(I,c.subTree,c,_,null)};K?u.type.__asyncLoader().then(()=>!c.isUnmounted&&le()):le()}else{const le=c.subTree=xn(c);M(null,le,h,m,c,_,v),u.el=le.el}if($&&de($,_),!K&&(w=A&&A.onVnodeMounted)){const le=u;de(()=>Te(w,z,le),_)}(u.shapeFlag&256||z&&Ct(z.vnode)&&z.vnode.shapeFlag&256)&&c.a&&de(c.a,_),c.isMounted=!0,u=h=m=null}},C=c.effect=new Yn(b,ye,()=>an(y),c.scope),y=c.update=()=>{C.dirty&&C.run()};y.id=c.uid,Ze(c,!0),y()},ee=(c,u,h)=>{u.component=c;const m=c.vnode.props;c.vnode=u,c.next=null,nl(c,u.props,m,h),ol(c,u.children,h),qe(),Is(c),ke()},q=(c,u,h,m,_,v,E,b,C=!1)=>{const y=c&&c.children,w=c?c.shapeFlag:0,I=u.children,{patchFlag:A,shapeFlag:F}=u;if(A>0){if(A&128){Nt(y,I,h,m,_,v,E,b,C);return}else if(A&256){Je(y,I,h,m,_,v,E,b,C);return}}F&8?(w&16&&Re(y,_,v),I!==y&&d(h,I)):w&16?F&16?Nt(y,I,h,m,_,v,E,b,C):Re(y,_,v,!0):(w&8&&d(h,""),F&16&&Z(I,h,m,_,v,E,b,C))},Je=(c,u,h,m,_,v,E,b,C)=>{c=c||ct,u=u||ct;const y=c.length,w=u.length,I=Math.min(y,w);let A;for(A=0;Aw?Re(c,_,v,!0,!1,I):Z(u,h,m,_,v,E,b,C,I)},Nt=(c,u,h,m,_,v,E,b,C)=>{let y=0;const w=u.length;let I=c.length-1,A=w-1;for(;y<=I&&y<=A;){const F=c[y],$=u[y]=C?De(u[y]):Se(u[y]);if(tt(F,$))M(F,$,h,null,_,v,E,b,C);else break;y++}for(;y<=I&&y<=A;){const F=c[I],$=u[A]=C?De(u[A]):Se(u[A]);if(tt(F,$))M(F,$,h,null,_,v,E,b,C);else break;I--,A--}if(y>I){if(y<=A){const F=A+1,$=FA)for(;y<=I;)Ee(c[y],_,v,!0),y++;else{const F=y,$=y,z=new Map;for(y=$;y<=A;y++){const ge=u[y]=C?De(u[y]):Se(u[y]);ge.key!=null&&z.set(ge.key,y)}let K,le=0;const Ce=A-$+1;let it=!1,_s=0;const pt=new Array(Ce);for(y=0;y=Ce){Ee(ge,_,v,!0);continue}let we;if(ge.key!=null)we=z.get(ge.key);else for(K=$;K<=A;K++)if(pt[K-$]===0&&tt(ge,u[K])){we=K;break}we===void 0?Ee(ge,_,v,!0):(pt[we-$]=y+1,we>=_s?_s=we:it=!0,M(ge,u[we],h,null,_,v,E,b,C),le++)}const ys=it?fl(pt):ct;for(K=ys.length-1,y=Ce-1;y>=0;y--){const ge=$+y,we=u[ge],bs=ge+1{const{el:v,type:E,transition:b,children:C,shapeFlag:y}=c;if(y&6){Ye(c.component.subTree,u,h,m);return}if(y&128){c.suspense.move(u,h,m);return}if(y&64){E.move(c,u,h,ot);return}if(E===_e){s(v,u,h);for(let I=0;Ib.enter(v),_);else{const{leave:I,delayLeave:A,afterLeave:F}=b,$=()=>s(v,u,h),z=()=>{I(v,()=>{$(),F&&F()})};A?A(v,$,z):z()}else s(v,u,h)},Ee=(c,u,h,m=!1,_=!1)=>{const{type:v,props:E,ref:b,children:C,dynamicChildren:y,shapeFlag:w,patchFlag:I,dirs:A,memoIndex:F}=c;if(I===-2&&(_=!1),b!=null&&Bn(b,null,h,c,!0),F!=null&&(u.renderCache[F]=void 0),w&256){u.ctx.deactivate(c);return}const $=w&1&&A,z=!Ct(c);let K;if(z&&(K=E&&E.onVnodeBeforeUnmount)&&Te(K,u,c),w&6)Fo(c.component,h,m);else{if(w&128){c.suspense.unmount(h,m);return}$&&Xe(c,null,u,"beforeUnmount"),w&64?c.type.remove(c,u,h,ot,m):y&&(v!==_e||I>0&&I&64)?Re(y,u,h,!1,!0):(v===_e&&I&384||!_&&w&16)&&Re(C,u,h),m&&gs(c)}(z&&(K=E&&E.onVnodeUnmounted)||$)&&de(()=>{K&&Te(K,u,c),$&&Xe(c,null,u,"unmounted")},h)},gs=c=>{const{type:u,el:h,anchor:m,transition:_}=c;if(u===_e){Po(h,m);return}if(u===zt){G(c);return}const v=()=>{r(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:E,delayLeave:b}=_,C=()=>E(h,v);b?b(c.el,v,C):C()}else v()},Po=(c,u)=>{let h;for(;c!==u;)h=g(c),r(c),c=h;r(u)},Fo=(c,u,h)=>{const{bum:m,scope:_,update:v,subTree:E,um:b,m:C,a:y}=c;Ds(C),Ds(y),m&&Gt(m),_.stop(),v&&(v.active=!1,Ee(E,c,u,h)),b&&de(b,u),de(()=>{c.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Re=(c,u,h,m=!1,_=!1,v=0)=>{for(let E=v;Ec.shapeFlag&6?$t(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el);let _n=!1;const ms=(c,u,h)=>{c==null?u._vnode&&Ee(u._vnode,null,null,!0):M(u._vnode||null,c,u,null,null,null,h),_n||(_n=!0,Is(),Dr(),_n=!1),u._vnode=c},ot={p:M,um:Ee,m:Ye,r:gs,mt:ce,mc:Z,pc:q,pbc:V,n:$t,o:e};let yn,bn;return t&&([yn,bn]=t(ot)),{render:ms,hydrate:yn,createApp:Qi(ms,yn)}}function Tn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ze({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function cl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function us(e,t,n=!1){const s=e.children,r=t.children;if(R(s)&&R(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function oo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oo(t)}function Ds(e){if(e)for(let t=0;tkt(ul);function Lc(e,t){return as(e,null,t)}const Kt={};function Sn(e,t,n){return as(e,t,n)}function as(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=J){if(t&&o){const O=t;t=(...X)=>{O(...X),Y()}}const f=re,a=O=>s===!0?O:Ve(O,s===!1?1:void 0);let d,p=!1,g=!1;if(ue(e)?(d=()=>e.value,p=Zt(e)):bt(e)?(d=()=>a(e),p=!0):R(e)?(g=!0,p=e.some(O=>bt(O)||Zt(O)),d=()=>e.map(O=>{if(ue(O))return O.value;if(bt(O))return a(O);if(P(O))return Ke(O,f,2)})):P(e)?t?d=()=>Ke(e,f,2):d=()=>(x&&x(),ve(e,f,3,[T])):d=ye,t&&s){const O=d;d=()=>Ve(O())}let x,T=O=>{x=j.onStop=()=>{Ke(O,f,4),x=j.onStop=void 0}},M;if(Lt)if(T=ye,t?n&&ve(t,f,3,[d(),g?[]:void 0,T]):d(),r==="sync"){const O=al();M=O.__watcherHandles||(O.__watcherHandles=[])}else return ye;let U=g?new Array(e.length).fill(Kt):Kt;const B=()=>{if(!(!j.active||!j.dirty))if(t){const O=j.run();(s||p||(g?O.some((X,Z)=>Ue(X,U[Z])):Ue(O,U)))&&(x&&x(),ve(t,f,3,[O,U===Kt?void 0:g&&U[0]===Kt?[]:U,T]),U=O)}else j.run()};B.allowRecurse=!!t;let N;r==="sync"?N=B:r==="post"?N=()=>de(B,f&&f.suspense):(B.pre=!0,f&&(B.id=f.uid),N=()=>an(B));const j=new Yn(d,ye,N),G=zo(),Y=()=>{j.stop(),G&&qn(G.effects,j)};return t?n?B():U=j.run():r==="post"?de(j.run.bind(j),f&&f.suspense):j.run(),M&&M.push(Y),Y}function dl(e,t,n){const s=this.proxy,r=te(e)?e.includes(".")?io(s,e):()=>s[e]:e.bind(s,s);let o;P(t)?o=t:(o=t.handler,n=t);const i=Ft(this),l=as(r,o.bind(s),n);return i(),l}function io(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Ve(s,t,n)});else if(hr(e)){for(const s in e)Ve(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ve(e[s],t,n)}return e}const Pt=e=>e.type.__isKeepAlive;function hl(e,t){lo(e,"a",t)}function pl(e,t){lo(e,"da",t)}function lo(e,t,n=re){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(pn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Pt(r.parent.vnode)&&gl(s,t,n,r),r=r.parent}}function gl(e,t,n,s){const r=pn(t,e,s,!0);qr(()=>{qn(s[t],r)},n)}const He=Symbol("_leaveCb"),Ut=Symbol("_enterCb");function co(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ur(()=>{e.isMounted=!0}),Gr(()=>{e.isUnmounting=!0}),e}const be=[Function,Array],fo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:be,onEnter:be,onAfterEnter:be,onEnterCancelled:be,onBeforeLeave:be,onLeave:be,onAfterLeave:be,onLeaveCancelled:be,onBeforeAppear:be,onAppear:be,onAfterAppear:be,onAppearCancelled:be},uo=e=>{const t=e.subTree;return t.component?uo(t.component):t},ml={name:"BaseTransition",props:fo,setup(e,{slots:t}){const n=ps(),s=co();return()=>{const r=t.default&&ds(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==he){o=g;break}}const i=D(e),{mode:l}=i;if(s.isLeaving)return An(o);const f=Vs(o);if(!f)return An(o);let a=Rt(f,i,s,n,g=>a=g);dt(f,a);const d=n.subTree,p=d&&Vs(d);if(p&&p.type!==he&&!tt(f,p)&&uo(n).type!==he){const g=Rt(p,i,s,n);if(dt(p,g),l==="out-in"&&f.type!==he)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},An(o);l==="in-out"&&f.type!==he&&(g.delayLeave=(x,T,M)=>{const U=ao(s,p);U[String(p.key)]=p,x[He]=()=>{T(),x[He]=void 0,delete a.delayedLeave},a.delayedLeave=M})}return o}}},_l=ml;function ao(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Rt(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:f,onEnter:a,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:g,onLeave:x,onAfterLeave:T,onLeaveCancelled:M,onBeforeAppear:U,onAppear:B,onAfterAppear:N,onAppearCancelled:j}=t,G=String(e.key),Y=ao(n,e),O=(L,V)=>{L&&ve(L,s,9,V)},X=(L,V)=>{const W=V[1];O(L,V),R(L)?L.every(S=>S.length<=1)&&W():L.length<=1&&W()},Z={mode:i,persisted:l,beforeEnter(L){let V=f;if(!n.isMounted)if(o)V=U||f;else return;L[He]&&L[He](!0);const W=Y[G];W&&tt(e,W)&&W.el[He]&&W.el[He](),O(V,[L])},enter(L){let V=a,W=d,S=p;if(!n.isMounted)if(o)V=B||a,W=N||d,S=j||p;else return;let Q=!1;const ce=L[Ut]=ze=>{Q||(Q=!0,ze?O(S,[L]):O(W,[L]),Z.delayedLeave&&Z.delayedLeave(),L[Ut]=void 0)};V?X(V,[L,ce]):ce()},leave(L,V){const W=String(e.key);if(L[Ut]&&L[Ut](!0),n.isUnmounting)return V();O(g,[L]);let S=!1;const Q=L[He]=ce=>{S||(S=!0,V(),ce?O(M,[L]):O(T,[L]),L[He]=void 0,Y[W]===e&&delete Y[W])};Y[W]=e,x?X(x,[L,Q]):Q()},clone(L){const V=Rt(L,t,n,s,r);return r&&r(V),V}};return Z}function An(e){if(Pt(e))return e=We(e),e.children=null,e}function Vs(e){if(!Pt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&P(n.default))return n.default()}}function dt(e,t){e.shapeFlag&6&&e.component?dt(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ds(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,Et=e=>e&&(e.disabled||e.disabled===""),Bs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ks=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Kn=(e,t)=>{const n=e&&e.to;return te(n)?t?t(n):null:n},bl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,f,a){const{mc:d,pc:p,pbc:g,o:{insert:x,querySelector:T,createText:M,createComment:U}}=a,B=Et(t.props);let{shapeFlag:N,children:j,dynamicChildren:G}=t;if(e==null){const Y=t.el=M(""),O=t.anchor=M("");x(Y,n,s),x(O,n,s);const X=t.target=Kn(t.props,T),Z=t.targetAnchor=M("");X&&(x(Z,X),i==="svg"||Bs(X)?i="svg":(i==="mathml"||Ks(X))&&(i="mathml"));const L=(V,W)=>{N&16&&d(j,V,W,r,o,i,l,f)};B?L(n,O):X&&L(X,Z)}else{t.el=e.el;const Y=t.anchor=e.anchor,O=t.target=e.target,X=t.targetAnchor=e.targetAnchor,Z=Et(e.props),L=Z?n:O,V=Z?Y:X;if(i==="svg"||Bs(O)?i="svg":(i==="mathml"||Ks(O))&&(i="mathml"),G?(g(e.dynamicChildren,G,L,r,o,i,l),us(e,t,!0)):f||p(e,t,L,V,r,o,i,l,!1),B)Z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Wt(t,n,Y,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Kn(t.props,T);W&&Wt(t,W,null,a,0)}else Z&&Wt(t,O,X,a,1)}ho(t)},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:f,targetAnchor:a,target:d,props:p}=e;if(d&&r(a),o&&r(f),i&16){const g=o||!Et(p);for(let x=0;x0?xe||ct:null,Cl(),Ot>0&&xe&&xe.push(e),e}function $c(e,t,n,s,r,o){return go(yo(e,t,n,s,r,o,!0))}function mo(e,t,n,s,r){return go(se(e,t,n,s,r,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}function tt(e,t){return e.type===t.type&&e.key===t.key}const _o=({key:e})=>e??null,Jt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||ue(e)||P(e)?{i:oe,r:e,k:t,f:!!n}:e:null);function yo(e,t=null,n=null,s=0,r=null,o=e===_e?0:1,i=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_o(t),ref:t&&Jt(t),scopeId:hn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:oe};return l?(hs(f,n),o&128&&e.normalize(f)):n&&(f.shapeFlag|=te(n)?8:16),Ot>0&&!i&&xe&&(f.patchFlag>0||o&6)&&f.patchFlag!==32&&xe.push(f),f}const se=xl;function xl(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Kr)&&(e=he),tn(e)){const l=We(e,t,!0);return n&&hs(l,n),Ot>0&&!o&&xe&&(l.shapeFlag&6?xe[xe.indexOf(e)]=l:xe.push(l)),l.patchFlag=-2,l}if(Fl(e)&&(e=e.__vccOpts),t){t=El(t);let{class:l,style:f}=t;l&&!te(l)&&(t.class=Jn(l)),k(f)&&(Pr(f)&&!R(f)&&(f=ne({},f)),t.style=zn(f))}const i=te(e)?1:ji(e)?128:yl(e)?64:k(e)?4:P(e)?2:0;return yo(e,t,n,s,r,i,o,!0)}function El(e){return e?Pr(e)||Qr(e)?ne({},e):e:null}function We(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:f}=e,a=t?Tl(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&_o(a),ref:t&&t.ref?n&&o?R(o)?o.concat(Jt(t)):[o,Jt(t)]:Jt(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&We(e.ssContent),ssFallback:e.ssFallback&&We(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&s&&dt(d,f.clone(d)),d}function wl(e=" ",t=0){return se(gn,null,e,t)}function jc(e,t){const n=se(zt,null,e);return n.staticCount=t,n}function Hc(e="",t=!1){return t?(po(),mo(he,null,e)):se(he,null,e)}function Se(e){return e==null||typeof e=="boolean"?se(he):R(e)?se(_e,null,e.slice()):typeof e=="object"?De(e):se(gn,null,String(e))}function De(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:We(e)}function hs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),hs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Qr(t)?t._ctx=oe:r===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else P(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),s&64?(n=16,t=[wl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tl(...e){const t={};for(let n=0;nre||oe;let nn,Un;{const e=gr(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};nn=t("__VUE_INSTANCE_SETTERS__",n=>re=n),Un=t("__VUE_SSR_SETTERS__",n=>Lt=n)}const Ft=e=>{const t=re;return nn(e),e.scope.on(),()=>{e.scope.off(),nn(t)}},Ws=()=>{re&&re.scope.off(),nn(null)};function bo(e){return e.vnode.shapeFlag&4}let Lt=!1;function Rl(e,t=!1){t&&Un(t);const{props:n,children:s}=e.vnode,r=bo(e);tl(e,n,r,t),rl(e,s);const o=r?Ol(e,t):void 0;return t&&Un(!1),o}function Ol(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qi);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Co(e):null,o=Ft(e);qe();const i=Ke(s,e,0,[e.props,r]);if(ke(),o(),ar(i)){if(i.then(Ws,Ws),t)return i.then(l=>{Gs(e,l,t)}).catch(l=>{Mt(l,e,0)});e.asyncDep=i}else Gs(e,i,t)}else vo(e,t)}function Gs(e,t,n){P(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:k(t)&&(e.setupState=Nr(t)),vo(e,n)}let qs;function vo(e,t,n){const s=e.type;if(!e.render){if(!t&&qs&&!s.render){const r=s.template||cs(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:f}=s,a=ne(ne({isCustomElement:o,delimiters:l},i),f);s.render=qs(r,a)}}e.render=s.render||ye}{const r=Ft(e);qe();try{ki(e)}finally{ke(),r()}}}const Ml={get(e,t){return pe(e,"get",""),e[t]}};function Co(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ml),slots:e.slots,emit:e.emit,expose:t}}function mn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nr(mi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xt)return xt[n](e)},has(t,n){return n in t||n in xt}})):e.proxy}function Pl(e,t=!0){return P(e)?e.displayName||e.name:e.name||t&&e.__name}function Fl(e){return P(e)&&"__vccOpts"in e}const Ll=(e,t)=>_i(e,t,Lt);function Nl(e,t,n){const s=arguments.length;return s===2?k(t)&&!R(t)?tn(t)?se(e,null,[t]):se(e,t):se(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&tn(n)&&(n=[n]),se(e,t,n))}const $l="3.4.31";/** +* @vue/runtime-dom v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const jl="http://www.w3.org/2000/svg",Hl="http://www.w3.org/1998/Math/MathML",Me=typeof document<"u"?document:null,ks=Me&&Me.createElement("template"),Dl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Me.createElementNS(jl,e):t==="mathml"?Me.createElementNS(Hl,e):n?Me.createElement(e,{is:n}):Me.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Me.createTextNode(e),createComment:e=>Me.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Me.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ks.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=ks.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ne="transition",gt="animation",ht=Symbol("_vtc"),xo=(e,{slots:t})=>Nl(_l,wo(e),t);xo.displayName="Transition";const Eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Vl=xo.props=ne({},fo,Eo),Qe=(e,t=[])=>{R(e)?e.forEach(n=>n(...t)):e&&e(...t)},zs=e=>e?R(e)?e.some(t=>t.length>1):e.length>1:!1;function wo(e){const t={};for(const S in e)S in Eo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=o,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:x=`${n}-leave-to`}=e,T=Bl(r),M=T&&T[0],U=T&&T[1],{onBeforeEnter:B,onEnter:N,onEnterCancelled:j,onLeave:G,onLeaveCancelled:Y,onBeforeAppear:O=B,onAppear:X=N,onAppearCancelled:Z=j}=t,L=(S,Q,ce)=>{$e(S,Q?d:l),$e(S,Q?a:i),ce&&ce()},V=(S,Q)=>{S._isLeaving=!1,$e(S,p),$e(S,x),$e(S,g),Q&&Q()},W=S=>(Q,ce)=>{const ze=S?X:N,ie=()=>L(Q,S,ce);Qe(ze,[Q,ie]),Js(()=>{$e(Q,S?f:o),Oe(Q,S?d:l),zs(ze)||Ys(Q,s,M,ie)})};return ne(t,{onBeforeEnter(S){Qe(B,[S]),Oe(S,o),Oe(S,i)},onBeforeAppear(S){Qe(O,[S]),Oe(S,f),Oe(S,a)},onEnter:W(!1),onAppear:W(!0),onLeave(S,Q){S._isLeaving=!0;const ce=()=>V(S,Q);Oe(S,p),Oe(S,g),So(),Js(()=>{S._isLeaving&&($e(S,p),Oe(S,x),zs(G)||Ys(S,s,U,ce))}),Qe(G,[S,ce])},onEnterCancelled(S){L(S,!1),Qe(j,[S])},onAppearCancelled(S){L(S,!0),Qe(Z,[S])},onLeaveCancelled(S){V(S),Qe(Y,[S])}})}function Bl(e){if(e==null)return null;if(k(e))return[In(e.enter),In(e.leave)];{const t=In(e);return[t,t]}}function In(e){return Do(e)}function Oe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ht]||(e[ht]=new Set)).add(t)}function $e(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ht];n&&(n.delete(t),n.size||(e[ht]=void 0))}function Js(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Kl=0;function Ys(e,t,n,s){const r=e._endId=++Kl,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:f}=To(e,t);if(!i)return s();const a=i+"end";let d=0;const p=()=>{e.removeEventListener(a,g),o()},g=x=>{x.target===e&&++d>=f&&p()};setTimeout(()=>{d(n[T]||"").split(", "),r=s(`${Ne}Delay`),o=s(`${Ne}Duration`),i=Xs(r,o),l=s(`${gt}Delay`),f=s(`${gt}Duration`),a=Xs(l,f);let d=null,p=0,g=0;t===Ne?i>0&&(d=Ne,p=i,g=o.length):t===gt?a>0&&(d=gt,p=a,g=f.length):(p=Math.max(i,a),d=p>0?i>a?Ne:gt:null,g=d?d===Ne?o.length:f.length:0);const x=d===Ne&&/\b(transform|all)(,|$)/.test(s(`${Ne}Property`).toString());return{type:d,timeout:p,propCount:g,hasTransform:x}}function Xs(e,t){for(;e.lengthZs(n)+Zs(e[s])))}function Zs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function So(){return document.body.offsetHeight}function Ul(e,t,n){const s=e[ht];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const sn=Symbol("_vod"),Ao=Symbol("_vsh"),Dc={beforeMount(e,{value:t},{transition:n}){e[sn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):mt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),mt(e,!0),s.enter(e)):s.leave(e,()=>{mt(e,!1)}):mt(e,t))},beforeUnmount(e,{value:t}){mt(e,t)}};function mt(e,t){e.style.display=t?e[sn]:"none",e[Ao]=!t}const Wl=Symbol(""),Gl=/(^|;)\s*display\s*:/;function ql(e,t,n){const s=e.style,r=te(n);let o=!1;if(n&&!r){if(t)if(te(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Yt(s,l,"")}else for(const i in t)n[i]==null&&Yt(s,i,"");for(const i in n)i==="display"&&(o=!0),Yt(s,i,n[i])}else if(r){if(t!==n){const i=s[Wl];i&&(n+=";"+i),s.cssText=n,o=Gl.test(n)}}else t&&e.removeAttribute("style");sn in e&&(e[sn]=o?s.display:"",e[Ao]&&(s.display="none"))}const Qs=/\s*!important$/;function Yt(e,t,n){if(R(n))n.forEach(s=>Yt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=kl(e,t);Qs.test(n)?e.setProperty(rt(s),n.replace(Qs,""),"important"):e[s]=n}}const er=["Webkit","Moz","ms"],Rn={};function kl(e,t){const n=Rn[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return Rn[t]=s;s=fn(s);for(let r=0;rOn||(Zl.then(()=>On=0),On=Date.now());function ec(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ve(tc(s,n.value),t,5,[s])};return n.value=e,n.attached=Ql(),n}function tc(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const or=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nc=(e,t,n,s,r,o,i,l,f)=>{const a=r==="svg";t==="class"?Ul(e,s,a):t==="style"?ql(e,n,s):on(t)?Gn(t)||Yl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sc(e,t,s,a))?(zl(e,t,s,o,i,l,f),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&nr(e,t,s,a,i,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),nr(e,t,s,a))};function sc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&or(t)&&P(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return or(t)&&te(n)?!1:t in e}const Io=new WeakMap,Ro=new WeakMap,rn=Symbol("_moveCb"),ir=Symbol("_enterCb"),Oo={name:"TransitionGroup",props:ne({},Vl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ps(),s=co();let r,o;return Wr(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!cc(r[0].el,n.vnode.el,i))return;r.forEach(oc),r.forEach(ic);const l=r.filter(lc);So(),l.forEach(f=>{const a=f.el,d=a.style;Oe(a,i),d.transform=d.webkitTransform=d.transitionDuration="";const p=a[rn]=g=>{g&&g.target!==a||(!g||/transform$/.test(g.propertyName))&&(a.removeEventListener("transitionend",p),a[rn]=null,$e(a,i))};a.addEventListener("transitionend",p)})}),()=>{const i=D(e),l=wo(i);let f=i.tag||_e;if(r=[],o)for(let a=0;adelete e.mode;Oo.props;const Vc=Oo;function oc(e){const t=e.el;t[rn]&&t[rn](),t[ir]&&t[ir]()}function ic(e){Ro.set(e,e.el.getBoundingClientRect())}function lc(e){const t=Io.get(e),n=Ro.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function cc(e,t,n){const s=e.cloneNode(),r=e[ht];r&&r.forEach(l=>{l.split(/\s+/).forEach(f=>f&&s.classList.remove(f))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=To(s);return o.removeChild(s),i}const lr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?n=>Gt(t,n):t};function fc(e){e.target.composing=!0}function cr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mn=Symbol("_assign"),Bc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Mn]=lr(r);const o=s||r.props&&r.props.type==="number";lt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Pn(l)),e[Mn](l)}),n&<(e,"change",()=>{e.value=e.value.trim()}),t||(lt(e,"compositionstart",fc),lt(e,"compositionend",cr),lt(e,"change",cr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Mn]=lr(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Pn(e.value):e.value,f=t??"";l!==f&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===f)||(e.value=f))}},uc=["ctrl","shift","alt","meta"],ac={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>uc.some(n=>e[`${n}Key`]&&!t.includes(n))},Kc=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=rt(r.key);if(t.some(i=>i===o||dc[i]===o))return e(r)})},hc=ne({patchProp:nc},Dl);let fr;function Mo(){return fr||(fr=il(hc))}const Wc=(...e)=>{Mo().render(...e)},Gc=(...e)=>{const t=Mo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=gc(s);if(!r)return;const o=t._component;!P(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,pc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function pc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gc(e){return te(e)?document.querySelector(e):e}export{D as $,Vc as A,We as B,he as C,gn as D,mi as E,_e as F,qr as G,zn as H,Vi as I,bc as J,zo as K,_c as L,bi as M,ue as N,Mc as O,wc as P,Wr as Q,Wc as R,po as S,Nc as T,$c as U,mo as V,Mi as W,se as X,mc as Y,Fc as Z,bt as _,kt as a,vc as a0,gi as a1,Gc as a2,yo as a3,qo as a4,Hc as a5,Ic as a6,Bc as a7,Jn as a8,Tc as a9,Rc as aa,Kc as ab,xc as ac,Ec as ad,Sc as ae,Uc as af,Pc as ag,jc as ah,Mr as b,wl as c,Gi as d,Ll as e,Ur as f,ps as g,Di as h,tn as i,ts as j,Ac as k,Nl as l,Oc as m,Ti as n,Gr as o,el as p,hl as q,qt as r,pl as s,Cc as t,Tl as u,Dc as v,Sn as w,yc as x,Lc as y,xo as z}; diff --git a/public/assets/vue-10b4afc0.js.br b/public/assets/vue-10b4afc0.js.br new file mode 100644 index 0000000..d931297 Binary files /dev/null and b/public/assets/vue-10b4afc0.js.br differ diff --git a/public/assets/vueuse-motion-d4cdaf7b.js b/public/assets/vueuse-motion-d4cdaf7b.js new file mode 100644 index 0000000..55ed05a --- /dev/null +++ b/public/assets/vueuse-motion-d4cdaf7b.js @@ -0,0 +1,5 @@ +import{G as Ln,g as st,t as Rn,b as Pn,J as Nn,r as A,K as In,L as Bn,M as P,y as $n,e as F,w as E,f as kn,j as oe,N as zn,d as Hn,O as Un,l as qe,P as qn,Q as Wn}from"./vue-10b4afc0.js";var uo=!1;const fo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Zn=()=>{};function Kn(e){return e||st()}function po(...e){if(e.length!==1)return Rn(...e);const t=e[0];return typeof t=="function"?Pn(Nn(()=>({get:t,set:Zn}))):A(t)}function Yn(e,t){Kn(t)&&Ln(e,t)}function ue(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function be(e,t,n=".",r){if(!ue(t))return be(e,{},n,r);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:ue(o)&&ue(i[s])?i[s]=be(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function Gn(e){return(...t)=>t.reduce((n,r)=>be(n,r,"",e),{})}const Qn=Gn();function Ee(e){return In()?(Bn(e),!0):!1}function se(e){return typeof e=="function"?e():P(e)}const Jn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xn=e=>e!=null,er=Object.prototype.toString,ne=e=>er.call(e)==="[object Object]",Q=()=>{};function I(e){var t;const n=se(e);return(t=n==null?void 0:n.$el)!=null?t:n}const je=Jn?window:void 0;function j(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=je):[t,n,r,i]=e,!t)return Q;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,p,y)=>(u.addEventListener(f,p,y),()=>u.removeEventListener(f,p,y)),c=E(()=>[I(t),se(i)],([u,f])=>{if(o(),!u)return;const p=ne(f)?{...f}:f;s.push(...n.flatMap(y=>r.map(b=>a(u,y,b,p))))},{immediate:!0,flush:"post"}),l=()=>{c(),o()};return Ee(l),l}function tr(){const e=A(!1),t=st();return t&&kn(()=>{e.value=!0},t),e}function at(e){const t=tr();return F(()=>(t.value,!!e()))}function nr(e,t={}){const{window:n=je}=t,r=at(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const s=A(!1),o=l=>{s.value=l.matches},a=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",o):i.removeListener(o))},c=$n(()=>{r.value&&(a(),i=n.matchMedia(se(e)),"addEventListener"in i?i.addEventListener("change",o):i.addListener(o),s.value=i.matches)});return Ee(()=>{c(),a(),i=void 0}),s}function rr(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=je,immediate:a=!0}=n,c=at(()=>o&&"IntersectionObserver"in o),l=F(()=>{const b=se(e);return(Array.isArray(b)?b:[b]).map(I).filter(Xn)});let u=Q;const f=A(a),p=c.value?E(()=>[l.value,I(r),f.value],([b,M])=>{if(u(),!f.value||!b.length)return;const x=new IntersectionObserver(t,{root:I(M),rootMargin:i,threshold:s});b.forEach(g=>g&&x.observe(g)),u=()=>{x.disconnect(),u=Q}},{immediate:a,flush:"post"}):Q,y=()=>{u(),p(),f.value=!1};return Ee(y),{isSupported:c,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:y}}const ct=1/60*1e3,ir=typeof performance<"u"?()=>performance.now():()=>Date.now(),lt=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ir()),ct);function or(e){let t=[],n=[],r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(c,l=!1,u=!1)=>{const f=u&&i,p=f?t:n;return l&&o.add(c),p.indexOf(c)===-1&&(p.push(c),f&&i&&(r=t.length)),c},cancel:c=>{const l=n.indexOf(c);l!==-1&&n.splice(l,1),o.delete(c)},process:c=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let l=0;l(e[t]=or(()=>z=!0),e),{}),ve=U.reduce((e,t)=>{const n=ae[t];return e[t]=(r,i=!1,s=!1)=>(z||lr(),n.schedule(r,i,s)),e},{}),ar=U.reduce((e,t)=>(e[t]=ae[t].cancel,e),{});U.reduce((e,t)=>(e[t]=()=>ae[t].process(N),e),{});const cr=e=>ae[e].process(N),ut=e=>{z=!1,N.delta=he?ct:Math.max(Math.min(e-N.timestamp,sr),1),N.timestamp=e,ge=!0,U.forEach(cr),ge=!1,z&&(he=!1,lt(ut))},lr=()=>{z=!0,he=!0,ge||lt(ut)},ft=()=>N;function pt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),fe=.001,fr=.01,Ze=10,pr=.05,dr=1;function mr({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;ur(e<=Ze*1e3);let o=1-t;o=Oe(pr,dr,o),e=Oe(fr,Ze,e/1e3),o<1?(i=l=>{const u=l*o,f=u*e,p=u-n,y=xe(l,o),b=Math.exp(-f);return fe-p/y*b},s=l=>{const f=l*o*e,p=f*n+n,y=Math.pow(o,2)*Math.pow(l,2)*e,b=Math.exp(-f),M=xe(Math.pow(l,2),o);return(-i(l)+fe>0?-1:1)*((p-y)*b)/M}):(i=l=>{const u=Math.exp(-l*e),f=(l-n)*e+1;return-fe+u*f},s=l=>{const u=Math.exp(-l*e),f=(n-l)*(e*e);return u*f});const a=5/e,c=br(i,s,a);if(e=e*1e3,isNaN(c))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(c,2)*r;return{stiffness:l,damping:o*2*Math.sqrt(r*l),duration:e}}}const yr=12;function br(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function vr(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ke(e,gr)&&Ke(e,hr)){const n=mr(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Ve(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,s=pt(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:a,damping:c,mass:l,velocity:u,duration:f,isResolvedFromDuration:p}=vr(s),y=Ye,b=Ye;function M(){const x=u?-(u/1e3):0,g=n-t,O=c/(2*Math.sqrt(a*l)),m=Math.sqrt(a/l)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),O<1){const h=xe(m,O);y=v=>{const T=Math.exp(-O*m*v);return n-T*((x+O*m*g)/h*Math.sin(h*v)+g*Math.cos(h*v))},b=v=>{const T=Math.exp(-O*m*v);return O*m*T*(Math.sin(h*v)*(x+O*m*g)/h+g*Math.cos(h*v))-T*(Math.cos(h*v)*(x+O*m*g)-h*g*Math.sin(h*v))}}else if(O===1)y=h=>n-Math.exp(-m*h)*(g+(x+m*g)*h);else{const h=m*Math.sqrt(O*O-1);y=v=>{const T=Math.exp(-O*m*v),w=Math.min(h*v,300);return n-T*((x+O*m*g)*Math.sinh(w)+h*g*Math.cosh(w))/h}}}return M(),{next:x=>{const g=y(x);if(p)o.done=x>=f;else{const O=b(x)*1e3,m=Math.abs(O)<=r,h=Math.abs(n-g)<=i;o.done=m&&h}return o.value=o.done?n:g,o},flipTarget:()=>{u=-u,[t,n]=[n,t],M()}}}Ve.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Ye=e=>0,dt=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},we=(e,t,n)=>-n*e+n*t+e,mt=(e,t)=>n=>Math.max(Math.min(n,t),e),B=e=>e%1?Number(e.toFixed(5)):e,H=/(-)?([\d]*\.?[\d])+/g,Te=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Or=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function q(e){return typeof e=="string"}const W={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},$=Object.assign(Object.assign({},W),{transform:mt(0,1)}),Y=Object.assign(Object.assign({},W),{default:1}),Fe=e=>({test:t=>q(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),D=Fe("deg"),k=Fe("%"),d=Fe("px"),Ge=Object.assign(Object.assign({},k),{parse:e=>k.parse(e)/100,transform:e=>k.transform(e*100)}),_e=(e,t)=>n=>!!(q(n)&&Or.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),yt=(e,t,n)=>r=>{if(!q(r))return r;const[i,s,o,a]=r.match(H);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},R={test:_e("hsl","hue"),parse:yt("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+k.transform(B(t))+", "+k.transform(B(n))+", "+B($.transform(r))+")"},xr=mt(0,255),pe=Object.assign(Object.assign({},W),{transform:e=>Math.round(xr(e))}),C={test:_e("rgb","red"),parse:yt("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pe.transform(e)+", "+pe.transform(t)+", "+pe.transform(n)+", "+B($.transform(r))+")"};function Tr(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Me={test:_e("#"),parse:Tr,transform:C.transform},S={test:e=>C.test(e)||Me.test(e)||R.test(e),parse:e=>C.test(e)?C.parse(e):R.test(e)?R.parse(e):Me.parse(e),transform:e=>q(e)?e:e.hasOwnProperty("red")?C.transform(e):R.transform(e)},bt="${c}",ht="${n}";function Mr(e){var t,n,r,i;return isNaN(e)&&q(e)&&((n=(t=e.match(H))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(Te))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function gt(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Te);r&&(n=r.length,e=e.replace(Te,bt),t.push(...r.map(S.parse)));const i=e.match(H);return i&&(e=e.replace(H,ht),t.push(...i.map(W.parse))),{values:t,numColors:n,tokenised:e}}function vt(e){return gt(e).values}function Ot(e){const{values:t,numColors:n,tokenised:r}=gt(e),i=t.length;return s=>{let o=r;for(let a=0;atypeof e=="number"?0:e;function Ar(e){const t=vt(e);return Ot(e)(t.map(Sr))}const Z={test:Mr,parse:vt,createTransformer:Ot,getAnimatableNone:Ar},Er=new Set(["brightness","contrast","saturate","opacity"]);function jr(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(H)||[];if(!r)return e;const i=n.replace(r,"");let s=Er.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const Vr=/([a-z-]*)\(.*?\)/g,Se=Object.assign(Object.assign({},Z),{getAnimatableNone:e=>{const t=e.match(Vr);return t?t.map(jr).join(" "):e}});function de(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Qe({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;i=de(c,a,e+1/3),s=de(c,a,e),o=de(c,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const wr=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Fr=[Me,C,R],Je=e=>Fr.find(t=>t.test(e)),xt=(e,t)=>{let n=Je(e),r=Je(t),i=n.parse(e),s=r.parse(t);n===R&&(i=Qe(i),n=C),r===R&&(s=Qe(s),r=C);const o=Object.assign({},i);return a=>{for(const c in o)c!=="alpha"&&(o[c]=wr(i[c],s[c],a));return o.alpha=we(i.alpha,s.alpha,a),n.transform(o)}},_r=e=>typeof e=="number",Cr=(e,t)=>n=>t(e(n)),Tt=(...e)=>e.reduce(Cr);function Mt(e,t){return _r(e)?n=>we(e,t,n):S.test(e)?xt(e,t):At(e,t)}const St=(e,t)=>{const n=[...e],r=n.length,i=e.map((s,o)=>Mt(s,t[o]));return s=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Mt(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}};function Xe(e){const t=Z.parse(e),n=t.length;let r=0,i=0,s=0;for(let o=0;o{const n=Z.createTransformer(t),r=Xe(e),i=Xe(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?Tt(St(r.parsed,i.parsed),n):o=>`${o>0?t:e}`},Lr=(e,t)=>n=>we(e,t,n);function Rr(e){if(typeof e=="number")return Lr;if(typeof e=="string")return S.test(e)?xt:At;if(Array.isArray(e))return St;if(typeof e=="object")return Dr}function Pr(e,t,n){const r=[],i=n||Rr(e[0]),s=e.length-1;for(let o=0;on(dt(e,t,r))}function Ir(e,t){const n=e.length,r=n-1;return i=>{let s=0,o=!1;if(i<=e[0]?o=!0:i>=e[r]&&(s=r-1,o=!0),!o){let c=1;for(;ci||c===r);c++);s=c-1}const a=dt(e[s],e[s+1],i);return t[s](a)}}function Et(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;We(s===t.length),We(!r||!Array.isArray(r)||r.length===s-1),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=Pr(t,r,i),a=s===2?Nr(e,o):Ir(e,o);return n?c=>a(Oe(e[0],e[s-1],c)):a}const ce=e=>t=>1-e(1-t),Ce=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Br=e=>t=>Math.pow(t,e),jt=e=>t=>t*t*((e+1)*t-e),$r=e=>{const t=jt(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Vt=1.525,kr=4/11,zr=8/11,Hr=9/10,wt=e=>e,De=Br(2),Ur=ce(De),Ft=Ce(De),_t=e=>1-Math.sin(Math.acos(e)),Ct=ce(_t),qr=Ce(Ct),Le=jt(Vt),Wr=ce(Le),Zr=Ce(Le),Kr=$r(Vt),Yr=4356/361,Gr=35442/1805,Qr=16061/1805,re=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-re(1-e*2)):.5*re(e*2-1)+.5;function ei(e,t){return e.map(()=>t||Ft).splice(0,e.length-1)}function ti(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function ni(e,t){return e.map(n=>n*t)}function J({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const s={done:!1,value:e},o=Array.isArray(t)?t:[e,t],a=ni(r&&r.length===o.length?r:ti(o),i);function c(){return Et(a,o,{ease:Array.isArray(n)?n:ei(o,n)})}let l=c();return{next:u=>(s.value=l(u),s.done=u>=i,s),flipTarget:()=>{o.reverse(),l=c()}}}function ri({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:s}){const o={done:!1,value:t};let a=n*e;const c=t+a,l=s===void 0?c:s(c);return l!==c&&(a=l-t),{next:u=>{const f=-a*Math.exp(-u/r);return o.done=!(f>i||f<-i),o.value=o.done?l:l+f,o},flipTarget:()=>{}}}const et={keyframes:J,spring:Ve,decay:ri};function ii(e){if(Array.isArray(e.to))return J;if(et[e.type])return et[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?J:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ve:J}function Dt(e,t,n=0){return e-t-n}function oi(e,t,n=0,r=!0){return r?Dt(t+-e,t,n):t-(e-t)+n}function si(e,t,n,r){return r?e>=t+n:e<=-n}const ai=e=>{const t=({delta:n})=>e(n);return{start:()=>ve.update(t,!0),stop:()=>ar.update(t)}};function Re(e){var t,n,{from:r,autoplay:i=!0,driver:s=ai,elapsed:o=0,repeat:a=0,repeatType:c="loop",repeatDelay:l=0,onPlay:u,onStop:f,onComplete:p,onRepeat:y,onUpdate:b}=e,M=pt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:x}=M,g,O=0,m=M.duration,h,v=!1,T=!0,w;const K=ii(M);!((n=(t=K).needsInterpolation)===null||n===void 0)&&n.call(t,r,x)&&(w=Et([0,100],[r,x],{clamp:!1}),r=0,x=100);const _=K(Object.assign(Object.assign({},M),{from:r,to:x}));function Fn(){O++,c==="reverse"?(T=O%2===0,o=oi(o,m,l,T)):(o=Dt(o,m,l),c==="mirror"&&_.flipTarget()),v=!1,y&&y()}function _n(){g.stop(),p&&p()}function Cn(le){if(T||(le=-le),o+=le,!v){const Ue=_.next(Math.max(0,o));h=Ue.value,w&&(h=w(h)),v=T?Ue.done:o<=0}b==null||b(h),v&&(O===0&&(m??(m=o)),O{f==null||f(),g.stop()}}}function Lt(e,t){return t?e*(1e3/t):0}function ci({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:f,onComplete:p,onStop:y}){let b;function M(m){return n!==void 0&&mr}function x(m){return n===void 0?r:r===void 0||Math.abs(n-m){var v;f==null||f(h),(v=m.onUpdate)===null||v===void 0||v.call(m,h)},onComplete:p,onStop:y}))}function O(m){g(Object.assign({type:"spring",stiffness:o,damping:a,restDelta:c},m))}if(M(e))O({from:e,velocity:t,to:x(e)});else{let m=i*t+e;typeof l<"u"&&(m=l(m));const h=x(m),v=h===n?-1:1;let T,w;const K=_=>{T=w,w=_,t=Lt(_-T,ft().delta),(v===1&&_>h||v===-1&&_b==null?void 0:b.stop()}}const Rt=(e,t)=>1-3*t+3*e,Pt=(e,t)=>3*t-6*e,Nt=e=>3*e,ie=(e,t,n)=>((Rt(t,n)*e+Pt(t,n))*e+Nt(t))*e,It=(e,t,n)=>3*Rt(t,n)*e*e+2*Pt(t,n)*e+Nt(t),li=1e-7,ui=10;function fi(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=ie(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>li&&++a=di?mi(o,f,e,n):p===0?f:fi(o,a,a+G,e,n)}return o=>o===0||o===1?o:ie(s(o),t,r)}/** +* @vue/shared v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function bi(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const hi="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",gi=bi(hi),ee={};var vi=Object.defineProperty,Oi=(e,t,n)=>t in e?vi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xi=(e,t,n)=>(Oi(e,typeof t!="symbol"?t+"":t,n),n);class Ti{constructor(){xi(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const i of this.subscriptions)i(t,n,r)}clear(){this.subscriptions.clear()}}var Mi=Object.defineProperty,Si=(e,t,n)=>t in e?Mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>(Si(e,typeof t!="symbol"?t+"":t,n),n);function tt(e){return!isNaN(parseFloat(e))}class Ai{constructor(t){V(this,"current"),V(this,"prev"),V(this,"timeDelta",0),V(this,"lastUpdated",0),V(this,"updateSubscribers",new Ti),V(this,"stopAnimation"),V(this,"canTrackVelocity",!1),V(this,"updateAndNotify",n=>{this.prev=this.current,this.current=n;const{delta:r,timestamp:i}=ft();this.lastUpdated!==i&&(this.timeDelta=r,this.lastUpdated=i),ve.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)}),V(this,"scheduleVelocityCheck",()=>ve.postRender(this.velocityCheck)),V(this,"velocityCheck",({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=tt(this.current)),n!==this.lastUpdated&&(this.prev=this.current)}),this.prev=this.current=t,this.canTrackVelocity=tt(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Lt(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function Ei(e){return new Ai(e)}const{isArray:ji}=Array;function Bt(){const e=A({}),t=r=>{const i=s=>{e.value[s]&&(e.value[s].stop(),e.value[s].destroy(),delete e.value[s])};r?ji(r)?r.forEach(i):i(r):Object.keys(e.value).forEach(i)},n=(r,i,s)=>{if(e.value[r])return e.value[r];const o=Ei(i);return o.onChange(a=>s[r]=a),e.value[r]=o,o};return Yn(t),{motionValues:e,get:n,stop:t}}function Vi(e){return Array.isArray(e)}function L(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function me(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function wi(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function ye(){return{type:"keyframes",ease:"linear",duration:300}}function Fi(e){return{type:"keyframes",duration:800,values:e}}const nt={default:wi,x:L,y:L,z:L,rotate:L,rotateX:L,rotateY:L,rotateZ:L,scaleX:me,scaleY:me,scale:me,backgroundColor:ye,color:ye,opacity:ye};function Pe(e,t){let n;return Vi(t)?n=Fi:n=nt[e]||nt.default,{to:t,...n(t)}}const rt={...W,transform:Math.round},$t={color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,borderWidth:d,borderTopWidth:d,borderRightWidth:d,borderBottomWidth:d,borderLeftWidth:d,borderRadius:d,radius:d,borderTopLeftRadius:d,borderTopRightRadius:d,borderBottomRightRadius:d,borderBottomLeftRadius:d,width:d,maxWidth:d,height:d,maxHeight:d,size:d,top:d,right:d,bottom:d,left:d,padding:d,paddingTop:d,paddingRight:d,paddingBottom:d,paddingLeft:d,margin:d,marginTop:d,marginRight:d,marginBottom:d,marginLeft:d,rotate:D,rotateX:D,rotateY:D,rotateZ:D,scale:Y,scaleX:Y,scaleY:Y,scaleZ:Y,skew:D,skewX:D,skewY:D,distance:d,translateX:d,translateY:d,translateZ:d,x:d,y:d,z:d,perspective:d,transformPerspective:d,opacity:$,originX:Ge,originY:Ge,originZ:d,zIndex:rt,filter:Se,WebkitFilter:Se,fillOpacity:$,strokeOpacity:$,numOctaves:rt},Ne=e=>$t[e];function kt(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function _i(e,t){let n=Ne(e);return n!==Se&&(n=Z),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ci={linear:wt,easeIn:De,easeInOut:Ft,easeOut:Ur,circIn:_t,circInOut:qr,circOut:Ct,backIn:Le,backInOut:Zr,backOut:Wr,anticipate:Kr,bounceIn:Jr,bounceInOut:Xr,bounceOut:re};function it(e){if(Array.isArray(e)){const[t,n,r,i]=e;return yi(t,n,r,i)}else if(typeof e=="string")return Ci[e];return e}function Di(e){return Array.isArray(e)&&typeof e[0]!="number"}function ot(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Z.test(t)&&!t.startsWith("url("))}function Li(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Ri({ease:e,times:t,delay:n,...r}){const i={...r};return t&&(i.offset=t),e&&(i.ease=Di(e)?e.map(it):it(e)),n&&(i.elapsed=-n),i}function Pi(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),Li(t),Ni(e)||(e={...e,...Pe(n,t.to)}),{...t,...Ri(e)}}function Ni({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:i,...s}){return!!Object.keys(s).length}function Ii(e,t){return e[t]||e.default||e}function Bi(e,t,n,r,i){const s=Ii(r,e);let o=s.from===null||s.from===void 0?t.get():s.from;const a=ot(e,n);o==="none"&&a&&typeof n=="string"&&(o=_i(e,n));const c=ot(e,o);function l(f){const p={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:y=>t.set(y)};return s.type==="inertia"||s.type==="decay"?ci({...p,...s}):Re({...Pi(s,p,e),onUpdate:y=>{p.onUpdate(y),s.onUpdate&&s.onUpdate(y)},onComplete:()=>{r.onComplete&&r.onComplete(),i&&i(),f&&f()}})}function u(f){return t.set(n),r.onComplete&&r.onComplete(),i&&i(),f&&f(),{stop:()=>{}}}return!c||!a||s.type===!1?u:l}function zt(){const{motionValues:e,stop:t,get:n}=Bt();return{motionValues:e,stop:t,push:(i,s,o,a={},c)=>{const l=o[i],u=n(i,l,o);if(a&&a.immediate){u.set(s);return}const f=Bi(i,u,s,a,c);u.start(f)}}}function Ht(e,t={},{motionValues:n,push:r,stop:i}=zt()){const s=P(t),o=A(!1);E(n,f=>{o.value=Object.values(f).filter(p=>p.isAnimating()).length>0},{immediate:!0,deep:!0});const a=f=>{if(!s||!s[f])throw new Error(`The variant ${f} does not exist.`);return s[f]},c=f=>(typeof f=="string"&&(f=a(f)),Promise.all(Object.entries(f).map(([p,y])=>{if(p!=="transition")return new Promise(b=>r(p,y,e,f.transition||Pe(p,f[p]),b))}).filter(Boolean)));return{isAnimating:o,apply:c,set:f=>{const p=ne(f)?f:a(f);Object.entries(p).forEach(([y,b])=>{y!=="transition"&&r(y,b,e,{immediate:!0})})},leave:async f=>{let p;if(s&&(s.leave&&(p=s.leave),!s.leave&&s.initial&&(p=s.initial)),!p){f();return}await c(p),f()},stop:i}}const Ie=typeof window<"u",$i=()=>Ie&&window.onpointerdown===null,ki=()=>Ie&&window.ontouchstart===null,zi=()=>Ie&&window.onmousedown===null;function Hi({target:e,state:t,variants:n,apply:r}){const i=P(n),s=A(!1),o=A(!1),a=A(!1),c=F(()=>{let u=[];return i&&(i.hovered&&(u=[...u,...Object.keys(i.hovered)]),i.tapped&&(u=[...u,...Object.keys(i.tapped)]),i.focused&&(u=[...u,...Object.keys(i.focused)])),u}),l=F(()=>{const u={};Object.assign(u,t.value),s.value&&i.hovered&&Object.assign(u,i.hovered),o.value&&i.tapped&&Object.assign(u,i.tapped),a.value&&i.focused&&Object.assign(u,i.focused);for(const f in u)c.value.includes(f)||delete u[f];return u});i.hovered&&(j(e,"mouseenter",()=>s.value=!0),j(e,"mouseleave",()=>{s.value=!1,o.value=!1}),j(e,"mouseout",()=>{s.value=!1,o.value=!1})),i.tapped&&(zi()&&(j(e,"mousedown",()=>o.value=!0),j(e,"mouseup",()=>o.value=!1)),$i()&&(j(e,"pointerdown",()=>o.value=!0),j(e,"pointerup",()=>o.value=!1)),ki()&&(j(e,"touchstart",()=>o.value=!0),j(e,"touchend",()=>o.value=!1))),i.focused&&(j(e,"focus",()=>a.value=!0),j(e,"blur",()=>a.value=!1)),E(l,r)}function Ui({set:e,target:t,variants:n,variant:r}){const i=P(n);E(()=>t,()=>{i&&(i.initial&&e("initial"),i.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function qi({state:e,apply:t}){E(e,n=>{n&&t(n)},{immediate:!0})}function Ut({target:e,variants:t,variant:n}){const r=P(t);r&&(r.visible||r.visibleOnce)&&rr(e,([{isIntersecting:i}])=>{r.visible?i?n.value="visible":n.value="initial":r.visibleOnce&&(i&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function Wi(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&Ui(e),t.syncVariants&&qi(e),t.visibilityHooks&&Ut(e),t.eventListeners&&Hi(e)}function Be(e={}){const t=oe({...e}),n=A({});return E(t,()=>{const r={};for(const[i,s]of Object.entries(t)){const o=Ne(i),a=kt(s,o);r[i]=a}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function $e(e,t){E(()=>I(e),n=>{n&&t(n)},{immediate:!0})}const Zi={x:"translateX",y:"translateY",z:"translateZ"};function ke(e={},t=!0){const n=oe({...e}),r=A("");return E(n,i=>{let s="",o=!1;if(t&&(i.x||i.y||i.z)){const a=[i.x||0,i.y||0,i.z||0].map(d.transform).join(",");s+=`translate3d(${a}) `,o=!0}for(const[a,c]of Object.entries(i)){if(t&&(a==="x"||a==="y"||a==="z"))continue;const l=Ne(a),u=kt(c,l);s+=`${Zi[a]||a}(${u}) `}t&&!o&&(s+="translateZ(0px) "),r.value=s.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const Ki=["","X","Y","Z"],Yi=["perspective","translate","scale","rotate","skew"],qt=["transformPerspective","x","y","z"];Yi.forEach(e=>{Ki.forEach(t=>{const n=e+t;qt.push(n)})});const Gi=new Set(qt);function ze(e){return Gi.has(e)}const Qi=new Set(["originX","originY","originZ"]);function Wt(e){return Qi.has(e)}function Ji(e){const t={},n={};return Object.entries(e).forEach(([r,i])=>{ze(r)||Wt(r)?t[r]=i:n[r]=i}),{transform:t,style:n}}function Zt(e){const{transform:t,style:n}=Ji(e),{transform:r}=ke(t),{style:i}=Be(n);return r.value&&(i.value.transform=r.value),i.value}function Kt(e,t){let n,r;const{state:i,style:s}=Be();return $e(e,o=>{r=o;for(const a of Object.keys($t))o.style[a]===null||o.style[a]===""||ze(a)||Wt(a)||(i[a]=o.style[a]);n&&Object.entries(n).forEach(([a,c])=>o.style[a]=c),t&&t(i)}),E(s,o=>{if(!r){n=o;return}for(const a in o)r.style[a]=o[a]},{immediate:!0}),{style:i}}function Xi(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?parseFloat(r):isNaN(Number(r))?Number(r):r;return t.reduce((r,i)=>{if(!i)return r;const[s,o]=i.split("("),c=o.split(",").map(u=>n(u.endsWith(")")?u.replace(")",""):u.trim())),l=c.length===1?c[0]:c;return{...r,[s]:l}},{})}function eo(e,t){Object.entries(Xi(t)).forEach(([n,r])=>{const i=["x","y","z"];if(n==="translate3d"){if(r===0){i.forEach(s=>e[s]=0);return}r.forEach((s,o)=>e[i[o]]=s);return}if(r=parseFloat(r),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function Yt(e,t){let n,r;const{state:i,transform:s}=ke();return $e(e,o=>{r=o,o.style.transform&&eo(i,o.style.transform),n&&(o.style.transform=n),t&&t(i)}),E(s,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:i}}function Gt(e,t){const n=oe({}),r=o=>Object.entries(o).forEach(([a,c])=>n[a]=c),{style:i}=Kt(e,r),{transform:s}=Yt(e,r);return E(n,o=>{Object.entries(o).forEach(([a,c])=>{const l=ze(a)?s:i;l[a]&&l[a]===c||(l[a]=c)})},{immediate:!0,deep:!0}),$e(e,()=>t&&r(t)),{motionProperties:n,style:i,transform:s}}function Qt(e={}){const t=P(e),n=A();return{state:F(()=>{if(n.value)return t[n.value]}),variant:n}}function He(e,t={},n){const{motionProperties:r}=Gt(e),{variant:i,state:s}=Qt(t),o=Ht(r,t),a={target:e,variant:i,variants:t,state:s,motionProperties:r,...o};return Wi(a,n),a}const to=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused","delay"];function no(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};n&&(n.variants&&ne(n.variants)&&(t.value={...t.value,...n.variants}),to.forEach(r=>{if(r==="delay"){if(n&&n[r]&&typeof n[r]=="number"){const i=n[r];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition={delay:i,...t.value.enter.transition}),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition={delay:i,...t.value.visible.transition}),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition={delay:i,...t.value.visibleOnce.transition}))}return}if(n&&n[r]&&ne(n[r])){const i=n[r];r==="visible-once"&&(r="visibleOnce"),t.value[r]=i}}))}function te(e){return{created:(r,i,s)=>{const o=i.value&&typeof i.value=="string"?i.value:s.key;o&&ee[o]&&ee[o].stop();const a=A(e||{});typeof i.value=="object"&&(a.value=i.value),no(s,a);const l=He(r,a,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});r.motionInstance=l,o&&(ee[o]=l)},mounted:(r,i,s)=>{r.motionInstance&&Ut(r.motionInstance)},getSSRProps(r,i){let{initial:s}=r.value||i&&(i==null?void 0:i.props)||{};s=P(s);const o=Qn((e==null?void 0:e.initial)||{},s||{});return!o||Object.keys(o).length===0?void 0:{style:Zt(o)}}}}const Jt={initial:{opacity:0},enter:{opacity:1}},Xt={initial:{opacity:0},visible:{opacity:1}},en={initial:{opacity:0},visibleOnce:{opacity:1}},tn={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},nn={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},rn={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},on={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},sn={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},an={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},cn={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},ln={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},un={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},fn={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},pn={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},dn={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},mn={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},yn={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},bn={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},hn={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},gn={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},vn={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},On={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},xn={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},Tn={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},Mn={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},Sn={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},An={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},En={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},jn={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Vn={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Ae={__proto__:null,fade:Jt,fadeVisible:Xt,fadeVisibleOnce:en,pop:tn,popVisible:nn,popVisibleOnce:rn,rollBottom:mn,rollLeft:on,rollRight:cn,rollTop:fn,rollVisibleBottom:yn,rollVisibleLeft:sn,rollVisibleOnceBottom:bn,rollVisibleOnceLeft:an,rollVisibleOnceRight:un,rollVisibleOnceTop:dn,rollVisibleRight:ln,rollVisibleTop:pn,slideBottom:En,slideLeft:hn,slideRight:On,slideTop:Mn,slideVisibleBottom:jn,slideVisibleLeft:gn,slideVisibleOnceBottom:Vn,slideVisibleOnceLeft:vn,slideVisibleOnceRight:Tn,slideVisibleOnceTop:An,slideVisibleRight:xn,slideVisibleTop:Sn},ro=Hn({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(e){var a;const t=Un(),n=oe({});if(!e.is&&!t.default)return()=>qe("div",{});const r=F(()=>{let c;return e.preset&&(c=Ae[e.preset]),c}),i=F(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused})),s=F(()=>{const c={...i.value,...r.value||{},...e.variants||{}};return e.delay&&(c.enter.transition={...c.enter.transition},c.enter.transition.delay=parseInt(e.delay)),c}),o=F(()=>{if(!e.is)return;let c=e.is;return typeof o.value=="string"&&!gi(c)&&(c=qn(c)),c});if(((a=process==null?void 0:process.env)==null?void 0:a.NODE_ENV)==="development"||process!=null&&process.dev){const c=l=>{var u;(u=l.variants)!=null&&u.initial&&l.set("initial"),setTimeout(()=>{var f,p,y;(f=l.variants)!=null&&f.enter&&l.apply("enter"),(p=l.variants)!=null&&p.visible&&l.apply("visible"),(y=l.variants)!=null&&y.visibleOnce&&l.apply("visibleOnce")},10)};Wn(()=>Object.entries(n).forEach(([l,u])=>c(u)))}return{slots:t,component:o,motionConfig:s,instances:n}},render({slots:e,motionConfig:t,instances:n,component:r}){var a;const i=Zt(t.initial||{}),s=(c,l)=>(c.props||(c.props={}),c.props.style=i,c.props.onVnodeMounted=({el:u})=>{const f=He(u,t);n[l]=f},c);if(r){const c=qe(r,void 0,e);return s(c,0),c}return(((a=e.default)==null?void 0:a.call(e))||[]).map((c,l)=>s(c,l))}});function wn(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,i=>`-${i}`).toLowerCase().replace(/\s+/g,"-").replace(r,i=>n.charAt(t.indexOf(i))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const io={install(e,t){if(e.directive("motion",te()),e.component("Motion",ro),!t||t&&!t.excludePresets)for(const n in Ae){const r=Ae[n];e.directive(`motion-${wn(n)}`,te(r))}if(t&&t.directives)for(const n in t.directives){const r=t.directives[n];!r.initial&&__DEV__&&console.warn(`Your directive v-motion-${n} is missing initial variant!`),e.directive(`motion-${n}`,te(r))}}};function oo(e){const t=e;return t.apply!==void 0&&typeof t.apply=="function"&&t.set!==void 0&&typeof t.set=="function"&&t.target!==void 0&&zn(t.target)}function so(){return ee}function ao(e,t){const{stop:n,get:r}=Bt();return{values:e,stop:n,set:i=>Promise.all(Object.entries(i).map(([s,o])=>{const a=r(s,e[s],e);return a.start(c=>{const l={type:"spring",...t||Pe(s,o)};return Re({from:a.get(),to:o,velocity:a.getVelocity(),onUpdate:u=>a.set(u),onComplete:c,...l})})}))}}function co(e={}){return nr("(prefers-reduced-motion: reduce)",e)}const mo=Object.freeze(Object.defineProperty({__proto__:null,MotionDirective:te,MotionPlugin:io,fade:Jt,fadeVisible:Xt,fadeVisibleOnce:en,isMotionInstance:oo,pop:tn,popVisible:nn,popVisibleOnce:rn,reactiveStyle:Be,reactiveTransform:ke,rollBottom:mn,rollLeft:on,rollRight:cn,rollTop:fn,rollVisibleBottom:yn,rollVisibleLeft:sn,rollVisibleOnceBottom:bn,rollVisibleOnceLeft:an,rollVisibleOnceRight:un,rollVisibleOnceTop:dn,rollVisibleRight:ln,rollVisibleTop:pn,slideBottom:En,slideLeft:hn,slideRight:On,slideTop:Mn,slideVisibleBottom:jn,slideVisibleLeft:gn,slideVisibleOnceBottom:Vn,slideVisibleOnceLeft:vn,slideVisibleOnceRight:Tn,slideVisibleOnceTop:An,slideVisibleRight:xn,slideVisibleTop:Sn,slugify:wn,useElementStyle:Kt,useElementTransform:Yt,useMotion:He,useMotionControls:Ht,useMotionProperties:Gt,useMotionTransitions:zt,useMotionVariants:Qt,useMotions:so,useReducedMotion:co,useSpring:ao},Symbol.toStringTag,{value:"Module"}));export{fo as a,mo as b,uo as i,po as t}; diff --git a/public/assets/vueuse-motion-d4cdaf7b.js.br b/public/assets/vueuse-motion-d4cdaf7b.js.br new file mode 100644 index 0000000..60d5d76 Binary files /dev/null and b/public/assets/vueuse-motion-d4cdaf7b.js.br differ diff --git a/public/browserconfig.xml b/public/browserconfig.xml new file mode 100644 index 0000000..b3930d0 --- /dev/null +++ b/public/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #da532c + + + diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..23cd6c6 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg deleted file mode 100644 index 8ef3c4c..0000000 --- a/public/favicon.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/icon/android-chrome-192x192.png b/public/icon/android-chrome-192x192.png new file mode 100644 index 0000000..1682b8c Binary files /dev/null and b/public/icon/android-chrome-192x192.png differ diff --git a/public/icon/android-chrome-512x512.png b/public/icon/android-chrome-512x512.png new file mode 100644 index 0000000..5682d8f Binary files /dev/null and b/public/icon/android-chrome-512x512.png differ diff --git a/public/icon/apple-touch-icon.png b/public/icon/apple-touch-icon.png new file mode 100644 index 0000000..04056a8 Binary files /dev/null and b/public/icon/apple-touch-icon.png differ diff --git a/public/icon/favicon-16x16.png b/public/icon/favicon-16x16.png new file mode 100644 index 0000000..489cf70 Binary files /dev/null and b/public/icon/favicon-16x16.png differ diff --git a/public/icon/favicon-32x32.png b/public/icon/favicon-32x32.png new file mode 100644 index 0000000..426c877 Binary files /dev/null and b/public/icon/favicon-32x32.png differ diff --git a/public/icon/manifest.webmanifest b/public/icon/manifest.webmanifest new file mode 100644 index 0000000..77a6181 --- /dev/null +++ b/public/icon/manifest.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "icon/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "iocn/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/public/icon/mstile-150x150.png b/public/icon/mstile-150x150.png new file mode 100644 index 0000000..8d55b5d Binary files /dev/null and b/public/icon/mstile-150x150.png differ diff --git a/public/index.html b/public/index.html index 9285ccb..cfcb557 100644 --- a/public/index.html +++ b/public/index.html @@ -3,216 +3,33 @@ - - - + + + + - AI Web - - - + + + + + + + + + + + + + -
    - - - - - - - +
    + - - \ No newline at end of file diff --git a/public/index.html.br b/public/index.html.br new file mode 100644 index 0000000..b170006 Binary files /dev/null and b/public/index.html.br differ diff --git a/public/logo.ico b/public/logo.ico deleted file mode 100644 index f623f34..0000000 Binary files a/public/logo.ico and /dev/null differ diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index e142435..0000000 Binary files a/public/logo.png and /dev/null differ diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest new file mode 100644 index 0000000..7fb1752 --- /dev/null +++ b/public/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"AI Web","short_name":"AI Web","start_url":"/","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./","theme_color":"#ffffff","orientation":"portrait","icons":[]} diff --git a/public/registerSW.js b/public/registerSW.js new file mode 100644 index 0000000..179c13c --- /dev/null +++ b/public/registerSW.js @@ -0,0 +1 @@ +if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})} \ No newline at end of file diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg new file mode 100644 index 0000000..cfd6075 --- /dev/null +++ b/public/safari-pinned-tab.svg @@ -0,0 +1,27 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + diff --git a/public/sw.js b/public/sw.js new file mode 100644 index 0000000..d54123a --- /dev/null +++ b/public/sw.js @@ -0,0 +1 @@ +if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const t=s=>i(s,r),a={module:{uri:r},exports:u,require:t};e[r]=Promise.all(l.map((s=>a[s]||t(s)))).then((s=>(n(...s),u)))}}define(["./workbox-b4f9f5c2"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{url:"assets/_plugin-vue_export-helper-c27b6911.js",revision:null},{url:"assets/chat-8fd922b8.css",revision:null},{url:"assets/chat-ba97c867.js",revision:null},{url:"assets/chatStore-067dd921.js",revision:null},{url:"assets/chatStore-f68b3e01.css",revision:null},{url:"assets/Close-d2230b2f.js",revision:null},{url:"assets/crami-99ee44eb.js",revision:null},{url:"assets/index-03531f8f.js",revision:null},{url:"assets/index-15e7de77.css",revision:null},{url:"assets/index-20a35e72.js",revision:null},{url:"assets/index-215ca0ac.js",revision:null},{url:"assets/index-2d428f7b.css",revision:null},{url:"assets/index-404bb920.css",revision:null},{url:"assets/index-648ab71e.js",revision:null},{url:"assets/index-696013f1.css",revision:null},{url:"assets/index-79113eb4.js",revision:null},{url:"assets/index-7b15fb79.js",revision:null},{url:"assets/index-8add68fd.js",revision:null},{url:"assets/index-9296b6ea.js",revision:null},{url:"assets/index-96ef26bb.js",revision:null},{url:"assets/index-adb9f39f.css",revision:null},{url:"assets/index-b1a75368.js",revision:null},{url:"assets/index-b71062e6.js",revision:null},{url:"assets/index-c94da121.js",revision:null},{url:"assets/index-d64a7cc4.js",revision:null},{url:"assets/index-da1c3968.css",revision:null},{url:"assets/index-dd7fbdb4.js",revision:null},{url:"assets/index-e70b4848.css",revision:null},{url:"assets/index-e889edd8.js",revision:null},{url:"assets/index-f18c0167.css",revision:null},{url:"assets/index-fed7b4ac.css",revision:null},{url:"assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js",revision:null},{url:"assets/index.vue_vue_type_script_setup_true_lang-f425914e.js",revision:null},{url:"assets/menu-19bde8fc.js",revision:null},{url:"assets/naive-ui-fedd20b1.js",revision:null},{url:"assets/order-8be5c617.js",revision:null},{url:"assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js",revision:null},{url:"assets/useBasicLayout-a4f17bae.js",revision:null},{url:"assets/v-viewer-b9217eae.js",revision:null},{url:"assets/vue-10b4afc0.js",revision:null},{url:"assets/vueuse-motion-d4cdaf7b.js",revision:null},{url:"index.html",revision:"67a6d9e3d26c61db803562377a94d59f"},{url:"registerSW.js",revision:"402b66900e731ca748771b6fc5e7a068"},{url:"manifest.webmanifest",revision:"e8e7d1dbd5f9e07e6300548dba60ab17"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))})); diff --git a/public/sw.js.br b/public/sw.js.br new file mode 100644 index 0000000..5d9b6d9 Binary files /dev/null and b/public/sw.js.br differ diff --git a/public/workbox-b4f9f5c2.js b/public/workbox-b4f9f5c2.js new file mode 100644 index 0000000..b6fe41a --- /dev/null +++ b/public/workbox-b4f9f5c2.js @@ -0,0 +1 @@ +define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.4"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.4"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return a().registerRoute(o),o}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter((t=>t&&t.length>0)).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.4"]&&_()}catch(t){}function p(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class y{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class g{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let R;async function m(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===R){const t=new Response("");if("body"in t)try{new Response(t.body),R=!0}catch(t){R=!1}R=!1}return R}()?i.body:await i.blob();return new Response(c,o)}function v(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class q{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const U=new Set;try{self["workbox:strategies:6.5.4"]&&_()}catch(t){}function L(t){return"string"==typeof t?new Request(t):t}class b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new q,this.R=[],this.m=[...t.plugins],this.v=new Map;for(const t of this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=L(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=L(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=L(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=v(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===v(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of U)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=L(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.v.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.R.push(t),t}async doneWaiting(){let t;for(;t=this.R.shift();)await t}destroy(){this.p.resolve(null)}async q(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class C{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async U(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this._(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async L(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class E extends C{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(E.copyRedirectedCacheableResponsesPlugin)}async _(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.O(t,e):await this.N(t,e))}async N(t,e){let n;const i=e.params||{};if(!this.C)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.k(),await e.cachePut(t,n.clone()))}return n}async O(t,e){this.k();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}k(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==E.copyRedirectedCacheableResponsesPlugin&&(n===E.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(E.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}E.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},E.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await m(t):t};class O{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.K=new Map,this.P=new Map,this.T=new Map,this.l=new E({cacheName:f(t),plugins:[...e,new g({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=p(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.K.has(i)&&this.K.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.K.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.K.set(i,t),this.P.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return d(t,(async()=>{const e=new y;this.strategy.plugins.push(e);for(const[e,s]of this.K){const n=this.T.get(s),i=this.P.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return d(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.K.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.K}getCachedURLs(){return[...this.K.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.K.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let x;const N=()=>(x||(x=new O),x);class k extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.j(t)),t),this.M=e,this.S=s}j({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.S)if(t.test(s))return!1;return!!this.M.some((t=>t.test(s)))}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=f();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.createHandlerBoundToURL=function(t){return N().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){N().precache(t)}(t),function(t){const e=N();h(new k(e,t))}(e)},t.registerRoute=h})); diff --git a/public/workbox-b4f9f5c2.js.br b/public/workbox-b4f9f5c2.js.br new file mode 100644 index 0000000..5ea0dff Binary files /dev/null and b/public/workbox-b4f9f5c2.js.br differ